diff --git a/shared/package-files/24/2401f8891988a22bdb5937ea83f4eae85d8077566f0663cc72af2642884666d5/enet_poisson.csv b/shared/package-files/24/2401f8891988a22bdb5937ea83f4eae85d8077566f0663cc72af2642884666d5/enet_poisson.csv new file mode 100644 index 0000000000000000000000000000000000000000..ae86b453acc567872cc4b936d8c33626c4f6f6b4 --- /dev/null +++ b/shared/package-files/24/2401f8891988a22bdb5937ea83f4eae85d8077566f0663cc72af2642884666d5/enet_poisson.csv @@ -0,0 +1,200 @@ +0.00,-0.55,0.38,1.26,-1.33,-0.74 +1.00,0.74,0.89,-1.55,-0.26,-0.81 +1.00,0.71,0.64,2.57,-2.68,0.50 +0.00,-0.98,0.47,0.17,0.32,-2.49 +2.00,0.18,-0.52,-1.01,0.04,-0.87 +1.00,0.39,0.54,0.19,0.76,-0.91 +0.00,-0.35,0.30,-2.02,-0.16,-1.16 +0.00,-2.13,-0.60,-1.42,0.47,0.13 +1.00,0.04,-0.81,1.61,0.91,1.04 +1.00,-1.06,0.40,-1.11,1.76,-0.65 +0.00,-1.82,0.20,-1.87,-0.38,-1.54 +1.00,-0.11,-0.15,-0.99,2.31,-1.11 +1.00,-0.17,-0.37,-0.85,0.07,2.76 +1.00,1.28,-1.07,-0.26,0.62,0.96 +3.00,-0.59,1.92,1.04,-0.48,0.69 +1.00,0.42,0.05,1.47,-0.74,0.91 +3.00,0.76,1.23,1.53,-1.09,3.17 +0.00,0.23,0.28,0.60,1.13,0.05 +3.00,1.10,-1.38,0.27,0.82,0.47 +0.00,-0.87,-0.78,-0.47,1.55,-1.25 +1.00,0.22,-0.46,-0.10,-2.41,2.14 +1.00,-2.31,0.31,-1.17,-0.52,1.06 +1.00,-1.42,1.02,2.48,-0.11,1.07 +1.00,0.28,1.25,0.83,0.48,-1.04 +0.00,-0.48,0.24,-0.44,1.00,1.06 +3.00,-0.30,-0.92,0.96,0.33,2.13 +0.00,1.20,-0.39,0.03,-0.55,-1.21 +1.00,-0.10,-0.68,0.11,-1.40,-0.35 +1.00,-1.16,0.73,-0.53,0.14,0.08 +1.00,-1.74,-0.43,-0.84,0.35,-2.00 +2.00,0.48,0.33,0.46,0.34,-0.14 +2.00,-0.41,0.13,0.65,-0.76,1.13 +3.00,0.61,-0.48,1.36,1.34,0.68 +0.00,1.12,-2.13,-0.99,-1.13,-0.29 +2.00,-1.71,0.91,-0.63,0.48,-0.48 +1.00,-1.19,0.02,-0.21,0.51,0.67 +3.00,1.09,-0.63,0.82,-0.27,-1.37 +3.00,1.46,1.03,-0.84,-0.66,-0.38 +5.00,1.84,1.02,1.67,-0.97,0.69 +2.00,0.30,1.62,-1.31,2.28,-0.43 +0.00,0.50,-0.04,-0.99,0.24,-0.86 +0.00,-0.75,1.09,0.22,1.85,0.77 +1.00,1.36,-0.40,-0.52,0.15,-0.18 +2.00,-1.14,0.19,0.36,0.60,-2.80 +1.00,0.54,-1.31,-0.34,-1.65,1.17 +0.00,1.82,-0.44,-0.76,0.99,-0.24 +0.00,-0.19,-0.41,1.63,1.14,-0.50 +4.00,1.01,0.72,0.97,0.90,1.68 +1.00,-1.40,0.12,1.25,1.86,-0.14 +0.00,-0.36,0.64,0.23,-0.71,-2.03 +2.00,0.00,0.92,-0.16,0.08,0.47 +1.00,-0.38,-2.33,1.56,-0.86,-0.31 +0.00,-1.03,-1.43,0.72,0.97,-1.50 +4.00,0.97,1.11,-0.89,0.29,0.89 +0.00,0.66,-1.89,-1.69,1.10,-1.02 +1.00,0.24,0.47,-1.71,1.10,-1.43 +0.00,-0.14,-0.69,0.38,-0.50,-0.11 +2.00,0.02,0.88,-1.96,-0.12,0.94 +2.00,-0.38,-0.27,1.16,0.48,1.98 +1.00,0.22,1.57,-0.77,0.53,0.88 +4.00,0.13,0.49,1.35,-0.23,1.48 +2.00,0.41,-2.89,1.12,-0.00,1.79 +1.00,-1.47,1.51,0.11,0.41,0.68 +2.00,-0.58,1.42,0.43,0.62,1.34 +1.00,0.35,0.71,0.30,-2.30,1.33 +2.00,0.42,-0.55,2.37,0.76,0.70 +1.00,-0.65,0.19,-1.47,-0.08,-0.63 +1.00,-0.75,-1.08,-0.14,1.10,-1.14 +3.00,1.48,-1.65,0.97,-0.25,-0.48 +4.00,-0.42,-1.86,-1.33,-0.63,0.28 +2.00,1.61,-1.08,-0.18,-1.78,0.49 +2.00,-0.45,0.02,1.47,0.80,0.58 +1.00,-1.11,1.13,0.17,1.12,0.49 +1.00,1.61,0.16,1.27,-1.95,-0.00 +4.00,-0.67,0.76,1.21,2.99,-0.07 +0.00,-0.16,-0.75,-0.38,-0.71,-1.44 +2.00,-0.29,0.61,0.88,-0.11,0.31 +0.00,-0.14,0.03,-0.63,-1.06,-0.01 +0.00,0.68,0.53,-0.84,1.04,-1.03 +1.00,-0.96,1.24,0.57,-0.01,0.34 +2.00,-0.01,-0.11,0.19,0.46,0.23 +0.00,1.66,-1.70,-0.25,1.15,-0.84 +0.00,-1.43,0.61,-0.84,2.37,0.35 +0.00,-0.08,-1.17,1.60,-0.85,-2.67 +1.00,0.85,0.70,1.40,-0.46,-0.87 +0.00,-0.22,-0.88,-1.94,0.37,1.33 +2.00,-0.84,1.32,-1.02,-0.21,0.93 +3.00,-1.25,0.65,0.75,1.01,-1.05 +0.00,0.84,-1.04,0.08,-0.24,1.48 +0.00,0.32,-0.69,0.83,-0.29,-1.36 +0.00,0.72,-0.44,-1.80,-0.37,0.33 +0.00,-2.29,-0.09,0.28,-0.99,0.85 +2.00,1.01,-1.89,0.66,-0.11,-0.19 +1.00,0.07,-0.78,-0.65,0.87,1.86 +1.00,0.13,-1.87,0.38,-0.84,-0.38 +1.00,1.14,-0.59,1.22,2.11,1.43 +0.00,-1.29,1.29,0.87,-1.83,1.59 +0.00,-1.14,-2.02,0.17,0.08,-2.81 +1.00,-0.02,-1.71,2.18,0.66,1.10 +1.00,-0.69,-0.79,0.27,0.14,-1.79 +2.00,-0.22,-0.65,-0.09,1.15,-0.47 +0.00,-0.35,0.12,0.36,-0.00,1.00 +0.00,-0.47,1.60,-1.96,0.11,0.88 +2.00,0.29,0.33,0.73,-0.55,0.34 +0.00,-0.25,-1.42,0.76,-1.71,-0.60 +2.00,-0.48,0.83,0.19,-1.23,-0.61 +1.00,-2.01,0.45,-0.78,0.64,1.34 +1.00,-0.34,-2.13,1.11,0.30,-1.44 +0.00,-1.29,1.85,1.03,2.08,-0.67 +1.00,1.44,-0.45,-0.58,0.76,1.95 +1.00,-0.07,-0.15,0.19,2.36,0.60 +1.00,0.37,1.25,-0.67,1.64,-1.62 +4.00,0.51,-0.72,0.82,-0.02,1.77 +1.00,-0.26,-0.14,0.05,1.64,0.72 +2.00,1.88,0.38,-0.50,0.67,0.55 +2.00,-1.71,-1.24,0.44,1.06,1.13 +1.00,0.30,1.03,-0.50,0.88,0.78 +2.00,-0.15,1.82,-0.96,0.14,-0.31 +0.00,0.88,-0.33,-1.65,-1.40,-0.09 +1.00,0.97,-0.95,-0.94,-1.24,-0.31 +1.00,1.29,-1.08,0.01,0.39,0.49 +2.00,-0.22,0.27,1.00,0.47,0.25 +0.00,-0.11,-1.03,-1.13,-2.08,-0.15 +1.00,0.31,-1.72,0.23,1.15,0.74 +3.00,0.04,0.92,1.23,-0.51,-0.76 +0.00,-0.79,0.91,-1.62,-0.01,-0.79 +5.00,1.37,-0.86,2.21,0.87,0.23 +2.00,1.35,-0.51,-2.27,0.46,1.89 +0.00,1.17,-0.37,0.60,1.29,-0.44 +2.00,-0.46,-1.17,1.10,1.61,0.38 +0.00,0.82,0.66,-0.48,-0.52,0.36 +0.00,-1.04,-0.38,-2.27,-0.51,-1.08 +4.00,0.18,-0.20,0.48,1.22,1.19 +6.00,1.58,0.59,0.56,0.04,0.34 +2.00,1.99,0.31,0.77,0.23,-0.12 +1.00,-0.89,1.15,-0.97,0.29,0.60 +0.00,0.08,0.18,1.04,1.09,0.21 +1.00,0.13,-1.82,1.29,1.21,1.16 +1.00,1.60,0.76,-0.37,0.69,-1.22 +0.00,1.43,-0.60,-1.89,-1.00,0.78 +0.00,-0.37,-0.40,0.17,-0.64,0.31 +0.00,0.39,0.90,-0.97,-0.47,0.87 +2.00,0.98,-0.64,-1.86,0.68,0.60 +0.00,1.05,-0.40,0.24,-0.65,0.69 +2.00,1.28,-0.66,1.18,-0.64,0.90 +0.00,-0.03,-1.60,-0.76,-0.46,-0.57 +3.00,1.81,-0.33,-0.25,1.47,1.59 +3.00,0.94,-1.43,0.54,0.31,0.03 +1.00,-0.85,1.07,0.98,-2.15,-0.79 +3.00,1.60,-1.28,1.15,0.10,-0.33 +1.00,2.01,-0.29,1.21,0.50,-1.70 +1.00,-1.23,1.40,-1.12,-1.08,0.25 +0.00,0.01,2.06,0.57,-0.42,-0.56 +1.00,-0.45,0.75,1.28,-0.39,0.30 +1.00,-0.08,-1.03,0.64,-0.02,0.78 +0.00,1.13,0.08,0.16,0.73,-0.09 +2.00,-2.34,0.61,0.44,0.90,0.65 +0.00,-2.00,1.51,-1.33,1.11,-0.59 +0.00,-0.50,-0.01,0.67,-0.19,0.50 +1.00,-0.89,0.61,0.36,1.33,0.69 +0.00,0.92,1.10,-0.47,-1.66,0.64 +2.00,0.80,-0.24,-0.91,1.46,1.74 +2.00,0.69,-0.20,-0.91,-0.91,0.21 +0.00,-0.46,0.43,0.47,0.40,-0.58 +1.00,1.24,-0.76,-0.41,0.88,-0.27 +0.00,-0.15,-1.04,0.63,0.51,-2.06 +2.00,-1.55,-0.59,1.03,-0.31,1.49 +1.00,0.23,-0.45,0.60,0.22,-1.05 +2.00,-0.21,-1.30,1.60,-0.72,1.09 +2.00,0.35,-1.89,1.42,-1.77,-0.14 +0.00,-2.33,0.16,-1.60,-1.17,-0.16 +0.00,0.37,-1.10,0.43,1.19,-1.41 +4.00,-0.32,1.94,0.49,0.14,1.12 +1.00,-1.03,1.27,0.49,-0.55,0.07 +2.00,-0.83,0.66,1.13,0.16,-1.13 +0.00,-1.17,-0.10,-0.09,-0.09,-0.49 +0.00,-1.17,-0.07,-0.10,1.42,-1.77 +0.00,1.66,-1.07,-0.96,1.12,-1.98 +0.00,2.75,1.14,-0.05,0.58,0.14 +1.00,-1.06,0.66,-0.98,1.17,0.02 +0.00,-1.02,-0.36,0.06,0.67,-0.29 +2.00,0.28,0.73,-0.62,-0.56,1.98 +0.00,-0.17,-2.83,-1.42,-0.19,-0.77 +2.00,1.64,-0.91,-1.54,-2.04,1.41 +1.00,1.48,0.46,-0.46,-0.71,-1.07 +0.00,0.02,0.93,2.02,-0.84,1.44 +1.00,0.13,-0.27,1.43,0.22,-1.15 +1.00,0.26,-1.04,0.11,0.18,0.46 +2.00,0.51,-1.22,-0.03,0.11,0.86 +3.00,-1.07,-1.32,-0.11,-0.03,-0.11 +4.00,-1.67,1.23,0.01,-0.85,-0.45 +1.00,0.99,1.07,-0.37,0.38,0.95 +1.00,-1.77,-0.72,-0.54,-0.05,1.08 +0.00,-0.80,-0.03,-0.00,0.92,1.12 +2.00,-0.77,-0.08,-0.41,2.02,-0.62 +0.00,0.80,0.03,0.90,-1.62,-0.40 +0.00,1.06,1.06,-0.73,-0.11,0.04 +1.00,0.25,-0.36,-0.44,0.40,-0.13 +1.00,0.38,-0.47,-1.65,0.47,-0.13 +5.00,1.12,0.34,-0.87,1.43,0.07 diff --git a/shared/package-files/24/24023790eeb1292323b0bc65624e048a306e92d38747053d53dd5af763af6274/csvs.py b/shared/package-files/24/24023790eeb1292323b0bc65624e048a306e92d38747053d53dd5af763af6274/csvs.py new file mode 100644 index 0000000000000000000000000000000000000000..50503e862ef433901f40715987c2105f6f16263a --- /dev/null +++ b/shared/package-files/24/24023790eeb1292323b0bc65624e048a306e92d38747053d53dd5af763af6274/csvs.py @@ -0,0 +1,330 @@ +""" +Module for formatting output data into CSV files. +""" + +from __future__ import annotations + +from collections.abc import ( + Hashable, + Iterable, + Iterator, + Sequence, +) +import csv as csvlib +import os +from typing import ( + TYPE_CHECKING, + Any, + cast, +) + +import numpy as np + +from pandas._libs import writers as libwriters +from pandas._typing import SequenceNotStr +from pandas.util._decorators import cache_readonly + +from pandas.core.dtypes.generic import ( + ABCDatetimeIndex, + ABCIndex, + ABCMultiIndex, + ABCPeriodIndex, +) +from pandas.core.dtypes.missing import notna + +from pandas.core.indexes.api import Index + +from pandas.io.common import get_handle + +if TYPE_CHECKING: + from pandas._typing import ( + CompressionOptions, + FilePath, + FloatFormatType, + IndexLabel, + StorageOptions, + WriteBuffer, + npt, + ) + + from pandas.io.formats.format import DataFrameFormatter + + +_DEFAULT_CHUNKSIZE_CELLS = 100_000 + + +class CSVFormatter: + cols: npt.NDArray[np.object_] + + def __init__( + self, + formatter: DataFrameFormatter, + path_or_buf: FilePath | WriteBuffer[str] | WriteBuffer[bytes] = "", + sep: str = ",", + cols: Sequence[Hashable] | None = None, + index_label: IndexLabel | None = None, + mode: str = "w", + encoding: str | None = None, + errors: str = "strict", + compression: CompressionOptions = "infer", + quoting: int | None = None, + lineterminator: str | None = "\n", + chunksize: int | None = None, + quotechar: str | None = '"', + date_format: str | None = None, + doublequote: bool = True, + escapechar: str | None = None, + storage_options: StorageOptions | None = None, + ) -> None: + self.fmt = formatter + + self.obj = self.fmt.frame + + self.filepath_or_buffer = path_or_buf + self.encoding = encoding + self.compression: CompressionOptions = compression + self.mode = mode + self.storage_options = storage_options + + self.sep = sep + self.index_label = self._initialize_index_label(index_label) + self.errors = errors + self.quoting = quoting or csvlib.QUOTE_MINIMAL + self.quotechar = self._initialize_quotechar(quotechar) + self.doublequote = doublequote + self.escapechar = escapechar + self.lineterminator = lineterminator or os.linesep + self.date_format = date_format + self.cols = self._initialize_columns(cols) + self.chunksize = self._initialize_chunksize(chunksize) + + @property + def na_rep(self) -> str: + return self.fmt.na_rep + + @property + def float_format(self) -> FloatFormatType | None: + return self.fmt.float_format + + @property + def decimal(self) -> str: + return self.fmt.decimal + + @property + def header(self) -> bool | SequenceNotStr[str]: + return self.fmt.header + + @property + def index(self) -> bool: + return self.fmt.index + + def _initialize_index_label(self, index_label: IndexLabel | None) -> IndexLabel: + if index_label is not False: + if index_label is None: + return self._get_index_label_from_obj() + elif not isinstance(index_label, (list, tuple, np.ndarray, ABCIndex)): + # given a string for a DF with Index + return [index_label] + return index_label + + def _get_index_label_from_obj(self) -> Sequence[Hashable]: + if isinstance(self.obj.index, ABCMultiIndex): + return self._get_index_label_multiindex() + else: + return self._get_index_label_flat() + + def _get_index_label_multiindex(self) -> Sequence[Hashable]: + return [name or "" for name in self.obj.index.names] + + def _get_index_label_flat(self) -> Sequence[Hashable]: + index_label = self.obj.index.name + return [""] if index_label is None else [index_label] + + def _initialize_quotechar(self, quotechar: str | None) -> str | None: + if self.quoting != csvlib.QUOTE_NONE: + # prevents crash in _csv + return quotechar + return None + + @property + def has_mi_columns(self) -> bool: + return bool(isinstance(self.obj.columns, ABCMultiIndex)) + + def _initialize_columns( + self, cols: Iterable[Hashable] | None + ) -> npt.NDArray[np.object_]: + # validate mi options + if self.has_mi_columns: + if cols is not None: + msg = "cannot specify cols with a MultiIndex on the columns" + raise TypeError(msg) + + if cols is not None: + if isinstance(cols, ABCIndex): + cols = cols._get_values_for_csv(**self._number_format) + else: + cols = list(cols) + self.obj = self.obj.loc[:, cols] + + # update columns to include possible multiplicity of dupes + # and make sure cols is just a list of labels + new_cols = self.obj.columns + return new_cols._get_values_for_csv(**self._number_format) + + def _initialize_chunksize(self, chunksize: int | None) -> int: + if chunksize is None: + return (_DEFAULT_CHUNKSIZE_CELLS // (len(self.cols) or 1)) or 1 + return int(chunksize) + + @property + def _number_format(self) -> dict[str, Any]: + """Dictionary used for storing number formatting settings.""" + return { + "na_rep": self.na_rep, + "float_format": self.float_format, + "date_format": self.date_format, + "quoting": self.quoting, + "decimal": self.decimal, + } + + @cache_readonly + def data_index(self) -> Index: + data_index = self.obj.index + if ( + isinstance(data_index, (ABCDatetimeIndex, ABCPeriodIndex)) + and self.date_format is not None + ): + data_index = Index( + [x.strftime(self.date_format) if notna(x) else "" for x in data_index] + ) + elif isinstance(data_index, ABCMultiIndex): + data_index = data_index.remove_unused_levels() + return data_index + + @property + def nlevels(self) -> int: + if self.index: + return getattr(self.data_index, "nlevels", 1) + else: + return 0 + + @property + def _has_aliases(self) -> bool: + return isinstance(self.header, (tuple, list, np.ndarray, ABCIndex)) + + @property + def _need_to_save_header(self) -> bool: + return bool(self._has_aliases or self.header) + + @property + def write_cols(self) -> SequenceNotStr[Hashable]: + if self._has_aliases: + assert not isinstance(self.header, bool) + if len(self.header) != len(self.cols): + raise ValueError( + f"Writing {len(self.cols)} cols but got {len(self.header)} aliases" + ) + return self.header + else: + # self.cols is an ndarray derived from Index._get_values_for_csv, + # so its entries are strings, i.e. hashable + return cast(SequenceNotStr[Hashable], self.cols) + + @property + def encoded_labels(self) -> list[Hashable]: + encoded_labels: list[Hashable] = [] + + if self.index and self.index_label: + assert isinstance(self.index_label, Sequence) + encoded_labels = list(self.index_label) + + if not self.has_mi_columns or self._has_aliases: + encoded_labels += list(self.write_cols) + + return encoded_labels + + def save(self) -> None: + """ + Create the writer & save. + """ + # apply compression and byte/text conversion + with get_handle( + self.filepath_or_buffer, + self.mode, + encoding=self.encoding, + errors=self.errors, + compression=self.compression, + storage_options=self.storage_options, + ) as handles: + # Note: self.encoding is irrelevant here + self.writer = csvlib.writer( + handles.handle, + lineterminator=self.lineterminator, + delimiter=self.sep, + quoting=self.quoting, + doublequote=self.doublequote, + escapechar=self.escapechar, + quotechar=self.quotechar, + ) + + self._save() + + def _save(self) -> None: + if self._need_to_save_header: + self._save_header() + self._save_body() + + def _save_header(self) -> None: + if not self.has_mi_columns or self._has_aliases: + self.writer.writerow(self.encoded_labels) + else: + for row in self._generate_multiindex_header_rows(): + self.writer.writerow(row) + + def _generate_multiindex_header_rows(self) -> Iterator[list[Hashable]]: + columns = self.obj.columns + for i in range(columns.nlevels): + # we need at least 1 index column to write our col names + col_line = [] + if self.index: + # name is the first column + col_line.append(columns.names[i]) + + if isinstance(self.index_label, list) and len(self.index_label) > 1: + col_line.extend([""] * (len(self.index_label) - 1)) + + col_line.extend(columns._get_level_values(i)) + yield col_line + + # Write out the index line if it's not empty. + # Otherwise, we will print out an extraneous + # blank line between the mi and the data rows. + if self.encoded_labels and set(self.encoded_labels) != {""}: + yield self.encoded_labels + [""] * len(columns) + + def _save_body(self) -> None: + nrows = len(self.data_index) + chunks = (nrows // self.chunksize) + 1 + for i in range(chunks): + start_i = i * self.chunksize + end_i = min(start_i + self.chunksize, nrows) + if start_i >= end_i: + break + self._save_chunk(start_i, end_i) + + def _save_chunk(self, start_i: int, end_i: int) -> None: + # create the data for a chunk + slicer = slice(start_i, end_i) + df = self.obj.iloc[slicer] + + res = df._get_values_for_csv(**self._number_format) + data = list(res._iter_column_arrays()) + + ix = self.data_index[slicer]._get_values_for_csv(**self._number_format) + libwriters.write_csv_rows( + data, + ix, + self.nlevels, + self.cols, + self.writer, + ) diff --git a/shared/package-files/24/2402e13bbbee2f27a17427b979c3c06e2fd7f9678f880ab3a18525deefe6aca5/quantization.h b/shared/package-files/24/2402e13bbbee2f27a17427b979c3c06e2fd7f9678f880ab3a18525deefe6aca5/quantization.h new file mode 100644 index 0000000000000000000000000000000000000000..aa47dcb64b62be9307cd7047d2ddff72d411283e --- /dev/null +++ b/shared/package-files/24/2402e13bbbee2f27a17427b979c3c06e2fd7f9678f880ab3a18525deefe6aca5/quantization.h @@ -0,0 +1,38 @@ +#pragma once + +#include +#include + +namespace torch { +namespace jit { +namespace mobile { +class Module; +namespace quantization { +/* + * Device side PTQ API. + * Once the model has been prepared for quantization on server side, such model + * is sent to device. On device side the model is further trained. At the end of + * the training, before the model is readied for inference, we need to quantize + * the model. + * Usage of this API is as follows. + * PTQQuanizationHelper ptq_helper; + * ptq_helper.quantize_dynamic(m, "forward"); + * Args: + * m: Captured by reference, an instance of mobile::Module. This module will be + * mutated in place to replace its method with quantized + * equivalent. method:name: Name of the method to be quantized. AOT preparation + * for quantization must also have been done for this method. Returns: In place + * mutated `m` whose size should be smaller due to weight quantization and whose + * method should use quantized ops + */ +class TORCH_API PTQQuanizationHelper { + public: + PTQQuanizationHelper() = default; + void quantize_dynamic( + torch::jit::mobile::Module& m, + const std::string& method_name); +}; +} // namespace quantization +} // namespace mobile +} // namespace jit +} // namespace torch diff --git a/shared/package-files/24/2403a7a3ddf4893c9f6482cc7f5d6f5ad89a4e0ac970fa4fe8545346110c303e/pbkdi8a.afm b/shared/package-files/24/2403a7a3ddf4893c9f6482cc7f5d6f5ad89a4e0ac970fa4fe8545346110c303e/pbkdi8a.afm new file mode 100644 index 0000000000000000000000000000000000000000..c2da47a2a4998aef6e2b9679b1be895855e74130 --- /dev/null +++ b/shared/package-files/24/2403a7a3ddf4893c9f6482cc7f5d6f5ad89a4e0ac970fa4fe8545346110c303e/pbkdi8a.afm @@ -0,0 +1,417 @@ +StartFontMetrics 2.0 +Comment Copyright (c) 1985, 1987, 1989, 1992 Adobe Systems Incorporated. All Rights Reserved. +Comment Creation Date: Tue Jan 21 16:12:43 1992 +Comment UniqueID 37832 +Comment VMusage 32139 39031 +FontName Bookman-DemiItalic +FullName ITC Bookman Demi Italic +FamilyName ITC Bookman +Weight Demi +ItalicAngle -10 +IsFixedPitch false +FontBBox -231 -250 1333 941 +UnderlinePosition -100 +UnderlineThickness 50 +Version 001.004 +Notice Copyright (c) 1985, 1987, 1989, 1992 Adobe Systems Incorporated. All Rights Reserved.ITC Bookman is a registered trademark of International Typeface Corporation. +EncodingScheme AdobeStandardEncoding +CapHeight 681 +XHeight 515 +Ascender 732 +Descender -213 +StartCharMetrics 228 +C 32 ; WX 340 ; N space ; B 0 0 0 0 ; +C 33 ; WX 320 ; N exclam ; B 86 -8 366 698 ; +C 34 ; WX 380 ; N quotedbl ; B 140 371 507 697 ; +C 35 ; WX 680 ; N numbersign ; B 157 0 649 681 ; +C 36 ; WX 680 ; N dollar ; B 45 -164 697 790 ; +C 37 ; WX 880 ; N percent ; B 106 -17 899 698 ; +C 38 ; WX 980 ; N ampersand ; B 48 -17 1016 698 ; +C 39 ; WX 320 ; N quoteright ; B 171 420 349 698 ; +C 40 ; WX 260 ; N parenleft ; B 31 -134 388 741 ; +C 41 ; WX 260 ; N parenright ; B -35 -134 322 741 ; +C 42 ; WX 460 ; N asterisk ; B 126 346 508 698 ; +C 43 ; WX 600 ; N plus ; B 91 9 595 514 ; +C 44 ; WX 340 ; N comma ; B 100 -124 298 185 ; +C 45 ; WX 280 ; N hyphen ; B 59 218 319 313 ; +C 46 ; WX 340 ; N period ; B 106 -8 296 177 ; +C 47 ; WX 360 ; N slash ; B 9 -106 502 742 ; +C 48 ; WX 680 ; N zero ; B 87 -17 703 698 ; +C 49 ; WX 680 ; N one ; B 123 0 565 681 ; +C 50 ; WX 680 ; N two ; B 67 0 674 698 ; +C 51 ; WX 680 ; N three ; B 72 -17 683 698 ; +C 52 ; WX 680 ; N four ; B 63 0 708 681 ; +C 53 ; WX 680 ; N five ; B 78 -17 669 681 ; +C 54 ; WX 680 ; N six ; B 88 -17 704 698 ; +C 55 ; WX 680 ; N seven ; B 123 0 739 681 ; +C 56 ; WX 680 ; N eight ; B 68 -17 686 698 ; +C 57 ; WX 680 ; N nine ; B 71 -17 712 698 ; +C 58 ; WX 340 ; N colon ; B 106 -8 356 515 ; +C 59 ; WX 340 ; N semicolon ; B 100 -124 352 515 ; +C 60 ; WX 620 ; N less ; B 79 -9 588 540 ; +C 61 ; WX 600 ; N equal ; B 91 109 595 421 ; +C 62 ; WX 620 ; N greater ; B 89 -9 598 540 ; +C 63 ; WX 620 ; N question ; B 145 -8 668 698 ; +C 64 ; WX 780 ; N at ; B 80 -17 790 698 ; +C 65 ; WX 720 ; N A ; B -27 0 769 681 ; +C 66 ; WX 720 ; N B ; B 14 0 762 681 ; +C 67 ; WX 700 ; N C ; B 78 -17 754 698 ; +C 68 ; WX 760 ; N D ; B 14 0 805 681 ; +C 69 ; WX 720 ; N E ; B 14 0 777 681 ; +C 70 ; WX 660 ; N F ; B 14 0 763 681 ; +C 71 ; WX 760 ; N G ; B 77 -17 828 698 ; +C 72 ; WX 800 ; N H ; B 14 0 910 681 ; +C 73 ; WX 380 ; N I ; B 14 0 485 681 ; +C 74 ; WX 620 ; N J ; B 8 -17 721 681 ; +C 75 ; WX 780 ; N K ; B 14 0 879 681 ; +C 76 ; WX 640 ; N L ; B 14 0 725 681 ; +C 77 ; WX 860 ; N M ; B 14 0 970 681 ; +C 78 ; WX 740 ; N N ; B 14 0 845 681 ; +C 79 ; WX 760 ; N O ; B 78 -17 806 698 ; +C 80 ; WX 640 ; N P ; B -6 0 724 681 ; +C 81 ; WX 760 ; N Q ; B 37 -213 805 698 ; +C 82 ; WX 740 ; N R ; B 14 0 765 681 ; +C 83 ; WX 700 ; N S ; B 59 -17 731 698 ; +C 84 ; WX 700 ; N T ; B 70 0 802 681 ; +C 85 ; WX 740 ; N U ; B 112 -17 855 681 ; +C 86 ; WX 660 ; N V ; B 72 0 819 681 ; +C 87 ; WX 1000 ; N W ; B 72 0 1090 681 ; +C 88 ; WX 740 ; N X ; B -7 0 835 681 ; +C 89 ; WX 660 ; N Y ; B 72 0 817 681 ; +C 90 ; WX 680 ; N Z ; B 23 0 740 681 ; +C 91 ; WX 260 ; N bracketleft ; B 9 -118 374 741 ; +C 92 ; WX 580 ; N backslash ; B 73 0 575 741 ; +C 93 ; WX 260 ; N bracketright ; B -18 -118 347 741 ; +C 94 ; WX 620 ; N asciicircum ; B 92 281 594 681 ; +C 95 ; WX 500 ; N underscore ; B 0 -125 500 -75 ; +C 96 ; WX 320 ; N quoteleft ; B 155 420 333 698 ; +C 97 ; WX 680 ; N a ; B 84 -8 735 515 ; +C 98 ; WX 600 ; N b ; B 57 -8 633 732 ; +C 99 ; WX 560 ; N c ; B 58 -8 597 515 ; +C 100 ; WX 680 ; N d ; B 60 -8 714 732 ; +C 101 ; WX 560 ; N e ; B 59 -8 596 515 ; +C 102 ; WX 420 ; N f ; B -192 -213 641 741 ; L i fi ; L l fl ; +C 103 ; WX 620 ; N g ; B 21 -213 669 515 ; +C 104 ; WX 700 ; N h ; B 93 -8 736 732 ; +C 105 ; WX 380 ; N i ; B 83 -8 420 755 ; +C 106 ; WX 320 ; N j ; B -160 -213 392 755 ; +C 107 ; WX 700 ; N k ; B 97 -8 732 732 ; +C 108 ; WX 380 ; N l ; B 109 -8 410 732 ; +C 109 ; WX 960 ; N m ; B 83 -8 996 515 ; +C 110 ; WX 680 ; N n ; B 83 -8 715 515 ; +C 111 ; WX 600 ; N o ; B 59 -8 627 515 ; +C 112 ; WX 660 ; N p ; B -24 -213 682 515 ; +C 113 ; WX 620 ; N q ; B 60 -213 640 515 ; +C 114 ; WX 500 ; N r ; B 84 0 582 515 ; +C 115 ; WX 540 ; N s ; B 32 -8 573 515 ; +C 116 ; WX 440 ; N t ; B 106 -8 488 658 ; +C 117 ; WX 680 ; N u ; B 83 -8 720 507 ; +C 118 ; WX 540 ; N v ; B 56 -8 572 515 ; +C 119 ; WX 860 ; N w ; B 56 -8 891 515 ; +C 120 ; WX 620 ; N x ; B 10 -8 654 515 ; +C 121 ; WX 600 ; N y ; B 25 -213 642 507 ; +C 122 ; WX 560 ; N z ; B 36 -8 586 515 ; +C 123 ; WX 300 ; N braceleft ; B 49 -123 413 742 ; +C 124 ; WX 620 ; N bar ; B 303 -250 422 750 ; +C 125 ; WX 300 ; N braceright ; B -8 -114 356 751 ; +C 126 ; WX 620 ; N asciitilde ; B 101 162 605 368 ; +C 161 ; WX 320 ; N exclamdown ; B 64 -191 344 515 ; +C 162 ; WX 680 ; N cent ; B 161 25 616 718 ; +C 163 ; WX 680 ; N sterling ; B 0 -17 787 698 ; +C 164 ; WX 120 ; N fraction ; B -144 0 382 681 ; +C 165 ; WX 680 ; N yen ; B 92 0 782 681 ; +C 166 ; WX 680 ; N florin ; B -28 -199 743 741 ; +C 167 ; WX 620 ; N section ; B 46 -137 638 698 ; +C 168 ; WX 680 ; N currency ; B 148 85 637 571 ; +C 169 ; WX 180 ; N quotesingle ; B 126 370 295 696 ; +C 170 ; WX 520 ; N quotedblleft ; B 156 420 545 698 ; +C 171 ; WX 380 ; N guillemotleft ; B 62 84 406 503 ; +C 172 ; WX 220 ; N guilsinglleft ; B 62 84 249 503 ; +C 173 ; WX 220 ; N guilsinglright ; B 62 84 249 503 ; +C 174 ; WX 820 ; N fi ; B -191 -213 850 741 ; +C 175 ; WX 820 ; N fl ; B -191 -213 850 741 ; +C 177 ; WX 500 ; N endash ; B 40 219 573 311 ; +C 178 ; WX 420 ; N dagger ; B 89 -137 466 698 ; +C 179 ; WX 420 ; N daggerdbl ; B 79 -137 486 698 ; +C 180 ; WX 340 ; N periodcentered ; B 126 173 316 358 ; +C 182 ; WX 680 ; N paragraph ; B 137 0 715 681 ; +C 183 ; WX 360 ; N bullet ; B 60 170 404 511 ; +C 184 ; WX 300 ; N quotesinglbase ; B 106 -112 284 166 ; +C 185 ; WX 520 ; N quotedblbase ; B 106 -112 495 166 ; +C 186 ; WX 520 ; N quotedblright ; B 171 420 560 698 ; +C 187 ; WX 380 ; N guillemotright ; B 62 84 406 503 ; +C 188 ; WX 1000 ; N ellipsis ; B 86 -8 942 177 ; +C 189 ; WX 1360 ; N perthousand ; B 106 -17 1333 698 ; +C 191 ; WX 620 ; N questiondown ; B 83 -189 606 515 ; +C 193 ; WX 380 ; N grave ; B 193 566 424 771 ; +C 194 ; WX 340 ; N acute ; B 176 566 407 771 ; +C 195 ; WX 480 ; N circumflex ; B 183 582 523 749 ; +C 196 ; WX 480 ; N tilde ; B 178 587 533 709 ; +C 197 ; WX 480 ; N macron ; B 177 603 531 691 ; +C 198 ; WX 460 ; N breve ; B 177 577 516 707 ; +C 199 ; WX 380 ; N dotaccent ; B 180 570 345 734 ; +C 200 ; WX 520 ; N dieresis ; B 180 570 569 734 ; +C 202 ; WX 360 ; N ring ; B 185 558 406 775 ; +C 203 ; WX 360 ; N cedilla ; B 68 -220 289 -8 ; +C 205 ; WX 560 ; N hungarumlaut ; B 181 560 616 775 ; +C 206 ; WX 320 ; N ogonek ; B 68 -182 253 0 ; +C 207 ; WX 480 ; N caron ; B 183 582 523 749 ; +C 208 ; WX 1000 ; N emdash ; B 40 219 1073 311 ; +C 225 ; WX 1140 ; N AE ; B -27 0 1207 681 ; +C 227 ; WX 440 ; N ordfeminine ; B 118 400 495 685 ; +C 232 ; WX 640 ; N Lslash ; B 14 0 724 681 ; +C 233 ; WX 760 ; N Oslash ; B 21 -29 847 725 ; +C 234 ; WX 1180 ; N OE ; B 94 -17 1245 698 ; +C 235 ; WX 440 ; N ordmasculine ; B 127 400 455 685 ; +C 241 ; WX 880 ; N ae ; B 39 -8 913 515 ; +C 245 ; WX 380 ; N dotlessi ; B 83 -8 420 507 ; +C 248 ; WX 380 ; N lslash ; B 63 -8 412 732 ; +C 249 ; WX 600 ; N oslash ; B 17 -54 661 571 ; +C 250 ; WX 920 ; N oe ; B 48 -8 961 515 ; +C 251 ; WX 660 ; N germandbls ; B -231 -213 702 741 ; +C -1 ; WX 560 ; N ecircumflex ; B 59 -8 596 749 ; +C -1 ; WX 560 ; N edieresis ; B 59 -8 596 734 ; +C -1 ; WX 680 ; N aacute ; B 84 -8 735 771 ; +C -1 ; WX 780 ; N registered ; B 83 -17 783 698 ; +C -1 ; WX 380 ; N icircumflex ; B 83 -8 433 749 ; +C -1 ; WX 680 ; N udieresis ; B 83 -8 720 734 ; +C -1 ; WX 600 ; N ograve ; B 59 -8 627 771 ; +C -1 ; WX 680 ; N uacute ; B 83 -8 720 771 ; +C -1 ; WX 680 ; N ucircumflex ; B 83 -8 720 749 ; +C -1 ; WX 720 ; N Aacute ; B -27 0 769 937 ; +C -1 ; WX 380 ; N igrave ; B 83 -8 424 771 ; +C -1 ; WX 380 ; N Icircumflex ; B 14 0 493 915 ; +C -1 ; WX 560 ; N ccedilla ; B 58 -220 597 515 ; +C -1 ; WX 680 ; N adieresis ; B 84 -8 735 734 ; +C -1 ; WX 720 ; N Ecircumflex ; B 14 0 777 915 ; +C -1 ; WX 540 ; N scaron ; B 32 -8 573 749 ; +C -1 ; WX 660 ; N thorn ; B -24 -213 682 732 ; +C -1 ; WX 940 ; N trademark ; B 42 277 982 681 ; +C -1 ; WX 560 ; N egrave ; B 59 -8 596 771 ; +C -1 ; WX 408 ; N threesuperior ; B 86 269 483 698 ; +C -1 ; WX 560 ; N zcaron ; B 36 -8 586 749 ; +C -1 ; WX 680 ; N atilde ; B 84 -8 735 709 ; +C -1 ; WX 680 ; N aring ; B 84 -8 735 775 ; +C -1 ; WX 600 ; N ocircumflex ; B 59 -8 627 749 ; +C -1 ; WX 720 ; N Edieresis ; B 14 0 777 900 ; +C -1 ; WX 1020 ; N threequarters ; B 86 0 1054 691 ; +C -1 ; WX 600 ; N ydieresis ; B 25 -213 642 734 ; +C -1 ; WX 600 ; N yacute ; B 25 -213 642 771 ; +C -1 ; WX 380 ; N iacute ; B 83 -8 420 771 ; +C -1 ; WX 720 ; N Acircumflex ; B -27 0 769 915 ; +C -1 ; WX 740 ; N Uacute ; B 112 -17 855 937 ; +C -1 ; WX 560 ; N eacute ; B 59 -8 596 771 ; +C -1 ; WX 760 ; N Ograve ; B 78 -17 806 937 ; +C -1 ; WX 680 ; N agrave ; B 84 -8 735 771 ; +C -1 ; WX 740 ; N Udieresis ; B 112 -17 855 900 ; +C -1 ; WX 680 ; N acircumflex ; B 84 -8 735 749 ; +C -1 ; WX 380 ; N Igrave ; B 14 0 485 937 ; +C -1 ; WX 408 ; N twosuperior ; B 91 279 485 698 ; +C -1 ; WX 740 ; N Ugrave ; B 112 -17 855 937 ; +C -1 ; WX 1020 ; N onequarter ; B 118 0 1054 681 ; +C -1 ; WX 740 ; N Ucircumflex ; B 112 -17 855 915 ; +C -1 ; WX 700 ; N Scaron ; B 59 -17 731 915 ; +C -1 ; WX 380 ; N Idieresis ; B 14 0 499 900 ; +C -1 ; WX 380 ; N idieresis ; B 83 -8 479 734 ; +C -1 ; WX 720 ; N Egrave ; B 14 0 777 937 ; +C -1 ; WX 760 ; N Oacute ; B 78 -17 806 937 ; +C -1 ; WX 600 ; N divide ; B 91 9 595 521 ; +C -1 ; WX 720 ; N Atilde ; B -27 0 769 875 ; +C -1 ; WX 720 ; N Aring ; B -27 0 769 941 ; +C -1 ; WX 760 ; N Odieresis ; B 78 -17 806 900 ; +C -1 ; WX 720 ; N Adieresis ; B -27 0 769 900 ; +C -1 ; WX 740 ; N Ntilde ; B 14 0 845 875 ; +C -1 ; WX 680 ; N Zcaron ; B 23 0 740 915 ; +C -1 ; WX 640 ; N Thorn ; B -6 0 701 681 ; +C -1 ; WX 380 ; N Iacute ; B 14 0 485 937 ; +C -1 ; WX 600 ; N plusminus ; B 91 0 595 514 ; +C -1 ; WX 600 ; N multiply ; B 91 10 595 514 ; +C -1 ; WX 720 ; N Eacute ; B 14 0 777 937 ; +C -1 ; WX 660 ; N Ydieresis ; B 72 0 817 900 ; +C -1 ; WX 408 ; N onesuperior ; B 118 279 406 688 ; +C -1 ; WX 680 ; N ugrave ; B 83 -8 720 771 ; +C -1 ; WX 620 ; N logicalnot ; B 81 129 585 421 ; +C -1 ; WX 680 ; N ntilde ; B 83 -8 715 709 ; +C -1 ; WX 760 ; N Otilde ; B 78 -17 806 875 ; +C -1 ; WX 600 ; N otilde ; B 59 -8 627 709 ; +C -1 ; WX 700 ; N Ccedilla ; B 78 -220 754 698 ; +C -1 ; WX 720 ; N Agrave ; B -27 0 769 937 ; +C -1 ; WX 1020 ; N onehalf ; B 118 0 1036 681 ; +C -1 ; WX 760 ; N Eth ; B 14 0 805 681 ; +C -1 ; WX 400 ; N degree ; B 130 398 430 698 ; +C -1 ; WX 660 ; N Yacute ; B 72 0 817 937 ; +C -1 ; WX 760 ; N Ocircumflex ; B 78 -17 806 915 ; +C -1 ; WX 600 ; N oacute ; B 59 -8 627 771 ; +C -1 ; WX 680 ; N mu ; B 54 -213 720 507 ; +C -1 ; WX 600 ; N minus ; B 91 207 595 323 ; +C -1 ; WX 600 ; N eth ; B 59 -8 662 741 ; +C -1 ; WX 600 ; N odieresis ; B 59 -8 627 734 ; +C -1 ; WX 780 ; N copyright ; B 83 -17 783 698 ; +C -1 ; WX 620 ; N brokenbar ; B 303 -175 422 675 ; +EndCharMetrics +StartKernData +StartKernPairs 92 + +KPX A y 20 +KPX A w 20 +KPX A v 20 +KPX A Y -25 +KPX A W -35 +KPX A V -40 +KPX A T -17 + +KPX F period -105 +KPX F comma -98 +KPX F A -35 + +KPX L y 62 +KPX L Y -5 +KPX L W -15 +KPX L V -19 +KPX L T -26 + +KPX P period -105 +KPX P comma -98 +KPX P A -31 + +KPX R y 27 +KPX R Y 4 +KPX R W -4 +KPX R V -8 +KPX R T -3 + +KPX T y 56 +KPX T w 69 +KPX T u 42 +KPX T semicolon 31 +KPX T s -1 +KPX T r 41 +KPX T period -107 +KPX T o -5 +KPX T i 42 +KPX T hyphen -20 +KPX T e -10 +KPX T comma -100 +KPX T colon 26 +KPX T c -8 +KPX T a -8 +KPX T A -42 + +KPX V y 17 +KPX V u -1 +KPX V semicolon -22 +KPX V r 2 +KPX V period -115 +KPX V o -50 +KPX V i 32 +KPX V hyphen -20 +KPX V e -50 +KPX V comma -137 +KPX V colon -28 +KPX V a -50 +KPX V A -50 + +KPX W y -51 +KPX W u -69 +KPX W semicolon -81 +KPX W r -66 +KPX W period -183 +KPX W o -100 +KPX W i -36 +KPX W hyphen -22 +KPX W e -100 +KPX W comma -201 +KPX W colon -86 +KPX W a -100 +KPX W A -77 + +KPX Y v 26 +KPX Y u -1 +KPX Y semicolon -4 +KPX Y q -43 +KPX Y period -113 +KPX Y o -41 +KPX Y i 20 +KPX Y hyphen -20 +KPX Y e -46 +KPX Y comma -106 +KPX Y colon -9 +KPX Y a -45 +KPX Y A -30 + +KPX f f 10 + +KPX r q -3 +KPX r period -120 +KPX r o -1 +KPX r n 39 +KPX r m 39 +KPX r hyphen -20 +KPX r h -35 +KPX r g -23 +KPX r f 42 +KPX r e -6 +KPX r d -3 +KPX r comma -113 +KPX r c -5 +EndKernPairs +EndKernData +StartComposites 56 +CC Aacute 2 ; PCC A 0 0 ; PCC acute 190 166 ; +CC Acircumflex 2 ; PCC A 0 0 ; PCC circumflex 120 166 ; +CC Adieresis 2 ; PCC A 0 0 ; PCC dieresis 100 166 ; +CC Agrave 2 ; PCC A 0 0 ; PCC grave 170 166 ; +CC Aring 2 ; PCC A 0 0 ; PCC ring 200 166 ; +CC Atilde 2 ; PCC A 0 0 ; PCC tilde 120 166 ; +CC Eacute 2 ; PCC E 0 0 ; PCC acute 190 166 ; +CC Ecircumflex 2 ; PCC E 0 0 ; PCC circumflex 120 166 ; +CC Edieresis 2 ; PCC E 0 0 ; PCC dieresis 100 166 ; +CC Egrave 2 ; PCC E 0 0 ; PCC grave 170 166 ; +CC Iacute 2 ; PCC I 0 0 ; PCC acute 20 166 ; +CC Icircumflex 2 ; PCC I 0 0 ; PCC circumflex -30 166 ; +CC Idieresis 2 ; PCC I 0 0 ; PCC dieresis -70 166 ; +CC Igrave 2 ; PCC I 0 0 ; PCC grave 0 166 ; +CC Ntilde 2 ; PCC N 0 0 ; PCC tilde 130 166 ; +CC Oacute 2 ; PCC O 0 0 ; PCC acute 210 166 ; +CC Ocircumflex 2 ; PCC O 0 0 ; PCC circumflex 140 166 ; +CC Odieresis 2 ; PCC O 0 0 ; PCC dieresis 140 166 ; +CC Ograve 2 ; PCC O 0 0 ; PCC grave 190 166 ; +CC Otilde 2 ; PCC O 0 0 ; PCC tilde 140 166 ; +CC Scaron 2 ; PCC S 0 0 ; PCC caron 110 166 ; +CC Uacute 2 ; PCC U 0 0 ; PCC acute 200 166 ; +CC Ucircumflex 2 ; PCC U 0 0 ; PCC circumflex 130 166 ; +CC Udieresis 2 ; PCC U 0 0 ; PCC dieresis 130 166 ; +CC Ugrave 2 ; PCC U 0 0 ; PCC grave 180 166 ; +CC Yacute 2 ; PCC Y 0 0 ; PCC acute 160 166 ; +CC Ydieresis 2 ; PCC Y 0 0 ; PCC dieresis 70 166 ; +CC Zcaron 2 ; PCC Z 0 0 ; PCC caron 100 166 ; +CC aacute 2 ; PCC a 0 0 ; PCC acute 170 0 ; +CC acircumflex 2 ; PCC a 0 0 ; PCC circumflex 100 0 ; +CC adieresis 2 ; PCC a 0 0 ; PCC dieresis 80 0 ; +CC agrave 2 ; PCC a 0 0 ; PCC grave 150 0 ; +CC aring 2 ; PCC a 0 0 ; PCC ring 160 0 ; +CC atilde 2 ; PCC a 0 0 ; PCC tilde 100 0 ; +CC eacute 2 ; PCC e 0 0 ; PCC acute 110 0 ; +CC ecircumflex 2 ; PCC e 0 0 ; PCC circumflex 60 0 ; +CC edieresis 2 ; PCC e 0 0 ; PCC dieresis 20 0 ; +CC egrave 2 ; PCC e 0 0 ; PCC grave 90 0 ; +CC iacute 2 ; PCC dotlessi 0 0 ; PCC acute 0 0 ; +CC icircumflex 2 ; PCC dotlessi 0 0 ; PCC circumflex -90 0 ; +CC idieresis 2 ; PCC dotlessi 0 0 ; PCC dieresis -90 0 ; +CC igrave 2 ; PCC dotlessi 0 0 ; PCC grave 0 0 ; +CC ntilde 2 ; PCC n 0 0 ; PCC tilde 60 0 ; +CC oacute 2 ; PCC o 0 0 ; PCC acute 130 0 ; +CC ocircumflex 2 ; PCC o 0 0 ; PCC circumflex 60 0 ; +CC odieresis 2 ; PCC o 0 0 ; PCC dieresis 40 0 ; +CC ograve 2 ; PCC o 0 0 ; PCC grave 110 0 ; +CC otilde 2 ; PCC o 0 0 ; PCC tilde 60 0 ; +CC scaron 2 ; PCC s 0 0 ; PCC caron 30 0 ; +CC uacute 2 ; PCC u 0 0 ; PCC acute 170 0 ; +CC ucircumflex 2 ; PCC u 0 0 ; PCC circumflex 100 0 ; +CC udieresis 2 ; PCC u 0 0 ; PCC dieresis 80 0 ; +CC ugrave 2 ; PCC u 0 0 ; PCC grave 150 0 ; +CC yacute 2 ; PCC y 0 0 ; PCC acute 130 0 ; +CC ydieresis 2 ; PCC y 0 0 ; PCC dieresis 40 0 ; +CC zcaron 2 ; PCC z 0 0 ; PCC caron 40 0 ; +EndComposites +EndFontMetrics diff --git a/shared/package-files/24/240417d84507c25a4a09f2431aca5a95d9ac2116c7c675e9b0d52bbd1ae72041/test_transpose.py b/shared/package-files/24/240417d84507c25a4a09f2431aca5a95d9ac2116c7c675e9b0d52bbd1ae72041/test_transpose.py new file mode 100644 index 0000000000000000000000000000000000000000..9c13db5341c15c69e0d04dcb9bc2aa40a17bdda1 --- /dev/null +++ b/shared/package-files/24/240417d84507c25a4a09f2431aca5a95d9ac2116c7c675e9b0d52bbd1ae72041/test_transpose.py @@ -0,0 +1,80 @@ +import numpy as np +from numba import cuda +from numba.cuda.kernels.transpose import transpose +from numba.cuda.testing import unittest +from numba.cuda.testing import skip_on_cudasim, CUDATestCase + + +recordwith2darray = np.dtype([('i', np.int32), + ('j', np.float32, (3, 2))]) + + +@skip_on_cudasim('Device Array API unsupported in the simulator') +class TestTranspose(CUDATestCase): + + def test_transpose(self): + variants = ((5, 6, np.float64), + (128, 128, np.complex128), + (1025, 512, np.float64)) + + for rows, cols, dtype in variants: + with self.subTest(rows=rows, cols=cols, dtype=dtype): + x = np.arange(rows * cols, dtype=dtype).reshape(cols, rows) + y = np.zeros(rows * cols, dtype=dtype).reshape(rows, cols) + dx = cuda.to_device(x) + dy = cuda.cudadrv.devicearray.from_array_like(y) + transpose(dx, dy) + dy.copy_to_host(y) + np.testing.assert_array_equal(x.transpose(), y) + + small_variants = ((2, 3), (16, 16), (16, 17), (17, 16), (14, 15), (15, 14), + (14, 14)) + + def test_transpose_record(self): + for rows, cols in self.small_variants: + with self.subTest(rows=rows, cols=cols): + arr = np.recarray((rows, cols), dtype=recordwith2darray) + for x in range(rows): + for y in range(cols): + arr[x, y].i = x ** 2 + y + j = np.arange(3 * 2, dtype=np.float32) + arr[x, y].j = j.reshape(3, 2) * x + y + + transposed = arr.T + d_arr = cuda.to_device(arr) + d_transposed = cuda.device_array_like(transposed) + transpose(d_arr, d_transposed) + host_transposed = d_transposed.copy_to_host() + np.testing.assert_array_equal(transposed, host_transposed) + + def test_transpose_bool(self): + for rows, cols in self.small_variants: + with self.subTest(rows=rows, cols=cols): + arr = np.random.randint(2, size=(rows, cols), dtype=np.bool_) + transposed = arr.T + + d_arr = cuda.to_device(arr) + d_transposed = cuda.device_array_like(transposed) + transpose(d_arr, d_transposed) + + host_transposed = d_transposed.copy_to_host() + np.testing.assert_array_equal(transposed, host_transposed) + + def test_transpose_view(self): + # Because the strides of transposes of views differ to those in NumPy + # (see issue #4974), we test the shape and strides of a transpose. + a = np.arange(120, dtype=np.int64).reshape((10, 12)) + a_view_t = a[::2, ::2].T + + d_a = cuda.to_device(a) + d_a_view_t = d_a[::2, ::2].T + + self.assertEqual(d_a_view_t.shape, (6, 5)) + self.assertEqual(d_a_view_t.strides, (40, 8)) + + h_a_view_t = d_a_view_t.copy_to_host() + np.testing.assert_array_equal(a_view_t, h_a_view_t) + + +if __name__ == '__main__': + unittest.main() diff --git a/shared/package-files/24/24059769bf429929af981af5b71ab1c0ad45bef9b9911d9573cea0793f045fee/_adaptive_avg_pool3d_compositeexplicitautograd_dispatch.h b/shared/package-files/24/24059769bf429929af981af5b71ab1c0ad45bef9b9911d9573cea0793f045fee/_adaptive_avg_pool3d_compositeexplicitautograd_dispatch.h new file mode 100644 index 0000000000000000000000000000000000000000..d6acbd4972bdf06ae449c45678f44a7e16a4d6aa --- /dev/null +++ b/shared/package-files/24/24059769bf429929af981af5b71ab1c0ad45bef9b9911d9573cea0793f045fee/_adaptive_avg_pool3d_compositeexplicitautograd_dispatch.h @@ -0,0 +1,26 @@ +#pragma once +// @generated by torchgen/gen.py from DispatchKeyFunction.h + +// NB: The implementing C++ file is RegisterDispatchKey.cpp + +// The only #includes we need are for custom classes that have defaults in the C++ API +#include +#include +#include + +// Forward declarations of any types needed in the operator signatures. +// We can't directly include these classes because it will cause circular include dependencies. +// This file is included by TensorBody.h, which defines the Tensor class. +#include + +namespace at { + +namespace compositeexplicitautograd { + +TORCH_API at::Tensor & _adaptive_avg_pool3d_out(at::Tensor & out, const at::Tensor & self, at::IntArrayRef output_size); +TORCH_API at::Tensor & _adaptive_avg_pool3d_outf(const at::Tensor & self, at::IntArrayRef output_size, at::Tensor & out); +TORCH_API at::Tensor & _adaptive_avg_pool3d_symint_out(at::Tensor & out, const at::Tensor & self, c10::SymIntArrayRef output_size); +TORCH_API at::Tensor & _adaptive_avg_pool3d_symint_outf(const at::Tensor & self, c10::SymIntArrayRef output_size, at::Tensor & out); + +} // namespace compositeexplicitautograd +} // namespace at diff --git a/shared/package-files/24/240866561bb149091666d7d80374308601932ae0bfbaa2290c8c5fc4c71ec247/_storage_utils.py b/shared/package-files/24/240866561bb149091666d7d80374308601932ae0bfbaa2290c8c5fc4c71ec247/_storage_utils.py new file mode 100644 index 0000000000000000000000000000000000000000..2b0ba566d47aa1b08e5a8d3d7067ca122ff9fe90 --- /dev/null +++ b/shared/package-files/24/240866561bb149091666d7d80374308601932ae0bfbaa2290c8c5fc4c71ec247/_storage_utils.py @@ -0,0 +1,50 @@ +import os +from typing import List, Type, Union + +from .filesystem import FileSystemReader, FileSystemWriter + +from .storage import StorageReader, StorageWriter + + +def _storage_setup( + storage: Union[StorageReader, StorageWriter, None], + checkpoint_id: Union[str, os.PathLike, None], + reader: bool = False, +) -> Union[None, StorageReader, StorageWriter]: + if storage: + if checkpoint_id is not None: + storage.reset(checkpoint_id) + return storage + + if not checkpoint_id: + raise RuntimeError( + "`checkpoint_id` must be specificed if " + "storage_reader/storage_writer is None." + ) + + targets: List[Type[Union[StorageReader, StorageWriter]]] = [] + if reader: + targets = [ + FileSystemReader, + ] + else: + targets = [ + FileSystemWriter, + ] + try: + from .fsspec import FsspecReader, FsspecWriter + + targets.append(FsspecReader if reader else FsspecWriter) + except Exception: + pass + + for target in targets: + if target.validate_checkpoint_id(checkpoint_id): + storage = target(checkpoint_id) # type: ignore[call-arg] + storage.reset(checkpoint_id) + return storage + + raise RuntimeError( + "Cannot detect which StorageReader or StorageWriter to use. " + "Please specify the storage_reader/storage_writer." + ) diff --git a/shared/package-files/24/2409674eb17759c589a0e81027dc5cc15f353ff0b7615cf0ee14de1f2e9b053a/randn_like_native.h b/shared/package-files/24/2409674eb17759c589a0e81027dc5cc15f353ff0b7615cf0ee14de1f2e9b053a/randn_like_native.h new file mode 100644 index 0000000000000000000000000000000000000000..49c5d310b1a9d0449187c25852a3c8782fec3a39 --- /dev/null +++ b/shared/package-files/24/2409674eb17759c589a0e81027dc5cc15f353ff0b7615cf0ee14de1f2e9b053a/randn_like_native.h @@ -0,0 +1,22 @@ +#pragma once + +// @generated by torchgen/gen.py from NativeFunction.h + +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include + + +namespace at { +namespace native { +TORCH_API at::Tensor randn_like(const at::Tensor & self, c10::optional dtype={}, c10::optional layout={}, c10::optional device={}, c10::optional pin_memory={}, c10::optional memory_format=c10::nullopt); +TORCH_API at::Tensor & randn_like_out(const at::Tensor & self, c10::optional memory_format, at::Tensor & out); +} // namespace native +} // namespace at diff --git a/shared/package-files/24/2409abaeb08471dc999602cefd8e279ac521539ea02b2acc937f5653df7529ba/aaa-rv-unk b/shared/package-files/24/2409abaeb08471dc999602cefd8e279ac521539ea02b2acc937f5653df7529ba/aaa-rv-unk new file mode 100644 index 0000000000000000000000000000000000000000..388a0cb4c8ed8c3fe9d9aabea678584de9f7c30a Binary files /dev/null and b/shared/package-files/24/2409abaeb08471dc999602cefd8e279ac521539ea02b2acc937f5653df7529ba/aaa-rv-unk differ diff --git a/shared/package-files/24/240b1bc868eff321ddf6abec22e6ff6a6242bc8a94cbb9079d650c15ad6aa439/cummax_compositeexplicitautograd_dispatch.h b/shared/package-files/24/240b1bc868eff321ddf6abec22e6ff6a6242bc8a94cbb9079d650c15ad6aa439/cummax_compositeexplicitautograd_dispatch.h new file mode 100644 index 0000000000000000000000000000000000000000..dd1cb4ab2773760351b33fd456718fd9d11aec2b --- /dev/null +++ b/shared/package-files/24/240b1bc868eff321ddf6abec22e6ff6a6242bc8a94cbb9079d650c15ad6aa439/cummax_compositeexplicitautograd_dispatch.h @@ -0,0 +1,25 @@ +#pragma once +// @generated by torchgen/gen.py from DispatchKeyFunction.h + +// NB: The implementing C++ file is RegisterDispatchKey.cpp + +// The only #includes we need are for custom classes that have defaults in the C++ API +#include +#include +#include + +// Forward declarations of any types needed in the operator signatures. +// We can't directly include these classes because it will cause circular include dependencies. +// This file is included by TensorBody.h, which defines the Tensor class. +#include + +namespace at { + +namespace compositeexplicitautograd { + +TORCH_API ::std::tuple cummax(const at::Tensor & self, int64_t dim); +TORCH_API ::std::tuple cummax_out(at::Tensor & values, at::Tensor & indices, const at::Tensor & self, int64_t dim); +TORCH_API ::std::tuple cummax_outf(const at::Tensor & self, int64_t dim, at::Tensor & values, at::Tensor & indices); + +} // namespace compositeexplicitautograd +} // namespace at diff --git a/shared/package-files/24/240cf4858d60049bb743f76fb1c42b4897602aec298ea159570cfeb0e410db5c/expn_asy.py b/shared/package-files/24/240cf4858d60049bb743f76fb1c42b4897602aec298ea159570cfeb0e410db5c/expn_asy.py new file mode 100644 index 0000000000000000000000000000000000000000..3491b8acd588a2cacfc48f0a3a60c6ae88c3e8c5 --- /dev/null +++ b/shared/package-files/24/240cf4858d60049bb743f76fb1c42b4897602aec298ea159570cfeb0e410db5c/expn_asy.py @@ -0,0 +1,54 @@ +"""Precompute the polynomials for the asymptotic expansion of the +generalized exponential integral. + +Sources +------- +[1] NIST, Digital Library of Mathematical Functions, + https://dlmf.nist.gov/8.20#ii + +""" +import os + +try: + import sympy + from sympy import Poly + x = sympy.symbols('x') +except ImportError: + pass + + +def generate_A(K): + A = [Poly(1, x)] + for k in range(K): + A.append(Poly(1 - 2*k*x, x)*A[k] + Poly(x*(x + 1))*A[k].diff()) + return A + + +WARNING = """\ +/* This file was automatically generated by _precompute/expn_asy.py. + * Do not edit it manually! + */ +""" + + +def main(): + print(__doc__) + fn = os.path.join('..', 'cephes', 'expn.h') + + K = 12 + A = generate_A(K) + with open(fn + '.new', 'w') as f: + f.write(WARNING) + f.write(f"#define nA {len(A)}\n") + for k, Ak in enumerate(A): + ', '.join([str(x.evalf(18)) for x in Ak.coeffs()]) + f.write(f"static const double A{k}[] = {{tmp}};\n") + ", ".join([f"A{k}" for k in range(K + 1)]) + f.write("static const double *A[] = {{tmp}};\n") + ", ".join([str(Ak.degree()) for Ak in A]) + f.write("static const int Adegs[] = {{tmp}};\n") + os.rename(fn + '.new', fn) + + +if __name__ == "__main__": + main() diff --git a/shared/package-files/24/240df50f08152d7462a1bbf2e9ef1e13f302548755f2dbfa8c4b02bc0747eef6/gradient_compositeimplicitautograd_dispatch.h b/shared/package-files/24/240df50f08152d7462a1bbf2e9ef1e13f302548755f2dbfa8c4b02bc0747eef6/gradient_compositeimplicitautograd_dispatch.h new file mode 100644 index 0000000000000000000000000000000000000000..a26c9c05823c7b97d5fd66231f70a2f048bb8225 --- /dev/null +++ b/shared/package-files/24/240df50f08152d7462a1bbf2e9ef1e13f302548755f2dbfa8c4b02bc0747eef6/gradient_compositeimplicitautograd_dispatch.h @@ -0,0 +1,29 @@ +#pragma once +// @generated by torchgen/gen.py from DispatchKeyFunction.h + +// NB: The implementing C++ file is RegisterDispatchKey.cpp + +// The only #includes we need are for custom classes that have defaults in the C++ API +#include +#include +#include + +// Forward declarations of any types needed in the operator signatures. +// We can't directly include these classes because it will cause circular include dependencies. +// This file is included by TensorBody.h, which defines the Tensor class. +#include + +namespace at { + +namespace compositeimplicitautograd { + +TORCH_API ::std::vector gradient(const at::Tensor & self, const c10::optional & spacing=c10::nullopt, c10::optional dim=c10::nullopt, int64_t edge_order=1); +TORCH_API ::std::vector gradient(const at::Tensor & self, const at::Scalar & spacing, at::IntArrayRef dim, int64_t edge_order=1); +TORCH_API ::std::vector gradient(const at::Tensor & self, at::IntArrayRef dim, int64_t edge_order=1); +TORCH_API ::std::vector gradient(const at::Tensor & self, at::ArrayRef spacing, c10::optional dim=c10::nullopt, int64_t edge_order=1); +TORCH_API ::std::vector gradient(const at::Tensor & self, at::ArrayRef spacing, at::IntArrayRef dim, int64_t edge_order=1); +TORCH_API ::std::vector gradient(const at::Tensor & self, at::TensorList spacing, c10::optional dim=c10::nullopt, int64_t edge_order=1); +TORCH_API ::std::vector gradient(const at::Tensor & self, at::TensorList spacing, at::IntArrayRef dim, int64_t edge_order=1); + +} // namespace compositeimplicitautograd +} // namespace at diff --git a/shared/package-files/24/240ec356d2e50b782c932b20b4e46d9bdfb851687d916afd1636d76dd42c211a/logging.py b/shared/package-files/24/240ec356d2e50b782c932b20b4e46d9bdfb851687d916afd1636d76dd42c211a/logging.py new file mode 100644 index 0000000000000000000000000000000000000000..ceca99ca76206390e75303787ac118a4e8f17ff3 --- /dev/null +++ b/shared/package-files/24/240ec356d2e50b782c932b20b4e46d9bdfb851687d916afd1636d76dd42c211a/logging.py @@ -0,0 +1,38 @@ +import sys +import inspect +import logging +import distutils.log +from . import monkey + + +def _not_warning(record): + return record.levelno < logging.WARNING + + +def configure(): + """ + Configure logging to emit warning and above to stderr + and everything else to stdout. This behavior is provided + for compatibility with distutils.log but may change in + the future. + """ + err_handler = logging.StreamHandler() + err_handler.setLevel(logging.WARNING) + out_handler = logging.StreamHandler(sys.stdout) + out_handler.addFilter(_not_warning) + handlers = err_handler, out_handler + logging.basicConfig( + format="{message}", style='{', handlers=handlers, level=logging.DEBUG + ) + if inspect.ismodule(distutils.dist.log): + monkey.patch_func(set_threshold, distutils.log, 'set_threshold') + # For some reason `distutils.log` module is getting cached in `distutils.dist` + # and then loaded again when patched, + # implying: id(distutils.log) != id(distutils.dist.log). + # Make sure the same module object is used everywhere: + distutils.dist.log = distutils.log + + +def set_threshold(level): + logging.root.setLevel(level * 10) + return set_threshold.unpatched(level) diff --git a/shared/package-files/24/240ef7ea81b7b3c3cf74a85db182be06774b52c1ab24224021106c79220466d3/some_functions.mat b/shared/package-files/24/240ef7ea81b7b3c3cf74a85db182be06774b52c1ab24224021106c79220466d3/some_functions.mat new file mode 100644 index 0000000000000000000000000000000000000000..cc818593b48dd8d29a40a827210b54373e5acf50 Binary files /dev/null and b/shared/package-files/24/240ef7ea81b7b3c3cf74a85db182be06774b52c1ab24224021106c79220466d3/some_functions.mat differ diff --git a/shared/package-files/24/241601dc076764ac412e2de0ce415427a744dcce14d4a07a9ab099c2b0b45759/api.py b/shared/package-files/24/241601dc076764ac412e2de0ce415427a744dcce14d4a07a9ab099c2b0b45759/api.py new file mode 100644 index 0000000000000000000000000000000000000000..bf0ebd58d17a89c73634c418ac3f0ac0d27b0711 --- /dev/null +++ b/shared/package-files/24/241601dc076764ac412e2de0ce415427a744dcce14d4a07a9ab099c2b0b45759/api.py @@ -0,0 +1,575 @@ +from abc import ABC, abstractmethod +from contextlib import contextmanager, nullcontext +from copy import copy +from dataclasses import dataclass +from functools import partial, wraps +from typing import Any, Callable, cast, Dict, List, Optional, Set, Tuple, Union + +from functorch import make_fx + +import torch +import torch.distributed as dist + +# We need to import _functional_collectives to trigger op registration +import torch.distributed._functional_collectives +import torch.nn as nn +import torch.utils._pytree as pytree + +from torch import fx +from torch._decomp.decompositions import native_layer_norm_backward + +from torch._subclasses.fake_tensor import FakeTensorMode +from torch.distributed._spmd.data_parallel import gradients_tagging +from torch.distributed._spmd.parallel_mode import ( + DataParallel, + DTensorExpandMode, + ParallelMode, +) +from torch.distributed._tensor import Placement +from torch.fx.graph import _PyTreeCodeGen, _PyTreeInfo, CodeGen +from torch.nn.utils import stateless +from torch.nn.utils._named_member_accessor import NamedMemberAccessor + + +class Override(ABC): + r"""Override the tracing and transformation behavior of :meth:`~torch.distributed._spmd.compile`. + + This is useful when any part of the model is not traceable or if you prefer + to not trace it due to any reason. More specifically, users can implement + :meth:`torch.distributed._spmd.Override.replacement` to replace an original + submodule with the return new submodule. The new submodule contains + operations that users preferred to be traced, which simply be a dummy + placeholder operator. After tracing, users can implement + :meth:`torch.distributed._spmd.Override.transform` to transform the traced + graph, where the dummy placeholder operator serves as an anchor to insert + new sub-graphs. + """ + + @abstractmethod + def replacement(self, fqn: str, orig_submodule: torch.nn.Module) -> torch.nn.Module: + r"""Implement this method to return a new :class:`nn.Module` instance to replace the ``orig_submodule`` + argument in the model. + + This helps if ``orig_submodule`` is not traceable or should not be traced. + + Args: + fqn (str): fully quantified name of the submodule. + orig_submodule (class:`nn.Module`): original submodule instance to replace. + + Returns: + A new :class:`nn.Module` instance to replace the original one. + + """ + pass + + @abstractmethod + def transform( + self, + gm: fx.GraphModule, + flat_state: List[torch.Tensor], + ) -> fx.GraphModule: + r""" + Given a DTensor-expanded graph and sharding schema for every node, + conduct additional transformation for the sub-graph from the :class:`nn.Module` + returned by :meth:`torch.distributed._spmd.Override.replacement` if + necessary. + + Args: + gm (:class:`fx.Graph`): a DTensor-expanded graph. + flat_state (List[str, :class:`Tensor`]): a reference to the list of + flattened state. The elements in ``flat_state`` map to the first + ``len(flat_state)`` placeholders in the graph. The transformation + can add state to or remove state from ``flat_state`` as long as + it keeps ``flat_state`` and the placeholders consistent. + + Returns: + The :class:`fx.Graph` after transformation. + + """ + pass + + +class _PyTreeCodeGenOutputsOnly(_PyTreeCodeGen): + # pyre-ignore[3] + def process_inputs(self, *args: Any) -> Any: + return args + + # pyre-ignore[2, 3] + def gen_fn_def(self, free_vars, maybe_return_annotation): + return CodeGen.gen_fn_def(self, free_vars, maybe_return_annotation) + + +def _to_caller_flattened_graph_module(gm: torch.fx.GraphModule) -> torch.fx.GraphModule: + """Move the responsibility of flattening the input arguments from the graph module to the caller. + + Example: + + output = gm(my_struct) + + gm = gm(to_caller_flattened_graph_module) + + output = gm(*pytree.flatten(my_struct)[0]) + + """ + # pyre-ignore[16] + gm._graph._codegen = _PyTreeCodeGenOutputsOnly( + pytree_info=_PyTreeInfo( + # pyre-ignore[6] + orig_args=None, # type: ignore[arg-type] + # pyre-ignore[6] + in_spec=None, # type: ignore[arg-type] + # pyre-ignore[16] + out_spec=gm._graph._codegen.pytree_info.out_spec, + ) + ) + gm.recompile() + return gm + + +# Use a dtensor expand mode for now to preserve the old behavior +# and avoid breaking existing code +dtensor_expand_mode = DTensorExpandMode() + + +def _override_placements(t: torch.Tensor, placements: List[Placement]): + global dtensor_expand_mode + dtensor_expand_mode._placements_override[id(t)] = placements + + +@contextmanager +def _rematerialize_optimizer( + opt: torch.optim.Optimizer, + named_states: Dict[str, Any], + params: Dict[str, nn.Parameter], +): + assert opt is not None + + # update opt.state with proxy tensors + orig_states = copy(opt.state) + for n in named_states: + # opt.state's key type is string, but optimizer uses Parameter as keys + opt.state[params[n]] = named_states[n] # type: ignore[index] + + # FIXME: support multiple parameter groups + param_group = opt.param_groups[0] + orig_params = param_group["params"] + param_group["params"] = params.values() + + try: + yield + finally: + param_group["params"] = orig_params + opt.state = orig_states + + +aten = torch.ops.aten # pyre-ignore + + +@contextmanager +def _enable_compile(): + # The return value of torch._utils.is_compiling changes optimizer behavior. + # We need that function to return True to include optimizer in the graph. + # See: https://github.com/pytorch/pytorch/blob/a524123c91ab399c9dd6882c1189596dd77e7734/torch/optim/optimizer.py#L41 + def f_true(): + return True + + orig_is_compiling_code = torch._utils.is_compiling.__code__ + torch._utils.is_compiling.__code__ = f_true.__code__ + try: + yield + finally: + torch._utils.is_compiling.__code__ = orig_is_compiling_code + + +def _foreach_add_decomp(self, other, alpha=1): + self_updated = aten._foreach_add.List(self, other, alpha=alpha) + for s, s_u in zip(self, self_updated): + s.copy_(s_u) + + +def _foreach_unaop_decomp(op, self): + self_updated = op(self) + for s, s_u in zip(self, self_updated): + s.copy_(s_u) + + +def _foreach_binop_list_decomp(op, self, other): + self_updated = op(self, other) + for s, s_u in zip(self, self_updated): + s.copy_(s_u) + + +def _foreach_binop_scalar_decomp(op, self, scalar=1): + self_updated = op(self, scalar) + for s, s_u in zip(self, self_updated): + s.copy_(s_u) + + +def _foreach_addcop_scalar_decomp(op, self, tensor1, tensor2, scalar=1): + self_updated = op(self, tensor1, tensor2, scalar) + for s, s_u in zip(self, self_updated): + s.copy_(s_u) + + +def _fused_adam_decomp( + self, + grads, + exp_avgs, + exp_avg_sqs, + max_exp_avg_sqs, + state_steps, + *, + lr=1, + beta1=1, + beta2=1, + weight_decay=1, + eps=1, + amsgrad=True, + maximize=True, + grad_scale=None, + found_inf=None, +): + orig_tuple = (self, grads, exp_avgs, exp_avg_sqs, max_exp_avg_sqs) + updated_tuple = aten._fused_adam.default( + self, + grads, + exp_avgs, + exp_avg_sqs, + max_exp_avg_sqs, + state_steps, + lr=lr, + beta1=beta1, + beta2=beta2, + weight_decay=weight_decay, + eps=eps, + amsgrad=amsgrad, + maximize=maximize, + grad_scale=grad_scale, + found_inf=found_inf, + ) + + for idx, (orig, updated) in enumerate(zip(orig_tuple, updated_tuple)): + if idx == 1: + # skip gradient copying as we don't need to copy gradients back + continue + for o, u in zip(orig, updated): + o.copy_(u) + + +SPMD_DECOMP_TABLE = { + aten._foreach_add_.List: _foreach_add_decomp, + aten._foreach_add_.Scalar: partial( + _foreach_binop_scalar_decomp, aten._foreach_add.Scalar + ), + aten._foreach_addcdiv_.Scalar: partial( + _foreach_addcop_scalar_decomp, aten._foreach_addcdiv.Scalar + ), + aten._foreach_addcmul_.Scalar: partial( + _foreach_addcop_scalar_decomp, aten._foreach_addcmul.Scalar + ), + aten._foreach_div_.List: partial( + _foreach_binop_list_decomp, aten._foreach_div.List + ), + aten._foreach_mul_.Scalar: partial( + _foreach_binop_scalar_decomp, aten._foreach_mul.Scalar + ), + aten._foreach_div_.Scalar: partial( + _foreach_binop_scalar_decomp, aten._foreach_div.Scalar + ), + aten._foreach_neg_.default: partial( + _foreach_unaop_decomp, aten._foreach_neg.default + ), + aten._foreach_reciprocal_.default: partial( + _foreach_unaop_decomp, aten._foreach_reciprocal.default + ), + aten._foreach_sqrt_.default: partial( + _foreach_unaop_decomp, aten._foreach_sqrt.default + ), + aten._foreach_sub_.Scalar: partial( + _foreach_binop_scalar_decomp, aten._foreach_sub.Scalar + ), + aten._fused_adam_.default: _fused_adam_decomp, + aten.native_layer_norm_backward.default: native_layer_norm_backward, +} + + +DEDUP_TARGETS: Set[torch._ops.OpOverload] = { + torch.ops.c10d_functional.all_reduce.default, + torch.ops.c10d_functional.wait_tensor.default, +} + + +def _dedup_collectives(gm: fx.GraphModule) -> fx.GraphModule: + args_to_node: Dict[Tuple[Any, ...], fx.Node] = {} + + for node in gm.graph.nodes: + # replace all args with the results from the first unique comm op + args = pytree.arg_tree_leaves(*node.args) + + if node.target in DEDUP_TARGETS: + args_key = (node.target, *args) + unique_node = args_to_node.get(args_key, None) + if unique_node is None: + # first time seeing this combination, remember it + args_to_node[args_key] = node + else: + # the current node is a duplicate, replace it + node.replace_all_uses_with(unique_node) + gm.graph.erase_node(node) + + gm.recompile() + + return gm + + +@dataclass +class _CompiledResult: + gm: fx.GraphModule + mod: nn.Module + opt: Optional[torch.optim.Optimizer] + flat_state: List[torch.Tensor] + + +def _compile( + func: Callable, + module_override: Optional[List[Override]], + parallel_mode: ParallelMode, + *args: Any, + **kwargs: Any, +) -> _CompiledResult: + # 1. Extract nn.Module and Optimizer from args and kwargs + # FIXME(@mrshenli): support multiple nn.Module instances + # FIXME(@mrshenli): support multiple Optiimzer instances + # FIXME(@mrshenli): need to broadcast model to sync parameters + mod, opt = None, None + for arg in pytree.arg_tree_leaves(*args, **kwargs): + if isinstance(arg, nn.Module): + assert mod is None, "Only support single nn.Module for now" + mod = arg + if isinstance(arg, torch.optim.Optimizer): + assert opt is None, "Only support single Optimizer for now" + opt = arg + + assert mod is not None, "Couldn't find nn.Module instances from the arguments." + + # 2. Override target submodules (e.g., MoE) with dummy replacements + if module_override: + accessor = NamedMemberAccessor(mod) + + def swap(fqn_prefix: str, module: torch.nn.Module) -> None: + for override in module_override: # type: ignore[union-attr] + for name, child in module.named_children(): + if len(name) == 0: + continue + fqn = fqn_prefix + "." + name if fqn_prefix != "" else name + new_child = override.replacement(fqn, child) + if id(new_child) == id(child): + swap(fqn, new_child) + else: + accessor.swap_submodule(fqn, new_child) + + swap("", mod) + + # 3. Trace statelss version of the train_step + params = dict(mod.named_parameters(remove_duplicate=False)) + buffers = dict(mod.named_buffers(remove_duplicate=False)) + + named_states = {} + if opt is not None: + # Pass named_states instead of opt.state to stateless_func, because + # the later uses nn.Parameter as key. During tracing, we need to + # make sure optimizers can find the states using proxy tensors. + for n, p in params.items(): + if p in opt.state: + # opt.state's key type is string, but optimizer uses + # Parameter as keys + named_states[n] = opt.state[p] # type: ignore[index] + + is_data_parallel_mode = isinstance(parallel_mode, DataParallel) + + # Lift states and parameters as function arguments so that make_fx + # can trace operations applied to them. + def stateless_func(func, params, buffers, named_states, args, kwargs): + with stateless._reparametrize_module( + mod, {**params, **buffers} + ), _rematerialize_optimizer( + opt, named_states, params + ) if opt else nullcontext(): + # For DataParallel mode, install hooks first to tag the gradients + with gradients_tagging(params) if is_data_parallel_mode else nullcontext(): + ret = func(*args, **kwargs) + + # make sure updated parameters are returned + return ret, list(mod.parameters()), list(named_states.values()) # type: ignore[union-attr] + + # FIXME: Using symbolic tracing to work around in DTensor expand mode. + # Otherwise it hits shape mismatch error, as we use local inputs to + # trace local graph and use DTensor to expand operators, where + # DTensor's shape is the global shape. + tracing_mode = "fake" if is_data_parallel_mode else "symbolic" + + if is_data_parallel_mode: + fake_mode = FakeTensorMode() + data_parallel_mode = cast(DataParallel, parallel_mode) + + def _get_full_batch_arg(arg: torch.Tensor) -> torch.Tensor: + # since compilation happens in the first iteration and we + # receives mini-batch input, convert them to full batch + # fake tensor input first for data parallel sharding + # propagations + fake_arg = fake_mode.from_tensor(arg) + arg_dims = [1] * arg.ndim + # expand the tensor to full batch size on its batch dim + arg_dims[data_parallel_mode.input_batch_dim] *= dist.get_world_size() + return fake_arg.repeat(arg_dims) + + args = pytree.tree_map_only( + torch.Tensor, + _get_full_batch_arg, + args, + ) + kwargs = pytree.tree_map_only( + torch.Tensor, + _get_full_batch_arg, + kwargs, + ) + + with _enable_compile(), torch.autograd.detect_anomaly(check_nan=False): + # FIXME(@mrshenli): functionalization does not work for our use + # case yet. Use explicit decompositions for foreach ops. + # Remove this when the following issue is addressed. + # Issue: https://github.com/pytorch/pytorch/issues/97852 + gm = make_fx( + partial(stateless_func, func), + tracing_mode=tracing_mode, + decomposition_table=SPMD_DECOMP_TABLE, + _allow_non_fake_inputs=False, + )(params, buffers, named_states, args, kwargs) + + params_and_buffers: Dict[str, Union[torch.Tensor, nn.Parameter]] = { + **params, + **buffers, + } + + # 4. parallel mode to expand a single device graph to a distributed graph + gm = parallel_mode.partition( + gm, + mod, + opt, + params_and_buffers, + named_states, + args, + kwargs, + ) + + # 5. Move the responsibility of flattening the input arguments from the + # graph module to the caller. This serves two purposes: + # - Transformations that add/remove state need to manipulate a state + # container that maintains the state tensors in the same order as they + # appear in graph placeholders. + # - Reduced runtime cost. The state container is only flattened once upfront. + flat_state = pytree.tree_leaves([params_and_buffers, named_states]) + gm = _to_caller_flattened_graph_module(gm) + + # 6. dedup comm operators. + # The duplication could come from DTensor args and kwargs redistribution. + # Suppose one operator produces a Partial gradient tensor and model + # parameters are replicated. In this case, every optimizer operation using + # that Partial gradient tensor would trigger an allreduce. This is becuase + # DTensor only has local information on individual tensor/operator, which is + # not sufficient to detect duplications in the graph. This situation can + # also happen when inserting FSDP allgather if a parameter is used multiple + # times in the forward method. + # TODO(@mrshenli): @yifuwang has a suggestion of conducting expansion and + # dedup at tracer-level to avoid multiple graph passes. + gm = _dedup_collectives(gm) + + # 7. Replace previously inserted dummy ones with real graphs. + if module_override: + for override in module_override: + gm = override.transform(gm, flat_state) + + return _CompiledResult(gm, mod, opt, flat_state) + + +# Note that the Python convention of __dict__ requires the key to be str. +# TODO: ensure the key is unique. +COMPILED_OBJECT_KEY = "_compiled_obj" + + +def compile( + module_override: Optional[List[Override]] = None, + gm_transformation: Optional[Callable[[fx.GraphModule], fx.GraphModule]] = None, + parallel_mode: Optional[ParallelMode] = None, +): + r"""Compile and optimize a callable, which can be a train step within a training loop. + + This method will extract :class:`nn.Module` and :class:`torch.optim.Optimizer` + instances from the input arguments and trace operations applied to their + parameters and states. + + Args: + module_override (Optional[List[Override]]): a list of Override instances + that will be applied to the module in order. The :class:`Override` + objects provide :class:`nn.Module` replacements during tracing and a + graph transformation function after tracing. (Default: ``None``) + gm_transformation (Optional[Callable[fx.GraphModule, fx.GraphModule]]): + a callback that will be called after the original callable is + compiled and distributed (usually after the first iteration) to + transform the compiled GraphModule into a new optimized one. + parallel_mode (Optional[ParallelMode]): a :class:`ParallelMode` object + that specifies how to parallelize the callable. Each ParallelMode + would have its own strategy to partition the model and the captured + graph (Default: ``None``) + + """ + + def inner(func: Callable): + @wraps(func) + def wrapper(*args, **kwargs): + last_train_step = kwargs.pop("last_train_step", False) if kwargs else False + first_iter = False + # Put the COMPILED_OBJECT_KEY in ``wrapper`` instead of ``func`` as + # ``wrapper`` is the one that users will get. + compiled_obj = wrapper.__dict__.get(COMPILED_OBJECT_KEY, None) + if compiled_obj is None: + first_iter = True + global dtensor_expand_mode + mode: ParallelMode = ( + dtensor_expand_mode if parallel_mode is None else parallel_mode + ) + + compiled_obj = _compile(func, module_override, mode, *args, **kwargs) + wrapper.__dict__[COMPILED_OBJECT_KEY] = compiled_obj + + flat_inps = compiled_obj.flat_state + pytree.arg_tree_leaves( + *args, **kwargs + ) + + with torch.no_grad(): + # N.B.: we don't need autograd as backward has already been + # captured in the graph. + if first_iter and gm_transformation: + # TODO: SPMD should provid a default and configurable + # transformation. + compiled_obj.gm = gm_transformation(compiled_obj.gm) + if not last_train_step: + output = compiled_obj.gm(*flat_inps)[0] + else: + # This is the last train step. Call IterGraphModule.forward() + # with the `last_iter` argument and catch the exception in + # case the compiled_obj is not wrapped with IterGraphModule. + try: + output = compiled_obj.gm(*flat_inps, last_iter=last_train_step)[ + 0 + ] + except TypeError as e: + if "last_iter" not in str(e): + raise e + output = compiled_obj.gm(*flat_inps)[0] + + return output + + return wrapper + + return inner diff --git a/shared/package-files/24/2417ef38fa791d31a9e9bd24ca7923cee24e4d101d4ec2497633d62c0b6ed5fa/mips.py b/shared/package-files/24/2417ef38fa791d31a9e9bd24ca7923cee24e4d101d4ec2497633d62c0b6ed5fa/mips.py new file mode 100644 index 0000000000000000000000000000000000000000..257605d7e5854e29588dd84cebe93f2747c4b393 --- /dev/null +++ b/shared/package-files/24/2417ef38fa791d31a9e9bd24ca7923cee24e4d101d4ec2497633d62c0b6ed5fa/mips.py @@ -0,0 +1,128 @@ +""" + pygments.lexers.mips + ~~~~~~~~~~~~~~~~~~~~ + + Lexers for MIPS assembly. + + :copyright: Copyright 2006-2023 by the Pygments team, see AUTHORS. + :license: BSD, see LICENSE for details. +""" + +from pygments.lexer import RegexLexer, words +from pygments.token import Whitespace, Comment, String, Keyword, Name, Text + +__all__ = ["MIPSLexer"] + + +class MIPSLexer(RegexLexer): + """ + A MIPS Assembly Lexer. + + Based on the Emacs major mode by hlissner: + https://github.com/hlissner/emacs-mips-mode + """ + + name = 'MIPS' + aliases = ['mips'] + # TODO: add '*.s' and '*.asm', which will require designing an analyse_text + # method for this lexer and refactoring those from Gas and Nasm in order to + # have relatively reliable detection + filenames = ['*.mips', '*.MIPS'] + + keywords = [ + # Arithmetic insturctions + "add", "sub", "subu", "addi", "subi", "addu", "addiu", + # Multiplication/division + "mul", "mult", "multu", "mulu", "madd", "maddu", "msub", "msubu", "div", "divu", + # Bitwise operations + "and", "or", "nor", "xor", "andi", "ori", "xori", "clo", "clz", + # Shifts + "sll", "srl", "sllv", "srlv", "sra", "srav", + # Comparisons + "slt", "sltu", "slti", "sltiu", + # Move data + "mfhi", "mthi", "mflo", "mtlo", "movn", "movz", "movf", "movt", + # Jump + "j", "jal", "jalr", "jr", + # branch + "bc1f", "bc1t", "beq", "bgez", "bgezal", "bgtz", "blez", "bltzal", "bltz", "bne", + # Load + "lui", "lb", "lbu", "lh", "lhu", "lw", "lwcl", "lwl", "lwr", + # Store + "sb", "sh", "sw", "swl", "swr", # coproc: swc1 sdc1 + # Concurrent load/store + "ll", "sc", + # Trap handling + "teq", "teqi", "tne", "tneqi", "tge", "tgeu", "tgei", "tgeiu", "tlt", "tltu", "tlti", + "tltiu", + # Exception / Interrupt + "eret", "break", "bop", "syscall", + # --- Floats ----------------------------------------------------- + # Arithmetic + "add.s", "add.d", "sub.s", "sub.d", "mul.s", "mul.d", "div.s", "div.d", "neg.d", + "neg.s", + # Comparison + "c.e.d", "c.e.s", "c.le.d", "c.le.s", "c.lt.s", "c.lt.d", # "c.gt.s", "c.gt.d", + "madd.s", "madd.d", "msub.s", "msub.d", + # Move Floats + "mov.d", "move.s", "movf.d", "movf.s", "movt.d", "movt.s", "movn.d", "movn.s", + "movnzd", "movz.s", "movz.d", + # Conversion + "cvt.d.s", "cvt.d.w", "cvt.s.d", "cvt.s.w", "cvt.w.d", "cvt.w.s", "trunc.w.d", + "trunc.w.s", + # Math + "abs.s", "abs.d", "sqrt.s", "sqrt.d", "ceil.w.d", "ceil.w.s", "floor.w.d", + "floor.w.s", "round.w.d", "round.w.s", + ] + + pseudoinstructions = [ + # Arithmetic & logical + "rem", "remu", "mulo", "mulou", "abs", "neg", "negu", "not", "rol", "ror", + # branches + "b", "beqz", "bge", "bgeu", "bgt", "bgtu", "ble", "bleu", "blt", "bltu", "bnez", + # loads + "la", "li", "ld", "ulh", "ulhu", "ulw", + # Store + "sd", "ush", "usw", + # move + "move", # coproc: "mfc1.d", + # comparisons + "sgt", "sgtu", "sge", "sgeu", "sle", "sleu", "sne", "seq", + # --- Floats ----------------------------------------------------- + # load-store + "l.d", "l.s", "s.d", "s.s", + ] + + directives = [ + ".align", ".ascii", ".asciiz", ".byte", ".data", ".double", ".extern", ".float", + ".globl", ".half", ".kdata", ".ktext", ".space", ".text", ".word", + ] + + deprecated = [ + "beql", "bnel", "bgtzl", "bgezl", "bltzl", "blezl", "bltzall", "bgezall", + ] + + tokens = { + 'root': [ + (r'\s+', Whitespace), + (r'#.*', Comment), + (r'"', String, 'string'), + (r'-?[0-9]+?', Keyword.Constant), + (r'\w*:', Name.Function), + (words(deprecated, suffix=r'\b'), Keyword.Pseudo), # need warning face + (words(pseudoinstructions, suffix=r'\b'), Name.Variable), + (words(keywords, suffix=r'\b'), Keyword), + (r'[slm][ftwd]c[0-9]([.]d)?', Keyword), + (r'\$(f?[0-2][0-9]|f?3[01]|[ft]?[0-9]|[vk][01]|a[0-3]|s[0-7]|[gsf]p|ra|at|zero)', + Keyword.Type), + (words(directives, suffix=r'\b'), Name.Entity), # Preprocessor? + (r':|,|;|\{|\}|=>|@|\$|=', Name.Builtin), + (r'\w+', Text), + (r'.', Text), + ], + 'string': [ + (r'\\.', String.Escape), + (r'"', String, '#pop'), + (r'[^\\"]+', String), + ], + } diff --git a/shared/package-files/24/241c13f3f868899bbe62b4183bc9366f3c6ade58af2a0aac78050e397cb00a7f/_scaled_dot_product_flash_attention_for_cpu_backward_native.h b/shared/package-files/24/241c13f3f868899bbe62b4183bc9366f3c6ade58af2a0aac78050e397cb00a7f/_scaled_dot_product_flash_attention_for_cpu_backward_native.h new file mode 100644 index 0000000000000000000000000000000000000000..d8ed4a8f4bb190c6992eb58ed0503e95cb9cc1ea --- /dev/null +++ b/shared/package-files/24/241c13f3f868899bbe62b4183bc9366f3c6ade58af2a0aac78050e397cb00a7f/_scaled_dot_product_flash_attention_for_cpu_backward_native.h @@ -0,0 +1,21 @@ +#pragma once + +// @generated by torchgen/gen.py from NativeFunction.h + +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include + + +namespace at { +namespace native { +TORCH_API ::std::tuple _scaled_dot_product_flash_attention_cpu_backward(const at::Tensor & grad_out, const at::Tensor & query, const at::Tensor & key, const at::Tensor & value, const at::Tensor & out, const at::Tensor & logsumexp, double dropout_p, bool is_causal, const c10::optional & attn_mask={}, c10::optional scale=c10::nullopt); +} // namespace native +} // namespace at diff --git a/shared/package-files/24/241e0d5f147c401880086352dc008993216c3358c41ee9a6f4ee445dce642972/reaching.py b/shared/package-files/24/241e0d5f147c401880086352dc008993216c3358c41ee9a6f4ee445dce642972/reaching.py new file mode 100644 index 0000000000000000000000000000000000000000..3f3fb480b76eed9bbaefdd6b5ded1a641e79715d --- /dev/null +++ b/shared/package-files/24/241e0d5f147c401880086352dc008993216c3358c41ee9a6f4ee445dce642972/reaching.py @@ -0,0 +1,204 @@ +"""Functions for computing reaching centrality of a node or a graph.""" + +import networkx as nx +from networkx.utils import pairwise + +__all__ = ["global_reaching_centrality", "local_reaching_centrality"] + + +def _average_weight(G, path, weight=None): + """Returns the average weight of an edge in a weighted path. + + Parameters + ---------- + G : graph + A networkx graph. + + path: list + A list of vertices that define the path. + + weight : None or string, optional (default=None) + If None, edge weights are ignored. Then the average weight of an edge + is assumed to be the multiplicative inverse of the length of the path. + Otherwise holds the name of the edge attribute used as weight. + """ + path_length = len(path) - 1 + if path_length <= 0: + return 0 + if weight is None: + return 1 / path_length + total_weight = sum(G.edges[i, j][weight] for i, j in pairwise(path)) + return total_weight / path_length + + +def global_reaching_centrality(G, weight=None, normalized=True): + """Returns the global reaching centrality of a directed graph. + + The *global reaching centrality* of a weighted directed graph is the + average over all nodes of the difference between the local reaching + centrality of the node and the greatest local reaching centrality of + any node in the graph [1]_. For more information on the local + reaching centrality, see :func:`local_reaching_centrality`. + Informally, the local reaching centrality is the proportion of the + graph that is reachable from the neighbors of the node. + + Parameters + ---------- + G : DiGraph + A networkx DiGraph. + + weight : None or string, optional (default=None) + Attribute to use for edge weights. If ``None``, each edge weight + is assumed to be one. A higher weight implies a stronger + connection between nodes and a *shorter* path length. + + normalized : bool, optional (default=True) + Whether to normalize the edge weights by the total sum of edge + weights. + + Returns + ------- + h : float + The global reaching centrality of the graph. + + Examples + -------- + >>> G = nx.DiGraph() + >>> G.add_edge(1, 2) + >>> G.add_edge(1, 3) + >>> nx.global_reaching_centrality(G) + 1.0 + >>> G.add_edge(3, 2) + >>> nx.global_reaching_centrality(G) + 0.75 + + See also + -------- + local_reaching_centrality + + References + ---------- + .. [1] Mones, Enys, Lilla Vicsek, and Tamás Vicsek. + "Hierarchy Measure for Complex Networks." + *PLoS ONE* 7.3 (2012): e33799. + https://doi.org/10.1371/journal.pone.0033799 + """ + if nx.is_negatively_weighted(G, weight=weight): + raise nx.NetworkXError("edge weights must be positive") + total_weight = G.size(weight=weight) + if total_weight <= 0: + raise nx.NetworkXError("Size of G must be positive") + + # If provided, weights must be interpreted as connection strength + # (so higher weights are more likely to be chosen). However, the + # shortest path algorithms in NetworkX assume the provided "weight" + # is actually a distance (so edges with higher weight are less + # likely to be chosen). Therefore we need to invert the weights when + # computing shortest paths. + # + # If weight is None, we leave it as-is so that the shortest path + # algorithm can use a faster, unweighted algorithm. + if weight is not None: + + def as_distance(u, v, d): + return total_weight / d.get(weight, 1) + + shortest_paths = nx.shortest_path(G, weight=as_distance) + else: + shortest_paths = nx.shortest_path(G) + + centrality = local_reaching_centrality + # TODO This can be trivially parallelized. + lrc = [ + centrality(G, node, paths=paths, weight=weight, normalized=normalized) + for node, paths in shortest_paths.items() + ] + + max_lrc = max(lrc) + return sum(max_lrc - c for c in lrc) / (len(G) - 1) + + +def local_reaching_centrality(G, v, paths=None, weight=None, normalized=True): + """Returns the local reaching centrality of a node in a directed + graph. + + The *local reaching centrality* of a node in a directed graph is the + proportion of other nodes reachable from that node [1]_. + + Parameters + ---------- + G : DiGraph + A NetworkX DiGraph. + + v : node + A node in the directed graph `G`. + + paths : dictionary (default=None) + If this is not `None` it must be a dictionary representation + of single-source shortest paths, as computed by, for example, + :func:`networkx.shortest_path` with source node `v`. Use this + keyword argument if you intend to invoke this function many + times but don't want the paths to be recomputed each time. + + weight : None or string, optional (default=None) + Attribute to use for edge weights. If `None`, each edge weight + is assumed to be one. A higher weight implies a stronger + connection between nodes and a *shorter* path length. + + normalized : bool, optional (default=True) + Whether to normalize the edge weights by the total sum of edge + weights. + + Returns + ------- + h : float + The local reaching centrality of the node ``v`` in the graph + ``G``. + + Examples + -------- + >>> G = nx.DiGraph() + >>> G.add_edges_from([(1, 2), (1, 3)]) + >>> nx.local_reaching_centrality(G, 3) + 0.0 + >>> G.add_edge(3, 2) + >>> nx.local_reaching_centrality(G, 3) + 0.5 + + See also + -------- + global_reaching_centrality + + References + ---------- + .. [1] Mones, Enys, Lilla Vicsek, and Tamás Vicsek. + "Hierarchy Measure for Complex Networks." + *PLoS ONE* 7.3 (2012): e33799. + https://doi.org/10.1371/journal.pone.0033799 + """ + if paths is None: + if nx.is_negatively_weighted(G, weight=weight): + raise nx.NetworkXError("edge weights must be positive") + total_weight = G.size(weight=weight) + if total_weight <= 0: + raise nx.NetworkXError("Size of G must be positive") + if weight is not None: + # Interpret weights as lengths. + def as_distance(u, v, d): + return total_weight / d.get(weight, 1) + + paths = nx.shortest_path(G, source=v, weight=as_distance) + else: + paths = nx.shortest_path(G, source=v) + # If the graph is unweighted, simply return the proportion of nodes + # reachable from the source node ``v``. + if weight is None and G.is_directed(): + return (len(paths) - 1) / (len(G) - 1) + if normalized and weight is not None: + norm = G.size(weight=weight) / G.size() + else: + norm = 1 + # TODO This can be trivially parallelized. + avgw = (_average_weight(G, path, weight=weight) for path in paths.values()) + sum_avg_weight = sum(avgw) / norm + return sum_avg_weight / (len(G) - 1) diff --git a/shared/package-files/24/242443b3bdc867472e27cea8a2650b10e1278d85dcd9e892ff68bde81fe2dabd/q_per_channel_scales.h b/shared/package-files/24/242443b3bdc867472e27cea8a2650b10e1278d85dcd9e892ff68bde81fe2dabd/q_per_channel_scales.h new file mode 100644 index 0000000000000000000000000000000000000000..a793093210b831596406c9b9ba38c10f0505ccdd --- /dev/null +++ b/shared/package-files/24/242443b3bdc867472e27cea8a2650b10e1278d85dcd9e892ff68bde81fe2dabd/q_per_channel_scales.h @@ -0,0 +1,39 @@ +#pragma once + +// @generated by torchgen/gen.py from Function.h + +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include + + + +#include + +namespace at { + + +// aten::q_per_channel_scales(Tensor self) -> Tensor +inline at::Tensor q_per_channel_scales(const at::Tensor & self) { + return at::_ops::q_per_channel_scales::call(self); +} + +// aten::q_per_channel_scales.out(Tensor self, *, Tensor(a!) out) -> Tensor(a!) +inline at::Tensor & q_per_channel_scales_out(at::Tensor & out, const at::Tensor & self) { + return at::_ops::q_per_channel_scales_out::call(self, out); +} +// aten::q_per_channel_scales.out(Tensor self, *, Tensor(a!) out) -> Tensor(a!) +inline at::Tensor & q_per_channel_scales_outf(const at::Tensor & self, at::Tensor & out) { + return at::_ops::q_per_channel_scales_out::call(self, out); +} + +} diff --git a/shared/package-files/24/2429fc58747ec180ecf23879f08199e932d28a4e73b86b3110e6a57b5997e414/cyk.py b/shared/package-files/24/2429fc58747ec180ecf23879f08199e932d28a4e73b86b3110e6a57b5997e414/cyk.py new file mode 100644 index 0000000000000000000000000000000000000000..f75cee6f7ea1fcd6bac5fdc13c37346b5224a195 --- /dev/null +++ b/shared/package-files/24/2429fc58747ec180ecf23879f08199e932d28a4e73b86b3110e6a57b5997e414/cyk.py @@ -0,0 +1,340 @@ +"""This module implements a CYK parser.""" + +# Author: https://github.com/ehudt (2018) +# +# Adapted by Erez + + +from collections import defaultdict +import itertools + +from ..exceptions import ParseError +from ..lexer import Token +from ..tree import Tree +from ..grammar import Terminal as T, NonTerminal as NT, Symbol + +def match(t, s): + assert isinstance(t, T) + return t.name == s.type + + +class Rule: + """Context-free grammar rule.""" + + def __init__(self, lhs, rhs, weight, alias): + super(Rule, self).__init__() + assert isinstance(lhs, NT), lhs + assert all(isinstance(x, NT) or isinstance(x, T) for x in rhs), rhs + self.lhs = lhs + self.rhs = rhs + self.weight = weight + self.alias = alias + + def __str__(self): + return '%s -> %s' % (str(self.lhs), ' '.join(str(x) for x in self.rhs)) + + def __repr__(self): + return str(self) + + def __hash__(self): + return hash((self.lhs, tuple(self.rhs))) + + def __eq__(self, other): + return self.lhs == other.lhs and self.rhs == other.rhs + + def __ne__(self, other): + return not (self == other) + + +class Grammar: + """Context-free grammar.""" + + def __init__(self, rules): + self.rules = frozenset(rules) + + def __eq__(self, other): + return self.rules == other.rules + + def __str__(self): + return '\n' + '\n'.join(sorted(repr(x) for x in self.rules)) + '\n' + + def __repr__(self): + return str(self) + + +# Parse tree data structures +class RuleNode: + """A node in the parse tree, which also contains the full rhs rule.""" + + def __init__(self, rule, children, weight=0): + self.rule = rule + self.children = children + self.weight = weight + + def __repr__(self): + return 'RuleNode(%s, [%s])' % (repr(self.rule.lhs), ', '.join(str(x) for x in self.children)) + + + +class Parser: + """Parser wrapper.""" + + def __init__(self, rules): + super(Parser, self).__init__() + self.orig_rules = {rule: rule for rule in rules} + rules = [self._to_rule(rule) for rule in rules] + self.grammar = to_cnf(Grammar(rules)) + + def _to_rule(self, lark_rule): + """Converts a lark rule, (lhs, rhs, callback, options), to a Rule.""" + assert isinstance(lark_rule.origin, NT) + assert all(isinstance(x, Symbol) for x in lark_rule.expansion) + return Rule( + lark_rule.origin, lark_rule.expansion, + weight=lark_rule.options.priority if lark_rule.options.priority else 0, + alias=lark_rule) + + def parse(self, tokenized, start): # pylint: disable=invalid-name + """Parses input, which is a list of tokens.""" + assert start + start = NT(start) + + table, trees = _parse(tokenized, self.grammar) + # Check if the parse succeeded. + if all(r.lhs != start for r in table[(0, len(tokenized) - 1)]): + raise ParseError('Parsing failed.') + parse = trees[(0, len(tokenized) - 1)][start] + return self._to_tree(revert_cnf(parse)) + + def _to_tree(self, rule_node): + """Converts a RuleNode parse tree to a lark Tree.""" + orig_rule = self.orig_rules[rule_node.rule.alias] + children = [] + for child in rule_node.children: + if isinstance(child, RuleNode): + children.append(self._to_tree(child)) + else: + assert isinstance(child.name, Token) + children.append(child.name) + t = Tree(orig_rule.origin, children) + t.rule=orig_rule + return t + + +def print_parse(node, indent=0): + if isinstance(node, RuleNode): + print(' ' * (indent * 2) + str(node.rule.lhs)) + for child in node.children: + print_parse(child, indent + 1) + else: + print(' ' * (indent * 2) + str(node.s)) + + +def _parse(s, g): + """Parses sentence 's' using CNF grammar 'g'.""" + # The CYK table. Indexed with a 2-tuple: (start pos, end pos) + table = defaultdict(set) + # Top-level structure is similar to the CYK table. Each cell is a dict from + # rule name to the best (lightest) tree for that rule. + trees = defaultdict(dict) + # Populate base case with existing terminal production rules + for i, w in enumerate(s): + for terminal, rules in g.terminal_rules.items(): + if match(terminal, w): + for rule in rules: + table[(i, i)].add(rule) + if (rule.lhs not in trees[(i, i)] or + rule.weight < trees[(i, i)][rule.lhs].weight): + trees[(i, i)][rule.lhs] = RuleNode(rule, [T(w)], weight=rule.weight) + + # Iterate over lengths of sub-sentences + for l in range(2, len(s) + 1): + # Iterate over sub-sentences with the given length + for i in range(len(s) - l + 1): + # Choose partition of the sub-sentence in [1, l) + for p in range(i + 1, i + l): + span1 = (i, p - 1) + span2 = (p, i + l - 1) + for r1, r2 in itertools.product(table[span1], table[span2]): + for rule in g.nonterminal_rules.get((r1.lhs, r2.lhs), []): + table[(i, i + l - 1)].add(rule) + r1_tree = trees[span1][r1.lhs] + r2_tree = trees[span2][r2.lhs] + rule_total_weight = rule.weight + r1_tree.weight + r2_tree.weight + if (rule.lhs not in trees[(i, i + l - 1)] + or rule_total_weight < trees[(i, i + l - 1)][rule.lhs].weight): + trees[(i, i + l - 1)][rule.lhs] = RuleNode(rule, [r1_tree, r2_tree], weight=rule_total_weight) + return table, trees + + +# This section implements context-free grammar converter to Chomsky normal form. +# It also implements a conversion of parse trees from its CNF to the original +# grammar. +# Overview: +# Applies the following operations in this order: +# * TERM: Eliminates non-solitary terminals from all rules +# * BIN: Eliminates rules with more than 2 symbols on their right-hand-side. +# * UNIT: Eliminates non-terminal unit rules +# +# The following grammar characteristics aren't featured: +# * Start symbol appears on RHS +# * Empty rules (epsilon rules) + + +class CnfWrapper: + """CNF wrapper for grammar. + + Validates that the input grammar is CNF and provides helper data structures. + """ + + def __init__(self, grammar): + super(CnfWrapper, self).__init__() + self.grammar = grammar + self.rules = grammar.rules + self.terminal_rules = defaultdict(list) + self.nonterminal_rules = defaultdict(list) + for r in self.rules: + # Validate that the grammar is CNF and populate auxiliary data structures. + assert isinstance(r.lhs, NT), r + if len(r.rhs) not in [1, 2]: + raise ParseError("CYK doesn't support empty rules") + if len(r.rhs) == 1 and isinstance(r.rhs[0], T): + self.terminal_rules[r.rhs[0]].append(r) + elif len(r.rhs) == 2 and all(isinstance(x, NT) for x in r.rhs): + self.nonterminal_rules[tuple(r.rhs)].append(r) + else: + assert False, r + + def __eq__(self, other): + return self.grammar == other.grammar + + def __repr__(self): + return repr(self.grammar) + + +class UnitSkipRule(Rule): + """A rule that records NTs that were skipped during transformation.""" + + def __init__(self, lhs, rhs, skipped_rules, weight, alias): + super(UnitSkipRule, self).__init__(lhs, rhs, weight, alias) + self.skipped_rules = skipped_rules + + def __eq__(self, other): + return isinstance(other, type(self)) and self.skipped_rules == other.skipped_rules + + __hash__ = Rule.__hash__ + + +def build_unit_skiprule(unit_rule, target_rule): + skipped_rules = [] + if isinstance(unit_rule, UnitSkipRule): + skipped_rules += unit_rule.skipped_rules + skipped_rules.append(target_rule) + if isinstance(target_rule, UnitSkipRule): + skipped_rules += target_rule.skipped_rules + return UnitSkipRule(unit_rule.lhs, target_rule.rhs, skipped_rules, + weight=unit_rule.weight + target_rule.weight, alias=unit_rule.alias) + + +def get_any_nt_unit_rule(g): + """Returns a non-terminal unit rule from 'g', or None if there is none.""" + for rule in g.rules: + if len(rule.rhs) == 1 and isinstance(rule.rhs[0], NT): + return rule + return None + + +def _remove_unit_rule(g, rule): + """Removes 'rule' from 'g' without changing the language produced by 'g'.""" + new_rules = [x for x in g.rules if x != rule] + refs = [x for x in g.rules if x.lhs == rule.rhs[0]] + new_rules += [build_unit_skiprule(rule, ref) for ref in refs] + return Grammar(new_rules) + + +def _split(rule): + """Splits a rule whose len(rhs) > 2 into shorter rules.""" + rule_str = str(rule.lhs) + '__' + '_'.join(str(x) for x in rule.rhs) + rule_name = '__SP_%s' % (rule_str) + '_%d' + yield Rule(rule.lhs, [rule.rhs[0], NT(rule_name % 1)], weight=rule.weight, alias=rule.alias) + for i in range(1, len(rule.rhs) - 2): + yield Rule(NT(rule_name % i), [rule.rhs[i], NT(rule_name % (i + 1))], weight=0, alias='Split') + yield Rule(NT(rule_name % (len(rule.rhs) - 2)), rule.rhs[-2:], weight=0, alias='Split') + + +def _term(g): + """Applies the TERM rule on 'g' (see top comment).""" + all_t = {x for rule in g.rules for x in rule.rhs if isinstance(x, T)} + t_rules = {t: Rule(NT('__T_%s' % str(t)), [t], weight=0, alias='Term') for t in all_t} + new_rules = [] + for rule in g.rules: + if len(rule.rhs) > 1 and any(isinstance(x, T) for x in rule.rhs): + new_rhs = [t_rules[x].lhs if isinstance(x, T) else x for x in rule.rhs] + new_rules.append(Rule(rule.lhs, new_rhs, weight=rule.weight, alias=rule.alias)) + new_rules.extend(v for k, v in t_rules.items() if k in rule.rhs) + else: + new_rules.append(rule) + return Grammar(new_rules) + + +def _bin(g): + """Applies the BIN rule to 'g' (see top comment).""" + new_rules = [] + for rule in g.rules: + if len(rule.rhs) > 2: + new_rules += _split(rule) + else: + new_rules.append(rule) + return Grammar(new_rules) + + +def _unit(g): + """Applies the UNIT rule to 'g' (see top comment).""" + nt_unit_rule = get_any_nt_unit_rule(g) + while nt_unit_rule: + g = _remove_unit_rule(g, nt_unit_rule) + nt_unit_rule = get_any_nt_unit_rule(g) + return g + + +def to_cnf(g): + """Creates a CNF grammar from a general context-free grammar 'g'.""" + g = _unit(_bin(_term(g))) + return CnfWrapper(g) + + +def unroll_unit_skiprule(lhs, orig_rhs, skipped_rules, children, weight, alias): + if not skipped_rules: + return RuleNode(Rule(lhs, orig_rhs, weight=weight, alias=alias), children, weight=weight) + else: + weight = weight - skipped_rules[0].weight + return RuleNode( + Rule(lhs, [skipped_rules[0].lhs], weight=weight, alias=alias), [ + unroll_unit_skiprule(skipped_rules[0].lhs, orig_rhs, + skipped_rules[1:], children, + skipped_rules[0].weight, skipped_rules[0].alias) + ], weight=weight) + + +def revert_cnf(node): + """Reverts a parse tree (RuleNode) to its original non-CNF form (Node).""" + if isinstance(node, T): + return node + # Reverts TERM rule. + if node.rule.lhs.name.startswith('__T_'): + return node.children[0] + else: + children = [] + for child in map(revert_cnf, node.children): + # Reverts BIN rule. + if isinstance(child, RuleNode) and child.rule.lhs.name.startswith('__SP_'): + children += child.children + else: + children.append(child) + # Reverts UNIT rule. + if isinstance(node.rule, UnitSkipRule): + return unroll_unit_skiprule(node.rule.lhs, node.rule.rhs, + node.rule.skipped_rules, children, + node.rule.weight, node.rule.alias) + else: + return RuleNode(node.rule, children) diff --git a/shared/package-files/24/242cfa28c340e230ca7a721f8b46762a156954e6f56f3cc196d133ee84ce5e5c/evalpoly.h b/shared/package-files/24/242cfa28c340e230ca7a721f8b46762a156954e6f56f3cc196d133ee84ce5e5c/evalpoly.h new file mode 100644 index 0000000000000000000000000000000000000000..b126fb608fae47620431e05cea21ac66e6847e59 --- /dev/null +++ b/shared/package-files/24/242cfa28c340e230ca7a721f8b46762a156954e6f56f3cc196d133ee84ce5e5c/evalpoly.h @@ -0,0 +1,47 @@ +/* Translated from Cython into C++ by SciPy developers in 2024. + * + * Original author: Josh Wilson, 2016. + */ + +/* Evaluate polynomials. + * + * All of the coefficients are stored in reverse order, i.e. if the + * polynomial is + * + * u_n x^n + u_{n - 1} x^{n - 1} + ... + u_0, + * + * then coeffs[0] = u_n, coeffs[1] = u_{n - 1}, ..., coeffs[n] = u_0. + * + * References + * ---------- + * [1] Knuth, "The Art of Computer Programming, Volume II" + */ + +#pragma once + +#include "config.h" + +namespace xsf { + +XSF_HOST_DEVICE inline std::complex cevalpoly(const double *coeffs, int degree, std::complex z) { + /* Evaluate a polynomial with real coefficients at a complex point. + * + * Uses equation (3) in section 4.6.4 of [1]. Note that it is more + * efficient than Horner's method. + */ + double a = coeffs[0]; + double b = coeffs[1]; + double r = 2 * z.real(); + double s = std::norm(z); + double tmp; + + for (int j = 2; j < degree + 1; j++) { + tmp = b; + b = std::fma(-s, a, coeffs[j]); + a = std::fma(r, a, tmp); + } + + return z * a + b; +} + +} // namespace xsf diff --git a/shared/package-files/24/242d057d55ec9c1da56476fe9c66f24a7c6fffd5470320f498a68b0e8c1ccc55/gh21665.f90 b/shared/package-files/24/242d057d55ec9c1da56476fe9c66f24a7c6fffd5470320f498a68b0e8c1ccc55/gh21665.f90 new file mode 100644 index 0000000000000000000000000000000000000000..7d9dc0fd4acbc081f55edfafb5dea981dcf279d5 --- /dev/null +++ b/shared/package-files/24/242d057d55ec9c1da56476fe9c66f24a7c6fffd5470320f498a68b0e8c1ccc55/gh21665.f90 @@ -0,0 +1,9 @@ +module fortfuncs + implicit none +contains + subroutine square(x,y) + integer, intent(in), value :: x + integer, intent(out) :: y + y = x*x + end subroutine square +end module fortfuncs diff --git a/shared/package-files/24/2434fd89260c74b25f22debe4869340d8597173f49305e1621927e24ad009251/retains_grad.h b/shared/package-files/24/2434fd89260c74b25f22debe4869340d8597173f49305e1621927e24ad009251/retains_grad.h new file mode 100644 index 0000000000000000000000000000000000000000..c0b70546bf24b4769d378448cd884d5aa384e7af --- /dev/null +++ b/shared/package-files/24/2434fd89260c74b25f22debe4869340d8597173f49305e1621927e24ad009251/retains_grad.h @@ -0,0 +1,26 @@ +#pragma once + +// @generated by torchgen/gen.py from Function.h + +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include + + + +#include + +namespace at { + + + +} diff --git a/shared/package-files/24/243a14b3dc356d899eeda1bf789d5c0adb2d453583ef50731bc8918be1b67871/entry_points.txt b/shared/package-files/24/243a14b3dc356d899eeda1bf789d5c0adb2d453583ef50731bc8918be1b67871/entry_points.txt new file mode 100644 index 0000000000000000000000000000000000000000..c76d8eda1775b36f2269170afa526d14a81e571f --- /dev/null +++ b/shared/package-files/24/243a14b3dc356d899eeda1bf789d5c0adb2d453583ef50731bc8918be1b67871/entry_points.txt @@ -0,0 +1,5 @@ +[console_scripts] +hypothesis = hypothesis.extra.cli:main + +[pytest11] +hypothesispytest = _hypothesis_pytestplugin diff --git a/shared/package-files/24/243abe485005fa96b0727700f1b0aa58512605d43c9f58fd3c751ecb8058fe74/test_openml.py b/shared/package-files/24/243abe485005fa96b0727700f1b0aa58512605d43c9f58fd3c751ecb8058fe74/test_openml.py new file mode 100644 index 0000000000000000000000000000000000000000..3c29a526a008bde1083a77e5d1095d474eed4031 --- /dev/null +++ b/shared/package-files/24/243abe485005fa96b0727700f1b0aa58512605d43c9f58fd3c751ecb8058fe74/test_openml.py @@ -0,0 +1,1636 @@ +"""Test the openml loader.""" + +import gzip +import json +import os +import re +from functools import partial +from importlib import resources +from io import BytesIO +from urllib.error import HTTPError + +import numpy as np +import pytest +import scipy.sparse + +import sklearn +from sklearn import config_context +from sklearn.datasets import fetch_openml as fetch_openml_orig +from sklearn.datasets._openml import ( + _get_local_path, + _open_openml_url, + _retry_with_clean_cache, +) +from sklearn.utils import Bunch +from sklearn.utils._optional_dependencies import check_pandas_support +from sklearn.utils._testing import ( + SkipTest, + assert_allclose, + assert_array_equal, +) + +OPENML_TEST_DATA_MODULE = "sklearn.datasets.tests.data.openml" +# if True, urlopen will be monkey patched to only use local files +test_offline = True +_MONKEY_PATCH_LOCAL_OPENML_PATH = "data/v1/download/{}" + + +class _MockHTTPResponse: + def __init__(self, data, is_gzip): + self.data = data + self.is_gzip = is_gzip + + def read(self, amt=-1): + return self.data.read(amt) + + def close(self): + self.data.close() + + def info(self): + if self.is_gzip: + return {"Content-Encoding": "gzip"} + return {} + + def __iter__(self): + return iter(self.data) + + def __enter__(self): + return self + + def __exit__(self, exc_type, exc_val, exc_tb): + return False + + +# Disable the disk-based cache when testing `fetch_openml`: +# the mock data in sklearn/datasets/tests/data/openml/ is not always consistent +# with the version on openml.org. If one were to load the dataset outside of +# the tests, it may result in data that does not represent openml.org. +fetch_openml = partial(fetch_openml_orig, data_home=None) + + +def _monkey_patch_webbased_functions(context, data_id, gzip_response): + # monkey patches the urlopen function. Important note: Do NOT use this + # in combination with a regular cache directory, as the files that are + # stored as cache should not be mixed up with real openml datasets + url_prefix_data_description = "https://api.openml.org/api/v1/json/data/" + url_prefix_data_features = "https://api.openml.org/api/v1/json/data/features/" + url_prefix_download_data = "https://www.openml.org/data/v1/download" + url_prefix_data_list = "https://api.openml.org/api/v1/json/data/list/" + + path_suffix = ".gz" + read_fn = gzip.open + + data_module = OPENML_TEST_DATA_MODULE + "." + f"id_{data_id}" + + def _file_name(url, suffix): + output = ( + re.sub(r"\W", "-", url[len("https://api.openml.org/") :]) + + suffix + + path_suffix + ) + # Shorten the filenames to have better compatibility with windows 10 + # and filenames > 260 characters + return ( + output.replace("-json-data-list", "-jdl") + .replace("-json-data-features", "-jdf") + .replace("-json-data-qualities", "-jdq") + .replace("-json-data", "-jd") + .replace("-data_name", "-dn") + .replace("-download", "-dl") + .replace("-limit", "-l") + .replace("-data_version", "-dv") + .replace("-status", "-s") + .replace("-deactivated", "-dact") + .replace("-active", "-act") + ) + + def _mock_urlopen_shared(url, has_gzip_header, expected_prefix, suffix): + assert url.startswith(expected_prefix), ( + f"{expected_prefix!r} does not match {url!r}" + ) + + data_file_name = _file_name(url, suffix) + data_file_path = resources.files(data_module) / data_file_name + + with data_file_path.open("rb") as f: + if has_gzip_header and gzip_response: + fp = BytesIO(f.read()) + return _MockHTTPResponse(fp, True) + else: + decompressed_f = read_fn(f, "rb") + fp = BytesIO(decompressed_f.read()) + return _MockHTTPResponse(fp, False) + + def _mock_urlopen_data_description(url, has_gzip_header): + return _mock_urlopen_shared( + url=url, + has_gzip_header=has_gzip_header, + expected_prefix=url_prefix_data_description, + suffix=".json", + ) + + def _mock_urlopen_data_features(url, has_gzip_header): + return _mock_urlopen_shared( + url=url, + has_gzip_header=has_gzip_header, + expected_prefix=url_prefix_data_features, + suffix=".json", + ) + + def _mock_urlopen_download_data(url, has_gzip_header): + # For simplicity the mock filenames don't contain the filename, i.e. + # the last part of the data description url after the last /. + # For example for id_1, data description download url is: + # gunzip -c sklearn/datasets/tests/data/openml/id_1/api-v1-jd-1.json.gz | grep '"url" # noqa: E501 + # "https:\/\/www.openml.org\/data\/v1\/download\/1\/anneal.arff" + # but the mock filename does not contain anneal.arff and is: + # sklearn/datasets/tests/data/openml/id_1/data-v1-dl-1.arff.gz. + # We only keep the part of the url before the last / + url_without_filename = url.rsplit("/", 1)[0] + + return _mock_urlopen_shared( + url=url_without_filename, + has_gzip_header=has_gzip_header, + expected_prefix=url_prefix_download_data, + suffix=".arff", + ) + + def _mock_urlopen_data_list(url, has_gzip_header): + assert url.startswith(url_prefix_data_list), ( + f"{url_prefix_data_list!r} does not match {url!r}" + ) + + data_file_name = _file_name(url, ".json") + data_file_path = resources.files(data_module) / data_file_name + + # load the file itself, to simulate a http error + with data_file_path.open("rb") as f: + decompressed_f = read_fn(f, "rb") + decoded_s = decompressed_f.read().decode("utf-8") + json_data = json.loads(decoded_s) + if "error" in json_data: + raise HTTPError( + url=None, code=412, msg="Simulated mock error", hdrs=None, fp=BytesIO() + ) + + with data_file_path.open("rb") as f: + if has_gzip_header: + fp = BytesIO(f.read()) + return _MockHTTPResponse(fp, True) + else: + decompressed_f = read_fn(f, "rb") + fp = BytesIO(decompressed_f.read()) + return _MockHTTPResponse(fp, False) + + def _mock_urlopen(request, *args, **kwargs): + url = request.get_full_url() + has_gzip_header = request.get_header("Accept-encoding") == "gzip" + if url.startswith(url_prefix_data_list): + return _mock_urlopen_data_list(url, has_gzip_header) + elif url.startswith(url_prefix_data_features): + return _mock_urlopen_data_features(url, has_gzip_header) + elif url.startswith(url_prefix_download_data): + return _mock_urlopen_download_data(url, has_gzip_header) + elif url.startswith(url_prefix_data_description): + return _mock_urlopen_data_description(url, has_gzip_header) + else: + raise ValueError("Unknown mocking URL pattern: %s" % url) + + # XXX: Global variable + if test_offline: + context.setattr(sklearn.datasets._openml, "urlopen", _mock_urlopen) + + +############################################################################### +# Test the behaviour of `fetch_openml` depending of the input parameters. + + +@pytest.mark.parametrize( + "data_id, dataset_params, n_samples, n_features, n_targets", + [ + # iris + (61, {"data_id": 61}, 150, 4, 1), + (61, {"name": "iris", "version": 1}, 150, 4, 1), + # anneal + (2, {"data_id": 2}, 11, 38, 1), + (2, {"name": "anneal", "version": 1}, 11, 38, 1), + # cpu + (561, {"data_id": 561}, 209, 7, 1), + (561, {"name": "cpu", "version": 1}, 209, 7, 1), + # emotions + (40589, {"data_id": 40589}, 13, 72, 6), + # adult-census + (1119, {"data_id": 1119}, 10, 14, 1), + (1119, {"name": "adult-census"}, 10, 14, 1), + # miceprotein + (40966, {"data_id": 40966}, 7, 77, 1), + (40966, {"name": "MiceProtein"}, 7, 77, 1), + # titanic + (40945, {"data_id": 40945}, 1309, 13, 1), + ], +) +@pytest.mark.parametrize("parser", ["liac-arff", "pandas"]) +@pytest.mark.parametrize("gzip_response", [True, False]) +def test_fetch_openml_as_frame_true( + monkeypatch, + data_id, + dataset_params, + n_samples, + n_features, + n_targets, + parser, + gzip_response, +): + """Check the behaviour of `fetch_openml` with `as_frame=True`. + + Fetch by ID and/or name (depending if the file was previously cached). + """ + pd = pytest.importorskip("pandas") + + _monkey_patch_webbased_functions(monkeypatch, data_id, gzip_response=gzip_response) + bunch = fetch_openml( + as_frame=True, + cache=False, + parser=parser, + **dataset_params, + ) + + assert int(bunch.details["id"]) == data_id + assert isinstance(bunch, Bunch) + + assert isinstance(bunch.frame, pd.DataFrame) + assert bunch.frame.shape == (n_samples, n_features + n_targets) + + assert isinstance(bunch.data, pd.DataFrame) + assert bunch.data.shape == (n_samples, n_features) + + if n_targets == 1: + assert isinstance(bunch.target, pd.Series) + assert bunch.target.shape == (n_samples,) + else: + assert isinstance(bunch.target, pd.DataFrame) + assert bunch.target.shape == (n_samples, n_targets) + + assert bunch.categories is None + + +@pytest.mark.parametrize( + "data_id, dataset_params, n_samples, n_features, n_targets", + [ + # iris + (61, {"data_id": 61}, 150, 4, 1), + (61, {"name": "iris", "version": 1}, 150, 4, 1), + # anneal + (2, {"data_id": 2}, 11, 38, 1), + (2, {"name": "anneal", "version": 1}, 11, 38, 1), + # cpu + (561, {"data_id": 561}, 209, 7, 1), + (561, {"name": "cpu", "version": 1}, 209, 7, 1), + # emotions + (40589, {"data_id": 40589}, 13, 72, 6), + # adult-census + (1119, {"data_id": 1119}, 10, 14, 1), + (1119, {"name": "adult-census"}, 10, 14, 1), + # miceprotein + (40966, {"data_id": 40966}, 7, 77, 1), + (40966, {"name": "MiceProtein"}, 7, 77, 1), + ], +) +@pytest.mark.parametrize("parser", ["liac-arff", "pandas"]) +def test_fetch_openml_as_frame_false( + monkeypatch, + data_id, + dataset_params, + n_samples, + n_features, + n_targets, + parser, +): + """Check the behaviour of `fetch_openml` with `as_frame=False`. + + Fetch both by ID and/or name + version. + """ + pytest.importorskip("pandas") + + _monkey_patch_webbased_functions(monkeypatch, data_id, gzip_response=True) + bunch = fetch_openml( + as_frame=False, + cache=False, + parser=parser, + **dataset_params, + ) + assert int(bunch.details["id"]) == data_id + assert isinstance(bunch, Bunch) + + assert bunch.frame is None + + assert isinstance(bunch.data, np.ndarray) + assert bunch.data.shape == (n_samples, n_features) + + assert isinstance(bunch.target, np.ndarray) + if n_targets == 1: + assert bunch.target.shape == (n_samples,) + else: + assert bunch.target.shape == (n_samples, n_targets) + + assert isinstance(bunch.categories, dict) + + +@pytest.mark.parametrize("data_id", [61, 1119, 40945]) +def test_fetch_openml_consistency_parser(monkeypatch, data_id): + """Check the consistency of the LIAC-ARFF and pandas parsers.""" + pd = pytest.importorskip("pandas") + + _monkey_patch_webbased_functions(monkeypatch, data_id, gzip_response=True) + bunch_liac = fetch_openml( + data_id=data_id, + as_frame=True, + cache=False, + parser="liac-arff", + ) + bunch_pandas = fetch_openml( + data_id=data_id, + as_frame=True, + cache=False, + parser="pandas", + ) + + # The data frames for the input features should match up to some numerical + # dtype conversions (e.g. float64 <=> Int64) due to limitations of the + # LIAC-ARFF parser. + data_liac, data_pandas = bunch_liac.data, bunch_pandas.data + + def convert_numerical_dtypes(series): + pandas_series = data_pandas[series.name] + if pd.api.types.is_numeric_dtype(pandas_series): + return series.astype(pandas_series.dtype) + else: + return series + + data_liac_with_fixed_dtypes = data_liac.apply(convert_numerical_dtypes) + pd.testing.assert_frame_equal(data_liac_with_fixed_dtypes, data_pandas) + + # Let's also check that the .frame attributes also match + frame_liac, frame_pandas = bunch_liac.frame, bunch_pandas.frame + + # Note that the .frame attribute is a superset of the .data attribute: + pd.testing.assert_frame_equal(frame_pandas[bunch_pandas.feature_names], data_pandas) + + # However the remaining columns, typically the target(s), are not necessarily + # dtyped similarly by both parsers due to limitations of the LIAC-ARFF parser. + # Therefore, extra dtype conversions are required for those columns: + + def convert_numerical_and_categorical_dtypes(series): + pandas_series = frame_pandas[series.name] + if pd.api.types.is_numeric_dtype(pandas_series): + return series.astype(pandas_series.dtype) + elif isinstance(pandas_series.dtype, pd.CategoricalDtype): + # Compare categorical features by converting categorical liac uses + # strings to denote the categories, we rename the categories to make + # them comparable to the pandas parser. Fixing this behavior in + # LIAC-ARFF would allow to check the consistency in the future but + # we do not plan to maintain the LIAC-ARFF on the long term. + return series.cat.rename_categories(pandas_series.cat.categories) + else: + return series + + frame_liac_with_fixed_dtypes = frame_liac.apply( + convert_numerical_and_categorical_dtypes + ) + pd.testing.assert_frame_equal(frame_liac_with_fixed_dtypes, frame_pandas) + + +@pytest.mark.parametrize("parser", ["liac-arff", "pandas"]) +def test_fetch_openml_equivalence_array_dataframe(monkeypatch, parser): + """Check the equivalence of the dataset when using `as_frame=False` and + `as_frame=True`. + """ + pytest.importorskip("pandas") + + data_id = 61 + _monkey_patch_webbased_functions(monkeypatch, data_id, gzip_response=True) + bunch_as_frame_true = fetch_openml( + data_id=data_id, + as_frame=True, + cache=False, + parser=parser, + ) + + bunch_as_frame_false = fetch_openml( + data_id=data_id, + as_frame=False, + cache=False, + parser=parser, + ) + + assert_allclose(bunch_as_frame_false.data, bunch_as_frame_true.data) + assert_array_equal(bunch_as_frame_false.target, bunch_as_frame_true.target) + + +@pytest.mark.parametrize("parser", ["liac-arff", "pandas"]) +def test_fetch_openml_iris_pandas(monkeypatch, parser): + """Check fetching on a numerical only dataset with string labels.""" + pd = pytest.importorskip("pandas") + CategoricalDtype = pd.api.types.CategoricalDtype + data_id = 61 + data_shape = (150, 4) + target_shape = (150,) + frame_shape = (150, 5) + + target_dtype = CategoricalDtype( + ["Iris-setosa", "Iris-versicolor", "Iris-virginica"] + ) + data_dtypes = [np.float64] * 4 + data_names = ["sepallength", "sepalwidth", "petallength", "petalwidth"] + target_name = "class" + + _monkey_patch_webbased_functions(monkeypatch, data_id, True) + + bunch = fetch_openml( + data_id=data_id, + as_frame=True, + cache=False, + parser=parser, + ) + data = bunch.data + target = bunch.target + frame = bunch.frame + + assert isinstance(data, pd.DataFrame) + assert np.all(data.dtypes == data_dtypes) + assert data.shape == data_shape + assert np.all(data.columns == data_names) + assert np.all(bunch.feature_names == data_names) + assert bunch.target_names == [target_name] + + assert isinstance(target, pd.Series) + assert target.dtype == target_dtype + assert target.shape == target_shape + assert target.name == target_name + assert target.index.is_unique + + assert isinstance(frame, pd.DataFrame) + assert frame.shape == frame_shape + assert np.all(frame.dtypes == data_dtypes + [target_dtype]) + assert frame.index.is_unique + + +@pytest.mark.parametrize("parser", ["liac-arff", "pandas"]) +@pytest.mark.parametrize("target_column", ["petalwidth", ["petalwidth", "petallength"]]) +def test_fetch_openml_forcing_targets(monkeypatch, parser, target_column): + """Check that we can force the target to not be the default target.""" + pd = pytest.importorskip("pandas") + + data_id = 61 + _monkey_patch_webbased_functions(monkeypatch, data_id, True) + bunch_forcing_target = fetch_openml( + data_id=data_id, + as_frame=True, + cache=False, + target_column=target_column, + parser=parser, + ) + bunch_default = fetch_openml( + data_id=data_id, + as_frame=True, + cache=False, + parser=parser, + ) + + pd.testing.assert_frame_equal(bunch_forcing_target.frame, bunch_default.frame) + if isinstance(target_column, list): + pd.testing.assert_index_equal( + bunch_forcing_target.target.columns, pd.Index(target_column) + ) + assert bunch_forcing_target.data.shape == (150, 3) + else: + assert bunch_forcing_target.target.name == target_column + assert bunch_forcing_target.data.shape == (150, 4) + + +@pytest.mark.parametrize("data_id", [61, 2, 561, 40589, 1119]) +@pytest.mark.parametrize("parser", ["liac-arff", "pandas"]) +def test_fetch_openml_equivalence_frame_return_X_y(monkeypatch, data_id, parser): + """Check the behaviour of `return_X_y=True` when `as_frame=True`.""" + pd = pytest.importorskip("pandas") + + _monkey_patch_webbased_functions(monkeypatch, data_id, gzip_response=True) + bunch = fetch_openml( + data_id=data_id, + as_frame=True, + cache=False, + return_X_y=False, + parser=parser, + ) + X, y = fetch_openml( + data_id=data_id, + as_frame=True, + cache=False, + return_X_y=True, + parser=parser, + ) + + pd.testing.assert_frame_equal(bunch.data, X) + if isinstance(y, pd.Series): + pd.testing.assert_series_equal(bunch.target, y) + else: + pd.testing.assert_frame_equal(bunch.target, y) + + +@pytest.mark.parametrize("data_id", [61, 561, 40589, 1119]) +@pytest.mark.parametrize("parser", ["liac-arff", "pandas"]) +def test_fetch_openml_equivalence_array_return_X_y(monkeypatch, data_id, parser): + """Check the behaviour of `return_X_y=True` when `as_frame=False`.""" + pytest.importorskip("pandas") + + _monkey_patch_webbased_functions(monkeypatch, data_id, gzip_response=True) + bunch = fetch_openml( + data_id=data_id, + as_frame=False, + cache=False, + return_X_y=False, + parser=parser, + ) + X, y = fetch_openml( + data_id=data_id, + as_frame=False, + cache=False, + return_X_y=True, + parser=parser, + ) + + assert_array_equal(bunch.data, X) + assert_array_equal(bunch.target, y) + + +def test_fetch_openml_difference_parsers(monkeypatch): + """Check the difference between liac-arff and pandas parser.""" + pytest.importorskip("pandas") + + data_id = 1119 + _monkey_patch_webbased_functions(monkeypatch, data_id, gzip_response=True) + # When `as_frame=False`, the categories will be ordinally encoded with + # liac-arff parser while this is not the case with pandas parser. + as_frame = False + bunch_liac_arff = fetch_openml( + data_id=data_id, + as_frame=as_frame, + cache=False, + parser="liac-arff", + ) + bunch_pandas = fetch_openml( + data_id=data_id, + as_frame=as_frame, + cache=False, + parser="pandas", + ) + + assert bunch_liac_arff.data.dtype.kind == "f" + assert bunch_pandas.data.dtype == "O" + + +############################################################################### +# Test the ARFF parsing on several dataset to check if detect the correct +# types (categories, integers, floats). + + +@pytest.fixture(scope="module") +def datasets_column_names(): + """Returns the columns names for each dataset.""" + return { + 61: ["sepallength", "sepalwidth", "petallength", "petalwidth", "class"], + 2: [ + "family", + "product-type", + "steel", + "carbon", + "hardness", + "temper_rolling", + "condition", + "formability", + "strength", + "non-ageing", + "surface-finish", + "surface-quality", + "enamelability", + "bc", + "bf", + "bt", + "bw%2Fme", + "bl", + "m", + "chrom", + "phos", + "cbond", + "marvi", + "exptl", + "ferro", + "corr", + "blue%2Fbright%2Fvarn%2Fclean", + "lustre", + "jurofm", + "s", + "p", + "shape", + "thick", + "width", + "len", + "oil", + "bore", + "packing", + "class", + ], + 561: ["vendor", "MYCT", "MMIN", "MMAX", "CACH", "CHMIN", "CHMAX", "class"], + 40589: [ + "Mean_Acc1298_Mean_Mem40_Centroid", + "Mean_Acc1298_Mean_Mem40_Rolloff", + "Mean_Acc1298_Mean_Mem40_Flux", + "Mean_Acc1298_Mean_Mem40_MFCC_0", + "Mean_Acc1298_Mean_Mem40_MFCC_1", + "Mean_Acc1298_Mean_Mem40_MFCC_2", + "Mean_Acc1298_Mean_Mem40_MFCC_3", + "Mean_Acc1298_Mean_Mem40_MFCC_4", + "Mean_Acc1298_Mean_Mem40_MFCC_5", + "Mean_Acc1298_Mean_Mem40_MFCC_6", + "Mean_Acc1298_Mean_Mem40_MFCC_7", + "Mean_Acc1298_Mean_Mem40_MFCC_8", + "Mean_Acc1298_Mean_Mem40_MFCC_9", + "Mean_Acc1298_Mean_Mem40_MFCC_10", + "Mean_Acc1298_Mean_Mem40_MFCC_11", + "Mean_Acc1298_Mean_Mem40_MFCC_12", + "Mean_Acc1298_Std_Mem40_Centroid", + "Mean_Acc1298_Std_Mem40_Rolloff", + "Mean_Acc1298_Std_Mem40_Flux", + "Mean_Acc1298_Std_Mem40_MFCC_0", + "Mean_Acc1298_Std_Mem40_MFCC_1", + "Mean_Acc1298_Std_Mem40_MFCC_2", + "Mean_Acc1298_Std_Mem40_MFCC_3", + "Mean_Acc1298_Std_Mem40_MFCC_4", + "Mean_Acc1298_Std_Mem40_MFCC_5", + "Mean_Acc1298_Std_Mem40_MFCC_6", + "Mean_Acc1298_Std_Mem40_MFCC_7", + "Mean_Acc1298_Std_Mem40_MFCC_8", + "Mean_Acc1298_Std_Mem40_MFCC_9", + "Mean_Acc1298_Std_Mem40_MFCC_10", + "Mean_Acc1298_Std_Mem40_MFCC_11", + "Mean_Acc1298_Std_Mem40_MFCC_12", + "Std_Acc1298_Mean_Mem40_Centroid", + "Std_Acc1298_Mean_Mem40_Rolloff", + "Std_Acc1298_Mean_Mem40_Flux", + "Std_Acc1298_Mean_Mem40_MFCC_0", + "Std_Acc1298_Mean_Mem40_MFCC_1", + "Std_Acc1298_Mean_Mem40_MFCC_2", + "Std_Acc1298_Mean_Mem40_MFCC_3", + "Std_Acc1298_Mean_Mem40_MFCC_4", + "Std_Acc1298_Mean_Mem40_MFCC_5", + "Std_Acc1298_Mean_Mem40_MFCC_6", + "Std_Acc1298_Mean_Mem40_MFCC_7", + "Std_Acc1298_Mean_Mem40_MFCC_8", + "Std_Acc1298_Mean_Mem40_MFCC_9", + "Std_Acc1298_Mean_Mem40_MFCC_10", + "Std_Acc1298_Mean_Mem40_MFCC_11", + "Std_Acc1298_Mean_Mem40_MFCC_12", + "Std_Acc1298_Std_Mem40_Centroid", + "Std_Acc1298_Std_Mem40_Rolloff", + "Std_Acc1298_Std_Mem40_Flux", + "Std_Acc1298_Std_Mem40_MFCC_0", + "Std_Acc1298_Std_Mem40_MFCC_1", + "Std_Acc1298_Std_Mem40_MFCC_2", + "Std_Acc1298_Std_Mem40_MFCC_3", + "Std_Acc1298_Std_Mem40_MFCC_4", + "Std_Acc1298_Std_Mem40_MFCC_5", + "Std_Acc1298_Std_Mem40_MFCC_6", + "Std_Acc1298_Std_Mem40_MFCC_7", + "Std_Acc1298_Std_Mem40_MFCC_8", + "Std_Acc1298_Std_Mem40_MFCC_9", + "Std_Acc1298_Std_Mem40_MFCC_10", + "Std_Acc1298_Std_Mem40_MFCC_11", + "Std_Acc1298_Std_Mem40_MFCC_12", + "BH_LowPeakAmp", + "BH_LowPeakBPM", + "BH_HighPeakAmp", + "BH_HighPeakBPM", + "BH_HighLowRatio", + "BHSUM1", + "BHSUM2", + "BHSUM3", + "amazed.suprised", + "happy.pleased", + "relaxing.calm", + "quiet.still", + "sad.lonely", + "angry.aggresive", + ], + 1119: [ + "age", + "workclass", + "fnlwgt:", + "education:", + "education-num:", + "marital-status:", + "occupation:", + "relationship:", + "race:", + "sex:", + "capital-gain:", + "capital-loss:", + "hours-per-week:", + "native-country:", + "class", + ], + 40966: [ + "DYRK1A_N", + "ITSN1_N", + "BDNF_N", + "NR1_N", + "NR2A_N", + "pAKT_N", + "pBRAF_N", + "pCAMKII_N", + "pCREB_N", + "pELK_N", + "pERK_N", + "pJNK_N", + "PKCA_N", + "pMEK_N", + "pNR1_N", + "pNR2A_N", + "pNR2B_N", + "pPKCAB_N", + "pRSK_N", + "AKT_N", + "BRAF_N", + "CAMKII_N", + "CREB_N", + "ELK_N", + "ERK_N", + "GSK3B_N", + "JNK_N", + "MEK_N", + "TRKA_N", + "RSK_N", + "APP_N", + "Bcatenin_N", + "SOD1_N", + "MTOR_N", + "P38_N", + "pMTOR_N", + "DSCR1_N", + "AMPKA_N", + "NR2B_N", + "pNUMB_N", + "RAPTOR_N", + "TIAM1_N", + "pP70S6_N", + "NUMB_N", + "P70S6_N", + "pGSK3B_N", + "pPKCG_N", + "CDK5_N", + "S6_N", + "ADARB1_N", + "AcetylH3K9_N", + "RRP1_N", + "BAX_N", + "ARC_N", + "ERBB4_N", + "nNOS_N", + "Tau_N", + "GFAP_N", + "GluR3_N", + "GluR4_N", + "IL1B_N", + "P3525_N", + "pCASP9_N", + "PSD95_N", + "SNCA_N", + "Ubiquitin_N", + "pGSK3B_Tyr216_N", + "SHH_N", + "BAD_N", + "BCL2_N", + "pS6_N", + "pCFOS_N", + "SYP_N", + "H3AcK18_N", + "EGR1_N", + "H3MeK4_N", + "CaNA_N", + "class", + ], + 40945: [ + "pclass", + "survived", + "name", + "sex", + "age", + "sibsp", + "parch", + "ticket", + "fare", + "cabin", + "embarked", + "boat", + "body", + "home.dest", + ], + } + + +@pytest.fixture(scope="module") +def datasets_missing_values(): + return { + 61: {}, + 2: { + "family": 11, + "temper_rolling": 9, + "condition": 2, + "formability": 4, + "non-ageing": 10, + "surface-finish": 11, + "enamelability": 11, + "bc": 11, + "bf": 10, + "bt": 11, + "bw%2Fme": 8, + "bl": 9, + "m": 11, + "chrom": 11, + "phos": 11, + "cbond": 10, + "marvi": 11, + "exptl": 11, + "ferro": 11, + "corr": 11, + "blue%2Fbright%2Fvarn%2Fclean": 11, + "lustre": 8, + "jurofm": 11, + "s": 11, + "p": 11, + "oil": 10, + "packing": 11, + }, + 561: {}, + 40589: {}, + 1119: {}, + 40966: {"BCL2_N": 7}, + 40945: { + "age": 263, + "fare": 1, + "cabin": 1014, + "embarked": 2, + "boat": 823, + "body": 1188, + "home.dest": 564, + }, + } + + +@pytest.mark.parametrize( + "data_id, parser, expected_n_categories, expected_n_floats, expected_n_ints", + [ + # iris dataset + (61, "liac-arff", 1, 4, 0), + (61, "pandas", 1, 4, 0), + # anneal dataset + (2, "liac-arff", 33, 6, 0), + (2, "pandas", 33, 2, 4), + # cpu dataset + (561, "liac-arff", 1, 7, 0), + (561, "pandas", 1, 0, 7), + # emotions dataset + (40589, "liac-arff", 6, 72, 0), + (40589, "pandas", 6, 69, 3), + # adult-census dataset + (1119, "liac-arff", 9, 6, 0), + (1119, "pandas", 9, 0, 6), + # miceprotein + (40966, "liac-arff", 1, 77, 0), + (40966, "pandas", 1, 77, 0), + # titanic + (40945, "liac-arff", 3, 6, 0), + (40945, "pandas", 3, 3, 3), + ], +) +@pytest.mark.parametrize("gzip_response", [True, False]) +def test_fetch_openml_types_inference( + monkeypatch, + data_id, + parser, + expected_n_categories, + expected_n_floats, + expected_n_ints, + gzip_response, + datasets_column_names, + datasets_missing_values, +): + """Check that `fetch_openml` infer the right number of categories, integers, and + floats.""" + pd = pytest.importorskip("pandas") + CategoricalDtype = pd.api.types.CategoricalDtype + + _monkey_patch_webbased_functions(monkeypatch, data_id, gzip_response=gzip_response) + + bunch = fetch_openml( + data_id=data_id, + as_frame=True, + cache=False, + parser=parser, + ) + frame = bunch.frame + + n_categories = len( + [dtype for dtype in frame.dtypes if isinstance(dtype, CategoricalDtype)] + ) + n_floats = len([dtype for dtype in frame.dtypes if dtype.kind == "f"]) + n_ints = len([dtype for dtype in frame.dtypes if dtype.kind == "i"]) + + assert n_categories == expected_n_categories + assert n_floats == expected_n_floats + assert n_ints == expected_n_ints + + assert frame.columns.tolist() == datasets_column_names[data_id] + + frame_feature_to_n_nan = frame.isna().sum().to_dict() + for name, n_missing in frame_feature_to_n_nan.items(): + expected_missing = datasets_missing_values[data_id].get(name, 0) + assert n_missing == expected_missing + + +############################################################################### +# Test some more specific behaviour + + +@pytest.mark.parametrize( + "params, err_msg", + [ + ( + {"parser": "unknown"}, + "The 'parser' parameter of fetch_openml must be a str among", + ), + ( + {"as_frame": "unknown"}, + "The 'as_frame' parameter of fetch_openml must be an instance", + ), + ], +) +def test_fetch_openml_validation_parameter(monkeypatch, params, err_msg): + data_id = 1119 + _monkey_patch_webbased_functions(monkeypatch, data_id, True) + with pytest.raises(ValueError, match=err_msg): + fetch_openml(data_id=data_id, **params) + + +@pytest.mark.parametrize( + "params", + [ + {"as_frame": True, "parser": "auto"}, + {"as_frame": "auto", "parser": "auto"}, + {"as_frame": False, "parser": "pandas"}, + {"as_frame": False, "parser": "auto"}, + ], +) +def test_fetch_openml_requires_pandas_error(monkeypatch, params): + """Check that we raise the proper errors when we require pandas.""" + data_id = 1119 + try: + check_pandas_support("test_fetch_openml_requires_pandas") + except ImportError: + _monkey_patch_webbased_functions(monkeypatch, data_id, True) + err_msg = "requires pandas to be installed. Alternatively, explicitly" + with pytest.raises(ImportError, match=err_msg): + fetch_openml(data_id=data_id, **params) + else: + raise SkipTest("This test requires pandas to not be installed.") + + +@pytest.mark.filterwarnings("ignore:Version 1 of dataset Australian is inactive") +@pytest.mark.parametrize( + "params, err_msg", + [ + ( + {"parser": "pandas"}, + "Sparse ARFF datasets cannot be loaded with parser='pandas'", + ), + ( + {"as_frame": True}, + "Sparse ARFF datasets cannot be loaded with as_frame=True.", + ), + ( + {"parser": "pandas", "as_frame": True}, + "Sparse ARFF datasets cannot be loaded with as_frame=True.", + ), + ], +) +def test_fetch_openml_sparse_arff_error(monkeypatch, params, err_msg): + """Check that we raise the expected error for sparse ARFF datasets and + a wrong set of incompatible parameters. + """ + pytest.importorskip("pandas") + data_id = 292 + + _monkey_patch_webbased_functions(monkeypatch, data_id, True) + with pytest.raises(ValueError, match=err_msg): + fetch_openml( + data_id=data_id, + cache=False, + **params, + ) + + +@pytest.mark.filterwarnings("ignore:Version 1 of dataset Australian is inactive") +@pytest.mark.parametrize( + "data_id, data_type", + [ + (61, "dataframe"), # iris dataset version 1 + (292, "sparse"), # Australian dataset version 1 + ], +) +def test_fetch_openml_auto_mode(monkeypatch, data_id, data_type): + """Check the auto mode of `fetch_openml`.""" + pd = pytest.importorskip("pandas") + + _monkey_patch_webbased_functions(monkeypatch, data_id, True) + data = fetch_openml(data_id=data_id, as_frame="auto", cache=False) + klass = pd.DataFrame if data_type == "dataframe" else scipy.sparse.csr_matrix + assert isinstance(data.data, klass) + + +def test_convert_arff_data_dataframe_warning_low_memory_pandas(monkeypatch): + """Check that we raise a warning regarding the working memory when using + LIAC-ARFF parser.""" + pytest.importorskip("pandas") + + data_id = 1119 + _monkey_patch_webbased_functions(monkeypatch, data_id, True) + + msg = "Could not adhere to working_memory config." + with pytest.warns(UserWarning, match=msg): + with config_context(working_memory=1e-6): + fetch_openml( + data_id=data_id, + as_frame=True, + cache=False, + parser="liac-arff", + ) + + +@pytest.mark.parametrize("gzip_response", [True, False]) +def test_fetch_openml_iris_warn_multiple_version(monkeypatch, gzip_response): + """Check that a warning is raised when multiple versions exist and no version is + requested.""" + data_id = 61 + data_name = "iris" + + _monkey_patch_webbased_functions(monkeypatch, data_id, gzip_response) + + msg = re.escape( + "Multiple active versions of the dataset matching the name" + " iris exist. Versions may be fundamentally different, " + "returning version 1. Available versions:\n" + "- version 1, status: active\n" + " url: https://www.openml.org/search?type=data&id=61\n" + "- version 3, status: active\n" + " url: https://www.openml.org/search?type=data&id=969\n" + ) + with pytest.warns(UserWarning, match=msg): + fetch_openml( + name=data_name, + as_frame=False, + cache=False, + parser="liac-arff", + ) + + +@pytest.mark.parametrize("gzip_response", [True, False]) +def test_fetch_openml_no_target(monkeypatch, gzip_response): + """Check that we can get a dataset without target.""" + data_id = 61 + target_column = None + expected_observations = 150 + expected_features = 5 + + _monkey_patch_webbased_functions(monkeypatch, data_id, gzip_response) + data = fetch_openml( + data_id=data_id, + target_column=target_column, + cache=False, + as_frame=False, + parser="liac-arff", + ) + assert data.data.shape == (expected_observations, expected_features) + assert data.target is None + + +@pytest.mark.parametrize("gzip_response", [True, False]) +@pytest.mark.parametrize("parser", ["liac-arff", "pandas"]) +def test_missing_values_pandas(monkeypatch, gzip_response, parser): + """check that missing values in categories are compatible with pandas + categorical""" + pytest.importorskip("pandas") + + data_id = 42585 + _monkey_patch_webbased_functions(monkeypatch, data_id, gzip_response=gzip_response) + penguins = fetch_openml( + data_id=data_id, + cache=False, + as_frame=True, + parser=parser, + ) + + cat_dtype = penguins.data.dtypes["sex"] + # there are nans in the categorical + assert penguins.data["sex"].isna().any() + assert_array_equal(cat_dtype.categories, ["FEMALE", "MALE", "_"]) + + +@pytest.mark.parametrize("gzip_response", [True, False]) +@pytest.mark.parametrize( + "dataset_params", + [ + {"data_id": 40675}, + {"data_id": None, "name": "glass2", "version": 1}, + ], +) +def test_fetch_openml_inactive(monkeypatch, gzip_response, dataset_params): + """Check that we raise a warning when the dataset is inactive.""" + data_id = 40675 + _monkey_patch_webbased_functions(monkeypatch, data_id, gzip_response) + msg = "Version 1 of dataset glass2 is inactive," + with pytest.warns(UserWarning, match=msg): + glass2 = fetch_openml( + cache=False, as_frame=False, parser="liac-arff", **dataset_params + ) + assert glass2.data.shape == (163, 9) + assert glass2.details["id"] == "40675" + + +@pytest.mark.parametrize("gzip_response", [True, False]) +@pytest.mark.parametrize( + "data_id, params, err_type, err_msg", + [ + (40675, {"name": "glass2"}, ValueError, "No active dataset glass2 found"), + ( + 61, + {"data_id": 61, "target_column": ["sepalwidth", "class"]}, + ValueError, + "Can only handle homogeneous multi-target datasets", + ), + ( + 40945, + {"data_id": 40945, "as_frame": False}, + ValueError, + ( + "STRING attributes are not supported for array representation. Try" + " as_frame=True" + ), + ), + ( + 2, + {"data_id": 2, "target_column": "family", "as_frame": True}, + ValueError, + "Target column 'family'", + ), + ( + 2, + {"data_id": 2, "target_column": "family", "as_frame": False}, + ValueError, + "Target column 'family'", + ), + ( + 61, + {"data_id": 61, "target_column": "undefined"}, + KeyError, + "Could not find target_column='undefined'", + ), + ( + 61, + {"data_id": 61, "target_column": ["undefined", "class"]}, + KeyError, + "Could not find target_column='undefined'", + ), + ], +) +@pytest.mark.parametrize("parser", ["liac-arff", "pandas"]) +def test_fetch_openml_error( + monkeypatch, gzip_response, data_id, params, err_type, err_msg, parser +): + _monkey_patch_webbased_functions(monkeypatch, data_id, gzip_response) + if params.get("as_frame", True) or parser == "pandas": + pytest.importorskip("pandas") + with pytest.raises(err_type, match=err_msg): + fetch_openml(cache=False, parser=parser, **params) + + +@pytest.mark.parametrize( + "params, err_type, err_msg", + [ + ( + {"data_id": -1, "name": None, "version": "version"}, + ValueError, + "The 'version' parameter of fetch_openml must be an int in the range", + ), + ( + {"data_id": -1, "name": "nAmE"}, + ValueError, + "The 'data_id' parameter of fetch_openml must be an int in the range", + ), + ( + {"data_id": -1, "name": "nAmE", "version": "version"}, + ValueError, + "The 'version' parameter of fetch_openml must be an int", + ), + ( + {}, + ValueError, + "Neither name nor data_id are provided. Please provide name or data_id.", + ), + ], +) +def test_fetch_openml_raises_illegal_argument(params, err_type, err_msg): + with pytest.raises(err_type, match=err_msg): + fetch_openml(**params) + + +@pytest.mark.parametrize("gzip_response", [True, False]) +def test_warn_ignore_attribute(monkeypatch, gzip_response): + data_id = 40966 + expected_row_id_msg = "target_column='{}' has flag is_row_identifier." + expected_ignore_msg = "target_column='{}' has flag is_ignore." + _monkey_patch_webbased_functions(monkeypatch, data_id, gzip_response) + # single column test + target_col = "MouseID" + msg = expected_row_id_msg.format(target_col) + with pytest.warns(UserWarning, match=msg): + fetch_openml( + data_id=data_id, + target_column=target_col, + cache=False, + as_frame=False, + parser="liac-arff", + ) + target_col = "Genotype" + msg = expected_ignore_msg.format(target_col) + with pytest.warns(UserWarning, match=msg): + fetch_openml( + data_id=data_id, + target_column=target_col, + cache=False, + as_frame=False, + parser="liac-arff", + ) + # multi column test + target_col = "MouseID" + msg = expected_row_id_msg.format(target_col) + with pytest.warns(UserWarning, match=msg): + fetch_openml( + data_id=data_id, + target_column=[target_col, "class"], + cache=False, + as_frame=False, + parser="liac-arff", + ) + target_col = "Genotype" + msg = expected_ignore_msg.format(target_col) + with pytest.warns(UserWarning, match=msg): + fetch_openml( + data_id=data_id, + target_column=[target_col, "class"], + cache=False, + as_frame=False, + parser="liac-arff", + ) + + +@pytest.mark.parametrize("gzip_response", [True, False]) +def test_dataset_with_openml_error(monkeypatch, gzip_response): + data_id = 1 + _monkey_patch_webbased_functions(monkeypatch, data_id, gzip_response) + msg = "OpenML registered a problem with the dataset. It might be unusable. Error:" + with pytest.warns(UserWarning, match=msg): + fetch_openml(data_id=data_id, cache=False, as_frame=False, parser="liac-arff") + + +@pytest.mark.parametrize("gzip_response", [True, False]) +def test_dataset_with_openml_warning(monkeypatch, gzip_response): + data_id = 3 + _monkey_patch_webbased_functions(monkeypatch, data_id, gzip_response) + msg = "OpenML raised a warning on the dataset. It might be unusable. Warning:" + with pytest.warns(UserWarning, match=msg): + fetch_openml(data_id=data_id, cache=False, as_frame=False, parser="liac-arff") + + +def test_fetch_openml_overwrite_default_params_read_csv(monkeypatch): + """Check that we can overwrite the default parameters of `read_csv`.""" + pytest.importorskip("pandas") + data_id = 1590 + _monkey_patch_webbased_functions(monkeypatch, data_id=data_id, gzip_response=False) + + common_params = { + "data_id": data_id, + "as_frame": True, + "cache": False, + "parser": "pandas", + } + + # By default, the initial spaces are skipped. We checked that setting the parameter + # `skipinitialspace` to False will have an effect. + adult_without_spaces = fetch_openml(**common_params) + adult_with_spaces = fetch_openml( + **common_params, read_csv_kwargs={"skipinitialspace": False} + ) + assert all( + cat.startswith(" ") for cat in adult_with_spaces.frame["class"].cat.categories + ) + assert not any( + cat.startswith(" ") + for cat in adult_without_spaces.frame["class"].cat.categories + ) + + +############################################################################### +# Test cache, retry mechanisms, checksum, etc. + + +@pytest.mark.parametrize("gzip_response", [True, False]) +def test_open_openml_url_cache(monkeypatch, gzip_response, tmpdir): + data_id = 61 + + _monkey_patch_webbased_functions(monkeypatch, data_id, gzip_response) + openml_path = _MONKEY_PATCH_LOCAL_OPENML_PATH.format(data_id) + "/filename.arff" + url = f"https://www.openml.org/{openml_path}" + cache_directory = str(tmpdir.mkdir("scikit_learn_data")) + # first fill the cache + response1 = _open_openml_url(url, cache_directory) + # assert file exists + location = _get_local_path(openml_path, cache_directory) + assert os.path.isfile(location) + # redownload, to utilize cache + response2 = _open_openml_url(url, cache_directory) + assert response1.read() == response2.read() + + +@pytest.mark.parametrize("write_to_disk", [True, False]) +def test_open_openml_url_unlinks_local_path(monkeypatch, tmpdir, write_to_disk): + data_id = 61 + openml_path = _MONKEY_PATCH_LOCAL_OPENML_PATH.format(data_id) + "/filename.arff" + url = f"https://www.openml.org/{openml_path}" + cache_directory = str(tmpdir.mkdir("scikit_learn_data")) + location = _get_local_path(openml_path, cache_directory) + + def _mock_urlopen(request, *args, **kwargs): + if write_to_disk: + with open(location, "w") as f: + f.write("") + raise ValueError("Invalid request") + + monkeypatch.setattr(sklearn.datasets._openml, "urlopen", _mock_urlopen) + + with pytest.raises(ValueError, match="Invalid request"): + _open_openml_url(url, cache_directory) + + assert not os.path.exists(location) + + +def test_retry_with_clean_cache(tmpdir): + data_id = 61 + openml_path = _MONKEY_PATCH_LOCAL_OPENML_PATH.format(data_id) + cache_directory = str(tmpdir.mkdir("scikit_learn_data")) + location = _get_local_path(openml_path, cache_directory) + os.makedirs(os.path.dirname(location)) + + with open(location, "w") as f: + f.write("") + + @_retry_with_clean_cache(openml_path, cache_directory) + def _load_data(): + # The first call will raise an error since location exists + if os.path.exists(location): + raise Exception("File exist!") + return 1 + + warn_msg = "Invalid cache, redownloading file" + with pytest.warns(RuntimeWarning, match=warn_msg): + result = _load_data() + assert result == 1 + + +def test_retry_with_clean_cache_http_error(tmpdir): + data_id = 61 + openml_path = _MONKEY_PATCH_LOCAL_OPENML_PATH.format(data_id) + cache_directory = str(tmpdir.mkdir("scikit_learn_data")) + + @_retry_with_clean_cache(openml_path, cache_directory) + def _load_data(): + raise HTTPError( + url=None, code=412, msg="Simulated mock error", hdrs=None, fp=BytesIO() + ) + + error_msg = "Simulated mock error" + with pytest.raises(HTTPError, match=error_msg): + _load_data() + + +@pytest.mark.parametrize("gzip_response", [True, False]) +def test_fetch_openml_cache(monkeypatch, gzip_response, tmpdir): + def _mock_urlopen_raise(request, *args, **kwargs): + raise ValueError( + "This mechanism intends to test correct cache" + "handling. As such, urlopen should never be " + "accessed. URL: %s" % request.get_full_url() + ) + + data_id = 61 + cache_directory = str(tmpdir.mkdir("scikit_learn_data")) + _monkey_patch_webbased_functions(monkeypatch, data_id, gzip_response) + X_fetched, y_fetched = fetch_openml( + data_id=data_id, + cache=True, + data_home=cache_directory, + return_X_y=True, + as_frame=False, + parser="liac-arff", + ) + + monkeypatch.setattr(sklearn.datasets._openml, "urlopen", _mock_urlopen_raise) + + X_cached, y_cached = fetch_openml( + data_id=data_id, + cache=True, + data_home=cache_directory, + return_X_y=True, + as_frame=False, + parser="liac-arff", + ) + np.testing.assert_array_equal(X_fetched, X_cached) + np.testing.assert_array_equal(y_fetched, y_cached) + + +@pytest.mark.parametrize( + "as_frame, parser", + [ + (True, "liac-arff"), + (False, "liac-arff"), + (True, "pandas"), + (False, "pandas"), + ], +) +def test_fetch_openml_verify_checksum(monkeypatch, as_frame, tmpdir, parser): + """Check that the checksum is working as expected.""" + if as_frame or parser == "pandas": + pytest.importorskip("pandas") + + data_id = 2 + _monkey_patch_webbased_functions(monkeypatch, data_id, True) + + # create a temporary modified arff file + original_data_module = OPENML_TEST_DATA_MODULE + "." + f"id_{data_id}" + original_data_file_name = "data-v1-dl-1666876.arff.gz" + original_data_path = resources.files(original_data_module) / original_data_file_name + corrupt_copy_path = tmpdir / "test_invalid_checksum.arff" + with original_data_path.open("rb") as orig_file: + orig_gzip = gzip.open(orig_file, "rb") + data = bytearray(orig_gzip.read()) + data[len(data) - 1] = 37 + + with gzip.GzipFile(corrupt_copy_path, "wb") as modified_gzip: + modified_gzip.write(data) + + # Requests are already mocked by monkey_patch_webbased_functions. + # We want to reuse that mock for all requests except file download, + # hence creating a thin mock over the original mock + mocked_openml_url = sklearn.datasets._openml.urlopen + + def swap_file_mock(request, *args, **kwargs): + url = request.get_full_url() + if url.endswith("data/v1/download/1666876/anneal.arff"): + with open(corrupt_copy_path, "rb") as f: + corrupted_data = f.read() + return _MockHTTPResponse(BytesIO(corrupted_data), is_gzip=True) + else: + return mocked_openml_url(request) + + monkeypatch.setattr(sklearn.datasets._openml, "urlopen", swap_file_mock) + + # validate failed checksum + with pytest.raises(ValueError) as exc: + sklearn.datasets.fetch_openml( + data_id=data_id, cache=False, as_frame=as_frame, parser=parser + ) + # exception message should have file-path + assert exc.match("1666876") + + +def test_open_openml_url_retry_on_network_error(monkeypatch): + def _mock_urlopen_network_error(request, *args, **kwargs): + raise HTTPError( + url=None, code=404, msg="Simulated network error", hdrs=None, fp=BytesIO() + ) + + monkeypatch.setattr( + sklearn.datasets._openml, "urlopen", _mock_urlopen_network_error + ) + + invalid_openml_url = "https://api.openml.org/invalid-url" + + with pytest.warns( + UserWarning, + match=re.escape( + "A network error occurred while downloading" + f" {invalid_openml_url}. Retrying..." + ), + ) as record: + with pytest.raises(HTTPError, match="Simulated network error") as exc_info: + _open_openml_url(invalid_openml_url, None, delay=0) + assert len(record) == 3 + # Avoid a ResourceWarning on Python 3.14 and later. + exc_info.value.close() + + +############################################################################### +# Non-regressiont tests + + +@pytest.mark.parametrize("gzip_response", [True, False]) +@pytest.mark.parametrize("parser", ("liac-arff", "pandas")) +def test_fetch_openml_with_ignored_feature(monkeypatch, gzip_response, parser): + """Check that we can load the "zoo" dataset. + Non-regression test for: + https://github.com/scikit-learn/scikit-learn/issues/14340 + """ + if parser == "pandas": + pytest.importorskip("pandas") + data_id = 62 + _monkey_patch_webbased_functions(monkeypatch, data_id, gzip_response) + + dataset = sklearn.datasets.fetch_openml( + data_id=data_id, cache=False, as_frame=False, parser=parser + ) + assert dataset is not None + # The dataset has 17 features, including 1 ignored (animal), + # so we assert that we don't have the ignored feature in the final Bunch + assert dataset["data"].shape == (101, 16) + assert "animal" not in dataset["feature_names"] + + +def test_fetch_openml_strip_quotes(monkeypatch): + """Check that we strip the single quotes when used as a string delimiter. + + Non-regression test for: + https://github.com/scikit-learn/scikit-learn/issues/23381 + """ + pd = pytest.importorskip("pandas") + data_id = 40966 + _monkey_patch_webbased_functions(monkeypatch, data_id=data_id, gzip_response=False) + + common_params = {"as_frame": True, "cache": False, "data_id": data_id} + mice_pandas = fetch_openml(parser="pandas", **common_params) + mice_liac_arff = fetch_openml(parser="liac-arff", **common_params) + pd.testing.assert_series_equal(mice_pandas.target, mice_liac_arff.target) + assert not mice_pandas.target.str.startswith("'").any() + assert not mice_pandas.target.str.endswith("'").any() + + # similar behaviour should be observed when the column is not the target + mice_pandas = fetch_openml(parser="pandas", target_column="NUMB_N", **common_params) + mice_liac_arff = fetch_openml( + parser="liac-arff", target_column="NUMB_N", **common_params + ) + pd.testing.assert_series_equal( + mice_pandas.frame["class"], mice_liac_arff.frame["class"] + ) + assert not mice_pandas.frame["class"].str.startswith("'").any() + assert not mice_pandas.frame["class"].str.endswith("'").any() + + +def test_fetch_openml_leading_whitespace(monkeypatch): + """Check that we can strip leading whitespace in pandas parser. + + Non-regression test for: + https://github.com/scikit-learn/scikit-learn/issues/25311 + """ + pd = pytest.importorskip("pandas") + data_id = 1590 + _monkey_patch_webbased_functions(monkeypatch, data_id=data_id, gzip_response=False) + + common_params = {"as_frame": True, "cache": False, "data_id": data_id} + adult_pandas = fetch_openml(parser="pandas", **common_params) + adult_liac_arff = fetch_openml(parser="liac-arff", **common_params) + pd.testing.assert_series_equal( + adult_pandas.frame["class"], adult_liac_arff.frame["class"] + ) + + +def test_fetch_openml_quotechar_escapechar(monkeypatch): + """Check that we can handle escapechar and single/double quotechar. + + Non-regression test for: + https://github.com/scikit-learn/scikit-learn/issues/25478 + """ + pd = pytest.importorskip("pandas") + data_id = 42074 + _monkey_patch_webbased_functions(monkeypatch, data_id=data_id, gzip_response=False) + + common_params = {"as_frame": True, "cache": False, "data_id": data_id} + adult_pandas = fetch_openml(parser="pandas", **common_params) + adult_liac_arff = fetch_openml(parser="liac-arff", **common_params) + pd.testing.assert_frame_equal(adult_pandas.frame, adult_liac_arff.frame) diff --git a/shared/package-files/24/243b231c639f70b7ee8d8b166f9f3fe40986a5e8123768448e1d5091af3a6799/reproc++-config-version.cmake b/shared/package-files/24/243b231c639f70b7ee8d8b166f9f3fe40986a5e8123768448e1d5091af3a6799/reproc++-config-version.cmake new file mode 100644 index 0000000000000000000000000000000000000000..bf1e488816946c0d37576f5eeadaee5d4d5fa00d --- /dev/null +++ b/shared/package-files/24/243b231c639f70b7ee8d8b166f9f3fe40986a5e8123768448e1d5091af3a6799/reproc++-config-version.cmake @@ -0,0 +1,70 @@ +# This is a basic version file for the Config-mode of find_package(). +# It is used by write_basic_package_version_file() as input file for configure_file() +# to create a version-file which can be installed along a config.cmake file. +# +# The created file sets PACKAGE_VERSION_EXACT if the current version string and +# the requested version string are exactly the same and it sets +# PACKAGE_VERSION_COMPATIBLE if the current version is >= requested version, +# but only if the requested major version is the same as the current one. +# The variable CVF_VERSION must be set before calling configure_file(). + + +set(PACKAGE_VERSION "14.2.4") + +if(PACKAGE_VERSION VERSION_LESS PACKAGE_FIND_VERSION) + set(PACKAGE_VERSION_COMPATIBLE FALSE) +else() + + if("14.2.4" MATCHES "^([0-9]+)\\.") + set(CVF_VERSION_MAJOR "${CMAKE_MATCH_1}") + if(NOT CVF_VERSION_MAJOR VERSION_EQUAL 0) + string(REGEX REPLACE "^0+" "" CVF_VERSION_MAJOR "${CVF_VERSION_MAJOR}") + endif() + else() + set(CVF_VERSION_MAJOR "14.2.4") + endif() + + if(PACKAGE_FIND_VERSION_RANGE) + # both endpoints of the range must have the expected major version + math (EXPR CVF_VERSION_MAJOR_NEXT "${CVF_VERSION_MAJOR} + 1") + if (NOT PACKAGE_FIND_VERSION_MIN_MAJOR STREQUAL CVF_VERSION_MAJOR + OR ((PACKAGE_FIND_VERSION_RANGE_MAX STREQUAL "INCLUDE" AND NOT PACKAGE_FIND_VERSION_MAX_MAJOR STREQUAL CVF_VERSION_MAJOR) + OR (PACKAGE_FIND_VERSION_RANGE_MAX STREQUAL "EXCLUDE" AND NOT PACKAGE_FIND_VERSION_MAX VERSION_LESS_EQUAL CVF_VERSION_MAJOR_NEXT))) + set(PACKAGE_VERSION_COMPATIBLE FALSE) + elseif(PACKAGE_FIND_VERSION_MIN_MAJOR STREQUAL CVF_VERSION_MAJOR + AND ((PACKAGE_FIND_VERSION_RANGE_MAX STREQUAL "INCLUDE" AND PACKAGE_VERSION VERSION_LESS_EQUAL PACKAGE_FIND_VERSION_MAX) + OR (PACKAGE_FIND_VERSION_RANGE_MAX STREQUAL "EXCLUDE" AND PACKAGE_VERSION VERSION_LESS PACKAGE_FIND_VERSION_MAX))) + set(PACKAGE_VERSION_COMPATIBLE TRUE) + else() + set(PACKAGE_VERSION_COMPATIBLE FALSE) + endif() + else() + if(PACKAGE_FIND_VERSION_MAJOR STREQUAL CVF_VERSION_MAJOR) + set(PACKAGE_VERSION_COMPATIBLE TRUE) + else() + set(PACKAGE_VERSION_COMPATIBLE FALSE) + endif() + + if(PACKAGE_FIND_VERSION STREQUAL PACKAGE_VERSION) + set(PACKAGE_VERSION_EXACT TRUE) + endif() + endif() +endif() + + +# if the installed project requested no architecture check, don't perform the check +if("FALSE") + return() +endif() + +# if the installed or the using project don't have CMAKE_SIZEOF_VOID_P set, ignore it: +if("${CMAKE_SIZEOF_VOID_P}" STREQUAL "" OR "8" STREQUAL "") + return() +endif() + +# check that the installed version has the same 32/64bit-ness as the one which is currently searching: +if(NOT CMAKE_SIZEOF_VOID_P STREQUAL "8") + math(EXPR installedBits "8 * 8") + set(PACKAGE_VERSION "${PACKAGE_VERSION} (${installedBits}bit)") + set(PACKAGE_VERSION_UNSUITABLE TRUE) +endif() diff --git a/shared/package-files/24/243b231c639f70b7ee8d8b166f9f3fe40986a5e8123768448e1d5091af3a6799/reproc-config-version.cmake b/shared/package-files/24/243b231c639f70b7ee8d8b166f9f3fe40986a5e8123768448e1d5091af3a6799/reproc-config-version.cmake new file mode 100644 index 0000000000000000000000000000000000000000..bf1e488816946c0d37576f5eeadaee5d4d5fa00d --- /dev/null +++ b/shared/package-files/24/243b231c639f70b7ee8d8b166f9f3fe40986a5e8123768448e1d5091af3a6799/reproc-config-version.cmake @@ -0,0 +1,70 @@ +# This is a basic version file for the Config-mode of find_package(). +# It is used by write_basic_package_version_file() as input file for configure_file() +# to create a version-file which can be installed along a config.cmake file. +# +# The created file sets PACKAGE_VERSION_EXACT if the current version string and +# the requested version string are exactly the same and it sets +# PACKAGE_VERSION_COMPATIBLE if the current version is >= requested version, +# but only if the requested major version is the same as the current one. +# The variable CVF_VERSION must be set before calling configure_file(). + + +set(PACKAGE_VERSION "14.2.4") + +if(PACKAGE_VERSION VERSION_LESS PACKAGE_FIND_VERSION) + set(PACKAGE_VERSION_COMPATIBLE FALSE) +else() + + if("14.2.4" MATCHES "^([0-9]+)\\.") + set(CVF_VERSION_MAJOR "${CMAKE_MATCH_1}") + if(NOT CVF_VERSION_MAJOR VERSION_EQUAL 0) + string(REGEX REPLACE "^0+" "" CVF_VERSION_MAJOR "${CVF_VERSION_MAJOR}") + endif() + else() + set(CVF_VERSION_MAJOR "14.2.4") + endif() + + if(PACKAGE_FIND_VERSION_RANGE) + # both endpoints of the range must have the expected major version + math (EXPR CVF_VERSION_MAJOR_NEXT "${CVF_VERSION_MAJOR} + 1") + if (NOT PACKAGE_FIND_VERSION_MIN_MAJOR STREQUAL CVF_VERSION_MAJOR + OR ((PACKAGE_FIND_VERSION_RANGE_MAX STREQUAL "INCLUDE" AND NOT PACKAGE_FIND_VERSION_MAX_MAJOR STREQUAL CVF_VERSION_MAJOR) + OR (PACKAGE_FIND_VERSION_RANGE_MAX STREQUAL "EXCLUDE" AND NOT PACKAGE_FIND_VERSION_MAX VERSION_LESS_EQUAL CVF_VERSION_MAJOR_NEXT))) + set(PACKAGE_VERSION_COMPATIBLE FALSE) + elseif(PACKAGE_FIND_VERSION_MIN_MAJOR STREQUAL CVF_VERSION_MAJOR + AND ((PACKAGE_FIND_VERSION_RANGE_MAX STREQUAL "INCLUDE" AND PACKAGE_VERSION VERSION_LESS_EQUAL PACKAGE_FIND_VERSION_MAX) + OR (PACKAGE_FIND_VERSION_RANGE_MAX STREQUAL "EXCLUDE" AND PACKAGE_VERSION VERSION_LESS PACKAGE_FIND_VERSION_MAX))) + set(PACKAGE_VERSION_COMPATIBLE TRUE) + else() + set(PACKAGE_VERSION_COMPATIBLE FALSE) + endif() + else() + if(PACKAGE_FIND_VERSION_MAJOR STREQUAL CVF_VERSION_MAJOR) + set(PACKAGE_VERSION_COMPATIBLE TRUE) + else() + set(PACKAGE_VERSION_COMPATIBLE FALSE) + endif() + + if(PACKAGE_FIND_VERSION STREQUAL PACKAGE_VERSION) + set(PACKAGE_VERSION_EXACT TRUE) + endif() + endif() +endif() + + +# if the installed project requested no architecture check, don't perform the check +if("FALSE") + return() +endif() + +# if the installed or the using project don't have CMAKE_SIZEOF_VOID_P set, ignore it: +if("${CMAKE_SIZEOF_VOID_P}" STREQUAL "" OR "8" STREQUAL "") + return() +endif() + +# check that the installed version has the same 32/64bit-ness as the one which is currently searching: +if(NOT CMAKE_SIZEOF_VOID_P STREQUAL "8") + math(EXPR installedBits "8 * 8") + set(PACKAGE_VERSION "${PACKAGE_VERSION} (${installedBits}bit)") + set(PACKAGE_VERSION_UNSUITABLE TRUE) +endif() diff --git a/shared/package-files/24/243b94504f86c8f6a190d9c364b58d1f20262769493c29cbb885057c79233330/fujitsuccompiler.py b/shared/package-files/24/243b94504f86c8f6a190d9c364b58d1f20262769493c29cbb885057c79233330/fujitsuccompiler.py new file mode 100644 index 0000000000000000000000000000000000000000..c25900b34f1ddad3274d9eca1fb4369b39f7437a --- /dev/null +++ b/shared/package-files/24/243b94504f86c8f6a190d9c364b58d1f20262769493c29cbb885057c79233330/fujitsuccompiler.py @@ -0,0 +1,28 @@ +from distutils.unixccompiler import UnixCCompiler + +class FujitsuCCompiler(UnixCCompiler): + + """ + Fujitsu compiler. + """ + + compiler_type = 'fujitsu' + cc_exe = 'fcc' + cxx_exe = 'FCC' + + def __init__(self, verbose=0, dry_run=0, force=0): + UnixCCompiler.__init__(self, verbose, dry_run, force) + cc_compiler = self.cc_exe + cxx_compiler = self.cxx_exe + self.set_executables( + compiler=cc_compiler + + ' -O3 -Nclang -fPIC', + compiler_so=cc_compiler + + ' -O3 -Nclang -fPIC', + compiler_cxx=cxx_compiler + + ' -O3 -Nclang -fPIC', + linker_exe=cc_compiler + + ' -lfj90i -lfj90f -lfjsrcinfo -lelf -shared', + linker_so=cc_compiler + + ' -lfj90i -lfj90f -lfjsrcinfo -lelf -shared' + ) diff --git a/shared/package-files/24/243d45e43b41d84a74d19255a6296096e96a2adeac4c1c2eee14bf0a6c3609e9/THConcat.h b/shared/package-files/24/243d45e43b41d84a74d19255a6296096e96a2adeac4c1c2eee14bf0a6c3609e9/THConcat.h new file mode 100644 index 0000000000000000000000000000000000000000..23512f1bce424865d82fc47f8af58740845b8ff4 --- /dev/null +++ b/shared/package-files/24/243d45e43b41d84a74d19255a6296096e96a2adeac4c1c2eee14bf0a6c3609e9/THConcat.h @@ -0,0 +1,19 @@ +#pragma once + +#define TH_CONCAT_STRING_2(x, y) TH_CONCAT_STRING_2_EXPAND(x, y) +#define TH_CONCAT_STRING_2_EXPAND(x, y) #x #y + +#define TH_CONCAT_STRING_3(x, y, z) TH_CONCAT_STRING_3_EXPAND(x, y, z) +#define TH_CONCAT_STRING_3_EXPAND(x, y, z) #x #y #z + +#define TH_CONCAT_STRING_4(x, y, z, w) TH_CONCAT_STRING_4_EXPAND(x, y, z, w) +#define TH_CONCAT_STRING_4_EXPAND(x, y, z, w) #x #y #z #w + +#define TH_CONCAT_2(x, y) TH_CONCAT_2_EXPAND(x, y) +#define TH_CONCAT_2_EXPAND(x, y) x##y + +#define TH_CONCAT_3(x, y, z) TH_CONCAT_3_EXPAND(x, y, z) +#define TH_CONCAT_3_EXPAND(x, y, z) x##y##z + +#define TH_CONCAT_4_EXPAND(x, y, z, w) x##y##z##w +#define TH_CONCAT_4(x, y, z, w) TH_CONCAT_4_EXPAND(x, y, z, w) diff --git a/shared/package-files/24/243de318102a4474586f58da6e5ae9abf44542f62d61fc2d2083c9810a5b28f7/axes_divider.py b/shared/package-files/24/243de318102a4474586f58da6e5ae9abf44542f62d61fc2d2083c9810a5b28f7/axes_divider.py new file mode 100644 index 0000000000000000000000000000000000000000..50365f482b725d3be435ddd14d9729d30b343124 --- /dev/null +++ b/shared/package-files/24/243de318102a4474586f58da6e5ae9abf44542f62d61fc2d2083c9810a5b28f7/axes_divider.py @@ -0,0 +1,618 @@ +""" +Helper classes to adjust the positions of multiple axes at drawing time. +""" + +import functools + +import numpy as np + +import matplotlib as mpl +from matplotlib import _api +from matplotlib.gridspec import SubplotSpec +import matplotlib.transforms as mtransforms +from . import axes_size as Size + + +class Divider: + """ + An Axes positioning class. + + The divider is initialized with lists of horizontal and vertical sizes + (:mod:`mpl_toolkits.axes_grid1.axes_size`) based on which a given + rectangular area will be divided. + + The `new_locator` method then creates a callable object + that can be used as the *axes_locator* of the axes. + """ + + def __init__(self, fig, pos, horizontal, vertical, + aspect=None, anchor="C"): + """ + Parameters + ---------- + fig : Figure + pos : tuple of 4 floats + Position of the rectangle that will be divided. + horizontal : list of :mod:`~mpl_toolkits.axes_grid1.axes_size` + Sizes for horizontal division. + vertical : list of :mod:`~mpl_toolkits.axes_grid1.axes_size` + Sizes for vertical division. + aspect : bool, optional + Whether overall rectangular area is reduced so that the relative + part of the horizontal and vertical scales have the same scale. + anchor : (float, float) or {'C', 'SW', 'S', 'SE', 'E', 'NE', 'N', \ +'NW', 'W'}, default: 'C' + Placement of the reduced rectangle, when *aspect* is True. + """ + + self._fig = fig + self._pos = pos + self._horizontal = horizontal + self._vertical = vertical + self._anchor = anchor + self.set_anchor(anchor) + self._aspect = aspect + self._xrefindex = 0 + self._yrefindex = 0 + self._locator = None + + def get_horizontal_sizes(self, renderer): + return np.array([s.get_size(renderer) for s in self.get_horizontal()]) + + def get_vertical_sizes(self, renderer): + return np.array([s.get_size(renderer) for s in self.get_vertical()]) + + def set_position(self, pos): + """ + Set the position of the rectangle. + + Parameters + ---------- + pos : tuple of 4 floats + position of the rectangle that will be divided + """ + self._pos = pos + + def get_position(self): + """Return the position of the rectangle.""" + return self._pos + + def set_anchor(self, anchor): + """ + Parameters + ---------- + anchor : (float, float) or {'C', 'SW', 'S', 'SE', 'E', 'NE', 'N', \ +'NW', 'W'} + Either an (*x*, *y*) pair of relative coordinates (0 is left or + bottom, 1 is right or top), 'C' (center), or a cardinal direction + ('SW', southwest, is bottom left, etc.). + + See Also + -------- + .Axes.set_anchor + """ + if isinstance(anchor, str): + _api.check_in_list(mtransforms.Bbox.coefs, anchor=anchor) + elif not isinstance(anchor, (tuple, list)) or len(anchor) != 2: + raise TypeError("anchor must be str or 2-tuple") + self._anchor = anchor + + def get_anchor(self): + """Return the anchor.""" + return self._anchor + + def get_subplotspec(self): + return None + + def set_horizontal(self, h): + """ + Parameters + ---------- + h : list of :mod:`~mpl_toolkits.axes_grid1.axes_size` + sizes for horizontal division + """ + self._horizontal = h + + def get_horizontal(self): + """Return horizontal sizes.""" + return self._horizontal + + def set_vertical(self, v): + """ + Parameters + ---------- + v : list of :mod:`~mpl_toolkits.axes_grid1.axes_size` + sizes for vertical division + """ + self._vertical = v + + def get_vertical(self): + """Return vertical sizes.""" + return self._vertical + + def set_aspect(self, aspect=False): + """ + Parameters + ---------- + aspect : bool + """ + self._aspect = aspect + + def get_aspect(self): + """Return aspect.""" + return self._aspect + + def set_locator(self, _locator): + self._locator = _locator + + def get_locator(self): + return self._locator + + def get_position_runtime(self, ax, renderer): + if self._locator is None: + return self.get_position() + else: + return self._locator(ax, renderer).bounds + + @staticmethod + def _calc_k(sizes, total): + # sizes is a (n, 2) array of (rel_size, abs_size); this method finds + # the k factor such that sum(rel_size * k + abs_size) == total. + rel_sum, abs_sum = sizes.sum(0) + return (total - abs_sum) / rel_sum if rel_sum else 0 + + @staticmethod + def _calc_offsets(sizes, k): + # Apply k factors to (n, 2) sizes array of (rel_size, abs_size); return + # the resulting cumulative offset positions. + return np.cumsum([0, *(sizes @ [k, 1])]) + + def new_locator(self, nx, ny, nx1=None, ny1=None): + """ + Return an axes locator callable for the specified cell. + + Parameters + ---------- + nx, nx1 : int + Integers specifying the column-position of the + cell. When *nx1* is None, a single *nx*-th column is + specified. Otherwise, location of columns spanning between *nx* + to *nx1* (but excluding *nx1*-th column) is specified. + ny, ny1 : int + Same as *nx* and *nx1*, but for row positions. + """ + if nx1 is None: + nx1 = nx + 1 + if ny1 is None: + ny1 = ny + 1 + # append_size("left") adds a new size at the beginning of the + # horizontal size lists; this shift transforms e.g. + # new_locator(nx=2, ...) into effectively new_locator(nx=3, ...). To + # take that into account, instead of recording nx, we record + # nx-self._xrefindex, where _xrefindex is shifted by 1 by each + # append_size("left"), and re-add self._xrefindex back to nx in + # _locate, when the actual axes position is computed. Ditto for y. + xref = self._xrefindex + yref = self._yrefindex + locator = functools.partial( + self._locate, nx - xref, ny - yref, nx1 - xref, ny1 - yref) + locator.get_subplotspec = self.get_subplotspec + return locator + + def _locate(self, nx, ny, nx1, ny1, axes, renderer): + """ + Implementation of ``divider.new_locator().__call__``. + + The axes locator callable returned by ``new_locator()`` is created as + a `functools.partial` of this method with *nx*, *ny*, *nx1*, and *ny1* + specifying the requested cell. + """ + nx += self._xrefindex + nx1 += self._xrefindex + ny += self._yrefindex + ny1 += self._yrefindex + + fig_w, fig_h = self._fig.bbox.size / self._fig.dpi + x, y, w, h = self.get_position_runtime(axes, renderer) + + hsizes = self.get_horizontal_sizes(renderer) + vsizes = self.get_vertical_sizes(renderer) + k_h = self._calc_k(hsizes, fig_w * w) + k_v = self._calc_k(vsizes, fig_h * h) + + if self.get_aspect(): + k = min(k_h, k_v) + ox = self._calc_offsets(hsizes, k) + oy = self._calc_offsets(vsizes, k) + + ww = (ox[-1] - ox[0]) / fig_w + hh = (oy[-1] - oy[0]) / fig_h + pb = mtransforms.Bbox.from_bounds(x, y, w, h) + pb1 = mtransforms.Bbox.from_bounds(x, y, ww, hh) + x0, y0 = pb1.anchored(self.get_anchor(), pb).p0 + + else: + ox = self._calc_offsets(hsizes, k_h) + oy = self._calc_offsets(vsizes, k_v) + x0, y0 = x, y + + if nx1 is None: + nx1 = -1 + if ny1 is None: + ny1 = -1 + + x1, w1 = x0 + ox[nx] / fig_w, (ox[nx1] - ox[nx]) / fig_w + y1, h1 = y0 + oy[ny] / fig_h, (oy[ny1] - oy[ny]) / fig_h + + return mtransforms.Bbox.from_bounds(x1, y1, w1, h1) + + def append_size(self, position, size): + _api.check_in_list(["left", "right", "bottom", "top"], + position=position) + if position == "left": + self._horizontal.insert(0, size) + self._xrefindex += 1 + elif position == "right": + self._horizontal.append(size) + elif position == "bottom": + self._vertical.insert(0, size) + self._yrefindex += 1 + else: # 'top' + self._vertical.append(size) + + def add_auto_adjustable_area(self, use_axes, pad=0.1, adjust_dirs=None): + """ + Add auto-adjustable padding around *use_axes* to take their decorations + (title, labels, ticks, ticklabels) into account during layout. + + Parameters + ---------- + use_axes : `~matplotlib.axes.Axes` or list of `~matplotlib.axes.Axes` + The Axes whose decorations are taken into account. + pad : float, default: 0.1 + Additional padding in inches. + adjust_dirs : list of {"left", "right", "bottom", "top"}, optional + The sides where padding is added; defaults to all four sides. + """ + if adjust_dirs is None: + adjust_dirs = ["left", "right", "bottom", "top"] + for d in adjust_dirs: + self.append_size(d, Size._AxesDecorationsSize(use_axes, d) + pad) + + +class SubplotDivider(Divider): + """ + The Divider class whose rectangle area is specified as a subplot geometry. + """ + + def __init__(self, fig, *args, horizontal=None, vertical=None, + aspect=None, anchor='C'): + """ + Parameters + ---------- + fig : `~matplotlib.figure.Figure` + + *args : tuple (*nrows*, *ncols*, *index*) or int + The array of subplots in the figure has dimensions ``(nrows, + ncols)``, and *index* is the index of the subplot being created. + *index* starts at 1 in the upper left corner and increases to the + right. + + If *nrows*, *ncols*, and *index* are all single digit numbers, then + *args* can be passed as a single 3-digit number (e.g. 234 for + (2, 3, 4)). + horizontal : list of :mod:`~mpl_toolkits.axes_grid1.axes_size`, optional + Sizes for horizontal division. + vertical : list of :mod:`~mpl_toolkits.axes_grid1.axes_size`, optional + Sizes for vertical division. + aspect : bool, optional + Whether overall rectangular area is reduced so that the relative + part of the horizontal and vertical scales have the same scale. + anchor : (float, float) or {'C', 'SW', 'S', 'SE', 'E', 'NE', 'N', \ +'NW', 'W'}, default: 'C' + Placement of the reduced rectangle, when *aspect* is True. + """ + self.figure = fig + super().__init__(fig, [0, 0, 1, 1], + horizontal=horizontal or [], vertical=vertical or [], + aspect=aspect, anchor=anchor) + self.set_subplotspec(SubplotSpec._from_subplot_args(fig, args)) + + def get_position(self): + """Return the bounds of the subplot box.""" + return self.get_subplotspec().get_position(self.figure).bounds + + def get_subplotspec(self): + """Get the SubplotSpec instance.""" + return self._subplotspec + + def set_subplotspec(self, subplotspec): + """Set the SubplotSpec instance.""" + self._subplotspec = subplotspec + self.set_position(subplotspec.get_position(self.figure)) + + +class AxesDivider(Divider): + """ + Divider based on the preexisting axes. + """ + + def __init__(self, axes, xref=None, yref=None): + """ + Parameters + ---------- + axes : :class:`~matplotlib.axes.Axes` + xref + yref + """ + self._axes = axes + if xref is None: + self._xref = Size.AxesX(axes) + else: + self._xref = xref + if yref is None: + self._yref = Size.AxesY(axes) + else: + self._yref = yref + + super().__init__(fig=axes.get_figure(), pos=None, + horizontal=[self._xref], vertical=[self._yref], + aspect=None, anchor="C") + + def _get_new_axes(self, *, axes_class=None, **kwargs): + axes = self._axes + if axes_class is None: + axes_class = type(axes) + return axes_class(axes.get_figure(), axes.get_position(original=True), + **kwargs) + + def new_horizontal(self, size, pad=None, pack_start=False, **kwargs): + """ + Helper method for ``append_axes("left")`` and ``append_axes("right")``. + + See the documentation of `append_axes` for more details. + + :meta private: + """ + if pad is None: + pad = mpl.rcParams["figure.subplot.wspace"] * self._xref + pos = "left" if pack_start else "right" + if pad: + if not isinstance(pad, Size._Base): + pad = Size.from_any(pad, fraction_ref=self._xref) + self.append_size(pos, pad) + if not isinstance(size, Size._Base): + size = Size.from_any(size, fraction_ref=self._xref) + self.append_size(pos, size) + locator = self.new_locator( + nx=0 if pack_start else len(self._horizontal) - 1, + ny=self._yrefindex) + ax = self._get_new_axes(**kwargs) + ax.set_axes_locator(locator) + return ax + + def new_vertical(self, size, pad=None, pack_start=False, **kwargs): + """ + Helper method for ``append_axes("top")`` and ``append_axes("bottom")``. + + See the documentation of `append_axes` for more details. + + :meta private: + """ + if pad is None: + pad = mpl.rcParams["figure.subplot.hspace"] * self._yref + pos = "bottom" if pack_start else "top" + if pad: + if not isinstance(pad, Size._Base): + pad = Size.from_any(pad, fraction_ref=self._yref) + self.append_size(pos, pad) + if not isinstance(size, Size._Base): + size = Size.from_any(size, fraction_ref=self._yref) + self.append_size(pos, size) + locator = self.new_locator( + nx=self._xrefindex, + ny=0 if pack_start else len(self._vertical) - 1) + ax = self._get_new_axes(**kwargs) + ax.set_axes_locator(locator) + return ax + + def append_axes(self, position, size, pad=None, *, axes_class=None, + **kwargs): + """ + Add a new axes on a given side of the main axes. + + Parameters + ---------- + position : {"left", "right", "bottom", "top"} + Where the new axes is positioned relative to the main axes. + size : :mod:`~mpl_toolkits.axes_grid1.axes_size` or float or str + The axes width or height. float or str arguments are interpreted + as ``axes_size.from_any(size, AxesX())`` for left or + right axes, and likewise with ``AxesY`` for bottom or top axes. + pad : :mod:`~mpl_toolkits.axes_grid1.axes_size` or float or str + Padding between the axes. float or str arguments are interpreted + as for *size*. Defaults to :rc:`figure.subplot.wspace` times the + main Axes width (left or right axes) or :rc:`figure.subplot.hspace` + times the main Axes height (bottom or top axes). + axes_class : subclass type of `~.axes.Axes`, optional + The type of the new axes. Defaults to the type of the main axes. + **kwargs + All extra keywords arguments are passed to the created axes. + """ + create_axes, pack_start = _api.check_getitem({ + "left": (self.new_horizontal, True), + "right": (self.new_horizontal, False), + "bottom": (self.new_vertical, True), + "top": (self.new_vertical, False), + }, position=position) + ax = create_axes( + size, pad, pack_start=pack_start, axes_class=axes_class, **kwargs) + self._fig.add_axes(ax) + return ax + + def get_aspect(self): + if self._aspect is None: + aspect = self._axes.get_aspect() + if aspect == "auto": + return False + else: + return True + else: + return self._aspect + + def get_position(self): + if self._pos is None: + bbox = self._axes.get_position(original=True) + return bbox.bounds + else: + return self._pos + + def get_anchor(self): + if self._anchor is None: + return self._axes.get_anchor() + else: + return self._anchor + + def get_subplotspec(self): + return self._axes.get_subplotspec() + + +# Helper for HBoxDivider/VBoxDivider. +# The variable names are written for a horizontal layout, but the calculations +# work identically for vertical layouts. +def _locate(x, y, w, h, summed_widths, equal_heights, fig_w, fig_h, anchor): + + total_width = fig_w * w + max_height = fig_h * h + + # Determine the k factors. + n = len(equal_heights) + eq_rels, eq_abss = equal_heights.T + sm_rels, sm_abss = summed_widths.T + A = np.diag([*eq_rels, 0]) + A[:n, -1] = -1 + A[-1, :-1] = sm_rels + B = [*(-eq_abss), total_width - sm_abss.sum()] + # A @ K = B: This finds factors {k_0, ..., k_{N-1}, H} so that + # eq_rel_i * k_i + eq_abs_i = H for all i: all axes have the same height + # sum(sm_rel_i * k_i + sm_abs_i) = total_width: fixed total width + # (foo_rel_i * k_i + foo_abs_i will end up being the size of foo.) + *karray, height = np.linalg.solve(A, B) + if height > max_height: # Additionally, upper-bound the height. + karray = (max_height - eq_abss) / eq_rels + + # Compute the offsets corresponding to these factors. + ox = np.cumsum([0, *(sm_rels * karray + sm_abss)]) + ww = (ox[-1] - ox[0]) / fig_w + h0_rel, h0_abs = equal_heights[0] + hh = (karray[0]*h0_rel + h0_abs) / fig_h + pb = mtransforms.Bbox.from_bounds(x, y, w, h) + pb1 = mtransforms.Bbox.from_bounds(x, y, ww, hh) + x0, y0 = pb1.anchored(anchor, pb).p0 + + return x0, y0, ox, hh + + +class HBoxDivider(SubplotDivider): + """ + A `.SubplotDivider` for laying out axes horizontally, while ensuring that + they have equal heights. + + Examples + -------- + .. plot:: gallery/axes_grid1/demo_axes_hbox_divider.py + """ + + def new_locator(self, nx, nx1=None): + """ + Create an axes locator callable for the specified cell. + + Parameters + ---------- + nx, nx1 : int + Integers specifying the column-position of the + cell. When *nx1* is None, a single *nx*-th column is + specified. Otherwise, location of columns spanning between *nx* + to *nx1* (but excluding *nx1*-th column) is specified. + """ + return super().new_locator(nx, 0, nx1, 0) + + def _locate(self, nx, ny, nx1, ny1, axes, renderer): + # docstring inherited + nx += self._xrefindex + nx1 += self._xrefindex + fig_w, fig_h = self._fig.bbox.size / self._fig.dpi + x, y, w, h = self.get_position_runtime(axes, renderer) + summed_ws = self.get_horizontal_sizes(renderer) + equal_hs = self.get_vertical_sizes(renderer) + x0, y0, ox, hh = _locate( + x, y, w, h, summed_ws, equal_hs, fig_w, fig_h, self.get_anchor()) + if nx1 is None: + nx1 = -1 + x1, w1 = x0 + ox[nx] / fig_w, (ox[nx1] - ox[nx]) / fig_w + y1, h1 = y0, hh + return mtransforms.Bbox.from_bounds(x1, y1, w1, h1) + + +class VBoxDivider(SubplotDivider): + """ + A `.SubplotDivider` for laying out axes vertically, while ensuring that + they have equal widths. + """ + + def new_locator(self, ny, ny1=None): + """ + Create an axes locator callable for the specified cell. + + Parameters + ---------- + ny, ny1 : int + Integers specifying the row-position of the + cell. When *ny1* is None, a single *ny*-th row is + specified. Otherwise, location of rows spanning between *ny* + to *ny1* (but excluding *ny1*-th row) is specified. + """ + return super().new_locator(0, ny, 0, ny1) + + def _locate(self, nx, ny, nx1, ny1, axes, renderer): + # docstring inherited + ny += self._yrefindex + ny1 += self._yrefindex + fig_w, fig_h = self._fig.bbox.size / self._fig.dpi + x, y, w, h = self.get_position_runtime(axes, renderer) + summed_hs = self.get_vertical_sizes(renderer) + equal_ws = self.get_horizontal_sizes(renderer) + y0, x0, oy, ww = _locate( + y, x, h, w, summed_hs, equal_ws, fig_h, fig_w, self.get_anchor()) + if ny1 is None: + ny1 = -1 + x1, w1 = x0, ww + y1, h1 = y0 + oy[ny] / fig_h, (oy[ny1] - oy[ny]) / fig_h + return mtransforms.Bbox.from_bounds(x1, y1, w1, h1) + + +def make_axes_locatable(axes): + divider = AxesDivider(axes) + locator = divider.new_locator(nx=0, ny=0) + axes.set_axes_locator(locator) + + return divider + + +def make_axes_area_auto_adjustable( + ax, use_axes=None, pad=0.1, adjust_dirs=None): + """ + Add auto-adjustable padding around *ax* to take its decorations (title, + labels, ticks, ticklabels) into account during layout, using + `.Divider.add_auto_adjustable_area`. + + By default, padding is determined from the decorations of *ax*. + Pass *use_axes* to consider the decorations of other Axes instead. + """ + if adjust_dirs is None: + adjust_dirs = ["left", "right", "bottom", "top"] + divider = make_axes_locatable(ax) + if use_axes is None: + use_axes = ax + divider.add_auto_adjustable_area(use_axes=use_axes, pad=pad, + adjust_dirs=adjust_dirs) diff --git a/shared/package-files/24/244001226e8b3724826d252ae872d2fbfa9318adc78157127125cba43b2b27ca/test_isocalendar.py b/shared/package-files/24/244001226e8b3724826d252ae872d2fbfa9318adc78157127125cba43b2b27ca/test_isocalendar.py new file mode 100644 index 0000000000000000000000000000000000000000..97f1003e0f43f7564434cbc8b3051e870143209c --- /dev/null +++ b/shared/package-files/24/244001226e8b3724826d252ae872d2fbfa9318adc78157127125cba43b2b27ca/test_isocalendar.py @@ -0,0 +1,28 @@ +from pandas import ( + DataFrame, + DatetimeIndex, + date_range, +) +import pandas._testing as tm + + +def test_isocalendar_returns_correct_values_close_to_new_year_with_tz(): + # GH#6538: Check that DatetimeIndex and its TimeStamp elements + # return the same weekofyear accessor close to new year w/ tz + dates = ["2013/12/29", "2013/12/30", "2013/12/31"] + dates = DatetimeIndex(dates, tz="Europe/Brussels") + result = dates.isocalendar() + expected_data_frame = DataFrame( + [[2013, 52, 7], [2014, 1, 1], [2014, 1, 2]], + columns=["year", "week", "day"], + index=dates, + dtype="UInt32", + ) + tm.assert_frame_equal(result, expected_data_frame) + + +def test_dti_timestamp_isocalendar_fields(): + idx = date_range("2020-01-01", periods=10) + expected = tuple(idx.isocalendar().iloc[-1].to_list()) + result = idx[-1].isocalendar() + assert result == expected diff --git a/shared/package-files/24/24415b8f3a5774313e414ce08ad16956d9dbd2f7b93418da69c833d6e8a5dd38/test_shimmodule.py b/shared/package-files/24/24415b8f3a5774313e414ce08ad16956d9dbd2f7b93418da69c833d6e8a5dd38/test_shimmodule.py new file mode 100644 index 0000000000000000000000000000000000000000..6ea2629b42d9bcdc26bc0d0cb04624e2a60c0822 --- /dev/null +++ b/shared/package-files/24/24415b8f3a5774313e414ce08ad16956d9dbd2f7b93418da69c833d6e8a5dd38/test_shimmodule.py @@ -0,0 +1,12 @@ +from IPython.utils.shimmodule import ShimModule +import IPython + + +def test_shimmodule_repr_does_not_fail_on_import_error(): + shim_module = ShimModule("shim_module", mirror="mirrored_module_does_not_exist") + repr(shim_module) + + +def test_shimmodule_repr_forwards_to_module(): + shim_module = ShimModule("shim_module", mirror="IPython") + assert repr(shim_module) == repr(IPython) diff --git a/shared/package-files/24/2443e65ae9a693b8347671f908438d3dd72ad29ab2384a227e1b8f1734ac5e36/METADATA b/shared/package-files/24/2443e65ae9a693b8347671f908438d3dd72ad29ab2384a227e1b8f1734ac5e36/METADATA new file mode 100644 index 0000000000000000000000000000000000000000..5f73e8ec80c5c7cd78b877a166ccad8be503f26d --- /dev/null +++ b/shared/package-files/24/2443e65ae9a693b8347671f908438d3dd72ad29ab2384a227e1b8f1734ac5e36/METADATA @@ -0,0 +1,63 @@ +Metadata-Version: 2.1 +Name: referencing +Version: 0.30.2 +Summary: JSON Referencing + Python +Project-URL: Documentation, https://referencing.readthedocs.io/ +Project-URL: Homepage, https://github.com/python-jsonschema/referencing +Project-URL: Issues, https://github.com/python-jsonschema/referencing/issues/ +Project-URL: Funding, https://github.com/sponsors/Julian +Project-URL: Source, https://github.com/python-jsonschema/referencing +Author: Julian Berman +Author-email: Julian+referencing@GrayVines.com +License: MIT +License-File: COPYING +Keywords: asyncapi,json,jsonschema,openapi,referencing +Classifier: Development Status :: 3 - Alpha +Classifier: Intended Audience :: Developers +Classifier: License :: OSI Approved :: MIT License +Classifier: Operating System :: OS Independent +Classifier: Programming Language :: Python +Classifier: Programming Language :: Python :: 3.8 +Classifier: Programming Language :: Python :: 3.9 +Classifier: Programming Language :: Python :: 3.10 +Classifier: Programming Language :: Python :: 3.11 +Classifier: Programming Language :: Python :: 3.12 +Classifier: Programming Language :: Python :: Implementation :: CPython +Classifier: Programming Language :: Python :: Implementation :: PyPy +Classifier: Topic :: File Formats :: JSON +Classifier: Topic :: File Formats :: JSON :: JSON Schema +Requires-Python: >=3.8 +Requires-Dist: attrs>=22.2.0 +Requires-Dist: rpds-py>=0.7.0 +Description-Content-Type: text/x-rst + +=============== +``referencing`` +=============== + +|PyPI| |Pythons| |CI| |ReadTheDocs| |pre-commit| + +.. |PyPI| image:: https://img.shields.io/pypi/v/referencing.svg + :alt: PyPI version + :target: https://pypi.org/project/referencing/ + +.. |Pythons| image:: https://img.shields.io/pypi/pyversions/referencing.svg + :alt: Supported Python versions + :target: https://pypi.org/project/referencing/ + +.. |CI| image:: https://github.com/python-jsonschema/referencing/workflows/CI/badge.svg + :alt: Build status + :target: https://github.com/python-jsonschema/referencing/actions?query=workflow%3ACI + +.. |ReadTheDocs| image:: https://readthedocs.org/projects/referencing/badge/?version=stable&style=flat + :alt: ReadTheDocs status + :target: https://referencing.readthedocs.io/en/stable/ + +.. |pre-commit| image:: https://results.pre-commit.ci/badge/github/python-jsonschema/referencing/main.svg + :alt: pre-commit.ci status + :target: https://results.pre-commit.ci/latest/github/python-jsonschema/referencing/main + + +An implementation-agnostic implementation of JSON reference resolution. + +See `the documentation `_ for more details. diff --git a/shared/package-files/24/244432432425902d28e994dd7958d984220e87a70ae5317b1f4d0f925b3eb142/GMT+10 b/shared/package-files/24/244432432425902d28e994dd7958d984220e87a70ae5317b1f4d0f925b3eb142/GMT+10 new file mode 100644 index 0000000000000000000000000000000000000000..c749290af2f6b5fe22770c34eb1e8fc87cd85aff Binary files /dev/null and b/shared/package-files/24/244432432425902d28e994dd7958d984220e87a70ae5317b1f4d0f925b3eb142/GMT+10 differ diff --git a/shared/package-files/24/2446203c7a2bbe557dce6f2b235f7e79cba0addfdb6f97d3c46850e63aa36c0f/_thread_flow_location.py b/shared/package-files/24/2446203c7a2bbe557dce6f2b235f7e79cba0addfdb6f97d3c46850e63aa36c0f/_thread_flow_location.py new file mode 100644 index 0000000000000000000000000000000000000000..43c67cf62ccf79a75d5227d0b2018bc29d416640 --- /dev/null +++ b/shared/package-files/24/2446203c7a2bbe557dce6f2b235f7e79cba0addfdb6f97d3c46850e63aa36c0f/_thread_flow_location.py @@ -0,0 +1,67 @@ +# DO NOT EDIT! This file was generated by jschema_to_python version 0.0.1.dev29, +# with extension for dataclasses and type annotation. + +from __future__ import annotations + +import dataclasses +from typing import Any, List, Literal, Optional + +from torch.onnx._internal.diagnostics.infra.sarif import ( + _location, + _property_bag, + _reporting_descriptor_reference, + _stack, + _web_request, + _web_response, +) + + +@dataclasses.dataclass +class ThreadFlowLocation(object): + """A location visited by an analysis tool while simulating or monitoring the execution of a program.""" + + execution_order: int = dataclasses.field( + default=-1, metadata={"schema_property_name": "executionOrder"} + ) + execution_time_utc: Optional[str] = dataclasses.field( + default=None, metadata={"schema_property_name": "executionTimeUtc"} + ) + importance: Literal["important", "essential", "unimportant"] = dataclasses.field( + default="important", metadata={"schema_property_name": "importance"} + ) + index: int = dataclasses.field( + default=-1, metadata={"schema_property_name": "index"} + ) + kinds: Optional[List[str]] = dataclasses.field( + default=None, metadata={"schema_property_name": "kinds"} + ) + location: Optional[_location.Location] = dataclasses.field( + default=None, metadata={"schema_property_name": "location"} + ) + module: Optional[str] = dataclasses.field( + default=None, metadata={"schema_property_name": "module"} + ) + nesting_level: Optional[int] = dataclasses.field( + default=None, metadata={"schema_property_name": "nestingLevel"} + ) + properties: Optional[_property_bag.PropertyBag] = dataclasses.field( + default=None, metadata={"schema_property_name": "properties"} + ) + stack: Optional[_stack.Stack] = dataclasses.field( + default=None, metadata={"schema_property_name": "stack"} + ) + state: Any = dataclasses.field( + default=None, metadata={"schema_property_name": "state"} + ) + taxa: Optional[ + List[_reporting_descriptor_reference.ReportingDescriptorReference] + ] = dataclasses.field(default=None, metadata={"schema_property_name": "taxa"}) + web_request: Optional[_web_request.WebRequest] = dataclasses.field( + default=None, metadata={"schema_property_name": "webRequest"} + ) + web_response: Optional[_web_response.WebResponse] = dataclasses.field( + default=None, metadata={"schema_property_name": "webResponse"} + ) + + +# flake8: noqa diff --git a/shared/package-files/24/2449929a6aaa2f26b0f0fe75814226661f06c20f62d7349ef83a2a022b67da77/__init__.py b/shared/package-files/24/2449929a6aaa2f26b0f0fe75814226661f06c20f62d7349ef83a2a022b67da77/__init__.py new file mode 100644 index 0000000000000000000000000000000000000000..4547fc522b690ba2697843edd044f2039a4123a9 --- /dev/null +++ b/shared/package-files/24/2449929a6aaa2f26b0f0fe75814226661f06c20f62d7349ef83a2a022b67da77/__init__.py @@ -0,0 +1,49 @@ +from __future__ import absolute_import + +# For backwards compatibility, provide imports that used to be here. +from .connection import is_connection_dropped +from .request import SKIP_HEADER, SKIPPABLE_HEADERS, make_headers +from .response import is_fp_closed +from .retry import Retry +from .ssl_ import ( + ALPN_PROTOCOLS, + HAS_SNI, + IS_PYOPENSSL, + IS_SECURETRANSPORT, + PROTOCOL_TLS, + SSLContext, + assert_fingerprint, + resolve_cert_reqs, + resolve_ssl_version, + ssl_wrap_socket, +) +from .timeout import Timeout, current_time +from .url import Url, get_host, parse_url, split_first +from .wait import wait_for_read, wait_for_write + +__all__ = ( + "HAS_SNI", + "IS_PYOPENSSL", + "IS_SECURETRANSPORT", + "SSLContext", + "PROTOCOL_TLS", + "ALPN_PROTOCOLS", + "Retry", + "Timeout", + "Url", + "assert_fingerprint", + "current_time", + "is_connection_dropped", + "is_fp_closed", + "get_host", + "parse_url", + "make_headers", + "resolve_cert_reqs", + "resolve_ssl_version", + "split_first", + "ssl_wrap_socket", + "wait_for_read", + "wait_for_write", + "SKIP_HEADER", + "SKIPPABLE_HEADERS", +) diff --git a/shared/package-files/24/244efc06cf6026643cd2adbbbfc92f2481210e8f1f4d5ac59c2b3a61b7a9e1f8/spectral.py b/shared/package-files/24/244efc06cf6026643cd2adbbbfc92f2481210e8f1f4d5ac59c2b3a61b7a9e1f8/spectral.py new file mode 100644 index 0000000000000000000000000000000000000000..4b11d53357c199b7234eb99808e83562bf6c360e --- /dev/null +++ b/shared/package-files/24/244efc06cf6026643cd2adbbbfc92f2481210e8f1f4d5ac59c2b3a61b7a9e1f8/spectral.py @@ -0,0 +1,554 @@ +import warnings + +from warnings import warn + +import numpy as np + +import scipy.sparse +import scipy.sparse.csgraph +from sklearn.decomposition import TruncatedSVD +from sklearn.manifold import SpectralEmbedding +from sklearn.metrics import pairwise_distances +from sklearn.metrics.pairwise import _VALID_METRICS as SKLEARN_PAIRWISE_VALID_METRICS + +from umap.distances import pairwise_special_metric, SPECIAL_METRICS +from umap.sparse import SPARSE_SPECIAL_METRICS, sparse_named_distances + + +def component_layout( + data, + n_components, + component_labels, + dim, + random_state, + metric="euclidean", + metric_kwds={}, +): + """Provide a layout relating the separate connected components. This is done + by taking the centroid of each component and then performing a spectral embedding + of the centroids. + + Parameters + ---------- + data: array of shape (n_samples, n_features) + The source data -- required so we can generate centroids for each + connected component of the graph. + + n_components: int + The number of distinct components to be layed out. + + component_labels: array of shape (n_samples) + For each vertex in the graph the label of the component to + which the vertex belongs. + + dim: int + The chosen embedding dimension. + + metric: string or callable (optional, default 'euclidean') + The metric used to measure distances among the source data points. + + metric_kwds: dict (optional, default {}) + Keyword arguments to be passed to the metric function. + If metric is 'precomputed', 'linkage' keyword can be used to specify + 'average', 'complete', or 'single' linkage. Default is 'average' + + Returns + ------- + component_embedding: array of shape (n_components, dim) + The ``dim``-dimensional embedding of the ``n_components``-many + connected components. + """ + if data is None: + # We don't have data to work with; just guess + return np.random.random(size=(n_components, dim)) * 10.0 + + component_centroids = np.empty((n_components, data.shape[1]), dtype=np.float64) + + if metric == "precomputed": + # cannot compute centroids from precomputed distances + # instead, compute centroid distances using linkage + distance_matrix = np.zeros((n_components, n_components), dtype=np.float64) + linkage = metric_kwds.get("linkage", "average") + if linkage == "average": + linkage = np.mean + elif linkage == "complete": + linkage = np.max + elif linkage == "single": + linkage = np.min + else: + raise ValueError( + "Unrecognized linkage '%s'. Please choose from " + "'average', 'complete', or 'single'" % linkage + ) + for c_i in range(n_components): + dm_i = data[component_labels == c_i] + for c_j in range(c_i + 1, n_components): + dist = linkage(dm_i[:, component_labels == c_j]) + distance_matrix[c_i, c_j] = dist + distance_matrix[c_j, c_i] = dist + else: + for label in range(n_components): + component_centroids[label] = data[component_labels == label].mean(axis=0) + + if scipy.sparse.isspmatrix(component_centroids): + warn( + "Forcing component centroids to dense; if you are running out of " + "memory then consider increasing n_neighbors." + ) + component_centroids = component_centroids.toarray() + + if metric in SPECIAL_METRICS: + distance_matrix = pairwise_special_metric( + component_centroids, + metric=metric, + kwds=metric_kwds, + ) + elif metric in SPARSE_SPECIAL_METRICS: + distance_matrix = pairwise_special_metric( + component_centroids, + metric=SPARSE_SPECIAL_METRICS[metric], + kwds=metric_kwds, + ) + else: + if callable(metric) and scipy.sparse.isspmatrix(data): + function_to_name_mapping = { + sparse_named_distances[k]: k + for k in set(SKLEARN_PAIRWISE_VALID_METRICS) + & set(sparse_named_distances.keys()) + } + try: + metric_name = function_to_name_mapping[metric] + except KeyError: + raise NotImplementedError( + "Multicomponent layout for custom " + "sparse metrics is not implemented at " + "this time." + ) + distance_matrix = pairwise_distances( + component_centroids, metric=metric_name, **metric_kwds + ) + else: + distance_matrix = pairwise_distances( + component_centroids, metric=metric, **metric_kwds + ) + + affinity_matrix = np.exp(-(distance_matrix**2)) + + component_embedding = SpectralEmbedding( + n_components=dim, affinity="precomputed", random_state=random_state + ).fit_transform(affinity_matrix) + component_embedding /= component_embedding.max() + + return component_embedding + + +def multi_component_layout( + data, + graph, + n_components, + component_labels, + dim, + random_state, + metric="euclidean", + metric_kwds={}, + init="random", + tol=0.0, + maxiter=0, +): + """Specialised layout algorithm for dealing with graphs with many connected components. + This will first find relative positions for the components by spectrally embedding + their centroids, then spectrally embed each individual connected component positioning + them according to the centroid embeddings. This provides a decent embedding of each + component while placing the components in good relative positions to one another. + + Parameters + ---------- + data: array of shape (n_samples, n_features) + The source data -- required so we can generate centroids for each + connected component of the graph. + + graph: sparse matrix + The adjacency matrix of the graph to be embedded. + + n_components: int + The number of distinct components to be layed out. + + component_labels: array of shape (n_samples) + For each vertex in the graph the label of the component to + which the vertex belongs. + + dim: int + The chosen embedding dimension. + + metric: string or callable (optional, default 'euclidean') + The metric used to measure distances among the source data points. + + metric_kwds: dict (optional, default {}) + Keyword arguments to be passed to the metric function. + + init: string, either "random" or "tsvd" + Indicates to initialize the eigensolver. Use "random" (the default) to + use uniformly distributed random initialization; use "tsvd" to warm-start the + eigensolver with singular vectors of the Laplacian associated to the largest + singular values. This latter option also forces usage of the LOBPCG eigensolver; + with the former, ARPACK's solver ``eigsh`` will be used for smaller Laplacians. + + tol: float, default chosen by implementation + Stopping tolerance for the numerical algorithm computing the embedding. + + maxiter: int, default chosen by implementation + Number of iterations the numerical algorithm will go through at most as it + attempts to compute the embedding. + + Returns + ------- + embedding: array of shape (n_samples, dim) + The initial embedding of ``graph``. + """ + + result = np.empty((graph.shape[0], dim), dtype=np.float32) + + if n_components > 2 * dim: + meta_embedding = component_layout( + data, + n_components, + component_labels, + dim, + random_state, + metric=metric, + metric_kwds=metric_kwds, + ) + else: + k = int(np.ceil(n_components / 2.0)) + base = np.hstack([np.eye(k), np.zeros((k, dim - k))]) + meta_embedding = np.vstack([base, -base])[:n_components] + + for label in range(n_components): + component_graph = graph.tocsr()[component_labels == label, :].tocsc() + component_graph = component_graph[:, component_labels == label].tocoo() + + distances = pairwise_distances([meta_embedding[label]], meta_embedding) + data_range = distances[distances > 0.0].min() / 2.0 + + if component_graph.shape[0] < 2 * dim or component_graph.shape[0] <= dim + 1: + result[component_labels == label] = ( + random_state.uniform( + low=-data_range, + high=data_range, + size=(component_graph.shape[0], dim), + ) + + meta_embedding[label] + ) + else: + component_embedding = _spectral_layout( + data=None, + graph=component_graph, + dim=dim, + random_state=random_state, + metric=metric, + metric_kwds=metric_kwds, + init=init, + tol=tol, + maxiter=maxiter, + ) + expansion = data_range / np.max(np.abs(component_embedding)) + component_embedding *= expansion + result[component_labels == label] = ( + component_embedding + meta_embedding[label] + ) + + return result + + +def spectral_layout( + data, + graph, + dim, + random_state, + metric="euclidean", + metric_kwds={}, + tol=0.0, + maxiter=0, +): + """ + Given a graph compute the spectral embedding of the graph. This is + simply the eigenvectors of the laplacian of the graph. Here we use the + normalized laplacian. + + Parameters + ---------- + data: array of shape (n_samples, n_features) + The source data + + graph: sparse matrix + The (weighted) adjacency matrix of the graph as a sparse matrix. + + dim: int + The dimension of the space into which to embed. + + random_state: numpy RandomState or equivalent + A state capable being used as a numpy random state. + + tol: float, default chosen by implementation + Stopping tolerance for the numerical algorithm computing the embedding. + + maxiter: int, default chosen by implementation + Number of iterations the numerical algorithm will go through at most as it + attempts to compute the embedding. + + Returns + ------- + embedding: array of shape (n_vertices, dim) + The spectral embedding of the graph. + """ + return _spectral_layout( + data=data, + graph=graph, + dim=dim, + random_state=random_state, + metric=metric, + metric_kwds=metric_kwds, + init="random", + tol=tol, + maxiter=maxiter, + ) + + +def tswspectral_layout( + data, + graph, + dim, + random_state, + metric="euclidean", + metric_kwds={}, + method=None, + tol=0.0, + maxiter=0, +): + """Given a graph, compute the spectral embedding of the graph. This is + simply the eigenvectors of the Laplacian of the graph. Here we use the + normalized laplacian and a truncated SVD-based guess of the + eigenvectors to "warm" up the eigensolver. This function should + give results of similar accuracy to the spectral_layout function, but + may converge more quickly for graph Laplacians that cause + spectral_layout to take an excessive amount of time to complete. + + Parameters + ---------- + data: array of shape (n_samples, n_features) + The source data + + graph: sparse matrix + The (weighted) adjacency matrix of the graph as a sparse matrix. + + dim: int + The dimension of the space into which to embed. + + random_state: numpy RandomState or equivalent + A state capable being used as a numpy random state. + + metric: string or callable (optional, default 'euclidean') + The metric used to measure distances among the source data points. + Used only if the multiple connected components are found in the + graph. + + metric_kwds: dict (optional, default {}) + Keyword arguments to be passed to the metric function. + If metric is 'precomputed', 'linkage' keyword can be used to specify + 'average', 'complete', or 'single' linkage. Default is 'average'. + Used only if the multiple connected components are found in the + graph. + + method: str (optional, default None, values either 'eigsh' or 'lobpcg') + Name of the eigenvalue computation method to use to compute the spectral + embedding. If left to None (or empty string), as by default, the method is + chosen from the number of vectors in play: larger vector collections are + handled with lobpcg, smaller collections with eigsh. Method names correspond + to SciPy routines in scipy.sparse.linalg. + + tol: float, default chosen by implementation + Stopping tolerance for the numerical algorithm computing the embedding. + + maxiter: int, default chosen by implementation + Number of iterations the numerical algorithm will go through at most as it + attempts to compute the embedding. + + Returns + ------- + embedding: array of shape (n_vertices, dim) + The spectral embedding of the graph. + """ + return _spectral_layout( + data=data, + graph=graph, + dim=dim, + random_state=random_state, + metric=metric, + metric_kwds=metric_kwds, + init="tsvd", + method=method, + tol=tol, + maxiter=maxiter, + ) + + +def _spectral_layout( + data, + graph, + dim, + random_state, + metric="euclidean", + metric_kwds={}, + init="random", + method=None, + tol=0.0, + maxiter=0, +): + """General implementation of the spectral embedding of the graph, derived as + a subset of the eigenvectors of the normalized Laplacian of the graph. The numerical + method for computing the eigendecomposition is chosen through heuristics. + + Parameters + ---------- + data: array of shape (n_samples, n_features) + The source data + + graph: sparse matrix + The (weighted) adjacency matrix of the graph as a sparse matrix. + + dim: int + The dimension of the space into which to embed. + + random_state: numpy RandomState or equivalent + A state capable being used as a numpy random state. + + metric: string or callable (optional, default 'euclidean') + The metric used to measure distances among the source data points. + Used only if the multiple connected components are found in the + graph. + + metric_kwds: dict (optional, default {}) + Keyword arguments to be passed to the metric function. + If metric is 'precomputed', 'linkage' keyword can be used to specify + 'average', 'complete', or 'single' linkage. Default is 'average'. + Used only if the multiple connected components are found in the + graph. + + init: string, either "random" or "tsvd" + Indicates to initialize the eigensolver. Use "random" (the default) to + use uniformly distributed random initialization; use "tsvd" to warm-start the + eigensolver with singular vectors of the Laplacian associated to the largest + singular values. This latter option also forces usage of the LOBPCG eigensolver; + with the former, ARPACK's solver ``eigsh`` will be used for smaller Laplacians. + + method: string -- either "eigsh" or "lobpcg" -- or None + Name of the eigenvalue computation method to use to compute the spectral + embedding. If left to None (or empty string), as by default, the method is + chosen from the number of vectors in play: larger vector collections are + handled with lobpcg, smaller collections with eigsh. Method names correspond + to SciPy routines in scipy.sparse.linalg. + + tol: float, default chosen by implementation + Stopping tolerance for the numerical algorithm computing the embedding. + + maxiter: int, default chosen by implementation + Number of iterations the numerical algorithm will go through at most as it + attempts to compute the embedding. + + Returns + ------- + embedding: array of shape (n_vertices, dim) + The spectral embedding of the graph. + """ + n_samples = graph.shape[0] + n_components, labels = scipy.sparse.csgraph.connected_components(graph) + + if n_components > 1: + return multi_component_layout( + data, + graph, + n_components, + labels, + dim, + random_state, + metric=metric, + metric_kwds=metric_kwds, + ) + + sqrt_deg = np.sqrt(np.asarray(graph.sum(axis=0)).squeeze()) + # standard Laplacian + # D = scipy.sparse.spdiags(diag_data, 0, graph.shape[0], graph.shape[0]) + # L = D - graph + # Normalized Laplacian + I = scipy.sparse.identity(graph.shape[0], dtype=np.float64) + D = scipy.sparse.spdiags(1.0 / sqrt_deg, 0, graph.shape[0], graph.shape[0]) + L = I - D * graph * D + if not scipy.sparse.issparse(L): + L = np.asarray(L) + + k = dim + 1 + num_lanczos_vectors = max(2 * k + 1, int(np.sqrt(graph.shape[0]))) + gen = ( + random_state + if isinstance(random_state, (np.random.Generator, np.random.RandomState)) + else np.random.default_rng(seed=random_state) + ) + if not method: + method = "eigsh" if L.shape[0] < 2000000 else "lobpcg" + + try: + if init == "random": + X = gen.normal(size=(L.shape[0], k)) + elif init == "tsvd": + X = TruncatedSVD( + n_components=k, + random_state=random_state, + # algorithm="arpack" + ).fit_transform(L) + else: + raise ValueError( + "The init parameter must be either 'random' or 'tsvd': " + f"{init} is invalid." + ) + # For such a normalized Laplacian, the first eigenvector is always + # proportional to sqrt(degrees). We thus replace the first t-SVD guess + # with the exact value. + X[:, 0] = sqrt_deg / np.linalg.norm(sqrt_deg) + + if method == "eigsh": + eigenvalues, eigenvectors = scipy.sparse.linalg.eigsh( + L, + k, + which="SM", + ncv=num_lanczos_vectors, + tol=tol or 1e-4, + v0=np.ones(L.shape[0]), + maxiter=maxiter or graph.shape[0] * 5, + ) + elif method == "lobpcg": + with warnings.catch_warnings(): + warnings.filterwarnings( + category=UserWarning, + message=r"(?ms).*not reaching the requested tolerance", + action="error", + ) + eigenvalues, eigenvectors = scipy.sparse.linalg.lobpcg( + L, + np.asarray(X), + largest=False, + tol=tol or 1e-4, + maxiter=maxiter or 5 * graph.shape[0], + ) + else: + raise ValueError("Method should either be None, 'eigsh' or 'lobpcg'") + + order = np.argsort(eigenvalues)[1:k] + return eigenvectors[:, order] + except (scipy.sparse.linalg.ArpackError, UserWarning): + warn( + "Spectral initialisation failed! The eigenvector solver\n" + "failed. This is likely due to too small an eigengap. Consider\n" + "adding some noise or jitter to your data.\n\n" + "Falling back to random initialisation!" + ) + return gen.uniform(low=-10.0, high=10.0, size=(graph.shape[0], dim)) diff --git a/shared/package-files/24/2453a1a5d8c04244ff7bb1449c76ee8dc796bb1ed41cb1cfb8c03c1f7b9ef370/gelu_meta_dispatch.h b/shared/package-files/24/2453a1a5d8c04244ff7bb1449c76ee8dc796bb1ed41cb1cfb8c03c1f7b9ef370/gelu_meta_dispatch.h new file mode 100644 index 0000000000000000000000000000000000000000..e2d9aaf40d6082fb9a1528304dd2b781e62685bf --- /dev/null +++ b/shared/package-files/24/2453a1a5d8c04244ff7bb1449c76ee8dc796bb1ed41cb1cfb8c03c1f7b9ef370/gelu_meta_dispatch.h @@ -0,0 +1,26 @@ +#pragma once +// @generated by torchgen/gen.py from DispatchKeyFunction.h + +// NB: The implementing C++ file is RegisterDispatchKey.cpp + +// The only #includes we need are for custom classes that have defaults in the C++ API +#include +#include +#include + +// Forward declarations of any types needed in the operator signatures. +// We can't directly include these classes because it will cause circular include dependencies. +// This file is included by TensorBody.h, which defines the Tensor class. +#include + +namespace at { + +namespace meta { + +TORCH_API at::Tensor gelu(const at::Tensor & self, c10::string_view approximate="none"); +TORCH_API at::Tensor & gelu_out(at::Tensor & out, const at::Tensor & self, c10::string_view approximate="none"); +TORCH_API at::Tensor & gelu_outf(const at::Tensor & self, c10::string_view approximate, at::Tensor & out); +TORCH_API at::Tensor & gelu_(at::Tensor & self, c10::string_view approximate="none"); + +} // namespace meta +} // namespace at diff --git a/shared/package-files/24/245536c3df1c07f5cdc1faea36d234c834e6a4477160efd4125da9808feb9edf/foo.f90 b/shared/package-files/24/245536c3df1c07f5cdc1faea36d234c834e6a4477160efd4125da9808feb9edf/foo.f90 new file mode 100644 index 0000000000000000000000000000000000000000..76d16aae2b57160228f41c00128ac0067eaf5249 --- /dev/null +++ b/shared/package-files/24/245536c3df1c07f5cdc1faea36d234c834e6a4477160efd4125da9808feb9edf/foo.f90 @@ -0,0 +1,34 @@ +module ops_module + + abstract interface + subroutine op(x, y, z) + integer, intent(in) :: x, y + integer, intent(out) :: z + end subroutine + end interface + +contains + + subroutine foo(x, y, r1, r2) + integer, intent(in) :: x, y + integer, intent(out) :: r1, r2 + procedure (op) add1, add2 + procedure (op), pointer::p + p=>add1 + call p(x, y, r1) + p=>add2 + call p(x, y, r2) + end subroutine +end module + +subroutine add1(x, y, z) + integer, intent(in) :: x, y + integer, intent(out) :: z + z = x + y +end subroutine + +subroutine add2(x, y, z) + integer, intent(in) :: x, y + integer, intent(out) :: z + z = x + 2 * y +end subroutine diff --git a/shared/package-files/24/245812393de1bba77b321f6c76abd2c42dd1c655651ff73282c5e9b17f7b60c6/recurrence.py b/shared/package-files/24/245812393de1bba77b321f6c76abd2c42dd1c655651ff73282c5e9b17f7b60c6/recurrence.py new file mode 100644 index 0000000000000000000000000000000000000000..4c77ae64453ed6b8b336949515b6f2f6197ca251 --- /dev/null +++ b/shared/package-files/24/245812393de1bba77b321f6c76abd2c42dd1c655651ff73282c5e9b17f7b60c6/recurrence.py @@ -0,0 +1,365 @@ +"""Recurrence Operators""" + +from sympy.core.singleton import S +from sympy.core.symbol import (Symbol, symbols) +from sympy.printing import sstr +from sympy.core.sympify import sympify + + +def RecurrenceOperators(base, generator): + """ + Returns an Algebra of Recurrence Operators and the operator for + shifting i.e. the `Sn` operator. + The first argument needs to be the base polynomial ring for the algebra + and the second argument must be a generator which can be either a + noncommutative Symbol or a string. + + Examples + ======== + + >>> from sympy import ZZ + >>> from sympy import symbols + >>> from sympy.holonomic.recurrence import RecurrenceOperators + >>> n = symbols('n', integer=True) + >>> R, Sn = RecurrenceOperators(ZZ.old_poly_ring(n), 'Sn') + """ + + ring = RecurrenceOperatorAlgebra(base, generator) + return (ring, ring.shift_operator) + + +class RecurrenceOperatorAlgebra: + """ + A Recurrence Operator Algebra is a set of noncommutative polynomials + in intermediate `Sn` and coefficients in a base ring A. It follows the + commutation rule: + Sn * a(n) = a(n + 1) * Sn + + This class represents a Recurrence Operator Algebra and serves as the parent ring + for Recurrence Operators. + + Examples + ======== + + >>> from sympy import ZZ + >>> from sympy import symbols + >>> from sympy.holonomic.recurrence import RecurrenceOperators + >>> n = symbols('n', integer=True) + >>> R, Sn = RecurrenceOperators(ZZ.old_poly_ring(n), 'Sn') + >>> R + Univariate Recurrence Operator Algebra in intermediate Sn over the base ring + ZZ[n] + + See Also + ======== + + RecurrenceOperator + """ + + def __init__(self, base, generator): + # the base ring for the algebra + self.base = base + # the operator representing shift i.e. `Sn` + self.shift_operator = RecurrenceOperator( + [base.zero, base.one], self) + + if generator is None: + self.gen_symbol = symbols('Sn', commutative=False) + else: + if isinstance(generator, str): + self.gen_symbol = symbols(generator, commutative=False) + elif isinstance(generator, Symbol): + self.gen_symbol = generator + + def __str__(self): + string = 'Univariate Recurrence Operator Algebra in intermediate '\ + + sstr(self.gen_symbol) + ' over the base ring ' + \ + (self.base).__str__() + + return string + + __repr__ = __str__ + + def __eq__(self, other): + if self.base == other.base and self.gen_symbol == other.gen_symbol: + return True + else: + return False + + +def _add_lists(list1, list2): + if len(list1) <= len(list2): + sol = [a + b for a, b in zip(list1, list2)] + list2[len(list1):] + else: + sol = [a + b for a, b in zip(list1, list2)] + list1[len(list2):] + return sol + + +class RecurrenceOperator: + """ + The Recurrence Operators are defined by a list of polynomials + in the base ring and the parent ring of the Operator. + + Explanation + =========== + + Takes a list of polynomials for each power of Sn and the + parent ring which must be an instance of RecurrenceOperatorAlgebra. + + A Recurrence Operator can be created easily using + the operator `Sn`. See examples below. + + Examples + ======== + + >>> from sympy.holonomic.recurrence import RecurrenceOperator, RecurrenceOperators + >>> from sympy import ZZ + >>> from sympy import symbols + >>> n = symbols('n', integer=True) + >>> R, Sn = RecurrenceOperators(ZZ.old_poly_ring(n),'Sn') + + >>> RecurrenceOperator([0, 1, n**2], R) + (1)Sn + (n**2)Sn**2 + + >>> Sn*n + (n + 1)Sn + + >>> n*Sn*n + 1 - Sn**2*n + (1) + (n**2 + n)Sn + (-n - 2)Sn**2 + + See Also + ======== + + DifferentialOperatorAlgebra + """ + + _op_priority = 20 + + def __init__(self, list_of_poly, parent): + # the parent ring for this operator + # must be an RecurrenceOperatorAlgebra object + self.parent = parent + # sequence of polynomials in n for each power of Sn + # represents the operator + # convert the expressions into ring elements using from_sympy + if isinstance(list_of_poly, list): + for i, j in enumerate(list_of_poly): + if isinstance(j, int): + list_of_poly[i] = self.parent.base.from_sympy(S(j)) + elif not isinstance(j, self.parent.base.dtype): + list_of_poly[i] = self.parent.base.from_sympy(j) + + self.listofpoly = list_of_poly + self.order = len(self.listofpoly) - 1 + + def __mul__(self, other): + """ + Multiplies two Operators and returns another + RecurrenceOperator instance using the commutation rule + Sn * a(n) = a(n + 1) * Sn + """ + + listofself = self.listofpoly + base = self.parent.base + + if not isinstance(other, RecurrenceOperator): + if not isinstance(other, self.parent.base.dtype): + listofother = [self.parent.base.from_sympy(sympify(other))] + + else: + listofother = [other] + else: + listofother = other.listofpoly + # multiply a polynomial `b` with a list of polynomials + + def _mul_dmp_diffop(b, listofother): + if isinstance(listofother, list): + sol = [] + for i in listofother: + sol.append(i * b) + return sol + else: + return [b * listofother] + + sol = _mul_dmp_diffop(listofself[0], listofother) + + # compute Sn^i * b + def _mul_Sni_b(b): + sol = [base.zero] + + if isinstance(b, list): + for i in b: + j = base.to_sympy(i).subs(base.gens[0], base.gens[0] + S.One) + sol.append(base.from_sympy(j)) + + else: + j = b.subs(base.gens[0], base.gens[0] + S.One) + sol.append(base.from_sympy(j)) + + return sol + + for i in range(1, len(listofself)): + # find Sn^i * b in ith iteration + listofother = _mul_Sni_b(listofother) + # solution = solution + listofself[i] * (Sn^i * b) + sol = _add_lists(sol, _mul_dmp_diffop(listofself[i], listofother)) + + return RecurrenceOperator(sol, self.parent) + + def __rmul__(self, other): + if not isinstance(other, RecurrenceOperator): + + if isinstance(other, int): + other = S(other) + + if not isinstance(other, self.parent.base.dtype): + other = (self.parent.base).from_sympy(other) + + sol = [] + for j in self.listofpoly: + sol.append(other * j) + + return RecurrenceOperator(sol, self.parent) + + def __add__(self, other): + if isinstance(other, RecurrenceOperator): + + sol = _add_lists(self.listofpoly, other.listofpoly) + return RecurrenceOperator(sol, self.parent) + + else: + + if isinstance(other, int): + other = S(other) + list_self = self.listofpoly + if not isinstance(other, self.parent.base.dtype): + list_other = [((self.parent).base).from_sympy(other)] + else: + list_other = [other] + sol = [] + sol.append(list_self[0] + list_other[0]) + sol += list_self[1:] + + return RecurrenceOperator(sol, self.parent) + + __radd__ = __add__ + + def __sub__(self, other): + return self + (-1) * other + + def __rsub__(self, other): + return (-1) * self + other + + def __pow__(self, n): + if n == 1: + return self + if n == 0: + return RecurrenceOperator([self.parent.base.one], self.parent) + # if self is `Sn` + if self.listofpoly == self.parent.shift_operator.listofpoly: + sol = [] + for i in range(0, n): + sol.append(self.parent.base.zero) + sol.append(self.parent.base.one) + + return RecurrenceOperator(sol, self.parent) + + else: + if n % 2 == 1: + powreduce = self**(n - 1) + return powreduce * self + elif n % 2 == 0: + powreduce = self**(n / 2) + return powreduce * powreduce + + def __str__(self): + listofpoly = self.listofpoly + print_str = '' + + for i, j in enumerate(listofpoly): + if j == self.parent.base.zero: + continue + + if i == 0: + print_str += '(' + sstr(j) + ')' + continue + + if print_str: + print_str += ' + ' + + if i == 1: + print_str += '(' + sstr(j) + ')Sn' + continue + + print_str += '(' + sstr(j) + ')' + 'Sn**' + sstr(i) + + return print_str + + __repr__ = __str__ + + def __eq__(self, other): + if isinstance(other, RecurrenceOperator): + if self.listofpoly == other.listofpoly and self.parent == other.parent: + return True + else: + return False + else: + if self.listofpoly[0] == other: + for i in self.listofpoly[1:]: + if i is not self.parent.base.zero: + return False + return True + else: + return False + + +class HolonomicSequence: + """ + A Holonomic Sequence is a type of sequence satisfying a linear homogeneous + recurrence relation with Polynomial coefficients. Alternatively, A sequence + is Holonomic if and only if its generating function is a Holonomic Function. + """ + + def __init__(self, recurrence, u0=[]): + self.recurrence = recurrence + if not isinstance(u0, list): + self.u0 = [u0] + else: + self.u0 = u0 + + if len(self.u0) == 0: + self._have_init_cond = False + else: + self._have_init_cond = True + self.n = recurrence.parent.base.gens[0] + + def __repr__(self): + str_sol = 'HolonomicSequence(%s, %s)' % ((self.recurrence).__repr__(), sstr(self.n)) + if not self._have_init_cond: + return str_sol + else: + cond_str = '' + seq_str = 0 + for i in self.u0: + cond_str += ', u(%s) = %s' % (sstr(seq_str), sstr(i)) + seq_str += 1 + + sol = str_sol + cond_str + return sol + + __str__ = __repr__ + + def __eq__(self, other): + if self.recurrence == other.recurrence: + if self.n == other.n: + if self._have_init_cond and other._have_init_cond: + if self.u0 == other.u0: + return True + else: + return False + else: + return True + else: + return False + else: + return False diff --git a/shared/package-files/24/245b08a462f0ba7494a889a259472293fdc05fb251a914d8e2a81934c9cf8267/test_make_function_to_jit_function.py b/shared/package-files/24/245b08a462f0ba7494a889a259472293fdc05fb251a914d8e2a81934c9cf8267/test_make_function_to_jit_function.py new file mode 100644 index 0000000000000000000000000000000000000000..29161fff594545fffceee89dbe9390cb349f1dc4 --- /dev/null +++ b/shared/package-files/24/245b08a462f0ba7494a889a259472293fdc05fb251a914d8e2a81934c9cf8267/test_make_function_to_jit_function.py @@ -0,0 +1,284 @@ +from numba import njit +from numba.core import errors +from numba.core.extending import overload +import numpy as np + +import unittest + + +@njit +def consumer(func, *args): + return func(*args) + + +@njit +def consumer2arg(func1, func2): + return func2(func1) + + +_global = 123 + + +class TestMakeFunctionToJITFunction(unittest.TestCase): + """ + This tests the pass that converts ir.Expr.op == make_function (i.e. closure) + into a JIT function. + """ + # NOTE: testing this is a bit tricky. The function receiving a JIT'd closure + # must also be under JIT control so as to handle the JIT'd closure + # correctly, however, in the case of running the test implementations in the + # interpreter, the receiving function cannot be JIT'd else it will receive + # the Python closure and then complain about pyobjects as arguments. + # The way around this is to use a factory function to close over either the + # jitted or standard python function as the consumer depending on context. + + def test_escape(self): + + def impl_factory(consumer_func): + def impl(): + def inner(): + return 10 + return consumer_func(inner) + return impl + + cfunc = njit(impl_factory(consumer)) + impl = impl_factory(consumer.py_func) + + self.assertEqual(impl(), cfunc()) + + def test_nested_escape(self): + + def impl_factory(consumer_func): + def impl(): + def inner(): + return 10 + + def innerinner(x): + return x() + return consumer_func(inner, innerinner) + return impl + + cfunc = njit(impl_factory(consumer2arg)) + impl = impl_factory(consumer2arg.py_func) + + self.assertEqual(impl(), cfunc()) + + def test_closure_in_escaper(self): + + def impl_factory(consumer_func): + def impl(): + def callinner(): + def inner(): + return 10 + return inner() + return consumer_func(callinner) + return impl + + cfunc = njit(impl_factory(consumer)) + impl = impl_factory(consumer.py_func) + + self.assertEqual(impl(), cfunc()) + + def test_close_over_consts(self): + + def impl_factory(consumer_func): + def impl(): + y = 10 + + def callinner(z): + return y + z + _global + return consumer_func(callinner, 6) + return impl + + cfunc = njit(impl_factory(consumer)) + impl = impl_factory(consumer.py_func) + + self.assertEqual(impl(), cfunc()) + + def test_close_over_consts_w_args(self): + + def impl_factory(consumer_func): + def impl(x): + y = 10 + + def callinner(z): + return y + z + _global + return consumer_func(callinner, x) + return impl + + cfunc = njit(impl_factory(consumer)) + impl = impl_factory(consumer.py_func) + + a = 5 + self.assertEqual(impl(a), cfunc(a)) + + def test_with_overload(self): + + def foo(func, *args): + nargs = len(args) + if nargs == 1: + return func(*args) + elif nargs == 2: + return func(func(*args)) + + @overload(foo) + def foo_ol(func, *args): + # specialise on the number of args, as per `foo` + nargs = len(args) + if nargs == 1: + def impl(func, *args): + return func(*args) + return impl + elif nargs == 2: + def impl(func, *args): + return func(func(*args)) + return impl + + def impl_factory(consumer_func): + def impl(x): + y = 10 + + def callinner(*z): + return y + np.sum(np.asarray(z)) + _global + # run both specialisations, 1 arg, and 2 arg. + return foo(callinner, x), foo(callinner, x, x) + return impl + + cfunc = njit(impl_factory(consumer)) + impl = impl_factory(consumer.py_func) + + a = 5 + self.assertEqual(impl(a), cfunc(a)) + + def test_basic_apply_like_case(self): + def apply(array, func): + return func(array) + + @overload(apply) + def ov_apply(array, func): + return lambda array, func: func(array) + + def impl(array): + def mul10(x): + return x * 10 + return apply(array, mul10) + + cfunc = njit(impl) + + a = np.arange(10) + np.testing.assert_allclose(impl(a), cfunc(a)) + + @unittest.skip("Needs option/flag inheritance to work") + def test_jit_option_inheritance(self): + + def impl_factory(consumer_func): + def impl(x): + def inner(val): + return 1 / val + return consumer_func(inner, x) + return impl + + cfunc = njit(error_model='numpy')(impl_factory(consumer)) + impl = impl_factory(consumer.py_func) + + a = 0 + self.assertEqual(impl(a), cfunc(a)) + + # this needs true SSA to be able to work correctly, check error for now + def test_multiply_defined_freevar(self): + + @njit + def impl(c): + if c: + x = 3 + + def inner(y): + return y + x + + r = consumer(inner, 1) + else: + x = 6 + + def inner(y): + return y + x + + r = consumer(inner, 2) + return r + + with self.assertRaises(errors.TypingError) as e: + impl(1) + + self.assertIn("Cannot capture a constant value for variable", + str(e.exception)) + + def test_non_const_in_escapee(self): + + @njit + def impl(x): + z = np.arange(x) + + def inner(val): + return 1 + z + val # z is non-const freevar + return consumer(inner, x) + + with self.assertRaises(errors.TypingError) as e: + impl(1) + + self.assertIn("Cannot capture the non-constant value associated", + str(e.exception)) + + def test_escape_with_kwargs(self): + + def impl_factory(consumer_func): + def impl(): + t = 12 + + def inner(a, b, c, mydefault1=123, mydefault2=456): + z = 4 + return mydefault1 + mydefault2 + z + t + a + b + c + # this is awkward, top and tail closure inlining with a escapees + # in the middle that do/don't have defaults. + return (inner(1, 2, 5, 91, 53), + consumer_func(inner, 1, 2, 3, 73), + consumer_func(inner, 1, 2, 3,), + inner(1, 2, 4)) + return impl + + cfunc = njit(impl_factory(consumer)) + impl = impl_factory(consumer.py_func) + + np.testing.assert_allclose(impl(), cfunc()) + + def test_escape_with_kwargs_override_kwargs(self): + + @njit + def specialised_consumer(func, *args): + x, y, z = args # unpack to avoid `CALL_FUNCTION_EX` + a = func(x, y, z, mydefault1=1000) + b = func(x, y, z, mydefault2=1000) + c = func(x, y, z, mydefault1=1000, mydefault2=1000) + return a + b + c + + def impl_factory(consumer_func): + def impl(): + t = 12 + + def inner(a, b, c, mydefault1=123, mydefault2=456): + z = 4 + return mydefault1 + mydefault2 + z + t + a + b + c + # this is awkward, top and tail closure inlining with a escapees + # in the middle that get defaults specified in the consumer + return (inner(1, 2, 5, 91, 53), + consumer_func(inner, 1, 2, 11), + consumer_func(inner, 1, 2, 3,), + inner(1, 2, 4)) + return impl + + cfunc = njit(impl_factory(specialised_consumer)) + impl = impl_factory(specialised_consumer.py_func) + + np.testing.assert_allclose(impl(), cfunc()) + + +if __name__ == '__main__': + unittest.main() diff --git a/shared/package-files/24/245d3068e31e571032a39dd504e627662b96f2870b953c7fd326f45412889db0/_cudnn_ctc_loss_compositeexplicitautograd_dispatch.h b/shared/package-files/24/245d3068e31e571032a39dd504e627662b96f2870b953c7fd326f45412889db0/_cudnn_ctc_loss_compositeexplicitautograd_dispatch.h new file mode 100644 index 0000000000000000000000000000000000000000..58794365c011d62adbf3a118ce2fafa9d4d7fd35 --- /dev/null +++ b/shared/package-files/24/245d3068e31e571032a39dd504e627662b96f2870b953c7fd326f45412889db0/_cudnn_ctc_loss_compositeexplicitautograd_dispatch.h @@ -0,0 +1,24 @@ +#pragma once +// @generated by torchgen/gen.py from DispatchKeyFunction.h + +// NB: The implementing C++ file is RegisterDispatchKey.cpp + +// The only #includes we need are for custom classes that have defaults in the C++ API +#include +#include +#include + +// Forward declarations of any types needed in the operator signatures. +// We can't directly include these classes because it will cause circular include dependencies. +// This file is included by TensorBody.h, which defines the Tensor class. +#include + +namespace at { + +namespace compositeexplicitautograd { + +TORCH_API ::std::tuple _cudnn_ctc_loss_out(at::Tensor & out0, at::Tensor & out1, const at::Tensor & log_probs, const at::Tensor & targets, at::IntArrayRef input_lengths, at::IntArrayRef target_lengths, int64_t blank, bool deterministic, bool zero_infinity); +TORCH_API ::std::tuple _cudnn_ctc_loss_outf(const at::Tensor & log_probs, const at::Tensor & targets, at::IntArrayRef input_lengths, at::IntArrayRef target_lengths, int64_t blank, bool deterministic, bool zero_infinity, at::Tensor & out0, at::Tensor & out1); + +} // namespace compositeexplicitautograd +} // namespace at diff --git a/shared/package-files/24/24630064571ade8d27bfeff84cae09ffec452a0ec3ccd984ff31e8a7821c27e1/platform-1.0.18.tm b/shared/package-files/24/24630064571ade8d27bfeff84cae09ffec452a0ec3ccd984ff31e8a7821c27e1/platform-1.0.18.tm new file mode 100644 index 0000000000000000000000000000000000000000..752f0693269b83d2d789fa2434c905418704671e --- /dev/null +++ b/shared/package-files/24/24630064571ade8d27bfeff84cae09ffec452a0ec3ccd984ff31e8a7821c27e1/platform-1.0.18.tm @@ -0,0 +1,439 @@ +# -*- tcl -*- +# ### ### ### ######### ######### ######### +## Overview + +# Heuristics to assemble a platform identifier from publicly available +# information. The identifier describes the platform of the currently +# running tcl shell. This is a mixture of the runtime environment and +# of build-time properties of the executable itself. +# +# Examples: +# <1> A tcl shell executing on a x86_64 processor, but having a +# wordsize of 4 was compiled for the x86 environment, i.e. 32 +# bit, and loaded packages have to match that, and not the +# actual cpu. +# +# <2> The hp/solaris 32/64 bit builds of the core cannot be +# distinguished by looking at tcl_platform. As packages have to +# match the 32/64 information we have to look in more places. In +# this case we inspect the executable itself (magic numbers, +# i.e. fileutil::magic::filetype). +# +# The basic information used comes out of the 'os' and 'machine' +# entries of the 'tcl_platform' array. A number of general and +# os/machine specific transformation are applied to get a canonical +# result. +# +# General +# Only the first element of 'os' is used - we don't care whether we +# are on "Windows NT" or "Windows XP" or whatever. +# +# Machine specific +# % amd64 -> x86_64 +# % arm* -> arm +# % sun4* -> sparc +# % ia32* -> ix86 +# % intel -> ix86 +# % i*86* -> ix86 +# % Power* -> powerpc +# % x86_64 + wordSize 4 => x86 code +# +# OS specific +# % AIX are always powerpc machines +# % HP-UX 9000/800 etc means parisc +# % linux has to take glibc version into account +# % sunos -> solaris, and keep version number +# +# NOTE: A platform like linux glibc 2.3, which can use glibc 2.2 stuff +# has to provide all possible allowed platform identifiers when +# searching search. Ditto a solaris 2.8 platform can use solaris 2.6 +# packages. Etc. This is handled by the other procedure, see below. + +# ### ### ### ######### ######### ######### +## Requirements + +namespace eval ::platform {} + +# ### ### ### ######### ######### ######### +## Implementation + +# -- platform::generic +# +# Assembles an identifier for the generic platform. It leaves out +# details like kernel version, libc version, etc. + +proc ::platform::generic {} { + global tcl_platform + + set plat [string tolower [lindex $tcl_platform(os) 0]] + set cpu $tcl_platform(machine) + + switch -glob -- $cpu { + sun4* { + set cpu sparc + } + intel - + ia32* - + i*86* { + set cpu ix86 + } + x86_64 { + if {$tcl_platform(wordSize) == 4} { + # See Example <1> at the top of this file. + set cpu ix86 + } + } + ppc - + "Power*" { + set cpu powerpc + } + "arm*" { + set cpu arm + } + ia64 { + if {$tcl_platform(wordSize) == 4} { + append cpu _32 + } + } + } + + switch -glob -- $plat { + windows { + if {$tcl_platform(platform) == "unix"} { + set plat cygwin + } else { + set plat win32 + } + if {$cpu eq "amd64"} { + # Do not check wordSize, win32-x64 is an IL32P64 platform. + set cpu x86_64 + } + } + sunos { + set plat solaris + if {[string match "ix86" $cpu]} { + if {$tcl_platform(wordSize) == 8} { + set cpu x86_64 + } + } elseif {![string match "ia64*" $cpu]} { + # sparc + if {$tcl_platform(wordSize) == 8} { + append cpu 64 + } + } + } + darwin { + set plat macosx + # Correctly identify the cpu when running as a 64bit + # process on a machine with a 32bit kernel + if {$cpu eq "ix86"} { + if {$tcl_platform(wordSize) == 8} { + set cpu x86_64 + } + } + } + aix { + set cpu powerpc + if {$tcl_platform(wordSize) == 8} { + append cpu 64 + } + } + hp-ux { + set plat hpux + if {![string match "ia64*" $cpu]} { + set cpu parisc + if {$tcl_platform(wordSize) == 8} { + append cpu 64 + } + } + } + osf1 { + set plat tru64 + } + default { + set plat [lindex [split $plat _-] 0] + } + } + + return "${plat}-${cpu}" +} + +# -- platform::identify +# +# Assembles an identifier for the exact platform, by extending the +# generic identifier. I.e. it adds in details like kernel version, +# libc version, etc., if they are relevant for the loading of +# packages on the platform. + +proc ::platform::identify {} { + global tcl_platform + + set id [generic] + regexp {^([^-]+)-([^-]+)$} $id -> plat cpu + + switch -- $plat { + solaris { + regsub {^5} $tcl_platform(osVersion) 2 text + append plat $text + return "${plat}-${cpu}" + } + macosx { + set major [lindex [split $tcl_platform(osVersion) .] 0] + if {$major > 19} { + set minor [lindex [split $tcl_platform(osVersion) .] 1] + incr major -9 + append plat $major.[expr {$minor - 1}] + } else { + incr major -4 + append plat 10.$major + return "${plat}-${cpu}" + } + return "${plat}-${cpu}" + } + linux { + # Look for the libc*.so and determine its version + # (libc5/6, libc6 further glibc 2.X) + + set v unknown + + # Determine in which directory to look. /lib, or /lib64. + # For that we use the tcl_platform(wordSize). + # + # We could use the 'cpu' info, per the equivalence below, + # that however would be restricted to intel. And this may + # be a arm, mips, etc. system. The wordsize is more + # fundamental. + # + # ix86 <=> (wordSize == 4) <=> 32 bit ==> /lib + # x86_64 <=> (wordSize == 8) <=> 64 bit ==> /lib64 + # + # Do not look into /lib64 even if present, if the cpu + # doesn't fit. + + # TODO: Determine the prefixes (i386, x86_64, ...) for + # other cpus. The path after the generic one is utterly + # specific to intel right now. Ok, on Ubuntu, possibly + # other Debian systems we may apparently be able to query + # the necessary CPU code. If we can't we simply use the + # hardwired fallback. + + switch -exact -- $tcl_platform(wordSize) { + 4 { + lappend bases /lib + if {[catch { + exec dpkg-architecture -qDEB_HOST_MULTIARCH + } res]} { + lappend bases /lib/i386-linux-gnu + } else { + # dpkg-arch returns the full tripled, not just cpu. + lappend bases /lib/$res + } + } + 8 { + lappend bases /lib64 + if {[catch { + exec dpkg-architecture -qDEB_HOST_MULTIARCH + } res]} { + lappend bases /lib/x86_64-linux-gnu + } else { + # dpkg-arch returns the full tripled, not just cpu. + lappend bases /lib/$res + } + } + default { + return -code error "Bad wordSize $tcl_platform(wordSize), expected 4 or 8" + } + } + + foreach base $bases { + if {[LibcVersion $base -> v]} break + } + + append plat -$v + return "${plat}-${cpu}" + } + } + + return $id +} + +proc ::platform::LibcVersion {base _->_ vv} { + upvar 1 $vv v + set libclist [lsort [glob -nocomplain -directory $base libc*]] + + if {![llength $libclist]} { return 0 } + + set libc [lindex $libclist 0] + + # Try executing the library first. This should suceed + # for a glibc library, and return the version + # information. + + if {![catch { + set vdata [lindex [split [exec $libc] \n] 0] + }]} { + regexp {version ([0-9]+(\.[0-9]+)*)} $vdata -> v + foreach {major minor} [split $v .] break + set v glibc${major}.${minor} + return 1 + } else { + # We had trouble executing the library. We are now + # inspecting its name to determine the version + # number. This code by Larry McVoy. + + if {[regexp -- {libc-([0-9]+)\.([0-9]+)} $libc -> major minor]} { + set v glibc${major}.${minor} + return 1 + } + } + return 0 +} + +# -- platform::patterns +# +# Given an exact platform identifier, i.e. _not_ the generic +# identifier it assembles a list of exact platform identifier +# describing platform which should be compatible with the +# input. +# +# I.e. packages for all platforms in the result list should be +# loadable on the specified platform. + +# << Should we add the generic identifier to the list as well ? In +# general it is not compatible I believe. So better not. In many +# cases the exact identifier is identical to the generic one +# anyway. +# >> + +proc ::platform::patterns {id} { + set res [list $id] + if {$id eq "tcl"} {return $res} + + switch -glob -- $id { + solaris*-* { + if {[regexp {solaris([^-]*)-(.*)} $id -> v cpu]} { + if {$v eq ""} {return $id} + foreach {major minor} [split $v .] break + incr minor -1 + for {set j $minor} {$j >= 6} {incr j -1} { + lappend res solaris${major}.${j}-${cpu} + } + } + } + linux*-* { + if {[regexp {linux-glibc([^-]*)-(.*)} $id -> v cpu]} { + foreach {major minor} [split $v .] break + incr minor -1 + for {set j $minor} {$j >= 0} {incr j -1} { + lappend res linux-glibc${major}.${j}-${cpu} + } + } + } + macosx-powerpc { + lappend res macosx-universal + } + macosx-x86_64 { + lappend res macosx-i386-x86_64 + } + macosx-ix86 { + lappend res macosx-universal macosx-i386-x86_64 + } + macosx*-* { + # 10.5+,11.0+ + if {[regexp {macosx([^-]*)-(.*)} $id -> v cpu]} { + + switch -exact -- $cpu { + ix86 { + lappend alt i386-x86_64 + lappend alt universal + } + x86_64 { + if {[lindex [split $::tcl_platform(osVersion) .] 0] < 19} { + set alt i386-x86_64 + } else { + set alt {} + } + } + arm { + lappend alt x86_64 + } + default { set alt {} } + } + + if {$v ne ""} { + foreach {major minor} [split $v .] break + + set res {} + if {$major eq 12} { + # Add 12.0 to 12.minor to patterns. + for {set j $minor} {$j >= 0} {incr j -1} { + lappend res macosx${major}.${j}-${cpu} + foreach a $alt { + lappend res macosx${major}.${j}-$a + } + } + set major 11 + set minor 5 + } + if {$major eq 11} { + # Add 11.0 to 11.minor to patterns. + for {set j $minor} {$j >= 0} {incr j -1} { + lappend res macosx${major}.${j}-${cpu} + foreach a $alt { + lappend res macosx${major}.${j}-$a + } + } + set major 10 + set minor 15 + } + # Add 10.5 to 10.minor to patterns. + for {set j $minor} {$j >= 5} {incr j -1} { + if {$cpu ne "arm"} { + lappend res macosx${major}.${j}-${cpu} + } + foreach a $alt { + lappend res macosx${major}.${j}-$a + } + } + + # Add unversioned patterns for 10.3/10.4 builds. + lappend res macosx-${cpu} + foreach a $alt { + lappend res macosx-$a + } + } else { + # No version, just do unversioned patterns. + foreach a $alt { + lappend res macosx-$a + } + } + } else { + # no v, no cpu ... nothing + } + } + } + lappend res tcl ; # Pure tcl packages are always compatible. + return $res +} + + +# ### ### ### ######### ######### ######### +## Ready + +package provide platform 1.0.18 + +# ### ### ### ######### ######### ######### +## Demo application + +if {[info exists argv0] && ($argv0 eq [info script])} { + puts ==================================== + parray tcl_platform + puts ==================================== + puts Generic\ identification:\ [::platform::generic] + puts Exact\ identification:\ \ \ [::platform::identify] + puts ==================================== + puts Search\ patterns: + puts *\ [join [::platform::patterns [::platform::identify]] \n*\ ] + puts ==================================== + exit 0 +} diff --git a/shared/package-files/24/2464429fd69c57cd260e211ebf3a11995d1dc1457103d2c470b947b6a2bc7500/nodes.py b/shared/package-files/24/2464429fd69c57cd260e211ebf3a11995d1dc1457103d2c470b947b6a2bc7500/nodes.py new file mode 100644 index 0000000000000000000000000000000000000000..c76bb4e2cc78ff8c70aefd9c5b4c31da42453546 --- /dev/null +++ b/shared/package-files/24/2464429fd69c57cd260e211ebf3a11995d1dc1457103d2c470b947b6a2bc7500/nodes.py @@ -0,0 +1,135 @@ +# coding: utf-8 + +import sys + +from ruamel.yaml.compat import _F + +if False: # MYPY + from typing import Dict, Any, Text # NOQA + + +class Node: + __slots__ = 'tag', 'value', 'start_mark', 'end_mark', 'comment', 'anchor' + + def __init__(self, tag, value, start_mark, end_mark, comment=None, anchor=None): + # type: (Any, Any, Any, Any, Any, Any) -> None + self.tag = tag + self.value = value + self.start_mark = start_mark + self.end_mark = end_mark + self.comment = comment + self.anchor = anchor + + def __repr__(self): + # type: () -> Any + value = self.value + # if isinstance(value, list): + # if len(value) == 0: + # value = '' + # elif len(value) == 1: + # value = '<1 item>' + # else: + # value = f'<{len(value)} items>' + # else: + # if len(value) > 75: + # value = repr(value[:70]+' ... ') + # else: + # value = repr(value) + value = repr(value) + return _F( + '{class_name!s}(tag={self_tag!r}, value={value!s})', + class_name=self.__class__.__name__, + self_tag=self.tag, + value=value, + ) + + def dump(self, indent=0): + # type: (int) -> None + if isinstance(self.value, str): + sys.stdout.write( + '{}{}(tag={!r}, value={!r})\n'.format( + ' ' * indent, self.__class__.__name__, self.tag, self.value + ) + ) + if self.comment: + sys.stdout.write(' {}comment: {})\n'.format(' ' * indent, self.comment)) + return + sys.stdout.write( + '{}{}(tag={!r})\n'.format(' ' * indent, self.__class__.__name__, self.tag) + ) + if self.comment: + sys.stdout.write(' {}comment: {})\n'.format(' ' * indent, self.comment)) + for v in self.value: + if isinstance(v, tuple): + for v1 in v: + v1.dump(indent + 1) + elif isinstance(v, Node): + v.dump(indent + 1) + else: + sys.stdout.write('Node value type? {}\n'.format(type(v))) + + +class ScalarNode(Node): + """ + styles: + ? -> set() ? key, no value + " -> double quoted + ' -> single quoted + | -> literal style + > -> folding style + """ + + __slots__ = ('style',) + id = 'scalar' + + def __init__( + self, tag, value, start_mark=None, end_mark=None, style=None, comment=None, anchor=None + ): + # type: (Any, Any, Any, Any, Any, Any, Any) -> None + Node.__init__(self, tag, value, start_mark, end_mark, comment=comment, anchor=anchor) + self.style = style + + +class CollectionNode(Node): + __slots__ = ('flow_style',) + + def __init__( + self, + tag, + value, + start_mark=None, + end_mark=None, + flow_style=None, + comment=None, + anchor=None, + ): + # type: (Any, Any, Any, Any, Any, Any, Any) -> None + Node.__init__(self, tag, value, start_mark, end_mark, comment=comment) + self.flow_style = flow_style + self.anchor = anchor + + +class SequenceNode(CollectionNode): + __slots__ = () + id = 'sequence' + + +class MappingNode(CollectionNode): + __slots__ = ('merge',) + id = 'mapping' + + def __init__( + self, + tag, + value, + start_mark=None, + end_mark=None, + flow_style=None, + comment=None, + anchor=None, + ): + # type: (Any, Any, Any, Any, Any, Any, Any) -> None + CollectionNode.__init__( + self, tag, value, start_mark, end_mark, flow_style, comment, anchor + ) + self.merge = None diff --git a/shared/package-files/24/24661a72a24c12a1d2ea84f6018b3d77b8aeb4811bdf63e426cf4426a387c5c4/test_demidovich.py b/shared/package-files/24/24661a72a24c12a1d2ea84f6018b3d77b8aeb4811bdf63e426cf4426a387c5c4/test_demidovich.py new file mode 100644 index 0000000000000000000000000000000000000000..98cafbae6f019dd3d97d306099d5780ed2f37f04 --- /dev/null +++ b/shared/package-files/24/24661a72a24c12a1d2ea84f6018b3d77b8aeb4811bdf63e426cf4426a387c5c4/test_demidovich.py @@ -0,0 +1,143 @@ +from sympy.core.numbers import (Rational, oo, pi) +from sympy.core.singleton import S +from sympy.core.symbol import Symbol +from sympy.functions.elementary.exponential import (exp, log) +from sympy.functions.elementary.miscellaneous import (root, sqrt) +from sympy.functions.elementary.trigonometric import (asin, cos, sin, tan) +from sympy.polys.rationaltools import together +from sympy.series.limits import limit + +# Numbers listed with the tests refer to problem numbers in the book +# "Anti-demidovich, problemas resueltos, Ed. URSS" + +x = Symbol("x") + + +def test_leadterm(): + assert (3 + 2*x**(log(3)/log(2) - 1)).leadterm(x) == (3, 0) + + +def root3(x): + return root(x, 3) + + +def root4(x): + return root(x, 4) + + +def test_Limits_simple_0(): + assert limit((2**(x + 1) + 3**(x + 1))/(2**x + 3**x), x, oo) == 3 # 175 + + +def test_Limits_simple_1(): + assert limit((x + 1)*(x + 2)*(x + 3)/x**3, x, oo) == 1 # 172 + assert limit(sqrt(x + 1) - sqrt(x), x, oo) == 0 # 179 + assert limit((2*x - 3)*(3*x + 5)*(4*x - 6)/(3*x**3 + x - 1), x, oo) == 8 # Primjer 1 + assert limit(x/root3(x**3 + 10), x, oo) == 1 # Primjer 2 + assert limit((x + 1)**2/(x**2 + 1), x, oo) == 1 # 181 + + +def test_Limits_simple_2(): + assert limit(1000*x/(x**2 - 1), x, oo) == 0 # 182 + assert limit((x**2 - 5*x + 1)/(3*x + 7), x, oo) is oo # 183 + assert limit((2*x**2 - x + 3)/(x**3 - 8*x + 5), x, oo) == 0 # 184 + assert limit((2*x**2 - 3*x - 4)/sqrt(x**4 + 1), x, oo) == 2 # 186 + assert limit((2*x + 3)/(x + root3(x)), x, oo) == 2 # 187 + assert limit(x**2/(10 + x*sqrt(x)), x, oo) is oo # 188 + assert limit(root3(x**2 + 1)/(x + 1), x, oo) == 0 # 189 + assert limit(sqrt(x)/sqrt(x + sqrt(x + sqrt(x))), x, oo) == 1 # 190 + + +def test_Limits_simple_3a(): + a = Symbol('a') + #issue 3513 + assert together(limit((x**2 - (a + 1)*x + a)/(x**3 - a**3), x, a)) == \ + (a - 1)/(3*a**2) # 196 + + +def test_Limits_simple_3b(): + h = Symbol("h") + assert limit(((x + h)**3 - x**3)/h, h, 0) == 3*x**2 # 197 + assert limit((1/(1 - x) - 3/(1 - x**3)), x, 1) == -1 # 198 + assert limit((sqrt(1 + x) - 1)/(root3(1 + x) - 1), x, 0) == Rational(3)/2 # Primer 4 + assert limit((sqrt(x) - 1)/(x - 1), x, 1) == Rational(1)/2 # 199 + assert limit((sqrt(x) - 8)/(root3(x) - 4), x, 64) == 3 # 200 + assert limit((root3(x) - 1)/(root4(x) - 1), x, 1) == Rational(4)/3 # 201 + assert limit( + (root3(x**2) - 2*root3(x) + 1)/(x - 1)**2, x, 1) == Rational(1)/9 # 202 + + +def test_Limits_simple_4a(): + a = Symbol('a') + assert limit((sqrt(x) - sqrt(a))/(x - a), x, a) == 1/(2*sqrt(a)) # Primer 5 + assert limit((sqrt(x) - 1)/(root3(x) - 1), x, 1) == Rational(3, 2) # 205 + assert limit((sqrt(1 + x) - sqrt(1 - x))/x, x, 0) == 1 # 207 + assert limit(sqrt(x**2 - 5*x + 6) - x, x, oo) == Rational(-5, 2) # 213 + + +def test_limits_simple_4aa(): + assert limit(x*(sqrt(x**2 + 1) - x), x, oo) == Rational(1)/2 # 214 + + +def test_Limits_simple_4b(): + #issue 3511 + assert limit(x - root3(x**3 - 1), x, oo) == 0 # 215 + + +def test_Limits_simple_4c(): + assert limit(log(1 + exp(x))/x, x, -oo) == 0 # 267a + assert limit(log(1 + exp(x))/x, x, oo) == 1 # 267b + + +def test_bounded(): + assert limit(sin(x)/x, x, oo) == 0 # 216b + assert limit(x*sin(1/x), x, 0) == 0 # 227a + + +def test_f1a(): + #issue 3508: + assert limit((sin(2*x)/x)**(1 + x), x, 0) == 2 # Primer 7 + + +def test_f1a2(): + #issue 3509: + assert limit(((x - 1)/(x + 1))**x, x, oo) == exp(-2) # Primer 9 + + +def test_f1b(): + m = Symbol("m") + n = Symbol("n") + h = Symbol("h") + a = Symbol("a") + assert limit(sin(x)/x, x, 2) == sin(2)/2 # 216a + assert limit(sin(3*x)/x, x, 0) == 3 # 217 + assert limit(sin(5*x)/sin(2*x), x, 0) == Rational(5, 2) # 218 + assert limit(sin(pi*x)/sin(3*pi*x), x, 0) == Rational(1, 3) # 219 + assert limit(x*sin(pi/x), x, oo) == pi # 220 + assert limit((1 - cos(x))/x**2, x, 0) == S.Half # 221 + assert limit(x*sin(1/x), x, oo) == 1 # 227b + assert limit((cos(m*x) - cos(n*x))/x**2, x, 0) == -m**2/2 + n**2/2 # 232 + assert limit((tan(x) - sin(x))/x**3, x, 0) == S.Half # 233 + assert limit((x - sin(2*x))/(x + sin(3*x)), x, 0) == -Rational(1, 4) # 237 + assert limit((1 - sqrt(cos(x)))/x**2, x, 0) == Rational(1, 4) # 239 + assert limit((sqrt(1 + sin(x)) - sqrt(1 - sin(x)))/x, x, 0) == 1 # 240 + + assert limit((1 + h/x)**x, x, oo) == exp(h) # Primer 9 + assert limit((sin(x) - sin(a))/(x - a), x, a) == cos(a) # 222, *176 + assert limit((cos(x) - cos(a))/(x - a), x, a) == -sin(a) # 223 + assert limit((sin(x + h) - sin(x))/h, h, 0) == cos(x) # 225 + + +def test_f2a(): + assert limit(((x + 1)/(2*x + 1))**(x**2), x, oo) == 0 # Primer 8 + + +def test_f2(): + assert limit((sqrt( + cos(x)) - root3(cos(x)))/(sin(x)**2), x, 0) == -Rational(1, 12) # *184 + + +def test_f3(): + a = Symbol('a') + #issue 3504 + assert limit(asin(a*x)/x, x, 0) == a diff --git a/shared/package-files/24/246b1b277cc14186ae6720e94827eb5e64543b8a671fe0487f03835f7a804e83/test_xs.py b/shared/package-files/24/246b1b277cc14186ae6720e94827eb5e64543b8a671fe0487f03835f7a804e83/test_xs.py new file mode 100644 index 0000000000000000000000000000000000000000..2aa27d1d6a5489933459bb877fbbbba1d5a1d98b --- /dev/null +++ b/shared/package-files/24/246b1b277cc14186ae6720e94827eb5e64543b8a671fe0487f03835f7a804e83/test_xs.py @@ -0,0 +1,444 @@ +import re + +import numpy as np +import pytest + +from pandas.errors import SettingWithCopyError + +from pandas import ( + DataFrame, + Index, + IndexSlice, + MultiIndex, + Series, + concat, +) +import pandas._testing as tm + +from pandas.tseries.offsets import BDay + + +@pytest.fixture +def four_level_index_dataframe(): + arr = np.array( + [ + [-0.5109, -2.3358, -0.4645, 0.05076, 0.364], + [0.4473, 1.4152, 0.2834, 1.00661, 0.1744], + [-0.6662, -0.5243, -0.358, 0.89145, 2.5838], + ] + ) + index = MultiIndex( + levels=[["a", "x"], ["b", "q"], [10.0032, 20.0, 30.0], [3, 4, 5]], + codes=[[0, 0, 1], [0, 1, 1], [0, 1, 2], [2, 1, 0]], + names=["one", "two", "three", "four"], + ) + return DataFrame(arr, index=index, columns=list("ABCDE")) + + +class TestXS: + def test_xs( + self, float_frame, datetime_frame, using_copy_on_write, warn_copy_on_write + ): + float_frame_orig = float_frame.copy() + idx = float_frame.index[5] + xs = float_frame.xs(idx) + for item, value in xs.items(): + if np.isnan(value): + assert np.isnan(float_frame[item][idx]) + else: + assert value == float_frame[item][idx] + + # mixed-type xs + test_data = {"A": {"1": 1, "2": 2}, "B": {"1": "1", "2": "2", "3": "3"}} + frame = DataFrame(test_data) + xs = frame.xs("1") + assert xs.dtype == np.object_ + assert xs["A"] == 1 + assert xs["B"] == "1" + + with pytest.raises( + KeyError, match=re.escape("Timestamp('1999-12-31 00:00:00')") + ): + datetime_frame.xs(datetime_frame.index[0] - BDay()) + + # xs get column + series = float_frame.xs("A", axis=1) + expected = float_frame["A"] + tm.assert_series_equal(series, expected) + + # view is returned if possible + series = float_frame.xs("A", axis=1) + with tm.assert_cow_warning(warn_copy_on_write): + series[:] = 5 + if using_copy_on_write: + # but with CoW the view shouldn't propagate mutations + tm.assert_series_equal(float_frame["A"], float_frame_orig["A"]) + assert not (expected == 5).all() + else: + assert (expected == 5).all() + + def test_xs_corner(self): + # pathological mixed-type reordering case + df = DataFrame(index=[0], columns=Index([], dtype="str")) + df["A"] = 1.0 + df["B"] = "foo" + df["C"] = 2.0 + df["D"] = "bar" + df["E"] = 3.0 + + xs = df.xs(0) + exp = Series([1.0, "foo", 2.0, "bar", 3.0], index=list("ABCDE"), name=0) + tm.assert_series_equal(xs, exp) + + # no columns but Index(dtype=object) + df = DataFrame(index=["a", "b", "c"]) + result = df.xs("a") + expected = Series([], name="a", dtype=np.float64) + tm.assert_series_equal(result, expected) + + def test_xs_duplicates(self): + df = DataFrame( + np.random.default_rng(2).standard_normal((5, 2)), + index=["b", "b", "c", "b", "a"], + ) + + cross = df.xs("c") + exp = df.iloc[2] + tm.assert_series_equal(cross, exp) + + def test_xs_keep_level(self): + df = DataFrame( + { + "day": {0: "sat", 1: "sun"}, + "flavour": {0: "strawberry", 1: "strawberry"}, + "sales": {0: 10, 1: 12}, + "year": {0: 2008, 1: 2008}, + } + ).set_index(["year", "flavour", "day"]) + result = df.xs("sat", level="day", drop_level=False) + expected = df[:1] + tm.assert_frame_equal(result, expected) + + result = df.xs((2008, "sat"), level=["year", "day"], drop_level=False) + tm.assert_frame_equal(result, expected) + + def test_xs_view( + self, using_array_manager, using_copy_on_write, warn_copy_on_write + ): + # in 0.14 this will return a view if possible a copy otherwise, but + # this is numpy dependent + + dm = DataFrame(np.arange(20.0).reshape(4, 5), index=range(4), columns=range(5)) + df_orig = dm.copy() + + if using_copy_on_write: + with tm.raises_chained_assignment_error(): + dm.xs(2)[:] = 20 + tm.assert_frame_equal(dm, df_orig) + elif using_array_manager: + # INFO(ArrayManager) with ArrayManager getting a row as a view is + # not possible + msg = r"\nA value is trying to be set on a copy of a slice from a DataFrame" + with pytest.raises(SettingWithCopyError, match=msg): + dm.xs(2)[:] = 20 + assert not (dm.xs(2) == 20).any() + else: + with tm.raises_chained_assignment_error(): + dm.xs(2)[:] = 20 + assert (dm.xs(2) == 20).all() + + +class TestXSWithMultiIndex: + def test_xs_doc_example(self): + # TODO: more descriptive name + # based on example in advanced.rst + arrays = [ + ["bar", "bar", "baz", "baz", "foo", "foo", "qux", "qux"], + ["one", "two", "one", "two", "one", "two", "one", "two"], + ] + tuples = list(zip(*arrays)) + + index = MultiIndex.from_tuples(tuples, names=["first", "second"]) + df = DataFrame( + np.random.default_rng(2).standard_normal((3, 8)), + index=["A", "B", "C"], + columns=index, + ) + + result = df.xs(("one", "bar"), level=("second", "first"), axis=1) + + expected = df.iloc[:, [0]] + tm.assert_frame_equal(result, expected) + + def test_xs_integer_key(self): + # see GH#2107 + dates = range(20111201, 20111205) + ids = list("abcde") + index = MultiIndex.from_product([dates, ids], names=["date", "secid"]) + df = DataFrame( + np.random.default_rng(2).standard_normal((len(index), 3)), + index, + ["X", "Y", "Z"], + ) + + result = df.xs(20111201, level="date") + expected = df.loc[20111201, :] + tm.assert_frame_equal(result, expected) + + def test_xs_level(self, multiindex_dataframe_random_data): + df = multiindex_dataframe_random_data + result = df.xs("two", level="second") + expected = df[df.index.get_level_values(1) == "two"] + expected.index = Index(["foo", "bar", "baz", "qux"], name="first") + tm.assert_frame_equal(result, expected) + + def test_xs_level_eq_2(self): + arr = np.random.default_rng(2).standard_normal((3, 5)) + index = MultiIndex( + levels=[["a", "p", "x"], ["b", "q", "y"], ["c", "r", "z"]], + codes=[[2, 0, 1], [2, 0, 1], [2, 0, 1]], + ) + df = DataFrame(arr, index=index) + expected = DataFrame(arr[1:2], index=[["a"], ["b"]]) + result = df.xs("c", level=2) + tm.assert_frame_equal(result, expected) + + def test_xs_setting_with_copy_error( + self, + multiindex_dataframe_random_data, + using_copy_on_write, + warn_copy_on_write, + ): + # this is a copy in 0.14 + df = multiindex_dataframe_random_data + df_orig = df.copy() + result = df.xs("two", level="second") + + if using_copy_on_write or warn_copy_on_write: + result[:] = 10 + else: + # setting this will give a SettingWithCopyError + # as we are trying to write a view + msg = "A value is trying to be set on a copy of a slice from a DataFrame" + with pytest.raises(SettingWithCopyError, match=msg): + result[:] = 10 + tm.assert_frame_equal(df, df_orig) + + def test_xs_setting_with_copy_error_multiple( + self, four_level_index_dataframe, using_copy_on_write, warn_copy_on_write + ): + # this is a copy in 0.14 + df = four_level_index_dataframe + df_orig = df.copy() + result = df.xs(("a", 4), level=["one", "four"]) + + if using_copy_on_write or warn_copy_on_write: + result[:] = 10 + else: + # setting this will give a SettingWithCopyError + # as we are trying to write a view + msg = "A value is trying to be set on a copy of a slice from a DataFrame" + with pytest.raises(SettingWithCopyError, match=msg): + result[:] = 10 + tm.assert_frame_equal(df, df_orig) + + @pytest.mark.parametrize("key, level", [("one", "second"), (["one"], ["second"])]) + def test_xs_with_duplicates(self, key, level, multiindex_dataframe_random_data): + # see GH#13719 + frame = multiindex_dataframe_random_data + df = concat([frame] * 2) + assert df.index.is_unique is False + expected = concat([frame.xs("one", level="second")] * 2) + + if isinstance(key, list): + result = df.xs(tuple(key), level=level) + else: + result = df.xs(key, level=level) + tm.assert_frame_equal(result, expected) + + def test_xs_missing_values_in_index(self): + # see GH#6574 + # missing values in returned index should be preserved + acc = [ + ("a", "abcde", 1), + ("b", "bbcde", 2), + ("y", "yzcde", 25), + ("z", "xbcde", 24), + ("z", None, 26), + ("z", "zbcde", 25), + ("z", "ybcde", 26), + ] + df = DataFrame(acc, columns=["a1", "a2", "cnt"]).set_index(["a1", "a2"]) + expected = DataFrame( + {"cnt": [24, 26, 25, 26]}, + index=Index(["xbcde", np.nan, "zbcde", "ybcde"], name="a2"), + ) + + result = df.xs("z", level="a1") + tm.assert_frame_equal(result, expected) + + @pytest.mark.parametrize( + "key, level, exp_arr, exp_index", + [ + ("a", "lvl0", lambda x: x[:, 0:2], Index(["bar", "foo"], name="lvl1")), + ("foo", "lvl1", lambda x: x[:, 1:2], Index(["a"], name="lvl0")), + ], + ) + def test_xs_named_levels_axis_eq_1(self, key, level, exp_arr, exp_index): + # see GH#2903 + arr = np.random.default_rng(2).standard_normal((4, 4)) + index = MultiIndex( + levels=[["a", "b"], ["bar", "foo", "hello", "world"]], + codes=[[0, 0, 1, 1], [0, 1, 2, 3]], + names=["lvl0", "lvl1"], + ) + df = DataFrame(arr, columns=index) + result = df.xs(key, level=level, axis=1) + expected = DataFrame(exp_arr(arr), columns=exp_index) + tm.assert_frame_equal(result, expected) + + @pytest.mark.parametrize( + "indexer", + [ + lambda df: df.xs(("a", 4), level=["one", "four"]), + lambda df: df.xs("a").xs(4, level="four"), + ], + ) + def test_xs_level_multiple(self, indexer, four_level_index_dataframe): + df = four_level_index_dataframe + expected_values = [[0.4473, 1.4152, 0.2834, 1.00661, 0.1744]] + expected_index = MultiIndex( + levels=[["q"], [20.0]], codes=[[0], [0]], names=["two", "three"] + ) + expected = DataFrame( + expected_values, index=expected_index, columns=list("ABCDE") + ) + result = indexer(df) + tm.assert_frame_equal(result, expected) + + @pytest.mark.parametrize( + "indexer", [lambda df: df.xs("a", level=0), lambda df: df.xs("a")] + ) + def test_xs_level0(self, indexer, four_level_index_dataframe): + df = four_level_index_dataframe + expected_values = [ + [-0.5109, -2.3358, -0.4645, 0.05076, 0.364], + [0.4473, 1.4152, 0.2834, 1.00661, 0.1744], + ] + expected_index = MultiIndex( + levels=[["b", "q"], [10.0032, 20.0], [4, 5]], + codes=[[0, 1], [0, 1], [1, 0]], + names=["two", "three", "four"], + ) + expected = DataFrame( + expected_values, index=expected_index, columns=list("ABCDE") + ) + + result = indexer(df) + tm.assert_frame_equal(result, expected) + + def test_xs_values(self, multiindex_dataframe_random_data): + df = multiindex_dataframe_random_data + result = df.xs(("bar", "two")).values + expected = df.values[4] + tm.assert_almost_equal(result, expected) + + def test_xs_loc_equality(self, multiindex_dataframe_random_data): + df = multiindex_dataframe_random_data + result = df.xs(("bar", "two")) + expected = df.loc[("bar", "two")] + tm.assert_series_equal(result, expected) + + def test_xs_IndexSlice_argument_not_implemented(self, frame_or_series): + # GH#35301 + + index = MultiIndex( + levels=[[("foo", "bar", 0), ("foo", "baz", 0), ("foo", "qux", 0)], [0, 1]], + codes=[[0, 0, 1, 1, 2, 2], [0, 1, 0, 1, 0, 1]], + ) + + obj = DataFrame(np.random.default_rng(2).standard_normal((6, 4)), index=index) + if frame_or_series is Series: + obj = obj[0] + + expected = obj.iloc[-2:].droplevel(0) + + result = obj.xs(IndexSlice[("foo", "qux", 0), :]) + tm.assert_equal(result, expected) + + result = obj.loc[IndexSlice[("foo", "qux", 0), :]] + tm.assert_equal(result, expected) + + def test_xs_levels_raises(self, frame_or_series): + obj = DataFrame({"A": [1, 2, 3]}) + if frame_or_series is Series: + obj = obj["A"] + + msg = "Index must be a MultiIndex" + with pytest.raises(TypeError, match=msg): + obj.xs(0, level="as") + + def test_xs_multiindex_droplevel_false(self): + # GH#19056 + mi = MultiIndex.from_tuples( + [("a", "x"), ("a", "y"), ("b", "x")], names=["level1", "level2"] + ) + df = DataFrame([[1, 2, 3]], columns=mi) + result = df.xs("a", axis=1, drop_level=False) + expected = DataFrame( + [[1, 2]], + columns=MultiIndex.from_tuples( + [("a", "x"), ("a", "y")], names=["level1", "level2"] + ), + ) + tm.assert_frame_equal(result, expected) + + def test_xs_droplevel_false(self): + # GH#19056 + df = DataFrame([[1, 2, 3]], columns=Index(["a", "b", "c"])) + result = df.xs("a", axis=1, drop_level=False) + expected = DataFrame({"a": [1]}) + tm.assert_frame_equal(result, expected) + + def test_xs_droplevel_false_view( + self, using_array_manager, using_copy_on_write, warn_copy_on_write + ): + # GH#37832 + df = DataFrame([[1, 2, 3]], columns=Index(["a", "b", "c"])) + result = df.xs("a", axis=1, drop_level=False) + # check that result still views the same data as df + assert np.shares_memory(result.iloc[:, 0]._values, df.iloc[:, 0]._values) + + with tm.assert_cow_warning(warn_copy_on_write): + df.iloc[0, 0] = 2 + if using_copy_on_write: + # with copy on write the subset is never modified + expected = DataFrame({"a": [1]}) + else: + # modifying original df also modifies result when having a single block + expected = DataFrame({"a": [2]}) + tm.assert_frame_equal(result, expected) + + # with mixed dataframe, modifying the parent doesn't modify result + # TODO the "split" path behaves differently here as with single block + df = DataFrame([[1, 2.5, "a"]], columns=Index(["a", "b", "c"])) + result = df.xs("a", axis=1, drop_level=False) + df.iloc[0, 0] = 2 + if using_copy_on_write: + # with copy on write the subset is never modified + expected = DataFrame({"a": [1]}) + elif using_array_manager: + # Here the behavior is consistent + expected = DataFrame({"a": [2]}) + else: + # FIXME: iloc does not update the array inplace using + # "split" path + expected = DataFrame({"a": [1]}) + tm.assert_frame_equal(result, expected) + + def test_xs_list_indexer_droplevel_false(self): + # GH#41760 + mi = MultiIndex.from_tuples([("x", "m", "a"), ("x", "n", "b"), ("y", "o", "c")]) + df = DataFrame([[1, 2, 3], [4, 5, 6]], columns=mi) + with pytest.raises(KeyError, match="y"): + df.xs(("x", "y"), drop_level=False, axis=1) diff --git a/shared/package-files/24/246f87751c118f2a5cfa588356a577af4147982ab5d60cbda4ac7676ba08cd83/MaybeOwned.h b/shared/package-files/24/246f87751c118f2a5cfa588356a577af4147982ab5d60cbda4ac7676ba08cd83/MaybeOwned.h new file mode 100644 index 0000000000000000000000000000000000000000..41f6d2db4acd5d98a60b5236592ab2109962bbe3 --- /dev/null +++ b/shared/package-files/24/246f87751c118f2a5cfa588356a577af4147982ab5d60cbda4ac7676ba08cd83/MaybeOwned.h @@ -0,0 +1,237 @@ +#pragma once + +#include +#include + +#include +#include +#include + +namespace c10 { + +/// MaybeOwnedTraits describes how to borrow from T. Here is how we +/// can implement borrowing from an arbitrary type T using a raw +/// pointer to const: +template +struct MaybeOwnedTraitsGenericImpl { + using owned_type = T; + using borrow_type = const T*; + + static borrow_type createBorrow(const owned_type& from) { + return &from; + } + + static void assignBorrow(borrow_type& lhs, borrow_type rhs) { + lhs = rhs; + } + + static void destroyBorrow(borrow_type& /*toDestroy*/) {} + + static const owned_type& referenceFromBorrow(const borrow_type& borrow) { + return *borrow; + } + + static const owned_type* pointerFromBorrow(const borrow_type& borrow) { + return borrow; + } + + static bool debugBorrowIsValid(const borrow_type& borrow) { + return borrow != nullptr; + } +}; + +/// It is possible to eliminate the extra layer of indirection for +/// borrows for some types that we control. For examples, see +/// intrusive_ptr.h and TensorBody.h. + +template +struct MaybeOwnedTraits; + +// Explicitly enable MaybeOwned>, rather than allowing +// MaybeOwned to be used for any type right away. +template +struct MaybeOwnedTraits> + : public MaybeOwnedTraitsGenericImpl> {}; + +/// A smart pointer around either a borrowed or owned T. When +/// constructed with borrowed(), the caller MUST ensure that the +/// borrowed-from argument outlives this MaybeOwned. Compare to +/// Rust's std::borrow::Cow +/// (https://doc.rust-lang.org/std/borrow/enum.Cow.html), but note +/// that it is probably not suitable for general use because C++ has +/// no borrow checking. Included here to support +/// Tensor::expect_contiguous. +template +class MaybeOwned final { + using borrow_type = typename MaybeOwnedTraits::borrow_type; + using owned_type = typename MaybeOwnedTraits::owned_type; + + bool isBorrowed_; + union { + borrow_type borrow_; + owned_type own_; + }; + + /// Don't use this; use borrowed() instead. + explicit MaybeOwned(const owned_type& t) + : isBorrowed_(true), borrow_(MaybeOwnedTraits::createBorrow(t)) {} + + /// Don't use this; use owned() instead. + explicit MaybeOwned(T&& t) noexcept(std::is_nothrow_move_constructible_v) + : isBorrowed_(false), own_(std::move(t)) {} + + /// Don't use this; use owned() instead. + template + explicit MaybeOwned(std::in_place_t, Args&&... args) + : isBorrowed_(false), own_(std::forward(args)...) {} + + public: + explicit MaybeOwned() : isBorrowed_(true), borrow_() {} + + // Copying a borrow yields another borrow of the original, as with a + // T*. Copying an owned T yields another owned T for safety: no + // chains of borrowing by default! (Note you could get that behavior + // with MaybeOwned::borrowed(*rhs) if you wanted it.) + MaybeOwned(const MaybeOwned& rhs) : isBorrowed_(rhs.isBorrowed_) { + if (C10_LIKELY(rhs.isBorrowed_)) { + MaybeOwnedTraits::assignBorrow(borrow_, rhs.borrow_); + } else { + new (&own_) T(rhs.own_); + } + } + + MaybeOwned& operator=(const MaybeOwned& rhs) { + if (this == &rhs) { + return *this; + } + if (C10_UNLIKELY(!isBorrowed_)) { + if (rhs.isBorrowed_) { + own_.~T(); + MaybeOwnedTraits::assignBorrow(borrow_, rhs.borrow_); + isBorrowed_ = true; + } else { + own_ = rhs.own_; + } + } else { + if (C10_LIKELY(rhs.isBorrowed_)) { + MaybeOwnedTraits::assignBorrow(borrow_, rhs.borrow_); + } else { + MaybeOwnedTraits::destroyBorrow(borrow_); + new (&own_) T(rhs.own_); + isBorrowed_ = false; + } + } + TORCH_INTERNAL_ASSERT_DEBUG_ONLY(isBorrowed_ == rhs.isBorrowed_); + return *this; + } + + MaybeOwned(MaybeOwned&& rhs) noexcept( + // NOLINTNEXTLINE(*-noexcept-move-*) + std::is_nothrow_move_constructible_v && + std::is_nothrow_move_assignable_v) + : isBorrowed_(rhs.isBorrowed_) { + if (C10_LIKELY(rhs.isBorrowed_)) { + MaybeOwnedTraits::assignBorrow(borrow_, rhs.borrow_); + } else { + new (&own_) T(std::move(rhs.own_)); + } + } + + MaybeOwned& operator=(MaybeOwned&& rhs) noexcept( + std::is_nothrow_move_assignable_v && + std::is_nothrow_move_assignable_v && + std::is_nothrow_move_constructible_v && + // NOLINTNEXTLINE(*-noexcept-move-*) + std::is_nothrow_destructible_v && + std::is_nothrow_destructible_v) { + if (this == &rhs) { + return *this; + } + if (C10_UNLIKELY(!isBorrowed_)) { + if (rhs.isBorrowed_) { + own_.~T(); + MaybeOwnedTraits::assignBorrow(borrow_, rhs.borrow_); + isBorrowed_ = true; + } else { + own_ = std::move(rhs.own_); + } + } else { + if (C10_LIKELY(rhs.isBorrowed_)) { + MaybeOwnedTraits::assignBorrow(borrow_, rhs.borrow_); + } else { + MaybeOwnedTraits::destroyBorrow(borrow_); + new (&own_) T(std::move(rhs.own_)); + isBorrowed_ = false; + } + } + return *this; + } + + static MaybeOwned borrowed(const T& t) { + return MaybeOwned(t); + } + + static MaybeOwned owned(T&& t) noexcept( + std::is_nothrow_move_constructible_v) { + return MaybeOwned(std::move(t)); + } + + template + static MaybeOwned owned(std::in_place_t, Args&&... args) { + return MaybeOwned(std::in_place, std::forward(args)...); + } + + ~MaybeOwned() noexcept( + // NOLINTNEXTLINE(*-noexcept-destructor) + std::is_nothrow_destructible_v && + std::is_nothrow_destructible_v) { + if (C10_UNLIKELY(!isBorrowed_)) { + own_.~T(); + } else { + MaybeOwnedTraits::destroyBorrow(borrow_); + } + } + + // This is an implementation detail! You should know what you're doing + // if you are testing this. If you just want to guarantee ownership move + // this into a T + bool unsafeIsBorrowed() const { + return isBorrowed_; + } + + const T& operator*() const& { + if (isBorrowed_) { + TORCH_INTERNAL_ASSERT_DEBUG_ONLY( + MaybeOwnedTraits::debugBorrowIsValid(borrow_)); + } + return C10_LIKELY(isBorrowed_) + ? MaybeOwnedTraits::referenceFromBorrow(borrow_) + : own_; + } + + const T* operator->() const { + if (isBorrowed_) { + TORCH_INTERNAL_ASSERT_DEBUG_ONLY( + MaybeOwnedTraits::debugBorrowIsValid(borrow_)); + } + return C10_LIKELY(isBorrowed_) + ? MaybeOwnedTraits::pointerFromBorrow(borrow_) + : &own_; + } + + // If borrowed, copy the underlying T. If owned, move from + // it. borrowed/owned state remains the same, and either we + // reference the same borrow as before or we are an owned moved-from + // T. + T operator*() && { + if (isBorrowed_) { + TORCH_INTERNAL_ASSERT_DEBUG_ONLY( + MaybeOwnedTraits::debugBorrowIsValid(borrow_)); + return MaybeOwnedTraits::referenceFromBorrow(borrow_); + } else { + return std::move(own_); + } + } +}; + +} // namespace c10 diff --git a/shared/package-files/24/246feb139039664e5ec657e2bd91e7388dd4a739bc7498e628a1e4c048dee0b4/test_non_unique.py b/shared/package-files/24/246feb139039664e5ec657e2bd91e7388dd4a739bc7498e628a1e4c048dee0b4/test_non_unique.py new file mode 100644 index 0000000000000000000000000000000000000000..e4d31fe21f2c9cf3454a67f8c7443382f7f1c0ef --- /dev/null +++ b/shared/package-files/24/246feb139039664e5ec657e2bd91e7388dd4a739bc7498e628a1e4c048dee0b4/test_non_unique.py @@ -0,0 +1,140 @@ +from textwrap import dedent + +import pytest + +from pandas import ( + DataFrame, + IndexSlice, +) + +pytest.importorskip("jinja2") + +from pandas.io.formats.style import Styler + + +@pytest.fixture +def df(): + return DataFrame( + [[1, 2, 3], [4, 5, 6], [7, 8, 9]], + index=["i", "j", "j"], + columns=["c", "d", "d"], + dtype=float, + ) + + +@pytest.fixture +def styler(df): + return Styler(df, uuid_len=0) + + +def test_format_non_unique(df): + # GH 41269 + + # test dict + html = df.style.format({"d": "{:.1f}"}).to_html() + for val in ["1.000000<", "4.000000<", "7.000000<"]: + assert val in html + for val in ["2.0<", "3.0<", "5.0<", "6.0<", "8.0<", "9.0<"]: + assert val in html + + # test subset + html = df.style.format(precision=1, subset=IndexSlice["j", "d"]).to_html() + for val in ["1.000000<", "4.000000<", "7.000000<", "2.000000<", "3.000000<"]: + assert val in html + for val in ["5.0<", "6.0<", "8.0<", "9.0<"]: + assert val in html + + +@pytest.mark.parametrize("func", ["apply", "map"]) +def test_apply_map_non_unique_raises(df, func): + # GH 41269 + if func == "apply": + op = lambda s: ["color: red;"] * len(s) + else: + op = lambda v: "color: red;" + + with pytest.raises(KeyError, match="`Styler.apply` and `.map` are not"): + getattr(df.style, func)(op)._compute() + + +def test_table_styles_dict_non_unique_index(styler): + styles = styler.set_table_styles( + {"j": [{"selector": "td", "props": "a: v;"}]}, axis=1 + ).table_styles + assert styles == [ + {"selector": "td.row1", "props": [("a", "v")]}, + {"selector": "td.row2", "props": [("a", "v")]}, + ] + + +def test_table_styles_dict_non_unique_columns(styler): + styles = styler.set_table_styles( + {"d": [{"selector": "td", "props": "a: v;"}]}, axis=0 + ).table_styles + assert styles == [ + {"selector": "td.col1", "props": [("a", "v")]}, + {"selector": "td.col2", "props": [("a", "v")]}, + ] + + +def test_tooltips_non_unique_raises(styler): + # ttips has unique keys + ttips = DataFrame([["1", "2"], ["3", "4"]], columns=["c", "d"], index=["a", "b"]) + styler.set_tooltips(ttips=ttips) # OK + + # ttips has non-unique columns + ttips = DataFrame([["1", "2"], ["3", "4"]], columns=["c", "c"], index=["a", "b"]) + with pytest.raises(KeyError, match="Tooltips render only if `ttips` has unique"): + styler.set_tooltips(ttips=ttips) + + # ttips has non-unique index + ttips = DataFrame([["1", "2"], ["3", "4"]], columns=["c", "d"], index=["a", "a"]) + with pytest.raises(KeyError, match="Tooltips render only if `ttips` has unique"): + styler.set_tooltips(ttips=ttips) + + +def test_set_td_classes_non_unique_raises(styler): + # classes has unique keys + classes = DataFrame([["1", "2"], ["3", "4"]], columns=["c", "d"], index=["a", "b"]) + styler.set_td_classes(classes=classes) # OK + + # classes has non-unique columns + classes = DataFrame([["1", "2"], ["3", "4"]], columns=["c", "c"], index=["a", "b"]) + with pytest.raises(KeyError, match="Classes render only if `classes` has unique"): + styler.set_td_classes(classes=classes) + + # classes has non-unique index + classes = DataFrame([["1", "2"], ["3", "4"]], columns=["c", "d"], index=["a", "a"]) + with pytest.raises(KeyError, match="Classes render only if `classes` has unique"): + styler.set_td_classes(classes=classes) + + +def test_hide_columns_non_unique(styler): + ctx = styler.hide(["d"], axis="columns")._translate(True, True) + + assert ctx["head"][0][1]["display_value"] == "c" + assert ctx["head"][0][1]["is_visible"] is True + + assert ctx["head"][0][2]["display_value"] == "d" + assert ctx["head"][0][2]["is_visible"] is False + + assert ctx["head"][0][3]["display_value"] == "d" + assert ctx["head"][0][3]["is_visible"] is False + + assert ctx["body"][0][1]["is_visible"] is True + assert ctx["body"][0][2]["is_visible"] is False + assert ctx["body"][0][3]["is_visible"] is False + + +def test_latex_non_unique(styler): + result = styler.to_latex() + assert result == dedent( + """\ + \\begin{tabular}{lrrr} + & c & d & d \\\\ + i & 1.000000 & 2.000000 & 3.000000 \\\\ + j & 4.000000 & 5.000000 & 6.000000 \\\\ + j & 7.000000 & 8.000000 & 9.000000 \\\\ + \\end{tabular} + """ + ) diff --git a/shared/package-files/24/24703165ad1fd520140a056ab8e75450e1aa49170ccb3deb9298972f53e5a1cf/entry_points.txt b/shared/package-files/24/24703165ad1fd520140a056ab8e75450e1aa49170ccb3deb9298972f53e5a1cf/entry_points.txt new file mode 100644 index 0000000000000000000000000000000000000000..4423474395b8f751cbe687c9fe1d6a598a7ca838 --- /dev/null +++ b/shared/package-files/24/24703165ad1fd520140a056ab8e75450e1aa49170ccb3deb9298972f53e5a1cf/entry_points.txt @@ -0,0 +1,2 @@ +[conda] +conda-libmamba-solver = conda_libmamba_solver.plugin diff --git a/shared/package-files/24/2471caaaa65bda395622483db7a4acc5b2cbdbb485e555b2181ea2517a97d40d/models.py b/shared/package-files/24/2471caaaa65bda395622483db7a4acc5b2cbdbb485e555b2181ea2517a97d40d/models.py new file mode 100644 index 0000000000000000000000000000000000000000..f0cc4b7fc5d0cbc7d96897ffaac281d01c1f965e --- /dev/null +++ b/shared/package-files/24/2471caaaa65bda395622483db7a4acc5b2cbdbb485e555b2181ea2517a97d40d/models.py @@ -0,0 +1,219 @@ +import numpy as np +import sklearn +import sklearn.ensemble +from sklearn.preprocessing import StandardScaler + + +class KerasWrap: + """A wrapper that allows us to set parameters in the constructor and do a reset before fitting.""" + + def __init__(self, model, epochs, flatten_output=False): + self.model = model + self.epochs = epochs + self.flatten_output = flatten_output + self.init_weights = None + self.scaler = StandardScaler() + + def fit(self, X, y, verbose=0): + if self.init_weights is None: + self.init_weights = self.model.get_weights() + else: + self.model.set_weights(self.init_weights) + self.scaler.fit(X) + return self.model.fit(X, y, epochs=self.epochs, verbose=verbose) + + def predict(self, X): + X = self.scaler.transform(X) + if self.flatten_output: + return self.model.predict(X).flatten() + else: + return self.model.predict(X) + + +# This models are all tuned for the corrgroups60 dataset + + +def corrgroups60__lasso(): + """Lasso Regression""" + return sklearn.linear_model.Lasso(alpha=0.1) + + +def corrgroups60__ridge(): + """Ridge Regression""" + return sklearn.linear_model.Ridge(alpha=1.0) + + +def corrgroups60__decision_tree(): + """Decision Tree""" + # max_depth was chosen to minimise test error + return sklearn.tree.DecisionTreeRegressor(random_state=0, max_depth=6) + + +def corrgroups60__random_forest(): + """Random Forest""" + return sklearn.ensemble.RandomForestRegressor(100, random_state=0) + + +def corrgroups60__gbm(): + """Gradient Boosted Trees""" + import xgboost + + # max_depth and learning_rate were fixed then n_estimators was chosen using a train/test split + return xgboost.XGBRegressor(max_depth=6, n_estimators=50, learning_rate=0.1, n_jobs=8, random_state=0) + + +def corrgroups60__ffnn(): + """4-Layer Neural Network""" + import tensorflow as tf + + model = tf.keras.models.Sequential() + model.add(tf.keras.layers.Dense(32, activation="relu", input_dim=60)) + model.add(tf.keras.layers.Dense(20, activation="relu")) + model.add(tf.keras.layers.Dense(20, activation="relu")) + model.add(tf.keras.layers.Dense(1)) + + model.compile(optimizer="adam", loss="mean_squared_error", metrics=["mean_squared_error"]) + + return KerasWrap(model, 30, flatten_output=True) + + +def independentlinear60__lasso(): + """Lasso Regression""" + return sklearn.linear_model.Lasso(alpha=0.1) + + +def independentlinear60__ridge(): + """Ridge Regression""" + return sklearn.linear_model.Ridge(alpha=1.0) + + +def independentlinear60__decision_tree(): + """Decision Tree""" + # max_depth was chosen to minimise test error + return sklearn.tree.DecisionTreeRegressor(random_state=0, max_depth=4) + + +def independentlinear60__random_forest(): + """Random Forest""" + return sklearn.ensemble.RandomForestRegressor(100, random_state=0) + + +def independentlinear60__gbm(): + """Gradient Boosted Trees""" + import xgboost + + # max_depth and learning_rate were fixed then n_estimators was chosen using a train/test split + return xgboost.XGBRegressor(max_depth=6, n_estimators=100, learning_rate=0.1, n_jobs=8, random_state=0) + + +def independentlinear60__ffnn(): + """4-Layer Neural Network""" + from tensorflow.keras.layers import Dense + from tensorflow.keras.models import Sequential + + model = Sequential() + model.add(Dense(32, activation="relu", input_dim=60)) + model.add(Dense(20, activation="relu")) + model.add(Dense(20, activation="relu")) + model.add(Dense(1)) + + model.compile(optimizer="adam", loss="mean_squared_error", metrics=["mean_squared_error"]) + + return KerasWrap(model, 30, flatten_output=True) + + +def cric__lasso(): + """Lasso Regression""" + model = sklearn.linear_model.LogisticRegression(penalty="l1", C=0.002) + + # we want to explain the raw probability outputs of the trees + model.predict = lambda X: model.predict_proba(X)[:, 1] + + return model + + +def cric__ridge(): + """Ridge Regression""" + model = sklearn.linear_model.LogisticRegression(penalty="l2") + + # we want to explain the raw probability outputs of the trees + model.predict = lambda X: model.predict_proba(X)[:, 1] + + return model + + +def cric__decision_tree(): + """Decision Tree""" + model = sklearn.tree.DecisionTreeClassifier(random_state=0, max_depth=4) + + # we want to explain the raw probability outputs of the trees + model.predict = lambda X: model.predict_proba(X)[:, 1] + + return model + + +def cric__random_forest(): + """Random Forest""" + model = sklearn.ensemble.RandomForestClassifier(100, random_state=0) + + # we want to explain the raw probability outputs of the trees + model.predict = lambda X: model.predict_proba(X)[:, 1] + + return model + + +def cric__gbm(): + """Gradient Boosted Trees""" + import xgboost + + # max_depth and subsample match the params used for the full cric data in the paper + # learning_rate was set a bit higher to allow for faster runtimes + # n_estimators was chosen based on a train/test split of the data + model = xgboost.XGBClassifier( + max_depth=5, n_estimators=400, learning_rate=0.01, subsample=0.2, n_jobs=8, random_state=0 + ) + + # we want to explain the margin, not the transformed probability outputs + model.__orig_predict = model.predict + model.predict = lambda X: model.__orig_predict(X, output_margin=True) + + return model + + +def cric__ffnn(): + """4-Layer Neural Network""" + from tensorflow.keras.layers import Dense, Dropout + from tensorflow.keras.models import Sequential + + model = Sequential() + model.add(Dense(10, activation="relu", input_dim=336)) + model.add(Dropout(0.5)) + model.add(Dense(10, activation="relu")) + model.add(Dropout(0.5)) + model.add(Dense(1, activation="sigmoid")) + + model.compile(optimizer="adam", loss="binary_crossentropy", metrics=["accuracy"]) + + return KerasWrap(model, 30, flatten_output=True) + + +def human__decision_tree(): + """Decision Tree""" + # build data + N = 1000000 + M = 3 + X = np.zeros((N, M)) + X.shape + y = np.zeros(N) + X[0, 0] = 1 + y[0] = 8 + X[1, 1] = 1 + y[1] = 8 + X[2, 0:2] = 1 + y[2] = 4 + + # fit model + xor_model = sklearn.tree.DecisionTreeRegressor(max_depth=2) + xor_model.fit(X, y) + + return xor_model diff --git a/shared/package-files/24/24726d0bbf851a170a3f438f99cd845322d8c191fe42552c4d0514ca237dd074/q_per_channel_scales_ops.h b/shared/package-files/24/24726d0bbf851a170a3f438f99cd845322d8c191fe42552c4d0514ca237dd074/q_per_channel_scales_ops.h new file mode 100644 index 0000000000000000000000000000000000000000..67e66f46107ed40f8ee5928043c750223438a708 --- /dev/null +++ b/shared/package-files/24/24726d0bbf851a170a3f438f99cd845322d8c191fe42552c4d0514ca237dd074/q_per_channel_scales_ops.h @@ -0,0 +1,39 @@ +#pragma once + +// @generated by torchgen/gen.py from Operator.h + +#include +#include + +// Forward declarations of any types needed in the operator signatures. +// We can't directly include these classes because it will cause circular include dependencies. +// This file is included by TensorBody.h, which defines the Tensor class. +#include + +namespace at { +namespace _ops { + + +struct TORCH_API q_per_channel_scales { + using schema = at::Tensor (const at::Tensor &); + using ptr_schema = schema*; + // See Note [static constexpr char* members for windows NVCC] + STATIC_CONSTEXPR_STR_INL_EXCEPT_WIN_CUDA(name, "aten::q_per_channel_scales") + STATIC_CONSTEXPR_STR_INL_EXCEPT_WIN_CUDA(overload_name, "") + STATIC_CONSTEXPR_STR_INL_EXCEPT_WIN_CUDA(schema_str, "q_per_channel_scales(Tensor self) -> Tensor") + static at::Tensor call(const at::Tensor & self); + static at::Tensor redispatch(c10::DispatchKeySet dispatchKeySet, const at::Tensor & self); +}; + +struct TORCH_API q_per_channel_scales_out { + using schema = at::Tensor & (const at::Tensor &, at::Tensor &); + using ptr_schema = schema*; + // See Note [static constexpr char* members for windows NVCC] + STATIC_CONSTEXPR_STR_INL_EXCEPT_WIN_CUDA(name, "aten::q_per_channel_scales") + STATIC_CONSTEXPR_STR_INL_EXCEPT_WIN_CUDA(overload_name, "out") + STATIC_CONSTEXPR_STR_INL_EXCEPT_WIN_CUDA(schema_str, "q_per_channel_scales.out(Tensor self, *, Tensor(a!) out) -> Tensor(a!)") + static at::Tensor & call(const at::Tensor & self, at::Tensor & out); + static at::Tensor & redispatch(c10::DispatchKeySet dispatchKeySet, const at::Tensor & self, at::Tensor & out); +}; + +}} // namespace at::_ops diff --git a/shared/package-files/24/2475c2b3f156679bf698cb4cc2410ce1c09439d7f991aef32d66c62deea775a0/_foreach_lgamma_native.h b/shared/package-files/24/2475c2b3f156679bf698cb4cc2410ce1c09439d7f991aef32d66c62deea775a0/_foreach_lgamma_native.h new file mode 100644 index 0000000000000000000000000000000000000000..5f03c4ef94d7002fdc73406e1d96b710e646f810 --- /dev/null +++ b/shared/package-files/24/2475c2b3f156679bf698cb4cc2410ce1c09439d7f991aef32d66c62deea775a0/_foreach_lgamma_native.h @@ -0,0 +1,25 @@ +#pragma once + +// @generated by torchgen/gen.py from NativeFunction.h + +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include + + +namespace at { +namespace native { +TORCH_API void _foreach_lgamma_out(at::TensorList self, at::TensorList out); +TORCH_API ::std::vector foreach_tensor_lgamma_slow(at::TensorList self); +TORCH_API void foreach_tensor_lgamma_slow_(at::TensorList self); +TORCH_API ::std::vector foreach_tensor_lgamma_cuda(at::TensorList self); +TORCH_API void foreach_tensor_lgamma_cuda_(at::TensorList self); +} // namespace native +} // namespace at diff --git a/shared/package-files/24/2475fc94824dd23f7802c1c84b88d0582ae570e80b75bdd47764339cc457382d/x25519.pyi b/shared/package-files/24/2475fc94824dd23f7802c1c84b88d0582ae570e80b75bdd47764339cc457382d/x25519.pyi new file mode 100644 index 0000000000000000000000000000000000000000..245878df7e5466ca36e86e422f1ce36b6bb46bd4 --- /dev/null +++ b/shared/package-files/24/2475fc94824dd23f7802c1c84b88d0582ae570e80b75bdd47764339cc457382d/x25519.pyi @@ -0,0 +1,23 @@ +from abc import ABCMeta, abstractmethod + +from cryptography.hazmat.primitives.serialization import Encoding, KeySerializationEncryption, PrivateFormat, PublicFormat + +class X25519PrivateKey(metaclass=ABCMeta): + @classmethod + def from_private_bytes(cls, data: bytes) -> X25519PrivateKey: ... + @classmethod + def generate(cls) -> X25519PrivateKey: ... + @abstractmethod + def exchange(self, peer_public_key: X25519PublicKey) -> bytes: ... + @abstractmethod + def private_bytes( + self, encoding: Encoding, format: PrivateFormat, encryption_algorithm: KeySerializationEncryption + ) -> bytes: ... + @abstractmethod + def public_key(self) -> X25519PublicKey: ... + +class X25519PublicKey(metaclass=ABCMeta): + @classmethod + def from_public_bytes(cls, data: bytes) -> X25519PublicKey: ... + @abstractmethod + def public_bytes(self, encoding: Encoding, format: PublicFormat) -> bytes: ... diff --git a/shared/package-files/24/247620638b27145e6df6a72741f29a379cda1ac3bbfd2b8d47b4eadb7e16e0da/test_finite_rv.py b/shared/package-files/24/247620638b27145e6df6a72741f29a379cda1ac3bbfd2b8d47b4eadb7e16e0da/test_finite_rv.py new file mode 100644 index 0000000000000000000000000000000000000000..93bf0211a26ecc32d7f18c7e2d8236859857e445 --- /dev/null +++ b/shared/package-files/24/247620638b27145e6df6a72741f29a379cda1ac3bbfd2b8d47b4eadb7e16e0da/test_finite_rv.py @@ -0,0 +1,509 @@ +from sympy.concrete.summations import Sum +from sympy.core.containers import (Dict, Tuple) +from sympy.core.function import Function +from sympy.core.numbers import (I, Rational, nan) +from sympy.core.relational import Eq +from sympy.core.singleton import S +from sympy.core.symbol import (Dummy, Symbol, symbols) +from sympy.core.sympify import sympify +from sympy.functions.combinatorial.factorials import binomial +from sympy.functions.combinatorial.numbers import harmonic +from sympy.functions.elementary.exponential import exp +from sympy.functions.elementary.miscellaneous import sqrt +from sympy.functions.elementary.piecewise import Piecewise +from sympy.functions.elementary.trigonometric import cos +from sympy.functions.special.beta_functions import beta +from sympy.logic.boolalg import (And, Or) +from sympy.polys.polytools import cancel +from sympy.sets.sets import FiniteSet +from sympy.simplify.simplify import simplify +from sympy.matrices import Matrix +from sympy.stats import (DiscreteUniform, Die, Bernoulli, Coin, Binomial, BetaBinomial, + Hypergeometric, Rademacher, IdealSoliton, RobustSoliton, P, E, variance, + covariance, skewness, density, where, FiniteRV, pspace, cdf, + correlation, moment, cmoment, smoment, characteristic_function, + moment_generating_function, quantile, kurtosis, median, coskewness) +from sympy.stats.frv_types import DieDistribution, BinomialDistribution, \ + HypergeometricDistribution +from sympy.stats.rv import Density +from sympy.testing.pytest import raises + + +def BayesTest(A, B): + assert P(A, B) == P(And(A, B)) / P(B) + assert P(A, B) == P(B, A) * P(A) / P(B) + + +def test_discreteuniform(): + # Symbolic + a, b, c, t = symbols('a b c t') + X = DiscreteUniform('X', [a, b, c]) + + assert E(X) == (a + b + c)/3 + assert simplify(variance(X) + - ((a**2 + b**2 + c**2)/3 - (a/3 + b/3 + c/3)**2)) == 0 + assert P(Eq(X, a)) == P(Eq(X, b)) == P(Eq(X, c)) == S('1/3') + + Y = DiscreteUniform('Y', range(-5, 5)) + + # Numeric + assert E(Y) == S('-1/2') + assert variance(Y) == S('33/4') + assert median(Y) == FiniteSet(-1, 0) + + for x in range(-5, 5): + assert P(Eq(Y, x)) == S('1/10') + assert P(Y <= x) == S(x + 6)/10 + assert P(Y >= x) == S(5 - x)/10 + + assert dict(density(Die('D', 6)).items()) == \ + dict(density(DiscreteUniform('U', range(1, 7))).items()) + + assert characteristic_function(X)(t) == exp(I*a*t)/3 + exp(I*b*t)/3 + exp(I*c*t)/3 + assert moment_generating_function(X)(t) == exp(a*t)/3 + exp(b*t)/3 + exp(c*t)/3 + # issue 18611 + raises(ValueError, lambda: DiscreteUniform('Z', [a, a, a, b, b, c])) + +def test_dice(): + # TODO: Make iid method! + X, Y, Z = Die('X', 6), Die('Y', 6), Die('Z', 6) + a, b, t, p = symbols('a b t p') + + assert E(X) == 3 + S.Half + assert variance(X) == Rational(35, 12) + assert E(X + Y) == 7 + assert E(X + X) == 7 + assert E(a*X + b) == a*E(X) + b + assert variance(X + Y) == variance(X) + variance(Y) == cmoment(X + Y, 2) + assert variance(X + X) == 4 * variance(X) == cmoment(X + X, 2) + assert cmoment(X, 0) == 1 + assert cmoment(4*X, 3) == 64*cmoment(X, 3) + assert covariance(X, Y) is S.Zero + assert covariance(X, X + Y) == variance(X) + assert density(Eq(cos(X*S.Pi), 1))[True] == S.Half + assert correlation(X, Y) == 0 + assert correlation(X, Y) == correlation(Y, X) + assert smoment(X + Y, 3) == skewness(X + Y) + assert smoment(X + Y, 4) == kurtosis(X + Y) + assert smoment(X, 0) == 1 + assert P(X > 3) == S.Half + assert P(2*X > 6) == S.Half + assert P(X > Y) == Rational(5, 12) + assert P(Eq(X, Y)) == P(Eq(X, 1)) + + assert E(X, X > 3) == 5 == moment(X, 1, 0, X > 3) + assert E(X, Y > 3) == E(X) == moment(X, 1, 0, Y > 3) + assert E(X + Y, Eq(X, Y)) == E(2*X) + assert moment(X, 0) == 1 + assert moment(5*X, 2) == 25*moment(X, 2) + assert quantile(X)(p) == Piecewise((nan, (p > 1) | (p < 0)),\ + (S.One, p <= Rational(1, 6)), (S(2), p <= Rational(1, 3)), (S(3), p <= S.Half),\ + (S(4), p <= Rational(2, 3)), (S(5), p <= Rational(5, 6)), (S(6), p <= 1)) + + assert P(X > 3, X > 3) is S.One + assert P(X > Y, Eq(Y, 6)) is S.Zero + assert P(Eq(X + Y, 12)) == Rational(1, 36) + assert P(Eq(X + Y, 12), Eq(X, 6)) == Rational(1, 6) + + assert density(X + Y) == density(Y + Z) != density(X + X) + d = density(2*X + Y**Z) + assert d[S(22)] == Rational(1, 108) and d[S(4100)] == Rational(1, 216) and S(3130) not in d + + assert pspace(X).domain.as_boolean() == Or( + *[Eq(X.symbol, i) for i in [1, 2, 3, 4, 5, 6]]) + + assert where(X > 3).set == FiniteSet(4, 5, 6) + + assert characteristic_function(X)(t) == exp(6*I*t)/6 + exp(5*I*t)/6 + exp(4*I*t)/6 + exp(3*I*t)/6 + exp(2*I*t)/6 + exp(I*t)/6 + assert moment_generating_function(X)(t) == exp(6*t)/6 + exp(5*t)/6 + exp(4*t)/6 + exp(3*t)/6 + exp(2*t)/6 + exp(t)/6 + assert median(X) == FiniteSet(3, 4) + D = Die('D', 7) + assert median(D) == FiniteSet(4) + # Bayes test for die + BayesTest(X > 3, X + Y < 5) + BayesTest(Eq(X - Y, Z), Z > Y) + BayesTest(X > 3, X > 2) + + # arg test for die + raises(ValueError, lambda: Die('X', -1)) # issue 8105: negative sides. + raises(ValueError, lambda: Die('X', 0)) + raises(ValueError, lambda: Die('X', 1.5)) # issue 8103: non integer sides. + + # symbolic test for die + n, k = symbols('n, k', positive=True) + D = Die('D', n) + dens = density(D).dict + assert dens == Density(DieDistribution(n)) + assert set(dens.subs(n, 4).doit().keys()) == {1, 2, 3, 4} + assert set(dens.subs(n, 4).doit().values()) == {Rational(1, 4)} + k = Dummy('k', integer=True) + assert E(D).dummy_eq( + Sum(Piecewise((k/n, k <= n), (0, True)), (k, 1, n))) + assert variance(D).subs(n, 6).doit() == Rational(35, 12) + + ki = Dummy('ki') + cumuf = cdf(D)(k) + assert cumuf.dummy_eq( + Sum(Piecewise((1/n, (ki >= 1) & (ki <= n)), (0, True)), (ki, 1, k))) + assert cumuf.subs({n: 6, k: 2}).doit() == Rational(1, 3) + + t = Dummy('t') + cf = characteristic_function(D)(t) + assert cf.dummy_eq( + Sum(Piecewise((exp(ki*I*t)/n, (ki >= 1) & (ki <= n)), (0, True)), (ki, 1, n))) + assert cf.subs(n, 3).doit() == exp(3*I*t)/3 + exp(2*I*t)/3 + exp(I*t)/3 + mgf = moment_generating_function(D)(t) + assert mgf.dummy_eq( + Sum(Piecewise((exp(ki*t)/n, (ki >= 1) & (ki <= n)), (0, True)), (ki, 1, n))) + assert mgf.subs(n, 3).doit() == exp(3*t)/3 + exp(2*t)/3 + exp(t)/3 + +def test_given(): + X = Die('X', 6) + assert density(X, X > 5) == {S(6): S.One} + assert where(X > 2, X > 5).as_boolean() == Eq(X.symbol, 6) + + +def test_domains(): + X, Y = Die('x', 6), Die('y', 6) + x, y = X.symbol, Y.symbol + # Domains + d = where(X > Y) + assert d.condition == (x > y) + d = where(And(X > Y, Y > 3)) + assert d.as_boolean() == Or(And(Eq(x, 5), Eq(y, 4)), And(Eq(x, 6), + Eq(y, 5)), And(Eq(x, 6), Eq(y, 4))) + assert len(d.elements) == 3 + + assert len(pspace(X + Y).domain.elements) == 36 + + Z = Die('x', 4) + + raises(ValueError, lambda: P(X > Z)) # Two domains with same internal symbol + + assert pspace(X + Y).domain.set == FiniteSet(1, 2, 3, 4, 5, 6)**2 + + assert where(X > 3).set == FiniteSet(4, 5, 6) + assert X.pspace.domain.dict == FiniteSet( + *[Dict({X.symbol: i}) for i in range(1, 7)]) + + assert where(X > Y).dict == FiniteSet(*[Dict({X.symbol: i, Y.symbol: j}) + for i in range(1, 7) for j in range(1, 7) if i > j]) + +def test_bernoulli(): + p, a, b, t = symbols('p a b t') + X = Bernoulli('B', p, a, b) + + assert E(X) == a*p + b*(-p + 1) + assert density(X)[a] == p + assert density(X)[b] == 1 - p + assert characteristic_function(X)(t) == p * exp(I * a * t) + (-p + 1) * exp(I * b * t) + assert moment_generating_function(X)(t) == p * exp(a * t) + (-p + 1) * exp(b * t) + + X = Bernoulli('B', p, 1, 0) + z = Symbol("z") + + assert E(X) == p + assert simplify(variance(X)) == p*(1 - p) + assert E(a*X + b) == a*E(X) + b + assert simplify(variance(a*X + b)) == simplify(a**2 * variance(X)) + assert quantile(X)(z) == Piecewise((nan, (z > 1) | (z < 0)), (0, z <= 1 - p), (1, z <= 1)) + Y = Bernoulli('Y', Rational(1, 2)) + assert median(Y) == FiniteSet(0, 1) + Z = Bernoulli('Z', Rational(2, 3)) + assert median(Z) == FiniteSet(1) + raises(ValueError, lambda: Bernoulli('B', 1.5)) + raises(ValueError, lambda: Bernoulli('B', -0.5)) + + #issue 8248 + assert X.pspace.compute_expectation(1) == 1 + + p = Rational(1, 5) + X = Binomial('X', 5, p) + Y = Binomial('Y', 7, 2*p) + Z = Binomial('Z', 9, 3*p) + assert coskewness(Y + Z, X + Y, X + Z).simplify() == 0 + assert coskewness(Y + 2*X + Z, X + 2*Y + Z, X + 2*Z + Y).simplify() == \ + sqrt(1529)*Rational(12, 16819) + assert coskewness(Y + 2*X + Z, X + 2*Y + Z, X + 2*Z + Y, X < 2).simplify() \ + == -sqrt(357451121)*Rational(2812, 4646864573) + +def test_cdf(): + D = Die('D', 6) + o = S.One + + assert cdf( + D) == sympify({1: o/6, 2: o/3, 3: o/2, 4: 2*o/3, 5: 5*o/6, 6: o}) + + +def test_coins(): + C, D = Coin('C'), Coin('D') + H, T = symbols('H, T') + assert P(Eq(C, D)) == S.Half + assert density(Tuple(C, D)) == {(H, H): Rational(1, 4), (H, T): Rational(1, 4), + (T, H): Rational(1, 4), (T, T): Rational(1, 4)} + assert dict(density(C).items()) == {H: S.Half, T: S.Half} + + F = Coin('F', Rational(1, 10)) + assert P(Eq(F, H)) == Rational(1, 10) + + d = pspace(C).domain + + assert d.as_boolean() == Or(Eq(C.symbol, H), Eq(C.symbol, T)) + + raises(ValueError, lambda: P(C > D)) # Can't intelligently compare H to T + +def test_binomial_verify_parameters(): + raises(ValueError, lambda: Binomial('b', .2, .5)) + raises(ValueError, lambda: Binomial('b', 3, 1.5)) + +def test_binomial_numeric(): + nvals = range(5) + pvals = [0, Rational(1, 4), S.Half, Rational(3, 4), 1] + + for n in nvals: + for p in pvals: + X = Binomial('X', n, p) + assert E(X) == n*p + assert variance(X) == n*p*(1 - p) + if n > 0 and 0 < p < 1: + assert skewness(X) == (1 - 2*p)/sqrt(n*p*(1 - p)) + assert kurtosis(X) == 3 + (1 - 6*p*(1 - p))/(n*p*(1 - p)) + for k in range(n + 1): + assert P(Eq(X, k)) == binomial(n, k)*p**k*(1 - p)**(n - k) + +def test_binomial_quantile(): + X = Binomial('X', 50, S.Half) + assert quantile(X)(0.95) == S(31) + assert median(X) == FiniteSet(25) + + X = Binomial('X', 5, S.Half) + p = Symbol("p", positive=True) + assert quantile(X)(p) == Piecewise((nan, p > S.One), (S.Zero, p <= Rational(1, 32)),\ + (S.One, p <= Rational(3, 16)), (S(2), p <= S.Half), (S(3), p <= Rational(13, 16)),\ + (S(4), p <= Rational(31, 32)), (S(5), p <= S.One)) + assert median(X) == FiniteSet(2, 3) + + +def test_binomial_symbolic(): + n = 2 + p = symbols('p', positive=True) + X = Binomial('X', n, p) + t = Symbol('t') + + assert simplify(E(X)) == n*p == simplify(moment(X, 1)) + assert simplify(variance(X)) == n*p*(1 - p) == simplify(cmoment(X, 2)) + assert cancel(skewness(X) - (1 - 2*p)/sqrt(n*p*(1 - p))) == 0 + assert cancel((kurtosis(X)) - (3 + (1 - 6*p*(1 - p))/(n*p*(1 - p)))) == 0 + assert characteristic_function(X)(t) == p ** 2 * exp(2 * I * t) + 2 * p * (-p + 1) * exp(I * t) + (-p + 1) ** 2 + assert moment_generating_function(X)(t) == p ** 2 * exp(2 * t) + 2 * p * (-p + 1) * exp(t) + (-p + 1) ** 2 + + # Test ability to change success/failure winnings + H, T = symbols('H T') + Y = Binomial('Y', n, p, succ=H, fail=T) + assert simplify(E(Y) - (n*(H*p + T*(1 - p)))) == 0 + + # test symbolic dimensions + n = symbols('n') + B = Binomial('B', n, p) + raises(NotImplementedError, lambda: P(B > 2)) + assert density(B).dict == Density(BinomialDistribution(n, p, 1, 0)) + assert set(density(B).dict.subs(n, 4).doit().keys()) == \ + {S.Zero, S.One, S(2), S(3), S(4)} + assert set(density(B).dict.subs(n, 4).doit().values()) == \ + {(1 - p)**4, 4*p*(1 - p)**3, 6*p**2*(1 - p)**2, 4*p**3*(1 - p), p**4} + k = Dummy('k', integer=True) + assert E(B > 2).dummy_eq( + Sum(Piecewise((k*p**k*(1 - p)**(-k + n)*binomial(n, k), (k >= 0) + & (k <= n) & (k > 2)), (0, True)), (k, 0, n))) + +def test_beta_binomial(): + # verify parameters + raises(ValueError, lambda: BetaBinomial('b', .2, 1, 2)) + raises(ValueError, lambda: BetaBinomial('b', 2, -1, 2)) + raises(ValueError, lambda: BetaBinomial('b', 2, 1, -2)) + assert BetaBinomial('b', 2, 1, 1) + + # test numeric values + nvals = range(1,5) + alphavals = [Rational(1, 4), S.Half, Rational(3, 4), 1, 10] + betavals = [Rational(1, 4), S.Half, Rational(3, 4), 1, 10] + + for n in nvals: + for a in alphavals: + for b in betavals: + X = BetaBinomial('X', n, a, b) + assert E(X) == moment(X, 1) + assert variance(X) == cmoment(X, 2) + + # test symbolic + n, a, b = symbols('a b n') + assert BetaBinomial('x', n, a, b) + n = 2 # Because we're using for loops, can't do symbolic n + a, b = symbols('a b', positive=True) + X = BetaBinomial('X', n, a, b) + t = Symbol('t') + + assert E(X).expand() == moment(X, 1).expand() + assert variance(X).expand() == cmoment(X, 2).expand() + assert skewness(X) == smoment(X, 3) + assert characteristic_function(X)(t) == exp(2*I*t)*beta(a + 2, b)/beta(a, b) +\ + 2*exp(I*t)*beta(a + 1, b + 1)/beta(a, b) + beta(a, b + 2)/beta(a, b) + assert moment_generating_function(X)(t) == exp(2*t)*beta(a + 2, b)/beta(a, b) +\ + 2*exp(t)*beta(a + 1, b + 1)/beta(a, b) + beta(a, b + 2)/beta(a, b) + +def test_hypergeometric_numeric(): + for N in range(1, 5): + for m in range(0, N + 1): + for n in range(1, N + 1): + X = Hypergeometric('X', N, m, n) + N, m, n = map(sympify, (N, m, n)) + assert sum(density(X).values()) == 1 + assert E(X) == n * m / N + if N > 1: + assert variance(X) == n*(m/N)*(N - m)/N*(N - n)/(N - 1) + # Only test for skewness when defined + if N > 2 and 0 < m < N and n < N: + assert skewness(X) == simplify((N - 2*m)*sqrt(N - 1)*(N - 2*n) + / (sqrt(n*m*(N - m)*(N - n))*(N - 2))) + +def test_hypergeometric_symbolic(): + N, m, n = symbols('N, m, n') + H = Hypergeometric('H', N, m, n) + dens = density(H).dict + expec = E(H > 2) + assert dens == Density(HypergeometricDistribution(N, m, n)) + assert dens.subs(N, 5).doit() == Density(HypergeometricDistribution(5, m, n)) + assert set(dens.subs({N: 3, m: 2, n: 1}).doit().keys()) == {S.Zero, S.One} + assert set(dens.subs({N: 3, m: 2, n: 1}).doit().values()) == {Rational(1, 3), Rational(2, 3)} + k = Dummy('k', integer=True) + assert expec.dummy_eq( + Sum(Piecewise((k*binomial(m, k)*binomial(N - m, -k + n) + /binomial(N, n), k > 2), (0, True)), (k, 0, n))) + +def test_rademacher(): + X = Rademacher('X') + t = Symbol('t') + + assert E(X) == 0 + assert variance(X) == 1 + assert density(X)[-1] == S.Half + assert density(X)[1] == S.Half + assert characteristic_function(X)(t) == exp(I*t)/2 + exp(-I*t)/2 + assert moment_generating_function(X)(t) == exp(t) / 2 + exp(-t) / 2 + +def test_ideal_soliton(): + raises(ValueError, lambda : IdealSoliton('sol', -12)) + raises(ValueError, lambda : IdealSoliton('sol', 13.2)) + raises(ValueError, lambda : IdealSoliton('sol', 0)) + f = Function('f') + raises(ValueError, lambda : density(IdealSoliton('sol', 10)).pmf(f)) + + k = Symbol('k', integer=True, positive=True) + x = Symbol('x', integer=True, positive=True) + t = Symbol('t') + sol = IdealSoliton('sol', k) + assert density(sol).low == S.One + assert density(sol).high == k + assert density(sol).dict == Density(density(sol)) + assert density(sol).pmf(x) == Piecewise((1/k, Eq(x, 1)), (1/(x*(x - 1)), k >= x), (0, True)) + + k_vals = [5, 20, 50, 100, 1000] + for i in k_vals: + assert E(sol.subs(k, i)) == harmonic(i) == moment(sol.subs(k, i), 1) + assert variance(sol.subs(k, i)) == (i - 1) + harmonic(i) - harmonic(i)**2 == cmoment(sol.subs(k, i),2) + assert skewness(sol.subs(k, i)) == smoment(sol.subs(k, i), 3) + assert kurtosis(sol.subs(k, i)) == smoment(sol.subs(k, i), 4) + + assert exp(I*t)/10 + Sum(exp(I*t*x)/(x*x - x), (x, 2, k)).subs(k, 10).doit() == characteristic_function(sol.subs(k, 10))(t) + assert exp(t)/10 + Sum(exp(t*x)/(x*x - x), (x, 2, k)).subs(k, 10).doit() == moment_generating_function(sol.subs(k, 10))(t) + +def test_robust_soliton(): + raises(ValueError, lambda : RobustSoliton('robSol', -12, 0.1, 0.02)) + raises(ValueError, lambda : RobustSoliton('robSol', 13, 1.89, 0.1)) + raises(ValueError, lambda : RobustSoliton('robSol', 15, 0.6, -2.31)) + f = Function('f') + raises(ValueError, lambda : density(RobustSoliton('robSol', 15, 0.6, 0.1)).pmf(f)) + + k = Symbol('k', integer=True, positive=True) + delta = Symbol('delta', positive=True) + c = Symbol('c', positive=True) + robSol = RobustSoliton('robSol', k, delta, c) + assert density(robSol).low == 1 + assert density(robSol).high == k + + k_vals = [10, 20, 50] + delta_vals = [0.2, 0.4, 0.6] + c_vals = [0.01, 0.03, 0.05] + for x in k_vals: + for y in delta_vals: + for z in c_vals: + assert E(robSol.subs({k: x, delta: y, c: z})) == moment(robSol.subs({k: x, delta: y, c: z}), 1) + assert variance(robSol.subs({k: x, delta: y, c: z})) == cmoment(robSol.subs({k: x, delta: y, c: z}), 2) + assert skewness(robSol.subs({k: x, delta: y, c: z})) == smoment(robSol.subs({k: x, delta: y, c: z}), 3) + assert kurtosis(robSol.subs({k: x, delta: y, c: z})) == smoment(robSol.subs({k: x, delta: y, c: z}), 4) + +def test_FiniteRV(): + F = FiniteRV('F', {1: S.Half, 2: Rational(1, 4), 3: Rational(1, 4)}, check=True) + p = Symbol("p", positive=True) + + assert dict(density(F).items()) == {S.One: S.Half, S(2): Rational(1, 4), S(3): Rational(1, 4)} + assert P(F >= 2) == S.Half + assert quantile(F)(p) == Piecewise((nan, p > S.One), (S.One, p <= S.Half),\ + (S(2), p <= Rational(3, 4)),(S(3), True)) + + assert pspace(F).domain.as_boolean() == Or( + *[Eq(F.symbol, i) for i in [1, 2, 3]]) + + assert F.pspace.domain.set == FiniteSet(1, 2, 3) + raises(ValueError, lambda: FiniteRV('F', {1: S.Half, 2: S.Half, 3: S.Half}, check=True)) + raises(ValueError, lambda: FiniteRV('F', {1: S.Half, 2: Rational(-1, 2), 3: S.One}, check=True)) + raises(ValueError, lambda: FiniteRV('F', {1: S.One, 2: Rational(3, 2), 3: S.Zero,\ + 4: Rational(-1, 2), 5: Rational(-3, 4), 6: Rational(-1, 4)}, check=True)) + + # purposeful invalid pmf but it should not raise since check=False + # see test_drv_types.test_ContinuousRV for explanation + X = FiniteRV('X', {1: 1, 2: 2}) + assert E(X) == 5 + assert P(X <= 2) + P(X > 2) != 1 + +def test_density_call(): + from sympy.abc import p + x = Bernoulli('x', p) + d = density(x) + assert d(0) == 1 - p + assert d(S.Zero) == 1 - p + assert d(5) == 0 + + assert 0 in d + assert 5 not in d + assert d(S.Zero) == d[S.Zero] + + +def test_DieDistribution(): + from sympy.abc import x + X = DieDistribution(6) + assert X.pmf(S.Half) is S.Zero + assert X.pmf(x).subs({x: 1}).doit() == Rational(1, 6) + assert X.pmf(x).subs({x: 7}).doit() == 0 + assert X.pmf(x).subs({x: -1}).doit() == 0 + assert X.pmf(x).subs({x: Rational(1, 3)}).doit() == 0 + raises(ValueError, lambda: X.pmf(Matrix([0, 0]))) + raises(ValueError, lambda: X.pmf(x**2 - 1)) + +def test_FinitePSpace(): + X = Die('X', 6) + space = pspace(X) + assert space.density == DieDistribution(6) + +def test_symbolic_conditions(): + B = Bernoulli('B', Rational(1, 4)) + D = Die('D', 4) + b, n = symbols('b, n') + Y = P(Eq(B, b)) + Z = E(D > n) + assert Y == \ + Piecewise((Rational(1, 4), Eq(b, 1)), (0, True)) + \ + Piecewise((Rational(3, 4), Eq(b, 0)), (0, True)) + assert Z == \ + Piecewise((Rational(1, 4), n < 1), (0, True)) + Piecewise((S.Half, n < 2), (0, True)) + \ + Piecewise((Rational(3, 4), n < 3), (0, True)) + Piecewise((S.One, n < 4), (0, True)) diff --git a/shared/package-files/24/2479e3bf333658f0fddff59779acba79f8f53ebd6fb28d2595faf946f4057402/accumulate.py b/shared/package-files/24/2479e3bf333658f0fddff59779acba79f8f53ebd6fb28d2595faf946f4057402/accumulate.py new file mode 100644 index 0000000000000000000000000000000000000000..9a2f186c2a00bf933cf3fdbcb7a07482930846e6 --- /dev/null +++ b/shared/package-files/24/2479e3bf333658f0fddff59779acba79f8f53ebd6fb28d2595faf946f4057402/accumulate.py @@ -0,0 +1,40 @@ +import pytest + +import pandas as pd +import pandas._testing as tm + + +class BaseAccumulateTests: + """ + Accumulation specific tests. Generally these only + make sense for numeric/boolean operations. + """ + + def _supports_accumulation(self, ser: pd.Series, op_name: str) -> bool: + # Do we expect this accumulation to be supported for this dtype? + # We default to assuming "no"; subclass authors should override here. + return False + + def check_accumulate(self, ser: pd.Series, op_name: str, skipna: bool): + try: + alt = ser.astype("float64") + except (TypeError, ValueError): + # e.g. Period can't be cast to float64 (TypeError) + # String can't be cast to float64 (ValueError) + alt = ser.astype(object) + + result = getattr(ser, op_name)(skipna=skipna) + expected = getattr(alt, op_name)(skipna=skipna) + tm.assert_series_equal(result, expected, check_dtype=False) + + @pytest.mark.parametrize("skipna", [True, False]) + def test_accumulate_series(self, data, all_numeric_accumulations, skipna): + op_name = all_numeric_accumulations + ser = pd.Series(data) + + if self._supports_accumulation(ser, op_name): + self.check_accumulate(ser, op_name, skipna) + else: + with pytest.raises((NotImplementedError, TypeError)): + # TODO: require TypeError for things that will _never_ work? + getattr(ser, op_name)(skipna=skipna) diff --git a/shared/package-files/24/247f3fa363493508f5034374605702de6e674064ad69c2396efd46f9dcd82950/datetimelike.py b/shared/package-files/24/247f3fa363493508f5034374605702de6e674064ad69c2396efd46f9dcd82950/datetimelike.py new file mode 100644 index 0000000000000000000000000000000000000000..cad8737a987d44f23518a8b6fa88e9a686755c65 --- /dev/null +++ b/shared/package-files/24/247f3fa363493508f5034374605702de6e674064ad69c2396efd46f9dcd82950/datetimelike.py @@ -0,0 +1,843 @@ +""" +Base and utility classes for tseries type pandas objects. +""" +from __future__ import annotations + +from abc import ( + ABC, + abstractmethod, +) +from typing import ( + TYPE_CHECKING, + Any, + Callable, + cast, + final, +) +import warnings + +import numpy as np + +from pandas._config import using_copy_on_write + +from pandas._libs import ( + NaT, + Timedelta, + lib, +) +from pandas._libs.tslibs import ( + BaseOffset, + Resolution, + Tick, + parsing, + to_offset, +) +from pandas._libs.tslibs.dtypes import freq_to_period_freqstr +from pandas.compat.numpy import function as nv +from pandas.errors import ( + InvalidIndexError, + NullFrequencyError, +) +from pandas.util._decorators import ( + Appender, + cache_readonly, + doc, +) +from pandas.util._exceptions import find_stack_level + +from pandas.core.dtypes.common import ( + is_integer, + is_list_like, +) +from pandas.core.dtypes.concat import concat_compat +from pandas.core.dtypes.dtypes import CategoricalDtype + +from pandas.core.arrays import ( + DatetimeArray, + ExtensionArray, + PeriodArray, + TimedeltaArray, +) +from pandas.core.arrays.datetimelike import DatetimeLikeArrayMixin +import pandas.core.common as com +import pandas.core.indexes.base as ibase +from pandas.core.indexes.base import ( + Index, + _index_shared_docs, +) +from pandas.core.indexes.extension import NDArrayBackedExtensionIndex +from pandas.core.indexes.range import RangeIndex +from pandas.core.tools.timedeltas import to_timedelta + +if TYPE_CHECKING: + from collections.abc import Sequence + from datetime import datetime + + from pandas._typing import ( + Axis, + Self, + npt, + ) + + from pandas import CategoricalIndex + +_index_doc_kwargs = dict(ibase._index_doc_kwargs) + + +class DatetimeIndexOpsMixin(NDArrayBackedExtensionIndex, ABC): + """ + Common ops mixin to support a unified interface datetimelike Index. + """ + + _can_hold_strings = False + _data: DatetimeArray | TimedeltaArray | PeriodArray + + @doc(DatetimeLikeArrayMixin.mean) + def mean(self, *, skipna: bool = True, axis: int | None = 0): + return self._data.mean(skipna=skipna, axis=axis) + + @property + def freq(self) -> BaseOffset | None: + return self._data.freq + + @freq.setter + def freq(self, value) -> None: + # error: Property "freq" defined in "PeriodArray" is read-only [misc] + self._data.freq = value # type: ignore[misc] + + @property + def asi8(self) -> npt.NDArray[np.int64]: + return self._data.asi8 + + @property + @doc(DatetimeLikeArrayMixin.freqstr) + def freqstr(self) -> str: + from pandas import PeriodIndex + + if self._data.freqstr is not None and isinstance( + self._data, (PeriodArray, PeriodIndex) + ): + freq = freq_to_period_freqstr(self._data.freq.n, self._data.freq.name) + return freq + else: + return self._data.freqstr # type: ignore[return-value] + + @cache_readonly + @abstractmethod + def _resolution_obj(self) -> Resolution: + ... + + @cache_readonly + @doc(DatetimeLikeArrayMixin.resolution) + def resolution(self) -> str: + return self._data.resolution + + # ------------------------------------------------------------------------ + + @cache_readonly + def hasnans(self) -> bool: + return self._data._hasna + + def equals(self, other: Any) -> bool: + """ + Determines if two Index objects contain the same elements. + """ + if self.is_(other): + return True + + if not isinstance(other, Index): + return False + elif other.dtype.kind in "iufc": + return False + elif not isinstance(other, type(self)): + should_try = False + inferable = self._data._infer_matches + if other.dtype == object: + should_try = other.inferred_type in inferable + elif isinstance(other.dtype, CategoricalDtype): + other = cast("CategoricalIndex", other) + should_try = other.categories.inferred_type in inferable + + if should_try: + try: + other = type(self)(other) + except (ValueError, TypeError, OverflowError): + # e.g. + # ValueError -> cannot parse str entry, or OutOfBoundsDatetime + # TypeError -> trying to convert IntervalIndex to DatetimeIndex + # OverflowError -> Index([very_large_timedeltas]) + return False + + if self.dtype != other.dtype: + # have different timezone + return False + + return np.array_equal(self.asi8, other.asi8) + + @Appender(Index.__contains__.__doc__) + def __contains__(self, key: Any) -> bool: + hash(key) + try: + self.get_loc(key) + except (KeyError, TypeError, ValueError, InvalidIndexError): + return False + return True + + def _convert_tolerance(self, tolerance, target): + tolerance = np.asarray(to_timedelta(tolerance).to_numpy()) + return super()._convert_tolerance(tolerance, target) + + # -------------------------------------------------------------------- + # Rendering Methods + _default_na_rep = "NaT" + + def format( + self, + name: bool = False, + formatter: Callable | None = None, + na_rep: str = "NaT", + date_format: str | None = None, + ) -> list[str]: + """ + Render a string representation of the Index. + """ + warnings.warn( + # GH#55413 + f"{type(self).__name__}.format is deprecated and will be removed " + "in a future version. Convert using index.astype(str) or " + "index.map(formatter) instead.", + FutureWarning, + stacklevel=find_stack_level(), + ) + header = [] + if name: + header.append( + ibase.pprint_thing(self.name, escape_chars=("\t", "\r", "\n")) + if self.name is not None + else "" + ) + + if formatter is not None: + return header + list(self.map(formatter)) + + return self._format_with_header( + header=header, na_rep=na_rep, date_format=date_format + ) + + def _format_with_header( + self, *, header: list[str], na_rep: str, date_format: str | None = None + ) -> list[str]: + # TODO: not reached in tests 2023-10-11 + # matches base class except for whitespace padding and date_format + return header + list( + self._get_values_for_csv(na_rep=na_rep, date_format=date_format) + ) + + @property + def _formatter_func(self): + return self._data._formatter() + + def _format_attrs(self): + """ + Return a list of tuples of the (attr,formatted_value). + """ + attrs = super()._format_attrs() + for attrib in self._attributes: + # iterating over _attributes prevents us from doing this for PeriodIndex + if attrib == "freq": + freq = self.freqstr + if freq is not None: + freq = repr(freq) # e.g. D -> 'D' + attrs.append(("freq", freq)) + return attrs + + @Appender(Index._summary.__doc__) + def _summary(self, name=None) -> str: + result = super()._summary(name=name) + if self.freq: + result += f"\nFreq: {self.freqstr}" + + return result + + # -------------------------------------------------------------------- + # Indexing Methods + + @final + def _can_partial_date_slice(self, reso: Resolution) -> bool: + # e.g. test_getitem_setitem_periodindex + # History of conversation GH#3452, GH#3931, GH#2369, GH#14826 + return reso > self._resolution_obj + # NB: for DTI/PI, not TDI + + def _parsed_string_to_bounds(self, reso: Resolution, parsed): + raise NotImplementedError + + def _parse_with_reso(self, label: str): + # overridden by TimedeltaIndex + try: + if self.freq is None or hasattr(self.freq, "rule_code"): + freq = self.freq + except NotImplementedError: + freq = getattr(self, "freqstr", getattr(self, "inferred_freq", None)) + + freqstr: str | None + if freq is not None and not isinstance(freq, str): + freqstr = freq.rule_code + else: + freqstr = freq + + if isinstance(label, np.str_): + # GH#45580 + label = str(label) + + parsed, reso_str = parsing.parse_datetime_string_with_reso(label, freqstr) + reso = Resolution.from_attrname(reso_str) + return parsed, reso + + def _get_string_slice(self, key: str): + # overridden by TimedeltaIndex + parsed, reso = self._parse_with_reso(key) + try: + return self._partial_date_slice(reso, parsed) + except KeyError as err: + raise KeyError(key) from err + + @final + def _partial_date_slice( + self, + reso: Resolution, + parsed: datetime, + ) -> slice | npt.NDArray[np.intp]: + """ + Parameters + ---------- + reso : Resolution + parsed : datetime + + Returns + ------- + slice or ndarray[intp] + """ + if not self._can_partial_date_slice(reso): + raise ValueError + + t1, t2 = self._parsed_string_to_bounds(reso, parsed) + vals = self._data._ndarray + unbox = self._data._unbox + + if self.is_monotonic_increasing: + if len(self) and ( + (t1 < self[0] and t2 < self[0]) or (t1 > self[-1] and t2 > self[-1]) + ): + # we are out of range + raise KeyError + + # TODO: does this depend on being monotonic _increasing_? + + # a monotonic (sorted) series can be sliced + left = vals.searchsorted(unbox(t1), side="left") + right = vals.searchsorted(unbox(t2), side="right") + return slice(left, right) + + else: + lhs_mask = vals >= unbox(t1) + rhs_mask = vals <= unbox(t2) + + # try to find the dates + return (lhs_mask & rhs_mask).nonzero()[0] + + def _maybe_cast_slice_bound(self, label, side: str): + """ + If label is a string, cast it to scalar type according to resolution. + + Parameters + ---------- + label : object + side : {'left', 'right'} + + Returns + ------- + label : object + + Notes + ----- + Value of `side` parameter should be validated in caller. + """ + if isinstance(label, str): + try: + parsed, reso = self._parse_with_reso(label) + except ValueError as err: + # DTI -> parsing.DateParseError + # TDI -> 'unit abbreviation w/o a number' + # PI -> string cannot be parsed as datetime-like + self._raise_invalid_indexer("slice", label, err) + + lower, upper = self._parsed_string_to_bounds(reso, parsed) + return lower if side == "left" else upper + elif not isinstance(label, self._data._recognized_scalars): + self._raise_invalid_indexer("slice", label) + + return label + + # -------------------------------------------------------------------- + # Arithmetic Methods + + def shift(self, periods: int = 1, freq=None) -> Self: + """ + Shift index by desired number of time frequency increments. + + This method is for shifting the values of datetime-like indexes + by a specified time increment a given number of times. + + Parameters + ---------- + periods : int, default 1 + Number of periods (or increments) to shift by, + can be positive or negative. + freq : pandas.DateOffset, pandas.Timedelta or string, optional + Frequency increment to shift by. + If None, the index is shifted by its own `freq` attribute. + Offset aliases are valid strings, e.g., 'D', 'W', 'M' etc. + + Returns + ------- + pandas.DatetimeIndex + Shifted index. + + See Also + -------- + Index.shift : Shift values of Index. + PeriodIndex.shift : Shift values of PeriodIndex. + """ + raise NotImplementedError + + # -------------------------------------------------------------------- + + @doc(Index._maybe_cast_listlike_indexer) + def _maybe_cast_listlike_indexer(self, keyarr): + try: + res = self._data._validate_listlike(keyarr, allow_object=True) + except (ValueError, TypeError): + if not isinstance(keyarr, ExtensionArray): + # e.g. we don't want to cast DTA to ndarray[object] + res = com.asarray_tuplesafe(keyarr) + # TODO: com.asarray_tuplesafe shouldn't cast e.g. DatetimeArray + else: + res = keyarr + return Index(res, dtype=res.dtype) + + +class DatetimeTimedeltaMixin(DatetimeIndexOpsMixin, ABC): + """ + Mixin class for methods shared by DatetimeIndex and TimedeltaIndex, + but not PeriodIndex + """ + + _data: DatetimeArray | TimedeltaArray + _comparables = ["name", "freq"] + _attributes = ["name", "freq"] + + # Compat for frequency inference, see GH#23789 + _is_monotonic_increasing = Index.is_monotonic_increasing + _is_monotonic_decreasing = Index.is_monotonic_decreasing + _is_unique = Index.is_unique + + @property + def unit(self) -> str: + return self._data.unit + + def as_unit(self, unit: str) -> Self: + """ + Convert to a dtype with the given unit resolution. + + Parameters + ---------- + unit : {'s', 'ms', 'us', 'ns'} + + Returns + ------- + same type as self + + Examples + -------- + For :class:`pandas.DatetimeIndex`: + + >>> idx = pd.DatetimeIndex(['2020-01-02 01:02:03.004005006']) + >>> idx + DatetimeIndex(['2020-01-02 01:02:03.004005006'], + dtype='datetime64[ns]', freq=None) + >>> idx.as_unit('s') + DatetimeIndex(['2020-01-02 01:02:03'], dtype='datetime64[s]', freq=None) + + For :class:`pandas.TimedeltaIndex`: + + >>> tdelta_idx = pd.to_timedelta(['1 day 3 min 2 us 42 ns']) + >>> tdelta_idx + TimedeltaIndex(['1 days 00:03:00.000002042'], + dtype='timedelta64[ns]', freq=None) + >>> tdelta_idx.as_unit('s') + TimedeltaIndex(['1 days 00:03:00'], dtype='timedelta64[s]', freq=None) + """ + arr = self._data.as_unit(unit) + return type(self)._simple_new(arr, name=self.name) + + def _with_freq(self, freq): + arr = self._data._with_freq(freq) + return type(self)._simple_new(arr, name=self._name) + + @property + def values(self) -> np.ndarray: + # NB: For Datetime64TZ this is lossy + data = self._data._ndarray + if using_copy_on_write(): + data = data.view() + data.flags.writeable = False + return data + + @doc(DatetimeIndexOpsMixin.shift) + def shift(self, periods: int = 1, freq=None) -> Self: + if freq is not None and freq != self.freq: + if isinstance(freq, str): + freq = to_offset(freq) + offset = periods * freq + return self + offset + + if periods == 0 or len(self) == 0: + # GH#14811 empty case + return self.copy() + + if self.freq is None: + raise NullFrequencyError("Cannot shift with no freq") + + start = self[0] + periods * self.freq + end = self[-1] + periods * self.freq + + # Note: in the DatetimeTZ case, _generate_range will infer the + # appropriate timezone from `start` and `end`, so tz does not need + # to be passed explicitly. + result = self._data._generate_range( + start=start, end=end, periods=None, freq=self.freq, unit=self.unit + ) + return type(self)._simple_new(result, name=self.name) + + @cache_readonly + @doc(DatetimeLikeArrayMixin.inferred_freq) + def inferred_freq(self) -> str | None: + return self._data.inferred_freq + + # -------------------------------------------------------------------- + # Set Operation Methods + + @cache_readonly + def _as_range_index(self) -> RangeIndex: + # Convert our i8 representations to RangeIndex + # Caller is responsible for checking isinstance(self.freq, Tick) + freq = cast(Tick, self.freq) + tick = Timedelta(freq).as_unit("ns")._value + rng = range(self[0]._value, self[-1]._value + tick, tick) + return RangeIndex(rng) + + def _can_range_setop(self, other) -> bool: + return isinstance(self.freq, Tick) and isinstance(other.freq, Tick) + + def _wrap_range_setop(self, other, res_i8) -> Self: + new_freq = None + if not len(res_i8): + # RangeIndex defaults to step=1, which we don't want. + new_freq = self.freq + elif isinstance(res_i8, RangeIndex): + new_freq = to_offset(Timedelta(res_i8.step)) + + # TODO(GH#41493): we cannot just do + # type(self._data)(res_i8.values, dtype=self.dtype, freq=new_freq) + # because test_setops_preserve_freq fails with _validate_frequency raising. + # This raising is incorrect, as 'on_freq' is incorrect. This will + # be fixed by GH#41493 + res_values = res_i8.values.view(self._data._ndarray.dtype) + result = type(self._data)._simple_new( + # error: Argument "dtype" to "_simple_new" of "DatetimeArray" has + # incompatible type "Union[dtype[Any], ExtensionDtype]"; expected + # "Union[dtype[datetime64], DatetimeTZDtype]" + res_values, + dtype=self.dtype, # type: ignore[arg-type] + freq=new_freq, # type: ignore[arg-type] + ) + return cast("Self", self._wrap_setop_result(other, result)) + + def _range_intersect(self, other, sort) -> Self: + # Dispatch to RangeIndex intersection logic. + left = self._as_range_index + right = other._as_range_index + res_i8 = left.intersection(right, sort=sort) + return self._wrap_range_setop(other, res_i8) + + def _range_union(self, other, sort) -> Self: + # Dispatch to RangeIndex union logic. + left = self._as_range_index + right = other._as_range_index + res_i8 = left.union(right, sort=sort) + return self._wrap_range_setop(other, res_i8) + + def _intersection(self, other: Index, sort: bool = False) -> Index: + """ + intersection specialized to the case with matching dtypes and both non-empty. + """ + other = cast("DatetimeTimedeltaMixin", other) + + if self._can_range_setop(other): + return self._range_intersect(other, sort=sort) + + if not self._can_fast_intersect(other): + result = Index._intersection(self, other, sort=sort) + # We need to invalidate the freq because Index._intersection + # uses _shallow_copy on a view of self._data, which will preserve + # self.freq if we're not careful. + # At this point we should have result.dtype == self.dtype + # and type(result) is type(self._data) + result = self._wrap_setop_result(other, result) + return result._with_freq(None)._with_freq("infer") + + else: + return self._fast_intersect(other, sort) + + def _fast_intersect(self, other, sort): + # to make our life easier, "sort" the two ranges + if self[0] <= other[0]: + left, right = self, other + else: + left, right = other, self + + # after sorting, the intersection always starts with the right index + # and ends with the index of which the last elements is smallest + end = min(left[-1], right[-1]) + start = right[0] + + if end < start: + result = self[:0] + else: + lslice = slice(*left.slice_locs(start, end)) + result = left._values[lslice] + + return result + + def _can_fast_intersect(self, other: Self) -> bool: + # Note: we only get here with len(self) > 0 and len(other) > 0 + if self.freq is None: + return False + + elif other.freq != self.freq: + return False + + elif not self.is_monotonic_increasing: + # Because freq is not None, we must then be monotonic decreasing + return False + + # this along with matching freqs ensure that we "line up", + # so intersection will preserve freq + # Note we are assuming away Ticks, as those go through _range_intersect + # GH#42104 + return self.freq.n == 1 + + def _can_fast_union(self, other: Self) -> bool: + # Assumes that type(self) == type(other), as per the annotation + # The ability to fast_union also implies that `freq` should be + # retained on union. + freq = self.freq + + if freq is None or freq != other.freq: + return False + + if not self.is_monotonic_increasing: + # Because freq is not None, we must then be monotonic decreasing + # TODO: do union on the reversed indexes? + return False + + if len(self) == 0 or len(other) == 0: + # only reached via union_many + return True + + # to make our life easier, "sort" the two ranges + if self[0] <= other[0]: + left, right = self, other + else: + left, right = other, self + + right_start = right[0] + left_end = left[-1] + + # Only need to "adjoin", not overlap + return (right_start == left_end + freq) or right_start in left + + def _fast_union(self, other: Self, sort=None) -> Self: + # Caller is responsible for ensuring self and other are non-empty + + # to make our life easier, "sort" the two ranges + if self[0] <= other[0]: + left, right = self, other + elif sort is False: + # TDIs are not in the "correct" order and we don't want + # to sort but want to remove overlaps + left, right = self, other + left_start = left[0] + loc = right.searchsorted(left_start, side="left") + right_chunk = right._values[:loc] + dates = concat_compat((left._values, right_chunk)) + result = type(self)._simple_new(dates, name=self.name) + return result + else: + left, right = other, self + + left_end = left[-1] + right_end = right[-1] + + # concatenate + if left_end < right_end: + loc = right.searchsorted(left_end, side="right") + right_chunk = right._values[loc:] + dates = concat_compat([left._values, right_chunk]) + # The can_fast_union check ensures that the result.freq + # should match self.freq + assert isinstance(dates, type(self._data)) + # error: Item "ExtensionArray" of "ExtensionArray | + # ndarray[Any, Any]" has no attribute "_freq" + assert dates._freq == self.freq # type: ignore[union-attr] + result = type(self)._simple_new(dates) + return result + else: + return left + + def _union(self, other, sort): + # We are called by `union`, which is responsible for this validation + assert isinstance(other, type(self)) + assert self.dtype == other.dtype + + if self._can_range_setop(other): + return self._range_union(other, sort=sort) + + if self._can_fast_union(other): + result = self._fast_union(other, sort=sort) + # in the case with sort=None, the _can_fast_union check ensures + # that result.freq == self.freq + return result + else: + return super()._union(other, sort)._with_freq("infer") + + # -------------------------------------------------------------------- + # Join Methods + + def _get_join_freq(self, other): + """ + Get the freq to attach to the result of a join operation. + """ + freq = None + if self._can_fast_union(other): + freq = self.freq + return freq + + def _wrap_joined_index( + self, joined, other, lidx: npt.NDArray[np.intp], ridx: npt.NDArray[np.intp] + ): + assert other.dtype == self.dtype, (other.dtype, self.dtype) + result = super()._wrap_joined_index(joined, other, lidx, ridx) + result._data._freq = self._get_join_freq(other) + return result + + def _get_engine_target(self) -> np.ndarray: + # engine methods and libjoin methods need dt64/td64 values cast to i8 + return self._data._ndarray.view("i8") + + def _from_join_target(self, result: np.ndarray): + # view e.g. i8 back to M8[ns] + result = result.view(self._data._ndarray.dtype) + return self._data._from_backing_data(result) + + # -------------------------------------------------------------------- + # List-like Methods + + def _get_delete_freq(self, loc: int | slice | Sequence[int]): + """ + Find the `freq` for self.delete(loc). + """ + freq = None + if self.freq is not None: + if is_integer(loc): + if loc in (0, -len(self), -1, len(self) - 1): + freq = self.freq + else: + if is_list_like(loc): + # error: Incompatible types in assignment (expression has + # type "Union[slice, ndarray]", variable has type + # "Union[int, slice, Sequence[int]]") + loc = lib.maybe_indices_to_slice( # type: ignore[assignment] + np.asarray(loc, dtype=np.intp), len(self) + ) + if isinstance(loc, slice) and loc.step in (1, None): + if loc.start in (0, None) or loc.stop in (len(self), None): + freq = self.freq + return freq + + def _get_insert_freq(self, loc: int, item): + """ + Find the `freq` for self.insert(loc, item). + """ + value = self._data._validate_scalar(item) + item = self._data._box_func(value) + + freq = None + if self.freq is not None: + # freq can be preserved on edge cases + if self.size: + if item is NaT: + pass + elif loc in (0, -len(self)) and item + self.freq == self[0]: + freq = self.freq + elif (loc == len(self)) and item - self.freq == self[-1]: + freq = self.freq + else: + # Adding a single item to an empty index may preserve freq + if isinstance(self.freq, Tick): + # all TimedeltaIndex cases go through here; is_on_offset + # would raise TypeError + freq = self.freq + elif self.freq.is_on_offset(item): + freq = self.freq + return freq + + @doc(NDArrayBackedExtensionIndex.delete) + def delete(self, loc) -> Self: + result = super().delete(loc) + result._data._freq = self._get_delete_freq(loc) + return result + + @doc(NDArrayBackedExtensionIndex.insert) + def insert(self, loc: int, item): + result = super().insert(loc, item) + if isinstance(result, type(self)): + # i.e. parent class method did not cast + result._data._freq = self._get_insert_freq(loc, item) + return result + + # -------------------------------------------------------------------- + # NDArray-Like Methods + + @Appender(_index_shared_docs["take"] % _index_doc_kwargs) + def take( + self, + indices, + axis: Axis = 0, + allow_fill: bool = True, + fill_value=None, + **kwargs, + ) -> Self: + nv.validate_take((), kwargs) + indices = np.asarray(indices, dtype=np.intp) + + result = NDArrayBackedExtensionIndex.take( + self, indices, axis, allow_fill, fill_value, **kwargs + ) + + maybe_slice = lib.maybe_indices_to_slice(indices, len(self)) + if isinstance(maybe_slice, slice): + freq = self._data._get_getitem_freq(maybe_slice) + result._data._freq = freq + return result diff --git a/shared/package-files/24/24801fa2c52c0beab00e860840e8349e720199f7934faecd07a56d83f0077bf3/NestedTensorTransformerUtils.h b/shared/package-files/24/24801fa2c52c0beab00e860840e8349e720199f7934faecd07a56d83f0077bf3/NestedTensorTransformerUtils.h new file mode 100644 index 0000000000000000000000000000000000000000..b1f0269b8ce8893cfab5d45027e339bf524c260b --- /dev/null +++ b/shared/package-files/24/24801fa2c52c0beab00e860840e8349e720199f7934faecd07a56d83f0077bf3/NestedTensorTransformerUtils.h @@ -0,0 +1,44 @@ +#include + + +namespace at { +namespace native { +namespace preprocessing { + +/** + * This function will take nested query, key, and value + * and will preprocess it in order to run with either + * the flash-attention or efficient-attention kernels. + * @return A tuple containing all the necessary data for running the fused + * kernels + */ +std::tuple +sdpa_nested_preprocessing( + const Tensor& query, + const Tensor& key, + const Tensor& value); + +/** + * This function will take nested query, key, and value, grad_out, and out + * and will preprocess it in order to run with either + * the flash-attention or efficient-attention kernels backwards. + * We use both functions to avoid having to do the same preprocessing + * for cumulative_sequence_length_q and cumulative_sequence_length_kv + * @return A tuple containing all the necessary data for running the fused + * kernels + */ +std::tuple +sdpa_nested_preprocessing_backward( + const at::Tensor& grad_out_, + const at::Tensor& query, + const at::Tensor& key, + const at::Tensor& value, + const at::Tensor& out, + const Tensor& cumulative_sequence_length_q, + const Tensor& cumulative_sequence_length_kv, + const int64_t max_seqlen_batch_q, + const int64_t max_seqlen_batch_kv); + +} // namespace preprocessing +} // namespace native +} // namespace at diff --git a/shared/package-files/24/24804f751e547353157f431f72c76b8ed3e640f35ee7561ff207e319434ff2de/quantize_per_channel_cuda_dispatch.h b/shared/package-files/24/24804f751e547353157f431f72c76b8ed3e640f35ee7561ff207e319434ff2de/quantize_per_channel_cuda_dispatch.h new file mode 100644 index 0000000000000000000000000000000000000000..ec489fbcaff32166901bc3c88a7ed71c19f82d8a --- /dev/null +++ b/shared/package-files/24/24804f751e547353157f431f72c76b8ed3e640f35ee7561ff207e319434ff2de/quantize_per_channel_cuda_dispatch.h @@ -0,0 +1,23 @@ +#pragma once +// @generated by torchgen/gen.py from DispatchKeyFunction.h + +// NB: The implementing C++ file is RegisterDispatchKey.cpp + +// The only #includes we need are for custom classes that have defaults in the C++ API +#include +#include +#include + +// Forward declarations of any types needed in the operator signatures. +// We can't directly include these classes because it will cause circular include dependencies. +// This file is included by TensorBody.h, which defines the Tensor class. +#include + +namespace at { + +namespace cuda { + +TORCH_API at::Tensor quantize_per_channel(const at::Tensor & self, const at::Tensor & scales, const at::Tensor & zero_points, int64_t axis, at::ScalarType dtype); + +} // namespace cuda +} // namespace at diff --git a/shared/package-files/24/248a09649b9033206a6fa3a58de090d5eeb4694eed1d51ddd617ef7eb4b761ec/_ubjson.py b/shared/package-files/24/248a09649b9033206a6fa3a58de090d5eeb4694eed1d51ddd617ef7eb4b761ec/_ubjson.py new file mode 100644 index 0000000000000000000000000000000000000000..6b0cd18af2052581c1e0f26c1b325f7f4648b916 --- /dev/null +++ b/shared/package-files/24/248a09649b9033206a6fa3a58de090d5eeb4694eed1d51ddd617ef7eb4b761ec/_ubjson.py @@ -0,0 +1,207 @@ +"""This is an incomplete implementation of the UBJSON specification. Expected is a readable file pointer to a UBJSON file. +Things that are not implemented: +- High precision numbers +- Optimized arrays with type & count +- nested arrays, so arrays in arrays are not supported, objects in arrays are supported +""" + +import struct +from typing import Any + +import numpy as np + + +def b(s): + return isinstance(s, str) and s.encode("latin1") or s + + +NOOP = b("N") +NULL = b("Z") +FALSE = b("F") +TRUE = b("T") +INT8 = b("i") +UINT8 = b("U") +INT16 = b("I") +INT32 = b("l") +INT64 = b("L") +FLOAT32 = b("d") +FLOAT64 = b("D") +CHAR = b("C") +STRING = b("S") +HIDEF = b("H") +ARRAY_OPEN = b("[") +ARRAY_CLOSE = b("]") +OBJECT_OPEN = b("{") +OBJECT_CLOSE = b("}") + +INTEGERS = [INT8, UINT8, INT16, INT32, INT64] +FLOATS = [FLOAT32, FLOAT64] + +type_sizes = { + INT8: 1, + UINT8: 1, + INT16: 2, + INT32: 4, + INT64: 8, + FLOAT32: 4, + FLOAT64: 8, + # todo: maybe add high-precision number + CHAR: 1, +} + +struct_mapping = { + INT8: "b", + UINT8: "B", + INT16: "h", + INT32: "i", + INT64: "q", + FLOAT32: "f", + FLOAT64: "d", + CHAR: "s", +} + +numpy_type_mapping = { + INT8: np.int8, + UINT8: np.uint8, + INT16: np.int16, + INT32: np.int32, + INT64: np.int64, + FLOAT32: np.float32, + FLOAT64: np.float64, +} + + +objects = [OBJECT_OPEN, OBJECT_CLOSE] +arrays = [ARRAY_CLOSE, ARRAY_OPEN] + +# Can decode optimized array +# [[][#][i][5] // An array of 5 elements. +# [d][29.97] +# [d][31.13] +# [d][67.0] +# [d][2.113] +# [d][23.8889] +# // No end marker since a count was specified. + +# AND + + +# [[][$][d][#][i][5] // An array of 5 float32 elements. +# [29.97] // Value type is known, so type markers are omitted. +# [31.13] +# [67.0] +# [2.113] +# [23.8889] +# // No end marker since a count was specified. +def _decode_array_optimized(fp): + tag = fp.read(1) + # optimized array with count + if tag == b"#": + array_length_indicator = fp.read(1) + array_length_indicator_type = struct_mapping[array_length_indicator] + array_length = type_sizes[array_length_indicator] + array_length = struct.unpack(f">{array_length_indicator_type}", fp.read(array_length))[0] + + array = [] + for _ in range(array_length): + tag = fp.read(1) + element = __decode_element(tag, fp) + array.append(element) + return array + # optimized array with type & count + elif tag == b"$": + value_type_byte = fp.read(1) + value_type_length = type_sizes[value_type_byte] + tag = fp.read(1) + array_type_byte = fp.read(1) + array_type_length = type_sizes[array_type_byte] + array_type_prefix = struct_mapping[array_type_byte] + array_length_bytes = fp.read(array_type_length) + array_length = struct.unpack(f">{array_type_prefix}", array_length_bytes)[0] + if array_length == 0: + return list() + buffer = fp.read(array_length * value_type_length) + return list(struct.unpack(">" + f"{struct_mapping[value_type_byte]}" * array_length, buffer)) + else: + raise ValueError("Expected optimized array but got received bytes of unoptimized array.") + + +def _decode_object(tag, fp): + result_dict: dict[str, Any] = dict() + if tag == OBJECT_OPEN: + key_type = None + while key_type != OBJECT_CLOSE: + if key_type is None: + key_type = fp.read(1) + # case for empty object + if key_type == OBJECT_CLOSE: + return {} + if key_type == OBJECT_OPEN: + return _decode_object(key_type, fp) + key, value = _decode_simple_key_value_pair(fp, key_type) + if key == "}": + return result_dict + result_dict[key] = value + key_type = fp.read(1) + return result_dict + + +def __decode_element(tag, fp): + if (element_type_length := type_sizes.get(tag)) is not None: + value_bytes = fp.read(element_type_length) + value_struct_prefix = struct_mapping[tag] + return struct.unpack(f">{value_struct_prefix}", value_bytes)[0] + elif tag == STRING: + string_length_type = fp.read(1) + length = __decode_element(string_length_type, fp) + string_bytes = fp.read(length) + return string_bytes.decode("utf-8") + elif tag == OBJECT_OPEN: + return _decode_object(tag, fp) + else: + raise ValueError(f"Expected type size for {tag} but got {element_type_length}") + + +# Can decode +# [i][3][lat][d][29.976] +def _decode_simple_key_value_pair(fp, key_type): + if key_type in type_sizes: + length_of_key = __decode_element(key_type, fp) + key_to_decode = fp.read(length_of_key) + key: str = key_to_decode.decode("utf-8") + value_type_byte = fp.read(1) + if value_type_byte in type_sizes: + value = __decode_element(value_type_byte, fp) + return key, value + elif value_type_byte == STRING: + # todo: check for string, high precision number, array, object here + # value_type_byte = __decode_element(value_type_byte, fp) + value = __decode_element(value_type_byte, fp) + return key, str(value) + elif value_type_byte == OBJECT_OPEN: + value = _decode_object(value_type_byte, fp) + return key, value + elif value_type_byte == OBJECT_CLOSE: + return key, {} + elif value_type_byte == ARRAY_OPEN: + value = _decode_array_optimized(fp) + return key, value + elif value_type_byte == ARRAY_CLOSE: + return key, [] + elif value_type_byte == b"" and key == "}": + return key, None + else: + raise ValueError(f"Unmatched value type for {value_type_byte}.") + else: + raise ValueError(f"Expected type size for {key_type} but could not find any.") + + +def decode_ubjson_buffer(fp): + fp.read(1) + complete_dict = dict() + key_type = fp.read(1) + while key_type != b"" and key_type != OBJECT_CLOSE: + key, value = _decode_simple_key_value_pair(fp, key_type) + complete_dict[key] = value + key_type = fp.read(1) + return complete_dict diff --git a/shared/package-files/24/248b79e43ba2988cfbc4dd168dd3f366142661b6aa9c3393e71091a303d1da96/repmatrix.py b/shared/package-files/24/248b79e43ba2988cfbc4dd168dd3f366142661b6aa9c3393e71091a303d1da96/repmatrix.py new file mode 100644 index 0000000000000000000000000000000000000000..e37696be0351289f29db418b45777fe4c2deefb5 --- /dev/null +++ b/shared/package-files/24/248b79e43ba2988cfbc4dd168dd3f366142661b6aa9c3393e71091a303d1da96/repmatrix.py @@ -0,0 +1,759 @@ +from collections import defaultdict + +from operator import index as index_ + +from sympy.core.expr import Expr +from sympy.core.kind import Kind, NumberKind, UndefinedKind +from sympy.core.numbers import Integer, Rational +from sympy.core.sympify import _sympify, SympifyError +from sympy.core.singleton import S +from sympy.polys.domains import ZZ, QQ, EXRAW +from sympy.polys.matrices import DomainMatrix +from sympy.utilities.exceptions import sympy_deprecation_warning +from sympy.utilities.iterables import is_sequence +from sympy.utilities.misc import filldedent + +from .common import classof +from .matrices import MatrixBase, MatrixKind, ShapeError + + +class RepMatrix(MatrixBase): + """Matrix implementation based on DomainMatrix as an internal representation. + + The RepMatrix class is a superclass for Matrix, ImmutableMatrix, + SparseMatrix and ImmutableSparseMatrix which are the main usable matrix + classes in SymPy. Most methods on this class are simply forwarded to + DomainMatrix. + """ + + # + # MatrixBase is the common superclass for all of the usable explicit matrix + # classes in SymPy. The idea is that MatrixBase is an abstract class though + # and that subclasses will implement the lower-level methods. + # + # RepMatrix is a subclass of MatrixBase that uses DomainMatrix as an + # internal representation and delegates lower-level methods to + # DomainMatrix. All of SymPy's standard explicit matrix classes subclass + # RepMatrix and so use DomainMatrix internally. + # + # A RepMatrix uses an internal DomainMatrix with the domain set to ZZ, QQ + # or EXRAW. The EXRAW domain is equivalent to the previous implementation + # of Matrix that used Expr for the elements. The ZZ and QQ domains are used + # when applicable just because they are compatible with the previous + # implementation but are much more efficient. Other domains such as QQ[x] + # are not used because they differ from Expr in some way (e.g. automatic + # expansion of powers and products). + # + + _rep: DomainMatrix + + def __eq__(self, other): + # Skip sympify for mutable matrices... + if not isinstance(other, RepMatrix): + try: + other = _sympify(other) + except SympifyError: + return NotImplemented + if not isinstance(other, RepMatrix): + return NotImplemented + + return self._rep.unify_eq(other._rep) + + @classmethod + def _unify_element_sympy(cls, rep, element): + domain = rep.domain + element = _sympify(element) + + if domain != EXRAW: + # The domain can only be ZZ, QQ or EXRAW + if element.is_Integer: + new_domain = domain + elif element.is_Rational: + new_domain = QQ + else: + new_domain = EXRAW + + # XXX: This converts the domain for all elements in the matrix + # which can be slow. This happens e.g. if __setitem__ changes one + # element to something that does not fit in the domain + if new_domain != domain: + rep = rep.convert_to(new_domain) + domain = new_domain + + if domain != EXRAW: + element = new_domain.from_sympy(element) + + if domain == EXRAW and not isinstance(element, Expr): + sympy_deprecation_warning( + """ + non-Expr objects in a Matrix is deprecated. Matrix represents + a mathematical matrix. To represent a container of non-numeric + entities, Use a list of lists, TableForm, NumPy array, or some + other data structure instead. + """, + deprecated_since_version="1.9", + active_deprecations_target="deprecated-non-expr-in-matrix", + stacklevel=4, + ) + + return rep, element + + @classmethod + def _dod_to_DomainMatrix(cls, rows, cols, dod, types): + + if not all(issubclass(typ, Expr) for typ in types): + sympy_deprecation_warning( + """ + non-Expr objects in a Matrix is deprecated. Matrix represents + a mathematical matrix. To represent a container of non-numeric + entities, Use a list of lists, TableForm, NumPy array, or some + other data structure instead. + """, + deprecated_since_version="1.9", + active_deprecations_target="deprecated-non-expr-in-matrix", + stacklevel=6, + ) + + rep = DomainMatrix(dod, (rows, cols), EXRAW) + + if all(issubclass(typ, Rational) for typ in types): + if all(issubclass(typ, Integer) for typ in types): + rep = rep.convert_to(ZZ) + else: + rep = rep.convert_to(QQ) + + return rep + + @classmethod + def _flat_list_to_DomainMatrix(cls, rows, cols, flat_list): + + elements_dod = defaultdict(dict) + for n, element in enumerate(flat_list): + if element != 0: + i, j = divmod(n, cols) + elements_dod[i][j] = element + + types = set(map(type, flat_list)) + + rep = cls._dod_to_DomainMatrix(rows, cols, elements_dod, types) + return rep + + @classmethod + def _smat_to_DomainMatrix(cls, rows, cols, smat): + + elements_dod = defaultdict(dict) + for (i, j), element in smat.items(): + if element != 0: + elements_dod[i][j] = element + + types = set(map(type, smat.values())) + + rep = cls._dod_to_DomainMatrix(rows, cols, elements_dod, types) + return rep + + def flat(self): + return self._rep.to_sympy().to_list_flat() + + def _eval_tolist(self): + return self._rep.to_sympy().to_list() + + def _eval_todok(self): + return self._rep.to_sympy().to_dok() + + def _eval_values(self): + return list(self.todok().values()) + + def copy(self): + return self._fromrep(self._rep.copy()) + + @property + def kind(self) -> MatrixKind: + domain = self._rep.domain + element_kind: Kind + if domain in (ZZ, QQ): + element_kind = NumberKind + elif domain == EXRAW: + kinds = {e.kind for e in self.values()} + if len(kinds) == 1: + [element_kind] = kinds + else: + element_kind = UndefinedKind + else: # pragma: no cover + raise RuntimeError("Domain should only be ZZ, QQ or EXRAW") + return MatrixKind(element_kind) + + def _eval_has(self, *patterns): + # if the matrix has any zeros, see if S.Zero + # has the pattern. If _smat is full length, + # the matrix has no zeros. + zhas = False + dok = self.todok() + if len(dok) != self.rows*self.cols: + zhas = S.Zero.has(*patterns) + return zhas or any(value.has(*patterns) for value in dok.values()) + + def _eval_is_Identity(self): + if not all(self[i, i] == 1 for i in range(self.rows)): + return False + return len(self.todok()) == self.rows + + def _eval_is_symmetric(self, simpfunc): + diff = (self - self.T).applyfunc(simpfunc) + return len(diff.values()) == 0 + + def _eval_transpose(self): + """Returns the transposed SparseMatrix of this SparseMatrix. + + Examples + ======== + + >>> from sympy import SparseMatrix + >>> a = SparseMatrix(((1, 2), (3, 4))) + >>> a + Matrix([ + [1, 2], + [3, 4]]) + >>> a.T + Matrix([ + [1, 3], + [2, 4]]) + """ + return self._fromrep(self._rep.transpose()) + + def _eval_col_join(self, other): + return self._fromrep(self._rep.vstack(other._rep)) + + def _eval_row_join(self, other): + return self._fromrep(self._rep.hstack(other._rep)) + + def _eval_extract(self, rowsList, colsList): + return self._fromrep(self._rep.extract(rowsList, colsList)) + + def __getitem__(self, key): + return _getitem_RepMatrix(self, key) + + @classmethod + def _eval_zeros(cls, rows, cols): + rep = DomainMatrix.zeros((rows, cols), ZZ) + return cls._fromrep(rep) + + @classmethod + def _eval_eye(cls, rows, cols): + rep = DomainMatrix.eye((rows, cols), ZZ) + return cls._fromrep(rep) + + def _eval_add(self, other): + return classof(self, other)._fromrep(self._rep + other._rep) + + def _eval_matrix_mul(self, other): + return classof(self, other)._fromrep(self._rep * other._rep) + + def _eval_matrix_mul_elementwise(self, other): + selfrep, otherrep = self._rep.unify(other._rep) + newrep = selfrep.mul_elementwise(otherrep) + return classof(self, other)._fromrep(newrep) + + def _eval_scalar_mul(self, other): + rep, other = self._unify_element_sympy(self._rep, other) + return self._fromrep(rep.scalarmul(other)) + + def _eval_scalar_rmul(self, other): + rep, other = self._unify_element_sympy(self._rep, other) + return self._fromrep(rep.rscalarmul(other)) + + def _eval_Abs(self): + return self._fromrep(self._rep.applyfunc(abs)) + + def _eval_conjugate(self): + rep = self._rep + domain = rep.domain + if domain in (ZZ, QQ): + return self.copy() + else: + return self._fromrep(rep.applyfunc(lambda e: e.conjugate())) + + def equals(self, other, failing_expression=False): + """Applies ``equals`` to corresponding elements of the matrices, + trying to prove that the elements are equivalent, returning True + if they are, False if any pair is not, and None (or the first + failing expression if failing_expression is True) if it cannot + be decided if the expressions are equivalent or not. This is, in + general, an expensive operation. + + Examples + ======== + + >>> from sympy import Matrix + >>> from sympy.abc import x + >>> A = Matrix([x*(x - 1), 0]) + >>> B = Matrix([x**2 - x, 0]) + >>> A == B + False + >>> A.simplify() == B.simplify() + True + >>> A.equals(B) + True + >>> A.equals(2) + False + + See Also + ======== + sympy.core.expr.Expr.equals + """ + if self.shape != getattr(other, 'shape', None): + return False + + rv = True + for i in range(self.rows): + for j in range(self.cols): + ans = self[i, j].equals(other[i, j], failing_expression) + if ans is False: + return False + elif ans is not True and rv is True: + rv = ans + return rv + + +class MutableRepMatrix(RepMatrix): + """Mutable matrix based on DomainMatrix as the internal representation""" + + # + # MutableRepMatrix is a subclass of RepMatrix that adds/overrides methods + # to make the instances mutable. MutableRepMatrix is a superclass for both + # MutableDenseMatrix and MutableSparseMatrix. + # + + is_zero = False + + def __new__(cls, *args, **kwargs): + return cls._new(*args, **kwargs) + + @classmethod + def _new(cls, *args, copy=True, **kwargs): + if copy is False: + # The input was rows, cols, [list]. + # It should be used directly without creating a copy. + if len(args) != 3: + raise TypeError("'copy=False' requires a matrix be initialized as rows,cols,[list]") + rows, cols, flat_list = args + else: + rows, cols, flat_list = cls._handle_creation_inputs(*args, **kwargs) + flat_list = list(flat_list) # create a shallow copy + + rep = cls._flat_list_to_DomainMatrix(rows, cols, flat_list) + + return cls._fromrep(rep) + + @classmethod + def _fromrep(cls, rep): + obj = super().__new__(cls) + obj.rows, obj.cols = rep.shape + obj._rep = rep + return obj + + def copy(self): + return self._fromrep(self._rep.copy()) + + def as_mutable(self): + return self.copy() + + def __setitem__(self, key, value): + """ + + Examples + ======== + + >>> from sympy import Matrix, I, zeros, ones + >>> m = Matrix(((1, 2+I), (3, 4))) + >>> m + Matrix([ + [1, 2 + I], + [3, 4]]) + >>> m[1, 0] = 9 + >>> m + Matrix([ + [1, 2 + I], + [9, 4]]) + >>> m[1, 0] = [[0, 1]] + + To replace row r you assign to position r*m where m + is the number of columns: + + >>> M = zeros(4) + >>> m = M.cols + >>> M[3*m] = ones(1, m)*2; M + Matrix([ + [0, 0, 0, 0], + [0, 0, 0, 0], + [0, 0, 0, 0], + [2, 2, 2, 2]]) + + And to replace column c you can assign to position c: + + >>> M[2] = ones(m, 1)*4; M + Matrix([ + [0, 0, 4, 0], + [0, 0, 4, 0], + [0, 0, 4, 0], + [2, 2, 4, 2]]) + """ + rv = self._setitem(key, value) + if rv is not None: + i, j, value = rv + self._rep, value = self._unify_element_sympy(self._rep, value) + self._rep.rep.setitem(i, j, value) + + def _eval_col_del(self, col): + self._rep = DomainMatrix.hstack(self._rep[:,:col], self._rep[:,col+1:]) + self.cols -= 1 + + def _eval_row_del(self, row): + self._rep = DomainMatrix.vstack(self._rep[:row,:], self._rep[row+1:, :]) + self.rows -= 1 + + def _eval_col_insert(self, col, other): + other = self._new(other) + return self.hstack(self[:,:col], other, self[:,col:]) + + def _eval_row_insert(self, row, other): + other = self._new(other) + return self.vstack(self[:row,:], other, self[row:,:]) + + def col_op(self, j, f): + """In-place operation on col j using two-arg functor whose args are + interpreted as (self[i, j], i). + + Examples + ======== + + >>> from sympy import eye + >>> M = eye(3) + >>> M.col_op(1, lambda v, i: v + 2*M[i, 0]); M + Matrix([ + [1, 2, 0], + [0, 1, 0], + [0, 0, 1]]) + + See Also + ======== + col + row_op + """ + for i in range(self.rows): + self[i, j] = f(self[i, j], i) + + def col_swap(self, i, j): + """Swap the two given columns of the matrix in-place. + + Examples + ======== + + >>> from sympy import Matrix + >>> M = Matrix([[1, 0], [1, 0]]) + >>> M + Matrix([ + [1, 0], + [1, 0]]) + >>> M.col_swap(0, 1) + >>> M + Matrix([ + [0, 1], + [0, 1]]) + + See Also + ======== + + col + row_swap + """ + for k in range(0, self.rows): + self[k, i], self[k, j] = self[k, j], self[k, i] + + def row_op(self, i, f): + """In-place operation on row ``i`` using two-arg functor whose args are + interpreted as ``(self[i, j], j)``. + + Examples + ======== + + >>> from sympy import eye + >>> M = eye(3) + >>> M.row_op(1, lambda v, j: v + 2*M[0, j]); M + Matrix([ + [1, 0, 0], + [2, 1, 0], + [0, 0, 1]]) + + See Also + ======== + row + zip_row_op + col_op + + """ + for j in range(self.cols): + self[i, j] = f(self[i, j], j) + + def row_swap(self, i, j): + """Swap the two given rows of the matrix in-place. + + Examples + ======== + + >>> from sympy import Matrix + >>> M = Matrix([[0, 1], [1, 0]]) + >>> M + Matrix([ + [0, 1], + [1, 0]]) + >>> M.row_swap(0, 1) + >>> M + Matrix([ + [1, 0], + [0, 1]]) + + See Also + ======== + + row + col_swap + """ + for k in range(0, self.cols): + self[i, k], self[j, k] = self[j, k], self[i, k] + + def zip_row_op(self, i, k, f): + """In-place operation on row ``i`` using two-arg functor whose args are + interpreted as ``(self[i, j], self[k, j])``. + + Examples + ======== + + >>> from sympy import eye + >>> M = eye(3) + >>> M.zip_row_op(1, 0, lambda v, u: v + 2*u); M + Matrix([ + [1, 0, 0], + [2, 1, 0], + [0, 0, 1]]) + + See Also + ======== + row + row_op + col_op + + """ + for j in range(self.cols): + self[i, j] = f(self[i, j], self[k, j]) + + def copyin_list(self, key, value): + """Copy in elements from a list. + + Parameters + ========== + + key : slice + The section of this matrix to replace. + value : iterable + The iterable to copy values from. + + Examples + ======== + + >>> from sympy import eye + >>> I = eye(3) + >>> I[:2, 0] = [1, 2] # col + >>> I + Matrix([ + [1, 0, 0], + [2, 1, 0], + [0, 0, 1]]) + >>> I[1, :2] = [[3, 4]] + >>> I + Matrix([ + [1, 0, 0], + [3, 4, 0], + [0, 0, 1]]) + + See Also + ======== + + copyin_matrix + """ + if not is_sequence(value): + raise TypeError("`value` must be an ordered iterable, not %s." % type(value)) + return self.copyin_matrix(key, type(self)(value)) + + def copyin_matrix(self, key, value): + """Copy in values from a matrix into the given bounds. + + Parameters + ========== + + key : slice + The section of this matrix to replace. + value : Matrix + The matrix to copy values from. + + Examples + ======== + + >>> from sympy import Matrix, eye + >>> M = Matrix([[0, 1], [2, 3], [4, 5]]) + >>> I = eye(3) + >>> I[:3, :2] = M + >>> I + Matrix([ + [0, 1, 0], + [2, 3, 0], + [4, 5, 1]]) + >>> I[0, 1] = M + >>> I + Matrix([ + [0, 0, 1], + [2, 2, 3], + [4, 4, 5]]) + + See Also + ======== + + copyin_list + """ + rlo, rhi, clo, chi = self.key2bounds(key) + shape = value.shape + dr, dc = rhi - rlo, chi - clo + if shape != (dr, dc): + raise ShapeError(filldedent("The Matrix `value` doesn't have the " + "same dimensions " + "as the in sub-Matrix given by `key`.")) + + for i in range(value.rows): + for j in range(value.cols): + self[i + rlo, j + clo] = value[i, j] + + def fill(self, value): + """Fill self with the given value. + + Notes + ===== + + Unless many values are going to be deleted (i.e. set to zero) + this will create a matrix that is slower than a dense matrix in + operations. + + Examples + ======== + + >>> from sympy import SparseMatrix + >>> M = SparseMatrix.zeros(3); M + Matrix([ + [0, 0, 0], + [0, 0, 0], + [0, 0, 0]]) + >>> M.fill(1); M + Matrix([ + [1, 1, 1], + [1, 1, 1], + [1, 1, 1]]) + + See Also + ======== + + zeros + ones + """ + value = _sympify(value) + if not value: + self._rep = DomainMatrix.zeros(self.shape, EXRAW) + else: + elements_dod = {i: {j: value for j in range(self.cols)} for i in range(self.rows)} + self._rep = DomainMatrix(elements_dod, self.shape, EXRAW) + + +def _getitem_RepMatrix(self, key): + """Return portion of self defined by key. If the key involves a slice + then a list will be returned (if key is a single slice) or a matrix + (if key was a tuple involving a slice). + + Examples + ======== + + >>> from sympy import Matrix, I + >>> m = Matrix([ + ... [1, 2 + I], + ... [3, 4 ]]) + + If the key is a tuple that does not involve a slice then that element + is returned: + + >>> m[1, 0] + 3 + + When a tuple key involves a slice, a matrix is returned. Here, the + first column is selected (all rows, column 0): + + >>> m[:, 0] + Matrix([ + [1], + [3]]) + + If the slice is not a tuple then it selects from the underlying + list of elements that are arranged in row order and a list is + returned if a slice is involved: + + >>> m[0] + 1 + >>> m[::2] + [1, 3] + """ + if isinstance(key, tuple): + i, j = key + try: + return self._rep.getitem_sympy(index_(i), index_(j)) + except (TypeError, IndexError): + if (isinstance(i, Expr) and not i.is_number) or (isinstance(j, Expr) and not j.is_number): + if ((j < 0) is True) or ((j >= self.shape[1]) is True) or\ + ((i < 0) is True) or ((i >= self.shape[0]) is True): + raise ValueError("index out of boundary") + from sympy.matrices.expressions.matexpr import MatrixElement + return MatrixElement(self, i, j) + + if isinstance(i, slice): + i = range(self.rows)[i] + elif is_sequence(i): + pass + else: + i = [i] + if isinstance(j, slice): + j = range(self.cols)[j] + elif is_sequence(j): + pass + else: + j = [j] + return self.extract(i, j) + + else: + # Index/slice like a flattened list + rows, cols = self.shape + + # Raise the appropriate exception: + if not rows * cols: + return [][key] + + rep = self._rep.rep + domain = rep.domain + is_slice = isinstance(key, slice) + + if is_slice: + values = [rep.getitem(*divmod(n, cols)) for n in range(rows * cols)[key]] + else: + values = [rep.getitem(*divmod(index_(key), cols))] + + if domain != EXRAW: + to_sympy = domain.to_sympy + values = [to_sympy(val) for val in values] + + if is_slice: + return values + else: + return values[0] diff --git a/shared/package-files/24/248c8a57e1d187721c1e2f84bce8f6770ead468a804e5c769011c5aebc59a64d/_make.py b/shared/package-files/24/248c8a57e1d187721c1e2f84bce8f6770ead468a804e5c769011c5aebc59a64d/_make.py new file mode 100644 index 0000000000000000000000000000000000000000..d72f738eeca66ea96ec836f57720a7f5d6ec5169 --- /dev/null +++ b/shared/package-files/24/248c8a57e1d187721c1e2f84bce8f6770ead468a804e5c769011c5aebc59a64d/_make.py @@ -0,0 +1,2987 @@ +# SPDX-License-Identifier: MIT + +import copy +import enum +import linecache +import sys +import types +import typing + +from operator import itemgetter + +# We need to import _compat itself in addition to the _compat members to avoid +# having the thread-local in the globals here. +from . import _compat, _config, setters +from ._compat import ( + PY310, + _AnnotationExtractor, + get_generic_base, + set_closure_cell, +) +from .exceptions import ( + DefaultAlreadySetError, + FrozenInstanceError, + NotAnAttrsClassError, + UnannotatedAttributeError, +) + + +# This is used at least twice, so cache it here. +_obj_setattr = object.__setattr__ +_init_converter_pat = "__attr_converter_%s" +_init_factory_pat = "__attr_factory_%s" +_classvar_prefixes = ( + "typing.ClassVar", + "t.ClassVar", + "ClassVar", + "typing_extensions.ClassVar", +) +# we don't use a double-underscore prefix because that triggers +# name mangling when trying to create a slot for the field +# (when slots=True) +_hash_cache_field = "_attrs_cached_hash" + +_empty_metadata_singleton = types.MappingProxyType({}) + +# Unique object for unequivocal getattr() defaults. +_sentinel = object() + +_ng_default_on_setattr = setters.pipe(setters.convert, setters.validate) + + +class _Nothing(enum.Enum): + """ + Sentinel to indicate the lack of a value when ``None`` is ambiguous. + + If extending attrs, you can use ``typing.Literal[NOTHING]`` to show + that a value may be ``NOTHING``. + + .. versionchanged:: 21.1.0 ``bool(NOTHING)`` is now False. + .. versionchanged:: 22.2.0 ``NOTHING`` is now an ``enum.Enum`` variant. + """ + + NOTHING = enum.auto() + + def __repr__(self): + return "NOTHING" + + def __bool__(self): + return False + + +NOTHING = _Nothing.NOTHING +""" +Sentinel to indicate the lack of a value when ``None`` is ambiguous. +""" + + +class _CacheHashWrapper(int): + """ + An integer subclass that pickles / copies as None + + This is used for non-slots classes with ``cache_hash=True``, to avoid + serializing a potentially (even likely) invalid hash value. Since ``None`` + is the default value for uncalculated hashes, whenever this is copied, + the copy's value for the hash should automatically reset. + + See GH #613 for more details. + """ + + def __reduce__(self, _none_constructor=type(None), _args=()): + return _none_constructor, _args + + +def attrib( + default=NOTHING, + validator=None, + repr=True, + cmp=None, + hash=None, + init=True, + metadata=None, + type=None, + converter=None, + factory=None, + kw_only=False, + eq=None, + order=None, + on_setattr=None, + alias=None, +): + """ + Create a new attribute on a class. + + .. warning:: + + Does *not* do anything unless the class is also decorated with + `attr.s` / `attrs.define` / et cetera! + + Please consider using `attrs.field` in new code (``attr.ib`` will *never* + go away, though). + + :param default: A value that is used if an *attrs*-generated ``__init__`` + is used and no value is passed while instantiating or the attribute is + excluded using ``init=False``. + + If the value is an instance of `attrs.Factory`, its callable will be + used to construct a new value (useful for mutable data types like lists + or dicts). + + If a default is not set (or set manually to `attrs.NOTHING`), a value + *must* be supplied when instantiating; otherwise a `TypeError` + will be raised. + + The default can also be set using decorator notation as shown below. + + :type default: Any value + + :param callable factory: Syntactic sugar for + ``default=attr.Factory(factory)``. + + :param validator: `callable` that is called by *attrs*-generated + ``__init__`` methods after the instance has been initialized. They + receive the initialized instance, the :func:`~attrs.Attribute`, and the + passed value. + + The return value is *not* inspected so the validator has to throw an + exception itself. + + If a `list` is passed, its items are treated as validators and must + all pass. + + Validators can be globally disabled and re-enabled using + `attrs.validators.get_disabled` / `attrs.validators.set_disabled`. + + The validator can also be set using decorator notation as shown below. + + :type validator: `callable` or a `list` of `callable`\\ s. + + :param repr: Include this attribute in the generated ``__repr__`` + method. If ``True``, include the attribute; if ``False``, omit it. By + default, the built-in ``repr()`` function is used. To override how the + attribute value is formatted, pass a ``callable`` that takes a single + value and returns a string. Note that the resulting string is used + as-is, i.e. it will be used directly *instead* of calling ``repr()`` + (the default). + :type repr: a `bool` or a `callable` to use a custom function. + + :param eq: If ``True`` (default), include this attribute in the + generated ``__eq__`` and ``__ne__`` methods that check two instances + for equality. To override how the attribute value is compared, + pass a ``callable`` that takes a single value and returns the value + to be compared. + :type eq: a `bool` or a `callable`. + + :param order: If ``True`` (default), include this attributes in the + generated ``__lt__``, ``__le__``, ``__gt__`` and ``__ge__`` methods. + To override how the attribute value is ordered, + pass a ``callable`` that takes a single value and returns the value + to be ordered. + :type order: a `bool` or a `callable`. + + :param cmp: Setting *cmp* is equivalent to setting *eq* and *order* to the + same value. Must not be mixed with *eq* or *order*. + :type cmp: a `bool` or a `callable`. + + :param Optional[bool] hash: Include this attribute in the generated + ``__hash__`` method. If ``None`` (default), mirror *eq*'s value. This + is the correct behavior according the Python spec. Setting this value + to anything else than ``None`` is *discouraged*. + :param bool init: Include this attribute in the generated ``__init__`` + method. It is possible to set this to ``False`` and set a default + value. In that case this attributed is unconditionally initialized + with the specified default value or factory. + :param callable converter: `callable` that is called by + *attrs*-generated ``__init__`` methods to convert attribute's value + to the desired format. It is given the passed-in value, and the + returned value will be used as the new value of the attribute. The + value is converted before being passed to the validator, if any. + :param metadata: An arbitrary mapping, to be used by third-party + components. See `extending-metadata`. + + :param type: The type of the attribute. Nowadays, the preferred method to + specify the type is using a variable annotation (see :pep:`526`). + This argument is provided for backward compatibility. + Regardless of the approach used, the type will be stored on + ``Attribute.type``. + + Please note that *attrs* doesn't do anything with this metadata by + itself. You can use it as part of your own code or for + `static type checking `. + :param kw_only: Make this attribute keyword-only in the generated + ``__init__`` (if ``init`` is ``False``, this parameter is ignored). + :param on_setattr: Allows to overwrite the *on_setattr* setting from + `attr.s`. If left `None`, the *on_setattr* value from `attr.s` is used. + Set to `attrs.setters.NO_OP` to run **no** `setattr` hooks for this + attribute -- regardless of the setting in `attr.s`. + :type on_setattr: `callable`, or a list of callables, or `None`, or + `attrs.setters.NO_OP` + :param Optional[str] alias: Override this attribute's parameter name in the + generated ``__init__`` method. If left `None`, default to ``name`` + stripped of leading underscores. See `private-attributes`. + + .. versionadded:: 15.2.0 *convert* + .. versionadded:: 16.3.0 *metadata* + .. versionchanged:: 17.1.0 *validator* can be a ``list`` now. + .. versionchanged:: 17.1.0 + *hash* is ``None`` and therefore mirrors *eq* by default. + .. versionadded:: 17.3.0 *type* + .. deprecated:: 17.4.0 *convert* + .. versionadded:: 17.4.0 *converter* as a replacement for the deprecated + *convert* to achieve consistency with other noun-based arguments. + .. versionadded:: 18.1.0 + ``factory=f`` is syntactic sugar for ``default=attr.Factory(f)``. + .. versionadded:: 18.2.0 *kw_only* + .. versionchanged:: 19.2.0 *convert* keyword argument removed. + .. versionchanged:: 19.2.0 *repr* also accepts a custom callable. + .. deprecated:: 19.2.0 *cmp* Removal on or after 2021-06-01. + .. versionadded:: 19.2.0 *eq* and *order* + .. versionadded:: 20.1.0 *on_setattr* + .. versionchanged:: 20.3.0 *kw_only* backported to Python 2 + .. versionchanged:: 21.1.0 + *eq*, *order*, and *cmp* also accept a custom callable + .. versionchanged:: 21.1.0 *cmp* undeprecated + .. versionadded:: 22.2.0 *alias* + """ + eq, eq_key, order, order_key = _determine_attrib_eq_order( + cmp, eq, order, True + ) + + if hash is not None and hash is not True and hash is not False: + raise TypeError( + "Invalid value for hash. Must be True, False, or None." + ) + + if factory is not None: + if default is not NOTHING: + raise ValueError( + "The `default` and `factory` arguments are mutually " + "exclusive." + ) + if not callable(factory): + raise ValueError("The `factory` argument must be a callable.") + default = Factory(factory) + + if metadata is None: + metadata = {} + + # Apply syntactic sugar by auto-wrapping. + if isinstance(on_setattr, (list, tuple)): + on_setattr = setters.pipe(*on_setattr) + + if validator and isinstance(validator, (list, tuple)): + validator = and_(*validator) + + if converter and isinstance(converter, (list, tuple)): + converter = pipe(*converter) + + return _CountingAttr( + default=default, + validator=validator, + repr=repr, + cmp=None, + hash=hash, + init=init, + converter=converter, + metadata=metadata, + type=type, + kw_only=kw_only, + eq=eq, + eq_key=eq_key, + order=order, + order_key=order_key, + on_setattr=on_setattr, + alias=alias, + ) + + +def _compile_and_eval(script, globs, locs=None, filename=""): + """ + "Exec" the script with the given global (globs) and local (locs) variables. + """ + bytecode = compile(script, filename, "exec") + eval(bytecode, globs, locs) + + +def _make_method(name, script, filename, globs): + """ + Create the method with the script given and return the method object. + """ + locs = {} + + # In order of debuggers like PDB being able to step through the code, + # we add a fake linecache entry. + count = 1 + base_filename = filename + while True: + linecache_tuple = ( + len(script), + None, + script.splitlines(True), + filename, + ) + old_val = linecache.cache.setdefault(filename, linecache_tuple) + if old_val == linecache_tuple: + break + else: + filename = f"{base_filename[:-1]}-{count}>" + count += 1 + + _compile_and_eval(script, globs, locs, filename) + + return locs[name] + + +def _make_attr_tuple_class(cls_name, attr_names): + """ + Create a tuple subclass to hold `Attribute`s for an `attrs` class. + + The subclass is a bare tuple with properties for names. + + class MyClassAttributes(tuple): + __slots__ = () + x = property(itemgetter(0)) + """ + attr_class_name = f"{cls_name}Attributes" + attr_class_template = [ + f"class {attr_class_name}(tuple):", + " __slots__ = ()", + ] + if attr_names: + for i, attr_name in enumerate(attr_names): + attr_class_template.append( + f" {attr_name} = _attrs_property(_attrs_itemgetter({i}))" + ) + else: + attr_class_template.append(" pass") + globs = {"_attrs_itemgetter": itemgetter, "_attrs_property": property} + _compile_and_eval("\n".join(attr_class_template), globs) + return globs[attr_class_name] + + +# Tuple class for extracted attributes from a class definition. +# `base_attrs` is a subset of `attrs`. +_Attributes = _make_attr_tuple_class( + "_Attributes", + [ + # all attributes to build dunder methods for + "attrs", + # attributes that have been inherited + "base_attrs", + # map inherited attributes to their originating classes + "base_attrs_map", + ], +) + + +def _is_class_var(annot): + """ + Check whether *annot* is a typing.ClassVar. + + The string comparison hack is used to avoid evaluating all string + annotations which would put attrs-based classes at a performance + disadvantage compared to plain old classes. + """ + annot = str(annot) + + # Annotation can be quoted. + if annot.startswith(("'", '"')) and annot.endswith(("'", '"')): + annot = annot[1:-1] + + return annot.startswith(_classvar_prefixes) + + +def _has_own_attribute(cls, attrib_name): + """ + Check whether *cls* defines *attrib_name* (and doesn't just inherit it). + """ + attr = getattr(cls, attrib_name, _sentinel) + if attr is _sentinel: + return False + + for base_cls in cls.__mro__[1:]: + a = getattr(base_cls, attrib_name, None) + if attr is a: + return False + + return True + + +def _get_annotations(cls): + """ + Get annotations for *cls*. + """ + if _has_own_attribute(cls, "__annotations__"): + return cls.__annotations__ + + return {} + + +def _collect_base_attrs(cls, taken_attr_names): + """ + Collect attr.ibs from base classes of *cls*, except *taken_attr_names*. + """ + base_attrs = [] + base_attr_map = {} # A dictionary of base attrs to their classes. + + # Traverse the MRO and collect attributes. + for base_cls in reversed(cls.__mro__[1:-1]): + for a in getattr(base_cls, "__attrs_attrs__", []): + if a.inherited or a.name in taken_attr_names: + continue + + a = a.evolve(inherited=True) + base_attrs.append(a) + base_attr_map[a.name] = base_cls + + # For each name, only keep the freshest definition i.e. the furthest at the + # back. base_attr_map is fine because it gets overwritten with every new + # instance. + filtered = [] + seen = set() + for a in reversed(base_attrs): + if a.name in seen: + continue + filtered.insert(0, a) + seen.add(a.name) + + return filtered, base_attr_map + + +def _collect_base_attrs_broken(cls, taken_attr_names): + """ + Collect attr.ibs from base classes of *cls*, except *taken_attr_names*. + + N.B. *taken_attr_names* will be mutated. + + Adhere to the old incorrect behavior. + + Notably it collects from the front and considers inherited attributes which + leads to the buggy behavior reported in #428. + """ + base_attrs = [] + base_attr_map = {} # A dictionary of base attrs to their classes. + + # Traverse the MRO and collect attributes. + for base_cls in cls.__mro__[1:-1]: + for a in getattr(base_cls, "__attrs_attrs__", []): + if a.name in taken_attr_names: + continue + + a = a.evolve(inherited=True) + taken_attr_names.add(a.name) + base_attrs.append(a) + base_attr_map[a.name] = base_cls + + return base_attrs, base_attr_map + + +def _transform_attrs( + cls, these, auto_attribs, kw_only, collect_by_mro, field_transformer +): + """ + Transform all `_CountingAttr`s on a class into `Attribute`s. + + If *these* is passed, use that and don't look for them on the class. + + *collect_by_mro* is True, collect them in the correct MRO order, otherwise + use the old -- incorrect -- order. See #428. + + Return an `_Attributes`. + """ + cd = cls.__dict__ + anns = _get_annotations(cls) + + if these is not None: + ca_list = [(name, ca) for name, ca in these.items()] + elif auto_attribs is True: + ca_names = { + name + for name, attr in cd.items() + if isinstance(attr, _CountingAttr) + } + ca_list = [] + annot_names = set() + for attr_name, type in anns.items(): + if _is_class_var(type): + continue + annot_names.add(attr_name) + a = cd.get(attr_name, NOTHING) + + if not isinstance(a, _CountingAttr): + if a is NOTHING: + a = attrib() + else: + a = attrib(default=a) + ca_list.append((attr_name, a)) + + unannotated = ca_names - annot_names + if len(unannotated) > 0: + raise UnannotatedAttributeError( + "The following `attr.ib`s lack a type annotation: " + + ", ".join( + sorted(unannotated, key=lambda n: cd.get(n).counter) + ) + + "." + ) + else: + ca_list = sorted( + ( + (name, attr) + for name, attr in cd.items() + if isinstance(attr, _CountingAttr) + ), + key=lambda e: e[1].counter, + ) + + own_attrs = [ + Attribute.from_counting_attr( + name=attr_name, ca=ca, type=anns.get(attr_name) + ) + for attr_name, ca in ca_list + ] + + if collect_by_mro: + base_attrs, base_attr_map = _collect_base_attrs( + cls, {a.name for a in own_attrs} + ) + else: + base_attrs, base_attr_map = _collect_base_attrs_broken( + cls, {a.name for a in own_attrs} + ) + + if kw_only: + own_attrs = [a.evolve(kw_only=True) for a in own_attrs] + base_attrs = [a.evolve(kw_only=True) for a in base_attrs] + + attrs = base_attrs + own_attrs + + # Mandatory vs non-mandatory attr order only matters when they are part of + # the __init__ signature and when they aren't kw_only (which are moved to + # the end and can be mandatory or non-mandatory in any order, as they will + # be specified as keyword args anyway). Check the order of those attrs: + had_default = False + for a in (a for a in attrs if a.init is not False and a.kw_only is False): + if had_default is True and a.default is NOTHING: + raise ValueError( + "No mandatory attributes allowed after an attribute with a " + f"default value or factory. Attribute in question: {a!r}" + ) + + if had_default is False and a.default is not NOTHING: + had_default = True + + if field_transformer is not None: + attrs = field_transformer(cls, attrs) + + # Resolve default field alias after executing field_transformer. + # This allows field_transformer to differentiate between explicit vs + # default aliases and supply their own defaults. + attrs = [ + a.evolve(alias=_default_init_alias_for(a.name)) if not a.alias else a + for a in attrs + ] + + # Create AttrsClass *after* applying the field_transformer since it may + # add or remove attributes! + attr_names = [a.name for a in attrs] + AttrsClass = _make_attr_tuple_class(cls.__name__, attr_names) + + return _Attributes((AttrsClass(attrs), base_attrs, base_attr_map)) + + +def _frozen_setattrs(self, name, value): + """ + Attached to frozen classes as __setattr__. + """ + if isinstance(self, BaseException) and name in ( + "__cause__", + "__context__", + "__traceback__", + ): + BaseException.__setattr__(self, name, value) + return + + raise FrozenInstanceError() + + +def _frozen_delattrs(self, name): + """ + Attached to frozen classes as __delattr__. + """ + raise FrozenInstanceError() + + +class _ClassBuilder: + """ + Iteratively build *one* class. + """ + + __slots__ = ( + "_attr_names", + "_attrs", + "_base_attr_map", + "_base_names", + "_cache_hash", + "_cls", + "_cls_dict", + "_delete_attribs", + "_frozen", + "_has_pre_init", + "_has_post_init", + "_is_exc", + "_on_setattr", + "_slots", + "_weakref_slot", + "_wrote_own_setattr", + "_has_custom_setattr", + ) + + def __init__( + self, + cls, + these, + slots, + frozen, + weakref_slot, + getstate_setstate, + auto_attribs, + kw_only, + cache_hash, + is_exc, + collect_by_mro, + on_setattr, + has_custom_setattr, + field_transformer, + ): + attrs, base_attrs, base_map = _transform_attrs( + cls, + these, + auto_attribs, + kw_only, + collect_by_mro, + field_transformer, + ) + + self._cls = cls + self._cls_dict = dict(cls.__dict__) if slots else {} + self._attrs = attrs + self._base_names = {a.name for a in base_attrs} + self._base_attr_map = base_map + self._attr_names = tuple(a.name for a in attrs) + self._slots = slots + self._frozen = frozen + self._weakref_slot = weakref_slot + self._cache_hash = cache_hash + self._has_pre_init = bool(getattr(cls, "__attrs_pre_init__", False)) + self._has_post_init = bool(getattr(cls, "__attrs_post_init__", False)) + self._delete_attribs = not bool(these) + self._is_exc = is_exc + self._on_setattr = on_setattr + + self._has_custom_setattr = has_custom_setattr + self._wrote_own_setattr = False + + self._cls_dict["__attrs_attrs__"] = self._attrs + + if frozen: + self._cls_dict["__setattr__"] = _frozen_setattrs + self._cls_dict["__delattr__"] = _frozen_delattrs + + self._wrote_own_setattr = True + elif on_setattr in ( + _ng_default_on_setattr, + setters.validate, + setters.convert, + ): + has_validator = has_converter = False + for a in attrs: + if a.validator is not None: + has_validator = True + if a.converter is not None: + has_converter = True + + if has_validator and has_converter: + break + if ( + ( + on_setattr == _ng_default_on_setattr + and not (has_validator or has_converter) + ) + or (on_setattr == setters.validate and not has_validator) + or (on_setattr == setters.convert and not has_converter) + ): + # If class-level on_setattr is set to convert + validate, but + # there's no field to convert or validate, pretend like there's + # no on_setattr. + self._on_setattr = None + + if getstate_setstate: + ( + self._cls_dict["__getstate__"], + self._cls_dict["__setstate__"], + ) = self._make_getstate_setstate() + + def __repr__(self): + return f"<_ClassBuilder(cls={self._cls.__name__})>" + + if PY310: + import abc + + def build_class(self): + """ + Finalize class based on the accumulated configuration. + + Builder cannot be used after calling this method. + """ + if self._slots is True: + return self._create_slots_class() + + return self.abc.update_abstractmethods( + self._patch_original_class() + ) + + else: + + def build_class(self): + """ + Finalize class based on the accumulated configuration. + + Builder cannot be used after calling this method. + """ + if self._slots is True: + return self._create_slots_class() + + return self._patch_original_class() + + def _patch_original_class(self): + """ + Apply accumulated methods and return the class. + """ + cls = self._cls + base_names = self._base_names + + # Clean class of attribute definitions (`attr.ib()`s). + if self._delete_attribs: + for name in self._attr_names: + if ( + name not in base_names + and getattr(cls, name, _sentinel) is not _sentinel + ): + try: + delattr(cls, name) + except AttributeError: + # This can happen if a base class defines a class + # variable and we want to set an attribute with the + # same name by using only a type annotation. + pass + + # Attach our dunder methods. + for name, value in self._cls_dict.items(): + setattr(cls, name, value) + + # If we've inherited an attrs __setattr__ and don't write our own, + # reset it to object's. + if not self._wrote_own_setattr and getattr( + cls, "__attrs_own_setattr__", False + ): + cls.__attrs_own_setattr__ = False + + if not self._has_custom_setattr: + cls.__setattr__ = _obj_setattr + + return cls + + def _create_slots_class(self): + """ + Build and return a new class with a `__slots__` attribute. + """ + cd = { + k: v + for k, v in self._cls_dict.items() + if k not in tuple(self._attr_names) + ("__dict__", "__weakref__") + } + + # If our class doesn't have its own implementation of __setattr__ + # (either from the user or by us), check the bases, if one of them has + # an attrs-made __setattr__, that needs to be reset. We don't walk the + # MRO because we only care about our immediate base classes. + # XXX: This can be confused by subclassing a slotted attrs class with + # XXX: a non-attrs class and subclass the resulting class with an attrs + # XXX: class. See `test_slotted_confused` for details. For now that's + # XXX: OK with us. + if not self._wrote_own_setattr: + cd["__attrs_own_setattr__"] = False + + if not self._has_custom_setattr: + for base_cls in self._cls.__bases__: + if base_cls.__dict__.get("__attrs_own_setattr__", False): + cd["__setattr__"] = _obj_setattr + break + + # Traverse the MRO to collect existing slots + # and check for an existing __weakref__. + existing_slots = dict() + weakref_inherited = False + for base_cls in self._cls.__mro__[1:-1]: + if base_cls.__dict__.get("__weakref__", None) is not None: + weakref_inherited = True + existing_slots.update( + { + name: getattr(base_cls, name) + for name in getattr(base_cls, "__slots__", []) + } + ) + + base_names = set(self._base_names) + + names = self._attr_names + if ( + self._weakref_slot + and "__weakref__" not in getattr(self._cls, "__slots__", ()) + and "__weakref__" not in names + and not weakref_inherited + ): + names += ("__weakref__",) + + # We only add the names of attributes that aren't inherited. + # Setting __slots__ to inherited attributes wastes memory. + slot_names = [name for name in names if name not in base_names] + # There are slots for attributes from current class + # that are defined in parent classes. + # As their descriptors may be overridden by a child class, + # we collect them here and update the class dict + reused_slots = { + slot: slot_descriptor + for slot, slot_descriptor in existing_slots.items() + if slot in slot_names + } + slot_names = [name for name in slot_names if name not in reused_slots] + cd.update(reused_slots) + if self._cache_hash: + slot_names.append(_hash_cache_field) + cd["__slots__"] = tuple(slot_names) + + cd["__qualname__"] = self._cls.__qualname__ + + # Create new class based on old class and our methods. + cls = type(self._cls)(self._cls.__name__, self._cls.__bases__, cd) + + # The following is a fix for + # . + # If a method mentions `__class__` or uses the no-arg super(), the + # compiler will bake a reference to the class in the method itself + # as `method.__closure__`. Since we replace the class with a + # clone, we rewrite these references so it keeps working. + for item in cls.__dict__.values(): + if isinstance(item, (classmethod, staticmethod)): + # Class- and staticmethods hide their functions inside. + # These might need to be rewritten as well. + closure_cells = getattr(item.__func__, "__closure__", None) + elif isinstance(item, property): + # Workaround for property `super()` shortcut (PY3-only). + # There is no universal way for other descriptors. + closure_cells = getattr(item.fget, "__closure__", None) + else: + closure_cells = getattr(item, "__closure__", None) + + if not closure_cells: # Catch None or the empty list. + continue + for cell in closure_cells: + try: + match = cell.cell_contents is self._cls + except ValueError: # ValueError: Cell is empty + pass + else: + if match: + set_closure_cell(cell, cls) + + return cls + + def add_repr(self, ns): + self._cls_dict["__repr__"] = self._add_method_dunders( + _make_repr(self._attrs, ns, self._cls) + ) + return self + + def add_str(self): + repr = self._cls_dict.get("__repr__") + if repr is None: + raise ValueError( + "__str__ can only be generated if a __repr__ exists." + ) + + def __str__(self): + return self.__repr__() + + self._cls_dict["__str__"] = self._add_method_dunders(__str__) + return self + + def _make_getstate_setstate(self): + """ + Create custom __setstate__ and __getstate__ methods. + """ + # __weakref__ is not writable. + state_attr_names = tuple( + an for an in self._attr_names if an != "__weakref__" + ) + + def slots_getstate(self): + """ + Automatically created by attrs. + """ + return {name: getattr(self, name) for name in state_attr_names} + + hash_caching_enabled = self._cache_hash + + def slots_setstate(self, state): + """ + Automatically created by attrs. + """ + __bound_setattr = _obj_setattr.__get__(self) + if isinstance(state, tuple): + # Backward compatibility with attrs instances pickled with + # attrs versions before v22.2.0 which stored tuples. + for name, value in zip(state_attr_names, state): + __bound_setattr(name, value) + else: + for name in state_attr_names: + if name in state: + __bound_setattr(name, state[name]) + + # The hash code cache is not included when the object is + # serialized, but it still needs to be initialized to None to + # indicate that the first call to __hash__ should be a cache + # miss. + if hash_caching_enabled: + __bound_setattr(_hash_cache_field, None) + + return slots_getstate, slots_setstate + + def make_unhashable(self): + self._cls_dict["__hash__"] = None + return self + + def add_hash(self): + self._cls_dict["__hash__"] = self._add_method_dunders( + _make_hash( + self._cls, + self._attrs, + frozen=self._frozen, + cache_hash=self._cache_hash, + ) + ) + + return self + + def add_init(self): + self._cls_dict["__init__"] = self._add_method_dunders( + _make_init( + self._cls, + self._attrs, + self._has_pre_init, + self._has_post_init, + self._frozen, + self._slots, + self._cache_hash, + self._base_attr_map, + self._is_exc, + self._on_setattr, + attrs_init=False, + ) + ) + + return self + + def add_match_args(self): + self._cls_dict["__match_args__"] = tuple( + field.name + for field in self._attrs + if field.init and not field.kw_only + ) + + def add_attrs_init(self): + self._cls_dict["__attrs_init__"] = self._add_method_dunders( + _make_init( + self._cls, + self._attrs, + self._has_pre_init, + self._has_post_init, + self._frozen, + self._slots, + self._cache_hash, + self._base_attr_map, + self._is_exc, + self._on_setattr, + attrs_init=True, + ) + ) + + return self + + def add_eq(self): + cd = self._cls_dict + + cd["__eq__"] = self._add_method_dunders( + _make_eq(self._cls, self._attrs) + ) + cd["__ne__"] = self._add_method_dunders(_make_ne()) + + return self + + def add_order(self): + cd = self._cls_dict + + cd["__lt__"], cd["__le__"], cd["__gt__"], cd["__ge__"] = ( + self._add_method_dunders(meth) + for meth in _make_order(self._cls, self._attrs) + ) + + return self + + def add_setattr(self): + if self._frozen: + return self + + sa_attrs = {} + for a in self._attrs: + on_setattr = a.on_setattr or self._on_setattr + if on_setattr and on_setattr is not setters.NO_OP: + sa_attrs[a.name] = a, on_setattr + + if not sa_attrs: + return self + + if self._has_custom_setattr: + # We need to write a __setattr__ but there already is one! + raise ValueError( + "Can't combine custom __setattr__ with on_setattr hooks." + ) + + # docstring comes from _add_method_dunders + def __setattr__(self, name, val): + try: + a, hook = sa_attrs[name] + except KeyError: + nval = val + else: + nval = hook(self, a, val) + + _obj_setattr(self, name, nval) + + self._cls_dict["__attrs_own_setattr__"] = True + self._cls_dict["__setattr__"] = self._add_method_dunders(__setattr__) + self._wrote_own_setattr = True + + return self + + def _add_method_dunders(self, method): + """ + Add __module__ and __qualname__ to a *method* if possible. + """ + try: + method.__module__ = self._cls.__module__ + except AttributeError: + pass + + try: + method.__qualname__ = ".".join( + (self._cls.__qualname__, method.__name__) + ) + except AttributeError: + pass + + try: + method.__doc__ = ( + "Method generated by attrs for class " + f"{self._cls.__qualname__}." + ) + except AttributeError: + pass + + return method + + +def _determine_attrs_eq_order(cmp, eq, order, default_eq): + """ + Validate the combination of *cmp*, *eq*, and *order*. Derive the effective + values of eq and order. If *eq* is None, set it to *default_eq*. + """ + if cmp is not None and any((eq is not None, order is not None)): + raise ValueError("Don't mix `cmp` with `eq' and `order`.") + + # cmp takes precedence due to bw-compatibility. + if cmp is not None: + return cmp, cmp + + # If left None, equality is set to the specified default and ordering + # mirrors equality. + if eq is None: + eq = default_eq + + if order is None: + order = eq + + if eq is False and order is True: + raise ValueError("`order` can only be True if `eq` is True too.") + + return eq, order + + +def _determine_attrib_eq_order(cmp, eq, order, default_eq): + """ + Validate the combination of *cmp*, *eq*, and *order*. Derive the effective + values of eq and order. If *eq* is None, set it to *default_eq*. + """ + if cmp is not None and any((eq is not None, order is not None)): + raise ValueError("Don't mix `cmp` with `eq' and `order`.") + + def decide_callable_or_boolean(value): + """ + Decide whether a key function is used. + """ + if callable(value): + value, key = True, value + else: + key = None + return value, key + + # cmp takes precedence due to bw-compatibility. + if cmp is not None: + cmp, cmp_key = decide_callable_or_boolean(cmp) + return cmp, cmp_key, cmp, cmp_key + + # If left None, equality is set to the specified default and ordering + # mirrors equality. + if eq is None: + eq, eq_key = default_eq, None + else: + eq, eq_key = decide_callable_or_boolean(eq) + + if order is None: + order, order_key = eq, eq_key + else: + order, order_key = decide_callable_or_boolean(order) + + if eq is False and order is True: + raise ValueError("`order` can only be True if `eq` is True too.") + + return eq, eq_key, order, order_key + + +def _determine_whether_to_implement( + cls, flag, auto_detect, dunders, default=True +): + """ + Check whether we should implement a set of methods for *cls*. + + *flag* is the argument passed into @attr.s like 'init', *auto_detect* the + same as passed into @attr.s and *dunders* is a tuple of attribute names + whose presence signal that the user has implemented it themselves. + + Return *default* if no reason for either for or against is found. + """ + if flag is True or flag is False: + return flag + + if flag is None and auto_detect is False: + return default + + # Logically, flag is None and auto_detect is True here. + for dunder in dunders: + if _has_own_attribute(cls, dunder): + return False + + return default + + +def attrs( + maybe_cls=None, + these=None, + repr_ns=None, + repr=None, + cmp=None, + hash=None, + init=None, + slots=False, + frozen=False, + weakref_slot=True, + str=False, + auto_attribs=False, + kw_only=False, + cache_hash=False, + auto_exc=False, + eq=None, + order=None, + auto_detect=False, + collect_by_mro=False, + getstate_setstate=None, + on_setattr=None, + field_transformer=None, + match_args=True, + unsafe_hash=None, +): + r""" + A class decorator that adds :term:`dunder methods` according to the + specified attributes using `attr.ib` or the *these* argument. + + Please consider using `attrs.define` / `attrs.frozen` in new code + (``attr.s`` will *never* go away, though). + + :param these: A dictionary of name to `attr.ib` mappings. This is + useful to avoid the definition of your attributes within the class body + because you can't (e.g. if you want to add ``__repr__`` methods to + Django models) or don't want to. + + If *these* is not ``None``, *attrs* will *not* search the class body + for attributes and will *not* remove any attributes from it. + + The order is deduced from the order of the attributes inside *these*. + + :type these: `dict` of `str` to `attr.ib` + + :param str repr_ns: When using nested classes, there's no way in Python 2 + to automatically detect that. Therefore it's possible to set the + namespace explicitly for a more meaningful ``repr`` output. + :param bool auto_detect: Instead of setting the *init*, *repr*, *eq*, + *order*, and *hash* arguments explicitly, assume they are set to + ``True`` **unless any** of the involved methods for one of the + arguments is implemented in the *current* class (i.e. it is *not* + inherited from some base class). + + So for example by implementing ``__eq__`` on a class yourself, + *attrs* will deduce ``eq=False`` and will create *neither* + ``__eq__`` *nor* ``__ne__`` (but Python classes come with a sensible + ``__ne__`` by default, so it *should* be enough to only implement + ``__eq__`` in most cases). + + .. warning:: + + If you prevent *attrs* from creating the ordering methods for you + (``order=False``, e.g. by implementing ``__le__``), it becomes + *your* responsibility to make sure its ordering is sound. The best + way is to use the `functools.total_ordering` decorator. + + + Passing ``True`` or ``False`` to *init*, *repr*, *eq*, *order*, + *cmp*, or *hash* overrides whatever *auto_detect* would determine. + + :param bool repr: Create a ``__repr__`` method with a human readable + representation of *attrs* attributes.. + :param bool str: Create a ``__str__`` method that is identical to + ``__repr__``. This is usually not necessary except for + `Exception`\ s. + :param Optional[bool] eq: If ``True`` or ``None`` (default), add ``__eq__`` + and ``__ne__`` methods that check two instances for equality. + + They compare the instances as if they were tuples of their *attrs* + attributes if and only if the types of both classes are *identical*! + :param Optional[bool] order: If ``True``, add ``__lt__``, ``__le__``, + ``__gt__``, and ``__ge__`` methods that behave like *eq* above and + allow instances to be ordered. If ``None`` (default) mirror value of + *eq*. + :param Optional[bool] cmp: Setting *cmp* is equivalent to setting *eq* + and *order* to the same value. Must not be mixed with *eq* or *order*. + :param Optional[bool] unsafe_hash: If ``None`` (default), the ``__hash__`` + method is generated according how *eq* and *frozen* are set. + + 1. If *both* are True, *attrs* will generate a ``__hash__`` for you. + 2. If *eq* is True and *frozen* is False, ``__hash__`` will be set to + None, marking it unhashable (which it is). + 3. If *eq* is False, ``__hash__`` will be left untouched meaning the + ``__hash__`` method of the base class will be used (if base class is + ``object``, this means it will fall back to id-based hashing.). + + Although not recommended, you can decide for yourself and force + *attrs* to create one (e.g. if the class is immutable even though you + didn't freeze it programmatically) by passing ``True`` or not. Both of + these cases are rather special and should be used carefully. + + See our documentation on `hashing`, Python's documentation on + `object.__hash__`, and the `GitHub issue that led to the default \ + behavior `_ for more + details. + :param Optional[bool] hash: Alias for *unsafe_hash*. *unsafe_hash* takes + precedence. + :param bool init: Create a ``__init__`` method that initializes the + *attrs* attributes. Leading underscores are stripped for the argument + name. If a ``__attrs_pre_init__`` method exists on the class, it will + be called before the class is initialized. If a ``__attrs_post_init__`` + method exists on the class, it will be called after the class is fully + initialized. + + If ``init`` is ``False``, an ``__attrs_init__`` method will be + injected instead. This allows you to define a custom ``__init__`` + method that can do pre-init work such as ``super().__init__()``, + and then call ``__attrs_init__()`` and ``__attrs_post_init__()``. + :param bool slots: Create a :term:`slotted class ` that's + more memory-efficient. Slotted classes are generally superior to the + default dict classes, but have some gotchas you should know about, so + we encourage you to read the :term:`glossary entry `. + :param bool frozen: Make instances immutable after initialization. If + someone attempts to modify a frozen instance, + `attrs.exceptions.FrozenInstanceError` is raised. + + .. note:: + + 1. This is achieved by installing a custom ``__setattr__`` method + on your class, so you can't implement your own. + + 2. True immutability is impossible in Python. + + 3. This *does* have a minor a runtime performance `impact + ` when initializing new instances. In other words: + ``__init__`` is slightly slower with ``frozen=True``. + + 4. If a class is frozen, you cannot modify ``self`` in + ``__attrs_post_init__`` or a self-written ``__init__``. You can + circumvent that limitation by using + ``object.__setattr__(self, "attribute_name", value)``. + + 5. Subclasses of a frozen class are frozen too. + + :param bool weakref_slot: Make instances weak-referenceable. This has no + effect unless ``slots`` is also enabled. + :param bool auto_attribs: If ``True``, collect :pep:`526`-annotated + attributes from the class body. + + In this case, you **must** annotate every field. If *attrs* + encounters a field that is set to an `attr.ib` but lacks a type + annotation, an `attr.exceptions.UnannotatedAttributeError` is + raised. Use ``field_name: typing.Any = attr.ib(...)`` if you don't + want to set a type. + + If you assign a value to those attributes (e.g. ``x: int = 42``), that + value becomes the default value like if it were passed using + ``attr.ib(default=42)``. Passing an instance of `attrs.Factory` also + works as expected in most cases (see warning below). + + Attributes annotated as `typing.ClassVar`, and attributes that are + neither annotated nor set to an `attr.ib` are **ignored**. + + .. warning:: + For features that use the attribute name to create decorators (e.g. + :ref:`validators `), you still *must* assign `attr.ib` + to them. Otherwise Python will either not find the name or try to + use the default value to call e.g. ``validator`` on it. + + These errors can be quite confusing and probably the most common bug + report on our bug tracker. + + :param bool kw_only: Make all attributes keyword-only + in the generated ``__init__`` (if ``init`` is ``False``, this + parameter is ignored). + :param bool cache_hash: Ensure that the object's hash code is computed + only once and stored on the object. If this is set to ``True``, + hashing must be either explicitly or implicitly enabled for this + class. If the hash code is cached, avoid any reassignments of + fields involved in hash code computation or mutations of the objects + those fields point to after object creation. If such changes occur, + the behavior of the object's hash code is undefined. + :param bool auto_exc: If the class subclasses `BaseException` + (which implicitly includes any subclass of any exception), the + following happens to behave like a well-behaved Python exceptions + class: + + - the values for *eq*, *order*, and *hash* are ignored and the + instances compare and hash by the instance's ids (N.B. *attrs* will + *not* remove existing implementations of ``__hash__`` or the equality + methods. It just won't add own ones.), + - all attributes that are either passed into ``__init__`` or have a + default value are additionally available as a tuple in the ``args`` + attribute, + - the value of *str* is ignored leaving ``__str__`` to base classes. + :param bool collect_by_mro: Setting this to `True` fixes the way *attrs* + collects attributes from base classes. The default behavior is + incorrect in certain cases of multiple inheritance. It should be on by + default but is kept off for backward-compatibility. + + See issue `#428 `_ for + more details. + + :param Optional[bool] getstate_setstate: + .. note:: + This is usually only interesting for slotted classes and you should + probably just set *auto_detect* to `True`. + + If `True`, ``__getstate__`` and + ``__setstate__`` are generated and attached to the class. This is + necessary for slotted classes to be pickleable. If left `None`, it's + `True` by default for slotted classes and ``False`` for dict classes. + + If *auto_detect* is `True`, and *getstate_setstate* is left `None`, + and **either** ``__getstate__`` or ``__setstate__`` is detected directly + on the class (i.e. not inherited), it is set to `False` (this is usually + what you want). + + :param on_setattr: A callable that is run whenever the user attempts to set + an attribute (either by assignment like ``i.x = 42`` or by using + `setattr` like ``setattr(i, "x", 42)``). It receives the same arguments + as validators: the instance, the attribute that is being modified, and + the new value. + + If no exception is raised, the attribute is set to the return value of + the callable. + + If a list of callables is passed, they're automatically wrapped in an + `attrs.setters.pipe`. + :type on_setattr: `callable`, or a list of callables, or `None`, or + `attrs.setters.NO_OP` + + :param Optional[callable] field_transformer: + A function that is called with the original class object and all + fields right before *attrs* finalizes the class. You can use + this, e.g., to automatically add converters or validators to + fields based on their types. See `transform-fields` for more details. + + :param bool match_args: + If `True` (default), set ``__match_args__`` on the class to support + :pep:`634` (Structural Pattern Matching). It is a tuple of all + non-keyword-only ``__init__`` parameter names on Python 3.10 and later. + Ignored on older Python versions. + + .. versionadded:: 16.0.0 *slots* + .. versionadded:: 16.1.0 *frozen* + .. versionadded:: 16.3.0 *str* + .. versionadded:: 16.3.0 Support for ``__attrs_post_init__``. + .. versionchanged:: 17.1.0 + *hash* supports ``None`` as value which is also the default now. + .. versionadded:: 17.3.0 *auto_attribs* + .. versionchanged:: 18.1.0 + If *these* is passed, no attributes are deleted from the class body. + .. versionchanged:: 18.1.0 If *these* is ordered, the order is retained. + .. versionadded:: 18.2.0 *weakref_slot* + .. deprecated:: 18.2.0 + ``__lt__``, ``__le__``, ``__gt__``, and ``__ge__`` now raise a + `DeprecationWarning` if the classes compared are subclasses of + each other. ``__eq`` and ``__ne__`` never tried to compared subclasses + to each other. + .. versionchanged:: 19.2.0 + ``__lt__``, ``__le__``, ``__gt__``, and ``__ge__`` now do not consider + subclasses comparable anymore. + .. versionadded:: 18.2.0 *kw_only* + .. versionadded:: 18.2.0 *cache_hash* + .. versionadded:: 19.1.0 *auto_exc* + .. deprecated:: 19.2.0 *cmp* Removal on or after 2021-06-01. + .. versionadded:: 19.2.0 *eq* and *order* + .. versionadded:: 20.1.0 *auto_detect* + .. versionadded:: 20.1.0 *collect_by_mro* + .. versionadded:: 20.1.0 *getstate_setstate* + .. versionadded:: 20.1.0 *on_setattr* + .. versionadded:: 20.3.0 *field_transformer* + .. versionchanged:: 21.1.0 + ``init=False`` injects ``__attrs_init__`` + .. versionchanged:: 21.1.0 Support for ``__attrs_pre_init__`` + .. versionchanged:: 21.1.0 *cmp* undeprecated + .. versionadded:: 21.3.0 *match_args* + .. versionadded:: 22.2.0 + *unsafe_hash* as an alias for *hash* (for :pep:`681` compliance). + """ + eq_, order_ = _determine_attrs_eq_order(cmp, eq, order, None) + + # unsafe_hash takes precedence due to PEP 681. + if unsafe_hash is not None: + hash = unsafe_hash + + if isinstance(on_setattr, (list, tuple)): + on_setattr = setters.pipe(*on_setattr) + + def wrap(cls): + is_frozen = frozen or _has_frozen_base_class(cls) + is_exc = auto_exc is True and issubclass(cls, BaseException) + has_own_setattr = auto_detect and _has_own_attribute( + cls, "__setattr__" + ) + + if has_own_setattr and is_frozen: + raise ValueError("Can't freeze a class with a custom __setattr__.") + + builder = _ClassBuilder( + cls, + these, + slots, + is_frozen, + weakref_slot, + _determine_whether_to_implement( + cls, + getstate_setstate, + auto_detect, + ("__getstate__", "__setstate__"), + default=slots, + ), + auto_attribs, + kw_only, + cache_hash, + is_exc, + collect_by_mro, + on_setattr, + has_own_setattr, + field_transformer, + ) + if _determine_whether_to_implement( + cls, repr, auto_detect, ("__repr__",) + ): + builder.add_repr(repr_ns) + if str is True: + builder.add_str() + + eq = _determine_whether_to_implement( + cls, eq_, auto_detect, ("__eq__", "__ne__") + ) + if not is_exc and eq is True: + builder.add_eq() + if not is_exc and _determine_whether_to_implement( + cls, order_, auto_detect, ("__lt__", "__le__", "__gt__", "__ge__") + ): + builder.add_order() + + builder.add_setattr() + + nonlocal hash + if ( + hash is None + and auto_detect is True + and _has_own_attribute(cls, "__hash__") + ): + hash = False + + if hash is not True and hash is not False and hash is not None: + # Can't use `hash in` because 1 == True for example. + raise TypeError( + "Invalid value for hash. Must be True, False, or None." + ) + elif hash is False or (hash is None and eq is False) or is_exc: + # Don't do anything. Should fall back to __object__'s __hash__ + # which is by id. + if cache_hash: + raise TypeError( + "Invalid value for cache_hash. To use hash caching," + " hashing must be either explicitly or implicitly " + "enabled." + ) + elif hash is True or ( + hash is None and eq is True and is_frozen is True + ): + # Build a __hash__ if told so, or if it's safe. + builder.add_hash() + else: + # Raise TypeError on attempts to hash. + if cache_hash: + raise TypeError( + "Invalid value for cache_hash. To use hash caching," + " hashing must be either explicitly or implicitly " + "enabled." + ) + builder.make_unhashable() + + if _determine_whether_to_implement( + cls, init, auto_detect, ("__init__",) + ): + builder.add_init() + else: + builder.add_attrs_init() + if cache_hash: + raise TypeError( + "Invalid value for cache_hash. To use hash caching," + " init must be True." + ) + + if ( + PY310 + and match_args + and not _has_own_attribute(cls, "__match_args__") + ): + builder.add_match_args() + + return builder.build_class() + + # maybe_cls's type depends on the usage of the decorator. It's a class + # if it's used as `@attrs` but ``None`` if used as `@attrs()`. + if maybe_cls is None: + return wrap + else: + return wrap(maybe_cls) + + +_attrs = attrs +""" +Internal alias so we can use it in functions that take an argument called +*attrs*. +""" + + +def _has_frozen_base_class(cls): + """ + Check whether *cls* has a frozen ancestor by looking at its + __setattr__. + """ + return cls.__setattr__ is _frozen_setattrs + + +def _generate_unique_filename(cls, func_name): + """ + Create a "filename" suitable for a function being generated. + """ + return ( + f"" + ) + + +def _make_hash(cls, attrs, frozen, cache_hash): + attrs = tuple( + a for a in attrs if a.hash is True or (a.hash is None and a.eq is True) + ) + + tab = " " + + unique_filename = _generate_unique_filename(cls, "hash") + type_hash = hash(unique_filename) + # If eq is custom generated, we need to include the functions in globs + globs = {} + + hash_def = "def __hash__(self" + hash_func = "hash((" + closing_braces = "))" + if not cache_hash: + hash_def += "):" + else: + hash_def += ", *" + + hash_def += ( + ", _cache_wrapper=" + + "__import__('attr._make')._make._CacheHashWrapper):" + ) + hash_func = "_cache_wrapper(" + hash_func + closing_braces += ")" + + method_lines = [hash_def] + + def append_hash_computation_lines(prefix, indent): + """ + Generate the code for actually computing the hash code. + Below this will either be returned directly or used to compute + a value which is then cached, depending on the value of cache_hash + """ + + method_lines.extend( + [ + indent + prefix + hash_func, + indent + f" {type_hash},", + ] + ) + + for a in attrs: + if a.eq_key: + cmp_name = f"_{a.name}_key" + globs[cmp_name] = a.eq_key + method_lines.append( + indent + f" {cmp_name}(self.{a.name})," + ) + else: + method_lines.append(indent + f" self.{a.name},") + + method_lines.append(indent + " " + closing_braces) + + if cache_hash: + method_lines.append(tab + f"if self.{_hash_cache_field} is None:") + if frozen: + append_hash_computation_lines( + f"object.__setattr__(self, '{_hash_cache_field}', ", tab * 2 + ) + method_lines.append(tab * 2 + ")") # close __setattr__ + else: + append_hash_computation_lines( + f"self.{_hash_cache_field} = ", tab * 2 + ) + method_lines.append(tab + f"return self.{_hash_cache_field}") + else: + append_hash_computation_lines("return ", tab) + + script = "\n".join(method_lines) + return _make_method("__hash__", script, unique_filename, globs) + + +def _add_hash(cls, attrs): + """ + Add a hash method to *cls*. + """ + cls.__hash__ = _make_hash(cls, attrs, frozen=False, cache_hash=False) + return cls + + +def _make_ne(): + """ + Create __ne__ method. + """ + + def __ne__(self, other): + """ + Check equality and either forward a NotImplemented or + return the result negated. + """ + result = self.__eq__(other) + if result is NotImplemented: + return NotImplemented + + return not result + + return __ne__ + + +def _make_eq(cls, attrs): + """ + Create __eq__ method for *cls* with *attrs*. + """ + attrs = [a for a in attrs if a.eq] + + unique_filename = _generate_unique_filename(cls, "eq") + lines = [ + "def __eq__(self, other):", + " if other.__class__ is not self.__class__:", + " return NotImplemented", + ] + + # We can't just do a big self.x = other.x and... clause due to + # irregularities like nan == nan is false but (nan,) == (nan,) is true. + globs = {} + if attrs: + lines.append(" return (") + others = [" ) == ("] + for a in attrs: + if a.eq_key: + cmp_name = f"_{a.name}_key" + # Add the key function to the global namespace + # of the evaluated function. + globs[cmp_name] = a.eq_key + lines.append(f" {cmp_name}(self.{a.name}),") + others.append(f" {cmp_name}(other.{a.name}),") + else: + lines.append(f" self.{a.name},") + others.append(f" other.{a.name},") + + lines += others + [" )"] + else: + lines.append(" return True") + + script = "\n".join(lines) + + return _make_method("__eq__", script, unique_filename, globs) + + +def _make_order(cls, attrs): + """ + Create ordering methods for *cls* with *attrs*. + """ + attrs = [a for a in attrs if a.order] + + def attrs_to_tuple(obj): + """ + Save us some typing. + """ + return tuple( + key(value) if key else value + for value, key in ( + (getattr(obj, a.name), a.order_key) for a in attrs + ) + ) + + def __lt__(self, other): + """ + Automatically created by attrs. + """ + if other.__class__ is self.__class__: + return attrs_to_tuple(self) < attrs_to_tuple(other) + + return NotImplemented + + def __le__(self, other): + """ + Automatically created by attrs. + """ + if other.__class__ is self.__class__: + return attrs_to_tuple(self) <= attrs_to_tuple(other) + + return NotImplemented + + def __gt__(self, other): + """ + Automatically created by attrs. + """ + if other.__class__ is self.__class__: + return attrs_to_tuple(self) > attrs_to_tuple(other) + + return NotImplemented + + def __ge__(self, other): + """ + Automatically created by attrs. + """ + if other.__class__ is self.__class__: + return attrs_to_tuple(self) >= attrs_to_tuple(other) + + return NotImplemented + + return __lt__, __le__, __gt__, __ge__ + + +def _add_eq(cls, attrs=None): + """ + Add equality methods to *cls* with *attrs*. + """ + if attrs is None: + attrs = cls.__attrs_attrs__ + + cls.__eq__ = _make_eq(cls, attrs) + cls.__ne__ = _make_ne() + + return cls + + +def _make_repr(attrs, ns, cls): + unique_filename = _generate_unique_filename(cls, "repr") + # Figure out which attributes to include, and which function to use to + # format them. The a.repr value can be either bool or a custom + # callable. + attr_names_with_reprs = tuple( + (a.name, (repr if a.repr is True else a.repr), a.init) + for a in attrs + if a.repr is not False + ) + globs = { + name + "_repr": r for name, r, _ in attr_names_with_reprs if r != repr + } + globs["_compat"] = _compat + globs["AttributeError"] = AttributeError + globs["NOTHING"] = NOTHING + attribute_fragments = [] + for name, r, i in attr_names_with_reprs: + accessor = ( + "self." + name if i else 'getattr(self, "' + name + '", NOTHING)' + ) + fragment = ( + "%s={%s!r}" % (name, accessor) + if r == repr + else "%s={%s_repr(%s)}" % (name, name, accessor) + ) + attribute_fragments.append(fragment) + repr_fragment = ", ".join(attribute_fragments) + + if ns is None: + cls_name_fragment = '{self.__class__.__qualname__.rsplit(">.", 1)[-1]}' + else: + cls_name_fragment = ns + ".{self.__class__.__name__}" + + lines = [ + "def __repr__(self):", + " try:", + " already_repring = _compat.repr_context.already_repring", + " except AttributeError:", + " already_repring = {id(self),}", + " _compat.repr_context.already_repring = already_repring", + " else:", + " if id(self) in already_repring:", + " return '...'", + " else:", + " already_repring.add(id(self))", + " try:", + f" return f'{cls_name_fragment}({repr_fragment})'", + " finally:", + " already_repring.remove(id(self))", + ] + + return _make_method( + "__repr__", "\n".join(lines), unique_filename, globs=globs + ) + + +def _add_repr(cls, ns=None, attrs=None): + """ + Add a repr method to *cls*. + """ + if attrs is None: + attrs = cls.__attrs_attrs__ + + cls.__repr__ = _make_repr(attrs, ns, cls) + return cls + + +def fields(cls): + """ + Return the tuple of *attrs* attributes for a class. + + The tuple also allows accessing the fields by their names (see below for + examples). + + :param type cls: Class to introspect. + + :raise TypeError: If *cls* is not a class. + :raise attrs.exceptions.NotAnAttrsClassError: If *cls* is not an *attrs* + class. + + :rtype: tuple (with name accessors) of `attrs.Attribute` + + .. versionchanged:: 16.2.0 Returned tuple allows accessing the fields + by name. + .. versionchanged:: 23.1.0 Add support for generic classes. + """ + generic_base = get_generic_base(cls) + + if generic_base is None and not isinstance(cls, type): + raise TypeError("Passed object must be a class.") + + attrs = getattr(cls, "__attrs_attrs__", None) + + if attrs is None: + if generic_base is not None: + attrs = getattr(generic_base, "__attrs_attrs__", None) + if attrs is not None: + # Even though this is global state, stick it on here to speed + # it up. We rely on `cls` being cached for this to be + # efficient. + cls.__attrs_attrs__ = attrs + return attrs + raise NotAnAttrsClassError(f"{cls!r} is not an attrs-decorated class.") + + return attrs + + +def fields_dict(cls): + """ + Return an ordered dictionary of *attrs* attributes for a class, whose + keys are the attribute names. + + :param type cls: Class to introspect. + + :raise TypeError: If *cls* is not a class. + :raise attrs.exceptions.NotAnAttrsClassError: If *cls* is not an *attrs* + class. + + :rtype: dict + + .. versionadded:: 18.1.0 + """ + if not isinstance(cls, type): + raise TypeError("Passed object must be a class.") + attrs = getattr(cls, "__attrs_attrs__", None) + if attrs is None: + raise NotAnAttrsClassError(f"{cls!r} is not an attrs-decorated class.") + return {a.name: a for a in attrs} + + +def validate(inst): + """ + Validate all attributes on *inst* that have a validator. + + Leaves all exceptions through. + + :param inst: Instance of a class with *attrs* attributes. + """ + if _config._run_validators is False: + return + + for a in fields(inst.__class__): + v = a.validator + if v is not None: + v(inst, a, getattr(inst, a.name)) + + +def _is_slot_cls(cls): + return "__slots__" in cls.__dict__ + + +def _is_slot_attr(a_name, base_attr_map): + """ + Check if the attribute name comes from a slot class. + """ + return a_name in base_attr_map and _is_slot_cls(base_attr_map[a_name]) + + +def _make_init( + cls, + attrs, + pre_init, + post_init, + frozen, + slots, + cache_hash, + base_attr_map, + is_exc, + cls_on_setattr, + attrs_init, +): + has_cls_on_setattr = ( + cls_on_setattr is not None and cls_on_setattr is not setters.NO_OP + ) + + if frozen and has_cls_on_setattr: + raise ValueError("Frozen classes can't use on_setattr.") + + needs_cached_setattr = cache_hash or frozen + filtered_attrs = [] + attr_dict = {} + for a in attrs: + if not a.init and a.default is NOTHING: + continue + + filtered_attrs.append(a) + attr_dict[a.name] = a + + if a.on_setattr is not None: + if frozen is True: + raise ValueError("Frozen classes can't use on_setattr.") + + needs_cached_setattr = True + elif has_cls_on_setattr and a.on_setattr is not setters.NO_OP: + needs_cached_setattr = True + + unique_filename = _generate_unique_filename(cls, "init") + + script, globs, annotations = _attrs_to_init_script( + filtered_attrs, + frozen, + slots, + pre_init, + post_init, + cache_hash, + base_attr_map, + is_exc, + needs_cached_setattr, + has_cls_on_setattr, + attrs_init, + ) + if cls.__module__ in sys.modules: + # This makes typing.get_type_hints(CLS.__init__) resolve string types. + globs.update(sys.modules[cls.__module__].__dict__) + + globs.update({"NOTHING": NOTHING, "attr_dict": attr_dict}) + + if needs_cached_setattr: + # Save the lookup overhead in __init__ if we need to circumvent + # setattr hooks. + globs["_cached_setattr_get"] = _obj_setattr.__get__ + + init = _make_method( + "__attrs_init__" if attrs_init else "__init__", + script, + unique_filename, + globs, + ) + init.__annotations__ = annotations + + return init + + +def _setattr(attr_name, value_var, has_on_setattr): + """ + Use the cached object.setattr to set *attr_name* to *value_var*. + """ + return f"_setattr('{attr_name}', {value_var})" + + +def _setattr_with_converter(attr_name, value_var, has_on_setattr): + """ + Use the cached object.setattr to set *attr_name* to *value_var*, but run + its converter first. + """ + return "_setattr('%s', %s(%s))" % ( + attr_name, + _init_converter_pat % (attr_name,), + value_var, + ) + + +def _assign(attr_name, value, has_on_setattr): + """ + Unless *attr_name* has an on_setattr hook, use normal assignment. Otherwise + relegate to _setattr. + """ + if has_on_setattr: + return _setattr(attr_name, value, True) + + return f"self.{attr_name} = {value}" + + +def _assign_with_converter(attr_name, value_var, has_on_setattr): + """ + Unless *attr_name* has an on_setattr hook, use normal assignment after + conversion. Otherwise relegate to _setattr_with_converter. + """ + if has_on_setattr: + return _setattr_with_converter(attr_name, value_var, True) + + return "self.%s = %s(%s)" % ( + attr_name, + _init_converter_pat % (attr_name,), + value_var, + ) + + +def _attrs_to_init_script( + attrs, + frozen, + slots, + pre_init, + post_init, + cache_hash, + base_attr_map, + is_exc, + needs_cached_setattr, + has_cls_on_setattr, + attrs_init, +): + """ + Return a script of an initializer for *attrs* and a dict of globals. + + The globals are expected by the generated script. + + If *frozen* is True, we cannot set the attributes directly so we use + a cached ``object.__setattr__``. + """ + lines = [] + if pre_init: + lines.append("self.__attrs_pre_init__()") + + if needs_cached_setattr: + lines.append( + # Circumvent the __setattr__ descriptor to save one lookup per + # assignment. + # Note _setattr will be used again below if cache_hash is True + "_setattr = _cached_setattr_get(self)" + ) + + if frozen is True: + if slots is True: + fmt_setter = _setattr + fmt_setter_with_converter = _setattr_with_converter + else: + # Dict frozen classes assign directly to __dict__. + # But only if the attribute doesn't come from an ancestor slot + # class. + # Note _inst_dict will be used again below if cache_hash is True + lines.append("_inst_dict = self.__dict__") + + def fmt_setter(attr_name, value_var, has_on_setattr): + if _is_slot_attr(attr_name, base_attr_map): + return _setattr(attr_name, value_var, has_on_setattr) + + return f"_inst_dict['{attr_name}'] = {value_var}" + + def fmt_setter_with_converter( + attr_name, value_var, has_on_setattr + ): + if has_on_setattr or _is_slot_attr(attr_name, base_attr_map): + return _setattr_with_converter( + attr_name, value_var, has_on_setattr + ) + + return "_inst_dict['%s'] = %s(%s)" % ( + attr_name, + _init_converter_pat % (attr_name,), + value_var, + ) + + else: + # Not frozen. + fmt_setter = _assign + fmt_setter_with_converter = _assign_with_converter + + args = [] + kw_only_args = [] + attrs_to_validate = [] + + # This is a dictionary of names to validator and converter callables. + # Injecting this into __init__ globals lets us avoid lookups. + names_for_globals = {} + annotations = {"return": None} + + for a in attrs: + if a.validator: + attrs_to_validate.append(a) + + attr_name = a.name + has_on_setattr = a.on_setattr is not None or ( + a.on_setattr is not setters.NO_OP and has_cls_on_setattr + ) + # a.alias is set to maybe-mangled attr_name in _ClassBuilder if not + # explicitly provided + arg_name = a.alias + + has_factory = isinstance(a.default, Factory) + if has_factory and a.default.takes_self: + maybe_self = "self" + else: + maybe_self = "" + + if a.init is False: + if has_factory: + init_factory_name = _init_factory_pat % (a.name,) + if a.converter is not None: + lines.append( + fmt_setter_with_converter( + attr_name, + init_factory_name + f"({maybe_self})", + has_on_setattr, + ) + ) + conv_name = _init_converter_pat % (a.name,) + names_for_globals[conv_name] = a.converter + else: + lines.append( + fmt_setter( + attr_name, + init_factory_name + f"({maybe_self})", + has_on_setattr, + ) + ) + names_for_globals[init_factory_name] = a.default.factory + else: + if a.converter is not None: + lines.append( + fmt_setter_with_converter( + attr_name, + f"attr_dict['{attr_name}'].default", + has_on_setattr, + ) + ) + conv_name = _init_converter_pat % (a.name,) + names_for_globals[conv_name] = a.converter + else: + lines.append( + fmt_setter( + attr_name, + f"attr_dict['{attr_name}'].default", + has_on_setattr, + ) + ) + elif a.default is not NOTHING and not has_factory: + arg = f"{arg_name}=attr_dict['{attr_name}'].default" + if a.kw_only: + kw_only_args.append(arg) + else: + args.append(arg) + + if a.converter is not None: + lines.append( + fmt_setter_with_converter( + attr_name, arg_name, has_on_setattr + ) + ) + names_for_globals[ + _init_converter_pat % (a.name,) + ] = a.converter + else: + lines.append(fmt_setter(attr_name, arg_name, has_on_setattr)) + + elif has_factory: + arg = f"{arg_name}=NOTHING" + if a.kw_only: + kw_only_args.append(arg) + else: + args.append(arg) + lines.append(f"if {arg_name} is not NOTHING:") + + init_factory_name = _init_factory_pat % (a.name,) + if a.converter is not None: + lines.append( + " " + + fmt_setter_with_converter( + attr_name, arg_name, has_on_setattr + ) + ) + lines.append("else:") + lines.append( + " " + + fmt_setter_with_converter( + attr_name, + init_factory_name + "(" + maybe_self + ")", + has_on_setattr, + ) + ) + names_for_globals[ + _init_converter_pat % (a.name,) + ] = a.converter + else: + lines.append( + " " + fmt_setter(attr_name, arg_name, has_on_setattr) + ) + lines.append("else:") + lines.append( + " " + + fmt_setter( + attr_name, + init_factory_name + "(" + maybe_self + ")", + has_on_setattr, + ) + ) + names_for_globals[init_factory_name] = a.default.factory + else: + if a.kw_only: + kw_only_args.append(arg_name) + else: + args.append(arg_name) + + if a.converter is not None: + lines.append( + fmt_setter_with_converter( + attr_name, arg_name, has_on_setattr + ) + ) + names_for_globals[ + _init_converter_pat % (a.name,) + ] = a.converter + else: + lines.append(fmt_setter(attr_name, arg_name, has_on_setattr)) + + if a.init is True: + if a.type is not None and a.converter is None: + annotations[arg_name] = a.type + elif a.converter is not None: + # Try to get the type from the converter. + t = _AnnotationExtractor(a.converter).get_first_param_type() + if t: + annotations[arg_name] = t + + if attrs_to_validate: # we can skip this if there are no validators. + names_for_globals["_config"] = _config + lines.append("if _config._run_validators is True:") + for a in attrs_to_validate: + val_name = "__attr_validator_" + a.name + attr_name = "__attr_" + a.name + lines.append(f" {val_name}(self, {attr_name}, self.{a.name})") + names_for_globals[val_name] = a.validator + names_for_globals[attr_name] = a + + if post_init: + lines.append("self.__attrs_post_init__()") + + # because this is set only after __attrs_post_init__ is called, a crash + # will result if post-init tries to access the hash code. This seemed + # preferable to setting this beforehand, in which case alteration to + # field values during post-init combined with post-init accessing the + # hash code would result in silent bugs. + if cache_hash: + if frozen: + if slots: + # if frozen and slots, then _setattr defined above + init_hash_cache = "_setattr('%s', %s)" + else: + # if frozen and not slots, then _inst_dict defined above + init_hash_cache = "_inst_dict['%s'] = %s" + else: + init_hash_cache = "self.%s = %s" + lines.append(init_hash_cache % (_hash_cache_field, "None")) + + # For exceptions we rely on BaseException.__init__ for proper + # initialization. + if is_exc: + vals = ",".join(f"self.{a.name}" for a in attrs if a.init) + + lines.append(f"BaseException.__init__(self, {vals})") + + args = ", ".join(args) + if kw_only_args: + args += "%s*, %s" % ( + ", " if args else "", # leading comma + ", ".join(kw_only_args), # kw_only args + ) + + return ( + "def %s(self, %s):\n %s\n" + % ( + ("__attrs_init__" if attrs_init else "__init__"), + args, + "\n ".join(lines) if lines else "pass", + ), + names_for_globals, + annotations, + ) + + +def _default_init_alias_for(name: str) -> str: + """ + The default __init__ parameter name for a field. + + This performs private-name adjustment via leading-unscore stripping, + and is the default value of Attribute.alias if not provided. + """ + + return name.lstrip("_") + + +class Attribute: + """ + *Read-only* representation of an attribute. + + .. warning:: + + You should never instantiate this class yourself. + + The class has *all* arguments of `attr.ib` (except for ``factory`` + which is only syntactic sugar for ``default=Factory(...)`` plus the + following: + + - ``name`` (`str`): The name of the attribute. + - ``alias`` (`str`): The __init__ parameter name of the attribute, after + any explicit overrides and default private-attribute-name handling. + - ``inherited`` (`bool`): Whether or not that attribute has been inherited + from a base class. + - ``eq_key`` and ``order_key`` (`typing.Callable` or `None`): The callables + that are used for comparing and ordering objects by this attribute, + respectively. These are set by passing a callable to `attr.ib`'s ``eq``, + ``order``, or ``cmp`` arguments. See also :ref:`comparison customization + `. + + Instances of this class are frequently used for introspection purposes + like: + + - `fields` returns a tuple of them. + - Validators get them passed as the first argument. + - The :ref:`field transformer ` hook receives a list of + them. + - The ``alias`` property exposes the __init__ parameter name of the field, + with any overrides and default private-attribute handling applied. + + + .. versionadded:: 20.1.0 *inherited* + .. versionadded:: 20.1.0 *on_setattr* + .. versionchanged:: 20.2.0 *inherited* is not taken into account for + equality checks and hashing anymore. + .. versionadded:: 21.1.0 *eq_key* and *order_key* + .. versionadded:: 22.2.0 *alias* + + For the full version history of the fields, see `attr.ib`. + """ + + __slots__ = ( + "name", + "default", + "validator", + "repr", + "eq", + "eq_key", + "order", + "order_key", + "hash", + "init", + "metadata", + "type", + "converter", + "kw_only", + "inherited", + "on_setattr", + "alias", + ) + + def __init__( + self, + name, + default, + validator, + repr, + cmp, # XXX: unused, remove along with other cmp code. + hash, + init, + inherited, + metadata=None, + type=None, + converter=None, + kw_only=False, + eq=None, + eq_key=None, + order=None, + order_key=None, + on_setattr=None, + alias=None, + ): + eq, eq_key, order, order_key = _determine_attrib_eq_order( + cmp, eq_key or eq, order_key or order, True + ) + + # Cache this descriptor here to speed things up later. + bound_setattr = _obj_setattr.__get__(self) + + # Despite the big red warning, people *do* instantiate `Attribute` + # themselves. + bound_setattr("name", name) + bound_setattr("default", default) + bound_setattr("validator", validator) + bound_setattr("repr", repr) + bound_setattr("eq", eq) + bound_setattr("eq_key", eq_key) + bound_setattr("order", order) + bound_setattr("order_key", order_key) + bound_setattr("hash", hash) + bound_setattr("init", init) + bound_setattr("converter", converter) + bound_setattr( + "metadata", + ( + types.MappingProxyType(dict(metadata)) # Shallow copy + if metadata + else _empty_metadata_singleton + ), + ) + bound_setattr("type", type) + bound_setattr("kw_only", kw_only) + bound_setattr("inherited", inherited) + bound_setattr("on_setattr", on_setattr) + bound_setattr("alias", alias) + + def __setattr__(self, name, value): + raise FrozenInstanceError() + + @classmethod + def from_counting_attr(cls, name, ca, type=None): + # type holds the annotated value. deal with conflicts: + if type is None: + type = ca.type + elif ca.type is not None: + raise ValueError( + "Type annotation and type argument cannot both be present" + ) + inst_dict = { + k: getattr(ca, k) + for k in Attribute.__slots__ + if k + not in ( + "name", + "validator", + "default", + "type", + "inherited", + ) # exclude methods and deprecated alias + } + return cls( + name=name, + validator=ca._validator, + default=ca._default, + type=type, + cmp=None, + inherited=False, + **inst_dict, + ) + + # Don't use attrs.evolve since fields(Attribute) doesn't work + def evolve(self, **changes): + """ + Copy *self* and apply *changes*. + + This works similarly to `attrs.evolve` but that function does not work + with `Attribute`. + + It is mainly meant to be used for `transform-fields`. + + .. versionadded:: 20.3.0 + """ + new = copy.copy(self) + + new._setattrs(changes.items()) + + return new + + # Don't use _add_pickle since fields(Attribute) doesn't work + def __getstate__(self): + """ + Play nice with pickle. + """ + return tuple( + getattr(self, name) if name != "metadata" else dict(self.metadata) + for name in self.__slots__ + ) + + def __setstate__(self, state): + """ + Play nice with pickle. + """ + self._setattrs(zip(self.__slots__, state)) + + def _setattrs(self, name_values_pairs): + bound_setattr = _obj_setattr.__get__(self) + for name, value in name_values_pairs: + if name != "metadata": + bound_setattr(name, value) + else: + bound_setattr( + name, + types.MappingProxyType(dict(value)) + if value + else _empty_metadata_singleton, + ) + + +_a = [ + Attribute( + name=name, + default=NOTHING, + validator=None, + repr=True, + cmp=None, + eq=True, + order=False, + hash=(name != "metadata"), + init=True, + inherited=False, + alias=_default_init_alias_for(name), + ) + for name in Attribute.__slots__ +] + +Attribute = _add_hash( + _add_eq( + _add_repr(Attribute, attrs=_a), + attrs=[a for a in _a if a.name != "inherited"], + ), + attrs=[a for a in _a if a.hash and a.name != "inherited"], +) + + +class _CountingAttr: + """ + Intermediate representation of attributes that uses a counter to preserve + the order in which the attributes have been defined. + + *Internal* data structure of the attrs library. Running into is most + likely the result of a bug like a forgotten `@attr.s` decorator. + """ + + __slots__ = ( + "counter", + "_default", + "repr", + "eq", + "eq_key", + "order", + "order_key", + "hash", + "init", + "metadata", + "_validator", + "converter", + "type", + "kw_only", + "on_setattr", + "alias", + ) + __attrs_attrs__ = tuple( + Attribute( + name=name, + alias=_default_init_alias_for(name), + default=NOTHING, + validator=None, + repr=True, + cmp=None, + hash=True, + init=True, + kw_only=False, + eq=True, + eq_key=None, + order=False, + order_key=None, + inherited=False, + on_setattr=None, + ) + for name in ( + "counter", + "_default", + "repr", + "eq", + "order", + "hash", + "init", + "on_setattr", + "alias", + ) + ) + ( + Attribute( + name="metadata", + alias="metadata", + default=None, + validator=None, + repr=True, + cmp=None, + hash=False, + init=True, + kw_only=False, + eq=True, + eq_key=None, + order=False, + order_key=None, + inherited=False, + on_setattr=None, + ), + ) + cls_counter = 0 + + def __init__( + self, + default, + validator, + repr, + cmp, + hash, + init, + converter, + metadata, + type, + kw_only, + eq, + eq_key, + order, + order_key, + on_setattr, + alias, + ): + _CountingAttr.cls_counter += 1 + self.counter = _CountingAttr.cls_counter + self._default = default + self._validator = validator + self.converter = converter + self.repr = repr + self.eq = eq + self.eq_key = eq_key + self.order = order + self.order_key = order_key + self.hash = hash + self.init = init + self.metadata = metadata + self.type = type + self.kw_only = kw_only + self.on_setattr = on_setattr + self.alias = alias + + def validator(self, meth): + """ + Decorator that adds *meth* to the list of validators. + + Returns *meth* unchanged. + + .. versionadded:: 17.1.0 + """ + if self._validator is None: + self._validator = meth + else: + self._validator = and_(self._validator, meth) + return meth + + def default(self, meth): + """ + Decorator that allows to set the default for an attribute. + + Returns *meth* unchanged. + + :raises DefaultAlreadySetError: If default has been set before. + + .. versionadded:: 17.1.0 + """ + if self._default is not NOTHING: + raise DefaultAlreadySetError() + + self._default = Factory(meth, takes_self=True) + + return meth + + +_CountingAttr = _add_eq(_add_repr(_CountingAttr)) + + +class Factory: + """ + Stores a factory callable. + + If passed as the default value to `attrs.field`, the factory is used to + generate a new value. + + :param callable factory: A callable that takes either none or exactly one + mandatory positional argument depending on *takes_self*. + :param bool takes_self: Pass the partially initialized instance that is + being initialized as a positional argument. + + .. versionadded:: 17.1.0 *takes_self* + """ + + __slots__ = ("factory", "takes_self") + + def __init__(self, factory, takes_self=False): + self.factory = factory + self.takes_self = takes_self + + def __getstate__(self): + """ + Play nice with pickle. + """ + return tuple(getattr(self, name) for name in self.__slots__) + + def __setstate__(self, state): + """ + Play nice with pickle. + """ + for name, value in zip(self.__slots__, state): + setattr(self, name, value) + + +_f = [ + Attribute( + name=name, + default=NOTHING, + validator=None, + repr=True, + cmp=None, + eq=True, + order=False, + hash=True, + init=True, + inherited=False, + ) + for name in Factory.__slots__ +] + +Factory = _add_hash(_add_eq(_add_repr(Factory, attrs=_f), attrs=_f), attrs=_f) + + +def make_class(name, attrs, bases=(object,), **attributes_arguments): + r""" + A quick way to create a new class called *name* with *attrs*. + + :param str name: The name for the new class. + + :param attrs: A list of names or a dictionary of mappings of names to + `attr.ib`\ s / `attrs.field`\ s. + + The order is deduced from the order of the names or attributes inside + *attrs*. Otherwise the order of the definition of the attributes is + used. + :type attrs: `list` or `dict` + + :param tuple bases: Classes that the new class will subclass. + + :param attributes_arguments: Passed unmodified to `attr.s`. + + :return: A new class with *attrs*. + :rtype: type + + .. versionadded:: 17.1.0 *bases* + .. versionchanged:: 18.1.0 If *attrs* is ordered, the order is retained. + """ + if isinstance(attrs, dict): + cls_dict = attrs + elif isinstance(attrs, (list, tuple)): + cls_dict = {a: attrib() for a in attrs} + else: + raise TypeError("attrs argument must be a dict or a list.") + + pre_init = cls_dict.pop("__attrs_pre_init__", None) + post_init = cls_dict.pop("__attrs_post_init__", None) + user_init = cls_dict.pop("__init__", None) + + body = {} + if pre_init is not None: + body["__attrs_pre_init__"] = pre_init + if post_init is not None: + body["__attrs_post_init__"] = post_init + if user_init is not None: + body["__init__"] = user_init + + type_ = types.new_class(name, bases, {}, lambda ns: ns.update(body)) + + # For pickling to work, the __module__ variable needs to be set to the + # frame where the class is created. Bypass this step in environments where + # sys._getframe is not defined (Jython for example) or sys._getframe is not + # defined for arguments greater than 0 (IronPython). + try: + type_.__module__ = sys._getframe(1).f_globals.get( + "__name__", "__main__" + ) + except (AttributeError, ValueError): + pass + + # We do it here for proper warnings with meaningful stacklevel. + cmp = attributes_arguments.pop("cmp", None) + ( + attributes_arguments["eq"], + attributes_arguments["order"], + ) = _determine_attrs_eq_order( + cmp, + attributes_arguments.get("eq"), + attributes_arguments.get("order"), + True, + ) + + return _attrs(these=cls_dict, **attributes_arguments)(type_) + + +# These are required by within this module so we define them here and merely +# import into .validators / .converters. + + +@attrs(slots=True, hash=True) +class _AndValidator: + """ + Compose many validators to a single one. + """ + + _validators = attrib() + + def __call__(self, inst, attr, value): + for v in self._validators: + v(inst, attr, value) + + +def and_(*validators): + """ + A validator that composes multiple validators into one. + + When called on a value, it runs all wrapped validators. + + :param callables validators: Arbitrary number of validators. + + .. versionadded:: 17.1.0 + """ + vals = [] + for validator in validators: + vals.extend( + validator._validators + if isinstance(validator, _AndValidator) + else [validator] + ) + + return _AndValidator(tuple(vals)) + + +def pipe(*converters): + """ + A converter that composes multiple converters into one. + + When called on a value, it runs all wrapped converters, returning the + *last* value. + + Type annotations will be inferred from the wrapped converters', if + they have any. + + :param callables converters: Arbitrary number of converters. + + .. versionadded:: 20.1.0 + """ + + def pipe_converter(val): + for converter in converters: + val = converter(val) + + return val + + if not converters: + # If the converter list is empty, pipe_converter is the identity. + A = typing.TypeVar("A") + pipe_converter.__annotations__ = {"val": A, "return": A} + else: + # Get parameter type from first converter. + t = _AnnotationExtractor(converters[0]).get_first_param_type() + if t: + pipe_converter.__annotations__["val"] = t + + # Get return type from last converter. + rt = _AnnotationExtractor(converters[-1]).get_return_type() + if rt: + pipe_converter.__annotations__["return"] = rt + + return pipe_converter diff --git a/shared/package-files/24/248d157663cdd82a9cfe13435240e5f5c54fde5e78a5d34262fecd8f26bb9520/function.h b/shared/package-files/24/248d157663cdd82a9cfe13435240e5f5c54fde5e78a5d34262fecd8f26bb9520/function.h new file mode 100644 index 0000000000000000000000000000000000000000..fb6f77fa64d766c9bb90a7a723df7a4640e377af --- /dev/null +++ b/shared/package-files/24/248d157663cdd82a9cfe13435240e5f5c54fde5e78a5d34262fecd8f26bb9520/function.h @@ -0,0 +1,86 @@ +#pragma once + +#include + +#include +#include +#include +#include + +namespace torch { +namespace jit { +enum OpCode : uint8_t; +struct Instruction; +struct OperatorString; + +namespace mobile { + +class TORCH_API Function : public torch::jit::Function { + public: + explicit Function(c10::QualifiedName name); + Function( + c10::QualifiedName name, + Code code, + at::optional schema); + void run(Stack& stack) override; + at::IValue operator()(Stack& stack); + void ensure_defined() override {} + size_t num_inputs() const override; + const c10::QualifiedName& qualname() const override; + bool call(Stack&, c10::function_ref) override; + + // NOTE: the APIs below is dangerous: if you call append_instruction with + // dbg_handle and then call it without; then the dbg_handle will become + // misaligned. Therefore only use ONE variant at time. + void append_instruction(OpCode op, int X, int N, int64_t dbg_handle); + void append_instruction(OpCode op, int X, int N); + void append_operator( + const std::string& name, + const std::string& overload_name, + const c10::optional& num_specified_args); + void append_constant(const c10::IValue& constant); + void append_type(const c10::TypePtr& type); + void append_function(mobile::Function& func); + + void set_register_size(size_t size); + + int64_t get_debug_handle(size_t pc) const; + const Code& get_code() const; + Code& get_code(); + + torch::jit::Function& setSchema(c10::FunctionSchema schema) override; + bool hasSchema() const; + const c10::FunctionSchema& getSchema() const override; + + // Returns the debug handle corresponding to where the execution + // is halted due to exception. + // If no corresponding debug handle is found then -1 is returned. + const std::vector& getExceptionDebugHandles() const; + static Function& registerFunc( + const std::string& qualified_name, + const std::vector& instructions, + const std::vector& constants, + const std::vector& types, + const size_t register_size); + + // if not initialize, initialize by loading operators. + // return true of all op loaded, return false if some op is not found + // in the current runtime. Then, the ops that did not found will be filled + // in unsupported_op_names + bool initialize_operators(bool should_check_operators); + + private: + c10::QualifiedName name_; + Code code_; + at::optional schema_; // (byte-code version 4+) +}; + +c10::optional> makeOperatorFunction( + c10::OperatorName opname, + c10::optional num_specified_args); + +TORCH_API std::string operator_str(const c10::OperatorName& opname); + +} // namespace mobile +} // namespace jit +} // namespace torch diff --git a/shared/package-files/24/24925b6dcf9f31d3e391b43b9e0f411cbe62f755530c74154ed11d58ebd60402/_animation_data.py b/shared/package-files/24/24925b6dcf9f31d3e391b43b9e0f411cbe62f755530c74154ed11d58ebd60402/_animation_data.py new file mode 100644 index 0000000000000000000000000000000000000000..8cbd312d8f142d8b4ec3a3ad3e005a14f380ec13 --- /dev/null +++ b/shared/package-files/24/24925b6dcf9f31d3e391b43b9e0f411cbe62f755530c74154ed11d58ebd60402/_animation_data.py @@ -0,0 +1,262 @@ +# JavaScript template for HTMLWriter +JS_INCLUDE = """ + + +""" + + +# Style definitions for the HTML template +STYLE_INCLUDE = """ + +""" + + +# HTML template for HTMLWriter +DISPLAY_TEMPLATE = """ +
+ +
+ +
+ + + + + + + + + +
+
+ + + + + + +
+
+
+ + + +""" # noqa: E501 + + +INCLUDED_FRAMES = """ + for (var i=0; i<{Nframes}; i++){{ + frames[i] = "{frame_dir}/frame" + ("0000000" + i).slice(-7) + + ".{frame_format}"; + }} +""" diff --git a/shared/package-files/24/2498da870fb9ad2bf235c2a9cf466d3358e5d3b8ef2c00790fdcddcdca8c5d4e/test_bicluster.py b/shared/package-files/24/2498da870fb9ad2bf235c2a9cf466d3358e5d3b8ef2c00790fdcddcdca8c5d4e/test_bicluster.py new file mode 100644 index 0000000000000000000000000000000000000000..ebc845a7bf262c60cf9f039e5ce021d841bdf4d4 --- /dev/null +++ b/shared/package-files/24/2498da870fb9ad2bf235c2a9cf466d3358e5d3b8ef2c00790fdcddcdca8c5d4e/test_bicluster.py @@ -0,0 +1,264 @@ +"""Testing for Spectral Biclustering methods""" + +import numpy as np +import pytest +from scipy.sparse import issparse + +from sklearn.base import BaseEstimator, BiclusterMixin +from sklearn.cluster import SpectralBiclustering, SpectralCoclustering +from sklearn.cluster._bicluster import ( + _bistochastic_normalize, + _log_normalize, + _scale_normalize, +) +from sklearn.datasets import make_biclusters, make_checkerboard +from sklearn.metrics import consensus_score, v_measure_score +from sklearn.model_selection import ParameterGrid +from sklearn.utils._testing import ( + assert_almost_equal, + assert_array_almost_equal, + assert_array_equal, +) +from sklearn.utils.fixes import CSR_CONTAINERS + + +class MockBiclustering(BiclusterMixin, BaseEstimator): + # Mock object for testing get_submatrix. + def __init__(self): + pass + + def get_indices(self, i): + # Overridden to reproduce old get_submatrix test. + return ( + np.where([True, True, False, False, True])[0], + np.where([False, False, True, True])[0], + ) + + +@pytest.mark.parametrize("csr_container", CSR_CONTAINERS) +def test_get_submatrix(csr_container): + data = np.arange(20).reshape(5, 4) + model = MockBiclustering() + + for X in (data, csr_container(data), data.tolist()): + submatrix = model.get_submatrix(0, X) + if issparse(submatrix): + submatrix = submatrix.toarray() + assert_array_equal(submatrix, [[2, 3], [6, 7], [18, 19]]) + submatrix[:] = -1 + if issparse(X): + X = X.toarray() + assert np.all(X != -1) + + +def _test_shape_indices(model): + # Test get_shape and get_indices on fitted model. + for i in range(model.n_clusters): + m, n = model.get_shape(i) + i_ind, j_ind = model.get_indices(i) + assert len(i_ind) == m + assert len(j_ind) == n + + +@pytest.mark.parametrize("csr_container", CSR_CONTAINERS) +def test_spectral_coclustering(global_random_seed, csr_container): + # Test Dhillon's Spectral CoClustering on a simple problem. + param_grid = { + "svd_method": ["randomized", "arpack"], + "n_svd_vecs": [None, 20], + "mini_batch": [False, True], + "init": ["k-means++"], + "n_init": [10], + } + S, rows, cols = make_biclusters( + (30, 30), 3, noise=0.1, random_state=global_random_seed + ) + S -= S.min() # needs to be nonnegative before making it sparse + S = np.where(S < 1, 0, S) # threshold some values + for mat in (S, csr_container(S)): + for kwargs in ParameterGrid(param_grid): + model = SpectralCoclustering( + n_clusters=3, random_state=global_random_seed, **kwargs + ) + model.fit(mat) + + assert model.rows_.shape == (3, 30) + assert_array_equal(model.rows_.sum(axis=0), np.ones(30)) + assert_array_equal(model.columns_.sum(axis=0), np.ones(30)) + assert consensus_score(model.biclusters_, (rows, cols)) == 1 + + _test_shape_indices(model) + + +@pytest.mark.parametrize("csr_container", CSR_CONTAINERS) +def test_spectral_biclustering(global_random_seed, csr_container): + # Test Kluger methods on a checkerboard dataset. + S, rows, cols = make_checkerboard( + (30, 30), 3, noise=0.5, random_state=global_random_seed + ) + + non_default_params = { + "method": ["scale", "log"], + "svd_method": ["arpack"], + "n_svd_vecs": [20], + "mini_batch": [True], + } + + for mat in (S, csr_container(S)): + for param_name, param_values in non_default_params.items(): + for param_value in param_values: + model = SpectralBiclustering( + n_clusters=3, + n_init=3, + init="k-means++", + random_state=global_random_seed, + ) + model.set_params(**dict([(param_name, param_value)])) + + if issparse(mat) and model.get_params().get("method") == "log": + # cannot take log of sparse matrix + with pytest.raises(ValueError): + model.fit(mat) + continue + else: + model.fit(mat) + + assert model.rows_.shape == (9, 30) + assert model.columns_.shape == (9, 30) + assert_array_equal(model.rows_.sum(axis=0), np.repeat(3, 30)) + assert_array_equal(model.columns_.sum(axis=0), np.repeat(3, 30)) + assert consensus_score(model.biclusters_, (rows, cols)) == 1 + + _test_shape_indices(model) + + +def _do_scale_test(scaled): + """Check that rows sum to one constant, and columns to another.""" + row_sum = scaled.sum(axis=1) + col_sum = scaled.sum(axis=0) + if issparse(scaled): + row_sum = np.asarray(row_sum).squeeze() + col_sum = np.asarray(col_sum).squeeze() + assert_array_almost_equal(row_sum, np.tile(row_sum.mean(), 100), decimal=1) + assert_array_almost_equal(col_sum, np.tile(col_sum.mean(), 100), decimal=1) + + +def _do_bistochastic_test(scaled): + """Check that rows and columns sum to the same constant.""" + _do_scale_test(scaled) + assert_almost_equal(scaled.sum(axis=0).mean(), scaled.sum(axis=1).mean(), decimal=1) + + +@pytest.mark.parametrize("csr_container", CSR_CONTAINERS) +def test_scale_normalize(global_random_seed, csr_container): + generator = np.random.RandomState(global_random_seed) + X = generator.rand(100, 100) + for mat in (X, csr_container(X)): + scaled, _, _ = _scale_normalize(mat) + _do_scale_test(scaled) + if issparse(mat): + assert issparse(scaled) + + +@pytest.mark.parametrize("csr_container", CSR_CONTAINERS) +def test_bistochastic_normalize(global_random_seed, csr_container): + generator = np.random.RandomState(global_random_seed) + X = generator.rand(100, 100) + for mat in (X, csr_container(X)): + scaled = _bistochastic_normalize(mat) + _do_bistochastic_test(scaled) + if issparse(mat): + assert issparse(scaled) + + +def test_log_normalize(global_random_seed): + # adding any constant to a log-scaled matrix should make it + # bistochastic + generator = np.random.RandomState(global_random_seed) + mat = generator.rand(100, 100) + scaled = _log_normalize(mat) + 1 + _do_bistochastic_test(scaled) + + +def test_fit_best_piecewise(global_random_seed): + model = SpectralBiclustering(random_state=global_random_seed) + vectors = np.array([[0, 0, 0, 1, 1, 1], [2, 2, 2, 3, 3, 3], [0, 1, 2, 3, 4, 5]]) + best = model._fit_best_piecewise(vectors, n_best=2, n_clusters=2) + assert_array_equal(best, vectors[:2]) + + +@pytest.mark.parametrize("csr_container", CSR_CONTAINERS) +def test_project_and_cluster(global_random_seed, csr_container): + model = SpectralBiclustering(random_state=global_random_seed) + data = np.array([[1, 1, 1], [1, 1, 1], [3, 6, 3], [3, 6, 3]]) + vectors = np.array([[1, 0], [0, 1], [0, 0]]) + for mat in (data, csr_container(data)): + labels = model._project_and_cluster(mat, vectors, n_clusters=2) + assert_almost_equal(v_measure_score(labels, [0, 0, 1, 1]), 1.0) + + +def test_perfect_checkerboard(global_random_seed): + # XXX Previously failed on build bot (not reproducible) + model = SpectralBiclustering( + 3, svd_method="arpack", random_state=global_random_seed + ) + + S, rows, cols = make_checkerboard( + (30, 30), 3, noise=0, random_state=global_random_seed + ) + model.fit(S) + assert consensus_score(model.biclusters_, (rows, cols)) == 1 + + S, rows, cols = make_checkerboard( + (40, 30), 3, noise=0, random_state=global_random_seed + ) + model.fit(S) + assert consensus_score(model.biclusters_, (rows, cols)) == 1 + + S, rows, cols = make_checkerboard( + (30, 40), 3, noise=0, random_state=global_random_seed + ) + model.fit(S) + assert consensus_score(model.biclusters_, (rows, cols)) == 1 + + +@pytest.mark.parametrize( + "params, type_err, err_msg", + [ + ( + {"n_clusters": 6}, + ValueError, + "n_clusters should be <= n_samples=5", + ), + ( + {"n_clusters": (3, 3, 3)}, + ValueError, + "Incorrect parameter n_clusters", + ), + ( + {"n_clusters": (3, 6)}, + ValueError, + "Incorrect parameter n_clusters", + ), + ( + {"n_components": 3, "n_best": 4}, + ValueError, + "n_best=4 must be <= n_components=3", + ), + ], +) +def test_spectralbiclustering_parameter_validation(params, type_err, err_msg): + """Check parameters validation in `SpectralBiClustering`""" + data = np.arange(25).reshape((5, 5)) + model = SpectralBiclustering(**params) + with pytest.raises(type_err, match=err_msg): + model.fit(data) + + +@pytest.mark.parametrize("est", (SpectralBiclustering(), SpectralCoclustering())) +def test_n_features_in_(est): + X, _, _ = make_biclusters((3, 3), 3, random_state=0) + + assert not hasattr(est, "n_features_in_") + est.fit(X) + assert est.n_features_in_ == 3 diff --git a/shared/package-files/24/249c79d7b29003635594e67a0dcdc2c8f437183977cc5b1d6dee33d498316ac4/convolution_backward_overrideable.h b/shared/package-files/24/249c79d7b29003635594e67a0dcdc2c8f437183977cc5b1d6dee33d498316ac4/convolution_backward_overrideable.h new file mode 100644 index 0000000000000000000000000000000000000000..4935388f1ddffd8254c8c57b8e6b335bde188568 --- /dev/null +++ b/shared/package-files/24/249c79d7b29003635594e67a0dcdc2c8f437183977cc5b1d6dee33d498316ac4/convolution_backward_overrideable.h @@ -0,0 +1,91 @@ +#pragma once + +// @generated by torchgen/gen.py from Function.h + +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include + + + +#include + +namespace at { + + +// aten::convolution_backward_overrideable(Tensor grad_output, Tensor input, Tensor weight, SymInt[] stride, SymInt[] padding, SymInt[] dilation, bool transposed, SymInt[] output_padding, SymInt groups, bool[3] output_mask) -> (Tensor grad_input, Tensor grad_weight, Tensor grad_bias) +inline ::std::tuple convolution_backward_overrideable(const at::Tensor & grad_output, const at::Tensor & input, const at::Tensor & weight, at::IntArrayRef stride, at::IntArrayRef padding, at::IntArrayRef dilation, bool transposed, at::IntArrayRef output_padding, int64_t groups, ::std::array output_mask) { + return at::_ops::convolution_backward_overrideable::call(grad_output, input, weight, c10::fromIntArrayRefSlow(stride), c10::fromIntArrayRefSlow(padding), c10::fromIntArrayRefSlow(dilation), transposed, c10::fromIntArrayRefSlow(output_padding), groups, output_mask); +} +namespace symint { + template ::value>> + ::std::tuple convolution_backward_overrideable(const at::Tensor & grad_output, const at::Tensor & input, const at::Tensor & weight, at::IntArrayRef stride, at::IntArrayRef padding, at::IntArrayRef dilation, bool transposed, at::IntArrayRef output_padding, int64_t groups, ::std::array output_mask) { + return at::_ops::convolution_backward_overrideable::call(grad_output, input, weight, c10::fromIntArrayRefSlow(stride), c10::fromIntArrayRefSlow(padding), c10::fromIntArrayRefSlow(dilation), transposed, c10::fromIntArrayRefSlow(output_padding), groups, output_mask); + } +} + +// aten::convolution_backward_overrideable(Tensor grad_output, Tensor input, Tensor weight, SymInt[] stride, SymInt[] padding, SymInt[] dilation, bool transposed, SymInt[] output_padding, SymInt groups, bool[3] output_mask) -> (Tensor grad_input, Tensor grad_weight, Tensor grad_bias) +inline ::std::tuple convolution_backward_overrideable_symint(const at::Tensor & grad_output, const at::Tensor & input, const at::Tensor & weight, c10::SymIntArrayRef stride, c10::SymIntArrayRef padding, c10::SymIntArrayRef dilation, bool transposed, c10::SymIntArrayRef output_padding, c10::SymInt groups, ::std::array output_mask) { + return at::_ops::convolution_backward_overrideable::call(grad_output, input, weight, stride, padding, dilation, transposed, output_padding, groups, output_mask); +} +namespace symint { + template ::value>> + ::std::tuple convolution_backward_overrideable(const at::Tensor & grad_output, const at::Tensor & input, const at::Tensor & weight, c10::SymIntArrayRef stride, c10::SymIntArrayRef padding, c10::SymIntArrayRef dilation, bool transposed, c10::SymIntArrayRef output_padding, c10::SymInt groups, ::std::array output_mask) { + return at::_ops::convolution_backward_overrideable::call(grad_output, input, weight, stride, padding, dilation, transposed, output_padding, groups, output_mask); + } +} + +// aten::convolution_backward_overrideable.out(Tensor grad_output, Tensor input, Tensor weight, SymInt[] stride, SymInt[] padding, SymInt[] dilation, bool transposed, SymInt[] output_padding, SymInt groups, bool[3] output_mask, *, Tensor(a!) out0, Tensor(b!) out1, Tensor(c!) out2) -> (Tensor(a!), Tensor(b!), Tensor(c!)) +inline ::std::tuple convolution_backward_overrideable_out(at::Tensor & out0, at::Tensor & out1, at::Tensor & out2, const at::Tensor & grad_output, const at::Tensor & input, const at::Tensor & weight, at::IntArrayRef stride, at::IntArrayRef padding, at::IntArrayRef dilation, bool transposed, at::IntArrayRef output_padding, int64_t groups, ::std::array output_mask) { + return at::_ops::convolution_backward_overrideable_out::call(grad_output, input, weight, c10::fromIntArrayRefSlow(stride), c10::fromIntArrayRefSlow(padding), c10::fromIntArrayRefSlow(dilation), transposed, c10::fromIntArrayRefSlow(output_padding), groups, output_mask, out0, out1, out2); +} +namespace symint { + template ::value>> + ::std::tuple convolution_backward_overrideable_out(at::Tensor & out0, at::Tensor & out1, at::Tensor & out2, const at::Tensor & grad_output, const at::Tensor & input, const at::Tensor & weight, at::IntArrayRef stride, at::IntArrayRef padding, at::IntArrayRef dilation, bool transposed, at::IntArrayRef output_padding, int64_t groups, ::std::array output_mask) { + return at::_ops::convolution_backward_overrideable_out::call(grad_output, input, weight, c10::fromIntArrayRefSlow(stride), c10::fromIntArrayRefSlow(padding), c10::fromIntArrayRefSlow(dilation), transposed, c10::fromIntArrayRefSlow(output_padding), groups, output_mask, out0, out1, out2); + } +} + +// aten::convolution_backward_overrideable.out(Tensor grad_output, Tensor input, Tensor weight, SymInt[] stride, SymInt[] padding, SymInt[] dilation, bool transposed, SymInt[] output_padding, SymInt groups, bool[3] output_mask, *, Tensor(a!) out0, Tensor(b!) out1, Tensor(c!) out2) -> (Tensor(a!), Tensor(b!), Tensor(c!)) +inline ::std::tuple convolution_backward_overrideable_outf(const at::Tensor & grad_output, const at::Tensor & input, const at::Tensor & weight, at::IntArrayRef stride, at::IntArrayRef padding, at::IntArrayRef dilation, bool transposed, at::IntArrayRef output_padding, int64_t groups, ::std::array output_mask, at::Tensor & out0, at::Tensor & out1, at::Tensor & out2) { + return at::_ops::convolution_backward_overrideable_out::call(grad_output, input, weight, c10::fromIntArrayRefSlow(stride), c10::fromIntArrayRefSlow(padding), c10::fromIntArrayRefSlow(dilation), transposed, c10::fromIntArrayRefSlow(output_padding), groups, output_mask, out0, out1, out2); +} +namespace symint { + template ::value>> + ::std::tuple convolution_backward_overrideable_outf(const at::Tensor & grad_output, const at::Tensor & input, const at::Tensor & weight, at::IntArrayRef stride, at::IntArrayRef padding, at::IntArrayRef dilation, bool transposed, at::IntArrayRef output_padding, int64_t groups, ::std::array output_mask, at::Tensor & out0, at::Tensor & out1, at::Tensor & out2) { + return at::_ops::convolution_backward_overrideable_out::call(grad_output, input, weight, c10::fromIntArrayRefSlow(stride), c10::fromIntArrayRefSlow(padding), c10::fromIntArrayRefSlow(dilation), transposed, c10::fromIntArrayRefSlow(output_padding), groups, output_mask, out0, out1, out2); + } +} + +// aten::convolution_backward_overrideable.out(Tensor grad_output, Tensor input, Tensor weight, SymInt[] stride, SymInt[] padding, SymInt[] dilation, bool transposed, SymInt[] output_padding, SymInt groups, bool[3] output_mask, *, Tensor(a!) out0, Tensor(b!) out1, Tensor(c!) out2) -> (Tensor(a!), Tensor(b!), Tensor(c!)) +inline ::std::tuple convolution_backward_overrideable_symint_out(at::Tensor & out0, at::Tensor & out1, at::Tensor & out2, const at::Tensor & grad_output, const at::Tensor & input, const at::Tensor & weight, c10::SymIntArrayRef stride, c10::SymIntArrayRef padding, c10::SymIntArrayRef dilation, bool transposed, c10::SymIntArrayRef output_padding, c10::SymInt groups, ::std::array output_mask) { + return at::_ops::convolution_backward_overrideable_out::call(grad_output, input, weight, stride, padding, dilation, transposed, output_padding, groups, output_mask, out0, out1, out2); +} +namespace symint { + template ::value>> + ::std::tuple convolution_backward_overrideable_out(at::Tensor & out0, at::Tensor & out1, at::Tensor & out2, const at::Tensor & grad_output, const at::Tensor & input, const at::Tensor & weight, c10::SymIntArrayRef stride, c10::SymIntArrayRef padding, c10::SymIntArrayRef dilation, bool transposed, c10::SymIntArrayRef output_padding, c10::SymInt groups, ::std::array output_mask) { + return at::_ops::convolution_backward_overrideable_out::call(grad_output, input, weight, stride, padding, dilation, transposed, output_padding, groups, output_mask, out0, out1, out2); + } +} + +// aten::convolution_backward_overrideable.out(Tensor grad_output, Tensor input, Tensor weight, SymInt[] stride, SymInt[] padding, SymInt[] dilation, bool transposed, SymInt[] output_padding, SymInt groups, bool[3] output_mask, *, Tensor(a!) out0, Tensor(b!) out1, Tensor(c!) out2) -> (Tensor(a!), Tensor(b!), Tensor(c!)) +inline ::std::tuple convolution_backward_overrideable_symint_outf(const at::Tensor & grad_output, const at::Tensor & input, const at::Tensor & weight, c10::SymIntArrayRef stride, c10::SymIntArrayRef padding, c10::SymIntArrayRef dilation, bool transposed, c10::SymIntArrayRef output_padding, c10::SymInt groups, ::std::array output_mask, at::Tensor & out0, at::Tensor & out1, at::Tensor & out2) { + return at::_ops::convolution_backward_overrideable_out::call(grad_output, input, weight, stride, padding, dilation, transposed, output_padding, groups, output_mask, out0, out1, out2); +} +namespace symint { + template ::value>> + ::std::tuple convolution_backward_overrideable_outf(const at::Tensor & grad_output, const at::Tensor & input, const at::Tensor & weight, c10::SymIntArrayRef stride, c10::SymIntArrayRef padding, c10::SymIntArrayRef dilation, bool transposed, c10::SymIntArrayRef output_padding, c10::SymInt groups, ::std::array output_mask, at::Tensor & out0, at::Tensor & out1, at::Tensor & out2) { + return at::_ops::convolution_backward_overrideable_out::call(grad_output, input, weight, stride, padding, dilation, transposed, output_padding, groups, output_mask, out0, out1, out2); + } +} + +} diff --git a/shared/package-files/24/249ce6228b57836a2d712b9d3d83ee77a5ac97a7db25d497ffb336ac6274ac7d/nrt.h b/shared/package-files/24/249ce6228b57836a2d712b9d3d83ee77a5ac97a7db25d497ffb336ac6274ac7d/nrt.h new file mode 100644 index 0000000000000000000000000000000000000000..b8fe1f22aa16b622213ca03cdc9523299e6c9a90 --- /dev/null +++ b/shared/package-files/24/249ce6228b57836a2d712b9d3d83ee77a5ac97a7db25d497ffb336ac6274ac7d/nrt.h @@ -0,0 +1,273 @@ +/* +All functions described here are threadsafe. +*/ + +#ifndef NUMBA_NRT_H_ +#define NUMBA_NRT_H_ + + +#include +#include +#include "../../_numba_common.h" + +#include "nrt_external.h" + +#ifdef __cplusplus +extern "C" +{ +#endif +/* Debugging facilities - enabled at compile-time */ +/* #undef NDEBUG */ +#if 0 +# define NRT_Debug(X) {X; fflush(stdout); } +#else +# define NRT_Debug(X) if (0) { X; } +#endif + +/* TypeDefs */ +typedef void (*NRT_dtor_function)(void *ptr, size_t size, void *info); +typedef void (*NRT_dealloc_func)(void *ptr, void *dealloc_info); + +typedef void *(*NRT_malloc_func)(size_t size); +typedef void *(*NRT_realloc_func)(void *ptr, size_t new_size); +typedef void (*NRT_free_func)(void *ptr); + +/* Memory System API */ + +/* Initialize the memory system */ +VISIBILITY_HIDDEN +void NRT_MemSys_init(void); + +/* Shutdown the memory system */ +VISIBILITY_HIDDEN +void NRT_MemSys_shutdown(void); + +/* + * Register the system allocation functions + */ +VISIBILITY_HIDDEN +void NRT_MemSys_set_allocator(NRT_malloc_func, NRT_realloc_func, NRT_free_func); + +/* + * Enable the internal statistics counters. + */ +VISIBILITY_HIDDEN +void NRT_MemSys_enable_stats(void); + +/* + * Disable the internal statistics counters. + */ +VISIBILITY_HIDDEN +void NRT_MemSys_disable_stats(void); + +/* + * Query whether the internal statistics counters are enabled. + * Returns 1 if they are, 0 if they are not. + */ +VISIBILITY_HIDDEN +size_t NRT_MemSys_stats_enabled(void); + +/* + * The following functions get internal statistics of the memory subsystem. + */ +VISIBILITY_HIDDEN +size_t NRT_MemSys_get_stats_alloc(void); +VISIBILITY_HIDDEN +size_t NRT_MemSys_get_stats_free(void); +VISIBILITY_HIDDEN +size_t NRT_MemSys_get_stats_mi_alloc(void); +VISIBILITY_HIDDEN +size_t NRT_MemSys_get_stats_mi_free(void); + +/* Memory Info API */ + +/* Create a new MemInfo for external memory + * + * data: data pointer being tracked + * dtor: destructor to execute + * dtor_info: additional information to pass to the destructor + */ +VISIBILITY_HIDDEN +NRT_MemInfo* NRT_MemInfo_new(void *data, size_t size, + NRT_dtor_function dtor, void *dtor_info); + +/* + * The `external_allocator` is for experimental API to customize the allocator. + * Set to NULL to use the default builtin allocator. + */ +VISIBILITY_HIDDEN +void NRT_MemInfo_init(NRT_MemInfo *mi, void *data, size_t size, + NRT_dtor_function dtor, void *dtor_info, + NRT_ExternalAllocator *external_allocator); + +/* + * Returns the refcount of a MemInfo or (size_t)-1 if error. + */ +VISIBILITY_HIDDEN +size_t NRT_MemInfo_refcount(NRT_MemInfo *mi); + +/* + * Allocate memory of `size` bytes and return a pointer to a MemInfo structure + * that describes the allocation + */ +VISIBILITY_HIDDEN +NRT_MemInfo *NRT_MemInfo_alloc(size_t size); + +NRT_MemInfo *NRT_MemInfo_alloc_external(size_t size, NRT_ExternalAllocator *allocator); + +/* + * The "safe" NRT_MemInfo_alloc performs additional steps to help debug + * memory errors. + * It is guaranteed to: + * - zero-fill to the memory region after allocation and before deallocation. + * - may do more in the future + */ +VISIBILITY_HIDDEN +NRT_MemInfo *NRT_MemInfo_alloc_safe(size_t size); + +/* + * Similar to NRT_MemInfo_alloc_safe but with a custom dtor. + */ +VISIBILITY_HIDDEN +NRT_MemInfo* NRT_MemInfo_alloc_dtor_safe(size_t size, NRT_dtor_function dtor); + +/* + * Similar to NRT_MemInfo_alloc but with a custom dtor. + */ +VISIBILITY_HIDDEN +NRT_MemInfo* NRT_MemInfo_alloc_dtor(size_t size, NRT_dtor_function dtor); + +/* + * Aligned versions of the NRT_MemInfo_alloc and NRT_MemInfo_alloc_safe. + * These take an additional argument `align` for number of bytes to align to. + */ +VISIBILITY_HIDDEN +NRT_MemInfo *NRT_MemInfo_alloc_aligned(size_t size, unsigned align); +VISIBILITY_HIDDEN +NRT_MemInfo *NRT_MemInfo_alloc_safe_aligned(size_t size, unsigned align); + +/* + * Experimental. + * A variation to use an external allocator. + */ +NRT_MemInfo *NRT_MemInfo_alloc_safe_aligned_external(size_t size, unsigned align, NRT_ExternalAllocator *allocator); + +/* + * Internal API. + * Release a MemInfo. Calls NRT_MemSys_insert_meminfo. + */ +VISIBILITY_HIDDEN +void NRT_MemInfo_destroy(NRT_MemInfo *mi); + +/* + * Acquire a reference to a MemInfo + */ +VISIBILITY_HIDDEN +void NRT_MemInfo_acquire(NRT_MemInfo* mi); + +/* + * Release a reference to a MemInfo + */ +VISIBILITY_HIDDEN +void NRT_MemInfo_release(NRT_MemInfo* mi); + +/* + * Internal/Compiler API. + * Invoke the registered destructor of a MemInfo. + */ +VISIBILITY_HIDDEN +void NRT_MemInfo_call_dtor(NRT_MemInfo *mi); + +/* + * Returns the data pointer + */ +VISIBILITY_HIDDEN +void* NRT_MemInfo_data(NRT_MemInfo* mi); + +/* + * Returns the allocated size + */ +VISIBILITY_HIDDEN +size_t NRT_MemInfo_size(NRT_MemInfo* mi); + + +/* + * Experimental. + * Returns the external allocator + */ +VISIBILITY_HIDDEN +void* NRT_MemInfo_external_allocator(NRT_MemInfo* mi); + +/* + * Returns the parent MemInfo + */ +VISIBILITY_HIDDEN +void* NRT_MemInfo_parent(NRT_MemInfo* mi); + + +/* + * NRT API for resizable buffers. + */ +VISIBILITY_HIDDEN +NRT_MemInfo *NRT_MemInfo_new_varsize(size_t size); +VISIBILITY_HIDDEN +NRT_MemInfo *NRT_MemInfo_new_varsize_dtor(size_t size, NRT_dtor_function dtor); +VISIBILITY_HIDDEN +void *NRT_MemInfo_varsize_alloc(NRT_MemInfo *mi, size_t size); +VISIBILITY_HIDDEN +void *NRT_MemInfo_varsize_realloc(NRT_MemInfo *mi, size_t size); +VISIBILITY_HIDDEN +void NRT_MemInfo_varsize_free(NRT_MemInfo *mi, void *ptr); + +/* + * Print debug info to FILE + */ +VISIBILITY_HIDDEN +void NRT_MemInfo_dump(NRT_MemInfo *mi, FILE *out); + + +/* Low-level allocation wrappers. */ + +/* + * Allocate memory of `size` bytes. + */ +VISIBILITY_HIDDEN void* NRT_Allocate(size_t size); + +/* + * Experimental + * + * An alternative allocator that allows using an external allocator. + */ +VISIBILITY_HIDDEN void* NRT_Allocate_External(size_t size, NRT_ExternalAllocator *allocator); + +/* + * Deallocate memory pointed by `ptr`. + */ +VISIBILITY_HIDDEN void NRT_Free(void *ptr); + +/* + * Reallocate memory at `ptr`. + */ +VISIBILITY_HIDDEN void *NRT_Reallocate(void *ptr, size_t size); + +/* + * Debugging printf function used internally + */ +VISIBILITY_HIDDEN void nrt_debug_print(const char *fmt, ...); + +/* + * Get API function table. + */ +VISIBILITY_HIDDEN const NRT_api_functions* NRT_get_api(void); + + +/* + * FOR INTERNAL USE ONLY. + * Get a sample external allocator for testing + */ +VISIBILITY_HIDDEN NRT_ExternalAllocator* _nrt_get_sample_external_allocator(void); + +#ifdef __cplusplus +} +#endif +#endif /* NUMBA_NRT_H_ */ diff --git a/shared/package-files/24/249ee460b414fb723bb3af305de72b721414eb329e60f1c7ee66fac8675cb071/tabulate.pyi b/shared/package-files/24/249ee460b414fb723bb3af305de72b721414eb329e60f1c7ee66fac8675cb071/tabulate.pyi new file mode 100644 index 0000000000000000000000000000000000000000..dc935400e6c5542bde02ddc2a30d9d9d1592a847 --- /dev/null +++ b/shared/package-files/24/249ee460b414fb723bb3af305de72b721414eb329e60f1c7ee66fac8675cb071/tabulate.pyi @@ -0,0 +1,43 @@ +from typing import Any, Callable, Container, Dict, Iterable, List, Mapping, NamedTuple, Optional, Sequence, Union + +PRESERVE_WHITESPACE: bool +WIDE_CHARS_MODE: bool +tabulate_formats: List[str] + +class Line(NamedTuple): + begin: str + hline: str + sep: str + end: str + +class DataRow(NamedTuple): + begin: str + sep: str + end: str + +_TableFormatLine = Union[None, Line, Callable[[List[int], List[str]], str]] +_TableFormatRow = Union[None, DataRow, Callable[[List[Any], List[int], List[str]], str]] + +class TableFormat(NamedTuple): + lineabove: _TableFormatLine + linebelowheader: _TableFormatLine + linebetweenrows: _TableFormatLine + linebelow: _TableFormatLine + headerrow: _TableFormatRow + datarow: _TableFormatRow + padding: int + with_header_hide: Optional[Container[str]] + +def simple_separated_format(separator: str) -> TableFormat: ... +def tabulate( + tabular_data: Union[Mapping[str, Iterable[Any]], Iterable[Iterable[Any]]], + headers: Union[str, Dict[str, str], Sequence[str]] = ..., + tablefmt: Union[str, TableFormat] = ..., + floatfmt: Union[str, Iterable[str]] = ..., + numalign: Optional[str] = ..., + stralign: Optional[str] = ..., + missingval: Union[str, Iterable[str]] = ..., + showindex: Union[str, bool, Iterable[Any]] = ..., + disable_numparse: Union[bool, Iterable[int]] = ..., + colalign: Optional[Iterable[Optional[str]]] = ..., +) -> str: ... diff --git a/shared/package-files/24/249f5032c2682160ae75ff46c22ffd3e61612c7877422fa6e742249493ab9ce8/ctx.pyi b/shared/package-files/24/249f5032c2682160ae75ff46c22ffd3e61612c7877422fa6e742249493ab9ce8/ctx.pyi new file mode 100644 index 0000000000000000000000000000000000000000..c3dd934a3854cb6676da1d03e5d8e26fd60dcda4 --- /dev/null +++ b/shared/package-files/24/249f5032c2682160ae75ff46c22ffd3e61612c7877422fa6e742249493ab9ce8/ctx.pyi @@ -0,0 +1,40 @@ +from typing import Any, Optional + +class _AppCtxGlobals: + def get(self, name: Any, default: Optional[Any] = ...): ... + def pop(self, name: Any, default: Any = ...): ... + def setdefault(self, name: Any, default: Optional[Any] = ...): ... + def __contains__(self, item: Any): ... + def __iter__(self): ... + +def after_this_request(f: Any): ... +def copy_current_request_context(f: Any): ... +def has_request_context(): ... +def has_app_context(): ... + +class AppContext: + app: Any = ... + url_adapter: Any = ... + g: Any = ... + def __init__(self, app: Any) -> None: ... + def push(self) -> None: ... + def pop(self, exc: Any = ...) -> None: ... + def __enter__(self): ... + def __exit__(self, exc_type: Any, exc_value: Any, tb: Any) -> None: ... + +class RequestContext: + app: Any = ... + request: Any = ... + url_adapter: Any = ... + flashes: Any = ... + session: Any = ... + preserved: bool = ... + def __init__(self, app: Any, environ: Any, request: Optional[Any] = ...) -> None: ... + g: Any = ... + def copy(self): ... + def match_request(self) -> None: ... + def push(self) -> None: ... + def pop(self, exc: Any = ...) -> None: ... + def auto_pop(self, exc: Any) -> None: ... + def __enter__(self): ... + def __exit__(self, exc_type: Any, exc_value: Any, tb: Any) -> None: ... diff --git a/shared/package-files/24/249f76be5cb244aba4f7d4d88ce77426c0913bd6946f47eacf355f45955cdebc/wy100 b/shared/package-files/24/249f76be5cb244aba4f7d4d88ce77426c0913bd6946f47eacf355f45955cdebc/wy100 new file mode 100644 index 0000000000000000000000000000000000000000..ffea5e1764542761e610df751a45cbd721126f62 Binary files /dev/null and b/shared/package-files/24/249f76be5cb244aba4f7d4d88ce77426c0913bd6946f47eacf355f45955cdebc/wy100 differ diff --git a/shared/package-files/24/24a120274c2101c00c6cef0db40b78e8651b23e5324225d502a1c3388172c73f/bitwise_or_compositeexplicitautograd_dispatch.h b/shared/package-files/24/24a120274c2101c00c6cef0db40b78e8651b23e5324225d502a1c3388172c73f/bitwise_or_compositeexplicitautograd_dispatch.h new file mode 100644 index 0000000000000000000000000000000000000000..bdec6e3d71fd5efc00da8086432bdda3ba960679 --- /dev/null +++ b/shared/package-files/24/24a120274c2101c00c6cef0db40b78e8651b23e5324225d502a1c3388172c73f/bitwise_or_compositeexplicitautograd_dispatch.h @@ -0,0 +1,29 @@ +#pragma once +// @generated by torchgen/gen.py from DispatchKeyFunction.h + +// NB: The implementing C++ file is RegisterDispatchKey.cpp + +// The only #includes we need are for custom classes that have defaults in the C++ API +#include +#include +#include + +// Forward declarations of any types needed in the operator signatures. +// We can't directly include these classes because it will cause circular include dependencies. +// This file is included by TensorBody.h, which defines the Tensor class. +#include + +namespace at { + +namespace compositeexplicitautograd { + +TORCH_API at::Tensor bitwise_or(const at::Tensor & self, const at::Scalar & other); +TORCH_API at::Tensor & bitwise_or_out(at::Tensor & out, const at::Tensor & self, const at::Scalar & other); +TORCH_API at::Tensor & bitwise_or_outf(const at::Tensor & self, const at::Scalar & other, at::Tensor & out); +TORCH_API at::Tensor & bitwise_or_(at::Tensor & self, const at::Scalar & other); +TORCH_API at::Tensor bitwise_or(const at::Scalar & self, const at::Tensor & other); +TORCH_API at::Tensor & bitwise_or_out(at::Tensor & out, const at::Scalar & self, const at::Tensor & other); +TORCH_API at::Tensor & bitwise_or_outf(const at::Scalar & self, const at::Tensor & other, at::Tensor & out); + +} // namespace compositeexplicitautograd +} // namespace at diff --git a/shared/package-files/24/24a4b9199ffb445949e8313c26fad3a129ffb19787a09fd08005bad9b0874585/console.tcl b/shared/package-files/24/24a4b9199ffb445949e8313c26fad3a129ffb19787a09fd08005bad9b0874585/console.tcl new file mode 100644 index 0000000000000000000000000000000000000000..30c4d88305cb2dc68c2a4c8685202dade8d4a5c0 --- /dev/null +++ b/shared/package-files/24/24a4b9199ffb445949e8313c26fad3a129ffb19787a09fd08005bad9b0874585/console.tcl @@ -0,0 +1,1150 @@ +# console.tcl -- +# +# This code constructs the console window for an application. It +# can be used by non-unix systems that do not have built-in support +# for shells. +# +# Copyright (c) 1995-1997 Sun Microsystems, Inc. +# Copyright (c) 1998-2000 Ajuba Solutions. +# Copyright (c) 2007-2008 Daniel A. Steffen +# +# See the file "license.terms" for information on usage and redistribution +# of this file, and for a DISCLAIMER OF ALL WARRANTIES. +# + +# TODO: history - remember partially written command + +namespace eval ::tk::console { + variable blinkTime 500 ; # msecs to blink braced range for + variable blinkRange 1 ; # enable blinking of the entire braced range + variable magicKeys 1 ; # enable brace matching and proc/var recognition + variable maxLines 600 ; # maximum # of lines buffered in console + variable showMatches 1 ; # show multiple expand matches + variable useFontchooser [llength [info command ::tk::fontchooser]] + variable inPlugin [info exists embed_args] + variable defaultPrompt ; # default prompt if tcl_prompt1 isn't used + + if {$inPlugin} { + set defaultPrompt {subst {[history nextid] % }} + } else { + set defaultPrompt {subst {([file tail [pwd]]) [history nextid] % }} + } +} + +# simple compat function for tkcon code added for this console +interp alias {} EvalAttached {} consoleinterp eval + +# ::tk::ConsoleInit -- +# This procedure constructs and configures the console windows. +# +# Arguments: +# None. + +proc ::tk::ConsoleInit {} { + if {![consoleinterp eval {set tcl_interactive}]} { + wm withdraw . + } + + if {[tk windowingsystem] eq "aqua"} { + set mod "Cmd" + } else { + set mod "Ctrl" + } + + if {[catch {menu .menubar} err]} { + bgerror "INIT: $err" + } + AmpMenuArgs .menubar add cascade -label [mc &File] -menu .menubar.file + AmpMenuArgs .menubar add cascade -label [mc &Edit] -menu .menubar.edit + + menu .menubar.file -tearoff 0 + AmpMenuArgs .menubar.file add command -label [mc "&Source..."] \ + -command {tk::ConsoleSource} + AmpMenuArgs .menubar.file add command -label [mc "&Hide Console"] \ + -command {wm withdraw .} + AmpMenuArgs .menubar.file add command -label [mc "&Clear Console"] \ + -command {.console delete 1.0 "promptEnd linestart"} + if {[tk windowingsystem] ne "aqua"} { + AmpMenuArgs .menubar.file add command -label [mc E&xit] -command {exit} + } + + menu .menubar.edit -tearoff 0 + AmpMenuArgs .menubar.edit add command -label [mc Cu&t] -accel "$mod+X"\ + -command {event generate .console <>} + AmpMenuArgs .menubar.edit add command -label [mc &Copy] -accel "$mod+C"\ + -command {event generate .console <>} + AmpMenuArgs .menubar.edit add command -label [mc P&aste] -accel "$mod+V"\ + -command {event generate .console <>} + + if {[tk windowingsystem] ne "win32"} { + AmpMenuArgs .menubar.edit add command -label [mc Cl&ear] \ + -command {event generate .console <>} + } else { + AmpMenuArgs .menubar.edit add command -label [mc &Delete] \ + -command {event generate .console <>} -accel "Del" + + AmpMenuArgs .menubar add cascade -label [mc &Help] -menu .menubar.help + menu .menubar.help -tearoff 0 + AmpMenuArgs .menubar.help add command -label [mc &About...] \ + -command tk::ConsoleAbout + } + + AmpMenuArgs .menubar.edit add separator + if {$::tk::console::useFontchooser} { + if {[tk windowingsystem] eq "aqua"} { + .menubar.edit add command -label tk_choose_font_marker + set index [.menubar.edit index tk_choose_font_marker] + .menubar.edit entryconfigure $index \ + -label [mc "Show Fonts"]\ + -accelerator "$mod-T"\ + -command [list ::tk::console::FontchooserToggle] + bind Console <> \ + [list ::tk::console::FontchooserVisibility $index] + ::tk::console::FontchooserVisibility $index + } else { + AmpMenuArgs .menubar.edit add command -label [mc "&Font..."] \ + -command [list ::tk::console::FontchooserToggle] + } + bind Console [list ::tk::console::FontchooserFocus %W 1] + bind Console [list ::tk::console::FontchooserFocus %W 0] + } + AmpMenuArgs .menubar.edit add command -label [mc "&Increase Font Size"] \ + -accel "$mod++" -command {event generate .console <>} + AmpMenuArgs .menubar.edit add command -label [mc "&Decrease Font Size"] \ + -accel "$mod+-" -command {event generate .console <>} + AmpMenuArgs .menubar.edit add command -label [mc "Fit To Screen Width"] \ + -command {event generate .console <>} + + if {[tk windowingsystem] eq "aqua"} { + .menubar add cascade -label [mc Window] -menu [menu .menubar.window] + .menubar add cascade -label [mc Help] -menu [menu .menubar.help] + } + + . configure -menu .menubar + + # See if we can find a better font than the TkFixedFont + catch {font create TkConsoleFont {*}[font configure TkFixedFont]} + set families [font families] + switch -exact -- [tk windowingsystem] { + aqua { set preferred {Monaco 10} } + win32 { set preferred {ProFontWindows 8 Consolas 8} } + default { set preferred {} } + } + foreach {family size} $preferred { + if {$family in $families} { + font configure TkConsoleFont -family $family -size $size + break + } + } + + # Provide the right border for the text widget (platform dependent). + ::ttk::style layout ConsoleFrame { + Entry.field -sticky news -border 1 -children { + ConsoleFrame.padding -sticky news + } + } + ::ttk::frame .consoleframe -style ConsoleFrame + + set con [text .console -yscrollcommand [list .sb set] -setgrid true \ + -borderwidth 0 -highlightthickness 0 -font TkConsoleFont] + if {[tk windowingsystem] eq "aqua"} { + scrollbar .sb -command [list $con yview] + } else { + ::ttk::scrollbar .sb -command [list $con yview] + } + pack .sb -in .consoleframe -fill both -side right -padx 1 -pady 1 + pack $con -in .consoleframe -fill both -expand 1 -side left -padx 1 -pady 1 + pack .consoleframe -fill both -expand 1 -side left + + ConsoleBind $con + + $con tag configure stderr -foreground red + $con tag configure stdin -foreground blue + $con tag configure prompt -foreground \#8F4433 + $con tag configure proc -foreground \#008800 + $con tag configure var -background \#FFC0D0 + $con tag raise sel + $con tag configure blink -background \#FFFF00 + $con tag configure find -background \#FFFF00 + + focus $con + + # Avoid listing this console in [winfo interps] + if {[info command ::send] eq "::send"} {rename ::send {}} + + wm protocol . WM_DELETE_WINDOW { wm withdraw . } + wm title . [mc "Console"] + flush stdout + $con mark set output [$con index "end - 1 char"] + tk::TextSetCursor $con end + $con mark set promptEnd insert + $con mark gravity promptEnd left + + # A variant of ConsolePrompt to avoid a 'puts' call + set w $con + set temp [$w index "end - 1 char"] + $w mark set output end + if {![consoleinterp eval "info exists tcl_prompt1"]} { + set string [EvalAttached $::tk::console::defaultPrompt] + $w insert output $string stdout + } + $w mark set output $temp + ::tk::TextSetCursor $w end + $w mark set promptEnd insert + $w mark gravity promptEnd left + + if {[tk windowingsystem] ne "aqua"} { + # Subtle work-around to erase the '% ' that tclMain.c prints out + after idle [subst -nocommand { + if {[$con get 1.0 output] eq "% "} { $con delete 1.0 output } + }] + } +} + +# ::tk::ConsoleSource -- +# +# Prompts the user for a file to source in the main interpreter. +# +# Arguments: +# None. + +proc ::tk::ConsoleSource {} { + set filename [tk_getOpenFile -defaultextension .tcl -parent . \ + -title [mc "Select a file to source"] \ + -filetypes [list \ + [list [mc "Tcl Scripts"] .tcl] \ + [list [mc "All Files"] *]]] + if {$filename ne ""} { + set cmd [list source $filename] + if {[catch {consoleinterp eval $cmd} result]} { + ConsoleOutput stderr "$result\n" + } + } +} + +# ::tk::ConsoleInvoke -- +# Processes the command line input. If the command is complete it +# is evaled in the main interpreter. Otherwise, the continuation +# prompt is added and more input may be added. +# +# Arguments: +# None. + +proc ::tk::ConsoleInvoke {args} { + set ranges [.console tag ranges input] + set cmd "" + if {[llength $ranges]} { + set pos 0 + while {[lindex $ranges $pos] ne ""} { + set start [lindex $ranges $pos] + set end [lindex $ranges [incr pos]] + append cmd [.console get $start $end] + incr pos + } + } + if {$cmd eq ""} { + ConsolePrompt + } elseif {[info complete $cmd]} { + .console mark set output end + .console tag delete input + set result [consoleinterp record $cmd] + if {$result ne ""} { + puts $result + } + ConsoleHistory reset + ConsolePrompt + } else { + ConsolePrompt partial + } + .console yview -pickplace insert +} + +# ::tk::ConsoleHistory -- +# This procedure implements command line history for the +# console. In general is evals the history command in the +# main interpreter to obtain the history. The variable +# ::tk::HistNum is used to store the current location in the history. +# +# Arguments: +# cmd - Which action to take: prev, next, reset. + +set ::tk::HistNum 1 +proc ::tk::ConsoleHistory {cmd} { + variable HistNum + + switch $cmd { + prev { + incr HistNum -1 + if {$HistNum == 0} { + set cmd {history event [expr {[history nextid] -1}]} + } else { + set cmd "history event $HistNum" + } + if {[catch {consoleinterp eval $cmd} cmd]} { + incr HistNum + return + } + .console delete promptEnd end + .console insert promptEnd $cmd {input stdin} + .console see end + } + next { + incr HistNum + if {$HistNum == 0} { + set cmd {history event [expr {[history nextid] -1}]} + } elseif {$HistNum > 0} { + set cmd "" + set HistNum 1 + } else { + set cmd "history event $HistNum" + } + if {$cmd ne ""} { + catch {consoleinterp eval $cmd} cmd + } + .console delete promptEnd end + .console insert promptEnd $cmd {input stdin} + .console see end + } + reset { + set HistNum 1 + } + } +} + +# ::tk::ConsolePrompt -- +# This procedure draws the prompt. If tcl_prompt1 or tcl_prompt2 +# exists in the main interpreter it will be called to generate the +# prompt. Otherwise, a hard coded default prompt is printed. +# +# Arguments: +# partial - Flag to specify which prompt to print. + +proc ::tk::ConsolePrompt {{partial normal}} { + set w .console + if {$partial eq "normal"} { + set temp [$w index "end - 1 char"] + $w mark set output end + if {[consoleinterp eval "info exists tcl_prompt1"]} { + consoleinterp eval "eval \[set tcl_prompt1\]" + } else { + puts -nonewline [EvalAttached $::tk::console::defaultPrompt] + } + } else { + set temp [$w index output] + $w mark set output end + if {[consoleinterp eval "info exists tcl_prompt2"]} { + consoleinterp eval "eval \[set tcl_prompt2\]" + } else { + puts -nonewline "> " + } + } + flush stdout + $w mark set output $temp + ::tk::TextSetCursor $w end + $w mark set promptEnd insert + $w mark gravity promptEnd left + ::tk::console::ConstrainBuffer $w $::tk::console::maxLines + $w see end +} + +# Copy selected text from the console +proc ::tk::console::Copy {w} { + if {![catch {set data [$w get sel.first sel.last]}]} { + clipboard clear -displayof $w + clipboard append -displayof $w $data + } +} +# Copies selected text. If the selection is within the current active edit +# region then it will be cut, if not it is only copied. +proc ::tk::console::Cut {w} { + if {![catch {set data [$w get sel.first sel.last]}]} { + clipboard clear -displayof $w + clipboard append -displayof $w $data + if {[$w compare sel.first >= output]} { + $w delete sel.first sel.last + } + } +} +# Paste text from the clipboard +proc ::tk::console::Paste {w} { + catch { + set clip [::tk::GetSelection $w CLIPBOARD] + set list [split $clip \n\r] + tk::ConsoleInsert $w [lindex $list 0] + foreach x [lrange $list 1 end] { + $w mark set insert {end - 1c} + tk::ConsoleInsert $w "\n" + tk::ConsoleInvoke + tk::ConsoleInsert $w $x + } + } +} + +# Fit TkConsoleFont to window width +proc ::tk::console::FitScreenWidth {w} { + set width [winfo screenwidth $w] + set cwidth [$w cget -width] + set s -50 + set fit 0 + array set fi [font configure TkConsoleFont] + while {$s < 0} { + set fi(-size) $s + set f [font create {*}[array get fi]] + set c [font measure $f "eM"] + font delete $f + if {$c * $cwidth < 1.667 * $width} { + font configure TkConsoleFont -size $s + break + } + incr s 2 + } +} + +# ::tk::ConsoleBind -- +# This procedure first ensures that the default bindings for the Text +# class have been defined. Then certain bindings are overridden for +# the class. +# +# Arguments: +# None. + +proc ::tk::ConsoleBind {w} { + bindtags $w [list $w Console PostConsole [winfo toplevel $w] all] + + ## Get all Text bindings into Console + foreach ev [bind Text] { + bind Console $ev [bind Text $ev] + } + ## We really didn't want the newline insertion... + bind Console {} + ## ...or any Control-v binding (would block <>) + bind Console {} + + # For the moment, transpose isn't enabled until the console + # gets and overhaul of how it handles input -- hobbs + bind Console {} + + # Ignore all Alt, Meta, and Control keypresses unless explicitly bound. + # Otherwise, if a widget binding for one of these is defined, the + # class binding will also fire and insert the character + # which is wrong. + + bind Console {# nothing } + bind Console {# nothing} + bind Console {# nothing} + + foreach {ev key} { + <> + <> + <> + <> + + <> + <> + <> + <> + <> + <> + <> + <> + <> + + <> + <> + <> + <> + <> + <> + <> + } { + event add $ev $key + bind Console $key {} + } + if {[tk windowingsystem] eq "aqua"} { + foreach {ev key} { + <> + <> + } { + event add $ev $key + bind Console $key {} + } + if {$::tk::console::useFontchooser} { + bind Console [list ::tk::console::FontchooserToggle] + } + } + bind Console <> { + if {[%W compare insert > promptEnd]} { + ::tk::console::Expand %W + } + } + bind Console <> { + if {[%W compare insert > promptEnd]} { + ::tk::console::Expand %W path + } + } + bind Console <> { + if {[%W compare insert > promptEnd]} { + ::tk::console::Expand %W proc + } + } + bind Console <> { + if {[%W compare insert > promptEnd]} { + ::tk::console::Expand %W var + } + } + bind Console <> { + %W mark set insert {end - 1c} + tk::ConsoleInsert %W "\n" + tk::ConsoleInvoke + break + } + bind Console { + if {{} ne [%W tag nextrange sel 1.0 end] \ + && [%W compare sel.first >= promptEnd]} { + %W delete sel.first sel.last + } elseif {[%W compare insert >= promptEnd]} { + %W delete insert + %W see insert + } + } + bind Console { + if {{} ne [%W tag nextrange sel 1.0 end] \ + && [%W compare sel.first >= promptEnd]} { + %W delete sel.first sel.last + } elseif {[%W compare insert != 1.0] && \ + [%W compare insert > promptEnd]} { + %W delete insert-1c + %W see insert + } + } + bind Console [bind Console ] + + bind Console <> { + if {[%W compare insert < promptEnd]} { + tk::TextSetCursor %W {insert linestart} + } else { + tk::TextSetCursor %W promptEnd + } + } + bind Console <> { + tk::TextSetCursor %W {insert lineend} + } + bind Console { + if {[%W compare insert < promptEnd]} { + break + } + %W delete insert + } + bind Console <> { + if {[%W compare insert < promptEnd]} { + break + } + if {[%W compare insert == {insert lineend}]} { + %W delete insert + } else { + %W delete insert {insert lineend} + } + } + bind Console <> { + ## Clear console display + %W delete 1.0 "promptEnd linestart" + } + bind Console <> { + ## Clear command line (Unix shell staple) + %W delete promptEnd end + } + bind Console { + if {[%W compare insert >= promptEnd]} { + %W delete insert {insert wordend} + } + } + bind Console { + if {[%W compare {insert -1c wordstart} >= promptEnd]} { + %W delete {insert -1c wordstart} insert + } + } + bind Console { + if {[%W compare insert >= promptEnd]} { + %W delete insert {insert wordend} + } + } + bind Console { + if {[%W compare {insert -1c wordstart} >= promptEnd]} { + %W delete {insert -1c wordstart} insert + } + } + bind Console { + if {[%W compare insert >= promptEnd]} { + %W delete insert {insert wordend} + } + } + bind Console <> { + tk::ConsoleHistory prev + } + bind Console <> { + tk::ConsoleHistory next + } + bind Console { + catch {tk::ConsoleInsert %W [::tk::GetSelection %W PRIMARY]} + } + bind Console { + tk::ConsoleInsert %W %A + } + bind Console { + eval destroy [winfo child .] + source -encoding utf-8 [file join $tk_library console.tcl] + } + if {[tk windowingsystem] eq "aqua"} { + bind Console { + exit + } + } + bind Console <> { ::tk::console::Cut %W } + bind Console <> { ::tk::console::Copy %W } + bind Console <> { ::tk::console::Paste %W } + + bind Console <> { + set size [font configure TkConsoleFont -size] + if {$size < 0} {set sign -1} else {set sign 1} + set size [expr {(abs($size) + 1) * $sign}] + font configure TkConsoleFont -size $size + if {$::tk::console::useFontchooser} { + tk fontchooser configure -font TkConsoleFont + } + } + bind Console <> { + set size [font configure TkConsoleFont -size] + if {abs($size) < 2} { return } + if {$size < 0} {set sign -1} else {set sign 1} + set size [expr {(abs($size) - 1) * $sign}] + font configure TkConsoleFont -size $size + if {$::tk::console::useFontchooser} { + tk fontchooser configure -font TkConsoleFont + } + } + bind Console <> { + ::tk::console::FitScreenWidth %W + } + + ## + ## Bindings for doing special things based on certain keys + ## + bind PostConsole { + if {"\\" ne [%W get insert-2c]} { + ::tk::console::MatchPair %W \( \) promptEnd + } + } + bind PostConsole { + if {"\\" ne [%W get insert-2c]} { + ::tk::console::MatchPair %W \[ \] promptEnd + } + } + bind PostConsole { + if {"\\" ne [%W get insert-2c]} { + ::tk::console::MatchPair %W \{ \} promptEnd + } + } + bind PostConsole { + if {"\\" ne [%W get insert-2c]} { + ::tk::console::MatchQuote %W promptEnd + } + } + + bind PostConsole { + if {"%A" ne ""} { + ::tk::console::TagProc %W + } + } +} + +# ::tk::ConsoleInsert -- +# Insert a string into a text at the point of the insertion cursor. +# If there is a selection in the text, and it covers the point of the +# insertion cursor, then delete the selection before inserting. Insertion +# is restricted to the prompt area. +# +# Arguments: +# w - The text window in which to insert the string +# s - The string to insert (usually just a single character) + +proc ::tk::ConsoleInsert {w s} { + if {$s eq ""} { + return + } + catch { + if {[$w compare sel.first <= insert] \ + && [$w compare sel.last >= insert]} { + $w tag remove sel sel.first promptEnd + $w delete sel.first sel.last + } + } + if {[$w compare insert < promptEnd]} { + $w mark set insert end + } + $w insert insert $s {input stdin} + $w see insert +} + +# ::tk::ConsoleOutput -- +# +# This routine is called directly by ConsolePutsCmd to cause a string +# to be displayed in the console. +# +# Arguments: +# dest - The output tag to be used: either "stderr" or "stdout". +# string - The string to be displayed. + +proc ::tk::ConsoleOutput {dest string} { + set w .console + $w insert output $string $dest + ::tk::console::ConstrainBuffer $w $::tk::console::maxLines + $w see insert +} + +# ::tk::ConsoleExit -- +# +# This routine is called by ConsoleEventProc when the main window of +# the application is destroyed. Don't call exit - that probably already +# happened. Just delete our window. +# +# Arguments: +# None. + +proc ::tk::ConsoleExit {} { + destroy . +} + +# ::tk::ConsoleAbout -- +# +# This routine displays an About box to show Tcl/Tk version info. +# +# Arguments: +# None. + +proc ::tk::ConsoleAbout {} { + tk_messageBox -type ok -message "[mc {Tcl for Windows}] + +Tcl $::tcl_patchLevel +Tk $::tk_patchLevel" +} + +# ::tk::console::Fontchooser* -- +# Let the user select the console font (TIP 324). + +proc ::tk::console::FontchooserToggle {} { + if {[tk fontchooser configure -visible]} { + tk fontchooser hide + } else { + tk fontchooser show + } +} +proc ::tk::console::FontchooserVisibility {index} { + if {[tk fontchooser configure -visible]} { + .menubar.edit entryconfigure $index -label [::tk::msgcat::mc "Hide Fonts"] + } else { + .menubar.edit entryconfigure $index -label [::tk::msgcat::mc "Show Fonts"] + } +} +proc ::tk::console::FontchooserFocus {w isFocusIn} { + if {$isFocusIn} { + tk fontchooser configure -parent $w -font TkConsoleFont \ + -command [namespace code [list FontchooserApply]] + } else { + tk fontchooser configure -parent $w -font {} -command {} + } +} +proc ::tk::console::FontchooserApply {font args} { + catch {font configure TkConsoleFont {*}[font actual $font]} +} + +# ::tk::console::TagProc -- +# +# Tags a procedure in the console if it's recognized +# This procedure is not perfect. However, making it perfect wastes +# too much CPU time... +# +# Arguments: +# w - console text widget + +proc ::tk::console::TagProc w { + if {!$::tk::console::magicKeys} { + return + } + set exp "\[^\\\\\]\[\[ \t\n\r\;{}\"\$\]" + set i [$w search -backwards -regexp $exp insert-1c promptEnd-1c] + if {$i eq ""} { + set i promptEnd + } else { + append i +2c + } + regsub -all "\[\[\\\\\\?\\*\]" [$w get $i "insert-1c wordend"] {\\\0} c + if {[llength [EvalAttached [list info commands $c]]]} { + $w tag add proc $i "insert-1c wordend" + } else { + $w tag remove proc $i "insert-1c wordend" + } + if {[llength [EvalAttached [list info vars $c]]]} { + $w tag add var $i "insert-1c wordend" + } else { + $w tag remove var $i "insert-1c wordend" + } +} + +# ::tk::console::MatchPair -- +# +# Blinks a matching pair of characters +# c2 is assumed to be at the text index 'insert'. +# This proc is really loopy and took me an hour to figure out given +# all possible combinations with escaping except for escaped \'s. +# It doesn't take into account possible commenting... Oh well. If +# anyone has something better, I'd like to see/use it. This is really +# only efficient for small contexts. +# +# Arguments: +# w - console text widget +# c1 - first char of pair +# c2 - second char of pair +# +# Calls: ::tk::console::Blink + +proc ::tk::console::MatchPair {w c1 c2 {lim 1.0}} { + if {!$::tk::console::magicKeys} { + return + } + if {{} ne [set ix [$w search -back $c1 insert $lim]]} { + while { + [string match {\\} [$w get $ix-1c]] && + [set ix [$w search -back $c1 $ix-1c $lim]] ne {} + } {} + set i1 insert-1c + while {$ix ne {}} { + set i0 $ix + set j 0 + while {[set i0 [$w search $c2 $i0 $i1]] ne {}} { + append i0 +1c + if {[string match {\\} [$w get $i0-2c]]} { + continue + } + incr j + } + if {!$j} { + break + } + set i1 $ix + while {$j && [set ix [$w search -back $c1 $ix $lim]] ne {}} { + if {[string match {\\} [$w get $ix-1c]]} { + continue + } + incr j -1 + } + } + if {[string match {} $ix]} { + set ix [$w index $lim] + } + } else { + set ix [$w index $lim] + } + if {$::tk::console::blinkRange} { + Blink $w $ix [$w index insert] + } else { + Blink $w $ix $ix+1c [$w index insert-1c] [$w index insert] + } +} + +# ::tk::console::MatchQuote -- +# +# Blinks between matching quotes. +# Blinks just the quote if it's unmatched, otherwise blinks quoted string +# The quote to match is assumed to be at the text index 'insert'. +# +# Arguments: +# w - console text widget +# +# Calls: ::tk::console::Blink + +proc ::tk::console::MatchQuote {w {lim 1.0}} { + if {!$::tk::console::magicKeys} { + return + } + set i insert-1c + set j 0 + while {[set i [$w search -back \" $i $lim]] ne {}} { + if {[string match {\\} [$w get $i-1c]]} { + continue + } + if {!$j} { + set i0 $i + } + incr j + } + if {$j&1} { + if {$::tk::console::blinkRange} { + Blink $w $i0 [$w index insert] + } else { + Blink $w $i0 $i0+1c [$w index insert-1c] [$w index insert] + } + } else { + Blink $w [$w index insert-1c] [$w index insert] + } +} + +# ::tk::console::Blink -- +# +# Blinks between n index pairs for a specified duration. +# +# Arguments: +# w - console text widget +# i1 - start index to blink region +# i2 - end index of blink region +# dur - duration in usecs to blink for +# +# Outputs: +# blinks selected characters in $w + +proc ::tk::console::Blink {w args} { + eval [list $w tag add blink] $args + after $::tk::console::blinkTime [list $w] tag remove blink $args +} + +# ::tk::console::ConstrainBuffer -- +# +# This limits the amount of data in the text widget +# Called by Prompt and ConsoleOutput +# +# Arguments: +# w - console text widget +# size - # of lines to constrain to +# +# Outputs: +# may delete data in console widget + +proc ::tk::console::ConstrainBuffer {w size} { + if {[$w index end] > $size} { + $w delete 1.0 [expr {int([$w index end])-$size}].0 + } +} + +# ::tk::console::Expand -- +# +# Arguments: +# ARGS: w - text widget in which to expand str +# type - type of expansion (path / proc / variable) +# +# Calls: ::tk::console::Expand(Pathname|Procname|Variable) +# +# Outputs: The string to match is expanded to the longest possible match. +# If ::tk::console::showMatches is non-zero and the longest match +# equaled the string to expand, then all possible matches are +# output to stdout. Triggers bell if no matches are found. +# +# Returns: number of matches found + +proc ::tk::console::Expand {w {type ""}} { + set exp "\[^\\\\\]\[\[ \t\n\r\\\{\"\\\\\$\]" + set tmp [$w search -backwards -regexp $exp insert-1c promptEnd-1c] + if {$tmp eq ""} { + set tmp promptEnd + } else { + append tmp +2c + } + if {[$w compare $tmp >= insert]} { + return + } + set str [$w get $tmp insert] + switch -glob $type { + path* { + set res [ExpandPathname $str] + } + proc* { + set res [ExpandProcname $str] + } + var* { + set res [ExpandVariable $str] + } + default { + set res {} + foreach t {Pathname Procname Variable} { + if {![catch {Expand$t $str} res] && ($res ne "")} { + break + } + } + } + } + set len [llength $res] + if {$len} { + set repl [lindex $res 0] + $w delete $tmp insert + $w insert $tmp $repl {input stdin} + if {($len > 1) && ($::tk::console::showMatches) && ($repl eq $str)} { + puts stdout [lsort [lreplace $res 0 0]] + } + } else { + bell + } + return [incr len -1] +} + +# ::tk::console::ExpandPathname -- +# +# Expand a file pathname based on $str +# This is based on UNIX file name conventions +# +# Arguments: +# str - partial file pathname to expand +# +# Calls: ::tk::console::ExpandBestMatch +# +# Returns: list containing longest unique match followed by all the +# possible further matches + +proc ::tk::console::ExpandPathname str { + set pwd [EvalAttached pwd] + if {[catch {EvalAttached [list cd [file dirname $str]]} err opt]} { + return -options $opt $err + } + set dir [file tail $str] + ## Check to see if it was known to be a directory and keep the trailing + ## slash if so (file tail cuts it off) + if {[string match */ $str]} { + append dir / + } + if {[catch {lsort [EvalAttached [list glob $dir*]]} m]} { + set match {} + } else { + if {[llength $m] > 1} { + if { $::tcl_platform(platform) eq "windows" } { + ## Windows is screwy because it's case insensitive + set tmp [ExpandBestMatch [string tolower $m] \ + [string tolower $dir]] + ## Don't change case if we haven't changed the word + if {[string length $dir]==[string length $tmp]} { + set tmp $dir + } + } else { + set tmp [ExpandBestMatch $m $dir] + } + if {[string match ?*/* $str]} { + set tmp [file dirname $str]/$tmp + } elseif {[string match /* $str]} { + set tmp /$tmp + } + regsub -all { } $tmp {\\ } tmp + set match [linsert $m 0 $tmp] + } else { + ## This may look goofy, but it handles spaces in path names + eval append match $m + if {[file isdir $match]} { + append match / + } + if {[string match ?*/* $str]} { + set match [file dirname $str]/$match + } elseif {[string match /* $str]} { + set match /$match + } + regsub -all { } $match {\\ } match + ## Why is this one needed and the ones below aren't!! + set match [list $match] + } + } + EvalAttached [list cd $pwd] + return $match +} + +# ::tk::console::ExpandProcname -- +# +# Expand a tcl proc name based on $str +# +# Arguments: +# str - partial proc name to expand +# +# Calls: ::tk::console::ExpandBestMatch +# +# Returns: list containing longest unique match followed by all the +# possible further matches + +proc ::tk::console::ExpandProcname str { + set match [EvalAttached [list info commands $str*]] + if {[llength $match] == 0} { + set ns [EvalAttached \ + "namespace children \[namespace current\] [list $str*]"] + if {[llength $ns]==1} { + set match [EvalAttached [list info commands ${ns}::*]] + } else { + set match $ns + } + } + if {[llength $match] > 1} { + regsub -all { } [ExpandBestMatch $match $str] {\\ } str + set match [linsert $match 0 $str] + } else { + regsub -all { } $match {\\ } match + } + return $match +} + +# ::tk::console::ExpandVariable -- +# +# Expand a tcl variable name based on $str +# +# Arguments: +# str - partial tcl var name to expand +# +# Calls: ::tk::console::ExpandBestMatch +# +# Returns: list containing longest unique match followed by all the +# possible further matches + +proc ::tk::console::ExpandVariable str { + if {[regexp {([^\(]*)\((.*)} $str -> ary str]} { + ## Looks like they're trying to expand an array. + set match [EvalAttached [list array names $ary $str*]] + if {[llength $match] > 1} { + set vars $ary\([ExpandBestMatch $match $str] + foreach var $match { + lappend vars $ary\($var\) + } + return $vars + } elseif {[llength $match] == 1} { + set match $ary\($match\) + } + ## Space transformation avoided for array names. + } else { + set match [EvalAttached [list info vars $str*]] + if {[llength $match] > 1} { + regsub -all { } [ExpandBestMatch $match $str] {\\ } str + set match [linsert $match 0 $str] + } else { + regsub -all { } $match {\\ } match + } + } + return $match +} + +# ::tk::console::ExpandBestMatch -- +# +# Finds the best unique match in a list of names. +# The extra $e in this argument allows us to limit the innermost loop a little +# further. This improves speed as $l becomes large or $e becomes long. +# +# Arguments: +# l - list to find best unique match in +# e - currently best known unique match +# +# Returns: longest unique match in the list + +proc ::tk::console::ExpandBestMatch {l {e {}}} { + set ec [lindex $l 0] + if {[llength $l]>1} { + set e [expr {[string length $e] - 1}] + set ei [expr {[string length $ec] - 1}] + foreach l $l { + while {$ei>=$e && [string first $ec $l]} { + set ec [string range $ec 0 [incr ei -1]] + } + } + } + return $ec +} + +# now initialize the console +::tk::ConsoleInit diff --git a/shared/package-files/24/24a988a36fedf192ee03c9676e53913b1952f97dc7f60f3363bcd30e9d1f065f/tvi920b-mc-vb b/shared/package-files/24/24a988a36fedf192ee03c9676e53913b1952f97dc7f60f3363bcd30e9d1f065f/tvi920b-mc-vb new file mode 100644 index 0000000000000000000000000000000000000000..2e982bd6edf827cb5641cff47a5505127d6c32b5 Binary files /dev/null and b/shared/package-files/24/24a988a36fedf192ee03c9676e53913b1952f97dc7f60f3363bcd30e9d1f065f/tvi920b-mc-vb differ diff --git a/shared/package-files/24/24a988a36fedf192ee03c9676e53913b1952f97dc7f60f3363bcd30e9d1f065f/tvi920b-vb-mc b/shared/package-files/24/24a988a36fedf192ee03c9676e53913b1952f97dc7f60f3363bcd30e9d1f065f/tvi920b-vb-mc new file mode 100644 index 0000000000000000000000000000000000000000..2e982bd6edf827cb5641cff47a5505127d6c32b5 Binary files /dev/null and b/shared/package-files/24/24a988a36fedf192ee03c9676e53913b1952f97dc7f60f3363bcd30e9d1f065f/tvi920b-vb-mc differ diff --git a/shared/package-files/24/24a988a36fedf192ee03c9676e53913b1952f97dc7f60f3363bcd30e9d1f065f/tvi920c-mc-vb b/shared/package-files/24/24a988a36fedf192ee03c9676e53913b1952f97dc7f60f3363bcd30e9d1f065f/tvi920c-mc-vb new file mode 100644 index 0000000000000000000000000000000000000000..2e982bd6edf827cb5641cff47a5505127d6c32b5 Binary files /dev/null and b/shared/package-files/24/24a988a36fedf192ee03c9676e53913b1952f97dc7f60f3363bcd30e9d1f065f/tvi920c-mc-vb differ diff --git a/shared/package-files/24/24a988a36fedf192ee03c9676e53913b1952f97dc7f60f3363bcd30e9d1f065f/tvi920c-vb-mc b/shared/package-files/24/24a988a36fedf192ee03c9676e53913b1952f97dc7f60f3363bcd30e9d1f065f/tvi920c-vb-mc new file mode 100644 index 0000000000000000000000000000000000000000..2e982bd6edf827cb5641cff47a5505127d6c32b5 Binary files /dev/null and b/shared/package-files/24/24a988a36fedf192ee03c9676e53913b1952f97dc7f60f3363bcd30e9d1f065f/tvi920c-vb-mc differ diff --git a/shared/package-files/24/24a9d379fda39f2bcc0580ca3e0bd2e99ae279af5e2841c9e7dbe7f931d19cc0/jis0212.enc b/shared/package-files/24/24a9d379fda39f2bcc0580ca3e0bd2e99ae279af5e2841c9e7dbe7f931d19cc0/jis0212.enc new file mode 100644 index 0000000000000000000000000000000000000000..cddbbba9d209b3547ebc1b9b520ad82c8796aef1 --- /dev/null +++ b/shared/package-files/24/24a9d379fda39f2bcc0580ca3e0bd2e99ae279af5e2841c9e7dbe7f931d19cc0/jis0212.enc @@ -0,0 +1,1159 @@ +# Encoding file: jis0212, double-byte +D +2244 0 68 +22 +0000000000000000000000000000000000000000000000000000000000000000 +0000000000000000000000000000000000000000000000000000000000000000 +00000000000000000000000000000000000000000000000000000000000002D8 +02C700B802D902DD00AF02DB02DA007E03840385000000000000000000000000 +0000000000A100A600BF00000000000000000000000000000000000000000000 +0000000000000000000000000000000000000000000000000000000000000000 +0000000000000000000000000000000000000000000000BA00AA00A900AE2122 +00A4211600000000000000000000000000000000000000000000000000000000 +0000000000000000000000000000000000000000000000000000000000000000 +0000000000000000000000000000000000000000000000000000000000000000 +0000000000000000000000000000000000000000000000000000000000000000 +0000000000000000000000000000000000000000000000000000000000000000 +0000000000000000000000000000000000000000000000000000000000000000 +0000000000000000000000000000000000000000000000000000000000000000 +0000000000000000000000000000000000000000000000000000000000000000 +0000000000000000000000000000000000000000000000000000000000000000 +26 +0000000000000000000000000000000000000000000000000000000000000000 +0000000000000000000000000000000000000000000000000000000000000000 +0000000000000000000000000000000000000000000000000000000000000000 +0000000000000000000000000000000000000000000000000000000000000000 +0000000000000000000000000000000000000000000000000000000000000000 +0000000000000000000000000000000000000000000000000000000000000000 +0000038603880389038A03AA0000038C0000038E03AB0000038F000000000000 +000003AC03AD03AE03AF03CA039003CC03C203CD03CB03B003CE000000000000 +0000000000000000000000000000000000000000000000000000000000000000 +0000000000000000000000000000000000000000000000000000000000000000 +0000000000000000000000000000000000000000000000000000000000000000 +0000000000000000000000000000000000000000000000000000000000000000 +0000000000000000000000000000000000000000000000000000000000000000 +0000000000000000000000000000000000000000000000000000000000000000 +0000000000000000000000000000000000000000000000000000000000000000 +0000000000000000000000000000000000000000000000000000000000000000 +27 +0000000000000000000000000000000000000000000000000000000000000000 +0000000000000000000000000000000000000000000000000000000000000000 +0000000000000000000000000000000000000000000000000000000000000000 +0000000000000000000000000000000000000000000000000000000000000000 +0000000004020403040404050406040704080409040A040B040C040E040F0000 +0000000000000000000000000000000000000000000000000000000000000000 +0000000000000000000000000000000000000000000000000000000000000000 +0000000004520453045404550456045704580459045A045B045C045E045F0000 +0000000000000000000000000000000000000000000000000000000000000000 +0000000000000000000000000000000000000000000000000000000000000000 +0000000000000000000000000000000000000000000000000000000000000000 +0000000000000000000000000000000000000000000000000000000000000000 +0000000000000000000000000000000000000000000000000000000000000000 +0000000000000000000000000000000000000000000000000000000000000000 +0000000000000000000000000000000000000000000000000000000000000000 +0000000000000000000000000000000000000000000000000000000000000000 +29 +0000000000000000000000000000000000000000000000000000000000000000 +0000000000000000000000000000000000000000000000000000000000000000 +000000C60110000001260000013200000141013F0000014A00D8015200000166 +00DE000000000000000000000000000000000000000000000000000000000000 +000000E6011100F00127013101330138014201400149014B00F8015300DF0167 +00FE000000000000000000000000000000000000000000000000000000000000 +0000000000000000000000000000000000000000000000000000000000000000 +0000000000000000000000000000000000000000000000000000000000000000 +0000000000000000000000000000000000000000000000000000000000000000 +0000000000000000000000000000000000000000000000000000000000000000 +0000000000000000000000000000000000000000000000000000000000000000 +0000000000000000000000000000000000000000000000000000000000000000 +0000000000000000000000000000000000000000000000000000000000000000 +0000000000000000000000000000000000000000000000000000000000000000 +0000000000000000000000000000000000000000000000000000000000000000 +0000000000000000000000000000000000000000000000000000000000000000 +2A +0000000000000000000000000000000000000000000000000000000000000000 +0000000000000000000000000000000000000000000000000000000000000000 +000000C100C000C400C2010201CD0100010400C500C301060108010C00C7010A +010E00C900C800CB00CA011A0116011201180000011C011E01220120012400CD +00CC00CF00CE01CF0130012A012E0128013401360139013D013B014301470145 +00D100D300D200D600D401D10150014C00D5015401580156015A015C0160015E +0164016200DA00D900DC00DB016C01D30170016A0172016E016801D701DB01D9 +01D5017400DD017801760179017D017B00000000000000000000000000000000 +0000000000000000000000000000000000000000000000000000000000000000 +0000000000000000000000000000000000000000000000000000000000000000 +0000000000000000000000000000000000000000000000000000000000000000 +0000000000000000000000000000000000000000000000000000000000000000 +0000000000000000000000000000000000000000000000000000000000000000 +0000000000000000000000000000000000000000000000000000000000000000 +0000000000000000000000000000000000000000000000000000000000000000 +0000000000000000000000000000000000000000000000000000000000000000 +2B +0000000000000000000000000000000000000000000000000000000000000000 +0000000000000000000000000000000000000000000000000000000000000000 +000000E100E000E400E2010301CE0101010500E500E301070109010D00E7010B +010F00E900E800EB00EA011B01170113011901F5011D011F00000121012500ED +00EC00EF00EE01D00000012B012F012901350137013A013E013C014401480146 +00F100F300F200F600F401D20151014D00F5015501590157015B015D0161015F +0165016300FA00F900FC00FB016D01D40171016B0173016F016901D801DC01DA +01D6017500FD00FF0177017A017E017C00000000000000000000000000000000 +0000000000000000000000000000000000000000000000000000000000000000 +0000000000000000000000000000000000000000000000000000000000000000 +0000000000000000000000000000000000000000000000000000000000000000 +0000000000000000000000000000000000000000000000000000000000000000 +0000000000000000000000000000000000000000000000000000000000000000 +0000000000000000000000000000000000000000000000000000000000000000 +0000000000000000000000000000000000000000000000000000000000000000 +0000000000000000000000000000000000000000000000000000000000000000 +30 +0000000000000000000000000000000000000000000000000000000000000000 +0000000000000000000000000000000000000000000000000000000000000000 +00004E024E044E054E0C4E124E1F4E234E244E284E2B4E2E4E2F4E304E354E40 +4E414E444E474E514E5A4E5C4E634E684E694E744E754E794E7F4E8D4E964E97 +4E9D4EAF4EB94EC34ED04EDA4EDB4EE04EE14EE24EE84EEF4EF14EF34EF54EFD +4EFE4EFF4F004F024F034F084F0B4F0C4F124F154F164F174F194F2E4F314F60 +4F334F354F374F394F3B4F3E4F404F424F484F494F4B4F4C4F524F544F564F58 +4F5F4F634F6A4F6C4F6E4F714F774F784F794F7A4F7D4F7E4F814F824F840000 +0000000000000000000000000000000000000000000000000000000000000000 +0000000000000000000000000000000000000000000000000000000000000000 +0000000000000000000000000000000000000000000000000000000000000000 +0000000000000000000000000000000000000000000000000000000000000000 +0000000000000000000000000000000000000000000000000000000000000000 +0000000000000000000000000000000000000000000000000000000000000000 +0000000000000000000000000000000000000000000000000000000000000000 +0000000000000000000000000000000000000000000000000000000000000000 +31 +0000000000000000000000000000000000000000000000000000000000000000 +0000000000000000000000000000000000000000000000000000000000000000 +00004F854F894F8A4F8C4F8E4F904F924F934F944F974F994F9A4F9E4F9F4FB2 +4FB74FB94FBB4FBC4FBD4FBE4FC04FC14FC54FC64FC84FC94FCB4FCC4FCD4FCF +4FD24FDC4FE04FE24FF04FF24FFC4FFD4FFF5000500150045007500A500C500E +5010501350175018501B501C501D501E50225027502E50305032503350355040 +5041504250455046504A504C504E50515052505350575059505F506050625063 +50665067506A506D50705071503B5081508350845086508A508E508F50900000 +0000000000000000000000000000000000000000000000000000000000000000 +0000000000000000000000000000000000000000000000000000000000000000 +0000000000000000000000000000000000000000000000000000000000000000 +0000000000000000000000000000000000000000000000000000000000000000 +0000000000000000000000000000000000000000000000000000000000000000 +0000000000000000000000000000000000000000000000000000000000000000 +0000000000000000000000000000000000000000000000000000000000000000 +0000000000000000000000000000000000000000000000000000000000000000 +32 +0000000000000000000000000000000000000000000000000000000000000000 +0000000000000000000000000000000000000000000000000000000000000000 +00005092509350945096509B509C509E509F50A050A150A250AA50AF50B050B9 +50BA50BD50C050C350C450C750CC50CE50D050D350D450D850DC50DD50DF50E2 +50E450E650E850E950EF50F150F650FA50FE5103510651075108510B510C510D +510E50F2511051175119511B511C511D511E512351275128512C512D512F5131 +513351345135513851395142514A514F5153515551575158515F51645166517E +51835184518B518E5198519D51A151A351AD51B851BA51BC51BE51BF51C20000 +0000000000000000000000000000000000000000000000000000000000000000 +0000000000000000000000000000000000000000000000000000000000000000 +0000000000000000000000000000000000000000000000000000000000000000 +0000000000000000000000000000000000000000000000000000000000000000 +0000000000000000000000000000000000000000000000000000000000000000 +0000000000000000000000000000000000000000000000000000000000000000 +0000000000000000000000000000000000000000000000000000000000000000 +0000000000000000000000000000000000000000000000000000000000000000 +33 +0000000000000000000000000000000000000000000000000000000000000000 +0000000000000000000000000000000000000000000000000000000000000000 +000051C851CF51D151D251D351D551D851DE51E251E551EE51F251F351F451F7 +5201520252055212521352155216521852225228523152325235523C52455249 +525552575258525A525C525F526052615266526E527752785279528052825285 +528A528C52935295529652975298529A529C52A452A552A652A752AF52B052B6 +52B752B852BA52BB52BD52C052C452C652C852CC52CF52D152D452D652DB52DC +52E152E552E852E952EA52EC52F052F152F452F652F753005303530A530B0000 +0000000000000000000000000000000000000000000000000000000000000000 +0000000000000000000000000000000000000000000000000000000000000000 +0000000000000000000000000000000000000000000000000000000000000000 +0000000000000000000000000000000000000000000000000000000000000000 +0000000000000000000000000000000000000000000000000000000000000000 +0000000000000000000000000000000000000000000000000000000000000000 +0000000000000000000000000000000000000000000000000000000000000000 +0000000000000000000000000000000000000000000000000000000000000000 +34 +0000000000000000000000000000000000000000000000000000000000000000 +0000000000000000000000000000000000000000000000000000000000000000 +0000530C531153135318531B531C531E531F5325532753285329532B532C532D +533053325335533C533D533E5342534C534B5359535B536153635365536C536D +53725379537E538353875388538E539353945399539D53A153A453AA53AB53AF +53B253B453B553B753B853BA53BD53C053C553CF53D253D353D553DA53DD53DE +53E053E653E753F554025413541A542154275428542A542F5431543454355443 +54445447544D544F545E54625464546654675469546B546D546E5474547F0000 +0000000000000000000000000000000000000000000000000000000000000000 +0000000000000000000000000000000000000000000000000000000000000000 +0000000000000000000000000000000000000000000000000000000000000000 +0000000000000000000000000000000000000000000000000000000000000000 +0000000000000000000000000000000000000000000000000000000000000000 +0000000000000000000000000000000000000000000000000000000000000000 +0000000000000000000000000000000000000000000000000000000000000000 +0000000000000000000000000000000000000000000000000000000000000000 +35 +0000000000000000000000000000000000000000000000000000000000000000 +0000000000000000000000000000000000000000000000000000000000000000 +000054815483548554885489548D549154955496549C549F54A154A654A754A9 +54AA54AD54AE54B154B754B954BA54BB54BF54C654CA54CD54CE54E054EA54EC +54EF54F654FC54FE54FF55005501550555085509550C550D550E5515552A552B +553255355536553B553C553D554155475549554A554D555055515558555A555B +555E5560556155645566557F5581558255865588558E558F5591559255935594 +559755A355A455AD55B255BF55C155C355C655C955CB55CC55CE55D155D20000 +0000000000000000000000000000000000000000000000000000000000000000 +0000000000000000000000000000000000000000000000000000000000000000 +0000000000000000000000000000000000000000000000000000000000000000 +0000000000000000000000000000000000000000000000000000000000000000 +0000000000000000000000000000000000000000000000000000000000000000 +0000000000000000000000000000000000000000000000000000000000000000 +0000000000000000000000000000000000000000000000000000000000000000 +0000000000000000000000000000000000000000000000000000000000000000 +36 +0000000000000000000000000000000000000000000000000000000000000000 +0000000000000000000000000000000000000000000000000000000000000000 +000055D355D755D855DB55DE55E255E955F655FF56055608560A560D560E560F +5610561156125619562C56305633563556375639563B563C563D563F56405641 +5643564456465649564B564D564F5654565E566056615662566356665669566D +566F567156725675568456855688568B568C56955699569A569D569E569F56A6 +56A756A856A956AB56AC56AD56B156B356B756BE56C556C956CA56CB56CF56D0 +56CC56CD56D956DC56DD56DF56E156E456E556E656E756E856F156EB56ED0000 +0000000000000000000000000000000000000000000000000000000000000000 +0000000000000000000000000000000000000000000000000000000000000000 +0000000000000000000000000000000000000000000000000000000000000000 +0000000000000000000000000000000000000000000000000000000000000000 +0000000000000000000000000000000000000000000000000000000000000000 +0000000000000000000000000000000000000000000000000000000000000000 +0000000000000000000000000000000000000000000000000000000000000000 +0000000000000000000000000000000000000000000000000000000000000000 +37 +0000000000000000000000000000000000000000000000000000000000000000 +0000000000000000000000000000000000000000000000000000000000000000 +000056F656F7570157025707570A570C57115715571A571B571D572057225723 +572457255729572A572C572E572F57335734573D573E573F57455746574C574D +57525762576557675768576B576D576E576F5770577157735774577557775779 +577A577B577C577E57815783578C579457975799579A579C579D579E579F57A1 +579557A757A857A957AC57B857BD57C757C857CC57CF57D557DD57DE57E457E6 +57E757E957ED57F057F557F657F857FD57FE57FF580358045808580957E10000 +0000000000000000000000000000000000000000000000000000000000000000 +0000000000000000000000000000000000000000000000000000000000000000 +0000000000000000000000000000000000000000000000000000000000000000 +0000000000000000000000000000000000000000000000000000000000000000 +0000000000000000000000000000000000000000000000000000000000000000 +0000000000000000000000000000000000000000000000000000000000000000 +0000000000000000000000000000000000000000000000000000000000000000 +0000000000000000000000000000000000000000000000000000000000000000 +38 +0000000000000000000000000000000000000000000000000000000000000000 +0000000000000000000000000000000000000000000000000000000000000000 +0000580C580D581B581E581F582058265827582D58325839583F5849584C584D +584F58505855585F58615864586758685878587C587F58805881588758885889 +588A588C588D588F589058945896589D58A058A158A258A658A958B158B258C4 +58BC58C258C858CD58CE58D058D258D458D658DA58DD58E158E258E958F35905 +5906590B590C5912591359148641591D5921592359245928592F593059335935 +5936593F59435946595259535959595B595D595E595F59615963596B596D0000 +0000000000000000000000000000000000000000000000000000000000000000 +0000000000000000000000000000000000000000000000000000000000000000 +0000000000000000000000000000000000000000000000000000000000000000 +0000000000000000000000000000000000000000000000000000000000000000 +0000000000000000000000000000000000000000000000000000000000000000 +0000000000000000000000000000000000000000000000000000000000000000 +0000000000000000000000000000000000000000000000000000000000000000 +0000000000000000000000000000000000000000000000000000000000000000 +39 +0000000000000000000000000000000000000000000000000000000000000000 +0000000000000000000000000000000000000000000000000000000000000000 +0000596F5972597559765979597B597C598B598C598E599259955997599F59A4 +59A759AD59AE59AF59B059B359B759BA59BC59C159C359C459C859CA59CD59D2 +59DD59DE59DF59E359E459E759EE59EF59F159F259F459F75A005A045A0C5A0D +5A0E5A125A135A1E5A235A245A275A285A2A5A2D5A305A445A455A475A485A4C +5A505A555A5E5A635A655A675A6D5A775A7A5A7B5A7E5A8B5A905A935A965A99 +5A9C5A9E5A9F5AA05AA25AA75AAC5AB15AB25AB35AB55AB85ABA5ABB5ABF0000 +0000000000000000000000000000000000000000000000000000000000000000 +0000000000000000000000000000000000000000000000000000000000000000 +0000000000000000000000000000000000000000000000000000000000000000 +0000000000000000000000000000000000000000000000000000000000000000 +0000000000000000000000000000000000000000000000000000000000000000 +0000000000000000000000000000000000000000000000000000000000000000 +0000000000000000000000000000000000000000000000000000000000000000 +0000000000000000000000000000000000000000000000000000000000000000 +3A +0000000000000000000000000000000000000000000000000000000000000000 +0000000000000000000000000000000000000000000000000000000000000000 +00005AC45AC65AC85ACF5ADA5ADC5AE05AE55AEA5AEE5AF55AF65AFD5B005B01 +5B085B175B345B195B1B5B1D5B215B255B2D5B385B415B4B5B4C5B525B565B5E +5B685B6E5B6F5B7C5B7D5B7E5B7F5B815B845B865B8A5B8E5B905B915B935B94 +5B965BA85BA95BAC5BAD5BAF5BB15BB25BB75BBA5BBC5BC05BC15BCD5BCF5BD6 +5BD75BD85BD95BDA5BE05BEF5BF15BF45BFD5C0C5C175C1E5C1F5C235C265C29 +5C2B5C2C5C2E5C305C325C355C365C595C5A5C5C5C625C635C675C685C690000 +0000000000000000000000000000000000000000000000000000000000000000 +0000000000000000000000000000000000000000000000000000000000000000 +0000000000000000000000000000000000000000000000000000000000000000 +0000000000000000000000000000000000000000000000000000000000000000 +0000000000000000000000000000000000000000000000000000000000000000 +0000000000000000000000000000000000000000000000000000000000000000 +0000000000000000000000000000000000000000000000000000000000000000 +0000000000000000000000000000000000000000000000000000000000000000 +3B +0000000000000000000000000000000000000000000000000000000000000000 +0000000000000000000000000000000000000000000000000000000000000000 +00005C6D5C705C745C755C7A5C7B5C7C5C7D5C875C885C8A5C8F5C925C9D5C9F +5CA05CA25CA35CA65CAA5CB25CB45CB55CBA5CC95CCB5CD25CDD5CD75CEE5CF1 +5CF25CF45D015D065D0D5D125D2B5D235D245D265D275D315D345D395D3D5D3F +5D425D435D465D485D555D515D595D4A5D5F5D605D615D625D645D6A5D6D5D70 +5D795D7A5D7E5D7F5D815D835D885D8A5D925D935D945D955D995D9B5D9F5DA0 +5DA75DAB5DB05DB45DB85DB95DC35DC75DCB5DD05DCE5DD85DD95DE05DE40000 +0000000000000000000000000000000000000000000000000000000000000000 +0000000000000000000000000000000000000000000000000000000000000000 +0000000000000000000000000000000000000000000000000000000000000000 +0000000000000000000000000000000000000000000000000000000000000000 +0000000000000000000000000000000000000000000000000000000000000000 +0000000000000000000000000000000000000000000000000000000000000000 +0000000000000000000000000000000000000000000000000000000000000000 +0000000000000000000000000000000000000000000000000000000000000000 +3C +0000000000000000000000000000000000000000000000000000000000000000 +0000000000000000000000000000000000000000000000000000000000000000 +00005DE95DF85DF95E005E075E0D5E125E145E155E185E1F5E205E2E5E285E32 +5E355E3E5E4B5E505E495E515E565E585E5B5E5C5E5E5E685E6A5E6B5E6C5E6D +5E6E5E705E805E8B5E8E5EA25EA45EA55EA85EAA5EAC5EB15EB35EBD5EBE5EBF +5EC65ECC5ECB5ECE5ED15ED25ED45ED55EDC5EDE5EE55EEB5F025F065F075F08 +5F0E5F195F1C5F1D5F215F225F235F245F285F2B5F2C5F2E5F305F345F365F3B +5F3D5F3F5F405F445F455F475F4D5F505F545F585F5B5F605F635F645F670000 +0000000000000000000000000000000000000000000000000000000000000000 +0000000000000000000000000000000000000000000000000000000000000000 +0000000000000000000000000000000000000000000000000000000000000000 +0000000000000000000000000000000000000000000000000000000000000000 +0000000000000000000000000000000000000000000000000000000000000000 +0000000000000000000000000000000000000000000000000000000000000000 +0000000000000000000000000000000000000000000000000000000000000000 +0000000000000000000000000000000000000000000000000000000000000000 +3D +0000000000000000000000000000000000000000000000000000000000000000 +0000000000000000000000000000000000000000000000000000000000000000 +00005F6F5F725F745F755F785F7A5F7D5F7E5F895F8D5F8F5F965F9C5F9D5FA2 +5FA75FAB5FA45FAC5FAF5FB05FB15FB85FC45FC75FC85FC95FCB5FD05FD15FD2 +5FD35FD45FDE5FE15FE25FE85FE95FEA5FEC5FED5FEE5FEF5FF25FF35FF65FFA +5FFC6007600A600D6013601460176018601A601F6024602D6033603560406047 +60486049604C6051605460566057605D606160676071607E607F608260866088 +608A608E6091609360956098609D609E60A260A460A560A860B060B160B70000 +0000000000000000000000000000000000000000000000000000000000000000 +0000000000000000000000000000000000000000000000000000000000000000 +0000000000000000000000000000000000000000000000000000000000000000 +0000000000000000000000000000000000000000000000000000000000000000 +0000000000000000000000000000000000000000000000000000000000000000 +0000000000000000000000000000000000000000000000000000000000000000 +0000000000000000000000000000000000000000000000000000000000000000 +0000000000000000000000000000000000000000000000000000000000000000 +3E +0000000000000000000000000000000000000000000000000000000000000000 +0000000000000000000000000000000000000000000000000000000000000000 +000060BB60BE60C260C460C860C960CA60CB60CE60CF60D460D560D960DB60DD +60DE60E260E560F260F560F860FC60FD61026107610A610C6110611161126113 +6114611661176119611C611E6122612A612B6130613161356136613761396141 +614561466149615E6160616C61726178617B617C617F6180618161836184618B +618D6192619361976198619C619D619F61A061A561A861AA61AD61B861B961BC +61C061C161C261CE61CF61D561DC61DD61DE61DF61E161E261E761E961E50000 +0000000000000000000000000000000000000000000000000000000000000000 +0000000000000000000000000000000000000000000000000000000000000000 +0000000000000000000000000000000000000000000000000000000000000000 +0000000000000000000000000000000000000000000000000000000000000000 +0000000000000000000000000000000000000000000000000000000000000000 +0000000000000000000000000000000000000000000000000000000000000000 +0000000000000000000000000000000000000000000000000000000000000000 +0000000000000000000000000000000000000000000000000000000000000000 +3F +0000000000000000000000000000000000000000000000000000000000000000 +0000000000000000000000000000000000000000000000000000000000000000 +000061EC61ED61EF620162036204620762136215621C62206222622362276229 +622B6239623D6242624362446246624C62506251625262546256625A625C6264 +626D626F6273627A627D628D628E628F629062A662A862B362B662B762BA62BE +62BF62C462CE62D562D662DA62EA62F262F462FC62FD63036304630A630B630D +63106313631663186329632A632D633563366339633C63416342634363446346 +634A634B634E6352635363546358635B63656366636C636D6371637463750000 +0000000000000000000000000000000000000000000000000000000000000000 +0000000000000000000000000000000000000000000000000000000000000000 +0000000000000000000000000000000000000000000000000000000000000000 +0000000000000000000000000000000000000000000000000000000000000000 +0000000000000000000000000000000000000000000000000000000000000000 +0000000000000000000000000000000000000000000000000000000000000000 +0000000000000000000000000000000000000000000000000000000000000000 +0000000000000000000000000000000000000000000000000000000000000000 +40 +0000000000000000000000000000000000000000000000000000000000000000 +0000000000000000000000000000000000000000000000000000000000000000 +00006378637C637D637F638263846387638A6390639463956399639A639E63A4 +63A663AD63AE63AF63BD63C163C563C863CE63D163D363D463D563DC63E063E5 +63EA63EC63F263F363F563F863F96409640A6410641264146418641E64206422 +642464256429642A642F64306435643D643F644B644F6451645264536454645A +645B645C645D645F646064616463646D64736474647B647D64856487648F6490 +649164986499649B649D649F64A164A364A664A864AC64B364BD64BE64BF0000 +0000000000000000000000000000000000000000000000000000000000000000 +0000000000000000000000000000000000000000000000000000000000000000 +0000000000000000000000000000000000000000000000000000000000000000 +0000000000000000000000000000000000000000000000000000000000000000 +0000000000000000000000000000000000000000000000000000000000000000 +0000000000000000000000000000000000000000000000000000000000000000 +0000000000000000000000000000000000000000000000000000000000000000 +0000000000000000000000000000000000000000000000000000000000000000 +41 +0000000000000000000000000000000000000000000000000000000000000000 +0000000000000000000000000000000000000000000000000000000000000000 +000064C464C964CA64CB64CC64CE64D064D164D564D764E464E564E964EA64ED +64F064F564F764FB64FF6501650465086509650A650F6513651465166519651B +651E651F652265266529652E6531653A653C653D654365476549655065526554 +655F65606567656B657A657D65816585658A659265956598659D65A065A365A6 +65AE65B265B365B465BF65C265C865C965CE65D065D465D665D865DF65F065F2 +65F465F565F965FE65FF6600660466086609660D6611661266156616661D0000 +0000000000000000000000000000000000000000000000000000000000000000 +0000000000000000000000000000000000000000000000000000000000000000 +0000000000000000000000000000000000000000000000000000000000000000 +0000000000000000000000000000000000000000000000000000000000000000 +0000000000000000000000000000000000000000000000000000000000000000 +0000000000000000000000000000000000000000000000000000000000000000 +0000000000000000000000000000000000000000000000000000000000000000 +0000000000000000000000000000000000000000000000000000000000000000 +42 +0000000000000000000000000000000000000000000000000000000000000000 +0000000000000000000000000000000000000000000000000000000000000000 +0000661E662166226623662466266629662A662B662C662E6630663166336639 +6637664066456646664A664C6651664E665766586659665B665C6660666166FB +666A666B666C667E66736675667F667766786679667B6680667C668B668C668D +669066926699669A669B669C669F66A066A466AD66B166B266B566BB66BF66C0 +66C266C366C866CC66CE66CF66D466DB66DF66E866EB66EC66EE66FA67056707 +670E67136719671C672067226733673E674567476748674C67546755675D0000 +0000000000000000000000000000000000000000000000000000000000000000 +0000000000000000000000000000000000000000000000000000000000000000 +0000000000000000000000000000000000000000000000000000000000000000 +0000000000000000000000000000000000000000000000000000000000000000 +0000000000000000000000000000000000000000000000000000000000000000 +0000000000000000000000000000000000000000000000000000000000000000 +0000000000000000000000000000000000000000000000000000000000000000 +0000000000000000000000000000000000000000000000000000000000000000 +43 +0000000000000000000000000000000000000000000000000000000000000000 +0000000000000000000000000000000000000000000000000000000000000000 +00006766676C676E67746776677B67816784678E678F67916793679667986799 +679B67B067B167B267B567BB67BC67BD67F967C067C267C367C567C867C967D2 +67D767D967DC67E167E667F067F267F667F7685268146819681D681F68286827 +682C682D682F683068316833683B683F68446845684A684C685568576858685B +686B686E686F68706871687268756879687A687B687C68826884688668886896 +6898689A689C68A168A368A568A968AA68AE68B268BB68C568C868CC68CF0000 +0000000000000000000000000000000000000000000000000000000000000000 +0000000000000000000000000000000000000000000000000000000000000000 +0000000000000000000000000000000000000000000000000000000000000000 +0000000000000000000000000000000000000000000000000000000000000000 +0000000000000000000000000000000000000000000000000000000000000000 +0000000000000000000000000000000000000000000000000000000000000000 +0000000000000000000000000000000000000000000000000000000000000000 +0000000000000000000000000000000000000000000000000000000000000000 +44 +0000000000000000000000000000000000000000000000000000000000000000 +0000000000000000000000000000000000000000000000000000000000000000 +000068D068D168D368D668D968DC68DD68E568E868EA68EB68EC68ED68F068F1 +68F568F668FB68FC68FD69066909690A69106911691369166917693169336935 +6938693B694269456949694E6957695B696369646965696669686969696C6970 +69716972697A697B697F6980698D69926996699869A169A569A669A869AB69AD +69AF69B769B869BA69BC69C569C869D169D669D769E269E569EE69EF69F169F3 +69F569FE6A006A016A036A0F6A116A156A1A6A1D6A206A246A286A306A320000 +0000000000000000000000000000000000000000000000000000000000000000 +0000000000000000000000000000000000000000000000000000000000000000 +0000000000000000000000000000000000000000000000000000000000000000 +0000000000000000000000000000000000000000000000000000000000000000 +0000000000000000000000000000000000000000000000000000000000000000 +0000000000000000000000000000000000000000000000000000000000000000 +0000000000000000000000000000000000000000000000000000000000000000 +0000000000000000000000000000000000000000000000000000000000000000 +45 +0000000000000000000000000000000000000000000000000000000000000000 +0000000000000000000000000000000000000000000000000000000000000000 +00006A346A376A3B6A3E6A3F6A456A466A496A4A6A4E6A506A516A526A556A56 +6A5B6A646A676A6A6A716A736A7E6A816A836A866A876A896A8B6A916A9B6A9D +6A9E6A9F6AA56AAB6AAF6AB06AB16AB46ABD6ABE6ABF6AC66AC96AC86ACC6AD0 +6AD46AD56AD66ADC6ADD6AE46AE76AEC6AF06AF16AF26AFC6AFD6B026B036B06 +6B076B096B0F6B106B116B176B1B6B1E6B246B286B2B6B2C6B2F6B356B366B3B +6B3F6B466B4A6B4D6B526B566B586B5D6B606B676B6B6B6E6B706B756B7D0000 +0000000000000000000000000000000000000000000000000000000000000000 +0000000000000000000000000000000000000000000000000000000000000000 +0000000000000000000000000000000000000000000000000000000000000000 +0000000000000000000000000000000000000000000000000000000000000000 +0000000000000000000000000000000000000000000000000000000000000000 +0000000000000000000000000000000000000000000000000000000000000000 +0000000000000000000000000000000000000000000000000000000000000000 +0000000000000000000000000000000000000000000000000000000000000000 +46 +0000000000000000000000000000000000000000000000000000000000000000 +0000000000000000000000000000000000000000000000000000000000000000 +00006B7E6B826B856B976B9B6B9F6BA06BA26BA36BA86BA96BAC6BAD6BAE6BB0 +6BB86BB96BBD6BBE6BC36BC46BC96BCC6BD66BDA6BE16BE36BE66BE76BEE6BF1 +6BF76BF96BFF6C026C046C056C096C0D6C0E6C106C126C196C1F6C266C276C28 +6C2C6C2E6C336C356C366C3A6C3B6C3F6C4A6C4B6C4D6C4F6C526C546C596C5B +6C5C6C6B6C6D6C6F6C746C766C786C796C7B6C856C866C876C896C946C956C97 +6C986C9C6C9F6CB06CB26CB46CC26CC66CCD6CCF6CD06CD16CD26CD46CD60000 +0000000000000000000000000000000000000000000000000000000000000000 +0000000000000000000000000000000000000000000000000000000000000000 +0000000000000000000000000000000000000000000000000000000000000000 +0000000000000000000000000000000000000000000000000000000000000000 +0000000000000000000000000000000000000000000000000000000000000000 +0000000000000000000000000000000000000000000000000000000000000000 +0000000000000000000000000000000000000000000000000000000000000000 +0000000000000000000000000000000000000000000000000000000000000000 +47 +0000000000000000000000000000000000000000000000000000000000000000 +0000000000000000000000000000000000000000000000000000000000000000 +00006CDA6CDC6CE06CE76CE96CEB6CEC6CEE6CF26CF46D046D076D0A6D0E6D0F +6D116D136D1A6D266D276D286C676D2E6D2F6D316D396D3C6D3F6D576D5E6D5F +6D616D656D676D6F6D706D7C6D826D876D916D926D946D966D976D986DAA6DAC +6DB46DB76DB96DBD6DBF6DC46DC86DCA6DCE6DCF6DD66DDB6DDD6DDF6DE06DE2 +6DE56DE96DEF6DF06DF46DF66DFC6E006E046E1E6E226E276E326E366E396E3B +6E3C6E446E456E486E496E4B6E4F6E516E526E536E546E576E5C6E5D6E5E0000 +0000000000000000000000000000000000000000000000000000000000000000 +0000000000000000000000000000000000000000000000000000000000000000 +0000000000000000000000000000000000000000000000000000000000000000 +0000000000000000000000000000000000000000000000000000000000000000 +0000000000000000000000000000000000000000000000000000000000000000 +0000000000000000000000000000000000000000000000000000000000000000 +0000000000000000000000000000000000000000000000000000000000000000 +0000000000000000000000000000000000000000000000000000000000000000 +48 +0000000000000000000000000000000000000000000000000000000000000000 +0000000000000000000000000000000000000000000000000000000000000000 +00006E626E636E686E736E7B6E7D6E8D6E936E996EA06EA76EAD6EAE6EB16EB3 +6EBB6EBF6EC06EC16EC36EC76EC86ECA6ECD6ECE6ECF6EEB6EED6EEE6EF96EFB +6EFD6F046F086F0A6F0C6F0D6F166F186F1A6F1B6F266F296F2A6F2F6F306F33 +6F366F3B6F3C6F2D6F4F6F516F526F536F576F596F5A6F5D6F5E6F616F626F68 +6F6C6F7D6F7E6F836F876F886F8B6F8C6F8D6F906F926F936F946F966F9A6F9F +6FA06FA56FA66FA76FA86FAE6FAF6FB06FB56FB66FBC6FC56FC76FC86FCA0000 +0000000000000000000000000000000000000000000000000000000000000000 +0000000000000000000000000000000000000000000000000000000000000000 +0000000000000000000000000000000000000000000000000000000000000000 +0000000000000000000000000000000000000000000000000000000000000000 +0000000000000000000000000000000000000000000000000000000000000000 +0000000000000000000000000000000000000000000000000000000000000000 +0000000000000000000000000000000000000000000000000000000000000000 +0000000000000000000000000000000000000000000000000000000000000000 +49 +0000000000000000000000000000000000000000000000000000000000000000 +0000000000000000000000000000000000000000000000000000000000000000 +00006FDA6FDE6FE86FE96FF06FF56FF96FFC6FFD7000700570067007700D7017 +70207023702F703470377039703C7043704470487049704A704B70547055705D +705E704E70647065706C706E70757076707E7081708570867094709570967097 +7098709B70A470AB70B070B170B470B770CA70D170D370D470D570D670D870DC +70E470FA71037104710571067107710B710C710F711E7120712B712D712F7130 +713171387141714571467147714A714B715071527157715A715C715E71600000 +0000000000000000000000000000000000000000000000000000000000000000 +0000000000000000000000000000000000000000000000000000000000000000 +0000000000000000000000000000000000000000000000000000000000000000 +0000000000000000000000000000000000000000000000000000000000000000 +0000000000000000000000000000000000000000000000000000000000000000 +0000000000000000000000000000000000000000000000000000000000000000 +0000000000000000000000000000000000000000000000000000000000000000 +0000000000000000000000000000000000000000000000000000000000000000 +4A +0000000000000000000000000000000000000000000000000000000000000000 +0000000000000000000000000000000000000000000000000000000000000000 +000071687179718071857187718C7192719A719B71A071A271AF71B071B271B3 +71BA71BF71C071C171C471CB71CC71D371D671D971DA71DC71F871FE72007207 +7208720972137217721A721D721F7224722B722F723472387239724172427243 +7245724E724F7250725372557256725A725C725E726072637268726B726E726F +727172777278727B727C727F72847289728D728E7293729B72A872AD72AE72B1 +72B472BE72C172C772C972CC72D572D672D872DF72E572F372F472FA72FB0000 +0000000000000000000000000000000000000000000000000000000000000000 +0000000000000000000000000000000000000000000000000000000000000000 +0000000000000000000000000000000000000000000000000000000000000000 +0000000000000000000000000000000000000000000000000000000000000000 +0000000000000000000000000000000000000000000000000000000000000000 +0000000000000000000000000000000000000000000000000000000000000000 +0000000000000000000000000000000000000000000000000000000000000000 +0000000000000000000000000000000000000000000000000000000000000000 +4B +0000000000000000000000000000000000000000000000000000000000000000 +0000000000000000000000000000000000000000000000000000000000000000 +000072FE7302730473057307730B730D7312731373187319731E732273247327 +7328732C733173327335733A733B733D7343734D7350735273567358735D735E +735F7360736673677369736B736C736E736F737173777379737C738073817383 +73857386738E73907393739573977398739C739E739F73A073A273A573A673AA +73AB73AD73B573B773B973BC73BD73BF73C573C673C973CB73CC73CF73D273D3 +73D673D973DD73E173E373E673E773E973F473F573F773F973FA73FB73FD0000 +0000000000000000000000000000000000000000000000000000000000000000 +0000000000000000000000000000000000000000000000000000000000000000 +0000000000000000000000000000000000000000000000000000000000000000 +0000000000000000000000000000000000000000000000000000000000000000 +0000000000000000000000000000000000000000000000000000000000000000 +0000000000000000000000000000000000000000000000000000000000000000 +0000000000000000000000000000000000000000000000000000000000000000 +0000000000000000000000000000000000000000000000000000000000000000 +4C +0000000000000000000000000000000000000000000000000000000000000000 +0000000000000000000000000000000000000000000000000000000000000000 +000073FF7400740174047407740A7411741A741B7424742674287429742A742B +742C742D742E742F74307431743974407443744474467447744B744D74517452 +7457745D7462746674677468746B746D746E7471747274807481748574867487 +7489748F74907491749274987499749A749C749F74A074A174A374A674A874A9 +74AA74AB74AE74AF74B174B274B574B974BB74BF74C874C974CC74D074D374D8 +74DA74DB74DE74DF74E474E874EA74EB74EF74F474FA74FB74FC74FF75060000 +0000000000000000000000000000000000000000000000000000000000000000 +0000000000000000000000000000000000000000000000000000000000000000 +0000000000000000000000000000000000000000000000000000000000000000 +0000000000000000000000000000000000000000000000000000000000000000 +0000000000000000000000000000000000000000000000000000000000000000 +0000000000000000000000000000000000000000000000000000000000000000 +0000000000000000000000000000000000000000000000000000000000000000 +0000000000000000000000000000000000000000000000000000000000000000 +4D +0000000000000000000000000000000000000000000000000000000000000000 +0000000000000000000000000000000000000000000000000000000000000000 +000075127516751775207521752475277529752A752F75367539753D753E753F +7540754375477548754E755075527557755E755F7561756F75717579757A757B +757C757D757E7581758575907592759375957599759C75A275A475B475BA75BF +75C075C175C475C675CC75CE75CF75D775DC75DF75E075E175E475E775EC75EE +75EF75F175F9760076027603760476077608760A760C760F7612761376157616 +7619761B761C761D761E7623762576267629762D763276337635763876390000 +0000000000000000000000000000000000000000000000000000000000000000 +0000000000000000000000000000000000000000000000000000000000000000 +0000000000000000000000000000000000000000000000000000000000000000 +0000000000000000000000000000000000000000000000000000000000000000 +0000000000000000000000000000000000000000000000000000000000000000 +0000000000000000000000000000000000000000000000000000000000000000 +0000000000000000000000000000000000000000000000000000000000000000 +0000000000000000000000000000000000000000000000000000000000000000 +4E +0000000000000000000000000000000000000000000000000000000000000000 +0000000000000000000000000000000000000000000000000000000000000000 +0000763A763C764A764076417643764476457649764B76557659765F76647665 +766D766E766F7671767476817685768C768D7695769B769C769D769F76A076A2 +76A376A476A576A676A776A876AA76AD76BD76C176C576C976CB76CC76CE76D4 +76D976E076E676E876EC76F076F176F676F976FC77007706770A770E77127714 +771577177719771A771C77227728772D772E772F7734773577367739773D773E +774277457746774A774D774E774F775277567757775C775E775F776077620000 +0000000000000000000000000000000000000000000000000000000000000000 +0000000000000000000000000000000000000000000000000000000000000000 +0000000000000000000000000000000000000000000000000000000000000000 +0000000000000000000000000000000000000000000000000000000000000000 +0000000000000000000000000000000000000000000000000000000000000000 +0000000000000000000000000000000000000000000000000000000000000000 +0000000000000000000000000000000000000000000000000000000000000000 +0000000000000000000000000000000000000000000000000000000000000000 +4F +0000000000000000000000000000000000000000000000000000000000000000 +0000000000000000000000000000000000000000000000000000000000000000 +000077647767776A776C7770777277737774777A777D77807784778C778D7794 +77957796779A779F77A277A777AA77AE77AF77B177B577BE77C377C977D177D2 +77D577D977DE77DF77E077E477E677EA77EC77F077F177F477F877FB78057806 +7809780D780E7811781D782178227823782D782E783078357837784378447847 +7848784C784E7852785C785E78607861786378647868786A786E787A787E788A +788F7894789878A1789D789E789F78A478A878AC78AD78B078B178B278B30000 +0000000000000000000000000000000000000000000000000000000000000000 +0000000000000000000000000000000000000000000000000000000000000000 +0000000000000000000000000000000000000000000000000000000000000000 +0000000000000000000000000000000000000000000000000000000000000000 +0000000000000000000000000000000000000000000000000000000000000000 +0000000000000000000000000000000000000000000000000000000000000000 +0000000000000000000000000000000000000000000000000000000000000000 +0000000000000000000000000000000000000000000000000000000000000000 +50 +0000000000000000000000000000000000000000000000000000000000000000 +0000000000000000000000000000000000000000000000000000000000000000 +000078BB78BD78BF78C778C878C978CC78CE78D278D378D578D678E478DB78DF +78E078E178E678EA78F278F3790078F678F778FA78FB78FF7906790C7910791A +791C791E791F7920792579277929792D793179347935793B793D793F79447945 +7946794A794B794F795179547958795B795C79677969796B79727979797B797C +797E798B798C799179937994799579967998799B799C79A179A879A979AB79AF +79B179B479B879BB79C279C479C779C879CA79CF79D479D679DA79DD79DE0000 +0000000000000000000000000000000000000000000000000000000000000000 +0000000000000000000000000000000000000000000000000000000000000000 +0000000000000000000000000000000000000000000000000000000000000000 +0000000000000000000000000000000000000000000000000000000000000000 +0000000000000000000000000000000000000000000000000000000000000000 +0000000000000000000000000000000000000000000000000000000000000000 +0000000000000000000000000000000000000000000000000000000000000000 +0000000000000000000000000000000000000000000000000000000000000000 +51 +0000000000000000000000000000000000000000000000000000000000000000 +0000000000000000000000000000000000000000000000000000000000000000 +000079E079E279E579EA79EB79ED79F179F879FC7A027A037A077A097A0A7A0C +7A117A157A1B7A1E7A217A277A2B7A2D7A2F7A307A347A357A387A397A3A7A44 +7A457A477A487A4C7A557A567A597A5C7A5D7A5F7A607A657A677A6A7A6D7A75 +7A787A7E7A807A827A857A867A8A7A8B7A907A917A947A9E7AA07AA37AAC7AB3 +7AB57AB97ABB7ABC7AC67AC97ACC7ACE7AD17ADB7AE87AE97AEB7AEC7AF17AF4 +7AFB7AFD7AFE7B077B147B1F7B237B277B297B2A7B2B7B2D7B2E7B2F7B300000 +0000000000000000000000000000000000000000000000000000000000000000 +0000000000000000000000000000000000000000000000000000000000000000 +0000000000000000000000000000000000000000000000000000000000000000 +0000000000000000000000000000000000000000000000000000000000000000 +0000000000000000000000000000000000000000000000000000000000000000 +0000000000000000000000000000000000000000000000000000000000000000 +0000000000000000000000000000000000000000000000000000000000000000 +0000000000000000000000000000000000000000000000000000000000000000 +52 +0000000000000000000000000000000000000000000000000000000000000000 +0000000000000000000000000000000000000000000000000000000000000000 +00007B317B347B3D7B3F7B407B417B477B4E7B557B607B647B667B697B6A7B6D +7B6F7B727B737B777B847B897B8E7B907B917B967B9B7B9E7BA07BA57BAC7BAF +7BB07BB27BB57BB67BBA7BBB7BBC7BBD7BC27BC57BC87BCA7BD47BD67BD77BD9 +7BDA7BDB7BE87BEA7BF27BF47BF57BF87BF97BFA7BFC7BFE7C017C027C037C04 +7C067C097C0B7C0C7C0E7C0F7C197C1B7C207C257C267C287C2C7C317C337C34 +7C367C397C3A7C467C4A7C557C517C527C537C597C5A7C5B7C5C7C5D7C5E0000 +0000000000000000000000000000000000000000000000000000000000000000 +0000000000000000000000000000000000000000000000000000000000000000 +0000000000000000000000000000000000000000000000000000000000000000 +0000000000000000000000000000000000000000000000000000000000000000 +0000000000000000000000000000000000000000000000000000000000000000 +0000000000000000000000000000000000000000000000000000000000000000 +0000000000000000000000000000000000000000000000000000000000000000 +0000000000000000000000000000000000000000000000000000000000000000 +53 +0000000000000000000000000000000000000000000000000000000000000000 +0000000000000000000000000000000000000000000000000000000000000000 +00007C617C637C677C697C6D7C6E7C707C727C797C7C7C7D7C867C877C8F7C94 +7C9E7CA07CA67CB07CB67CB77CBA7CBB7CBC7CBF7CC47CC77CC87CC97CCD7CCF +7CD37CD47CD57CD77CD97CDA7CDD7CE67CE97CEB7CF57D037D077D087D097D0F +7D117D127D137D167D1D7D1E7D237D267D2A7D2D7D317D3C7D3D7D3E7D407D41 +7D477D487D4D7D517D537D577D597D5A7D5C7D5D7D657D677D6A7D707D787D7A +7D7B7D7F7D817D827D837D857D867D887D8B7D8C7D8D7D917D967D977D9D0000 +0000000000000000000000000000000000000000000000000000000000000000 +0000000000000000000000000000000000000000000000000000000000000000 +0000000000000000000000000000000000000000000000000000000000000000 +0000000000000000000000000000000000000000000000000000000000000000 +0000000000000000000000000000000000000000000000000000000000000000 +0000000000000000000000000000000000000000000000000000000000000000 +0000000000000000000000000000000000000000000000000000000000000000 +0000000000000000000000000000000000000000000000000000000000000000 +54 +0000000000000000000000000000000000000000000000000000000000000000 +0000000000000000000000000000000000000000000000000000000000000000 +00007D9E7DA67DA77DAA7DB37DB67DB77DB97DC27DC37DC47DC57DC67DCC7DCD +7DCE7DD77DD97E007DE27DE57DE67DEA7DEB7DED7DF17DF57DF67DF97DFA7E08 +7E107E117E157E177E1C7E1D7E207E277E287E2C7E2D7E2F7E337E367E3F7E44 +7E457E477E4E7E507E527E587E5F7E617E627E657E6B7E6E7E6F7E737E787E7E +7E817E867E877E8A7E8D7E917E957E987E9A7E9D7E9E7F3C7F3B7F3D7F3E7F3F +7F437F447F477F4F7F527F537F5B7F5C7F5D7F617F637F647F657F667F6D0000 +0000000000000000000000000000000000000000000000000000000000000000 +0000000000000000000000000000000000000000000000000000000000000000 +0000000000000000000000000000000000000000000000000000000000000000 +0000000000000000000000000000000000000000000000000000000000000000 +0000000000000000000000000000000000000000000000000000000000000000 +0000000000000000000000000000000000000000000000000000000000000000 +0000000000000000000000000000000000000000000000000000000000000000 +0000000000000000000000000000000000000000000000000000000000000000 +55 +0000000000000000000000000000000000000000000000000000000000000000 +0000000000000000000000000000000000000000000000000000000000000000 +00007F717F7D7F7E7F7F7F807F8B7F8D7F8F7F907F917F967F977F9C7FA17FA2 +7FA67FAA7FAD7FB47FBC7FBF7FC07FC37FC87FCE7FCF7FDB7FDF7FE37FE57FE8 +7FEC7FEE7FEF7FF27FFA7FFD7FFE7FFF80078008800A800D800E800F80118013 +80148016801D801E801F802080248026802C802E80308034803580378039803A +803C803E80408044806080648066806D8071807580818088808E809C809E80A6 +80A780AB80B880B980C880CD80CF80D280D480D580D780D880E080ED80EE0000 +0000000000000000000000000000000000000000000000000000000000000000 +0000000000000000000000000000000000000000000000000000000000000000 +0000000000000000000000000000000000000000000000000000000000000000 +0000000000000000000000000000000000000000000000000000000000000000 +0000000000000000000000000000000000000000000000000000000000000000 +0000000000000000000000000000000000000000000000000000000000000000 +0000000000000000000000000000000000000000000000000000000000000000 +0000000000000000000000000000000000000000000000000000000000000000 +56 +0000000000000000000000000000000000000000000000000000000000000000 +0000000000000000000000000000000000000000000000000000000000000000 +000080F080F280F380F680F980FA80FE8103810B811681178118811C811E8120 +81248127812C81308135813A813C81458147814A814C81528157816081618167 +81688169816D816F817781818190818481858186818B818E81968198819B819E +81A281AE81B281B481BB81CB81C381C581CA81CE81CF81D581D781DB81DD81DE +81E181E481EB81EC81F081F181F281F581F681F881F981FD81FF82008203820F +821382148219821A821D82218222822882328234823A82438244824582460000 +0000000000000000000000000000000000000000000000000000000000000000 +0000000000000000000000000000000000000000000000000000000000000000 +0000000000000000000000000000000000000000000000000000000000000000 +0000000000000000000000000000000000000000000000000000000000000000 +0000000000000000000000000000000000000000000000000000000000000000 +0000000000000000000000000000000000000000000000000000000000000000 +0000000000000000000000000000000000000000000000000000000000000000 +0000000000000000000000000000000000000000000000000000000000000000 +57 +0000000000000000000000000000000000000000000000000000000000000000 +0000000000000000000000000000000000000000000000000000000000000000 +0000824B824E824F82518256825C826082638267826D8274827B827D827F8280 +82818283828482878289828A828E8291829482968298829A829B82A082A182A3 +82A482A782A882A982AA82AE82B082B282B482B782BA82BC82BE82BF82C682D0 +82D582DA82E082E282E482E882EA82ED82EF82F682F782FD82FE830083018307 +8308830A830B8354831B831D831E831F83218322832C832D832E833083338337 +833A833C833D8342834383448347834D834E8351835583568357837083780000 +0000000000000000000000000000000000000000000000000000000000000000 +0000000000000000000000000000000000000000000000000000000000000000 +0000000000000000000000000000000000000000000000000000000000000000 +0000000000000000000000000000000000000000000000000000000000000000 +0000000000000000000000000000000000000000000000000000000000000000 +0000000000000000000000000000000000000000000000000000000000000000 +0000000000000000000000000000000000000000000000000000000000000000 +0000000000000000000000000000000000000000000000000000000000000000 +58 +0000000000000000000000000000000000000000000000000000000000000000 +0000000000000000000000000000000000000000000000000000000000000000 +0000837D837F8380838283848386838D83928394839583988399839B839C839D +83A683A783A983AC83BE83BF83C083C783C983CF83D083D183D483DD835383E8 +83EA83F683F883F983FC84018406840A840F84118415841983AD842F84398445 +84478448844A844D844F84518452845684588459845A845C8460846484658467 +846A84708473847484768478847C847D84818485849284938495849E84A684A8 +84A984AA84AF84B184B484BA84BD84BE84C084C284C784C884CC84CF84D30000 +0000000000000000000000000000000000000000000000000000000000000000 +0000000000000000000000000000000000000000000000000000000000000000 +0000000000000000000000000000000000000000000000000000000000000000 +0000000000000000000000000000000000000000000000000000000000000000 +0000000000000000000000000000000000000000000000000000000000000000 +0000000000000000000000000000000000000000000000000000000000000000 +0000000000000000000000000000000000000000000000000000000000000000 +0000000000000000000000000000000000000000000000000000000000000000 +59 +0000000000000000000000000000000000000000000000000000000000000000 +0000000000000000000000000000000000000000000000000000000000000000 +000084DC84E784EA84EF84F084F184F284F7853284FA84FB84FD850285038507 +850C850E8510851C851E85228523852485258527852A852B852F853385348536 +853F8546854F855085518552855385568559855C855D855E855F856085618562 +8564856B856F8579857A857B857D857F8581858585868589858B858C858F8593 +8598859D859F85A085A285A585A785B485B685B785B885BC85BD85BE85BF85C2 +85C785CA85CB85CE85AD85D885DA85DF85E085E685E885ED85F385F685FC0000 +0000000000000000000000000000000000000000000000000000000000000000 +0000000000000000000000000000000000000000000000000000000000000000 +0000000000000000000000000000000000000000000000000000000000000000 +0000000000000000000000000000000000000000000000000000000000000000 +0000000000000000000000000000000000000000000000000000000000000000 +0000000000000000000000000000000000000000000000000000000000000000 +0000000000000000000000000000000000000000000000000000000000000000 +0000000000000000000000000000000000000000000000000000000000000000 +5A +0000000000000000000000000000000000000000000000000000000000000000 +0000000000000000000000000000000000000000000000000000000000000000 +000085FF860086048605860D860E86108611861286188619861B861E86218627 +862986368638863A863C863D864086428646865286538656865786588659865D +866086618662866386648669866C866F867586768677867A868D869186968698 +869A869C86A186A686A786A886AD86B186B386B486B586B786B886B986BF86C0 +86C186C386C586D186D286D586D786DA86DC86E086E386E586E7868886FA86FC +86FD870487058707870B870E870F8710871387148719871E871F872187230000 +0000000000000000000000000000000000000000000000000000000000000000 +0000000000000000000000000000000000000000000000000000000000000000 +0000000000000000000000000000000000000000000000000000000000000000 +0000000000000000000000000000000000000000000000000000000000000000 +0000000000000000000000000000000000000000000000000000000000000000 +0000000000000000000000000000000000000000000000000000000000000000 +0000000000000000000000000000000000000000000000000000000000000000 +0000000000000000000000000000000000000000000000000000000000000000 +5B +0000000000000000000000000000000000000000000000000000000000000000 +0000000000000000000000000000000000000000000000000000000000000000 +00008728872E872F873187328739873A873C873D873E874087438745874D8758 +875D876187648765876F87718772877B8783878487858786878787888789878B +878C879087938795879787988799879E87A087A387A787AC87AD87AE87B187B5 +87BE87BF87C187C887C987CA87CE87D587D687D987DA87DC87DF87E287E387E4 +87EA87EB87ED87F187F387F887FA87FF8801880388068809880A880B88108819 +8812881388148818881A881B881C881E881F8828882D882E8830883288350000 +0000000000000000000000000000000000000000000000000000000000000000 +0000000000000000000000000000000000000000000000000000000000000000 +0000000000000000000000000000000000000000000000000000000000000000 +0000000000000000000000000000000000000000000000000000000000000000 +0000000000000000000000000000000000000000000000000000000000000000 +0000000000000000000000000000000000000000000000000000000000000000 +0000000000000000000000000000000000000000000000000000000000000000 +0000000000000000000000000000000000000000000000000000000000000000 +5C +0000000000000000000000000000000000000000000000000000000000000000 +0000000000000000000000000000000000000000000000000000000000000000 +0000883A883C88418843884588488849884A884B884E8851885588568858885A +885C885F88608864886988718879887B88808898889A889B889C889F88A088A8 +88AA88BA88BD88BE88C088CA88CB88CC88CD88CE88D188D288D388DB88DE88E7 +88EF88F088F188F588F789018906890D890E890F8915891689188919891A891C +892089268927892889308931893289358939893A893E89408942894589468949 +894F89528957895A895B895C896189628963896B896E897089738975897A0000 +0000000000000000000000000000000000000000000000000000000000000000 +0000000000000000000000000000000000000000000000000000000000000000 +0000000000000000000000000000000000000000000000000000000000000000 +0000000000000000000000000000000000000000000000000000000000000000 +0000000000000000000000000000000000000000000000000000000000000000 +0000000000000000000000000000000000000000000000000000000000000000 +0000000000000000000000000000000000000000000000000000000000000000 +0000000000000000000000000000000000000000000000000000000000000000 +5D +0000000000000000000000000000000000000000000000000000000000000000 +0000000000000000000000000000000000000000000000000000000000000000 +0000897B897C897D8989898D899089948995899B899C899F89A089A589B089B4 +89B589B689B789BC89D489D589D689D789D889E589E989EB89ED89F189F389F6 +89F989FD89FF8A048A058A078A0F8A118A128A148A158A1E8A208A228A248A26 +8A2B8A2C8A2F8A358A378A3D8A3E8A408A438A458A478A498A4D8A4E8A538A56 +8A578A588A5C8A5D8A618A658A678A758A768A778A798A7A8A7B8A7E8A7F8A80 +8A838A868A8B8A8F8A908A928A968A978A998A9F8AA78AA98AAE8AAF8AB30000 +0000000000000000000000000000000000000000000000000000000000000000 +0000000000000000000000000000000000000000000000000000000000000000 +0000000000000000000000000000000000000000000000000000000000000000 +0000000000000000000000000000000000000000000000000000000000000000 +0000000000000000000000000000000000000000000000000000000000000000 +0000000000000000000000000000000000000000000000000000000000000000 +0000000000000000000000000000000000000000000000000000000000000000 +0000000000000000000000000000000000000000000000000000000000000000 +5E +0000000000000000000000000000000000000000000000000000000000000000 +0000000000000000000000000000000000000000000000000000000000000000 +00008AB68AB78ABB8ABE8AC38AC68AC88AC98ACA8AD18AD38AD48AD58AD78ADD +8ADF8AEC8AF08AF48AF58AF68AFC8AFF8B058B068B0B8B118B1C8B1E8B1F8B0A +8B2D8B308B378B3C8B428B438B448B458B468B488B528B538B548B598B4D8B5E +8B638B6D8B768B788B798B7C8B7E8B818B848B858B8B8B8D8B8F8B948B958B9C +8B9E8B9F8C388C398C3D8C3E8C458C478C498C4B8C4F8C518C538C548C578C58 +8C5B8C5D8C598C638C648C668C688C698C6D8C738C758C768C7B8C7E8C860000 +0000000000000000000000000000000000000000000000000000000000000000 +0000000000000000000000000000000000000000000000000000000000000000 +0000000000000000000000000000000000000000000000000000000000000000 +0000000000000000000000000000000000000000000000000000000000000000 +0000000000000000000000000000000000000000000000000000000000000000 +0000000000000000000000000000000000000000000000000000000000000000 +0000000000000000000000000000000000000000000000000000000000000000 +0000000000000000000000000000000000000000000000000000000000000000 +5F +0000000000000000000000000000000000000000000000000000000000000000 +0000000000000000000000000000000000000000000000000000000000000000 +00008C878C8B8C908C928C938C998C9B8C9C8CA48CB98CBA8CC58CC68CC98CCB +8CCF8CD68CD58CD98CDD8CE18CE88CEC8CEF8CF08CF28CF58CF78CF88CFE8CFF +8D018D038D098D128D178D1B8D658D698D6C8D6E8D7F8D828D848D888D8D8D90 +8D918D958D9E8D9F8DA08DA68DAB8DAC8DAF8DB28DB58DB78DB98DBB8DC08DC5 +8DC68DC78DC88DCA8DCE8DD18DD48DD58DD78DD98DE48DE58DE78DEC8DF08DBC +8DF18DF28DF48DFD8E018E048E058E068E0B8E118E148E168E208E218E220000 +0000000000000000000000000000000000000000000000000000000000000000 +0000000000000000000000000000000000000000000000000000000000000000 +0000000000000000000000000000000000000000000000000000000000000000 +0000000000000000000000000000000000000000000000000000000000000000 +0000000000000000000000000000000000000000000000000000000000000000 +0000000000000000000000000000000000000000000000000000000000000000 +0000000000000000000000000000000000000000000000000000000000000000 +0000000000000000000000000000000000000000000000000000000000000000 +60 +0000000000000000000000000000000000000000000000000000000000000000 +0000000000000000000000000000000000000000000000000000000000000000 +00008E238E268E278E318E338E368E378E388E398E3D8E408E418E4B8E4D8E4E +8E4F8E548E5B8E5C8E5D8E5E8E618E628E698E6C8E6D8E6F8E708E718E798E7A +8E7B8E828E838E898E908E928E958E9A8E9B8E9D8E9E8EA28EA78EA98EAD8EAE +8EB38EB58EBA8EBB8EC08EC18EC38EC48EC78ECF8ED18ED48EDC8EE88EEE8EF0 +8EF18EF78EF98EFA8EED8F008F028F078F088F0F8F108F168F178F188F1E8F20 +8F218F238F258F278F288F2C8F2D8F2E8F348F358F368F378F3A8F408F410000 +0000000000000000000000000000000000000000000000000000000000000000 +0000000000000000000000000000000000000000000000000000000000000000 +0000000000000000000000000000000000000000000000000000000000000000 +0000000000000000000000000000000000000000000000000000000000000000 +0000000000000000000000000000000000000000000000000000000000000000 +0000000000000000000000000000000000000000000000000000000000000000 +0000000000000000000000000000000000000000000000000000000000000000 +0000000000000000000000000000000000000000000000000000000000000000 +61 +0000000000000000000000000000000000000000000000000000000000000000 +0000000000000000000000000000000000000000000000000000000000000000 +00008F438F478F4F8F518F528F538F548F558F588F5D8F5E8F658F9D8FA08FA1 +8FA48FA58FA68FB58FB68FB88FBE8FC08FC18FC68FCA8FCB8FCD8FD08FD28FD3 +8FD58FE08FE38FE48FE88FEE8FF18FF58FF68FFB8FFE900290049008900C9018 +901B90289029902F902A902C902D903390349037903F90439044904C905B905D +906290669067906C90709074907990859088908B908C908E9090909590979098 +9099909B90A090A190A290A590B090B290B390B490B690BD90CC90BE90C30000 +0000000000000000000000000000000000000000000000000000000000000000 +0000000000000000000000000000000000000000000000000000000000000000 +0000000000000000000000000000000000000000000000000000000000000000 +0000000000000000000000000000000000000000000000000000000000000000 +0000000000000000000000000000000000000000000000000000000000000000 +0000000000000000000000000000000000000000000000000000000000000000 +0000000000000000000000000000000000000000000000000000000000000000 +0000000000000000000000000000000000000000000000000000000000000000 +62 +0000000000000000000000000000000000000000000000000000000000000000 +0000000000000000000000000000000000000000000000000000000000000000 +000090C490C590C790C890D590D790D890D990DC90DD90DF90E590D290F690EB +90EF90F090F490FE90FF91009104910591069108910D91109114911691179118 +911A911C911E912091259122912391279129912E912F91319134913691379139 +913A913C913D914391479148914F915391579159915A915B916191649167916D +91749179917A917B9181918391859186918A918E91919193919491959198919E +91A191A691A891AC91AD91AE91B091B191B291B391B691BB91BC91BD91BF0000 +0000000000000000000000000000000000000000000000000000000000000000 +0000000000000000000000000000000000000000000000000000000000000000 +0000000000000000000000000000000000000000000000000000000000000000 +0000000000000000000000000000000000000000000000000000000000000000 +0000000000000000000000000000000000000000000000000000000000000000 +0000000000000000000000000000000000000000000000000000000000000000 +0000000000000000000000000000000000000000000000000000000000000000 +0000000000000000000000000000000000000000000000000000000000000000 +63 +0000000000000000000000000000000000000000000000000000000000000000 +0000000000000000000000000000000000000000000000000000000000000000 +000091C291C391C591D391D491D791D991DA91DE91E491E591E991EA91EC91ED +91EE91EF91F091F191F791F991FB91FD9200920192049205920692079209920A +920C92109212921392169218921C921D92239224922592269228922E922F9230 +92339235923692389239923A923C923E92409242924392469247924A924D924E +924F925192589259925C925D926092619265926792689269926E926F92709275 +9276927792789279927B927C927D927F92889289928A928D928E929292970000 +0000000000000000000000000000000000000000000000000000000000000000 +0000000000000000000000000000000000000000000000000000000000000000 +0000000000000000000000000000000000000000000000000000000000000000 +0000000000000000000000000000000000000000000000000000000000000000 +0000000000000000000000000000000000000000000000000000000000000000 +0000000000000000000000000000000000000000000000000000000000000000 +0000000000000000000000000000000000000000000000000000000000000000 +0000000000000000000000000000000000000000000000000000000000000000 +64 +0000000000000000000000000000000000000000000000000000000000000000 +0000000000000000000000000000000000000000000000000000000000000000 +00009299929F92A092A492A592A792A892AB92AF92B292B692B892BA92BB92BC +92BD92BF92C092C192C292C392C592C692C792C892CB92CC92CD92CE92D092D3 +92D592D792D892D992DC92DD92DF92E092E192E392E592E792E892EC92EE92F0 +92F992FB92FF930093029308930D931193149315931C931D931E931F93219324 +932593279329932A933393349336933793479348934993509351935293559357 +9358935A935E9364936593679369936A936D936F937093719373937493760000 +0000000000000000000000000000000000000000000000000000000000000000 +0000000000000000000000000000000000000000000000000000000000000000 +0000000000000000000000000000000000000000000000000000000000000000 +0000000000000000000000000000000000000000000000000000000000000000 +0000000000000000000000000000000000000000000000000000000000000000 +0000000000000000000000000000000000000000000000000000000000000000 +0000000000000000000000000000000000000000000000000000000000000000 +0000000000000000000000000000000000000000000000000000000000000000 +65 +0000000000000000000000000000000000000000000000000000000000000000 +0000000000000000000000000000000000000000000000000000000000000000 +0000937A937D937F9380938193829388938A938B938D938F939293959398939B +939E93A193A393A493A693A893AB93B493B593B693BA93A993C193C493C593C6 +93C793C993CA93CB93CC93CD93D393D993DC93DE93DF93E293E693E793F993F7 +93F893FA93FB93FD94019402940494089409940D940E940F941594169417941F +942E942F9431943294339434943B943F943D944394459448944A944C94559459 +945C945F946194639468946B946D946E946F9471947294849483957895790000 +0000000000000000000000000000000000000000000000000000000000000000 +0000000000000000000000000000000000000000000000000000000000000000 +0000000000000000000000000000000000000000000000000000000000000000 +0000000000000000000000000000000000000000000000000000000000000000 +0000000000000000000000000000000000000000000000000000000000000000 +0000000000000000000000000000000000000000000000000000000000000000 +0000000000000000000000000000000000000000000000000000000000000000 +0000000000000000000000000000000000000000000000000000000000000000 +66 +0000000000000000000000000000000000000000000000000000000000000000 +0000000000000000000000000000000000000000000000000000000000000000 +0000957E95849588958C958D958E959D959E959F95A195A695A995AB95AC95B4 +95B695BA95BD95BF95C695C895C995CB95D095D195D295D395D995DA95DD95DE +95DF95E095E495E6961D961E9622962496259626962C96319633963796389639 +963A963C963D9641965296549656965796589661966E9674967B967C967E967F +9681968296839684968996919696969A969D969F96A496A596A696A996AE96AF +96B396BA96CA96D25DB296D896DA96DD96DE96DF96E996EF96F196FA97020000 +0000000000000000000000000000000000000000000000000000000000000000 +0000000000000000000000000000000000000000000000000000000000000000 +0000000000000000000000000000000000000000000000000000000000000000 +0000000000000000000000000000000000000000000000000000000000000000 +0000000000000000000000000000000000000000000000000000000000000000 +0000000000000000000000000000000000000000000000000000000000000000 +0000000000000000000000000000000000000000000000000000000000000000 +0000000000000000000000000000000000000000000000000000000000000000 +67 +0000000000000000000000000000000000000000000000000000000000000000 +0000000000000000000000000000000000000000000000000000000000000000 +0000970397059709971A971B971D97219722972397289731973397419743974A +974E974F975597579758975A975B97639767976A976E9773977697779778977B +977D977F978097899795979697979799979A979E979F97A297AC97AE97B197B2 +97B597B697B897B997BA97BC97BE97BF97C197C497C597C797C997CA97CC97CD +97CE97D097D197D497D797D897D997DD97DE97E097DB97E197E497EF97F197F4 +97F797F897FA9807980A9819980D980E98149816981C981E9820982398260000 +0000000000000000000000000000000000000000000000000000000000000000 +0000000000000000000000000000000000000000000000000000000000000000 +0000000000000000000000000000000000000000000000000000000000000000 +0000000000000000000000000000000000000000000000000000000000000000 +0000000000000000000000000000000000000000000000000000000000000000 +0000000000000000000000000000000000000000000000000000000000000000 +0000000000000000000000000000000000000000000000000000000000000000 +0000000000000000000000000000000000000000000000000000000000000000 +68 +0000000000000000000000000000000000000000000000000000000000000000 +0000000000000000000000000000000000000000000000000000000000000000 +0000982B982E982F98309832983398359825983E98449847984A985198529853 +985698579859985A9862986398659866986A986C98AB98AD98AE98B098B498B7 +98B898BA98BB98BF98C298C598C898CC98E198E398E598E698E798EA98F398F6 +9902990799089911991599169917991A991B991C991F992299269927992B9931 +99329933993499359939993A993B993C99409941994699479948994D994E9954 +99589959995B995C995E995F9960999B999D999F99A699B099B199B299B50000 +0000000000000000000000000000000000000000000000000000000000000000 +0000000000000000000000000000000000000000000000000000000000000000 +0000000000000000000000000000000000000000000000000000000000000000 +0000000000000000000000000000000000000000000000000000000000000000 +0000000000000000000000000000000000000000000000000000000000000000 +0000000000000000000000000000000000000000000000000000000000000000 +0000000000000000000000000000000000000000000000000000000000000000 +0000000000000000000000000000000000000000000000000000000000000000 +69 +0000000000000000000000000000000000000000000000000000000000000000 +0000000000000000000000000000000000000000000000000000000000000000 +000099B999BA99BD99BF99C399C999D399D499D999DA99DC99DE99E799EA99EB +99EC99F099F499F599F999FD99FE9A029A039A049A0B9A0C9A109A119A169A1E +9A209A229A239A249A279A2D9A2E9A339A359A369A389A479A419A449A4A9A4B +9A4C9A4E9A519A549A569A5D9AAA9AAC9AAE9AAF9AB29AB49AB59AB69AB99ABB +9ABE9ABF9AC19AC39AC69AC89ACE9AD09AD29AD59AD69AD79ADB9ADC9AE09AE4 +9AE59AE79AE99AEC9AF29AF39AF59AF99AFA9AFD9AFF9B009B019B029B030000 +0000000000000000000000000000000000000000000000000000000000000000 +0000000000000000000000000000000000000000000000000000000000000000 +0000000000000000000000000000000000000000000000000000000000000000 +0000000000000000000000000000000000000000000000000000000000000000 +0000000000000000000000000000000000000000000000000000000000000000 +0000000000000000000000000000000000000000000000000000000000000000 +0000000000000000000000000000000000000000000000000000000000000000 +0000000000000000000000000000000000000000000000000000000000000000 +6A +0000000000000000000000000000000000000000000000000000000000000000 +0000000000000000000000000000000000000000000000000000000000000000 +00009B049B059B089B099B0B9B0C9B0D9B0E9B109B129B169B199B1B9B1C9B20 +9B269B2B9B2D9B339B349B359B379B399B3A9B3D9B489B4B9B4C9B559B569B57 +9B5B9B5E9B619B639B659B669B689B6A9B6B9B6C9B6D9B6E9B739B759B779B78 +9B799B7F9B809B849B859B869B879B899B8A9B8B9B8D9B8F9B909B949B9A9B9D +9B9E9BA69BA79BA99BAC9BB09BB19BB29BB79BB89BBB9BBC9BBE9BBF9BC19BC7 +9BC89BCE9BD09BD79BD89BDD9BDF9BE59BE79BEA9BEB9BEF9BF39BF79BF80000 +0000000000000000000000000000000000000000000000000000000000000000 +0000000000000000000000000000000000000000000000000000000000000000 +0000000000000000000000000000000000000000000000000000000000000000 +0000000000000000000000000000000000000000000000000000000000000000 +0000000000000000000000000000000000000000000000000000000000000000 +0000000000000000000000000000000000000000000000000000000000000000 +0000000000000000000000000000000000000000000000000000000000000000 +0000000000000000000000000000000000000000000000000000000000000000 +6B +0000000000000000000000000000000000000000000000000000000000000000 +0000000000000000000000000000000000000000000000000000000000000000 +00009BF99BFA9BFD9BFF9C009C029C0B9C0F9C119C169C189C199C1A9C1C9C1E +9C229C239C269C279C289C299C2A9C319C359C369C379C3D9C419C439C449C45 +9C499C4A9C4E9C4F9C509C539C549C569C589C5B9C5D9C5E9C5F9C639C699C6A +9C5C9C6B9C689C6E9C709C729C759C779C7B9CE69CF29CF79CF99D0B9D029D11 +9D179D189D1C9D1D9D1E9D2F9D309D329D339D349D3A9D3C9D459D3D9D429D43 +9D479D4A9D539D549D5F9D639D629D659D699D6A9D6B9D709D769D779D7B0000 +0000000000000000000000000000000000000000000000000000000000000000 +0000000000000000000000000000000000000000000000000000000000000000 +0000000000000000000000000000000000000000000000000000000000000000 +0000000000000000000000000000000000000000000000000000000000000000 +0000000000000000000000000000000000000000000000000000000000000000 +0000000000000000000000000000000000000000000000000000000000000000 +0000000000000000000000000000000000000000000000000000000000000000 +0000000000000000000000000000000000000000000000000000000000000000 +6C +0000000000000000000000000000000000000000000000000000000000000000 +0000000000000000000000000000000000000000000000000000000000000000 +00009D7C9D7E9D839D849D869D8A9D8D9D8E9D929D939D959D969D979D989DA1 +9DAA9DAC9DAE9DB19DB59DB99DBC9DBF9DC39DC79DC99DCA9DD49DD59DD69DD7 +9DDA9DDE9DDF9DE09DE59DE79DE99DEB9DEE9DF09DF39DF49DFE9E0A9E029E07 +9E0E9E109E119E129E159E169E199E1C9E1D9E7A9E7B9E7C9E809E829E839E84 +9E859E879E8E9E8F9E969E989E9B9E9E9EA49EA89EAC9EAE9EAF9EB09EB39EB4 +9EB59EC69EC89ECB9ED59EDF9EE49EE79EEC9EED9EEE9EF09EF19EF29EF50000 +0000000000000000000000000000000000000000000000000000000000000000 +0000000000000000000000000000000000000000000000000000000000000000 +0000000000000000000000000000000000000000000000000000000000000000 +0000000000000000000000000000000000000000000000000000000000000000 +0000000000000000000000000000000000000000000000000000000000000000 +0000000000000000000000000000000000000000000000000000000000000000 +0000000000000000000000000000000000000000000000000000000000000000 +0000000000000000000000000000000000000000000000000000000000000000 +6D +0000000000000000000000000000000000000000000000000000000000000000 +0000000000000000000000000000000000000000000000000000000000000000 +00009EF89EFF9F029F039F099F0F9F109F119F129F149F169F179F199F1A9F1B +9F1F9F229F269F2A9F2B9F2F9F319F329F349F379F399F3A9F3C9F3D9F3F9F41 +9F439F449F459F469F479F539F559F569F579F589F5A9F5D9F5E9F689F699F6D +9F6E9F6F9F709F719F739F759F7A9F7D9F8F9F909F919F929F949F969F979F9E +9FA19FA29FA39FA5000000000000000000000000000000000000000000000000 +0000000000000000000000000000000000000000000000000000000000000000 +0000000000000000000000000000000000000000000000000000000000000000 +0000000000000000000000000000000000000000000000000000000000000000 +0000000000000000000000000000000000000000000000000000000000000000 +0000000000000000000000000000000000000000000000000000000000000000 +0000000000000000000000000000000000000000000000000000000000000000 +0000000000000000000000000000000000000000000000000000000000000000 +0000000000000000000000000000000000000000000000000000000000000000 +0000000000000000000000000000000000000000000000000000000000000000 diff --git a/shared/package-files/24/24b14dd7233c0fc0fd79b766922a1a9529931837896b22ccccacc51276710e91/test_autocall.py b/shared/package-files/24/24b14dd7233c0fc0fd79b766922a1a9529931837896b22ccccacc51276710e91/test_autocall.py new file mode 100644 index 0000000000000000000000000000000000000000..925a1ccae3758683dcee9e8235ae8b9d8969057d --- /dev/null +++ b/shared/package-files/24/24b14dd7233c0fc0fd79b766922a1a9529931837896b22ccccacc51276710e91/test_autocall.py @@ -0,0 +1,67 @@ +"""These kinds of tests are less than ideal, but at least they run. + +This was an old test that was being run interactively in the top-level tests/ +directory, which we are removing. For now putting this here ensures at least +we do run the test, though ultimately this functionality should all be tested +with better-isolated tests that don't rely on the global instance in iptest. +""" +from IPython.core.splitinput import LineInfo +from IPython.core.prefilter import AutocallChecker + + +def doctest_autocall(): + """ + In [1]: def f1(a,b,c): + ...: return a+b+c + ...: + + In [2]: def f2(a): + ...: return a + a + ...: + + In [3]: def r(x): + ...: return True + ...: + + In [4]: ;f2 a b c + Out[4]: 'a b ca b c' + + In [5]: assert _ == "a b ca b c" + + In [6]: ,f1 a b c + Out[6]: 'abc' + + In [7]: assert _ == 'abc' + + In [8]: print(_) + abc + + In [9]: /f1 1,2,3 + Out[9]: 6 + + In [10]: assert _ == 6 + + In [11]: /f2 4 + Out[11]: 8 + + In [12]: assert _ == 8 + + In [12]: del f1, f2 + + In [13]: ,r a + Out[13]: True + + In [14]: assert _ == True + + In [15]: r'a' + Out[15]: 'a' + + In [16]: assert _ == 'a' + """ + + +def test_autocall_should_ignore_raw_strings(): + line_info = LineInfo("r'a'") + pm = ip.prefilter_manager + ac = AutocallChecker(shell=pm.shell, prefilter_manager=pm, config=pm.config) + assert ac.check(line_info) is None diff --git a/shared/package-files/24/24b213e9000a0fce7813933d6121b1e9c025e2b1baf100dbb5d1ed9e628c5664/_test_string_default_native.h b/shared/package-files/24/24b213e9000a0fce7813933d6121b1e9c025e2b1baf100dbb5d1ed9e628c5664/_test_string_default_native.h new file mode 100644 index 0000000000000000000000000000000000000000..2d64fcf47accf1ca5222c1156a039c953a4275ca --- /dev/null +++ b/shared/package-files/24/24b213e9000a0fce7813933d6121b1e9c025e2b1baf100dbb5d1ed9e628c5664/_test_string_default_native.h @@ -0,0 +1,21 @@ +#pragma once + +// @generated by torchgen/gen.py from NativeFunction.h + +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include + + +namespace at { +namespace native { +TORCH_API at::Tensor _test_string_default(const at::Tensor & dummy, c10::string_view a="\"'\\", c10::string_view b="\"'\\"); +} // namespace native +} // namespace at diff --git a/shared/package-files/24/24b454c50675139de67406a8e1401818d00d4779b638d8a806d41dd330fd1659/ops.py b/shared/package-files/24/24b454c50675139de67406a8e1401818d00d4779b638d8a806d41dd330fd1659/ops.py new file mode 100644 index 0000000000000000000000000000000000000000..e44c28f656eccf5744e0db8aa70dfbc9ac076f15 --- /dev/null +++ b/shared/package-files/24/24b454c50675139de67406a8e1401818d00d4779b638d8a806d41dd330fd1659/ops.py @@ -0,0 +1,1217 @@ +""" +Provide classes to perform the groupby aggregate operations. + +These are not exposed to the user and provide implementations of the grouping +operations, primarily in cython. These classes (BaseGrouper and BinGrouper) +are contained *in* the SeriesGroupBy and DataFrameGroupBy objects. +""" +from __future__ import annotations + +import collections +import functools +from typing import ( + TYPE_CHECKING, + Any, + Callable, + Generic, + final, +) + +import numpy as np + +from pandas._libs import ( + NaT, + lib, +) +import pandas._libs.groupby as libgroupby +from pandas._typing import ( + ArrayLike, + AxisInt, + NDFrameT, + Shape, + npt, +) +from pandas.errors import AbstractMethodError +from pandas.util._decorators import cache_readonly + +from pandas.core.dtypes.cast import ( + maybe_cast_pointwise_result, + maybe_downcast_to_dtype, +) +from pandas.core.dtypes.common import ( + ensure_float64, + ensure_int64, + ensure_platform_int, + ensure_uint64, + is_1d_only_ea_dtype, +) +from pandas.core.dtypes.missing import ( + isna, + maybe_fill, +) + +from pandas.core.frame import DataFrame +from pandas.core.groupby import grouper +from pandas.core.indexes.api import ( + CategoricalIndex, + Index, + MultiIndex, + ensure_index, +) +from pandas.core.series import Series +from pandas.core.sorting import ( + compress_group_index, + decons_obs_group_ids, + get_flattened_list, + get_group_index, + get_group_index_sorter, + get_indexer_dict, +) + +if TYPE_CHECKING: + from collections.abc import ( + Hashable, + Iterator, + Sequence, + ) + + from pandas.core.generic import NDFrame + + +def check_result_array(obj, dtype) -> None: + # Our operation is supposed to be an aggregation/reduction. If + # it returns an ndarray, this likely means an invalid operation has + # been passed. See test_apply_without_aggregation, test_agg_must_agg + if isinstance(obj, np.ndarray): + if dtype != object: + # If it is object dtype, the function can be a reduction/aggregation + # and still return an ndarray e.g. test_agg_over_numpy_arrays + raise ValueError("Must produce aggregated value") + + +def extract_result(res): + """ + Extract the result object, it might be a 0-dim ndarray + or a len-1 0-dim, or a scalar + """ + if hasattr(res, "_values"): + # Preserve EA + res = res._values + if res.ndim == 1 and len(res) == 1: + # see test_agg_lambda_with_timezone, test_resampler_grouper.py::test_apply + res = res[0] + return res + + +class WrappedCythonOp: + """ + Dispatch logic for functions defined in _libs.groupby + + Parameters + ---------- + kind: str + Whether the operation is an aggregate or transform. + how: str + Operation name, e.g. "mean". + has_dropped_na: bool + True precisely when dropna=True and the grouper contains a null value. + """ + + # Functions for which we do _not_ attempt to cast the cython result + # back to the original dtype. + cast_blocklist = frozenset( + ["any", "all", "rank", "count", "size", "idxmin", "idxmax"] + ) + + def __init__(self, kind: str, how: str, has_dropped_na: bool) -> None: + self.kind = kind + self.how = how + self.has_dropped_na = has_dropped_na + + _CYTHON_FUNCTIONS: dict[str, dict] = { + "aggregate": { + "any": functools.partial(libgroupby.group_any_all, val_test="any"), + "all": functools.partial(libgroupby.group_any_all, val_test="all"), + "sum": "group_sum", + "prod": "group_prod", + "idxmin": functools.partial(libgroupby.group_idxmin_idxmax, name="idxmin"), + "idxmax": functools.partial(libgroupby.group_idxmin_idxmax, name="idxmax"), + "min": "group_min", + "max": "group_max", + "mean": "group_mean", + "median": "group_median_float64", + "var": "group_var", + "std": functools.partial(libgroupby.group_var, name="std"), + "sem": functools.partial(libgroupby.group_var, name="sem"), + "skew": "group_skew", + "first": "group_nth", + "last": "group_last", + "ohlc": "group_ohlc", + }, + "transform": { + "cumprod": "group_cumprod", + "cumsum": "group_cumsum", + "cummin": "group_cummin", + "cummax": "group_cummax", + "rank": "group_rank", + }, + } + + _cython_arity = {"ohlc": 4} # OHLC + + @classmethod + def get_kind_from_how(cls, how: str) -> str: + if how in cls._CYTHON_FUNCTIONS["aggregate"]: + return "aggregate" + return "transform" + + # Note: we make this a classmethod and pass kind+how so that caching + # works at the class level and not the instance level + @classmethod + @functools.cache + def _get_cython_function( + cls, kind: str, how: str, dtype: np.dtype, is_numeric: bool + ): + dtype_str = dtype.name + ftype = cls._CYTHON_FUNCTIONS[kind][how] + + # see if there is a fused-type version of function + # only valid for numeric + if callable(ftype): + f = ftype + else: + f = getattr(libgroupby, ftype) + if is_numeric: + return f + elif dtype == np.dtype(object): + if how in ["median", "cumprod"]: + # no fused types -> no __signatures__ + raise NotImplementedError( + f"function is not implemented for this dtype: " + f"[how->{how},dtype->{dtype_str}]" + ) + elif how in ["std", "sem", "idxmin", "idxmax"]: + # We have a partial object that does not have __signatures__ + return f + elif how == "skew": + # _get_cython_vals will convert to float64 + pass + elif "object" not in f.__signatures__: + # raise NotImplementedError here rather than TypeError later + raise NotImplementedError( + f"function is not implemented for this dtype: " + f"[how->{how},dtype->{dtype_str}]" + ) + return f + else: + raise NotImplementedError( + "This should not be reached. Please report a bug at " + "github.com/pandas-dev/pandas/", + dtype, + ) + + def _get_cython_vals(self, values: np.ndarray) -> np.ndarray: + """ + Cast numeric dtypes to float64 for functions that only support that. + + Parameters + ---------- + values : np.ndarray + + Returns + ------- + values : np.ndarray + """ + how = self.how + + if how in ["median", "std", "sem", "skew"]: + # median only has a float64 implementation + # We should only get here with is_numeric, as non-numeric cases + # should raise in _get_cython_function + values = ensure_float64(values) + + elif values.dtype.kind in "iu": + if how in ["var", "mean"] or ( + self.kind == "transform" and self.has_dropped_na + ): + # has_dropped_na check need for test_null_group_str_transformer + # result may still include NaN, so we have to cast + values = ensure_float64(values) + + elif how in ["sum", "ohlc", "prod", "cumsum", "cumprod"]: + # Avoid overflow during group op + if values.dtype.kind == "i": + values = ensure_int64(values) + else: + values = ensure_uint64(values) + + return values + + def _get_output_shape(self, ngroups: int, values: np.ndarray) -> Shape: + how = self.how + kind = self.kind + + arity = self._cython_arity.get(how, 1) + + out_shape: Shape + if how == "ohlc": + out_shape = (ngroups, arity) + elif arity > 1: + raise NotImplementedError( + "arity of more than 1 is not supported for the 'how' argument" + ) + elif kind == "transform": + out_shape = values.shape + else: + out_shape = (ngroups,) + values.shape[1:] + return out_shape + + def _get_out_dtype(self, dtype: np.dtype) -> np.dtype: + how = self.how + + if how == "rank": + out_dtype = "float64" + elif how in ["idxmin", "idxmax"]: + # The Cython implementation only produces the row number; we'll take + # from the index using this in post processing + out_dtype = "intp" + else: + if dtype.kind in "iufcb": + out_dtype = f"{dtype.kind}{dtype.itemsize}" + else: + out_dtype = "object" + return np.dtype(out_dtype) + + def _get_result_dtype(self, dtype: np.dtype) -> np.dtype: + """ + Get the desired dtype of a result based on the + input dtype and how it was computed. + + Parameters + ---------- + dtype : np.dtype + + Returns + ------- + np.dtype + The desired dtype of the result. + """ + how = self.how + + if how in ["sum", "cumsum", "sum", "prod", "cumprod"]: + if dtype == np.dtype(bool): + return np.dtype(np.int64) + elif how in ["mean", "median", "var", "std", "sem"]: + if dtype.kind in "fc": + return dtype + elif dtype.kind in "iub": + return np.dtype(np.float64) + return dtype + + @final + def _cython_op_ndim_compat( + self, + values: np.ndarray, + *, + min_count: int, + ngroups: int, + comp_ids: np.ndarray, + mask: npt.NDArray[np.bool_] | None = None, + result_mask: npt.NDArray[np.bool_] | None = None, + initial: Any = 0, + **kwargs, + ) -> np.ndarray: + if values.ndim == 1: + # expand to 2d, dispatch, then squeeze if appropriate + values2d = values[None, :] + if mask is not None: + mask = mask[None, :] + if result_mask is not None: + result_mask = result_mask[None, :] + res = self._call_cython_op( + values2d, + min_count=min_count, + ngroups=ngroups, + comp_ids=comp_ids, + mask=mask, + result_mask=result_mask, + initial=initial, + **kwargs, + ) + if res.shape[0] == 1: + return res[0] + + # otherwise we have OHLC + return res.T + + return self._call_cython_op( + values, + min_count=min_count, + ngroups=ngroups, + comp_ids=comp_ids, + mask=mask, + result_mask=result_mask, + initial=initial, + **kwargs, + ) + + @final + def _call_cython_op( + self, + values: np.ndarray, # np.ndarray[ndim=2] + *, + min_count: int, + ngroups: int, + comp_ids: np.ndarray, + mask: npt.NDArray[np.bool_] | None, + result_mask: npt.NDArray[np.bool_] | None, + initial: Any = 0, + **kwargs, + ) -> np.ndarray: # np.ndarray[ndim=2] + orig_values = values + + dtype = values.dtype + is_numeric = dtype.kind in "iufcb" + + is_datetimelike = dtype.kind in "mM" + + if is_datetimelike: + values = values.view("int64") + is_numeric = True + elif dtype.kind == "b": + values = values.view("uint8") + if values.dtype == "float16": + values = values.astype(np.float32) + + if self.how in ["any", "all"]: + if mask is None: + mask = isna(values) + if dtype == object: + if kwargs["skipna"]: + # GH#37501: don't raise on pd.NA when skipna=True + if mask.any(): + # mask on original values computed separately + values = values.copy() + values[mask] = True + values = values.astype(bool, copy=False).view(np.int8) + is_numeric = True + + values = values.T + if mask is not None: + mask = mask.T + if result_mask is not None: + result_mask = result_mask.T + + out_shape = self._get_output_shape(ngroups, values) + func = self._get_cython_function(self.kind, self.how, values.dtype, is_numeric) + values = self._get_cython_vals(values) + out_dtype = self._get_out_dtype(values.dtype) + + result = maybe_fill(np.empty(out_shape, dtype=out_dtype)) + if self.kind == "aggregate": + counts = np.zeros(ngroups, dtype=np.int64) + if self.how in [ + "idxmin", + "idxmax", + "min", + "max", + "mean", + "last", + "first", + "sum", + ]: + if self.how == "sum": + # pass in through kwargs only for sum (other functions don't have + # the keyword) + kwargs["initial"] = initial + func( + out=result, + counts=counts, + values=values, + labels=comp_ids, + min_count=min_count, + mask=mask, + result_mask=result_mask, + is_datetimelike=is_datetimelike, + **kwargs, + ) + elif self.how in ["sem", "std", "var", "ohlc", "prod", "median"]: + if self.how in ["std", "sem"]: + kwargs["is_datetimelike"] = is_datetimelike + func( + result, + counts, + values, + comp_ids, + min_count=min_count, + mask=mask, + result_mask=result_mask, + **kwargs, + ) + elif self.how in ["any", "all"]: + func( + out=result, + values=values, + labels=comp_ids, + mask=mask, + result_mask=result_mask, + **kwargs, + ) + result = result.astype(bool, copy=False) + elif self.how in ["skew"]: + func( + out=result, + counts=counts, + values=values, + labels=comp_ids, + mask=mask, + result_mask=result_mask, + **kwargs, + ) + if dtype == object: + result = result.astype(object) + + else: + raise NotImplementedError(f"{self.how} is not implemented") + else: + # TODO: min_count + if self.how != "rank": + # TODO: should rank take result_mask? + kwargs["result_mask"] = result_mask + func( + out=result, + values=values, + labels=comp_ids, + ngroups=ngroups, + is_datetimelike=is_datetimelike, + mask=mask, + **kwargs, + ) + + if self.kind == "aggregate" and self.how not in ["idxmin", "idxmax"]: + # i.e. counts is defined. Locations where count None: + if values.ndim > 2: + raise NotImplementedError("number of dimensions is currently limited to 2") + if values.ndim == 2: + assert axis == 1, axis + elif not is_1d_only_ea_dtype(values.dtype): + # Note: it is *not* the case that axis is always 0 for 1-dim values, + # as we can have 1D ExtensionArrays that we need to treat as 2D + assert axis == 0 + + @final + def cython_operation( + self, + *, + values: ArrayLike, + axis: AxisInt, + min_count: int = -1, + comp_ids: np.ndarray, + ngroups: int, + **kwargs, + ) -> ArrayLike: + """ + Call our cython function, with appropriate pre- and post- processing. + """ + self._validate_axis(axis, values) + + if not isinstance(values, np.ndarray): + # i.e. ExtensionArray + return values._groupby_op( + how=self.how, + has_dropped_na=self.has_dropped_na, + min_count=min_count, + ngroups=ngroups, + ids=comp_ids, + **kwargs, + ) + + return self._cython_op_ndim_compat( + values, + min_count=min_count, + ngroups=ngroups, + comp_ids=comp_ids, + mask=None, + **kwargs, + ) + + +class BaseGrouper: + """ + This is an internal Grouper class, which actually holds + the generated groups + + Parameters + ---------- + axis : Index + groupings : Sequence[Grouping] + all the grouping instances to handle in this grouper + for example for grouper list to groupby, need to pass the list + sort : bool, default True + whether this grouper will give sorted result or not + + """ + + axis: Index + + def __init__( + self, + axis: Index, + groupings: Sequence[grouper.Grouping], + sort: bool = True, + dropna: bool = True, + ) -> None: + assert isinstance(axis, Index), axis + + self.axis = axis + self._groupings: list[grouper.Grouping] = list(groupings) + self._sort = sort + self.dropna = dropna + + @property + def groupings(self) -> list[grouper.Grouping]: + return self._groupings + + @property + def shape(self) -> Shape: + return tuple(ping.ngroups for ping in self.groupings) + + def __iter__(self) -> Iterator[Hashable]: + return iter(self.indices) + + @property + def nkeys(self) -> int: + return len(self.groupings) + + def get_iterator( + self, data: NDFrameT, axis: AxisInt = 0 + ) -> Iterator[tuple[Hashable, NDFrameT]]: + """ + Groupby iterator + + Returns + ------- + Generator yielding sequence of (name, subsetted object) + for each group + """ + splitter = self._get_splitter(data, axis=axis) + keys = self.group_keys_seq + yield from zip(keys, splitter) + + @final + def _get_splitter(self, data: NDFrame, axis: AxisInt = 0) -> DataSplitter: + """ + Returns + ------- + Generator yielding subsetted objects + """ + ids, _, ngroups = self.group_info + return _get_splitter( + data, + ids, + ngroups, + sorted_ids=self._sorted_ids, + sort_idx=self._sort_idx, + axis=axis, + ) + + @final + @cache_readonly + def group_keys_seq(self): + if len(self.groupings) == 1: + return self.levels[0] + else: + ids, _, ngroups = self.group_info + + # provide "flattened" iterator for multi-group setting + return get_flattened_list(ids, ngroups, self.levels, self.codes) + + @cache_readonly + def indices(self) -> dict[Hashable, npt.NDArray[np.intp]]: + """dict {group name -> group indices}""" + if len(self.groupings) == 1 and isinstance(self.result_index, CategoricalIndex): + # This shows unused categories in indices GH#38642 + return self.groupings[0].indices + codes_list = [ping.codes for ping in self.groupings] + keys = [ping._group_index for ping in self.groupings] + return get_indexer_dict(codes_list, keys) + + @final + def result_ilocs(self) -> npt.NDArray[np.intp]: + """ + Get the original integer locations of result_index in the input. + """ + # Original indices are where group_index would go via sorting. + # But when dropna is true, we need to remove null values while accounting for + # any gaps that then occur because of them. + group_index = get_group_index( + self.codes, self.shape, sort=self._sort, xnull=True + ) + group_index, _ = compress_group_index(group_index, sort=self._sort) + + if self.has_dropped_na: + mask = np.where(group_index >= 0) + # Count how many gaps are caused by previous null values for each position + null_gaps = np.cumsum(group_index == -1)[mask] + group_index = group_index[mask] + + result = get_group_index_sorter(group_index, self.ngroups) + + if self.has_dropped_na: + # Shift by the number of prior null gaps + result += np.take(null_gaps, result) + + return result + + @final + @property + def codes(self) -> list[npt.NDArray[np.signedinteger]]: + return [ping.codes for ping in self.groupings] + + @property + def levels(self) -> list[Index]: + return [ping._group_index for ping in self.groupings] + + @property + def names(self) -> list[Hashable]: + return [ping.name for ping in self.groupings] + + @final + def size(self) -> Series: + """ + Compute group sizes. + """ + ids, _, ngroups = self.group_info + out: np.ndarray | list + if ngroups: + out = np.bincount(ids[ids != -1], minlength=ngroups) + else: + out = [] + return Series(out, index=self.result_index, dtype="int64", copy=False) + + @cache_readonly + def groups(self) -> dict[Hashable, np.ndarray]: + """dict {group name -> group labels}""" + if len(self.groupings) == 1: + return self.groupings[0].groups + else: + to_groupby = [] + for ping in self.groupings: + gv = ping.grouping_vector + if not isinstance(gv, BaseGrouper): + to_groupby.append(gv) + else: + to_groupby.append(gv.groupings[0].grouping_vector) + index = MultiIndex.from_arrays(to_groupby) + return self.axis.groupby(index) + + @final + @cache_readonly + def is_monotonic(self) -> bool: + # return if my group orderings are monotonic + return Index(self.group_info[0]).is_monotonic_increasing + + @final + @cache_readonly + def has_dropped_na(self) -> bool: + """ + Whether grouper has null value(s) that are dropped. + """ + return bool((self.group_info[0] < 0).any()) + + @cache_readonly + def group_info(self) -> tuple[npt.NDArray[np.intp], npt.NDArray[np.intp], int]: + comp_ids, obs_group_ids = self._get_compressed_codes() + + ngroups = len(obs_group_ids) + comp_ids = ensure_platform_int(comp_ids) + + return comp_ids, obs_group_ids, ngroups + + @cache_readonly + def codes_info(self) -> npt.NDArray[np.intp]: + # return the codes of items in original grouped axis + ids, _, _ = self.group_info + return ids + + @final + def _get_compressed_codes( + self, + ) -> tuple[npt.NDArray[np.signedinteger], npt.NDArray[np.intp]]: + # The first returned ndarray may have any signed integer dtype + if len(self.groupings) > 1: + group_index = get_group_index(self.codes, self.shape, sort=True, xnull=True) + return compress_group_index(group_index, sort=self._sort) + # FIXME: compress_group_index's second return value is int64, not intp + + ping = self.groupings[0] + return ping.codes, np.arange(len(ping._group_index), dtype=np.intp) + + @final + @cache_readonly + def ngroups(self) -> int: + return len(self.result_index) + + @property + def reconstructed_codes(self) -> list[npt.NDArray[np.intp]]: + codes = self.codes + ids, obs_ids, _ = self.group_info + return decons_obs_group_ids(ids, obs_ids, self.shape, codes, xnull=True) + + @cache_readonly + def result_index(self) -> Index: + if len(self.groupings) == 1: + return self.groupings[0]._result_index.rename(self.names[0]) + + codes = self.reconstructed_codes + levels = [ping._result_index for ping in self.groupings] + return MultiIndex( + levels=levels, codes=codes, verify_integrity=False, names=self.names + ) + + @final + def get_group_levels(self) -> list[ArrayLike]: + # Note: only called from _insert_inaxis_grouper, which + # is only called for BaseGrouper, never for BinGrouper + if len(self.groupings) == 1: + return [self.groupings[0]._group_arraylike] + + name_list = [] + for ping, codes in zip(self.groupings, self.reconstructed_codes): + codes = ensure_platform_int(codes) + levels = ping._group_arraylike.take(codes) + + name_list.append(levels) + + return name_list + + # ------------------------------------------------------------ + # Aggregation functions + + @final + def _cython_operation( + self, + kind: str, + values, + how: str, + axis: AxisInt, + min_count: int = -1, + **kwargs, + ) -> ArrayLike: + """ + Returns the values of a cython operation. + """ + assert kind in ["transform", "aggregate"] + + cy_op = WrappedCythonOp(kind=kind, how=how, has_dropped_na=self.has_dropped_na) + + ids, _, _ = self.group_info + ngroups = self.ngroups + return cy_op.cython_operation( + values=values, + axis=axis, + min_count=min_count, + comp_ids=ids, + ngroups=ngroups, + **kwargs, + ) + + @final + def agg_series( + self, obj: Series, func: Callable, preserve_dtype: bool = False + ) -> ArrayLike: + """ + Parameters + ---------- + obj : Series + func : function taking a Series and returning a scalar-like + preserve_dtype : bool + Whether the aggregation is known to be dtype-preserving. + + Returns + ------- + np.ndarray or ExtensionArray + """ + + if not isinstance(obj._values, np.ndarray): + # we can preserve a little bit more aggressively with EA dtype + # because maybe_cast_pointwise_result will do a try/except + # with _from_sequence. NB we are assuming here that _from_sequence + # is sufficiently strict that it casts appropriately. + preserve_dtype = True + + result = self._aggregate_series_pure_python(obj, func) + + npvalues = lib.maybe_convert_objects(result, try_float=False) + if preserve_dtype: + out = maybe_cast_pointwise_result(npvalues, obj.dtype, numeric_only=True) + else: + out = npvalues + return out + + @final + def _aggregate_series_pure_python( + self, obj: Series, func: Callable + ) -> npt.NDArray[np.object_]: + _, _, ngroups = self.group_info + + result = np.empty(ngroups, dtype="O") + initialized = False + + splitter = self._get_splitter(obj, axis=0) + + for i, group in enumerate(splitter): + res = func(group) + res = extract_result(res) + + if not initialized: + # We only do this validation on the first iteration + check_result_array(res, group.dtype) + initialized = True + + result[i] = res + + return result + + @final + def apply_groupwise( + self, f: Callable, data: DataFrame | Series, axis: AxisInt = 0 + ) -> tuple[list, bool]: + mutated = False + splitter = self._get_splitter(data, axis=axis) + group_keys = self.group_keys_seq + result_values = [] + + # This calls DataSplitter.__iter__ + zipped = zip(group_keys, splitter) + + for key, group in zipped: + # Pinning name is needed for + # test_group_apply_once_per_group, + # test_inconsistent_return_type, test_set_group_name, + # test_group_name_available_in_inference_pass, + # test_groupby_multi_timezone + object.__setattr__(group, "name", key) + + # group might be modified + group_axes = group.axes + res = f(group) + if not mutated and not _is_indexed_like(res, group_axes, axis): + mutated = True + result_values.append(res) + # getattr pattern for __name__ is needed for functools.partial objects + if len(group_keys) == 0 and getattr(f, "__name__", None) in [ + "skew", + "sum", + "prod", + ]: + # If group_keys is empty, then no function calls have been made, + # so we will not have raised even if this is an invalid dtype. + # So do one dummy call here to raise appropriate TypeError. + f(data.iloc[:0]) + + return result_values, mutated + + # ------------------------------------------------------------ + # Methods for sorting subsets of our GroupBy's object + + @final + @cache_readonly + def _sort_idx(self) -> npt.NDArray[np.intp]: + # Counting sort indexer + ids, _, ngroups = self.group_info + return get_group_index_sorter(ids, ngroups) + + @final + @cache_readonly + def _sorted_ids(self) -> npt.NDArray[np.intp]: + ids, _, _ = self.group_info + return ids.take(self._sort_idx) + + +class BinGrouper(BaseGrouper): + """ + This is an internal Grouper class + + Parameters + ---------- + bins : the split index of binlabels to group the item of axis + binlabels : the label list + indexer : np.ndarray[np.intp], optional + the indexer created by Grouper + some groupers (TimeGrouper) will sort its axis and its + group_info is also sorted, so need the indexer to reorder + + Examples + -------- + bins: [2, 4, 6, 8, 10] + binlabels: DatetimeIndex(['2005-01-01', '2005-01-03', + '2005-01-05', '2005-01-07', '2005-01-09'], + dtype='datetime64[ns]', freq='2D') + + the group_info, which contains the label of each item in grouped + axis, the index of label in label list, group number, is + + (array([0, 0, 1, 1, 2, 2, 3, 3, 4, 4]), array([0, 1, 2, 3, 4]), 5) + + means that, the grouped axis has 10 items, can be grouped into 5 + labels, the first and second items belong to the first label, the + third and forth items belong to the second label, and so on + + """ + + bins: npt.NDArray[np.int64] + binlabels: Index + + def __init__( + self, + bins, + binlabels, + indexer=None, + ) -> None: + self.bins = ensure_int64(bins) + self.binlabels = ensure_index(binlabels) + self.indexer = indexer + + # These lengths must match, otherwise we could call agg_series + # with empty self.bins, which would raise later. + assert len(self.binlabels) == len(self.bins) + + @cache_readonly + def groups(self): + """dict {group name -> group labels}""" + # this is mainly for compat + # GH 3881 + result = { + key: value + for key, value in zip(self.binlabels, self.bins) + if key is not NaT + } + return result + + @property + def nkeys(self) -> int: + # still matches len(self.groupings), but we can hard-code + return 1 + + @cache_readonly + def codes_info(self) -> npt.NDArray[np.intp]: + # return the codes of items in original grouped axis + ids, _, _ = self.group_info + if self.indexer is not None: + sorter = np.lexsort((ids, self.indexer)) + ids = ids[sorter] + return ids + + def get_iterator(self, data: NDFrame, axis: AxisInt = 0): + """ + Groupby iterator + + Returns + ------- + Generator yielding sequence of (name, subsetted object) + for each group + """ + if axis == 0: + slicer = lambda start, edge: data.iloc[start:edge] + else: + slicer = lambda start, edge: data.iloc[:, start:edge] + + length = len(data.axes[axis]) + + start = 0 + for edge, label in zip(self.bins, self.binlabels): + if label is not NaT: + yield label, slicer(start, edge) + start = edge + + if start < length: + yield self.binlabels[-1], slicer(start, None) + + @cache_readonly + def indices(self): + indices = collections.defaultdict(list) + + i = 0 + for label, bin in zip(self.binlabels, self.bins): + if i < bin: + if label is not NaT: + indices[label] = list(range(i, bin)) + i = bin + return indices + + @cache_readonly + def group_info(self) -> tuple[npt.NDArray[np.intp], npt.NDArray[np.intp], int]: + ngroups = self.ngroups + obs_group_ids = np.arange(ngroups, dtype=np.intp) + rep = np.diff(np.r_[0, self.bins]) + + rep = ensure_platform_int(rep) + if ngroups == len(self.bins): + comp_ids = np.repeat(np.arange(ngroups), rep) + else: + comp_ids = np.repeat(np.r_[-1, np.arange(ngroups)], rep) + + return ( + ensure_platform_int(comp_ids), + obs_group_ids, + ngroups, + ) + + @cache_readonly + def reconstructed_codes(self) -> list[np.ndarray]: + # get unique result indices, and prepend 0 as groupby starts from the first + return [np.r_[0, np.flatnonzero(self.bins[1:] != self.bins[:-1]) + 1]] + + @cache_readonly + def result_index(self) -> Index: + if len(self.binlabels) != 0 and isna(self.binlabels[0]): + return self.binlabels[1:] + + return self.binlabels + + @property + def levels(self) -> list[Index]: + return [self.binlabels] + + @property + def names(self) -> list[Hashable]: + return [self.binlabels.name] + + @property + def groupings(self) -> list[grouper.Grouping]: + lev = self.binlabels + codes = self.group_info[0] + labels = lev.take(codes) + ping = grouper.Grouping( + labels, labels, in_axis=False, level=None, uniques=lev._values + ) + return [ping] + + +def _is_indexed_like(obj, axes, axis: AxisInt) -> bool: + if isinstance(obj, Series): + if len(axes) > 1: + return False + return obj.axes[axis].equals(axes[axis]) + elif isinstance(obj, DataFrame): + return obj.axes[axis].equals(axes[axis]) + + return False + + +# ---------------------------------------------------------------------- +# Splitting / application + + +class DataSplitter(Generic[NDFrameT]): + def __init__( + self, + data: NDFrameT, + labels: npt.NDArray[np.intp], + ngroups: int, + *, + sort_idx: npt.NDArray[np.intp], + sorted_ids: npt.NDArray[np.intp], + axis: AxisInt = 0, + ) -> None: + self.data = data + self.labels = ensure_platform_int(labels) # _should_ already be np.intp + self.ngroups = ngroups + + self._slabels = sorted_ids + self._sort_idx = sort_idx + + self.axis = axis + assert isinstance(axis, int), axis + + def __iter__(self) -> Iterator: + sdata = self._sorted_data + + if self.ngroups == 0: + # we are inside a generator, rather than raise StopIteration + # we merely return signal the end + return + + starts, ends = lib.generate_slices(self._slabels, self.ngroups) + + for start, end in zip(starts, ends): + yield self._chop(sdata, slice(start, end)) + + @cache_readonly + def _sorted_data(self) -> NDFrameT: + return self.data.take(self._sort_idx, axis=self.axis) + + def _chop(self, sdata, slice_obj: slice) -> NDFrame: + raise AbstractMethodError(self) + + +class SeriesSplitter(DataSplitter): + def _chop(self, sdata: Series, slice_obj: slice) -> Series: + # fastpath equivalent to `sdata.iloc[slice_obj]` + mgr = sdata._mgr.get_slice(slice_obj) + ser = sdata._constructor_from_mgr(mgr, axes=mgr.axes) + ser._name = sdata.name + return ser.__finalize__(sdata, method="groupby") + + +class FrameSplitter(DataSplitter): + def _chop(self, sdata: DataFrame, slice_obj: slice) -> DataFrame: + # Fastpath equivalent to: + # if self.axis == 0: + # return sdata.iloc[slice_obj] + # else: + # return sdata.iloc[:, slice_obj] + mgr = sdata._mgr.get_slice(slice_obj, axis=1 - self.axis) + df = sdata._constructor_from_mgr(mgr, axes=mgr.axes) + return df.__finalize__(sdata, method="groupby") + + +def _get_splitter( + data: NDFrame, + labels: npt.NDArray[np.intp], + ngroups: int, + *, + sort_idx: npt.NDArray[np.intp], + sorted_ids: npt.NDArray[np.intp], + axis: AxisInt = 0, +) -> DataSplitter: + if isinstance(data, Series): + klass: type[DataSplitter] = SeriesSplitter + else: + # i.e. DataFrame + klass = FrameSplitter + + return klass( + data, labels, ngroups, sort_idx=sort_idx, sorted_ids=sorted_ids, axis=axis + ) diff --git a/shared/package-files/24/24b58de38cd4cb2abd08d1eda6c9454ffde7ed1a33367b457d7702434a0a55ee/es_bo.msg b/shared/package-files/24/24b58de38cd4cb2abd08d1eda6c9454ffde7ed1a33367b457d7702434a0a55ee/es_bo.msg new file mode 100644 index 0000000000000000000000000000000000000000..498ad0d14f2ea7a9d9708803d35559ad937a0dac --- /dev/null +++ b/shared/package-files/24/24b58de38cd4cb2abd08d1eda6c9454ffde7ed1a33367b457d7702434a0a55ee/es_bo.msg @@ -0,0 +1,6 @@ +# created by tools/loadICU.tcl -- do not edit +namespace eval ::tcl::clock { + ::msgcat::mcset es_BO DATE_FORMAT "%d-%m-%Y" + ::msgcat::mcset es_BO TIME_FORMAT_12 "%I:%M:%S %P" + ::msgcat::mcset es_BO DATE_TIME_FORMAT "%d-%m-%Y %I:%M:%S %P %z" +} diff --git a/shared/package-files/24/24b67772a72e2fbecf0d63cfae79f80218380f92130f47658fc98050cb707c6d/wy30-vb b/shared/package-files/24/24b67772a72e2fbecf0d63cfae79f80218380f92130f47658fc98050cb707c6d/wy30-vb new file mode 100644 index 0000000000000000000000000000000000000000..164cf074782b82c121d04d2a042c22f82eb6c587 Binary files /dev/null and b/shared/package-files/24/24b67772a72e2fbecf0d63cfae79f80218380f92130f47658fc98050cb707c6d/wy30-vb differ diff --git a/shared/package-files/24/24b67772a72e2fbecf0d63cfae79f80218380f92130f47658fc98050cb707c6d/wyse30-vb b/shared/package-files/24/24b67772a72e2fbecf0d63cfae79f80218380f92130f47658fc98050cb707c6d/wyse30-vb new file mode 100644 index 0000000000000000000000000000000000000000..164cf074782b82c121d04d2a042c22f82eb6c587 Binary files /dev/null and b/shared/package-files/24/24b67772a72e2fbecf0d63cfae79f80218380f92130f47658fc98050cb707c6d/wyse30-vb differ diff --git a/shared/package-files/24/24b957b7cc7f26a4957af98b64f9ede5b649b1d28c0498096f923095c7ce9ec7/utils.py b/shared/package-files/24/24b957b7cc7f26a4957af98b64f9ede5b649b1d28c0498096f923095c7ce9ec7/utils.py new file mode 100644 index 0000000000000000000000000000000000000000..1002c4649f8dc114f55e1169e3ad5ff23599e256 --- /dev/null +++ b/shared/package-files/24/24b957b7cc7f26a4957af98b64f9ede5b649b1d28c0498096f923095c7ce9ec7/utils.py @@ -0,0 +1,9 @@ +def raises(err, lamda): + try: + lamda() + return False + except err: + return True + + +no_default = '__no__default__' diff --git a/shared/package-files/24/24ba5219de26b8bd9dd351d0fa5e54a9291b3b293ebcd310238efad45d444be3/cross_val.py b/shared/package-files/24/24ba5219de26b8bd9dd351d0fa5e54a9291b3b293ebcd310238efad45d444be3/cross_val.py new file mode 100644 index 0000000000000000000000000000000000000000..0989a17600cd7a4e5e5b0e6529dcceffdcd6379f --- /dev/null +++ b/shared/package-files/24/24ba5219de26b8bd9dd351d0fa5e54a9291b3b293ebcd310238efad45d444be3/cross_val.py @@ -0,0 +1,341 @@ +""" +Utilities for cross validation. + +taken from scikits.learn + +# Author: Alexandre Gramfort , +# Gael Varoquaux +# License: BSD Style. +# $Id$ + +changes to code by josef-pktd: + - docstring formatting: underlines of headers + +""" + +from statsmodels.compat.python import lrange + +from itertools import combinations + +import numpy as np + + +class LeaveOneOut: + """ + Leave-One-Out cross validation iterator: + Provides train/test indexes to split data in train test sets + """ + + def __init__(self, n): + """ + Leave-One-Out cross validation iterator: + Provides train/test indexes to split data in train test sets + + Parameters + ---------- + n: int + Total number of elements + + Examples + -------- + >>> from scikits.learn import cross_val + >>> X = [[1, 2], [3, 4]] + >>> y = [1, 2] + >>> loo = cross_val.LeaveOneOut(2) + >>> for train_index, test_index in loo: + ... print "TRAIN:", train_index, "TEST:", test_index + ... X_train, X_test, y_train, y_test = cross_val.split(train_index, test_index, X, y) + ... print X_train, X_test, y_train, y_test + TRAIN: [False True] TEST: [ True False] + [[3 4]] [[1 2]] [2] [1] + TRAIN: [ True False] TEST: [False True] + [[1 2]] [[3 4]] [1] [2] + """ + self.n = n + + def __iter__(self): + n = self.n + for i in range(n): + test_index = np.zeros(n, dtype=bool) + test_index[i] = True + train_index = np.logical_not(test_index) + yield train_index, test_index + + def __repr__(self): + return f"{self.__class__.__module__}.{self.__class__.__name__}(n={self.n:d})" + + +class LeavePOut: + """ + Leave-P-Out cross validation iterator: + Provides train/test indexes to split data in train test sets + """ + + def __init__(self, n, p): + """ + Leave-P-Out cross validation iterator: + Provides train/test indexes to split data in train test sets + + Parameters + ---------- + n: int + Total number of elements + p: int + Size test sets + + Examples + -------- + >>> from scikits.learn import cross_val + >>> X = [[1, 2], [3, 4], [5, 6], [7, 8]] + >>> y = [1, 2, 3, 4] + >>> lpo = cross_val.LeavePOut(4, 2) + >>> for train_index, test_index in lpo: + ... print "TRAIN:", train_index, "TEST:", test_index + ... X_train, X_test, y_train, y_test = cross_val.split(train_index, test_index, X, y) + TRAIN: [False False True True] TEST: [ True True False False] + TRAIN: [False True False True] TEST: [ True False True False] + TRAIN: [False True True False] TEST: [ True False False True] + TRAIN: [ True False False True] TEST: [False True True False] + TRAIN: [ True False True False] TEST: [False True False True] + TRAIN: [ True True False False] TEST: [False False True True] + """ + self.n = n + self.p = p + + def __iter__(self): + n = self.n + p = self.p + comb = combinations(lrange(n), p) + for idx in comb: + test_index = np.zeros(n, dtype=bool) + test_index[np.array(idx)] = True + train_index = np.logical_not(test_index) + yield train_index, test_index + + def __repr__(self): + return f"{self.__class__.__module__}.{self.__class__.__name__}(n={self.n:d}, p={self.p:d})" + + +class KFold: + """ + K-Folds cross validation iterator: + Provides train/test indexes to split data in train test sets + """ + + def __init__(self, n, k): + """ + K-Folds cross validation iterator: + Provides train/test indexes to split data in train test sets + + Parameters + ---------- + n: int + Total number of elements + k: int + number of folds + + Examples + -------- + >>> from scikits.learn import cross_val + >>> X = [[1, 2], [3, 4], [1, 2], [3, 4]] + >>> y = [1, 2, 3, 4] + >>> kf = cross_val.KFold(4, k=2) + >>> for train_index, test_index in kf: + ... print "TRAIN:", train_index, "TEST:", test_index + ... X_train, X_test, y_train, y_test = cross_val.split(train_index, test_index, X, y) + TRAIN: [False False True True] TEST: [ True True False False] + TRAIN: [ True True False False] TEST: [False False True True] + + Notes + ----- + All the folds have size trunc(n/k), the last one has the complementary + """ + assert k > 0, ValueError("cannot have k below 1") + assert k < n, ValueError(f"cannot have k={k:d} greater than {n:d}") + self.n = n + self.k = k + + def __iter__(self): + n = self.n + k = self.k + j = int(np.ceil(n / k)) + + for i in range(k): + test_index = np.zeros(n, dtype=bool) + if i < k - 1: + test_index[i * j : (i + 1) * j] = True + else: + test_index[i * j :] = True + train_index = np.logical_not(test_index) + yield train_index, test_index + + def __repr__(self): + return f"{self.__class__.__module__}.{self.__class__.__name__}(n={self.n:d}, k={self.k:d})" + + +class LeaveOneLabelOut: + """ + Leave-One-Label_Out cross-validation iterator: + Provides train/test indexes to split data in train test sets + """ + + def __init__(self, labels): + """ + Leave-One-Label_Out cross validation: + Provides train/test indexes to split data in train test sets + + Parameters + ---------- + labels : list + List of labels + + Examples + -------- + >>> from scikits.learn import cross_val + >>> X = [[1, 2], [3, 4], [5, 6], [7, 8]] + >>> y = [1, 2, 1, 2] + >>> labels = [1, 1, 2, 2] + >>> lol = cross_val.LeaveOneLabelOut(labels) + >>> for train_index, test_index in lol: + ... print "TRAIN:", train_index, "TEST:", test_index + ... X_train, X_test, y_train, y_test = cross_val.split(train_index, \ + test_index, X, y) + ... print X_train, X_test, y_train, y_test + TRAIN: [False False True True] TEST: [ True True False False] + [[5 6] + [7 8]] [[1 2] + [3 4]] [1 2] [1 2] + TRAIN: [ True True False False] TEST: [False False True True] + [[1 2] + [3 4]] [[5 6] + [7 8]] [1 2] [1 2] + """ + self.labels = labels + + def __iter__(self): + # We make a copy here to avoid side-effects during iteration + labels = np.array(self.labels, copy=True) + for i in np.unique(labels): + test_index = np.zeros(len(labels), dtype=bool) + test_index[labels == i] = True + train_index = np.logical_not(test_index) + yield train_index, test_index + + def __repr__(self): + return f"{self.__class__.__module__}.{self.__class__.__name__}(labels={self.labels})" + + +def split(train_indexes, test_indexes, *args): + """ + For each arg return a train and test subsets defined by indexes provided + in train_indexes and test_indexes + """ + ret = [] + for arg in args: + arg = np.asanyarray(arg) + arg_train = arg[train_indexes] + arg_test = arg[test_indexes] + ret.append(arg_train) + ret.append(arg_test) + return ret + + +""" + >>> cv = cross_val.LeaveOneLabelOut(X, y) # y making y optional and +possible to add other arrays of the same shape[0] too + >>> for X_train, y_train, X_test, y_test in cv: + ... print np.sqrt((model.fit(X_train, y_train).predict(X_test) +- y_test) ** 2).mean()) +""" + + +# +# below: Author: josef-pktd + + +class KStepAhead: + """ + KStepAhead cross validation iterator: + Provides fit/test indexes to split data in sequential sets + """ + + def __init__(self, n, k=1, start=None, kall=True, return_slice=True): + """ + KStepAhead cross validation iterator: + Provides train/test indexes to split data in train test sets + + Parameters + ---------- + n: int + Total number of elements + k : int + number of steps ahead + start : int + initial size of data for fitting + kall : bool + if true. all values for up to k-step ahead are included in the test index. + If false, then only the k-th step ahead value is returned + return_slice : bool + if true, then the iterator returns slice objects for train and + test indexes. If false, then boolean index arrays are returned + instead, for compatibility with the other iterators in this + module. + + + Notes + ----- + I do not think this is really useful, because it can be done with + a very simple loop instead. + Useful as a plugin, but it could return slices instead for faster array access. + + Examples + -------- + >>> from scikits.learn import cross_val + >>> X = [[1, 2], [3, 4]] + >>> y = [1, 2] + >>> loo = cross_val.LeaveOneOut(2) + >>> for train_index, test_index in loo: + ... print "TRAIN:", train_index, "TEST:", test_index + ... X_train, X_test, y_train, y_test = cross_val.split(train_index, test_index, X, y) + ... print X_train, X_test, y_train, y_test + TRAIN: [False True] TEST: [ True False] + [[3 4]] [[1 2]] [2] [1] + TRAIN: [ True False] TEST: [False True] + [[1 2]] [[3 4]] [1] [2] + """ + self.n = n + self.k = k + if start is None: + start = int(np.trunc(n * 0.25)) # pick something arbitrary + self.start = start + self.kall = kall + self.return_slice = return_slice + + def __iter__(self): + n = self.n + k = self.k + start = self.start + if self.return_slice: + for i in range(start, n - k): + train_slice = slice(None, i, None) + if self.kall: + test_slice = slice(i, i + k) + else: + test_slice = slice(i + k - 1, i + k) + yield train_slice, test_slice + + else: # for compatibility with other iterators + for i in range(start, n - k): + train_index = np.zeros(n, dtype=bool) + train_index[:i] = True + test_index = np.zeros(n, dtype=bool) + if self.kall: + test_index[i : i + k] = True # np.logical_not(test_index) + else: + test_index[i + k - 1 : i + k] = True + # or faster to return np.arange(i,i+k) ? + # returning slice should be faster in this case + yield train_index, test_index + + def __repr__(self): + return f"{self.__class__.__module__}.{self.__class__.__name__}(n={self.n:d})" diff --git a/shared/package-files/24/24bb3e195f74ba0ad04baa91dc455b21da71b338985e2fcbb5e1fb89d1701b95/pipe_with_ddp_test.py b/shared/package-files/24/24bb3e195f74ba0ad04baa91dc455b21da71b338985e2fcbb5e1fb89d1701b95/pipe_with_ddp_test.py new file mode 100644 index 0000000000000000000000000000000000000000..1ed9f3cc96dfc1acf0b8753c3d35a88c82a0069d --- /dev/null +++ b/shared/package-files/24/24bb3e195f74ba0ad04baa91dc455b21da71b338985e2fcbb5e1fb89d1701b95/pipe_with_ddp_test.py @@ -0,0 +1,149 @@ +# mypy: ignore-errors + +import torch +import torch.distributed as dist + +from torch import nn +from torch.nn.parallel import DistributedDataParallel +from torch.testing._internal.dist_utils import INIT_METHOD_TEMPLATE, dist_init +from torch.testing._internal.distributed.rpc.rpc_agent_test_fixture import ( + RpcAgentTestFixture, +) +from torch.testing._internal.common_distributed import ( + requires_gloo, + requires_nccl, + skip_if_lt_x_gpu, + skip_if_rocm, +) +from torch.distributed.pipeline.sync import Pipe + +class PipeWithDDPTest(RpcAgentTestFixture): + @property + def world_size(self) -> int: + return 2 + + @skip_if_lt_x_gpu(4) + @requires_nccl() + @dist_init + @skip_if_rocm + def test_basic_nccl_ckpt_never(self): + self._run_basic_test("nccl", "never") + + @skip_if_lt_x_gpu(4) + @requires_nccl() + @dist_init + @skip_if_rocm + def test_basic_nccl_ckpt_never_find_unused(self): + self._run_basic_test("nccl", "never", find_unused_parameters=True) + + @skip_if_lt_x_gpu(4) + @requires_nccl() + @dist_init + @skip_if_rocm + def test_basic_nccl_ckpt_always(self): + self._run_basic_test("nccl", "always", static_graph=True) + + @skip_if_lt_x_gpu(4) + @requires_nccl() + @dist_init + @skip_if_rocm + def test_basic_nccl_ckpt_except_last(self): + self._run_basic_test("nccl", "except_last", static_graph=True) + + @skip_if_lt_x_gpu(4) + @requires_gloo() + @dist_init + @skip_if_rocm + def test_basic_gloo_ckpt_never(self): + self._run_basic_test("gloo", "never") + + @skip_if_lt_x_gpu(4) + @requires_gloo() + @dist_init + @skip_if_rocm + def test_basic_gloo_ckpt_never_find_unused(self): + self._run_basic_test("gloo", "never", find_unused_parameters=True) + + @skip_if_lt_x_gpu(4) + @requires_gloo() + @dist_init + @skip_if_rocm + def test_basic_gloo_ckpt_always(self): + self._run_basic_test("gloo", "always", static_graph=True) + + @skip_if_lt_x_gpu(4) + @requires_gloo() + @dist_init + @skip_if_rocm + def test_basic_gloo_ckpt_except_last(self): + self._run_basic_test("gloo", "except_last", static_graph=True) + + def _run_basic_test(self, backend, checkpoint, find_unused_parameters=False, static_graph=False): + dist.init_process_group( + backend=backend, + init_method=INIT_METHOD_TEMPLATE.format(file_name=self.file_name), + world_size=self.world_size, + rank=self.rank, + ) + + # Use 4 GPUs, two replicas of a pipe across GPU 0 and 1 and another + # pipe between GPU 2 and 3. Both replicas are replicated via DDP. + fc1 = nn.Linear(16, 8, bias=False).cuda(2 * self.rank) + + class MyModule(nn.Module): + def __init__(self, device): + super().__init__() + self.fc2 = nn.Linear(8, 4, bias=False).cuda(device) + self.fc3 = nn.Linear(4, 2, bias=False).cuda(device) + + def forward(self, inp): + if find_unused_parameters: + return self.fc2(inp) + else: + return self.fc3(self.fc2(inp)) + + layer2 = MyModule(2 * self.rank + 1) + model = nn.Sequential( + fc1, + layer2 + ) + model = Pipe(model, chunks=2, checkpoint=checkpoint) + model = DistributedDataParallel( + model, + find_unused_parameters=find_unused_parameters, + static_graph=static_graph, + ) + + # Ensure inputs are different across ranks to verify that gradient + # sync indeed occurs. + model_input = torch.rand(16, 16).cuda(2 * self.rank) * (self.rank + 1) + out = model(model_input).local_value() + out.sum().backward() + + # Run forward again for find_unused_parameters to trigger any potential errors. + if find_unused_parameters: + # Ensure inputs are different across ranks to verify that gradient + # sync indeed occurs. + unused_param_input = torch.rand(16, 16).cuda(2 * self.rank) * (self.rank + 1) + model(unused_param_input).local_value().sum().backward() + + # Run a few more iterations of fwd + bwd to ensure gradient synchronization + # occurs properly across iterations via delay_all_reduce/bucketized allreduce. + for _ in range(3): + model_input = torch.rand(16, 16).cuda(2 * self.rank) * (self.rank + 1) + out = model(model_input).local_value() + out.sum().backward() + + # Check grads + output = [torch.empty_like(fc1.weight.grad), torch.empty_like(fc1.weight.grad)] + dist.all_gather(output, fc1.weight.grad) + self.assertEqual(output[0], output[1]) + + output = [torch.empty_like(layer2.fc2.weight.grad), torch.empty_like(layer2.fc2.weight.grad)] + dist.all_gather(output, layer2.fc2.weight.grad) + self.assertEqual(output[0], output[1]) + + if not find_unused_parameters: + output = [torch.empty_like(layer2.fc3.weight.grad), torch.empty_like(layer2.fc3.weight.grad)] + dist.all_gather(output, layer2.fc3.weight.grad) + self.assertEqual(output[0], output[1]) diff --git a/shared/package-files/24/24bb608bb04f497a382ad303491c63e53fc09b37fdf0fee67438309fd97b3bd0/qt_loaders.py b/shared/package-files/24/24bb608bb04f497a382ad303491c63e53fc09b37fdf0fee67438309fd97b3bd0/qt_loaders.py new file mode 100644 index 0000000000000000000000000000000000000000..1486cf9d773081d5fb308d6a7b75fcc648185d76 --- /dev/null +++ b/shared/package-files/24/24bb608bb04f497a382ad303491c63e53fc09b37fdf0fee67438309fd97b3bd0/qt_loaders.py @@ -0,0 +1,410 @@ +""" +This module contains factory functions that attempt +to return Qt submodules from the various python Qt bindings. + +It also protects against double-importing Qt with different +bindings, which is unstable and likely to crash + +This is used primarily by qt and qt_for_kernel, and shouldn't +be accessed directly from the outside +""" +import importlib.abc +import sys +import os +import types +from functools import partial, lru_cache +import operator + +# ### Available APIs. +# Qt6 +QT_API_PYQT6 = "pyqt6" +QT_API_PYSIDE6 = "pyside6" + +# Qt5 +QT_API_PYQT5 = 'pyqt5' +QT_API_PYSIDE2 = 'pyside2' + +# Qt4 +# NOTE: Here for legacy matplotlib compatibility, but not really supported on the IPython side. +QT_API_PYQT = "pyqt" # Force version 2 +QT_API_PYQTv1 = "pyqtv1" # Force version 2 +QT_API_PYSIDE = "pyside" + +QT_API_PYQT_DEFAULT = "pyqtdefault" # use system default for version 1 vs. 2 + +api_to_module = { + # Qt6 + QT_API_PYQT6: "PyQt6", + QT_API_PYSIDE6: "PySide6", + # Qt5 + QT_API_PYQT5: "PyQt5", + QT_API_PYSIDE2: "PySide2", + # Qt4 + QT_API_PYSIDE: "PySide", + QT_API_PYQT: "PyQt4", + QT_API_PYQTv1: "PyQt4", + # default + QT_API_PYQT_DEFAULT: "PyQt6", +} + + +class ImportDenier(importlib.abc.MetaPathFinder): + """Import Hook that will guard against bad Qt imports + once IPython commits to a specific binding + """ + + def __init__(self): + self.__forbidden = set() + + def forbid(self, module_name): + sys.modules.pop(module_name, None) + self.__forbidden.add(module_name) + + def find_spec(self, fullname, path, target=None): + if path: + return + if fullname in self.__forbidden: + raise ImportError( + """ + Importing %s disabled by IPython, which has + already imported an Incompatible QT Binding: %s + """ + % (fullname, loaded_api()) + ) + + +ID = ImportDenier() +sys.meta_path.insert(0, ID) + + +def commit_api(api): + """Commit to a particular API, and trigger ImportErrors on subsequent + dangerous imports""" + modules = set(api_to_module.values()) + + modules.remove(api_to_module[api]) + for mod in modules: + ID.forbid(mod) + + +def loaded_api(): + """Return which API is loaded, if any + + If this returns anything besides None, + importing any other Qt binding is unsafe. + + Returns + ------- + None, 'pyside6', 'pyqt6', 'pyside2', 'pyside', 'pyqt', 'pyqt5', 'pyqtv1' + """ + if sys.modules.get("PyQt6.QtCore"): + return QT_API_PYQT6 + elif sys.modules.get("PySide6.QtCore"): + return QT_API_PYSIDE6 + elif sys.modules.get("PyQt5.QtCore"): + return QT_API_PYQT5 + elif sys.modules.get("PySide2.QtCore"): + return QT_API_PYSIDE2 + elif sys.modules.get("PyQt4.QtCore"): + if qtapi_version() == 2: + return QT_API_PYQT + else: + return QT_API_PYQTv1 + elif sys.modules.get("PySide.QtCore"): + return QT_API_PYSIDE + + return None + + +def has_binding(api): + """Safely check for PyQt4/5, PySide or PySide2, without importing submodules + + Parameters + ---------- + api : str [ 'pyqtv1' | 'pyqt' | 'pyqt5' | 'pyside' | 'pyside2' | 'pyqtdefault'] + Which module to check for + + Returns + ------- + True if the relevant module appears to be importable + """ + module_name = api_to_module[api] + from importlib.util import find_spec + + required = ['QtCore', 'QtGui', 'QtSvg'] + if api in (QT_API_PYQT5, QT_API_PYSIDE2, QT_API_PYQT6, QT_API_PYSIDE6): + # QT5 requires QtWidgets too + required.append('QtWidgets') + + for submod in required: + try: + spec = find_spec('%s.%s' % (module_name, submod)) + except ImportError: + # Package (e.g. PyQt5) not found + return False + else: + if spec is None: + # Submodule (e.g. PyQt5.QtCore) not found + return False + + if api == QT_API_PYSIDE: + # We can also safely check PySide version + import PySide + + return PySide.__version_info__ >= (1, 0, 3) + + return True + + +def qtapi_version(): + """Return which QString API has been set, if any + + Returns + ------- + The QString API version (1 or 2), or None if not set + """ + try: + import sip + except ImportError: + # as of PyQt5 5.11, sip is no longer available as a top-level + # module and needs to be imported from the PyQt5 namespace + try: + from PyQt5 import sip + except ImportError: + return + try: + return sip.getapi('QString') + except ValueError: + return + + +def can_import(api): + """Safely query whether an API is importable, without importing it""" + if not has_binding(api): + return False + + current = loaded_api() + if api == QT_API_PYQT_DEFAULT: + return current in [QT_API_PYQT6, None] + else: + return current in [api, None] + + +def import_pyqt4(version=2): + """ + Import PyQt4 + + Parameters + ---------- + version : 1, 2, or None + Which QString/QVariant API to use. Set to None to use the system + default + ImportErrors raised within this function are non-recoverable + """ + # The new-style string API (version=2) automatically + # converts QStrings to Unicode Python strings. Also, automatically unpacks + # QVariants to their underlying objects. + import sip + + if version is not None: + sip.setapi('QString', version) + sip.setapi('QVariant', version) + + from PyQt4 import QtGui, QtCore, QtSvg + + if QtCore.PYQT_VERSION < 0x040700: + raise ImportError("IPython requires PyQt4 >= 4.7, found %s" % + QtCore.PYQT_VERSION_STR) + + # Alias PyQt-specific functions for PySide compatibility. + QtCore.Signal = QtCore.pyqtSignal + QtCore.Slot = QtCore.pyqtSlot + + # query for the API version (in case version == None) + version = sip.getapi('QString') + api = QT_API_PYQTv1 if version == 1 else QT_API_PYQT + return QtCore, QtGui, QtSvg, api + + +def import_pyqt5(): + """ + Import PyQt5 + + ImportErrors raised within this function are non-recoverable + """ + + from PyQt5 import QtCore, QtSvg, QtWidgets, QtGui + + # Alias PyQt-specific functions for PySide compatibility. + QtCore.Signal = QtCore.pyqtSignal + QtCore.Slot = QtCore.pyqtSlot + + # Join QtGui and QtWidgets for Qt4 compatibility. + QtGuiCompat = types.ModuleType('QtGuiCompat') + QtGuiCompat.__dict__.update(QtGui.__dict__) + QtGuiCompat.__dict__.update(QtWidgets.__dict__) + + api = QT_API_PYQT5 + return QtCore, QtGuiCompat, QtSvg, api + + +def import_pyqt6(): + """ + Import PyQt6 + + ImportErrors raised within this function are non-recoverable + """ + + from PyQt6 import QtCore, QtSvg, QtWidgets, QtGui + + # Alias PyQt-specific functions for PySide compatibility. + QtCore.Signal = QtCore.pyqtSignal + QtCore.Slot = QtCore.pyqtSlot + + # Join QtGui and QtWidgets for Qt4 compatibility. + QtGuiCompat = types.ModuleType("QtGuiCompat") + QtGuiCompat.__dict__.update(QtGui.__dict__) + QtGuiCompat.__dict__.update(QtWidgets.__dict__) + + api = QT_API_PYQT6 + return QtCore, QtGuiCompat, QtSvg, api + + +def import_pyside(): + """ + Import PySide + + ImportErrors raised within this function are non-recoverable + """ + from PySide import QtGui, QtCore, QtSvg + return QtCore, QtGui, QtSvg, QT_API_PYSIDE + +def import_pyside2(): + """ + Import PySide2 + + ImportErrors raised within this function are non-recoverable + """ + from PySide2 import QtGui, QtCore, QtSvg, QtWidgets, QtPrintSupport + + # Join QtGui and QtWidgets for Qt4 compatibility. + QtGuiCompat = types.ModuleType('QtGuiCompat') + QtGuiCompat.__dict__.update(QtGui.__dict__) + QtGuiCompat.__dict__.update(QtWidgets.__dict__) + QtGuiCompat.__dict__.update(QtPrintSupport.__dict__) + + return QtCore, QtGuiCompat, QtSvg, QT_API_PYSIDE2 + + +def import_pyside6(): + """ + Import PySide6 + + ImportErrors raised within this function are non-recoverable + """ + from PySide6 import QtGui, QtCore, QtSvg, QtWidgets, QtPrintSupport + + # Join QtGui and QtWidgets for Qt4 compatibility. + QtGuiCompat = types.ModuleType("QtGuiCompat") + QtGuiCompat.__dict__.update(QtGui.__dict__) + QtGuiCompat.__dict__.update(QtWidgets.__dict__) + QtGuiCompat.__dict__.update(QtPrintSupport.__dict__) + + return QtCore, QtGuiCompat, QtSvg, QT_API_PYSIDE6 + + +def load_qt(api_options): + """ + Attempt to import Qt, given a preference list + of permissible bindings + + It is safe to call this function multiple times. + + Parameters + ---------- + api_options : List of strings + The order of APIs to try. Valid items are 'pyside', 'pyside2', + 'pyqt', 'pyqt5', 'pyqtv1' and 'pyqtdefault' + + Returns + ------- + A tuple of QtCore, QtGui, QtSvg, QT_API + The first three are the Qt modules. The last is the + string indicating which module was loaded. + + Raises + ------ + ImportError, if it isn't possible to import any requested + bindings (either because they aren't installed, or because + an incompatible library has already been installed) + """ + loaders = { + # Qt6 + QT_API_PYQT6: import_pyqt6, + QT_API_PYSIDE6: import_pyside6, + # Qt5 + QT_API_PYQT5: import_pyqt5, + QT_API_PYSIDE2: import_pyside2, + # Qt4 + QT_API_PYSIDE: import_pyside, + QT_API_PYQT: import_pyqt4, + QT_API_PYQTv1: partial(import_pyqt4, version=1), + # default + QT_API_PYQT_DEFAULT: import_pyqt6, + } + + for api in api_options: + + if api not in loaders: + raise RuntimeError( + "Invalid Qt API %r, valid values are: %s" % + (api, ", ".join(["%r" % k for k in loaders.keys()]))) + + if not can_import(api): + continue + + #cannot safely recover from an ImportError during this + result = loaders[api]() + api = result[-1] # changed if api = QT_API_PYQT_DEFAULT + commit_api(api) + return result + else: + # Clear the environment variable since it doesn't work. + if "QT_API" in os.environ: + del os.environ["QT_API"] + + raise ImportError( + """ + Could not load requested Qt binding. Please ensure that + PyQt4 >= 4.7, PyQt5, PyQt6, PySide >= 1.0.3, PySide2, or + PySide6 is available, and only one is imported per session. + + Currently-imported Qt library: %r + PyQt5 available (requires QtCore, QtGui, QtSvg, QtWidgets): %s + PyQt6 available (requires QtCore, QtGui, QtSvg, QtWidgets): %s + PySide2 installed: %s + PySide6 installed: %s + Tried to load: %r + """ + % ( + loaded_api(), + has_binding(QT_API_PYQT5), + has_binding(QT_API_PYQT6), + has_binding(QT_API_PYSIDE2), + has_binding(QT_API_PYSIDE6), + api_options, + ) + ) + + +def enum_factory(QT_API, QtCore): + """Construct an enum helper to account for PyQt5 <-> PyQt6 changes.""" + + @lru_cache(None) + def _enum(name): + # foo.bar.Enum.Entry (PyQt6) <=> foo.bar.Entry (non-PyQt6). + return operator.attrgetter( + name if QT_API == QT_API_PYQT6 else name.rpartition(".")[0] + )(sys.modules[QtCore.__package__]) + + return _enum diff --git a/shared/package-files/24/24bcc17ed68d84c45653b9194a6a928278913db8f6358820d05b2103282ecf91/error.h b/shared/package-files/24/24bcc17ed68d84c45653b9194a6a928278913db8f6358820d05b2103282ecf91/error.h new file mode 100644 index 0000000000000000000000000000000000000000..fff2b45c4c952b99b3ba2f27696cb6d2b9c29326 --- /dev/null +++ b/shared/package-files/24/24bcc17ed68d84c45653b9194a6a928278913db8f6358820d05b2103282ecf91/error.h @@ -0,0 +1,56 @@ +// Copyright (c) Facebook, Inc. and its affiliates. +// All rights reserved. +// +// This source code is licensed under the BSD-style license found in the +// LICENSE file in the root directory of this source tree. + +#pragma once + +#include +#include + +#include + +namespace fmt { + +template <> +struct formatter { + constexpr decltype(auto) parse(format_parse_context& ctx) const { + return ctx.begin(); + } + + template + decltype(auto) format(const std::error_category& cat, FormatContext& ctx) + const { + if (std::strcmp(cat.name(), "generic") == 0) { + return fmt::format_to(ctx.out(), "errno"); + } else { + return fmt::format_to(ctx.out(), "{} error", cat.name()); + } + } +}; + +template <> +struct formatter { + constexpr decltype(auto) parse(format_parse_context& ctx) const { + return ctx.begin(); + } + + template + decltype(auto) format(const std::error_code& err, FormatContext& ctx) const { + return fmt::format_to( + ctx.out(), "({}: {} - {})", err.category(), err.value(), err.message()); + } +}; + +} // namespace fmt + +namespace c10d { +namespace detail { + +inline std::error_code lastError() noexcept { + return std::error_code{errno, std::generic_category()}; +} + +} // namespace detail +} // namespace c10d diff --git a/shared/package-files/24/24bd64d9813fcb5f3796696db5b8521ccc5e76919da34751c83cb8a9f925dcee/conv_tbc_backward_ops.h b/shared/package-files/24/24bd64d9813fcb5f3796696db5b8521ccc5e76919da34751c83cb8a9f925dcee/conv_tbc_backward_ops.h new file mode 100644 index 0000000000000000000000000000000000000000..91e7af05536b4f7c764d9edabc36ce768d69b0ac --- /dev/null +++ b/shared/package-files/24/24bd64d9813fcb5f3796696db5b8521ccc5e76919da34751c83cb8a9f925dcee/conv_tbc_backward_ops.h @@ -0,0 +1,28 @@ +#pragma once + +// @generated by torchgen/gen.py from Operator.h + +#include +#include + +// Forward declarations of any types needed in the operator signatures. +// We can't directly include these classes because it will cause circular include dependencies. +// This file is included by TensorBody.h, which defines the Tensor class. +#include + +namespace at { +namespace _ops { + + +struct TORCH_API conv_tbc_backward { + using schema = ::std::tuple (const at::Tensor &, const at::Tensor &, const at::Tensor &, const at::Tensor &, int64_t); + using ptr_schema = schema*; + // See Note [static constexpr char* members for windows NVCC] + STATIC_CONSTEXPR_STR_INL_EXCEPT_WIN_CUDA(name, "aten::conv_tbc_backward") + STATIC_CONSTEXPR_STR_INL_EXCEPT_WIN_CUDA(overload_name, "") + STATIC_CONSTEXPR_STR_INL_EXCEPT_WIN_CUDA(schema_str, "conv_tbc_backward(Tensor self, Tensor input, Tensor weight, Tensor bias, int pad) -> (Tensor, Tensor, Tensor)") + static ::std::tuple call(const at::Tensor & self, const at::Tensor & input, const at::Tensor & weight, const at::Tensor & bias, int64_t pad); + static ::std::tuple redispatch(c10::DispatchKeySet dispatchKeySet, const at::Tensor & self, const at::Tensor & input, const at::Tensor & weight, const at::Tensor & bias, int64_t pad); +}; + +}} // namespace at::_ops diff --git a/shared/package-files/24/24c1170798cd669f8339898606bcecd91b703822dd28245adc4e6451f1f409e8/json.py b/shared/package-files/24/24c1170798cd669f8339898606bcecd91b703822dd28245adc4e6451f1f409e8/json.py new file mode 100644 index 0000000000000000000000000000000000000000..24e604613500c9bb6860f105a54e0c1d61d0d42f --- /dev/null +++ b/shared/package-files/24/24c1170798cd669f8339898606bcecd91b703822dd28245adc4e6451f1f409e8/json.py @@ -0,0 +1,19 @@ +# Licensed to the Apache Software Foundation (ASF) under one +# or more contributor license agreements. See the NOTICE file +# distributed with this work for additional information +# regarding copyright ownership. The ASF licenses this file +# to you under the Apache License, Version 2.0 (the +# "License"); you may not use this file except in compliance +# with the License. You may obtain a copy of the License at +# +# http://www.apache.org/licenses/LICENSE-2.0 +# +# Unless required by applicable law or agreed to in writing, +# software distributed under the License is distributed on an +# "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY +# KIND, either express or implied. See the License for the +# specific language governing permissions and limitations +# under the License. + + +from pyarrow._json import ReadOptions, ParseOptions, read_json, open_json # noqa diff --git a/shared/package-files/24/24c12984500caa07ffdce19eebc06396c5e6d244b573bc6c438f4a6ef8e56c1b/LICENSE b/shared/package-files/24/24c12984500caa07ffdce19eebc06396c5e6d244b573bc6c438f4a6ef8e56c1b/LICENSE new file mode 100644 index 0000000000000000000000000000000000000000..0bf4a7fc04a1b7a913868a299680be3a040012ef --- /dev/null +++ b/shared/package-files/24/24c12984500caa07ffdce19eebc06396c5e6d244b573bc6c438f4a6ef8e56c1b/LICENSE @@ -0,0 +1,29 @@ +BSD 3-Clause License + +Copyright (c) 2009, Jay Loden, Dave Daeschler, Giampaolo Rodola' +All rights reserved. + +Redistribution and use in source and binary forms, with or without modification, +are permitted provided that the following conditions are met: + + * Redistributions of source code must retain the above copyright notice, this + list of conditions and the following disclaimer. + + * Redistributions in binary form must reproduce the above copyright notice, + this list of conditions and the following disclaimer in the documentation + and/or other materials provided with the distribution. + + * Neither the name of the psutil authors nor the names of its contributors + may be used to endorse or promote products derived from this software without + specific prior written permission. + +THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" AND +ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED +WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE +DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER OR CONTRIBUTORS BE LIABLE FOR +ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES +(INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; +LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON +ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT +(INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS +SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. diff --git a/shared/package-files/24/24c14282bc1b5d641bf28a0bdca7acace9166d1c7c6007590015301f911c58ec/extending.py b/shared/package-files/24/24c14282bc1b5d641bf28a0bdca7acace9166d1c7c6007590015301f911c58ec/extending.py new file mode 100644 index 0000000000000000000000000000000000000000..9280366d33a50b024c67a33c3039e643a87ee0db --- /dev/null +++ b/shared/package-files/24/24c14282bc1b5d641bf28a0bdca7acace9166d1c7c6007590015301f911c58ec/extending.py @@ -0,0 +1,597 @@ +import os +import uuid +import weakref +import collections +import functools +from types import MappingProxyType + +import numba +from numba.core import types, errors, utils, config + +# Exported symbols +from numba.core.typing.typeof import typeof_impl # noqa: F401 +from numba.core.typing.asnumbatype import as_numba_type # noqa: F401 +from numba.core.typing.templates import infer, infer_getattr # noqa: F401 +from numba.core.imputils import ( # noqa: F401 + lower_builtin, lower_getattr, lower_getattr_generic, # noqa: F401 + lower_setattr, lower_setattr_generic, lower_cast) # noqa: F401 +from numba.core.datamodel import models # noqa: F401 +from numba.core.datamodel import register_default as register_model # noqa: F401, E501 +from numba.core.pythonapi import box, unbox, reflect, NativeValue # noqa: F401 +from numba._helperlib import _import_cython_function # noqa: F401 +from numba.core.serialize import ReduceMixin + + +def type_callable(func): + """ + Decorate a function as implementing typing for the callable *func*. + *func* can be a callable object (probably a global) or a string + denoting a built-in operation (such 'getitem' or '__array_wrap__') + """ + from numba.core.typing.templates import (CallableTemplate, infer, + infer_global) + if not callable(func) and not isinstance(func, str): + raise TypeError("`func` should be a function or string") + try: + func_name = func.__name__ + except AttributeError: + func_name = str(func) + + def decorate(typing_func): + def generic(self): + return typing_func(self.context) + + name = "%s_CallableTemplate" % (func_name,) + bases = (CallableTemplate,) + class_dict = dict(key=func, generic=generic) + template = type(name, bases, class_dict) + infer(template) + if callable(func): + infer_global(func, types.Function(template)) + return typing_func + + return decorate + + +# By default, an *overload* does not have a cpython wrapper because it is not +# callable from python. It also has `nopython=True`, this has been default since +# its inception! +_overload_default_jit_options = {'no_cpython_wrapper': True, + 'nopython':True} + + +def overload( + func, + jit_options=MappingProxyType({}), + strict=True, + inline='never', + prefer_literal=False, + **kwargs, +): + """ + A decorator marking the decorated function as typing and implementing + *func* in nopython mode. + + The decorated function will have the same formal parameters as *func* + and be passed the Numba types of those parameters. It should return + a function implementing *func* for the given types. + + Here is an example implementing len() for tuple types:: + + @overload(len) + def tuple_len(seq): + if isinstance(seq, types.BaseTuple): + n = len(seq) + def len_impl(seq): + return n + return len_impl + + Compiler options can be passed as an dictionary using the **jit_options** + argument. + + Overloading strictness (that the typing and implementing signatures match) + is enforced by the **strict** keyword argument, it is recommended that this + is set to True (default). + + To handle a function that accepts imprecise types, an overload + definition can return 2-tuple of ``(signature, impl_function)``, where + the ``signature`` is a ``typing.Signature`` specifying the precise + signature to be used; and ``impl_function`` is the same implementation + function as in the simple case. + + If the kwarg inline determines whether the overload is inlined in the + calling function and can be one of three values: + * 'never' (default) - the overload is never inlined. + * 'always' - the overload is always inlined. + * a function that takes two arguments, both of which are instances of a + namedtuple with fields: + * func_ir + * typemap + * calltypes + * signature + The first argument holds the information from the caller, the second + holds the information from the callee. The function should return Truthy + to determine whether to inline, this essentially permitting custom + inlining rules (typical use might be cost models). + + The *prefer_literal* option allows users to control if literal types should + be tried first or last. The default (`False`) is to use non-literal types. + Implementations that can specialize based on literal values should set the + option to `True`. Note, this option maybe expanded in the near future to + allow for more control (e.g. disabling non-literal types). + + **kwargs prescribes additional arguments passed through to the overload + template. The only accepted key at present is 'target' which is a string + corresponding to the target that this overload should be bound against. + """ + from numba.core.typing.templates import make_overload_template, infer_global + + # set default options + jit_options = dict(jit_options) + opts = _overload_default_jit_options.copy() + opts.update(jit_options) # let user options override + + # TODO: abort now if the kwarg 'target' relates to an unregistered target, + # this requires sorting out the circular imports first. + + def decorate(overload_func): + template = make_overload_template(func, overload_func, opts, strict, + inline, prefer_literal, **kwargs) + infer(template) + if callable(func): + infer_global(func, types.Function(template)) + return overload_func + + return decorate + + +def register_jitable(*args, **kwargs): + """ + Register a regular python function that can be executed by the python + interpreter and can be compiled into a nopython function when referenced + by other jit'ed functions. Can be used as:: + + @register_jitable + def foo(x, y): + return x + y + + Or, with compiler options:: + + @register_jitable(_nrt=False) # disable runtime allocation + def foo(x, y): + return x + y + + """ + def wrap(fn): + # It is just a wrapper for @overload + inline = kwargs.pop('inline', 'never') + + @overload(fn, jit_options=kwargs, inline=inline, strict=False) + def ov_wrap(*args, **kwargs): + return fn + return fn + + if kwargs: + return wrap + else: + return wrap(*args) + + +def overload_attribute(typ, attr, **kwargs): + """ + A decorator marking the decorated function as typing and implementing + attribute *attr* for the given Numba type in nopython mode. + + *kwargs* are passed to the underlying `@overload` call. + + Here is an example implementing .nbytes for array types:: + + @overload_attribute(types.Array, 'nbytes') + def array_nbytes(arr): + def get(arr): + return arr.size * arr.itemsize + return get + """ + # TODO implement setters + from numba.core.typing.templates import make_overload_attribute_template + + def decorate(overload_func): + template = make_overload_attribute_template( + typ, attr, overload_func, + **kwargs + ) + infer_getattr(template) + overload(overload_func, **kwargs)(overload_func) + return overload_func + + return decorate + + +def _overload_method_common(typ, attr, **kwargs): + """Common code for overload_method and overload_classmethod + """ + from numba.core.typing.templates import make_overload_method_template + + def decorate(overload_func): + copied_kwargs = kwargs.copy() # avoid mutating parent dict + template = make_overload_method_template( + typ, attr, overload_func, + inline=copied_kwargs.pop('inline', 'never'), + prefer_literal=copied_kwargs.pop('prefer_literal', False), + **copied_kwargs, + ) + infer_getattr(template) + overload(overload_func, **kwargs)(overload_func) + return overload_func + + return decorate + + +def overload_method(typ, attr, **kwargs): + """ + A decorator marking the decorated function as typing and implementing + method *attr* for the given Numba type in nopython mode. + + *kwargs* are passed to the underlying `@overload` call. + + Here is an example implementing .take() for array types:: + + @overload_method(types.Array, 'take') + def array_take(arr, indices): + if isinstance(indices, types.Array): + def take_impl(arr, indices): + n = indices.shape[0] + res = np.empty(n, arr.dtype) + for i in range(n): + res[i] = arr[indices[i]] + return res + return take_impl + """ + return _overload_method_common(typ, attr, **kwargs) + + +def overload_classmethod(typ, attr, **kwargs): + """ + A decorator marking the decorated function as typing and implementing + classmethod *attr* for the given Numba type in nopython mode. + + + Similar to ``overload_method``. + + + Here is an example implementing a classmethod on the Array type to call + ``np.arange()``:: + + @overload_classmethod(types.Array, "make") + def ov_make(cls, nitems): + def impl(cls, nitems): + return np.arange(nitems) + return impl + + The above code will allow the following to work in jit-compiled code:: + + @njit + def foo(n): + return types.Array.make(n) + """ + return _overload_method_common(types.TypeRef(typ), attr, **kwargs) + + +def make_attribute_wrapper(typeclass, struct_attr, python_attr): + """ + Make an automatic attribute wrapper exposing member named *struct_attr* + as a read-only attribute named *python_attr*. + The given *typeclass*'s model must be a StructModel subclass. + """ + from numba.core.typing.templates import AttributeTemplate + from numba.core.datamodel import default_manager + from numba.core.datamodel.models import StructModel + from numba.core.imputils import impl_ret_borrowed + from numba.core import cgutils + + if not isinstance(typeclass, type) or not issubclass(typeclass, types.Type): + raise TypeError("typeclass should be a Type subclass, got %s" + % (typeclass,)) + + def get_attr_fe_type(typ): + """ + Get the Numba type of member *struct_attr* in *typ*. + """ + model = default_manager.lookup(typ) + if not isinstance(model, StructModel): + raise TypeError("make_struct_attribute_wrapper() needs a type " + "with a StructModel, but got %s" % (model,)) + return model.get_member_fe_type(struct_attr) + + @infer_getattr + class StructAttribute(AttributeTemplate): + key = typeclass + + def generic_resolve(self, typ, attr): + if attr == python_attr: + return get_attr_fe_type(typ) + + @lower_getattr(typeclass, python_attr) + def struct_getattr_impl(context, builder, typ, val): + val = cgutils.create_struct_proxy(typ)(context, builder, value=val) + attrty = get_attr_fe_type(typ) + attrval = getattr(val, struct_attr) + return impl_ret_borrowed(context, builder, attrty, attrval) + + +class _Intrinsic(ReduceMixin): + """ + Dummy callable for intrinsic + """ + _memo: weakref.WeakValueDictionary = weakref.WeakValueDictionary() + # pyrefly:ignore[missing-attribute] + __cache_size = config.FUNCTION_CACHE_SIZE # type: ignore + # hold refs to last N functions deserialized, retaining them in _memo + # regardless of whether there is another reference + _recent: collections.deque = collections.deque(maxlen=__cache_size) + + __uuid = None + + def __init__(self, name, defn, prefer_literal=False, **kwargs): + self._ctor_kwargs = kwargs + self._name = name + self._defn = defn + self._prefer_literal = prefer_literal + functools.update_wrapper(self, defn) + + @property + def _uuid(self): + """ + An instance-specific UUID, to avoid multiple deserializations of + a given instance. + + Note this is lazily-generated, for performance reasons. + """ + u = self.__uuid + if u is None: + u = str(uuid.uuid1()) + self._set_uuid(u) + return u + + def _set_uuid(self, u): + assert self.__uuid is None + self.__uuid = u + self._memo[u] = self + self._recent.append(self) + + def _register(self): + # _ctor_kwargs + from numba.core.typing.templates import (make_intrinsic_template, + infer_global) + + template = make_intrinsic_template(self, self._defn, self._name, + prefer_literal=self._prefer_literal, + kwargs=self._ctor_kwargs) + infer(template) + infer_global(self, types.Function(template)) + + def __call__(self, *args, **kwargs): + """ + This is only defined to pretend to be a callable from CPython. + """ + msg = '{0} is not usable in pure-python'.format(self) + raise NotImplementedError(msg) + + def __repr__(self): + return "".format(self._name) + + def __deepcopy__(self, memo): + # NOTE: Intrinsic are immutable and we don't need to copy. + # This is triggered from deepcopy of statements. + return self + + def _reduce_states(self): + """ + NOTE: part of ReduceMixin protocol + """ + return dict(uuid=self._uuid, name=self._name, defn=self._defn) + + @classmethod + def _rebuild(cls, uuid, name, defn): # pyrefly:ignore[bad-override] + """ + NOTE: part of ReduceMixin protocol + """ + try: + return cls._memo[uuid] + except KeyError: + llc = cls(name=name, defn=defn) + llc._register() + llc._set_uuid(uuid) + return llc + + +def intrinsic(*args, **kwargs): + """ + A decorator marking the decorated function as typing and implementing + *func* in nopython mode using the llvmlite IRBuilder API. This is an escape + hatch for expert users to build custom LLVM IR that will be inlined to + the caller. + + The first argument to *func* is the typing context. The rest of the + arguments corresponds to the type of arguments of the decorated function. + These arguments are also used as the formal argument of the decorated + function. If *func* has the signature ``foo(typing_context, arg0, arg1)``, + the decorated function will have the signature ``foo(arg0, arg1)``. + + The return values of *func* should be a 2-tuple of expected type signature, + and a code-generation function that will passed to ``lower_builtin``. + For unsupported operation, return None. + + Here is an example implementing a ``cast_int_to_byte_ptr`` that cast + any integer to a byte pointer:: + + @intrinsic + def cast_int_to_byte_ptr(typingctx, src): + # check for accepted types + if isinstance(src, types.Integer): + # create the expected type signature + result_type = types.CPointer(types.uint8) + sig = result_type(types.uintp) + # defines the custom code generation + def codegen(context, builder, signature, args): + # llvm IRBuilder code here + [src] = args + rtype = signature.return_type + llrtype = context.get_value_type(rtype) + return builder.inttoptr(src, llrtype) + return sig, codegen + """ + # Make inner function for the actual work + def _intrinsic(func): + name = getattr(func, '__name__', str(func)) + llc = _Intrinsic(name, func, **kwargs) + llc._register() + return llc + + if not kwargs: + # No option is given + return _intrinsic(*args) + else: + # options are given, create a new callable to recv the + # definition function + def wrapper(func): + return _intrinsic(func) + return wrapper + + +def get_cython_function_address(module_name, function_name): + """ + Get the address of a Cython function. + + Args + ---- + module_name: + Name of the Cython module + function_name: + Name of the Cython function + + Returns + ------- + A Python int containing the address of the function + + """ + return _import_cython_function(module_name, function_name) + + +def include_path(): + """Returns the C include directory path. + """ + include_dir = os.path.dirname(os.path.dirname(numba.__file__)) + path = os.path.abspath(include_dir) + return path + + +def sentry_literal_args(pysig, literal_args, args, kwargs): + """Ensures that the given argument types (in *args* and *kwargs*) are + literally typed for a function with the python signature *pysig* and the + list of literal argument names in *literal_args*. + + Alternatively, this is the same as:: + + SentryLiteralArgs(literal_args).for_pysig(pysig).bind(*args, **kwargs) + """ + boundargs = pysig.bind(*args, **kwargs) + + # Find literal argument positions and whether it is satisfied. + request_pos = set() + missing = False + for i, (k, v) in enumerate(boundargs.arguments.items()): + if k in literal_args: + request_pos.add(i) + if not isinstance(v, types.Literal): + missing = True + if missing: + # Yes, there are missing required literal arguments + e = errors.ForceLiteralArg(request_pos) + + # A helper function to fold arguments + def folded(args, kwargs): + out = pysig.bind(*args, **kwargs).arguments.values() + return tuple(out) + + raise e.bind_fold_arguments(folded) + + +class SentryLiteralArgs(collections.namedtuple( + '_SentryLiteralArgs', ['literal_args'])): + """ + Parameters + ---------- + literal_args : Sequence[str] + A sequence of names for literal arguments + + Examples + -------- + + The following line: + + >>> SentryLiteralArgs(literal_args).for_pysig(pysig).bind(*args, **kwargs) + + is equivalent to: + + >>> sentry_literal_args(pysig, literal_args, args, kwargs) + """ + def for_function(self, func): + """Bind the sentry to the signature of *func*. + + Parameters + ---------- + func : Function + A python function. + + Returns + ------- + obj : BoundLiteralArgs + """ + return self.for_pysig(utils.pysignature(func)) + + def for_pysig(self, pysig): + """Bind the sentry to the given signature *pysig*. + + Parameters + ---------- + pysig : inspect.Signature + + + Returns + ------- + obj : BoundLiteralArgs + """ + return BoundLiteralArgs( + pysig=pysig, + literal_args=self.literal_args, + ) + + +class BoundLiteralArgs(collections.namedtuple( + 'BoundLiteralArgs', ['pysig', 'literal_args'])): + """ + This class is usually created by SentryLiteralArgs. + """ + def bind(self, *args, **kwargs): + """Bind to argument types. + """ + return sentry_literal_args( + self.pysig, + self.literal_args, + args, + kwargs, + ) + + +def is_jitted(function): + """Returns True if a function is wrapped by one of the Numba @jit + decorators, for example: numba.jit, numba.njit + + The purpose of this function is to provide a means to check if a function is + already JIT decorated. + """ + + # don't want to export this so import locally + from numba.core.dispatcher import Dispatcher + return isinstance(function, Dispatcher) diff --git a/shared/package-files/24/24c15a9dd3cdc6d294289f1e257f71783631dbf65b4bcbdd79be8a4751c934c8/trace_backward_ops.h b/shared/package-files/24/24c15a9dd3cdc6d294289f1e257f71783631dbf65b4bcbdd79be8a4751c934c8/trace_backward_ops.h new file mode 100644 index 0000000000000000000000000000000000000000..7aeecbf7b72e912169f0dc8edcf9e928492ad75e --- /dev/null +++ b/shared/package-files/24/24c15a9dd3cdc6d294289f1e257f71783631dbf65b4bcbdd79be8a4751c934c8/trace_backward_ops.h @@ -0,0 +1,28 @@ +#pragma once + +// @generated by torchgen/gen.py from Operator.h + +#include +#include + +// Forward declarations of any types needed in the operator signatures. +// We can't directly include these classes because it will cause circular include dependencies. +// This file is included by TensorBody.h, which defines the Tensor class. +#include + +namespace at { +namespace _ops { + + +struct TORCH_API trace_backward { + using schema = at::Tensor (const at::Tensor &, c10::SymIntArrayRef); + using ptr_schema = schema*; + // See Note [static constexpr char* members for windows NVCC] + STATIC_CONSTEXPR_STR_INL_EXCEPT_WIN_CUDA(name, "aten::trace_backward") + STATIC_CONSTEXPR_STR_INL_EXCEPT_WIN_CUDA(overload_name, "") + STATIC_CONSTEXPR_STR_INL_EXCEPT_WIN_CUDA(schema_str, "trace_backward(Tensor grad, SymInt[] sizes) -> Tensor") + static at::Tensor call(const at::Tensor & grad, c10::SymIntArrayRef sizes); + static at::Tensor redispatch(c10::DispatchKeySet dispatchKeySet, const at::Tensor & grad, c10::SymIntArrayRef sizes); +}; + +}} // namespace at::_ops diff --git a/shared/package-files/24/24c1e5895bbd3dae8945b7479e5fc3841e8b81b17c97550c4313b198964c455b/einsum_ops.h b/shared/package-files/24/24c1e5895bbd3dae8945b7479e5fc3841e8b81b17c97550c4313b198964c455b/einsum_ops.h new file mode 100644 index 0000000000000000000000000000000000000000..bf977c9dd59ec4817ff74c2fcdb128f5430b77d8 --- /dev/null +++ b/shared/package-files/24/24c1e5895bbd3dae8945b7479e5fc3841e8b81b17c97550c4313b198964c455b/einsum_ops.h @@ -0,0 +1,28 @@ +#pragma once + +// @generated by torchgen/gen.py from Operator.h + +#include +#include + +// Forward declarations of any types needed in the operator signatures. +// We can't directly include these classes because it will cause circular include dependencies. +// This file is included by TensorBody.h, which defines the Tensor class. +#include + +namespace at { +namespace _ops { + + +struct TORCH_API einsum { + using schema = at::Tensor (c10::string_view, at::TensorList, at::OptionalIntArrayRef); + using ptr_schema = schema*; + // See Note [static constexpr char* members for windows NVCC] + STATIC_CONSTEXPR_STR_INL_EXCEPT_WIN_CUDA(name, "aten::einsum") + STATIC_CONSTEXPR_STR_INL_EXCEPT_WIN_CUDA(overload_name, "") + STATIC_CONSTEXPR_STR_INL_EXCEPT_WIN_CUDA(schema_str, "einsum(str equation, Tensor[] tensors, *, int[]? path=None) -> Tensor") + static at::Tensor call(c10::string_view equation, at::TensorList tensors, at::OptionalIntArrayRef path); + static at::Tensor redispatch(c10::DispatchKeySet dispatchKeySet, c10::string_view equation, at::TensorList tensors, at::OptionalIntArrayRef path); +}; + +}} // namespace at::_ops diff --git a/shared/package-files/24/24c367f321230bde269678a26192590fa394d2a8f9225ba26a1d4dd19eb128de/vec512_bfloat16.h b/shared/package-files/24/24c367f321230bde269678a26192590fa394d2a8f9225ba26a1d4dd19eb128de/vec512_bfloat16.h new file mode 100644 index 0000000000000000000000000000000000000000..f9fc92d52bfe0c8ea594384beecf4da47961faa0 --- /dev/null +++ b/shared/package-files/24/24c367f321230bde269678a26192590fa394d2a8f9225ba26a1d4dd19eb128de/vec512_bfloat16.h @@ -0,0 +1,1644 @@ +#pragma once + +// DO NOT DEFINE STATIC DATA IN THIS HEADER! +// See Note [Do not compile initializers with AVX] + +#include +#include +#include + +#if defined(CPU_CAPABILITY_AVX512) && !defined(_MSC_VER) +#include +#endif + +namespace at { +namespace vec { +// See Note [CPU_CAPABILITY namespace] +inline namespace CPU_CAPABILITY { + +#if defined(CPU_CAPABILITY_AVX512) && !defined(_MSC_VER) + +// bfloat16 conversion +static inline void cvtbf16_fp32(const __m256i& a, __m512& o) { + o = _mm512_castsi512_ps(_mm512_slli_epi32(_mm512_cvtepu16_epi32(a), 16)); +} + +static inline void cvtbf16_fp32(const __m512i& a, __m512& o1, __m512& o2) { + __m256i lo = _mm512_extracti32x8_epi32(a, 0); + __m256i hi = _mm512_extracti32x8_epi32(a, 1); + cvtbf16_fp32(lo, o1); + cvtbf16_fp32(hi, o2); +} + +static inline __m256i cvtfp32_bf16(const __m512& src) { + __m512i value = _mm512_castps_si512(src); + __m512i nan = _mm512_set1_epi32(0xffff); + auto mask_value = _mm512_cmp_ps_mask(src, src, _CMP_ORD_Q); + __m512i ones = _mm512_set1_epi32(0x1); + __m512i vec_bias = _mm512_set1_epi32(0x7fff); + // uint32_t lsb = (input >> 16) & 1; + auto t_value = _mm512_and_si512(_mm512_srli_epi32(value, 16), ones); + // uint32_t rounding_bias = 0x7fff + lsb; + t_value = _mm512_add_epi32(t_value, vec_bias); + // input += rounding_bias; + t_value = _mm512_add_epi32(t_value, value); + // input = input >> 16; + t_value = _mm512_srli_epi32(t_value, 16); + // Check NaN before converting back to bf16 + t_value = _mm512_mask_blend_epi32(mask_value, nan, t_value); + return _mm512_cvtusepi32_epi16(t_value); +} + +static inline __m512i cvtfp32_bf16(const __m512& a, const __m512& b) { + __m512i lo = _mm512_castps_si512(a); + __m512i hi = _mm512_castps_si512(b); + __m512i nan = _mm512_set1_epi32(0xffff); + auto mask_lo = _mm512_cmp_ps_mask(a, a, _CMP_ORD_Q); + auto mask_hi = _mm512_cmp_ps_mask(b, b, _CMP_ORD_Q); + __m512i ones = _mm512_set1_epi32(0x1); + __m512i vec_bias = _mm512_set1_epi32(0x7fff); + // uint32_t lsb = (input >> 16) & 1; + auto t_lo = _mm512_and_si512(_mm512_srli_epi32(lo, 16), ones); + auto t_hi = _mm512_and_si512(_mm512_srli_epi32(hi, 16), ones); + // uint32_t rounding_bias = 0x7fff + lsb; + t_lo = _mm512_add_epi32(t_lo, vec_bias); + t_hi = _mm512_add_epi32(t_hi, vec_bias); + // input += rounding_bias; + t_lo = _mm512_add_epi32(t_lo, lo); + t_hi = _mm512_add_epi32(t_hi, hi); + // input = input >> 16; + t_lo = _mm512_srli_epi32(t_lo, 16); + t_hi = _mm512_srli_epi32(t_hi, 16); + // Check NaN before converting back to bf16 + t_lo = _mm512_mask_blend_epi32(mask_lo, nan, t_lo); + t_hi = _mm512_mask_blend_epi32(mask_hi, nan, t_hi); + + t_lo = _mm512_packus_epi32(t_lo, t_hi); // t_hi[4-7] t_lo[4-7] t_hi[0-4] t_lo[0-4] + __m512i idx = _mm512_set_epi64(7, 5, 3, 1, 6, 4, 2, 0); + return _mm512_permutexvar_epi64(idx, t_lo); +} + +static inline __m512i merge_compare_result(const __m512& a, const __m512& b) { + __m512i lo = _mm512_castps_si512(a); + __m512i hi = _mm512_castps_si512(b); + lo = _mm512_srli_epi32(lo, 16); + hi = _mm512_srli_epi32(hi, 16); + auto out = _mm512_packus_epi32(lo, hi); + __m512i idx = _mm512_set_epi64(7, 5, 3, 1, 6, 4, 2, 0); + return _mm512_permutexvar_epi64(idx, out); +} + +// float16 conversion +static inline void cvtfp16_fp32(const __m256i& a, __m512& o) { + o = _mm512_cvtph_ps(a); +} + +static inline void cvtfp16_fp32(const __m512i& a, __m512& o1, __m512& o2) { + __m256i lo = _mm512_extracti32x8_epi32(a, 0); + __m256i hi = _mm512_extracti32x8_epi32(a, 1); + cvtfp16_fp32(lo, o1); + cvtfp16_fp32(hi, o2); +} + +static inline __m512i cvtfp32_fp16(const __m512& a, const __m512& b) { + __m256i lo = _mm512_cvtps_ph( + a, (_MM_FROUND_TO_NEAREST_INT | _MM_FROUND_NO_EXC)); + __m256i hi = _mm512_cvtps_ph( + b, (_MM_FROUND_TO_NEAREST_INT | _MM_FROUND_NO_EXC)); + __m512 t_lo = _mm512_castsi512_ps(_mm512_castsi256_si512(lo)); + __m256 t_hi = _mm256_castsi256_ps(hi); + return _mm512_castps_si512(_mm512_insertf32x8(t_lo, t_hi, 1)); +} + +// dtype conversion between float16/bfloat16 and float32 +template , int> = 0> +inline void cvt_to_fp32(const __m256i& a, __m512& o); +template <> inline void cvt_to_fp32(const __m256i& a, __m512& o) { + cvtbf16_fp32(a, o); +} +template <> inline void cvt_to_fp32(const __m256i& a, __m512& o) { + cvtfp16_fp32(a, o); +} + +template , int> = 0> +inline void cvt_to_fp32(const __m512i& a, __m512& o1, __m512& o2); +template <> inline void cvt_to_fp32(const __m512i& a, __m512& o1, __m512& o2) { + cvtbf16_fp32(a, o1, o2); +} +template <> inline void cvt_to_fp32(const __m512i& a, __m512& o1, __m512& o2) { + cvtfp16_fp32(a, o1, o2); +} + +template , int> = 0> +inline __m512i cvt_from_fp32(const __m512& a, const __m512& b); +template <> inline __m512i cvt_from_fp32(const __m512& a, const __m512& b) { + return cvtfp32_bf16(a, b); +} +template <> inline __m512i cvt_from_fp32(const __m512& a, const __m512& b) { + return merge_compare_result(a, b); +} +template <> inline __m512i cvt_from_fp32(const __m512& a, const __m512& b) { + return cvtfp32_fp16(a, b); +} +template <> inline __m512i cvt_from_fp32(const __m512& a, const __m512& b) { + return cvtfp32_fp16(a, b); +} + +template +class Vectorized16 { +static_assert( + is_reduced_floating_point_v, + "Support only float16 and bfloat16."); +private: + __m512i values; +public: + using value_type = uint16_t; + using size_type = int; + static constexpr size_type size() { + return 32; + } + Vectorized16() {} + Vectorized16(__m512i v) : values(v) {} + Vectorized16(T val) { + value_type uw = val.x; + values = _mm512_set1_epi16(uw); + } + Vectorized16(T val1, T val2, T val3, T val4, + T val5, T val6, T val7, T val8, + T val9, T val10, T val11, T val12, + T val13, T val14, T val15, T val16, + T val17, T val18, T val19, T val20, + T val21, T val22, T val23, T val24, + T val25, T val26, T val27, T val28, + T val29, T val30, T val31, T val32) { + values = _mm512_set_epi16( + val32.x, val31.x, val30.x, val29.x, val28.x, val27.x, val26.x, val25.x, + val24.x, val23.x, val22.x, val21.x, val20.x, val19.x, val18.x, val17.x, + val16.x, val15.x, val14.x, val13.x, val12.x, val11.x, val10.x, val9.x, + val8.x, val7.x, val6.x, val5.x, val4.x, val3.x, val2.x, val1.x); + } + operator __m512i() const { + return values; + } + T& operator[](int idx) = delete; + const T& operator[](int idx) const = delete; + int zero_mask() const { + // returns an integer mask where all zero elements are translated to 1-bit and others are translated to 0-bit + return _mm512_cmpeq_epi16_mask(values, _mm512_set1_epi16(0)); + } + static Vectorized loadu(const void* ptr, int16_t count = size()) { + if (count == size()) + return _mm512_loadu_si512(reinterpret_cast(ptr)); + + __mmask32 mask = (1ULL << count) - 1; + return _mm512_maskz_loadu_epi16(mask, ptr); + } + void store(void* ptr, int count = size()) const { + if (count == size()) { + _mm512_storeu_si512(reinterpret_cast<__m512i*>(ptr), values); + } else if (count > 0) { + __mmask32 mask = (1ULL << count) - 1; + _mm512_mask_storeu_epi16(ptr, mask, values); + } + } + template + static Vectorized blend(const Vectorized& a, const Vectorized& b) { + __at_align__ int16_t tmp_values[size()]; + a.store(tmp_values); + if (mask & 0x01) + tmp_values[0] = b.values[31]; + if (mask & 0x02) + tmp_values[1] = b.values[30]; + if (mask & 0x04) + tmp_values[2] = b.values[29]; + if (mask & 0x08) + tmp_values[3] = b.values[28]; + if (mask & 0x10) + tmp_values[4] = b.values[27]; + if (mask & 0x20) + tmp_values[5] = b.values[26]; + if (mask & 0x40) + tmp_values[6] = b.values[25]; + if (mask & 0x80) + tmp_values[7] = b.values[24]; + if (mask & 0x100) + tmp_values[8] = b.values[23]; + if (mask & 0x200) + tmp_values[9] = b.values[22]; + if (mask & 0x400) + tmp_values[10] = b.values[21]; + if (mask & 0x800) + tmp_values[11] = b.values[20]; + if (mask & 0x1000) + tmp_values[12] = b.values[19]; + if (mask & 0x2000) + tmp_values[13] = b.values[18]; + if (mask & 0x4000) + tmp_values[14] = b.values[17]; + if (mask & 0x8000) + tmp_values[15] = b.values[16]; + if (mask & 0x10000) + tmp_values[16] = b.values[15]; + if (mask & 0x20000) + tmp_values[17] = b.values[14]; + if (mask & 0x40000) + tmp_values[18] = b.values[13]; + if (mask & 0x80000) + tmp_values[19] = b.values[12]; + if (mask & 0x100000) + tmp_values[20] = b.values[11]; + if (mask & 0x200000) + tmp_values[21] = b.values[10]; + if (mask & 0x400000) + tmp_values[22] = b.values[9]; + if (mask & 0x800000) + tmp_values[23] = b.values[8]; + if (mask & 0x1000000) + tmp_values[24] = b.values[7]; + if (mask & 0x2000000) + tmp_values[25] = b.values[6]; + if (mask & 0x4000000) + tmp_values[26] = b.values[5]; + if (mask & 0x8000000) + tmp_values[27] = b.values[4]; + if (mask & 0x10000000) + tmp_values[28] = b.values[3]; + if (mask & 0x20000000) + tmp_values[29] = b.values[2]; + if (mask & 0x40000000) + tmp_values[30] = b.values[1]; + if (mask & 0x80000000) + tmp_values[31] = b.values[0]; + return loadu(tmp_values); + } + static Vectorized blendv(const Vectorized& a, + const Vectorized& b, const Vectorized& mask) { + auto all_ones = _mm512_set1_epi16(0xFFFF); + auto mask_ = _mm512_cmp_epi16_mask(mask, all_ones, _MM_CMPINT_EQ); + return _mm512_mask_blend_epi16(mask_, a.values, b.values); + } + template + static Vectorized arange(T base = 0.f, step_t step = static_cast(1)) { + return Vectorized( + base, base + step, base + 2 * step, base + 3 * step, + base + 4 * step, base + 5 * step, base + 6 * step, base + 7 * step, + base + 8 * step, base + 9 * step, base + 10 * step, base + 11 * step, + base + 12 * step, base + 13 * step, base + 14 * step, base + 15 * step, + base + 16 * step, base + 17 * step, base + 18 * step, base + 19 * step, + base + 20 * step, base + 21 * step, base + 22 * step, base + 23 * step, + base + 24 * step, base + 25 * step, base + 26 * step, base + 27 * step, + base + 28 * step, base + 29 * step, base + 30 * step, base + 31 * step); + } + static Vectorized set(const Vectorized& a, + const Vectorized& b, int64_t count = size()) { + switch (count) { + case 0: + return a; + case 1: + return blend<1>(a, b); + case 2: + return blend<3>(a, b); + case 3: + return blend<7>(a, b); + case 4: + return blend<15>(a, b); + case 5: + return blend<31>(a, b); + case 6: + return blend<63>(a, b); + case 7: + return blend<127>(a, b); + case 8: + return blend<255>(a, b); + case 9: + return blend<511>(a, b); + case 10: + return blend<1023>(a, b); + case 11: + return blend<2047>(a, b); + case 12: + return blend<4095>(a, b); + case 13: + return blend<8191>(a, b); + case 14: + return blend<16383>(a, b); + case 15: + return blend<32767>(a, b); + case 16: + return blend<65535>(a, b); + case 17: + return blend<131071>(a, b); + case 18: + return blend<262143>(a, b); + case 19: + return blend<524287>(a, b); + case 20: + return blend<1048575>(a, b); + case 21: + return blend<2097151>(a, b); + case 22: + return blend<4194303>(a, b); + case 23: + return blend<8388607>(a, b); + case 24: + return blend<16777215>(a, b); + case 25: + return blend<33554431>(a, b); + case 26: + return blend<67108863>(a, b); + case 27: + return blend<134217727>(a, b); + case 28: + return blend<268435455>(a, b); + case 29: + return blend<536870911>(a, b); + case 30: + return blend<1073741823>(a, b); + case 31: + return blend<2147483647>(a, b); + } + return b; + } + #pragma clang diagnostic push + #pragma clang diagnostic ignored "-Wignored-qualifiers" + Vectorized map(const __m512 (*const vop)(__m512)) const { + __m512 lo, hi; + cvt_to_fp32(values, lo, hi); + const auto o1 = vop(lo); + const auto o2 = vop(hi); + return cvt_from_fp32(o1, o2); + } + Vectorized isnan() const { + __m512 lo, hi; + cvt_to_fp32(values, lo, hi); + __mmask16 lo_mask, hi_mask; + __m512 zero = _mm512_set1_ps(0.0); + __m512i zeroi = _mm512_castps_si512(zero); + lo_mask = _mm512_cmp_ps_mask(lo, zero, _CMP_UNORD_Q); + lo = _mm512_castsi512_ps(_mm512_mask_set1_epi32(zeroi, lo_mask, 0xFFFF'FFFF)); + hi_mask = _mm512_cmp_ps_mask(hi, zero, _CMP_UNORD_Q); + hi = _mm512_castsi512_ps(_mm512_mask_set1_epi32(zeroi, hi_mask, 0xFFFF'FFFF)); + return merge_compare_result(lo, hi); + } + #pragma clang diagnostic pop + Vectorized abs() const { + return _mm512_andnot_si512(_mm512_set1_epi16(0x8000), values); + } + Vectorized angle() const { + __m512 lo, hi; + cvt_to_fp32(values, lo, hi); + auto angle_lambda = [](__m512 values) { + const auto zero_vec = _mm512_set1_ps(0.f); + const auto nan_vec = _mm512_set1_ps(NAN); + const auto not_nan_mask = _mm512_cmp_ps_mask(values, values, _CMP_EQ_OQ); + const auto non_nan_mask_vec = _mm512_mask_set1_epi32(_mm512_castps_si512(zero_vec), + not_nan_mask, 0xFFFFFFFF); + const auto nan_mask = _mm512_cmp_ps_mask(_mm512_castsi512_ps(non_nan_mask_vec), + zero_vec, _CMP_EQ_OQ); + const auto pi = _mm512_set1_ps(c10::pi); + + const auto neg_mask = _mm512_cmp_ps_mask(values, zero_vec, _CMP_LT_OQ); + auto angle = _mm512_mask_blend_ps(neg_mask, zero_vec, pi); + angle = _mm512_mask_blend_ps(nan_mask, angle, nan_vec); + return angle; + }; + auto o1 = angle_lambda(lo); + auto o2 = angle_lambda(hi); + return cvt_from_fp32(o1, o2); + } + Vectorized real() const { + return *this; + } + Vectorized imag() const { + return _mm512_set1_epi16(0); + } + Vectorized conj() const { + return *this; + } + Vectorized acos() const { + return map(Sleef_acosf16_u10); + } + Vectorized acosh() const { + return map(Sleef_acoshf16_u10); + } + Vectorized asin() const { + return map(Sleef_asinf16_u10); + } + Vectorized atan() const { + return map(Sleef_atanf16_u10); + } + Vectorized atanh() const { + return map(Sleef_atanhf16_u10); + } + Vectorized atan2(const Vectorized &b) const { + __m512 lo, hi; + __m512 b1, b2; + cvt_to_fp32(values, lo, hi); + cvt_to_fp32(b.values, b1, b2); + auto o1 = Sleef_atan2f16_u10(lo, b1); + auto o2 = Sleef_atan2f16_u10(hi, b2); + return cvt_from_fp32(o1, o2); + } + Vectorized copysign(const Vectorized &sign) const { + // copy sign bit (0x8000) from sign and remaining bits from values + __m512i mask_value = _mm512_set1_epi32(~0x80008000); + __m512i mask_signbit = _mm512_set1_epi32(0x80008000); + return Vectorized( + _mm512_or_si512( + _mm512_and_si512(values, mask_value), + _mm512_and_si512(sign, mask_signbit))); + } + Vectorized erf() const { + return map(Sleef_erff16_u10); + } + Vectorized erfc() const { + return map(Sleef_erfcf16_u15); + } + Vectorized erfinv() const { + __m512 lo, hi; + cvt_to_fp32(values, lo, hi); + __at_align__ float tmp1[size() / 2], tmp2[size() / 2]; + _mm512_storeu_ps(reinterpret_cast(tmp1), lo); + _mm512_storeu_ps(reinterpret_cast(tmp2), hi); + for (int64_t i = 0; i < size() / 2; i++) { + tmp1[i] = calc_erfinv(tmp1[i]); + tmp2[i] = calc_erfinv(tmp2[i]); + } + auto o1 = _mm512_loadu_ps(tmp1); + auto o2 = _mm512_loadu_ps(tmp2); + return cvt_from_fp32(o1, o2); + } + Vectorized exp() const { + return map(Sleef_expf16_u10); + } + Vectorized exp2() const { + return map(Sleef_exp2f16_u10); + } + Vectorized expm1() const { + return map(Sleef_expm1f16_u10); + } + Vectorized exp_u20() const { + return exp(); + } + Vectorized fmod(const Vectorized & q) const { + __m512 x_lo, x_hi; + cvt_to_fp32(values, x_lo, x_hi); + __m512 q_lo, q_hi; + cvtbf16_fp32(q.values, q_lo, q_hi); + auto o1 = Sleef_fmodf16(x_lo, q_lo); + auto o2 = Sleef_fmodf16(x_hi, q_hi); + return cvt_from_fp32(o1, o2); + } + Vectorized hypot(const Vectorized &b) const { + __m512 lo, hi; + __m512 b1, b2; + cvt_to_fp32(values, lo, hi); + cvt_to_fp32(b.values, b1, b2); + auto o1 = Sleef_hypotf16_u05(lo, b1); + auto o2 = Sleef_hypotf16_u05(hi, b2); + return cvt_from_fp32(o1, o2); + } + Vectorized i0() const { + __m512 lo, hi; + cvt_to_fp32(values, lo, hi); + __at_align__ float tmp1[size() / 2], tmp2[size() / 2]; + _mm512_storeu_ps(reinterpret_cast(tmp1), lo); + _mm512_storeu_ps(reinterpret_cast(tmp2), hi); + for (int64_t i = 0; i < size() / 2; i++) { + tmp1[i] = calc_i0(tmp1[i]); + tmp2[i] = calc_i0(tmp2[i]); + } + auto o1 = _mm512_loadu_ps(tmp1); + auto o2 = _mm512_loadu_ps(tmp2); + return cvt_from_fp32(o1, o2); + } + Vectorized i0e() const { + __m512 lo, hi; + cvt_to_fp32(values, lo, hi); + constexpr auto sz = size(); + __at_align__ float tmp1[sz / 2], tmp2[sz / 2]; + _mm512_storeu_ps(reinterpret_cast(tmp1), lo); + _mm512_storeu_ps(reinterpret_cast(tmp2), hi); + + for (auto i = decltype(sz){0}; i < sz / 2; i++) { + tmp1[i] = calc_i0e(tmp1[i]); + tmp2[i] = calc_i0e(tmp2[i]); + } + const auto o1 = _mm512_loadu_ps(tmp1); + const auto o2 = _mm512_loadu_ps(tmp2); + return cvt_from_fp32(o1, o2); + } + Vectorized digamma() const { + __m512 lo, hi; + cvt_to_fp32(values, lo, hi); + constexpr auto sz = size(); + __at_align__ float tmp1[sz / 2], tmp2[sz / 2]; + _mm512_storeu_ps(reinterpret_cast(tmp1), lo); + _mm512_storeu_ps(reinterpret_cast(tmp2), hi); + + for (auto i = decltype(sz){0}; i < sz / 2; i++) { + tmp1[i] = calc_digamma(tmp1[i]); + tmp2[i] = calc_digamma(tmp2[i]); + } + const auto o1 = _mm512_loadu_ps(tmp1); + const auto o2 = _mm512_loadu_ps(tmp2); + return cvt_from_fp32(o1, o2); + } + Vectorized igamma(const Vectorized &x) const { + __m512 lo, hi; + __m512 xlo, xhi; + cvt_to_fp32(values, lo, hi); + cvt_to_fp32(x.values, xlo, xhi); + __at_align__ float tmp1[size() / 2], tmp2[size() / 2]; + _mm512_storeu_ps(reinterpret_cast(tmp1), lo); + _mm512_storeu_ps(reinterpret_cast(tmp2), hi); + __at_align__ float tmpx1[size() / 2], tmpx2[size() / 2]; + _mm512_storeu_ps(reinterpret_cast(tmpx1), xlo); + _mm512_storeu_ps(reinterpret_cast(tmpx2), xhi); + for (int64_t i = 0; i < size() / 2; ++i) { + tmp1[i] = calc_igamma(tmp1[i], tmpx1[i]); + tmp2[i] = calc_igamma(tmp2[i], tmpx2[i]); + } + auto o1 = _mm512_loadu_ps(tmp1); + auto o2 = _mm512_loadu_ps(tmp2); + return cvt_from_fp32(o1, o2); + } + + Vectorized igammac(const Vectorized &x) const { + __m512 lo, hi; + __m512 xlo, xhi; + cvt_to_fp32(values, lo, hi); + cvt_to_fp32(x.values, xlo, xhi); + __at_align__ float tmp1[size() / 2], tmp2[size() / 2]; + _mm512_storeu_ps(reinterpret_cast(tmp1), lo); + _mm512_storeu_ps(reinterpret_cast(tmp2), hi); + __at_align__ float tmpx1[size() / 2], tmpx2[size() / 2]; + _mm512_storeu_ps(reinterpret_cast(tmpx1), xlo); + _mm512_storeu_ps(reinterpret_cast(tmpx2), xhi); + for (int64_t i = 0; i < size() / 2; ++i) { + tmp1[i] = calc_igammac(tmp1[i], tmpx1[i]); + tmp2[i] = calc_igammac(tmp2[i], tmpx2[i]); + } + auto o1 = _mm512_loadu_ps(tmp1); + auto o2 = _mm512_loadu_ps(tmp2); + return cvt_from_fp32(o1, o2); + } + Vectorized log() const { + return map(Sleef_logf16_u10); + } + Vectorized log2() const { + return map(Sleef_log2f16_u10); + } + Vectorized log10() const { + return map(Sleef_log10f16_u10); + } + Vectorized log1p() const { + return map(Sleef_log1pf16_u10); + } + Vectorized sin() const { + return map(Sleef_sinf16_u10); + } + Vectorized sinh() const { + return map(Sleef_sinhf16_u10); + } + Vectorized cos() const { + return map(Sleef_cosf16_u10); + } + Vectorized cosh() const { + return map(Sleef_coshf16_u10); + } + Vectorized ceil() const { + __m512 lo, hi; + cvt_to_fp32(values, lo, hi); + auto o1 = _mm512_ceil_ps(lo); + auto o2 = _mm512_ceil_ps(hi); + return cvt_from_fp32(o1, o2); + } + Vectorized floor() const { + __m512 lo, hi; + cvt_to_fp32(values, lo, hi); + auto o1 = _mm512_floor_ps(lo); + auto o2 = _mm512_floor_ps(hi); + return cvt_from_fp32(o1, o2); + } + Vectorized neg() const { + return _mm512_xor_si512(values, _mm512_set1_epi16(0x8000)); + } + Vectorized round() const { + __m512 lo, hi; + cvt_to_fp32(values, lo, hi); + auto o1 = _mm512_roundscale_ps(lo, (_MM_FROUND_TO_NEAREST_INT | _MM_FROUND_NO_EXC)); + auto o2 = _mm512_roundscale_ps(hi, (_MM_FROUND_TO_NEAREST_INT | _MM_FROUND_NO_EXC)); + return cvt_from_fp32(o1, o2); + } + Vectorized tan() const { + return map(Sleef_tanf16_u10); + } + Vectorized tanh() const { + return map(Sleef_tanhf16_u10); + } + Vectorized trunc() const { + __m512 lo, hi; + cvt_to_fp32(values, lo, hi); + auto o1 = _mm512_roundscale_ps(lo, (_MM_FROUND_TO_ZERO | _MM_FROUND_NO_EXC)); + auto o2 = _mm512_roundscale_ps(hi, (_MM_FROUND_TO_ZERO | _MM_FROUND_NO_EXC)); + return cvt_from_fp32(o1, o2); + } + Vectorized lgamma() const { + return map(Sleef_lgammaf16_u10); + } + Vectorized sqrt() const { + __m512 lo, hi; + cvt_to_fp32(values, lo, hi); + auto o1 = _mm512_sqrt_ps(lo); + auto o2 = _mm512_sqrt_ps(hi); + return cvt_from_fp32(o1, o2); + } + Vectorized reciprocal() const { + __m512 lo, hi; + cvt_to_fp32(values, lo, hi); + auto ones = _mm512_set1_ps(1); + auto o1 = _mm512_div_ps(ones, lo); + auto o2 = _mm512_div_ps(ones, hi); + return cvt_from_fp32(o1, o2); + } + Vectorized rsqrt() const { + __m512 lo, hi; + cvt_to_fp32(values, lo, hi); + auto ones = _mm512_set1_ps(1); + auto o1 = _mm512_div_ps(ones, _mm512_sqrt_ps(lo)); + auto o2 = _mm512_div_ps(ones, _mm512_sqrt_ps(hi)); + return cvt_from_fp32(o1, o2); + } + Vectorized pow(const Vectorized &b) const { + __m512 lo, hi; + __m512 b1, b2; + cvt_to_fp32(values, lo, hi); + cvt_to_fp32(b.values, b1, b2); + auto o1 = Sleef_powf16_u10(lo, b1); + auto o2 = Sleef_powf16_u10(hi, b2); + return cvt_from_fp32(o1, o2); + } +private: + template + Vectorized inline binary_compare(const Vectorized& b, Op op) const { + __m512 a_lo, a_hi; + __m512 b_lo, b_hi; + cvt_to_fp32(values, a_lo, a_hi); + cvt_to_fp32(b.values, b_lo, b_hi); + auto o1 = op(a_lo, b_lo); + auto o2 = op(a_hi, b_hi); + return cvt_from_fp32(o1, o2); + } + +public: + Vectorized inline operator>(const Vectorized& other) const { + return binary_compare(other, [](__m512 x, __m512 y) { + auto zero_vec = _mm512_set1_epi32(0); + auto cmp = _mm512_cmp_ps_mask(x, y, _CMP_GT_OQ); + return _mm512_castsi512_ps(_mm512_mask_set1_epi32(zero_vec, cmp, 0xFFFFFFFF)); + }); + } + Vectorized inline operator<(const Vectorized& other) const { + return binary_compare(other, [](__m512 x, __m512 y) { + auto zero_vec = _mm512_set1_epi32(0); + auto cmp = _mm512_cmp_ps_mask(x, y, _CMP_LT_OQ); + return _mm512_castsi512_ps(_mm512_mask_set1_epi32(zero_vec, cmp, 0xFFFFFFFF)); + }); + } + Vectorized inline operator>=(const Vectorized& other) const { + return binary_compare(other, [](__m512 x, __m512 y) { + auto zero_vec = _mm512_set1_epi32(0); + auto cmp = _mm512_cmp_ps_mask(x, y, _CMP_GE_OQ); + return _mm512_castsi512_ps(_mm512_mask_set1_epi32(zero_vec, cmp, 0xFFFFFFFF)); + }); + } + Vectorized inline operator<=(const Vectorized& other) const { + return binary_compare(other, [](__m512 x, __m512 y) { + auto zero_vec = _mm512_set1_epi32(0); + auto cmp = _mm512_cmp_ps_mask(x, y, _CMP_LE_OQ); + return _mm512_castsi512_ps(_mm512_mask_set1_epi32(zero_vec, cmp, 0xFFFFFFFF)); + }); + } + Vectorized inline operator==(const Vectorized& other) const { + return binary_compare(other, [](__m512 x, __m512 y) { + auto zero_vec = _mm512_set1_epi32(0); + auto cmp = _mm512_cmp_ps_mask(x, y, _CMP_EQ_OQ); + return _mm512_castsi512_ps(_mm512_mask_set1_epi32(zero_vec, cmp, 0xFFFFFFFF)); + }); + } + Vectorized inline operator!=(const Vectorized& other) const { + return binary_compare(other, [](__m512 x, __m512 y) { + auto zero_vec = _mm512_set1_epi32(0); + auto cmp = _mm512_cmp_ps_mask(x, y, _CMP_NEQ_UQ); + return _mm512_castsi512_ps(_mm512_mask_set1_epi32(zero_vec, cmp, 0xFFFFFFFF)); + }); + } +}; + +template +static inline Vectorized binary_op_as_fp32(const Vectorized& a, const Vectorized& b, Op op) { + __m512 a_lo, a_hi; + __m512 b_lo, b_hi; + cvt_to_fp32(__m512i(a), a_lo, a_hi); + cvt_to_fp32(__m512i(b), b_lo, b_hi); + auto o1 = op(a_lo, b_lo); + auto o2 = op(a_hi, b_hi); + return cvt_from_fp32(o1, o2); +} + +template <> +class Vectorized: public Vectorized16 { +public: + using Vectorized16::Vectorized16; + + Vectorized frac() const; + + Vectorized eq(const Vectorized& other) const; + Vectorized ne(const Vectorized& other) const; + Vectorized gt(const Vectorized& other) const; + Vectorized ge(const Vectorized& other) const; + Vectorized lt(const Vectorized& other) const; + Vectorized le(const Vectorized& other) const; +}; + +Vectorized inline operator+(const Vectorized& a, const Vectorized& b) { + return binary_op_as_fp32(a, b, [](const __m512& x, const __m512& y) { return _mm512_add_ps(x, y); }); +} +Vectorized inline operator-(const Vectorized& a, const Vectorized& b) { + return binary_op_as_fp32(a, b, [](const __m512& x, const __m512& y) { return _mm512_sub_ps(x, y); }); +} +Vectorized inline operator*(const Vectorized& a, const Vectorized& b) { + return binary_op_as_fp32(a, b, [](const __m512& x, const __m512& y) { return _mm512_mul_ps(x, y); }); +} +Vectorized inline operator/(const Vectorized& a, const Vectorized& b) { + return binary_op_as_fp32(a, b, [](const __m512& x, const __m512& y) { return _mm512_div_ps(x, y); }); +} +Vectorized inline operator&(const Vectorized& a, const Vectorized& b) { + return _mm512_and_si512(a, b); +} +Vectorized inline operator|(const Vectorized& a, const Vectorized& b) { + return _mm512_or_si512(a, b); +} +Vectorized inline operator^(const Vectorized& a, const Vectorized& b) { + return _mm512_xor_si512(a, b); +} + +inline Vectorized Vectorized::eq(const Vectorized& other) const { + return (*this == other) & Vectorized(1.0f); +} + +inline Vectorized Vectorized::ne(const Vectorized& other) const { + return (*this != other) & Vectorized(1.0f); +} + +inline Vectorized Vectorized::gt(const Vectorized& other) const { + return (*this > other) & Vectorized(1.0f); +} + +inline Vectorized Vectorized::ge(const Vectorized& other) const { + return (*this >= other) & Vectorized(1.0f); +} + +inline Vectorized Vectorized::lt(const Vectorized& other) const { + return (*this < other) & Vectorized(1.0f); +} + +inline Vectorized Vectorized::le(const Vectorized& other) const { + return (*this <= other) & Vectorized(1.0f); +} + +// frac. Implement this here so we can use subtraction +inline Vectorized Vectorized::frac() const { + return *this - this->trunc(); +} + +// Implements the IEEE 754 201X `maximum` operation, which propagates NaN if +// either input is a NaN. +template <> +Vectorized inline maximum(const Vectorized& a, const Vectorized& b) { + __m512 a_lo, a_hi; + __m512 b_lo, b_hi; + cvtbf16_fp32(__m512i(a), a_lo, a_hi); + cvtbf16_fp32(__m512i(b), b_lo, b_hi); + auto max_lo = _mm512_max_ps(a_lo, b_lo); + auto max_hi = _mm512_max_ps(a_hi, b_hi); + auto nan_lo_mask = _mm512_cmp_ps_mask(a_lo, b_lo, _CMP_UNORD_Q); + auto nan_hi_mask = _mm512_cmp_ps_mask(a_hi, b_hi, _CMP_UNORD_Q); + auto nan_lo = _mm512_castsi512_ps(_mm512_set1_epi32(nan_lo_mask)); + auto nan_hi = _mm512_castsi512_ps(_mm512_set1_epi32(nan_hi_mask)); + // Exploit the fact that all-ones is a NaN. + auto o1 = _mm512_or_ps(max_lo, nan_lo); + auto o2 = _mm512_or_ps(max_hi, nan_hi); + return cvtfp32_bf16(o1, o2); +} + +// Implements the IEEE 754 201X `minimum` operation, which propagates NaN if +// either input is a NaN. +template <> +Vectorized inline minimum(const Vectorized& a, const Vectorized& b) { + __m512 a_lo, a_hi; + __m512 b_lo, b_hi; + __m512i zero_vec = _mm512_set1_epi32(0); + cvtbf16_fp32(__m512i(a), a_lo, a_hi); + cvtbf16_fp32(__m512i(b), b_lo, b_hi); + auto min_lo = _mm512_min_ps(a_lo, b_lo); + auto min_hi = _mm512_min_ps(a_hi, b_hi); + auto nan_lo_mask = _mm512_cmp_ps_mask(a_lo, b_lo, _CMP_UNORD_Q); + auto nan_hi_mask = _mm512_cmp_ps_mask(a_hi, b_hi, _CMP_UNORD_Q); + auto nan_lo = _mm512_castsi512_ps(_mm512_mask_set1_epi32(zero_vec, nan_lo_mask, + 0xFFFFFFFF)); + auto nan_hi = _mm512_castsi512_ps(_mm512_mask_set1_epi32(zero_vec, nan_hi_mask, + 0xFFFFFFFF)); + // Exploit the fact that all-ones is a NaN. + auto o1 = _mm512_or_ps(min_lo, nan_lo); + auto o2 = _mm512_or_ps(min_hi, nan_hi); + return cvtfp32_bf16(o1, o2); +} + +template <> +Vectorized inline clamp(const Vectorized& a, + const Vectorized& min, const Vectorized& max) { + __m512 a_lo, a_hi; + __m512 min_lo, min_hi; + __m512 max_lo, max_hi; + cvtbf16_fp32(__m512i(a), a_lo, a_hi); + cvtbf16_fp32(__m512i(min), min_lo, min_hi); + cvtbf16_fp32(__m512i(max), max_lo, max_hi); + auto o1 = _mm512_min_ps(max_lo, _mm512_max_ps(min_lo, a_lo)); + auto o2 = _mm512_min_ps(max_hi, _mm512_max_ps(min_hi, a_hi)); + return cvtfp32_bf16(o1, o2); +} + +template <> +Vectorized inline clamp_max(const Vectorized& a, const Vectorized& max) { + __m512 a_lo, a_hi; + __m512 max_lo, max_hi; + cvtbf16_fp32(__m512i(a), a_lo, a_hi); + cvtbf16_fp32(__m512i(max), max_lo, max_hi); + auto o1 = _mm512_min_ps(max_lo, a_lo); + auto o2 = _mm512_min_ps(max_hi, a_hi); + return cvtfp32_bf16(o1, o2); +} + +template <> +Vectorized inline clamp_min(const Vectorized& a, const Vectorized& min) { + __m512 a_lo, a_hi; + __m512 min_lo, min_hi; + cvtbf16_fp32(__m512i(a), a_lo, a_hi); + cvtbf16_fp32(__m512i(min), min_lo, min_hi); + auto o1 = _mm512_max_ps(min_lo, a_lo); + auto o2 = _mm512_max_ps(min_hi, a_hi); + return cvtfp32_bf16(o1, o2); +} + +template <> +inline void convert(const BFloat16* src, BFloat16* dst, int64_t n) { + int64_t i; +#pragma unroll + for (i = 0; i <= (n - Vectorized::size()); i += Vectorized::size()) { + auto vsrc = _mm512_loadu_si512(reinterpret_cast<__m512i*>((void*)(src + i))); + _mm512_storeu_si512(reinterpret_cast<__m512i*>((void*)(dst + i)), vsrc); + } +#pragma unroll + for (; i < n; i++) { + dst[i] = src[i]; + } +} + +template <> +inline void convert(const float* src, BFloat16* dst, int64_t n) { + int64_t i; + for (i = 0; i + Vectorized::size() <= n; i += Vectorized::size()) { + __m512 a = _mm512_loadu_ps(&src[i]); + __m512 b = _mm512_loadu_ps(&src[i + 16]); + + __m512i bf = cvtfp32_bf16(a, b); + _mm512_storeu_si512(reinterpret_cast<__m512i*>(&dst[i]), bf); + } + for (; i < n; i++) { + dst[i] = c10::convert(src[i]); + } +} + +template <> +inline void convert(const double* src, BFloat16* dst, int64_t n) { + auto load_float = [](const double *src) -> __m512 { + // Load one float vector from an array of doubles + __m256 a = _mm512_cvtpd_ps(_mm512_loadu_pd(src)); + __m256 b = _mm512_cvtpd_ps(_mm512_loadu_pd(src + 8)); + return _mm512_insertf32x8(_mm512_castps256_ps512(a), b, 1); + }; + + int64_t i; + for (i = 0; i + Vectorized::size() <= n; i += Vectorized::size()) { + __m512 a = load_float(&src[i]); + __m512 b = load_float(&src[i + 16]); + + __m512i bf = cvtfp32_bf16(a, b); + _mm512_storeu_si512(reinterpret_cast<__m512i*>(&dst[i]), bf); + } + for (; i < n; i++) { + dst[i] = c10::convert(src[i]); + } +} + +template <> +Vectorized inline fmadd(const Vectorized& a, + const Vectorized& b, const Vectorized& c) { + __m512 a_lo, a_hi; + __m512 b_lo, b_hi; + __m512 c_lo, c_hi; + cvtbf16_fp32(__m512i(a), a_lo, a_hi); + cvtbf16_fp32(__m512i(b), b_lo, b_hi); + cvtbf16_fp32(__m512i(c), c_lo, c_hi); + auto o1 = _mm512_fmadd_ps(a_lo, b_lo, c_lo); + auto o2 = _mm512_fmadd_ps(a_hi, b_hi, c_hi); + return cvtfp32_bf16(o1, o2); +} + +static inline void _transpose_mxn_half_16_16(__m256i t[], __m512i u[]) { + __m512i r[8]; + // a0a1 a2a3 a4a5 a6a7 a8a9 a10a11 a12a13 a14a15 e0e1 e2e3 e4e5 e6e7 e8e9 e10e11 e12e13 e14e15 + // b0-b15 f0-f15 + // c0-c15 g0-g15 + // d0-d15 h0-h15 + // i0-i15 m0-m15 + // j0-j15 n0-n15 + // k0-k15 o0-o15 + // l0-l15 p0-p15 +#pragma unroll(4) + for (int i = 0; i < 4; i++) { + r[i] = _mm512_inserti64x4(_mm512_castsi256_si512(t[i]), t[i + 4], 0x01); + r[i + 4] = _mm512_inserti64x4(_mm512_castsi256_si512(t[i + 8]), t[i + 12], 0x01); + } + + // u0: a0a1 b0b1 a2a3 b2b3 a8a9 b8b9 a10a11 b10b11 e0e1 f0f1 e2e3 f2f3 e8e9 f8f9 e10e11 f10f11 + // u1: a4a5 b4b5 a6a7 b6b7 a12a13 b12b13 a14a15 b14b15 e4e5 f4f5 e6e7 f6f7 e12e13 f12f13 e14e15 f14f15 + // u2: c0c1 d0d1 c2c3 d2d3 c8c9 d8d9 c10c11 d10d11 g0g1 h0h1 g2g3 h2h3 g8g9 h8h9 g10g11 h10h11 + // u3: c4c5 d4b5 c6c7 d6b7 c12c13 d12d13 c14c15 d14d15 g4g5 h4h5 g6g7 h6h7 g12g13 h12h13 g14g15 h14h15 + // i j m n + // k l o p +#pragma unroll(4) + for (int i = 0; i < 8; i += 2) { + u[i] = _mm512_unpacklo_epi32(r[i], r[i + 1]); + u[i + 1] = _mm512_unpackhi_epi32(r[i], r[i + 1]); + } + + // r0: a0a1 b0b1 c0c1 d0d1 a8a9 b8b9 c8c9 d8d9 e0e1 f0f1 g0g1 h0h1 e8e9 f8f9 g8g9 h8h9 + // r1: a2a3 b2b3 c2c3 d2d3 a10a11 b10b11 c10c11 d10d11 e2e3 f2f3 g2g3 h2h3 e10e11 f10f11 g10g11 h10h11 + // r2: a4a5 b4b5 c4c5 d4b5 a12a13 b12b13 c12c13 d12d13 + // r3: a6a7 b6b7 c6c7 d6b7 a14a15 b14b15 c14c15 d14d15 + // r4: i j k l m n o p + r[0] = _mm512_unpacklo_epi64(u[0], u[2]); + r[1] = _mm512_unpackhi_epi64(u[0], u[2]); + r[2] = _mm512_unpacklo_epi64(u[1], u[3]); + r[3] = _mm512_unpackhi_epi64(u[1], u[3]); + r[4] = _mm512_unpacklo_epi64(u[4], u[6]); + r[5] = _mm512_unpackhi_epi64(u[4], u[6]); + r[6] = _mm512_unpacklo_epi64(u[5], u[7]); + r[7] = _mm512_unpackhi_epi64(u[5], u[7]); + + __m512i const1 = _mm512_set_epi32( + 0x00370035, + 0x00330031, + 0x00270025, + 0x00230021, + 0x00170015, + 0x00130011, + 0x00070005, + 0x00030001, + 0x00360034, + 0x00320030, + 0x00260024, + 0x00220020, + 0x00160014, + 0x00120010, + 0x00060004, + 0x00020000); + __m512i const2 = _mm512_set_epi32( + 0x003f003d, + 0x003b0039, + 0x002f002d, + 0x002b0029, + 0x001f001d, + 0x001b0019, + 0x000f000d, + 0x000b0009, + 0x003e003c, + 0x003a0038, + 0x002e002c, + 0x002a0028, + 0x001e001c, + 0x001a0018, + 0x000e000c, + 0x000a0008); + // merge values from two regs + // 0-- 1-- + // 8-- 9-- + // 2-- 3-- + // 10-- 11-- + // 4-- 5-- + // 12-- 13-- + // 6-- 7-- + // 14-- 15-- +#pragma unroll(4) + for (int i = 0; i < 4; i++) { + u[i] = _mm512_permutex2var_epi16(r[i], const1, r[i + 4]); + u[i + 4] = _mm512_permutex2var_epi16(r[i], const2, r[i + 4]); + } +} + +// TODO(Leslie): Add the AVX2 Version of transpose_mxn for BFloat16 and Float16 +// Code referred to FBGEMM: +// https://github.com/pytorch/FBGEMM/blob/39a423e4ad1a04b77fea81c7d09c3e6f8984fae9/src/UtilsAvx512.cc#L1483-L1607 +template<> +inline void transpose_mxn( + const BFloat16* src, + int64_t ld_src, + BFloat16* dst, + int64_t ld_dst) { + __m256i t[16]; + // load from src to registers + // a: a0 a1 a2 a3 a4 a5 a6 a7 a8 a9 a10 a11 a12 a13 a14 a15 + // b: b0 b1 b2 b3 b4 b5 b6 b7 b8 b9 b10 b11 b12 b13 b14 b15 + // c: c0 c1 c2 c3 c4 c5 c6 c7 c8 c9 c10 c11 c12 c13 c14 c15 + // d: d0 d1 d2 d3 d4 d5 d6 d7 d8 d9 d10 d11 d12 d13 d14 d15 + // e: e0 e1 e2 e3 e4 e5 e6 e7 e8 e9 e10 e11 e12 e13 e14 e15 + // f: f0 f1 f2 f3 f4 f5 f6 f7 f8 f9 f10 f11 f12 f13 f14 f15 + // g: g0 g1 g2 g3 g4 g5 g6 g7 g8 g9 g10 g11 g12 g13 g14 g15 + // h: h0 h1 h2 h3 h4 h5 h6 h7 h8 h9 h10 h11 h12 h13 h14 h15 + // i: i0 i1 i2 i3 i4 i5 i6 i7 i8 i9 i10 i11 i12 i13 i14 i15 + // j: j0 j1 j2 j3 j4 j5 j6 j7 j8 j9 j10 j11 j12 j13 j14 j15 + // k: k0 k1 k2 k3 k4 k5 k6 k7 k8 k9 k10 k11 k12 k13 k14 k15 + // l: l0 l1 l2 l3 l4 l5 l6 l7 l8 l9 l10 l11 l12 l13 l14 l15 + // m: m0 m1 m2 m3 m4 m5 m6 m7 m8 m9 m10 m11 m12 m13 m14 m15 + // n: n0 n1 n2 n3 n4 n5 n6 n7 n8 n9 n10 n11 n12 n13 n14 n15 + // o: o0 o1 o2 o3 o4 o5 o6 o7 o8 o9 o10 o11 o12 o13 o14 o15 + // p: p0 p1 p2 p3 p4 p5 p6 p7 p8 p9 p10 p11 p12 p13 p14 p15 +#pragma unroll(16) + for (int i = 0; i < 16; i++) { + t[i] = _mm256_loadu_si256(reinterpret_cast(src + i * ld_src)); + } + + __m512i u[8]; + _transpose_mxn_half_16_16(t, u); + +#pragma unroll(8) + for (int i = 0; i < 8; i++) { + _mm256_storeu_si256( + reinterpret_cast<__m256i*>(dst + (i * 2) * ld_dst), + _mm512_extracti32x8_epi32(u[i], 0x0)); + _mm256_storeu_si256( + reinterpret_cast<__m256i*>(dst + (i * 2 + 1) * ld_dst), + _mm512_extracti32x8_epi32(u[i], 0x01)); + } +} + +// Code referred to FBGEMM: +// https://github.com/pytorch/FBGEMM/blob/39a423e4ad1a04b77fea81c7d09c3e6f8984fae9/src/UtilsAvx512.cc#L1483-L1607 +template<> +inline void transpose_mxn( + const Half* src, + int64_t ld_src, + Half* dst, + int64_t ld_dst) { + __m256i t[16]; + // load from src to registers + // Same matrix indices as above transpose_mxn +#pragma unroll(16) + for (int i = 0; i < 16; i++) { + t[i] = _mm256_loadu_si256(reinterpret_cast(src + i * ld_src)); + } + + __m512i u[8]; + _transpose_mxn_half_16_16(t, u); + +#pragma unroll(8) + for (int i = 0; i < 8; i++) { + _mm256_storeu_si256( + reinterpret_cast<__m256i*>(dst + (i * 2) * ld_dst), + _mm512_extracti32x8_epi32(u[i], 0x0)); + _mm256_storeu_si256( + reinterpret_cast<__m256i*>(dst + (i * 2 + 1) * ld_dst), + _mm512_extracti32x8_epi32(u[i], 0x01)); + } +} + +static inline void _transpose_mxn_half_32_32(__m512i r[], __m512i d[]) { + // t[0]: 0 32 1 33 2 34 3 35 8 40 9 41 10 42 11 43 16 ... 59 + // t[1]: 4 36 5 37 6 38 7 39 12 44 13 45 14 46 15 47 20 ... 63 + // t[2]: 64 96 65 97 66 98 67 99 72 104 73 105 74 106 75 ... 123 + // t[3]: 68 100 69 101 70 102 71 103 76 108 77 109 78 110 79 111 84 ... 127 + // t[4]: 128 160 129 161 130 162 131 163 136 168 137 169 138 170 139 171 144 ... 187 + // t[5]: 132 164 133 165 134 166 135 167 140 172 141 173 142 174 143 175 148 ... 191 + // t[6]: 192 224 193 225 194 226 195 227 200 232 201 233 202 234 203 235 208 ... 251 + // t[7]: 196 228 197 229 198 230 199 231 204 236 205 237 206 238 207 239 212 ... 255 + // t[8]: 256 288 257 289 258 290 259 291 264 296 265 297 266 298 267 299 272 ... 315 + // t[9]: 260 292 261 293 262 294 263 295 268 300 269 301 270 302 271 303 276 ... 319 + // t[10]: 320 352 321 353 322 354 323 355 328 360 329 361 330 362 331 363 336 ... 379 + // t[11]: 324 356 325 357 326 358 327 359 332 364 333 365 334 366 335 367 340 ... 383 + // t[12]: 384 416 385 417 386 418 387 419 392 424 393 425 394 426 395 427 400 ... 443 + // t[13]: 388 420 389 421 390 422 391 423 396 428 397 429 398 430 399 431 404 ... 447 + // t[14]: 448 480 449 481 450 482 451 483 456 488 457 489 458 490 459 491 464 ... 507 + // t[15]: 452 484 453 485 454 486 455 487 460 492 461 493 462 494 463 495 468 ... 511 + // t[16]: 512 544 513 545 514 546 515 547 520 552 521 553 522 554 523 555 528 ... 571 + // ... + // t[31]: 964 996 965 997 966 998 967 999 972 1004 973 1005 974 1006 975 1007 980 ... 1023 +#pragma unroll(16) + for (int i = 0; i < 16; ++i) { + d[i * 2] = _mm512_unpacklo_epi16(r[i * 2], r[i * 2 + 1]); + d[i * 2 + 1] = _mm512_unpackhi_epi16(r[i * 2], r[i * 2 + 1]); + } + + // t[0]: 0 32 64 96 1 33 65 97 8 40 72 104 9 41 73 105 16 ... 121 + // t[1]: 2 34 66 98 3 35 67 99 10 42 74 106 11 43 75 107 18 ... 123 + // t[2]: 4 36 68 100 5 37 69 101 12 44 76 108 13 45 77 109 20 ... 125 + // t[3]: 6 38 70 102 7 39 71 103 14 46 78 110 15 47 79 111 22 ... 127 + // t[4]: 128 160 192 224 129 161 193 225 136 168 200 232 137 169 201 233 144 ... 249 + // t[5]: 130 162 194 226 131 163 195 227 138 170 202 234 139 171 203 235 146 ... 251 + // t[6]: 132 164 196 228 133 165 197 229 140 172 204 236 141 173 205 237 148 ... 253 + // t[7]: 134 166 198 230 135 167 199 231 142 174 206 238 143 175 207 239 150 ... 255 + // t[8]: 256 288 320 352 257 289 321 353 264 296 328 360 265 297 329 361 272 ... 377 + // t[9]: 258 290 322 354 259 291 323 355 266 298 330 362 267 299 331 363 274 ... 379 + // t[10]: 260 292 324 356 261 293 325 357 268 300 332 364 269 301 333 365 276 ... 381 + // t[11]: 262 294 326 358 263 295 327 359 270 302 334 366 271 303 335 367 278 ... 383 + // t[12]: 384 416 448 480 385 417 449 481 392 424 456 488 393 425 457 489 400 ... 505 + // t[13]: 386 418 450 482 387 419 451 483 394 426 458 490 395 427 459 491 402 ... 507 + // t[14]: 388 420 452 484 389 421 453 485 396 428 460 492 397 429 461 493 404 ... 509 + // t[15]: 390 422 454 486 391 423 455 487 398 430 462 494 399 431 463 495 406 ... 511 + // t[16]: 512 544 576 608 513 545 577 609 520 552 584 616 521 553 585 617 528 ... 633 + // ... + // t[31]: 902 934 966 998 903 935 967 999 910 942 974 1006 911 943 975 1007 918 ... 1023 +#pragma unroll(8) + for (int i = 0; i < 8; ++i) { + r[i * 4] = _mm512_unpacklo_epi32(d[i * 4], d[i * 4 + 2]); + r[i * 4 + 1] = _mm512_unpackhi_epi32(d[i * 4], d[i * 4 + 2]); + r[i * 4 + 2] = _mm512_unpacklo_epi32(d[i * 4 + 1], d[i * 4 + 3]); + r[i * 4 + 3] = _mm512_unpackhi_epi32(d[i * 4 + 1], d[i * 4 + 3]); + } + + // t[0]: 0 32 64 96 128 160 192 224 8 40 72 104 136 168 200 232 16 ... 248 + // t[1]: 1 33 65 97 129 161 193 225 9 41 73 105 137 169 201 233 17 ... 249 + // t[2]: 2 34 66 98 130 162 194 226 10 42 74 106 138 170 202 234 18 ... 250 + // t[3]: 3 35 67 99 131 163 195 227 11 43 75 107 139 171 203 235 19 ... 251 + // t[4]: 4 36 68 100 132 164 196 228 12 44 76 108 140 172 204 236 20 ... 252 + // t[5]: 5 37 69 101 133 165 197 229 13 45 77 109 141 173 205 237 21 ... 253 + // t[6]: 6 38 70 102 134 166 198 230 14 46 78 110 142 174 206 238 22 ... 254 + // t[7]: 7 39 71 103 135 167 199 231 15 47 79 111 143 175 207 239 23 ... 255 + // t[8]: 256 288 320 352 384 416 448 480 264 296 328 360 392 424 456 488 272 ... 504 + // t[9]: 257 289 321 353 385 417 449 481 265 297 329 361 393 425 457 489 273 ... 505 + // t[10]: 258 290 322 354 386 418 450 482 266 298 330 362 394 426 458 490 274 ... 506 + // t[11]: 259 291 323 355 387 419 451 483 267 299 331 363 395 427 459 491 275 ... 507 + // t[12]: 260 292 324 356 388 420 452 484 268 300 332 364 396 428 460 492 276 ... 508 + // t[13]: 261 293 325 357 389 421 453 485 269 301 333 365 397 429 461 493 277 ... 509 + // t[14]: 262 294 326 358 390 422 454 486 270 302 334 366 398 430 462 494 278 ... 510 + // t[15]: 263 295 327 359 391 423 455 487 271 303 335 367 399 431 463 495 279 ... 511 + // t[16]: 512 544 576 608 640 672 704 736 520 552 584 616 648 680 712 744 528 ... 760 + // ... + // t[31]: 775 807 839 871 903 935 967 999 783 815 847 879 911 943 975 1007 791 ... 1023 +#pragma unroll(4) + for (int i = 0; i < 4; ++i) { + d[i * 8] = _mm512_unpacklo_epi64(r[i * 8], r[i * 8 + 4]); + d[i * 8 + 1] = _mm512_unpackhi_epi64(r[i * 8], r[i * 8 + 4]); + d[i * 8 + 2] = _mm512_unpacklo_epi64(r[i * 8 + 1], r[i * 8 + 5]); + d[i * 8 + 3] = _mm512_unpackhi_epi64(r[i * 8 + 1], r[i * 8 + 5]); + d[i * 8 + 4] = _mm512_unpacklo_epi64(r[i * 8 + 2], r[i * 8 + 6]); + d[i * 8 + 5] = _mm512_unpackhi_epi64(r[i * 8 + 2], r[i * 8 + 6]); + d[i * 8 + 6] = _mm512_unpacklo_epi64(r[i * 8 + 3], r[i * 8 + 7]); + d[i * 8 + 7] = _mm512_unpackhi_epi64(r[i * 8 + 3], r[i * 8 + 7]); + } + + // t[0]: 0 32 64 96 128 160 192 224 256 288 320 352 384 416 448 480 16 ... 496 + // t[1]: 1 33 65 97 129 161 193 225 257 289 321 353 385 417 449 481 17 ... 497 + // t[2]: 2 34 66 98 130 162 194 226 258 290 322 354 386 418 450 482 18 ... 498 + // t[3]: 3 35 67 99 131 163 195 227 259 291 323 355 387 419 451 483 19 ... 499 + // t[4]: 4 36 68 100 132 164 196 228 260 292 324 356 388 420 452 484 20 ... 500 + // t[5]: 5 37 69 101 133 165 197 229 261 293 325 357 389 421 453 485 21 ... 501 + // t[6]: 6 38 70 102 134 166 198 230 262 294 326 358 390 422 454 486 22 ... 502 + // t[7]: 7 39 71 103 135 167 199 231 263 295 327 359 391 423 455 487 23 ... 503 + // t[8]: 8 40 72 104 136 168 200 232 264 296 328 360 392 424 456 488 24 ... 504 + // t[9]: 9 41 73 105 137 169 201 233 265 297 329 361 393 425 457 489 25 ... 505 + // t[10]: 10 42 74 106 138 170 202 234 266 298 330 362 394 426 458 490 26 ... 506 + // t[11]: 11 43 75 107 139 171 203 235 267 299 331 363 395 427 459 491 27 ... 507 + // t[12]: 12 44 76 108 140 172 204 236 268 300 332 364 396 428 460 492 28 ... 508 + // t[13]: 13 45 77 109 141 173 205 237 269 301 333 365 397 429 461 493 29 ... 509 + // t[14]: 14 46 78 110 142 174 206 238 270 302 334 366 398 430 462 494 30 ... 510 + // t[15]: 15 47 79 111 143 175 207 239 271 303 335 367 399 431 463 495 31 ... 511 + // t[16]: 512 544 576 608 640 672 704 736 768 800 832 864 896 928 960 992 528 ... 1008 + // ... + // t[31]: 527 559 591 623 655 687 719 751 783 815 847 879 911 943 975 1007 543 ... 1023 + __m512i const1 = _mm512_set_epi64( + 0x000000000000000d, + 0x000000000000000c, + 0x0000000000000005, + 0x0000000000000004, + 0x0000000000000009, + 0x0000000000000008, + 0x0000000000000001, + 0x0000000000000000); + __m512i const2 = _mm512_set_epi64( + 0x000000000000000f, + 0x000000000000000e, + 0x0000000000000007, + 0x0000000000000006, + 0x000000000000000b, + 0x000000000000000a, + 0x0000000000000003, + 0x0000000000000002); +#pragma unroll(8) + for (int i = 0; i < 8; ++i) { + r[i] = _mm512_permutex2var_epi64(d[i], /*idx*/const1, d[i + 8]); + r[i + 8] = _mm512_permutex2var_epi64(d[i], /*idx*/const2, d[i + 8]); + r[i + 16] = _mm512_permutex2var_epi64(d[i + 16], /*idx*/const1, d[i + 24]); + r[i + 24] = _mm512_permutex2var_epi64(d[i + 16], /*idx*/const2, d[i + 24]); + } + + // t[0]: 0 32 64 96 128 160 192 224 256 288 320 352 384 416 448 480 512 544 ... 992 + // t[1]: 1 33 65 97 129 161 193 225 257 289 321 353 385 417 449 481 513 545 ... 993 + // t[2]: 2 34 66 98 130 162 194 226 258 290 322 354 386 418 450 482 514 546 ... 994 + // t[3]: 3 35 67 99 131 163 195 227 259 291 323 355 387 419 451 483 515 547 ... 995 + // t[4]: 4 36 68 100 132 164 196 228 260 292 324 356 388 420 452 484 516 548 ... 996 + // t[5]: 5 37 69 101 133 165 197 229 261 293 325 357 389 421 453 485 517 549 ... 997 + // t[6]: 6 38 70 102 134 166 198 230 262 294 326 358 390 422 454 486 518 550 ... 998 + // t[7]: 7 39 71 103 135 167 199 231 263 295 327 359 391 423 455 487 519 551 ... 999 + // t[8]: 8 40 72 104 136 168 200 232 264 296 328 360 392 424 456 488 520 552 ... 1000 + // t[9]: 9 41 73 105 137 169 201 233 265 297 329 361 393 425 457 489 521 553 ... 1001 + // t[10]: 10 42 74 106 138 170 202 234 266 298 330 362 394 426 458 490 522 554 ... 1002 + // t[11]: 11 43 75 107 139 171 203 235 267 299 331 363 395 427 459 491 523 555 ... 1003 + // t[12]: 12 44 76 108 140 172 204 236 268 300 332 364 396 428 460 492 524 556 ... 1004 + // t[13]: 13 45 77 109 141 173 205 237 269 301 333 365 397 429 461 493 525 557 ... 1005 + // t[14]: 14 46 78 110 142 174 206 238 270 302 334 366 398 430 462 494 526 558 ... 1006 + // t[15]: 15 47 79 111 143 175 207 239 271 303 335 367 399 431 463 495 527 559 ... 1007 + // t[16]: 16 48 80 112 144 176 208 240 272 304 336 368 400 432 464 496 528 560 ... 1008 + // ... + // t[31]: 31 63 95 127 159 191 223 255 287 319 351 383 415 447 479 511 543 575 ... 1023 + __m512i const3 = _mm512_set_epi64( + 0x000000000000000b, + 0x000000000000000a, + 0x0000000000000009, + 0x0000000000000008, + 0x0000000000000003, + 0x0000000000000002, + 0x0000000000000001, + 0x0000000000000000); + __m512i const4 = _mm512_set_epi64( + 0x000000000000000f, + 0x000000000000000e, + 0x000000000000000d, + 0x000000000000000c, + 0x0000000000000007, + 0x0000000000000006, + 0x0000000000000005, + 0x0000000000000004); +#pragma unroll(16) + for (int i = 0; i < 16; ++i) { + d[i] = _mm512_permutex2var_epi64(r[i], /*idx*/const3, r[i + 16]); + d[i + 16] = _mm512_permutex2var_epi64(r[i], /*idx*/const4, r[i + 16]); + } +} + +// Code referred to FBGEMM: +// https://github.com/pytorch/FBGEMM/blob/39a423e4ad1a04b77fea81c7d09c3e6f8984fae9/src/UtilsAvx512.cc#LL19C6-L19C6 +template<> +inline void transpose_mxn( + const BFloat16* src, + int64_t ld_src, + BFloat16* dst, + int64_t ld_dst) { + // Load from memory + __m512i r[32]; +#pragma unroll(32) + for (int i = 0; i < 32; ++i) { + r[i] = _mm512_loadu_si512(reinterpret_cast(src + i* ld_src)); + } + + __m512i d[32]; + _transpose_mxn_half_32_32(r, d); + + // Store to dst +#pragma unroll(32) + for (int i = 0; i < 32; ++i) { + _mm512_storeu_si512(dst + i* ld_dst, d[i]); + } +} + +template<> +inline void transpose_mxn( + const Half* src, + int64_t ld_src, + Half* dst, + int64_t ld_dst) { + // Load from memory + __m512i r[32]; +#pragma unroll(32) + for (int i = 0; i < 32; ++i) { + r[i] = _mm512_loadu_si512(reinterpret_cast(src + i* ld_src)); + } + + __m512i d[32]; + _transpose_mxn_half_32_32(r, d); + + // Store to dst +#pragma unroll(32) + for (int i = 0; i < 32; ++i) { + _mm512_storeu_si512(dst + i* ld_dst, d[i]); + } +} + +template <> +class Vectorized: public Vectorized16 { +public: + using Vectorized16::Vectorized16; + + Vectorized frac() const; + + Vectorized eq(const Vectorized& other) const; + Vectorized ne(const Vectorized& other) const; + Vectorized gt(const Vectorized& other) const; + Vectorized ge(const Vectorized& other) const; + Vectorized lt(const Vectorized& other) const; + Vectorized le(const Vectorized& other) const; +}; + +Vectorized inline operator+(const Vectorized& a, const Vectorized& b) { + return binary_op_as_fp32(a, b, [](const __m512& x, const __m512& y) { return _mm512_add_ps(x, y); }); +} +Vectorized inline operator-(const Vectorized& a, const Vectorized& b) { + return binary_op_as_fp32(a, b, [](const __m512& x, const __m512& y) { return _mm512_sub_ps(x, y); }); +} +Vectorized inline operator*(const Vectorized& a, const Vectorized& b) { + return binary_op_as_fp32(a, b, [](const __m512& x, const __m512& y) { return _mm512_mul_ps(x, y); }); +} +Vectorized inline operator/(const Vectorized& a, const Vectorized& b) { + return binary_op_as_fp32(a, b, [](const __m512& x, const __m512& y) { return _mm512_div_ps(x, y); }); +} + +Vectorized inline operator&(const Vectorized& a, const Vectorized& b) { + return _mm512_and_si512(a, b); +} +Vectorized inline operator|(const Vectorized& a, const Vectorized& b) { + return _mm512_or_si512(a, b); +} +Vectorized inline operator^(const Vectorized& a, const Vectorized& b) { + return _mm512_xor_si512(a, b); +} + +inline Vectorized Vectorized::eq(const Vectorized& other) const { + return (*this == other) & Vectorized(1.0f); +} + +inline Vectorized Vectorized::ne(const Vectorized& other) const { + return (*this != other) & Vectorized(1.0f); +} + +inline Vectorized Vectorized::gt(const Vectorized& other) const { + return (*this > other) & Vectorized(1.0f); +} + +inline Vectorized Vectorized::ge(const Vectorized& other) const { + return (*this >= other) & Vectorized(1.0f); +} + +inline Vectorized Vectorized::lt(const Vectorized& other) const { + return (*this < other) & Vectorized(1.0f); +} + +inline Vectorized Vectorized::le(const Vectorized& other) const { + return (*this <= other) & Vectorized(1.0f); +} + +// frac. Implement this here so we can use subtraction +inline Vectorized Vectorized::frac() const { + return *this - this->trunc(); +} + +// Implements the IEEE 754 201X `maximum` operation, which propagates NaN if +// either input is a NaN. +template <> +Vectorized inline maximum(const Vectorized& a, const Vectorized& b) { + __m512 a_lo, a_hi; + __m512 b_lo, b_hi; + cvtfp16_fp32(__m512i(a), a_lo, a_hi); + cvtfp16_fp32(__m512i(b), b_lo, b_hi); + auto max_lo = _mm512_max_ps(a_lo, b_lo); + auto max_hi = _mm512_max_ps(a_hi, b_hi); + auto nan_lo_mask = _mm512_cmp_ps_mask(a_lo, b_lo, _CMP_UNORD_Q); + auto nan_hi_mask = _mm512_cmp_ps_mask(a_hi, b_hi, _CMP_UNORD_Q); + auto nan_lo = _mm512_castsi512_ps(_mm512_set1_epi32(nan_lo_mask)); + auto nan_hi = _mm512_castsi512_ps(_mm512_set1_epi32(nan_hi_mask)); + // Exploit the fact that all-ones is a NaN. + auto o1 = _mm512_or_ps(max_lo, nan_lo); + auto o2 = _mm512_or_ps(max_hi, nan_hi); + return cvtfp32_fp16(o1, o2); +} + +// Implements the IEEE 754 201X `minimum` operation, which propagates NaN if +// either input is a NaN. +template <> +Vectorized inline minimum(const Vectorized& a, const Vectorized& b) { + __m512 a_lo, a_hi; + __m512 b_lo, b_hi; + __m512i zero_vec = _mm512_set1_epi32(0); + cvtfp16_fp32(__m512i(a), a_lo, a_hi); + cvtfp16_fp32(__m512i(b), b_lo, b_hi); + auto min_lo = _mm512_min_ps(a_lo, b_lo); + auto min_hi = _mm512_min_ps(a_hi, b_hi); + auto nan_lo_mask = _mm512_cmp_ps_mask(a_lo, b_lo, _CMP_UNORD_Q); + auto nan_hi_mask = _mm512_cmp_ps_mask(a_hi, b_hi, _CMP_UNORD_Q); + auto nan_lo = _mm512_castsi512_ps(_mm512_mask_set1_epi32(zero_vec, nan_lo_mask, + 0xFFFFFFFF)); + auto nan_hi = _mm512_castsi512_ps(_mm512_mask_set1_epi32(zero_vec, nan_hi_mask, + 0xFFFFFFFF)); + // Exploit the fact that all-ones is a NaN. + auto o1 = _mm512_or_ps(min_lo, nan_lo); + auto o2 = _mm512_or_ps(min_hi, nan_hi); + return cvtfp32_fp16(o1, o2); +} + +template <> +Vectorized inline clamp(const Vectorized& a, + const Vectorized& min, const Vectorized& max) { + __m512 a_lo, a_hi; + __m512 min_lo, min_hi; + __m512 max_lo, max_hi; + cvtfp16_fp32(__m512i(a), a_lo, a_hi); + cvtfp16_fp32(__m512i(min), min_lo, min_hi); + cvtfp16_fp32(__m512i(max), max_lo, max_hi); + auto o1 = _mm512_min_ps(max_lo, _mm512_max_ps(min_lo, a_lo)); + auto o2 = _mm512_min_ps(max_hi, _mm512_max_ps(min_hi, a_hi)); + return cvtfp32_fp16(o1, o2); +} + +template <> +Vectorized inline clamp_max(const Vectorized& a, const Vectorized& max) { + __m512 a_lo, a_hi; + __m512 max_lo, max_hi; + cvtfp16_fp32(__m512i(a), a_lo, a_hi); + cvtfp16_fp32(__m512i(max), max_lo, max_hi); + auto o1 = _mm512_min_ps(max_lo, a_lo); + auto o2 = _mm512_min_ps(max_hi, a_hi); + return cvtfp32_fp16(o1, o2); +} + +template <> +Vectorized inline clamp_min(const Vectorized& a, const Vectorized& min) { + __m512 a_lo, a_hi; + __m512 min_lo, min_hi; + cvtfp16_fp32(__m512i(a), a_lo, a_hi); + cvtfp16_fp32(__m512i(min), min_lo, min_hi); + auto o1 = _mm512_max_ps(min_lo, a_lo); + auto o2 = _mm512_max_ps(min_hi, a_hi); + return cvtfp32_fp16(o1, o2); +} + +template <> +inline void convert(const Half* src, Half* dst, int64_t n) { + int64_t i; +#pragma unroll + for (i = 0; i <= (n - Vectorized::size()); i += Vectorized::size()) { + auto vsrc = _mm512_loadu_si512(reinterpret_cast<__m512i*>((void*)(src + i))); + _mm512_storeu_si512(reinterpret_cast<__m512i*>((void*)(dst + i)), vsrc); + } +#pragma unroll + for (; i < n; i++) { + dst[i] = src[i]; + } +} + +template <> +inline void convert(const float* src, Half* dst, int64_t n) { + int64_t i; + for (i = 0; i + Vectorized::size() <= n; i += Vectorized::size()) { + __m512 a = _mm512_loadu_ps(&src[i]); + __m512 b = _mm512_loadu_ps(&src[i + 16]); + + __m512i bf = cvtfp32_fp16(a, b); + _mm512_storeu_si512(reinterpret_cast<__m512i*>(&dst[i]), bf); + } + for (; i < n; i++) { + dst[i] = c10::convert(src[i]); + } +} + +template <> +inline void convert(const double* src, Half* dst, int64_t n) { + auto load_float = [](const double *src) -> __m512 { + // Load one float vector from an array of doubles + __m256 a = _mm512_cvtpd_ps(_mm512_loadu_pd(src)); + __m256 b = _mm512_cvtpd_ps(_mm512_loadu_pd(src + 8)); + return _mm512_insertf32x8(_mm512_castps256_ps512(a), b, 1); + }; + + int64_t i; + for (i = 0; i + Vectorized::size() <= n; i += Vectorized::size()) { + __m512 a = load_float(&src[i]); + __m512 b = load_float(&src[i + 16]); + + __m512i bf = cvtfp32_fp16(a, b); + _mm512_storeu_si512(reinterpret_cast<__m512i*>(&dst[i]), bf); + } + for (; i < n; i++) { + dst[i] = c10::convert(src[i]); + } +} + +template <> +Vectorized inline fmadd(const Vectorized& a, + const Vectorized& b, const Vectorized& c) { + __m512 a_lo, a_hi; + __m512 b_lo, b_hi; + __m512 c_lo, c_hi; + cvtfp16_fp32(__m512i(a), a_lo, a_hi); + cvtfp16_fp32(__m512i(b), b_lo, b_hi); + cvtfp16_fp32(__m512i(c), c_lo, c_hi); + auto o1 = _mm512_fmadd_ps(a_lo, b_lo, c_lo); + auto o2 = _mm512_fmadd_ps(a_hi, b_hi, c_hi); + return cvtfp32_fp16(o1, o2); +} + +#define CONVERT_VECTORIZED_INIT(type, name) \ +inline std::tuple, Vectorized> convert_##name##_float(const Vectorized& a) { \ + __m512 o1, o2; \ + cvt_to_fp32(__m512i(a), o1, o2); \ + return std::make_tuple(o1, o2); \ +} \ +\ +inline Vectorized convert_float_##name(const Vectorized& a, const Vectorized& b) { \ + return cvt_from_fp32(__m512(a), __m512(b)); \ +} +CONVERT_VECTORIZED_INIT(BFloat16, bfloat16); +CONVERT_VECTORIZED_INIT(Half, half); + +#else //defined(CPU_CAPABILITY_AVX512) && !defined(_MSC_VER) + +#define CONVERT_NON_VECTORIZED_INIT(type, name) \ +inline std::tuple, Vectorized> convert_##name##_float(const Vectorized& a) { \ + constexpr int64_t K = Vectorized::size(); \ + __at_align__ float arr[K]; \ + __at_align__ type arr2[K]; \ + a.store(arr2); \ + for (const auto k : c10::irange(K)) { \ + arr[k] = c10::convert(arr2[k]); \ + } \ + return std::make_tuple( \ + Vectorized::loadu(arr), \ + Vectorized::loadu(arr + Vectorized::size())); \ +} \ +\ +inline Vectorized convert_float_##name(const Vectorized& a, const Vectorized& b) { \ + constexpr int64_t K = Vectorized::size(); \ + __at_align__ float arr[K]; \ + __at_align__ type arr2[K]; \ + a.store(arr); \ + b.store(arr + Vectorized::size()); \ + for (const auto k : c10::irange(K)) { \ + arr2[k] = c10::convert(arr[k]); \ + } \ + return Vectorized::loadu(arr2); \ +} +CONVERT_NON_VECTORIZED_INIT(BFloat16, bfloat16); +CONVERT_NON_VECTORIZED_INIT(Half, half); + +#endif // defined(CPU_CAPABILITY_AVX512) && !defined(_MSC_VER) + +#if defined(CPU_CAPABILITY_AVX512) && !defined(_MSC_VER) +#define LOAD_FP32_VECTORIZED_INIT(type, name) \ +inline void load_fp32_from_##name(const type *data, Vectorized& out) { \ + auto values = _mm256_loadu_si256(reinterpret_cast(data)); \ + __m512 out_values; \ + cvt_to_fp32(values, out_values); \ + out = out_values; \ +} \ +\ +inline void load_fp32_from_##name(const type *data, Vectorized& out1, Vectorized& out2) { \ + auto vec = Vectorized::loadu(data); \ + __m512 out1_values, out2_values; \ + cvt_to_fp32(vec, out1_values, out2_values); \ + out1 = out1_values; \ + out2 = out2_values; \ +} +LOAD_FP32_VECTORIZED_INIT(BFloat16, bf16); +LOAD_FP32_VECTORIZED_INIT(Half, fp16); + +#else // defined(CPU_CAPABILITY_AVX512) && !defined(_MSC_VER) +#define LOAD_FP32_NON_VECTORIZED_INIT(type, name) \ +inline void load_fp32_from_##name(const type *data, Vectorized& out) { \ + __at_align__ float values[Vectorized::size()]; \ + for (const auto k : c10::irange(Vectorized::size())) { \ + values[k] = data[k]; \ + } \ + out = Vectorized::loadu(values); \ +} \ +\ +inline void load_fp32_from_##name(const type *data, Vectorized& out1, Vectorized& out2) { \ + load_fp32_from_##name(data, out1); \ + data += Vectorized::size(); \ + load_fp32_from_##name(data, out2); \ +} +LOAD_FP32_NON_VECTORIZED_INIT(BFloat16, bf16); +LOAD_FP32_NON_VECTORIZED_INIT(Half, fp16); + +#endif +}}} diff --git a/shared/package-files/24/24c3ae6c5a298085b1c35b21b8875500300c56673a446c217db756138ad72421/to_mkldnn_backward_native.h b/shared/package-files/24/24c3ae6c5a298085b1c35b21b8875500300c56673a446c217db756138ad72421/to_mkldnn_backward_native.h new file mode 100644 index 0000000000000000000000000000000000000000..bf98822d063a9ce516156abf2a04ef7685000441 --- /dev/null +++ b/shared/package-files/24/24c3ae6c5a298085b1c35b21b8875500300c56673a446c217db756138ad72421/to_mkldnn_backward_native.h @@ -0,0 +1,21 @@ +#pragma once + +// @generated by torchgen/gen.py from NativeFunction.h + +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include + + +namespace at { +namespace native { +TORCH_API at::Tensor to_mkldnn_backward(const at::Tensor & grad, const at::Tensor & input); +} // namespace native +} // namespace at diff --git a/shared/package-files/24/24c41806bd1554d9a7c4a2f498fff51234745fb185ebbfa7cd2d426daf0b2d1f/paned1.tcl b/shared/package-files/24/24c41806bd1554d9a7c4a2f498fff51234745fb185ebbfa7cd2d426daf0b2d1f/paned1.tcl new file mode 100644 index 0000000000000000000000000000000000000000..6b21d3519766333dd61424319689d2a4cb43cb53 --- /dev/null +++ b/shared/package-files/24/24c41806bd1554d9a7c4a2f498fff51234745fb185ebbfa7cd2d426daf0b2d1f/paned1.tcl @@ -0,0 +1,32 @@ +# paned1.tcl -- +# +# This demonstration script creates a toplevel window containing +# a paned window that separates two windows horizontally. + +if {![info exists widgetDemo]} { + error "This script should be run from the \"widget\" demo." +} + +package require Tk + +set w .paned1 +catch {destroy $w} +toplevel $w +wm title $w "Horizontal Paned Window Demonstration" +wm iconname $w "paned1" +positionWindow $w + +label $w.msg -font $font -wraplength 4i -justify left -text "The sash between the two coloured windows below can be used to divide the area between them. Use the left mouse button to resize without redrawing by just moving the sash, and use the middle mouse button to resize opaquely (always redrawing the windows in each position.)" +pack $w.msg -side top + +## See Code / Dismiss buttons +set btns [addSeeDismiss $w.buttons $w] +pack $btns -side bottom -fill x + +panedwindow $w.pane +pack $w.pane -side top -expand yes -fill both -pady 2 -padx 2m + +label $w.pane.left -text "This is the\nleft side" -fg black -bg yellow +label $w.pane.right -text "This is the\nright side" -fg black -bg cyan + +$w.pane add $w.pane.left $w.pane.right diff --git a/shared/package-files/24/24c497428712705821a6ccb8ef3a2fd3747931b118d19dd1386b7a1b115e5b3a/test_multithreading.py b/shared/package-files/24/24c497428712705821a6ccb8ef3a2fd3747931b118d19dd1386b7a1b115e5b3a/test_multithreading.py new file mode 100644 index 0000000000000000000000000000000000000000..1a6b71b830211f8bcbe56e97ff71098be75021c8 --- /dev/null +++ b/shared/package-files/24/24c497428712705821a6ccb8ef3a2fd3747931b118d19dd1386b7a1b115e5b3a/test_multithreading.py @@ -0,0 +1,84 @@ +from scipy import fft +import numpy as np +import pytest +from numpy.testing import assert_allclose +import multiprocessing +import os + + +@pytest.fixture(scope='module') +def x(): + return np.random.randn(512, 128) # Must be large enough to qualify for mt + + +@pytest.mark.parametrize("func", [ + fft.fft, fft.ifft, fft.fft2, fft.ifft2, fft.fftn, fft.ifftn, + fft.rfft, fft.irfft, fft.rfft2, fft.irfft2, fft.rfftn, fft.irfftn, + fft.hfft, fft.ihfft, fft.hfft2, fft.ihfft2, fft.hfftn, fft.ihfftn, + fft.dct, fft.idct, fft.dctn, fft.idctn, + fft.dst, fft.idst, fft.dstn, fft.idstn, +]) +@pytest.mark.parametrize("workers", [2, -1]) +def test_threaded_same(x, func, workers): + expected = func(x, workers=1) + actual = func(x, workers=workers) + assert_allclose(actual, expected) + + +def _mt_fft(x): + return fft.fft(x, workers=2) + + +@pytest.mark.slow +def test_mixed_threads_processes(x): + # Test that the fft threadpool is safe to use before & after fork + + expect = fft.fft(x, workers=2) + + with multiprocessing.Pool(2) as p: + res = p.map(_mt_fft, [x for _ in range(4)]) + + for r in res: + assert_allclose(r, expect) + + fft.fft(x, workers=2) + + +def test_invalid_workers(x): + cpus = os.cpu_count() + + fft.ifft([1], workers=-cpus) + + with pytest.raises(ValueError, match='workers must not be zero'): + fft.fft(x, workers=0) + + with pytest.raises(ValueError, match='workers value out of range'): + fft.ifft(x, workers=-cpus-1) + + +def test_set_get_workers(): + cpus = os.cpu_count() + assert fft.get_workers() == 1 + with fft.set_workers(4): + assert fft.get_workers() == 4 + + with fft.set_workers(-1): + assert fft.get_workers() == cpus + + assert fft.get_workers() == 4 + + assert fft.get_workers() == 1 + + with fft.set_workers(-cpus): + assert fft.get_workers() == 1 + + +def test_set_workers_invalid(): + + with pytest.raises(ValueError, match='workers must not be zero'): + with fft.set_workers(0): + pass + + with pytest.raises(ValueError, match='workers value out of range'): + with fft.set_workers(-os.cpu_count()-1): + pass diff --git a/shared/package-files/24/24c847bed65dfb581779e9cee5ce50d692aa4705e0243a19289b5d9000cb9493/tree.tcl b/shared/package-files/24/24c847bed65dfb581779e9cee5ce50d692aa4705e0243a19289b5d9000cb9493/tree.tcl new file mode 100644 index 0000000000000000000000000000000000000000..1cc70f877fa96cbc546adc964f6fbbff73ab3363 --- /dev/null +++ b/shared/package-files/24/24c847bed65dfb581779e9cee5ce50d692aa4705e0243a19289b5d9000cb9493/tree.tcl @@ -0,0 +1,89 @@ +# tree.tcl -- +# +# This demonstration script creates a toplevel window containing a Ttk +# tree widget. + +if {![info exists widgetDemo]} { + error "This script should be run from the \"widget\" demo." +} + +package require Tk + +set w .tree +catch {destroy $w} +toplevel $w +wm title $w "Directory Browser" +wm iconname $w "tree" +positionWindow $w + +## Explanatory text +ttk::label $w.msg -font $font -wraplength 4i -justify left -anchor n -padding {10 2 10 6} -text "Ttk is the new Tk themed widget set. One of the widgets it includes is a tree widget, which allows the user to browse a hierarchical data-set such as a filesystem. The tree widget not only allows for the tree part itself, but it also supports an arbitrary number of additional columns which can show additional data (in this case, the size of the files found in your filesystem). You can also change the width of the columns by dragging the boundary between them." +pack $w.msg -fill x + +## See Code / Dismiss +pack [addSeeDismiss $w.seeDismiss $w] -side bottom -fill x + +## Code to populate the roots of the tree (can be more than one on Windows) +proc populateRoots {tree} { + foreach dir [lsort -dictionary [file volumes]] { + populateTree $tree [$tree insert {} end -text $dir \ + -values [list $dir directory]] + } +} + +## Code to populate a node of the tree +proc populateTree {tree node} { + if {[$tree set $node type] ne "directory"} { + return + } + set path [$tree set $node fullpath] + $tree delete [$tree children $node] + foreach f [lsort -dictionary [glob -nocomplain -dir $path *]] { + set f [file normalize $f] + set type [file type $f] + set id [$tree insert $node end -text [file tail $f] \ + -values [list $f $type]] + + if {$type eq "directory"} { + ## Make it so that this node is openable + $tree insert $id 0 -text dummy ;# a dummy + $tree item $id -text [file tail $f]/ + + } elseif {$type eq "file"} { + set size [file size $f] + ## Format the file size nicely + if {$size >= 1024*1024*1024} { + set size [format %.1f\ GB [expr {$size/1024/1024/1024.}]] + } elseif {$size >= 1024*1024} { + set size [format %.1f\ MB [expr {$size/1024/1024.}]] + } elseif {$size >= 1024} { + set size [format %.1f\ kB [expr {$size/1024.}]] + } else { + append size " bytes" + } + $tree set $id size $size + } + } + + # Stop this code from rerunning on the current node + $tree set $node type processedDirectory +} + +## Create the tree and set it up +ttk::treeview $w.tree -columns {fullpath type size} -displaycolumns {size} \ + -yscroll "$w.vsb set" -xscroll "$w.hsb set" +ttk::scrollbar $w.vsb -orient vertical -command "$w.tree yview" +ttk::scrollbar $w.hsb -orient horizontal -command "$w.tree xview" +$w.tree heading \#0 -text "Directory Structure" +$w.tree heading size -text "File Size" +$w.tree column size -width 70 +populateRoots $w.tree +bind $w.tree <> {populateTree %W [%W focus]} + +## Arrange the tree and its scrollbars in the toplevel +lower [ttk::frame $w.dummy] +pack $w.dummy -fill both -expand 1 +grid $w.tree $w.vsb -sticky nsew -in $w.dummy +grid $w.hsb -sticky nsew -in $w.dummy +grid columnconfigure $w.dummy 0 -weight 1 +grid rowconfigure $w.dummy 0 -weight 1 diff --git a/shared/package-files/24/24cbe40c490293ef173483d8d9de8d3f46d305f4e4652d55f48f98c8b2a9df49/linspace_cuda_dispatch.h b/shared/package-files/24/24cbe40c490293ef173483d8d9de8d3f46d305f4e4652d55f48f98c8b2a9df49/linspace_cuda_dispatch.h new file mode 100644 index 0000000000000000000000000000000000000000..963caa8110c12941d59f8250a10d2ac6ffdb759e --- /dev/null +++ b/shared/package-files/24/24cbe40c490293ef173483d8d9de8d3f46d305f4e4652d55f48f98c8b2a9df49/linspace_cuda_dispatch.h @@ -0,0 +1,24 @@ +#pragma once +// @generated by torchgen/gen.py from DispatchKeyFunction.h + +// NB: The implementing C++ file is RegisterDispatchKey.cpp + +// The only #includes we need are for custom classes that have defaults in the C++ API +#include +#include +#include + +// Forward declarations of any types needed in the operator signatures. +// We can't directly include these classes because it will cause circular include dependencies. +// This file is included by TensorBody.h, which defines the Tensor class. +#include + +namespace at { + +namespace cuda { + +TORCH_API at::Tensor & linspace_out(at::Tensor & out, const at::Scalar & start, const at::Scalar & end, int64_t steps); +TORCH_API at::Tensor & linspace_outf(const at::Scalar & start, const at::Scalar & end, int64_t steps, at::Tensor & out); + +} // namespace cuda +} // namespace at diff --git a/shared/package-files/24/24cedc477e6c40b6268fd4c36ba5a3047a326945a10ac0f4beff6f511de1cedc/adm20 b/shared/package-files/24/24cedc477e6c40b6268fd4c36ba5a3047a326945a10ac0f4beff6f511de1cedc/adm20 new file mode 100644 index 0000000000000000000000000000000000000000..a6e7ba432dde5751a0175107041ffb2fd5472041 Binary files /dev/null and b/shared/package-files/24/24cedc477e6c40b6268fd4c36ba5a3047a326945a10ac0f4beff6f511de1cedc/adm20 differ diff --git a/shared/package-files/24/24d09f1b72e03a7e9052d0109bb0e47f98f930029ab0ff6d38b0d61b30f7d237/converters.pyi b/shared/package-files/24/24d09f1b72e03a7e9052d0109bb0e47f98f930029ab0ff6d38b0d61b30f7d237/converters.pyi new file mode 100644 index 0000000000000000000000000000000000000000..01a256158d1ced255fba1cf257e919c9177d1fc5 --- /dev/null +++ b/shared/package-files/24/24d09f1b72e03a7e9052d0109bb0e47f98f930029ab0ff6d38b0d61b30f7d237/converters.pyi @@ -0,0 +1,47 @@ +from typing import Any + +from .charset import charset_by_id as charset_by_id +from .constants import FIELD_TYPE as FIELD_TYPE, FLAG as FLAG + +PYTHON3: Any +ESCAPE_REGEX: Any +ESCAPE_MAP: Any + +def escape_item(val, charset): ... +def escape_dict(val, charset): ... +def escape_sequence(val, charset): ... +def escape_set(val, charset): ... +def escape_bool(value): ... +def escape_object(value): ... + +escape_int: Any + +escape_long: Any + +def escape_float(value): ... +def escape_string(value): ... +def escape_unicode(value): ... +def escape_None(value): ... +def escape_timedelta(obj): ... +def escape_time(obj): ... +def escape_datetime(obj): ... +def escape_date(obj): ... +def escape_struct_time(obj): ... +def convert_datetime(connection, field, obj): ... +def convert_timedelta(connection, field, obj): ... +def convert_time(connection, field, obj): ... +def convert_date(connection, field, obj): ... +def convert_mysql_timestamp(connection, field, timestamp): ... +def convert_set(s): ... +def convert_bit(connection, field, b): ... +def convert_characters(connection, field, data): ... +def convert_int(connection, field, data): ... +def convert_long(connection, field, data): ... +def convert_float(connection, field, data): ... + +encoders: Any +decoders: Any +conversions: Any + +def convert_decimal(connection, field, data): ... +def escape_decimal(obj): ... diff --git a/shared/package-files/24/24d77827d138044b5c53979de3bfd264ae69efb3fabed844367fec8513db0094/test_frame_groupby.py b/shared/package-files/24/24d77827d138044b5c53979de3bfd264ae69efb3fabed844367fec8513db0094/test_frame_groupby.py new file mode 100644 index 0000000000000000000000000000000000000000..f1924185a3df1cae2f0df89ec84225cd68f8fa6d --- /dev/null +++ b/shared/package-files/24/24d77827d138044b5c53979de3bfd264ae69efb3fabed844367fec8513db0094/test_frame_groupby.py @@ -0,0 +1,72 @@ +""" Test cases for DataFrame.plot """ + +import pytest + +from pandas import DataFrame +from pandas.tests.plotting.common import _check_visible + +pytest.importorskip("matplotlib") + + +class TestDataFramePlotsGroupby: + def _assert_ytickslabels_visibility(self, axes, expected): + for ax, exp in zip(axes, expected): + _check_visible(ax.get_yticklabels(), visible=exp) + + def _assert_xtickslabels_visibility(self, axes, expected): + for ax, exp in zip(axes, expected): + _check_visible(ax.get_xticklabels(), visible=exp) + + @pytest.mark.parametrize( + "kwargs, expected", + [ + # behavior without keyword + ({}, [True, False, True, False]), + # set sharey=True should be identical + ({"sharey": True}, [True, False, True, False]), + # sharey=False, all yticklabels should be visible + ({"sharey": False}, [True, True, True, True]), + ], + ) + def test_groupby_boxplot_sharey(self, kwargs, expected): + # https://github.com/pandas-dev/pandas/issues/20968 + # sharey can now be switched check whether the right + # pair of axes is turned on or off + df = DataFrame( + { + "a": [-1.43, -0.15, -3.70, -1.43, -0.14], + "b": [0.56, 0.84, 0.29, 0.56, 0.85], + "c": [0, 1, 2, 3, 1], + }, + index=[0, 1, 2, 3, 4], + ) + axes = df.groupby("c").boxplot(**kwargs) + self._assert_ytickslabels_visibility(axes, expected) + + @pytest.mark.parametrize( + "kwargs, expected", + [ + # behavior without keyword + ({}, [True, True, True, True]), + # set sharex=False should be identical + ({"sharex": False}, [True, True, True, True]), + # sharex=True, xticklabels should be visible + # only for bottom plots + ({"sharex": True}, [False, False, True, True]), + ], + ) + def test_groupby_boxplot_sharex(self, kwargs, expected): + # https://github.com/pandas-dev/pandas/issues/20968 + # sharex can now be switched check whether the right + # pair of axes is turned on or off + + df = DataFrame( + { + "a": [-1.43, -0.15, -3.70, -1.43, -0.14], + "b": [0.56, 0.84, 0.29, 0.56, 0.85], + "c": [0, 1, 2, 3, 1], + }, + index=[0, 1, 2, 3, 4], + ) + axes = df.groupby("c").boxplot(**kwargs) + self._assert_xtickslabels_visibility(axes, expected) diff --git a/shared/package-files/24/24d830b54cec27d7de086bf2dc8c7a6d1411bd95cc5ae09a2dfb34005e8873e7/hft-c b/shared/package-files/24/24d830b54cec27d7de086bf2dc8c7a6d1411bd95cc5ae09a2dfb34005e8873e7/hft-c new file mode 100644 index 0000000000000000000000000000000000000000..5778800e03009af479d141c023b453108701f145 Binary files /dev/null and b/shared/package-files/24/24d830b54cec27d7de086bf2dc8c7a6d1411bd95cc5ae09a2dfb34005e8873e7/hft-c differ diff --git a/shared/package-files/24/24d870bdc8b7ec39433181c1689cf82a6f7df2fc3c3467e5edfe14630c27b263/test_transpose.py b/shared/package-files/24/24d870bdc8b7ec39433181c1689cf82a6f7df2fc3c3467e5edfe14630c27b263/test_transpose.py new file mode 100644 index 0000000000000000000000000000000000000000..3e74094f266d14b8752e562653cf490868dcd0b0 --- /dev/null +++ b/shared/package-files/24/24d870bdc8b7ec39433181c1689cf82a6f7df2fc3c3467e5edfe14630c27b263/test_transpose.py @@ -0,0 +1,209 @@ +import numpy as np +import pytest + +import pandas.util._test_decorators as td + +import pandas as pd +from pandas import ( + DataFrame, + DatetimeIndex, + Index, + IntervalIndex, + Series, + Timestamp, + bdate_range, + date_range, + timedelta_range, +) +import pandas._testing as tm + + +class TestTranspose: + def test_transpose_td64_intervals(self): + # GH#44917 + tdi = timedelta_range("0 Days", "3 Days") + ii = IntervalIndex.from_breaks(tdi) + ii = ii.insert(-1, np.nan) + df = DataFrame(ii) + + result = df.T + expected = DataFrame({i: ii[i : i + 1] for i in range(len(ii))}) + tm.assert_frame_equal(result, expected) + + def test_transpose_empty_preserves_datetimeindex(self): + # GH#41382 + dti = DatetimeIndex([], dtype="M8[ns]") + df = DataFrame(index=dti) + + expected = DatetimeIndex([], dtype="datetime64[ns]", freq=None) + + result1 = df.T.sum().index + result2 = df.sum(axis=1).index + + tm.assert_index_equal(result1, expected) + tm.assert_index_equal(result2, expected) + + def test_transpose_tzaware_1col_single_tz(self): + # GH#26825 + dti = date_range("2016-04-05 04:30", periods=3, tz="UTC") + + df = DataFrame(dti) + assert (df.dtypes == dti.dtype).all() + res = df.T + assert (res.dtypes == dti.dtype).all() + + def test_transpose_tzaware_2col_single_tz(self): + # GH#26825 + dti = date_range("2016-04-05 04:30", periods=3, tz="UTC") + + df3 = DataFrame({"A": dti, "B": dti}) + assert (df3.dtypes == dti.dtype).all() + res3 = df3.T + assert (res3.dtypes == dti.dtype).all() + + def test_transpose_tzaware_2col_mixed_tz(self): + # GH#26825 + dti = date_range("2016-04-05 04:30", periods=3, tz="UTC") + dti2 = dti.tz_convert("US/Pacific") + + df4 = DataFrame({"A": dti, "B": dti2}) + assert (df4.dtypes == [dti.dtype, dti2.dtype]).all() + assert (df4.T.dtypes == object).all() + tm.assert_frame_equal(df4.T.T, df4.astype(object)) + + @pytest.mark.parametrize("tz", [None, "America/New_York"]) + def test_transpose_preserves_dtindex_equality_with_dst(self, tz): + # GH#19970 + idx = date_range("20161101", "20161130", freq="4h", tz=tz) + df = DataFrame({"a": range(len(idx)), "b": range(len(idx))}, index=idx) + result = df.T == df.T + expected = DataFrame(True, index=list("ab"), columns=idx) + tm.assert_frame_equal(result, expected) + + def test_transpose_object_to_tzaware_mixed_tz(self): + # GH#26825 + dti = date_range("2016-04-05 04:30", periods=3, tz="UTC") + dti2 = dti.tz_convert("US/Pacific") + + # mixed all-tzaware dtypes + df2 = DataFrame([dti, dti2]) + assert (df2.dtypes == object).all() + res2 = df2.T + assert (res2.dtypes == object).all() + + def test_transpose_uint64(self): + df = DataFrame( + {"A": np.arange(3), "B": [2**63, 2**63 + 5, 2**63 + 10]}, + dtype=np.uint64, + ) + result = df.T + expected = DataFrame(df.values.T) + expected.index = ["A", "B"] + tm.assert_frame_equal(result, expected) + + def test_transpose_float(self, float_frame): + frame = float_frame + dft = frame.T + for idx, series in dft.items(): + for col, value in series.items(): + if np.isnan(value): + assert np.isnan(frame[col][idx]) + else: + assert value == frame[col][idx] + + def test_transpose_mixed(self): + # mixed type + mixed = DataFrame( + { + "A": [0.0, 1.0, 2.0, 3.0, 4.0], + "B": [0.0, 1.0, 0.0, 1.0, 0.0], + "C": ["foo1", "foo2", "foo3", "foo4", "foo5"], + "D": bdate_range("1/1/2009", periods=5), + }, + index=Index(["a", "b", "c", "d", "e"], dtype=object), + ) + + mixed_T = mixed.T + for col, s in mixed_T.items(): + assert s.dtype == np.object_ + + @td.skip_array_manager_invalid_test + def test_transpose_get_view(self, float_frame, using_copy_on_write): + dft = float_frame.T + dft.iloc[:, 5:10] = 5 + + if using_copy_on_write: + assert (float_frame.values[5:10] != 5).all() + else: + assert (float_frame.values[5:10] == 5).all() + + @td.skip_array_manager_invalid_test + def test_transpose_get_view_dt64tzget_view(self, using_copy_on_write): + dti = date_range("2016-01-01", periods=6, tz="US/Pacific") + arr = dti._data.reshape(3, 2) + df = DataFrame(arr) + assert df._mgr.nblocks == 1 + + result = df.T + assert result._mgr.nblocks == 1 + + rtrip = result._mgr.blocks[0].values + if using_copy_on_write: + assert np.shares_memory(df._mgr.blocks[0].values._ndarray, rtrip._ndarray) + else: + assert np.shares_memory(arr._ndarray, rtrip._ndarray) + + def test_transpose_not_inferring_dt(self): + # GH#51546 + df = DataFrame( + { + "a": [Timestamp("2019-12-31"), Timestamp("2019-12-31")], + }, + dtype=object, + ) + result = df.T + expected = DataFrame( + [[Timestamp("2019-12-31"), Timestamp("2019-12-31")]], + columns=[0, 1], + index=["a"], + dtype=object, + ) + tm.assert_frame_equal(result, expected) + + def test_transpose_not_inferring_dt_mixed_blocks(self): + # GH#51546 + df = DataFrame( + { + "a": Series( + [Timestamp("2019-12-31"), Timestamp("2019-12-31")], dtype=object + ), + "b": [Timestamp("2019-12-31"), Timestamp("2019-12-31")], + } + ) + result = df.T + expected = DataFrame( + [ + [Timestamp("2019-12-31"), Timestamp("2019-12-31")], + [Timestamp("2019-12-31"), Timestamp("2019-12-31")], + ], + columns=[0, 1], + index=["a", "b"], + dtype=object, + ) + tm.assert_frame_equal(result, expected) + + @pytest.mark.parametrize("dtype1", ["Int64", "Float64"]) + @pytest.mark.parametrize("dtype2", ["Int64", "Float64"]) + def test_transpose(self, dtype1, dtype2): + # GH#57315 - transpose should have F contiguous blocks + df = DataFrame( + { + "a": pd.array([1, 1, 2], dtype=dtype1), + "b": pd.array([3, 4, 5], dtype=dtype2), + } + ) + result = df.T + for blk in result._mgr.blocks: + # When dtypes are unequal, we get NumPy object array + data = blk.values._data if dtype1 == dtype2 else blk.values + assert data.flags["F_CONTIGUOUS"] diff --git a/shared/package-files/24/24d9432d33d847e1550de59b9bd0473a8b78ece03cb6f3a3db6836889944b018/__init__.py b/shared/package-files/24/24d9432d33d847e1550de59b9bd0473a8b78ece03cb6f3a3db6836889944b018/__init__.py new file mode 100644 index 0000000000000000000000000000000000000000..4c91aa324478d49a8723f05618801f9b256d07af --- /dev/null +++ b/shared/package-files/24/24d9432d33d847e1550de59b9bd0473a8b78ece03cb6f3a3db6836889944b018/__init__.py @@ -0,0 +1,12 @@ +"""Numerical cubature algorithms""" + +from ._base import ( + Rule, FixedRule, + NestedFixedRule, + ProductNestedFixed, +) +from ._genz_malik import GenzMalikCubature +from ._gauss_kronrod import GaussKronrodQuadrature +from ._gauss_legendre import GaussLegendreQuadrature + +__all__ = [s for s in dir() if not s.startswith('_')] diff --git a/shared/package-files/24/24dc36fccd5de8421363362b5e5ac0b1469cff8b57f880ccb803bfee9af1864f/quantize_jit.py b/shared/package-files/24/24dc36fccd5de8421363362b5e5ac0b1469cff8b57f880ccb803bfee9af1864f/quantize_jit.py new file mode 100644 index 0000000000000000000000000000000000000000..aa627dc7bb51ef7ea1fde7e2e5da283c9f6c8900 --- /dev/null +++ b/shared/package-files/24/24dc36fccd5de8421363362b5e5ac0b1469cff8b57f880ccb803bfee9af1864f/quantize_jit.py @@ -0,0 +1,26 @@ +# flake8: noqa: F401 +r""" +This file is in the process of migration to `torch/ao/quantization`, and +is kept here for compatibility while the migration process is ongoing. +If you are adding a new entry/functionality, please, add it to the +`torch/ao/quantization/quantize_jit.py`, while adding an import statement +here. +""" + +from torch.ao.quantization.quantize_jit import ( + _check_forward_method, + _check_is_script_module, + _convert_jit, + _prepare_jit, + _prepare_ondevice_dynamic_jit, + _quantize_jit, + convert_dynamic_jit, + convert_jit, + fuse_conv_bn_jit, + prepare_dynamic_jit, + prepare_jit, + quantize_dynamic_jit, + quantize_jit, + script_qconfig, + script_qconfig_dict, +) diff --git a/shared/package-files/24/24dc9581cd149a5fae99e797d89876fa874c6f7a8e4e44a1b9bc357d8cfc37ca/linalg_vecdot_compositeimplicitautograd_dispatch.h b/shared/package-files/24/24dc9581cd149a5fae99e797d89876fa874c6f7a8e4e44a1b9bc357d8cfc37ca/linalg_vecdot_compositeimplicitautograd_dispatch.h new file mode 100644 index 0000000000000000000000000000000000000000..8aaa570fcec57b70ea8626cc9eebe62acb39aafc --- /dev/null +++ b/shared/package-files/24/24dc9581cd149a5fae99e797d89876fa874c6f7a8e4e44a1b9bc357d8cfc37ca/linalg_vecdot_compositeimplicitautograd_dispatch.h @@ -0,0 +1,25 @@ +#pragma once +// @generated by torchgen/gen.py from DispatchKeyFunction.h + +// NB: The implementing C++ file is RegisterDispatchKey.cpp + +// The only #includes we need are for custom classes that have defaults in the C++ API +#include +#include +#include + +// Forward declarations of any types needed in the operator signatures. +// We can't directly include these classes because it will cause circular include dependencies. +// This file is included by TensorBody.h, which defines the Tensor class. +#include + +namespace at { + +namespace compositeimplicitautograd { + +TORCH_API at::Tensor linalg_vecdot(const at::Tensor & x, const at::Tensor & y, int64_t dim=-1); +TORCH_API at::Tensor & linalg_vecdot_out(at::Tensor & out, const at::Tensor & x, const at::Tensor & y, int64_t dim=-1); +TORCH_API at::Tensor & linalg_vecdot_outf(const at::Tensor & x, const at::Tensor & y, int64_t dim, at::Tensor & out); + +} // namespace compositeimplicitautograd +} // namespace at diff --git a/shared/package-files/24/24dd230dd6516305dccbb61dfcd1554c606640d8737042a7f93b4ca0656aa277/Padding.h b/shared/package-files/24/24dd230dd6516305dccbb61dfcd1554c606640d8737042a7f93b4ca0656aa277/Padding.h new file mode 100644 index 0000000000000000000000000000000000000000..0834361342823576f1259f7ab4910761d70fe7bf --- /dev/null +++ b/shared/package-files/24/24dd230dd6516305dccbb61dfcd1554c606640d8737042a7f93b4ca0656aa277/Padding.h @@ -0,0 +1,62 @@ +#pragma once + +#include +#include + +namespace at::native { + +using padding_fn = void (*)(const Tensor&, const Tensor&, IntArrayRef); + +// reflection padding +DECLARE_DISPATCH(padding_fn, reflection_pad1d_kernel); +DECLARE_DISPATCH(padding_fn, reflection_pad1d_backward_kernel); +DECLARE_DISPATCH(padding_fn, reflection_pad2d_kernel); +DECLARE_DISPATCH(padding_fn, reflection_pad2d_backward_kernel); +DECLARE_DISPATCH(padding_fn, reflection_pad3d_kernel); +DECLARE_DISPATCH(padding_fn, reflection_pad3d_backward_kernel); + +// replication padding +DECLARE_DISPATCH(padding_fn, replication_pad1d_kernel); +DECLARE_DISPATCH(padding_fn, replication_pad1d_backward_kernel); +DECLARE_DISPATCH(padding_fn, replication_pad2d_kernel); +DECLARE_DISPATCH(padding_fn, replication_pad2d_backward_kernel); +DECLARE_DISPATCH(padding_fn, replication_pad3d_kernel); +DECLARE_DISPATCH(padding_fn, replication_pad3d_backward_kernel); + +namespace padding { + +template +static inline void check_valid_input(const Tensor& input, IntArrayRef padding) { + + TORCH_CHECK(padding.size() == 2 * dim, + "padding size is expected to be ", 2 * dim, + ", but got: ", padding.size()); + + int input_dim = input.dim(); + + bool is_batch_mode = input_dim == (dim + 2); + + bool valid_batch_mode = is_batch_mode; + bool valid_non_batch_mode = !is_batch_mode; + + if (is_batch_mode) { + // allow batch size of 0-dim. + for (const auto d : c10::irange(1, input_dim)) { + valid_batch_mode = valid_batch_mode && input.size(d) != 0; + } + } else { + for (const auto d : c10::irange(0, input_dim)) { + valid_non_batch_mode = valid_non_batch_mode && input.size(d) != 0; + } + } + + // allow empty batch size but not other dimensions. + TORCH_CHECK(valid_batch_mode || valid_non_batch_mode, + "Expected ", dim + 1, "D or ", dim + 2, + "D (batch mode) tensor with possibly 0 batch size and other non-zero dimensions for input, but got: ", + input.sizes()); +} + +} // namespace padding + +} // at::native diff --git a/shared/package-files/24/24dedc6fe3083423890dfbc65ab58aeba5321ed2049e957af28e56d29e67af8e/mouse_handlers.py b/shared/package-files/24/24dedc6fe3083423890dfbc65ab58aeba5321ed2049e957af28e56d29e67af8e/mouse_handlers.py new file mode 100644 index 0000000000000000000000000000000000000000..56a4eddd9d61173517f0bf4950b6f1003cf6cec4 --- /dev/null +++ b/shared/package-files/24/24dedc6fe3083423890dfbc65ab58aeba5321ed2049e957af28e56d29e67af8e/mouse_handlers.py @@ -0,0 +1,56 @@ +from __future__ import annotations + +from collections import defaultdict +from typing import TYPE_CHECKING, Callable + +from prompt_toolkit.mouse_events import MouseEvent + +if TYPE_CHECKING: + from prompt_toolkit.key_binding.key_bindings import NotImplementedOrNone + +__all__ = [ + "MouseHandler", + "MouseHandlers", +] + + +MouseHandler = Callable[[MouseEvent], "NotImplementedOrNone"] + + +class MouseHandlers: + """ + Two dimensional raster of callbacks for mouse events. + """ + + def __init__(self) -> None: + def dummy_callback(mouse_event: MouseEvent) -> NotImplementedOrNone: + """ + :param mouse_event: `MouseEvent` instance. + """ + return NotImplemented + + # NOTE: Previously, the data structure was a dictionary mapping (x,y) + # to the handlers. This however would be more inefficient when copying + # over the mouse handlers of the visible region in the scrollable pane. + + # Map y (row) to x (column) to handlers. + self.mouse_handlers: defaultdict[ + int, defaultdict[int, MouseHandler] + ] = defaultdict(lambda: defaultdict(lambda: dummy_callback)) + + def set_mouse_handler_for_range( + self, + x_min: int, + x_max: int, + y_min: int, + y_max: int, + handler: Callable[[MouseEvent], NotImplementedOrNone], + ) -> None: + """ + Set mouse handler for a region. + """ + for y in range(y_min, y_max): + row = self.mouse_handlers[y] + + for x in range(x_min, x_max): + row[x] = handler diff --git a/shared/package-files/24/24e1f9af15319ebc60b56d95b43a0de89a47ef26028856fd1786f82152eeba57/gator-52t b/shared/package-files/24/24e1f9af15319ebc60b56d95b43a0de89a47ef26028856fd1786f82152eeba57/gator-52t new file mode 100644 index 0000000000000000000000000000000000000000..ff867125e8139ade97d589f989290c06100ce580 Binary files /dev/null and b/shared/package-files/24/24e1f9af15319ebc60b56d95b43a0de89a47ef26028856fd1786f82152eeba57/gator-52t differ diff --git a/shared/package-files/24/24e3be2d47e299cd2e74290e492b3b8645d111d084b318a2250b188009c2610d/_dist_ver.py b/shared/package-files/24/24e3be2d47e299cd2e74290e492b3b8645d111d084b318a2250b188009c2610d/_dist_ver.py new file mode 100644 index 0000000000000000000000000000000000000000..fb9c46616a22c3c13a603e7d158d8eaeefe37513 --- /dev/null +++ b/shared/package-files/24/24e3be2d47e299cd2e74290e492b3b8645d111d084b318a2250b188009c2610d/_dist_ver.py @@ -0,0 +1 @@ +__version__ = '4.65.0' diff --git a/shared/package-files/24/24e557f9ff45103c9c138938183705fb010b8d696158e3ab54a7725ea275ed93/miopen_convolution_compositeexplicitautograd_dispatch.h b/shared/package-files/24/24e557f9ff45103c9c138938183705fb010b8d696158e3ab54a7725ea275ed93/miopen_convolution_compositeexplicitautograd_dispatch.h new file mode 100644 index 0000000000000000000000000000000000000000..2eb4821b84fcd0e6c2172fe1515ed343848e4b9a --- /dev/null +++ b/shared/package-files/24/24e557f9ff45103c9c138938183705fb010b8d696158e3ab54a7725ea275ed93/miopen_convolution_compositeexplicitautograd_dispatch.h @@ -0,0 +1,26 @@ +#pragma once +// @generated by torchgen/gen.py from DispatchKeyFunction.h + +// NB: The implementing C++ file is RegisterDispatchKey.cpp + +// The only #includes we need are for custom classes that have defaults in the C++ API +#include +#include +#include + +// Forward declarations of any types needed in the operator signatures. +// We can't directly include these classes because it will cause circular include dependencies. +// This file is included by TensorBody.h, which defines the Tensor class. +#include + +namespace at { + +namespace compositeexplicitautograd { + +TORCH_API at::Tensor & miopen_convolution_out(at::Tensor & out, const at::Tensor & self, const at::Tensor & weight, const c10::optional & bias, at::IntArrayRef padding, at::IntArrayRef stride, at::IntArrayRef dilation, int64_t groups, bool benchmark, bool deterministic); +TORCH_API at::Tensor & miopen_convolution_outf(const at::Tensor & self, const at::Tensor & weight, const c10::optional & bias, at::IntArrayRef padding, at::IntArrayRef stride, at::IntArrayRef dilation, int64_t groups, bool benchmark, bool deterministic, at::Tensor & out); +TORCH_API at::Tensor & miopen_convolution_symint_out(at::Tensor & out, const at::Tensor & self, const at::Tensor & weight, const c10::optional & bias, c10::SymIntArrayRef padding, c10::SymIntArrayRef stride, c10::SymIntArrayRef dilation, c10::SymInt groups, bool benchmark, bool deterministic); +TORCH_API at::Tensor & miopen_convolution_symint_outf(const at::Tensor & self, const at::Tensor & weight, const c10::optional & bias, c10::SymIntArrayRef padding, c10::SymIntArrayRef stride, c10::SymIntArrayRef dilation, c10::SymInt groups, bool benchmark, bool deterministic, at::Tensor & out); + +} // namespace compositeexplicitautograd +} // namespace at diff --git a/shared/package-files/24/24e82859d2bd1b06d16a5eb04bea26aaa9d1f59d390a284e2de9300270b9c22e/baddbmm_cuda_dispatch.h b/shared/package-files/24/24e82859d2bd1b06d16a5eb04bea26aaa9d1f59d390a284e2de9300270b9c22e/baddbmm_cuda_dispatch.h new file mode 100644 index 0000000000000000000000000000000000000000..61d35bdfb5a076dfa8192ac8c7eb6f119e82caf4 --- /dev/null +++ b/shared/package-files/24/24e82859d2bd1b06d16a5eb04bea26aaa9d1f59d390a284e2de9300270b9c22e/baddbmm_cuda_dispatch.h @@ -0,0 +1,26 @@ +#pragma once +// @generated by torchgen/gen.py from DispatchKeyFunction.h + +// NB: The implementing C++ file is RegisterDispatchKey.cpp + +// The only #includes we need are for custom classes that have defaults in the C++ API +#include +#include +#include + +// Forward declarations of any types needed in the operator signatures. +// We can't directly include these classes because it will cause circular include dependencies. +// This file is included by TensorBody.h, which defines the Tensor class. +#include + +namespace at { + +namespace cuda { + +TORCH_API at::Tensor baddbmm(const at::Tensor & self, const at::Tensor & batch1, const at::Tensor & batch2, const at::Scalar & beta=1, const at::Scalar & alpha=1); +TORCH_API at::Tensor & baddbmm_out(at::Tensor & out, const at::Tensor & self, const at::Tensor & batch1, const at::Tensor & batch2, const at::Scalar & beta=1, const at::Scalar & alpha=1); +TORCH_API at::Tensor & baddbmm_outf(const at::Tensor & self, const at::Tensor & batch1, const at::Tensor & batch2, const at::Scalar & beta, const at::Scalar & alpha, at::Tensor & out); +TORCH_API at::Tensor & baddbmm_(at::Tensor & self, const at::Tensor & batch1, const at::Tensor & batch2, const at::Scalar & beta=1, const at::Scalar & alpha=1); + +} // namespace cuda +} // namespace at diff --git a/shared/package-files/24/24e8cf244c77e0700c76372019f778af94b050e2fde4ea1e3d251dcdcc9f4dbb/_twenty_newsgroups.py b/shared/package-files/24/24e8cf244c77e0700c76372019f778af94b050e2fde4ea1e3d251dcdcc9f4dbb/_twenty_newsgroups.py new file mode 100644 index 0000000000000000000000000000000000000000..1dc5fb6244f1b9411d9fa3147b4402bf2a68e559 --- /dev/null +++ b/shared/package-files/24/24e8cf244c77e0700c76372019f778af94b050e2fde4ea1e3d251dcdcc9f4dbb/_twenty_newsgroups.py @@ -0,0 +1,625 @@ +"""Caching loader for the 20 newsgroups text classification dataset. + + +The description of the dataset is available on the official website at: + + http://people.csail.mit.edu/jrennie/20Newsgroups/ + +Quoting the introduction: + + The 20 Newsgroups data set is a collection of approximately 20,000 + newsgroup documents, partitioned (nearly) evenly across 20 different + newsgroups. To the best of my knowledge, it was originally collected + by Ken Lang, probably for his Newsweeder: Learning to filter netnews + paper, though he does not explicitly mention this collection. The 20 + newsgroups collection has become a popular data set for experiments + in text applications of machine learning techniques, such as text + classification and text clustering. + +This dataset loader will download the recommended "by date" variant of the +dataset and which features a point in time split between the train and +test sets. The compressed dataset size is around 14 Mb compressed. Once +uncompressed the train set is 52 MB and the test set is 34 MB. +""" + +# Authors: The scikit-learn developers +# SPDX-License-Identifier: BSD-3-Clause + +import codecs +import logging +import os +import pickle +import re +import shutil +import tarfile +from contextlib import suppress +from numbers import Integral, Real + +import joblib +import numpy as np +import scipy.sparse as sp + +from .. import preprocessing +from ..feature_extraction.text import CountVectorizer +from ..utils import Bunch, check_random_state +from ..utils._param_validation import Interval, StrOptions, validate_params +from ..utils.fixes import tarfile_extractall +from . import get_data_home, load_files +from ._base import ( + RemoteFileMetadata, + _convert_data_dataframe, + _fetch_remote, + _pkl_filepath, + load_descr, +) + +logger = logging.getLogger(__name__) + +# The original data can be found at: +# https://people.csail.mit.edu/jrennie/20Newsgroups/20news-bydate.tar.gz +ARCHIVE = RemoteFileMetadata( + filename="20news-bydate.tar.gz", + url="https://ndownloader.figshare.com/files/5975967", + checksum="8f1b2514ca22a5ade8fbb9cfa5727df95fa587f4c87b786e15c759fa66d95610", +) + +CACHE_NAME = "20news-bydate.pkz" +TRAIN_FOLDER = "20news-bydate-train" +TEST_FOLDER = "20news-bydate-test" + + +def _download_20newsgroups(target_dir, cache_path, n_retries, delay): + """Download the 20 newsgroups data and stored it as a zipped pickle.""" + train_path = os.path.join(target_dir, TRAIN_FOLDER) + test_path = os.path.join(target_dir, TEST_FOLDER) + + os.makedirs(target_dir, exist_ok=True) + + logger.info("Downloading dataset from %s (14 MB)", ARCHIVE.url) + archive_path = _fetch_remote( + ARCHIVE, dirname=target_dir, n_retries=n_retries, delay=delay + ) + + logger.debug("Decompressing %s", archive_path) + with tarfile.open(archive_path, "r:gz") as fp: + tarfile_extractall(fp, path=target_dir) + + with suppress(FileNotFoundError): + os.remove(archive_path) + + # Store a zipped pickle + cache = dict( + train=load_files(train_path, encoding="latin1"), + test=load_files(test_path, encoding="latin1"), + ) + compressed_content = codecs.encode(pickle.dumps(cache), "zlib_codec") + with open(cache_path, "wb") as f: + f.write(compressed_content) + + shutil.rmtree(target_dir) + return cache + + +def strip_newsgroup_header(text): + """ + Given text in "news" format, strip the headers, by removing everything + before the first blank line. + + Parameters + ---------- + text : str + The text from which to remove the signature block. + """ + _before, _blankline, after = text.partition("\n\n") + return after + + +_QUOTE_RE = re.compile( + r"(writes in|writes:|wrote:|says:|said:|^In article|^Quoted from|^\||^>)" +) + + +def strip_newsgroup_quoting(text): + """ + Given text in "news" format, strip lines beginning with the quote + characters > or |, plus lines that often introduce a quoted section + (for example, because they contain the string 'writes:'.) + + Parameters + ---------- + text : str + The text from which to remove the signature block. + """ + good_lines = [line for line in text.split("\n") if not _QUOTE_RE.search(line)] + return "\n".join(good_lines) + + +def strip_newsgroup_footer(text): + """ + Given text in "news" format, attempt to remove a signature block. + + As a rough heuristic, we assume that signatures are set apart by either + a blank line or a line made of hyphens, and that it is the last such line + in the file (disregarding blank lines at the end). + + Parameters + ---------- + text : str + The text from which to remove the signature block. + """ + lines = text.strip().split("\n") + for line_num in range(len(lines) - 1, -1, -1): + line = lines[line_num] + if line.strip().strip("-") == "": + break + + if line_num > 0: + return "\n".join(lines[:line_num]) + else: + return text + + +@validate_params( + { + "data_home": [str, os.PathLike, None], + "subset": [StrOptions({"train", "test", "all"})], + "categories": ["array-like", None], + "shuffle": ["boolean"], + "random_state": ["random_state"], + "remove": [tuple], + "download_if_missing": ["boolean"], + "return_X_y": ["boolean"], + "n_retries": [Interval(Integral, 1, None, closed="left")], + "delay": [Interval(Real, 0.0, None, closed="neither")], + }, + prefer_skip_nested_validation=True, +) +def fetch_20newsgroups( + *, + data_home=None, + subset="train", + categories=None, + shuffle=True, + random_state=42, + remove=(), + download_if_missing=True, + return_X_y=False, + n_retries=3, + delay=1.0, +): + """Load the filenames and data from the 20 newsgroups dataset \ +(classification). + + Download it if necessary. + + ================= ========== + Classes 20 + Samples total 18846 + Dimensionality 1 + Features text + ================= ========== + + Read more in the :ref:`User Guide <20newsgroups_dataset>`. + + Parameters + ---------- + data_home : str or path-like, default=None + Specify a download and cache folder for the datasets. If None, + all scikit-learn data is stored in '~/scikit_learn_data' subfolders. + + subset : {'train', 'test', 'all'}, default='train' + Select the dataset to load: 'train' for the training set, 'test' + for the test set, 'all' for both, with shuffled ordering. + + categories : array-like, dtype=str, default=None + If None (default), load all the categories. + If not None, list of category names to load (other categories + ignored). + + shuffle : bool, default=True + Whether or not to shuffle the data: might be important for models that + make the assumption that the samples are independent and identically + distributed (i.i.d.), such as stochastic gradient descent. + + random_state : int, RandomState instance or None, default=42 + Determines random number generation for dataset shuffling. Pass an int + for reproducible output across multiple function calls. + See :term:`Glossary `. + + remove : tuple, default=() + May contain any subset of ('headers', 'footers', 'quotes'). Each of + these are kinds of text that will be detected and removed from the + newsgroup posts, preventing classifiers from overfitting on + metadata. + + 'headers' removes newsgroup headers, 'footers' removes blocks at the + ends of posts that look like signatures, and 'quotes' removes lines + that appear to be quoting another post. + + 'headers' follows an exact standard; the other filters are not always + correct. + + download_if_missing : bool, default=True + If False, raise an OSError if the data is not locally available + instead of trying to download the data from the source site. + + return_X_y : bool, default=False + If True, returns `(data.data, data.target)` instead of a Bunch + object. + + .. versionadded:: 0.22 + + n_retries : int, default=3 + Number of retries when HTTP errors are encountered. + + .. versionadded:: 1.5 + + delay : float, default=1.0 + Number of seconds between retries. + + .. versionadded:: 1.5 + + Returns + ------- + bunch : :class:`~sklearn.utils.Bunch` + Dictionary-like object, with the following attributes. + + data : list of shape (n_samples,) + The data list to learn. + target: ndarray of shape (n_samples,) + The target labels. + filenames: list of shape (n_samples,) + The path to the location of the data. + DESCR: str + The full description of the dataset. + target_names: list of shape (n_classes,) + The names of target classes. + + (data, target) : tuple if `return_X_y=True` + A tuple of two ndarrays. The first contains a 2D array of shape + (n_samples, n_classes) with each row representing one sample and each + column representing the features. The second array of shape + (n_samples,) contains the target samples. + + .. versionadded:: 0.22 + + Examples + -------- + >>> from sklearn.datasets import fetch_20newsgroups + >>> cats = ['alt.atheism', 'sci.space'] + >>> newsgroups_train = fetch_20newsgroups(subset='train', categories=cats) + >>> list(newsgroups_train.target_names) + ['alt.atheism', 'sci.space'] + >>> newsgroups_train.filenames.shape + (1073,) + >>> newsgroups_train.target.shape + (1073,) + >>> newsgroups_train.target[:10] + array([0, 1, 1, 1, 0, 1, 1, 0, 0, 0]) + """ + + data_home = get_data_home(data_home=data_home) + cache_path = _pkl_filepath(data_home, CACHE_NAME) + twenty_home = os.path.join(data_home, "20news_home") + cache = None + if os.path.exists(cache_path): + try: + with open(cache_path, "rb") as f: + compressed_content = f.read() + uncompressed_content = codecs.decode(compressed_content, "zlib_codec") + cache = pickle.loads(uncompressed_content) + except Exception as e: + print(80 * "_") + print("Cache loading failed") + print(80 * "_") + print(e) + + if cache is None: + if download_if_missing: + logger.info("Downloading 20news dataset. This may take a few minutes.") + cache = _download_20newsgroups( + target_dir=twenty_home, + cache_path=cache_path, + n_retries=n_retries, + delay=delay, + ) + else: + raise OSError("20Newsgroups dataset not found") + + if subset in ("train", "test"): + data = cache[subset] + elif subset == "all": + data_lst = list() + target = list() + filenames = list() + for subset in ("train", "test"): + data = cache[subset] + data_lst.extend(data.data) + target.extend(data.target) + filenames.extend(data.filenames) + + data.data = data_lst + data.target = np.array(target) + data.filenames = np.array(filenames) + + fdescr = load_descr("twenty_newsgroups.rst") + + data.DESCR = fdescr + + if "headers" in remove: + data.data = [strip_newsgroup_header(text) for text in data.data] + if "footers" in remove: + data.data = [strip_newsgroup_footer(text) for text in data.data] + if "quotes" in remove: + data.data = [strip_newsgroup_quoting(text) for text in data.data] + + if categories is not None: + labels = [(data.target_names.index(cat), cat) for cat in categories] + # Sort the categories to have the ordering of the labels + labels.sort() + labels, categories = zip(*labels) + mask = np.isin(data.target, labels) + data.filenames = data.filenames[mask] + data.target = data.target[mask] + # searchsorted to have continuous labels + data.target = np.searchsorted(labels, data.target) + data.target_names = list(categories) + # Use an object array to shuffle: avoids memory copy + data_lst = np.array(data.data, dtype=object) + data_lst = data_lst[mask] + data.data = data_lst.tolist() + + if shuffle: + random_state = check_random_state(random_state) + indices = np.arange(data.target.shape[0]) + random_state.shuffle(indices) + data.filenames = data.filenames[indices] + data.target = data.target[indices] + # Use an object array to shuffle: avoids memory copy + data_lst = np.array(data.data, dtype=object) + data_lst = data_lst[indices] + data.data = data_lst.tolist() + + if return_X_y: + return data.data, data.target + + return data + + +@validate_params( + { + "subset": [StrOptions({"train", "test", "all"})], + "remove": [tuple], + "data_home": [str, os.PathLike, None], + "download_if_missing": ["boolean"], + "return_X_y": ["boolean"], + "normalize": ["boolean"], + "as_frame": ["boolean"], + "n_retries": [Interval(Integral, 1, None, closed="left")], + "delay": [Interval(Real, 0.0, None, closed="neither")], + }, + prefer_skip_nested_validation=True, +) +def fetch_20newsgroups_vectorized( + *, + subset="train", + remove=(), + data_home=None, + download_if_missing=True, + return_X_y=False, + normalize=True, + as_frame=False, + n_retries=3, + delay=1.0, +): + """Load and vectorize the 20 newsgroups dataset (classification). + + Download it if necessary. + + This is a convenience function; the transformation is done using the + default settings for + :class:`~sklearn.feature_extraction.text.CountVectorizer`. For more + advanced usage (stopword filtering, n-gram extraction, etc.), combine + fetch_20newsgroups with a custom + :class:`~sklearn.feature_extraction.text.CountVectorizer`, + :class:`~sklearn.feature_extraction.text.HashingVectorizer`, + :class:`~sklearn.feature_extraction.text.TfidfTransformer` or + :class:`~sklearn.feature_extraction.text.TfidfVectorizer`. + + The resulting counts are normalized using + :func:`sklearn.preprocessing.normalize` unless normalize is set to False. + + ================= ========== + Classes 20 + Samples total 18846 + Dimensionality 130107 + Features real + ================= ========== + + Read more in the :ref:`User Guide <20newsgroups_dataset>`. + + Parameters + ---------- + subset : {'train', 'test', 'all'}, default='train' + Select the dataset to load: 'train' for the training set, 'test' + for the test set, 'all' for both, with shuffled ordering. + + remove : tuple, default=() + May contain any subset of ('headers', 'footers', 'quotes'). Each of + these are kinds of text that will be detected and removed from the + newsgroup posts, preventing classifiers from overfitting on + metadata. + + 'headers' removes newsgroup headers, 'footers' removes blocks at the + ends of posts that look like signatures, and 'quotes' removes lines + that appear to be quoting another post. + + data_home : str or path-like, default=None + Specify an download and cache folder for the datasets. If None, + all scikit-learn data is stored in '~/scikit_learn_data' subfolders. + + download_if_missing : bool, default=True + If False, raise an OSError if the data is not locally available + instead of trying to download the data from the source site. + + return_X_y : bool, default=False + If True, returns ``(data.data, data.target)`` instead of a Bunch + object. + + .. versionadded:: 0.20 + + normalize : bool, default=True + If True, normalizes each document's feature vector to unit norm using + :func:`sklearn.preprocessing.normalize`. + + .. versionadded:: 0.22 + + as_frame : bool, default=False + If True, the data is a pandas DataFrame including columns with + appropriate dtypes (numeric, string, or categorical). The target is + a pandas DataFrame or Series depending on the number of + `target_columns`. + + .. versionadded:: 0.24 + + n_retries : int, default=3 + Number of retries when HTTP errors are encountered. + + .. versionadded:: 1.5 + + delay : float, default=1.0 + Number of seconds between retries. + + .. versionadded:: 1.5 + + Returns + ------- + bunch : :class:`~sklearn.utils.Bunch` + Dictionary-like object, with the following attributes. + + data: {sparse matrix, dataframe} of shape (n_samples, n_features) + The input data matrix. If ``as_frame`` is `True`, ``data`` is + a pandas DataFrame with sparse columns. + target: {ndarray, series} of shape (n_samples,) + The target labels. If ``as_frame`` is `True`, ``target`` is a + pandas Series. + target_names: list of shape (n_classes,) + The names of target classes. + DESCR: str + The full description of the dataset. + frame: dataframe of shape (n_samples, n_features + 1) + Only present when `as_frame=True`. Pandas DataFrame with ``data`` + and ``target``. + + .. versionadded:: 0.24 + + (data, target) : tuple if ``return_X_y`` is True + `data` and `target` would be of the format defined in the `Bunch` + description above. + + .. versionadded:: 0.20 + + Examples + -------- + >>> from sklearn.datasets import fetch_20newsgroups_vectorized + >>> newsgroups_vectorized = fetch_20newsgroups_vectorized(subset='test') + >>> newsgroups_vectorized.data.shape + (7532, 130107) + >>> newsgroups_vectorized.target.shape + (7532,) + """ + data_home = get_data_home(data_home=data_home) + filebase = "20newsgroup_vectorized" + if remove: + filebase += "remove-" + "-".join(remove) + target_file = _pkl_filepath(data_home, filebase + ".pkl") + + # we shuffle but use a fixed seed for the memoization + data_train = fetch_20newsgroups( + data_home=data_home, + subset="train", + categories=None, + shuffle=True, + random_state=12, + remove=remove, + download_if_missing=download_if_missing, + n_retries=n_retries, + delay=delay, + ) + + data_test = fetch_20newsgroups( + data_home=data_home, + subset="test", + categories=None, + shuffle=True, + random_state=12, + remove=remove, + download_if_missing=download_if_missing, + n_retries=n_retries, + delay=delay, + ) + + if os.path.exists(target_file): + try: + X_train, X_test, feature_names = joblib.load(target_file) + except ValueError as e: + raise ValueError( + f"The cached dataset located in {target_file} was fetched " + "with an older scikit-learn version and it is not compatible " + "with the scikit-learn version imported. You need to " + f"manually delete the file: {target_file}." + ) from e + else: + vectorizer = CountVectorizer(dtype=np.int16) + X_train = vectorizer.fit_transform(data_train.data).tocsr() + X_test = vectorizer.transform(data_test.data).tocsr() + feature_names = vectorizer.get_feature_names_out() + + joblib.dump((X_train, X_test, feature_names), target_file, compress=9) + + # the data is stored as int16 for compactness + # but normalize needs floats + if normalize: + X_train = X_train.astype(np.float64) + X_test = X_test.astype(np.float64) + preprocessing.normalize(X_train, copy=False) + preprocessing.normalize(X_test, copy=False) + + target_names = data_train.target_names + + if subset == "train": + data = X_train + target = data_train.target + elif subset == "test": + data = X_test + target = data_test.target + elif subset == "all": + data = sp.vstack((X_train, X_test)).tocsr() + target = np.concatenate((data_train.target, data_test.target)) + + fdescr = load_descr("twenty_newsgroups.rst") + + frame = None + target_name = ["category_class"] + + if as_frame: + frame, data, target = _convert_data_dataframe( + "fetch_20newsgroups_vectorized", + data, + target, + feature_names, + target_names=target_name, + sparse_data=True, + ) + + if return_X_y: + return data, target + + return Bunch( + data=data, + target=target, + frame=frame, + target_names=target_names, + feature_names=feature_names, + DESCR=fdescr, + ) diff --git a/shared/package-files/24/24e9527cc4f5b83233b4ec90dddcd8829e5f1959f33d55810aa5e374866c8cb4/numpy_pickle_compat.py b/shared/package-files/24/24e9527cc4f5b83233b4ec90dddcd8829e5f1959f33d55810aa5e374866c8cb4/numpy_pickle_compat.py new file mode 100644 index 0000000000000000000000000000000000000000..5e26c13e2feaa53b62b29e6b6690c0349898189f --- /dev/null +++ b/shared/package-files/24/24e9527cc4f5b83233b4ec90dddcd8829e5f1959f33d55810aa5e374866c8cb4/numpy_pickle_compat.py @@ -0,0 +1,250 @@ +"""Numpy pickle compatibility functions.""" + +import inspect +import os +import pickle +import zlib +from io import BytesIO + +from .numpy_pickle_utils import ( + _ZFILE_PREFIX, + Unpickler, + _ensure_native_byte_order, + _reconstruct, +) + + +def hex_str(an_int): + """Convert an int to an hexadecimal string.""" + return "{:#x}".format(an_int) + + +def asbytes(s): + if isinstance(s, bytes): + return s + return s.encode("latin1") + + +_MAX_LEN = len(hex_str(2**64)) +_CHUNK_SIZE = 64 * 1024 + + +def read_zfile(file_handle): + """Read the z-file and return the content as a string. + + Z-files are raw data compressed with zlib used internally by joblib + for persistence. Backward compatibility is not guaranteed. Do not + use for external purposes. + """ + file_handle.seek(0) + header_length = len(_ZFILE_PREFIX) + _MAX_LEN + length = file_handle.read(header_length) + length = length[len(_ZFILE_PREFIX) :] + length = int(length, 16) + + # With python2 and joblib version <= 0.8.4 compressed pickle header is one + # character wider so we need to ignore an additional space if present. + # Note: the first byte of the zlib data is guaranteed not to be a + # space according to + # https://tools.ietf.org/html/rfc6713#section-2.1 + next_byte = file_handle.read(1) + if next_byte != b" ": + # The zlib compressed data has started and we need to go back + # one byte + file_handle.seek(header_length) + + # We use the known length of the data to tell Zlib the size of the + # buffer to allocate. + data = zlib.decompress(file_handle.read(), 15, length) + assert len(data) == length, ( + "Incorrect data length while decompressing %s." + "The file could be corrupted." % file_handle + ) + return data + + +def write_zfile(file_handle, data, compress=1): + """Write the data in the given file as a Z-file. + + Z-files are raw data compressed with zlib used internally by joblib + for persistence. Backward compatibility is not guaranteed. Do not + use for external purposes. + """ + file_handle.write(_ZFILE_PREFIX) + length = hex_str(len(data)) + # Store the length of the data + file_handle.write(asbytes(length.ljust(_MAX_LEN))) + file_handle.write(zlib.compress(asbytes(data), compress)) + + +############################################################################### +# Utility objects for persistence. + + +class NDArrayWrapper(object): + """An object to be persisted instead of numpy arrays. + + The only thing this object does, is to carry the filename in which + the array has been persisted, and the array subclass. + """ + + def __init__(self, filename, subclass, allow_mmap=True): + """Constructor. Store the useful information for later.""" + self.filename = filename + self.subclass = subclass + self.allow_mmap = allow_mmap + + def read(self, unpickler): + """Reconstruct the array.""" + filename = os.path.join(unpickler._dirname, self.filename) + # Load the array from the disk + # use getattr instead of self.allow_mmap to ensure backward compat + # with NDArrayWrapper instances pickled with joblib < 0.9.0 + allow_mmap = getattr(self, "allow_mmap", True) + kwargs = {} + if allow_mmap: + kwargs["mmap_mode"] = unpickler.mmap_mode + if "allow_pickle" in inspect.signature(unpickler.np.load).parameters: + # Required in numpy 1.16.3 and later to acknowledge the security + # risk. + kwargs["allow_pickle"] = True + array = unpickler.np.load(filename, **kwargs) + + # Detect byte order mismatch and swap as needed. + array = _ensure_native_byte_order(array) + + # Reconstruct subclasses. This does not work with old + # versions of numpy + if hasattr(array, "__array_prepare__") and self.subclass not in ( + unpickler.np.ndarray, + unpickler.np.memmap, + ): + # We need to reconstruct another subclass + new_array = _reconstruct(self.subclass, (0,), "b") + return new_array.__array_prepare__(array) + else: + return array + + +class ZNDArrayWrapper(NDArrayWrapper): + """An object to be persisted instead of numpy arrays. + + This object store the Zfile filename in which + the data array has been persisted, and the meta information to + retrieve it. + The reason that we store the raw buffer data of the array and + the meta information, rather than array representation routine + (tobytes) is that it enables us to use completely the strided + model to avoid memory copies (a and a.T store as fast). In + addition saving the heavy information separately can avoid + creating large temporary buffers when unpickling data with + large arrays. + """ + + def __init__(self, filename, init_args, state): + """Constructor. Store the useful information for later.""" + self.filename = filename + self.state = state + self.init_args = init_args + + def read(self, unpickler): + """Reconstruct the array from the meta-information and the z-file.""" + # Here we a simply reproducing the unpickling mechanism for numpy + # arrays + filename = os.path.join(unpickler._dirname, self.filename) + array = _reconstruct(*self.init_args) + with open(filename, "rb") as f: + data = read_zfile(f) + state = self.state + (data,) + array.__setstate__(state) + return array + + +class ZipNumpyUnpickler(Unpickler): + """A subclass of the Unpickler to unpickle our numpy pickles.""" + + dispatch = Unpickler.dispatch.copy() + + def __init__(self, filename, file_handle, mmap_mode=None): + """Constructor.""" + self._filename = os.path.basename(filename) + self._dirname = os.path.dirname(filename) + self.mmap_mode = mmap_mode + self.file_handle = self._open_pickle(file_handle) + Unpickler.__init__(self, self.file_handle) + try: + import numpy as np + except ImportError: + np = None + self.np = np + + def _open_pickle(self, file_handle): + return BytesIO(read_zfile(file_handle)) + + def load_build(self): + """Set the state of a newly created object. + + We capture it to replace our place-holder objects, + NDArrayWrapper, by the array we are interested in. We + replace them directly in the stack of pickler. + """ + Unpickler.load_build(self) + if isinstance(self.stack[-1], NDArrayWrapper): + if self.np is None: + raise ImportError( + "Trying to unpickle an ndarray, but numpy didn't import correctly" + ) + nd_array_wrapper = self.stack.pop() + array = nd_array_wrapper.read(self) + self.stack.append(array) + + dispatch[pickle.BUILD[0]] = load_build + + +def load_compatibility(filename): + """Reconstruct a Python object from a file persisted with joblib.dump. + + This function ensures the compatibility with joblib old persistence format + (<= 0.9.3). + + Parameters + ---------- + filename: string + The name of the file from which to load the object + + Returns + ------- + result: any Python object + The object stored in the file. + + See Also + -------- + joblib.dump : function to save an object + + Notes + ----- + + This function can load numpy array files saved separately during the + dump. + """ + with open(filename, "rb") as file_handle: + # We are careful to open the file handle early and keep it open to + # avoid race-conditions on renames. That said, if data is stored in + # companion files, moving the directory will create a race when + # joblib tries to access the companion files. + unpickler = ZipNumpyUnpickler(filename, file_handle=file_handle) + try: + obj = unpickler.load() + except UnicodeDecodeError as exc: + # More user-friendly error message + new_exc = ValueError( + "You may be trying to read with " + "python 3 a joblib pickle generated with python 2. " + "This feature is not supported by joblib." + ) + new_exc.__cause__ = exc + raise new_exc + finally: + if hasattr(unpickler, "file_handle"): + unpickler.file_handle.close() + return obj diff --git a/shared/package-files/24/24efdb61ecf4d3f114784c528547ed9889c65268e0ecd7046a60b38bf9dc32a7/viewpoint3a+ b/shared/package-files/24/24efdb61ecf4d3f114784c528547ed9889c65268e0ecd7046a60b38bf9dc32a7/viewpoint3a+ new file mode 100644 index 0000000000000000000000000000000000000000..4f1888487ab4d21aa913e841f71a5a74626f1e9a Binary files /dev/null and b/shared/package-files/24/24efdb61ecf4d3f114784c528547ed9889c65268e0ecd7046a60b38bf9dc32a7/viewpoint3a+ differ diff --git a/shared/package-files/24/24efdb61ecf4d3f114784c528547ed9889c65268e0ecd7046a60b38bf9dc32a7/vp3a+ b/shared/package-files/24/24efdb61ecf4d3f114784c528547ed9889c65268e0ecd7046a60b38bf9dc32a7/vp3a+ new file mode 100644 index 0000000000000000000000000000000000000000..4f1888487ab4d21aa913e841f71a5a74626f1e9a Binary files /dev/null and b/shared/package-files/24/24efdb61ecf4d3f114784c528547ed9889c65268e0ecd7046a60b38bf9dc32a7/vp3a+ differ diff --git a/shared/package-files/24/24efe135fa82c7c902ebaab62529bb7e8cd98ef88a7655af8e7d058fdd49763d/_sparse_coo_tensor_with_dims_and_tensors_compositeexplicitautograd_dispatch.h b/shared/package-files/24/24efe135fa82c7c902ebaab62529bb7e8cd98ef88a7655af8e7d058fdd49763d/_sparse_coo_tensor_with_dims_and_tensors_compositeexplicitautograd_dispatch.h new file mode 100644 index 0000000000000000000000000000000000000000..e1b58af2e3971a63cc4d697ddf89bd0558280478 --- /dev/null +++ b/shared/package-files/24/24efe135fa82c7c902ebaab62529bb7e8cd98ef88a7655af8e7d058fdd49763d/_sparse_coo_tensor_with_dims_and_tensors_compositeexplicitautograd_dispatch.h @@ -0,0 +1,26 @@ +#pragma once +// @generated by torchgen/gen.py from DispatchKeyFunction.h + +// NB: The implementing C++ file is RegisterDispatchKey.cpp + +// The only #includes we need are for custom classes that have defaults in the C++ API +#include +#include +#include + +// Forward declarations of any types needed in the operator signatures. +// We can't directly include these classes because it will cause circular include dependencies. +// This file is included by TensorBody.h, which defines the Tensor class. +#include + +namespace at { + +namespace compositeexplicitautograd { + +TORCH_API at::Tensor & _sparse_coo_tensor_with_dims_and_tensors_out(at::Tensor & out, int64_t sparse_dim, int64_t dense_dim, at::IntArrayRef size, const at::Tensor & indices, const at::Tensor & values, c10::optional is_coalesced=c10::nullopt); +TORCH_API at::Tensor & _sparse_coo_tensor_with_dims_and_tensors_outf(int64_t sparse_dim, int64_t dense_dim, at::IntArrayRef size, const at::Tensor & indices, const at::Tensor & values, c10::optional is_coalesced, at::Tensor & out); +TORCH_API at::Tensor & _sparse_coo_tensor_with_dims_and_tensors_symint_out(at::Tensor & out, int64_t sparse_dim, int64_t dense_dim, c10::SymIntArrayRef size, const at::Tensor & indices, const at::Tensor & values, c10::optional is_coalesced=c10::nullopt); +TORCH_API at::Tensor & _sparse_coo_tensor_with_dims_and_tensors_symint_outf(int64_t sparse_dim, int64_t dense_dim, c10::SymIntArrayRef size, const at::Tensor & indices, const at::Tensor & values, c10::optional is_coalesced, at::Tensor & out); + +} // namespace compositeexplicitautograd +} // namespace at diff --git a/shared/package-files/24/24f41df099c855cc234c7eb2381724e01591f9657de5fa6701d847c8462f7ca1/middleware.h b/shared/package-files/24/24f41df099c855cc234c7eb2381724e01591f9657de5fa6701d847c8462f7ca1/middleware.h new file mode 100644 index 0000000000000000000000000000000000000000..d717e396a8b68c749e53eeb241599ae28986d6da --- /dev/null +++ b/shared/package-files/24/24f41df099c855cc234c7eb2381724e01591f9657de5fa6701d847c8462f7ca1/middleware.h @@ -0,0 +1,75 @@ +// Licensed to the Apache Software Foundation (ASF) under one +// or more contributor license agreements. See the NOTICE file +// distributed with this work for additional information +// regarding copyright ownership. The ASF licenses this file +// to you under the Apache License, Version 2.0 (the +// "License"); you may not use this file except in compliance +// with the License. You may obtain a copy of the License at +// +// http://www.apache.org/licenses/LICENSE-2.0 +// +// Unless required by applicable law or agreed to in writing, +// software distributed under the License is distributed on an +// "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY +// KIND, either express or implied. See the License for the +// specific language governing permissions and limitations +// under the License. + +// Interfaces for defining middleware for Flight clients and +// servers. + +#pragma once + +#include +#include +#include +#include + +#include "arrow/flight/types.h" +#include "arrow/status.h" + +namespace arrow { +namespace flight { + +/// \brief A write-only wrapper around headers for an RPC call. +class ARROW_FLIGHT_EXPORT AddCallHeaders { + public: + virtual ~AddCallHeaders() = default; + + /// \brief Add a header to be sent to the client. + /// + /// \param[in] key The header name. Must be lowercase ASCII; some + /// transports may reject invalid header names. + /// \param[in] value The header value. Some transports may only + /// accept binary header values if the header name ends in "-bin". + virtual void AddHeader(const std::string& key, const std::string& value) = 0; +}; + +/// \brief An enumeration of the RPC methods Flight implements. +enum class FlightMethod : char { + Invalid = 0, + Handshake = 1, + ListFlights = 2, + GetFlightInfo = 3, + GetSchema = 4, + DoGet = 5, + DoPut = 6, + DoAction = 7, + ListActions = 8, + DoExchange = 9, + PollFlightInfo = 10, +}; + +/// \brief Get a human-readable name for a Flight method. +ARROW_FLIGHT_EXPORT +std::string ToString(FlightMethod method); + +/// \brief Information about an instance of a Flight RPC. +struct ARROW_FLIGHT_EXPORT CallInfo { + public: + /// \brief The RPC method of this call. + FlightMethod method; +}; + +} // namespace flight +} // namespace arrow diff --git a/shared/package-files/24/24f58b7c3ef661210deab9966aa8499761656075a5ea0f5b9d36141fb4b9b56d/mgcv_cubic_splines.py b/shared/package-files/24/24f58b7c3ef661210deab9966aa8499761656075a5ea0f5b9d36141fb4b9b56d/mgcv_cubic_splines.py new file mode 100644 index 0000000000000000000000000000000000000000..5f9368096b34e210f2b7f27d7f862dc79f82345f --- /dev/null +++ b/shared/package-files/24/24f58b7c3ef661210deab9966aa8499761656075a5ea0f5b9d36141fb4b9b56d/mgcv_cubic_splines.py @@ -0,0 +1,1253 @@ +# This file is part of Patsy +# Copyright (C) 2014 GDF Suez, http://www.gdfsuez.com/ +# See file LICENSE.txt for license information. + +# R package 'mgcv' compatible cubic spline basis functions + +# These are made available in the patsy.* namespace +__all__ = ["cr", "cc", "te"] + +import numpy as np + +from patsy.util import ( + have_pandas, + atleast_2d_column_default, + no_pickling, + assert_no_pickling, + safe_string_eq, +) +from patsy.state import stateful_transform + +if have_pandas: + import pandas + + +def _get_natural_f(knots): + """Returns mapping of natural cubic spline values to 2nd derivatives. + + .. note:: See 'Generalized Additive Models', Simon N. Wood, 2006, pp 145-146 + + :param knots: The 1-d array knots used for cubic spline parametrization, + must be sorted in ascending order. + :return: A 2-d array mapping natural cubic spline values at + knots to second derivatives. + + :raise ImportError: if scipy is not found, required for + ``linalg.solve_banded()`` + """ + try: + from scipy import linalg + except ImportError: # pragma: no cover + raise ImportError("Cubic spline functionality requires scipy.") + + h = knots[1:] - knots[:-1] + diag = (h[:-1] + h[1:]) / 3.0 + ul_diag = h[1:-1] / 6.0 + banded_b = np.array([np.r_[0.0, ul_diag], diag, np.r_[ul_diag, 0.0]]) + d = np.zeros((knots.size - 2, knots.size)) + for i in range(knots.size - 2): + d[i, i] = 1.0 / h[i] + d[i, i + 2] = 1.0 / h[i + 1] + d[i, i + 1] = -d[i, i] - d[i, i + 2] + + fm = linalg.solve_banded((1, 1), banded_b, d) + + return np.vstack([np.zeros(knots.size), fm, np.zeros(knots.size)]) + + +# Cyclic Cubic Regression Splines + + +def _map_cyclic(x, lbound, ubound): + """Maps values into the interval [lbound, ubound] in a cyclic fashion. + + :param x: The 1-d array values to be mapped. + :param lbound: The lower bound of the interval. + :param ubound: The upper bound of the interval. + :return: A new 1-d array containing mapped x values. + + :raise ValueError: if lbound >= ubound. + """ + if lbound >= ubound: + raise ValueError( + "Invalid argument: lbound (%r) should be " + "less than ubound (%r)." % (lbound, ubound) + ) + + x = np.copy(x) + x[x > ubound] = lbound + (x[x > ubound] - ubound) % (ubound - lbound) + x[x < lbound] = ubound - (lbound - x[x < lbound]) % (ubound - lbound) + + return x + + +def test__map_cyclic(): + x = np.array([1.5, 2.6, 0.1, 4.4, 10.7]) + x_orig = np.copy(x) + expected_mapped_x = np.array([3.0, 2.6, 3.1, 2.9, 3.2]) + mapped_x = _map_cyclic(x, 2.1, 3.6) + assert np.allclose(x, x_orig) + assert np.allclose(mapped_x, expected_mapped_x) + + +def test__map_cyclic_errors(): + import pytest + + x = np.linspace(0.2, 5.7, 10) + pytest.raises(ValueError, _map_cyclic, x, 4.5, 3.6) + pytest.raises(ValueError, _map_cyclic, x, 4.5, 4.5) + + +def _get_cyclic_f(knots): + """Returns mapping of cyclic cubic spline values to 2nd derivatives. + + .. note:: See 'Generalized Additive Models', Simon N. Wood, 2006, pp 146-147 + + :param knots: The 1-d array knots used for cubic spline parametrization, + must be sorted in ascending order. + :return: A 2-d array mapping cyclic cubic spline values at + knots to second derivatives. + """ + h = knots[1:] - knots[:-1] + n = knots.size - 1 + b = np.zeros((n, n)) + d = np.zeros((n, n)) + + b[0, 0] = (h[n - 1] + h[0]) / 3.0 + b[0, n - 1] = h[n - 1] / 6.0 + b[n - 1, 0] = h[n - 1] / 6.0 + + d[0, 0] = -1.0 / h[0] - 1.0 / h[n - 1] + d[0, n - 1] = 1.0 / h[n - 1] + d[n - 1, 0] = 1.0 / h[n - 1] + + for i in range(1, n): + b[i, i] = (h[i - 1] + h[i]) / 3.0 + b[i, i - 1] = h[i - 1] / 6.0 + b[i - 1, i] = h[i - 1] / 6.0 + + d[i, i] = -1.0 / h[i - 1] - 1.0 / h[i] + d[i, i - 1] = 1.0 / h[i - 1] + d[i - 1, i] = 1.0 / h[i - 1] + + return np.linalg.solve(b, d) + + +# Tensor Product + + +def _row_tensor_product(dms): + """Computes row-wise tensor product of given arguments. + + .. note:: Custom algorithm to precisely match what is done in 'mgcv', + in particular look out for order of result columns! + For reference implementation see 'mgcv' source code, + file 'mat.c', mgcv_tensor_mm(), l.62 + + :param dms: A sequence of 2-d arrays (marginal design matrices). + :return: The 2-d array row-wise tensor product of given arguments. + + :raise ValueError: if argument sequence is empty, does not contain only + 2-d arrays or if the arrays number of rows does not match. + """ + if len(dms) == 0: + raise ValueError("Tensor product arrays sequence should not be empty.") + for dm in dms: + if dm.ndim != 2: + raise ValueError("Tensor product arguments should be 2-d arrays.") + + tp_nrows = dms[0].shape[0] + tp_ncols = 1 + for dm in dms: + if dm.shape[0] != tp_nrows: + raise ValueError( + "Tensor product arguments should have same number of rows." + ) + tp_ncols *= dm.shape[1] + tp = np.zeros((tp_nrows, tp_ncols)) + tp[:, -dms[-1].shape[1] :] = dms[-1] + filled_tp_ncols = dms[-1].shape[1] + for dm in dms[-2::-1]: + p = -filled_tp_ncols * dm.shape[1] + for j in range(dm.shape[1]): + xj = dm[:, j] + for t in range(-filled_tp_ncols, 0): + tp[:, p] = tp[:, t] * xj + p += 1 + filled_tp_ncols *= dm.shape[1] + + return tp + + +def test__row_tensor_product_errors(): + import pytest + + pytest.raises(ValueError, _row_tensor_product, []) + pytest.raises(ValueError, _row_tensor_product, [np.arange(1, 5)]) + pytest.raises(ValueError, _row_tensor_product, [np.arange(1, 5), np.arange(1, 5)]) + pytest.raises( + ValueError, + _row_tensor_product, + [np.arange(1, 13).reshape((3, 4)), np.arange(1, 13).reshape((4, 3))], + ) + + +def test__row_tensor_product(): + # Testing cases where main input array should not be modified + dm1 = np.arange(1, 17).reshape((4, 4)) + assert np.array_equal(_row_tensor_product([dm1]), dm1) + ones = np.ones(4).reshape((4, 1)) + tp1 = _row_tensor_product([ones, dm1]) + assert np.array_equal(tp1, dm1) + tp2 = _row_tensor_product([dm1, ones]) + assert np.array_equal(tp2, dm1) + + # Testing cases where main input array should be scaled + twos = 2 * ones + tp3 = _row_tensor_product([twos, dm1]) + assert np.array_equal(tp3, 2 * dm1) + tp4 = _row_tensor_product([dm1, twos]) + assert np.array_equal(tp4, 2 * dm1) + + # Testing main cases + dm2 = np.array([[1, 2], [1, 2]]) + dm3 = np.arange(1, 7).reshape((2, 3)) + expected_tp5 = np.array([[1, 2, 3, 2, 4, 6], [4, 5, 6, 8, 10, 12]]) + tp5 = _row_tensor_product([dm2, dm3]) + assert np.array_equal(tp5, expected_tp5) + expected_tp6 = np.array([[1, 2, 2, 4, 3, 6], [4, 8, 5, 10, 6, 12]]) + tp6 = _row_tensor_product([dm3, dm2]) + assert np.array_equal(tp6, expected_tp6) + + +# Common code + + +def _find_knots_lower_bounds(x, knots): + """Finds knots lower bounds for given values. + + Returns an array of indices ``I`` such that + ``0 <= I[i] <= knots.size - 2`` for all ``i`` + and + ``knots[I[i]] < x[i] <= knots[I[i] + 1]`` if + ``np.min(knots) < x[i] <= np.max(knots)``, + ``I[i] = 0`` if ``x[i] <= np.min(knots)`` + ``I[i] = knots.size - 2`` if ``np.max(knots) < x[i]`` + + :param x: The 1-d array values whose knots lower bounds are to be found. + :param knots: The 1-d array knots used for cubic spline parametrization, + must be sorted in ascending order. + :return: An array of knots lower bounds indices. + """ + lb = np.searchsorted(knots, x) - 1 + + # I[i] = 0 for x[i] <= np.min(knots) + lb[lb == -1] = 0 + + # I[i] = knots.size - 2 for x[i] > np.max(knots) + lb[lb == knots.size - 1] = knots.size - 2 + + return lb + + +def _compute_base_functions(x, knots): + """Computes base functions used for building cubic splines basis. + + .. note:: See 'Generalized Additive Models', Simon N. Wood, 2006, p. 146 + and for the special treatment of ``x`` values outside ``knots`` range + see 'mgcv' source code, file 'mgcv.c', function 'crspl()', l.249 + + :param x: The 1-d array values for which base functions should be computed. + :param knots: The 1-d array knots used for cubic spline parametrization, + must be sorted in ascending order. + :return: 4 arrays corresponding to the 4 base functions ajm, ajp, cjm, cjp + + the 1-d array of knots lower bounds indices corresponding to + the given ``x`` values. + """ + j = _find_knots_lower_bounds(x, knots) + + h = knots[1:] - knots[:-1] + hj = h[j] + xj1_x = knots[j + 1] - x + x_xj = x - knots[j] + + ajm = xj1_x / hj + ajp = x_xj / hj + + cjm_3 = xj1_x * xj1_x * xj1_x / (6.0 * hj) + cjm_3[x > np.max(knots)] = 0.0 + cjm_1 = hj * xj1_x / 6.0 + cjm = cjm_3 - cjm_1 + + cjp_3 = x_xj * x_xj * x_xj / (6.0 * hj) + cjp_3[x < np.min(knots)] = 0.0 + cjp_1 = hj * x_xj / 6.0 + cjp = cjp_3 - cjp_1 + + return ajm, ajp, cjm, cjp, j + + +def _absorb_constraints(design_matrix, constraints): + """Absorb model parameters constraints into the design matrix. + + :param design_matrix: The (2-d array) initial design matrix. + :param constraints: The 2-d array defining initial model parameters + (``betas``) constraints (``np.dot(constraints, betas) = 0``). + :return: The new design matrix with absorbed parameters constraints. + + :raise ImportError: if scipy is not found, used for ``scipy.linalg.qr()`` + which is cleaner than numpy's version requiring a call like + ``qr(..., mode='complete')`` to get a full QR decomposition. + """ + try: + from scipy import linalg + except ImportError: # pragma: no cover + raise ImportError("Cubic spline functionality requires scipy.") + + m = constraints.shape[0] + q, r = linalg.qr(np.transpose(constraints)) + + return np.dot(design_matrix, q[:, m:]) + + +def _get_free_crs_dmatrix(x, knots, cyclic=False): + """Builds an unconstrained cubic regression spline design matrix. + + Returns design matrix with dimensions ``len(x) x n`` + for a cubic regression spline smoother + where + - ``n = len(knots)`` for natural CRS + - ``n = len(knots) - 1`` for cyclic CRS + + .. note:: See 'Generalized Additive Models', Simon N. Wood, 2006, p. 145 + + :param x: The 1-d array values. + :param knots: The 1-d array knots used for cubic spline parametrization, + must be sorted in ascending order. + :param cyclic: Indicates whether used cubic regression splines should + be cyclic or not. Default is ``False``. + :return: The (2-d array) design matrix. + """ + n = knots.size + if cyclic: + x = _map_cyclic(x, min(knots), max(knots)) + n -= 1 + + ajm, ajp, cjm, cjp, j = _compute_base_functions(x, knots) + + j1 = j + 1 + if cyclic: + j1[j1 == n] = 0 + + i = np.identity(n) + + if cyclic: + f = _get_cyclic_f(knots) + else: + f = _get_natural_f(knots) + + dmt = ajm * i[j, :].T + ajp * i[j1, :].T + cjm * f[j, :].T + cjp * f[j1, :].T + + return dmt.T + + +def _get_crs_dmatrix(x, knots, constraints=None, cyclic=False): + """Builds a cubic regression spline design matrix. + + Returns design matrix with dimensions len(x) x n + where: + - ``n = len(knots) - nrows(constraints)`` for natural CRS + - ``n = len(knots) - nrows(constraints) - 1`` for cyclic CRS + for a cubic regression spline smoother + + :param x: The 1-d array values. + :param knots: The 1-d array knots used for cubic spline parametrization, + must be sorted in ascending order. + :param constraints: The 2-d array defining model parameters (``betas``) + constraints (``np.dot(constraints, betas) = 0``). + :param cyclic: Indicates whether used cubic regression splines should + be cyclic or not. Default is ``False``. + :return: The (2-d array) design matrix. + """ + dm = _get_free_crs_dmatrix(x, knots, cyclic) + if constraints is not None: + dm = _absorb_constraints(dm, constraints) + + return dm + + +def _get_te_dmatrix(design_matrices, constraints=None): + """Builds tensor product design matrix, given the marginal design matrices. + + :param design_matrices: A sequence of 2-d arrays (marginal design matrices). + :param constraints: The 2-d array defining model parameters (``betas``) + constraints (``np.dot(constraints, betas) = 0``). + :return: The (2-d array) design matrix. + """ + dm = _row_tensor_product(design_matrices) + if constraints is not None: + dm = _absorb_constraints(dm, constraints) + + return dm + + +# Stateful Transforms + + +def _get_all_sorted_knots( + x, n_inner_knots=None, inner_knots=None, lower_bound=None, upper_bound=None +): + """Gets all knots locations with lower and upper exterior knots included. + + If needed, inner knots are computed as equally spaced quantiles of the + input data falling between given lower and upper bounds. + + :param x: The 1-d array data values. + :param n_inner_knots: Number of inner knots to compute. + :param inner_knots: Provided inner knots if any. + :param lower_bound: The lower exterior knot location. If unspecified, the + minimum of ``x`` values is used. + :param upper_bound: The upper exterior knot location. If unspecified, the + maximum of ``x`` values is used. + :return: The array of ``n_inner_knots + 2`` distinct knots. + + :raise ValueError: for various invalid parameters sets or if unable to + compute ``n_inner_knots + 2`` distinct knots. + """ + if lower_bound is None and x.size == 0: + raise ValueError( + "Cannot set lower exterior knot location: empty " + "input data and lower_bound not specified." + ) + elif lower_bound is None and x.size != 0: + lower_bound = np.min(x) + + if upper_bound is None and x.size == 0: + raise ValueError( + "Cannot set upper exterior knot location: empty " + "input data and upper_bound not specified." + ) + elif upper_bound is None and x.size != 0: + upper_bound = np.max(x) + + if upper_bound < lower_bound: + raise ValueError( + "lower_bound > upper_bound (%r > %r)" % (lower_bound, upper_bound) + ) + + if inner_knots is None and n_inner_knots is not None: + if n_inner_knots < 0: + raise ValueError( + "Invalid requested number of inner knots: %r" % (n_inner_knots,) + ) + + x = x[(lower_bound <= x) & (x <= upper_bound)] + x = np.unique(x) + + if x.size != 0: + inner_knots_q = np.linspace(0, 100, n_inner_knots + 2)[1:-1] + # .tolist() is necessary to work around a bug in numpy 1.8 + inner_knots = np.asarray(np.percentile(x, inner_knots_q.tolist())) + elif n_inner_knots == 0: + inner_knots = np.array([]) + else: + raise ValueError( + "No data values between lower_bound(=%r) and " + "upper_bound(=%r): cannot compute requested " + "%r inner knot(s)." % (lower_bound, upper_bound, n_inner_knots) + ) + elif inner_knots is not None: + inner_knots = np.unique(inner_knots) + if n_inner_knots is not None and n_inner_knots != inner_knots.size: + raise ValueError( + "Needed number of inner knots=%r does not match " + "provided number of inner knots=%r." % (n_inner_knots, inner_knots.size) + ) + n_inner_knots = inner_knots.size + if np.any(inner_knots < lower_bound): + raise ValueError( + "Some knot values (%s) fall below lower bound " + "(%r)." % (inner_knots[inner_knots < lower_bound], lower_bound) + ) + if np.any(inner_knots > upper_bound): + raise ValueError( + "Some knot values (%s) fall above upper bound " + "(%r)." % (inner_knots[inner_knots > upper_bound], upper_bound) + ) + else: + raise ValueError("Must specify either 'n_inner_knots' or 'inner_knots'.") + + all_knots = np.concatenate(([lower_bound, upper_bound], inner_knots)) + all_knots = np.unique(all_knots) + if all_knots.size != n_inner_knots + 2: + raise ValueError( + "Unable to compute n_inner_knots(=%r) + 2 distinct " + "knots: %r data value(s) found between " + "lower_bound(=%r) and upper_bound(=%r)." + % (n_inner_knots, x.size, lower_bound, upper_bound) + ) + + return all_knots + + +def test__get_all_sorted_knots(): + import pytest + + pytest.raises(ValueError, _get_all_sorted_knots, np.array([]), -1) + pytest.raises(ValueError, _get_all_sorted_knots, np.array([]), 0) + pytest.raises(ValueError, _get_all_sorted_knots, np.array([]), 0, lower_bound=1) + pytest.raises(ValueError, _get_all_sorted_knots, np.array([]), 0, upper_bound=5) + pytest.raises( + ValueError, _get_all_sorted_knots, np.array([]), 0, lower_bound=3, upper_bound=1 + ) + assert np.array_equal( + _get_all_sorted_knots(np.array([]), 0, lower_bound=1, upper_bound=5), [1, 5] + ) + pytest.raises( + ValueError, _get_all_sorted_knots, np.array([]), 0, lower_bound=1, upper_bound=1 + ) + x = np.arange(6) * 2 + pytest.raises(ValueError, _get_all_sorted_knots, x, -2) + assert np.array_equal(_get_all_sorted_knots(x, 0), [0, 10]) + assert np.array_equal( + _get_all_sorted_knots(x, 0, lower_bound=3, upper_bound=8), [3, 8] + ) + assert np.array_equal( + _get_all_sorted_knots(x, 2, lower_bound=1, upper_bound=9), [1, 4, 6, 9] + ) + pytest.raises(ValueError, _get_all_sorted_knots, x, 2, lower_bound=1, upper_bound=3) + pytest.raises( + ValueError, _get_all_sorted_knots, x, 1, lower_bound=1.3, upper_bound=1.4 + ) + assert np.array_equal( + _get_all_sorted_knots(x, 1, lower_bound=1, upper_bound=3), [1, 2, 3] + ) + pytest.raises(ValueError, _get_all_sorted_knots, x, 1, lower_bound=2, upper_bound=3) + pytest.raises(ValueError, _get_all_sorted_knots, x, 1, inner_knots=[2, 3]) + pytest.raises(ValueError, _get_all_sorted_knots, x, lower_bound=2, upper_bound=3) + assert np.array_equal(_get_all_sorted_knots(x, inner_knots=[3, 7]), [0, 3, 7, 10]) + assert np.array_equal( + _get_all_sorted_knots(x, inner_knots=[3, 7], lower_bound=2), [2, 3, 7, 10] + ) + pytest.raises( + ValueError, _get_all_sorted_knots, x, inner_knots=[3, 7], lower_bound=4 + ) + pytest.raises( + ValueError, _get_all_sorted_knots, x, inner_knots=[3, 7], upper_bound=6 + ) + + +def _get_centering_constraint_from_dmatrix(design_matrix): + """Computes the centering constraint from the given design matrix. + + We want to ensure that if ``b`` is the array of parameters, our + model is centered, ie ``np.mean(np.dot(design_matrix, b))`` is zero. + We can rewrite this as ``np.dot(c, b)`` being zero with ``c`` a 1-row + constraint matrix containing the mean of each column of ``design_matrix``. + + :param design_matrix: The 2-d array design matrix. + :return: A 2-d array (1 x ncols(design_matrix)) defining the + centering constraint. + """ + return design_matrix.mean(axis=0).reshape((1, design_matrix.shape[1])) + + +class CubicRegressionSpline(object): + """Base class for cubic regression spline stateful transforms + + This class contains all the functionality for the following stateful + transforms: + - ``cr(x, df=None, knots=None, lower_bound=None, upper_bound=None, constraints=None)`` + for natural cubic regression spline + - ``cc(x, df=None, knots=None, lower_bound=None, upper_bound=None, constraints=None)`` + for cyclic cubic regression spline + """ + + common_doc = """ + :arg df: The number of degrees of freedom to use for this spline. The + return value will have this many columns. You must specify at least one + of ``df`` and ``knots``. + :arg knots: The interior knots to use for the spline. If unspecified, then + equally spaced quantiles of the input data are used. You must specify at + least one of ``df`` and ``knots``. + :arg lower_bound: The lower exterior knot location. + :arg upper_bound: The upper exterior knot location. + :arg constraints: Either a 2-d array defining general linear constraints + (that is ``np.dot(constraints, betas)`` is zero, where ``betas`` denotes + the array of *initial* parameters, corresponding to the *initial* + unconstrained design matrix), or the string + ``'center'`` indicating that we should apply a centering constraint + (this constraint will be computed from the input data, remembered and + re-used for prediction from the fitted model). + The constraints are absorbed in the resulting design matrix which means + that the model is actually rewritten in terms of + *unconstrained* parameters. For more details see :ref:`spline-regression`. + + This is a stateful transforms (for details see + :ref:`stateful-transforms`). If ``knots``, ``lower_bound``, or + ``upper_bound`` are not specified, they will be calculated from the data + and then the chosen values will be remembered and re-used for prediction + from the fitted model. + + Using this function requires scipy be installed. + + .. versionadded:: 0.3.0 + """ + + def __init__(self, name, cyclic): + self._name = name + self._cyclic = cyclic + self._tmp = {} + self._all_knots = None + self._constraints = None + + def memorize_chunk( + self, + x, + df=None, + knots=None, + lower_bound=None, + upper_bound=None, + constraints=None, + ): + args = { + "df": df, + "knots": knots, + "lower_bound": lower_bound, + "upper_bound": upper_bound, + "constraints": constraints, + } + self._tmp["args"] = args + + x = np.atleast_1d(x) + if x.ndim == 2 and x.shape[1] == 1: + x = x[:, 0] + if x.ndim > 1: + raise ValueError( + "Input to %r must be 1-d, or a 2-d column vector." % (self._name,) + ) + + self._tmp.setdefault("xs", []).append(x) + + def memorize_finish(self): + args = self._tmp["args"] + xs = self._tmp["xs"] + # Guards against invalid subsequent memorize_chunk() calls. + del self._tmp + + x = np.concatenate(xs) + if args["df"] is None and args["knots"] is None: + raise ValueError("Must specify either 'df' or 'knots'.") + + constraints = args["constraints"] + n_constraints = 0 + if constraints is not None: + if safe_string_eq(constraints, "center"): + # Here we collect only number of constraints, + # actual centering constraint will be computed after all_knots + n_constraints = 1 + else: + constraints = np.atleast_2d(constraints) + if constraints.ndim != 2: + raise ValueError("Constraints must be 2-d array or 1-d vector.") + n_constraints = constraints.shape[0] + + n_inner_knots = None + if args["df"] is not None: + min_df = 1 + if not self._cyclic and n_constraints == 0: + min_df = 2 + if args["df"] < min_df: + raise ValueError( + "'df'=%r must be greater than or equal to %r." + % (args["df"], min_df) + ) + n_inner_knots = args["df"] - 2 + n_constraints + if self._cyclic: + n_inner_knots += 1 + self._all_knots = _get_all_sorted_knots( + x, + n_inner_knots=n_inner_knots, + inner_knots=args["knots"], + lower_bound=args["lower_bound"], + upper_bound=args["upper_bound"], + ) + if constraints is not None: + if safe_string_eq(constraints, "center"): + # Now we can compute centering constraints + constraints = _get_centering_constraint_from_dmatrix( + _get_free_crs_dmatrix(x, self._all_knots, cyclic=self._cyclic) + ) + + df_before_constraints = self._all_knots.size + if self._cyclic: + df_before_constraints -= 1 + if constraints.shape[1] != df_before_constraints: + raise ValueError( + "Constraints array should have %r columns but" + " %r found." % (df_before_constraints, constraints.shape[1]) + ) + self._constraints = constraints + + def transform( + self, + x, + df=None, + knots=None, + lower_bound=None, + upper_bound=None, + constraints=None, + ): + x_orig = x + x = np.atleast_1d(x) + if x.ndim == 2 and x.shape[1] == 1: + x = x[:, 0] + if x.ndim > 1: + raise ValueError( + "Input to %r must be 1-d, or a 2-d column vector." % (self._name,) + ) + dm = _get_crs_dmatrix( + x, self._all_knots, self._constraints, cyclic=self._cyclic + ) + if have_pandas: + if isinstance(x_orig, (pandas.Series, pandas.DataFrame)): + dm = pandas.DataFrame(dm) + dm.index = x_orig.index + return dm + + __getstate__ = no_pickling + + +class CR(CubicRegressionSpline): + """cr(x, df=None, knots=None, lower_bound=None, upper_bound=None, constraints=None) + + Generates a natural cubic spline basis for ``x`` + (with the option of absorbing centering or more general parameters + constraints), allowing non-linear fits. The usual usage is something like:: + + y ~ 1 + cr(x, df=5, constraints='center') + + to fit ``y`` as a smooth function of ``x``, with 5 degrees of freedom + given to the smooth, and centering constraint absorbed in + the resulting design matrix. Note that in this example, due to the centering + constraint, 6 knots will get computed from the input data ``x`` + to achieve 5 degrees of freedom. + + + .. note:: This function reproduce the cubic regression splines 'cr' and 'cs' + as implemented in the R package 'mgcv' (GAM modelling). + + """ + + # Under python -OO, __doc__ will be defined but set to None + if __doc__: + __doc__ += CubicRegressionSpline.common_doc + + def __init__(self): + CubicRegressionSpline.__init__(self, name="cr", cyclic=False) + + +cr = stateful_transform(CR) + + +class CC(CubicRegressionSpline): + """cc(x, df=None, knots=None, lower_bound=None, upper_bound=None, constraints=None) + + Generates a cyclic cubic spline basis for ``x`` + (with the option of absorbing centering or more general parameters + constraints), allowing non-linear fits. The usual usage is something like:: + + y ~ 1 + cc(x, df=7, constraints='center') + + to fit ``y`` as a smooth function of ``x``, with 7 degrees of freedom + given to the smooth, and centering constraint absorbed in + the resulting design matrix. Note that in this example, due to the centering + and cyclic constraints, 9 knots will get computed from the input data ``x`` + to achieve 7 degrees of freedom. + + .. note:: This function reproduce the cubic regression splines 'cc' + as implemented in the R package 'mgcv' (GAM modelling). + + """ + + # Under python -OO, __doc__ will be defined but set to None + if __doc__: + __doc__ += CubicRegressionSpline.common_doc + + def __init__(self): + CubicRegressionSpline.__init__(self, name="cc", cyclic=True) + + +cc = stateful_transform(CC) + + +def test_crs_errors(): + import pytest + + # Invalid 'x' shape + pytest.raises(ValueError, cr, np.arange(16).reshape((4, 4)), df=4) + pytest.raises(ValueError, CR().transform, np.arange(16).reshape((4, 4)), df=4) + # Should provide at least 'df' or 'knots' + pytest.raises(ValueError, cr, np.arange(50)) + # Invalid constraints shape + pytest.raises( + ValueError, + cr, + np.arange(50), + df=4, + constraints=np.arange(27).reshape((3, 3, 3)), + ) + # Invalid nb of columns in constraints + # (should have df + 1 = 5, but 6 provided) + pytest.raises(ValueError, cr, np.arange(50), df=4, constraints=np.arange(6)) + # Too small 'df' for natural cubic spline + pytest.raises(ValueError, cr, np.arange(50), df=1) + # Too small 'df' for cyclic cubic spline + pytest.raises(ValueError, cc, np.arange(50), df=0) + + +def test_crs_compat(): + from patsy.test_state import check_stateful + from patsy.test_splines_crs_data import ( + R_crs_test_x, + R_crs_test_data, + R_crs_num_tests, + ) + + lines = R_crs_test_data.split("\n") + tests_ran = 0 + start_idx = lines.index("--BEGIN TEST CASE--") + while True: + if not lines[start_idx] == "--BEGIN TEST CASE--": + break + start_idx += 1 + stop_idx = lines.index("--END TEST CASE--", start_idx) + block = lines[start_idx:stop_idx] + test_data = {} + for line in block: + key, value = line.split("=", 1) + test_data[key] = value + # Translate the R output into Python calling conventions + adjust_df = 0 + if test_data["spline_type"] == "cr" or test_data["spline_type"] == "cs": + spline_type = CR + elif test_data["spline_type"] == "cc": + spline_type = CC + adjust_df += 1 + else: + raise ValueError( + "Unrecognized spline type %r" % (test_data["spline_type"],) + ) + kwargs = {} + if test_data["absorb_cons"] == "TRUE": + kwargs["constraints"] = "center" + adjust_df += 1 + if test_data["knots"] != "None": + all_knots = np.asarray(eval(test_data["knots"])) + all_knots.sort() + kwargs["knots"] = all_knots[1:-1] + kwargs["lower_bound"] = all_knots[0] + kwargs["upper_bound"] = all_knots[-1] + else: + kwargs["df"] = eval(test_data["nb_knots"]) - adjust_df + output = np.asarray(eval(test_data["output"])) + # Do the actual test + check_stateful(spline_type, False, R_crs_test_x, output, **kwargs) + tests_ran += 1 + # Set up for the next one + start_idx = stop_idx + 1 + assert tests_ran == R_crs_num_tests + + +test_crs_compat.slow = True + + +def test_crs_with_specific_constraint(): + from patsy.highlevel import incr_dbuilder, build_design_matrices, dmatrix + + x = (-1.5) ** np.arange(20) + # Hard coded R values for smooth: s(x, bs="cr", k=5) + # R> knots <- smooth$xp + knots_R = np.array( + [ + -2216.837820053100585937, + -50.456909179687500000, + -0.250000000000000000, + 33.637939453125000000, + 1477.891880035400390625, + ] + ) + # R> centering.constraint <- t(qr.X(attr(smooth, "qrc"))) + centering_constraint_R = np.array( + [ + [ + 0.064910676323168478574, + 1.4519875239407085132, + -2.1947446912471946234, + 1.6129783104357671153, + 0.064868180547550072235, + ] + ] + ) + # values for which we want a prediction + new_x = np.array([-3000.0, -200.0, 300.0, 2000.0]) + result1 = dmatrix( + "cr(new_x, knots=knots_R[1:-1], " + "lower_bound=knots_R[0], upper_bound=knots_R[-1], " + "constraints=centering_constraint_R)" + ) + + data_chunked = [{"x": x[:10]}, {"x": x[10:]}] + new_data = {"x": new_x} + builder = incr_dbuilder( + "cr(x, df=4, constraints='center')", lambda: iter(data_chunked) + ) + result2 = build_design_matrices([builder], new_data)[0] + + assert np.allclose(result1, result2, rtol=1e-12, atol=0.0) + + +class TE(object): + """te(s1, .., sn, constraints=None) + + Generates smooth of several covariates as a tensor product of the bases + of marginal univariate smooths ``s1, .., sn``. The marginal smooths are + required to transform input univariate data into some kind of smooth + functions basis producing a 2-d array output with the ``(i, j)`` element + corresponding to the value of the ``j`` th basis function at the ``i`` th + data point. + The resulting basis dimension is the product of the basis dimensions of + the marginal smooths. The usual usage is something like:: + + y ~ 1 + te(cr(x1, df=5), cc(x2, df=6), constraints='center') + + to fit ``y`` as a smooth function of both ``x1`` and ``x2``, with a natural + cubic spline for ``x1`` marginal smooth and a cyclic cubic spline for + ``x2`` (and centering constraint absorbed in the resulting design matrix). + + :arg constraints: Either a 2-d array defining general linear constraints + (that is ``np.dot(constraints, betas)`` is zero, where ``betas`` denotes + the array of *initial* parameters, corresponding to the *initial* + unconstrained design matrix), or the string + ``'center'`` indicating that we should apply a centering constraint + (this constraint will be computed from the input data, remembered and + re-used for prediction from the fitted model). + The constraints are absorbed in the resulting design matrix which means + that the model is actually rewritten in terms of + *unconstrained* parameters. For more details see :ref:`spline-regression`. + + Using this function requires scipy be installed. + + .. note:: This function reproduce the tensor product smooth 'te' as + implemented in the R package 'mgcv' (GAM modelling). + See also 'Generalized Additive Models', Simon N. Wood, 2006, pp 158-163 + + .. versionadded:: 0.3.0 + """ + + def __init__(self): + self._tmp = {} + self._constraints = None + + def memorize_chunk(self, *args, **kwargs): + constraints = self._tmp.setdefault("constraints", kwargs.get("constraints")) + if safe_string_eq(constraints, "center"): + args_2d = [] + for arg in args: + arg = atleast_2d_column_default(arg) + if arg.ndim != 2: + raise ValueError( + "Each tensor product argument must be " + "a 2-d array or 1-d vector." + ) + args_2d.append(arg) + + tp = _row_tensor_product(args_2d) + self._tmp.setdefault("count", 0) + self._tmp["count"] += tp.shape[0] + + chunk_sum = np.atleast_2d(tp.sum(axis=0)) + self._tmp.setdefault("sum", np.zeros(chunk_sum.shape)) + self._tmp["sum"] += chunk_sum + + def memorize_finish(self): + tmp = self._tmp + constraints = self._tmp["constraints"] + # Guards against invalid subsequent memorize_chunk() calls. + del self._tmp + + if constraints is not None: + if safe_string_eq(constraints, "center"): + constraints = np.atleast_2d(tmp["sum"] / tmp["count"]) + else: + constraints = np.atleast_2d(constraints) + if constraints.ndim != 2: + raise ValueError("Constraints must be 2-d array or 1-d vector.") + + self._constraints = constraints + + def transform(self, *args, **kwargs): + args_2d = [] + for arg in args: + arg = atleast_2d_column_default(arg) + if arg.ndim != 2: + raise ValueError( + "Each tensor product argument must be a 2-d array or 1-d vector." + ) + args_2d.append(arg) + + return _get_te_dmatrix(args_2d, self._constraints) + + __getstate__ = no_pickling + + +te = stateful_transform(TE) + + +def test_te_errors(): + import pytest + + x = np.arange(27) + # Invalid input shape + pytest.raises(ValueError, te, x.reshape((3, 3, 3))) + pytest.raises(ValueError, te, x.reshape((3, 3, 3)), constraints="center") + # Invalid constraints shape + pytest.raises(ValueError, te, x, constraints=np.arange(8).reshape((2, 2, 2))) + + +def test_te_1smooth(): + from patsy.splines import bs + + # Tensor product of 1 smooth covariate should be the same + # as the smooth alone + x = (-1.5) ** np.arange(20) + assert np.allclose(cr(x, df=6), te(cr(x, df=6))) + assert np.allclose(cc(x, df=5), te(cc(x, df=5))) + assert np.allclose(bs(x, df=4), te(bs(x, df=4))) + # Adding centering constraint to tensor product + assert np.allclose( + cr(x, df=3, constraints="center"), te(cr(x, df=4), constraints="center") + ) + # Adding specific constraint + center_constraint = np.arange(1, 5) + assert np.allclose( + cr(x, df=3, constraints=center_constraint), + te(cr(x, df=4), constraints=center_constraint), + ) + + +def test_te_2smooths(): + from patsy.highlevel import incr_dbuilder, build_design_matrices + + x1 = (-1.5) ** np.arange(20) + x2 = (1.6) ** np.arange(20) + # Hard coded R results for smooth: te(x1, x2, bs=c("cs", "cc"), k=c(5,7)) + # Without centering constraint: + dmatrix_R_nocons = np.array( + [ + [ + -4.4303024184609255207e-06, + 7.9884438387230142235e-06, + 9.7987758194797719025e-06, + -7.2894213245475212959e-08, + 1.5907686862964493897e-09, + -3.2565884983072595159e-11, + 0.0170749607855874667439, + -3.0788499835965849050e-02, + -3.7765754357352458725e-02, + 2.8094376299826799787e-04, + -6.1310290747349201414e-06, + 1.2551314933193442915e-07, + -0.26012671685838206770, + 4.6904420337437874311e-01, + 0.5753384627946153129230, + -4.2800085814700449330e-03, + 9.3402525733484874533e-05, + -1.9121170389937518131e-06, + -0.0904312240489447832781, + 1.6305991924427923334e-01, + 2.0001237112941641638e-01, + -1.4879148887003382663e-03, + 3.2470731316462736135e-05, + -6.6473404365914134499e-07, + 2.0447857920168824846e-05, + -3.6870296695050991799e-05, + -4.5225801045409022233e-05, + 3.3643990293641665710e-07, + -7.3421200200015877329e-09, + 1.5030635073660743297e-10, + ], + [ + -9.4006130602653794302e-04, + 7.8681398069163730347e-04, + 2.4573006857381437217e-04, + -1.4524712230452725106e-04, + 7.8216741353106329551e-05, + -3.1304283003914264551e-04, + 3.6231183382798337611064, + -3.0324832476174168328e00, + -9.4707559178211142559e-01, + 5.5980126937492580286e-01, + -3.0145747744342332730e-01, + 1.2065077148806895302e00, + -35.17561267504181188315, + 2.9441339255948005160e01, + 9.1948319320782125885216, + -5.4349184288245195873e00, + 2.9267472035096449012e00, + -1.1713569391233907169e01, + 34.0275626863976370373166, + -2.8480442582712722555e01, + -8.8947340548151565542e00, + 5.2575353623762932642e00, + -2.8312249982592527786e00, + 1.1331265795534763541e01, + 7.9462158845078978420e-01, + -6.6508361863670617531e-01, + -2.0771242914526857892e-01, + 1.2277550230353953542e-01, + -6.6115593588420035198e-02, + 2.6461103043402139923e-01, + ], + ] + ) + # With centering constraint: + dmatrix_R_cons = np.array( + [ + [ + 0.00329998606323867252343, + 1.6537431155796576600e-04, + -1.2392262709790753433e-04, + 6.5405304166706783407e-05, + -6.6764045799537624095e-05, + -0.1386431081763726258504, + 0.124297283800864313830, + -3.5487293655619825405e-02, + -3.0527115315785902268e-03, + 5.2009247643311604277e-04, + -0.00384203992301702674378, + -0.058901915802819435064, + 0.266422358491648914036, + 0.5739281693874087597607, + -1.3171008503525844392e-03, + 8.2573456631878912413e-04, + 6.6730833453016958831e-03, + -0.1467677784718444955470, + 0.220757650934837484913, + 0.1983127687880171796664, + -1.6269930328365173316e-03, + -1.7785892412241208812e-03, + -3.2702835436351201243e-03, + -4.3252183044300757109e-02, + 4.3403766976235179376e-02, + 3.5973406402893762387e-05, + -5.4035858568225075046e-04, + 2.9565209382794241247e-04, + -2.2769990750264097637e-04, + ], + [ + 0.41547954838956052681098, + 1.9843570584107707994e-02, + -1.5746590234791378593e-02, + 8.3171184312221431434e-03, + -8.7233014052017516377e-03, + -15.9926770785086258541696, + 16.503663226274017716833, + -6.6005803955894726265e-01, + 1.3986092022708346283e-01, + -2.3516913533670955050e-01, + 0.72251037497207359905360, + -9.827337059999853963177, + 3.917078117294827688255, + 9.0171773596973618936090, + -5.0616811270787671617e00, + 3.0189990249009683865e00, + -1.0872720629943064097e01, + 26.9308504460453121964747, + -21.212262927009287949431, + -9.1088328555582247503253, + 5.2400156972500298025e00, + -3.0593641098325474736e00, + 1.0919392118399086300e01, + -4.6564290223265718538e00, + 4.8071307441606982991e00, + -1.9748377005689798924e-01, + 5.4664183716965096538e-02, + -2.8871392916916285148e-02, + 2.3592766838010845176e-01, + ], + ] + ) + new_x1 = np.array([11.390625, 656.84083557128906250]) + new_x2 = np.array([16.777216000000006346, 1844.6744073709567147]) + new_data = {"x1": new_x1, "x2": new_x2} + data_chunked = [{"x1": x1[:10], "x2": x2[:10]}, {"x1": x1[10:], "x2": x2[10:]}] + + builder = incr_dbuilder( + "te(cr(x1, df=5), cc(x2, df=6)) - 1", lambda: iter(data_chunked) + ) + dmatrix_nocons = build_design_matrices([builder], new_data)[0] + assert np.allclose(dmatrix_nocons, dmatrix_R_nocons, rtol=1e-12, atol=0.0) + + builder = incr_dbuilder( + "te(cr(x1, df=5), cc(x2, df=6), constraints='center') - 1", + lambda: iter(data_chunked), + ) + dmatrix_cons = build_design_matrices([builder], new_data)[0] + assert np.allclose(dmatrix_cons, dmatrix_R_cons, rtol=1e-12, atol=0.0) + + +def test_te_3smooths(): + from patsy.highlevel import incr_dbuilder, build_design_matrices + + x1 = (-1.5) ** np.arange(20) + x2 = (1.6) ** np.arange(20) + x3 = (-1.2) ** np.arange(20) + # Hard coded R results for smooth: te(x1, x2, x3, bs=c("cr", "cs", "cc"), k=c(3,3,4)) + design_matrix_R = np.array( + [ + [ + 7.2077663709837084334e-05, + 2.0648333344343273131e-03, + -4.7934014082310591768e-04, + 2.3923430783992746568e-04, + 6.8534265421922660466e-03, + -1.5909867344112936776e-03, + -6.8057712777151204314e-09, + -1.9496724335203412851e-07, + 4.5260614658693259131e-08, + 0.0101479754187435277507, + 0.290712501531622591333, + -0.067487370093906928759, + 0.03368233306025386619709, + 0.9649092451763204847381, + -0.2239985793289433757547, + -9.5819975394704535133e-07, + -2.7449874082511405643e-05, + 6.3723431275833230217e-06, + -1.5205851762850489204e-04, + -0.00435607204539782688624, + 0.00101123909269346416370, + -5.0470024059694933508e-04, + -1.4458319360584082416e-02, + 3.3564223914790921634e-03, + 1.4357783514933466209e-08, + 4.1131230514870551983e-07, + -9.5483976834512651038e-08, + ] + ] + ) + new_data = { + "x1": -38.443359375000000000, + "x2": 68.719476736000032702, + "x3": -5.1597803519999985156, + } + data_chunked = [ + {"x1": x1[:10], "x2": x2[:10], "x3": x3[:10]}, + {"x1": x1[10:], "x2": x2[10:], "x3": x3[10:]}, + ] + builder = incr_dbuilder( + "te(cr(x1, df=3), cr(x2, df=3), cc(x3, df=3)) - 1", lambda: iter(data_chunked) + ) + design_matrix = build_design_matrices([builder], new_data)[0] + assert np.allclose(design_matrix, design_matrix_R, rtol=1e-12, atol=0.0) diff --git a/shared/package-files/24/24f5bba689edff87392f1460bb7cf61f8d2e0a3a61028c4fa24bba4314538f7a/__init__.py b/shared/package-files/24/24f5bba689edff87392f1460bb7cf61f8d2e0a3a61028c4fa24bba4314538f7a/__init__.py new file mode 100644 index 0000000000000000000000000000000000000000..5df5c47b7f0f3034d78cb98a95397348d68cdee8 --- /dev/null +++ b/shared/package-files/24/24f5bba689edff87392f1460bb7cf61f8d2e0a3a61028c4fa24bba4314538f7a/__init__.py @@ -0,0 +1,2 @@ +# from anova_nistcertified import anova_oneway, anova_ols +# from predstd import wls_prediction_std diff --git a/shared/package-files/24/24f6c49e7730532865000bfa82b37ccac416f70f4ced94889ff34fa29a94ef3e/label_inputs.txt b/shared/package-files/24/24f6c49e7730532865000bfa82b37ccac416f70f4ced94889ff34fa29a94ef3e/label_inputs.txt new file mode 100644 index 0000000000000000000000000000000000000000..6c3cff3b12cec4ad050b31cc5d5c327f32784447 --- /dev/null +++ b/shared/package-files/24/24f6c49e7730532865000bfa82b37ccac416f70f4ced94889ff34fa29a94ef3e/label_inputs.txt @@ -0,0 +1,21 @@ +1 1 1 1 1 1 1 +1 1 1 1 1 1 1 +1 1 1 1 1 1 1 +1 1 1 1 1 1 1 +1 1 1 1 1 1 1 +1 1 1 1 1 1 1 +1 1 1 1 1 1 1 +1 1 1 0 1 1 1 +1 1 0 0 0 1 1 +1 0 1 0 1 0 1 +0 0 0 1 0 0 0 +1 0 1 0 1 0 1 +1 1 0 0 0 1 1 +1 1 1 0 1 1 1 +1 0 1 1 1 0 1 +0 0 0 1 0 0 0 +1 0 0 1 0 0 1 +1 1 1 1 1 1 1 +1 0 0 1 0 0 1 +0 0 0 1 0 0 0 +1 0 1 1 1 0 1 diff --git a/shared/package-files/24/24f7037132485a1e69ac8c63c790ccd5a35682a954a05d8aa47bc080adee1e2e/test_convert.py b/shared/package-files/24/24f7037132485a1e69ac8c63c790ccd5a35682a954a05d8aa47bc080adee1e2e/test_convert.py new file mode 100644 index 0000000000000000000000000000000000000000..cb1db5b55c89e980e08fc3fa43cc9715ad68cac9 --- /dev/null +++ b/shared/package-files/24/24f7037132485a1e69ac8c63c790ccd5a35682a954a05d8aa47bc080adee1e2e/test_convert.py @@ -0,0 +1,233 @@ +import random +from mpmath import * +from mpmath.libmp import * + + +def test_basic_string(): + """ + Test basic string conversion + """ + mp.dps = 15 + assert mpf('3') == mpf('3.0') == mpf('0003.') == mpf('0.03e2') == mpf(3.0) + assert mpf('30') == mpf('30.0') == mpf('00030.') == mpf(30.0) + for i in range(10): + for j in range(10): + assert mpf('%ie%i' % (i,j)) == i * 10**j + assert str(mpf('25000.0')) == '25000.0' + assert str(mpf('2500.0')) == '2500.0' + assert str(mpf('250.0')) == '250.0' + assert str(mpf('25.0')) == '25.0' + assert str(mpf('2.5')) == '2.5' + assert str(mpf('0.25')) == '0.25' + assert str(mpf('0.025')) == '0.025' + assert str(mpf('0.0025')) == '0.0025' + assert str(mpf('0.00025')) == '0.00025' + assert str(mpf('0.000025')) == '2.5e-5' + assert str(mpf(0)) == '0.0' + assert str(mpf('2.5e1000000000000000000000')) == '2.5e+1000000000000000000000' + assert str(mpf('2.6e-1000000000000000000000')) == '2.6e-1000000000000000000000' + assert str(mpf(1.23402834e-15)) == '1.23402834e-15' + assert str(mpf(-1.23402834e-15)) == '-1.23402834e-15' + assert str(mpf(-1.2344e-15)) == '-1.2344e-15' + assert repr(mpf(-1.2344e-15)) == "mpf('-1.2343999999999999e-15')" + assert str(mpf("2163048125L")) == '2163048125.0' + assert str(mpf("-2163048125l")) == '-2163048125.0' + assert str(mpf("-2163048125L/1088391168")) == '-1.98738118113799' + assert str(mpf("2163048125/1088391168l")) == '1.98738118113799' + +def test_pretty(): + mp.pretty = True + assert repr(mpf(2.5)) == '2.5' + assert repr(mpc(2.5,3.5)) == '(2.5 + 3.5j)' + mp.pretty = False + iv.pretty = True + assert repr(mpi(2.5,3.5)) == '[2.5, 3.5]' + iv.pretty = False + +def test_str_whitespace(): + assert mpf('1.26 ') == 1.26 + +def test_unicode(): + mp.dps = 15 + try: + unicode = unicode + except NameError: + unicode = str + assert mpf(unicode('2.76')) == 2.76 + assert mpf(unicode('inf')) == inf + +def test_str_format(): + assert to_str(from_float(0.1),15,strip_zeros=False) == '0.100000000000000' + assert to_str(from_float(0.0),15,show_zero_exponent=True) == '0.0e+0' + assert to_str(from_float(0.0),0,show_zero_exponent=True) == '.0e+0' + assert to_str(from_float(0.0),0,show_zero_exponent=False) == '.0' + assert to_str(from_float(0.0),1,show_zero_exponent=True) == '0.0e+0' + assert to_str(from_float(0.0),1,show_zero_exponent=False) == '0.0' + assert to_str(from_float(1.23),3,show_zero_exponent=True) == '1.23e+0' + assert to_str(from_float(1.23456789000000e-2),15,strip_zeros=False,min_fixed=0,max_fixed=0) == '1.23456789000000e-2' + assert to_str(from_float(1.23456789000000e+2),15,strip_zeros=False,min_fixed=0,max_fixed=0) == '1.23456789000000e+2' + assert to_str(from_float(2.1287e14), 15, max_fixed=1000) == '212870000000000.0' + assert to_str(from_float(2.1287e15), 15, max_fixed=1000) == '2128700000000000.0' + assert to_str(from_float(2.1287e16), 15, max_fixed=1000) == '21287000000000000.0' + assert to_str(from_float(2.1287e30), 15, max_fixed=1000) == '2128700000000000000000000000000.0' + +def test_tight_string_conversion(): + mp.dps = 15 + # In an old version, '0.5' wasn't recognized as representing + # an exact binary number and was erroneously rounded up or down + assert from_str('0.5', 10, round_floor) == fhalf + assert from_str('0.5', 10, round_ceiling) == fhalf + +def test_eval_repr_invariant(): + """Test that eval(repr(x)) == x""" + random.seed(123) + for dps in [10, 15, 20, 50, 100]: + mp.dps = dps + for i in range(1000): + a = mpf(random.random())**0.5 * 10**random.randint(-100, 100) + assert eval(repr(a)) == a + mp.dps = 15 + +def test_str_bugs(): + mp.dps = 15 + # Decimal rounding used to give the wrong exponent in some cases + assert str(mpf('1e600')) == '1.0e+600' + assert str(mpf('1e10000')) == '1.0e+10000' + +def test_str_prec0(): + assert to_str(from_float(1.234), 0) == '.0e+0' + assert to_str(from_float(1e-15), 0) == '.0e-15' + assert to_str(from_float(1e+15), 0) == '.0e+15' + assert to_str(from_float(-1e-15), 0) == '-.0e-15' + assert to_str(from_float(-1e+15), 0) == '-.0e+15' + +def test_convert_rational(): + mp.dps = 15 + assert from_rational(30, 5, 53, round_nearest) == (0, 3, 1, 2) + assert from_rational(-7, 4, 53, round_nearest) == (1, 7, -2, 3) + assert to_rational((0, 1, -1, 1)) == (1, 2) + +def test_custom_class(): + class mympf: + @property + def _mpf_(self): + return mpf(3.5)._mpf_ + class mympc: + @property + def _mpc_(self): + return mpf(3.5)._mpf_, mpf(2.5)._mpf_ + assert mpf(2) + mympf() == 5.5 + assert mympf() + mpf(2) == 5.5 + assert mpf(mympf()) == 3.5 + assert mympc() + mpc(2) == mpc(5.5, 2.5) + assert mpc(2) + mympc() == mpc(5.5, 2.5) + assert mpc(mympc()) == (3.5+2.5j) + +def test_conversion_methods(): + class SomethingRandom: + pass + class SomethingReal: + def _mpmath_(self, prec, rounding): + return mp.make_mpf(from_str('1.3', prec, rounding)) + class SomethingComplex: + def _mpmath_(self, prec, rounding): + return mp.make_mpc((from_str('1.3', prec, rounding), \ + from_str('1.7', prec, rounding))) + x = mpf(3) + z = mpc(3) + a = SomethingRandom() + y = SomethingReal() + w = SomethingComplex() + for d in [15, 45]: + mp.dps = d + assert (x+y).ae(mpf('4.3')) + assert (y+x).ae(mpf('4.3')) + assert (x+w).ae(mpc('4.3', '1.7')) + assert (w+x).ae(mpc('4.3', '1.7')) + assert (z+y).ae(mpc('4.3')) + assert (y+z).ae(mpc('4.3')) + assert (z+w).ae(mpc('4.3', '1.7')) + assert (w+z).ae(mpc('4.3', '1.7')) + x-y; y-x; x-w; w-x; z-y; y-z; z-w; w-z + x*y; y*x; x*w; w*x; z*y; y*z; z*w; w*z + x/y; y/x; x/w; w/x; z/y; y/z; z/w; w/z + x**y; y**x; x**w; w**x; z**y; y**z; z**w; w**z + x==y; y==x; x==w; w==x; z==y; y==z; z==w; w==z + mp.dps = 15 + assert x.__add__(a) is NotImplemented + assert x.__radd__(a) is NotImplemented + assert x.__lt__(a) is NotImplemented + assert x.__gt__(a) is NotImplemented + assert x.__le__(a) is NotImplemented + assert x.__ge__(a) is NotImplemented + assert x.__eq__(a) is NotImplemented + assert x.__ne__(a) is NotImplemented + # implementation detail + if hasattr(x, "__cmp__"): + assert x.__cmp__(a) is NotImplemented + assert x.__sub__(a) is NotImplemented + assert x.__rsub__(a) is NotImplemented + assert x.__mul__(a) is NotImplemented + assert x.__rmul__(a) is NotImplemented + assert x.__div__(a) is NotImplemented + assert x.__rdiv__(a) is NotImplemented + assert x.__mod__(a) is NotImplemented + assert x.__rmod__(a) is NotImplemented + assert x.__pow__(a) is NotImplemented + assert x.__rpow__(a) is NotImplemented + assert z.__add__(a) is NotImplemented + assert z.__radd__(a) is NotImplemented + assert z.__eq__(a) is NotImplemented + assert z.__ne__(a) is NotImplemented + assert z.__sub__(a) is NotImplemented + assert z.__rsub__(a) is NotImplemented + assert z.__mul__(a) is NotImplemented + assert z.__rmul__(a) is NotImplemented + assert z.__div__(a) is NotImplemented + assert z.__rdiv__(a) is NotImplemented + assert z.__pow__(a) is NotImplemented + assert z.__rpow__(a) is NotImplemented + +def test_mpmathify(): + assert mpmathify('1/2') == 0.5 + assert mpmathify('(1.0+1.0j)') == mpc(1, 1) + assert mpmathify('(1.2e-10 - 3.4e5j)') == mpc('1.2e-10', '-3.4e5') + assert mpmathify('1j') == mpc(1j) + +def test_issue548(): + try: + # This expression is invalid, but may trigger the ReDOS vulnerability + # in the regular expression for parsing complex numbers. + mpmathify('(' + '1' * 5000 + '!j') + except: + return + # The expression is invalid and should raise an exception. + assert False + +def test_compatibility(): + try: + import numpy as np + from fractions import Fraction + from decimal import Decimal + import decimal + except ImportError: + return + # numpy types + for nptype in np.core.numerictypes.typeDict.values(): + if issubclass(nptype, np.complexfloating): + x = nptype(complex(0.5, -0.5)) + elif issubclass(nptype, np.floating): + x = nptype(0.5) + elif issubclass(nptype, np.integer): + x = nptype(2) + # Handle the weird types + try: diff = np.abs(type(np.sqrt(x))(sqrt(x)) - np.sqrt(x)) + except: continue + assert diff < 2.0**-53 + #Fraction and Decimal + oldprec = mp.prec + mp.prec = 1000 + decimal.getcontext().prec = mp.dps + assert sqrt(Fraction(2, 3)).ae(sqrt(mpf('2/3'))) + assert sqrt(Decimal(2)/Decimal(3)).ae(sqrt(mpf('2/3'))) + mp.prec = oldprec diff --git a/shared/package-files/24/24f98deefaccce09eebbbac6503d4cac41b9cdde5b601db4e43d35336993285e/elks b/shared/package-files/24/24f98deefaccce09eebbbac6503d4cac41b9cdde5b601db4e43d35336993285e/elks new file mode 100644 index 0000000000000000000000000000000000000000..66676dfaa8c1072ac9f0b4bd0f634520d7a91339 Binary files /dev/null and b/shared/package-files/24/24f98deefaccce09eebbbac6503d4cac41b9cdde5b601db4e43d35336993285e/elks differ diff --git a/shared/package-files/24/24f99244ce03cb4d1ada175520f2e3921b4ca2942a64d78f11283cb767655b57/_unique2_cuda_dispatch.h b/shared/package-files/24/24f99244ce03cb4d1ada175520f2e3921b4ca2942a64d78f11283cb767655b57/_unique2_cuda_dispatch.h new file mode 100644 index 0000000000000000000000000000000000000000..7c21bad52550cc743ce8cdb0670b578e9206c445 --- /dev/null +++ b/shared/package-files/24/24f99244ce03cb4d1ada175520f2e3921b4ca2942a64d78f11283cb767655b57/_unique2_cuda_dispatch.h @@ -0,0 +1,23 @@ +#pragma once +// @generated by torchgen/gen.py from DispatchKeyFunction.h + +// NB: The implementing C++ file is RegisterDispatchKey.cpp + +// The only #includes we need are for custom classes that have defaults in the C++ API +#include +#include +#include + +// Forward declarations of any types needed in the operator signatures. +// We can't directly include these classes because it will cause circular include dependencies. +// This file is included by TensorBody.h, which defines the Tensor class. +#include + +namespace at { + +namespace cuda { + +TORCH_API ::std::tuple _unique2(const at::Tensor & self, bool sorted=true, bool return_inverse=false, bool return_counts=false); + +} // namespace cuda +} // namespace at diff --git a/shared/package-files/24/24f9fc992a3b1524ee15a1f3a6210b8150704ecaa68c848b9c6a31968cba4a35/test_categorical.py b/shared/package-files/24/24f9fc992a3b1524ee15a1f3a6210b8150704ecaa68c848b9c6a31968cba4a35/test_categorical.py new file mode 100644 index 0000000000000000000000000000000000000000..1b58f8e8b983113e4a627e75cf6db7917c33866a --- /dev/null +++ b/shared/package-files/24/24f9fc992a3b1524ee15a1f3a6210b8150704ecaa68c848b9c6a31968cba4a35/test_categorical.py @@ -0,0 +1,573 @@ +import re + +import numpy as np +import pytest + +import pandas.util._test_decorators as td + +import pandas as pd +from pandas import ( + Categorical, + CategoricalDtype, + CategoricalIndex, + DataFrame, + Index, + Interval, + Series, + Timedelta, + Timestamp, + option_context, +) +import pandas._testing as tm + + +@pytest.fixture +def df(): + return DataFrame( + { + "A": np.arange(6, dtype="int64"), + }, + index=CategoricalIndex( + list("aabbca"), dtype=CategoricalDtype(list("cab")), name="B" + ), + ) + + +@pytest.fixture +def df2(): + return DataFrame( + { + "A": np.arange(6, dtype="int64"), + }, + index=CategoricalIndex( + list("aabbca"), dtype=CategoricalDtype(list("cabe")), name="B" + ), + ) + + +class TestCategoricalIndex: + def test_loc_scalar(self, df): + dtype = CategoricalDtype(list("cab")) + result = df.loc["a"] + bidx = Series(list("aaa"), name="B").astype(dtype) + assert bidx.dtype == dtype + + expected = DataFrame({"A": [0, 1, 5]}, index=Index(bidx)) + tm.assert_frame_equal(result, expected) + + df = df.copy() + df.loc["a"] = 20 + bidx2 = Series(list("aabbca"), name="B").astype(dtype) + assert bidx2.dtype == dtype + expected = DataFrame( + { + "A": [20, 20, 2, 3, 4, 20], + }, + index=Index(bidx2), + ) + tm.assert_frame_equal(df, expected) + + # value not in the categories + with pytest.raises(KeyError, match=r"^'d'$"): + df.loc["d"] + + df2 = df.copy() + expected = df2.copy() + expected.index = expected.index.astype(object) + expected.loc["d"] = 10 + df2.loc["d"] = 10 + tm.assert_frame_equal(df2, expected) + + def test_loc_setitem_with_expansion_non_category(self, df): + # Setting-with-expansion with a new key "d" that is not among caegories + df.loc["a"] = 20 + + # Setting a new row on an existing column + df3 = df.copy() + df3.loc["d", "A"] = 10 + bidx3 = Index(list("aabbcad"), name="B") + expected3 = DataFrame( + { + "A": [20, 20, 2, 3, 4, 20, 10.0], + }, + index=Index(bidx3), + ) + tm.assert_frame_equal(df3, expected3) + + # Setting a new row _and_ new column + df4 = df.copy() + df4.loc["d", "C"] = 10 + expected3 = DataFrame( + { + "A": [20, 20, 2, 3, 4, 20, np.nan], + "C": [np.nan, np.nan, np.nan, np.nan, np.nan, np.nan, 10], + }, + index=Index(bidx3), + ) + tm.assert_frame_equal(df4, expected3) + + def test_loc_getitem_scalar_non_category(self, df): + with pytest.raises(KeyError, match="^1$"): + df.loc[1] + + def test_slicing(self): + cat = Series(Categorical([1, 2, 3, 4])) + reverse = cat[::-1] + exp = np.array([4, 3, 2, 1], dtype=np.int64) + tm.assert_numpy_array_equal(reverse.__array__(), exp) + + df = DataFrame({"value": (np.arange(100) + 1).astype("int64")}) + df["D"] = pd.cut(df.value, bins=[0, 25, 50, 75, 100]) + + expected = Series([11, Interval(0, 25)], index=["value", "D"], name=10) + result = df.iloc[10] + tm.assert_series_equal(result, expected) + + expected = DataFrame( + {"value": np.arange(11, 21).astype("int64")}, + index=np.arange(10, 20).astype("int64"), + ) + expected["D"] = pd.cut(expected.value, bins=[0, 25, 50, 75, 100]) + result = df.iloc[10:20] + tm.assert_frame_equal(result, expected) + + expected = Series([9, Interval(0, 25)], index=["value", "D"], name=8) + result = df.loc[8] + tm.assert_series_equal(result, expected) + + def test_slicing_and_getting_ops(self): + # systematically test the slicing operations: + # for all slicing ops: + # - returning a dataframe + # - returning a column + # - returning a row + # - returning a single value + + cats = Categorical( + ["a", "c", "b", "c", "c", "c", "c"], categories=["a", "b", "c"] + ) + idx = Index(["h", "i", "j", "k", "l", "m", "n"]) + values = [1, 2, 3, 4, 5, 6, 7] + df = DataFrame({"cats": cats, "values": values}, index=idx) + + # the expected values + cats2 = Categorical(["b", "c"], categories=["a", "b", "c"]) + idx2 = Index(["j", "k"]) + values2 = [3, 4] + + # 2:4,: | "j":"k",: + exp_df = DataFrame({"cats": cats2, "values": values2}, index=idx2) + + # :,"cats" | :,0 + exp_col = Series(cats, index=idx, name="cats") + + # "j",: | 2,: + exp_row = Series(["b", 3], index=["cats", "values"], dtype="object", name="j") + + # "j","cats | 2,0 + exp_val = "b" + + # iloc + # frame + res_df = df.iloc[2:4, :] + tm.assert_frame_equal(res_df, exp_df) + assert isinstance(res_df["cats"].dtype, CategoricalDtype) + + # row + res_row = df.iloc[2, :] + tm.assert_series_equal(res_row, exp_row) + assert isinstance(res_row["cats"], str) + + # col + res_col = df.iloc[:, 0] + tm.assert_series_equal(res_col, exp_col) + assert isinstance(res_col.dtype, CategoricalDtype) + + # single value + res_val = df.iloc[2, 0] + assert res_val == exp_val + + # loc + # frame + res_df = df.loc["j":"k", :] + tm.assert_frame_equal(res_df, exp_df) + assert isinstance(res_df["cats"].dtype, CategoricalDtype) + + # row + res_row = df.loc["j", :] + tm.assert_series_equal(res_row, exp_row) + assert isinstance(res_row["cats"], str) + + # col + res_col = df.loc[:, "cats"] + tm.assert_series_equal(res_col, exp_col) + assert isinstance(res_col.dtype, CategoricalDtype) + + # single value + res_val = df.loc["j", "cats"] + assert res_val == exp_val + + # single value + res_val = df.loc["j", df.columns[0]] + assert res_val == exp_val + + # iat + res_val = df.iat[2, 0] + assert res_val == exp_val + + # at + res_val = df.at["j", "cats"] + assert res_val == exp_val + + # fancy indexing + exp_fancy = df.iloc[[2]] + + res_fancy = df[df["cats"] == "b"] + tm.assert_frame_equal(res_fancy, exp_fancy) + res_fancy = df[df["values"] == 3] + tm.assert_frame_equal(res_fancy, exp_fancy) + + # get_value + res_val = df.at["j", "cats"] + assert res_val == exp_val + + # i : int, slice, or sequence of integers + res_row = df.iloc[2] + tm.assert_series_equal(res_row, exp_row) + assert isinstance(res_row["cats"], str) + + res_df = df.iloc[slice(2, 4)] + tm.assert_frame_equal(res_df, exp_df) + assert isinstance(res_df["cats"].dtype, CategoricalDtype) + + res_df = df.iloc[[2, 3]] + tm.assert_frame_equal(res_df, exp_df) + assert isinstance(res_df["cats"].dtype, CategoricalDtype) + + res_col = df.iloc[:, 0] + tm.assert_series_equal(res_col, exp_col) + assert isinstance(res_col.dtype, CategoricalDtype) + + res_df = df.iloc[:, slice(0, 2)] + tm.assert_frame_equal(res_df, df) + assert isinstance(res_df["cats"].dtype, CategoricalDtype) + + res_df = df.iloc[:, [0, 1]] + tm.assert_frame_equal(res_df, df) + assert isinstance(res_df["cats"].dtype, CategoricalDtype) + + def test_slicing_doc_examples(self): + # GH 7918 + cats = Categorical( + ["a", "b", "b", "b", "c", "c", "c"], categories=["a", "b", "c"] + ) + idx = Index(["h", "i", "j", "k", "l", "m", "n"]) + values = [1, 2, 2, 2, 3, 4, 5] + df = DataFrame({"cats": cats, "values": values}, index=idx) + + result = df.iloc[2:4, :] + expected = DataFrame( + { + "cats": Categorical(["b", "b"], categories=["a", "b", "c"]), + "values": [2, 2], + }, + index=["j", "k"], + ) + tm.assert_frame_equal(result, expected) + + result = df.iloc[2:4, :].dtypes + expected = Series(["category", "int64"], ["cats", "values"], dtype=object) + tm.assert_series_equal(result, expected) + + result = df.loc["h":"j", "cats"] + expected = Series( + Categorical(["a", "b", "b"], categories=["a", "b", "c"]), + index=["h", "i", "j"], + name="cats", + ) + tm.assert_series_equal(result, expected) + + result = df.loc["h":"j", df.columns[0:1]] + expected = DataFrame( + {"cats": Categorical(["a", "b", "b"], categories=["a", "b", "c"])}, + index=["h", "i", "j"], + ) + tm.assert_frame_equal(result, expected) + + def test_loc_getitem_listlike_labels(self, df): + # list of labels + result = df.loc[["c", "a"]] + expected = df.iloc[[4, 0, 1, 5]] + tm.assert_frame_equal(result, expected, check_index_type=True) + + def test_loc_getitem_listlike_unused_category(self, df2): + # GH#37901 a label that is in index.categories but not in index + # listlike containing an element in the categories but not in the values + with pytest.raises(KeyError, match=re.escape("['e'] not in index")): + df2.loc[["a", "b", "e"]] + + def test_loc_getitem_label_unused_category(self, df2): + # element in the categories but not in the values + with pytest.raises(KeyError, match=r"^'e'$"): + df2.loc["e"] + + def test_loc_getitem_non_category(self, df2): + # not all labels in the categories + with pytest.raises(KeyError, match=re.escape("['d'] not in index")): + df2.loc[["a", "d"]] + + def test_loc_setitem_expansion_label_unused_category(self, df2): + # assigning with a label that is in the categories but not in the index + df = df2.copy() + df.loc["e"] = 20 + result = df.loc[["a", "b", "e"]] + exp_index = CategoricalIndex(list("aaabbe"), categories=list("cabe"), name="B") + expected = DataFrame({"A": [0, 1, 5, 2, 3, 20]}, index=exp_index) + tm.assert_frame_equal(result, expected) + + def test_loc_listlike_dtypes(self): + # GH 11586 + + # unique categories and codes + index = CategoricalIndex(["a", "b", "c"]) + df = DataFrame({"A": [1, 2, 3], "B": [4, 5, 6]}, index=index) + + # unique slice + res = df.loc[["a", "b"]] + exp_index = CategoricalIndex(["a", "b"], categories=index.categories) + exp = DataFrame({"A": [1, 2], "B": [4, 5]}, index=exp_index) + tm.assert_frame_equal(res, exp, check_index_type=True) + + # duplicated slice + res = df.loc[["a", "a", "b"]] + + exp_index = CategoricalIndex(["a", "a", "b"], categories=index.categories) + exp = DataFrame({"A": [1, 1, 2], "B": [4, 4, 5]}, index=exp_index) + tm.assert_frame_equal(res, exp, check_index_type=True) + + with pytest.raises(KeyError, match=re.escape("['x'] not in index")): + df.loc[["a", "x"]] + + def test_loc_listlike_dtypes_duplicated_categories_and_codes(self): + # duplicated categories and codes + index = CategoricalIndex(["a", "b", "a"]) + df = DataFrame({"A": [1, 2, 3], "B": [4, 5, 6]}, index=index) + + # unique slice + res = df.loc[["a", "b"]] + exp = DataFrame( + {"A": [1, 3, 2], "B": [4, 6, 5]}, index=CategoricalIndex(["a", "a", "b"]) + ) + tm.assert_frame_equal(res, exp, check_index_type=True) + + # duplicated slice + res = df.loc[["a", "a", "b"]] + exp = DataFrame( + {"A": [1, 3, 1, 3, 2], "B": [4, 6, 4, 6, 5]}, + index=CategoricalIndex(["a", "a", "a", "a", "b"]), + ) + tm.assert_frame_equal(res, exp, check_index_type=True) + + with pytest.raises(KeyError, match=re.escape("['x'] not in index")): + df.loc[["a", "x"]] + + def test_loc_listlike_dtypes_unused_category(self): + # contains unused category + index = CategoricalIndex(["a", "b", "a", "c"], categories=list("abcde")) + df = DataFrame({"A": [1, 2, 3, 4], "B": [5, 6, 7, 8]}, index=index) + + res = df.loc[["a", "b"]] + exp = DataFrame( + {"A": [1, 3, 2], "B": [5, 7, 6]}, + index=CategoricalIndex(["a", "a", "b"], categories=list("abcde")), + ) + tm.assert_frame_equal(res, exp, check_index_type=True) + + # duplicated slice + res = df.loc[["a", "a", "b"]] + exp = DataFrame( + {"A": [1, 3, 1, 3, 2], "B": [5, 7, 5, 7, 6]}, + index=CategoricalIndex(["a", "a", "a", "a", "b"], categories=list("abcde")), + ) + tm.assert_frame_equal(res, exp, check_index_type=True) + + with pytest.raises(KeyError, match=re.escape("['x'] not in index")): + df.loc[["a", "x"]] + + def test_loc_getitem_listlike_unused_category_raises_keyerror(self): + # key that is an *unused* category raises + index = CategoricalIndex(["a", "b", "a", "c"], categories=list("abcde")) + df = DataFrame({"A": [1, 2, 3, 4], "B": [5, 6, 7, 8]}, index=index) + + with pytest.raises(KeyError, match="e"): + # For comparison, check the scalar behavior + df.loc["e"] + + with pytest.raises(KeyError, match=re.escape("['e'] not in index")): + df.loc[["a", "e"]] + + def test_ix_categorical_index(self): + # GH 12531 + df = DataFrame( + np.random.default_rng(2).standard_normal((3, 3)), + index=list("ABC"), + columns=list("XYZ"), + ) + cdf = df.copy() + cdf.index = CategoricalIndex(df.index) + cdf.columns = CategoricalIndex(df.columns) + + expect = Series(df.loc["A", :], index=cdf.columns, name="A") + tm.assert_series_equal(cdf.loc["A", :], expect) + + expect = Series(df.loc[:, "X"], index=cdf.index, name="X") + tm.assert_series_equal(cdf.loc[:, "X"], expect) + + exp_index = CategoricalIndex(list("AB"), categories=["A", "B", "C"]) + expect = DataFrame(df.loc[["A", "B"], :], columns=cdf.columns, index=exp_index) + tm.assert_frame_equal(cdf.loc[["A", "B"], :], expect) + + exp_columns = CategoricalIndex(list("XY"), categories=["X", "Y", "Z"]) + expect = DataFrame(df.loc[:, ["X", "Y"]], index=cdf.index, columns=exp_columns) + tm.assert_frame_equal(cdf.loc[:, ["X", "Y"]], expect) + + @pytest.mark.parametrize( + "infer_string", [False, pytest.param(True, marks=td.skip_if_no("pyarrow"))] + ) + def test_ix_categorical_index_non_unique(self, infer_string): + # non-unique + with option_context("future.infer_string", infer_string): + df = DataFrame( + np.random.default_rng(2).standard_normal((3, 3)), + index=list("ABA"), + columns=list("XYX"), + ) + cdf = df.copy() + cdf.index = CategoricalIndex(df.index) + cdf.columns = CategoricalIndex(df.columns) + + exp_index = CategoricalIndex(list("AA"), categories=["A", "B"]) + expect = DataFrame(df.loc["A", :], columns=cdf.columns, index=exp_index) + tm.assert_frame_equal(cdf.loc["A", :], expect) + + exp_columns = CategoricalIndex(list("XX"), categories=["X", "Y"]) + expect = DataFrame(df.loc[:, "X"], index=cdf.index, columns=exp_columns) + tm.assert_frame_equal(cdf.loc[:, "X"], expect) + + expect = DataFrame( + df.loc[["A", "B"], :], + columns=cdf.columns, + index=CategoricalIndex(list("AAB")), + ) + tm.assert_frame_equal(cdf.loc[["A", "B"], :], expect) + + expect = DataFrame( + df.loc[:, ["X", "Y"]], + index=cdf.index, + columns=CategoricalIndex(list("XXY")), + ) + tm.assert_frame_equal(cdf.loc[:, ["X", "Y"]], expect) + + def test_loc_slice(self, df): + # GH9748 + msg = ( + "cannot do slice indexing on CategoricalIndex with these " + r"indexers \[1\] of type int" + ) + with pytest.raises(TypeError, match=msg): + df.loc[1:5] + + result = df.loc["b":"c"] + expected = df.iloc[[2, 3, 4]] + tm.assert_frame_equal(result, expected) + + def test_loc_and_at_with_categorical_index(self): + # GH 20629 + df = DataFrame( + [[1, 2], [3, 4], [5, 6]], index=CategoricalIndex(["A", "B", "C"]) + ) + + s = df[0] + assert s.loc["A"] == 1 + assert s.at["A"] == 1 + + assert df.loc["B", 1] == 4 + assert df.at["B", 1] == 4 + + @pytest.mark.parametrize( + "idx_values", + [ + # python types + [1, 2, 3], + [-1, -2, -3], + [1.5, 2.5, 3.5], + [-1.5, -2.5, -3.5], + # numpy int/uint + *(np.array([1, 2, 3], dtype=dtype) for dtype in tm.ALL_INT_NUMPY_DTYPES), + # numpy floats + *(np.array([1.5, 2.5, 3.5], dtype=dtyp) for dtyp in tm.FLOAT_NUMPY_DTYPES), + # numpy object + np.array([1, "b", 3.5], dtype=object), + # pandas scalars + [Interval(1, 4), Interval(4, 6), Interval(6, 9)], + [Timestamp(2019, 1, 1), Timestamp(2019, 2, 1), Timestamp(2019, 3, 1)], + [Timedelta(1, "d"), Timedelta(2, "d"), Timedelta(3, "D")], + # pandas Integer arrays + *(pd.array([1, 2, 3], dtype=dtype) for dtype in tm.ALL_INT_EA_DTYPES), + # other pandas arrays + pd.IntervalIndex.from_breaks([1, 4, 6, 9]).array, + pd.date_range("2019-01-01", periods=3).array, + pd.timedelta_range(start="1d", periods=3).array, + ], + ) + def test_loc_getitem_with_non_string_categories(self, idx_values, ordered): + # GH-17569 + cat_idx = CategoricalIndex(idx_values, ordered=ordered) + df = DataFrame({"A": ["foo", "bar", "baz"]}, index=cat_idx) + sl = slice(idx_values[0], idx_values[1]) + + # scalar selection + result = df.loc[idx_values[0]] + expected = Series(["foo"], index=["A"], name=idx_values[0]) + tm.assert_series_equal(result, expected) + + # list selection + result = df.loc[idx_values[:2]] + expected = DataFrame(["foo", "bar"], index=cat_idx[:2], columns=["A"]) + tm.assert_frame_equal(result, expected) + + # slice selection + result = df.loc[sl] + expected = DataFrame(["foo", "bar"], index=cat_idx[:2], columns=["A"]) + tm.assert_frame_equal(result, expected) + + # scalar assignment + result = df.copy() + result.loc[idx_values[0]] = "qux" + expected = DataFrame({"A": ["qux", "bar", "baz"]}, index=cat_idx) + tm.assert_frame_equal(result, expected) + + # list assignment + result = df.copy() + result.loc[idx_values[:2], "A"] = ["qux", "qux2"] + expected = DataFrame({"A": ["qux", "qux2", "baz"]}, index=cat_idx) + tm.assert_frame_equal(result, expected) + + # slice assignment + result = df.copy() + result.loc[sl, "A"] = ["qux", "qux2"] + expected = DataFrame({"A": ["qux", "qux2", "baz"]}, index=cat_idx) + tm.assert_frame_equal(result, expected) + + def test_getitem_categorical_with_nan(self): + # GH#41933 + ci = CategoricalIndex(["A", "B", np.nan]) + + ser = Series(range(3), index=ci) + + assert ser[np.nan] == 2 + assert ser.loc[np.nan] == 2 + + df = DataFrame(ser) + assert df.loc[np.nan, 0] == 2 + assert df.loc[np.nan][0] == 2 diff --git a/shared/package-files/24/24fa661744fc66c3311ead38acfa8e2a218d58ad15e78ce8be28dc703b78c48e/cycles.py b/shared/package-files/24/24fa661744fc66c3311ead38acfa8e2a218d58ad15e78ce8be28dc703b78c48e/cycles.py new file mode 100644 index 0000000000000000000000000000000000000000..6c5f7d483bba5ba7e1b4e0b109d4f869642a4cc0 --- /dev/null +++ b/shared/package-files/24/24fa661744fc66c3311ead38acfa8e2a218d58ad15e78ce8be28dc703b78c48e/cycles.py @@ -0,0 +1,1152 @@ +""" +======================== +Cycle finding algorithms +======================== +""" + +from collections import defaultdict +from itertools import combinations, product + +import networkx as nx +from networkx.utils import not_implemented_for, pairwise + +__all__ = [ + "cycle_basis", + "simple_cycles", + "recursive_simple_cycles", + "find_cycle", + "minimum_cycle_basis", + "chordless_cycles", +] + + +@not_implemented_for("directed") +@not_implemented_for("multigraph") +def cycle_basis(G, root=None): + """Returns a list of cycles which form a basis for cycles of G. + + A basis for cycles of a network is a minimal collection of + cycles such that any cycle in the network can be written + as a sum of cycles in the basis. Here summation of cycles + is defined as "exclusive or" of the edges. Cycle bases are + useful, e.g. when deriving equations for electric circuits + using Kirchhoff's Laws. + + Parameters + ---------- + G : NetworkX Graph + root : node, optional + Specify starting node for basis. + + Returns + ------- + A list of cycle lists. Each cycle list is a list of nodes + which forms a cycle (loop) in G. + + Examples + -------- + >>> G = nx.Graph() + >>> nx.add_cycle(G, [0, 1, 2, 3]) + >>> nx.add_cycle(G, [0, 3, 4, 5]) + >>> print(nx.cycle_basis(G, 0)) + [[3, 4, 5, 0], [1, 2, 3, 0]] + + Notes + ----- + This is adapted from algorithm CACM 491 [1]_. + + References + ---------- + .. [1] Paton, K. An algorithm for finding a fundamental set of + cycles of a graph. Comm. ACM 12, 9 (Sept 1969), 514-518. + + See Also + -------- + simple_cycles + """ + gnodes = set(G.nodes()) + cycles = [] + while gnodes: # loop over connected components + if root is None: + root = gnodes.pop() + stack = [root] + pred = {root: root} + used = {root: set()} + while stack: # walk the spanning tree finding cycles + z = stack.pop() # use last-in so cycles easier to find + zused = used[z] + for nbr in G[z]: + if nbr not in used: # new node + pred[nbr] = z + stack.append(nbr) + used[nbr] = {z} + elif nbr == z: # self loops + cycles.append([z]) + elif nbr not in zused: # found a cycle + pn = used[nbr] + cycle = [nbr, z] + p = pred[z] + while p not in pn: + cycle.append(p) + p = pred[p] + cycle.append(p) + cycles.append(cycle) + used[nbr].add(z) + gnodes -= set(pred) + root = None + return cycles + + +def simple_cycles(G, length_bound=None): + """Find simple cycles (elementary circuits) of a graph. + + A `simple cycle`, or `elementary circuit`, is a closed path where + no node appears twice. In a directed graph, two simple cycles are distinct + if they are not cyclic permutations of each other. In an undirected graph, + two simple cycles are distinct if they are not cyclic permutations of each + other nor of the other's reversal. + + Optionally, the cycles are bounded in length. In the unbounded case, we use + a nonrecursive, iterator/generator version of Johnson's algorithm [1]_. In + the bounded case, we use a version of the algorithm of Gupta and + Suzumura[2]_. There may be better algorithms for some cases [3]_ [4]_ [5]_. + + The algorithms of Johnson, and Gupta and Suzumura, are enhanced by some + well-known preprocessing techniques. When G is directed, we restrict our + attention to strongly connected components of G, generate all simple cycles + containing a certain node, remove that node, and further decompose the + remainder into strongly connected components. When G is undirected, we + restrict our attention to biconnected components, generate all simple cycles + containing a particular edge, remove that edge, and further decompose the + remainder into biconnected components. + + Note that multigraphs are supported by this function -- and in undirected + multigraphs, a pair of parallel edges is considered a cycle of length 2. + Likewise, self-loops are considered to be cycles of length 1. We define + cycles as sequences of nodes; so the presence of loops and parallel edges + does not change the number of simple cycles in a graph. + + Parameters + ---------- + G : NetworkX DiGraph + A directed graph + + length_bound : int or None, optional (default=None) + If length_bound is an int, generate all simple cycles of G with length at + most length_bound. Otherwise, generate all simple cycles of G. + + Yields + ------ + list of nodes + Each cycle is represented by a list of nodes along the cycle. + + Examples + -------- + >>> edges = [(0, 0), (0, 1), (0, 2), (1, 2), (2, 0), (2, 1), (2, 2)] + >>> G = nx.DiGraph(edges) + >>> sorted(nx.simple_cycles(G)) + [[0], [0, 1, 2], [0, 2], [1, 2], [2]] + + To filter the cycles so that they don't include certain nodes or edges, + copy your graph and eliminate those nodes or edges before calling. + For example, to exclude self-loops from the above example: + + >>> H = G.copy() + >>> H.remove_edges_from(nx.selfloop_edges(G)) + >>> sorted(nx.simple_cycles(H)) + [[0, 1, 2], [0, 2], [1, 2]] + + Notes + ----- + When length_bound is None, the time complexity is $O((n+e)(c+1))$ for $n$ + nodes, $e$ edges and $c$ simple circuits. Otherwise, when length_bound > 1, + the time complexity is $O((c+n)(k-1)d^k)$ where $d$ is the average degree of + the nodes of G and $k$ = length_bound. + + Raises + ------ + ValueError + when length_bound < 0. + + References + ---------- + .. [1] Finding all the elementary circuits of a directed graph. + D. B. Johnson, SIAM Journal on Computing 4, no. 1, 77-84, 1975. + https://doi.org/10.1137/0204007 + .. [2] Finding All Bounded-Length Simple Cycles in a Directed Graph + A. Gupta and T. Suzumura https://arxiv.org/abs/2105.10094 + .. [3] Enumerating the cycles of a digraph: a new preprocessing strategy. + G. Loizou and P. Thanish, Information Sciences, v. 27, 163-182, 1982. + .. [4] A search strategy for the elementary cycles of a directed graph. + J.L. Szwarcfiter and P.E. Lauer, BIT NUMERICAL MATHEMATICS, + v. 16, no. 2, 192-204, 1976. + .. [5] Optimal Listing of Cycles and st-Paths in Undirected Graphs + R. Ferreira and R. Grossi and A. Marino and N. Pisanti and R. Rizzi and + G. Sacomoto https://arxiv.org/abs/1205.2766 + + See Also + -------- + cycle_basis + chordless_cycles + """ + + if length_bound is not None: + if length_bound == 0: + return + elif length_bound < 0: + raise ValueError("length bound must be non-negative") + + directed = G.is_directed() + yield from ([v] for v, Gv in G.adj.items() if v in Gv) + + if length_bound is not None and length_bound == 1: + return + + if G.is_multigraph() and not directed: + visited = set() + for u, Gu in G.adj.items(): + multiplicity = ((v, len(Guv)) for v, Guv in Gu.items() if v in visited) + yield from ([u, v] for v, m in multiplicity if m > 1) + visited.add(u) + + # explicitly filter out loops; implicitly filter out parallel edges + if directed: + G = nx.DiGraph((u, v) for u, Gu in G.adj.items() for v in Gu if v != u) + else: + G = nx.Graph((u, v) for u, Gu in G.adj.items() for v in Gu if v != u) + + # this case is not strictly necessary but improves performance + if length_bound is not None and length_bound == 2: + if directed: + visited = set() + for u, Gu in G.adj.items(): + yield from ( + [v, u] for v in visited.intersection(Gu) if G.has_edge(v, u) + ) + visited.add(u) + return + + if directed: + yield from _directed_cycle_search(G, length_bound) + else: + yield from _undirected_cycle_search(G, length_bound) + + +def _directed_cycle_search(G, length_bound): + """A dispatch function for `simple_cycles` for directed graphs. + + We generate all cycles of G through binary partition. + + 1. Pick a node v in G which belongs to at least one cycle + a. Generate all cycles of G which contain the node v. + b. Recursively generate all cycles of G \\ v. + + This is accomplished through the following: + + 1. Compute the strongly connected components SCC of G. + 2. Select and remove a biconnected component C from BCC. Select a + non-tree edge (u, v) of a depth-first search of G[C]. + 3. For each simple cycle P containing v in G[C], yield P. + 4. Add the biconnected components of G[C \\ v] to BCC. + + If the parameter length_bound is not None, then step 3 will be limited to + simple cycles of length at most length_bound. + + Parameters + ---------- + G : NetworkX DiGraph + A directed graph + + length_bound : int or None + If length_bound is an int, generate all simple cycles of G with length at most length_bound. + Otherwise, generate all simple cycles of G. + + Yields + ------ + list of nodes + Each cycle is represented by a list of nodes along the cycle. + """ + + scc = nx.strongly_connected_components + components = [c for c in scc(G) if len(c) >= 2] + while components: + c = components.pop() + Gc = G.subgraph(c) + v = next(iter(c)) + if length_bound is None: + yield from _johnson_cycle_search(Gc, [v]) + else: + yield from _bounded_cycle_search(Gc, [v], length_bound) + # delete v after searching G, to make sure we can find v + G.remove_node(v) + components.extend(c for c in scc(Gc) if len(c) >= 2) + + +def _undirected_cycle_search(G, length_bound): + """A dispatch function for `simple_cycles` for undirected graphs. + + We generate all cycles of G through binary partition. + + 1. Pick an edge (u, v) in G which belongs to at least one cycle + a. Generate all cycles of G which contain the edge (u, v) + b. Recursively generate all cycles of G \\ (u, v) + + This is accomplished through the following: + + 1. Compute the biconnected components BCC of G. + 2. Select and remove a biconnected component C from BCC. Select a + non-tree edge (u, v) of a depth-first search of G[C]. + 3. For each (v -> u) path P remaining in G[C] \\ (u, v), yield P. + 4. Add the biconnected components of G[C] \\ (u, v) to BCC. + + If the parameter length_bound is not None, then step 3 will be limited to simple paths + of length at most length_bound. + + Parameters + ---------- + G : NetworkX Graph + An undirected graph + + length_bound : int or None + If length_bound is an int, generate all simple cycles of G with length at most length_bound. + Otherwise, generate all simple cycles of G. + + Yields + ------ + list of nodes + Each cycle is represented by a list of nodes along the cycle. + """ + + bcc = nx.biconnected_components + components = [c for c in bcc(G) if len(c) >= 3] + while components: + c = components.pop() + Gc = G.subgraph(c) + uv = list(next(iter(Gc.edges))) + G.remove_edge(*uv) + # delete (u, v) before searching G, to avoid fake 3-cycles [u, v, u] + if length_bound is None: + yield from _johnson_cycle_search(Gc, uv) + else: + yield from _bounded_cycle_search(Gc, uv, length_bound) + components.extend(c for c in bcc(Gc) if len(c) >= 3) + + +class _NeighborhoodCache(dict): + """Very lightweight graph wrapper which caches neighborhoods as list. + + This dict subclass uses the __missing__ functionality to query graphs for + their neighborhoods, and store the result as a list. This is used to avoid + the performance penalty incurred by subgraph views. + """ + + def __init__(self, G): + self.G = G + + def __missing__(self, v): + Gv = self[v] = list(self.G[v]) + return Gv + + +def _johnson_cycle_search(G, path): + """The main loop of the cycle-enumeration algorithm of Johnson. + + Parameters + ---------- + G : NetworkX Graph or DiGraph + A graph + + path : list + A cycle prefix. All cycles generated will begin with this prefix. + + Yields + ------ + list of nodes + Each cycle is represented by a list of nodes along the cycle. + + References + ---------- + .. [1] Finding all the elementary circuits of a directed graph. + D. B. Johnson, SIAM Journal on Computing 4, no. 1, 77-84, 1975. + https://doi.org/10.1137/0204007 + + """ + + G = _NeighborhoodCache(G) + blocked = set(path) + B = defaultdict(set) # graph portions that yield no elementary circuit + start = path[0] + stack = [iter(G[path[-1]])] + closed = [False] + while stack: + nbrs = stack[-1] + for w in nbrs: + if w == start: + yield path[:] + closed[-1] = True + elif w not in blocked: + path.append(w) + closed.append(False) + stack.append(iter(G[w])) + blocked.add(w) + break + else: # no more nbrs + stack.pop() + v = path.pop() + if closed.pop(): + if closed: + closed[-1] = True + unblock_stack = {v} + while unblock_stack: + u = unblock_stack.pop() + if u in blocked: + blocked.remove(u) + unblock_stack.update(B[u]) + B[u].clear() + else: + for w in G[v]: + B[w].add(v) + + +def _bounded_cycle_search(G, path, length_bound): + """The main loop of the cycle-enumeration algorithm of Gupta and Suzumura. + + Parameters + ---------- + G : NetworkX Graph or DiGraph + A graph + + path : list + A cycle prefix. All cycles generated will begin with this prefix. + + length_bound: int + A length bound. All cycles generated will have length at most length_bound. + + Yields + ------ + list of nodes + Each cycle is represented by a list of nodes along the cycle. + + References + ---------- + .. [1] Finding All Bounded-Length Simple Cycles in a Directed Graph + A. Gupta and T. Suzumura https://arxiv.org/abs/2105.10094 + + """ + G = _NeighborhoodCache(G) + lock = {v: 0 for v in path} + B = defaultdict(set) + start = path[0] + stack = [iter(G[path[-1]])] + blen = [length_bound] + while stack: + nbrs = stack[-1] + for w in nbrs: + if w == start: + yield path[:] + blen[-1] = 1 + elif len(path) < lock.get(w, length_bound): + path.append(w) + blen.append(length_bound) + lock[w] = len(path) + stack.append(iter(G[w])) + break + else: + stack.pop() + v = path.pop() + bl = blen.pop() + if blen: + blen[-1] = min(blen[-1], bl) + if bl < length_bound: + relax_stack = [(bl, v)] + while relax_stack: + bl, u = relax_stack.pop() + if lock.get(u, length_bound) < length_bound - bl + 1: + lock[u] = length_bound - bl + 1 + relax_stack.extend((bl + 1, w) for w in B[u].difference(path)) + else: + for w in G[v]: + B[w].add(v) + + +def chordless_cycles(G, length_bound=None): + """Find simple chordless cycles of a graph. + + A `simple cycle` is a closed path where no node appears twice. In a simple + cycle, a `chord` is an additional edge between two nodes in the cycle. A + `chordless cycle` is a simple cycle without chords. Said differently, a + chordless cycle is a cycle C in a graph G where the number of edges in the + induced graph G[C] is equal to the length of `C`. + + Note that some care must be taken in the case that G is not a simple graph + nor a simple digraph. Some authors limit the definition of chordless cycles + to have a prescribed minimum length; we do not. + + 1. We interpret self-loops to be chordless cycles, except in multigraphs + with multiple loops in parallel. Likewise, in a chordless cycle of + length greater than 1, there can be no nodes with self-loops. + + 2. We interpret directed two-cycles to be chordless cycles, except in + multi-digraphs when any edge in a two-cycle has a parallel copy. + + 3. We interpret parallel pairs of undirected edges as two-cycles, except + when a third (or more) parallel edge exists between the two nodes. + + 4. Generalizing the above, edges with parallel clones may not occur in + chordless cycles. + + In a directed graph, two chordless cycles are distinct if they are not + cyclic permutations of each other. In an undirected graph, two chordless + cycles are distinct if they are not cyclic permutations of each other nor of + the other's reversal. + + Optionally, the cycles are bounded in length. + + We use an algorithm strongly inspired by that of Dias et al [1]_. It has + been modified in the following ways: + + 1. Recursion is avoided, per Python's limitations + + 2. The labeling function is not necessary, because the starting paths + are chosen (and deleted from the host graph) to prevent multiple + occurrences of the same path + + 3. The search is optionally bounded at a specified length + + 4. Support for directed graphs is provided by extending cycles along + forward edges, and blocking nodes along forward and reverse edges + + 5. Support for multigraphs is provided by omitting digons from the set + of forward edges + + Parameters + ---------- + G : NetworkX DiGraph + A directed graph + + length_bound : int or None, optional (default=None) + If length_bound is an int, generate all simple cycles of G with length at + most length_bound. Otherwise, generate all simple cycles of G. + + Yields + ------ + list of nodes + Each cycle is represented by a list of nodes along the cycle. + + Examples + -------- + >>> sorted(list(nx.chordless_cycles(nx.complete_graph(4)))) + [[1, 0, 2], [1, 0, 3], [2, 0, 3], [2, 1, 3]] + + Notes + ----- + When length_bound is None, and the graph is simple, the time complexity is + $O((n+e)(c+1))$ for $n$ nodes, $e$ edges and $c$ chordless cycles. + + Raises + ------ + ValueError + when length_bound < 0. + + References + ---------- + .. [1] Efficient enumeration of chordless cycles + E. Dias and D. Castonguay and H. Longo and W.A.R. Jradi + https://arxiv.org/abs/1309.1051 + + See Also + -------- + simple_cycles + """ + + if length_bound is not None: + if length_bound == 0: + return + elif length_bound < 0: + raise ValueError("length bound must be non-negative") + + directed = G.is_directed() + multigraph = G.is_multigraph() + + if multigraph: + yield from ([v] for v, Gv in G.adj.items() if len(Gv.get(v, ())) == 1) + else: + yield from ([v] for v, Gv in G.adj.items() if v in Gv) + + if length_bound is not None and length_bound == 1: + return + + # Nodes with loops cannot belong to longer cycles. Let's delete them here. + # also, we implicitly reduce the multiplicity of edges down to 1 in the case + # of multiedges. + if directed: + F = nx.DiGraph((u, v) for u, Gu in G.adj.items() if u not in Gu for v in Gu) + B = F.to_undirected(as_view=False) + else: + F = nx.Graph((u, v) for u, Gu in G.adj.items() if u not in Gu for v in Gu) + B = None + + # If we're given a multigraph, we have a few cases to consider with parallel + # edges. + # + # 1. If we have 2 or more edges in parallel between the nodes (u, v), we + # must not construct longer cycles along (u, v). + # 2. If G is not directed, then a pair of parallel edges between (u, v) is a + # chordless cycle unless there exists a third (or more) parallel edge. + # 3. If G is directed, then parallel edges do not form cyles, but do + # preclude back-edges from forming cycles (handled in the next section), + # Thus, if an edge (u, v) is duplicated and the reverse (v, u) is also + # present, then we remove both from F. + # + # In directed graphs, we need to consider both directions that edges can + # take, so iterate over all edges (u, v) and possibly (v, u). In undirected + # graphs, we need to be a little careful to only consider every edge once, + # so we use a "visited" set to emulate node-order comparisons. + + if multigraph: + if not directed: + B = F.copy() + visited = set() + for u, Gu in G.adj.items(): + if directed: + multiplicity = ((v, len(Guv)) for v, Guv in Gu.items()) + for v, m in multiplicity: + if m > 1: + F.remove_edges_from(((u, v), (v, u))) + else: + multiplicity = ((v, len(Guv)) for v, Guv in Gu.items() if v in visited) + for v, m in multiplicity: + if m == 2: + yield [u, v] + if m > 1: + F.remove_edge(u, v) + visited.add(u) + + # If we're given a directed graphs, we need to think about digons. If we + # have two edges (u, v) and (v, u), then that's a two-cycle. If either edge + # was duplicated above, then we removed both from F. So, any digons we find + # here are chordless. After finding digons, we remove their edges from F + # to avoid traversing them in the search for chordless cycles. + if directed: + for u, Fu in F.adj.items(): + digons = [[u, v] for v in Fu if F.has_edge(v, u)] + yield from digons + F.remove_edges_from(digons) + F.remove_edges_from(e[::-1] for e in digons) + + if length_bound is not None and length_bound == 2: + return + + # Now, we prepare to search for cycles. We have removed all cycles of + # lengths 1 and 2, so F is a simple graph or simple digraph. We repeatedly + # separate digraphs into their strongly connected components, and undirected + # graphs into their biconnected components. For each component, we pick a + # node v, search for chordless cycles based at each "stem" (u, v, w), and + # then remove v from that component before separating the graph again. + if directed: + separate = nx.strongly_connected_components + + # Directed stems look like (u -> v -> w), so we use the product of + # predecessors of v with successors of v. + def stems(C, v): + for u, w in product(C.pred[v], C.succ[v]): + if not G.has_edge(u, w): # omit stems with acyclic chords + yield [u, v, w], F.has_edge(w, u) + + else: + separate = nx.biconnected_components + + # Undirected stems look like (u ~ v ~ w), but we must not also search + # (w ~ v ~ u), so we use combinations of v's neighbors of length 2. + def stems(C, v): + yield from (([u, v, w], F.has_edge(w, u)) for u, w in combinations(C[v], 2)) + + components = [c for c in separate(F) if len(c) > 2] + while components: + c = components.pop() + v = next(iter(c)) + Fc = F.subgraph(c) + Fcc = Bcc = None + for S, is_triangle in stems(Fc, v): + if is_triangle: + yield S + else: + if Fcc is None: + Fcc = _NeighborhoodCache(Fc) + Bcc = Fcc if B is None else _NeighborhoodCache(B.subgraph(c)) + yield from _chordless_cycle_search(Fcc, Bcc, S, length_bound) + + components.extend(c for c in separate(F.subgraph(c - {v})) if len(c) > 2) + + +def _chordless_cycle_search(F, B, path, length_bound): + """The main loop for chordless cycle enumeration. + + This algorithm is strongly inspired by that of Dias et al [1]_. It has been + modified in the following ways: + + 1. Recursion is avoided, per Python's limitations + + 2. The labeling function is not necessary, because the starting paths + are chosen (and deleted from the host graph) to prevent multiple + occurrences of the same path + + 3. The search is optionally bounded at a specified length + + 4. Support for directed graphs is provided by extending cycles along + forward edges, and blocking nodes along forward and reverse edges + + 5. Support for multigraphs is provided by omitting digons from the set + of forward edges + + Parameters + ---------- + F : _NeighborhoodCache + A graph of forward edges to follow in constructing cycles + + B : _NeighborhoodCache + A graph of blocking edges to prevent the production of chordless cycles + + path : list + A cycle prefix. All cycles generated will begin with this prefix. + + length_bound : int + A length bound. All cycles generated will have length at most length_bound. + + + Yields + ------ + list of nodes + Each cycle is represented by a list of nodes along the cycle. + + References + ---------- + .. [1] Efficient enumeration of chordless cycles + E. Dias and D. Castonguay and H. Longo and W.A.R. Jradi + https://arxiv.org/abs/1309.1051 + + """ + blocked = defaultdict(int) + target = path[0] + blocked[path[1]] = 1 + for w in path[1:]: + for v in B[w]: + blocked[v] += 1 + + stack = [iter(F[path[2]])] + while stack: + nbrs = stack[-1] + for w in nbrs: + if blocked[w] == 1 and (length_bound is None or len(path) < length_bound): + Fw = F[w] + if target in Fw: + yield path + [w] + else: + Bw = B[w] + if target in Bw: + continue + for v in Bw: + blocked[v] += 1 + path.append(w) + stack.append(iter(Fw)) + break + else: + stack.pop() + for v in B[path.pop()]: + blocked[v] -= 1 + + +@not_implemented_for("undirected") +def recursive_simple_cycles(G): + """Find simple cycles (elementary circuits) of a directed graph. + + A `simple cycle`, or `elementary circuit`, is a closed path where + no node appears twice. Two elementary circuits are distinct if they + are not cyclic permutations of each other. + + This version uses a recursive algorithm to build a list of cycles. + You should probably use the iterator version called simple_cycles(). + Warning: This recursive version uses lots of RAM! + It appears in NetworkX for pedagogical value. + + Parameters + ---------- + G : NetworkX DiGraph + A directed graph + + Returns + ------- + A list of cycles, where each cycle is represented by a list of nodes + along the cycle. + + Example: + + >>> edges = [(0, 0), (0, 1), (0, 2), (1, 2), (2, 0), (2, 1), (2, 2)] + >>> G = nx.DiGraph(edges) + >>> nx.recursive_simple_cycles(G) + [[0], [2], [0, 1, 2], [0, 2], [1, 2]] + + Notes + ----- + The implementation follows pp. 79-80 in [1]_. + + The time complexity is $O((n+e)(c+1))$ for $n$ nodes, $e$ edges and $c$ + elementary circuits. + + References + ---------- + .. [1] Finding all the elementary circuits of a directed graph. + D. B. Johnson, SIAM Journal on Computing 4, no. 1, 77-84, 1975. + https://doi.org/10.1137/0204007 + + See Also + -------- + simple_cycles, cycle_basis + """ + + # Jon Olav Vik, 2010-08-09 + def _unblock(thisnode): + """Recursively unblock and remove nodes from B[thisnode].""" + if blocked[thisnode]: + blocked[thisnode] = False + while B[thisnode]: + _unblock(B[thisnode].pop()) + + def circuit(thisnode, startnode, component): + closed = False # set to True if elementary path is closed + path.append(thisnode) + blocked[thisnode] = True + for nextnode in component[thisnode]: # direct successors of thisnode + if nextnode == startnode: + result.append(path[:]) + closed = True + elif not blocked[nextnode]: + if circuit(nextnode, startnode, component): + closed = True + if closed: + _unblock(thisnode) + else: + for nextnode in component[thisnode]: + if thisnode not in B[nextnode]: # TODO: use set for speedup? + B[nextnode].append(thisnode) + path.pop() # remove thisnode from path + return closed + + path = [] # stack of nodes in current path + blocked = defaultdict(bool) # vertex: blocked from search? + B = defaultdict(list) # graph portions that yield no elementary circuit + result = [] # list to accumulate the circuits found + + # Johnson's algorithm exclude self cycle edges like (v, v) + # To be backward compatible, we record those cycles in advance + # and then remove from subG + for v in G: + if G.has_edge(v, v): + result.append([v]) + G.remove_edge(v, v) + + # Johnson's algorithm requires some ordering of the nodes. + # They might not be sortable so we assign an arbitrary ordering. + ordering = dict(zip(G, range(len(G)))) + for s in ordering: + # Build the subgraph induced by s and following nodes in the ordering + subgraph = G.subgraph(node for node in G if ordering[node] >= ordering[s]) + # Find the strongly connected component in the subgraph + # that contains the least node according to the ordering + strongcomp = nx.strongly_connected_components(subgraph) + mincomp = min(strongcomp, key=lambda ns: min(ordering[n] for n in ns)) + component = G.subgraph(mincomp) + if len(component) > 1: + # smallest node in the component according to the ordering + startnode = min(component, key=ordering.__getitem__) + for node in component: + blocked[node] = False + B[node][:] = [] + dummy = circuit(startnode, startnode, component) + return result + + +def find_cycle(G, source=None, orientation=None): + """Returns a cycle found via depth-first traversal. + + The cycle is a list of edges indicating the cyclic path. + Orientation of directed edges is controlled by `orientation`. + + Parameters + ---------- + G : graph + A directed/undirected graph/multigraph. + + source : node, list of nodes + The node from which the traversal begins. If None, then a source + is chosen arbitrarily and repeatedly until all edges from each node in + the graph are searched. + + orientation : None | 'original' | 'reverse' | 'ignore' (default: None) + For directed graphs and directed multigraphs, edge traversals need not + respect the original orientation of the edges. + When set to 'reverse' every edge is traversed in the reverse direction. + When set to 'ignore', every edge is treated as undirected. + When set to 'original', every edge is treated as directed. + In all three cases, the yielded edge tuples add a last entry to + indicate the direction in which that edge was traversed. + If orientation is None, the yielded edge has no direction indicated. + The direction is respected, but not reported. + + Returns + ------- + edges : directed edges + A list of directed edges indicating the path taken for the loop. + If no cycle is found, then an exception is raised. + For graphs, an edge is of the form `(u, v)` where `u` and `v` + are the tail and head of the edge as determined by the traversal. + For multigraphs, an edge is of the form `(u, v, key)`, where `key` is + the key of the edge. When the graph is directed, then `u` and `v` + are always in the order of the actual directed edge. + If orientation is not None then the edge tuple is extended to include + the direction of traversal ('forward' or 'reverse') on that edge. + + Raises + ------ + NetworkXNoCycle + If no cycle was found. + + Examples + -------- + In this example, we construct a DAG and find, in the first call, that there + are no directed cycles, and so an exception is raised. In the second call, + we ignore edge orientations and find that there is an undirected cycle. + Note that the second call finds a directed cycle while effectively + traversing an undirected graph, and so, we found an "undirected cycle". + This means that this DAG structure does not form a directed tree (which + is also known as a polytree). + + >>> G = nx.DiGraph([(0, 1), (0, 2), (1, 2)]) + >>> nx.find_cycle(G, orientation="original") + Traceback (most recent call last): + ... + networkx.exception.NetworkXNoCycle: No cycle found. + >>> list(nx.find_cycle(G, orientation="ignore")) + [(0, 1, 'forward'), (1, 2, 'forward'), (0, 2, 'reverse')] + + See Also + -------- + simple_cycles + """ + if not G.is_directed() or orientation in (None, "original"): + + def tailhead(edge): + return edge[:2] + + elif orientation == "reverse": + + def tailhead(edge): + return edge[1], edge[0] + + elif orientation == "ignore": + + def tailhead(edge): + if edge[-1] == "reverse": + return edge[1], edge[0] + return edge[:2] + + explored = set() + cycle = [] + final_node = None + for start_node in G.nbunch_iter(source): + if start_node in explored: + # No loop is possible. + continue + + edges = [] + # All nodes seen in this iteration of edge_dfs + seen = {start_node} + # Nodes in active path. + active_nodes = {start_node} + previous_head = None + + for edge in nx.edge_dfs(G, start_node, orientation): + # Determine if this edge is a continuation of the active path. + tail, head = tailhead(edge) + if head in explored: + # Then we've already explored it. No loop is possible. + continue + if previous_head is not None and tail != previous_head: + # This edge results from backtracking. + # Pop until we get a node whose head equals the current tail. + # So for example, we might have: + # (0, 1), (1, 2), (2, 3), (1, 4) + # which must become: + # (0, 1), (1, 4) + while True: + try: + popped_edge = edges.pop() + except IndexError: + edges = [] + active_nodes = {tail} + break + else: + popped_head = tailhead(popped_edge)[1] + active_nodes.remove(popped_head) + + if edges: + last_head = tailhead(edges[-1])[1] + if tail == last_head: + break + edges.append(edge) + + if head in active_nodes: + # We have a loop! + cycle.extend(edges) + final_node = head + break + else: + seen.add(head) + active_nodes.add(head) + previous_head = head + + if cycle: + break + else: + explored.update(seen) + + else: + assert len(cycle) == 0 + raise nx.exception.NetworkXNoCycle("No cycle found.") + + # We now have a list of edges which ends on a cycle. + # So we need to remove from the beginning edges that are not relevant. + + for i, edge in enumerate(cycle): + tail, head = tailhead(edge) + if tail == final_node: + break + + return cycle[i:] + + +@not_implemented_for("directed") +@not_implemented_for("multigraph") +def minimum_cycle_basis(G, weight=None): + """Returns a minimum weight cycle basis for G + + Minimum weight means a cycle basis for which the total weight + (length for unweighted graphs) of all the cycles is minimum. + + Parameters + ---------- + G : NetworkX Graph + weight: string + name of the edge attribute to use for edge weights + + Returns + ------- + A list of cycle lists. Each cycle list is a list of nodes + which forms a cycle (loop) in G. Note that the nodes are not + necessarily returned in a order by which they appear in the cycle + + Examples + -------- + >>> G = nx.Graph() + >>> nx.add_cycle(G, [0, 1, 2, 3]) + >>> nx.add_cycle(G, [0, 3, 4, 5]) + >>> print([sorted(c) for c in nx.minimum_cycle_basis(G)]) + [[0, 1, 2, 3], [0, 3, 4, 5]] + + References: + [1] Kavitha, Telikepalli, et al. "An O(m^2n) Algorithm for + Minimum Cycle Basis of Graphs." + http://link.springer.com/article/10.1007/s00453-007-9064-z + [2] de Pina, J. 1995. Applications of shortest path methods. + Ph.D. thesis, University of Amsterdam, Netherlands + + See Also + -------- + simple_cycles, cycle_basis + """ + # We first split the graph in connected subgraphs + return sum( + (_min_cycle_basis(G.subgraph(c), weight) for c in nx.connected_components(G)), + [], + ) + + +def _min_cycle_basis(comp, weight): + cb = [] + # We extract the edges not in a spanning tree. We do not really need a + # *minimum* spanning tree. That is why we call the next function with + # weight=None. Depending on implementation, it may be faster as well + spanning_tree_edges = list(nx.minimum_spanning_edges(comp, weight=None, data=False)) + edges_excl = [frozenset(e) for e in comp.edges() if e not in spanning_tree_edges] + N = len(edges_excl) + + # We maintain a set of vectors orthogonal to sofar found cycles + set_orth = [{edge} for edge in edges_excl] + for k in range(N): + # kth cycle is "parallel" to kth vector in set_orth + new_cycle = _min_cycle(comp, set_orth[k], weight=weight) + cb.append(list(set().union(*new_cycle))) + # now update set_orth so that k+1,k+2... th elements are + # orthogonal to the newly found cycle, as per [p. 336, 1] + base = set_orth[k] + set_orth[k + 1 :] = [ + orth ^ base if len(orth & new_cycle) % 2 else orth + for orth in set_orth[k + 1 :] + ] + return cb + + +def _min_cycle(G, orth, weight=None): + """ + Computes the minimum weight cycle in G, + orthogonal to the vector orth as per [p. 338, 1] + """ + T = nx.Graph() + + nodes_idx = {node: idx for idx, node in enumerate(G.nodes())} + idx_nodes = {idx: node for node, idx in nodes_idx.items()} + + nnodes = len(nodes_idx) + + # Add 2 copies of each edge in G to T. If edge is in orth, add cross edge; + # otherwise in-plane edge + for u, v, data in G.edges(data=True): + uidx, vidx = nodes_idx[u], nodes_idx[v] + edge_w = data.get(weight, 1) + if frozenset((u, v)) in orth: + T.add_edges_from( + [(uidx, nnodes + vidx), (nnodes + uidx, vidx)], weight=edge_w + ) + else: + T.add_edges_from( + [(uidx, vidx), (nnodes + uidx, nnodes + vidx)], weight=edge_w + ) + + all_shortest_pathlens = dict(nx.shortest_path_length(T, weight=weight)) + cross_paths_w_lens = { + n: all_shortest_pathlens[n][nnodes + n] for n in range(nnodes) + } + + # Now compute shortest paths in T, which translates to cyles in G + start = min(cross_paths_w_lens, key=cross_paths_w_lens.get) + end = nnodes + start + min_path = nx.shortest_path(T, source=start, target=end, weight="weight") + + # Now we obtain the actual path, re-map nodes in T to those in G + min_path_nodes = [node if node < nnodes else node - nnodes for node in min_path] + # Now remove the edges that occur two times + mcycle_pruned = _path_to_cycle(min_path_nodes) + + return {frozenset((idx_nodes[u], idx_nodes[v])) for u, v in mcycle_pruned} + + +def _path_to_cycle(path): + """ + Removes the edges from path that occur even number of times. + Returns a set of edges + """ + edges = set() + for edge in pairwise(path): + # Toggle whether to keep the current edge. + edges ^= {edge} + return edges diff --git a/shared/package-files/24/24fc40fd29512a3bf66b4d324684924c37d0d195a03a981ad8880f7d96e3841e/pow_compositeexplicitautogradnonfunctional_dispatch.h b/shared/package-files/24/24fc40fd29512a3bf66b4d324684924c37d0d195a03a981ad8880f7d96e3841e/pow_compositeexplicitautogradnonfunctional_dispatch.h new file mode 100644 index 0000000000000000000000000000000000000000..036bfc2116166dc587516768b73662991206605a --- /dev/null +++ b/shared/package-files/24/24fc40fd29512a3bf66b4d324684924c37d0d195a03a981ad8880f7d96e3841e/pow_compositeexplicitautogradnonfunctional_dispatch.h @@ -0,0 +1,27 @@ +#pragma once +// @generated by torchgen/gen.py from DispatchKeyFunction.h + +// NB: The implementing C++ file is RegisterDispatchKey.cpp + +// The only #includes we need are for custom classes that have defaults in the C++ API +#include +#include +#include + +// Forward declarations of any types needed in the operator signatures. +// We can't directly include these classes because it will cause circular include dependencies. +// This file is included by TensorBody.h, which defines the Tensor class. +#include + +namespace at { + +namespace compositeexplicitautogradnonfunctional { + +TORCH_API at::Tensor pow(const at::Tensor & self, const at::Tensor & exponent); +TORCH_API at::Tensor & pow_(at::Tensor & self, const at::Tensor & exponent); +TORCH_API at::Tensor pow(const at::Scalar & self, const at::Tensor & exponent); +TORCH_API at::Tensor pow(const at::Tensor & self, const at::Scalar & exponent); +TORCH_API at::Tensor & pow_(at::Tensor & self, const at::Scalar & exponent); + +} // namespace compositeexplicitautogradnonfunctional +} // namespace at diff --git a/shared/package-files/24/24fcbb8c93242121854e792088489f60cfb8c537236fb24c4642c822364bc34f/_shape.py b/shared/package-files/24/24fcbb8c93242121854e792088489f60cfb8c537236fb24c4642c822364bc34f/_shape.py new file mode 100644 index 0000000000000000000000000000000000000000..4f1204e47c6a20012e729514fdd78424126d45b8 --- /dev/null +++ b/shared/package-files/24/24fcbb8c93242121854e792088489f60cfb8c537236fb24c4642c822364bc34f/_shape.py @@ -0,0 +1,7 @@ +from collections.abc import Sequence +from typing import Union, SupportsIndex + +_Shape = tuple[int, ...] + +# Anything that can be coerced to a shape tuple +_ShapeLike = Union[SupportsIndex, Sequence[SupportsIndex]] diff --git a/shared/package-files/24/24ff340ee3ca593f4fd2ab176b2eae78762eaadbf80a1c9ec834416cc26ea8b0/context.py b/shared/package-files/24/24ff340ee3ca593f4fd2ab176b2eae78762eaadbf80a1c9ec834416cc26ea8b0/context.py new file mode 100644 index 0000000000000000000000000000000000000000..35bd8208c453da23300259f3bd7c9dd123278b1c --- /dev/null +++ b/shared/package-files/24/24ff340ee3ca593f4fd2ab176b2eae78762eaadbf80a1c9ec834416cc26ea8b0/context.py @@ -0,0 +1,455 @@ +import functools + +from collections import namedtuple + +from llvmlite import ir +from numba.core import types, cgutils, errors, config +from numba.core.utils import PYVERSION + + +_NRT_Meminfo_Functions = namedtuple("_NRT_Meminfo_Functions", + ("alloc", + "alloc_dtor", + "alloc_aligned")) + + +_NRT_MEMINFO_SAFE_API = _NRT_Meminfo_Functions("NRT_MemInfo_alloc_safe", + "NRT_MemInfo_alloc_dtor_safe", + "NRT_MemInfo_alloc_safe_aligned") + + +_NRT_MEMINFO_DEFAULT_API = _NRT_Meminfo_Functions("NRT_MemInfo_alloc", + "NRT_MemInfo_alloc_dtor", + "NRT_MemInfo_alloc_aligned") + + +class NRTContext(object): + """ + An object providing access to NRT APIs in the lowering pass. + """ + + def __init__(self, context, enabled): + self._context = context + self._enabled = enabled + # If DEBUG_NRT is set, use the safe function variants which use memset + # to inject a few known bytes into the start of allocated regions. + if config.DEBUG_NRT: + self._meminfo_api = _NRT_MEMINFO_SAFE_API + else: + self._meminfo_api = _NRT_MEMINFO_DEFAULT_API + + def _require_nrt(self): + if not self._enabled: + raise errors.NumbaRuntimeError("NRT required but not enabled") + + def _check_null_result(func): + @functools.wraps(func) + def wrap(self, builder, *args, **kwargs): + memptr = func(self, builder, *args, **kwargs) + msg = "Allocation failed (probably too large)." + cgutils.guard_memory_error(self._context, builder, memptr, msg=msg) + return memptr + return wrap + + @_check_null_result + def allocate(self, builder, size): + """ + Low-level allocate a new memory area of `size` bytes. The result of the + call is checked and if it is NULL, i.e. allocation failed, then a + MemoryError is raised. + """ + return self.allocate_unchecked(builder, size) + + def allocate_unchecked(self, builder, size): + """ + Low-level allocate a new memory area of `size` bytes. Returns NULL to + indicate error/failure to allocate. + """ + self._require_nrt() + + mod = builder.module + fnty = ir.FunctionType(cgutils.voidptr_t, [cgutils.intp_t]) + fn = cgutils.get_or_insert_function(mod, fnty, "NRT_Allocate") + fn.return_value.add_attribute("noalias") + return builder.call(fn, [size]) + + def free(self, builder, ptr): + """ + Low-level free a memory area allocated with allocate(). + """ + self._require_nrt() + + mod = builder.module + fnty = ir.FunctionType(ir.VoidType(), [cgutils.voidptr_t]) + fn = cgutils.get_or_insert_function(mod, fnty, "NRT_Free") + return builder.call(fn, [ptr]) + + @_check_null_result + def meminfo_alloc(self, builder, size): + """ + Allocate a new MemInfo with a data payload of `size` bytes. + + A pointer to the MemInfo is returned. + + The result of the call is checked and if it is NULL, i.e. allocation + failed, then a MemoryError is raised. + """ + return self.meminfo_alloc_unchecked(builder, size) + + def meminfo_alloc_unchecked(self, builder, size): + """ + Allocate a new MemInfo with a data payload of `size` bytes. + + A pointer to the MemInfo is returned. + + Returns NULL to indicate error/failure to allocate. + """ + self._require_nrt() + + mod = builder.module + fnty = ir.FunctionType(cgutils.voidptr_t, [cgutils.intp_t]) + fn = cgutils.get_or_insert_function(mod, fnty, + self._meminfo_api.alloc) + fn.return_value.add_attribute("noalias") + return builder.call(fn, [size]) + + @_check_null_result + def meminfo_alloc_dtor(self, builder, size, dtor): + """ + Allocate a new MemInfo with a data payload of `size` bytes and a + destructor `dtor`. + + A pointer to the MemInfo is returned. + + The result of the call is checked and if it is NULL, i.e. allocation + failed, then a MemoryError is raised. + """ + return self.meminfo_alloc_dtor_unchecked(builder, size, dtor) + + def meminfo_alloc_dtor_unchecked(self, builder, size, dtor): + """ + Allocate a new MemInfo with a data payload of `size` bytes and a + destructor `dtor`. + + A pointer to the MemInfo is returned. + + Returns NULL to indicate error/failure to allocate. + """ + self._require_nrt() + + mod = builder.module + fnty = ir.FunctionType(cgutils.voidptr_t, + [cgutils.intp_t, cgutils.voidptr_t]) + fn = cgutils.get_or_insert_function(mod, fnty, + self._meminfo_api.alloc_dtor) + fn.return_value.add_attribute("noalias") + return builder.call(fn, [size, + builder.bitcast(dtor, cgutils.voidptr_t)]) + + @_check_null_result + def meminfo_alloc_aligned(self, builder, size, align): + """ + Allocate a new MemInfo with an aligned data payload of `size` bytes. + The data pointer is aligned to `align` bytes. `align` can be either + a Python int or a LLVM uint32 value. + + A pointer to the MemInfo is returned. + + The result of the call is checked and if it is NULL, i.e. allocation + failed, then a MemoryError is raised. + """ + return self.meminfo_alloc_aligned_unchecked(builder, size, align) + + def meminfo_alloc_aligned_unchecked(self, builder, size, align): + """ + Allocate a new MemInfo with an aligned data payload of `size` bytes. + The data pointer is aligned to `align` bytes. `align` can be either + a Python int or a LLVM uint32 value. + + A pointer to the MemInfo is returned. + + Returns NULL to indicate error/failure to allocate. + """ + self._require_nrt() + + mod = builder.module + u32 = ir.IntType(32) + fnty = ir.FunctionType(cgutils.voidptr_t, [cgutils.intp_t, u32]) + fn = cgutils.get_or_insert_function(mod, fnty, + self._meminfo_api.alloc_aligned) + fn.return_value.add_attribute("noalias") + if isinstance(align, int): + align = self._context.get_constant(types.uint32, align) + else: + assert align.type == u32, "align must be a uint32" + return builder.call(fn, [size, align]) + + @_check_null_result + def meminfo_new_varsize(self, builder, size): + """ + Allocate a MemInfo pointing to a variable-sized data area. The area + is separately allocated (i.e. two allocations are made) so that + re-allocating it doesn't change the MemInfo's address. + + A pointer to the MemInfo is returned. + + The result of the call is checked and if it is NULL, i.e. allocation + failed, then a MemoryError is raised. + """ + return self.meminfo_new_varsize_unchecked(builder, size) + + def meminfo_new_varsize_unchecked(self, builder, size): + """ + Allocate a MemInfo pointing to a variable-sized data area. The area + is separately allocated (i.e. two allocations are made) so that + re-allocating it doesn't change the MemInfo's address. + + A pointer to the MemInfo is returned. + + Returns NULL to indicate error/failure to allocate. + """ + self._require_nrt() + + mod = builder.module + fnty = ir.FunctionType(cgutils.voidptr_t, [cgutils.intp_t]) + fn = cgutils.get_or_insert_function(mod, fnty, + "NRT_MemInfo_new_varsize") + fn.return_value.add_attribute("noalias") + return builder.call(fn, [size]) + + @_check_null_result + def meminfo_new_varsize_dtor(self, builder, size, dtor): + """ + Like meminfo_new_varsize() but also set the destructor for + cleaning up references to objects inside the allocation. + + A pointer to the MemInfo is returned. + + The result of the call is checked and if it is NULL, i.e. allocation + failed, then a MemoryError is raised. + """ + return self.meminfo_new_varsize_dtor_unchecked(builder, size, dtor) + + def meminfo_new_varsize_dtor_unchecked(self, builder, size, dtor): + """ + Like meminfo_new_varsize() but also set the destructor for + cleaning up references to objects inside the allocation. + + A pointer to the MemInfo is returned. + + Returns NULL to indicate error/failure to allocate. + """ + self._require_nrt() + + mod = builder.module + fnty = ir.FunctionType(cgutils.voidptr_t, + [cgutils.intp_t, cgutils.voidptr_t]) + fn = cgutils.get_or_insert_function( + mod, fnty, "NRT_MemInfo_new_varsize_dtor") + return builder.call(fn, [size, dtor]) + + @_check_null_result + def meminfo_varsize_alloc(self, builder, meminfo, size): + """ + Allocate a new data area for a MemInfo created by meminfo_new_varsize(). + The new data pointer is returned, for convenience. + + Contrary to realloc(), this always allocates a new area and doesn't + copy the old data. This is useful if resizing a container needs + more than simply copying the data area (e.g. for hash tables). + + The old pointer will have to be freed with meminfo_varsize_free(). + + The result of the call is checked and if it is NULL, i.e. allocation + failed, then a MemoryError is raised. + """ + return self.meminfo_varsize_alloc_unchecked(builder, meminfo, size) + + def meminfo_varsize_alloc_unchecked(self, builder, meminfo, size): + """ + Allocate a new data area for a MemInfo created by meminfo_new_varsize(). + The new data pointer is returned, for convenience. + + Contrary to realloc(), this always allocates a new area and doesn't + copy the old data. This is useful if resizing a container needs + more than simply copying the data area (e.g. for hash tables). + + The old pointer will have to be freed with meminfo_varsize_free(). + + Returns NULL to indicate error/failure to allocate. + """ + return self._call_varsize_alloc(builder, meminfo, size, + "NRT_MemInfo_varsize_alloc") + + @_check_null_result + def meminfo_varsize_realloc(self, builder, meminfo, size): + """ + Reallocate a data area allocated by meminfo_new_varsize(). + The new data pointer is returned, for convenience. + + The result of the call is checked and if it is NULL, i.e. allocation + failed, then a MemoryError is raised. + """ + return self.meminfo_varsize_realloc_unchecked(builder, meminfo, size) + + def meminfo_varsize_realloc_unchecked(self, builder, meminfo, size): + """ + Reallocate a data area allocated by meminfo_new_varsize(). + The new data pointer is returned, for convenience. + + Returns NULL to indicate error/failure to allocate. + """ + return self._call_varsize_alloc(builder, meminfo, size, + "NRT_MemInfo_varsize_realloc") + + def meminfo_varsize_free(self, builder, meminfo, ptr): + """ + Free a memory area allocated for a NRT varsize object. + Note this does *not* free the NRT object itself! + """ + self._require_nrt() + + mod = builder.module + fnty = ir.FunctionType(ir.VoidType(), + [cgutils.voidptr_t, cgutils.voidptr_t]) + fn = cgutils.get_or_insert_function(mod, fnty, + "NRT_MemInfo_varsize_free") + return builder.call(fn, (meminfo, ptr)) + + def _call_varsize_alloc(self, builder, meminfo, size, funcname): + self._require_nrt() + + mod = builder.module + fnty = ir.FunctionType(cgutils.voidptr_t, + [cgutils.voidptr_t, cgutils.intp_t]) + fn = cgutils.get_or_insert_function(mod, fnty, funcname) + fn.return_value.add_attribute("noalias") + return builder.call(fn, [meminfo, size]) + + def meminfo_data(self, builder, meminfo): + """ + Given a MemInfo pointer, return a pointer to the allocated data + managed by it. This works for MemInfos allocated with all the + above methods. + """ + self._require_nrt() + + from numba.core.runtime.nrtdynmod import meminfo_data_ty + + mod = builder.module + fn = cgutils.get_or_insert_function(mod, meminfo_data_ty, + "NRT_MemInfo_data_fast") + return builder.call(fn, [meminfo]) + + def get_meminfos(self, builder, ty, val): + """Return a list of *(type, meminfo)* inside the given value. + """ + datamodel = self._context.data_model_manager[ty] + members = datamodel.traverse(builder) + + meminfos = [] + if datamodel.has_nrt_meminfo(): + mi = datamodel.get_nrt_meminfo(builder, val) + meminfos.append((ty, mi)) + + for mtyp, getter in members: + field = getter(val) + inner_meminfos = self.get_meminfos(builder, mtyp, field) + meminfos.extend(inner_meminfos) + return meminfos + + def _call_incref_decref(self, builder, typ, value, funcname): + """Call function of *funcname* on every meminfo found in *value*. + """ + self._require_nrt() + + from numba.core.runtime.nrtdynmod import incref_decref_ty + + meminfos = self.get_meminfos(builder, typ, value) + for _, mi in meminfos: + mod = builder.module + fn = cgutils.get_or_insert_function(mod, incref_decref_ty, + funcname) + # XXX "nonnull" causes a crash in test_dyn_array: can this + # function be called with a NULL pointer? + fn.args[0].add_attribute("noalias") + fn.args[0].add_attribute("captures(none)") + + trace_str = "" + + if config.DEBUG_NRT and config.DEBUG_NRT_STACK_LIMIT: + import io + import traceback + trace = io.StringIO() + traceback.print_stack(limit=config.DEBUG_NRT_STACK_LIMIT + 2, + file=trace) + # The last two stack frames are `_call_incref_decref` + # and `traceback.print_stack` which we ignore. + clean_trace = trace.getvalue().split('\n') + for i, _substr in enumerate(reversed(clean_trace)): + if "_call_incref_decref" in _substr: + break + clean_trace = clean_trace[:-(i + 1)] + + if clean_trace: + trace_str += 'Traceback:' + '\n'.join(clean_trace) + '\n\n' + + mod = builder.module + # Make global constant for format string + fmt_bytes = cgutils.make_bytearray((trace_str + '\00').encode('ascii')) + global_fmt = cgutils.global_constant(mod, "nrt_debug_printf_format", fmt_bytes) + ptr_fmt = builder.bitcast(global_fmt, cgutils.voidptr_t) + builder.call(fn, [mi, ptr_fmt]) + else: + builder.call(fn, [mi]) + + + def incref(self, builder, typ, value): + """ + Recursively incref the given *value* and its members. + """ + self._call_incref_decref(builder, typ, value, "NRT_incref") + + def decref(self, builder, typ, value): + """ + Recursively decref the given *value* and its members. + """ + self._call_incref_decref(builder, typ, value, "NRT_decref") + + def get_nrt_api(self, builder): + """Calls NRT_get_api(), which returns the NRT API function table. + """ + self._require_nrt() + + fnty = ir.FunctionType(cgutils.voidptr_t, ()) + mod = builder.module + fn = cgutils.get_or_insert_function(mod, fnty, "NRT_get_api") + return builder.call(fn, ()) + + def eh_check(self, builder): + """Check if an exception is raised + """ + ctx = self._context + cc = ctx.call_conv + # Inspect the excinfo argument on the function + trystatus = cc.check_try_status(builder) + excinfo = trystatus.excinfo + has_raised = builder.not_(cgutils.is_null(builder, excinfo)) + if PYVERSION < (3, 11): + with builder.if_then(has_raised): + self.eh_end_try(builder) + return has_raised + + def eh_try(self, builder): + """Begin a try-block. + """ + ctx = self._context + cc = ctx.call_conv + cc.set_try_status(builder) + + def eh_end_try(self, builder): + """End a try-block + """ + ctx = self._context + cc = ctx.call_conv + cc.unset_try_status(builder) diff --git a/shared/package-files/37/37010cf0363f09d2dd6f16589c2be291ea684ad281ec8b9bfbbac05fa0312a74/op_coverage.py b/shared/package-files/37/37010cf0363f09d2dd6f16589c2be291ea684ad281ec8b9bfbbac05fa0312a74/op_coverage.py new file mode 100644 index 0000000000000000000000000000000000000000..ab97362a76d24700de472463d7b2ad5054e32070 --- /dev/null +++ b/shared/package-files/37/37010cf0363f09d2dd6f16589c2be291ea684ad281ec8b9bfbbac05fa0312a74/op_coverage.py @@ -0,0 +1,105 @@ +from operator import itemgetter +from typing import List + +from functorch.compile import make_boxed_func + +import torch +import torch.fx +import torch.nn as nn +from torch._functorch.compilers import aot_module +from torch._inductor.decomposition import select_decomp_table +from torch.distributed._tensor import DTensor + + +inductor_decomps = select_decomp_table() + +graphs: List[torch.fx.GraphModule] = [] + + +def fwd_bwd_compiler(fx_g, _): + graphs.append(fx_g) + return make_boxed_func(fx_g) + + +def get_inductor_decomp_graphs(model: nn.Module, args, kwargs): + """ + Obtain forward and backward graphs of a model with inductor decompositions using tracing and aot_module. + + Convenient util to get the fwd and bwd graphs of an arbitrary model + with inductor decompositions. Note that this would simply do tracing + with aot_module and don't ensure correctness. This is useful to track + the ops needed in DTensor. + """ + compiled_mod = aot_module( + model, fw_compiler=fwd_bwd_compiler, decompositions=inductor_decomps + ) + output = compiled_mod(*args, **kwargs) + + if output.ndim != 0: + # if output is not a scalar tensor, by default sum it in order to + # run backward + output = output.sum() + + output.backward() + + # one fwd, one bwd graph + assert len(graphs) == 2 + return graphs + + +def print_op_coverage_summary(model: nn.Module, args, kwargs, *, output_csv=False): + """ + Util to print the operator coverage summary of a certain model with tabulute. + + Must have tabulate module installed. + """ + # python module required for summary + import csv + + from tabulate import tabulate + + fwd_graph, bwd_graph = get_inductor_decomp_graphs(model, args, kwargs) + + op_counts = {} + + for node in fwd_graph.graph.nodes: + if node.op == "call_function" and isinstance( + node.target, torch._ops.OpOverload + ): + if node.target not in op_counts: + op_counts[node.target] = 0 + + op_counts[node.target] += 1 + + for node in bwd_graph.graph.nodes: + if node.op == "call_function" and isinstance( + node.target, torch._ops.OpOverload + ): + if node.target not in op_counts: + op_counts[node.target] = 0 + + op_counts[node.target] += 1 + + op_infos = [] + + for op, count in op_counts.items(): + supported = op in DTensor._op_dispatcher.sharding_propagator.op_to_rules + op_infos.append([op, str(op._schema), count, supported]) + + # sort the op info base on the total count index + count_idx = 2 + op_infos.sort(key=itemgetter(count_idx), reverse=True) + + headers = ["Operator", "Schema", "Total Count", "Supported"] + print(tabulate(op_infos, headers=headers)) + + if output_csv: + # Open a CSV file for writing + with open("op_summary.csv", "w", newline="") as csv_file: + # Create a CSV writer object + csv_writer = csv.writer(csv_file) + + csv_writer.writerow(headers) + # Write each table row to the CSV file + for row in op_infos: + csv_writer.writerow(row) diff --git a/shared/package-files/37/3703582f14357de270b4f8c6e785664a6a3f66d713aad973af4410a699b15943/futhark.py b/shared/package-files/37/3703582f14357de270b4f8c6e785664a6a3f66d713aad973af4410a699b15943/futhark.py new file mode 100644 index 0000000000000000000000000000000000000000..b0efa88afd6fd98257371028656c2a64b3adbf3e --- /dev/null +++ b/shared/package-files/37/3703582f14357de270b4f8c6e785664a6a3f66d713aad973af4410a699b15943/futhark.py @@ -0,0 +1,106 @@ +""" + pygments.lexers.futhark + ~~~~~~~~~~~~~~~~~~~~~~~ + + Lexer for the Futhark language + + :copyright: Copyright 2006-2023 by the Pygments team, see AUTHORS. + :license: BSD, see LICENSE for details. +""" + +from pygments.lexer import RegexLexer, bygroups +from pygments.token import Comment, Operator, Keyword, Name, String, \ + Number, Punctuation, Whitespace +from pygments import unistring as uni + +__all__ = ['FutharkLexer'] + + +class FutharkLexer(RegexLexer): + """ + A Futhark lexer + + .. versionadded:: 2.8 + """ + name = 'Futhark' + url = 'https://futhark-lang.org/' + aliases = ['futhark'] + filenames = ['*.fut'] + mimetypes = ['text/x-futhark'] + + num_types = ('i8', 'i16', 'i32', 'i64', 'u8', 'u16', 'u32', 'u64', 'f32', 'f64') + + other_types = ('bool', ) + + reserved = ('if', 'then', 'else', 'def', 'let', 'loop', 'in', 'with', + 'type', 'type~', 'type^', + 'val', 'entry', 'for', 'while', 'do', 'case', 'match', + 'include', 'import', 'module', 'open', 'local', 'assert', '_') + + ascii = ('NUL', 'SOH', '[SE]TX', 'EOT', 'ENQ', 'ACK', + 'BEL', 'BS', 'HT', 'LF', 'VT', 'FF', 'CR', 'S[OI]', 'DLE', + 'DC[1-4]', 'NAK', 'SYN', 'ETB', 'CAN', + 'EM', 'SUB', 'ESC', '[FGRU]S', 'SP', 'DEL') + + num_postfix = r'(%s)?' % '|'.join(num_types) + + identifier_re = '[a-zA-Z_][a-zA-Z_0-9\']*' + + # opstart_re = '+\-\*/%=\!><\|&\^' + + tokens = { + 'root': [ + (r'--(.*?)$', Comment.Single), + (r'\s+', Whitespace), + (r'\(\)', Punctuation), + (r'\b(%s)(?!\')\b' % '|'.join(reserved), Keyword.Reserved), + (r'\b(%s)(?!\')\b' % '|'.join(num_types + other_types), Keyword.Type), + + # Identifiers + (r'#\[([a-zA-Z_\(\) ]*)\]', Comment.Preproc), + (r'[#!]?(%s\.)*%s' % (identifier_re, identifier_re), Name), + + (r'\\', Operator), + (r'[-+/%=!><|&*^][-+/%=!><|&*^.]*', Operator), + (r'[][(),:;`{}?.\'~^]', Punctuation), + + # Numbers + (r'0[xX]_*[\da-fA-F](_*[\da-fA-F])*_*[pP][+-]?\d(_*\d)*' + num_postfix, + Number.Float), + (r'0[xX]_*[\da-fA-F](_*[\da-fA-F])*\.[\da-fA-F](_*[\da-fA-F])*' + r'(_*[pP][+-]?\d(_*\d)*)?' + num_postfix, Number.Float), + (r'\d(_*\d)*_*[eE][+-]?\d(_*\d)*' + num_postfix, Number.Float), + (r'\d(_*\d)*\.\d(_*\d)*(_*[eE][+-]?\d(_*\d)*)?' + num_postfix, Number.Float), + (r'0[bB]_*[01](_*[01])*' + num_postfix, Number.Bin), + (r'0[xX]_*[\da-fA-F](_*[\da-fA-F])*' + num_postfix, Number.Hex), + (r'\d(_*\d)*' + num_postfix, Number.Integer), + + # Character/String Literals + (r"'", String.Char, 'character'), + (r'"', String, 'string'), + # Special + (r'\[[a-zA-Z_\d]*\]', Keyword.Type), + (r'\(\)', Name.Builtin), + ], + 'character': [ + # Allows multi-chars, incorrectly. + (r"[^\\']'", String.Char, '#pop'), + (r"\\", String.Escape, 'escape'), + ("'", String.Char, '#pop'), + ], + 'string': [ + (r'[^\\"]+', String), + (r"\\", String.Escape, 'escape'), + ('"', String, '#pop'), + ], + + 'escape': [ + (r'[abfnrtv"\'&\\]', String.Escape, '#pop'), + (r'\^[][' + uni.Lu + r'@^_]', String.Escape, '#pop'), + ('|'.join(ascii), String.Escape, '#pop'), + (r'o[0-7]+', String.Escape, '#pop'), + (r'x[\da-fA-F]+', String.Escape, '#pop'), + (r'\d+', String.Escape, '#pop'), + (r'(\s+)(\\)', bygroups(Whitespace, String.Escape), '#pop'), + ], + } diff --git a/shared/package-files/37/37037309f047091fcdec34b03b5731114b89d4514b7f5f8759284f5b8d9e2533/mkldnn_adaptive_avg_pool2d_backward_native.h b/shared/package-files/37/37037309f047091fcdec34b03b5731114b89d4514b7f5f8759284f5b8d9e2533/mkldnn_adaptive_avg_pool2d_backward_native.h new file mode 100644 index 0000000000000000000000000000000000000000..11600e74144250ff9709b24ee035b82287d0c1e0 --- /dev/null +++ b/shared/package-files/37/37037309f047091fcdec34b03b5731114b89d4514b7f5f8759284f5b8d9e2533/mkldnn_adaptive_avg_pool2d_backward_native.h @@ -0,0 +1,22 @@ +#pragma once + +// @generated by torchgen/gen.py from NativeFunction.h + +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include + + +namespace at { +namespace native { +TORCH_API at::Tensor & mkldnn_adaptive_avg_pool2d_backward_out(const at::Tensor & grad_output, const at::Tensor & self, at::Tensor & out); +TORCH_API at::Tensor mkldnn_adaptive_avg_pool2d_backward(const at::Tensor & grad_output, const at::Tensor & self); +} // namespace native +} // namespace at diff --git a/shared/package-files/37/3708104975989da3a6e3bd7b736bfdd803fc8ebc3475abf37222435737832231/pkcs12.pyi b/shared/package-files/37/3708104975989da3a6e3bd7b736bfdd803fc8ebc3475abf37222435737832231/pkcs12.pyi new file mode 100644 index 0000000000000000000000000000000000000000..101eb26fe243673e678720e3eabb12bc7bac9f30 --- /dev/null +++ b/shared/package-files/37/3708104975989da3a6e3bd7b736bfdd803fc8ebc3475abf37222435737832231/pkcs12.pyi @@ -0,0 +1,18 @@ +from typing import Any, List, Optional, Tuple, Union + +from cryptography.hazmat.primitives.asymmetric.dsa import DSAPrivateKeyWithSerialization +from cryptography.hazmat.primitives.asymmetric.ec import EllipticCurvePrivateKeyWithSerialization +from cryptography.hazmat.primitives.asymmetric.rsa import RSAPrivateKeyWithSerialization +from cryptography.hazmat.primitives.serialization import KeySerializationEncryption +from cryptography.x509 import Certificate + +def load_key_and_certificates( + data: bytes, password: Optional[bytes], backend: Optional[Any] = ... +) -> Tuple[Optional[Any], Optional[Certificate], List[Certificate]]: ... +def serialize_key_and_certificates( + name: bytes, + key: Union[RSAPrivateKeyWithSerialization, EllipticCurvePrivateKeyWithSerialization, DSAPrivateKeyWithSerialization], + cert: Optional[Certificate], + cas: Optional[List[Certificate]], + enc: KeySerializationEncryption, +) -> bytes: ... diff --git a/shared/package-files/37/370d049fb908f4632371adbceda86dd4735a4e3045bfcba5ab4135ae0b693ba4/testutil.py b/shared/package-files/37/370d049fb908f4632371adbceda86dd4735a4e3045bfcba5ab4135ae0b693ba4/testutil.py new file mode 100644 index 0000000000000000000000000000000000000000..5b036ac29665744710e5552b6fe999bb63cf062d --- /dev/null +++ b/shared/package-files/37/370d049fb908f4632371adbceda86dd4735a4e3045bfcba5ab4135ae0b693ba4/testutil.py @@ -0,0 +1,358 @@ +from sympy.combinatorics import Permutation +from sympy.combinatorics.util import _distribute_gens_by_base + +rmul = Permutation.rmul + + +def _cmp_perm_lists(first, second): + """ + Compare two lists of permutations as sets. + + Explanation + =========== + + This is used for testing purposes. Since the array form of a + permutation is currently a list, Permutation is not hashable + and cannot be put into a set. + + Examples + ======== + + >>> from sympy.combinatorics.permutations import Permutation + >>> from sympy.combinatorics.testutil import _cmp_perm_lists + >>> a = Permutation([0, 2, 3, 4, 1]) + >>> b = Permutation([1, 2, 0, 4, 3]) + >>> c = Permutation([3, 4, 0, 1, 2]) + >>> ls1 = [a, b, c] + >>> ls2 = [b, c, a] + >>> _cmp_perm_lists(ls1, ls2) + True + + """ + return {tuple(a) for a in first} == \ + {tuple(a) for a in second} + + +def _naive_list_centralizer(self, other, af=False): + from sympy.combinatorics.perm_groups import PermutationGroup + """ + Return a list of elements for the centralizer of a subgroup/set/element. + + Explanation + =========== + + This is a brute force implementation that goes over all elements of the + group and checks for membership in the centralizer. It is used to + test ``.centralizer()`` from ``sympy.combinatorics.perm_groups``. + + Examples + ======== + + >>> from sympy.combinatorics.testutil import _naive_list_centralizer + >>> from sympy.combinatorics.named_groups import DihedralGroup + >>> D = DihedralGroup(4) + >>> _naive_list_centralizer(D, D) + [Permutation([0, 1, 2, 3]), Permutation([2, 3, 0, 1])] + + See Also + ======== + + sympy.combinatorics.perm_groups.centralizer + + """ + from sympy.combinatorics.permutations import _af_commutes_with + if hasattr(other, 'generators'): + elements = list(self.generate_dimino(af=True)) + gens = [x._array_form for x in other.generators] + commutes_with_gens = lambda x: all(_af_commutes_with(x, gen) for gen in gens) + centralizer_list = [] + if not af: + for element in elements: + if commutes_with_gens(element): + centralizer_list.append(Permutation._af_new(element)) + else: + for element in elements: + if commutes_with_gens(element): + centralizer_list.append(element) + return centralizer_list + elif hasattr(other, 'getitem'): + return _naive_list_centralizer(self, PermutationGroup(other), af) + elif hasattr(other, 'array_form'): + return _naive_list_centralizer(self, PermutationGroup([other]), af) + + +def _verify_bsgs(group, base, gens): + """ + Verify the correctness of a base and strong generating set. + + Explanation + =========== + + This is a naive implementation using the definition of a base and a strong + generating set relative to it. There are other procedures for + verifying a base and strong generating set, but this one will + serve for more robust testing. + + Examples + ======== + + >>> from sympy.combinatorics.named_groups import AlternatingGroup + >>> from sympy.combinatorics.testutil import _verify_bsgs + >>> A = AlternatingGroup(4) + >>> A.schreier_sims() + >>> _verify_bsgs(A, A.base, A.strong_gens) + True + + See Also + ======== + + sympy.combinatorics.perm_groups.PermutationGroup.schreier_sims + + """ + from sympy.combinatorics.perm_groups import PermutationGroup + strong_gens_distr = _distribute_gens_by_base(base, gens) + current_stabilizer = group + for i in range(len(base)): + candidate = PermutationGroup(strong_gens_distr[i]) + if current_stabilizer.order() != candidate.order(): + return False + current_stabilizer = current_stabilizer.stabilizer(base[i]) + if current_stabilizer.order() != 1: + return False + return True + + +def _verify_centralizer(group, arg, centr=None): + """ + Verify the centralizer of a group/set/element inside another group. + + This is used for testing ``.centralizer()`` from + ``sympy.combinatorics.perm_groups`` + + Examples + ======== + + >>> from sympy.combinatorics.named_groups import (SymmetricGroup, + ... AlternatingGroup) + >>> from sympy.combinatorics.perm_groups import PermutationGroup + >>> from sympy.combinatorics.permutations import Permutation + >>> from sympy.combinatorics.testutil import _verify_centralizer + >>> S = SymmetricGroup(5) + >>> A = AlternatingGroup(5) + >>> centr = PermutationGroup([Permutation([0, 1, 2, 3, 4])]) + >>> _verify_centralizer(S, A, centr) + True + + See Also + ======== + + _naive_list_centralizer, + sympy.combinatorics.perm_groups.PermutationGroup.centralizer, + _cmp_perm_lists + + """ + if centr is None: + centr = group.centralizer(arg) + centr_list = list(centr.generate_dimino(af=True)) + centr_list_naive = _naive_list_centralizer(group, arg, af=True) + return _cmp_perm_lists(centr_list, centr_list_naive) + + +def _verify_normal_closure(group, arg, closure=None): + from sympy.combinatorics.perm_groups import PermutationGroup + """ + Verify the normal closure of a subgroup/subset/element in a group. + + This is used to test + sympy.combinatorics.perm_groups.PermutationGroup.normal_closure + + Examples + ======== + + >>> from sympy.combinatorics.named_groups import (SymmetricGroup, + ... AlternatingGroup) + >>> from sympy.combinatorics.testutil import _verify_normal_closure + >>> S = SymmetricGroup(3) + >>> A = AlternatingGroup(3) + >>> _verify_normal_closure(S, A, closure=A) + True + + See Also + ======== + + sympy.combinatorics.perm_groups.PermutationGroup.normal_closure + + """ + if closure is None: + closure = group.normal_closure(arg) + conjugates = set() + if hasattr(arg, 'generators'): + subgr_gens = arg.generators + elif hasattr(arg, '__getitem__'): + subgr_gens = arg + elif hasattr(arg, 'array_form'): + subgr_gens = [arg] + for el in group.generate_dimino(): + for gen in subgr_gens: + conjugates.add(gen ^ el) + naive_closure = PermutationGroup(list(conjugates)) + return closure.is_subgroup(naive_closure) + + +def canonicalize_naive(g, dummies, sym, *v): + """ + Canonicalize tensor formed by tensors of the different types. + + Explanation + =========== + + sym_i symmetry under exchange of two component tensors of type `i` + None no symmetry + 0 commuting + 1 anticommuting + + Parameters + ========== + + g : Permutation representing the tensor. + dummies : List of dummy indices. + msym : Symmetry of the metric. + v : A list of (base_i, gens_i, n_i, sym_i) for tensors of type `i`. + base_i, gens_i BSGS for tensors of this type + n_i number of tensors of type `i` + + Returns + ======= + + Returns 0 if the tensor is zero, else returns the array form of + the permutation representing the canonical form of the tensor. + + Examples + ======== + + >>> from sympy.combinatorics.testutil import canonicalize_naive + >>> from sympy.combinatorics.tensor_can import get_symmetric_group_sgs + >>> from sympy.combinatorics import Permutation + >>> g = Permutation([1, 3, 2, 0, 4, 5]) + >>> base2, gens2 = get_symmetric_group_sgs(2) + >>> canonicalize_naive(g, [2, 3], 0, (base2, gens2, 2, 0)) + [0, 2, 1, 3, 4, 5] + """ + from sympy.combinatorics.perm_groups import PermutationGroup + from sympy.combinatorics.tensor_can import gens_products, dummy_sgs + from sympy.combinatorics.permutations import _af_rmul + v1 = [] + for i in range(len(v)): + base_i, gens_i, n_i, sym_i = v[i] + v1.append((base_i, gens_i, [[]]*n_i, sym_i)) + size, sbase, sgens = gens_products(*v1) + dgens = dummy_sgs(dummies, sym, size-2) + if isinstance(sym, int): + num_types = 1 + dummies = [dummies] + sym = [sym] + else: + num_types = len(sym) + dgens = [] + for i in range(num_types): + dgens.extend(dummy_sgs(dummies[i], sym[i], size - 2)) + S = PermutationGroup(sgens) + D = PermutationGroup([Permutation(x) for x in dgens]) + dlist = list(D.generate(af=True)) + g = g.array_form + st = set() + for s in S.generate(af=True): + h = _af_rmul(g, s) + for d in dlist: + q = tuple(_af_rmul(d, h)) + st.add(q) + a = list(st) + a.sort() + prev = (0,)*size + for h in a: + if h[:-2] == prev[:-2]: + if h[-1] != prev[-1]: + return 0 + prev = h + return list(a[0]) + + +def graph_certificate(gr): + """ + Return a certificate for the graph + + Parameters + ========== + + gr : adjacency list + + Explanation + =========== + + The graph is assumed to be unoriented and without + external lines. + + Associate to each vertex of the graph a symmetric tensor with + number of indices equal to the degree of the vertex; indices + are contracted when they correspond to the same line of the graph. + The canonical form of the tensor gives a certificate for the graph. + + This is not an efficient algorithm to get the certificate of a graph. + + Examples + ======== + + >>> from sympy.combinatorics.testutil import graph_certificate + >>> gr1 = {0:[1, 2, 3, 5], 1:[0, 2, 4], 2:[0, 1, 3, 4], 3:[0, 2, 4], 4:[1, 2, 3, 5], 5:[0, 4]} + >>> gr2 = {0:[1, 5], 1:[0, 2, 3, 4], 2:[1, 3, 5], 3:[1, 2, 4, 5], 4:[1, 3, 5], 5:[0, 2, 3, 4]} + >>> c1 = graph_certificate(gr1) + >>> c2 = graph_certificate(gr2) + >>> c1 + [0, 2, 4, 6, 1, 8, 10, 12, 3, 14, 16, 18, 5, 9, 15, 7, 11, 17, 13, 19, 20, 21] + >>> c1 == c2 + True + """ + from sympy.combinatorics.permutations import _af_invert + from sympy.combinatorics.tensor_can import get_symmetric_group_sgs, canonicalize + items = list(gr.items()) + items.sort(key=lambda x: len(x[1]), reverse=True) + pvert = [x[0] for x in items] + pvert = _af_invert(pvert) + + # the indices of the tensor are twice the number of lines of the graph + num_indices = 0 + for v, neigh in items: + num_indices += len(neigh) + # associate to each vertex its indices; for each line + # between two vertices assign the + # even index to the vertex which comes first in items, + # the odd index to the other vertex + vertices = [[] for i in items] + i = 0 + for v, neigh in items: + for v2 in neigh: + if pvert[v] < pvert[v2]: + vertices[pvert[v]].append(i) + vertices[pvert[v2]].append(i+1) + i += 2 + g = [] + for v in vertices: + g.extend(v) + assert len(g) == num_indices + g += [num_indices, num_indices + 1] + size = num_indices + 2 + assert sorted(g) == list(range(size)) + g = Permutation(g) + vlen = [0]*(len(vertices[0])+1) + for neigh in vertices: + vlen[len(neigh)] += 1 + v = [] + for i in range(len(vlen)): + n = vlen[i] + if n: + base, gens = get_symmetric_group_sgs(i) + v.append((base, gens, n, 0)) + v.reverse() + dummies = list(range(num_indices)) + can = canonicalize(g, dummies, 0, *v) + return can diff --git a/shared/package-files/37/370d51f155f0eef2ff134877749cb7a5dc429992e0a48b4ff781788b43ad23ab/_scatter.py b/shared/package-files/37/370d51f155f0eef2ff134877749cb7a5dc429992e0a48b4ff781788b43ad23ab/_scatter.py new file mode 100644 index 0000000000000000000000000000000000000000..9be4cd416ab333564cef4fc5dd9a8bc6589d883a --- /dev/null +++ b/shared/package-files/37/370d51f155f0eef2ff134877749cb7a5dc429992e0a48b4ff781788b43ad23ab/_scatter.py @@ -0,0 +1,859 @@ +from __future__ import annotations + +import typing +import warnings +from typing import Any, Literal + +import matplotlib +import matplotlib.pyplot as plt +import numpy as np +import pandas as pd +from matplotlib.markers import MarkerStyle + +from .._explanation import Explanation +from ..utils import approximate_interactions, convert_name +from ..utils._exceptions import DimensionError +from ..utils._general import encode_array_if_needed +from . import colors +from ._labels import labels +from ._utils import AxisLimitSpec, parse_axis_limit + + +# TODO: Make the color bar a one-sided beeswarm plot so we can see the density along the color axis +def scatter( + shap_values: Explanation, + color: str | Explanation | None = "#1E88E5", + hist: bool = True, + axis_color="#333333", + cmap=colors.red_blue, + dot_size=16, + x_jitter: float | Literal["auto"] = "auto", + alpha: float = 1.0, + title: str | None = None, + xmin: AxisLimitSpec = None, + xmax: AxisLimitSpec = None, + ymin: AxisLimitSpec = None, + ymax: AxisLimitSpec = None, + overlay: dict[str, Any] | None = None, + ax: plt.Axes | None = None, + ylabel: str = "SHAP value", + show: bool = True, +): + """Create a SHAP dependence scatter plot, optionally colored by an interaction feature. + + Plots the value of the feature on the x-axis and the SHAP value of the same feature + on the y-axis. This shows how the model depends on the given feature, and is like a + richer extension of classical partial dependence plots. Vertical dispersion of the + data points represents interaction effects. Grey ticks along the y-axis are data + points where the feature's value was NaN. + + Note that if you want to change the data being displayed, you can update the + ``shap_values.display_features`` attribute and it will then be used for plotting instead of + ``shap_values.data``. + + Parameters + ---------- + shap_values : shap.Explanation + Typically a single column of an :class:`.Explanation` object + (i.e. ``shap_values[:, "Feature A"]``). + + Alternatively, pass multiple columns to create several subplots + (i.e. ``shap_values[:, ["Feature A", "Feature B"]]``). + + color : string or shap.Explanation, optional + How to color the scatter plot points. This can be a fixed color string, or an + :class:`.Explanation` object. + + If it is an :class:`.Explanation` object, then the scatter plot points are + colored by the feature that seems to have the strongest interaction effect with + the feature given by the ``shap_values`` argument. This is calculated using + :func:`shap.utils.approximate_interactions`. + + If only a single column of an :class:`.Explanation` object is passed, then that + feature column will be used to color the data points. + + hist : bool + Whether to show a light histogram along the x-axis to show the density of the + data. Note that the histogram is normalized such that if all the points were in + a single bin, then that bin would span the full height of the plot. Defaults to + ``True``. + + x_jitter : 'auto' or float + Adds random jitter to feature values by specifying a float between 0 to 1. May + increase plot readability when a feature is discrete. By default, ``x_jitter`` + is chosen based on auto-detection of categorical features. + + title: str, optional + Plot title. + + alpha : float + The transparency of the data points (between 0 and 1). This can be useful to + show the density of the data points when using a large dataset. + + xmin, xmax, ymin, ymax : float, string, aggregated Explanation or None + Desired axis limits. Can be a float to specify a fixed limit. + + It can be a string of the format ``"percentile(float)"`` to denote that + percentile of the feature's value. + + It can also be an aggregated column of a single column of an :class:`.Explanation`, + such as ``explanation[:, "feature_name"].percentile(20)``. + + overlay: dict, optional + Optional dictionary of up to three additional curves to overlay as line plots. + + The dictionary maps a curve name to a list of (xvalues, yvalues) pairs, where + there is one pair for each feature to be plotted. + + ax : matplotlib Axes, optional + Optionally specify an existing :external+mpl:class:`matplotlib.axes.Axes` object, into which + the plot will be placed. + + Only supported when plotting a single feature. + + show : bool + Whether :external+mpl:func:`matplotlib.pyplot.show()` is called before returning. + + Setting this to ``False`` allows the plot to be customized further after it + has been created. + + Returns + ------- + ax : matplotlib Axes object + Returns the :external+mpl:class:`~matplotlib.axes.Axes` object with the plot drawn onto it. Only + returned if ``show=False``. + + Examples + -------- + See `scatter plot examples `_. + + """ + if not isinstance(shap_values, Explanation): + raise TypeError("The shap_values parameter must be a shap.Explanation object!") + + # see if we are plotting multiple columns + if not isinstance(shap_values.feature_names, str) and len(shap_values.feature_names) > 0: + if ax is not None: + raise ValueError("The ax parameter is not supported when plotting multiple features") + # Define order of columns (features) to plot based on average shap value + inds = np.argsort(np.abs(shap_values.values).mean(0)) + ymin = parse_axis_limit(ymin, shap_values.values, is_shap_axis=True) + ymax = parse_axis_limit(ymax, shap_values.values, is_shap_axis=True) + ymin, ymax = _suggest_buffered_limits(ymin, ymax, shap_values.values) + _ = plt.subplots(1, len(inds), figsize=(min(6 * len(inds), 15), 5)) + for i in inds: + ax = plt.subplot(1, len(inds), i + 1) + scatter(shap_values[:, i], color=color, show=False, ax=ax, ymin=ymin, ymax=ymax) + if overlay is not None: + line_styles = ["solid", "dotted", "dashed"] + for j, name in enumerate(overlay): + vals = overlay[name] + if isinstance(vals[i][0][0], (float, int)): + plt.plot(vals[i][0], vals[i][1], color="#000000", linestyle=line_styles[j], label=name) + if i == 0: + ax.set_ylabel(ylabel) + else: + ax.set_ylabel("") + ax.set_yticks([]) + ax.spines["left"].set_visible(False) + if overlay is not None: + plt.legend() + if show: + plt.show() + return + + if len(shap_values.shape) != 1: + raise DimensionError( + "The passed Explanation object has multiple columns. Please pass a single feature column to " + "shap.plots.scatter like: shap_values[:, column]" + ) + + # this unpacks the explanation object for the code that was written earlier + feature_names = [shap_values.feature_names] + ind: int = 0 + shap_values_arr = shap_values.values.reshape(-1, 1) + features = shap_values.data.reshape(-1, 1) + if shap_values.display_data is None: + display_features = features + else: + display_features = shap_values.display_data.reshape(-1, 1) + interaction_index: str | int | None = None + + # wrap np.arrays as Explanations + if isinstance(color, np.ndarray): + color = Explanation(values=color, base_values=None, data=color) + + # TODO: This stacking could be avoided if we use the new shap.utils.potential_interactions function + if isinstance(color, Explanation): + shap_values2 = color + if issubclass(type(shap_values2.feature_names), (str, int)): + feature_names.append(shap_values2.feature_names) + shap_values_arr = np.hstack([shap_values_arr, shap_values2.values.reshape(-1, len(feature_names) - 1)]) + features = np.hstack([features, shap_values2.data.reshape(-1, len(feature_names) - 1)]) + if shap_values2.display_data is None: + display_features = np.hstack([display_features, shap_values2.data.reshape(-1, len(feature_names) - 1)]) + else: + display_features = np.hstack( + [display_features, shap_values2.display_data.reshape(-1, len(feature_names) - 1)] + ) + else: + feature_names2 = np.array(shap_values2.feature_names) + mask = ~(feature_names[0] == feature_names2) + feature_names.extend(feature_names2[mask]) + shap_values_arr = np.hstack([shap_values_arr, shap_values2.values[:, mask]]) + features = np.hstack([features, shap_values2.data[:, mask]]) + if shap_values2.display_data is None: + display_features = np.hstack([display_features, shap_values2.data[:, mask]]) + else: + display_features = np.hstack([display_features, shap_values2.display_data[:, mask]]) + color = None + interaction_index = "auto" + + if isinstance(shap_values_arr, list): + raise TypeError( + "The passed shap_values_arr are a list not an array! If you have a list of explanations try " + "passing shap_values_arr[0] instead to explain the first output class of a multi-output model." + ) + + # convert from DataFrames if we got any + if isinstance(features, pd.DataFrame): + if feature_names is None: + feature_names = features.columns + features = features.values + + if feature_names is None: + feature_names = [labels["FEATURE"] % str(i) for i in range(shap_values_arr.shape[1])] + + # allow vectors to be passed + if len(shap_values_arr.shape) == 1: + shap_values_arr = np.reshape(shap_values_arr, (len(shap_values_arr), 1)) + if len(features.shape) == 1: + features = np.reshape(features, (len(features), 1)) + + # pick jitter for categorical features + if x_jitter == "auto": + x_jitter = _suggest_x_jitter(features[:, ind]) + + # guess what other feature as the stongest interaction with the plotted feature + if interaction_index == "auto": + interaction_index = approximate_interactions(ind, shap_values_arr, features)[0] + interaction_index = convert_name(interaction_index, shap_values_arr, feature_names) + categorical_interaction = False + + # create a matplotlib figure, if `ax` hasn't been specified. + if ax is None: + figsize = (7.5, 5) if interaction_index != ind and interaction_index is not None else (6, 5) + _, ax = plt.subplots(figsize=figsize) + + assert shap_values_arr.shape[0] == features.shape[0], ( + "'shap_values_arr' and 'features' values must have the same number of rows!" + ) + assert shap_values_arr.shape[1] == features.shape[1], ( + "'shap_values_arr' must have the same number of columns as 'features'!" + ) + + # get both the raw and display feature values + oinds = np.arange( + shap_values_arr.shape[0] + ) # we randomize the ordering so plotting overlaps are not related to data ordering + np.random.shuffle(oinds) + xv = encode_array_if_needed(features[oinds, ind]) + xd = display_features[oinds, ind] + + s = shap_values_arr[oinds, ind] + if isinstance(xd[0], str): + name_map = {} + for i in range(len(xv)): + name_map[xd[i]] = xv[i] + xnames = list(name_map.keys()) + + # allow a single feature name to be passed alone + if isinstance(feature_names, str): + feature_names = [feature_names] + name = feature_names[ind] + + # get both the raw and display color values + color_norm = None + if interaction_index is not None: + interaction_feature_values = encode_array_if_needed(features[:, interaction_index]) + cv = interaction_feature_values + cd = display_features[:, interaction_index] + clow = np.nanpercentile(cv.astype(float), 5) + chigh = np.nanpercentile(cv.astype(float), 95) + if clow == chigh: + clow = np.nanmin(cv.astype(float)) + chigh = np.nanmax(cv.astype(float)) + if isinstance(cd[0], str): + cname_map = {} + for i in range(len(cv)): + cname_map[cd[i]] = cv[i] + cnames = list(cname_map.keys()) + categorical_interaction = True + elif clow % 1 == 0 and chigh % 1 == 0 and chigh - clow < 10: + categorical_interaction = True + + # discritize colors for categorical features + if categorical_interaction and clow != chigh: + clow = np.nanmin(cv.astype(float)) + chigh = np.nanmax(cv.astype(float)) + bounds = np.linspace(clow, chigh, min(int(chigh - clow + 2), cmap.N - 1)) + color_norm = matplotlib.colors.BoundaryNorm(bounds, cmap.N - 1) + + # optionally add jitter to feature values + xv_no_jitter = xv.copy() + if x_jitter > 0: + if x_jitter > 1: + x_jitter = 1 + xvals = xv.copy() + if isinstance(xvals[0], float): + xvals = xvals.astype(float) + xvals = xvals[~np.isnan(xvals)] + xvals = np.unique(xvals) # returns a sorted array + if len(xvals) >= 2: + smallest_diff = np.min(np.diff(xvals)) + jitter_amount = x_jitter * smallest_diff + xv += (np.random.random_sample(size=len(xv)) * jitter_amount) - (jitter_amount / 2) + + # the actual scatter plot, TODO: adapt the dot_size to the number of data points? + xv_nan = np.isnan(xv) + xv_notnan = np.invert(xv_nan) + if interaction_index is not None: + # plot the nan values in the interaction feature as grey + cvals = encode_array_if_needed(features[oinds, interaction_index]).astype(np.float64) + cvals_imp = cvals.copy() + cvals_imp[np.isnan(cvals)] = (clow + chigh) / 2.0 + cvals[cvals_imp > chigh] = chigh + cvals[cvals_imp < clow] = clow + if color_norm is None: + vmin = clow + vmax = chigh + else: + vmin = vmax = None + ax.axhline(0, color="#888888", lw=0.5, dashes=(1, 5), zorder=-1) + p = ax.scatter( + xv[xv_notnan], + s[xv_notnan], + s=dot_size, + linewidth=0, + c=cvals[xv_notnan], + cmap=cmap, + alpha=alpha, + vmin=vmin, + vmax=vmax, + norm=color_norm, + rasterized=len(xv) > 500, + ) + p.set_array(cvals[xv_notnan]) + else: + p = ax.scatter(xv, s, s=dot_size, linewidth=0, color=color, alpha=alpha, rasterized=len(xv) > 500) + + if interaction_index != ind and interaction_index is not None: + # draw the color bar + if isinstance(cd[0], str): + tick_positions = np.array([cname_map[n] for n in cnames]) + tick_positions *= 1 - 1 / len(cnames) + tick_positions += 0.5 * (chigh - clow) / (chigh - clow + 1) + cb = plt.colorbar(p, ticks=tick_positions, ax=ax, aspect=80) + cb.set_ticklabels(cnames) + else: + cb = plt.colorbar(p, ax=ax, aspect=80) + + # Type narrowing for mypy + assert isinstance(interaction_index, (int, np.integer)), f"Unexpected {type(interaction_index)=}" + cb.set_label(feature_names[interaction_index], size=13) + cb.ax.tick_params(labelsize=11) + if categorical_interaction: + cb.ax.tick_params(length=0) + cb.set_alpha(1) + cb.outline.set_visible(False) # type: ignore + # bbox = cb.ax.get_window_extent().transformed(fig.dpi_scale_trans.inverted()) + # cb.ax.set_aspect((bbox.height - 0.7) * 20) + + xmin = parse_axis_limit(xmin, xv, is_shap_axis=False) + xmax = parse_axis_limit(xmax, xv, is_shap_axis=False) + ymin = parse_axis_limit(ymin, s, is_shap_axis=True) + ymax = parse_axis_limit(ymax, s, is_shap_axis=True) + if xmin is not None or xmax is not None: + ax.set_xlim(*_suggest_buffered_limits(xmin, xmax, xv)) + if ymin is not None or ymax is not None: + ax.set_ylim(*_suggest_buffered_limits(ymin, ymax, s)) + + # plot any nan feature values as tick marks along the y-axis + xlim = ax.get_xlim() + if interaction_index is not None: + p = ax.scatter( + xlim[0] * np.ones(xv_nan.sum()), + s[xv_nan], + marker=MarkerStyle(1), + linewidth=2, + c=cvals_imp[xv_nan], + cmap=cmap, + alpha=alpha, + vmin=clow, + vmax=chigh, + ) + p.set_array(cvals[xv_nan]) + else: + ax.scatter( + xlim[0] * np.ones(xv_nan.sum()), s[xv_nan], marker=MarkerStyle(1), linewidth=2, color=color, alpha=alpha + ) + ax.set_xlim(xlim) + + # the histogram of the data + if hist: + _plot_histogram(ax, xv, xv_no_jitter) + + plt.sca(ax) + + # make the plot more readable + ax.set_xlabel(name, color=axis_color, fontsize=13) + ax.set_ylabel(labels["VALUE_FOR"] % name, color=axis_color, fontsize=13) + if title is not None: + ax.set_title(title, color=axis_color, fontsize=13) + ax.xaxis.set_ticks_position("bottom") + ax.yaxis.set_ticks_position("left") + ax.spines["right"].set_visible(False) + ax.spines["top"].set_visible(False) + ax.tick_params(color=axis_color, labelcolor=axis_color, labelsize=11) + for spine in ax.spines.values(): + spine.set_edgecolor(axis_color) + if isinstance(xd[0], str): + ax.set_xticks([name_map[n] for n in xnames]) + ax.set_xticklabels(xnames, fontdict=dict(rotation="vertical", fontsize=11)) + if show: + with warnings.catch_warnings(): # ignore expected matplotlib warnings + warnings.simplefilter("ignore", RuntimeWarning) + plt.show() + else: + return ax + + +def _suggest_buffered_limits(ax_min: float | None, ax_max: float | None, values: np.ndarray) -> tuple[float, float]: + """If either limit is None, suggest suitable value including a buffer either side""" + nan_max = np.nanmax(values) if ax_max is None else ax_max + nan_min = np.nanmin(values) if ax_min is None else ax_min + buffer = (nan_max - nan_min) / 20 + if ax_min is None: + ax_min = float(nan_min - buffer) + if ax_max is None: + ax_max = float(nan_max + buffer) + return ax_min, ax_max + + +def _suggest_x_jitter(values: np.ndarray) -> float: + """Suggest a suitable x_jitter value based on the unique values in the feature""" + unique_vals = np.sort(np.unique(values)) + if len(unique_vals) < 2: + # If there is only one unique value, no jitter is needed + return 0.0 + try: + # Identify the smallest difference between unique values + diffs = np.diff(unique_vals) + min_dist = np.min(diffs[diffs > 1e-8]) + except (TypeError, ValueError): + # If unique_vals contains non-numeric values or all differences are to small, set arbitrarily at 1 + min_dist = 1 + + num_points_per_value = len(values) / len(unique_vals) + if num_points_per_value < 10: + # categorical = False + x_jitter = 0 + elif num_points_per_value < 100: + # categorical = True + x_jitter = min_dist * 0.1 + else: + # categorical = True + x_jitter = min_dist * 0.2 + return x_jitter + + +def _plot_histogram(ax: plt.Axes, xv, xv_no_jitter): + """Add a histogram of the data on a matching secondary axes""" + ax2 = typing.cast("plt.Axes", ax.twinx()) + xlim = ax.get_xlim() + xvals = np.unique(xv_no_jitter) + + # Determine suitable bins and limits + bins: list[float] | int # Hint for mypy + if len(xvals) / len(xv_no_jitter) < 0.2 and len(xvals) < 75 and np.max(xvals) < 75 and np.min(xvals) >= 0: + np.sort(xvals) + bins = [] + for i in range(int(np.max(xvals) + 1)): + bins.append(i - 0.5) + bins.append(int(np.max(xvals)) + 0.5) + + lim = np.floor(np.min(xvals) - 0.5) + 0.5, np.ceil(np.max(xvals) + 0.5) - 0.5 + ax.set_xlim(lim) + else: + if len(xv_no_jitter) >= 500: + bins = 50 + elif len(xv_no_jitter) >= 200: + bins = 20 + elif len(xv_no_jitter) >= 100: + bins = 10 + else: + bins = 5 + + # Plot the histogram + ax2.hist( + xv[~np.isnan(xv)], + bins, + density=False, + facecolor="#000000", + alpha=0.1, + range=(xlim[0], xlim[1]), + zorder=-1, + ) + ax2.set_ylim(0, len(xv)) + ax2.xaxis.set_ticks_position("bottom") + ax2.yaxis.set_ticks_position("left") + ax2.yaxis.set_ticks([]) + ax2.spines["right"].set_visible(False) + ax2.spines["top"].set_visible(False) + ax2.spines["left"].set_visible(False) + ax2.spines["bottom"].set_visible(False) + + +def dependence_legacy( + ind, + shap_values=None, + features=None, + feature_names=None, + display_features=None, + interaction_index="auto", + color="#1E88E5", + axis_color="#333333", + cmap=None, + dot_size=16, + x_jitter=0, + alpha=1, + title=None, + xmin=None, + xmax=None, + ax=None, + show=True, + ymin=None, + ymax=None, +): + """Create a SHAP dependence plot, colored by an interaction feature. + + Plots the value of the feature on the x-axis and the SHAP value of the same feature + on the y-axis. This shows how the model depends on the given feature, and is like a + richer extension of the classical partial dependence plots. Vertical dispersion of the + data points represents interaction effects. Grey ticks along the y-axis are data + points where the feature's value was NaN. + + + Parameters + ---------- + ind : int or string + If this is an int it is the index of the feature to plot. If this is a string it is + either the name of the feature to plot, or it can have the form "rank(int)" to specify + the feature with that rank (ordered by mean absolute SHAP value over all the samples). + + shap_values : numpy.array + Matrix of SHAP values (# samples x # features). + + features : numpy.array or pandas.DataFrame + Matrix of feature values (# samples x # features). + + feature_names : list + Names of the features (length # features). + + display_features : numpy.array or pandas.DataFrame + Matrix of feature values for visual display (such as strings instead of coded values). + + interaction_index : "auto", None, int, or string + The index of the feature used to color the plot. The name of a feature can also be passed + as a string. If "auto" then shap.common.approximate_interactions is used to pick what + seems to be the strongest interaction (note that to find to true stongest interaction you + need to compute the SHAP interaction values). + + x_jitter : float (0 - 1) + Adds random jitter to feature values. May increase plot readability when feature + is discrete. + + alpha : float + The transparency of the data points (between 0 and 1). This can be useful to the + show density of the data points when using a large dataset. + + xmin : float or string + Represents the lower bound of the plot's x-axis. It can be a string of the format + "percentile(float)" to denote that percentile of the feature's value used on the x-axis. + + xmax : float or string + Represents the upper bound of the plot's x-axis. It can be a string of the format + "percentile(float)" to denote that percentile of the feature's value used on the x-axis. + + ax : matplotlib Axes object + Optionally specify an existing matplotlib Axes object, into which the plot will be placed. + In this case we do not create a Figure, otherwise we do. + + ymin : float + Represents the lower bound of the plot's y-axis. + + ymax : float + Represents the upper bound of the plot's y-axis. + + """ + if cmap is None: + cmap = colors.red_blue + + if isinstance(shap_values, list): + raise TypeError( + "The passed shap_values are a list not an array! If you have a list of explanations try " + "passing shap_values[0] instead to explain the first output class of a multi-output model." + ) + + # convert from DataFrames if we got any + if isinstance(features, pd.DataFrame): + if feature_names is None: + feature_names = features.columns + features = features.values + if isinstance(display_features, pd.DataFrame): + if feature_names is None: + feature_names = display_features.columns + display_features = display_features.values + elif display_features is None: + display_features = features + + if feature_names is None: + feature_names = [labels["FEATURE"] % str(i) for i in range(shap_values.shape[1])] + + # allow vectors to be passed + if len(shap_values.shape) == 1: + shap_values = np.reshape(shap_values, (len(shap_values), 1)) + if len(features.shape) == 1: + features = np.reshape(features, (len(features), 1)) + + ind = convert_name(ind, shap_values, feature_names) + + # guess what other feature as the stongest interaction with the plotted feature + if not hasattr(ind, "__len__"): + if interaction_index == "auto": + interaction_index = approximate_interactions(ind, shap_values, features)[0] + interaction_index = convert_name(interaction_index, shap_values, feature_names) + categorical_interaction = False + + # create a matplotlib figure, if `ax` hasn't been specified. + if not ax: + figsize = (7.5, 5) if interaction_index != ind and interaction_index is not None else (6, 5) + fig = plt.figure(figsize=figsize) + ax = fig.gca() + else: + fig = ax.get_figure() + + # plotting SHAP interaction values + if len(shap_values.shape) == 3 and hasattr(ind, "__len__") and len(ind) == 2: + ind1 = convert_name(ind[0], shap_values, feature_names) + ind2 = convert_name(ind[1], shap_values, feature_names) + if ind1 == ind2: + proj_shap_values = shap_values[:, ind2, :] + else: + proj_shap_values = shap_values[:, ind2, :] * 2 # off-diag values are split in half + + # there is no interaction coloring for the main effect + if ind1 == ind2: + fig.set_size_inches(6, 5, forward=True) + + # TODO: remove recursion; generally the functions should be shorter for more maintainable code + dependence_legacy( + ind1, + proj_shap_values, + features, + feature_names=feature_names, + interaction_index=(None if ind1 == ind2 else ind2), + display_features=display_features, + ax=ax, + show=False, + xmin=xmin, + xmax=xmax, + x_jitter=x_jitter, + alpha=alpha, + ) + if ind1 == ind2: + ax.set_ylabel(labels["MAIN_EFFECT"] % feature_names[ind1]) + else: + ax.set_ylabel(labels["INTERACTION_EFFECT"] % (feature_names[ind1], feature_names[ind2])) + + if show: + plt.show() + return + + assert shap_values.shape[0] == features.shape[0], ( + "'shap_values' and 'features' values must have the same number of rows!" + ) + assert shap_values.shape[1] == features.shape[1], ( + "'shap_values' must have the same number of columns as 'features'!" + ) + + # get both the raw and display feature values + oinds = np.arange( + shap_values.shape[0] + ) # we randomize the ordering so plotting overlaps are not related to data ordering + np.random.shuffle(oinds) + + xv = encode_array_if_needed(features[oinds, ind]) + + xd = display_features[oinds, ind] + s = shap_values[oinds, ind] + if isinstance(xd[0], str): + name_map = {} + for i in range(len(xv)): + name_map[xd[i]] = xv[i] + xnames = list(name_map.keys()) + + # allow a single feature name to be passed alone + if isinstance(feature_names, str): + feature_names = [feature_names] + name = feature_names[ind] + + # get both the raw and display color values + color_norm = None + if interaction_index is not None: + interaction_feature_values = encode_array_if_needed(features[:, interaction_index]) + cv = interaction_feature_values + cd = display_features[:, interaction_index] + clow = np.nanpercentile(cv.astype(float), 5) + chigh = np.nanpercentile(cv.astype(float), 95) + if clow == chigh: + clow = np.nanmin(cv.astype(float)) + chigh = np.nanmax(cv.astype(float)) + if isinstance(cd[0], str): + cname_map = {} + for i in range(len(cv)): + cname_map[cd[i]] = cv[i] + cnames = list(cname_map.keys()) + categorical_interaction = True + elif clow % 1 == 0 and chigh % 1 == 0 and chigh - clow < 10: + categorical_interaction = True + + # discritize colors for categorical features + if categorical_interaction and clow != chigh: + clow = np.nanmin(cv.astype(float)) + chigh = np.nanmax(cv.astype(float)) + bounds = np.linspace(clow, chigh, min(int(chigh - clow + 2), cmap.N - 1)) + color_norm = matplotlib.colors.BoundaryNorm(bounds, cmap.N - 1) + + # optionally add jitter to feature values + if x_jitter > 0: + if x_jitter > 1: + x_jitter = 1 + xvals = xv.copy() + if isinstance(xvals[0], float): + xvals = xvals.astype(float) + xvals = xvals[~np.isnan(xvals)] + xvals = np.unique(xvals) # returns a sorted array + if len(xvals) >= 2: + smallest_diff = np.min(np.diff(xvals)) + jitter_amount = x_jitter * smallest_diff + xv += (np.random.random_sample(size=len(xv)) * jitter_amount) - (jitter_amount / 2) + + # the actual scatter plot, TODO: adapt the dot_size to the number of data points? + xv_nan = np.isnan(xv) + xv_notnan = np.invert(xv_nan) + if interaction_index is not None: + # plot the nan values in the interaction feature as grey + cvals = interaction_feature_values[oinds].astype(np.float64) + cvals_imp = cvals.copy() + cvals_imp[np.isnan(cvals)] = (clow + chigh) / 2.0 + cvals[cvals_imp > chigh] = chigh + cvals[cvals_imp < clow] = clow + p = ax.scatter( + xv[xv_notnan], + s[xv_notnan], + s=dot_size, + linewidth=0, + c=cvals[xv_notnan], + cmap=cmap, + alpha=alpha, + norm=color_norm, + rasterized=len(xv) > 500, + ) + p.set_array(cvals[xv_notnan]) + else: + p = ax.scatter(xv, s, s=dot_size, linewidth=0, color=color, alpha=alpha, rasterized=len(xv) > 500) + + if interaction_index != ind and interaction_index is not None: + # draw the color bar + if isinstance(cd[0], str): + tick_positions = [cname_map[n] for n in cnames] + if len(tick_positions) == 2: + tick_positions[0] -= 0.25 + tick_positions[1] += 0.25 + cb = plt.colorbar(p, ticks=tick_positions, ax=ax, aspect=80) + cb.set_ticklabels(cnames) + else: + cb = plt.colorbar(p, ax=ax, aspect=80) + + cb.set_label(feature_names[interaction_index], size=13) + cb.ax.tick_params(labelsize=11) + if categorical_interaction: + cb.ax.tick_params(length=0) + cb.set_alpha(1) + cb.outline.set_visible(False) # type: ignore + # bbox = cb.ax.get_window_extent().transformed(fig.dpi_scale_trans.inverted()) + # cb.ax.set_aspect((bbox.height - 0.7) * 20) + + # handles any setting of xmax and xmin + # note that we handle None,float, or "percentile(float)" formats + if xmin is not None or xmax is not None: + if isinstance(xmin, str) and xmin.startswith("percentile"): + xmin = np.nanpercentile(xv, float(xmin[11:-1])) + if isinstance(xmax, str) and xmax.startswith("percentile"): + xmax = np.nanpercentile(xv, float(xmax[11:-1])) + + if xmin is None or xmin == np.nanmin(xv): + xmin = np.nanmin(xv) - (xmax - np.nanmin(xv)) / 20 + if xmax is None or xmax == np.nanmax(xv): + xmax = np.nanmax(xv) + (np.nanmax(xv) - xmin) / 20 + + ax.set_xlim(xmin, xmax) + + # plot any nan feature values as tick marks along the y-axis + xlim = ax.get_xlim() + if interaction_index is not None: + p = ax.scatter( + xlim[0] * np.ones(xv_nan.sum()), + s[xv_nan], + marker=1, + linewidth=2, + c=cvals_imp[xv_nan], + cmap=cmap, + alpha=alpha, + vmin=clow, + vmax=chigh, + ) + p.set_array(cvals[xv_nan]) + else: + ax.scatter(xlim[0] * np.ones(xv_nan.sum()), s[xv_nan], marker=1, linewidth=2, color=color, alpha=alpha) + ax.set_xlim(xlim) + + # make the plot more readable + ax.set_xlabel(name, color=axis_color, fontsize=13) + ax.set_ylabel(labels["VALUE_FOR"] % name, color=axis_color, fontsize=13) + + if (ymin is not None) or (ymax is not None): + if ymin is None: + ymin = -ymax + if ymax is None: + ymax = -ymin + + ax.set_ylim(ymin, ymax) + + if title is not None: + ax.set_title(title, color=axis_color, fontsize=13) + ax.xaxis.set_ticks_position("bottom") + ax.yaxis.set_ticks_position("left") + ax.spines["right"].set_visible(False) + ax.spines["top"].set_visible(False) + ax.tick_params(color=axis_color, labelcolor=axis_color, labelsize=11) + for spine in ax.spines.values(): + spine.set_edgecolor(axis_color) + if isinstance(xd[0], str): + ax.set_xticks([name_map[n] for n in xnames]) + ax.set_xticklabels(xnames, fontdict=dict(rotation="vertical", fontsize=11)) + if show: + with warnings.catch_warnings(): # ignore expected matplotlib warnings + warnings.simplefilter("ignore", RuntimeWarning) + plt.show() diff --git a/shared/package-files/37/370e0fcb161b76753b8290d0186f3b43f91ad358a4d1780224024d94abef3c52/_nested_tensor_size_native.h b/shared/package-files/37/370e0fcb161b76753b8290d0186f3b43f91ad358a4d1780224024d94abef3c52/_nested_tensor_size_native.h new file mode 100644 index 0000000000000000000000000000000000000000..a74ed53df883269012f4e91419dbf693f52c3c9f --- /dev/null +++ b/shared/package-files/37/370e0fcb161b76753b8290d0186f3b43f91ad358a4d1780224024d94abef3c52/_nested_tensor_size_native.h @@ -0,0 +1,22 @@ +#pragma once + +// @generated by torchgen/gen.py from NativeFunction.h + +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include + + +namespace at { +namespace native { +TORCH_API at::Tensor & _nested_tensor_size_out(const at::Tensor & self, at::Tensor & out); +TORCH_API at::Tensor _nested_tensor_size(const at::Tensor & self); +} // namespace native +} // namespace at diff --git a/shared/package-files/37/370e8bcce2de6511174a4fa02ba03fa6a01cbab59595b9c4f93033c3aa643309/special.pyi b/shared/package-files/37/370e8bcce2de6511174a4fa02ba03fa6a01cbab59595b9c4f93033c3aa643309/special.pyi new file mode 100644 index 0000000000000000000000000000000000000000..05e076177bbe78ab4afa1afb40123ccbdc8b5d73 --- /dev/null +++ b/shared/package-files/37/370e8bcce2de6511174a4fa02ba03fa6a01cbab59595b9c4f93033c3aa643309/special.pyi @@ -0,0 +1,8 @@ +from typing import Sequence, Tuple + +def add_uppercase_char(char_list: Sequence[Tuple[str, str]]) -> Sequence[Tuple[str, str]]: ... + +CYRILLIC: Sequence[Tuple[str, str]] +GERMAN: Sequence[Tuple[str, str]] +GREEK: Sequence[Tuple[str, str]] +PRE_TRANSLATIONS: Sequence[Tuple[str, str]] diff --git a/shared/package-files/37/3710b975af284d9e12b621509e5863969f454d1b8c33e5f0b2add8838cb4c640/Pyongyang b/shared/package-files/37/3710b975af284d9e12b621509e5863969f454d1b8c33e5f0b2add8838cb4c640/Pyongyang new file mode 100644 index 0000000000000000000000000000000000000000..57240cf89fb33139a92451ec2eb99cb67b2f49c1 Binary files /dev/null and b/shared/package-files/37/3710b975af284d9e12b621509e5863969f454d1b8c33e5f0b2add8838cb4c640/Pyongyang differ diff --git a/shared/package-files/37/3712a5065c92ef50355a59eddbc2fec3266823d13166f26d87fd1ed97495ae2b/union_find.py b/shared/package-files/37/3712a5065c92ef50355a59eddbc2fec3266823d13166f26d87fd1ed97495ae2b/union_find.py new file mode 100644 index 0000000000000000000000000000000000000000..2a07129f5427cd8a3caf30095efee125bc3d853b --- /dev/null +++ b/shared/package-files/37/3712a5065c92ef50355a59eddbc2fec3266823d13166f26d87fd1ed97495ae2b/union_find.py @@ -0,0 +1,106 @@ +""" +Union-find data structure. +""" + +from networkx.utils import groups + + +class UnionFind: + """Union-find data structure. + + Each unionFind instance X maintains a family of disjoint sets of + hashable objects, supporting the following two methods: + + - X[item] returns a name for the set containing the given item. + Each set is named by an arbitrarily-chosen one of its members; as + long as the set remains unchanged it will keep the same name. If + the item is not yet part of a set in X, a new singleton set is + created for it. + + - X.union(item1, item2, ...) merges the sets containing each item + into a single larger set. If any item is not yet part of a set + in X, it is added to X as one of the members of the merged set. + + Union-find data structure. Based on Josiah Carlson's code, + https://code.activestate.com/recipes/215912/ + with significant additional changes by D. Eppstein. + http://www.ics.uci.edu/~eppstein/PADS/UnionFind.py + + """ + + def __init__(self, elements=None): + """Create a new empty union-find structure. + + If *elements* is an iterable, this structure will be initialized + with the discrete partition on the given set of elements. + + """ + if elements is None: + elements = () + self.parents = {} + self.weights = {} + for x in elements: + self.weights[x] = 1 + self.parents[x] = x + + def __getitem__(self, object): + """Find and return the name of the set containing the object.""" + + # check for previously unknown object + if object not in self.parents: + self.parents[object] = object + self.weights[object] = 1 + return object + + # find path of objects leading to the root + path = [] + root = self.parents[object] + while root != object: + path.append(object) + object = root + root = self.parents[object] + + # compress the path and return + for ancestor in path: + self.parents[ancestor] = root + return root + + def __iter__(self): + """Iterate through all items ever found or unioned by this structure.""" + return iter(self.parents) + + def to_sets(self): + """Iterates over the sets stored in this structure. + + For example:: + + >>> partition = UnionFind("xyz") + >>> sorted(map(sorted, partition.to_sets())) + [['x'], ['y'], ['z']] + >>> partition.union("x", "y") + >>> sorted(map(sorted, partition.to_sets())) + [['x', 'y'], ['z']] + + """ + # Ensure fully pruned paths + for x in self.parents: + _ = self[x] # Evaluated for side-effect only + + yield from groups(self.parents).values() + + def union(self, *objects): + """Find the sets containing the objects and merge them all.""" + # Find the heaviest root according to its weight. + roots = iter( + sorted( + {self[x] for x in objects}, key=lambda r: self.weights[r], reverse=True + ) + ) + try: + root = next(roots) + except StopIteration: + return + + for r in roots: + self.weights[root] += self.weights[r] + self.parents[r] = root diff --git a/shared/package-files/37/37169d2474d04ffc2b21795ed9025ff99896163d5cdd4a1a7ee594f6ed1a7f2a/gnome+pcfkeys b/shared/package-files/37/37169d2474d04ffc2b21795ed9025ff99896163d5cdd4a1a7ee594f6ed1a7f2a/gnome+pcfkeys new file mode 100644 index 0000000000000000000000000000000000000000..777894a264489c307f6ce8544e7b96806e99d09d Binary files /dev/null and b/shared/package-files/37/37169d2474d04ffc2b21795ed9025ff99896163d5cdd4a1a7ee594f6ed1a7f2a/gnome+pcfkeys differ diff --git a/shared/package-files/37/3716d371894d11a3bc30a0a96c4736d8f129227167edfef36bb1003bafa6c441/flags.py b/shared/package-files/37/3716d371894d11a3bc30a0a96c4736d8f129227167edfef36bb1003bafa6c441/flags.py new file mode 100644 index 0000000000000000000000000000000000000000..aff7a15f283bafe1459173070e64df4caef0d45d --- /dev/null +++ b/shared/package-files/37/3716d371894d11a3bc30a0a96c4736d8f129227167edfef36bb1003bafa6c441/flags.py @@ -0,0 +1,117 @@ +from __future__ import annotations + +from typing import TYPE_CHECKING +import weakref + +if TYPE_CHECKING: + from pandas.core.generic import NDFrame + + +class Flags: + """ + Flags that apply to pandas objects. + + Parameters + ---------- + obj : Series or DataFrame + The object these flags are associated with. + allows_duplicate_labels : bool, default True + Whether to allow duplicate labels in this object. By default, + duplicate labels are permitted. Setting this to ``False`` will + cause an :class:`errors.DuplicateLabelError` to be raised when + `index` (or columns for DataFrame) is not unique, or any + subsequent operation on introduces duplicates. + See :ref:`duplicates.disallow` for more. + + .. warning:: + + This is an experimental feature. Currently, many methods fail to + propagate the ``allows_duplicate_labels`` value. In future versions + it is expected that every method taking or returning one or more + DataFrame or Series objects will propagate ``allows_duplicate_labels``. + + Examples + -------- + Attributes can be set in two ways: + + >>> df = pd.DataFrame() + >>> df.flags + + >>> df.flags.allows_duplicate_labels = False + >>> df.flags + + + >>> df.flags['allows_duplicate_labels'] = True + >>> df.flags + + """ + + _keys: set[str] = {"allows_duplicate_labels"} + + def __init__(self, obj: NDFrame, *, allows_duplicate_labels: bool) -> None: + self._allows_duplicate_labels = allows_duplicate_labels + self._obj = weakref.ref(obj) + + @property + def allows_duplicate_labels(self) -> bool: + """ + Whether this object allows duplicate labels. + + Setting ``allows_duplicate_labels=False`` ensures that the + index (and columns of a DataFrame) are unique. Most methods + that accept and return a Series or DataFrame will propagate + the value of ``allows_duplicate_labels``. + + See :ref:`duplicates` for more. + + See Also + -------- + DataFrame.attrs : Set global metadata on this object. + DataFrame.set_flags : Set global flags on this object. + + Examples + -------- + >>> df = pd.DataFrame({"A": [1, 2]}, index=['a', 'a']) + >>> df.flags.allows_duplicate_labels + True + >>> df.flags.allows_duplicate_labels = False + Traceback (most recent call last): + ... + pandas.errors.DuplicateLabelError: Index has duplicates. + positions + label + a [0, 1] + """ + return self._allows_duplicate_labels + + @allows_duplicate_labels.setter + def allows_duplicate_labels(self, value: bool) -> None: + value = bool(value) + obj = self._obj() + if obj is None: + raise ValueError("This flag's object has been deleted.") + + if not value: + for ax in obj.axes: + ax._maybe_check_unique() + + self._allows_duplicate_labels = value + + def __getitem__(self, key: str): + if key not in self._keys: + raise KeyError(key) + + return getattr(self, key) + + def __setitem__(self, key: str, value) -> None: + if key not in self._keys: + raise ValueError(f"Unknown flag {key}. Must be one of {self._keys}") + setattr(self, key, value) + + def __repr__(self) -> str: + return f"" + + def __eq__(self, other) -> bool: + if isinstance(other, type(self)): + return self.allows_duplicate_labels == other.allows_duplicate_labels + return False diff --git a/shared/package-files/37/3716e935d06d5345452346ca7c67c39293fb4b6ffcffa1653bcedd547d28830b/euctwprober.py b/shared/package-files/37/3716e935d06d5345452346ca7c67c39293fb4b6ffcffa1653bcedd547d28830b/euctwprober.py new file mode 100644 index 0000000000000000000000000000000000000000..a37ab18995822ad6b3372d56366becdccf9a4c26 --- /dev/null +++ b/shared/package-files/37/3716e935d06d5345452346ca7c67c39293fb4b6ffcffa1653bcedd547d28830b/euctwprober.py @@ -0,0 +1,47 @@ +######################## BEGIN LICENSE BLOCK ######################## +# The Original Code is mozilla.org code. +# +# The Initial Developer of the Original Code is +# Netscape Communications Corporation. +# Portions created by the Initial Developer are Copyright (C) 1998 +# the Initial Developer. All Rights Reserved. +# +# Contributor(s): +# Mark Pilgrim - port to Python +# +# This library is free software; you can redistribute it and/or +# modify it under the terms of the GNU Lesser General Public +# License as published by the Free Software Foundation; either +# version 2.1 of the License, or (at your option) any later version. +# +# This library is distributed in the hope that it will be useful, +# but WITHOUT ANY WARRANTY; without even the implied warranty of +# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU +# Lesser General Public License for more details. +# +# You should have received a copy of the GNU Lesser General Public +# License along with this library; if not, write to the Free Software +# Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA +# 02110-1301 USA +######################### END LICENSE BLOCK ######################### + +from .chardistribution import EUCTWDistributionAnalysis +from .codingstatemachine import CodingStateMachine +from .mbcharsetprober import MultiByteCharSetProber +from .mbcssm import EUCTW_SM_MODEL + + +class EUCTWProber(MultiByteCharSetProber): + def __init__(self) -> None: + super().__init__() + self.coding_sm = CodingStateMachine(EUCTW_SM_MODEL) + self.distribution_analyzer = EUCTWDistributionAnalysis() + self.reset() + + @property + def charset_name(self) -> str: + return "EUC-TW" + + @property + def language(self) -> str: + return "Taiwan" diff --git a/shared/package-files/37/371743051ff4d31a26a16193330b8fbcef15113715577a2a9a08e5c14638c6e8/repeat_interleave_cpu_dispatch.h b/shared/package-files/37/371743051ff4d31a26a16193330b8fbcef15113715577a2a9a08e5c14638c6e8/repeat_interleave_cpu_dispatch.h new file mode 100644 index 0000000000000000000000000000000000000000..bec4b9ce9dca9ed0fdc1ca10578ab53c610d3d99 --- /dev/null +++ b/shared/package-files/37/371743051ff4d31a26a16193330b8fbcef15113715577a2a9a08e5c14638c6e8/repeat_interleave_cpu_dispatch.h @@ -0,0 +1,24 @@ +#pragma once +// @generated by torchgen/gen.py from DispatchKeyFunction.h + +// NB: The implementing C++ file is RegisterDispatchKey.cpp + +// The only #includes we need are for custom classes that have defaults in the C++ API +#include +#include +#include + +// Forward declarations of any types needed in the operator signatures. +// We can't directly include these classes because it will cause circular include dependencies. +// This file is included by TensorBody.h, which defines the Tensor class. +#include + +namespace at { + +namespace cpu { + +TORCH_API at::Tensor repeat_interleave(const at::Tensor & repeats, c10::optional output_size=c10::nullopt); +TORCH_API at::Tensor repeat_interleave_symint(const at::Tensor & repeats, c10::optional output_size=c10::nullopt); + +} // namespace cpu +} // namespace at diff --git a/shared/package-files/37/371a5c4152e7b42ef6023a033f0f3becdb6917cfb02d1cba369a4c78005fee90/count_model.py b/shared/package-files/37/371a5c4152e7b42ef6023a033f0f3becdb6917cfb02d1cba369a4c78005fee90/count_model.py new file mode 100644 index 0000000000000000000000000000000000000000..ddc3b6931b124ec326a4bdbaa6d339833e893211 --- /dev/null +++ b/shared/package-files/37/371a5c4152e7b42ef6023a033f0f3becdb6917cfb02d1cba369a4c78005fee90/count_model.py @@ -0,0 +1,1386 @@ +__all__ = [ + "ZeroInflatedGeneralizedPoisson", + "ZeroInflatedNegativeBinomialP", + "ZeroInflatedPoisson", +] + + +import warnings + +import numpy as np + +import statsmodels.base.model as base +import statsmodels.base.wrapper as wrap +from statsmodels.discrete.discrete_model import ( + CountModel, + CountResults, + DiscreteModel, + GeneralizedPoisson, + L1CountResults, + Logit, + NegativeBinomialP, + Poisson, + Probit, + _discrete_results_docs, + _validate_l1_method, +) +from statsmodels.distributions import zigenpoisson, zinegbin, zipoisson +import statsmodels.regression.linear_model as lm +from statsmodels.tools._decorators import cache_readonly +from statsmodels.tools.docstring_helpers import Appender +from statsmodels.tools.numdiff import approx_fprime, approx_hess +from statsmodels.tools.sm_exceptions import ConvergenceWarning + +_doc_zi_params = """ + exog_infl : array_like or None, optional + Explanatory variables for the binary inflation model, i.e., for + mixing probability model. If None, then a constant is used. + offset : array_like, optional + Offset is added to the linear prediction with coefficient equal to 1. + exposure : array_like, optional + Log(exposure) is added to the linear prediction with coefficient + equal to 1. + inflation : {'logit', 'probit'}, optional + The model for zero inflation, either Logit (default) or Probit. + """ + + +class GenericZeroInflated(CountModel): + __doc__ = f""" + Generic Zero-Inflated Model + + {base._model_params_doc} + {_doc_zi_params + base._missing_param_doc} + + Attributes + ---------- + endog : ndarray + A reference to the endogenous response variable + exog : ndarray + A reference to the exogenous design. + exog_infl : ndarray + A reference to the zero-inflated exogenous design. + """ + + def __init__( + self, + endog, + exog, + exog_infl=None, + offset=None, + inflation="logit", + exposure=None, + missing="none", + **kwargs + ): + super().__init__( + endog, exog, offset=offset, exposure=exposure, missing=missing, **kwargs + ) + + if exog_infl is None: + self.k_inflate = 1 + self._no_exog_infl = True + self.exog_infl = np.ones((endog.size, self.k_inflate), dtype=np.float64) + else: + self.exog_infl = exog_infl + self.k_inflate = exog_infl.shape[1] + self._no_exog_infl = False + if len(exog.shape) == 1: + self.k_exog = 1 + else: + self.k_exog = exog.shape[1] + self.infl = inflation + if inflation == "logit": + self.model_infl = Logit(np.zeros(self.exog_infl.shape[0]), self.exog_infl) + self._hessian_inflate = self._hessian_logit + elif inflation == "probit": + self.model_infl = Probit(np.zeros(self.exog_infl.shape[0]), self.exog_infl) + self._hessian_inflate = self._hessian_probit + else: + raise ValueError(f"inflation == {inflation}, which is not handled") + + self.inflation = inflation + self.k_extra = self.k_inflate + + if len(self.exog) != len(self.exog_infl): + raise ValueError("exog and exog_infl have different number of" + "observation. `missing` handling is not supported") + + infl_names = [f"inflate_{i}" for i in self.model_infl.data.param_names] + self.exog_names[:] = infl_names + list(self.exog_names) + self.exog_infl = np.asarray(self.exog_infl, dtype=np.float64) + + self._init_keys.extend(["exog_infl", "inflation"]) + self._null_drop_keys = ["exog_infl"] + + def _get_exogs(self): + """list of exogs, for internal use in post-estimation""" + return (self.exog, self.exog_infl) + + def loglike(self, params): + """ + Log-likelihood of Generic Zero-Inflated model. + + Parameters + ---------- + params : array_like + The parameters of the model. + + Returns + ------- + loglike : float + The log-likelihood function of the model evaluated at `params`. + See notes. + + Notes + ----- + .. math:: \\ln L=\\sum_{y_{i}=0}\\ln(w_{i}+(1-w_{i})*P_{main\\_model})+ + \\sum_{y_{i}>0}(\\ln(1-w_{i})+L_{main\\_model}) + where P - pdf of main model, L - loglike function of main model. + """ + return np.sum(self.loglikeobs(params)) + + def loglikeobs(self, params): + """ + Log-likelihood for observations of Generic Zero-Inflated model. + + Parameters + ---------- + params : array_like + The parameters of the model. + + Returns + ------- + loglike : ndarray + The log likelihood for each observation of the model evaluated + at `params`. See Notes for definition. + + Notes + ----- + .. math:: \\ln L=\\ln(w_{i}+(1-w_{i})*P_{main\\_model})+ + \\ln(1-w_{i})+L_{main\\_model} + where P - pdf of main model, L - loglike function of main model. + + for observations :math:`i=1,...,n` + """ + params_infl = params[: self.k_inflate] + params_main = params[self.k_inflate :] + + y = self.endog + w = self.model_infl.predict(params_infl) + + w = np.clip(w, np.finfo(float).eps, 1 - np.finfo(float).eps) + llf_main = self.model_main.loglikeobs(params_main) + zero_idx = np.nonzero(y == 0)[0] + nonzero_idx = np.nonzero(y)[0] + + llf = np.zeros_like(y, dtype=np.float64) + llf[zero_idx] = np.log( + w[zero_idx] + (1 - w[zero_idx]) * np.exp(llf_main[zero_idx]) + ) + llf[nonzero_idx] = np.log(1 - w[nonzero_idx]) + llf_main[nonzero_idx] + + return llf + + @Appender(DiscreteModel.fit.__doc__) + def fit( + self, + start_params=None, + method="bfgs", + maxiter=35, + full_output=1, + disp=1, + callback=None, + cov_type="nonrobust", + cov_kwds=None, + use_t=None, + **kwargs + ): + if start_params is None: + offset = getattr(self, "offset", 0) + getattr(self, "exposure", 0) + if np.size(offset) == 1 and offset == 0: + offset = None + start_params = self._get_start_params() + if callback is None: + # work around perfect separation callback #3895 + + def callback(*x): + return x + + mlefit = super().fit( + start_params=start_params, + maxiter=maxiter, + disp=disp, + method=method, + full_output=full_output, + callback=callback, + **kwargs + ) + + zipfit = self.result_class(self, mlefit._results) + result = self.result_class_wrapper(zipfit) + + if cov_kwds is None: + cov_kwds = {} + result._get_robustcov_results( + cov_type=cov_type, use_self=True, use_t=use_t, **cov_kwds + ) + return result + + @Appender(DiscreteModel.fit_regularized.__doc__) + def fit_regularized( + self, + start_params=None, + method="l1", + maxiter="defined_by_method", + full_output=1, + disp=1, + callback=None, + alpha=0, + trim_mode="auto", + auto_trim_tol=0.01, + size_trim_tol=1e-4, + qc_tol=0.03, + **kwargs + ): + + _validate_l1_method(method) + + if np.size(alpha) == 1 and alpha != 0: + k_params = self.k_exog + self.k_inflate + alpha = alpha * np.ones(k_params) + extra = self.k_extra - self.k_inflate + alpha_p = ( + alpha[: -(self.k_extra - extra)] + if (self.k_extra and np.size(alpha) > 1) + else alpha + ) + if start_params is None: + offset = getattr(self, "offset", 0) + getattr(self, "exposure", 0) + if np.size(offset) == 1 and offset == 0: + offset = None + start_params = self.model_main.fit_regularized( + start_params=start_params, + method=method, + maxiter=maxiter, + full_output=full_output, + disp=0, + callback=callback, + alpha=alpha_p, + trim_mode=trim_mode, + auto_trim_tol=auto_trim_tol, + size_trim_tol=size_trim_tol, + qc_tol=qc_tol, + **kwargs + ).params + start_params = np.append(np.ones(self.k_inflate), start_params) + cntfit = super(CountModel, self).fit_regularized( + start_params=start_params, + method=method, + maxiter=maxiter, + full_output=full_output, + disp=disp, + callback=callback, + alpha=alpha, + trim_mode=trim_mode, + auto_trim_tol=auto_trim_tol, + size_trim_tol=size_trim_tol, + qc_tol=qc_tol, + **kwargs + ) + + discretefit = self.result_class_reg(self, cntfit) + return self.result_class_reg_wrapper(discretefit) + + def score_obs(self, params): + """ + Generic Zero-Inflated model score (gradient) vector of the log-likelihood. + + Parameters + ---------- + params : array_like + The parameters of the model + + Returns + ------- + score : ndarray, 1-D + The score vector of the model, i.e., the first derivative of the + log-likelihood function, evaluated at `params` + """ + params_infl = params[: self.k_inflate] + params_main = params[self.k_inflate :] + + y = self.endog + w = self.model_infl.predict(params_infl) + w = np.clip(w, np.finfo(float).eps, 1 - np.finfo(float).eps) + score_main = self.model_main.score_obs(params_main) + llf_main = self.model_main.loglikeobs(params_main) + llf = self.loglikeobs(params) + zero_idx = np.nonzero(y == 0)[0] + nonzero_idx = np.nonzero(y)[0] + + # Unused, commented out + # mu = self.model_main.predict(params_main) + + # TODO: need to allow for complex to use CS numerical derivatives + + dldp = np.zeros((self.exog.shape[0], self.k_exog), dtype=np.float64) + dldw = np.zeros_like(self.exog_infl, dtype=np.float64) + + dldp[zero_idx, :] = ( + score_main[zero_idx].T * (1 - (w[zero_idx]) / np.exp(llf[zero_idx])) + ).T + dldp[nonzero_idx, :] = score_main[nonzero_idx] + + if self.inflation == "logit": + dldw[zero_idx, :] = ( + self.exog_infl[zero_idx].T + * w[zero_idx] + * (1 - w[zero_idx]) + * (1 - np.exp(llf_main[zero_idx])) + / np.exp(llf[zero_idx]) + ).T + dldw[nonzero_idx, :] = -(self.exog_infl[nonzero_idx].T * w[nonzero_idx]).T + elif self.inflation == "probit": + return approx_fprime(params, self.loglikeobs) + return np.hstack((dldw, dldp)) + + def score(self, params): + """ + Generic Zero-Inflated model score (gradient) vector of the log-likelihood. + + Parameters + ---------- + params : array_like + The parameters of the model + + Returns + ------- + score : ndarray, 1-D + The score vector of the model, i.e., the first derivative of the + log-likelihood function, evaluated at `params` + """ + return self.score_obs(params).sum(0) + + def _hessian_main(self, params): + pass + + def _hessian_logit(self, params): + params_infl = params[:self.k_inflate] + params_main = params[self.k_inflate:] + + y = self.endog + w = self.model_infl.predict(params_infl) + w = np.clip(w, np.finfo(float).eps, 1 - np.finfo(float).eps) + score_main = self.model_main.score_obs(params_main) + llf_main = self.model_main.loglikeobs(params_main) + llf = self.loglikeobs(params) + zero_idx = np.nonzero(y == 0)[0] + nonzero_idx = np.nonzero(y)[0] + + hess_arr = np.zeros((self.k_inflate, self.k_exog + self.k_inflate)) + + pmf = np.exp(llf) + + # d2l/dw2 + for i in range(self.k_inflate): + for j in range(i, -1, -1): + a = ( + self.exog_infl[zero_idx, i] + * self.exog_infl[zero_idx, j] + * ( + w[zero_idx] + * (1 - w[zero_idx]) + * ( + (1 - np.exp(llf_main[zero_idx])) + * (1 - 2 * w[zero_idx]) + * np.exp(llf[zero_idx]) + - (w[zero_idx] - w[zero_idx] ** 2) + * (1 - np.exp(llf_main[zero_idx])) ** 2 + ) + / pmf[zero_idx] ** 2 + ) + ).sum() + b = ( + self.exog_infl[nonzero_idx, i] + * self.exog_infl[nonzero_idx, j] + * w[nonzero_idx] + * (1 - w[nonzero_idx]) + ).sum() + hess_arr[i, j] = a - b + + # d2l/dpdw + for i in range(self.k_inflate): + for j in range(self.k_exog): + hess_arr[i, j + self.k_inflate] = -( + score_main[zero_idx, j] + * w[zero_idx] + * (1 - w[zero_idx]) + * self.exog_infl[zero_idx, i] + / pmf[zero_idx] + ).sum() + + return hess_arr + + def _hessian_probit(self, params): + pass + + def hessian(self, params): + """ + Generic Zero-Inflated model Hessian matrix of the log-likelihood. + + Parameters + ---------- + params : array_like + The parameters of the model + + Returns + ------- + hess : ndarray, (k_vars, k_vars) + The Hessian, second derivative of the log-likelihood function, + evaluated at `params` + """ + hess_arr_main = self._hessian_main(params) + hess_arr_infl = self._hessian_inflate(params) + + if hess_arr_main is None or hess_arr_infl is None: + return approx_hess(params, self.loglike) + + dim = self.k_exog + self.k_inflate + + hess_arr = np.zeros((dim, dim)) + + hess_arr[:self.k_inflate, :] = hess_arr_infl + hess_arr[self.k_inflate:, self.k_inflate:] = hess_arr_main + + tri_idx = np.triu_indices(self.k_exog + self.k_inflate, k=1) + hess_arr[tri_idx] = hess_arr.T[tri_idx] + + return hess_arr + + def predict(self, params, exog=None, exog_infl=None, exposure=None, + offset=None, which="mean", y_values=None): + """ + Predict expected response or other statistic given exogenous variables. + + Parameters + ---------- + params : array_like + The parameters of the model. + exog : array_like, optional + Explanatory variables for the main count model. + If ``exog`` is None, then the data from the model will be used. + exog_infl : array_like, optional + Explanatory variables for the zero-inflation model. + ``exog_infl`` has to be provided if ``exog`` was provided unless + ``exog_infl`` in the model is only a constant. + offset : array_like, optional + Offset is added to the linear predictor of the mean function with + coefficient equal to 1. + Default is zero if exog is not None, and the model offset if exog + is None. + exposure : array_like, optional + Log(exposure) is added to the linear predictor with coefficient + equal to 1. If exposure is specified, then it will be logged by + the method. The user does not need to log it first. + Default is one if exog is not None, and it is the model exposure + if exog is None. + which : str, optional + Statistic to predict. Default is 'mean'. + + - 'mean' : the conditional expectation of endog E(y | x). This + takes inflated zeros into account. + - 'linear' : the linear predictor of the mean function. + - 'var' : returns the estimated variance of endog implied by the + model. + - 'mean-main' : mean of the main count model + - 'prob-main' : probability of selecting the main model. + The probability of zero inflation is ``1 - prob-main``. + - 'mean-nonzero' : expected value conditional on having observation + larger than zero, E(y | X, y>0) + - 'prob-zero' : probability of observing a zero count. P(y=0 | x) + - 'prob' : probabilities of each count from 0 to max(endog), or + for y_values if those are provided. This is a multivariate + return (2-dim when predicting for several observations). + + y_values : array_like, optional + Values of the random variable endog at which pmf is evaluated. + Only used if ``which="prob"`` + + Returns + ------- + ndarray + The predicted values, whose interpretation depends on `which`. + """ + no_exog = False + if exog is None: + no_exog = True + exog = self.exog + + if exog_infl is None: + if no_exog: + exog_infl = self.exog_infl + elif self._no_exog_infl: + exog_infl = np.ones((len(exog), 1)) + else: + exog_infl = np.asarray(exog_infl) + if exog_infl.ndim == 1 and self.k_inflate == 1: + exog_infl = exog_infl[:, None] + + if exposure is None: + if no_exog: + exposure = getattr(self, "exposure", 0) + else: + exposure = 0 + else: + exposure = np.log(exposure) + + if offset is None: + if no_exog: + offset = getattr(self, "offset", 0) + else: + offset = 0 + + params_infl = params[:self.k_inflate] + params_main = params[self.k_inflate:] + + prob_main = 1 - self.model_infl.predict(params_infl, exog_infl) + + lin_pred = np.dot(exog, params_main[:self.exog.shape[1]]) + exposure + offset + + # Refactor: This is pretty hacky, + # there should be an appropriate predict method in model_main + # this is just prob(y=0 | model_main) + tmp_exog = self.model_main.exog + tmp_endog = self.model_main.endog + tmp_offset = getattr(self.model_main, "offset", False) + tmp_exposure = getattr(self.model_main, "exposure", False) + self.model_main.exog = exog + self.model_main.endog = np.zeros(exog.shape[0]) + self.model_main.offset = offset + self.model_main.exposure = exposure + llf = self.model_main.loglikeobs(params_main) + self.model_main.exog = tmp_exog + self.model_main.endog = tmp_endog + # tmp_offset might be an array with elementwise equality testing + # if np.size(tmp_offset) == 1 and tmp_offset[0] == 'no': + if tmp_offset is False: + del self.model_main.offset + else: + self.model_main.offset = tmp_offset + # if np.size(tmp_exposure) == 1 and tmp_exposure[0] == 'no': + if tmp_exposure is False: + del self.model_main.exposure + else: + self.model_main.exposure = tmp_exposure + # end hack + + prob_zero = (1 - prob_main) + prob_main * np.exp(llf) + + if which == "mean": + return prob_main * np.exp(lin_pred) + elif which == "mean-main": + return np.exp(lin_pred) + elif which == "linear": + return lin_pred + elif which == "mean-nonzero": + return prob_main * np.exp(lin_pred) / (1 - prob_zero) + elif which == "prob-zero": + return prob_zero + elif which == "prob-main": + return prob_main + elif which == "var": + mu = np.exp(lin_pred) + return self._predict_var(params, mu, 1 - prob_main) + elif which == "prob": + return self._predict_prob(params, exog, exog_infl, exposure, + offset, y_values=y_values) + else: + raise ValueError(f"which = {which} is not available") + + def _derivative_predict(self, params, exog=None, transform="dydx"): + """NotImplemented""" + raise NotImplementedError + + def _derivative_exog(self, params, exog=None, transform="dydx", + dummy_idx=None, count_idx=None): + """NotImplemented""" + raise NotImplementedError + + def _deriv_mean_dparams(self, params): + """ + Derivative of the expected endog with respect to the parameters. + + Parameters + ---------- + params : array_like + parameter at which score is evaluated + + Returns + ------- + ndarray + The value of the derivative of the expected endog with respect + to the parameter vector. + """ + params_infl = params[:self.k_inflate] + params_main = params[self.k_inflate:] + + w = self.model_infl.predict(params_infl) + w = np.clip(w, np.finfo(float).eps, 1 - np.finfo(float).eps) + mu = self.model_main.predict(params_main) + + score_infl = self.model_infl._deriv_mean_dparams(params_infl) + score_main = self.model_main._deriv_mean_dparams(params_main) + + dmat_infl = - mu[:, None] * score_infl + dmat_main = (1 - w[:, None]) * score_main + + dmat = np.column_stack((dmat_infl, dmat_main)) + return dmat + + def _deriv_score_obs_dendog(self, params): + """ + Derivative of score_obs w.r.t. endog + + Parameters + ---------- + params : array_like + parameter at which score is evaluated + + Returns + ------- + derivative : ndarray, 2-D + The derivative of the score_obs with respect to endog. + """ + raise NotImplementedError + + # The below currently does not work, discontinuity at zero + # see https://github.com/statsmodels/statsmodels/pull/7951#issuecomment-996355875 + from statsmodels.tools.numdiff import _approx_fprime_scalar + endog_original = self.endog + + def f(y): + if y.ndim == 2 and y.shape[1] == 1: + y = y[:, 0] + self.endog = y + self.model_main.endog = y + sf = self.score_obs(params) + self.endog = endog_original + self.model_main.endog = endog_original + return sf + + ds = _approx_fprime_scalar(self.endog[:, None], f, epsilon=1e-2) + + return ds + + +class ZeroInflatedPoisson(GenericZeroInflated): + __doc__ = f""" + Poisson Zero-Inflated Model + + {base._model_params_doc} + {_doc_zi_params + base._missing_param_doc} + + Attributes + ---------- + endog : ndarray + A reference to the endogenous response variable + exog : ndarray + A reference to the exogenous design. + exog_infl : ndarray + A reference to the zero-inflated exogenous design. + """ + + def __init__( + self, + endog, + exog, + exog_infl=None, + offset=None, + exposure=None, + inflation="logit", + missing="none", + **kwargs + ): + super().__init__( + endog, + exog, + offset=offset, + inflation=inflation, + exog_infl=exog_infl, + exposure=exposure, + missing=missing, + **kwargs + ) + self.model_main = Poisson( + self.endog, self.exog, offset=offset, exposure=exposure + ) + self.distribution = zipoisson + self.result_class = ZeroInflatedPoissonResults + self.result_class_wrapper = ZeroInflatedPoissonResultsWrapper + self.result_class_reg = L1ZeroInflatedPoissonResults + self.result_class_reg_wrapper = L1ZeroInflatedPoissonResultsWrapper + + def _hessian_main(self, params): + params_infl = params[: self.k_inflate] + params_main = params[self.k_inflate :] + + y = self.endog + w = self.model_infl.predict(params_infl) + w = np.clip(w, np.finfo(float).eps, 1 - np.finfo(float).eps) + # Unused, commented out + # score = self.score(params) + + zero_idx = np.nonzero(y == 0)[0] + nonzero_idx = np.nonzero(y)[0] + + mu = self.model_main.predict(params_main) + + hess_arr = np.zeros((self.k_exog, self.k_exog)) + + coeff = 1 + w[zero_idx] * (np.exp(mu[zero_idx]) - 1) + + # d2l/dp2 + + for i in range(self.k_exog): + for j in range(i, -1, -1): + hess_arr[i, j] = ( + self.exog[zero_idx, i] + * self.exog[zero_idx, j] + * mu[zero_idx] + * (w[zero_idx] - 1) + * ( + 1 / coeff + - w[zero_idx] * mu[zero_idx] * np.exp(mu[zero_idx]) / coeff**2 + ) + ).sum() - ( + mu[nonzero_idx] + * self.exog[nonzero_idx, i] + * self.exog[nonzero_idx, j] + ).sum() + return hess_arr + + def _predict_prob(self, params, exog, exog_infl, exposure, offset, + y_values=None): + params_infl = params[:self.k_inflate] + params_main = params[self.k_inflate:] + + if y_values is None: + y_values = np.atleast_2d(np.arange(0, np.max(self.endog)+1)) + + if len(exog_infl.shape) < 2: + transform = True + w = np.atleast_2d( + self.model_infl.predict(params_infl, exog_infl))[:, None] + else: + transform = False + w = self.model_infl.predict(params_infl, exog_infl)[:, None] + + w = np.clip(w, np.finfo(float).eps, 1 - np.finfo(float).eps) + mu = self.model_main.predict(params_main, exog, offset=offset)[:, None] + result = self.distribution.pmf(y_values, mu, w) + return result[0] if transform else result + + def _predict_var(self, params, mu, prob_infl): + """ + Predict values for conditional variance V(endog | exog) + + Parameters + ---------- + params : array_like + The model parameters. This is only used to extract extra params + like dispersion parameter. + mu : array_like + Array of mean predictions for main model. + prob_infl : array_like + Array of predicted probabilities of zero-inflation `w`. + + Returns + ------- + ndarray + Predicted conditional variance. + """ + w = prob_infl + var_ = (1 - w) * mu * (1 + w * mu) + return var_ + + def _get_start_params(self): + with warnings.catch_warnings(): + warnings.simplefilter("ignore", category=ConvergenceWarning) + start_params = self.model_main.fit(disp=0, method="nm").params + start_params = np.append(np.ones(self.k_inflate) * 0.1, start_params) + return start_params + + def get_distribution( + self, params, exog=None, exog_infl=None, exposure=None, offset=None + ): + """ + Get a frozen instance of distribution based on predicted parameters + + Parameters + ---------- + params : array_like + The parameters of the model. + exog : array_like, optional + Explanatory variables for the main count model. + If ``exog`` is None, then the data from the model will be used. + exog_infl : array_like, optional + Explanatory variables for the zero-inflation model. + ``exog_infl`` has to be provided if ``exog`` was provided unless + ``exog_infl`` in the model is only a constant. + offset : array_like, optional + Offset is added to the linear predictor of the mean function with + coefficient equal to 1. + Default is zero if exog is not None, and the model offset if exog + is None. + exposure : array_like, optional + Log(exposure) is added to the linear predictor of the mean + function with coefficient equal to 1. If exposure is specified, + then it will be logged by the method. The user does not need to + log it first. + Default is one if exog is not None, and it is the model exposure + if exog is None. + + Returns + ------- + scipy.stats.distributions.rv_frozen + Frozen random variable instance representing the distribution + implied by the model and the given parameters. + """ + mu = self.predict( + params, + exog=exog, + exog_infl=exog_infl, + exposure=exposure, + offset=offset, + which="mean-main", + ) + w = self.predict( + params, + exog=exog, + exog_infl=exog_infl, + exposure=exposure, + offset=offset, + which="prob-main", + ) + + # distr = self.distribution(mu[:, None], 1 - w[:, None]) + distr = self.distribution(mu, 1 - w) + return distr + + +class ZeroInflatedGeneralizedPoisson(GenericZeroInflated): + __doc__ = """ + Zero-Inflated Generalized Poisson Model + + {params} + {extra_params} + + Attributes + ---------- + endog : ndarray + A reference to the endogenous response variable + exog : ndarray + A reference to the exogenous design. + exog_infl : ndarray + A reference to the zero-inflated exogenous design. + """.format( + params=base._model_params_doc, + extra_params=_doc_zi_params + + """p : int, optional + Dispersion power parameter for the GeneralizedPoisson model. p=1 + for ZIGP-1 and p=2 for ZIGP-2. Default is p=2. + """ + + base._missing_param_doc, + ) + + def __init__( + self, + endog, + exog, + exog_infl=None, + offset=None, + exposure=None, + inflation="logit", + p=2, + missing="none", + **kwargs + ): + super().__init__( + endog, + exog, + offset=offset, + inflation=inflation, + exog_infl=exog_infl, + exposure=exposure, + missing=missing, + **kwargs + ) + self.model_main = GeneralizedPoisson( + self.endog, self.exog, offset=offset, exposure=exposure, p=p + ) + self.distribution = zigenpoisson + self.k_exog += 1 + self.k_extra += 1 + self.exog_names.append("alpha") + self.result_class = ZeroInflatedGeneralizedPoissonResults + self.result_class_wrapper = ZeroInflatedGeneralizedPoissonResultsWrapper + self.result_class_reg = L1ZeroInflatedGeneralizedPoissonResults + self.result_class_reg_wrapper = L1ZeroInflatedGeneralizedPoissonResultsWrapper + + def _get_init_kwds(self): + kwds = super()._get_init_kwds() + kwds["p"] = self.model_main.parameterization + 1 + return kwds + + def _predict_prob(self, params, exog, exog_infl, exposure, offset, + y_values=None): + params_infl = params[:self.k_inflate] + params_main = params[self.k_inflate:] + + p = self.model_main.parameterization + 1 + if y_values is None: + y_values = np.atleast_2d(np.arange(0, np.max(self.endog)+1)) + + if len(exog_infl.shape) < 2: + transform = True + w = np.atleast_2d( + self.model_infl.predict(params_infl, exog_infl))[:, None] + else: + transform = False + w = self.model_infl.predict(params_infl, exog_infl)[:, None] + + w[w == 1.] = np.nextafter(1, 0) + mu = self.model_main.predict( + params_main, exog, exposure=exposure, offset=offset + ) + mu = mu[:, None] + result = self.distribution.pmf(y_values, mu, params_main[-1], p, w) + return result[0] if transform else result + + def _predict_var(self, params, mu, prob_infl): + """ + Predict values for conditional variance V(endog | exog) + + Parameters + ---------- + params : array_like + The model parameters. This is only used to extract extra params + like dispersion parameter. + mu : array_like + Array of mean predictions for main model. + prob_infl : array_like + Array of predicted probabilities of zero-inflation `w`. + + Returns + ------- + ndarray + Predicted conditional variance. + """ + alpha = params[-1] + w = prob_infl + p = self.model_main.parameterization + var_ = (1 - w) * mu * ((1 + alpha * mu**p) ** 2 + w * mu) + return var_ + + def _get_start_params(self): + with warnings.catch_warnings(): + warnings.simplefilter("ignore", category=ConvergenceWarning) + start_params = ( + ZeroInflatedPoisson(self.endog, self.exog, exog_infl=self.exog_infl) + .fit(disp=0) + .params + ) + start_params = np.append(start_params, 0.1) + return start_params + + @Appender(ZeroInflatedPoisson.get_distribution.__doc__) + def get_distribution(self, params, exog=None, exog_infl=None, + exposure=None, offset=None): + + p = self.model_main.parameterization + 1 + mu = self.predict(params, exog=exog, exog_infl=exog_infl, + exposure=exposure, offset=offset, which="mean-main") + w = self.predict(params, exog=exog, exog_infl=exog_infl, + exposure=exposure, offset=offset, which="prob-main") + # distr = self.distribution(mu[:, None], params[-1], p, 1 - w[:, None]) + distr = self.distribution(mu, params[-1], p, 1 - w) + return distr + + +class ZeroInflatedNegativeBinomialP(GenericZeroInflated): + __doc__ = """ + Zero-Inflated Generalized Negative Binomial Model + + {params} + {extra_params} + + Attributes + ---------- + endog : ndarray + A reference to the endogenous response variable + exog : ndarray + A reference to the exogenous design. + exog_infl : ndarray + A reference to the zero-inflated exogenous design. + """.format( + params=base._model_params_doc, + extra_params=_doc_zi_params + + """p : int, optional + Dispersion power parameter for the NegativeBinomialP model. p=1 + for ZINB-1 and p=2 for ZINB-2. Default is p=2. + """ + + base._missing_param_doc, + ) + + def __init__( + self, + endog, + exog, + exog_infl=None, + offset=None, + exposure=None, + inflation="logit", + p=2, + missing="none", + **kwargs + ): + super().__init__( + endog, + exog, + offset=offset, + inflation=inflation, + exog_infl=exog_infl, + exposure=exposure, + missing=missing, + **kwargs + ) + self.model_main = NegativeBinomialP( + self.endog, self.exog, offset=offset, exposure=exposure, p=p + ) + self.distribution = zinegbin + self.k_exog += 1 + self.k_extra += 1 + self.exog_names.append("alpha") + self.result_class = ZeroInflatedNegativeBinomialResults + self.result_class_wrapper = ZeroInflatedNegativeBinomialResultsWrapper + self.result_class_reg = L1ZeroInflatedNegativeBinomialResults + self.result_class_reg_wrapper = L1ZeroInflatedNegativeBinomialResultsWrapper + + def _get_init_kwds(self): + kwds = super()._get_init_kwds() + kwds["p"] = self.model_main.parameterization + return kwds + + def _predict_prob(self, params, exog, exog_infl, exposure, offset, y_values=None): + params_infl = params[: self.k_inflate] + params_main = params[self.k_inflate :] + + p = self.model_main.parameterization + if y_values is None: + y_values = np.arange(0, np.max(self.endog) + 1) + + if len(exog_infl.shape) < 2: + transform = True + w = np.atleast_2d(self.model_infl.predict(params_infl, exog_infl))[:, None] + else: + transform = False + w = self.model_infl.predict(params_infl, exog_infl)[:, None] + + w = np.clip(w, np.finfo(float).eps, 1 - np.finfo(float).eps) + mu = self.model_main.predict( + params_main, exog, exposure=exposure, offset=offset + )[:, None] + result = self.distribution.pmf(y_values, mu, params_main[-1], p, w) + return result[0] if transform else result + + def _predict_var(self, params, mu, prob_infl): + """ + Predict values for conditional variance V(endog | exog) + + Parameters + ---------- + params : array_like + The model parameters. This is only used to extract extra params + like dispersion parameter. + mu : array_like + Array of mean predictions for main model. + prob_infl : array_like + Array of predicted probabilities of zero-inflation `w`. + + Returns + ------- + ndarray + Predicted conditional variance. + """ + alpha = params[-1] + w = prob_infl + p = self.model_main.parameterization + var_ = (1 - w) * mu * (1 + alpha * mu**(p - 1) + w * mu) + return var_ + + def _get_start_params(self): + with warnings.catch_warnings(): + warnings.simplefilter("ignore", category=ConvergenceWarning) + start_params = self.model_main.fit(disp=0, method="nm").params + start_params = np.append(np.zeros(self.k_inflate), start_params) + return start_params + + @Appender(ZeroInflatedPoisson.get_distribution.__doc__) + def get_distribution(self, params, exog=None, exog_infl=None, + exposure=None, offset=None): + + p = self.model_main.parameterization + mu = self.predict(params, exog=exog, exog_infl=exog_infl, + exposure=exposure, offset=offset, which="mean-main") + w = self.predict(params, exog=exog, exog_infl=exog_infl, + exposure=exposure, offset=offset, which="prob-main") + + # distr = self.distribution(mu[:, None], params[-1], p, 1 - w[:, None]) + distr = self.distribution(mu, params[-1], p, 1 - w) + return distr + + +class ZeroInflatedResults(CountResults): + + def get_prediction(self, exog=None, exog_infl=None, exposure=None, + offset=None, which="mean", average=False, + agg_weights=None, y_values=None, + transform=True, row_labels=None): + """ + Compute prediction results for zero-inflated model. + + Parameters + ---------- + exog : array_like, optional + The values for which you want to predict. + exog_infl : array_like, optional + Explanatory variables for the zero-inflation model. + exposure : array_like, optional + Log(exposure) is added to the linear predictor of the mean + function with coefficient equal to 1. + offset : array_like, optional + Offset is added to the linear predictor of the mean function + with coefficient equal to 1. + which : str, optional + Which statistic is to be predicted. Default is "mean". + The available statistics and options depend on the model. + See the model.predict docstring. + average : bool, optional + If average is True, then the mean prediction is computed, that + is, predictions are computed for individual exog and then the + average over observation is used. + If average is False, then the results are the predictions for + all observations, i.e., same length as ``exog``. + agg_weights : ndarray, optional + Aggregation weights, only used if average is True. + The weights are not normalized. + y_values : array_like, optional + Values of the random variable endog at which pmf is evaluated. + Only used if ``which="prob"``. + transform : bool, optional + If the model was fit via a formula, do you want to pass + exog through the formula. Default is True. E.g., if you fit + a model y ~ log(x1) + log(x2), and transform is True, then + you can pass a data structure that contains x1 and x2 in + their original form. Otherwise, you'd need to log the data + first. + row_labels : list of str, optional + If row_labels are provided, then they will replace the + generated labels. + + Returns + ------- + PredictionResultsDelta + The prediction results instance contains prediction and + prediction variance and can on demand calculate confidence + intervals and summary tables for the prediction of the mean + and of new observations. + """ + import statsmodels.base._prediction_inference as pred + + pred_kwds = { + "exog_infl": exog_infl, + "exposure": exposure, + "offset": offset, + "y_values": y_values, + } + + res = pred.get_prediction_delta(self, exog=exog, which=which, + average=average, + agg_weights=agg_weights, + pred_kwds=pred_kwds) + return res + + def get_influence(self): + """ + Influence and outlier measures + + See notes section for influence measures that do not apply for + zero-inflated models. + + Returns + ------- + MLEInfluence + The instance has methods to calculate the main influence and + outlier measures as attributes. + + See Also + -------- + statsmodels.stats.outliers_influence.MLEInfluence + + Notes + ----- + ZeroInflated models have functions that are not differentiable + with respect to sample endog if endog=0. This means that generalized + leverage cannot be computed in the usual definition. + + Currently, both the generalized leverage, in `hat_matrix_diag` + attribute and studentized residuals are not available. In the influence + plot generalized leverage is replaced by a hat matrix diagonal that + only takes combined exog into account, computed in the same way as + for OLS. This is a measure for exog outliers but does not take + specific features of the model into account. + """ + # same as super in DiscreteResults, only added for docstring + from statsmodels.stats.outliers_influence import MLEInfluence + return MLEInfluence(self) + + +class ZeroInflatedPoissonResults(ZeroInflatedResults): + __doc__ = _discrete_results_docs % { + "one_line_description": "A results class for Zero-Inflated Poisson", + "extra_attr": "" + } + + @cache_readonly + def _dispersion_factor(self): + mu = self.predict(which="linear") + w = 1 - self.predict() / np.exp(self.predict(which="linear")) + return (1 + w * np.exp(mu)) + + def get_margeff(self, at="overall", method="dydx", atexog=None, + dummy=False, count=False): + """ + Get marginal effects of the fitted model + + Not yet implemented for Zero-Inflated Models + """ + raise NotImplementedError("not yet implemented for zero inflation") + + +class L1ZeroInflatedPoissonResults(L1CountResults, ZeroInflatedPoissonResults): + pass + + +class ZeroInflatedPoissonResultsWrapper(lm.RegressionResultsWrapper): + pass + + +wrap.populate_wrapper(ZeroInflatedPoissonResultsWrapper, ZeroInflatedPoissonResults) + + +class L1ZeroInflatedPoissonResultsWrapper(lm.RegressionResultsWrapper): + pass + + +wrap.populate_wrapper(L1ZeroInflatedPoissonResultsWrapper, L1ZeroInflatedPoissonResults) + + +class ZeroInflatedGeneralizedPoissonResults(ZeroInflatedResults): + __doc__ = _discrete_results_docs % { + "one_line_description": "A results class for Zero-Inflated Generalized Poisson", + "extra_attr": "", + } + + @cache_readonly + def _dispersion_factor(self): + p = self.model.model_main.parameterization + alpha = self.params[self.model.k_inflate :][-1] + mu = np.exp(self.predict(which="linear")) + w = 1 - self.predict() / mu + return (1 + alpha * mu**p) ** 2 + w * mu + + def get_margeff( + self, at="overall", method="dydx", atexog=None, dummy=False, count=False + ): + """ + Get marginal effects of the fitted model + + Not yet implemented for Zero-Inflated Models + """ + raise NotImplementedError("not yet implemented for zero inflation") + + +class L1ZeroInflatedGeneralizedPoissonResults( + L1CountResults, ZeroInflatedGeneralizedPoissonResults +): + pass + + +class ZeroInflatedGeneralizedPoissonResultsWrapper(lm.RegressionResultsWrapper): + pass + + +wrap.populate_wrapper( + ZeroInflatedGeneralizedPoissonResultsWrapper, ZeroInflatedGeneralizedPoissonResults +) + + +class L1ZeroInflatedGeneralizedPoissonResultsWrapper(lm.RegressionResultsWrapper): + pass + + +wrap.populate_wrapper( + L1ZeroInflatedGeneralizedPoissonResultsWrapper, + L1ZeroInflatedGeneralizedPoissonResults, +) + + +class ZeroInflatedNegativeBinomialResults(ZeroInflatedResults): + __doc__ = _discrete_results_docs % { + "one_line_description": "A results class for Zero-Inflated Generalized Negative Binomial", + "extra_attr": "", + } + + @cache_readonly + def _dispersion_factor(self): + p = self.model.model_main.parameterization + alpha = self.params[self.model.k_inflate :][-1] + mu = np.exp(self.predict(which="linear")) + w = 1 - self.predict() / mu + return 1 + alpha * mu ** (p - 1) + w * mu + + def get_margeff( + self, at="overall", method="dydx", atexog=None, dummy=False, count=False + ): + """ + Get marginal effects of the fitted model + + Not yet implemented for Zero-Inflated Models + """ + raise NotImplementedError("not yet implemented for zero inflation") + + +class L1ZeroInflatedNegativeBinomialResults( + L1CountResults, ZeroInflatedNegativeBinomialResults +): + pass + + +class ZeroInflatedNegativeBinomialResultsWrapper(lm.RegressionResultsWrapper): + pass + + +wrap.populate_wrapper( + ZeroInflatedNegativeBinomialResultsWrapper, ZeroInflatedNegativeBinomialResults +) + + +class L1ZeroInflatedNegativeBinomialResultsWrapper(lm.RegressionResultsWrapper): + pass + + +wrap.populate_wrapper( + L1ZeroInflatedNegativeBinomialResultsWrapper, L1ZeroInflatedNegativeBinomialResults +) diff --git a/shared/package-files/37/371b3576bdb6cd740dc1805aee8cea4b114e67a52e8acef4f384fedeadb78932/_classical.pyx.in b/shared/package-files/37/371b3576bdb6cd740dc1805aee8cea4b114e67a52e8acef4f384fedeadb78932/_classical.pyx.in new file mode 100644 index 0000000000000000000000000000000000000000..2295fad711474ed228728b2afd182297043f48c3 --- /dev/null +++ b/shared/package-files/37/371b3576bdb6cd740dc1805aee8cea4b114e67a52e8acef4f384fedeadb78932/_classical.pyx.in @@ -0,0 +1,247 @@ +#cython: boundscheck=False +#cython: wraparound=False +#cython: cdivision=False +""" +State Space Models + +Author: Chad Fulton +License: Simplified-BSD + +Notes +----- + +The dimensions used in all the BLAS / LAPACK calls below use the following +convention: + +- The dimensions of the arrays *as they are to be manipulated* are all defined + as model._k_* +- If the array in question is defined in the Statespace object + (obs, obs_intercept, design, obs_cov, state_intercept, transition, selection, + state_cov, selected_state_cov), then the dimension in-memory is defined as + model._k_* + This is because the in-memory shape of matrices changes according to whether + or not data is missing and whether or not the generalized collapse transform + is applied. +- If the array in question is defined in the Kalman filter object + (forecast_*, filtered_*, predicted_*, etc.), then the dimension in-memory is + defined as kfilter.k_* + This is because the in-memory shape of matrices only changes according to + filter_method. +- If the array in question is defined in the Kalman smoother object + (smoothed_*, etc.), then the dimension in-memory is defined as kfilter.k_* + This is because the in-memory shape of matrices only changes according to + filter_method. + +Thus, for example, a ?gemm call has the following signature: + +dgemm(transa, transb, m, n, k, alpha, a, lda, b, ldb, beta, c, ldc) + +- m, n, and k are the dimensions *as they are to be manipulated*, and are + always defined as model._k_* +- lda, ldb, and ldc are the *in-memory* dimension, and they are set as + model._k_* if the array is defined in the Statespace object, otherwise + (in either the filter or smoother cases) they are set as kfilter.k_* + +Note that for ?copy calls, the number of elements to be copied is defined to be +the dimension in memory of the array that is being copied *from*. +""" + +{{py: + +TYPES = { + "s": ("np.float32_t", "np.float32", "np.NPY_FLOAT32"), + "d": ("np.float64_t", "float", "np.NPY_FLOAT64"), + "c": ("np.complex64_t", "np.complex64", "np.NPY_COMPLEX64"), + "z": ("np.complex128_t", "complex", "np.NPY_COMPLEX128"), +} + +}} + +# Typical imports +import numpy as np +cimport numpy as np +from statsmodels.includes.math cimport * +cimport scipy.linalg.cython_blas as blas +cimport scipy.linalg.cython_lapack as lapack +include "statsmodels/tsa/statespace/_blas_int.pxi" + +from statsmodels.tsa.statespace._kalman_smoother cimport ( + SMOOTHER_STATE, SMOOTHER_STATE_COV, SMOOTHER_DISTURBANCE, + SMOOTHER_DISTURBANCE_COV +) + +{{for prefix, types in TYPES.items()}} +{{py:cython_type, dtype, typenum = types}} +{{py: +combined_prefix = prefix +combined_cython_type = cython_type +if prefix == 'c': + combined_prefix = 'z' + combined_cython_type = 'np.complex128_t' +if prefix == 's': + combined_prefix = 'd' + combined_cython_type = 'np.float64_t' +}} + +# ### Classical Kalman smoother +# +# The following are the above routines as defined in the conventional Kalman +# smoother. +# +# See Durbin and Koopman (2012) Chapter 4.6.1 + +cdef int {{prefix}}smoothed_estimators_measurement_classical({{prefix}}KalmanSmoother smoother, {{prefix}}KalmanFilter kfilter, {{prefix}}Statespace model) except *: + cdef: + int i, j + blas_int info + blas_int inc = 1 + blas_int kf_k_endog = kfilter.k_endog + blas_int kf_k_states = kfilter.k_states + blas_int kf_k_states2 = kfilter.k_states2 + blas_int m_k_endog = model._k_endog + blas_int m_k_states = model._k_states + blas_int m_k_states2 = model._k_states2 + {{cython_type}} alpha = 1.0 + {{cython_type}} beta = 0.0 + {{cython_type}} gamma = -1.0 + {{cython_type}} tmp + + # Factorize the predicted state covariance matrix + blas.{{prefix}}copy(&kf_k_states2, &kfilter.predicted_state_cov[0,0,smoother.t+1], &inc, + smoother._tmpL, &inc) + lapack.{{prefix}}potrf("L", &kf_k_states, smoother._tmpL, &kf_k_states, &info) + + if info < 0: + raise np.linalg.LinAlgError('Illegal value in predicted state' + ' covariance matrix encountered at' + ' period %d' % smoother.t) + if info > 0: + raise np.linalg.LinAlgError('Singular predicted state covariance' + ' matrix encountered at period %d' % + smoother.t) + + # Scaled smoothed estimator + # $r_t = P_{t+1}^{-1} (\hat \alpha_{t+1} - a_{t+1})$ + # $(m \times 1) = (m \times m) [(m \times 1) - (m \times 1)]$ + # Note: save $r_t$ as _input_scaled_smoothed_estimator not as + # _scaled_smoothed_estimator + if smoother.t < model.nobs-1 and smoother.smoother_output & (SMOOTHER_STATE | SMOOTHER_DISTURBANCE): + blas.{{prefix}}copy(&kf_k_states, &smoother.smoothed_state[0, smoother.t+1], &inc, + smoother._input_scaled_smoothed_estimator, &inc) + blas.{{prefix}}axpy(&kf_k_states, &gamma, &kfilter.predicted_state[0,smoother.t+1], &inc, + smoother._input_scaled_smoothed_estimator, &inc) + + lapack.{{prefix}}potrs("L", &kf_k_states, &inc, smoother._tmpL, &kf_k_states, + smoother._input_scaled_smoothed_estimator, &kf_k_states, &info) + + if info < 0: + raise np.linalg.LinAlgError('Illegal value in predicted state' + ' covariance matrix encountered at' + ' period %d' % smoother.t) + + # Scaled smoothed estimator covariance matrix + # $N_t = P_{t+1}^{-1} (P_{t+1} - V_{t+1}) P_{t+1}^{-1} + # $(m \times m) = (m \times p) (p \times m) + (m \times m) (m \times m) (m \times m)$ + # Note: save $N_t$ as _input_scaled_smoothed_estimator_cov not as + # _scaled_smoothed_estimator_cov + if smoother.t < model.nobs-1 and smoother.smoother_output & (SMOOTHER_STATE_COV | SMOOTHER_DISTURBANCE_COV): + blas.{{prefix}}copy(&kf_k_states2, &kfilter.predicted_state_cov[0, 0, smoother.t+1], &inc, + smoother._input_scaled_smoothed_estimator_cov, &inc) + blas.{{prefix}}axpy(&kf_k_states2, &gamma, &smoother.smoothed_state_cov[0, 0, smoother.t+1], &inc, + smoother._input_scaled_smoothed_estimator_cov, &inc) + + lapack.{{prefix}}potrs("L", &kf_k_states, &kf_k_states, smoother._tmpL, &kf_k_states, + smoother._input_scaled_smoothed_estimator_cov, &kf_k_states, &info) + + if info < 0: + raise np.linalg.LinAlgError('Illegal value in predicted state' + ' covariance matrix encountered at' + ' period %d' % smoother.t) + + # transpose + for i in range(kfilter.k_states): + for j in range(i, kfilter.k_states): + if i == j: + continue + tmp = smoother.scaled_smoothed_estimator_cov[i,j,smoother.t+1] + smoother.scaled_smoothed_estimator_cov[i,j,smoother.t+1] = smoother.scaled_smoothed_estimator_cov[j,i,smoother.t+1] + smoother.scaled_smoothed_estimator_cov[j,i,smoother.t+1] = tmp + + lapack.{{prefix}}potrs("L", &kf_k_states, &kf_k_states, smoother._tmpL, &kf_k_states, + smoother._input_scaled_smoothed_estimator_cov, &kf_k_states, &info) + + if info < 0: + raise np.linalg.LinAlgError('Illegal value in predicted state' + ' covariance matrix encountered at' + ' period %d' % smoother.t) + + # Smoothing error + # $u_t = \\#_2 - K_t' r_t$ + # $(p \times 1) = (p \times 1) - (p \times m) (m \times 1)$ + if smoother.smoother_output & (SMOOTHER_DISTURBANCE): + if not model._nmissing == model.k_endog: + blas.{{prefix}}copy(&kf_k_endog, kfilter._tmp2, &inc, smoother._smoothing_error, &inc) + blas.{{prefix}}gemv("T", &m_k_states, &m_k_endog, + &gamma, kfilter._kalman_gain, &kf_k_states, + smoother._input_scaled_smoothed_estimator, &inc, + &alpha, smoother._smoothing_error, &inc) + + # $L_t = (T_t - K_t Z_t)$ + # $(m \times m) = (m \times m) + (m \times p) (p \times m)$ + # (this is required for any type of smoothing) + blas.{{prefix}}copy(&m_k_states2, model._transition, &inc, smoother._tmpL, &inc) + blas.{{prefix}}gemm("N", "N", &m_k_states, &m_k_states, &m_k_endog, + &gamma, kfilter._kalman_gain, &kf_k_states, + model._design, &m_k_endog, + &alpha, smoother._tmpL, &kf_k_states) + +cdef int {{prefix}}smoothed_estimators_time_classical({{prefix}}KalmanSmoother smoother, {{prefix}}KalmanFilter kfilter, {{prefix}}Statespace model): + pass + +cdef int {{prefix}}smoothed_state_classical({{prefix}}KalmanSmoother smoother, {{prefix}}KalmanFilter kfilter, {{prefix}}Statespace model): + cdef int i, j + cdef: + blas_int inc = 1 + blas_int kf_k_states = kfilter.k_states + blas_int m_k_states = model._k_states + {{cython_type}} alpha = 1.0 + {{cython_type}} beta = 0.0 + {{cython_type}} gamma = -1.0 + + if (smoother.smoother_output & SMOOTHER_STATE) or (smoother.smoother_output & SMOOTHER_STATE_COV): + blas.{{prefix}}gemm("N", "T", &m_k_states, &m_k_states, &m_k_states, + &alpha, &kfilter.filtered_state_cov[0, 0, smoother.t], &kf_k_states, + model._transition, &kf_k_states, + &beta, smoother._tmp0, &kf_k_states) + + # Smoothed state + if smoother.smoother_output & SMOOTHER_STATE: + # $\hat \alpha_t = a_t|t + P_t|t T_t' r_t$ + # $(m \times 1) = (m \times 1) + (m \times m) (m \times 1)$ + blas.{{prefix}}copy(&kf_k_states, &kfilter.filtered_state[0,smoother.t], &inc, smoother._smoothed_state, &inc) + + blas.{{prefix}}gemv("N", &m_k_states, &m_k_states, + &alpha, smoother._tmp0, &kf_k_states, + smoother._input_scaled_smoothed_estimator, &inc, + &alpha, smoother._smoothed_state, &inc) + + # Smoothed state covariance + if smoother.smoother_output & SMOOTHER_STATE_COV: + # $V_t = P_t|t [I - T_t' N_t T_t P_t|t]$ + # $(m \times m) = (m \times m) [(m \times m) - (m \times m) (m \times m)]$ + blas.{{prefix}}gemm("N", "T", &m_k_states, &m_k_states, &m_k_states, + &alpha, smoother._input_scaled_smoothed_estimator_cov, &kf_k_states, + smoother._tmp0, &kf_k_states, + &beta, smoother._tmpL2, &kf_k_states) + blas.{{prefix}}gemm("T", "N", &m_k_states, &m_k_states, &m_k_states, + &gamma, model._transition, &kf_k_states, + smoother._tmpL2, &kf_k_states, + &beta, smoother._tmp0, &kf_k_states) + for i in range(kfilter.k_states): + smoother.tmp0[i,i] = 1 + smoother.tmp0[i,i] + blas.{{prefix}}gemm("N", "N", &m_k_states, &m_k_states, &m_k_states, + &alpha, &kfilter.filtered_state_cov[0,0,smoother.t], &kf_k_states, + smoother._tmp0, &kf_k_states, + &beta, smoother._smoothed_state_cov, &kf_k_states) + +{{endfor}} \ No newline at end of file diff --git a/shared/package-files/37/371b6f42f2a807810659b64284d0e7c14e3d5a4e94641a938dbfa1ed90c2d7b4/hardsigmoid_cuda_dispatch.h b/shared/package-files/37/371b6f42f2a807810659b64284d0e7c14e3d5a4e94641a938dbfa1ed90c2d7b4/hardsigmoid_cuda_dispatch.h new file mode 100644 index 0000000000000000000000000000000000000000..642140c2e920127aa6d870cf48a07eef153b1213 --- /dev/null +++ b/shared/package-files/37/371b6f42f2a807810659b64284d0e7c14e3d5a4e94641a938dbfa1ed90c2d7b4/hardsigmoid_cuda_dispatch.h @@ -0,0 +1,26 @@ +#pragma once +// @generated by torchgen/gen.py from DispatchKeyFunction.h + +// NB: The implementing C++ file is RegisterDispatchKey.cpp + +// The only #includes we need are for custom classes that have defaults in the C++ API +#include +#include +#include + +// Forward declarations of any types needed in the operator signatures. +// We can't directly include these classes because it will cause circular include dependencies. +// This file is included by TensorBody.h, which defines the Tensor class. +#include + +namespace at { + +namespace cuda { + +TORCH_API at::Tensor hardsigmoid(const at::Tensor & self); +TORCH_API at::Tensor & hardsigmoid_out(at::Tensor & out, const at::Tensor & self); +TORCH_API at::Tensor & hardsigmoid_outf(const at::Tensor & self, at::Tensor & out); +TORCH_API at::Tensor & hardsigmoid_(at::Tensor & self); + +} // namespace cuda +} // namespace at diff --git a/shared/package-files/37/371fbb5de08bafb9d28cb4685e799c45864ef12e14d5ba0304e8b20962c28d9d/test_pt_inputhooks.py b/shared/package-files/37/371fbb5de08bafb9d28cb4685e799c45864ef12e14d5ba0304e8b20962c28d9d/test_pt_inputhooks.py new file mode 100644 index 0000000000000000000000000000000000000000..3f788c738cffdca794b72dcf2f5c488c17a1d0af --- /dev/null +++ b/shared/package-files/37/371fbb5de08bafb9d28cb4685e799c45864ef12e14d5ba0304e8b20962c28d9d/test_pt_inputhooks.py @@ -0,0 +1,50 @@ +import os +import importlib + +import pytest + +from IPython.terminal.pt_inputhooks import set_qt_api, get_inputhook_name_and_func + + +guis_avail = [] + + +def _get_qt_vers(): + """If any version of Qt is available, this will populate `guis_avail` with 'qt' and 'qtx'. Due + to the import mechanism, we can't import multiple versions of Qt in one session.""" + for gui in ["qt", "qt6", "qt5"]: + print(f"Trying {gui}") + try: + set_qt_api(gui) + importlib.import_module("IPython.terminal.pt_inputhooks.qt") + guis_avail.append(gui) + if "QT_API" in os.environ.keys(): + del os.environ["QT_API"] + except ImportError: + pass # that version of Qt isn't available. + except RuntimeError: + pass # the version of IPython doesn't know what to do with this Qt version. + + +_get_qt_vers() + + +@pytest.mark.skipif( + len(guis_avail) == 0, reason="No viable version of PyQt or PySide installed." +) +def test_inputhook_qt(): + # Choose the "best" Qt version. + gui_ret, _ = get_inputhook_name_and_func("qt") + + assert gui_ret != "qt" # you get back the specific version that was loaded. + assert gui_ret in guis_avail + + if len(guis_avail) > 2: + # ...and now we're stuck with this version of Qt for good; can't switch. + for not_gui in ["qt6", "qt5"]: + if not_gui != gui_ret: + break + # Try to import the other gui; it won't work. + gui_ret2, _ = get_inputhook_name_and_func(not_gui) + assert gui_ret2 == gui_ret + assert gui_ret2 != not_gui diff --git a/shared/package-files/37/37236b136608c0bf7255d7691027185b0722e49ceb7e3c622173fb44fd0cacbf/Azores b/shared/package-files/37/37236b136608c0bf7255d7691027185b0722e49ceb7e3c622173fb44fd0cacbf/Azores new file mode 100644 index 0000000000000000000000000000000000000000..10232ab38ec595b889167a3f0f037a940ef2ac98 Binary files /dev/null and b/shared/package-files/37/37236b136608c0bf7255d7691027185b0722e49ceb7e3c622173fb44fd0cacbf/Azores differ diff --git a/shared/package-files/37/37251fb2625d69f1a25310fd83361036555d1eefc82c31fb179ed5270f1e7d43/__init__.py b/shared/package-files/37/37251fb2625d69f1a25310fd83361036555d1eefc82c31fb179ed5270f1e7d43/__init__.py new file mode 100644 index 0000000000000000000000000000000000000000..de902b43998562de06e92a586107381281922168 --- /dev/null +++ b/shared/package-files/37/37251fb2625d69f1a25310fd83361036555d1eefc82c31fb179ed5270f1e7d43/__init__.py @@ -0,0 +1,7 @@ +from __future__ import annotations + +from .server import TelnetServer + +__all__ = [ + "TelnetServer", +] diff --git a/shared/package-files/37/3727544c6ada85ba813c300aa317f1a602a3209b94b97c7f78fcd4af8ad1e8c2/tensor.py b/shared/package-files/37/3727544c6ada85ba813c300aa317f1a602a3209b94b97c7f78fcd4af8ad1e8c2/tensor.py new file mode 100644 index 0000000000000000000000000000000000000000..940e92adc1a50cfd791a6e689594d627a8f28f3b --- /dev/null +++ b/shared/package-files/37/3727544c6ada85ba813c300aa317f1a602a3209b94b97c7f78fcd4af8ad1e8c2/tensor.py @@ -0,0 +1,1189 @@ +# mypy: ignore-errors + +import functools + +import inspect +import operator +import types +from typing import Dict, List + +from torch.utils._python_dispatch import is_traceable_wrapper_subclass + +from ..bytecode_transformation import create_call_method +from ..external_utils import call_hook_from_backward_state + +try: + import numpy as np +except ModuleNotFoundError: + np = None + + +import sympy + +import torch._numpy as tnp + +import torch.fx +import torch.random +from torch._dynamo import compiled_autograd +from torch._subclasses.meta_utils import is_sparse_any + +from torch.fx.experimental.symbolic_shapes import ( + guard_scalar, + GuardOnDataDependentSymNode, + has_free_symbols, + is_symbolic, + SymTypes, +) + +from .. import config, variables +from .._trace_wrapped_higher_order_op import trace_wrapped + +from ..exc import unimplemented, UserError, UserErrorType +from ..guards import GuardBuilder, install_guard +from ..source import AttrSource +from ..utils import ( + fqn, + get_custom_getattr, + get_fake_value, + get_real_value, + guard_if_dyn, + object_has_getattribute, + product, + proxy_args_kwargs, + tensortype_to_dtype, +) +from .base import VariableTracker +from .constant import ConstantVariable +from .lists import SizeVariable + +supported_tensor_comparison_ops = { + ">": operator.gt, + "<": operator.lt, + ">=": operator.ge, + "<=": operator.le, + "==": operator.eq, + "!=": operator.ne, +} +supported_const_comparison_ops = { + "is": operator.is_, + "is not": operator.is_not, + "==": operator.eq, + "!=": operator.ne, +} + + +class TensorVariable(VariableTracker): + """A torch.Tensor input or an intermediate value in the FX graph""" + + _nonvar_fields = { + "proxy", + "dtype", + "device", + "layout", + "ndim", + "size", + "stride", + "requires_grad", + "is_quantized", + "is_contiguous", + "is_sparse", + "class_type", + "specialized_value", + *VariableTracker._nonvar_fields, + } + + def get_real_value(self): + """ + Get the actual value represented by this variable if computation is run + using the user-provided inputs. + NOTE: this runs actual tensor computation and may be + slow and memory-intensive. + """ + return get_real_value(self.proxy.node, self.proxy.tracer) + + def __init__( + self, + proxy: torch.fx.Proxy, + *, + dtype, + device, + layout, + ndim, + requires_grad, + is_quantized, + is_sparse, + class_type, + size=None, + stride=None, + is_contiguous=None, + **kwargs, + ): + super().__init__(**kwargs) + self.proxy = proxy + self.dtype = dtype + self.device = device + self.layout = layout + self.ndim = ndim + self.size = size + self.stride = stride + self.requires_grad = requires_grad + self.is_quantized = is_quantized + self.is_contiguous = is_contiguous + self.is_sparse = is_sparse + self.class_type = class_type + + def as_proxy(self): + return self.proxy + + def python_type(self): + return self.class_type + + @staticmethod + def specialize(value: torch.Tensor): + props = { + "dtype": value.dtype, + "device": value.device, + "layout": value.layout, + "ndim": int(value.ndim), + "requires_grad": value.requires_grad, + "is_quantized": value.is_quantized, + "is_sparse": value.is_sparse, + "class_type": type(value), + } + if is_sparse_any(value) and not has_free_symbols(value): + props["size"] = tuple( + [int(s) if is_symbolic(s) else s for s in value.size()] + ) + elif not has_free_symbols(value): + # this is a fully static shape, and the keys on props here inform specialization. + # We have to cast to int here, because these might get accessed as ConstantVariable, which has + # a strict no-symint policy. If we got here due to not having free symbols, this is a known constant + # already. We could remove the discrepancy here, by having ConstantVariable be more permissive for + # constant backed SymInts, but that assert being strict has led to some good signal in hunting bugs, and + # I'd like to keep it around for now. + props["size"] = tuple( + # the non is_symbolic case applies to the jagged layout + # NestedTensor case as singleton ints are not symbolic + [int(s) if is_symbolic(s) else s for s in value.size()] + ) + props["stride"] = tuple(value.stride()) + if torch._C._functorch.is_batchedtensor(value): + # Batched tensors does not support contiguity patterns, so + # we refrain from computing the `is_contiguous` property + props["is_contiguous"] = None + else: + props["is_contiguous"] = tuple( + [ + x + for x in torch._prims_common._memory_formats + if value.is_contiguous(memory_format=x) + ] + ) + return props + + def dynamic_getattr(self, tx, name): + fake_val = self.proxy.node.meta["example_value"] + # For getattrs on tensors without sources, + # we can do better than the default (creating a GetAttrVariable) + # if: + # (1) the tensor is a traceable tensor subclass + # (2) We are getattr'ing an inner tensor from that subclass + if not self.source and is_traceable_wrapper_subclass(fake_val): + fake_val = self.proxy.node.meta["example_value"] + attrs, ctx = fake_val.__tensor_flatten__() + proxy = getattr(self.as_proxy(), name) + example_value = getattr(fake_val, name) + if name in attrs: + # attrs returned from tensor_flatten are always tensors + assert isinstance(example_value, torch.Tensor) + from .builder import wrap_fx_proxy + + return wrap_fx_proxy(tx=tx, proxy=proxy, example_value=example_value) + # any other attributes on the subclass (that are not methods) + # are assumed to be constant metadata. + elif not callable(example_value): + from .builder import SourcelessBuilder + + return SourcelessBuilder()(tx, example_value) + + if not (self.source and self.source.subguards_allowed()): + raise NotImplementedError() + + # For local source, we associate the real value. We use this real value + # for implementing getattr fallthrough on the variable tracker base class. + + # Note - this scope construction is mirrored in guards + # A subsequent PR will introduce a util. + scope = {"L": tx.output.local_scope, "G": tx.output.global_scope} + try: + # We raise in case we get a typerror bug w/ SuperSource. + # SuperSource has bugs in it atm, and can produce code like + # eval("super(L['mod'].model.model.encoder.embed_positions.forward__class__, + # L['mod'].model.model.encoder.embed_positions)", scope) + # Which is incorrect, and violates the invariant that all sources should be eval()-able against the scope. + _input_associated_real_value = eval(self.source.name(), scope) + except Exception as exc: + raise NotImplementedError() from exc + + if _input_associated_real_value is None: + raise NotImplementedError() + + if object_has_getattribute(_input_associated_real_value): + raise NotImplementedError() + + if get_custom_getattr(_input_associated_real_value): + raise NotImplementedError() + + real_value = getattr(_input_associated_real_value, name) + if callable(real_value): + # Callables have more nuanced handling, and we should let the existing system delegate here. + # Raising was past behavior and so should always be sound to fall back. + # Note - at a certain point we may want to handle + raise NotImplementedError() + + from ..guards import GuardBuilder + from .builder import VariableBuilder + + attr_source = AttrSource(self.source, name) + install_guard(attr_source.make_guard(GuardBuilder.HASATTR)) + return VariableBuilder(tx, attr_source)(real_value) + + def method_attr_ndim(self, tx): + if self.ndim is not None: + return ConstantVariable.create(self.ndim) + else: + return self.call_method(tx, "dim", [], {}) + + def method_attr_dtype(self, tx): + if self.dtype is not None: + return ConstantVariable.create(self.dtype) + + def method_attr_device(self, tx): + if self.device is not None: + return ConstantVariable.create(self.device) + + def method_attr_layout(self, tx): + if self.layout is not None: + return ConstantVariable.create(self.layout) + + def method_attr_is_cuda(self, tx): + if self.device is not None: + return ConstantVariable.create(self.device.type == "cuda") + + def method_attr_shape(self, tx): + if self.size is not None: + sizes = [variables.ConstantVariable.create(x) for x in self.size] + return SizeVariable(sizes) + else: + return self.call_method(tx, "size", [], {}) + + def method_attr_requires_grad(self, tx): + if self.requires_grad is not None: + return ConstantVariable.create(self.requires_grad) + + def method_attr_is_quantized(self, tx): + if self.is_quantized is not None: + return ConstantVariable.create(self.is_quantized) + + def method_attr_is_sparse(self, tx): + if self.is_sparse is not None: + return ConstantVariable.create(self.is_sparse) + + def method_attr_data(self, tx): + return self.call_method(tx, "detach", [], {}) + + def method_attr__version(self, tx): + from ..tensor_version_op import _tensor_version + + return variables.TorchInGraphFunctionVariable(_tensor_version).call_function( + tx, [self], {} + ) + + def var_getattr(self, tx, name): + from . import UserDefinedClassVariable + + if tx.strict_checks_enabled: + if name in self._strict_mode_banned_ops(): + unimplemented(f"Illegal getattr invocation {name} in strict mode") + + if name == "__class__": + return UserDefinedClassVariable(self.python_type()) + + handler = getattr(self, f"method_attr_{name}", None) + result = handler(tx) if handler is not None else None + + # Add a guard for type matching, these guards are checked before tensor guards + # In some cases, a . guard can be evaluated first, and break if + # is later changed to another type + if ( + result is not None + and self.source + and self.source.subguards_allowed() + and not ( + name not in ("grad", "requires_grad") and result.is_python_constant() + ) + ): + install_guard(self.make_guard(GuardBuilder.TYPE_MATCH)) + result.source = AttrSource(self.source, name) + + # It's hard to get inplace view (metadata mutation) on graph input work properly across + # dynamo/aot/inductor, just fall back. + if self.source is not None and hasattr(torch.ops.aten, name): + fn = getattr(torch.ops.aten, name) + if ( + hasattr(fn, "overloads") + and hasattr(fn, fn.overloads()[0]) + and torch.Tag.inplace_view in getattr(fn, fn.overloads()[0]).tags + ): + # Delay the graph break to the actual call of unsqueeze_/resize_/resize_as_ etc. + return variables.misc.DelayGraphBreakVariable( + source=AttrSource(self.source, name) + ) + + # For attributes (not methods) that were not caught in the special handling above, + # (e.g. tensor.real), we handle these generically, assuming that the output type is + # a tensor. + if result is None and name != "grad": + + def try_generic_attr_handling(): + from .builder import wrap_fx_proxy + from .misc import GetAttrVariable + + try: + static_attr = inspect.getattr_static(torch.Tensor, name) + except AttributeError: + return None + + # Make sure this is an attribute, not a method. + # type(torch.Tensor.H) should be "getset_descriptor" + # This is a because of CPython implementation, see THPVariableType: + # these attributes are implemented under tp_getset, which appear + # as `getset_descriptor`s, (compared to, say, methods which appear + # as `method_descriptor`s) + if type(static_attr) != types.GetSetDescriptorType: + return None + + proxy = GetAttrVariable.create_getattr_proxy(self.as_proxy(), name) + if self.source is not None: + return wrap_fx_proxy( + tx=tx, proxy=proxy, source=AttrSource(self.source, name) + ) + else: + return wrap_fx_proxy(tx=tx, proxy=proxy) + + result = try_generic_attr_handling() + + if result is None: + result = self.dynamic_getattr(tx, name) + + if result is None: + raise NotImplementedError() + return result + + def has_unpack_var_sequence(self, tx): + return self.ndim > 0 + + def unpack_var_sequence(self, tx, idxes=None): + from .builder import wrap_fx_proxy_cls + + if idxes is None: + if self.size: + length = self.size[0] + else: + dyn_length = self.call_method( + tx, "size", [ConstantVariable.create(0)], {} + ) + # SymNodeVariable for symbolic sizes, ConstantVariable for constants OR values produced through + # symbolic_shapes, but that end up as int/sympy.Integer + assert isinstance(dyn_length, (SymNodeVariable, ConstantVariable)) + if isinstance(dyn_length, SymNodeVariable): + length = dyn_length.evaluate_expr(tx.output) + else: + length = dyn_length.value + idxes = range(length) + return [ + wrap_fx_proxy_cls(target_cls=type(self), tx=tx, proxy=self.as_proxy()[i]) + for i in idxes + ] + + def _strict_mode_banned_ops(self): + return torch._dynamo.config._autograd_backward_strict_mode_banned_ops + + def call_method( + self, + tx, + name, + args: "List[VariableTracker]", + kwargs: "Dict[str, VariableTracker]", + ) -> "VariableTracker": + if tx.strict_checks_enabled: + if name in self._strict_mode_banned_ops(): + unimplemented(f"Illegal method invocation {name} in strict mode") + + """ + Dispatch to a method-specific handler defined below. If the + handler returns None (or doesn't exist) we put the method call + in the graph. + """ + try: + handler_method = getattr(self, f"method_{name}") + except AttributeError: + pass + else: + try: + result = handler_method(*args, **kwargs) + if result: + return result + except TypeError as e: + unimplemented(f"unhandled args for {name}: {e}") + + from .builder import wrap_fx_proxy + + return wrap_fx_proxy( + tx, + tx.output.create_proxy( + "call_method", + name, + *proxy_args_kwargs([self, *args], kwargs), + ), + ) + + def method_size(self, *args, **kwargs): + return self._method_size_stride("size", *args, **kwargs) + + def method_stride(self, *args, **kwargs): + return self._method_size_stride("stride", *args, **kwargs) + + def _method_size_stride(self, name, dim=None): + dim = guard_if_dyn(dim) + + def make_const_size_variable(x, **options): + return SizeVariable( + [ConstantVariable.create(y, **options) for y in x], **options + ) + + RetVariable = ( + make_const_size_variable if name == "size" else ConstantVariable.create + ) + + # Technically, this should not be necessary, but I'm including it + # for enhanced BC, in case example_value is sometimes not set + # (it really should always be set though!) + if (r := getattr(self, name)) is not None: + if dim is None: + return RetVariable(r) + else: + return ConstantVariable.create(r[dim]) + + # It might still be constant! Consult the fake tensor and see + if (fake := self.proxy.node.meta.get("example_value")) is not None: + if dim is None: + fake_r = getattr(fake, name)() + if not has_free_symbols(fake_r): + # int conversion for safety, in case a SymInt refined + # to constant + return RetVariable(tuple(int(r) for r in fake_r)) + else: + fake_r = getattr(fake, name)(dim) + if not has_free_symbols(fake_r): + return ConstantVariable.create(int(fake_r)) + + def method_numel(self): + if self.size is not None: + return ConstantVariable.create(product(self.size)) + + # It might still be constant! Consult the fake tensor and see + if (fake := self.proxy.node.meta.get("example_value")) is not None: + fake_r = fake.numel() + if not has_free_symbols(fake_r): + return ConstantVariable.create(int(fake_r)) + + method_nelement = method_numel + + def method_dim(self): + if self.ndim is not None: + return ConstantVariable.create(self.ndim) + + method_ndimension = method_dim + + def method_is_floating_point(self): + if self.dtype is not None: + return ConstantVariable.create(self.dtype.is_floating_point) + + def method_is_contiguous(self, memory_format=None): + memory_format = ( + memory_format.as_python_constant() + if memory_format is not None + else torch.contiguous_format + ) + if self.is_contiguous is not None: + return ConstantVariable.create(memory_format in self.is_contiguous) + elif (fake := self.proxy.node.meta.get("example_value")) is not None: + return ConstantVariable.create( + fake.is_contiguous(memory_format=memory_format) + ) + + def method_type(self, dtype=None, non_blocking=False, **kwargs): + if ( + dtype is None + and self.dtype is not None + and isinstance(self.device, torch.device) + ): + tensortype = next( + k for k, v in tensortype_to_dtype.items() if self.dtype in v + ) + if self.device.type == "cuda": + return ConstantVariable.create(f"torch.cuda.{tensortype.__name__}") + else: + return ConstantVariable.create(f"torch.{tensortype.__name__}") + elif ( + dtype is not None + and fqn(type(dtype.as_python_constant())) == "torch.tensortype" + ): + # torch.FloatTensor, etc. are all of type "torch.tensortype". + # torch.fx's tracer fails on these types, because it doesn't support arguments of torch.tensortype type. + # So, we pass it in as a string (which is also supported, see above implementation for .type() with 0 args) + tensor_type = dtype.as_python_constant() + tensor_type_const = ConstantVariable.create(fqn(tensor_type)) + + from ..symbolic_convert import InstructionTranslator + from .builder import wrap_fx_proxy + + tx = InstructionTranslator.current_tx() + + if non_blocking: + kwargs = {"non_blocking": non_blocking, **kwargs} + + return wrap_fx_proxy( + tx, + tx.output.create_proxy( + "call_method", + "type", + *proxy_args_kwargs([self, tensor_type_const], kwargs), + ), + ) + + def method_as_subclass(self, cls): + if isinstance(cls, TensorSubclassVariable) and cls.source: + from ..symbolic_convert import InstructionTranslator + from .builder import VariableBuilder + from .torch_function import TensorWithTFOverrideVariable + + tx = InstructionTranslator.current_tx() + + # [Note: __torch_function__] coerce this tensor variable into a TensorWithTFOverrideVariable + # in eager, this is just a type change. This isn't sound if a __torch_function__ tensor subclass + # defines a constructor, but if only a __torch_function__ impl is defined, this is okay to call. + # It is up to the user whether this is correct behavior or not. + py_cls = cls.as_python_constant() + torch_fn = VariableBuilder( + tx, + AttrSource(AttrSource(cls.source, "__torch_function__"), "__func__"), + )(py_cls.__torch_function__.__func__) + + return TensorWithTFOverrideVariable.from_tensor_var( + tx, self, py_cls, torch_fn + ) + + def method_get_device(self): + if isinstance(self.device, torch.device): + index = self.device.index if self.device.type != "cpu" else -1 + return ConstantVariable.create(index) + + def method_element_size(self): + return ConstantVariable.create(self.dtype.itemsize) + + def method_numpy(self, *, force=False): + if not config.trace_numpy: + unimplemented("Tensor.numpy(). config.trace_numpy is False") + if not np: + unimplemented("Tensor.numpy(). NumPy is not available") + if self.layout != torch.strided: + raise TypeError( + f"can't convert {self.layout} layout tensor to numpy. Use Tensor.dense() first" + ) + from ..symbolic_convert import InstructionTranslator + + tx = InstructionTranslator.current_tx() + + # We don't check that the tensor is on CPU when force is False, as this + # allows us to execute NumPy code on CUDA. Same for requires_grad=True + if force and force.as_python_constant(): + # If the user set force=True we try to preserve the semantics (no gradients, move to CPU...) + t = self.call_method(tx, "detach", [], {}) + proxy = tx.output.create_proxy("call_method", "cpu", (t.as_proxy(),), {}) + else: + # Hacky way to create a view of self that will be marked as NumpyNdarrayVariable + proxy = tx.output.create_proxy( + "call_method", "view_as", *proxy_args_kwargs([self, self], {}) + ) + return NumpyNdarrayVariable.create(tx, proxy) + + def method_tolist(self): + from ..symbolic_convert import InstructionTranslator + from .builder import SourcelessBuilder + + tx = InstructionTranslator.current_tx() + + def tolist(tensor, sub_proxy): + def wrap(i, sub_proxy): + return SymNodeVariable.create( + tx, + sub_proxy.item(), + sym_num=tx.output.shape_env.create_unbacked_symint(), + ) + + if tensor.dtype not in [ + torch.int8, + torch.int16, + torch.int32, + torch.int64, + ]: + unimplemented("Input tensor for tolist must be an integer tensor") + + if tensor.dim() == 0: + return wrap(tensor, sub_proxy) + + if tensor.dim() == 1: + return [wrap(val, sub_proxy[i]) for i, val in enumerate(tensor)] + + return [ + tolist(sub_tensor, sub_proxy=sub_proxy[i]) + for i, sub_tensor in enumerate(tensor) + ] + + tensor = self.as_proxy().node.meta["example_value"] + out = tolist(tensor, self.as_proxy()) + return SourcelessBuilder()(tx, out) + + def method_backward(self, *args, **kwargs): + unimplemented("Tensor.backward") + + def method_data_ptr(self, *args, **kwargs): + unimplemented("Tensor.data_ptr") + + def method_item(self, *args, **kwargs): + if not config.capture_scalar_outputs: + unimplemented("Tensor.item") + + def method___len__(self): + from ..symbolic_convert import InstructionTranslator + + tx = InstructionTranslator.current_tx() + return self.call_method(tx, "size", [ConstantVariable.create(0)], {}) + + def method___setitem__(self, key, value): + def has_bool_key(v): + if isinstance(v, TensorVariable): + return v.dtype in (torch.bool, torch.int8) + elif isinstance(v, variables.TupleVariable): + return any(has_bool_key(item) for item in v.items) + else: + return False + + if ( + has_bool_key(key) + and isinstance(value, TensorVariable) + and value.requires_grad + and torch.is_grad_enabled() + ): + unimplemented( + "boolean masking setitem backwards, see https://github.com/pytorch/pytorch/issues/114123" + ) + from ..symbolic_convert import InstructionTranslator + + tx = InstructionTranslator.current_tx() + tx.output.create_proxy( + "call_function", + operator.setitem, + *proxy_args_kwargs([self, key, value], {}), + ) + return ConstantVariable.create(None) + + def method_resize_(self, *args, **kwargs): + unimplemented("Tensor.resize_") + + def method_resize_as_(self, *args, **kwargs): + unimplemented("Tensor.resize_as_") + + def method_set_(self, *args, **kwargs): + if len(args) > 1: + # torch.Tensor.set_() has several overloads. + # aten::set_.source_Tensor(Tensor) gets special handling + # in AOTAutograd and functionalization, because it is the most common + # overload and is used by FSDP. + # graph-breaking on aten::set_source_Tensor_storage_offset for now, + # unless we find that we need to make it work. + unimplemented("Tensor.set_.source_Tensor_storage_offset") + + def method_add_(self, other, *, alpha=None): + if alpha is not None: + from ..symbolic_convert import InstructionTranslator + + tx = InstructionTranslator.current_tx() + result = variables.TorchInGraphFunctionVariable(torch.mul).call_function( + tx, [other, alpha], {} + ) + return self.call_method(tx, "add_", [result], {}) + + def method_addcdiv_(self, tensor1, tensor2, *, value=None): + from ..symbolic_convert import InstructionTranslator + + tx = InstructionTranslator.current_tx() + if value is not None: + result = variables.TorchInGraphFunctionVariable(torch.div).call_function( + tx, [tensor1, tensor2], {} + ) + result = variables.TorchInGraphFunctionVariable(torch.mul).call_function( + tx, [result, value], {} + ) + return self.call_method(tx, "add_", [result], {}) + + def method___contains__(self, arg): + from ..symbolic_convert import InstructionTranslator + + tx = InstructionTranslator.current_tx() + + # Rewrite __contains__ here so that downstream passes can trace through + # without dealing with unbacked symbool. Roughly the code we translate is: + # def __contains__(self, x): + # return (x == self).any().item() + result = variables.TorchInGraphFunctionVariable(torch.eq).call_function( + tx, [self, arg], {} + ) + result = variables.TorchInGraphFunctionVariable(torch.any).call_function( + tx, [result], {} + ) + return result.call_method(tx, "item", [], {}) + + def method_redistribute(self, *args, **kwargs): + from ..symbolic_convert import InstructionTranslator + + tx = InstructionTranslator.current_tx() + # rewrite non-primitive args/kwargs to be included in the on-the-fly prim function + # and rewrite args to have only proxyable args, then insert call_function + args_as_value = [x.as_python_constant() for x in args] + kwargs_as_value = {k: v.as_python_constant() for k, v in kwargs.items()} + + def redistribute_fn_with_prim_types(x): + return x.redistribute(*args_as_value, **kwargs_as_value) + + # attach the same function name for better debugging + redistribute_fn_with_prim_types.__name__ = "prim_redistribute" + + from .builder import wrap_fx_proxy + + return wrap_fx_proxy( + tx=tx, + proxy=tx.output.create_proxy( + "call_function", + redistribute_fn_with_prim_types, + *proxy_args_kwargs([self], {}), + ), + ) + + def method_register_hook(self, *args, **kwargs): + return self._method_register_hook("register_hook", *args, **kwargs) + + def method_register_post_accumulate_grad_hook(self, *args, **kwargs): + return self._method_register_hook( + "register_post_accumulate_grad_hook", *args, **kwargs + ) + + def _method_register_hook(self, name: str, hook: VariableTracker): + # Note - do not arbitrarily add hooks here - make sure they match the same contract + # see [On tensor.register_hook] + from ..symbolic_convert import InstructionTranslator + + tx = InstructionTranslator.current_tx() + + if not self.source: + if not compiled_autograd.compiled_autograd_enabled: + # TODO(voz): + # We can relax this by speculating the callable and ensuring that it doesn't modify arbitrary + # python state. + # We *Must* be in compiled_autograd here because backward hooks can contain anything, and it is unsafe to run + # them in a compiled bwd without re-entering dynamo as compiled_autograd does. + # + # Discussion point 1 - Should we bypass this if nopython/fullgraph = True? + # No. Because this was going to be a graph break anyway - this check does not + # introduce new graph breaks where there were none. + # + # Discussion point 2 - Should we defer this check to backwards? + # No. Because compiled autograd is not yet ready for prime time. As such, if we defer, a user + # would have no recourse - their forward traces just fine, but will fail at backwards unless + # compiled_autograd is enabled. If compiled_autograd fails (there are a lot of failures today) + # then they have nothing they can do except disable compile. + unimplemented( + "Compilation of intermediate hooks requires compiled autograd" + ) + + hook_name, bw_state_proxy = tx.output.add_backward_state_hook(hook) + + def _register_hook_trampoline(tensor, bw_state): + register_hook = getattr(tensor, name) + register_hook( + functools.partial( + trace_wrapped, + fn=call_hook_from_backward_state, + bw_state=bw_state, + hook_name=hook_name, + ) + ) + # TODO(jansel): returning None here is wrong, it should be + # RemovableHandle, but we need some extra work to support + # this properly. + return None + + from .builder import wrap_fx_proxy + + return wrap_fx_proxy( + tx, + tx.output.create_proxy( + "call_function", + _register_hook_trampoline, + (self.as_proxy(), bw_state_proxy), + {}, + ), + ) + + handle_variable = variables.RemovableHandleVariable( + mutable_local=variables.base.MutableLocal(), + ) + tx.output.side_effects.register_hook(self, hook, handle_variable, name) + return handle_variable + + def method_requires_grad_(self, requires_grad=True): + if requires_grad is not True: + requires_grad = requires_grad.as_python_constant() + + if self.as_proxy().node.meta["example_value"].requires_grad != requires_grad: + unimplemented("Tensor.requires_grad_") + else: + return self + + def method_new(self, *args, **kwargs): + # Convert x.new(torch.Size) into x.new_empty(torch.Size), + # as Tensor.new acts differently with a Size input versus a tuple input. + if (len(args) == 1 and isinstance(args[0], SizeVariable)) or ( + len(args) >= 1 + and all( + isinstance(a, ConstantVariable) and a.python_type() == int for a in args + ) + ): + from ..symbolic_convert import InstructionTranslator + + return self.call_method( + InstructionTranslator.current_tx(), "new_empty", args, kwargs + ) + + def method_untyped_storage(self): + return UntypedStorageVariable( + self, self.as_proxy().node.meta["example_value"].untyped_storage() + ) + + def rename(self, tx, name): + self.proxy.node._rename(name) + return super().rename(tx, name) + + +class SymNodeVariable(VariableTracker): + """ + Represents a symbolic size, e.g., as returned by tensor.size(0) + """ + + @classmethod + def create(cls, tx, proxy, sym_num, **options): + if "example_value" in proxy.node.meta: + assert proxy.node.meta["example_value"] == sym_num + if sym_num is None: + sym_num = get_fake_value(proxy.node, tx) + proxy.node.meta["example_value"] = sym_num + + if isinstance(sym_num, (sympy.Integer, int, bool)): + sym_num = int(sym_num) if isinstance(sym_num, sympy.Integer) else sym_num + return ConstantVariable.create(sym_num) + + return SymNodeVariable(proxy, sym_num, **options) + + def __init__(self, proxy, sym_num, **kwargs): + super().__init__(**kwargs) + self.proxy = proxy + # TODO: Should we allow non SymTypes here? Today it is allowed + self.sym_num = sym_num + + def python_type(self): + if isinstance(self.sym_num, SymTypes): + return self.sym_num.node.pytype + else: + return type(self.sym_num) + + def as_proxy(self): + return self.proxy + + def evaluate_expr(self, output_graph=None): + try: + return guard_scalar(self.sym_num) + except GuardOnDataDependentSymNode as e: + raise UserError( # noqa: TRY200 + UserErrorType.ANTI_PATTERN, + f"Consider annotating your code using torch._constrain_as_*(). {str(e)}", + case_name="constrain_as_size_example", + ) + + def call_method( + self, + tx, + name, + args: "List[VariableTracker]", + kwargs: "Dict[str, VariableTracker]", + ) -> "VariableTracker": + from .builder import wrap_fx_proxy + + return wrap_fx_proxy( + tx, + tx.output.create_proxy( + "call_method", + name, + *proxy_args_kwargs([self, *args], kwargs), + ), + ) + + +class NumpyNdarrayVariable(TensorVariable): + """ + Represents a np.ndarray, but backed by torch Tensor via torch._numpy.ndarray. + Use this for Tensor.numpy() call. + """ + + @staticmethod + def create(tx, proxy, **options): + from .builder import wrap_fx_proxy_cls + + return wrap_fx_proxy_cls( + target_cls=NumpyNdarrayVariable, + tx=tx, + proxy=proxy, + **options, + ) + + def var_getattr(self, tx, name): + # NB: This INTENTIONALLY does not call super(), because there is + # no intrinsic reason ndarray properties are related to Tensor + # properties. The inheritance here is for implementation sharing. + + from ..utils import numpy_attr_wrapper + from .builder import wrap_fx_proxy + + result = None + + example_value = self.as_proxy().node.meta["example_value"] + example_ndarray = tnp.ndarray(example_value) + + def insert_into_graph(): + return wrap_fx_proxy( + tx, + tx.output.create_proxy( + "call_function", numpy_attr_wrapper, (self.as_proxy(), name), {} + ), + ) + + if name in ["T", "real", "imag"]: + proxy = tx.output.create_proxy( + "call_function", + numpy_attr_wrapper, + (self.as_proxy(), name), + {}, + ) + result = NumpyNdarrayVariable.create(tx, proxy) + + # These are awkward to implement. The standard playbook for torch._numpy + # interop is to trace a call into the torch._numpy wrapper which works for + # Tensor operations. However, we don't want to do this for calls + # that don't return Tensors, because in those cases we may not want + # to trace the attribute access into the graph at all (it is sort + # of harmless to do so, because AOTAutograd will eliminate them, + # but it's best not to trace them in to begin with.) But in any + # case, tracing these into the graph is like trying to fit a square + # peg into a round hole; best not to do it. So instead we + # painstakingly implement these by hand + # + # NB: only ALWAYS specialized attributes can go here; notably, + # size/shape not allowed! + elif name in ("ndim", "itemsize"): + return ConstantVariable.create(getattr(example_ndarray, name)) + elif name in ("shape", "stride"): + if not has_free_symbols(r := getattr(example_ndarray, name)): + return ConstantVariable.create(tuple(int(r) for r in r)) + return insert_into_graph() + elif name == "size": + if not has_free_symbols(r := example_ndarray.size): + return ConstantVariable.create(int(r)) + return insert_into_graph() + elif name in ["base", "flags", "dtype"]: + unimplemented(f"TODO: add support for ndarray.{name}") + elif name in ["__version__"]: + unimplemented("delegate np.__version__ to NumPy") + if result is None: + raise NotImplementedError() + return result + + @staticmethod + def patch_args(name, args, kwargs): + if name == "clip": + kwargs_rename = {"a_min": "min", "a_max": "max"} + kwargs = {kwargs_rename.get(k, k): v for k, v in kwargs.items()} + return args, kwargs + + def call_method( + self, + tx, + name, + args: "List[VariableTracker]", + kwargs: "Dict[str, VariableTracker]", + ) -> "VariableTracker": + from ..utils import numpy_method_wrapper + + args, kwargs = self.patch_args(name, args, kwargs) + + if name in ["__len__", "size", "tolist"]: + # delegate back to TensorVariable + return super().call_method(tx, name, args, kwargs) + if name == "tobytes": + unimplemented("tobytes is not modelled in torch._numpy") + proxy = tx.output.create_proxy( + "call_function", + numpy_method_wrapper(name), + *proxy_args_kwargs([self] + list(args), kwargs), + ) + return NumpyNdarrayVariable.create(tx, proxy) + + def python_type(self): + return np.ndarray + + +class UnspecializedPythonVariable(TensorVariable): + """ + This is a 1-element tensor represents unspecialized python float/int. + """ + + def __init__( + self, proxy: torch.fx.Proxy, *, raw_value=None, need_unwrap=True, **kwargs + ): + super().__init__(proxy, **kwargs) + self.raw_value = raw_value + self.need_unwrap = need_unwrap + + @classmethod + def from_tensor_variable(cls, tensor_variable, raw_value, need_unwrap=True): + # Convert a `TensorVariable` instance into an `UnspecializedPythonVariable` instance. + return UnspecializedPythonVariable( + **dict(tensor_variable.__dict__), + raw_value=raw_value, + need_unwrap=need_unwrap, + ) + + +class FakeItemVariable(TensorVariable): + """An unspecialized python variable which prevents access to the underlying raw value. + This is needed if item is called on a FakeTensor.""" + + def __init__(self, proxy: torch.fx.Proxy, **kwargs): + need_unwrap = kwargs.pop("need_unwrap", False) + super().__init__(proxy, **kwargs) + self.need_unwrap = need_unwrap + + @classmethod + def from_tensor_variable(cls, tensor_variable): + return FakeItemVariable(**dict(tensor_variable.__dict__)) + + +class TensorSubclassVariable(VariableTracker): + def __init__(self, value, *args, **kwargs): + self.value = value + super().__init__(*args, **kwargs) + + def call_function( + self, tx, args: List[VariableTracker], kwargs: Dict[str, VariableTracker] + ) -> VariableTracker: + if len(args) == 1 and isinstance(args[0], TensorVariable): + from .builder import VariableBuilder + from .torch_function import TensorWithTFOverrideVariable + + torch_fn = VariableBuilder( + tx, AttrSource(self.source, "__torch_function__") + )(self.value.__torch_function__) + + return TensorWithTFOverrideVariable.from_tensor_var( + tx, args[0], self.value, torch_fn + ) + + return super().call_function(tx, args, kwargs) + + def as_python_constant(self): + return self.value + + def python_type(self): + return type(self.value) + + +class UntypedStorageVariable(VariableTracker): + _nonvar_fields = { + "example_value", + *VariableTracker._nonvar_fields, + } + + def __init__( + self, + from_tensor: TensorVariable, + example_value: torch.UntypedStorage, + **kwargs, + ): + super().__init__(**kwargs), + self.from_tensor = from_tensor + # Example_value will always have device="meta" + self.example_value = example_value + + def call_method( + self, + tx, + name, + args: List[VariableTracker], + kwargs: Dict[str, VariableTracker], + ) -> VariableTracker: + if name == "size": + assert not args + assert not kwargs + result = self.example_value.size() + if not has_free_symbols(result): + # avoid creating a node in the graph + return ConstantVariable.create(int(result)) + else: + from ..external_utils import untyped_storage_size + from .builder import wrap_fx_proxy + + return wrap_fx_proxy( + tx, + tx.output.create_proxy( + "call_function", + untyped_storage_size, + (self.from_tensor.as_proxy(),), + {}, + ), + ) + if name == "resize_" and len(args) == 1: + assert not kwargs + tx.output.create_proxy( + "call_function", + torch.ops.inductor.resize_storage_bytes_, + (self.from_tensor.as_proxy(), args[0].as_proxy()), + {}, + ) + return self + + return super().call_method(tx, name, args, kwargs) + + def reconstruct(self, codegen): + codegen(self.from_tensor) + codegen.append_output(codegen.create_load_method("untyped_storage")) + codegen.extend_output(create_call_method(0)) diff --git a/shared/package-files/37/37291571078919bf5d746ad605e2f5041d59016e6d3e2b26971a5882aae19f6b/concatenate.h b/shared/package-files/37/37291571078919bf5d746ad605e2f5041d59016e6d3e2b26971a5882aae19f6b/concatenate.h new file mode 100644 index 0000000000000000000000000000000000000000..82023be2c77bbe6fed6785f42143ad2f879df368 --- /dev/null +++ b/shared/package-files/37/37291571078919bf5d746ad605e2f5041d59016e6d3e2b26971a5882aae19f6b/concatenate.h @@ -0,0 +1,53 @@ +#pragma once + +// @generated by torchgen/gen.py from Function.h + +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include + + + +#include + +namespace at { + + +// aten::concatenate(Tensor[] tensors, int dim=0) -> Tensor +inline at::Tensor concatenate(at::TensorList tensors, int64_t dim=0) { + return at::_ops::concatenate::call(tensors, dim); +} + +// aten::concatenate.out(Tensor[] tensors, int dim=0, *, Tensor(a!) out) -> Tensor(a!) +inline at::Tensor & concatenate_out(at::Tensor & out, at::TensorList tensors, int64_t dim=0) { + return at::_ops::concatenate_out::call(tensors, dim, out); +} +// aten::concatenate.out(Tensor[] tensors, int dim=0, *, Tensor(a!) out) -> Tensor(a!) +inline at::Tensor & concatenate_outf(at::TensorList tensors, int64_t dim, at::Tensor & out) { + return at::_ops::concatenate_out::call(tensors, dim, out); +} + +// aten::concatenate.names(Tensor[] tensors, Dimname dim) -> Tensor +inline at::Tensor concatenate(at::TensorList tensors, at::Dimname dim) { + return at::_ops::concatenate_names::call(tensors, dim); +} + +// aten::concatenate.names_out(Tensor[] tensors, Dimname dim, *, Tensor(a!) out) -> Tensor(a!) +inline at::Tensor & concatenate_out(at::Tensor & out, at::TensorList tensors, at::Dimname dim) { + return at::_ops::concatenate_names_out::call(tensors, dim, out); +} +// aten::concatenate.names_out(Tensor[] tensors, Dimname dim, *, Tensor(a!) out) -> Tensor(a!) +inline at::Tensor & concatenate_outf(at::TensorList tensors, at::Dimname dim, at::Tensor & out) { + return at::_ops::concatenate_names_out::call(tensors, dim, out); +} + +} diff --git a/shared/package-files/37/372b26b8ebbc05bf5f8e35ebfea264d9e7e5459b7207e07fb71c0e0d82a20b25/functional.h b/shared/package-files/37/372b26b8ebbc05bf5f8e35ebfea264d9e7e5459b7207e07fb71c0e0d82a20b25/functional.h new file mode 100644 index 0000000000000000000000000000000000000000..b148edc68173f4d11cf58e042902edf3c508afff --- /dev/null +++ b/shared/package-files/37/372b26b8ebbc05bf5f8e35ebfea264d9e7e5459b7207e07fb71c0e0d82a20b25/functional.h @@ -0,0 +1,17 @@ +#pragma once + +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include diff --git a/shared/package-files/37/372d2419eb26f706cb067b7ed2efad00d38ab31718b768db32e468473fc96540/_asyncbackend.py b/shared/package-files/37/372d2419eb26f706cb067b7ed2efad00d38ab31718b768db32e468473fc96540/_asyncbackend.py new file mode 100644 index 0000000000000000000000000000000000000000..49f14fed682f6088fc506ce19978fbe62da1fafe --- /dev/null +++ b/shared/package-files/37/372d2419eb26f706cb067b7ed2efad00d38ab31718b768db32e468473fc96540/_asyncbackend.py @@ -0,0 +1,99 @@ +# Copyright (C) Dnspython Contributors, see LICENSE for text of ISC license + +# This is a nullcontext for both sync and async. 3.7 has a nullcontext, +# but it is only for sync use. + + +class NullContext: + def __init__(self, enter_result=None): + self.enter_result = enter_result + + def __enter__(self): + return self.enter_result + + def __exit__(self, exc_type, exc_value, traceback): + pass + + async def __aenter__(self): + return self.enter_result + + async def __aexit__(self, exc_type, exc_value, traceback): + pass + + +# These are declared here so backends can import them without creating +# circular dependencies with dns.asyncbackend. + + +class Socket: # pragma: no cover + async def close(self): + pass + + async def getpeername(self): + raise NotImplementedError + + async def getsockname(self): + raise NotImplementedError + + async def getpeercert(self, timeout): + raise NotImplementedError + + async def __aenter__(self): + return self + + async def __aexit__(self, exc_type, exc_value, traceback): + await self.close() + + +class DatagramSocket(Socket): # pragma: no cover + def __init__(self, family: int): + self.family = family + + async def sendto(self, what, destination, timeout): + raise NotImplementedError + + async def recvfrom(self, size, timeout): + raise NotImplementedError + + +class StreamSocket(Socket): # pragma: no cover + async def sendall(self, what, timeout): + raise NotImplementedError + + async def recv(self, size, timeout): + raise NotImplementedError + + +class NullTransport: + async def connect_tcp(self, host, port, timeout, local_address): + raise NotImplementedError + + +class Backend: # pragma: no cover + def name(self): + return "unknown" + + async def make_socket( + self, + af, + socktype, + proto=0, + source=None, + destination=None, + timeout=None, + ssl_context=None, + server_hostname=None, + ): + raise NotImplementedError + + def datagram_connection_required(self): + return False + + async def sleep(self, interval): + raise NotImplementedError + + def get_transport_class(self): + raise NotImplementedError + + async def wait_for(self, awaitable, timeout): + raise NotImplementedError diff --git a/shared/package-files/37/372de90f83f03ebb10a166f2f79a2afe1d303bfab038d2af734854c8f4988ff4/vc404 b/shared/package-files/37/372de90f83f03ebb10a166f2f79a2afe1d303bfab038d2af734854c8f4988ff4/vc404 new file mode 100644 index 0000000000000000000000000000000000000000..651ee7c421f8041e4ed106e4031722171a467c39 Binary files /dev/null and b/shared/package-files/37/372de90f83f03ebb10a166f2f79a2afe1d303bfab038d2af734854c8f4988ff4/vc404 differ diff --git a/shared/package-files/37/372ec3e65007ac49ddc4043fd423c56593360ec1cca0c52705d25a9c7392c349/base.pyi b/shared/package-files/37/372ec3e65007ac49ddc4043fd423c56593360ec1cca0c52705d25a9c7392c349/base.pyi new file mode 100644 index 0000000000000000000000000000000000000000..5fcb05e8142599a5f7a3697b56217fe80a0f795e --- /dev/null +++ b/shared/package-files/37/372ec3e65007ac49ddc4043fd423c56593360ec1cca0c52705d25a9c7392c349/base.pyi @@ -0,0 +1,40 @@ +from datetime import datetime +from typing import Any, Dict, Optional, Union + +VALID_KEY_CHARS: Any + +class CreateError(Exception): ... +class UpdateError(Exception): ... + +class SessionBase(Dict[str, Any]): + TEST_COOKIE_NAME: str = ... + TEST_COOKIE_VALUE: str = ... + accessed: bool = ... + modified: bool = ... + serializer: Any = ... + def __init__(self, session_key: Optional[str] = ...) -> None: ... + def set_test_cookie(self) -> None: ... + def test_cookie_worked(self) -> bool: ... + def delete_test_cookie(self) -> None: ... + def encode(self, session_dict: Dict[str, Any]) -> str: ... + def decode(self, session_data: Union[bytes, str]) -> Dict[str, Any]: ... + def has_key(self, key: Any): ... + def keys(self): ... + def values(self): ... + def items(self): ... + def clear(self) -> None: ... + def is_empty(self) -> bool: ... + session_key: Any = ... + def get_expiry_age(self, **kwargs: Any) -> int: ... + def get_expiry_date(self, **kwargs: Any) -> datetime: ... + def set_expiry(self, value: Optional[Union[datetime, int]]) -> None: ... + def get_expire_at_browser_close(self) -> bool: ... + def flush(self) -> None: ... + def cycle_key(self) -> None: ... + def exists(self, session_key: str) -> bool: ... + def create(self) -> None: ... + def save(self, must_create: bool = ...) -> None: ... + def delete(self, session_key: Optional[Any] = ...) -> None: ... + def load(self) -> Dict[str, Any]: ... + @classmethod + def clear_expired(cls) -> None: ... diff --git a/shared/package-files/37/37315b8219eb533881edae3e48ff45eb01882f1be48174d63c00932ffcaaf1e7/test_path.py b/shared/package-files/37/37315b8219eb533881edae3e48ff45eb01882f1be48174d63c00932ffcaaf1e7/test_path.py new file mode 100644 index 0000000000000000000000000000000000000000..8a61d2f14da15939fe3024576a4f3c98e01f8b99 --- /dev/null +++ b/shared/package-files/37/37315b8219eb533881edae3e48ff45eb01882f1be48174d63c00932ffcaaf1e7/test_path.py @@ -0,0 +1,509 @@ +# encoding: utf-8 +"""Tests for IPython.utils.path.py""" + +# Copyright (c) IPython Development Team. +# Distributed under the terms of the Modified BSD License. + +import os +import shutil +import sys +import tempfile +import unittest +from contextlib import contextmanager +from importlib import reload +from os.path import abspath, join +from unittest.mock import patch + +import pytest +from tempfile import TemporaryDirectory + +import IPython +from IPython import paths +from IPython.testing import decorators as dec +from IPython.testing.decorators import ( + onlyif_unicode_paths, + skip_if_not_win32, + skip_win32, +) +from IPython.testing.tools import make_tempfile +from IPython.utils import path + +# Platform-dependent imports +try: + import winreg as wreg +except ImportError: + #Fake _winreg module on non-windows platforms + import types + wr_name = "winreg" + sys.modules[wr_name] = types.ModuleType(wr_name) + try: + import winreg as wreg + except ImportError: + import _winreg as wreg + + #Add entries that needs to be stubbed by the testing code + (wreg.OpenKey, wreg.QueryValueEx,) = (None, None) + +#----------------------------------------------------------------------------- +# Globals +#----------------------------------------------------------------------------- +env = os.environ +TMP_TEST_DIR = tempfile.mkdtemp() +HOME_TEST_DIR = join(TMP_TEST_DIR, "home_test_dir") +# +# Setup/teardown functions/decorators +# + +def setup_module(): + """Setup testenvironment for the module: + + - Adds dummy home dir tree + """ + # Do not mask exceptions here. In particular, catching WindowsError is a + # problem because that exception is only defined on Windows... + os.makedirs(os.path.join(HOME_TEST_DIR, 'ipython')) + + +def teardown_module(): + """Teardown testenvironment for the module: + + - Remove dummy home dir tree + """ + # Note: we remove the parent test dir, which is the root of all test + # subdirs we may have created. Use shutil instead of os.removedirs, so + # that non-empty directories are all recursively removed. + shutil.rmtree(TMP_TEST_DIR) + + +def setup_environment(): + """Setup testenvironment for some functions that are tested + in this module. In particular this functions stores attributes + and other things that we need to stub in some test functions. + This needs to be done on a function level and not module level because + each testfunction needs a pristine environment. + """ + global oldstuff, platformstuff + oldstuff = (env.copy(), os.name, sys.platform, path.get_home_dir, IPython.__file__, os.getcwd()) + +def teardown_environment(): + """Restore things that were remembered by the setup_environment function + """ + (oldenv, os.name, sys.platform, path.get_home_dir, IPython.__file__, old_wd) = oldstuff + os.chdir(old_wd) + reload(path) + + for key in list(env): + if key not in oldenv: + del env[key] + env.update(oldenv) + if hasattr(sys, 'frozen'): + del sys.frozen + + +# Build decorator that uses the setup_environment/setup_environment +@pytest.fixture +def environment(): + setup_environment() + yield + teardown_environment() + + +with_environment = pytest.mark.usefixtures("environment") + + +@skip_if_not_win32 +@with_environment +def test_get_home_dir_1(): + """Testcase for py2exe logic, un-compressed lib + """ + unfrozen = path.get_home_dir() + sys.frozen = True + + #fake filename for IPython.__init__ + IPython.__file__ = abspath(join(HOME_TEST_DIR, "Lib/IPython/__init__.py")) + + home_dir = path.get_home_dir() + assert home_dir == unfrozen + + +@skip_if_not_win32 +@with_environment +def test_get_home_dir_2(): + """Testcase for py2exe logic, compressed lib + """ + unfrozen = path.get_home_dir() + sys.frozen = True + #fake filename for IPython.__init__ + IPython.__file__ = abspath(join(HOME_TEST_DIR, "Library.zip/IPython/__init__.py")).lower() + + home_dir = path.get_home_dir(True) + assert home_dir == unfrozen + + +@skip_win32 +@with_environment +def test_get_home_dir_3(): + """get_home_dir() uses $HOME if set""" + env["HOME"] = HOME_TEST_DIR + home_dir = path.get_home_dir(True) + # get_home_dir expands symlinks + assert home_dir == os.path.realpath(env["HOME"]) + + +@with_environment +def test_get_home_dir_4(): + """get_home_dir() still works if $HOME is not set""" + + if 'HOME' in env: del env['HOME'] + # this should still succeed, but we don't care what the answer is + home = path.get_home_dir(False) + +@skip_win32 +@with_environment +def test_get_home_dir_5(): + """raise HomeDirError if $HOME is specified, but not a writable dir""" + env['HOME'] = abspath(HOME_TEST_DIR+'garbage') + # set os.name = posix, to prevent My Documents fallback on Windows + os.name = 'posix' + pytest.raises(path.HomeDirError, path.get_home_dir, True) + +# Should we stub wreg fully so we can run the test on all platforms? +@skip_if_not_win32 +@with_environment +def test_get_home_dir_8(): + """Using registry hack for 'My Documents', os=='nt' + + HOMESHARE, HOMEDRIVE, HOMEPATH, USERPROFILE and others are missing. + """ + os.name = 'nt' + # Remove from stub environment all keys that may be set + for key in ['HOME', 'HOMESHARE', 'HOMEDRIVE', 'HOMEPATH', 'USERPROFILE']: + env.pop(key, None) + + class key: + def __enter__(self): + pass + def Close(self): + pass + def __exit__(*args, **kwargs): + pass + + with patch.object(wreg, 'OpenKey', return_value=key()), \ + patch.object(wreg, 'QueryValueEx', return_value=[abspath(HOME_TEST_DIR)]): + home_dir = path.get_home_dir() + assert home_dir == abspath(HOME_TEST_DIR) + +@with_environment +def test_get_xdg_dir_0(): + """test_get_xdg_dir_0, check xdg_dir""" + reload(path) + path._writable_dir = lambda path: True + path.get_home_dir = lambda : 'somewhere' + os.name = "posix" + sys.platform = "linux2" + env.pop('IPYTHON_DIR', None) + env.pop('IPYTHONDIR', None) + env.pop('XDG_CONFIG_HOME', None) + + assert path.get_xdg_dir() == os.path.join("somewhere", ".config") + + +@with_environment +def test_get_xdg_dir_1(): + """test_get_xdg_dir_1, check nonexistent xdg_dir""" + reload(path) + path.get_home_dir = lambda : HOME_TEST_DIR + os.name = "posix" + sys.platform = "linux2" + env.pop('IPYTHON_DIR', None) + env.pop('IPYTHONDIR', None) + env.pop('XDG_CONFIG_HOME', None) + assert path.get_xdg_dir() is None + +@with_environment +def test_get_xdg_dir_2(): + """test_get_xdg_dir_2, check xdg_dir default to ~/.config""" + reload(path) + path.get_home_dir = lambda : HOME_TEST_DIR + os.name = "posix" + sys.platform = "linux2" + env.pop('IPYTHON_DIR', None) + env.pop('IPYTHONDIR', None) + env.pop('XDG_CONFIG_HOME', None) + cfgdir=os.path.join(path.get_home_dir(), '.config') + if not os.path.exists(cfgdir): + os.makedirs(cfgdir) + + assert path.get_xdg_dir() == cfgdir + +@with_environment +def test_get_xdg_dir_3(): + """test_get_xdg_dir_3, check xdg_dir not used on non-posix systems""" + reload(path) + path.get_home_dir = lambda : HOME_TEST_DIR + os.name = "nt" + sys.platform = "win32" + env.pop('IPYTHON_DIR', None) + env.pop('IPYTHONDIR', None) + env.pop('XDG_CONFIG_HOME', None) + cfgdir=os.path.join(path.get_home_dir(), '.config') + os.makedirs(cfgdir, exist_ok=True) + + assert path.get_xdg_dir() is None + +def test_filefind(): + """Various tests for filefind""" + f = tempfile.NamedTemporaryFile() + # print 'fname:',f.name + alt_dirs = paths.get_ipython_dir() + t = path.filefind(f.name, alt_dirs) + # print 'found:',t + + +@dec.skip_if_not_win32 +def test_get_long_path_name_win32(): + with TemporaryDirectory() as tmpdir: + + # Make a long path. Expands the path of tmpdir prematurely as it may already have a long + # path component, so ensure we include the long form of it + long_path = os.path.join(path.get_long_path_name(tmpdir), 'this is my long path name') + os.makedirs(long_path) + + # Test to see if the short path evaluates correctly. + short_path = os.path.join(tmpdir, 'THISIS~1') + evaluated_path = path.get_long_path_name(short_path) + assert evaluated_path.lower() == long_path.lower() + + +@dec.skip_win32 +def test_get_long_path_name(): + p = path.get_long_path_name("/usr/local") + assert p == "/usr/local" + + +class TestRaiseDeprecation(unittest.TestCase): + + @dec.skip_win32 # can't create not-user-writable dir on win + @with_environment + def test_not_writable_ipdir(self): + tmpdir = tempfile.mkdtemp() + os.name = "posix" + env.pop('IPYTHON_DIR', None) + env.pop('IPYTHONDIR', None) + env.pop('XDG_CONFIG_HOME', None) + env['HOME'] = tmpdir + ipdir = os.path.join(tmpdir, '.ipython') + os.mkdir(ipdir, 0o555) + try: + open(os.path.join(ipdir, "_foo_"), "w", encoding="utf-8").close() + except IOError: + pass + else: + # I can still write to an unwritable dir, + # assume I'm root and skip the test + pytest.skip("I can't create directories that I can't write to") + + with self.assertWarnsRegex(UserWarning, 'is not a writable location'): + ipdir = paths.get_ipython_dir() + env.pop('IPYTHON_DIR', None) + +@with_environment +def test_get_py_filename(): + os.chdir(TMP_TEST_DIR) + with make_tempfile("foo.py"): + assert path.get_py_filename("foo.py") == "foo.py" + assert path.get_py_filename("foo") == "foo.py" + with make_tempfile("foo"): + assert path.get_py_filename("foo") == "foo" + pytest.raises(IOError, path.get_py_filename, "foo.py") + pytest.raises(IOError, path.get_py_filename, "foo") + pytest.raises(IOError, path.get_py_filename, "foo.py") + true_fn = "foo with spaces.py" + with make_tempfile(true_fn): + assert path.get_py_filename("foo with spaces") == true_fn + assert path.get_py_filename("foo with spaces.py") == true_fn + pytest.raises(IOError, path.get_py_filename, '"foo with spaces.py"') + pytest.raises(IOError, path.get_py_filename, "'foo with spaces.py'") + +@onlyif_unicode_paths +def test_unicode_in_filename(): + """When a file doesn't exist, the exception raised should be safe to call + str() on - i.e. in Python 2 it must only have ASCII characters. + + https://github.com/ipython/ipython/issues/875 + """ + try: + # these calls should not throw unicode encode exceptions + path.get_py_filename('fooéè.py') + except IOError as ex: + str(ex) + + +class TestShellGlob(unittest.TestCase): + + @classmethod + def setUpClass(cls): + cls.filenames_start_with_a = ['a0', 'a1', 'a2'] + cls.filenames_end_with_b = ['0b', '1b', '2b'] + cls.filenames = cls.filenames_start_with_a + cls.filenames_end_with_b + cls.tempdir = TemporaryDirectory() + td = cls.tempdir.name + + with cls.in_tempdir(): + # Create empty files + for fname in cls.filenames: + open(os.path.join(td, fname), "w", encoding="utf-8").close() + + @classmethod + def tearDownClass(cls): + cls.tempdir.cleanup() + + @classmethod + @contextmanager + def in_tempdir(cls): + save = os.getcwd() + try: + os.chdir(cls.tempdir.name) + yield + finally: + os.chdir(save) + + def check_match(self, patterns, matches): + with self.in_tempdir(): + # glob returns unordered list. that's why sorted is required. + assert sorted(path.shellglob(patterns)) == sorted(matches) + + def common_cases(self): + return [ + (['*'], self.filenames), + (['a*'], self.filenames_start_with_a), + (['*c'], ['*c']), + (['*', 'a*', '*b', '*c'], self.filenames + + self.filenames_start_with_a + + self.filenames_end_with_b + + ['*c']), + (['a[012]'], self.filenames_start_with_a), + ] + + @skip_win32 + def test_match_posix(self): + for (patterns, matches) in self.common_cases() + [ + ([r'\*'], ['*']), + ([r'a\*', 'a*'], ['a*'] + self.filenames_start_with_a), + ([r'a\[012]'], ['a[012]']), + ]: + self.check_match(patterns, matches) + + @skip_if_not_win32 + def test_match_windows(self): + for (patterns, matches) in self.common_cases() + [ + # In windows, backslash is interpreted as path + # separator. Therefore, you can't escape glob + # using it. + ([r'a\*', 'a*'], [r'a\*'] + self.filenames_start_with_a), + ([r'a\[012]'], [r'a\[012]']), + ]: + self.check_match(patterns, matches) + + +@pytest.mark.parametrize( + "globstr, unescaped_globstr", + [ + (r"\*\[\!\]\?", "*[!]?"), + (r"\\*", r"\*"), + (r"\\\*", r"\*"), + (r"\\a", r"\a"), + (r"\a", r"\a"), + ], +) +def test_unescape_glob(globstr, unescaped_globstr): + assert path.unescape_glob(globstr) == unescaped_globstr + + +@onlyif_unicode_paths +def test_ensure_dir_exists(): + with TemporaryDirectory() as td: + d = os.path.join(td, '∂ir') + path.ensure_dir_exists(d) # create it + assert os.path.isdir(d) + path.ensure_dir_exists(d) # no-op + f = os.path.join(td, "ƒile") + open(f, "w", encoding="utf-8").close() # touch + with pytest.raises(IOError): + path.ensure_dir_exists(f) + +class TestLinkOrCopy(unittest.TestCase): + def setUp(self): + self.tempdir = TemporaryDirectory() + self.src = self.dst("src") + with open(self.src, "w", encoding="utf-8") as f: + f.write("Hello, world!") + + def tearDown(self): + self.tempdir.cleanup() + + def dst(self, *args): + return os.path.join(self.tempdir.name, *args) + + def assert_inode_not_equal(self, a, b): + assert ( + os.stat(a).st_ino != os.stat(b).st_ino + ), "%r and %r do reference the same indoes" % (a, b) + + def assert_inode_equal(self, a, b): + assert ( + os.stat(a).st_ino == os.stat(b).st_ino + ), "%r and %r do not reference the same indoes" % (a, b) + + def assert_content_equal(self, a, b): + with open(a, "rb") as a_f: + with open(b, "rb") as b_f: + assert a_f.read() == b_f.read() + + @skip_win32 + def test_link_successful(self): + dst = self.dst("target") + path.link_or_copy(self.src, dst) + self.assert_inode_equal(self.src, dst) + + @skip_win32 + def test_link_into_dir(self): + dst = self.dst("some_dir") + os.mkdir(dst) + path.link_or_copy(self.src, dst) + expected_dst = self.dst("some_dir", os.path.basename(self.src)) + self.assert_inode_equal(self.src, expected_dst) + + @skip_win32 + def test_target_exists(self): + dst = self.dst("target") + open(dst, "w", encoding="utf-8").close() + path.link_or_copy(self.src, dst) + self.assert_inode_equal(self.src, dst) + + @skip_win32 + def test_no_link(self): + real_link = os.link + try: + del os.link + dst = self.dst("target") + path.link_or_copy(self.src, dst) + self.assert_content_equal(self.src, dst) + self.assert_inode_not_equal(self.src, dst) + finally: + os.link = real_link + + @skip_if_not_win32 + def test_windows(self): + dst = self.dst("target") + path.link_or_copy(self.src, dst) + self.assert_content_equal(self.src, dst) + + def test_link_twice(self): + # Linking the same file twice shouldn't leave duplicates around. + # See https://github.com/ipython/ipython/issues/6450 + dst = self.dst('target') + path.link_or_copy(self.src, dst) + path.link_or_copy(self.src, dst) + self.assert_inode_equal(self.src, dst) + assert sorted(os.listdir(self.tempdir.name)) == ["src", "target"] diff --git a/shared/package-files/37/3731a1911da950c7ddf25214d9c151f5b15ad09f3d473a47b37cc3820016b57a/test_intpoly.py b/shared/package-files/37/3731a1911da950c7ddf25214d9c151f5b15ad09f3d473a47b37cc3820016b57a/test_intpoly.py new file mode 100644 index 0000000000000000000000000000000000000000..ddbaad1fbdeca53ccab8e8b22758a6ad2d89836e --- /dev/null +++ b/shared/package-files/37/3731a1911da950c7ddf25214d9c151f5b15ad09f3d473a47b37cc3820016b57a/test_intpoly.py @@ -0,0 +1,627 @@ +from sympy.functions.elementary.complexes import Abs +from sympy.functions.elementary.miscellaneous import sqrt + +from sympy.core import S, Rational + +from sympy.integrals.intpoly import (decompose, best_origin, distance_to_side, + polytope_integrate, point_sort, + hyperplane_parameters, main_integrate3d, + main_integrate, polygon_integrate, + lineseg_integrate, integration_reduction, + integration_reduction_dynamic, is_vertex) + +from sympy.geometry.line import Segment2D +from sympy.geometry.polygon import Polygon +from sympy.geometry.point import Point, Point2D +from sympy.abc import x, y, z + +from sympy.testing.pytest import slow + + +def test_decompose(): + assert decompose(x) == {1: x} + assert decompose(x**2) == {2: x**2} + assert decompose(x*y) == {2: x*y} + assert decompose(x + y) == {1: x + y} + assert decompose(x**2 + y) == {1: y, 2: x**2} + assert decompose(8*x**2 + 4*y + 7) == {0: 7, 1: 4*y, 2: 8*x**2} + assert decompose(x**2 + 3*y*x) == {2: x**2 + 3*x*y} + assert decompose(9*x**2 + y + 4*x + x**3 + y**2*x + 3) ==\ + {0: 3, 1: 4*x + y, 2: 9*x**2, 3: x**3 + x*y**2} + + assert decompose(x, True) == {x} + assert decompose(x ** 2, True) == {x**2} + assert decompose(x * y, True) == {x * y} + assert decompose(x + y, True) == {x, y} + assert decompose(x ** 2 + y, True) == {y, x ** 2} + assert decompose(8 * x ** 2 + 4 * y + 7, True) == {7, 4*y, 8*x**2} + assert decompose(x ** 2 + 3 * y * x, True) == {x ** 2, 3 * x * y} + assert decompose(9 * x ** 2 + y + 4 * x + x ** 3 + y ** 2 * x + 3, True) == \ + {3, y, 4*x, 9*x**2, x*y**2, x**3} + + +def test_best_origin(): + expr1 = y ** 2 * x ** 5 + y ** 5 * x ** 7 + 7 * x + x ** 12 + y ** 7 * x + + l1 = Segment2D(Point(0, 3), Point(1, 1)) + l2 = Segment2D(Point(S(3) / 2, 0), Point(S(3) / 2, 3)) + l3 = Segment2D(Point(0, S(3) / 2), Point(3, S(3) / 2)) + l4 = Segment2D(Point(0, 2), Point(2, 0)) + l5 = Segment2D(Point(0, 2), Point(1, 1)) + l6 = Segment2D(Point(2, 0), Point(1, 1)) + + assert best_origin((2, 1), 3, l1, expr1) == (0, 3) + # XXX: Should these return exact Rational output? Maybe best_origin should + # sympify its arguments... + assert best_origin((2, 0), 3, l2, x ** 7) == (1.5, 0) + assert best_origin((0, 2), 3, l3, x ** 7) == (0, 1.5) + assert best_origin((1, 1), 2, l4, x ** 7 * y ** 3) == (0, 2) + assert best_origin((1, 1), 2, l4, x ** 3 * y ** 7) == (2, 0) + assert best_origin((1, 1), 2, l5, x ** 2 * y ** 9) == (0, 2) + assert best_origin((1, 1), 2, l6, x ** 9 * y ** 2) == (2, 0) + + +@slow +def test_polytope_integrate(): + # Convex 2-Polytopes + # Vertex representation + assert polytope_integrate(Polygon(Point(0, 0), Point(0, 2), + Point(4, 0)), 1) == 4 + assert polytope_integrate(Polygon(Point(0, 0), Point(0, 1), + Point(1, 1), Point(1, 0)), x * y) ==\ + Rational(1, 4) + assert polytope_integrate(Polygon(Point(0, 3), Point(5, 3), Point(1, 1)), + 6*x**2 - 40*y) == Rational(-935, 3) + + assert polytope_integrate(Polygon(Point(0, 0), Point(0, sqrt(3)), + Point(sqrt(3), sqrt(3)), + Point(sqrt(3), 0)), 1) == 3 + + hexagon = Polygon(Point(0, 0), Point(-sqrt(3) / 2, S.Half), + Point(-sqrt(3) / 2, S(3) / 2), Point(0, 2), + Point(sqrt(3) / 2, S(3) / 2), Point(sqrt(3) / 2, S.Half)) + + assert polytope_integrate(hexagon, 1) == S(3*sqrt(3)) / 2 + + # Hyperplane representation + assert polytope_integrate([((-1, 0), 0), ((1, 2), 4), + ((0, -1), 0)], 1) == 4 + assert polytope_integrate([((-1, 0), 0), ((0, 1), 1), + ((1, 0), 1), ((0, -1), 0)], x * y) == Rational(1, 4) + assert polytope_integrate([((0, 1), 3), ((1, -2), -1), + ((-2, -1), -3)], 6*x**2 - 40*y) == Rational(-935, 3) + assert polytope_integrate([((-1, 0), 0), ((0, sqrt(3)), 3), + ((sqrt(3), 0), 3), ((0, -1), 0)], 1) == 3 + + hexagon = [((Rational(-1, 2), -sqrt(3) / 2), 0), + ((-1, 0), sqrt(3) / 2), + ((Rational(-1, 2), sqrt(3) / 2), sqrt(3)), + ((S.Half, sqrt(3) / 2), sqrt(3)), + ((1, 0), sqrt(3) / 2), + ((S.Half, -sqrt(3) / 2), 0)] + assert polytope_integrate(hexagon, 1) == S(3*sqrt(3)) / 2 + + # Non-convex polytopes + # Vertex representation + assert polytope_integrate(Polygon(Point(-1, -1), Point(-1, 1), + Point(1, 1), Point(0, 0), + Point(1, -1)), 1) == 3 + assert polytope_integrate(Polygon(Point(-1, -1), Point(-1, 1), + Point(0, 0), Point(1, 1), + Point(1, -1), Point(0, 0)), 1) == 2 + # Hyperplane representation + assert polytope_integrate([((-1, 0), 1), ((0, 1), 1), ((1, -1), 0), + ((1, 1), 0), ((0, -1), 1)], 1) == 3 + assert polytope_integrate([((-1, 0), 1), ((1, 1), 0), ((-1, 1), 0), + ((1, 0), 1), ((-1, -1), 0), + ((1, -1), 0)], 1) == 2 + + # Tests for 2D polytopes mentioned in Chin et al(Page 10): + # http://dilbert.engr.ucdavis.edu/~suku/quadrature/cls-integration.pdf + fig1 = Polygon(Point(1.220, -0.827), Point(-1.490, -4.503), + Point(-3.766, -1.622), Point(-4.240, -0.091), + Point(-3.160, 4), Point(-0.981, 4.447), + Point(0.132, 4.027)) + assert polytope_integrate(fig1, x**2 + x*y + y**2) ==\ + S(2031627344735367)/(8*10**12) + + fig2 = Polygon(Point(4.561, 2.317), Point(1.491, -1.315), + Point(-3.310, -3.164), Point(-4.845, -3.110), + Point(-4.569, 1.867)) + assert polytope_integrate(fig2, x**2 + x*y + y**2) ==\ + S(517091313866043)/(16*10**11) + + fig3 = Polygon(Point(-2.740, -1.888), Point(-3.292, 4.233), + Point(-2.723, -0.697), Point(-0.643, -3.151)) + assert polytope_integrate(fig3, x**2 + x*y + y**2) ==\ + S(147449361647041)/(8*10**12) + + fig4 = Polygon(Point(0.211, -4.622), Point(-2.684, 3.851), + Point(0.468, 4.879), Point(4.630, -1.325), + Point(-0.411, -1.044)) + assert polytope_integrate(fig4, x**2 + x*y + y**2) ==\ + S(180742845225803)/(10**12) + + # Tests for many polynomials with maximum degree given(2D case). + tri = Polygon(Point(0, 3), Point(5, 3), Point(1, 1)) + polys = [] + expr1 = x**9*y + x**7*y**3 + 2*x**2*y**8 + expr2 = x**6*y**4 + x**5*y**5 + 2*y**10 + expr3 = x**10 + x**9*y + x**8*y**2 + x**5*y**5 + polys.extend((expr1, expr2, expr3)) + result_dict = polytope_integrate(tri, polys, max_degree=10) + assert result_dict[expr1] == Rational(615780107, 594) + assert result_dict[expr2] == Rational(13062161, 27) + assert result_dict[expr3] == Rational(1946257153, 924) + + tri = Polygon(Point(0, 3), Point(5, 3), Point(1, 1)) + expr1 = x**7*y**1 + 2*x**2*y**6 + expr2 = x**6*y**4 + x**5*y**5 + 2*y**10 + expr3 = x**10 + x**9*y + x**8*y**2 + x**5*y**5 + polys.extend((expr1, expr2, expr3)) + assert polytope_integrate(tri, polys, max_degree=9) == \ + {x**7*y + 2*x**2*y**6: Rational(489262, 9)} + + # Tests when all integral of all monomials up to a max_degree is to be + # calculated. + assert polytope_integrate(Polygon(Point(0, 0), Point(0, 1), + Point(1, 1), Point(1, 0)), + max_degree=4) == {0: 0, 1: 1, x: S.Half, + x ** 2 * y ** 2: S.One / 9, + x ** 4: S.One / 5, + y ** 4: S.One / 5, + y: S.Half, + x * y ** 2: S.One / 6, + y ** 2: S.One / 3, + x ** 3: S.One / 4, + x ** 2 * y: S.One / 6, + x ** 3 * y: S.One / 8, + x * y: S.One / 4, + y ** 3: S.One / 4, + x ** 2: S.One / 3, + x * y ** 3: S.One / 8} + + # Tests for 3D polytopes + cube1 = [[(0, 0, 0), (0, 6, 6), (6, 6, 6), (3, 6, 0), + (0, 6, 0), (6, 0, 6), (3, 0, 0), (0, 0, 6)], + [1, 2, 3, 4], [3, 2, 5, 6], [1, 7, 5, 2], [0, 6, 5, 7], + [1, 4, 0, 7], [0, 4, 3, 6]] + assert polytope_integrate(cube1, 1) == S(162) + + # 3D Test cases in Chin et al(2015) + cube2 = [[(0, 0, 0), (0, 0, 5), (0, 5, 0), (0, 5, 5), (5, 0, 0), + (5, 0, 5), (5, 5, 0), (5, 5, 5)], + [3, 7, 6, 2], [1, 5, 7, 3], [5, 4, 6, 7], [0, 4, 5, 1], + [2, 0, 1, 3], [2, 6, 4, 0]] + + cube3 = [[(0, 0, 0), (5, 0, 0), (5, 4, 0), (3, 2, 0), (3, 5, 0), + (0, 5, 0), (0, 0, 5), (5, 0, 5), (5, 4, 5), (3, 2, 5), + (3, 5, 5), (0, 5, 5)], + [6, 11, 5, 0], [1, 7, 6, 0], [5, 4, 3, 2, 1, 0], [11, 10, 4, 5], + [10, 9, 3, 4], [9, 8, 2, 3], [8, 7, 1, 2], [7, 8, 9, 10, 11, 6]] + + cube4 = [[(0, 0, 0), (1, 0, 0), (0, 1, 0), (0, 0, 1), + (S.One / 4, S.One / 4, S.One / 4)], + [0, 2, 1], [1, 3, 0], [4, 2, 3], [4, 3, 1], + [0, 1, 2], [2, 4, 1], [0, 3, 2]] + + assert polytope_integrate(cube2, x ** 2 + y ** 2 + x * y + z ** 2) ==\ + Rational(15625, 4) + assert polytope_integrate(cube3, x ** 2 + y ** 2 + x * y + z ** 2) ==\ + S(33835) / 12 + assert polytope_integrate(cube4, x ** 2 + y ** 2 + x * y + z ** 2) ==\ + S(37) / 960 + + # Test cases from Mathematica's PolyhedronData library + octahedron = [[(S.NegativeOne / sqrt(2), 0, 0), (0, S.One / sqrt(2), 0), + (0, 0, S.NegativeOne / sqrt(2)), (0, 0, S.One / sqrt(2)), + (0, S.NegativeOne / sqrt(2), 0), (S.One / sqrt(2), 0, 0)], + [3, 4, 5], [3, 5, 1], [3, 1, 0], [3, 0, 4], [4, 0, 2], + [4, 2, 5], [2, 0, 1], [5, 2, 1]] + + assert polytope_integrate(octahedron, 1) == sqrt(2) / 3 + + great_stellated_dodecahedron =\ + [[(-0.32491969623290634095, 0, 0.42532540417601993887), + (0.32491969623290634095, 0, -0.42532540417601993887), + (-0.52573111211913359231, 0, 0.10040570794311363956), + (0.52573111211913359231, 0, -0.10040570794311363956), + (-0.10040570794311363956, -0.3090169943749474241, 0.42532540417601993887), + (-0.10040570794311363956, 0.30901699437494742410, 0.42532540417601993887), + (0.10040570794311363956, -0.3090169943749474241, -0.42532540417601993887), + (0.10040570794311363956, 0.30901699437494742410, -0.42532540417601993887), + (-0.16245984811645317047, -0.5, 0.10040570794311363956), + (-0.16245984811645317047, 0.5, 0.10040570794311363956), + (0.16245984811645317047, -0.5, -0.10040570794311363956), + (0.16245984811645317047, 0.5, -0.10040570794311363956), + (-0.42532540417601993887, -0.3090169943749474241, -0.10040570794311363956), + (-0.42532540417601993887, 0.30901699437494742410, -0.10040570794311363956), + (-0.26286555605956679615, 0.1909830056250525759, -0.42532540417601993887), + (-0.26286555605956679615, -0.1909830056250525759, -0.42532540417601993887), + (0.26286555605956679615, 0.1909830056250525759, 0.42532540417601993887), + (0.26286555605956679615, -0.1909830056250525759, 0.42532540417601993887), + (0.42532540417601993887, -0.3090169943749474241, 0.10040570794311363956), + (0.42532540417601993887, 0.30901699437494742410, 0.10040570794311363956)], + [12, 3, 0, 6, 16], [17, 7, 0, 3, 13], + [9, 6, 0, 7, 8], [18, 2, 1, 4, 14], + [15, 5, 1, 2, 19], [11, 4, 1, 5, 10], + [8, 19, 2, 18, 9], [10, 13, 3, 12, 11], + [16, 14, 4, 11, 12], [13, 10, 5, 15, 17], + [14, 16, 6, 9, 18], [19, 8, 7, 17, 15]] + # Actual volume is : 0.163118960624632 + assert Abs(polytope_integrate(great_stellated_dodecahedron, 1) -\ + 0.163118960624632) < 1e-12 + + expr = x **2 + y ** 2 + z ** 2 + octahedron_five_compound = [[(0, -0.7071067811865475244, 0), + (0, 0.70710678118654752440, 0), + (0.1148764602736805918, + -0.35355339059327376220, -0.60150095500754567366), + (0.1148764602736805918, 0.35355339059327376220, + -0.60150095500754567366), + (0.18587401723009224507, + -0.57206140281768429760, 0.37174803446018449013), + (0.18587401723009224507, 0.57206140281768429760, + 0.37174803446018449013), + (0.30075047750377283683, -0.21850801222441053540, + 0.60150095500754567366), + (0.30075047750377283683, 0.21850801222441053540, + 0.60150095500754567366), + (0.48662449473386508189, -0.35355339059327376220, + -0.37174803446018449013), + (0.48662449473386508189, 0.35355339059327376220, + -0.37174803446018449013), + (-0.60150095500754567366, 0, -0.37174803446018449013), + (-0.30075047750377283683, -0.21850801222441053540, + -0.60150095500754567366), + (-0.30075047750377283683, 0.21850801222441053540, + -0.60150095500754567366), + (0.60150095500754567366, 0, 0.37174803446018449013), + (0.4156269377774534286, -0.57206140281768429760, 0), + (0.4156269377774534286, 0.57206140281768429760, 0), + (0.37174803446018449013, 0, -0.60150095500754567366), + (-0.4156269377774534286, -0.57206140281768429760, 0), + (-0.4156269377774534286, 0.57206140281768429760, 0), + (-0.67249851196395732696, -0.21850801222441053540, 0), + (-0.67249851196395732696, 0.21850801222441053540, 0), + (0.67249851196395732696, -0.21850801222441053540, 0), + (0.67249851196395732696, 0.21850801222441053540, 0), + (-0.37174803446018449013, 0, 0.60150095500754567366), + (-0.48662449473386508189, -0.35355339059327376220, + 0.37174803446018449013), + (-0.48662449473386508189, 0.35355339059327376220, + 0.37174803446018449013), + (-0.18587401723009224507, -0.57206140281768429760, + -0.37174803446018449013), + (-0.18587401723009224507, 0.57206140281768429760, + -0.37174803446018449013), + (-0.11487646027368059176, -0.35355339059327376220, + 0.60150095500754567366), + (-0.11487646027368059176, 0.35355339059327376220, + 0.60150095500754567366)], + [0, 10, 16], [23, 10, 0], [16, 13, 0], + [0, 13, 23], [16, 10, 1], [1, 10, 23], + [1, 13, 16], [23, 13, 1], [2, 4, 19], + [22, 4, 2], [2, 19, 27], [27, 22, 2], + [20, 5, 3], [3, 5, 21], [26, 20, 3], + [3, 21, 26], [29, 19, 4], [4, 22, 29], + [5, 20, 28], [28, 21, 5], [6, 8, 15], + [17, 8, 6], [6, 15, 25], [25, 17, 6], + [14, 9, 7], [7, 9, 18], [24, 14, 7], + [7, 18, 24], [8, 12, 15], [17, 12, 8], + [14, 11, 9], [9, 11, 18], [11, 14, 24], + [24, 18, 11], [25, 15, 12], [12, 17, 25], + [29, 27, 19], [20, 26, 28], [28, 26, 21], + [22, 27, 29]] + assert Abs(polytope_integrate(octahedron_five_compound, expr)) - 0.353553\ + < 1e-6 + + cube_five_compound = [[(-0.1624598481164531631, -0.5, -0.6881909602355867691), + (-0.1624598481164531631, 0.5, -0.6881909602355867691), + (0.1624598481164531631, -0.5, 0.68819096023558676910), + (0.1624598481164531631, 0.5, 0.68819096023558676910), + (-0.52573111211913359231, 0, -0.6881909602355867691), + (0.52573111211913359231, 0, 0.68819096023558676910), + (-0.26286555605956679615, -0.8090169943749474241, + -0.1624598481164531631), + (-0.26286555605956679615, 0.8090169943749474241, + -0.1624598481164531631), + (0.26286555605956680301, -0.8090169943749474241, + 0.1624598481164531631), + (0.26286555605956680301, 0.8090169943749474241, + 0.1624598481164531631), + (-0.42532540417601993887, -0.3090169943749474241, + 0.68819096023558676910), + (-0.42532540417601993887, 0.30901699437494742410, + 0.68819096023558676910), + (0.42532540417601996609, -0.3090169943749474241, + -0.6881909602355867691), + (0.42532540417601996609, 0.30901699437494742410, + -0.6881909602355867691), + (-0.6881909602355867691, -0.5, 0.1624598481164531631), + (-0.6881909602355867691, 0.5, 0.1624598481164531631), + (0.68819096023558676910, -0.5, -0.1624598481164531631), + (0.68819096023558676910, 0.5, -0.1624598481164531631), + (-0.85065080835203998877, 0, -0.1624598481164531631), + (0.85065080835203993218, 0, 0.1624598481164531631)], + [18, 10, 3, 7], [13, 19, 8, 0], [18, 0, 8, 10], + [3, 19, 13, 7], [18, 7, 13, 0], [8, 19, 3, 10], + [6, 2, 11, 18], [1, 9, 19, 12], [11, 9, 1, 18], + [6, 12, 19, 2], [1, 12, 6, 18], [11, 2, 19, 9], + [4, 14, 11, 7], [17, 5, 8, 12], [4, 12, 8, 14], + [11, 5, 17, 7], [4, 7, 17, 12], [8, 5, 11, 14], + [6, 10, 15, 4], [13, 9, 5, 16], [15, 9, 13, 4], + [6, 16, 5, 10], [13, 16, 6, 4], [15, 10, 5, 9], + [14, 15, 1, 0], [16, 17, 3, 2], [14, 2, 3, 15], + [1, 17, 16, 0], [14, 0, 16, 2], [3, 17, 1, 15]] + assert Abs(polytope_integrate(cube_five_compound, expr) - 1.25) < 1e-12 + + echidnahedron = [[(0, 0, -2.4898982848827801995), + (0, 0, 2.4898982848827802734), + (0, -4.2360679774997896964, -2.4898982848827801995), + (0, -4.2360679774997896964, 2.4898982848827802734), + (0, 4.2360679774997896964, -2.4898982848827801995), + (0, 4.2360679774997896964, 2.4898982848827802734), + (-4.0287400534704067567, -1.3090169943749474241, -2.4898982848827801995), + (-4.0287400534704067567, -1.3090169943749474241, 2.4898982848827802734), + (-4.0287400534704067567, 1.3090169943749474241, -2.4898982848827801995), + (-4.0287400534704067567, 1.3090169943749474241, 2.4898982848827802734), + (4.0287400534704069747, -1.3090169943749474241, -2.4898982848827801995), + (4.0287400534704069747, -1.3090169943749474241, 2.4898982848827802734), + (4.0287400534704069747, 1.3090169943749474241, -2.4898982848827801995), + (4.0287400534704069747, 1.3090169943749474241, 2.4898982848827802734), + (-2.4898982848827801995, -3.4270509831248422723, -2.4898982848827801995), + (-2.4898982848827801995, -3.4270509831248422723, 2.4898982848827802734), + (-2.4898982848827801995, 3.4270509831248422723, -2.4898982848827801995), + (-2.4898982848827801995, 3.4270509831248422723, 2.4898982848827802734), + (2.4898982848827802734, -3.4270509831248422723, -2.4898982848827801995), + (2.4898982848827802734, -3.4270509831248422723, 2.4898982848827802734), + (2.4898982848827802734, 3.4270509831248422723, -2.4898982848827801995), + (2.4898982848827802734, 3.4270509831248422723, 2.4898982848827802734), + (-4.7169310137059934362, -0.8090169943749474241, -1.1135163644116066184), + (-4.7169310137059934362, 0.8090169943749474241, -1.1135163644116066184), + (4.7169310137059937438, -0.8090169943749474241, 1.11351636441160673519), + (4.7169310137059937438, 0.8090169943749474241, 1.11351636441160673519), + (-4.2916056095299737777, -2.1180339887498948482, 1.11351636441160673519), + (-4.2916056095299737777, 2.1180339887498948482, 1.11351636441160673519), + (4.2916056095299737777, -2.1180339887498948482, -1.1135163644116066184), + (4.2916056095299737777, 2.1180339887498948482, -1.1135163644116066184), + (-3.6034146492943870399, 0, -3.3405490932348205213), + (3.6034146492943870399, 0, 3.3405490932348202056), + (-3.3405490932348205213, -3.4270509831248422723, 1.11351636441160673519), + (-3.3405490932348205213, 3.4270509831248422723, 1.11351636441160673519), + (3.3405490932348202056, -3.4270509831248422723, -1.1135163644116066184), + (3.3405490932348202056, 3.4270509831248422723, -1.1135163644116066184), + (-2.9152236890588002395, -2.1180339887498948482, 3.3405490932348202056), + (-2.9152236890588002395, 2.1180339887498948482, 3.3405490932348202056), + (2.9152236890588002395, -2.1180339887498948482, -3.3405490932348205213), + (2.9152236890588002395, 2.1180339887498948482, -3.3405490932348205213), + (-2.2270327288232132368, 0, -1.1135163644116066184), + (-2.2270327288232132368, -4.2360679774997896964, -1.1135163644116066184), + (-2.2270327288232132368, 4.2360679774997896964, -1.1135163644116066184), + (2.2270327288232134704, 0, 1.11351636441160673519), + (2.2270327288232134704, -4.2360679774997896964, 1.11351636441160673519), + (2.2270327288232134704, 4.2360679774997896964, 1.11351636441160673519), + (-1.8017073246471935200, -1.3090169943749474241, 1.11351636441160673519), + (-1.8017073246471935200, 1.3090169943749474241, 1.11351636441160673519), + (1.8017073246471935043, -1.3090169943749474241, -1.1135163644116066184), + (1.8017073246471935043, 1.3090169943749474241, -1.1135163644116066184), + (-1.3763819204711735382, 0, -4.7169310137059934362), + (-1.3763819204711735382, 0, 0.26286555605956679615), + (1.37638192047117353821, 0, 4.7169310137059937438), + (1.37638192047117353821, 0, -0.26286555605956679615), + (-1.1135163644116066184, -3.4270509831248422723, -3.3405490932348205213), + (-1.1135163644116066184, -0.8090169943749474241, 4.7169310137059937438), + (-1.1135163644116066184, -0.8090169943749474241, -0.26286555605956679615), + (-1.1135163644116066184, 0.8090169943749474241, 4.7169310137059937438), + (-1.1135163644116066184, 0.8090169943749474241, -0.26286555605956679615), + (-1.1135163644116066184, 3.4270509831248422723, -3.3405490932348205213), + (1.11351636441160673519, -3.4270509831248422723, 3.3405490932348202056), + (1.11351636441160673519, -0.8090169943749474241, -4.7169310137059934362), + (1.11351636441160673519, -0.8090169943749474241, 0.26286555605956679615), + (1.11351636441160673519, 0.8090169943749474241, -4.7169310137059934362), + (1.11351636441160673519, 0.8090169943749474241, 0.26286555605956679615), + (1.11351636441160673519, 3.4270509831248422723, 3.3405490932348202056), + (-0.85065080835203998877, 0, 1.11351636441160673519), + (0.85065080835203993218, 0, -1.1135163644116066184), + (-0.6881909602355867691, -0.5, -1.1135163644116066184), + (-0.6881909602355867691, 0.5, -1.1135163644116066184), + (-0.6881909602355867691, -4.7360679774997896964, -1.1135163644116066184), + (-0.6881909602355867691, -2.1180339887498948482, -1.1135163644116066184), + (-0.6881909602355867691, 2.1180339887498948482, -1.1135163644116066184), + (-0.6881909602355867691, 4.7360679774997896964, -1.1135163644116066184), + (0.68819096023558676910, -0.5, 1.11351636441160673519), + (0.68819096023558676910, 0.5, 1.11351636441160673519), + (0.68819096023558676910, -4.7360679774997896964, 1.11351636441160673519), + (0.68819096023558676910, -2.1180339887498948482, 1.11351636441160673519), + (0.68819096023558676910, 2.1180339887498948482, 1.11351636441160673519), + (0.68819096023558676910, 4.7360679774997896964, 1.11351636441160673519), + (-0.42532540417601993887, -1.3090169943749474241, -4.7169310137059934362), + (-0.42532540417601993887, -1.3090169943749474241, 0.26286555605956679615), + (-0.42532540417601993887, 1.3090169943749474241, -4.7169310137059934362), + (-0.42532540417601993887, 1.3090169943749474241, 0.26286555605956679615), + (-0.26286555605956679615, -0.8090169943749474241, 1.11351636441160673519), + (-0.26286555605956679615, 0.8090169943749474241, 1.11351636441160673519), + (0.26286555605956679615, -0.8090169943749474241, -1.1135163644116066184), + (0.26286555605956679615, 0.8090169943749474241, -1.1135163644116066184), + (0.42532540417601996609, -1.3090169943749474241, 4.7169310137059937438), + (0.42532540417601996609, -1.3090169943749474241, -0.26286555605956679615), + (0.42532540417601996609, 1.3090169943749474241, 4.7169310137059937438), + (0.42532540417601996609, 1.3090169943749474241, -0.26286555605956679615)], + [9, 66, 47], [44, 62, 77], [20, 91, 49], [33, 47, 83], + [3, 77, 84], [12, 49, 53], [36, 84, 66], [28, 53, 62], + [73, 83, 91], [15, 84, 46], [25, 64, 43], [16, 58, 72], + [26, 46, 51], [11, 43, 74], [4, 72, 91], [60, 74, 84], + [35, 91, 64], [23, 51, 58], [19, 74, 77], [79, 83, 78], + [6, 56, 40], [76, 77, 81], [21, 78, 75], [8, 40, 58], + [31, 75, 74], [42, 58, 83], [41, 81, 56], [13, 75, 43], + [27, 51, 47], [2, 89, 71], [24, 43, 62], [17, 47, 85], + [14, 71, 56], [65, 85, 75], [22, 56, 51], [34, 62, 89], + [5, 85, 78], [32, 81, 46], [10, 53, 48], [45, 78, 64], + [7, 46, 66], [18, 48, 89], [37, 66, 85], [70, 89, 81], + [29, 64, 53], [88, 74, 1], [38, 67, 48], [42, 83, 72], + [57, 1, 85], [34, 48, 62], [59, 72, 87], [19, 62, 74], + [63, 87, 67], [17, 85, 83], [52, 75, 1], [39, 87, 49], + [22, 51, 40], [55, 1, 66], [29, 49, 64], [30, 40, 69], + [13, 64, 75], [82, 69, 87], [7, 66, 51], [90, 85, 1], + [59, 69, 72], [70, 81, 71], [88, 1, 84], [73, 72, 83], + [54, 71, 68], [5, 83, 85], [50, 68, 69], [3, 84, 81], + [57, 66, 1], [30, 68, 40], [28, 62, 48], [52, 1, 74], + [23, 40, 51], [38, 48, 86], [9, 51, 66], [80, 86, 68], + [11, 74, 62], [55, 84, 1], [54, 86, 71], [35, 64, 49], + [90, 1, 75], [41, 71, 81], [39, 49, 67], [15, 81, 84], + [61, 67, 86], [21, 75, 64], [24, 53, 43], [50, 69, 0], + [37, 85, 47], [31, 43, 75], [61, 0, 67], [27, 47, 58], + [10, 67, 53], [8, 58, 69], [90, 75, 85], [45, 91, 78], + [80, 68, 0], [36, 66, 46], [65, 78, 85], [63, 0, 87], + [32, 46, 56], [20, 87, 91], [14, 56, 68], [57, 85, 66], + [33, 58, 47], [61, 86, 0], [60, 84, 77], [37, 47, 66], + [82, 0, 69], [44, 77, 89], [16, 69, 58], [18, 89, 86], + [55, 66, 84], [26, 56, 46], [63, 67, 0], [31, 74, 43], + [36, 46, 84], [50, 0, 68], [25, 43, 53], [6, 68, 56], + [12, 53, 67], [88, 84, 74], [76, 89, 77], [82, 87, 0], + [65, 75, 78], [60, 77, 74], [80, 0, 86], [79, 78, 91], + [2, 86, 89], [4, 91, 87], [52, 74, 75], [21, 64, 78], + [18, 86, 48], [23, 58, 40], [5, 78, 83], [28, 48, 53], + [6, 40, 68], [25, 53, 64], [54, 68, 86], [33, 83, 58], + [17, 83, 47], [12, 67, 49], [41, 56, 71], [9, 47, 51], + [35, 49, 91], [2, 71, 86], [79, 91, 83], [38, 86, 67], + [26, 51, 56], [7, 51, 46], [4, 87, 72], [34, 89, 48], + [15, 46, 81], [42, 72, 58], [10, 48, 67], [27, 58, 51], + [39, 67, 87], [76, 81, 89], [3, 81, 77], [8, 69, 40], + [29, 53, 49], [19, 77, 62], [22, 40, 56], [20, 49, 87], + [32, 56, 81], [59, 87, 69], [24, 62, 53], [11, 62, 43], + [14, 68, 71], [73, 91, 72], [13, 43, 64], [70, 71, 89], + [16, 72, 69], [44, 89, 62], [30, 69, 68], [45, 64, 91]] + # Actual volume is : 51.405764746872634 + assert Abs(polytope_integrate(echidnahedron, 1) - 51.4057647468726) < 1e-12 + assert Abs(polytope_integrate(echidnahedron, expr) - 253.569603474519) <\ + 1e-12 + + # Tests for many polynomials with maximum degree given(2D case). + assert polytope_integrate(cube2, [x**2, y*z], max_degree=2) == \ + {y * z: 3125 / S(4), x ** 2: 3125 / S(3)} + + assert polytope_integrate(cube2, max_degree=2) == \ + {1: 125, x: 625 / S(2), x * z: 3125 / S(4), y: 625 / S(2), + y * z: 3125 / S(4), z ** 2: 3125 / S(3), y ** 2: 3125 / S(3), + z: 625 / S(2), x * y: 3125 / S(4), x ** 2: 3125 / S(3)} + +def test_point_sort(): + assert point_sort([Point(0, 0), Point(1, 0), Point(1, 1)]) == \ + [Point2D(1, 1), Point2D(1, 0), Point2D(0, 0)] + + fig6 = Polygon((0, 0), (1, 0), (1, 1)) + assert polytope_integrate(fig6, x*y) == Rational(-1, 8) + assert polytope_integrate(fig6, x*y, clockwise = True) == Rational(1, 8) + + +def test_polytopes_intersecting_sides(): + fig5 = Polygon(Point(-4.165, -0.832), Point(-3.668, 1.568), + Point(-3.266, 1.279), Point(-1.090, -2.080), + Point(3.313, -0.683), Point(3.033, -4.845), + Point(-4.395, 4.840), Point(-1.007, -3.328)) + assert polytope_integrate(fig5, x**2 + x*y + y**2) ==\ + S(1633405224899363)/(24*10**12) + + fig6 = Polygon(Point(-3.018, -4.473), Point(-0.103, 2.378), + Point(-1.605, -2.308), Point(4.516, -0.771), + Point(4.203, 0.478)) + assert polytope_integrate(fig6, x**2 + x*y + y**2) ==\ + S(88161333955921)/(3*10**12) + + +def test_max_degree(): + polygon = Polygon((0, 0), (0, 1), (1, 1), (1, 0)) + polys = [1, x, y, x*y, x**2*y, x*y**2] + assert polytope_integrate(polygon, polys, max_degree=3) == \ + {1: 1, x: S.Half, y: S.Half, x*y: Rational(1, 4), x**2*y: Rational(1, 6), x*y**2: Rational(1, 6)} + assert polytope_integrate(polygon, polys, max_degree=2) == \ + {1: 1, x: S.Half, y: S.Half, x*y: Rational(1, 4)} + assert polytope_integrate(polygon, polys, max_degree=1) == \ + {1: 1, x: S.Half, y: S.Half} + + +def test_main_integrate3d(): + cube = [[(0, 0, 0), (0, 0, 5), (0, 5, 0), (0, 5, 5), (5, 0, 0),\ + (5, 0, 5), (5, 5, 0), (5, 5, 5)],\ + [2, 6, 7, 3], [3, 7, 5, 1], [7, 6, 4, 5], [1, 5, 4, 0],\ + [3, 1, 0, 2], [0, 4, 6, 2]] + vertices = cube[0] + faces = cube[1:] + hp_params = hyperplane_parameters(faces, vertices) + assert main_integrate3d(1, faces, vertices, hp_params) == -125 + assert main_integrate3d(1, faces, vertices, hp_params, max_degree=1) == \ + {1: -125, y: Rational(-625, 2), z: Rational(-625, 2), x: Rational(-625, 2)} + + +def test_main_integrate(): + triangle = Polygon((0, 3), (5, 3), (1, 1)) + facets = triangle.sides + hp_params = hyperplane_parameters(triangle) + assert main_integrate(x**2 + y**2, facets, hp_params) == Rational(325, 6) + assert main_integrate(x**2 + y**2, facets, hp_params, max_degree=1) == \ + {0: 0, 1: 5, y: Rational(35, 3), x: 10} + + +def test_polygon_integrate(): + cube = [[(0, 0, 0), (0, 0, 5), (0, 5, 0), (0, 5, 5), (5, 0, 0),\ + (5, 0, 5), (5, 5, 0), (5, 5, 5)],\ + [2, 6, 7, 3], [3, 7, 5, 1], [7, 6, 4, 5], [1, 5, 4, 0],\ + [3, 1, 0, 2], [0, 4, 6, 2]] + facet = cube[1] + facets = cube[1:] + vertices = cube[0] + assert polygon_integrate(facet, [(0, 1, 0), 5], 0, facets, vertices, 1, 0) == -25 + + +def test_distance_to_side(): + point = (0, 0, 0) + assert distance_to_side(point, [(0, 0, 1), (0, 1, 0)], (1, 0, 0)) == -sqrt(2)/2 + + +def test_lineseg_integrate(): + polygon = [(0, 5, 0), (5, 5, 0), (5, 5, 5), (0, 5, 5)] + line_seg = [(0, 5, 0), (5, 5, 0)] + assert lineseg_integrate(polygon, 0, line_seg, 1, 0) == 5 + assert lineseg_integrate(polygon, 0, line_seg, 0, 0) == 0 + + +def test_integration_reduction(): + triangle = Polygon(Point(0, 3), Point(5, 3), Point(1, 1)) + facets = triangle.sides + a, b = hyperplane_parameters(triangle)[0] + assert integration_reduction(facets, 0, a, b, 1, (x, y), 0) == 5 + assert integration_reduction(facets, 0, a, b, 0, (x, y), 0) == 0 + + +def test_integration_reduction_dynamic(): + triangle = Polygon(Point(0, 3), Point(5, 3), Point(1, 1)) + facets = triangle.sides + a, b = hyperplane_parameters(triangle)[0] + x0 = facets[0].points[0] + monomial_values = [[0, 0, 0, 0], [1, 0, 0, 5],\ + [y, 0, 1, 15], [x, 1, 0, None]] + + assert integration_reduction_dynamic(facets, 0, a, b, x, 1, (x, y), 1,\ + 0, 1, x0, monomial_values, 3) == Rational(25, 2) + assert integration_reduction_dynamic(facets, 0, a, b, 0, 1, (x, y), 1,\ + 0, 1, x0, monomial_values, 3) == 0 + + +def test_is_vertex(): + assert is_vertex(2) is False + assert is_vertex((2, 3)) is True + assert is_vertex(Point(2, 3)) is True + assert is_vertex((2, 3, 4)) is True + assert is_vertex((2, 3, 4, 5)) is False + + +def test_issue_19234(): + polygon = Polygon(Point(0, 0), Point(0, 1), Point(1, 1), Point(1, 0)) + polys = [ 1, x, y, x*y, x**2*y, x*y**2] + assert polytope_integrate(polygon, polys) == \ + {1: 1, x: S.Half, y: S.Half, x*y: Rational(1, 4), x**2*y: Rational(1, 6), x*y**2: Rational(1, 6)} + polys = [ 1, x, y, x*y, 3 + x**2*y, x + x*y**2] + assert polytope_integrate(polygon, polys) == \ + {1: 1, x: S.Half, y: S.Half, x*y: Rational(1, 4), x**2*y + 3: Rational(19, 6), x*y**2 + x: Rational(2, 3)} diff --git a/shared/package-files/37/3736638b524037cb3b2fd323739773aa41a694b9abc0c4b936da1a3f236f16e0/api.py b/shared/package-files/37/3736638b524037cb3b2fd323739773aa41a694b9abc0c4b936da1a3f236f16e0/api.py new file mode 100644 index 0000000000000000000000000000000000000000..39fc08ed8b62cbf1efb6822372dd43dafdd7afab --- /dev/null +++ b/shared/package-files/37/3736638b524037cb3b2fd323739773aa41a694b9abc0c4b936da1a3f236f16e0/api.py @@ -0,0 +1,230 @@ +from __future__ import annotations + +import functools as _functools +import os as _os +import warnings as _warnings +from glob import glob as _glob + +# expose these two exceptions as part of the API. Everything else should feed into these. +from .exceptions import ConversionError, InvalidArchiveError # NOQA +from .interface import AbstractBaseFormat +from .tarball import CondaTarBZ2 as _CondaTarBZ2 +from .utils import filter_info_files +from .utils import get_executor as _get_executor +from .utils import rm_rf as _rm_rf + +SUPPORTED_EXTENSIONS: dict[str, type[AbstractBaseFormat]] = {".tar.bz2": _CondaTarBZ2} + +libarchive_enabled = False #: Old API meaning "can extract .conda" (now without libarchive) + +try: + from .conda_fmt import ZSTD_COMPRESS_LEVEL, ZSTD_COMPRESS_THREADS + from .conda_fmt import CondaFormat_v2 as _CondaFormat_v2 + + SUPPORTED_EXTENSIONS[".conda"] = _CondaFormat_v2 + + libarchive_enabled = True + +except ImportError: + _warnings.warn("Install zstandard Python bindings for .conda support") + +THREADSAFE_EXTRACT = True #: Not present in conda-package-handling<2.0. + + +def _collect_paths(prefix): + dir_paths, file_paths = [], [] + for dp, dn, filenames in _os.walk(prefix): + for f in filenames: + file_paths.append(_os.path.relpath(_os.path.join(dp, f), prefix)) + dir_paths.extend(_os.path.relpath(_os.path.join(dp, _), prefix) for _ in dn) + file_list = file_paths + [ + dp for dp in dir_paths if not any(f.startswith(dp + _os.sep) for f in file_paths) + ] + return file_list + + +def get_default_extracted_folder(in_file, abspath=True): + dirname = None + for ext in SUPPORTED_EXTENSIONS: + if in_file.endswith(ext): + dirname = in_file[: -len(ext)] + if dirname and not abspath: + dirname = _os.path.basename(dirname) + return dirname + + +def extract(fn, dest_dir=None, components=None, prefix=None): + if dest_dir: + if _os.path.isabs(dest_dir) and prefix: + raise ValueError( + "dest_dir and prefix both provided as abs paths. If providing both, " + "prefix can be abspath, but dest dir must be relative (relative to " + "prefix)" + ) + if not _os.path.isabs(dest_dir): + dest_dir = _os.path.normpath(_os.path.join(prefix or _os.getcwd(), dest_dir)) + else: + dest_dir = _os.path.join( + prefix or _os.path.dirname(fn), + get_default_extracted_folder(fn, abspath=False), + ) + + if not _os.path.isdir(dest_dir): + _os.makedirs(dest_dir) + + for format in SUPPORTED_EXTENSIONS.values(): + if format.supported(fn): + format.extract(fn, dest_dir, components=components) + break + else: + raise ValueError( + "Didn't recognize extension for file '{}'. Supported extensions are: {}".format( + fn, list(SUPPORTED_EXTENSIONS.keys()) + ) + ) + + +def create(prefix, file_list, out_fn, out_folder=None, **kw): + if not out_folder: + out_folder = _os.getcwd() + + # simplify arguments to format.create() + if _os.path.isabs(out_fn): + out_folder = _os.path.dirname(out_fn) + out_fn = _os.path.basename(out_fn) + + if file_list is None: + file_list = _collect_paths(prefix) + elif isinstance(file_list, str): + try: + with open(file_list) as f: + data = f.readlines() + file_list = [_.strip() for _ in data] + except: + raise + + out = None + for format in SUPPORTED_EXTENSIONS.values(): + if format.supported(out_fn): + try: + out = format.create(prefix, file_list, out_fn, out_folder, **kw) + break + except BaseException as err: + # don't leave broken files around + abs_out_fn = _os.path.join(out_folder, out_fn) + if _os.path.isfile(abs_out_fn): + _rm_rf(abs_out_fn) + raise err + else: + raise ValueError( + "Didn't recognize extension for file '{}'. Supported extensions are: {}".format( + out_fn, list(SUPPORTED_EXTENSIONS.keys()) + ) + ) + + return out + + +def _convert( + fn, + out_ext, + out_folder, + force=False, + zstd_compress_level=None, + zstd_compress_threads=None, + **kw, +): + # allow package to work in degraded mode when zstandard is not available + import conda_package_streaming.transmute + import zstandard + + basename = get_default_extracted_folder(fn, abspath=False) + from .validate import validate_converted_files_match_streaming + + if not basename: + return ( + fn, + "", + "Input file %s doesn't have a supported extension (%s), skipping it" + % (fn, SUPPORTED_EXTENSIONS), + ) + out_fn = str(_os.path.join(out_folder, basename + out_ext)) + errors = "" + if not _os.path.lexists(out_fn) or force: + if force and _os.path.lexists(out_fn): + _os.unlink(out_fn) + + if out_ext == ".conda": + # ZSTD_COMPRESS_* constants are only defined if we have zstandard + if zstd_compress_level is None: + zstd_compress_level = ZSTD_COMPRESS_LEVEL + if zstd_compress_threads is None: + zstd_compress_threads = ZSTD_COMPRESS_THREADS + + def compressor(): + return zstandard.ZstdCompressor( + level=zstd_compress_level, threads=zstd_compress_threads + ) + + def is_info(filename): + return filter_info_files([filename], prefix=".") == [] + + transmute = _functools.partial( + conda_package_streaming.transmute.transmute, + fn, + out_folder, + compressor=compressor, + is_info=is_info, + ) + + else: + transmute = _functools.partial( + conda_package_streaming.transmute.transmute_tar_bz2, fn, out_folder + ) + + try: + transmute() + result = validate_converted_files_match_streaming(out_fn, fn) + _, missing_files, mismatching_sizes = result + if missing_files or mismatching_sizes: + errors = str(ConversionError(missing_files, mismatching_sizes)) + except BaseException as e: + # don't leave partial package around + if _os.path.isfile(out_fn): + _rm_rf(out_fn) + if not isinstance(e, Exception): + raise + errors = str(e) + + return fn, out_fn, errors + + +def transmute(in_file, out_ext, out_folder=None, processes=1, **kw): + if not out_folder: + out_folder = _os.path.dirname(in_file) or _os.getcwd() + + flist = set(_glob(in_file)) + if in_file.endswith(".tar.bz2"): + flist = flist - set(_glob(in_file.replace(".tar.bz2", out_ext))) + elif in_file.endswith(".conda"): + flist = flist - set(_glob(in_file.replace(".conda", out_ext))) + + failed_files = {} + with _get_executor(processes) as executor: + convert_f = _functools.partial(_convert, out_ext=out_ext, out_folder=out_folder, **kw) + for fn, out_fn, errors in executor.map(convert_f, flist): + if errors: + failed_files[fn] = errors + _rm_rf(out_fn) + return failed_files + + +def get_pkg_details(in_file): + """For the new pkg format, we return the size and hashes of the inner pkg part of the file""" + for format in SUPPORTED_EXTENSIONS.values(): + if format.supported(in_file): + details = format.get_pkg_details(in_file) + break + else: + raise ValueError(f"Don't know what to do with file {in_file}") + return details diff --git a/shared/package-files/37/3738074a9745f6e306cdff9f587ad3a3a2239ab0dc5e1e32ddcffa6555ec3d09/scaled_dot_product_attention_compositeimplicitautograd_dispatch.h b/shared/package-files/37/3738074a9745f6e306cdff9f587ad3a3a2239ab0dc5e1e32ddcffa6555ec3d09/scaled_dot_product_attention_compositeimplicitautograd_dispatch.h new file mode 100644 index 0000000000000000000000000000000000000000..38336240175b170bcd3566c0644913c8b1f20c2d --- /dev/null +++ b/shared/package-files/37/3738074a9745f6e306cdff9f587ad3a3a2239ab0dc5e1e32ddcffa6555ec3d09/scaled_dot_product_attention_compositeimplicitautograd_dispatch.h @@ -0,0 +1,23 @@ +#pragma once +// @generated by torchgen/gen.py from DispatchKeyFunction.h + +// NB: The implementing C++ file is RegisterDispatchKey.cpp + +// The only #includes we need are for custom classes that have defaults in the C++ API +#include +#include +#include + +// Forward declarations of any types needed in the operator signatures. +// We can't directly include these classes because it will cause circular include dependencies. +// This file is included by TensorBody.h, which defines the Tensor class. +#include + +namespace at { + +namespace compositeimplicitautograd { + +TORCH_API at::Tensor scaled_dot_product_attention(const at::Tensor & query, const at::Tensor & key, const at::Tensor & value, const c10::optional & attn_mask={}, double dropout_p=0.0, bool is_causal=false, c10::optional scale=c10::nullopt); + +} // namespace compositeimplicitautograd +} // namespace at diff --git a/shared/package-files/37/373cae7ea4f0cdc4d9df614db98fabc2c7b82a61fcce8ca873546167150cc05b/server_tracing_middleware.h b/shared/package-files/37/373cae7ea4f0cdc4d9df614db98fabc2c7b82a61fcce8ca873546167150cc05b/server_tracing_middleware.h new file mode 100644 index 0000000000000000000000000000000000000000..50c8294a63b0622a91a514eb59b3f6d47c5aa076 --- /dev/null +++ b/shared/package-files/37/373cae7ea4f0cdc4d9df614db98fabc2c7b82a61fcce8ca873546167150cc05b/server_tracing_middleware.h @@ -0,0 +1,68 @@ +// Licensed to the Apache Software Foundation (ASF) under one +// or more contributor license agreements. See the NOTICE file +// distributed with this work for additional information +// regarding copyright ownership. The ASF licenses this file +// to you under the Apache License, Version 2.0 (the +// "License"); you may not use this file except in compliance +// with the License. You may obtain a copy of the License at +// +// http://www.apache.org/licenses/LICENSE-2.0 +// +// Unless required by applicable law or agreed to in writing, +// software distributed under the License is distributed on an +// "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY +// KIND, either express or implied. See the License for the +// specific language governing permissions and limitations +// under the License. + +// Middleware implementation for propagating OpenTelemetry spans. + +#pragma once + +#include +#include +#include + +#include "arrow/flight/server_middleware.h" +#include "arrow/flight/visibility.h" +#include "arrow/status.h" + +namespace arrow { +namespace flight { + +/// \brief Returns a ServerMiddlewareFactory that handles receiving OpenTelemetry spans. +ARROW_FLIGHT_EXPORT std::shared_ptr +MakeTracingServerMiddlewareFactory(); + +/// \brief A server middleware that provides access to the +/// OpenTelemetry context, if present. +/// +/// Used to make the OpenTelemetry span available in Python. +class ARROW_FLIGHT_EXPORT TracingServerMiddleware : public ServerMiddleware { + public: + ~TracingServerMiddleware(); + + static constexpr const char kMiddlewareName[] = + "arrow::flight::TracingServerMiddleware"; + + std::string name() const override { return kMiddlewareName; } + void SendingHeaders(AddCallHeaders*) override; + void CallCompleted(const Status&) override; + + struct TraceKey { + std::string key; + std::string value; + }; + /// \brief Get the trace context. + std::vector GetTraceContext() const; + + private: + class Impl; + friend class TracingServerMiddlewareFactory; + + explicit TracingServerMiddleware(std::unique_ptr impl); + std::unique_ptr impl_; +}; + +} // namespace flight +} // namespace arrow diff --git a/shared/package-files/37/373ce9f19a2e95f1cb0a6ccf374cc0f7272383fac3fe866b55cde8366a70d9fc/quantized_batch_norm_ops.h b/shared/package-files/37/373ce9f19a2e95f1cb0a6ccf374cc0f7272383fac3fe866b55cde8366a70d9fc/quantized_batch_norm_ops.h new file mode 100644 index 0000000000000000000000000000000000000000..0a503ccde068093d546628d56bee3d9013908e9c --- /dev/null +++ b/shared/package-files/37/373ce9f19a2e95f1cb0a6ccf374cc0f7272383fac3fe866b55cde8366a70d9fc/quantized_batch_norm_ops.h @@ -0,0 +1,39 @@ +#pragma once + +// @generated by torchgen/gen.py from Operator.h + +#include +#include + +// Forward declarations of any types needed in the operator signatures. +// We can't directly include these classes because it will cause circular include dependencies. +// This file is included by TensorBody.h, which defines the Tensor class. +#include + +namespace at { +namespace _ops { + + +struct TORCH_API quantized_batch_norm { + using schema = at::Tensor (const at::Tensor &, const c10::optional &, const c10::optional &, const at::Tensor &, const at::Tensor &, double, double, int64_t); + using ptr_schema = schema*; + // See Note [static constexpr char* members for windows NVCC] + STATIC_CONSTEXPR_STR_INL_EXCEPT_WIN_CUDA(name, "aten::quantized_batch_norm") + STATIC_CONSTEXPR_STR_INL_EXCEPT_WIN_CUDA(overload_name, "") + STATIC_CONSTEXPR_STR_INL_EXCEPT_WIN_CUDA(schema_str, "quantized_batch_norm(Tensor input, Tensor? weight, Tensor? bias, Tensor mean, Tensor var, float eps, float output_scale, int output_zero_point) -> Tensor") + static at::Tensor call(const at::Tensor & input, const c10::optional & weight, const c10::optional & bias, const at::Tensor & mean, const at::Tensor & var, double eps, double output_scale, int64_t output_zero_point); + static at::Tensor redispatch(c10::DispatchKeySet dispatchKeySet, const at::Tensor & input, const c10::optional & weight, const c10::optional & bias, const at::Tensor & mean, const at::Tensor & var, double eps, double output_scale, int64_t output_zero_point); +}; + +struct TORCH_API quantized_batch_norm_out { + using schema = at::Tensor & (const at::Tensor &, const c10::optional &, const c10::optional &, const at::Tensor &, const at::Tensor &, double, double, int64_t, at::Tensor &); + using ptr_schema = schema*; + // See Note [static constexpr char* members for windows NVCC] + STATIC_CONSTEXPR_STR_INL_EXCEPT_WIN_CUDA(name, "aten::quantized_batch_norm") + STATIC_CONSTEXPR_STR_INL_EXCEPT_WIN_CUDA(overload_name, "out") + STATIC_CONSTEXPR_STR_INL_EXCEPT_WIN_CUDA(schema_str, "quantized_batch_norm.out(Tensor input, Tensor? weight, Tensor? bias, Tensor mean, Tensor var, float eps, float output_scale, int output_zero_point, *, Tensor(a!) out) -> Tensor(a!)") + static at::Tensor & call(const at::Tensor & input, const c10::optional & weight, const c10::optional & bias, const at::Tensor & mean, const at::Tensor & var, double eps, double output_scale, int64_t output_zero_point, at::Tensor & out); + static at::Tensor & redispatch(c10::DispatchKeySet dispatchKeySet, const at::Tensor & input, const c10::optional & weight, const c10::optional & bias, const at::Tensor & mean, const at::Tensor & var, double eps, double output_scale, int64_t output_zero_point, at::Tensor & out); +}; + +}} // namespace at::_ops diff --git a/shared/package-files/37/373d27ba27794b76c35f9c5d2459b4d0c6e3afd5d5a0ed348b8800721aa6b371/_copy_from_ops.h b/shared/package-files/37/373d27ba27794b76c35f9c5d2459b4d0c6e3afd5d5a0ed348b8800721aa6b371/_copy_from_ops.h new file mode 100644 index 0000000000000000000000000000000000000000..db978e3c878381977c2af867a5a54bd705b49bf4 --- /dev/null +++ b/shared/package-files/37/373d27ba27794b76c35f9c5d2459b4d0c6e3afd5d5a0ed348b8800721aa6b371/_copy_from_ops.h @@ -0,0 +1,39 @@ +#pragma once + +// @generated by torchgen/gen.py from Operator.h + +#include +#include + +// Forward declarations of any types needed in the operator signatures. +// We can't directly include these classes because it will cause circular include dependencies. +// This file is included by TensorBody.h, which defines the Tensor class. +#include + +namespace at { +namespace _ops { + + +struct TORCH_API _copy_from { + using schema = at::Tensor (const at::Tensor &, const at::Tensor &, bool); + using ptr_schema = schema*; + // See Note [static constexpr char* members for windows NVCC] + STATIC_CONSTEXPR_STR_INL_EXCEPT_WIN_CUDA(name, "aten::_copy_from") + STATIC_CONSTEXPR_STR_INL_EXCEPT_WIN_CUDA(overload_name, "") + STATIC_CONSTEXPR_STR_INL_EXCEPT_WIN_CUDA(schema_str, "_copy_from(Tensor self, Tensor dst, bool non_blocking=False) -> Tensor") + static at::Tensor call(const at::Tensor & self, const at::Tensor & dst, bool non_blocking); + static at::Tensor redispatch(c10::DispatchKeySet dispatchKeySet, const at::Tensor & self, const at::Tensor & dst, bool non_blocking); +}; + +struct TORCH_API _copy_from_out { + using schema = at::Tensor & (const at::Tensor &, const at::Tensor &, bool, at::Tensor &); + using ptr_schema = schema*; + // See Note [static constexpr char* members for windows NVCC] + STATIC_CONSTEXPR_STR_INL_EXCEPT_WIN_CUDA(name, "aten::_copy_from") + STATIC_CONSTEXPR_STR_INL_EXCEPT_WIN_CUDA(overload_name, "out") + STATIC_CONSTEXPR_STR_INL_EXCEPT_WIN_CUDA(schema_str, "_copy_from.out(Tensor self, Tensor dst, bool non_blocking=False, *, Tensor(a!) out) -> Tensor(a!)") + static at::Tensor & call(const at::Tensor & self, const at::Tensor & dst, bool non_blocking, at::Tensor & out); + static at::Tensor & redispatch(c10::DispatchKeySet dispatchKeySet, const at::Tensor & self, const at::Tensor & dst, bool non_blocking, at::Tensor & out); +}; + +}} // namespace at::_ops diff --git a/shared/package-files/37/37414a64ccb8e625af731618a777f5180273738b8614a43e41fb5cde5cb3e392/misc.h b/shared/package-files/37/37414a64ccb8e625af731618a777f5180273738b8614a43e41fb5cde5cb3e392/misc.h new file mode 100644 index 0000000000000000000000000000000000000000..5650b35147b17cbc62c30a33d2efadcd0f03f39b --- /dev/null +++ b/shared/package-files/37/37414a64ccb8e625af731618a777f5180273738b8614a43e41fb5cde5cb3e392/misc.h @@ -0,0 +1,98 @@ +#pragma once + +#include +#include +#include + +namespace torch { +namespace jit { +namespace tensorexpr { + +struct TensorInfo { + std::vector dims; + c10::ScalarType dtype; +}; +c10::optional getTensorInfo(BufHandle b); + +int64_t normalizeAndCheckIndex(int64_t idx, int64_t list_size); + +// Convert boolean to integer, if needed. +ExprHandle boolToInteger(const ExprHandle& x); +ExprHandle promoteToDtype(ExprHandle e, ScalarType dt); +void promoteInputs( + std::vector& inputs, + const int typeConstraints = kAllTypes); +ExprHandle promoteIntegerToDefaultType(const ExprHandle& e); +ExprHandle promoteHalfToFloat(const ExprHandle& e); +ExprHandle demoteOutput( + const ExprHandle& e, + const c10::optional type); + +std::vector broadcastShapes( + std::vector> shapes); +std::vector broadcastShapes( + const std::vector& a, + const std::vector& b); + +std::vector valueShape(const ArgValue& v); +ExprHandle tensorOrConstant( + const ArgValue& v, + const std::vector& axes); +ExprHandle scalarOrConstant(const ArgValue& v); +ExprHandle broadcast(BufHandle b, const std::vector& axes); +ExprHandle constant(const ArgValue& v); + +ExprHandle clamp( + const ExprHandle& cmin, + const ExprHandle& cmax, + const ExprHandle& input); + +Tensor computeChunk( + const std::vector& inputs, + const std::vector& outputShape, + const std::vector& outputStrides, + const c10::optional& outputType, + at::Device device); +Tensor computeTranspose( + const std::vector& inputs, + const std::vector& outputShape, + const std::vector& outputStrides, + const c10::optional& outputType, + at::Device device); +Tensor computeExpand( + const std::vector& inputs, + const std::vector& outputShape, + const std::vector& outputStrides, + const c10::optional& outputType, + at::Device device); +Tensor computeReshape( + const std::vector& inputs, + const std::vector& outputShape, + const std::vector& outputStrides, + const c10::optional& outputType, + at::Device device); +Tensor computeFlatten( + const std::vector& inputs, + const std::vector& outputShape, + const std::vector& outputStrides, + const c10::optional& outputType, + at::Device device); +Tensor computeCatWoConditionals( + const std::vector& inputs, + const std::vector& outputShape); +Tensor computeCat( + const std::vector& inputs, + const std::vector& outputShape, + const std::vector& outputStrides, + const c10::optional& outputType, + at::Device device); +Tensor computeEmbedding( + const std::vector& inputs, + const std::vector& outputShape, + const std::vector& outputStrides, + const c10::optional& outputType, + at::Device device); + +} // namespace tensorexpr +} // namespace jit +} // namespace torch diff --git a/shared/package-files/37/3747bb6fe16e5f701598a510685f9ea0879ae8ff7d23731f8af5f6d7c986d365/_nested_tensor_size_ops.h b/shared/package-files/37/3747bb6fe16e5f701598a510685f9ea0879ae8ff7d23731f8af5f6d7c986d365/_nested_tensor_size_ops.h new file mode 100644 index 0000000000000000000000000000000000000000..3c504a0f1708fd668b2f6366accb9817a75e36e9 --- /dev/null +++ b/shared/package-files/37/3747bb6fe16e5f701598a510685f9ea0879ae8ff7d23731f8af5f6d7c986d365/_nested_tensor_size_ops.h @@ -0,0 +1,39 @@ +#pragma once + +// @generated by torchgen/gen.py from Operator.h + +#include +#include + +// Forward declarations of any types needed in the operator signatures. +// We can't directly include these classes because it will cause circular include dependencies. +// This file is included by TensorBody.h, which defines the Tensor class. +#include + +namespace at { +namespace _ops { + + +struct TORCH_API _nested_tensor_size { + using schema = at::Tensor (const at::Tensor &); + using ptr_schema = schema*; + // See Note [static constexpr char* members for windows NVCC] + STATIC_CONSTEXPR_STR_INL_EXCEPT_WIN_CUDA(name, "aten::_nested_tensor_size") + STATIC_CONSTEXPR_STR_INL_EXCEPT_WIN_CUDA(overload_name, "") + STATIC_CONSTEXPR_STR_INL_EXCEPT_WIN_CUDA(schema_str, "_nested_tensor_size(Tensor self) -> Tensor") + static at::Tensor call(const at::Tensor & self); + static at::Tensor redispatch(c10::DispatchKeySet dispatchKeySet, const at::Tensor & self); +}; + +struct TORCH_API _nested_tensor_size_out { + using schema = at::Tensor & (const at::Tensor &, at::Tensor &); + using ptr_schema = schema*; + // See Note [static constexpr char* members for windows NVCC] + STATIC_CONSTEXPR_STR_INL_EXCEPT_WIN_CUDA(name, "aten::_nested_tensor_size") + STATIC_CONSTEXPR_STR_INL_EXCEPT_WIN_CUDA(overload_name, "out") + STATIC_CONSTEXPR_STR_INL_EXCEPT_WIN_CUDA(schema_str, "_nested_tensor_size.out(Tensor self, *, Tensor(a!) out) -> Tensor(a!)") + static at::Tensor & call(const at::Tensor & self, at::Tensor & out); + static at::Tensor & redispatch(c10::DispatchKeySet dispatchKeySet, const at::Tensor & self, at::Tensor & out); +}; + +}} // namespace at::_ops diff --git a/shared/package-files/37/3748916bfd0caf069261eed1111a74f313477b19094da180a8d3c5795669ffee/amax_meta_dispatch.h b/shared/package-files/37/3748916bfd0caf069261eed1111a74f313477b19094da180a8d3c5795669ffee/amax_meta_dispatch.h new file mode 100644 index 0000000000000000000000000000000000000000..dd0ee782b9fa05b4c7eefa8a0583a597b64af230 --- /dev/null +++ b/shared/package-files/37/3748916bfd0caf069261eed1111a74f313477b19094da180a8d3c5795669ffee/amax_meta_dispatch.h @@ -0,0 +1,25 @@ +#pragma once +// @generated by torchgen/gen.py from DispatchKeyFunction.h + +// NB: The implementing C++ file is RegisterDispatchKey.cpp + +// The only #includes we need are for custom classes that have defaults in the C++ API +#include +#include +#include + +// Forward declarations of any types needed in the operator signatures. +// We can't directly include these classes because it will cause circular include dependencies. +// This file is included by TensorBody.h, which defines the Tensor class. +#include + +namespace at { + +namespace meta { + +TORCH_API at::Tensor amax(const at::Tensor & self, at::IntArrayRef dim={}, bool keepdim=false); +TORCH_API at::Tensor & amax_out(at::Tensor & out, const at::Tensor & self, at::IntArrayRef dim={}, bool keepdim=false); +TORCH_API at::Tensor & amax_outf(const at::Tensor & self, at::IntArrayRef dim, bool keepdim, at::Tensor & out); + +} // namespace meta +} // namespace at diff --git a/shared/package-files/37/374d2420b48f9b46a45b236cacd60a9878199a8a28f206f2526e4854b7fb6f1f/subjective.py b/shared/package-files/37/374d2420b48f9b46a45b236cacd60a9878199a8a28f206f2526e4854b7fb6f1f/subjective.py new file mode 100644 index 0000000000000000000000000000000000000000..4be681c91c5f67a2b888b49ec8269b74762360ab --- /dev/null +++ b/shared/package-files/37/374d2420b48f9b46a45b236cacd60a9878199a8a28f206f2526e4854b7fb6f1f/subjective.py @@ -0,0 +1,150 @@ +from typing import Tuple + +import torch +import torch.nn as nn +import torchaudio + + +class AttPool(nn.Module): + """Attention-Pooling module that estimates the attention score. + + Args: + input_dim (int): Input feature dimension. + att_dim (int): Attention Tensor dimension. + """ + + def __init__(self, input_dim: int, att_dim: int): + super(AttPool, self).__init__() + + self.linear1 = nn.Linear(input_dim, 1) + self.linear2 = nn.Linear(input_dim, att_dim) + + def forward(self, x: torch.Tensor) -> torch.Tensor: + """Apply attention and pooling. + + Args: + x (torch.Tensor): Input Tensor with dimensions `(batch, time, feature_dim)`. + + Returns: + (torch.Tensor): Attention score with dimensions `(batch, att_dim)`. + """ + + att = self.linear1(x) # (batch, time, 1) + att = att.transpose(2, 1) # (batch, 1, time) + att = nn.functional.softmax(att, dim=2) + x = torch.matmul(att, x).squeeze(1) # (batch, input_dim) + x = self.linear2(x) # (batch, att_dim) + return x + + +class Predictor(nn.Module): + """Prediction module that apply pooling and attention, then predict subjective metric scores. + + Args: + input_dim (int): Input feature dimension. + att_dim (int): Attention Tensor dimension. + """ + + def __init__(self, input_dim: int, att_dim: int): + super(Predictor, self).__init__() + self.att_pool_layer = AttPool(input_dim, att_dim) + self.att_dim = att_dim + + def forward(self, x: torch.Tensor) -> torch.Tensor: + """Predict subjective evaluation metric score. + + Args: + x (torch.Tensor): Input Tensor with dimensions `(batch, time, feature_dim)`. + + Returns: + (torch.Tensor): Subjective metric score. Tensor with dimensions `(batch,)`. + """ + x = self.att_pool_layer(x) + x = nn.functional.softmax(x, dim=1) + B = torch.linspace(0, 4, steps=self.att_dim, device=x.device) + x = (x * B).sum(dim=1) + return x + + +class SquimSubjective(nn.Module): + """Speech Quality and Intelligibility Measures (SQUIM) model that predicts **subjective** metric scores + for speech enhancement (e.g., Mean Opinion Score (MOS)). The model is adopted from *NORESQA-MOS* + :cite:`manocha2022speech` which predicts MOS scores given the input speech and a non-matching reference. + + Args: + ssl_model (torch.nn.Module): The self-supervised learning model for feature extraction. + projector (torch.nn.Module): Projection layer that projects SSL feature to a lower dimension. + predictor (torch.nn.Module): Predict the subjective scores. + """ + + def __init__(self, ssl_model: nn.Module, projector: nn.Module, predictor: nn.Module): + super(SquimSubjective, self).__init__() + self.ssl_model = ssl_model + self.projector = projector + self.predictor = predictor + + def _align_shapes(self, waveform: torch.Tensor, reference: torch.Tensor) -> Tuple[torch.Tensor, torch.Tensor]: + """Cut or pad the reference Tensor to make it aligned with waveform Tensor. + + Args: + waveform (torch.Tensor): Input waveform for evaluation. Tensor with dimensions `(batch, time)`. + reference (torch.Tensor): Non-matching clean reference. Tensor with dimensions `(batch, time_ref)`. + + Returns: + (torch.Tensor, torch.Tensor): The aligned waveform and reference Tensors + with same dimensions `(batch, time)`. + """ + T_waveform = waveform.shape[-1] + T_reference = reference.shape[-1] + if T_reference < T_waveform: + num_padding = T_waveform // T_reference + 1 + reference = torch.cat([reference for _ in range(num_padding)], dim=1) + return waveform, reference[:, :T_waveform] + + def forward(self, waveform: torch.Tensor, reference: torch.Tensor): + """Predict subjective evaluation metric score. + + Args: + waveform (torch.Tensor): Input waveform for evaluation. Tensor with dimensions `(batch, time)`. + reference (torch.Tensor): Non-matching clean reference. Tensor with dimensions `(batch, time_ref)`. + + Returns: + (torch.Tensor): Subjective metric score. Tensor with dimensions `(batch,)`. + """ + waveform, reference = self._align_shapes(waveform, reference) + waveform = self.projector(self.ssl_model.extract_features(waveform)[0][-1]) + reference = self.projector(self.ssl_model.extract_features(reference)[0][-1]) + concat = torch.cat((reference, waveform), dim=2) + score_diff = self.predictor(concat) # Score difference compared to the reference + return 5 - score_diff + + +def squim_subjective_model( + ssl_type: str, + feat_dim: int, + proj_dim: int, + att_dim: int, +) -> SquimSubjective: + """Build a custome :class:`torchaudio.prototype.models.SquimSubjective` model. + + Args: + ssl_type (str): Type of self-supervised learning (SSL) models. + Must be one of ["wav2vec2_base", "wav2vec2_large"]. + feat_dim (int): Feature dimension of the SSL feature representation. + proj_dim (int): Output dimension of projection layer. + att_dim (int): Dimension of attention scores. + """ + ssl_model = getattr(torchaudio.models, ssl_type)() + projector = nn.Linear(feat_dim, proj_dim) + predictor = Predictor(proj_dim * 2, att_dim) + return SquimSubjective(ssl_model, projector, predictor) + + +def squim_subjective_base() -> SquimSubjective: + """Build :class:`torchaudio.prototype.models.SquimSubjective` model with default arguments.""" + return squim_subjective_model( + ssl_type="wav2vec2_base", + feat_dim=768, + proj_dim=32, + att_dim=5, + ) diff --git a/shared/package-files/37/374d3f8a0536e7f1e362ebc0a8340aa81a6a6f3e878c1f7ba3d131bdba3d0733/test_get.py b/shared/package-files/37/374d3f8a0536e7f1e362ebc0a8340aa81a6a6f3e878c1f7ba3d131bdba3d0733/test_get.py new file mode 100644 index 0000000000000000000000000000000000000000..5f2651eec683c10097fb623728048b64778c87e8 --- /dev/null +++ b/shared/package-files/37/374d3f8a0536e7f1e362ebc0a8340aa81a6a6f3e878c1f7ba3d131bdba3d0733/test_get.py @@ -0,0 +1,27 @@ +import pytest + +from pandas import DataFrame +import pandas._testing as tm + + +class TestGet: + def test_get(self, float_frame): + b = float_frame.get("B") + tm.assert_series_equal(b, float_frame["B"]) + + assert float_frame.get("foo") is None + tm.assert_series_equal( + float_frame.get("foo", float_frame["B"]), float_frame["B"] + ) + + @pytest.mark.parametrize( + "df", + [ + DataFrame(), + DataFrame(columns=list("AB")), + DataFrame(columns=list("AB"), index=range(3)), + ], + ) + def test_get_none(self, df): + # see gh-5652 + assert df.get(None) is None diff --git a/shared/package-files/37/374e17bc66fd5c4355a175a731f9f38ec5a6f595d4be71708edbfdefc336a784/_fuser.py b/shared/package-files/37/374e17bc66fd5c4355a175a731f9f38ec5a6f595d4be71708edbfdefc336a784/_fuser.py new file mode 100644 index 0000000000000000000000000000000000000000..0ca9cb6860106976d3204dd8ee857c2aa02baa4a --- /dev/null +++ b/shared/package-files/37/374e17bc66fd5c4355a175a731f9f38ec5a6f595d4be71708edbfdefc336a784/_fuser.py @@ -0,0 +1,160 @@ +import contextlib +from typing import List, Tuple + +import torch + + +@contextlib.contextmanager +def optimized_execution(should_optimize): + """Context manager that controls whether the JIT's executor will run optimizations before executing a function.""" + stored_flag = torch._C._get_graph_executor_optimize() + torch._C._set_graph_executor_optimize(should_optimize) + try: + yield + finally: + torch._C._set_graph_executor_optimize(stored_flag) + + +@contextlib.contextmanager +def fuser(name): + """Context manager that facilitates switching between backend fusers. + + Valid names: + * ``fuser0`` - enables only legacy fuser + * ``fuser1`` - enables only NNC + * ``fuser2`` - enables only nvFuser + * ``fuser3`` - enables oneDNN Graph + """ + old_cpu_fuse = torch._C._jit_can_fuse_on_cpu() + old_gpu_fuse = torch._C._jit_can_fuse_on_gpu() + old_texpr_fuser_state = torch._C._jit_texpr_fuser_enabled() + old_nvfuser_state = torch._C._jit_nvfuser_enabled() + old_llga_state = torch._C._jit_llga_enabled() + if name == "fuser0": # legacy fuser + torch._C._jit_override_can_fuse_on_cpu(True) + torch._C._jit_override_can_fuse_on_gpu(True) + torch._C._jit_set_texpr_fuser_enabled(False) + torch._C._jit_set_nvfuser_enabled(False) + torch._C._jit_set_llga_enabled(False) + elif name == "fuser1": # NNC + old_profiling_executor = torch._C._jit_set_profiling_executor(True) + old_profiling_mode = torch._C._get_graph_executor_optimize(True) + torch._C._jit_override_can_fuse_on_cpu(True) + torch._C._jit_override_can_fuse_on_gpu(True) + torch._C._jit_set_texpr_fuser_enabled(True) + torch._C._jit_set_nvfuser_enabled(False) + torch._C._jit_set_llga_enabled(False) + elif name == "fuser2": # nvFuser + torch._C._jit_override_can_fuse_on_cpu(False) + torch._C._jit_override_can_fuse_on_gpu(False) + torch._C._jit_set_texpr_fuser_enabled(False) + torch._C._jit_set_nvfuser_enabled(True) + torch._C._jit_set_llga_enabled(False) + elif name == "fuser3": # oneDNN Graph + old_profiling_executor = torch._C._jit_set_profiling_executor(True) + old_profiling_mode = torch._C._get_graph_executor_optimize(True) + torch._C._jit_override_can_fuse_on_cpu(True) + torch._C._jit_override_can_fuse_on_gpu(False) + torch._C._jit_set_texpr_fuser_enabled(True) + torch._C._jit_set_nvfuser_enabled(False) + torch._C._jit_set_llga_enabled(True) + elif name == "none": # Turn Pytorch fuser off + torch._C._jit_override_can_fuse_on_cpu(False) + torch._C._jit_override_can_fuse_on_gpu(False) + torch._C._jit_set_texpr_fuser_enabled(False) + torch._C._jit_set_nvfuser_enabled(False) + torch._C._jit_set_llga_enabled(False) + else: + raise Exception(f"unrecognized fuser option (name: {name})") + try: + yield + finally: + if name in ["fuser1", "fuser3"]: # NNC or oneDNN Graph + torch._C._jit_set_profiling_executor(old_profiling_executor) # type: ignore[possibly-undefined] + torch._C._get_graph_executor_optimize(old_profiling_mode) # type: ignore[possibly-undefined] + # recover the previous values + torch._C._jit_override_can_fuse_on_cpu(old_cpu_fuse) + torch._C._jit_override_can_fuse_on_gpu(old_gpu_fuse) + torch._C._jit_set_texpr_fuser_enabled(old_texpr_fuser_state) + torch._C._jit_set_nvfuser_enabled(old_nvfuser_state) + torch._C._jit_set_llga_enabled(old_llga_state) + + +last_executed_optimized_graph = torch._C._last_executed_optimized_graph + + +def _get_differentiable_graph_node(node, diff_node): + if node.kind() == "prim::DifferentiableGraph": + diff_node.append(node) + else: + for block in node.blocks(): + for n in block.nodes(): + _get_differentiable_graph_node(n, diff_node) + + +def _graph_for(self, *args, **kwargs): + return _script_method_graph_for(self, self, *args, **kwargs) + + +def _script_method_graph_for(self, parent, *args, **kwargs): + try: + dbs = parent.get_debug_state() + eps = list(dbs.execution_plans.values()) + assert len(eps) == 1 + graph = eps[0].graph.copy() + + # graph_executor_states for differentiable node + fw_states = eps[0].code.differentiable_op_executor_states() + diff_nodes: List[torch._C.Node] = [] + for n in graph.nodes(): + _get_differentiable_graph_node(n, diff_nodes) + + assert len(fw_states) == len(diff_nodes) + # swap each differentiable graph with optimized graph in their execution plan + for n, state in zip(diff_nodes, fw_states): + fw_execution_plans = list(state.execution_plans.values()) + # we can only update the subgraph when there's a unique execution + # plan. Avoid assert here so we would skip the ones that can't be + # updated while try the best effort to update other nodes. + if len(fw_execution_plans) == 1: + n.g_("Subgraph", fw_execution_plans[0].graph) + + return graph + except Exception: + # fallback approach, we just ran the graph and return the recorded optimized + # graph + self(*args, **kwargs) + return last_executed_optimized_graph() + + +def set_fusion_strategy(strategy: List[Tuple[str, int]]): + """Set the type and number of specializations that can occur during fusion. + + Usage: provide a list of pairs (type, depth) where type is one of "STATIC" or "DYNAMIC" + and depth is an integer. + + Behavior - static vs dynamic: + In STATIC fusion, fused ops are compiled to have fixed input shapes. The shape is determined + based on some initial profiling runs. + In DYNAMIC fusion, fused ops are compiled to have variable input shapes, so that multiple + shapes are possible. + + In both cases, we also recompile on new striding behavior, device, or dtype. + + Behavior - fallback functions & depth: + When an input doesn't match the format required by the specialized compiled op, it will run + a fallback function. Fallback functions are recursively be compiled and specialized based + on the observed tensor shapes. Since compilation can be slow, the "depth" parameter is provided to + limit the number of specializations that can be compiled, before giving up on recompiling and + falling back to a completely un-fused, un-specialized implementation. + + The list of (type, depth) pairs controls the type of specializations and the number of + specializations. For example: [("STATIC", 2), ("DYNAMIC", 2)] indicates that the first + two specializations will use static fusions, the following two specializations will use + dynamic fusion, and any inputs that satisfy none of the 4 options will run an + unfused implementation. + + NB: in the future, if more as more fusion backends are added there may be more granular + apis for specific fusers. + """ + return torch._C._jit_set_fusion_strategy(strategy) diff --git a/shared/package-files/37/374ee87fbdff2bec219dba4b1f35d83f2922a8e3bbebe8c8b3ec6645ed757ad5/linalg_vector_norm_cpu_dispatch.h b/shared/package-files/37/374ee87fbdff2bec219dba4b1f35d83f2922a8e3bbebe8c8b3ec6645ed757ad5/linalg_vector_norm_cpu_dispatch.h new file mode 100644 index 0000000000000000000000000000000000000000..4f27ed9330923b3bf045e3e75e032828db088528 --- /dev/null +++ b/shared/package-files/37/374ee87fbdff2bec219dba4b1f35d83f2922a8e3bbebe8c8b3ec6645ed757ad5/linalg_vector_norm_cpu_dispatch.h @@ -0,0 +1,25 @@ +#pragma once +// @generated by torchgen/gen.py from DispatchKeyFunction.h + +// NB: The implementing C++ file is RegisterDispatchKey.cpp + +// The only #includes we need are for custom classes that have defaults in the C++ API +#include +#include +#include + +// Forward declarations of any types needed in the operator signatures. +// We can't directly include these classes because it will cause circular include dependencies. +// This file is included by TensorBody.h, which defines the Tensor class. +#include + +namespace at { + +namespace cpu { + +TORCH_API at::Tensor linalg_vector_norm(const at::Tensor & self, const at::Scalar & ord=2, at::OptionalIntArrayRef dim=c10::nullopt, bool keepdim=false, c10::optional dtype=c10::nullopt); +TORCH_API at::Tensor & linalg_vector_norm_out(at::Tensor & out, const at::Tensor & self, const at::Scalar & ord=2, at::OptionalIntArrayRef dim=c10::nullopt, bool keepdim=false, c10::optional dtype=c10::nullopt); +TORCH_API at::Tensor & linalg_vector_norm_outf(const at::Tensor & self, const at::Scalar & ord, at::OptionalIntArrayRef dim, bool keepdim, c10::optional dtype, at::Tensor & out); + +} // namespace cpu +} // namespace at diff --git a/shared/package-files/37/37500254b5d2833895e7e22ea903a0d5dd07bf98b264bbd089fcf49d30b0acca/vt132 b/shared/package-files/37/37500254b5d2833895e7e22ea903a0d5dd07bf98b264bbd089fcf49d30b0acca/vt132 new file mode 100644 index 0000000000000000000000000000000000000000..387ddc123bca3f35e05175ed96ef83f95bec6d9b Binary files /dev/null and b/shared/package-files/37/37500254b5d2833895e7e22ea903a0d5dd07bf98b264bbd089fcf49d30b0acca/vt132 differ diff --git a/shared/package-files/37/37525d994c479cc13de701191f279e17f33a1973c4a87e6ddeacee5e2838f581/exceptions.py b/shared/package-files/37/37525d994c479cc13de701191f279e17f33a1973c4a87e6ddeacee5e2838f581/exceptions.py new file mode 100644 index 0000000000000000000000000000000000000000..c85094894f378a8e3934ad109ea6166e33e4366b --- /dev/null +++ b/shared/package-files/37/37525d994c479cc13de701191f279e17f33a1973c4a87e6ddeacee5e2838f581/exceptions.py @@ -0,0 +1,22 @@ +class MaxEvalError(Exception): + """ + Exception raised when the maximum number of evaluations is reached. + """ + + +class TargetSuccess(Exception): + """ + Exception raised when the target value is reached. + """ + + +class CallbackSuccess(StopIteration): + """ + Exception raised when the callback function raises a ``StopIteration``. + """ + + +class FeasibleSuccess(Exception): + """ + Exception raised when a feasible point of a feasible problem is found. + """ diff --git a/shared/package-files/37/3753acaa671da5b78ded14cd538b36cd0827a10864c04093e73e5bbf4df917e8/importlib.pyi b/shared/package-files/37/3753acaa671da5b78ded14cd538b36cd0827a10864c04093e73e5bbf4df917e8/importlib.pyi new file mode 100644 index 0000000000000000000000000000000000000000..8bb179a4bd9a2e32e2e393c268f195c3f62c97de --- /dev/null +++ b/shared/package-files/37/3753acaa671da5b78ded14cd538b36cd0827a10864c04093e73e5bbf4df917e8/importlib.pyi @@ -0,0 +1,4 @@ +import types +from typing import Optional, Text + +def import_module(name: Text, package: Optional[Text] = ...) -> types.ModuleType: ... diff --git a/shared/package-files/37/3755bed0d3ea24cf1924ec049a798c1859273915a47b5f97f348d33ea7300e44/fft_rfft.h b/shared/package-files/37/3755bed0d3ea24cf1924ec049a798c1859273915a47b5f97f348d33ea7300e44/fft_rfft.h new file mode 100644 index 0000000000000000000000000000000000000000..be7f26e580c61557c861ad3153f20b13c71502a0 --- /dev/null +++ b/shared/package-files/37/3755bed0d3ea24cf1924ec049a798c1859273915a47b5f97f348d33ea7300e44/fft_rfft.h @@ -0,0 +1,91 @@ +#pragma once + +// @generated by torchgen/gen.py from Function.h + +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include + + + +#include + +namespace at { + + +// aten::fft_rfft(Tensor self, SymInt? n=None, int dim=-1, str? norm=None) -> Tensor +inline at::Tensor fft_rfft(const at::Tensor & self, c10::optional n=c10::nullopt, int64_t dim=-1, c10::optional norm=c10::nullopt) { + return at::_ops::fft_rfft::call(self, n.has_value() ? c10::make_optional(c10::SymInt(*n)) : c10::nullopt, dim, norm); +} +namespace symint { + template ::value>> + at::Tensor fft_rfft(const at::Tensor & self, c10::optional n=c10::nullopt, int64_t dim=-1, c10::optional norm=c10::nullopt) { + return at::_ops::fft_rfft::call(self, n.has_value() ? c10::make_optional(c10::SymInt(*n)) : c10::nullopt, dim, norm); + } +} + +// aten::fft_rfft(Tensor self, SymInt? n=None, int dim=-1, str? norm=None) -> Tensor +inline at::Tensor fft_rfft_symint(const at::Tensor & self, c10::optional n=c10::nullopt, int64_t dim=-1, c10::optional norm=c10::nullopt) { + return at::_ops::fft_rfft::call(self, n, dim, norm); +} +namespace symint { + template ::value>> + at::Tensor fft_rfft(const at::Tensor & self, c10::optional n=c10::nullopt, int64_t dim=-1, c10::optional norm=c10::nullopt) { + return at::_ops::fft_rfft::call(self, n, dim, norm); + } +} + +// aten::fft_rfft.out(Tensor self, SymInt? n=None, int dim=-1, str? norm=None, *, Tensor(a!) out) -> Tensor(a!) +inline at::Tensor & fft_rfft_out(at::Tensor & out, const at::Tensor & self, c10::optional n=c10::nullopt, int64_t dim=-1, c10::optional norm=c10::nullopt) { + return at::_ops::fft_rfft_out::call(self, n.has_value() ? c10::make_optional(c10::SymInt(*n)) : c10::nullopt, dim, norm, out); +} +namespace symint { + template ::value>> + at::Tensor & fft_rfft_out(at::Tensor & out, const at::Tensor & self, c10::optional n=c10::nullopt, int64_t dim=-1, c10::optional norm=c10::nullopt) { + return at::_ops::fft_rfft_out::call(self, n.has_value() ? c10::make_optional(c10::SymInt(*n)) : c10::nullopt, dim, norm, out); + } +} + +// aten::fft_rfft.out(Tensor self, SymInt? n=None, int dim=-1, str? norm=None, *, Tensor(a!) out) -> Tensor(a!) +inline at::Tensor & fft_rfft_outf(const at::Tensor & self, c10::optional n, int64_t dim, c10::optional norm, at::Tensor & out) { + return at::_ops::fft_rfft_out::call(self, n.has_value() ? c10::make_optional(c10::SymInt(*n)) : c10::nullopt, dim, norm, out); +} +namespace symint { + template ::value>> + at::Tensor & fft_rfft_outf(const at::Tensor & self, c10::optional n, int64_t dim, c10::optional norm, at::Tensor & out) { + return at::_ops::fft_rfft_out::call(self, n.has_value() ? c10::make_optional(c10::SymInt(*n)) : c10::nullopt, dim, norm, out); + } +} + +// aten::fft_rfft.out(Tensor self, SymInt? n=None, int dim=-1, str? norm=None, *, Tensor(a!) out) -> Tensor(a!) +inline at::Tensor & fft_rfft_symint_out(at::Tensor & out, const at::Tensor & self, c10::optional n=c10::nullopt, int64_t dim=-1, c10::optional norm=c10::nullopt) { + return at::_ops::fft_rfft_out::call(self, n, dim, norm, out); +} +namespace symint { + template ::value>> + at::Tensor & fft_rfft_out(at::Tensor & out, const at::Tensor & self, c10::optional n=c10::nullopt, int64_t dim=-1, c10::optional norm=c10::nullopt) { + return at::_ops::fft_rfft_out::call(self, n, dim, norm, out); + } +} + +// aten::fft_rfft.out(Tensor self, SymInt? n=None, int dim=-1, str? norm=None, *, Tensor(a!) out) -> Tensor(a!) +inline at::Tensor & fft_rfft_symint_outf(const at::Tensor & self, c10::optional n, int64_t dim, c10::optional norm, at::Tensor & out) { + return at::_ops::fft_rfft_out::call(self, n, dim, norm, out); +} +namespace symint { + template ::value>> + at::Tensor & fft_rfft_outf(const at::Tensor & self, c10::optional n, int64_t dim, c10::optional norm, at::Tensor & out) { + return at::_ops::fft_rfft_out::call(self, n, dim, norm, out); + } +} + +} diff --git a/shared/package-files/37/3756b66623627adc8e5b6cef878b52403b1d51831a533aa56b490b55c77940fd/constant_pooling.h b/shared/package-files/37/3756b66623627adc8e5b6cef878b52403b1d51831a533aa56b490b55c77940fd/constant_pooling.h new file mode 100644 index 0000000000000000000000000000000000000000..6eb4ca16077eb41287c5009ebc52744eaf235a62 --- /dev/null +++ b/shared/package-files/37/3756b66623627adc8e5b6cef878b52403b1d51831a533aa56b490b55c77940fd/constant_pooling.h @@ -0,0 +1,11 @@ +#pragma once + +#include + +namespace torch { +namespace jit { + +TORCH_API void ConstantPooling(const std::shared_ptr& graph); + +} +} // namespace torch diff --git a/shared/package-files/37/37593be1cc3246f39a6056bfb428dd8148e249d3c1866cb6d14b951aed304e0d/visibility.h b/shared/package-files/37/37593be1cc3246f39a6056bfb428dd8148e249d3c1866cb6d14b951aed304e0d/visibility.h new file mode 100644 index 0000000000000000000000000000000000000000..06f864ba8cffc16520e7768d51f43cfb25a72dd0 --- /dev/null +++ b/shared/package-files/37/37593be1cc3246f39a6056bfb428dd8148e249d3c1866cb6d14b951aed304e0d/visibility.h @@ -0,0 +1,48 @@ +// Licensed to the Apache Software Foundation (ASF) under one +// or more contributor license agreements. See the NOTICE file +// distributed with this work for additional information +// regarding copyright ownership. The ASF licenses this file +// to you under the Apache License, Version 2.0 (the +// "License"); you may not use this file except in compliance +// with the License. You may obtain a copy of the License at +// +// http://www.apache.org/licenses/LICENSE-2.0 +// +// Unless required by applicable law or agreed to in writing, +// software distributed under the License is distributed on an +// "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY +// KIND, either express or implied. See the License for the +// specific language governing permissions and limitations +// under the License. + +#pragma once + +#if defined(_WIN32) || defined(__CYGWIN__) +# if defined(_MSC_VER) +# pragma warning(push) +# pragma warning(disable : 4251) +# else +# pragma GCC diagnostic ignored "-Wattributes" +# endif + +# ifdef ARROW_FLIGHT_STATIC +# define ARROW_FLIGHT_EXPORT +# elif defined(ARROW_FLIGHT_EXPORTING) +# define ARROW_FLIGHT_EXPORT __declspec(dllexport) +# else +# define ARROW_FLIGHT_EXPORT __declspec(dllimport) +# endif + +# define ARROW_FLIGHT_NO_EXPORT +#else // Not Windows +# ifndef ARROW_FLIGHT_EXPORT +# define ARROW_FLIGHT_EXPORT __attribute__((visibility("default"))) +# endif +# ifndef ARROW_FLIGHT_NO_EXPORT +# define ARROW_FLIGHT_NO_EXPORT __attribute__((visibility("hidden"))) +# endif +#endif // Non-Windows + +#if defined(_MSC_VER) +# pragma warning(pop) +#endif diff --git a/shared/package-files/37/375c501c0dc3138c5f75fa80ce624c8f1a5bfd388c7855c3b03982751faf30e5/asynchat.py b/shared/package-files/37/375c501c0dc3138c5f75fa80ce624c8f1a5bfd388c7855c3b03982751faf30e5/asynchat.py new file mode 100644 index 0000000000000000000000000000000000000000..e081e67c75acb01332bee52dcc05e81eac34d436 --- /dev/null +++ b/shared/package-files/37/375c501c0dc3138c5f75fa80ce624c8f1a5bfd388c7855c3b03982751faf30e5/asynchat.py @@ -0,0 +1,315 @@ +# -*- Mode: Python; tab-width: 4 -*- +# Id: asynchat.py,v 2.26 2000/09/07 22:29:26 rushing Exp +# Author: Sam Rushing + +# ====================================================================== +# Copyright 1996 by Sam Rushing +# +# All Rights Reserved +# +# Permission to use, copy, modify, and distribute this software and +# its documentation for any purpose and without fee is hereby +# granted, provided that the above copyright notice appear in all +# copies and that both that copyright notice and this permission +# notice appear in supporting documentation, and that the name of Sam +# Rushing not be used in advertising or publicity pertaining to +# distribution of the software without specific, written prior +# permission. +# +# SAM RUSHING DISCLAIMS ALL WARRANTIES WITH REGARD TO THIS SOFTWARE, +# INCLUDING ALL IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS, IN +# NO EVENT SHALL SAM RUSHING BE LIABLE FOR ANY SPECIAL, INDIRECT OR +# CONSEQUENTIAL DAMAGES OR ANY DAMAGES WHATSOEVER RESULTING FROM LOSS +# OF USE, DATA OR PROFITS, WHETHER IN AN ACTION OF CONTRACT, +# NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF OR IN +# CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE. +# ====================================================================== + +r"""A class supporting chat-style (command/response) protocols. + +This class adds support for 'chat' style protocols - where one side +sends a 'command', and the other sends a response (examples would be +the common internet protocols - smtp, nntp, ftp, etc..). + +The handle_read() method looks at the input stream for the current +'terminator' (usually '\r\n' for single-line responses, '\r\n.\r\n' +for multi-line output), calling self.found_terminator() on its +receipt. + +for example: +Say you build an async nntp client using this class. At the start +of the connection, you'll have self.terminator set to '\r\n', in +order to process the single-line greeting. Just before issuing a +'LIST' command you'll set it to '\r\n.\r\n'. The output of the LIST +command will be accumulated (using your own 'collect_incoming_data' +method) up to the terminator, and then control will be returned to +you - by calling your self.found_terminator() method. +""" +import asyncore +from collections import deque + +from warnings import warn +warn( + 'The asynchat module is deprecated and will be removed in Python 3.12. ' + 'The recommended replacement is asyncio', + DeprecationWarning, + stacklevel=2) + + + +class async_chat(asyncore.dispatcher): + """This is an abstract class. You must derive from this class, and add + the two methods collect_incoming_data() and found_terminator()""" + + # these are overridable defaults + + ac_in_buffer_size = 65536 + ac_out_buffer_size = 65536 + + # we don't want to enable the use of encoding by default, because that is a + # sign of an application bug that we don't want to pass silently + + use_encoding = 0 + encoding = 'latin-1' + + def __init__(self, sock=None, map=None): + # for string terminator matching + self.ac_in_buffer = b'' + + # we use a list here rather than io.BytesIO for a few reasons... + # del lst[:] is faster than bio.truncate(0) + # lst = [] is faster than bio.truncate(0) + self.incoming = [] + + # we toss the use of the "simple producer" and replace it with + # a pure deque, which the original fifo was a wrapping of + self.producer_fifo = deque() + asyncore.dispatcher.__init__(self, sock, map) + + def collect_incoming_data(self, data): + raise NotImplementedError("must be implemented in subclass") + + def _collect_incoming_data(self, data): + self.incoming.append(data) + + def _get_data(self): + d = b''.join(self.incoming) + del self.incoming[:] + return d + + def found_terminator(self): + raise NotImplementedError("must be implemented in subclass") + + def set_terminator(self, term): + """Set the input delimiter. + + Can be a fixed string of any length, an integer, or None. + """ + if isinstance(term, str) and self.use_encoding: + term = bytes(term, self.encoding) + elif isinstance(term, int) and term < 0: + raise ValueError('the number of received bytes must be positive') + self.terminator = term + + def get_terminator(self): + return self.terminator + + # grab some more data from the socket, + # throw it to the collector method, + # check for the terminator, + # if found, transition to the next state. + + def handle_read(self): + + try: + data = self.recv(self.ac_in_buffer_size) + except BlockingIOError: + return + except OSError: + self.handle_error() + return + + if isinstance(data, str) and self.use_encoding: + data = bytes(str, self.encoding) + self.ac_in_buffer = self.ac_in_buffer + data + + # Continue to search for self.terminator in self.ac_in_buffer, + # while calling self.collect_incoming_data. The while loop + # is necessary because we might read several data+terminator + # combos with a single recv(4096). + + while self.ac_in_buffer: + lb = len(self.ac_in_buffer) + terminator = self.get_terminator() + if not terminator: + # no terminator, collect it all + self.collect_incoming_data(self.ac_in_buffer) + self.ac_in_buffer = b'' + elif isinstance(terminator, int): + # numeric terminator + n = terminator + if lb < n: + self.collect_incoming_data(self.ac_in_buffer) + self.ac_in_buffer = b'' + self.terminator = self.terminator - lb + else: + self.collect_incoming_data(self.ac_in_buffer[:n]) + self.ac_in_buffer = self.ac_in_buffer[n:] + self.terminator = 0 + self.found_terminator() + else: + # 3 cases: + # 1) end of buffer matches terminator exactly: + # collect data, transition + # 2) end of buffer matches some prefix: + # collect data to the prefix + # 3) end of buffer does not match any prefix: + # collect data + terminator_len = len(terminator) + index = self.ac_in_buffer.find(terminator) + if index != -1: + # we found the terminator + if index > 0: + # don't bother reporting the empty string + # (source of subtle bugs) + self.collect_incoming_data(self.ac_in_buffer[:index]) + self.ac_in_buffer = self.ac_in_buffer[index+terminator_len:] + # This does the Right Thing if the terminator + # is changed here. + self.found_terminator() + else: + # check for a prefix of the terminator + index = find_prefix_at_end(self.ac_in_buffer, terminator) + if index: + if index != lb: + # we found a prefix, collect up to the prefix + self.collect_incoming_data(self.ac_in_buffer[:-index]) + self.ac_in_buffer = self.ac_in_buffer[-index:] + break + else: + # no prefix, collect it all + self.collect_incoming_data(self.ac_in_buffer) + self.ac_in_buffer = b'' + + def handle_write(self): + self.initiate_send() + + def handle_close(self): + self.close() + + def push(self, data): + if not isinstance(data, (bytes, bytearray, memoryview)): + raise TypeError('data argument must be byte-ish (%r)', + type(data)) + sabs = self.ac_out_buffer_size + if len(data) > sabs: + for i in range(0, len(data), sabs): + self.producer_fifo.append(data[i:i+sabs]) + else: + self.producer_fifo.append(data) + self.initiate_send() + + def push_with_producer(self, producer): + self.producer_fifo.append(producer) + self.initiate_send() + + def readable(self): + "predicate for inclusion in the readable for select()" + # cannot use the old predicate, it violates the claim of the + # set_terminator method. + + # return (len(self.ac_in_buffer) <= self.ac_in_buffer_size) + return 1 + + def writable(self): + "predicate for inclusion in the writable for select()" + return self.producer_fifo or (not self.connected) + + def close_when_done(self): + "automatically close this channel once the outgoing queue is empty" + self.producer_fifo.append(None) + + def initiate_send(self): + while self.producer_fifo and self.connected: + first = self.producer_fifo[0] + # handle empty string/buffer or None entry + if not first: + del self.producer_fifo[0] + if first is None: + self.handle_close() + return + + # handle classic producer behavior + obs = self.ac_out_buffer_size + try: + data = first[:obs] + except TypeError: + data = first.more() + if data: + self.producer_fifo.appendleft(data) + else: + del self.producer_fifo[0] + continue + + if isinstance(data, str) and self.use_encoding: + data = bytes(data, self.encoding) + + # send the data + try: + num_sent = self.send(data) + except OSError: + self.handle_error() + return + + if num_sent: + if num_sent < len(data) or obs < len(first): + self.producer_fifo[0] = first[num_sent:] + else: + del self.producer_fifo[0] + # we tried to send some actual data + return + + def discard_buffers(self): + # Emergencies only! + self.ac_in_buffer = b'' + del self.incoming[:] + self.producer_fifo.clear() + + +class simple_producer: + + def __init__(self, data, buffer_size=512): + self.data = data + self.buffer_size = buffer_size + + def more(self): + if len(self.data) > self.buffer_size: + result = self.data[:self.buffer_size] + self.data = self.data[self.buffer_size:] + return result + else: + result = self.data + self.data = b'' + return result + + +# Given 'haystack', see if any prefix of 'needle' is at its end. This +# assumes an exact match has already been checked. Return the number of +# characters matched. +# for example: +# f_p_a_e("qwerty\r", "\r\n") => 1 +# f_p_a_e("qwertydkjf", "\r\n") => 0 +# f_p_a_e("qwerty\r\n", "\r\n") => + +# this could maybe be made faster with a computed regex? +# [answer: no; circa Python-2.0, Jan 2001] +# new python: 28961/s +# old python: 18307/s +# re: 12820/s +# regex: 14035/s + +def find_prefix_at_end(haystack, needle): + l = len(needle) - 1 + while l and not haystack.endswith(needle[:l]): + l -= 1 + return l diff --git a/shared/package-files/37/37640e3885cfcb2d333d967fa98ef12036a874c1ab4eade85cd0441d912c730d/testdouble_7.1_GLNX86.mat b/shared/package-files/37/37640e3885cfcb2d333d967fa98ef12036a874c1ab4eade85cd0441d912c730d/testdouble_7.1_GLNX86.mat new file mode 100644 index 0000000000000000000000000000000000000000..3106712e1099345b48dc4e4125d5e739c24b5341 Binary files /dev/null and b/shared/package-files/37/37640e3885cfcb2d333d967fa98ef12036a874c1ab4eade85cd0441d912c730d/testdouble_7.1_GLNX86.mat differ diff --git a/shared/package-files/37/3765e45a56aaa79b715780c14dbb68115d34f7784bda91edfe530390bbe67f71/UpSample.cuh b/shared/package-files/37/3765e45a56aaa79b715780c14dbb68115d34f7784bda91edfe530390bbe67f71/UpSample.cuh new file mode 100644 index 0000000000000000000000000000000000000000..b7f97088c5ff38e8c46edafdd8dc3c55c330ca3c --- /dev/null +++ b/shared/package-files/37/3765e45a56aaa79b715780c14dbb68115d34f7784bda91edfe530390bbe67f71/UpSample.cuh @@ -0,0 +1,370 @@ +#pragma once +#include +#include + +#include +#include +#include +#include + +#include + +namespace at { +namespace native { + +namespace upsample { +// TODO: Remove duplicate declaration. +TORCH_API c10::SmallVector compute_output_size( + c10::IntArrayRef input_size, // Full input tensor size. + at::OptionalIntArrayRef output_size, + c10::optional> scale_factors); +} // namespace upsample + +namespace upsample_cuda { + +// TODO: Remove duplication with Upsample.h (CPU). +inline c10::optional get_scale_value(c10::optional> scales, int idx) { + if (!scales) { + return nullopt; + } + return scales->at(idx); +} + +} // namespace upsample_cuda + + +/* TODO: move this to a common place */ +template +__device__ inline scalar_t min(scalar_t a, scalar_t b) { + return a < b ? a : b; +} + +template +__device__ inline scalar_t max(scalar_t a, scalar_t b) { + return a > b ? a : b; +} + +// NOTE [ Nearest neighbor upsampling kernel implementation ] +// +// The nearest neighbor upsampling kernel implementation is symmetrical as +// expected. We launch kernels with threads mapping to destination tensors where +// kernels write data to, each thread reads data from the source tensor, this +// means: +// 1. In the forward kernel, +// src_xxx refers to properties of input tensors; +// dst_xxx refers to properties of output tensors; +// scale_factor is the ratio of src_size to dst_size; +// 2. In the backward kernel, +// src_xxx refers to properties of grad_output tensors; +// dst_xxx refers to properties of grad_input tensors; +// scale_factor is the ratio of src_size to dst_size; +// +// Because of this, we need to take the reciprocal of the scale defined by +// upsample layer during forward path. The motivation is to avoid slow +// division in the kernel code, so we can use faster multiplication instead. +// This is not necessary during backward path, since the scale_factor is already +// the reciprocal of corresponding scale_factor used in the forward path due to +// the swap of source and destination tensor. +// +// Similarly, since the mapping from grad_input to grad_output during backward +// is the reverse of the mapping of output to input, we need to have opposite +// mapping functions to compute the source index. + +// see NOTE [ Nearest neighbor upsampling kernel implementation ] +template +__host__ __forceinline__ static accscalar_t compute_scales_value( + const c10::optional scale, + int64_t src_size, + int64_t dst_size) { + // FIXME: remove magic > 0 after we ensure no models were serialized with -1 defaults. + return (scale.has_value() && scale.value() > 0.) ? (accscalar_t)(1.0 / scale.value()) + : (accscalar_t)src_size / dst_size; +} + +// see NOTE [ Nearest neighbor upsampling kernel implementation ] +template +__host__ __forceinline__ static accscalar_t compute_scales_value_backwards( + const c10::optional scale, + int64_t src_size, + int64_t dst_size) { + // FIXME: remove magic > 0 after we ensure no models were serialized with -1 defaults. + return (scale.has_value() && scale.value() > 0.) ? (accscalar_t)scale.value() + : (accscalar_t)src_size / dst_size; +} + +template +__host__ __forceinline__ static accscalar_t area_pixel_compute_scale( + int input_size, + int output_size, + bool align_corners, + const c10::optional scale) { + if(align_corners) { + if(output_size > 1) { + return (accscalar_t)(input_size - 1) / (output_size - 1); + } + else { + return static_cast(0); + } + } + else{ + return compute_scales_value(scale, input_size, output_size); + } +} + +template +__device__ __forceinline__ static accscalar_t area_pixel_compute_source_index( + accscalar_t scale, + int dst_index, + bool align_corners, + bool cubic) { + if (align_corners) { + return scale * dst_index; + } else { + accscalar_t src_idx = scale * (dst_index + static_cast(0.5)) - + static_cast(0.5); + // See Note[Follow Opencv resize logic] + return (!cubic && src_idx < static_cast(0)) + ? static_cast(0) + : src_idx; + } +} + +// see NOTE [ Nearest neighbor upsampling kernel implementation ] +__device__ __forceinline__ static int nearest_neighbor_compute_source_index( + const float scale, + int dst_index, + int input_size) { + // index_f32 = (output_index) * scale + // input_index = round(index_f32) + // Same as a buggy OpenCV INTER_NEAREST + // We keep this method for BC and consider as deprecated. + // See nearest_neighbor_exact_compute_source_index as replacement + const int src_index = + min(static_cast(floorf((dst_index) * scale)), input_size - 1); + return src_index; +} + +__device__ __forceinline__ static int nearest_neighbor_exact_compute_source_index( + const float scale, + int dst_index, + int input_size) { + // index_f32 = (output_index + 0.5) * scale - 0.5 + // input_index = round(index_f32) + // Same as Pillow and Scikit-Image/Scipy ndi.zoom + const int src_index = + min(static_cast(floorf((dst_index + static_cast(0.5)) * scale)), input_size - 1); + return src_index; +} + +// see NOTE [ Nearest neighbor upsampling kernel implementation ] +__device__ __forceinline__ static int nearest_neighbor_bw_compute_source_index( + const float scale, + int dst_index, + int output_size) { + // Equivalent to buggy OpenCV INTER_NEAREST + // We keep this method for BC and consider as deprecated. + // See nearest_neighbor_exact_bw_compute_source_index as replacement + const int src_index = + min(static_cast(ceilf(dst_index * scale)), output_size); + return src_index; +} + +// see NOTE [ Nearest neighbor upsampling kernel implementation ] +__device__ __forceinline__ static int nearest_neighbor_exact_bw_compute_source_index( + const float scale, + int dst_index, + int output_size) { + // Equivalent to Pillow and Scikit-Image/Scipy ndi.zoom + const int src_index = + min(static_cast(ceilf(dst_index * scale - static_cast(0.5))), output_size); + return src_index; +} + +/* Used by UpSampleBicubic2d.cu */ +template +__device__ __forceinline__ static scalar_t upsample_get_value_bounded( + const PackedTensorAccessor64& data, + int batch, + int channel, + int height, + int width, + int y, + int x) { + int access_y = max(min(y, height - 1), 0); + int access_x = max(min(x, width - 1), 0); + return data[batch][channel][access_y][access_x]; +} + +/* Used by UpSampleBicubic2d.cu */ +template +__device__ __forceinline__ static void upsample_increment_value_bounded( + PackedTensorAccessor64& data, + int batch, + int channel, + int height, + int width, + int y, + int x, + accscalar_t value) { + int access_y = max(min(y, height - 1), 0); + int access_x = max(min(x, width - 1), 0); + /* TODO: result here is truncated to scalar_t, + check: https://github.com/pytorch/pytorch/pull/19630#discussion_r281426912 + */ + gpuAtomicAddNoReturn( + &data[batch][channel][access_y][access_x], static_cast(value)); +} + +// Based on +// https://en.wikipedia.org/wiki/Bicubic_interpolation#Bicubic_convolution_algorithm +template +__device__ __forceinline__ static accscalar_t cubic_convolution1( + accscalar_t x, + accscalar_t A) { + return ((A + 2) * x - (A + 3)) * x * x + 1; +} + +template +__device__ __forceinline__ static accscalar_t cubic_convolution2( + accscalar_t x, + accscalar_t A) { + return ((A * x - 5 * A) * x + 8 * A) * x - 4 * A; +} + +template +__device__ __forceinline__ static void get_cubic_upsampling_coefficients( + accscalar_t coeffs[4], + accscalar_t t) { + accscalar_t A = -0.75; + + accscalar_t x1 = t; + coeffs[0] = cubic_convolution2(x1 + 1.0, A); + coeffs[1] = cubic_convolution1(x1, A); + + // opposite coefficients + accscalar_t x2 = 1.0 - t; + coeffs[2] = cubic_convolution1(x2, A); + coeffs[3] = cubic_convolution2(x2 + 1.0, A); +} + +template +__device__ __forceinline__ static accscalar_t cubic_interp1d( + scalar_t x0, + scalar_t x1, + scalar_t x2, + scalar_t x3, + accscalar_t t) { + accscalar_t coeffs[4]; + get_cubic_upsampling_coefficients(coeffs, t); + + return x0 * coeffs[0] + x1 * coeffs[1] + x2 * coeffs[2] + x3 * coeffs[3]; +} + +namespace upsample_antialias { + +// taken from +// https://github.com/python-pillow/Pillow/blob/6812205f18ca4ef54372e87e1a13ce4a859434df/ +// src/libImaging/Resample.c#L20-L29 +struct BilinearFilterFunctor { + + template + __device__ accscalar_t operator()(accscalar_t x) const { + if (x < 0) { + x = -x; + } + if (x < 1) { + return 1 - x; + } + return 0; + } + + static const int size = 2; +}; + +// taken from +// https://github.com/python-pillow/Pillow/blob/6812205f18ca4ef54372e87e1a13ce4a859434df/ +// src/libImaging/Resample.c#L46-L62 +struct BicubicFilterFunctor { + + template + __device__ accscalar_t operator()(accscalar_t x) const { + // https://en.wikipedia.org/wiki/Bicubic_interpolation#Bicubic_convolution_algorithm + const accscalar_t a = -0.5; + if (x < 0) { + x = -x; + } + if (x < 1) { + return ((a + 2) * x - (a + 3)) * x * x + 1; + } + if (x < 2) { + return (((x - 5) * x + 8) * x - 4) * a; + } + return 0; + } + + static const int size = 4; +}; + +template +__device__ __forceinline__ static void _compute_weights_span( + const int i, + const int input_size, + const accscalar_t scale, + const accscalar_t support, + int& xmin, + int& xsize, + accscalar_t& center) { + center = scale * (i + static_cast(0.5)); + xmin = max(static_cast(center - support + static_cast(0.5)), static_cast(0)); + xsize = min(static_cast(center + support + static_cast(0.5)), input_size) - xmin; +} + +template +__device__ __forceinline__ static void _compute_weights( + scalar_t* wt_ptr, + const accscalar_t scale, + int interp_size, + const interp_filter_t& interp_filter, + accscalar_t xmin_m_center, + int xsize) { + + accscalar_t invscale = (scale >= 1.0) ? 1.0 / scale : 1.0; + accscalar_t total_w = 0.0; + int j = 0; + for (j = 0; j < xsize; j++) { + accscalar_t w = interp_filter((j + xmin_m_center + static_cast(0.5)) * invscale); + wt_ptr[j] = static_cast(w); + total_w += w; + } + for (j = 0; j < xsize; j++) { + if (total_w != 0.0) { + wt_ptr[j] /= total_w; + } + } + for (; j < interp_size; j++) { + wt_ptr[j] = static_cast(0.0); + } +} + +template +__device__ __forceinline__ static accscalar_t interpolate_aa_single_dim( + const scalar_t* src, + const scalar_t* weights, + int size) { + scalar_t t = static_cast(*src); + scalar_t wts = static_cast(weights[0]); + accscalar_t output = t * wts; + + int j = 1; + for (; j < size; j++) { + wts = static_cast(weights[j]); + t = static_cast(*(src + j)); + output += t * wts; + } + return output; +} + +} + +} // namespace native +} // namespace at diff --git a/shared/package-files/37/376b0600bc4cd7770e10cc7f5f0d19e50a594b3dd9d10075cafec417de6fe480/sin_cpu_dispatch.h b/shared/package-files/37/376b0600bc4cd7770e10cc7f5f0d19e50a594b3dd9d10075cafec417de6fe480/sin_cpu_dispatch.h new file mode 100644 index 0000000000000000000000000000000000000000..3e48f8fc83c012f2faf4689c437deb6b813f2552 --- /dev/null +++ b/shared/package-files/37/376b0600bc4cd7770e10cc7f5f0d19e50a594b3dd9d10075cafec417de6fe480/sin_cpu_dispatch.h @@ -0,0 +1,26 @@ +#pragma once +// @generated by torchgen/gen.py from DispatchKeyFunction.h + +// NB: The implementing C++ file is RegisterDispatchKey.cpp + +// The only #includes we need are for custom classes that have defaults in the C++ API +#include +#include +#include + +// Forward declarations of any types needed in the operator signatures. +// We can't directly include these classes because it will cause circular include dependencies. +// This file is included by TensorBody.h, which defines the Tensor class. +#include + +namespace at { + +namespace cpu { + +TORCH_API at::Tensor sin(const at::Tensor & self); +TORCH_API at::Tensor & sin_out(at::Tensor & out, const at::Tensor & self); +TORCH_API at::Tensor & sin_outf(const at::Tensor & self, at::Tensor & out); +TORCH_API at::Tensor & sin_(at::Tensor & self); + +} // namespace cpu +} // namespace at diff --git a/shared/package-files/37/376b98bfbe851a8db53042c3196aba9c8c26da101a5b9fbdffb2ef551b9a04b2/SymIntArrayRef.h b/shared/package-files/37/376b98bfbe851a8db53042c3196aba9c8c26da101a5b9fbdffb2ef551b9a04b2/SymIntArrayRef.h new file mode 100644 index 0000000000000000000000000000000000000000..76137aa47bdbb03a764a740876b849901a037dbd --- /dev/null +++ b/shared/package-files/37/376b98bfbe851a8db53042c3196aba9c8c26da101a5b9fbdffb2ef551b9a04b2/SymIntArrayRef.h @@ -0,0 +1,72 @@ +#pragma once + +#include +#include +#include +#include +#include + +namespace c10 { +using SymIntArrayRef = ArrayRef; + +inline at::IntArrayRef asIntArrayRefUnchecked(c10::SymIntArrayRef ar) { + return IntArrayRef(reinterpret_cast(ar.data()), ar.size()); +} + +// TODO: a SymIntArrayRef containing a heap allocated large negative integer +// can actually technically be converted to an IntArrayRef... but not with +// the non-owning API we have here. We can't reinterpet cast; we have to +// allocate another buffer and write the integers into it. If you need it, +// we can do it. But I don't think you need it. + +inline c10::optional asIntArrayRefSlowOpt( + c10::SymIntArrayRef ar) { + for (const c10::SymInt& sci : ar) { + if (sci.is_heap_allocated()) { + return c10::nullopt; + } + } + + return {asIntArrayRefUnchecked(ar)}; +} + +inline at::IntArrayRef asIntArrayRefSlow( + c10::SymIntArrayRef ar, + const char* file, + int64_t line) { + for (const c10::SymInt& sci : ar) { + TORCH_CHECK( + !sci.is_heap_allocated(), + file, + ":", + line, + ": SymIntArrayRef expected to contain only concrete integers"); + } + return asIntArrayRefUnchecked(ar); +} + +#define C10_AS_INTARRAYREF_SLOW(a) c10::asIntArrayRefSlow(a, __FILE__, __LINE__) + +// Prefer using a more semantic constructor, like +// fromIntArrayRefKnownNonNegative +inline SymIntArrayRef fromIntArrayRefUnchecked(IntArrayRef array_ref) { + return SymIntArrayRef( + reinterpret_cast(array_ref.data()), array_ref.size()); +} + +inline SymIntArrayRef fromIntArrayRefKnownNonNegative(IntArrayRef array_ref) { + return fromIntArrayRefUnchecked(array_ref); +} + +inline SymIntArrayRef fromIntArrayRefSlow(IntArrayRef array_ref) { + for (long i : array_ref) { + TORCH_CHECK( + SymInt::check_range(i), + "IntArrayRef contains an int that cannot be represented as a SymInt: ", + i); + } + return SymIntArrayRef( + reinterpret_cast(array_ref.data()), array_ref.size()); +} + +} // namespace c10 diff --git a/shared/package-files/37/376d80a44fc6ae99541c12bcfb3b6cf516c37401900f95a5bd449f50634bd3e8/transform_model.py b/shared/package-files/37/376d80a44fc6ae99541c12bcfb3b6cf516c37401900f95a5bd449f50634bd3e8/transform_model.py new file mode 100644 index 0000000000000000000000000000000000000000..3b0d46c316b4e02473a35fb21ba62a9df0a4d363 --- /dev/null +++ b/shared/package-files/37/376d80a44fc6ae99541c12bcfb3b6cf516c37401900f95a5bd449f50634bd3e8/transform_model.py @@ -0,0 +1,97 @@ +""" +Created on Tue May 27 13:23:24 2014 + +Author: Josef Perktold +License: BSD-3 + +""" + +import numpy as np + + +class StandardizeTransform: + """ + Class to reparameterize a model for standardized exog + + Parameters + ---------- + data : array_like + data that is standardized along axis=0 + ddof : int, optional + degrees of freedom for calculation of standard deviation. + default is 1, in contrast to numpy.std + const_idx : int, optional + If None (default), then the presence of a constant is detected if + the standard deviation of a column is **equal** to zero. A constant + column is not transformed. If this is an integer, then the + corresponding column will not be transformed. + demean : bool, optional + If demean is true, then the data will be demeaned, otherwise it will + only be rescaled. Default is True. + + Notes + ----- + Warning: Not all options are tested and it is written for one use case. + API changes are expected. + + This can be used to transform only the design matrix, exog, in a model, + which is required in some discrete models when the endog cannot be rescaled + or demeaned. + The transformation is full rank and does not drop the constant. + + """ + + def __init__(self, data, ddof=1, const_idx=None, demean=True): + data = np.asarray(data) + self.mean = data.mean(0) + self.scale = data.std(0, ddof=ddof) + self.ddof = ddof + + # do not transform a constant + if const_idx is None: + const_idx = np.nonzero(self.scale == 0)[0] + if len(const_idx) == 0: + const_idx = "n" + else: + const_idx = int(np.squeeze(const_idx)) + + if const_idx != "n": + self.mean[const_idx] = 0 + self.scale[const_idx] = 1 + + if demean is False: + self.mean = None + + self.const_idx = const_idx + + def transform(self, data): + """Standardize the data using the stored transformation""" + # could use scipy.stats.zscore instead + if self.mean is None: + return np.asarray(data) / self.scale + else: + return (np.asarray(data) - self.mean) / self.scale + + def transform_params(self, params): + """ + Transform parameters of the standardized model to the original model + + Parameters + ---------- + params : ndarray + parameters estimated with the standardized model + + Returns + ------- + params_new : ndarray + parameters transformed to the parameterization of the original + model + + """ + params_new = params / self.scale + if self.const_idx != "n": + params_new[self.const_idx] -= (params_new * self.mean).sum() + + return params_new + + __call__ = transform diff --git a/shared/package-files/37/37700d307ebad9bdf6a3a03ae072216b6b5c816aff8ad337030d24fe4396c17f/diagnostic.py b/shared/package-files/37/37700d307ebad9bdf6a3a03ae072216b6b5c816aff8ad337030d24fe4396c17f/diagnostic.py new file mode 100644 index 0000000000000000000000000000000000000000..7b5616c71b38d31cad7602c757c3ebc34bacca59 --- /dev/null +++ b/shared/package-files/37/37700d307ebad9bdf6a3a03ae072216b6b5c816aff8ad337030d24fe4396c17f/diagnostic.py @@ -0,0 +1,328 @@ +""" +Created on Wed Nov 18 15:17:58 2020 + +Author: Josef Perktold +License: BSD-3 + +""" + +import warnings + +import numpy as np + +from statsmodels.discrete._diagnostics_count import ( + plot_probs, + test_chisquare_prob, + test_poisson_dispersion, + test_poisson_zeroinflation_broek, + test_poisson_zeroinflation_jh, + test_poisson_zeros, +) +from statsmodels.stats.diagnostic_gen import test_chisquare_binning +from statsmodels.tools._decorators import cache_readonly +from statsmodels.tools.sm_exceptions import ModelWarning + + +class CountDiagnostic: + """ + Diagnostic and specification tests and plots for count models + + Status: experimental. + + Parameters + ---------- + results : Results instance + Results instance of a fitted count model. + y_max : int, optional + Largest count to include when computing predicted probabilities for + counts. Default is the largest observed count. + + """ + + def __init__(self, results, y_max=None): + self.results = results + self.y_max = y_max + + @cache_readonly + def probs_predicted(self): + if self.y_max is not None: + kwds = {"y_values": np.arange(self.y_max + 1)} + else: + kwds = {} + return self.results.predict(which="prob", **kwds) + + def test_chisquare_prob(self, bin_edges=None, method=None): + """ + Moment test for binned probabilities using OPG + + Parameters + ---------- + bin_edges : array_like, optional + This defines which counts are included in the test on frequencies + and how counts are combined in bins. + The default if bin_edges is None will change in future. + See Notes and Example sections below. + method : str, optional + Currently only `method = "opg"` is available. + If method is None, the OPG will be used, but the default might + change in future versions. + See Notes section below. + + Returns + ------- + ChisquareProbResult + See :class:`~statsmodels.discrete._diagnostics_count.ChisquareProbResult` + for a description of the attributes. + + Notes + ----- + Warning: The current default can have many empty or nearly empty bins. + The default number of bins is given by max(endog). + Currently it is recommended to limit the number of bins explicitly, + see Examples below. + Binning will change in future and automatic binning will be added. + + Currently only the outer product of gradient, OPG, method is + implemented. In many case, the OPG version of a specification test + overrejects in small samples. + Specialized tests that use observed or expected information matrix + often have better small sample properties. + The default method will change if better methods are added. + + Examples + -------- + The following call is a test for the probability of zeros + `test_chisquare_prob(bin_edges=np.arange(3))` + + `test_chisquare_prob(bin_edges=np.arange(10))` tests the hypothesis + that the frequencies for counts up to 7 correspond to the estimated + Poisson distributions. + In this case, edges are 0, ..., 9 which defines 9 bins for + counts 0 to 8. The last bin is dropped, so the joint test hypothesis is + that the observed aggregated frequencies for counts 0 to 7 correspond + to the model prediction for those frequencies. Predicted probabilities + Prob(y_i = k | x) are aggregated over observations ``i``. + + """ + kwds = {} + if bin_edges is not None: + # TODO: verify upper bound, we drop last bin (may be open, inf) + kwds["y_values"] = np.arange(bin_edges[-2] + 1) + probs = self.results.predict(which="prob", **kwds) + res = test_chisquare_prob( + self.results, probs, bin_edges=bin_edges + ) + return res + + def plot_probs(self, label="predicted", upp_xlim=None, fig=None): + """ + Plot observed versus predicted frequencies for entire sample + + Parameters + ---------- + label : str, optional + Label used for the predicted frequencies in the plot legend. + upp_xlim : int, optional + If provided, the xlim of the first two subplots is set to + (0, upp_xlim), otherwise the matplotlib default is used. + fig : matplotlib.figure.Figure, optional + If provided, then the axes will be added to it in a (3, 1) + subplot grid, otherwise a matplotlib figure instance is created. + + Returns + ------- + Figure + The figure contains 3 subplots with probabilities, cumulative + probabilities and a PP-plot. + """ + probs_predicted = self.probs_predicted.sum(0) + k_probs = len(probs_predicted) + freq = np.bincount(self.results.model.endog.astype(int), minlength=k_probs)[ + :k_probs + ] + fig = plot_probs(freq, probs_predicted, label=label, upp_xlim=upp_xlim, fig=fig) + return fig + + +class PoissonDiagnostic(CountDiagnostic): + """ + Diagnostic and specification tests and plots for Poisson models + + Status: experimental. + + Parameters + ---------- + results : PoissonResults instance + """ + + def __init__(self, results, y_max=None): + super().__init__(results, y_max=y_max) + + def test_dispersion(self): + """ + Test for excess (over or under) dispersion in Poisson + + Returns + ------- + DispersionResults + See :class:`~statsmodels.discrete._diagnostics_count.DispersionResults` + for a description of the attributes. + """ + res = test_poisson_dispersion(self.results) + return res + + def test_poisson_zeroinflation(self, method="prob", exog_infl=None): + """ + Test for excess zeros, zero inflation or deflation + + Parameters + ---------- + method : str, optional + Three methods are available for the test: + + - "prob" : moment test for the probability of zeros + - "broek" : score test against zero inflation with or without + explanatory variables for inflation + + exog_infl : array_like, optional + Optional explanatory variables under the alternative of zero + inflation, or deflation. Only used if method is "broek". + + Returns + ------- + ZeroModificationTestResult or ZeroinflationJHResult + The test result. A + :class:`~statsmodels.discrete._diagnostics_count.ZeroModificationTestResult` + is returned if `method` is "prob", or if `method` is "broek" and + `exog_infl` is not provided. Otherwise, a + :class:`~statsmodels.discrete._diagnostics_count.ZeroinflationJHResult` + is returned. + + Notes + ----- + If method = "prob", then the moment test of He et al 1_ is used based + on the explicit formula in Tang and Tang 2_. + + If method = "broek" and exog_infl is None, then the test by Van den + Broek 3_ is used. This is a score test against an alternative of + constant zero inflation or deflation. + + If method = "broek" and exog_infl is provided, then the extension of + the broek test to varying zero inflation or deflation by Jansakul and + Hinde is used. + + Warning: The Broek and the Jansakul and Hinde tests are not numerically + stable when the probability of zeros in Poisson is small, i.e., if the + conditional means of the estimated Poisson distribution are large. + In these cases, p-values will not be accurate. + """ + if method == "prob": + if exog_infl is not None: + warnings.warn( + 'exog_infl is only used if method = "broek"', + ModelWarning, + stacklevel=2, + ) + res = test_poisson_zeros(self.results) + elif method == "broek": + if exog_infl is None: + res = test_poisson_zeroinflation_broek(self.results) + else: + exog_infl = np.asarray(exog_infl) + if exog_infl.ndim == 1: + exog_infl = exog_infl[:, None] + res = test_poisson_zeroinflation_jh(self.results, exog_infl=exog_infl) + + return res + + def _chisquare_binned( + self, + sort_var=None, + bins=10, + k_max=None, + df=None, + sort_method="quicksort", + frac_upp=0.1, + alpha_nc=0.05, + ): + """ + Hosmer-Lemeshow style test for count data + + Note, this does not take into account that parameters are estimated. + The distribution of the test statistic is only an approximation. + + This corresponds to the Hosmer-Lemeshow type test for an ordinal + response variable. The outcome space y = k is partitioned into bins + and treated as ordinal variable. + The observations are split into approximately equal sized groups + of observations sorted according to ``sort_var``. + + Parameters + ---------- + sort_var : array_like, optional + 1-dimensional array used for sorting observations into bins. + If None, the linear predictor, ``results.predict(which="lin")``, + is used. + bins : int, optional + Number of bins used for the Hosmer-Lemeshow type grouping. + k_max : int, optional + Largest count included before the upper tail is truncated into + a single bin. If None, it is chosen so that approximately + `frac_upp` of the observations fall in the truncated upper bin. + df : int, optional + Degrees of freedom of the chi-square distribution used for the + test. If None, it is computed from the number of bins and + counts. + sort_method : str, optional + Sorting method used by :func:`numpy.argsort` when binning by + `sort_var`. + frac_upp : float, optional + Fraction of observations used to determine the truncation point + of the upper tail when `k_max` is None. + alpha_nc : float, optional + Significance level used in the computation of the noncentrality + parameter confidence interval. + + Returns + ------- + ChisquareBinningResult + See + :class:`~statsmodels.stats.diagnostic_gen.ChisquareBinningResult` + for a description of the attributes. + """ + + if sort_var is None: + sort_var = self.results.predict(which="lin") + + endog = self.results.model.endog + # not sure yet how this is supposed to work + # max_count = endog.max * 2 + # no option for max count in predict + # counts = (endog == np.arange(max_count)).astype(int) + expected = self.results.predict(which="prob") + counts = (endog[:, None] == np.arange(expected.shape[1])).astype(int) + + # truncate upper tail + if k_max is None: + nobs = len(endog) + icumcounts_sum = nobs - counts.sum(0).cumsum(0) + k_max = np.argmax(icumcounts_sum < nobs * frac_upp) - 1 + expected = expected[:, :k_max] + counts = counts[:, :k_max] + # we should correct for or include truncated upper bin + # inplace modification, we cannot reuse expected and counts anymore + expected[:, -1] += 1 - expected.sum(1) + counts[:, -1] += 1 - counts.sum(1) + + # TODO: what's the correct df, same as for multinomial/ordered ? + res = test_chisquare_binning( + counts, + expected, + sort_var=sort_var, + bins=bins, + df=df, + ordered=True, + sort_method=sort_method, + alpha_nc=alpha_nc, + ) + return res diff --git a/shared/package-files/37/37733bc8911bbac2de60253d82d387f963fc3b2f98af2d0581123fe5ae699a9e/_foreach_expm1_ops.h b/shared/package-files/37/37733bc8911bbac2de60253d82d387f963fc3b2f98af2d0581123fe5ae699a9e/_foreach_expm1_ops.h new file mode 100644 index 0000000000000000000000000000000000000000..23021887b559d20b51da2b961b21b210c14563c6 --- /dev/null +++ b/shared/package-files/37/37733bc8911bbac2de60253d82d387f963fc3b2f98af2d0581123fe5ae699a9e/_foreach_expm1_ops.h @@ -0,0 +1,50 @@ +#pragma once + +// @generated by torchgen/gen.py from Operator.h + +#include +#include + +// Forward declarations of any types needed in the operator signatures. +// We can't directly include these classes because it will cause circular include dependencies. +// This file is included by TensorBody.h, which defines the Tensor class. +#include + +namespace at { +namespace _ops { + + +struct TORCH_API _foreach_expm1 { + using schema = ::std::vector (at::TensorList); + using ptr_schema = schema*; + // See Note [static constexpr char* members for windows NVCC] + STATIC_CONSTEXPR_STR_INL_EXCEPT_WIN_CUDA(name, "aten::_foreach_expm1") + STATIC_CONSTEXPR_STR_INL_EXCEPT_WIN_CUDA(overload_name, "") + STATIC_CONSTEXPR_STR_INL_EXCEPT_WIN_CUDA(schema_str, "_foreach_expm1(Tensor[] self) -> Tensor[]") + static ::std::vector call(at::TensorList self); + static ::std::vector redispatch(c10::DispatchKeySet dispatchKeySet, at::TensorList self); +}; + +struct TORCH_API _foreach_expm1_ { + using schema = void (at::TensorList); + using ptr_schema = schema*; + // See Note [static constexpr char* members for windows NVCC] + STATIC_CONSTEXPR_STR_INL_EXCEPT_WIN_CUDA(name, "aten::_foreach_expm1_") + STATIC_CONSTEXPR_STR_INL_EXCEPT_WIN_CUDA(overload_name, "") + STATIC_CONSTEXPR_STR_INL_EXCEPT_WIN_CUDA(schema_str, "_foreach_expm1_(Tensor(a!)[] self) -> ()") + static void call(at::TensorList self); + static void redispatch(c10::DispatchKeySet dispatchKeySet, at::TensorList self); +}; + +struct TORCH_API _foreach_expm1_out { + using schema = void (at::TensorList, at::TensorList); + using ptr_schema = schema*; + // See Note [static constexpr char* members for windows NVCC] + STATIC_CONSTEXPR_STR_INL_EXCEPT_WIN_CUDA(name, "aten::_foreach_expm1") + STATIC_CONSTEXPR_STR_INL_EXCEPT_WIN_CUDA(overload_name, "out") + STATIC_CONSTEXPR_STR_INL_EXCEPT_WIN_CUDA(schema_str, "_foreach_expm1.out(Tensor[] self, *, Tensor(a!)[] out) -> ()") + static void call(at::TensorList self, at::TensorList out); + static void redispatch(c10::DispatchKeySet dispatchKeySet, at::TensorList self, at::TensorList out); +}; + +}} // namespace at::_ops diff --git a/shared/package-files/37/3774ad3c7f986636e105520e87aa821f7e5072072f2f59e287b566035ac140d6/cfa_tvpvar_v10.csv b/shared/package-files/37/3774ad3c7f986636e105520e87aa821f7e5072072f2f59e287b566035ac140d6/cfa_tvpvar_v10.csv new file mode 100644 index 0000000000000000000000000000000000000000..5d26c78b730b043bab7e2bffe99de57a51b1c84e --- /dev/null +++ b/shared/package-files/37/3774ad3c7f986636e105520e87aa821f7e5072072f2f59e287b566035ac140d6/cfa_tvpvar_v10.csv @@ -0,0 +1 @@ +14,14 diff --git a/shared/package-files/37/37755c7b84588d68637951dfdb1478409f93dc2a342ddbd2e10985c658824e51/renorm.h b/shared/package-files/37/37755c7b84588d68637951dfdb1478409f93dc2a342ddbd2e10985c658824e51/renorm.h new file mode 100644 index 0000000000000000000000000000000000000000..fa5ffb1c510e31f9e91ad4270791d496572e8564 --- /dev/null +++ b/shared/package-files/37/37755c7b84588d68637951dfdb1478409f93dc2a342ddbd2e10985c658824e51/renorm.h @@ -0,0 +1,39 @@ +#pragma once + +// @generated by torchgen/gen.py from Function.h + +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include + + + +#include + +namespace at { + + +// aten::renorm.out(Tensor self, Scalar p, int dim, Scalar maxnorm, *, Tensor(a!) out) -> Tensor(a!) +inline at::Tensor & renorm_out(at::Tensor & out, const at::Tensor & self, const at::Scalar & p, int64_t dim, const at::Scalar & maxnorm) { + return at::_ops::renorm_out::call(self, p, dim, maxnorm, out); +} +// aten::renorm.out(Tensor self, Scalar p, int dim, Scalar maxnorm, *, Tensor(a!) out) -> Tensor(a!) +inline at::Tensor & renorm_outf(const at::Tensor & self, const at::Scalar & p, int64_t dim, const at::Scalar & maxnorm, at::Tensor & out) { + return at::_ops::renorm_out::call(self, p, dim, maxnorm, out); +} + +// aten::renorm(Tensor self, Scalar p, int dim, Scalar maxnorm) -> Tensor +inline at::Tensor renorm(const at::Tensor & self, const at::Scalar & p, int64_t dim, const at::Scalar & maxnorm) { + return at::_ops::renorm::call(self, p, dim, maxnorm); +} + +} diff --git a/shared/package-files/37/3775b187a62471c28ab7442ac295ffa1d8bf21ed764e04908a751e7ce0529ad0/local_elastic_agent.py b/shared/package-files/37/3775b187a62471c28ab7442ac295ffa1d8bf21ed764e04908a751e7ce0529ad0/local_elastic_agent.py new file mode 100644 index 0000000000000000000000000000000000000000..ad3bb1fa14187d5e17167022dcd712aab70045f8 --- /dev/null +++ b/shared/package-files/37/3775b187a62471c28ab7442ac295ffa1d8bf21ed764e04908a751e7ce0529ad0/local_elastic_agent.py @@ -0,0 +1,213 @@ +#!/usr/bin/env python3 + +# Copyright (c) Facebook, Inc. and its affiliates. +# All rights reserved. +# +# This source code is licensed under the BSD-style license found in the +# LICENSE file in the root directory of this source tree. + +import logging +import os +import shutil +import tempfile +from typing import Any, Dict, Optional, Tuple + +from torchelastic.agent.server.api import ( + RunResult, + SimpleElasticAgent, + WorkerGroup, + WorkerSpec, + WorkerState, +) +from torchelastic.metrics.api import prof +from torchelastic.multiprocessing import start_processes + + +log = logging.getLogger(__name__) + + +class LocalElasticAgent(SimpleElasticAgent): + """ + An implementation of :py:class:`torchelastic.agent.server.ElasticAgent` + that handles host-local workers. + This agent is deployed per host and is configured to spawn ``n`` workers. + When using GPUs, ``n`` maps to the number of GPUs available on the host. + + The local agent does not communicate to other local agents deployed on + other hosts, even if the workers may communicate inter-host. The worker id + is interpreted to be a local process. The agent starts and stops all worker + processes as a single unit. + + + The worker function and argument passed to the worker function must be + python multiprocessing compatible. To pass multiprocessing data structures + to the workers you may create the data structure in the same multiprocessing + context as the specified ``start_method`` and pass it as a function argument. + + The ``exit_barrier_timeout`` specifies the amount of time (in seconds) to wait + for other agents to finish. This acts as a safety net to handle cases where + workers finish at different times, to prevent agents from viewing workers + that finished early as a scale-down event. It is strongly advised that the + user code deal with ensuring that workers are terminated in a synchronous + manner rather than relying on the exit_barrier_timeout. + + Example launching function + + :: + + def trainer(args) -> str: + return "do train" + + def main(): + start_method="spawn" + shared_queue= multiprocessing.get_context(start_method).Queue() + spec = WorkerSpec( + role="trainer", + local_world_size=nproc_per_process, + entrypoint=trainer, + args=("foobar",), + ...) + agent = LocalElasticAgent(spec, start_method) + results = agent.run() + + if results.is_failed(): + print("trainer failed") + else: + print(f"rank 0 return value: {results.return_values[0]}") + # prints -> rank 0 return value: do train + + Example launching binary + + :: + + def main(): + spec = WorkerSpec( + role="trainer", + local_world_size=nproc_per_process, + entrypoint="/usr/local/bin/trainer", + args=("--trainer_args", "foobar"), + ...) + agent = LocalElasticAgent(spec) + results = agent.run() + + if not results.is_failed(): + print("binary launches do not have return values") + + """ + + def __init__( + self, + spec: WorkerSpec, + start_method="spawn", + exit_barrier_timeout: float = 300, + log_dir: Optional[str] = None, + ): + super().__init__(spec, exit_barrier_timeout) + self._start_method = start_method + self._pcontext = None + rdzv_run_id = spec.rdzv_handler.get_run_id() + self._log_dir = self._make_log_dir(log_dir, rdzv_run_id) + + def _make_log_dir(self, log_dir: Optional[str], rdzv_run_id: str): + base_log_dir = log_dir or tempfile.mkdtemp(prefix="torchelastic_") + os.makedirs(base_log_dir, exist_ok=True) + dir = tempfile.mkdtemp(prefix=f"{rdzv_run_id}_", dir=base_log_dir) + log.info(f"log directory set to: {dir}") + return dir + + @prof + def _stop_workers(self, worker_group: WorkerGroup) -> None: + self._shutdown() + + @prof + def _start_workers(self, worker_group: WorkerGroup) -> Dict[int, Any]: + spec = worker_group.spec + store = worker_group.store + master_addr, master_port = super()._get_master_addr_port(store) + restart_count = spec.max_restarts - self._remaining_restarts + + args: Dict[int, Tuple] = {} + envs: Dict[int, Dict[str, str]] = {} + for worker in worker_group.workers: + local_rank = worker.local_rank + worker_env = { + "LOCAL_RANK": str(local_rank), + "RANK": str(worker.global_rank), + "GROUP_RANK": str(worker_group.group_rank), + "ROLE_RANK": str(worker.role_rank), + "ROLE_NAME": spec.role, + "LOCAL_WORLD_SIZE": str(spec.local_world_size), + "WORLD_SIZE": str(worker.world_size), + "ROLE_WORLD_SIZE": str(worker.role_world_size), + "MASTER_ADDR": master_addr, + "MASTER_PORT": str(master_port), + "TORCHELASTIC_RESTART_COUNT": str(restart_count), + "TORCHELASTIC_MAX_RESTARTS": str(spec.max_restarts), + "TORCHELASTIC_RUN_ID": spec.rdzv_handler.get_run_id(), + "NCCL_ASYNC_ERROR_HANDLING": str(1), + } + if "OMP_NUM_THREADS" in os.environ: + worker_env["OMP_NUM_THREADS"] = os.environ["OMP_NUM_THREADS"] + envs[local_rank] = worker_env + args[local_rank] = spec.args + + # scaling events do not count towards restarts (gets same attempt #) + # remove existing log dir if this restart is due to a scaling event + attempt_log_dir = os.path.join(self._log_dir, f"attempt_{restart_count}") + shutil.rmtree(attempt_log_dir, ignore_errors=True) + os.makedirs(attempt_log_dir) + + self._pcontext = start_processes( + name=spec.role, + entrypoint=spec.entrypoint, + args=args, + envs=envs, + log_dir=attempt_log_dir, + start_method=self._start_method, + redirects=spec.redirects, + tee=spec.tee, + ) + + return self._pcontext.pids() + + def _shutdown(self) -> None: + if self._pcontext: + self._pcontext.close() + + @prof + def _monitor_workers(self, worker_group: WorkerGroup) -> RunResult: + role = worker_group.spec.role + worker_pids = {w.id for w in worker_group.workers} + pc_pids = set(self._pcontext.pids().values()) + if worker_pids != pc_pids: + log.error( + f"[{role}] worker pids do not match process_context pids." + f" Expected: {worker_pids}, actual: {pc_pids}" + ) + return RunResult(state=WorkerState.UNKNOWN) + + result = self._pcontext.wait(0) + if result: + if result.is_failed(): + log.error(f"[{role}] Worker group failed") + # map local rank failure to global rank + worker_failures = {} + for local_rank, failure in result.failures.items(): + worker = worker_group.workers[local_rank] + worker_failures[worker.global_rank] = failure + return RunResult( + state=WorkerState.FAILED, + failures=worker_failures, + ) + else: + # copy ret_val_queue into a map with a global ranks + workers_ret_vals = {} + for local_rank, ret_val in result.return_values.items(): + worker = worker_group.workers[local_rank] + workers_ret_vals[worker.global_rank] = ret_val + return RunResult( + state=WorkerState.SUCCEEDED, + return_values=workers_ret_vals, + ) + else: + return RunResult(state=WorkerState.HEALTHY) diff --git a/shared/package-files/37/37778d7714692f9d63f928c9611d6ffbf0aa0599b98ca0edc4df7b93ec5114fb/int_repr_compositeexplicitautograd_dispatch.h b/shared/package-files/37/37778d7714692f9d63f928c9611d6ffbf0aa0599b98ca0edc4df7b93ec5114fb/int_repr_compositeexplicitautograd_dispatch.h new file mode 100644 index 0000000000000000000000000000000000000000..7404a372626b2999e9a273ed241a1cea2521a2d9 --- /dev/null +++ b/shared/package-files/37/37778d7714692f9d63f928c9611d6ffbf0aa0599b98ca0edc4df7b93ec5114fb/int_repr_compositeexplicitautograd_dispatch.h @@ -0,0 +1,24 @@ +#pragma once +// @generated by torchgen/gen.py from DispatchKeyFunction.h + +// NB: The implementing C++ file is RegisterDispatchKey.cpp + +// The only #includes we need are for custom classes that have defaults in the C++ API +#include +#include +#include + +// Forward declarations of any types needed in the operator signatures. +// We can't directly include these classes because it will cause circular include dependencies. +// This file is included by TensorBody.h, which defines the Tensor class. +#include + +namespace at { + +namespace compositeexplicitautograd { + +TORCH_API at::Tensor & int_repr_out(at::Tensor & out, const at::Tensor & self); +TORCH_API at::Tensor & int_repr_outf(const at::Tensor & self, at::Tensor & out); + +} // namespace compositeexplicitautograd +} // namespace at diff --git a/shared/package-files/37/3778982e4177304b7045af26b8a8f85624574bb38df1f716e5700dbb654cc57a/times.pyi b/shared/package-files/37/3778982e4177304b7045af26b8a8f85624574bb38df1f716e5700dbb654cc57a/times.pyi new file mode 100644 index 0000000000000000000000000000000000000000..c798e654518ff1ca1c138945bd7dd878f2600662 --- /dev/null +++ b/shared/package-files/37/3778982e4177304b7045af26b8a8f85624574bb38df1f716e5700dbb654cc57a/times.pyi @@ -0,0 +1,10 @@ +from typing import Any + +Date: Any +Time: Any +TimeDelta: Any +Timestamp: Any + +def DateFromTicks(ticks): ... +def TimeFromTicks(ticks): ... +def TimestampFromTicks(ticks): ... diff --git a/shared/package-files/37/3779f6cdc4d8b21a038e249ef34dfd8e6e506582a84bf8c6c1ecc84067777e79/onnx.h b/shared/package-files/37/3779f6cdc4d8b21a038e249ef34dfd8e6e506582a84bf8c6c1ecc84067777e79/onnx.h new file mode 100644 index 0000000000000000000000000000000000000000..11bee679164043cca58fd3f35a108fd078101a95 --- /dev/null +++ b/shared/package-files/37/3779f6cdc4d8b21a038e249ef34dfd8e6e506582a84bf8c6c1ecc84067777e79/onnx.h @@ -0,0 +1,28 @@ +#pragma once + +#include +#include +#include + +namespace torch { +namespace jit { + +TORCH_API std::shared_ptr ToONNX( + std::shared_ptr& state, + ::torch::onnx::OperatorExportTypes operator_export_type); +TORCH_API std::unordered_map BlockToONNX( + Block* old_block, + Block* new_block, + ::torch::onnx::OperatorExportTypes operator_export_type, + std::unordered_map& env, + bool is_sub_block = false); +TORCH_API void NodeToONNX( + Node* old_node, + Block* new_block, + ::torch::onnx::OperatorExportTypes operator_export_type, + std::unordered_map& env); +TORCH_API void RemovePrintOps(std::shared_ptr& graph); +TORCH_API void PreprocessCaffe2Ops(std::shared_ptr& graph); + +} // namespace jit +} // namespace torch diff --git a/shared/package-files/37/377a4dfbd8313d8d4abef3048e85ebee42f14c637c6903abf2aa3982696b9bdd/test_ccompiler_opt.py b/shared/package-files/37/377a4dfbd8313d8d4abef3048e85ebee42f14c637c6903abf2aa3982696b9bdd/test_ccompiler_opt.py new file mode 100644 index 0000000000000000000000000000000000000000..3714aea0e12e05ac8346e51d169664e9c62f4293 --- /dev/null +++ b/shared/package-files/37/377a4dfbd8313d8d4abef3048e85ebee42f14c637c6903abf2aa3982696b9bdd/test_ccompiler_opt.py @@ -0,0 +1,808 @@ +import re, textwrap, os +from os import sys, path +from distutils.errors import DistutilsError + +is_standalone = __name__ == '__main__' and __package__ is None +if is_standalone: + import unittest, contextlib, tempfile, shutil + sys.path.append(path.abspath(path.join(path.dirname(__file__), ".."))) + from ccompiler_opt import CCompilerOpt + + # from numpy/testing/_private/utils.py + @contextlib.contextmanager + def tempdir(*args, **kwargs): + tmpdir = tempfile.mkdtemp(*args, **kwargs) + try: + yield tmpdir + finally: + shutil.rmtree(tmpdir) + + def assert_(expr, msg=''): + if not expr: + raise AssertionError(msg) +else: + from numpy.distutils.ccompiler_opt import CCompilerOpt + from numpy.testing import assert_, tempdir + +# architectures and compilers to test +arch_compilers = dict( + x86 = ("gcc", "clang", "icc", "iccw", "msvc"), + x64 = ("gcc", "clang", "icc", "iccw", "msvc"), + ppc64 = ("gcc", "clang"), + ppc64le = ("gcc", "clang"), + armhf = ("gcc", "clang"), + aarch64 = ("gcc", "clang", "fcc"), + s390x = ("gcc", "clang"), + noarch = ("gcc",) +) + +class FakeCCompilerOpt(CCompilerOpt): + fake_info = "" + def __init__(self, trap_files="", trap_flags="", *args, **kwargs): + self.fake_trap_files = trap_files + self.fake_trap_flags = trap_flags + CCompilerOpt.__init__(self, None, **kwargs) + + def __repr__(self): + return textwrap.dedent("""\ + <<<< + march : {} + compiler : {} + ---------------- + {} + >>>> + """).format(self.cc_march, self.cc_name, self.report()) + + def dist_compile(self, sources, flags, **kwargs): + assert(isinstance(sources, list)) + assert(isinstance(flags, list)) + if self.fake_trap_files: + for src in sources: + if re.match(self.fake_trap_files, src): + self.dist_error("source is trapped by a fake interface") + if self.fake_trap_flags: + for f in flags: + if re.match(self.fake_trap_flags, f): + self.dist_error("flag is trapped by a fake interface") + # fake objects + return zip(sources, [' '.join(flags)] * len(sources)) + + def dist_info(self): + return FakeCCompilerOpt.fake_info + + @staticmethod + def dist_log(*args, stderr=False): + pass + +class _Test_CCompilerOpt: + arch = None # x86_64 + cc = None # gcc + + def setup_class(self): + FakeCCompilerOpt.conf_nocache = True + self._opt = None + + def nopt(self, *args, **kwargs): + FakeCCompilerOpt.fake_info = (self.arch, self.cc, "") + return FakeCCompilerOpt(*args, **kwargs) + + def opt(self): + if not self._opt: + self._opt = self.nopt() + return self._opt + + def march(self): + return self.opt().cc_march + + def cc_name(self): + return self.opt().cc_name + + def get_targets(self, targets, groups, **kwargs): + FakeCCompilerOpt.conf_target_groups = groups + opt = self.nopt( + cpu_baseline=kwargs.get("baseline", "min"), + cpu_dispatch=kwargs.get("dispatch", "max"), + trap_files=kwargs.get("trap_files", ""), + trap_flags=kwargs.get("trap_flags", "") + ) + with tempdir() as tmpdir: + file = os.path.join(tmpdir, "test_targets.c") + with open(file, 'w') as f: + f.write(targets) + gtargets = [] + gflags = {} + fake_objects = opt.try_dispatch([file]) + for source, flags in fake_objects: + gtar = path.basename(source).split('.')[1:-1] + glen = len(gtar) + if glen == 0: + gtar = "baseline" + elif glen == 1: + gtar = gtar[0].upper() + else: + # converting multi-target into parentheses str format to be equivalent + # to the configuration statements syntax. + gtar = ('('+' '.join(gtar)+')').upper() + gtargets.append(gtar) + gflags[gtar] = flags + + has_baseline, targets = opt.sources_status[file] + targets = targets + ["baseline"] if has_baseline else targets + # convert tuple that represent multi-target into parentheses str format + targets = [ + '('+' '.join(tar)+')' if isinstance(tar, tuple) else tar + for tar in targets + ] + if len(targets) != len(gtargets) or not all(t in gtargets for t in targets): + raise AssertionError( + "'sources_status' returns different targets than the compiled targets\n" + "%s != %s" % (targets, gtargets) + ) + # return targets from 'sources_status' since the order is matters + return targets, gflags + + def arg_regex(self, **kwargs): + map2origin = dict( + x64 = "x86", + ppc64le = "ppc64", + aarch64 = "armhf", + clang = "gcc", + ) + march = self.march(); cc_name = self.cc_name() + map_march = map2origin.get(march, march) + map_cc = map2origin.get(cc_name, cc_name) + for key in ( + march, cc_name, map_march, map_cc, + march + '_' + cc_name, + map_march + '_' + cc_name, + march + '_' + map_cc, + map_march + '_' + map_cc, + ) : + regex = kwargs.pop(key, None) + if regex is not None: + break + if regex: + if isinstance(regex, dict): + for k, v in regex.items(): + if v[-1:] not in ')}$?\\.+*': + regex[k] = v + '$' + else: + assert(isinstance(regex, str)) + if regex[-1:] not in ')}$?\\.+*': + regex += '$' + return regex + + def expect(self, dispatch, baseline="", **kwargs): + match = self.arg_regex(**kwargs) + if match is None: + return + opt = self.nopt( + cpu_baseline=baseline, cpu_dispatch=dispatch, + trap_files=kwargs.get("trap_files", ""), + trap_flags=kwargs.get("trap_flags", "") + ) + features = ' '.join(opt.cpu_dispatch_names()) + if not match: + if len(features) != 0: + raise AssertionError( + 'expected empty features, not "%s"' % features + ) + return + if not re.match(match, features, re.IGNORECASE): + raise AssertionError( + 'dispatch features "%s" not match "%s"' % (features, match) + ) + + def expect_baseline(self, baseline, dispatch="", **kwargs): + match = self.arg_regex(**kwargs) + if match is None: + return + opt = self.nopt( + cpu_baseline=baseline, cpu_dispatch=dispatch, + trap_files=kwargs.get("trap_files", ""), + trap_flags=kwargs.get("trap_flags", "") + ) + features = ' '.join(opt.cpu_baseline_names()) + if not match: + if len(features) != 0: + raise AssertionError( + 'expected empty features, not "%s"' % features + ) + return + if not re.match(match, features, re.IGNORECASE): + raise AssertionError( + 'baseline features "%s" not match "%s"' % (features, match) + ) + + def expect_flags(self, baseline, dispatch="", **kwargs): + match = self.arg_regex(**kwargs) + if match is None: + return + opt = self.nopt( + cpu_baseline=baseline, cpu_dispatch=dispatch, + trap_files=kwargs.get("trap_files", ""), + trap_flags=kwargs.get("trap_flags", "") + ) + flags = ' '.join(opt.cpu_baseline_flags()) + if not match: + if len(flags) != 0: + raise AssertionError( + 'expected empty flags not "%s"' % flags + ) + return + if not re.match(match, flags): + raise AssertionError( + 'flags "%s" not match "%s"' % (flags, match) + ) + + def expect_targets(self, targets, groups={}, **kwargs): + match = self.arg_regex(**kwargs) + if match is None: + return + targets, _ = self.get_targets(targets=targets, groups=groups, **kwargs) + targets = ' '.join(targets) + if not match: + if len(targets) != 0: + raise AssertionError( + 'expected empty targets, not "%s"' % targets + ) + return + if not re.match(match, targets, re.IGNORECASE): + raise AssertionError( + 'targets "%s" not match "%s"' % (targets, match) + ) + + def expect_target_flags(self, targets, groups={}, **kwargs): + match_dict = self.arg_regex(**kwargs) + if match_dict is None: + return + assert(isinstance(match_dict, dict)) + _, tar_flags = self.get_targets(targets=targets, groups=groups) + + for match_tar, match_flags in match_dict.items(): + if match_tar not in tar_flags: + raise AssertionError( + 'expected to find target "%s"' % match_tar + ) + flags = tar_flags[match_tar] + if not match_flags: + if len(flags) != 0: + raise AssertionError( + 'expected to find empty flags in target "%s"' % match_tar + ) + if not re.match(match_flags, flags): + raise AssertionError( + '"%s" flags "%s" not match "%s"' % (match_tar, flags, match_flags) + ) + + def test_interface(self): + wrong_arch = "ppc64" if self.arch != "ppc64" else "x86" + wrong_cc = "clang" if self.cc != "clang" else "icc" + opt = self.opt() + assert_(getattr(opt, "cc_on_" + self.arch)) + assert_(not getattr(opt, "cc_on_" + wrong_arch)) + assert_(getattr(opt, "cc_is_" + self.cc)) + assert_(not getattr(opt, "cc_is_" + wrong_cc)) + + def test_args_empty(self): + for baseline, dispatch in ( + ("", "none"), + (None, ""), + ("none +none", "none - none"), + ("none -max", "min - max"), + ("+vsx2 -VSX2", "vsx avx2 avx512f -max"), + ("max -vsx - avx + avx512f neon -MAX ", + "min -min + max -max -vsx + avx2 -avx2 +NONE") + ) : + opt = self.nopt(cpu_baseline=baseline, cpu_dispatch=dispatch) + assert(len(opt.cpu_baseline_names()) == 0) + assert(len(opt.cpu_dispatch_names()) == 0) + + def test_args_validation(self): + if self.march() == "unknown": + return + # check sanity of argument's validation + for baseline, dispatch in ( + ("unkown_feature - max +min", "unknown max min"), # unknowing features + ("#avx2", "$vsx") # groups and polices aren't acceptable + ) : + try: + self.nopt(cpu_baseline=baseline, cpu_dispatch=dispatch) + raise AssertionError("excepted an exception for invalid arguments") + except DistutilsError: + pass + + def test_skip(self): + # only takes what platform supports and skip the others + # without casing exceptions + self.expect( + "sse vsx neon", + x86="sse", ppc64="vsx", armhf="neon", unknown="" + ) + self.expect( + "sse41 avx avx2 vsx2 vsx3 neon_vfpv4 asimd", + x86 = "sse41 avx avx2", + ppc64 = "vsx2 vsx3", + armhf = "neon_vfpv4 asimd", + unknown = "" + ) + # any features in cpu_dispatch must be ignored if it's part of baseline + self.expect( + "sse neon vsx", baseline="sse neon vsx", + x86="", ppc64="", armhf="" + ) + self.expect( + "avx2 vsx3 asimdhp", baseline="avx2 vsx3 asimdhp", + x86="", ppc64="", armhf="" + ) + + def test_implies(self): + # baseline combining implied features, so we count + # on it instead of testing 'feature_implies()'' directly + self.expect_baseline( + "fma3 avx2 asimd vsx3", + # .* between two spaces can validate features in between + x86 = "sse .* sse41 .* fma3.*avx2", + ppc64 = "vsx vsx2 vsx3", + armhf = "neon neon_fp16 neon_vfpv4 asimd" + ) + """ + special cases + """ + # in icc and msvc, FMA3 and AVX2 can't be separated + # both need to implies each other, same for avx512f & cd + for f0, f1 in ( + ("fma3", "avx2"), + ("avx512f", "avx512cd"), + ): + diff = ".* sse42 .* %s .*%s$" % (f0, f1) + self.expect_baseline(f0, + x86_gcc=".* sse42 .* %s$" % f0, + x86_icc=diff, x86_iccw=diff + ) + self.expect_baseline(f1, + x86_gcc=".* avx .* %s$" % f1, + x86_icc=diff, x86_iccw=diff + ) + # in msvc, following features can't be separated too + for f in (("fma3", "avx2"), ("avx512f", "avx512cd", "avx512_skx")): + for ff in f: + self.expect_baseline(ff, + x86_msvc=".*%s" % ' '.join(f) + ) + + # in ppc64le VSX and VSX2 can't be separated + self.expect_baseline("vsx", ppc64le="vsx vsx2") + # in aarch64 following features can't be separated + for f in ("neon", "neon_fp16", "neon_vfpv4", "asimd"): + self.expect_baseline(f, aarch64="neon neon_fp16 neon_vfpv4 asimd") + + def test_args_options(self): + # max & native + for o in ("max", "native"): + if o == "native" and self.cc_name() == "msvc": + continue + self.expect(o, + trap_files=".*cpu_(sse|vsx|neon|vx).c", + x86="", ppc64="", armhf="", s390x="" + ) + self.expect(o, + trap_files=".*cpu_(sse3|vsx2|neon_vfpv4|vxe).c", + x86="sse sse2", ppc64="vsx", armhf="neon neon_fp16", + aarch64="", ppc64le="", s390x="vx" + ) + self.expect(o, + trap_files=".*cpu_(popcnt|vsx3).c", + x86="sse .* sse41", ppc64="vsx vsx2", + armhf="neon neon_fp16 .* asimd .*", + s390x="vx vxe vxe2" + ) + self.expect(o, + x86_gcc=".* xop fma4 .* avx512f .* avx512_knl avx512_knm avx512_skx .*", + # in icc, xop and fam4 aren't supported + x86_icc=".* avx512f .* avx512_knl avx512_knm avx512_skx .*", + x86_iccw=".* avx512f .* avx512_knl avx512_knm avx512_skx .*", + # in msvc, avx512_knl avx512_knm aren't supported + x86_msvc=".* xop fma4 .* avx512f .* avx512_skx .*", + armhf=".* asimd asimdhp asimddp .*", + ppc64="vsx vsx2 vsx3 vsx4.*", + s390x="vx vxe vxe2.*" + ) + # min + self.expect("min", + x86="sse sse2", x64="sse sse2 sse3", + armhf="", aarch64="neon neon_fp16 .* asimd", + ppc64="", ppc64le="vsx vsx2", s390x="" + ) + self.expect( + "min", trap_files=".*cpu_(sse2|vsx2).c", + x86="", ppc64le="" + ) + # an exception must triggered if native flag isn't supported + # when option "native" is activated through the args + try: + self.expect("native", + trap_flags=".*(-march=native|-xHost|/QxHost|-mcpu=a64fx).*", + x86=".*", ppc64=".*", armhf=".*", s390x=".*", aarch64=".*", + ) + if self.march() != "unknown": + raise AssertionError( + "excepted an exception for %s" % self.march() + ) + except DistutilsError: + if self.march() == "unknown": + raise AssertionError("excepted no exceptions") + + def test_flags(self): + self.expect_flags( + "sse sse2 vsx vsx2 neon neon_fp16 vx vxe", + x86_gcc="-msse -msse2", x86_icc="-msse -msse2", + x86_iccw="/arch:SSE2", + x86_msvc="/arch:SSE2" if self.march() == "x86" else "", + ppc64_gcc= "-mcpu=power8", + ppc64_clang="-mcpu=power8", + armhf_gcc="-mfpu=neon-fp16 -mfp16-format=ieee", + aarch64="", + s390x="-mzvector -march=arch12" + ) + # testing normalize -march + self.expect_flags( + "asimd", + aarch64="", + armhf_gcc=r"-mfp16-format=ieee -mfpu=neon-fp-armv8 -march=armv8-a\+simd" + ) + self.expect_flags( + "asimdhp", + aarch64_gcc=r"-march=armv8.2-a\+fp16", + armhf_gcc=r"-mfp16-format=ieee -mfpu=neon-fp-armv8 -march=armv8.2-a\+fp16" + ) + self.expect_flags( + "asimddp", aarch64_gcc=r"-march=armv8.2-a\+dotprod" + ) + self.expect_flags( + # asimdfhm implies asimdhp + "asimdfhm", aarch64_gcc=r"-march=armv8.2-a\+fp16\+fp16fml" + ) + self.expect_flags( + "asimddp asimdhp asimdfhm", + aarch64_gcc=r"-march=armv8.2-a\+dotprod\+fp16\+fp16fml" + ) + self.expect_flags( + "vx vxe vxe2", + s390x=r"-mzvector -march=arch13" + ) + + def test_targets_exceptions(self): + for targets in ( + "bla bla", "/*@targets", + "/*@targets */", + "/*@targets unknown */", + "/*@targets $unknown_policy avx2 */", + "/*@targets #unknown_group avx2 */", + "/*@targets $ */", + "/*@targets # vsx */", + "/*@targets #$ vsx */", + "/*@targets vsx avx2 ) */", + "/*@targets vsx avx2 (avx2 */", + "/*@targets vsx avx2 () */", + "/*@targets vsx avx2 ($autovec) */", # no features + "/*@targets vsx avx2 (xxx) */", + "/*@targets vsx avx2 (baseline) */", + ) : + try: + self.expect_targets( + targets, + x86="", armhf="", ppc64="", s390x="" + ) + if self.march() != "unknown": + raise AssertionError( + "excepted an exception for %s" % self.march() + ) + except DistutilsError: + if self.march() == "unknown": + raise AssertionError("excepted no exceptions") + + def test_targets_syntax(self): + for targets in ( + "/*@targets $keep_baseline sse vsx neon vx*/", + "/*@targets,$keep_baseline,sse,vsx,neon vx*/", + "/*@targets*$keep_baseline*sse*vsx*neon*vx*/", + """ + /* + ** @targets + ** $keep_baseline, sse vsx,neon, vx + */ + """, + """ + /* + ************@targets**************** + ** $keep_baseline, sse vsx, neon, vx + ************************************ + */ + """, + """ + /* + /////////////@targets///////////////// + //$keep_baseline//sse//vsx//neon//vx + ///////////////////////////////////// + */ + """, + """ + /* + @targets + $keep_baseline + SSE VSX NEON VX*/ + """ + ) : + self.expect_targets(targets, + x86="sse", ppc64="vsx", armhf="neon", s390x="vx", unknown="" + ) + + def test_targets(self): + # test skipping baseline features + self.expect_targets( + """ + /*@targets + sse sse2 sse41 avx avx2 avx512f + vsx vsx2 vsx3 vsx4 + neon neon_fp16 asimdhp asimddp + vx vxe vxe2 + */ + """, + baseline="avx vsx2 asimd vx vxe", + x86="avx512f avx2", armhf="asimddp asimdhp", ppc64="vsx4 vsx3", + s390x="vxe2" + ) + # test skipping non-dispatch features + self.expect_targets( + """ + /*@targets + sse41 avx avx2 avx512f + vsx2 vsx3 vsx4 + asimd asimdhp asimddp + vx vxe vxe2 + */ + """, + baseline="", dispatch="sse41 avx2 vsx2 asimd asimddp vxe2", + x86="avx2 sse41", armhf="asimddp asimd", ppc64="vsx2", s390x="vxe2" + ) + # test skipping features that not supported + self.expect_targets( + """ + /*@targets + sse2 sse41 avx2 avx512f + vsx2 vsx3 vsx4 + neon asimdhp asimddp + vx vxe vxe2 + */ + """, + baseline="", + trap_files=".*(avx2|avx512f|vsx3|vsx4|asimddp|vxe2).c", + x86="sse41 sse2", ppc64="vsx2", armhf="asimdhp neon", + s390x="vxe vx" + ) + # test skipping features that implies each other + self.expect_targets( + """ + /*@targets + sse sse2 avx fma3 avx2 avx512f avx512cd + vsx vsx2 vsx3 + neon neon_vfpv4 neon_fp16 neon_fp16 asimd asimdhp + asimddp asimdfhm + */ + """, + baseline="", + x86_gcc="avx512cd avx512f avx2 fma3 avx sse2", + x86_msvc="avx512cd avx2 avx sse2", + x86_icc="avx512cd avx2 avx sse2", + x86_iccw="avx512cd avx2 avx sse2", + ppc64="vsx3 vsx2 vsx", + ppc64le="vsx3 vsx2", + armhf="asimdfhm asimddp asimdhp asimd neon_vfpv4 neon_fp16 neon", + aarch64="asimdfhm asimddp asimdhp asimd" + ) + + def test_targets_policies(self): + # 'keep_baseline', generate objects for baseline features + self.expect_targets( + """ + /*@targets + $keep_baseline + sse2 sse42 avx2 avx512f + vsx2 vsx3 + neon neon_vfpv4 asimd asimddp + vx vxe vxe2 + */ + """, + baseline="sse41 avx2 vsx2 asimd vsx3 vxe", + x86="avx512f avx2 sse42 sse2", + ppc64="vsx3 vsx2", + armhf="asimddp asimd neon_vfpv4 neon", + # neon, neon_vfpv4, asimd implies each other + aarch64="asimddp asimd", + s390x="vxe2 vxe vx" + ) + # 'keep_sort', leave the sort as-is + self.expect_targets( + """ + /*@targets + $keep_baseline $keep_sort + avx512f sse42 avx2 sse2 + vsx2 vsx3 + asimd neon neon_vfpv4 asimddp + vxe vxe2 + */ + """, + x86="avx512f sse42 avx2 sse2", + ppc64="vsx2 vsx3", + armhf="asimd neon neon_vfpv4 asimddp", + # neon, neon_vfpv4, asimd implies each other + aarch64="asimd asimddp", + s390x="vxe vxe2" + ) + # 'autovec', skipping features that can't be + # vectorized by the compiler + self.expect_targets( + """ + /*@targets + $keep_baseline $keep_sort $autovec + avx512f avx2 sse42 sse41 sse2 + vsx3 vsx2 + asimddp asimd neon_vfpv4 neon + */ + """, + x86_gcc="avx512f avx2 sse42 sse41 sse2", + x86_icc="avx512f avx2 sse42 sse41 sse2", + x86_iccw="avx512f avx2 sse42 sse41 sse2", + x86_msvc="avx512f avx2 sse2" + if self.march() == 'x86' else "avx512f avx2", + ppc64="vsx3 vsx2", + armhf="asimddp asimd neon_vfpv4 neon", + # neon, neon_vfpv4, asimd implies each other + aarch64="asimddp asimd" + ) + for policy in ("$maxopt", "$autovec"): + # 'maxopt' and autovec set the max acceptable optimization flags + self.expect_target_flags( + "/*@targets baseline %s */" % policy, + gcc={"baseline":".*-O3.*"}, icc={"baseline":".*-O3.*"}, + iccw={"baseline":".*/O3.*"}, msvc={"baseline":".*/O2.*"}, + unknown={"baseline":".*"} + ) + + # 'werror', force compilers to treat warnings as errors + self.expect_target_flags( + "/*@targets baseline $werror */", + gcc={"baseline":".*-Werror.*"}, icc={"baseline":".*-Werror.*"}, + iccw={"baseline":".*/Werror.*"}, msvc={"baseline":".*/WX.*"}, + unknown={"baseline":".*"} + ) + + def test_targets_groups(self): + self.expect_targets( + """ + /*@targets $keep_baseline baseline #test_group */ + """, + groups=dict( + test_group=(""" + $keep_baseline + asimddp sse2 vsx2 avx2 vsx3 + avx512f asimdhp + """) + ), + x86="avx512f avx2 sse2 baseline", + ppc64="vsx3 vsx2 baseline", + armhf="asimddp asimdhp baseline" + ) + # test skip duplicating and sorting + self.expect_targets( + """ + /*@targets + * sse42 avx avx512f + * #test_group_1 + * vsx2 + * #test_group_2 + * asimddp asimdfhm + */ + """, + groups=dict( + test_group_1=(""" + VSX2 vsx3 asimd avx2 SSE41 + """), + test_group_2=(""" + vsx2 vsx3 asImd aVx2 sse41 + """) + ), + x86="avx512f avx2 avx sse42 sse41", + ppc64="vsx3 vsx2", + # vsx2 part of the default baseline of ppc64le, option ("min") + ppc64le="vsx3", + armhf="asimdfhm asimddp asimd", + # asimd part of the default baseline of aarch64, option ("min") + aarch64="asimdfhm asimddp" + ) + + def test_targets_multi(self): + self.expect_targets( + """ + /*@targets + (avx512_clx avx512_cnl) (asimdhp asimddp) + */ + """, + x86=r"\(avx512_clx avx512_cnl\)", + armhf=r"\(asimdhp asimddp\)", + ) + # test skipping implied features and auto-sort + self.expect_targets( + """ + /*@targets + f16c (sse41 avx sse42) (sse3 avx2 avx512f) + vsx2 (vsx vsx3 vsx2) + (neon neon_vfpv4 asimd asimdhp asimddp) + */ + """, + x86="avx512f f16c avx", + ppc64="vsx3 vsx2", + ppc64le="vsx3", # vsx2 part of baseline + armhf=r"\(asimdhp asimddp\)", + ) + # test skipping implied features and keep sort + self.expect_targets( + """ + /*@targets $keep_sort + (sse41 avx sse42) (sse3 avx2 avx512f) + (vsx vsx3 vsx2) + (asimddp neon neon_vfpv4 asimd asimdhp) + (vx vxe vxe2) + */ + """, + x86="avx avx512f", + ppc64="vsx3", + armhf=r"\(asimdhp asimddp\)", + s390x="vxe2" + ) + # test compiler variety and avoiding duplicating + self.expect_targets( + """ + /*@targets $keep_sort + fma3 avx2 (fma3 avx2) (avx2 fma3) avx2 fma3 + */ + """, + x86_gcc=r"fma3 avx2 \(fma3 avx2\)", + x86_icc="avx2", x86_iccw="avx2", + x86_msvc="avx2" + ) + +def new_test(arch, cc): + if is_standalone: return textwrap.dedent("""\ + class TestCCompilerOpt_{class_name}(_Test_CCompilerOpt, unittest.TestCase): + arch = '{arch}' + cc = '{cc}' + def __init__(self, methodName="runTest"): + unittest.TestCase.__init__(self, methodName) + self.setup_class() + """).format( + class_name=arch + '_' + cc, arch=arch, cc=cc + ) + return textwrap.dedent("""\ + class TestCCompilerOpt_{class_name}(_Test_CCompilerOpt): + arch = '{arch}' + cc = '{cc}' + """).format( + class_name=arch + '_' + cc, arch=arch, cc=cc + ) +""" +if 1 and is_standalone: + FakeCCompilerOpt.fake_info = "x86_icc" + cco = FakeCCompilerOpt(None, cpu_baseline="avx2") + print(' '.join(cco.cpu_baseline_names())) + print(cco.cpu_baseline_flags()) + unittest.main() + sys.exit() +""" +for arch, compilers in arch_compilers.items(): + for cc in compilers: + exec(new_test(arch, cc)) + +if is_standalone: + unittest.main() diff --git a/shared/package-files/37/377da1c38186804f367bb47c7690c74274172dfe980012c9e4e19616ebf040dc/header.pyi b/shared/package-files/37/377da1c38186804f367bb47c7690c74274172dfe980012c9e4e19616ebf040dc/header.pyi new file mode 100644 index 0000000000000000000000000000000000000000..1a5e1a2e485318b4114f2e0d462645cac15b5761 --- /dev/null +++ b/shared/package-files/37/377da1c38186804f367bb47c7690c74274172dfe980012c9e4e19616ebf040dc/header.pyi @@ -0,0 +1,26 @@ +from email.charset import Charset +from typing import Any, List, Optional, Tuple, Union + +class Header: + def __init__( + self, + s: Union[bytes, str, None] = ..., + charset: Union[Charset, str, None] = ..., + maxlinelen: Optional[int] = ..., + header_name: Optional[str] = ..., + continuation_ws: str = ..., + errors: str = ..., + ) -> None: ... + def append(self, s: Union[bytes, str], charset: Union[Charset, str, None] = ..., errors: str = ...) -> None: ... + def encode(self, splitchars: str = ..., maxlinelen: Optional[int] = ..., linesep: str = ...) -> str: ... + def __str__(self) -> str: ... + def __eq__(self, other: Any) -> bool: ... + def __ne__(self, other: Any) -> bool: ... + +def decode_header(header: Union[Header, str]) -> List[Tuple[bytes, Optional[str]]]: ... +def make_header( + decoded_seq: List[Tuple[bytes, Optional[str]]], + maxlinelen: Optional[int] = ..., + header_name: Optional[str] = ..., + continuation_ws: str = ..., +) -> Header: ... diff --git a/shared/package-files/37/377f30606e35472884ba8c31fd9be9648a95559622cf53467061c70c9f4c6d6b/ccompiler.pyi b/shared/package-files/37/377f30606e35472884ba8c31fd9be9648a95559622cf53467061c70c9f4c6d6b/ccompiler.pyi new file mode 100644 index 0000000000000000000000000000000000000000..831311d2cb521d96fb22d479524b2018a880c4f5 --- /dev/null +++ b/shared/package-files/37/377f30606e35472884ba8c31fd9be9648a95559622cf53467061c70c9f4c6d6b/ccompiler.pyi @@ -0,0 +1,150 @@ +from typing import Any, Callable, List, Optional, Tuple, Union + +_Macro = Union[Tuple[str], Tuple[str, Optional[str]]] + +def gen_lib_options( + compiler: CCompiler, library_dirs: List[str], runtime_library_dirs: List[str], libraries: List[str] +) -> List[str]: ... +def gen_preprocess_options(macros: List[_Macro], include_dirs: List[str]) -> List[str]: ... +def get_default_compiler(osname: Optional[str] = ..., platform: Optional[str] = ...) -> str: ... +def new_compiler( + plat: Optional[str] = ..., compiler: Optional[str] = ..., verbose: int = ..., dry_run: int = ..., force: int = ... +) -> CCompiler: ... +def show_compilers() -> None: ... + +class CCompiler: + dry_run: bool + force: bool + verbose: bool + output_dir: Optional[str] + macros: List[_Macro] + include_dirs: List[str] + libraries: List[str] + library_dirs: List[str] + runtime_library_dirs: List[str] + objects: List[str] + def __init__(self, verbose: int = ..., dry_run: int = ..., force: int = ...) -> None: ... + def add_include_dir(self, dir: str) -> None: ... + def set_include_dirs(self, dirs: List[str]) -> None: ... + def add_library(self, libname: str) -> None: ... + def set_libraries(self, libnames: List[str]) -> None: ... + def add_library_dir(self, dir: str) -> None: ... + def set_library_dirs(self, dirs: List[str]) -> None: ... + def add_runtime_library_dir(self, dir: str) -> None: ... + def set_runtime_library_dirs(self, dirs: List[str]) -> None: ... + def define_macro(self, name: str, value: Optional[str] = ...) -> None: ... + def undefine_macro(self, name: str) -> None: ... + def add_link_object(self, object: str) -> None: ... + def set_link_objects(self, objects: List[str]) -> None: ... + def detect_language(self, sources: Union[str, List[str]]) -> Optional[str]: ... + def find_library_file(self, dirs: List[str], lib: str, debug: bool = ...) -> Optional[str]: ... + def has_function( + self, + funcname: str, + includes: Optional[List[str]] = ..., + include_dirs: Optional[List[str]] = ..., + libraries: Optional[List[str]] = ..., + library_dirs: Optional[List[str]] = ..., + ) -> bool: ... + def library_dir_option(self, dir: str) -> str: ... + def library_option(self, lib: str) -> str: ... + def runtime_library_dir_option(self, dir: str) -> str: ... + def set_executables(self, **args: str) -> None: ... + def compile( + self, + sources: List[str], + output_dir: Optional[str] = ..., + macros: Optional[_Macro] = ..., + include_dirs: Optional[List[str]] = ..., + debug: bool = ..., + extra_preargs: Optional[List[str]] = ..., + extra_postargs: Optional[List[str]] = ..., + depends: Optional[List[str]] = ..., + ) -> List[str]: ... + def create_static_lib( + self, + objects: List[str], + output_libname: str, + output_dir: Optional[str] = ..., + debug: bool = ..., + target_lang: Optional[str] = ..., + ) -> None: ... + def link( + self, + target_desc: str, + objects: List[str], + output_filename: str, + output_dir: Optional[str] = ..., + libraries: Optional[List[str]] = ..., + library_dirs: Optional[List[str]] = ..., + runtime_library_dirs: Optional[List[str]] = ..., + export_symbols: Optional[List[str]] = ..., + debug: bool = ..., + extra_preargs: Optional[List[str]] = ..., + extra_postargs: Optional[List[str]] = ..., + build_temp: Optional[str] = ..., + target_lang: Optional[str] = ..., + ) -> None: ... + def link_executable( + self, + objects: List[str], + output_progname: str, + output_dir: Optional[str] = ..., + libraries: Optional[List[str]] = ..., + library_dirs: Optional[List[str]] = ..., + runtime_library_dirs: Optional[List[str]] = ..., + debug: bool = ..., + extra_preargs: Optional[List[str]] = ..., + extra_postargs: Optional[List[str]] = ..., + target_lang: Optional[str] = ..., + ) -> None: ... + def link_shared_lib( + self, + objects: List[str], + output_libname: str, + output_dir: Optional[str] = ..., + libraries: Optional[List[str]] = ..., + library_dirs: Optional[List[str]] = ..., + runtime_library_dirs: Optional[List[str]] = ..., + export_symbols: Optional[List[str]] = ..., + debug: bool = ..., + extra_preargs: Optional[List[str]] = ..., + extra_postargs: Optional[List[str]] = ..., + build_temp: Optional[str] = ..., + target_lang: Optional[str] = ..., + ) -> None: ... + def link_shared_object( + self, + objects: List[str], + output_filename: str, + output_dir: Optional[str] = ..., + libraries: Optional[List[str]] = ..., + library_dirs: Optional[List[str]] = ..., + runtime_library_dirs: Optional[List[str]] = ..., + export_symbols: Optional[List[str]] = ..., + debug: bool = ..., + extra_preargs: Optional[List[str]] = ..., + extra_postargs: Optional[List[str]] = ..., + build_temp: Optional[str] = ..., + target_lang: Optional[str] = ..., + ) -> None: ... + def preprocess( + self, + source: str, + output_file: Optional[str] = ..., + macros: Optional[List[_Macro]] = ..., + include_dirs: Optional[List[str]] = ..., + extra_preargs: Optional[List[str]] = ..., + extra_postargs: Optional[List[str]] = ..., + ) -> None: ... + def executable_filename(self, basename: str, strip_dir: int = ..., output_dir: str = ...) -> str: ... + def library_filename(self, libname: str, lib_type: str = ..., strip_dir: int = ..., output_dir: str = ...) -> str: ... + def object_filenames(self, source_filenames: List[str], strip_dir: int = ..., output_dir: str = ...) -> List[str]: ... + def shared_object_filename(self, basename: str, strip_dir: int = ..., output_dir: str = ...) -> str: ... + def execute(self, func: Callable[..., None], args: Tuple[Any, ...], msg: Optional[str] = ..., level: int = ...) -> None: ... + def spawn(self, cmd: List[str]) -> None: ... + def mkpath(self, name: str, mode: int = ...) -> None: ... + def move_file(self, src: str, dst: str) -> str: ... + def announce(self, msg: str, level: int = ...) -> None: ... + def warn(self, msg: str) -> None: ... + def debug_print(self, msg: str) -> None: ... diff --git a/shared/package-files/37/3784ff35a8879b141e82027a60645e14e9a7fb008611366d007ef7700e8484b5/rpc.h b/shared/package-files/37/3784ff35a8879b141e82027a60645e14e9a7fb008611366d007ef7700e8484b5/rpc.h new file mode 100644 index 0000000000000000000000000000000000000000..fdfc29f33deb79af2bd821c5709142281faf5261 --- /dev/null +++ b/shared/package-files/37/3784ff35a8879b141e82027a60645e14e9a7fb008611366d007ef7700e8484b5/rpc.h @@ -0,0 +1,13 @@ +#pragma once + +#include + +namespace torch { +namespace distributed { +namespace rpc { + +PyMethodDef* python_functions(); + +} // namespace rpc +} // namespace distributed +} // namespace torch diff --git a/shared/package-files/37/3786d381edddc06df87f063cdde7aa1adfad0bbd16a6b041e51db988f824301e/hardshrink_backward_meta_dispatch.h b/shared/package-files/37/3786d381edddc06df87f063cdde7aa1adfad0bbd16a6b041e51db988f824301e/hardshrink_backward_meta_dispatch.h new file mode 100644 index 0000000000000000000000000000000000000000..819e120a26567a7bc6bb961cadca5b7e1efb3816 --- /dev/null +++ b/shared/package-files/37/3786d381edddc06df87f063cdde7aa1adfad0bbd16a6b041e51db988f824301e/hardshrink_backward_meta_dispatch.h @@ -0,0 +1,25 @@ +#pragma once +// @generated by torchgen/gen.py from DispatchKeyFunction.h + +// NB: The implementing C++ file is RegisterDispatchKey.cpp + +// The only #includes we need are for custom classes that have defaults in the C++ API +#include +#include +#include + +// Forward declarations of any types needed in the operator signatures. +// We can't directly include these classes because it will cause circular include dependencies. +// This file is included by TensorBody.h, which defines the Tensor class. +#include + +namespace at { + +namespace meta { + +TORCH_API at::Tensor hardshrink_backward(const at::Tensor & grad_out, const at::Tensor & self, const at::Scalar & lambd); +TORCH_API at::Tensor & hardshrink_backward_out(at::Tensor & grad_input, const at::Tensor & grad_out, const at::Tensor & self, const at::Scalar & lambd); +TORCH_API at::Tensor & hardshrink_backward_outf(const at::Tensor & grad_out, const at::Tensor & self, const at::Scalar & lambd, at::Tensor & grad_input); + +} // namespace meta +} // namespace at diff --git a/shared/package-files/37/3788c8a8824edd4324b54f89aefb8b1686470d7b374ebfa7faf31670e1a9c718/smooth_l1_loss_backward_ops.h b/shared/package-files/37/3788c8a8824edd4324b54f89aefb8b1686470d7b374ebfa7faf31670e1a9c718/smooth_l1_loss_backward_ops.h new file mode 100644 index 0000000000000000000000000000000000000000..b5a00b6e375d645ce3f53b4f148efc99c44d0f4e --- /dev/null +++ b/shared/package-files/37/3788c8a8824edd4324b54f89aefb8b1686470d7b374ebfa7faf31670e1a9c718/smooth_l1_loss_backward_ops.h @@ -0,0 +1,39 @@ +#pragma once + +// @generated by torchgen/gen.py from Operator.h + +#include +#include + +// Forward declarations of any types needed in the operator signatures. +// We can't directly include these classes because it will cause circular include dependencies. +// This file is included by TensorBody.h, which defines the Tensor class. +#include + +namespace at { +namespace _ops { + + +struct TORCH_API smooth_l1_loss_backward_grad_input { + using schema = at::Tensor & (const at::Tensor &, const at::Tensor &, const at::Tensor &, int64_t, double, at::Tensor &); + using ptr_schema = schema*; + // See Note [static constexpr char* members for windows NVCC] + STATIC_CONSTEXPR_STR_INL_EXCEPT_WIN_CUDA(name, "aten::smooth_l1_loss_backward") + STATIC_CONSTEXPR_STR_INL_EXCEPT_WIN_CUDA(overload_name, "grad_input") + STATIC_CONSTEXPR_STR_INL_EXCEPT_WIN_CUDA(schema_str, "smooth_l1_loss_backward.grad_input(Tensor grad_output, Tensor self, Tensor target, int reduction, float beta, *, Tensor(a!) grad_input) -> Tensor(a!)") + static at::Tensor & call(const at::Tensor & grad_output, const at::Tensor & self, const at::Tensor & target, int64_t reduction, double beta, at::Tensor & grad_input); + static at::Tensor & redispatch(c10::DispatchKeySet dispatchKeySet, const at::Tensor & grad_output, const at::Tensor & self, const at::Tensor & target, int64_t reduction, double beta, at::Tensor & grad_input); +}; + +struct TORCH_API smooth_l1_loss_backward { + using schema = at::Tensor (const at::Tensor &, const at::Tensor &, const at::Tensor &, int64_t, double); + using ptr_schema = schema*; + // See Note [static constexpr char* members for windows NVCC] + STATIC_CONSTEXPR_STR_INL_EXCEPT_WIN_CUDA(name, "aten::smooth_l1_loss_backward") + STATIC_CONSTEXPR_STR_INL_EXCEPT_WIN_CUDA(overload_name, "") + STATIC_CONSTEXPR_STR_INL_EXCEPT_WIN_CUDA(schema_str, "smooth_l1_loss_backward(Tensor grad_output, Tensor self, Tensor target, int reduction, float beta) -> Tensor") + static at::Tensor call(const at::Tensor & grad_output, const at::Tensor & self, const at::Tensor & target, int64_t reduction, double beta); + static at::Tensor redispatch(c10::DispatchKeySet dispatchKeySet, const at::Tensor & grad_output, const at::Tensor & self, const at::Tensor & target, int64_t reduction, double beta); +}; + +}} // namespace at::_ops diff --git a/shared/package-files/37/378a9b7243e4790aa618399940a9227e8631de53f49e0c85188ebf2e79d5a026/scatter_add_meta_dispatch.h b/shared/package-files/37/378a9b7243e4790aa618399940a9227e8631de53f49e0c85188ebf2e79d5a026/scatter_add_meta_dispatch.h new file mode 100644 index 0000000000000000000000000000000000000000..a780dc6f767eead2f1c02e1a54219d7e2f150bdf --- /dev/null +++ b/shared/package-files/37/378a9b7243e4790aa618399940a9227e8631de53f49e0c85188ebf2e79d5a026/scatter_add_meta_dispatch.h @@ -0,0 +1,26 @@ +#pragma once +// @generated by torchgen/gen.py from DispatchKeyFunction.h + +// NB: The implementing C++ file is RegisterDispatchKey.cpp + +// The only #includes we need are for custom classes that have defaults in the C++ API +#include +#include +#include + +// Forward declarations of any types needed in the operator signatures. +// We can't directly include these classes because it will cause circular include dependencies. +// This file is included by TensorBody.h, which defines the Tensor class. +#include + +namespace at { + +namespace meta { + +TORCH_API at::Tensor scatter_add(const at::Tensor & self, int64_t dim, const at::Tensor & index, const at::Tensor & src); +TORCH_API at::Tensor & scatter_add_out(at::Tensor & out, const at::Tensor & self, int64_t dim, const at::Tensor & index, const at::Tensor & src); +TORCH_API at::Tensor & scatter_add_outf(const at::Tensor & self, int64_t dim, const at::Tensor & index, const at::Tensor & src, at::Tensor & out); +TORCH_API at::Tensor & scatter_add_(at::Tensor & self, int64_t dim, const at::Tensor & index, const at::Tensor & src); + +} // namespace meta +} // namespace at diff --git a/shared/package-files/37/378f60eeedfc9818236d5ceacd43e0b90cb8a6afb6d08cf9d71ce0fe8add8f56/test_indexing.py b/shared/package-files/37/378f60eeedfc9818236d5ceacd43e0b90cb8a6afb6d08cf9d71ce0fe8add8f56/test_indexing.py new file mode 100644 index 0000000000000000000000000000000000000000..1388f41e6f7ee798de4950e9f36cc05387164866 --- /dev/null +++ b/shared/package-files/37/378f60eeedfc9818236d5ceacd43e0b90cb8a6afb6d08cf9d71ce0fe8add8f56/test_indexing.py @@ -0,0 +1,2033 @@ +from collections import namedtuple +from datetime import ( + datetime, + timedelta, +) +from decimal import Decimal +import re + +import numpy as np +import pytest + +from pandas._config import using_string_dtype + +from pandas._libs import iNaT +from pandas.errors import ( + InvalidIndexError, + PerformanceWarning, + SettingWithCopyError, +) +import pandas.util._test_decorators as td + +from pandas.core.dtypes.common import is_integer + +import pandas as pd +from pandas import ( + Categorical, + DataFrame, + DatetimeIndex, + Index, + MultiIndex, + Series, + Timestamp, + date_range, + isna, + notna, + to_datetime, +) +import pandas._testing as tm + +# We pass through a TypeError raised by numpy +_slice_msg = "slice indices must be integers or None or have an __index__ method" + + +class TestDataFrameIndexing: + def test_getitem(self, float_frame): + # Slicing + sl = float_frame[:20] + assert len(sl.index) == 20 + + # Column access + for _, series in sl.items(): + assert len(series.index) == 20 + tm.assert_index_equal(series.index, sl.index) + + for key, _ in float_frame._series.items(): + assert float_frame[key] is not None + + assert "random" not in float_frame + with pytest.raises(KeyError, match="random"): + float_frame["random"] + + def test_getitem_numeric_should_not_fallback_to_positional(self, any_numeric_dtype): + # GH51053 + dtype = any_numeric_dtype + idx = Index([1, 0, 1], dtype=dtype) + df = DataFrame([[1, 2, 3], [4, 5, 6]], columns=idx) + result = df[1] + expected = DataFrame([[1, 3], [4, 6]], columns=Index([1, 1], dtype=dtype)) + tm.assert_frame_equal(result, expected, check_exact=True) + + def test_getitem2(self, float_frame): + df = float_frame.copy() + df["$10"] = np.random.default_rng(2).standard_normal(len(df)) + + ad = np.random.default_rng(2).standard_normal(len(df)) + df["@awesome_domain"] = ad + + with pytest.raises(KeyError, match=re.escape("'df[\"$10\"]'")): + df.__getitem__('df["$10"]') + + res = df["@awesome_domain"] + tm.assert_numpy_array_equal(ad, res.values) + + def test_setitem_numeric_should_not_fallback_to_positional(self, any_numeric_dtype): + # GH51053 + dtype = any_numeric_dtype + idx = Index([1, 0, 1], dtype=dtype) + df = DataFrame([[1, 2, 3], [4, 5, 6]], columns=idx) + df[1] = 10 + expected = DataFrame([[10, 2, 10], [10, 5, 10]], columns=idx) + tm.assert_frame_equal(df, expected, check_exact=True) + + def test_setitem_list(self, float_frame): + float_frame["E"] = "foo" + data = float_frame[["A", "B"]] + float_frame[["B", "A"]] = data + + tm.assert_series_equal(float_frame["B"], data["A"], check_names=False) + tm.assert_series_equal(float_frame["A"], data["B"], check_names=False) + + msg = "Columns must be same length as key" + with pytest.raises(ValueError, match=msg): + data[["A"]] = float_frame[["A", "B"]] + newcolumndata = range(len(data.index) - 1) + msg = ( + rf"Length of values \({len(newcolumndata)}\) " + rf"does not match length of index \({len(data)}\)" + ) + with pytest.raises(ValueError, match=msg): + data["A"] = newcolumndata + + def test_setitem_list2(self): + df = DataFrame(0, index=range(3), columns=["tt1", "tt2"], dtype=int) + df.loc[1, ["tt1", "tt2"]] = [1, 2] + + result = df.loc[df.index[1], ["tt1", "tt2"]] + expected = Series([1, 2], df.columns, dtype=int, name=1) + tm.assert_series_equal(result, expected) + + df["tt1"] = df["tt2"] = "0" + df.loc[df.index[1], ["tt1", "tt2"]] = ["1", "2"] + result = df.loc[df.index[1], ["tt1", "tt2"]] + expected = Series(["1", "2"], df.columns, name=1) + tm.assert_series_equal(result, expected) + + def test_getitem_boolean(self, mixed_float_frame, mixed_int_frame, datetime_frame): + # boolean indexing + d = datetime_frame.index[10] + indexer = datetime_frame.index > d + indexer_obj = indexer.astype(object) + + subindex = datetime_frame.index[indexer] + subframe = datetime_frame[indexer] + + tm.assert_index_equal(subindex, subframe.index) + with pytest.raises(ValueError, match="Item wrong length"): + datetime_frame[indexer[:-1]] + + subframe_obj = datetime_frame[indexer_obj] + tm.assert_frame_equal(subframe_obj, subframe) + + with pytest.raises(ValueError, match="Boolean array expected"): + datetime_frame[datetime_frame] + + # test that Series work + indexer_obj = Series(indexer_obj, datetime_frame.index) + + subframe_obj = datetime_frame[indexer_obj] + tm.assert_frame_equal(subframe_obj, subframe) + + # test that Series indexers reindex + # we are producing a warning that since the passed boolean + # key is not the same as the given index, we will reindex + # not sure this is really necessary + with tm.assert_produces_warning(UserWarning): + indexer_obj = indexer_obj.reindex(datetime_frame.index[::-1]) + subframe_obj = datetime_frame[indexer_obj] + tm.assert_frame_equal(subframe_obj, subframe) + + # test df[df > 0] + for df in [ + datetime_frame, + mixed_float_frame, + mixed_int_frame, + ]: + data = df._get_numeric_data() + bif = df[df > 0] + bifw = DataFrame( + {c: np.where(data[c] > 0, data[c], np.nan) for c in data.columns}, + index=data.index, + columns=data.columns, + ) + + # add back other columns to compare + for c in df.columns: + if c not in bifw: + bifw[c] = df[c] + bifw = bifw.reindex(columns=df.columns) + + tm.assert_frame_equal(bif, bifw, check_dtype=False) + for c in df.columns: + if bif[c].dtype != bifw[c].dtype: + assert bif[c].dtype == df[c].dtype + + def test_getitem_boolean_casting(self, datetime_frame): + # don't upcast if we don't need to + df = datetime_frame.copy() + df["E"] = 1 + df["E"] = df["E"].astype("int32") + df["E1"] = df["E"].copy() + df["F"] = 1 + df["F"] = df["F"].astype("int64") + df["F1"] = df["F"].copy() + + casted = df[df > 0] + result = casted.dtypes + expected = Series( + [np.dtype("float64")] * 4 + + [np.dtype("int32")] * 2 + + [np.dtype("int64")] * 2, + index=["A", "B", "C", "D", "E", "E1", "F", "F1"], + ) + tm.assert_series_equal(result, expected) + + # int block splitting + df.loc[df.index[1:3], ["E1", "F1"]] = 0 + casted = df[df > 0] + result = casted.dtypes + expected = Series( + [np.dtype("float64")] * 4 + + [np.dtype("int32")] + + [np.dtype("float64")] + + [np.dtype("int64")] + + [np.dtype("float64")], + index=["A", "B", "C", "D", "E", "E1", "F", "F1"], + ) + tm.assert_series_equal(result, expected) + + @pytest.mark.parametrize( + "lst", [[True, False, True], [True, True, True], [False, False, False]] + ) + def test_getitem_boolean_list(self, lst): + df = DataFrame(np.arange(12).reshape(3, 4)) + result = df[lst] + expected = df.loc[df.index[lst]] + tm.assert_frame_equal(result, expected) + + def test_getitem_boolean_iadd(self): + arr = np.random.default_rng(2).standard_normal((5, 5)) + + df = DataFrame(arr.copy(), columns=["A", "B", "C", "D", "E"]) + + df[df < 0] += 1 + arr[arr < 0] += 1 + + tm.assert_almost_equal(df.values, arr) + + def test_boolean_index_empty_corner(self): + # #2096 + blah = DataFrame(np.empty([0, 1]), columns=["A"], index=DatetimeIndex([])) + + # both of these should succeed trivially + k = np.array([], bool) + + blah[k] + blah[k] = 0 + + def test_getitem_ix_mixed_integer(self): + df = DataFrame( + np.random.default_rng(2).standard_normal((4, 3)), + index=[1, 10, "C", "E"], + columns=[1, 2, 3], + ) + + result = df.iloc[:-1] + expected = df.loc[df.index[:-1]] + tm.assert_frame_equal(result, expected) + + result = df.loc[[1, 10]] + expected = df.loc[Index([1, 10])] + tm.assert_frame_equal(result, expected) + + def test_getitem_ix_mixed_integer2(self): + # 11320 + df = DataFrame( + { + "rna": (1.5, 2.2, 3.2, 4.5), + -1000: [11, 21, 36, 40], + 0: [10, 22, 43, 34], + 1000: [0, 10, 20, 30], + }, + columns=["rna", -1000, 0, 1000], + ) + result = df[[1000]] + expected = df.iloc[:, [3]] + tm.assert_frame_equal(result, expected) + result = df[[-1000]] + expected = df.iloc[:, [1]] + tm.assert_frame_equal(result, expected) + + def test_getattr(self, float_frame): + tm.assert_series_equal(float_frame.A, float_frame["A"]) + msg = "'DataFrame' object has no attribute 'NONEXISTENT_NAME'" + with pytest.raises(AttributeError, match=msg): + float_frame.NONEXISTENT_NAME + + def test_setattr_column(self): + df = DataFrame({"foobar": 1}, index=range(10)) + + df.foobar = 5 + assert (df.foobar == 5).all() + + def test_setitem( + self, float_frame, using_copy_on_write, warn_copy_on_write, using_infer_string + ): + # not sure what else to do here + series = float_frame["A"][::2] + float_frame["col5"] = series + assert "col5" in float_frame + + assert len(series) == 15 + assert len(float_frame) == 30 + + exp = np.ravel(np.column_stack((series.values, [np.nan] * 15))) + exp = Series(exp, index=float_frame.index, name="col5") + tm.assert_series_equal(float_frame["col5"], exp) + + series = float_frame["A"] + float_frame["col6"] = series + tm.assert_series_equal(series, float_frame["col6"], check_names=False) + + # set ndarray + arr = np.random.default_rng(2).standard_normal(len(float_frame)) + float_frame["col9"] = arr + assert (float_frame["col9"] == arr).all() + + float_frame["col7"] = 5 + assert (float_frame["col7"] == 5).all() + + float_frame["col0"] = 3.14 + assert (float_frame["col0"] == 3.14).all() + + float_frame["col8"] = "foo" + assert (float_frame["col8"] == "foo").all() + + # this is partially a view (e.g. some blocks are view) + # so raise/warn + smaller = float_frame[:2] + + msg = r"\nA value is trying to be set on a copy of a slice from a DataFrame" + if using_copy_on_write or warn_copy_on_write: + # With CoW, adding a new column doesn't raise a warning + smaller["col10"] = ["1", "2"] + else: + with pytest.raises(SettingWithCopyError, match=msg): + smaller["col10"] = ["1", "2"] + + if using_infer_string: + assert smaller["col10"].dtype == "str" + else: + assert smaller["col10"].dtype == np.object_ + assert (smaller["col10"] == ["1", "2"]).all() + + def test_setitem2(self): + # dtype changing GH4204 + df = DataFrame([[0, 0]]) + df.iloc[0] = np.nan + expected = DataFrame([[np.nan, np.nan]]) + tm.assert_frame_equal(df, expected) + + df = DataFrame([[0, 0]]) + df.loc[0] = np.nan + tm.assert_frame_equal(df, expected) + + def test_setitem_boolean(self, float_frame): + df = float_frame.copy() + values = float_frame.values.copy() + + df[df["A"] > 0] = 4 + values[values[:, 0] > 0] = 4 + tm.assert_almost_equal(df.values, values) + + # test that column reindexing works + series = df["A"] == 4 + series = series.reindex(df.index[::-1]) + df[series] = 1 + values[values[:, 0] == 4] = 1 + tm.assert_almost_equal(df.values, values) + + df[df > 0] = 5 + values[values > 0] = 5 + tm.assert_almost_equal(df.values, values) + + df[df == 5] = 0 + values[values == 5] = 0 + tm.assert_almost_equal(df.values, values) + + # a df that needs alignment first + df[df[:-1] < 0] = 2 + np.putmask(values[:-1], values[:-1] < 0, 2) + tm.assert_almost_equal(df.values, values) + + # indexed with same shape but rows-reversed df + df[df[::-1] == 2] = 3 + values[values == 2] = 3 + tm.assert_almost_equal(df.values, values) + + msg = "Must pass DataFrame or 2-d ndarray with boolean values only" + with pytest.raises(TypeError, match=msg): + df[df * 0] = 2 + + # index with DataFrame + df_orig = df.copy() + mask = df > np.abs(df) + df[df > np.abs(df)] = np.nan + values = df_orig.values.copy() + values[mask.values] = np.nan + expected = DataFrame(values, index=df_orig.index, columns=df_orig.columns) + tm.assert_frame_equal(df, expected) + + # set from DataFrame + df[df > np.abs(df)] = df * 2 + np.putmask(values, mask.values, df.values * 2) + expected = DataFrame(values, index=df_orig.index, columns=df_orig.columns) + tm.assert_frame_equal(df, expected) + + def test_setitem_cast(self, float_frame): + float_frame["D"] = float_frame["D"].astype("i8") + assert float_frame["D"].dtype == np.int64 + + # #669, should not cast? + # this is now set to int64, which means a replacement of the column to + # the value dtype (and nothing to do with the existing dtype) + float_frame["B"] = 0 + assert float_frame["B"].dtype == np.int64 + + # cast if pass array of course + float_frame["B"] = np.arange(len(float_frame)) + assert issubclass(float_frame["B"].dtype.type, np.integer) + + float_frame["foo"] = "bar" + float_frame["foo"] = 0 + assert float_frame["foo"].dtype == np.int64 + + float_frame["foo"] = "bar" + float_frame["foo"] = 2.5 + assert float_frame["foo"].dtype == np.float64 + + float_frame["something"] = 0 + assert float_frame["something"].dtype == np.int64 + float_frame["something"] = 2 + assert float_frame["something"].dtype == np.int64 + float_frame["something"] = 2.5 + assert float_frame["something"].dtype == np.float64 + + def test_setitem_corner(self, float_frame, using_infer_string): + # corner case + df = DataFrame({"B": [1.0, 2.0, 3.0], "C": ["a", "b", "c"]}, index=np.arange(3)) + del df["B"] + df["B"] = [1.0, 2.0, 3.0] + assert "B" in df + assert len(df.columns) == 2 + + df["A"] = "beginning" + df["E"] = "foo" + df["D"] = "bar" + df[datetime.now()] = "date" + df[datetime.now()] = 5.0 + + # what to do when empty frame with index + dm = DataFrame(index=float_frame.index) + dm["A"] = "foo" + dm["B"] = "bar" + assert len(dm.columns) == 2 + assert dm.values.dtype == np.object_ + + # upcast + dm["C"] = 1 + assert dm["C"].dtype == np.int64 + + dm["E"] = 1.0 + assert dm["E"].dtype == np.float64 + + # set existing column + dm["A"] = "bar" + assert "bar" == dm["A"].iloc[0] + + dm = DataFrame(index=np.arange(3)) + dm["A"] = 1 + dm["foo"] = "bar" + del dm["foo"] + dm["foo"] = "bar" + if using_infer_string: + assert dm["foo"].dtype == "str" + else: + assert dm["foo"].dtype == np.object_ + + dm["coercible"] = ["1", "2", "3"] + if using_infer_string: + assert dm["coercible"].dtype == "str" + else: + assert dm["coercible"].dtype == np.object_ + + def test_setitem_corner2(self): + data = { + "title": ["foobar", "bar", "foobar"] + ["foobar"] * 17, + "cruft": np.random.default_rng(2).random(20), + } + + df = DataFrame(data) + ix = df[df["title"] == "bar"].index + + df.loc[ix, ["title"]] = "foobar" + df.loc[ix, ["cruft"]] = 0 + + assert df.loc[1, "title"] == "foobar" + assert df.loc[1, "cruft"] == 0 + + def test_setitem_ambig(self, using_infer_string): + # Difficulties with mixed-type data + # Created as float type + dm = DataFrame(index=range(3), columns=range(3)) + + coercable_series = Series([Decimal(1) for _ in range(3)], index=range(3)) + uncoercable_series = Series(["foo", "bzr", "baz"], index=range(3)) + + dm[0] = np.ones(3) + assert len(dm.columns) == 3 + + dm[1] = coercable_series + assert len(dm.columns) == 3 + + dm[2] = uncoercable_series + assert len(dm.columns) == 3 + if using_infer_string: + assert dm[2].dtype == "str" + else: + assert dm[2].dtype == np.object_ + + def test_setitem_None(self, float_frame): + # GH #766 + float_frame[None] = float_frame["A"] + tm.assert_series_equal( + float_frame.iloc[:, -1], float_frame["A"], check_names=False + ) + tm.assert_series_equal( + float_frame.loc[:, None], float_frame["A"], check_names=False + ) + tm.assert_series_equal(float_frame[None], float_frame["A"], check_names=False) + + def test_loc_setitem_boolean_mask_allfalse(self): + # GH 9596 + df = DataFrame( + {"a": ["1", "2", "3"], "b": ["11", "22", "33"], "c": ["111", "222", "333"]} + ) + + result = df.copy() + result.loc[result.b.isna(), "a"] = result.a.copy() + tm.assert_frame_equal(result, df) + + def test_getitem_fancy_slice_integers_step(self): + df = DataFrame(np.random.default_rng(2).standard_normal((10, 5))) + + # this is OK + df.iloc[:8:2] + df.iloc[:8:2] = np.nan + assert isna(df.iloc[:8:2]).values.all() + + def test_getitem_setitem_integer_slice_keyerrors(self): + df = DataFrame( + np.random.default_rng(2).standard_normal((10, 5)), index=range(0, 20, 2) + ) + + # this is OK + cp = df.copy() + cp.iloc[4:10] = 0 + assert (cp.iloc[4:10] == 0).values.all() + + # so is this + cp = df.copy() + cp.iloc[3:11] = 0 + assert (cp.iloc[3:11] == 0).values.all() + + result = df.iloc[2:6] + result2 = df.loc[3:11] + expected = df.reindex([4, 6, 8, 10]) + + tm.assert_frame_equal(result, expected) + tm.assert_frame_equal(result2, expected) + + # non-monotonic, raise KeyError + df2 = df.iloc[list(range(5)) + list(range(5, 10))[::-1]] + with pytest.raises(KeyError, match=r"^3$"): + df2.loc[3:11] + with pytest.raises(KeyError, match=r"^3$"): + df2.loc[3:11] = 0 + + @td.skip_array_manager_invalid_test # already covered in test_iloc_col_slice_view + def test_fancy_getitem_slice_mixed( + self, float_frame, float_string_frame, using_copy_on_write, warn_copy_on_write + ): + sliced = float_string_frame.iloc[:, -3:] + assert sliced["D"].dtype == np.float64 + + # get view with single block + # setting it triggers setting with copy + original = float_frame.copy() + sliced = float_frame.iloc[:, -3:] + + assert np.shares_memory(sliced["C"]._values, float_frame["C"]._values) + + with tm.assert_cow_warning(warn_copy_on_write): + sliced.loc[:, "C"] = 4.0 + if not using_copy_on_write: + assert (float_frame["C"] == 4).all() + + # with the enforcement of GH#45333 in 2.0, this remains a view + np.shares_memory(sliced["C"]._values, float_frame["C"]._values) + else: + tm.assert_frame_equal(float_frame, original) + + def test_getitem_setitem_non_ix_labels(self): + df = DataFrame(range(20), index=date_range("2020-01-01", periods=20)) + + start, end = df.index[[5, 10]] + + result = df.loc[start:end] + result2 = df[start:end] + expected = df[5:11] + tm.assert_frame_equal(result, expected) + tm.assert_frame_equal(result2, expected) + + result = df.copy() + result.loc[start:end] = 0 + result2 = df.copy() + result2[start:end] = 0 + expected = df.copy() + expected[5:11] = 0 + tm.assert_frame_equal(result, expected) + tm.assert_frame_equal(result2, expected) + + def test_ix_multi_take(self): + df = DataFrame(np.random.default_rng(2).standard_normal((3, 2))) + rs = df.loc[df.index == 0, :] + xp = df.reindex([0]) + tm.assert_frame_equal(rs, xp) + + # GH#1321 + df = DataFrame(np.random.default_rng(2).standard_normal((3, 2))) + rs = df.loc[df.index == 0, df.columns == 1] + xp = df.reindex(index=[0], columns=[1]) + tm.assert_frame_equal(rs, xp) + + def test_getitem_fancy_scalar(self, float_frame): + f = float_frame + ix = f.loc + + # individual value + for col in f.columns: + ts = f[col] + for idx in f.index[::5]: + assert ix[idx, col] == ts[idx] + + @td.skip_array_manager_invalid_test # TODO(ArrayManager) rewrite not using .values + def test_setitem_fancy_scalar(self, float_frame): + f = float_frame + expected = float_frame.copy() + ix = f.loc + + # individual value + for j, col in enumerate(f.columns): + f[col] + for idx in f.index[::5]: + i = f.index.get_loc(idx) + val = np.random.default_rng(2).standard_normal() + expected.iloc[i, j] = val + + ix[idx, col] = val + tm.assert_frame_equal(f, expected) + + def test_getitem_fancy_boolean(self, float_frame): + f = float_frame + ix = f.loc + + expected = f.reindex(columns=["B", "D"]) + result = ix[:, [False, True, False, True]] + tm.assert_frame_equal(result, expected) + + expected = f.reindex(index=f.index[5:10], columns=["B", "D"]) + result = ix[f.index[5:10], [False, True, False, True]] + tm.assert_frame_equal(result, expected) + + boolvec = f.index > f.index[7] + expected = f.reindex(index=f.index[boolvec]) + result = ix[boolvec] + tm.assert_frame_equal(result, expected) + result = ix[boolvec, :] + tm.assert_frame_equal(result, expected) + + result = ix[boolvec, f.columns[2:]] + expected = f.reindex(index=f.index[boolvec], columns=["C", "D"]) + tm.assert_frame_equal(result, expected) + + @td.skip_array_manager_invalid_test # TODO(ArrayManager) rewrite not using .values + def test_setitem_fancy_boolean(self, float_frame): + # from 2d, set with booleans + frame = float_frame.copy() + expected = float_frame.copy() + values = expected.values.copy() + + mask = frame["A"] > 0 + frame.loc[mask] = 0.0 + values[mask.values] = 0.0 + expected = DataFrame(values, index=expected.index, columns=expected.columns) + tm.assert_frame_equal(frame, expected) + + frame = float_frame.copy() + expected = float_frame.copy() + values = expected.values.copy() + frame.loc[mask, ["A", "B"]] = 0.0 + values[mask.values, :2] = 0.0 + expected = DataFrame(values, index=expected.index, columns=expected.columns) + tm.assert_frame_equal(frame, expected) + + def test_getitem_fancy_ints(self, float_frame): + result = float_frame.iloc[[1, 4, 7]] + expected = float_frame.loc[float_frame.index[[1, 4, 7]]] + tm.assert_frame_equal(result, expected) + + result = float_frame.iloc[:, [2, 0, 1]] + expected = float_frame.loc[:, float_frame.columns[[2, 0, 1]]] + tm.assert_frame_equal(result, expected) + + def test_getitem_setitem_boolean_misaligned(self, float_frame): + # boolean index misaligned labels + mask = float_frame["A"][::-1] > 1 + + result = float_frame.loc[mask] + expected = float_frame.loc[mask[::-1]] + tm.assert_frame_equal(result, expected) + + cp = float_frame.copy() + expected = float_frame.copy() + cp.loc[mask] = 0 + expected.loc[mask] = 0 + tm.assert_frame_equal(cp, expected) + + def test_getitem_setitem_boolean_multi(self): + df = DataFrame(np.random.default_rng(2).standard_normal((3, 2))) + + # get + k1 = np.array([True, False, True]) + k2 = np.array([False, True]) + result = df.loc[k1, k2] + expected = df.loc[[0, 2], [1]] + tm.assert_frame_equal(result, expected) + + expected = df.copy() + df.loc[np.array([True, False, True]), np.array([False, True])] = 5 + expected.loc[[0, 2], [1]] = 5 + tm.assert_frame_equal(df, expected) + + def test_getitem_setitem_float_labels(self, using_array_manager): + index = Index([1.5, 2, 3, 4, 5]) + df = DataFrame(np.random.default_rng(2).standard_normal((5, 5)), index=index) + + result = df.loc[1.5:4] + expected = df.reindex([1.5, 2, 3, 4]) + tm.assert_frame_equal(result, expected) + assert len(result) == 4 + + result = df.loc[4:5] + expected = df.reindex([4, 5]) # reindex with int + tm.assert_frame_equal(result, expected, check_index_type=False) + assert len(result) == 2 + + result = df.loc[4:5] + expected = df.reindex([4.0, 5.0]) # reindex with float + tm.assert_frame_equal(result, expected) + assert len(result) == 2 + + # loc_float changes this to work properly + result = df.loc[1:2] + expected = df.iloc[0:2] + tm.assert_frame_equal(result, expected) + + expected = df.iloc[0:2] + msg = r"The behavior of obj\[i:j\] with a float-dtype index" + with tm.assert_produces_warning(FutureWarning, match=msg): + result = df[1:2] + tm.assert_frame_equal(result, expected) + + # #2727 + index = Index([1.0, 2.5, 3.5, 4.5, 5.0]) + df = DataFrame(np.random.default_rng(2).standard_normal((5, 5)), index=index) + + # positional slicing only via iloc! + msg = ( + "cannot do positional indexing on Index with " + r"these indexers \[1.0\] of type float" + ) + with pytest.raises(TypeError, match=msg): + df.iloc[1.0:5] + + result = df.iloc[4:5] + expected = df.reindex([5.0]) + tm.assert_frame_equal(result, expected) + assert len(result) == 1 + + cp = df.copy() + + with pytest.raises(TypeError, match=_slice_msg): + cp.iloc[1.0:5] = 0 + + with pytest.raises(TypeError, match=msg): + result = cp.iloc[1.0:5] == 0 + + assert result.values.all() + assert (cp.iloc[0:1] == df.iloc[0:1]).values.all() + + cp = df.copy() + cp.iloc[4:5] = 0 + assert (cp.iloc[4:5] == 0).values.all() + assert (cp.iloc[0:4] == df.iloc[0:4]).values.all() + + # float slicing + result = df.loc[1.0:5] + expected = df + tm.assert_frame_equal(result, expected) + assert len(result) == 5 + + result = df.loc[1.1:5] + expected = df.reindex([2.5, 3.5, 4.5, 5.0]) + tm.assert_frame_equal(result, expected) + assert len(result) == 4 + + result = df.loc[4.51:5] + expected = df.reindex([5.0]) + tm.assert_frame_equal(result, expected) + assert len(result) == 1 + + result = df.loc[1.0:5.0] + expected = df.reindex([1.0, 2.5, 3.5, 4.5, 5.0]) + tm.assert_frame_equal(result, expected) + assert len(result) == 5 + + cp = df.copy() + cp.loc[1.0:5.0] = 0 + result = cp.loc[1.0:5.0] + assert (result == 0).values.all() + + def test_setitem_single_column_mixed_datetime(self): + df = DataFrame( + np.random.default_rng(2).standard_normal((5, 3)), + index=["a", "b", "c", "d", "e"], + columns=["foo", "bar", "baz"], + ) + + df["timestamp"] = Timestamp("20010102") + + # check our dtypes + result = df.dtypes + expected = Series( + [np.dtype("float64")] * 3 + [np.dtype("datetime64[s]")], + index=["foo", "bar", "baz", "timestamp"], + ) + tm.assert_series_equal(result, expected) + + # GH#16674 iNaT is treated as an integer when given by the user + with tm.assert_produces_warning( + FutureWarning, match="Setting an item of incompatible dtype" + ): + df.loc["b", "timestamp"] = iNaT + assert not isna(df.loc["b", "timestamp"]) + assert df["timestamp"].dtype == np.object_ + assert df.loc["b", "timestamp"] == iNaT + + # allow this syntax (as of GH#3216) + df.loc["c", "timestamp"] = np.nan + assert isna(df.loc["c", "timestamp"]) + + # allow this syntax + df.loc["d", :] = np.nan + assert not isna(df.loc["c", :]).all() + + def test_setitem_mixed_datetime(self): + # GH 9336 + expected = DataFrame( + { + "a": [0, 0, 0, 0, 13, 14], + "b": [ + datetime(2012, 1, 1), + 1, + "x", + "y", + datetime(2013, 1, 1), + datetime(2014, 1, 1), + ], + } + ) + df = DataFrame(0, columns=list("ab"), index=range(6)) + df["b"] = pd.NaT + df.loc[0, "b"] = datetime(2012, 1, 1) + with tm.assert_produces_warning( + FutureWarning, match="Setting an item of incompatible dtype" + ): + df.loc[1, "b"] = 1 + df.loc[[2, 3], "b"] = "x", "y" + A = np.array( + [ + [13, np.datetime64("2013-01-01T00:00:00")], + [14, np.datetime64("2014-01-01T00:00:00")], + ] + ) + df.loc[[4, 5], ["a", "b"]] = A + tm.assert_frame_equal(df, expected) + + def test_setitem_frame_float(self, float_frame): + piece = float_frame.loc[float_frame.index[:2], ["A", "B"]] + float_frame.loc[float_frame.index[-2] :, ["A", "B"]] = piece.values + result = float_frame.loc[float_frame.index[-2:], ["A", "B"]].values + expected = piece.values + tm.assert_almost_equal(result, expected) + + # dtype inference + @pytest.mark.xfail(using_string_dtype(), reason="TODO(infer_string)") + def test_setitem_frame_mixed(self, float_string_frame): + # GH 3216 + + # already aligned + f = float_string_frame.copy() + piece = DataFrame( + [[1.0, 2.0], [3.0, 4.0]], index=f.index[0:2], columns=["A", "B"] + ) + key = (f.index[slice(None, 2)], ["A", "B"]) + f.loc[key] = piece + tm.assert_almost_equal(f.loc[f.index[0:2], ["A", "B"]].values, piece.values) + + # dtype inference + @pytest.mark.xfail(using_string_dtype(), reason="TODO(infer_string)") + def test_setitem_frame_mixed_rows_unaligned(self, float_string_frame): + # GH#3216 rows unaligned + f = float_string_frame.copy() + piece = DataFrame( + [[1.0, 2.0], [3.0, 4.0], [5.0, 6.0], [7.0, 8.0]], + index=list(f.index[0:2]) + ["foo", "bar"], + columns=["A", "B"], + ) + key = (f.index[slice(None, 2)], ["A", "B"]) + f.loc[key] = piece + tm.assert_almost_equal( + f.loc[f.index[0:2:], ["A", "B"]].values, piece.values[0:2] + ) + + # dtype inference + @pytest.mark.xfail(using_string_dtype(), reason="TODO(infer_string)") + def test_setitem_frame_mixed_key_unaligned(self, float_string_frame): + # GH#3216 key is unaligned with values + f = float_string_frame.copy() + piece = f.loc[f.index[:2], ["A"]] + piece.index = f.index[-2:] + key = (f.index[slice(-2, None)], ["A", "B"]) + f.loc[key] = piece + piece["B"] = np.nan + tm.assert_almost_equal(f.loc[f.index[-2:], ["A", "B"]].values, piece.values) + + def test_setitem_frame_mixed_ndarray(self, float_string_frame): + # GH#3216 ndarray + f = float_string_frame.copy() + piece = float_string_frame.loc[f.index[:2], ["A", "B"]] + key = (f.index[slice(-2, None)], ["A", "B"]) + f.loc[key] = piece.values + tm.assert_almost_equal(f.loc[f.index[-2:], ["A", "B"]].values, piece.values) + + def test_setitem_frame_upcast(self): + # needs upcasting + df = DataFrame([[1, 2, "foo"], [3, 4, "bar"]], columns=["A", "B", "C"]) + df2 = df.copy() + with tm.assert_produces_warning(FutureWarning, match="incompatible dtype"): + df2.loc[:, ["A", "B"]] = df.loc[:, ["A", "B"]] + 0.5 + expected = df.reindex(columns=["A", "B"]) + expected += 0.5 + expected["C"] = df["C"] + tm.assert_frame_equal(df2, expected) + + def test_setitem_frame_align(self, float_frame): + piece = float_frame.loc[float_frame.index[:2], ["A", "B"]] + piece.index = float_frame.index[-2:] + piece.columns = ["A", "B"] + float_frame.loc[float_frame.index[-2:], ["A", "B"]] = piece + result = float_frame.loc[float_frame.index[-2:], ["A", "B"]].values + expected = piece.values + tm.assert_almost_equal(result, expected) + + def test_getitem_setitem_ix_duplicates(self): + # #1201 + df = DataFrame( + np.random.default_rng(2).standard_normal((5, 3)), + index=["foo", "foo", "bar", "baz", "bar"], + ) + + result = df.loc["foo"] + expected = df[:2] + tm.assert_frame_equal(result, expected) + + result = df.loc["bar"] + expected = df.iloc[[2, 4]] + tm.assert_frame_equal(result, expected) + + result = df.loc["baz"] + expected = df.iloc[3] + tm.assert_series_equal(result, expected) + + def test_getitem_ix_boolean_duplicates_multiple(self): + # #1201 + df = DataFrame( + np.random.default_rng(2).standard_normal((5, 3)), + index=["foo", "foo", "bar", "baz", "bar"], + ) + + result = df.loc[["bar"]] + exp = df.iloc[[2, 4]] + tm.assert_frame_equal(result, exp) + + result = df.loc[df[1] > 0] + exp = df[df[1] > 0] + tm.assert_frame_equal(result, exp) + + result = df.loc[df[0] > 0] + exp = df[df[0] > 0] + tm.assert_frame_equal(result, exp) + + @pytest.mark.parametrize("bool_value", [True, False]) + def test_getitem_setitem_ix_bool_keyerror(self, bool_value): + # #2199 + df = DataFrame({"a": [1, 2, 3]}) + message = f"{bool_value}: boolean label can not be used without a boolean index" + with pytest.raises(KeyError, match=message): + df.loc[bool_value] + + msg = "cannot use a single bool to index into setitem" + with pytest.raises(KeyError, match=msg): + df.loc[bool_value] = 0 + + # TODO: rename? remove? + def test_single_element_ix_dont_upcast(self, float_frame): + float_frame["E"] = 1 + assert issubclass(float_frame["E"].dtype.type, (int, np.integer)) + + result = float_frame.loc[float_frame.index[5], "E"] + assert is_integer(result) + + # GH 11617 + df = DataFrame({"a": [1.23]}) + df["b"] = 666 + + result = df.loc[0, "b"] + assert is_integer(result) + + expected = Series([666], [0], name="b") + result = df.loc[[0], "b"] + tm.assert_series_equal(result, expected) + + def test_iloc_callable_tuple_return_value(self): + # GH53769 + df = DataFrame(np.arange(40).reshape(10, 4), index=range(0, 20, 2)) + msg = "callable with iloc" + with tm.assert_produces_warning(FutureWarning, match=msg): + df.iloc[lambda _: (0,)] + with tm.assert_produces_warning(FutureWarning, match=msg): + df.iloc[lambda _: (0,)] = 1 + + def test_iloc_row(self): + df = DataFrame( + np.random.default_rng(2).standard_normal((10, 4)), index=range(0, 20, 2) + ) + + result = df.iloc[1] + exp = df.loc[2] + tm.assert_series_equal(result, exp) + + result = df.iloc[2] + exp = df.loc[4] + tm.assert_series_equal(result, exp) + + # slice + result = df.iloc[slice(4, 8)] + expected = df.loc[8:14] + tm.assert_frame_equal(result, expected) + + # list of integers + result = df.iloc[[1, 2, 4, 6]] + expected = df.reindex(df.index[[1, 2, 4, 6]]) + tm.assert_frame_equal(result, expected) + + def test_iloc_row_slice_view(self, using_copy_on_write, warn_copy_on_write): + df = DataFrame( + np.random.default_rng(2).standard_normal((10, 4)), index=range(0, 20, 2) + ) + original = df.copy() + + # verify slice is view + # setting it makes it raise/warn + subset = df.iloc[slice(4, 8)] + + assert np.shares_memory(df[2], subset[2]) + + exp_col = original[2].copy() + with tm.assert_cow_warning(warn_copy_on_write): + subset.loc[:, 2] = 0.0 + if not using_copy_on_write: + exp_col._values[4:8] = 0.0 + + # With the enforcement of GH#45333 in 2.0, this remains a view + assert np.shares_memory(df[2], subset[2]) + tm.assert_series_equal(df[2], exp_col) + + def test_iloc_col(self): + df = DataFrame( + np.random.default_rng(2).standard_normal((4, 10)), columns=range(0, 20, 2) + ) + + result = df.iloc[:, 1] + exp = df.loc[:, 2] + tm.assert_series_equal(result, exp) + + result = df.iloc[:, 2] + exp = df.loc[:, 4] + tm.assert_series_equal(result, exp) + + # slice + result = df.iloc[:, slice(4, 8)] + expected = df.loc[:, 8:14] + tm.assert_frame_equal(result, expected) + + # list of integers + result = df.iloc[:, [1, 2, 4, 6]] + expected = df.reindex(columns=df.columns[[1, 2, 4, 6]]) + tm.assert_frame_equal(result, expected) + + def test_iloc_col_slice_view( + self, using_array_manager, using_copy_on_write, warn_copy_on_write + ): + df = DataFrame( + np.random.default_rng(2).standard_normal((4, 10)), columns=range(0, 20, 2) + ) + original = df.copy() + subset = df.iloc[:, slice(4, 8)] + + if not using_array_manager and not using_copy_on_write: + # verify slice is view + assert np.shares_memory(df[8]._values, subset[8]._values) + + with tm.assert_cow_warning(warn_copy_on_write): + subset.loc[:, 8] = 0.0 + + assert (df[8] == 0).all() + + # with the enforcement of GH#45333 in 2.0, this remains a view + assert np.shares_memory(df[8]._values, subset[8]._values) + else: + if using_copy_on_write: + # verify slice is view + assert np.shares_memory(df[8]._values, subset[8]._values) + subset[8] = 0.0 + # subset changed + assert (subset[8] == 0).all() + # but df itself did not change (setitem replaces full column) + tm.assert_frame_equal(df, original) + + def test_loc_duplicates(self): + # gh-17105 + + # insert a duplicate element to the index + trange = date_range( + start=Timestamp(year=2017, month=1, day=1), + end=Timestamp(year=2017, month=1, day=5), + ) + + trange = trange.insert(loc=5, item=Timestamp(year=2017, month=1, day=5)) + + df = DataFrame(0, index=trange, columns=["A", "B"]) + bool_idx = np.array([False, False, False, False, False, True]) + + # assignment + df.loc[trange[bool_idx], "A"] = 6 + + expected = DataFrame( + {"A": [0, 0, 0, 0, 6, 6], "B": [0, 0, 0, 0, 0, 0]}, index=trange + ) + tm.assert_frame_equal(df, expected) + + # in-place + df = DataFrame(0, index=trange, columns=["A", "B"]) + df.loc[trange[bool_idx], "A"] += 6 + tm.assert_frame_equal(df, expected) + + def test_setitem_with_unaligned_tz_aware_datetime_column(self): + # GH 12981 + # Assignment of unaligned offset-aware datetime series. + # Make sure timezone isn't lost + column = Series(date_range("2015-01-01", periods=3, tz="utc"), name="dates") + df = DataFrame({"dates": column}) + df["dates"] = column[[1, 0, 2]] + tm.assert_series_equal(df["dates"], column) + + df = DataFrame({"dates": column}) + df.loc[[0, 1, 2], "dates"] = column[[1, 0, 2]] + tm.assert_series_equal(df["dates"], column) + + def test_loc_setitem_datetimelike_with_inference(self): + # GH 7592 + # assignment of timedeltas with NaT + + one_hour = timedelta(hours=1) + df = DataFrame(index=date_range("20130101", periods=4)) + df["A"] = np.array([1 * one_hour] * 4, dtype="m8[ns]") + df.loc[:, "B"] = np.array([2 * one_hour] * 4, dtype="m8[ns]") + df.loc[df.index[:3], "C"] = np.array([3 * one_hour] * 3, dtype="m8[ns]") + df.loc[:, "D"] = np.array([4 * one_hour] * 4, dtype="m8[ns]") + df.loc[df.index[:3], "E"] = np.array([5 * one_hour] * 3, dtype="m8[ns]") + df["F"] = np.timedelta64("NaT") + df.loc[df.index[:-1], "F"] = np.array([6 * one_hour] * 3, dtype="m8[ns]") + df.loc[df.index[-3] :, "G"] = date_range("20130101", periods=3) + df["H"] = np.datetime64("NaT") + result = df.dtypes + expected = Series( + [np.dtype("timedelta64[ns]")] * 6 + [np.dtype("datetime64[ns]")] * 2, + index=list("ABCDEFGH"), + ) + tm.assert_series_equal(result, expected) + + def test_getitem_boolean_indexing_mixed(self): + df = DataFrame( + { + 0: {35: np.nan, 40: np.nan, 43: np.nan, 49: np.nan, 50: np.nan}, + 1: { + 35: np.nan, + 40: 0.32632316859446198, + 43: np.nan, + 49: 0.32632316859446198, + 50: 0.39114724480578139, + }, + 2: { + 35: np.nan, + 40: np.nan, + 43: 0.29012581014105987, + 49: np.nan, + 50: np.nan, + }, + 3: {35: np.nan, 40: np.nan, 43: np.nan, 49: np.nan, 50: np.nan}, + 4: { + 35: 0.34215328467153283, + 40: np.nan, + 43: np.nan, + 49: np.nan, + 50: np.nan, + }, + "y": {35: 0, 40: 0, 43: 0, 49: 0, 50: 1}, + } + ) + + # mixed int/float ok + df2 = df.copy() + df2[df2 > 0.3] = 1 + expected = df.copy() + expected.loc[40, 1] = 1 + expected.loc[49, 1] = 1 + expected.loc[50, 1] = 1 + expected.loc[35, 4] = 1 + tm.assert_frame_equal(df2, expected) + + df["foo"] = "test" + msg = "not supported between instances|unorderable types|Invalid comparison" + + with pytest.raises(TypeError, match=msg): + df[df > 0.3] = 1 + + def test_type_error_multiindex(self): + # See gh-12218 + mi = MultiIndex.from_product([["x", "y"], [0, 1]], names=[None, "c"]) + dg = DataFrame( + [[1, 1, 2, 2], [3, 3, 4, 4]], columns=mi, index=Index([0, 1], name="i") + ) + with pytest.raises(InvalidIndexError, match="slice"): + dg[:, 0] + + index = Index(range(2), name="i") + columns = MultiIndex( + levels=[["x", "y"], [0, 1]], codes=[[0, 1], [0, 0]], names=[None, "c"] + ) + expected = DataFrame([[1, 2], [3, 4]], columns=columns, index=index) + + result = dg.loc[:, (slice(None), 0)] + tm.assert_frame_equal(result, expected) + + name = ("x", 0) + index = Index(range(2), name="i") + expected = Series([1, 3], index=index, name=name) + + result = dg["x", 0] + tm.assert_series_equal(result, expected) + + def test_getitem_interval_index_partial_indexing(self): + # GH#36490 + df = DataFrame( + np.ones((3, 4)), columns=pd.IntervalIndex.from_breaks(np.arange(5)) + ) + + expected = df.iloc[:, 0] + + res = df[0.5] + tm.assert_series_equal(res, expected) + + res = df.loc[:, 0.5] + tm.assert_series_equal(res, expected) + + def test_setitem_array_as_cell_value(self): + # GH#43422 + df = DataFrame(columns=["a", "b"], dtype=object) + df.loc[0] = {"a": np.zeros((2,)), "b": np.zeros((2, 2))} + expected = DataFrame({"a": [np.zeros((2,))], "b": [np.zeros((2, 2))]}) + tm.assert_frame_equal(df, expected) + + def test_iloc_setitem_nullable_2d_values(self): + df = DataFrame({"A": [1, 2, 3]}, dtype="Int64") + orig = df.copy() + + df.loc[:] = df.values[:, ::-1] + tm.assert_frame_equal(df, orig) + + df.loc[:] = pd.core.arrays.NumpyExtensionArray(df.values[:, ::-1]) + tm.assert_frame_equal(df, orig) + + df.iloc[:] = df.iloc[:, :].copy() + tm.assert_frame_equal(df, orig) + + def test_getitem_segfault_with_empty_like_object(self): + # GH#46848 + df = DataFrame(np.empty((1, 1), dtype=object)) + df[0] = np.empty_like(df[0]) + # this produces the segfault + df[[0]] + + @pytest.mark.filterwarnings("ignore:Setting a value on a view:FutureWarning") + @pytest.mark.parametrize( + "null", [pd.NaT, pd.NaT.to_numpy("M8[ns]"), pd.NaT.to_numpy("m8[ns]")] + ) + def test_setting_mismatched_na_into_nullable_fails( + self, null, any_numeric_ea_dtype + ): + # GH#44514 don't cast mismatched nulls to pd.NA + df = DataFrame({"A": [1, 2, 3]}, dtype=any_numeric_ea_dtype) + ser = df["A"].copy() + arr = ser._values + + msg = "|".join( + [ + r"timedelta64\[ns\] cannot be converted to (Floating|Integer)Dtype", + r"datetime64\[ns\] cannot be converted to (Floating|Integer)Dtype", + "'values' contains non-numeric NA", + r"Invalid value '.*' for dtype '(U?Int|Float)\d{1,2}'", + ] + ) + with pytest.raises(TypeError, match=msg): + arr[0] = null + + with pytest.raises(TypeError, match=msg): + arr[:2] = [null, null] + + with pytest.raises(TypeError, match=msg): + ser[0] = null + + with pytest.raises(TypeError, match=msg): + ser[:2] = [null, null] + + with pytest.raises(TypeError, match=msg): + ser.iloc[0] = null + + with pytest.raises(TypeError, match=msg): + ser.iloc[:2] = [null, null] + + with pytest.raises(TypeError, match=msg): + df.iloc[0, 0] = null + + with pytest.raises(TypeError, match=msg): + df.iloc[:2, 0] = [null, null] + + # Multi-Block + df2 = df.copy() + df2["B"] = ser.copy() + with pytest.raises(TypeError, match=msg): + df2.iloc[0, 0] = null + + with pytest.raises(TypeError, match=msg): + df2.iloc[:2, 0] = [null, null] + + def test_loc_expand_empty_frame_keep_index_name(self): + # GH#45621 + df = DataFrame(columns=["b"], index=Index([], name="a")) + df.loc[0] = 1 + expected = DataFrame({"b": [1]}, index=Index([0], name="a")) + tm.assert_frame_equal(df, expected) + + def test_loc_expand_empty_frame_keep_midx_names(self): + # GH#46317 + df = DataFrame( + columns=["d"], index=MultiIndex.from_tuples([], names=["a", "b", "c"]) + ) + df.loc[(1, 2, 3)] = "foo" + expected = DataFrame( + {"d": ["foo"]}, + index=MultiIndex.from_tuples([(1, 2, 3)], names=["a", "b", "c"]), + ) + tm.assert_frame_equal(df, expected) + + @pytest.mark.parametrize( + "val, idxr", + [ + ("x", "a"), + ("x", ["a"]), + (1, "a"), + (1, ["a"]), + ], + ) + def test_loc_setitem_rhs_frame(self, idxr, val): + # GH#47578 + df = DataFrame({"a": [1, 2]}) + + with tm.assert_produces_warning( + FutureWarning, match="Setting an item of incompatible dtype" + ): + df.loc[:, idxr] = DataFrame({"a": [val, 11]}, index=[1, 2]) + expected = DataFrame({"a": [np.nan, val]}) + tm.assert_frame_equal(df, expected) + + @td.skip_array_manager_invalid_test + def test_iloc_setitem_enlarge_no_warning(self, warn_copy_on_write): + # GH#47381 + df = DataFrame(columns=["a", "b"]) + expected = df.copy() + view = df[:] + df.iloc[:, 0] = np.array([1, 2], dtype=np.float64) + tm.assert_frame_equal(view, expected) + + def test_loc_internals_not_updated_correctly(self): + # GH#47867 all steps are necessary to reproduce the initial bug + df = DataFrame( + {"bool_col": True, "a": 1, "b": 2.5}, + index=MultiIndex.from_arrays([[1, 2], [1, 2]], names=["idx1", "idx2"]), + ) + idx = [(1, 1)] + + df["c"] = 3 + df.loc[idx, "c"] = 0 + + df.loc[idx, "c"] + df.loc[idx, ["a", "b"]] + + df.loc[idx, "c"] = 15 + result = df.loc[idx, "c"] + expected = df = Series( + 15, + index=MultiIndex.from_arrays([[1], [1]], names=["idx1", "idx2"]), + name="c", + ) + tm.assert_series_equal(result, expected) + + @pytest.mark.parametrize("val", [None, [None], pd.NA, [pd.NA]]) + def test_iloc_setitem_string_list_na(self, val): + # GH#45469 + df = DataFrame({"a": ["a", "b", "c"]}, dtype="string") + df.iloc[[0], :] = val + expected = DataFrame({"a": [pd.NA, "b", "c"]}, dtype="string") + tm.assert_frame_equal(df, expected) + + @pytest.mark.parametrize("val", [None, pd.NA]) + def test_iloc_setitem_string_na(self, val): + # GH#45469 + df = DataFrame({"a": ["a", "b", "c"]}, dtype="string") + df.iloc[0, :] = val + expected = DataFrame({"a": [pd.NA, "b", "c"]}, dtype="string") + tm.assert_frame_equal(df, expected) + + @pytest.mark.parametrize("func", [list, Series, np.array]) + def test_iloc_setitem_ea_null_slice_length_one_list(self, func): + # GH#48016 + df = DataFrame({"a": [1, 2, 3]}, dtype="Int64") + df.iloc[:, func([0])] = 5 + expected = DataFrame({"a": [5, 5, 5]}, dtype="Int64") + tm.assert_frame_equal(df, expected) + + def test_loc_named_tuple_for_midx(self): + # GH#48124 + df = DataFrame( + index=MultiIndex.from_product( + [["A", "B"], ["a", "b", "c"]], names=["first", "second"] + ) + ) + indexer_tuple = namedtuple("Indexer", df.index.names) + idxr = indexer_tuple(first="A", second=["a", "b"]) + result = df.loc[idxr, :] + expected = DataFrame( + index=MultiIndex.from_tuples( + [("A", "a"), ("A", "b")], names=["first", "second"] + ) + ) + tm.assert_frame_equal(result, expected) + + @pytest.mark.parametrize("indexer", [["a"], "a"]) + @pytest.mark.parametrize("col", [{}, {"b": 1}]) + def test_set_2d_casting_date_to_int(self, col, indexer): + # GH#49159 + df = DataFrame( + {"a": [Timestamp("2022-12-29"), Timestamp("2022-12-30")], **col}, + ) + df.loc[[1], indexer] = df["a"] + pd.Timedelta(days=1) + expected = DataFrame( + {"a": [Timestamp("2022-12-29"), Timestamp("2022-12-31")], **col}, + ) + tm.assert_frame_equal(df, expected) + + @pytest.mark.filterwarnings("ignore:Setting a value on a view:FutureWarning") + @pytest.mark.parametrize("has_ref", [True, False]) + @pytest.mark.parametrize("col", [{}, {"name": "a"}]) + def test_loc_setitem_reordering_with_all_true_indexer(self, col, has_ref): + # GH#48701 + n = 17 + df = DataFrame({**col, "x": range(n), "y": range(n)}) + value = df[["x", "y"]].copy() + expected = df.copy() + if has_ref: + view = df[:] # noqa: F841 + df.loc[n * [True], ["x", "y"]] = value + tm.assert_frame_equal(df, expected) + + def test_loc_rhs_empty_warning(self): + # GH48480 + df = DataFrame(columns=["a", "b"]) + expected = df.copy() + rhs = DataFrame(columns=["a"]) + with tm.assert_produces_warning(None): + df.loc[:, "a"] = rhs + tm.assert_frame_equal(df, expected) + + def test_iloc_ea_series_indexer(self): + # GH#49521 + df = DataFrame([[0, 1, 2, 3, 4], [5, 6, 7, 8, 9]]) + indexer = Series([0, 1], dtype="Int64") + row_indexer = Series([1], dtype="Int64") + result = df.iloc[row_indexer, indexer] + expected = DataFrame([[5, 6]], index=[1]) + tm.assert_frame_equal(result, expected) + + result = df.iloc[row_indexer.values, indexer.values] + tm.assert_frame_equal(result, expected) + + def test_iloc_ea_series_indexer_with_na(self): + # GH#49521 + df = DataFrame([[0, 1, 2, 3, 4], [5, 6, 7, 8, 9]]) + indexer = Series([0, pd.NA], dtype="Int64") + msg = "cannot convert" + with pytest.raises(ValueError, match=msg): + df.iloc[:, indexer] + with pytest.raises(ValueError, match=msg): + df.iloc[:, indexer.values] + + @pytest.mark.parametrize("indexer", [True, (True,)]) + @pytest.mark.parametrize("dtype", [bool, "boolean"]) + def test_loc_bool_multiindex(self, dtype, indexer): + # GH#47687 + midx = MultiIndex.from_arrays( + [ + Series([True, True, False, False], dtype=dtype), + Series([True, False, True, False], dtype=dtype), + ], + names=["a", "b"], + ) + df = DataFrame({"c": [1, 2, 3, 4]}, index=midx) + with tm.maybe_produces_warning(PerformanceWarning, isinstance(indexer, tuple)): + result = df.loc[indexer] + expected = DataFrame( + {"c": [1, 2]}, index=Index([True, False], name="b", dtype=dtype) + ) + tm.assert_frame_equal(result, expected) + + @pytest.mark.parametrize("utc", [False, True]) + @pytest.mark.parametrize("indexer", ["date", ["date"]]) + def test_loc_datetime_assignment_dtype_does_not_change(self, utc, indexer): + # GH#49837 + df = DataFrame( + { + "date": to_datetime( + [datetime(2022, 1, 20), datetime(2022, 1, 22)], utc=utc + ), + "update": [True, False], + } + ) + expected = df.copy(deep=True) + + update_df = df[df["update"]] + + df.loc[df["update"], indexer] = update_df["date"] + + tm.assert_frame_equal(df, expected) + + @pytest.mark.parametrize("indexer, idx", [(tm.loc, 1), (tm.iloc, 2)]) + def test_setitem_value_coercing_dtypes(self, indexer, idx): + # GH#50467 + df = DataFrame([["1", np.nan], ["2", np.nan], ["3", np.nan]], dtype=object) + rhs = DataFrame([[1, np.nan], [2, np.nan]]) + indexer(df)[:idx, :] = rhs + expected = DataFrame([[1, np.nan], [2, np.nan], ["3", np.nan]], dtype=object) + tm.assert_frame_equal(df, expected) + + +class TestDataFrameIndexingUInt64: + def test_setitem(self): + df = DataFrame( + {"A": np.arange(3), "B": [2**63, 2**63 + 5, 2**63 + 10]}, + dtype=np.uint64, + ) + idx = df["A"].rename("foo") + + # setitem + assert "C" not in df.columns + df["C"] = idx + tm.assert_series_equal(df["C"], Series(idx, name="C")) + + assert "D" not in df.columns + df["D"] = "foo" + df["D"] = idx + tm.assert_series_equal(df["D"], Series(idx, name="D")) + del df["D"] + + # With NaN: because uint64 has no NaN element, + # the column should be cast to object. + df2 = df.copy() + with tm.assert_produces_warning(FutureWarning, match="incompatible dtype"): + df2.iloc[1, 1] = pd.NaT + df2.iloc[1, 2] = pd.NaT + result = df2["B"] + tm.assert_series_equal(notna(result), Series([True, False, True], name="B")) + tm.assert_series_equal( + df2.dtypes, + Series( + [np.dtype("uint64"), np.dtype("O"), np.dtype("O")], + index=["A", "B", "C"], + ), + ) + + +def test_object_casting_indexing_wraps_datetimelike(using_array_manager): + # GH#31649, check the indexing methods all the way down the stack + df = DataFrame( + { + "A": [1, 2], + "B": date_range("2000", periods=2), + "C": pd.timedelta_range("1 Day", periods=2), + } + ) + + ser = df.loc[0] + assert isinstance(ser.values[1], Timestamp) + assert isinstance(ser.values[2], pd.Timedelta) + + ser = df.iloc[0] + assert isinstance(ser.values[1], Timestamp) + assert isinstance(ser.values[2], pd.Timedelta) + + ser = df.xs(0, axis=0) + assert isinstance(ser.values[1], Timestamp) + assert isinstance(ser.values[2], pd.Timedelta) + + if using_array_manager: + # remainder of the test checking BlockManager internals + return + + mgr = df._mgr + mgr._rebuild_blknos_and_blklocs() + arr = mgr.fast_xs(0).array + assert isinstance(arr[1], Timestamp) + assert isinstance(arr[2], pd.Timedelta) + + blk = mgr.blocks[mgr.blknos[1]] + assert blk.dtype == "M8[ns]" # we got the right block + val = blk.iget((0, 0)) + assert isinstance(val, Timestamp) + + blk = mgr.blocks[mgr.blknos[2]] + assert blk.dtype == "m8[ns]" # we got the right block + val = blk.iget((0, 0)) + assert isinstance(val, pd.Timedelta) + + +msg1 = r"Cannot setitem on a Categorical with a new category( \(.*\))?, set the" +msg2 = "Cannot set a Categorical with another, without identical categories" + + +class TestLocILocDataFrameCategorical: + @pytest.fixture + def orig(self): + cats = Categorical(["a", "a", "a", "a", "a", "a", "a"], categories=["a", "b"]) + idx = Index(["h", "i", "j", "k", "l", "m", "n"]) + values = [1, 1, 1, 1, 1, 1, 1] + orig = DataFrame({"cats": cats, "values": values}, index=idx) + return orig + + @pytest.fixture + def exp_single_row(self): + # The expected values if we change a single row + cats1 = Categorical(["a", "a", "b", "a", "a", "a", "a"], categories=["a", "b"]) + idx1 = Index(["h", "i", "j", "k", "l", "m", "n"]) + values1 = [1, 1, 2, 1, 1, 1, 1] + exp_single_row = DataFrame({"cats": cats1, "values": values1}, index=idx1) + return exp_single_row + + @pytest.fixture + def exp_multi_row(self): + # assign multiple rows (mixed values) (-> array) -> exp_multi_row + # changed multiple rows + cats2 = Categorical(["a", "a", "b", "b", "a", "a", "a"], categories=["a", "b"]) + idx2 = Index(["h", "i", "j", "k", "l", "m", "n"]) + values2 = [1, 1, 2, 2, 1, 1, 1] + exp_multi_row = DataFrame({"cats": cats2, "values": values2}, index=idx2) + return exp_multi_row + + @pytest.fixture + def exp_parts_cats_col(self): + # changed part of the cats column + cats3 = Categorical(["a", "a", "b", "b", "a", "a", "a"], categories=["a", "b"]) + idx3 = Index(["h", "i", "j", "k", "l", "m", "n"]) + values3 = [1, 1, 1, 1, 1, 1, 1] + exp_parts_cats_col = DataFrame({"cats": cats3, "values": values3}, index=idx3) + return exp_parts_cats_col + + @pytest.fixture + def exp_single_cats_value(self): + # changed single value in cats col + cats4 = Categorical(["a", "a", "b", "a", "a", "a", "a"], categories=["a", "b"]) + idx4 = Index(["h", "i", "j", "k", "l", "m", "n"]) + values4 = [1, 1, 1, 1, 1, 1, 1] + exp_single_cats_value = DataFrame( + {"cats": cats4, "values": values4}, index=idx4 + ) + return exp_single_cats_value + + @pytest.mark.parametrize("indexer", [tm.loc, tm.iloc]) + def test_loc_iloc_setitem_list_of_lists(self, orig, exp_multi_row, indexer): + # - assign multiple rows (mixed values) -> exp_multi_row + df = orig.copy() + + key = slice(2, 4) + if indexer is tm.loc: + key = slice("j", "k") + + indexer(df)[key, :] = [["b", 2], ["b", 2]] + tm.assert_frame_equal(df, exp_multi_row) + + df = orig.copy() + with pytest.raises(TypeError, match=msg1): + indexer(df)[key, :] = [["c", 2], ["c", 2]] + + @pytest.mark.parametrize("indexer", [tm.loc, tm.iloc, tm.at, tm.iat]) + def test_loc_iloc_at_iat_setitem_single_value_in_categories( + self, orig, exp_single_cats_value, indexer + ): + # - assign a single value -> exp_single_cats_value + df = orig.copy() + + key = (2, 0) + if indexer in [tm.loc, tm.at]: + key = (df.index[2], df.columns[0]) + + # "b" is among the categories for df["cat"}] + indexer(df)[key] = "b" + tm.assert_frame_equal(df, exp_single_cats_value) + + # "c" is not among the categories for df["cat"] + with pytest.raises(TypeError, match=msg1): + indexer(df)[key] = "c" + + @pytest.mark.parametrize("indexer", [tm.loc, tm.iloc]) + def test_loc_iloc_setitem_mask_single_value_in_categories( + self, orig, exp_single_cats_value, indexer + ): + # mask with single True + df = orig.copy() + + mask = df.index == "j" + key = 0 + if indexer is tm.loc: + key = df.columns[key] + + indexer(df)[mask, key] = "b" + tm.assert_frame_equal(df, exp_single_cats_value) + + @pytest.mark.parametrize("indexer", [tm.loc, tm.iloc]) + def test_loc_iloc_setitem_full_row_non_categorical_rhs( + self, orig, exp_single_row, indexer + ): + # - assign a complete row (mixed values) -> exp_single_row + df = orig.copy() + + key = 2 + if indexer is tm.loc: + key = df.index[2] + + # not categorical dtype, but "b" _is_ among the categories for df["cat"] + indexer(df)[key, :] = ["b", 2] + tm.assert_frame_equal(df, exp_single_row) + + # "c" is not among the categories for df["cat"] + with pytest.raises(TypeError, match=msg1): + indexer(df)[key, :] = ["c", 2] + + @pytest.mark.parametrize("indexer", [tm.loc, tm.iloc]) + def test_loc_iloc_setitem_partial_col_categorical_rhs( + self, orig, exp_parts_cats_col, indexer + ): + # assign a part of a column with dtype == categorical -> + # exp_parts_cats_col + df = orig.copy() + + key = (slice(2, 4), 0) + if indexer is tm.loc: + key = (slice("j", "k"), df.columns[0]) + + # same categories as we currently have in df["cats"] + compat = Categorical(["b", "b"], categories=["a", "b"]) + indexer(df)[key] = compat + tm.assert_frame_equal(df, exp_parts_cats_col) + + # categories do not match df["cat"]'s, but "b" is among them + semi_compat = Categorical(list("bb"), categories=list("abc")) + with pytest.raises(TypeError, match=msg2): + # different categories but holdable values + # -> not sure if this should fail or pass + indexer(df)[key] = semi_compat + + # categories do not match df["cat"]'s, and "c" is not among them + incompat = Categorical(list("cc"), categories=list("abc")) + with pytest.raises(TypeError, match=msg2): + # different values + indexer(df)[key] = incompat + + @pytest.mark.parametrize("indexer", [tm.loc, tm.iloc]) + def test_loc_iloc_setitem_non_categorical_rhs( + self, orig, exp_parts_cats_col, indexer + ): + # assign a part of a column with dtype != categorical -> exp_parts_cats_col + df = orig.copy() + + key = (slice(2, 4), 0) + if indexer is tm.loc: + key = (slice("j", "k"), df.columns[0]) + + # "b" is among the categories for df["cat"] + indexer(df)[key] = ["b", "b"] + tm.assert_frame_equal(df, exp_parts_cats_col) + + # "c" not part of the categories + with pytest.raises(TypeError, match=msg1): + indexer(df)[key] = ["c", "c"] + + @pytest.mark.parametrize("indexer", [tm.getitem, tm.loc, tm.iloc]) + def test_getitem_preserve_object_index_with_dates(self, indexer): + # https://github.com/pandas-dev/pandas/pull/42950 - when selecting a column + # from dataframe, don't try to infer object dtype index on Series construction + idx = date_range("2012", periods=3).astype(object) + df = DataFrame({0: [1, 2, 3]}, index=idx) + assert df.index.dtype == object + + if indexer is tm.getitem: + ser = indexer(df)[0] + else: + ser = indexer(df)[:, 0] + + assert ser.index.dtype == object + + def test_loc_on_multiindex_one_level(self): + # GH#45779 + df = DataFrame( + data=[[0], [1]], + index=MultiIndex.from_tuples([("a",), ("b",)], names=["first"]), + ) + expected = DataFrame( + data=[[0]], index=MultiIndex.from_tuples([("a",)], names=["first"]) + ) + result = df.loc["a"] + tm.assert_frame_equal(result, expected) + + +class TestDeprecatedIndexers: + @pytest.mark.parametrize( + "key", [{1}, {1: 1}, ({1}, "a"), ({1: 1}, "a"), (1, {"a"}), (1, {"a": "a"})] + ) + def test_getitem_dict_and_set_deprecated(self, key): + # GH#42825 enforced in 2.0 + df = DataFrame([[1, 2], [3, 4]], columns=["a", "b"]) + with pytest.raises(TypeError, match="as an indexer is not supported"): + df.loc[key] + + @pytest.mark.parametrize( + "key", + [ + {1}, + {1: 1}, + (({1}, 2), "a"), + (({1: 1}, 2), "a"), + ((1, 2), {"a"}), + ((1, 2), {"a": "a"}), + ], + ) + def test_getitem_dict_and_set_deprecated_multiindex(self, key): + # GH#42825 enforced in 2.0 + df = DataFrame( + [[1, 2], [3, 4]], + columns=["a", "b"], + index=MultiIndex.from_tuples([(1, 2), (3, 4)]), + ) + with pytest.raises(TypeError, match="as an indexer is not supported"): + df.loc[key] + + @pytest.mark.parametrize( + "key", [{1}, {1: 1}, ({1}, "a"), ({1: 1}, "a"), (1, {"a"}), (1, {"a": "a"})] + ) + def test_setitem_dict_and_set_disallowed(self, key): + # GH#42825 enforced in 2.0 + df = DataFrame([[1, 2], [3, 4]], columns=["a", "b"]) + with pytest.raises(TypeError, match="as an indexer is not supported"): + df.loc[key] = 1 + + @pytest.mark.parametrize( + "key", + [ + {1}, + {1: 1}, + (({1}, 2), "a"), + (({1: 1}, 2), "a"), + ((1, 2), {"a"}), + ((1, 2), {"a": "a"}), + ], + ) + def test_setitem_dict_and_set_disallowed_multiindex(self, key): + # GH#42825 enforced in 2.0 + df = DataFrame( + [[1, 2], [3, 4]], + columns=["a", "b"], + index=MultiIndex.from_tuples([(1, 2), (3, 4)]), + ) + with pytest.raises(TypeError, match="as an indexer is not supported"): + df.loc[key] = 1 + + +def test_adding_new_conditional_column() -> None: + # https://github.com/pandas-dev/pandas/issues/55025 + df = DataFrame({"x": [1]}) + df.loc[df["x"] == 1, "y"] = "1" + expected = DataFrame({"x": [1], "y": ["1"]}) + tm.assert_frame_equal(df, expected) + + df = DataFrame({"x": [1]}) + # try inserting something which numpy would store as 'object' + value = lambda x: x + df.loc[df["x"] == 1, "y"] = value + expected = DataFrame({"x": [1], "y": [value]}) + tm.assert_frame_equal(df, expected) + + +@pytest.mark.parametrize( + ("dtype", "infer_string"), + [ + (object, False), + (pd.StringDtype(na_value=np.nan), True), + ], +) +def test_adding_new_conditional_column_with_string(dtype, infer_string) -> None: + # https://github.com/pandas-dev/pandas/issues/56204 + df = DataFrame({"a": [1, 2], "b": [3, 4]}) + with pd.option_context("future.infer_string", infer_string): + df.loc[df["a"] == 1, "c"] = "1" + expected = DataFrame({"a": [1, 2], "b": [3, 4], "c": ["1", float("nan")]}).astype( + {"a": "int64", "b": "int64", "c": dtype} + ) + tm.assert_frame_equal(df, expected) + + +def test_add_new_column_infer_string(): + # GH#55366 + df = DataFrame({"x": [1]}) + with pd.option_context("future.infer_string", True): + df.loc[df["x"] == 1, "y"] = "1" + expected = DataFrame( + {"x": [1], "y": Series(["1"], dtype=pd.StringDtype(na_value=np.nan))}, + columns=Index(["x", "y"], dtype="str"), + ) + tm.assert_frame_equal(df, expected) + + +class TestSetitemValidation: + # This is adapted from pandas/tests/arrays/masked/test_indexing.py + # but checks for warnings instead of errors. + def _check_setitem_invalid(self, df, invalid, indexer, warn): + msg = "Setting an item of incompatible dtype is deprecated" + msg = re.escape(msg) + + orig_df = df.copy() + + # iloc + with tm.assert_produces_warning(warn, match=msg): + df.iloc[indexer, 0] = invalid + df = orig_df.copy() + + # loc + with tm.assert_produces_warning(warn, match=msg): + df.loc[indexer, "a"] = invalid + df = orig_df.copy() + + _invalid_scalars = [ + 1 + 2j, + "True", + "1", + "1.0", + pd.NaT, + np.datetime64("NaT"), + np.timedelta64("NaT"), + ] + _indexers = [0, [0], slice(0, 1), [True, False, False], slice(None, None, None)] + + @pytest.mark.parametrize( + "invalid", _invalid_scalars + [1, 1.0, np.int64(1), np.float64(1)] + ) + @pytest.mark.parametrize("indexer", _indexers) + def test_setitem_validation_scalar_bool(self, invalid, indexer): + df = DataFrame({"a": [True, False, False]}, dtype="bool") + self._check_setitem_invalid(df, invalid, indexer, FutureWarning) + + @pytest.mark.parametrize("invalid", _invalid_scalars + [True, 1.5, np.float64(1.5)]) + @pytest.mark.parametrize("indexer", _indexers) + def test_setitem_validation_scalar_int(self, invalid, any_int_numpy_dtype, indexer): + df = DataFrame({"a": [1, 2, 3]}, dtype=any_int_numpy_dtype) + if isna(invalid) and invalid is not pd.NaT and not np.isnat(invalid): + warn = None + else: + warn = FutureWarning + self._check_setitem_invalid(df, invalid, indexer, warn) + + @pytest.mark.parametrize("invalid", _invalid_scalars + [True]) + @pytest.mark.parametrize("indexer", _indexers) + def test_setitem_validation_scalar_float(self, invalid, float_numpy_dtype, indexer): + df = DataFrame({"a": [1, 2, None]}, dtype=float_numpy_dtype) + self._check_setitem_invalid(df, invalid, indexer, FutureWarning) diff --git a/shared/package-files/37/378f799f16a21e9750d1ee75d2dfcf50751700a87e36a0dc368fb78a90048dd3/var.h b/shared/package-files/37/378f799f16a21e9750d1ee75d2dfcf50751700a87e36a0dc368fb78a90048dd3/var.h new file mode 100644 index 0000000000000000000000000000000000000000..4c8d4e42d2db30871f8656a87a9e589924327cae --- /dev/null +++ b/shared/package-files/37/378f799f16a21e9750d1ee75d2dfcf50751700a87e36a0dc368fb78a90048dd3/var.h @@ -0,0 +1,86 @@ +#pragma once + +// @generated by torchgen/gen.py from Function.h + +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include + + + +#include + +namespace at { + + +// aten::var(Tensor self, bool unbiased=True) -> Tensor +inline at::Tensor var(const at::Tensor & self, bool unbiased) { + return at::_ops::var::call(self, unbiased); +} + +// aten::var.dim(Tensor self, int[1]? dim, bool unbiased=True, bool keepdim=False) -> Tensor +inline at::Tensor var(const at::Tensor & self, at::OptionalIntArrayRef dim, bool unbiased, bool keepdim=false) { + return at::_ops::var_dim::call(self, dim, unbiased, keepdim); +} + +// aten::var.correction(Tensor self, int[1]? dim=None, *, Scalar? correction=None, bool keepdim=False) -> Tensor +inline at::Tensor var(const at::Tensor & self, at::OptionalIntArrayRef dim=c10::nullopt, const c10::optional & correction=c10::nullopt, bool keepdim=false) { + return at::_ops::var_correction::call(self, dim, correction, keepdim); +} + +// aten::var.out(Tensor self, int[1]? dim, bool unbiased=True, bool keepdim=False, *, Tensor(a!) out) -> Tensor(a!) +inline at::Tensor & var_out(at::Tensor & out, const at::Tensor & self, at::OptionalIntArrayRef dim, bool unbiased, bool keepdim=false) { + return at::_ops::var_out::call(self, dim, unbiased, keepdim, out); +} +// aten::var.out(Tensor self, int[1]? dim, bool unbiased=True, bool keepdim=False, *, Tensor(a!) out) -> Tensor(a!) +inline at::Tensor & var_outf(const at::Tensor & self, at::OptionalIntArrayRef dim, bool unbiased, bool keepdim, at::Tensor & out) { + return at::_ops::var_out::call(self, dim, unbiased, keepdim, out); +} + +// aten::var.correction_out(Tensor self, int[1]? dim=None, *, Scalar? correction=None, bool keepdim=False, Tensor(a!) out) -> Tensor(a!) +inline at::Tensor & var_out(at::Tensor & out, const at::Tensor & self, at::OptionalIntArrayRef dim=c10::nullopt, const c10::optional & correction=c10::nullopt, bool keepdim=false) { + return at::_ops::var_correction_out::call(self, dim, correction, keepdim, out); +} +// aten::var.correction_out(Tensor self, int[1]? dim=None, *, Scalar? correction=None, bool keepdim=False, Tensor(a!) out) -> Tensor(a!) +inline at::Tensor & var_outf(const at::Tensor & self, at::OptionalIntArrayRef dim, const c10::optional & correction, bool keepdim, at::Tensor & out) { + return at::_ops::var_correction_out::call(self, dim, correction, keepdim, out); +} + +// aten::var.names_dim(Tensor self, Dimname[1] dim, bool unbiased=True, bool keepdim=False) -> Tensor +inline at::Tensor var(const at::Tensor & self, at::DimnameList dim, bool unbiased, bool keepdim=false) { + return at::_ops::var_names_dim::call(self, dim, unbiased, keepdim); +} + +// aten::var.names_out(Tensor self, Dimname[1] dim, bool unbiased=True, bool keepdim=False, *, Tensor(a!) out) -> Tensor(a!) +inline at::Tensor & var_out(at::Tensor & out, const at::Tensor & self, at::DimnameList dim, bool unbiased, bool keepdim=false) { + return at::_ops::var_names_out::call(self, dim, unbiased, keepdim, out); +} +// aten::var.names_out(Tensor self, Dimname[1] dim, bool unbiased=True, bool keepdim=False, *, Tensor(a!) out) -> Tensor(a!) +inline at::Tensor & var_outf(const at::Tensor & self, at::DimnameList dim, bool unbiased, bool keepdim, at::Tensor & out) { + return at::_ops::var_names_out::call(self, dim, unbiased, keepdim, out); +} + +// aten::var.correction_names(Tensor self, Dimname[1] dim, *, Scalar? correction=None, bool keepdim=False) -> Tensor +inline at::Tensor var(const at::Tensor & self, at::DimnameList dim, const c10::optional & correction=c10::nullopt, bool keepdim=false) { + return at::_ops::var_correction_names::call(self, dim, correction, keepdim); +} + +// aten::var.correction_names_out(Tensor self, Dimname[1] dim, *, Scalar? correction=None, bool keepdim=False, Tensor(a!) out) -> Tensor(a!) +inline at::Tensor & var_out(at::Tensor & out, const at::Tensor & self, at::DimnameList dim, const c10::optional & correction=c10::nullopt, bool keepdim=false) { + return at::_ops::var_correction_names_out::call(self, dim, correction, keepdim, out); +} +// aten::var.correction_names_out(Tensor self, Dimname[1] dim, *, Scalar? correction=None, bool keepdim=False, Tensor(a!) out) -> Tensor(a!) +inline at::Tensor & var_outf(const at::Tensor & self, at::DimnameList dim, const c10::optional & correction, bool keepdim, at::Tensor & out) { + return at::_ops::var_correction_names_out::call(self, dim, correction, keepdim, out); +} + +} diff --git a/shared/package-files/37/378fc871b1f92fa4f535098f5961a18511bd58a5f5934c61951f015bd48598c3/dimension.py b/shared/package-files/37/378fc871b1f92fa4f535098f5961a18511bd58a5f5934c61951f015bd48598c3/dimension.py new file mode 100644 index 0000000000000000000000000000000000000000..c1f05f9439a5f2522f2295e44efab01b2a73d1e4 --- /dev/null +++ b/shared/package-files/37/378fc871b1f92fa4f535098f5961a18511bd58a5f5934c61951f015bd48598c3/dimension.py @@ -0,0 +1,219 @@ +""" +Layout dimensions are used to give the minimum, maximum and preferred +dimensions for containers and controls. +""" +from __future__ import annotations + +from typing import TYPE_CHECKING, Any, Callable, Union + +__all__ = [ + "Dimension", + "D", + "sum_layout_dimensions", + "max_layout_dimensions", + "AnyDimension", + "to_dimension", + "is_dimension", +] + +if TYPE_CHECKING: + from typing_extensions import TypeGuard + + +class Dimension: + """ + Specified dimension (width/height) of a user control or window. + + The layout engine tries to honor the preferred size. If that is not + possible, because the terminal is larger or smaller, it tries to keep in + between min and max. + + :param min: Minimum size. + :param max: Maximum size. + :param weight: For a VSplit/HSplit, the actual size will be determined + by taking the proportion of weights from all the children. + E.g. When there are two children, one with a weight of 1, + and the other with a weight of 2, the second will always be + twice as big as the first, if the min/max values allow it. + :param preferred: Preferred size. + """ + + def __init__( + self, + min: int | None = None, + max: int | None = None, + weight: int | None = None, + preferred: int | None = None, + ) -> None: + if weight is not None: + assert weight >= 0 # Also cannot be a float. + + assert min is None or min >= 0 + assert max is None or max >= 0 + assert preferred is None or preferred >= 0 + + self.min_specified = min is not None + self.max_specified = max is not None + self.preferred_specified = preferred is not None + self.weight_specified = weight is not None + + if min is None: + min = 0 # Smallest possible value. + if max is None: # 0-values are allowed, so use "is None" + max = 1000**10 # Something huge. + if preferred is None: + preferred = min + if weight is None: + weight = 1 + + self.min = min + self.max = max + self.preferred = preferred + self.weight = weight + + # Don't allow situations where max < min. (This would be a bug.) + if max < min: + raise ValueError("Invalid Dimension: max < min.") + + # Make sure that the 'preferred' size is always in the min..max range. + if self.preferred < self.min: + self.preferred = self.min + + if self.preferred > self.max: + self.preferred = self.max + + @classmethod + def exact(cls, amount: int) -> Dimension: + """ + Return a :class:`.Dimension` with an exact size. (min, max and + preferred set to ``amount``). + """ + return cls(min=amount, max=amount, preferred=amount) + + @classmethod + def zero(cls) -> Dimension: + """ + Create a dimension that represents a zero size. (Used for 'invisible' + controls.) + """ + return cls.exact(amount=0) + + def is_zero(self) -> bool: + "True if this `Dimension` represents a zero size." + return self.preferred == 0 or self.max == 0 + + def __repr__(self) -> str: + fields = [] + if self.min_specified: + fields.append("min=%r" % self.min) + if self.max_specified: + fields.append("max=%r" % self.max) + if self.preferred_specified: + fields.append("preferred=%r" % self.preferred) + if self.weight_specified: + fields.append("weight=%r" % self.weight) + + return "Dimension(%s)" % ", ".join(fields) + + +def sum_layout_dimensions(dimensions: list[Dimension]) -> Dimension: + """ + Sum a list of :class:`.Dimension` instances. + """ + min = sum(d.min for d in dimensions) + max = sum(d.max for d in dimensions) + preferred = sum(d.preferred for d in dimensions) + + return Dimension(min=min, max=max, preferred=preferred) + + +def max_layout_dimensions(dimensions: list[Dimension]) -> Dimension: + """ + Take the maximum of a list of :class:`.Dimension` instances. + Used when we have a HSplit/VSplit, and we want to get the best width/height.) + """ + if not len(dimensions): + return Dimension.zero() + + # If all dimensions are size zero. Return zero. + # (This is important for HSplit/VSplit, to report the right values to their + # parent when all children are invisible.) + if all(d.is_zero() for d in dimensions): + return dimensions[0] + + # Ignore empty dimensions. (They should not reduce the size of others.) + dimensions = [d for d in dimensions if not d.is_zero()] + + if dimensions: + # Take the highest minimum dimension. + min_ = max(d.min for d in dimensions) + + # For the maximum, we would prefer not to go larger than then smallest + # 'max' value, unless other dimensions have a bigger preferred value. + # This seems to work best: + # - We don't want that a widget with a small height in a VSplit would + # shrink other widgets in the split. + # If it doesn't work well enough, then it's up to the UI designer to + # explicitly pass dimensions. + max_ = min(d.max for d in dimensions) + max_ = max(max_, max(d.preferred for d in dimensions)) + + # Make sure that min>=max. In some scenarios, when certain min..max + # ranges don't have any overlap, we can end up in such an impossible + # situation. In that case, give priority to the max value. + # E.g. taking (1..5) and (8..9) would return (8..5). Instead take (8..8). + if min_ > max_: + max_ = min_ + + preferred = max(d.preferred for d in dimensions) + + return Dimension(min=min_, max=max_, preferred=preferred) + else: + return Dimension() + + +# Anything that can be converted to a dimension. +AnyDimension = Union[ + None, # None is a valid dimension that will fit anything. + int, + Dimension, + # Callable[[], 'AnyDimension'] # Recursive definition not supported by mypy. + Callable[[], Any], +] + + +def to_dimension(value: AnyDimension) -> Dimension: + """ + Turn the given object into a `Dimension` object. + """ + if value is None: + return Dimension() + if isinstance(value, int): + return Dimension.exact(value) + if isinstance(value, Dimension): + return value + if callable(value): + return to_dimension(value()) + + raise ValueError("Not an integer or Dimension object.") + + +def is_dimension(value: object) -> TypeGuard[AnyDimension]: + """ + Test whether the given value could be a valid dimension. + (For usage in an assertion. It's not guaranteed in case of a callable.) + """ + if value is None: + return True + if callable(value): + return True # Assume it's a callable that doesn't take arguments. + if isinstance(value, (int, Dimension)): + return True + return False + + +# Common alias. +D = Dimension + +# For backward-compatibility. +LayoutDimension = Dimension diff --git a/shared/package-files/37/378fe3c3910ccd42131640bb2083e1a5fbe8528db061b006c24c2dbc346fabe3/python-config.py b/shared/package-files/37/378fe3c3910ccd42131640bb2083e1a5fbe8528db061b006c24c2dbc346fabe3/python-config.py new file mode 100644 index 0000000000000000000000000000000000000000..e8e1ce634608c69eb797e08851827c5388704e92 --- /dev/null +++ b/shared/package-files/37/378fe3c3910ccd42131640bb2083e1a5fbe8528db061b006c24c2dbc346fabe3/python-config.py @@ -0,0 +1,74 @@ +#!/opt/conda/bin/python3.10 +# -*- python -*- + +# Keep this script in sync with python-config.sh.in + +import getopt +import os +import sys +import sysconfig + +valid_opts = ['prefix', 'exec-prefix', 'includes', 'libs', 'cflags', + 'ldflags', 'extension-suffix', 'help', 'abiflags', 'configdir', + 'embed'] + +def exit_with_usage(code=1): + print("Usage: {0} [{1}]".format( + sys.argv[0], '|'.join('--'+opt for opt in valid_opts)), file=sys.stderr) + sys.exit(code) + +try: + opts, args = getopt.getopt(sys.argv[1:], '', valid_opts) +except getopt.error: + exit_with_usage() + +if not opts: + exit_with_usage() + +getvar = sysconfig.get_config_var +pyver = getvar('VERSION') + +opt_flags = [flag for (flag, val) in opts] + +if '--help' in opt_flags: + exit_with_usage(code=0) + +for opt in opt_flags: + if opt == '--prefix': + print(getvar('prefix')) + + elif opt == '--exec-prefix': + print(getvar('exec_prefix')) + + elif opt in ('--includes', '--cflags'): + flags = ['-I' + sysconfig.get_path('include'), + '-I' + sysconfig.get_path('platinclude')] + if opt == '--cflags': + flags.extend(getvar('CFLAGS').split()) + print(' '.join(flags)) + + elif opt in ('--libs', '--ldflags'): + libs = [] + if '--embed' in opt_flags: + libs.append('-lpython' + pyver + sys.abiflags) + else: + libpython = getvar('LIBPYTHON') + if libpython: + libs.append(libpython) + libs.extend(getvar('LIBS').split() + getvar('SYSLIBS').split()) + + # add the prefix/lib/pythonX.Y/config dir, but only if there is no + # shared library in prefix/lib/. + if opt == '--ldflags': + if not getvar('Py_ENABLE_SHARED'): + libs.insert(0, '-L' + getvar('LIBPL')) + print(' '.join(libs)) + + elif opt == '--extension-suffix': + print(getvar('EXT_SUFFIX')) + + elif opt == '--abiflags': + print(sys.abiflags) + + elif opt == '--configdir': + print(getvar('LIBPL')) diff --git a/shared/package-files/37/37907aca3c890044a55dff7fe4e1200bd40e0f0002f6c2a3398a100aefd94dbb/tvi912b+mc b/shared/package-files/37/37907aca3c890044a55dff7fe4e1200bd40e0f0002f6c2a3398a100aefd94dbb/tvi912b+mc new file mode 100644 index 0000000000000000000000000000000000000000..4db7177801115bfb3b041c3d6ada860536c955a1 Binary files /dev/null and b/shared/package-files/37/37907aca3c890044a55dff7fe4e1200bd40e0f0002f6c2a3398a100aefd94dbb/tvi912b+mc differ diff --git a/shared/package-files/37/3790ec12fca1534a81b25627a57151bcf660952281e794377ab4b5323047a52a/eliminate_no_ops.h b/shared/package-files/37/3790ec12fca1534a81b25627a57151bcf660952281e794377ab4b5323047a52a/eliminate_no_ops.h new file mode 100644 index 0000000000000000000000000000000000000000..0087d306c23bc9b4580d669ec8009ec8b83b9e79 --- /dev/null +++ b/shared/package-files/37/3790ec12fca1534a81b25627a57151bcf660952281e794377ab4b5323047a52a/eliminate_no_ops.h @@ -0,0 +1,17 @@ +#pragma once + +#include + +namespace torch { +namespace jit { + +// Remove ops that do nothing on the forward pass (like aten::detach). +// This pass is invoked as a part of freeze_module. +// This function also takes a set of custom ops to eliminate. All ops in this +// set must take their output as their first input, i.e. x = f(x, ...) +TORCH_API bool EliminateNoOps( + std::shared_ptr& graph, + std::unordered_set custom_ops = {}); + +} // namespace jit +} // namespace torch diff --git a/shared/package-files/37/379189f12af0559e2134668cfd09402e5dbcdc4335de74956ed3bcb814520306/test_constructors.py b/shared/package-files/37/379189f12af0559e2134668cfd09402e5dbcdc4335de74956ed3bcb814520306/test_constructors.py new file mode 100644 index 0000000000000000000000000000000000000000..2831c8abdaf137b6454ea8f73bff7e94a3ec1b2b --- /dev/null +++ b/shared/package-files/37/379189f12af0559e2134668cfd09402e5dbcdc4335de74956ed3bcb814520306/test_constructors.py @@ -0,0 +1,285 @@ +import numpy as np +import pytest + +from pandas._libs.sparse import IntIndex + +import pandas as pd +from pandas import ( + SparseDtype, + isna, +) +import pandas._testing as tm +from pandas.core.arrays.sparse import SparseArray + + +class TestConstructors: + def test_constructor_dtype(self): + arr = SparseArray([np.nan, 1, 2, np.nan]) + assert arr.dtype == SparseDtype(np.float64, np.nan) + assert arr.dtype.subtype == np.float64 + assert np.isnan(arr.fill_value) + + arr = SparseArray([np.nan, 1, 2, np.nan], fill_value=0) + assert arr.dtype == SparseDtype(np.float64, 0) + assert arr.fill_value == 0 + + arr = SparseArray([0, 1, 2, 4], dtype=np.float64) + assert arr.dtype == SparseDtype(np.float64, np.nan) + assert np.isnan(arr.fill_value) + + arr = SparseArray([0, 1, 2, 4], dtype=np.int64) + assert arr.dtype == SparseDtype(np.int64, 0) + assert arr.fill_value == 0 + + arr = SparseArray([0, 1, 2, 4], fill_value=0, dtype=np.int64) + assert arr.dtype == SparseDtype(np.int64, 0) + assert arr.fill_value == 0 + + arr = SparseArray([0, 1, 2, 4], dtype=None) + assert arr.dtype == SparseDtype(np.int64, 0) + assert arr.fill_value == 0 + + arr = SparseArray([0, 1, 2, 4], fill_value=0, dtype=None) + assert arr.dtype == SparseDtype(np.int64, 0) + assert arr.fill_value == 0 + + def test_constructor_dtype_str(self): + result = SparseArray([1, 2, 3], dtype="int") + expected = SparseArray([1, 2, 3], dtype=int) + tm.assert_sp_array_equal(result, expected) + + def test_constructor_sparse_dtype(self): + result = SparseArray([1, 0, 0, 1], dtype=SparseDtype("int64", -1)) + expected = SparseArray([1, 0, 0, 1], fill_value=-1, dtype=np.int64) + tm.assert_sp_array_equal(result, expected) + assert result.sp_values.dtype == np.dtype("int64") + + def test_constructor_sparse_dtype_str(self): + result = SparseArray([1, 0, 0, 1], dtype="Sparse[int32]") + expected = SparseArray([1, 0, 0, 1], dtype=np.int32) + tm.assert_sp_array_equal(result, expected) + assert result.sp_values.dtype == np.dtype("int32") + + def test_constructor_object_dtype(self): + # GH#11856 + arr = SparseArray(["A", "A", np.nan, "B"], dtype=object) + assert arr.dtype == SparseDtype(object) + assert np.isnan(arr.fill_value) + + arr = SparseArray(["A", "A", np.nan, "B"], dtype=object, fill_value="A") + assert arr.dtype == SparseDtype(object, "A") + assert arr.fill_value == "A" + + def test_constructor_object_dtype_bool_fill(self): + # GH#17574 + data = [False, 0, 100.0, 0.0] + arr = SparseArray(data, dtype=object, fill_value=False) + assert arr.dtype == SparseDtype(object, False) + assert arr.fill_value is False + arr_expected = np.array(data, dtype=object) + it = (type(x) == type(y) and x == y for x, y in zip(arr, arr_expected)) + assert np.fromiter(it, dtype=np.bool_).all() + + @pytest.mark.parametrize("dtype", [SparseDtype(int, 0), int]) + def test_constructor_na_dtype(self, dtype): + with pytest.raises(ValueError, match="Cannot convert"): + SparseArray([0, 1, np.nan], dtype=dtype) + + def test_constructor_warns_when_losing_timezone(self): + # GH#32501 warn when losing timezone information + dti = pd.date_range("2016-01-01", periods=3, tz="US/Pacific") + + expected = SparseArray(np.asarray(dti, dtype="datetime64[ns]")) + + with tm.assert_produces_warning(UserWarning): + result = SparseArray(dti) + + tm.assert_sp_array_equal(result, expected) + + with tm.assert_produces_warning(UserWarning): + result = SparseArray(pd.Series(dti)) + + tm.assert_sp_array_equal(result, expected) + + def test_constructor_spindex_dtype(self): + arr = SparseArray(data=[1, 2], sparse_index=IntIndex(4, [1, 2])) + # TODO: actionable? + # XXX: Behavior change: specifying SparseIndex no longer changes the + # fill_value + expected = SparseArray([0, 1, 2, 0], kind="integer") + tm.assert_sp_array_equal(arr, expected) + assert arr.dtype == SparseDtype(np.int64) + assert arr.fill_value == 0 + + arr = SparseArray( + data=[1, 2, 3], + sparse_index=IntIndex(4, [1, 2, 3]), + dtype=np.int64, + fill_value=0, + ) + exp = SparseArray([0, 1, 2, 3], dtype=np.int64, fill_value=0) + tm.assert_sp_array_equal(arr, exp) + assert arr.dtype == SparseDtype(np.int64) + assert arr.fill_value == 0 + + arr = SparseArray( + data=[1, 2], sparse_index=IntIndex(4, [1, 2]), fill_value=0, dtype=np.int64 + ) + exp = SparseArray([0, 1, 2, 0], fill_value=0, dtype=np.int64) + tm.assert_sp_array_equal(arr, exp) + assert arr.dtype == SparseDtype(np.int64) + assert arr.fill_value == 0 + + arr = SparseArray( + data=[1, 2, 3], + sparse_index=IntIndex(4, [1, 2, 3]), + dtype=None, + fill_value=0, + ) + exp = SparseArray([0, 1, 2, 3], dtype=None) + tm.assert_sp_array_equal(arr, exp) + assert arr.dtype == SparseDtype(np.int64) + assert arr.fill_value == 0 + + @pytest.mark.parametrize("sparse_index", [None, IntIndex(1, [0])]) + def test_constructor_spindex_dtype_scalar(self, sparse_index): + # scalar input + msg = "Constructing SparseArray with scalar data is deprecated" + with tm.assert_produces_warning(FutureWarning, match=msg): + arr = SparseArray(data=1, sparse_index=sparse_index, dtype=None) + exp = SparseArray([1], dtype=None) + tm.assert_sp_array_equal(arr, exp) + assert arr.dtype == SparseDtype(np.int64) + assert arr.fill_value == 0 + + with tm.assert_produces_warning(FutureWarning, match=msg): + arr = SparseArray(data=1, sparse_index=IntIndex(1, [0]), dtype=None) + exp = SparseArray([1], dtype=None) + tm.assert_sp_array_equal(arr, exp) + assert arr.dtype == SparseDtype(np.int64) + assert arr.fill_value == 0 + + def test_constructor_spindex_dtype_scalar_broadcasts(self): + arr = SparseArray( + data=[1, 2], sparse_index=IntIndex(4, [1, 2]), fill_value=0, dtype=None + ) + exp = SparseArray([0, 1, 2, 0], fill_value=0, dtype=None) + tm.assert_sp_array_equal(arr, exp) + assert arr.dtype == SparseDtype(np.int64) + assert arr.fill_value == 0 + + @pytest.mark.parametrize( + "data, fill_value", + [ + (np.array([1, 2]), 0), + (np.array([1.0, 2.0]), np.nan), + ([True, False], False), + ([pd.Timestamp("2017-01-01")], pd.NaT), + ], + ) + def test_constructor_inferred_fill_value(self, data, fill_value): + result = SparseArray(data).fill_value + + if isna(fill_value): + assert isna(result) + else: + assert result == fill_value + + @pytest.mark.parametrize("format", ["coo", "csc", "csr"]) + @pytest.mark.parametrize("size", [0, 10]) + def test_from_spmatrix(self, size, format): + sp_sparse = pytest.importorskip("scipy.sparse") + + mat = sp_sparse.random(size, 1, density=0.5, format=format) + result = SparseArray.from_spmatrix(mat) + + result = np.asarray(result) + expected = mat.toarray().ravel() + tm.assert_numpy_array_equal(result, expected) + + @pytest.mark.parametrize("format", ["coo", "csc", "csr"]) + def test_from_spmatrix_including_explicit_zero(self, format): + sp_sparse = pytest.importorskip("scipy.sparse") + + mat = sp_sparse.random(10, 1, density=0.5, format=format) + mat.data[0] = 0 + result = SparseArray.from_spmatrix(mat) + + result = np.asarray(result) + expected = mat.toarray().ravel() + tm.assert_numpy_array_equal(result, expected) + + def test_from_spmatrix_raises(self): + sp_sparse = pytest.importorskip("scipy.sparse") + + mat = sp_sparse.eye(5, 4, format="csc") + + with pytest.raises(ValueError, match="not '4'"): + SparseArray.from_spmatrix(mat) + + def test_constructor_from_too_large_array(self): + with pytest.raises(TypeError, match="expected dimension <= 1 data"): + SparseArray(np.arange(10).reshape((2, 5))) + + def test_constructor_from_sparse(self): + zarr = SparseArray([0, 0, 1, 2, 3, 0, 4, 5, 0, 6], fill_value=0) + res = SparseArray(zarr) + assert res.fill_value == 0 + tm.assert_almost_equal(res.sp_values, zarr.sp_values) + + def test_constructor_copy(self): + arr_data = np.array([np.nan, np.nan, 1, 2, 3, np.nan, 4, 5, np.nan, 6]) + arr = SparseArray(arr_data) + + cp = SparseArray(arr, copy=True) + cp.sp_values[:3] = 0 + assert not (arr.sp_values[:3] == 0).any() + + not_copy = SparseArray(arr) + not_copy.sp_values[:3] = 0 + assert (arr.sp_values[:3] == 0).all() + + def test_constructor_bool(self): + # GH#10648 + data = np.array([False, False, True, True, False, False]) + arr = SparseArray(data, fill_value=False, dtype=bool) + + assert arr.dtype == SparseDtype(bool) + tm.assert_numpy_array_equal(arr.sp_values, np.array([True, True])) + # Behavior change: np.asarray densifies. + # tm.assert_numpy_array_equal(arr.sp_values, np.asarray(arr)) + tm.assert_numpy_array_equal(arr.sp_index.indices, np.array([2, 3], np.int32)) + + dense = arr.to_dense() + assert dense.dtype == bool + tm.assert_numpy_array_equal(dense, data) + + def test_constructor_bool_fill_value(self): + arr = SparseArray([True, False, True], dtype=None) + assert arr.dtype == SparseDtype(np.bool_) + assert not arr.fill_value + + arr = SparseArray([True, False, True], dtype=np.bool_) + assert arr.dtype == SparseDtype(np.bool_) + assert not arr.fill_value + + arr = SparseArray([True, False, True], dtype=np.bool_, fill_value=True) + assert arr.dtype == SparseDtype(np.bool_, True) + assert arr.fill_value + + def test_constructor_float32(self): + # GH#10648 + data = np.array([1.0, np.nan, 3], dtype=np.float32) + arr = SparseArray(data, dtype=np.float32) + + assert arr.dtype == SparseDtype(np.float32) + tm.assert_numpy_array_equal(arr.sp_values, np.array([1, 3], dtype=np.float32)) + # Behavior change: np.asarray densifies. + # tm.assert_numpy_array_equal(arr.sp_values, np.asarray(arr)) + tm.assert_numpy_array_equal( + arr.sp_index.indices, np.array([0, 2], dtype=np.int32) + ) + + dense = arr.to_dense() + assert dense.dtype == np.float32 + tm.assert_numpy_array_equal(dense, data) diff --git a/shared/package-files/37/3792f90b1453e727ffbeaea9163a2b274f52afe45c9eb0251fefc5de412cc945/pdist-minkowski-3.2-ml-iris.txt b/shared/package-files/37/3792f90b1453e727ffbeaea9163a2b274f52afe45c9eb0251fefc5de412cc945/pdist-minkowski-3.2-ml-iris.txt new file mode 100644 index 0000000000000000000000000000000000000000..dc396c8c16032b9657101532f7e08e6aa04b2aea --- /dev/null +++ b/shared/package-files/37/3792f90b1453e727ffbeaea9163a2b274f52afe45c9eb0251fefc5de412cc945/pdist-minkowski-3.2-ml-iris.txt @@ -0,0 +1 @@ + 5.0817745e-01 4.4535192e-01 5.6700421e-01 1.2418578e-01 4.8927739e-01 5.0180477e-01 1.4096146e-01 8.1242502e-01 4.1586001e-01 3.2586371e-01 3.2586371e-01 5.2942799e-01 8.6137722e-01 7.7039952e-01 9.7270522e-01 4.5581864e-01 1.0000000e-01 6.3861009e-01 3.0546431e-01 3.7427929e-01 2.5251796e-01 5.6700421e-01 3.8776762e-01 5.2942799e-01 5.0905001e-01 2.5651975e-01 1.2418578e-01 1.2418578e-01 4.5470518e-01 4.5470518e-01 3.2816937e-01 6.0181382e-01 7.3457830e-01 4.1586001e-01 3.2586371e-01 4.0147421e-01 4.1586001e-01 7.6752131e-01 1.2418578e-01 1.4096146e-01 1.2396136e+00 7.1462831e-01 4.1449626e-01 5.3588338e-01 5.2942799e-01 3.2352160e-01 5.2862779e-01 2.5251796e-01 2.0656129e-01 3.5031395e+00 3.2158090e+00 3.6682165e+00 2.7164367e+00 3.3288934e+00 3.1477087e+00 3.4033622e+00 2.0308266e+00 3.3209346e+00 2.5912926e+00 2.3257069e+00 2.8912179e+00 2.7273721e+00 3.3660466e+00 2.2876649e+00 3.1664710e+00 3.1642132e+00 2.7448172e+00 3.2474124e+00 2.5734684e+00 3.5025969e+00 2.6980573e+00 3.5983434e+00 3.3515288e+00 3.0113552e+00 3.1469325e+00 3.5526357e+00 3.7475562e+00 3.1812462e+00 2.1818668e+00 2.4927109e+00 2.3909738e+00 2.5729378e+00 3.7711998e+00 3.1620401e+00 3.1916270e+00 3.4478147e+00 3.1312883e+00 2.7541224e+00 2.6886547e+00 3.0483897e+00 3.2685282e+00 2.6752185e+00 2.0587064e+00 2.8619072e+00 2.8416143e+00 2.8554471e+00 2.9845926e+00 1.7697734e+00 2.7640668e+00 4.7690606e+00 3.8067806e+00 4.6866422e+00 4.2843668e+00 4.5417384e+00 5.4120246e+00 3.2161426e+00 5.0569442e+00 4.5165793e+00 4.9462324e+00 3.8595100e+00 4.0249346e+00 4.2787236e+00 3.7387507e+00 3.9160762e+00 4.0938708e+00 4.2028863e+00 5.5316487e+00 5.7297286e+00 3.6968486e+00 4.5074741e+00 3.6330985e+00 5.5146761e+00 3.6293227e+00 4.4495340e+00 4.7599229e+00 3.5255287e+00 3.6076762e+00 4.3339547e+00 4.5590471e+00 4.8997298e+00 5.2856169e+00 4.3511402e+00 3.7760534e+00 4.2460554e+00 5.0103780e+00 4.3808704e+00 4.1939019e+00 3.5087649e+00 4.2018804e+00 4.4140402e+00 3.9807996e+00 3.8067806e+00 4.6775324e+00 4.5250934e+00 4.0376133e+00 3.7473276e+00 3.9523060e+00 4.1709262e+00 3.7872951e+00 2.5251796e-01 3.0546431e-01 6.0060595e-01 9.5035453e-01 4.4535192e-01 4.0293660e-01 5.0090417e-01 1.4096146e-01 7.6752131e-01 4.1449626e-01 1.2418578e-01 6.2024833e-01 1.1845977e+00 1.4700179e+00 9.4309624e-01 5.0905001e-01 1.0003617e+00 8.0358695e-01 5.8851328e-01 7.0826681e-01 6.6384020e-01 4.3456114e-01 5.6700421e-01 2.0656129e-01 4.2667565e-01 5.2942799e-01 4.4417983e-01 2.8192292e-01 2.1269358e-01 5.7324170e-01 1.1056650e+00 1.2393677e+00 1.4096146e-01 2.5251796e-01 6.8961791e-01 1.4096146e-01 5.0090417e-01 4.1449626e-01 5.0270183e-01 7.3535471e-01 5.0905001e-01 5.7324170e-01 8.5690100e-01 1.2418578e-01 8.0587320e-01 3.2352160e-01 7.3496673e-01 3.0275928e-01 3.5601468e+00 3.2472699e+00 3.7137483e+00 2.6693888e+00 3.3563815e+00 3.1472333e+00 3.4276314e+00 1.9506288e+00 3.3563695e+00 2.5739370e+00 2.1870094e+00 2.9033014e+00 2.6860278e+00 3.3789262e+00 2.2884830e+00 3.2153154e+00 3.1667333e+00 2.7423060e+00 3.2269725e+00 2.5465772e+00 3.5123782e+00 2.7147889e+00 3.6030381e+00 3.3619470e+00 3.0427908e+00 3.1888219e+00 3.5910272e+00 3.7805671e+00 3.1921903e+00 2.1611020e+00 2.4491518e+00 2.3430978e+00 2.5700421e+00 3.7741357e+00 3.1615131e+00 3.2084454e+00 3.4884789e+00 3.1228939e+00 2.7575407e+00 2.6617768e+00 3.0343591e+00 3.2842184e+00 2.6656374e+00 1.9595652e+00 2.8539100e+00 2.8474367e+00 2.8585579e+00 3.0059712e+00 1.6867642e+00 2.7634340e+00 4.7806735e+00 3.8055585e+00 4.7194850e+00 4.2963997e+00 4.5579706e+00 5.4507801e+00 3.1945300e+00 5.0903533e+00 4.5297786e+00 4.9814379e+00 3.8841455e+00 4.0376849e+00 4.3069372e+00 3.7284750e+00 3.9173293e+00 4.1124749e+00 4.2221165e+00 5.5759608e+00 5.7633066e+00 3.6758942e+00 4.5370189e+00 3.6312130e+00 5.5536680e+00 3.6416405e+00 4.4736906e+00 4.7961103e+00 3.5380868e+00 3.6203213e+00 4.3467079e+00 4.5977693e+00 4.9380624e+00 5.3421274e+00 4.3637834e+00 3.7899304e+00 4.2477635e+00 5.0602038e+00 4.3953045e+00 4.2110583e+00 3.5192753e+00 4.2358121e+00 4.4378207e+00 4.0189525e+00 3.8055585e+00 4.7017335e+00 4.5483787e+00 4.0656879e+00 3.7516222e+00 3.9742971e+00 4.1845313e+00 3.7939847e+00 2.1269358e-01 4.4535192e-01 8.9366705e-01 2.1845981e-01 3.4378533e-01 3.7427929e-01 2.5651975e-01 7.7039952e-01 3.2586371e-01 2.1845981e-01 4.2667565e-01 1.2113327e+00 1.3801284e+00 8.7175869e-01 4.4651726e-01 1.0719360e+00 6.5223271e-01 7.3813096e-01 5.7867728e-01 4.4535192e-01 5.2655962e-01 6.0611244e-01 3.8776762e-01 4.0176783e-01 5.3588338e-01 5.0905001e-01 3.0000000e-01 3.0546431e-01 7.1169738e-01 9.4309624e-01 1.1327825e+00 2.5651975e-01 3.0275928e-01 8.1067767e-01 2.5651975e-01 3.2352160e-01 4.2538717e-01 3.7427929e-01 9.0252542e-01 3.0000000e-01 5.1138698e-01 7.7869083e-01 2.1845981e-01 6.6384020e-01 1.2418578e-01 6.9325418e-01 3.0546431e-01 3.7098973e+00 3.3770904e+00 3.8553941e+00 2.7868575e+00 3.4895316e+00 3.2571492e+00 3.5499573e+00 2.0646687e+00 3.4944845e+00 2.6743800e+00 2.3196869e+00 3.0181476e+00 2.8270253e+00 3.4973911e+00 2.3997585e+00 3.3600102e+00 3.2716172e+00 2.8619072e+00 3.3597438e+00 2.6649106e+00 3.6203213e+00 2.8440609e+00 3.7280682e+00 3.4822008e+00 3.1786890e+00 3.3296038e+00 3.7325066e+00 3.9121945e+00 3.3084060e+00 2.2888897e+00 2.5683989e+00 2.4649412e+00 2.6906230e+00 3.8866112e+00 3.2625043e+00 3.3219248e+00 3.6264668e+00 3.2609948e+00 2.8656468e+00 2.7738624e+00 3.1430282e+00 3.4033622e+00 2.7865812e+00 2.0797392e+00 2.9638836e+00 2.9589097e+00 2.9695568e+00 3.1337459e+00 1.7991433e+00 2.8758936e+00 4.8875515e+00 3.9111857e+00 4.8490379e+00 4.4107143e+00 4.6725771e+00 5.5854254e+00 3.2933477e+00 5.2226262e+00 4.6541348e+00 5.1068487e+00 4.0049607e+00 4.1564977e+00 4.4321573e+00 3.8331006e+00 4.0161098e+00 4.2255639e+00 4.3417782e+00 5.7091264e+00 5.8970064e+00 3.7961619e+00 4.6611065e+00 3.7313856e+00 5.6903014e+00 3.7618406e+00 4.5942943e+00 4.9290197e+00 3.6553612e+00 3.7333492e+00 4.4613366e+00 4.7342792e+00 5.0749049e+00 5.4844039e+00 4.4774673e+00 3.9102500e+00 4.3611782e+00 5.2016658e+00 4.5034762e+00 4.3281161e+00 3.6300436e+00 4.3648112e+00 4.5562166e+00 4.1482002e+00 3.9111857e+00 4.8218416e+00 4.6648403e+00 4.1879434e+00 3.8717400e+00 4.0945154e+00 4.2919258e+00 3.9013483e+00 5.6700421e-01 9.9714776e-01 3.0546431e-01 4.4417983e-01 2.5251796e-01 3.0275928e-01 8.8835966e-01 3.2586371e-01 2.1845981e-01 4.4651726e-01 1.3360558e+00 1.5022608e+00 9.9714776e-01 5.6769031e-01 1.1765359e+00 7.6752131e-01 8.1354181e-01 6.9325418e-01 6.2092891e-01 5.4292906e-01 4.5470518e-01 4.0293660e-01 4.5581864e-01 6.4704320e-01 6.2024833e-01 1.4096146e-01 2.0656129e-01 8.1354181e-01 1.0574300e+00 1.2554784e+00 3.0275928e-01 4.4535192e-01 9.2264612e-01 3.0275928e-01 2.5251796e-01 5.2862779e-01 5.0592043e-01 8.0358695e-01 2.5251796e-01 5.6454040e-01 7.9878917e-01 2.1845981e-01 7.6752131e-01 1.2418578e-01 8.1242502e-01 4.1449626e-01 3.5875094e+00 3.2277825e+00 3.7190120e+00 2.6019240e+00 3.3414931e+00 3.0741797e+00 3.3904673e+00 1.8683030e+00 3.3506325e+00 2.4892190e+00 2.1209506e+00 2.8530088e+00 2.6606291e+00 3.3264150e+00 2.2345869e+00 3.2325480e+00 3.0894572e+00 2.6859989e+00 3.1954750e+00 2.4836725e+00 3.4467337e+00 2.6928468e+00 3.5602810e+00 3.3090659e+00 3.0346426e+00 3.1953687e+00 3.5930845e+00 3.7635112e+00 3.1392617e+00 2.1242643e+00 2.3839455e+00 2.2806773e+00 2.5225548e+00 3.7070070e+00 3.0760590e+00 3.1551922e+00 3.4865435e+00 3.1033781e+00 2.6867856e+00 2.5906376e+00 2.9536363e+00 3.2348458e+00 2.6148507e+00 1.8841403e+00 2.7819255e+00 2.7801917e+00 2.7920574e+00 2.9774862e+00 1.6195190e+00 2.7001131e+00 4.7151191e+00 3.7310738e+00 4.6963107e+00 4.2348119e+00 4.5036643e+00 5.4345951e+00 3.1040223e+00 5.0660245e+00 4.4858951e+00 4.9576471e+00 3.8485743e+00 3.9894963e+00 4.2781102e+00 3.6535208e+00 3.8473084e+00 4.0656969e+00 4.1736133e+00 5.5611269e+00 5.7439963e+00 3.6142694e+00 4.5082936e+00 3.5527533e+00 5.5400450e+00 3.5988819e+00 4.4321573e+00 4.7754556e+00 3.4913787e+00 3.5638529e+00 4.2915574e+00 4.5844335e+00 4.9269527e+00 5.3501611e+00 4.3091163e+00 3.7395252e+00 4.1763853e+00 5.0687940e+00 4.3363292e+00 4.1568278e+00 3.4594086e+00 4.2175903e+00 4.4004449e+00 4.0139427e+00 3.7310738e+00 4.6611132e+00 4.5083524e+00 4.0415593e+00 3.7070350e+00 3.9354060e+00 4.1243443e+00 3.7225506e+00 4.8927739e-01 4.1449626e-01 2.0656129e-01 8.1242502e-01 5.0270183e-01 4.0293660e-01 2.8192292e-01 6.0611244e-01 8.2305664e-01 8.2899253e-01 9.3824087e-01 4.5581864e-01 1.4096146e-01 7.1840099e-01 2.1845981e-01 4.5470518e-01 2.1845981e-01 4.9674312e-01 4.2418962e-01 5.1607523e-01 6.0551856e-01 2.8192292e-01 2.1269358e-01 2.4837156e-01 4.5470518e-01 5.1607523e-01 4.2667565e-01 5.0991930e-01 6.8917100e-01 5.0270183e-01 4.1312257e-01 5.0180477e-01 5.0270183e-01 7.4549115e-01 2.1269358e-01 1.4096146e-01 1.3190071e+00 6.4755655e-01 4.1449626e-01 5.1691876e-01 6.0611244e-01 2.5251796e-01 4.9674312e-01 3.0546431e-01 3.0000000e-01 3.5310961e+00 3.2313174e+00 3.6912396e+00 2.7363446e+00 3.3486156e+00 3.1550780e+00 3.4146950e+00 2.0587064e+00 3.3422688e+00 2.6000813e+00 2.3658814e+00 2.9005672e+00 2.7581254e+00 3.3764180e+00 2.2982662e+00 3.1914715e+00 3.1684808e+00 2.7581145e+00 3.2719146e+00 2.5906376e+00 3.5076679e+00 2.7164648e+00 3.6146980e+00 3.3629944e+00 3.0317688e+00 3.1699749e+00 3.5767944e+00 3.7653940e+00 3.1912695e+00 2.2046610e+00 2.5131017e+00 2.4132939e+00 2.5882494e+00 3.7797776e+00 3.1649733e+00 3.1986968e+00 3.4685882e+00 3.1575873e+00 2.7599092e+00 2.7031874e+00 3.0575551e+00 3.2787144e+00 2.6914804e+00 2.0914773e+00 2.8714673e+00 2.8482104e+00 2.8631525e+00 3.0002861e+00 1.8009624e+00 2.7738624e+00 4.7744685e+00 3.8132783e+00 4.7036953e+00 4.2925903e+00 4.5507995e+00 5.4317036e+00 3.2245243e+00 5.0748136e+00 4.5314818e+00 4.9621679e+00 3.8715927e+00 4.0372136e+00 4.2937599e+00 3.7469906e+00 3.9213497e+00 4.1030149e+00 4.2136261e+00 5.5512721e+00 5.7499082e+00 3.7127205e+00 4.5218897e+00 3.6377830e+00 5.5357771e+00 3.6429670e+00 4.4609633e+00 4.7775824e+00 3.5373240e+00 3.6158814e+00 4.3437318e+00 4.5790474e+00 4.9211035e+00 5.3110568e+00 4.3608329e+00 3.7876656e+00 4.2543813e+00 5.0356467e+00 4.3872625e+00 4.2028863e+00 3.5161021e+00 4.2189979e+00 4.4261470e+00 4.0000622e+00 3.8132783e+00 4.6893387e+00 4.5361087e+00 4.0527696e+00 3.7622948e+00 3.9645936e+00 4.1768667e+00 3.7924679e+00 8.6137722e-01 5.7867728e-01 1.2470767e+00 8.6361309e-01 2.8192292e-01 6.9369532e-01 9.8450810e-01 1.2949422e+00 5.7324170e-01 5.3588338e-01 4.0000000e-01 4.8135521e-01 3.0546431e-01 3.2816937e-01 5.0817745e-01 3.4378533e-01 9.4558103e-01 6.2024833e-01 6.9728513e-01 9.2288144e-01 5.6700421e-01 4.3691963e-01 5.4292906e-01 8.7202528e-01 8.9095811e-01 5.0817745e-01 3.6171588e-01 3.8934542e-01 8.6361309e-01 7.9878917e-01 5.0592043e-01 8.6361309e-01 1.1959482e+00 5.4292906e-01 5.6454040e-01 1.6807352e+00 1.1055064e+00 5.0592043e-01 3.2586371e-01 9.7779835e-01 3.2816937e-01 9.4558103e-01 2.8507955e-01 6.6827038e-01 3.1533911e+00 2.8840079e+00 3.3274872e+00 2.5335921e+00 3.0169509e+00 2.8661222e+00 3.0732956e+00 1.9492232e+00 3.0013391e+00 2.3437032e+00 2.3116343e+00 2.5873149e+00 2.5591371e+00 3.0631725e+00 2.0220740e+00 2.8270253e+00 2.8656468e+00 2.4892190e+00 3.0178921e+00 2.3656538e+00 3.1846482e+00 2.4132559e+00 3.3163294e+00 3.0590735e+00 2.6993871e+00 2.8174914e+00 3.2310326e+00 3.4162231e+00 2.8802219e+00 1.9932786e+00 2.3173648e+00 2.2314118e+00 2.3212593e+00 3.4779999e+00 2.8654680e+00 2.8662571e+00 3.1113805e+00 2.8927401e+00 2.4634131e+00 2.4685230e+00 2.7948819e+00 2.9596963e+00 2.4341346e+00 2.0039447e+00 2.6000813e+00 2.5498770e+00 2.5700421e+00 2.6813098e+00 1.7123398e+00 2.4913669e+00 4.4418755e+00 3.5123791e+00 4.3488707e+00 3.9713081e+00 4.2172545e+00 5.0700045e+00 2.9631582e+00 4.7239900e+00 4.2113881e+00 4.5979409e+00 3.5255287e+00 3.7162377e+00 3.9448212e+00 3.4598280e+00 3.6097419e+00 3.7620043e+00 3.8810240e+00 5.1822310e+00 5.3953096e+00 3.4508156e+00 4.1665786e+00 3.3353616e+00 5.1763300e+00 3.3260356e+00 4.1143832e+00 4.4201622e+00 3.2188998e+00 3.2929599e+00 4.0183758e+00 4.2229849e+00 4.5637045e+00 4.9290256e+00 4.0343724e+00 3.4708900e+00 3.9559935e+00 4.6576736e+00 4.0502252e+00 3.8718131e+00 3.1963475e+00 3.8610636e+00 4.0785553e+00 3.6345765e+00 3.5123791e+00 4.3416284e+00 4.1864302e+00 3.7018916e+00 3.4568305e+00 3.6254423e+00 3.8415026e+00 3.4775621e+00 4.0293660e-01 5.0905001e-01 3.8934542e-01 8.1130291e-01 2.5251796e-01 4.2538717e-01 4.8927739e-01 1.2406194e+00 1.3074132e+00 8.5233811e-01 5.0090417e-01 1.1185330e+00 5.6700421e-01 8.1099042e-01 5.3022554e-01 4.1449626e-01 5.3665999e-01 5.0905001e-01 5.0592043e-01 4.1449626e-01 6.0181382e-01 6.0060595e-01 2.5651975e-01 3.4583729e-01 8.0064372e-01 8.1558458e-01 1.0597541e+00 3.8934542e-01 4.2667565e-01 9.0074515e-01 3.8934542e-01 4.1586001e-01 5.0180477e-01 4.0293660e-01 1.1003197e+00 2.5651975e-01 4.5581864e-01 6.6539428e-01 4.1312257e-01 5.7324170e-01 2.0656129e-01 7.1504098e-01 4.0293660e-01 3.6583368e+00 3.3018939e+00 3.7934214e+00 2.7118627e+00 3.4196168e+00 3.1646752e+00 3.4663954e+00 1.9965608e+00 3.4302944e+00 2.5753574e+00 2.2837561e+00 2.9283888e+00 2.7788099e+00 3.4116298e+00 2.3101107e+00 3.3028359e+00 3.1719381e+00 2.7826178e+00 3.2957091e+00 2.5882494e+00 3.5217244e+00 2.7724782e+00 3.6509512e+00 3.3998935e+00 3.1126354e+00 3.2681313e+00 3.6719821e+00 3.8384263e+00 3.2202056e+00 2.2240476e+00 2.4960474e+00 2.3970928e+00 2.6119950e+00 3.7951491e+00 3.1592993e+00 3.2300555e+00 3.5604418e+00 3.2025128e+00 2.7701355e+00 2.6892823e+00 3.0524247e+00 3.3177721e+00 2.7092568e+00 2.0227167e+00 2.8731220e+00 2.8671099e+00 2.8775912e+00 3.0586720e+00 1.7332099e+00 2.7865812e+00 4.7866828e+00 3.8123695e+00 4.7714708e+00 4.3189924e+00 4.5796358e+00 5.5132325e+00 3.1921277e+00 5.1489022e+00 4.5737586e+00 5.0249531e+00 3.9185849e+00 4.0697987e+00 4.3502657e+00 3.7349501e+00 3.9102370e+00 4.1311343e+00 4.2548570e+00 5.6362307e+00 5.8240252e+00 3.7174048e+00 4.5773480e+00 3.6270581e+00 5.6209145e+00 3.6774027e+00 4.5072397e+00 4.8555167e+00 3.5675580e+00 3.6401392e+00 4.3693804e+00 4.6657186e+00 5.0062061e+00 5.4227201e+00 4.3844239e+00 3.8261182e+00 4.2718480e+00 5.1373047e+00 4.4043123e+00 4.2383633e+00 3.5347392e+00 4.2868650e+00 4.4668117e+00 4.0716645e+00 3.8123695e+00 4.7338066e+00 4.5734052e+00 4.1036179e+00 3.7882079e+00 4.0078491e+00 4.1922661e+00 3.8027591e+00 6.8961791e-01 3.0546431e-01 4.4417983e-01 2.0656129e-01 4.1586001e-01 7.6625946e-01 8.9687438e-01 1.0919712e+00 5.7867728e-01 1.5422108e-01 7.3851529e-01 4.0293660e-01 4.1312257e-01 3.2586371e-01 5.7257017e-01 3.2816937e-01 4.1312257e-01 4.0147421e-01 2.0656129e-01 2.0656129e-01 2.0656129e-01 3.2586371e-01 3.2586371e-01 4.1312257e-01 7.0437330e-01 8.5205778e-01 3.0546431e-01 3.2352160e-01 5.0905001e-01 3.0546431e-01 6.5172743e-01 1.0000000e-01 2.1269358e-01 1.1283882e+00 6.1092863e-01 4.0293660e-01 5.0592043e-01 4.1586001e-01 4.0293660e-01 4.1449626e-01 3.7255734e-01 1.2418578e-01 3.4445326e+00 3.1392617e+00 3.6011035e+00 2.6118700e+00 3.2516941e+00 3.0511838e+00 3.3218097e+00 1.9189245e+00 3.2468925e+00 2.4924452e+00 2.2081024e+00 2.8038661e+00 2.6291264e+00 3.2767369e+00 2.1964719e+00 3.1025274e+00 3.0696611e+00 2.6485861e+00 3.1554034e+00 2.4715204e+00 3.4135983e+00 2.6151245e+00 3.5092032e+00 3.2604423e+00 2.9354140e+00 3.0782101e+00 3.4818889e+00 3.6726568e+00 3.0922811e+00 2.0843471e+00 2.3874354e+00 2.2845234e+00 2.4794505e+00 3.6775470e+00 3.0659000e+00 3.1055388e+00 3.3775462e+00 3.0430948e+00 2.6597612e+00 2.5873149e+00 2.9471553e+00 3.1807044e+00 2.5795723e+00 1.9450499e+00 2.7640668e+00 2.7473221e+00 2.7611864e+00 2.9015702e+00 1.6626642e+00 2.6693888e+00 4.6823704e+00 3.7130994e+00 4.6117428e+00 4.1946425e+00 4.4565357e+00 5.3399939e+00 3.1168466e+00 4.9805386e+00 4.4303862e+00 4.8738189e+00 3.7806643e+00 3.9387918e+00 4.2018804e+00 3.6441274e+00 3.8290120e+00 4.0132700e+00 4.1177139e+00 5.4615788e+00 5.6559440e+00 3.5983434e+00 4.4321573e+00 3.5405803e+00 5.4429455e+00 3.5441556e+00 4.3687483e+00 4.6853394e+00 3.4399664e+00 3.5203203e+00 4.2473048e+00 4.4861009e+00 4.8281381e+00 5.2242271e+00 4.2652659e+00 3.6876909e+00 4.1503255e+00 4.9488209e+00 4.2966585e+00 4.1071698e+00 3.4205830e+00 4.1292490e+00 4.3363292e+00 3.9150359e+00 3.7130994e+00 4.5977729e+00 4.4473292e+00 3.9643224e+00 3.6603913e+00 3.8715927e+00 4.0861975e+00 3.6954796e+00 5.0991930e-01 1.1327825e+00 5.7257017e-01 4.0293660e-01 3.0811765e-01 1.5771666e+00 1.7488874e+00 1.2431040e+00 8.1273630e-01 1.4170618e+00 1.0106392e+00 1.0389435e+00 9.3824087e-01 7.3813096e-01 7.5976039e-01 6.6491075e-01 6.0611244e-01 6.9728513e-01 8.8861541e-01 8.5177726e-01 3.8776762e-01 4.2538717e-01 1.0346741e+00 1.2943100e+00 1.5015203e+00 5.0991930e-01 6.2482915e-01 1.1473003e+00 5.0991930e-01 1.2418578e-01 7.6752131e-01 7.4586719e-01 6.0181382e-01 3.0275928e-01 7.7869083e-01 1.0440187e+00 4.0293660e-01 1.0120221e+00 3.2352160e-01 1.0597541e+00 6.4704320e-01 3.7504939e+00 3.3717768e+00 3.8731169e+00 2.7062054e+00 3.4865562e+00 3.1921903e+00 3.5262546e+00 1.9522524e+00 3.5018009e+00 2.5914913e+00 2.1818668e+00 2.9807120e+00 2.7874290e+00 3.4557351e+00 2.3604042e+00 3.3915488e+00 3.2027420e+00 2.8150728e+00 3.3206640e+00 2.6018930e+00 3.5642457e+00 2.8360166e+00 3.6902583e+00 3.4394878e+00 3.1847477e+00 3.3503379e+00 3.7461474e+00 3.9068076e+00 3.2666666e+00 2.2590074e+00 2.4950353e+00 2.3935209e+00 2.6534332e+00 3.8259590e+00 3.1834936e+00 3.2834077e+00 3.6377049e+00 3.2390016e+00 2.8060305e+00 2.7012392e+00 3.0647279e+00 3.3658240e+00 2.7423171e+00 1.9645331e+00 2.8984764e+00 2.9033203e+00 2.9139413e+00 3.1189900e+00 1.7118795e+00 2.8228127e+00 4.8290847e+00 3.8416142e+00 4.8350745e+00 4.3569606e+00 4.6261788e+00 5.5774554e+00 3.1958228e+00 5.2067803e+00 4.6153241e+00 5.0947934e+00 3.9803199e+00 4.1159553e+00 4.4131159e+00 3.7587872e+00 3.9513472e+00 4.1881498e+00 4.3024754e+00 5.7071195e+00 5.8839539e+00 3.7280682e+00 4.6419531e+00 3.6578722e+00 5.6843788e+00 3.7276068e+00 4.5625120e+00 4.9179194e+00 3.6182608e+00 3.6866535e+00 4.4136707e+00 4.7307689e+00 5.0723886e+00 5.5062533e+00 4.4301849e+00 3.8690719e+00 4.2943891e+00 5.2192815e+00 4.4536259e+00 4.2828634e+00 3.5797958e+00 4.3570079e+00 4.5278761e+00 4.1542558e+00 3.8416142e+00 4.7899951e+00 4.6341170e+00 4.1740602e+00 3.8316735e+00 4.0656969e+00 4.2413113e+00 3.8376713e+00 6.8961791e-01 3.0811765e-01 1.4096146e-01 6.4755655e-01 1.1229906e+00 1.3835747e+00 8.6361309e-01 4.2667565e-01 9.4009473e-01 7.0784540e-01 5.3665999e-01 6.2482915e-01 6.3977563e-01 4.3691963e-01 4.4651726e-01 1.5422108e-01 3.7598397e-01 4.4535192e-01 3.7598397e-01 2.1845981e-01 1.4096146e-01 5.5419992e-01 1.0065841e+00 1.1474460e+00 0.0000000e+00 3.0811765e-01 6.5223271e-01 0.0000000e+00 5.0991930e-01 3.2586371e-01 4.2667565e-01 8.3172002e-01 5.0991930e-01 5.6769031e-01 7.5082357e-01 2.1845981e-01 7.0479928e-01 3.0811765e-01 6.4755655e-01 2.1845981e-01 3.4865562e+00 3.1726595e+00 3.6377960e+00 2.5987470e+00 3.2814045e+00 3.0627375e+00 3.3515846e+00 1.8841865e+00 3.2769379e+00 2.5038079e+00 2.1311468e+00 2.8311678e+00 2.6104387e+00 3.2962520e+00 2.2214438e+00 3.1433122e+00 3.0878634e+00 2.6552472e+00 3.1570103e+00 2.4668912e+00 3.4394878e+00 2.6411293e+00 3.5233648e+00 3.2747247e+00 2.9659871e+00 3.1154783e+00 3.5134741e+00 3.7059620e+00 3.1148696e+00 2.0851901e+00 2.3731428e+00 2.2655571e+00 2.4927109e+00 3.6920087e+00 3.0823446e+00 3.1337459e+00 3.4135200e+00 3.0481703e+00 2.6780487e+00 2.5874301e+00 2.9489507e+00 3.2027420e+00 2.5873149e+00 1.8973383e+00 2.7738355e+00 2.7632614e+00 2.7778954e+00 2.9269923e+00 1.6390769e+00 2.6848587e+00 4.7106706e+00 3.7313856e+00 4.6446321e+00 4.2142736e+00 4.4836580e+00 5.3716885e+00 3.1250284e+00 5.0074019e+00 4.4485220e+00 4.9128219e+00 3.8150636e+00 3.9624529e+00 4.2358121e+00 3.6602286e+00 3.8605980e+00 4.0488387e+00 4.1418643e+00 5.4970002e+00 5.6855224e+00 3.5964347e+00 4.4685630e+00 3.5634461e+00 5.4730406e+00 3.5693950e+00 4.3989089e+00 4.7150659e+00 3.4668130e+00 3.5464993e+00 4.2723380e+00 4.5155386e+00 4.8594290e+00 5.2647079e+00 4.2921213e+00 3.7064459e+00 4.1581964e+00 4.9913682e+00 4.3286007e+00 4.1303097e+00 3.4468286e+00 4.1669742e+00 4.3729308e+00 3.9624170e+00 3.7313856e+00 4.6297577e+00 4.4844827e+00 4.0056359e+00 3.6817961e+00 3.9035218e+00 4.1179678e+00 3.7164366e+00 6.2024833e-01 8.1304731e-01 1.1868139e+00 4.8036801e-01 7.1799256e-01 2.8192292e-01 3.2816937e-01 3.2816937e-01 3.0546431e-01 3.2352160e-01 3.2352160e-01 8.5205778e-01 4.8927739e-01 6.6384020e-01 7.3496673e-01 4.5581864e-01 2.4837156e-01 3.2586371e-01 7.6752131e-01 7.4549115e-01 3.2352160e-01 4.1449626e-01 5.0180477e-01 6.8961791e-01 5.8851328e-01 2.5251796e-01 6.8961791e-01 1.0919712e+00 3.7255734e-01 4.2667565e-01 1.4993782e+00 1.0344911e+00 5.0592043e-01 4.5581864e-01 8.1304731e-01 3.0546431e-01 8.5205778e-01 1.0000000e-01 4.9766035e-01 3.3472053e+00 3.0922811e+00 3.5254266e+00 2.6661987e+00 3.2094276e+00 3.0570957e+00 3.2869053e+00 2.0190980e+00 3.1913594e+00 2.5206151e+00 2.3403819e+00 2.7928582e+00 2.6680945e+00 3.2615924e+00 2.2070201e+00 3.0233425e+00 3.0716969e+00 2.6575076e+00 3.1694367e+00 2.5088543e+00 3.4030318e+00 2.5954147e+00 3.4988409e+00 3.2483608e+00 2.8891737e+00 3.0123702e+00 3.4182420e+00 3.6203759e+00 3.0811775e+00 2.1190324e+00 2.4416796e+00 2.3440712e+00 2.4897570e+00 3.6753309e+00 3.0715435e+00 3.0851463e+00 3.3123070e+00 3.0424689e+00 2.6625505e+00 2.6241824e+00 2.9689697e+00 3.1616811e+00 2.5961850e+00 2.0559262e+00 2.7803619e+00 2.7462372e+00 2.7639489e+00 2.8736288e+00 1.7674365e+00 2.6773131e+00 4.6660957e+00 3.7173526e+00 4.5567672e+00 4.1782968e+00 4.4326194e+00 5.2720689e+00 3.1469325e+00 4.9232255e+00 4.4057732e+00 4.8164157e+00 3.7433882e+00 3.9194796e+00 4.1567419e+00 3.6582432e+00 3.8303544e+00 3.9861488e+00 4.0892044e+00 5.3882212e+00 5.5946413e+00 3.6180819e+00 4.3839191e+00 3.5469476e+00 5.3734444e+00 3.5262672e+00 4.3306501e+00 4.6237863e+00 3.4237160e+00 3.5051302e+00 4.2288456e+00 4.4201622e+00 4.7609637e+00 5.1280035e+00 4.2469785e+00 3.6684143e+00 4.1480002e+00 4.8602572e+00 4.2765700e+00 4.0824098e+00 3.4092877e+00 4.0737132e+00 4.2991233e+00 3.8524190e+00 3.7173526e+00 4.5590471e+00 4.4107160e+00 3.9202843e+00 3.6509512e+00 3.8388884e+00 4.0680120e+00 3.6894983e+00 4.1449626e-01 6.6539428e-01 1.0717668e+00 1.1847335e+00 7.0776547e-01 3.2816937e-01 9.2095040e-01 4.4651726e-01 6.0060595e-01 3.8934542e-01 6.1092863e-01 3.7598397e-01 3.0000000e-01 4.1312257e-01 2.4837156e-01 4.0293660e-01 4.1312257e-01 2.0656129e-01 3.0000000e-01 6.0611244e-01 7.3535471e-01 9.3801395e-01 3.0811765e-01 4.2538717e-01 7.1462831e-01 3.0811765e-01 5.2574978e-01 3.0275928e-01 3.2816937e-01 1.1107977e+00 4.5470518e-01 4.1449626e-01 4.8927739e-01 4.1449626e-01 4.4417983e-01 2.8192292e-01 5.2942799e-01 2.5251796e-01 3.4297053e+00 3.0906838e+00 3.5704156e+00 2.5301680e+00 3.2062204e+00 2.9663489e+00 3.2615889e+00 1.8330979e+00 3.2074600e+00 2.4030878e+00 2.1292724e+00 2.7344480e+00 2.5716369e+00 3.2053511e+00 2.1242643e+00 3.0798277e+00 2.9831836e+00 2.5729378e+00 3.0964590e+00 2.3917863e+00 3.3353616e+00 2.5635110e+00 3.4441347e+00 3.1882407e+00 2.8938821e+00 3.0477086e+00 3.4484194e+00 3.6265826e+00 3.0209783e+00 2.0203134e+00 2.3063579e+00 2.2046610e+00 2.4100833e+00 3.5972040e+00 2.9748436e+00 3.0349291e+00 3.3414931e+00 2.9918962e+00 2.5764694e+00 2.5038051e+00 2.8573838e+00 3.1113597e+00 2.5079404e+00 1.8623849e+00 2.6799601e+00 2.6656374e+00 2.6804452e+00 2.8458006e+00 1.5870088e+00 2.5906376e+00 4.6056614e+00 3.6293396e+00 4.5625120e+00 4.1184849e+00 4.3862724e+00 5.2957861e+00 3.0253131e+00 4.9300368e+00 4.3656957e+00 4.8256905e+00 3.7228356e+00 3.8717400e+00 4.1487889e+00 3.5605424e+00 3.7509165e+00 3.9489970e+00 4.0502806e+00 5.4193574e+00 5.6096505e+00 3.5201263e+00 4.3797165e+00 3.4555095e+00 5.4004015e+00 3.4805320e+00 4.3069452e+00 4.6373516e+00 3.3738930e+00 3.4478147e+00 4.1762321e+00 4.4428877e+00 4.7870294e+00 5.1982218e+00 4.1948678e+00 3.6180819e+00 4.0668114e+00 4.9227056e+00 4.2245318e+00 4.0358897e+00 3.3459883e+00 4.0835979e+00 4.2783731e+00 3.8797354e+00 3.6293396e+00 4.5370189e+00 4.3879553e+00 3.9155334e+00 3.5955337e+00 3.8113970e+00 4.0131848e+00 3.6132595e+00 5.2862779e-01 1.2431040e+00 1.5013525e+00 9.7779835e-01 5.3588338e-01 1.0669582e+00 8.1385214e-01 6.6432544e-01 7.2823007e-01 6.5223271e-01 5.1138698e-01 5.6700421e-01 2.5251796e-01 4.6472023e-01 5.6769031e-01 4.9766035e-01 2.5651975e-01 2.1269358e-01 6.6432544e-01 1.1134787e+00 1.2632199e+00 1.4096146e-01 2.8507955e-01 7.6787403e-01 1.4096146e-01 4.0293660e-01 4.4651726e-01 5.1691876e-01 7.1840099e-01 4.1586001e-01 6.3108414e-01 8.7021234e-01 2.0000000e-01 8.1385214e-01 2.5251796e-01 7.6787403e-01 3.2586371e-01 3.6025735e+00 3.2810515e+00 3.7511944e+00 2.6894009e+00 3.3904673e+00 3.1636869e+00 3.4574937e+00 1.9666356e+00 3.3893691e+00 2.5954173e+00 2.1997395e+00 2.9322283e+00 2.7092568e+00 3.4012145e+00 2.3186758e+00 3.2568914e+00 3.1861493e+00 2.7595194e+00 3.2561045e+00 2.5646808e+00 3.5381764e+00 2.7476411e+00 3.6278993e+00 3.3809159e+00 3.0768226e+00 3.2277675e+00 3.6265617e+00 3.8150532e+00 3.2176230e+00 2.1864840e+00 2.4668912e+00 2.3596992e+00 2.5949561e+00 3.7935487e+00 3.1789378e+00 3.2360886e+00 3.5252258e+00 3.1522058e+00 2.7777040e+00 2.6819136e+00 3.0473722e+00 3.3079290e+00 2.6886547e+00 1.9757309e+00 2.8726212e+00 2.8654680e+00 2.8788483e+00 3.0349462e+00 1.7160413e+00 2.7852734e+00 4.8087107e+00 3.8282466e+00 4.7531334e+00 4.3176393e+00 4.5857287e+00 5.4831923e+00 3.2147850e+00 5.1185883e+00 4.5544260e+00 5.0194259e+00 3.9185849e+00 4.0655452e+00 4.3416283e+00 3.7535680e+00 3.9509795e+00 4.1478442e+00 4.2472736e+00 5.6096505e+00 5.7957776e+00 3.6945993e+00 4.5734622e+00 3.6568202e+00 5.5854254e+00 3.6720840e+00 4.5038991e+00 4.8262859e+00 3.5684917e+00 3.6474985e+00 4.3740189e+00 4.6282931e+00 4.9713928e+00 5.3806679e+00 4.3928114e+00 3.8121990e+00 4.2612863e+00 5.1032991e+00 4.4267055e+00 4.2347444e+00 3.5464871e+00 4.2738510e+00 4.4745238e+00 4.0663411e+00 3.8282466e+00 4.7338066e+00 4.5852690e+00 4.1075310e+00 3.7823897e+00 4.0070636e+00 4.2156933e+00 3.8157950e+00 1.6177449e+00 1.7454671e+00 1.2604558e+00 8.6361309e-01 1.4955532e+00 1.0118409e+00 1.1594648e+00 9.6204649e-01 6.2081167e-01 9.1750357e-01 8.7504951e-01 7.6752131e-01 8.0660588e-01 9.5965467e-01 9.2859317e-01 5.7324170e-01 6.2205176e-01 1.1313840e+00 1.2653669e+00 1.4930627e+00 6.4755655e-01 7.0479928e-01 1.2236003e+00 6.4755655e-01 2.1269358e-01 8.5105559e-01 7.7360126e-01 7.1169738e-01 2.5651975e-01 8.7229670e-01 1.1327578e+00 5.3588338e-01 1.0269295e+00 3.8934542e-01 1.1042097e+00 7.2823007e-01 4.0317004e+00 3.6659830e+00 4.1618561e+00 3.0123702e+00 3.7804276e+00 3.4970843e+00 3.8244351e+00 2.2591077e+00 3.7930789e+00 2.8953397e+00 2.4889124e+00 3.2809188e+00 3.0866488e+00 3.7578933e+00 2.6595288e+00 3.6754272e+00 3.5073435e+00 3.1173742e+00 3.6212723e+00 2.9065572e+00 3.8667462e+00 3.1302383e+00 3.9918403e+00 3.7416229e+00 3.4760444e+00 3.6375992e+00 4.0358101e+00 4.2016915e+00 3.5683934e+00 2.5569968e+00 2.8007817e+00 2.6989368e+00 2.9539253e+00 4.1306024e+00 3.4882801e+00 3.5831257e+00 3.9280671e+00 3.5362697e+00 3.1099883e+00 3.0065416e+00 3.3706887e+00 3.6672620e+00 3.0442126e+00 2.2719663e+00 3.2032390e+00 3.2071637e+00 3.2176230e+00 3.4155491e+00 2.0139971e+00 3.1260028e+00 5.1310217e+00 4.1456639e+00 5.1323742e+00 4.6609614e+00 4.9284761e+00 5.8739676e+00 3.4984873e+00 5.5048216e+00 4.9175276e+00 5.3898806e+00 4.2781762e+00 4.4176533e+00 4.7107211e+00 4.0621414e+00 4.2494597e+00 4.4865569e+00 4.6045396e+00 6.0012333e+00 6.1816086e+00 4.0339598e+00 4.9390284e+00 3.9601358e+00 5.9803696e+00 4.0277694e+00 4.8626276e+00 5.2147981e+00 3.9185849e+00 3.9887029e+00 4.7161140e+00 5.0257341e+00 5.3673499e+00 5.7939320e+00 4.7320534e+00 4.1713411e+00 4.5995433e+00 5.5085511e+00 4.7536729e+00 4.5857356e+00 3.8819510e+00 4.6519178e+00 4.8256399e+00 4.4430890e+00 4.1456639e+00 5.0898961e+00 4.9316646e+00 4.4680158e+00 4.1325542e+00 4.3648035e+00 4.5412859e+00 4.1418557e+00 4.5581864e-01 4.1586001e-01 7.7074935e-01 5.0991930e-01 7.1840099e-01 7.2486328e-01 7.3145860e-01 1.2122249e+00 9.2112464e-01 1.1384810e+00 1.1451403e+00 9.1163729e-01 7.0386584e-01 7.4855857e-01 1.2220203e+00 1.1947245e+00 6.6827038e-01 6.2081167e-01 3.4378533e-01 1.1229906e+00 9.9348625e-01 5.2942799e-01 1.1229906e+00 1.5344133e+00 8.2275389e-01 8.5233811e-01 1.8985661e+00 1.4692412e+00 8.9653332e-01 8.7420176e-01 1.2431040e+00 7.3813096e-01 1.2951131e+00 5.5419992e-01 9.3801395e-01 3.5789198e+00 3.3663244e+00 3.7753619e+00 3.0049442e+00 3.4909841e+00 3.3695525e+00 3.5654259e+00 2.3989172e+00 3.4663502e+00 2.8427326e+00 2.7185849e+00 3.0894572e+00 3.0108764e+00 3.5617386e+00 2.5173832e+00 3.2758681e+00 3.3732554e+00 2.9816791e+00 3.4895316e+00 2.8451507e+00 3.6905956e+00 2.8989400e+00 3.8036776e+00 3.5549103e+00 3.1734856e+00 3.2772927e+00 3.6834126e+00 3.8868430e+00 3.3809159e+00 2.4588872e+00 2.7850016e+00 2.6918796e+00 2.8113773e+00 3.9804187e+00 3.3742776e+00 3.3692592e+00 3.5726491e+00 3.3587234e+00 2.9691171e+00 2.9539253e+00 3.2926883e+00 3.4584304e+00 2.9217347e+00 2.4321061e+00 3.0988783e+00 3.0546600e+00 3.0736357e+00 3.1699903e+00 2.1306832e+00 2.9913743e+00 4.9420128e+00 4.0177712e+00 4.8123874e+00 4.4703485e+00 4.7113827e+00 5.5147622e+00 3.4715574e+00 5.1811127e+00 4.6944291e+00 5.0587041e+00 4.0117533e+00 4.2085851e+00 4.4199792e+00 3.9616570e+00 4.1103933e+00 4.2537610e+00 4.3721243e+00 5.6218420e+00 5.8419148e+00 3.9412893e+00 4.6390186e+00 3.8408636e+00 5.6159291e+00 3.8175051e+00 4.5984929e+00 4.8771654e+00 3.7143727e+00 3.7943375e+00 4.5141564e+00 4.6734732e+00 5.0086627e+00 5.3396700e+00 4.5298770e+00 3.9647930e+00 4.4561969e+00 5.0778756e+00 4.5477422e+00 4.3671210e+00 3.6996802e+00 4.3269400e+00 4.5602465e+00 4.0901232e+00 4.0177712e+00 4.8233796e+00 4.6689006e+00 4.1757336e+00 3.9466531e+00 4.1130674e+00 4.3408596e+00 3.9840684e+00 5.3588338e-01 9.7098574e-01 6.0611244e-01 7.4549115e-01 1.0101422e+00 8.1242502e-01 1.2342162e+00 1.1486378e+00 1.1959482e+00 1.4468211e+00 1.0906388e+00 9.4287188e-01 1.0346741e+00 1.3793330e+00 1.4148192e+00 1.0065841e+00 5.5419992e-01 2.8507955e-01 1.3835747e+00 1.2681309e+00 9.0679720e-01 1.3835747e+00 1.6801917e+00 1.0588560e+00 1.0122141e+00 2.2040881e+00 1.5564198e+00 1.0122141e+00 7.7553525e-01 1.4987155e+00 7.4893123e-01 1.4320120e+00 7.3813096e-01 1.1765359e+00 3.3186105e+00 3.0934278e+00 3.5115632e+00 2.9015832e+00 3.2557855e+00 3.1381850e+00 3.2787144e+00 2.3983798e+00 3.2261964e+00 2.6655261e+00 2.7738368e+00 2.8425716e+00 2.9377092e+00 3.3097860e+00 2.3365894e+00 3.0236933e+00 3.1147370e+00 2.7988444e+00 3.3431646e+00 2.7201960e+00 3.4033622e+00 2.7009102e+00 3.5863979e+00 3.3171611e+00 2.9439491e+00 3.0327979e+00 3.4475678e+00 3.6195561e+00 3.1337459e+00 2.3758157e+00 2.6957302e+00 2.6219409e+00 2.6429556e+00 3.7305206e+00 3.1152653e+00 3.0762634e+00 3.3088561e+00 3.2115055e+00 2.7318540e+00 2.8101506e+00 3.0967820e+00 3.1998457e+00 2.7619926e+00 2.4596921e+00 2.9002737e+00 2.8148869e+00 2.8449691e+00 2.9378173e+00 2.1723936e+00 2.7843048e+00 4.6358686e+00 3.7621042e+00 4.5316360e+00 4.1928583e+00 4.4221843e+00 5.2364242e+00 3.2682245e+00 4.9072991e+00 4.4428425e+00 4.7561724e+00 3.7219581e+00 3.9498605e+00 4.1390009e+00 3.7275066e+00 3.8377652e+00 3.9569614e+00 4.0917968e+00 5.3289557e+00 5.5738695e+00 3.7540308e+00 4.3457024e+00 3.5797958e+00 5.3465693e+00 3.5720882e+00 4.3012547e+00 4.5936468e+00 3.4616111e+00 3.5205889e+00 4.2389017e+00 4.4031390e+00 4.7432976e+00 5.0569442e+00 4.2531342e+00 3.7092459e+00 4.2038056e+00 4.8064634e+00 4.2402361e+00 4.0806404e+00 3.4276314e+00 4.0438546e+00 4.2676463e+00 3.8085992e+00 3.7621042e+00 4.5272919e+00 4.3667579e+00 3.8946701e+00 3.7163265e+00 3.8338395e+00 4.0342445e+00 3.7061759e+00 4.4651726e-01 4.4651726e-01 3.2816937e-01 5.7257017e-01 3.4378533e-01 8.2384013e-01 6.6432544e-01 8.0758367e-01 9.3048953e-01 5.8851328e-01 4.3691963e-01 5.1691876e-01 8.8062848e-01 8.9917007e-01 5.0817745e-01 3.6171588e-01 3.2816937e-01 8.6361309e-01 7.3851529e-01 4.1449626e-01 8.6361309e-01 1.1845977e+00 5.4292906e-01 4.9766035e-01 1.6754036e+00 1.0919712e+00 5.3309112e-01 6.2024833e-01 9.7098574e-01 3.8934542e-01 9.3824087e-01 2.8507955e-01 6.5223271e-01 3.5185448e+00 3.2633258e+00 3.6996953e+00 2.8710255e+00 3.3892942e+00 3.2497279e+00 3.4561374e+00 2.2371784e+00 3.3772302e+00 2.7023432e+00 2.5704711e+00 2.9638836e+00 2.8904978e+00 3.4483274e+00 2.3826791e+00 3.1954061e+00 3.2493673e+00 2.8645447e+00 3.3669805e+00 2.7184506e+00 3.5654259e+00 2.7812639e+00 3.6908684e+00 3.4451701e+00 3.0736340e+00 3.1881331e+00 3.6017790e+00 3.7914024e+00 3.2604423e+00 2.3308454e+00 2.6548674e+00 2.5630676e+00 2.6859989e+00 3.8615219e+00 3.2492317e+00 3.2498302e+00 3.4856775e+00 3.2460061e+00 2.8456767e+00 2.8220742e+00 3.1709561e+00 3.3452644e+00 2.7965957e+00 2.2780262e+00 2.9733693e+00 2.9362769e+00 2.9511072e+00 3.0600825e+00 1.9688013e+00 2.8661222e+00 4.8176767e+00 3.8889176e+00 4.7230291e+00 4.3578295e+00 4.5962942e+00 5.4442203e+00 3.3242177e+00 5.1039076e+00 4.5914416e+00 4.9653393e+00 3.8994399e+00 4.0931001e+00 4.3174903e+00 3.8262108e+00 3.9673816e+00 4.1302370e+00 4.2654212e+00 5.5551457e+00 5.7673205e+00 3.8189943e+00 4.5366342e+00 3.7059360e+00 5.5500825e+00 3.6985459e+00 4.4934936e+00 4.7995387e+00 3.5922369e+00 3.6724425e+00 4.3963259e+00 4.6010378e+00 4.9364818e+00 5.2936070e+00 4.4094664e+00 3.8558772e+00 4.3453589e+00 5.0159331e+00 4.4225169e+00 4.2579435e+00 3.5745624e+00 4.2301614e+00 4.4459076e+00 3.9875954e+00 3.8889176e+00 4.7169919e+00 4.5531173e+00 4.0619315e+00 3.8238093e+00 3.9999729e+00 4.2141826e+00 3.8611742e+00 6.3808075e-01 3.0275928e-01 3.7598397e-01 2.1269358e-01 5.6769031e-01 3.4378533e-01 5.3022554e-01 5.0991930e-01 2.1845981e-01 1.4096146e-01 1.4096146e-01 4.5581864e-01 4.5581864e-01 3.0811765e-01 6.0670504e-01 7.3496673e-01 4.2667565e-01 3.2816937e-01 4.0293660e-01 4.2667565e-01 7.6787403e-01 1.4096146e-01 1.2418578e-01 1.2394907e+00 7.1504098e-01 3.2586371e-01 5.2942799e-01 5.2862779e-01 3.2586371e-01 5.2942799e-01 2.5651975e-01 2.1269358e-01 3.4944845e+00 3.2032390e+00 3.6588207e+00 2.7040077e+00 3.3172489e+00 3.1387381e+00 3.3902207e+00 2.0195610e+00 3.3129652e+00 2.5744164e+00 2.3173648e+00 2.8753045e+00 2.7215057e+00 3.3565935e+00 2.2694598e+00 3.1556501e+00 3.1511848e+00 2.7390328e+00 3.2351115e+00 2.5646808e+00 3.4858646e+00 2.6854398e+00 3.5885398e+00 3.3452644e+00 3.0014619e+00 3.1359624e+00 3.5442447e+00 3.7351231e+00 3.1683717e+00 2.1722580e+00 2.4832809e+00 2.3831271e+00 2.5617005e+00 3.7607269e+00 3.1489919e+00 3.1764760e+00 3.4370400e+00 3.1222134e+00 2.7420671e+00 2.6759392e+00 3.0406669e+00 3.2584404e+00 2.6649106e+00 2.0477765e+00 2.8508344e+00 2.8325946e+00 2.8443188e+00 2.9745020e+00 1.7495699e+00 2.7521074e+00 4.7498176e+00 3.7908064e+00 4.6736601e+00 4.2736523e+00 4.5261084e+00 5.4025762e+00 3.1986968e+00 5.0495127e+00 4.5070435e+00 4.9284820e+00 3.8418637e+00 4.0108142e+00 4.2628455e+00 3.7198158e+00 3.8891307e+00 4.0719001e+00 4.1917075e+00 5.5215376e+00 5.7192826e+00 3.6876129e+00 4.4897240e+00 3.6129201e+00 5.5066558e+00 3.6138577e+00 4.4349731e+00 4.7514299e+00 3.5090368e+00 3.5920050e+00 4.3185209e+00 4.5521574e+00 4.8905855e+00 5.2768100e+00 4.3339547e+00 3.7672401e+00 4.2403934e+00 4.9963306e+00 4.3598652e+00 4.1826701e+00 3.4920978e+00 4.1853524e+00 4.3933832e+00 3.9574195e+00 3.7908064e+00 4.6611791e+00 4.5034762e+00 4.0149574e+00 3.7307866e+00 3.9355645e+00 4.1498459e+00 3.7732223e+00 6.0551856e-01 4.4535192e-01 6.0670504e-01 1.1765359e+00 6.9325418e-01 9.2288144e-01 9.3637892e-01 7.3535471e-01 5.3665999e-01 5.8914551e-01 1.0576043e+00 1.0106392e+00 4.5581864e-01 5.4292906e-01 4.5581864e-01 9.4009473e-01 8.6290690e-01 4.5581864e-01 9.4009473e-01 1.3885563e+00 6.5223271e-01 7.4740267e-01 1.7041201e+00 1.3421549e+00 7.2823007e-01 6.0611244e-01 1.0653845e+00 6.0121055e-01 1.1521791e+00 4.1586001e-01 7.7919451e-01 3.1037808e+00 2.8727295e+00 3.2914954e+00 2.5112138e+00 2.9950832e+00 2.8632951e+00 3.0711321e+00 1.9332545e+00 2.9709745e+00 2.3448578e+00 2.2688022e+00 2.5914913e+00 2.5183808e+00 3.0579528e+00 2.0217308e+00 2.7906520e+00 2.8719896e+00 2.4738237e+00 2.9926636e+00 2.3440712e+00 3.1967616e+00 2.3980102e+00 3.3005331e+00 3.0483897e+00 2.6752185e+00 2.7868575e+00 3.1931777e+00 3.3968373e+00 2.8794765e+00 1.9640287e+00 2.2899742e+00 2.1990648e+00 2.3082381e+00 3.4762640e+00 2.8726212e+00 2.8752807e+00 3.0841055e+00 2.8599559e+00 2.4658566e+00 2.4543822e+00 2.7852734e+00 2.9558536e+00 2.4184985e+00 1.9730073e+00 2.5941661e+00 2.5490308e+00 2.5692104e+00 2.6676432e+00 1.6855044e+00 2.4875166e+00 4.4549901e+00 3.5192877e+00 4.3283747e+00 3.9701062e+00 4.2192020e+00 5.0364062e+00 2.9740218e+00 4.6944291e+00 4.1953299e+00 4.5849301e+00 3.5249823e+00 3.7114178e+00 3.9340128e+00 3.4663826e+00 3.6308220e+00 3.7719045e+00 3.8752244e+00 5.1489675e+00 5.3620178e+00 3.4363773e+00 4.1584261e+00 3.3485848e+00 5.1375979e+00 3.3209346e+00 4.1101337e+00 4.3926615e+00 3.2186045e+00 3.2982828e+00 4.0192434e+00 4.1885158e+00 4.5274663e+00 4.8785522e+00 4.0373008e+00 3.4619693e+00 3.9494193e+00 4.6147130e+00 4.0642632e+00 3.8698115e+00 3.2042572e+00 3.8459316e+00 4.0795080e+00 3.6227082e+00 3.5192877e+00 4.3377723e+00 4.1907472e+00 3.6992844e+00 3.4507210e+00 3.6230931e+00 3.8568809e+00 3.4855556e+00 4.5581864e-01 1.2418578e-01 6.2660376e-01 5.1607523e-01 5.2655962e-01 8.0096515e-01 4.0438741e-01 3.0546431e-01 4.0438741e-01 6.4806901e-01 7.1504098e-01 4.4535192e-01 3.2586371e-01 4.9857388e-01 7.0784540e-01 6.2081167e-01 4.5581864e-01 7.0784540e-01 9.3824087e-01 4.0147421e-01 3.2586371e-01 1.5252485e+00 8.1558458e-01 3.7598397e-01 4.0147421e-01 8.1099042e-01 1.2418578e-01 6.9006418e-01 2.1269358e-01 5.0270183e-01 3.4104878e+00 3.1150013e+00 3.5735680e+00 2.6813198e+00 3.2413086e+00 3.0598576e+00 3.2985843e+00 2.0418831e+00 3.2329790e+00 2.5171713e+00 2.3816204e+00 2.7937685e+00 2.7102198e+00 3.2724336e+00 2.2054062e+00 3.0737397e+00 3.0650685e+00 2.6738621e+00 3.1983741e+00 2.5253420e+00 3.3951420e+00 2.6185785e+00 3.5201263e+00 3.2642011e+00 2.9245132e+00 3.0559405e+00 3.4672191e+00 3.6501426e+00 3.0869409e+00 2.1449779e+00 2.4611582e+00 2.3678836e+00 2.5038051e+00 3.6798850e+00 3.0627375e+00 3.0833417e+00 3.3518108e+00 3.0810282e+00 2.6595270e+00 2.6323570e+00 2.9747184e+00 3.1719581e+00 2.6119950e+00 2.0875308e+00 2.7837517e+00 2.7481947e+00 2.7653278e+00 2.8959432e+00 1.7918633e+00 2.6810089e+00 4.6579399e+00 3.7114178e+00 4.5860934e+00 4.1845117e+00 4.4368376e+00 5.3138890e+00 3.1392617e+00 4.9608959e+00 4.4280037e+00 4.8387532e+00 3.7530908e+00 3.9304148e+00 4.1764880e+00 3.6510310e+00 3.8111653e+00 3.9838913e+00 4.1019789e+00 5.4302306e+00 5.6352651e+00 3.6334268e+00 4.4011799e+00 3.5332521e+00 5.4201202e+00 3.5378545e+00 4.3430510e+00 4.6603717e+00 3.4302376e+00 3.5053533e+00 4.2335883e+00 4.4640423e+00 4.8059592e+00 5.1881280e+00 4.2497073e+00 3.6834126e+00 4.1572779e+00 4.9128775e+00 4.2687104e+00 4.0908836e+00 3.4061169e+00 4.0989195e+00 4.3064904e+00 3.8759115e+00 3.7114178e+00 4.5707958e+00 4.4147019e+00 3.9326468e+00 3.6624594e+00 3.8494244e+00 4.0586633e+00 3.6843892e+00 4.0176783e-01 9.3801395e-01 3.7427929e-01 6.0551856e-01 4.9766035e-01 4.1449626e-01 2.5251796e-01 3.2352160e-01 7.0437330e-01 6.2024833e-01 2.4837156e-01 7.0826681e-01 8.1099042e-01 5.3665999e-01 5.7257017e-01 4.0293660e-01 5.3665999e-01 1.0321505e+00 3.2352160e-01 4.9857388e-01 1.2654843e+00 1.0181000e+00 4.9857388e-01 4.6472023e-01 6.6432544e-01 4.4535192e-01 8.1354181e-01 3.2586371e-01 4.4535192e-01 3.1652953e+00 2.9034751e+00 3.3383293e+00 2.4277398e+00 3.0113552e+00 2.8500355e+00 3.0981427e+00 1.7594421e+00 2.9944056e+00 2.3105335e+00 2.0559262e+00 2.5987706e+00 2.4171653e+00 3.0605340e+00 2.0054351e+00 2.8372675e+00 2.8748086e+00 2.4385827e+00 2.9411544e+00 2.2761106e+00 3.2149087e+00 2.3896630e+00 3.2878368e+00 3.0415738e+00 2.6906230e+00 2.8216976e+00 3.2222602e+00 3.4304873e+00 2.8822802e+00 1.8816502e+00 2.1994544e+00 2.0961718e+00 2.2729984e+00 3.4713427e+00 2.8746311e+00 2.8977380e+00 3.1239380e+00 2.8149627e+00 2.4626518e+00 2.3988202e+00 2.7512943e+00 2.9634715e+00 2.3744738e+00 1.7861398e+00 2.5679553e+00 2.5438761e+00 2.5602722e+00 2.6724144e+00 1.5132025e+00 2.4693940e+00 4.4818617e+00 3.5188715e+00 4.3693901e+00 3.9814082e+00 4.2430316e+00 5.0846750e+00 2.9378173e+00 4.7308926e+00 4.2026915e+00 4.6369546e+00 3.5592955e+00 3.7219741e+00 3.9702025e+00 3.4565374e+00 3.6485303e+00 3.8059948e+00 3.8952692e+00 5.2045888e+00 5.4038637e+00 3.3942456e+00 4.2018404e+00 3.3550631e+00 5.1838582e+00 3.3280757e+00 4.1439346e+00 4.4349731e+00 3.2284912e+00 3.3133518e+00 4.0354963e+00 4.2293106e+00 4.5707958e+00 4.9486891e+00 4.0555804e+00 3.4667821e+00 3.9402495e+00 4.6817169e+00 4.0952984e+00 3.8891597e+00 3.2181054e+00 3.8906833e+00 4.1179678e+00 3.6792093e+00 3.5188715e+00 4.3738746e+00 4.2318888e+00 3.7415007e+00 3.4482727e+00 3.6509580e+00 3.8867812e+00 3.4956677e+00 6.2660376e-01 4.1449626e-01 4.8927739e-01 7.0479928e-01 3.0546431e-01 2.5251796e-01 3.2816937e-01 5.7324170e-01 6.2538346e-01 3.7255734e-01 4.4535192e-01 5.7324170e-01 6.2482915e-01 5.3665999e-01 4.3691963e-01 6.2482915e-01 8.7420176e-01 3.2352160e-01 2.5651975e-01 1.4293465e+00 7.7360126e-01 2.5651975e-01 4.0147421e-01 7.1504098e-01 2.1269358e-01 6.2660376e-01 2.4837156e-01 4.1586001e-01 3.4011512e+00 3.1015495e+00 3.5629124e+00 2.6446848e+00 3.2242409e+00 3.0444970e+00 3.2854349e+00 1.9922212e+00 3.2208624e+00 2.4875432e+00 2.3235341e+00 2.7738624e+00 2.6761538e+00 3.2590031e+00 2.1770137e+00 3.0609726e+00 3.0488669e+00 2.6564689e+00 3.1671679e+00 2.4967542e+00 3.3778209e+00 2.5968629e+00 3.5012162e+00 3.2523394e+00 2.9093820e+00 3.0417674e+00 3.4541339e+00 3.6357801e+00 3.0695657e+00 2.1117686e+00 2.4265922e+00 2.3324013e+00 2.4794505e+00 3.6641654e+00 3.0465086e+00 3.0686943e+00 3.3395333e+00 3.0541897e+00 2.6428278e+00 2.6018930e+00 2.9558536e+00 3.1589081e+00 2.5867906e+00 2.0334278e+00 2.7624503e+00 2.7347909e+00 2.7481947e+00 2.8804789e+00 1.7294430e+00 2.6604040e+00 4.6390099e+00 3.6904099e+00 4.5721680e+00 4.1717456e+00 4.4201622e+00 5.3038306e+00 3.1101376e+00 4.9521292e+00 4.4131751e+00 4.8218478e+00 3.7351231e+00 3.9119157e+00 4.1593600e+00 3.6239123e+00 3.7806200e+00 3.9616940e+00 4.0893976e+00 5.4208566e+00 5.6225133e+00 3.6099406e+00 4.3833809e+00 3.5087649e+00 5.4106224e+00 3.5167400e+00 4.3287713e+00 4.6517741e+00 3.4091049e+00 3.4875352e+00 4.2154392e+00 4.4559638e+00 4.7948032e+00 5.1800729e+00 4.2298456e+00 3.6705550e+00 4.1464752e+00 4.8981257e+00 4.2482702e+00 4.0788778e+00 3.3871264e+00 4.0817153e+00 4.2852718e+00 3.8517038e+00 3.6904099e+00 4.5544260e+00 4.3933832e+00 3.9084933e+00 3.6377874e+00 3.8310704e+00 4.0381483e+00 3.6684338e+00 7.9016429e-01 9.0454394e-01 7.7553525e-01 6.5633874e-01 6.8961791e-01 6.5172743e-01 6.4755655e-01 6.9325418e-01 8.5690100e-01 7.5871717e-01 9.8800009e-01 6.3977563e-01 5.0503591e-01 9.0852141e-01 6.3977563e-01 6.2482915e-01 6.2605182e-01 4.4651726e-01 1.3039319e+00 4.5470518e-01 6.8801986e-01 9.4492923e-01 6.5223271e-01 6.9325418e-01 4.9674312e-01 7.6752131e-01 5.2574978e-01 3.9950977e+00 3.6682165e+00 4.1454421e+00 3.1171350e+00 3.7869887e+00 3.5623665e+00 3.8418637e+00 2.4093459e+00 3.7913585e+00 2.9787373e+00 2.6930133e+00 3.3123070e+00 3.1668302e+00 3.7985007e+00 2.6980573e+00 3.6472316e+00 3.5682291e+00 3.1756360e+00 3.6828708e+00 2.9891564e+00 3.9102500e+00 3.1455588e+00 4.0375495e+00 3.7881557e+00 3.4756264e+00 3.6204175e+00 4.0288578e+00 4.2043522e+00 3.6069560e+00 2.6127852e+00 2.9004348e+00 2.8010550e+00 3.0013391e+00 4.1901031e+00 3.5584876e+00 3.6126340e+00 3.9170234e+00 3.5823448e+00 3.1646752e+00 3.0923554e+00 3.4563987e+00 3.7021702e+00 3.1018442e+00 2.4341346e+00 3.2724336e+00 3.2604423e+00 3.2715632e+00 3.4335342e+00 2.1375243e+00 3.1807243e+00 5.1732049e+00 4.2085267e+00 5.1402548e+00 4.7090394e+00 4.9640507e+00 5.8783901e+00 3.5970425e+00 5.5195747e+00 4.9586651e+00 5.3905797e+00 4.2919639e+00 4.4545908e+00 4.7214902e+00 4.1323720e+00 4.2962344e+00 4.5078390e+00 4.6379987e+00 5.9985593e+00 6.1927610e+00 4.1173292e+00 4.9467209e+00 4.0217355e+00 5.9855018e+00 4.0597680e+00 4.8845913e+00 5.2228901e+00 3.9505682e+00 4.0262006e+00 4.7557226e+00 5.0295898e+00 5.3695643e+00 5.7704875e+00 4.7697480e+00 4.2124808e+00 4.6690776e+00 5.4857949e+00 4.7867344e+00 4.6237863e+00 3.9220577e+00 4.6512574e+00 4.8397561e+00 4.4244727e+00 4.2085267e+00 5.1102370e+00 4.9464234e+00 4.4688286e+00 4.1733964e+00 4.3844239e+00 4.5752087e+00 4.1957914e+00 3.8934542e-01 3.7598397e-01 1.5422108e-01 3.4583729e-01 3.7598397e-01 4.4651726e-01 3.8934542e-01 3.2816937e-01 8.2929029e-01 9.3610001e-01 4.3691963e-01 5.3022554e-01 5.3309112e-01 4.3691963e-01 7.5976039e-01 3.2586371e-01 4.2667565e-01 1.0733200e+00 7.4777660e-01 2.1845981e-01 5.0905001e-01 4.3456114e-01 5.2942799e-01 5.5492130e-01 4.6472023e-01 3.7427929e-01 3.2191540e+00 2.9033203e+00 3.3725057e+00 2.3744738e+00 3.0162346e+00 2.8254861e+00 3.0850817e+00 1.6867642e+00 3.0206125e+00 2.2489449e+00 1.9859316e+00 2.5612285e+00 2.4037412e+00 3.0483897e+00 1.9482601e+00 2.8711841e+00 2.8361445e+00 2.4280197e+00 2.9151666e+00 2.2428341e+00 3.1709561e+00 2.3770599e+00 3.2772927e+00 3.0392407e+00 2.7044574e+00 2.8456337e+00 3.2543813e+00 3.4363773e+00 2.8560815e+00 1.8517858e+00 2.1570512e+00 2.0577182e+00 2.2449618e+00 3.4472201e+00 2.8333788e+00 2.8654874e+00 3.1455372e+00 2.8102985e+00 2.4278629e+00 2.3504126e+00 2.7240842e+00 2.9511072e+00 2.3468577e+00 1.7140774e+00 2.5325623e+00 2.5220817e+00 2.5303132e+00 2.6704164e+00 1.4096199e+00 2.4355523e+00 4.4339908e+00 3.4713427e+00 4.3742064e+00 3.9639546e+00 4.2144772e+00 5.1104621e+00 2.8721481e+00 4.7555981e+00 4.1997133e+00 4.6264002e+00 3.5337158e+00 3.6986235e+00 3.9580816e+00 3.3951420e+00 3.5651172e+00 3.7578933e+00 3.8852294e+00 5.2312618e+00 5.4232729e+00 3.3678461e+00 4.1846468e+00 3.2909043e+00 5.2164277e+00 3.3005331e+00 4.1286019e+00 4.4583488e+00 3.1948184e+00 3.2785487e+00 4.0052019e+00 4.2627019e+00 4.5989546e+00 4.9978258e+00 4.0193656e+00 3.4602150e+00 3.9315374e+00 4.7096962e+00 4.0441539e+00 3.8751788e+00 3.1769821e+00 3.8841455e+00 4.0829381e+00 3.6559398e+00 3.4713427e+00 4.3535851e+00 4.1922661e+00 3.7063225e+00 3.4135466e+00 3.6262912e+00 3.8337160e+00 3.4586921e+00 4.5470518e-01 3.4378533e-01 4.9766035e-01 5.6631629e-01 3.2586371e-01 3.7255734e-01 6.5172743e-01 7.6625946e-01 9.7356960e-01 4.4651726e-01 7.0784540e-01 8.1273630e-01 4.4651726e-01 6.8757066e-01 4.4417983e-01 6.0670504e-01 1.1521791e+00 6.5172743e-01 4.5581864e-01 4.5470518e-01 5.6700421e-01 4.8036801e-01 5.1607523e-01 5.8851328e-01 5.0905001e-01 3.1972361e+00 2.8360340e+00 3.3243092e+00 2.2696891e+00 2.9531300e+00 2.6835197e+00 2.9981183e+00 1.5916843e+00 2.9546153e+00 2.1366783e+00 1.9099663e+00 2.4717637e+00 2.3219731e+00 2.9300203e+00 1.8705419e+00 2.8448793e+00 2.7044574e+00 2.2951567e+00 2.8430073e+00 2.1220080e+00 3.0654291e+00 2.3117864e+00 3.1749624e+00 2.9091307e+00 2.6433897e+00 2.8065044e+00 3.2000771e+00 3.3714688e+00 2.7511201e+00 1.7679293e+00 2.0426611e+00 1.9423536e+00 2.1457242e+00 3.3172489e+00 2.6940968e+00 2.7682296e+00 3.0935247e+00 2.7391698e+00 2.2996943e+00 2.2360451e+00 2.5729378e+00 2.8382774e+00 2.2413445e+00 1.6312555e+00 2.4031247e+00 2.3848740e+00 2.4037412e+00 2.5843380e+00 1.3803845e+00 2.3178393e+00 4.3373464e+00 3.3555449e+00 4.3029534e+00 3.8394246e+00 4.1166152e+00 5.0345534e+00 2.7564428e+00 4.6628709e+00 4.0929284e+00 4.5724955e+00 3.4657942e+00 3.6038441e+00 3.8912788e+00 3.2935105e+00 3.4985926e+00 3.6938082e+00 3.7771525e+00 5.1600819e+00 5.3477989e+00 3.2453592e+00 4.1245629e+00 3.1885527e+00 5.1389533e+00 3.2183480e+00 4.0411872e+00 4.3734530e+00 3.1116430e+00 3.1793624e+00 3.9065553e+00 4.1815080e+00 4.5288943e+00 4.9506208e+00 3.9281139e+00 3.3421539e+00 3.7789119e+00 4.6812838e+00 3.9623295e+00 3.7603559e+00 3.0782101e+00 3.8325036e+00 4.0241284e+00 3.6474081e+00 3.3555449e+00 4.2739171e+00 4.1339606e+00 3.6720159e+00 3.3349237e+00 3.5512382e+00 3.7511837e+00 3.3364095e+00 4.1312257e-01 5.0905001e-01 4.2538717e-01 3.2352160e-01 2.0656129e-01 5.0592043e-01 1.1017858e+00 1.2234738e+00 1.5422108e-01 4.1312257e-01 6.3924842e-01 1.5422108e-01 6.1968386e-01 4.0293660e-01 5.2942799e-01 7.7919451e-01 6.2482915e-01 5.6631629e-01 8.1385214e-01 2.5251796e-01 8.0032200e-01 4.2538717e-01 7.1462831e-01 3.2352160e-01 3.3601225e+00 3.0492285e+00 3.5130686e+00 2.4784234e+00 3.1574358e+00 2.9495683e+00 3.2305582e+00 1.7639552e+00 3.1543365e+00 2.3872777e+00 2.0066796e+00 2.7104259e+00 2.4866453e+00 3.1794134e+00 2.0999661e+00 3.0164205e+00 2.9733298e+00 2.5409084e+00 3.0313923e+00 2.3496997e+00 3.3211033e+00 2.5173832e+00 3.4035007e+00 3.1599783e+00 2.8424094e+00 2.9896107e+00 3.3894792e+00 3.5821206e+00 2.9960387e+00 1.9633030e+00 2.2546134e+00 2.1472921e+00 2.3729779e+00 3.5766918e+00 2.9692947e+00 3.0147040e+00 3.2887803e+00 2.9233984e+00 2.5628362e+00 2.4694536e+00 2.8371552e+00 3.0850817e+00 2.4681135e+00 1.7749726e+00 2.6585961e+00 2.6493446e+00 2.6623632e+00 2.8060305e+00 1.5124582e+00 2.5679553e+00 4.5912390e+00 3.6144502e+00 4.5212874e+00 4.0982070e+00 4.3637125e+00 5.2494547e+00 3.0086587e+00 4.8875515e+00 4.3294620e+00 4.7880147e+00 3.6912876e+00 3.8418637e+00 4.1117747e+00 3.5413188e+00 3.7389462e+00 3.9250135e+00 4.0233529e+00 5.3754694e+00 5.5627643e+00 3.4785161e+00 4.3436980e+00 3.4455964e+00 5.3512930e+00 3.4471566e+00 4.2776053e+00 4.5941143e+00 3.3449470e+00 3.4269051e+00 4.1524717e+00 4.3946634e+00 4.7366258e+00 5.1414650e+00 4.1713411e+00 3.5895201e+00 4.0467919e+00 4.8635964e+00 4.2075047e+00 4.0127353e+00 3.3273395e+00 4.0411872e+00 4.2480617e+00 3.8321687e+00 3.6144502e+00 4.5072985e+00 4.3598062e+00 3.8780834e+00 3.5586316e+00 3.7805671e+00 3.9971028e+00 3.6003219e+00 2.5651975e-01 2.8192292e-01 3.4378533e-01 3.4378533e-01 4.0147421e-01 7.1840099e-01 8.5690100e-01 3.7598397e-01 4.2538717e-01 5.3665999e-01 3.7598397e-01 6.6827038e-01 2.1269358e-01 3.0546431e-01 1.1320702e+00 6.2988288e-01 2.0656129e-01 4.4535192e-01 4.2667565e-01 4.1449626e-01 4.3691963e-01 3.8934542e-01 2.5251796e-01 3.3428183e+00 3.0232018e+00 3.4944845e+00 2.4950353e+00 3.1381402e+00 2.9363801e+00 3.2027420e+00 1.8084630e+00 3.1409294e+00 2.3642733e+00 2.1113036e+00 2.6784604e+00 2.5283251e+00 3.1625374e+00 2.0667297e+00 2.9950041e+00 2.9473422e+00 2.5410503e+00 3.0407257e+00 2.3596992e+00 3.2858223e+00 2.4986337e+00 3.3960124e+00 3.1519721e+00 2.8255193e+00 2.9686973e+00 3.3765772e+00 3.5575681e+00 2.9720515e+00 1.9732878e+00 2.2758449e+00 2.1765379e+00 2.3630256e+00 3.5606213e+00 2.9432282e+00 2.9813163e+00 3.2672636e+00 2.9349850e+00 2.5393641e+00 2.4678343e+00 2.8348218e+00 3.0655803e+00 2.4649412e+00 1.8381372e+00 2.6459992e+00 2.6324803e+00 2.6428278e+00 2.7886501e+00 1.5384446e+00 2.5500177e+00 4.5509522e+00 3.5863729e+00 4.4953238e+00 4.0776551e+00 4.3319640e+00 5.2308062e+00 2.9880146e+00 4.8736353e+00 4.3174903e+00 4.7496159e+00 3.6545040e+00 3.8173510e+00 4.0797075e+00 3.5129177e+00 3.6850739e+00 3.8789949e+00 4.0011311e+00 5.3516635e+00 5.5447338e+00 3.4854203e+00 4.3070102e+00 3.4066692e+00 5.3366535e+00 3.4209331e+00 4.2472818e+00 4.5769661e+00 3.3144678e+00 3.3951450e+00 4.1229838e+00 4.3815083e+00 4.7200939e+00 5.1200990e+00 4.1381062e+00 3.5750015e+00 4.0416512e+00 4.8355880e+00 4.1628805e+00 3.9898962e+00 3.2934163e+00 4.0073765e+00 4.2053647e+00 3.7839552e+00 3.5863729e+00 4.4735121e+00 4.3145846e+00 3.8316735e+00 3.5355330e+00 3.7466071e+00 3.9521135e+00 3.5718733e+00 1.2418578e-01 5.2942799e-01 4.9766035e-01 2.5251796e-01 6.0060595e-01 7.1462831e-01 4.4535192e-01 3.8776762e-01 3.2352160e-01 4.4535192e-01 8.5434758e-01 1.2418578e-01 2.5251796e-01 1.2643026e+00 8.1354181e-01 4.1449626e-01 4.5581864e-01 5.6769031e-01 3.0546431e-01 6.2024833e-01 2.0656129e-01 2.5251796e-01 3.3898078e+00 3.1105347e+00 3.5575681e+00 2.6249526e+00 3.2229246e+00 3.0488669e+00 3.3004172e+00 1.9465831e+00 3.2118493e+00 2.4993166e+00 2.2473120e+00 2.7928582e+00 2.6296047e+00 3.2639046e+00 2.1933937e+00 3.0559188e+00 3.0673749e+00 2.6440180e+00 3.1486786e+00 2.4776707e+00 3.4056271e+00 2.5954147e+00 3.4958702e+00 3.2483608e+00 2.9041534e+00 3.0378828e+00 3.4425295e+00 3.6411503e+00 3.0811775e+00 2.0851901e+00 2.3997585e+00 2.2980893e+00 2.4741664e+00 3.6714798e+00 3.0661139e+00 3.0923102e+00 3.3390355e+00 3.0288896e+00 2.6566259e+00 2.5949561e+00 2.9511072e+00 3.1662394e+00 2.5768305e+00 1.9764051e+00 2.7650187e+00 2.7420671e+00 2.7570191e+00 2.8802219e+00 1.6913411e+00 2.6662783e+00 4.6723657e+00 3.7109297e+00 4.5802461e+00 4.1829734e+00 4.4414351e+00 5.3024507e+00 3.1246867e+00 4.9479218e+00 4.4123750e+00 4.8421359e+00 3.7582429e+00 3.9238367e+00 4.1750713e+00 3.6455011e+00 3.8262353e+00 3.9966275e+00 4.0997246e+00 5.4219259e+00 5.6210533e+00 3.5985833e+00 4.4045665e+00 3.5402439e+00 5.4041845e+00 3.5288526e+00 4.3467079e+00 4.6509698e+00 3.4261305e+00 3.5087649e+00 4.2340479e+00 4.4487072e+00 4.7898591e+00 5.1726632e+00 4.2521321e+00 3.6728562e+00 4.1446028e+00 4.9002452e+00 4.2845042e+00 4.0915924e+00 3.4110551e+00 4.0971854e+00 4.3142588e+00 3.8789274e+00 3.7109297e+00 4.5753785e+00 4.4261431e+00 3.9377466e+00 3.6482464e+00 3.8509694e+00 4.0749843e+00 3.6894983e+00 5.1607523e-01 4.5470518e-01 2.5251796e-01 7.0086313e-01 8.1067767e-01 3.7598397e-01 2.8192292e-01 3.0546431e-01 3.7598397e-01 8.2654509e-01 1.2418578e-01 2.1845981e-01 1.1754055e+00 8.0326782e-01 4.2667565e-01 5.7324170e-01 4.9766035e-01 4.1449626e-01 6.0551856e-01 3.0546431e-01 2.0656129e-01 3.4780839e+00 3.2028668e+00 3.6478832e+00 2.7001131e+00 3.3123070e+00 3.1424188e+00 3.3940268e+00 2.0081113e+00 3.3027430e+00 2.5846998e+00 2.2899742e+00 2.8843735e+00 2.7014135e+00 3.3579678e+00 2.2804674e+00 3.1447330e+00 3.1614572e+00 2.7347909e+00 3.2266676e+00 2.5600441e+00 3.4989115e+00 2.6835197e+00 3.5848035e+00 3.3425343e+00 2.9944056e+00 3.1272113e+00 3.5315985e+00 3.7321938e+00 3.1736230e+00 2.1642821e+00 2.4763086e+00 2.3729779e+00 2.5613679e+00 3.7645411e+00 3.1602773e+00 3.1861493e+00 3.4298218e+00 3.1090174e+00 2.7503801e+00 2.6773131e+00 3.0414782e+00 3.2606191e+00 2.6626548e+00 2.0308266e+00 2.8549070e+00 2.8371552e+00 2.8500790e+00 2.9720515e+00 1.7439430e+00 2.7570191e+00 4.7646254e+00 3.8019108e+00 4.6714768e+00 4.2777154e+00 4.5341669e+00 5.3940437e+00 3.2096520e+00 5.0408889e+00 4.5037829e+00 4.9318274e+00 3.8493108e+00 4.0147814e+00 4.2656755e+00 3.7323432e+00 3.9122146e+00 4.0862794e+00 4.1939019e+00 5.5136120e+00 5.7113100e+00 3.6836404e+00 4.4947801e+00 3.6298047e+00 5.4953655e+00 3.6181784e+00 4.4396174e+00 4.7440323e+00 3.5161021e+00 3.6013159e+00 4.3259034e+00 4.5411167e+00 4.8804165e+00 5.2620015e+00 4.3431589e+00 3.7666196e+00 4.2394195e+00 4.9871255e+00 4.3755778e+00 4.1864815e+00 3.5032323e+00 4.1868319e+00 4.4036244e+00 3.9638383e+00 3.8019108e+00 4.6672392e+00 4.5155386e+00 4.0245873e+00 3.7349501e+00 3.9420153e+00 4.1660972e+00 3.7835217e+00 1.2418578e-01 7.0826681e-01 9.4125538e-01 1.1340084e+00 2.1845981e-01 4.4417983e-01 8.2105460e-01 2.1845981e-01 3.8776762e-01 4.1449626e-01 4.2418962e-01 9.1075311e-01 3.7255734e-01 4.8036801e-01 6.6827038e-01 2.5651975e-01 6.4704320e-01 2.0656129e-01 6.8961791e-01 3.2586371e-01 3.4686627e+00 3.1154621e+00 3.6024772e+00 2.5108475e+00 3.2290313e+00 2.9704704e+00 3.2809332e+00 1.7903952e+00 3.2349033e+00 2.3960250e+00 2.0600195e+00 2.7476411e+00 2.5610667e+00 3.2181149e+00 2.1323638e+00 3.1154281e+00 2.9881598e+00 2.5786309e+00 3.0947136e+00 2.3839455e+00 3.3448197e+00 2.5821869e+00 3.4532666e+00 3.1998457e+00 2.9200439e+00 3.0794219e+00 3.4771054e+00 3.6510733e+00 3.0328831e+00 2.0197525e+00 2.2893157e+00 2.1858172e+00 2.4166535e+00 3.6030381e+00 2.9770247e+00 3.0492285e+00 3.3713329e+00 2.9974031e+00 2.5833316e+00 2.4944673e+00 2.8535197e+00 3.1260028e+00 2.5104998e+00 1.8109223e+00 2.6804452e+00 2.6742360e+00 2.6875169e+00 2.8656044e+00 1.5447938e+00 2.5961850e+00 4.6147552e+00 3.6320149e+00 4.5850999e+00 4.1288948e+00 4.3989089e+00 5.3208661e+00 3.0146208e+00 4.9525575e+00 4.3778283e+00 4.8485483e+00 3.7416375e+00 3.8836706e+00 4.1692394e+00 3.5584719e+00 3.7545764e+00 3.9635178e+00 4.0653249e+00 5.4465238e+00 5.6318041e+00 3.5148434e+00 4.4004449e+00 3.4571917e+00 5.4256316e+00 3.4931266e+00 4.3243671e+00 4.6617210e+00 3.3863989e+00 3.4595139e+00 4.1872611e+00 4.4691596e+00 4.8126955e+00 5.2323771e+00 4.2057897e+00 3.6309135e+00 4.0714444e+00 4.9544547e+00 4.2355968e+00 4.0495222e+00 3.3563815e+00 4.1075398e+00 4.2957899e+00 3.9065020e+00 3.6320149e+00 4.5543025e+00 4.4046818e+00 3.9362563e+00 3.6038441e+00 3.8285790e+00 4.0238937e+00 3.6204282e+00 6.2538346e-01 1.0167353e+00 1.1763980e+00 1.4096146e-01 4.1449626e-01 7.4740267e-01 1.4096146e-01 4.4535192e-01 3.7427929e-01 4.5581864e-01 8.2135873e-01 4.4535192e-01 5.0503591e-01 7.3145860e-01 2.1269358e-01 7.1421512e-01 2.5251796e-01 6.8961791e-01 2.8192292e-01 3.4295980e+00 3.0905489e+00 3.5700123e+00 2.4944673e+00 3.2020292e+00 2.9613737e+00 3.2617087e+00 1.7750284e+00 3.2049793e+00 2.3909366e+00 2.0308266e+00 2.7326472e+00 2.5286673e+00 3.2028668e+00 2.1181082e+00 3.0792693e+00 2.9816970e+00 2.5624932e+00 3.0681391e+00 2.3677174e+00 3.3352475e+00 2.5566444e+00 3.4334259e+00 3.1839972e+00 2.8907702e+00 3.0462904e+00 3.4448498e+00 3.6256155e+00 3.0181476e+00 1.9946242e+00 2.2719663e+00 2.1665831e+00 2.3980102e+00 3.5922217e+00 2.9733478e+00 3.0355056e+00 3.3410264e+00 2.9673667e+00 2.5744164e+00 2.4820750e+00 2.8455141e+00 3.1100045e+00 2.4920874e+00 1.7903952e+00 2.6704164e+00 2.6637326e+00 2.6767607e+00 2.8425716e+00 1.5257596e+00 2.5839288e+00 4.6057175e+00 3.6244539e+00 4.5619285e+00 4.1170543e+00 4.3856360e+00 5.2953657e+00 3.0110441e+00 4.9290739e+00 4.3593510e+00 4.8266994e+00 3.7227460e+00 3.8675033e+00 4.1480696e+00 3.5505922e+00 3.7479505e+00 3.9489183e+00 4.0495222e+00 5.4213759e+00 5.6069704e+00 3.4988409e+00 4.3796539e+00 3.4519560e+00 5.3990720e+00 3.4751739e+00 4.3070102e+00 4.6372963e+00 3.3701472e+00 3.4467337e+00 4.1738909e+00 4.4422690e+00 4.7852959e+00 5.2004339e+00 4.1925494e+00 3.6148707e+00 4.0613681e+00 4.9222119e+00 4.2248103e+00 4.0355816e+00 3.3448336e+00 4.0832977e+00 4.2781022e+00 3.8793995e+00 3.6244539e+00 4.5369609e+00 4.3880177e+00 3.9147164e+00 3.5857963e+00 3.8105301e+00 4.0134966e+00 3.6122845e+00 7.1799256e-01 8.0358695e-01 5.5419992e-01 4.6472023e-01 2.5651975e-01 5.5419992e-01 1.0198386e+00 3.2352160e-01 4.1586001e-01 1.2565757e+00 1.0054037e+00 4.1586001e-01 5.2574978e-01 6.4806901e-01 4.5581864e-01 8.0619006e-01 3.2586371e-01 4.1586001e-01 3.3274681e+00 3.0643176e+00 3.5031390e+00 2.5831315e+00 3.1734856e+00 3.0256804e+00 3.2593968e+00 1.9049236e+00 3.1662394e+00 2.4587503e+00 2.1948123e+00 2.7522526e+00 2.5874301e+00 3.2341367e+00 2.1493214e+00 2.9966141e+00 3.0389019e+00 2.6214821e+00 3.0978571e+00 2.4463233e+00 3.3673968e+00 2.5500177e+00 3.4578354e+00 3.2240818e+00 2.8578051e+00 2.9828212e+00 3.3905763e+00 3.5904118e+00 3.0455175e+00 2.0467937e+00 2.3640301e+00 2.2638728e+00 2.4385827e+00 3.6424937e+00 3.0387448e+00 3.0543001e+00 3.2867025e+00 2.9810914e+00 2.6291524e+00 2.5579619e+00 2.9291061e+00 3.1351569e+00 2.5421955e+00 1.9274228e+00 2.7359835e+00 2.7196686e+00 2.7293044e+00 2.8418790e+00 1.6234861e+00 2.6349941e+00 4.6268918e+00 3.6735954e+00 4.5276539e+00 4.1519514e+00 4.3981255e+00 5.2510005e+00 3.0847983e+00 4.9049143e+00 4.3738893e+00 4.7804645e+00 3.7059360e+00 3.8806135e+00 4.1210200e+00 3.6007179e+00 3.7674167e+00 3.9401211e+00 4.0632074e+00 5.3683319e+00 5.5675337e+00 3.5650560e+00 4.3467079e+00 3.4964385e+00 5.3534247e+00 3.4817971e+00 4.3007421e+00 4.6057628e+00 3.3796707e+00 3.4684743e+00 4.1910954e+00 4.4033511e+00 4.7374076e+00 5.1107389e+00 4.2056854e+00 3.6417452e+00 4.1251907e+00 4.8290847e+00 4.2339606e+00 4.0576409e+00 3.3702841e+00 4.0376849e+00 4.2550416e+00 3.8015574e+00 3.6735954e+00 4.5249462e+00 4.3662620e+00 3.8699102e+00 3.5979726e+00 3.8007870e+00 4.0252278e+00 3.6568095e+00 3.0811765e-01 1.0065841e+00 9.1075311e-01 6.2538346e-01 1.0065841e+00 1.2125198e+00 7.0086313e-01 6.1623531e-01 1.8279039e+00 1.0613462e+00 6.9369532e-01 4.8135521e-01 1.1149070e+00 3.0811765e-01 9.7098574e-01 4.0293660e-01 8.0358695e-01 3.4154940e+00 3.1439160e+00 3.5872997e+00 2.8054691e+00 3.2839149e+00 3.1127876e+00 3.3274872e+00 2.2159139e+00 3.2598167e+00 2.6167778e+00 2.5758644e+00 2.8523754e+00 2.8256291e+00 3.3122081e+00 2.3003824e+00 3.0947136e+00 3.1160876e+00 2.7384939e+00 3.2940867e+00 2.6281170e+00 3.4401593e+00 2.6851662e+00 3.5758474e+00 3.3024121e+00 2.9636544e+00 3.0850893e+00 3.4935692e+00 3.6787177e+00 3.1382691e+00 2.2643860e+00 2.5838312e+00 2.4957147e+00 2.5876691e+00 3.7272092e+00 3.1148696e+00 3.1192689e+00 3.3731473e+00 3.1641238e+00 2.7164367e+00 2.7371177e+00 3.0433470e+00 3.2094276e+00 2.6989752e+00 2.2729593e+00 2.8576425e+00 2.7954161e+00 2.8234677e+00 2.9407805e+00 1.9980146e+00 2.7511201e+00 4.6993349e+00 3.7716613e+00 4.6090409e+00 4.2170163e+00 4.4740971e+00 5.3233695e+00 3.2312218e+00 4.9715358e+00 4.4649192e+00 4.8634712e+00 3.7907269e+00 3.9777091e+00 4.2102908e+00 3.7293867e+00 3.8887827e+00 4.0321207e+00 4.1304736e+00 5.4336694e+00 5.6535520e+00 3.7088191e+00 4.4333012e+00 3.6017014e+00 5.4287623e+00 3.5939935e+00 4.3696884e+00 4.6684884e+00 3.4865359e+00 3.5518450e+00 4.2777882e+00 4.4716883e+00 4.8204359e+00 5.1830573e+00 4.2975164e+00 3.7189281e+00 4.1915116e+00 4.9282164e+00 4.3126073e+00 4.1182993e+00 3.4568393e+00 4.1297239e+00 4.3496867e+00 3.9207320e+00 3.7716613e+00 4.6018276e+00 4.4564872e+00 3.9827168e+00 3.7295388e+00 3.8905364e+00 4.1037903e+00 3.7281480e+00 1.1474460e+00 1.0344911e+00 7.0043186e-01 1.1474460e+00 1.4311891e+00 8.2654509e-01 7.6787403e-01 1.9730918e+00 1.3073038e+00 7.9878917e-01 6.2407309e-01 1.2632199e+00 5.0503591e-01 1.1833480e+00 5.0905001e-01 9.4080461e-01 3.4392518e+00 3.2008338e+00 3.6261197e+00 2.9076510e+00 3.3439089e+00 3.2073032e+00 3.3907558e+00 2.3329978e+00 3.3168472e+00 2.7081478e+00 2.6929215e+00 2.9283888e+00 2.9264154e+00 3.3942456e+00 2.3848677e+00 3.1312883e+00 3.2027420e+00 2.8385969e+00 3.3781905e+00 2.7324845e+00 3.5133135e+00 2.7602023e+00 3.6563535e+00 3.3905763e+00 3.0256209e+00 3.1312883e+00 3.5423793e+00 3.7299679e+00 3.2179031e+00 2.3661539e+00 2.6906231e+00 2.6054995e+00 2.6801752e+00 3.8138933e+00 3.2027420e+00 3.1888037e+00 3.4187265e+00 3.2459231e+00 2.8060305e+00 2.8359967e+00 3.1453916e+00 3.2886661e+00 2.7943622e+00 2.3874574e+00 2.9533314e+00 2.8877105e+00 2.9141136e+00 3.0147886e+00 2.0992326e+00 2.8425716e+00 4.7630756e+00 3.8535531e+00 4.6550014e+00 4.2947468e+00 4.5389196e+00 5.3632740e+00 3.3234239e+00 5.0232338e+00 4.5363757e+00 4.8985515e+00 3.8441304e+00 4.0476997e+00 4.2599433e+00 3.8106152e+00 3.9516603e+00 4.0850903e+00 4.1995425e+00 5.4671477e+00 5.6957748e+00 3.8037734e+00 4.4771379e+00 3.6783395e+00 5.4690202e+00 3.6632177e+00 4.4259826e+00 4.7160634e+00 3.5560806e+00 3.6239123e+00 4.3464973e+00 4.5187406e+00 4.8619146e+00 5.2001625e+00 4.3635746e+00 3.7979761e+00 4.2843668e+00 4.9451734e+00 4.3709882e+00 4.1899199e+00 3.5299194e+00 4.1707976e+00 4.3972344e+00 3.9457376e+00 3.8535531e+00 4.6546556e+00 4.5024055e+00 4.0227020e+00 3.8004969e+00 3.9484773e+00 4.1635108e+00 3.8079860e+00 3.0811765e-01 6.5223271e-01 0.0000000e+00 5.0991930e-01 3.2586371e-01 4.2667565e-01 8.3172002e-01 5.0991930e-01 5.6769031e-01 7.5082357e-01 2.1845981e-01 7.0479928e-01 3.0811765e-01 6.4755655e-01 2.1845981e-01 3.4865562e+00 3.1726595e+00 3.6377960e+00 2.5987470e+00 3.2814045e+00 3.0627375e+00 3.3515846e+00 1.8841865e+00 3.2769379e+00 2.5038079e+00 2.1311468e+00 2.8311678e+00 2.6104387e+00 3.2962520e+00 2.2214438e+00 3.1433122e+00 3.0878634e+00 2.6552472e+00 3.1570103e+00 2.4668912e+00 3.4394878e+00 2.6411293e+00 3.5233648e+00 3.2747247e+00 2.9659871e+00 3.1154783e+00 3.5134741e+00 3.7059620e+00 3.1148696e+00 2.0851901e+00 2.3731428e+00 2.2655571e+00 2.4927109e+00 3.6920087e+00 3.0823446e+00 3.1337459e+00 3.4135200e+00 3.0481703e+00 2.6780487e+00 2.5874301e+00 2.9489507e+00 3.2027420e+00 2.5873149e+00 1.8973383e+00 2.7738355e+00 2.7632614e+00 2.7778954e+00 2.9269923e+00 1.6390769e+00 2.6848587e+00 4.7106706e+00 3.7313856e+00 4.6446321e+00 4.2142736e+00 4.4836580e+00 5.3716885e+00 3.1250284e+00 5.0074019e+00 4.4485220e+00 4.9128219e+00 3.8150636e+00 3.9624529e+00 4.2358121e+00 3.6602286e+00 3.8605980e+00 4.0488387e+00 4.1418643e+00 5.4970002e+00 5.6855224e+00 3.5964347e+00 4.4685630e+00 3.5634461e+00 5.4730406e+00 3.5693950e+00 4.3989089e+00 4.7150659e+00 3.4668130e+00 3.5464993e+00 4.2723380e+00 4.5155386e+00 4.8594290e+00 5.2647079e+00 4.2921213e+00 3.7064459e+00 4.1581964e+00 4.9913682e+00 4.3286007e+00 4.1303097e+00 3.4468286e+00 4.1669742e+00 4.3729308e+00 3.9624170e+00 3.7313856e+00 4.6297577e+00 4.4844827e+00 4.0056359e+00 3.6817961e+00 3.9035218e+00 4.1179678e+00 3.7164366e+00 5.2942799e-01 3.0811765e-01 6.0611244e-01 3.2586371e-01 3.0546431e-01 9.4125538e-01 6.0060595e-01 5.2574978e-01 8.1558458e-01 2.8507955e-01 6.4755655e-01 4.1312257e-01 5.5419992e-01 2.0656129e-01 3.7045940e+00 3.4142500e+00 3.8690719e+00 2.8688189e+00 3.5226542e+00 3.3385842e+00 3.6010215e+00 2.1580776e+00 3.5196916e+00 2.7652601e+00 2.4083873e+00 3.0820950e+00 2.8783309e+00 3.5617386e+00 2.4693940e+00 3.3658240e+00 3.3558214e+00 2.9322808e+00 3.4112518e+00 2.7424260e+00 3.6945405e+00 2.8867565e+00 3.7848217e+00 3.5471494e+00 3.2076743e+00 3.3449470e+00 3.7498842e+00 3.9450818e+00 3.3735875e+00 2.3490515e+00 2.6490839e+00 2.5444216e+00 2.7549369e+00 3.9621873e+00 3.3527310e+00 3.3865418e+00 3.6475099e+00 3.3024121e+00 2.9459653e+00 2.8566322e+00 3.2311957e+00 3.4653703e+00 2.8535197e+00 2.1708533e+00 3.0455175e+00 3.0364473e+00 3.0465086e+00 3.1799184e+00 1.8842354e+00 2.9509414e+00 4.9594922e+00 3.9924292e+00 4.8844442e+00 4.4804205e+00 4.7354764e+00 5.6130421e+00 3.3873806e+00 5.2583931e+00 4.7090394e+00 5.1413739e+00 4.0532097e+00 4.2156327e+00 4.4735121e+00 3.9153764e+00 4.0928954e+00 4.2826383e+00 4.4004808e+00 5.7341534e+00 5.9271927e+00 3.8700742e+00 4.7016733e+00 3.8156003e+00 5.7155096e+00 3.8175051e+00 4.6462020e+00 4.9620553e+00 3.7143727e+00 3.8000004e+00 4.5254820e+00 4.7613782e+00 5.0991856e+00 5.4888822e+00 4.5411167e+00 3.9718373e+00 4.4397363e+00 5.2074442e+00 4.5701358e+00 4.3916992e+00 3.6996802e+00 4.3970196e+00 4.6045465e+00 4.1691696e+00 3.9924292e+00 4.8725396e+00 4.7150659e+00 4.2256400e+00 3.9292780e+00 4.1454529e+00 4.3599285e+00 3.9798670e+00 6.5223271e-01 1.1268457e+00 4.1449626e-01 5.0090417e-01 1.3784393e+00 1.1053488e+00 5.8851328e-01 6.6827038e-01 7.6787403e-01 4.8036801e-01 9.0852141e-01 2.8192292e-01 5.0905001e-01 3.5117473e+00 3.2719724e+00 3.6961290e+00 2.8060101e+00 3.3799936e+00 3.2401159e+00 3.4709594e+00 2.1293854e+00 3.3643376e+00 2.6848587e+00 2.4115946e+00 2.9723937e+00 2.7984009e+00 3.4455106e+00 2.3749088e+00 3.1913397e+00 3.2574960e+00 2.8320532e+00 3.3150921e+00 2.6637326e+00 3.5883493e+00 2.7640668e+00 3.6695251e+00 3.4317240e+00 3.0617355e+00 3.1820648e+00 3.5855784e+00 3.7950050e+00 3.2620096e+00 2.2645766e+00 2.5831070e+00 2.4810276e+00 2.6563403e+00 3.8575846e+00 3.2574960e+00 3.2718360e+00 3.4856613e+00 3.1913594e+00 2.8466990e+00 2.7801709e+00 3.1437608e+00 3.3466419e+00 2.7595194e+00 2.1498672e+00 2.9543365e+00 2.9330570e+00 2.9459653e+00 3.0511838e+00 1.8555964e+00 2.8534301e+00 4.8490742e+00 3.8962785e+00 4.7308926e+00 4.3643842e+00 4.6144072e+00 5.4442665e+00 3.3129652e+00 5.0997539e+00 4.5816539e+00 4.9883395e+00 3.9213002e+00 4.0961125e+00 4.3313403e+00 3.8279951e+00 4.0003537e+00 4.1625074e+00 4.2731561e+00 5.5604940e+00 5.7635900e+00 3.7812981e+00 4.5580745e+00 3.7236571e+00 5.5437155e+00 3.6992145e+00 4.5120086e+00 4.8012240e+00 3.5989213e+00 3.6872980e+00 4.4084575e+00 4.5949523e+00 4.9306472e+00 5.2918657e+00 4.4250143e+00 3.8510143e+00 4.3338058e+00 5.0198276e+00 4.4571663e+00 4.2687771e+00 3.5910375e+00 4.2454653e+00 4.4729144e+00 4.0139676e+00 3.8962785e+00 4.7377574e+00 4.5853438e+00 4.0877338e+00 3.8179781e+00 4.0161568e+00 4.2490407e+00 3.8755800e+00 5.0991930e-01 3.2586371e-01 4.2667565e-01 8.3172002e-01 5.0991930e-01 5.6769031e-01 7.5082357e-01 2.1845981e-01 7.0479928e-01 3.0811765e-01 6.4755655e-01 2.1845981e-01 3.4865562e+00 3.1726595e+00 3.6377960e+00 2.5987470e+00 3.2814045e+00 3.0627375e+00 3.3515846e+00 1.8841865e+00 3.2769379e+00 2.5038079e+00 2.1311468e+00 2.8311678e+00 2.6104387e+00 3.2962520e+00 2.2214438e+00 3.1433122e+00 3.0878634e+00 2.6552472e+00 3.1570103e+00 2.4668912e+00 3.4394878e+00 2.6411293e+00 3.5233648e+00 3.2747247e+00 2.9659871e+00 3.1154783e+00 3.5134741e+00 3.7059620e+00 3.1148696e+00 2.0851901e+00 2.3731428e+00 2.2655571e+00 2.4927109e+00 3.6920087e+00 3.0823446e+00 3.1337459e+00 3.4135200e+00 3.0481703e+00 2.6780487e+00 2.5874301e+00 2.9489507e+00 3.2027420e+00 2.5873149e+00 1.8973383e+00 2.7738355e+00 2.7632614e+00 2.7778954e+00 2.9269923e+00 1.6390769e+00 2.6848587e+00 4.7106706e+00 3.7313856e+00 4.6446321e+00 4.2142736e+00 4.4836580e+00 5.3716885e+00 3.1250284e+00 5.0074019e+00 4.4485220e+00 4.9128219e+00 3.8150636e+00 3.9624529e+00 4.2358121e+00 3.6602286e+00 3.8605980e+00 4.0488387e+00 4.1418643e+00 5.4970002e+00 5.6855224e+00 3.5964347e+00 4.4685630e+00 3.5634461e+00 5.4730406e+00 3.5693950e+00 4.3989089e+00 4.7150659e+00 3.4668130e+00 3.5464993e+00 4.2723380e+00 4.5155386e+00 4.8594290e+00 5.2647079e+00 4.2921213e+00 3.7064459e+00 4.1581964e+00 4.9913682e+00 4.3286007e+00 4.1303097e+00 3.4468286e+00 4.1669742e+00 4.3729308e+00 3.9624170e+00 3.7313856e+00 4.6297577e+00 4.4844827e+00 4.0056359e+00 3.6817961e+00 3.9035218e+00 4.1179678e+00 3.7164366e+00 7.3813096e-01 6.8961791e-01 7.0086313e-01 2.0000000e-01 7.3805807e-01 1.0030700e+00 4.0293660e-01 9.4352681e-01 2.5251796e-01 1.0120221e+00 6.2024833e-01 3.8265307e+00 3.4552560e+00 3.9537404e+00 2.8022534e+00 3.5701225e+00 3.2863508e+00 3.6126198e+00 2.0524386e+00 3.5845127e+00 2.6848587e+00 2.2888897e+00 3.0684384e+00 2.8791325e+00 3.5464993e+00 2.4469125e+00 3.4686755e+00 3.2961206e+00 2.9072057e+00 3.4107902e+00 2.6959009e+00 3.6545040e+00 2.9195876e+00 3.7806187e+00 3.5312474e+00 3.2669151e+00 3.4295849e+00 3.8277021e+00 3.9909030e+00 3.3562690e+00 2.3465937e+00 2.5906376e+00 2.4892531e+00 2.7423171e+00 3.9193693e+00 3.2780620e+00 3.3708389e+00 3.7190229e+00 3.3268984e+00 2.8983020e+00 2.7954161e+00 3.1611584e+00 3.4557351e+00 2.8328337e+00 2.0658700e+00 2.9919517e+00 2.9960210e+00 3.0059712e+00 3.2048547e+00 1.8038968e+00 2.9141136e+00 4.9189452e+00 3.9342203e+00 4.9208723e+00 4.4494735e+00 4.7160542e+00 5.6635213e+00 3.2909043e+00 5.2946188e+00 4.7062325e+00 5.1779277e+00 4.0657707e+00 4.2053647e+00 4.4986279e+00 3.8509694e+00 4.0384339e+00 4.2739171e+00 4.3927415e+00 5.7909894e+00 5.9706827e+00 3.8237409e+00 4.7267599e+00 3.7490739e+00 5.7704875e+00 3.8154018e+00 4.6503268e+00 5.0044958e+00 3.7060524e+00 3.7762575e+00 4.5037232e+00 4.8164539e+00 5.1574084e+00 5.5860081e+00 4.5195237e+00 3.9601358e+00 4.3901702e+00 5.2992055e+00 4.5412859e+00 4.3739561e+00 3.6694918e+00 4.4403343e+00 4.6130415e+00 4.2323959e+00 3.9342203e+00 4.8773871e+00 4.7190595e+00 4.2559866e+00 3.9201797e+00 4.1523445e+00 4.3289315e+00 3.9302319e+00 2.1845981e-01 1.1486378e+00 7.0784540e-01 4.0438741e-01 5.0503591e-01 4.4651726e-01 4.0147421e-01 5.0905001e-01 3.2352160e-01 1.4096146e-01 3.4156574e+00 3.1235447e+00 3.5778307e+00 2.6097685e+00 3.2346686e+00 3.0478400e+00 3.3101102e+00 1.9193093e+00 3.2270948e+00 2.4922287e+00 2.2081369e+00 2.7965957e+00 2.6184141e+00 3.2685282e+00 2.1916898e+00 3.0773654e+00 3.0673749e+00 2.6423274e+00 3.1444983e+00 2.4678343e+00 3.4088888e+00 2.6016025e+00 3.4988409e+00 3.2521427e+00 2.9171710e+00 3.0559188e+00 3.4597125e+00 3.6553612e+00 3.0847983e+00 2.0765921e+00 2.3848740e+00 2.2817008e+00 2.4722095e+00 3.6724425e+00 3.0650478e+00 3.0981264e+00 3.3567173e+00 3.0288896e+00 2.6566259e+00 2.5851693e+00 2.9455446e+00 3.1719381e+00 2.5729378e+00 1.9450955e+00 2.7611864e+00 2.7431084e+00 2.7570191e+00 2.8884401e+00 1.6625998e+00 2.6648989e+00 4.6768871e+00 3.7101281e+00 4.5948688e+00 4.1876541e+00 4.4480565e+00 5.3202405e+00 3.1169790e+00 4.9630576e+00 4.4189653e+00 4.8572313e+00 3.7684708e+00 3.9292780e+00 4.1872611e+00 3.6418662e+00 3.8262353e+00 4.0041417e+00 4.1076175e+00 5.4411191e+00 5.6370076e+00 3.5929878e+00 4.4174698e+00 3.5389106e+00 5.4223305e+00 3.5340177e+00 4.3569684e+00 4.6672392e+00 3.4309563e+00 3.5133135e+00 4.2392500e+00 4.4661721e+00 4.8075242e+00 5.1977119e+00 4.2572858e+00 3.6784045e+00 4.1454521e+00 4.9233665e+00 4.2900309e+00 4.0984960e+00 3.4145942e+00 4.1120703e+00 4.3243538e+00 3.8957047e+00 3.7101281e+00 4.5857922e+00 4.4360042e+00 3.9497198e+00 3.6509512e+00 3.8600234e+00 4.0800357e+00 3.6915258e+00 1.2223099e+00 6.2024833e-01 3.7255734e-01 6.2081167e-01 5.0905001e-01 3.7598397e-01 4.4651726e-01 3.4583729e-01 2.1269358e-01 3.6091470e+00 3.3105724e+00 3.7708932e+00 2.7979838e+00 3.4251430e+00 3.2391031e+00 3.4951642e+00 2.1075335e+00 3.4235403e+00 2.6687055e+00 2.3989464e+00 2.9762945e+00 2.8216056e+00 3.4603628e+00 2.3673218e+00 3.2680041e+00 3.2498302e+00 2.8414525e+00 3.3361912e+00 2.6626548e+00 3.5849794e+00 2.7906520e+00 3.6926714e+00 3.4497714e+00 3.1105675e+00 3.2468925e+00 3.6557661e+00 3.8432801e+00 3.2705166e+00 2.2719663e+00 2.5786309e+00 2.4784234e+00 2.6629602e+00 3.8619321e+00 3.2465133e+00 3.2780765e+00 3.5475145e+00 3.2266676e+00 2.8416143e+00 2.7719788e+00 3.1392934e+00 3.3624692e+00 2.7656089e+00 2.1335398e+00 2.9496515e+00 2.9338590e+00 2.9447165e+00 3.0808399e+00 1.8330979e+00 2.8520904e+00 4.8482992e+00 3.8884996e+00 4.7814945e+00 4.3763964e+00 4.6280797e+00 5.5131379e+00 3.2922206e+00 5.1594703e+00 4.6125121e+00 5.0342965e+00 3.9453171e+00 4.1137002e+00 4.3683295e+00 3.8151836e+00 3.9816719e+00 4.1715493e+00 4.2963195e+00 5.6322635e+00 5.8289682e+00 3.7874513e+00 4.5945190e+00 3.7079546e+00 5.6180203e+00 3.7164611e+00 4.5394421e+00 4.8614468e+00 3.6107037e+00 3.6929889e+00 4.4201622e+00 4.6634723e+00 5.0015266e+00 5.3906681e+00 4.4348302e+00 3.8718490e+00 4.3427947e+00 5.1078309e+00 4.4583488e+00 4.2864208e+00 3.5920050e+00 4.2919639e+00 4.4953238e+00 4.0619633e+00 3.8884996e+00 4.7650352e+00 4.6046026e+00 4.1173867e+00 3.8320624e+00 4.0389546e+00 4.2480032e+00 3.8727359e+00 9.0049692e-01 1.2307737e+00 1.5483011e+00 7.1462831e-01 1.5272277e+00 9.0074515e-01 1.4700179e+00 1.0331736e+00 3.7896333e+00 3.4304205e+00 3.9179666e+00 2.7683644e+00 3.5321772e+00 3.2685282e+00 3.5962433e+00 2.0250421e+00 3.5485736e+00 2.6642702e+00 2.2244833e+00 3.0435803e+00 2.8325748e+00 3.5230967e+00 2.4205131e+00 3.4307077e+00 3.2815626e+00 2.8843735e+00 3.3658240e+00 2.6687055e+00 3.6389628e+00 2.8830783e+00 3.7490739e+00 3.5087649e+00 3.2305801e+00 3.3908902e+00 3.7876239e+00 3.9561876e+00 3.3306114e+00 2.3112968e+00 2.5604155e+00 2.4585271e+00 2.7122813e+00 3.8971376e+00 3.2667813e+00 3.3674720e+00 3.6849783e+00 3.2837729e+00 2.8840079e+00 2.7685572e+00 3.1442943e+00 3.4335342e+00 2.8028287e+00 2.0286682e+00 2.9704704e+00 2.9822537e+00 2.9868163e+00 3.1741954e+00 1.7644184e+00 2.8908296e+00 4.8985114e+00 3.9102500e+00 4.8863496e+00 4.4272873e+00 4.6888407e+00 5.6294495e+00 3.2706756e+00 5.2636641e+00 4.6765452e+00 5.1547576e+00 4.0378383e+00 4.1743230e+00 4.4638518e+00 3.8230269e+00 4.0056625e+00 4.2450961e+00 4.3676124e+00 5.7745449e+00 5.9344852e+00 3.7932062e+00 4.6942925e+00 3.7245053e+00 5.7354045e+00 3.7814598e+00 4.6271849e+00 4.9763401e+00 3.6736483e+00 3.7511498e+00 4.4747039e+00 4.7841150e+00 5.1205765e+00 5.5660104e+00 4.4889834e+00 3.9348528e+00 4.3728356e+00 5.2548517e+00 4.5226167e+00 4.3526639e+00 3.6449787e+00 4.4041536e+00 4.5787890e+00 4.1879339e+00 3.9102500e+00 4.8490587e+00 4.6897155e+00 4.2150171e+00 3.8841455e+00 4.1203091e+00 4.3121165e+00 3.9109678e+00 6.7975091e-01 9.0056222e-01 4.1586001e-01 8.2275389e-01 2.0656129e-01 9.4287188e-01 6.0121055e-01 3.8264361e+00 3.4551376e+00 3.9537404e+00 2.8149627e+00 3.5710248e+00 3.2874334e+00 3.6122384e+00 2.0711789e+00 3.5849006e+00 2.6879715e+00 2.3281827e+00 3.0685922e+00 2.8946126e+00 3.5468964e+00 2.4478108e+00 3.4686755e+00 3.2962520e+00 2.9098194e+00 3.4214793e+00 2.7033034e+00 3.6543993e+00 2.9209919e+00 3.7841436e+00 3.5321717e+00 3.2673909e+00 3.4297053e+00 3.8284763e+00 3.9909892e+00 3.3567173e+00 2.3533545e+00 2.6019240e+00 2.5015675e+00 2.7452885e+00 3.9207248e+00 3.2781950e+00 3.3698144e+00 3.7190229e+00 3.3356294e+00 2.8984764e+00 2.8022534e+00 3.1646752e+00 3.4558535e+00 2.8373077e+00 2.0905239e+00 2.9944056e+00 2.9961831e+00 3.0065426e+00 3.2053509e+00 1.8216743e+00 2.9155237e+00 4.9187518e+00 3.9355645e+00 4.9209267e+00 4.4497146e+00 4.7161140e+00 5.6635613e+00 3.2956846e+00 5.2947833e+00 4.7084108e+00 5.1767384e+00 4.0656879e+00 4.2065257e+00 4.4986941e+00 3.8543544e+00 4.0391220e+00 4.2738429e+00 4.3928114e+00 5.7890564e+00 5.9715517e+00 3.8320624e+00 4.7267005e+00 3.7498842e+00 5.7708014e+00 3.8168398e+00 4.6501080e+00 5.0044433e+00 3.7068836e+00 3.7763550e+00 4.5042646e+00 4.8165110e+00 5.1578102e+00 5.5839155e+00 4.5200609e+00 3.9608542e+00 4.3918790e+00 5.2992517e+00 4.5407542e+00 4.3739561e+00 3.6695956e+00 4.4403343e+00 4.6130415e+00 4.2323959e+00 3.9355645e+00 4.8773316e+00 4.7188476e+00 4.2560614e+00 3.9234348e+00 4.1524235e+00 4.3283407e+00 3.9303212e+00 3.8934542e-01 5.4292906e-01 4.4535192e-01 5.3309112e-01 4.5581864e-01 4.2538717e-01 3.3319064e+00 3.0058998e+00 3.4822680e+00 2.4967542e+00 3.1249915e+00 2.9284660e+00 3.1836200e+00 1.8265014e+00 3.1331426e+00 2.3481462e+00 2.1458939e+00 2.6572703e+00 2.5437119e+00 3.1519721e+00 2.0470220e+00 2.9815576e+00 2.9302134e+00 2.5421955e+00 3.0374850e+00 2.3632684e+00 3.2598750e+00 2.4873223e+00 3.3884269e+00 3.1477087e+00 2.8156804e+00 2.9556616e+00 3.3682605e+00 3.5401725e+00 2.9561205e+00 1.9790422e+00 2.2832934e+00 2.1885968e+00 2.3571494e+00 3.5486864e+00 2.9260462e+00 2.9587612e+00 3.2530866e+00 2.9361879e+00 2.5256527e+00 2.4631898e+00 2.8325946e+00 3.0534395e+00 2.4619105e+00 1.8618589e+00 2.6377354e+00 2.6235630e+00 2.6314198e+00 2.7785210e+00 1.5475473e+00 2.5392051e+00 4.5179415e+00 3.5641186e+00 4.4752183e+00 4.0626016e+00 4.3069105e+00 5.2164277e+00 2.9689697e+00 4.8634846e+00 4.3067423e+00 4.7194915e+00 3.6262912e+00 3.7979761e+00 4.0547736e+00 3.4875352e+00 3.6400497e+00 3.8418637e+00 3.9849753e+00 5.3352888e+00 5.5294519e+00 3.4830211e+00 4.2776053e+00 3.3760149e+00 5.3253207e+00 3.4004918e+00 4.2238184e+00 4.5645220e+00 3.2914954e+00 3.3718862e+00 4.0995928e+00 4.3725648e+00 4.7075069e+00 5.1063282e+00 4.1113292e+00 3.5651462e+00 4.0375056e+00 4.8132427e+00 4.1268905e+00 3.9732869e+00 3.2685282e+00 3.9810803e+00 4.1706050e+00 3.7449914e+00 3.5641186e+00 4.4464848e+00 4.2774083e+00 3.7941767e+00 3.5148434e+00 3.7206115e+00 3.9162695e+00 3.5510950e+00 8.6137722e-01 3.2352160e-01 7.6166891e-01 4.2667565e-01 6.2660376e-01 3.0634640e+00 2.7392828e+00 3.2125175e+00 2.3391296e+00 2.8734025e+00 2.6707502e+00 2.9145708e+00 1.7569738e+00 2.8671376e+00 2.1479276e+00 2.1308063e+00 2.4108292e+00 2.3854031e+00 2.8851564e+00 1.8368900e+00 2.7201546e+00 2.6724144e+00 2.2982662e+00 2.8483417e+00 2.1701312e+00 3.0045018e+00 2.2531409e+00 3.1444983e+00 2.8783309e+00 2.5586145e+00 2.6967931e+00 3.1073497e+00 3.2779401e+00 2.7018605e+00 1.8104298e+00 2.1219691e+00 2.0368741e+00 2.1367260e+00 3.2905600e+00 2.6692615e+00 2.6939411e+00 2.9863438e+00 2.7320931e+00 2.2698938e+00 2.2722516e+00 2.5933163e+00 2.7845473e+00 2.2472326e+00 1.8195937e+00 2.4037412e+00 2.3571494e+00 2.3781826e+00 2.5200525e+00 1.5411691e+00 2.3001580e+00 4.2694227e+00 3.3237039e+00 4.2115652e+00 3.7930080e+00 4.0498216e+00 4.9425633e+00 2.7652100e+00 4.5847429e+00 4.0464464e+00 4.4666326e+00 3.3738930e+00 3.5479683e+00 3.8004969e+00 3.2711669e+00 3.4346585e+00 3.6043418e+00 3.7146255e+00 5.0600559e+00 5.2639977e+00 3.2609948e+00 4.0260071e+00 3.1481222e+00 5.0506841e+00 3.1599876e+00 3.9594081e+00 4.2851208e+00 3.0501817e+00 3.1181310e+00 3.8476631e+00 4.0931004e+00 4.4378867e+00 4.8317916e+00 3.8652515e+00 3.2970551e+00 3.7653550e+00 4.5583070e+00 3.8836720e+00 3.7008091e+00 3.0188386e+00 3.7282629e+00 3.9300286e+00 3.5186510e+00 3.3237039e+00 4.1891573e+00 4.0376133e+00 3.5648733e+00 3.2885200e+00 3.4693398e+00 3.6732275e+00 3.2917360e+00 8.1385214e-01 2.5251796e-01 7.6787403e-01 3.2586371e-01 3.5846101e+00 3.2546607e+00 3.7315988e+00 2.6609901e+00 3.3659358e+00 3.1439065e+00 3.4298218e+00 1.9383545e+00 3.3723944e+00 2.5580763e+00 2.1777421e+00 2.8983020e+00 2.6954219e+00 3.3808052e+00 2.2790175e+00 3.2344170e+00 3.1579733e+00 2.7462372e+00 3.2292608e+00 2.5444216e+00 3.5028333e+00 2.7205595e+00 3.6067948e+00 3.3670797e+00 3.0557792e+00 3.2048395e+00 3.6088607e+00 3.7891577e+00 3.1900581e+00 2.1641873e+00 2.4447974e+00 2.3408917e+00 2.5700421e+00 3.7710363e+00 3.1506190e+00 3.2040124e+00 3.5027314e+00 3.1322650e+00 2.7512730e+00 2.6533250e+00 3.0299528e+00 3.2862185e+00 2.6656374e+00 1.9477421e+00 2.8481000e+00 2.8454952e+00 2.8544453e+00 3.0132514e+00 1.6658308e+00 2.7590026e+00 4.7688362e+00 3.7943375e+00 4.7263320e+00 4.2949506e+00 4.5532150e+00 5.4636648e+00 3.1768366e+00 5.1030228e+00 4.5342701e+00 4.9831843e+00 3.8820426e+00 4.0358897e+00 4.3088496e+00 3.7133362e+00 3.8949006e+00 4.1025163e+00 4.2237423e+00 5.5888590e+00 5.7742361e+00 3.6743314e+00 4.5370189e+00 3.6141649e+00 5.5687868e+00 3.6395551e+00 4.4736906e+00 4.8085584e+00 3.5338163e+00 3.6144782e+00 4.3417782e+00 4.6138035e+00 4.9524148e+00 5.3625968e+00 4.3570317e+00 3.7932922e+00 4.2488997e+00 5.0747397e+00 4.3832471e+00 4.2110583e+00 3.5113289e+00 4.2399031e+00 4.4320962e+00 4.0189525e+00 3.7943375e+00 4.7000551e+00 4.5409269e+00 4.0612006e+00 3.7475562e+00 3.9722979e+00 4.1719819e+00 3.7859347e+00 6.9325418e-01 2.1269358e-01 5.0905001e-01 3.3337914e+00 3.0376046e+00 3.4948415e+00 2.6099670e+00 3.1641230e+00 2.9745020e+00 3.2202056e+00 1.9796375e+00 3.1511769e+00 2.4469125e+00 2.3235342e+00 2.7196435e+00 2.6337042e+00 3.1881331e+00 2.1375243e+00 2.9985516e+00 2.9847499e+00 2.5867906e+00 3.1255136e+00 2.4464131e+00 3.3203249e+00 2.5432298e+00 3.4386456e+00 3.1757436e+00 2.8453413e+00 2.9797458e+00 3.3872988e+00 3.5731577e+00 3.0079222e+00 2.0710306e+00 2.3862284e+00 2.2923690e+00 2.4260574e+00 3.5964347e+00 2.9822786e+00 3.0067893e+00 3.2740296e+00 3.0040546e+00 2.5786309e+00 2.5579141e+00 2.8891491e+00 3.0885642e+00 2.5333642e+00 2.0283816e+00 2.7031874e+00 2.6626548e+00 2.6835197e+00 2.8149627e+00 1.7472675e+00 2.6016025e+00 4.5864727e+00 3.6358644e+00 4.5092329e+00 4.1008711e+00 4.3608329e+00 5.2329560e+00 3.0685922e+00 4.8761643e+00 4.3448624e+00 4.7688607e+00 3.6817961e+00 3.8534030e+00 4.1033021e+00 3.5811154e+00 3.7530357e+00 3.9183591e+00 4.0199092e+00 5.3504583e+00 5.5556442e+00 3.5517562e+00 4.3306939e+00 3.4641481e+00 5.3377017e+00 3.4637450e+00 4.2663890e+00 4.5772917e+00 3.3571533e+00 3.4296698e+00 4.1575709e+00 4.3797497e+00 4.7253427e+00 5.1097682e+00 4.1763898e+00 3.5983434e+00 4.0666282e+00 4.8419079e+00 4.2005634e+00 4.0083071e+00 3.3318481e+00 4.0278210e+00 4.2396851e+00 3.8171357e+00 3.6358644e+00 4.4969460e+00 4.3490518e+00 3.8705614e+00 3.5905415e+00 3.7766172e+00 3.9906340e+00 3.6052686e+00 7.6752131e-01 4.0147421e-01 3.6660608e+00 3.3135273e+00 3.8017611e+00 2.7018605e+00 3.4275679e+00 3.1699903e+00 3.4789136e+00 1.9730403e+00 3.4358679e+00 2.5840983e+00 2.2331309e+00 2.9422991e+00 2.7581254e+00 3.4189217e+00 2.3233512e+00 3.3121677e+00 3.1836200e+00 2.7812918e+00 3.2896000e+00 2.5816639e+00 3.5379744e+00 2.7795823e+00 3.6532797e+00 3.4029480e+00 3.1195329e+00 3.2770643e+00 3.6772238e+00 3.8493740e+00 3.2305582e+00 2.2173292e+00 2.4840285e+00 2.3814525e+00 2.6148507e+00 3.8019334e+00 3.1710836e+00 3.2447990e+00 3.5700242e+00 3.1955870e+00 2.7803619e+00 2.6879415e+00 3.0521985e+00 3.3264150e+00 2.7089627e+00 1.9908167e+00 2.8775912e+00 2.8744403e+00 2.8857836e+00 3.0658390e+00 1.7171798e+00 2.7936066e+00 4.8056033e+00 3.8247106e+00 4.7834029e+00 4.3283723e+00 4.5943507e+00 5.5219241e+00 3.2001457e+00 5.1552806e+00 4.5786596e+00 5.0423887e+00 3.9353963e+00 4.0804944e+00 4.3648743e+00 3.7469906e+00 3.9346929e+00 4.1523445e+00 4.2650653e+00 5.6468786e+00 5.8321617e+00 3.7127205e+00 4.5943003e+00 3.6444925e+00 5.6275915e+00 3.6885686e+00 4.5212945e+00 4.8635596e+00 3.5807904e+00 3.6545040e+00 4.3827087e+00 4.6717461e+00 5.0136174e+00 5.4320857e+00 4.3994790e+00 3.8323332e+00 4.2736523e+00 5.1501184e+00 4.4249262e+00 4.2490074e+00 3.5500567e+00 4.3022895e+00 4.4864974e+00 4.0933482e+00 3.8247106e+00 4.7495571e+00 4.5943072e+00 4.1245629e+00 3.7976741e+00 4.0232438e+00 4.2129603e+00 3.8158144e+00 4.4535192e-01 3.3681634e+00 3.1015495e+00 3.5417515e+00 2.6663854e+00 3.2198557e+00 3.0579528e+00 3.2934163e+00 2.0153916e+00 3.2040320e+00 2.5204039e+00 2.3388377e+00 2.7956674e+00 2.6725726e+00 3.2655357e+00 2.2078644e+00 3.0402181e+00 3.0721050e+00 2.6595270e+00 3.1749624e+00 2.5094912e+00 3.4048516e+00 2.6019240e+00 3.5045178e+00 3.2523394e+00 2.8999277e+00 3.0267460e+00 3.4333346e+00 3.6317584e+00 3.0844423e+00 2.1209506e+00 2.4419061e+00 2.3443191e+00 2.4920874e+00 3.6775470e+00 3.0715602e+00 3.0884019e+00 3.3261336e+00 3.0501817e+00 2.6631094e+00 2.6243758e+00 2.9691171e+00 3.1659032e+00 2.5983106e+00 2.0538718e+00 2.7808700e+00 2.7473221e+00 2.7650187e+00 2.8804789e+00 1.7660585e+00 2.6784604e+00 4.6691123e+00 3.7183181e+00 4.5689156e+00 4.1821417e+00 4.4377562e+00 5.2873851e+00 3.1455384e+00 4.9362269e+00 4.4131751e+00 4.8285697e+00 3.7508315e+00 3.9249912e+00 4.1665786e+00 3.6588207e+00 3.8312584e+00 3.9914600e+00 4.0953360e+00 5.4042844e+00 5.6094349e+00 3.6203759e+00 4.3940519e+00 3.5472449e+00 5.3896044e+00 3.5318477e+00 4.3383367e+00 4.6370771e+00 3.4283809e+00 3.5084967e+00 4.2335104e+00 4.4348302e+00 4.7765764e+00 5.1494118e+00 4.2515997e+00 3.6735311e+00 4.1503255e+00 4.8803856e+00 4.2802235e+00 4.0874500e+00 3.4119017e+00 4.0856134e+00 4.3069340e+00 3.8658667e+00 3.7183181e+00 4.5670800e+00 4.4180998e+00 3.9298460e+00 3.6561219e+00 3.8459316e+00 4.0712063e+00 3.6910219e+00 3.5300704e+00 3.2300705e+00 3.6894189e+00 2.6906230e+00 3.3402581e+00 3.1455455e+00 3.4142500e+00 1.9871921e+00 3.3364095e+00 2.5801041e+00 2.2579027e+00 2.8953397e+00 2.7040361e+00 3.3706887e+00 2.2848507e+00 3.1889632e+00 3.1641787e+00 2.7405950e+00 3.2351115e+00 2.5567836e+00 3.5066271e+00 2.7031874e+00 3.5985833e+00 3.3547156e+00 3.0245025e+00 3.1656773e+00 3.5695690e+00 3.7624530e+00 3.1847809e+00 2.1665831e+00 2.4678343e+00 2.3636654e+00 2.5680682e+00 3.7710578e+00 3.1606607e+00 3.1985717e+00 3.4665002e+00 3.1244487e+00 2.7540755e+00 2.6724144e+00 3.0392407e+00 3.2747247e+00 2.6671530e+00 2.0066796e+00 2.8554471e+00 2.8427684e+00 2.8549070e+00 2.9928504e+00 1.7230625e+00 2.7611864e+00 4.7742557e+00 3.8047268e+00 4.7018935e+00 4.2892152e+00 4.5488617e+00 5.4303909e+00 3.2037606e+00 5.0724791e+00 4.5217060e+00 4.9623634e+00 3.8707551e+00 4.0296740e+00 4.2915574e+00 3.7321091e+00 3.9154512e+00 4.1022778e+00 4.2113304e+00 5.5520135e+00 5.7453700e+00 3.6849669e+00 4.5212945e+00 3.6308222e+00 5.5330176e+00 3.6335075e+00 4.4607162e+00 4.7770551e+00 3.5299194e+00 3.6126659e+00 4.3390241e+00 4.5771358e+00 4.9175276e+00 5.3118739e+00 4.3561658e+00 3.7812981e+00 4.2455646e+00 5.0340960e+00 4.3872001e+00 4.2015182e+00 3.5126820e+00 4.2176412e+00 4.4249262e+00 3.9985367e+00 3.8047268e+00 4.6887893e+00 4.5358705e+00 4.0502685e+00 3.7475470e+00 3.9619683e+00 4.1767972e+00 3.7895730e+00 6.0611244e-01 2.1845981e-01 1.6212669e+00 5.6769031e-01 1.3103855e+00 7.0437330e-01 2.2923690e+00 4.4651726e-01 1.8497891e+00 2.2196852e+00 1.1283882e+00 1.3099706e+00 9.0827783e-01 1.5790055e+00 3.7427929e-01 1.4018200e+00 1.2701139e+00 1.1341579e+00 1.5133392e+00 1.1134787e+00 1.0264409e+00 8.7202528e-01 9.2264612e-01 6.6432544e-01 4.5470518e-01 4.1449626e-01 4.3456114e-01 1.0085601e+00 1.5838351e+00 1.6415861e+00 1.6742876e+00 1.3140585e+00 1.0496979e+00 1.6013574e+00 1.0054037e+00 3.0546431e-01 1.0168833e+00 1.4293465e+00 1.5774037e+00 1.5278635e+00 9.0252542e-01 1.2994764e+00 2.2231652e+00 1.4317371e+00 1.3207609e+00 1.3224963e+00 8.3649708e-01 2.2607507e+00 1.3421549e+00 1.5412452e+00 1.2539702e+00 1.2643026e+00 1.0324775e+00 1.2342162e+00 1.9387309e+00 2.1209313e+00 1.6105602e+00 1.1912106e+00 1.5832517e+00 7.2486328e-01 8.5585239e-01 9.4009473e-01 1.3873503e+00 1.3945703e+00 1.0313560e+00 8.7720955e-01 2.0658700e+00 2.2655571e+00 1.2460824e+00 1.1834841e+00 1.4368020e+00 2.0378171e+00 7.9878917e-01 1.0960883e+00 1.3102767e+00 8.5105559e-01 9.2480363e-01 1.0805899e+00 1.1043883e+00 1.4313279e+00 1.8006336e+00 1.1235486e+00 7.6625946e-01 1.1633029e+00 1.5390703e+00 1.2493717e+00 9.0965328e-01 1.0182895e+00 8.6983677e-01 1.1880428e+00 9.2095040e-01 1.2539702e+00 1.3335022e+00 1.3109705e+00 9.5035453e-01 9.2112464e-01 7.6166891e-01 1.1418127e+00 1.1276971e+00 5.6700421e-01 1.1449732e+00 4.0293660e-01 7.3813096e-01 2.1845981e-01 1.7551534e+00 3.4583729e-01 1.2603076e+00 1.7354460e+00 5.3588338e-01 1.0777972e+00 3.8934542e-01 1.0669582e+00 3.0811765e-01 8.0294841e-01 7.8768770e-01 1.0018083e+00 1.0175773e+00 5.5419992e-01 5.9426792e-01 7.3496673e-01 4.8927739e-01 3.4378533e-01 2.5651975e-01 5.2655962e-01 5.4292906e-01 4.4417983e-01 1.1634384e+00 1.1527805e+00 1.2020363e+00 8.1521713e-01 7.2526325e-01 1.0018083e+00 4.1449626e-01 3.2586371e-01 9.0277242e-01 8.3172002e-01 1.0440187e+00 9.7779835e-01 3.2816937e-01 8.1521713e-01 1.7083888e+00 8.6361309e-01 7.3145860e-01 7.3145860e-01 3.6171588e-01 1.7816674e+00 7.6914805e-01 1.6177449e+00 8.3060013e-01 1.4732400e+00 1.1107977e+00 1.3546017e+00 2.2147080e+00 1.5404344e+00 1.8624350e+00 1.3603471e+00 1.7544191e+00 6.8961791e-01 8.7478495e-01 1.0733200e+00 9.5271386e-01 1.0466623e+00 9.9348625e-01 1.0085601e+00 2.3452277e+00 2.5288464e+00 1.0480665e+00 1.3130641e+00 8.9653332e-01 2.3282127e+00 5.8914551e-01 1.2436109e+00 1.5625142e+00 4.8927739e-01 4.8927739e-01 1.1593224e+00 1.3813076e+00 1.7138020e+00 2.1603815e+00 1.1866786e+00 6.4755655e-01 1.1521791e+00 1.8620175e+00 1.2565757e+00 1.0067784e+00 4.8927739e-01 1.0056742e+00 1.2594846e+00 9.3049742e-01 8.3060013e-01 1.4762619e+00 1.3817041e+00 9.4558103e-01 7.9613242e-01 7.7074935e-01 1.0627606e+00 7.0776547e-01 1.5593809e+00 4.8036801e-01 1.2165505e+00 6.1151102e-01 2.2871743e+00 4.0176783e-01 1.7963441e+00 2.1851225e+00 1.0906388e+00 1.2884575e+00 8.0619006e-01 1.6156775e+00 5.0905001e-01 1.3093850e+00 1.2434795e+00 1.0262547e+00 1.4875372e+00 1.0069726e+00 1.0669582e+00 7.4511469e-01 8.2384013e-01 6.9728513e-01 5.3022554e-01 3.0811765e-01 2.5651975e-01 9.2264612e-01 1.6478667e+00 1.6180636e+00 1.6694817e+00 1.3199714e+00 9.2288144e-01 1.5068702e+00 9.2859317e-01 2.4837156e-01 9.3238528e-01 1.3813076e+00 1.5238543e+00 1.4346522e+00 8.1130291e-01 1.2794849e+00 2.2234347e+00 1.3629833e+00 1.2671726e+00 1.2652657e+00 8.1810461e-01 2.3116343e+00 1.2988558e+00 1.3410314e+00 1.1276971e+00 1.0590298e+00 8.2552685e-01 1.0264409e+00 1.7485421e+00 2.0171203e+00 1.4118594e+00 9.7949166e-01 1.3980896e+00 5.7324170e-01 6.6317860e-01 7.4586719e-01 1.2603076e+00 1.2604558e+00 8.7504951e-01 6.6432544e-01 1.8915404e+00 2.0711789e+00 1.1178264e+00 9.9368623e-01 1.3223897e+00 1.8515012e+00 6.6384020e-01 8.9303452e-01 1.1107977e+00 7.2823007e-01 8.1099042e-01 8.7170815e-01 9.0876485e-01 1.2370832e+00 1.6626615e+00 9.2112464e-01 6.2482915e-01 9.7377870e-01 1.3752391e+00 1.0720678e+00 7.0386584e-01 9.0876485e-01 6.8917100e-01 1.0120221e+00 8.0294841e-01 1.1276971e+00 1.1329323e+00 1.1353806e+00 8.1385214e-01 7.7588000e-01 5.8914551e-01 9.8054887e-01 1.0085601e+00 1.0879524e+00 6.2605182e-01 1.2079117e+00 8.2305664e-01 1.1903922e+00 4.4651726e-01 6.5648056e-01 7.4164639e-01 5.2942799e-01 8.9852394e-01 6.4755655e-01 1.3035649e+00 7.7074935e-01 4.8135521e-01 7.7074935e-01 2.5651975e-01 1.1022599e+00 6.8917100e-01 1.0627606e+00 8.6290690e-01 9.7759114e-01 1.1868139e+00 1.3969297e+00 1.4333755e+00 7.6166891e-01 5.6075294e-01 2.5251796e-01 3.7427929e-01 4.4651726e-01 1.1444449e+00 7.7074935e-01 1.1571858e+00 1.3491011e+00 8.2624515e-01 7.0086313e-01 2.0000000e-01 4.4535192e-01 8.9852394e-01 3.7427929e-01 7.7885297e-01 4.1449626e-01 7.0826681e-01 6.1092863e-01 8.2275389e-01 1.0198386e+00 5.0905001e-01 2.2002582e+00 1.1640914e+00 2.2347161e+00 1.6833015e+00 1.9584639e+00 2.9773446e+00 7.2852070e-01 2.5984158e+00 1.9494155e+00 2.5625921e+00 1.4644662e+00 1.4491244e+00 1.8190688e+00 1.0934620e+00 1.3861754e+00 1.6265426e+00 1.6626615e+00 3.1878246e+00 3.2549253e+00 1.0346741e+00 2.0606771e+00 1.0425476e+00 3.0882196e+00 1.1022599e+00 1.9692383e+00 2.3537589e+00 1.0082605e+00 1.0950112e+00 1.7332099e+00 2.1942739e+00 2.5032087e+00 3.0886055e+00 1.7538274e+00 1.2342162e+00 1.6237100e+00 2.7181432e+00 1.8926658e+00 1.6507294e+00 1.0082605e+00 1.8244836e+00 1.9254808e+00 1.7303440e+00 1.1640914e+00 2.1641182e+00 2.0565627e+00 1.6435752e+00 1.1782910e+00 1.4699978e+00 1.7142546e+00 1.2095267e+00 8.0326782e-01 5.0991930e-01 1.8350577e+00 2.1269358e-01 1.3537729e+00 1.7146525e+00 6.5172743e-01 8.5585239e-01 4.0438741e-01 1.1847335e+00 3.4583729e-01 9.0252542e-01 8.2372435e-01 6.2024833e-01 1.0324775e+00 6.6827038e-01 6.5172743e-01 3.8776762e-01 4.4535192e-01 3.2816937e-01 2.5651975e-01 3.2586371e-01 4.3691963e-01 5.0180477e-01 1.2342162e+00 1.1573546e+00 1.2172454e+00 8.7848692e-01 6.2205176e-01 1.1016264e+00 6.9006418e-01 3.2586371e-01 5.2371571e-01 9.4492923e-01 1.0646687e+00 1.0101422e+00 4.1449626e-01 8.2552685e-01 1.7679545e+00 9.2288144e-01 8.3888121e-01 8.2929029e-01 3.8934542e-01 1.8776878e+00 8.5434758e-01 1.5481649e+00 7.9613242e-01 1.3657247e+00 1.0085601e+00 1.2641849e+00 2.1002817e+00 1.6030661e+00 1.7482192e+00 1.2100024e+00 1.7005893e+00 6.6491075e-01 7.3535471e-01 9.7949166e-01 8.8358844e-01 1.0423677e+00 9.5498315e-01 9.1051084e-01 2.2737459e+00 2.4086493e+00 7.2486328e-01 1.2326306e+00 9.4832302e-01 2.2096958e+00 3.8934542e-01 1.1729895e+00 1.4561933e+00 3.8776762e-01 4.8927739e-01 1.0574300e+00 1.2643026e+00 1.5918956e+00 2.0914667e+00 1.0906388e+00 5.0817745e-01 1.0182895e+00 1.7457596e+00 1.2250414e+00 9.1663180e-01 5.4292906e-01 9.1750357e-01 1.1891470e+00 8.8358844e-01 7.9613242e-01 1.3916739e+00 1.3267389e+00 8.9303452e-01 5.3309112e-01 6.9325418e-01 1.0574013e+00 7.0776547e-01 7.0776547e-01 1.3071453e+00 9.0049692e-01 6.9006418e-01 1.2079117e+00 3.6171588e-01 7.1791510e-01 4.1586001e-01 9.0049692e-01 1.0069726e+00 2.5251796e-01 4.4651726e-01 6.9325418e-01 6.2538346e-01 5.9426792e-01 5.6631629e-01 6.6827038e-01 4.1449626e-01 7.0437330e-01 9.0277242e-01 1.1055069e+00 1.0496979e+00 3.2586371e-01 1.0083666e+00 7.4164639e-01 8.3888121e-01 6.0181382e-01 6.3861009e-01 3.4378533e-01 6.3808075e-01 1.0101422e+00 6.8961791e-01 4.1449626e-01 5.3588338e-01 2.5651975e-01 4.1586001e-01 5.0991930e-01 1.2869134e+00 3.0546431e-01 3.2586371e-01 3.0275928e-01 5.0905001e-01 1.5278635e+00 4.0000000e-01 1.7279861e+00 7.4586719e-01 1.7831878e+00 1.1718516e+00 1.4824233e+00 2.5111349e+00 8.3620494e-01 2.1256928e+00 1.4719311e+00 2.0814452e+00 1.0175773e+00 1.0014633e+00 1.3875139e+00 7.7885297e-01 1.1473003e+00 1.2144845e+00 1.1591754e+00 2.6773585e+00 2.7900071e+00 7.0776547e-01 1.6151673e+00 7.3496673e-01 2.6263773e+00 7.2526325e-01 1.4645804e+00 1.8755806e+00 6.3924842e-01 6.2407309e-01 1.2731262e+00 1.7507664e+00 2.0635966e+00 2.6116811e+00 1.3129189e+00 7.4855857e-01 1.1149070e+00 2.3160147e+00 1.4246028e+00 1.1229843e+00 5.6075294e-01 1.4120836e+00 1.5094575e+00 1.4108494e+00 7.4586719e-01 1.6884234e+00 1.6211869e+00 1.3017208e+00 8.1521713e-01 1.0401425e+00 1.2452704e+00 6.9728513e-01 1.8185955e+00 4.8135521e-01 1.2509218e+00 1.8049926e+00 5.8914551e-01 1.2205493e+00 4.2538717e-01 1.1912106e+00 4.6472023e-01 7.1840099e-01 8.9207714e-01 1.1017858e+00 1.1127329e+00 4.1586001e-01 7.8197925e-01 8.0326782e-01 5.7257017e-01 5.2655962e-01 4.3456114e-01 6.2660376e-01 4.8135521e-01 4.5581864e-01 1.3318128e+00 1.2468939e+00 1.3144065e+00 9.4935318e-01 6.6384020e-01 9.1075311e-01 3.2586371e-01 4.1449626e-01 1.0130748e+00 8.3280511e-01 1.0906119e+00 9.6204649e-01 3.4583729e-01 9.3296062e-01 1.7901543e+00 8.7170815e-01 7.3805807e-01 7.3805807e-01 5.2655962e-01 1.9041928e+00 8.1521713e-01 1.4138821e+00 7.3805807e-01 1.3166957e+00 9.2264612e-01 1.1533602e+00 2.0690479e+00 1.4700179e+00 1.7092525e+00 1.2231847e+00 1.5870088e+00 5.0592043e-01 7.5791688e-01 9.0575661e-01 9.1750357e-01 9.1802948e-01 8.1304731e-01 8.1638392e-01 2.1978861e+00 2.3802944e+00 1.1107977e+00 1.1386292e+00 7.9878917e-01 2.1900222e+00 6.1092863e-01 1.0480665e+00 1.4148192e+00 5.0991930e-01 3.6171588e-01 9.7825559e-01 1.2593659e+00 1.5912764e+00 2.0615043e+00 1.0056742e+00 5.6700421e-01 1.0137836e+00 1.7695175e+00 1.0597541e+00 8.0619006e-01 3.8934542e-01 8.6513410e-01 1.0755693e+00 8.4050231e-01 7.3805807e-01 1.2832075e+00 1.1947245e+00 8.0660588e-01 8.2105460e-01 5.9426792e-01 8.6983677e-01 5.3309112e-01 1.9083318e+00 6.7975091e-01 4.1449626e-01 1.2452704e+00 1.1763980e+00 1.6420607e+00 7.9016429e-01 1.9365498e+00 1.3172979e+00 1.0653845e+00 1.5684812e+00 8.1304731e-01 1.7169601e+00 1.2768639e+00 1.8804140e+00 1.6311692e+00 1.6315809e+00 1.8424891e+00 2.1489929e+00 2.2038673e+00 1.4613032e+00 8.0587320e-01 6.8961791e-01 6.4704320e-01 9.7949166e-01 1.9250543e+00 1.2802798e+00 1.5824669e+00 2.0485534e+00 1.5790055e+00 1.0078327e+00 8.2305664e-01 1.1498269e+00 1.5838351e+00 1.0137836e+00 1.2418578e-01 1.0230441e+00 1.1119327e+00 1.0941064e+00 1.4719311e+00 3.2816937e-01 1.0165138e+00 2.9338155e+00 1.9158303e+00 3.0455280e+00 2.4635485e+00 2.7430309e+00 3.7921012e+00 1.2632199e+00 3.4105293e+00 2.7619926e+00 3.3261421e+00 2.2045198e+00 2.2598424e+00 2.6204307e+00 1.8330979e+00 2.0701646e+00 2.3622531e+00 2.4525409e+00 3.9619101e+00 4.0743074e+00 1.8315269e+00 2.8475224e+00 1.7388184e+00 3.9054939e+00 1.9111264e+00 2.7377517e+00 3.1510494e+00 1.7964653e+00 1.8350071e+00 2.5277506e+00 2.9970778e+00 3.3196868e+00 3.8532018e+00 2.5453122e+00 2.0312250e+00 2.3887539e+00 3.5269824e+00 2.5986705e+00 2.4210417e+00 1.7228354e+00 2.6125646e+00 2.7062349e+00 2.4839132e+00 1.9158303e+00 2.9502077e+00 2.8139128e+00 2.4180244e+00 1.9947426e+00 2.2550764e+00 2.3956104e+00 1.9332869e+00 1.4468211e+00 1.8027242e+00 7.3851529e-01 9.0658670e-01 5.0180477e-01 1.2418578e+00 2.5651975e-01 1.0022010e+00 8.6361309e-01 7.3851529e-01 1.1055064e+00 7.8197925e-01 6.8961791e-01 4.8927739e-01 5.0270183e-01 3.2352160e-01 2.1269358e-01 2.5651975e-01 4.9857388e-01 6.0611244e-01 1.2633451e+00 1.2342162e+00 1.2794849e+00 9.3824087e-01 7.0776547e-01 1.2014753e+00 7.0429250e-01 2.5651975e-01 6.2482915e-01 1.0329901e+00 1.1593224e+00 1.1069580e+00 5.0180477e-01 8.9712482e-01 1.8394959e+00 1.0181000e+00 9.2095040e-01 9.2047746e-01 4.4417983e-01 1.9314297e+00 9.4103005e-01 1.6328100e+00 9.3238528e-01 1.3969297e+00 1.0389435e+00 1.3327491e+00 2.0961718e+00 1.7103548e+00 1.7405652e+00 1.2330392e+00 1.7474965e+00 7.7919451e-01 8.1810461e-01 1.0613462e+00 1.0417249e+00 1.2331989e+00 1.0974061e+00 9.4125538e-01 2.2568188e+00 2.4127176e+00 8.4050231e-01 1.3145067e+00 1.0960883e+00 2.1973666e+00 5.6075294e-01 1.2221471e+00 1.4467170e+00 5.7324170e-01 6.3977563e-01 1.1341579e+00 1.2436109e+00 1.5826476e+00 2.0476065e+00 1.1847335e+00 5.3665999e-01 1.0391247e+00 1.7521201e+00 1.3293211e+00 9.4492923e-01 6.9369532e-01 1.0019724e+00 1.3083079e+00 1.0406064e+00 9.3238528e-01 1.4580335e+00 1.4387122e+00 1.0576043e+00 7.0233835e-01 8.1304731e-01 1.1697902e+00 8.2372435e-01 7.6914805e-01 7.2823007e-01 8.7504951e-01 1.0611732e+00 4.5581864e-01 1.5204521e+00 6.6432544e-01 6.5172743e-01 1.0866092e+00 4.5470518e-01 1.0573285e+00 9.0074515e-01 1.3083079e+00 1.0613462e+00 1.2123540e+00 1.4190961e+00 1.6754036e+00 1.6596797e+00 8.9095811e-01 6.1947990e-01 4.2418962e-01 4.8927739e-01 6.0551856e-01 1.2951131e+00 6.2538346e-01 1.0030700e+00 1.5663312e+00 1.1396406e+00 4.5581864e-01 3.2816937e-01 5.3665999e-01 1.0166932e+00 6.0670504e-01 6.9167458e-01 4.4535192e-01 5.6075294e-01 5.3665999e-01 1.0182895e+00 9.1075311e-01 5.0991930e-01 2.2632657e+00 1.2601890e+00 2.4384530e+00 1.8269304e+00 2.0927845e+00 3.1870761e+00 6.4290921e-01 2.8096725e+00 2.1462316e+00 2.6900593e+00 1.5901181e+00 1.6364474e+00 2.0101738e+00 1.1729895e+00 1.4078246e+00 1.7083888e+00 1.8278268e+00 3.3435703e+00 3.4604677e+00 1.2331989e+00 2.2206574e+00 1.0719360e+00 3.3068858e+00 1.3163598e+00 2.0994872e+00 2.5539296e+00 1.1948578e+00 1.1991899e+00 1.8828324e+00 2.4245766e+00 2.7358293e+00 3.2702869e+00 1.8959565e+00 1.4312787e+00 1.7665622e+00 2.9527671e+00 1.9255490e+00 1.7860690e+00 1.0796583e+00 2.0205937e+00 2.0647798e+00 1.9168750e+00 1.2601890e+00 2.3069539e+00 2.1608869e+00 1.8128438e+00 1.3838212e+00 1.6376058e+00 1.7220696e+00 1.2768639e+00 1.2687651e+00 1.0344911e+00 1.5320003e+00 9.7779835e-01 1.8837258e+00 1.2979752e+00 1.0012667e+00 1.3957794e+00 7.2526325e-01 1.6850672e+00 1.2372418e+00 1.7004805e+00 1.4979666e+00 1.5611922e+00 1.7745022e+00 2.0153916e+00 2.0815027e+00 1.3830210e+00 8.1242502e-01 5.8914551e-01 5.7257017e-01 9.5676647e-01 1.7518264e+00 1.2724737e+00 1.6669115e+00 1.9675324e+00 1.4200435e+00 1.1136605e+00 7.1881659e-01 1.0072663e+00 1.5134954e+00 9.3238528e-01 3.2352160e-01 9.5222919e-01 1.1681971e+00 1.1043332e+00 1.4120836e+00 6.2205176e-01 1.0078327e+00 2.8028143e+00 1.7525933e+00 2.8815987e+00 2.2944257e+00 2.5825907e+00 3.6132031e+00 1.1179743e+00 3.2286633e+00 2.5673494e+00 3.2133201e+00 2.1127170e+00 2.0867931e+00 2.4721080e+00 1.6626615e+00 1.9456450e+00 2.2607446e+00 2.2983453e+00 3.8335668e+00 3.8818411e+00 1.6299374e+00 2.7127377e+00 1.6132118e+00 3.7182722e+00 1.7559391e+00 2.6123294e+00 2.9966900e+00 1.6625128e+00 1.7303440e+00 2.3560577e+00 2.8340159e+00 3.1407514e+00 3.7366777e+00 2.3765195e+00 1.8701780e+00 2.1933937e+00 3.3657099e+00 2.5066503e+00 2.2797241e+00 1.6331631e+00 2.4808010e+00 2.5698271e+00 2.3770285e+00 1.7525933e+00 2.8053367e+00 2.6963680e+00 2.2934334e+00 1.8202060e+00 2.1229819e+00 2.3231793e+00 1.8122257e+00 8.5462626e-01 5.0991930e-01 6.2538346e-01 8.0358695e-01 3.7255734e-01 5.3022554e-01 8.2105460e-01 6.0900723e-01 6.2482915e-01 3.0844217e-01 7.9580667e-01 5.4292906e-01 5.0991930e-01 7.0437330e-01 9.7270522e-01 9.9532071e-01 3.0546431e-01 7.9878917e-01 7.2343175e-01 7.8768770e-01 4.2418962e-01 9.0876485e-01 5.2862779e-01 4.4651726e-01 8.5205778e-01 7.4164639e-01 3.2586371e-01 5.7867728e-01 5.3309112e-01 4.1449626e-01 4.5581864e-01 1.2131545e+00 3.8776762e-01 3.2352160e-01 2.5251796e-01 3.2816937e-01 1.3221405e+00 2.8507955e-01 1.8873850e+00 9.2859317e-01 1.8730683e+00 1.4111029e+00 1.6550480e+00 2.6320302e+00 1.0406064e+00 2.2657813e+00 1.6658308e+00 2.1339968e+00 1.0072663e+00 1.1444449e+00 1.4417207e+00 8.9971984e-01 1.1192426e+00 1.2342162e+00 1.3367840e+00 2.7726042e+00 2.9277580e+00 9.9368623e-01 1.6694974e+00 7.8197925e-01 2.7493700e+00 7.5976039e-01 1.5849874e+00 1.9802196e+00 6.4290921e-01 7.1799256e-01 1.4445746e+00 1.8216794e+00 2.1462316e+00 2.6367554e+00 1.4616539e+00 9.2264612e-01 1.4088394e+00 2.3235034e+00 1.5120955e+00 1.3224963e+00 6.2024833e-01 1.4078246e+00 1.5587730e+00 1.2801437e+00 9.2859317e-01 1.8096161e+00 1.6710566e+00 1.2378278e+00 8.9653332e-01 1.0864449e+00 1.3071453e+00 9.0827783e-01 8.9159388e-01 7.7763126e-01 1.0417249e+00 9.1802948e-01 5.0905001e-01 6.2605182e-01 4.4651726e-01 1.2379511e+00 6.2024833e-01 9.5571254e-01 8.1558458e-01 7.5976039e-01 9.2944046e-01 1.0661822e+00 1.2662457e+00 8.2342214e-01 5.8851328e-01 5.1691876e-01 5.3588338e-01 5.1691876e-01 1.1717125e+00 9.6838716e-01 1.2601890e+00 1.1258723e+00 4.8135521e-01 8.3649708e-01 5.5419992e-01 6.2407309e-01 9.0965328e-01 4.2538717e-01 1.0906388e+00 5.9426792e-01 8.1638392e-01 7.3145860e-01 7.3145860e-01 1.1880428e+00 6.3861009e-01 2.2927296e+00 1.2766755e+00 2.1156916e+00 1.6869465e+00 1.9835684e+00 2.8209672e+00 1.2028939e+00 2.4458200e+00 1.8683030e+00 2.5149752e+00 1.4746001e+00 1.4371043e+00 1.7501772e+00 1.2500343e+00 1.5991931e+00 1.7211928e+00 1.6271057e+00 3.0580852e+00 3.1168283e+00 1.0328064e+00 2.0203543e+00 1.2344562e+00 2.9146252e+00 1.0941064e+00 1.9515265e+00 2.2002582e+00 1.0531192e+00 1.1790011e+00 1.7600233e+00 1.9895190e+00 2.3106402e+00 2.8876509e+00 1.7983401e+00 1.1763719e+00 1.6118154e+00 2.5100676e+00 2.0039716e+00 1.6449456e+00 1.1276917e+00 1.7245185e+00 1.9495298e+00 1.6638124e+00 1.2766755e+00 2.1512175e+00 2.1034605e+00 1.6449189e+00 1.1924295e+00 1.4645804e+00 1.8408873e+00 1.3037063e+00 1.1269972e+00 6.2482915e-01 5.0991930e-01 6.6827038e-01 7.0479928e-01 8.8358844e-01 4.5581864e-01 7.0086313e-01 4.2667565e-01 2.0656129e-01 4.4535192e-01 5.2942799e-01 7.0086313e-01 6.3861009e-01 2.1269358e-01 1.2261087e+00 1.0119857e+00 1.1001291e+00 8.1638392e-01 4.2667565e-01 7.0479928e-01 5.1691876e-01 6.0611244e-01 6.2538346e-01 6.9006418e-01 8.3812833e-01 6.4290921e-01 1.2418578e-01 7.3145860e-01 1.6044563e+00 6.2660376e-01 5.7324170e-01 5.6700421e-01 4.0293660e-01 1.7981158e+00 6.4806901e-01 1.5090287e+00 5.9426792e-01 1.4258804e+00 9.2264612e-01 1.2221471e+00 2.1613095e+00 1.2165505e+00 1.7814077e+00 1.1712156e+00 1.7475837e+00 7.0233835e-01 7.0776547e-01 1.0386594e+00 7.0233835e-01 1.0228981e+00 9.8450810e-01 8.5105559e-01 2.3257048e+00 2.4547248e+00 7.1504098e-01 1.2838690e+00 6.9369532e-01 2.2753334e+00 4.3691963e-01 1.1508502e+00 1.5109753e+00 4.0438741e-01 4.1449626e-01 1.0168833e+00 1.3670543e+00 1.6898941e+00 2.2253038e+00 1.0655560e+00 4.1586001e-01 9.0827783e-01 1.9262937e+00 1.2075315e+00 8.3888121e-01 4.0438741e-01 1.0401425e+00 1.2250414e+00 1.0755693e+00 5.9426792e-01 1.3866792e+00 1.3487634e+00 1.0056742e+00 5.9426792e-01 7.2526325e-01 1.0425476e+00 5.0592043e-01 1.2125198e+00 9.0252542e-01 5.4292906e-01 1.0679144e+00 4.5470518e-01 1.2307737e+00 5.6700421e-01 1.3629833e+00 1.1271488e+00 9.3592296e-01 1.1329323e+00 1.4903933e+00 1.5826638e+00 9.2264612e-01 3.7598397e-01 5.1691876e-01 5.3022554e-01 3.4583729e-01 1.5102079e+00 9.0478973e-01 9.6664346e-01 1.3678655e+00 1.0012667e+00 5.0090417e-01 4.9766035e-01 8.1130291e-01 1.0331736e+00 4.5581864e-01 7.6955924e-01 6.0551856e-01 6.0181382e-01 6.0060595e-01 8.1242502e-01 7.2852070e-01 5.0180477e-01 2.4944334e+00 1.5259640e+00 2.4897635e+00 2.0286682e+00 2.2758462e+00 3.2467454e+00 1.0417249e+00 2.8819633e+00 2.2804674e+00 2.7472449e+00 1.6234861e+00 1.7644184e+00 2.0587064e+00 1.4533724e+00 1.6559784e+00 1.8347926e+00 1.9605308e+00 3.3855928e+00 3.5452222e+00 1.4540815e+00 2.2852232e+00 1.3536716e+00 3.3617477e+00 1.3717027e+00 2.2096171e+00 2.5931780e+00 1.2603076e+00 1.3371180e+00 2.0643410e+00 2.4233813e+00 2.7521037e+00 3.2246201e+00 2.0784533e+00 1.5405106e+00 2.0088441e+00 2.9099860e+00 2.1140685e+00 1.9448322e+00 1.2330392e+00 2.0122105e+00 2.1687358e+00 1.8353933e+00 1.5259640e+00 2.4321505e+00 2.2783778e+00 1.8251179e+00 1.4795374e+00 1.7068208e+00 1.9049236e+00 1.5165339e+00 1.1004794e+00 9.4753140e-01 9.4125538e-01 1.1763719e+00 8.5105559e-01 6.6432544e-01 7.2526325e-01 6.4290921e-01 3.2816937e-01 1.2418578e-01 4.4535192e-01 6.2024833e-01 7.0479928e-01 1.2172454e+00 1.3021788e+00 1.3289150e+00 9.6141901e-01 8.9366705e-01 1.3003320e+00 7.1840099e-01 3.0275928e-01 8.2654509e-01 1.1056650e+00 1.2497790e+00 1.2234738e+00 6.0611244e-01 9.6141901e-01 1.8661545e+00 1.1149070e+00 1.0038051e+00 1.0038051e+00 5.0991930e-01 1.8886923e+00 1.0132664e+00 1.7427900e+00 1.0573285e+00 1.5462225e+00 1.2230220e+00 1.4700179e+00 2.2554582e+00 1.8183902e+00 1.9191337e+00 1.4359851e+00 1.8399871e+00 8.1558458e-01 9.6664346e-01 1.1754055e+00 1.1548215e+00 1.2523175e+00 1.1229906e+00 1.1149070e+00 2.3868096e+00 2.5734684e+00 1.0665149e+00 1.4148192e+00 1.1763719e+00 2.3591336e+00 6.6317860e-01 1.3545005e+00 1.6178623e+00 6.3735887e-01 7.2526325e-01 1.2709820e+00 1.4169523e+00 1.7425222e+00 2.1449779e+00 1.3015611e+00 7.4777660e-01 1.2601890e+00 1.8513630e+00 1.3897316e+00 1.1185330e+00 7.6625946e-01 1.0919712e+00 1.3783420e+00 1.0120221e+00 1.0573285e+00 1.5860263e+00 1.5022608e+00 1.0597541e+00 8.3060013e-01 8.9095811e-01 1.2107055e+00 9.5498315e-01 5.9426792e-01 8.8835966e-01 7.2486328e-01 4.3456114e-01 6.3108414e-01 7.9580667e-01 5.4292906e-01 8.0619006e-01 1.0003942e+00 1.2057554e+00 1.1282371e+00 4.0147421e-01 1.0482443e+00 8.3812833e-01 9.3049742e-01 6.4290921e-01 6.6432544e-01 2.0000000e-01 4.9766035e-01 1.1016264e+00 8.7202528e-01 4.1312257e-01 6.2660376e-01 4.4651726e-01 5.0180477e-01 5.9426792e-01 1.3172979e+00 3.8776762e-01 3.7427929e-01 3.2816937e-01 6.1151102e-01 1.5338492e+00 4.2667565e-01 1.6536633e+00 6.6827038e-01 1.8195408e+00 1.1798960e+00 1.4588731e+00 2.5552364e+00 7.7039952e-01 2.1764356e+00 1.5179392e+00 2.0659196e+00 1.0072663e+00 1.0165138e+00 1.4077317e+00 7.0523271e-01 9.7441804e-01 1.1290808e+00 1.1879078e+00 2.7003420e+00 2.8251568e+00 8.7478495e-01 1.6113870e+00 5.7257017e-01 2.6756977e+00 7.5976039e-01 1.4611141e+00 1.9290721e+00 6.4290921e-01 5.8851328e-01 1.2509218e+00 1.8216794e+00 2.1226924e+00 2.6556584e+00 1.2741904e+00 8.1527569e-01 1.1396406e+00 2.3658814e+00 1.3219975e+00 1.1377990e+00 4.8036801e-01 1.4418088e+00 1.4695582e+00 1.4097125e+00 6.6827038e-01 1.6762567e+00 1.5624022e+00 1.2731262e+00 8.4812820e-01 1.0423677e+00 1.1235486e+00 6.3808075e-01 7.0328431e-01 2.8507955e-01 9.7377870e-01 3.7598397e-01 8.9971984e-01 6.2538346e-01 6.2988288e-01 8.4591037e-01 1.1042097e+00 1.1949615e+00 5.7867728e-01 6.0121055e-01 4.2418962e-01 4.8036801e-01 2.4837156e-01 1.0588560e+00 6.3735887e-01 8.4050231e-01 1.0216438e+00 6.0900723e-01 3.8776762e-01 3.8934542e-01 3.8934542e-01 6.0900723e-01 2.1269358e-01 1.0100718e+00 3.2586371e-01 3.2816937e-01 3.2816937e-01 4.6472023e-01 1.1765359e+00 3.0546431e-01 2.1603815e+00 1.1833480e+00 2.0696037e+00 1.5733646e+00 1.8844302e+00 2.7913211e+00 1.0279631e+00 2.4069427e+00 1.8096161e+00 2.4013270e+00 1.3194762e+00 1.3641156e+00 1.6852518e+00 1.1847335e+00 1.5344133e+00 1.5901181e+00 1.5133392e+00 2.9601125e+00 3.0929882e+00 9.7994716e-01 1.9359434e+00 1.1341579e+00 2.8969791e+00 1.0267435e+00 1.8174459e+00 2.1353579e+00 9.5498315e-01 1.0067464e+00 1.6752254e+00 1.9600024e+00 2.3015655e+00 2.8161147e+00 1.7177705e+00 1.0636401e+00 1.5095556e+00 2.5229584e+00 1.8388413e+00 1.5016471e+00 9.4558103e-01 1.6620056e+00 1.8661202e+00 1.6246433e+00 1.1833480e+00 2.0524784e+00 1.9917352e+00 1.5896248e+00 1.1449732e+00 1.3635198e+00 1.6539414e+00 1.1377990e+00 7.8695083e-01 1.0194752e+00 6.9369532e-01 4.4535192e-01 6.2538346e-01 7.1169738e-01 8.2684479e-01 7.5791688e-01 8.9971984e-01 7.0394675e-01 1.0777972e+00 8.9366705e-01 9.7548738e-01 7.3805807e-01 6.9369532e-01 9.9348625e-01 1.2013436e+00 9.4287188e-01 2.1845981e-01 9.1163729e-01 7.8197925e-01 7.4777660e-01 8.0096515e-01 6.3735887e-01 1.5043029e+00 7.0776547e-01 8.7021234e-01 7.8197925e-01 7.0784540e-01 1.6629594e+00 7.2852070e-01 1.7521201e+00 7.5705927e-01 1.5812904e+00 1.1798960e+00 1.4306494e+00 2.2994849e+00 1.3047221e+00 1.9342059e+00 1.3259654e+00 2.0165210e+00 1.0919404e+00 8.7720955e-01 1.2180145e+00 7.1881659e-01 1.0466623e+00 1.2389598e+00 1.1426203e+00 2.5872805e+00 2.5766735e+00 5.0817745e-01 1.4924169e+00 8.3060013e-01 2.3982377e+00 5.8914551e-01 1.4728952e+00 1.7209381e+00 6.3808075e-01 8.3649708e-01 1.1916257e+00 1.5183917e+00 1.7983401e+00 2.4620092e+00 1.2174316e+00 7.4549115e-01 1.1136343e+00 1.9965599e+00 1.5255331e+00 1.1891470e+00 8.2384013e-01 1.2304904e+00 1.3937115e+00 1.1842231e+00 7.5705927e-01 1.6132118e+00 1.5725854e+00 1.1127329e+00 5.8914551e-01 9.8054887e-01 1.4089719e+00 9.0521488e-01 1.1043332e+00 5.3665999e-01 1.1040512e+00 8.6137722e-01 8.5335130e-01 1.0692258e+00 1.3395518e+00 1.4121163e+00 7.2343175e-01 4.0438741e-01 1.4096146e-01 2.1845981e-01 2.5251796e-01 1.2340567e+00 7.2852070e-01 1.0216438e+00 1.2599182e+00 7.7360126e-01 5.1607523e-01 2.1269358e-01 5.0270183e-01 8.3345577e-01 2.1845981e-01 7.4893123e-01 3.4378533e-01 5.3022554e-01 4.5581864e-01 6.9167458e-01 9.4080461e-01 3.4583729e-01 2.3056888e+00 1.2961380e+00 2.2790932e+00 1.7645599e+00 2.0520955e+00 3.0186066e+00 8.9827435e-01 2.6386155e+00 2.0191749e+00 2.5992685e+00 1.4843324e+00 1.5325189e+00 1.8691652e+00 1.2554784e+00 1.5582387e+00 1.7070813e+00 1.7171798e+00 3.2008583e+00 3.3121677e+00 1.1313840e+00 2.1147926e+00 1.1879078e+00 3.1280700e+00 1.1681971e+00 2.0145868e+00 2.3728666e+00 1.0720678e+00 1.1437669e+00 1.8347926e+00 2.2027051e+00 2.5315934e+00 3.0688850e+00 1.8636112e+00 1.2768639e+00 1.7126039e+00 2.7381221e+00 1.9739212e+00 1.7039473e+00 1.0573285e+00 1.8507968e+00 2.0095044e+00 1.7591313e+00 1.2961380e+00 2.2339736e+00 2.1358764e+00 1.7106141e+00 1.2731262e+00 1.5241199e+00 1.7828037e+00 1.2869134e+00 8.7720955e-01 7.4777660e-01 6.5223271e-01 7.1881659e-01 7.6914805e-01 9.3999899e-01 8.0619006e-01 4.2418962e-01 1.4104707e+00 1.2144845e+00 1.3128167e+00 1.0056742e+00 5.3665999e-01 5.6075294e-01 3.4583729e-01 8.1130291e-01 9.7730901e-01 7.8197925e-01 9.9089002e-01 8.0353565e-01 4.3691963e-01 9.6095130e-01 1.7110336e+00 7.7033318e-01 7.5196795e-01 7.0776547e-01 6.5648056e-01 1.8915404e+00 7.9878917e-01 1.2730931e+00 5.3022554e-01 1.4349259e+00 8.3620494e-01 1.0733200e+00 2.1767273e+00 1.0960883e+00 1.8048569e+00 1.2035173e+00 1.6539414e+00 6.2482915e-01 7.0523271e-01 1.0184370e+00 7.1169738e-01 6.6432544e-01 7.0480730e-01 8.1527569e-01 2.3116343e+00 2.4505705e+00 1.0085601e+00 1.2063335e+00 4.5581864e-01 2.3022338e+00 5.6700421e-01 1.0655560e+00 1.5550492e+00 4.4417983e-01 2.5251796e-01 8.8358844e-01 1.4559276e+00 1.7532140e+00 2.2755980e+00 8.9653332e-01 5.5160819e-01 9.1163729e-01 1.9862884e+00 9.1163729e-01 7.6752131e-01 2.0656129e-01 1.0632598e+00 1.0516761e+00 1.0391247e+00 5.3022554e-01 1.2756158e+00 1.1406052e+00 8.7720955e-01 7.3851529e-01 6.5633874e-01 7.0776547e-01 3.2352160e-01 9.1273187e-01 7.0043186e-01 3.7427929e-01 5.7324170e-01 9.3615100e-01 1.0733200e+00 5.0991930e-01 5.9426792e-01 6.5633874e-01 6.7975091e-01 3.0811765e-01 1.1056650e+00 7.7360126e-01 7.0429250e-01 8.2552685e-01 5.7257017e-01 5.0905001e-01 6.1968386e-01 6.5223271e-01 6.0611244e-01 3.2586371e-01 1.2028939e+00 5.0905001e-01 4.2667565e-01 4.1449626e-01 3.0546431e-01 1.2470767e+00 4.0147421e-01 2.1213832e+00 1.1521791e+00 2.0070710e+00 1.6126950e+00 1.8637576e+00 2.7490677e+00 1.2370832e+00 2.3910690e+00 1.8274132e+00 2.3004229e+00 1.1979861e+00 1.3368881e+00 1.5972416e+00 1.1093572e+00 1.3693737e+00 1.4644753e+00 1.5211725e+00 2.9013543e+00 3.0559175e+00 1.0590298e+00 1.8374244e+00 1.0423677e+00 2.8588399e+00 9.4309624e-01 1.7735968e+00 2.0979142e+00 8.5205778e-01 9.4287188e-01 1.6546836e+00 1.9109434e+00 2.2424413e+00 2.7118839e+00 1.6774684e+00 1.1029298e+00 1.6007141e+00 2.3898698e+00 1.7557336e+00 1.5191033e+00 8.5462626e-01 1.5344007e+00 1.7571295e+00 1.3898545e+00 1.1521791e+00 1.9987470e+00 1.8815752e+00 1.4085850e+00 1.0646687e+00 1.2740417e+00 1.5577803e+00 1.1296247e+00 4.0176783e-01 6.5223271e-01 6.3977563e-01 5.3022554e-01 5.7324170e-01 5.2574978e-01 1.4438552e+00 1.2221471e+00 1.3131724e+00 1.0406064e+00 3.4583729e-01 9.5943875e-01 9.2859317e-01 6.5172743e-01 5.1607523e-01 9.7548738e-01 1.0611732e+00 8.6137722e-01 5.3665999e-01 9.4854455e-01 1.8311457e+00 8.7420176e-01 8.7170815e-01 8.4050231e-01 6.5223271e-01 2.0303919e+00 8.9917007e-01 1.3866318e+00 5.7867728e-01 1.2002762e+00 7.4740267e-01 1.0440187e+00 1.9213397e+00 1.4087466e+00 1.5433565e+00 9.2836103e-01 1.6392533e+00 7.7360126e-01 5.0592043e-01 8.5585239e-01 6.8961791e-01 9.5035453e-01 9.5498315e-01 7.0776547e-01 2.1812146e+00 2.2081369e+00 3.7427929e-01 1.1335961e+00 7.7885297e-01 2.0291151e+00 3.2352160e-01 1.0661822e+00 1.3165513e+00 3.7598397e-01 5.3588338e-01 8.2305664e-01 1.1437730e+00 1.4415965e+00 2.0902718e+00 8.7848692e-01 3.2352160e-01 7.0479928e-01 1.6865203e+00 1.1904611e+00 7.5791688e-01 5.5492130e-01 8.9207714e-01 1.0805899e+00 9.6271042e-01 5.7867728e-01 1.2256881e+00 1.2481462e+00 8.8358844e-01 4.0147421e-01 6.4405773e-01 1.0887986e+00 5.9426792e-01 4.4651726e-01 5.4292906e-01 7.0437330e-01 7.0776547e-01 3.2816937e-01 1.2134101e+00 9.8820253e-01 1.0733200e+00 8.1099042e-01 4.9857388e-01 7.2172678e-01 6.5223271e-01 6.3808075e-01 5.3665999e-01 6.9369532e-01 8.2305664e-01 6.2482915e-01 2.5251796e-01 7.1799256e-01 1.5895397e+00 6.2205176e-01 5.7257017e-01 5.6769031e-01 4.0438741e-01 1.7935777e+00 6.4755655e-01 1.6267976e+00 7.4777660e-01 1.4807336e+00 9.7270522e-01 1.3173487e+00 2.1839601e+00 1.2277129e+00 1.7938033e+00 1.1948932e+00 1.8448199e+00 8.7383925e-01 8.2305664e-01 1.1418127e+00 8.4591037e-01 1.2153720e+00 1.1640914e+00 9.1163729e-01 2.3638833e+00 2.4815883e+00 6.3861009e-01 1.3946921e+00 8.5434758e-01 2.2902807e+00 6.1151102e-01 1.2452704e+00 1.5325394e+00 6.0121055e-01 6.1092863e-01 1.1228379e+00 1.3752705e+00 1.7103060e+00 2.2560685e+00 1.1879078e+00 4.5470518e-01 9.0454394e-01 1.9729066e+00 1.3650300e+00 9.0521488e-01 6.0670504e-01 1.1454006e+00 1.3674559e+00 1.2262704e+00 7.4777660e-01 1.4820085e+00 1.4947429e+00 1.1729895e+00 7.3145860e-01 8.7720955e-01 1.2163831e+00 6.5633874e-01 2.1845981e-01 5.6769031e-01 7.4777660e-01 4.2538717e-01 9.5099818e-01 9.7994716e-01 1.0119857e+00 6.5223271e-01 8.3888121e-01 1.0038051e+00 5.9426792e-01 4.6472023e-01 6.0121055e-01 8.0326782e-01 9.2836103e-01 9.0876485e-01 3.7598397e-01 6.3861009e-01 1.5602029e+00 8.0326782e-01 7.0129382e-01 7.0043186e-01 2.0000000e-01 1.6208239e+00 7.0437330e-01 1.8619092e+00 9.6271042e-01 1.6849072e+00 1.3188999e+00 1.5860263e+00 2.4084158e+00 1.5142414e+00 2.0543079e+00 1.5230852e+00 1.9980352e+00 9.4375082e-01 1.0588560e+00 1.3035649e+00 1.0035600e+00 1.2499342e+00 1.2459608e+00 1.2225634e+00 2.5586145e+00 2.7210925e+00 8.9366705e-01 1.5500052e+00 1.0014633e+00 2.5139485e+00 6.9369532e-01 1.4790710e+00 1.7580510e+00 6.2660376e-01 7.0429250e-01 1.3804167e+00 1.5625881e+00 1.8966943e+00 2.3518757e+00 1.4139741e+00 8.0358695e-01 1.3075101e+00 2.0455018e+00 1.5153654e+00 1.2234738e+00 6.6539428e-01 1.2342162e+00 1.5049644e+00 1.1591754e+00 9.6271042e-01 1.7107332e+00 1.6328100e+00 1.1880428e+00 8.3812833e-01 1.0106392e+00 1.3267389e+00 8.9767734e-01 4.2538717e-01 6.2024833e-01 6.0181382e-01 1.1431021e+00 1.1948932e+00 1.2269747e+00 8.6361309e-01 8.2552685e-01 1.2002640e+00 6.5223271e-01 3.0811765e-01 7.1462831e-01 1.0067784e+00 1.1396406e+00 1.1147518e+00 5.0817745e-01 8.5335130e-01 1.7711504e+00 1.0085601e+00 9.0454394e-01 9.0277242e-01 4.0438741e-01 1.8140813e+00 9.1075311e-01 1.7412567e+00 9.8054887e-01 1.5527694e+00 1.2155004e+00 1.4692412e+00 2.2702600e+00 1.7126039e+00 1.9279661e+00 1.4238090e+00 1.8539569e+00 8.1558458e-01 9.5035453e-01 1.1763980e+00 1.0621081e+00 1.2047214e+00 1.1205013e+00 1.1134787e+00 2.4108292e+00 2.5851693e+00 9.6095130e-01 1.4178113e+00 1.0879524e+00 2.3751496e+00 6.0900723e-01 1.3570688e+00 1.6277043e+00 5.7015910e-01 6.6491075e-01 1.2652657e+00 1.4292566e+00 1.7566567e+00 2.1846001e+00 1.2961380e+00 7.1840099e-01 1.2329148e+00 1.8795815e+00 1.3897316e+00 1.1149070e+00 6.8757066e-01 1.0960883e+00 1.3785366e+00 1.0168833e+00 9.8054887e-01 1.5871961e+00 1.5043071e+00 1.0597541e+00 7.7033318e-01 8.8861541e-01 1.2058675e+00 8.9134001e-01 3.4583729e-01 8.1130291e-01 1.5090287e+00 1.4644753e+00 1.5150043e+00 1.1847335e+00 8.1385214e-01 1.4041085e+00 8.9917007e-01 3.0811765e-01 6.6539428e-01 1.2643026e+00 1.3836712e+00 1.3112758e+00 7.0784540e-01 1.1353806e+00 2.0777059e+00 1.2396136e+00 1.1498269e+00 1.1474460e+00 6.9006418e-01 2.1775976e+00 1.1752673e+00 1.4613032e+00 1.0391247e+00 1.1810170e+00 8.7504951e-01 1.1390131e+00 1.8670836e+00 1.9048338e+00 1.5205305e+00 1.0228981e+00 1.5676403e+00 6.7975091e-01 6.6539428e-01 8.7175869e-01 1.1533602e+00 1.2459608e+00 9.7730901e-01 7.5082357e-01 2.0536508e+00 2.1838261e+00 8.9095811e-01 1.1306949e+00 1.2394907e+00 1.9665910e+00 5.6769031e-01 1.0425476e+00 1.2324706e+00 6.4704320e-01 7.3851529e-01 9.5476489e-01 1.0198386e+00 1.3510699e+00 1.8411319e+00 1.0100718e+00 5.2942799e-01 9.3801395e-01 1.5112621e+00 1.2002762e+00 7.7763126e-01 8.2899253e-01 8.2305664e-01 1.1377990e+00 9.1663180e-01 1.0391247e+00 1.2653669e+00 1.2757312e+00 9.2288144e-01 6.4405773e-01 6.6827038e-01 1.0851476e+00 9.3048953e-01 7.7074935e-01 1.6569692e+00 1.5391185e+00 1.6134578e+00 1.2794849e+00 7.1504098e-01 1.3197776e+00 7.9613242e-01 3.2586371e-01 8.6165877e-01 1.2653669e+00 1.4028652e+00 1.2701139e+00 6.6384020e-01 1.2172454e+00 2.1489775e+00 1.2262704e+00 1.1578646e+00 1.1452867e+00 7.9613242e-01 2.2808589e+00 1.1959482e+00 1.1500393e+00 9.1075311e-01 9.3999899e-01 6.4806901e-01 8.5434758e-01 1.6806723e+00 1.8184542e+00 1.3334814e+00 8.5205778e-01 1.2702636e+00 3.4583729e-01 4.3456114e-01 5.6700421e-01 1.0389435e+00 1.0122141e+00 6.4290921e-01 5.0905001e-01 1.8419636e+00 1.9902374e+00 9.3801395e-01 8.1810461e-01 1.1069580e+00 1.7940242e+00 4.4651726e-01 7.4740267e-01 1.0346741e+00 5.1691876e-01 6.0121055e-01 6.6827038e-01 8.5205778e-01 1.1776640e+00 1.6778021e+00 7.0776547e-01 4.2667565e-01 7.8695083e-01 1.3400806e+00 8.6165877e-01 5.3022554e-01 7.0437330e-01 5.0592043e-01 8.1273630e-01 6.0670504e-01 9.1075311e-01 9.7270522e-01 9.4352681e-01 6.0551856e-01 5.7257017e-01 3.4378533e-01 7.5705927e-01 8.0064372e-01 1.0450018e+00 8.4812820e-01 9.3847194e-01 6.2988288e-01 6.0611244e-01 6.0060595e-01 5.0090417e-01 7.0784540e-01 6.2538346e-01 5.0592043e-01 6.6932542e-01 5.5492130e-01 1.5422108e-01 5.6075294e-01 1.4235605e+00 4.6472023e-01 4.2418962e-01 3.8776762e-01 2.8192292e-01 1.5978583e+00 4.5581864e-01 1.6256459e+00 6.5633874e-01 1.5986180e+00 1.1106412e+00 1.3708966e+00 2.3519748e+00 1.1147518e+00 1.9798165e+00 1.3654173e+00 1.8856245e+00 7.7033318e-01 8.5335130e-01 1.1771643e+00 6.8076724e-01 9.7270522e-01 1.0165138e+00 1.0391247e+00 2.5081056e+00 2.6437138e+00 7.6716823e-01 1.4120836e+00 6.1947990e-01 2.4692682e+00 4.8927739e-01 1.3077572e+00 1.7030709e+00 3.8934542e-01 4.4651726e-01 1.1594648e+00 1.5551984e+00 1.8760773e+00 2.3977345e+00 1.1868139e+00 6.2024833e-01 1.1056650e+00 2.0821572e+00 1.2794849e+00 1.0244319e+00 3.7427929e-01 1.1646003e+00 1.3139135e+00 1.1119327e+00 6.5633874e-01 1.5344007e+00 1.4333755e+00 1.0386594e+00 6.3735887e-01 8.2372435e-01 1.0901359e+00 6.2081167e-01 3.4583729e-01 2.8192292e-01 4.1586001e-01 1.6237100e+00 1.0540105e+00 1.1816401e+00 1.4110536e+00 9.8450810e-01 6.6432544e-01 5.3665999e-01 9.0454394e-01 1.1389644e+00 5.0905001e-01 7.1799256e-01 7.1504098e-01 7.3813096e-01 7.2783368e-01 8.7021234e-01 6.9006418e-01 6.2482915e-01 2.6619364e+00 1.6754669e+00 2.5821869e+00 2.1421834e+00 2.4107926e+00 3.3209792e+00 1.2036484e+00 2.9531363e+00 2.3720162e+00 2.8824828e+00 1.7671769e+00 1.8842354e+00 2.1714345e+00 1.6176764e+00 1.8723516e+00 2.0134817e+00 2.0676751e+00 3.4808493e+00 3.6264553e+00 1.5230852e+00 2.4135751e+00 1.5351194e+00 3.4281547e+00 1.4948868e+00 2.3378347e+00 2.6680945e+00 1.3977032e+00 1.4832928e+00 2.1976523e+00 2.4795532e+00 2.8157449e+00 3.2956170e+00 2.2214438e+00 1.6336229e+00 2.1064881e+00 2.9775369e+00 2.2994849e+00 2.0603946e+00 1.3916739e+00 2.1189748e+00 2.3204945e+00 1.9672068e+00 1.6754669e+00 2.5635110e+00 2.4436082e+00 1.9753271e+00 1.6077195e+00 1.8374244e+00 2.0981613e+00 1.6585806e+00 1.2418578e-01 3.7598397e-01 1.3405045e+00 8.3812833e-01 1.1437669e+00 1.3915412e+00 8.9095811e-01 6.2538346e-01 2.5251796e-01 6.0611244e-01 9.6791960e-01 3.4583729e-01 6.2205176e-01 4.5581864e-01 6.5223271e-01 5.7867728e-01 8.2619017e-01 8.2654509e-01 4.6472023e-01 2.4061696e+00 1.3868130e+00 2.3985329e+00 1.8751958e+00 2.1591630e+00 3.1397173e+00 8.9852394e-01 2.7599154e+00 2.1335771e+00 2.7193241e+00 1.6021202e+00 1.6415861e+00 1.9851797e+00 1.3336069e+00 1.6224878e+00 1.8082080e+00 1.8350829e+00 3.3292261e+00 3.4297053e+00 1.2340567e+00 2.2298076e+00 1.2654843e+00 3.2489933e+00 1.2770118e+00 2.1337366e+00 2.4988032e+00 1.1786349e+00 1.2545301e+00 1.9393053e+00 2.3288114e+00 2.6536325e+00 3.2010862e+00 1.9648876e+00 1.3964978e+00 1.8188234e+00 2.8588023e+00 2.0766308e+00 1.8216743e+00 1.1634384e+00 1.9698860e+00 2.1147926e+00 1.8660999e+00 1.3868130e+00 2.3472906e+00 2.2417376e+00 1.8131734e+00 1.3752391e+00 1.6372749e+00 1.8856245e+00 1.3922071e+00 4.0176783e-01 1.4467170e+00 9.3049742e-01 1.2002762e+00 1.4411886e+00 9.4375082e-01 6.6432544e-01 3.7427929e-01 7.0784540e-01 1.0466623e+00 4.0176783e-01 5.6700421e-01 5.5492130e-01 6.9728513e-01 6.4405773e-01 8.7170815e-01 7.3535471e-01 5.3309112e-01 2.5193321e+00 1.5039793e+00 2.4895662e+00 1.9791576e+00 2.2673478e+00 3.2268480e+00 1.0014633e+00 2.8466240e+00 2.2303173e+00 2.8133325e+00 1.6962564e+00 1.7458338e+00 2.0805039e+00 1.4552205e+00 1.7454671e+00 1.9165907e+00 1.9332869e+00 3.4131779e+00 3.5208177e+00 1.3379696e+00 2.3275025e+00 1.3866044e+00 3.3340853e+00 1.3784233e+00 2.2317775e+00 2.5822073e+00 1.2828332e+00 1.3595018e+00 2.0485193e+00 2.4057315e+00 2.7355566e+00 3.2722484e+00 2.0762069e+00 1.4905436e+00 1.9191337e+00 2.9375895e+00 2.1864773e+00 1.9213461e+00 1.2702636e+00 2.0582667e+00 2.2206505e+00 1.9521784e+00 1.5039793e+00 2.4497583e+00 2.3480580e+00 1.9124077e+00 1.4817438e+00 1.7372199e+00 1.9937367e+00 1.5016471e+00 1.2122249e+00 6.7975091e-01 8.4050231e-01 1.0796583e+00 6.6539428e-01 3.4583729e-01 3.2816937e-01 5.2942799e-01 7.3145860e-01 1.2418578e-01 9.1163729e-01 3.2586371e-01 3.7427929e-01 3.2816937e-01 5.0592043e-01 1.0122141e+00 2.1845981e-01 2.2481791e+00 1.2631020e+00 2.1874158e+00 1.7295419e+00 1.9965608e+00 2.9333950e+00 1.0072663e+00 2.5632712e+00 1.9670002e+00 2.4858980e+00 1.3655398e+00 1.4724669e+00 1.7716601e+00 1.2125198e+00 1.4903113e+00 1.6105641e+00 1.6572339e+00 3.0940465e+00 3.2344170e+00 1.1332978e+00 2.0129643e+00 1.1341579e+00 3.0445772e+00 1.0864449e+00 1.9287276e+00 2.2802541e+00 9.8820253e-01 1.0688498e+00 1.7838044e+00 2.1039999e+00 2.4365934e+00 2.9349538e+00 1.8084630e+00 1.2266837e+00 1.7026843e+00 2.6138892e+00 1.8911946e+00 1.6476803e+00 9.7949166e-01 1.7305789e+00 1.9168750e+00 1.6065247e+00 1.2631020e+00 2.1541966e+00 2.0395401e+00 1.5896248e+00 1.1996741e+00 1.4306494e+00 1.6928004e+00 1.2436109e+00 7.5791688e-01 8.1242502e-01 7.6625946e-01 7.5976039e-01 1.0289803e+00 1.1332978e+00 7.9613242e-01 5.3665999e-01 1.1149070e+00 1.9007091e+00 9.2836103e-01 9.3610001e-01 9.1858284e-01 8.1638392e-01 2.1493214e+00 1.0132664e+00 1.1680362e+00 3.2352160e-01 1.2372418e+00 5.4292906e-01 8.7170815e-01 1.9366254e+00 1.1486378e+00 1.5564198e+00 8.7420176e-01 1.5682049e+00 6.6491075e-01 4.5470518e-01 8.8358844e-01 4.5581864e-01 8.0326782e-01 7.9878917e-01 5.9426792e-01 2.1460410e+00 2.1931311e+00 5.0180477e-01 1.0950112e+00 5.0592043e-01 2.0545952e+00 3.4378533e-01 9.3923979e-01 1.3512935e+00 3.4583729e-01 3.4583729e-01 6.6539428e-01 1.2670555e+00 1.5369942e+00 2.1465859e+00 7.2526325e-01 3.0546431e-01 5.0991930e-01 1.8206746e+00 9.8054887e-01 5.7015910e-01 3.8776762e-01 9.6664346e-01 9.9089002e-01 1.0262547e+00 3.2352160e-01 1.1127329e+00 1.1166017e+00 8.7848692e-01 3.8934542e-01 5.8914551e-01 8.8062848e-01 3.2586371e-01 6.4755655e-01 1.3011270e+00 1.0122141e+00 4.2538717e-01 6.2660376e-01 4.4651726e-01 7.0086313e-01 6.3735887e-01 1.2926374e+00 4.0176783e-01 4.2288438e-01 3.8934542e-01 8.0619006e-01 1.5230852e+00 4.6472023e-01 1.6933635e+00 7.0233835e-01 1.9584922e+00 1.2594846e+00 1.5411691e+00 2.6785768e+00 6.2605182e-01 2.3003744e+00 1.6284481e+00 2.1882128e+00 1.1729895e+00 1.1500393e+00 1.5577059e+00 7.1881659e-01 9.8985697e-01 1.2389598e+00 1.3108618e+00 2.8217641e+00 2.9357847e+00 9.3026633e-01 1.7457596e+00 5.7867728e-01 2.7994225e+00 9.3610001e-01 1.5801828e+00 2.0692197e+00 8.2384013e-01 7.4740267e-01 1.3410314e+00 1.9783833e+00 2.2683159e+00 2.8062463e+00 1.3610783e+00 9.7249562e-01 1.1868139e+00 2.5244698e+00 1.3852951e+00 1.2460824e+00 6.3808075e-01 1.6077195e+00 1.5873000e+00 1.5826476e+00 7.0233835e-01 1.7831878e+00 1.6667819e+00 1.4276261e+00 9.9519977e-01 1.1984588e+00 1.1903343e+00 7.0386584e-01 7.1840099e-01 1.1107977e+00 5.8624446e-01 9.8495853e-01 8.7504951e-01 4.1586001e-01 8.7720955e-01 1.5824669e+00 7.5976039e-01 5.5160819e-01 5.7741073e-01 5.4292906e-01 1.6736318e+00 6.7975091e-01 1.5883552e+00 8.2552685e-01 1.5948732e+00 1.1332978e+00 1.3595997e+00 2.3503762e+00 1.2554784e+00 1.9862884e+00 1.4596621e+00 1.8378727e+00 7.2852070e-01 9.6204649e-01 1.1697902e+00 9.6664346e-01 9.6271042e-01 9.5676647e-01 1.0496979e+00 2.4751922e+00 2.6546397e+00 1.2224367e+00 1.3843268e+00 7.2343175e-01 2.4751922e+00 7.5082357e-01 1.2832075e+00 1.7000773e+00 6.2988288e-01 5.0592043e-01 1.1833351e+00 1.5613251e+00 1.8886923e+00 2.3645560e+00 1.2016233e+00 7.5791688e-01 1.2125198e+00 2.0748074e+00 1.2155370e+00 1.0244319e+00 4.5470518e-01 1.1485394e+00 1.2770118e+00 1.0720678e+00 8.2552685e-01 1.5113992e+00 1.3835368e+00 1.0035600e+00 9.5571254e-01 8.2234151e-01 1.0120221e+00 6.5223271e-01 8.3888121e-01 1.1486378e+00 1.2994764e+00 1.2307737e+00 6.0181382e-01 1.0483827e+00 1.9867752e+00 1.1408504e+00 1.0391247e+00 1.0361698e+00 5.7867728e-01 2.0669733e+00 1.0646687e+00 1.4623898e+00 9.5866719e-01 1.2497790e+00 9.3048953e-01 1.1765359e+00 1.9666356e+00 1.8175297e+00 1.6242657e+00 1.1520347e+00 1.5603665e+00 5.7324170e-01 7.0233835e-01 8.8887100e-01 1.0919404e+00 1.1355826e+00 8.9712482e-01 8.1385214e-01 2.1052360e+00 2.2845234e+00 1.0166932e+00 1.1341579e+00 1.1332978e+00 2.0738150e+00 5.3309112e-01 1.0588560e+00 1.3224963e+00 5.5492130e-01 6.2538346e-01 9.8450810e-01 1.1271488e+00 1.4561933e+00 1.8911946e+00 1.0230441e+00 5.2574978e-01 1.0056742e+00 1.5916843e+00 1.1355826e+00 8.2105460e-01 7.1504098e-01 8.1527569e-01 1.1176720e+00 8.2899253e-01 9.5866719e-01 1.2943100e+00 1.2429818e+00 8.5205778e-01 7.0233835e-01 6.2660376e-01 9.8054887e-01 8.3649708e-01 8.7822463e-01 8.2899253e-01 8.1099042e-01 7.0826681e-01 5.8914551e-01 1.5042268e+00 7.3813096e-01 8.1558458e-01 7.4855857e-01 6.0121055e-01 1.6260946e+00 7.0386584e-01 1.8605327e+00 8.8503502e-01 1.6493191e+00 1.2601890e+00 1.5390703e+00 2.3592515e+00 1.4088394e+00 1.9940473e+00 1.4245508e+00 2.0716002e+00 1.1004436e+00 9.8820253e-01 1.2927814e+00 9.0056222e-01 1.2208301e+00 1.3194807e+00 1.1996741e+00 2.6153308e+00 2.6539963e+00 6.2538346e-01 1.5687169e+00 9.5271386e-01 2.4562038e+00 6.6491075e-01 1.5249255e+00 1.7538274e+00 6.6539428e-01 8.2619017e-01 1.3131724e+00 1.5409345e+00 1.8470010e+00 2.4533073e+00 1.3504603e+00 7.7039952e-01 1.2057554e+00 2.0352149e+00 1.6006330e+00 1.2331989e+00 8.0660588e-01 1.2747177e+00 1.5040391e+00 1.2426449e+00 8.8503502e-01 1.7019078e+00 1.6700310e+00 1.2144845e+00 7.4855857e-01 1.0401425e+00 1.4600567e+00 9.3296062e-01 5.0180477e-01 4.4651726e-01 6.2149089e-01 4.1586001e-01 1.0078327e+00 3.0275928e-01 1.4096146e-01 1.4096146e-01 6.0611244e-01 1.1536782e+00 2.0656129e-01 2.0491051e+00 1.0646687e+00 2.0979729e+00 1.5528443e+00 1.8279176e+00 2.8469870e+00 8.2234151e-01 2.4692682e+00 1.8399871e+00 2.3632803e+00 1.2493717e+00 1.3312249e+00 1.6756749e+00 1.0425476e+00 1.3092012e+00 1.4505265e+00 1.5123788e+00 2.9884772e+00 3.1361386e+00 1.0755693e+00 1.9017004e+00 9.3801395e-01 2.9635613e+00 9.8054887e-01 1.7833384e+00 2.1970231e+00 8.6513410e-01 8.9742724e-01 1.6159903e+00 2.0524973e+00 2.3760856e+00 2.8811560e+00 1.6399646e+00 1.0934620e+00 1.5205305e+00 2.5867433e+00 1.6928004e+00 1.4836711e+00 7.9580667e-01 1.6659943e+00 1.7839298e+00 1.5792930e+00 1.0646687e+00 2.0113485e+00 1.8901379e+00 1.5067717e+00 1.0950112e+00 1.3129189e+00 1.4875372e+00 1.0389435e+00 4.0293660e-01 8.0499049e-01 3.0546431e-01 7.8197925e-01 2.5251796e-01 5.1691876e-01 4.2538717e-01 7.4740267e-01 1.0181000e+00 3.2586371e-01 2.1717162e+00 1.1533602e+00 2.2234347e+00 1.6690840e+00 1.9433381e+00 2.9713636e+00 7.2486328e-01 2.5929835e+00 1.9489982e+00 2.5241649e+00 1.4089364e+00 1.4425304e+00 1.8012344e+00 1.0919712e+00 1.3726860e+00 1.5830057e+00 1.6408468e+00 3.1546522e+00 3.2544456e+00 1.0406064e+00 2.0352149e+00 1.0168833e+00 3.0859269e+00 1.0901359e+00 1.9325796e+00 2.3348454e+00 9.8054887e-01 1.0379132e+00 1.7250039e+00 2.1825260e+00 2.4995667e+00 3.0529994e+00 1.7458338e+00 1.2167151e+00 1.6214915e+00 2.7108297e+00 1.8418195e+00 1.6195190e+00 9.3847194e-01 1.7995863e+00 1.9034198e+00 1.7022897e+00 1.1533602e+00 2.1413027e+00 2.0233319e+00 1.6211869e+00 1.1770266e+00 1.4411886e+00 1.6502968e+00 1.1644030e+00 6.5633874e-01 4.4417983e-01 1.1332978e+00 2.1845981e-01 4.2538717e-01 3.4583729e-01 7.1504098e-01 1.4080793e+00 3.4583729e-01 1.8866180e+00 8.7848692e-01 1.9819543e+00 1.3312249e+00 1.6523803e+00 2.6988671e+00 6.9006418e-01 2.3100474e+00 1.6455737e+00 2.2934334e+00 1.2426449e+00 1.1905954e+00 1.5932297e+00 8.9095811e-01 1.2681309e+00 1.4065584e+00 1.3487634e+00 2.8835141e+00 2.9705897e+00 7.3805807e-01 1.8205354e+00 8.5462626e-01 2.8117234e+00 9.3049742e-01 1.6679957e+00 2.0758969e+00 8.4050231e-01 8.3060013e-01 1.4419145e+00 1.9521697e+00 2.2599493e+00 2.8310619e+00 1.4807336e+00 9.4558103e-01 1.2404967e+00 2.5235709e+00 1.6070713e+00 1.3102444e+00 7.5705927e-01 1.6281130e+00 1.7021627e+00 1.6240596e+00 8.7848692e-01 1.8790831e+00 1.8155245e+00 1.5040391e+00 1.0014633e+00 1.2481462e+00 1.4334902e+00 8.6165877e-01 6.6827038e-01 1.5475692e+00 5.8914551e-01 5.0503591e-01 4.9857388e-01 3.0811765e-01 1.7160413e+00 5.7324170e-01 1.5795964e+00 6.5648056e-01 1.4967461e+00 1.0182895e+00 1.3034549e+00 2.2380042e+00 1.2266837e+00 1.8619092e+00 1.2701139e+00 1.8007564e+00 7.2852070e-01 7.9016429e-01 1.0989735e+00 7.5705927e-01 1.0406064e+00 1.0184370e+00 9.3999899e-01 2.3886514e+00 2.5357185e+00 8.2684479e-01 1.3424112e+00 7.0776547e-01 2.3522207e+00 4.8927739e-01 1.2205493e+00 1.5832517e+00 4.2667565e-01 4.4417983e-01 1.0974061e+00 1.4319225e+00 1.7587110e+00 2.2711652e+00 1.1390131e+00 5.1691876e-01 1.0163549e+00 1.9782498e+00 1.2532075e+00 9.2859317e-01 4.1449626e-01 1.0852663e+00 1.2786117e+00 1.0887986e+00 6.5648056e-01 1.4596621e+00 1.3991741e+00 1.0313560e+00 6.6932542e-01 7.7553525e-01 1.0741917e+00 5.7257017e-01 9.4558103e-01 2.5651975e-01 4.1449626e-01 3.2816937e-01 4.8135521e-01 1.0908017e+00 2.1845981e-01 2.1701312e+00 1.1752673e+00 2.1084262e+00 1.6352583e+00 1.9101184e+00 2.8518881e+00 9.7825559e-01 2.4781934e+00 1.8745369e+00 2.4235816e+00 1.3078976e+00 1.3842113e+00 1.6965018e+00 1.1329323e+00 1.4319225e+00 1.5496439e+00 1.5691346e+00 3.0266197e+00 3.1503439e+00 1.0244319e+00 1.9425540e+00 1.0627606e+00 2.9623467e+00 1.0056742e+00 1.8539828e+00 2.2026387e+00 9.1163729e-01 9.9475949e-01 1.6952454e+00 2.0275673e+00 2.3581240e+00 2.8793190e+00 1.7227544e+00 1.1332978e+00 1.6029963e+00 2.5482247e+00 1.8278913e+00 1.5611067e+00 9.1163729e-01 1.6653066e+00 1.8462692e+00 1.5634147e+00 1.1752673e+00 2.0757295e+00 1.9739212e+00 1.5320003e+00 1.1179743e+00 1.3567326e+00 1.6362950e+00 1.1594648e+00 9.9475949e-01 1.1004436e+00 1.0720678e+00 1.4108494e+00 3.2816937e-01 9.8054887e-01 2.9240179e+00 1.9013501e+00 3.0016960e+00 2.4403742e+00 2.7185134e+00 3.7481490e+00 1.2643026e+00 3.3676733e+00 2.7249658e+00 3.2951180e+00 2.1701459e+00 2.2231652e+00 2.5778372e+00 1.8193838e+00 2.0594742e+00 2.3383666e+00 2.4210417e+00 3.9277558e+00 4.0319248e+00 1.8011138e+00 2.8105150e+00 1.7324239e+00 3.8595400e+00 1.8657887e+00 2.7098209e+00 3.1083486e+00 1.7551534e+00 1.8090259e+00 2.5002193e+00 2.9463843e+00 3.2688068e+00 3.8087204e+00 2.5182043e+00 1.9933741e+00 2.3692479e+00 3.4705738e+00 2.5885717e+00 2.3959721e+00 1.7005893e+00 2.5655126e+00 2.6734142e+00 2.4311441e+00 1.9013501e+00 2.9205331e+00 2.7876433e+00 2.3735872e+00 1.9516947e+00 2.2170194e+00 2.3879674e+00 1.9213461e+00 3.0546431e-01 2.0656129e-01 6.0611244e-01 1.2246352e+00 1.4096146e-01 1.9777274e+00 9.7249562e-01 2.0297383e+00 1.4616539e+00 1.7458338e+00 2.7737198e+00 7.5082357e-01 2.3931826e+00 1.7478866e+00 2.3213742e+00 1.2131545e+00 1.2498134e+00 1.6130724e+00 9.3824087e-01 1.2565757e+00 1.4029855e+00 1.4325768e+00 2.9414941e+00 3.0577671e+00 8.7720955e-01 1.8438146e+00 8.6956871e-01 2.8895427e+00 9.1310225e-01 1.7228354e+00 2.1321061e+00 8.0499049e-01 8.3345577e-01 1.5318874e+00 1.9898963e+00 2.3090270e+00 2.8491218e+00 1.5587730e+00 1.0122141e+00 1.4162017e+00 2.5326059e+00 1.6463627e+00 1.4047678e+00 7.3805807e-01 1.6165635e+00 1.7228488e+00 1.5520745e+00 9.7249562e-01 1.9420274e+00 1.8372522e+00 1.4628493e+00 1.0030700e+00 1.2523175e+00 1.4531349e+00 9.5571254e-01 1.2418578e-01 5.0270183e-01 1.2603076e+00 2.1269358e-01 1.9932786e+00 1.0168833e+00 1.9946994e+00 1.4557537e+00 1.7495699e+00 2.7337358e+00 9.0575661e-01 2.3519748e+00 1.7324239e+00 2.2796281e+00 1.1801240e+00 1.2450709e+00 1.5872286e+00 1.0267435e+00 1.3336069e+00 1.4152303e+00 1.4096199e+00 2.8778917e+00 3.0268604e+00 1.0067464e+00 1.8215944e+00 9.3824087e-01 2.8471683e+00 9.0658670e-01 1.6933635e+00 2.0801243e+00 8.0758367e-01 8.3783744e-01 1.5390703e+00 1.9310038e+00 2.2599493e+00 2.7651778e+00 1.5728839e+00 9.7949166e-01 1.4165336e+00 2.4822593e+00 1.6510537e+00 1.3842113e+00 7.5755387e-01 1.5773217e+00 1.7253276e+00 1.5255331e+00 1.0168833e+00 1.9287244e+00 1.8366596e+00 1.4599710e+00 1.0339865e+00 1.2378278e+00 1.4537266e+00 9.7249562e-01 5.0090417e-01 1.2507669e+00 1.2418578e-01 1.9589833e+00 9.7270522e-01 1.9792779e+00 1.4437673e+00 1.7230625e+00 2.7260686e+00 8.6012420e-01 2.3478326e+00 1.7190893e+00 2.2590861e+00 1.1454006e+00 1.2174316e+00 1.5614941e+00 9.5476489e-01 1.2555979e+00 1.3635198e+00 1.3969297e+00 2.8759951e+00 3.0161959e+00 9.4558103e-01 1.7925890e+00 8.6983677e-01 2.8416706e+00 8.6513410e-01 1.6742876e+00 2.0756986e+00 7.5871717e-01 7.9613242e-01 1.5107481e+00 1.9286915e+00 2.2531942e+00 2.7669732e+00 1.5384446e+00 9.7270522e-01 1.4111029e+00 2.4671050e+00 1.6105641e+00 1.3717027e+00 7.0429250e-01 1.5517600e+00 1.6837214e+00 1.4807336e+00 9.7270522e-01 1.9032219e+00 1.7953587e+00 1.4097072e+00 9.7855477e-01 1.2036484e+00 1.4110536e+00 9.4309624e-01 1.5090287e+00 5.0905001e-01 1.8619092e+00 9.1163729e-01 1.7230625e+00 1.3188999e+00 1.5883552e+00 2.4588872e+00 1.3193952e+00 2.0946464e+00 1.5338492e+00 2.0321740e+00 9.5099818e-01 1.0604511e+00 1.3277861e+00 9.3296062e-01 1.2221471e+00 1.2470767e+00 1.2266837e+00 2.6106370e+00 2.7667028e+00 8.7420176e-01 1.5746612e+00 8.9852394e-01 2.5679581e+00 6.9369532e-01 1.4905436e+00 1.8028753e+00 6.2149089e-01 6.9006418e-01 1.3813076e+00 1.6199747e+00 1.9552274e+00 2.4344864e+00 1.4148192e+00 8.0358695e-01 1.3039319e+00 2.1287551e+00 1.5153654e+00 1.2246352e+00 6.2660376e-01 1.2741904e+00 1.5160122e+00 1.2047214e+00 9.1163729e-01 1.7242097e+00 1.6420607e+00 1.2064640e+00 8.3812833e-01 1.0168833e+00 1.3257654e+00 8.6137722e-01 1.1533602e+00 3.1382691e+00 2.1485328e+00 3.1786790e+00 2.6799312e+00 2.9354140e+00 3.9353144e+00 1.5252485e+00 3.5658557e+00 2.9475994e+00 3.4455976e+00 2.3167786e+00 2.4320363e+00 2.7459122e+00 2.0598189e+00 2.2501104e+00 2.5013206e+00 2.6321552e+00 4.0910078e+00 4.2293986e+00 2.0521052e+00 2.9731112e+00 1.9619929e+00 4.0491656e+00 2.0481101e+00 2.8946126e+00 3.2860707e+00 1.9342059e+00 2.0025214e+00 2.7210925e+00 3.1148548e+00 3.4424959e+00 3.9360563e+00 2.7333517e+00 2.2078200e+00 2.6383936e+00 3.6047462e+00 2.7713578e+00 2.6121617e+00 1.8925840e+00 2.7075477e+00 2.8419886e+00 2.5215069e+00 2.1485328e+00 3.1102248e+00 2.9517129e+00 2.5041493e+00 2.1435335e+00 2.3887866e+00 2.5633372e+00 2.1544995e+00 2.0467316e+00 1.0576043e+00 2.0528819e+00 1.5379283e+00 1.8096161e+00 2.8029161e+00 8.6012420e-01 2.4272793e+00 1.8028753e+00 2.3372930e+00 1.2144845e+00 1.2985682e+00 1.6312555e+00 1.0166932e+00 1.3073038e+00 1.4333755e+00 1.4843487e+00 2.9588514e+00 3.0950947e+00 9.7949166e-01 1.8647706e+00 9.3615100e-01 2.9181741e+00 9.3049742e-01 1.7594421e+00 2.1522124e+00 8.2342214e-01 8.7720955e-01 1.5965946e+00 1.9973159e+00 2.3235032e+00 2.8379387e+00 1.6211988e+00 1.0588560e+00 1.5076049e+00 2.5254157e+00 1.6945041e+00 1.4637418e+00 7.8197925e-01 1.6130724e+00 1.7539916e+00 1.5193574e+00 1.0576043e+00 1.9849009e+00 1.8691652e+00 1.4607586e+00 1.0375119e+00 1.2741904e+00 1.4947429e+00 1.0361698e+00 1.0621081e+00 8.3649708e-01 7.6590510e-01 4.0176783e-01 1.3455136e+00 1.8827665e+00 1.1093572e+00 9.5676647e-01 9.0852141e-01 9.4309624e-01 8.9852394e-01 6.8076724e-01 1.2002762e+00 9.7825559e-01 7.0479928e-01 7.8197925e-01 1.4637418e+00 1.5390703e+00 1.4628493e+00 6.2538346e-01 1.2208301e+00 1.4754770e+00 1.2162549e+00 5.2574978e-01 1.0104465e+00 1.2832075e+00 1.1810170e+00 6.1947990e-01 1.1242402e+00 1.1718516e+00 1.6295015e+00 5.8914551e-01 1.2063335e+00 1.1879206e+00 1.4041085e+00 4.0293660e-01 7.7074935e-01 1.2709820e+00 7.7869083e-01 5.0592043e-01 9.7441804e-01 1.0621081e+00 5.0991930e-01 4.4417983e-01 8.3888121e-01 1.1770266e+00 8.6361309e-01 6.0670504e-01 1.0324775e+00 1.3844611e+00 6.2660376e-01 8.8695363e-01 2.0692197e+00 9.7441804e-01 1.6995747e+00 1.0122141e+00 1.6372749e+00 7.6752131e-01 6.0551856e-01 1.0244319e+00 2.1845981e-01 5.0090417e-01 7.2852070e-01 7.4777660e-01 2.2645802e+00 2.3019759e+00 5.7324170e-01 1.1833351e+00 2.5651975e-01 2.1907335e+00 5.0905001e-01 1.0330459e+00 1.5124582e+00 4.4651726e-01 3.8934542e-01 6.9369532e-01 1.4517959e+00 1.7036156e+00 2.3021295e+00 7.0429250e-01 5.6700421e-01 6.3977563e-01 1.9782093e+00 8.7229670e-01 6.8801986e-01 3.8934542e-01 1.1199472e+00 9.9519977e-01 1.1263042e+00 0.0000000e+00 1.1697902e+00 1.0851476e+00 9.2859317e-01 5.0905001e-01 7.1504098e-01 7.7763126e-01 3.0546431e-01 8.2135873e-01 6.0121055e-01 7.6716823e-01 2.3579605e+00 4.5581864e-01 5.8914551e-01 6.5223271e-01 8.9095811e-01 8.2552685e-01 4.4417983e-01 1.5124582e+00 1.3844611e+00 8.1810461e-01 6.6384020e-01 1.0516761e+00 1.0733200e+00 1.3725949e+00 3.0844217e-01 1.6183051e+00 8.9095811e-01 1.1426203e+00 4.5470518e-01 3.2816937e-01 1.2604558e+00 1.2459608e+00 7.1799256e-01 5.0180477e-01 3.6171588e-01 1.0269295e+00 7.1840099e-01 1.0531192e+00 1.1093572e+00 6.1092863e-01 8.4591037e-01 7.4777660e-01 1.3693737e+00 5.0905001e-01 4.8135521e-01 8.0619006e-01 1.3844611e+00 3.4378533e-01 5.3309112e-01 7.3813096e-01 1.0901359e+00 8.1273630e-01 9.6141901e-01 1.2978356e+00 4.2667565e-01 1.4573287e+00 1.5826638e+00 1.0904758e+00 5.0503591e-01 1.1258723e+00 5.4292906e-01 3.2816937e-01 5.3022554e-01 7.7869083e-01 7.5871717e-01 5.5492130e-01 2.1269358e-01 1.6596342e+00 1.6919202e+00 8.3280511e-01 7.0429250e-01 8.7202528e-01 1.5772389e+00 7.0394675e-01 5.2655962e-01 9.2836103e-01 8.0064372e-01 7.0437330e-01 3.0546431e-01 9.0478973e-01 1.1271488e+00 1.7235501e+00 4.0293660e-01 5.2942799e-01 4.5470518e-01 1.4317371e+00 6.8917100e-01 2.1269358e-01 8.1099042e-01 6.2988288e-01 6.5172743e-01 7.6166891e-01 6.2660376e-01 6.5648056e-01 7.6625946e-01 6.1947990e-01 6.4755655e-01 4.2667565e-01 6.2660376e-01 5.6700421e-01 1.2113327e+00 1.8396098e+00 8.7504951e-01 5.7257017e-01 8.3280511e-01 7.0784540e-01 5.5492130e-01 3.7427929e-01 1.0284501e+00 8.7420176e-01 5.0991930e-01 4.4417983e-01 1.4089719e+00 1.4387122e+00 1.1127329e+00 4.1586001e-01 1.1205013e+00 1.3344634e+00 9.3048953e-01 3.2816937e-01 7.4164639e-01 1.0244319e+00 9.3999899e-01 2.5651975e-01 8.1242502e-01 9.1858284e-01 1.4955532e+00 2.5251796e-01 8.7420176e-01 8.5335130e-01 1.2045536e+00 4.3691963e-01 4.4651726e-01 1.0480665e+00 4.9857388e-01 2.8507955e-01 7.3535471e-01 8.8695363e-01 3.2816937e-01 3.8934542e-01 6.0611244e-01 8.6361309e-01 6.0551856e-01 5.2655962e-01 8.3783744e-01 3.0351721e+00 4.2418962e-01 1.0941064e+00 7.5705927e-01 1.6559784e+00 1.5582387e+00 1.2112034e+00 2.1967372e+00 2.0692197e+00 1.5564198e+00 1.3693737e+00 8.0096515e-01 4.5581864e-01 2.0330276e+00 1.0137836e+00 2.3142399e+00 2.1845981e-01 1.9017011e+00 1.1228379e+00 6.6827038e-01 2.0223026e+00 1.9969203e+00 1.3792358e+00 8.7478495e-01 5.2371571e-01 8.1385214e-01 1.3793330e+00 1.7664528e+00 1.6569692e+00 5.0905001e-01 1.4644753e+00 1.4341959e+00 2.1204309e+00 1.2632199e+00 1.1880428e+00 1.5405106e+00 2.0692197e+00 9.4009473e-01 1.1355826e+00 1.4992973e+00 1.8311457e+00 1.5765737e+00 1.6311692e+00 1.9969203e+00 2.6670272e+00 1.9783833e+00 2.5784641e+00 1.6572339e+00 1.5613865e+00 1.9842916e+00 8.6110333e-01 1.0720678e+00 1.6180482e+00 1.7140774e+00 3.2123303e+00 3.2542669e+00 1.1332978e+00 2.1449779e+00 7.5976039e-01 3.1540626e+00 1.4088394e+00 1.9797139e+00 2.4825886e+00 1.3075101e+00 1.2330392e+00 1.6629594e+00 2.4148300e+00 2.6746409e+00 3.2573703e+00 1.6686069e+00 1.4322723e+00 1.4341959e+00 2.9471490e+00 1.6864366e+00 1.6385322e+00 1.1320702e+00 2.0632091e+00 1.9468380e+00 2.0389505e+00 9.7441804e-01 2.1303950e+00 2.0095672e+00 1.8517858e+00 1.4168607e+00 1.6483152e+00 1.5346983e+00 1.0866092e+00 7.2486328e-01 8.7202528e-01 1.2988558e+00 1.1847335e+00 8.6137722e-01 1.8265471e+00 1.7177705e+00 1.2107055e+00 9.9368623e-01 9.5866719e-01 7.3805807e-01 1.6506221e+00 7.3805807e-01 1.9449573e+00 5.0592043e-01 1.5350426e+00 7.8695083e-01 3.7427929e-01 1.6553809e+00 1.6249178e+00 1.0168833e+00 5.0991930e-01 2.1845981e-01 9.7270522e-01 1.0264409e+00 1.3817041e+00 1.2768639e+00 5.7324170e-01 1.1634384e+00 1.0611732e+00 1.7483574e+00 9.3048953e-01 9.0056222e-01 1.2340567e+00 1.6995747e+00 6.8076724e-01 9.1883539e-01 1.1718516e+00 1.4616896e+00 1.2125198e+00 1.2951888e+00 1.6249178e+00 1.2028939e+00 8.7420176e-01 5.3665999e-01 5.5492130e-01 1.1340084e+00 1.0720678e+00 8.3345577e-01 5.3588338e-01 1.5520745e+00 1.3258714e+00 9.5099818e-01 7.7074935e-01 1.2604558e+00 1.1891470e+00 9.2264612e-01 8.1099042e-01 7.7039952e-01 1.0389435e+00 1.0054794e+00 4.3456114e-01 6.2605182e-01 7.2823007e-01 1.5784191e+00 4.8927739e-01 7.5976039e-01 6.5223271e-01 1.0692258e+00 9.8985697e-01 6.3808075e-01 1.1178200e+00 6.6827038e-01 7.4855857e-01 8.6513410e-01 1.0122141e+00 7.6787403e-01 9.3615100e-01 7.5835500e-01 8.2654509e-01 6.9728513e-01 9.9519977e-01 9.7356960e-01 1.1306887e+00 1.2197188e+00 8.0353565e-01 1.7933375e+00 1.5916843e+00 1.0118409e+00 1.0089164e+00 7.0776547e-01 1.1591754e+00 1.8437762e+00 5.3309112e-01 1.8278913e+00 9.6838716e-01 1.4843324e+00 6.3735887e-01 7.3496673e-01 1.5570415e+00 1.5003972e+00 1.0421979e+00 9.7759114e-01 8.9070384e-01 7.8197925e-01 1.0329598e+00 1.4388174e+00 1.5204340e+00 6.9325418e-01 9.4309624e-01 1.0339865e+00 1.6134578e+00 8.0660588e-01 7.0523271e-01 1.0406064e+00 1.6372749e+00 5.1303949e-01 5.8851328e-01 1.0072663e+00 1.4951106e+00 1.0950112e+00 1.0934620e+00 1.5213929e+00 5.0991930e-01 4.5581864e-01 9.3615100e-01 7.6590510e-01 3.2586371e-01 4.2538717e-01 1.7942496e+00 1.9566981e+00 1.0636401e+00 6.6384020e-01 9.2264612e-01 1.7814077e+00 5.2371571e-01 6.0670504e-01 1.0120221e+00 4.8927739e-01 4.3691963e-01 5.6769031e-01 8.9366705e-01 1.1948578e+00 1.6982795e+00 5.7324170e-01 5.7257017e-01 8.3060013e-01 1.3824965e+00 5.7867728e-01 4.1586001e-01 5.4292906e-01 4.4651726e-01 5.7324170e-01 4.4535192e-01 7.6752131e-01 8.2105460e-01 6.9369532e-01 3.4583729e-01 7.0479928e-01 2.0656129e-01 4.3456114e-01 6.1092863e-01 4.6472023e-01 7.1840099e-01 6.9369532e-01 5.6631629e-01 3.2816937e-01 1.8058693e+00 1.8261179e+00 6.3735887e-01 7.0328431e-01 8.2684479e-01 1.6791597e+00 4.0293660e-01 6.6827038e-01 9.7377870e-01 5.0991930e-01 4.8135521e-01 3.2586371e-01 8.7021234e-01 1.1327825e+00 1.7839298e+00 3.7427929e-01 4.1586001e-01 5.5492130e-01 1.3916739e+00 7.7919451e-01 4.1449626e-01 5.8914551e-01 5.7324170e-01 6.0900723e-01 6.2407309e-01 6.0551856e-01 7.5705927e-01 7.8695083e-01 4.8135521e-01 3.2586371e-01 3.0811765e-01 7.3851529e-01 5.3665999e-01 1.1524979e+00 1.0244319e+00 4.3691963e-01 3.7255734e-01 1.4090646e+00 1.5060944e+00 1.0810263e+00 2.8507955e-01 1.2406194e+00 1.3336069e+00 7.1791510e-01 3.2586371e-01 5.9426792e-01 8.2552685e-01 8.2275389e-01 4.1449626e-01 5.8851328e-01 7.5196795e-01 1.3415658e+00 4.1586001e-01 7.2852070e-01 8.9159388e-01 9.7249562e-01 5.8914551e-01 4.4535192e-01 9.4352681e-01 1.4096146e-01 3.0811765e-01 4.1586001e-01 1.0244319e+00 4.2538717e-01 4.5581864e-01 3.2586371e-01 7.0869559e-01 3.7427929e-01 6.5223271e-01 9.2836103e-01 4.4651726e-01 8.8695363e-01 8.9971984e-01 2.4227359e+00 2.4243464e+00 5.5419992e-01 1.3235313e+00 3.0546431e-01 2.3149695e+00 6.1151102e-01 1.2036484e+00 1.6520677e+00 5.4292906e-01 5.7324170e-01 8.2305664e-01 1.5788188e+00 1.8238348e+00 2.4554026e+00 8.2552685e-01 7.0429250e-01 7.7588000e-01 2.0959492e+00 1.0466623e+00 8.6513410e-01 5.4292906e-01 1.2497790e+00 1.1215059e+00 1.2436109e+00 2.1845981e-01 1.3165513e+00 1.2256881e+00 1.0406064e+00 6.0060595e-01 8.5434758e-01 9.6664346e-01 5.1691876e-01 6.5223271e-01 8.4050231e-01 2.2451458e+00 2.2996030e+00 9.7270522e-01 1.1594648e+00 4.2538717e-01 2.1936248e+00 6.9369532e-01 1.0119857e+00 1.5297036e+00 6.6384020e-01 6.2988288e-01 7.0386584e-01 1.5113992e+00 1.7140171e+00 2.2868482e+00 6.9325418e-01 9.4080461e-01 1.0406064e+00 1.9734538e+00 7.5835500e-01 7.8695083e-01 6.2988288e-01 1.1158787e+00 9.4832302e-01 1.1055069e+00 5.0090417e-01 1.1452867e+00 1.0056742e+00 9.0277242e-01 6.3977563e-01 7.3851529e-01 6.6432544e-01 6.0611244e-01 5.1691876e-01 1.6983410e+00 1.8377590e+00 1.1500393e+00 5.6631629e-01 8.6012420e-01 1.6864433e+00 6.6539428e-01 4.5581864e-01 9.7356960e-01 6.6932542e-01 5.9426792e-01 4.5470518e-01 9.7548738e-01 1.1573546e+00 1.6772907e+00 4.4535192e-01 8.2929029e-01 9.8450810e-01 1.3812107e+00 3.2816937e-01 5.0905001e-01 6.6932542e-01 5.0991930e-01 3.7598397e-01 5.0905001e-01 7.2852070e-01 6.4704320e-01 4.5581864e-01 3.2586371e-01 7.4777660e-01 3.2816937e-01 2.5251796e-01 6.3108414e-01 1.5573817e+00 1.6420607e+00 9.0575661e-01 5.7867728e-01 9.7441804e-01 1.4917344e+00 6.2482915e-01 4.0176783e-01 7.7039952e-01 7.1799256e-01 6.4704320e-01 3.2816937e-01 7.1799256e-01 9.7270522e-01 1.5593809e+00 4.1586001e-01 4.6472023e-01 5.6454040e-01 1.2601890e+00 6.5223271e-01 1.2418578e-01 7.6716823e-01 4.4651726e-01 6.0670504e-01 6.1947990e-01 7.4777660e-01 5.9426792e-01 7.2172678e-01 5.3588338e-01 6.2660376e-01 3.2352160e-01 5.8914551e-01 6.4704320e-01 1.2013436e+00 2.3665136e+00 1.1771643e+00 2.4806944e+00 1.0018083e+00 2.1098467e+00 1.2627078e+00 8.8503502e-01 2.2024869e+00 2.1511385e+00 1.6189643e+00 1.1368070e+00 1.0688498e+00 3.4378533e-01 1.6188960e+00 1.9698860e+00 1.9254808e+00 8.8861541e-01 1.5832517e+00 1.5978297e+00 2.2712062e+00 1.4277162e+00 1.3610783e+00 1.6849072e+00 2.2645802e+00 1.1106525e+00 1.2665468e+00 1.6689743e+00 2.0995265e+00 1.7457596e+00 1.7532140e+00 2.1511385e+00 2.2712062e+00 1.3276804e+00 2.5485519e+00 3.4378533e-01 2.1870851e+00 1.4266198e+00 1.0379132e+00 2.3072128e+00 2.2736138e+00 1.6156775e+00 1.2095267e+00 8.3888121e-01 1.2277129e+00 1.6151153e+00 2.0528819e+00 1.8792214e+00 8.2624515e-01 1.7265353e+00 1.7004805e+00 2.3953564e+00 1.5733646e+00 1.4691764e+00 1.8497891e+00 2.3019759e+00 1.2238809e+00 1.4266198e+00 1.7962897e+00 2.1027465e+00 1.8635467e+00 1.9008621e+00 2.2439391e+00 1.3353353e+00 7.2526325e-01 2.1293320e+00 5.5492130e-01 1.2776560e+00 1.5193574e+00 6.2988288e-01 8.1130291e-01 8.6912228e-01 1.3752391e+00 1.6044563e+00 2.3474075e+00 9.1883539e-01 6.2024833e-01 6.4806901e-01 1.9000365e+00 1.3674559e+00 9.6664346e-01 8.1354181e-01 1.1751082e+00 1.2304904e+00 1.2256933e+00 5.7324170e-01 1.3628690e+00 1.4089364e+00 1.0866132e+00 4.8036801e-01 8.9971984e-01 1.3044654e+00 8.1130291e-01 1.3916739e+00 1.1500393e+00 9.6838716e-01 2.5251796e-01 5.5419992e-01 1.0573285e+00 1.0284501e+00 5.7324170e-01 7.1840099e-01 6.6317860e-01 1.1434428e+00 5.6769031e-01 9.7855477e-01 1.1106525e+00 8.2899253e-01 6.0670504e-01 6.2660376e-01 1.1449732e+00 3.2586371e-01 2.1845981e-01 6.0060595e-01 1.1833351e+00 2.0656129e-01 2.5251796e-01 5.1607523e-01 9.6324667e-01 5.9426792e-01 7.1799256e-01 1.0879524e+00 2.4372751e+00 7.0437330e-01 1.2331989e+00 1.7427900e+00 6.0611244e-01 5.1607523e-01 9.3615100e-01 1.6812503e+00 1.9411754e+00 2.5109747e+00 9.3801395e-01 7.7039952e-01 8.6513410e-01 2.2052183e+00 9.6324667e-01 8.9917007e-01 4.2667565e-01 1.3224963e+00 1.1912106e+00 1.3084046e+00 2.5651975e-01 1.3897316e+00 1.2541242e+00 1.1120775e+00 7.1504098e-01 9.1051084e-01 8.1521713e-01 3.6171588e-01 2.0209349e+00 1.2627078e+00 7.9878917e-01 2.1431239e+00 2.1198551e+00 1.5016009e+00 9.6141901e-01 6.2024833e-01 1.0083666e+00 1.5022608e+00 1.8803649e+00 1.7557336e+00 6.2482915e-01 1.6044563e+00 1.5582387e+00 2.2435182e+00 1.3836712e+00 1.3199714e+00 1.6568705e+00 2.1907335e+00 1.0796583e+00 1.2825987e+00 1.6205332e+00 1.9460721e+00 1.6995133e+00 1.7678302e+00 2.1198551e+00 9.1750357e-01 1.2756158e+00 1.4096146e-01 3.2352160e-01 7.1504098e-01 1.1242402e+00 1.4312787e+00 2.0223464e+00 7.3535471e-01 3.2586371e-01 7.3851529e-01 1.6386882e+00 9.4477932e-01 6.4755655e-01 3.7427929e-01 7.3805807e-01 8.6165877e-01 7.2852070e-01 5.0905001e-01 1.0922991e+00 1.0175773e+00 6.0900723e-01 2.1269358e-01 4.0176783e-01 8.2372435e-01 4.5470518e-01 5.5492130e-01 9.8495853e-01 9.0521488e-01 5.2942799e-01 6.3977563e-01 7.9878917e-01 1.2832075e+00 5.3022554e-01 8.3060013e-01 9.4500268e-01 1.0244319e+00 4.4651726e-01 4.0176783e-01 1.0230441e+00 3.4378533e-01 3.2586371e-01 6.1623531e-01 1.0330459e+00 2.5651975e-01 4.0000000e-01 5.3588338e-01 9.5676647e-01 5.3665999e-01 5.3665999e-01 9.0521488e-01 1.3865084e+00 1.3669552e+00 8.6012420e-01 2.8192292e-01 4.1586001e-01 8.4050231e-01 8.7383925e-01 1.1355826e+00 1.1712156e+00 6.2660376e-01 9.8985697e-01 8.5205778e-01 1.4909823e+00 6.3861009e-01 7.2526325e-01 9.4854455e-01 1.5124582e+00 5.6700421e-01 7.7919451e-01 8.9971984e-01 1.2483814e+00 9.4009473e-01 1.0879524e+00 1.4147273e+00 2.1269358e-01 8.1354181e-01 1.2441035e+00 1.5551238e+00 2.1137172e+00 8.2899253e-01 3.7427929e-01 8.2929029e-01 1.7587110e+00 9.6095130e-01 7.1799256e-01 2.4837156e-01 8.3280511e-01 9.3797093e-01 7.9016429e-01 4.4651726e-01 1.1833351e+00 1.0724413e+00 6.6932542e-01 3.2816937e-01 4.6472023e-01 8.0467258e-01 3.8776762e-01 7.3145860e-01 1.2564564e+00 1.5558094e+00 2.0983278e+00 7.5082357e-01 3.6171588e-01 7.6590510e-01 1.7862655e+00 8.4050231e-01 6.2024833e-01 1.2418578e-01 8.6137722e-01 8.9852394e-01 8.5462626e-01 3.8934542e-01 1.1192362e+00 1.0078327e+00 7.0386584e-01 5.0991930e-01 4.5470518e-01 6.6539428e-01 2.4837156e-01 8.5690100e-01 1.0344911e+00 1.6689743e+00 1.0000000e-01 6.8961791e-01 7.1799256e-01 1.3207609e+00 6.2024833e-01 3.7427929e-01 8.3888121e-01 5.3588338e-01 4.2288438e-01 6.4405773e-01 6.9369532e-01 5.3309112e-01 5.8914551e-01 4.6472023e-01 6.2538346e-01 4.1586001e-01 6.1623531e-01 6.4405773e-01 4.0176783e-01 1.0175773e+00 8.9303452e-01 1.0122141e+00 1.1161766e+00 7.7885297e-01 1.0755693e+00 8.1385214e-01 1.3792358e+00 5.8914551e-01 8.5462626e-01 8.7848692e-01 1.4517959e+00 7.3851529e-01 9.4854455e-01 8.6263408e-01 1.0941064e+00 8.3783744e-01 1.1172689e+00 1.3545005e+00 1.0391247e+00 1.0389435e+00 1.3163598e+00 1.3379696e+00 4.5470518e-01 1.1951875e+00 1.0632598e+00 1.6796759e+00 7.8197925e-01 8.3345577e-01 1.0540105e+00 1.7036156e+00 6.9167458e-01 8.8503502e-01 1.0279631e+00 1.3693737e+00 1.1192426e+00 1.3077572e+00 1.6183051e+00 1.6694974e+00 1.9094934e+00 1.9895190e+00 8.2384013e-01 1.6634400e+00 1.6218244e+00 2.2178691e+00 1.3008161e+00 1.3567326e+00 1.4994715e+00 2.3021295e+00 1.1763719e+00 1.3024224e+00 1.5535909e+00 2.0373882e+00 1.6756749e+00 1.7981158e+00 2.1739455e+00 7.6752131e-01 8.1354181e-01 1.3198846e+00 6.0611244e-01 4.4535192e-01 8.5335130e-01 5.3665999e-01 3.8776762e-01 6.3977563e-01 7.0429250e-01 5.2655962e-01 5.5492130e-01 4.5581864e-01 6.3861009e-01 4.2667565e-01 6.1151102e-01 6.6932542e-01 5.1691876e-01 1.5922648e+00 1.0054794e+00 4.8135521e-01 4.3456114e-01 7.6955924e-01 9.6664346e-01 8.9687438e-01 5.6700421e-01 1.0421979e+00 1.1001291e+00 8.2929029e-01 4.4535192e-01 5.1691876e-01 8.9712482e-01 4.5470518e-01 1.6914476e+00 1.1340084e+00 5.8914551e-01 8.5105559e-01 9.7548738e-01 1.0864449e+00 1.1160770e+00 6.3977563e-01 1.0720678e+00 1.2163831e+00 1.0047836e+00 6.9369532e-01 7.2343175e-01 1.0613462e+00 6.2407309e-01 1.4238090e+00 1.3511716e+00 1.9067300e+00 9.3824087e-01 1.0331736e+00 1.1327825e+00 1.9782093e+00 9.0454394e-01 1.0244319e+00 1.1833480e+00 1.5948732e+00 1.3360558e+00 1.5461469e+00 1.8900319e+00 6.2081167e-01 9.1750357e-01 6.4290921e-01 4.4417983e-01 7.0429250e-01 8.7229670e-01 5.3665999e-01 4.0438741e-01 5.6454040e-01 1.0054794e+00 5.7015910e-01 2.1269358e-01 7.5705927e-01 7.3496673e-01 5.2942799e-01 6.2024833e-01 6.6491075e-01 6.8801986e-01 6.1947990e-01 7.2172678e-01 5.5492130e-01 6.9006418e-01 3.2816937e-01 5.3665999e-01 5.6700421e-01 9.7779835e-01 1.0014633e+00 9.4854455e-01 3.8934542e-01 1.2342162e+00 1.1043332e+00 7.9580667e-01 5.3665999e-01 5.7257017e-01 7.2852070e-01 3.0275928e-01 3.4378533e-01 3.2352160e-01 1.1199472e+00 5.0991930e-01 4.6472023e-01 2.8507955e-01 7.7869083e-01 4.1586001e-01 7.1799256e-01 1.0132664e+00 5.0905001e-01 9.9519977e-01 3.0811765e-01 2.1269358e-01 4.0293660e-01 8.3060013e-01 5.0592043e-01 5.3665999e-01 9.3049742e-01 1.1263042e+00 8.0064372e-01 6.1623531e-01 2.1269358e-01 7.7588000e-01 4.4651726e-01 7.2783368e-01 1.0329901e+00 1.1697902e+00 1.0851476e+00 9.2859317e-01 5.0905001e-01 7.1504098e-01 7.7763126e-01 3.0546431e-01 2.5651975e-01 7.0437330e-01 1.0573285e+00 7.3145860e-01 6.9325418e-01 1.0901359e+00 5.3588338e-01 1.0175773e+00 6.4405773e-01 5.3665999e-01 1.0078327e+00 6.2407309e-01 3.2352160e-01 5.7257017e-01 8.5205778e-01 5.1691876e-01 9.4022486e-01 5.6769031e-01 4.8927739e-01 6.0611244e-01 6.0900723e-01 diff --git a/shared/package-files/37/3794e64ef1724f92b342ca07754ef1da753f1b529fe534d01759852be1c1c0c9/crypto.pyi b/shared/package-files/37/3794e64ef1724f92b342ca07754ef1da753f1b529fe534d01759852be1c1c0c9/crypto.pyi new file mode 100644 index 0000000000000000000000000000000000000000..9fcf399385d7ae24d4944ca84366ea4de9a54fc2 --- /dev/null +++ b/shared/package-files/37/3794e64ef1724f92b342ca07754ef1da753f1b529fe534d01759852be1c1c0c9/crypto.pyi @@ -0,0 +1,191 @@ +from datetime import datetime +from typing import Any, Callable, Iterable, List, Optional, Set, Text, Tuple, Union + +from cryptography.hazmat.primitives.asymmetric import dsa, rsa + +FILETYPE_PEM: int +FILETYPE_ASN1: int +FILETYPE_TEXT: int +TYPE_RSA: int +TYPE_DSA: int + +class Error(Exception): ... + +_Key = Union[rsa.RSAPublicKey, rsa.RSAPrivateKey, dsa.DSAPublicKey, dsa.DSAPrivateKey] + +class PKey: + def __init__(self) -> None: ... + def to_cryptography_key(self) -> _Key: ... + @classmethod + def from_cryptography_key(cls, crypto_key: _Key): ... + def generate_key(self, type: int, bits: int) -> None: ... + def check(self) -> bool: ... + def type(self) -> int: ... + def bits(self) -> int: ... + +class _EllipticCurve: + name: Text + +def get_elliptic_curves() -> Set[_EllipticCurve]: ... +def get_elliptic_curve(name: str) -> _EllipticCurve: ... + +class X509Name: + def __init__(self, name: X509Name) -> None: ... + countryName: Union[str, unicode] + stateOrProvinceName: Union[str, unicode] + localityName: Union[str, unicode] + organizationName: Union[str, unicode] + organizationalUnitName: Union[str, unicode] + commonName: Union[str, unicode] + emailAddress: Union[str, unicode] + C: Union[str, unicode] + ST: Union[str, unicode] + L: Union[str, unicode] + O: Union[str, unicode] + OU: Union[str, unicode] + CN: Union[str, unicode] + def hash(self) -> int: ... + def der(self) -> bytes: ... + def get_components(self) -> List[Tuple[str, str]]: ... + +class X509Extension: + def __init__( + self, type_name: bytes, critical: bool, value: bytes, subject: Optional[X509] = ..., issuer: Optional[X509] = ... + ) -> None: ... + def get_critical(self) -> bool: ... + def get_short_name(self) -> str: ... + def get_data(self) -> str: ... + +class X509Req: + def __init__(self) -> None: ... + def set_pubkey(self, pkey: PKey) -> None: ... + def get_pubkey(self) -> PKey: ... + def set_version(self, version: int) -> None: ... + def get_version(self) -> int: ... + def get_subject(self) -> X509Name: ... + def add_extensions(self, extensions: Iterable[X509Extension]) -> None: ... + def get_extensions(self) -> List[X509Extension]: ... + def sign(self, pkey: PKey, digest: str) -> None: ... + def verify(self, pkey: PKey) -> bool: ... + +class X509: + def __init__(self) -> None: ... + def set_version(self, version: int) -> None: ... + def get_version(self) -> int: ... + def get_pubkey(self) -> PKey: ... + def set_pubkey(self, pkey: PKey) -> None: ... + def sign(self, pkey: PKey, digest: str) -> None: ... + def get_signature_algorithm(self) -> str: ... + def digest(self, digest_name: str) -> str: ... + def subject_name_hash(self) -> str: ... + def set_serial_number(self, serial: int) -> None: ... + def get_serial_number(self) -> int: ... + def gmtime_adj_notAfter(self, amount: int) -> None: ... + def gmtime_adj_notBefore(self, amount: int) -> None: ... + def has_expired(self) -> bool: ... + def get_notBefore(self) -> str: ... + def set_notBefore(self, when: str) -> None: ... + def get_notAfter(self) -> str: ... + def set_notAfter(self, when: str) -> None: ... + def get_issuer(self) -> X509Name: ... + def set_issuer(self, issuer: X509Name) -> None: ... + def get_subject(self) -> X509Name: ... + def set_subject(self, subject: X509Name) -> None: ... + def get_extension_count(self) -> int: ... + def add_extensions(self, extensions: Iterable[X509Extension]) -> None: ... + def get_extension(self, index: int) -> X509Extension: ... + +class X509StoreFlags: + CRL_CHECK: int + CRL_CHECK_ALL: int + IGNORE_CRITICAL: int + X509_STRICT: int + ALLOW_PROXY_CERTS: int + POLICY_CHECK: int + EXPLICIT_POLICY: int + INHIBIT_MAP: int + NOTIFY_POLICY: int + CHECK_SS_SIGNATURE: int + CB_ISSUER_CHECK: int + +class X509Store: + def __init__(self) -> None: ... + def add_cert(self, cert: X509) -> None: ... + def add_crl(self, crl: CRL) -> None: ... + def set_flags(self, flags: int) -> None: ... + def set_time(self, vfy_time: datetime) -> None: ... + +class X509StoreContextError(Exception): + certificate: X509 + def __init__(self, message: str, certificate: X509) -> None: ... + +class X509StoreContext: + def __init__(self, store: X509Store, certificate: X509) -> None: ... + def set_store(self, store: X509Store) -> None: ... + def verify_certificate(self) -> None: ... + +def load_certificate(type: int, buffer: Union[str, unicode]) -> X509: ... +def dump_certificate(type: int, cert: X509) -> bytes: ... +def dump_publickey(type: int, pkey: PKey) -> bytes: ... +def dump_privatekey( + type: int, pkey: PKey, cipher: Optional[str] = ..., passphrase: Optional[Union[str, Callable[[int], int]]] = ... +) -> bytes: ... + +class Revoked: + def __init__(self) -> None: ... + def set_serial(self, hex_str: str) -> None: ... + def get_serial(self) -> str: ... + def set_reason(self, reason: str) -> None: ... + def get_reason(self) -> str: ... + def all_reasons(self) -> List[str]: ... + def set_rev_date(self, when: str) -> None: ... + def get_rev_date(self) -> str: ... + +class CRL: + def __init__(self) -> None: ... + def get_revoked(self) -> Tuple[Revoked, ...]: ... + def add_revoked(self, revoked: Revoked) -> None: ... + def get_issuer(self) -> X509Name: ... + def set_version(self, version: int) -> None: ... + def set_lastUpdate(self, when: str) -> None: ... + def set_nextUpdate(self, when: str) -> None: ... + def sign(self, issuer_cert: X509, issuer_key: PKey, digest: str) -> None: ... + def export(self, cert: X509, key: PKey, type: int = ..., days: int = ..., digest: str = ...) -> bytes: ... + +class PKCS7: + def type_is_signed(self) -> bool: ... + def type_is_enveloped(self) -> bool: ... + def type_is_signedAndEnveloped(self) -> bool: ... + def type_is_data(self) -> bool: ... + def get_type_name(self) -> str: ... + +class PKCS12: + def __init__(self) -> None: ... + def get_certificate(self) -> X509: ... + def set_certificate(self, cert: X509) -> None: ... + def get_privatekey(self) -> PKey: ... + def set_privatekey(self, pkey: PKey) -> None: ... + def get_ca_certificates(self) -> Tuple[X509, ...]: ... + def set_ca_certificates(self, cacerts: Iterable[X509]) -> None: ... + def set_friendlyname(self, name: bytes) -> None: ... + def get_friendlyname(self) -> bytes: ... + def export(self, passphrase: Optional[str] = ..., iter: int = ..., maciter: int = ...): ... + +class NetscapeSPKI: + def __init__(self) -> None: ... + def sign(self, pkey: PKey, digest: str) -> None: ... + def verify(self, key: PKey) -> bool: ... + def b64_encode(self) -> str: ... + def get_pubkey(self) -> PKey: ... + def set_pubkey(self, pkey: PKey) -> None: ... + +def load_publickey(type: int, buffer: Union[str, unicode]) -> PKey: ... +def load_privatekey(type: int, buffer: bytes, passphrase: Optional[Union[str, Callable[[int], int]]] = ...): ... +def dump_certificate_request(type: int, req: X509Req): ... +def load_certificate_request(type, buffer: Union[str, unicode]) -> X509Req: ... +def sign(pkey: PKey, data: Union[str, unicode], digest: str) -> bytes: ... +def verify(cert: X509, signature: bytes, data: Union[str, unicode], digest: str) -> None: ... +def dump_crl(type: int, crl: CRL) -> bytes: ... +def load_crl(type: int, buffer: Union[str, unicode]) -> CRL: ... +def load_pkcs7_data(type: int, buffer: Union[str, unicode]) -> PKCS7: ... +def load_pkcs12(buffer: Union[str, unicode], passphrase: Optional[Union[str, Callable[[int], int]]] = ...) -> PKCS12: ... diff --git a/shared/package-files/37/379579c2fe932cc017db7845bf1dc3fb2fb810d7eea465c0294470e250e2ecb3/main_notices.py b/shared/package-files/37/379579c2fe932cc017db7845bf1dc3fb2fb810d7eea465c0294470e250e2ecb3/main_notices.py new file mode 100644 index 0000000000000000000000000000000000000000..75856c4c5d4be0b16eda0790045aec6f387d1e45 --- /dev/null +++ b/shared/package-files/37/379579c2fe932cc017db7845bf1dc3fb2fb810d7eea465c0294470e250e2ecb3/main_notices.py @@ -0,0 +1,16 @@ +# Copyright (C) 2012 Anaconda, Inc +# SPDX-License-Identifier: BSD-3-Clause +from argparse import ArgumentParser, Namespace + +from ..exceptions import CondaError +from ..notices import core as notices + + +def execute(args: Namespace, _: ArgumentParser): + """Command that retrieves channel notifications, caches them and displays them.""" + try: + channel_notice_set = notices.retrieve_notices() + except OSError as exc: + raise CondaError(f"Unable to retrieve notices: {exc}") + + notices.display_notices(channel_notice_set) diff --git a/shared/package-files/37/3795a060dea7d621320d6d841deb37591fadf7f5592c5cb2286f9867af0e91df/Activate.ps1 b/shared/package-files/37/3795a060dea7d621320d6d841deb37591fadf7f5592c5cb2286f9867af0e91df/Activate.ps1 new file mode 100644 index 0000000000000000000000000000000000000000..b49d77ba44b24fe6d69f6bbe75139b3b5dc23075 --- /dev/null +++ b/shared/package-files/37/3795a060dea7d621320d6d841deb37591fadf7f5592c5cb2286f9867af0e91df/Activate.ps1 @@ -0,0 +1,247 @@ +<# +.Synopsis +Activate a Python virtual environment for the current PowerShell session. + +.Description +Pushes the python executable for a virtual environment to the front of the +$Env:PATH environment variable and sets the prompt to signify that you are +in a Python virtual environment. Makes use of the command line switches as +well as the `pyvenv.cfg` file values present in the virtual environment. + +.Parameter VenvDir +Path to the directory that contains the virtual environment to activate. The +default value for this is the parent of the directory that the Activate.ps1 +script is located within. + +.Parameter Prompt +The prompt prefix to display when this virtual environment is activated. By +default, this prompt is the name of the virtual environment folder (VenvDir) +surrounded by parentheses and followed by a single space (ie. '(.venv) '). + +.Example +Activate.ps1 +Activates the Python virtual environment that contains the Activate.ps1 script. + +.Example +Activate.ps1 -Verbose +Activates the Python virtual environment that contains the Activate.ps1 script, +and shows extra information about the activation as it executes. + +.Example +Activate.ps1 -VenvDir C:\Users\MyUser\Common\.venv +Activates the Python virtual environment located in the specified location. + +.Example +Activate.ps1 -Prompt "MyPython" +Activates the Python virtual environment that contains the Activate.ps1 script, +and prefixes the current prompt with the specified string (surrounded in +parentheses) while the virtual environment is active. + +.Notes +On Windows, it may be required to enable this Activate.ps1 script by setting the +execution policy for the user. You can do this by issuing the following PowerShell +command: + +PS C:\> Set-ExecutionPolicy -ExecutionPolicy RemoteSigned -Scope CurrentUser + +For more information on Execution Policies: +https://go.microsoft.com/fwlink/?LinkID=135170 + +#> +Param( + [Parameter(Mandatory = $false)] + [String] + $VenvDir, + [Parameter(Mandatory = $false)] + [String] + $Prompt +) + +<# Function declarations --------------------------------------------------- #> + +<# +.Synopsis +Remove all shell session elements added by the Activate script, including the +addition of the virtual environment's Python executable from the beginning of +the PATH variable. + +.Parameter NonDestructive +If present, do not remove this function from the global namespace for the +session. + +#> +function global:deactivate ([switch]$NonDestructive) { + # Revert to original values + + # The prior prompt: + if (Test-Path -Path Function:_OLD_VIRTUAL_PROMPT) { + Copy-Item -Path Function:_OLD_VIRTUAL_PROMPT -Destination Function:prompt + Remove-Item -Path Function:_OLD_VIRTUAL_PROMPT + } + + # The prior PYTHONHOME: + if (Test-Path -Path Env:_OLD_VIRTUAL_PYTHONHOME) { + Copy-Item -Path Env:_OLD_VIRTUAL_PYTHONHOME -Destination Env:PYTHONHOME + Remove-Item -Path Env:_OLD_VIRTUAL_PYTHONHOME + } + + # The prior PATH: + if (Test-Path -Path Env:_OLD_VIRTUAL_PATH) { + Copy-Item -Path Env:_OLD_VIRTUAL_PATH -Destination Env:PATH + Remove-Item -Path Env:_OLD_VIRTUAL_PATH + } + + # Just remove the VIRTUAL_ENV altogether: + if (Test-Path -Path Env:VIRTUAL_ENV) { + Remove-Item -Path env:VIRTUAL_ENV + } + + # Just remove VIRTUAL_ENV_PROMPT altogether. + if (Test-Path -Path Env:VIRTUAL_ENV_PROMPT) { + Remove-Item -Path env:VIRTUAL_ENV_PROMPT + } + + # Just remove the _PYTHON_VENV_PROMPT_PREFIX altogether: + if (Get-Variable -Name "_PYTHON_VENV_PROMPT_PREFIX" -ErrorAction SilentlyContinue) { + Remove-Variable -Name _PYTHON_VENV_PROMPT_PREFIX -Scope Global -Force + } + + # Leave deactivate function in the global namespace if requested: + if (-not $NonDestructive) { + Remove-Item -Path function:deactivate + } +} + +<# +.Description +Get-PyVenvConfig parses the values from the pyvenv.cfg file located in the +given folder, and returns them in a map. + +For each line in the pyvenv.cfg file, if that line can be parsed into exactly +two strings separated by `=` (with any amount of whitespace surrounding the =) +then it is considered a `key = value` line. The left hand string is the key, +the right hand is the value. + +If the value starts with a `'` or a `"` then the first and last character is +stripped from the value before being captured. + +.Parameter ConfigDir +Path to the directory that contains the `pyvenv.cfg` file. +#> +function Get-PyVenvConfig( + [String] + $ConfigDir +) { + Write-Verbose "Given ConfigDir=$ConfigDir, obtain values in pyvenv.cfg" + + # Ensure the file exists, and issue a warning if it doesn't (but still allow the function to continue). + $pyvenvConfigPath = Join-Path -Resolve -Path $ConfigDir -ChildPath 'pyvenv.cfg' -ErrorAction Continue + + # An empty map will be returned if no config file is found. + $pyvenvConfig = @{ } + + if ($pyvenvConfigPath) { + + Write-Verbose "File exists, parse `key = value` lines" + $pyvenvConfigContent = Get-Content -Path $pyvenvConfigPath + + $pyvenvConfigContent | ForEach-Object { + $keyval = $PSItem -split "\s*=\s*", 2 + if ($keyval[0] -and $keyval[1]) { + $val = $keyval[1] + + # Remove extraneous quotations around a string value. + if ("'""".Contains($val.Substring(0, 1))) { + $val = $val.Substring(1, $val.Length - 2) + } + + $pyvenvConfig[$keyval[0]] = $val + Write-Verbose "Adding Key: '$($keyval[0])'='$val'" + } + } + } + return $pyvenvConfig +} + + +<# Begin Activate script --------------------------------------------------- #> + +# Determine the containing directory of this script +$VenvExecPath = Split-Path -Parent $MyInvocation.MyCommand.Definition +$VenvExecDir = Get-Item -Path $VenvExecPath + +Write-Verbose "Activation script is located in path: '$VenvExecPath'" +Write-Verbose "VenvExecDir Fullname: '$($VenvExecDir.FullName)" +Write-Verbose "VenvExecDir Name: '$($VenvExecDir.Name)" + +# Set values required in priority: CmdLine, ConfigFile, Default +# First, get the location of the virtual environment, it might not be +# VenvExecDir if specified on the command line. +if ($VenvDir) { + Write-Verbose "VenvDir given as parameter, using '$VenvDir' to determine values" +} +else { + Write-Verbose "VenvDir not given as a parameter, using parent directory name as VenvDir." + $VenvDir = $VenvExecDir.Parent.FullName.TrimEnd("\\/") + Write-Verbose "VenvDir=$VenvDir" +} + +# Next, read the `pyvenv.cfg` file to determine any required value such +# as `prompt`. +$pyvenvCfg = Get-PyVenvConfig -ConfigDir $VenvDir + +# Next, set the prompt from the command line, or the config file, or +# just use the name of the virtual environment folder. +if ($Prompt) { + Write-Verbose "Prompt specified as argument, using '$Prompt'" +} +else { + Write-Verbose "Prompt not specified as argument to script, checking pyvenv.cfg value" + if ($pyvenvCfg -and $pyvenvCfg['prompt']) { + Write-Verbose " Setting based on value in pyvenv.cfg='$($pyvenvCfg['prompt'])'" + $Prompt = $pyvenvCfg['prompt']; + } + else { + Write-Verbose " Setting prompt based on parent's directory's name. (Is the directory name passed to venv module when creating the virtual environment)" + Write-Verbose " Got leaf-name of $VenvDir='$(Split-Path -Path $venvDir -Leaf)'" + $Prompt = Split-Path -Path $venvDir -Leaf + } +} + +Write-Verbose "Prompt = '$Prompt'" +Write-Verbose "VenvDir='$VenvDir'" + +# Deactivate any currently active virtual environment, but leave the +# deactivate function in place. +deactivate -nondestructive + +# Now set the environment variable VIRTUAL_ENV, used by many tools to determine +# that there is an activated venv. +$env:VIRTUAL_ENV = $VenvDir + +if (-not $Env:VIRTUAL_ENV_DISABLE_PROMPT) { + + Write-Verbose "Setting prompt to '$Prompt'" + + # Set the prompt to include the env name + # Make sure _OLD_VIRTUAL_PROMPT is global + function global:_OLD_VIRTUAL_PROMPT { "" } + Copy-Item -Path function:prompt -Destination function:_OLD_VIRTUAL_PROMPT + New-Variable -Name _PYTHON_VENV_PROMPT_PREFIX -Description "Python virtual environment prompt prefix" -Scope Global -Option ReadOnly -Visibility Public -Value $Prompt + + function global:prompt { + Write-Host -NoNewline -ForegroundColor Green "($_PYTHON_VENV_PROMPT_PREFIX) " + _OLD_VIRTUAL_PROMPT + } + $env:VIRTUAL_ENV_PROMPT = $Prompt +} + +# Clear PYTHONHOME +if (Test-Path -Path Env:PYTHONHOME) { + Copy-Item -Path Env:PYTHONHOME -Destination Env:_OLD_VIRTUAL_PYTHONHOME + Remove-Item -Path Env:PYTHONHOME +} + +# Add the venv to the PATH +Copy-Item -Path Env:PATH -Destination Env:_OLD_VIRTUAL_PATH +$Env:PATH = "$VenvExecDir$([System.IO.Path]::PathSeparator)$Env:PATH" diff --git a/shared/package-files/37/379655d6ddebef416c18fb06b664d2c211b8a2a32180419fbe987c61106a84bd/SpmmReduceKernel.h b/shared/package-files/37/379655d6ddebef416c18fb06b664d2c211b8a2a32180419fbe987c61106a84bd/SpmmReduceKernel.h new file mode 100644 index 0000000000000000000000000000000000000000..cbcbf3c63d9984ab4d8727f06e50dede5d840fb8 --- /dev/null +++ b/shared/package-files/37/379655d6ddebef416c18fb06b664d2c211b8a2a32180419fbe987c61106a84bd/SpmmReduceKernel.h @@ -0,0 +1,22 @@ +#pragma once + +#include +#include +#include + +namespace at::native { + +using spmm_reduce_fn = void(*)(const Tensor&, const Tensor&, const Tensor&, const Tensor&, const Tensor&, ReductionType op); +using spmm_reduce_arg_fn = void(*)(const Tensor&, const Tensor&, const Tensor&, const Tensor&, const Tensor&, const Tensor&, ReductionType op); +using spmm_reduce_backward_input_fn = void(*)(const Tensor&, const Tensor&, const Tensor&, const Tensor&, const Tensor&, const Tensor&, ReductionType op); +using spmm_reduce_backward_input_arg_fn = void(*)(const Tensor&, const Tensor&, const Tensor&, const Tensor&, const Tensor&, ReductionType op); +using spmm_reduce_backward_other_fn = void(*)(const Tensor&, const Tensor&, const Tensor&, const Tensor&, const Tensor&, const Tensor&, const Tensor&, ReductionType op); + +DECLARE_DISPATCH(spmm_reduce_fn, spmm_reduce_stub); +DECLARE_DISPATCH(spmm_reduce_arg_fn, spmm_reduce_arg_stub); +DECLARE_DISPATCH(spmm_reduce_backward_input_fn, spmm_reduce_backward_input_stub); +DECLARE_DISPATCH(spmm_reduce_backward_input_arg_fn, spmm_reduce_backward_input_arg_stub); +DECLARE_DISPATCH(spmm_reduce_backward_other_fn, spmm_reduce_backward_other_stub); +DECLARE_DISPATCH(spmm_reduce_backward_input_arg_fn, spmm_reduce_backward_other_arg_stub); + +} // at::native diff --git a/shared/package-files/37/37970e65f82f5d67848371cb7be56e95bab7ec19c4068377b4fd5612f7ad91f9/exceptions.py b/shared/package-files/37/37970e65f82f5d67848371cb7be56e95bab7ec19c4068377b4fd5612f7ad91f9/exceptions.py new file mode 100644 index 0000000000000000000000000000000000000000..f38706786a8c4d77094361d10e09b4a9b30e0022 --- /dev/null +++ b/shared/package-files/37/37970e65f82f5d67848371cb7be56e95bab7ec19c4068377b4fd5612f7ad91f9/exceptions.py @@ -0,0 +1,128 @@ +# Copyright (C) 2014 Anaconda, Inc +# SPDX-License-Identifier: BSD-3-Clause +import textwrap + +SEPARATOR = "-" * 70 + +indent = lambda s: textwrap.fill(textwrap.dedent(s)) + + +class CondaBuildException(Exception): + pass + + +class YamlParsingError(CondaBuildException): + pass + + +class UnableToParse(YamlParsingError): + def __init__(self, original, *args, **kwargs): + super().__init__(*args, **kwargs) + self.original = original + + def error_msg(self): + return "\n".join( + [ + SEPARATOR, + self.error_body(), + self.indented_exception(), + ] + ) + + def error_body(self): + return "\n".join( + [ + "Unable to parse meta.yaml file\n", + ] + ) + + def indented_exception(self): + orig = str(self.original) + indent = lambda s: s.replace("\n", "\n--> ") + return f"Error Message:\n--> {indent(orig)}\n\n" + + +class UnableToParseMissingJinja2(UnableToParse): + def error_body(self): + return "\n".join( + [ + super().error_body(), + indent( + """\ + It appears you are missing jinja2. Please install that + package, then attempt to build. + """ + ), + ] + ) + + +class MissingDependency(CondaBuildException): + pass + + +class VerifyError(CondaBuildException): + def __init__(self, error, script, *args): + self.error = error + self.script = script + self.msg = f"{script} failed to verify\n{error}" + super().__init__(self.msg) + + +class DependencyNeedsBuildingError(CondaBuildException): + def __init__( + self, conda_exception=None, packages=None, subdir=None, *args, **kwargs + ): + self.subdir = subdir + self.matchspecs = [] + if packages: + self.packages = packages + else: + self.packages = packages or [] + for line in str(conda_exception).splitlines(): + if not line.startswith(" - ") and (":" in line or " -> " not in line): + continue + pkg = line.lstrip(" - ").split(" -> ")[-1] + self.matchspecs.append(pkg) + pkg = pkg.strip().split(" ")[0].split("=")[0].split("[")[0] + self.packages.append(pkg) + if not self.packages: + raise RuntimeError( + f"failed to parse packages from exception: {conda_exception}" + ) + + def __str__(self): + return self.message + + @property + def message(self): + return f"Unsatisfiable dependencies for platform {self.subdir}: {set(self.matchspecs)}" + + +class RecipeError(CondaBuildException): + pass + + +class BuildLockError(CondaBuildException): + """Raised when we failed to acquire a lock.""" + + +class OverLinkingError(RuntimeError): + def __init__(self, error, *args): + self.error = error + self.msg = "overlinking check failed \n%s" % (error) + super().__init__(self.msg) + + +class OverDependingError(RuntimeError): + def __init__(self, error, *args): + self.error = error + self.msg = "overdepending check failed \n%s" % (error) + super().__init__(self.msg) + + +class RunPathError(RuntimeError): + def __init__(self, error, *args): + self.error = error + self.msg = "runpaths check failed \n%s" % (error) + super().__init__(self.msg) diff --git a/shared/package-files/37/3797ae90eed16c953be86e82c0bb2c036bcd21d43fbfaddf797086538938853d/index_copy_meta.h b/shared/package-files/37/3797ae90eed16c953be86e82c0bb2c036bcd21d43fbfaddf797086538938853d/index_copy_meta.h new file mode 100644 index 0000000000000000000000000000000000000000..d5e3f18a2b5f64b63dc3f2b238d883fb22859d82 --- /dev/null +++ b/shared/package-files/37/3797ae90eed16c953be86e82c0bb2c036bcd21d43fbfaddf797086538938853d/index_copy_meta.h @@ -0,0 +1,39 @@ +#pragma once + +// @generated by torchgen/gen.py from NativeMetaFunction.h + +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include + +namespace at { +namespace meta { + +struct TORCH_API structured_index_copy : public at::impl::MetaBase { + + template + struct TORCH_API precompute_out { + + precompute_out set_dim(int64_t value) { + static_assert(DIM == false, "dim already set"); + precompute_out ret; +ret.dim = value; +return ret; + } + + int64_t dim; + }; + using meta_return_ty = precompute_out ; + meta_return_ty meta(const at::Tensor & self, int64_t dim, const at::Tensor & index, const at::Tensor & source); +}; + +} // namespace native +} // namespace at diff --git a/shared/package-files/37/379899a605eed10eda364ce73ad1060b6f0f3815492a78a218c80c0c0d8cfc93/test_nonlin.py b/shared/package-files/37/379899a605eed10eda364ce73ad1060b6f0f3815492a78a218c80c0c0d8cfc93/test_nonlin.py new file mode 100644 index 0000000000000000000000000000000000000000..e5eb094c15902eca6e089ba3bbf6dfd8eb06970e --- /dev/null +++ b/shared/package-files/37/379899a605eed10eda364ce73ad1060b6f0f3815492a78a218c80c0c0d8cfc93/test_nonlin.py @@ -0,0 +1,536 @@ +""" Unit tests for nonlinear solvers +Author: Ondrej Certik +May 2007 +""" +from numpy.testing import assert_ +import pytest +from functools import partial + +from scipy.optimize import _nonlin as nonlin, root +from scipy.sparse import csr_array +from numpy import diag, dot +from numpy.linalg import inv +import numpy as np +import scipy + +from .test_minpack import pressure_network + +SOLVERS = {'anderson': nonlin.anderson, + 'diagbroyden': nonlin.diagbroyden, + 'linearmixing': nonlin.linearmixing, + 'excitingmixing': nonlin.excitingmixing, + 'broyden1': nonlin.broyden1, + 'broyden2': nonlin.broyden2, + 'krylov': nonlin.newton_krylov} +MUST_WORK = {'anderson': nonlin.anderson, 'broyden1': nonlin.broyden1, + 'broyden2': nonlin.broyden2, 'krylov': nonlin.newton_krylov} + +# ---------------------------------------------------------------------------- +# Test problems +# ---------------------------------------------------------------------------- + + +def F(x): + x = np.asarray(x).T + d = diag([3, 2, 1.5, 1, 0.5]) + c = 0.01 + f = -d @ x - c * float(x.T @ x) * x + return f + + +F.xin = [1, 1, 1, 1, 1] +F.KNOWN_BAD = {} +F.JAC_KSP_BAD = {} +F.ROOT_JAC_KSP_BAD = {} + + +def F2(x): + return x + + +F2.xin = [1, 2, 3, 4, 5, 6] +F2.KNOWN_BAD = {'linearmixing': nonlin.linearmixing, + 'excitingmixing': nonlin.excitingmixing} +F2.JAC_KSP_BAD = {} +F2.ROOT_JAC_KSP_BAD = {} + + +def F2_lucky(x): + return x + + +F2_lucky.xin = [0, 0, 0, 0, 0, 0] +F2_lucky.KNOWN_BAD = {} +F2_lucky.JAC_KSP_BAD = {} +F2_lucky.ROOT_JAC_KSP_BAD = {} + + +def F3(x): + A = np.array([[-2, 1, 0.], [1, -2, 1], [0, 1, -2]]) + b = np.array([1, 2, 3.]) + return A @ x - b + + +F3.xin = [1, 2, 3] +F3.KNOWN_BAD = {} +F3.JAC_KSP_BAD = {} +F3.ROOT_JAC_KSP_BAD = {} + + +def F4_powell(x): + A = 1e4 + return [A*x[0]*x[1] - 1, np.exp(-x[0]) + np.exp(-x[1]) - (1 + 1/A)] + + +F4_powell.xin = [-1, -2] +F4_powell.KNOWN_BAD = {'linearmixing': nonlin.linearmixing, + 'excitingmixing': nonlin.excitingmixing, + 'diagbroyden': nonlin.diagbroyden} +# In the extreme case, it does not converge for nolinear problem solved by +# MINRES and root problem solved by GMRES/BiCGStab/CGS/MINRES/TFQMR when using +# Krylov method to approximate Jacobian +F4_powell.JAC_KSP_BAD = {'minres'} +F4_powell.ROOT_JAC_KSP_BAD = {'gmres', 'bicgstab', 'cgs', 'minres', 'tfqmr'} + + +def F5(x): + return pressure_network(x, 4, np.array([.5, .5, .5, .5])) + + +F5.xin = [2., 0, 2, 0] +F5.KNOWN_BAD = {'excitingmixing': nonlin.excitingmixing, + 'linearmixing': nonlin.linearmixing, + 'diagbroyden': nonlin.diagbroyden} +# In the extreme case, the Jacobian inversion yielded zero vector for nonlinear +# problem solved by CGS/MINRES and it does not converge for root problem solved +# by MINRES and when using Krylov method to approximate Jacobian +F5.JAC_KSP_BAD = {'cgs', 'minres'} +F5.ROOT_JAC_KSP_BAD = {'minres'} + + +def F6(x): + x1, x2 = x + J0 = np.array([[-4.256, 14.7], + [0.8394989, 0.59964207]]) + v = np.array([(x1 + 3) * (x2**5 - 7) + 3*6, + np.sin(x2 * np.exp(x1) - 1)]) + return -np.linalg.solve(J0, v) + + +F6.xin = [-0.5, 1.4] +F6.KNOWN_BAD = {'excitingmixing': nonlin.excitingmixing, + 'linearmixing': nonlin.linearmixing, + 'diagbroyden': nonlin.diagbroyden} +F6.JAC_KSP_BAD = {} +F6.ROOT_JAC_KSP_BAD = {} + + +# ---------------------------------------------------------------------------- +# Tests +# ---------------------------------------------------------------------------- + + +class TestNonlin: + """ + Check the Broyden methods for a few test problems. + + broyden1, broyden2, and newton_krylov must succeed for + all functions. Some of the others don't -- tests in KNOWN_BAD are skipped. + + """ + + def _check_nonlin_func(self, f, func, f_tol=1e-2): + # Test all methods mentioned in the class `KrylovJacobian` + if func == SOLVERS['krylov']: + for method in ['gmres', 'bicgstab', 'cgs', 'minres', 'tfqmr']: + if method in f.JAC_KSP_BAD: + continue + + x = func(f, f.xin, method=method, line_search=None, + f_tol=f_tol, maxiter=200, verbose=0) + assert_(np.absolute(f(x)).max() < f_tol) + + x = func(f, f.xin, f_tol=f_tol, maxiter=200, verbose=0) + assert_(np.absolute(f(x)).max() < f_tol) + + def _check_root(self, f, method, f_tol=1e-2): + # Test Krylov methods + if method == 'krylov': + for jac_method in ['gmres', 'bicgstab', 'cgs', 'minres', 'tfqmr']: + if jac_method in f.ROOT_JAC_KSP_BAD: + continue + + res = root(f, f.xin, method=method, + options={'ftol': f_tol, 'maxiter': 200, + 'disp': 0, + 'jac_options': {'method': jac_method}}) + assert_(np.absolute(res.fun).max() < f_tol) + + res = root(f, f.xin, method=method, + options={'ftol': f_tol, 'maxiter': 200, 'disp': 0}) + assert_(np.absolute(res.fun).max() < f_tol) + + @pytest.mark.xfail + def _check_func_fail(self, *a, **kw): + pass + + @pytest.mark.filterwarnings('ignore::DeprecationWarning') + def test_problem_nonlin(self): + for f in [F, F2, F2_lucky, F3, F4_powell, F5, F6]: + for func in SOLVERS.values(): + if func in f.KNOWN_BAD.values(): + if func in MUST_WORK.values(): + self._check_func_fail(f, func) + continue + self._check_nonlin_func(f, func) + + @pytest.mark.filterwarnings('ignore::DeprecationWarning') + @pytest.mark.parametrize("method", ['lgmres', 'gmres', 'bicgstab', 'cgs', + 'minres', 'tfqmr']) + def test_tol_norm_called(self, method): + # Check that supplying tol_norm keyword to nonlin_solve works + self._tol_norm_used = False + + def local_norm_func(x): + self._tol_norm_used = True + return np.absolute(x).max() + + nonlin.newton_krylov(F, F.xin, method=method, f_tol=1e-2, + maxiter=200, verbose=0, + tol_norm=local_norm_func) + assert_(self._tol_norm_used) + + @pytest.mark.filterwarnings('ignore::DeprecationWarning') + def test_problem_root(self): + for f in [F, F2, F2_lucky, F3, F4_powell, F5, F6]: + for meth in SOLVERS: + if meth in f.KNOWN_BAD: + if meth in MUST_WORK: + self._check_func_fail(f, meth) + continue + self._check_root(f, meth) + + def test_no_convergence(self): + def wont_converge(x): + return 1e3 + x + + with pytest.raises(scipy.optimize.NoConvergence): + nonlin.newton_krylov(wont_converge, xin=[0], maxiter=1) + + +class TestSecant: + """Check that some Jacobian approximations satisfy the secant condition""" + + xs = [np.array([1., 2., 3., 4., 5.]), + np.array([2., 3., 4., 5., 1.]), + np.array([3., 4., 5., 1., 2.]), + np.array([4., 5., 1., 2., 3.]), + np.array([9., 1., 9., 1., 3.]), + np.array([0., 1., 9., 1., 3.]), + np.array([5., 5., 7., 1., 1.]), + np.array([1., 2., 7., 5., 1.]),] + fs = [x**2 - 1 for x in xs] + + def _check_secant(self, jac_cls, npoints=1, **kw): + """ + Check that the given Jacobian approximation satisfies secant + conditions for last `npoints` points. + """ + jac = jac_cls(**kw) + jac.setup(self.xs[0], self.fs[0], None) + for j, (x, f) in enumerate(zip(self.xs[1:], self.fs[1:])): + jac.update(x, f) + + for k in range(min(npoints, j+1)): + dx = self.xs[j-k+1] - self.xs[j-k] + df = self.fs[j-k+1] - self.fs[j-k] + assert_(np.allclose(dx, jac.solve(df))) + + # Check that the `npoints` secant bound is strict + if j >= npoints: + dx = self.xs[j-npoints+1] - self.xs[j-npoints] + df = self.fs[j-npoints+1] - self.fs[j-npoints] + assert_(not np.allclose(dx, jac.solve(df))) + + def test_broyden1(self): + self._check_secant(nonlin.BroydenFirst) + + def test_broyden2(self): + self._check_secant(nonlin.BroydenSecond) + + def test_broyden1_update(self): + # Check that BroydenFirst update works as for a dense matrix + jac = nonlin.BroydenFirst(alpha=0.1) + jac.setup(self.xs[0], self.fs[0], None) + + B = np.identity(5) * (-1/0.1) + + for last_j, (x, f) in enumerate(zip(self.xs[1:], self.fs[1:])): + df = f - self.fs[last_j] + dx = x - self.xs[last_j] + B += (df - dot(B, dx))[:, None] * dx[None, :] / dot(dx, dx) + jac.update(x, f) + assert_(np.allclose(jac.todense(), B, rtol=1e-10, atol=1e-13)) + + def test_broyden2_update(self): + # Check that BroydenSecond update works as for a dense matrix + jac = nonlin.BroydenSecond(alpha=0.1) + jac.setup(self.xs[0], self.fs[0], None) + + H = np.identity(5) * (-0.1) + + for last_j, (x, f) in enumerate(zip(self.xs[1:], self.fs[1:])): + df = f - self.fs[last_j] + dx = x - self.xs[last_j] + H += (dx - dot(H, df))[:, None] * df[None, :] / dot(df, df) + jac.update(x, f) + assert_(np.allclose(jac.todense(), inv(H), rtol=1e-10, atol=1e-13)) + + def test_anderson(self): + # Anderson mixing (with w0=0) satisfies secant conditions + # for the last M iterates, see [Ey]_ + # + # .. [Ey] V. Eyert, J. Comp. Phys., 124, 271 (1996). + self._check_secant(nonlin.Anderson, M=3, w0=0, npoints=3) + + +class TestLinear: + """Solve a linear equation; + some methods find the exact solution in a finite number of steps""" + + def _check(self, jac, N, maxiter, complex=False, **kw): + np.random.seed(123) + + A = np.random.randn(N, N) + if complex: + A = A + 1j*np.random.randn(N, N) + b = np.random.randn(N) + if complex: + b = b + 1j*np.random.randn(N) + + def func(x): + return dot(A, x) - b + + sol = nonlin.nonlin_solve(func, np.zeros(N), jac, maxiter=maxiter, + f_tol=1e-6, line_search=None, verbose=0) + assert_(np.allclose(dot(A, sol), b, atol=1e-6)) + + def test_broyden1(self): + # Broyden methods solve linear systems exactly in 2*N steps + self._check(nonlin.BroydenFirst(alpha=1.0), 20, 41, False) + self._check(nonlin.BroydenFirst(alpha=1.0), 20, 41, True) + + def test_broyden2(self): + # Broyden methods solve linear systems exactly in 2*N steps + self._check(nonlin.BroydenSecond(alpha=1.0), 20, 41, False) + self._check(nonlin.BroydenSecond(alpha=1.0), 20, 41, True) + + def test_anderson(self): + # Anderson is rather similar to Broyden, if given enough storage space + self._check(nonlin.Anderson(M=50, alpha=1.0), 20, 29, False) + self._check(nonlin.Anderson(M=50, alpha=1.0), 20, 29, True) + + def test_krylov(self): + # Krylov methods solve linear systems exactly in N inner steps + self._check(nonlin.KrylovJacobian, 20, 2, False, inner_m=10) + self._check(nonlin.KrylovJacobian, 20, 2, True, inner_m=10) + + def _check_autojac(self, A, b): + def func(x): + return A.dot(x) - b + + def jac(v): + return A + + sol = nonlin.nonlin_solve(func, np.zeros(b.shape[0]), jac, maxiter=2, + f_tol=1e-6, line_search=None, verbose=0) + np.testing.assert_allclose(A @ sol, b, atol=1e-6) + # test jac input as array -- not a function + sol = nonlin.nonlin_solve(func, np.zeros(b.shape[0]), A, maxiter=2, + f_tol=1e-6, line_search=None, verbose=0) + np.testing.assert_allclose(A @ sol, b, atol=1e-6) + + def test_jac_sparse(self): + A = csr_array([[1, 2], [2, 1]]) + b = np.array([1, -1]) + self._check_autojac(A, b) + self._check_autojac((1 + 2j) * A, (2 + 2j) * b) + + def test_jac_ndarray(self): + A = np.array([[1, 2], [2, 1]]) + b = np.array([1, -1]) + self._check_autojac(A, b) + self._check_autojac((1 + 2j) * A, (2 + 2j) * b) + + +class TestJacobianDotSolve: + """ + Check that solve/dot methods in Jacobian approximations are consistent + """ + + def _func(self, x, A=None): + return x**2 - 1 + np.dot(A, x) + + def _check_dot(self, jac_cls, complex=False, tol=1e-6, **kw): + rng = np.random.RandomState(123) + + N = 7 + + def rand(*a): + q = rng.rand(*a) + if complex: + q = q + 1j*rng.rand(*a) + return q + + def assert_close(a, b, msg): + d = abs(a - b).max() + f = tol + abs(b).max()*tol + if d > f: + raise AssertionError(f'{msg}: err {d:g}') + + A = rand(N, N) + + # initialize + x0 = rng.rand(N) + jac = jac_cls(**kw) + jac.setup(x0, self._func(x0, A), partial(self._func, A=A)) + + # check consistency + for k in range(2*N): + v = rand(N) + + if hasattr(jac, '__array__'): + Jd = np.array(jac) + if hasattr(jac, 'solve'): + Gv = jac.solve(v) + Gv2 = np.linalg.solve(Jd, v) + assert_close(Gv, Gv2, 'solve vs array') + if hasattr(jac, 'rsolve'): + Gv = jac.rsolve(v) + Gv2 = np.linalg.solve(Jd.T.conj(), v) + assert_close(Gv, Gv2, 'rsolve vs array') + if hasattr(jac, 'matvec'): + Jv = jac.matvec(v) + Jv2 = np.dot(Jd, v) + assert_close(Jv, Jv2, 'dot vs array') + if hasattr(jac, 'rmatvec'): + Jv = jac.rmatvec(v) + Jv2 = np.dot(Jd.T.conj(), v) + assert_close(Jv, Jv2, 'rmatvec vs array') + + if hasattr(jac, 'matvec') and hasattr(jac, 'solve'): + Jv = jac.matvec(v) + Jv2 = jac.solve(jac.matvec(Jv)) + assert_close(Jv, Jv2, 'dot vs solve') + + if hasattr(jac, 'rmatvec') and hasattr(jac, 'rsolve'): + Jv = jac.rmatvec(v) + Jv2 = jac.rmatvec(jac.rsolve(Jv)) + assert_close(Jv, Jv2, 'rmatvec vs rsolve') + + x = rand(N) + jac.update(x, self._func(x, A)) + + def test_broyden1(self): + self._check_dot(nonlin.BroydenFirst, complex=False) + self._check_dot(nonlin.BroydenFirst, complex=True) + + def test_broyden2(self): + self._check_dot(nonlin.BroydenSecond, complex=False) + self._check_dot(nonlin.BroydenSecond, complex=True) + + def test_anderson(self): + self._check_dot(nonlin.Anderson, complex=False) + self._check_dot(nonlin.Anderson, complex=True) + + def test_diagbroyden(self): + self._check_dot(nonlin.DiagBroyden, complex=False) + self._check_dot(nonlin.DiagBroyden, complex=True) + + def test_linearmixing(self): + self._check_dot(nonlin.LinearMixing, complex=False) + self._check_dot(nonlin.LinearMixing, complex=True) + + def test_excitingmixing(self): + self._check_dot(nonlin.ExcitingMixing, complex=False) + self._check_dot(nonlin.ExcitingMixing, complex=True) + + @pytest.mark.thread_unsafe + def test_krylov(self): + self._check_dot(nonlin.KrylovJacobian, complex=False, tol=1e-3) + self._check_dot(nonlin.KrylovJacobian, complex=True, tol=1e-3) + + +class TestNonlinOldTests: + """ Test case for a simple constrained entropy maximization problem + (the machine translation example of Berger et al in + Computational Linguistics, vol 22, num 1, pp 39--72, 1996.) + """ + + def test_broyden1(self): + x = nonlin.broyden1(F, F.xin, iter=12, alpha=1) + assert_(nonlin.norm(x) < 1e-9) + assert_(nonlin.norm(F(x)) < 1e-9) + + def test_broyden2(self): + x = nonlin.broyden2(F, F.xin, iter=12, alpha=1) + assert_(nonlin.norm(x) < 1e-9) + assert_(nonlin.norm(F(x)) < 1e-9) + + def test_anderson(self): + x = nonlin.anderson(F, F.xin, iter=12, alpha=0.03, M=5) + assert_(nonlin.norm(x) < 0.33) + + def test_linearmixing(self): + x = nonlin.linearmixing(F, F.xin, iter=60, alpha=0.5) + assert_(nonlin.norm(x) < 1e-7) + assert_(nonlin.norm(F(x)) < 1e-7) + + def test_exciting(self): + x = nonlin.excitingmixing(F, F.xin, iter=20, alpha=0.5) + assert_(nonlin.norm(x) < 1e-5) + assert_(nonlin.norm(F(x)) < 1e-5) + + def test_diagbroyden(self): + x = nonlin.diagbroyden(F, F.xin, iter=11, alpha=1) + assert_(nonlin.norm(x) < 1e-8) + assert_(nonlin.norm(F(x)) < 1e-8) + + def test_root_broyden1(self): + res = root(F, F.xin, method='broyden1', + options={'nit': 12, 'jac_options': {'alpha': 1}}) + assert_(nonlin.norm(res.x) < 1e-9) + assert_(nonlin.norm(res.fun) < 1e-9) + + def test_root_broyden2(self): + res = root(F, F.xin, method='broyden2', + options={'nit': 12, 'jac_options': {'alpha': 1}}) + assert_(nonlin.norm(res.x) < 1e-9) + assert_(nonlin.norm(res.fun) < 1e-9) + + def test_root_anderson(self): + res = root(F, F.xin, method='anderson', + options={'nit': 12, + 'jac_options': {'alpha': 0.03, 'M': 5}}) + assert_(nonlin.norm(res.x) < 0.33) + + def test_root_linearmixing(self): + res = root(F, F.xin, method='linearmixing', + options={'nit': 60, + 'jac_options': {'alpha': 0.5}}) + assert_(nonlin.norm(res.x) < 1e-7) + assert_(nonlin.norm(res.fun) < 1e-7) + + def test_root_excitingmixing(self): + res = root(F, F.xin, method='excitingmixing', + options={'nit': 20, + 'jac_options': {'alpha': 0.5}}) + assert_(nonlin.norm(res.x) < 1e-5) + assert_(nonlin.norm(res.fun) < 1e-5) + + def test_root_diagbroyden(self): + res = root(F, F.xin, method='diagbroyden', + options={'nit': 11, + 'jac_options': {'alpha': 1}}) + assert_(nonlin.norm(res.x) < 1e-8) + assert_(nonlin.norm(res.fun) < 1e-8) diff --git a/shared/package-files/37/3798c6050b3037bbd4f1f32fd3db54c43ab513ba11f352fdebdedfcfd0c7fb2c/integer_value_refinement.h b/shared/package-files/37/3798c6050b3037bbd4f1f32fd3db54c43ab513ba11f352fdebdedfcfd0c7fb2c/integer_value_refinement.h new file mode 100644 index 0000000000000000000000000000000000000000..5614e96c141f4b611418fec08ce917868728eef1 --- /dev/null +++ b/shared/package-files/37/3798c6050b3037bbd4f1f32fd3db54c43ab513ba11f352fdebdedfcfd0c7fb2c/integer_value_refinement.h @@ -0,0 +1,12 @@ +#pragma once + +#include + +namespace torch { +namespace jit { + +// return true if graph is modified +TORCH_API bool RefineIntegerValues(const std::shared_ptr& graph); + +} // namespace jit +} // namespace torch diff --git a/shared/package-files/37/379dd34fc5134d0b3febf7e3dabeba24554a9c64b374af4e32f60f6a4528abe2/logaddexp2_cuda_dispatch.h b/shared/package-files/37/379dd34fc5134d0b3febf7e3dabeba24554a9c64b374af4e32f60f6a4528abe2/logaddexp2_cuda_dispatch.h new file mode 100644 index 0000000000000000000000000000000000000000..f73d98a9858f70f8517701303eac9776b0749857 --- /dev/null +++ b/shared/package-files/37/379dd34fc5134d0b3febf7e3dabeba24554a9c64b374af4e32f60f6a4528abe2/logaddexp2_cuda_dispatch.h @@ -0,0 +1,25 @@ +#pragma once +// @generated by torchgen/gen.py from DispatchKeyFunction.h + +// NB: The implementing C++ file is RegisterDispatchKey.cpp + +// The only #includes we need are for custom classes that have defaults in the C++ API +#include +#include +#include + +// Forward declarations of any types needed in the operator signatures. +// We can't directly include these classes because it will cause circular include dependencies. +// This file is included by TensorBody.h, which defines the Tensor class. +#include + +namespace at { + +namespace cuda { + +TORCH_API at::Tensor logaddexp2(const at::Tensor & self, const at::Tensor & other); +TORCH_API at::Tensor & logaddexp2_out(at::Tensor & out, const at::Tensor & self, const at::Tensor & other); +TORCH_API at::Tensor & logaddexp2_outf(const at::Tensor & self, const at::Tensor & other, at::Tensor & out); + +} // namespace cuda +} // namespace at diff --git a/shared/package-files/37/37a263ac842309d272d1ba0a229f07724cb9b66fff2d20ec7290f3deb13fb205/rcode.py b/shared/package-files/37/37a263ac842309d272d1ba0a229f07724cb9b66fff2d20ec7290f3deb13fb205/rcode.py new file mode 100644 index 0000000000000000000000000000000000000000..8e6386f828019b379bbe97a3950ce604c4778f7f --- /dev/null +++ b/shared/package-files/37/37a263ac842309d272d1ba0a229f07724cb9b66fff2d20ec7290f3deb13fb205/rcode.py @@ -0,0 +1,168 @@ +# Copyright (C) Dnspython Contributors, see LICENSE for text of ISC license + +# Copyright (C) 2001-2017 Nominum, Inc. +# +# Permission to use, copy, modify, and distribute this software and its +# documentation for any purpose with or without fee is hereby granted, +# provided that the above copyright notice and this permission notice +# appear in all copies. +# +# THE SOFTWARE IS PROVIDED "AS IS" AND NOMINUM DISCLAIMS ALL WARRANTIES +# WITH REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES OF +# MERCHANTABILITY AND FITNESS. IN NO EVENT SHALL NOMINUM BE LIABLE FOR +# ANY SPECIAL, DIRECT, INDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES +# WHATSOEVER RESULTING FROM LOSS OF USE, DATA OR PROFITS, WHETHER IN AN +# ACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT +# OF OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE. + +"""DNS Result Codes.""" + +from typing import Tuple + +import dns.enum +import dns.exception + + +class Rcode(dns.enum.IntEnum): + #: No error + NOERROR = 0 + #: Format error + FORMERR = 1 + #: Server failure + SERVFAIL = 2 + #: Name does not exist ("Name Error" in RFC 1025 terminology). + NXDOMAIN = 3 + #: Not implemented + NOTIMP = 4 + #: Refused + REFUSED = 5 + #: Name exists. + YXDOMAIN = 6 + #: RRset exists. + YXRRSET = 7 + #: RRset does not exist. + NXRRSET = 8 + #: Not authoritative. + NOTAUTH = 9 + #: Name not in zone. + NOTZONE = 10 + #: DSO-TYPE Not Implemented + DSOTYPENI = 11 + #: Bad EDNS version. + BADVERS = 16 + #: TSIG Signature Failure + BADSIG = 16 + #: Key not recognized. + BADKEY = 17 + #: Signature out of time window. + BADTIME = 18 + #: Bad TKEY Mode. + BADMODE = 19 + #: Duplicate key name. + BADNAME = 20 + #: Algorithm not supported. + BADALG = 21 + #: Bad Truncation + BADTRUNC = 22 + #: Bad/missing Server Cookie + BADCOOKIE = 23 + + @classmethod + def _maximum(cls): + return 4095 + + @classmethod + def _unknown_exception_class(cls): + return UnknownRcode + + +class UnknownRcode(dns.exception.DNSException): + """A DNS rcode is unknown.""" + + +def from_text(text: str) -> Rcode: + """Convert text into an rcode. + + *text*, a ``str``, the textual rcode or an integer in textual form. + + Raises ``dns.rcode.UnknownRcode`` if the rcode mnemonic is unknown. + + Returns a ``dns.rcode.Rcode``. + """ + + return Rcode.from_text(text) + + +def from_flags(flags: int, ednsflags: int) -> Rcode: + """Return the rcode value encoded by flags and ednsflags. + + *flags*, an ``int``, the DNS flags field. + + *ednsflags*, an ``int``, the EDNS flags field. + + Raises ``ValueError`` if rcode is < 0 or > 4095 + + Returns a ``dns.rcode.Rcode``. + """ + + value = (flags & 0x000F) | ((ednsflags >> 20) & 0xFF0) + return Rcode.make(value) + + +def to_flags(value: Rcode) -> Tuple[int, int]: + """Return a (flags, ednsflags) tuple which encodes the rcode. + + *value*, a ``dns.rcode.Rcode``, the rcode. + + Raises ``ValueError`` if rcode is < 0 or > 4095. + + Returns an ``(int, int)`` tuple. + """ + + if value < 0 or value > 4095: + raise ValueError("rcode must be >= 0 and <= 4095") + v = value & 0xF + ev = (value & 0xFF0) << 20 + return (v, ev) + + +def to_text(value: Rcode, tsig: bool = False) -> str: + """Convert rcode into text. + + *value*, a ``dns.rcode.Rcode``, the rcode. + + Raises ``ValueError`` if rcode is < 0 or > 4095. + + Returns a ``str``. + """ + + if tsig and value == Rcode.BADVERS: + return "BADSIG" + return Rcode.to_text(value) + + +### BEGIN generated Rcode constants + +NOERROR = Rcode.NOERROR +FORMERR = Rcode.FORMERR +SERVFAIL = Rcode.SERVFAIL +NXDOMAIN = Rcode.NXDOMAIN +NOTIMP = Rcode.NOTIMP +REFUSED = Rcode.REFUSED +YXDOMAIN = Rcode.YXDOMAIN +YXRRSET = Rcode.YXRRSET +NXRRSET = Rcode.NXRRSET +NOTAUTH = Rcode.NOTAUTH +NOTZONE = Rcode.NOTZONE +DSOTYPENI = Rcode.DSOTYPENI +BADVERS = Rcode.BADVERS +BADSIG = Rcode.BADSIG +BADKEY = Rcode.BADKEY +BADTIME = Rcode.BADTIME +BADMODE = Rcode.BADMODE +BADNAME = Rcode.BADNAME +BADALG = Rcode.BADALG +BADTRUNC = Rcode.BADTRUNC +BADCOOKIE = Rcode.BADCOOKIE + +### END generated Rcode constants diff --git a/shared/package-files/37/37a32b4c0a8aea5f52564ead5b0791d74f0f33c3a5eea3657f257e9c770b86c6/debug.py b/shared/package-files/37/37a32b4c0a8aea5f52564ead5b0791d74f0f33c3a5eea3657f257e9c770b86c6/debug.py new file mode 100644 index 0000000000000000000000000000000000000000..daf1660f0d821143e388d37532a39ddfd2ca0347 --- /dev/null +++ b/shared/package-files/37/37a32b4c0a8aea5f52564ead5b0791d74f0f33c3a5eea3657f257e9c770b86c6/debug.py @@ -0,0 +1,5 @@ +import os + +# If DISTUTILS_DEBUG is anything other than the empty string, we run in +# debug mode. +DEBUG = os.environ.get('DISTUTILS_DEBUG') diff --git a/shared/package-files/37/37a563e1440f45419182bdb72d7a632db256c10673048b96d1f0d575edb4f44f/boxing.h b/shared/package-files/37/37a563e1440f45419182bdb72d7a632db256c10673048b96d1f0d575edb4f44f/boxing.h new file mode 100644 index 0000000000000000000000000000000000000000..f8055d95b882498518ddd07772c3fa60b1268b89 --- /dev/null +++ b/shared/package-files/37/37a563e1440f45419182bdb72d7a632db256c10673048b96d1f0d575edb4f44f/boxing.h @@ -0,0 +1,387 @@ +#pragma once + +// This file contains boxing (not unboxing) logic, +// i.e. how to make a vector from a set of concrete arguments. + +#include +#include +#include + +#include + +#include +#include + +namespace c10 { +namespace impl { + +// +// utils +// + +// is_mutable_tensor_ref +template struct is_mutable_tensor_ref : std::false_type {}; +template <> struct is_mutable_tensor_ref : std::true_type {}; + +// is_tuple_of_mutable_tensor_refs +// +template +struct is_tuple_of_mutable_tensor_refs : std::false_type {}; + +template +struct is_tuple_of_mutable_tensor_refs::value, void>> +: guts::typelist::all> +{}; + +// has_ivalue_to tests the presence/absence of instance method IValue::to() +// +template +struct has_ivalue_to : std::false_type {}; + +template +struct has_ivalue_to().to())>> +: std::true_type +{}; + +// +// boxing predicates +// + +// A boxable arg type is one that IValue has a constructor for. +template +using can_box = + std::disjunction< + std::is_constructible>, + // TensorOptions are not directly constructible into IValue, + // but torch::jit::push knows how to handle them + std::is_same> + >; + +template +using can_box_all = std::conjunction...>; + +// an unboxable result is one that can be extracted from an IValue +template +using can_unbox = + std::conjunction< + std::disjunction< + has_ivalue_to, + // void returns are ok + std::is_same + >, + std::negation> + >; + +// +// boxArgs - utility for pushing unboxed args onto IValue stack +// +template +torch::jit::Stack boxArgs(Args... args) { + // TODO Reuse stack vector instead of allocating? + torch::jit::Stack stack; + stack.reserve(sizeof...(Args)); + torch::jit::push(stack, std::forward(args)...); + return stack; +} + +template +static inline constexpr size_t boxed_size_one() { + static_assert(!std::is_same, c10::TensorOptions>::value, "need to patch this path to support TensorOptions passed by reference"); + return 1; +} + +// torch::jit::push pushes 4 values for a TensorOptions; this needs to +// be kept in sync. +template <> +inline constexpr size_t boxed_size_one() { + return 4; +} + +// NOTE: this could probably be simplified with C++17 fold expressions. +template +struct BoxedSize : std::integral_constant {}; +template +struct BoxedSize : std::integral_constant() + BoxedSize::value> {}; + +template +static inline constexpr size_t boxed_size() { + return BoxedSize::value; +} + +using IValueAlignedStorage = std::aligned_storage_t; + +template +C10_ALWAYS_INLINE_UNLESS_MOBILE void boxToStack(IValueAlignedStorage* dest, T& arg, int& lastIdx) { + new (&dest[lastIdx]) IValue(arg); + lastIdx++; +} + +C10_ALWAYS_INLINE_UNLESS_MOBILE void boxToStack(IValueAlignedStorage* dest, c10::TensorOptions options, int& lastIdx) { + new (&dest[lastIdx++]) IValue(c10::typeMetaToScalarType(options.dtype())); + new (&dest[lastIdx++]) IValue(options.layout()); + new (&dest[lastIdx++]) IValue(options.device()); + new (&dest[lastIdx++]) IValue(options.pinned_memory()); +} + +inline void boxArgsToStack(IValueAlignedStorage*, int&) {} + +template +C10_ALWAYS_INLINE_UNLESS_MOBILE void boxArgsToStack(IValueAlignedStorage* dest, int& lastIdx, T& arg, Args &... args) { + boxToStack(dest, arg, lastIdx); + boxArgsToStack(dest, lastIdx, args...); +} + +// +// PopResult is a helper class whose specializations handle popping single and +// multiple return values, respectively. +// +template +struct PopResult final { + static Result call(Stack& stack) { + TORCH_INTERNAL_ASSERT_DEBUG_ONLY( + stack.size() == 1, + "Boxed kernel was expected to return one value on the stack, ", + "but instead pushed ", stack.size(), " values." + ); + return std::move(stack[0]).to(); + } +}; + +template +struct PopResult> final { + using Result = std::tuple; + + static Result call(Stack& stack) { + // for tuple return types, boxed kernel has pushed multiple values onto the stack + constexpr int RetCount = sizeof...(Types); + TORCH_INTERNAL_ASSERT_DEBUG_ONLY( + stack.size() == RetCount, + "Boxed kernel was expected to return ", RetCount, " values on the stack, ", + "but instead pushed ", stack.size(), " values." + ); + return pop_to_tuple_impl(stack, std::make_index_sequence()); + } +private: + // note: this has been moved into its own helper only to avoid a parse error on `indices` otherwise. + // I'm sure there's an incantation that slips it past the parser but eh + template + static Result pop_to_tuple_impl(Stack& stack, std::index_sequence) { + return std::make_tuple((std::move(stack[indices]).to())...); + } +}; + +// +// BoxedKernelWrapper +// +// For a given function type FT, BoxedKernelWrapper implements +// a `call` method that +// - takes a boxed kernel and unboxed arguments as specified by FT, +// - calls `boxArgs` to box the arguments +// - calls the boxed kernel +// - unboxes and returns the result +// +// The partial specializations below handle various cases: in +// particular, not all types appearing in op signatures are supported, +// and ops returning references have nonstandard wrapper implementations. +// + +// 1. The base specialization of BoxedKernelWrapper should never be instantiated. +// A "no call method defined on BoxedKernelWrapper" compile error means that +// an op signature has failed to trigger any of the partial specializations +// that follow this one. +// +template +struct BoxedKernelWrapper { + // The reason we're not just doing straight up static_assert(false, ...) here: + // Basically, the way to make sure a static_assert only fires if a template + // is actually instantiated (rather than every time the file is parsed) is to use + // template parameters in the expression, e.g. FuncType here. However, since + // `sizeof(FuncType) != sizeof(FuncType)` is always false, this has the same + // effect. + static_assert(sizeof(FuncType) != sizeof(FuncType), + "Function signature contains one or more unsupported parameter and/or return types. " + "Look for a nearby error like " + "\"'call' is not a member of 'c10::impl::BoxedKernelWrapper<(your function type), void>'\" " + "- (your function type) is the unsupported signature."); +}; + +// +// 2. Supported signatures, other than those involving non-const Tensor refs - +// i.e., "functional" ops. +// + +template +struct BoxedKernelWrapper< + Result(Args...), + std::enable_if_t< + can_box_all::value && can_unbox::value && !is_tuple_of_mutable_tensor_refs::value, + void + > +> { + static Result call( + const BoxedKernel& boxed_kernel_func, + const OperatorHandle& opHandle, + DispatchKeySet dispatchKeySet, + Args... args + ) { + torch::jit::Stack stack = boxArgs(std::forward(args)...); + boxed_kernel_func.callBoxed(opHandle, dispatchKeySet, &stack); + + if constexpr (!std::is_same_v) { + // op has pushed one or more values onto the stack. + return PopResult::call(stack); + } else { + // op returns void, boxed kernel has pushed nothing onto stack. + TORCH_INTERNAL_ASSERT_DEBUG_ONLY( + stack.empty(), + "Boxed kernel was expected to return no values on the stack, ", + "but instead returned ", stack.size(), " values." + ); + } + } +}; + +// +// 3. in-place ops take a single non-const Tensor reference +// as their first argument, and return it. +// +// Note: all signatures matching this pattern are assumed to be for such ops. +// Because of this, the generated BoxedKernelWrapper specializations simply +// return the in-place argument. +// + +template +struct BoxedKernelWrapper< + at::Tensor&(at::Tensor&, OtherArgs...), + std::enable_if_t::value, void> +> { + static at::Tensor& call( + const BoxedKernel& boxed_kernel_func, + const OperatorHandle& opHandle, + DispatchKeySet dispatchKeySet, + at::Tensor& outArg, OtherArgs... otherArgs + ) { + torch::jit::Stack stack = boxArgs(outArg, std::forward(otherArgs)...); + boxed_kernel_func.callBoxed(opHandle, dispatchKeySet, &stack); + TORCH_INTERNAL_ASSERT_DEBUG_ONLY( + stack.size() == 1, + "Boxed kernel was expected to return a single value on the stack, ", + "but instead returned ", stack.size(), " values." + ); + + return outArg; + } +}; + +// +// 3.5. In-process migration to make in-place ops take and return +// const references instead. +template +struct BoxedKernelWrapper< + const at::Tensor&(const at::Tensor&, OtherArgs...), + std::enable_if_t::value, void> +> { + static const at::Tensor& call( + const BoxedKernel& boxed_kernel_func, + const OperatorHandle& opHandle, + DispatchKeySet dispatchKeySet, + const at::Tensor& outArg, OtherArgs... otherArgs + ) { + torch::jit::Stack stack = boxArgs(outArg, otherArgs...); + boxed_kernel_func.callBoxed(opHandle, dispatchKeySet, &stack); + TORCH_INTERNAL_ASSERT_DEBUG_ONLY( + stack.size() == 1, + "Boxed kernel was expected to return a single value on the stack, ", + "but instead returned ", stack.size(), " values." + ); + + return outArg; + } +}; + +// +// 4. out of place ops that take a single non-const Tensor reference as their +// final argument, and also return it. +// +// Note: all signatures matching this pattern are assumed to be for such ops. +// This assumption permits the generated BoxedKernelWrapper specializations to simply +// return out arguments. +// +template +struct BoxedKernelWrapper< + at::Tensor&(FirstArg, RestArgs...), + std::enable_if_t< + can_box_all::value + // this skips over in-place kernels with a non-const Tensor + // arg at the front, so those can unambiguously trigger the preceding specialization. + && !is_mutable_tensor_ref::value, + void + > +> { + static at::Tensor& call( + const BoxedKernel& boxed_kernel_func, + const OperatorHandle& opHandle, + DispatchKeySet dispatchKeySet, + FirstArg firstArg, RestArgs... restArgs + ) { + torch::jit::Stack stack = boxArgs(std::forward(firstArg), std::forward(restArgs)...); + boxed_kernel_func.callBoxed(opHandle, dispatchKeySet, &stack); + TORCH_INTERNAL_ASSERT_DEBUG_ONLY( + stack.size() == 1, + "Boxed kernel was expected to return a single value on the stack, ", + "but instead returned ", stack.size(), " values." + ); + + // reusing restArgs after it has been forwarded here is ok because we know + // that the last element is of type `Tensor&`. + return std::get(std::tuple{restArgs...}); + } +}; + +// +// 5. out of place ops that take multiple non-const Tensor references as their +// final arguments, and return them in a std::tuple. +// +// Note: all signatures matching this pattern are assumed to be for such ops. +// This assumption permits the generated BoxedKernelWrapper specializations to simply +// return the out arguments. +// +template +struct BoxedKernelWrapper< + Result(Args...), + std::enable_if_t< + can_box_all::value && is_tuple_of_mutable_tensor_refs::value, + void + > +> { + static Result call( + const BoxedKernel& boxed_kernel_func, + const OperatorHandle& opHandle, + DispatchKeySet dispatchKeySet, + Args... args + ) { + using ArgTuple = std::tuple; + constexpr int RetCount = std::tuple_size(); + + torch::jit::Stack stack = boxArgs(std::forward(args)...); + boxed_kernel_func.callBoxed(opHandle, dispatchKeySet, &stack); + TORCH_INTERNAL_ASSERT_DEBUG_ONLY( + stack.size() == RetCount, + "Boxed kernel was expected to return ", RetCount, " values on the stack, ", + "but instead returned ", stack.size(), " values." + ); + + // reusing args after it has been forwarded here is ok because we know + // that the last RetCount elements are of type `Tensor&`. + auto result = guts::tuple_take(ArgTuple{std::forward(args)...}); + static_assert( + std::is_same::value, + "The parameter list of an op returning a tuple of Tensor references " + "must end with an equal number of Tensor reference parameters." + ); + return result; + } +}; + +} // impl +} // c10 diff --git a/shared/package-files/37/37a77fbdf16f60e45f327af57c7263612b780c139149b2e2ff64feaf67490672/Thimbu b/shared/package-files/37/37a77fbdf16f60e45f327af57c7263612b780c139149b2e2ff64feaf67490672/Thimbu new file mode 100644 index 0000000000000000000000000000000000000000..0edc72cfe46b1976bff562929501f202a205d0cc Binary files /dev/null and b/shared/package-files/37/37a77fbdf16f60e45f327af57c7263612b780c139149b2e2ff64feaf67490672/Thimbu differ diff --git a/shared/package-files/37/37a77fbdf16f60e45f327af57c7263612b780c139149b2e2ff64feaf67490672/Thimphu b/shared/package-files/37/37a77fbdf16f60e45f327af57c7263612b780c139149b2e2ff64feaf67490672/Thimphu new file mode 100644 index 0000000000000000000000000000000000000000..0edc72cfe46b1976bff562929501f202a205d0cc Binary files /dev/null and b/shared/package-files/37/37a77fbdf16f60e45f327af57c7263612b780c139149b2e2ff64feaf67490672/Thimphu differ diff --git a/shared/package-files/37/37a81e8c1c34667d0d0c4b4f2f2db57d96e55f710bf794ebb345a6b2e98b59d5/avg_pool2d_backward_meta.h b/shared/package-files/37/37a81e8c1c34667d0d0c4b4f2f2db57d96e55f710bf794ebb345a6b2e98b59d5/avg_pool2d_backward_meta.h new file mode 100644 index 0000000000000000000000000000000000000000..5909575414c6f83fcab926abda20dfb153ec318a --- /dev/null +++ b/shared/package-files/37/37a81e8c1c34667d0d0c4b4f2f2db57d96e55f710bf794ebb345a6b2e98b59d5/avg_pool2d_backward_meta.h @@ -0,0 +1,27 @@ +#pragma once + +// @generated by torchgen/gen.py from NativeMetaFunction.h + +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include + +namespace at { +namespace meta { + +struct TORCH_API structured_avg_pool2d_backward : public at::impl::MetaBase { + + + void meta(const at::Tensor & grad_output, const at::Tensor & self, at::IntArrayRef kernel_size, at::IntArrayRef stride, at::IntArrayRef padding, bool ceil_mode, bool count_include_pad, c10::optional divisor_override); +}; + +} // namespace native +} // namespace at diff --git a/shared/package-files/37/37ab106a6ada925b39ff83e223b931060c5e28b7e1076637c985333fa3486892/datetools.py b/shared/package-files/37/37ab106a6ada925b39ff83e223b931060c5e28b7e1076637c985333fa3486892/datetools.py new file mode 100644 index 0000000000000000000000000000000000000000..ea675dff4ff33f8f383845a6c3a0dcbbfcf39669 --- /dev/null +++ b/shared/package-files/37/37ab106a6ada925b39ff83e223b931060c5e28b7e1076637c985333fa3486892/datetools.py @@ -0,0 +1,219 @@ +"""Tools for working with dates""" +from statsmodels.compat.python import lmap, lrange, lzip + +import datetime +import re + +import numpy as np +from pandas import to_datetime + +_quarter_to_day = { + "1" : (3, 31), + "2" : (6, 30), + "3" : (9, 30), + "4" : (12, 31), + "I" : (3, 31), + "II" : (6, 30), + "III" : (9, 30), + "IV" : (12, 31) + } + + +_mdays = [31, 28, 31, 30, 31, 30, 31, 31, 30, 31, 30, 31] +_months_with_days = lzip(lrange(1, 13), _mdays) +_month_to_day = dict(zip(map(str, lrange(1, 13)), _months_with_days, strict=True)) +_month_to_day.update( + dict( + zip( + ["I", "II", "III", "IV", "V", "VI", "VII", "VIII", "IX", "X", "XI", "XII"], + _months_with_days, strict=True, + ) + ) +) + + +# regex patterns +_y_pattern = r"^\d?\d?\d?\d$" + +_q_pattern = r""" +^ # beginning of string +\d?\d?\d?\d # match any number 1-9999, includes leading zeros + +(:?q) # use q or a : as a separator + +([1-4]|(I{1,3}V?)) # match 1-4 or I-IV roman numerals + +$ # end of string +""" + +_m_pattern = r""" +^ # beginning of string +\d?\d?\d?\d # match any number 1-9999, includes leading zeros + +(:?m) # use m or a : as a separator + +(([1-9][0-2]?)|(I?XI{0,2}|I?VI{0,3}|I{1,3})) # match 1-12 or + # I-XII roman numerals + +$ # end of string +""" + + +# NOTE: see also ts.extras.isleapyear, which accepts a sequence +def _is_leap(year): + year = int(year) + return year % 4 == 0 and (year % 100 != 0 or year % 400 == 0) + + +def date_parser(timestr, parserinfo=None, **kwargs): + """ + Parse a date string, understanding statsmodels-specific date formats + + Falls back to dateutil.parser.parse, but also handles monthly dates of + the form 1999m4, 1999:m4, 1999:mIV, 1999mIV and the same for quarterly + data with q instead of m. It is not case sensitive. The default for + annual data is the end of the year, which also differs from dateutil. + + Parameters + ---------- + timestr : str + The date string to parse. + parserinfo : dateutil.parser.parserinfo, optional + Not used by this function; retained for backwards compatibility. + **kwargs + Keyword arguments passed to ``pandas.to_datetime`` when `timestr` + does not match a recognized quarterly, monthly, or annual pattern. + + Returns + ------- + datetime.datetime or pandas.Timestamp + The parsed date. + """ + flags = re.IGNORECASE | re.VERBOSE + if re.search(_q_pattern, timestr, flags): + y, q = timestr.replace(":", "").lower().split("q") + month, day = _quarter_to_day[q.upper()] + year = int(y) + elif re.search(_m_pattern, timestr, flags): + y, m = timestr.replace(":", "").lower().split("m") + month, day = _month_to_day[m.upper()] + year = int(y) + if _is_leap(y) and month == 2: + day += 1 + elif re.search(_y_pattern, timestr, flags): + month, day = 12, 31 + year = int(timestr) + else: + return to_datetime(timestr, **kwargs) + + return datetime.datetime(year, month, day) + + +def date_range_str(start, end=None, length=None): + """ + Returns a list of abbreviated date strings + + Parameters + ---------- + start : str + The first abbreviated date, for instance, '1965q1' or '1965m1' + end : str, optional + The last abbreviated date if length is None. + length : int, optional + The length of the returned array if end is None. + + Returns + ------- + date_range : list of str + List of abbreviated date strings. + """ + flags = re.IGNORECASE | re.VERBOSE + + start = start.lower() + if re.search(_m_pattern, start, flags): + annual_freq = 12 + split = "m" + elif re.search(_q_pattern, start, flags): + annual_freq = 4 + split = "q" + elif re.search(_y_pattern, start, flags): + annual_freq = 1 + start += "a1" # hack + if end: + end += "a1" + split = "a" + else: + raise ValueError(f"Date {start} not understood") + yr1, offset1 = lmap(int, start.replace(":", "").split(split)) + if end is not None: + end = end.lower() + yr2, offset2 = lmap(int, end.replace(":", "").split(split)) + else: # length > 0 + if not length: + raise ValueError("length must be provided if end is None") + yr2 = yr1 + length // annual_freq + offset2 = length % annual_freq + (offset1 - 1) + years = [str(yr) for yr in np.repeat(lrange(yr1 + 1, yr2), annual_freq)] + # tack on first year + years = [(str(yr1))] * (annual_freq + 1 - offset1) + years + # tack on last year + years = years + [(str(yr2))] * offset2 + if split != "a": + offset = np.tile(np.arange(1, annual_freq + 1), yr2 - yr1 - 1).astype(str) + offset = np.r_[np.arange(offset1, annual_freq + 1).astype(str), offset] + offset = np.r_[offset, np.arange(1, offset2 + 1).astype(str)] + + date_arr_range = [f"{i}{split}{j}" for i, j in zip(years, offset, strict=True)] + else: + date_arr_range = years + return date_arr_range + + +def dates_from_str(dates): + """ + Turns a sequence of date strings and returns a list of datetime + + Parameters + ---------- + dates : sequence of str + A sequence of abbreviated dates as string. For instance, + '1996m1' or '1996Q1'. The datetime dates are at the end of the + period. + + Returns + ------- + date_list : list of datetime.datetime + A list of datetime types. + """ + return lmap(date_parser, dates) + + +def dates_from_range(start, end=None, length=None): + """ + Turns a sequence of date strings and returns a list of datetime + + Parameters + ---------- + start : str + The first abbreviated date, for instance, '1965q1' or '1965m1' + end : str, optional + The last abbreviated date if length is None. + length : int, optional + The length of the returned array if end is None. + + Returns + ------- + date_list : list of datetime.datetime + A list of datetime types. + + Examples + -------- + >>> from statsmodels.tsa.base.datetools import dates_from_range + >>> dates = dates_from_range('1960m1', length=24) + >>> dates[0] + datetime.datetime(1960, 1, 31, 0, 0) + >>> dates[-1] + datetime.datetime(1961, 12, 31, 0, 0) + """ + dates = date_range_str(start, end, length) + return dates_from_str(dates) diff --git a/shared/package-files/37/37ac92f8e48efdbaa9ae5420c8d106bb6ee5a20d271b8445aa64250199f2eb38/temporalisomorphvf2.py b/shared/package-files/37/37ac92f8e48efdbaa9ae5420c8d106bb6ee5a20d271b8445aa64250199f2eb38/temporalisomorphvf2.py new file mode 100644 index 0000000000000000000000000000000000000000..853e7cda23f1e48baa80849403915099ca36a20d --- /dev/null +++ b/shared/package-files/37/37ac92f8e48efdbaa9ae5420c8d106bb6ee5a20d271b8445aa64250199f2eb38/temporalisomorphvf2.py @@ -0,0 +1,308 @@ +""" +***************************** +Time-respecting VF2 Algorithm +***************************** + +An extension of the VF2 algorithm for time-respecting graph isomorphism +testing in temporal graphs. + +A temporal graph is one in which edges contain a datetime attribute, +denoting when interaction occurred between the incident nodes. A +time-respecting subgraph of a temporal graph is a subgraph such that +all interactions incident to a node occurred within a time threshold, +delta, of each other. A directed time-respecting subgraph has the +added constraint that incoming interactions to a node must precede +outgoing interactions from the same node - this enforces a sense of +directed flow. + +Introduction +------------ + +The TimeRespectingGraphMatcher and TimeRespectingDiGraphMatcher +extend the GraphMatcher and DiGraphMatcher classes, respectively, +to include temporal constraints on matches. This is achieved through +a semantic check, via the semantic_feasibility() function. + +As well as including G1 (the graph in which to seek embeddings) and +G2 (the subgraph structure of interest), the name of the temporal +attribute on the edges and the time threshold, delta, must be supplied +as arguments to the matching constructors. + +A delta of zero is the strictest temporal constraint on the match - +only embeddings in which all interactions occur at the same time will +be returned. A delta of one day will allow embeddings in which +adjacent interactions occur up to a day apart. + +Examples +-------- + +Examples will be provided when the datetime type has been incorporated. + + +Temporal Subgraph Isomorphism +----------------------------- + +A brief discussion of the somewhat diverse current literature will be +included here. + +References +---------- + +[1] Redmond, U. and Cunningham, P. Temporal subgraph isomorphism. In: +The 2013 IEEE/ACM International Conference on Advances in Social +Networks Analysis and Mining (ASONAM). Niagara Falls, Canada; 2013: +pages 1451 - 1452. [65] + +For a discussion of the literature on temporal networks: + +[3] P. Holme and J. Saramaki. Temporal networks. Physics Reports, +519(3):97–125, 2012. + +Notes +----- + +Handles directed and undirected graphs and graphs with parallel edges. + +""" + +import networkx as nx + +from .isomorphvf2 import DiGraphMatcher, GraphMatcher + +__all__ = ["TimeRespectingGraphMatcher", "TimeRespectingDiGraphMatcher"] + + +class TimeRespectingGraphMatcher(GraphMatcher): + def __init__(self, G1, G2, temporal_attribute_name, delta): + """Initialize TimeRespectingGraphMatcher. + + G1 and G2 should be nx.Graph or nx.MultiGraph instances. + + Examples + -------- + To create a TimeRespectingGraphMatcher which checks for + syntactic and semantic feasibility: + + >>> from networkx.algorithms import isomorphism + >>> from datetime import timedelta + >>> G1 = nx.Graph(nx.path_graph(4, create_using=nx.Graph())) + + >>> G2 = nx.Graph(nx.path_graph(4, create_using=nx.Graph())) + + >>> GM = isomorphism.TimeRespectingGraphMatcher( + ... G1, G2, "date", timedelta(days=1) + ... ) + """ + self.temporal_attribute_name = temporal_attribute_name + self.delta = delta + super().__init__(G1, G2) + + def one_hop(self, Gx, Gx_node, neighbors): + """ + Edges one hop out from a node in the mapping should be + time-respecting with respect to each other. + """ + dates = [] + for n in neighbors: + if isinstance(Gx, nx.Graph): # Graph G[u][v] returns the data dictionary. + dates.append(Gx[Gx_node][n][self.temporal_attribute_name]) + else: # MultiGraph G[u][v] returns a dictionary of key -> data dictionary. + for edge in Gx[Gx_node][ + n + ].values(): # Iterates all edges between node pair. + dates.append(edge[self.temporal_attribute_name]) + if any(x is None for x in dates): + raise ValueError("Datetime not supplied for at least one edge.") + return not dates or max(dates) - min(dates) <= self.delta + + def two_hop(self, Gx, core_x, Gx_node, neighbors): + """ + Paths of length 2 from Gx_node should be time-respecting. + """ + return all( + self.one_hop(Gx, v, [n for n in Gx[v] if n in core_x] + [Gx_node]) + for v in neighbors + ) + + def semantic_feasibility(self, G1_node, G2_node): + """Returns True if adding (G1_node, G2_node) is semantically + feasible. + + Any subclass which redefines semantic_feasibility() must + maintain the self.tests if needed, to keep the match() method + functional. Implementations should consider multigraphs. + """ + neighbors = [n for n in self.G1[G1_node] if n in self.core_1] + if not self.one_hop(self.G1, G1_node, neighbors): # Fail fast on first node. + return False + if not self.two_hop(self.G1, self.core_1, G1_node, neighbors): + return False + # Otherwise, this node is semantically feasible! + return True + + +class TimeRespectingDiGraphMatcher(DiGraphMatcher): + def __init__(self, G1, G2, temporal_attribute_name, delta): + """Initialize TimeRespectingDiGraphMatcher. + + G1 and G2 should be nx.DiGraph or nx.MultiDiGraph instances. + + Examples + -------- + To create a TimeRespectingDiGraphMatcher which checks for + syntactic and semantic feasibility: + + >>> from networkx.algorithms import isomorphism + >>> from datetime import timedelta + >>> G1 = nx.DiGraph(nx.path_graph(4, create_using=nx.DiGraph())) + + >>> G2 = nx.DiGraph(nx.path_graph(4, create_using=nx.DiGraph())) + + >>> GM = isomorphism.TimeRespectingDiGraphMatcher( + ... G1, G2, "date", timedelta(days=1) + ... ) + """ + self.temporal_attribute_name = temporal_attribute_name + self.delta = delta + super().__init__(G1, G2) + + def get_pred_dates(self, Gx, Gx_node, core_x, pred): + """ + Get the dates of edges from predecessors. + """ + pred_dates = [] + if isinstance(Gx, nx.DiGraph): # Graph G[u][v] returns the data dictionary. + for n in pred: + pred_dates.append(Gx[n][Gx_node][self.temporal_attribute_name]) + else: # MultiGraph G[u][v] returns a dictionary of key -> data dictionary. + for n in pred: + for edge in Gx[n][ + Gx_node + ].values(): # Iterates all edge data between node pair. + pred_dates.append(edge[self.temporal_attribute_name]) + return pred_dates + + def get_succ_dates(self, Gx, Gx_node, core_x, succ): + """ + Get the dates of edges to successors. + """ + succ_dates = [] + if isinstance(Gx, nx.DiGraph): # Graph G[u][v] returns the data dictionary. + for n in succ: + succ_dates.append(Gx[Gx_node][n][self.temporal_attribute_name]) + else: # MultiGraph G[u][v] returns a dictionary of key -> data dictionary. + for n in succ: + for edge in Gx[Gx_node][ + n + ].values(): # Iterates all edge data between node pair. + succ_dates.append(edge[self.temporal_attribute_name]) + return succ_dates + + def one_hop(self, Gx, Gx_node, core_x, pred, succ): + """ + The ego node. + """ + pred_dates = self.get_pred_dates(Gx, Gx_node, core_x, pred) + succ_dates = self.get_succ_dates(Gx, Gx_node, core_x, succ) + return self.test_one(pred_dates, succ_dates) and self.test_two( + pred_dates, succ_dates + ) + + def two_hop_pred(self, Gx, Gx_node, core_x, pred): + """ + The predeccessors of the ego node. + """ + return all( + self.one_hop( + Gx, + p, + core_x, + self.preds(Gx, core_x, p), + self.succs(Gx, core_x, p, Gx_node), + ) + for p in pred + ) + + def two_hop_succ(self, Gx, Gx_node, core_x, succ): + """ + The successors of the ego node. + """ + return all( + self.one_hop( + Gx, + s, + core_x, + self.preds(Gx, core_x, s, Gx_node), + self.succs(Gx, core_x, s), + ) + for s in succ + ) + + def preds(self, Gx, core_x, v, Gx_node=None): + pred = [n for n in Gx.predecessors(v) if n in core_x] + if Gx_node: + pred.append(Gx_node) + return pred + + def succs(self, Gx, core_x, v, Gx_node=None): + succ = [n for n in Gx.successors(v) if n in core_x] + if Gx_node: + succ.append(Gx_node) + return succ + + def test_one(self, pred_dates, succ_dates): + """ + Edges one hop out from Gx_node in the mapping should be + time-respecting with respect to each other, regardless of + direction. + """ + time_respecting = True + dates = pred_dates + succ_dates + + if any(x is None for x in dates): + raise ValueError("Date or datetime not supplied for at least one edge.") + + dates.sort() # Small to large. + if 0 < len(dates) and not (dates[-1] - dates[0] <= self.delta): + time_respecting = False + return time_respecting + + def test_two(self, pred_dates, succ_dates): + """ + Edges from a dual Gx_node in the mapping should be ordered in + a time-respecting manner. + """ + time_respecting = True + pred_dates.sort() + succ_dates.sort() + # First out before last in; negative of the necessary condition for time-respect. + if ( + 0 < len(succ_dates) + and 0 < len(pred_dates) + and succ_dates[0] < pred_dates[-1] + ): + time_respecting = False + return time_respecting + + def semantic_feasibility(self, G1_node, G2_node): + """Returns True if adding (G1_node, G2_node) is semantically + feasible. + + Any subclass which redefines semantic_feasibility() must + maintain the self.tests if needed, to keep the match() method + functional. Implementations should consider multigraphs. + """ + pred, succ = ( + [n for n in self.G1.predecessors(G1_node) if n in self.core_1], + [n for n in self.G1.successors(G1_node) if n in self.core_1], + ) + if not self.one_hop( + self.G1, G1_node, self.core_1, pred, succ + ): # Fail fast on first node. + return False + if not self.two_hop_pred(self.G1, G1_node, self.core_1, pred): + return False + if not self.two_hop_succ(self.G1, G1_node, self.core_1, succ): + return False + # Otherwise, this node is semantically feasible! + return True diff --git a/shared/package-files/37/37b00ab4cec42df2092e27bacef23e27af8e411067319bba00bd544b3ee11449/managed_window.py b/shared/package-files/37/37b00ab4cec42df2092e27bacef23e27af8e411067319bba00bd544b3ee11449/managed_window.py new file mode 100644 index 0000000000000000000000000000000000000000..81fa2541b4dd9e13534aabfd2a11bf88c479daf8 --- /dev/null +++ b/shared/package-files/37/37b00ab4cec42df2092e27bacef23e27af8e411067319bba00bd544b3ee11449/managed_window.py @@ -0,0 +1,106 @@ +from pyglet.window import Window +from pyglet.clock import Clock + +from threading import Thread, Lock + +gl_lock = Lock() + + +class ManagedWindow(Window): + """ + A pyglet window with an event loop which executes automatically + in a separate thread. Behavior is added by creating a subclass + which overrides setup, update, and/or draw. + """ + fps_limit = 30 + default_win_args = {"width": 600, + "height": 500, + "vsync": False, + "resizable": True} + + def __init__(self, **win_args): + """ + It is best not to override this function in the child + class, unless you need to take additional arguments. + Do any OpenGL initialization calls in setup(). + """ + + # check if this is run from the doctester + if win_args.get('runfromdoctester', False): + return + + self.win_args = dict(self.default_win_args, **win_args) + self.Thread = Thread(target=self.__event_loop__) + self.Thread.start() + + def __event_loop__(self, **win_args): + """ + The event loop thread function. Do not override or call + directly (it is called by __init__). + """ + gl_lock.acquire() + try: + try: + super().__init__(**self.win_args) + self.switch_to() + self.setup() + except Exception as e: + print("Window initialization failed: %s" % (str(e))) + self.has_exit = True + finally: + gl_lock.release() + + clock = Clock() + clock.fps_limit = self.fps_limit + while not self.has_exit: + dt = clock.tick() + gl_lock.acquire() + try: + try: + self.switch_to() + self.dispatch_events() + self.clear() + self.update(dt) + self.draw() + self.flip() + except Exception as e: + print("Uncaught exception in event loop: %s" % str(e)) + self.has_exit = True + finally: + gl_lock.release() + super().close() + + def close(self): + """ + Closes the window. + """ + self.has_exit = True + + def setup(self): + """ + Called once before the event loop begins. + Override this method in a child class. This + is the best place to put things like OpenGL + initialization calls. + """ + pass + + def update(self, dt): + """ + Called before draw during each iteration of + the event loop. dt is the elapsed time in + seconds since the last update. OpenGL rendering + calls are best put in draw() rather than here. + """ + pass + + def draw(self): + """ + Called after update during each iteration of + the event loop. Put OpenGL rendering calls + here. + """ + pass + +if __name__ == '__main__': + ManagedWindow() diff --git a/shared/package-files/37/37b3b999f0965afb96b77515b777c67b6932f56b517908f3f0e5511c79058040/d220 b/shared/package-files/37/37b3b999f0965afb96b77515b777c67b6932f56b517908f3f0e5511c79058040/d220 new file mode 100644 index 0000000000000000000000000000000000000000..471c0840b2717af8fb9a5bf7039ae7a46e3aeac8 Binary files /dev/null and b/shared/package-files/37/37b3b999f0965afb96b77515b777c67b6932f56b517908f3f0e5511c79058040/d220 differ diff --git a/shared/package-files/37/37b5f1e245dfdf2540a1c4e509741e27706d89034f14f41574bd6232eca5e56e/NID.py b/shared/package-files/37/37b5f1e245dfdf2540a1c4e509741e27706d89034f14f41574bd6232eca5e56e/NID.py new file mode 100644 index 0000000000000000000000000000000000000000..2f649178f5950593434fd33aff5499eaf0d697b0 --- /dev/null +++ b/shared/package-files/37/37b5f1e245dfdf2540a1c4e509741e27706d89034f14f41574bd6232eca5e56e/NID.py @@ -0,0 +1,47 @@ +# Copyright (C) Dnspython Contributors, see LICENSE for text of ISC license + +import struct + +import dns.immutable +import dns.rdtypes.util + + +@dns.immutable.immutable +class NID(dns.rdata.Rdata): + """NID record""" + + # see: rfc6742.txt + + __slots__ = ["preference", "nodeid"] + + def __init__(self, rdclass, rdtype, preference, nodeid): + super().__init__(rdclass, rdtype) + self.preference = self._as_uint16(preference) + if isinstance(nodeid, bytes): + if len(nodeid) != 8: + raise ValueError("invalid nodeid") + self.nodeid = dns.rdata._hexify(nodeid, 4, b":") + else: + dns.rdtypes.util.parse_formatted_hex(nodeid, 4, 4, ":") + self.nodeid = nodeid + + def to_text(self, origin=None, relativize=True, **kw): + return f"{self.preference} {self.nodeid}" + + @classmethod + def from_text( + cls, rdclass, rdtype, tok, origin=None, relativize=True, relativize_to=None + ): + preference = tok.get_uint16() + nodeid = tok.get_identifier() + return cls(rdclass, rdtype, preference, nodeid) + + def _to_wire(self, file, compress=None, origin=None, canonicalize=False): + file.write(struct.pack("!H", self.preference)) + file.write(dns.rdtypes.util.parse_formatted_hex(self.nodeid, 4, 4, ":")) + + @classmethod + def from_wire_parser(cls, rdclass, rdtype, parser, origin=None): + preference = parser.get_uint16() + nodeid = parser.get_remaining() + return cls(rdclass, rdtype, preference, nodeid) diff --git a/shared/package-files/37/37b9f219714d72083c28f45d719c91d8acbadb825fdbfa1e5a242f2eacd437e8/linalg_inv_native.h b/shared/package-files/37/37b9f219714d72083c28f45d719c91d8acbadb825fdbfa1e5a242f2eacd437e8/linalg_inv_native.h new file mode 100644 index 0000000000000000000000000000000000000000..bc9263d7d6e73cd4579f7a17d26bcd2f4e3419e7 --- /dev/null +++ b/shared/package-files/37/37b9f219714d72083c28f45d719c91d8acbadb825fdbfa1e5a242f2eacd437e8/linalg_inv_native.h @@ -0,0 +1,22 @@ +#pragma once + +// @generated by torchgen/gen.py from NativeFunction.h + +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include + + +namespace at { +namespace native { +TORCH_API at::Tensor linalg_inv(const at::Tensor & A); +TORCH_API at::Tensor & linalg_inv_out(const at::Tensor & A, at::Tensor & out); +} // namespace native +} // namespace at diff --git a/shared/package-files/37/37bee320b6a7b8b0d590bb1dba35d94aef9db078b0379308a7087b7cc5227eca/GMT-3 b/shared/package-files/37/37bee320b6a7b8b0d590bb1dba35d94aef9db078b0379308a7087b7cc5227eca/GMT-3 new file mode 100644 index 0000000000000000000000000000000000000000..27973bc857b4e618218ca2790acacb81f7c7bb82 Binary files /dev/null and b/shared/package-files/37/37bee320b6a7b8b0d590bb1dba35d94aef9db078b0379308a7087b7cc5227eca/GMT-3 differ diff --git a/shared/package-files/37/37bf9360caaf4d378bcffd465553b2e86f1d03bdd6df60bf8ef661724dd125c8/embedding_bag_native.h b/shared/package-files/37/37bf9360caaf4d378bcffd465553b2e86f1d03bdd6df60bf8ef661724dd125c8/embedding_bag_native.h new file mode 100644 index 0000000000000000000000000000000000000000..73da1d25b6c50b354ad6792772fca0149a3acebd --- /dev/null +++ b/shared/package-files/37/37bf9360caaf4d378bcffd465553b2e86f1d03bdd6df60bf8ef661724dd125c8/embedding_bag_native.h @@ -0,0 +1,22 @@ +#pragma once + +// @generated by torchgen/gen.py from NativeFunction.h + +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include + + +namespace at { +namespace native { +TORCH_API ::std::tuple embedding_bag(const at::Tensor & weight, const at::Tensor & indices, const at::Tensor & offsets, bool scale_grad_by_freq=false, int64_t mode=0, bool sparse=false, const c10::optional & per_sample_weights={}, bool include_last_offset=false); +TORCH_API ::std::tuple embedding_bag(const at::Tensor & weight, const at::Tensor & indices, const at::Tensor & offsets, bool scale_grad_by_freq, int64_t mode, bool sparse, const c10::optional & per_sample_weights, bool include_last_offset, c10::optional padding_idx); +} // namespace native +} // namespace at diff --git a/shared/package-files/37/37c1e306bf1b9a209fa9fd07fc14ae485c47f5c33eb12ec0626bef2b734c3c51/gruvbox.py b/shared/package-files/37/37c1e306bf1b9a209fa9fd07fc14ae485c47f5c33eb12ec0626bef2b734c3c51/gruvbox.py new file mode 100644 index 0000000000000000000000000000000000000000..1f2ac2139c5a0e5563d6b3662134f5068c54a358 --- /dev/null +++ b/shared/package-files/37/37c1e306bf1b9a209fa9fd07fc14ae485c47f5c33eb12ec0626bef2b734c3c51/gruvbox.py @@ -0,0 +1,109 @@ +""" + pygments.styles.gruvbox + ~~~~~~~~~~~~~~~~~~~~~~~ + + pygments version of the "gruvbox" vim theme. + https://github.com/morhetz/gruvbox + + :copyright: Copyright 2006-2023 by the Pygments team, see AUTHORS. + :license: BSD, see LICENSE for details. +""" + +from pygments.style import Style +from pygments.token import Token, Keyword, Name, Comment, String, Error, \ + Number, Operator, Generic + + +class GruvboxDarkStyle(Style): + """ + Pygments version of the "gruvbox" dark vim theme. + """ + + background_color = '#282828' + highlight_color = '#ebdbb2' + + styles = { + Token: '#dddddd', + + Comment: 'italic #928374', + Comment.PreProc: '#8ec07c', + Comment.Special: 'bold italic #ebdbb2', + + Keyword: '#fb4934', + Operator.Word: '#fb4934', + + String: '#b8bb26', + String.Escape: '#fe8019', + + Number: '#d3869b', + + Name.Builtin: '#fe8019', + Name.Variable: '#83a598', + Name.Constant: '#d3869b', + Name.Class: '#8ec07c', + Name.Function: '#8ec07c', + Name.Namespace: '#8ec07c', + Name.Exception: '#fb4934', + Name.Tag: '#8ec07c', + Name.Attribute: '#fabd2f', + Name.Decorator: '#fb4934', + + Generic.Heading: 'bold #ebdbb2', + Generic.Subheading: 'underline #ebdbb2', + Generic.Deleted: 'bg:#fb4934 #282828', + Generic.Inserted: 'bg:#b8bb26 #282828', + Generic.Error: '#fb4934', + Generic.Emph: 'italic', + Generic.Strong: 'bold', + Generic.Prompt: '#a89984', + Generic.Output: '#f2e5bc', + Generic.Traceback: '#fb4934', + + Error: 'bg:#fb4934 #282828' + } + +class GruvboxLightStyle(Style): + """ + Pygments version of the "gruvbox" Light vim theme. + """ + + background_color = '#fbf1c7' + highlight_color = '#3c3836' + + styles = { + Comment: 'italic #928374', + Comment.PreProc: '#427b58', + Comment.Special: 'bold italic #3c3836', + + Keyword: '#9d0006', + Operator.Word: '#9d0006', + + String: '#79740e', + String.Escape: '#af3a03', + + Number: '#8f3f71', + + Name.Builtin: '#af3a03', + Name.Variable: '#076678', + Name.Constant: '#8f3f71', + Name.Class: '#427b58', + Name.Function: '#427b58', + Name.Namespace: '#427b58', + Name.Exception: '#9d0006', + Name.Tag: '#427b58', + Name.Attribute: '#b57614', + Name.Decorator: '#9d0006', + + Generic.Heading: 'bold #3c3836', + Generic.Subheading: 'underline #3c3836', + Generic.Deleted: 'bg:#9d0006 #fbf1c7', + Generic.Inserted: 'bg:#79740e #fbf1c7', + Generic.Error: '#9d0006', + Generic.Emph: 'italic', + Generic.Strong: 'bold', + Generic.Prompt: '#7c6f64', + Generic.Output: '#32302f', + Generic.Traceback: '#9d0006', + + Error: 'bg:#9d0006 #fbf1c7' + } diff --git a/shared/package-files/37/37c370fa5e57bb194d11a9cbc0bb1edf5bf0bb2f94d1e8af53136e22a407cb58/Q310-vip-w b/shared/package-files/37/37c370fa5e57bb194d11a9cbc0bb1edf5bf0bb2f94d1e8af53136e22a407cb58/Q310-vip-w new file mode 100644 index 0000000000000000000000000000000000000000..b710a2ad61c382cef881615866da3db06abb6f4b Binary files /dev/null and b/shared/package-files/37/37c370fa5e57bb194d11a9cbc0bb1edf5bf0bb2f94d1e8af53136e22a407cb58/Q310-vip-w differ diff --git a/shared/package-files/37/37c370fa5e57bb194d11a9cbc0bb1edf5bf0bb2f94d1e8af53136e22a407cb58/Q310-vip-w-am b/shared/package-files/37/37c370fa5e57bb194d11a9cbc0bb1edf5bf0bb2f94d1e8af53136e22a407cb58/Q310-vip-w-am new file mode 100644 index 0000000000000000000000000000000000000000..b710a2ad61c382cef881615866da3db06abb6f4b Binary files /dev/null and b/shared/package-files/37/37c370fa5e57bb194d11a9cbc0bb1edf5bf0bb2f94d1e8af53136e22a407cb58/Q310-vip-w-am differ diff --git a/shared/package-files/37/37c370fa5e57bb194d11a9cbc0bb1edf5bf0bb2f94d1e8af53136e22a407cb58/vip-w b/shared/package-files/37/37c370fa5e57bb194d11a9cbc0bb1edf5bf0bb2f94d1e8af53136e22a407cb58/vip-w new file mode 100644 index 0000000000000000000000000000000000000000..b710a2ad61c382cef881615866da3db06abb6f4b Binary files /dev/null and b/shared/package-files/37/37c370fa5e57bb194d11a9cbc0bb1edf5bf0bb2f94d1e8af53136e22a407cb58/vip-w differ diff --git a/shared/package-files/37/37c370fa5e57bb194d11a9cbc0bb1edf5bf0bb2f94d1e8af53136e22a407cb58/vip7800-w b/shared/package-files/37/37c370fa5e57bb194d11a9cbc0bb1edf5bf0bb2f94d1e8af53136e22a407cb58/vip7800-w new file mode 100644 index 0000000000000000000000000000000000000000..b710a2ad61c382cef881615866da3db06abb6f4b Binary files /dev/null and b/shared/package-files/37/37c370fa5e57bb194d11a9cbc0bb1edf5bf0bb2f94d1e8af53136e22a407cb58/vip7800-w differ diff --git a/shared/package-files/37/37c48dea8595a3790bf0e49fe4dfe2b01602b8053cec3ddd41d7bb63d915b654/sparse.py b/shared/package-files/37/37c48dea8595a3790bf0e49fe4dfe2b01602b8053cec3ddd41d7bb63d915b654/sparse.py new file mode 100644 index 0000000000000000000000000000000000000000..ce80886afdeeb262aad47b74b27e345f3e3838fc --- /dev/null +++ b/shared/package-files/37/37c48dea8595a3790bf0e49fe4dfe2b01602b8053cec3ddd41d7bb63d915b654/sparse.py @@ -0,0 +1,933 @@ +# mypy: ignore-errors + +import os + +import torch +from torch.testing import make_tensor # noqa: F401 +from torch.testing._internal.opinfo.core import ( # noqa: F401 + BinaryUfuncInfo, + ErrorInput, + generate_elementwise_binary_tensors, + ReductionOpInfo, + sample_inputs_reduction, + SampleInput, +) + + +def _check_validate(op_info, sample): + def _check_fail(sample): + try: + op_info( + sample.sample_input.input, + *sample.sample_input.args, + **sample.sample_input.kwargs, + ) + except sample.error_type: + pass + except Exception as msg: + raise AssertionError( # noqa: TRY200 + f"{op_info.name} on {sample.sample_input=} expected exception " + f"{sample.error_type}: {sample.error_regex}, got {type(msg).__name__}: {msg}" + ) + else: + raise AssertionError( + f"{op_info.name} on {sample.sample_input=} expected exception " + f"{sample.error_type}: {sample.error_regex}, got none." + ) + + def _check_success(sample): + try: + op_info(sample.input, *sample.args, **sample.kwargs) + except Exception as msg: + raise AssertionError( # noqa: TRY200 + f"{op_info.name} on {sample=} expected to succeed " + f", got {type(msg).__name__}: {msg}" + ) + + if isinstance(sample, ErrorInput): + _check_fail(sample) + else: + _check_success(sample) + + +def _sample_inputs_sparse( + sample_inputs, + maybe_failing_sample_inputs, + validate_sample_input, + op_info, + *args, + **kwargs, +): + check_validate = ( + os.environ.get("PYTORCH_TEST_CHECK_VALIDATE_SPARSE_SAMPLES", "0") == "1" + ) + for sample in sample_inputs(op_info, *args, **kwargs): + sample = validate_sample_input(op_info, sample, check_validate=check_validate) + if isinstance(sample, SampleInput): + yield sample + # Error inputs are handled in error_inputs_sparse + + for sample in maybe_failing_sample_inputs(op_info, *args, **kwargs): + sample = validate_sample_input(op_info, sample, check_validate=check_validate) + if isinstance(sample, SampleInput): + yield sample + + +def _error_inputs_sparse( + maybe_failing_sample_inputs, validate_sample_input, op_info, *args, **kwargs +): + check_validate = ( + os.environ.get("PYTORCH_TEST_CHECK_VALIDATE_SPARSE_SAMPLES", "0") == "1" + ) + for sample in maybe_failing_sample_inputs(op_info, *args, **kwargs): + sample = validate_sample_input(op_info, sample, check_validate=check_validate) + if isinstance(sample, ErrorInput): + yield sample + # Sample inputs are handled in sample_inputs_sparse + + +def _apply_requires_grad_to_samples(sample_inputs): + """Decorator to _maybe_failing_sample_inputs_... generator functions + that clones and sets requires_grad argument to tensors in sample + input arguments. This is needed when the generated samples share + tensor instances. + """ + + def wrapper(op_info, device, dtype, requires_grad, layout, **kwargs): + def apply_requires_grad(x): + if ( + not isinstance(x, torch.Tensor) + or x.requires_grad + or not requires_grad + or not (x.is_floating_point() or x.is_complex()) + ): + return x + return x.detach().clone().requires_grad_(requires_grad) + + if requires_grad: + for sample_input in sample_inputs( + op_info, device, dtype, requires_grad, layout, **kwargs + ): + yield sample_input.transform(apply_requires_grad) + else: + yield from sample_inputs( + op_info, device, dtype, requires_grad, layout, **kwargs + ) + + return wrapper + + +def sample_inputs_sparse_reduction( + op_info, device, dtype, requires_grad, layout, blocksize=None, **kwargs +): + """Sample inputs for reduction operations on sparse tensors.""" + layout_name = str(layout).split(".", 1)[-1].rsplit("_coo", 1)[0] + op_supports_layout = getattr(op_info, "supports_" + layout_name) + if not op_supports_layout: + return + + for sample_input in sample_inputs_reduction( + op_info, device, dtype, requires_grad, **kwargs + ): + if sample_input.input.ndim == 0: + # scalar sparse tensors are not supported + continue + + if layout in { + torch.sparse_csr, + torch.sparse_csc, + torch.sparse_bsr, + torch.sparse_bsc, + }: + if sample_input.input.ndim < 2: + # conversion to sparse compressed tensors requires at + # least 2 dimensional tensors + continue + if sample_input.input.ndim > 2 and (sample_input.input == 0).any(): + # Skip batched sparse compressed samples that contain + # explicit zeros because to_sparse(layout=..) will + # fail, see gh-98495. + # TODO: remove this if-block after gh-98495 is fixed. + continue + + if layout in {torch.sparse_bsr, torch.sparse_bsc} and blocksize is None: + blocksize = (1, 1) + + yield SampleInput( + sample_input.input.detach() + .to_sparse(layout=layout, blocksize=blocksize) + .requires_grad_(requires_grad), + args=sample_input.args, + kwargs=sample_input.kwargs, + ) + + if layout is torch.sparse_coo and (dtype.is_floating_point or dtype.is_complex): + # uncoalesced samples + inp = sample_input.input.detach().to_sparse(layout=layout) + inp = torch.sparse_coo_tensor( + inp.indices().repeat(1, 2), + inp.values().repeat(2), + inp.shape, + dtype=inp.dtype, + device=inp.device, + ) + assert not inp.is_coalesced() + yield SampleInput( + inp.requires_grad_(requires_grad), + args=sample_input.args, + kwargs=sample_input.kwargs, + ) + + if sample_input.input.ndim > 2: + # hybrid samples + yield SampleInput( + sample_input.input.detach() + .to_sparse( + layout=layout, + blocksize=blocksize, + dense_dim=sample_input.input.ndim - 2, + ) + .requires_grad_(requires_grad), + args=sample_input.args, + kwargs=sample_input.kwargs, + ) + + +def _validate_sample_input_sparse_reduction(op_info, sample, check_validate=False): + """Return the specified sample when it is valid and supported by the + operation. Otherwise, return the sample as ErrorInput instance. + + When check_validate is True, the result is validated against + calling the op on the sample. + """ + UNSPECIFIED = object() + if op_info.name == "sum": + sample = _validate_sample_input_sparse_reduction_sum(sample) + + if op_info.name in {"masked.sum"}: + mask = sample.kwargs.get("mask", UNSPECIFIED) + if ( + mask not in {None, UNSPECIFIED} + and mask.ndim > 2 + and mask.layout is torch.strided + and (mask == 0).any() + ): + # TODO: remove this if-block after gh-98495 is fixed. + sample = ErrorInput( + sample, + error_regex="Expect the same number of specified elements per batch.", + ) + elif not sample.kwargs.get("keepdim"): + sample = ErrorInput( + sample, + error_type=(AssertionError, RuntimeError), + error_regex="reduction operations on (CSR|CSC) tensors with keepdim=False is unsupported", + ) + elif mask is UNSPECIFIED: + sample = ErrorInput( + sample, + error_type=ValueError, + error_regex="masked (.*) expects explicit mask for sparse_csr tensor input", + ) + elif sample.input.ndim > 2: + sample = ErrorInput( + sample, + error_regex="crow_indices is supposed to be a vector, but got 3 dimensional tensor.", + ) + + if op_info.name in {"masked.amax", "masked.amin", "masked.mean", "masked.prod"}: + t_inp = sample.input + batch_dim = t_inp.dim() - t_inp.dense_dim() - t_inp.sparse_dim() + mask = sample.kwargs.get("mask") + if ( + mask is not None + and mask.ndim > 2 + and mask.layout is torch.strided + and (mask == 0).any() + ): + # TODO: remove this if-block after gh-98495 is fixed. + sample = ErrorInput( + sample, + error_regex="Expect the same number of specified elements per batch.", + ) + elif mask is None: + sample = ErrorInput( + sample, + error_type=ValueError, + error_regex="masked (.*) expects explicit mask for sparse_csr tensor input", + ) + elif ( + mask.layout is sample.input.layout + and mask.ndim > 2 + and op_info.name == "masked.mean" + ): + sample = ErrorInput( + sample, + error_type=TypeError, + error_regex=( + "where[(][)] received an invalid combination of arguments" + " - got [(]Tensor, Tensor, NoneType[)]" + ), + ) + elif not sample.kwargs.get("keepdim"): + sample = ErrorInput( + sample, + error_type=(AssertionError, RuntimeError), + error_regex="reduction operations on (CSR|CSC) tensors with keepdim=False is unsupported", + ) + elif ( + sample.input.ndim > 2 + and (sample.kwargs.get("dim") not in {0, 1}) + and mask.ndim > 2 + and mask.layout is not torch.strided + ): + if sample.kwargs.get("dim") == (0, -1): + sample = ErrorInput( + sample, + error_regex="tensor dimensionality must be sum of batch, base, and dense dimensionalities", + ) + elif op_info.name == "masked.prod": + sample = ErrorInput( + sample, + error_regex="input_dim == 2 INTERNAL ASSERT FAILED at", + ) + else: + sample = ErrorInput( + sample, + error_type=AssertionError, + error_regex="Sparse CSR tensors are 2D and only support reduction along dim 0 or 1.", + ) + elif sample.input.ndim > 2: + sample = ErrorInput( + sample, + error_regex="crow_indices is supposed to be a vector, but got 3 dimensional tensor.", + ) + elif ( + mask.layout is t_inp.layout + and mask._nnz() != t_inp._nnz() + and t_inp.dense_dim() > 0 + ): + sample = ErrorInput( + sample, + error_regex="Index tensor must have the same number of dimensions as src tensor", + ) + + if check_validate: + _check_validate(op_info, sample) + + return sample + + +def _validate_sample_input_sparse_reduction_sum(sample, check_validate=False): + # NOTE: When fixing a failing sample case, remove the + # corresponding if-block + t_inp, t_args, t_kwargs = sample.input, sample.args, sample.kwargs + dim = t_kwargs.get("dim") + keepdim = t_kwargs.get("keepdim") + layout = t_inp.layout + if isinstance(dim, (int, list, tuple)): + if layout in { + torch.sparse_csr, + torch.sparse_csc, + torch.sparse_bsr, + torch.sparse_bsc, + }: + if layout in {torch.sparse_csc, torch.sparse_bsr, torch.sparse_bsc}: + return ErrorInput( + sample, + error_regex=( + "Currently the only compressed sparse format supported for sum.dim_IntList is CSR, but got layout" + ), + ) + if layout in {torch.sparse_csr, torch.sparse_csc} and not keepdim: + return ErrorInput( + sample, + error_regex=( + "reduction operations on CSR tensors with keepdim=False is unsupported" + ), + ) + if t_inp.dim() != 2: + return ErrorInput( + sample, + error_regex=("input_dim == 2 INTERNAL ASSERT"), + ) + if layout == torch.sparse_csr: + if t_inp.dtype == torch.bool: + return ErrorInput( + sample, + error_regex=("_sparse_csr_sum_cpu not implemented for 'Bool'"), + ) + if t_inp.dtype == torch.complex32: + return ErrorInput( + sample, + error_regex=( + "_sparse_csr_sum_cuda not implemented for 'ComplexHalf'" + ), + ) + return sample + + +def _maybe_failing_sample_inputs_sparse_reduction_sum( + op_info, device, dtype, requires_grad, layout, **kwargs +): + """Generator of samples that are known to fail or that were failing in past.""" + # NOTE: When fixing a failing case, remove the Exception comment + # but keep the `yield sample` statement. + if layout in [ + torch.sparse_csr, + torch.sparse_csc, + ]: + # NotImplementedError: Could not run 'aten::sum.IntList_out' with arguments from the 'SparseCsrCPU' backend. + yield SampleInput( + torch.tensor([[0, 1], [2, 3]], dtype=dtype) + .to_sparse(layout=layout) + .requires_grad_(requires_grad), + kwargs=dict(dim=0, keepdim=True), + ) + yield SampleInput( + torch.tensor([[[0, 1]], [[2, 3]]], dtype=dtype) + .to_sparse(layout=layout, dense_dim=1) + .requires_grad_(requires_grad), + kwargs=dict(dim=0), + ) + yield SampleInput( + torch.tensor([[0, 1], [2, 3]], dtype=dtype) + .to_sparse(layout=layout) + .requires_grad_(requires_grad), + kwargs=dict(dim=(0,)), + ) + yield SampleInput( + torch.tensor([[0, 1], [2, 3]], dtype=dtype) + .to_sparse(layout=layout) + .requires_grad_(requires_grad), + kwargs=dict(dim=(0,), keepdim=True), + ) + yield SampleInput( + torch.tensor([[[0, 1]], [[2, 3]]], dtype=dtype) + .to_sparse(layout=layout, dense_dim=1) + .requires_grad_(requires_grad), + kwargs=dict(dim=(0,)), + ) + + # RuntimeError: torch.empty: Only batched sparse compressed (non-block) tensors are supported, but got size [2] + yield SampleInput( + torch.tensor([[0, 1], [2, 3]], dtype=dtype) + .to_sparse(layout=layout) + .requires_grad_(requires_grad), + kwargs=dict(dim=0), + ) + + if layout in [ + torch.sparse_bsr, + torch.sparse_bsc, + ]: + # RuntimeError: empty_sparse_compressed expected sparse compressed (non-block) tensor layout but got SparseBsr + yield SampleInput( + torch.tensor([[0, 1], [2, 3]], dtype=dtype) + .to_sparse(layout=layout, blocksize=(2, 2)) + .requires_grad_(requires_grad), + kwargs=dict(dim=0, keepdim=True), + ) + yield SampleInput( + torch.tensor([[[0, 1]], [[2, 3]]], dtype=dtype) + .to_sparse(layout=layout, dense_dim=1, blocksize=(1, 1)) + .requires_grad_(requires_grad), + kwargs=dict(dim=0), + ) + yield SampleInput( + torch.tensor([[0, 1], [2, 3]], dtype=dtype) + .to_sparse(layout=layout, blocksize=(1, 1)) + .requires_grad_(requires_grad), + kwargs=dict(dim=(0,)), + ) + yield SampleInput( + torch.tensor([[0, 1], [2, 3]], dtype=dtype) + .to_sparse(layout=layout, blocksize=(1, 1)) + .requires_grad_(requires_grad), + kwargs=dict(dim=(0,), keepdim=True), + ) + yield SampleInput( + torch.tensor([[[0, 1]], [[2, 3]]], dtype=dtype) + .to_sparse(layout=layout, blocksize=(1, 1), dense_dim=1) + .requires_grad_(requires_grad), + kwargs=dict(dim=(0,)), + ) + + # RuntimeError: torch.empty: Only batched sparse compressed (non-block) tensors are supported, but got size [2] + yield SampleInput( + torch.tensor([[0, 1], [2, 3]], dtype=dtype) + .to_sparse(layout=layout, blocksize=(1, 1)) + .requires_grad_(requires_grad), + kwargs=dict(dim=0), + ) + + +def sample_inputs_sparse_reduction_sum( + op_info, device, dtype, requires_grad, layout, **kwargs +): + """Sample inputs for sum on sparse tensors.""" + yield from _sample_inputs_sparse( + sample_inputs_sparse_reduction, + _maybe_failing_sample_inputs_sparse_reduction_sum, + _validate_sample_input_sparse_reduction, + op_info, + device, + dtype, + requires_grad, + layout, + **kwargs, + ) + + +def error_inputs_sparse_reduction_sum(op_info, device, layout, **kwargs): + """Error inputs for sum on sparse tensors.""" + dtype = torch.float64 + requires_grad = False + yield from _error_inputs_sparse( + _maybe_failing_sample_inputs_sparse_reduction_sum, + _validate_sample_input_sparse_reduction, + op_info, + device, + dtype, + requires_grad, + layout, + **kwargs, + ) + + +def sample_inputs_sparse_elementwise_binary_operation( + op_info, device, dtype, requires_grad, layout, **kwargs +): + """Sample inputs for elementwise binary operations on sparse tensors. + + The samples include regular, zero-sized, batched, and hybrid + sparse tensors as well as rhs scalars. All tensors are full tensors. + """ + + def _to_sparse(tensor, **kwargs): + return tensor.detach().to_sparse(**kwargs).requires_grad_(requires_grad) + + for sample_input in generate_elementwise_binary_tensors( + op_info, + device=device, + dtype=dtype, + requires_grad=requires_grad, + exclude_zero=True, + **kwargs, + ): + lhs, rhs = sample_input.input, sample_input.args[0] + min_dense_dim = 0 + max_dense_dim = lhs.ndim - 1 + if layout in { + torch.sparse_csr, + torch.sparse_csc, + torch.sparse_bsr, + torch.sparse_bsc, + }: + if lhs.ndim < 2: + # sparse compressed tensors sparse_dim must be 2 + continue + max_dense_dim = lhs.ndim - 2 + + for dense_dim in range(min_dense_dim, max_dense_dim + 1): + if layout in {torch.sparse_bsr, torch.sparse_bsc}: + blocksizes = [(1, 1)] + if lhs.numel() > 0: + blocksizes.append( + ( + lhs.shape[lhs.ndim - 2 - dense_dim], + lhs.shape[lhs.ndim - 1 - dense_dim], + ) + ) + else: + blocksizes = [None] + for blocksize in blocksizes: + to_sparse_kwargs = dict( + layout=layout, dense_dim=dense_dim, blocksize=blocksize + ) + lhs_sparse = _to_sparse(lhs, **to_sparse_kwargs) + rhs_sparse = _to_sparse(rhs, **to_sparse_kwargs) + # op(sparse, sparse) + yield SampleInput( + lhs_sparse, + args=(rhs_sparse, *sample_input.args[1:]), + kwargs=sample_input.kwargs, + ) + # op(sparse, scalar) + yield SampleInput( + lhs_sparse, + args=( + make_tensor( + (), dtype=dtype, device=device, requires_grad=requires_grad + ), + *sample_input.args[1:], + ), + kwargs=sample_input.kwargs, + ) + + +def _validate_sample_input_elementwise_binary_sparse_mul(sample): + # NOTE: When fixing a failing sample case, remove the + # corresponding if-block + t_inp, t_args, t_kwargs = sample.input, sample.args, sample.kwargs + batch_dim = t_inp.dim() - t_inp.dense_dim() - t_inp.sparse_dim() + layout = t_inp.layout + dtype = t_inp.dtype + if layout is torch.sparse_csr and batch_dim > 0 and t_args[0].ndim > 0: + return ErrorInput( + sample, + error_regex=( + "coo_to_sparse_csr: conversion from Sparse to SparseCsr for input" + " tensors with sparse_dim[(][)]!=2 is not supported" + ), + ) + elif layout is torch.sparse_csc and t_args[0].ndim > 0: + return ErrorInput( + sample, error_regex="Expected result Tensor to be of format CSR" + ) + elif layout is torch.sparse_bsr and t_args[0].ndim > 0: + return ErrorInput( + sample, + error_regex="empty_sparse_compressed expected sparse compressed [(]non-block[)] tensor layout but got SparseBsr", + ) + elif layout is torch.sparse_bsc and t_args[0].ndim > 0: + return ErrorInput( + sample, + error_regex="empty_sparse_compressed expected sparse compressed [(]non-block[)] tensor layout but got SparseBsc", + ) + elif ( + layout is torch.sparse_coo + and dtype is torch.bool + and t_args[0].ndim > 0 + and t_inp.is_cpu + and t_inp.numel() > 0 + and t_inp.dense_dim() > 0 + ): + return ErrorInput( + sample, error_regex="\"addcmul_cpu_out\" not implemented for 'Bool'" + ) + elif ( + layout in {torch.sparse_coo, torch.sparse_csr} + and dtype is torch.bool + and t_inp._nnz() > 0 + and t_args[0].ndim > 0 + and t_inp.is_cpu + and t_inp.numel() > 0 + ): + return ErrorInput( + sample, error_regex="\"mul_out_sparse\" not implemented for 'Bool'" + ) + elif ( + layout is torch.sparse_csr + and t_args[0].layout is torch.strided + and 0 < t_args[0].ndim + and t_args[0].ndim < t_inp.ndim + ): + return ErrorInput( + sample, error_regex="sparse_mask_sparse_csr expects self to be 2D" + ) + elif layout is torch.sparse_csr and ( + (t_args[0].layout is torch.strided and 0 < t_args[0].ndim) + or (t_args[0].layout is layout and t_inp.shape != t_args[0].shape) + ): + return ErrorInput( + sample, + error_regex=( + "expects sparse inputs with equal dimensionality, number of sparse dimensions," + " and shape of sparse dimensions" + ), + ) + elif ( + layout is torch.sparse_csr + and t_inp.dense_dim() > 0 + and t_inp._nnz() > 0 + and t_inp.is_cpu + and dtype is torch.float16 + and t_args[0].ndim > 0 + ): + return ErrorInput( + sample, error_regex="\"addcmul_cpu_out\" not implemented for 'Half'" + ) + return sample + + +@_apply_requires_grad_to_samples +def _maybe_failing_sample_inputs_sparse_elementwise_binary_mul( + op_info, device, dtype, requires_grad, layout, **kwargs +): + """Generator of samples that are known to fail or that were failing in past.""" + # NOTE: When fixing a failing case, remove the Exception comment + # but keep the `yield sample` statement. + + blocksize = (1, 1) if layout in {torch.sparse_bsr, torch.sparse_bsc} else None + regular = torch.tensor([[1, 2], [3, 4]], device=device, dtype=dtype).to_sparse( + layout=layout, dense_dim=0, blocksize=blocksize + ) + batch = torch.tensor( + [[[1, 2], [3, 4]], [[4, 5], [6, 7]]], device=device, dtype=dtype + ).to_sparse(layout=layout, dense_dim=0, blocksize=blocksize) + hybrid = torch.tensor( + [[[1], [2]], [[3], [4]]], device=device, dtype=dtype + ).to_sparse(layout=layout, dense_dim=1, blocksize=blocksize) + + if layout is torch.sparse_csr: + # RuntimeError: crow_indices is supposed to be a vector, but got 2 dimensional tensor + yield SampleInput(batch, args=(batch,)) + # RuntimeError: Only tensors with two sparse dimensions can be + # converted to the SparseCsr layout, got self with 3 sparse + # dimensions. + yield SampleInput( + torch.zeros_like(hybrid).requires_grad_(requires_grad), + args=(torch.zeros_like(hybrid).requires_grad_(requires_grad),), + ) + if dtype is torch.complex32: + # RuntimeError: "mul_out_sparse" not implemented for 'ComplexHalf' + yield SampleInput(regular, args=(regular,)) + if dtype is torch.bool and regular.is_cpu: + # RuntimeError: "mul_out_sparse" not implemented for 'Bool' + yield SampleInput(regular, args=(regular,)) + if layout is torch.sparse_csc: + # RuntimeError: Expected result Tensor to be of format CSR + yield SampleInput(regular, args=(regular,)) + if layout is torch.sparse_bsr: + # RuntimeError: empty_sparse_compressed expected sparse compressed (non-block) tensor layout but got SparseBsr + yield SampleInput(regular, args=(regular,)) + if layout is torch.sparse_bsc: + # RuntimeError: empty_sparse_compressed expected sparse compressed (non-block) tensor layout but got SparseBsc + yield SampleInput(regular, args=(regular,)) + if layout is torch.sparse_coo: + if dtype is torch.complex32: + # RuntimeError: "mul_out_sparse" not implemented for 'ComplexHalf' + yield SampleInput(regular, args=(regular,)) + if dtype is torch.bool and regular.is_cpu: + # RuntimeError: "mul_out_sparse" not implemented for 'Bool' + yield SampleInput(regular, args=(regular,)) + if dtype in {torch.bool, torch.float16} and regular.is_cpu: + # RuntimeError: "addcmul_cpu_out" not implemented for '(Bool|Half)' + yield SampleInput(hybrid, args=(hybrid,)) + + +def _validate_sample_input_sparse_elementwise_binary_operation( + op_info, sample, check_validate=False +): + if op_info.name == "mul": + sample = _validate_sample_input_elementwise_binary_sparse_mul(sample) + + if check_validate: + _check_validate(op_info, sample) + return sample + + +def sample_inputs_sparse_mul(op_info, device, dtype, requires_grad, layout, **kwargs): + """Sample inputs for mul operation on sparse tensors.""" + yield from _sample_inputs_sparse( + sample_inputs_sparse_elementwise_binary_operation, + _maybe_failing_sample_inputs_sparse_elementwise_binary_mul, + _validate_sample_input_sparse_elementwise_binary_operation, + op_info, + device, + dtype, + requires_grad, + layout, + **kwargs, + ) + + +def error_inputs_sparse_mul(op_info, device, layout, **kwargs): + """Error inputs for mul operation on sparse tensors.""" + dtype = torch.float64 + requires_grad = False + yield from _error_inputs_sparse( + _maybe_failing_sample_inputs_sparse_elementwise_binary_mul, + _validate_sample_input_sparse_elementwise_binary_operation, + op_info, + device, + dtype, + requires_grad, + layout, + **kwargs, + ) + + +def _sample_inputs_sparse_like_fns( + op_info, device, dtype, requires_grad, layout, **kwargs +): + from torch.testing._internal.common_utils import TestCase + + for tensor in TestCase().generate_simple_inputs( + layout, + device=device, + dtype=dtype, + enable_batch=True, + enable_hybrid=True, + enable_zero_sized=True, + enable_non_contiguous_indices=False, + enable_non_contiguous_values=False, + ): + yield SampleInput(tensor, args=(), kwargs={}) + yield SampleInput( + tensor, args=(), kwargs=dict(device=device, dtype=dtype, layout=layout) + ) + + if dtype is not torch.float64: + yield SampleInput(tensor, args=(), kwargs=dict(dtype=torch.float64)) + + if torch.cuda.is_available(): + other_device = "cuda" if tensor.device.type == "cpu" else "cpu" + yield SampleInput(tensor, args=(), kwargs=dict(device=other_device)) + + if layout is torch.sparse_csr: + other_layout = torch.sparse_csc + elif layout is torch.sparse_csc: + other_layout = torch.sparse_csr + elif layout is torch.sparse_bsr: + other_layout = torch.sparse_bsc + elif layout is torch.sparse_bsc: + other_layout = torch.sparse_bsr + else: + other_layout = torch.strided + yield SampleInput(tensor, args=(), kwargs=dict(layout=other_layout)) + + if layout is not torch.sparse_coo: + yield SampleInput(tensor, args=(), kwargs=dict(layout=torch.sparse_coo)) + + +def _validate_sample_input_sparse_like_fns(op_info, sample, check_validate=False): + if sample.input.layout in { + torch.sparse_csr, + torch.sparse_csc, + torch.sparse_bsr, + torch.sparse_bsc, + }: + if sample.kwargs.get("device", sample.input.device) != sample.input.device: + return ErrorInput( + sample, + error_regex=( + "device of (ccol|crow)_indices \\(=(cpu|cuda.*)\\) must" + " match device of values \\(=(cuda.*|cpu)\\)" + ), + ) + if sample.kwargs.get("layout", sample.input.layout) != sample.input.layout: + return ErrorInput( + sample, + error_regex=( + "empty_like with different sparse layout is not supported" + " \\(self is Sparse(Csc|Csr|Bsc|Bsr) but you requested Sparse(Csr|Csc|Bsr|Bsc)\\)" + ), + ) + if sample.input.layout is torch.sparse_coo: + return ErrorInput( + sample, + error_regex=( + "Could not run 'aten::normal_' with arguments from the 'Sparse(CPU|CUDA)' backend." + ), + ) + if check_validate: + _check_validate(op_info, sample) + return sample + + +def _maybe_failing_sample_inputs_sparse_like_fns( + op_info, device, dtype, requires_grad, layout, **kwargs +): + if torch.cuda.is_available() and layout is not torch.sparse_coo: + other_device = "cuda" if torch.device(device).type == "cpu" else "cpu" + if layout is torch.sparse_csr: + other_layout = torch.sparse_csc + elif layout is torch.sparse_csc: + other_layout = torch.sparse_csr + elif layout is torch.sparse_bsr: + other_layout = torch.sparse_bsc + elif layout is torch.sparse_bsc: + other_layout = torch.sparse_bsr + else: + other_layout = torch.strided + + blocksize = (1, 1) if layout in {torch.sparse_bsr, torch.sparse_bsc} else None + + yield SampleInput( + torch.tensor([[0, 1], [2, 3]], dtype=dtype, device=device).to_sparse( + layout=layout, blocksize=blocksize + ), + kwargs=dict(device=other_device), + ) + + yield SampleInput( + torch.tensor([[0, 1], [2, 3]], dtype=dtype, device=device).to_sparse( + layout=layout, blocksize=blocksize + ), + kwargs=dict(layout=other_layout), + ) + + +def sample_inputs_sparse_like_fns( + op_info, device, dtype, requires_grad, layout, **kwargs +): + """Sample inputs for like-functions on sparse tensors.""" + yield from _sample_inputs_sparse( + _sample_inputs_sparse_like_fns, + _maybe_failing_sample_inputs_sparse_like_fns, + _validate_sample_input_sparse_like_fns, + op_info, + device, + dtype, + requires_grad, + layout, + **kwargs, + ) + + +def error_inputs_sparse_like_fns(op_info, device, layout, **kwargs): + """Error inputs for like-functions on sparse tensors.""" + dtype = torch.float64 + requires_grad = False + yield from _error_inputs_sparse( + _maybe_failing_sample_inputs_sparse_like_fns, + _validate_sample_input_sparse_like_fns, + op_info, + device, + dtype, + requires_grad, + layout, + **kwargs, + ) + + +def _validate_sample_input_sparse_default(op_info, sample, check_validate=False): + if op_info.name == "to_sparse": + if ( + sample.input.layout + in {torch.sparse_csr, torch.sparse_csc, torch.sparse_bsr, torch.sparse_bsc} + and len(sample.args) == 1 + and isinstance(sample.args[0], int) + and sample.args[0] != 2 + ): + sample = ErrorInput( + sample, + error_regex="sparse dim argument must be 2 for sparse_compressed_to_sparse", + ) + + if check_validate: + _check_validate(op_info, sample) + return sample + + +def validate_sample_input_sparse(op_info, sample, check_validate=False): + """Return the specified sample when it is valid and supported by the + operation. Otherwise, return the sample as ErrorInput instance. + + When check_validate is True, the result is validated against + calling the op on the sample. + """ + if isinstance(op_info, ReductionOpInfo): + return _validate_sample_input_sparse_reduction( + op_info, sample, check_validate=check_validate + ) + elif isinstance(op_info, BinaryUfuncInfo): + return _validate_sample_input_sparse_elementwise_binary_operation( + op_info, sample, check_validate=check_validate + ) + else: + return _validate_sample_input_sparse_default( + op_info, sample, check_validate=check_validate + ) diff --git a/shared/package-files/37/37c5ede0148563ec82a8063c09da8eb18d1f588671825a9188b448d428048204/messagestream.cpython-310-x86_64-linux-gnu.so b/shared/package-files/37/37c5ede0148563ec82a8063c09da8eb18d1f588671825a9188b448d428048204/messagestream.cpython-310-x86_64-linux-gnu.so new file mode 100644 index 0000000000000000000000000000000000000000..8601000890aa60527e6ec7f43e36a66dc0cb5c2d Binary files /dev/null and b/shared/package-files/37/37c5ede0148563ec82a8063c09da8eb18d1f588671825a9188b448d428048204/messagestream.cpython-310-x86_64-linux-gnu.so differ diff --git a/shared/package-files/37/37c9667c07075b5045657c400a794ac25b752af780dd32fdb910d7a1643c8045/_version_control_details.py b/shared/package-files/37/37c9667c07075b5045657c400a794ac25b752af780dd32fdb910d7a1643c8045/_version_control_details.py new file mode 100644 index 0000000000000000000000000000000000000000..870222e7a5ddeee87945c570d70899461375bf9b --- /dev/null +++ b/shared/package-files/37/37c9667c07075b5045657c400a794ac25b752af780dd32fdb910d7a1643c8045/_version_control_details.py @@ -0,0 +1,42 @@ +# DO NOT EDIT! This file was generated by jschema_to_python version 0.0.1.dev29, +# with extension for dataclasses and type annotation. + +from __future__ import annotations + +import dataclasses +from typing import Optional + +from torch.onnx._internal.diagnostics.infra.sarif import ( + _artifact_location, + _property_bag, +) + + +@dataclasses.dataclass +class VersionControlDetails(object): + """Specifies the information necessary to retrieve a desired revision from a version control system.""" + + repository_uri: str = dataclasses.field( + metadata={"schema_property_name": "repositoryUri"} + ) + as_of_time_utc: Optional[str] = dataclasses.field( + default=None, metadata={"schema_property_name": "asOfTimeUtc"} + ) + branch: Optional[str] = dataclasses.field( + default=None, metadata={"schema_property_name": "branch"} + ) + mapped_to: Optional[_artifact_location.ArtifactLocation] = dataclasses.field( + default=None, metadata={"schema_property_name": "mappedTo"} + ) + properties: Optional[_property_bag.PropertyBag] = dataclasses.field( + default=None, metadata={"schema_property_name": "properties"} + ) + revision_id: Optional[str] = dataclasses.field( + default=None, metadata={"schema_property_name": "revisionId"} + ) + revision_tag: Optional[str] = dataclasses.field( + default=None, metadata={"schema_property_name": "revisionTag"} + ) + + +# flake8: noqa diff --git a/shared/package-files/37/37ca00f566c538b574df839f93d63f944a0aa3c10bfc4d6035deb3dfbb350c7d/sgn_cpu_dispatch.h b/shared/package-files/37/37ca00f566c538b574df839f93d63f944a0aa3c10bfc4d6035deb3dfbb350c7d/sgn_cpu_dispatch.h new file mode 100644 index 0000000000000000000000000000000000000000..ac1f032f29b53adff3bbead4b66c17c0cb6ddb94 --- /dev/null +++ b/shared/package-files/37/37ca00f566c538b574df839f93d63f944a0aa3c10bfc4d6035deb3dfbb350c7d/sgn_cpu_dispatch.h @@ -0,0 +1,26 @@ +#pragma once +// @generated by torchgen/gen.py from DispatchKeyFunction.h + +// NB: The implementing C++ file is RegisterDispatchKey.cpp + +// The only #includes we need are for custom classes that have defaults in the C++ API +#include +#include +#include + +// Forward declarations of any types needed in the operator signatures. +// We can't directly include these classes because it will cause circular include dependencies. +// This file is included by TensorBody.h, which defines the Tensor class. +#include + +namespace at { + +namespace cpu { + +TORCH_API at::Tensor sgn(const at::Tensor & self); +TORCH_API at::Tensor & sgn_out(at::Tensor & out, const at::Tensor & self); +TORCH_API at::Tensor & sgn_outf(const at::Tensor & self, at::Tensor & out); +TORCH_API at::Tensor & sgn_(at::Tensor & self); + +} // namespace cpu +} // namespace at diff --git a/shared/package-files/37/37cb62f61e3cc1f704e927f7d07aafb511bd36692cd4f2f7966f69d682f9e0e7/__init__.py b/shared/package-files/37/37cb62f61e3cc1f704e927f7d07aafb511bd36692cd4f2f7966f69d682f9e0e7/__init__.py new file mode 100644 index 0000000000000000000000000000000000000000..fca8055ad253e48bed216dfc43a34a8f11a99913 --- /dev/null +++ b/shared/package-files/37/37cb62f61e3cc1f704e927f7d07aafb511bd36692cd4f2f7966f69d682f9e0e7/__init__.py @@ -0,0 +1,117 @@ +""" This module contains functions and classes that alter the behavior of torch.nn.functional.scaled_dot_product_attention """ +import contextlib +from typing import List, Union +from warnings import warn + +from torch.backends.cuda import ( + can_use_efficient_attention, + can_use_flash_attention, + enable_flash_sdp, + enable_math_sdp, + enable_mem_efficient_sdp, + flash_sdp_enabled, + math_sdp_enabled, + mem_efficient_sdp_enabled, + SDPAParams, +) + +__all__: List[str] = ["SDPBackend", "sdpa_kernel", "WARN_FOR_UNFUSED_KERNELS"] + +# Note: [SDPA warnings] +# TODO: Consider using this for sdpa regardless of subclasses +# This only effects users of bias subclasses +# If this is set to True, we will warn the user if they are not using the fused kernels +# As well, it will raise warnings for all the reasons why the fused kernels can't be run. +# To set this to True, run +# torch.nn.attention.WARN_FOR_UNFUSED_KERNELS = True +WARN_FOR_UNFUSED_KERNELS = False + + +from torch._C import _SDPBackend as SDPBackend + +# Hacks for Sphinx documentation: +# https://stackoverflow.com/questions/38765577/overriding-sphinx-autodoc-alias-of-for-import-of-private-class +SDPBackend = SDPBackend +r"""An enum-like class that contains the different backends for scaled dot product attention. + This backend class is designed to be used with the sdpa_kernel context manager. + + The following Enums are available: + - ERROR: An error occurred when trying to determine the backend. + - MATH: The math backend for scaled dot product attention. + - FLASH_ATTENTION: The flash attention backend for scaled dot product attention. + - EFFICIENT_ATTENTION: The efficient attention backend for scaled dot product attention. + - CUDNN_ATTENTION: The cuDNN backend for scaled dot product attention. + + See :func:`torch.nn.attention.sdpa_kernel` for more details. + + .. warning:: This class is in beta and subject to change. +""" +SDPBackend.__module__ = __name__ +SDPBackend.__name__ = "SDPBackend" + + +def _raise_kernel_warnings(params: SDPAParams) -> None: + """ + If WARN_FOR_UNFUSED_KERNELS is set to True, this will raise warnings + for all the reasons why the fused kernels can't be run. If using subclasses + """ + if WARN_FOR_UNFUSED_KERNELS: + if not can_use_efficient_attention(params): + warn("Efficient attention can't be used because:") + can_use_efficient_attention(params, True) + if not can_use_flash_attention(params): + warn("Flash attention can't be used because:") + can_use_flash_attention(params, True) + + +@contextlib.contextmanager +def sdpa_kernel(backends: Union[List[SDPBackend], SDPBackend]): + r""" + Context manager to select which backend to use for scaled dot product attention. + + .. warning:: This function is beta and subject to change. + + Args: + backend (Union[List[SDPBackend], SDPBackend]): A backend or list of backends for scaled dot product attention. + + Example: + + .. code-block:: python + + from torch.nn.functional import scaled_dot_product_attention + from torch.nn.attention import SDPBackend, sdpa_kernel + # Only enable flash attention backend + with sdpa_kernel(SDPBackend.FLASH_ATTENTION): + scaled_dot_product_attention(...) + + # Enable the Math or Efficient attention backends + with sdpa_kernel([SDPBackend.MATH, SDPBackend.EFFICIENT_ATTENTION]): + scaled_dot_product_attention(...) + + This context manager can be used to select which backend to use for scaled dot product attention. + Upon exiting the context manager, the previous state of the flags will be restored, enabling all backends. + """ + assert isinstance( + backends, (list, SDPBackend) + ), "Backend must be an instance of SDPBackend or a list of SDPBackend instances" + + if isinstance(backends, SDPBackend): + backends = [backends] + + backends = set(backends) + previous_flash: bool = flash_sdp_enabled() + previous_mem_efficient: bool = mem_efficient_sdp_enabled() + previous_math: bool = math_sdp_enabled() + try: + enable_flash = SDPBackend.FLASH_ATTENTION in backends + enable_mem_efficient = SDPBackend.EFFICIENT_ATTENTION in backends + enable_math = SDPBackend.MATH in backends + + enable_flash_sdp(enable_flash) + enable_mem_efficient_sdp(enable_mem_efficient) + enable_math_sdp(enable_math) + yield {} + finally: + enable_flash_sdp(previous_flash) + enable_mem_efficient_sdp(previous_mem_efficient) + enable_math_sdp(previous_math) diff --git a/shared/package-files/37/37cdf6e6af2fc0780a466e81b73ef4a85e4b98882642bfa92f01714b348cd32a/test_count_model.py b/shared/package-files/37/37cdf6e6af2fc0780a466e81b73ef4a85e4b98882642bfa92f01714b348cd32a/test_count_model.py new file mode 100644 index 0000000000000000000000000000000000000000..bfa128c4ea4ebb414236d7d476b587e9d59e1523 --- /dev/null +++ b/shared/package-files/37/37cdf6e6af2fc0780a466e81b73ef4a85e4b98882642bfa92f01714b348cd32a/test_count_model.py @@ -0,0 +1,849 @@ +from statsmodels.compat.platform import PLATFORM_LINUX32 +from statsmodels.compat.scipy import SP_LT_116 + +import numpy as np +from numpy.testing import ( + assert_, + assert_allclose, + assert_array_equal, + assert_equal, +) +import pandas as pd +import pytest + +import statsmodels.api as sm +from statsmodels.iolib.summary import Summary + +from .results.results_discrete import RandHIE +from .test_discrete import CheckModelMixin + + +class CheckGeneric(CheckModelMixin): + def test_params(self): + assert_allclose(self.res1.params, self.res2.params, atol=1e-5, rtol=1e-5) + + def test_llf(self): + assert_allclose(self.res1.llf, self.res2.llf, atol=1e-5, rtol=1e-5) + + def test_conf_int(self): + assert_allclose(self.res1.conf_int(), self.res2.conf_int, atol=1e-3, rtol=1e-5) + + def test_bse(self): + assert_allclose(self.res1.bse, self.res2.bse, atol=1e-3, rtol=1e-3) + + def test_aic(self): + assert_allclose(self.res1.aic, self.res2.aic, atol=1e-2, rtol=1e-2) + + def test_bic(self): + assert_allclose(self.res1.aic, self.res2.aic, atol=1e-1, rtol=1e-1) + + def test_t(self): + unit_matrix = np.identity(self.res1.params.size) + t_test = self.res1.t_test(unit_matrix) + assert_allclose(self.res1.tvalues, t_test.tvalue) + + def test_fit_regularized(self): + model = self.res1.model + + alpha = np.ones(len(self.res1.params)) + alpha[-2:] = 0 + res_reg = model.fit_regularized(alpha=alpha * 0.01, disp=False, maxiter=500) + + if self.__class__.__name__ == "TestZeroInflatedModel_probit" and not SP_LT_116: + pytest.xfail( + "ZeroInflated with probit fails regularized fit using SciPy 1.16+" + ) + assert_allclose(res_reg.params[2:], self.res1.params[2:], atol=5e-2, rtol=5e-2) + + def test_init_keys(self): + init_kwds = self.res1.model._get_init_kwds() + assert_equal(set(init_kwds.keys()), set(self.init_keys)) + for key, value in self.init_kwds.items(): + assert_equal(init_kwds[key], value) + + def test_null(self): + # call llnull, so null model is attached, side effect of cached attribute + assert isinstance(self.res1.llnull, float) + # check model instead of value + exog_null = self.res1.res_null.model.exog + exog_infl_null = self.res1.res_null.model.exog_infl + assert_array_equal(exog_infl_null.shape, (len(self.res1.model.exog), 1)) + assert_equal(np.ptp(exog_null), 0) + assert_equal(np.ptp(exog_infl_null), 0) + + @pytest.mark.smoke + def test_summary(self): + summ = self.res1.summary() + # GH 4581 + assert "Covariance Type:" in str(summ) + + +class TestZeroInflatedModel_logit(CheckGeneric): + @classmethod + def setup_class(cls): + data = sm.datasets.randhie.load() + cls.endog = np.asarray(data.endog) + data.exog = np.asarray(data.exog) + exog = sm.add_constant(data.exog[:, 1:4], prepend=False) + exog_infl = sm.add_constant(data.exog[:, 0], prepend=False) + cls.res1 = sm.ZeroInflatedPoisson( + data.endog, exog, exog_infl=exog_infl, inflation="logit" + ).fit(method="newton", maxiter=500, disp=False) + # for llnull test + cls.res1._results._attach_nullmodel = True + cls.init_keys = ["exog_infl", "exposure", "inflation", "offset"] + cls.init_kwds = {"inflation": "logit"} + res2 = RandHIE.zero_inflated_poisson_logit + cls.res2 = res2 + + +class TestZeroInflatedModel_probit(CheckGeneric): + @classmethod + def setup_class(cls): + data = sm.datasets.randhie.load() + cls.endog = np.asarray(data.endog) + data.exog = np.asarray(data.exog) + exog = sm.add_constant(data.exog[:, 1:4], prepend=False) + exog_infl = sm.add_constant(data.exog[:, 0], prepend=False) + cls.res1 = sm.ZeroInflatedPoisson( + data.endog, exog, exog_infl=exog_infl, inflation="probit" + ).fit(method="newton", maxiter=500, disp=False) + # for llnull test + cls.res1._results._attach_nullmodel = True + cls.init_keys = ["exog_infl", "exposure", "inflation", "offset"] + cls.init_kwds = {"inflation": "probit"} + res2 = RandHIE.zero_inflated_poisson_probit + cls.res2 = res2 + + @pytest.mark.skipif(PLATFORM_LINUX32, reason="Fails on 32-bit Linux") + def test_fit_regularized(self): + super().test_fit_regularized() + + +class TestZeroInflatedModel_offset(CheckGeneric): + @classmethod + def setup_class(cls): + data = sm.datasets.randhie.load() + cls.endog = np.asarray(data.endog) + data.exog = np.asarray(data.exog) + exog = sm.add_constant(data.exog[:, 1:4], prepend=False) + exog_infl = sm.add_constant(data.exog[:, 0], prepend=False) + cls.res1 = sm.ZeroInflatedPoisson( + data.endog, exog, exog_infl=exog_infl, offset=data.exog[:, 7] + ).fit(method="newton", maxiter=500, disp=False) + # for llnull test + cls.res1._results._attach_nullmodel = True + cls.init_keys = ["exog_infl", "exposure", "inflation", "offset"] + cls.init_kwds = {"inflation": "logit"} + res2 = RandHIE.zero_inflated_poisson_offset + cls.res2 = res2 + + @pytest.mark.thread_unsafe(reason="count models are not threadsafe") + def test_exposure(self): + # This test mostly the equivalence of offset and exposure = exp(offset) + # use data arrays from class model + res1 = self.res1 + model1 = res1.model + offset = model1.offset + model3 = sm.ZeroInflatedPoisson( + model1.endog, + model1.exog, + exog_infl=model1.exog_infl, + exposure=np.exp(offset), + ) + res3 = model3.fit( + start_params=res1.params, method="newton", maxiter=500, disp=False + ) + + assert_allclose(res3.params, res1.params, atol=1e-6, rtol=1e-6) + fitted1 = res1.predict() + fitted3 = res3.predict() + assert_allclose(fitted3, fitted1, atol=1e-6, rtol=1e-6) + + ex = model1.exog + ex_infl = model1.exog_infl + offset = model1.offset + fitted1_0 = res1.predict(exog=ex, exog_infl=ex_infl, offset=offset.tolist()) + fitted3_0 = res3.predict(exog=ex, exog_infl=ex_infl, exposure=np.exp(offset)) + assert_allclose(fitted3_0, fitted1_0, atol=1e-6, rtol=1e-6) + + ex = model1.exog[:10:2] + ex_infl = model1.exog_infl[:10:2] + offset = offset[:10:2] + # # TODO: this raises with shape mismatch, + # # i.e., uses offset or exposure from model -> fix it or not? + # GLM.predict to setting offset and exposure to zero + # fitted1_1 = self.res1.predict(exog=ex, exog_infl=ex_infl) + # fitted3_1 = res3.predict(exog=ex, exog_infl=ex_infl) + # assert_allclose(fitted3_1, fitted1_1, atol=1e-6, rtol=1e-6) + + fitted1_2 = res1.predict(exog=ex, exog_infl=ex_infl, offset=offset) + fitted3_2 = res3.predict(exog=ex, exog_infl=ex_infl, exposure=np.exp(offset)) + assert_allclose(fitted3_2, fitted1_2, atol=1e-6, rtol=1e-6) + assert_allclose(fitted1_2, fitted1[:10:2], atol=1e-6, rtol=1e-6) + assert_allclose(fitted3_2, fitted1[:10:2], atol=1e-6, rtol=1e-6) + + # without specifying offset and exposure + fitted1_3 = res1.predict(exog=ex, exog_infl=ex_infl) + fitted3_3 = res3.predict(exog=ex, exog_infl=ex_infl) + assert_allclose(fitted3_3, fitted1_3, atol=1e-6, rtol=1e-6) + + +class TestZeroInflatedModelPandas(CheckGeneric): + @classmethod + def setup_class(cls): + data = sm.datasets.randhie.load_pandas() + cls.endog = data.endog + cls.data = data + exog = sm.add_constant(data.exog.iloc[:, 1:4], prepend=False) + exog_infl = sm.add_constant(data.exog.iloc[:, 0], prepend=False) + # we do not need to verify convergence here + start_params = np.asarray( + [ + 0.10337834587498942, + -1.0459825102508549, + -0.08219794475894268, + 0.00856917434709146, + -0.026795737379474334, + 1.4823632430107334, + ] + ) + model = sm.ZeroInflatedPoisson( + data.endog, exog, exog_infl=exog_infl, inflation="logit" + ) + cls.res1 = model.fit( + start_params=start_params, method="newton", maxiter=500, disp=False + ) + # for llnull test + cls.res1._results._attach_nullmodel = True + cls.init_keys = ["exog_infl", "exposure", "inflation", "offset"] + cls.init_kwds = {"inflation": "logit"} + res2 = RandHIE.zero_inflated_poisson_logit + cls.res2 = res2 + + def test_names(self): + param_names = [ + "inflate_lncoins", + "inflate_const", + "idp", + "lpi", + "fmde", + "const", + ] + assert_array_equal(self.res1.model.exog_names, param_names) + assert_array_equal(self.res1.params.index.tolist(), param_names) + assert_array_equal(self.res1.bse.index.tolist(), param_names) + + exog = sm.add_constant(self.data.exog.iloc[:, 1:4], prepend=True) + exog_infl = sm.add_constant(self.data.exog.iloc[:, 0], prepend=True) + param_names = [ + "inflate_const", + "inflate_lncoins", + "const", + "idp", + "lpi", + "fmde", + ] + model = sm.ZeroInflatedPoisson( + self.data.endog, exog, exog_infl=exog_infl, inflation="logit" + ) + assert_array_equal(model.exog_names, param_names) + + +class TestZeroInflatedPoisson_predict: + @classmethod + def setup_class(cls): + expected_params = [1, 0.5] + rs = np.random.RandomState(999) + nobs = 2000 + exog = np.ones((nobs, 2)) + exog[: nobs // 2, 1] = 2 + mu_true = exog.dot(expected_params) + cls.endog = sm.distributions.zipoisson.rvs( + mu_true, 0.05, size=mu_true.shape, random_state=rs + ) + model = sm.ZeroInflatedPoisson(cls.endog, exog) + cls.res = model.fit(method="bfgs", maxiter=5000, disp=False) + + cls.params_true = [mu_true, 0.05, nobs] + + @pytest.mark.thread_unsafe(reason="count models are not threadsafe") + def test_mean(self): + def compute_conf_interval_95(mu, prob_infl, nobs): + dispersion_factor = 1 + prob_infl * mu + + # scalar variance of the mixture of zip + var = (dispersion_factor * (1 - prob_infl) * mu).mean() + var += (((1 - prob_infl) * mu) ** 2).mean() + var -= (((1 - prob_infl) * mu).mean()) ** 2 + std = np.sqrt(var) + # Central limit theorem + conf_intv_95 = 2 * std / np.sqrt(nobs) + return conf_intv_95 + + conf_interval_95 = compute_conf_interval_95(*self.params_true) + # Use a local results class for thread safety + res = self.res + assert_allclose( + res.predict().mean(), self.endog.mean(), atol=conf_interval_95, rtol=0 + ) + + @pytest.mark.thread_unsafe(reason="count models are not threadsafe") + def test_var(self): + def compute_mixture_var(dispersion_factor, prob_main, mu): + # the variance of the mixture is the mixture of the variances plus + # a non-negative term accounting for the (weighted) + # dispersion of the means, see stats.stackexchange #16609 and + # Casella & Berger's Statistical Inference (Example 10.2.1) + prob_infl = 1 - prob_main + var = (dispersion_factor * (1 - prob_infl) * mu).mean() + var += (((1 - prob_infl) * mu) ** 2).mean() + var -= (((1 - prob_infl) * mu).mean()) ** 2 + return var + + res = self.res + var_fitted = compute_mixture_var( + res._dispersion_factor, + res.predict(which="prob-main"), + res.predict(which="mean-main"), + ) + + assert_allclose(var_fitted.mean(), self.endog.var(), atol=5e-2, rtol=5e-2) + + @pytest.mark.thread_unsafe(reason="count models are not threadsafe") + def test_predict_prob(self): + res = self.res + + pr = res.predict(which="prob") + pr2 = sm.distributions.zipoisson.pmf( + np.arange(pr.shape[1])[:, None], res.predict(), 0.05 + ).T + assert_allclose(pr, pr2, rtol=0.05, atol=0.05) + + @pytest.mark.thread_unsafe(reason="count models are not threadsafe") + def test_predict_options(self): + # check default exog_infl, see #4757 + res = self.res + n = 5 + pr1 = res.predict(which="prob") + pr0 = res.predict(exog=res.model.exog[:n], which="prob") + assert_allclose(pr0, pr1[:n], rtol=1e-10) + + fitted1 = res.predict() + fitted0 = res.predict(exog=res.model.exog[:n]) + assert_allclose(fitted0, fitted1[:n], rtol=1e-10) + + +@pytest.mark.slow +class TestZeroInflatedGeneralizedPoisson(CheckGeneric): + @classmethod + def setup_class(cls): + data = sm.datasets.randhie.load() + cls.endog = np.asarray(data.endog) + data.exog = np.asarray(data.exog) + exog = sm.add_constant(data.exog[:, 1:4], prepend=False) + exog_infl = sm.add_constant(data.exog[:, 0], prepend=False) + cls.res1 = sm.ZeroInflatedGeneralizedPoisson( + data.endog, exog, exog_infl=exog_infl, p=1 + ).fit(method="newton", maxiter=500, disp=False) + # for llnull test + cls.res1._results._attach_nullmodel = True + cls.init_keys = ["exog_infl", "exposure", "inflation", "offset", "p"] + cls.init_kwds = {"inflation": "logit", "p": 1} + res2 = RandHIE.zero_inflated_generalized_poisson + cls.res2 = res2 + + def test_bse(self): + pass + + def test_conf_int(self): + pass + + def test_bic(self): + pass + + def test_t(self): + unit_matrix = np.identity(self.res1.params.size) + t_test = self.res1.t_test(unit_matrix) + assert_allclose(self.res1.tvalues, t_test.tvalue) + + def test_minimize(self): + # check additional optimizers using the `minimize` option + model = self.res1.model + # use the same start_params, but avoid recomputing + start_params = self.res1.mle_settings["start_params"] + + res_ncg = model.fit( + start_params=start_params, + method="minimize", + min_method="trust-ncg", + maxiter=500, + disp=False, + ) + + assert_allclose(res_ncg.params, self.res2.params, atol=1e-3, rtol=0.04) + assert_allclose(res_ncg.bse, self.res2.bse, atol=1e-3, rtol=0.6) + assert_(res_ncg.mle_retvals["converged"] is True) + + res_dog = model.fit( + start_params=start_params, + method="minimize", + min_method="dogleg", + maxiter=500, + disp=False, + ) + + assert_allclose(res_dog.params, self.res2.params, atol=1e-3, rtol=3e-3) + assert_allclose(res_dog.bse, self.res2.bse, atol=1e-3, rtol=0.6) + assert_(res_dog.mle_retvals["converged"] is True) + + # Ser random_state here to improve reproducibility + random_state = np.random.RandomState(1) + seed = {"seed": random_state} + res_bh = model.fit( + start_params=start_params, + method="basinhopping", + niter=500, + stepsize=0.1, + niter_success=None, + disp=False, + interval=1, + **seed, + ) + + assert_allclose(res_bh.params, self.res2.params, atol=1e-4, rtol=1e-4) + assert_allclose(res_bh.bse, self.res2.bse, atol=1e-3, rtol=0.6) + # skip, res_bh reports converged is false but params agree + # assert_(res_bh.mle_retvals['converged'] is True) + + +class TestZeroInflatedGeneralizedPoisson_predict: + @classmethod + def setup_class(cls): + expected_params = [1, 0.5, 0.5] + rs = np.random.RandomState(999) + nobs = 2000 + exog = np.ones((nobs, 2)) + exog[: nobs // 2, 1] = 2 + mu_true = exog.dot(expected_params[:-1]) + cls.endog = sm.distributions.zigenpoisson.rvs( + mu_true, expected_params[-1], 2, 0.5, size=mu_true.shape, random_state=rs + ) + model = sm.ZeroInflatedGeneralizedPoisson(cls.endog, exog, p=2) + cls.res = model.fit(method="bfgs", maxiter=5000, disp=False) + + cls.params_true = [mu_true, expected_params[-1], 2, 0.5, nobs] + + @pytest.mark.thread_unsafe(reason="count models are not threadsafe") + def test_mean(self): + def compute_conf_interval_95(mu, alpha, p, prob_infl, nobs): + p = p - 1 + dispersion_factor = (1 + alpha * mu**p) ** 2 + prob_infl * mu + + # scalar variance of the mixture of zip + var = (dispersion_factor * (1 - prob_infl) * mu).mean() + var += (((1 - prob_infl) * mu) ** 2).mean() + var -= (((1 - prob_infl) * mu).mean()) ** 2 + std = np.sqrt(var) + # Central limit theorem + conf_intv_95 = 2 * std / np.sqrt(nobs) + return conf_intv_95 + + conf_interval_95 = compute_conf_interval_95(*self.params_true) + res = self.res + assert_allclose( + res.predict().mean(), self.endog.mean(), atol=conf_interval_95, rtol=0 + ) + + @pytest.mark.thread_unsafe(reason="count models are not threadsafe") + def test_var(self): + def compute_mixture_var(dispersion_factor, prob_main, mu): + prob_infl = 1 - prob_main + var = (dispersion_factor * (1 - prob_infl) * mu).mean() + var += (((1 - prob_infl) * mu) ** 2).mean() + var -= (((1 - prob_infl) * mu).mean()) ** 2 + return var + + res = self.res + var_fitted = compute_mixture_var( + res._dispersion_factor, + res.predict(which="prob-main"), + res.predict(which="mean-main"), + ) + + assert_allclose(var_fitted.mean(), self.endog.var(), atol=0.05, rtol=0.1) + + @pytest.mark.thread_unsafe(reason="count models are not threadsafe") + def test_predict_prob(self): + res = self.res + + pr = res.predict(which="prob") + pr2 = sm.distributions.zinegbin.pmf( + np.arange(pr.shape[1])[:, None], res.predict(), 0.5, 2, 0.5 + ).T + assert_allclose(pr, pr2, rtol=0.08, atol=0.05) + + +class TestZeroInflatedNegativeBinomialP(CheckGeneric): + @classmethod + def setup_class(cls): + data = sm.datasets.randhie.load() + cls.endog = np.asarray(data.endog) + data.exog = np.asarray(data.exog) + exog = sm.add_constant(data.exog[:, 1], prepend=False) + exog_infl = sm.add_constant(data.exog[:, 0], prepend=False) + # cheating for now, parameters are not well identified in this dataset + # see https://github.com/statsmodels/statsmodels/pull/3928#issuecomment-331724022 + sp = np.array([1.88, -10.28, -0.20, 1.14, 1.34]) + cls.res1 = sm.ZeroInflatedNegativeBinomialP( + data.endog, exog, exog_infl=exog_infl, p=2 + ).fit(start_params=sp, method="nm", xtol=1e-6, maxiter=5000, disp=False) + # for llnull test + cls.res1._results._attach_nullmodel = True + cls.init_keys = ["exog_infl", "exposure", "inflation", "offset", "p"] + cls.init_kwds = {"inflation": "logit", "p": 2} + res2 = RandHIE.zero_inflated_negative_binomial + cls.res2 = res2 + + def test_params(self): + assert_allclose(self.res1.params, self.res2.params, atol=1e-3, rtol=1e-3) + + def test_conf_int(self): + pass + + def test_bic(self): + pass + + def test_fit_regularized(self): + model = self.res1.model + + alpha = np.ones(len(self.res1.params)) + alpha[-2:] = 0 + res_reg = model.fit_regularized(alpha=alpha * 0.01, disp=False, maxiter=500) + + assert_allclose(res_reg.params[2:], self.res1.params[2:], atol=1e-1, rtol=1e-1) + + # possibly slow, adds 25 seconds + def test_minimize(self): + # check additional optimizers using the `minimize` option + model = self.res1.model + # use the same start_params, but avoid recomputing + start_params = self.res1.mle_settings["start_params"] + + res_ncg = model.fit( + start_params=start_params, + method="minimize", + min_method="trust-ncg", + maxiter=500, + disp=False, + ) + + assert_allclose(res_ncg.params, self.res2.params, atol=1e-3, rtol=0.03) + assert_allclose(res_ncg.bse, self.res2.bse, atol=1e-3, rtol=0.06) + assert_(res_ncg.mle_retvals["converged"] is True) + + res_dog = model.fit( + start_params=start_params, + method="minimize", + min_method="dogleg", + maxiter=500, + disp=False, + ) + + assert_allclose(res_dog.params, self.res2.params, atol=1e-3, rtol=3e-3) + assert_allclose(res_dog.bse, self.res2.bse, atol=1e-3, rtol=7e-3) + assert_(res_dog.mle_retvals["converged"] is True) + + rs = np.random.RandomState(328390219) + res_bh = model.fit( + start_params=start_params, + method="basinhopping", + maxiter=500, + niter_success=3, + disp=False, + seed=rs, + ) + + assert_allclose(res_bh.params, self.res2.params, atol=1e-4, rtol=3e-4) + assert_allclose(res_bh.bse, self.res2.bse, atol=1e-3, rtol=1e-3) + # skip, res_bh reports converged is false but params agree + # assert_(res_bh.mle_retvals['converged'] is True) + + +class TestZeroInflatedNegativeBinomialP_predict: + @classmethod + def setup_class(cls): + + expected_params = [1, 1, 0.5] + rs = np.random.RandomState(999) + nobs = 5000 + exog = np.ones((nobs, 2)) + exog[: nobs // 2, 1] = 0 + + prob_infl = 0.15 + mu_true = np.exp(exog.dot(expected_params[:-1])) + cls.endog = sm.distributions.zinegbin.rvs( + mu_true, + expected_params[-1], + 2, + prob_infl, + size=mu_true.shape, + random_state=rs, + ) + model = sm.ZeroInflatedNegativeBinomialP(cls.endog, exog, p=2) + cls.res = model.fit(method="bfgs", maxiter=5000, disp=False) + + # attach others + cls.prob_infl = prob_infl + cls.params_true = [mu_true, expected_params[-1], 2, prob_infl, nobs] + + @pytest.mark.thread_unsafe(reason="count models are not threadsafe") + def test_mean(self): + def compute_conf_interval_95(mu, alpha, p, prob_infl, nobs): + dispersion_factor = 1 + alpha * mu ** (p - 1) + prob_infl * mu + + # scalar variance of the mixture of zip + var = (dispersion_factor * (1 - prob_infl) * mu).mean() + var += (((1 - prob_infl) * mu) ** 2).mean() + var -= (((1 - prob_infl) * mu).mean()) ** 2 + std = np.sqrt(var) + # Central limit theorem + conf_intv_95 = 2 * std / np.sqrt(nobs) + return conf_intv_95 + + conf_interval_95 = compute_conf_interval_95(*self.params_true) + mean_true = ((1 - self.prob_infl) * self.params_true[0]).mean() + # Use a local results class for thread safety + res = self.res + assert_allclose(res.predict().mean(), mean_true, atol=conf_interval_95, rtol=0) + + @pytest.mark.thread_unsafe(reason="count models are not threadsafe") + def test_var(self): + # todo check precision + def compute_mixture_var(dispersion_factor, prob_main, mu): + prob_infl = 1 - prob_main + var = (dispersion_factor * (1 - prob_infl) * mu).mean() + var += (((1 - prob_infl) * mu) ** 2).mean() + var -= (((1 - prob_infl) * mu).mean()) ** 2 + return var + + res = self.res + var_fitted = compute_mixture_var( + res._dispersion_factor, + res.predict(which="prob-main"), + res.predict(which="mean-main"), + ) + + assert_allclose(var_fitted.mean(), self.endog.var(), rtol=0.2) + + @pytest.mark.thread_unsafe(reason="count models are not threadsafe") + def test_predict_prob(self): + res = self.res + endog = res.model.endog + + pr = res.predict(which="prob") + pr2 = sm.distributions.zinegbin.pmf( + np.arange(pr.shape[1])[:, None], res.predict(), 0.5, 2, self.prob_infl + ).T + assert_allclose(pr, pr2, rtol=0.1, atol=0.1) + prm = pr.mean(0) + pr2m = pr2.mean(0) + freq = np.bincount(endog.astype(int)) / len(endog) + assert_allclose(((pr2m - prm) ** 2).mean(), 0, rtol=1e-10, atol=5e-4) + assert_allclose(((prm - freq) ** 2).mean(), 0, rtol=1e-10, atol=1e-4) + + @pytest.mark.thread_unsafe(reason="count models are not threadsafe") + def test_predict_generic_zi(self): + # These tests do not use numbers from other packages. + # Tests are on closeness of estimated to true/DGP values + # and theoretical relationship between quantities + res = self.res + endog = self.endog + exog = self.res.model.exog + prob_infl = self.prob_infl + nobs = len(endog) + + freq = np.bincount(endog.astype(int)) / len(endog) + probs = res.predict(which="prob") + probsm = probs.mean(0) + assert_allclose(freq, probsm, atol=0.02) + + probs_unique = res.predict( + exog=[[1, 0], [1, 1]], exog_infl=np.asarray([[1], [1]]), which="prob" + ) + # no default for exog_infl yet + # probs_unique = res.predict(exog=[[1, 0], [1, 1]], which='prob') + + probs_unique2 = probs[[1, nobs - 1]] + + assert_allclose(probs_unique, probs_unique2, atol=1e-10) + + probs0_unique = res.predict( + exog=[[1, 0], [1, 1]], exog_infl=np.asarray([[1], [1]]), which="prob-zero" + ) + assert_allclose(probs0_unique, probs_unique2[:, 0], rtol=1e-10) + + probs_main_unique = res.predict( + exog=[[1, 0], [1, 1]], exog_infl=np.asarray([[1], [1]]), which="prob-main" + ) + probs_main = res.predict(which="prob-main") + probs_main[[0, -1]] + assert_allclose(probs_main_unique, probs_main[[0, -1]], rtol=1e-10) + assert_allclose(probs_main_unique, 1 - prob_infl, atol=0.01) + + pred = res.predict(exog=[[1, 0], [1, 1]], exog_infl=np.asarray([[1], [1]])) + pred1 = endog[exog[:, 1] == 0].mean(), endog[exog[:, 1] == 1].mean() + assert_allclose(pred, pred1, rtol=0.05) + + pred_main_unique = res.predict( + exog=[[1, 0], [1, 1]], exog_infl=np.asarray([[1], [1]]), which="mean-main" + ) + assert_allclose( + pred_main_unique, np.exp(np.cumsum(res.params[1:3])), rtol=1e-10 + ) + + # TODO: why does the following fail, params are not close enough to DGP + # but results are close statistics of simulated data + # what is mu_true in DGP sm.distributions.zinegbin.rvs + # assert_allclose(pred_main_unique, mu_true[[1, -1]] * (1 - prob_infl), rtol=0.01) + + # mean-nonzero + mean_nz = ( + endog[(exog[:, 1] == 0) & (endog > 0)].mean(), + endog[(exog[:, 1] == 1) & (endog > 0)].mean(), + ) + pred_nonzero_unique = res.predict( + exog=[[1, 0], [1, 1]], + exog_infl=np.asarray([[1], [1]]), + which="mean-nonzero", + ) + assert_allclose(pred_nonzero_unique, mean_nz, rtol=0.05) + + pred_lin_unique = res.predict( + exog=[[1, 0], [1, 1]], exog_infl=np.asarray([[1], [1]]), which="linear" + ) + assert_allclose(pred_lin_unique, np.cumsum(res.params[1:3]), rtol=1e-10) + + +class TestZeroInflatedNegativeBinomialP_predict2: + @classmethod + def setup_class(cls): + data = sm.datasets.randhie.load() + + cls.endog = np.asarray(data.endog) + data.exog = np.asarray(data.exog) + exog = data.exog + start_params = np.array( + [ + -2.83983767, + -2.31595924, + -3.9263248, + -4.01816431, + -5.52251843, + -2.4351714, + -4.61636366, + -4.17959785, + -0.12960256, + -0.05653484, + -0.21206673, + 0.08782572, + -0.02991995, + 0.22901208, + 0.0620983, + 0.06809681, + 0.0841814, + 0.185506, + 1.36527888, + ] + ) + mod = sm.ZeroInflatedNegativeBinomialP(cls.endog, exog, exog_infl=exog, p=2) + res = mod.fit( + start_params=start_params, method="bfgs", maxiter=1000, disp=False + ) + cls.res = res + + @pytest.mark.thread_unsafe(reason="count models are not threadsafe") + def test_mean(self): + res = self.res + assert_allclose(res.predict().mean(), self.endog.mean(), atol=0.02) + + def test_zero_nonzero_mean(self): + mean1 = self.endog.mean() + mean2 = (1 - self.res.predict(which="prob-zero").mean()) * self.res.predict( + which="mean-nonzero" + ).mean() + assert_allclose(mean1, mean2, atol=0.2) + + +class TestPandasOffset: + + def test_pd_offset_exposure(self): + endog = pd.DataFrame({"F": [0.0, 0.0, 0.0, 0.0, 1.0]}) + exog = pd.DataFrame( + {"I": [1.0, 1.0, 1.0, 1.0, 1.0], "C": [0.0, 1.0, 0.0, 1.0, 0.0]} + ) + exposure = pd.Series([1.0, 1, 1, 2, 1]) + offset = pd.Series([1, 1, 1, 2, 1]) + sm.Poisson(endog=endog, exog=exog, offset=offset).fit() + inflations = ["logit", "probit"] + for inflation in inflations: + sm.ZeroInflatedPoisson( + endog=endog, exog=exog["I"], exposure=exposure, inflation=inflation + ).fit() + + +def _fit_zero_inflated_poisson_for_summary(): + data = sm.datasets.randhie.load() + endog = np.asarray(data.endog) + exog = np.asarray(data.exog) + exog_infl = sm.add_constant(exog[:, 0], prepend=False) + exog = sm.add_constant(exog[:, 1:4], prepend=False) + return sm.ZeroInflatedPoisson( + endog, exog, exog_infl=exog_infl, inflation="logit" + ).fit(method="newton", maxiter=500, disp=False) + + +def _fit_zero_inflated_generalized_poisson_for_summary(): + data = sm.datasets.randhie.load() + endog = np.asarray(data.endog) + exog = np.asarray(data.exog) + exog_infl = sm.add_constant(exog[:, 0], prepend=False) + exog = sm.add_constant(exog[:, 1:4], prepend=False) + return sm.ZeroInflatedGeneralizedPoisson( + endog, exog, exog_infl=exog_infl, p=1 + ).fit(method="newton", maxiter=500, disp=False) + + +def _fit_zero_inflated_negative_binomial_for_summary(): + data = sm.datasets.randhie.load() + endog = np.asarray(data.endog) + exog = np.asarray(data.exog) + exog_infl = sm.add_constant(exog[:, 0], prepend=False) + exog = sm.add_constant(exog[:, 1], prepend=False) + # cheating for now, parameters are not well identified in this dataset + # see https://github.com/statsmodels/statsmodels/pull/3928#issuecomment-331724022 + sp = np.array([1.88, -10.28, -0.20, 1.14, 1.34]) + return sm.ZeroInflatedNegativeBinomialP( + endog, exog, exog_infl=exog_infl, p=2 + ).fit(start_params=sp, method="nm", xtol=1e-6, maxiter=5000, disp=False) + + +@pytest.mark.parametrize( + "fit_func", + [ + _fit_zero_inflated_poisson_for_summary, + _fit_zero_inflated_generalized_poisson_for_summary, + _fit_zero_inflated_negative_binomial_for_summary, + ], + ids=[ + "ZeroInflatedPoisson", + "ZeroInflatedGeneralizedPoisson", + "ZeroInflatedNegativeBinomialP", + ], +) +def test_summary_after_remove_data(fit_func): + # summary() must still work after remove_data() has been called + res = fit_func() + assert isinstance(res.summary(), Summary) + res.remove_data() + assert isinstance(res.summary(), Summary) diff --git a/shared/package-files/37/37cedbb772c47fd832cc9f914c70944cf4147b17828f085064aafdb80167a1eb/special_shifted_chebyshev_polynomial_v_compositeexplicitautogradnonfunctional_dispatch.h b/shared/package-files/37/37cedbb772c47fd832cc9f914c70944cf4147b17828f085064aafdb80167a1eb/special_shifted_chebyshev_polynomial_v_compositeexplicitautogradnonfunctional_dispatch.h new file mode 100644 index 0000000000000000000000000000000000000000..f9c31f1e3624b67ddced1e52cef0b38d25951da1 --- /dev/null +++ b/shared/package-files/37/37cedbb772c47fd832cc9f914c70944cf4147b17828f085064aafdb80167a1eb/special_shifted_chebyshev_polynomial_v_compositeexplicitautogradnonfunctional_dispatch.h @@ -0,0 +1,23 @@ +#pragma once +// @generated by torchgen/gen.py from DispatchKeyFunction.h + +// NB: The implementing C++ file is RegisterDispatchKey.cpp + +// The only #includes we need are for custom classes that have defaults in the C++ API +#include +#include +#include + +// Forward declarations of any types needed in the operator signatures. +// We can't directly include these classes because it will cause circular include dependencies. +// This file is included by TensorBody.h, which defines the Tensor class. +#include + +namespace at { + +namespace compositeexplicitautogradnonfunctional { + +TORCH_API at::Tensor special_shifted_chebyshev_polynomial_v(const at::Tensor & x, const at::Tensor & n); + +} // namespace compositeexplicitautogradnonfunctional +} // namespace at diff --git a/shared/package-files/37/37d08eee4258ce4e885904792c77ff600d7e3aae3c477f142212452252764327/_ccallback.py b/shared/package-files/37/37d08eee4258ce4e885904792c77ff600d7e3aae3c477f142212452252764327/_ccallback.py new file mode 100644 index 0000000000000000000000000000000000000000..1980d06f5489e6633fb611c35bfb56903bd63e7f --- /dev/null +++ b/shared/package-files/37/37d08eee4258ce4e885904792c77ff600d7e3aae3c477f142212452252764327/_ccallback.py @@ -0,0 +1,251 @@ +from . import _ccallback_c + +import ctypes + +PyCFuncPtr = ctypes.CFUNCTYPE(ctypes.c_void_p).__bases__[0] + +ffi = None + +class CData: + pass + +def _import_cffi(): + global ffi, CData + + if ffi is not None: + return + + try: + import cffi + ffi = cffi.FFI() + CData = ffi.CData + except ImportError: + ffi = False + + +class LowLevelCallable(tuple): + """ + Low-level callback function. + + Some functions in SciPy take as arguments callback functions, which + can either be python callables or low-level compiled functions. Using + compiled callback functions can improve performance somewhat by + avoiding wrapping data in Python objects. + + Such low-level functions in SciPy are wrapped in `LowLevelCallable` + objects, which can be constructed from function pointers obtained from + ctypes, cffi, Cython, or contained in Python `PyCapsule` objects. + + .. seealso:: + + Functions accepting low-level callables: + + `scipy.integrate.quad`, `scipy.ndimage.generic_filter`, + `scipy.ndimage.generic_filter1d`, `scipy.ndimage.geometric_transform` + + Usage examples: + + :ref:`ndimage-ccallbacks`, :ref:`quad-callbacks` + + Parameters + ---------- + function : {PyCapsule, ctypes function pointer, cffi function pointer} + Low-level callback function. + user_data : {PyCapsule, ctypes void pointer, cffi void pointer} + User data to pass on to the callback function. + signature : str, optional + Signature of the function. If omitted, determined from *function*, + if possible. + + Attributes + ---------- + function + Callback function given. + user_data + User data given. + signature + Signature of the function. + + Methods + ------- + from_cython + Class method for constructing callables from Cython C-exported + functions. + + Notes + ----- + The argument ``function`` can be one of: + + - PyCapsule, whose name contains the C function signature + - ctypes function pointer + - cffi function pointer + + The signature of the low-level callback must match one of those expected + by the routine it is passed to. + + If constructing low-level functions from a PyCapsule, the name of the + capsule must be the corresponding signature, in the format:: + + return_type (arg1_type, arg2_type, ...) + + For example:: + + "void (double)" + "double (double, int *, void *)" + + The context of a PyCapsule passed in as ``function`` is used as ``user_data``, + if an explicit value for ``user_data`` was not given. + + """ + + # Make the class immutable + __slots__ = () + + def __new__(cls, function, user_data=None, signature=None): + # We need to hold a reference to the function & user data, + # to prevent them going out of scope + item = cls._parse_callback(function, user_data, signature) + return tuple.__new__(cls, (item, function, user_data)) + + def __repr__(self): + return f"LowLevelCallable({self.function!r}, {self.user_data!r})" + + @property + def function(self): + return tuple.__getitem__(self, 1) + + @property + def user_data(self): + return tuple.__getitem__(self, 2) + + @property + def signature(self): + return _ccallback_c.get_capsule_signature(tuple.__getitem__(self, 0)) + + def __getitem__(self, idx): + raise ValueError() + + @classmethod + def from_cython(cls, module, name, user_data=None, signature=None): + """ + Create a low-level callback function from an exported Cython function. + + Parameters + ---------- + module : module + Cython module where the exported function resides + name : str + Name of the exported function + user_data : {PyCapsule, ctypes void pointer, cffi void pointer}, optional + User data to pass on to the callback function. + signature : str, optional + Signature of the function. If omitted, determined from *function*. + + """ + try: + function = module.__pyx_capi__[name] + except AttributeError as e: + message = "Given module is not a Cython module with __pyx_capi__ attribute" + raise ValueError(message) from e + except KeyError as e: + message = f"No function {name!r} found in __pyx_capi__ of the module" + raise ValueError(message) from e + return cls(function, user_data, signature) + + @classmethod + def _parse_callback(cls, obj, user_data=None, signature=None): + _import_cffi() + + if isinstance(obj, LowLevelCallable): + func = tuple.__getitem__(obj, 0) + elif isinstance(obj, PyCFuncPtr): + func, signature = _get_ctypes_func(obj, signature) + elif isinstance(obj, CData): + func, signature = _get_cffi_func(obj, signature) + elif _ccallback_c.check_capsule(obj): + func = obj + else: + raise ValueError("Given input is not a callable or a " + "low-level callable (pycapsule/ctypes/cffi)") + + if isinstance(user_data, ctypes.c_void_p): + context = _get_ctypes_data(user_data) + elif isinstance(user_data, CData): + context = _get_cffi_data(user_data) + elif user_data is None: + context = 0 + elif _ccallback_c.check_capsule(user_data): + context = user_data + else: + raise ValueError("Given user data is not a valid " + "low-level void* pointer (pycapsule/ctypes/cffi)") + + return _ccallback_c.get_raw_capsule(func, signature, context) + + +# +# ctypes helpers +# + +def _get_ctypes_func(func, signature=None): + # Get function pointer + func_ptr = ctypes.cast(func, ctypes.c_void_p).value + + # Construct function signature + if signature is None: + signature = _typename_from_ctypes(func.restype) + " (" + for j, arg in enumerate(func.argtypes): + if j == 0: + signature += _typename_from_ctypes(arg) + else: + signature += ", " + _typename_from_ctypes(arg) + signature += ")" + + return func_ptr, signature + + +def _typename_from_ctypes(item): + if item is None: + return "void" + elif item is ctypes.c_void_p: + return "void *" + + name = item.__name__ + + pointer_level = 0 + while name.startswith("LP_"): + pointer_level += 1 + name = name[3:] + + if name.startswith('c_'): + name = name[2:] + + if pointer_level > 0: + name += " " + "*"*pointer_level + + return name + + +def _get_ctypes_data(data): + # Get voidp pointer + return ctypes.cast(data, ctypes.c_void_p).value + + +# +# CFFI helpers +# + +def _get_cffi_func(func, signature=None): + # Get function pointer + func_ptr = ffi.cast('uintptr_t', func) + + # Get signature + if signature is None: + signature = ffi.getctype(ffi.typeof(func)).replace('(*)', ' ') + + return func_ptr, signature + + +def _get_cffi_data(data): + # Get pointer + return ffi.cast('uintptr_t', data) diff --git a/shared/package-files/37/37d6f6771d9458fca36b9bf4d9d4a85983e72af6fa1fe3b382daf1fb18d6cf69/test_hermite.py b/shared/package-files/37/37d6f6771d9458fca36b9bf4d9d4a85983e72af6fa1fe3b382daf1fb18d6cf69/test_hermite.py new file mode 100644 index 0000000000000000000000000000000000000000..53ee0844e3c58456807bfd7828bdb9cf58f8ed76 --- /dev/null +++ b/shared/package-files/37/37d6f6771d9458fca36b9bf4d9d4a85983e72af6fa1fe3b382daf1fb18d6cf69/test_hermite.py @@ -0,0 +1,555 @@ +"""Tests for hermite module. + +""" +from functools import reduce + +import numpy as np +import numpy.polynomial.hermite as herm +from numpy.polynomial.polynomial import polyval +from numpy.testing import ( + assert_almost_equal, assert_raises, assert_equal, assert_, + ) + +H0 = np.array([1]) +H1 = np.array([0, 2]) +H2 = np.array([-2, 0, 4]) +H3 = np.array([0, -12, 0, 8]) +H4 = np.array([12, 0, -48, 0, 16]) +H5 = np.array([0, 120, 0, -160, 0, 32]) +H6 = np.array([-120, 0, 720, 0, -480, 0, 64]) +H7 = np.array([0, -1680, 0, 3360, 0, -1344, 0, 128]) +H8 = np.array([1680, 0, -13440, 0, 13440, 0, -3584, 0, 256]) +H9 = np.array([0, 30240, 0, -80640, 0, 48384, 0, -9216, 0, 512]) + +Hlist = [H0, H1, H2, H3, H4, H5, H6, H7, H8, H9] + + +def trim(x): + return herm.hermtrim(x, tol=1e-6) + + +class TestConstants: + + def test_hermdomain(self): + assert_equal(herm.hermdomain, [-1, 1]) + + def test_hermzero(self): + assert_equal(herm.hermzero, [0]) + + def test_hermone(self): + assert_equal(herm.hermone, [1]) + + def test_hermx(self): + assert_equal(herm.hermx, [0, .5]) + + +class TestArithmetic: + x = np.linspace(-3, 3, 100) + + def test_hermadd(self): + for i in range(5): + for j in range(5): + msg = f"At i={i}, j={j}" + tgt = np.zeros(max(i, j) + 1) + tgt[i] += 1 + tgt[j] += 1 + res = herm.hermadd([0]*i + [1], [0]*j + [1]) + assert_equal(trim(res), trim(tgt), err_msg=msg) + + def test_hermsub(self): + for i in range(5): + for j in range(5): + msg = f"At i={i}, j={j}" + tgt = np.zeros(max(i, j) + 1) + tgt[i] += 1 + tgt[j] -= 1 + res = herm.hermsub([0]*i + [1], [0]*j + [1]) + assert_equal(trim(res), trim(tgt), err_msg=msg) + + def test_hermmulx(self): + assert_equal(herm.hermmulx([0]), [0]) + assert_equal(herm.hermmulx([1]), [0, .5]) + for i in range(1, 5): + ser = [0]*i + [1] + tgt = [0]*(i - 1) + [i, 0, .5] + assert_equal(herm.hermmulx(ser), tgt) + + def test_hermmul(self): + # check values of result + for i in range(5): + pol1 = [0]*i + [1] + val1 = herm.hermval(self.x, pol1) + for j in range(5): + msg = f"At i={i}, j={j}" + pol2 = [0]*j + [1] + val2 = herm.hermval(self.x, pol2) + pol3 = herm.hermmul(pol1, pol2) + val3 = herm.hermval(self.x, pol3) + assert_(len(pol3) == i + j + 1, msg) + assert_almost_equal(val3, val1*val2, err_msg=msg) + + def test_hermdiv(self): + for i in range(5): + for j in range(5): + msg = f"At i={i}, j={j}" + ci = [0]*i + [1] + cj = [0]*j + [1] + tgt = herm.hermadd(ci, cj) + quo, rem = herm.hermdiv(tgt, ci) + res = herm.hermadd(herm.hermmul(quo, ci), rem) + assert_equal(trim(res), trim(tgt), err_msg=msg) + + def test_hermpow(self): + for i in range(5): + for j in range(5): + msg = f"At i={i}, j={j}" + c = np.arange(i + 1) + tgt = reduce(herm.hermmul, [c]*j, np.array([1])) + res = herm.hermpow(c, j) + assert_equal(trim(res), trim(tgt), err_msg=msg) + + +class TestEvaluation: + # coefficients of 1 + 2*x + 3*x**2 + c1d = np.array([2.5, 1., .75]) + c2d = np.einsum('i,j->ij', c1d, c1d) + c3d = np.einsum('i,j,k->ijk', c1d, c1d, c1d) + + # some random values in [-1, 1) + x = np.random.random((3, 5))*2 - 1 + y = polyval(x, [1., 2., 3.]) + + def test_hermval(self): + #check empty input + assert_equal(herm.hermval([], [1]).size, 0) + + #check normal input) + x = np.linspace(-1, 1) + y = [polyval(x, c) for c in Hlist] + for i in range(10): + msg = f"At i={i}" + tgt = y[i] + res = herm.hermval(x, [0]*i + [1]) + assert_almost_equal(res, tgt, err_msg=msg) + + #check that shape is preserved + for i in range(3): + dims = [2]*i + x = np.zeros(dims) + assert_equal(herm.hermval(x, [1]).shape, dims) + assert_equal(herm.hermval(x, [1, 0]).shape, dims) + assert_equal(herm.hermval(x, [1, 0, 0]).shape, dims) + + def test_hermval2d(self): + x1, x2, x3 = self.x + y1, y2, y3 = self.y + + #test exceptions + assert_raises(ValueError, herm.hermval2d, x1, x2[:2], self.c2d) + + #test values + tgt = y1*y2 + res = herm.hermval2d(x1, x2, self.c2d) + assert_almost_equal(res, tgt) + + #test shape + z = np.ones((2, 3)) + res = herm.hermval2d(z, z, self.c2d) + assert_(res.shape == (2, 3)) + + def test_hermval3d(self): + x1, x2, x3 = self.x + y1, y2, y3 = self.y + + #test exceptions + assert_raises(ValueError, herm.hermval3d, x1, x2, x3[:2], self.c3d) + + #test values + tgt = y1*y2*y3 + res = herm.hermval3d(x1, x2, x3, self.c3d) + assert_almost_equal(res, tgt) + + #test shape + z = np.ones((2, 3)) + res = herm.hermval3d(z, z, z, self.c3d) + assert_(res.shape == (2, 3)) + + def test_hermgrid2d(self): + x1, x2, x3 = self.x + y1, y2, y3 = self.y + + #test values + tgt = np.einsum('i,j->ij', y1, y2) + res = herm.hermgrid2d(x1, x2, self.c2d) + assert_almost_equal(res, tgt) + + #test shape + z = np.ones((2, 3)) + res = herm.hermgrid2d(z, z, self.c2d) + assert_(res.shape == (2, 3)*2) + + def test_hermgrid3d(self): + x1, x2, x3 = self.x + y1, y2, y3 = self.y + + #test values + tgt = np.einsum('i,j,k->ijk', y1, y2, y3) + res = herm.hermgrid3d(x1, x2, x3, self.c3d) + assert_almost_equal(res, tgt) + + #test shape + z = np.ones((2, 3)) + res = herm.hermgrid3d(z, z, z, self.c3d) + assert_(res.shape == (2, 3)*3) + + +class TestIntegral: + + def test_hermint(self): + # check exceptions + assert_raises(TypeError, herm.hermint, [0], .5) + assert_raises(ValueError, herm.hermint, [0], -1) + assert_raises(ValueError, herm.hermint, [0], 1, [0, 0]) + assert_raises(ValueError, herm.hermint, [0], lbnd=[0]) + assert_raises(ValueError, herm.hermint, [0], scl=[0]) + assert_raises(TypeError, herm.hermint, [0], axis=.5) + + # test integration of zero polynomial + for i in range(2, 5): + k = [0]*(i - 2) + [1] + res = herm.hermint([0], m=i, k=k) + assert_almost_equal(res, [0, .5]) + + # check single integration with integration constant + for i in range(5): + scl = i + 1 + pol = [0]*i + [1] + tgt = [i] + [0]*i + [1/scl] + hermpol = herm.poly2herm(pol) + hermint = herm.hermint(hermpol, m=1, k=[i]) + res = herm.herm2poly(hermint) + assert_almost_equal(trim(res), trim(tgt)) + + # check single integration with integration constant and lbnd + for i in range(5): + scl = i + 1 + pol = [0]*i + [1] + hermpol = herm.poly2herm(pol) + hermint = herm.hermint(hermpol, m=1, k=[i], lbnd=-1) + assert_almost_equal(herm.hermval(-1, hermint), i) + + # check single integration with integration constant and scaling + for i in range(5): + scl = i + 1 + pol = [0]*i + [1] + tgt = [i] + [0]*i + [2/scl] + hermpol = herm.poly2herm(pol) + hermint = herm.hermint(hermpol, m=1, k=[i], scl=2) + res = herm.herm2poly(hermint) + assert_almost_equal(trim(res), trim(tgt)) + + # check multiple integrations with default k + for i in range(5): + for j in range(2, 5): + pol = [0]*i + [1] + tgt = pol[:] + for k in range(j): + tgt = herm.hermint(tgt, m=1) + res = herm.hermint(pol, m=j) + assert_almost_equal(trim(res), trim(tgt)) + + # check multiple integrations with defined k + for i in range(5): + for j in range(2, 5): + pol = [0]*i + [1] + tgt = pol[:] + for k in range(j): + tgt = herm.hermint(tgt, m=1, k=[k]) + res = herm.hermint(pol, m=j, k=list(range(j))) + assert_almost_equal(trim(res), trim(tgt)) + + # check multiple integrations with lbnd + for i in range(5): + for j in range(2, 5): + pol = [0]*i + [1] + tgt = pol[:] + for k in range(j): + tgt = herm.hermint(tgt, m=1, k=[k], lbnd=-1) + res = herm.hermint(pol, m=j, k=list(range(j)), lbnd=-1) + assert_almost_equal(trim(res), trim(tgt)) + + # check multiple integrations with scaling + for i in range(5): + for j in range(2, 5): + pol = [0]*i + [1] + tgt = pol[:] + for k in range(j): + tgt = herm.hermint(tgt, m=1, k=[k], scl=2) + res = herm.hermint(pol, m=j, k=list(range(j)), scl=2) + assert_almost_equal(trim(res), trim(tgt)) + + def test_hermint_axis(self): + # check that axis keyword works + c2d = np.random.random((3, 4)) + + tgt = np.vstack([herm.hermint(c) for c in c2d.T]).T + res = herm.hermint(c2d, axis=0) + assert_almost_equal(res, tgt) + + tgt = np.vstack([herm.hermint(c) for c in c2d]) + res = herm.hermint(c2d, axis=1) + assert_almost_equal(res, tgt) + + tgt = np.vstack([herm.hermint(c, k=3) for c in c2d]) + res = herm.hermint(c2d, k=3, axis=1) + assert_almost_equal(res, tgt) + + +class TestDerivative: + + def test_hermder(self): + # check exceptions + assert_raises(TypeError, herm.hermder, [0], .5) + assert_raises(ValueError, herm.hermder, [0], -1) + + # check that zeroth derivative does nothing + for i in range(5): + tgt = [0]*i + [1] + res = herm.hermder(tgt, m=0) + assert_equal(trim(res), trim(tgt)) + + # check that derivation is the inverse of integration + for i in range(5): + for j in range(2, 5): + tgt = [0]*i + [1] + res = herm.hermder(herm.hermint(tgt, m=j), m=j) + assert_almost_equal(trim(res), trim(tgt)) + + # check derivation with scaling + for i in range(5): + for j in range(2, 5): + tgt = [0]*i + [1] + res = herm.hermder(herm.hermint(tgt, m=j, scl=2), m=j, scl=.5) + assert_almost_equal(trim(res), trim(tgt)) + + def test_hermder_axis(self): + # check that axis keyword works + c2d = np.random.random((3, 4)) + + tgt = np.vstack([herm.hermder(c) for c in c2d.T]).T + res = herm.hermder(c2d, axis=0) + assert_almost_equal(res, tgt) + + tgt = np.vstack([herm.hermder(c) for c in c2d]) + res = herm.hermder(c2d, axis=1) + assert_almost_equal(res, tgt) + + +class TestVander: + # some random values in [-1, 1) + x = np.random.random((3, 5))*2 - 1 + + def test_hermvander(self): + # check for 1d x + x = np.arange(3) + v = herm.hermvander(x, 3) + assert_(v.shape == (3, 4)) + for i in range(4): + coef = [0]*i + [1] + assert_almost_equal(v[..., i], herm.hermval(x, coef)) + + # check for 2d x + x = np.array([[1, 2], [3, 4], [5, 6]]) + v = herm.hermvander(x, 3) + assert_(v.shape == (3, 2, 4)) + for i in range(4): + coef = [0]*i + [1] + assert_almost_equal(v[..., i], herm.hermval(x, coef)) + + def test_hermvander2d(self): + # also tests hermval2d for non-square coefficient array + x1, x2, x3 = self.x + c = np.random.random((2, 3)) + van = herm.hermvander2d(x1, x2, [1, 2]) + tgt = herm.hermval2d(x1, x2, c) + res = np.dot(van, c.flat) + assert_almost_equal(res, tgt) + + # check shape + van = herm.hermvander2d([x1], [x2], [1, 2]) + assert_(van.shape == (1, 5, 6)) + + def test_hermvander3d(self): + # also tests hermval3d for non-square coefficient array + x1, x2, x3 = self.x + c = np.random.random((2, 3, 4)) + van = herm.hermvander3d(x1, x2, x3, [1, 2, 3]) + tgt = herm.hermval3d(x1, x2, x3, c) + res = np.dot(van, c.flat) + assert_almost_equal(res, tgt) + + # check shape + van = herm.hermvander3d([x1], [x2], [x3], [1, 2, 3]) + assert_(van.shape == (1, 5, 24)) + + +class TestFitting: + + def test_hermfit(self): + def f(x): + return x*(x - 1)*(x - 2) + + def f2(x): + return x**4 + x**2 + 1 + + # Test exceptions + assert_raises(ValueError, herm.hermfit, [1], [1], -1) + assert_raises(TypeError, herm.hermfit, [[1]], [1], 0) + assert_raises(TypeError, herm.hermfit, [], [1], 0) + assert_raises(TypeError, herm.hermfit, [1], [[[1]]], 0) + assert_raises(TypeError, herm.hermfit, [1, 2], [1], 0) + assert_raises(TypeError, herm.hermfit, [1], [1, 2], 0) + assert_raises(TypeError, herm.hermfit, [1], [1], 0, w=[[1]]) + assert_raises(TypeError, herm.hermfit, [1], [1], 0, w=[1, 1]) + assert_raises(ValueError, herm.hermfit, [1], [1], [-1,]) + assert_raises(ValueError, herm.hermfit, [1], [1], [2, -1, 6]) + assert_raises(TypeError, herm.hermfit, [1], [1], []) + + # Test fit + x = np.linspace(0, 2) + y = f(x) + # + coef3 = herm.hermfit(x, y, 3) + assert_equal(len(coef3), 4) + assert_almost_equal(herm.hermval(x, coef3), y) + coef3 = herm.hermfit(x, y, [0, 1, 2, 3]) + assert_equal(len(coef3), 4) + assert_almost_equal(herm.hermval(x, coef3), y) + # + coef4 = herm.hermfit(x, y, 4) + assert_equal(len(coef4), 5) + assert_almost_equal(herm.hermval(x, coef4), y) + coef4 = herm.hermfit(x, y, [0, 1, 2, 3, 4]) + assert_equal(len(coef4), 5) + assert_almost_equal(herm.hermval(x, coef4), y) + # check things still work if deg is not in strict increasing + coef4 = herm.hermfit(x, y, [2, 3, 4, 1, 0]) + assert_equal(len(coef4), 5) + assert_almost_equal(herm.hermval(x, coef4), y) + # + coef2d = herm.hermfit(x, np.array([y, y]).T, 3) + assert_almost_equal(coef2d, np.array([coef3, coef3]).T) + coef2d = herm.hermfit(x, np.array([y, y]).T, [0, 1, 2, 3]) + assert_almost_equal(coef2d, np.array([coef3, coef3]).T) + # test weighting + w = np.zeros_like(x) + yw = y.copy() + w[1::2] = 1 + y[0::2] = 0 + wcoef3 = herm.hermfit(x, yw, 3, w=w) + assert_almost_equal(wcoef3, coef3) + wcoef3 = herm.hermfit(x, yw, [0, 1, 2, 3], w=w) + assert_almost_equal(wcoef3, coef3) + # + wcoef2d = herm.hermfit(x, np.array([yw, yw]).T, 3, w=w) + assert_almost_equal(wcoef2d, np.array([coef3, coef3]).T) + wcoef2d = herm.hermfit(x, np.array([yw, yw]).T, [0, 1, 2, 3], w=w) + assert_almost_equal(wcoef2d, np.array([coef3, coef3]).T) + # test scaling with complex values x points whose square + # is zero when summed. + x = [1, 1j, -1, -1j] + assert_almost_equal(herm.hermfit(x, x, 1), [0, .5]) + assert_almost_equal(herm.hermfit(x, x, [0, 1]), [0, .5]) + # test fitting only even Legendre polynomials + x = np.linspace(-1, 1) + y = f2(x) + coef1 = herm.hermfit(x, y, 4) + assert_almost_equal(herm.hermval(x, coef1), y) + coef2 = herm.hermfit(x, y, [0, 2, 4]) + assert_almost_equal(herm.hermval(x, coef2), y) + assert_almost_equal(coef1, coef2) + + +class TestCompanion: + + def test_raises(self): + assert_raises(ValueError, herm.hermcompanion, []) + assert_raises(ValueError, herm.hermcompanion, [1]) + + def test_dimensions(self): + for i in range(1, 5): + coef = [0]*i + [1] + assert_(herm.hermcompanion(coef).shape == (i, i)) + + def test_linear_root(self): + assert_(herm.hermcompanion([1, 2])[0, 0] == -.25) + + +class TestGauss: + + def test_100(self): + x, w = herm.hermgauss(100) + + # test orthogonality. Note that the results need to be normalized, + # otherwise the huge values that can arise from fast growing + # functions like Laguerre can be very confusing. + v = herm.hermvander(x, 99) + vv = np.dot(v.T * w, v) + vd = 1/np.sqrt(vv.diagonal()) + vv = vd[:, None] * vv * vd + assert_almost_equal(vv, np.eye(100)) + + # check that the integral of 1 is correct + tgt = np.sqrt(np.pi) + assert_almost_equal(w.sum(), tgt) + + +class TestMisc: + + def test_hermfromroots(self): + res = herm.hermfromroots([]) + assert_almost_equal(trim(res), [1]) + for i in range(1, 5): + roots = np.cos(np.linspace(-np.pi, 0, 2*i + 1)[1::2]) + pol = herm.hermfromroots(roots) + res = herm.hermval(roots, pol) + tgt = 0 + assert_(len(pol) == i + 1) + assert_almost_equal(herm.herm2poly(pol)[-1], 1) + assert_almost_equal(res, tgt) + + def test_hermroots(self): + assert_almost_equal(herm.hermroots([1]), []) + assert_almost_equal(herm.hermroots([1, 1]), [-.5]) + for i in range(2, 5): + tgt = np.linspace(-1, 1, i) + res = herm.hermroots(herm.hermfromroots(tgt)) + assert_almost_equal(trim(res), trim(tgt)) + + def test_hermtrim(self): + coef = [2, -1, 1, 0] + + # Test exceptions + assert_raises(ValueError, herm.hermtrim, coef, -1) + + # Test results + assert_equal(herm.hermtrim(coef), coef[:-1]) + assert_equal(herm.hermtrim(coef, 1), coef[:-3]) + assert_equal(herm.hermtrim(coef, 2), [0]) + + def test_hermline(self): + assert_equal(herm.hermline(3, 4), [3, 2]) + + def test_herm2poly(self): + for i in range(10): + assert_almost_equal(herm.herm2poly([0]*i + [1]), Hlist[i]) + + def test_poly2herm(self): + for i in range(10): + assert_almost_equal(herm.poly2herm(Hlist[i]), [0]*i + [1]) + + def test_weight(self): + x = np.linspace(-5, 5, 11) + tgt = np.exp(-x**2) + res = herm.hermweight(x) + assert_almost_equal(res, tgt) diff --git a/shared/package-files/37/37db8af22785bfcd0d4dca0dd41596872d76b2a061ef237b29bfa270e5ac7b59/datetimes.py b/shared/package-files/37/37db8af22785bfcd0d4dca0dd41596872d76b2a061ef237b29bfa270e5ac7b59/datetimes.py new file mode 100644 index 0000000000000000000000000000000000000000..0db25db02e75ad201e11ab0f6a6d10205060ea9a --- /dev/null +++ b/shared/package-files/37/37db8af22785bfcd0d4dca0dd41596872d76b2a061ef237b29bfa270e5ac7b59/datetimes.py @@ -0,0 +1,2837 @@ +from __future__ import annotations + +from datetime import ( + datetime, + timedelta, + tzinfo, +) +from typing import ( + TYPE_CHECKING, + cast, + overload, +) +import warnings + +import numpy as np + +from pandas._config import using_string_dtype + +from pandas._libs import ( + lib, + tslib, +) +from pandas._libs.tslibs import ( + BaseOffset, + NaT, + NaTType, + Resolution, + Timestamp, + astype_overflowsafe, + fields, + get_resolution, + get_supported_dtype, + get_unit_from_dtype, + ints_to_pydatetime, + is_date_array_normalized, + is_supported_dtype, + is_unitless, + normalize_i8_timestamps, + timezones, + to_offset, + tz_convert_from_utc, + tzconversion, +) +from pandas._libs.tslibs.dtypes import abbrev_to_npy_unit +from pandas.errors import PerformanceWarning +from pandas.util._exceptions import find_stack_level +from pandas.util._validators import validate_inclusive + +from pandas.core.dtypes.common import ( + DT64NS_DTYPE, + INT64_DTYPE, + is_bool_dtype, + is_float_dtype, + is_string_dtype, + pandas_dtype, +) +from pandas.core.dtypes.dtypes import ( + DatetimeTZDtype, + ExtensionDtype, + PeriodDtype, +) +from pandas.core.dtypes.missing import isna + +from pandas.core.arrays import datetimelike as dtl +from pandas.core.arrays._ranges import generate_regular_range +import pandas.core.common as com + +from pandas.tseries.frequencies import get_period_alias +from pandas.tseries.offsets import ( + Day, + Tick, +) + +if TYPE_CHECKING: + from collections.abc import Iterator + + from pandas._typing import ( + ArrayLike, + DateTimeErrorChoices, + DtypeObj, + IntervalClosedType, + Self, + TimeAmbiguous, + TimeNonexistent, + npt, + ) + + from pandas import DataFrame + from pandas.core.arrays import PeriodArray + + +_ITER_CHUNKSIZE = 10_000 + + +@overload +def tz_to_dtype(tz: tzinfo, unit: str = ...) -> DatetimeTZDtype: + ... + + +@overload +def tz_to_dtype(tz: None, unit: str = ...) -> np.dtype[np.datetime64]: + ... + + +def tz_to_dtype( + tz: tzinfo | None, unit: str = "ns" +) -> np.dtype[np.datetime64] | DatetimeTZDtype: + """ + Return a datetime64[ns] dtype appropriate for the given timezone. + + Parameters + ---------- + tz : tzinfo or None + unit : str, default "ns" + + Returns + ------- + np.dtype or Datetime64TZDType + """ + if tz is None: + return np.dtype(f"M8[{unit}]") + else: + return DatetimeTZDtype(tz=tz, unit=unit) + + +def _field_accessor(name: str, field: str, docstring: str | None = None): + def f(self): + values = self._local_timestamps() + + if field in self._bool_ops: + result: np.ndarray + + if field.endswith(("start", "end")): + freq = self.freq + month_kw = 12 + if freq: + kwds = freq.kwds + month_kw = kwds.get("startingMonth", kwds.get("month", 12)) + + result = fields.get_start_end_field( + values, field, self.freqstr, month_kw, reso=self._creso + ) + else: + result = fields.get_date_field(values, field, reso=self._creso) + + # these return a boolean by-definition + return result + + if field in self._object_ops: + result = fields.get_date_name_field(values, field, reso=self._creso) + result = self._maybe_mask_results(result, fill_value=None) + + else: + result = fields.get_date_field(values, field, reso=self._creso) + result = self._maybe_mask_results( + result, fill_value=None, convert="float64" + ) + + return result + + f.__name__ = name + f.__doc__ = docstring + return property(f) + + +# error: Definition of "_concat_same_type" in base class "NDArrayBacked" is +# incompatible with definition in base class "ExtensionArray" +class DatetimeArray(dtl.TimelikeOps, dtl.DatelikeOps): # type: ignore[misc] + """ + Pandas ExtensionArray for tz-naive or tz-aware datetime data. + + .. warning:: + + DatetimeArray is currently experimental, and its API may change + without warning. In particular, :attr:`DatetimeArray.dtype` is + expected to change to always be an instance of an ``ExtensionDtype`` + subclass. + + Parameters + ---------- + values : Series, Index, DatetimeArray, ndarray + The datetime data. + + For DatetimeArray `values` (or a Series or Index boxing one), + `dtype` and `freq` will be extracted from `values`. + + dtype : numpy.dtype or DatetimeTZDtype + Note that the only NumPy dtype allowed is 'datetime64[ns]'. + freq : str or Offset, optional + The frequency. + copy : bool, default False + Whether to copy the underlying array of values. + + Attributes + ---------- + None + + Methods + ------- + None + + Examples + -------- + >>> pd.arrays.DatetimeArray._from_sequence( + ... pd.DatetimeIndex(['2023-01-01', '2023-01-02'], freq='D')) + + ['2023-01-01 00:00:00', '2023-01-02 00:00:00'] + Length: 2, dtype: datetime64[ns] + """ + + _typ = "datetimearray" + _internal_fill_value = np.datetime64("NaT", "ns") + _recognized_scalars = (datetime, np.datetime64) + _is_recognized_dtype = lambda x: lib.is_np_dtype(x, "M") or isinstance( + x, DatetimeTZDtype + ) + _infer_matches = ("datetime", "datetime64", "date") + + @property + def _scalar_type(self) -> type[Timestamp]: + return Timestamp + + # define my properties & methods for delegation + _bool_ops: list[str] = [ + "is_month_start", + "is_month_end", + "is_quarter_start", + "is_quarter_end", + "is_year_start", + "is_year_end", + "is_leap_year", + ] + _object_ops: list[str] = ["freq", "tz"] + _field_ops: list[str] = [ + "year", + "month", + "day", + "hour", + "minute", + "second", + "weekday", + "dayofweek", + "day_of_week", + "dayofyear", + "day_of_year", + "quarter", + "days_in_month", + "daysinmonth", + "microsecond", + "nanosecond", + ] + _other_ops: list[str] = ["date", "time", "timetz"] + _datetimelike_ops: list[str] = ( + _field_ops + _object_ops + _bool_ops + _other_ops + ["unit"] + ) + _datetimelike_methods: list[str] = [ + "to_period", + "tz_localize", + "tz_convert", + "normalize", + "strftime", + "round", + "floor", + "ceil", + "month_name", + "day_name", + "as_unit", + ] + + # ndim is inherited from ExtensionArray, must exist to ensure + # Timestamp.__richcmp__(DateTimeArray) operates pointwise + + # ensure that operations with numpy arrays defer to our implementation + __array_priority__ = 1000 + + # ----------------------------------------------------------------- + # Constructors + + _dtype: np.dtype[np.datetime64] | DatetimeTZDtype + _freq: BaseOffset | None = None + _default_dtype = DT64NS_DTYPE # used in TimeLikeOps.__init__ + + @classmethod + def _from_scalars(cls, scalars, *, dtype: DtypeObj) -> Self: + if lib.infer_dtype(scalars, skipna=True) not in ["datetime", "datetime64"]: + # TODO: require any NAs be valid-for-DTA + # TODO: if dtype is passed, check for tzawareness compat? + raise ValueError + return cls._from_sequence(scalars, dtype=dtype) + + @classmethod + def _validate_dtype(cls, values, dtype): + # used in TimeLikeOps.__init__ + dtype = _validate_dt64_dtype(dtype) + _validate_dt64_dtype(values.dtype) + if isinstance(dtype, np.dtype): + if values.dtype != dtype: + raise ValueError("Values resolution does not match dtype.") + else: + vunit = np.datetime_data(values.dtype)[0] + if vunit != dtype.unit: + raise ValueError("Values resolution does not match dtype.") + return dtype + + # error: Signature of "_simple_new" incompatible with supertype "NDArrayBacked" + @classmethod + def _simple_new( # type: ignore[override] + cls, + values: npt.NDArray[np.datetime64], + freq: BaseOffset | None = None, + dtype: np.dtype[np.datetime64] | DatetimeTZDtype = DT64NS_DTYPE, + ) -> Self: + assert isinstance(values, np.ndarray) + assert dtype.kind == "M" + if isinstance(dtype, np.dtype): + assert dtype == values.dtype + assert not is_unitless(dtype) + else: + # DatetimeTZDtype. If we have e.g. DatetimeTZDtype[us, UTC], + # then values.dtype should be M8[us]. + assert dtype._creso == get_unit_from_dtype(values.dtype) + + result = super()._simple_new(values, dtype) + result._freq = freq + return result + + @classmethod + def _from_sequence(cls, scalars, *, dtype=None, copy: bool = False): + return cls._from_sequence_not_strict(scalars, dtype=dtype, copy=copy) + + @classmethod + def _from_sequence_not_strict( + cls, + data, + *, + dtype=None, + copy: bool = False, + tz=lib.no_default, + freq: str | BaseOffset | lib.NoDefault | None = lib.no_default, + dayfirst: bool = False, + yearfirst: bool = False, + ambiguous: TimeAmbiguous = "raise", + ) -> Self: + """ + A non-strict version of _from_sequence, called from DatetimeIndex.__new__. + """ + + # if the user either explicitly passes tz=None or a tz-naive dtype, we + # disallows inferring a tz. + explicit_tz_none = tz is None + if tz is lib.no_default: + tz = None + else: + tz = timezones.maybe_get_tz(tz) + + dtype = _validate_dt64_dtype(dtype) + # if dtype has an embedded tz, capture it + tz = _validate_tz_from_dtype(dtype, tz, explicit_tz_none) + + unit = None + if dtype is not None: + unit = dtl.dtype_to_unit(dtype) + + data, copy = dtl.ensure_arraylike_for_datetimelike( + data, copy, cls_name="DatetimeArray" + ) + inferred_freq = None + if isinstance(data, DatetimeArray): + inferred_freq = data.freq + + subarr, tz = _sequence_to_dt64( + data, + copy=copy, + tz=tz, + dayfirst=dayfirst, + yearfirst=yearfirst, + ambiguous=ambiguous, + out_unit=unit, + ) + # We have to call this again after possibly inferring a tz above + _validate_tz_from_dtype(dtype, tz, explicit_tz_none) + if tz is not None and explicit_tz_none: + raise ValueError( + "Passed data is timezone-aware, incompatible with 'tz=None'. " + "Use obj.tz_localize(None) instead." + ) + + data_unit = np.datetime_data(subarr.dtype)[0] + data_dtype = tz_to_dtype(tz, data_unit) + result = cls._simple_new(subarr, freq=inferred_freq, dtype=data_dtype) + if unit is not None and unit != result.unit: + # If unit was specified in user-passed dtype, cast to it here + result = result.as_unit(unit) + + validate_kwds = {"ambiguous": ambiguous} + result._maybe_pin_freq(freq, validate_kwds) + return result + + @classmethod + def _generate_range( + cls, + start, + end, + periods: int | None, + freq, + tz=None, + normalize: bool = False, + ambiguous: TimeAmbiguous = "raise", + nonexistent: TimeNonexistent = "raise", + inclusive: IntervalClosedType = "both", + *, + unit: str | None = None, + ) -> Self: + periods = dtl.validate_periods(periods) + if freq is None and any(x is None for x in [periods, start, end]): + raise ValueError("Must provide freq argument if no data is supplied") + + if com.count_not_none(start, end, periods, freq) != 3: + raise ValueError( + "Of the four parameters: start, end, periods, " + "and freq, exactly three must be specified" + ) + freq = to_offset(freq) + + if start is not None: + start = Timestamp(start) + + if end is not None: + end = Timestamp(end) + + if start is NaT or end is NaT: + raise ValueError("Neither `start` nor `end` can be NaT") + + if unit is not None: + if unit not in ["s", "ms", "us", "ns"]: + raise ValueError("'unit' must be one of 's', 'ms', 'us', 'ns'") + else: + unit = "ns" + + if start is not None: + start = start.as_unit(unit, round_ok=False) + if end is not None: + end = end.as_unit(unit, round_ok=False) + + left_inclusive, right_inclusive = validate_inclusive(inclusive) + start, end = _maybe_normalize_endpoints(start, end, normalize) + tz = _infer_tz_from_endpoints(start, end, tz) + + if tz is not None: + # Localize the start and end arguments + start = _maybe_localize_point(start, freq, tz, ambiguous, nonexistent) + end = _maybe_localize_point(end, freq, tz, ambiguous, nonexistent) + + if freq is not None: + # We break Day arithmetic (fixed 24 hour) here and opt for + # Day to mean calendar day (23/24/25 hour). Therefore, strip + # tz info from start and day to avoid DST arithmetic + if isinstance(freq, Day): + if start is not None: + start = start.tz_localize(None) + if end is not None: + end = end.tz_localize(None) + + if isinstance(freq, Tick): + i8values = generate_regular_range(start, end, periods, freq, unit=unit) + else: + xdr = _generate_range( + start=start, end=end, periods=periods, offset=freq, unit=unit + ) + i8values = np.array([x._value for x in xdr], dtype=np.int64) + + endpoint_tz = start.tz if start is not None else end.tz + + if tz is not None and endpoint_tz is None: + if not timezones.is_utc(tz): + # short-circuit tz_localize_to_utc which would make + # an unnecessary copy with UTC but be a no-op. + creso = abbrev_to_npy_unit(unit) + i8values = tzconversion.tz_localize_to_utc( + i8values, + tz, + ambiguous=ambiguous, + nonexistent=nonexistent, + creso=creso, + ) + + # i8values is localized datetime64 array -> have to convert + # start/end as well to compare + if start is not None: + start = start.tz_localize(tz, ambiguous, nonexistent) + if end is not None: + end = end.tz_localize(tz, ambiguous, nonexistent) + else: + # Create a linearly spaced date_range in local time + # Nanosecond-granularity timestamps aren't always correctly + # representable with doubles, so we limit the range that we + # pass to np.linspace as much as possible + periods = cast(int, periods) + i8values = ( + np.linspace(0, end._value - start._value, periods, dtype="int64") + + start._value + ) + if i8values.dtype != "i8": + # 2022-01-09 I (brock) am not sure if it is possible for this + # to overflow and cast to e.g. f8, but if it does we need to cast + i8values = i8values.astype("i8") + + if start == end: + if not left_inclusive and not right_inclusive: + i8values = i8values[1:-1] + else: + start_i8 = Timestamp(start)._value + end_i8 = Timestamp(end)._value + if not left_inclusive or not right_inclusive: + if not left_inclusive and len(i8values) and i8values[0] == start_i8: + i8values = i8values[1:] + if not right_inclusive and len(i8values) and i8values[-1] == end_i8: + i8values = i8values[:-1] + + dt64_values = i8values.view(f"datetime64[{unit}]") + dtype = tz_to_dtype(tz, unit=unit) + return cls._simple_new(dt64_values, freq=freq, dtype=dtype) + + # ----------------------------------------------------------------- + # DatetimeLike Interface + + def _unbox_scalar(self, value) -> np.datetime64: + if not isinstance(value, self._scalar_type) and value is not NaT: + raise ValueError("'value' should be a Timestamp.") + self._check_compatible_with(value) + if value is NaT: + return np.datetime64(value._value, self.unit) + else: + return value.as_unit(self.unit).asm8 + + def _scalar_from_string(self, value) -> Timestamp | NaTType: + return Timestamp(value, tz=self.tz) + + def _check_compatible_with(self, other) -> None: + if other is NaT: + return + self._assert_tzawareness_compat(other) + + # ----------------------------------------------------------------- + # Descriptive Properties + + def _box_func(self, x: np.datetime64) -> Timestamp | NaTType: + # GH#42228 + value = x.view("i8") + ts = Timestamp._from_value_and_reso(value, reso=self._creso, tz=self.tz) + return ts + + @property + # error: Return type "Union[dtype, DatetimeTZDtype]" of "dtype" + # incompatible with return type "ExtensionDtype" in supertype + # "ExtensionArray" + def dtype(self) -> np.dtype[np.datetime64] | DatetimeTZDtype: # type: ignore[override] + """ + The dtype for the DatetimeArray. + + .. warning:: + + A future version of pandas will change dtype to never be a + ``numpy.dtype``. Instead, :attr:`DatetimeArray.dtype` will + always be an instance of an ``ExtensionDtype`` subclass. + + Returns + ------- + numpy.dtype or DatetimeTZDtype + If the values are tz-naive, then ``np.dtype('datetime64[ns]')`` + is returned. + + If the values are tz-aware, then the ``DatetimeTZDtype`` + is returned. + """ + return self._dtype + + @property + def tz(self) -> tzinfo | None: + """ + Return the timezone. + + Returns + ------- + datetime.tzinfo, pytz.tzinfo.BaseTZInfo, dateutil.tz.tz.tzfile, or None + Returns None when the array is tz-naive. + + Examples + -------- + For Series: + + >>> s = pd.Series(["1/1/2020 10:00:00+00:00", "2/1/2020 11:00:00+00:00"]) + >>> s = pd.to_datetime(s) + >>> s + 0 2020-01-01 10:00:00+00:00 + 1 2020-02-01 11:00:00+00:00 + dtype: datetime64[ns, UTC] + >>> s.dt.tz + datetime.timezone.utc + + For DatetimeIndex: + + >>> idx = pd.DatetimeIndex(["1/1/2020 10:00:00+00:00", + ... "2/1/2020 11:00:00+00:00"]) + >>> idx.tz + datetime.timezone.utc + """ + # GH 18595 + return getattr(self.dtype, "tz", None) + + @tz.setter + def tz(self, value): + # GH 3746: Prevent localizing or converting the index by setting tz + raise AttributeError( + "Cannot directly set timezone. Use tz_localize() " + "or tz_convert() as appropriate" + ) + + @property + def tzinfo(self) -> tzinfo | None: + """ + Alias for tz attribute + """ + return self.tz + + @property # NB: override with cache_readonly in immutable subclasses + def is_normalized(self) -> bool: + """ + Returns True if all of the dates are at midnight ("no time") + """ + return is_date_array_normalized(self.asi8, self.tz, reso=self._creso) + + @property # NB: override with cache_readonly in immutable subclasses + def _resolution_obj(self) -> Resolution: + return get_resolution(self.asi8, self.tz, reso=self._creso) + + # ---------------------------------------------------------------- + # Array-Like / EA-Interface Methods + + def __array__(self, dtype=None, copy=None) -> np.ndarray: + if dtype is None and self.tz: + # The default for tz-aware is object, to preserve tz info + dtype = object + + return super().__array__(dtype=dtype, copy=copy) + + def __iter__(self) -> Iterator: + """ + Return an iterator over the boxed values + + Yields + ------ + tstamp : Timestamp + """ + if self.ndim > 1: + for i in range(len(self)): + yield self[i] + else: + # convert in chunks of 10k for efficiency + data = self.asi8 + length = len(self) + chunksize = _ITER_CHUNKSIZE + chunks = (length // chunksize) + 1 + + for i in range(chunks): + start_i = i * chunksize + end_i = min((i + 1) * chunksize, length) + converted = ints_to_pydatetime( + data[start_i:end_i], + tz=self.tz, + box="timestamp", + reso=self._creso, + ) + yield from converted + + def astype(self, dtype, copy: bool = True): + # We handle + # --> datetime + # --> period + # DatetimeLikeArrayMixin Super handles the rest. + dtype = pandas_dtype(dtype) + + if dtype == self.dtype: + if copy: + return self.copy() + return self + + elif isinstance(dtype, ExtensionDtype): + if not isinstance(dtype, DatetimeTZDtype): + # e.g. Sparse[datetime64[ns]] + return super().astype(dtype, copy=copy) + elif self.tz is None: + # pre-2.0 this did self.tz_localize(dtype.tz), which did not match + # the Series behavior which did + # values.tz_localize("UTC").tz_convert(dtype.tz) + raise TypeError( + "Cannot use .astype to convert from timezone-naive dtype to " + "timezone-aware dtype. Use obj.tz_localize instead or " + "series.dt.tz_localize instead" + ) + else: + # tzaware unit conversion e.g. datetime64[s, UTC] + np_dtype = np.dtype(dtype.str) + res_values = astype_overflowsafe(self._ndarray, np_dtype, copy=copy) + return type(self)._simple_new(res_values, dtype=dtype, freq=self.freq) + + elif ( + self.tz is None + and lib.is_np_dtype(dtype, "M") + and not is_unitless(dtype) + and is_supported_dtype(dtype) + ): + # unit conversion e.g. datetime64[s] + res_values = astype_overflowsafe(self._ndarray, dtype, copy=True) + return type(self)._simple_new(res_values, dtype=res_values.dtype) + # TODO: preserve freq? + + elif self.tz is not None and lib.is_np_dtype(dtype, "M"): + # pre-2.0 behavior for DTA/DTI was + # values.tz_convert("UTC").tz_localize(None), which did not match + # the Series behavior + raise TypeError( + "Cannot use .astype to convert from timezone-aware dtype to " + "timezone-naive dtype. Use obj.tz_localize(None) or " + "obj.tz_convert('UTC').tz_localize(None) instead." + ) + + elif ( + self.tz is None + and lib.is_np_dtype(dtype, "M") + and dtype != self.dtype + and is_unitless(dtype) + ): + raise TypeError( + "Casting to unit-less dtype 'datetime64' is not supported. " + "Pass e.g. 'datetime64[ns]' instead." + ) + + elif isinstance(dtype, PeriodDtype): + return self.to_period(freq=dtype.freq) + return dtl.DatetimeLikeArrayMixin.astype(self, dtype, copy) + + # ----------------------------------------------------------------- + # Rendering Methods + + def _format_native_types( + self, *, na_rep: str | float = "NaT", date_format=None, **kwargs + ) -> npt.NDArray[np.object_]: + if date_format is None and self._is_dates_only: + # Only dates and no timezone: provide a default format + date_format = "%Y-%m-%d" + + return tslib.format_array_from_datetime( + self.asi8, tz=self.tz, format=date_format, na_rep=na_rep, reso=self._creso + ) + + # ----------------------------------------------------------------- + # Comparison Methods + + def _has_same_tz(self, other) -> bool: + # vzone shouldn't be None if value is non-datetime like + if isinstance(other, np.datetime64): + # convert to Timestamp as np.datetime64 doesn't have tz attr + other = Timestamp(other) + + if not hasattr(other, "tzinfo"): + return False + other_tz = other.tzinfo + return timezones.tz_compare(self.tzinfo, other_tz) + + def _assert_tzawareness_compat(self, other) -> None: + # adapted from _Timestamp._assert_tzawareness_compat + other_tz = getattr(other, "tzinfo", None) + other_dtype = getattr(other, "dtype", None) + + if isinstance(other_dtype, DatetimeTZDtype): + # Get tzinfo from Series dtype + other_tz = other.dtype.tz + if other is NaT: + # pd.NaT quacks both aware and naive + pass + elif self.tz is None: + if other_tz is not None: + raise TypeError( + "Cannot compare tz-naive and tz-aware datetime-like objects." + ) + elif other_tz is None: + raise TypeError( + "Cannot compare tz-naive and tz-aware datetime-like objects" + ) + + # ----------------------------------------------------------------- + # Arithmetic Methods + + def _add_offset(self, offset: BaseOffset) -> Self: + assert not isinstance(offset, Tick) + + if self.tz is not None: + values = self.tz_localize(None) + else: + values = self + + try: + res_values = offset._apply_array(values._ndarray) + if res_values.dtype.kind == "i": + # error: Argument 1 to "view" of "ndarray" has incompatible type + # "dtype[datetime64] | DatetimeTZDtype"; expected + # "dtype[Any] | type[Any] | _SupportsDType[dtype[Any]]" + res_values = res_values.view(values.dtype) # type: ignore[arg-type] + except NotImplementedError: + warnings.warn( + "Non-vectorized DateOffset being applied to Series or DatetimeIndex.", + PerformanceWarning, + stacklevel=find_stack_level(), + ) + res_values = self.astype("O") + offset + # TODO(GH#55564): as_unit will be unnecessary + result = type(self)._from_sequence(res_values).as_unit(self.unit) + if not len(self): + # GH#30336 _from_sequence won't be able to infer self.tz + return result.tz_localize(self.tz) + + else: + result = type(self)._simple_new(res_values, dtype=res_values.dtype) + if offset.normalize: + result = result.normalize() + result._freq = None + + if self.tz is not None: + result = result.tz_localize(self.tz) + + return result + + # ----------------------------------------------------------------- + # Timezone Conversion and Localization Methods + + def _local_timestamps(self) -> npt.NDArray[np.int64]: + """ + Convert to an i8 (unix-like nanosecond timestamp) representation + while keeping the local timezone and not using UTC. + This is used to calculate time-of-day information as if the timestamps + were timezone-naive. + """ + if self.tz is None or timezones.is_utc(self.tz): + # Avoid the copy that would be made in tzconversion + return self.asi8 + return tz_convert_from_utc(self.asi8, self.tz, reso=self._creso) + + def tz_convert(self, tz) -> Self: + """ + Convert tz-aware Datetime Array/Index from one time zone to another. + + Parameters + ---------- + tz : str, pytz.timezone, dateutil.tz.tzfile, datetime.tzinfo or None + Time zone for time. Corresponding timestamps would be converted + to this time zone of the Datetime Array/Index. A `tz` of None will + convert to UTC and remove the timezone information. + + Returns + ------- + Array or Index + + Raises + ------ + TypeError + If Datetime Array/Index is tz-naive. + + See Also + -------- + DatetimeIndex.tz : A timezone that has a variable offset from UTC. + DatetimeIndex.tz_localize : Localize tz-naive DatetimeIndex to a + given time zone, or remove timezone from a tz-aware DatetimeIndex. + + Examples + -------- + With the `tz` parameter, we can change the DatetimeIndex + to other time zones: + + >>> dti = pd.date_range(start='2014-08-01 09:00', + ... freq='h', periods=3, tz='Europe/Berlin') + + >>> dti + DatetimeIndex(['2014-08-01 09:00:00+02:00', + '2014-08-01 10:00:00+02:00', + '2014-08-01 11:00:00+02:00'], + dtype='datetime64[ns, Europe/Berlin]', freq='h') + + >>> dti.tz_convert('US/Central') + DatetimeIndex(['2014-08-01 02:00:00-05:00', + '2014-08-01 03:00:00-05:00', + '2014-08-01 04:00:00-05:00'], + dtype='datetime64[ns, US/Central]', freq='h') + + With the ``tz=None``, we can remove the timezone (after converting + to UTC if necessary): + + >>> dti = pd.date_range(start='2014-08-01 09:00', freq='h', + ... periods=3, tz='Europe/Berlin') + + >>> dti + DatetimeIndex(['2014-08-01 09:00:00+02:00', + '2014-08-01 10:00:00+02:00', + '2014-08-01 11:00:00+02:00'], + dtype='datetime64[ns, Europe/Berlin]', freq='h') + + >>> dti.tz_convert(None) + DatetimeIndex(['2014-08-01 07:00:00', + '2014-08-01 08:00:00', + '2014-08-01 09:00:00'], + dtype='datetime64[ns]', freq='h') + """ + tz = timezones.maybe_get_tz(tz) + + if self.tz is None: + # tz naive, use tz_localize + raise TypeError( + "Cannot convert tz-naive timestamps, use tz_localize to localize" + ) + + # No conversion since timestamps are all UTC to begin with + dtype = tz_to_dtype(tz, unit=self.unit) + return self._simple_new(self._ndarray, dtype=dtype, freq=self.freq) + + @dtl.ravel_compat + def tz_localize( + self, + tz, + ambiguous: TimeAmbiguous = "raise", + nonexistent: TimeNonexistent = "raise", + ) -> Self: + """ + Localize tz-naive Datetime Array/Index to tz-aware Datetime Array/Index. + + This method takes a time zone (tz) naive Datetime Array/Index object + and makes this time zone aware. It does not move the time to another + time zone. + + This method can also be used to do the inverse -- to create a time + zone unaware object from an aware object. To that end, pass `tz=None`. + + Parameters + ---------- + tz : str, pytz.timezone, dateutil.tz.tzfile, datetime.tzinfo or None + Time zone to convert timestamps to. Passing ``None`` will + remove the time zone information preserving local time. + ambiguous : 'infer', 'NaT', bool array, default 'raise' + When clocks moved backward due to DST, ambiguous times may arise. + For example in Central European Time (UTC+01), when going from + 03:00 DST to 02:00 non-DST, 02:30:00 local time occurs both at + 00:30:00 UTC and at 01:30:00 UTC. In such a situation, the + `ambiguous` parameter dictates how ambiguous times should be + handled. + + - 'infer' will attempt to infer fall dst-transition hours based on + order + - bool-ndarray where True signifies a DST time, False signifies a + non-DST time (note that this flag is only applicable for + ambiguous times) + - 'NaT' will return NaT where there are ambiguous times + - 'raise' will raise an AmbiguousTimeError if there are ambiguous + times. + + nonexistent : 'shift_forward', 'shift_backward, 'NaT', timedelta, \ +default 'raise' + A nonexistent time does not exist in a particular timezone + where clocks moved forward due to DST. + + - 'shift_forward' will shift the nonexistent time forward to the + closest existing time + - 'shift_backward' will shift the nonexistent time backward to the + closest existing time + - 'NaT' will return NaT where there are nonexistent times + - timedelta objects will shift nonexistent times by the timedelta + - 'raise' will raise an NonExistentTimeError if there are + nonexistent times. + + Returns + ------- + Same type as self + Array/Index converted to the specified time zone. + + Raises + ------ + TypeError + If the Datetime Array/Index is tz-aware and tz is not None. + + See Also + -------- + DatetimeIndex.tz_convert : Convert tz-aware DatetimeIndex from + one time zone to another. + + Examples + -------- + >>> tz_naive = pd.date_range('2018-03-01 09:00', periods=3) + >>> tz_naive + DatetimeIndex(['2018-03-01 09:00:00', '2018-03-02 09:00:00', + '2018-03-03 09:00:00'], + dtype='datetime64[ns]', freq='D') + + Localize DatetimeIndex in US/Eastern time zone: + + >>> tz_aware = tz_naive.tz_localize(tz='US/Eastern') + >>> tz_aware + DatetimeIndex(['2018-03-01 09:00:00-05:00', + '2018-03-02 09:00:00-05:00', + '2018-03-03 09:00:00-05:00'], + dtype='datetime64[ns, US/Eastern]', freq=None) + + With the ``tz=None``, we can remove the time zone information + while keeping the local time (not converted to UTC): + + >>> tz_aware.tz_localize(None) + DatetimeIndex(['2018-03-01 09:00:00', '2018-03-02 09:00:00', + '2018-03-03 09:00:00'], + dtype='datetime64[ns]', freq=None) + + Be careful with DST changes. When there is sequential data, pandas can + infer the DST time: + + >>> s = pd.to_datetime(pd.Series(['2018-10-28 01:30:00', + ... '2018-10-28 02:00:00', + ... '2018-10-28 02:30:00', + ... '2018-10-28 02:00:00', + ... '2018-10-28 02:30:00', + ... '2018-10-28 03:00:00', + ... '2018-10-28 03:30:00'])) + >>> s.dt.tz_localize('CET', ambiguous='infer') + 0 2018-10-28 01:30:00+02:00 + 1 2018-10-28 02:00:00+02:00 + 2 2018-10-28 02:30:00+02:00 + 3 2018-10-28 02:00:00+01:00 + 4 2018-10-28 02:30:00+01:00 + 5 2018-10-28 03:00:00+01:00 + 6 2018-10-28 03:30:00+01:00 + dtype: datetime64[ns, CET] + + In some cases, inferring the DST is impossible. In such cases, you can + pass an ndarray to the ambiguous parameter to set the DST explicitly + + >>> s = pd.to_datetime(pd.Series(['2018-10-28 01:20:00', + ... '2018-10-28 02:36:00', + ... '2018-10-28 03:46:00'])) + >>> s.dt.tz_localize('CET', ambiguous=np.array([True, True, False])) + 0 2018-10-28 01:20:00+02:00 + 1 2018-10-28 02:36:00+02:00 + 2 2018-10-28 03:46:00+01:00 + dtype: datetime64[ns, CET] + + If the DST transition causes nonexistent times, you can shift these + dates forward or backwards with a timedelta object or `'shift_forward'` + or `'shift_backwards'`. + + >>> s = pd.to_datetime(pd.Series(['2015-03-29 02:30:00', + ... '2015-03-29 03:30:00'])) + >>> s.dt.tz_localize('Europe/Warsaw', nonexistent='shift_forward') + 0 2015-03-29 03:00:00+02:00 + 1 2015-03-29 03:30:00+02:00 + dtype: datetime64[ns, Europe/Warsaw] + + >>> s.dt.tz_localize('Europe/Warsaw', nonexistent='shift_backward') + 0 2015-03-29 01:59:59.999999999+01:00 + 1 2015-03-29 03:30:00+02:00 + dtype: datetime64[ns, Europe/Warsaw] + + >>> s.dt.tz_localize('Europe/Warsaw', nonexistent=pd.Timedelta('1h')) + 0 2015-03-29 03:30:00+02:00 + 1 2015-03-29 03:30:00+02:00 + dtype: datetime64[ns, Europe/Warsaw] + """ + nonexistent_options = ("raise", "NaT", "shift_forward", "shift_backward") + if nonexistent not in nonexistent_options and not isinstance( + nonexistent, timedelta + ): + raise ValueError( + "The nonexistent argument must be one of 'raise', " + "'NaT', 'shift_forward', 'shift_backward' or " + "a timedelta object" + ) + + if self.tz is not None: + if tz is None: + new_dates = tz_convert_from_utc(self.asi8, self.tz, reso=self._creso) + else: + raise TypeError("Already tz-aware, use tz_convert to convert.") + else: + tz = timezones.maybe_get_tz(tz) + # Convert to UTC + + new_dates = tzconversion.tz_localize_to_utc( + self.asi8, + tz, + ambiguous=ambiguous, + nonexistent=nonexistent, + creso=self._creso, + ) + new_dates_dt64 = new_dates.view(f"M8[{self.unit}]") + dtype = tz_to_dtype(tz, unit=self.unit) + + freq = None + if timezones.is_utc(tz) or (len(self) == 1 and not isna(new_dates_dt64[0])): + # we can preserve freq + # TODO: Also for fixed-offsets + freq = self.freq + elif tz is None and self.tz is None: + # no-op + freq = self.freq + return self._simple_new(new_dates_dt64, dtype=dtype, freq=freq) + + # ---------------------------------------------------------------- + # Conversion Methods - Vectorized analogues of Timestamp methods + + def to_pydatetime(self) -> npt.NDArray[np.object_]: + """ + Return an ndarray of ``datetime.datetime`` objects. + + Returns + ------- + numpy.ndarray + + Examples + -------- + >>> idx = pd.date_range('2018-02-27', periods=3) + >>> idx.to_pydatetime() + array([datetime.datetime(2018, 2, 27, 0, 0), + datetime.datetime(2018, 2, 28, 0, 0), + datetime.datetime(2018, 3, 1, 0, 0)], dtype=object) + """ + return ints_to_pydatetime(self.asi8, tz=self.tz, reso=self._creso) + + def normalize(self) -> Self: + """ + Convert times to midnight. + + The time component of the date-time is converted to midnight i.e. + 00:00:00. This is useful in cases, when the time does not matter. + Length is unaltered. The timezones are unaffected. + + This method is available on Series with datetime values under + the ``.dt`` accessor, and directly on Datetime Array/Index. + + Returns + ------- + DatetimeArray, DatetimeIndex or Series + The same type as the original data. Series will have the same + name and index. DatetimeIndex will have the same name. + + See Also + -------- + floor : Floor the datetimes to the specified freq. + ceil : Ceil the datetimes to the specified freq. + round : Round the datetimes to the specified freq. + + Examples + -------- + >>> idx = pd.date_range(start='2014-08-01 10:00', freq='h', + ... periods=3, tz='Asia/Calcutta') + >>> idx + DatetimeIndex(['2014-08-01 10:00:00+05:30', + '2014-08-01 11:00:00+05:30', + '2014-08-01 12:00:00+05:30'], + dtype='datetime64[ns, Asia/Calcutta]', freq='h') + >>> idx.normalize() + DatetimeIndex(['2014-08-01 00:00:00+05:30', + '2014-08-01 00:00:00+05:30', + '2014-08-01 00:00:00+05:30'], + dtype='datetime64[ns, Asia/Calcutta]', freq=None) + """ + new_values = normalize_i8_timestamps(self.asi8, self.tz, reso=self._creso) + dt64_values = new_values.view(self._ndarray.dtype) + + dta = type(self)._simple_new(dt64_values, dtype=dt64_values.dtype) + dta = dta._with_freq("infer") + if self.tz is not None: + dta = dta.tz_localize(self.tz) + return dta + + def to_period(self, freq=None) -> PeriodArray: + """ + Cast to PeriodArray/PeriodIndex at a particular frequency. + + Converts DatetimeArray/Index to PeriodArray/PeriodIndex. + + Parameters + ---------- + freq : str or Period, optional + One of pandas' :ref:`period aliases ` + or an Period object. Will be inferred by default. + + Returns + ------- + PeriodArray/PeriodIndex + + Raises + ------ + ValueError + When converting a DatetimeArray/Index with non-regular values, + so that a frequency cannot be inferred. + + See Also + -------- + PeriodIndex: Immutable ndarray holding ordinal values. + DatetimeIndex.to_pydatetime: Return DatetimeIndex as object. + + Examples + -------- + >>> df = pd.DataFrame({"y": [1, 2, 3]}, + ... index=pd.to_datetime(["2000-03-31 00:00:00", + ... "2000-05-31 00:00:00", + ... "2000-08-31 00:00:00"])) + >>> df.index.to_period("M") + PeriodIndex(['2000-03', '2000-05', '2000-08'], + dtype='period[M]') + + Infer the daily frequency + + >>> idx = pd.date_range("2017-01-01", periods=2) + >>> idx.to_period() + PeriodIndex(['2017-01-01', '2017-01-02'], + dtype='period[D]') + """ + from pandas.core.arrays import PeriodArray + + if self.tz is not None: + warnings.warn( + "Converting to PeriodArray/Index representation " + "will drop timezone information.", + UserWarning, + stacklevel=find_stack_level(), + ) + + if freq is None: + freq = self.freqstr or self.inferred_freq + if isinstance(self.freq, BaseOffset) and hasattr( + self.freq, "_period_dtype_code" + ): + freq = PeriodDtype(self.freq)._freqstr + + if freq is None: + raise ValueError( + "You must pass a freq argument as current index has none." + ) + + res = get_period_alias(freq) + + # https://github.com/pandas-dev/pandas/issues/33358 + if res is None: + res = freq + + freq = res + return PeriodArray._from_datetime64(self._ndarray, freq, tz=self.tz) + + # ----------------------------------------------------------------- + # Properties - Vectorized Timestamp Properties/Methods + + def month_name(self, locale=None) -> npt.NDArray[np.object_]: + """ + Return the month names with specified locale. + + Parameters + ---------- + locale : str, optional + Locale determining the language in which to return the month name. + Default is English locale (``'en_US.utf8'``). Use the command + ``locale -a`` on your terminal on Unix systems to find your locale + language code. + + Returns + ------- + Series or Index + Series or Index of month names. + + Examples + -------- + >>> s = pd.Series(pd.date_range(start='2018-01', freq='ME', periods=3)) + >>> s + 0 2018-01-31 + 1 2018-02-28 + 2 2018-03-31 + dtype: datetime64[ns] + >>> s.dt.month_name() + 0 January + 1 February + 2 March + dtype: object + + >>> idx = pd.date_range(start='2018-01', freq='ME', periods=3) + >>> idx + DatetimeIndex(['2018-01-31', '2018-02-28', '2018-03-31'], + dtype='datetime64[ns]', freq='ME') + >>> idx.month_name() + Index(['January', 'February', 'March'], dtype='object') + + Using the ``locale`` parameter you can set a different locale language, + for example: ``idx.month_name(locale='pt_BR.utf8')`` will return month + names in Brazilian Portuguese language. + + >>> idx = pd.date_range(start='2018-01', freq='ME', periods=3) + >>> idx + DatetimeIndex(['2018-01-31', '2018-02-28', '2018-03-31'], + dtype='datetime64[ns]', freq='ME') + >>> idx.month_name(locale='pt_BR.utf8') # doctest: +SKIP + Index(['Janeiro', 'Fevereiro', 'Março'], dtype='object') + """ + values = self._local_timestamps() + + result = fields.get_date_name_field( + values, "month_name", locale=locale, reso=self._creso + ) + result = self._maybe_mask_results(result, fill_value=None) + if using_string_dtype(): + from pandas import ( + StringDtype, + array as pd_array, + ) + + return pd_array(result, dtype=StringDtype(na_value=np.nan)) # type: ignore[return-value] + return result + + def day_name(self, locale=None) -> npt.NDArray[np.object_]: + """ + Return the day names with specified locale. + + Parameters + ---------- + locale : str, optional + Locale determining the language in which to return the day name. + Default is English locale (``'en_US.utf8'``). Use the command + ``locale -a`` on your terminal on Unix systems to find your locale + language code. + + Returns + ------- + Series or Index + Series or Index of day names. + + Examples + -------- + >>> s = pd.Series(pd.date_range(start='2018-01-01', freq='D', periods=3)) + >>> s + 0 2018-01-01 + 1 2018-01-02 + 2 2018-01-03 + dtype: datetime64[ns] + >>> s.dt.day_name() + 0 Monday + 1 Tuesday + 2 Wednesday + dtype: object + + >>> idx = pd.date_range(start='2018-01-01', freq='D', periods=3) + >>> idx + DatetimeIndex(['2018-01-01', '2018-01-02', '2018-01-03'], + dtype='datetime64[ns]', freq='D') + >>> idx.day_name() + Index(['Monday', 'Tuesday', 'Wednesday'], dtype='object') + + Using the ``locale`` parameter you can set a different locale language, + for example: ``idx.day_name(locale='pt_BR.utf8')`` will return day + names in Brazilian Portuguese language. + + >>> idx = pd.date_range(start='2018-01-01', freq='D', periods=3) + >>> idx + DatetimeIndex(['2018-01-01', '2018-01-02', '2018-01-03'], + dtype='datetime64[ns]', freq='D') + >>> idx.day_name(locale='pt_BR.utf8') # doctest: +SKIP + Index(['Segunda', 'Terça', 'Quarta'], dtype='object') + """ + values = self._local_timestamps() + + result = fields.get_date_name_field( + values, "day_name", locale=locale, reso=self._creso + ) + result = self._maybe_mask_results(result, fill_value=None) + if using_string_dtype(): + # TODO: no tests that check for dtype of result as of 2024-08-15 + from pandas import ( + StringDtype, + array as pd_array, + ) + + return pd_array(result, dtype=StringDtype(na_value=np.nan)) # type: ignore[return-value] + return result + + @property + def time(self) -> npt.NDArray[np.object_]: + """ + Returns numpy array of :class:`datetime.time` objects. + + The time part of the Timestamps. + + Examples + -------- + For Series: + + >>> s = pd.Series(["1/1/2020 10:00:00+00:00", "2/1/2020 11:00:00+00:00"]) + >>> s = pd.to_datetime(s) + >>> s + 0 2020-01-01 10:00:00+00:00 + 1 2020-02-01 11:00:00+00:00 + dtype: datetime64[ns, UTC] + >>> s.dt.time + 0 10:00:00 + 1 11:00:00 + dtype: object + + For DatetimeIndex: + + >>> idx = pd.DatetimeIndex(["1/1/2020 10:00:00+00:00", + ... "2/1/2020 11:00:00+00:00"]) + >>> idx.time + array([datetime.time(10, 0), datetime.time(11, 0)], dtype=object) + """ + # If the Timestamps have a timezone that is not UTC, + # convert them into their i8 representation while + # keeping their timezone and not using UTC + timestamps = self._local_timestamps() + + return ints_to_pydatetime(timestamps, box="time", reso=self._creso) + + @property + def timetz(self) -> npt.NDArray[np.object_]: + """ + Returns numpy array of :class:`datetime.time` objects with timezones. + + The time part of the Timestamps. + + Examples + -------- + For Series: + + >>> s = pd.Series(["1/1/2020 10:00:00+00:00", "2/1/2020 11:00:00+00:00"]) + >>> s = pd.to_datetime(s) + >>> s + 0 2020-01-01 10:00:00+00:00 + 1 2020-02-01 11:00:00+00:00 + dtype: datetime64[ns, UTC] + >>> s.dt.timetz + 0 10:00:00+00:00 + 1 11:00:00+00:00 + dtype: object + + For DatetimeIndex: + + >>> idx = pd.DatetimeIndex(["1/1/2020 10:00:00+00:00", + ... "2/1/2020 11:00:00+00:00"]) + >>> idx.timetz + array([datetime.time(10, 0, tzinfo=datetime.timezone.utc), + datetime.time(11, 0, tzinfo=datetime.timezone.utc)], dtype=object) + """ + return ints_to_pydatetime(self.asi8, self.tz, box="time", reso=self._creso) + + @property + def date(self) -> npt.NDArray[np.object_]: + """ + Returns numpy array of python :class:`datetime.date` objects. + + Namely, the date part of Timestamps without time and + timezone information. + + Examples + -------- + For Series: + + >>> s = pd.Series(["1/1/2020 10:00:00+00:00", "2/1/2020 11:00:00+00:00"]) + >>> s = pd.to_datetime(s) + >>> s + 0 2020-01-01 10:00:00+00:00 + 1 2020-02-01 11:00:00+00:00 + dtype: datetime64[ns, UTC] + >>> s.dt.date + 0 2020-01-01 + 1 2020-02-01 + dtype: object + + For DatetimeIndex: + + >>> idx = pd.DatetimeIndex(["1/1/2020 10:00:00+00:00", + ... "2/1/2020 11:00:00+00:00"]) + >>> idx.date + array([datetime.date(2020, 1, 1), datetime.date(2020, 2, 1)], dtype=object) + """ + # If the Timestamps have a timezone that is not UTC, + # convert them into their i8 representation while + # keeping their timezone and not using UTC + timestamps = self._local_timestamps() + + return ints_to_pydatetime(timestamps, box="date", reso=self._creso) + + def isocalendar(self) -> DataFrame: + """ + Calculate year, week, and day according to the ISO 8601 standard. + + Returns + ------- + DataFrame + With columns year, week and day. + + See Also + -------- + Timestamp.isocalendar : Function return a 3-tuple containing ISO year, + week number, and weekday for the given Timestamp object. + datetime.date.isocalendar : Return a named tuple object with + three components: year, week and weekday. + + Examples + -------- + >>> idx = pd.date_range(start='2019-12-29', freq='D', periods=4) + >>> idx.isocalendar() + year week day + 2019-12-29 2019 52 7 + 2019-12-30 2020 1 1 + 2019-12-31 2020 1 2 + 2020-01-01 2020 1 3 + >>> idx.isocalendar().week + 2019-12-29 52 + 2019-12-30 1 + 2019-12-31 1 + 2020-01-01 1 + Freq: D, Name: week, dtype: UInt32 + """ + from pandas import DataFrame + + values = self._local_timestamps() + sarray = fields.build_isocalendar_sarray(values, reso=self._creso) + iso_calendar_df = DataFrame( + sarray, columns=["year", "week", "day"], dtype="UInt32" + ) + if self._hasna: + iso_calendar_df.iloc[self._isnan] = None + return iso_calendar_df + + year = _field_accessor( + "year", + "Y", + """ + The year of the datetime. + + Examples + -------- + >>> datetime_series = pd.Series( + ... pd.date_range("2000-01-01", periods=3, freq="YE") + ... ) + >>> datetime_series + 0 2000-12-31 + 1 2001-12-31 + 2 2002-12-31 + dtype: datetime64[ns] + >>> datetime_series.dt.year + 0 2000 + 1 2001 + 2 2002 + dtype: int32 + """, + ) + month = _field_accessor( + "month", + "M", + """ + The month as January=1, December=12. + + Examples + -------- + >>> datetime_series = pd.Series( + ... pd.date_range("2000-01-01", periods=3, freq="ME") + ... ) + >>> datetime_series + 0 2000-01-31 + 1 2000-02-29 + 2 2000-03-31 + dtype: datetime64[ns] + >>> datetime_series.dt.month + 0 1 + 1 2 + 2 3 + dtype: int32 + """, + ) + day = _field_accessor( + "day", + "D", + """ + The day of the datetime. + + Examples + -------- + >>> datetime_series = pd.Series( + ... pd.date_range("2000-01-01", periods=3, freq="D") + ... ) + >>> datetime_series + 0 2000-01-01 + 1 2000-01-02 + 2 2000-01-03 + dtype: datetime64[ns] + >>> datetime_series.dt.day + 0 1 + 1 2 + 2 3 + dtype: int32 + """, + ) + hour = _field_accessor( + "hour", + "h", + """ + The hours of the datetime. + + Examples + -------- + >>> datetime_series = pd.Series( + ... pd.date_range("2000-01-01", periods=3, freq="h") + ... ) + >>> datetime_series + 0 2000-01-01 00:00:00 + 1 2000-01-01 01:00:00 + 2 2000-01-01 02:00:00 + dtype: datetime64[ns] + >>> datetime_series.dt.hour + 0 0 + 1 1 + 2 2 + dtype: int32 + """, + ) + minute = _field_accessor( + "minute", + "m", + """ + The minutes of the datetime. + + Examples + -------- + >>> datetime_series = pd.Series( + ... pd.date_range("2000-01-01", periods=3, freq="min") + ... ) + >>> datetime_series + 0 2000-01-01 00:00:00 + 1 2000-01-01 00:01:00 + 2 2000-01-01 00:02:00 + dtype: datetime64[ns] + >>> datetime_series.dt.minute + 0 0 + 1 1 + 2 2 + dtype: int32 + """, + ) + second = _field_accessor( + "second", + "s", + """ + The seconds of the datetime. + + Examples + -------- + >>> datetime_series = pd.Series( + ... pd.date_range("2000-01-01", periods=3, freq="s") + ... ) + >>> datetime_series + 0 2000-01-01 00:00:00 + 1 2000-01-01 00:00:01 + 2 2000-01-01 00:00:02 + dtype: datetime64[ns] + >>> datetime_series.dt.second + 0 0 + 1 1 + 2 2 + dtype: int32 + """, + ) + microsecond = _field_accessor( + "microsecond", + "us", + """ + The microseconds of the datetime. + + Examples + -------- + >>> datetime_series = pd.Series( + ... pd.date_range("2000-01-01", periods=3, freq="us") + ... ) + >>> datetime_series + 0 2000-01-01 00:00:00.000000 + 1 2000-01-01 00:00:00.000001 + 2 2000-01-01 00:00:00.000002 + dtype: datetime64[ns] + >>> datetime_series.dt.microsecond + 0 0 + 1 1 + 2 2 + dtype: int32 + """, + ) + nanosecond = _field_accessor( + "nanosecond", + "ns", + """ + The nanoseconds of the datetime. + + Examples + -------- + >>> datetime_series = pd.Series( + ... pd.date_range("2000-01-01", periods=3, freq="ns") + ... ) + >>> datetime_series + 0 2000-01-01 00:00:00.000000000 + 1 2000-01-01 00:00:00.000000001 + 2 2000-01-01 00:00:00.000000002 + dtype: datetime64[ns] + >>> datetime_series.dt.nanosecond + 0 0 + 1 1 + 2 2 + dtype: int32 + """, + ) + _dayofweek_doc = """ + The day of the week with Monday=0, Sunday=6. + + Return the day of the week. It is assumed the week starts on + Monday, which is denoted by 0 and ends on Sunday which is denoted + by 6. This method is available on both Series with datetime + values (using the `dt` accessor) or DatetimeIndex. + + Returns + ------- + Series or Index + Containing integers indicating the day number. + + See Also + -------- + Series.dt.dayofweek : Alias. + Series.dt.weekday : Alias. + Series.dt.day_name : Returns the name of the day of the week. + + Examples + -------- + >>> s = pd.date_range('2016-12-31', '2017-01-08', freq='D').to_series() + >>> s.dt.dayofweek + 2016-12-31 5 + 2017-01-01 6 + 2017-01-02 0 + 2017-01-03 1 + 2017-01-04 2 + 2017-01-05 3 + 2017-01-06 4 + 2017-01-07 5 + 2017-01-08 6 + Freq: D, dtype: int32 + """ + day_of_week = _field_accessor("day_of_week", "dow", _dayofweek_doc) + dayofweek = day_of_week + weekday = day_of_week + + day_of_year = _field_accessor( + "dayofyear", + "doy", + """ + The ordinal day of the year. + + Examples + -------- + For Series: + + >>> s = pd.Series(["1/1/2020 10:00:00+00:00", "2/1/2020 11:00:00+00:00"]) + >>> s = pd.to_datetime(s) + >>> s + 0 2020-01-01 10:00:00+00:00 + 1 2020-02-01 11:00:00+00:00 + dtype: datetime64[ns, UTC] + >>> s.dt.dayofyear + 0 1 + 1 32 + dtype: int32 + + For DatetimeIndex: + + >>> idx = pd.DatetimeIndex(["1/1/2020 10:00:00+00:00", + ... "2/1/2020 11:00:00+00:00"]) + >>> idx.dayofyear + Index([1, 32], dtype='int32') + """, + ) + dayofyear = day_of_year + quarter = _field_accessor( + "quarter", + "q", + """ + The quarter of the date. + + Examples + -------- + For Series: + + >>> s = pd.Series(["1/1/2020 10:00:00+00:00", "4/1/2020 11:00:00+00:00"]) + >>> s = pd.to_datetime(s) + >>> s + 0 2020-01-01 10:00:00+00:00 + 1 2020-04-01 11:00:00+00:00 + dtype: datetime64[ns, UTC] + >>> s.dt.quarter + 0 1 + 1 2 + dtype: int32 + + For DatetimeIndex: + + >>> idx = pd.DatetimeIndex(["1/1/2020 10:00:00+00:00", + ... "2/1/2020 11:00:00+00:00"]) + >>> idx.quarter + Index([1, 1], dtype='int32') + """, + ) + days_in_month = _field_accessor( + "days_in_month", + "dim", + """ + The number of days in the month. + + Examples + -------- + >>> s = pd.Series(["1/1/2020 10:00:00+00:00", "2/1/2020 11:00:00+00:00"]) + >>> s = pd.to_datetime(s) + >>> s + 0 2020-01-01 10:00:00+00:00 + 1 2020-02-01 11:00:00+00:00 + dtype: datetime64[ns, UTC] + >>> s.dt.daysinmonth + 0 31 + 1 29 + dtype: int32 + """, + ) + daysinmonth = days_in_month + _is_month_doc = """ + Indicates whether the date is the {first_or_last} day of the month. + + Returns + ------- + Series or array + For Series, returns a Series with boolean values. + For DatetimeIndex, returns a boolean array. + + See Also + -------- + is_month_start : Return a boolean indicating whether the date + is the first day of the month. + is_month_end : Return a boolean indicating whether the date + is the last day of the month. + + Examples + -------- + This method is available on Series with datetime values under + the ``.dt`` accessor, and directly on DatetimeIndex. + + >>> s = pd.Series(pd.date_range("2018-02-27", periods=3)) + >>> s + 0 2018-02-27 + 1 2018-02-28 + 2 2018-03-01 + dtype: datetime64[ns] + >>> s.dt.is_month_start + 0 False + 1 False + 2 True + dtype: bool + >>> s.dt.is_month_end + 0 False + 1 True + 2 False + dtype: bool + + >>> idx = pd.date_range("2018-02-27", periods=3) + >>> idx.is_month_start + array([False, False, True]) + >>> idx.is_month_end + array([False, True, False]) + """ + is_month_start = _field_accessor( + "is_month_start", "is_month_start", _is_month_doc.format(first_or_last="first") + ) + + is_month_end = _field_accessor( + "is_month_end", "is_month_end", _is_month_doc.format(first_or_last="last") + ) + + is_quarter_start = _field_accessor( + "is_quarter_start", + "is_quarter_start", + """ + Indicator for whether the date is the first day of a quarter. + + Returns + ------- + is_quarter_start : Series or DatetimeIndex + The same type as the original data with boolean values. Series will + have the same name and index. DatetimeIndex will have the same + name. + + See Also + -------- + quarter : Return the quarter of the date. + is_quarter_end : Similar property for indicating the quarter end. + + Examples + -------- + This method is available on Series with datetime values under + the ``.dt`` accessor, and directly on DatetimeIndex. + + >>> df = pd.DataFrame({'dates': pd.date_range("2017-03-30", + ... periods=4)}) + >>> df.assign(quarter=df.dates.dt.quarter, + ... is_quarter_start=df.dates.dt.is_quarter_start) + dates quarter is_quarter_start + 0 2017-03-30 1 False + 1 2017-03-31 1 False + 2 2017-04-01 2 True + 3 2017-04-02 2 False + + >>> idx = pd.date_range('2017-03-30', periods=4) + >>> idx + DatetimeIndex(['2017-03-30', '2017-03-31', '2017-04-01', '2017-04-02'], + dtype='datetime64[ns]', freq='D') + + >>> idx.is_quarter_start + array([False, False, True, False]) + """, + ) + is_quarter_end = _field_accessor( + "is_quarter_end", + "is_quarter_end", + """ + Indicator for whether the date is the last day of a quarter. + + Returns + ------- + is_quarter_end : Series or DatetimeIndex + The same type as the original data with boolean values. Series will + have the same name and index. DatetimeIndex will have the same + name. + + See Also + -------- + quarter : Return the quarter of the date. + is_quarter_start : Similar property indicating the quarter start. + + Examples + -------- + This method is available on Series with datetime values under + the ``.dt`` accessor, and directly on DatetimeIndex. + + >>> df = pd.DataFrame({'dates': pd.date_range("2017-03-30", + ... periods=4)}) + >>> df.assign(quarter=df.dates.dt.quarter, + ... is_quarter_end=df.dates.dt.is_quarter_end) + dates quarter is_quarter_end + 0 2017-03-30 1 False + 1 2017-03-31 1 True + 2 2017-04-01 2 False + 3 2017-04-02 2 False + + >>> idx = pd.date_range('2017-03-30', periods=4) + >>> idx + DatetimeIndex(['2017-03-30', '2017-03-31', '2017-04-01', '2017-04-02'], + dtype='datetime64[ns]', freq='D') + + >>> idx.is_quarter_end + array([False, True, False, False]) + """, + ) + is_year_start = _field_accessor( + "is_year_start", + "is_year_start", + """ + Indicate whether the date is the first day of a year. + + Returns + ------- + Series or DatetimeIndex + The same type as the original data with boolean values. Series will + have the same name and index. DatetimeIndex will have the same + name. + + See Also + -------- + is_year_end : Similar property indicating the last day of the year. + + Examples + -------- + This method is available on Series with datetime values under + the ``.dt`` accessor, and directly on DatetimeIndex. + + >>> dates = pd.Series(pd.date_range("2017-12-30", periods=3)) + >>> dates + 0 2017-12-30 + 1 2017-12-31 + 2 2018-01-01 + dtype: datetime64[ns] + + >>> dates.dt.is_year_start + 0 False + 1 False + 2 True + dtype: bool + + >>> idx = pd.date_range("2017-12-30", periods=3) + >>> idx + DatetimeIndex(['2017-12-30', '2017-12-31', '2018-01-01'], + dtype='datetime64[ns]', freq='D') + + >>> idx.is_year_start + array([False, False, True]) + """, + ) + is_year_end = _field_accessor( + "is_year_end", + "is_year_end", + """ + Indicate whether the date is the last day of the year. + + Returns + ------- + Series or DatetimeIndex + The same type as the original data with boolean values. Series will + have the same name and index. DatetimeIndex will have the same + name. + + See Also + -------- + is_year_start : Similar property indicating the start of the year. + + Examples + -------- + This method is available on Series with datetime values under + the ``.dt`` accessor, and directly on DatetimeIndex. + + >>> dates = pd.Series(pd.date_range("2017-12-30", periods=3)) + >>> dates + 0 2017-12-30 + 1 2017-12-31 + 2 2018-01-01 + dtype: datetime64[ns] + + >>> dates.dt.is_year_end + 0 False + 1 True + 2 False + dtype: bool + + >>> idx = pd.date_range("2017-12-30", periods=3) + >>> idx + DatetimeIndex(['2017-12-30', '2017-12-31', '2018-01-01'], + dtype='datetime64[ns]', freq='D') + + >>> idx.is_year_end + array([False, True, False]) + """, + ) + is_leap_year = _field_accessor( + "is_leap_year", + "is_leap_year", + """ + Boolean indicator if the date belongs to a leap year. + + A leap year is a year, which has 366 days (instead of 365) including + 29th of February as an intercalary day. + Leap years are years which are multiples of four with the exception + of years divisible by 100 but not by 400. + + Returns + ------- + Series or ndarray + Booleans indicating if dates belong to a leap year. + + Examples + -------- + This method is available on Series with datetime values under + the ``.dt`` accessor, and directly on DatetimeIndex. + + >>> idx = pd.date_range("2012-01-01", "2015-01-01", freq="YE") + >>> idx + DatetimeIndex(['2012-12-31', '2013-12-31', '2014-12-31'], + dtype='datetime64[ns]', freq='YE-DEC') + >>> idx.is_leap_year + array([ True, False, False]) + + >>> dates_series = pd.Series(idx) + >>> dates_series + 0 2012-12-31 + 1 2013-12-31 + 2 2014-12-31 + dtype: datetime64[ns] + >>> dates_series.dt.is_leap_year + 0 True + 1 False + 2 False + dtype: bool + """, + ) + + def to_julian_date(self) -> npt.NDArray[np.float64]: + """ + Convert Datetime Array to float64 ndarray of Julian Dates. + 0 Julian date is noon January 1, 4713 BC. + https://en.wikipedia.org/wiki/Julian_day + """ + + # http://mysite.verizon.net/aesir_research/date/jdalg2.htm + year = np.asarray(self.year) + month = np.asarray(self.month) + day = np.asarray(self.day) + testarr = month < 3 + year[testarr] -= 1 + month[testarr] += 12 + return ( + day + + np.fix((153 * month - 457) / 5) + + 365 * year + + np.floor(year / 4) + - np.floor(year / 100) + + np.floor(year / 400) + + 1_721_118.5 + + ( + self.hour + + self.minute / 60 + + self.second / 3600 + + self.microsecond / 3600 / 10**6 + + self.nanosecond / 3600 / 10**9 + ) + / 24 + ) + + # ----------------------------------------------------------------- + # Reductions + + def std( + self, + axis=None, + dtype=None, + out=None, + ddof: int = 1, + keepdims: bool = False, + skipna: bool = True, + ): + """ + Return sample standard deviation over requested axis. + + Normalized by `N-1` by default. This can be changed using ``ddof``. + + Parameters + ---------- + axis : int, optional + Axis for the function to be applied on. For :class:`pandas.Series` + this parameter is unused and defaults to ``None``. + ddof : int, default 1 + Degrees of Freedom. The divisor used in calculations is `N - ddof`, + where `N` represents the number of elements. + skipna : bool, default True + Exclude NA/null values. If an entire row/column is ``NA``, the result + will be ``NA``. + + Returns + ------- + Timedelta + + See Also + -------- + numpy.ndarray.std : Returns the standard deviation of the array elements + along given axis. + Series.std : Return sample standard deviation over requested axis. + + Examples + -------- + For :class:`pandas.DatetimeIndex`: + + >>> idx = pd.date_range('2001-01-01 00:00', periods=3) + >>> idx + DatetimeIndex(['2001-01-01', '2001-01-02', '2001-01-03'], + dtype='datetime64[ns]', freq='D') + >>> idx.std() + Timedelta('1 days 00:00:00') + """ + # Because std is translation-invariant, we can get self.std + # by calculating (self - Timestamp(0)).std, and we can do it + # without creating a copy by using a view on self._ndarray + from pandas.core.arrays import TimedeltaArray + + # Find the td64 dtype with the same resolution as our dt64 dtype + dtype_str = self._ndarray.dtype.name.replace("datetime64", "timedelta64") + dtype = np.dtype(dtype_str) + + tda = TimedeltaArray._simple_new(self._ndarray.view(dtype), dtype=dtype) + + return tda.std(axis=axis, out=out, ddof=ddof, keepdims=keepdims, skipna=skipna) + + +# ------------------------------------------------------------------- +# Constructor Helpers + + +def _sequence_to_dt64( + data: ArrayLike, + *, + copy: bool = False, + tz: tzinfo | None = None, + dayfirst: bool = False, + yearfirst: bool = False, + ambiguous: TimeAmbiguous = "raise", + out_unit: str | None = None, +): + """ + Parameters + ---------- + data : np.ndarray or ExtensionArray + dtl.ensure_arraylike_for_datetimelike has already been called. + copy : bool, default False + tz : tzinfo or None, default None + dayfirst : bool, default False + yearfirst : bool, default False + ambiguous : str, bool, or arraylike, default 'raise' + See pandas._libs.tslibs.tzconversion.tz_localize_to_utc. + out_unit : str or None, default None + Desired output resolution. + + Returns + ------- + result : numpy.ndarray + The sequence converted to a numpy array with dtype ``datetime64[unit]``. + Where `unit` is "ns" unless specified otherwise by `out_unit`. + tz : tzinfo or None + Either the user-provided tzinfo or one inferred from the data. + + Raises + ------ + TypeError : PeriodDType data is passed + """ + + # By this point we are assured to have either a numpy array or Index + data, copy = maybe_convert_dtype(data, copy, tz=tz) + data_dtype = getattr(data, "dtype", None) + + if out_unit is None: + out_unit = "ns" + out_dtype = np.dtype(f"M8[{out_unit}]") + + if data_dtype == object or is_string_dtype(data_dtype): + # TODO: We do not have tests specific to string-dtypes, + # also complex or categorical or other extension + data = cast(np.ndarray, data) + copy = False + if lib.infer_dtype(data, skipna=False) == "integer": + # Much more performant than going through array_to_datetime + data = data.astype(np.int64) + elif tz is not None and ambiguous == "raise": + obj_data = np.asarray(data, dtype=object) + result = tslib.array_to_datetime_with_tz( + obj_data, + tz=tz, + dayfirst=dayfirst, + yearfirst=yearfirst, + creso=abbrev_to_npy_unit(out_unit), + ) + return result, tz + else: + converted, inferred_tz = objects_to_datetime64( + data, + dayfirst=dayfirst, + yearfirst=yearfirst, + allow_object=False, + out_unit=out_unit or "ns", + ) + copy = False + if tz and inferred_tz: + # two timezones: convert to intended from base UTC repr + # GH#42505 by convention, these are _already_ UTC + result = converted + + elif inferred_tz: + tz = inferred_tz + result = converted + + else: + result, _ = _construct_from_dt64_naive( + converted, tz=tz, copy=copy, ambiguous=ambiguous + ) + return result, tz + + data_dtype = data.dtype + + # `data` may have originally been a Categorical[datetime64[ns, tz]], + # so we need to handle these types. + if isinstance(data_dtype, DatetimeTZDtype): + # DatetimeArray -> ndarray + data = cast(DatetimeArray, data) + tz = _maybe_infer_tz(tz, data.tz) + result = data._ndarray + + elif lib.is_np_dtype(data_dtype, "M"): + # tz-naive DatetimeArray or ndarray[datetime64] + if isinstance(data, DatetimeArray): + data = data._ndarray + + data = cast(np.ndarray, data) + result, copy = _construct_from_dt64_naive( + data, tz=tz, copy=copy, ambiguous=ambiguous + ) + + else: + # must be integer dtype otherwise + # assume this data are epoch timestamps + if data.dtype != INT64_DTYPE: + data = data.astype(np.int64, copy=False) + copy = False + data = cast(np.ndarray, data) + result = data.view(out_dtype) + + if copy: + result = result.copy() + + assert isinstance(result, np.ndarray), type(result) + assert result.dtype.kind == "M" + assert result.dtype != "M8" + assert is_supported_dtype(result.dtype) + return result, tz + + +def _construct_from_dt64_naive( + data: np.ndarray, *, tz: tzinfo | None, copy: bool, ambiguous: TimeAmbiguous +) -> tuple[np.ndarray, bool]: + """ + Convert datetime64 data to a supported dtype, localizing if necessary. + """ + # Caller is responsible for ensuring + # lib.is_np_dtype(data.dtype) + + new_dtype = data.dtype + if not is_supported_dtype(new_dtype): + # Cast to the nearest supported unit, generally "s" + new_dtype = get_supported_dtype(new_dtype) + data = astype_overflowsafe(data, dtype=new_dtype, copy=False) + copy = False + + if data.dtype.byteorder == ">": + # TODO: better way to handle this? non-copying alternative? + # without this, test_constructor_datetime64_bigendian fails + data = data.astype(data.dtype.newbyteorder("<")) + new_dtype = data.dtype + copy = False + + if tz is not None: + # Convert tz-naive to UTC + # TODO: if tz is UTC, are there situations where we *don't* want a + # copy? tz_localize_to_utc always makes one. + shape = data.shape + if data.ndim > 1: + data = data.ravel() + + data_unit = get_unit_from_dtype(new_dtype) + data = tzconversion.tz_localize_to_utc( + data.view("i8"), tz, ambiguous=ambiguous, creso=data_unit + ) + data = data.view(new_dtype) + data = data.reshape(shape) + + assert data.dtype == new_dtype, data.dtype + result = data + + return result, copy + + +def objects_to_datetime64( + data: np.ndarray, + dayfirst, + yearfirst, + utc: bool = False, + errors: DateTimeErrorChoices = "raise", + allow_object: bool = False, + out_unit: str = "ns", +): + """ + Convert data to array of timestamps. + + Parameters + ---------- + data : np.ndarray[object] + dayfirst : bool + yearfirst : bool + utc : bool, default False + Whether to convert/localize timestamps to UTC. + errors : {'raise', 'ignore', 'coerce'} + allow_object : bool + Whether to return an object-dtype ndarray instead of raising if the + data contains more than one timezone. + out_unit : str, default "ns" + + Returns + ------- + result : ndarray + np.datetime64[out_unit] if returned values represent wall times or UTC + timestamps. + object if mixed timezones + inferred_tz : tzinfo or None + If not None, then the datetime64 values in `result` denote UTC timestamps. + + Raises + ------ + ValueError : if data cannot be converted to datetimes + TypeError : When a type cannot be converted to datetime + """ + assert errors in ["raise", "ignore", "coerce"] + + # if str-dtype, convert + data = np.asarray(data, dtype=np.object_) + + result, tz_parsed = tslib.array_to_datetime( + data, + errors=errors, + utc=utc, + dayfirst=dayfirst, + yearfirst=yearfirst, + creso=abbrev_to_npy_unit(out_unit), + ) + + if tz_parsed is not None: + # We can take a shortcut since the datetime64 numpy array + # is in UTC + return result, tz_parsed + elif result.dtype.kind == "M": + return result, tz_parsed + elif result.dtype == object: + # GH#23675 when called via `pd.to_datetime`, returning an object-dtype + # array is allowed. When called via `pd.DatetimeIndex`, we can + # only accept datetime64 dtype, so raise TypeError if object-dtype + # is returned, as that indicates the values can be recognized as + # datetimes but they have conflicting timezones/awareness + if allow_object: + return result, tz_parsed + raise TypeError("DatetimeIndex has mixed timezones") + else: # pragma: no cover + # GH#23675 this TypeError should never be hit, whereas the TypeError + # in the object-dtype branch above is reachable. + raise TypeError(result) + + +def maybe_convert_dtype(data, copy: bool, tz: tzinfo | None = None): + """ + Convert data based on dtype conventions, issuing + errors where appropriate. + + Parameters + ---------- + data : np.ndarray or pd.Index + copy : bool + tz : tzinfo or None, default None + + Returns + ------- + data : np.ndarray or pd.Index + copy : bool + + Raises + ------ + TypeError : PeriodDType data is passed + """ + if not hasattr(data, "dtype"): + # e.g. collections.deque + return data, copy + + if is_float_dtype(data.dtype): + # pre-2.0 we treated these as wall-times, inconsistent with ints + # GH#23675, GH#45573 deprecated to treat symmetrically with integer dtypes. + # Note: data.astype(np.int64) fails ARM tests, see + # https://github.com/pandas-dev/pandas/issues/49468. + data = data.astype(DT64NS_DTYPE).view("i8") + copy = False + + elif lib.is_np_dtype(data.dtype, "m") or is_bool_dtype(data.dtype): + # GH#29794 enforcing deprecation introduced in GH#23539 + raise TypeError(f"dtype {data.dtype} cannot be converted to datetime64[ns]") + elif isinstance(data.dtype, PeriodDtype): + # Note: without explicitly raising here, PeriodIndex + # test_setops.test_join_does_not_recur fails + raise TypeError( + "Passing PeriodDtype data is invalid. Use `data.to_timestamp()` instead" + ) + + elif isinstance(data.dtype, ExtensionDtype) and not isinstance( + data.dtype, DatetimeTZDtype + ): + # TODO: We have no tests for these + data = np.array(data, dtype=np.object_) + copy = False + + return data, copy + + +# ------------------------------------------------------------------- +# Validation and Inference + + +def _maybe_infer_tz(tz: tzinfo | None, inferred_tz: tzinfo | None) -> tzinfo | None: + """ + If a timezone is inferred from data, check that it is compatible with + the user-provided timezone, if any. + + Parameters + ---------- + tz : tzinfo or None + inferred_tz : tzinfo or None + + Returns + ------- + tz : tzinfo or None + + Raises + ------ + TypeError : if both timezones are present but do not match + """ + if tz is None: + tz = inferred_tz + elif inferred_tz is None: + pass + elif not timezones.tz_compare(tz, inferred_tz): + raise TypeError( + f"data is already tz-aware {inferred_tz}, unable to " + f"set specified tz: {tz}" + ) + return tz + + +def _validate_dt64_dtype(dtype): + """ + Check that a dtype, if passed, represents either a numpy datetime64[ns] + dtype or a pandas DatetimeTZDtype. + + Parameters + ---------- + dtype : object + + Returns + ------- + dtype : None, numpy.dtype, or DatetimeTZDtype + + Raises + ------ + ValueError : invalid dtype + + Notes + ----- + Unlike _validate_tz_from_dtype, this does _not_ allow non-existent + tz errors to go through + """ + if dtype is not None: + dtype = pandas_dtype(dtype) + if dtype == np.dtype("M8"): + # no precision, disallowed GH#24806 + msg = ( + "Passing in 'datetime64' dtype with no precision is not allowed. " + "Please pass in 'datetime64[ns]' instead." + ) + raise ValueError(msg) + + if ( + isinstance(dtype, np.dtype) + and (dtype.kind != "M" or not is_supported_dtype(dtype)) + ) or not isinstance(dtype, (np.dtype, DatetimeTZDtype)): + raise ValueError( + f"Unexpected value for 'dtype': '{dtype}'. " + "Must be 'datetime64[s]', 'datetime64[ms]', 'datetime64[us]', " + "'datetime64[ns]' or DatetimeTZDtype'." + ) + + if getattr(dtype, "tz", None): + # https://github.com/pandas-dev/pandas/issues/18595 + # Ensure that we have a standard timezone for pytz objects. + # Without this, things like adding an array of timedeltas and + # a tz-aware Timestamp (with a tz specific to its datetime) will + # be incorrect(ish?) for the array as a whole + dtype = cast(DatetimeTZDtype, dtype) + dtype = DatetimeTZDtype( + unit=dtype.unit, tz=timezones.tz_standardize(dtype.tz) + ) + + return dtype + + +def _validate_tz_from_dtype( + dtype, tz: tzinfo | None, explicit_tz_none: bool = False +) -> tzinfo | None: + """ + If the given dtype is a DatetimeTZDtype, extract the implied + tzinfo object from it and check that it does not conflict with the given + tz. + + Parameters + ---------- + dtype : dtype, str + tz : None, tzinfo + explicit_tz_none : bool, default False + Whether tz=None was passed explicitly, as opposed to lib.no_default. + + Returns + ------- + tz : consensus tzinfo + + Raises + ------ + ValueError : on tzinfo mismatch + """ + if dtype is not None: + if isinstance(dtype, str): + try: + dtype = DatetimeTZDtype.construct_from_string(dtype) + except TypeError: + # Things like `datetime64[ns]`, which is OK for the + # constructors, but also nonsense, which should be validated + # but not by us. We *do* allow non-existent tz errors to + # go through + pass + dtz = getattr(dtype, "tz", None) + if dtz is not None: + if tz is not None and not timezones.tz_compare(tz, dtz): + raise ValueError("cannot supply both a tz and a dtype with a tz") + if explicit_tz_none: + raise ValueError("Cannot pass both a timezone-aware dtype and tz=None") + tz = dtz + + if tz is not None and lib.is_np_dtype(dtype, "M"): + # We also need to check for the case where the user passed a + # tz-naive dtype (i.e. datetime64[ns]) + if tz is not None and not timezones.tz_compare(tz, dtz): + raise ValueError( + "cannot supply both a tz and a " + "timezone-naive dtype (i.e. datetime64[ns])" + ) + + return tz + + +def _infer_tz_from_endpoints( + start: Timestamp, end: Timestamp, tz: tzinfo | None +) -> tzinfo | None: + """ + If a timezone is not explicitly given via `tz`, see if one can + be inferred from the `start` and `end` endpoints. If more than one + of these inputs provides a timezone, require that they all agree. + + Parameters + ---------- + start : Timestamp + end : Timestamp + tz : tzinfo or None + + Returns + ------- + tz : tzinfo or None + + Raises + ------ + TypeError : if start and end timezones do not agree + """ + try: + inferred_tz = timezones.infer_tzinfo(start, end) + except AssertionError as err: + # infer_tzinfo raises AssertionError if passed mismatched timezones + raise TypeError( + "Start and end cannot both be tz-aware with different timezones" + ) from err + + inferred_tz = timezones.maybe_get_tz(inferred_tz) + tz = timezones.maybe_get_tz(tz) + + if tz is not None and inferred_tz is not None: + if not timezones.tz_compare(inferred_tz, tz): + raise AssertionError("Inferred time zone not equal to passed time zone") + + elif inferred_tz is not None: + tz = inferred_tz + + return tz + + +def _maybe_normalize_endpoints( + start: Timestamp | None, end: Timestamp | None, normalize: bool +): + if normalize: + if start is not None: + start = start.normalize() + + if end is not None: + end = end.normalize() + + return start, end + + +def _maybe_localize_point( + ts: Timestamp | None, freq, tz, ambiguous, nonexistent +) -> Timestamp | None: + """ + Localize a start or end Timestamp to the timezone of the corresponding + start or end Timestamp + + Parameters + ---------- + ts : start or end Timestamp to potentially localize + freq : Tick, DateOffset, or None + tz : str, timezone object or None + ambiguous: str, localization behavior for ambiguous times + nonexistent: str, localization behavior for nonexistent times + + Returns + ------- + ts : Timestamp + """ + # Make sure start and end are timezone localized if: + # 1) freq = a Timedelta-like frequency (Tick) + # 2) freq = None i.e. generating a linspaced range + if ts is not None and ts.tzinfo is None: + # Note: We can't ambiguous='infer' a singular ambiguous time; however, + # we have historically defaulted ambiguous=False + ambiguous = ambiguous if ambiguous != "infer" else False + localize_args = {"ambiguous": ambiguous, "nonexistent": nonexistent, "tz": None} + if isinstance(freq, Tick) or freq is None: + localize_args["tz"] = tz + ts = ts.tz_localize(**localize_args) + return ts + + +def _generate_range( + start: Timestamp | None, + end: Timestamp | None, + periods: int | None, + offset: BaseOffset, + *, + unit: str, +): + """ + Generates a sequence of dates corresponding to the specified time + offset. Similar to dateutil.rrule except uses pandas DateOffset + objects to represent time increments. + + Parameters + ---------- + start : Timestamp or None + end : Timestamp or None + periods : int or None + offset : DateOffset + unit : str + + Notes + ----- + * This method is faster for generating weekdays than dateutil.rrule + * At least two of (start, end, periods) must be specified. + * If both start and end are specified, the returned dates will + satisfy start <= date <= end. + + Returns + ------- + dates : generator object + """ + offset = to_offset(offset) + + # Argument 1 to "Timestamp" has incompatible type "Optional[Timestamp]"; + # expected "Union[integer[Any], float, str, date, datetime64]" + start = Timestamp(start) # type: ignore[arg-type] + if start is not NaT: + start = start.as_unit(unit) + else: + start = None + + # Argument 1 to "Timestamp" has incompatible type "Optional[Timestamp]"; + # expected "Union[integer[Any], float, str, date, datetime64]" + end = Timestamp(end) # type: ignore[arg-type] + if end is not NaT: + end = end.as_unit(unit) + else: + end = None + + if start and not offset.is_on_offset(start): + # Incompatible types in assignment (expression has type "datetime", + # variable has type "Optional[Timestamp]") + start = offset.rollforward(start) # type: ignore[assignment] + + elif end and not offset.is_on_offset(end): + # Incompatible types in assignment (expression has type "datetime", + # variable has type "Optional[Timestamp]") + end = offset.rollback(end) # type: ignore[assignment] + + # Unsupported operand types for < ("Timestamp" and "None") + if periods is None and end < start and offset.n >= 0: # type: ignore[operator] + end = None + periods = 0 + + if end is None: + # error: No overload variant of "__radd__" of "BaseOffset" matches + # argument type "None" + end = start + (periods - 1) * offset # type: ignore[operator] + + if start is None: + # error: No overload variant of "__radd__" of "BaseOffset" matches + # argument type "None" + start = end - (periods - 1) * offset # type: ignore[operator] + + start = cast(Timestamp, start) + end = cast(Timestamp, end) + + cur = start + if offset.n >= 0: + while cur <= end: + yield cur + + if cur == end: + # GH#24252 avoid overflows by not performing the addition + # in offset.apply unless we have to + break + + # faster than cur + offset + next_date = offset._apply(cur) + next_date = next_date.as_unit(unit) + if next_date <= cur: + raise ValueError(f"Offset {offset} did not increment date") + cur = next_date + else: + while cur >= end: + yield cur + + if cur == end: + # GH#24252 avoid overflows by not performing the addition + # in offset.apply unless we have to + break + + # faster than cur + offset + next_date = offset._apply(cur) + next_date = next_date.as_unit(unit) + if next_date >= cur: + raise ValueError(f"Offset {offset} did not decrement date") + cur = next_date diff --git a/shared/package-files/37/37dd2bf08f13fce0f707c3b1f4cec4018efbd9c47c8367b0fb4debbd461bd72f/General b/shared/package-files/37/37dd2bf08f13fce0f707c3b1f4cec4018efbd9c47c8367b0fb4debbd461bd72f/General new file mode 100644 index 0000000000000000000000000000000000000000..18112346129a885b5d5fa27109682b63784f72c0 Binary files /dev/null and b/shared/package-files/37/37dd2bf08f13fce0f707c3b1f4cec4018efbd9c47c8367b0fb4debbd461bd72f/General differ diff --git a/shared/package-files/37/37dd2bf08f13fce0f707c3b1f4cec4018efbd9c47c8367b0fb4debbd461bd72f/Mexico_City b/shared/package-files/37/37dd2bf08f13fce0f707c3b1f4cec4018efbd9c47c8367b0fb4debbd461bd72f/Mexico_City new file mode 100644 index 0000000000000000000000000000000000000000..18112346129a885b5d5fa27109682b63784f72c0 Binary files /dev/null and b/shared/package-files/37/37dd2bf08f13fce0f707c3b1f4cec4018efbd9c47c8367b0fb4debbd461bd72f/Mexico_City differ diff --git a/shared/package-files/37/37dd47acf1bbb49102d4c759bf9668dd1ee3899da5cc12b942d4938ac23b4776/ts_node.h b/shared/package-files/37/37dd47acf1bbb49102d4c759bf9668dd1ee3899da5cc12b942d4938ac23b4776/ts_node.h new file mode 100644 index 0000000000000000000000000000000000000000..62cc9016f6ffa2e50fb4d19501823eedcc0befde --- /dev/null +++ b/shared/package-files/37/37dd47acf1bbb49102d4c759bf9668dd1ee3899da5cc12b942d4938ac23b4776/ts_node.h @@ -0,0 +1,106 @@ +#pragma once + +#include +#include +#include +#include +#include +#include +#include + +namespace torch { +namespace lazy { + +using TSOpVector = std::vector; + +class TORCH_API TsNode : public lazy::Node { + public: + TsNode( + OpKind op, + OpList operands, + std::vector&& shapes, + size_t num_outputs, + hash_t hash_seed = kHashSeed); + + TsNode( + OpKind op, + OpList operands, + const std::function& shape_fn, + size_t num_outputs, + hash_t hash_seed = kHashSeed); + + TsNode( + OpKind op, + OpList operands, + size_t num_outputs, + hash_t hash_seed = kHashSeed); + + TsNode( + OpKind op, + Shape shape, + size_t num_outputs, + hash_t hash_seed = kHashSeed); + + ~TsNode() override = default; + + hash_t hash() const override; + + hash_t shapeHash() const override; + + const std::string getPythonStacktrace() const; + + // Lower is a backend-specific method since it returns a backend specific + // type. hence, it is convenient to define it differently per-backend rather + // than at Node API + virtual TSOpVector Lower( + std::shared_ptr function, + TSLoweringContext* loctx) const; + + private: + // The hash of the dag WITH size info. Used for shape caching + hash_t shape_hash_; + // The hash of the dag used to look up the compiled graph by a hash + // in this case, we will use the dag hash WITHOUT size info if dynamic shape + // is enabled and use the dag hash WITH size info otherwise. + hash_t dag_hash_; +}; + +// Note: this OpKind is separate from ltc_ops.h since it would be a circular +// import otherwise, I like leaving TensorList in this file, and I think most of +// ltc_ops special cases will be deleted anyway +const OpKind tensor_list_opkind = OpKind::Get("lazy_tensors::tensor_list"); + +// TensorList represents an at::TensorList which is a vector[Tensor] but is also +// a first-class IValue and can be fed as a single input to a TS program. It is +// much easier to handle TensorLists in Lazy Tensor code if they are represented +// as a single Node so there can be more than one TensorList and more than one +// Tensor side-by-side as operands to an op. +// +// Note: shape is undefined for TensorList. We assert in some places that +// #shapes matches #outputs and this stems from +// the fact that currently all IR nodes represent tensors (there is no +// type system for this IR). Becuase of this, TensorList is a bit of a +// hack. +// +// TODO(whc) once Shape() API is moved to Node base, also make it virtual, and +// then implement it as NotImplemented for TensorList, also fixing the assertion +// that would fail. +struct TORCH_API TensorList : public TsNode { + static OpKind ClassOpKind() { + return tensor_list_opkind; + } + + TensorList() = delete; + TensorList(OpList values); + + bool CanBeReused(OpList values) const { + return operands() == std::vector(values.begin(), values.end()); + } + + TSOpVector Lower( + std::shared_ptr function, + TSLoweringContext* loctx) const override; +}; + +} // namespace lazy +} // namespace torch diff --git a/shared/package-files/37/37e088be1aaf8fb3219cc0cafab872b87e4582c0500a3b1372e3f6df42ec1fb3/client.pyi b/shared/package-files/37/37e088be1aaf8fb3219cc0cafab872b87e4582c0500a3b1372e3f6df42ec1fb3/client.pyi new file mode 100644 index 0000000000000000000000000000000000000000..34402e40b468a28b5f9ba5cf03b697dc5116f7e0 --- /dev/null +++ b/shared/package-files/37/37e088be1aaf8fb3219cc0cafab872b87e4582c0500a3b1372e3f6df42ec1fb3/client.pyi @@ -0,0 +1,211 @@ +import email.message +import io +import ssl +import sys +import types +from socket import socket +from typing import ( + IO, + Any, + BinaryIO, + Callable, + Dict, + Iterable, + Iterator, + List, + Mapping, + Optional, + Protocol, + Tuple, + Type, + TypeVar, + Union, + overload, +) + +_DataType = Union[bytes, IO[Any], Iterable[bytes], str] +_T = TypeVar("_T") + +HTTP_PORT: int +HTTPS_PORT: int + +CONTINUE: int +SWITCHING_PROTOCOLS: int +PROCESSING: int + +OK: int +CREATED: int +ACCEPTED: int +NON_AUTHORITATIVE_INFORMATION: int +NO_CONTENT: int +RESET_CONTENT: int +PARTIAL_CONTENT: int +MULTI_STATUS: int +IM_USED: int + +MULTIPLE_CHOICES: int +MOVED_PERMANENTLY: int +FOUND: int +SEE_OTHER: int +NOT_MODIFIED: int +USE_PROXY: int +TEMPORARY_REDIRECT: int + +BAD_REQUEST: int +UNAUTHORIZED: int +PAYMENT_REQUIRED: int +FORBIDDEN: int +NOT_FOUND: int +METHOD_NOT_ALLOWED: int +NOT_ACCEPTABLE: int +PROXY_AUTHENTICATION_REQUIRED: int +REQUEST_TIMEOUT: int +CONFLICT: int +GONE: int +LENGTH_REQUIRED: int +PRECONDITION_FAILED: int +REQUEST_ENTITY_TOO_LARGE: int +REQUEST_URI_TOO_LONG: int +UNSUPPORTED_MEDIA_TYPE: int +REQUESTED_RANGE_NOT_SATISFIABLE: int +EXPECTATION_FAILED: int +UNPROCESSABLE_ENTITY: int +LOCKED: int +FAILED_DEPENDENCY: int +UPGRADE_REQUIRED: int +PRECONDITION_REQUIRED: int +TOO_MANY_REQUESTS: int +REQUEST_HEADER_FIELDS_TOO_LARGE: int + +INTERNAL_SERVER_ERROR: int +NOT_IMPLEMENTED: int +BAD_GATEWAY: int +SERVICE_UNAVAILABLE: int +GATEWAY_TIMEOUT: int +HTTP_VERSION_NOT_SUPPORTED: int +INSUFFICIENT_STORAGE: int +NOT_EXTENDED: int +NETWORK_AUTHENTICATION_REQUIRED: int + +responses: Dict[int, str] + +class HTTPMessage(email.message.Message): ... + +def parse_headers(fp: io.BufferedIOBase, _class: Callable[[], email.message.Message] = ...) -> HTTPMessage: ... + +class HTTPResponse(io.BufferedIOBase, BinaryIO): + msg: HTTPMessage + headers: HTTPMessage + version: int + debuglevel: int + closed: bool + status: int + reason: str + def __init__(self, sock: socket, debuglevel: int = ..., method: Optional[str] = ..., url: Optional[str] = ...) -> None: ... + def read(self, amt: Optional[int] = ...) -> bytes: ... + @overload + def getheader(self, name: str) -> Optional[str]: ... + @overload + def getheader(self, name: str, default: _T) -> Union[str, _T]: ... + def getheaders(self) -> List[Tuple[str, str]]: ... + def fileno(self) -> int: ... + def isclosed(self) -> bool: ... + def __iter__(self) -> Iterator[bytes]: ... + def __enter__(self) -> HTTPResponse: ... + def __exit__( + self, exc_type: Optional[Type[BaseException]], exc_val: Optional[BaseException], exc_tb: Optional[types.TracebackType] + ) -> Optional[bool]: ... + def info(self) -> email.message.Message: ... + def geturl(self) -> str: ... + def getcode(self) -> int: ... + def begin(self) -> None: ... + +# This is an API stub only for the class below, not a class itself. +# urllib.request uses it for a parameter. +class _HTTPConnectionProtocol(Protocol): + if sys.version_info >= (3, 7): + def __call__( + self, + host: str, + port: Optional[int] = ..., + timeout: float = ..., + source_address: Optional[Tuple[str, int]] = ..., + blocksize: int = ..., + ) -> HTTPConnection: ... + else: + def __call__( + self, host: str, port: Optional[int] = ..., timeout: float = ..., source_address: Optional[Tuple[str, int]] = ... + ) -> HTTPConnection: ... + +class HTTPConnection: + timeout: Optional[float] + host: str + port: int + sock: Any + if sys.version_info >= (3, 7): + def __init__( + self, + host: str, + port: Optional[int] = ..., + timeout: Optional[float] = ..., + source_address: Optional[Tuple[str, int]] = ..., + blocksize: int = ..., + ) -> None: ... + else: + def __init__( + self, + host: str, + port: Optional[int] = ..., + timeout: Optional[float] = ..., + source_address: Optional[Tuple[str, int]] = ..., + ) -> None: ... + def request( + self, + method: str, + url: str, + body: Optional[_DataType] = ..., + headers: Mapping[str, str] = ..., + *, + encode_chunked: bool = ..., + ) -> None: ... + def getresponse(self) -> HTTPResponse: ... + def set_debuglevel(self, level: int) -> None: ... + def set_tunnel(self, host: str, port: Optional[int] = ..., headers: Optional[Mapping[str, str]] = ...) -> None: ... + def connect(self) -> None: ... + def close(self) -> None: ... + def putrequest(self, method: str, url: str, skip_host: bool = ..., skip_accept_encoding: bool = ...) -> None: ... + def putheader(self, header: str, *argument: str) -> None: ... + def endheaders(self, message_body: Optional[_DataType] = ..., *, encode_chunked: bool = ...) -> None: ... + def send(self, data: _DataType) -> None: ... + +class HTTPSConnection(HTTPConnection): + def __init__( + self, + host: str, + port: Optional[int] = ..., + key_file: Optional[str] = ..., + cert_file: Optional[str] = ..., + timeout: Optional[float] = ..., + source_address: Optional[Tuple[str, int]] = ..., + *, + context: Optional[ssl.SSLContext] = ..., + check_hostname: Optional[bool] = ..., + ) -> None: ... + +class HTTPException(Exception): ... + +error = HTTPException + +class NotConnected(HTTPException): ... +class InvalidURL(HTTPException): ... +class UnknownProtocol(HTTPException): ... +class UnknownTransferEncoding(HTTPException): ... +class UnimplementedFileMode(HTTPException): ... +class IncompleteRead(HTTPException): ... +class ImproperConnectionState(HTTPException): ... +class CannotSendRequest(ImproperConnectionState): ... +class CannotSendHeader(ImproperConnectionState): ... +class ResponseNotReady(ImproperConnectionState): ... +class BadStatusLine(HTTPException): ... +class LineTooLong(HTTPException): ... +class RemoteDisconnected(ConnectionResetError, BadStatusLine): ... diff --git a/shared/package-files/37/37e27e76006023bef2b58514ad78ddb8bc6d0f2747ee34be69ff7c7f23c19187/test_biconnected.py b/shared/package-files/37/37e27e76006023bef2b58514ad78ddb8bc6d0f2747ee34be69ff7c7f23c19187/test_biconnected.py new file mode 100644 index 0000000000000000000000000000000000000000..19d2d8831ced26a516d101e735b6701f39865c1b --- /dev/null +++ b/shared/package-files/37/37e27e76006023bef2b58514ad78ddb8bc6d0f2747ee34be69ff7c7f23c19187/test_biconnected.py @@ -0,0 +1,248 @@ +import pytest + +import networkx as nx +from networkx import NetworkXNotImplemented + + +def assert_components_edges_equal(x, y): + sx = {frozenset(frozenset(e) for e in c) for c in x} + sy = {frozenset(frozenset(e) for e in c) for c in y} + assert sx == sy + + +def assert_components_equal(x, y): + sx = {frozenset(c) for c in x} + sy = {frozenset(c) for c in y} + assert sx == sy + + +def test_barbell(): + G = nx.barbell_graph(8, 4) + nx.add_path(G, [7, 20, 21, 22]) + nx.add_cycle(G, [22, 23, 24, 25]) + pts = set(nx.articulation_points(G)) + assert pts == {7, 8, 9, 10, 11, 12, 20, 21, 22} + + answer = [ + {12, 13, 14, 15, 16, 17, 18, 19}, + {0, 1, 2, 3, 4, 5, 6, 7}, + {22, 23, 24, 25}, + {11, 12}, + {10, 11}, + {9, 10}, + {8, 9}, + {7, 8}, + {21, 22}, + {20, 21}, + {7, 20}, + ] + assert_components_equal(list(nx.biconnected_components(G)), answer) + + G.add_edge(2, 17) + pts = set(nx.articulation_points(G)) + assert pts == {7, 20, 21, 22} + + +def test_articulation_points_repetitions(): + G = nx.Graph() + G.add_edges_from([(0, 1), (1, 2), (1, 3)]) + assert list(nx.articulation_points(G)) == [1] + + +def test_articulation_points_cycle(): + G = nx.cycle_graph(3) + nx.add_cycle(G, [1, 3, 4]) + pts = set(nx.articulation_points(G)) + assert pts == {1} + + +def test_is_biconnected(): + G = nx.cycle_graph(3) + assert nx.is_biconnected(G) + nx.add_cycle(G, [1, 3, 4]) + assert not nx.is_biconnected(G) + + +def test_empty_is_biconnected(): + G = nx.empty_graph(5) + assert not nx.is_biconnected(G) + G.add_edge(0, 1) + assert not nx.is_biconnected(G) + + +def test_biconnected_components_cycle(): + G = nx.cycle_graph(3) + nx.add_cycle(G, [1, 3, 4]) + answer = [{0, 1, 2}, {1, 3, 4}] + assert_components_equal(list(nx.biconnected_components(G)), answer) + + +def test_biconnected_components1(): + # graph example from + # https://web.archive.org/web/20121229123447/http://www.ibluemojo.com/school/articul_algorithm.html + edges = [ + (0, 1), + (0, 5), + (0, 6), + (0, 14), + (1, 5), + (1, 6), + (1, 14), + (2, 4), + (2, 10), + (3, 4), + (3, 15), + (4, 6), + (4, 7), + (4, 10), + (5, 14), + (6, 14), + (7, 9), + (8, 9), + (8, 12), + (8, 13), + (10, 15), + (11, 12), + (11, 13), + (12, 13), + ] + G = nx.Graph(edges) + pts = set(nx.articulation_points(G)) + assert pts == {4, 6, 7, 8, 9} + comps = list(nx.biconnected_component_edges(G)) + answer = [ + [(3, 4), (15, 3), (10, 15), (10, 4), (2, 10), (4, 2)], + [(13, 12), (13, 8), (11, 13), (12, 11), (8, 12)], + [(9, 8)], + [(7, 9)], + [(4, 7)], + [(6, 4)], + [(14, 0), (5, 1), (5, 0), (14, 5), (14, 1), (6, 14), (6, 0), (1, 6), (0, 1)], + ] + assert_components_edges_equal(comps, answer) + + +def test_biconnected_components2(): + G = nx.Graph() + nx.add_cycle(G, "ABC") + nx.add_cycle(G, "CDE") + nx.add_cycle(G, "FIJHG") + nx.add_cycle(G, "GIJ") + G.add_edge("E", "G") + comps = list(nx.biconnected_component_edges(G)) + answer = [ + [ + tuple("GF"), + tuple("FI"), + tuple("IG"), + tuple("IJ"), + tuple("JG"), + tuple("JH"), + tuple("HG"), + ], + [tuple("EG")], + [tuple("CD"), tuple("DE"), tuple("CE")], + [tuple("AB"), tuple("BC"), tuple("AC")], + ] + assert_components_edges_equal(comps, answer) + + +def test_biconnected_davis(): + D = nx.davis_southern_women_graph() + bcc = list(nx.biconnected_components(D))[0] + assert set(D) == bcc # All nodes in a giant bicomponent + # So no articulation points + assert len(list(nx.articulation_points(D))) == 0 + + +def test_biconnected_karate(): + K = nx.karate_club_graph() + answer = [ + { + 0, + 1, + 2, + 3, + 7, + 8, + 9, + 12, + 13, + 14, + 15, + 17, + 18, + 19, + 20, + 21, + 22, + 23, + 24, + 25, + 26, + 27, + 28, + 29, + 30, + 31, + 32, + 33, + }, + {0, 4, 5, 6, 10, 16}, + {0, 11}, + ] + bcc = list(nx.biconnected_components(K)) + assert_components_equal(bcc, answer) + assert set(nx.articulation_points(K)) == {0} + + +def test_biconnected_eppstein(): + # tests from http://www.ics.uci.edu/~eppstein/PADS/Biconnectivity.py + G1 = nx.Graph( + { + 0: [1, 2, 5], + 1: [0, 5], + 2: [0, 3, 4], + 3: [2, 4, 5, 6], + 4: [2, 3, 5, 6], + 5: [0, 1, 3, 4], + 6: [3, 4], + } + ) + G2 = nx.Graph( + { + 0: [2, 5], + 1: [3, 8], + 2: [0, 3, 5], + 3: [1, 2, 6, 8], + 4: [7], + 5: [0, 2], + 6: [3, 8], + 7: [4], + 8: [1, 3, 6], + } + ) + assert nx.is_biconnected(G1) + assert not nx.is_biconnected(G2) + answer_G2 = [{1, 3, 6, 8}, {0, 2, 5}, {2, 3}, {4, 7}] + bcc = list(nx.biconnected_components(G2)) + assert_components_equal(bcc, answer_G2) + + +def test_null_graph(): + G = nx.Graph() + assert not nx.is_biconnected(G) + assert list(nx.biconnected_components(G)) == [] + assert list(nx.biconnected_component_edges(G)) == [] + assert list(nx.articulation_points(G)) == [] + + +def test_connected_raise(): + DG = nx.DiGraph() + with pytest.raises(NetworkXNotImplemented): + next(nx.biconnected_components(DG)) + with pytest.raises(NetworkXNotImplemented): + next(nx.biconnected_component_edges(DG)) + with pytest.raises(NetworkXNotImplemented): + next(nx.articulation_points(DG)) + pytest.raises(NetworkXNotImplemented, nx.is_biconnected, DG) diff --git a/shared/package-files/37/37e4926146cc734a420eec23e026e1301d5acc35f05fb2f40ad5fd2eb5c585eb/_alternative.pyx.in b/shared/package-files/37/37e4926146cc734a420eec23e026e1301d5acc35f05fb2f40ad5fd2eb5c585eb/_alternative.pyx.in new file mode 100644 index 0000000000000000000000000000000000000000..bdc2a2bc5348f1af8ad88af95680fb0929b11e48 --- /dev/null +++ b/shared/package-files/37/37e4926146cc734a420eec23e026e1301d5acc35f05fb2f40ad5fd2eb5c585eb/_alternative.pyx.in @@ -0,0 +1,310 @@ +#cython: boundscheck=False +#cython: wraparound=False +#cython: cdivision=False +""" +State Space Models + +Author: Chad Fulton +License: Simplified-BSD +""" + +{{py: + +TYPES = { + "s": ("np.float32_t", "np.float32", "np.NPY_FLOAT32"), + "d": ("np.float64_t", "float", "np.NPY_FLOAT64"), + "c": ("np.complex64_t", "np.complex64", "np.NPY_COMPLEX64"), + "z": ("np.complex128_t", "complex", "np.NPY_COMPLEX128"), +} + +}} + +# Typical imports +import numpy as np +cimport numpy as np +from statsmodels.includes.math cimport * +cimport scipy.linalg.cython_blas as blas +include "statsmodels/tsa/statespace/_blas_int.pxi" + +from statsmodels.tsa.statespace._kalman_smoother cimport ( + SMOOTHER_STATE, SMOOTHER_STATE_COV, SMOOTHER_DISTURBANCE, + SMOOTHER_DISTURBANCE_COV +) + +{{for prefix, types in TYPES.items()}} +{{py:cython_type, dtype, typenum = types}} +{{py: +combined_prefix = prefix +combined_cython_type = cython_type +if prefix == 'c': + combined_prefix = 'z' + combined_cython_type = 'np.complex128_t' +if prefix == 's': + combined_prefix = 'd' + combined_cython_type = 'np.float64_t' +}} + +# ### Alternative conventional Kalman smoother +# +# The following are the above routines as defined in the conventional Kalman +# smoother. +# +# See Durbin and Koopman (2012) Chapter 4 + +cdef int {{prefix}}smoothed_estimators_measurement_alternative({{prefix}}KalmanSmoother smoother, {{prefix}}KalmanFilter kfilter, {{prefix}}Statespace model) except *: + cdef: + int i + blas_int inc = 1 + blas_int kf_k_endog = kfilter.k_endog + blas_int m_k_endog = model._k_endog + blas_int m_k_states = model._k_states + blas_int m_k_states2 = model._k_states2 + blas_int kf_k_states = kfilter.k_states + {{cython_type}} alpha = 1.0 + {{cython_type}} beta = 0.0 + {{cython_type}} gamma = -1.0 + + if model._nmissing == model.k_endog: + # $L_t = T_t$ + blas.{{prefix}}copy(&m_k_states2, model._transition, &inc, smoother._tmpL, &inc) + return 1 + + # $C_t = (I - P_t Z_t' F_t^{-1} Z_t)$ + # $C_t = (I - \\#_1 \\#_3)$ + # $(m \times m) = (m \times m) + (m \times p) (p \times m)$ + # (this is required for any type of smoothing) + blas.{{prefix}}copy(&m_k_states2, model._transition, &inc, smoother._tmpL, &inc) + blas.{{prefix}}gemm("N", "N", &m_k_states, &m_k_states, &m_k_endog, + &gamma, kfilter._tmp1, &kf_k_states, + kfilter._tmp3, &kf_k_endog, + &beta, smoother._tmpL, &kf_k_states) + for i in range(model._k_states): + smoother.tmpL[i,i] = smoother.tmpL[i,i] + 1 + + # Scaled smoothed estimator + # $\tilde r_{t} = Z_n' F_n^{-1} v_n + C_t' \hat r_n$ + # $\tilde r_{t} = \\#_3' v_n + C_t' \hat r_n$ + # $(m \times 1) = (m \times p) (p \times 1) + (m \times m) (m \times 1)$ + if smoother.smoother_output & (SMOOTHER_STATE | SMOOTHER_DISTURBANCE): + blas.{{prefix}}gemv("T", &m_k_states, &m_k_states, + &alpha, smoother._tmpL, &kf_k_states, + smoother._input_scaled_smoothed_estimator, &inc, + &beta, smoother._tmp0, &inc) + + blas.{{prefix}}copy(&m_k_states, smoother._tmp0, &inc, + smoother._input_scaled_smoothed_estimator, &inc) + blas.{{prefix}}gemv("T", &m_k_endog, &m_k_states, + &alpha, kfilter._tmp3, &kf_k_endog, + &kfilter.forecast_error[0, smoother.t], &inc, + &alpha, smoother._input_scaled_smoothed_estimator, &inc) + + # Scaled smoothed estimator covariance matrix + # $\tilde N_{t} = Z_t' F_t^{-1} Z_t + C_t' \hat N_t C_t$ + # $\tilde N_{t} = Z_t' \\#_3 + C_t' \hat N_t C_t$ + # $(m \times m) = (m \times p) (p \times m) + (m \times m) (m \times m) (m \times m)$ + if smoother.smoother_output & (SMOOTHER_STATE_COV | SMOOTHER_DISTURBANCE_COV): + blas.{{prefix}}gemm("N", "N", &m_k_states, &m_k_states, &m_k_states, + &alpha, smoother._input_scaled_smoothed_estimator_cov, &kf_k_states, + smoother._tmpL, &kf_k_states, + &beta, smoother._tmp0, &kf_k_states) + blas.{{prefix}}gemm("T", "N", &m_k_states, &m_k_states, &m_k_states, + &alpha, smoother._tmpL, &kf_k_states, + smoother._tmp0, &kf_k_states, + &beta, smoother._input_scaled_smoothed_estimator_cov, &kf_k_states) + blas.{{prefix}}gemm("T", "N", &m_k_states, &m_k_states, &m_k_endog, + &alpha, model._design, &m_k_endog, + kfilter._tmp3, &kf_k_endog, + &alpha, smoother._input_scaled_smoothed_estimator_cov, &kf_k_states) + + # $L_t = T_t C_t$ + # $(m \times m) = (m \times m) (m \times m)$ + blas.{{prefix}}copy(&m_k_states2, smoother._tmpL, &inc, smoother._tmp0, &inc) + blas.{{prefix}}gemm("N", "N", &m_k_states, &m_k_states, &m_k_states, + &alpha, model._transition, &kf_k_states, + smoother._tmp0, &kf_k_states, + &beta, smoother._tmpL, &kf_k_states) + + # Smoothing error + # $u_t = \\#_2 - K_t' \tilde r_{t+1}$ + # $(p \times 1) = (p \times 1) - (p \times m) (m \times 1)$ + if smoother.smoother_output & (SMOOTHER_DISTURBANCE): + blas.{{prefix}}copy(&kf_k_endog, kfilter._tmp2, &inc, smoother._smoothing_error, &inc) + if smoother.t < model.nobs - 1: + blas.{{prefix}}gemv("T", &m_k_states, &m_k_endog, + &gamma, kfilter._kalman_gain, &kf_k_states, + &smoother.scaled_smoothed_estimator[0, smoother.t+1], &inc, + &alpha, smoother._smoothing_error, &inc) + +cdef int {{prefix}}smoothed_estimators_time_alternative({{prefix}}KalmanSmoother smoother, {{prefix}}KalmanFilter kfilter, {{prefix}}Statespace model): + cdef: + int i + blas_int inc = 1 + blas_int m_k_states = model._k_states + blas_int kf_k_states = kfilter.k_states + {{cython_type}} alpha = 1.0 + {{cython_type}} beta = 0.0 + {{cython_type}} gamma = -1.0 + + if smoother.t == 0: + return 1 + + # Scaled smoothed estimator + # $\hat r_{t-1} = T_t' \tilde r_t$ + # $(m \times 1) = (m \times m) (m \times 1) + if smoother.smoother_output & (SMOOTHER_STATE | SMOOTHER_DISTURBANCE): + blas.{{prefix}}gemv("T", &m_k_states, &m_k_states, + &alpha, model._transition, &kf_k_states, + smoother._input_scaled_smoothed_estimator, &inc, + &beta, smoother._scaled_smoothed_estimator, &inc) + + # Scaled smoothed estimator covariance matrix + # $\hat N_{t-1} = T_t' \tilde N_t T_t$ + # $(m \times m) = (m \times p) (m \times m) (m \times m)$ + if smoother.smoother_output & (SMOOTHER_STATE_COV | SMOOTHER_DISTURBANCE_COV): + blas.{{prefix}}gemm("T", "N", &m_k_states, &m_k_states, &m_k_states, + &alpha, model._transition, &kf_k_states, + smoother._input_scaled_smoothed_estimator_cov, &kf_k_states, + &beta, smoother._tmp0, &kf_k_states) + blas.{{prefix}}gemm("N", "N", &m_k_states, &m_k_states, &m_k_states, + &alpha, smoother._tmp0, &kf_k_states, + model._transition, &kf_k_states, + &beta, smoother._scaled_smoothed_estimator_cov, &kf_k_states) + +cdef int {{prefix}}smoothed_state_alternative({{prefix}}KalmanSmoother smoother, {{prefix}}KalmanFilter kfilter, {{prefix}}Statespace model): + cdef int i, j + cdef: + blas_int inc = 1 + blas_int kf_k_states = kfilter.k_states + blas_int m_k_states = model._k_states + {{cython_type}} alpha = 1.0 + {{cython_type}} beta = 0.0 + {{cython_type}} gamma = -1.0 + + # Need to clear out the scaled_smoothed_estimator and + # scaled_smoothed_estimator_cov in case we're re-running the filter + if smoother.t == model.nobs - 1: + smoother.scaled_smoothed_estimator[:, model.nobs-1] = 0 + smoother.scaled_smoothed_estimator_cov[:, :, model.nobs-1] = 0 + + # Smoothed state + if smoother.smoother_output & SMOOTHER_STATE: + # $\hat \alpha_t = a_t|t + P_t|t \hat r_t$ + # $(m \times 1) = (m \times 1) + (m \times m) (m \times 1)$ + blas.{{prefix}}copy(&kf_k_states, &kfilter.filtered_state[0,smoother.t], &inc, smoother._smoothed_state, &inc) + + blas.{{prefix}}gemv("N", &m_k_states, &m_k_states, + &alpha, &kfilter.filtered_state_cov[0, 0, smoother.t], &kf_k_states, + smoother._input_scaled_smoothed_estimator, &inc, + &alpha, smoother._smoothed_state, &inc) + + # Smoothed state covariance + if smoother.smoother_output & SMOOTHER_STATE_COV: + # $V_t = P_t|t [I - \hat N_t P_t|t]$ + # $(m \times m) = (m \times m) [(m \times m) - (m \times m) (m \times m)]$ + blas.{{prefix}}gemm("N", "N", &m_k_states, &m_k_states, &m_k_states, + &gamma, smoother._input_scaled_smoothed_estimator_cov, &kf_k_states, + &kfilter.filtered_state_cov[0, 0, smoother.t], &kf_k_states, + &beta, smoother._tmp0, &kf_k_states) + for i in range(kfilter.k_states): + smoother.tmp0[i,i] = 1 + smoother.tmp0[i,i] + blas.{{prefix}}gemm("N", "N", &m_k_states, &m_k_states, &m_k_states, + &alpha, &kfilter.filtered_state_cov[0,0,smoother.t], &kf_k_states, + smoother._tmp0, &kf_k_states, + &beta, smoother._smoothed_state_cov, &kf_k_states) + +cdef int {{prefix}}smoothed_disturbances_alternative({{prefix}}KalmanSmoother smoother, {{prefix}}KalmanFilter kfilter, {{prefix}}Statespace model): + cdef int i, j + cdef: + blas_int inc = 1 + blas_int kf_k_endog = kfilter.k_endog + blas_int kf_k_posdef = kfilter.k_posdef + blas_int kf_k_states = kfilter.k_states + blas_int m_k_endog = model._k_endog + blas_int m_k_posdef = model._k_posdef + blas_int m_k_posdef2 = model._k_posdef2 + blas_int m_k_states = model._k_states + {{cython_type}} alpha = 1.0 + {{cython_type}} beta = 0.0 + {{cython_type}} gamma = -1.0 + + # At this point $\tilde r_t$ has been computed, and is stored in + # scaled_smoothed_estimator[:, t] but $\varepsilon_t$ depends + # on $\tilde r_{t+1}$, which is stored in scaled_smoothed_estimator[:, t+1] + + # Temporary arrays + + # $\\#_0 = R_t Q_t$ + # $(m \times r) = (m \times r) (r \times r)$ + if smoother.smoother_output & (SMOOTHER_DISTURBANCE | SMOOTHER_DISTURBANCE_COV): + blas.{{prefix}}gemm("N", "N", &m_k_states, &m_k_posdef, &m_k_posdef, + &alpha, model._selection, &m_k_states, + model._state_cov, &m_k_posdef, + &beta, smoother._tmp0, &kf_k_states) + + if smoother.smoother_output & SMOOTHER_DISTURBANCE: + # Smoothed measurement disturbance + # $\hat \varepsilon_t = H_t u_t$ + # $(p \times 1) = (p \times p) (p \times 1)$ + blas.{{prefix}}gemv("N", &m_k_endog, &m_k_endog, + &alpha, model._obs_cov, &m_k_endog, + smoother._smoothing_error, &inc, + &beta, smoother._smoothed_measurement_disturbance, &inc) + + # Smoothed state disturbance + # $\hat \eta_t = \\#_0' \tilde r_{t+1}$ + # $(r \times 1) = (r \times m) (m \times 1)$ + blas.{{prefix}}gemv("T", &m_k_states, &m_k_posdef, + &alpha, smoother._tmp0, &kf_k_states, + &smoother.scaled_smoothed_estimator[0, smoother.t+1], &inc, + &beta, smoother._smoothed_state_disturbance, &inc) + + if smoother.smoother_output & SMOOTHER_DISTURBANCE_COV: + # $\\#_00 = K_t H_t$ + # $(m \times p) = (m \times p) (p \times p)$ + blas.{{prefix}}gemm("N", "N", &m_k_states, &m_k_endog, &m_k_endog, + &alpha, kfilter._kalman_gain, &kf_k_states, + model._obs_cov, &m_k_endog, + &beta, smoother._tmp00, &kf_k_states) + + # Smoothed measurement disturbance covariance matrix + # $Var(\varepsilon_t | Y_n) = H_t - H_t \\#_4 - \\#_00' \tilde N_t \\#_00$ + # $(p \times p) = (p \times p) - (p \times p) (p \times p) - (p \times m) (m \times m) (m \times p)$ + blas.{{prefix}}gemm("N", "N", &m_k_endog, &m_k_endog, &m_k_endog, + &gamma, model._obs_cov, &m_k_endog, + kfilter._tmp4, &kf_k_endog, + &beta, smoother._smoothed_measurement_disturbance_cov, &kf_k_endog) + + blas.{{prefix}}gemm("N", "N", &m_k_states, &m_k_endog, &m_k_states, + &alpha, &smoother.scaled_smoothed_estimator_cov[0, 0, smoother.t+1], &kf_k_states, + smoother._tmp00, &kf_k_states, + &beta, smoother._tmp000, &kf_k_states) + + blas.{{prefix}}gemm("T", "N", &m_k_endog, &m_k_endog, &m_k_states, + &gamma, smoother._tmp00, &kf_k_states, + smoother._tmp000, &kf_k_states, + &alpha, smoother._smoothed_measurement_disturbance_cov, &kf_k_endog) + + # blas.{{prefix}}axpy(&model._k_endog2, &alpha, + # model._obs_cov, &inc, + # smoother._smoothed_measurement_disturbance_cov, &inc) + for i in range(kfilter.k_endog): + for j in range(i+1): + smoother._smoothed_measurement_disturbance_cov[i + j*kfilter.k_endog] = model._obs_cov[i + j*model._k_endog] + smoother._smoothed_measurement_disturbance_cov[i + j*kfilter.k_endog] + if not i == j: + smoother._smoothed_measurement_disturbance_cov[j + i*kfilter.k_endog] = model._obs_cov[j + i*model._k_endog] + smoother._smoothed_measurement_disturbance_cov[j + i*kfilter.k_endog] + + # Smoothed state disturbance covariance matrix + # $Var(\eta_t | Y_n) = Q_t - \\#_0' \tilde N_t \\#_0$ + # $(r \times r) = (r \times r) - (r \times m) (m \times m) (m \times r)$ + blas.{{prefix}}gemm("N", "N", &m_k_states, &m_k_posdef, &m_k_states, + &alpha, &smoother.scaled_smoothed_estimator_cov[0, 0, smoother.t+1], &kf_k_states, + smoother._tmp0, &kf_k_states, + &beta, smoother._tmpL, &kf_k_states) + + blas.{{prefix}}copy(&m_k_posdef2, model._state_cov, &inc, smoother._smoothed_state_disturbance_cov, &inc) + blas.{{prefix}}gemm("T", "N", &m_k_posdef, &m_k_posdef, &m_k_states, + &gamma, smoother._tmp0, &kf_k_states, + smoother._tmpL, &kf_k_states, + &alpha, smoother._smoothed_state_disturbance_cov, &kf_k_posdef) + +{{endfor}} \ No newline at end of file diff --git a/shared/package-files/37/37e67f2f8489bbef79952fdd036f5daa8f8c6f3a0be274f49b2001985230e07e/test_penalties.py b/shared/package-files/37/37e67f2f8489bbef79952fdd036f5daa8f8c6f3a0be274f49b2001985230e07e/test_penalties.py new file mode 100644 index 0000000000000000000000000000000000000000..517b757074ccc6f117beb29cc1f41f5f1f322e11 --- /dev/null +++ b/shared/package-files/37/37e67f2f8489bbef79952fdd036f5daa8f8c6f3a0be274f49b2001985230e07e/test_penalties.py @@ -0,0 +1,149 @@ +""" +Created on Wed May 16 22:21:26 2018 + +Author: Josef Perktold +License: BSD-3 +""" + +import numpy as np +from numpy.testing import assert_allclose, assert_equal + +import statsmodels.base._penalties as smpen +from statsmodels.tools.numdiff import approx_fprime, approx_hess + + +class CheckPenalty: + + def test_symmetry(self): + pen = self.pen + x = self.params + + p = np.array([pen.func(np.atleast_1d(xi)) for xi in x]) + assert_allclose(p, p[::-1], rtol=1e-10) + # func(0) should be 0 + assert_allclose(pen.func(0 * np.atleast_1d(x[0])), 0, rtol=1e-10) + + def test_derivatives(self): + pen = self.pen + x = self.params + + ps = np.array([pen.deriv(np.atleast_1d(xi)) for xi in x]) + psn = np.array([approx_fprime(np.atleast_1d(xi), pen.func) for xi in x]) + assert_allclose(ps, psn, rtol=1e-7, atol=1e-8) + + ph = np.array([pen.deriv2(np.atleast_1d(xi)) for xi in x]) + phn = np.array([approx_hess(np.atleast_1d(xi), pen.func) for xi in x]) + if ph.ndim == 2: + # SmoothedSCAD returns only diagonal if hessian if independent + # TODO should ww allow this also in L@? + ph = np.array([np.diag(phi) for phi in ph]) + assert_allclose(ph, phn, rtol=1e-7, atol=1e-8) + + +class TestL2Constraints0(CheckPenalty): + + @classmethod + def setup_class(cls): + x0 = np.linspace(-0.2, 0.2, 11) + cls.params = np.column_stack((x0, x0)) + cls.pen = smpen.L2ConstraintsPenalty() + + def test_equivalence(self): + # compare plain penalty with included weights or restriction + pen = self.pen + x = self.params + k = x.shape[1] + + pen2 = smpen.L2ConstraintsPenalty(weights=np.ones(k)) + pen3 = smpen.L2ConstraintsPenalty(restriction=np.eye(k)) + f = pen.func(x.T) + d = pen.deriv(x.T) + d2 = np.array([pen.deriv2(np.atleast_1d(xi)) for xi in x]) + for pen_ in [pen2, pen3]: + assert_allclose(pen_.func(x.T), f, rtol=1e-7, atol=1e-8) + assert_allclose(pen_.deriv(x.T), d, rtol=1e-7, atol=1e-8) + d2_ = np.array([pen.deriv2(np.atleast_1d(xi)) for xi in x]) + assert_allclose(d2_, d2, rtol=1e-10, atol=1e-8) + + +class TestL2Constraints1(CheckPenalty): + + @classmethod + def setup_class(cls): + x0 = np.linspace(-0.2, 0.2, 11) + cls.params = np.column_stack((x0, x0)) + cls.pen = smpen.L2ConstraintsPenalty(restriction=[[1, 0], [1, 1]]) + + def test_values(self): + pen = self.pen + x = self.params + r = pen.restriction + f = (r.dot(x.T) ** 2).sum(0) + assert_allclose(pen.func(x.T), f, rtol=1e-7, atol=1e-8) + + +class TestSmoothedSCAD(CheckPenalty): + + @classmethod + def setup_class(cls): + x0 = np.linspace(-0.2, 0.2, 11) + cls.params = np.column_stack((x0, x0)) + cls.pen = smpen.SCADSmoothed(tau=0.05, c0=0.05) + + +class TestPseudoHuber(CheckPenalty): + + @classmethod + def setup_class(cls): + x0 = np.linspace(-0.2, 0.2, 11) + cls.params = np.column_stack((x0, x0)) + cls.pen = smpen.PseudoHuber(0.1) + + def test_backward_compatibility(self): + wts = [0.5] + pen = smpen.PseudoHuber(0.1, weights=wts) + assert_equal(pen.weights, wts) + + def test_deprecated_priority(self): + weights = [1.0] + pen = smpen.PseudoHuber(0.1, weights=weights) + + assert_equal(pen.weights, weights) + + def test_weights_assignment(self): + weights = [1.0, 2.0] + pen = smpen.PseudoHuber(0.1, weights=weights) + assert_equal(pen.weights, weights) + + +class TestL2(CheckPenalty): + + @classmethod + def setup_class(cls): + x0 = np.linspace(-0.2, 0.2, 11) + cls.params = np.column_stack((x0, x0)) + cls.pen = smpen.L2() + + def test_backward_compatibility(self): + wts = [0.5] + pen = smpen.L2(weights=wts) + assert_equal(pen.weights, wts) + + def test_deprecated_priority(self): + weights = [1.0] + pen = smpen.L2(weights=weights) + assert_equal(pen.weights, weights) + + def test_weights_assignment(self): + weights = [1.0, 2.0] + pen = smpen.L2(weights=weights) + assert_equal(pen.weights, weights) + + +class TestNonePenalty(CheckPenalty): + + @classmethod + def setup_class(cls): + x0 = np.linspace(-0.2, 0.2, 11) + cls.params = np.column_stack((x0, x0)) + cls.pen = smpen.NonePenalty() diff --git a/shared/package-files/37/37e6f539042929c4fd2161db296a3236ab33bfc0e52d0c4fab0908d39bd9834c/common_modules.py b/shared/package-files/37/37e6f539042929c4fd2161db296a3236ab33bfc0e52d0c4fab0908d39bd9834c/common_modules.py new file mode 100644 index 0000000000000000000000000000000000000000..b9e428d59454a1d246eafd1fbeaa118ceac59a2d --- /dev/null +++ b/shared/package-files/37/37e6f539042929c4fd2161db296a3236ab33bfc0e52d0c4fab0908d39bd9834c/common_modules.py @@ -0,0 +1,4400 @@ +# mypy: ignore-errors + +import torch +import unittest +from copy import deepcopy +from enum import Enum +from functools import wraps, partial +from itertools import chain, product +import itertools +import math +import torch.nn.functional as F +from torch.nn.utils.rnn import pack_padded_sequence +from torch.testing import make_tensor +from torch.testing._internal.common_cuda import TEST_CUDNN +from torch.testing._internal.common_dtype import ( + floating_types, floating_and_complex_types_and, get_all_fp_dtypes) +from torch.testing._internal.common_device_type import ( + _TestParametrizer, _update_param_kwargs, toleranceOverride, tol, + skipCUDAIfCudnnVersionLessThan, skipCUDAIfRocm, precisionOverride, skipMeta, skipMPS, skipCUDAVersionIn) +from torch.testing._internal.common_methods_invocations import DecorateInfo +from torch.testing._internal.common_nn import ( + cosineembeddingloss_reference, cross_entropy_loss_reference, ctcloss_reference, + hingeembeddingloss_reference, huberloss_reference, kldivloss_reference, + marginrankingloss_reference, multimarginloss_reference, multilabelmarginloss_reference, + nllloss_reference, nlllossNd_reference, smoothl1loss_reference, softmarginloss_reference, get_reduction) +from torch.testing._internal.common_utils import ( + freeze_rng_state, set_single_threaded_if_parallel_tbb, skipIfMps, GRADCHECK_NONDET_TOL, TEST_WITH_ROCM, IS_WINDOWS, + skipIfTorchDynamo) +from types import ModuleType +from typing import List, Tuple, Type, Set, Dict + +# List of all namespaces containing modules to test. +MODULE_NAMESPACES: List[ModuleType] = [ + torch.nn.modules, + torch.ao.nn.qat.modules, + torch.ao.nn.quantizable.modules, + torch.ao.nn.quantized.modules, + torch.ao.nn.quantized.modules, +] + +# Modules that shouldn't be tested for one reason or another. +MODULES_TO_SKIP: Set[Type] = { + torch.nn.Module, # abstract base class + torch.nn.Container, # deprecated + torch.nn.NLLLoss2d, # deprecated + torch.ao.nn.quantized.MaxPool2d, # aliases to nn.MaxPool2d + torch.ao.nn.quantized.MaxPool2d, # aliases to nn.MaxPool2d +} + +# List of all module classes to test. +MODULE_CLASSES: List[Type] = list(chain(*[ + [getattr(namespace, module_name) for module_name in namespace.__all__] # type: ignore[attr-defined] + for namespace in MODULE_NAMESPACES])) +MODULE_CLASSES = [cls for cls in MODULE_CLASSES if cls not in MODULES_TO_SKIP] + +# Dict of module class -> common name. Useful for making test names more intuitive. +# Example: torch.nn.modules.linear.Linear -> "nn.Linear" +MODULE_CLASS_NAMES: Dict[Type, str] = {} +for namespace in MODULE_NAMESPACES: + for module_name in namespace.__all__: # type: ignore[attr-defined] + module_cls = getattr(namespace, module_name) + namespace_name = namespace.__name__.replace('torch.', '').replace('.modules', '') + + # Deal with any aliases by preferring earlier names. + if module_cls not in MODULE_CLASS_NAMES: + MODULE_CLASS_NAMES[module_cls] = f'{namespace_name}.{module_name}' + + +# Specifies the modes (i.e. train, eval) to test over. +TrainEvalMode = Enum('TrainEvalMode', ('train_only', 'eval_only', 'train_and_eval')) + + +class modules(_TestParametrizer): + """ PROTOTYPE: Decorator for specifying a list of modules over which to run a test. """ + + def __init__(self, module_info_iterable, allowed_dtypes=None, + train_eval_mode=TrainEvalMode.train_and_eval, skip_if_dynamo=True): + self.module_info_list = list(module_info_iterable) + self.allowed_dtypes = set(allowed_dtypes) if allowed_dtypes is not None else None + self.train_eval_mode = train_eval_mode + self.skip_if_dynamo = skip_if_dynamo + + def _get_training_flags(self, module_info): + training_flags = [] + if (self.train_eval_mode == TrainEvalMode.train_only or + self.train_eval_mode == TrainEvalMode.train_and_eval): + training_flags.append(True) + + if (self.train_eval_mode == TrainEvalMode.eval_only or + self.train_eval_mode == TrainEvalMode.train_and_eval): + training_flags.append(False) + + # If train and eval modes don't differ for the module, don't bother using more than one. + if not module_info.train_and_eval_differ: + training_flags = training_flags[:1] + + return training_flags + + def _parametrize_test(self, test, generic_cls, device_cls): + if device_cls is None: + raise RuntimeError('The @modules decorator is only intended to be used in a device-specific ' + 'context; use it with instantiate_device_type_tests() instead of ' + 'instantiate_parametrized_tests()') + + for module_info in self.module_info_list: + dtypes = set(module_info.supported_dtypes(device_cls.device_type)) + if self.allowed_dtypes is not None: + dtypes = dtypes.intersection(self.allowed_dtypes) + + training_flags = self._get_training_flags(module_info) + for (training, dtype) in product(training_flags, dtypes): + # Construct the test name; device / dtype parts are handled outside. + # See [Note: device and dtype suffix placement] + test_name = module_info.formatted_name + if len(training_flags) > 1: + test_name += f"_{'train_mode' if training else 'eval_mode'}" + + # Construct parameter kwargs to pass to the test. + param_kwargs = {'module_info': module_info} + _update_param_kwargs(param_kwargs, 'dtype', dtype) + _update_param_kwargs(param_kwargs, 'training', training) + + try: + + @wraps(test) + def test_wrapper(*args, **kwargs): + return test(*args, **kwargs) + + if self.skip_if_dynamo and not torch.testing._internal.common_utils.TEST_WITH_TORCHINDUCTOR: + test_wrapper = skipIfTorchDynamo("Policy: we don't run ModuleInfo tests w/ Dynamo")(test_wrapper) + + decorator_fn = partial(module_info.get_decorators, generic_cls.__name__, + test.__name__, device_cls.device_type, dtype) + + yield (test_wrapper, test_name, param_kwargs, decorator_fn) + except Exception as ex: + # Provides an error message for debugging before rethrowing the exception + print(f"Failed to instantiate {test_name} for module {module_info.name}!") + raise ex + + +def get_module_common_name(module_cls): + if module_cls in MODULE_CLASS_NAMES: + # Example: "nn.Linear" + return MODULE_CLASS_NAMES[module_cls] + else: + return module_cls.__name__ + + +class FunctionInput: + """ Contains args and kwargs to pass as input to a function. """ + __slots__ = ['args', 'kwargs'] + + def __init__(self, *args, **kwargs): + self.args = args + self.kwargs = kwargs + + +class ModuleInput: + """ Contains args / kwargs for module instantiation + forward pass. """ + __slots__ = ['constructor_input', 'forward_input', 'desc', 'reference_fn'] + + def __init__(self, constructor_input, forward_input=None, desc='', reference_fn=None): + self.constructor_input = constructor_input # Inputs to pass during construction + self.forward_input = forward_input # Inputs to pass to forward() + self.desc = desc # Description for this set of inputs + self.reference_fn = reference_fn # Reference with signature: reference_fn(module, parameters, *args, **kwargs) + + if reference_fn is not None: + + @wraps(reference_fn) + def copy_reference_fn(m, *args, **kwargs): + # Copy inputs to avoid undesired side effects from calling the reference. + args, kwargs = deepcopy(args), deepcopy(kwargs) + + # Note that module parameters are passed in for convenience. + return reference_fn(m, list(m.parameters()), *args, **kwargs) + + self.reference_fn = copy_reference_fn + +class ModuleErrorEnum(Enum): + """ Enumerates when error is raised when testing modules. """ + CONSTRUCTION_ERROR = 0 + FORWARD_ERROR = 1 + +class ErrorModuleInput: + """ + A ModuleInput that will cause the operation to throw an error plus information + about the resulting error. + """ + + __slots__ = ["module_error_input", "error_on", "error_type", "error_regex"] + + def __init__(self, + module_error_input, + *, + error_on=ModuleErrorEnum.CONSTRUCTION_ERROR, + error_type=RuntimeError, + error_regex): + self.module_error_input = module_error_input + self.error_on = error_on + self.error_type = error_type + self.error_regex = error_regex + + +class ModuleInfo: + """ Module information to be used in testing. """ + + def __init__(self, + module_cls, # Class object for the module under test + *, + module_inputs_func, # Function to generate module inputs + skips=(), # Indicates which tests to skip + decorators=None, # Additional decorators to apply to generated tests + dtypes=floating_types(), # dtypes this function is expected to work with + dtypesIfMPS=(torch.float16, torch.float32,), # dtypes this function is expected to work with on MPS + supports_gradgrad=True, # whether the op supports second order gradients + gradcheck_nondet_tol=0.0, # tolerance for nondeterminism while performing gradcheck + module_memformat_affects_out=False, # whether converting module to channels last will generate + # channels last output + train_and_eval_differ=False, # whether the module has differing behavior between train and eval + module_error_inputs_func=None, # Function to generate module inputs that error + ): + self.module_cls = module_cls + self.module_inputs_func = module_inputs_func + self.decorators = (*(decorators if decorators else []), *(skips if skips else [])) + self.dtypes = dtypes + self.dtypesIfMPS = dtypesIfMPS + self.supports_gradgrad = supports_gradgrad + self.gradcheck_nondet_tol = gradcheck_nondet_tol + self.module_memformat_affects_out = module_memformat_affects_out + self.train_and_eval_differ = train_and_eval_differ + self.module_error_inputs_func = module_error_inputs_func + self.is_lazy = issubclass(module_cls, torch.nn.modules.lazy.LazyModuleMixin) + + def get_decorators(self, test_class, test_name, device, dtype, param_kwargs): + result = [set_single_threaded_if_parallel_tbb] + for decorator in self.decorators: + if isinstance(decorator, DecorateInfo): + if decorator.is_active(test_class, test_name, device, dtype, param_kwargs): + result.extend(decorator.decorators) + else: + result.append(decorator) + return result + + def supported_dtypes(self, device_type): + if device_type == 'mps': + return self.dtypesIfMPS + else: + return self.dtypes + + @property + def name(self): + return get_module_common_name(self.module_cls) + + @property + def formatted_name(self): + return self.name.replace('.', '_') + +# Start of module inputs functions. + +def module_inputs_torch_nn_Linear(module_info, device, dtype, requires_grad, training, **kwargs): + make_input = partial(make_tensor, device=device, dtype=dtype, requires_grad=requires_grad) + + module_inputs = [ + ModuleInput(constructor_input=FunctionInput(10, 8), + forward_input=FunctionInput(input=make_input((4, 10))), + reference_fn=lambda m, p, input: torch.mm(input, p[0].t()) + p[1].view(1, -1).expand(4, 8)), + ModuleInput(constructor_input=FunctionInput(10, 8, bias=False), + forward_input=FunctionInput(make_input((4, 10))), + desc='no_bias', + reference_fn=lambda m, p, i: torch.mm(i, p[0].t())), + ModuleInput(constructor_input=FunctionInput(3, 5), + forward_input=FunctionInput(make_input(3)), + desc='no_batch_dim', + reference_fn=lambda m, p, i: torch.mm(i.view(1, -1), p[0].t()).view(-1) + p[1]) + ] + + return module_inputs + + +def module_inputs_torch_nn_Bilinear(module_info, device, dtype, requires_grad, training, **kwargs): + make_input = partial(make_tensor, device=device, dtype=dtype, requires_grad=requires_grad) + + def bilinear_reference_fn(m, p, x1, x2, bias=True): + result = torch.einsum('bn,anm,bm->ba', x1, p[0], x2) + if bias: + if x1.shape[0] == 1: + result = result.view(-1) + p[1] + else: + result = result + p[1].view(1, -1).expand(x1.shape[0], p[0].shape[0]) + return result + + module_inputs = [ + ModuleInput(constructor_input=FunctionInput(2, 3, 4), + forward_input=FunctionInput(make_input((8, 2)), make_input((8, 3))), + reference_fn=bilinear_reference_fn), + ModuleInput(constructor_input=FunctionInput(2, 3, 4, bias=False), + forward_input=FunctionInput(make_input((8, 2)), make_input((8, 3))), + desc='no_bias', + reference_fn=lambda m, p, x1, x2: bilinear_reference_fn(m, p, x1, x2, bias=False)), + ModuleInput(constructor_input=FunctionInput(2, 3, 4), + forward_input=FunctionInput(make_input(2), make_input(3)), + desc='no_batch_dim', + reference_fn=lambda m, p, x1, x2: bilinear_reference_fn(m, p, x1.view(1, -1), x2.view(1, -1))), + ] + + return module_inputs + + +def module_inputs_torch_nn_KLDivLoss(module_info, device, dtype, requires_grad, training, **kwargs): + make_input = partial(make_tensor, device=device, dtype=dtype, requires_grad=requires_grad) + + cases: List[Tuple[str, dict]] = [ + ('', {}), + ('reduction_sum', {'reduction': 'sum'}), + ('reduction_batchmean', {'reduction': 'batchmean'}), + ('reduction_none', {'reduction': 'none'}), + ('log_target', {'log_target': True}) + ] + + module_inputs = [] + for desc, constructor_kwargs in cases: + def reference_fn(m, p, i, t, constructor_kwargs=constructor_kwargs): + return kldivloss_reference(i, t, **constructor_kwargs) + + input = make_input((10, 10)).log() + target = make_input((10, 10)) if kwargs.get('log_target', False) else make_input((10, 10)).log() + module_inputs.append( + ModuleInput(constructor_input=FunctionInput(**constructor_kwargs), + forward_input=FunctionInput(input, target), + desc=desc, + reference_fn=reference_fn) + ) + + scalar_input = make_input(()).log() + scalar_target = make_input(()) if kwargs.get('log_target', False) else make_input(()).log() + module_inputs.append( + ModuleInput(constructor_input=FunctionInput(**constructor_kwargs), + forward_input=FunctionInput(scalar_input, scalar_input), + desc='scalar_' + desc, + reference_fn=reference_fn) + ) + + return module_inputs + + +def module_inputs_torch_nn_NLLLoss(module_info, device, dtype, requires_grad, training, **kwargs): + def make_input(shape, device=device, dtype=dtype, requires_grad=requires_grad): + return make_tensor(shape, device=device, dtype=dtype, + requires_grad=False).log_softmax(dim=1).requires_grad_(requires_grad) + make_weight = partial(make_tensor, device=device, dtype=dtype, requires_grad=False) + + cases: List[Tuple[str, dict]] = [ + ('', {}), + ('reduction_sum', {'reduction': 'sum'}), + ('reduction_none', {'reduction': 'none'}), + ('ignore_index', {'ignore_index': 2}), + ('weights', {'weight': make_weight(4).abs()}), + ('weights_ignore_index', {'weight': make_weight(4).abs(), 'ignore_index': 2}), + ('weights_ignore_index_neg', {'weight': make_weight(4).abs(), 'ignore_index': -1}) + ] + + # TODO: Uncomment when negative weights is supported. + # negative_weight = make_weight(10) + # negative_weight[0] = -1 + # cases.append(('weights_negative', {'weight': negative_weight})) + module_inputs = [] + for desc, constructor_kwargs in cases: + + def reference_fn(m, p, i, t, constructor_kwargs=constructor_kwargs): + return nllloss_reference(i, t, **constructor_kwargs) + + module_inputs.append( + ModuleInput(constructor_input=FunctionInput(**constructor_kwargs), + forward_input=FunctionInput(make_input((15, 4)), + torch.empty(15, device=device).uniform_().mul(4).floor().long()), + desc=desc, + reference_fn=reference_fn) + ) + + def nd_reference_fn(m, p, i, t, constructor_kwargs=constructor_kwargs): + return nlllossNd_reference(i, t, **constructor_kwargs) + + module_inputs.append( + ModuleInput(constructor_input=FunctionInput(**constructor_kwargs), + forward_input=FunctionInput( + make_input((2, 4, 5, 5)), + torch.empty(2, 5, 5, device=device).uniform_().mul(4).floor().long()), + desc=f"nd_{desc}", + reference_fn=nd_reference_fn) + ) + + module_inputs.append( + ModuleInput(constructor_input=FunctionInput(**constructor_kwargs), + forward_input=FunctionInput( + make_input((2, 4, 5, 5, 2, 2)), + torch.empty(2, 5, 5, 2, 2, device=device).uniform_().mul(4).floor().long()), + desc=f"higher_dim_{desc}", + reference_fn=nd_reference_fn) + ) + + module_inputs.append( + ModuleInput(constructor_input=FunctionInput(**constructor_kwargs), + forward_input=FunctionInput( + make_input((2, 4, 5)), + torch.empty(2, 5, device=device).uniform_().mul(4).floor().long()), + desc=f"3d_{desc}", + reference_fn=nd_reference_fn) + ) + + return module_inputs + + +def module_inputs_torch_nn_GaussianNLLLoss(module_info, device, dtype, requires_grad, training, **kwargs): + make_input = partial(make_tensor, device=device, dtype=dtype, requires_grad=requires_grad) + make_target = partial(make_tensor, device=device, dtype=dtype, requires_grad=False) + + cases: List[Tuple[str, dict]] = [ + ('', {}), + ('reduction_sum', {'reduction': 'sum'}), + ('reduction_mean', {'reduction': 'mean'}), + ('reduction_none', {'reduction': 'none'}), + ] + + module_inputs = [] + for desc, constructor_kwargs in cases: + module_inputs.append( + ModuleInput(constructor_input=FunctionInput(**constructor_kwargs), + forward_input=FunctionInput(make_input(3), + make_target(3), + make_input(1).abs()), + desc=desc, + reference_fn=no_batch_dim_reference_fn) + ) + + return module_inputs + + +def module_inputs_torch_nn_PoissonNLLLoss(module_info, device, dtype, requires_grad, training, **kwargs): + make_input = partial(make_tensor, device=device, dtype=dtype, requires_grad=requires_grad) + make_target = partial(make_tensor, device=device, dtype=dtype, requires_grad=False) + + cases: List[Tuple[str, dict]] = [ + ('', {}), + ('reduction_sum', {'reduction': 'sum'}), + ('reduction_mean', {'reduction': 'mean'}), + ('reduction_none', {'reduction': 'none'}), + ('full', {'full': True}), + ('no_log_input', {'log_input': False}), + ('full_no_log_input', {'full': True, 'log_input': False}), + ] + + def poissonnllloss_reference_fn(i, t, log_input=True, full=False, reduction='mean', eps=1e-8): + if log_input: + result = i.exp() - t.mul(i) + else: + result = i - t.mul((i + eps).log()) + + if full: + result += (t.mul(t.log()) - t + 0.5 * (2. * math.pi * t).log()).masked_fill(t <= 1, 0) + + if reduction == 'none': + return result + elif reduction == 'mean': + return result.sum() / i.numel() + else: + return result.sum() + + module_inputs = [] + for desc, constructor_kwargs in cases: + def reference_fn(m, p, i, t, constructor_kwargs=constructor_kwargs): + return poissonnllloss_reference_fn(i, t, **constructor_kwargs) + + log_input = constructor_kwargs.get('log_input', True) + input = make_input((2, 3, 4, 5)) if log_input else make_input((2, 3, 4, 5)).abs().add(0.001) + module_inputs.append( + ModuleInput(constructor_input=FunctionInput(**constructor_kwargs), + forward_input=FunctionInput(input, + make_target((2, 3, 4, 5)).floor_().abs_()), + desc=desc, + reference_fn=reference_fn) + ) + + return module_inputs + + +def module_inputs_torch_nn_MSELoss(module_info, device, dtype, requires_grad, training, **kwargs): + make_input = partial(make_tensor, device=device, dtype=dtype, requires_grad=requires_grad) + make_target = partial(make_tensor, device=device, dtype=dtype, requires_grad=False) + + cases: List[Tuple[str, dict]] = [ + ('', {}), + ('reduction_sum', {'reduction': 'sum'}), + ('reduction_mean', {'reduction': 'mean'}), + ('reduction_none', {'reduction': 'none'}), + ] + + def mse_loss_reference_fn(m, p, i, t, reduction='mean'): + if reduction == 'none': + return (i - t).pow(2) + elif reduction == 'mean': + return (i - t).pow(2).sum() / i.numel() + else: + return (i - t).pow(2).sum() + + module_inputs = [] + for desc, constructor_kwargs in cases: + module_inputs.append( + ModuleInput(constructor_input=FunctionInput(**constructor_kwargs), + forward_input=FunctionInput(make_input((2, 3, 4, 5)), + make_target((2, 3, 4, 5))), + desc=desc, + reference_fn=partial(mse_loss_reference_fn, **constructor_kwargs)) + ) + module_inputs.append( + ModuleInput(constructor_input=FunctionInput(**constructor_kwargs), + forward_input=FunctionInput(make_input(()), + make_target(())), + desc=f'{desc}_scalar', + reference_fn=partial(mse_loss_reference_fn, **constructor_kwargs)) + ) + + return module_inputs + + +def no_batch_dim_reference_fn(m, p, *args, **kwargs): + """Reference function for modules supporting no batch dimensions. + + Unbatched inputs are unsqueezed to form a + single batch input before passing them to the module. + The output is squeezed to compare with the + output of unbatched input to the module. + + Currently it only supports modules which return a single Tensor as output. + You can bind the following kwargs. + Kwargs: + batch_first[bool] : If True, all the Tensors in `args` while be unsqueezed at dim `0` . + and output will be squeezed at dim `0` else dim `1` for both. + kwargs_to_batchify[dict] : Dictionary specifying the name of the argument and dimension to unsqueeze. + Useful if there are few arguments whose batch dimension are different + from the ones selected by `batch_first`. + is_criterion[bool] : Specify if the module is a criterion and handle the reduction for output accordingly. + """ + def get_and_pop(key, default): + v = kwargs.get(key, default) + if key in kwargs: + kwargs.pop(key) + return v + + batch_dim = 0 if get_and_pop('batch_first', True) else 1 + kwargs_to_batchify = get_and_pop('kwargs_to_batchify', None) + is_criterion = get_and_pop('is_criterion', False) + + if kwargs_to_batchify is not None: + assert isinstance(kwargs_to_batchify, dict) + for k, v in kwargs.items(): + if k in kwargs_to_batchify and v is not None: + bdim = kwargs_to_batchify[k] + kwargs[k] = v.unsqueeze(bdim) + + single_batch_input_args = [input.unsqueeze(batch_dim) for input in args] + with freeze_rng_state(): + output = m(*single_batch_input_args, **kwargs).squeeze(batch_dim) + + if is_criterion: + reduction = get_reduction(m) + if reduction == 'none': + return output.squeeze(0) + return output + + +def no_batch_dim_reference_mha(m, p, *args, **kwargs): + """Reference function for MultiheadAttention supporting no batch dimensions. + + Unbatched inputs are unsqueezed to form a + single batch input before passing them to the module. + The output is squeezed to compare with the + output of unbatched input to the module. + """ + batch_dim = 0 if kwargs.get('batch_first', True) else 1 + if 'batch_first' in kwargs: + kwargs.pop('batch_first') + if 'key_padding_mask' in kwargs and kwargs['key_padding_mask'] is not None: + kwargs['key_padding_mask'] = kwargs['key_padding_mask'].unsqueeze(0) + single_batch_input_args = [input.unsqueeze(batch_dim) for input in args] + with freeze_rng_state(): + output = m(*single_batch_input_args, **kwargs) + return (output[0].squeeze(batch_dim), output[1].squeeze(0)) + + +def no_batch_dim_reference_rnn_gru(m, p, *args, **kwargs): + """Reference function for RNN and GRU supporting no batch dimensions. + + Unbatched inputs are unsqueezed to form a + single batch input before passing them to the module. + The output is squeezed to compare with the + output of unbatched input to the module. + """ + if len(args) == 1: + inp, = args + h = None + elif len(args) == 2: + inp, h = args + h = h.unsqueeze(1) + + batch_dim = 0 if kwargs['batch_first'] else 1 + kwargs.pop('batch_first') + inp = inp.unsqueeze(batch_dim) + single_batch_input_args = (inp, h) + with freeze_rng_state(): + output = m(*single_batch_input_args, **kwargs) + return (output[0].squeeze(batch_dim), output[1].squeeze(1)) + + +def no_batch_dim_reference_lstm(m, p, *args, **kwargs): + """Reference function for LSTM supporting no batch dimensions. + + Unbatched inputs are unsqueezed to form a + single batch input before passing them to the module. + The output is squeezed to compare with the + output of unbatched input to the module. + """ + if len(args) == 1: + inp, = args + h = None + elif len(args) == 2: + inp, h = args + h = (h[0].unsqueeze(1), h[1].unsqueeze(1)) + + batch_dim = 0 if kwargs['batch_first'] else 1 + kwargs.pop('batch_first') + inp = inp.unsqueeze(batch_dim) + single_batch_input_args = (inp, h) + with freeze_rng_state(): + output = m(*single_batch_input_args, **kwargs) + return (output[0].squeeze(batch_dim), (output[1][0].squeeze(1), output[1][1].squeeze(1))) + + +def no_batch_dim_reference_lstmcell(m, p, *args, **kwargs): + """Reference function for LSTMCell supporting no batch dimensions. + + The module is passed the input and target in batched form with a single item. + The output is squeezed to compare with the no-batch input. + """ + inp, (h, c) = args + single_batch_input_args = (inp.unsqueeze(0), (h.unsqueeze(0), c.unsqueeze(0))) + with freeze_rng_state(): + output = m(*single_batch_input_args, **kwargs) + return (output[0].squeeze(0), output[1].squeeze(0)) + + +def generate_regression_criterion_inputs(make_input): + return [ + ModuleInput( + constructor_input=FunctionInput(reduction=reduction), + forward_input=FunctionInput(make_input((4, )), make_input(4,)), + reference_fn=partial(no_batch_dim_reference_fn, is_criterion=True), + desc=f'no_batch_dim_{reduction}' + ) for reduction in ['none', 'mean', 'sum']] + + +def module_inputs_torch_nn_AvgPool1d(module_info, device, dtype, requires_grad, training, **kwargs): + make_input = partial(make_tensor, device=device, dtype=dtype, requires_grad=requires_grad) + + return [ + ModuleInput(constructor_input=FunctionInput(kernel_size=2), + forward_input=FunctionInput(make_input((3, 6))), + desc='no_batch_dim', + reference_fn=no_batch_dim_reference_fn), + ModuleInput(constructor_input=FunctionInput(2), + forward_input=FunctionInput(make_input((2, 3, 6)))), + ModuleInput(constructor_input=FunctionInput((2,), (2,)), + forward_input=FunctionInput(make_input((2, 3, 6))), + desc='stride'), + ModuleInput(constructor_input=FunctionInput(2, 2, 1), + forward_input=FunctionInput(make_input((2, 3, 6))), + desc='stride_pad')] + + +def module_inputs_torch_nn_AvgPool2d(module_info, device, dtype, requires_grad, training, **kwargs): + make_input = partial(make_tensor, device=device, dtype=dtype, requires_grad=requires_grad) + + return [ + ModuleInput(constructor_input=FunctionInput((2, 2)), + forward_input=FunctionInput(make_input((3, 6, 6))), + desc='no_batch_dim', + reference_fn=no_batch_dim_reference_fn), + ModuleInput(constructor_input=FunctionInput((2, 2)), + forward_input=FunctionInput(make_input((2, 3, 6, 6)))), + ModuleInput(constructor_input=FunctionInput((2, 2), (2, 2)), + forward_input=FunctionInput(make_input((2, 3, 6, 6))), + desc='stride'), + ModuleInput(constructor_input=FunctionInput((2, 2), (2, 2), (1, 1)), + forward_input=FunctionInput(make_input((2, 3, 6, 6))), + desc='stride_pad'), + ModuleInput(constructor_input=FunctionInput((2, 2), divisor_override=1), + forward_input=FunctionInput(make_input((2, 3, 6, 6))), + desc='divisor'), + ModuleInput(constructor_input=FunctionInput((2, 2), (2, 2), divisor_override=1), + forward_input=FunctionInput(make_input((2, 3, 6, 6))), + desc='divisor_stride'), + ModuleInput(constructor_input=FunctionInput((2, 2), (2, 2), (1, 1), divisor_override=1), + forward_input=FunctionInput(make_input((2, 3, 6, 6))), + desc='divisor_stride_pad')] + + + +def module_inputs_torch_nn_AvgPool3d(module_info, device, dtype, requires_grad, training, **kwargs): + make_input = partial(make_tensor, device=device, dtype=dtype, requires_grad=requires_grad) + + return [ + ModuleInput(constructor_input=FunctionInput((2, 2, 2)), + forward_input=FunctionInput(make_input((3, 4, 4, 4))), + desc='no_batch_dim', + reference_fn=no_batch_dim_reference_fn), + ModuleInput(constructor_input=FunctionInput((2, 2, 2)), + forward_input=FunctionInput(make_input((2, 3, 4, 4, 4)))), + ModuleInput(constructor_input=FunctionInput(2, (2, 2, 2)), + forward_input=FunctionInput(make_input((2, 3, 5, 5, 5))), + desc='stride'), + ModuleInput(constructor_input=FunctionInput(2, 2, (1, 1, 1)), + forward_input=FunctionInput(make_input((2, 3, 5, 5, 5))), + desc='stride_pad'), + ModuleInput(constructor_input=FunctionInput(4, 2, (1, 2, 1)), + forward_input=FunctionInput(make_input((2, 3, 5, 5, 5))), + desc='stride_pad_gpu_fixedkw_output'), + ModuleInput(constructor_input=FunctionInput((2, 4, 8), 1, (1, 1, 2)), + forward_input=FunctionInput(make_input((2, 3, 2, 4, 8))), + desc='stride_pad_gpu_general_output'), + ModuleInput(constructor_input=FunctionInput(3, 1, 0), + forward_input=FunctionInput(make_input((2, 3, 4, 4, 4))), + desc='stride1_pad0_gpu_input'), + ModuleInput(constructor_input=FunctionInput(2, 2, (1, 1, 1)), + forward_input=FunctionInput(make_input((2, 3, 4, 4, 4))), + desc='stride_pad_gpu_input_nooverlap'), + ModuleInput(constructor_input=FunctionInput((2, 2, 2), divisor_override=1), + forward_input=FunctionInput(make_input((2, 3, 4, 4, 4))), + desc='divisor'), + ModuleInput(constructor_input=FunctionInput(2, (2, 2, 2), divisor_override=1), + forward_input=FunctionInput(make_input((2, 3, 5, 5, 5))), + desc='divisor_stride'), + ModuleInput(constructor_input=FunctionInput(2, 2, (1, 1, 1), divisor_override=1), + forward_input=FunctionInput(make_input((2, 3, 5, 5, 5))), + desc='divisor_stride_pad'), + ModuleInput(constructor_input=FunctionInput(4, 2, (1, 2, 1), divisor_override=1), + forward_input=FunctionInput(make_input((2, 3, 5, 5, 5))), + desc='divisor_stride_pad_gpu_fixedkw_output'), + ModuleInput(constructor_input=FunctionInput((2, 4, 8), 1, (1, 1, 2), divisor_override=1), + forward_input=FunctionInput(make_input((2, 3, 2, 4, 8))), + desc='divisor_stride_pad_gpu_general_output'), + ModuleInput(constructor_input=FunctionInput(3, 1, 0, divisor_override=1), + forward_input=FunctionInput(make_input((2, 3, 4, 4, 4))), + desc='divisor_stride1_pad0_gpu_input'), + ModuleInput(constructor_input=FunctionInput(2, 2, (1, 1, 1), divisor_override=1), + forward_input=FunctionInput(make_input((2, 3, 4, 4, 4))), + desc='divisor_stride_pad_gpu_input_nooverlap')] + + + +def module_inputs_torch_nn_AdaptiveAvgPool1d(module_info, device, dtype, requires_grad, training, **kwargs): + make_input = partial(make_tensor, device=device, dtype=dtype, requires_grad=requires_grad) + + return [ + ModuleInput(constructor_input=FunctionInput(3,), + forward_input=FunctionInput(make_input((1, 3, 5))), + desc='single'), + ModuleInput(constructor_input=FunctionInput(3,), + forward_input=FunctionInput(make_input((3, 5))), + reference_fn=no_batch_dim_reference_fn, + desc='no_batch_dim'), + ModuleInput(constructor_input=FunctionInput(1,), + forward_input=FunctionInput(make_input((1, 3, 5))), + desc='one_output')] + + +def module_inputs_torch_nn_AdaptiveAvgPool2d(module_info, device, dtype, requires_grad, training, **kwargs): + make_input = partial(make_tensor, device=device, dtype=dtype, requires_grad=requires_grad) + + return [ + ModuleInput(constructor_input=FunctionInput(3,), + forward_input=FunctionInput(make_input((1, 3, 5, 6))), + desc='single'), + ModuleInput(constructor_input=FunctionInput(3,), + forward_input=FunctionInput(make_input((3, 5, 6))), + reference_fn=no_batch_dim_reference_fn, + desc='no_batch_dim'), + ModuleInput(constructor_input=FunctionInput(1,), + forward_input=FunctionInput(make_input((1, 3, 5, 6))), + desc='single_1x1output'), + ModuleInput(constructor_input=FunctionInput((3, 4)), + forward_input=FunctionInput(make_input((1, 3, 5, 6))), + desc='tuple'), + ModuleInput(constructor_input=FunctionInput((3, None)), + forward_input=FunctionInput(make_input((1, 3, 5, 6))), + desc='tuple_none')] + +def module_inputs_torch_nn_AdaptiveAvgPool3d(module_info, device, dtype, requires_grad, training, **kwargs): + make_input = partial(make_tensor, device=device, dtype=dtype, requires_grad=requires_grad) + + return [ + ModuleInput(constructor_input=FunctionInput(3,), + forward_input=FunctionInput(make_input((2, 3, 5, 2, 7))), + desc='single'), + ModuleInput(constructor_input=FunctionInput(3,), + forward_input=FunctionInput(make_input((3, 5, 2, 7))), + reference_fn=no_batch_dim_reference_fn, + desc='no_batch_dim'), + ModuleInput(constructor_input=FunctionInput((3, 4, 5)), + forward_input=FunctionInput(make_input((2, 3, 5, 3, 7))), + desc='tuple'), + ModuleInput(constructor_input=FunctionInput((None, 4, 5)), + forward_input=FunctionInput(make_input((2, 3, 5, 3, 7))), + desc='tuple_none'), + ModuleInput(constructor_input=FunctionInput((3, 2, 2)), + forward_input=FunctionInput(make_input((1, 1, 3, 2, 6))), + desc='last_dim')] + + +def module_inputs_torch_nn_AdaptiveMaxPool1d(module_info, device, dtype, requires_grad, training, **kwargs): + make_input = partial(make_tensor, device=device, dtype=dtype, requires_grad=requires_grad) + + return [ + ModuleInput(constructor_input=FunctionInput(3,), + forward_input=FunctionInput(make_input((1, 3, 5))), + desc='single'), + ModuleInput(constructor_input=FunctionInput(3,), + forward_input=FunctionInput(make_input((3, 5))), + reference_fn=no_batch_dim_reference_fn, + desc='no_batch_dim')] + + +def module_inputs_torch_nn_AdaptiveMaxPool2d(module_info, device, dtype, requires_grad, training, **kwargs): + make_input = partial(make_tensor, device=device, dtype=dtype, requires_grad=requires_grad) + + return [ + ModuleInput(constructor_input=FunctionInput(3,), + forward_input=FunctionInput(make_input((1, 3, 5, 6))), + desc='single'), + ModuleInput(constructor_input=FunctionInput(3,), + forward_input=FunctionInput(make_input((3, 5, 6))), + reference_fn=no_batch_dim_reference_fn, + desc='no_batch_dim'), + ModuleInput(constructor_input=FunctionInput((3, 4)), + forward_input=FunctionInput(make_input((1, 3, 5, 6))), + desc='tuple'), + ModuleInput(constructor_input=FunctionInput((3, None)), + forward_input=FunctionInput(make_input((1, 3, 5, 6))), + desc='tuple_none')] + + +def module_inputs_torch_nn_AdaptiveMaxPool3d(module_info, device, dtype, requires_grad, training, **kwargs): + make_input = partial(make_tensor, device=device, dtype=dtype, requires_grad=requires_grad) + + return [ + ModuleInput(constructor_input=FunctionInput(3,), + forward_input=FunctionInput(make_input((2, 3, 5, 6, 7))), + desc='single'), + ModuleInput(constructor_input=FunctionInput(3,), + forward_input=FunctionInput(make_input((3, 5, 6, 7))), + reference_fn=no_batch_dim_reference_fn, + desc='no_batch_dim'), + ModuleInput(constructor_input=FunctionInput((3, 4, 5)), + forward_input=FunctionInput(make_input((2, 3, 5, 6, 7))), + desc='tuple'), + ModuleInput(constructor_input=FunctionInput((3, None, 5)), + forward_input=FunctionInput(make_input((2, 3, 5, 6, 7))), + desc='tuple_none'), + ModuleInput(constructor_input=FunctionInput(3), + forward_input=FunctionInput(make_input((2, 3, 12, 9, 3))), + desc='single_nonatomic'), + ModuleInput(constructor_input=FunctionInput((3, 4, 5)), + forward_input=FunctionInput(make_input((2, 3, 6, 4, 10))), + desc='tuple_nonatomic')] + + +def module_inputs_torch_nn_BatchNorm1d(module_info, device, dtype, requires_grad, training, **kwargs): + make_input = partial(make_tensor, device=device, dtype=dtype, requires_grad=requires_grad) + + return [ + ModuleInput(constructor_input=FunctionInput(10,), + forward_input=FunctionInput(make_input((4, 10))), + desc='affine'), + ModuleInput(constructor_input=FunctionInput(5,), + forward_input=FunctionInput(make_input((4, 5, 3))), + desc='3d_input'), + ModuleInput(constructor_input=FunctionInput(10, 1e-3, None), + forward_input=FunctionInput(make_input((4, 10))), + desc='affine_simple_average'), + ModuleInput(constructor_input=FunctionInput(10, 1e-3, 0.3, False), + forward_input=FunctionInput(make_input((4, 10))), + desc='not_affine'), + ModuleInput(constructor_input=FunctionInput(10, 1e-3, 0.3, True, False), + forward_input=FunctionInput(make_input((4, 10))), + desc='not_tracking_stats'), + ModuleInput(constructor_input=FunctionInput(5, 1e-3, 0.3, False), + forward_input=FunctionInput(make_input((4, 5, 3))), + desc='3d_input_not_affine'), + ModuleInput(constructor_input=FunctionInput(5, 1e-3, 0.3, False), + forward_input=FunctionInput(make_input((0, 5, 9))), + desc='zero_batch')] + + +def module_inputs_torch_nn_BatchNorm2d(module_info, device, dtype, requires_grad, training, **kwargs): + make_input = partial(make_tensor, device=device, dtype=dtype, requires_grad=requires_grad) + + return [ + ModuleInput(constructor_input=FunctionInput(3,), + forward_input=FunctionInput(make_input((2, 3, 6, 6)))), + ModuleInput(constructor_input=FunctionInput(3, 1e-3, None), + forward_input=FunctionInput(make_input((2, 3, 6, 6))), + desc='2d_simple_average'), + ModuleInput(constructor_input=FunctionInput(3, 1e-3, 0.8), + forward_input=FunctionInput(make_input((2, 3, 6, 6))), + desc='momentum'), + ModuleInput(constructor_input=FunctionInput(3, 1e-3, 0.8, False), + forward_input=FunctionInput(make_input((2, 3, 6, 6))), + desc='not_affine'), + ModuleInput(constructor_input=FunctionInput(3, 1e-3, 0.8, True, False), + forward_input=FunctionInput(make_input((2, 3, 6, 6))), + desc='not_tracking_stats'), + ModuleInput(constructor_input=FunctionInput(5, 1e-3, 0.3, False), + forward_input=FunctionInput(make_input((0, 5, 2, 2))), + desc='zero_batch')] + + +def module_inputs_torch_nn_BatchNorm3d(module_info, device, dtype, requires_grad, training, **kwargs): + make_input = partial(make_tensor, device=device, dtype=dtype, requires_grad=requires_grad) + + return [ + ModuleInput(constructor_input=FunctionInput(3,), + forward_input=FunctionInput(make_input((2, 3, 4, 4, 4)))), + ModuleInput(constructor_input=FunctionInput(3, 1e-3, None), + forward_input=FunctionInput(make_input((2, 3, 4, 4, 4))), + desc='3d_simple_average'), + ModuleInput(constructor_input=FunctionInput(3, 1e-3, 0.7), + forward_input=FunctionInput(make_input((2, 3, 4, 4, 4))), + desc='momentum'), + ModuleInput(constructor_input=FunctionInput(3, 1e-3, 0.7, False), + forward_input=FunctionInput(make_input((2, 3, 4, 4, 4))), + desc='not_affine'), + ModuleInput(constructor_input=FunctionInput(3, 1e-3, 0.7, True, False), + forward_input=FunctionInput(make_input((2, 3, 4, 4, 4))), + desc='not_tracking_stats'), + ModuleInput(constructor_input=FunctionInput(5, 1e-3, 0.3, False), + forward_input=FunctionInput(make_input((0, 5, 2, 2, 2))), + desc='zero_batch')] + + +def module_inputs_torch_nn_ConvNd(module_info, device, dtype, requires_grad, training, **kwargs): + N = kwargs['N'] + lazy = kwargs.get('lazy', False) + transposed = kwargs.get('transposed', False) + make_input = partial(make_tensor, device=device, dtype=dtype, requires_grad=requires_grad) + conv_kwargs_list = [{}] if transposed else [{}, {'padding': 'same'}] + kernel_size, C_in, C_out = 3, 4, 5 + input_no_batch_shape = (C_in,) + tuple(i + 3 for i in range(N)) + input_batch_shape = (2,) + input_no_batch_shape + return [ + ModuleInput(constructor_input=(FunctionInput(C_out, kernel_size, **conv_kwargs) if lazy else + FunctionInput(C_in, C_out, kernel_size, **conv_kwargs)), + forward_input=FunctionInput(make_input( + input_batch_shape if with_batch else input_no_batch_shape)), + desc=('' if with_batch else 'no_batch_dim'), + reference_fn=(None if with_batch else no_batch_dim_reference_fn)) + for with_batch, conv_kwargs in itertools.product([True, False], conv_kwargs_list) + ] + + +def module_inputs_torch_nn_CosineEmbeddingLoss(module_info, device, dtype, requires_grad, training, **kwargs): + make_input = partial(make_tensor, device=device, dtype=dtype, requires_grad=requires_grad) + make_target = partial(make_tensor, device=device, dtype=dtype, requires_grad=False) + + cases: List[Tuple[str, dict]] = [ + ('', {}), + ('reduction_sum', {'reduction': 'sum'}), + ('reduction_mean', {'reduction': 'mean'}), + ('reduction_none', {'reduction': 'none'}), + ('margin', {'margin': 0.7}) + ] + + module_inputs = [] + for desc, constructor_kwargs in cases: + def reference_fn(m, p, i1, i2, t, constructor_kwargs=constructor_kwargs): + return cosineembeddingloss_reference(i1, i2, t, **constructor_kwargs) + + module_inputs.append( + ModuleInput(constructor_input=FunctionInput(**constructor_kwargs), + forward_input=FunctionInput(make_input((15, 10)), make_input((15, 10)), + make_target((15,)).sign()), + desc=desc, + reference_fn=reference_fn) + ) + + return module_inputs + + +def module_inputs_torch_nn_ELU(module_info, device, dtype, requires_grad, training, **kwargs): + make_input = partial(make_tensor, device=device, dtype=dtype, requires_grad=requires_grad) + + return [ + ModuleInput(constructor_input=FunctionInput(alpha=2.), + forward_input=FunctionInput(make_input((3, 2, 5))), + reference_fn=lambda m, p, i: torch.where(i >= 0, i, 2 * (i.exp() - 1))), + ModuleInput(constructor_input=FunctionInput(alpha=2.), + forward_input=FunctionInput(make_input(())), + desc='scalar'), + ModuleInput(constructor_input=FunctionInput(), + forward_input=FunctionInput(make_input((3,))), + desc='no_batch_dim', + reference_fn=no_batch_dim_reference_fn), + ModuleInput(constructor_input=FunctionInput(alpha=2.), + forward_input=FunctionInput(make_input((2, 3, 2, 5))), + desc='4d_input')] + + +def module_inputs_torch_nn_CELU(module_info, device, dtype, requires_grad, training, **kwargs): + make_input = partial(make_tensor, device=device, dtype=dtype, requires_grad=requires_grad) + + return [ + ModuleInput(constructor_input=FunctionInput(alpha=2.), + forward_input=FunctionInput(make_input((3, 2, 5))), + reference_fn=lambda m, p, i: torch.where(i >= 0, i, 2. * ((.5 * i).exp() - 1))), + ModuleInput(constructor_input=FunctionInput(alpha=2.), + forward_input=FunctionInput(make_input(())), + reference_fn=lambda m, p, i: torch.where(i >= 0, i, 2. * ((.5 * i).exp() - 1)), + desc='scalar'), + ModuleInput(constructor_input=FunctionInput(alpha=2.), + forward_input=FunctionInput(make_input((3,))), + desc='no_batch_dim', + reference_fn=no_batch_dim_reference_fn)] + + +def module_inputs_torch_nn_GLU(module_info, device, dtype, requires_grad, training, **kwargs): + make_input = partial(make_tensor, device=device, dtype=dtype, requires_grad=requires_grad) + + return [ + ModuleInput(constructor_input=FunctionInput(), + forward_input=FunctionInput(make_input((5, 6)))), + ModuleInput(constructor_input=FunctionInput(1), + forward_input=FunctionInput(make_input((5, 6, 7))), + desc='dim'), + ModuleInput(constructor_input=FunctionInput(), + forward_input=FunctionInput(make_input((4,))), + desc='no_batch_dim', + reference_fn=no_batch_dim_reference_fn)] + + +def module_inputs_torch_nn_GELU(module_info, device, dtype, requires_grad, training, **kwargs): + make_input = partial(make_tensor, device=device, dtype=dtype, requires_grad=requires_grad) + + return [ + ModuleInput(constructor_input=FunctionInput('none'), + forward_input=FunctionInput(make_input(())), + reference_fn=lambda m, p, x, *_: x * 0.5 * (1.0 + torch.erf(x / math.sqrt(2.0))), + desc='scalar'), + ModuleInput(constructor_input=FunctionInput('none'), + forward_input=FunctionInput(make_input((3, 2, 5))), + reference_fn=lambda m, p, x, *_: x * 0.5 * (1.0 + torch.erf(x / math.sqrt(2.0)))), + ModuleInput(constructor_input=FunctionInput(), + forward_input=FunctionInput(make_input((3,))), + desc='no_batch_dim', + reference_fn=no_batch_dim_reference_fn)] + + +def module_inputs_torch_nn_ReLU(module_info, device, dtype, requires_grad, training, **kwargs): + make_input = partial(make_tensor, device=device, dtype=dtype, requires_grad=requires_grad) + + return [ + ModuleInput(constructor_input=FunctionInput(), + forward_input=FunctionInput(make_input(())), + desc='scalar'), + ModuleInput(constructor_input=FunctionInput(), + forward_input=FunctionInput(make_input(4)), + reference_fn=no_batch_dim_reference_fn, + desc='no_batch_dim'), + ModuleInput(constructor_input=FunctionInput(), + forward_input=FunctionInput(make_input((2, 3, 4, 5))), + desc='channels_last_mem_format'), + ModuleInput(constructor_input=FunctionInput(), + forward_input=FunctionInput(make_input((2, 3, 3, 4, 5))), + desc='channels_last_3d_mem_format')] + + +def module_inputs_torch_nn_ReLU6(module_info, device, dtype, requires_grad, training, **kwargs): + make_input = partial(make_tensor, device=device, dtype=dtype, requires_grad=requires_grad) + + return [ + ModuleInput(constructor_input=FunctionInput(), + forward_input=FunctionInput(make_input(())), + desc='scalar'), + ModuleInput(constructor_input=FunctionInput(), + forward_input=FunctionInput(make_input(4)), + reference_fn=no_batch_dim_reference_fn, + desc='no_batch_dim'), + ModuleInput(constructor_input=FunctionInput(), + forward_input=FunctionInput(make_input((2, 3, 4, 5))), + desc='channels_last_mem_format'), + ModuleInput(constructor_input=FunctionInput(), + forward_input=FunctionInput(make_input((2, 3, 3, 4, 5))), + desc='channels_last_3d_mem_format')] + + +def module_inputs_torch_nn_LeakyReLU(module_info, device, dtype, requires_grad, training, **kwargs): + make_input = partial(make_tensor, device=device, dtype=dtype, requires_grad=requires_grad) + + return [ + ModuleInput(constructor_input=FunctionInput(), + forward_input=FunctionInput(make_input((3, 2, 5)))), + ModuleInput(constructor_input=FunctionInput(), + forward_input=FunctionInput(make_input(4)), + reference_fn=no_batch_dim_reference_fn, + desc='no_batch_dim'), + ModuleInput(constructor_input=FunctionInput(0.5), + forward_input=FunctionInput(make_input((3, 2, 5))), + desc='with_negval'), + ModuleInput(constructor_input=FunctionInput(0.0), + forward_input=FunctionInput(make_input((10, 10))), + desc='with_zero_negval'), + ModuleInput(constructor_input=FunctionInput(0.5), + forward_input=FunctionInput(make_input(())), + desc='with_negval_scalar')] + + +def module_inputs_torch_nn_PReLU(module_info, device, dtype, requires_grad, training, **kwargs): + make_input = partial(make_tensor, device=device, dtype=dtype, requires_grad=requires_grad) + + return [ + ModuleInput(constructor_input=FunctionInput(), + forward_input=FunctionInput(make_input(())), + desc='scalar'), + ModuleInput(constructor_input=FunctionInput(), + forward_input=FunctionInput(make_input(4)), + reference_fn=no_batch_dim_reference_fn, + desc='no_batch_dim'), + ModuleInput(constructor_input=FunctionInput(), + forward_input=FunctionInput(make_input((2, 3, 4))), + reference_fn=lambda m, p, i: torch.clamp(i, min=0) + torch.clamp(i, max=0) * p[0][0], + desc='1d'), + ModuleInput(constructor_input=FunctionInput(3), + forward_input=FunctionInput(make_input((2, 3, 4))), + reference_fn=lambda m, p, i: torch.clamp(i, min=0) + torch.clamp(i, max=0) * p[0][0], + desc='1d_multiparam'), + ModuleInput(constructor_input=FunctionInput(), + forward_input=FunctionInput(make_input((2, 3, 4, 5))), + reference_fn=lambda m, p, i: torch.clamp(i, min=0) + torch.clamp(i, max=0) * p[0][0], + desc='2d'), + ModuleInput(constructor_input=FunctionInput(3), + forward_input=FunctionInput(make_input((2, 3, 4, 5))), + reference_fn=lambda m, p, i: torch.clamp(i, min=0) + torch.clamp(i, max=0) * p[0][0], + desc='2d_multiparam'), + ModuleInput(constructor_input=FunctionInput(), + forward_input=FunctionInput(make_input((2, 3, 4, 5, 6))), + reference_fn=lambda m, p, i: torch.clamp(i, min=0) + torch.clamp(i, max=0) * p[0][0], + desc='3d'), + ModuleInput(constructor_input=FunctionInput(3), + forward_input=FunctionInput(make_input((2, 3, 4, 5, 6))), + reference_fn=lambda m, p, i: torch.clamp(i, min=0) + torch.clamp(i, max=0) * p[0][0], + desc='3d_multiparam')] + + +def module_inputs_torch_nn_SELU(module_info, device, dtype, requires_grad, training, **kwargs): + make_input = partial(make_tensor, device=device, dtype=dtype, requires_grad=requires_grad) + + return [ + ModuleInput(constructor_input=FunctionInput(), + forward_input=FunctionInput(make_input((3, 2, 5)))), + ModuleInput(constructor_input=FunctionInput(), + forward_input=FunctionInput(make_input(4)), + reference_fn=no_batch_dim_reference_fn, + desc='no_batch_dim'), + ModuleInput(constructor_input=FunctionInput(), + forward_input=FunctionInput(make_input(())), + desc='scalar')] + + +def module_inputs_torch_nn_SiLU(module_info, device, dtype, requires_grad, training, **kwargs): + make_input = partial(make_tensor, device=device, dtype=dtype, requires_grad=requires_grad) + + return [ + ModuleInput(constructor_input=FunctionInput(), + forward_input=FunctionInput(make_input(())), + reference_fn=lambda m, p, x, *_: x * torch.sigmoid(x), + desc='scalar'), + ModuleInput(constructor_input=FunctionInput(), + forward_input=FunctionInput(make_input(4)), + reference_fn=no_batch_dim_reference_fn, + desc='no_batch_dim'), + ModuleInput(constructor_input=FunctionInput(), + forward_input=FunctionInput(make_input((5, 6, 7))), + reference_fn=lambda m, p, x, *_: x * torch.sigmoid(x))] + + +def module_inputs_torch_nn_Softmax(module_info, device, dtype, requires_grad, training, **kwargs): + make_input = partial(make_tensor, device=device, dtype=dtype, requires_grad=requires_grad) + + return [ + ModuleInput(constructor_input=FunctionInput(1), + forward_input=FunctionInput(make_input((10, 20))), + reference_fn=lambda m, p, i: torch.exp(i).div(torch.exp(i).sum(1, True).expand(10, 20))), + ModuleInput(constructor_input=FunctionInput(0), + forward_input=FunctionInput(make_input(())), + reference_fn=lambda m, p, i: torch.exp(i).div(torch.exp(i).sum(0, True)), + desc='scalar'), + ModuleInput(constructor_input=FunctionInput(-1), + forward_input=FunctionInput(make_input((4, 5))), + reference_fn=no_batch_dim_reference_fn, + desc='no_batch_dim')] + + +def module_inputs_torch_nn_Softmax2d(module_info, device, dtype, requires_grad, training, **kwargs): + make_input = partial(make_tensor, device=device, dtype=dtype, requires_grad=requires_grad) + + return [ + ModuleInput(constructor_input=FunctionInput(), + forward_input=FunctionInput(make_input((1, 3, 10, 20))), + reference_fn=lambda m, p, i: torch.exp(i).div(torch.exp(i).sum(1, False))), + ModuleInput(constructor_input=FunctionInput(), + forward_input=FunctionInput(make_input((3, 4, 5))), + reference_fn=no_batch_dim_reference_fn, + desc='no_batch_dim')] + + +def module_inputs_torch_nn_LogSoftmax(module_info, device, dtype, requires_grad, training, **kwargs): + make_input = partial(make_tensor, device=device, dtype=dtype, requires_grad=requires_grad) + + return [ + ModuleInput(constructor_input=FunctionInput(1), + forward_input=FunctionInput(make_input((10, 20))), + reference_fn=lambda m, p, i: torch.exp(i).div_(torch.exp(i).sum(1, True).expand(10, 20)).log_()), + ModuleInput(constructor_input=FunctionInput(1), + forward_input=FunctionInput(make_input((1, 3, 10, 20))), + reference_fn=lambda m, p, i: torch.exp(i).div_(torch.exp(i).sum(1, False)).log_(), + desc='multiparam'), + ModuleInput(constructor_input=FunctionInput(0), + forward_input=FunctionInput(make_input(())), + reference_fn=lambda m, p, i: torch.exp(i).div_(torch.exp(i).sum(0, False)).log_(), + desc='multiparam_scalar'), + ModuleInput(constructor_input=FunctionInput(-1), + forward_input=FunctionInput(make_input((4, 5))), + reference_fn=no_batch_dim_reference_fn, + desc='no_batch_dim')] + + +def module_inputs_torch_nn_Softmin(module_info, device, dtype, requires_grad, training, **kwargs): + make_input = partial(make_tensor, device=device, dtype=dtype, requires_grad=requires_grad) + + return [ + ModuleInput(constructor_input=FunctionInput(1), + forward_input=FunctionInput(make_input((10, 20)))), + ModuleInput(constructor_input=FunctionInput(1), + forward_input=FunctionInput(make_input((2, 3, 5, 10))), + desc='multidim'), + ModuleInput(constructor_input=FunctionInput(0), + forward_input=FunctionInput(make_input(())), + desc='scalar'), + ModuleInput(constructor_input=FunctionInput(-1), + forward_input=FunctionInput(make_input((3, 4, 10))), + reference_fn=no_batch_dim_reference_fn, + desc='no_batch_dim')] + + +def module_inputs_torch_nn_Softplus(module_info, device, dtype, requires_grad, training, **kwargs): + make_input = partial(make_tensor, device=device, dtype=dtype, requires_grad=requires_grad) + + return [ + ModuleInput(constructor_input=FunctionInput(), + forward_input=FunctionInput(make_input((10, 20))), + reference_fn=lambda m, p, i: torch.log(1 + torch.exp(i))), + ModuleInput(constructor_input=FunctionInput(2), + forward_input=FunctionInput(make_input((10, 20))), + reference_fn=lambda m, p, i: 1. / 2. * torch.log(1 + torch.exp(2 * i)), + desc='beta'), + ModuleInput(constructor_input=FunctionInput(2, -100), + forward_input=FunctionInput(make_input((10, 20))), + reference_fn=( + lambda m, p, i: ((i * 2) > -100).type_as(i) * i + + ((i * 2) <= -100).type_as(i) * 1. / 2. * torch.log(1 + torch.exp(2 * i))), + desc='beta_threshold'), + ModuleInput(constructor_input=FunctionInput(2, -100), + forward_input=FunctionInput(make_input(())), + reference_fn=( + lambda m, p, i: ((i * 2) > -100).type_as(i) * i + + ((i * 2) <= -100).type_as(i) * 1. / 2. * torch.log(1 + torch.exp(2 * i))), + desc='beta_threshold_scalar'), + ModuleInput(constructor_input=FunctionInput(), + forward_input=FunctionInput(make_input(4)), + reference_fn=no_batch_dim_reference_fn, + desc='no_batch_dim')] + + +def module_inputs_torch_nn_Softshrink(module_info, device, dtype, requires_grad, training, **kwargs): + make_input = partial(make_tensor, device=device, dtype=dtype, requires_grad=requires_grad) + + return [ + ModuleInput(constructor_input=FunctionInput(), + forward_input=FunctionInput(make_input((3, 2, 5)))), + ModuleInput(constructor_input=FunctionInput(1,), + forward_input=FunctionInput(make_input((3, 2, 5))), + desc='lambda'), + ModuleInput(constructor_input=FunctionInput(1,), + forward_input=FunctionInput(make_input(())), + desc='lambda_scalar'), + ModuleInput(constructor_input=FunctionInput(), + forward_input=FunctionInput(make_input(4)), + reference_fn=no_batch_dim_reference_fn, + desc='no_batch_dim')] + + +def module_inputs_torch_nn_Softsign(module_info, device, dtype, requires_grad, training, **kwargs): + make_input = partial(make_tensor, device=device, dtype=dtype, requires_grad=requires_grad) + + return [ + ModuleInput(constructor_input=FunctionInput(), + forward_input=FunctionInput(make_input((3, 2, 5))), + reference_fn=lambda m, p, i: i.div(1 + torch.abs(i))), + ModuleInput(constructor_input=FunctionInput(), + forward_input=FunctionInput(make_input(())), + reference_fn=lambda m, p, i: i.div(1 + torch.abs(i)), + desc='scalar'), + ModuleInput(constructor_input=FunctionInput(), + forward_input=FunctionInput(make_input(4)), + reference_fn=no_batch_dim_reference_fn, + desc='no_batch_dim')] + + +def module_inputs_torch_nn_Tanh(module_info, device, dtype, requires_grad, training, **kwargs): + make_input = partial(make_tensor, device=device, dtype=dtype, requires_grad=requires_grad) + + return [ + ModuleInput(constructor_input=FunctionInput(), + forward_input=FunctionInput(make_input((2, 3, 4, 5)))), + ModuleInput(constructor_input=FunctionInput(), + forward_input=FunctionInput(make_input(())), + desc='scalar'), + ModuleInput(constructor_input=FunctionInput(), + forward_input=FunctionInput(make_input(4)), + reference_fn=no_batch_dim_reference_fn, + desc='no_batch_dim')] + + + +def module_inputs_torch_nn_Tanhshrink(module_info, device, dtype, requires_grad, training, **kwargs): + make_input = partial(make_tensor, device=device, dtype=dtype, requires_grad=requires_grad) + + return [ + ModuleInput(constructor_input=FunctionInput(), + forward_input=FunctionInput(make_input((2, 3, 4, 5)))), + ModuleInput(constructor_input=FunctionInput(), + forward_input=FunctionInput(make_input(())), + desc='scalar'), + ModuleInput(constructor_input=FunctionInput(), + forward_input=FunctionInput(make_input(4)), + reference_fn=no_batch_dim_reference_fn, + desc='no_batch_dim')] + + +def module_inputs_torch_nn_Threshold(module_info, device, dtype, requires_grad, training, **kwargs): + make_input = partial(make_tensor, device=device, dtype=dtype, requires_grad=requires_grad) + + return [ + ModuleInput(constructor_input=FunctionInput(2., 1.), + forward_input=FunctionInput(make_input((2, 3, 4, 5))), + desc='threshold_value'), + ModuleInput(constructor_input=FunctionInput(2., 10.), + forward_input=FunctionInput(make_input((2, 3, 4, 5))), + desc='large_value'), + ModuleInput(constructor_input=FunctionInput(2., 1.), + forward_input=FunctionInput(make_input(())), + desc='threshold_value_scalar'), + ModuleInput(constructor_input=FunctionInput(2., 1.), + forward_input=FunctionInput(make_input(4)), + reference_fn=no_batch_dim_reference_fn, + desc='no_batch_dim')] + + +def module_inputs_torch_nn_Mish(module_info, device, dtype, requires_grad, training, **kwargs): + make_input = partial(make_tensor, device=device, dtype=dtype, requires_grad=requires_grad) + + return [ + ModuleInput(constructor_input=FunctionInput(), + forward_input=FunctionInput(make_input((5, 6, 7))), + reference_fn=lambda m, p, i: i * torch.tanh(F.softplus(i))), + ModuleInput(constructor_input=FunctionInput(), + forward_input=FunctionInput(make_input(())), + reference_fn=lambda m, p, i: i * torch.tanh(F.softplus(i)), + desc='scalar'), + ModuleInput(constructor_input=FunctionInput(), + forward_input=FunctionInput(make_input(4)), + reference_fn=no_batch_dim_reference_fn, + desc='no_batch_dim')] + + +def module_inputs_torch_nn_L1Loss(module_info, device, dtype, requires_grad, training, **kwargs): + make_input = partial(make_tensor, device=device, dtype=dtype, requires_grad=requires_grad) + + return [ + ModuleInput(constructor_input=FunctionInput(), + forward_input=FunctionInput(make_input((2, 3, 4)), + make_input((2, 3, 4))), + reference_fn=lambda m, p, i, t: 1. / i.numel() * sum((a - b).abs().sum() + for a, b in zip(i, t))), + ModuleInput(constructor_input=FunctionInput(), + forward_input=FunctionInput(make_input(()), make_input(())), + reference_fn=lambda m, p, i, t: 1. / i.numel() * (i - t).abs().sum(), + desc='scalar')] + generate_regression_criterion_inputs(make_input) + + +def module_inputs_torch_nn_SmoothL1Loss(module_info, device, dtype, requires_grad, training, **kwargs): + make_input = partial(make_tensor, device=device, dtype=dtype, requires_grad=requires_grad) + + + cases: List[Tuple[str, dict]] = [ + ('', {}), + ('reduction_sum', {'reduction': 'sum'}), + ('reduction_mean', {'reduction': 'mean'}), + ('reduction_none', {'reduction': 'none'}), + ] + + module_inputs = [] + for desc, constructor_kwargs in cases: + def reference_fn(m, p, i, t, constructor_kwargs=constructor_kwargs): + return smoothl1loss_reference(i, t, **constructor_kwargs) + + module_inputs.append( + ModuleInput(constructor_input=FunctionInput(**constructor_kwargs), + forward_input=FunctionInput(make_input((5, 10)), + make_input((5, 10))), + desc=desc, + reference_fn=reference_fn) + ) + module_inputs.append( + ModuleInput(constructor_input=FunctionInput(**constructor_kwargs), + forward_input=FunctionInput(make_input(()), + make_input(())), + desc=f'scalar_{desc}', + reference_fn=reference_fn) + ) + + return module_inputs + + + +def module_inputs_torch_nn_BCELoss(module_info, device, dtype, requires_grad, training, **kwargs): + make_input = partial(make_tensor, device=device, dtype=dtype, requires_grad=requires_grad) + make_target = partial(make_tensor, device=device, dtype=dtype, requires_grad=False) + make_weight = partial(make_tensor, device=device, dtype=dtype, requires_grad=False) + + cases: List[Tuple[str, dict]] = [ + ('', {}), + ('reduction_sum', {'reduction': 'sum'}), + ('reduction_mean', {'reduction': 'mean'}), + ('reduction_none', {'reduction': 'none'}), + ('weights', {'weight': make_weight((10,))}), + ] + + def bce_loss_reference_fn(m, p, i, t, reduction='mean', weight=None): + result = -(t * i.log() + (1 - t) * (1 - i).log()) + + if weight is not None: + result = result * weight + + if reduction == 'none': + return result + elif reduction == 'mean': + return result.sum() / i.numel() + else: + return result.sum() + + module_inputs = [] + for desc, constructor_kwargs in cases: + module_inputs.append( + ModuleInput(constructor_input=FunctionInput(**constructor_kwargs), + forward_input=FunctionInput(make_input((15, 10), low=1e-2, high=1 - 1e-2), + make_target((15, 10)).gt(0).to(dtype)), + desc=desc, + reference_fn=partial(bce_loss_reference_fn, **constructor_kwargs)) + ) + + scalar_weight = make_weight(()) + module_inputs.append( + ModuleInput(constructor_input=FunctionInput(weight=scalar_weight), + forward_input=FunctionInput(make_input((), low=1e-2, high=1 - 1e-2), + make_target(()).gt(0).to(dtype)), + desc='scalar_weight', + reference_fn=partial(bce_loss_reference_fn, weight=scalar_weight)) + ) + + return module_inputs + + +def module_inputs_torch_nn_BCEWithLogitsLoss(module_info, device, dtype, requires_grad, training, **kwargs): + make_input = partial(make_tensor, device=device, dtype=dtype, requires_grad=requires_grad) + make_target = partial(make_tensor, device=device, dtype=dtype, requires_grad=False) + make_weight = partial(make_tensor, device=device, dtype=dtype, requires_grad=False) + + cases: List[Tuple[str, dict]] = [ + ('', {}), + ('reduction_sum', {'reduction': 'sum'}), + ('reduction_mean', {'reduction': 'mean'}), + ('reduction_none', {'reduction': 'none'}), + ('weights', {'weight': make_weight((10,))}), + ('scalar_weights', {'weight': make_weight(())}) + ] + + def bce_withlogitsloss_reference_fn(m, p, i, t, reduction='mean', weight=None): + # TODO: add pos_weight to the definition here and corresponding SampleInputs + max_val = (-i).clamp(min=0) + result = (1 - t).mul_(i).add_(max_val).add_((-max_val).exp_().add_((-i - max_val).exp_()).log_()) + + if weight is not None: + result = result * weight + + if reduction == 'none': + return result + elif reduction == 'mean': + return result.sum() / i.numel() + else: + return result.sum() + + module_inputs = [] + for desc, constructor_kwargs in cases: + module_inputs.append( + ModuleInput(constructor_input=FunctionInput(**constructor_kwargs), + forward_input=FunctionInput(make_input((15, 10), low=1e-2, high=1 - 1e-2), + make_target((15, 10)).gt(0).to(dtype)), + desc=desc, + reference_fn=partial(bce_withlogitsloss_reference_fn, **constructor_kwargs)) + ) + + return module_inputs + + +def module_inputs_torch_nn_CrossEntropyLoss(module_info, device, dtype, requires_grad, training, **kwargs): + make_input = partial(make_tensor, device=device, dtype=dtype, requires_grad=requires_grad) + make_target = partial(make_tensor, device=device, dtype=torch.long, requires_grad=False) + make_weight = partial(make_tensor, device=device, dtype=dtype, requires_grad=False) + + reductions: List[str] = ['mean', 'sum', 'none'] + cases: List[Tuple[str, dict]] = [ + ('', {}), + ('weights', {'weight': make_weight((3,))}), + ('ignore_index', {'ignore_index': 1}), + ('label_smoothing', {'label_smoothing': 0.15}), + ('ignore_index_label_smoothing', {'ignore_index': 1, 'label_smoothing': 0.15}) + ] + + module_inputs = [] + for reduction, (desc, constructor_kwargs) in product(reductions, cases): + def reference_fn(m, p, i, t, reduction=reduction, constructor_kwargs=constructor_kwargs): + return cross_entropy_loss_reference(i, t, reduction=reduction, **constructor_kwargs) + + module_inputs.append( + ModuleInput(constructor_input=FunctionInput(reduction=reduction, **constructor_kwargs), + forward_input=FunctionInput(make_input((2, 3, 5, 5)), + make_target((2, 5, 5), low=0, high=3)), + desc=f"4d_{desc}_{reduction}", + reference_fn=reference_fn) + ) + module_inputs.append( + ModuleInput(constructor_input=FunctionInput(reduction=reduction, **constructor_kwargs), + forward_input=FunctionInput(make_input((2, 3, 5)), + make_target((2, 5), low=0, high=3)), + desc=f"3d_{desc}_{reduction}", + reference_fn=reference_fn) + ) + module_inputs.append( + ModuleInput(constructor_input=FunctionInput(reduction=reduction, **constructor_kwargs), + forward_input=FunctionInput(make_input((2, 3)), + make_target((2), low=0, high=3)), + desc=f"2d_{desc}_{reduction}", + reference_fn=reference_fn) + ) + module_inputs.append( + ModuleInput(constructor_input=FunctionInput(reduction=reduction, **constructor_kwargs), + forward_input=FunctionInput(make_input((2, 3, 5, 5, 2, 2)), + make_target((2, 5, 5, 2, 2), low=0, high=3)), + desc=f"higher_dim_{desc}_{reduction}", + reference_fn=reference_fn) + ) + + if constructor_kwargs.get('ignore_index', None) is None: + module_inputs.append( + ModuleInput(constructor_input=FunctionInput(reduction=reduction, **constructor_kwargs), + forward_input=FunctionInput(make_input((5, 3, 4, 2)), + make_input((5, 3, 4, 2)).softmax(dim=1)), + desc=f"4d_prob_target_{desc}_{reduction}", + reference_fn=reference_fn) + ) + module_inputs.append( + ModuleInput(constructor_input=FunctionInput(reduction=reduction, **constructor_kwargs), + forward_input=FunctionInput(make_input((5, 3, 4)), + make_input((5, 3, 4)).softmax(dim=1)), + desc=f"3d_prob_target_{desc}_{reduction}", + reference_fn=reference_fn) + ) + module_inputs.append( + ModuleInput(constructor_input=FunctionInput(reduction=reduction, **constructor_kwargs), + forward_input=FunctionInput(make_input((5, 3)), + make_input((5, 3)).softmax(dim=1)), + desc=f"2d_prob_target_{desc}_{reduction}", + reference_fn=reference_fn) + ) + module_inputs.append( + ModuleInput(constructor_input=FunctionInput(reduction=reduction, **constructor_kwargs), + forward_input=FunctionInput(make_input((2, 3, 5, 5, 2, 2)), + make_input((2, 3, 5, 5, 2, 2)).softmax(dim=1)), + desc=f"higher_dim_prob_target_{desc}_{reduction}", + reference_fn=reference_fn) + ) + module_inputs.append( + ModuleInput(constructor_input=FunctionInput(reduction=reduction, **constructor_kwargs), + forward_input=FunctionInput(make_input((3,)), + make_target((), low=0, high=3)), + desc=f"no_batch_dim_{desc}_{reduction}", + reference_fn=partial(no_batch_dim_reference_fn, is_criterion=True)) + ) + + return module_inputs + + + +def module_inputs_torch_nn_CTCLoss(module_info, device, dtype, requires_grad, training, **kwargs): + make_input = partial(make_tensor, device=device, dtype=dtype, requires_grad=requires_grad) + make_target = partial(make_tensor, device=device, requires_grad=False) + + cases: List[Tuple[str, dict]] = [ + ('', {}), + ('reduction_sum', {'reduction': 'sum'}), + ('reduction_mean', {'reduction': 'mean'}), + ('reduction_none', {'reduction': 'none'}), + ('blank', {'blank': 14}) + ] + target_dtypes = [torch.int, torch.long] + + module_inputs = [] + for target_dtype, (desc, constructor_kwargs) in product(target_dtypes, cases): + def reference_fn(m, p, i, t, il, tl, constructor_kwargs=constructor_kwargs): + return ctcloss_reference(i, t, il, tl, **constructor_kwargs) + + blank = constructor_kwargs.get('blank', 0) + low = 0 if blank == 14 else 1 + high = 14 if blank == 14 else 15 + + module_inputs.append( + ModuleInput( + constructor_input=FunctionInput(**constructor_kwargs), + forward_input=FunctionInput(make_input((50, 3, 15)).log_softmax(2), + make_target((3, 30), dtype=target_dtype, low=low, high=high), + (50, 50, 50), (30, 25, 20)), + desc=f'{desc}_lengths_intlists', + reference_fn=reference_fn) + ) + module_inputs.append( + ModuleInput( + constructor_input=FunctionInput(**constructor_kwargs), + forward_input=FunctionInput(make_input((50, 3, 15)).log_softmax(2), + make_target((3, 30), dtype=target_dtype, low=low, high=high), + torch.tensor((50, 50, 50), device=device), + torch.tensor((30, 25, 20), device=device)), + desc=f'{desc}_lengths_tensors', + reference_fn=reference_fn) + ) + module_inputs.append( + ModuleInput( + constructor_input=FunctionInput(**constructor_kwargs), + forward_input=FunctionInput(make_input((50, 3, 15)).log_softmax(2), + make_target((30 + 25 + 20,), dtype=target_dtype, low=low, high=high), + (50, 50, 50), (30, 25, 20)), + desc=f'{desc}_1d_target_lengths_intlists', + reference_fn=reference_fn) + ) + module_inputs.append( + ModuleInput( + constructor_input=FunctionInput(**constructor_kwargs), + forward_input=FunctionInput(make_input((50, 3, 15)).log_softmax(2), + make_target((30 + 25 + 20,), dtype=target_dtype, low=low, high=high), + torch.tensor((50, 50, 50), device=device), + torch.tensor((30, 25, 20), device=device)), + desc=f'{desc}_1d_target_lengths_tensors', + reference_fn=reference_fn) + ) + + return module_inputs + + +def module_inputs_torch_nn_GroupNorm(module_info, device, dtype, requires_grad, training, **kwargs): + make_input = partial(make_tensor, device=device, dtype=dtype, requires_grad=requires_grad) + + return [ + ModuleInput( + constructor_input=FunctionInput(3, 6, 1e-3), + forward_input=FunctionInput(make_input((4, 6, 5))), + desc='1d_affine'), + ModuleInput( + constructor_input=FunctionInput(3, 12, 1e-3), + forward_input=FunctionInput(make_input((4, 12))), + desc='1d_affine_GN'), + ModuleInput( + constructor_input=FunctionInput(1, 6, 1e-3), + forward_input=FunctionInput(make_input((150, 6))), + desc='1d_affine_large_batch'), + ModuleInput( + constructor_input=FunctionInput(5, 5, 1e-3, False), + forward_input=FunctionInput(make_input((4, 5, 5))), + desc='1d_no_affine_IN'), + ModuleInput( + constructor_input=FunctionInput(1, 10, 1e-3, False), + forward_input=FunctionInput(make_input((4, 10))), + desc='1d_no_affine_LN'), + ModuleInput( + constructor_input=FunctionInput(3, 6, 1e-3), + forward_input=FunctionInput(make_input((4, 6, 2, 3))), + desc='2d_affine'), + ModuleInput( + constructor_input=FunctionInput(3, 6, 1e-3), + forward_input=FunctionInput(make_input((4, 6, 28, 28))), + desc='2d_affine_large_feature'), + ModuleInput( + constructor_input=FunctionInput(3, 51, 1e-5, False), + forward_input=FunctionInput(make_input((2, 51, 28, 28))), + desc='2d_no_affine_large_feature'), + ModuleInput( + constructor_input=FunctionInput(3, 3, 1e-3, False), + forward_input=FunctionInput(make_input((4, 3, 2, 3))), + desc='2d_no_affine_IN'), + ModuleInput( + constructor_input=FunctionInput(1, 3, 1e-3, False), + forward_input=FunctionInput(make_input((4, 3, 2, 3))), + desc='2d_no_affine_LN'), + ] + + +def module_inputs_torch_nn_Hardshrink(module_info, device, dtype, requires_grad, training, **kwargs): + make_input = partial(make_tensor, device=device, dtype=dtype, requires_grad=requires_grad) + + return [ + ModuleInput( + constructor_input=FunctionInput(2.), + forward_input=FunctionInput(make_input((4, 3, 2, 4))), + ), + ModuleInput( + constructor_input=FunctionInput(2.), + forward_input=FunctionInput(make_input(())), + desc='scalar', + ), + ModuleInput( + constructor_input=FunctionInput(), + forward_input=FunctionInput(make_input(4)), + reference_fn=no_batch_dim_reference_fn, + desc='no_batch_dim', + ) + ] + + +def module_inputs_torch_nn_Hardswish(module_info, device, dtype, requires_grad, training, **kwargs): + make_input = partial(make_tensor, device=device, dtype=dtype, requires_grad=requires_grad) + + return [ + ModuleInput( + constructor_input=FunctionInput(), + forward_input=FunctionInput(make_input(4)), + reference_fn=no_batch_dim_reference_fn, + desc='no_batch_dim', + ), + ModuleInput( + constructor_input=FunctionInput(), + forward_input=FunctionInput(make_input((2, 3, 2, 5))), + desc='4d_input') + ] + + +def module_inputs_torch_nn_Hardtanh(module_info, device, dtype, requires_grad, training, **kwargs): + make_input = partial(make_tensor, device=device, dtype=dtype, requires_grad=requires_grad) + + return [ + ModuleInput( + constructor_input=FunctionInput(), + forward_input=FunctionInput(make_input((3, 2, 5))), + reference_fn=lambda m, p, i: i.clamp(-1, 1), + ), + ModuleInput( + constructor_input=FunctionInput(), + forward_input=FunctionInput(make_input(())), + reference_fn=lambda m, p, i: i.clamp(-1, 1), + desc='scalar', + ), + ModuleInput( + constructor_input=FunctionInput(), + forward_input=FunctionInput(make_input(4)), + reference_fn=no_batch_dim_reference_fn, + desc='no_batch_dim', + ) + ] + + +def module_inputs_torch_nn_HingeEmbeddingLoss(module_info, device, dtype, requires_grad, training, **kwargs): + make_input = partial(make_tensor, device=device, dtype=dtype, requires_grad=requires_grad) + make_target = partial(make_tensor, device=device, dtype=dtype, requires_grad=False) + + cases: List[Tuple[str, dict]] = [ + ('', {}), + ('reduction_sum', {'reduction': 'sum'}), + ('reduction_mean', {'reduction': 'mean'}), + ('reduction_none', {'reduction': 'none'}), + ('margin', {'margin': 0.5}) + ] + + module_inputs = [] + for desc, constructor_kwargs in cases: + def reference_fn(m, p, i, t, constructor_kwargs=constructor_kwargs): + return hingeembeddingloss_reference(i, t, **constructor_kwargs) + + module_inputs.append( + ModuleInput(constructor_input=FunctionInput(**constructor_kwargs), + forward_input=FunctionInput(make_input((10,)), + make_target((10,)).gt(0).to(dtype).mul_(2).sub_(1)), + desc=desc, + reference_fn=reference_fn) + ) + module_inputs.append( + ModuleInput(constructor_input=FunctionInput(**constructor_kwargs), + forward_input=FunctionInput(make_input(()), + make_target(()).gt(0).to(dtype).mul_(2).sub_(1)), + desc=f'scalar_{desc}', + reference_fn=reference_fn) + ) + + return module_inputs + + +def module_inputs_torch_nn_HuberLoss(module_info, device, dtype, requires_grad, training, **kwargs): + make_input = partial(make_tensor, device=device, dtype=dtype, requires_grad=requires_grad) + + cases: List[Tuple[str, dict]] = [ + ('', {}), + ('reduction_sum', {'reduction': 'sum'}), + ('reduction_mean', {'reduction': 'mean'}), + ('reduction_none', {'reduction': 'none'}), + ] + + module_inputs = [] + for desc, constructor_kwargs in cases: + def reference_fn(m, p, i, t, constructor_kwargs=constructor_kwargs): + return huberloss_reference(i, t, **constructor_kwargs) + + module_inputs.append( + ModuleInput(constructor_input=FunctionInput(**constructor_kwargs), + forward_input=FunctionInput(make_input((5, 10)), + make_input((5, 10))), + desc=desc, + reference_fn=reference_fn) + ) + + return module_inputs + + +def module_inputs_torch_nn_InstanceNormNd(module_info, device, dtype, requires_grad, training, **kwargs): + make_input = partial(make_tensor, device=device, dtype=dtype, requires_grad=requires_grad) + lazy = kwargs.get('lazy', False) + N = kwargs['N'] + num_features, eps, momentum, affine, track_running_stats = 3, 1e-3, 0.3, False, True + input_no_batch_shape_dict = {1: (3, 15), 2: (3, 6, 6), 3: (3, 4, 4, 4)} + input_no_batch_shape = input_no_batch_shape_dict[N] + input_batch_shape = (4,) + input_no_batch_shape + + return [ + ModuleInput( + constructor_input=( + FunctionInput(eps, momentum) if lazy else FunctionInput(num_features, eps, momentum) + ), + forward_input=FunctionInput(make_input(input_batch_shape))), + ModuleInput( + constructor_input=( + FunctionInput(eps, momentum, affine, track_running_stats) if lazy else + FunctionInput(num_features, eps, momentum, affine, track_running_stats) + ), + forward_input=FunctionInput(make_input(input_batch_shape)), + desc='tracking_stats'), + ModuleInput( + constructor_input=( + FunctionInput(eps, momentum) if lazy else FunctionInput(num_features, eps, momentum) + ), + forward_input=FunctionInput(make_input(input_no_batch_shape)), + reference_fn=no_batch_dim_reference_fn, + desc='tracking_stats_no_batch_dim'), + ModuleInput( + constructor_input=( + FunctionInput(eps, momentum, affine, track_running_stats) if lazy else + FunctionInput(num_features, eps, momentum, affine, track_running_stats) + ), + forward_input=FunctionInput(make_input(input_no_batch_shape)), + reference_fn=no_batch_dim_reference_fn, + desc='no_batch_dim') + ] + +def module_inputs_torch_nn_LayerNorm(module_info, device, dtype, requires_grad, training, **kwargs): + make_input = partial(make_tensor, device=device, dtype=dtype, requires_grad=requires_grad) + + return [ + ModuleInput( + constructor_input=FunctionInput([5], 1e-3), + forward_input=FunctionInput(make_input((4, 5, 5))), + desc='1d_elementwise_affine'), + ModuleInput( + constructor_input=FunctionInput([5], 1e-3), + forward_input=FunctionInput(make_input((128, 5, 5))), + desc='1d_elementwise_affine_large_batch'), + ModuleInput( + constructor_input=FunctionInput([5], 1e-3, False), + forward_input=FunctionInput(make_input((4, 5, 5))), + desc='1d_no_elementwise_affine'), + ModuleInput( + constructor_input=FunctionInput([2, 2, 5], 1e-3), + forward_input=FunctionInput(make_input((4, 2, 2, 5))), + desc='3d_elementwise_affine'), + ModuleInput( + constructor_input=FunctionInput([2, 2, 5], 1e-3, False), + forward_input=FunctionInput(make_input((4, 2, 2, 5))), + desc='3d_no_elementwise_affine'), + ModuleInput( + constructor_input=FunctionInput([5], 1e-3), + forward_input=FunctionInput(make_input((0, 5))), + desc='1d_empty_elementwise_affine'), + ModuleInput( + constructor_input=FunctionInput([2, 2, 5], 1e-3, elementwise_affine=True, bias=False), + forward_input=FunctionInput(make_input((4, 2, 2, 5))), + desc='3d_elementwise_affine_no_bias'), + ] + + +def module_inputs_torch_nn_LocalResponseNorm(module_info, device, dtype, requires_grad, training, **kwargs): + make_input = partial(make_tensor, device=device, dtype=dtype, requires_grad=requires_grad) + + return [ + ModuleInput( + constructor_input=FunctionInput(3,), + forward_input=FunctionInput(make_input((1, 5, 7))), + desc='1d'), + ModuleInput( + constructor_input=FunctionInput(2,), + forward_input=FunctionInput(make_input((1, 5, 7, 7))), + desc='2d_uneven_pad'), + ModuleInput( + constructor_input=FunctionInput(1, 1., 0.5, 2.), + forward_input=FunctionInput(make_input((1, 5, 7, 7, 7))), + desc='3d_custom_params'), + ] + + +def module_inputs_torch_nn_LPPool1d(module_info, device, dtype, requires_grad, training, **kwargs): + make_input = partial(make_tensor, device=device, dtype=dtype, requires_grad=requires_grad) + + return [ + ModuleInput( + constructor_input=FunctionInput(1.5, 2), + forward_input=FunctionInput(make_input((1, 3, 7))), + desc='norm'), + ModuleInput( + constructor_input=FunctionInput(2, 2, 3), + forward_input=FunctionInput(make_input((1, 3, 7)))), + ModuleInput( + constructor_input=FunctionInput(2, 2, 3), + forward_input=FunctionInput(make_input((3, 7))), + reference_fn=no_batch_dim_reference_fn, + desc='no_batch_dim'), + ] + + + +def module_inputs_torch_nn_LPPool2d(module_info, device, dtype, requires_grad, training, **kwargs): + make_input = partial(make_tensor, device=device, dtype=dtype, requires_grad=requires_grad) + + return [ + ModuleInput( + constructor_input=FunctionInput(2, 2, 2), + forward_input=FunctionInput(make_input((1, 3, 7, 7)))), + ModuleInput( + constructor_input=FunctionInput(2, 2, 2), + forward_input=FunctionInput(make_input((3, 7, 7))), + reference_fn=no_batch_dim_reference_fn, + desc='no_batch_dim'), + ModuleInput( + constructor_input=FunctionInput(1.5, 2), + forward_input=FunctionInput(make_input((1, 3, 7, 7))), + desc='norm'), + ] + + +def module_inputs_torch_nn_LPPool3d(module_info, device, dtype, requires_grad, training, **kwargs): + make_input = partial(make_tensor, device=device, dtype=dtype, requires_grad=requires_grad) + + return [ + ModuleInput( + constructor_input=FunctionInput(2, 2, 2), + forward_input=FunctionInput(make_input((1, 3, 7, 7, 7)))), + ModuleInput( + constructor_input=FunctionInput(2, 2, 2), + forward_input=FunctionInput(make_input((3, 7, 7, 7))), + reference_fn=no_batch_dim_reference_fn, + desc='no_batch_dim'), + ModuleInput( + constructor_input=FunctionInput(1.5, 2), + forward_input=FunctionInput(make_input((1, 3, 7, 7, 7))), + desc='norm'), + ] + + +def module_inputs_torch_nn_MaxPool1d(module_info, device, dtype, requires_grad, training, **kwargs): + make_input = partial(make_tensor, device=device, dtype=dtype, requires_grad=requires_grad) + + return [ + ModuleInput( + constructor_input=FunctionInput(4), + forward_input=FunctionInput(make_input((2, 10, 4))), + desc='3d_input'), + ModuleInput( + constructor_input=FunctionInput(4, 4), + forward_input=FunctionInput(make_input((2, 10, 4))), + desc='stride'), + ModuleInput( + constructor_input=FunctionInput(4, return_indices=True), + forward_input=FunctionInput(make_input((2, 10, 4))), + desc='return_indices'), + ] + + +def module_inputs_torch_nn_MaxPool2d(module_info, device, dtype, requires_grad, training, **kwargs): + make_input = partial(make_tensor, device=device, dtype=dtype, requires_grad=requires_grad) + + return [ + ModuleInput( + constructor_input=FunctionInput((3, 3), (2, 2), (1, 1)), + forward_input=FunctionInput(make_input((3, 7, 7))), + desc='3d_input'), + ModuleInput( + constructor_input=FunctionInput((3, 3), (2, 2), (1, 1)), + forward_input=FunctionInput(make_input((1, 3, 7, 7))), + desc='4d_input'), + ModuleInput( + constructor_input=FunctionInput((3, 3), (2, 2), (1, 1), return_indices=True), + forward_input=FunctionInput(make_input((1, 3, 7, 7))), + desc='return_indices'), + ] + +def module_inputs_torch_nn_MaxPool3d(module_info, device, dtype, requires_grad, training, **kwargs): + make_input = partial(make_tensor, device=device, dtype=dtype, requires_grad=requires_grad) + + return [ + ModuleInput( + constructor_input=FunctionInput((2, 2, 2)), + forward_input=FunctionInput(make_input((2, 3, 5, 5, 5)))), + ModuleInput( + constructor_input=FunctionInput(2, (2, 2, 2)), + forward_input=FunctionInput(make_input((2, 3, 5, 5, 5))), + desc='stride'), + ModuleInput( + constructor_input=FunctionInput(2, 2, (1, 1, 1)), + forward_input=FunctionInput(make_input((2, 3, 5, 5, 5))), + desc='stride_padding'), + ModuleInput( + constructor_input=FunctionInput(2, 2, (1, 1, 1), return_indices=True), + forward_input=FunctionInput(make_input((2, 3, 5, 5, 5))), + desc='return_indices'), + ] + + +def module_inputs_torch_nn_FractionalMaxPool2d(module_info, device, dtype, requires_grad, training, **kwargs): + make_input = partial(make_tensor, device=device, dtype=dtype, requires_grad=requires_grad) + + def make_random_samples(): + return torch.empty((1, 3, 2), dtype=torch.double, device=device).uniform_() + + return [ + ModuleInput( + constructor_input=FunctionInput(2, output_ratio=0.5, _random_samples=make_random_samples()), + forward_input=FunctionInput(make_input((1, 3, 5, 7))), + desc='ratio'), + ModuleInput( + constructor_input=FunctionInput((2, 3), output_size=(4, 3), _random_samples=make_random_samples()), + forward_input=FunctionInput(make_input((1, 3, 7, 6))), + desc='size'), + ModuleInput( + constructor_input=FunctionInput( + 2, output_ratio=0.5, _random_samples=make_random_samples(), return_indices=True + ), + forward_input=FunctionInput(make_input((1, 3, 5, 7))), + desc='ratio_return_indices'), + ModuleInput( + constructor_input=FunctionInput(2, output_ratio=0.5, _random_samples=make_random_samples()), + forward_input=FunctionInput(make_input((3, 5, 7))), + reference_fn=no_batch_dim_reference_fn, + desc='ratio_no_batch_dim'), + ModuleInput( + constructor_input=FunctionInput((2, 3), output_size=(4, 3), _random_samples=make_random_samples()), + forward_input=FunctionInput(make_input((3, 7, 6))), + reference_fn=no_batch_dim_reference_fn, + desc='size_no_batch_dim'), + ] + + +def module_inputs_torch_nn_FractionalMaxPool3d(module_info, device, dtype, requires_grad, training, **kwargs): + make_input = partial(make_tensor, device=device, dtype=dtype, requires_grad=requires_grad) + + def make_random_samples(): + return torch.empty((2, 4, 3), dtype=torch.double, device=device).uniform_() + + return [ + ModuleInput( + constructor_input=FunctionInput(2, output_ratio=0.5, _random_samples=make_random_samples()), + forward_input=FunctionInput(make_input((2, 4, 5, 5, 5))), + desc='ratio'), + ModuleInput( + constructor_input=FunctionInput((2, 2, 2), output_size=(4, 4, 4), _random_samples=make_random_samples()), + forward_input=FunctionInput(make_input((2, 4, 7, 7, 7))), + desc='size'), + ModuleInput( + constructor_input=FunctionInput((4, 2, 3), output_size=(10, 3, 2), _random_samples=make_random_samples()), + forward_input=FunctionInput(make_input((2, 4, 16, 7, 5))), + desc='asymsize'), + ModuleInput( + constructor_input=FunctionInput( + 2, output_ratio=0.5, _random_samples=make_random_samples(), return_indices=True + ), + forward_input=FunctionInput(make_input((2, 4, 5, 5, 5))), + desc='ratio_return_indices'), + ModuleInput( + constructor_input=FunctionInput(2, output_ratio=0.5, _random_samples=make_random_samples()), + forward_input=FunctionInput(make_input((4, 5, 5, 5))), + reference_fn=no_batch_dim_reference_fn, + desc='ratio_no_batch_dim'), + ModuleInput( + constructor_input=FunctionInput((2, 2, 2), output_size=(4, 4, 4), _random_samples=make_random_samples()), + forward_input=FunctionInput(make_input((4, 7, 7, 7))), + reference_fn=no_batch_dim_reference_fn, + desc='size_no_batch_dim'), + ] + + +def module_inputs_torch_nn_Sigmoid(module_info, device, dtype, requires_grad, training, **kwargs): + make_input = partial(make_tensor, device=device, dtype=dtype, requires_grad=requires_grad) + + return [ + ModuleInput( + constructor_input=FunctionInput(), + forward_input=FunctionInput(make_input(())), + desc='scalar' + ), + ModuleInput( + constructor_input=FunctionInput(), + forward_input=FunctionInput(make_input(4)), + reference_fn=no_batch_dim_reference_fn, + desc='no_batch_dim', + ), + ModuleInput( + constructor_input=FunctionInput(), + forward_input=FunctionInput(make_input((2, 3, 4, 5))), + desc='channels_last_mem_format' + ), + ModuleInput( + constructor_input=FunctionInput(), + forward_input=FunctionInput(make_input((2, 3, 3, 4, 5))), + desc='channels_last_3d_mem_format' + ) + ] + + +def module_inputs_torch_nn_LogSigmoid(module_info, device, dtype, requires_grad, training, **kwargs): + make_input = partial(make_tensor, device=device, dtype=dtype, requires_grad=requires_grad) + + return [ + ModuleInput( + constructor_input=FunctionInput(), + forward_input=FunctionInput(make_input(())), + reference_fn=lambda m, p, i: i.sigmoid().log(), + desc='scalar' + ), + ModuleInput( + constructor_input=FunctionInput(), + forward_input=FunctionInput(make_input((2, 3, 4))), + reference_fn=lambda m, p, i: i.sigmoid().log(), + ), + ModuleInput( + constructor_input=FunctionInput(), + forward_input=FunctionInput(make_input(4)), + reference_fn=no_batch_dim_reference_fn, + desc='no_batch_dim', + ), + ] + + +def module_inputs_torch_nn_MarginRankingLoss(module_info, device, dtype, requires_grad, training, **kwargs): + make_input = partial(make_tensor, device=device, dtype=dtype, requires_grad=requires_grad) + make_target = partial(make_tensor, device=device, dtype=torch.long, requires_grad=False) + + cases: List[Tuple[str, dict]] = [ + ('', {}), + ('reduction_sum', {'reduction': 'sum'}), + ('reduction_mean', {'reduction': 'mean'}), + ('reduction_none', {'reduction': 'none'}), + ('margin', {'margin': 0.5}) + ] + + module_inputs = [] + for desc, constructor_kwargs in cases: + def reference_fn(m, p, i1, i2, t, constructor_kwargs=constructor_kwargs): + return marginrankingloss_reference(i1, i2, t, **constructor_kwargs) + + module_inputs.append( + ModuleInput(constructor_input=FunctionInput(**constructor_kwargs), + forward_input=FunctionInput(make_input((50,)), make_input((50,)), + make_target((50,)).sign()), + desc=desc, + reference_fn=reference_fn) + ) + + return module_inputs + + +def module_inputs_torch_nn_MultiLabelMarginLoss(module_info, device, dtype, requires_grad, training, **kwargs): + make_input = partial(make_tensor, device=device, dtype=dtype, requires_grad=requires_grad) + make_target = partial(make_tensor, device=device, dtype=torch.long, requires_grad=False) + + cases: List[Tuple[str, dict]] = [ + ('', {}), + ('reduction_sum', {'reduction': 'sum'}), + ('reduction_mean', {'reduction': 'mean'}), + ('reduction_none', {'reduction': 'none'}), + ] + + module_inputs = [] + for desc, constructor_kwargs in cases: + def reference_fn(m, p, i, t, constructor_kwargs=constructor_kwargs): + return multilabelmarginloss_reference(i, t, **constructor_kwargs) + + module_inputs.append( + ModuleInput(constructor_input=FunctionInput(**constructor_kwargs), + forward_input=FunctionInput(make_input((10,)), + make_target((10), low=0, high=10)), + desc=f'1d_{desc}', + reference_fn=reference_fn) + ) + + module_inputs.append( + ModuleInput(constructor_input=FunctionInput(**constructor_kwargs), + forward_input=FunctionInput(make_input((5, 10)), + make_target((5, 10), low=0, high=10)), + desc=desc, + reference_fn=reference_fn) + ) + + return module_inputs + + +def module_inputs_torch_nn_MultiMarginLoss(module_info, device, dtype, requires_grad, training, **kwargs): + make_input = partial(make_tensor, device=device, dtype=dtype, requires_grad=requires_grad) + make_target = partial(make_tensor, device=device, dtype=torch.long, requires_grad=False) + make_weight = partial(make_tensor, device=device, dtype=dtype, requires_grad=False) + + cases: List[Tuple[str, dict]] = [ + ('', {}), + ('reduction_sum', {'reduction': 'sum'}), + ('reduction_mean', {'reduction': 'mean'}), + ('reduction_none', {'reduction': 'none'}), + ('p', {'p': 2}), + ('margin', {'margin': 0.5}), + ('weights', {'weight': make_weight(10)}) + ] + + module_inputs = [] + for desc, constructor_kwargs in cases: + def reference_fn(m, p, i, t, constructor_kwargs=constructor_kwargs): + return multimarginloss_reference(i, t, **constructor_kwargs) + + module_inputs.append( + ModuleInput(constructor_input=FunctionInput(**constructor_kwargs), + forward_input=FunctionInput(make_input((5, 10)), + make_target((5), low=0, high=10)), + desc=desc, + reference_fn=reference_fn) + ) + + return module_inputs + + +def module_inputs_torch_nn_MultiLabelSoftMarginLoss(module_info, device, dtype, requires_grad, training, **kwargs): + make_input = partial(make_tensor, device=device, dtype=dtype, requires_grad=requires_grad) + make_target = partial(make_tensor, device=device, dtype=torch.long, requires_grad=False) + make_weight = partial(make_tensor, device=device, dtype=dtype, requires_grad=False) + + cases: List[Tuple[str, dict]] = [ + ('', {}), + ('reduction_sum', {'reduction': 'sum'}), + ('reduction_mean', {'reduction': 'mean'}), + ('reduction_none', {'reduction': 'none'}), + ('weight', {'weight': make_weight(10)}), + ] + + def multilabelsoftmargin_loss_reference_fn(m, p, i, t, reduction='mean', weight=None): + result = t * i.sigmoid().log() + (1 - t) * (-i).sigmoid().log() + if weight is not None: + result *= weight + result = (-result).sum(i.dim() - 1) / i.size(-1) + + if reduction == 'none': + return result + elif reduction == 'mean': + return result.mean() + else: + return result.sum() + + module_inputs = [] + for desc, constructor_kwargs in cases: + module_inputs.append( + ModuleInput(constructor_input=FunctionInput(**constructor_kwargs), + forward_input=FunctionInput(make_input((5, 10)), + make_target((5, 10), low=0, high=2)), + desc=desc, + reference_fn=partial(multilabelsoftmargin_loss_reference_fn, **constructor_kwargs)) + ) + + return module_inputs + + +def module_inputs_torch_nn_SoftMarginLoss(module_info, device, dtype, requires_grad, training, **kwargs): + make_input = partial(make_tensor, device=device, dtype=dtype, requires_grad=requires_grad) + make_target = partial(make_tensor, device=device, dtype=dtype, requires_grad=False) + + cases: List[Tuple[str, dict]] = [ + ('', {}), + ('reduction_sum', {'reduction': 'sum'}), + ('reduction_mean', {'reduction': 'mean'}), + ('reduction_none', {'reduction': 'none'}), + ] + + module_inputs = [] + for desc, constructor_kwargs in cases: + def reference_fn(m, p, i, t, constructor_kwargs=constructor_kwargs): + return softmarginloss_reference(i, t, **constructor_kwargs) + + module_inputs.append( + ModuleInput(constructor_input=FunctionInput(**constructor_kwargs), + forward_input=FunctionInput(make_input((5, 5)), + make_target((5, 5)).sign()), + desc=desc, + reference_fn=reference_fn) + ) + + return module_inputs + + +def module_inputs_torch_nn_TransformerEncoder(module_info, device, dtype, requires_grad, training, **kwargs): + # Reuse the TransformerEncoderLayer samples since the forward args are nearly the same. + samples = [] + for layer_module_input in module_inputs_torch_nn_TransformerEncoderLayer( + None, device, dtype, requires_grad, training): + # Construct a TransformerEncoderLayer object to pass to TransformerEncoder. + l_args, l_kwargs = (layer_module_input.constructor_input.args, + layer_module_input.constructor_input.kwargs) + l_kwargs['device'] = device + l_kwargs['dtype'] = dtype + encoder_layer = torch.nn.TransformerEncoderLayer(*l_args, **l_kwargs) + num_layers = 2 + # Note: TransformerEncoderLayer takes a "src_mask" while + # TransformerEncoder takes a "mask"; rename kwarg appropriately. + forward_input = layer_module_input.forward_input + if 'src_mask' in forward_input.kwargs: + forward_input.kwargs['mask'] = forward_input.kwargs['src_mask'] + del forward_input.kwargs['src_mask'] + samples.append(ModuleInput( + constructor_input=FunctionInput(encoder_layer, num_layers), + forward_input=forward_input, + desc=layer_module_input.desc + )) + return samples + +def module_inputs_torch_nn_TransformerEncoderLayer(module_info, device, dtype, requires_grad, training, **kwargs): + make_input = partial(make_tensor, device=device, dtype=dtype, requires_grad=requires_grad) + + samples = [ + ModuleInput( + constructor_input=FunctionInput(4, 2, 16, 0.0), + forward_input=FunctionInput( + make_input((2, 3, 4)) + ), + desc='relu_activation' + ), + ModuleInput( + constructor_input=FunctionInput(4, 2, 8, 0.0, F.gelu), + forward_input=FunctionInput( + make_input((2, 3, 4)) + ), + desc='gelu_activation' + ), + ModuleInput( + constructor_input=FunctionInput(4, 2, 8, 0.0, bias=False), + forward_input=FunctionInput( + make_input((2, 3, 4)) + ), + desc='no_bias' + ),] + + # Samples below are for validating the no-batch-dim support. + key_padding_masks = (None, torch.tensor([False, False, True], device=device, dtype=torch.bool)) + attn_masks = (None, torch.tensor([False, False, True], device=device, dtype=torch.bool).expand((3, 3))) + for src_mask, src_key_padding_mask, norm_first, batch_first, bias in \ + itertools.product(attn_masks, key_padding_masks, (True, False), (True, False), (True, False)): + samples.append( + ModuleInput( + constructor_input=FunctionInput(d_model=4, nhead=2, dim_feedforward=8, + dropout=0.0, batch_first=batch_first, + norm_first=norm_first, bias=bias), + forward_input=FunctionInput( + make_input((3, 4)), src_mask=src_mask, src_key_padding_mask=src_key_padding_mask + ), + reference_fn=partial(no_batch_dim_reference_fn, + batch_first=batch_first, kwargs_to_batchify={'src_key_padding_mask': 0}), + desc=f'no_batch_dim_batch_first_{batch_first}' + )) + + # Samples below where we pass reference_fn are for validating the fast path, + # since the fast path requires no_grad mode, we run the fast path in .eval() + # and no_grad() in the reference_fn and verify that against the results in train mode. + def fast_path_reference_fn(module, parameters, *args, **kwargs): + assert module.training + module.train(False) + with torch.no_grad(): + output = module(*args, **kwargs) + module.train(True) + return output + + if training: + for norm_first, bias in itertools.product((True, False), (True, False)): + samples.append( + ModuleInput( + constructor_input=FunctionInput( + 4, 2, 8, dropout=0.0, batch_first=True, norm_first=norm_first, bias=bias + ), + forward_input=FunctionInput( + make_input((2, 3, 4)), + ), + # fastpath doesn't run when bias=False + reference_fn=fast_path_reference_fn if bias else None, + desc=f'fastpath_{bias}_norm_first_{norm_first}' + ) + ) + + return samples + + +def module_inputs_torch_nn_TransformerDecoderLayer(module_info, device, dtype, requires_grad, training, **kwargs): + make_input = partial(make_tensor, device=device, dtype=dtype, requires_grad=requires_grad) + + samples = [ + ModuleInput( + constructor_input=FunctionInput(4, 2, 16, 0.0), + forward_input=FunctionInput( + make_input((2, 3, 4)), make_input((2, 3, 4)) + ), + desc='relu_activation' + ), + ModuleInput( + constructor_input=FunctionInput(4, 2, 8, 0.0, F.gelu), + forward_input=FunctionInput( + make_input((2, 3, 4)), make_input((2, 3, 4)) + ), + desc='gelu_activation' + ), + ModuleInput( + constructor_input=FunctionInput(4, 2, 8, 0.0, bias=False), + forward_input=FunctionInput( + make_input((2, 3, 4)), make_input((2, 3, 4)) + ), + desc='no_bias' + ), ] + + key_padding_masks = (None, torch.tensor([False, False, True], device=device, dtype=torch.bool)) + attn_masks = (None, torch.tensor([False, False, True], device=device, dtype=torch.bool).expand((3, 3))) + for tgt_mask, tgt_key_padding_mask, norm_first, bias, batch_first in \ + itertools.product(attn_masks, key_padding_masks, (True, False), (True, False), (True, False)): + # Using same mask for tgt and memory + memory_mask = tgt_mask + memory_key_padding_mask = tgt_key_padding_mask + samples.append( + ModuleInput( + constructor_input=FunctionInput(d_model=4, nhead=2, dim_feedforward=8, + dropout=0.0, batch_first=batch_first, + norm_first=norm_first, bias=bias), + forward_input=FunctionInput( + make_input((3, 4)), make_input((3, 4)), tgt_mask=tgt_mask, memory_mask=memory_mask, + tgt_key_padding_mask=tgt_key_padding_mask, memory_key_padding_mask=memory_key_padding_mask + ), + reference_fn=partial(no_batch_dim_reference_fn, + batch_first=batch_first, + kwargs_to_batchify={'tgt_key_padding_mask': 0, 'memory_key_padding_mask': 0}), + desc=f'no_batch_dim_batch_first_{batch_first}' + )) + src, tgt = make_input((2, 3, 4)), make_input((2, 3, 4)) + if not batch_first: + src, tgt = src.transpose(0, 1), tgt.transpose(0, 1) + if tgt_key_padding_mask is not None: + memory_key_padding_mask, tgt_key_padding_mask = (tgt_key_padding_mask.expand(2, 3),) * 2 + samples.append( + ModuleInput( + constructor_input=FunctionInput(d_model=4, nhead=2, dim_feedforward=8, + dropout=0.0, batch_first=batch_first, + norm_first=norm_first, bias=bias), + forward_input=FunctionInput( + src, tgt, tgt_mask=tgt_mask, memory_mask=memory_mask, + tgt_key_padding_mask=tgt_key_padding_mask, memory_key_padding_mask=memory_key_padding_mask + ), + desc=f'norm_first_{norm_first}_batch_first_{batch_first}_bias_{bias}' + )) + + return samples + + +def module_inputs_torch_nn_Transformer(module_info, device, dtype, requires_grad, training, **kwargs): + make_input = partial(make_tensor, device=device, dtype=dtype, requires_grad=requires_grad) + samples = [] + # Samples below are for validating the no-batch-dim support. + key_padding_masks = (None, torch.tensor([False, False, True], device=device, dtype=torch.bool)) + attn_masks = (None, torch.tensor([False, False, True], device=device, dtype=torch.bool).expand((3, 3))) + for mask, key_padding_mask, norm_first, bias, batch_first in \ + itertools.product(attn_masks, key_padding_masks, (True, False), (True, False), (True, False)): + # Using same mask for tgt and memory + src_mask , tgt_mask = (mask,) * 2 + src_key_padding_mask, tgt_key_padding_mask = (key_padding_mask,) * 2 + samples.append( + ModuleInput( + constructor_input=FunctionInput(d_model=4, nhead=2, dim_feedforward=8, + num_encoder_layers=1, num_decoder_layers=1, + dropout=0.0, batch_first=batch_first, norm_first=norm_first, bias=bias), + forward_input=FunctionInput( + make_input((3, 4)), make_input((3, 4)), tgt_mask=tgt_mask, src_mask=src_mask, + tgt_key_padding_mask=tgt_key_padding_mask, src_key_padding_mask=src_key_padding_mask + ), + reference_fn=partial(no_batch_dim_reference_fn, + batch_first=batch_first, + kwargs_to_batchify={'tgt_key_padding_mask': 0, 'src_key_padding_mask': 0}), + desc=f'no_batch_dim_batch_first_{batch_first}' + )) + + src, tgt = make_input((2, 3, 4)), make_input((2, 3, 4)) + if not batch_first: + src = src.transpose(0, 1) + tgt = tgt.transpose(0, 1) + if key_padding_mask is not None: + src_key_padding_mask, tgt_key_padding_mask = (key_padding_mask.expand(2, 3),) * 2 + + samples.append( + ModuleInput( + constructor_input=FunctionInput(d_model=4, nhead=2, dim_feedforward=8, + num_encoder_layers=1, num_decoder_layers=1, + dropout=0.0, batch_first=batch_first, norm_first=norm_first, bias=bias), + forward_input=FunctionInput( + src, tgt, tgt_mask=tgt_mask, src_mask=src_mask, + tgt_key_padding_mask=tgt_key_padding_mask, src_key_padding_mask=src_key_padding_mask + ), + )) + return samples + + +def module_inputs_torch_nn_Embedding(module_info, device, dtype, requires_grad, training, **kwargs): + make_empty = partial(torch.empty, device=device, dtype=torch.long, requires_grad=False) + return [ + ModuleInput( + constructor_input=FunctionInput(num_embeddings=4, embedding_dim=3), + forward_input=FunctionInput(make_empty(2, 3).random_(4)) + ), + ModuleInput( + constructor_input=FunctionInput(num_embeddings=4, embedding_dim=3), + forward_input=FunctionInput(make_empty(1, 512).random_(4).expand(7, 512)), + desc='discontiguous' + ), + ] + + +def module_inputs_torch_nn_MultiheadAttention(module_info, device, dtype, requires_grad, training, **kwargs): + # Currently all samples below are for validating the no-batch-dim support. + make_input = partial(make_tensor, device=device, dtype=dtype, requires_grad=requires_grad) + samples = [] + bool_vals = (True, False) + key_padding_masks = (None, torch.tensor([False, False, True], device=device, dtype=torch.bool)) + attn_masks = (None, torch.tensor([False, False, True], device=device, dtype=torch.bool).expand((3, 3, 3))) + products = itertools.product(bool_vals, bool_vals, bool_vals, key_padding_masks, attn_masks) + for bias, add_bias_kv, add_zero_attn, key_padding_mask, attn_mask in products: + samples.append( + ModuleInput( + constructor_input=FunctionInput(embed_dim=3, num_heads=3, batch_first=True, + bias=bias, add_bias_kv=add_bias_kv, add_zero_attn=add_zero_attn), + forward_input=FunctionInput(make_input((3, 3)), make_input((3, 3)), make_input((3, 3)), + key_padding_mask=key_padding_mask, attn_mask=attn_mask), + reference_fn=no_batch_dim_reference_mha, + ) + ) + samples.append( + ModuleInput( + constructor_input=FunctionInput(embed_dim=3, num_heads=3, batch_first=False, + bias=bias, add_bias_kv=add_bias_kv, add_zero_attn=add_zero_attn), + forward_input=FunctionInput(make_input((3, 3)), make_input((3, 3)), make_input((3, 3)), + key_padding_mask=key_padding_mask, attn_mask=attn_mask), + reference_fn=partial(no_batch_dim_reference_mha, batch_first=False), + ) + ) + + return samples + + +def module_inputs_torch_nn_RNN_GRU_Cell(module_info, device, dtype, requires_grad, training, **kwargs): + # Currently all samples below are for validating the no-batch-dim support. + make_input = partial(make_tensor, device=device, dtype=dtype, requires_grad=requires_grad) + samples = [ + ModuleInput( + constructor_input=FunctionInput(5, 10), + forward_input=FunctionInput(make_input(5), make_input(10)), + reference_fn=no_batch_dim_reference_fn, + ), + ModuleInput( + constructor_input=FunctionInput(5, 10, bias=True), + forward_input=FunctionInput(make_input(5), make_input(10)), + reference_fn=no_batch_dim_reference_fn, + ) + ] + + is_rnn = kwargs.get('is_rnn', False) + if is_rnn: + # RNN also supports `nonlinearity` argument. + # `tanh` is the default, so we check with `relu` + samples.append( + ModuleInput( + constructor_input=FunctionInput(5, 10, bias=True, nonlinearity='relu'), + forward_input=FunctionInput(make_input(5), make_input(10)), + reference_fn=no_batch_dim_reference_fn, + ) + ) + + return samples + + +def module_inputs_torch_nn_LSTMCell(module_info, device, dtype, requires_grad, training, **kwargs): + # Currently all samples below are for validating the no-batch-dim support. + make_input = partial(make_tensor, device=device, dtype=dtype, requires_grad=requires_grad) + samples = ( + ModuleInput( + constructor_input=FunctionInput(5, 10), + forward_input=FunctionInput(make_input(5), (make_input(10), make_input(10))), + reference_fn=no_batch_dim_reference_lstmcell, + ), + ModuleInput( + constructor_input=FunctionInput(5, 10, bias=True), + forward_input=FunctionInput(make_input(5), (make_input(10), make_input(10))), + reference_fn=no_batch_dim_reference_lstmcell, + ), + ) + + return samples + +def make_packed_sequence(inp, batch_sizes): + required_grad = inp.requires_grad + inp.requires_grad_(False) # user won't have access to inp so won't be able to get its grads + seq = pack_padded_sequence(inp, batch_sizes) + seq.data.requires_grad_(required_grad) + return seq + + +def module_inputs_torch_nn_RNN_GRU(module_info, device, dtype, requires_grad, training, with_packed_sequence=False, **kwargs): + # Currently all samples below are for validating the no-batch-dim support. + make_input = partial(make_tensor, device=device, dtype=dtype, requires_grad=requires_grad) + is_rnn = kwargs['is_rnn'] + nonlinearity = ('relu', 'tanh') + bias = (False, True) + batch_first = (False, True) + bidirectional = (False, True) + + samples = [] + if is_rnn: + prod_gen = product(nonlinearity, bias, batch_first, bidirectional) + else: + prod_gen = product(bias, batch_first, bidirectional) + + for args in prod_gen: + if is_rnn: + nl, b, b_f, bidir = args + else: + b, b_f, bidir = args + + cons_args = {'input_size': 2, 'hidden_size': 2, 'num_layers': 2, + 'batch_first': b_f, 'bias': b, 'bidirectional': bidir} + cons_args_hidden = {'input_size': 2, 'hidden_size': 3, 'num_layers': 2, + 'batch_first': b_f, 'bias': b, 'bidirectional': bidir} + + if is_rnn: + cons_args['nonlinearity'] = nl + cons_args_hidden['nonlinearity'] = nl + samples.append( + ModuleInput( + constructor_input=FunctionInput(**cons_args), + forward_input=FunctionInput(make_input((3, 2))), + reference_fn=partial(no_batch_dim_reference_rnn_gru, batch_first=b_f), + ) + ) + samples.append( + ModuleInput( + constructor_input=FunctionInput(**cons_args_hidden), + forward_input=FunctionInput(make_input((3, 2)), make_input((4 if bidir else 2, 3))), + reference_fn=partial(no_batch_dim_reference_rnn_gru, batch_first=b_f), + ) + ) + if with_packed_sequence: + samples.append( + ModuleInput( + constructor_input=FunctionInput(**cons_args), + forward_input=FunctionInput(make_packed_sequence(make_input((5, 2, 2)), torch.tensor([5, 3]))), + reference_fn=partial(no_batch_dim_reference_rnn_gru, batch_first=b_f), + ) + ) + samples.append( + ModuleInput( + constructor_input=FunctionInput(**cons_args), + forward_input=FunctionInput(make_packed_sequence(make_input((5, 5, 2)), torch.tensor([5, 3, 3, 2, 2]))), + reference_fn=partial(no_batch_dim_reference_rnn_gru, batch_first=b_f), + ) + ) + + return samples + + +def module_inputs_torch_nn_LSTM(module_info, device, dtype, requires_grad, training, **kwargs): + # Currently all samples below are for validating the no-batch-dim support. + make_input = partial(make_tensor, device=device, dtype=dtype, requires_grad=requires_grad) + bias = (False, True) + batch_first = (False, True) + bidirectional = (False, True) + proj_sizes = (0, 2) + + samples = [] + prod_gen = product(bias, batch_first, bidirectional, proj_sizes) + + for args in prod_gen: + b, b_f, bidir, proj_size = args + hidden_size = 3 + cons_args = {'input_size': 2, 'hidden_size': hidden_size, 'num_layers': 2, 'proj_size': proj_size, + 'batch_first': b_f, 'bias': b, 'bidirectional': bidir} + cons_args_hidden = {'input_size': 2, 'hidden_size': hidden_size, 'num_layers': 2, 'proj_size': proj_size, + 'batch_first': b_f, 'bias': b, 'bidirectional': bidir} + + samples.append( + ModuleInput( + constructor_input=FunctionInput(**cons_args), + forward_input=FunctionInput(make_input((2, 2))), + reference_fn=partial(no_batch_dim_reference_lstm, batch_first=b_f), + ) + ) + + h_out = proj_size if proj_size > 0 else hidden_size + hx = (make_input((4 if bidir else 2, h_out)), make_input((4 if bidir else 2, hidden_size))) + samples.append( + ModuleInput( + constructor_input=FunctionInput(**cons_args_hidden), + forward_input=FunctionInput(make_input((3, 2)), hx), + reference_fn=partial(no_batch_dim_reference_lstm, batch_first=b_f), + ) + ) + + + return samples + + + +def module_inputs_torch_nn_ReflectionPad1d(module_info, device, dtype, requires_grad, training, **kwargs): + make_input = partial(make_tensor, device=device, dtype=dtype, requires_grad=requires_grad) + + return [ + ModuleInput( + constructor_input=FunctionInput(1), + forward_input=FunctionInput(make_input((2, 3))), + reference_fn=no_batch_dim_reference_fn, + ), + ModuleInput( + constructor_input=FunctionInput((1, 2)), + forward_input=FunctionInput(make_input((2, 3, 4))), + ), + ] + +def module_inputs_torch_nn_ReflectionPad2d(module_info, device, dtype, requires_grad, training, **kwargs): + make_input = partial(make_tensor, device=device, dtype=dtype, requires_grad=requires_grad) + + return [ + ModuleInput( + constructor_input=FunctionInput(1), + forward_input=FunctionInput(make_input((3, 4, 5))), + reference_fn=no_batch_dim_reference_fn, + ), + ModuleInput( + constructor_input=FunctionInput((1, 2, 3, 4)), + forward_input=FunctionInput(make_input((3, 4, 5, 6))), + ), + ] + +def module_inputs_torch_nn_ReflectionPad3d(module_info, device, dtype, requires_grad, training, **kwargs): + make_input = partial(make_tensor, device=device, dtype=dtype, requires_grad=requires_grad) + + return [ + ModuleInput( + constructor_input=FunctionInput(1), + forward_input=FunctionInput(make_input((2, 3, 4, 5))), + reference_fn=no_batch_dim_reference_fn + ), + ModuleInput( + constructor_input=FunctionInput((1, 2, 1, 2, 1, 2)), + forward_input=FunctionInput(make_input((3, 3, 3, 3, 3))), + ), + ] + +def module_inputs_torch_nn_ReplicationPad1d(module_info, device, dtype, requires_grad, training, **kwargs): + make_input = partial(make_tensor, device=device, dtype=dtype, requires_grad=requires_grad) + + return [ + ModuleInput( + constructor_input=FunctionInput(1), + forward_input=FunctionInput(make_input((3, 4))), + reference_fn=no_batch_dim_reference_fn + ), + ModuleInput( + constructor_input=FunctionInput((1, 2)), + forward_input=FunctionInput(make_input((3, 4, 5))), + ), + ] + +def module_inputs_torch_nn_ReplicationPad2d(module_info, device, dtype, requires_grad, training, **kwargs): + make_input = partial(make_tensor, device=device, dtype=dtype, requires_grad=requires_grad) + + return [ + ModuleInput( + constructor_input=FunctionInput(1), + forward_input=FunctionInput(make_input((3, 4, 5))), + reference_fn=no_batch_dim_reference_fn, + ), + ModuleInput( + constructor_input=FunctionInput((1, 2, 3, 4)), + forward_input=FunctionInput(make_input((3, 4, 5, 6))), + ), + ] + +def module_inputs_torch_nn_ReplicationPad3d(module_info, device, dtype, requires_grad, training, **kwargs): + make_input = partial(make_tensor, device=device, dtype=dtype, requires_grad=requires_grad) + + return [ + ModuleInput( + constructor_input=FunctionInput(1), + forward_input=FunctionInput(make_input((3, 4, 5, 6))), + reference_fn=no_batch_dim_reference_fn, + ), + ModuleInput( + constructor_input=FunctionInput((1, 2, 3, 4, 5, 6)), + forward_input=FunctionInput(make_input((3, 4, 5, 6, 7))), + ), + ] + +def module_inputs_torch_nn_ZeroPad1d(module_info, device, dtype, requires_grad, training, **kwargs): + make_input = partial(make_tensor, device=device, dtype=dtype, requires_grad=requires_grad) + + return [ + ModuleInput( + constructor_input=FunctionInput(1), + forward_input=FunctionInput(make_input((3, 4))), + reference_fn=no_batch_dim_reference_fn, + ), + ModuleInput( + constructor_input=FunctionInput((1, 2)), + forward_input=FunctionInput(make_input((3, 4, 5))), + ), + ] + +def module_inputs_torch_nn_ZeroPad2d(module_info, device, dtype, requires_grad, training, **kwargs): + make_input = partial(make_tensor, device=device, dtype=dtype, requires_grad=requires_grad) + + return [ + ModuleInput( + constructor_input=FunctionInput(1), + forward_input=FunctionInput(make_input((1, 2, 3))), + reference_fn=no_batch_dim_reference_fn + ), + ModuleInput( + constructor_input=FunctionInput((1, 2, 3, 4)), + forward_input=FunctionInput(make_input((1, 2, 3, 4))), + ), + ] + +def module_inputs_torch_nn_ZeroPad3d(module_info, device, dtype, requires_grad, training, **kwargs): + make_input = partial(make_tensor, device=device, dtype=dtype, requires_grad=requires_grad) + + return [ + ModuleInput( + constructor_input=FunctionInput(1), + forward_input=FunctionInput(make_input((3, 4, 5, 6))), + reference_fn=no_batch_dim_reference_fn, + ), + ModuleInput( + constructor_input=FunctionInput((1, 2, 3, 4, 5, 6)), + forward_input=FunctionInput(make_input((1, 2, 3, 4, 5))), + ), + ] + +def module_inputs_torch_nn_ConstantPad1d(module_info, device, dtype, requires_grad, training, **kwargs): + make_input = partial(make_tensor, device=device, dtype=dtype, requires_grad=requires_grad) + + return [ + ModuleInput( + constructor_input=FunctionInput(1, 2), + forward_input=FunctionInput(make_input((3, 4))), + reference_fn=no_batch_dim_reference_fn, + ), + ModuleInput( + constructor_input=FunctionInput((1, 2), 3), + forward_input=FunctionInput(make_input((3, 4, 5))), + ), + ] + +def module_inputs_torch_nn_ConstantPad2d(module_info, device, dtype, requires_grad, training, **kwargs): + make_input = partial(make_tensor, device=device, dtype=dtype, requires_grad=requires_grad) + + return [ + ModuleInput( + constructor_input=FunctionInput(1, 3), + forward_input=FunctionInput(make_input((3, 4, 5))), + reference_fn=no_batch_dim_reference_fn + ), + ModuleInput( + constructor_input=FunctionInput((1, 2, 3, 4), 5), + forward_input=FunctionInput(make_input((1, 2, 3, 4))), + ), + ] + +def module_inputs_torch_nn_ConstantPad3d(module_info, device, dtype, requires_grad, training, **kwargs): + make_input = partial(make_tensor, device=device, dtype=dtype, requires_grad=requires_grad) + + return [ + ModuleInput( + constructor_input=FunctionInput(1, 3), + forward_input=FunctionInput(make_input((3, 4, 5, 6))), + reference_fn=no_batch_dim_reference_fn, + ), + ModuleInput( + constructor_input=FunctionInput((1, 2, 3, 4, 5, 6), 7), + forward_input=FunctionInput(make_input((1, 2, 1, 2, 1))), + ), + ] + +def module_inputs_torch_nn_CircularPad1d(module_info, device, dtype, requires_grad, training, **kwargs): + make_input = partial(make_tensor, device=device, dtype=dtype, requires_grad=requires_grad) + + def padding1d_circular_ref(inp, pad): + r""" input: + [[[0., 1., 2.], + [3., 4., 5.]]] + pad: (1, 2) + output: + [[[2., 0., 1., 2., 0., 1.], + [5., 3., 4., 5., 3., 4.]]] + """ + return torch.cat([inp[:, :, -pad[0]:], inp, inp[:, :, :pad[1]]], dim=2) + + return [ + ModuleInput( + constructor_input=FunctionInput(1), + forward_input=FunctionInput(make_input((3, 4))), + reference_fn=no_batch_dim_reference_fn + ), + ModuleInput( + constructor_input=FunctionInput((1, 2)), + forward_input=FunctionInput(make_input((1, 2, 3))), + reference_fn=lambda m, p, i: padding1d_circular_ref(i, m.padding), + ), + ModuleInput( + constructor_input=FunctionInput((3, 1)), + forward_input=FunctionInput(make_input((1, 2, 3))), + reference_fn=lambda m, p, i: padding1d_circular_ref(i, m.padding), + ), + ModuleInput( + constructor_input=FunctionInput((3, 3)), + forward_input=FunctionInput(make_input((1, 2, 3))), + reference_fn=lambda m, p, i: padding1d_circular_ref(i, m.padding), + ), + ] + +def module_inputs_torch_nn_CircularPad2d(module_info, device, dtype, requires_grad, training, **kwargs): + make_input = partial(make_tensor, device=device, dtype=dtype, requires_grad=requires_grad) + + def padding2d_circular_ref(inp, pad): + r"""input: + [[[[0., 1., 2], + [3., 4., 5.]]]] + pad: (1, 2, 2, 1) + output: + [[[[2., 0., 1., 2., 0., 1.], + [5., 3., 4., 5., 3., 4.], + [2., 0., 1., 2., 0., 1.], + [5., 3., 4., 5., 3., 4.], + [2., 0., 1., 2., 0., 1.]]]] + """ + inp = torch.cat([inp[:, :, -pad[2]:], inp, inp[:, :, :pad[3]]], dim=2) + return torch.cat([inp[:, :, :, -pad[0]:], inp, inp[:, :, :, :pad[1]]], dim=3) + + return [ + ModuleInput( + constructor_input=FunctionInput(1), + forward_input=FunctionInput(make_input((3, 4, 5))), + reference_fn=no_batch_dim_reference_fn, + ), + ModuleInput( + constructor_input=FunctionInput((1, 2, 2, 1)), + forward_input=FunctionInput(make_input((1, 1, 2, 3))), + reference_fn=lambda m, p, i: padding2d_circular_ref(i, m.padding), + ), + ModuleInput( + constructor_input=FunctionInput((2, 3, 2, 2)), + forward_input=FunctionInput(make_input((1, 1, 2, 3))), + reference_fn=lambda m, p, i: padding2d_circular_ref(i, m.padding), + ), + ModuleInput( + constructor_input=FunctionInput((3, 3, 3, 1)), + forward_input=FunctionInput(make_input((1, 1, 3, 3))), + reference_fn=lambda m, p, i: padding2d_circular_ref(i, m.padding), + ), + ] + +def module_inputs_torch_nn_CircularPad3d(module_info, device, dtype, requires_grad, training, **kwargs): + make_input = partial(make_tensor, device=device, dtype=dtype, requires_grad=requires_grad) + + + def padding3d_circular_ref(inp, pad): + r"""input: + [[[[[ 0., 1., 2.], + [ 3., 4., 5.]], + [[ 6., 7., 8.], + [ 9., 10., 11.]]]]] + pad: (1, 2, 2, 1, 1, 2) + output: [[[[[ 8., 6., 7., 8., 6., 7.], + [11., 9., 10., 11., 9., 10.], + [ 8., 6., 7., 8., 6., 7.], + [11., 9., 10., 11., 9., 10.], + [ 8., 6., 7., 8., 6., 7.]], + + [[ 2., 0., 1., 2., 0., 1.], + [ 5., 3., 4., 5., 3., 4.], + [ 2., 0., 1., 2., 0., 1.], + [ 5., 3., 4., 5., 3., 4.], + [ 2., 0., 1., 2., 0., 1.]], + + [[ 8., 6., 7., 8., 6., 7.], + [11., 9., 10., 11., 9., 10.], + [ 8., 6., 7., 8., 6., 7.], + [11., 9., 10., 11., 9., 10.], + [ 8., 6., 7., 8., 6., 7.]], + + [[ 2., 0., 1., 2., 0., 1.], + [ 5., 3., 4., 5., 3., 4.], + [ 2., 0., 1., 2., 0., 1.], + [ 5., 3., 4., 5., 3., 4.], + [ 2., 0., 1., 2., 0., 1.]], + + [[ 8., 6., 7., 8., 6., 7.], + [11., 9., 10., 11., 9., 10.], + [ 8., 6., 7., 8., 6., 7.], + [11., 9., 10., 11., 9., 10.], + [ 8., 6., 7., 8., 6., 7.]]]]] + """ + inp = torch.cat([inp[:, :, -pad[4]:], inp, inp[:, :, :pad[5]]], dim=2) + inp = torch.cat([inp[:, :, :, -pad[2]:], inp, inp[:, :, :, :pad[3]]], dim=3) + return torch.cat([inp[:, :, :, :, -pad[0]:], inp, inp[:, :, :, :, :pad[1]]], dim=4) + + return [ + ModuleInput( + constructor_input=FunctionInput(1), + forward_input=FunctionInput(make_input((3, 4, 5, 6))), + reference_fn=no_batch_dim_reference_fn, + ), + ModuleInput( + constructor_input=FunctionInput((1, 2, 1, 2, 1, 2)), + forward_input=FunctionInput(make_input((1, 1, 2, 2, 3))), + reference_fn=lambda m, p, i: padding3d_circular_ref(i, m.padding) + ), + ModuleInput( + constructor_input=FunctionInput((3, 2, 2, 1, 1, 2)), + forward_input=FunctionInput(make_input((1, 1, 2, 2, 3))), + reference_fn=lambda m, p, i: padding3d_circular_ref(i, m.padding) + ), + ModuleInput( + constructor_input=FunctionInput((3, 3, 2, 1, 2, 2)), + forward_input=FunctionInput(make_input((1, 1, 2, 2, 3))), + reference_fn=lambda m, p, i: padding3d_circular_ref(i, m.padding) + ), + ] + + +# All these operators share similar issues on cuDNN and MIOpen +rnn_gru_lstm_module_info_decorators = ( + # RuntimeError: Batching rule not implemented for aten::_cudnn_rnn_backward. + # We could not generate a fallback + DecorateInfo( + unittest.expectedFailure, "TestModule", "test_grad", + active_if=(TEST_CUDNN and not TEST_WITH_ROCM), device_type='cuda' + ), + # NotImplementedError: the derivative for '_cudnn_rnn_backward' is not implemented. + # Double backwards is not supported for CuDNN RNNs due to limitations in the CuDNN API + DecorateInfo( + unittest.expectedFailure, "TestModule", "test_gradgrad", + active_if=(TEST_CUDNN and not TEST_WITH_ROCM), device_type='cuda' + ), + # CUDNN GRU doesn't accept non-contiguous hx + DecorateInfo( + unittest.expectedFailure, "TestModule", "test_non_contiguous_tensors", + active_if=(TEST_CUDNN and not TEST_WITH_ROCM), device_type='cuda' + ), + # MIOPEN GRU doesn't accept non-contiguous hx (this is dispatched to miopen only for float). + DecorateInfo( + unittest.expectedFailure, "TestModule", "test_non_contiguous_tensors", + active_if=(TEST_CUDNN and TEST_WITH_ROCM), dtypes=(torch.float,), device_type='cuda' + ), + DecorateInfo( + skipCUDAVersionIn([(11, 7)]), "TestExpandedWeightModule", "test_module", + device_type='cuda' + ), + DecorateInfo( + skipCUDAVersionIn([(11, 7)]), "TestDecomp", "test_rnn_decomp_module", + device_type='cuda' + ) +) + +# Start of module error inputs functions. + +def module_error_inputs_torch_nn_RNN_GRU_Cell(module_info, device, dtype, requires_grad, training, **kwargs): + make_input = partial(make_tensor, device=device, dtype=dtype, requires_grad=requires_grad) + samples = [ + ErrorModuleInput( + ModuleInput( + constructor_input=FunctionInput(10, 20), + forward_input=FunctionInput(make_input(3, 11), make_input(3, 20)), + ), + error_on=ModuleErrorEnum.FORWARD_ERROR, + error_type=RuntimeError, + error_regex="input has inconsistent input_size: got 11 expected 10" + ), + ErrorModuleInput( + ModuleInput( + constructor_input=FunctionInput(10, 20), + forward_input=FunctionInput(make_input(3, 10), make_input(3, 21)), + ), + error_on=ModuleErrorEnum.FORWARD_ERROR, + error_type=RuntimeError, + error_regex="hidden0 has inconsistent hidden_size: got 21, expected 20" + ), + ErrorModuleInput( + ModuleInput( + constructor_input=FunctionInput(10, 20), + forward_input=FunctionInput(make_input(3, 10), make_input(5, 20)), + ), + error_on=ModuleErrorEnum.FORWARD_ERROR, + error_type=RuntimeError, + error_regex="Input batch size 3 doesn't match hidden0 batch size 5" + ), + ErrorModuleInput( + ModuleInput( + constructor_input=FunctionInput(10, 20), + forward_input=FunctionInput(make_input(3, 10), make_input(3, 1, 1, 20)), + ), + error_on=ModuleErrorEnum.FORWARD_ERROR, + error_type=ValueError, + error_regex="Expected hidden to be 1D or 2D, got 4D instead" + ), + ErrorModuleInput( + ModuleInput( + constructor_input=FunctionInput(10, 20, 'relu'), + forward_input=FunctionInput(make_input(3, 10), make_input(3, 21)), + ), + error_on=ModuleErrorEnum.FORWARD_ERROR, + error_type=RuntimeError, + error_regex="hidden0 has inconsistent hidden_size: got 21, expected 20" + ), + ErrorModuleInput( + ModuleInput( + constructor_input=FunctionInput(10, 20, 'tanh'), + forward_input=FunctionInput(make_input(3, 10), make_input(3, 21)), + ), + error_on=ModuleErrorEnum.FORWARD_ERROR, + error_type=RuntimeError, + error_regex="hidden0 has inconsistent hidden_size: got 21, expected 20" + ), + ] + return samples + +def module_error_inputs_torch_nn_LSTMCell(module_info, device, dtype, requires_grad, training, **kwargs): + make_input = partial(make_tensor, device=device, dtype=dtype, requires_grad=requires_grad) + samples = [ + ErrorModuleInput( + ModuleInput( + constructor_input=FunctionInput(10, 20), + forward_input=FunctionInput(make_input(3, 11), (make_input(3, 20), make_input(3, 20))), + ), + error_on=ModuleErrorEnum.FORWARD_ERROR, + error_type=RuntimeError, + error_regex="input has inconsistent input_size: got 11 expected 10" + ), + ErrorModuleInput( + ModuleInput( + constructor_input=FunctionInput(10, 20), + forward_input=FunctionInput(make_input(3, 10), (make_input(3, 21), make_input(3, 21))), + ), + error_on=ModuleErrorEnum.FORWARD_ERROR, + error_type=RuntimeError, + error_regex="hidden0 has inconsistent hidden_size: got 21, expected 20" + ), + ErrorModuleInput( + ModuleInput( + constructor_input=FunctionInput(10, 20), + forward_input=FunctionInput(make_input(3, 10), (make_input(5, 20), make_input(5, 20))), + ), + error_on=ModuleErrorEnum.FORWARD_ERROR, + error_type=RuntimeError, + error_regex="Input batch size 3 doesn't match hidden0 batch size 5" + ), + ErrorModuleInput( + ModuleInput( + constructor_input=FunctionInput(10, 20), + forward_input=FunctionInput(make_input(3, 10), (make_input(3, 1, 1, 20), make_input(3, 1, 1, 20))), + ), + error_on=ModuleErrorEnum.FORWARD_ERROR, + error_type=ValueError, + error_regex="Expected hx\\[0\\] to be 1D or 2D, got 4D instead" + ), + ] + return samples + + +def module_error_inputs_torch_nn_RNN_GRU(module_info, device, dtype, requires_grad, training, **kwargs): + samples = [ + ErrorModuleInput( + ModuleInput(constructor_input=FunctionInput(10, 0, 1)), + error_on=ModuleErrorEnum.CONSTRUCTION_ERROR, + error_type=ValueError, + error_regex="hidden_size must be greater than zero" + ), + ErrorModuleInput( + ModuleInput(constructor_input=FunctionInput(10, 10, 0)), + error_on=ModuleErrorEnum.CONSTRUCTION_ERROR, + error_type=ValueError, + error_regex="num_layers must be greater than zero" + ), + ] + return samples + +def module_error_inputs_torch_nn_Pad1d(module_info, device, dtype, requires_grad, training, **kwargs): + make_input = partial(make_tensor, device=device, dtype=dtype, requires_grad=requires_grad) + + is_constant = kwargs.get('is_constant', False) + + return [ + ErrorModuleInput( + ModuleInput( + constructor_input=FunctionInput(1, 3) if is_constant else FunctionInput(3), + forward_input=FunctionInput(make_input((2, 3, 4, 5))), + ), + error_on=ModuleErrorEnum.FORWARD_ERROR, + error_type=ValueError, + error_regex=r"expected 2D or 3D input \(got 4D input\)", + + ), + ] + +def module_error_inputs_torch_nn_Pad2d(module_info, device, dtype, requires_grad, training, **kwargs): + make_input = partial(make_tensor, device=device, dtype=dtype, requires_grad=requires_grad) + + is_constant = kwargs.get('is_constant', False) + + return [ + ErrorModuleInput( + ModuleInput( + constructor_input=FunctionInput(1, 3) if is_constant else FunctionInput(3), + forward_input=FunctionInput(make_input((2, 3))), + ), + error_on=ModuleErrorEnum.FORWARD_ERROR, + error_type=ValueError, + error_regex=r"expected 3D or 4D input \(got 2D input\)", + + ), + ] + +def module_error_inputs_torch_nn_Pad3d(module_info, device, dtype, requires_grad, training, **kwargs): + make_input = partial(make_tensor, device=device, dtype=dtype, requires_grad=requires_grad) + + is_constant = kwargs.get('is_constant', False) + + return [ + ErrorModuleInput( + ModuleInput( + constructor_input=FunctionInput(1, 3) if is_constant else FunctionInput(3), + forward_input=FunctionInput(make_input((2, 3))), + ), + error_on=ModuleErrorEnum.FORWARD_ERROR, + error_type=ValueError, + error_regex=r"expected 4D or 5D input \(got 2D input\)", + + ), + ] + + +# Database of ModuleInfo entries in alphabetical order. +module_db: List[ModuleInfo] = [ + ModuleInfo(torch.nn.AdaptiveAvgPool1d, + module_inputs_func=module_inputs_torch_nn_AdaptiveAvgPool1d, + skips=( + # Fails on MPS backend if input/output sizes are not divisible + DecorateInfo(skipMPS),) + ), + ModuleInfo(torch.nn.AdaptiveAvgPool2d, + gradcheck_nondet_tol=GRADCHECK_NONDET_TOL, + module_inputs_func=module_inputs_torch_nn_AdaptiveAvgPool2d, + skips=( + # Fails on MPS backend if input/output sizes are not divisible + DecorateInfo(skipMPS), + # Fails on backward check if output size is 1x1 + DecorateInfo( + unittest.expectedFailure, + 'TestModule', + 'test_memory_format', + active_if=lambda p: p['training'], + ),) + ), + ModuleInfo(torch.nn.AdaptiveAvgPool3d, + gradcheck_nondet_tol=GRADCHECK_NONDET_TOL, + module_inputs_func=module_inputs_torch_nn_AdaptiveAvgPool3d, + skips=( + DecorateInfo(unittest.skip("Skipped!"), 'TestModule', 'test_memory_format'), + # not supported on MPS backend + DecorateInfo(skipMPS),) + ), + ModuleInfo(torch.nn.AdaptiveMaxPool1d, + module_inputs_func=module_inputs_torch_nn_AdaptiveMaxPool1d, + ), + ModuleInfo(torch.nn.AdaptiveMaxPool2d, + gradcheck_nondet_tol=GRADCHECK_NONDET_TOL, + module_inputs_func=module_inputs_torch_nn_AdaptiveMaxPool2d, + ), + ModuleInfo(torch.nn.AdaptiveMaxPool3d, + gradcheck_nondet_tol=GRADCHECK_NONDET_TOL, + module_inputs_func=module_inputs_torch_nn_AdaptiveMaxPool3d, + skips=( + DecorateInfo(unittest.skip("Skipped!"), 'TestModule', 'test_memory_format'), + # not supported on MPS backend + DecorateInfo(skipMPS),) + ), + ModuleInfo(torch.nn.AvgPool1d, + module_inputs_func=module_inputs_torch_nn_AvgPool1d, + ), + ModuleInfo(torch.nn.AvgPool2d, + module_inputs_func=module_inputs_torch_nn_AvgPool2d, + skips=( + # The difference between channels last backward and + # channels first backward of AvgPool2d on CUDA is too large + # See https://github.com/pytorch/pytorch/issues/107201 + DecorateInfo( + unittest.expectedFailure, + 'TestModule', + 'test_memory_format', + active_if=lambda p: p['training'], + device_type='cuda', + ), + # error: input types 'tensor' and 'tensor<15x10xf16>' are not broadcast compatible + DecorateInfo(skipIfMps, 'TestModule', dtypes=[torch.float16]),), + ), + ModuleInfo(torch.nn.AvgPool3d, + module_inputs_func=module_inputs_torch_nn_AvgPool3d, + gradcheck_nondet_tol=GRADCHECK_NONDET_TOL, + skips=( + # No channels_last support for AvgPool1d as it does not take 4D inputs + DecorateInfo(unittest.skip("Skipped!"), 'TestModule', 'test_memory_format'), + # not supported on MPS backend + DecorateInfo(skipMPS),) + ), + ModuleInfo(torch.nn.BatchNorm1d, + train_and_eval_differ=True, + module_inputs_func=module_inputs_torch_nn_BatchNorm1d, + skips=( + # test fails on MPS backend and is being investigated. + # See https://github.com/pytorch/pytorch/issues/100914 + DecorateInfo(skipMPS), + # tracking here rather than in the list in test_aotdispatch.py as eval mode passes + # RuntimeError: tried to get Double out of SymInt + DecorateInfo( + unittest.expectedFailure, 'TestEagerFusionModuleInfo', + 'test_aot_autograd_symbolic_module_exhaustive', + active_if=lambda p: p['training'] + ), + # torch._subclasses.fake_tensor.DataDependentOutputException: aten._local_scalar_dense.default + DecorateInfo( + unittest.expectedFailure, 'TestEagerFusionModuleInfo', + 'test_aot_autograd_module_exhaustive', + active_if=lambda p: p['training'] + )) + ), + ModuleInfo(torch.nn.BatchNorm2d, + train_and_eval_differ=True, + module_inputs_func=module_inputs_torch_nn_BatchNorm2d, + skips=( + # test fails on MPS backend and is being investigated. + # See https://github.com/pytorch/pytorch/issues/100914 + DecorateInfo(skipMPS), + # tracking here rather than in the list in test_aotdispatch.py as eval mode passes + # RuntimeError: tried to get Double out of SymInt + DecorateInfo( + unittest.expectedFailure, 'TestEagerFusionModuleInfo', + 'test_aot_autograd_symbolic_module_exhaustive', + active_if=lambda p: p['training'] + ), + # torch._subclasses.fake_tensor.DataDependentOutputException: aten._local_scalar_dense.default + DecorateInfo( + unittest.expectedFailure, 'TestEagerFusionModuleInfo', + 'test_aot_autograd_module_exhaustive', + active_if=lambda p: p['training'] + ),) + ), + ModuleInfo(torch.nn.BatchNorm3d, + train_and_eval_differ=True, + module_inputs_func=module_inputs_torch_nn_BatchNorm3d, + skips=( + # not supported on MPS backend + DecorateInfo(skipMPS), + # tracking here rather than in the list in test_aotdispatch.py as eval mode passes + # RuntimeError: tried to get Double out of SymInt + DecorateInfo( + unittest.expectedFailure, 'TestEagerFusionModuleInfo', + 'test_aot_autograd_symbolic_module_exhaustive', + active_if=lambda p: p['training'] + ), + # torch._subclasses.fake_tensor.DataDependentOutputException: aten._local_scalar_dense.default + DecorateInfo( + unittest.expectedFailure, 'TestEagerFusionModuleInfo', + 'test_aot_autograd_module_exhaustive', + active_if=lambda p: p['training'] + ),) + ), + ModuleInfo(torch.nn.CELU, + module_inputs_func=module_inputs_torch_nn_CELU, + # not MPS specific, will be xfailed for all devices in next PR + skips=( + DecorateInfo(unittest.expectedFailure, 'TestModule', 'test_check_inplace', + device_type='mps', dtypes=[torch.float16]),) + ), + ModuleInfo(torch.nn.Conv1d, + module_inputs_func=partial(module_inputs_torch_nn_ConvNd, N=1, lazy=False), + gradcheck_nondet_tol=GRADCHECK_NONDET_TOL, + module_memformat_affects_out=True, + skips=( + # channels_last support on cuda requires cudnn >= 7603 + DecorateInfo(skipCUDAIfCudnnVersionLessThan(version=7603), 'TestModule', 'test_memory_format'), + # Failure on ROCM for float32 issue #70125 + DecorateInfo(skipCUDAIfRocm, 'TestModule', 'test_memory_format', dtypes=[torch.float32]), + # See #119108: MPSNDArrayConvolutionA14.mm:3976: failed assertion `destination datatype must be fp32' + # xfail does not work due to Fatal Python error: Aborted + DecorateInfo(skipIfMps, "TestModule", "test_memory_format", + device_type='mps', dtypes=[torch.float16]), + DecorateInfo(skipIfMps, "TestModule", "test_non_contiguous_tensors", + device_type='mps', dtypes=[torch.float16]), + ), + decorators=( + DecorateInfo(precisionOverride({torch.float32: 1e-04}), 'TestModule', 'test_memory_format'), + )), + ModuleInfo(torch.nn.Conv2d, + module_inputs_func=partial(module_inputs_torch_nn_ConvNd, N=2, lazy=False), + gradcheck_nondet_tol=GRADCHECK_NONDET_TOL, + module_memformat_affects_out=True, + skips=( + # channels_last support on cuda requires cudnn >= 7603 + DecorateInfo(skipCUDAIfCudnnVersionLessThan(version=7603), 'TestModule', 'test_memory_format'), + # Failure on ROCM for float32 issue #70125 + DecorateInfo(skipCUDAIfRocm, 'TestModule', 'test_memory_format', dtypes=[torch.float32]), + # This was wrongly being skipped before and needs investigation. + # See https://github.com/pytorch/pytorch/issues/80247 + DecorateInfo(unittest.expectedFailure, "TestModule", "test_memory_format", + device_type='cuda', dtypes=[torch.float64]), + # Fails with channels last test on MPS backend + DecorateInfo(unittest.expectedFailure, "TestModule", "test_memory_format", + device_type='mps', dtypes=[torch.float32]), + # See #119108: MPSNDArrayConvolutionA14.mm:3976: failed assertion `destination datatype must be fp32' + # xfail does not work due to Fatal Python error: Aborted + DecorateInfo(skipIfMps, "TestModule", "test_memory_format", + device_type='mps', dtypes=[torch.float16]), + DecorateInfo(skipIfMps, "TestModule", "test_non_contiguous_tensors", + device_type='mps', dtypes=[torch.float16]), + ), + decorators=( + DecorateInfo(precisionOverride({torch.float32: 1e-04}), 'TestModule', 'test_memory_format'), + )), + ModuleInfo(torch.nn.Conv3d, + module_inputs_func=partial(module_inputs_torch_nn_ConvNd, N=3, lazy=False), + gradcheck_nondet_tol=GRADCHECK_NONDET_TOL, + module_memformat_affects_out=True, + skips=( + # channels_last support on cuda requires cudnn >= 8005 + DecorateInfo(skipCUDAIfCudnnVersionLessThan(version=8005), 'TestModule', 'test_memory_format'), + # Failure on ROCM for float32 issue #70125 + DecorateInfo(skipCUDAIfRocm, 'TestModule', 'test_memory_format', dtypes=[torch.float32]), + # Conv3d is not supported on MPS backend + DecorateInfo(skipMPS), + # This was wrongly being skipped before and needs investigation. + # See https://github.com/pytorch/pytorch/issues/80247 + DecorateInfo(unittest.expectedFailure, "TestModule", "test_memory_format"), + ), + decorators=( + DecorateInfo(precisionOverride({torch.float32: 1e-04}), 'TestModule', 'test_memory_format'), + )), + ModuleInfo(torch.nn.ConvTranspose1d, + module_inputs_func=partial(module_inputs_torch_nn_ConvNd, N=1, lazy=False, transposed=True), + gradcheck_nondet_tol=GRADCHECK_NONDET_TOL, + module_memformat_affects_out=True, + dtypes=floating_and_complex_types_and(torch.chalf), + skips=( + # channels_last support on cuda requires cudnn >= 7603 + DecorateInfo(skipCUDAIfCudnnVersionLessThan(version=7603), 'TestModule', 'test_memory_format'), + # Failure on ROCM for float32 issue #70125 + DecorateInfo(skipCUDAIfRocm, 'TestModule', 'test_memory_format', dtypes=[torch.float32]), + # Not implmented for chalf on CPU + DecorateInfo(unittest.expectedFailure, 'TestModule', 'test_cpu_gpu_parity', + dtypes=(torch.chalf,), device_type='cuda'), + # See #119108: MPSNDArrayConvolutionA14.mm:3976: failed assertion `destination datatype must be fp32' + # xfail does not work due to Fatal Python error: Aborted + DecorateInfo(skipIfMps, "TestModule", "test_memory_format", + device_type='mps', dtypes=[torch.float16]), + DecorateInfo(skipIfMps, "TestModule", "test_non_contiguous_tensors", + device_type='mps', dtypes=[torch.float16]),), + decorators=( + DecorateInfo(precisionOverride({torch.float32: 1e-04}), 'TestModule', 'test_memory_format'), + DecorateInfo(precisionOverride({torch.chalf: 5e-03}), 'TestModule', 'test_memory_format'), + )), + ModuleInfo(torch.nn.ConvTranspose2d, + module_inputs_func=partial(module_inputs_torch_nn_ConvNd, N=2, lazy=False, transposed=True), + gradcheck_nondet_tol=GRADCHECK_NONDET_TOL, + module_memformat_affects_out=True, + dtypes=floating_and_complex_types_and(torch.chalf), + skips=( + # channels_last support on cuda requires cudnn >= 7603 + DecorateInfo(skipCUDAIfCudnnVersionLessThan(version=7603), 'TestModule', 'test_memory_format'), + # Failure on ROCM for float32 issue #70125 + DecorateInfo(skipCUDAIfRocm, 'TestModule', 'test_memory_format', dtypes=[torch.float32]), + # Fails on backward check because ViewAsRealBackward apply contiguous for grad + DecorateInfo(unittest.expectedFailure, 'TestModule', 'test_memory_format', + dtypes=(torch.complex32, torch.complex64, torch.complex128)), + # This was wrongly being skipped before and needs investigation. + # See https://github.com/pytorch/pytorch/issues/80247 + DecorateInfo(unittest.expectedFailure, "TestModule", "test_memory_format", device_type='cuda', + dtypes=[torch.float64, torch.complex128]), + # Fails with channels last test on MPS backend + DecorateInfo(unittest.expectedFailure, "TestModule", "test_memory_format", + device_type='mps', dtypes=[torch.float32]), + # Not implemented for chalf on CPU + DecorateInfo(unittest.expectedFailure, 'TestModule', 'test_cpu_gpu_parity', + dtypes=(torch.chalf,), device_type='cuda'), + # See #119108: MPSNDArrayConvolutionA14.mm:3976: failed assertion `destination datatype must be fp32' + # xfail does not work due to Fatal Python error: Aborted + DecorateInfo(skipIfMps, "TestModule", "test_memory_format", + device_type='mps', dtypes=[torch.float16]), + DecorateInfo(skipIfMps, "TestModule", "test_non_contiguous_tensors", + device_type='mps', dtypes=[torch.float16]), + ), + decorators=( + DecorateInfo(precisionOverride({torch.float32: 1e-04}), 'TestModule', 'test_memory_format'), + DecorateInfo(precisionOverride({torch.chalf: 5e-03}), 'TestModule', 'test_memory_format'), + )), + ModuleInfo(torch.nn.ConvTranspose3d, + module_inputs_func=partial(module_inputs_torch_nn_ConvNd, N=3, lazy=False, transposed=True), + dtypes=floating_and_complex_types_and(torch.chalf), + gradcheck_nondet_tol=GRADCHECK_NONDET_TOL, + module_memformat_affects_out=True, + skips=( + # channels_last support on cuda requires cudnn >= 8005 + DecorateInfo(skipCUDAIfCudnnVersionLessThan(version=8005), 'TestModule', 'test_memory_format'), + # Failure on ROCM for float32 issue #70125 + DecorateInfo(skipCUDAIfRocm, 'TestModule', 'test_memory_format', dtypes=[torch.float32]), + # ConvTranspose3d is not supported on MPS backend + DecorateInfo(skipMPS), + # This was wrongly being skipped before and needs investigation. + # See https://github.com/pytorch/pytorch/issues/80247 + DecorateInfo(unittest.expectedFailure, "TestModule", "test_memory_format"), + # These fail only on ROCm + DecorateInfo(unittest.expectedFailure, "TestModule", "test_memory_format", device_type='cuda', + dtypes=[torch.complex32, torch.complex64], active_if=TEST_WITH_ROCM), + # Not implmented for chalf on CPU + DecorateInfo(unittest.expectedFailure, 'TestModule', 'test_cpu_gpu_parity', + dtypes=(torch.chalf,), device_type='cuda'), + ), + decorators=( + DecorateInfo(precisionOverride({torch.float32: 1e-04}), 'TestModule', 'test_memory_format'), + DecorateInfo(precisionOverride({torch.complex64: 1e-04}), 'TestModule', 'test_cpu_gpu_parity'), + DecorateInfo(precisionOverride({torch.chalf: 5e-03}), 'TestModule', 'test_memory_format'), + )), + ModuleInfo(torch.nn.CosineEmbeddingLoss, + module_inputs_func=module_inputs_torch_nn_CosineEmbeddingLoss, + skips=( + # No channels_last support for loss functions. + DecorateInfo(unittest.skip("Skipped!"), 'TestModule', 'test_memory_format'),) + ), + ModuleInfo(torch.nn.ELU, + module_inputs_func=module_inputs_torch_nn_ELU, + # not MPS specific, will be xfailed for all devices in next PR + skips=( + DecorateInfo(unittest.expectedFailure, 'TestModule', 'test_check_inplace', + device_type='mps', dtypes=[torch.float16]),) + ), + ModuleInfo(torch.nn.FractionalMaxPool2d, + module_inputs_func=module_inputs_torch_nn_FractionalMaxPool2d, + gradcheck_nondet_tol=GRADCHECK_NONDET_TOL, + skips=( + # not supported on MPS backend + DecorateInfo(skipMPS), + DecorateInfo(unittest.skip("Skipped!"), 'TestModule', 'test_memory_format'),) + ), + ModuleInfo(torch.nn.FractionalMaxPool3d, + module_inputs_func=module_inputs_torch_nn_FractionalMaxPool3d, + gradcheck_nondet_tol=GRADCHECK_NONDET_TOL, + skips=( + # not supported on MPS backend + DecorateInfo(skipMPS), + DecorateInfo(unittest.skip("Skipped!"), 'TestModule', 'test_memory_format'),) + ), + ModuleInfo(torch.nn.L1Loss, + module_inputs_func=module_inputs_torch_nn_L1Loss, + skips=( + # No channels_last support for loss functions. + DecorateInfo(unittest.skip("Skipped!"), 'TestModule', 'test_memory_format'),) + ), + ModuleInfo(torch.nn.SmoothL1Loss, + module_inputs_func=module_inputs_torch_nn_SmoothL1Loss, + skips=( + # No channels_last support for loss functions. + DecorateInfo(unittest.skip("Skipped!"), 'TestModule', 'test_memory_format'), + # See #119108: input types 'tensor' and 'tensor<15x10xf16>' are not broadcast compatible + DecorateInfo(skipIfMps, 'TestModule', 'test_non_contiguous_tensors', dtypes=[torch.float16]),) + ), + ModuleInfo(torch.nn.LazyConv1d, + module_inputs_func=partial(module_inputs_torch_nn_ConvNd, N=1, lazy=True), + gradcheck_nondet_tol=GRADCHECK_NONDET_TOL, + module_memformat_affects_out=True, + skips=( + # channels_last support on cuda requires cudnn >= 7603 + DecorateInfo(skipCUDAIfCudnnVersionLessThan(version=7603), 'TestModule', 'test_memory_format'), + # Failure on ROCM for float32 issue #70125 + DecorateInfo(skipCUDAIfRocm, 'TestModule', 'test_memory_format', dtypes=[torch.float32]), + # Lazy modules don't currently play well with ModuleInfo tests on the meta device. + # See https://github.com/pytorch/pytorch/issues/70505 for more info. + DecorateInfo(skipMeta), + # See #119108: MPSNDArrayConvolutionA14.mm:3976: failed assertion `destination datatype must be fp32' + # xfail does not work due to Fatal Python error: Aborted + DecorateInfo(skipIfMps, "TestModule", "test_memory_format", + device_type='mps', dtypes=[torch.float16]), + DecorateInfo(skipIfMps, "TestModule", "test_non_contiguous_tensors", + device_type='mps', dtypes=[torch.float16]), + ), + decorators=( + DecorateInfo(precisionOverride({torch.float32: 1e-04}), 'TestModule', 'test_memory_format'), + )), + ModuleInfo(torch.nn.LazyConv2d, + module_inputs_func=partial(module_inputs_torch_nn_ConvNd, N=2, lazy=True), + gradcheck_nondet_tol=GRADCHECK_NONDET_TOL, + module_memformat_affects_out=True, + skips=( + # channels_last support on cuda requires cudnn >= 7603 + DecorateInfo(skipCUDAIfCudnnVersionLessThan(version=7603), 'TestModule', 'test_memory_format'), + # Failure on ROCM for float32 issue #70125 + DecorateInfo(skipCUDAIfRocm, 'TestModule', 'test_memory_format', dtypes=[torch.float32]), + # Lazy modules don't currently play well with ModuleInfo tests on the meta device. + # See https://github.com/pytorch/pytorch/issues/70505 for more info. + DecorateInfo(skipMeta), + # This was wrongly being skipped before and needs investigation. + # See https://github.com/pytorch/pytorch/issues/80247 + DecorateInfo(unittest.expectedFailure, "TestModule", "test_memory_format", + device_type='cuda', dtypes=[torch.float64]), + # Fails with channels last test on MPS backend + DecorateInfo(unittest.expectedFailure, "TestModule", "test_memory_format", + device_type='mps', dtypes=[torch.float32]), + # See #119108: MPSNDArrayConvolutionA14.mm:3976: failed assertion `destination datatype must be fp32' + # xfail does not work due to Fatal Python error: Aborted + DecorateInfo(skipIfMps, "TestModule", "test_memory_format", + device_type='mps', dtypes=[torch.float16]), + DecorateInfo(skipIfMps, "TestModule", "test_non_contiguous_tensors", + device_type='mps', dtypes=[torch.float16]), + ), + decorators=( + DecorateInfo(precisionOverride({torch.float32: 1e-04}), 'TestModule', 'test_memory_format'), + )), + ModuleInfo(torch.nn.LazyConv3d, + module_inputs_func=partial(module_inputs_torch_nn_ConvNd, N=3, lazy=True), + gradcheck_nondet_tol=GRADCHECK_NONDET_TOL, + module_memformat_affects_out=True, + skips=( + # channels_last support on cuda requires cudnn >= 8005 + DecorateInfo(skipCUDAIfCudnnVersionLessThan(version=8005), 'TestModule', 'test_memory_format'), + # Failure on ROCM for float32 issue #70125 + DecorateInfo(skipCUDAIfRocm, 'TestModule', 'test_memory_format', dtypes=[torch.float32]), + # Lazy modules don't currently play well with ModuleInfo tests on the meta device. + # See https://github.com/pytorch/pytorch/issues/70505 for more info. + DecorateInfo(skipMeta), + # LazyConv3d is not supported on MPS backend + DecorateInfo(skipMPS), + # This was wrongly being skipped before and needs investigation. + # See https://github.com/pytorch/pytorch/issues/80247 + DecorateInfo(unittest.expectedFailure, "TestModule", "test_memory_format"), + ), + decorators=( + DecorateInfo(precisionOverride({torch.float32: 1e-04}), 'TestModule', 'test_memory_format'), + )), + ModuleInfo(torch.nn.LazyConvTranspose1d, + module_inputs_func=partial(module_inputs_torch_nn_ConvNd, N=1, lazy=True, transposed=True), + gradcheck_nondet_tol=GRADCHECK_NONDET_TOL, + module_memformat_affects_out=True, + skips=( + # channels_last support on cuda requires cudnn >= 7603 + DecorateInfo(skipCUDAIfCudnnVersionLessThan(version=7603), 'TestModule', 'test_memory_format'), + # Failure on ROCM for float32 issue #70125 + DecorateInfo(skipCUDAIfRocm, 'TestModule', 'test_memory_format', dtypes=[torch.float32]), + # Lazy modules don't currently play well with ModuleInfo tests on the meta device. + # See https://github.com/pytorch/pytorch/issues/70505 for more info. + DecorateInfo(skipMeta), + # See #119108: MPSNDArrayConvolutionA14.mm:3976: failed assertion `destination datatype must be fp32' + # xfail does not work due to Fatal Python error: Aborted + DecorateInfo(skipIfMps, "TestModule", "test_memory_format", + device_type='mps', dtypes=[torch.float16]), + DecorateInfo(skipIfMps, "TestModule", "test_non_contiguous_tensors", + device_type='mps', dtypes=[torch.float16]), + ), + decorators=( + DecorateInfo(precisionOverride({torch.float32: 1e-04}), 'TestModule', 'test_memory_format'), + )), + ModuleInfo(torch.nn.LazyConvTranspose2d, + module_inputs_func=partial(module_inputs_torch_nn_ConvNd, N=2, lazy=True, transposed=True), + gradcheck_nondet_tol=GRADCHECK_NONDET_TOL, + module_memformat_affects_out=True, + skips=( + # channels_last support on cuda requires cudnn >= 7603 + DecorateInfo(skipCUDAIfCudnnVersionLessThan(version=7603), 'TestModule', 'test_memory_format'), + # Failure on ROCM for float32 issue #70125 + DecorateInfo(skipCUDAIfRocm, 'TestModule', 'test_memory_format', dtypes=[torch.float32]), + # Lazy modules don't currently play well with ModuleInfo tests on the meta device. + # See https://github.com/pytorch/pytorch/issues/70505 for more info. + DecorateInfo(skipMeta), + # This was wrongly being skipped before and needs investigation. + # See https://github.com/pytorch/pytorch/issues/80247 + DecorateInfo(unittest.expectedFailure, "TestModule", "test_memory_format", device_type='cuda', + dtypes=[torch.float64]), + # Fails with channels last test on MPS backend + DecorateInfo(unittest.expectedFailure, "TestModule", "test_memory_format", + device_type='mps', dtypes=[torch.float32]), + # See #119108: MPSNDArrayConvolutionA14.mm:3976: failed assertion `destination datatype must be fp32' + # xfail does not work due to Fatal Python error: Aborted + DecorateInfo(skipIfMps, "TestModule", "test_memory_format", + device_type='mps', dtypes=[torch.float16]), + DecorateInfo(skipIfMps, "TestModule", "test_non_contiguous_tensors", + device_type='mps', dtypes=[torch.float16]), + ), + decorators=( + DecorateInfo(precisionOverride({torch.float32: 1e-04}), 'TestModule', 'test_memory_format'), + )), + ModuleInfo(torch.nn.LazyConvTranspose3d, + module_inputs_func=partial(module_inputs_torch_nn_ConvNd, N=3, lazy=True, transposed=True), + gradcheck_nondet_tol=GRADCHECK_NONDET_TOL, + module_memformat_affects_out=True, + skips=( + # channels_last support on cuda requires cudnn >= 8005 + DecorateInfo(skipCUDAIfCudnnVersionLessThan(version=8005), 'TestModule', 'test_memory_format'), + # Failure on ROCM for float32 issue #70125 + DecorateInfo(skipCUDAIfRocm, 'TestModule', 'test_memory_format', dtypes=[torch.float32]), + # Lazy modules don't currently play well with ModuleInfo tests on the meta device. + # See https://github.com/pytorch/pytorch/issues/70505 for more info. + DecorateInfo(skipMeta), + # LazyConvTranspose3d is not supported on MPS backend + DecorateInfo(skipMPS), + # This was wrongly being skipped before and needs investigation. + # See https://github.com/pytorch/pytorch/issues/80247 + DecorateInfo(unittest.expectedFailure, "TestModule", "test_memory_format"), + ), + decorators=( + DecorateInfo(precisionOverride({torch.float32: 1e-04}), 'TestModule', 'test_memory_format'), + )), + ModuleInfo(torch.nn.Linear, + module_inputs_func=module_inputs_torch_nn_Linear, + skips=( + # No channels_last support for Linear currently. + DecorateInfo(unittest.skip("Skipped!"), 'TestModule', 'test_memory_format'),) + ), + ModuleInfo(torch.nn.Bilinear, + module_inputs_func=module_inputs_torch_nn_Bilinear, + decorators=[ + DecorateInfo( + toleranceOverride({ + torch.float32: tol(atol=1e-4, rtol=1e-4), + torch.float64: tol(atol=1e-4, rtol=1e-4)}), + 'TestModule', 'test_forward', device_type='cpu'), + ], + skips=( + # No channels_last support for Bilinear currently. + DecorateInfo(unittest.skip("Skipped!"), 'TestModule', 'test_memory_format'), + # See #119108: tolerance issue + DecorateInfo(unittest.expectedFailure, "TestModule", "test_forward", + device_type='mps', dtypes=[torch.float16]),) + ), + ModuleInfo(torch.nn.LPPool1d, + module_inputs_func=module_inputs_torch_nn_LPPool1d, + skips=( + DecorateInfo(unittest.skip("Skipped!"), 'TestModule', 'test_grad'), + DecorateInfo(unittest.skip("Skipped!"), 'TestModule', 'test_gradgrad'),) + ), + ModuleInfo(torch.nn.LPPool2d, + module_inputs_func=module_inputs_torch_nn_LPPool2d, + skips=( + DecorateInfo(unittest.skip("Skipped!"), 'TestModule', 'test_grad'), + DecorateInfo(unittest.skip("Skipped!"), 'TestModule', 'test_gradgrad'), + # Fails on backward check on MPS + # See https://github.com/pytorch/pytorch/issues/107214 + DecorateInfo( + unittest.expectedFailure, + 'TestModule', + 'test_memory_format', + active_if=lambda p: p['training'], + device_type='mps', + ),) + ), + ModuleInfo(torch.nn.LPPool3d, + module_inputs_func=module_inputs_torch_nn_LPPool3d, + skips=( + DecorateInfo(unittest.skip("Skipped!"), 'TestModule', 'test_grad'), + DecorateInfo(unittest.skip("Skipped!"), 'TestModule', 'test_gradgrad'), + DecorateInfo(unittest.skip("Skipped!"), 'TestModule', 'test_memory_format'), + DecorateInfo(skipIfMps),) + ), + ModuleInfo(torch.nn.MaxPool1d, + module_inputs_func=module_inputs_torch_nn_MaxPool1d, + ), + ModuleInfo(torch.nn.MaxPool2d, + module_inputs_func=module_inputs_torch_nn_MaxPool2d, + ), + ModuleInfo(torch.nn.MaxPool3d, + module_inputs_func=module_inputs_torch_nn_MaxPool3d, + gradcheck_nondet_tol=GRADCHECK_NONDET_TOL, + skips=( + # not supported on MPS backend + DecorateInfo(skipMPS),) + ), + ModuleInfo(torch.nn.KLDivLoss, + module_inputs_func=module_inputs_torch_nn_KLDivLoss, + skips=( + # No channels_last support for loss functions. + DecorateInfo(unittest.skip("Skipped!"), 'TestModule', 'test_memory_format'), + # https://github.com/pytorch/pytorch/issues/115588 + DecorateInfo(unittest.skip("Skipped!"), 'TestModule', 'test_cpu_gpu_parity'), + DecorateInfo(unittest.skip("Skipped!"), 'TestModule', 'test_grad'), + DecorateInfo(unittest.skip("Skipped!"), 'TestModule', 'test_gradgrad'),) + ), + ModuleInfo(torch.nn.MSELoss, + module_inputs_func=module_inputs_torch_nn_MSELoss, + skips=( + # No channels_last support for loss functions. + DecorateInfo(unittest.skip("Skipped!"), 'TestModule', 'test_memory_format'), + # See #119108: input types 'tensor' and 'tensor<15x10xf16>' are not broadcast compatible + DecorateInfo(skipIfMps, 'TestModule', 'test_non_contiguous_tensors', dtypes=[torch.float16]), + # See #119108: tolerance issue + DecorateInfo(unittest.expectedFailure, "TestModule", "test_forward", + device_type='mps', dtypes=[torch.float16]),) + ), + ModuleInfo(torch.nn.MarginRankingLoss, + module_inputs_func=module_inputs_torch_nn_MarginRankingLoss, + skips=( + # No channels_last support for loss functions. + DecorateInfo(unittest.skip("Skipped!"), 'TestModule', 'test_memory_format'),) + ), + ModuleInfo(torch.nn.MultiLabelMarginLoss, + module_inputs_func=module_inputs_torch_nn_MultiLabelMarginLoss, + skips=( + # No channels_last support for loss functions. + DecorateInfo(unittest.skip("Skipped!"), 'TestModule', 'test_memory_format'), + # 'aten::multilabel_margin_loss_forward' is not currently implemented for the MPS device. + DecorateInfo(skipIfMps, 'TestModule'), + # derivative for aten::multilabel_margin_loss_backward is not implemented + DecorateInfo(unittest.skip("Skipped!"), 'TestModule', 'test_gradgrad'),) + ), + ModuleInfo(torch.nn.MultiMarginLoss, + module_inputs_func=module_inputs_torch_nn_MultiMarginLoss, + skips=( + # No channels_last support for loss functions. + DecorateInfo(unittest.skip("Skipped!"), 'TestModule', 'test_memory_format'), + # 'aten::multi_margin_loss' is not currently implemented for the MPS device. + DecorateInfo(skipIfMps, 'TestModule'), + # RuntimeError: derivative for aten::multi_margin_loss_backward is not implemented + DecorateInfo(unittest.skip("Skipped!"), 'TestModule', 'test_gradgrad'),) + ), + ModuleInfo(torch.nn.SoftMarginLoss, + module_inputs_func=module_inputs_torch_nn_SoftMarginLoss, + skips=( + # No channels_last support for loss functions. + DecorateInfo(unittest.skip("Skipped!"), 'TestModule', 'test_memory_format'), + # See #119108: tolerance issue + DecorateInfo(unittest.expectedFailure, "TestModule", "test_forward", + device_type='mps', dtypes=[torch.float16]),) + ), + ModuleInfo(torch.nn.MultiLabelSoftMarginLoss, + module_inputs_func=module_inputs_torch_nn_MultiLabelSoftMarginLoss, + skips=( + # No channels_last support for loss functions. + DecorateInfo(unittest.skip("Skipped!"), 'TestModule', 'test_memory_format'),) + ), + ModuleInfo(torch.nn.NLLLoss, + module_inputs_func=module_inputs_torch_nn_NLLLoss, + skips=( + # No channels_last support for loss functions. + DecorateInfo(unittest.skip("Skipped!"), 'TestModule', 'test_memory_format'), + # See #119108: tolerance issue + DecorateInfo(unittest.expectedFailure, "TestModule", "test_forward", + device_type='mps', dtypes=[torch.float16]),) + ), + ModuleInfo(torch.nn.GaussianNLLLoss, + module_inputs_func=module_inputs_torch_nn_GaussianNLLLoss, + skips=( + # No channels_last support for loss functions. + DecorateInfo(unittest.skip("Skipped!"), 'TestModule', 'test_memory_format'),)), + ModuleInfo(torch.nn.PoissonNLLLoss, + module_inputs_func=module_inputs_torch_nn_PoissonNLLLoss, + skips=( + # No channels_last support for loss functions. + DecorateInfo(unittest.skip("Skipped!"), 'TestModule', 'test_memory_format'),)), + ModuleInfo(torch.nn.HingeEmbeddingLoss, + module_inputs_func=module_inputs_torch_nn_HingeEmbeddingLoss, + skips=( + # No channels_last support for loss functions. + DecorateInfo(unittest.skip("Skipped!"), 'TestModule', 'test_memory_format'),) + ), + ModuleInfo(torch.nn.HuberLoss, + module_inputs_func=module_inputs_torch_nn_HuberLoss, + skips=( + # No channels_last support for loss functions. + DecorateInfo(unittest.skip("Skipped!"), 'TestModule', 'test_memory_format'), + # See #119108: seemingly incorrect output dtype + DecorateInfo(unittest.expectedFailure, "TestModule", "test_forward", + device_type='mps', dtypes=[torch.float16]),) + ), + ModuleInfo(torch.nn.BCELoss, + module_inputs_func=module_inputs_torch_nn_BCELoss, + skips=( + # No channels_last support for loss functions. + DecorateInfo(unittest.skip("Skipped!"), 'TestModule', 'test_memory_format'), + # error: input types 'tensor' and 'tensor<15x10xf16>' are not broadcast compatible + DecorateInfo(skipIfMps, 'TestModule', dtypes=[torch.float16]),) + ), + ModuleInfo(torch.nn.BCEWithLogitsLoss, + module_inputs_func=module_inputs_torch_nn_BCEWithLogitsLoss, + skips=( + # No channels_last support for loss functions. + DecorateInfo(unittest.skip("Skipped!"), 'TestModule', 'test_memory_format'), + # see #119108: tolerance issue + DecorateInfo(skipIfMps, 'TestModule', dtypes=[torch.float16]),) + ), + ModuleInfo(torch.nn.CrossEntropyLoss, + module_inputs_func=module_inputs_torch_nn_CrossEntropyLoss, + dtypes=get_all_fp_dtypes(include_half=True, include_bfloat16=False), + decorators=( + # No channels_last support for loss functions. + DecorateInfo(unittest.expectedFailure, 'TestModule', 'test_memory_format'), + # Expect failures for tests that rely on torch.half implementation on CPU + DecorateInfo(unittest.expectedFailure, "TestModule", "test_forward", dtypes=[torch.float16], device_type='cpu'), + DecorateInfo(unittest.expectedFailure, "TestModule", "test_if_train_and_eval_modes_differ", + dtypes=[torch.float16], device_type='cpu'), + DecorateInfo(unittest.expectedFailure, "TestModule", "test_save_load", dtypes=[torch.float16], + device_type='cpu'), + DecorateInfo(unittest.expectedFailure, "TestModule", "test_non_contiguous_tensors", dtypes=[torch.float16], + device_type='cpu'), + DecorateInfo(unittest.expectedFailure, "TestModule", "test_multiple_device_transfer", dtypes=[torch.float16], + device_type='cuda'), + DecorateInfo(unittest.expectedFailure, "TestModule", "test_cpu_gpu_parity", dtypes=[torch.float16], + device_type='cuda'),), + ), + ModuleInfo(torch.nn.CTCLoss, + module_inputs_func=module_inputs_torch_nn_CTCLoss, + skips=( + # No channels_last support for loss functions. + DecorateInfo(unittest.skip("Skipped!"), 'TestModule', 'test_memory_format'), + # The operator aten::_ctc_loss is not currently implemented for the MPS device. + DecorateInfo(skipIfMps, 'TestModule'), + # derivative for aten::_ctc_loss_backward is not implemented + DecorateInfo(unittest.skip("Skipped!"), 'TestModule', 'test_grad'), + DecorateInfo(unittest.skip("Skipped!"), 'TestModule', 'test_gradgrad'), + # https://github.com/pytorch/pytorch/issues/115585 + DecorateInfo(unittest.skip("Skipped!"), 'TestModule', 'test_non_contiguous_tensors'),) + ), + ModuleInfo(torch.nn.GELU, + module_inputs_func=module_inputs_torch_nn_GELU, + skips=( + # See #119108: tolerance issue + DecorateInfo(unittest.expectedFailure, "TestModule", "test_forward", + device_type='mps', dtypes=[torch.float16]),) + ), + ModuleInfo(torch.nn.GLU, + module_inputs_func=module_inputs_torch_nn_GLU, + ), + ModuleInfo(torch.nn.GroupNorm, + module_inputs_func=module_inputs_torch_nn_GroupNorm, + dtypes=get_all_fp_dtypes(include_bfloat16=True, include_half=True), + skips=( + # Tracking at https://github.com/pytorch/pytorch/issues/98089 + DecorateInfo(unittest.skip("Skipped!"), 'TestModule', 'test_cpu_gpu_parity'), + DecorateInfo(toleranceOverride({torch.float32: tol(atol=1e-4, rtol=1e-4)}), + 'TestModule', 'test_memory_format', device_type='cpu'), + # No channels_last support for GroupNorm currently. + DecorateInfo(unittest.skip("Skipped!"), 'TestModule', 'test_memory_format', device_type='cuda'), + DecorateInfo(unittest.skip("Skipped!"), 'TestModule', 'test_memory_format', device_type='mps'), + DecorateInfo(unittest.skip("Skipped!"), "TestModule", "test_grad", + active_if=TEST_WITH_ROCM, device_type='cuda'),) + ), + ModuleInfo(torch.nn.Hardshrink, + module_inputs_func=module_inputs_torch_nn_Hardshrink, + skips=( + # not supported on MPS backend + DecorateInfo(skipMPS),), + ), + ModuleInfo(torch.nn.Hardswish, + module_inputs_func=module_inputs_torch_nn_Hardswish, + skips=( + # Fails on backward check on MPS + # See https://github.com/pytorch/pytorch/issues/107214 + DecorateInfo( + unittest.expectedFailure, + 'TestModule', + 'test_memory_format', + active_if=lambda p: p['training'], + device_type='mps', + ),), + supports_gradgrad=False), + ModuleInfo(torch.nn.Hardtanh, + module_inputs_func=module_inputs_torch_nn_Hardtanh, + ), + ModuleInfo(torch.nn.InstanceNorm1d, + module_inputs_func=partial(module_inputs_torch_nn_InstanceNormNd, N=1), + train_and_eval_differ=True, + skips=( + # No channels_last support for InstanceNorm1d currently. + DecorateInfo(unittest.skip("Skipped!"), 'TestModule', 'test_memory_format'),) + ), + ModuleInfo(torch.nn.InstanceNorm2d, + module_inputs_func=partial(module_inputs_torch_nn_InstanceNormNd, N=2), + train_and_eval_differ=True, + skips=( + # No channels_last support for InstanceNorm2d currently. + DecorateInfo(unittest.skip("Skipped!"), 'TestModule', 'test_memory_format'),) + ), + ModuleInfo(torch.nn.InstanceNorm3d, + module_inputs_func=partial(module_inputs_torch_nn_InstanceNormNd, N=3), + train_and_eval_differ=True, + skips=( + # not supported on MPS backend + DecorateInfo(skipMPS), + # No channels_last support for InstanceNorm3d currently. + DecorateInfo(unittest.skip("Skipped!"), 'TestModule', 'test_memory_format'),) + ), + ModuleInfo(torch.nn.LocalResponseNorm, + module_inputs_func=module_inputs_torch_nn_LocalResponseNorm, + skips=( + # uses avg_pool3d which is not supported on MPS backend + DecorateInfo(skipMPS),) + ), + ModuleInfo(torch.nn.LayerNorm, + module_inputs_func=module_inputs_torch_nn_LayerNorm, + skips=( + # No channels_last support for LayerNorm currently. + DecorateInfo(unittest.skip("Skipped!"), 'TestModule', 'test_memory_format'),) + ), + # TransformerEncoder takes the same inputs as TransformerEncoderLayer + ModuleInfo(torch.nn.TransformerEncoder, + train_and_eval_differ=True, + module_inputs_func=module_inputs_torch_nn_TransformerEncoder, + decorators=[ + # Not implemented for SDPA backward derivative + DecorateInfo(unittest.skip("Skipped!"), 'TestModule', 'test_gradgrad', + device_type='cpu'), + ], + skips=( + # No channels_last support for TransformerEncoderLayer currently. + DecorateInfo(unittest.skip("Skipped!"), 'TestModule', 'test_memory_format'), + # Doesn't support device / dtype kwargs directly because it is just a + # container of TransformerEncoderLayers. + DecorateInfo(unittest.expectedFailure, 'TestModule', 'test_factory_kwargs'),) + ), + ModuleInfo(torch.nn.TransformerEncoderLayer, + train_and_eval_differ=True, + module_inputs_func=module_inputs_torch_nn_TransformerEncoderLayer, + decorators=[ + DecorateInfo(toleranceOverride({torch.float32: tol(atol=1e-4, rtol=1e-4)}), + 'TestModule', 'test_non_contiguous_tensors', + device_type='cpu', active_if=IS_WINDOWS), + # Not implemented for SDPA backward derivative + DecorateInfo(unittest.skip("Skipped!"), 'TestModule', 'test_gradgrad', + device_type='cpu'), + ], + skips=( + # No channels_last support for TransformerEncoderLayer currently. + DecorateInfo(unittest.skip("Skipped!"), 'TestModule', 'test_memory_format'),) + ), + ModuleInfo(torch.nn.TransformerDecoderLayer, + module_inputs_func=module_inputs_torch_nn_TransformerDecoderLayer, + decorators=[ + # Not implemented for SDPA backward derivative + DecorateInfo(unittest.skip("Skipped!"), 'TestModule', 'test_gradgrad', + device_type='cpu'), + ], + skips=( + # No channels_last support for TransformerDecoderLayer currently. + DecorateInfo(unittest.skip("Skipped!"), 'TestModule', 'test_memory_format'),) + ), + ModuleInfo(torch.nn.Transformer, + module_inputs_func=module_inputs_torch_nn_Transformer, + decorators=[ + # Not implemented for SDPA backward derivative + DecorateInfo(unittest.skip("Skipped!"), 'TestModule', 'test_gradgrad', + device_type='cpu'), + ], + skips=( + # No channels_last support for Transformer currently. + DecorateInfo(unittest.skip("Skipped!"), 'TestModule', 'test_memory_format'),) + ), + ModuleInfo(torch.nn.MultiheadAttention, + train_and_eval_differ=True, + module_inputs_func=module_inputs_torch_nn_MultiheadAttention, + skips=( + # No channels_last support for MultiheadAttention currently. + DecorateInfo(unittest.skip("Skipped!"), 'TestModule', 'test_memory_format'),) + ), + ModuleInfo(torch.nn.Embedding, + module_inputs_func=module_inputs_torch_nn_Embedding, + decorators=[ + DecorateInfo(toleranceOverride({torch.float32: tol(atol=1e-4, rtol=1e-4)}), + 'TestModule', 'test_non_contiguous_tensors', + device_type='mps')], + skips=( + DecorateInfo(unittest.skip("Skipped!"), 'TestModule', 'test_memory_format'),) + ), + ModuleInfo(torch.nn.ReLU, + module_inputs_func=module_inputs_torch_nn_ReLU, + skips=( + # Fails on backward check on MPS + # See https://github.com/pytorch/pytorch/issues/107214 + DecorateInfo( + unittest.expectedFailure, + 'TestModule', + 'test_memory_format', + active_if=lambda p: p['training'], + device_type='mps', + ),) + ), + ModuleInfo(torch.nn.LeakyReLU, + module_inputs_func=module_inputs_torch_nn_LeakyReLU, + ), + ModuleInfo(torch.nn.ReLU6, + module_inputs_func=module_inputs_torch_nn_ReLU6, + skips=( + # test fails on MPS backend and is being investigated. + # See https://github.com/pytorch/pytorch/issues/100914 + DecorateInfo(skipMPS),) + ), + ModuleInfo(torch.nn.PReLU, + module_inputs_func=module_inputs_torch_nn_PReLU, + skips=( + # test fails on MPS backend and is being investigated. + # See https://github.com/pytorch/pytorch/issues/100914 + DecorateInfo(skipMPS),) + ), + ModuleInfo(torch.nn.RNNCell, + module_inputs_func=partial(module_inputs_torch_nn_RNN_GRU_Cell, is_rnn=True), + module_error_inputs_func=module_error_inputs_torch_nn_RNN_GRU_Cell, + ), + ModuleInfo(torch.nn.GRUCell, + module_inputs_func=module_inputs_torch_nn_RNN_GRU_Cell, + module_error_inputs_func=module_error_inputs_torch_nn_RNN_GRU_Cell, + ), + ModuleInfo(torch.nn.LSTMCell, + module_inputs_func=module_inputs_torch_nn_LSTMCell, + module_error_inputs_func=module_error_inputs_torch_nn_LSTMCell, + ), + ModuleInfo(torch.nn.Sigmoid, + module_inputs_func=module_inputs_torch_nn_Sigmoid, + skips=( + # Fails on backward check on MPS + # See https://github.com/pytorch/pytorch/issues/107214 + DecorateInfo( + unittest.expectedFailure, + 'TestModule', + 'test_memory_format', + active_if=lambda p: p['training'], + device_type='mps', + ),) + ), + ModuleInfo(torch.nn.LogSigmoid, + module_inputs_func=module_inputs_torch_nn_LogSigmoid, + skips=( + # See #119108: tolerance issue + DecorateInfo(unittest.expectedFailure, "TestModule", "test_forward", device_type='mps', dtypes=[torch.float16]),) + ), + ModuleInfo(torch.nn.SiLU, + module_inputs_func=module_inputs_torch_nn_SiLU, + ), + ModuleInfo(torch.nn.Softmax, + module_inputs_func=module_inputs_torch_nn_Softmax, + ), + ModuleInfo(torch.nn.Softmax2d, + module_inputs_func=module_inputs_torch_nn_Softmax2d, + skips=( + # no channels last support for Softmax2d currently + DecorateInfo(unittest.skip("Skipped!"), 'TestModule', 'test_memory_format'), + # See #119108: tolerance issue + DecorateInfo(unittest.expectedFailure, "TestModule", "test_forward", device_type='mps', dtypes=[torch.float16]),) + ), + ModuleInfo(torch.nn.LogSoftmax, + module_inputs_func=module_inputs_torch_nn_LogSoftmax, + skips=( + # no channels last support for LogSoftmax currently + DecorateInfo(unittest.skip("Skipped!"), 'TestModule', 'test_memory_format'), + # See #119108: inf nan error + DecorateInfo(unittest.expectedFailure, "TestModule", "test_forward", device_type='mps', dtypes=[torch.float16]),) + ), + ModuleInfo(torch.nn.Softmin, + module_inputs_func=module_inputs_torch_nn_Softmin, + skips=( + # no channels last support for Softmin currently + DecorateInfo(unittest.skip("Skipped!"), 'TestModule', 'test_memory_format'),) + ), + ModuleInfo(torch.nn.Softplus, + module_inputs_func=module_inputs_torch_nn_Softplus, + skips=( + # test fails on MPS backend and is being investigated. + # See https://github.com/pytorch/pytorch/issues/100914 + DecorateInfo(skipMPS),) + ), + ModuleInfo(torch.nn.Softshrink, + module_inputs_func=module_inputs_torch_nn_Softshrink, + skips=( + # not supported on MPS backend + DecorateInfo(skipMPS),) + ), + ModuleInfo(torch.nn.Softsign, + module_inputs_func=module_inputs_torch_nn_Softsign, + ), + ModuleInfo(torch.nn.Tanh, + module_inputs_func=module_inputs_torch_nn_Tanh, + skips=( + # Fails on backward check on MPS + # See https://github.com/pytorch/pytorch/issues/107214 + DecorateInfo( + unittest.expectedFailure, + 'TestModule', + 'test_memory_format', + active_if=lambda p: p['training'], + device_type='mps', + ),) + ), + ModuleInfo(torch.nn.Tanhshrink, + module_inputs_func=module_inputs_torch_nn_Tanhshrink, + skips=( + # Fails on backward check on MPS + # See https://github.com/pytorch/pytorch/issues/107214 + DecorateInfo( + unittest.expectedFailure, + 'TestModule', + 'test_memory_format', + active_if=lambda p: p['training'], + device_type='mps', + ),) + ), + ModuleInfo(torch.nn.Threshold, + module_inputs_func=module_inputs_torch_nn_Threshold, + skips=( + # test fails on MPS backend and is being investigated. + # See https://github.com/pytorch/pytorch/issues/100914 + DecorateInfo(skipMPS),) + ), + ModuleInfo(torch.nn.Mish, + module_inputs_func=module_inputs_torch_nn_Mish, + skips=( + # not supported on MPS backend + DecorateInfo(skipMPS),) + ), + ModuleInfo(torch.nn.RNN, + train_and_eval_differ=True, + module_inputs_func=partial(module_inputs_torch_nn_RNN_GRU, is_rnn=True), + module_error_inputs_func=module_error_inputs_torch_nn_RNN_GRU, + decorators=rnn_gru_lstm_module_info_decorators + ), + ModuleInfo(torch.nn.GRU, + train_and_eval_differ=True, + module_inputs_func=partial(module_inputs_torch_nn_RNN_GRU, is_rnn=False), + module_error_inputs_func=module_error_inputs_torch_nn_RNN_GRU, + decorators=rnn_gru_lstm_module_info_decorators), + ModuleInfo(torch.nn.LSTM, + train_and_eval_differ=True, + module_inputs_func=module_inputs_torch_nn_LSTM, + module_error_inputs_func=module_error_inputs_torch_nn_RNN_GRU, + skips=( + # LSTM with projections is not currently supported with MPS + DecorateInfo(skipMPS),), + decorators=rnn_gru_lstm_module_info_decorators), + ModuleInfo(torch.nn.ReflectionPad1d, + module_inputs_func=module_inputs_torch_nn_ReflectionPad1d, + ), + ModuleInfo(torch.nn.ReflectionPad2d, + module_inputs_func=module_inputs_torch_nn_ReflectionPad2d, + gradcheck_nondet_tol=GRADCHECK_NONDET_TOL, + skips=( + DecorateInfo(unittest.skip("Skipped!"), 'TestModule', 'test_memory_format', + device_type='cuda'), + DecorateInfo(unittest.skip("Skipped!"), 'TestModule', 'test_memory_format', + device_type='mps'),) + ), + ModuleInfo(torch.nn.ReflectionPad3d, + module_inputs_func=module_inputs_torch_nn_ReflectionPad3d, + gradcheck_nondet_tol=GRADCHECK_NONDET_TOL, + skips=( + DecorateInfo(unittest.skip("Skipped!"), 'TestModule', 'test_memory_format', + device_type='cuda'), + DecorateInfo(unittest.skip("Skipped!"), 'TestModule', 'test_memory_format', + device_type='mps'),) + ), + ModuleInfo(torch.nn.ReplicationPad1d, + module_inputs_func=module_inputs_torch_nn_ReplicationPad1d, + ), + ModuleInfo(torch.nn.ReplicationPad2d, + module_inputs_func=module_inputs_torch_nn_ReplicationPad2d, + gradcheck_nondet_tol=GRADCHECK_NONDET_TOL, + skips=( + DecorateInfo(unittest.skip("Skipped!"), 'TestModule', 'test_memory_format', + device_type='cuda'), + DecorateInfo(unittest.skip("Skipped!"), 'TestModule', 'test_memory_format', + device_type='mps'),) + ), + ModuleInfo(torch.nn.ReplicationPad3d, + module_inputs_func=module_inputs_torch_nn_ReplicationPad3d, + gradcheck_nondet_tol=GRADCHECK_NONDET_TOL, + skips=( + DecorateInfo(unittest.skip("Skipped!"), 'TestModule', 'test_memory_format', + device_type='cuda'), + DecorateInfo(unittest.skip("Skipped!"), 'TestModule', 'test_memory_format', + device_type='mps'),) + ), + ModuleInfo(torch.nn.SELU, + module_inputs_func=module_inputs_torch_nn_SELU, + skips=( + # test fails on MPS backend and is being investigated. + # See https://github.com/pytorch/pytorch/issues/100914 + DecorateInfo(skipMPS),) + ), + ModuleInfo(torch.nn.ZeroPad1d, + module_inputs_func=module_inputs_torch_nn_ZeroPad1d, + ), + ModuleInfo(torch.nn.ZeroPad2d, + module_inputs_func=module_inputs_torch_nn_ZeroPad2d, + skips=( + # Fails with channels last test on MPS backend + DecorateInfo(unittest.expectedFailure, "TestModule", "test_memory_format", device_type='mps'),) + ), + ModuleInfo(torch.nn.ZeroPad3d, + module_inputs_func=module_inputs_torch_nn_ZeroPad3d, + skips=( + # Fails with channels last test on MPS backend + DecorateInfo(unittest.expectedFailure, "TestModule", "test_memory_format", device_type='mps'),) + ), + ModuleInfo(torch.nn.CircularPad1d, + module_inputs_func=module_inputs_torch_nn_CircularPad1d, + module_error_inputs_func=module_error_inputs_torch_nn_Pad1d, + ), + ModuleInfo(torch.nn.CircularPad2d, + module_inputs_func=module_inputs_torch_nn_CircularPad2d, + module_error_inputs_func=module_error_inputs_torch_nn_Pad2d, + ), + ModuleInfo(torch.nn.CircularPad3d, + module_inputs_func=module_inputs_torch_nn_CircularPad3d, + module_error_inputs_func=module_error_inputs_torch_nn_Pad3d, + skips=( + # Fails with channels last test on MPS backend + DecorateInfo(unittest.expectedFailure, "TestModule", "test_memory_format"),) + ), + ModuleInfo(torch.nn.ConstantPad1d, + module_inputs_func=module_inputs_torch_nn_ConstantPad1d, + ), + ModuleInfo(torch.nn.ConstantPad2d, + module_inputs_func=module_inputs_torch_nn_ConstantPad2d, + skips=( + # Fails with channels last test on MPS backend + DecorateInfo(unittest.expectedFailure, "TestModule", "test_memory_format", device_type='mps'),) + ), + ModuleInfo(torch.nn.ConstantPad3d, + module_inputs_func=module_inputs_torch_nn_ConstantPad3d, + skips=( + # Fails with channels last test on MPS backend + DecorateInfo(unittest.expectedFailure, "TestModule", "test_memory_format", device_type='mps'),) + ) +] diff --git a/shared/package-files/37/37e721f9f6b227938864450fda12b124adba0a32041949c2d9df019d059f2b63/modules.h b/shared/package-files/37/37e721f9f6b227938864450fda12b124adba0a32041949c2d9df019d059f2b63/modules.h new file mode 100644 index 0000000000000000000000000000000000000000..e037d52a8535490ff5ecb17e578df5b4101ee9a3 --- /dev/null +++ b/shared/package-files/37/37e721f9f6b227938864450fda12b124adba0a32041949c2d9df019d059f2b63/modules.h @@ -0,0 +1,36 @@ +#pragma once + +// Common +#include + +// Containers +#include +#include +#include +#include +#include +#include +#include +#include + +// Layers +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include diff --git a/shared/package-files/37/37e73e620b8e139e786268d9e489fa93427a06ccf81c99199aac9e68535ff38e/estimator.py b/shared/package-files/37/37e73e620b8e139e786268d9e489fa93427a06ccf81c99199aac9e68535ff38e/estimator.py new file mode 100644 index 0000000000000000000000000000000000000000..7d101dde58d74be820fdd6797691e9cf1b23d0a8 --- /dev/null +++ b/shared/package-files/37/37e73e620b8e139e786268d9e489fa93427a06ccf81c99199aac9e68535ff38e/estimator.py @@ -0,0 +1,497 @@ +# Authors: The scikit-learn developers +# SPDX-License-Identifier: BSD-3-Clause + +import html +from contextlib import closing +from inspect import isclass +from io import StringIO +from pathlib import Path +from string import Template + +from ... import config_context + + +class _IDCounter: + """Generate sequential ids with a prefix.""" + + def __init__(self, prefix): + self.prefix = prefix + self.count = 0 + + def get_id(self): + self.count += 1 + return f"{self.prefix}-{self.count}" + + +def _get_css_style(): + estimator_css_file = Path(__file__).parent / "estimator.css" + params_css_file = Path(__file__).parent / "params.css" + + estimator_css = estimator_css_file.read_text(encoding="utf-8") + params_css = params_css_file.read_text(encoding="utf-8") + + return f"{estimator_css}\n{params_css}" + + +_CONTAINER_ID_COUNTER = _IDCounter("sk-container-id") +_ESTIMATOR_ID_COUNTER = _IDCounter("sk-estimator-id") +_CSS_STYLE = _get_css_style() + + +class _VisualBlock: + """HTML Representation of Estimator + + Parameters + ---------- + kind : {'serial', 'parallel', 'single'} + kind of HTML block + + estimators : list of estimators or `_VisualBlock`s or a single estimator + If kind != 'single', then `estimators` is a list of + estimators. + If kind == 'single', then `estimators` is a single estimator. + + names : list of str, default=None + If kind != 'single', then `names` corresponds to estimators. + If kind == 'single', then `names` is a single string corresponding to + the single estimator. + + name_details : list of str, str, or None, default=None + If kind != 'single', then `name_details` corresponds to `names`. + If kind == 'single', then `name_details` is a single string + corresponding to the single estimator. + + name_caption : str, default=None + The caption below the name. `None` stands for no caption. + Only active when kind == 'single'. + + doc_link_label : str, default=None + The label for the documentation link. If provided, the label would be + "Documentation for {doc_link_label}". Otherwise it will look for `names`. + Only active when kind == 'single'. + + dash_wrapped : bool, default=True + If true, wrapped HTML element will be wrapped with a dashed border. + Only active when kind != 'single'. + """ + + def __init__( + self, + kind, + estimators, + *, + names=None, + name_details=None, + name_caption=None, + doc_link_label=None, + dash_wrapped=True, + ): + self.kind = kind + self.estimators = estimators + self.dash_wrapped = dash_wrapped + self.name_caption = name_caption + self.doc_link_label = doc_link_label + + if self.kind in ("parallel", "serial"): + if names is None: + names = (None,) * len(estimators) + if name_details is None: + name_details = (None,) * len(estimators) + + self.names = names + self.name_details = name_details + + def _sk_visual_block_(self): + return self + + +def _write_label_html( + out, + params, + name, + name_details, + name_caption=None, + doc_link_label=None, + outer_class="sk-label-container", + inner_class="sk-label", + checked=False, + doc_link="", + is_fitted_css_class="", + is_fitted_icon="", + param_prefix="", +): + """Write labeled html with or without a dropdown with named details. + + Parameters + ---------- + out : file-like object + The file to write the HTML representation to. + params: str + If estimator has `get_params` method, this is the HTML representation + of the estimator's parameters and their values. When the estimator + does not have `get_params`, it is an empty string. + name : str + The label for the estimator. It corresponds either to the estimator class name + for a simple estimator or in the case of a `Pipeline` and `ColumnTransformer`, + it corresponds to the name of the step. + name_details : str + The details to show as content in the dropdown part of the toggleable label. It + can contain information such as non-default parameters or column information for + `ColumnTransformer`. + name_caption : str, default=None + The caption below the name. If `None`, no caption will be created. + doc_link_label : str, default=None + The label for the documentation link. If provided, the label would be + "Documentation for {doc_link_label}". Otherwise it will look for `name`. + outer_class : {"sk-label-container", "sk-item"}, default="sk-label-container" + The CSS class for the outer container. + inner_class : {"sk-label", "sk-estimator"}, default="sk-label" + The CSS class for the inner container. + checked : bool, default=False + Whether the dropdown is folded or not. With a single estimator, we intend to + unfold the content. + doc_link : str, default="" + The link to the documentation for the estimator. If an empty string, no link is + added to the diagram. This can be generated for an estimator if it uses the + `_HTMLDocumentationLinkMixin`. + is_fitted_css_class : {"", "fitted"} + The CSS class to indicate whether or not the estimator is fitted. The + empty string means that the estimator is not fitted and "fitted" means that the + estimator is fitted. + is_fitted_icon : str, default="" + The HTML representation to show the fitted information in the diagram. An empty + string means that no information is shown. + param_prefix : str, default="" + The prefix to prepend to parameter names for nested estimators. + """ + out.write( + f'
' + ) + name = html.escape(name) + if name_details is not None: + name_details = html.escape(str(name_details)) + checked_str = "checked" if checked else "" + est_id = _ESTIMATOR_ID_COUNTER.get_id() + + if doc_link: + doc_label = "Online documentation" + if doc_link_label is not None: + doc_label = f"Documentation for {doc_link_label}" + elif name is not None: + doc_label = f"Documentation for {name}" + doc_link = ( + f'?{doc_label}' + ) + + name_caption_div = ( + "" + if name_caption is None + else f'
{html.escape(name_caption)}
' + ) + name_caption_div = f"
{name}
{name_caption_div}
" + links_div = ( + f"
{doc_link}{is_fitted_icon}
" + if doc_link or is_fitted_icon + else "" + ) + + label_html = ( + f'' + ) + + fmt_str = ( + f'{label_html}
' + ) + + if params: + fmt_str = "".join([fmt_str, f"{params}
"]) + elif name_details and ("Pipeline" not in name): + fmt_str = "".join([fmt_str, f"
{name_details}
"]) + + out.write(fmt_str) + else: + out.write(f"") + out.write("") # outer_class inner_class + + +def _get_visual_block(estimator): + """Generate information about how to display an estimator.""" + if hasattr(estimator, "_sk_visual_block_"): + try: + return estimator._sk_visual_block_() + except Exception: + return _VisualBlock( + "single", + estimator, + names=estimator.__class__.__name__, + name_details=str(estimator), + ) + + if isinstance(estimator, str): + return _VisualBlock( + "single", estimator, names=estimator, name_details=estimator + ) + elif estimator is None: + return _VisualBlock("single", estimator, names="None", name_details="None") + + # check if estimator looks like a meta estimator (wraps estimators) + if hasattr(estimator, "get_params") and not isclass(estimator): + estimators = [ + (key, est) + for key, est in estimator.get_params(deep=False).items() + if hasattr(est, "get_params") and hasattr(est, "fit") and not isclass(est) + ] + if estimators: + return _VisualBlock( + "parallel", + [est for _, est in estimators], + names=[f"{key}: {est.__class__.__name__}" for key, est in estimators], + name_details=[str(est) for _, est in estimators], + ) + + return _VisualBlock( + "single", + estimator, + names=estimator.__class__.__name__, + name_details=str(estimator), + ) + + +def _write_estimator_html( + out, + estimator, + estimator_label, + estimator_label_details, + is_fitted_css_class, + is_fitted_icon="", + first_call=False, + param_prefix="", +): + """Write estimator to html in serial, parallel, or by itself (single). + + For multiple estimators, this function is called recursively. + + Parameters + ---------- + out : file-like object + The file to write the HTML representation to. + estimator : estimator object + The estimator to visualize. + estimator_label : str + The label for the estimator. It corresponds either to the estimator class name + for simple estimator or in the case of `Pipeline` and `ColumnTransformer`, it + corresponds to the name of the step. + estimator_label_details : str + The details to show as content in the dropdown part of the toggleable label. + It can contain information as non-default parameters or column information for + `ColumnTransformer`. + is_fitted_css_class : {"", "fitted"} + The CSS class to indicate whether or not the estimator is fitted or not. The + empty string means that the estimator is not fitted and "fitted" means that the + estimator is fitted. + is_fitted_icon : str, default="" + The HTML representation to show the fitted information in the diagram. An empty + string means that no information is shown. If the estimator to be shown is not + the first estimator (i.e. `first_call=False`), `is_fitted_icon` is always an + empty string. + first_call : bool, default=False + Whether this is the first time this function is called. + param_prefix : str, default="" + The prefix to prepend to parameter names for nested estimators. + For example, in a pipeline this might be "pipeline__stepname__". + """ + if first_call: + est_block = _get_visual_block(estimator) + else: + is_fitted_icon = "" + with config_context(print_changed_only=True): + est_block = _get_visual_block(estimator) + # `estimator` can also be an instance of `_VisualBlock` + if hasattr(estimator, "_get_doc_link"): + doc_link = estimator._get_doc_link() + else: + doc_link = "" + if est_block.kind in ("serial", "parallel"): + dashed_wrapped = first_call or est_block.dash_wrapped + dash_cls = " sk-dashed-wrapped" if dashed_wrapped else "" + out.write(f'
') + + if estimator_label: + if hasattr(estimator, "get_params") and hasattr( + estimator, "_get_params_html" + ): + params = estimator._get_params_html(deep=False)._repr_html_inner() + else: + params = "" + + _write_label_html( + out, + params, + estimator_label, + estimator_label_details, + doc_link=doc_link, + is_fitted_css_class=is_fitted_css_class, + is_fitted_icon=is_fitted_icon, + param_prefix=param_prefix, + ) + + kind = est_block.kind + out.write(f'
') + est_infos = zip(est_block.estimators, est_block.names, est_block.name_details) + + for est, name, name_details in est_infos: + # Build the parameter prefix for nested estimators + + if param_prefix and hasattr(name, "split"): + # If we already have a prefix, append the new component + new_prefix = f"{param_prefix}{name.split(':')[0]}__" + elif hasattr(name, "split"): + # If this is the first level, start the prefix + new_prefix = f"{name.split(':')[0]}__" if name else "" + else: + new_prefix = param_prefix + + if kind == "serial": + _write_estimator_html( + out, + est, + name, + name_details, + is_fitted_css_class=is_fitted_css_class, + param_prefix=new_prefix, + ) + else: # parallel + out.write('
') + # wrap element in a serial visualblock + serial_block = _VisualBlock("serial", [est], dash_wrapped=False) + _write_estimator_html( + out, + serial_block, + name, + name_details, + is_fitted_css_class=is_fitted_css_class, + param_prefix=new_prefix, + ) + out.write("
") # sk-parallel-item + + out.write("
") + elif est_block.kind == "single": + if hasattr(estimator, "_get_params_html"): + params = estimator._get_params_html()._repr_html_inner() + else: + params = "" + + _write_label_html( + out, + params, + est_block.names, + est_block.name_details, + est_block.name_caption, + est_block.doc_link_label, + outer_class="sk-item", + inner_class="sk-estimator", + checked=first_call, + doc_link=doc_link, + is_fitted_css_class=is_fitted_css_class, + is_fitted_icon=is_fitted_icon, + param_prefix=param_prefix, + ) + + +def estimator_html_repr(estimator): + """Build a HTML representation of an estimator. + + Read more in the :ref:`User Guide `. + + Parameters + ---------- + estimator : estimator object + The estimator to visualize. + + Returns + ------- + html: str + HTML representation of estimator. + + Examples + -------- + >>> from sklearn.utils._repr_html.estimator import estimator_html_repr + >>> from sklearn.linear_model import LogisticRegression + >>> estimator_html_repr(LogisticRegression()) + '" + f"" + f'
' + '
' + f"
{html.escape(estimator_str)}
{fallback_msg}" + "
" + '
" + + out.write(html_end) + + html_output = out.getvalue() + return html_output diff --git a/shared/package-files/37/37ebbd02b9aa1b289f2864c4fa7afe40238feda0d0964d89f91fe65f89c71122/sum_ops.h b/shared/package-files/37/37ebbd02b9aa1b289f2864c4fa7afe40238feda0d0964d89f91fe65f89c71122/sum_ops.h new file mode 100644 index 0000000000000000000000000000000000000000..8b1219cd4193152bad339fd3ae1067a8e9a261dc --- /dev/null +++ b/shared/package-files/37/37ebbd02b9aa1b289f2864c4fa7afe40238feda0d0964d89f91fe65f89c71122/sum_ops.h @@ -0,0 +1,83 @@ +#pragma once + +// @generated by torchgen/gen.py from Operator.h + +#include +#include + +// Forward declarations of any types needed in the operator signatures. +// We can't directly include these classes because it will cause circular include dependencies. +// This file is included by TensorBody.h, which defines the Tensor class. +#include + +namespace at { +namespace _ops { + + +struct TORCH_API sum { + using schema = at::Tensor (const at::Tensor &, c10::optional); + using ptr_schema = schema*; + // See Note [static constexpr char* members for windows NVCC] + STATIC_CONSTEXPR_STR_INL_EXCEPT_WIN_CUDA(name, "aten::sum") + STATIC_CONSTEXPR_STR_INL_EXCEPT_WIN_CUDA(overload_name, "") + STATIC_CONSTEXPR_STR_INL_EXCEPT_WIN_CUDA(schema_str, "sum(Tensor self, *, ScalarType? dtype=None) -> Tensor") + static at::Tensor call(const at::Tensor & self, c10::optional dtype); + static at::Tensor redispatch(c10::DispatchKeySet dispatchKeySet, const at::Tensor & self, c10::optional dtype); +}; + +struct TORCH_API sum_dim_IntList { + using schema = at::Tensor (const at::Tensor &, at::OptionalIntArrayRef, bool, c10::optional); + using ptr_schema = schema*; + // See Note [static constexpr char* members for windows NVCC] + STATIC_CONSTEXPR_STR_INL_EXCEPT_WIN_CUDA(name, "aten::sum") + STATIC_CONSTEXPR_STR_INL_EXCEPT_WIN_CUDA(overload_name, "dim_IntList") + STATIC_CONSTEXPR_STR_INL_EXCEPT_WIN_CUDA(schema_str, "sum.dim_IntList(Tensor self, int[1]? dim, bool keepdim=False, *, ScalarType? dtype=None) -> Tensor") + static at::Tensor call(const at::Tensor & self, at::OptionalIntArrayRef dim, bool keepdim, c10::optional dtype); + static at::Tensor redispatch(c10::DispatchKeySet dispatchKeySet, const at::Tensor & self, at::OptionalIntArrayRef dim, bool keepdim, c10::optional dtype); +}; + +struct TORCH_API sum_dim_DimnameList { + using schema = at::Tensor (const at::Tensor &, at::DimnameList, bool, c10::optional); + using ptr_schema = schema*; + // See Note [static constexpr char* members for windows NVCC] + STATIC_CONSTEXPR_STR_INL_EXCEPT_WIN_CUDA(name, "aten::sum") + STATIC_CONSTEXPR_STR_INL_EXCEPT_WIN_CUDA(overload_name, "dim_DimnameList") + STATIC_CONSTEXPR_STR_INL_EXCEPT_WIN_CUDA(schema_str, "sum.dim_DimnameList(Tensor self, Dimname[1] dim, bool keepdim=False, *, ScalarType? dtype=None) -> Tensor") + static at::Tensor call(const at::Tensor & self, at::DimnameList dim, bool keepdim, c10::optional dtype); + static at::Tensor redispatch(c10::DispatchKeySet dispatchKeySet, const at::Tensor & self, at::DimnameList dim, bool keepdim, c10::optional dtype); +}; + +struct TORCH_API sum_IntList_out { + using schema = at::Tensor & (const at::Tensor &, at::OptionalIntArrayRef, bool, c10::optional, at::Tensor &); + using ptr_schema = schema*; + // See Note [static constexpr char* members for windows NVCC] + STATIC_CONSTEXPR_STR_INL_EXCEPT_WIN_CUDA(name, "aten::sum") + STATIC_CONSTEXPR_STR_INL_EXCEPT_WIN_CUDA(overload_name, "IntList_out") + STATIC_CONSTEXPR_STR_INL_EXCEPT_WIN_CUDA(schema_str, "sum.IntList_out(Tensor self, int[1]? dim, bool keepdim=False, *, ScalarType? dtype=None, Tensor(a!) out) -> Tensor(a!)") + static at::Tensor & call(const at::Tensor & self, at::OptionalIntArrayRef dim, bool keepdim, c10::optional dtype, at::Tensor & out); + static at::Tensor & redispatch(c10::DispatchKeySet dispatchKeySet, const at::Tensor & self, at::OptionalIntArrayRef dim, bool keepdim, c10::optional dtype, at::Tensor & out); +}; + +struct TORCH_API sum_DimnameList_out { + using schema = at::Tensor & (const at::Tensor &, at::DimnameList, bool, c10::optional, at::Tensor &); + using ptr_schema = schema*; + // See Note [static constexpr char* members for windows NVCC] + STATIC_CONSTEXPR_STR_INL_EXCEPT_WIN_CUDA(name, "aten::sum") + STATIC_CONSTEXPR_STR_INL_EXCEPT_WIN_CUDA(overload_name, "DimnameList_out") + STATIC_CONSTEXPR_STR_INL_EXCEPT_WIN_CUDA(schema_str, "sum.DimnameList_out(Tensor self, Dimname[1] dim, bool keepdim=False, *, ScalarType? dtype=None, Tensor(a!) out) -> Tensor(a!)") + static at::Tensor & call(const at::Tensor & self, at::DimnameList dim, bool keepdim, c10::optional dtype, at::Tensor & out); + static at::Tensor & redispatch(c10::DispatchKeySet dispatchKeySet, const at::Tensor & self, at::DimnameList dim, bool keepdim, c10::optional dtype, at::Tensor & out); +}; + +struct TORCH_API sum_out { + using schema = at::Tensor & (const at::Tensor &, c10::optional, at::Tensor &); + using ptr_schema = schema*; + // See Note [static constexpr char* members for windows NVCC] + STATIC_CONSTEXPR_STR_INL_EXCEPT_WIN_CUDA(name, "aten::sum") + STATIC_CONSTEXPR_STR_INL_EXCEPT_WIN_CUDA(overload_name, "out") + STATIC_CONSTEXPR_STR_INL_EXCEPT_WIN_CUDA(schema_str, "sum.out(Tensor self, *, ScalarType? dtype=None, Tensor(a!) out) -> Tensor(a!)") + static at::Tensor & call(const at::Tensor & self, c10::optional dtype, at::Tensor & out); + static at::Tensor & redispatch(c10::DispatchKeySet dispatchKeySet, const at::Tensor & self, c10::optional dtype, at::Tensor & out); +}; + +}} // namespace at::_ops diff --git a/shared/package-files/37/37f057ecd6d4f0f9638b3d9ba2e58cceb3f6db187feb0ffca4778f101db2715c/test_repr.py b/shared/package-files/37/37f057ecd6d4f0f9638b3d9ba2e58cceb3f6db187feb0ffca4778f101db2715c/test_repr.py new file mode 100644 index 0000000000000000000000000000000000000000..ea2cdd4fab86ada36d6d5804204c4a479a3e1603 --- /dev/null +++ b/shared/package-files/37/37f057ecd6d4f0f9638b3d9ba2e58cceb3f6db187feb0ffca4778f101db2715c/test_repr.py @@ -0,0 +1,47 @@ +import numpy as np +import pytest + +import pandas as pd +from pandas.core.arrays.floating import ( + Float32Dtype, + Float64Dtype, +) + + +def test_dtypes(dtype): + # smoke tests on auto dtype construction + + np.dtype(dtype.type).kind == "f" + assert dtype.name is not None + + +@pytest.mark.parametrize( + "dtype, expected", + [(Float32Dtype(), "Float32Dtype()"), (Float64Dtype(), "Float64Dtype()")], +) +def test_repr_dtype(dtype, expected): + assert repr(dtype) == expected + + +def test_repr_array(): + result = repr(pd.array([1.0, None, 3.0])) + expected = "\n[1.0, , 3.0]\nLength: 3, dtype: Float64" + assert result == expected + + +def test_repr_array_long(): + data = pd.array([1.0, 2.0, None] * 1000) + expected = """ +[ 1.0, 2.0, , 1.0, 2.0, , 1.0, 2.0, , 1.0, + ... + , 1.0, 2.0, , 1.0, 2.0, , 1.0, 2.0, ] +Length: 3000, dtype: Float64""" + result = repr(data) + assert result == expected + + +def test_frame_repr(data_missing): + df = pd.DataFrame({"A": data_missing}) + result = repr(df) + expected = " A\n0 \n1 0.1" + assert result == expected diff --git a/shared/package-files/37/37fa6f5a394b3917651f7e1cb3dee85382c136bfecf6be5d76c9a67bb5c4bece/intelccompiler.py b/shared/package-files/37/37fa6f5a394b3917651f7e1cb3dee85382c136bfecf6be5d76c9a67bb5c4bece/intelccompiler.py new file mode 100644 index 0000000000000000000000000000000000000000..0fa1c11dd6763ac4b673dd2c0e6ecd1aeed522f8 --- /dev/null +++ b/shared/package-files/37/37fa6f5a394b3917651f7e1cb3dee85382c136bfecf6be5d76c9a67bb5c4bece/intelccompiler.py @@ -0,0 +1,111 @@ +import platform + +from distutils.unixccompiler import UnixCCompiler +from numpy.distutils.exec_command import find_executable +from numpy.distutils.ccompiler import simple_version_match +if platform.system() == 'Windows': + from numpy.distutils.msvc9compiler import MSVCCompiler + + +class IntelCCompiler(UnixCCompiler): + """A modified Intel compiler compatible with a GCC-built Python.""" + compiler_type = 'intel' + cc_exe = 'icc' + cc_args = 'fPIC' + + def __init__(self, verbose=0, dry_run=0, force=0): + UnixCCompiler.__init__(self, verbose, dry_run, force) + + v = self.get_version() + mpopt = 'openmp' if v and v < '15' else 'qopenmp' + self.cc_exe = ('icc -fPIC -fp-model strict -O3 ' + '-fomit-frame-pointer -{}').format(mpopt) + compiler = self.cc_exe + + if platform.system() == 'Darwin': + shared_flag = '-Wl,-undefined,dynamic_lookup' + else: + shared_flag = '-shared' + self.set_executables(compiler=compiler, + compiler_so=compiler, + compiler_cxx=compiler, + archiver='xiar' + ' cru', + linker_exe=compiler + ' -shared-intel', + linker_so=compiler + ' ' + shared_flag + + ' -shared-intel') + + +class IntelItaniumCCompiler(IntelCCompiler): + compiler_type = 'intele' + + # On Itanium, the Intel Compiler used to be called ecc, let's search for + # it (now it's also icc, so ecc is last in the search). + for cc_exe in map(find_executable, ['icc', 'ecc']): + if cc_exe: + break + + +class IntelEM64TCCompiler(UnixCCompiler): + """ + A modified Intel x86_64 compiler compatible with a 64bit GCC-built Python. + """ + compiler_type = 'intelem' + cc_exe = 'icc -m64' + cc_args = '-fPIC' + + def __init__(self, verbose=0, dry_run=0, force=0): + UnixCCompiler.__init__(self, verbose, dry_run, force) + + v = self.get_version() + mpopt = 'openmp' if v and v < '15' else 'qopenmp' + self.cc_exe = ('icc -std=c99 -m64 -fPIC -fp-model strict -O3 ' + '-fomit-frame-pointer -{}').format(mpopt) + compiler = self.cc_exe + + if platform.system() == 'Darwin': + shared_flag = '-Wl,-undefined,dynamic_lookup' + else: + shared_flag = '-shared' + self.set_executables(compiler=compiler, + compiler_so=compiler, + compiler_cxx=compiler, + archiver='xiar' + ' cru', + linker_exe=compiler + ' -shared-intel', + linker_so=compiler + ' ' + shared_flag + + ' -shared-intel') + + +if platform.system() == 'Windows': + class IntelCCompilerW(MSVCCompiler): + """ + A modified Intel compiler compatible with an MSVC-built Python. + """ + compiler_type = 'intelw' + compiler_cxx = 'icl' + + def __init__(self, verbose=0, dry_run=0, force=0): + MSVCCompiler.__init__(self, verbose, dry_run, force) + version_match = simple_version_match(start=r'Intel\(R\).*?32,') + self.__version = version_match + + def initialize(self, plat_name=None): + MSVCCompiler.initialize(self, plat_name) + self.cc = self.find_exe('icl.exe') + self.lib = self.find_exe('xilib') + self.linker = self.find_exe('xilink') + self.compile_options = ['/nologo', '/O3', '/MD', '/W3', + '/Qstd=c99'] + self.compile_options_debug = ['/nologo', '/Od', '/MDd', '/W3', + '/Qstd=c99', '/Z7', '/D_DEBUG'] + + class IntelEM64TCCompilerW(IntelCCompilerW): + """ + A modified Intel x86_64 compiler compatible with + a 64bit MSVC-built Python. + """ + compiler_type = 'intelemw' + + def __init__(self, verbose=0, dry_run=0, force=0): + MSVCCompiler.__init__(self, verbose, dry_run, force) + version_match = simple_version_match(start=r'Intel\(R\).*?64,') + self.__version = version_match diff --git a/shared/package-files/37/37fc1031febfbe023bd674582e77b475cda43ba75f8749644da3999fc4eae477/numpy_pickle.py b/shared/package-files/37/37fc1031febfbe023bd674582e77b475cda43ba75f8749644da3999fc4eae477/numpy_pickle.py new file mode 100644 index 0000000000000000000000000000000000000000..169016d818102f9045f71a67d5f9b40b882f031c --- /dev/null +++ b/shared/package-files/37/37fc1031febfbe023bd674582e77b475cda43ba75f8749644da3999fc4eae477/numpy_pickle.py @@ -0,0 +1,756 @@ +"""Utilities for fast persistence of big data, with optional compression.""" + +# Author: Gael Varoquaux +# Copyright (c) 2009 Gael Varoquaux +# License: BSD Style, 3 clauses. + +import io +import os +import pickle +import warnings +from pathlib import Path + +from .backports import make_memmap +from .compressor import ( + _COMPRESSORS, + LZ4_NOT_INSTALLED_ERROR, + BinaryZlibFile, + BZ2CompressorWrapper, + GzipCompressorWrapper, + LZ4CompressorWrapper, + LZMACompressorWrapper, + XZCompressorWrapper, + ZlibCompressorWrapper, + lz4, + register_compressor, +) + +# For compatibility with old versions of joblib, we need ZNDArrayWrapper +# to be visible in the current namespace. +from .numpy_pickle_compat import ( + NDArrayWrapper, + ZNDArrayWrapper, # noqa: F401 + load_compatibility, +) +from .numpy_pickle_utils import ( + BUFFER_SIZE, + Pickler, + Unpickler, + _ensure_native_byte_order, + _read_bytes, + _reconstruct, + _validate_fileobject_and_memmap, + _write_fileobject, +) + +# Register supported compressors +register_compressor("zlib", ZlibCompressorWrapper()) +register_compressor("gzip", GzipCompressorWrapper()) +register_compressor("bz2", BZ2CompressorWrapper()) +register_compressor("lzma", LZMACompressorWrapper()) +register_compressor("xz", XZCompressorWrapper()) +register_compressor("lz4", LZ4CompressorWrapper()) + + +############################################################################### +# Utility objects for persistence. + +# For convenience, 16 bytes are used to be sure to cover all the possible +# dtypes' alignments. For reference, see: +# https://numpy.org/devdocs/dev/alignment.html +NUMPY_ARRAY_ALIGNMENT_BYTES = 16 + + +class NumpyArrayWrapper(object): + """An object to be persisted instead of numpy arrays. + + This object is used to hack into the pickle machinery and read numpy + array data from our custom persistence format. + More precisely, this object is used for: + * carrying the information of the persisted array: subclass, shape, order, + dtype. Those ndarray metadata are used to correctly reconstruct the array + with low level numpy functions. + * determining if memmap is allowed on the array. + * reading the array bytes from a file. + * reading the array using memorymap from a file. + * writing the array bytes to a file. + + Attributes + ---------- + subclass: numpy.ndarray subclass + Determine the subclass of the wrapped array. + shape: numpy.ndarray shape + Determine the shape of the wrapped array. + order: {'C', 'F'} + Determine the order of wrapped array data. 'C' is for C order, 'F' is + for fortran order. + dtype: numpy.ndarray dtype + Determine the data type of the wrapped array. + allow_mmap: bool + Determine if memory mapping is allowed on the wrapped array. + Default: False. + """ + + def __init__( + self, + subclass, + shape, + order, + dtype, + allow_mmap=False, + numpy_array_alignment_bytes=NUMPY_ARRAY_ALIGNMENT_BYTES, + ): + """Constructor. Store the useful information for later.""" + self.subclass = subclass + self.shape = shape + self.order = order + self.dtype = dtype + self.allow_mmap = allow_mmap + # We make numpy_array_alignment_bytes an instance attribute to allow us + # to change our mind about the default alignment and still load the old + # pickles (with the previous alignment) correctly + self.numpy_array_alignment_bytes = numpy_array_alignment_bytes + + def safe_get_numpy_array_alignment_bytes(self): + # NumpyArrayWrapper instances loaded from joblib <= 1.1 pickles don't + # have an numpy_array_alignment_bytes attribute + return getattr(self, "numpy_array_alignment_bytes", None) + + def write_array(self, array, pickler): + """Write array bytes to pickler file handle. + + This function is an adaptation of the numpy write_array function + available in version 1.10.1 in numpy/lib/format.py. + """ + # Set buffer size to 16 MiB to hide the Python loop overhead. + buffersize = max(16 * 1024**2 // array.itemsize, 1) + if array.dtype.hasobject: + # We contain Python objects so we cannot write out the data + # directly. Instead, we will pickle it out with version 5 of the + # pickle protocol. + pickle.dump(array, pickler.file_handle, protocol=5) + else: + numpy_array_alignment_bytes = self.safe_get_numpy_array_alignment_bytes() + if numpy_array_alignment_bytes is not None: + current_pos = pickler.file_handle.tell() + pos_after_padding_byte = current_pos + 1 + padding_length = numpy_array_alignment_bytes - ( + pos_after_padding_byte % numpy_array_alignment_bytes + ) + # A single byte is written that contains the padding length in + # bytes + padding_length_byte = int.to_bytes( + padding_length, length=1, byteorder="little" + ) + pickler.file_handle.write(padding_length_byte) + + if padding_length != 0: + padding = b"\xff" * padding_length + pickler.file_handle.write(padding) + + for chunk in pickler.np.nditer( + array, + flags=["external_loop", "buffered", "zerosize_ok"], + buffersize=buffersize, + order=self.order, + ): + pickler.file_handle.write(chunk.tobytes("C")) + + def read_array(self, unpickler, ensure_native_byte_order): + """Read array from unpickler file handle. + + This function is an adaptation of the numpy read_array function + available in version 1.10.1 in numpy/lib/format.py. + """ + if len(self.shape) == 0: + count = 1 + else: + # joblib issue #859: we cast the elements of self.shape to int64 to + # prevent a potential overflow when computing their product. + shape_int64 = [unpickler.np.int64(x) for x in self.shape] + count = unpickler.np.multiply.reduce(shape_int64) + # Now read the actual data. + if self.dtype.hasobject: + # The array contained Python objects. We need to unpickle the data. + array = pickle.load(unpickler.file_handle) + else: + numpy_array_alignment_bytes = self.safe_get_numpy_array_alignment_bytes() + if numpy_array_alignment_bytes is not None: + padding_byte = unpickler.file_handle.read(1) + padding_length = int.from_bytes(padding_byte, byteorder="little") + if padding_length != 0: + unpickler.file_handle.read(padding_length) + + # This is not a real file. We have to read it the + # memory-intensive way. + # crc32 module fails on reads greater than 2 ** 32 bytes, + # breaking large reads from gzip streams. Chunk reads to + # BUFFER_SIZE bytes to avoid issue and reduce memory overhead + # of the read. In non-chunked case count < max_read_count, so + # only one read is performed. + max_read_count = BUFFER_SIZE // min(BUFFER_SIZE, self.dtype.itemsize) + + array = unpickler.np.empty(count, dtype=self.dtype) + for i in range(0, count, max_read_count): + read_count = min(max_read_count, count - i) + read_size = int(read_count * self.dtype.itemsize) + data = _read_bytes(unpickler.file_handle, read_size, "array data") + array[i : i + read_count] = unpickler.np.frombuffer( + data, dtype=self.dtype, count=read_count + ) + del data + + if self.order == "F": + array.shape = self.shape[::-1] + array = array.transpose() + else: + array.shape = self.shape + + if ensure_native_byte_order: + # Detect byte order mismatch and swap as needed. + array = _ensure_native_byte_order(array) + + return array + + def read_mmap(self, unpickler): + """Read an array using numpy memmap.""" + current_pos = unpickler.file_handle.tell() + offset = current_pos + numpy_array_alignment_bytes = self.safe_get_numpy_array_alignment_bytes() + + if numpy_array_alignment_bytes is not None: + padding_byte = unpickler.file_handle.read(1) + padding_length = int.from_bytes(padding_byte, byteorder="little") + # + 1 is for the padding byte + offset += padding_length + 1 + + if unpickler.mmap_mode == "w+": + unpickler.mmap_mode = "r+" + + marray = make_memmap( + unpickler.filename, + dtype=self.dtype, + shape=self.shape, + order=self.order, + mode=unpickler.mmap_mode, + offset=offset, + ) + # update the offset so that it corresponds to the end of the read array + unpickler.file_handle.seek(offset + marray.nbytes) + + if ( + numpy_array_alignment_bytes is None + and current_pos % NUMPY_ARRAY_ALIGNMENT_BYTES != 0 + ): + message = ( + f"The memmapped array {marray} loaded from the file " + f"{unpickler.file_handle.name} is not byte aligned. " + "This may cause segmentation faults if this memmapped array " + "is used in some libraries like BLAS or PyTorch. " + "To get rid of this warning, regenerate your pickle file " + "with joblib >= 1.2.0. " + "See https://github.com/joblib/joblib/issues/563 " + "for more details" + ) + warnings.warn(message) + + return marray + + def read(self, unpickler, ensure_native_byte_order): + """Read the array corresponding to this wrapper. + + Use the unpickler to get all information to correctly read the array. + + Parameters + ---------- + unpickler: NumpyUnpickler + ensure_native_byte_order: bool + If true, coerce the array to use the native endianness of the + host system. + + Returns + ------- + array: numpy.ndarray + + """ + # When requested, only use memmap mode if allowed. + if unpickler.mmap_mode is not None and self.allow_mmap: + assert not ensure_native_byte_order, ( + "Memmaps cannot be coerced to a given byte order, " + "this code path is impossible." + ) + array = self.read_mmap(unpickler) + else: + array = self.read_array(unpickler, ensure_native_byte_order) + + # Manage array subclass case + if hasattr(array, "__array_prepare__") and self.subclass not in ( + unpickler.np.ndarray, + unpickler.np.memmap, + ): + # We need to reconstruct another subclass + new_array = _reconstruct(self.subclass, (0,), "b") + return new_array.__array_prepare__(array) + else: + return array + + +############################################################################### +# Pickler classes + + +class NumpyPickler(Pickler): + """A pickler to persist big data efficiently. + + The main features of this object are: + * persistence of numpy arrays in a single file. + * optional compression with a special care on avoiding memory copies. + + Attributes + ---------- + fp: file + File object handle used for serializing the input object. + protocol: int, optional + Pickle protocol used. Default is pickle.DEFAULT_PROTOCOL. + """ + + dispatch = Pickler.dispatch.copy() + + def __init__(self, fp, protocol=None): + self.file_handle = fp + self.buffered = isinstance(self.file_handle, BinaryZlibFile) + + # By default we want a pickle protocol that only changes with + # the major python version and not the minor one + if protocol is None: + protocol = pickle.DEFAULT_PROTOCOL + + Pickler.__init__(self, self.file_handle, protocol=protocol) + # delayed import of numpy, to avoid tight coupling + try: + import numpy as np + except ImportError: + np = None + self.np = np + + def _create_array_wrapper(self, array): + """Create and returns a numpy array wrapper from a numpy array.""" + order = ( + "F" if (array.flags.f_contiguous and not array.flags.c_contiguous) else "C" + ) + allow_mmap = not self.buffered and not array.dtype.hasobject + + kwargs = {} + try: + self.file_handle.tell() + except io.UnsupportedOperation: + kwargs = {"numpy_array_alignment_bytes": None} + + wrapper = NumpyArrayWrapper( + type(array), + array.shape, + order, + array.dtype, + allow_mmap=allow_mmap, + **kwargs, + ) + + return wrapper + + def save(self, obj): + """Subclass the Pickler `save` method. + + This is a total abuse of the Pickler class in order to use the numpy + persistence function `save` instead of the default pickle + implementation. The numpy array is replaced by a custom wrapper in the + pickle persistence stack and the serialized array is written right + after in the file. Warning: the file produced does not follow the + pickle format. As such it can not be read with `pickle.load`. + """ + if self.np is not None and type(obj) in ( + self.np.ndarray, + self.np.matrix, + self.np.memmap, + ): + if type(obj) is self.np.memmap: + # Pickling doesn't work with memmapped arrays + obj = self.np.asanyarray(obj) + + # The array wrapper is pickled instead of the real array. + wrapper = self._create_array_wrapper(obj) + Pickler.save(self, wrapper) + + # A framer was introduced with pickle protocol 4 and we want to + # ensure the wrapper object is written before the numpy array + # buffer in the pickle file. + # See https://www.python.org/dev/peps/pep-3154/#framing to get + # more information on the framer behavior. + if self.proto >= 4: + self.framer.commit_frame(force=True) + + # And then array bytes are written right after the wrapper. + wrapper.write_array(obj, self) + return + + return Pickler.save(self, obj) + + +class NumpyUnpickler(Unpickler): + """A subclass of the Unpickler to unpickle our numpy pickles. + + Attributes + ---------- + mmap_mode: str + The memorymap mode to use for reading numpy arrays. + file_handle: file_like + File object to unpickle from. + ensure_native_byte_order: bool + If True, coerce the array to use the native endianness of the + host system. + filename: str + Name of the file to unpickle from. It should correspond to file_handle. + This parameter is required when using mmap_mode. + np: module + Reference to numpy module if numpy is installed else None. + + """ + + dispatch = Unpickler.dispatch.copy() + + def __init__(self, filename, file_handle, ensure_native_byte_order, mmap_mode=None): + # The next line is for backward compatibility with pickle generated + # with joblib versions less than 0.10. + self._dirname = os.path.dirname(filename) + + self.mmap_mode = mmap_mode + self.file_handle = file_handle + # filename is required for numpy mmap mode. + self.filename = filename + self.compat_mode = False + self.ensure_native_byte_order = ensure_native_byte_order + Unpickler.__init__(self, self.file_handle) + try: + import numpy as np + except ImportError: + np = None + self.np = np + + def load_build(self): + """Called to set the state of a newly created object. + + We capture it to replace our place-holder objects, NDArrayWrapper or + NumpyArrayWrapper, by the array we are interested in. We + replace them directly in the stack of pickler. + NDArrayWrapper is used for backward compatibility with joblib <= 0.9. + """ + Unpickler.load_build(self) + + # For backward compatibility, we support NDArrayWrapper objects. + if isinstance(self.stack[-1], (NDArrayWrapper, NumpyArrayWrapper)): + if self.np is None: + raise ImportError( + "Trying to unpickle an ndarray, but numpy didn't import correctly" + ) + array_wrapper = self.stack.pop() + # If any NDArrayWrapper is found, we switch to compatibility mode, + # this will be used to raise a DeprecationWarning to the user at + # the end of the unpickling. + if isinstance(array_wrapper, NDArrayWrapper): + self.compat_mode = True + _array_payload = array_wrapper.read(self) + else: + _array_payload = array_wrapper.read(self, self.ensure_native_byte_order) + + self.stack.append(_array_payload) + + # Be careful to register our new method. + dispatch[pickle.BUILD[0]] = load_build + + +############################################################################### +# Utility functions + + +def dump(value, filename, compress=0, protocol=None): + """Persist an arbitrary Python object into one file. + + Read more in the :ref:`User Guide `. + + Parameters + ---------- + value: any Python object + The object to store to disk. + filename: str, pathlib.Path, or file object. + The file object or path of the file in which it is to be stored. + The compression method corresponding to one of the supported filename + extensions ('.z', '.gz', '.bz2', '.xz' or '.lzma') will be used + automatically. + compress: int from 0 to 9 or bool or 2-tuple, optional + Optional compression level for the data. 0 or False is no compression. + Higher value means more compression, but also slower read and + write times. Using a value of 3 is often a good compromise. + See the notes for more details. + If compress is True, the compression level used is 3. + If compress is a 2-tuple, the first element must correspond to a string + between supported compressors (e.g 'zlib', 'gzip', 'bz2', 'lzma' + 'xz'), the second element must be an integer from 0 to 9, corresponding + to the compression level. + protocol: int, optional + Pickle protocol, see pickle.dump documentation for more details. + + Returns + ------- + filenames: list of strings + The list of file names in which the data is stored. If + compress is false, each array is stored in a different file. + + See Also + -------- + joblib.load : corresponding loader + + Notes + ----- + Memmapping on load cannot be used for compressed files. Thus + using compression can significantly slow down loading. In + addition, compressed files take up extra memory during + dump and load. + + """ + + if Path is not None and isinstance(filename, Path): + filename = str(filename) + + is_filename = isinstance(filename, str) + is_fileobj = hasattr(filename, "write") + + compress_method = "zlib" # zlib is the default compression method. + if compress is True: + # By default, if compress is enabled, we want the default compress + # level of the compressor. + compress_level = None + elif isinstance(compress, tuple): + # a 2-tuple was set in compress + if len(compress) != 2: + raise ValueError( + "Compress argument tuple should contain exactly 2 elements: " + "(compress method, compress level), you passed {}".format(compress) + ) + compress_method, compress_level = compress + elif isinstance(compress, str): + compress_method = compress + compress_level = None # Use default compress level + compress = (compress_method, compress_level) + else: + compress_level = compress + + if compress_method == "lz4" and lz4 is None: + raise ValueError(LZ4_NOT_INSTALLED_ERROR) + + if ( + compress_level is not None + and compress_level is not False + and compress_level not in range(10) + ): + # Raising an error if a non valid compress level is given. + raise ValueError( + 'Non valid compress level given: "{}". Possible values are {}.'.format( + compress_level, list(range(10)) + ) + ) + + if compress_method not in _COMPRESSORS: + # Raising an error if an unsupported compression method is given. + raise ValueError( + 'Non valid compression method given: "{}". Possible values are {}.'.format( + compress_method, _COMPRESSORS + ) + ) + + if not is_filename and not is_fileobj: + # People keep inverting arguments, and the resulting error is + # incomprehensible + raise ValueError( + "Second argument should be a filename or a file-like object, " + "%s (type %s) was given." % (filename, type(filename)) + ) + + if is_filename and not isinstance(compress, tuple): + # In case no explicit compression was requested using both compression + # method and level in a tuple and the filename has an explicit + # extension, we select the corresponding compressor. + + # unset the variable to be sure no compression level is set afterwards. + compress_method = None + for name, compressor in _COMPRESSORS.items(): + if filename.endswith(compressor.extension): + compress_method = name + + if compress_method in _COMPRESSORS and compress_level == 0: + # we choose the default compress_level in case it was not given + # as an argument (using compress). + compress_level = None + + if compress_level != 0: + with _write_fileobject( + filename, compress=(compress_method, compress_level) + ) as f: + NumpyPickler(f, protocol=protocol).dump(value) + elif is_filename: + with open(filename, "wb") as f: + NumpyPickler(f, protocol=protocol).dump(value) + else: + NumpyPickler(filename, protocol=protocol).dump(value) + + # If the target container is a file object, nothing is returned. + if is_fileobj: + return + + # For compatibility, the list of created filenames (e.g with one element + # after 0.10.0) is returned by default. + return [filename] + + +def _unpickle(fobj, ensure_native_byte_order, filename="", mmap_mode=None): + """Internal unpickling function.""" + # We are careful to open the file handle early and keep it open to + # avoid race-conditions on renames. + # That said, if data is stored in companion files, which can be + # the case with the old persistence format, moving the directory + # will create a race when joblib tries to access the companion + # files. + unpickler = NumpyUnpickler( + filename, fobj, ensure_native_byte_order, mmap_mode=mmap_mode + ) + obj = None + try: + obj = unpickler.load() + if unpickler.compat_mode: + warnings.warn( + "The file '%s' has been generated with a " + "joblib version less than 0.10. " + "Please regenerate this pickle file." % filename, + DeprecationWarning, + stacklevel=3, + ) + except UnicodeDecodeError as exc: + # More user-friendly error message + new_exc = ValueError( + "You may be trying to read with " + "python 3 a joblib pickle generated with python 2. " + "This feature is not supported by joblib." + ) + new_exc.__cause__ = exc + raise new_exc + return obj + + +def load_temporary_memmap(filename, mmap_mode, unlink_on_gc_collect): + from ._memmapping_reducer import JOBLIB_MMAPS, add_maybe_unlink_finalizer + + with open(filename, "rb") as f: + with _validate_fileobject_and_memmap(f, filename, mmap_mode) as ( + fobj, + validated_mmap_mode, + ): + # Memmap are used for interprocess communication, which should + # keep the objects untouched. We pass `ensure_native_byte_order=False` + # to remain consistent with the loading behavior of non-memmaped arrays + # in workers, where the byte order is preserved. + # Note that we do not implement endianness change for memmaps, as this + # would result in inconsistent behavior. + obj = _unpickle( + fobj, + ensure_native_byte_order=False, + filename=filename, + mmap_mode=validated_mmap_mode, + ) + + JOBLIB_MMAPS.add(obj.filename) + if unlink_on_gc_collect: + add_maybe_unlink_finalizer(obj) + return obj + + +def load(filename, mmap_mode=None, ensure_native_byte_order="auto"): + """Reconstruct a Python object from a file persisted with joblib.dump. + + Read more in the :ref:`User Guide `. + + WARNING: joblib.load relies on the pickle module and can therefore + execute arbitrary Python code. It should therefore never be used + to load files from untrusted sources. + + Parameters + ---------- + filename: str, pathlib.Path, or file object. + The file object or path of the file from which to load the object + mmap_mode: {None, 'r+', 'r', 'w+', 'c'}, optional + If not None, the arrays are memory-mapped from the disk. This + mode has no effect for compressed files. Note that in this + case the reconstructed object might no longer match exactly + the originally pickled object. + ensure_native_byte_order: bool, or 'auto', default=='auto' + If True, ensures that the byte order of the loaded arrays matches the + native byte ordering (or _endianness_) of the host system. This is not + compatible with memory-mapped arrays and using non-null `mmap_mode` + parameter at the same time will raise an error. The default 'auto' + parameter is equivalent to True if `mmap_mode` is None, else False. + + Returns + ------- + result: any Python object + The object stored in the file. + + See Also + -------- + joblib.dump : function to save an object + + Notes + ----- + + This function can load numpy array files saved separately during the + dump. If the mmap_mode argument is given, it is passed to np.load and + arrays are loaded as memmaps. As a consequence, the reconstructed + object might not match the original pickled object. Note that if the + file was saved with compression, the arrays cannot be memmapped. + """ + if ensure_native_byte_order == "auto": + ensure_native_byte_order = mmap_mode is None + + if ensure_native_byte_order and mmap_mode is not None: + raise ValueError( + "Native byte ordering can only be enforced if 'mmap_mode' parameter " + f"is set to None, but got 'mmap_mode={mmap_mode}' instead." + ) + + if Path is not None and isinstance(filename, Path): + filename = str(filename) + + if hasattr(filename, "read"): + fobj = filename + filename = getattr(fobj, "name", "") + with _validate_fileobject_and_memmap(fobj, filename, mmap_mode) as (fobj, _): + obj = _unpickle(fobj, ensure_native_byte_order=ensure_native_byte_order) + else: + with open(filename, "rb") as f: + with _validate_fileobject_and_memmap(f, filename, mmap_mode) as ( + fobj, + validated_mmap_mode, + ): + if isinstance(fobj, str): + # if the returned file object is a string, this means we + # try to load a pickle file generated with an version of + # Joblib so we load it with joblib compatibility function. + return load_compatibility(fobj) + + # A memory-mapped array has to be mapped with the endianness + # it has been written with. Other arrays are coerced to the + # native endianness of the host system. + obj = _unpickle( + fobj, + ensure_native_byte_order=ensure_native_byte_order, + filename=filename, + mmap_mode=validated_mmap_mode, + ) + + return obj diff --git a/shared/package-files/45/4502524aaa1923393725c04e6b2f27077399190e42bc8903415e95718c5f3c6f/test_zzdummy.py b/shared/package-files/45/4502524aaa1923393725c04e6b2f27077399190e42bc8903415e95718c5f3c6f/test_zzdummy.py new file mode 100644 index 0000000000000000000000000000000000000000..209d8564da06641f38e352846a24592636186c77 --- /dev/null +++ b/shared/package-files/45/4502524aaa1923393725c04e6b2f27077399190e42bc8903415e95718c5f3c6f/test_zzdummy.py @@ -0,0 +1,152 @@ +"Test zzdummy, coverage 100%." + +from idlelib import zzdummy +import unittest +from test.support import requires +from tkinter import Tk, Text +from unittest import mock +from idlelib import config +from idlelib import editor +from idlelib import format + + +usercfg = zzdummy.idleConf.userCfg +testcfg = { + 'main': config.IdleUserConfParser(''), + 'highlight': config.IdleUserConfParser(''), + 'keys': config.IdleUserConfParser(''), + 'extensions': config.IdleUserConfParser(''), +} +code_sample = """\ + +class C1: + # Class comment. + def __init__(self, a, b): + self.a = a + self.b = b +""" + + +class DummyEditwin: + get_selection_indices = editor.EditorWindow.get_selection_indices + def __init__(self, root, text): + self.root = root + self.top = root + self.text = text + self.fregion = format.FormatRegion(self) + self.text.undo_block_start = mock.Mock() + self.text.undo_block_stop = mock.Mock() + + +class ZZDummyTest(unittest.TestCase): + + @classmethod + def setUpClass(cls): + requires('gui') + root = cls.root = Tk() + root.withdraw() + text = cls.text = Text(cls.root) + cls.editor = DummyEditwin(root, text) + zzdummy.idleConf.userCfg = testcfg + + @classmethod + def tearDownClass(cls): + zzdummy.idleConf.userCfg = usercfg + del cls.editor, cls.text + cls.root.update_idletasks() + for id in cls.root.tk.call('after', 'info'): + cls.root.after_cancel(id) # Need for EditorWindow. + cls.root.destroy() + del cls.root + + def setUp(self): + text = self.text + text.insert('1.0', code_sample) + text.undo_block_start.reset_mock() + text.undo_block_stop.reset_mock() + zz = self.zz = zzdummy.ZzDummy(self.editor) + zzdummy.ZzDummy.ztext = '# ignore #' + + def tearDown(self): + self.text.delete('1.0', 'end') + del self.zz + + def checklines(self, text, value): + # Verify that there are lines being checked. + end_line = int(float(text.index('end'))) + + # Check each line for the starting text. + actual = [] + for line in range(1, end_line): + txt = text.get(f'{line}.0', f'{line}.end') + actual.append(txt.startswith(value)) + return actual + + def test_init(self): + zz = self.zz + self.assertEqual(zz.editwin, self.editor) + self.assertEqual(zz.text, self.editor.text) + + def test_reload(self): + self.assertEqual(self.zz.ztext, '# ignore #') + testcfg['extensions'].SetOption('ZzDummy', 'z-text', 'spam') + zzdummy.ZzDummy.reload() + self.assertEqual(self.zz.ztext, 'spam') + + def test_z_in_event(self): + eq = self.assertEqual + zz = self.zz + text = zz.text + eq(self.zz.ztext, '# ignore #') + + # No lines have the leading text. + expected = [False, False, False, False, False, False, False] + actual = self.checklines(text, zz.ztext) + eq(expected, actual) + + text.tag_add('sel', '2.0', '4.end') + eq(zz.z_in_event(), 'break') + expected = [False, True, True, True, False, False, False] + actual = self.checklines(text, zz.ztext) + eq(expected, actual) + + text.undo_block_start.assert_called_once() + text.undo_block_stop.assert_called_once() + + def test_z_out_event(self): + eq = self.assertEqual + zz = self.zz + text = zz.text + eq(self.zz.ztext, '# ignore #') + + # Prepend text. + text.tag_add('sel', '2.0', '5.end') + zz.z_in_event() + text.undo_block_start.reset_mock() + text.undo_block_stop.reset_mock() + + # Select a few lines to remove text. + text.tag_remove('sel', '1.0', 'end') + text.tag_add('sel', '3.0', '4.end') + eq(zz.z_out_event(), 'break') + expected = [False, True, False, False, True, False, False] + actual = self.checklines(text, zz.ztext) + eq(expected, actual) + + text.undo_block_start.assert_called_once() + text.undo_block_stop.assert_called_once() + + def test_roundtrip(self): + # Insert and remove to all code should give back original text. + zz = self.zz + text = zz.text + + text.tag_add('sel', '1.0', 'end-1c') + zz.z_in_event() + zz.z_out_event() + + self.assertEqual(text.get('1.0', 'end-1c'), code_sample) + + +if __name__ == '__main__': + unittest.main(verbosity=2) diff --git a/shared/package-files/45/450415c251151d1a765fe73fd21278eb2e7869b4e5a94b8b932ad45227327398/BajaSur b/shared/package-files/45/450415c251151d1a765fe73fd21278eb2e7869b4e5a94b8b932ad45227327398/BajaSur new file mode 100644 index 0000000000000000000000000000000000000000..06fa22749d0a3157b5a693f0797086f78e1201c5 Binary files /dev/null and b/shared/package-files/45/450415c251151d1a765fe73fd21278eb2e7869b4e5a94b8b932ad45227327398/BajaSur differ diff --git a/shared/package-files/45/450415c251151d1a765fe73fd21278eb2e7869b4e5a94b8b932ad45227327398/Mazatlan b/shared/package-files/45/450415c251151d1a765fe73fd21278eb2e7869b4e5a94b8b932ad45227327398/Mazatlan new file mode 100644 index 0000000000000000000000000000000000000000..06fa22749d0a3157b5a693f0797086f78e1201c5 Binary files /dev/null and b/shared/package-files/45/450415c251151d1a765fe73fd21278eb2e7869b4e5a94b8b932ad45227327398/Mazatlan differ diff --git a/shared/package-files/45/4505a2c49a5be69883525e55688d722ffb895dc11ab58f18bf0298fd61959c44/dynamic_ir.h b/shared/package-files/45/4505a2c49a5be69883525e55688d722ffb895dc11ab58f18bf0298fd61959c44/dynamic_ir.h new file mode 100644 index 0000000000000000000000000000000000000000..aa0ed1eb99321f53cf0f16ef3403bc7abf491738 --- /dev/null +++ b/shared/package-files/45/4505a2c49a5be69883525e55688d722ffb895dc11ab58f18bf0298fd61959c44/dynamic_ir.h @@ -0,0 +1,85 @@ +#pragma once + +#include + +#include +#include +#include +#include +#include +#include +#include +#include + +#include +#include +#include +#include +#include +#include +#include + +C10_DECLARE_bool(ltc_enable_dynamic_shapes); + +namespace torch { +namespace lazy { + +/** + * The goal of "dynamic" Nodes is to patch a hole in our tracing. + * Previously, if a user called `sizes` on a Tensor, it would leak out + * of our tracing system, as `sizes` returns a torch.Size or an int. To + * prevent this from happening, we introduce DimensionNode, a new type + * of Node that abstracts the operation of getting the dimensions of a + * Tensor. + * + * Consider the following example: + * ``` + * numel = x.shape()[0] * x.shape()[1] + * ``` + * + * Here, `x.shape()[i]` will be a SizeNode (subclass of DimensionNode), + * and the multiplication of the two SizeNodes will be represented by + * a SizeMul (also a subclass of DimensionNode). Through this, we can + * prevent `numel` from being represented as a Python int and thus + * burned into the Graph. + */ + +// Represents the result of calling `size` on a Tensor +class TORCH_API SizeNode : public TsNode, public DimensionNode { + public: + SizeNode(Value input, size_t dim); + int64_t getStaticValue() const override; + bool isSymbolic() const override; + std::string ToString() const override; + size_t dim_ = 0; + torch::lazy::TSOpVector Lower( + std::shared_ptr function, + TSLoweringContext* loctx) const override; +}; + +class TORCH_API SizeAdd : public TsNode, public DimensionNode { + public: + SizeAdd(Value a, Value b); + int64_t getStaticValue() const override; + bool isSymbolic() const override; + std::string ToString() const override; +}; + +class TORCH_API SizeMul : public TsNode, public DimensionNode { + public: + SizeMul(Value a, Value b); + int64_t getStaticValue() const override; + bool isSymbolic() const override; + std::string ToString() const override; +}; + +class TORCH_API SizeDiv : public TsNode, public DimensionNode { + public: + SizeDiv(Value a, Value b); + int64_t getStaticValue() const override; + bool isSymbolic() const override; + std::string ToString() const override; +}; + +} // namespace lazy +} // namespace torch diff --git a/shared/package-files/45/45085e08efdc40195a5ac60c6c09acc2ed143ca53b6e62d32392c4160a2d9250/backend_managers.py b/shared/package-files/45/45085e08efdc40195a5ac60c6c09acc2ed143ca53b6e62d32392c4160a2d9250/backend_managers.py new file mode 100644 index 0000000000000000000000000000000000000000..76f15030bcc5e2c112b9aa72ca9cbf18334599e2 --- /dev/null +++ b/shared/package-files/45/45085e08efdc40195a5ac60c6c09acc2ed143ca53b6e62d32392c4160a2d9250/backend_managers.py @@ -0,0 +1,387 @@ +from matplotlib import _api, backend_tools, cbook, widgets + + +class ToolEvent: + """Event for tool manipulation (add/remove).""" + def __init__(self, name, sender, tool, data=None): + self.name = name + self.sender = sender + self.tool = tool + self.data = data + + +class ToolTriggerEvent(ToolEvent): + """Event to inform that a tool has been triggered.""" + def __init__(self, name, sender, tool, canvasevent=None, data=None): + super().__init__(name, sender, tool, data) + self.canvasevent = canvasevent + + +class ToolManagerMessageEvent: + """ + Event carrying messages from toolmanager. + + Messages usually get displayed to the user by the toolbar. + """ + def __init__(self, name, sender, message): + self.name = name + self.sender = sender + self.message = message + + +class ToolManager: + """ + Manager for actions triggered by user interactions (key press, toolbar + clicks, ...) on a Figure. + + Attributes + ---------- + figure : `.Figure` + keypresslock : `~matplotlib.widgets.LockDraw` + `.LockDraw` object to know if the `canvas` key_press_event is locked. + messagelock : `~matplotlib.widgets.LockDraw` + `.LockDraw` object to know if the message is available to write. + """ + + def __init__(self, figure=None): + + self._key_press_handler_id = None + + self._tools = {} + self._keys = {} + self._toggled = {} + self._callbacks = cbook.CallbackRegistry() + + # to process keypress event + self.keypresslock = widgets.LockDraw() + self.messagelock = widgets.LockDraw() + + self._figure = None + self.set_figure(figure) + + @property + def canvas(self): + """Canvas managed by FigureManager.""" + if not self._figure: + return None + return self._figure.canvas + + @property + def figure(self): + """Figure that holds the canvas.""" + return self._figure + + @figure.setter + def figure(self, figure): + self.set_figure(figure) + + def set_figure(self, figure, update_tools=True): + """ + Bind the given figure to the tools. + + Parameters + ---------- + figure : `.Figure` + update_tools : bool, default: True + Force tools to update figure. + """ + if self._key_press_handler_id: + self.canvas.mpl_disconnect(self._key_press_handler_id) + self._figure = figure + if figure: + self._key_press_handler_id = self.canvas.mpl_connect( + 'key_press_event', self._key_press) + if update_tools: + for tool in self._tools.values(): + tool.figure = figure + + def toolmanager_connect(self, s, func): + """ + Connect event with string *s* to *func*. + + Parameters + ---------- + s : str + The name of the event. The following events are recognized: + + - 'tool_message_event' + - 'tool_removed_event' + - 'tool_added_event' + + For every tool added a new event is created + + - 'tool_trigger_TOOLNAME', where TOOLNAME is the id of the tool. + + func : callable + Callback function for the toolmanager event with signature:: + + def func(event: ToolEvent) -> Any + + Returns + ------- + cid + The callback id for the connection. This can be used in + `.toolmanager_disconnect`. + """ + return self._callbacks.connect(s, func) + + def toolmanager_disconnect(self, cid): + """ + Disconnect callback id *cid*. + + Example usage:: + + cid = toolmanager.toolmanager_connect('tool_trigger_zoom', onpress) + #...later + toolmanager.toolmanager_disconnect(cid) + """ + return self._callbacks.disconnect(cid) + + def message_event(self, message, sender=None): + """Emit a `ToolManagerMessageEvent`.""" + if sender is None: + sender = self + + s = 'tool_message_event' + event = ToolManagerMessageEvent(s, sender, message) + self._callbacks.process(s, event) + + @property + def active_toggle(self): + """Currently toggled tools.""" + return self._toggled + + def get_tool_keymap(self, name): + """ + Return the keymap associated with the specified tool. + + Parameters + ---------- + name : str + Name of the Tool. + + Returns + ------- + list of str + List of keys associated with the tool. + """ + + keys = [k for k, i in self._keys.items() if i == name] + return keys + + def _remove_keys(self, name): + for k in self.get_tool_keymap(name): + del self._keys[k] + + def update_keymap(self, name, key): + """ + Set the keymap to associate with the specified tool. + + Parameters + ---------- + name : str + Name of the Tool. + key : str or list of str + Keys to associate with the tool. + """ + if name not in self._tools: + raise KeyError(f'{name!r} not in Tools') + self._remove_keys(name) + if isinstance(key, str): + key = [key] + for k in key: + if k in self._keys: + _api.warn_external( + f'Key {k} changed from {self._keys[k]} to {name}') + self._keys[k] = name + + def remove_tool(self, name): + """ + Remove tool named *name*. + + Parameters + ---------- + name : str + Name of the tool. + """ + tool = self.get_tool(name) + if getattr(tool, 'toggled', False): # If it's a toggled toggle tool, untoggle + self.trigger_tool(tool, 'toolmanager') + self._remove_keys(name) + event = ToolEvent('tool_removed_event', self, tool) + self._callbacks.process(event.name, event) + del self._tools[name] + + def add_tool(self, name, tool, *args, **kwargs): + """ + Add *tool* to `ToolManager`. + + If successful, adds a new event ``tool_trigger_{name}`` where + ``{name}`` is the *name* of the tool; the event is fired every time the + tool is triggered. + + Parameters + ---------- + name : str + Name of the tool, treated as the ID, has to be unique. + tool : type + Class of the tool to be added. A subclass will be used + instead if one was registered for the current canvas class. + *args, **kwargs + Passed to the *tool*'s constructor. + + See Also + -------- + matplotlib.backend_tools.ToolBase : The base class for tools. + """ + + tool_cls = backend_tools._find_tool_class(type(self.canvas), tool) + if not tool_cls: + raise ValueError('Impossible to find class for %s' % str(tool)) + + if name in self._tools: + _api.warn_external('A "Tool class" with the same name already ' + 'exists, not added') + return self._tools[name] + + tool_obj = tool_cls(self, name, *args, **kwargs) + self._tools[name] = tool_obj + + if tool_obj.default_keymap is not None: + self.update_keymap(name, tool_obj.default_keymap) + + # For toggle tools init the radio_group in self._toggled + if isinstance(tool_obj, backend_tools.ToolToggleBase): + # None group is not mutually exclusive, a set is used to keep track + # of all toggled tools in this group + if tool_obj.radio_group is None: + self._toggled.setdefault(None, set()) + else: + self._toggled.setdefault(tool_obj.radio_group, None) + + # If initially toggled + if tool_obj.toggled: + self._handle_toggle(tool_obj, None, None) + tool_obj.set_figure(self.figure) + + event = ToolEvent('tool_added_event', self, tool_obj) + self._callbacks.process(event.name, event) + + return tool_obj + + def _handle_toggle(self, tool, canvasevent, data): + """ + Toggle tools, need to untoggle prior to using other Toggle tool. + Called from trigger_tool. + + Parameters + ---------- + tool : `.ToolBase` + canvasevent : Event + Original Canvas event or None. + data : object + Extra data to pass to the tool when triggering. + """ + + radio_group = tool.radio_group + # radio_group None is not mutually exclusive + # just keep track of toggled tools in this group + if radio_group is None: + if tool.name in self._toggled[None]: + self._toggled[None].remove(tool.name) + else: + self._toggled[None].add(tool.name) + return + + # If the tool already has a toggled state, untoggle it + if self._toggled[radio_group] == tool.name: + toggled = None + # If no tool was toggled in the radio_group + # toggle it + elif self._toggled[radio_group] is None: + toggled = tool.name + # Other tool in the radio_group is toggled + else: + # Untoggle previously toggled tool + self.trigger_tool(self._toggled[radio_group], + self, + canvasevent, + data) + toggled = tool.name + + # Keep track of the toggled tool in the radio_group + self._toggled[radio_group] = toggled + + def trigger_tool(self, name, sender=None, canvasevent=None, data=None): + """ + Trigger a tool and emit the ``tool_trigger_{name}`` event. + + Parameters + ---------- + name : str + Name of the tool. + sender : object + Object that wishes to trigger the tool. + canvasevent : Event + Original Canvas event or None. + data : object + Extra data to pass to the tool when triggering. + """ + tool = self.get_tool(name) + if tool is None: + return + + if sender is None: + sender = self + + if isinstance(tool, backend_tools.ToolToggleBase): + self._handle_toggle(tool, canvasevent, data) + + tool.trigger(sender, canvasevent, data) # Actually trigger Tool. + + s = 'tool_trigger_%s' % name + event = ToolTriggerEvent(s, sender, tool, canvasevent, data) + self._callbacks.process(s, event) + + def _key_press(self, event): + if event.key is None or self.keypresslock.locked(): + return + + name = self._keys.get(event.key, None) + if name is None: + return + self.trigger_tool(name, canvasevent=event) + + @property + def tools(self): + """A dict mapping tool name -> controlled tool.""" + return self._tools + + def get_tool(self, name, warn=True): + """ + Return the tool object with the given name. + + For convenience, this passes tool objects through. + + Parameters + ---------- + name : str or `.ToolBase` + Name of the tool, or the tool itself. + warn : bool, default: True + Whether a warning should be emitted it no tool with the given name + exists. + + Returns + ------- + `.ToolBase` or None + The tool or None if no tool with the given name exists. + """ + if (isinstance(name, backend_tools.ToolBase) + and name.name in self._tools): + return name + if name not in self._tools: + if warn: + _api.warn_external( + f"ToolManager does not control tool {name!r}") + return None + return self._tools[name] diff --git a/shared/package-files/45/45088f8b5778155336071934e1d4215d9d8faa47a58c42f67d967d498a8843bf/base.py b/shared/package-files/45/45088f8b5778155336071934e1d4215d9d8faa47a58c42f67d967d498a8843bf/base.py new file mode 100644 index 0000000000000000000000000000000000000000..3f9f896e632e929a63e9724ab80ecdfc9761b795 --- /dev/null +++ b/shared/package-files/45/45088f8b5778155336071934e1d4215d9d8faa47a58c42f67d967d498a8843bf/base.py @@ -0,0 +1,81 @@ +import functools +import os +import site +import sys +import sysconfig +import typing + +from pip._internal.exceptions import InstallationError +from pip._internal.utils import appdirs +from pip._internal.utils.virtualenv import running_under_virtualenv + +# Application Directories +USER_CACHE_DIR = appdirs.user_cache_dir("pip") + +# FIXME doesn't account for venv linked to global site-packages +site_packages: str = sysconfig.get_path("purelib") + + +def get_major_minor_version() -> str: + """ + Return the major-minor version of the current Python as a string, e.g. + "3.7" or "3.10". + """ + return "{}.{}".format(*sys.version_info) + + +def change_root(new_root: str, pathname: str) -> str: + """Return 'pathname' with 'new_root' prepended. + + If 'pathname' is relative, this is equivalent to os.path.join(new_root, pathname). + Otherwise, it requires making 'pathname' relative and then joining the + two, which is tricky on DOS/Windows and Mac OS. + + This is borrowed from Python's standard library's distutils module. + """ + if os.name == "posix": + if not os.path.isabs(pathname): + return os.path.join(new_root, pathname) + else: + return os.path.join(new_root, pathname[1:]) + + elif os.name == "nt": + (drive, path) = os.path.splitdrive(pathname) + if path[0] == "\\": + path = path[1:] + return os.path.join(new_root, path) + + else: + raise InstallationError( + f"Unknown platform: {os.name}\n" + "Can not change root path prefix on unknown platform." + ) + + +def get_src_prefix() -> str: + if running_under_virtualenv(): + src_prefix = os.path.join(sys.prefix, "src") + else: + # FIXME: keep src in cwd for now (it is not a temporary folder) + try: + src_prefix = os.path.join(os.getcwd(), "src") + except OSError: + # In case the current working directory has been renamed or deleted + sys.exit("The folder you are executing pip from can no longer be found.") + + # under macOS + virtualenv sys.prefix is not properly resolved + # it is something like /path/to/python/bin/.. + return os.path.abspath(src_prefix) + + +try: + # Use getusersitepackages if this is present, as it ensures that the + # value is initialised properly. + user_site: typing.Optional[str] = site.getusersitepackages() +except AttributeError: + user_site = site.USER_SITE + + +@functools.lru_cache(maxsize=None) +def is_osx_framework() -> bool: + return bool(sysconfig.get_config_var("PYTHONFRAMEWORK")) diff --git a/shared/package-files/45/4509aa8b0b916ceed5a547f90aa7cdf9caebacf48848f062addefc5b1f99f975/dynamo_test_failures.py b/shared/package-files/45/4509aa8b0b916ceed5a547f90aa7cdf9caebacf48848f062addefc5b1f99f975/dynamo_test_failures.py new file mode 100644 index 0000000000000000000000000000000000000000..eb626b552ce6abf67d363654b536e5218f197283 --- /dev/null +++ b/shared/package-files/45/4509aa8b0b916ceed5a547f90aa7cdf9caebacf48848f062addefc5b1f99f975/dynamo_test_failures.py @@ -0,0 +1,113 @@ +import logging +import os +import sys + +# NOTE: [dynamo_test_failures.py] +# +# We generate xFailIfTorchDynamo* for all tests in `dynamo_expected_failures` +# We generate skipIfTorchDynamo* for all tests in `dynamo_skips` +# +# For an easier-than-manual way of generating and updating these lists, +# see scripts/compile_tests/update_failures.py +# +# If you're adding a new test, and it's failing PYTORCH_TEST_WITH_DYNAMO=1, +# either add the appropriate decorators to your test or add skips for them +# via test/dynamo_skips and test/dynamo_expected_failures. +# +# *These are not exactly unittest.expectedFailure and unittest.skip. We'll +# always execute the test and then suppress the signal, if necessary. +# If your tests crashes, or is slow, please use @skipIfTorchDynamo instead. +# +# The expected failure and skip files are located in test/dynamo_skips and +# test/dynamo_expected_failures. They're individual files rather than a list so +# git will merge changes easier. + + +def find_test_dir(): + # Find the path to the dynamo expected failure and skip files. + from os.path import abspath, basename, dirname, exists, join, normpath + + if sys.platform == "win32": + return None + + # Check relative to this file (local build): + test_dir = normpath(join(dirname(abspath(__file__)), "../../../test")) + if exists(join(test_dir, "dynamo_expected_failures")): + return test_dir + + # Check relative to __main__ (installed builds relative to test file): + main = sys.modules["__main__"] + file = getattr(main, "__file__", None) + if file is None: + # Generated files do not have a module.__file__ + return None + test_dir = dirname(abspath(file)) + while dirname(test_dir) != test_dir: + if basename(test_dir) == "test" and exists( + join(test_dir, "dynamo_expected_failures") + ): + return test_dir + test_dir = dirname(test_dir) + + # Not found + return None + + +test_dir = find_test_dir() +if not test_dir: + logger = logging.getLogger(__name__) + logger.warning( + "test/dynamo_expected_failures directory not found - known dynamo errors won't be skipped." + ) + +# Tests that run without strict mode in PYTORCH_TEST_WITH_INDUCTOR=1. +# Please don't add anything to this list. +FIXME_inductor_non_strict = { + "test_modules", + "test_ops", + "test_ops_gradients", + "test_torch", +} + +# We generate unittest.expectedFailure for all of the following tests +# when run under PYTORCH_TEST_WITH_DYNAMO=1. +# see NOTE [dynamo_test_failures.py] for more details +# +# This lists exists so we can more easily add large numbers of failing tests, +if test_dir is None: + dynamo_expected_failures = set() + dynamo_skips = set() +else: + failures_directory = os.path.join(test_dir, "dynamo_expected_failures") + skips_directory = os.path.join(test_dir, "dynamo_skips") + + dynamo_expected_failures = set(os.listdir(failures_directory)) + dynamo_skips = set(os.listdir(skips_directory)) + +# TODO: due to case sensitivity problems, for now list these files by hand +extra_dynamo_skips = { + "TestProxyTensorOpInfoCPU.test_make_fx_exhaustive_T_cpu_float32", + "TestProxyTensorOpInfoCPU.test_make_fx_exhaustive_t_cpu_float32", + "TestProxyTensorOpInfoCPU.test_make_fx_fake_exhaustive_T_cpu_float32", + "TestProxyTensorOpInfoCPU.test_make_fx_fake_exhaustive_t_cpu_float32", + "TestProxyTensorOpInfoCPU.test_make_fx_symbolic_exhaustive_T_cpu_float32", + "TestProxyTensorOpInfoCPU.test_make_fx_symbolic_exhaustive_t_cpu_float32", + "TestProxyTensorOpInfoCPU.test_make_fx_symbolic_exhaustive_inplace_T_cpu_float32", + "TestProxyTensorOpInfoCPU.test_make_fx_symbolic_exhaustive_inplace_t_cpu_float32", + "TestProxyTensorOpInfoCPU.test_make_fx_symbolic_exhaustive_out_T_cpu_float32", + "TestProxyTensorOpInfoCPU.test_make_fx_symbolic_exhaustive_out_t_cpu_float32", +} +dynamo_skips = dynamo_skips.union(extra_dynamo_skips) + + +# verify some invariants +for test in dynamo_expected_failures.union(dynamo_skips): + if len(test.split(".")) != 2: + raise AssertionError(f'Invalid test name: "{test}"') + +intersection = dynamo_expected_failures.intersection(dynamo_skips) +if len(intersection) > 0: + raise AssertionError( + "there should be no overlap between dynamo_expected_failures " + "and dynamo_skips, got " + str(intersection) + ) diff --git a/shared/package-files/45/450a192aaff68f754cf1ceceb64ceb63607d28a0f3feb5e15b90f1d3361c3efe/lme11.csv b/shared/package-files/45/450a192aaff68f754cf1ceceb64ceb63607d28a0f3feb5e15b90f1d3361c3efe/lme11.csv new file mode 100644 index 0000000000000000000000000000000000000000..178cedd824b8b15901dd5ef62b4b349ef326e2fb --- /dev/null +++ b/shared/package-files/45/450a192aaff68f754cf1ceceb64ceb63607d28a0f3feb5e15b90f1d3361c3efe/lme11.csv @@ -0,0 +1,262 @@ +groups,endog,exog_fe_0,exog_fe_1,exog_fe_2,exog_re_0,exog_re_1 +0.000,-3.775,1.099,0.674,0.436,1.000,-1.000 +0.000,-3.074,-0.418,0.680,-0.186,1.000,1.000 +1.000,1.803,-0.042,-1.137,1.272,1.000,-1.000 +2.000,-1.442,1.290,1.390,0.344,1.000,-1.000 +3.000,-5.430,1.236,0.042,0.632,1.000,-1.000 +3.000,2.086,0.302,-0.384,0.381,1.000,0.000 +3.000,2.536,-1.174,0.293,-0.538,1.000,1.000 +4.000,-8.820,-1.160,-1.720,0.088,1.000,-1.000 +5.000,-0.383,0.180,-0.984,0.658,1.000,-1.000 +5.000,1.122,0.170,0.271,0.520,1.000,0.000 +5.000,-0.673,-0.087,0.811,-1.361,1.000,1.000 +6.000,0.020,-0.613,-1.873,0.196,1.000,-1.000 +6.000,1.059,0.507,0.276,0.874,1.000,0.000 +6.000,-0.887,0.105,0.276,-0.505,1.000,1.000 +7.000,-0.582,-0.207,-0.938,-0.678,1.000,-1.000 +7.000,-5.913,0.280,-1.180,-0.128,1.000,-0.333 +7.000,0.604,-0.989,-0.055,0.203,1.000,0.333 +7.000,-4.084,1.142,0.409,1.783,1.000,1.000 +8.000,1.641,-1.976,1.513,0.138,1.000,-1.000 +8.000,3.419,0.743,-0.448,0.941,1.000,1.000 +9.000,0.442,-0.716,1.266,-0.781,1.000,-1.000 +9.000,-3.488,0.567,0.816,-1.700,1.000,-0.333 +9.000,-0.300,0.584,-0.619,0.014,1.000,0.333 +9.000,-2.029,0.431,1.399,-0.286,1.000,1.000 +10.000,-0.222,0.632,-0.505,0.790,1.000,-1.000 +10.000,-4.123,0.781,-0.242,0.958,1.000,0.000 +10.000,0.027,-0.301,0.355,0.810,1.000,1.000 +11.000,-3.169,0.053,-1.381,-2.940,1.000,-1.000 +11.000,2.707,1.073,-0.590,1.632,1.000,-0.333 +11.000,-3.938,0.923,1.635,-1.197,1.000,0.333 +11.000,1.090,-0.081,0.603,1.030,1.000,1.000 +12.000,-1.502,0.682,0.625,0.252,1.000,-1.000 +12.000,3.730,-0.492,-0.969,0.627,1.000,0.000 +12.000,2.366,1.262,-0.925,-0.201,1.000,1.000 +13.000,8.301,-1.155,1.417,2.720,1.000,-1.000 +13.000,-0.773,1.613,-1.706,1.016,1.000,0.000 +13.000,-2.027,-1.097,-1.271,-0.881,1.000,1.000 +14.000,2.652,-0.761,-1.231,0.250,1.000,-1.000 +14.000,1.076,0.742,0.200,0.900,1.000,0.000 +14.000,-0.286,0.592,-0.413,-0.076,1.000,1.000 +15.000,-3.407,0.133,-1.107,-0.413,1.000,-1.000 +16.000,-0.267,0.137,1.232,0.284,1.000,-1.000 +16.000,-1.254,-0.490,-0.369,-0.613,1.000,0.000 +16.000,-0.736,0.594,0.677,0.739,1.000,1.000 +17.000,1.393,0.732,0.496,-0.605,1.000,-1.000 +17.000,-0.797,-0.047,-0.426,-0.620,1.000,1.000 +18.000,-3.239,1.560,-1.493,-2.523,1.000,-1.000 +19.000,1.428,-0.825,-0.439,-0.513,1.000,-1.000 +19.000,-3.834,2.378,0.754,-1.314,1.000,1.000 +20.000,5.865,-0.588,-0.843,0.812,1.000,-1.000 +20.000,0.448,0.076,-0.371,0.035,1.000,0.000 +20.000,-0.582,1.010,-1.691,0.751,1.000,1.000 +21.000,1.772,-1.609,-1.211,-0.026,1.000,-1.000 +21.000,1.033,1.441,0.194,1.266,1.000,-0.333 +21.000,4.764,-0.512,0.296,1.326,1.000,0.333 +21.000,2.269,-0.928,1.702,0.429,1.000,1.000 +22.000,2.780,-1.273,-0.470,-0.196,1.000,-1.000 +22.000,2.506,0.175,-0.341,0.740,1.000,-0.333 +22.000,0.386,-1.658,-0.654,-0.424,1.000,0.333 +22.000,-1.568,-0.713,0.765,-0.203,1.000,1.000 +23.000,0.328,1.119,1.259,0.026,1.000,-1.000 +23.000,0.413,-0.527,-2.308,0.043,1.000,0.000 +23.000,-1.404,1.291,-0.395,-1.470,1.000,1.000 +24.000,2.088,-1.056,0.783,-0.451,1.000,-1.000 +24.000,0.704,-0.452,0.228,0.917,1.000,1.000 +25.000,2.337,-0.857,-0.520,2.002,1.000,-1.000 +25.000,-1.320,-1.163,-1.221,-0.277,1.000,1.000 +26.000,5.238,-1.615,1.157,0.174,1.000,-1.000 +26.000,1.363,-0.165,-1.384,-0.158,1.000,0.000 +26.000,-0.514,0.143,-0.711,2.276,1.000,1.000 +27.000,3.513,-1.759,-0.327,0.220,1.000,-1.000 +27.000,-4.513,-0.457,-0.595,0.392,1.000,-0.333 +27.000,-2.141,0.022,1.774,0.561,1.000,0.333 +27.000,2.330,-0.235,0.861,0.443,1.000,1.000 +28.000,-5.879,1.023,-0.566,-0.582,1.000,-1.000 +28.000,0.801,0.348,-1.471,0.499,1.000,-0.333 +28.000,1.709,-0.073,-0.520,-0.011,1.000,0.333 +28.000,-0.375,0.709,0.911,1.058,1.000,1.000 +29.000,0.195,0.078,-1.207,-0.250,1.000,-1.000 +29.000,0.275,-1.680,-0.202,-1.814,1.000,1.000 +30.000,2.982,-0.801,0.569,1.608,1.000,-1.000 +30.000,2.866,-0.207,0.891,0.436,1.000,-0.333 +30.000,-2.054,0.721,-0.540,0.505,1.000,0.333 +30.000,-5.575,-0.542,-0.098,0.189,1.000,1.000 +31.000,-0.948,-0.604,0.489,-1.105,1.000,-1.000 +31.000,3.035,-0.323,-0.473,-0.240,1.000,-0.333 +31.000,0.379,2.488,-0.251,0.616,1.000,0.333 +31.000,-1.828,-0.264,-0.413,0.216,1.000,1.000 +32.000,3.019,-1.418,2.142,1.824,1.000,-1.000 +32.000,6.957,-1.178,-0.272,-0.842,1.000,1.000 +33.000,0.673,-0.852,0.907,1.749,1.000,-1.000 +34.000,-4.448,1.217,-1.093,-0.453,1.000,-1.000 +34.000,-0.439,-0.011,0.160,-0.694,1.000,-0.333 +34.000,-4.437,1.064,-1.926,-0.642,1.000,0.333 +34.000,-2.754,0.090,-0.607,-0.590,1.000,1.000 +35.000,0.952,-0.681,-0.354,-0.287,1.000,-1.000 +35.000,8.831,-0.753,-2.893,2.517,1.000,0.000 +35.000,-5.497,3.582,-0.112,-1.925,1.000,1.000 +36.000,1.062,0.201,-0.276,0.198,1.000,-1.000 +36.000,-2.308,-0.128,-0.031,0.703,1.000,-0.333 +36.000,-0.503,-0.146,-0.249,0.896,1.000,0.333 +36.000,-2.621,0.210,-1.344,-0.560,1.000,1.000 +37.000,-1.387,0.957,-0.145,0.405,1.000,-1.000 +37.000,2.185,-1.150,-0.032,0.968,1.000,1.000 +38.000,-1.498,-0.411,1.203,-1.525,1.000,-1.000 +38.000,-0.424,0.166,-0.991,0.329,1.000,1.000 +39.000,0.279,-0.434,0.155,0.108,1.000,-1.000 +40.000,-3.985,0.956,-1.041,-0.631,1.000,-1.000 +41.000,-2.887,1.852,1.373,0.167,1.000,-1.000 +41.000,0.812,-0.645,-0.071,0.358,1.000,-0.333 +41.000,-0.515,0.991,-1.333,0.086,1.000,0.333 +41.000,1.061,2.173,-1.416,0.807,1.000,1.000 +42.000,-1.863,1.342,-0.952,0.160,1.000,-1.000 +42.000,-1.778,0.626,-0.066,-3.735,1.000,0.000 +42.000,1.033,-1.202,1.449,-0.279,1.000,1.000 +43.000,3.624,-0.027,-0.472,1.048,1.000,-1.000 +43.000,-4.055,1.492,0.675,-1.212,1.000,0.000 +43.000,1.598,-0.147,1.332,0.082,1.000,1.000 +44.000,5.549,-2.000,0.711,-1.665,1.000,-1.000 +44.000,-4.101,1.073,-1.161,-1.398,1.000,1.000 +45.000,1.328,0.835,-0.465,1.612,1.000,-1.000 +45.000,-1.160,-0.130,0.218,0.132,1.000,1.000 +46.000,-7.278,1.976,-0.971,0.456,1.000,-1.000 +46.000,-0.809,-0.787,1.229,-1.688,1.000,-0.333 +46.000,1.856,-0.876,-0.270,0.351,1.000,0.333 +46.000,3.051,1.047,-1.067,-1.173,1.000,1.000 +47.000,-0.360,-1.461,1.040,0.586,1.000,-1.000 +47.000,1.751,0.064,0.395,0.520,1.000,1.000 +48.000,1.673,0.614,-2.066,1.429,1.000,-1.000 +48.000,1.989,-0.306,1.068,0.755,1.000,1.000 +49.000,2.997,-0.600,-2.409,-0.693,1.000,-1.000 +49.000,-0.086,-0.327,1.533,-0.936,1.000,1.000 +50.000,-0.953,-1.512,-0.483,0.863,1.000,-1.000 +50.000,-2.590,1.341,-1.528,0.383,1.000,-0.333 +50.000,2.637,-0.872,0.459,0.028,1.000,0.333 +50.000,1.255,-1.618,-0.324,1.239,1.000,1.000 +51.000,-3.286,0.449,-0.760,-1.215,1.000,-1.000 +51.000,0.691,0.539,-0.657,0.676,1.000,1.000 +52.000,-0.483,-0.983,0.594,-0.096,1.000,-1.000 +52.000,-0.480,0.204,1.182,-0.313,1.000,-0.333 +52.000,3.327,-0.166,-0.791,0.515,1.000,0.333 +52.000,1.605,-0.955,0.699,0.215,1.000,1.000 +53.000,3.868,0.873,-1.536,0.367,1.000,-1.000 +53.000,-1.178,-0.714,0.714,0.052,1.000,1.000 +54.000,-1.096,0.046,0.166,-0.759,1.000,-1.000 +54.000,0.994,0.516,0.058,1.586,1.000,0.000 +54.000,-5.547,1.277,0.256,-2.008,1.000,1.000 +55.000,-0.188,0.347,-1.544,0.498,1.000,-1.000 +56.000,1.394,-1.110,0.239,2.131,1.000,-1.000 +56.000,0.410,0.729,-1.072,-0.612,1.000,-0.333 +56.000,-1.305,1.699,-0.050,1.074,1.000,0.333 +56.000,4.143,-1.750,-1.720,1.226,1.000,1.000 +57.000,0.271,0.740,0.511,1.034,1.000,-1.000 +57.000,0.313,-0.209,0.519,0.909,1.000,0.000 +57.000,-0.602,1.013,1.085,-0.891,1.000,1.000 +58.000,-2.227,-0.214,-0.001,0.163,1.000,-1.000 +59.000,-1.496,-0.028,-1.519,-0.687,1.000,-1.000 +60.000,-0.820,-0.180,-0.079,-1.573,1.000,-1.000 +60.000,-0.453,-0.142,-0.090,0.351,1.000,1.000 +61.000,0.539,0.040,-1.077,2.130,1.000,-1.000 +61.000,1.416,0.684,0.319,-0.412,1.000,-0.333 +61.000,1.432,-1.120,-0.413,-1.041,1.000,0.333 +61.000,4.263,-0.242,-1.703,-0.204,1.000,1.000 +62.000,-1.459,0.324,-0.584,-0.891,1.000,-1.000 +62.000,-3.028,1.704,-0.448,-2.434,1.000,1.000 +63.000,0.330,1.408,0.665,1.576,1.000,-1.000 +64.000,-5.682,0.357,-1.083,-1.179,1.000,-1.000 +64.000,-3.124,0.712,1.788,-1.518,1.000,0.000 +64.000,-4.504,0.163,0.110,-2.306,1.000,1.000 +65.000,-6.127,0.805,-0.945,-1.332,1.000,-1.000 +65.000,-7.387,2.474,-1.380,1.430,1.000,1.000 +66.000,-6.008,1.104,-2.226,-0.441,1.000,-1.000 +66.000,2.675,0.489,-0.413,1.557,1.000,0.000 +66.000,6.011,-0.584,1.794,0.585,1.000,1.000 +67.000,-1.278,1.120,0.270,-1.956,1.000,-1.000 +67.000,2.785,-0.342,1.849,1.048,1.000,0.000 +67.000,0.270,1.195,0.036,-0.891,1.000,1.000 +68.000,-0.225,1.736,0.013,1.417,1.000,-1.000 +68.000,-4.518,1.442,-0.971,-1.509,1.000,1.000 +69.000,-2.800,0.328,1.266,-1.013,1.000,-1.000 +69.000,-2.669,-0.180,-0.921,1.412,1.000,-0.333 +69.000,-0.542,0.053,-0.004,-0.538,1.000,0.333 +69.000,-2.927,-0.138,0.193,0.488,1.000,1.000 +70.000,-1.967,0.004,0.493,0.530,1.000,-1.000 +71.000,-4.444,0.758,0.250,-0.110,1.000,-1.000 +71.000,0.779,-0.573,-0.262,0.103,1.000,1.000 +72.000,0.240,1.080,-1.192,-0.602,1.000,-1.000 +72.000,-0.993,-0.997,0.938,-0.797,1.000,-0.333 +72.000,3.873,-1.254,-1.763,-0.555,1.000,0.333 +72.000,4.807,-0.669,-1.076,0.894,1.000,1.000 +73.000,-2.500,-0.278,-1.521,1.584,1.000,-1.000 +73.000,-2.295,0.552,-0.827,-0.329,1.000,-0.333 +73.000,-0.258,1.144,0.818,1.790,1.000,0.333 +73.000,2.504,-1.825,-1.582,0.262,1.000,1.000 +74.000,1.416,-0.428,0.456,0.490,1.000,-1.000 +74.000,3.877,-0.198,-1.393,-0.547,1.000,1.000 +75.000,-1.958,0.467,0.323,1.252,1.000,-1.000 +75.000,2.353,-1.233,0.778,0.379,1.000,0.000 +75.000,-3.190,-0.715,-1.180,-1.238,1.000,1.000 +76.000,1.281,-0.355,-1.494,0.620,1.000,-1.000 +76.000,-1.045,0.942,0.586,-0.730,1.000,0.000 +76.000,2.971,-1.343,-0.189,0.665,1.000,1.000 +77.000,1.803,-0.336,-0.717,-0.417,1.000,-1.000 +77.000,-1.283,-1.062,0.760,0.980,1.000,-0.333 +77.000,4.764,-0.713,0.323,-0.691,1.000,0.333 +77.000,7.235,-1.857,0.647,1.059,1.000,1.000 +78.000,1.077,1.096,0.785,0.285,1.000,-1.000 +78.000,-1.462,1.185,-1.439,0.402,1.000,0.000 +78.000,-3.405,-0.956,-0.038,-1.044,1.000,1.000 +79.000,-2.323,-0.082,-0.901,-1.307,1.000,-1.000 +79.000,1.501,-0.678,-0.672,0.781,1.000,0.000 +79.000,-2.355,0.286,0.164,-0.902,1.000,1.000 +80.000,0.154,-0.518,1.182,-1.140,1.000,-1.000 +80.000,-1.169,-1.044,-0.963,0.545,1.000,0.000 +80.000,3.371,0.168,1.705,1.405,1.000,1.000 +81.000,5.661,-1.153,0.365,1.072,1.000,-1.000 +82.000,3.924,-0.775,1.796,0.777,1.000,-1.000 +82.000,3.692,-1.654,1.673,0.034,1.000,0.000 +82.000,4.973,-1.558,-0.239,-0.802,1.000,1.000 +83.000,-4.433,0.097,0.176,0.124,1.000,-1.000 +84.000,-0.331,-0.494,-0.611,2.648,1.000,-1.000 +84.000,2.324,0.593,1.263,-0.725,1.000,1.000 +85.000,-1.634,-1.538,-0.959,-1.966,1.000,-1.000 +86.000,2.046,0.317,2.039,0.365,1.000,-1.000 +86.000,2.597,-0.977,-0.161,1.815,1.000,0.000 +86.000,-1.517,2.003,-0.515,0.253,1.000,1.000 +87.000,1.314,0.606,-0.870,-1.089,1.000,-1.000 +87.000,-0.151,0.461,0.025,1.103,1.000,1.000 +88.000,1.555,0.366,0.819,-0.510,1.000,-1.000 +88.000,0.147,-0.037,0.804,-0.647,1.000,0.000 +88.000,-3.459,-0.306,0.029,-0.788,1.000,1.000 +89.000,-0.088,0.469,-0.174,0.533,1.000,-1.000 +89.000,-5.634,1.586,-0.568,0.168,1.000,0.000 +89.000,6.470,-1.374,1.194,-0.177,1.000,1.000 +90.000,1.156,-0.821,0.961,0.681,1.000,-1.000 +91.000,1.282,0.291,-1.246,0.711,1.000,-1.000 +91.000,-4.305,1.224,0.110,1.590,1.000,0.000 +91.000,-1.897,-0.302,-0.507,0.072,1.000,1.000 +92.000,-1.910,-0.183,-0.110,0.398,1.000,-1.000 +92.000,5.424,-1.609,-0.652,-1.474,1.000,1.000 +93.000,1.777,-0.149,1.462,0.618,1.000,-1.000 +93.000,1.602,0.401,-1.128,-0.205,1.000,-0.333 +93.000,1.316,0.396,1.269,-0.535,1.000,0.333 +93.000,-0.641,-0.209,0.439,-0.833,1.000,1.000 +94.000,-0.742,-0.002,-0.303,0.014,1.000,-1.000 +94.000,6.648,-0.767,-0.476,0.413,1.000,1.000 +95.000,-3.939,-0.028,1.455,-1.046,1.000,-1.000 +95.000,-3.992,-0.936,0.525,-0.691,1.000,1.000 +96.000,1.316,0.016,0.367,-1.287,1.000,-1.000 +96.000,-2.157,0.885,1.678,-1.062,1.000,-0.333 +96.000,1.075,-1.454,0.652,0.976,1.000,0.333 +96.000,3.665,-0.563,0.246,0.395,1.000,1.000 +97.000,3.121,-2.871,-1.058,0.355,1.000,-1.000 +97.000,-1.160,0.497,0.645,-0.296,1.000,1.000 +98.000,-7.100,0.912,0.010,-0.685,1.000,-1.000 +98.000,-2.823,0.769,0.148,-1.593,1.000,0.000 +98.000,-3.731,1.655,-0.693,-1.300,1.000,1.000 +99.000,-0.579,0.527,1.014,0.243,1.000,-1.000 +99.000,0.314,1.084,-0.030,0.904,1.000,-0.333 +99.000,0.493,-1.464,-1.787,-1.039,1.000,0.333 +99.000,3.419,0.787,-0.341,-0.586,1.000,1.000 diff --git a/shared/package-files/45/450c344724bb84e4954e4e0aac21a57aad151e59c3ab3c3068bb6e65b444e3f2/testutils.py b/shared/package-files/45/450c344724bb84e4954e4e0aac21a57aad151e59c3ab3c3068bb6e65b444e3f2/testutils.py new file mode 100644 index 0000000000000000000000000000000000000000..7a633906bb4245261d71e9e783e188f3d44b7790 --- /dev/null +++ b/shared/package-files/45/450c344724bb84e4954e4e0aac21a57aad151e59c3ab3c3068bb6e65b444e3f2/testutils.py @@ -0,0 +1,288 @@ +"""Miscellaneous functions for testing masked arrays and subclasses + +:author: Pierre Gerard-Marchant +:contact: pierregm_at_uga_dot_edu +:version: $Id: testutils.py 3529 2007-11-13 08:01:14Z jarrod.millman $ + +""" +import operator + +import numpy as np +from numpy import ndarray, float_ +import numpy.core.umath as umath +import numpy.testing +from numpy.testing import ( + assert_, assert_allclose, assert_array_almost_equal_nulp, + assert_raises, build_err_msg + ) +from .core import mask_or, getmask, masked_array, nomask, masked, filled + +__all__masked = [ + 'almost', 'approx', 'assert_almost_equal', 'assert_array_almost_equal', + 'assert_array_approx_equal', 'assert_array_compare', + 'assert_array_equal', 'assert_array_less', 'assert_close', + 'assert_equal', 'assert_equal_records', 'assert_mask_equal', + 'assert_not_equal', 'fail_if_array_equal', + ] + +# Include some normal test functions to avoid breaking other projects who +# have mistakenly included them from this file. SciPy is one. That is +# unfortunate, as some of these functions are not intended to work with +# masked arrays. But there was no way to tell before. +from unittest import TestCase +__some__from_testing = [ + 'TestCase', 'assert_', 'assert_allclose', 'assert_array_almost_equal_nulp', + 'assert_raises' + ] + +__all__ = __all__masked + __some__from_testing + + +def approx(a, b, fill_value=True, rtol=1e-5, atol=1e-8): + """ + Returns true if all components of a and b are equal to given tolerances. + + If fill_value is True, masked values considered equal. Otherwise, + masked values are considered unequal. The relative error rtol should + be positive and << 1.0 The absolute error atol comes into play for + those elements of b that are very small or zero; it says how small a + must be also. + + """ + m = mask_or(getmask(a), getmask(b)) + d1 = filled(a) + d2 = filled(b) + if d1.dtype.char == "O" or d2.dtype.char == "O": + return np.equal(d1, d2).ravel() + x = filled(masked_array(d1, copy=False, mask=m), fill_value).astype(float_) + y = filled(masked_array(d2, copy=False, mask=m), 1).astype(float_) + d = np.less_equal(umath.absolute(x - y), atol + rtol * umath.absolute(y)) + return d.ravel() + + +def almost(a, b, decimal=6, fill_value=True): + """ + Returns True if a and b are equal up to decimal places. + + If fill_value is True, masked values considered equal. Otherwise, + masked values are considered unequal. + + """ + m = mask_or(getmask(a), getmask(b)) + d1 = filled(a) + d2 = filled(b) + if d1.dtype.char == "O" or d2.dtype.char == "O": + return np.equal(d1, d2).ravel() + x = filled(masked_array(d1, copy=False, mask=m), fill_value).astype(float_) + y = filled(masked_array(d2, copy=False, mask=m), 1).astype(float_) + d = np.around(np.abs(x - y), decimal) <= 10.0 ** (-decimal) + return d.ravel() + + +def _assert_equal_on_sequences(actual, desired, err_msg=''): + """ + Asserts the equality of two non-array sequences. + + """ + assert_equal(len(actual), len(desired), err_msg) + for k in range(len(desired)): + assert_equal(actual[k], desired[k], f'item={k!r}\n{err_msg}') + return + + +def assert_equal_records(a, b): + """ + Asserts that two records are equal. + + Pretty crude for now. + + """ + assert_equal(a.dtype, b.dtype) + for f in a.dtype.names: + (af, bf) = (operator.getitem(a, f), operator.getitem(b, f)) + if not (af is masked) and not (bf is masked): + assert_equal(operator.getitem(a, f), operator.getitem(b, f)) + return + + +def assert_equal(actual, desired, err_msg=''): + """ + Asserts that two items are equal. + + """ + # Case #1: dictionary ..... + if isinstance(desired, dict): + if not isinstance(actual, dict): + raise AssertionError(repr(type(actual))) + assert_equal(len(actual), len(desired), err_msg) + for k, i in desired.items(): + if k not in actual: + raise AssertionError(f"{k} not in {actual}") + assert_equal(actual[k], desired[k], f'key={k!r}\n{err_msg}') + return + # Case #2: lists ..... + if isinstance(desired, (list, tuple)) and isinstance(actual, (list, tuple)): + return _assert_equal_on_sequences(actual, desired, err_msg='') + if not (isinstance(actual, ndarray) or isinstance(desired, ndarray)): + msg = build_err_msg([actual, desired], err_msg,) + if not desired == actual: + raise AssertionError(msg) + return + # Case #4. arrays or equivalent + if ((actual is masked) and not (desired is masked)) or \ + ((desired is masked) and not (actual is masked)): + msg = build_err_msg([actual, desired], + err_msg, header='', names=('x', 'y')) + raise ValueError(msg) + actual = np.asanyarray(actual) + desired = np.asanyarray(desired) + (actual_dtype, desired_dtype) = (actual.dtype, desired.dtype) + if actual_dtype.char == "S" and desired_dtype.char == "S": + return _assert_equal_on_sequences(actual.tolist(), + desired.tolist(), + err_msg='') + return assert_array_equal(actual, desired, err_msg) + + +def fail_if_equal(actual, desired, err_msg='',): + """ + Raises an assertion error if two items are equal. + + """ + if isinstance(desired, dict): + if not isinstance(actual, dict): + raise AssertionError(repr(type(actual))) + fail_if_equal(len(actual), len(desired), err_msg) + for k, i in desired.items(): + if k not in actual: + raise AssertionError(repr(k)) + fail_if_equal(actual[k], desired[k], f'key={k!r}\n{err_msg}') + return + if isinstance(desired, (list, tuple)) and isinstance(actual, (list, tuple)): + fail_if_equal(len(actual), len(desired), err_msg) + for k in range(len(desired)): + fail_if_equal(actual[k], desired[k], f'item={k!r}\n{err_msg}') + return + if isinstance(actual, np.ndarray) or isinstance(desired, np.ndarray): + return fail_if_array_equal(actual, desired, err_msg) + msg = build_err_msg([actual, desired], err_msg) + if not desired != actual: + raise AssertionError(msg) + + +assert_not_equal = fail_if_equal + + +def assert_almost_equal(actual, desired, decimal=7, err_msg='', verbose=True): + """ + Asserts that two items are almost equal. + + The test is equivalent to abs(desired-actual) < 0.5 * 10**(-decimal). + + """ + if isinstance(actual, np.ndarray) or isinstance(desired, np.ndarray): + return assert_array_almost_equal(actual, desired, decimal=decimal, + err_msg=err_msg, verbose=verbose) + msg = build_err_msg([actual, desired], + err_msg=err_msg, verbose=verbose) + if not round(abs(desired - actual), decimal) == 0: + raise AssertionError(msg) + + +assert_close = assert_almost_equal + + +def assert_array_compare(comparison, x, y, err_msg='', verbose=True, header='', + fill_value=True): + """ + Asserts that comparison between two masked arrays is satisfied. + + The comparison is elementwise. + + """ + # Allocate a common mask and refill + m = mask_or(getmask(x), getmask(y)) + x = masked_array(x, copy=False, mask=m, keep_mask=False, subok=False) + y = masked_array(y, copy=False, mask=m, keep_mask=False, subok=False) + if ((x is masked) and not (y is masked)) or \ + ((y is masked) and not (x is masked)): + msg = build_err_msg([x, y], err_msg=err_msg, verbose=verbose, + header=header, names=('x', 'y')) + raise ValueError(msg) + # OK, now run the basic tests on filled versions + return np.testing.assert_array_compare(comparison, + x.filled(fill_value), + y.filled(fill_value), + err_msg=err_msg, + verbose=verbose, header=header) + + +def assert_array_equal(x, y, err_msg='', verbose=True): + """ + Checks the elementwise equality of two masked arrays. + + """ + assert_array_compare(operator.__eq__, x, y, + err_msg=err_msg, verbose=verbose, + header='Arrays are not equal') + + +def fail_if_array_equal(x, y, err_msg='', verbose=True): + """ + Raises an assertion error if two masked arrays are not equal elementwise. + + """ + def compare(x, y): + return (not np.all(approx(x, y))) + assert_array_compare(compare, x, y, err_msg=err_msg, verbose=verbose, + header='Arrays are not equal') + + +def assert_array_approx_equal(x, y, decimal=6, err_msg='', verbose=True): + """ + Checks the equality of two masked arrays, up to given number odecimals. + + The equality is checked elementwise. + + """ + def compare(x, y): + "Returns the result of the loose comparison between x and y)." + return approx(x, y, rtol=10. ** -decimal) + assert_array_compare(compare, x, y, err_msg=err_msg, verbose=verbose, + header='Arrays are not almost equal') + + +def assert_array_almost_equal(x, y, decimal=6, err_msg='', verbose=True): + """ + Checks the equality of two masked arrays, up to given number odecimals. + + The equality is checked elementwise. + + """ + def compare(x, y): + "Returns the result of the loose comparison between x and y)." + return almost(x, y, decimal) + assert_array_compare(compare, x, y, err_msg=err_msg, verbose=verbose, + header='Arrays are not almost equal') + + +def assert_array_less(x, y, err_msg='', verbose=True): + """ + Checks that x is smaller than y elementwise. + + """ + assert_array_compare(operator.__lt__, x, y, + err_msg=err_msg, verbose=verbose, + header='Arrays are not less-ordered') + + +def assert_mask_equal(m1, m2, err_msg=''): + """ + Asserts the equality of two masks. + + """ + if m1 is nomask: + assert_(m2 is nomask) + if m2 is nomask: + assert_(m1 is nomask) + assert_array_equal(m1, m2, err_msg=err_msg) diff --git a/shared/package-files/45/45128e17bbd90bc56f6310fc3cfe09d7f8543dac8a04fecbbbcd1abd191f3c36/Swift_Current b/shared/package-files/45/45128e17bbd90bc56f6310fc3cfe09d7f8543dac8a04fecbbbcd1abd191f3c36/Swift_Current new file mode 100644 index 0000000000000000000000000000000000000000..8e9ef255eeb11515b84126d9ee5c0c6b3c72f2a0 Binary files /dev/null and b/shared/package-files/45/45128e17bbd90bc56f6310fc3cfe09d7f8543dac8a04fecbbbcd1abd191f3c36/Swift_Current differ diff --git a/shared/package-files/45/45167bafe025b420b3ec2c5fba7f22b39c555549255e36c17c3543a05a2901fd/test_expr.py b/shared/package-files/45/45167bafe025b420b3ec2c5fba7f22b39c555549255e36c17c3543a05a2901fd/test_expr.py new file mode 100644 index 0000000000000000000000000000000000000000..7e9c166667fa4b8ac3e4d06da7e2e6e0ba33f907 --- /dev/null +++ b/shared/package-files/45/45167bafe025b420b3ec2c5fba7f22b39c555549255e36c17c3543a05a2901fd/test_expr.py @@ -0,0 +1,2261 @@ +from sympy.assumptions.refine import refine +from sympy.concrete.summations import Sum +from sympy.core.add import Add +from sympy.core.basic import Basic +from sympy.core.containers import Tuple +from sympy.core.expr import (ExprBuilder, unchanged, Expr, + UnevaluatedExpr) +from sympy.core.function import (Function, expand, WildFunction, + AppliedUndef, Derivative, diff, Subs) +from sympy.core.mul import Mul +from sympy.core.numbers import (NumberSymbol, E, zoo, oo, Float, I, + Rational, nan, Integer, Number, pi, _illegal) +from sympy.core.power import Pow +from sympy.core.relational import Ge, Lt, Gt, Le +from sympy.core.singleton import S +from sympy.core.sorting import default_sort_key +from sympy.core.symbol import Symbol, symbols, Dummy, Wild +from sympy.core.sympify import sympify +from sympy.functions.combinatorial.factorials import factorial +from sympy.functions.elementary.exponential import exp_polar, exp, log +from sympy.functions.elementary.miscellaneous import sqrt, Max +from sympy.functions.elementary.piecewise import Piecewise +from sympy.functions.elementary.trigonometric import tan, sin, cos +from sympy.functions.special.delta_functions import (Heaviside, + DiracDelta) +from sympy.functions.special.error_functions import Si +from sympy.functions.special.gamma_functions import gamma +from sympy.integrals.integrals import integrate, Integral +from sympy.physics.secondquant import FockState +from sympy.polys.partfrac import apart +from sympy.polys.polytools import factor, cancel, Poly +from sympy.polys.rationaltools import together +from sympy.series.order import O +from sympy.sets.sets import FiniteSet +from sympy.simplify.combsimp import combsimp +from sympy.simplify.gammasimp import gammasimp +from sympy.simplify.powsimp import powsimp +from sympy.simplify.radsimp import collect, radsimp +from sympy.simplify.ratsimp import ratsimp +from sympy.simplify.simplify import simplify, nsimplify +from sympy.simplify.trigsimp import trigsimp +from sympy.tensor.indexed import Indexed +from sympy.physics.units import meter + +from sympy.testing.pytest import raises, XFAIL + +from sympy.abc import a, b, c, n, t, u, x, y, z + + +f, g, h = symbols('f,g,h', cls=Function) + + +class DummyNumber: + """ + Minimal implementation of a number that works with SymPy. + + If one has a Number class (e.g. Sage Integer, or some other custom class) + that one wants to work well with SymPy, one has to implement at least the + methods of this class DummyNumber, resp. its subclasses I5 and F1_1. + + Basically, one just needs to implement either __int__() or __float__() and + then one needs to make sure that the class works with Python integers and + with itself. + """ + + def __radd__(self, a): + if isinstance(a, (int, float)): + return a + self.number + return NotImplemented + + def __add__(self, a): + if isinstance(a, (int, float, DummyNumber)): + return self.number + a + return NotImplemented + + def __rsub__(self, a): + if isinstance(a, (int, float)): + return a - self.number + return NotImplemented + + def __sub__(self, a): + if isinstance(a, (int, float, DummyNumber)): + return self.number - a + return NotImplemented + + def __rmul__(self, a): + if isinstance(a, (int, float)): + return a * self.number + return NotImplemented + + def __mul__(self, a): + if isinstance(a, (int, float, DummyNumber)): + return self.number * a + return NotImplemented + + def __rtruediv__(self, a): + if isinstance(a, (int, float)): + return a / self.number + return NotImplemented + + def __truediv__(self, a): + if isinstance(a, (int, float, DummyNumber)): + return self.number / a + return NotImplemented + + def __rpow__(self, a): + if isinstance(a, (int, float)): + return a ** self.number + return NotImplemented + + def __pow__(self, a): + if isinstance(a, (int, float, DummyNumber)): + return self.number ** a + return NotImplemented + + def __pos__(self): + return self.number + + def __neg__(self): + return - self.number + + +class I5(DummyNumber): + number = 5 + + def __int__(self): + return self.number + + +class F1_1(DummyNumber): + number = 1.1 + + def __float__(self): + return self.number + +i5 = I5() +f1_1 = F1_1() + +# basic SymPy objects +basic_objs = [ + Rational(2), + Float("1.3"), + x, + y, + pow(x, y)*y, +] + +# all supported objects +all_objs = basic_objs + [ + 5, + 5.5, + i5, + f1_1 +] + + +def dotest(s): + for xo in all_objs: + for yo in all_objs: + s(xo, yo) + return True + + +def test_basic(): + def j(a, b): + x = a + x = +a + x = -a + x = a + b + x = a - b + x = a*b + x = a/b + x = a**b + del x + assert dotest(j) + + +def test_ibasic(): + def s(a, b): + x = a + x += b + x = a + x -= b + x = a + x *= b + x = a + x /= b + assert dotest(s) + + +class NonBasic: + '''This class represents an object that knows how to implement binary + operations like +, -, etc with Expr but is not a subclass of Basic itself. + The NonExpr subclass below does subclass Basic but not Expr. + + For both NonBasic and NonExpr it should be possible for them to override + Expr.__add__ etc because Expr.__add__ should be returning NotImplemented + for non Expr classes. Otherwise Expr.__add__ would create meaningless + objects like Add(Integer(1), FiniteSet(2)) and it wouldn't be possible for + other classes to override these operations when interacting with Expr. + ''' + def __add__(self, other): + return SpecialOp('+', self, other) + + def __radd__(self, other): + return SpecialOp('+', other, self) + + def __sub__(self, other): + return SpecialOp('-', self, other) + + def __rsub__(self, other): + return SpecialOp('-', other, self) + + def __mul__(self, other): + return SpecialOp('*', self, other) + + def __rmul__(self, other): + return SpecialOp('*', other, self) + + def __truediv__(self, other): + return SpecialOp('/', self, other) + + def __rtruediv__(self, other): + return SpecialOp('/', other, self) + + def __floordiv__(self, other): + return SpecialOp('//', self, other) + + def __rfloordiv__(self, other): + return SpecialOp('//', other, self) + + def __mod__(self, other): + return SpecialOp('%', self, other) + + def __rmod__(self, other): + return SpecialOp('%', other, self) + + def __divmod__(self, other): + return SpecialOp('divmod', self, other) + + def __rdivmod__(self, other): + return SpecialOp('divmod', other, self) + + def __pow__(self, other): + return SpecialOp('**', self, other) + + def __rpow__(self, other): + return SpecialOp('**', other, self) + + def __lt__(self, other): + return SpecialOp('<', self, other) + + def __gt__(self, other): + return SpecialOp('>', self, other) + + def __le__(self, other): + return SpecialOp('<=', self, other) + + def __ge__(self, other): + return SpecialOp('>=', self, other) + + +class NonExpr(Basic, NonBasic): + '''Like NonBasic above except this is a subclass of Basic but not Expr''' + pass + + +class SpecialOp(): + '''Represents the results of operations with NonBasic and NonExpr''' + def __new__(cls, op, arg1, arg2): + obj = object.__new__(cls) + obj.args = (op, arg1, arg2) + return obj + + +class NonArithmetic(Basic): + '''Represents a Basic subclass that does not support arithmetic operations''' + pass + + +def test_cooperative_operations(): + '''Tests that Expr uses binary operations cooperatively. + + In particular it should be possible for non-Expr classes to override + binary operators like +, - etc when used with Expr instances. This should + work for non-Expr classes whether they are Basic subclasses or not. Also + non-Expr classes that do not define binary operators with Expr should give + TypeError. + ''' + # A bunch of instances of Expr subclasses + exprs = [ + Expr(), + S.Zero, + S.One, + S.Infinity, + S.NegativeInfinity, + S.ComplexInfinity, + S.Half, + Float(0.5), + Integer(2), + Symbol('x'), + Mul(2, Symbol('x')), + Add(2, Symbol('x')), + Pow(2, Symbol('x')), + ] + + for e in exprs: + # Test that these classes can override arithmetic operations in + # combination with various Expr types. + for ne in [NonBasic(), NonExpr()]: + + results = [ + (ne + e, ('+', ne, e)), + (e + ne, ('+', e, ne)), + (ne - e, ('-', ne, e)), + (e - ne, ('-', e, ne)), + (ne * e, ('*', ne, e)), + (e * ne, ('*', e, ne)), + (ne / e, ('/', ne, e)), + (e / ne, ('/', e, ne)), + (ne // e, ('//', ne, e)), + (e // ne, ('//', e, ne)), + (ne % e, ('%', ne, e)), + (e % ne, ('%', e, ne)), + (divmod(ne, e), ('divmod', ne, e)), + (divmod(e, ne), ('divmod', e, ne)), + (ne ** e, ('**', ne, e)), + (e ** ne, ('**', e, ne)), + (e < ne, ('>', ne, e)), + (ne < e, ('<', ne, e)), + (e > ne, ('<', ne, e)), + (ne > e, ('>', ne, e)), + (e <= ne, ('>=', ne, e)), + (ne <= e, ('<=', ne, e)), + (e >= ne, ('<=', ne, e)), + (ne >= e, ('>=', ne, e)), + ] + + for res, args in results: + assert type(res) is SpecialOp and res.args == args + + # These classes do not support binary operators with Expr. Every + # operation should raise in combination with any of the Expr types. + for na in [NonArithmetic(), object()]: + + raises(TypeError, lambda : e + na) + raises(TypeError, lambda : na + e) + raises(TypeError, lambda : e - na) + raises(TypeError, lambda : na - e) + raises(TypeError, lambda : e * na) + raises(TypeError, lambda : na * e) + raises(TypeError, lambda : e / na) + raises(TypeError, lambda : na / e) + raises(TypeError, lambda : e // na) + raises(TypeError, lambda : na // e) + raises(TypeError, lambda : e % na) + raises(TypeError, lambda : na % e) + raises(TypeError, lambda : divmod(e, na)) + raises(TypeError, lambda : divmod(na, e)) + raises(TypeError, lambda : e ** na) + raises(TypeError, lambda : na ** e) + raises(TypeError, lambda : e > na) + raises(TypeError, lambda : na > e) + raises(TypeError, lambda : e < na) + raises(TypeError, lambda : na < e) + raises(TypeError, lambda : e >= na) + raises(TypeError, lambda : na >= e) + raises(TypeError, lambda : e <= na) + raises(TypeError, lambda : na <= e) + + +def test_relational(): + from sympy.core.relational import Lt + assert (pi < 3) is S.false + assert (pi <= 3) is S.false + assert (pi > 3) is S.true + assert (pi >= 3) is S.true + assert (-pi < 3) is S.true + assert (-pi <= 3) is S.true + assert (-pi > 3) is S.false + assert (-pi >= 3) is S.false + r = Symbol('r', real=True) + assert (r - 2 < r - 3) is S.false + assert Lt(x + I, x + I + 2).func == Lt # issue 8288 + + +def test_relational_assumptions(): + m1 = Symbol("m1", nonnegative=False) + m2 = Symbol("m2", positive=False) + m3 = Symbol("m3", nonpositive=False) + m4 = Symbol("m4", negative=False) + assert (m1 < 0) == Lt(m1, 0) + assert (m2 <= 0) == Le(m2, 0) + assert (m3 > 0) == Gt(m3, 0) + assert (m4 >= 0) == Ge(m4, 0) + m1 = Symbol("m1", nonnegative=False, real=True) + m2 = Symbol("m2", positive=False, real=True) + m3 = Symbol("m3", nonpositive=False, real=True) + m4 = Symbol("m4", negative=False, real=True) + assert (m1 < 0) is S.true + assert (m2 <= 0) is S.true + assert (m3 > 0) is S.true + assert (m4 >= 0) is S.true + m1 = Symbol("m1", negative=True) + m2 = Symbol("m2", nonpositive=True) + m3 = Symbol("m3", positive=True) + m4 = Symbol("m4", nonnegative=True) + assert (m1 < 0) is S.true + assert (m2 <= 0) is S.true + assert (m3 > 0) is S.true + assert (m4 >= 0) is S.true + m1 = Symbol("m1", negative=False, real=True) + m2 = Symbol("m2", nonpositive=False, real=True) + m3 = Symbol("m3", positive=False, real=True) + m4 = Symbol("m4", nonnegative=False, real=True) + assert (m1 < 0) is S.false + assert (m2 <= 0) is S.false + assert (m3 > 0) is S.false + assert (m4 >= 0) is S.false + + +# See https://github.com/sympy/sympy/issues/17708 +#def test_relational_noncommutative(): +# from sympy import Lt, Gt, Le, Ge +# A, B = symbols('A,B', commutative=False) +# assert (A < B) == Lt(A, B) +# assert (A <= B) == Le(A, B) +# assert (A > B) == Gt(A, B) +# assert (A >= B) == Ge(A, B) + + +def test_basic_nostr(): + for obj in basic_objs: + raises(TypeError, lambda: obj + '1') + raises(TypeError, lambda: obj - '1') + if obj == 2: + assert obj * '1' == '11' + else: + raises(TypeError, lambda: obj * '1') + raises(TypeError, lambda: obj / '1') + raises(TypeError, lambda: obj ** '1') + + +def test_series_expansion_for_uniform_order(): + assert (1/x + y + x).series(x, 0, 0) == 1/x + O(1, x) + assert (1/x + y + x).series(x, 0, 1) == 1/x + y + O(x) + assert (1/x + 1 + x).series(x, 0, 0) == 1/x + O(1, x) + assert (1/x + 1 + x).series(x, 0, 1) == 1/x + 1 + O(x) + assert (1/x + x).series(x, 0, 0) == 1/x + O(1, x) + assert (1/x + y + y*x + x).series(x, 0, 0) == 1/x + O(1, x) + assert (1/x + y + y*x + x).series(x, 0, 1) == 1/x + y + O(x) + + +def test_leadterm(): + assert (3 + 2*x**(log(3)/log(2) - 1)).leadterm(x) == (3, 0) + + assert (1/x**2 + 1 + x + x**2).leadterm(x)[1] == -2 + assert (1/x + 1 + x + x**2).leadterm(x)[1] == -1 + assert (x**2 + 1/x).leadterm(x)[1] == -1 + assert (1 + x**2).leadterm(x)[1] == 0 + assert (x + 1).leadterm(x)[1] == 0 + assert (x + x**2).leadterm(x)[1] == 1 + assert (x**2).leadterm(x)[1] == 2 + + +def test_as_leading_term(): + assert (3 + 2*x**(log(3)/log(2) - 1)).as_leading_term(x) == 3 + assert (1/x**2 + 1 + x + x**2).as_leading_term(x) == 1/x**2 + assert (1/x + 1 + x + x**2).as_leading_term(x) == 1/x + assert (x**2 + 1/x).as_leading_term(x) == 1/x + assert (1 + x**2).as_leading_term(x) == 1 + assert (x + 1).as_leading_term(x) == 1 + assert (x + x**2).as_leading_term(x) == x + assert (x**2).as_leading_term(x) == x**2 + assert (x + oo).as_leading_term(x) is oo + + raises(ValueError, lambda: (x + 1).as_leading_term(1)) + + # https://github.com/sympy/sympy/issues/21177 + e = -3*x + (x + Rational(3, 2) - sqrt(3)*S.ImaginaryUnit/2)**2\ + - Rational(3, 2) + 3*sqrt(3)*S.ImaginaryUnit/2 + assert e.as_leading_term(x) == \ + (12*sqrt(3)*x - 12*S.ImaginaryUnit*x)/(4*sqrt(3) + 12*S.ImaginaryUnit) + + # https://github.com/sympy/sympy/issues/21245 + e = 1 - x - x**2 + d = (1 + sqrt(5))/2 + assert e.subs(x, y + 1/d).as_leading_term(y) == \ + (-576*sqrt(5)*y - 1280*y)/(256*sqrt(5) + 576) + + +def test_leadterm2(): + assert (x*cos(1)*cos(1 + sin(1)) + sin(1 + sin(1))).leadterm(x) == \ + (sin(1 + sin(1)), 0) + + +def test_leadterm3(): + assert (y + z + x).leadterm(x) == (y + z, 0) + + +def test_as_leading_term2(): + assert (x*cos(1)*cos(1 + sin(1)) + sin(1 + sin(1))).as_leading_term(x) == \ + sin(1 + sin(1)) + + +def test_as_leading_term3(): + assert (2 + pi + x).as_leading_term(x) == 2 + pi + assert (2*x + pi*x + x**2).as_leading_term(x) == 2*x + pi*x + + +def test_as_leading_term4(): + # see issue 6843 + n = Symbol('n', integer=True, positive=True) + r = -n**3/(2*n**2 + 4*n + 2) - n**2/(n**2 + 2*n + 1) + \ + n**2/(n + 1) - n/(2*n**2 + 4*n + 2) + n/(n*x + x) + 2*n/(n + 1) - \ + 1 + 1/(n*x + x) + 1/(n + 1) - 1/x + assert r.as_leading_term(x).cancel() == n/2 + + +def test_as_leading_term_stub(): + class foo(Function): + pass + assert foo(1/x).as_leading_term(x) == foo(1/x) + assert foo(1).as_leading_term(x) == foo(1) + raises(NotImplementedError, lambda: foo(x).as_leading_term(x)) + + +def test_as_leading_term_deriv_integral(): + # related to issue 11313 + assert Derivative(x ** 3, x).as_leading_term(x) == 3*x**2 + assert Derivative(x ** 3, y).as_leading_term(x) == 0 + + assert Integral(x ** 3, x).as_leading_term(x) == x**4/4 + assert Integral(x ** 3, y).as_leading_term(x) == y*x**3 + + assert Derivative(exp(x), x).as_leading_term(x) == 1 + assert Derivative(log(x), x).as_leading_term(x) == (1/x).as_leading_term(x) + + +def test_atoms(): + assert x.atoms() == {x} + assert (1 + x).atoms() == {x, S.One} + + assert (1 + 2*cos(x)).atoms(Symbol) == {x} + assert (1 + 2*cos(x)).atoms(Symbol, Number) == {S.One, S(2), x} + + assert (2*(x**(y**x))).atoms() == {S(2), x, y} + + assert S.Half.atoms() == {S.Half} + assert S.Half.atoms(Symbol) == set() + + assert sin(oo).atoms(oo) == set() + + assert Poly(0, x).atoms() == {S.Zero, x} + assert Poly(1, x).atoms() == {S.One, x} + + assert Poly(x, x).atoms() == {x} + assert Poly(x, x, y).atoms() == {x, y} + assert Poly(x + y, x, y).atoms() == {x, y} + assert Poly(x + y, x, y, z).atoms() == {x, y, z} + assert Poly(x + y*t, x, y, z).atoms() == {t, x, y, z} + + assert (I*pi).atoms(NumberSymbol) == {pi} + assert (I*pi).atoms(NumberSymbol, I) == \ + (I*pi).atoms(I, NumberSymbol) == {pi, I} + + assert exp(exp(x)).atoms(exp) == {exp(exp(x)), exp(x)} + assert (1 + x*(2 + y) + exp(3 + z)).atoms(Add) == \ + {1 + x*(2 + y) + exp(3 + z), 2 + y, 3 + z} + + # issue 6132 + e = (f(x) + sin(x) + 2) + assert e.atoms(AppliedUndef) == \ + {f(x)} + assert e.atoms(AppliedUndef, Function) == \ + {f(x), sin(x)} + assert e.atoms(Function) == \ + {f(x), sin(x)} + assert e.atoms(AppliedUndef, Number) == \ + {f(x), S(2)} + assert e.atoms(Function, Number) == \ + {S(2), sin(x), f(x)} + + +def test_is_polynomial(): + k = Symbol('k', nonnegative=True, integer=True) + + assert Rational(2).is_polynomial(x, y, z) is True + assert (S.Pi).is_polynomial(x, y, z) is True + + assert x.is_polynomial(x) is True + assert x.is_polynomial(y) is True + + assert (x**2).is_polynomial(x) is True + assert (x**2).is_polynomial(y) is True + + assert (x**(-2)).is_polynomial(x) is False + assert (x**(-2)).is_polynomial(y) is True + + assert (2**x).is_polynomial(x) is False + assert (2**x).is_polynomial(y) is True + + assert (x**k).is_polynomial(x) is False + assert (x**k).is_polynomial(k) is False + assert (x**x).is_polynomial(x) is False + assert (k**k).is_polynomial(k) is False + assert (k**x).is_polynomial(k) is False + + assert (x**(-k)).is_polynomial(x) is False + assert ((2*x)**k).is_polynomial(x) is False + + assert (x**2 + 3*x - 8).is_polynomial(x) is True + assert (x**2 + 3*x - 8).is_polynomial(y) is True + + assert (x**2 + 3*x - 8).is_polynomial() is True + + assert sqrt(x).is_polynomial(x) is False + assert (sqrt(x)**3).is_polynomial(x) is False + + assert (x**2 + 3*x*sqrt(y) - 8).is_polynomial(x) is True + assert (x**2 + 3*x*sqrt(y) - 8).is_polynomial(y) is False + + assert ((x**2)*(y**2) + x*(y**2) + y*x + exp(2)).is_polynomial() is True + assert ((x**2)*(y**2) + x*(y**2) + y*x + exp(x)).is_polynomial() is False + + assert ( + (x**2)*(y**2) + x*(y**2) + y*x + exp(2)).is_polynomial(x, y) is True + assert ( + (x**2)*(y**2) + x*(y**2) + y*x + exp(x)).is_polynomial(x, y) is False + + assert (1/f(x) + 1).is_polynomial(f(x)) is False + + +def test_is_rational_function(): + assert Integer(1).is_rational_function() is True + assert Integer(1).is_rational_function(x) is True + + assert Rational(17, 54).is_rational_function() is True + assert Rational(17, 54).is_rational_function(x) is True + + assert (12/x).is_rational_function() is True + assert (12/x).is_rational_function(x) is True + + assert (x/y).is_rational_function() is True + assert (x/y).is_rational_function(x) is True + assert (x/y).is_rational_function(x, y) is True + + assert (x**2 + 1/x/y).is_rational_function() is True + assert (x**2 + 1/x/y).is_rational_function(x) is True + assert (x**2 + 1/x/y).is_rational_function(x, y) is True + + assert (sin(y)/x).is_rational_function() is False + assert (sin(y)/x).is_rational_function(y) is False + assert (sin(y)/x).is_rational_function(x) is True + assert (sin(y)/x).is_rational_function(x, y) is False + + for i in _illegal: + assert not i.is_rational_function() + for d in (1, x): + assert not (i/d).is_rational_function() + + +def test_is_meromorphic(): + f = a/x**2 + b + x + c*x**2 + assert f.is_meromorphic(x, 0) is True + assert f.is_meromorphic(x, 1) is True + assert f.is_meromorphic(x, zoo) is True + + g = 3 + 2*x**(log(3)/log(2) - 1) + assert g.is_meromorphic(x, 0) is False + assert g.is_meromorphic(x, 1) is True + assert g.is_meromorphic(x, zoo) is False + + n = Symbol('n', integer=True) + e = sin(1/x)**n*x + assert e.is_meromorphic(x, 0) is False + assert e.is_meromorphic(x, 1) is True + assert e.is_meromorphic(x, zoo) is False + + e = log(x)**pi + assert e.is_meromorphic(x, 0) is False + assert e.is_meromorphic(x, 1) is False + assert e.is_meromorphic(x, 2) is True + assert e.is_meromorphic(x, zoo) is False + + assert (log(x)**a).is_meromorphic(x, 0) is False + assert (log(x)**a).is_meromorphic(x, 1) is False + assert (a**log(x)).is_meromorphic(x, 0) is None + assert (3**log(x)).is_meromorphic(x, 0) is False + assert (3**log(x)).is_meromorphic(x, 1) is True + +def test_is_algebraic_expr(): + assert sqrt(3).is_algebraic_expr(x) is True + assert sqrt(3).is_algebraic_expr() is True + + eq = ((1 + x**2)/(1 - y**2))**(S.One/3) + assert eq.is_algebraic_expr(x) is True + assert eq.is_algebraic_expr(y) is True + + assert (sqrt(x) + y**(S(2)/3)).is_algebraic_expr(x) is True + assert (sqrt(x) + y**(S(2)/3)).is_algebraic_expr(y) is True + assert (sqrt(x) + y**(S(2)/3)).is_algebraic_expr() is True + + assert (cos(y)/sqrt(x)).is_algebraic_expr() is False + assert (cos(y)/sqrt(x)).is_algebraic_expr(x) is True + assert (cos(y)/sqrt(x)).is_algebraic_expr(y) is False + assert (cos(y)/sqrt(x)).is_algebraic_expr(x, y) is False + + +def test_SAGE1(): + #see https://github.com/sympy/sympy/issues/3346 + class MyInt: + def _sympy_(self): + return Integer(5) + m = MyInt() + e = Rational(2)*m + assert e == 10 + + raises(TypeError, lambda: Rational(2)*MyInt) + + +def test_SAGE2(): + class MyInt: + def __int__(self): + return 5 + assert sympify(MyInt()) == 5 + e = Rational(2)*MyInt() + assert e == 10 + + raises(TypeError, lambda: Rational(2)*MyInt) + + +def test_SAGE3(): + class MySymbol: + def __rmul__(self, other): + return ('mys', other, self) + + o = MySymbol() + e = x*o + + assert e == ('mys', x, o) + + +def test_len(): + e = x*y + assert len(e.args) == 2 + e = x + y + z + assert len(e.args) == 3 + + +def test_doit(): + a = Integral(x**2, x) + + assert isinstance(a.doit(), Integral) is False + + assert isinstance(a.doit(integrals=True), Integral) is False + assert isinstance(a.doit(integrals=False), Integral) is True + + assert (2*Integral(x, x)).doit() == x**2 + + +def test_attribute_error(): + raises(AttributeError, lambda: x.cos()) + raises(AttributeError, lambda: x.sin()) + raises(AttributeError, lambda: x.exp()) + + +def test_args(): + assert (x*y).args in ((x, y), (y, x)) + assert (x + y).args in ((x, y), (y, x)) + assert (x*y + 1).args in ((x*y, 1), (1, x*y)) + assert sin(x*y).args == (x*y,) + assert sin(x*y).args[0] == x*y + assert (x**y).args == (x, y) + assert (x**y).args[0] == x + assert (x**y).args[1] == y + + +def test_noncommutative_expand_issue_3757(): + A, B, C = symbols('A,B,C', commutative=False) + assert A*B - B*A != 0 + assert (A*(A + B)*B).expand() == A**2*B + A*B**2 + assert (A*(A + B + C)*B).expand() == A**2*B + A*B**2 + A*C*B + + +def test_as_numer_denom(): + a, b, c = symbols('a, b, c') + + assert nan.as_numer_denom() == (nan, 1) + assert oo.as_numer_denom() == (oo, 1) + assert (-oo).as_numer_denom() == (-oo, 1) + assert zoo.as_numer_denom() == (zoo, 1) + assert (-zoo).as_numer_denom() == (zoo, 1) + + assert x.as_numer_denom() == (x, 1) + assert (1/x).as_numer_denom() == (1, x) + assert (x/y).as_numer_denom() == (x, y) + assert (x/2).as_numer_denom() == (x, 2) + assert (x*y/z).as_numer_denom() == (x*y, z) + assert (x/(y*z)).as_numer_denom() == (x, y*z) + assert S.Half.as_numer_denom() == (1, 2) + assert (1/y**2).as_numer_denom() == (1, y**2) + assert (x/y**2).as_numer_denom() == (x, y**2) + assert ((x**2 + 1)/y).as_numer_denom() == (x**2 + 1, y) + assert (x*(y + 1)/y**7).as_numer_denom() == (x*(y + 1), y**7) + assert (x**-2).as_numer_denom() == (1, x**2) + assert (a/x + b/2/x + c/3/x).as_numer_denom() == \ + (6*a + 3*b + 2*c, 6*x) + assert (a/x + b/2/x + c/3/y).as_numer_denom() == \ + (2*c*x + y*(6*a + 3*b), 6*x*y) + assert (a/x + b/2/x + c/.5/x).as_numer_denom() == \ + (2*a + b + 4.0*c, 2*x) + # this should take no more than a few seconds + assert int(log(Add(*[Dummy()/i/x for i in range(1, 705)] + ).as_numer_denom()[1]/x).n(4)) == 705 + for i in [S.Infinity, S.NegativeInfinity, S.ComplexInfinity]: + assert (i + x/3).as_numer_denom() == \ + (x + i, 3) + assert (S.Infinity + x/3 + y/4).as_numer_denom() == \ + (4*x + 3*y + S.Infinity, 12) + assert (oo*x + zoo*y).as_numer_denom() == \ + (zoo*y + oo*x, 1) + + A, B, C = symbols('A,B,C', commutative=False) + + assert (A*B*C**-1).as_numer_denom() == (A*B*C**-1, 1) + assert (A*B*C**-1/x).as_numer_denom() == (A*B*C**-1, x) + assert (C**-1*A*B).as_numer_denom() == (C**-1*A*B, 1) + assert (C**-1*A*B/x).as_numer_denom() == (C**-1*A*B, x) + assert ((A*B*C)**-1).as_numer_denom() == ((A*B*C)**-1, 1) + assert ((A*B*C)**-1/x).as_numer_denom() == ((A*B*C)**-1, x) + + # the following morphs from Add to Mul during processing + assert Add(0, (x + y)/z/-2, evaluate=False).as_numer_denom( + ) == (-x - y, 2*z) + + +def test_trunc(): + import math + x, y = symbols('x y') + assert math.trunc(2) == 2 + assert math.trunc(4.57) == 4 + assert math.trunc(-5.79) == -5 + assert math.trunc(pi) == 3 + assert math.trunc(log(7)) == 1 + assert math.trunc(exp(5)) == 148 + assert math.trunc(cos(pi)) == -1 + assert math.trunc(sin(5)) == 0 + + raises(TypeError, lambda: math.trunc(x)) + raises(TypeError, lambda: math.trunc(x + y**2)) + raises(TypeError, lambda: math.trunc(oo)) + + +def test_as_independent(): + assert S.Zero.as_independent(x, as_Add=True) == (0, 0) + assert S.Zero.as_independent(x, as_Add=False) == (0, 0) + assert (2*x*sin(x) + y + x).as_independent(x) == (y, x + 2*x*sin(x)) + assert (2*x*sin(x) + y + x).as_independent(y) == (x + 2*x*sin(x), y) + + assert (2*x*sin(x) + y + x).as_independent(x, y) == (0, y + x + 2*x*sin(x)) + + assert (x*sin(x)*cos(y)).as_independent(x) == (cos(y), x*sin(x)) + assert (x*sin(x)*cos(y)).as_independent(y) == (x*sin(x), cos(y)) + + assert (x*sin(x)*cos(y)).as_independent(x, y) == (1, x*sin(x)*cos(y)) + + assert (sin(x)).as_independent(x) == (1, sin(x)) + assert (sin(x)).as_independent(y) == (sin(x), 1) + + assert (2*sin(x)).as_independent(x) == (2, sin(x)) + assert (2*sin(x)).as_independent(y) == (2*sin(x), 1) + + # issue 4903 = 1766b + n1, n2, n3 = symbols('n1 n2 n3', commutative=False) + assert (n1 + n1*n2).as_independent(n2) == (n1, n1*n2) + assert (n2*n1 + n1*n2).as_independent(n2) == (0, n1*n2 + n2*n1) + assert (n1*n2*n1).as_independent(n2) == (n1, n2*n1) + assert (n1*n2*n1).as_independent(n1) == (1, n1*n2*n1) + + assert (3*x).as_independent(x, as_Add=True) == (0, 3*x) + assert (3*x).as_independent(x, as_Add=False) == (3, x) + assert (3 + x).as_independent(x, as_Add=True) == (3, x) + assert (3 + x).as_independent(x, as_Add=False) == (1, 3 + x) + + # issue 5479 + assert (3*x).as_independent(Symbol) == (3, x) + + # issue 5648 + assert (n1*x*y).as_independent(x) == (n1*y, x) + assert ((x + n1)*(x - y)).as_independent(x) == (1, (x + n1)*(x - y)) + assert ((x + n1)*(x - y)).as_independent(y) == (x + n1, x - y) + assert (DiracDelta(x - n1)*DiracDelta(x - y)).as_independent(x) \ + == (1, DiracDelta(x - n1)*DiracDelta(x - y)) + assert (x*y*n1*n2*n3).as_independent(n2) == (x*y*n1, n2*n3) + assert (x*y*n1*n2*n3).as_independent(n1) == (x*y, n1*n2*n3) + assert (x*y*n1*n2*n3).as_independent(n3) == (x*y*n1*n2, n3) + assert (DiracDelta(x - n1)*DiracDelta(y - n1)*DiracDelta(x - n2)).as_independent(y) == \ + (DiracDelta(x - n1)*DiracDelta(x - n2), DiracDelta(y - n1)) + + # issue 5784 + assert (x + Integral(x, (x, 1, 2))).as_independent(x, strict=True) == \ + (Integral(x, (x, 1, 2)), x) + + eq = Add(x, -x, 2, -3, evaluate=False) + assert eq.as_independent(x) == (-1, Add(x, -x, evaluate=False)) + eq = Mul(x, 1/x, 2, -3, evaluate=False) + assert eq.as_independent(x) == (-6, Mul(x, 1/x, evaluate=False)) + + assert (x*y).as_independent(z, as_Add=True) == (x*y, 0) + +@XFAIL +def test_call_2(): + # TODO UndefinedFunction does not subclass Expr + assert (2*f)(x) == 2*f(x) + + +def test_replace(): + e = log(sin(x)) + tan(sin(x**2)) + + assert e.replace(sin, cos) == log(cos(x)) + tan(cos(x**2)) + assert e.replace( + sin, lambda a: sin(2*a)) == log(sin(2*x)) + tan(sin(2*x**2)) + + a = Wild('a') + b = Wild('b') + + assert e.replace(sin(a), cos(a)) == log(cos(x)) + tan(cos(x**2)) + assert e.replace( + sin(a), lambda a: sin(2*a)) == log(sin(2*x)) + tan(sin(2*x**2)) + # test exact + assert (2*x).replace(a*x + b, b - a, exact=True) == 2*x + assert (2*x).replace(a*x + b, b - a) == 2*x + assert (2*x).replace(a*x + b, b - a, exact=False) == 2/x + assert (2*x).replace(a*x + b, lambda a, b: b - a, exact=True) == 2*x + assert (2*x).replace(a*x + b, lambda a, b: b - a) == 2*x + assert (2*x).replace(a*x + b, lambda a, b: b - a, exact=False) == 2/x + + g = 2*sin(x**3) + + assert g.replace( + lambda expr: expr.is_Number, lambda expr: expr**2) == 4*sin(x**9) + + assert cos(x).replace(cos, sin, map=True) == (sin(x), {cos(x): sin(x)}) + assert sin(x).replace(cos, sin) == sin(x) + + cond, func = lambda x: x.is_Mul, lambda x: 2*x + assert (x*y).replace(cond, func, map=True) == (2*x*y, {x*y: 2*x*y}) + assert (x*(1 + x*y)).replace(cond, func, map=True) == \ + (2*x*(2*x*y + 1), {x*(2*x*y + 1): 2*x*(2*x*y + 1), x*y: 2*x*y}) + assert (y*sin(x)).replace(sin, lambda expr: sin(expr)/y, map=True) == \ + (sin(x), {sin(x): sin(x)/y}) + # if not simultaneous then y*sin(x) -> y*sin(x)/y = sin(x) -> sin(x)/y + assert (y*sin(x)).replace(sin, lambda expr: sin(expr)/y, + simultaneous=False) == sin(x)/y + assert (x**2 + O(x**3)).replace(Pow, lambda b, e: b**e/e + ) == x**2/2 + O(x**3) + assert (x**2 + O(x**3)).replace(Pow, lambda b, e: b**e/e, + simultaneous=False) == x**2/2 + O(x**3) + assert (x*(x*y + 3)).replace(lambda x: x.is_Mul, lambda x: 2 + x) == \ + x*(x*y + 5) + 2 + e = (x*y + 1)*(2*x*y + 1) + 1 + assert e.replace(cond, func, map=True) == ( + 2*((2*x*y + 1)*(4*x*y + 1)) + 1, + {2*x*y: 4*x*y, x*y: 2*x*y, (2*x*y + 1)*(4*x*y + 1): + 2*((2*x*y + 1)*(4*x*y + 1))}) + assert x.replace(x, y) == y + assert (x + 1).replace(1, 2) == x + 2 + + # https://groups.google.com/forum/#!topic/sympy/8wCgeC95tz0 + n1, n2, n3 = symbols('n1:4', commutative=False) + assert (n1*f(n2)).replace(f, lambda x: x) == n1*n2 + assert (n3*f(n2)).replace(f, lambda x: x) == n3*n2 + + # issue 16725 + assert S.Zero.replace(Wild('x'), 1) == 1 + # let the user override the default decision of False + assert S.Zero.replace(Wild('x'), 1, exact=True) == 0 + + +def test_find(): + expr = (x + y + 2 + sin(3*x)) + + assert expr.find(lambda u: u.is_Integer) == {S(2), S(3)} + assert expr.find(lambda u: u.is_Symbol) == {x, y} + + assert expr.find(lambda u: u.is_Integer, group=True) == {S(2): 1, S(3): 1} + assert expr.find(lambda u: u.is_Symbol, group=True) == {x: 2, y: 1} + + assert expr.find(Integer) == {S(2), S(3)} + assert expr.find(Symbol) == {x, y} + + assert expr.find(Integer, group=True) == {S(2): 1, S(3): 1} + assert expr.find(Symbol, group=True) == {x: 2, y: 1} + + a = Wild('a') + + expr = sin(sin(x)) + sin(x) + cos(x) + x + + assert expr.find(lambda u: type(u) is sin) == {sin(x), sin(sin(x))} + assert expr.find( + lambda u: type(u) is sin, group=True) == {sin(x): 2, sin(sin(x)): 1} + + assert expr.find(sin(a)) == {sin(x), sin(sin(x))} + assert expr.find(sin(a), group=True) == {sin(x): 2, sin(sin(x)): 1} + + assert expr.find(sin) == {sin(x), sin(sin(x))} + assert expr.find(sin, group=True) == {sin(x): 2, sin(sin(x)): 1} + + +def test_count(): + expr = (x + y + 2 + sin(3*x)) + + assert expr.count(lambda u: u.is_Integer) == 2 + assert expr.count(lambda u: u.is_Symbol) == 3 + + assert expr.count(Integer) == 2 + assert expr.count(Symbol) == 3 + assert expr.count(2) == 1 + + a = Wild('a') + + assert expr.count(sin) == 1 + assert expr.count(sin(a)) == 1 + assert expr.count(lambda u: type(u) is sin) == 1 + + assert f(x).count(f(x)) == 1 + assert f(x).diff(x).count(f(x)) == 1 + assert f(x).diff(x).count(x) == 2 + + +def test_has_basics(): + p = Wild('p') + + assert sin(x).has(x) + assert sin(x).has(sin) + assert not sin(x).has(y) + assert not sin(x).has(cos) + assert f(x).has(x) + assert f(x).has(f) + assert not f(x).has(y) + assert not f(x).has(g) + + assert f(x).diff(x).has(x) + assert f(x).diff(x).has(f) + assert f(x).diff(x).has(Derivative) + assert not f(x).diff(x).has(y) + assert not f(x).diff(x).has(g) + assert not f(x).diff(x).has(sin) + + assert (x**2).has(Symbol) + assert not (x**2).has(Wild) + assert (2*p).has(Wild) + + assert not x.has() + + +def test_has_multiple(): + f = x**2*y + sin(2**t + log(z)) + + assert f.has(x) + assert f.has(y) + assert f.has(z) + assert f.has(t) + + assert not f.has(u) + + assert f.has(x, y, z, t) + assert f.has(x, y, z, t, u) + + i = Integer(4400) + + assert not i.has(x) + + assert (i*x**i).has(x) + assert not (i*y**i).has(x) + assert (i*y**i).has(x, y) + assert not (i*y**i).has(x, z) + + +def test_has_piecewise(): + f = (x*y + 3/y)**(3 + 2) + p = Piecewise((g(x), x < -1), (1, x <= 1), (f, True)) + + assert p.has(x) + assert p.has(y) + assert not p.has(z) + assert p.has(1) + assert p.has(3) + assert not p.has(4) + assert p.has(f) + assert p.has(g) + assert not p.has(h) + + +def test_has_iterative(): + A, B, C = symbols('A,B,C', commutative=False) + f = x*gamma(x)*sin(x)*exp(x*y)*A*B*C*cos(x*A*B) + + assert f.has(x) + assert f.has(x*y) + assert f.has(x*sin(x)) + assert not f.has(x*sin(y)) + assert f.has(x*A) + assert f.has(x*A*B) + assert not f.has(x*A*C) + assert f.has(x*A*B*C) + assert not f.has(x*A*C*B) + assert f.has(x*sin(x)*A*B*C) + assert not f.has(x*sin(x)*A*C*B) + assert not f.has(x*sin(y)*A*B*C) + assert f.has(x*gamma(x)) + assert not f.has(x + sin(x)) + + assert (x & y & z).has(x & z) + + +def test_has_integrals(): + f = Integral(x**2 + sin(x*y*z), (x, 0, x + y + z)) + + assert f.has(x + y) + assert f.has(x + z) + assert f.has(y + z) + + assert f.has(x*y) + assert f.has(x*z) + assert f.has(y*z) + + assert not f.has(2*x + y) + assert not f.has(2*x*y) + + +def test_has_tuple(): + assert Tuple(x, y).has(x) + assert not Tuple(x, y).has(z) + assert Tuple(f(x), g(x)).has(x) + assert not Tuple(f(x), g(x)).has(y) + assert Tuple(f(x), g(x)).has(f) + assert Tuple(f(x), g(x)).has(f(x)) + # XXX to be deprecated + #assert not Tuple(f, g).has(x) + #assert Tuple(f, g).has(f) + #assert not Tuple(f, g).has(h) + assert Tuple(True).has(True) + assert Tuple(True).has(S.true) + assert not Tuple(True).has(1) + + +def test_has_units(): + from sympy.physics.units import m, s + + assert (x*m/s).has(x) + assert (x*m/s).has(y, z) is False + + +def test_has_polys(): + poly = Poly(x**2 + x*y*sin(z), x, y, t) + + assert poly.has(x) + assert poly.has(x, y, z) + assert poly.has(x, y, z, t) + + +def test_has_physics(): + assert FockState((x, y)).has(x) + + +def test_as_poly_as_expr(): + f = x**2 + 2*x*y + + assert f.as_poly().as_expr() == f + assert f.as_poly(x, y).as_expr() == f + + assert (f + sin(x)).as_poly(x, y) is None + + p = Poly(f, x, y) + + assert p.as_poly() == p + + # https://github.com/sympy/sympy/issues/20610 + assert S(2).as_poly() is None + assert sqrt(2).as_poly(extension=True) is None + + raises(AttributeError, lambda: Tuple(x, x).as_poly(x)) + raises(AttributeError, lambda: Tuple(x ** 2, x, y).as_poly(x)) + + +def test_nonzero(): + assert bool(S.Zero) is False + assert bool(S.One) is True + assert bool(x) is True + assert bool(x + y) is True + assert bool(x - x) is False + assert bool(x*y) is True + assert bool(x*1) is True + assert bool(x*0) is False + + +def test_is_number(): + assert Float(3.14).is_number is True + assert Integer(737).is_number is True + assert Rational(3, 2).is_number is True + assert Rational(8).is_number is True + assert x.is_number is False + assert (2*x).is_number is False + assert (x + y).is_number is False + assert log(2).is_number is True + assert log(x).is_number is False + assert (2 + log(2)).is_number is True + assert (8 + log(2)).is_number is True + assert (2 + log(x)).is_number is False + assert (8 + log(2) + x).is_number is False + assert (1 + x**2/x - x).is_number is True + assert Tuple(Integer(1)).is_number is False + assert Add(2, x).is_number is False + assert Mul(3, 4).is_number is True + assert Pow(log(2), 2).is_number is True + assert oo.is_number is True + g = WildFunction('g') + assert g.is_number is False + assert (2*g).is_number is False + assert (x**2).subs(x, 3).is_number is True + + # test extensibility of .is_number + # on subinstances of Basic + class A(Basic): + pass + a = A() + assert a.is_number is False + + +def test_as_coeff_add(): + assert S(2).as_coeff_add() == (2, ()) + assert S(3.0).as_coeff_add() == (0, (S(3.0),)) + assert S(-3.0).as_coeff_add() == (0, (S(-3.0),)) + assert x.as_coeff_add() == (0, (x,)) + assert (x - 1).as_coeff_add() == (-1, (x,)) + assert (x + 1).as_coeff_add() == (1, (x,)) + assert (x + 2).as_coeff_add() == (2, (x,)) + assert (x + y).as_coeff_add(y) == (x, (y,)) + assert (3*x).as_coeff_add(y) == (3*x, ()) + # don't do expansion + e = (x + y)**2 + assert e.as_coeff_add(y) == (0, (e,)) + + +def test_as_coeff_mul(): + assert S(2).as_coeff_mul() == (2, ()) + assert S(3.0).as_coeff_mul() == (1, (S(3.0),)) + assert S(-3.0).as_coeff_mul() == (-1, (S(3.0),)) + assert S(-3.0).as_coeff_mul(rational=False) == (-S(3.0), ()) + assert x.as_coeff_mul() == (1, (x,)) + assert (-x).as_coeff_mul() == (-1, (x,)) + assert (2*x).as_coeff_mul() == (2, (x,)) + assert (x*y).as_coeff_mul(y) == (x, (y,)) + assert (3 + x).as_coeff_mul() == (1, (3 + x,)) + assert (3 + x).as_coeff_mul(y) == (3 + x, ()) + # don't do expansion + e = exp(x + y) + assert e.as_coeff_mul(y) == (1, (e,)) + e = 2**(x + y) + assert e.as_coeff_mul(y) == (1, (e,)) + assert (1.1*x).as_coeff_mul(rational=False) == (1.1, (x,)) + assert (1.1*x).as_coeff_mul() == (1, (1.1, x)) + assert (-oo*x).as_coeff_mul(rational=True) == (-1, (oo, x)) + + +def test_as_coeff_exponent(): + assert (3*x**4).as_coeff_exponent(x) == (3, 4) + assert (2*x**3).as_coeff_exponent(x) == (2, 3) + assert (4*x**2).as_coeff_exponent(x) == (4, 2) + assert (6*x**1).as_coeff_exponent(x) == (6, 1) + assert (3*x**0).as_coeff_exponent(x) == (3, 0) + assert (2*x**0).as_coeff_exponent(x) == (2, 0) + assert (1*x**0).as_coeff_exponent(x) == (1, 0) + assert (0*x**0).as_coeff_exponent(x) == (0, 0) + assert (-1*x**0).as_coeff_exponent(x) == (-1, 0) + assert (-2*x**0).as_coeff_exponent(x) == (-2, 0) + assert (2*x**3 + pi*x**3).as_coeff_exponent(x) == (2 + pi, 3) + assert (x*log(2)/(2*x + pi*x)).as_coeff_exponent(x) == \ + (log(2)/(2 + pi), 0) + # issue 4784 + D = Derivative + fx = D(f(x), x) + assert fx.as_coeff_exponent(f(x)) == (fx, 0) + + +def test_extractions(): + for base in (2, S.Exp1): + assert Pow(base**x, 3, evaluate=False + ).extract_multiplicatively(base**x) == base**(2*x) + assert (base**(5*x)).extract_multiplicatively( + base**(3*x)) == base**(2*x) + assert ((x*y)**3).extract_multiplicatively(x**2 * y) == x*y**2 + assert ((x*y)**3).extract_multiplicatively(x**4 * y) is None + assert (2*x).extract_multiplicatively(2) == x + assert (2*x).extract_multiplicatively(3) is None + assert (2*x).extract_multiplicatively(-1) is None + assert (S.Half*x).extract_multiplicatively(3) == x/6 + assert (sqrt(x)).extract_multiplicatively(x) is None + assert (sqrt(x)).extract_multiplicatively(1/x) is None + assert x.extract_multiplicatively(-x) is None + assert (-2 - 4*I).extract_multiplicatively(-2) == 1 + 2*I + assert (-2 - 4*I).extract_multiplicatively(3) is None + assert (-2*x - 4*y - 8).extract_multiplicatively(-2) == x + 2*y + 4 + assert (-2*x*y - 4*x**2*y).extract_multiplicatively(-2*y) == 2*x**2 + x + assert (2*x*y + 4*x**2*y).extract_multiplicatively(2*y) == 2*x**2 + x + assert (-4*y**2*x).extract_multiplicatively(-3*y) is None + assert (2*x).extract_multiplicatively(1) == 2*x + assert (-oo).extract_multiplicatively(5) is -oo + assert (oo).extract_multiplicatively(5) is oo + + assert ((x*y)**3).extract_additively(1) is None + assert (x + 1).extract_additively(x) == 1 + assert (x + 1).extract_additively(2*x) is None + assert (x + 1).extract_additively(-x) is None + assert (-x + 1).extract_additively(2*x) is None + assert (2*x + 3).extract_additively(x) == x + 3 + assert (2*x + 3).extract_additively(2) == 2*x + 1 + assert (2*x + 3).extract_additively(3) == 2*x + assert (2*x + 3).extract_additively(-2) is None + assert (2*x + 3).extract_additively(3*x) is None + assert (2*x + 3).extract_additively(2*x) == 3 + assert x.extract_additively(0) == x + assert S(2).extract_additively(x) is None + assert S(2.).extract_additively(2.) is S.Zero + assert S(2.).extract_additively(2) is S.Zero + assert S(2*x + 3).extract_additively(x + 1) == x + 2 + assert S(2*x + 3).extract_additively(y + 1) is None + assert S(2*x - 3).extract_additively(x + 1) is None + assert S(2*x - 3).extract_additively(y + z) is None + assert ((a + 1)*x*4 + y).extract_additively(x).expand() == \ + 4*a*x + 3*x + y + assert ((a + 1)*x*4 + 3*y).extract_additively(x + 2*y).expand() == \ + 4*a*x + 3*x + y + assert (y*(x + 1)).extract_additively(x + 1) is None + assert ((y + 1)*(x + 1) + 3).extract_additively(x + 1) == \ + y*(x + 1) + 3 + assert ((x + y)*(x + 1) + x + y + 3).extract_additively(x + y) == \ + x*(x + y) + 3 + assert (x + y + 2*((x + y)*(x + 1)) + 3).extract_additively((x + y)*(x + 1)) == \ + x + y + (x + 1)*(x + y) + 3 + assert ((y + 1)*(x + 2*y + 1) + 3).extract_additively(y + 1) == \ + (x + 2*y)*(y + 1) + 3 + assert (-x - x*I).extract_additively(-x) == -I*x + # extraction does not leave artificats, now + assert (4*x*(y + 1) + y).extract_additively(x) == x*(4*y + 3) + y + + n = Symbol("n", integer=True) + assert (Integer(-3)).could_extract_minus_sign() is True + assert (-n*x + x).could_extract_minus_sign() != \ + (n*x - x).could_extract_minus_sign() + assert (x - y).could_extract_minus_sign() != \ + (-x + y).could_extract_minus_sign() + assert (1 - x - y).could_extract_minus_sign() is True + assert (1 - x + y).could_extract_minus_sign() is False + assert ((-x - x*y)/y).could_extract_minus_sign() is False + assert ((x + x*y)/(-y)).could_extract_minus_sign() is True + assert ((x + x*y)/y).could_extract_minus_sign() is False + assert ((-x - y)/(x + y)).could_extract_minus_sign() is False + + class sign_invariant(Function, Expr): + nargs = 1 + def __neg__(self): + return self + foo = sign_invariant(x) + assert foo == -foo + assert foo.could_extract_minus_sign() is False + assert (x - y).could_extract_minus_sign() is False + assert (-x + y).could_extract_minus_sign() is True + assert (x - 1).could_extract_minus_sign() is False + assert (1 - x).could_extract_minus_sign() is True + assert (sqrt(2) - 1).could_extract_minus_sign() is True + assert (1 - sqrt(2)).could_extract_minus_sign() is False + # check that result is canonical + eq = (3*x + 15*y).extract_multiplicatively(3) + assert eq.args == eq.func(*eq.args).args + + +def test_nan_extractions(): + for r in (1, 0, I, nan): + assert nan.extract_additively(r) is None + assert nan.extract_multiplicatively(r) is None + + +def test_coeff(): + assert (x + 1).coeff(x + 1) == 1 + assert (3*x).coeff(0) == 0 + assert (z*(1 + x)*x**2).coeff(1 + x) == z*x**2 + assert (1 + 2*x*x**(1 + x)).coeff(x*x**(1 + x)) == 2 + assert (1 + 2*x**(y + z)).coeff(x**(y + z)) == 2 + assert (3 + 2*x + 4*x**2).coeff(1) == 0 + assert (3 + 2*x + 4*x**2).coeff(-1) == 0 + assert (3 + 2*x + 4*x**2).coeff(x) == 2 + assert (3 + 2*x + 4*x**2).coeff(x**2) == 4 + assert (3 + 2*x + 4*x**2).coeff(x**3) == 0 + + assert (-x/8 + x*y).coeff(x) == Rational(-1, 8) + y + assert (-x/8 + x*y).coeff(-x) == S.One/8 + assert (4*x).coeff(2*x) == 0 + assert (2*x).coeff(2*x) == 1 + assert (-oo*x).coeff(x*oo) == -1 + assert (10*x).coeff(x, 0) == 0 + assert (10*x).coeff(10*x, 0) == 0 + + n1, n2 = symbols('n1 n2', commutative=False) + assert (n1*n2).coeff(n1) == 1 + assert (n1*n2).coeff(n2) == n1 + assert (n1*n2 + x*n1).coeff(n1) == 1 # 1*n1*(n2+x) + assert (n2*n1 + x*n1).coeff(n1) == n2 + x + assert (n2*n1 + x*n1**2).coeff(n1) == n2 + assert (n1**x).coeff(n1) == 0 + assert (n1*n2 + n2*n1).coeff(n1) == 0 + assert (2*(n1 + n2)*n2).coeff(n1 + n2, right=1) == n2 + assert (2*(n1 + n2)*n2).coeff(n1 + n2, right=0) == 2 + + assert (2*f(x) + 3*f(x).diff(x)).coeff(f(x)) == 2 + + expr = z*(x + y)**2 + expr2 = z*(x + y)**2 + z*(2*x + 2*y)**2 + assert expr.coeff(z) == (x + y)**2 + assert expr.coeff(x + y) == 0 + assert expr2.coeff(z) == (x + y)**2 + (2*x + 2*y)**2 + + assert (x + y + 3*z).coeff(1) == x + y + assert (-x + 2*y).coeff(-1) == x + assert (x - 2*y).coeff(-1) == 2*y + assert (3 + 2*x + 4*x**2).coeff(1) == 0 + assert (-x - 2*y).coeff(2) == -y + assert (x + sqrt(2)*x).coeff(sqrt(2)) == x + assert (3 + 2*x + 4*x**2).coeff(x) == 2 + assert (3 + 2*x + 4*x**2).coeff(x**2) == 4 + assert (3 + 2*x + 4*x**2).coeff(x**3) == 0 + assert (z*(x + y)**2).coeff((x + y)**2) == z + assert (z*(x + y)**2).coeff(x + y) == 0 + assert (2 + 2*x + (x + 1)*y).coeff(x + 1) == y + + assert (x + 2*y + 3).coeff(1) == x + assert (x + 2*y + 3).coeff(x, 0) == 2*y + 3 + assert (x**2 + 2*y + 3*x).coeff(x**2, 0) == 2*y + 3*x + assert x.coeff(0, 0) == 0 + assert x.coeff(x, 0) == 0 + + n, m, o, l = symbols('n m o l', commutative=False) + assert n.coeff(n) == 1 + assert y.coeff(n) == 0 + assert (3*n).coeff(n) == 3 + assert (2 + n).coeff(x*m) == 0 + assert (2*x*n*m).coeff(x) == 2*n*m + assert (2 + n).coeff(x*m*n + y) == 0 + assert (2*x*n*m).coeff(3*n) == 0 + assert (n*m + m*n*m).coeff(n) == 1 + m + assert (n*m + m*n*m).coeff(n, right=True) == m # = (1 + m)*n*m + assert (n*m + m*n).coeff(n) == 0 + assert (n*m + o*m*n).coeff(m*n) == o + assert (n*m + o*m*n).coeff(m*n, right=True) == 1 + assert (n*m + n*m*n).coeff(n*m, right=True) == 1 + n # = n*m*(n + 1) + + assert (x*y).coeff(z, 0) == x*y + + assert (x*n + y*n + z*m).coeff(n) == x + y + assert (n*m + n*o + o*l).coeff(n, right=True) == m + o + assert (x*n*m*n + y*n*m*o + z*l).coeff(m, right=True) == x*n + y*o + assert (x*n*m*n + x*n*m*o + z*l).coeff(m, right=True) == n + o + assert (x*n*m*n + x*n*m*o + z*l).coeff(m) == x*n + + +def test_coeff2(): + r, kappa = symbols('r, kappa') + psi = Function("psi") + g = 1/r**2 * (2*r*psi(r).diff(r, 1) + r**2 * psi(r).diff(r, 2)) + g = g.expand() + assert g.coeff(psi(r).diff(r)) == 2/r + + +def test_coeff2_0(): + r, kappa = symbols('r, kappa') + psi = Function("psi") + g = 1/r**2 * (2*r*psi(r).diff(r, 1) + r**2 * psi(r).diff(r, 2)) + g = g.expand() + + assert g.coeff(psi(r).diff(r, 2)) == 1 + + +def test_coeff_expand(): + expr = z*(x + y)**2 + expr2 = z*(x + y)**2 + z*(2*x + 2*y)**2 + assert expr.coeff(z) == (x + y)**2 + assert expr2.coeff(z) == (x + y)**2 + (2*x + 2*y)**2 + + +def test_integrate(): + assert x.integrate(x) == x**2/2 + assert x.integrate((x, 0, 1)) == S.Half + + +def test_as_base_exp(): + assert x.as_base_exp() == (x, S.One) + assert (x*y*z).as_base_exp() == (x*y*z, S.One) + assert (x + y + z).as_base_exp() == (x + y + z, S.One) + assert ((x + y)**z).as_base_exp() == (x + y, z) + + +def test_issue_4963(): + assert hasattr(Mul(x, y), "is_commutative") + assert hasattr(Mul(x, y, evaluate=False), "is_commutative") + assert hasattr(Pow(x, y), "is_commutative") + assert hasattr(Pow(x, y, evaluate=False), "is_commutative") + expr = Mul(Pow(2, 2, evaluate=False), 3, evaluate=False) + 1 + assert hasattr(expr, "is_commutative") + + +def test_action_verbs(): + assert nsimplify(1/(exp(3*pi*x/5) + 1)) == \ + (1/(exp(3*pi*x/5) + 1)).nsimplify() + assert ratsimp(1/x + 1/y) == (1/x + 1/y).ratsimp() + assert trigsimp(log(x), deep=True) == (log(x)).trigsimp(deep=True) + assert radsimp(1/(2 + sqrt(2))) == (1/(2 + sqrt(2))).radsimp() + assert radsimp(1/(a + b*sqrt(c)), symbolic=False) == \ + (1/(a + b*sqrt(c))).radsimp(symbolic=False) + assert powsimp(x**y*x**z*y**z, combine='all') == \ + (x**y*x**z*y**z).powsimp(combine='all') + assert (x**t*y**t).powsimp(force=True) == (x*y)**t + assert simplify(x**y*x**z*y**z) == (x**y*x**z*y**z).simplify() + assert together(1/x + 1/y) == (1/x + 1/y).together() + assert collect(a*x**2 + b*x**2 + a*x - b*x + c, x) == \ + (a*x**2 + b*x**2 + a*x - b*x + c).collect(x) + assert apart(y/(y + 2)/(y + 1), y) == (y/(y + 2)/(y + 1)).apart(y) + assert combsimp(y/(x + 2)/(x + 1)) == (y/(x + 2)/(x + 1)).combsimp() + assert gammasimp(gamma(x)/gamma(x-5)) == (gamma(x)/gamma(x-5)).gammasimp() + assert factor(x**2 + 5*x + 6) == (x**2 + 5*x + 6).factor() + assert refine(sqrt(x**2)) == sqrt(x**2).refine() + assert cancel((x**2 + 5*x + 6)/(x + 2)) == ((x**2 + 5*x + 6)/(x + 2)).cancel() + + +def test_as_powers_dict(): + assert x.as_powers_dict() == {x: 1} + assert (x**y*z).as_powers_dict() == {x: y, z: 1} + assert Mul(2, 2, evaluate=False).as_powers_dict() == {S(2): S(2)} + assert (x*y).as_powers_dict()[z] == 0 + assert (x + y).as_powers_dict()[z] == 0 + + +def test_as_coefficients_dict(): + check = [S.One, x, y, x*y, 1] + assert [Add(3*x, 2*x, y, 3).as_coefficients_dict()[i] for i in check] == \ + [3, 5, 1, 0, 3] + assert [Add(3*x, 2*x, y, 3, evaluate=False).as_coefficients_dict()[i] + for i in check] == [3, 5, 1, 0, 3] + assert [(3*x*y).as_coefficients_dict()[i] for i in check] == \ + [0, 0, 0, 3, 0] + assert [(3.0*x*y).as_coefficients_dict()[i] for i in check] == \ + [0, 0, 0, 3.0, 0] + assert (3.0*x*y).as_coefficients_dict()[3.0*x*y] == 0 + eq = x*(x + 1)*a + x*b + c/x + assert eq.as_coefficients_dict(x) == {x: b, 1/x: c, + x*(x + 1): a} + assert eq.expand().as_coefficients_dict(x) == {x**2: a, x: a + b, 1/x: c} + assert x.as_coefficients_dict() == {x: S.One} + + +def test_args_cnc(): + A = symbols('A', commutative=False) + assert (x + A).args_cnc() == \ + [[], [x + A]] + assert (x + a).args_cnc() == \ + [[a + x], []] + assert (x*a).args_cnc() == \ + [[a, x], []] + assert (x*y*A*(A + 1)).args_cnc(cset=True) == \ + [{x, y}, [A, 1 + A]] + assert Mul(x, x, evaluate=False).args_cnc(cset=True, warn=False) == \ + [{x}, []] + assert Mul(x, x**2, evaluate=False).args_cnc(cset=True, warn=False) == \ + [{x, x**2}, []] + raises(ValueError, lambda: Mul(x, x, evaluate=False).args_cnc(cset=True)) + assert Mul(x, y, x, evaluate=False).args_cnc() == \ + [[x, y, x], []] + # always split -1 from leading number + assert (-1.*x).args_cnc() == [[-1, 1.0, x], []] + + +def test_new_rawargs(): + n = Symbol('n', commutative=False) + a = x + n + assert a.is_commutative is False + assert a._new_rawargs(x).is_commutative + assert a._new_rawargs(x, y).is_commutative + assert a._new_rawargs(x, n).is_commutative is False + assert a._new_rawargs(x, y, n).is_commutative is False + m = x*n + assert m.is_commutative is False + assert m._new_rawargs(x).is_commutative + assert m._new_rawargs(n).is_commutative is False + assert m._new_rawargs(x, y).is_commutative + assert m._new_rawargs(x, n).is_commutative is False + assert m._new_rawargs(x, y, n).is_commutative is False + + assert m._new_rawargs(x, n, reeval=False).is_commutative is False + assert m._new_rawargs(S.One) is S.One + + +def test_issue_5226(): + assert Add(evaluate=False) == 0 + assert Mul(evaluate=False) == 1 + assert Mul(x + y, evaluate=False).is_Add + + +def test_free_symbols(): + # free_symbols should return the free symbols of an object + assert S.One.free_symbols == set() + assert x.free_symbols == {x} + assert Integral(x, (x, 1, y)).free_symbols == {y} + assert (-Integral(x, (x, 1, y))).free_symbols == {y} + assert meter.free_symbols == set() + assert (meter**x).free_symbols == {x} + + +def test_has_free(): + assert x.has_free(x) + assert not x.has_free(y) + assert (x + y).has_free(x) + assert (x + y).has_free(*(x, z)) + assert f(x).has_free(x) + assert f(x).has_free(f(x)) + assert Integral(f(x), (f(x), 1, y)).has_free(y) + assert not Integral(f(x), (f(x), 1, y)).has_free(x) + assert not Integral(f(x), (f(x), 1, y)).has_free(f(x)) + # simple extraction + assert (x + 1 + y).has_free(x + 1) + assert not (x + 2 + y).has_free(x + 1) + assert (2 + 3*x*y).has_free(3*x) + raises(TypeError, lambda: x.has_free({x, y})) + s = FiniteSet(1, 2) + assert Piecewise((s, x > 3), (4, True)).has_free(s) + assert not Piecewise((1, x > 3), (4, True)).has_free(s) + # can't make set of these, but fallback will handle + raises(TypeError, lambda: x.has_free(y, [])) + + +def test_has_xfree(): + assert (x + 1).has_xfree({x}) + assert ((x + 1)**2).has_xfree({x + 1}) + assert not (x + y + 1).has_xfree({x + 1}) + raises(TypeError, lambda: x.has_xfree(x)) + raises(TypeError, lambda: x.has_xfree([x])) + + +def test_issue_5300(): + x = Symbol('x', commutative=False) + assert x*sqrt(2)/sqrt(6) == x*sqrt(3)/3 + + +def test_floordiv(): + from sympy.functions.elementary.integers import floor + assert x // y == floor(x / y) + + +def test_as_coeff_Mul(): + assert Integer(3).as_coeff_Mul() == (Integer(3), Integer(1)) + assert Rational(3, 4).as_coeff_Mul() == (Rational(3, 4), Integer(1)) + assert Float(5.0).as_coeff_Mul() == (Float(5.0), Integer(1)) + + assert (Integer(3)*x).as_coeff_Mul() == (Integer(3), x) + assert (Rational(3, 4)*x).as_coeff_Mul() == (Rational(3, 4), x) + assert (Float(5.0)*x).as_coeff_Mul() == (Float(5.0), x) + + assert (Integer(3)*x*y).as_coeff_Mul() == (Integer(3), x*y) + assert (Rational(3, 4)*x*y).as_coeff_Mul() == (Rational(3, 4), x*y) + assert (Float(5.0)*x*y).as_coeff_Mul() == (Float(5.0), x*y) + + assert (x).as_coeff_Mul() == (S.One, x) + assert (x*y).as_coeff_Mul() == (S.One, x*y) + assert (-oo*x).as_coeff_Mul(rational=True) == (-1, oo*x) + + +def test_as_coeff_Add(): + assert Integer(3).as_coeff_Add() == (Integer(3), Integer(0)) + assert Rational(3, 4).as_coeff_Add() == (Rational(3, 4), Integer(0)) + assert Float(5.0).as_coeff_Add() == (Float(5.0), Integer(0)) + + assert (Integer(3) + x).as_coeff_Add() == (Integer(3), x) + assert (Rational(3, 4) + x).as_coeff_Add() == (Rational(3, 4), x) + assert (Float(5.0) + x).as_coeff_Add() == (Float(5.0), x) + assert (Float(5.0) + x).as_coeff_Add(rational=True) == (0, Float(5.0) + x) + + assert (Integer(3) + x + y).as_coeff_Add() == (Integer(3), x + y) + assert (Rational(3, 4) + x + y).as_coeff_Add() == (Rational(3, 4), x + y) + assert (Float(5.0) + x + y).as_coeff_Add() == (Float(5.0), x + y) + + assert (x).as_coeff_Add() == (S.Zero, x) + assert (x*y).as_coeff_Add() == (S.Zero, x*y) + + +def test_expr_sorting(): + + exprs = [1/x**2, 1/x, sqrt(sqrt(x)), sqrt(x), x, sqrt(x)**3, x**2] + assert sorted(exprs, key=default_sort_key) == exprs + + exprs = [x, 2*x, 2*x**2, 2*x**3, x**n, 2*x**n, sin(x), sin(x)**n, + sin(x**2), cos(x), cos(x**2), tan(x)] + assert sorted(exprs, key=default_sort_key) == exprs + + exprs = [x + 1, x**2 + x + 1, x**3 + x**2 + x + 1] + assert sorted(exprs, key=default_sort_key) == exprs + + exprs = [S(4), x - 3*I/2, x + 3*I/2, x - 4*I + 1, x + 4*I + 1] + assert sorted(exprs, key=default_sort_key) == exprs + + exprs = [f(1), f(2), f(3), f(1, 2, 3), g(1), g(2), g(3), g(1, 2, 3)] + assert sorted(exprs, key=default_sort_key) == exprs + + exprs = [f(x), g(x), exp(x), sin(x), cos(x), factorial(x)] + assert sorted(exprs, key=default_sort_key) == exprs + + exprs = [Tuple(x, y), Tuple(x, z), Tuple(x, y, z)] + assert sorted(exprs, key=default_sort_key) == exprs + + exprs = [[3], [1, 2]] + assert sorted(exprs, key=default_sort_key) == exprs + + exprs = [[1, 2], [2, 3]] + assert sorted(exprs, key=default_sort_key) == exprs + + exprs = [[1, 2], [1, 2, 3]] + assert sorted(exprs, key=default_sort_key) == exprs + + exprs = [{x: -y}, {x: y}] + assert sorted(exprs, key=default_sort_key) == exprs + + exprs = [{1}, {1, 2}] + assert sorted(exprs, key=default_sort_key) == exprs + + a, b = exprs = [Dummy('x'), Dummy('x')] + assert sorted([b, a], key=default_sort_key) == exprs + + +def test_as_ordered_factors(): + + assert x.as_ordered_factors() == [x] + assert (2*x*x**n*sin(x)*cos(x)).as_ordered_factors() \ + == [Integer(2), x, x**n, sin(x), cos(x)] + + args = [f(1), f(2), f(3), f(1, 2, 3), g(1), g(2), g(3), g(1, 2, 3)] + expr = Mul(*args) + + assert expr.as_ordered_factors() == args + + A, B = symbols('A,B', commutative=False) + + assert (A*B).as_ordered_factors() == [A, B] + assert (B*A).as_ordered_factors() == [B, A] + + +def test_as_ordered_terms(): + + assert x.as_ordered_terms() == [x] + assert (sin(x)**2*cos(x) + sin(x)*cos(x)**2 + 1).as_ordered_terms() \ + == [sin(x)**2*cos(x), sin(x)*cos(x)**2, 1] + + args = [f(1), f(2), f(3), f(1, 2, 3), g(1), g(2), g(3), g(1, 2, 3)] + expr = Add(*args) + + assert expr.as_ordered_terms() == args + + assert (1 + 4*sqrt(3)*pi*x).as_ordered_terms() == [4*pi*x*sqrt(3), 1] + + assert ( 2 + 3*I).as_ordered_terms() == [2, 3*I] + assert (-2 + 3*I).as_ordered_terms() == [-2, 3*I] + assert ( 2 - 3*I).as_ordered_terms() == [2, -3*I] + assert (-2 - 3*I).as_ordered_terms() == [-2, -3*I] + + assert ( 4 + 3*I).as_ordered_terms() == [4, 3*I] + assert (-4 + 3*I).as_ordered_terms() == [-4, 3*I] + assert ( 4 - 3*I).as_ordered_terms() == [4, -3*I] + assert (-4 - 3*I).as_ordered_terms() == [-4, -3*I] + + e = x**2*y**2 + x*y**4 + y + 2 + + assert e.as_ordered_terms(order="lex") == [x**2*y**2, x*y**4, y, 2] + assert e.as_ordered_terms(order="grlex") == [x*y**4, x**2*y**2, y, 2] + assert e.as_ordered_terms(order="rev-lex") == [2, y, x*y**4, x**2*y**2] + assert e.as_ordered_terms(order="rev-grlex") == [2, y, x**2*y**2, x*y**4] + + k = symbols('k') + assert k.as_ordered_terms(data=True) == ([(k, ((1.0, 0.0), (1,), ()))], [k]) + + +def test_sort_key_atomic_expr(): + from sympy.physics.units import m, s + assert sorted([-m, s], key=lambda arg: arg.sort_key()) == [-m, s] + + +def test_eval_interval(): + assert exp(x)._eval_interval(*Tuple(x, 0, 1)) == exp(1) - exp(0) + + # issue 4199 + a = x/y + raises(NotImplementedError, lambda: a._eval_interval(x, S.Zero, oo)._eval_interval(y, oo, S.Zero)) + raises(NotImplementedError, lambda: a._eval_interval(x, S.Zero, oo)._eval_interval(y, S.Zero, oo)) + a = x - y + raises(NotImplementedError, lambda: a._eval_interval(x, S.One, oo)._eval_interval(y, oo, S.One)) + raises(ValueError, lambda: x._eval_interval(x, None, None)) + a = -y*Heaviside(x - y) + assert a._eval_interval(x, -oo, oo) == -y + assert a._eval_interval(x, oo, -oo) == y + + +def test_eval_interval_zoo(): + # Test that limit is used when zoo is returned + assert Si(1/x)._eval_interval(x, S.Zero, S.One) == -pi/2 + Si(1) + + +def test_primitive(): + assert (3*(x + 1)**2).primitive() == (3, (x + 1)**2) + assert (6*x + 2).primitive() == (2, 3*x + 1) + assert (x/2 + 3).primitive() == (S.Half, x + 6) + eq = (6*x + 2)*(x/2 + 3) + assert eq.primitive()[0] == 1 + eq = (2 + 2*x)**2 + assert eq.primitive()[0] == 1 + assert (4.0*x).primitive() == (1, 4.0*x) + assert (4.0*x + y/2).primitive() == (S.Half, 8.0*x + y) + assert (-2*x).primitive() == (2, -x) + assert Add(5*z/7, 0.5*x, 3*y/2, evaluate=False).primitive() == \ + (S.One/14, 7.0*x + 21*y + 10*z) + for i in [S.Infinity, S.NegativeInfinity, S.ComplexInfinity]: + assert (i + x/3).primitive() == \ + (S.One/3, i + x) + assert (S.Infinity + 2*x/3 + 4*y/7).primitive() == \ + (S.One/21, 14*x + 12*y + oo) + assert S.Zero.primitive() == (S.One, S.Zero) + + +def test_issue_5843(): + a = 1 + x + assert (2*a).extract_multiplicatively(a) == 2 + assert (4*a).extract_multiplicatively(2*a) == 2 + assert ((3*a)*(2*a)).extract_multiplicatively(a) == 6*a + + +def test_is_constant(): + from sympy.solvers.solvers import checksol + assert Sum(x, (x, 1, 10)).is_constant() is True + assert Sum(x, (x, 1, n)).is_constant() is False + assert Sum(x, (x, 1, n)).is_constant(y) is True + assert Sum(x, (x, 1, n)).is_constant(n) is False + assert Sum(x, (x, 1, n)).is_constant(x) is True + eq = a*cos(x)**2 + a*sin(x)**2 - a + assert eq.is_constant() is True + assert eq.subs({x: pi, a: 2}) == eq.subs({x: pi, a: 3}) == 0 + assert x.is_constant() is False + assert x.is_constant(y) is True + assert log(x/y).is_constant() is False + + assert checksol(x, x, Sum(x, (x, 1, n))) is False + assert checksol(x, x, Sum(x, (x, 1, n))) is False + assert f(1).is_constant + assert checksol(x, x, f(x)) is False + + assert Pow(x, S.Zero, evaluate=False).is_constant() is True # == 1 + assert Pow(S.Zero, x, evaluate=False).is_constant() is False # == 0 or 1 + assert (2**x).is_constant() is False + assert Pow(S(2), S(3), evaluate=False).is_constant() is True + + z1, z2 = symbols('z1 z2', zero=True) + assert (z1 + 2*z2).is_constant() is True + + assert meter.is_constant() is True + assert (3*meter).is_constant() is True + assert (x*meter).is_constant() is False + + +def test_equals(): + assert (-3 - sqrt(5) + (-sqrt(10)/2 - sqrt(2)/2)**2).equals(0) + assert (x**2 - 1).equals((x + 1)*(x - 1)) + assert (cos(x)**2 + sin(x)**2).equals(1) + assert (a*cos(x)**2 + a*sin(x)**2).equals(a) + r = sqrt(2) + assert (-1/(r + r*x) + 1/r/(1 + x)).equals(0) + assert factorial(x + 1).equals((x + 1)*factorial(x)) + assert sqrt(3).equals(2*sqrt(3)) is False + assert (sqrt(5)*sqrt(3)).equals(sqrt(3)) is False + assert (sqrt(5) + sqrt(3)).equals(0) is False + assert (sqrt(5) + pi).equals(0) is False + assert meter.equals(0) is False + assert (3*meter**2).equals(0) is False + eq = -(-1)**(S(3)/4)*6**(S.One/4) + (-6)**(S.One/4)*I + if eq != 0: # if canonicalization makes this zero, skip the test + assert eq.equals(0) + assert sqrt(x).equals(0) is False + + # from integrate(x*sqrt(1 + 2*x), x); + # diff is zero only when assumptions allow + i = 2*sqrt(2)*x**(S(5)/2)*(1 + 1/(2*x))**(S(5)/2)/5 + \ + 2*sqrt(2)*x**(S(3)/2)*(1 + 1/(2*x))**(S(5)/2)/(-6 - 3/x) + ans = sqrt(2*x + 1)*(6*x**2 + x - 1)/15 + diff = i - ans + assert diff.equals(0) is None # should be False, but previously this was False due to wrong intermediate result + assert diff.subs(x, Rational(-1, 2)/2) == 7*sqrt(2)/120 + # there are regions for x for which the expression is True, for + # example, when x < -1/2 or x > 0 the expression is zero + p = Symbol('p', positive=True) + assert diff.subs(x, p).equals(0) is True + assert diff.subs(x, -1).equals(0) is True + + # prove via minimal_polynomial or self-consistency + eq = sqrt(1 + sqrt(3)) + sqrt(3 + 3*sqrt(3)) - sqrt(10 + 6*sqrt(3)) + assert eq.equals(0) + q = 3**Rational(1, 3) + 3 + p = expand(q**3)**Rational(1, 3) + assert (p - q).equals(0) + + # issue 6829 + # eq = q*x + q/4 + x**4 + x**3 + 2*x**2 - S.One/3 + # z = eq.subs(x, solve(eq, x)[0]) + q = symbols('q') + z = (q*(-sqrt(-2*(-(q - S(7)/8)**S(2)/8 - S(2197)/13824)**(S.One/3) - + S(13)/12)/2 - sqrt((2*q - S(7)/4)/sqrt(-2*(-(q - S(7)/8)**S(2)/8 - + S(2197)/13824)**(S.One/3) - S(13)/12) + 2*(-(q - S(7)/8)**S(2)/8 - + S(2197)/13824)**(S.One/3) - S(13)/6)/2 - S.One/4) + q/4 + (-sqrt(-2*(-(q + - S(7)/8)**S(2)/8 - S(2197)/13824)**(S.One/3) - S(13)/12)/2 - sqrt((2*q + - S(7)/4)/sqrt(-2*(-(q - S(7)/8)**S(2)/8 - S(2197)/13824)**(S.One/3) - + S(13)/12) + 2*(-(q - S(7)/8)**S(2)/8 - S(2197)/13824)**(S.One/3) - + S(13)/6)/2 - S.One/4)**4 + (-sqrt(-2*(-(q - S(7)/8)**S(2)/8 - + S(2197)/13824)**(S.One/3) - S(13)/12)/2 - sqrt((2*q - + S(7)/4)/sqrt(-2*(-(q - S(7)/8)**S(2)/8 - S(2197)/13824)**(S.One/3) - + S(13)/12) + 2*(-(q - S(7)/8)**S(2)/8 - S(2197)/13824)**(S.One/3) - + S(13)/6)/2 - S.One/4)**3 + 2*(-sqrt(-2*(-(q - S(7)/8)**S(2)/8 - + S(2197)/13824)**(S.One/3) - S(13)/12)/2 - sqrt((2*q - + S(7)/4)/sqrt(-2*(-(q - S(7)/8)**S(2)/8 - S(2197)/13824)**(S.One/3) - + S(13)/12) + 2*(-(q - S(7)/8)**S(2)/8 - S(2197)/13824)**(S.One/3) - + S(13)/6)/2 - S.One/4)**2 - Rational(1, 3)) + assert z.equals(0) + + +def test_random(): + from sympy.functions.combinatorial.numbers import lucas + from sympy.simplify.simplify import posify + assert posify(x)[0]._random() is not None + assert lucas(n)._random(2, -2, 0, -1, 1) is None + + # issue 8662 + assert Piecewise((Max(x, y), z))._random() is None + + +def test_round(): + assert str(Float('0.1249999').round(2)) == '0.12' + d20 = 12345678901234567890 + ans = S(d20).round(2) + assert ans.is_Integer and ans == d20 + ans = S(d20).round(-2) + assert ans.is_Integer and ans == 12345678901234567900 + assert str(S('1/7').round(4)) == '0.1429' + assert str(S('.[12345]').round(4)) == '0.1235' + assert str(S('.1349').round(2)) == '0.13' + n = S(12345) + ans = n.round() + assert ans.is_Integer + assert ans == n + ans = n.round(1) + assert ans.is_Integer + assert ans == n + ans = n.round(4) + assert ans.is_Integer + assert ans == n + assert n.round(-1) == 12340 + + r = Float(str(n)).round(-4) + assert r == 10000.0 + + assert n.round(-5) == 0 + + assert str((pi + sqrt(2)).round(2)) == '4.56' + assert (10*(pi + sqrt(2))).round(-1) == 50.0 + raises(TypeError, lambda: round(x + 2, 2)) + assert str(S(2.3).round(1)) == '2.3' + # rounding in SymPy (as in Decimal) should be + # exact for the given precision; we check here + # that when a 5 follows the last digit that + # the rounded digit will be even. + for i in range(-99, 100): + # construct a decimal that ends in 5, e.g. 123 -> 0.1235 + s = str(abs(i)) + p = len(s) # we are going to round to the last digit of i + n = '0.%s5' % s # put a 5 after i's digits + j = p + 2 # 2 for '0.' + if i < 0: # 1 for '-' + j += 1 + n = '-' + n + v = str(Float(n).round(p))[:j] # pertinent digits + if v.endswith('.'): + continue # it ends with 0 which is even + L = int(v[-1]) # last digit + assert L % 2 == 0, (n, '->', v) + + assert (Float(.3, 3) + 2*pi).round() == 7 + assert (Float(.3, 3) + 2*pi*100).round() == 629 + assert (pi + 2*E*I).round() == 3 + 5*I + # don't let request for extra precision give more than + # what is known (in this case, only 3 digits) + assert str((Float(.03, 3) + 2*pi/100).round(5)) == '0.0928' + assert str((Float(.03, 3) + 2*pi/100).round(4)) == '0.0928' + + assert S.Zero.round() == 0 + + a = (Add(1, Float('1.' + '9'*27, ''), evaluate=0)) + assert a.round(10) == Float('3.000000000000000000000000000', '') + assert a.round(25) == Float('3.000000000000000000000000000', '') + assert a.round(26) == Float('3.000000000000000000000000000', '') + assert a.round(27) == Float('2.999999999999999999999999999', '') + assert a.round(30) == Float('2.999999999999999999999999999', '') + + # XXX: Should round set the precision of the result? + # The previous version of the tests above is this but they only pass + # because Floats with unequal precision compare equal: + # + # assert a.round(10) == Float('3.0000000000', '') + # assert a.round(25) == Float('3.0000000000000000000000000', '') + # assert a.round(26) == Float('3.00000000000000000000000000', '') + # assert a.round(27) == Float('2.999999999999999999999999999', '') + # assert a.round(30) == Float('2.999999999999999999999999999', '') + + raises(TypeError, lambda: x.round()) + raises(TypeError, lambda: f(1).round()) + + # exact magnitude of 10 + assert str(S.One.round()) == '1' + assert str(S(100).round()) == '100' + + # applied to real and imaginary portions + assert (2*pi + E*I).round() == 6 + 3*I + assert (2*pi + I/10).round() == 6 + assert (pi/10 + 2*I).round() == 2*I + # the lhs re and im parts are Float with dps of 2 + # and those on the right have dps of 15 so they won't compare + # equal unless we use string or compare components (which will + # then coerce the floats to the same precision) or re-create + # the floats + assert str((pi/10 + E*I).round(2)) == '0.31 + 2.72*I' + assert str((pi/10 + E*I).round(2).as_real_imag()) == '(0.31, 2.72)' + assert str((pi/10 + E*I).round(2)) == '0.31 + 2.72*I' + + # issue 6914 + assert (I**(I + 3)).round(3) == Float('-0.208', '')*I + + # issue 8720 + assert S(-123.6).round() == -124 + assert S(-1.5).round() == -2 + assert S(-100.5).round() == -100 + assert S(-1.5 - 10.5*I).round() == -2 - 10*I + + # issue 7961 + assert str(S(0.006).round(2)) == '0.01' + assert str(S(0.00106).round(4)) == '0.0011' + + # issue 8147 + assert S.NaN.round() is S.NaN + assert S.Infinity.round() is S.Infinity + assert S.NegativeInfinity.round() is S.NegativeInfinity + assert S.ComplexInfinity.round() is S.ComplexInfinity + + # check that types match + for i in range(2): + fi = float(i) + # 2 args + assert all(type(round(i, p)) is int for p in (-1, 0, 1)) + assert all(S(i).round(p).is_Integer for p in (-1, 0, 1)) + assert all(type(round(fi, p)) is float for p in (-1, 0, 1)) + assert all(S(fi).round(p).is_Float for p in (-1, 0, 1)) + # 1 arg (p is None) + assert type(round(i)) is int + assert S(i).round().is_Integer + assert type(round(fi)) is int + assert S(fi).round().is_Integer + + +def test_held_expression_UnevaluatedExpr(): + x = symbols("x") + he = UnevaluatedExpr(1/x) + e1 = x*he + + assert isinstance(e1, Mul) + assert e1.args == (x, he) + assert e1.doit() == 1 + assert UnevaluatedExpr(Derivative(x, x)).doit(deep=False + ) == Derivative(x, x) + assert UnevaluatedExpr(Derivative(x, x)).doit() == 1 + + xx = Mul(x, x, evaluate=False) + assert xx != x**2 + + ue2 = UnevaluatedExpr(xx) + assert isinstance(ue2, UnevaluatedExpr) + assert ue2.args == (xx,) + assert ue2.doit() == x**2 + assert ue2.doit(deep=False) == xx + + x2 = UnevaluatedExpr(2)*2 + assert type(x2) is Mul + assert x2.args == (2, UnevaluatedExpr(2)) + +def test_round_exception_nostr(): + # Don't use the string form of the expression in the round exception, as + # it's too slow + s = Symbol('bad') + try: + s.round() + except TypeError as e: + assert 'bad' not in str(e) + else: + # Did not raise + raise AssertionError("Did not raise") + + +def test_extract_branch_factor(): + assert exp_polar(2.0*I*pi).extract_branch_factor() == (1, 1) + + +def test_identity_removal(): + assert Add.make_args(x + 0) == (x,) + assert Mul.make_args(x*1) == (x,) + + +def test_float_0(): + assert Float(0.0) + 1 == Float(1.0) + + +@XFAIL +def test_float_0_fail(): + assert Float(0.0)*x == Float(0.0) + assert (x + Float(0.0)).is_Add + + +def test_issue_6325(): + ans = (b**2 + z**2 - (b*(a + b*t) + z*(c + t*z))**2/( + (a + b*t)**2 + (c + t*z)**2))/sqrt((a + b*t)**2 + (c + t*z)**2) + e = sqrt((a + b*t)**2 + (c + z*t)**2) + assert diff(e, t, 2) == ans + assert e.diff(t, 2) == ans + assert diff(e, t, 2, simplify=False) != ans + + +def test_issue_7426(): + f1 = a % c + f2 = x % z + assert f1.equals(f2) is None + + +def test_issue_11122(): + x = Symbol('x', extended_positive=False) + assert unchanged(Gt, x, 0) # (x > 0) + # (x > 0) should remain unevaluated after PR #16956 + + x = Symbol('x', positive=False, real=True) + assert (x > 0) is S.false + + +def test_issue_10651(): + x = Symbol('x', real=True) + e1 = (-1 + x)/(1 - x) + e3 = (4*x**2 - 4)/((1 - x)*(1 + x)) + e4 = 1/(cos(x)**2) - (tan(x))**2 + x = Symbol('x', positive=True) + e5 = (1 + x)/x + assert e1.is_constant() is None + assert e3.is_constant() is None + assert e4.is_constant() is None + assert e5.is_constant() is False + + +def test_issue_10161(): + x = symbols('x', real=True) + assert x*abs(x)*abs(x) == x**3 + + +def test_issue_10755(): + x = symbols('x') + raises(TypeError, lambda: int(log(x))) + raises(TypeError, lambda: log(x).round(2)) + + +def test_issue_11877(): + x = symbols('x') + assert integrate(log(S.Half - x), (x, 0, S.Half)) == Rational(-1, 2) -log(2)/2 + + +def test_normal(): + x = symbols('x') + e = Mul(S.Half, 1 + x, evaluate=False) + assert e.normal() == e + + +def test_expr(): + x = symbols('x') + raises(TypeError, lambda: tan(x).series(x, 2, oo, "+")) + + +def test_ExprBuilder(): + eb = ExprBuilder(Mul) + eb.args.extend([x, x]) + assert eb.build() == x**2 + + +def test_issue_22020(): + from sympy.parsing.sympy_parser import parse_expr + x = parse_expr("log((2*V/3-V)/C)/-(R+r)*C") + y = parse_expr("log((2*V/3-V)/C)/-(R+r)*2") + assert x.equals(y) is False + + +def test_non_string_equality(): + # Expressions should not compare equal to strings + x = symbols('x') + one = sympify(1) + assert (x == 'x') is False + assert (x != 'x') is True + assert (one == '1') is False + assert (one != '1') is True + assert (x + 1 == 'x + 1') is False + assert (x + 1 != 'x + 1') is True + + # Make sure == doesn't try to convert the resulting expression to a string + # (e.g., by calling sympify() instead of _sympify()) + + class BadRepr: + def __repr__(self): + raise RuntimeError + + assert (x == BadRepr()) is False + assert (x != BadRepr()) is True + + +def test_21494(): + from sympy.testing.pytest import warns_deprecated_sympy + + with warns_deprecated_sympy(): + assert x.expr_free_symbols == {x} + + with warns_deprecated_sympy(): + assert Basic().expr_free_symbols == set() + + with warns_deprecated_sympy(): + assert S(2).expr_free_symbols == {S(2)} + + with warns_deprecated_sympy(): + assert Indexed("A", x).expr_free_symbols == {Indexed("A", x)} + + with warns_deprecated_sympy(): + assert Subs(x, x, 0).expr_free_symbols == set() + + +def test_Expr__eq__iterable_handling(): + assert x != range(3) + + +def test_format(): + assert '{:1.2f}'.format(S.Zero) == '0.00' + assert '{:+3.0f}'.format(S(3)) == ' +3' + assert '{:23.20f}'.format(pi) == ' 3.14159265358979323846' + assert '{:50.48f}'.format(exp(sin(1))) == '2.319776824715853173956590377503266813254904772376' diff --git a/shared/package-files/45/4518d2739cdab6a9cc1bbe1ab72cd41bdc0895c7b020eee55366f481f4a95d24/_validate_sparse_bsc_tensor_args_ops.h b/shared/package-files/45/4518d2739cdab6a9cc1bbe1ab72cd41bdc0895c7b020eee55366f481f4a95d24/_validate_sparse_bsc_tensor_args_ops.h new file mode 100644 index 0000000000000000000000000000000000000000..5374970a57e8f347fa712f2a0f2059189be08378 --- /dev/null +++ b/shared/package-files/45/4518d2739cdab6a9cc1bbe1ab72cd41bdc0895c7b020eee55366f481f4a95d24/_validate_sparse_bsc_tensor_args_ops.h @@ -0,0 +1,28 @@ +#pragma once + +// @generated by torchgen/gen.py from Operator.h + +#include +#include + +// Forward declarations of any types needed in the operator signatures. +// We can't directly include these classes because it will cause circular include dependencies. +// This file is included by TensorBody.h, which defines the Tensor class. +#include + +namespace at { +namespace _ops { + + +struct TORCH_API _validate_sparse_bsc_tensor_args { + using schema = void (const at::Tensor &, const at::Tensor &, const at::Tensor &, at::IntArrayRef); + using ptr_schema = schema*; + // See Note [static constexpr char* members for windows NVCC] + STATIC_CONSTEXPR_STR_INL_EXCEPT_WIN_CUDA(name, "aten::_validate_sparse_bsc_tensor_args") + STATIC_CONSTEXPR_STR_INL_EXCEPT_WIN_CUDA(overload_name, "") + STATIC_CONSTEXPR_STR_INL_EXCEPT_WIN_CUDA(schema_str, "_validate_sparse_bsc_tensor_args(Tensor ccol_indices, Tensor row_indices, Tensor values, int[] size) -> ()") + static void call(const at::Tensor & ccol_indices, const at::Tensor & row_indices, const at::Tensor & values, at::IntArrayRef size); + static void redispatch(c10::DispatchKeySet dispatchKeySet, const at::Tensor & ccol_indices, const at::Tensor & row_indices, const at::Tensor & values, at::IntArrayRef size); +}; + +}} // namespace at::_ops diff --git a/shared/package-files/45/4519633c80e2ea30cd85475b8ca31cef932cb7ec26f7697e1fa6f963e9420890/test_repr.py b/shared/package-files/45/4519633c80e2ea30cd85475b8ca31cef932cb7ec26f7697e1fa6f963e9420890/test_repr.py new file mode 100644 index 0000000000000000000000000000000000000000..0ee904b18cc9ec6197ed3ad009fae1da593c5219 --- /dev/null +++ b/shared/package-files/45/4519633c80e2ea30cd85475b8ca31cef932cb7ec26f7697e1fa6f963e9420890/test_repr.py @@ -0,0 +1,13 @@ +import pandas as pd + + +def test_repr(): + df = pd.DataFrame({"A": pd.array([True, False, None], dtype="boolean")}) + expected = " A\n0 True\n1 False\n2 " + assert repr(df) == expected + + expected = "0 True\n1 False\n2 \nName: A, dtype: boolean" + assert repr(df.A) == expected + + expected = "\n[True, False, ]\nLength: 3, dtype: boolean" + assert repr(df.A.array) == expected diff --git a/shared/package-files/45/451b3d1ca16347562e810fc5ba6531617ae2c7dfe6da094dfcc220edb7ea0232/notebook.ipynb b/shared/package-files/45/451b3d1ca16347562e810fc5ba6531617ae2c7dfe6da094dfcc220edb7ea0232/notebook.ipynb new file mode 100644 index 0000000000000000000000000000000000000000..57ced8a0e0ceec91335452ad9761eae1c5c4e1be --- /dev/null +++ b/shared/package-files/45/451b3d1ca16347562e810fc5ba6531617ae2c7dfe6da094dfcc220edb7ea0232/notebook.ipynb @@ -0,0 +1 @@ +{"metadata": {"name": "", "signature": ""}, "nbformat": 3, "nbformat_minor": 0, "worksheets": [{"cells": []}]} diff --git a/shared/package-files/45/451dff5484e862df4e58cf67de88bd31730a5fc0e833e110a3a71233af480eff/softplus_cpu_dispatch.h b/shared/package-files/45/451dff5484e862df4e58cf67de88bd31730a5fc0e833e110a3a71233af480eff/softplus_cpu_dispatch.h new file mode 100644 index 0000000000000000000000000000000000000000..d10ef583e6134628a5b69069c79c9c6a2c4401a5 --- /dev/null +++ b/shared/package-files/45/451dff5484e862df4e58cf67de88bd31730a5fc0e833e110a3a71233af480eff/softplus_cpu_dispatch.h @@ -0,0 +1,25 @@ +#pragma once +// @generated by torchgen/gen.py from DispatchKeyFunction.h + +// NB: The implementing C++ file is RegisterDispatchKey.cpp + +// The only #includes we need are for custom classes that have defaults in the C++ API +#include +#include +#include + +// Forward declarations of any types needed in the operator signatures. +// We can't directly include these classes because it will cause circular include dependencies. +// This file is included by TensorBody.h, which defines the Tensor class. +#include + +namespace at { + +namespace cpu { + +TORCH_API at::Tensor softplus(const at::Tensor & self, const at::Scalar & beta=1, const at::Scalar & threshold=20); +TORCH_API at::Tensor & softplus_out(at::Tensor & out, const at::Tensor & self, const at::Scalar & beta=1, const at::Scalar & threshold=20); +TORCH_API at::Tensor & softplus_outf(const at::Tensor & self, const at::Scalar & beta, const at::Scalar & threshold, at::Tensor & out); + +} // namespace cpu +} // namespace at diff --git a/shared/package-files/45/4521ecb84d279065bb0e9c325e14b28d7572c47c1c415460c23885ccb659a4a6/_fft_r2c_ops.h b/shared/package-files/45/4521ecb84d279065bb0e9c325e14b28d7572c47c1c415460c23885ccb659a4a6/_fft_r2c_ops.h new file mode 100644 index 0000000000000000000000000000000000000000..e8603350dd69505e4a40bd9214457a62f6d550ee --- /dev/null +++ b/shared/package-files/45/4521ecb84d279065bb0e9c325e14b28d7572c47c1c415460c23885ccb659a4a6/_fft_r2c_ops.h @@ -0,0 +1,39 @@ +#pragma once + +// @generated by torchgen/gen.py from Operator.h + +#include +#include + +// Forward declarations of any types needed in the operator signatures. +// We can't directly include these classes because it will cause circular include dependencies. +// This file is included by TensorBody.h, which defines the Tensor class. +#include + +namespace at { +namespace _ops { + + +struct TORCH_API _fft_r2c { + using schema = at::Tensor (const at::Tensor &, at::IntArrayRef, int64_t, bool); + using ptr_schema = schema*; + // See Note [static constexpr char* members for windows NVCC] + STATIC_CONSTEXPR_STR_INL_EXCEPT_WIN_CUDA(name, "aten::_fft_r2c") + STATIC_CONSTEXPR_STR_INL_EXCEPT_WIN_CUDA(overload_name, "") + STATIC_CONSTEXPR_STR_INL_EXCEPT_WIN_CUDA(schema_str, "_fft_r2c(Tensor self, int[] dim, int normalization, bool onesided) -> Tensor") + static at::Tensor call(const at::Tensor & self, at::IntArrayRef dim, int64_t normalization, bool onesided); + static at::Tensor redispatch(c10::DispatchKeySet dispatchKeySet, const at::Tensor & self, at::IntArrayRef dim, int64_t normalization, bool onesided); +}; + +struct TORCH_API _fft_r2c_out { + using schema = at::Tensor & (const at::Tensor &, at::IntArrayRef, int64_t, bool, at::Tensor &); + using ptr_schema = schema*; + // See Note [static constexpr char* members for windows NVCC] + STATIC_CONSTEXPR_STR_INL_EXCEPT_WIN_CUDA(name, "aten::_fft_r2c") + STATIC_CONSTEXPR_STR_INL_EXCEPT_WIN_CUDA(overload_name, "out") + STATIC_CONSTEXPR_STR_INL_EXCEPT_WIN_CUDA(schema_str, "_fft_r2c.out(Tensor self, int[] dim, int normalization, bool onesided, *, Tensor(a!) out) -> Tensor(a!)") + static at::Tensor & call(const at::Tensor & self, at::IntArrayRef dim, int64_t normalization, bool onesided, at::Tensor & out); + static at::Tensor & redispatch(c10::DispatchKeySet dispatchKeySet, const at::Tensor & self, at::IntArrayRef dim, int64_t normalization, bool onesided, at::Tensor & out); +}; + +}} // namespace at::_ops diff --git a/shared/package-files/45/452347d8d3b4c4afd8dfb75ba4c5b269630c8ef70c6bf34768a5c36b9238fed0/core.py b/shared/package-files/45/452347d8d3b4c4afd8dfb75ba4c5b269630c8ef70c6bf34768a5c36b9238fed0/core.py new file mode 100644 index 0000000000000000000000000000000000000000..e36c3c37a882492afbb71716b4d98a46208bfe55 --- /dev/null +++ b/shared/package-files/45/452347d8d3b4c4afd8dfb75ba4c5b269630c8ef70c6bf34768a5c36b9238fed0/core.py @@ -0,0 +1,237 @@ +""" +Core functions and attributes for the matplotlib style library: + +``use`` + Select style sheet to override the current matplotlib settings. +``context`` + Context manager to use a style sheet temporarily. +``available`` + List available style sheets. +``library`` + A dictionary of style names and matplotlib settings. +""" + +import contextlib +import importlib.resources +import logging +import os +from pathlib import Path +import warnings + +import matplotlib as mpl +from matplotlib import _api, _docstring, _rc_params_in_file, rcParamsDefault + +_log = logging.getLogger(__name__) + +__all__ = ['use', 'context', 'available', 'library', 'reload_library'] + + +BASE_LIBRARY_PATH = os.path.join(mpl.get_data_path(), 'stylelib') +# Users may want multiple library paths, so store a list of paths. +USER_LIBRARY_PATHS = [os.path.join(mpl.get_configdir(), 'stylelib')] +STYLE_EXTENSION = 'mplstyle' +# A list of rcParams that should not be applied from styles +STYLE_BLACKLIST = { + 'interactive', 'backend', 'webagg.port', 'webagg.address', + 'webagg.port_retries', 'webagg.open_in_browser', 'backend_fallback', + 'toolbar', 'timezone', 'figure.max_open_warning', + 'figure.raise_window', 'savefig.directory', 'tk.window_focus', + 'docstring.hardcopy', 'date.epoch'} + + +@_docstring.Substitution( + "\n".join(map("- {}".format, sorted(STYLE_BLACKLIST, key=str.lower))) +) +def use(style): + """ + Use Matplotlib style settings from a style specification. + + The style name of 'default' is reserved for reverting back to + the default style settings. + + .. note:: + + This updates the `.rcParams` with the settings from the style. + `.rcParams` not defined in the style are kept. + + Parameters + ---------- + style : str, dict, Path or list + + A style specification. Valid options are: + + str + - One of the style names in `.style.available` (a builtin style or + a style installed in the user library path). + + - A dotted name of the form "package.style_name"; in that case, + "package" should be an importable Python package name, e.g. at + ``/path/to/package/__init__.py``; the loaded style file is + ``/path/to/package/style_name.mplstyle``. (Style files in + subpackages are likewise supported.) + + - The path or URL to a style file, which gets loaded by + `.rc_params_from_file`. + + dict + A mapping of key/value pairs for `matplotlib.rcParams`. + + Path + The path to a style file, which gets loaded by + `.rc_params_from_file`. + + list + A list of style specifiers (str, Path or dict), which are applied + from first to last in the list. + + Notes + ----- + The following `.rcParams` are not related to style and will be ignored if + found in a style specification: + + %s + """ + if isinstance(style, (str, Path)) or hasattr(style, 'keys'): + # If name is a single str, Path or dict, make it a single element list. + styles = [style] + else: + styles = style + + style_alias = {'mpl20': 'default', 'mpl15': 'classic'} + + for style in styles: + if isinstance(style, str): + style = style_alias.get(style, style) + if style == "default": + # Deprecation warnings were already handled when creating + # rcParamsDefault, no need to reemit them here. + with _api.suppress_matplotlib_deprecation_warning(): + # don't trigger RcParams.__getitem__('backend') + style = {k: rcParamsDefault[k] for k in rcParamsDefault + if k not in STYLE_BLACKLIST} + elif style in library: + style = library[style] + elif "." in style: + pkg, _, name = style.rpartition(".") + try: + path = importlib.resources.files(pkg) / f"{name}.{STYLE_EXTENSION}" + style = _rc_params_in_file(path) + except (ModuleNotFoundError, OSError, TypeError) as exc: + # There is an ambiguity whether a dotted name refers to a + # package.style_name or to a dotted file path. Currently, + # we silently try the first form and then the second one; + # in the future, we may consider forcing file paths to + # either use Path objects or be prepended with "./" and use + # the slash as marker for file paths. + pass + if isinstance(style, (str, Path)): + try: + style = _rc_params_in_file(style) + except OSError as err: + raise OSError( + f"{style!r} is not a valid package style, path of style " + f"file, URL of style file, or library style name (library " + f"styles are listed in `style.available`)") from err + filtered = {} + for k in style: # don't trigger RcParams.__getitem__('backend') + if k in STYLE_BLACKLIST: + _api.warn_external( + f"Style includes a parameter, {k!r}, that is not " + f"related to style. Ignoring this parameter.") + else: + filtered[k] = style[k] + mpl.rcParams.update(filtered) + + +@contextlib.contextmanager +def context(style, after_reset=False): + """ + Context manager for using style settings temporarily. + + Parameters + ---------- + style : str, dict, Path or list + A style specification. Valid options are: + + str + - One of the style names in `.style.available` (a builtin style or + a style installed in the user library path). + + - A dotted name of the form "package.style_name"; in that case, + "package" should be an importable Python package name, e.g. at + ``/path/to/package/__init__.py``; the loaded style file is + ``/path/to/package/style_name.mplstyle``. (Style files in + subpackages are likewise supported.) + + - The path or URL to a style file, which gets loaded by + `.rc_params_from_file`. + dict + A mapping of key/value pairs for `matplotlib.rcParams`. + + Path + The path to a style file, which gets loaded by + `.rc_params_from_file`. + + list + A list of style specifiers (str, Path or dict), which are applied + from first to last in the list. + + after_reset : bool + If True, apply style after resetting settings to their defaults; + otherwise, apply style on top of the current settings. + """ + with mpl.rc_context(): + if after_reset: + mpl.rcdefaults() + use(style) + yield + + +def update_user_library(library): + """Update style library with user-defined rc files.""" + for stylelib_path in map(os.path.expanduser, USER_LIBRARY_PATHS): + styles = read_style_directory(stylelib_path) + update_nested_dict(library, styles) + return library + + +def read_style_directory(style_dir): + """Return dictionary of styles defined in *style_dir*.""" + styles = dict() + for path in Path(style_dir).glob(f"*.{STYLE_EXTENSION}"): + with warnings.catch_warnings(record=True) as warns: + styles[path.stem] = _rc_params_in_file(path) + for w in warns: + _log.warning('In %s: %s', path, w.message) + return styles + + +def update_nested_dict(main_dict, new_dict): + """ + Update nested dict (only level of nesting) with new values. + + Unlike `dict.update`, this assumes that the values of the parent dict are + dicts (or dict-like), so you shouldn't replace the nested dict if it + already exists. Instead you should update the sub-dict. + """ + # update named styles specified by user + for name, rc_dict in new_dict.items(): + main_dict.setdefault(name, {}).update(rc_dict) + return main_dict + + +# Load style library +# ================== +_base_library = read_style_directory(BASE_LIBRARY_PATH) +library = {} +available = [] + + +def reload_library(): + """Reload the style library.""" + library.clear() + library.update(update_user_library(_base_library)) + available[:] = sorted(library.keys()) + + +reload_library() diff --git a/shared/package-files/45/452c4ac70b0a6da6a4d9be7453988526c9e430640348400304df1fa9a993646c/utils.pyi b/shared/package-files/45/452c4ac70b0a6da6a4d9be7453988526c9e430640348400304df1fa9a993646c/utils.pyi new file mode 100644 index 0000000000000000000000000000000000000000..90940f08ac4588c273a8ae92d4a7c7d8b25db780 --- /dev/null +++ b/shared/package-files/45/452c4ac70b0a6da6a4d9be7453988526c9e430640348400304df1fa9a993646c/utils.pyi @@ -0,0 +1,8 @@ +from collections import OrderedDict +from typing import Any, Mapping, Text, overload + +def force_unicode(text: Text) -> Text: ... +@overload +def alphabetize_attributes(attrs: None) -> None: ... +@overload +def alphabetize_attributes(attrs: Mapping[Any, Text]) -> OrderedDict[Any, Text]: ... diff --git a/shared/package-files/45/452d5a097a6c260fccb4e7b229b4eddca5563f5cac30c515bc89cb73bc615b72/Iran b/shared/package-files/45/452d5a097a6c260fccb4e7b229b4eddca5563f5cac30c515bc89cb73bc615b72/Iran new file mode 100644 index 0000000000000000000000000000000000000000..2a46cf7c133770db40a3efe96b76af43a0ba602d Binary files /dev/null and b/shared/package-files/45/452d5a097a6c260fccb4e7b229b4eddca5563f5cac30c515bc89cb73bc615b72/Iran differ diff --git a/shared/package-files/45/452d5a097a6c260fccb4e7b229b4eddca5563f5cac30c515bc89cb73bc615b72/Tehran b/shared/package-files/45/452d5a097a6c260fccb4e7b229b4eddca5563f5cac30c515bc89cb73bc615b72/Tehran new file mode 100644 index 0000000000000000000000000000000000000000..2a46cf7c133770db40a3efe96b76af43a0ba602d Binary files /dev/null and b/shared/package-files/45/452d5a097a6c260fccb4e7b229b4eddca5563f5cac30c515bc89cb73bc615b72/Tehran differ diff --git a/shared/package-files/45/452ec666a5024ffbc4149a32531e206653cef0634514d15689dc65fb02f246fd/einsumfunc.pyi b/shared/package-files/45/452ec666a5024ffbc4149a32531e206653cef0634514d15689dc65fb02f246fd/einsumfunc.pyi new file mode 100644 index 0000000000000000000000000000000000000000..2d1f3741851ee0533dcc2b1171a6bf7c98f76c93 --- /dev/null +++ b/shared/package-files/45/452ec666a5024ffbc4149a32531e206653cef0634514d15689dc65fb02f246fd/einsumfunc.pyi @@ -0,0 +1,12 @@ +from typing import Any +import numpy as np + +AR_i: np.ndarray[Any, np.dtype[np.int64]] +AR_f: np.ndarray[Any, np.dtype[np.float64]] +AR_m: np.ndarray[Any, np.dtype[np.timedelta64]] +AR_U: np.ndarray[Any, np.dtype[np.str_]] + +np.einsum("i,i->i", AR_i, AR_m) # E: incompatible type +np.einsum("i,i->i", AR_f, AR_f, dtype=np.int32) # E: incompatible type +np.einsum("i,i->i", AR_i, AR_i, out=AR_U) # E: Value of type variable "_ArrayType" of "einsum" cannot be +np.einsum("i,i->i", AR_i, AR_i, out=AR_U, casting="unsafe") # E: No overload variant diff --git a/shared/package-files/45/452f63f43cbf28e3d9729dd2bbab6a1b109239f1cb50a2067b28587839392a25/test_read.py b/shared/package-files/45/452f63f43cbf28e3d9729dd2bbab6a1b109239f1cb50a2067b28587839392a25/test_read.py new file mode 100644 index 0000000000000000000000000000000000000000..5bec673ad3c703ac1bec5be663d46557ff785c82 --- /dev/null +++ b/shared/package-files/45/452f63f43cbf28e3d9729dd2bbab6a1b109239f1cb50a2067b28587839392a25/test_read.py @@ -0,0 +1,417 @@ +from contextlib import closing +from pathlib import Path +import re + +import numpy as np +import pytest + +from pandas._libs.tslibs import Timestamp +from pandas.compat import is_platform_windows + +import pandas as pd +from pandas import ( + DataFrame, + HDFStore, + Index, + Series, + _testing as tm, + date_range, + read_hdf, +) +from pandas.tests.io.pytables.common import ( + _maybe_remove, + ensure_clean_store, +) +from pandas.util import _test_decorators as td + +from pandas.io.pytables import TableIterator + +pytestmark = [pytest.mark.single_cpu] + + +def test_read_missing_key_close_store(tmp_path, setup_path): + # GH 25766 + path = tmp_path / setup_path + df = DataFrame({"a": range(2), "b": range(2)}) + df.to_hdf(path, key="k1") + + with pytest.raises(KeyError, match="'No object named k2 in the file'"): + read_hdf(path, "k2") + + # smoke test to test that file is properly closed after + # read with KeyError before another write + df.to_hdf(path, key="k2") + + +def test_read_index_error_close_store(tmp_path, setup_path): + # GH 25766 + path = tmp_path / setup_path + df = DataFrame({"A": [], "B": []}, index=[]) + df.to_hdf(path, key="k1") + + with pytest.raises(IndexError, match=r"list index out of range"): + read_hdf(path, "k1", stop=0) + + # smoke test to test that file is properly closed after + # read with IndexError before another write + df.to_hdf(path, key="k1") + + +def test_read_missing_key_opened_store(tmp_path, setup_path): + # GH 28699 + path = tmp_path / setup_path + df = DataFrame({"a": range(2), "b": range(2)}) + df.to_hdf(path, key="k1") + + with HDFStore(path, "r") as store: + with pytest.raises(KeyError, match="'No object named k2 in the file'"): + read_hdf(store, "k2") + + # Test that the file is still open after a KeyError and that we can + # still read from it. + read_hdf(store, "k1") + + +def test_read_column(setup_path): + df = DataFrame( + np.random.default_rng(2).standard_normal((10, 4)), + columns=Index(list("ABCD")), + index=date_range("2000-01-01", periods=10, freq="B"), + ) + + with ensure_clean_store(setup_path) as store: + _maybe_remove(store, "df") + + # GH 17912 + # HDFStore.select_column should raise a KeyError + # exception if the key is not a valid store + with pytest.raises(KeyError, match="No object named df in the file"): + store.select_column("df", "index") + + store.append("df", df) + # error + with pytest.raises( + KeyError, match=re.escape("'column [foo] not found in the table'") + ): + store.select_column("df", "foo") + + msg = re.escape("select_column() got an unexpected keyword argument 'where'") + with pytest.raises(TypeError, match=msg): + store.select_column("df", "index", where=["index>5"]) + + # valid + result = store.select_column("df", "index") + tm.assert_almost_equal(result.values, Series(df.index).values) + assert isinstance(result, Series) + + # not a data indexable column + msg = re.escape( + "column [values_block_0] can not be extracted individually; " + "it is not data indexable" + ) + with pytest.raises(ValueError, match=msg): + store.select_column("df", "values_block_0") + + # a data column + df2 = df.copy() + df2["string"] = "foo" + store.append("df2", df2, data_columns=["string"]) + result = store.select_column("df2", "string") + tm.assert_almost_equal(result.values, df2["string"].values) + + # a data column with NaNs, result excludes the NaNs + df3 = df.copy() + df3["string"] = "foo" + df3.loc[df3.index[4:6], "string"] = np.nan + store.append("df3", df3, data_columns=["string"]) + result = store.select_column("df3", "string") + tm.assert_almost_equal(result.values, df3["string"].values) + + # start/stop + result = store.select_column("df3", "string", start=2) + tm.assert_almost_equal(result.values, df3["string"].values[2:]) + + result = store.select_column("df3", "string", start=-2) + tm.assert_almost_equal(result.values, df3["string"].values[-2:]) + + result = store.select_column("df3", "string", stop=2) + tm.assert_almost_equal(result.values, df3["string"].values[:2]) + + result = store.select_column("df3", "string", stop=-2) + tm.assert_almost_equal(result.values, df3["string"].values[:-2]) + + result = store.select_column("df3", "string", start=2, stop=-2) + tm.assert_almost_equal(result.values, df3["string"].values[2:-2]) + + result = store.select_column("df3", "string", start=-2, stop=2) + tm.assert_almost_equal(result.values, df3["string"].values[-2:2]) + + # GH 10392 - make sure column name is preserved + df4 = DataFrame({"A": np.random.default_rng(2).standard_normal(10), "B": "foo"}) + store.append("df4", df4, data_columns=True) + expected = df4["B"] + result = store.select_column("df4", "B") + tm.assert_series_equal(result, expected) + + +def test_pytables_native_read(datapath): + with ensure_clean_store( + datapath("io", "data", "legacy_hdf/pytables_native.h5"), mode="r" + ) as store: + d2 = store["detector/readout"] + assert isinstance(d2, DataFrame) + + +@pytest.mark.skipif(is_platform_windows(), reason="native2 read fails oddly on windows") +def test_pytables_native2_read(datapath): + with ensure_clean_store( + datapath("io", "data", "legacy_hdf", "pytables_native2.h5"), mode="r" + ) as store: + str(store) + d1 = store["detector"] + assert isinstance(d1, DataFrame) + + +def test_legacy_table_fixed_format_read_py2(datapath): + # GH 24510 + # legacy table with fixed format written in Python 2 + with ensure_clean_store( + datapath("io", "data", "legacy_hdf", "legacy_table_fixed_py2.h5"), mode="r" + ) as store: + result = store.select("df") + expected = DataFrame( + [[1, 2, 3, "D"]], + columns=["A", "B", "C", "D"], + index=Index(["ABC"], name="INDEX_NAME"), + ) + tm.assert_frame_equal(expected, result) + + +def test_legacy_table_fixed_format_read_datetime_py2(datapath): + # GH 31750 + # legacy table with fixed format and datetime64 column written in Python 2 + expected = DataFrame( + [[Timestamp("2020-02-06T18:00")]], + columns=["A"], + index=Index(["date"]), + dtype="M8[ns]", + ) + with ensure_clean_store( + datapath("io", "data", "legacy_hdf", "legacy_table_fixed_datetime_py2.h5"), + mode="r", + ) as store: + result = store.select("df") + tm.assert_frame_equal(expected, result) + + +def test_legacy_table_read_py2(datapath): + # issue: 24925 + # legacy table written in Python 2 + with ensure_clean_store( + datapath("io", "data", "legacy_hdf", "legacy_table_py2.h5"), mode="r" + ) as store: + result = store.select("table") + + expected = DataFrame({"a": ["a", "b"], "b": [2, 3]}) + tm.assert_frame_equal(expected, result) + + +def test_read_hdf_open_store(tmp_path, setup_path, using_infer_string): + # GH10330 + # No check for non-string path_or-buf, and no test of open store + df = DataFrame( + np.random.default_rng(2).random((4, 5)), + index=list("abcd"), + columns=list("ABCDE"), + ) + df.index.name = "letters" + df = df.set_index(keys="E", append=True) + + path = tmp_path / setup_path + if using_infer_string: + # TODO(infer_string) make this work for string dtype + msg = "Saving a MultiIndex with an extension dtype is not supported." + with pytest.raises(NotImplementedError, match=msg): + df.to_hdf(path, key="df", mode="w") + return + df.to_hdf(path, key="df", mode="w") + direct = read_hdf(path, "df") + with HDFStore(path, mode="r") as store: + indirect = read_hdf(store, "df") + tm.assert_frame_equal(direct, indirect) + assert store.is_open + + +def test_read_hdf_index_not_view(tmp_path, setup_path): + # GH 37441 + # Ensure that the index of the DataFrame is not a view + # into the original recarray that pytables reads in + df = DataFrame( + np.random.default_rng(2).random((4, 5)), + index=[0, 1, 2, 3], + columns=list("ABCDE"), + ) + + path = tmp_path / setup_path + df.to_hdf(path, key="df", mode="w", format="table") + + df2 = read_hdf(path, "df") + assert df2.index._data.base is None + tm.assert_frame_equal(df, df2) + + +def test_read_hdf_iterator(tmp_path, setup_path): + df = DataFrame( + np.random.default_rng(2).random((4, 5)), + index=list("abcd"), + columns=list("ABCDE"), + ) + df.index.name = "letters" + df = df.set_index(keys="E", append=True) + + path = tmp_path / setup_path + df.to_hdf(path, key="df", mode="w", format="t") + direct = read_hdf(path, "df") + iterator = read_hdf(path, "df", iterator=True) + with closing(iterator.store): + assert isinstance(iterator, TableIterator) + indirect = next(iterator.__iter__()) + tm.assert_frame_equal(direct, indirect) + + +def test_read_nokey(tmp_path, setup_path): + # GH10443 + df = DataFrame( + np.random.default_rng(2).random((4, 5)), + index=list("abcd"), + columns=list("ABCDE"), + ) + + # Categorical dtype not supported for "fixed" format. So no need + # to test with that dtype in the dataframe here. + path = tmp_path / setup_path + df.to_hdf(path, key="df", mode="a") + reread = read_hdf(path) + tm.assert_frame_equal(df, reread) + df.to_hdf(path, key="df2", mode="a") + + msg = "key must be provided when HDF5 file contains multiple datasets." + with pytest.raises(ValueError, match=msg): + read_hdf(path) + + +def test_read_nokey_table(tmp_path, setup_path): + # GH13231 + df = DataFrame({"i": range(5), "c": Series(list("abacd"), dtype="category")}) + + path = tmp_path / setup_path + df.to_hdf(path, key="df", mode="a", format="table") + reread = read_hdf(path) + tm.assert_frame_equal(df, reread) + df.to_hdf(path, key="df2", mode="a", format="table") + + msg = "key must be provided when HDF5 file contains multiple datasets." + with pytest.raises(ValueError, match=msg): + read_hdf(path) + + +def test_read_nokey_empty(tmp_path, setup_path): + path = tmp_path / setup_path + store = HDFStore(path) + store.close() + msg = re.escape( + "Dataset(s) incompatible with Pandas data types, not table, or no " + "datasets found in HDF5 file." + ) + with pytest.raises(ValueError, match=msg): + read_hdf(path) + + +def test_read_from_pathlib_path(tmp_path, setup_path): + # GH11773 + expected = DataFrame( + np.random.default_rng(2).random((4, 5)), + index=list("abcd"), + columns=list("ABCDE"), + ) + filename = tmp_path / setup_path + path_obj = Path(filename) + + expected.to_hdf(path_obj, key="df", mode="a") + actual = read_hdf(path_obj, key="df") + + tm.assert_frame_equal(expected, actual) + + +@td.skip_if_no("py.path") +def test_read_from_py_localpath(tmp_path, setup_path): + # GH11773 + from py.path import local as LocalPath + + expected = DataFrame( + np.random.default_rng(2).random((4, 5)), + index=list("abcd"), + columns=list("ABCDE"), + ) + filename = tmp_path / setup_path + path_obj = LocalPath(filename) + + expected.to_hdf(path_obj, key="df", mode="a") + actual = read_hdf(path_obj, key="df") + + tm.assert_frame_equal(expected, actual) + + +@pytest.mark.parametrize("format", ["fixed", "table"]) +def test_read_hdf_series_mode_r(tmp_path, format, setup_path): + # GH 16583 + # Tests that reading a Series saved to an HDF file + # still works if a mode='r' argument is supplied + series = Series(range(10), dtype=np.float64) + path = tmp_path / setup_path + series.to_hdf(path, key="data", format=format) + result = read_hdf(path, key="data", mode="r") + tm.assert_series_equal(result, series) + + +@pytest.mark.filterwarnings(r"ignore:Period with BDay freq is deprecated:FutureWarning") +@pytest.mark.filterwarnings(r"ignore:PeriodDtype\[B\] is deprecated:FutureWarning") +def test_read_py2_hdf_file_in_py3(datapath): + # GH 16781 + + # tests reading a PeriodIndex DataFrame written in Python2 in Python3 + + # the file was generated in Python 2.7 like so: + # + # df = DataFrame([1.,2,3], index=pd.PeriodIndex( + # ['2015-01-01', '2015-01-02', '2015-01-05'], freq='B')) + # df.to_hdf('periodindex_0.20.1_x86_64_darwin_2.7.13.h5', 'p') + + expected = DataFrame( + [1.0, 2, 3], + index=pd.PeriodIndex(["2015-01-01", "2015-01-02", "2015-01-05"], freq="B"), + ) + + with ensure_clean_store( + datapath( + "io", "data", "legacy_hdf", "periodindex_0.20.1_x86_64_darwin_2.7.13.h5" + ), + mode="r", + ) as store: + result = store["p"] + tm.assert_frame_equal(result, expected) + + +def test_read_infer_string(tmp_path, setup_path): + # GH#54431 + df = DataFrame({"a": ["a", "b", None]}) + path = tmp_path / setup_path + df.to_hdf(path, key="data", format="table") + with pd.option_context("future.infer_string", True): + result = read_hdf(path, key="data", mode="r") + expected = DataFrame( + {"a": ["a", "b", None]}, + dtype=pd.StringDtype(na_value=np.nan), + columns=Index(["a"], dtype=pd.StringDtype(na_value=np.nan)), + ) + tm.assert_frame_equal(result, expected) diff --git a/shared/package-files/45/45315e6caa1c4875313ba1a35c3a867a774d0ee97235f8c7551d22ebf0fdeabb/ATen_pch.h b/shared/package-files/45/45315e6caa1c4875313ba1a35c3a867a774d0ee97235f8c7551d22ebf0fdeabb/ATen_pch.h new file mode 100644 index 0000000000000000000000000000000000000000..57ca22bf4377a7da6e37de263e48bc2a0ac8cace --- /dev/null +++ b/shared/package-files/45/45315e6caa1c4875313ba1a35c3a867a774d0ee97235f8c7551d22ebf0fdeabb/ATen_pch.h @@ -0,0 +1,165 @@ +// This global header must not depend on native_functions.yaml or +// incremental builds will be next to useless +#pragma push_macro("TORCH_ASSERT_NO_OPERATORS") +#define TORCH_ASSERT_NO_OPERATORS + +// This macro doesn't work if defined after the first time inttypes.h +// is included, so won't work anywhere if not defined here. +#ifndef __STDC_FORMAT_MACROS +#define __STDC_FORMAT_MACROS +#endif +#include + +// This list of headers was generated using a script that finds +// high-impact headers and then manually tweaked to remove OS specific +// or duplicate headers (e.g. and ) and to remove +// "impl" headers (e.g BFloat16-inl.h or complex_math.h in c10). + +// To generate the initial list: +// 1. Build pytorch from scratch with all build caching disabled +// 2. Generate a build trace with ninjatracing (https://github.com/nico/ninjatracing) +// $ ninjatracing /path/to/pytorch/build/.ninja_log > trace_all.json +// 3. Run pch_gen.py from https://github.com/peterbell10/build_analysis/ +// $ python pch_gen.py --threshold .80 --target torch_cpu --build_dir /path/to/pytorch/build --trace trace_all.json +// Where the threshold can be tweaked until c10 and some of ATen +// core are included but TORCH_ASSERT_NO_OPERATORS still passes. + +#include +#include +#include +#include +#include +#include + +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include + +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include + +#include +#include + +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include + +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include + +#pragma pop_macro("TORCH_ASSERT_NO_OPERATORS") diff --git a/shared/package-files/45/453390ecb6ac7b430389e133a42181aca204fc5d0736b244df2cbc18f4b3bf50/_upsample_bicubic2d_aa_cuda_dispatch.h b/shared/package-files/45/453390ecb6ac7b430389e133a42181aca204fc5d0736b244df2cbc18f4b3bf50/_upsample_bicubic2d_aa_cuda_dispatch.h new file mode 100644 index 0000000000000000000000000000000000000000..d7b0310b745941fa1a5c73c8ea1d2c6a839036ff --- /dev/null +++ b/shared/package-files/45/453390ecb6ac7b430389e133a42181aca204fc5d0736b244df2cbc18f4b3bf50/_upsample_bicubic2d_aa_cuda_dispatch.h @@ -0,0 +1,28 @@ +#pragma once +// @generated by torchgen/gen.py from DispatchKeyFunction.h + +// NB: The implementing C++ file is RegisterDispatchKey.cpp + +// The only #includes we need are for custom classes that have defaults in the C++ API +#include +#include +#include + +// Forward declarations of any types needed in the operator signatures. +// We can't directly include these classes because it will cause circular include dependencies. +// This file is included by TensorBody.h, which defines the Tensor class. +#include + +namespace at { + +namespace cuda { + +TORCH_API at::Tensor _upsample_bicubic2d_aa(const at::Tensor & self, at::IntArrayRef output_size, bool align_corners, c10::optional scales_h=c10::nullopt, c10::optional scales_w=c10::nullopt); +TORCH_API at::Tensor _upsample_bicubic2d_aa_symint(const at::Tensor & self, c10::SymIntArrayRef output_size, bool align_corners, c10::optional scales_h=c10::nullopt, c10::optional scales_w=c10::nullopt); +TORCH_API at::Tensor & _upsample_bicubic2d_aa_out(at::Tensor & out, const at::Tensor & self, at::IntArrayRef output_size, bool align_corners, c10::optional scales_h=c10::nullopt, c10::optional scales_w=c10::nullopt); +TORCH_API at::Tensor & _upsample_bicubic2d_aa_outf(const at::Tensor & self, at::IntArrayRef output_size, bool align_corners, c10::optional scales_h, c10::optional scales_w, at::Tensor & out); +TORCH_API at::Tensor & _upsample_bicubic2d_aa_symint_out(at::Tensor & out, const at::Tensor & self, c10::SymIntArrayRef output_size, bool align_corners, c10::optional scales_h=c10::nullopt, c10::optional scales_w=c10::nullopt); +TORCH_API at::Tensor & _upsample_bicubic2d_aa_symint_outf(const at::Tensor & self, c10::SymIntArrayRef output_size, bool align_corners, c10::optional scales_h, c10::optional scales_w, at::Tensor & out); + +} // namespace cuda +} // namespace at diff --git a/shared/package-files/45/4533e5b49a12f6cdeb228eac1c3a5fa1474ad6ac11da80c4357e9032010c909d/fake_quantize.py b/shared/package-files/45/4533e5b49a12f6cdeb228eac1c3a5fa1474ad6ac11da80c4357e9032010c909d/fake_quantize.py new file mode 100644 index 0000000000000000000000000000000000000000..e0a169956fd39100fcff0c89b082f171192de838 --- /dev/null +++ b/shared/package-files/45/4533e5b49a12f6cdeb228eac1c3a5fa1474ad6ac11da80c4357e9032010c909d/fake_quantize.py @@ -0,0 +1,546 @@ +"""Implements modules used to perform fake quantization.""" + +import torch +from torch.nn import Module +from torch.ao.quantization.observer import ( + MovingAverageMinMaxObserver, + HistogramObserver, + MovingAveragePerChannelMinMaxObserver, + FixedQParamsObserver, + default_fixed_qparams_range_0to1_observer, + default_fixed_qparams_range_neg1to1_observer, + _with_args, +) +import re +from abc import ABC, abstractmethod +from typing import Any, Tuple + +__all__ = [ + "FakeQuantizeBase", + "FakeQuantize", + "FixedQParamsFakeQuantize", + "FusedMovingAvgObsFakeQuantize", + "disable_fake_quant", + "disable_observer", + "enable_fake_quant", + "enable_observer", + "default_fake_quant", + "default_weight_fake_quant", + "default_dynamic_fake_quant", + "default_fixed_qparams_range_neg1to1_fake_quant", + "default_fixed_qparams_range_0to1_fake_quant", + "default_symmetric_fixed_qparams_fake_quant", + "default_affine_fixed_qparams_fake_quant", + "default_per_channel_weight_fake_quant", + "default_embedding_fake_quant", + "default_embedding_fake_quant_4bit", + "default_histogram_fake_quant", + "default_fused_act_fake_quant", + "default_fused_wt_fake_quant", + "default_fused_per_channel_wt_fake_quant", + "fused_wt_fake_quant_range_neg_127_to_127", + "fused_per_channel_wt_fake_quant_range_neg_127_to_127", +] + +def _is_per_channel(qscheme: 'torch.qscheme') -> bool: + return qscheme in [torch.per_channel_symmetric, torch.per_channel_affine, torch.per_channel_affine_float_qparams] + +def _is_per_tensor(qscheme: 'torch.qscheme') -> bool: + return qscheme in [torch.per_tensor_symmetric, torch.per_tensor_affine] + +def _is_symmetric_quant(qscheme: 'torch.qscheme') -> bool: + return qscheme in [torch.per_tensor_symmetric, torch.per_channel_symmetric] + +def _is_float_qparams(qscheme: 'torch.qscheme') -> bool: + return qscheme in [torch.per_channel_affine_float_qparams, ] + +class FakeQuantizeBase(ABC, Module): + r"""Base fake quantize module. + + Base fake quantize module + Any fake quantize implementation should derive from this class. + + Concrete fake quantize module should follow the same API. In forward, they will update + the statistics of the observed Tensor and fake quantize the input. They should also provide a + `calculate_qparams` function that computes the quantization parameters given + the collected statistics. + + """ + + fake_quant_enabled: torch.Tensor + observer_enabled: torch.Tensor + + def __init__(self): + """Set fake_quant_enabled and observer_enabled.""" + super().__init__() + # fake_quant_enabled and observer_enabled are buffers to support their + # replication in DDP. Data type is uint8 because NCCL does not support + # bool tensors. + self.register_buffer('fake_quant_enabled', torch.tensor([1], dtype=torch.uint8)) + self.register_buffer('observer_enabled', torch.tensor([1], dtype=torch.uint8)) + + @abstractmethod + def forward(self, x): + pass + + @abstractmethod + def calculate_qparams(self, **kwargs): + pass + + @torch.jit.export + def enable_fake_quant(self, enabled: bool = True) -> None: + self.fake_quant_enabled[0] = 1 if enabled else 0 + + @torch.jit.export + def disable_fake_quant(self): + self.enable_fake_quant(False) + + @torch.jit.export + def enable_observer(self, enabled: bool = True) -> None: + self.observer_enabled[0] = 1 if enabled else 0 + + @torch.jit.export + def disable_observer(self): + self.enable_observer(False) + + @classmethod + def with_args(cls, **kwargs): + fake_quant_constructor = _with_args(cls, **kwargs) + # need to assign the correct module to fake_quantize + # constructors to satisfy public v private requirements + fake_quant_constructor.__module__ = "torch.ao.quantization.fake_quantize" + return fake_quant_constructor + +class FakeQuantize(FakeQuantizeBase): + r"""Simulate the quantize and dequantize operations in training time. + + The output of this module is given by:: + + x_out = ( + clamp(round(x/scale + zero_point), quant_min, quant_max) - zero_point + ) * scale + + * :attr:`is_dynamic` indicates whether the fake quantie is a placeholder for dynamic quantization + operators (choose_qparams -> q -> dq) or static quantization operators (q -> dq) + + * :attr:`scale` defines the scale factor used for quantization. + + * :attr:`zero_point` specifies the quantized value to which 0 in floating point maps to + + * :attr:`fake_quant_enabled` controls the application of fake quantization on tensors, note that + statistics can still be updated. + + * :attr:`observer_enabled` controls statistics collection on tensors + + * :attr:`dtype` specifies the quantized dtype that is being emulated with fake-quantization, + allowable values are torch.qint8 and torch.quint8. + + Args: + + observer (module): Module for observing statistics on input tensors and calculating scale + and zero-point. + observer_kwargs (optional): Arguments for the observer module + + Attributes: + activation_post_process (Module): User provided module that collects statistics on the input tensor and + provides a method to calculate scale and zero-point. + + """ + + scale: torch.Tensor + zero_point: torch.Tensor + + def __init__(self, observer=MovingAverageMinMaxObserver, quant_min=None, quant_max=None, is_dynamic=False, **observer_kwargs): + super().__init__() + # Populate quant_min/quant_max to observer_kwargs if valid + if quant_min is not None and quant_max is not None: + assert quant_min <= quant_max, \ + 'quant_min must be less than or equal to quant_max' + dtype = observer_kwargs.get("dtype", torch.quint8) + if hasattr(observer, "p"): + # In case observer is _PartialWrapper, dtype can be stored in + # observer.p.keywords["dtype"] + dtype = getattr(getattr(observer, "p", {}), "keywords", {}).get( + "dtype", dtype + ) + assert torch.iinfo(dtype).min <= quant_min, 'quant_min out of bound' + assert quant_max <= torch.iinfo(dtype).max, 'quant_max out of bound' + observer_kwargs.update({"quant_min": quant_min, "quant_max": quant_max}) + observer_kwargs["is_dynamic"] = is_dynamic + self.activation_post_process = observer(**observer_kwargs) + # TODO: keeping self.quant_min/max for BC; remove after a couple releases + # Users should use self.activation_post_process.quant_min + self.quant_min = self.activation_post_process.quant_min + self.quant_max = self.activation_post_process.quant_max + self.is_dynamic = self.activation_post_process.is_dynamic + if _is_float_qparams(self.activation_post_process.qscheme): + zero_point_dtype = torch.float + else: + zero_point_dtype = torch.int + self.register_buffer('scale', torch.tensor([1.0], dtype=torch.float)) + self.register_buffer('zero_point', torch.tensor([0], dtype=zero_point_dtype)) + self.dtype = self.activation_post_process.dtype + self.qscheme = self.activation_post_process.qscheme + self.ch_axis = self.activation_post_process.ch_axis \ + if hasattr(self.activation_post_process, 'ch_axis') else -1 + assert _is_per_channel(self.qscheme) or \ + _is_per_tensor(self.qscheme), \ + 'Only per channel and per tensor quantization are supported in fake quantize' + \ + ' got qscheme: ' + str(self.qscheme) + self.is_per_channel = _is_per_channel(self.qscheme) + + @torch.jit.export + def calculate_qparams(self): + return self.activation_post_process.calculate_qparams() + + def forward(self, X): + if self.observer_enabled[0] == 1: + self.activation_post_process(X.detach()) + _scale, _zero_point = self.calculate_qparams() + _scale, _zero_point = _scale.to(self.scale.device), _zero_point.to(self.zero_point.device) + if self.scale.shape != _scale.shape: + self.scale.resize_(_scale.shape) + self.zero_point.resize_(_zero_point.shape) + self.scale.copy_(_scale) + self.zero_point.copy_(_zero_point) + + if self.fake_quant_enabled[0] == 1: + if self.is_per_channel: + X = torch.fake_quantize_per_channel_affine( + X, self.scale, self.zero_point, + self.ch_axis, self.activation_post_process.quant_min, self.activation_post_process.quant_max) + else: + X = torch.fake_quantize_per_tensor_affine( + X, self.scale, self.zero_point, + self.activation_post_process.quant_min, self.activation_post_process.quant_max) + return X + + @torch.jit.export + def extra_repr(self): + return 'fake_quant_enabled={}, observer_enabled={}, ' \ + 'quant_min={}, quant_max={}, dtype={}, qscheme={}, ch_axis={}, ' \ + 'scale={}, zero_point={}'.format( + self.fake_quant_enabled, self.observer_enabled, + self.activation_post_process.quant_min, self.activation_post_process.quant_max, + self.dtype, self.qscheme, self.ch_axis, self.scale, self.zero_point) + + def _save_to_state_dict(self, destination, prefix, keep_vars): + # We cannot currently register scalar values as buffers, so need to manually + # specify serialization here. + super()._save_to_state_dict(destination, prefix, keep_vars) + destination[prefix + 'scale'] = self.scale + destination[prefix + 'zero_point'] = self.zero_point + + def _load_from_state_dict(self, state_dict, prefix, local_metadata, strict, + missing_keys, unexpected_keys, error_msgs): + # Removing this function throws an error that the size of the loaded tensor does not match the original size + # i.e., These buffers start out with numel 0 and become numel 1 once they have their first forward pass. + local_state = ['scale', 'zero_point'] + for name in local_state: + key = prefix + name + if key in state_dict: + val = state_dict[key] + # Custom handling to allow loading scale and zero_point + # of size N into uninitialized buffers of size 0. The + # buffers are resized here, and the values are copied in + # the default state_dict loading code of the parent. + if name == 'scale': + self.scale.resize_(val.shape) + else: + assert name == 'zero_point' + self.zero_point.resize_(val.shape) + # For torchscript module we need to update the attributes here since we do not + # call the `_load_from_state_dict` function defined module.py + if torch.jit.is_scripting(): + if name == 'scale': + self.scale.copy_(val) + else: + assert name == 'zero_point' + self.zero_point.copy_(val) + elif strict: + missing_keys.append(key) + super()._load_from_state_dict(state_dict, prefix, local_metadata, strict, + missing_keys, unexpected_keys, error_msgs) + + +class FixedQParamsFakeQuantize(FakeQuantize): + """Simulate quantize and dequantize in training time. + + Simulate quantize and dequantize with fixed quantization + parameters in training time. Only per tensor quantization + is supported. + """ + + # TODO: rename observer to observer_ctr + def __init__(self, observer): + super().__init__(observer=observer) + assert type(self.activation_post_process) == FixedQParamsObserver, \ + f"{self.__class__.__name__}'s observer must be a {FixedQParamsObserver.__name__}" + self._observer_ctr = observer + self.scale = self.activation_post_process.scale + self.zero_point = self.activation_post_process.zero_point + assert _is_per_tensor(self.qscheme), 'Only per tensor quantization is supported' + \ + ' FixedQParamsFakeQuantize module, got qscheme:' + str(self.qscheme) + + @torch.jit.export + def calculate_qparams(self): + return self.scale, self.zero_point + + @torch.jit.export + def extra_repr(self): + """Define a string representation of the object's attributes.""" + return 'fake_quant_enabled={}, observer_enabled={}, scale={}, zero_point={}, ' \ + 'dtype={}, quant_min={}, quant_max={}, qscheme={}'.format( + self.fake_quant_enabled, self.observer_enabled, + self.scale, self.zero_point, self.dtype, + self.activation_post_process.quant_min, self.activation_post_process.quant_max, self.qscheme) + + +class FusedMovingAvgObsFakeQuantize(FakeQuantize): + r"""Define a fused module to observe the tensor. + + Fused module that is used to observe the input tensor (compute min/max), compute + scale/zero_point and fake_quantize the tensor. + This module uses calculation similar MovingAverageMinMaxObserver for the inputs, + to compute the min/max values in order to compute the scale/zero_point. + The qscheme input in the observer is used to differentiate between symmetric/affine + quantization scheme. + + The output of this module is given by + x_out = (clamp(round(x/scale + zero_point), quant_min, quant_max)-zero_point)*scale + + Similar to :class:`~torch.ao.quantization.FakeQuantize`, and accepts the same attributes as the + base class. + + """ + + def __init__( + self, + observer: Any = MovingAverageMinMaxObserver, + quant_min: int = 0, + quant_max: int = 255, + **observer_kwargs: Any + ) -> None: + super().__init__(observer, quant_min, quant_max, **observer_kwargs) + assert isinstance(self.activation_post_process, (MovingAverageMinMaxObserver, MovingAveragePerChannelMinMaxObserver)), \ + "Fused observer+fake_quant module only works with MovingAverageMinMaxObserver" + self.register_buffer("fake_quant_enabled", torch.tensor([1], dtype=torch.long)) + self.register_buffer("observer_enabled", torch.tensor([1], dtype=torch.long)) + self.is_symmetric_quant = _is_symmetric_quant(self.activation_post_process.qscheme) + + @torch.jit.export + def calculate_qparams(self) -> Tuple[torch.Tensor, torch.Tensor]: + return self.activation_post_process.calculate_qparams() + + @torch.jit.export + def extra_repr(self) -> str: + return ( + "fake_quant_enabled={}, observer_enabled={}, scale={}, zero_point={}, " + "dtype={}, quant_min={}, quant_max={}, qscheme={}, reduce_range={}".format( + self.fake_quant_enabled, + self.observer_enabled, + self.scale, + self.zero_point, + self.dtype, + self.activation_post_process.quant_min, + self.activation_post_process.quant_max, + self.qscheme, + self.activation_post_process.reduce_range, + ) + ) + + def forward(self, X: torch.Tensor) -> torch.Tensor: + return torch.fused_moving_avg_obs_fake_quant( + X, + self.observer_enabled, + self.fake_quant_enabled, + self.activation_post_process.min_val, + self.activation_post_process.max_val, + self.scale, + self.zero_point, + self.activation_post_process.averaging_constant, + self.activation_post_process.quant_min, + self.activation_post_process.quant_max, + self.ch_axis, + self.is_per_channel, + self.is_symmetric_quant, + ) + +default_fake_quant = FakeQuantize.with_args(observer=MovingAverageMinMaxObserver, quant_min=0, quant_max=255, + dtype=torch.quint8, qscheme=torch.per_tensor_affine, reduce_range=True) +""" +Default fake_quant for activations. +""" + +default_weight_fake_quant = FakeQuantize.with_args(observer=MovingAverageMinMaxObserver, quant_min=-128, quant_max=127, + dtype=torch.qint8, qscheme=torch.per_tensor_symmetric, reduce_range=False) +""" +Default fake_quant for weights. +Observer is memoryless since averaging_constant is 1. +""" + +default_dynamic_fake_quant = FakeQuantize.with_args( + observer=MovingAverageMinMaxObserver, quant_min=0, quant_max=255, is_dynamic=True, + dtype=torch.quint8, averaging_constant=1) +""" +Default dynamic fake_quant for activations. +""" + +default_fixed_qparams_range_neg1to1_fake_quant = ( + FixedQParamsFakeQuantize.with_args(observer=default_fixed_qparams_range_neg1to1_observer) +) +default_fixed_qparams_range_0to1_fake_quant = ( + FixedQParamsFakeQuantize.with_args(observer=default_fixed_qparams_range_0to1_observer) +) +# TODO: the following 2 variables are kept for backwards compatibility; remove after a few releases +default_symmetric_fixed_qparams_fake_quant = default_fixed_qparams_range_neg1to1_fake_quant +default_affine_fixed_qparams_fake_quant = default_fixed_qparams_range_0to1_fake_quant + +default_per_channel_weight_fake_quant = FakeQuantize.with_args(observer=MovingAveragePerChannelMinMaxObserver, + quant_min=-128, + quant_max=127, + dtype=torch.qint8, + qscheme=torch.per_channel_symmetric, + reduce_range=False, + ch_axis=0) +""" +Default fake_quant for per-channel weights. +Observer is memoryless since averaging_constant is 1. +""" +default_embedding_fake_quant = FakeQuantize.with_args(observer=MovingAveragePerChannelMinMaxObserver, + qscheme=torch.per_channel_affine_float_qparams, + dtype=torch.quint8, + quant_min=0, + quant_max=255, + ch_axis=0, + averaging_constant=1) +""" +Default fake_quant for embeddings. +Observer is memoryless since averaging_constant is 1. +""" + +default_embedding_fake_quant_4bit = FakeQuantize.with_args(observer=MovingAveragePerChannelMinMaxObserver, + qscheme=torch.per_channel_affine_float_qparams, + ch_axis=0, + dtype=torch.quint4x2, + averaging_constant=1) + +default_histogram_fake_quant = FakeQuantize.with_args(observer=HistogramObserver, + quant_min=0, + quant_max=255, + dtype=torch.quint8, + qscheme=torch.per_tensor_affine, + reduce_range=True) +""" +Fake_quant for activations using a histogram.. +""" + + +default_fused_act_fake_quant = FusedMovingAvgObsFakeQuantize.with_args(observer=MovingAverageMinMaxObserver, + quant_min=0, + quant_max=255, + dtype=torch.quint8,) + +""" +Fused version of `default_fake_quant`, with improved performance. +""" + + +default_fused_wt_fake_quant = FusedMovingAvgObsFakeQuantize.with_args(observer=MovingAverageMinMaxObserver, + quant_min=-128, + quant_max=127, + dtype=torch.qint8, + qscheme=torch.per_tensor_symmetric) +""" +Fused version of `default_weight_fake_quant`, with improved performance. +""" + +default_fused_per_channel_wt_fake_quant = FusedMovingAvgObsFakeQuantize.with_args(observer=MovingAveragePerChannelMinMaxObserver, + quant_min=-128, + quant_max=127, + dtype=torch.qint8, + qscheme=torch.per_channel_symmetric) +""" +Fused version of `default_per_channel_weight_fake_quant`, with improved performance. +""" + +fused_wt_fake_quant_range_neg_127_to_127 = FusedMovingAvgObsFakeQuantize.with_args(observer=MovingAverageMinMaxObserver, + quant_min=-127, + quant_max=127, + dtype=torch.qint8, + qscheme=torch.per_tensor_symmetric, + eps=2 ** -12) +""" +Fused version of `default_weight_fake_quant`, with the 8-bit values restricted to [-127, +127], excluding -128. +""" + +fused_per_channel_wt_fake_quant_range_neg_127_to_127 = \ + FusedMovingAvgObsFakeQuantize.with_args(observer=MovingAveragePerChannelMinMaxObserver, + quant_min=-127, + quant_max=127, + dtype=torch.qint8, + qscheme=torch.per_channel_symmetric, + eps=2 ** -12) + +""" +Fused version of `default_per_channel_weight_fake_quant`, with the 8-bit values restricted to [-127, +127], excluding -128. +""" + + +def _is_fake_quant_script_module(mod): + """Return true if given mod is an instance of FakeQuantize script module.""" + if isinstance(mod, torch.jit.RecursiveScriptModule): + # qualified name looks like '__torch__.torch.ao.quantization.fake_quantize.___torch_mangle_2.FakeQuantize' + suffix = mod._c.qualified_name.split('.', 1)[1] + name = re.sub(r'\.___torch_mangle_\d+', '', suffix) + return name == 'torch.ao.quantization.fake_quantize.FakeQuantize' or \ + name == 'torch.ao.quantization.fake_quantize.FusedMovingAvgObsFakeQuantize' + return False + +def disable_fake_quant(mod): + """Disable fake quantization for the module. + + Disable fake quantization for this module, if applicable. Example usage:: + + # model is any PyTorch model + model.apply(torch.ao.quantization.disable_fake_quant) + + """ + if isinstance(mod, FakeQuantizeBase) or _is_fake_quant_script_module(mod): + mod.disable_fake_quant() + +def enable_fake_quant(mod): + """Enable fake quantization for the module. + + Enable fake quantization for this module, if applicable. Example usage:: + + # model is any PyTorch model + model.apply(torch.ao.quantization.enable_fake_quant) + + """ + if isinstance(mod, FakeQuantizeBase) or _is_fake_quant_script_module(mod): + mod.enable_fake_quant() + +def disable_observer(mod): + """Disable observation for this module. + + Disable observation for this module, if applicable. Example usage:: + + # model is any PyTorch model + model.apply(torch.ao.quantization.disable_observer) + + """ + if isinstance(mod, FakeQuantizeBase) or _is_fake_quant_script_module(mod): + mod.disable_observer() + +def enable_observer(mod): + """Enable observation for this module. + + Enable observation for this module, if applicable. Example usage:: + + # model is any PyTorch model + model.apply(torch.ao.quantization.enable_observer) + + """ + if isinstance(mod, FakeQuantizeBase) or _is_fake_quant_script_module(mod): + mod.enable_observer() diff --git a/shared/package-files/45/45345ac9c0330b34501af453f9e8d22cd76fc20e6442c5c1e681dc04f1f2a63a/__init__.pyi b/shared/package-files/45/45345ac9c0330b34501af453f9e8d22cd76fc20e6442c5c1e681dc04f1f2a63a/__init__.pyi new file mode 100644 index 0000000000000000000000000000000000000000..f73d05dfc83c94ec1d60f00aee9730eec8a5f68e --- /dev/null +++ b/shared/package-files/45/45345ac9c0330b34501af453f9e8d22cd76fc20e6442c5c1e681dc04f1f2a63a/__init__.pyi @@ -0,0 +1,55 @@ +import string +import sys +from collections import Mapping +from typing import Any, Callable, Iterable, List, Optional, Sequence, Text, Tuple, Union + +from markupsafe._compat import text_type +from markupsafe._native import escape as escape, escape_silent as escape_silent, soft_unicode as soft_unicode + +class Markup(text_type): + def __new__(cls, base: Text = ..., encoding: Optional[Text] = ..., errors: Text = ...) -> Markup: ... + def __html__(self) -> Markup: ... + def __add__(self, other: text_type) -> Markup: ... + def __radd__(self, other: text_type) -> Markup: ... + def __mul__(self, num: int) -> Markup: ... + def __rmul__(self, num: int) -> Markup: ... + def __mod__(self, *args: Any) -> Markup: ... + def join(self, seq: Iterable[text_type]): ... + def split(self, sep: Optional[text_type] = ..., maxsplit: int = ...) -> List[text_type]: ... + def rsplit(self, sep: Optional[text_type] = ..., maxsplit: int = ...) -> List[text_type]: ... + def splitlines(self, keepends: bool = ...) -> List[text_type]: ... + def unescape(self) -> Text: ... + def striptags(self) -> Text: ... + @classmethod + def escape(cls, s: text_type) -> Markup: ... # noqa: F811 + def partition(self, sep: text_type) -> Tuple[Markup, Markup, Markup]: ... + def rpartition(self, sep: text_type) -> Tuple[Markup, Markup, Markup]: ... + def format(self, *args, **kwargs) -> Markup: ... + def __html_format__(self, format_spec) -> Markup: ... + def __getslice__(self, start: int, stop: int) -> Markup: ... + def __getitem__(self, i: Union[int, slice]) -> Markup: ... + def capitalize(self) -> Markup: ... + def title(self) -> Markup: ... + def lower(self) -> Markup: ... + def upper(self) -> Markup: ... + def swapcase(self) -> Markup: ... + def replace(self, old: text_type, new: text_type, count: int = ...) -> Markup: ... + def ljust(self, width: int, fillchar: text_type = ...) -> Markup: ... + def rjust(self, width: int, fillchar: text_type = ...) -> Markup: ... + def lstrip(self, chars: Optional[text_type] = ...) -> Markup: ... + def rstrip(self, chars: Optional[text_type] = ...) -> Markup: ... + def strip(self, chars: Optional[text_type] = ...) -> Markup: ... + def center(self, width: int, fillchar: text_type = ...) -> Markup: ... + def zfill(self, width: int) -> Markup: ... + def translate( + self, table: Union[Mapping[int, Union[int, text_type, None]], Sequence[Union[int, text_type, None]]] + ) -> Markup: ... + def expandtabs(self, tabsize: int = ...) -> Markup: ... + +class EscapeFormatter(string.Formatter): + escape: Callable[[text_type], Markup] + def __init__(self, escape: Callable[[text_type], Markup]) -> None: ... # noqa: F811 + def format_field(self, value: text_type, format_spec: text_type) -> Markup: ... + +if sys.version_info >= (3,): + soft_str = soft_unicode diff --git a/shared/package-files/45/4537dc6e28bbca48bce68aef70bb91446802e2ae29a3a74df3eadf9263d256a2/test_dufunc.py b/shared/package-files/45/4537dc6e28bbca48bce68aef70bb91446802e2ae29a3a74df3eadf9263d256a2/test_dufunc.py new file mode 100644 index 0000000000000000000000000000000000000000..da4e9bf9ad49a67ee010acfbe5ac447164163192 --- /dev/null +++ b/shared/package-files/45/4537dc6e28bbca48bce68aef70bb91446802e2ae29a3a74df3eadf9263d256a2/test_dufunc.py @@ -0,0 +1,1139 @@ +import functools +import itertools +import pickle +import textwrap +import warnings + +import numpy as np + +from numba import njit, vectorize +from numba.tests.support import MemoryLeakMixin, TestCase +from numba.core.errors import (TypingError, NumbaNotImplementedError, + NumbaExperimentalFeatureWarning) +import unittest +from numba.np.ufunc import dufunc +from numba.np.numpy_support import from_dtype + + +def pyuadd(a0, a1): + return a0 + a1 + + +def pysub(a0, a1): + return a0 - a1 + + +def pymult(a0, a1): + return a0 * a1 + + +def pydiv(a0, a1): + return a0 // a1 + + +def pymin(a0, a1): + return a0 if a0 < a1 else a1 + + +class TestDUFunc(MemoryLeakMixin, unittest.TestCase): + + def nopython_dufunc(self, pyfunc): + return dufunc.DUFunc(pyfunc, targetoptions=dict(nopython=True)) + + def test_frozen(self): + duadd = self.nopython_dufunc(pyuadd) + self.assertFalse(duadd._frozen) + duadd._frozen = True + self.assertTrue(duadd._frozen) + with self.assertRaises(ValueError): + duadd._frozen = False + with self.assertRaises(TypeError): + duadd(np.linspace(0,1,10), np.linspace(1,2,10)) + + def test_scalar(self): + duadd = self.nopython_dufunc(pyuadd) + self.assertEqual(pyuadd(1,2), duadd(1,2)) + + def test_npm_call(self): + duadd = self.nopython_dufunc(pyuadd) + + @njit + def npmadd(a0, a1, o0): + duadd(a0, a1, o0) + X = np.linspace(0,1.9,20) + X0 = X[:10] + X1 = X[10:] + out0 = np.zeros(10) + npmadd(X0, X1, out0) + np.testing.assert_array_equal(X0 + X1, out0) + Y0 = X0.reshape((2,5)) + Y1 = X1.reshape((2,5)) + out1 = np.zeros((2,5)) + npmadd(Y0, Y1, out1) + np.testing.assert_array_equal(Y0 + Y1, out1) + Y2 = X1[:5] + out2 = np.zeros((2,5)) + npmadd(Y0, Y2, out2) + np.testing.assert_array_equal(Y0 + Y2, out2) + + def test_npm_call_implicit_output(self): + duadd = self.nopython_dufunc(pyuadd) + + @njit + def npmadd(a0, a1): + return duadd(a0, a1) + X = np.linspace(0,1.9,20) + X0 = X[:10] + X1 = X[10:] + out0 = npmadd(X0, X1) + np.testing.assert_array_equal(X0 + X1, out0) + Y0 = X0.reshape((2,5)) + Y1 = X1.reshape((2,5)) + out1 = npmadd(Y0, Y1) + np.testing.assert_array_equal(Y0 + Y1, out1) + Y2 = X1[:5] + out2 = npmadd(Y0, Y2) + np.testing.assert_array_equal(Y0 + Y2, out2) + out3 = npmadd(1.,2.) + self.assertEqual(out3, 3.) + + def test_ufunc_props(self): + duadd = self.nopython_dufunc(pyuadd) + self.assertEqual(duadd.nin, 2) + self.assertEqual(duadd.nout, 1) + self.assertEqual(duadd.nargs, duadd.nin + duadd.nout) + self.assertEqual(duadd.ntypes, 0) + self.assertEqual(duadd.types, []) + self.assertEqual(duadd.identity, None) + duadd(1, 2) + self.assertEqual(duadd.ntypes, 1) + self.assertEqual(duadd.ntypes, len(duadd.types)) + self.assertIsNone(duadd.signature) + + def test_ufunc_props_jit(self): + duadd = self.nopython_dufunc(pyuadd) + duadd(1, 2) # initialize types attribute + + attributes = {'nin': duadd.nin, + 'nout': duadd.nout, + 'nargs': duadd.nargs, + #'ntypes': duadd.ntypes, + #'types': duadd.types, + 'identity': duadd.identity, + 'signature': duadd.signature} + + def get_attr_fn(attr): + fn = f''' + def impl(): + return duadd.{attr} + ''' + l = {} + exec(textwrap.dedent(fn), {'duadd': duadd}, l) + return l['impl'] + + for attr, val in attributes.items(): + cfunc = njit(get_attr_fn(attr)) + self.assertEqual(val, cfunc(), + f'Attribute differs from original: {attr}') + + # We don't expose [n]types attributes as they are dynamic attributes + # and can change as the user calls the ufunc + # cfunc = njit(get_attr_fn('ntypes')) + # self.assertEqual(cfunc(), 1) + # duadd(1.1, 2.2) + # self.assertEqual(cfunc(), 2) + + +class TestDUFuncMethodsBase(TestCase): + + @functools.cache + def _generate_jit(self, ufunc, kind, identity=None): + assert kind in ('reduce', 'reduceat', 'at') + if kind == 'reduce': + if ufunc.nin == 2: + vec = vectorize(identity=identity)(lambda a, b: ufunc(a, b)) + else: + vec = vectorize(identity=identity)(lambda a: ufunc(a)) + + @njit + def fn(array, axis=0, initial=None): + return vec.reduce(array, axis=axis, initial=initial) + return fn + elif kind == 'reduceat': + if ufunc.nin != 2: + raise ValueError('reduceat only supported for binary functions') + vec = vectorize(identity=identity)(lambda a, b: ufunc(a, b)) + + @njit + def fn(array, indices, axis=0, dtype=None, out=None): + return vec.reduceat(array, indices, axis, dtype, out) + return fn + else: + if ufunc.nin == 2: + vec = vectorize(identity=identity)(lambda a, b: ufunc(a, b)) + else: + vec = vectorize(identity=identity)(lambda a: ufunc(a)) + + @njit + def fn(*args): + return vec.at(*args) + return fn + + def _reduce(self, ufunc, identity): + return self._generate_jit(ufunc, 'reduce', identity=identity) + + def _reduceat(self, ufunc, identity): + return self._generate_jit(ufunc, 'reduceat', identity=identity) + + def _at(self, ufunc): + return self._generate_jit(ufunc, 'at') + + +class TestDUFuncAt(TestDUFuncMethodsBase): + def _compare_output(self, fn, ufunc, a, *args): + expected = a.copy() + got = a.copy() + ufunc.at(expected, *args) + fn(got, *args) + self.assertPreciseEqual(expected, got) + + def test_numpy_ufunc_at_basic(self): + # tests taken from: https://github.com/numpy/numpy/blob/27d8c43eb958b4ecee59b4d66908750759a9afc2/numpy/core/tests/test_ufunc.py#L1974-L2003 # noqa: E501 + # NumPy also test this function with a Rational array dtype. We skip + # this test as Numba doesn't support Rational + a = np.arange(10, dtype=int) + + add_at = self._at(np.add) + negative_at = self._at(np.negative) + + negative_vec = vectorize()(lambda a: np.negative(a)) + + @njit + def negative_jit_2(a, indices, b): + return negative_vec.at(a, indices, b) + + # basic testing + self._compare_output(add_at, np.add, a, [2, 5, 2], 1) + + # missing second operand + err_msg = 'second operand needed for ufunc' + with self.assertRaisesRegex(TypingError, err_msg): + add_at(a.copy(), [2, 5, 3], None) + + self._compare_output(negative_at, np.negative, a.copy(), [2, 5, 3]) + + b = np.array([100, 100, 100]) + self._compare_output(add_at, np.add, a.copy(), [2, 5, 2], b) + + # extraneous second operand + err_msg = 'second operand provided when ufunc is unary' + with self.assertRaisesRegex(TypingError, err_msg): + negative_jit_2(a.copy(), [2, 5, 3], [1, 2, 3]) + + with self.assertRaises(TypingError): + add_at(a.copy(), [2, 5, 3], [[1, 2], 1]) + + def test_ufunc_at_inner_loop(self): + typecodes = np.typecodes['Complex'] + ufuncs = (np.add, np.subtract, np.multiply) + for typecode in typecodes: + + try: + from_dtype(np.dtype(typecode)) + except NumbaNotImplementedError: + continue + + for ufunc in ufuncs: + a = np.ones(10, dtype=typecode) + indx = np.concatenate([np.ones(6, dtype=np.intp), + np.full(18, 4, dtype=np.intp)]) + value = a.dtype.type(1j) + ufunc_at = self._at(ufunc) + ufunc_at(a, indx, value) + expected = np.ones_like(a) + if ufunc is np.multiply: + expected[1] = expected[4] = -1 + else: + expected[1] += 6 * (value if ufunc is np.add else -value) + expected[4] += 18 * (value if ufunc is np.add else -value) + + self.assertPreciseEqual(a, expected) + + def test_ufunc_at_ellipsis(self): + # Make sure the indexed loop check does not choke on iters + # with subspaces + arr = np.zeros(5, dtype=int) + add_at = self._at(np.add) + self._compare_output(add_at, np.add, arr, slice(None), + np.ones(5, dtype=int)) + + def test_ufunc_at_negative(self): + arr = np.ones(5, dtype=np.int32) + indx = np.arange(5) + at = self._at(np.negative) + at(arr, indx) + assert np.all(arr == [-1, -1, -1, -1, -1]) + + def test_ufunc_at_large(self): + # NumPy issue gh-23457 + indices = np.zeros(8195, dtype=np.int16) + b = np.zeros(8195, dtype=float) + b[0] = 10 + b[1] = 5 + b[8192:] = 100 + a = np.zeros(1, dtype=float) + add_at = self._at(np.add) + add_at(a, indices, b) + assert a[0] == b.sum() + + def test_cast_index_fastpath(self): + arr = np.zeros(10) + values = np.ones(100000) + add_at = self._at(np.add) + # index must be cast, which may be buffered in chunks: + index = np.zeros(len(values), dtype=np.uint8) + add_at(arr, index, values) + assert arr[0] == len(values) + + def test_ufunc_at_scalar_value_fastpath(self): + values = (np.ones(1), np.ones(()), np.float64(1.), 1.) + for value in values: + arr = np.zeros(1000) + # index must be cast, which may be buffered in chunks: + index = np.repeat(np.arange(1000), 2) + add_at = self._at(np.add) + add_at(arr, index, value) + np.testing.assert_array_equal(arr, np.full_like(arr, 2 * value)) + + def test_ufunc_at_multiD(self): + a = np.arange(9).reshape(3, 3) + b = np.array([[100, 100, 100], [200, 200, 200], [300, 300, 300]]) + add_at = self._at(np.add) + add_at(a, (slice(None), np.asarray([1, 2, 1])), b) + self.assertPreciseEqual(a, np.array( + [[0, 201, 102], [3, 404, 205], [6, 607, 308]])) + + a = np.arange(27).reshape(3, 3, 3) + b = np.array([100, 200, 300]) + add_at(a, (slice(None), slice(None), np.asarray([1, 2, 1])), b) + self.assertPreciseEqual(a, np.array( + [[[0, 401, 202], + [3, 404, 205], + [6, 407, 208]], + + [[9, 410, 211], + [12, 413, 214], + [15, 416, 217]], + + [[18, 419, 220], + [21, 422, 223], + [24, 425, 226]]])) + + a = np.arange(9).reshape(3, 3) + b = np.array([[100, 100, 100], [200, 200, 200], [300, 300, 300]]) + add_at(a, (np.asarray([1, 2, 1]), slice(None)), b) + self.assertPreciseEqual(a, np.asarray( + [[0, 1, 2], [403, 404, 405], [206, 207, 208]])) + + a = np.arange(27).reshape(3, 3, 3) + b = np.array([100, 200, 300]) + add_at(a, (slice(None), np.asarray([1, 2, 1]), slice(None)), b) + self.assertPreciseEqual(a, np.asarray( + [[[0, 1, 2], + [203, 404, 605], + [106, 207, 308]], + + [[9, 10, 11], + [212, 413, 614], + [115, 216, 317]], + + [[18, 19, 20], + [221, 422, 623], + [124, 225, 326]]])) + + a = np.arange(9).reshape(3, 3) + b = np.array([100, 200, 300]) + add_at(a, (0, np.asarray([1, 2, 1])), b) + self.assertPreciseEqual(a, np.asarray( + [[0, 401, 202], [3, 4, 5], [6, 7, 8]])) + + a = np.arange(27).reshape(3, 3, 3) + b = np.array([100, 200, 300]) + add_at(a, (np.asarray([1, 2, 1]), 0, slice(None)), b) + self.assertPreciseEqual(a, np.asarray( + [[[0, 1, 2], + [3, 4, 5], + [6, 7, 8]], + + [[209, 410, 611], + [12, 13, 14], + [15, 16, 17]], + + [[118, 219, 320], + [21, 22, 23], + [24, 25, 26]]])) + + a = np.arange(27).reshape(3, 3, 3) + b = np.array([100, 200, 300]) + add_at = self._at(np.add) + add_at(a, (slice(None), slice(None), slice(None)), b) + self.assertPreciseEqual(a, np.asarray( + [[[100, 201, 302], + [103, 204, 305], + [106, 207, 308]], + + [[109, 210, 311], + [112, 213, 314], + [115, 216, 317]], + + [[118, 219, 320], + [121, 222, 323], + [124, 225, 326]]])) + + def test_ufunc_at_0D(self): + a = np.array(0) + add_at = self._at(np.add) + add_at(a, (), 1) + self.assertPreciseEqual(a, np.array(1)) + + with self.assertRaises(TypingError): + add_at(a, 0, 1) + + b = np.arange(3) + add_at(b, 0, 1) + self.assertPreciseEqual(b, np.array([1, 1, 2])) + + # NumPy checks for IndexError but we can't call a jit function with an + # empty list as Numba raises "can't compute fingerprint of empty list" + with self.assertRaises(ValueError): + add_at(a, [], 1) + + def test_ufunc_at_dtypes(self): + # Test mixed dtypes + a = np.arange(10) + power_at = self._at(np.power) + power_at(a, [1, 2, 3, 2], 3.5) + self.assertPreciseEqual(a, np.array([0, 1, 4414, 46, 4, 5, 6, 7, 8, 9])) + + def test_ufunc_at_boolean(self): + # Test boolean indexing and boolean ufuncs + a = np.arange(10) + index = a % 2 == 0 + equal_at = self._at(np.equal) + # boolean indexing not supported + equal_at(a, index, [0, 2, 4, 6, 8]) + self.assertPreciseEqual(a, np.array([1, 1, 1, 3, 1, 5, 1, 7, 1, 9])) + + def test_ufunc_at_boolean2(self): + # Test unary operator + a = np.arange(10, dtype='u4') + invert_at = self._at(np.invert) + invert_at(a, [2, 5, 2]) + self.assertPreciseEqual(a, np.array([0, 1, 2, 3, 4, 5 ^ 0xffffffff, 6, + 7, 8, 9], dtype=np.uint32)) + + def test_ufunc_at_advanced(self): + # Test empty subspace + orig = np.arange(4) + a = orig[:, None][:, 0:0] + add_at = self._at(np.add) + add_at(a, [0, 1], 3) + self.assertPreciseEqual(orig, np.arange(4)) + + @unittest.expectedFailure + def test_ufunc_at_advanced_2(self): + # Test with swapped byte order + index = np.array([1, 2, 1], np.dtype('i').newbyteorder()) + values = np.array([1, 2, 3, 4], np.dtype('f').newbyteorder()) + add_at = self._at(np.add) + add_at(values, index, 3) + self.assertPreciseEqual(values, [1, 8, 6, 4]) + + def test_ufunc_at_advanced_3(self): + # Test exception thrown + values = np.array(['a', 1], dtype=object) + add_at = self._at(np.add) + with self.assertRaises(TypingError): + add_at(values, [0, 1], 1) + self.assertPreciseEqual(values, np.array(['a', 1], dtype=object)) + + def test_ufunc_at_advanced_4(self): + # Test multiple output ufuncs raise error, NumPy gh-5665 + modf_at = self._at(np.modf) + # NumPy raises ValueError as modf returns multiple outputs + with self.assertRaises(TypingError): + modf_at(np.arange(10), [1]) + + def test_ufunc_at_advanced_5(self): + # Test maximum + maximum_at = self._at(np.maximum) + a = np.array([1, 2, 3]) + maximum_at(a, [0], 0) + self.assertPreciseEqual(a, np.array([1, 2, 3])) + + def test_ufunc_at_negative_indexes(self): + dtypes = np.typecodes['AllInteger'] + np.typecodes['Float'] + ufuncs = (np.add, np.subtract, np.divide, np.minimum, np.maximum) + + for dtype in dtypes: + + if dtype in ('e',): # skip float16 as we don't have an impl. for it + continue + + try: + from_dtype(np.dtype(dtype)) + except NumbaNotImplementedError: + continue + + for ufunc in ufuncs: + a = np.arange(0, 10).astype(dtype) + indxs = np.array([-1, 1, -1, 2]).astype(np.intp) + vals = np.array([1, 5, 2, 10], dtype=a.dtype) + + expected = a.copy() + for i, v in zip(indxs, vals): + expected[i] = ufunc(expected[i], v) + + ufunc_at = self._at(ufunc) + ufunc_at(a, indxs, vals) + np.testing.assert_array_equal(a, expected) + assert np.all(indxs == [-1, 1, -1, 2]) + + @unittest.expectedFailure + def test_ufunc_at_not_none_signature(self): + # Test ufuncs with non-trivial signature raise a TypeError + a = np.ones((2, 2, 2)) + b = np.ones((1, 2, 2)) + # matmul is a gufunc, thus, this will fail atm + matmul_at = self._at(np.matmul) + err_msg = 'does not support ufunc with non-trivial signature' + with self.assertRaisesRegex(TypingError, err_msg): + matmul_at(a, [0], b) + + # a = np.array([[[1, 2], [3, 4]]]) + # assert_raises(TypeError, np.linalg._umath_linalg.det.at, a, [0]) + + def test_ufunc_at_no_loop_for_op(self): + # str dtype does not have a ufunc loop for np.add + arr = np.ones(10, dtype=str) + add_at = self._at(np.add) + # NumPy raises `np.core._exceptions._UFuncNoLoopError` + with self.assertRaises(TypingError): + add_at(arr, [0, 1], [0, 1]) + + def test_ufunc_at_output_casting(self): + arr = np.array([-1]) + equal_at = self._at(np.equal) + equal_at(arr, [0], [0]) + assert arr[0] == 0 + + def test_ufunc_at_broadcast_failure(self): + arr = np.arange(5) + add_at = self._at(np.add) + + # NumPy raises ValueError('array is not broadcastable to correct shape') + msg = 'operands could not be broadcast together with remapped shapes' + with self.assertRaisesRegex(ValueError, msg): + add_at(arr, [0, 1], [1, 2, 3]) + + def test_ufunc_at_dynamic(self): + arr = np.arange(5) + + @vectorize + def inc(x): + return x + 1 + + self.assertEqual(len(inc.types), 0) + + # trying to call inc.at should trigger compilation + inc.at(arr, [1, 3]) + + self.assertGreater(len(inc.types), 0) + + def test_ufunc_at_experimental_warning(self): + arr = np.arange(5) + add_at = self._at(np.add) + + with warnings.catch_warnings(record=True) as w: + warnings.simplefilter('always', NumbaExperimentalFeatureWarning) + + add_at(arr, [0, 3], 10) + + self.assertGreater(len(w), 0) + self.assertIn('ufunc.at feature is experimental', str(w[0].message)) + + +class TestDUFuncReduceNumPyTests(TestCase): + # Tests taken from + # https://github.com/numpy/numpy/blob/51ee17b6bd4ccec60a5483ee8bff94ad0c0e8585/numpy/_core/tests/test_ufunc.py # noqa: E501 + + def _generate_jit(self, ufunc, identity=None): + if ufunc.nin == 2: + vec = vectorize(identity=identity)(lambda a, b: ufunc(a, b)) + else: + vec = vectorize(identity=identity)(lambda a: ufunc(a)) + + @njit + def fn(array, axis=0, initial=None): + return vec.reduce(array, axis=axis, initial=initial) + return fn + + @unittest.expectedFailure + def test_numpy_scalar_reduction(self): + # scalar reduction is not supported + power_reduce = self._generate_jit(np.power) + expected = np.power.reduce(3) + got = power_reduce(3) + self.assertPreciseEqual(expected, got) + + def check_identityless_reduction(self, a): + def compare_output(a, b): + # We don't use self.assertPreciseEqual as the dtype differs + # between the value from the reduction and the hardcoded output + np.testing.assert_equal(a, b) + # test taken from: + # https://github.com/numpy/numpy/blob/51ee17b6bd4ccec60a5483ee8bff94ad0c0e8585/numpy/_core/tests/test_ufunc.py#L1591 # noqa: E501 + + minimum_reduce = self._generate_jit(np.minimum, identity='reorderable') + + # np.minimum.reduce is an identityless reduction + + # Verify that it sees the zero at various positions + a[...] = 1 + a[1, 0, 0] = 0 + compare_output(minimum_reduce(a, axis=None), 0) + compare_output(minimum_reduce(a, axis=(0, 1)), [0, 1, 1, 1]) + compare_output(minimum_reduce(a, axis=(0, 2)), [0, 1, 1]) + compare_output(minimum_reduce(a, axis=(1, 2)), [1, 0]) + compare_output(minimum_reduce(a, axis=0), + [[0, 1, 1, 1], [1, 1, 1, 1], [1, 1, 1, 1]]) + compare_output(minimum_reduce(a, axis=1), + [[1, 1, 1, 1], [0, 1, 1, 1]]) + compare_output(minimum_reduce(a, axis=2), + [[1, 1, 1], [0, 1, 1]]) + compare_output(minimum_reduce(a, axis=()), a) + + a[...] = 1 + a[0, 1, 0] = 0 + compare_output(minimum_reduce(a, axis=None), 0) + compare_output(minimum_reduce(a, axis=(0, 1)), [0, 1, 1, 1]) + compare_output(minimum_reduce(a, axis=(0, 2)), [1, 0, 1]) + compare_output(minimum_reduce(a, axis=(1, 2)), [0, 1]) + compare_output(minimum_reduce(a, axis=0), + [[1, 1, 1, 1], [0, 1, 1, 1], [1, 1, 1, 1]]) + compare_output(minimum_reduce(a, axis=1), + [[0, 1, 1, 1], [1, 1, 1, 1]]) + compare_output(minimum_reduce(a, axis=2), + [[1, 0, 1], [1, 1, 1]]) + compare_output(minimum_reduce(a, axis=()), a) + + a[...] = 1 + a[0, 0, 1] = 0 + compare_output(minimum_reduce(a, axis=None), 0) + compare_output(minimum_reduce(a, axis=(0, 1)), [1, 0, 1, 1]) + compare_output(minimum_reduce(a, axis=(0, 2)), [0, 1, 1]) + compare_output(minimum_reduce(a, axis=(1, 2)), [0, 1]) + compare_output(minimum_reduce(a, axis=0), + [[1, 0, 1, 1], [1, 1, 1, 1], [1, 1, 1, 1]]) + compare_output(minimum_reduce(a, axis=1), + [[1, 0, 1, 1], [1, 1, 1, 1]]) + compare_output(minimum_reduce(a, axis=2), + [[0, 1, 1], [1, 1, 1]]) + compare_output(minimum_reduce(a, axis=()), a) + + def test_numpy_identityless_reduction_corder(self): + a = np.empty((2, 3, 4), order='C') + self.check_identityless_reduction(a) + + def test_numpy_identityless_reduction_forder(self): + a = np.empty((2, 3, 4), order='F') + self.check_identityless_reduction(a) + + def test_numpy_identityless_reduction_otherorder(self): + a = np.empty((2, 4, 3), order='C').swapaxes(1, 2) + self.check_identityless_reduction(a) + + def test_numpy_identityless_reduction_noncontig(self): + a = np.empty((3, 5, 4), order='C').swapaxes(1, 2) + a = a[1:, 1:, 1:] + self.check_identityless_reduction(a) + + def test_numpy_identityless_reduction_noncontig_unaligned(self): + a = np.empty((3 * 4 * 5 * 8 + 1,), dtype='i1') + a = a[1:].view(dtype='f8') + a = a.reshape((3, 4, 5)) + a = a[1:, 1:, 1:] + self.check_identityless_reduction(a) + + def test_numpy_initial_reduction(self): + # np.minimum.reduce is an identityless reduction + add_reduce = self._generate_jit(np.add) + min_reduce = self._generate_jit(np.minimum) + max_reduce = self._generate_jit(np.maximum) + + # For cases like np.maximum(np.abs(...), initial=0) + # More generally, a supremum over non-negative numbers. + self.assertPreciseEqual(max_reduce(np.asarray([]), initial=0), 0.0) + + # For cases like reduction of an empty array over the reals. + self.assertPreciseEqual(min_reduce(np.asarray([]), initial=np.inf), + np.inf) + self.assertPreciseEqual(max_reduce(np.asarray([]), initial=-np.inf), + -np.inf) + + # Random tests + self.assertPreciseEqual(min_reduce(np.asarray([5]), initial=4), 4) + self.assertPreciseEqual(max_reduce(np.asarray([4]), initial=5), 5) + self.assertPreciseEqual(max_reduce(np.asarray([5]), initial=4), 5) + self.assertPreciseEqual(min_reduce(np.asarray([4]), initial=5), 4) + + # Check initial=None raises ValueError for both types of ufunc + # reductions + msg = 'zero-size array to reduction operation' + for func in (add_reduce, min_reduce): + with self.assertRaisesRegex(ValueError, msg): + func(np.asarray([]), initial=None) + + def test_numpy_empty_reduction_and_identity(self): + arr = np.zeros((0, 5)) + true_divide_reduce = self._generate_jit(np.true_divide) + + # OK, since the reduction itself is *not* empty, the result is + expected = np.true_divide.reduce(arr, axis=1) + got = true_divide_reduce(arr, axis=1) + self.assertPreciseEqual(expected, got) + self.assertPreciseEqual(got.shape, (0,)) + + # Not OK, the reduction itself is empty and we have no identity + msg = 'zero-size array to reduction operation' + with self.assertRaisesRegex(ValueError, msg): + true_divide_reduce(arr, axis=0) + + # Test that an empty reduction fails also if the result is empty + arr = np.zeros((0, 0, 5)) + with self.assertRaisesRegex(ValueError, msg): + true_divide_reduce(arr, axis=1) + + # Division reduction makes sense with `initial=1` (empty or not): + expected = np.true_divide.reduce(arr, axis=1, initial=1) + got = true_divide_reduce(arr, axis=1, initial=1) + self.assertPreciseEqual(expected, got) + + def test_identityless_reduction_nonreorderable(self): + a = np.array([[8.0, 2.0, 2.0], [1.0, 0.5, 0.25]]) + + divide_reduce = self._generate_jit(np.divide) + res = divide_reduce(a, axis=0) + self.assertPreciseEqual(res, np.asarray([8.0, 4.0, 8.0])) + + res = divide_reduce(a, axis=1) + self.assertPreciseEqual(res, np.asarray([2.0, 8.0])) + + res = divide_reduce(a, axis=()) + self.assertPreciseEqual(res, a) + + # will not raise as per Numba issue #9283 + # assert_raises(ValueError, np.divide.reduce, a, axis=(0, 1)) + + def test_reduce_zero_axis(self): + # If we have a n x m array and do a reduction with axis=1, then we are + # doing n reductions, and each reduction takes an m-element array. For + # a reduction operation without an identity, then: + # n > 0, m > 0: fine + # n = 0, m > 0: fine, doing 0 reductions of m-element arrays + # n > 0, m = 0: can't reduce a 0-element array, ValueError + # n = 0, m = 0: can't reduce a 0-element array, ValueError (for + # consistency with the above case) + # This test doesn't actually look at return values, it just checks to + # make sure that error we get an error in exactly those cases where we + # expect one, and assumes the calculations themselves are done + # correctly. + + def ok(f, *args, **kwargs): + f(*args, **kwargs) + + def err(f, *args, **kwargs): + with self.assertRaises(ValueError): + f(*args, **kwargs) + + def t(expect, func, n, m): + expect(func, np.zeros((n, m)), axis=1) + expect(func, np.zeros((m, n)), axis=0) + expect(func, np.zeros((n // 2, n // 2, m)), axis=2) + expect(func, np.zeros((n // 2, m, n // 2)), axis=1) + expect(func, np.zeros((n, m // 2, m // 2)), axis=(1, 2)) + expect(func, np.zeros((m // 2, n, m // 2)), axis=(0, 2)) + expect(func, np.zeros((m // 3, m // 3, m // 3, + n // 2, n // 2)), axis=(0, 1, 2)) + # Check what happens if the inner (resp. outer) dimensions are a + # mix of zero and non-zero: + expect(func, np.zeros((10, m, n)), axis=(0, 1)) + expect(func, np.zeros((10, n, m)), axis=(0, 2)) + expect(func, np.zeros((m, 10, n)), axis=0) + expect(func, np.zeros((10, m, n)), axis=1) + expect(func, np.zeros((10, n, m)), axis=2) + + # np.maximum is just an arbitrary ufunc with no reduction identity + maximum_reduce = self._generate_jit(np.maximum, identity='reorderable') + self.assertEqual(np.maximum.identity, None) + t(ok, maximum_reduce, 30, 30) + t(ok, maximum_reduce, 0, 30) + t(err, maximum_reduce, 30, 0) + t(err, maximum_reduce, 0, 0) + err(maximum_reduce, []) + maximum_reduce(np.zeros((0, 0)), axis=()) + + # all of the combinations are fine for a reduction that has an + # identity + add_reduce = self._generate_jit(np.add, identity=0) + t(ok, add_reduce, 30, 30) + t(ok, add_reduce, 0, 30) + t(ok, add_reduce, 30, 0) + t(ok, add_reduce, 0, 0) + add_reduce(np.array([], dtype=np.int64)) + add_reduce(np.zeros((0, 0)), axis=()) + + +class TestDUFuncReduce(TestDUFuncMethodsBase): + def _check_reduce(self, ufunc, dtype=None, initial=None): + + @njit + def foo(a, axis, dtype, initial): + return ufunc.reduce(a, + axis=axis, + dtype=dtype, + initial=initial) + + inputs = [ + np.arange(5), + np.arange(4).reshape(2, 2), + np.arange(40).reshape(5, 4, 2), + ] + for array in inputs: + for axis in range(array.ndim): + expected = foo.py_func(array, axis, dtype, initial) + got = foo(array, axis, dtype, initial) + self.assertPreciseEqual(expected, got) + + def _check_reduce_axis(self, ufunc, dtype, initial=None): + + @njit + def foo(a, axis): + return ufunc.reduce(a, axis=axis, initial=initial) + + def _check(*args): + try: + expected = foo.py_func(array, axis) + except ValueError as e: + self.assertEqual(e.args[0], exc_msg) + with self.assertRaisesRegex(TypingError, exc_msg): + got = foo(array, axis) + else: + got = foo(array, axis) + self.assertPreciseEqual(expected, got) + + exc_msg = (f"reduction operation '{ufunc.__name__}' is not " + "reorderable, so at most one axis may be specified") + inputs = [ + np.arange(40, dtype=dtype).reshape(5, 4, 2), + np.arange(10, dtype=dtype), + ] + for array in inputs: + for i in range(1, array.ndim + 1): + for axis in itertools.combinations(range(array.ndim), r=i): + _check(array, axis) + + # corner cases: Reduce over axis=() and axis=None + for axis in ((), None): + _check(array, axis) + + def test_add_reduce(self): + duadd = vectorize('int64(int64, int64)', identity=0)(pyuadd) + self._check_reduce(duadd) + self._check_reduce_axis(duadd, dtype=np.int64) + + def test_mul_reduce(self): + dumul = vectorize('int64(int64, int64)', identity=1)(pymult) + self._check_reduce(dumul) + + def test_non_associative_reduce(self): + dusub = vectorize('int64(int64, int64)', identity=None)(pysub) + dudiv = vectorize('int64(int64, int64)', identity=None)(pydiv) + self._check_reduce(dusub) + self._check_reduce_axis(dusub, dtype=np.int64) + self._check_reduce(dudiv) + self._check_reduce_axis(dudiv, dtype=np.int64) + + def test_reduce_dtype(self): + duadd = vectorize('float64(float64, int64)', identity=0)(pyuadd) + self._check_reduce(duadd, dtype=np.float64) + + def test_min_reduce(self): + dumin = vectorize('int64(int64, int64)', identity='reorderable')(pymin) + self._check_reduce(dumin, initial=10) + self._check_reduce_axis(dumin, dtype=np.int64) + + def test_add_reduce_initial(self): + # Initial should be used as a start + duadd = vectorize('int64(int64, int64)', identity=0)(pyuadd) + self._check_reduce(duadd, dtype=np.int64, initial=100) + + def test_add_reduce_no_initial_or_identity(self): + # don't provide an initial or identity value + duadd = vectorize('int64(int64, int64)')(pyuadd) + self._check_reduce(duadd, dtype=np.int64) + + def test_invalid_input(self): + duadd = vectorize('float64(float64, int64)', identity=0)(pyuadd) + + @njit + def foo(a): + return duadd.reduce(a) + + exc_msg = 'The first argument "array" must be array-like' + with self.assertRaisesRegex(TypingError, exc_msg): + foo('a') + + def test_dufunc_negative_axis(self): + duadd = vectorize('int64(int64, int64)', identity=0)(pyuadd) + + @njit + def foo(a, axis): + return duadd.reduce(a, axis=axis) + + a = np.arange(40).reshape(5, 4, 2) + cases = (0, -1, (0, -1), (-1, -2), (1, -1), -3) + for axis in cases: + expected = duadd.reduce(a, axis) + got = foo(a, axis) + self.assertPreciseEqual(expected, got) + + def test_dufunc_invalid_axis(self): + duadd = vectorize('int64(int64, int64)', identity=0)(pyuadd) + + @njit + def foo(a, axis): + return duadd.reduce(a, axis=axis) + + a = np.arange(40).reshape(5, 4, 2) + cases = ((0, 0), (0, 1, 0), (0, -3), (-1, -1), (-1, 2)) + for axis in cases: + msg = "duplicate value in 'axis'" + with self.assertRaisesRegex(ValueError, msg): + foo(a, axis) + + cases = (-4, 3, (0, -4),) + for axis in cases: + with self.assertRaisesRegex(ValueError, "Invalid axis"): + foo(a, axis) + + +class TestDUFuncReduceAt(TestDUFuncMethodsBase): + def _compare_output(self, ufunc, a, idx, **kwargs): + identity = getattr(ufunc, 'identity') + fn = self._reduceat(ufunc, identity) + expected = a.copy() + got = a.copy() + ufunc.reduceat(expected, idx, **kwargs) + fn(got, idx, **kwargs) + self.assertPreciseEqual(expected, got) + + def test_reduceat_out_kw(self): + arr = np.arange(4) + idx = np.asarray([0, 3, 1, 2]) + add_reduce = self._reduceat(np.add, 0) + add_reduce(arr, idx, out=arr) + self.assertPreciseEqual(np.asarray([3, 3, 3, 6]), arr) + add_reduce(arr, idx, out=arr) + self.assertPreciseEqual(np.asarray([9, 6, 6, 12]), arr) + + @unittest.expectedFailure + def test_reduceat_axis_kw(self): + arrays = ( + np.arange(16).reshape(4, 4), + np.arange(40).reshape(4, 5, 2), + np.ones((4, 4)) + ) + indices = ( + np.asarray([0, 3, 1, 2, 0]), + np.asarray([0, 3, 1, 2]), + ) + axis = (1, 0, -1) # needs gh-9296 + for array in arrays: + for idx in indices: + for ax in axis: + self._compare_output(np.add, array, idx, axis=ax) + + def test_reduceat_invalid_axis(self): + arr = np.ones((4, 4)) + idx = np.asarray([0, 3, 1, 2]) + add_reduceat = self._reduceat(np.add, 0) + + for ax in (2, -3): # needs gh-9296 + msg = (f'axis {ax} is out of bounds for array of dimension ' + f'{arr.ndim}') + with self.assertRaisesRegex(ValueError, msg): + add_reduceat(arr, idx, ax) + + def test_reduceat_cast_args_to_array(self): + add_reduceat = self._reduceat(np.add, 0) + + # cast array and indices + a = [1, 2, 3, 4] + idx = [1, 2, 3] + expected = np.add.reduceat(a, idx) + got = add_reduceat(a, idx) + self.assertPreciseEqual(expected, got) + + # array and indices as tuples + a = (1, 2, 3, 4) + idx = (1, 2, 3) + expected = np.add.reduceat(a, idx) + got = add_reduceat(a, idx) + self.assertPreciseEqual(expected, got) + + # tests below this line were copied from NumPy + # https://github.com/numpy/numpy/blob/7f8dc13b9bcaa26cb378b9c8246110ca1dc9ce75/numpy/_core/tests/test_ufunc.py#L200C1-L200C1 # noqa: E501 + def test_reduceat_basic(self): + x = np.arange(8) + idx = [0,4, 1,5, 2,6, 3,7] + self._compare_output(np.add, x, idx) + + def test_reduceat_basic_2d(self): + x = np.linspace(0, 15, 16).reshape(4, 4) + idx = [0, 3, 1, 2, 0] + self._compare_output(np.add, x, idx) + + def test_reduceat_shifting_sum(self): + L = 6 + x = np.arange(L) + idx = np.array(list(zip(np.arange(L - 2), np.arange(L - 2) + 2))).ravel() # noqa: E501 + self._compare_output(np.add, x, idx) + + def test_reduceat_int_array_reduceat_inplace(self): + # Checks that in-place reduceats work, see also gh-7465 + arr = np.ones(4, dtype=np.int64) + out = np.ones(4, dtype=np.int64) + self._compare_output(np.add, arr, np.arange(4), out=arr) + self._compare_output(np.add, arr, np.arange(4), out=arr) + self.assertPreciseEqual(arr, out) + + # needs gh-9296 + # And the same if the axis argument is used + arr = np.ones((2, 4), dtype=np.int64) + arr[0, :] = [2 for i in range(4)] + out = np.ones((2, 4), dtype=np.int64) + out[0, :] = [2 for i in range(4)] + self._compare_output(np.add, arr, np.arange(4), out=arr, axis=-1) + self._compare_output(np.add, arr, np.arange(4), out=arr, axis=-1) + self.assertPreciseEqual(arr, out) + + def test_reduceat_out_shape_mismatch(self): + # Should raise an error mentioning "shape" or "size" + # original test has an extra step for accumulate but we don't support + # it yet + add_reduceat = self._reduceat(np.add, 0) + + for with_cast in (True, False): + arr = np.arange(5) + out = np.arange(3) # definitely wrong shape + if with_cast: + # If a cast is necessary on the output, we can be sure to use + # the generic NpyIter (non-fast) path. + out = out.astype(np.float64) + + with self.assertRaises(ValueError): + add_reduceat(arr, [0, 3], out=out) + + def test_reduceat_empty(self): + """Reduceat should work with empty arrays""" + indices = np.array([], 'i4') + x = np.array([], 'f8') + add_reduceat = self._reduceat(np.add, 0) + expected = np.add.reduceat(x, indices) + got = add_reduceat(x, indices) + self.assertPreciseEqual(expected, got) + self.assertEqual(expected.dtype, got.dtype) + + # Another case with a slightly different zero-sized shape + x = np.ones((5, 2)) + idx = np.asarray([], dtype=np.intp) + self._compare_output(np.add, x, idx, axis=0) + self._compare_output(np.add, x, idx, axis=1) + + def test_reduceat_error_ndim_2(self): + add_reduceat = self._reduceat(np.add, 0) + + # indices ndim > 1 + a = np.arange(5) + idx = np.arange(10).reshape(5, 2) + with self.assertRaisesRegex(TypingError, 'have at most 1 dimension'): + add_reduceat(a, idx) + + def test_reduceat_error_non_binary_function(self): + # non binary functions + @vectorize + def neg(a): + return np.negative(a) + + @njit + def neg_reduceat(a, idx): + return neg.reduceat(a, idx) + + a = np.arange(5) + msg = 'reduceat only supported for binary functions' + with self.assertRaisesRegex(TypingError, msg): + neg_reduceat(a, [0, 1, 2]) + + def test_reduceat_error_argument_types(self): + # first argument must be array-like + add_reduceat = self._reduceat(np.add, 0) + with self.assertRaisesRegex(TypingError, '"array" must be array-like'): + add_reduceat('abc', [1, 2, 3]) + + with self.assertRaisesRegex(TypingError, '"indices" must be array-like'): # noqa: E501 + add_reduceat(np.arange(5), 'abcd') + + with self.assertRaisesRegex(TypingError, 'output must be an array'): + add_reduceat(np.arange(5), [1, 2, 3], out=()) + + with self.assertRaisesRegex(TypingError, '"axis" must be an integer'): + add_reduceat(np.arange(5), [1, 2, 3], axis=(1,)) + + +class TestDUFuncPickling(MemoryLeakMixin, unittest.TestCase): + def check(self, ident, result_type): + buf = pickle.dumps(ident) + rebuilt = pickle.loads(buf) + + # Check reconstructed dufunc + r = rebuilt(123) + self.assertEqual(123, r) + self.assertIsInstance(r, result_type) + + # Try to use reconstructed dufunc in @jit + @njit + def foo(x): + return rebuilt(x) + + r = foo(321) + self.assertEqual(321, r) + self.assertIsInstance(r, result_type) + + def test_unrestricted(self): + @vectorize + def ident(x1): + return x1 + + self.check(ident, result_type=(int, np.integer)) + + def test_restricted(self): + @vectorize(["float64(float64)"]) + def ident(x1): + return x1 + + self.check(ident, result_type=float) + + +if __name__ == "__main__": + unittest.main() diff --git a/shared/package-files/45/45380c599e7e9a60188a42fdab9046fa3fac95fd51b2b069bbc96dcc2f442fbd/grid_sampler.h b/shared/package-files/45/45380c599e7e9a60188a42fdab9046fa3fac95fd51b2b069bbc96dcc2f442fbd/grid_sampler.h new file mode 100644 index 0000000000000000000000000000000000000000..0309d3f821a7d79ef361a514edaa13c68c792e8e --- /dev/null +++ b/shared/package-files/45/45380c599e7e9a60188a42fdab9046fa3fac95fd51b2b069bbc96dcc2f442fbd/grid_sampler.h @@ -0,0 +1,30 @@ +#pragma once + +// @generated by torchgen/gen.py from Function.h + +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include + + + +#include + +namespace at { + + +// aten::grid_sampler(Tensor input, Tensor grid, int interpolation_mode, int padding_mode, bool align_corners) -> Tensor +inline at::Tensor grid_sampler(const at::Tensor & input, const at::Tensor & grid, int64_t interpolation_mode, int64_t padding_mode, bool align_corners) { + return at::_ops::grid_sampler::call(input, grid, interpolation_mode, padding_mode, align_corners); +} + +} diff --git a/shared/package-files/45/4538cb912f7d4cc12e138f3f0adc53794175ab6bab7769c4bc9d705818f5e459/METADATA b/shared/package-files/45/4538cb912f7d4cc12e138f3f0adc53794175ab6bab7769c4bc9d705818f5e459/METADATA new file mode 100644 index 0000000000000000000000000000000000000000..b67bd1de7eff1cea0221ba422019ee94ceaf536b --- /dev/null +++ b/shared/package-files/45/4538cb912f7d4cc12e138f3f0adc53794175ab6bab7769c4bc9d705818f5e459/METADATA @@ -0,0 +1,120 @@ +Metadata-Version: 2.1 +Name: conda-content-trust +Version: 0.2.0 +Summary: Signing and verification tools, geared toward the conda ecosystem. +Project-URL: repository, https://github.com/conda/conda-content-trust +Project-URL: changelog, https://github.com/conda/conda-content-trust/blob/main/CHANGELOG.md +Author-email: "Anaconda, Inc." +License: BSD License + + Copyright (c) 2019, Anaconda, Inc. + All rights reserved. + + Redistribution and use in source and binary forms, with or without modification, + are permitted provided that the following conditions are met: + + * Redistributions of source code must retain the above copyright notice, this + list of conditions and the following disclaimer. + + * Redistributions in binary form must reproduce the above copyright notice, this + list of conditions and the following disclaimer in the documentation and/or + other materials provided with the distribution. + + * Neither the name of the copyright holder nor the names of its + contributors may be used to endorse or promote products derived from this + software without specific prior written permission. + + THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" AND + ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED + WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. + IN NO EVENT SHALL THE COPYRIGHT HOLDER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, + INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, + BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, + DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY + OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE + OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED + OF THE POSSIBILITY OF SUCH DAMAGE. +License-File: AUTHORS.md +License-File: LICENSE +Keywords: authentication,compromise,conda,conda-authentication-resources,conda-content-trust,key,secure,signing,verify +Classifier: Development Status :: 4 - Beta +Classifier: Intended Audience :: Developers +Classifier: License :: OSI Approved :: BSD License +Classifier: Operating System :: OS Independent +Classifier: Programming Language :: Python :: 3 +Classifier: Programming Language :: Python :: 3 :: Only +Classifier: Programming Language :: Python :: 3.8 +Classifier: Programming Language :: Python :: 3.9 +Classifier: Programming Language :: Python :: 3.10 +Classifier: Programming Language :: Python :: 3.11 +Classifier: Programming Language :: Python :: Implementation :: CPython +Classifier: Programming Language :: Python :: Implementation :: PyPy +Requires-Python: >=3.8 +Requires-Dist: cryptography>=41 +Provides-Extra: gpgsigning +Requires-Dist: securesystemslib==0.13.1; extra == 'gpgsigning' +Description-Content-Type: text/markdown + +[ci-tests-badge]: https://github.com/conda/conda-content-trust/actions/workflows/tests.yml/badge.svg +[codecov-badge]: https://img.shields.io/codecov/c/github/conda/conda-content-trust/main.svg?label=coverage +[release-badge]: https://img.shields.io/github/release/conda/conda-content-trust.svg + +# Conda Content Trust: Signing and verification tools for Conda + +[![Tests (GitHub Actions)][ci-tests-badge]](https://github.com/conda/conda-content-trust/actions/workflows/tests.yml) +[![Codecov Status][codecov-badge]](https://codecov.io/gh/conda/conda-content-trust/branch/main) +[![latest release version][release-badge]](https://github.com/conda/conda-content-trust/releases) + +*What:* Based on [The Update Framework (TUF)](https://theupdateframework.io/), conda-content-trust is intended to ensure that when users in the conda ecosystem obtain a package or data about that package, they can know whether or not it is trustworthy (e.g. originally comes from a reliable source and has not been tampered with). A basic library and basic CLI are included to provide signing, verification, and trust delegation functionality. + +*Why:* This exists as an alteration of TUF because of the very particular needs of the conda ecosystem. (Developers are encouraged to *just use TUF* whenever possible!) + +*Where:* This tool is general purpose. It is currently used in conda 4.10.1+ to verify package metadata signatures when they are available ([announcement](https://www.anaconda.com/blog/conda-signature-verification), [instructions](https://docs.anaconda.com/anaconda-commercial/security)). + +## Installation + +Installation can be accomplished via conda: + +``` +conda install conda-content-trust +``` + +Or via pip: + +``` +pip install conda-content-trust +``` + +(If you intend to tinker with the code, feel free to use an editable install: `pip install -e .`) + +### Optional Dependencies for Producing Signatures with GPG Keys / YubiKeys + +If you intend to *create* *GPG* key signatures (as opposed to the typical non-GPG signatures), and/or you intend to use the YubiKey interface, you will need to install two optional dependencies: + +- `GPG` (any gpg client that provides command-line gpg functionality should do) +- `securesystemslib` (`pip install securesystemslib`) + +## Demonstration and Use + +Use of the command-line utility provides help functionality:: + +``` +conda-content-trust --help +``` + +You should be able to run the demo after installing: + +``` +python3 demo.py +``` + +(Portions of the demo may require the optional dependencies above.) + + +## Testing + +Each set of tests is a module in the `tests/` directory. These can all be run with: + +``` +pytest +``` diff --git a/shared/package-files/45/453c07cde17537d58c7ba6a906460cdaf689703a0febcdd97b9e3c4b74ff34df/decorator.py b/shared/package-files/45/453c07cde17537d58c7ba6a906460cdaf689703a0febcdd97b9e3c4b74ff34df/decorator.py new file mode 100644 index 0000000000000000000000000000000000000000..6d4e44733f93d5dc62f71559d7466ae58e41a6e9 --- /dev/null +++ b/shared/package-files/45/453c07cde17537d58c7ba6a906460cdaf689703a0febcdd97b9e3c4b74ff34df/decorator.py @@ -0,0 +1,330 @@ +"""Useful utility decorators. """ + +import sys +import types +import inspect +from functools import wraps, update_wrapper + +from sympy.utilities.exceptions import sympy_deprecation_warning + +def threaded_factory(func, use_add): + """A factory for ``threaded`` decorators. """ + from sympy.core import sympify + from sympy.matrices import MatrixBase + from sympy.utilities.iterables import iterable + + @wraps(func) + def threaded_func(expr, *args, **kwargs): + if isinstance(expr, MatrixBase): + return expr.applyfunc(lambda f: func(f, *args, **kwargs)) + elif iterable(expr): + try: + return expr.__class__([func(f, *args, **kwargs) for f in expr]) + except TypeError: + return expr + else: + expr = sympify(expr) + + if use_add and expr.is_Add: + return expr.__class__(*[ func(f, *args, **kwargs) for f in expr.args ]) + elif expr.is_Relational: + return expr.__class__(func(expr.lhs, *args, **kwargs), + func(expr.rhs, *args, **kwargs)) + else: + return func(expr, *args, **kwargs) + + return threaded_func + + +def threaded(func): + """Apply ``func`` to sub--elements of an object, including :class:`~.Add`. + + This decorator is intended to make it uniformly possible to apply a + function to all elements of composite objects, e.g. matrices, lists, tuples + and other iterable containers, or just expressions. + + This version of :func:`threaded` decorator allows threading over + elements of :class:`~.Add` class. If this behavior is not desirable + use :func:`xthreaded` decorator. + + Functions using this decorator must have the following signature:: + + @threaded + def function(expr, *args, **kwargs): + + """ + return threaded_factory(func, True) + + +def xthreaded(func): + """Apply ``func`` to sub--elements of an object, excluding :class:`~.Add`. + + This decorator is intended to make it uniformly possible to apply a + function to all elements of composite objects, e.g. matrices, lists, tuples + and other iterable containers, or just expressions. + + This version of :func:`threaded` decorator disallows threading over + elements of :class:`~.Add` class. If this behavior is not desirable + use :func:`threaded` decorator. + + Functions using this decorator must have the following signature:: + + @xthreaded + def function(expr, *args, **kwargs): + + """ + return threaded_factory(func, False) + + +def conserve_mpmath_dps(func): + """After the function finishes, resets the value of mpmath.mp.dps to + the value it had before the function was run.""" + import mpmath + + def func_wrapper(*args, **kwargs): + dps = mpmath.mp.dps + try: + return func(*args, **kwargs) + finally: + mpmath.mp.dps = dps + + func_wrapper = update_wrapper(func_wrapper, func) + return func_wrapper + + +class no_attrs_in_subclass: + """Don't 'inherit' certain attributes from a base class + + >>> from sympy.utilities.decorator import no_attrs_in_subclass + + >>> class A(object): + ... x = 'test' + + >>> A.x = no_attrs_in_subclass(A, A.x) + + >>> class B(A): + ... pass + + >>> hasattr(A, 'x') + True + >>> hasattr(B, 'x') + False + + """ + def __init__(self, cls, f): + self.cls = cls + self.f = f + + def __get__(self, instance, owner=None): + if owner == self.cls: + if hasattr(self.f, '__get__'): + return self.f.__get__(instance, owner) + return self.f + raise AttributeError + + +def doctest_depends_on(exe=None, modules=None, disable_viewers=None, python_version=None): + """ + Adds metadata about the dependencies which need to be met for doctesting + the docstrings of the decorated objects. + + exe should be a list of executables + + modules should be a list of modules + + disable_viewers should be a list of viewers for preview() to disable + + python_version should be the minimum Python version required, as a tuple + (like (3, 0)) + """ + dependencies = {} + if exe is not None: + dependencies['executables'] = exe + if modules is not None: + dependencies['modules'] = modules + if disable_viewers is not None: + dependencies['disable_viewers'] = disable_viewers + if python_version is not None: + dependencies['python_version'] = python_version + + def skiptests(): + from sympy.testing.runtests import DependencyError, SymPyDocTests, PyTestReporter # lazy import + r = PyTestReporter() + t = SymPyDocTests(r, None) + try: + t._check_dependencies(**dependencies) + except DependencyError: + return True # Skip doctests + else: + return False # Run doctests + + def depends_on_deco(fn): + fn._doctest_depends_on = dependencies + fn.__doctest_skip__ = skiptests + + if inspect.isclass(fn): + fn._doctest_depdends_on = no_attrs_in_subclass( + fn, fn._doctest_depends_on) + fn.__doctest_skip__ = no_attrs_in_subclass( + fn, fn.__doctest_skip__) + return fn + + return depends_on_deco + + +def public(obj): + """ + Append ``obj``'s name to global ``__all__`` variable (call site). + + By using this decorator on functions or classes you achieve the same goal + as by filling ``__all__`` variables manually, you just do not have to repeat + yourself (object's name). You also know if object is public at definition + site, not at some random location (where ``__all__`` was set). + + Note that in multiple decorator setup (in almost all cases) ``@public`` + decorator must be applied before any other decorators, because it relies + on the pointer to object's global namespace. If you apply other decorators + first, ``@public`` may end up modifying the wrong namespace. + + Examples + ======== + + >>> from sympy.utilities.decorator import public + + >>> __all__ # noqa: F821 + Traceback (most recent call last): + ... + NameError: name '__all__' is not defined + + >>> @public + ... def some_function(): + ... pass + + >>> __all__ # noqa: F821 + ['some_function'] + + """ + if isinstance(obj, types.FunctionType): + ns = obj.__globals__ + name = obj.__name__ + elif isinstance(obj, (type(type), type)): + ns = sys.modules[obj.__module__].__dict__ + name = obj.__name__ + else: + raise TypeError("expected a function or a class, got %s" % obj) + + if "__all__" not in ns: + ns["__all__"] = [name] + else: + ns["__all__"].append(name) + + return obj + + +def memoize_property(propfunc): + """Property decorator that caches the value of potentially expensive + `propfunc` after the first evaluation. The cached value is stored in + the corresponding property name with an attached underscore.""" + attrname = '_' + propfunc.__name__ + sentinel = object() + + @wraps(propfunc) + def accessor(self): + val = getattr(self, attrname, sentinel) + if val is sentinel: + val = propfunc(self) + setattr(self, attrname, val) + return val + + return property(accessor) + + +def deprecated(message, *, deprecated_since_version, + active_deprecations_target, stacklevel=3): + ''' + Mark a function as deprecated. + + This decorator should be used if an entire function or class is + deprecated. If only a certain functionality is deprecated, you should use + :func:`~.warns_deprecated_sympy` directly. This decorator is just a + convenience. There is no functional difference between using this + decorator and calling ``warns_deprecated_sympy()`` at the top of the + function. + + The decorator takes the same arguments as + :func:`~.warns_deprecated_sympy`. See its + documentation for details on what the keywords to this decorator do. + + See the :ref:`deprecation-policy` document for details on when and how + things should be deprecated in SymPy. + + Examples + ======== + + >>> from sympy.utilities.decorator import deprecated + >>> from sympy import simplify + >>> @deprecated("""\ + ... The simplify_this(expr) function is deprecated. Use simplify(expr) + ... instead.""", deprecated_since_version="1.1", + ... active_deprecations_target='simplify-this-deprecation') + ... def simplify_this(expr): + ... """ + ... Simplify ``expr``. + ... + ... .. deprecated:: 1.1 + ... + ... The ``simplify_this`` function is deprecated. Use :func:`simplify` + ... instead. See its documentation for more information. See + ... :ref:`simplify-this-deprecation` for details. + ... + ... """ + ... return simplify(expr) + >>> from sympy.abc import x + >>> simplify_this(x*(x + 1) - x**2) # doctest: +SKIP + :1: SymPyDeprecationWarning: + + The simplify_this(expr) function is deprecated. Use simplify(expr) + instead. + + See https://docs.sympy.org/latest/explanation/active-deprecations.html#simplify-this-deprecation + for details. + + This has been deprecated since SymPy version 1.1. It + will be removed in a future version of SymPy. + + simplify_this(x) + x + + See Also + ======== + sympy.utilities.exceptions.SymPyDeprecationWarning + sympy.utilities.exceptions.sympy_deprecation_warning + sympy.utilities.exceptions.ignore_warnings + sympy.testing.pytest.warns_deprecated_sympy + + ''' + decorator_kwargs = {"deprecated_since_version": deprecated_since_version, + "active_deprecations_target": active_deprecations_target} + def deprecated_decorator(wrapped): + if hasattr(wrapped, '__mro__'): # wrapped is actually a class + class wrapper(wrapped): + __doc__ = wrapped.__doc__ + __module__ = wrapped.__module__ + _sympy_deprecated_func = wrapped + if '__new__' in wrapped.__dict__: + def __new__(cls, *args, **kwargs): + sympy_deprecation_warning(message, **decorator_kwargs, stacklevel=stacklevel) + return super().__new__(cls, *args, **kwargs) + else: + def __init__(self, *args, **kwargs): + sympy_deprecation_warning(message, **decorator_kwargs, stacklevel=stacklevel) + super().__init__(*args, **kwargs) + wrapper.__name__ = wrapped.__name__ + else: + @wraps(wrapped) + def wrapper(*args, **kwargs): + sympy_deprecation_warning(message, **decorator_kwargs, stacklevel=stacklevel) + return wrapped(*args, **kwargs) + wrapper._sympy_deprecated_func = wrapped + return wrapper + return deprecated_decorator diff --git a/shared/package-files/45/453f61033d61bd72d5d306565ef44e28bee0c6fffc7adf807dd35452bb7b70d8/wy325-42w-vb b/shared/package-files/45/453f61033d61bd72d5d306565ef44e28bee0c6fffc7adf807dd35452bb7b70d8/wy325-42w-vb new file mode 100644 index 0000000000000000000000000000000000000000..0c8693322e06d26be8dd1e364a8003b2aa345847 Binary files /dev/null and b/shared/package-files/45/453f61033d61bd72d5d306565ef44e28bee0c6fffc7adf807dd35452bb7b70d8/wy325-42w-vb differ diff --git a/shared/package-files/45/453f61033d61bd72d5d306565ef44e28bee0c6fffc7adf807dd35452bb7b70d8/wy325-42wvb b/shared/package-files/45/453f61033d61bd72d5d306565ef44e28bee0c6fffc7adf807dd35452bb7b70d8/wy325-42wvb new file mode 100644 index 0000000000000000000000000000000000000000..0c8693322e06d26be8dd1e364a8003b2aa345847 Binary files /dev/null and b/shared/package-files/45/453f61033d61bd72d5d306565ef44e28bee0c6fffc7adf807dd35452bb7b70d8/wy325-42wvb differ diff --git a/shared/package-files/45/45428de95f90c919405b9a1180883251f8ac5ed3c3990240ac1ea1909f501324/_adaptive_avg_pool2d_ops.h b/shared/package-files/45/45428de95f90c919405b9a1180883251f8ac5ed3c3990240ac1ea1909f501324/_adaptive_avg_pool2d_ops.h new file mode 100644 index 0000000000000000000000000000000000000000..938cee9d7e5008c1b582aad1865ad6a917deb013 --- /dev/null +++ b/shared/package-files/45/45428de95f90c919405b9a1180883251f8ac5ed3c3990240ac1ea1909f501324/_adaptive_avg_pool2d_ops.h @@ -0,0 +1,39 @@ +#pragma once + +// @generated by torchgen/gen.py from Operator.h + +#include +#include + +// Forward declarations of any types needed in the operator signatures. +// We can't directly include these classes because it will cause circular include dependencies. +// This file is included by TensorBody.h, which defines the Tensor class. +#include + +namespace at { +namespace _ops { + + +struct TORCH_API _adaptive_avg_pool2d { + using schema = at::Tensor (const at::Tensor &, c10::SymIntArrayRef); + using ptr_schema = schema*; + // See Note [static constexpr char* members for windows NVCC] + STATIC_CONSTEXPR_STR_INL_EXCEPT_WIN_CUDA(name, "aten::_adaptive_avg_pool2d") + STATIC_CONSTEXPR_STR_INL_EXCEPT_WIN_CUDA(overload_name, "") + STATIC_CONSTEXPR_STR_INL_EXCEPT_WIN_CUDA(schema_str, "_adaptive_avg_pool2d(Tensor self, SymInt[2] output_size) -> Tensor") + static at::Tensor call(const at::Tensor & self, c10::SymIntArrayRef output_size); + static at::Tensor redispatch(c10::DispatchKeySet dispatchKeySet, const at::Tensor & self, c10::SymIntArrayRef output_size); +}; + +struct TORCH_API _adaptive_avg_pool2d_out { + using schema = at::Tensor & (const at::Tensor &, c10::SymIntArrayRef, at::Tensor &); + using ptr_schema = schema*; + // See Note [static constexpr char* members for windows NVCC] + STATIC_CONSTEXPR_STR_INL_EXCEPT_WIN_CUDA(name, "aten::_adaptive_avg_pool2d") + STATIC_CONSTEXPR_STR_INL_EXCEPT_WIN_CUDA(overload_name, "out") + STATIC_CONSTEXPR_STR_INL_EXCEPT_WIN_CUDA(schema_str, "_adaptive_avg_pool2d.out(Tensor self, SymInt[2] output_size, *, Tensor(a!) out) -> Tensor(a!)") + static at::Tensor & call(const at::Tensor & self, c10::SymIntArrayRef output_size, at::Tensor & out); + static at::Tensor & redispatch(c10::DispatchKeySet dispatchKeySet, const at::Tensor & self, c10::SymIntArrayRef output_size, at::Tensor & out); +}; + +}} // namespace at::_ops diff --git a/shared/package-files/45/4545f1638a787297aef7940e3c4bd0e5c505aa604fb331973b19d6f7afb78dcf/__init__.py b/shared/package-files/45/4545f1638a787297aef7940e3c4bd0e5c505aa604fb331973b19d6f7afb78dcf/__init__.py new file mode 100644 index 0000000000000000000000000000000000000000..f9c5b7bcbecf966a32561ed7c407a294a499c8c6 --- /dev/null +++ b/shared/package-files/45/4545f1638a787297aef7940e3c4bd0e5c505aa604fb331973b19d6f7afb78dcf/__init__.py @@ -0,0 +1,79 @@ +"""Datasets module""" +from statsmodels.tools._test_runner import PytestTester + +from . import ( + anes96, + cancer, + ccard, + china_smoking, + co2, + committee, + copper, + cpunish, + danish_data, + elnino, + engel, + fair, + fertility, + grunfeld, + heart, + interest_inflation, + longley, + macrodata, + modechoice, + nile, + randhie, + scotland, + spector, + stackloss, + star98, + statecrime, + strikes, + sunspots, +) +from .utils import ( + check_internet, + clear_data_home, + get_data_home, + get_rdataset, + webuse, +) + +__all__ = [ + "anes96", + "cancer", + "ccard", + "check_internet", + "china_smoking", + "clear_data_home", + "co2", + "committee", + "copper", + "cpunish", + "danish_data", + "elnino", + "engel", + "fair", + "fertility", + "get_data_home", + "get_rdataset", + "grunfeld", + "heart", + "interest_inflation", + "longley", + "macrodata", + "modechoice", + "nile", + "randhie", + "scotland", + "spector", + "stackloss", + "star98", + "statecrime", + "strikes", + "sunspots", + "test", + "webuse", +] + +test = PytestTester() diff --git a/shared/package-files/45/45470a7a69abc2e2b944546bd7d6123d53023a465f2c05a56db079eaef168b48/from_indexed_to_array.py b/shared/package-files/45/45470a7a69abc2e2b944546bd7d6123d53023a465f2c05a56db079eaef168b48/from_indexed_to_array.py new file mode 100644 index 0000000000000000000000000000000000000000..c219a205c4305bd7070e5117978146224521c58c --- /dev/null +++ b/shared/package-files/45/45470a7a69abc2e2b944546bd7d6123d53023a465f2c05a56db079eaef168b48/from_indexed_to_array.py @@ -0,0 +1,257 @@ +from collections import defaultdict + +from sympy import Function +from sympy.combinatorics.permutations import _af_invert +from sympy.concrete.summations import Sum +from sympy.core.add import Add +from sympy.core.mul import Mul +from sympy.core.numbers import Integer +from sympy.core.power import Pow +from sympy.core.sorting import default_sort_key +from sympy.functions.special.tensor_functions import KroneckerDelta +from sympy.tensor.array.expressions import ArrayElementwiseApplyFunc +from sympy.tensor.indexed import (Indexed, IndexedBase) +from sympy.combinatorics import Permutation +from sympy.matrices.expressions.matexpr import MatrixElement +from sympy.tensor.array.expressions.array_expressions import ArrayDiagonal, \ + get_shape, ArrayElement, _array_tensor_product, _array_diagonal, _array_contraction, _array_add, \ + _permute_dims, OneArray, ArrayAdd +from sympy.tensor.array.expressions.utils import _get_argindex, _get_diagonal_indices + + +def convert_indexed_to_array(expr, first_indices=None): + r""" + Parse indexed expression into a form useful for code generation. + + Examples + ======== + + >>> from sympy.tensor.array.expressions.from_indexed_to_array import convert_indexed_to_array + >>> from sympy import MatrixSymbol, Sum, symbols + + >>> i, j, k, d = symbols("i j k d") + >>> M = MatrixSymbol("M", d, d) + >>> N = MatrixSymbol("N", d, d) + + Recognize the trace in summation form: + + >>> expr = Sum(M[i, i], (i, 0, d-1)) + >>> convert_indexed_to_array(expr) + ArrayContraction(M, (0, 1)) + + Recognize the extraction of the diagonal by using the same index `i` on + both axes of the matrix: + + >>> expr = M[i, i] + >>> convert_indexed_to_array(expr) + ArrayDiagonal(M, (0, 1)) + + This function can help perform the transformation expressed in two + different mathematical notations as: + + `\sum_{j=0}^{N-1} A_{i,j} B_{j,k} \Longrightarrow \mathbf{A}\cdot \mathbf{B}` + + Recognize the matrix multiplication in summation form: + + >>> expr = Sum(M[i, j]*N[j, k], (j, 0, d-1)) + >>> convert_indexed_to_array(expr) + ArrayContraction(ArrayTensorProduct(M, N), (1, 2)) + + Specify that ``k`` has to be the starting index: + + >>> convert_indexed_to_array(expr, first_indices=[k]) + ArrayContraction(ArrayTensorProduct(N, M), (0, 3)) + """ + + result, indices = _convert_indexed_to_array(expr) + + if any(isinstance(i, (int, Integer)) for i in indices): + result = ArrayElement(result, indices) + indices = [] + + if not first_indices: + return result + + def _check_is_in(elem, indices): + if elem in indices: + return True + if any(elem in i for i in indices if isinstance(i, frozenset)): + return True + return False + + repl = {j: i for i in indices if isinstance(i, frozenset) for j in i} + first_indices = [repl.get(i, i) for i in first_indices] + for i in first_indices: + if not _check_is_in(i, indices): + first_indices.remove(i) + first_indices.extend([i for i in indices if not _check_is_in(i, first_indices)]) + + def _get_pos(elem, indices): + if elem in indices: + return indices.index(elem) + for i, e in enumerate(indices): + if not isinstance(e, frozenset): + continue + if elem in e: + return i + raise ValueError("not found") + + permutation = _af_invert([_get_pos(i, first_indices) for i in indices]) + if isinstance(result, ArrayAdd): + return _array_add(*[_permute_dims(arg, permutation) for arg in result.args]) + else: + return _permute_dims(result, permutation) + + +def _convert_indexed_to_array(expr): + if isinstance(expr, Sum): + function = expr.function + summation_indices = expr.variables + subexpr, subindices = _convert_indexed_to_array(function) + subindicessets = {j: i for i in subindices if isinstance(i, frozenset) for j in i} + summation_indices = sorted({subindicessets.get(i, i) for i in summation_indices}, key=default_sort_key) + # TODO: check that Kronecker delta is only contracted to one other element: + kronecker_indices = set() + if isinstance(function, Mul): + for arg in function.args: + if not isinstance(arg, KroneckerDelta): + continue + arg_indices = sorted(set(arg.indices), key=default_sort_key) + if len(arg_indices) == 2: + kronecker_indices.update(arg_indices) + kronecker_indices = sorted(kronecker_indices, key=default_sort_key) + # Check dimensional consistency: + shape = get_shape(subexpr) + if shape: + for ind, istart, iend in expr.limits: + i = _get_argindex(subindices, ind) + if istart != 0 or iend+1 != shape[i]: + raise ValueError("summation index and array dimension mismatch: %s" % ind) + contraction_indices = [] + subindices = list(subindices) + if isinstance(subexpr, ArrayDiagonal): + diagonal_indices = list(subexpr.diagonal_indices) + dindices = subindices[-len(diagonal_indices):] + subindices = subindices[:-len(diagonal_indices)] + for index in summation_indices: + if index in dindices: + position = dindices.index(index) + contraction_indices.append(diagonal_indices[position]) + diagonal_indices[position] = None + diagonal_indices = [i for i in diagonal_indices if i is not None] + for i, ind in enumerate(subindices): + if ind in summation_indices: + pass + if diagonal_indices: + subexpr = _array_diagonal(subexpr.expr, *diagonal_indices) + else: + subexpr = subexpr.expr + + axes_contraction = defaultdict(list) + for i, ind in enumerate(subindices): + include = all(j not in kronecker_indices for j in ind) if isinstance(ind, frozenset) else ind not in kronecker_indices + if ind in summation_indices and include: + axes_contraction[ind].append(i) + subindices[i] = None + for k, v in axes_contraction.items(): + if any(i in kronecker_indices for i in k) if isinstance(k, frozenset) else k in kronecker_indices: + continue + contraction_indices.append(tuple(v)) + free_indices = [i for i in subindices if i is not None] + indices_ret = list(free_indices) + indices_ret.sort(key=lambda x: free_indices.index(x)) + return _array_contraction( + subexpr, + *contraction_indices, + free_indices=free_indices + ), tuple(indices_ret) + if isinstance(expr, Mul): + args, indices = zip(*[_convert_indexed_to_array(arg) for arg in expr.args]) + # Check if there are KroneckerDelta objects: + kronecker_delta_repl = {} + for arg in args: + if not isinstance(arg, KroneckerDelta): + continue + # Diagonalize two indices: + i, j = arg.indices + kindices = set(arg.indices) + if i in kronecker_delta_repl: + kindices.update(kronecker_delta_repl[i]) + if j in kronecker_delta_repl: + kindices.update(kronecker_delta_repl[j]) + kindices = frozenset(kindices) + for index in kindices: + kronecker_delta_repl[index] = kindices + # Remove KroneckerDelta objects, their relations should be handled by + # ArrayDiagonal: + newargs = [] + newindices = [] + for arg, loc_indices in zip(args, indices): + if isinstance(arg, KroneckerDelta): + continue + newargs.append(arg) + newindices.append(loc_indices) + flattened_indices = [kronecker_delta_repl.get(j, j) for i in newindices for j in i] + diagonal_indices, ret_indices = _get_diagonal_indices(flattened_indices) + tp = _array_tensor_product(*newargs) + if diagonal_indices: + return _array_diagonal(tp, *diagonal_indices), ret_indices + else: + return tp, ret_indices + if isinstance(expr, MatrixElement): + indices = expr.args[1:] + diagonal_indices, ret_indices = _get_diagonal_indices(indices) + if diagonal_indices: + return _array_diagonal(expr.args[0], *diagonal_indices), ret_indices + else: + return expr.args[0], ret_indices + if isinstance(expr, ArrayElement): + indices = expr.indices + diagonal_indices, ret_indices = _get_diagonal_indices(indices) + if diagonal_indices: + return _array_diagonal(expr.name, *diagonal_indices), ret_indices + else: + return expr.name, ret_indices + if isinstance(expr, Indexed): + indices = expr.indices + diagonal_indices, ret_indices = _get_diagonal_indices(indices) + if diagonal_indices: + return _array_diagonal(expr.base, *diagonal_indices), ret_indices + else: + return expr.args[0], ret_indices + if isinstance(expr, IndexedBase): + raise NotImplementedError + if isinstance(expr, KroneckerDelta): + return expr, expr.indices + if isinstance(expr, Add): + args, indices = zip(*[_convert_indexed_to_array(arg) for arg in expr.args]) + args = list(args) + # Check if all indices are compatible. Otherwise expand the dimensions: + index0 = [] + shape0 = [] + for arg, arg_indices in zip(args, indices): + arg_indices_set = set(arg_indices) + arg_indices_missing = arg_indices_set.difference(index0) + index0.extend([i for i in arg_indices if i in arg_indices_missing]) + arg_shape = get_shape(arg) + shape0.extend([arg_shape[i] for i, e in enumerate(arg_indices) if e in arg_indices_missing]) + for i, (arg, arg_indices) in enumerate(zip(args, indices)): + if len(arg_indices) < len(index0): + missing_indices_pos = [i for i, e in enumerate(index0) if e not in arg_indices] + missing_shape = [shape0[i] for i in missing_indices_pos] + arg_indices = tuple(index0[j] for j in missing_indices_pos) + arg_indices + args[i] = _array_tensor_product(OneArray(*missing_shape), args[i]) + permutation = Permutation([arg_indices.index(j) for j in index0]) + # Perform index permutations: + args[i] = _permute_dims(args[i], permutation) + return _array_add(*args), tuple(index0) + if isinstance(expr, Pow): + subexpr, subindices = _convert_indexed_to_array(expr.base) + if isinstance(expr.exp, (int, Integer)): + diags = zip(*[(2*i, 2*i + 1) for i in range(expr.exp)]) + arr = _array_diagonal(_array_tensor_product(*[subexpr for i in range(expr.exp)]), *diags) + return arr, subindices + if isinstance(expr, Function): + subexpr, subindices = _convert_indexed_to_array(expr.args[0]) + return ArrayElementwiseApplyFunc(type(expr), subexpr), subindices + return expr, () diff --git a/shared/package-files/45/454808c913c51ad550c413d18b3910e793e1a78e6488f688bfc2923bd326bd98/adaptive_max_pool1d.h b/shared/package-files/45/454808c913c51ad550c413d18b3910e793e1a78e6488f688bfc2923bd326bd98/adaptive_max_pool1d.h new file mode 100644 index 0000000000000000000000000000000000000000..365370f05de4f1f6f6eb40026ec694f1e5360c02 --- /dev/null +++ b/shared/package-files/45/454808c913c51ad550c413d18b3910e793e1a78e6488f688bfc2923bd326bd98/adaptive_max_pool1d.h @@ -0,0 +1,30 @@ +#pragma once + +// @generated by torchgen/gen.py from Function.h + +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include + + + +#include + +namespace at { + + +// aten::adaptive_max_pool1d(Tensor self, int[1] output_size) -> (Tensor, Tensor) +inline ::std::tuple adaptive_max_pool1d(const at::Tensor & self, at::IntArrayRef output_size) { + return at::_ops::adaptive_max_pool1d::call(self, output_size); +} + +} diff --git a/shared/package-files/45/4549db517166a16368fd76c428b99548cf0b503732bfa8c6649f061a9662ffa5/resnet.py b/shared/package-files/45/4549db517166a16368fd76c428b99548cf0b503732bfa8c6649f061a9662ffa5/resnet.py new file mode 100644 index 0000000000000000000000000000000000000000..a1cb2884013c053118555344617e4b1efb8ddaab --- /dev/null +++ b/shared/package-files/45/4549db517166a16368fd76c428b99548cf0b503732bfa8c6649f061a9662ffa5/resnet.py @@ -0,0 +1,503 @@ +from functools import partial +from typing import Any, Callable, List, Optional, Sequence, Tuple, Type, Union + +import torch.nn as nn +from torch import Tensor + +from ...transforms._presets import VideoClassification +from ...utils import _log_api_usage_once +from .._api import register_model, Weights, WeightsEnum +from .._meta import _KINETICS400_CATEGORIES +from .._utils import _ovewrite_named_param, handle_legacy_interface + + +__all__ = [ + "VideoResNet", + "R3D_18_Weights", + "MC3_18_Weights", + "R2Plus1D_18_Weights", + "r3d_18", + "mc3_18", + "r2plus1d_18", +] + + +class Conv3DSimple(nn.Conv3d): + def __init__( + self, in_planes: int, out_planes: int, midplanes: Optional[int] = None, stride: int = 1, padding: int = 1 + ) -> None: + + super().__init__( + in_channels=in_planes, + out_channels=out_planes, + kernel_size=(3, 3, 3), + stride=stride, + padding=padding, + bias=False, + ) + + @staticmethod + def get_downsample_stride(stride: int) -> Tuple[int, int, int]: + return stride, stride, stride + + +class Conv2Plus1D(nn.Sequential): + def __init__(self, in_planes: int, out_planes: int, midplanes: int, stride: int = 1, padding: int = 1) -> None: + super().__init__( + nn.Conv3d( + in_planes, + midplanes, + kernel_size=(1, 3, 3), + stride=(1, stride, stride), + padding=(0, padding, padding), + bias=False, + ), + nn.BatchNorm3d(midplanes), + nn.ReLU(inplace=True), + nn.Conv3d( + midplanes, out_planes, kernel_size=(3, 1, 1), stride=(stride, 1, 1), padding=(padding, 0, 0), bias=False + ), + ) + + @staticmethod + def get_downsample_stride(stride: int) -> Tuple[int, int, int]: + return stride, stride, stride + + +class Conv3DNoTemporal(nn.Conv3d): + def __init__( + self, in_planes: int, out_planes: int, midplanes: Optional[int] = None, stride: int = 1, padding: int = 1 + ) -> None: + + super().__init__( + in_channels=in_planes, + out_channels=out_planes, + kernel_size=(1, 3, 3), + stride=(1, stride, stride), + padding=(0, padding, padding), + bias=False, + ) + + @staticmethod + def get_downsample_stride(stride: int) -> Tuple[int, int, int]: + return 1, stride, stride + + +class BasicBlock(nn.Module): + + expansion = 1 + + def __init__( + self, + inplanes: int, + planes: int, + conv_builder: Callable[..., nn.Module], + stride: int = 1, + downsample: Optional[nn.Module] = None, + ) -> None: + midplanes = (inplanes * planes * 3 * 3 * 3) // (inplanes * 3 * 3 + 3 * planes) + + super().__init__() + self.conv1 = nn.Sequential( + conv_builder(inplanes, planes, midplanes, stride), nn.BatchNorm3d(planes), nn.ReLU(inplace=True) + ) + self.conv2 = nn.Sequential(conv_builder(planes, planes, midplanes), nn.BatchNorm3d(planes)) + self.relu = nn.ReLU(inplace=True) + self.downsample = downsample + self.stride = stride + + def forward(self, x: Tensor) -> Tensor: + residual = x + + out = self.conv1(x) + out = self.conv2(out) + if self.downsample is not None: + residual = self.downsample(x) + + out += residual + out = self.relu(out) + + return out + + +class Bottleneck(nn.Module): + expansion = 4 + + def __init__( + self, + inplanes: int, + planes: int, + conv_builder: Callable[..., nn.Module], + stride: int = 1, + downsample: Optional[nn.Module] = None, + ) -> None: + + super().__init__() + midplanes = (inplanes * planes * 3 * 3 * 3) // (inplanes * 3 * 3 + 3 * planes) + + # 1x1x1 + self.conv1 = nn.Sequential( + nn.Conv3d(inplanes, planes, kernel_size=1, bias=False), nn.BatchNorm3d(planes), nn.ReLU(inplace=True) + ) + # Second kernel + self.conv2 = nn.Sequential( + conv_builder(planes, planes, midplanes, stride), nn.BatchNorm3d(planes), nn.ReLU(inplace=True) + ) + + # 1x1x1 + self.conv3 = nn.Sequential( + nn.Conv3d(planes, planes * self.expansion, kernel_size=1, bias=False), + nn.BatchNorm3d(planes * self.expansion), + ) + self.relu = nn.ReLU(inplace=True) + self.downsample = downsample + self.stride = stride + + def forward(self, x: Tensor) -> Tensor: + residual = x + + out = self.conv1(x) + out = self.conv2(out) + out = self.conv3(out) + + if self.downsample is not None: + residual = self.downsample(x) + + out += residual + out = self.relu(out) + + return out + + +class BasicStem(nn.Sequential): + """The default conv-batchnorm-relu stem""" + + def __init__(self) -> None: + super().__init__( + nn.Conv3d(3, 64, kernel_size=(3, 7, 7), stride=(1, 2, 2), padding=(1, 3, 3), bias=False), + nn.BatchNorm3d(64), + nn.ReLU(inplace=True), + ) + + +class R2Plus1dStem(nn.Sequential): + """R(2+1)D stem is different than the default one as it uses separated 3D convolution""" + + def __init__(self) -> None: + super().__init__( + nn.Conv3d(3, 45, kernel_size=(1, 7, 7), stride=(1, 2, 2), padding=(0, 3, 3), bias=False), + nn.BatchNorm3d(45), + nn.ReLU(inplace=True), + nn.Conv3d(45, 64, kernel_size=(3, 1, 1), stride=(1, 1, 1), padding=(1, 0, 0), bias=False), + nn.BatchNorm3d(64), + nn.ReLU(inplace=True), + ) + + +class VideoResNet(nn.Module): + def __init__( + self, + block: Type[Union[BasicBlock, Bottleneck]], + conv_makers: Sequence[Type[Union[Conv3DSimple, Conv3DNoTemporal, Conv2Plus1D]]], + layers: List[int], + stem: Callable[..., nn.Module], + num_classes: int = 400, + zero_init_residual: bool = False, + ) -> None: + """Generic resnet video generator. + + Args: + block (Type[Union[BasicBlock, Bottleneck]]): resnet building block + conv_makers (List[Type[Union[Conv3DSimple, Conv3DNoTemporal, Conv2Plus1D]]]): generator + function for each layer + layers (List[int]): number of blocks per layer + stem (Callable[..., nn.Module]): module specifying the ResNet stem. + num_classes (int, optional): Dimension of the final FC layer. Defaults to 400. + zero_init_residual (bool, optional): Zero init bottleneck residual BN. Defaults to False. + """ + super().__init__() + _log_api_usage_once(self) + self.inplanes = 64 + + self.stem = stem() + + self.layer1 = self._make_layer(block, conv_makers[0], 64, layers[0], stride=1) + self.layer2 = self._make_layer(block, conv_makers[1], 128, layers[1], stride=2) + self.layer3 = self._make_layer(block, conv_makers[2], 256, layers[2], stride=2) + self.layer4 = self._make_layer(block, conv_makers[3], 512, layers[3], stride=2) + + self.avgpool = nn.AdaptiveAvgPool3d((1, 1, 1)) + self.fc = nn.Linear(512 * block.expansion, num_classes) + + # init weights + for m in self.modules(): + if isinstance(m, nn.Conv3d): + nn.init.kaiming_normal_(m.weight, mode="fan_out", nonlinearity="relu") + if m.bias is not None: + nn.init.constant_(m.bias, 0) + elif isinstance(m, nn.BatchNorm3d): + nn.init.constant_(m.weight, 1) + nn.init.constant_(m.bias, 0) + elif isinstance(m, nn.Linear): + nn.init.normal_(m.weight, 0, 0.01) + nn.init.constant_(m.bias, 0) + + if zero_init_residual: + for m in self.modules(): + if isinstance(m, Bottleneck): + nn.init.constant_(m.bn3.weight, 0) # type: ignore[union-attr, arg-type] + + def forward(self, x: Tensor) -> Tensor: + x = self.stem(x) + + x = self.layer1(x) + x = self.layer2(x) + x = self.layer3(x) + x = self.layer4(x) + + x = self.avgpool(x) + # Flatten the layer to fc + x = x.flatten(1) + x = self.fc(x) + + return x + + def _make_layer( + self, + block: Type[Union[BasicBlock, Bottleneck]], + conv_builder: Type[Union[Conv3DSimple, Conv3DNoTemporal, Conv2Plus1D]], + planes: int, + blocks: int, + stride: int = 1, + ) -> nn.Sequential: + downsample = None + + if stride != 1 or self.inplanes != planes * block.expansion: + ds_stride = conv_builder.get_downsample_stride(stride) + downsample = nn.Sequential( + nn.Conv3d(self.inplanes, planes * block.expansion, kernel_size=1, stride=ds_stride, bias=False), + nn.BatchNorm3d(planes * block.expansion), + ) + layers = [] + layers.append(block(self.inplanes, planes, conv_builder, stride, downsample)) + + self.inplanes = planes * block.expansion + for i in range(1, blocks): + layers.append(block(self.inplanes, planes, conv_builder)) + + return nn.Sequential(*layers) + + +def _video_resnet( + block: Type[Union[BasicBlock, Bottleneck]], + conv_makers: Sequence[Type[Union[Conv3DSimple, Conv3DNoTemporal, Conv2Plus1D]]], + layers: List[int], + stem: Callable[..., nn.Module], + weights: Optional[WeightsEnum], + progress: bool, + **kwargs: Any, +) -> VideoResNet: + if weights is not None: + _ovewrite_named_param(kwargs, "num_classes", len(weights.meta["categories"])) + + model = VideoResNet(block, conv_makers, layers, stem, **kwargs) + + if weights is not None: + model.load_state_dict(weights.get_state_dict(progress=progress, check_hash=True)) + + return model + + +_COMMON_META = { + "min_size": (1, 1), + "categories": _KINETICS400_CATEGORIES, + "recipe": "https://github.com/pytorch/vision/tree/main/references/video_classification", + "_docs": ( + "The weights reproduce closely the accuracy of the paper. The accuracies are estimated on video-level " + "with parameters `frame_rate=15`, `clips_per_video=5`, and `clip_len=16`." + ), +} + + +class R3D_18_Weights(WeightsEnum): + KINETICS400_V1 = Weights( + url="https://download.pytorch.org/models/r3d_18-b3b3357e.pth", + transforms=partial(VideoClassification, crop_size=(112, 112), resize_size=(128, 171)), + meta={ + **_COMMON_META, + "num_params": 33371472, + "_metrics": { + "Kinetics-400": { + "acc@1": 63.200, + "acc@5": 83.479, + } + }, + "_ops": 40.697, + "_file_size": 127.359, + }, + ) + DEFAULT = KINETICS400_V1 + + +class MC3_18_Weights(WeightsEnum): + KINETICS400_V1 = Weights( + url="https://download.pytorch.org/models/mc3_18-a90a0ba3.pth", + transforms=partial(VideoClassification, crop_size=(112, 112), resize_size=(128, 171)), + meta={ + **_COMMON_META, + "num_params": 11695440, + "_metrics": { + "Kinetics-400": { + "acc@1": 63.960, + "acc@5": 84.130, + } + }, + "_ops": 43.343, + "_file_size": 44.672, + }, + ) + DEFAULT = KINETICS400_V1 + + +class R2Plus1D_18_Weights(WeightsEnum): + KINETICS400_V1 = Weights( + url="https://download.pytorch.org/models/r2plus1d_18-91a641e6.pth", + transforms=partial(VideoClassification, crop_size=(112, 112), resize_size=(128, 171)), + meta={ + **_COMMON_META, + "num_params": 31505325, + "_metrics": { + "Kinetics-400": { + "acc@1": 67.463, + "acc@5": 86.175, + } + }, + "_ops": 40.519, + "_file_size": 120.318, + }, + ) + DEFAULT = KINETICS400_V1 + + +@register_model() +@handle_legacy_interface(weights=("pretrained", R3D_18_Weights.KINETICS400_V1)) +def r3d_18(*, weights: Optional[R3D_18_Weights] = None, progress: bool = True, **kwargs: Any) -> VideoResNet: + """Construct 18 layer Resnet3D model. + + .. betastatus:: video module + + Reference: `A Closer Look at Spatiotemporal Convolutions for Action Recognition `__. + + Args: + weights (:class:`~torchvision.models.video.R3D_18_Weights`, optional): The + pretrained weights to use. See + :class:`~torchvision.models.video.R3D_18_Weights` + below for more details, and possible values. By default, no + pre-trained weights are used. + progress (bool): If True, displays a progress bar of the download to stderr. Default is True. + **kwargs: parameters passed to the ``torchvision.models.video.resnet.VideoResNet`` base class. + Please refer to the `source code + `_ + for more details about this class. + + .. autoclass:: torchvision.models.video.R3D_18_Weights + :members: + """ + weights = R3D_18_Weights.verify(weights) + + return _video_resnet( + BasicBlock, + [Conv3DSimple] * 4, + [2, 2, 2, 2], + BasicStem, + weights, + progress, + **kwargs, + ) + + +@register_model() +@handle_legacy_interface(weights=("pretrained", MC3_18_Weights.KINETICS400_V1)) +def mc3_18(*, weights: Optional[MC3_18_Weights] = None, progress: bool = True, **kwargs: Any) -> VideoResNet: + """Construct 18 layer Mixed Convolution network as in + + .. betastatus:: video module + + Reference: `A Closer Look at Spatiotemporal Convolutions for Action Recognition `__. + + Args: + weights (:class:`~torchvision.models.video.MC3_18_Weights`, optional): The + pretrained weights to use. See + :class:`~torchvision.models.video.MC3_18_Weights` + below for more details, and possible values. By default, no + pre-trained weights are used. + progress (bool): If True, displays a progress bar of the download to stderr. Default is True. + **kwargs: parameters passed to the ``torchvision.models.video.resnet.VideoResNet`` base class. + Please refer to the `source code + `_ + for more details about this class. + + .. autoclass:: torchvision.models.video.MC3_18_Weights + :members: + """ + weights = MC3_18_Weights.verify(weights) + + return _video_resnet( + BasicBlock, + [Conv3DSimple] + [Conv3DNoTemporal] * 3, # type: ignore[list-item] + [2, 2, 2, 2], + BasicStem, + weights, + progress, + **kwargs, + ) + + +@register_model() +@handle_legacy_interface(weights=("pretrained", R2Plus1D_18_Weights.KINETICS400_V1)) +def r2plus1d_18(*, weights: Optional[R2Plus1D_18_Weights] = None, progress: bool = True, **kwargs: Any) -> VideoResNet: + """Construct 18 layer deep R(2+1)D network as in + + .. betastatus:: video module + + Reference: `A Closer Look at Spatiotemporal Convolutions for Action Recognition `__. + + Args: + weights (:class:`~torchvision.models.video.R2Plus1D_18_Weights`, optional): The + pretrained weights to use. See + :class:`~torchvision.models.video.R2Plus1D_18_Weights` + below for more details, and possible values. By default, no + pre-trained weights are used. + progress (bool): If True, displays a progress bar of the download to stderr. Default is True. + **kwargs: parameters passed to the ``torchvision.models.video.resnet.VideoResNet`` base class. + Please refer to the `source code + `_ + for more details about this class. + + .. autoclass:: torchvision.models.video.R2Plus1D_18_Weights + :members: + """ + weights = R2Plus1D_18_Weights.verify(weights) + + return _video_resnet( + BasicBlock, + [Conv2Plus1D] * 4, + [2, 2, 2, 2], + R2Plus1dStem, + weights, + progress, + **kwargs, + ) + + +# The dictionary below is internal implementation detail and will be removed in v0.15 +from .._utils import _ModelURLs + + +model_urls = _ModelURLs( + { + "r3d_18": R3D_18_Weights.KINETICS400_V1.url, + "mc3_18": MC3_18_Weights.KINETICS400_V1.url, + "r2plus1d_18": R2Plus1D_18_Weights.KINETICS400_V1.url, + } +) diff --git a/shared/package-files/45/454baef98bc57124517ee827a104bc213b44dd03329354ea4ffef0df93cead10/relu_cuda_dispatch.h b/shared/package-files/45/454baef98bc57124517ee827a104bc213b44dd03329354ea4ffef0df93cead10/relu_cuda_dispatch.h new file mode 100644 index 0000000000000000000000000000000000000000..988962be84621ddfdc769578f98acca0309baa29 --- /dev/null +++ b/shared/package-files/45/454baef98bc57124517ee827a104bc213b44dd03329354ea4ffef0df93cead10/relu_cuda_dispatch.h @@ -0,0 +1,24 @@ +#pragma once +// @generated by torchgen/gen.py from DispatchKeyFunction.h + +// NB: The implementing C++ file is RegisterDispatchKey.cpp + +// The only #includes we need are for custom classes that have defaults in the C++ API +#include +#include +#include + +// Forward declarations of any types needed in the operator signatures. +// We can't directly include these classes because it will cause circular include dependencies. +// This file is included by TensorBody.h, which defines the Tensor class. +#include + +namespace at { + +namespace cuda { + +TORCH_API at::Tensor relu(const at::Tensor & self); +TORCH_API at::Tensor & relu_(at::Tensor & self); + +} // namespace cuda +} // namespace at diff --git a/shared/package-files/45/454cd0cc2414697b7074bb581d661b21098e6844b906baaad45bd403fb6efb92/script (dev).tmpl b/shared/package-files/45/454cd0cc2414697b7074bb581d661b21098e6844b906baaad45bd403fb6efb92/script (dev).tmpl new file mode 100644 index 0000000000000000000000000000000000000000..39a24b04888e79df51e2237577b303a2f901be63 --- /dev/null +++ b/shared/package-files/45/454cd0cc2414697b7074bb581d661b21098e6844b906baaad45bd403fb6efb92/script (dev).tmpl @@ -0,0 +1,6 @@ +# EASY-INSTALL-DEV-SCRIPT: %(spec)r,%(script_name)r +__requires__ = %(spec)r +__import__('pkg_resources').require(%(spec)r) +__file__ = %(dev_path)r +with open(__file__) as f: + exec(compile(f.read(), __file__, 'exec')) diff --git a/shared/package-files/45/455031af3485bba3770b8fe32200254c339617f07bc2bdafd58db4757e6ea583/test_utils.py b/shared/package-files/45/455031af3485bba3770b8fe32200254c339617f07bc2bdafd58db4757e6ea583/test_utils.py new file mode 100644 index 0000000000000000000000000000000000000000..45416b0597732159ee4f098ca8f6bd2c62309722 --- /dev/null +++ b/shared/package-files/45/455031af3485bba3770b8fe32200254c339617f07bc2bdafd58db4757e6ea583/test_utils.py @@ -0,0 +1,228 @@ +import inspect +import sys +import pytest + +import numpy as np +from numpy.core import arange +from numpy.testing import assert_, assert_equal, assert_raises_regex +from numpy.lib import deprecate, deprecate_with_doc +import numpy.lib.utils as utils + +from io import StringIO + + +@pytest.mark.skipif(sys.flags.optimize == 2, reason="Python running -OO") +@pytest.mark.skipif( + sys.version_info == (3, 10, 0, "candidate", 1), + reason="Broken as of bpo-44524", +) +def test_lookfor(): + out = StringIO() + utils.lookfor('eigenvalue', module='numpy', output=out, + import_modules=False) + out = out.getvalue() + assert_('numpy.linalg.eig' in out) + + +@deprecate +def old_func(self, x): + return x + + +@deprecate(message="Rather use new_func2") +def old_func2(self, x): + return x + + +def old_func3(self, x): + return x +new_func3 = deprecate(old_func3, old_name="old_func3", new_name="new_func3") + + +def old_func4(self, x): + """Summary. + + Further info. + """ + return x +new_func4 = deprecate(old_func4) + + +def old_func5(self, x): + """Summary. + + Bizarre indentation. + """ + return x +new_func5 = deprecate(old_func5, message="This function is\ndeprecated.") + + +def old_func6(self, x): + """ + Also in PEP-257. + """ + return x +new_func6 = deprecate(old_func6) + + +@deprecate_with_doc(msg="Rather use new_func7") +def old_func7(self,x): + return x + + +def test_deprecate_decorator(): + assert_('deprecated' in old_func.__doc__) + + +def test_deprecate_decorator_message(): + assert_('Rather use new_func2' in old_func2.__doc__) + + +def test_deprecate_fn(): + assert_('old_func3' in new_func3.__doc__) + assert_('new_func3' in new_func3.__doc__) + + +def test_deprecate_with_doc_decorator_message(): + assert_('Rather use new_func7' in old_func7.__doc__) + + +@pytest.mark.skipif(sys.flags.optimize == 2, reason="-OO discards docstrings") +@pytest.mark.parametrize('old_func, new_func', [ + (old_func4, new_func4), + (old_func5, new_func5), + (old_func6, new_func6), +]) +def test_deprecate_help_indentation(old_func, new_func): + _compare_docs(old_func, new_func) + # Ensure we don't mess up the indentation + for knd, func in (('old', old_func), ('new', new_func)): + for li, line in enumerate(func.__doc__.split('\n')): + if li == 0: + assert line.startswith(' ') or not line.startswith(' '), knd + elif line: + assert line.startswith(' '), knd + + +def _compare_docs(old_func, new_func): + old_doc = inspect.getdoc(old_func) + new_doc = inspect.getdoc(new_func) + index = new_doc.index('\n\n') + 2 + assert_equal(new_doc[index:], old_doc) + + +@pytest.mark.skipif(sys.flags.optimize == 2, reason="-OO discards docstrings") +def test_deprecate_preserve_whitespace(): + assert_('\n Bizarre' in new_func5.__doc__) + + +def test_deprecate_module(): + assert_(old_func.__module__ == __name__) + + +def test_safe_eval_nameconstant(): + # Test if safe_eval supports Python 3.4 _ast.NameConstant + utils.safe_eval('None') + + +class TestByteBounds: + + def test_byte_bounds(self): + # pointer difference matches size * itemsize + # due to contiguity + a = arange(12).reshape(3, 4) + low, high = utils.byte_bounds(a) + assert_equal(high - low, a.size * a.itemsize) + + def test_unusual_order_positive_stride(self): + a = arange(12).reshape(3, 4) + b = a.T + low, high = utils.byte_bounds(b) + assert_equal(high - low, b.size * b.itemsize) + + def test_unusual_order_negative_stride(self): + a = arange(12).reshape(3, 4) + b = a.T[::-1] + low, high = utils.byte_bounds(b) + assert_equal(high - low, b.size * b.itemsize) + + def test_strided(self): + a = arange(12) + b = a[::2] + low, high = utils.byte_bounds(b) + # the largest pointer address is lost (even numbers only in the + # stride), and compensate addresses for striding by 2 + assert_equal(high - low, b.size * 2 * b.itemsize - b.itemsize) + + +def test_assert_raises_regex_context_manager(): + with assert_raises_regex(ValueError, 'no deprecation warning'): + raise ValueError('no deprecation warning') + + +def test_info_method_heading(): + # info(class) should only print "Methods:" heading if methods exist + + class NoPublicMethods: + pass + + class WithPublicMethods: + def first_method(): + pass + + def _has_method_heading(cls): + out = StringIO() + utils.info(cls, output=out) + return 'Methods:' in out.getvalue() + + assert _has_method_heading(WithPublicMethods) + assert not _has_method_heading(NoPublicMethods) + + +def test_drop_metadata(): + def _compare_dtypes(dt1, dt2): + return np.can_cast(dt1, dt2, casting='no') + + # structured dtype + dt = np.dtype([('l1', [('l2', np.dtype('S8', metadata={'msg': 'toto'}))])], + metadata={'msg': 'titi'}) + dt_m = utils.drop_metadata(dt) + assert _compare_dtypes(dt, dt_m) is True + assert dt_m.metadata is None + assert dt_m['l1'].metadata is None + assert dt_m['l1']['l2'].metadata is None + + # alignement + dt = np.dtype([('x', ' +#include +#include + +// Forward declarations of any types needed in the operator signatures. +// We can't directly include these classes because it will cause circular include dependencies. +// This file is included by TensorBody.h, which defines the Tensor class. +#include + +namespace at { + +namespace cuda { + +TORCH_API at::Tensor searchsorted(const at::Tensor & sorted_sequence, const at::Tensor & self, bool out_int32=false, bool right=false, c10::optional side=c10::nullopt, const c10::optional & sorter={}); +TORCH_API at::Tensor & searchsorted_out(at::Tensor & out, const at::Tensor & sorted_sequence, const at::Tensor & self, bool out_int32=false, bool right=false, c10::optional side=c10::nullopt, const c10::optional & sorter={}); +TORCH_API at::Tensor & searchsorted_outf(const at::Tensor & sorted_sequence, const at::Tensor & self, bool out_int32, bool right, c10::optional side, const c10::optional & sorter, at::Tensor & out); +TORCH_API at::Tensor searchsorted(const at::Tensor & sorted_sequence, const at::Scalar & self, bool out_int32=false, bool right=false, c10::optional side=c10::nullopt, const c10::optional & sorter={}); +TORCH_API at::Tensor & searchsorted_out(at::Tensor & out, const at::Tensor & sorted_sequence, const at::Scalar & self, bool out_int32=false, bool right=false, c10::optional side=c10::nullopt, const c10::optional & sorter={}); +TORCH_API at::Tensor & searchsorted_outf(const at::Tensor & sorted_sequence, const at::Scalar & self, bool out_int32, bool right, c10::optional side, const c10::optional & sorter, at::Tensor & out); + +} // namespace cuda +} // namespace at diff --git a/shared/package-files/45/455162b93c79c13141102cc4a2526aaae85f5820fa065acae3d20fc833dd998d/test_cuda_array_slicing.py b/shared/package-files/45/455162b93c79c13141102cc4a2526aaae85f5820fa065acae3d20fc833dd998d/test_cuda_array_slicing.py new file mode 100644 index 0000000000000000000000000000000000000000..aad67d14ce6c7406617d965cf29cc42e036e5ae0 --- /dev/null +++ b/shared/package-files/45/455162b93c79c13141102cc4a2526aaae85f5820fa065acae3d20fc833dd998d/test_cuda_array_slicing.py @@ -0,0 +1,376 @@ +from itertools import product + +import numpy as np + +from numba import cuda +from numba.cuda.testing import unittest, CUDATestCase, skip_on_cudasim +from unittest.mock import patch + + +class CudaArrayIndexing(CUDATestCase): + def test_index_1d(self): + arr = np.arange(10) + darr = cuda.to_device(arr) + x, = arr.shape + for i in range(-x, x): + self.assertEqual(arr[i], darr[i]) + with self.assertRaises(IndexError): + darr[-x - 1] + with self.assertRaises(IndexError): + darr[x] + + def test_index_2d(self): + arr = np.arange(3 * 4).reshape(3, 4) + darr = cuda.to_device(arr) + x, y = arr.shape + for i in range(-x, x): + for j in range(-y, y): + self.assertEqual(arr[i, j], darr[i, j]) + with self.assertRaises(IndexError): + darr[-x - 1, 0] + with self.assertRaises(IndexError): + darr[x, 0] + with self.assertRaises(IndexError): + darr[0, -y - 1] + with self.assertRaises(IndexError): + darr[0, y] + + def test_index_3d(self): + arr = np.arange(3 * 4 * 5).reshape(3, 4, 5) + darr = cuda.to_device(arr) + x, y, z = arr.shape + for i in range(-x, x): + for j in range(-y, y): + for k in range(-z, z): + self.assertEqual(arr[i, j, k], darr[i, j, k]) + with self.assertRaises(IndexError): + darr[-x - 1, 0, 0] + with self.assertRaises(IndexError): + darr[x, 0, 0] + with self.assertRaises(IndexError): + darr[0, -y - 1, 0] + with self.assertRaises(IndexError): + darr[0, y, 0] + with self.assertRaises(IndexError): + darr[0, 0, -z - 1] + with self.assertRaises(IndexError): + darr[0, 0, z] + + +class CudaArrayStridedSlice(CUDATestCase): + + def test_strided_index_1d(self): + arr = np.arange(10) + darr = cuda.to_device(arr) + for i in range(arr.size): + np.testing.assert_equal(arr[i::2], darr[i::2].copy_to_host()) + + def test_strided_index_2d(self): + arr = np.arange(6 * 7).reshape(6, 7) + darr = cuda.to_device(arr) + + for i in range(arr.shape[0]): + for j in range(arr.shape[1]): + np.testing.assert_equal(arr[i::2, j::2], + darr[i::2, j::2].copy_to_host()) + + def test_strided_index_3d(self): + arr = np.arange(6 * 7 * 8).reshape(6, 7, 8) + darr = cuda.to_device(arr) + + for i in range(arr.shape[0]): + for j in range(arr.shape[1]): + for k in range(arr.shape[2]): + np.testing.assert_equal( + arr[i::2, j::2, k::2], + darr[i::2, j::2, k::2].copy_to_host()) + + +class CudaArraySlicing(CUDATestCase): + def test_prefix_1d(self): + arr = np.arange(5) + darr = cuda.to_device(arr) + for i in range(arr.size): + expect = arr[i:] + got = darr[i:].copy_to_host() + self.assertTrue(np.all(expect == got)) + + def test_prefix_2d(self): + arr = np.arange(3 ** 2).reshape(3, 3) + darr = cuda.to_device(arr) + for i in range(arr.shape[0]): + for j in range(arr.shape[1]): + expect = arr[i:, j:] + sliced = darr[i:, j:] + self.assertEqual(expect.shape, sliced.shape) + self.assertEqual(expect.strides, sliced.strides) + got = sliced.copy_to_host() + self.assertTrue(np.all(expect == got)) + + def test_select_3d_first_two_dim(self): + arr = np.arange(3 * 4 * 5).reshape(3, 4, 5) + darr = cuda.to_device(arr) + # Select first dimension + for i in range(arr.shape[0]): + expect = arr[i] + sliced = darr[i] + self.assertEqual(expect.shape, sliced.shape) + self.assertEqual(expect.strides, sliced.strides) + got = sliced.copy_to_host() + self.assertTrue(np.all(expect == got)) + # Select second dimension + for i in range(arr.shape[0]): + for j in range(arr.shape[1]): + expect = arr[i, j] + sliced = darr[i, j] + self.assertEqual(expect.shape, sliced.shape) + self.assertEqual(expect.strides, sliced.strides) + got = sliced.copy_to_host() + self.assertTrue(np.all(expect == got)) + + def test_select_f(self): + a = np.arange(5 * 6 * 7).reshape(5, 6, 7, order='F') + da = cuda.to_device(a) + + for i in range(a.shape[0]): + for j in range(a.shape[1]): + self.assertTrue(np.array_equal(da[i, j, :].copy_to_host(), + a[i, j, :])) + for j in range(a.shape[2]): + self.assertTrue(np.array_equal(da[i, :, j].copy_to_host(), + a[i, :, j])) + for i in range(a.shape[1]): + for j in range(a.shape[2]): + self.assertTrue(np.array_equal(da[:, i, j].copy_to_host(), + a[:, i, j])) + + def test_select_c(self): + a = np.arange(5 * 6 * 7).reshape(5, 6, 7, order='C') + da = cuda.to_device(a) + + for i in range(a.shape[0]): + for j in range(a.shape[1]): + self.assertTrue(np.array_equal(da[i, j, :].copy_to_host(), + a[i, j, :])) + for j in range(a.shape[2]): + self.assertTrue(np.array_equal(da[i, :, j].copy_to_host(), + a[i, :, j])) + for i in range(a.shape[1]): + for j in range(a.shape[2]): + self.assertTrue(np.array_equal(da[:, i, j].copy_to_host(), + a[:, i, j])) + + def test_prefix_select(self): + arr = np.arange(5 * 7).reshape(5, 7, order='F') + + darr = cuda.to_device(arr) + self.assertTrue(np.all(darr[:1, 1].copy_to_host() == arr[:1, 1])) + + def test_negative_slicing_1d(self): + arr = np.arange(10) + darr = cuda.to_device(arr) + for i, j in product(range(-10, 10), repeat=2): + np.testing.assert_array_equal(arr[i:j], + darr[i:j].copy_to_host()) + + def test_negative_slicing_2d(self): + arr = np.arange(12).reshape(3, 4) + darr = cuda.to_device(arr) + for x, y, w, s in product(range(-4, 4), repeat=4): + np.testing.assert_array_equal(arr[x:y, w:s], + darr[x:y, w:s].copy_to_host()) + + def test_empty_slice_1d(self): + arr = np.arange(5) + darr = cuda.to_device(arr) + for i in range(darr.shape[0]): + np.testing.assert_array_equal(darr[i:i].copy_to_host(), arr[i:i]) + # empty slice of empty slice + np.testing.assert_array_equal(darr[:0][:0].copy_to_host(), np.empty(0)) + # out-of-bound slice just produces empty slices + np.testing.assert_array_equal(darr[:0][:1].copy_to_host(), + arr[:0][:1]) + np.testing.assert_array_equal(darr[:0][-1:].copy_to_host(), + arr[:0][-1:]) + + def test_empty_slice_2d(self): + arr = np.arange(5 * 7).reshape(5, 7) + darr = cuda.to_device(arr) + np.testing.assert_array_equal(darr[:0].copy_to_host(), arr[:0]) + np.testing.assert_array_equal(darr[3, :0].copy_to_host(), arr[3, :0]) + # empty slice of empty slice + np.testing.assert_array_equal(darr[:0][:0].copy_to_host(), + np.empty((0, 7))) + # out-of-bound slice just produces empty slices + np.testing.assert_array_equal(darr[:0][:1].copy_to_host(), arr[:0][:1]) + np.testing.assert_array_equal(darr[:0][-1:].copy_to_host(), + arr[:0][-1:]) + + +class CudaArraySetting(CUDATestCase): + """ + Most of the slicing logic is tested in the cases above, so these + tests focus on the setting logic. + """ + + def test_scalar(self): + arr = np.arange(5 * 7).reshape(5, 7) + darr = cuda.to_device(arr) + arr[2, 2] = 500 + darr[2, 2] = 500 + np.testing.assert_array_equal(darr.copy_to_host(), arr) + + def test_rank(self): + arr = np.arange(5 * 7).reshape(5, 7) + darr = cuda.to_device(arr) + arr[2] = 500 + darr[2] = 500 + np.testing.assert_array_equal(darr.copy_to_host(), arr) + + def test_broadcast(self): + arr = np.arange(5 * 7).reshape(5, 7) + darr = cuda.to_device(arr) + arr[:, 2] = 500 + darr[:, 2] = 500 + np.testing.assert_array_equal(darr.copy_to_host(), arr) + + def test_array_assign_column(self): + arr = np.arange(5 * 7).reshape(5, 7) + darr = cuda.to_device(arr) + _400 = np.full(shape=7, fill_value=400) + arr[2] = _400 + darr[2] = _400 + np.testing.assert_array_equal(darr.copy_to_host(), arr) + + def test_array_assign_row(self): + arr = np.arange(5 * 7).reshape(5, 7) + darr = cuda.to_device(arr) + _400 = np.full(shape=5, fill_value=400) + arr[:, 2] = _400 + darr[:, 2] = _400 + np.testing.assert_array_equal(darr.copy_to_host(), arr) + + def test_array_assign_subarray(self): + arr = np.arange(5 * 6 * 7).reshape(5, 6, 7) + darr = cuda.to_device(arr) + _400 = np.full(shape=(6, 7), fill_value=400) + arr[2] = _400 + darr[2] = _400 + np.testing.assert_array_equal(darr.copy_to_host(), arr) + + def test_array_assign_deep_subarray(self): + arr = np.arange(5 * 6 * 7 * 8).reshape(5, 6, 7, 8) + darr = cuda.to_device(arr) + _400 = np.full(shape=(5, 6, 8), fill_value=400) + arr[:, :, 2] = _400 + darr[:, :, 2] = _400 + np.testing.assert_array_equal(darr.copy_to_host(), arr) + + def test_array_assign_all(self): + arr = np.arange(5 * 7).reshape(5, 7) + darr = cuda.to_device(arr) + _400 = np.full(shape=(5, 7), fill_value=400) + arr[:] = _400 + darr[:] = _400 + np.testing.assert_array_equal(darr.copy_to_host(), arr) + + def test_strides(self): + arr = np.ones(20) + darr = cuda.to_device(arr) + arr[::2] = 500 + darr[::2] = 500 + np.testing.assert_array_equal(darr.copy_to_host(), arr) + + def test_incompatible_highdim(self): + darr = cuda.to_device(np.arange(5 * 7)) + + with self.assertRaises(ValueError) as e: + darr[:] = np.ones(shape=(1, 2, 3)) + + self.assertIn( + member=str(e.exception), + container=[ + "Can't assign 3-D array to 1-D self", # device + "could not broadcast input array from shape (2,3) " + "into shape (35,)", # simulator, NP >= 1.20 + ]) + + def test_incompatible_shape(self): + darr = cuda.to_device(np.arange(5)) + + with self.assertRaises(ValueError) as e: + darr[:] = [1, 3] + + self.assertIn( + member=str(e.exception), + container=[ + "Can't copy sequence with size 2 to array axis 0 with " + "dimension 5", # device + "could not broadcast input array from shape (2,) into " + "shape (5,)", # simulator, NP >= 1.20 + ]) + + @skip_on_cudasim('cudasim does not use streams and operates synchronously') + def test_sync(self): + # There should be a synchronization when no stream is supplied + darr = cuda.to_device(np.arange(5)) + + with patch.object(cuda.cudadrv.driver.Stream, 'synchronize', + return_value=None) as mock_sync: + darr[0] = 10 + + mock_sync.assert_called_once() + + @skip_on_cudasim('cudasim does not use streams and operates synchronously') + def test_no_sync_default_stream(self): + # There should not be a synchronization when the array has a default + # stream, whether it is the default stream, the legacy default stream, + # the per-thread default stream, or another stream. + streams = (cuda.stream(), cuda.default_stream(), + cuda.legacy_default_stream(), + cuda.per_thread_default_stream()) + + for stream in streams: + darr = cuda.to_device(np.arange(5), stream=stream) + + with patch.object(cuda.cudadrv.driver.Stream, 'synchronize', + return_value=None) as mock_sync: + darr[0] = 10 + + mock_sync.assert_not_called() + + @skip_on_cudasim('cudasim does not use streams and operates synchronously') + def test_no_sync_supplied_stream(self): + # There should not be a synchronization when a stream is supplied for + # the setitem call, whether it is the default stream, the legacy default + # stream, the per-thread default stream, or another stream. + streams = (cuda.stream(), cuda.default_stream(), + cuda.legacy_default_stream(), + cuda.per_thread_default_stream()) + + for stream in streams: + darr = cuda.to_device(np.arange(5)) + + with patch.object(cuda.cudadrv.driver.Stream, 'synchronize', + return_value=None) as mock_sync: + darr.setitem(0, 10, stream=stream) + + mock_sync.assert_not_called() + + @unittest.skip('Requires PR #6367') + def test_issue_6505(self): + # On Windows, the writes to ary_v would not be visible prior to the + # assertion, due to the assignment being done with a kernel launch that + # returns asynchronously - there should now be a sync after the kernel + # launch to ensure that the writes are always visible. + ary = cuda.mapped_array(2, dtype=np.int32) + ary[:] = 0 + + ary_v = ary.view('u1') + ary_v[1] = 1 + ary_v[5] = 1 + self.assertEqual(sum(ary), 512) + + +if __name__ == '__main__': + unittest.main() diff --git a/shared/package-files/45/45516336b82a1d5d4e5207892e179570a73ed62e9710b607f2efc7477fbc130a/special_scaled_modified_bessel_k0_compositeexplicitautogradnonfunctional_dispatch.h b/shared/package-files/45/45516336b82a1d5d4e5207892e179570a73ed62e9710b607f2efc7477fbc130a/special_scaled_modified_bessel_k0_compositeexplicitautogradnonfunctional_dispatch.h new file mode 100644 index 0000000000000000000000000000000000000000..40d3fd1a0ea358b4ab6626f3f21c5f2ceabaf8ab --- /dev/null +++ b/shared/package-files/45/45516336b82a1d5d4e5207892e179570a73ed62e9710b607f2efc7477fbc130a/special_scaled_modified_bessel_k0_compositeexplicitautogradnonfunctional_dispatch.h @@ -0,0 +1,23 @@ +#pragma once +// @generated by torchgen/gen.py from DispatchKeyFunction.h + +// NB: The implementing C++ file is RegisterDispatchKey.cpp + +// The only #includes we need are for custom classes that have defaults in the C++ API +#include +#include +#include + +// Forward declarations of any types needed in the operator signatures. +// We can't directly include these classes because it will cause circular include dependencies. +// This file is included by TensorBody.h, which defines the Tensor class. +#include + +namespace at { + +namespace compositeexplicitautogradnonfunctional { + +TORCH_API at::Tensor special_scaled_modified_bessel_k0(const at::Tensor & x); + +} // namespace compositeexplicitautogradnonfunctional +} // namespace at diff --git a/shared/package-files/45/4554f89f04153f44eab272fb5aa61a3102b6f811179b68041d7fcab2fdff6f4f/misc_ops.py b/shared/package-files/45/4554f89f04153f44eab272fb5aa61a3102b6f811179b68041d7fcab2fdff6f4f/misc_ops.py new file mode 100644 index 0000000000000000000000000000000000000000..0e0911bb1d18c9f90726436a9efe6dc5ef44019b --- /dev/null +++ b/shared/package-files/45/4554f89f04153f44eab272fb5aa61a3102b6f811179b68041d7fcab2fdff6f4f/misc_ops.py @@ -0,0 +1,12 @@ +import torch +from torch.distributed._shard.sharded_tensor import ( + _sharded_op_impl, +) + +# This is used by `_apply()` within module.py to set new +# parameters after apply a certain method, we should follow +# the future behavior of overwriting the existing tensor +# instead of doing in-place change using `.data = `. +@_sharded_op_impl(torch._has_compatible_shallow_copy_type) +def tensor_has_compatible_shallow_copy_type(types, args=(), kwargs=None, pg=None): + return False diff --git a/shared/package-files/45/4557538f0f48e2082fc368297e3009d27388e96747bfbf8f81ca8ba58e0f79ea/utils.py b/shared/package-files/45/4557538f0f48e2082fc368297e3009d27388e96747bfbf8f81ca8ba58e0f79ea/utils.py new file mode 100644 index 0000000000000000000000000000000000000000..8c787f219a0b8d775b477ea122d9e838c7395805 --- /dev/null +++ b/shared/package-files/45/4557538f0f48e2082fc368297e3009d27388e96747bfbf8f81ca8ba58e0f79ea/utils.py @@ -0,0 +1,226 @@ +""" +Contains various utils for AOTAutograd, including those for handling collections. +""" + +import dataclasses +import warnings +from contextlib import nullcontext +from functools import wraps +from typing import Any, Callable, List, Optional, Tuple + +import torch +import torch.utils._pytree as pytree +from torch.fx.experimental._backward_state import BackwardState +from torch.fx.experimental.proxy_tensor import py_sym_types + +KNOWN_TYPES = [ + torch.Tensor, + BackwardState, + int, + str, + float, + bool, + type(None), + *py_sym_types, +] + +original_zip = zip + + +def strict_zip(*iterables, strict=True, **kwargs): + if not strict: + return original_zip(*iterables, **kwargs) + + shortest_length = min(len(it) for it in iterables) + for iterable in iterables: + if len(iterable) != shortest_length: + raise ValueError( + "The iterables have different lengths and strict mode is enabled." + ) + + return original_zip(*iterables, **kwargs) + + +def _get_symint_hints(exprs): + """ + Get the hints of a list/tuple of int/SymInt. + """ + if isinstance(exprs, (list, tuple)): + return type(exprs)(_get_symint_hints(e) for e in exprs) + elif isinstance(exprs, torch.SymInt): + return exprs.node.shape_env.size_hint(exprs.node.expr) + else: + return exprs + + +def partial_flatten_asdict(obj: Any) -> Any: + if dataclasses.is_dataclass(obj): + return { + field.name: getattr(obj, field.name) for field in dataclasses.fields(obj) + } + elif isinstance(obj, (list, tuple)): + return obj.__class__([partial_flatten_asdict(item) for item in obj]) + elif isinstance(obj, dict): + return {k: partial_flatten_asdict(v) for k, v in obj.items()} + else: + return obj + + +def normalize_as_list(x): + if isinstance(x, tuple): + return list(x) + elif isinstance(x, list): + return x + return [x] + + +def _get_autocast_states(): + return [ + torch.is_autocast_enabled(), + torch.is_autocast_cpu_enabled(), + torch.get_autocast_gpu_dtype(), + torch.get_autocast_cpu_dtype(), + torch.is_autocast_cache_enabled(), + ] + + +def make_boxed_func(f): + def g(args): + return f(*args) + + g._boxed_call = True # type: ignore[attr-defined] + return g + + +def make_boxed_compiler(compiler): + @wraps(compiler) + def f(fx_g, inps): + out_f = compiler(fx_g, inps) + fx_g = make_boxed_func(out_f) + return fx_g + + return f + + +def call_func_at_runtime_with_args(f, args, steal_args=False, disable_amp=False): + if not steal_args: + args = list(args) + assert isinstance(args, list) + + context = torch._C._DisableAutocast if disable_amp else nullcontext + with context(): + if hasattr(f, "_boxed_call"): + out = normalize_as_list(f(args)) + else: + # TODO: Please remove soon + # https://github.com/pytorch/pytorch/pull/83137#issuecomment-1211320670 + warnings.warn( + "Your compiler for AOTAutograd is returning a function that doesn't take boxed arguments. " + "Please wrap it with functorch.compile.make_boxed_func or handle the boxed arguments yourself. " + "See https://github.com/pytorch/pytorch/pull/83137#issuecomment-1211320670 for rationale." + ) + out = normalize_as_list(f(*args)) + return out + + +# Inspired by autodidax (thanks!) +class PytreeThunk: + spec: Optional[pytree.TreeSpec] = None + # These are some kinda dumb microoptimizations that save about 3-4 us of overhead. + is_simple: Optional[ + bool + ] = None # if the output spec is a tuple/list, we won't bother unflattening it. + is_really_simple: Optional[bool] = None # if the output spec is a LeafSpec + + def set(self, spec: pytree.TreeSpec) -> None: + assert self.spec is None or self.spec == spec + assert spec is not None + self.spec: pytree.TreeSpec = spec + if self.spec.type in {tuple, list} and all( + child.is_leaf() for child in spec.children_specs + ): + self.is_simple = True + if self.spec.is_leaf(): + self.is_really_simple = True + + def unflatten(self, x: List[Any]) -> Any: + if self.is_really_simple: + return x[0] + if self.is_simple: + return x + assert self.spec is not None + return pytree.tree_unflatten(x, self.spec) + + +# Creates a function that returns flattened inputs and outputs +# Also returns the output tree spec, which is needed to recover the "unflattened" +# output tree structure later. +def create_tree_flattened_fn(fn, args, kwargs=None) -> Tuple[Callable, PytreeThunk]: + if kwargs is None: + kwargs = {} + # Save the args_spec for flat_tensor_args to unflatten while tracing + _, tensor_args_spec = pytree.tree_flatten((args, kwargs)) + out_spec = PytreeThunk() + + def flat_fn(*flat_args): + # The input are flattened tensor args. Prepare the args in the + # order that original function expects. Add static args as well. + # They will appear as tensor constants in the traced graph. + nonlocal out_spec + args, kwargs = pytree.tree_unflatten(flat_args, tensor_args_spec) + tree_out = fn(*args, **kwargs) + flat_out, spec = pytree.tree_flatten(tree_out) + for i in flat_out: + is_known_type = False + for j in KNOWN_TYPES: + if isinstance(i, j): + is_known_type = True + break + if not is_known_type: + raise RuntimeError( + f"Found {type(i)} in output, which is not a known type. " + "If this type holds tensors, you need to register a pytree for it. " + "See https://github.com/pytorch/functorch/issues/475 for a brief " + "explanation why. If you don't need to register a pytree, please " + "leave a comment explaining your use case and we'll make this more " + "ergonomic to deal with" + ) + out_spec.set(spec) + return flat_out + + # Can't use functools.wraps here because the wrapper has different + # calling convention + if hasattr(fn, "_orig_mod"): + flat_fn._orig_mod = fn._orig_mod # type: ignore[attr-defined] + + return flat_fn, out_spec + + +# This function takes in a tensor t, and returns one of t, t.view(), or t.clone(). +# When tracing the joint forward + backward, for any inputs in the graph that are mutated, +# we need to clone them first (and similarly for metadata-only mutations, we need to view them first). +# The idea is that when we trace the backward, we need to pass in the *original* primals +# to autograd.grad(), before they were mutated. +# Note: when we have synthetic base inputs, we need to clone them *before* creating views off of them. +# This means that "idx" here represents the index of the (potentially) synthetic base. +# What we need to do is: +# (1) map the current (post-synthetic-base calling convention) input argument index +# to int index pre-synthetic-base-calling-convention. +# (2) There could be multiple, if this index corresponds to a synthetic base +# that has multiple input aliases. +# (3) If any of those corresponding inputs get metadata mutations, then we clone the base. +def maybe_to_fresh_input(idx, t, meta): + if not isinstance(t, torch.Tensor): + return t + if idx in meta.mutated_inp_runtime_indices: + # We only need to bother cloning mutated inputs that participate in autograd. + mutated_inp_idx = meta.mutated_inp_runtime_indices.index(idx) + if meta.input_info[idx].requires_grad and meta.input_info[idx].mutates_data: + # Make sure the primal we pass to autograd.grad() + # sees the tensor before the mutation + return t.clone() + if meta.input_info[idx] and meta.input_info[idx].mutates_metadata: + # Make sure the primal we pass to autograd.grad() + # sees the tensor before the metadata mutation + return t.view(t.shape) + return t diff --git a/shared/package-files/45/45583f7c26821f84c1417bcf96f8de554ce6abc39694fd471e3ae72e22d1b161/test_tools.py b/shared/package-files/45/45583f7c26821f84c1417bcf96f8de554ce6abc39694fd471e3ae72e22d1b161/test_tools.py new file mode 100644 index 0000000000000000000000000000000000000000..ae154d81e61cd478b1ea0875a72241e22da137d2 --- /dev/null +++ b/shared/package-files/45/45583f7c26821f84c1417bcf96f8de554ce6abc39694fd471e3ae72e22d1b161/test_tools.py @@ -0,0 +1,107 @@ +import numpy as np +from numpy.testing import assert_equal +import pytest + +from statsmodels.tsa.arima.tools import standardize_lag_order, validate_basic + + +def test_standardize_lag_order_int(): + # Integer input + assert_equal(standardize_lag_order(0, title="test"), 0) + assert_equal(standardize_lag_order(3), 3) + + +def test_standardize_lag_order_list_int(): + # List input, lags + assert_equal(standardize_lag_order([]), 0) + assert_equal(standardize_lag_order([1, 2]), 2) + assert_equal(standardize_lag_order([1, 3]), [1, 3]) + + +def test_standardize_lag_order_tuple_int(): + # Non-list iterable input, lags + assert_equal(standardize_lag_order((1, 2)), 2) + assert_equal(standardize_lag_order((1, 3)), [1, 3]) + + +def test_standardize_lag_order_ndarray_int(): + assert_equal(standardize_lag_order(np.array([1, 2])), 2) + assert_equal(standardize_lag_order(np.array([1, 3])), [1, 3]) + + +def test_standardize_lag_order_list_bool(): + # List input, booleans + assert_equal(standardize_lag_order([0]), 0) + assert_equal(standardize_lag_order([1]), 1) + assert_equal(standardize_lag_order([0, 1]), [2]) + assert_equal(standardize_lag_order([0, 1, 0, 1]), [2, 4]) + + +def test_standardize_lag_order_tuple_bool(): + # Non-list iterable input, lags + assert_equal(standardize_lag_order(0), 0) + assert_equal(standardize_lag_order(1), 1) + assert_equal(standardize_lag_order((0, 1)), [2]) + assert_equal(standardize_lag_order((0, 1, 0, 1)), [2, 4]) + + +def test_standardize_lag_order_ndarray_bool(): + assert_equal(standardize_lag_order(np.array([0])), 0) + assert_equal(standardize_lag_order(np.array([1])), 1) + assert_equal(standardize_lag_order(np.array([0, 1])), [2]) + assert_equal(standardize_lag_order(np.array([0, 1, 0, 1])), [2, 4]) + + +def test_standardize_lag_order_misc(): + # Misc. + assert_equal(standardize_lag_order(np.array([[1], [3]])), [1, 3]) + + +def test_standardize_lag_order_invalid(): + # Invalid input + with pytest.raises(TypeError): + standardize_lag_order(None) + with pytest.raises(ValueError): + standardize_lag_order(1.2) + with pytest.raises(ValueError): + standardize_lag_order(-1) + with pytest.raises(ValueError): + standardize_lag_order(np.arange(4).reshape(2, 2)) + # Boolean list can't have 2, lag order list can't have 0 + with pytest.raises(ValueError): + standardize_lag_order([0, 2]) + # Can't have duplicates + with pytest.raises(ValueError): + standardize_lag_order([1, 1, 2]) + + +def test_validate_basic(): + # Valid parameters + assert_equal(validate_basic([], 0, title="test"), []) + assert_equal(validate_basic(0, 1), [0]) + assert_equal(validate_basic([0], 1), [0]) + assert_equal( + validate_basic(np.array([1.2, 0.5 + 1j]), 2), np.array([1.2, 0.5 + 1j]) + ) + assert_equal( + validate_basic([np.nan, -np.inf, np.inf], 3, allow_infnan=True), + [np.nan, -np.inf, np.inf], + ) + + # Invalid parameters + with pytest.raises(ValueError): + validate_basic([], 1, title="test") + with pytest.raises(ValueError): + validate_basic(0, 0) + with pytest.raises(ValueError): + validate_basic("a", 1) + with pytest.raises(ValueError): + validate_basic(None, 1) + with pytest.raises(ValueError): + validate_basic(np.nan, 1) + with pytest.raises(ValueError): + validate_basic(np.inf, 1) + with pytest.raises(ValueError): + validate_basic(-np.inf, 1) + with pytest.raises(ValueError): + validate_basic([1, 2], 1) diff --git a/shared/package-files/45/4559a6465c56dadfed551bccfaacaa0ec22175af424c7e2daf6420443793c476/att4425-w b/shared/package-files/45/4559a6465c56dadfed551bccfaacaa0ec22175af424c7e2daf6420443793c476/att4425-w new file mode 100644 index 0000000000000000000000000000000000000000..e9ffd490042e48c5b7836f97d083ae854799ff7e Binary files /dev/null and b/shared/package-files/45/4559a6465c56dadfed551bccfaacaa0ec22175af424c7e2daf6420443793c476/att4425-w differ diff --git a/shared/package-files/45/4559a6465c56dadfed551bccfaacaa0ec22175af424c7e2daf6420443793c476/att5425-w b/shared/package-files/45/4559a6465c56dadfed551bccfaacaa0ec22175af424c7e2daf6420443793c476/att5425-w new file mode 100644 index 0000000000000000000000000000000000000000..e9ffd490042e48c5b7836f97d083ae854799ff7e Binary files /dev/null and b/shared/package-files/45/4559a6465c56dadfed551bccfaacaa0ec22175af424c7e2daf6420443793c476/att5425-w differ diff --git a/shared/package-files/45/4559a6465c56dadfed551bccfaacaa0ec22175af424c7e2daf6420443793c476/tty5425-w b/shared/package-files/45/4559a6465c56dadfed551bccfaacaa0ec22175af424c7e2daf6420443793c476/tty5425-w new file mode 100644 index 0000000000000000000000000000000000000000..e9ffd490042e48c5b7836f97d083ae854799ff7e Binary files /dev/null and b/shared/package-files/45/4559a6465c56dadfed551bccfaacaa0ec22175af424c7e2daf6420443793c476/tty5425-w differ diff --git a/shared/package-files/45/4559b80506858cbcc87895ad9d5e695b3d2e883830a52ee703d46a6b699288d9/mixed_linear_model.py b/shared/package-files/45/4559b80506858cbcc87895ad9d5e695b3d2e883830a52ee703d46a6b699288d9/mixed_linear_model.py new file mode 100644 index 0000000000000000000000000000000000000000..6b734711a1d790745140dadbf88d0fd3c6ab6bf8 --- /dev/null +++ b/shared/package-files/45/4559b80506858cbcc87895ad9d5e695b3d2e883830a52ee703d46a6b699288d9/mixed_linear_model.py @@ -0,0 +1,3217 @@ +""" +Linear mixed effects models are regression models for dependent data. +They can be used to estimate regression relationships involving both +means and variances. + +These models are also known as multilevel linear models, and +hierarchical linear models. + +The MixedLM class fits linear mixed effects models to data, and +provides support for some common post-estimation tasks. This is a +group-based implementation that is most efficient for models in which +the data can be partitioned into independent groups. Some models with +crossed effects can be handled by specifying a model with a single +group. + +The data are partitioned into disjoint groups. The probability model +for group i is: + +Y = X*beta + Z*gamma + epsilon + +where + +* n_i is the number of observations in group i + +* Y is a n_i dimensional response vector (called endog in MixedLM) + +* X is a n_i x k_fe dimensional design matrix for the fixed effects + (called exog in MixedLM) + +* beta is a k_fe-dimensional vector of fixed effects parameters + (called fe_params in MixedLM) + +* Z is a design matrix for the random effects with n_i rows (called + exog_re in MixedLM). The number of columns in Z can vary by group + as discussed below. + +* gamma is a random vector with mean 0. The covariance matrix for the + first `k_re` elements of `gamma` (called cov_re in MixedLM) is + common to all groups. The remaining elements of `gamma` are + variance components as discussed in more detail below. Each group + receives its own independent realization of gamma. + +* epsilon is a n_i dimensional vector of iid normal + errors with mean 0 and variance sigma^2; the epsilon + values are independent both within and between groups + +Y, X and Z must be entirely observed. beta, Psi, and sigma^2 are +estimated using ML or REML estimation, and gamma and epsilon are +random so define the probability model. + +The marginal mean structure is E[Y | X, Z] = X*beta. If only the mean +structure is of interest, GEE is an alternative to using linear mixed +models. + +Two types of random effects are supported. Standard random effects +are correlated with each other in arbitrary ways. Every group has the +same number (`k_re`) of standard random effects, with the same joint +distribution (but with independent realizations across the groups). + +Variance components are uncorrelated with each other, and with the +standard random effects. Each variance component has mean zero, and +all realizations of a given variance component have the same variance +parameter. The number of realized variance components per variance +parameter can differ across the groups. + +The primary reference for the implementation details is: + +MJ Lindstrom, DM Bates (1988). "Newton Raphson and EM algorithms for +linear mixed effects models for repeated measures data". Journal of +the American Statistical Association. Volume 83, Issue 404, pages +1014-1022. + +See also this more recent document: + +http://econ.ucsb.edu/~doug/245a/Papers/Mixed%20Effects%20Implement.pdf + +All the likelihood, gradient, and Hessian calculations closely follow +Lindstrom and Bates 1988, adapted to support variance components. + +The following two documents are written more from the perspective of +users: + +http://lme4.r-forge.r-project.org/lMMwR/lrgprt.pdf + +http://lme4.r-forge.r-project.org/slides/2009-07-07-Rennes/3Longitudinal-4.pdf + +Notation: + +* `cov_re` is the random effects covariance matrix (referred to above + as Psi) and `scale` is the (scalar) error variance. For a single + group, the marginal covariance matrix of endog given exog is scale*I + + Z * cov_re * Z', where Z is the design matrix for the random + effects in one group. + +* `vcomp` is a vector of variance parameters. The length of `vcomp` + is determined by the number of keys in either the `exog_vc` argument + to ``MixedLM``, or the `vc_formula` argument when using formulas to + fit a model. + +Notes: +1. Three different parameterizations are used in different places. +The regression slopes (usually called `fe_params`) are identical in +all three parameterizations, but the variance parameters differ. The +parameterizations are: + +* The "user parameterization" in which cov(endog) = scale*I + Z * + cov_re * Z', as described above. This is the main parameterization + visible to the user. + +* The "profile parameterization" in which cov(endog) = I + + Z * cov_re1 * Z'. This is the parameterization of the profile + likelihood that is maximized to produce parameter estimates. + (see Lindstrom and Bates for details). The "user" cov_re is + equal to the "profile" cov_re1 times the scale. + +* The "square root parameterization" in which we work with the Cholesky + factor of cov_re1 instead of cov_re directly. This is hidden from the + user. + +All three parameterizations can be packed into a vector by +(optionally) concatenating `fe_params` together with the lower +triangle or Cholesky square root of the dependence structure, followed +by the variance parameters for the variance components. The are +stored as square roots if (and only if) the random effects covariance +matrix is stored as its Cholesky factor. Note that when unpacking, it +is important to either square or reflect the dependence structure +depending on which parameterization is being used. + +Two score methods are implemented. One takes the score with respect +to the elements of the random effects covariance matrix (used for +inference once the MLE is reached), and the other takes the score with +respect to the parameters of the Cholesky square root of the random +effects covariance matrix (used for optimization). + +The numerical optimization uses GLS to avoid explicitly optimizing +over the fixed effects parameters. The likelihood that is optimized +is profiled over both the scale parameter (a scalar) and the fixed +effects parameters (if any). As a result of this profiling, it is +difficult and unnecessary to calculate the Hessian of the profiled log +likelihood function, so that calculation is not implemented here. +Therefore, optimization methods requiring the Hessian matrix such as +the Newton-Raphson algorithm cannot be used for model fitting. + +""" +from statsmodels.compat.pandas import deprecate_kwarg +from statsmodels.compat.scipy import SP_LT_2 + +from io import StringIO +import tokenize +import warnings + +import numpy as np +import pandas as pd +from scipy import sparse +from scipy.stats.distributions import norm + +from statsmodels.base._penalties import Penalty +import statsmodels.base.model as base +from statsmodels.formula._manager import FormulaManager +from statsmodels.formula.formulatools import advance_eval_env +from statsmodels.tools import data as data_tools +from statsmodels.tools._decorators import cache_readonly +from statsmodels.tools.rng_qrng import check_random_state +from statsmodels.tools.sm_exceptions import ( + ConvergenceWarning, + SingularMatrixWarning, + ValueWarning, +) +from statsmodels.tools.validation import string_like + +_warn_cov_sing = "The random effects covariance matrix is singular." + + +def _dot(x, y): + """Return the dot product of the arrays, works for sparse and dense.""" + if isinstance(x, np.ndarray) and isinstance(y, np.ndarray): + return np.dot(x, y) + elif sparse.issparse(x): + return x.dot(y) + elif sparse.issparse(y): + return y.T.dot(x.T).T + + +# From numpy, adapted to work with sparse and dense arrays. +def _multi_dot_three(A, B, C): + """ + Find best ordering for three arrays and do the multiplication + + Doing it manually instead of using dynamic programming is + approximately 15 times faster. + """ + # cost1 = cost((AB)C) + cost1 = ( + A.shape[0] * A.shape[1] * B.shape[1] # (AB) + + A.shape[0] * B.shape[1] * C.shape[1] + ) # (--)C + # cost2 = cost((AB)C) + cost2 = ( + B.shape[0] * B.shape[1] * C.shape[1] # (BC) + + A.shape[0] * A.shape[1] * C.shape[1] + ) # A(--) + + if cost1 < cost2: + return _dot(_dot(A, B), C) + else: + return _dot(A, _dot(B, C)) + + +def _dotsum(x, y): + """ + Return sum(x * y), where '*' is the pointwise product, computed + efficiently for dense and sparse matrices. + """ + if sparse.issparse(x): + return x.multiply(y).sum() + else: + # This way usually avoids allocating a temporary. + return np.dot(x.ravel(), y.ravel()) + + +class VCSpec: + """ + Define the variance component structure of a multilevel model + + Parameters + ---------- + names : list[str] + names[k] is the name of variance component k. + colnames : list[list[list[str]]] + colnames[k][i] is the list of column names for + mats[k][i]. + mats : list[list[array_like]] + mats[k][i] is the design matrix for group index + i in variance component k. + + Attributes + ---------- + names : list[str] + names[k] is the name of variance component k. + mats : list[list[array_like]] + mats[k][i] is the design matrix for group index + i in variance component k. + colnames : list[list[list[str]]] + colnames[k][i] is the list of column names for + mats[k][i]. + + Notes + ----- + The groups in colnames and mats must be in sorted order. + """ + + def __init__(self, names, colnames, mats): + self.names = names + self.colnames = colnames + self.mats = mats + + +def _get_exog_re_names(self, exog_re): + """ + Pass through if given a list of names. Otherwise, get pandas names + or create some generic variable names as needed. + """ + if self.k_re == 0: + return [] + if isinstance(exog_re, pd.DataFrame): + return exog_re.columns.tolist() + elif isinstance(exog_re, pd.Series) and exog_re.name is not None: + return [exog_re.name] + elif isinstance(exog_re, list): + return exog_re + + # Default names + defnames = [f"x_re{k + 1:1d}" for k in range(exog_re.shape[1])] + return defnames + + +class MixedLMParams: + """ + This class represents a parameter state for a mixed linear model + + Parameters + ---------- + k_fe : int + The number of covariates with fixed effects. + k_re : int + The number of covariates with random coefficients (excluding + variance components). + k_vc : int + The number of variance components parameters. + + Notes + ----- + This object represents the parameter state for the model in which + the scale parameter has been profiled out. + + """ + + def __init__(self, k_fe, k_re, k_vc): + + self.k_fe = k_fe + self.k_re = k_re + self.k_re2 = k_re * (k_re + 1) // 2 + self.k_vc = k_vc + self.k_tot = self.k_fe + self.k_re2 + self.k_vc + self._ix = np.tril_indices(self.k_re) + + def from_packed(params, k_fe, k_re, use_sqrt, has_fe): + """ + Create a MixedLMParams object from packed parameter vector + + Parameters + ---------- + params : array_like + The model parameters packed into a single vector. + k_fe : int + The number of covariates with fixed effects + k_re : int + The number of covariates with random effects (excluding + variance components). + use_sqrt : bool + If True, the random effects covariance matrix is provided + as its Cholesky factor, otherwise the lower triangle of + the covariance matrix is stored. + has_fe : bool + If True, `params` contains fixed effects parameters. + Otherwise, the fixed effects parameters are set to zero. + + Returns + ------- + MixedLMParams + The MixedLMParams object built from the packed parameters. + + """ + k_re2 = int(k_re * (k_re + 1) / 2) + + # The number of covariance parameters. + if has_fe: + k_vc = len(params) - k_fe - k_re2 + else: + k_vc = len(params) - k_re2 + + pa = MixedLMParams(k_fe, k_re, k_vc) + + cov_re = np.zeros((k_re, k_re)) + ix = pa._ix + if has_fe: + pa.fe_params = params[0:k_fe] + cov_re[ix] = params[k_fe : k_fe + k_re2] + else: + pa.fe_params = np.zeros(k_fe) + cov_re[ix] = params[0:k_re2] + + if use_sqrt: + cov_re = np.dot(cov_re, cov_re.T) + else: + cov_re = (cov_re + cov_re.T) - np.diag(np.diag(cov_re)) + + pa.cov_re = cov_re + if k_vc > 0: + if use_sqrt: + pa.vcomp = params[-k_vc:] ** 2 + else: + pa.vcomp = params[-k_vc:] + else: + pa.vcomp = np.array([]) + + return pa + + from_packed = staticmethod(from_packed) + + def from_components(fe_params=None, cov_re=None, cov_re_sqrt=None, vcomp=None): + """ + Create a MixedLMParams object from each parameter component + + Parameters + ---------- + fe_params : array_like, optional + The fixed effects parameter (a 1-dimensional array). If + None, there are no fixed effects. + cov_re : ndarray, optional + The random effects covariance matrix (a square, symmetric + 2-dimensional array). + cov_re_sqrt : ndarray, optional + The Cholesky (lower triangular) square root of the random + effects covariance matrix. + vcomp : array_like, optional + The variance component parameters. If None, there are no + variance components. + + Returns + ------- + MixedLMParams + The MixedLMParams object built from the given components. + + """ + if vcomp is None: + vcomp = np.empty(0) + if fe_params is None: + fe_params = np.empty(0) + if cov_re is None and cov_re_sqrt is None: + cov_re = np.empty((0, 0)) + + k_fe = len(fe_params) + k_vc = len(vcomp) + k_re = cov_re.shape[0] if cov_re is not None else cov_re_sqrt.shape[0] + + pa = MixedLMParams(k_fe, k_re, k_vc) + pa.fe_params = fe_params + if cov_re_sqrt is not None: + pa.cov_re = np.dot(cov_re_sqrt, cov_re_sqrt.T) + elif cov_re is not None: + pa.cov_re = cov_re + + pa.vcomp = vcomp + + return pa + + from_components = staticmethod(from_components) + + def copy(self): + """Return a copy of the object.""" + obj = MixedLMParams(self.k_fe, self.k_re, self.k_vc) + obj.fe_params = self.fe_params.copy() + obj.cov_re = self.cov_re.copy() + obj.vcomp = self.vcomp.copy() + return obj + + def get_packed(self, use_sqrt, has_fe=False): + """ + Return the model parameters packed into a single vector + + Parameters + ---------- + use_sqrt : bool + If True, the Cholesky square root of `cov_re` is + included in the packed result. Otherwise the + lower triangle of `cov_re` is included. + has_fe : bool, optional + If True, the fixed effects parameters are included + in the packed result, otherwise they are omitted. + + Returns + ------- + ndarray + The packed parameter vector. + """ + if self.k_re > 0: + if use_sqrt: + try: + L = np.linalg.cholesky(self.cov_re) + except np.linalg.LinAlgError: + L = np.diag(np.sqrt(np.diag(self.cov_re))) + cpa = L[self._ix] + else: + cpa = self.cov_re[self._ix] + else: + cpa = np.zeros(0) + + if use_sqrt: + vcomp = np.sqrt(self.vcomp) + else: + vcomp = self.vcomp + + if has_fe: + pa = np.concatenate((self.fe_params, cpa, vcomp)) + else: + pa = np.concatenate((cpa, vcomp)) + + return pa + + +def _smw_solver(s, A, AtA, Qi, di): + r""" + Return a solver for the linear system + + .. math:: + + (sI + ABA^\prime) y = x + + The returned function f satisfies f(x) = y as defined above. + + B and its inverse matrix are block diagonal. The upper left block + of :math:`B^{-1}` is Qi and its lower right block is diag(di). + + Parameters + ---------- + s : scalar + See above for usage + A : ndarray or sparse matrix + p x q matrix, in general q << p, may be sparse. + AtA : square ndarray or sparse matrix + :math:`A^\prime A`, a q x q matrix. + Qi : square symmetric ndarray + The matrix `B` is q x q, where q = r + d. `B` consists of a r + x r diagonal block whose inverse is `Qi`, and a d x d diagonal + block, whose inverse is diag(di). + di : 1d array_like + See documentation for Qi. + + Returns + ------- + callable + A function for solving a linear system, as documented above. + + Notes + ----- + Uses Sherman-Morrison-Woodbury identity: + https://en.wikipedia.org/wiki/Woodbury_matrix_identity + + """ + # Use SMW identity + qmat = AtA / s + m = Qi.shape[0] + qmat[0:m, 0:m] += Qi + + if sparse.issparse(A): + if SP_LT_2: + qmat[m:, m:] += sparse.diags(di) + else: + qmat[m:, m:] += sparse.diags_array(di) + + def solver(rhs): + ql = A.T.dot(rhs) + # Based on profiling, the next line can be the + # majority of the entire run time of fitting the model. + ql = sparse.linalg.spsolve(qmat, ql) + if ql.ndim < rhs.ndim: + # spsolve squeezes nx1 rhs + ql = ql[:, None] + ql = A.dot(ql) + return rhs / s - ql / s**2 + + else: + d = qmat.shape[0] + qmat.flat[m * (d + 1) :: d + 1] += di + qmati = np.linalg.solve(qmat, A.T) + + def solver(rhs): + # A is tall and qmati is wide, so we want + # A * (qmati * rhs) not (A * qmati) * rhs + ql = np.dot(qmati, rhs) + ql = np.dot(A, ql) + return rhs / s - ql / s**2 + + return solver + + +def _smw_logdet(s, A, AtA, Qi, di, B_logdet): + r""" + Return the log determinant of + + .. math:: + + sI + ABA^\prime + + Uses the matrix determinant lemma to accelerate the calculation. + B is assumed to be positive definite, and s > 0, therefore the + determinant is positive. + + Parameters + ---------- + s : positive scalar + See above for usage + A : ndarray or sparse matrix + p x q matrix, in general q << p. + AtA : square ndarray or sparse matrix + :math:`A^\prime A`, a q x q matrix. + Qi : square symmetric ndarray + The matrix `B` is q x q, where q = r + d. `B` consists of a r + x r diagonal block whose inverse is `Qi`, and a d x d diagonal + block, whose inverse is diag(di). + di : 1d array_like + See documentation for Qi. + B_logdet : real + The log determinant of B + + Returns + ------- + float + The log determinant of s*I + A*B*A'. + + Notes + ----- + Uses the matrix determinant lemma: + https://en.wikipedia.org/wiki/Matrix_determinant_lemma + + """ + p = A.shape[0] + ld = p * np.log(s) + qmat = AtA / s + m = Qi.shape[0] + qmat[0:m, 0:m] += Qi + + if sparse.issparse(qmat): + if SP_LT_2: + qmat[m:, m:] += sparse.diags(di) + else: + qmat[m:, m:] += sparse.diags_array(di) + + # There are faster but much more difficult ways to do this + # https://stackoverflow.com/questions/19107617 + lu = sparse.linalg.splu(qmat) + dl = lu.L.diagonal().astype(np.complex128) + du = lu.U.diagonal().astype(np.complex128) + ld1 = np.log(dl).sum() + np.log(du).sum() + ld1 = ld1.real + else: + d = qmat.shape[0] + qmat.flat[m * (d + 1) :: d + 1] += di + _, ld1 = np.linalg.slogdet(qmat) + + return B_logdet + ld + ld1 + + +def _convert_vc(exog_vc): + + vc_names = [] + vc_colnames = [] + vc_mats = [] + + # Get the groups in sorted order + groups = set() + for _k, v in exog_vc.items(): + groups |= set(v.keys()) + groups = list(groups) + groups.sort() + + for k, v in exog_vc.items(): + vc_names.append(k) + colnames, mats = [], [] + for g in groups: + try: + colnames.append(v[g].columns) + except AttributeError: + colnames.append([str(j) for j in range(v[g].shape[1])]) + mats.append(v[g]) + vc_colnames.append(colnames) + vc_mats.append(mats) + + ii = np.argsort(vc_names) + vc_names = [vc_names[i] for i in ii] + vc_colnames = [vc_colnames[i] for i in ii] + vc_mats = [vc_mats[i] for i in ii] + + return VCSpec(vc_names, vc_colnames, vc_mats) + + +class MixedLM(base.LikelihoodModel): + """ + Linear Mixed Effects Model + + Parameters + ---------- + endog : 1d array_like + The dependent variable + exog : 2d array_like + A matrix of covariates used to determine the + mean structure (the "fixed effects" covariates). + groups : 1d array_like + A vector of labels determining the groups -- data from + different groups are independent + exog_re : 2d array_like, optional + A matrix of covariates used to determine the variance and + covariance structure (the "random effects" covariates). If + None, defaults to a random intercept for each group. + exog_vc : VCSpec instance or dict-like (deprecated), optional + A VCSPec instance defines the structure of the variance + components in the model. Alternatively, see notes below + for a dictionary-based format. The dictionary format is + deprecated and may be removed at some point in the future. + use_sqrt : bool, optional + If True, optimization is carried out using the lower + triangle of the square root of the random effects + covariance matrix, otherwise it is carried out using the + lower triangle of the random effects covariance matrix. + missing : {"none", "drop", "raise"}, optional + The approach to missing data handling + + Notes + ----- + If `exog_vc` is not a `VCSpec` instance, then it must be a + dictionary of dictionaries. Specifically, `exog_vc[a][g]` is a + matrix whose columns are linearly combined using independent + random coefficients. This random term then contributes to the + variance structure of the data for group `g`. The random + coefficients all have mean zero, and have the same variance. The + matrix must be `m x k`, where `m` is the number of observations in + group `g`. The number of columns may differ among the top-level + groups. + + The covariates in `exog`, `exog_re` and `exog_vc` may (but need + not) partially or wholly overlap. + + `use_sqrt` should almost always be set to True. The main use case + for use_sqrt=False is when complicated patterns of fixed values in + the covariance structure are set (using the `free` argument to + `fit`) that cannot be expressed in terms of the Cholesky factor L. + + Examples + -------- + A basic mixed model with fixed effects for the columns of + ``exog`` and a random intercept for each distinct value of + ``group``: + + >>> model = sm.MixedLM(endog, exog, groups) + >>> result = model.fit() + + A mixed model with fixed effects for the columns of ``exog`` and + correlated random coefficients for the columns of ``exog_re``: + + >>> model = sm.MixedLM(endog, exog, groups, exog_re=exog_re) + >>> result = model.fit() + + A mixed model with fixed effects for the columns of ``exog`` and + independent random coefficients for the columns of ``exog_re``: + + >>> free = MixedLMParams.from_components( + fe_params=np.ones(exog.shape[1]), + cov_re=np.eye(exog_re.shape[1])) + >>> model = sm.MixedLM(endog, exog, groups, exog_re=exog_re) + >>> result = model.fit(free=free) + + A different way to specify independent random coefficients for the + columns of ``exog_re``. In this example ``groups`` must be a + Pandas Series with compatible indexing with ``exog_re``, and + ``exog_re`` has two columns. + + >>> g = groups.groupby(groups).groups + >>> vc = {} + >>> vc['1'] = {k : exog_re.loc[g[k], [0]].to_numpy() for k in g} + >>> vc['2'] = {k : exog_re.loc[g[k], [1]].to_numpy() for k in g} + >>> model = sm.MixedLM(endog, exog, groups, exog_vc=vc) + >>> result = model.fit() + + """ + + def __init__( + self, + endog, + exog, + groups, + exog_re=None, + exog_vc=None, + use_sqrt=True, + missing="none", + **kwargs, + ): + + _allowed_kwargs = ["missing_idx", "model_spec", "formula"] + for x in kwargs.keys(): + if x not in _allowed_kwargs: + raise ValueError( + f"argument {x} not permitted for MixedLM initialization" + ) + + self.use_sqrt = use_sqrt + + # Some defaults + self.reml = True + self.fe_pen = None + self.re_pen = None + + if isinstance(exog_vc, dict): + warnings.warn( + "Using deprecated variance components format", + FutureWarning, + stacklevel=2, + ) + # Convert from old to new representation + exog_vc = _convert_vc(exog_vc) + + if exog_vc is not None: + self.k_vc = len(exog_vc.names) + self.exog_vc = exog_vc + else: + self.k_vc = 0 + self.exog_vc = VCSpec([], [], []) + + # If there is one covariate, it may be passed in as a column + # vector, convert these to 2d arrays. + # TODO: Can this be moved up in the class hierarchy? + # yes, it should be done up the hierarchy + if ( + exog is not None + and data_tools._is_using_ndarray_type(exog, None) + and exog.ndim == 1 + ): + exog = exog[:, None] + if ( + exog_re is not None + and data_tools._is_using_ndarray_type(exog_re, None) + and exog_re.ndim == 1 + ): + exog_re = exog_re[:, None] + + # Calling super creates self.endog, etc. as ndarrays and the + # original exog, endog, etc. are self.data.endog, etc. + super().__init__( + endog, exog, groups=groups, exog_re=exog_re, missing=missing, **kwargs + ) + + self._init_keys.extend(["use_sqrt", "exog_vc"]) + + # Number of fixed effects parameters + self.k_fe = exog.shape[1] + + if exog_re is None and len(self.exog_vc.names) == 0: + # Default random effects structure (random intercepts). + self.k_re = 1 + self.k_re2 = 1 + self.exog_re = np.ones((len(endog), 1), dtype=np.float64) + self.data.exog_re = self.exog_re + names = ["Group Var"] + self.data.param_names = self.exog_names + names + self.data.exog_re_names = names + self.data.exog_re_names_full = names + + elif exog_re is not None: + # Process exog_re the same way that exog is handled + # upstream + # TODO: this is wrong and should be handled upstream wholly + self.data.exog_re = exog_re + self.exog_re = np.asarray(exog_re) + if self.exog_re.ndim == 1: + self.exog_re = self.exog_re[:, None] + # Model dimensions + # Number of random effect covariates + self.k_re = self.exog_re.shape[1] + # Number of covariance parameters + self.k_re2 = self.k_re * (self.k_re + 1) // 2 + + else: + # All random effects are variance components + self.k_re = 0 + self.k_re2 = 0 + + if not self.data._param_names: + # HACK: could have been set in from_formula already + # needs refactor + param_names, exog_re_names, exog_re_names_full = self._make_param_names( + exog_re + ) + self.data.param_names = param_names + self.data.exog_re_names = exog_re_names + self.data.exog_re_names_full = exog_re_names_full + + self.k_params = self.k_fe + self.k_re2 + + # Convert the data to the internal representation, which is a + # list of arrays, corresponding to the groups. + group_labels = list(set(groups)) + group_labels.sort() + row_indices = {s: [] for s in group_labels} + for i, g in enumerate(groups): + row_indices[g].append(i) + self.row_indices = row_indices + self.group_labels = group_labels + self.n_groups = len(self.group_labels) + + # Split the data by groups + self.endog_li = self.group_list(self.endog) + self.exog_li = self.group_list(self.exog) + self.exog_re_li = self.group_list(self.exog_re) + + # Precompute this. + if self.exog_re is None: + self.exog_re2_li = None + else: + self.exog_re2_li = [np.dot(x.T, x) for x in self.exog_re_li] + + # The total number of observations, summed over all groups + self.nobs = len(self.endog) + self.n_totobs = self.nobs + + # Set the fixed effects parameter names + if self.exog_names is None: + self.exog_names = [f"FE{k + 1:d}" for k in range(self.exog.shape[1])] + + # Precompute this + self._aex_r = [] + self._aex_r2 = [] + for i in range(self.n_groups): + a = self._augment_exog(i) + self._aex_r.append(a) + + ma = _dot(a.T, a) + self._aex_r2.append(ma) + + # Precompute this + self._lin, self._quad = self._reparam() + + def _make_param_names(self, exog_re): + """ + Return the full parameter names list, just the exogenous random + effects variables, and the exogenous random effects variables with + the interaction terms + + Parameters + ---------- + exog_re : array_like + The random effects covariates, used to derive the + random effects variable names. + + Returns + ------- + param_names : list[str] + The full list of parameter names (fixed effects, random + effects covariance terms, and variance components). + exog_re_names : list[str] + The names of the random effects covariates. + param_names_re : list[str] + The names of the random effects covariance parameters + (excluding fixed effects and variance components). + """ + exog_names = list(self.exog_names) + exog_re_names = _get_exog_re_names(self, exog_re) + param_names = [] + + jj = self.k_fe + for i in range(len(exog_re_names)): + for j in range(i + 1): + if i == j: + param_names.append(exog_re_names[i] + " Var") + else: + param_names.append( + exog_re_names[j] + " x " + exog_re_names[i] + " Cov" + ) + jj += 1 + + vc_names = [x + " Var" for x in self.exog_vc.names] + + return exog_names + param_names + vc_names, exog_re_names, param_names + + @classmethod + def from_formula( + cls, + formula, + data, + re_formula=None, + vc_formula=None, + subset=None, + use_sparse=False, + missing="none", + *args, + **kwargs, + ): + """ + Create a Model from a formula and dataframe + + Parameters + ---------- + formula : str or generic Formula object + The formula specifying the model + data : array_like + The data for the model. See Notes. + re_formula : str, optional + A one-sided formula defining the variance structure of the + model. The default gives a random intercept for each + group. + vc_formula : dict-like, optional + Formulas describing variance components. `vc_formula[vc]` is + the formula for the component with variance parameter named + `vc`. The formula is processed into a matrix, and the columns + of this matrix are linearly combined with independent random + coefficients having mean zero and a common variance. + subset : array_like, optional + An array-like object of booleans, integers, or index + values that indicate the subset of df to use in the + model. Assumes df is a `pandas.DataFrame` + use_sparse : bool, optional + If True, use sparse matrices for variance component design matrices. + missing : {"none", "drop"}, optional + Either 'none' or 'drop' + args : extra arguments + These are passed to the model + kwargs : extra keyword arguments + These are passed to the model with one exception. The + ``eval_env`` keyword is passed to patsy. It can be either a + :class:`patsy:patsy.EvalEnvironment` object or an integer + indicating the depth of the namespace to use. For example, the + default ``eval_env=0`` uses the calling namespace. If you wish + to use a "clean" environment set ``eval_env=-1``. + + Returns + ------- + model : Model instance + The model instance built from the formula and data. + + Notes + ----- + `data` must define __getitem__ with the keys in the formula + terms args and kwargs are passed on to the model + instantiation. E.g., a numpy structured or rec array, a + dictionary, or a pandas DataFrame. + + If the variance component is intended to produce random + intercepts for disjoint subsets of a group, specified by + string labels or a categorical data value, always use '0 +' in + the formula so that no overall intercept is included. + + If the variance components specify random slopes and you do + not also want a random group-level intercept in the model, + then use '0 +' in the formula to exclude the intercept. + + The variance components formulas are processed separately for + each group. If a variable is categorical the results will not + be affected by whether the group labels are distinct or + re-used over the top-level groups. + + Examples + -------- + Suppose we have data from an educational study with students + nested in classrooms nested in schools. The students take a + test, and we want to relate the test scores to the students' + ages, while accounting for the effects of classrooms and + schools. The school will be the top-level group, and the + classroom is a nested group that is specified as a variance + component. Note that the schools may have different number of + classrooms, and the classroom labels may (but need not be) + different across the schools. + + >>> vc = {'classroom': '0 + C(classroom)'} + >>> MixedLM.from_formula('test_score ~ age', vc_formula=vc, + ... re_formula='1', groups='school', data=data) + + Now suppose we also have a previous test score called + 'pretest'. If we want the relationship between pretest + scores and the current test to vary by classroom, we can + specify a random slope for the pretest score + + >>> vc = {'classroom': '0 + C(classroom)', 'pretest': '0 + pretest'} + >>> MixedLM.from_formula('test_score ~ age + pretest', vc_formula=vc, + ... re_formula='1', groups='school', data=data) + + The following model is almost equivalent to the previous one, + but here the classroom random intercept and pretest slope may + be correlated. + + >>> vc = {'classroom': '0 + C(classroom)'} + >>> MixedLM.from_formula('test_score ~ age + pretest', vc_formula=vc, + ... re_formula='1 + pretest', groups='school', data=data) + + """ + if "groups" not in kwargs.keys(): + raise AttributeError( + "'groups' is a required keyword argument " + "in MixedLM.from_formula" + ) + groups = kwargs["groups"] + + # If `groups` is a variable name, retrieve the data for the + # groups variable. + group_name = "Group" + if isinstance(groups, str): + group_name = groups + groups = np.asarray(data[groups]) + else: + groups = np.asarray(groups) + del kwargs["groups"] + + # Bypass all upstream missing data handling to properly handle + # variance components + if missing == "drop": + data, groups = _handle_missing( + data, groups, formula, re_formula, vc_formula + ) + missing = "none" + + if re_formula is not None: + if re_formula.strip() == "1": + # Work around Patsy bug, fixed by 0.3. + exog_re = np.ones((data.shape[0], 1)) + exog_re_names = [group_name] + else: + eval_env = kwargs.get("eval_env", None) + if eval_env is None: + eval_env = 1 + elif eval_env == -1: + mgr = FormulaManager() + eval_env = mgr.get_empty_eval_env() + mgr = FormulaManager() + exog_re = mgr.get_matrices(re_formula, data, eval_env=eval_env) + exog_re_names = mgr.get_column_names(exog_re) + exog_re_names = [ + x.replace("Intercept", group_name) for x in exog_re_names + ] + exog_re = np.asarray(exog_re) + if exog_re.ndim == 1: + exog_re = exog_re[:, None] + else: + exog_re = None + if vc_formula is None: + exog_re_names = [group_name] + else: + exog_re_names = [] + + if vc_formula is not None: + eval_env = kwargs.get("eval_env", None) + if eval_env is None: + eval_env = 1 + elif eval_env == -1: + mgr = FormulaManager() + eval_env = mgr.get_empty_eval_env() + + vc_mats = [] + vc_colnames = [] + vc_names = [] + gb = data.groupby(groups) + kylist = sorted(gb.groups.keys()) + vcf = sorted(vc_formula.keys()) + mgr = FormulaManager() + for vc_name in vcf: + model_spec = mgr.get_spec(vc_formula[vc_name]) + vc_names.append(vc_name) + evc_mats, evc_colnames = [], [] + for _group_ix, group in enumerate(kylist): + ii = gb.groups[group] + mat = mgr.get_matrices( + model_spec, data.loc[ii, :], eval_env=eval_env, pandas=True + ) + evc_colnames.append(mat.columns.tolist()) + if use_sparse: + evc_mats.append(sparse.csr_array(mat)) + else: + evc_mats.append(np.asarray(mat)) + vc_mats.append(evc_mats) + vc_colnames.append(evc_colnames) + exog_vc = VCSpec(vc_names, vc_colnames, vc_mats) + else: + exog_vc = VCSpec([], [], []) + + kwargs["subset"] = None + kwargs["exog_re"] = exog_re + kwargs["exog_vc"] = exog_vc + kwargs["groups"] = groups + kwargs["missing"] = missing + advance_eval_env(kwargs) + mod = super().from_formula(formula, data, *args, **kwargs) + + # expand re names to account for pairs of RE + param_names, exog_re_names, exog_re_names_full = mod._make_param_names( + exog_re_names + ) + + mod.data.param_names = param_names + mod.data.exog_re_names = exog_re_names + mod.data.exog_re_names_full = exog_re_names_full + + if vc_formula is not None: + mod.data.vcomp_names = mod.exog_vc.names + + return mod + + def predict(self, params, exog=None): + """ + Return predicted values from a design matrix + + Parameters + ---------- + params : MixedLMParams or array_like + Parameters of a mixed linear model. Can be either a + MixedLMParams instance, or a vector containing the packed + model parameters in which the fixed effects parameters are + at the beginning of the vector, or a vector containing + only the fixed effects parameters. + exog : array_like, optional + Design / exogenous data for the fixed effects. Model exog + is used if None. + + Returns + ------- + ndarray + An array of fitted values. Note that these predicted values + only reflect the fixed effects mean structure of the model. + + """ + if exog is None: + exog = self.exog + + if isinstance(params, MixedLMParams): + params = params.fe_params + else: + params = params[0 : self.k_fe] + + return np.dot(exog, params) + + def group_list(self, array): + """ + Return `array` split into subarrays corresponding to the + grouping structure + + Parameters + ---------- + array : None or array_like + An array with the same length as endog to be split by + group. If None, None is returned. + + Returns + ------- + list[ndarray] or None + The list of subarrays, one per group, or None if `array` + is None. + """ + if array is None: + return None + + if array.ndim == 1: + return [np.array(array[self.row_indices[k]]) for k in self.group_labels] + else: + return [np.array(array[self.row_indices[k], :]) for k in self.group_labels] + + def fit_regularized( + self, + start_params=None, + method="l1", + alpha=0, + ceps=1e-4, + ptol=1e-6, + maxit=200, + **fit_kwargs, + ): + """ + Fit a model in which the fixed effects parameters are + penalized. The dependence parameters are held fixed at their + estimated values in the unpenalized model. + + Parameters + ---------- + start_params : array_like, optional + Starting values for the optimization. + method : str or Penalty object, optional + Method for regularization. If a string, must be 'l1'. + alpha : scalar or array_like, optional + Scalar or vector of penalty weights. If a scalar, the + same weight is applied to all coefficients; if a vector, + it contains a weight for each coefficient. If method is a + Penalty object, the weights are scaled by alpha. For L1 + regularization, the weights are used directly. + ceps : positive real scalar, optional + Fixed effects parameters smaller than this value + in magnitude are treated as being zero. + ptol : positive real scalar, optional + Convergence occurs when the sup norm difference + between successive values of `fe_params` is less than + `ptol`. + maxit : int, optional + The maximum number of iterations. + **fit_kwargs + Additional keyword arguments passed to fit. + + Returns + ------- + MixedLMResults + The model instance containing the fitted results. + + Notes + ----- + The covariance structure is not updated as the fixed effects + parameters are varied. + + The algorithm used here for L1 regularization is a "shooting" + or cyclic coordinate descent algorithm. + + If method is 'l1', then `fe_pen` and `cov_pen` are used to + obtain the covariance structure, but are ignored during the + L1-penalized fitting. + + References + ---------- + Friedman, J. H., Hastie, T. and Tibshirani, R. Regularized + Paths for Generalized Linear Models via Coordinate + Descent. Journal of Statistical Software, 33(1) (2008) + http://www.jstatsoft.org/v33/i01/paper + + http://statweb.stanford.edu/~tibs/stat315a/Supplements/fuse.pdf + + """ + if isinstance(method, str) and (method.lower() != "l1"): + raise ValueError("Invalid regularization method") + + # If method is a smooth penalty just optimize directly. + if isinstance(method, Penalty): + # Scale the penalty weights by alpha + method.alpha = alpha + fit_kwargs.update({"fe_pen": method}) + return self.fit(**fit_kwargs) + + if np.isscalar(alpha): + alpha = alpha * np.ones(self.k_fe, dtype=np.float64) + + # Fit the unpenalized model to get the dependence structure. + mdf = self.fit(**fit_kwargs) + fe_params = mdf.fe_params + cov_re = mdf.cov_re + vcomp = mdf.vcomp + scale = mdf.scale + try: + cov_re_inv = np.linalg.inv(cov_re) + except np.linalg.LinAlgError: + cov_re_inv = None + + for _itr in range(maxit): + + fe_params_s = fe_params.copy() + for j in range(self.k_fe): + + if abs(fe_params[j]) < ceps: + continue + + # The residuals + fe_params[j] = 0.0 + expval = np.dot(self.exog, fe_params) + resid_all = self.endog - expval + + # The loss function has the form + # a*x^2 + b*x + pwt*|x| + a, b = 0.0, 0.0 + for group_ix, group in enumerate(self.group_labels): + + vc_var = self._expand_vcomp(vcomp, group_ix) + + exog = self.exog_li[group_ix] + ex_r, ex2_r = self._aex_r[group_ix], self._aex_r2[group_ix] + + resid = resid_all[self.row_indices[group]] + solver = _smw_solver(scale, ex_r, ex2_r, cov_re_inv, 1 / vc_var) + + x = exog[:, j] + u = solver(x) + a += np.dot(u, x) + b -= 2 * np.dot(u, resid) + + pwt1 = alpha[j] + if b > pwt1: + fe_params[j] = -(b - pwt1) / (2 * a) + elif b < -pwt1: + fe_params[j] = -(b + pwt1) / (2 * a) + + if np.abs(fe_params_s - fe_params).max() < ptol: + break + + # Replace the fixed effects estimates with their penalized + # values, leave the dependence parameters in their unpenalized + # state. + params_prof = mdf.params.copy() + params_prof[0 : self.k_fe] = fe_params + + scale = self.get_scale(fe_params, mdf.cov_re_unscaled, mdf.vcomp) + + # Get the Hessian including only the nonzero fixed effects, + # then blow back up to the full size after inverting. + hess, sing = self.hessian(params_prof) + if sing: + warnings.warn(_warn_cov_sing, SingularMatrixWarning, stacklevel=2) + + pcov = np.nan * np.ones_like(hess) + ii = np.abs(params_prof) > ceps + ii[self.k_fe :] = True + ii = np.flatnonzero(ii) + hess1 = hess[ii, :][:, ii] + pcov[np.ix_(ii, ii)] = np.linalg.inv(-hess1) + + params_object = MixedLMParams.from_components(fe_params, cov_re=cov_re) + + results = MixedLMResults(self, params_prof, pcov / scale) + results.params_object = params_object + results.fe_params = fe_params + results.cov_re = cov_re + results.vcomp = vcomp + results.scale = scale + results.cov_re_unscaled = mdf.cov_re_unscaled + results.method = mdf.method + results.converged = True + results.cov_pen = self.cov_pen + results.k_fe = self.k_fe + results.k_re = self.k_re + results.k_re2 = self.k_re2 + results.k_vc = self.k_vc + + return MixedLMResultsWrapper(results) + + def get_fe_params(self, cov_re, vcomp, tol=1e-10): + """ + Use GLS to update the fixed effects parameter estimates + + Parameters + ---------- + cov_re : array_like (2d) + The covariance matrix of the random effects. + vcomp : array_like (1d) + The variance components. + tol : float, optional + A tolerance parameter to determine when covariances + are singular. + + Returns + ------- + params : ndarray + The GLS estimates of the fixed effects parameters. + singular : bool + True if the covariance is singular + + """ + if self.k_fe == 0: + return np.array([]), False + + sing = False + + if self.k_re == 0: + cov_re_inv = np.empty((0, 0)) + else: + w, v = np.linalg.eigh(cov_re) + if w.min() < tol: + # Singular, use pseudo-inverse + sing = True + ii = np.flatnonzero(w >= tol) + if len(ii) == 0: + cov_re_inv = np.zeros_like(cov_re) + else: + vi = v[:, ii] + wi = w[ii] + cov_re_inv = np.dot(vi / wi, vi.T) + else: + cov_re_inv = np.linalg.inv(cov_re) + + # Cache these quantities that do not change. + if not hasattr(self, "_endex_li"): + self._endex_li = [] + for group_ix, _ in enumerate(self.group_labels): + mat = np.concatenate( + (self.exog_li[group_ix], self.endog_li[group_ix][:, None]), axis=1 + ) + self._endex_li.append(mat) + + xtxy = 0.0 + for group_ix, _group in enumerate(self.group_labels): + vc_var = self._expand_vcomp(vcomp, group_ix) + if vc_var.size > 0: + if vc_var.min() < tol: + # Pseudo-inverse + sing = True + ii = np.flatnonzero(vc_var >= tol) + vc_vari = np.zeros_like(vc_var) + vc_vari[ii] = 1 / vc_var[ii] + else: + vc_vari = 1 / vc_var + else: + vc_vari = np.empty(0) + exog = self.exog_li[group_ix] + ex_r, ex2_r = self._aex_r[group_ix], self._aex_r2[group_ix] + solver = _smw_solver(1.0, ex_r, ex2_r, cov_re_inv, vc_vari) + u = solver(self._endex_li[group_ix]) + xtxy += np.dot(exog.T, u) + + if sing: + fe_params = np.dot(np.linalg.pinv(xtxy[:, 0:-1]), xtxy[:, -1]) + else: + fe_params = np.linalg.solve(xtxy[:, 0:-1], xtxy[:, -1]) + + return fe_params, sing + + def _reparam(self): + """ + Return parameters of the map converting parameters from the + form used in optimization to the form returned to the user + + Returns + ------- + lin : list-like + Linear terms of the map + quad : list-like + Quadratic terms of the map + + Notes + ----- + If P are the standard form parameters and R are the + transformed parameters (i.e., with the Cholesky square root + covariance and square root transformed variance components), + then P[i] = lin[i] * R + R' * quad[i] * R + + """ + k_fe, k_re, k_re2, k_vc = self.k_fe, self.k_re, self.k_re2, self.k_vc + k_tot = k_fe + k_re2 + k_vc + ix = np.tril_indices(self.k_re) + + lin = [] + for k in range(k_fe): + e = np.zeros(k_tot) + e[k] = 1 + lin.append(e) + for _ in range(k_re2): + lin.append(np.zeros(k_tot)) + for _ in range(k_vc): + lin.append(np.zeros(k_tot)) + + quad = [] + # Quadratic terms for fixed effects. + for _ in range(k_tot): + quad.append(np.zeros((k_tot, k_tot))) + + # Quadratic terms for random effects covariance. + ii = np.tril_indices(k_re) + ix = [(a, b) for a, b in zip(ii[0], ii[1], strict=True)] + for i1 in range(k_re2): + for i2 in range(k_re2): + ix1 = ix[i1] + ix2 = ix[i2] + if (ix1[1] == ix2[1]) and (ix1[0] <= ix2[0]): + ii = (ix2[0], ix1[0]) + k = ix.index(ii) + quad[k_fe + k][k_fe + i2, k_fe + i1] += 1 + for k in range(k_tot): + quad[k] = 0.5 * (quad[k] + quad[k].T) + + # Quadratic terms for variance components. + km = k_fe + k_re2 + for k in range(km, km + k_vc): + quad[k][k, k] = 1 + + return lin, quad + + def _expand_vcomp(self, vcomp, group_ix): + """ + Replicate variance parameters to match a group's design + + Parameters + ---------- + vcomp : array_like + The variance parameters for the variance components. + group_ix : int + The group index + + Returns + ------- + ndarray + An expanded version of vcomp, in which each variance + parameter is copied as many times as there are independent + realizations of the variance component in the given group. + """ + if len(vcomp) == 0: + return np.empty(0) + vc_var = [] + for j in range(len(self.exog_vc.names)): + d = self.exog_vc.mats[j][group_ix].shape[1] + vc_var.append(vcomp[j] * np.ones(d)) + if len(vc_var) > 0: + return np.concatenate(vc_var) + else: + # Cannot reach here? + return np.empty(0) + + def _augment_exog(self, group_ix): + """ + Concatenate the columns for variance components to the columns + for other random effects to obtain a single random effects + exog matrix for a given group + + Parameters + ---------- + group_ix : int + The group index + + Returns + ------- + ndarray or sparse matrix + The combined random effects and variance component design + matrix for the given group. + """ + ex_r = self.exog_re_li[group_ix] if self.k_re > 0 else None + if self.k_vc == 0: + return ex_r + + ex = [ex_r] if self.k_re > 0 else [] + any_sparse = False + for j, _ in enumerate(self.exog_vc.names): + ex.append(self.exog_vc.mats[j][group_ix]) + any_sparse |= sparse.issparse(ex[-1]) + if any_sparse: + for j, x in enumerate(ex): + if not sparse.issparse(x): + ex[j] = sparse.csr_array(x) + ex = sparse.hstack(ex) + ex = sparse.csr_array(ex) + else: + ex = np.concatenate(ex, axis=1) + + return ex + + def loglike(self, params, profile_fe=True): + """ + Evaluate the (profile) log-likelihood of the linear mixed + effects model. + + Parameters + ---------- + params : MixedLMParams, or array_like + The parameter value. If array-like, must be a packed + parameter vector containing only the covariance + parameters. + profile_fe : bool, optional + If True, replace the provided value of `fe_params` with + the GLS estimates. + + Returns + ------- + float + The log-likelihood value at `params`. + + Notes + ----- + The scale parameter `scale` is always profiled out of the + log-likelihood. In addition, if `profile_fe` is true the + fixed effects parameters are also profiled out. + + """ + if type(params) is not MixedLMParams: + params = MixedLMParams.from_packed( + params, self.k_fe, self.k_re, self.use_sqrt, has_fe=False + ) + + cov_re = params.cov_re + vcomp = params.vcomp + + # Move to the profile set + if profile_fe: + fe_params, sing = self.get_fe_params(cov_re, vcomp) + if sing: + self._cov_sing += 1 + else: + fe_params = params.fe_params + + if self.k_re > 0: + try: + cov_re_inv = np.linalg.inv(cov_re) + except np.linalg.LinAlgError: + cov_re_inv = np.linalg.pinv(cov_re) + self._cov_sing += 1 + _, cov_re_logdet = np.linalg.slogdet(cov_re) + else: + cov_re_inv = np.zeros((0, 0)) + cov_re_logdet = 0 + + # The residuals + expval = np.dot(self.exog, fe_params) + resid_all = self.endog - expval + + likeval = 0.0 + + # Handle the covariance penalty + if (self.cov_pen is not None) and (self.k_re > 0): + likeval -= self.cov_pen.func(cov_re, cov_re_inv) + + # Handle the fixed effects penalty + if self.fe_pen is not None: + likeval -= self.fe_pen.func(fe_params) + + xvx, qf = 0.0, 0.0 + for group_ix, group in enumerate(self.group_labels): + + vc_var = self._expand_vcomp(vcomp, group_ix) + cov_aug_logdet = cov_re_logdet + np.sum(np.log(vc_var)) + + exog = self.exog_li[group_ix] + ex_r, ex2_r = self._aex_r[group_ix], self._aex_r2[group_ix] + solver = _smw_solver(1.0, ex_r, ex2_r, cov_re_inv, 1 / vc_var) + + resid = resid_all[self.row_indices[group]] + + # Part 1 of the log likelihood (for both ML and REML) + ld = _smw_logdet(1.0, ex_r, ex2_r, cov_re_inv, 1 / vc_var, cov_aug_logdet) + likeval -= ld / 2.0 + + # Part 2 of the log likelihood (for both ML and REML) + u = solver(resid) + qf += np.dot(resid, u) + + # Adjustment for REML + if self.reml: + mat = solver(exog) + xvx += np.dot(exog.T, mat) + + if self.reml: + likeval -= (self.n_totobs - self.k_fe) * np.log(qf) / 2.0 + _, ld = np.linalg.slogdet(xvx) + likeval -= ld / 2.0 + likeval -= (self.n_totobs - self.k_fe) * np.log(2 * np.pi) / 2.0 + likeval += ( + (self.n_totobs - self.k_fe) * np.log(self.n_totobs - self.k_fe) / 2.0 + ) + likeval -= (self.n_totobs - self.k_fe) / 2.0 + else: + likeval -= self.n_totobs * np.log(qf) / 2.0 + likeval -= self.n_totobs * np.log(2 * np.pi) / 2.0 + likeval += self.n_totobs * np.log(self.n_totobs) / 2.0 + likeval -= self.n_totobs / 2.0 + + return likeval + + def _gen_dV_dPar(self, ex_r, solver, group_ix, max_ix=None): + """ + Yield the element-wise derivative of the marginal covariance + matrix with respect to the random effects variance and + covariance parameters + + Parameters + ---------- + ex_r : ndarray or sparse matrix + The random effects design matrix + solver : callable + A function that given x returns V^{-1}x, where V + is the group's marginal covariance matrix. + group_ix : int + The group index + max_ix : {None, int}, optional + If not None, the generator ends when this index + is reached. + + Yields + ------ + jj : int + The index of the covariance parameter. + mat_l : ndarray + The left factor of the derivative term. + mat_r : ndarray + The right factor of the derivative term. + vsl : ndarray + The left factor pre-multiplied by the solver. + vsr : ndarray + The right factor pre-multiplied by the solver. + sym : bool + True if the derivative term is with respect to a diagonal + (variance) parameter. + """ + axr = solver(ex_r) + + # Regular random effects + jj = 0 + for j1 in range(self.k_re): + for j2 in range(j1 + 1): + if max_ix is not None and jj > max_ix: + return + # Need 2d + mat_l, mat_r = ex_r[:, j1 : j1 + 1], ex_r[:, j2 : j2 + 1] + vsl, vsr = axr[:, j1 : j1 + 1], axr[:, j2 : j2 + 1] + yield jj, mat_l, mat_r, vsl, vsr, j1 == j2 + jj += 1 + + # Variance components + for j, _ in enumerate(self.exog_vc.names): + if max_ix is not None and jj > max_ix: + return + mat = self.exog_vc.mats[j][group_ix] + axmat = solver(mat) + yield jj, mat, mat, axmat, axmat, True + jj += 1 + + def score(self, params, profile_fe=True): + """ + Return the score vector of the profile log-likelihood + + Parameters + ---------- + params : MixedLMParams, or array_like + The parameter value. If array-like, must be a packed + parameter vector containing only the covariance + parameters. + profile_fe : bool, optional + If True, replace the provided value of `fe_params` with + the GLS estimates. + + Returns + ------- + ndarray + The score vector, evaluated at `params`. + + Notes + ----- + The score vector that is returned is computed with respect to + the parameterization defined by this model instance's + `use_sqrt` attribute. + + """ + if type(params) is not MixedLMParams: + params = MixedLMParams.from_packed( + params, self.k_fe, self.k_re, self.use_sqrt, has_fe=False + ) + + if profile_fe: + params.fe_params, sing = self.get_fe_params(params.cov_re, params.vcomp) + + if sing: + msg = "Random effects covariance is singular" + warnings.warn(msg, SingularMatrixWarning, stacklevel=2) + + if self.use_sqrt: + score_fe, score_re, score_vc = self.score_sqrt( + params, calc_fe=not profile_fe + ) + else: + score_fe, score_re, score_vc = self.score_full( + params, calc_fe=not profile_fe + ) + + if self._freepat is not None: + score_fe *= self._freepat.fe_params + score_re *= self._freepat.cov_re[self._freepat._ix] + score_vc *= self._freepat.vcomp + + if profile_fe: + return np.concatenate((score_re, score_vc)) + else: + return np.concatenate((score_fe, score_re, score_vc)) + + def score_full(self, params, calc_fe): + """ + Return the score with respect to untransformed parameters + + Calculates the score vector for the profiled log-likelihood of + the mixed effects model with respect to the parameterization + in which the random effects covariance matrix is represented + in its full form (not using the Cholesky factor). + + Parameters + ---------- + params : MixedLMParams or array_like + The parameter at which the score function is evaluated. + If array-like, must contain the packed random effects + parameters (cov_re and vcomp) without fe_params. + calc_fe : bool + If True, calculate the score vector for the fixed effects + parameters. If False, this vector is not calculated, and + a vector of zeros is returned in its place. + + Returns + ------- + score_fe : ndarray + The score vector with respect to the fixed effects + parameters. + score_re : ndarray + The score vector with respect to the random effects + parameters (excluding variance components parameters). + score_vc : ndarray + The score vector with respect to variance components + parameters. + + Notes + ----- + `score_re` is taken with respect to the parameterization in + which `cov_re` is represented through its lower triangle + (without taking the Cholesky square root). + + """ + fe_params = params.fe_params + cov_re = params.cov_re + vcomp = params.vcomp + + try: + cov_re_inv = np.linalg.inv(cov_re) + except np.linalg.LinAlgError: + cov_re_inv = np.linalg.pinv(cov_re) + self._cov_sing += 1 + + score_fe = np.zeros(self.k_fe) + score_re = np.zeros(self.k_re2) + score_vc = np.zeros(self.k_vc) + + # Handle the covariance penalty. + if self.cov_pen is not None: + score_re -= self.cov_pen.deriv(cov_re, cov_re_inv) + + # Handle the fixed effects penalty. + if calc_fe and (self.fe_pen is not None): + score_fe -= self.fe_pen.deriv(fe_params) + + # resid' V^{-1} resid, summed over the groups (a scalar) + rvir = 0.0 + + # exog' V^{-1} resid, summed over the groups (a k_fe + # dimensional vector) + xtvir = 0.0 + + # exog' V^{_1} exog, summed over the groups (a k_fe x k_fe + # matrix) + xtvix = 0.0 + + # V^{-1} exog' dV/dQ_jj exog V^{-1}, where Q_jj is the jj^th + # covariance parameter. + xtax = [ + 0.0, + ] * (self.k_re2 + self.k_vc) + + # Temporary related to the gradient of log |V| + dlv = np.zeros(self.k_re2 + self.k_vc) + + # resid' V^{-1} dV/dQ_jj V^{-1} resid (a scalar) + rvavr = np.zeros(self.k_re2 + self.k_vc) + + for group_ix, _group in enumerate(self.group_labels): + + vc_var = self._expand_vcomp(vcomp, group_ix) + + exog = self.exog_li[group_ix] + ex_r, ex2_r = self._aex_r[group_ix], self._aex_r2[group_ix] + solver = _smw_solver(1.0, ex_r, ex2_r, cov_re_inv, 1 / vc_var) + + # The residuals + resid = self.endog_li[group_ix] + if self.k_fe > 0: + expval = np.dot(exog, fe_params) + resid = resid - expval + + if self.reml: + viexog = solver(exog) + xtvix += np.dot(exog.T, viexog) + + # Contributions to the covariance parameter gradient + vir = solver(resid) + for jj, matl, matr, vsl, vsr, sym in self._gen_dV_dPar( + ex_r, solver, group_ix + ): + dlv[jj] = _dotsum(matr, vsl) + if not sym: + dlv[jj] += _dotsum(matl, vsr) + + ul = _dot(vir, matl) + ur = ul.T if sym else _dot(matr.T, vir) + ulr = np.dot(ul, ur) + rvavr[jj] += ulr + if not sym: + rvavr[jj] += ulr.T + + if self.reml: + ul = _dot(viexog.T, matl) + ur = ul.T if sym else _dot(matr.T, viexog) + ulr = np.dot(ul, ur) + xtax[jj] += ulr + if not sym: + xtax[jj] += ulr.T + + # Contribution of log|V| to the covariance parameter + # gradient. + if self.k_re > 0: + score_re -= 0.5 * dlv[0 : self.k_re2] + if self.k_vc > 0: + score_vc -= 0.5 * dlv[self.k_re2 :] + + rvir += np.dot(resid, vir) + + if calc_fe: + xtvir += np.dot(exog.T, vir) + + fac = self.n_totobs + if self.reml: + fac -= self.k_fe + + if calc_fe and self.k_fe > 0: + score_fe += fac * xtvir / rvir + + if self.k_re > 0: + score_re += 0.5 * fac * rvavr[0 : self.k_re2] / rvir + if self.k_vc > 0: + score_vc += 0.5 * fac * rvavr[self.k_re2 :] / rvir + + if self.reml: + xtvixi = np.linalg.inv(xtvix) + for j in range(self.k_re2): + score_re[j] += 0.5 * _dotsum(xtvixi.T, xtax[j]) + for j in range(self.k_vc): + score_vc[j] += 0.5 * _dotsum(xtvixi.T, xtax[self.k_re2 + j]) + + return score_fe, score_re, score_vc + + def score_sqrt(self, params, calc_fe=True): + """ + Return the score with respect to transformed parameters + + Calculates the score vector with respect to the + parameterization in which the random effects covariance matrix + is represented through its Cholesky square root. + + Parameters + ---------- + params : MixedLMParams or array_like + The model parameters. If array-like must contain packed + parameters that are compatible with this model instance. + calc_fe : bool, optional + If True, calculate the score vector for the fixed effects + parameters. If False, this vector is not calculated, and + a vector of zeros is returned in its place. + + Returns + ------- + score_fe : ndarray + The score vector with respect to the fixed effects + parameters. + score_re : ndarray + The score vector with respect to the random effects + parameters (excluding variance components parameters). + score_vc : ndarray + The score vector with respect to variance components + parameters. + + """ + score_fe, score_re, score_vc = self.score_full(params, calc_fe=calc_fe) + params_vec = params.get_packed(use_sqrt=True, has_fe=True) + + score_full = np.concatenate((score_fe, score_re, score_vc)) + scr = 0.0 + for i in range(len(params_vec)): + v = self._lin[i] + 2 * np.dot(self._quad[i], params_vec) + scr += score_full[i] * v + score_fe = scr[0 : self.k_fe] + score_re = scr[self.k_fe : self.k_fe + self.k_re2] + score_vc = scr[self.k_fe + self.k_re2 :] + + return score_fe, score_re, score_vc + + def hessian(self, params): + """ + Return the model's Hessian matrix + + Calculates the Hessian matrix for the linear mixed effects + model with respect to the parameterization in which the + covariance matrix is represented directly (without square-root + transformation). + + Parameters + ---------- + params : MixedLMParams or array_like + The model parameters at which the Hessian is calculated. + If array-like, must contain the packed parameters in a + form that is compatible with this model instance. + + Returns + ------- + hess : 2d ndarray + The Hessian matrix, evaluated at `params`. + sing : bool + If True, the covariance matrix is singular and a + pseudo-inverse is returned. + + """ + if type(params) is not MixedLMParams: + params = MixedLMParams.from_packed( + params, self.k_fe, self.k_re, use_sqrt=self.use_sqrt, has_fe=True + ) + + fe_params = params.fe_params + vcomp = params.vcomp + cov_re = params.cov_re + sing = False + + if self.k_re > 0: + try: + cov_re_inv = np.linalg.inv(cov_re) + except np.linalg.LinAlgError: + cov_re_inv = np.linalg.pinv(cov_re) + sing = True + else: + cov_re_inv = np.empty((0, 0)) + + # Blocks for the fixed and random effects parameters. + hess_fe = 0.0 + hess_re = np.zeros((self.k_re2 + self.k_vc, self.k_re2 + self.k_vc)) + hess_fere = np.zeros((self.k_re2 + self.k_vc, self.k_fe)) + + fac = self.n_totobs + if self.reml: + fac -= self.exog.shape[1] + + rvir = 0.0 + xtvix = 0.0 + xtax = [ + 0.0, + ] * (self.k_re2 + self.k_vc) + m = self.k_re2 + self.k_vc + B = np.zeros(m) + D = np.zeros((m, m)) + F = [[0.0] * m for k in range(m)] + for group_ix, _group in enumerate(self.group_labels): + + vc_var = self._expand_vcomp(vcomp, group_ix) + vc_vari = np.zeros_like(vc_var) + ii = np.flatnonzero(vc_var >= 1e-10) + if len(ii) > 0: + vc_vari[ii] = 1 / vc_var[ii] + if len(ii) < len(vc_var): + sing = True + + exog = self.exog_li[group_ix] + ex_r, ex2_r = self._aex_r[group_ix], self._aex_r2[group_ix] + solver = _smw_solver(1.0, ex_r, ex2_r, cov_re_inv, vc_vari) + + # The residuals + resid = self.endog_li[group_ix] + if self.k_fe > 0: + expval = np.dot(exog, fe_params) + resid = resid - expval + + viexog = solver(exog) + xtvix += np.dot(exog.T, viexog) + vir = solver(resid) + rvir += np.dot(resid, vir) + + for jj1, matl1, matr1, vsl1, vsr1, sym1 in self._gen_dV_dPar( + ex_r, solver, group_ix + ): + + ul = _dot(viexog.T, matl1) + ur = _dot(matr1.T, vir) + hess_fere[jj1, :] += np.dot(ul, ur) + if not sym1: + ul = _dot(viexog.T, matr1) + ur = _dot(matl1.T, vir) + hess_fere[jj1, :] += np.dot(ul, ur) + + if self.reml: + ul = _dot(viexog.T, matl1) + ur = ul if sym1 else np.dot(viexog.T, matr1) + ulr = _dot(ul, ur.T) + xtax[jj1] += ulr + if not sym1: + xtax[jj1] += ulr.T + + ul = _dot(vir, matl1) + ur = ul if sym1 else _dot(vir, matr1) + B[jj1] += np.dot(ul, ur) * (1 if sym1 else 2) + + # V^{-1} * dV/d_theta + E = [(vsl1, matr1)] + if not sym1: + E.append((vsr1, matl1)) + + for jj2, matl2, matr2, vsl2, vsr2, sym2 in self._gen_dV_dPar( + ex_r, solver, group_ix, jj1 + ): + + re = sum([_multi_dot_three(matr2.T, x[0], x[1].T) for x in E]) + vt = 2 * _dot( + _multi_dot_three(vir[None, :], matl2, re), vir[:, None] + ) + + if not sym2: + le = sum([_multi_dot_three(matl2.T, x[0], x[1].T) for x in E]) + vt += 2 * _dot( + _multi_dot_three(vir[None, :], matr2, le), vir[:, None] + ) + + D[jj1, jj2] += np.squeeze(vt) + if jj1 != jj2: + D[jj2, jj1] += np.squeeze(vt) + + rt = _dotsum(vsl2, re.T) / 2 + if not sym2: + rt += _dotsum(vsr2, le.T) / 2 + + hess_re[jj1, jj2] += rt + if jj1 != jj2: + hess_re[jj2, jj1] += rt + + if self.reml: + ev = sum([_dot(x[0], _dot(x[1].T, viexog)) for x in E]) + u1 = _dot(viexog.T, matl2) + u2 = _dot(matr2.T, ev) + um = np.dot(u1, u2) + F[jj1][jj2] += um + um.T + if not sym2: + u1 = np.dot(viexog.T, matr2) + u2 = np.dot(matl2.T, ev) + um = np.dot(u1, u2) + F[jj1][jj2] += um + um.T + + hess_fe -= fac * xtvix / rvir + hess_re = hess_re - 0.5 * fac * (D / rvir - np.outer(B, B) / rvir**2) + hess_fere = -fac * hess_fere / rvir + + if self.reml: + QL = [np.linalg.solve(xtvix, x) for x in xtax] + for j1 in range(self.k_re2 + self.k_vc): + for j2 in range(j1 + 1): + a = _dotsum(QL[j1].T, QL[j2]) + a -= np.trace(np.linalg.solve(xtvix, F[j1][j2])) + a *= 0.5 + hess_re[j1, j2] += a + if j1 > j2: + hess_re[j2, j1] += a + + # Put the blocks together to get the Hessian. + m = self.k_fe + self.k_re2 + self.k_vc + hess = np.zeros((m, m)) + hess[0 : self.k_fe, 0 : self.k_fe] = hess_fe + hess[0 : self.k_fe, self.k_fe :] = hess_fere.T + hess[self.k_fe :, 0 : self.k_fe] = hess_fere + hess[self.k_fe :, self.k_fe :] = hess_re + + return hess, sing + + def get_scale(self, fe_params, cov_re, vcomp): + """ + Return the estimated error variance based on given estimates + of the slopes and random effects covariance matrix + + Parameters + ---------- + fe_params : array_like + The regression slope estimates + cov_re : 2d array_like + Estimate of the random effects covariance matrix + vcomp : array_like + Estimate of the variance components + + Returns + ------- + scale : float + The estimated error variance. + + """ + try: + cov_re_inv = np.linalg.inv(cov_re) + except np.linalg.LinAlgError: + cov_re_inv = np.linalg.pinv(cov_re) + warnings.warn(_warn_cov_sing, SingularMatrixWarning, stacklevel=2) + + qf = 0.0 + for group_ix, _group in enumerate(self.group_labels): + + vc_var = self._expand_vcomp(vcomp, group_ix) + + exog = self.exog_li[group_ix] + ex_r, ex2_r = self._aex_r[group_ix], self._aex_r2[group_ix] + + solver = _smw_solver(1.0, ex_r, ex2_r, cov_re_inv, 1 / vc_var) + + # The residuals + resid = self.endog_li[group_ix] + if self.k_fe > 0: + expval = np.dot(exog, fe_params) + resid = resid - expval + + mat = solver(resid) + qf += np.dot(resid, mat) + + if self.reml: + qf /= self.n_totobs - self.k_fe + else: + qf /= self.n_totobs + + return qf + + def fit( + self, + start_params=None, + reml=True, + niter_sa=0, + do_cg=True, + fe_pen=None, + cov_pen=None, + free=None, + full_output=False, + method=None, + **fit_kwargs, + ): + """ + Fit a linear mixed model to the data + + Parameters + ---------- + start_params : array_like or MixedLMParams, optional + Starting values for the profile log-likelihood. If not a + `MixedLMParams` instance, this should be an array + containing the packed parameters for the profile + log-likelihood, including the fixed effects + parameters. + reml : bool, optional + If true, fit according to the REML likelihood, else + fit the standard likelihood using ML. + niter_sa : int, optional + Currently this argument is ignored and has no effect + on the results. + do_cg : bool, optional + If False, the optimization is skipped and a results + object at the given (or default) starting values is + returned. + fe_pen : Penalty object, optional + A penalty on the fixed effects + cov_pen : CovariancePenalty object, optional + A penalty for the random effects covariance matrix + free : MixedLMParams object, optional + If not `None`, this is a mask that allows parameters to be + held fixed at specified values. A 1 indicates that the + corresponding parameter is estimated, a 0 indicates that + it is fixed at its starting value. Setting the `cov_re` + component to the identity matrix fits a model with + independent random effects. Note that some optimization + methods do not respect this constraint (bfgs and lbfgs both + work). + full_output : bool, optional + If true, attach iteration history to results + method : str or list[str], optional + Optimization method. Can be a scipy.optimize method name, + or a list of such names to be tried in sequence. + **fit_kwargs + Additional keyword arguments passed to fit. + + Returns + ------- + MixedLMResults + The model instance containing the fitted results. + """ + _allowed_kwargs = [ + "gtol", + "maxiter", + "eps", + "maxcor", + "ftol", + "tol", + "disp", + "maxls", + ] + disallowed_kwargs = sorted(set(fit_kwargs).difference(_allowed_kwargs)) + if disallowed_kwargs: + disallowed = ", ".join(disallowed_kwargs) + ending = "s" if len(disallowed_kwargs) > 1 else "" + warnings.warn( + f"Argument{ending} {disallowed} not used by MixedLM.fit. Future versions will raise " + "on these arguments.", + FutureWarning, + stacklevel=2, + ) + fit_kwargs = {k: v for k, v in fit_kwargs.items() + if k in _allowed_kwargs} + + if method is None: + method = ["bfgs", "lbfgs", "cg"] + elif isinstance(method, str): + method = [method] + + for meth in method: + if meth.lower() in ["newton", "ncg"]: + raise ValueError(f"method {meth} not available for MixedLM") + + self.reml = reml + self.cov_pen = cov_pen + self.fe_pen = fe_pen + self._cov_sing = 0 + self._freepat = free + + if full_output: + hist = [] + else: + hist = None + + if start_params is None: + params = MixedLMParams(self.k_fe, self.k_re, self.k_vc) + params.fe_params = np.zeros(self.k_fe) + params.cov_re = np.eye(self.k_re) + params.vcomp = np.ones(self.k_vc) + elif isinstance(start_params, MixedLMParams): + params = start_params + # It's a packed array + elif len(start_params) == self.k_fe + self.k_re2 + self.k_vc: + params = MixedLMParams.from_packed( + start_params, self.k_fe, self.k_re, self.use_sqrt, has_fe=True + ) + elif len(start_params) == self.k_re2 + self.k_vc: + params = MixedLMParams.from_packed( + start_params, self.k_fe, self.k_re, self.use_sqrt, has_fe=False + ) + else: + raise ValueError("invalid start_params") + + if do_cg: + fit_kwargs["retall"] = hist is not None + if "disp" not in fit_kwargs: + fit_kwargs["disp"] = False + packed = params.get_packed(use_sqrt=self.use_sqrt, has_fe=False) + + if niter_sa > 0: + warnings.warn( + "niter_sa is currently ignored", ValueWarning, stacklevel=2 + ) + + # Try optimizing one or more times + for j in range(len(method)): + rslt = super().fit( + start_params=packed, + skip_hessian=True, + method=method[j], + **fit_kwargs, + ) + if rslt.mle_retvals["converged"]: + break + packed = rslt.params + if j + 1 < len(method): + next_method = method[j + 1] + warnings.warn( + f"Retrying MixedLM optimization with {next_method}", + ConvergenceWarning, + stacklevel=2, + ) + else: + msg = ( + "MixedLM optimization failed, trying a different optimizer " + "may help." + ) + warnings.warn(msg, ConvergenceWarning, stacklevel=2) + + # The optimization succeeded + params = np.atleast_1d(rslt.params) + if hist is not None: + hist.append(rslt.mle_retvals) + + converged = rslt.mle_retvals["converged"] + if not converged: + gn = self.score(rslt.params) + gn = np.sqrt(np.sum(gn**2)) + msg = f"Gradient optimization failed, |grad| = {gn:f}" + warnings.warn(msg, ConvergenceWarning, stacklevel=2) + + # Convert to the final parameterization (i.e., undo the square + # root transform of the covariance matrix, and the profiling + # over the error variance). + params = MixedLMParams.from_packed( + params, self.k_fe, self.k_re, use_sqrt=self.use_sqrt, has_fe=False + ) + cov_re_unscaled = params.cov_re + vcomp_unscaled = params.vcomp + fe_params, sing = self.get_fe_params(cov_re_unscaled, vcomp_unscaled) + params.fe_params = fe_params + scale = self.get_scale(fe_params, cov_re_unscaled, vcomp_unscaled) + cov_re = scale * cov_re_unscaled + vcomp = scale * vcomp_unscaled + + f1 = (self.k_re > 0) and (np.min(np.abs(np.diag(cov_re))) < 0.01) + f2 = (self.k_vc > 0) and (np.min(np.abs(vcomp)) < 0.01) + if f1 or f2: + msg = "The MLE may be on the boundary of the parameter space." + warnings.warn(msg, ConvergenceWarning, stacklevel=2) + + # Compute the Hessian at the MLE. Note that this is the + # Hessian with respect to the random effects covariance matrix + # (not its square root). It is used for obtaining standard + # errors, not for optimization. + hess, sing = self.hessian(params) + if sing: + warnings.warn(_warn_cov_sing, SingularMatrixWarning, stacklevel=2) + + hess_diag = np.diag(hess) + if free is not None: + pcov = np.zeros_like(hess) + pat = self._freepat.get_packed(use_sqrt=False, has_fe=True) + ii = np.flatnonzero(pat) + hess_diag = hess_diag[ii] + if len(ii) > 0: + hess1 = hess[np.ix_(ii, ii)] + pcov[np.ix_(ii, ii)] = np.linalg.inv(-hess1) + else: + pcov = np.linalg.inv(-hess) + if np.any(hess_diag >= 0): + msg = ( + "The Hessian matrix at the estimated parameter values is not " + "positive definite." + ) + warnings.warn(msg, ConvergenceWarning, stacklevel=2) + + # Prepare a results class instance + params_packed = params.get_packed(use_sqrt=False, has_fe=True) + results = MixedLMResults(self, params_packed, pcov / scale) + results.params_object = params + results.fe_params = fe_params + results.cov_re = cov_re + results.vcomp = vcomp + results.scale = scale + results.cov_re_unscaled = cov_re_unscaled + results.method = "REML" if self.reml else "ML" + results.converged = converged + results.hist = hist + results.reml = self.reml + results.cov_pen = self.cov_pen + results.k_fe = self.k_fe + results.k_re = self.k_re + results.k_re2 = self.k_re2 + results.k_vc = self.k_vc + results.use_sqrt = self.use_sqrt + results.freepat = self._freepat + + return MixedLMResultsWrapper(results) + + def get_distribution(self, params, scale, exog): + """ + Return a random number generator for the model's distribution + + Parameters + ---------- + params : array_like + A parameter vector defining a mixed linear model. See + `_mixedlm_distribution` for more information. + scale : scalar + The unexplained variance + exog : None or array_like + An array of fixed effect covariates. If None, model.exog + is used. + + Returns + ------- + _mixedlm_distribution + The distribution instance, which can be used to simulate + data from the model via its `rvs` method. + """ + return _mixedlm_distribution(self, params, scale, exog) + + +class _mixedlm_distribution: + """ + A private class for simulating data from a given mixed linear model + + Parameters + ---------- + model : MixedLM instance + A mixed linear model + params : array_like + A parameter vector defining a mixed linear model. See + notes for more information. + scale : scalar + The unexplained variance + exog : None or array_like + An array of fixed effect covariates. If None, model.exog + is used. + + Notes + ----- + The params array is a vector containing fixed effects parameters, + random effects parameters, and variance component parameters, in + that order. The lower triangle of the random effects covariance + matrix is stored. The random effects and variance components + parameters are divided by the scale parameter. + + This class is used in Mediation, and possibly elsewhere. + + """ + + def __init__(self, model, params, scale, exog): + + self.model = model + self.exog = exog if exog is not None else model.exog + + po = MixedLMParams.from_packed(params, model.k_fe, model.k_re, False, True) + + self.fe_params = po.fe_params + self.cov_re = scale * po.cov_re + self.vcomp = scale * po.vcomp + self.scale = scale + + group_idx = np.zeros(model.nobs, dtype=int) + for k, g in enumerate(model.group_labels): + group_idx[model.row_indices[g]] = k + self.group_idx = group_idx + + @deprecate_kwarg("random_state", "rng") + def rvs(self, n, rng=None): + """ + Return a vector of simulated values from a mixed linear + model + + Parameters + ---------- + n : int + Ignored, but required by the interface. + rng : int, array_like of int, numpy.random.Generator, or numpy.random.RandomState, optional + If `rng` is None, a new ``Generator`` is created using fresh + entropy from the operating system. If `rng` is an int or array + of ints, a new ``Generator`` is created, seeded with `rng`. If + `rng` is already a ``Generator`` or ``RandomState`` instance, + that instance is used. + random_state : {None, int, array_like of int, numpy.random.Generator, numpy.random.RandomState}, optional + .. deprecated:: 0.15 + + random_state has been deprecated. In-line with SPEC-007, use + rng for passing a random number generator or seed. + + Returns + ------- + ndarray + The simulated endog values. + """ + model = self.model + + # Fixed effects + y = np.dot(self.exog, self.fe_params) + + # Random effects + rng = check_random_state(rng) + u = rng.normal(size=(model.n_groups, model.k_re)) + u = np.dot(u, np.linalg.cholesky(self.cov_re).T) + y += (u[self.group_idx, :] * model.exog_re).sum(1) + + # Variance components + for j, _ in enumerate(model.exog_vc.names): + ex = model.exog_vc.mats[j] + v = self.vcomp[j] + for i, g in enumerate(model.group_labels): + exg = ex[i] + ii = model.row_indices[g] + u = rng.normal(size=exg.shape[1]) + y[ii] += np.sqrt(v) * np.dot(exg, u) + + # Residual variance + y += np.sqrt(self.scale) * rng.normal(size=len(y)) + + return y + + +class MixedLMResults(base.LikelihoodModelResults, base.ResultMixin): + """ + Class to contain results of fitting a linear mixed effects model + + MixedLMResults inherits from statsmodels.LikelihoodModelResults + + Parameters + ---------- + See statsmodels.LikelihoodModelResults + + Attributes + ---------- + model : MixedLM + Pointer to MixedLM model instance that called fit. + normalized_cov_params : ndarray + The sampling covariance matrix of the estimates + params : ndarray + A packed parameter vector for the profile parameterization. + The first `k_fe` elements are the estimated fixed effects + coefficients. The remaining elements are the estimated + variance parameters. The variance parameters are all divided + by `scale` and are not the variance parameters shown + in the summary. + fe_params : ndarray + The fitted fixed-effects coefficients + cov_re : ndarray + The fitted random-effects covariance matrix + bse_fe : ndarray + The standard errors of the fitted fixed effects coefficients + bse_re : ndarray + The standard errors of the fitted random effects covariance + matrix and variance components. The first `k_re * (k_re + 1) / 2` + parameters are the standard errors for the lower triangle of + `cov_re`, the remaining elements are the standard errors for + the variance components. + + See Also + -------- + statsmodels.LikelihoodModelResults + + """ + + def __init__(self, model, params, cov_params): + + super().__init__(model, params, normalized_cov_params=cov_params) + self.nobs = self.model.nobs + self.df_resid = self.nobs - np.linalg.matrix_rank(self.model.exog) + + @cache_readonly + def fittedvalues(self): + """ + Return the fitted values for the model + + The fitted values reflect the mean structure specified by the + fixed effects and the predicted random effects. + """ + fit = np.dot(self.model.exog, self.fe_params) + re = self.random_effects + for group_ix, group in enumerate(self.model.group_labels): + ix = self.model.row_indices[group] + + mat = [] + if self.model.exog_re_li is not None: + mat.append(self.model.exog_re_li[group_ix]) + for j in range(self.k_vc): + mat.append(self.model.exog_vc.mats[j][group_ix]) + mat = np.concatenate(mat, axis=1) + + fit[ix] += np.dot(mat, re[group]) + + return fit + + @cache_readonly + def resid(self): + """ + Return the residuals for the model + + The residuals reflect the mean structure specified by the + fixed effects and the predicted random effects. + """ + return self.model.endog - self.fittedvalues + + @cache_readonly + def bse_fe(self): + """Return the standard errors of the fixed effect regression coefficients.""" + p = self.model.exog.shape[1] + return np.sqrt(np.diag(self.cov_params())[0:p]) + + @cache_readonly + def bse_re(self): + """ + Return the standard errors of the variance parameters + + The first `k_re x (k_re + 1) / 2` elements of the returned array + are the standard errors of the lower triangle of `cov_re`. + The remaining elements are the standard errors of the variance + components. + + Note that the sampling distribution of variance parameters is + strongly skewed unless the sample size is large, so these + standard errors may not give meaningful confidence intervals + or p-values if used in the usual way. + """ + p = self.model.exog.shape[1] + return np.sqrt(self.scale * np.diag(self.cov_params())[p:]) + + def _expand_re_names(self, group_ix): + names = list(self.model.data.exog_re_names) + + for j, v in enumerate(self.model.exog_vc.names): + vg = self.model.exog_vc.colnames[j][group_ix] + na = [f"{v}[{s}]" for s in vg] + names.extend(na) + + return names + + @cache_readonly + def random_effects(self): + """ + The conditional means of random effects given the data + + Returns + ------- + random_effects : dict + A dictionary mapping the distinct `group` values to the + conditional means of the random effects for the group + given the data. + + """ + try: + cov_re_inv = np.linalg.inv(self.cov_re) + except np.linalg.LinAlgError as exc: + raise ValueError( + "Cannot predict random effects from singular covariance structure." + ) from exc + + vcomp = self.vcomp + k_re = self.k_re + + ranef_dict = {} + for group_ix, group in enumerate(self.model.group_labels): + + endog = self.model.endog_li[group_ix] + exog = self.model.exog_li[group_ix] + ex_r = self.model._aex_r[group_ix] + ex2_r = self.model._aex_r2[group_ix] + vc_var = self.model._expand_vcomp(vcomp, group_ix) + + # Get the residuals relative to fixed effects + resid = endog + if self.k_fe > 0: + expval = np.dot(exog, self.fe_params) + resid = resid - expval + + solver = _smw_solver(self.scale, ex_r, ex2_r, cov_re_inv, 1 / vc_var) + vir = solver(resid) + + xtvir = _dot(ex_r.T, vir) + + xtvir[0:k_re] = np.dot(self.cov_re, xtvir[0:k_re]) + xtvir[k_re:] *= vc_var + ranef_dict[group] = pd.Series(xtvir, index=self._expand_re_names(group_ix)) + + return ranef_dict + + @cache_readonly + def random_effects_cov(self): + """ + Return the conditional covariance matrix of the random + effects for each group given the data + + Returns + ------- + random_effects_cov : dict + A dictionary mapping the distinct values of the `group` + variable to the conditional covariance matrix of the + random effects given the data. + + """ + try: + cov_re_inv = np.linalg.inv(self.cov_re) + except np.linalg.LinAlgError: + cov_re_inv = None + + vcomp = self.vcomp + + ranef_dict = {} + for group_ix in range(self.model.n_groups): + + ex_r = self.model._aex_r[group_ix] + ex2_r = self.model._aex_r2[group_ix] + label = self.model.group_labels[group_ix] + vc_var = self.model._expand_vcomp(vcomp, group_ix) + + solver = _smw_solver(self.scale, ex_r, ex2_r, cov_re_inv, 1 / vc_var) + + n = ex_r.shape[0] + m = self.cov_re.shape[0] + mat1 = np.empty((n, m + len(vc_var))) + mat1[:, 0:m] = np.dot(ex_r[:, 0:m], self.cov_re) + mat1[:, m:] = np.dot(ex_r[:, m:], np.diag(vc_var)) + mat2 = solver(mat1) + mat2 = np.dot(mat1.T, mat2) + + v = -mat2 + v[0:m, 0:m] += self.cov_re + ix = np.arange(m, v.shape[0]) + v[ix, ix] += vc_var + na = self._expand_re_names(group_ix) + v = pd.DataFrame(v, index=na, columns=na) + ranef_dict[label] = v + + return ranef_dict + + # Need to override since t-tests are only used for fixed effects + # parameters. + def t_test(self, r_matrix, use_t=None): + """ + Compute a t-test for a each linear hypothesis of the form Rb = q + + Parameters + ---------- + r_matrix : ndarray + If an array is given, a p x k 2d array or length k 1d + array specifying the linear restrictions. It is assumed + that the linear combination is equal to zero. + use_t : bool, optional + If use_t is None, then the default of the model is used. + If use_t is True, then the p-values are based on the t + distribution. + If use_t is False, then the p-values are based on the normal + distribution. + + Returns + ------- + res : ContrastResults instance + The results for the test are attributes of this results instance. + The available results have the same elements as the parameter table + in `summary()`. + + """ + if r_matrix.shape[1] != self.k_fe: + raise ValueError(f"r_matrix for t-test should have {self.k_fe:d} columns") + + d = self.k_re2 + self.k_vc + z0 = np.zeros((r_matrix.shape[0], d)) + r_matrix = np.concatenate((r_matrix, z0), axis=1) + tst_rslt = super().t_test(r_matrix, use_t=use_t) + return tst_rslt + + def summary(self, yname=None, xname_fe=None, xname_re=None, title=None, alpha=0.05): + """ + Summarize the mixed model regression results + + Parameters + ---------- + yname : str, optional + Default is `y` + xname_fe : list[str], optional + Fixed effects covariate names + xname_re : list[str], optional + Random effects covariate names + title : str, optional + Title for the top table. If not None, then this replaces + the default title + alpha : float, optional + significance level for the confidence intervals + + Returns + ------- + smry : Summary instance + this holds the summary tables and text, which can be + printed or converted to various output formats. + + See Also + -------- + statsmodels.iolib.summary2.Summary : class to hold summary results + + """ + from statsmodels.iolib import summary2 + + smry = summary2.Summary() + + info = {} + info["Model:"] = "MixedLM" + if yname is None: + yname = self.model.endog_names + + param_names = self.model.data.param_names[:] + k_fe_params = len(self.fe_params) + k_re_params = len(param_names) - len(self.fe_params) + + if xname_fe is not None: + if len(xname_fe) != k_fe_params: + msg = f"xname_fe should be a list of length {k_fe_params:d}" + raise ValueError(msg) + param_names[:k_fe_params] = xname_fe + + if xname_re is not None: + if len(xname_re) != k_re_params: + msg = f"xname_re should be a list of length {k_re_params:d}" + raise ValueError(msg) + param_names[k_fe_params:] = xname_re + + info["No. Observations:"] = str(self.model.n_totobs) + info["No. Groups:"] = str(self.model.n_groups) + + gs = np.array([len(x) for x in self.model.endog_li]) + info["Min. group size:"] = f"{min(gs):.0f}" + info["Max. group size:"] = f"{max(gs):.0f}" + info["Mean group size:"] = f"{np.mean(gs):.1f}" + + info["Dependent Variable:"] = yname + info["Method:"] = self.method + info["Scale:"] = self.scale + # Cache llf as a plain (non-cache_readonly) attribute so summary() + # keeps working after remove_data() has cleared model.exog. + cache = self.__dict__.setdefault("_summary_cache", {}) + if "llf" not in cache: + cache["llf"] = self.llf + info["Log-Likelihood:"] = cache["llf"] + info["Converged:"] = "Yes" if self.converged else "No" + smry.add_dict(info) + if title is None: + title = "Mixed Linear Model Regression Results" + smry.add_title(title) + + float_fmt = "%.3f" + + sdf = np.nan * np.ones((self.k_fe + self.k_re2 + self.k_vc, 6)) + + # Coefficient estimates + sdf[0 : self.k_fe, 0] = self.fe_params + + # Standard errors + sdf[0 : self.k_fe, 1] = np.sqrt(np.diag(self.cov_params()[0 : self.k_fe])) + + # Z-scores + sdf[0 : self.k_fe, 2] = sdf[0 : self.k_fe, 0] / sdf[0 : self.k_fe, 1] + + # p-values + sdf[0 : self.k_fe, 3] = 2 * norm.cdf(-np.abs(sdf[0 : self.k_fe, 2])) + + # Confidence intervals + qm = -norm.ppf(alpha / 2) + sdf[0 : self.k_fe, 4] = sdf[0 : self.k_fe, 0] - qm * sdf[0 : self.k_fe, 1] + sdf[0 : self.k_fe, 5] = sdf[0 : self.k_fe, 0] + qm * sdf[0 : self.k_fe, 1] + + # All random effects variances and covariances + jj = self.k_fe + for i in range(self.k_re): + for j in range(i + 1): + sdf[jj, 0] = self.cov_re[i, j] + sdf[jj, 1] = np.sqrt(self.scale) * self.bse[jj] + jj += 1 + + # Variance components + for i in range(self.k_vc): + sdf[jj, 0] = self.vcomp[i] + sdf[jj, 1] = np.sqrt(self.scale) * self.bse[jj] + jj += 1 + + sdf = pd.DataFrame(index=param_names, data=sdf) + sdf.columns = [ + "Coef.", + "Std.Err.", + "z", + "P>|z|", + "[" + str(alpha / 2), + str(1 - alpha / 2) + "]", + ] + for col in sdf.columns: + sdf[col] = [float_fmt % x if np.isfinite(x) else "" for x in sdf[col]] + + smry.add_df(sdf, align="r") + + return smry + + @cache_readonly + def llf(self): + return self.model.loglike(self.params_object, profile_fe=False) + + @cache_readonly + def aic(self): + """Akaike information criterion""" + if self.reml: + return np.nan + if self.freepat is not None: + df = self.freepat.get_packed(use_sqrt=False, has_fe=True).sum() + 1 + else: + df = self.params.size + 1 + return -2 * (self.llf - df) + + @cache_readonly + def bic(self): + """Bayesian information criterion""" + if self.reml: + return np.nan + if self.freepat is not None: + df = self.freepat.get_packed(use_sqrt=False, has_fe=True).sum() + 1 + else: + df = self.params.size + 1 + return -2 * self.llf + np.log(self.nobs) * df + + def profile_re( + self, + re_ix, + vtype, + num_low=5, + dist_low=1.0, + num_high=5, + dist_high=1.0, + **fit_kwargs, + ): + """ + Profile-likelihood inference for variance parameters + + Parameters + ---------- + re_ix : int or str + If vtype is `re`, this value is the index of the variance + parameter for which to construct a profile likelihood. If + `vtype` is 'vc' then `re_ix` is the name of the variance + parameter to be profiled. + vtype : {'re', 'vc'} + Either 're' or 'vc', depending on whether the profile + analysis is for a random effect or a variance component. + num_low : int, optional + The number of points at which to calculate the likelihood + below the MLE of the parameter of interest. + dist_low : float, optional + The distance below the MLE of the parameter of interest to + begin calculating points on the profile likelihood. + num_high : int, optional + The number of points at which to calculate the likelihood + above the MLE of the parameter of interest. + dist_high : float, optional + The distance above the MLE of the parameter of interest to + begin calculating points on the profile likelihood. + **fit_kwargs + Additional keyword arguments passed to fit. + + Returns + ------- + ndarray + An array with two columns. The first column contains the + values to which the parameter of interest is constrained. The + second column contains the corresponding likelihood values. + + Notes + ----- + Only variance parameters can be profiled. + + """ + vtype = string_like(vtype, "vtype", options=("re", "vc"), lower=False) + pmodel = self.model + k_fe = pmodel.k_fe + k_re = pmodel.k_re + k_vc = pmodel.k_vc + endog, exog = pmodel.endog, pmodel.exog + + # Need to permute the columns of the random effects design + # matrix so that the profiled variable is in the first column. + if vtype == "re": + ix = np.arange(k_re) + ix[0] = re_ix + ix[re_ix] = 0 + exog_re = pmodel.exog_re.copy()[:, ix] + + # Permute the covariance structure to match the permuted + # design matrix. + params = self.params_object.copy() + cov_re_unscaled = params.cov_re + cov_re_unscaled = cov_re_unscaled[np.ix_(ix, ix)] + params.cov_re = cov_re_unscaled + ru0 = cov_re_unscaled[0, 0] + + # Convert dist_low and dist_high to the profile + # parameterization + cov_re = self.scale * cov_re_unscaled + low = (cov_re[0, 0] - dist_low) / self.scale + high = (cov_re[0, 0] + dist_high) / self.scale + + else: # vtype == "vc" + re_ix = self.model.exog_vc.names.index(re_ix) + params = self.params_object.copy() + vcomp = self.vcomp + low = (vcomp[re_ix] - dist_low) / self.scale + high = (vcomp[re_ix] + dist_high) / self.scale + ru0 = vcomp[re_ix] / self.scale + + # Define the sequence of values to which the parameter of + # interest will be constrained. + if low <= 0: + raise ValueError( + "dist_low is too large and would result in a " + "negative variance. Try a smaller value." + ) + left = np.linspace(low, ru0, num_low + 1) + right = np.linspace(ru0, high, num_high + 1)[1:] + rvalues = np.concatenate((left, right)) + + # Indicators of which parameters are free and fixed. + free = MixedLMParams(k_fe, k_re, k_vc) + if self.freepat is None: + free.fe_params = np.ones(k_fe) + vcomp = np.ones(k_vc) + mat = np.ones((k_re, k_re)) + else: + # If a freepat already has been specified, we add the + # constraint to it. + free.fe_params = self.freepat.fe_params + vcomp = self.freepat.vcomp + mat = self.freepat.cov_re + if vtype == "re": + mat = mat[np.ix_(ix, ix)] + if vtype == "re": + mat[0, 0] = 0 + else: + vcomp[re_ix] = 0 + free.cov_re = mat + free.vcomp = vcomp + + klass = self.model.__class__ + init_kwargs = pmodel._get_init_kwds() + if vtype == "re": + init_kwargs["exog_re"] = exog_re + + likev = [] + for x in rvalues: + + model = klass(endog, exog, **init_kwargs) + + if vtype == "re": + cov_re = params.cov_re.copy() + cov_re[0, 0] = x + params.cov_re = cov_re + else: + params.vcomp[re_ix] = x + + # TODO should use fit_kwargs + rslt = model.fit( + start_params=params, + free=free, + reml=self.reml, + cov_pen=self.cov_pen, + **fit_kwargs, + )._results + likev.append([x * rslt.scale, rslt.llf]) + + likev = np.asarray(likev) + + return likev + + +class MixedLMResultsWrapper(base.LikelihoodResultsWrapper): + _attrs = { + "bse_re": ("generic_columns", "exog_re_names_full"), + "fe_params": ("generic_columns", "xnames"), + "bse_fe": ("generic_columns", "xnames"), + "cov_re": ("generic_columns_2d", "exog_re_names"), + "cov_re_unscaled": ("generic_columns_2d", "exog_re_names"), + } + _upstream_attrs = base.LikelihoodResultsWrapper._wrap_attrs + _wrap_attrs = base.wrap.union_dicts(_attrs, _upstream_attrs) + + _methods = {} + _upstream_methods = base.LikelihoodResultsWrapper._wrap_methods + _wrap_methods = base.wrap.union_dicts(_methods, _upstream_methods) + + +def _handle_missing(data, groups, formula, re_formula, vc_formula): + + tokens = set() + + forms = [formula] + if re_formula is not None: + forms.append(re_formula) + if vc_formula is not None: + forms.extend(vc_formula.values()) + + skiptoks = {"(", ")", "*", ":", "+", "-", "**", "/"} + + for fml in forms: + # Unicode conversion is for Py2 compatability + def _line_reader(_fml): + rl = StringIO(_fml) + + def rlu(): + return rl.readline() + + return rlu + + lr = _line_reader(fml) + g = tokenize.generate_tokens(lr) + for tok in g: + if tok not in skiptoks: + tokens.add(tok.string) + tokens = sorted(tokens & set(data.columns)) + + data = data[tokens] + ii = pd.notna(data).all(axis=1) + if type(groups) is not str: + ii &= pd.notna(groups) + + return data.loc[ii, :], groups[np.asarray(ii)] diff --git a/shared/package-files/45/455b006f787fbbb54759927e27f67892f077ea9172146fcc5488cf390f18850f/model.py b/shared/package-files/45/455b006f787fbbb54759927e27f67892f077ea9172146fcc5488cf390f18850f/model.py new file mode 100644 index 0000000000000000000000000000000000000000..1708f43df3cceef9a1fbd9fcf159c59f523b393e --- /dev/null +++ b/shared/package-files/45/455b006f787fbbb54759927e27f67892f077ea9172146fcc5488cf390f18850f/model.py @@ -0,0 +1,618 @@ +import types +import weakref + +from .lock import allocate_lock +from .error import CDefError, VerificationError, VerificationMissing + +# type qualifiers +Q_CONST = 0x01 +Q_RESTRICT = 0x02 +Q_VOLATILE = 0x04 + +def qualify(quals, replace_with): + if quals & Q_CONST: + replace_with = ' const ' + replace_with.lstrip() + if quals & Q_VOLATILE: + replace_with = ' volatile ' + replace_with.lstrip() + if quals & Q_RESTRICT: + # It seems that __restrict is supported by gcc and msvc. + # If you hit some different compiler, add a #define in + # _cffi_include.h for it (and in its copies, documented there) + replace_with = ' __restrict ' + replace_with.lstrip() + return replace_with + + +class BaseTypeByIdentity(object): + is_array_type = False + is_raw_function = False + + def get_c_name(self, replace_with='', context='a C file', quals=0): + result = self.c_name_with_marker + assert result.count('&') == 1 + # some logic duplication with ffi.getctype()... :-( + replace_with = replace_with.strip() + if replace_with: + if replace_with.startswith('*') and '&[' in result: + replace_with = '(%s)' % replace_with + elif not replace_with[0] in '[(': + replace_with = ' ' + replace_with + replace_with = qualify(quals, replace_with) + result = result.replace('&', replace_with) + if '$' in result: + raise VerificationError( + "cannot generate '%s' in %s: unknown type name" + % (self._get_c_name(), context)) + return result + + def _get_c_name(self): + return self.c_name_with_marker.replace('&', '') + + def has_c_name(self): + return '$' not in self._get_c_name() + + def is_integer_type(self): + return False + + def get_cached_btype(self, ffi, finishlist, can_delay=False): + try: + BType = ffi._cached_btypes[self] + except KeyError: + BType = self.build_backend_type(ffi, finishlist) + BType2 = ffi._cached_btypes.setdefault(self, BType) + assert BType2 is BType + return BType + + def __repr__(self): + return '<%s>' % (self._get_c_name(),) + + def _get_items(self): + return [(name, getattr(self, name)) for name in self._attrs_] + + +class BaseType(BaseTypeByIdentity): + + def __eq__(self, other): + return (self.__class__ == other.__class__ and + self._get_items() == other._get_items()) + + def __ne__(self, other): + return not self == other + + def __hash__(self): + return hash((self.__class__, tuple(self._get_items()))) + + +class VoidType(BaseType): + _attrs_ = () + + def __init__(self): + self.c_name_with_marker = 'void&' + + def build_backend_type(self, ffi, finishlist): + return global_cache(self, ffi, 'new_void_type') + +void_type = VoidType() + + +class BasePrimitiveType(BaseType): + def is_complex_type(self): + return False + + +class PrimitiveType(BasePrimitiveType): + _attrs_ = ('name',) + + ALL_PRIMITIVE_TYPES = { + 'char': 'c', + 'short': 'i', + 'int': 'i', + 'long': 'i', + 'long long': 'i', + 'signed char': 'i', + 'unsigned char': 'i', + 'unsigned short': 'i', + 'unsigned int': 'i', + 'unsigned long': 'i', + 'unsigned long long': 'i', + 'float': 'f', + 'double': 'f', + 'long double': 'f', + 'float _Complex': 'j', + 'double _Complex': 'j', + '_Bool': 'i', + # the following types are not primitive in the C sense + 'wchar_t': 'c', + 'char16_t': 'c', + 'char32_t': 'c', + 'int8_t': 'i', + 'uint8_t': 'i', + 'int16_t': 'i', + 'uint16_t': 'i', + 'int32_t': 'i', + 'uint32_t': 'i', + 'int64_t': 'i', + 'uint64_t': 'i', + 'int_least8_t': 'i', + 'uint_least8_t': 'i', + 'int_least16_t': 'i', + 'uint_least16_t': 'i', + 'int_least32_t': 'i', + 'uint_least32_t': 'i', + 'int_least64_t': 'i', + 'uint_least64_t': 'i', + 'int_fast8_t': 'i', + 'uint_fast8_t': 'i', + 'int_fast16_t': 'i', + 'uint_fast16_t': 'i', + 'int_fast32_t': 'i', + 'uint_fast32_t': 'i', + 'int_fast64_t': 'i', + 'uint_fast64_t': 'i', + 'intptr_t': 'i', + 'uintptr_t': 'i', + 'intmax_t': 'i', + 'uintmax_t': 'i', + 'ptrdiff_t': 'i', + 'size_t': 'i', + 'ssize_t': 'i', + } + + def __init__(self, name): + assert name in self.ALL_PRIMITIVE_TYPES + self.name = name + self.c_name_with_marker = name + '&' + + def is_char_type(self): + return self.ALL_PRIMITIVE_TYPES[self.name] == 'c' + def is_integer_type(self): + return self.ALL_PRIMITIVE_TYPES[self.name] == 'i' + def is_float_type(self): + return self.ALL_PRIMITIVE_TYPES[self.name] == 'f' + def is_complex_type(self): + return self.ALL_PRIMITIVE_TYPES[self.name] == 'j' + + def build_backend_type(self, ffi, finishlist): + return global_cache(self, ffi, 'new_primitive_type', self.name) + + +class UnknownIntegerType(BasePrimitiveType): + _attrs_ = ('name',) + + def __init__(self, name): + self.name = name + self.c_name_with_marker = name + '&' + + def is_integer_type(self): + return True + + def build_backend_type(self, ffi, finishlist): + raise NotImplementedError("integer type '%s' can only be used after " + "compilation" % self.name) + +class UnknownFloatType(BasePrimitiveType): + _attrs_ = ('name', ) + + def __init__(self, name): + self.name = name + self.c_name_with_marker = name + '&' + + def build_backend_type(self, ffi, finishlist): + raise NotImplementedError("float type '%s' can only be used after " + "compilation" % self.name) + + +class BaseFunctionType(BaseType): + _attrs_ = ('args', 'result', 'ellipsis', 'abi') + + def __init__(self, args, result, ellipsis, abi=None): + self.args = args + self.result = result + self.ellipsis = ellipsis + self.abi = abi + # + reprargs = [arg._get_c_name() for arg in self.args] + if self.ellipsis: + reprargs.append('...') + reprargs = reprargs or ['void'] + replace_with = self._base_pattern % (', '.join(reprargs),) + if abi is not None: + replace_with = replace_with[:1] + abi + ' ' + replace_with[1:] + self.c_name_with_marker = ( + self.result.c_name_with_marker.replace('&', replace_with)) + + +class RawFunctionType(BaseFunctionType): + # Corresponds to a C type like 'int(int)', which is the C type of + # a function, but not a pointer-to-function. The backend has no + # notion of such a type; it's used temporarily by parsing. + _base_pattern = '(&)(%s)' + is_raw_function = True + + def build_backend_type(self, ffi, finishlist): + raise CDefError("cannot render the type %r: it is a function " + "type, not a pointer-to-function type" % (self,)) + + def as_function_pointer(self): + return FunctionPtrType(self.args, self.result, self.ellipsis, self.abi) + + +class FunctionPtrType(BaseFunctionType): + _base_pattern = '(*&)(%s)' + + def build_backend_type(self, ffi, finishlist): + result = self.result.get_cached_btype(ffi, finishlist) + args = [] + for tp in self.args: + args.append(tp.get_cached_btype(ffi, finishlist)) + abi_args = () + if self.abi == "__stdcall": + if not self.ellipsis: # __stdcall ignored for variadic funcs + try: + abi_args = (ffi._backend.FFI_STDCALL,) + except AttributeError: + pass + return global_cache(self, ffi, 'new_function_type', + tuple(args), result, self.ellipsis, *abi_args) + + def as_raw_function(self): + return RawFunctionType(self.args, self.result, self.ellipsis, self.abi) + + +class PointerType(BaseType): + _attrs_ = ('totype', 'quals') + + def __init__(self, totype, quals=0): + self.totype = totype + self.quals = quals + extra = " *&" + if totype.is_array_type: + extra = "(%s)" % (extra.lstrip(),) + extra = qualify(quals, extra) + self.c_name_with_marker = totype.c_name_with_marker.replace('&', extra) + + def build_backend_type(self, ffi, finishlist): + BItem = self.totype.get_cached_btype(ffi, finishlist, can_delay=True) + return global_cache(self, ffi, 'new_pointer_type', BItem) + +voidp_type = PointerType(void_type) + +def ConstPointerType(totype): + return PointerType(totype, Q_CONST) + +const_voidp_type = ConstPointerType(void_type) + + +class NamedPointerType(PointerType): + _attrs_ = ('totype', 'name') + + def __init__(self, totype, name, quals=0): + PointerType.__init__(self, totype, quals) + self.name = name + self.c_name_with_marker = name + '&' + + +class ArrayType(BaseType): + _attrs_ = ('item', 'length') + is_array_type = True + + def __init__(self, item, length): + self.item = item + self.length = length + # + if length is None: + brackets = '&[]' + elif length == '...': + brackets = '&[/*...*/]' + else: + brackets = '&[%s]' % length + self.c_name_with_marker = ( + self.item.c_name_with_marker.replace('&', brackets)) + + def length_is_unknown(self): + return isinstance(self.length, str) + + def resolve_length(self, newlength): + return ArrayType(self.item, newlength) + + def build_backend_type(self, ffi, finishlist): + if self.length_is_unknown(): + raise CDefError("cannot render the type %r: unknown length" % + (self,)) + self.item.get_cached_btype(ffi, finishlist) # force the item BType + BPtrItem = PointerType(self.item).get_cached_btype(ffi, finishlist) + return global_cache(self, ffi, 'new_array_type', BPtrItem, self.length) + +char_array_type = ArrayType(PrimitiveType('char'), None) + + +class StructOrUnionOrEnum(BaseTypeByIdentity): + _attrs_ = ('name',) + forcename = None + + def build_c_name_with_marker(self): + name = self.forcename or '%s %s' % (self.kind, self.name) + self.c_name_with_marker = name + '&' + + def force_the_name(self, forcename): + self.forcename = forcename + self.build_c_name_with_marker() + + def get_official_name(self): + assert self.c_name_with_marker.endswith('&') + return self.c_name_with_marker[:-1] + + +class StructOrUnion(StructOrUnionOrEnum): + fixedlayout = None + completed = 0 + partial = False + packed = 0 + + def __init__(self, name, fldnames, fldtypes, fldbitsize, fldquals=None): + self.name = name + self.fldnames = fldnames + self.fldtypes = fldtypes + self.fldbitsize = fldbitsize + self.fldquals = fldquals + self.build_c_name_with_marker() + + def anonymous_struct_fields(self): + if self.fldtypes is not None: + for name, type in zip(self.fldnames, self.fldtypes): + if name == '' and isinstance(type, StructOrUnion): + yield type + + def enumfields(self, expand_anonymous_struct_union=True): + fldquals = self.fldquals + if fldquals is None: + fldquals = (0,) * len(self.fldnames) + for name, type, bitsize, quals in zip(self.fldnames, self.fldtypes, + self.fldbitsize, fldquals): + if (name == '' and isinstance(type, StructOrUnion) + and expand_anonymous_struct_union): + # nested anonymous struct/union + for result in type.enumfields(): + yield result + else: + yield (name, type, bitsize, quals) + + def force_flatten(self): + # force the struct or union to have a declaration that lists + # directly all fields returned by enumfields(), flattening + # nested anonymous structs/unions. + names = [] + types = [] + bitsizes = [] + fldquals = [] + for name, type, bitsize, quals in self.enumfields(): + names.append(name) + types.append(type) + bitsizes.append(bitsize) + fldquals.append(quals) + self.fldnames = tuple(names) + self.fldtypes = tuple(types) + self.fldbitsize = tuple(bitsizes) + self.fldquals = tuple(fldquals) + + def get_cached_btype(self, ffi, finishlist, can_delay=False): + BType = StructOrUnionOrEnum.get_cached_btype(self, ffi, finishlist, + can_delay) + if not can_delay: + self.finish_backend_type(ffi, finishlist) + return BType + + def finish_backend_type(self, ffi, finishlist): + if self.completed: + if self.completed != 2: + raise NotImplementedError("recursive structure declaration " + "for '%s'" % (self.name,)) + return + BType = ffi._cached_btypes[self] + # + self.completed = 1 + # + if self.fldtypes is None: + pass # not completing it: it's an opaque struct + # + elif self.fixedlayout is None: + fldtypes = [tp.get_cached_btype(ffi, finishlist) + for tp in self.fldtypes] + lst = list(zip(self.fldnames, fldtypes, self.fldbitsize)) + extra_flags = () + if self.packed: + if self.packed == 1: + extra_flags = (8,) # SF_PACKED + else: + extra_flags = (0, self.packed) + ffi._backend.complete_struct_or_union(BType, lst, self, + -1, -1, *extra_flags) + # + else: + fldtypes = [] + fieldofs, fieldsize, totalsize, totalalignment = self.fixedlayout + for i in range(len(self.fldnames)): + fsize = fieldsize[i] + ftype = self.fldtypes[i] + # + if isinstance(ftype, ArrayType) and ftype.length_is_unknown(): + # fix the length to match the total size + BItemType = ftype.item.get_cached_btype(ffi, finishlist) + nlen, nrest = divmod(fsize, ffi.sizeof(BItemType)) + if nrest != 0: + self._verification_error( + "field '%s.%s' has a bogus size?" % ( + self.name, self.fldnames[i] or '{}')) + ftype = ftype.resolve_length(nlen) + self.fldtypes = (self.fldtypes[:i] + (ftype,) + + self.fldtypes[i+1:]) + # + BFieldType = ftype.get_cached_btype(ffi, finishlist) + if isinstance(ftype, ArrayType) and ftype.length is None: + assert fsize == 0 + else: + bitemsize = ffi.sizeof(BFieldType) + if bitemsize != fsize: + self._verification_error( + "field '%s.%s' is declared as %d bytes, but is " + "really %d bytes" % (self.name, + self.fldnames[i] or '{}', + bitemsize, fsize)) + fldtypes.append(BFieldType) + # + lst = list(zip(self.fldnames, fldtypes, self.fldbitsize, fieldofs)) + ffi._backend.complete_struct_or_union(BType, lst, self, + totalsize, totalalignment) + self.completed = 2 + + def _verification_error(self, msg): + raise VerificationError(msg) + + def check_not_partial(self): + if self.partial and self.fixedlayout is None: + raise VerificationMissing(self._get_c_name()) + + def build_backend_type(self, ffi, finishlist): + self.check_not_partial() + finishlist.append(self) + # + return global_cache(self, ffi, 'new_%s_type' % self.kind, + self.get_official_name(), key=self) + + +class StructType(StructOrUnion): + kind = 'struct' + + +class UnionType(StructOrUnion): + kind = 'union' + + +class EnumType(StructOrUnionOrEnum): + kind = 'enum' + partial = False + partial_resolved = False + + def __init__(self, name, enumerators, enumvalues, baseinttype=None): + self.name = name + self.enumerators = enumerators + self.enumvalues = enumvalues + self.baseinttype = baseinttype + self.build_c_name_with_marker() + + def force_the_name(self, forcename): + StructOrUnionOrEnum.force_the_name(self, forcename) + if self.forcename is None: + name = self.get_official_name() + self.forcename = '$' + name.replace(' ', '_') + + def check_not_partial(self): + if self.partial and not self.partial_resolved: + raise VerificationMissing(self._get_c_name()) + + def build_backend_type(self, ffi, finishlist): + self.check_not_partial() + base_btype = self.build_baseinttype(ffi, finishlist) + return global_cache(self, ffi, 'new_enum_type', + self.get_official_name(), + self.enumerators, self.enumvalues, + base_btype, key=self) + + def build_baseinttype(self, ffi, finishlist): + if self.baseinttype is not None: + return self.baseinttype.get_cached_btype(ffi, finishlist) + # + if self.enumvalues: + smallest_value = min(self.enumvalues) + largest_value = max(self.enumvalues) + else: + import warnings + try: + # XXX! The goal is to ensure that the warnings.warn() + # will not suppress the warning. We want to get it + # several times if we reach this point several times. + __warningregistry__.clear() + except NameError: + pass + warnings.warn("%r has no values explicitly defined; " + "guessing that it is equivalent to 'unsigned int'" + % self._get_c_name()) + smallest_value = largest_value = 0 + if smallest_value < 0: # needs a signed type + sign = 1 + candidate1 = PrimitiveType("int") + candidate2 = PrimitiveType("long") + else: + sign = 0 + candidate1 = PrimitiveType("unsigned int") + candidate2 = PrimitiveType("unsigned long") + btype1 = candidate1.get_cached_btype(ffi, finishlist) + btype2 = candidate2.get_cached_btype(ffi, finishlist) + size1 = ffi.sizeof(btype1) + size2 = ffi.sizeof(btype2) + if (smallest_value >= ((-1) << (8*size1-1)) and + largest_value < (1 << (8*size1-sign))): + return btype1 + if (smallest_value >= ((-1) << (8*size2-1)) and + largest_value < (1 << (8*size2-sign))): + return btype2 + raise CDefError("%s values don't all fit into either 'long' " + "or 'unsigned long'" % self._get_c_name()) + +def unknown_type(name, structname=None): + if structname is None: + structname = '$%s' % name + tp = StructType(structname, None, None, None) + tp.force_the_name(name) + tp.origin = "unknown_type" + return tp + +def unknown_ptr_type(name, structname=None): + if structname is None: + structname = '$$%s' % name + tp = StructType(structname, None, None, None) + return NamedPointerType(tp, name) + + +global_lock = allocate_lock() +_typecache_cffi_backend = weakref.WeakValueDictionary() + +def get_typecache(backend): + # returns _typecache_cffi_backend if backend is the _cffi_backend + # module, or type(backend).__typecache if backend is an instance of + # CTypesBackend (or some FakeBackend class during tests) + if isinstance(backend, types.ModuleType): + return _typecache_cffi_backend + with global_lock: + if not hasattr(type(backend), '__typecache'): + type(backend).__typecache = weakref.WeakValueDictionary() + return type(backend).__typecache + +def global_cache(srctype, ffi, funcname, *args, **kwds): + key = kwds.pop('key', (funcname, args)) + assert not kwds + try: + return ffi._typecache[key] + except KeyError: + pass + try: + res = getattr(ffi._backend, funcname)(*args) + except NotImplementedError as e: + raise NotImplementedError("%s: %r: %s" % (funcname, srctype, e)) + # note that setdefault() on WeakValueDictionary is not atomic + # and contains a rare bug (http://bugs.python.org/issue19542); + # we have to use a lock and do it ourselves + cache = ffi._typecache + with global_lock: + res1 = cache.get(key) + if res1 is None: + cache[key] = res + return res + else: + return res1 + +def pointer_cache(ffi, BType): + return global_cache('?', ffi, 'new_pointer_type', BType) + +def attach_exception_info(e, name): + if e.args and type(e.args[0]) is str: + e.args = ('%s: %s' % (name, e.args[0]),) + e.args[1:] diff --git a/shared/package-files/45/455b31ab2113e1325d6e373db941c999f865436bf852af9f893ff96f9adf0b4b/utils.py b/shared/package-files/45/455b31ab2113e1325d6e373db941c999f865436bf852af9f893ff96f9adf0b4b/utils.py new file mode 100644 index 0000000000000000000000000000000000000000..aa089f7a1bf9b577455775f6d6249baf4bd430de --- /dev/null +++ b/shared/package-files/45/455b31ab2113e1325d6e373db941c999f865436bf852af9f893ff96f9adf0b4b/utils.py @@ -0,0 +1,181 @@ +import os +import sys +import time +import errno +import signal +import warnings +import subprocess +import traceback + +try: + import psutil +except ImportError: + psutil = None + + +def kill_process_tree(process, use_psutil=True): + """Terminate process and its descendants with SIGKILL""" + if use_psutil and psutil is not None: + _kill_process_tree_with_psutil(process) + else: + _kill_process_tree_without_psutil(process) + + +def recursive_terminate(process, use_psutil=True): + warnings.warn( + "recursive_terminate is deprecated in loky 3.2, use kill_process_tree" + "instead", + DeprecationWarning, + ) + kill_process_tree(process, use_psutil=use_psutil) + + +def _kill_process_tree_with_psutil(process): + try: + descendants = psutil.Process(process.pid).children(recursive=True) + except psutil.NoSuchProcess: + return + + # Kill the descendants in reverse order to avoid killing the parents before + # the descendant in cases where there are more processes nested. + for descendant in descendants[::-1]: + try: + descendant.kill() + except psutil.NoSuchProcess: + pass + + try: + psutil.Process(process.pid).kill() + except psutil.NoSuchProcess: + pass + process.join() + + +def _kill_process_tree_without_psutil(process): + """Terminate a process and its descendants.""" + try: + if sys.platform == "win32": + _windows_taskkill_process_tree(process.pid) + else: + _posix_recursive_kill(process.pid) + except Exception: # pragma: no cover + details = traceback.format_exc() + warnings.warn( + "Failed to kill subprocesses on this platform. Please install" + "psutil: https://github.com/giampaolo/psutil\n" + f"Details:\n{details}" + ) + # In case we cannot introspect or kill the descendants, we fall back to + # only killing the main process. + # + # Note: on Windows, process.kill() is an alias for process.terminate() + # which in turns calls the Win32 API function TerminateProcess(). + process.kill() + process.join() + + +def _windows_taskkill_process_tree(pid): + # On windows, the taskkill function with option `/T` terminate a given + # process pid and its children. + try: + subprocess.check_output( + ["taskkill", "/F", "/T", "/PID", str(pid)], stderr=None + ) + except subprocess.CalledProcessError as e: + # In Windows, taskkill returns 128, 255 for no process found. + if e.returncode not in [128, 255]: + # Let's raise to let the caller log the error details in a + # warning and only kill the root process. + raise # pragma: no cover + + +def _kill(pid): + # Not all systems (e.g. Windows) have a SIGKILL, but the C specification + # mandates a SIGTERM signal. While Windows is handled specifically above, + # let's try to be safe for other hypothetic platforms that only have + # SIGTERM without SIGKILL. + kill_signal = getattr(signal, "SIGKILL", signal.SIGTERM) + try: + os.kill(pid, kill_signal) + except OSError as e: + # if OSError is raised with [Errno 3] no such process, the process + # is already terminated, else, raise the error and let the top + # level function raise a warning and retry to kill the process. + if e.errno != errno.ESRCH: + raise # pragma: no cover + + +def _posix_recursive_kill(pid): + """Recursively kill the descendants of a process before killing it.""" + try: + children_pids = subprocess.check_output( + ["pgrep", "-P", str(pid)], stderr=None, text=True + ) + except subprocess.CalledProcessError as e: + # `ps` returns 1 when no child process has been found + if e.returncode == 1: + children_pids = "" + else: + raise # pragma: no cover + + # Decode the result, split the cpid and remove the trailing line + for cpid in children_pids.splitlines(): + cpid = int(cpid) + _posix_recursive_kill(cpid) + + _kill(pid) + + +def get_exitcodes_terminated_worker(processes): + """Return a formatted string with the exitcodes of terminated workers. + + If necessary, wait (up to .25s) for the system to correctly set the + exitcode of one terminated worker. + """ + patience = 5 + + # Catch the exitcode of the terminated workers. There should at least be + # one. If not, wait a bit for the system to correctly set the exitcode of + # the terminated worker. + exitcodes = [ + p.exitcode for p in list(processes.values()) if p.exitcode is not None + ] + while not exitcodes and patience > 0: + patience -= 1 + exitcodes = [ + p.exitcode + for p in list(processes.values()) + if p.exitcode is not None + ] + time.sleep(0.05) + + return _format_exitcodes(exitcodes) + + +def _format_exitcodes(exitcodes): + """Format a list of exit code with names of the signals if possible""" + str_exitcodes = [ + f"{_get_exitcode_name(e)}({e})" for e in exitcodes if e is not None + ] + return "{" + ", ".join(str_exitcodes) + "}" + + +def _get_exitcode_name(exitcode): + if sys.platform == "win32": + # The exitcode are unreliable on windows (see bpo-31863). + # For this case, return UNKNOWN + return "UNKNOWN" + + if exitcode < 0: + try: + import signal + + return signal.Signals(-exitcode).name + except ValueError: + return "UNKNOWN" + elif exitcode != 255: + # The exitcode are unreliable on forkserver were 255 is always returned + # (see bpo-30589). For this case, return UNKNOWN + return "EXIT" + + return "UNKNOWN" diff --git a/shared/package-files/45/455cd8952acc787416ee50396b95cef4154c13fc943b85f9e3be289d8b720db8/StreamGuard.h b/shared/package-files/45/455cd8952acc787416ee50396b95cef4154c13fc943b85f9e3be289d8b720db8/StreamGuard.h new file mode 100644 index 0000000000000000000000000000000000000000..bd79025240fac0e9526240e4e79af3eda4e52294 --- /dev/null +++ b/shared/package-files/45/455cd8952acc787416ee50396b95cef4154c13fc943b85f9e3be289d8b720db8/StreamGuard.h @@ -0,0 +1,170 @@ +#pragma once + +#include +#include +#include +#include +#include +#include + +namespace c10 { + +/** + * A StreamGuard is an RAII class that changes the current device + * to the device corresponding to some stream, and changes the + * default stream on that device to be this stream. + * + * Use of StreamGuard is HIGHLY discouraged in operator definitions. In + * a single operator, you probably don't know enough about the global + * state of the world to profitably decide how to set streams. Let + * the caller handle this appropriately, and just use the current stream + * in your operator code. + * + * This StreamGuard does NOT have an uninitialized state; it is guaranteed + * to reset the stream and device on exit. If you are in a situation + * where you *might* want to setup a stream guard, see OptionalStreamGuard. + */ +struct StreamGuard { + /// No default constructor, see Note [Omitted default constructor from RAII] + explicit StreamGuard() = delete; + + /// Set the current device to the device associated with the passed stream, + /// and set the current stream on that device to the passed stream. + explicit StreamGuard(Stream stream) : guard_(stream) {} + + /// Copy is disallowed + StreamGuard(const StreamGuard&) = delete; + StreamGuard& operator=(const StreamGuard&) = delete; + + /// Move is disallowed, as StreamGuard does not have an uninitialized state, + /// which is required for moves on types with nontrivial destructors. + StreamGuard(StreamGuard&& other) = delete; + StreamGuard& operator=(StreamGuard&& other) = delete; + + /// Resets the currently set stream to the original stream and + /// the currently set device to the original device. Then, + /// set the current device to the device associated with the passed stream, + /// and set the current stream on that device to the passed stream. + /// + /// NOTE: this implementation may skip some stream/device setting if + /// it can prove that it is unnecessary. + /// + /// WARNING: reset_stream does NOT preserve previously set streams on + /// different devices. If you need to set streams on multiple devices + /// on , use MultiStreamGuard instead. + void reset_stream(Stream stream) { + guard_.reset_stream(stream); + } + + /// Returns the stream that was set at the time the guard was constructed. + Stream original_stream() const { + return guard_.original_stream(); + } + + /// Returns the most recent stream that was set using this device guard, + /// either from construction, or via set_stream. + Stream current_stream() const { + return guard_.current_stream(); + } + + /// Returns the most recent device that was set using this device guard, + /// either from construction, or via set_device/reset_device/set_index. + Device current_device() const { + return guard_.current_device(); + } + + /// Returns the device that was set at the most recent reset_stream(), + /// or otherwise the device at construction time. + Device original_device() const { + return guard_.original_device(); + } + + private: + c10::impl::InlineStreamGuard guard_; +}; + +/** + * An OptionalStreamGuard is an RAII class that sets a device to some value on + * initialization, and resets the device to its original value on destruction. + * See OptionalDeviceGuard for more guidance on how to use this class. + */ +struct OptionalStreamGuard { + /// Create an uninitialized guard. + explicit OptionalStreamGuard() = default; + + /// Set the current device to the device associated with the passed stream, + /// and set the current stream on that device to the passed stream. + explicit OptionalStreamGuard(Stream stream) : guard_(stream) {} + + /// Set the current device to the device associated with the passed stream, + /// and set the current stream on that device to the passed stream, + /// if the passed stream is not nullopt. + explicit OptionalStreamGuard(optional stream_opt) + : guard_(stream_opt) {} + + /// Copy is disallowed + OptionalStreamGuard(const OptionalStreamGuard&) = delete; + OptionalStreamGuard& operator=(const OptionalStreamGuard&) = delete; + + // See Note [Move construction for RAII guards is tricky] + OptionalStreamGuard(OptionalStreamGuard&& other) = delete; + + // See Note [Move assignment for RAII guards is tricky] + OptionalStreamGuard& operator=(OptionalStreamGuard&& other) = delete; + + /// Resets the currently set stream to the original stream and + /// the currently set device to the original device. Then, + /// set the current device to the device associated with the passed stream, + /// and set the current stream on that device to the passed stream. + /// Initializes the guard if it was not previously initialized. + void reset_stream(Stream stream) { + guard_.reset_stream(stream); + } + + /// Returns the stream that was set at the time the guard was most recently + /// initialized, or nullopt if the guard is uninitialized. + optional original_stream() const { + return guard_.original_stream(); + } + + /// Returns the most recent stream that was set using this stream guard, + /// either from construction, or via reset_stream, if the guard is + /// initialized, or nullopt if the guard is uninitialized. + optional current_stream() const { + return guard_.current_stream(); + } + + /// Restore the original device and stream, resetting this guard to + /// uninitialized state. + void reset() { + guard_.reset(); + } + + private: + c10::impl::InlineOptionalStreamGuard guard_{}; +}; + +/** + * A MultiStreamGuard is an RAII class that sets the current streams of a set of + * devices all at once, and resets them to their original values on destruction. + */ +struct MultiStreamGuard { + /// Set the current streams to the passed streams on each of their respective + /// devices. + explicit MultiStreamGuard(ArrayRef streams) : guard_(streams) {} + + /// Copy is disallowed + MultiStreamGuard(const MultiStreamGuard&) = delete; + MultiStreamGuard& operator=(const MultiStreamGuard&) = delete; + + // See Note [Move construction for RAII guards is tricky] + MultiStreamGuard(MultiStreamGuard&& other) = delete; + + // See Note [Move assignment for RAII guards is tricky] + MultiStreamGuard& operator=(MultiStreamGuard&& other) = delete; + + private: + c10::impl::InlineMultiStreamGuard guard_; +}; + +} // namespace c10 diff --git a/shared/package-files/45/455e8397732363574e43035993b86f799533cfc19fb7aa6546e22bec5986e7c7/test_single.py b/shared/package-files/45/455e8397732363574e43035993b86f799533cfc19fb7aa6546e22bec5986e7c7/test_single.py new file mode 100644 index 0000000000000000000000000000000000000000..d5ad37ae5a29f8d622fd81e1d4fcd9386e702865 --- /dev/null +++ b/shared/package-files/45/455e8397732363574e43035993b86f799533cfc19fb7aa6546e22bec5986e7c7/test_single.py @@ -0,0 +1,2897 @@ +# +# The main tests for the code in single.py are currently located in +# sympy/solvers/tests/test_ode.py +# +r""" +This File contains test functions for the individual hints used for solving ODEs. + +Examples of each solver will be returned by _get_examples_ode_sol_name_of_solver. + +Examples should have a key 'XFAIL' which stores the list of hints if they are +expected to fail for that hint. + +Functions that are for internal use: + +1) _ode_solver_test(ode_examples) - It takes a dictionary of examples returned by + _get_examples method and tests them with their respective hints. + +2) _test_particular_example(our_hint, example_name) - It tests the ODE example corresponding + to the hint provided. + +3) _test_all_hints(runxfail=False) - It is used to test all the examples with all the hints + currently implemented. It calls _test_all_examples_for_one_hint() which outputs whether the + given hint functions properly if it classifies the ODE example. + If runxfail flag is set to True then it will only test the examples which are expected to fail. + + Everytime the ODE of a particular solver is added, _test_all_hints() is to be executed to find + the possible failures of different solver hints. + +4) _test_all_examples_for_one_hint(our_hint, all_examples) - It takes hint as argument and checks + this hint against all the ODE examples and gives output as the number of ODEs matched, number + of ODEs which were solved correctly, list of ODEs which gives incorrect solution and list of + ODEs which raises exception. + +""" +from sympy.core.function import (Derivative, diff) +from sympy.core.mul import Mul +from sympy.core.numbers import (E, I, Rational, pi) +from sympy.core.relational import (Eq, Ne) +from sympy.core.singleton import S +from sympy.core.symbol import (Dummy, symbols) +from sympy.functions.elementary.complexes import (im, re) +from sympy.functions.elementary.exponential import (LambertW, exp, log) +from sympy.functions.elementary.hyperbolic import (asinh, cosh, sinh, tanh) +from sympy.functions.elementary.miscellaneous import (cbrt, sqrt) +from sympy.functions.elementary.piecewise import Piecewise +from sympy.functions.elementary.trigonometric import (acos, asin, atan, cos, sec, sin, tan) +from sympy.functions.special.error_functions import (Ei, erfi) +from sympy.functions.special.hyper import hyper +from sympy.integrals.integrals import (Integral, integrate) +from sympy.polys.rootoftools import rootof + +from sympy.core import Function, Symbol +from sympy.functions import airyai, airybi, besselj, bessely, lowergamma +from sympy.integrals.risch import NonElementaryIntegral +from sympy.solvers.ode import classify_ode, dsolve +from sympy.solvers.ode.ode import allhints, _remove_redundant_solutions +from sympy.solvers.ode.single import (FirstLinear, ODEMatchError, + SingleODEProblem, SingleODESolver, NthOrderReducible) + +from sympy.solvers.ode.subscheck import checkodesol + +from sympy.testing.pytest import raises, slow, ON_CI +import traceback + + +x = Symbol('x') +u = Symbol('u') +_u = Dummy('u') +y = Symbol('y') +f = Function('f') +g = Function('g') +C1, C2, C3, C4, C5, C6, C7, C8, C9, C10 = symbols('C1:11') + + +hint_message = """\ +Hint did not match the example {example}. + +The ODE is: +{eq}. + +The expected hint was +{our_hint}\ +""" + +expected_sol_message = """\ +Different solution found from dsolve for example {example}. + +The ODE is: +{eq} + +The expected solution was +{sol} + +What dsolve returned is: +{dsolve_sol}\ +""" + +checkodesol_msg = """\ +solution found is not correct for example {example}. + +The ODE is: +{eq}\ +""" + +dsol_incorrect_msg = """\ +solution returned by dsolve is incorrect when using {hint}. + +The ODE is: +{eq} + +The expected solution was +{sol} + +what dsolve returned is: +{dsolve_sol} + +You can test this with: + +eq = {eq} +sol = dsolve(eq, hint='{hint}') +print(sol) +print(checkodesol(eq, sol)) + +""" + +exception_msg = """\ +dsolve raised exception : {e} + +when using {hint} for the example {example} + +You can test this with: + +from sympy.solvers.ode.tests.test_single import _test_an_example + +_test_an_example('{hint}', example_name = '{example}') + +The ODE is: +{eq} + +\ +""" + +check_hint_msg = """\ +Tested hint was : {hint} + +Total of {matched} examples matched with this hint. + +Out of which {solve} gave correct results. + +Examples which gave incorrect results are {unsolve}. + +Examples which raised exceptions are {exceptions} +\ +""" + + +def _add_example_keys(func): + def inner(): + solver=func() + examples=[] + for example in solver['examples']: + temp={ + 'eq': solver['examples'][example]['eq'], + 'sol': solver['examples'][example]['sol'], + 'XFAIL': solver['examples'][example].get('XFAIL', []), + 'func': solver['examples'][example].get('func',solver['func']), + 'example_name': example, + 'slow': solver['examples'][example].get('slow', False), + 'simplify_flag':solver['examples'][example].get('simplify_flag',True), + 'checkodesol_XFAIL': solver['examples'][example].get('checkodesol_XFAIL', False), + 'dsolve_too_slow':solver['examples'][example].get('dsolve_too_slow',False), + 'checkodesol_too_slow':solver['examples'][example].get('checkodesol_too_slow',False), + 'hint': solver['hint'] + } + examples.append(temp) + return examples + return inner() + + +def _ode_solver_test(ode_examples, run_slow_test=False): + for example in ode_examples: + if ((not run_slow_test) and example['slow']) or (run_slow_test and (not example['slow'])): + continue + + result = _test_particular_example(example['hint'], example, solver_flag=True) + if result['xpass_msg'] != "": + print(result['xpass_msg']) + + +def _test_all_hints(runxfail=False): + all_hints = list(allhints)+["default"] + all_examples = _get_all_examples() + + for our_hint in all_hints: + if our_hint.endswith('_Integral') or 'series' in our_hint: + continue + _test_all_examples_for_one_hint(our_hint, all_examples, runxfail) + + +def _test_dummy_sol(expected_sol,dsolve_sol): + if type(dsolve_sol)==list: + return any(expected_sol.dummy_eq(sub_dsol) for sub_dsol in dsolve_sol) + else: + return expected_sol.dummy_eq(dsolve_sol) + + +def _test_an_example(our_hint, example_name): + all_examples = _get_all_examples() + for example in all_examples: + if example['example_name'] == example_name: + _test_particular_example(our_hint, example) + + +def _test_particular_example(our_hint, ode_example, solver_flag=False): + eq = ode_example['eq'] + expected_sol = ode_example['sol'] + example = ode_example['example_name'] + xfail = our_hint in ode_example['XFAIL'] + func = ode_example['func'] + result = {'msg': '', 'xpass_msg': ''} + simplify_flag=ode_example['simplify_flag'] + checkodesol_XFAIL = ode_example['checkodesol_XFAIL'] + dsolve_too_slow = ode_example['dsolve_too_slow'] + checkodesol_too_slow = ode_example['checkodesol_too_slow'] + xpass = True + if solver_flag: + if our_hint not in classify_ode(eq, func): + message = hint_message.format(example=example, eq=eq, our_hint=our_hint) + raise AssertionError(message) + + if our_hint in classify_ode(eq, func): + result['match_list'] = example + try: + if not (dsolve_too_slow): + dsolve_sol = dsolve(eq, func, simplify=simplify_flag,hint=our_hint) + else: + if len(expected_sol)==1: + dsolve_sol = expected_sol[0] + else: + dsolve_sol = expected_sol + + except Exception as e: + dsolve_sol = [] + result['exception_list'] = example + if not solver_flag: + traceback.print_exc() + result['msg'] = exception_msg.format(e=str(e), hint=our_hint, example=example, eq=eq) + if solver_flag and not xfail: + print(result['msg']) + raise + xpass = False + + if solver_flag and dsolve_sol!=[]: + expect_sol_check = False + if type(dsolve_sol)==list: + for sub_sol in expected_sol: + if sub_sol.has(Dummy): + expect_sol_check = not _test_dummy_sol(sub_sol, dsolve_sol) + else: + expect_sol_check = sub_sol not in dsolve_sol + if expect_sol_check: + break + else: + expect_sol_check = dsolve_sol not in expected_sol + for sub_sol in expected_sol: + if sub_sol.has(Dummy): + expect_sol_check = not _test_dummy_sol(sub_sol, dsolve_sol) + + if expect_sol_check: + message = expected_sol_message.format(example=example, eq=eq, sol=expected_sol, dsolve_sol=dsolve_sol) + raise AssertionError(message) + + expected_checkodesol = [(True, 0) for i in range(len(expected_sol))] + if len(expected_sol) == 1: + expected_checkodesol = (True, 0) + + if not (checkodesol_too_slow and ON_CI): + if not checkodesol_XFAIL: + if checkodesol(eq, dsolve_sol, func, solve_for_func=False) != expected_checkodesol: + result['unsolve_list'] = example + xpass = False + message = dsol_incorrect_msg.format(hint=our_hint, eq=eq, sol=expected_sol,dsolve_sol=dsolve_sol) + if solver_flag: + message = checkodesol_msg.format(example=example, eq=eq) + raise AssertionError(message) + else: + result['msg'] = 'AssertionError: ' + message + + if xpass and xfail: + result['xpass_msg'] = example + "is now passing for the hint" + our_hint + return result + + +def _test_all_examples_for_one_hint(our_hint, all_examples=[], runxfail=None): + if all_examples == []: + all_examples = _get_all_examples() + match_list, unsolve_list, exception_list = [], [], [] + for ode_example in all_examples: + xfail = our_hint in ode_example['XFAIL'] + if runxfail and not xfail: + continue + if xfail: + continue + result = _test_particular_example(our_hint, ode_example) + match_list += result.get('match_list',[]) + unsolve_list += result.get('unsolve_list',[]) + exception_list += result.get('exception_list',[]) + if runxfail is not None: + msg = result['msg'] + if msg!='': + print(result['msg']) + # print(result.get('xpass_msg','')) + if runxfail is None: + match_count = len(match_list) + solved = len(match_list)-len(unsolve_list)-len(exception_list) + msg = check_hint_msg.format(hint=our_hint, matched=match_count, solve=solved, unsolve=unsolve_list, exceptions=exception_list) + print(msg) + + +def test_SingleODESolver(): + # Test that not implemented methods give NotImplementedError + # Subclasses should override these methods. + problem = SingleODEProblem(f(x).diff(x), f(x), x) + solver = SingleODESolver(problem) + raises(NotImplementedError, lambda: solver.matches()) + raises(NotImplementedError, lambda: solver.get_general_solution()) + raises(NotImplementedError, lambda: solver._matches()) + raises(NotImplementedError, lambda: solver._get_general_solution()) + + # This ODE can not be solved by the FirstLinear solver. Here we test that + # it does not match and the asking for a general solution gives + # ODEMatchError + + problem = SingleODEProblem(f(x).diff(x) + f(x)*f(x), f(x), x) + + solver = FirstLinear(problem) + raises(ODEMatchError, lambda: solver.get_general_solution()) + + solver = FirstLinear(problem) + assert solver.matches() is False + + #These are just test for order of ODE + + problem = SingleODEProblem(f(x).diff(x) + f(x), f(x), x) + assert problem.order == 1 + + problem = SingleODEProblem(f(x).diff(x,4) + f(x).diff(x,2) - f(x).diff(x,3), f(x), x) + assert problem.order == 4 + + problem = SingleODEProblem(f(x).diff(x, 3) + f(x).diff(x, 2) - f(x)**2, f(x), x) + assert problem.is_autonomous == True + + problem = SingleODEProblem(f(x).diff(x, 3) + x*f(x).diff(x, 2) - f(x)**2, f(x), x) + assert problem.is_autonomous == False + + +def test_linear_coefficients(): + _ode_solver_test(_get_examples_ode_sol_linear_coefficients) + + +@slow +def test_1st_homogeneous_coeff_ode(): + #These were marked as test_1st_homogeneous_coeff_corner_case + eq1 = f(x).diff(x) - f(x)/x + c1 = classify_ode(eq1, f(x)) + eq2 = x*f(x).diff(x) - f(x) + c2 = classify_ode(eq2, f(x)) + sdi = "1st_homogeneous_coeff_subs_dep_div_indep" + sid = "1st_homogeneous_coeff_subs_indep_div_dep" + assert sid not in c1 and sdi not in c1 + assert sid not in c2 and sdi not in c2 + _ode_solver_test(_get_examples_ode_sol_1st_homogeneous_coeff_subs_dep_div_indep) + _ode_solver_test(_get_examples_ode_sol_1st_homogeneous_coeff_best) + + +@slow +def test_slow_examples_1st_homogeneous_coeff_ode(): + _ode_solver_test(_get_examples_ode_sol_1st_homogeneous_coeff_subs_dep_div_indep, run_slow_test=True) + _ode_solver_test(_get_examples_ode_sol_1st_homogeneous_coeff_best, run_slow_test=True) + + +@slow +def test_nth_linear_constant_coeff_homogeneous(): + _ode_solver_test(_get_examples_ode_sol_nth_linear_constant_coeff_homogeneous) + + +@slow +def test_slow_examples_nth_linear_constant_coeff_homogeneous(): + _ode_solver_test(_get_examples_ode_sol_nth_linear_constant_coeff_homogeneous, run_slow_test=True) + + +def test_Airy_equation(): + _ode_solver_test(_get_examples_ode_sol_2nd_linear_airy) + + +@slow +def test_lie_group(): + _ode_solver_test(_get_examples_ode_sol_lie_group) + + +@slow +def test_separable_reduced(): + df = f(x).diff(x) + eq = (x / f(x))*df + tan(x**2*f(x) / (x**2*f(x) - 1)) + assert classify_ode(eq) == ('factorable', 'separable_reduced', 'lie_group', + 'separable_reduced_Integral') + _ode_solver_test(_get_examples_ode_sol_separable_reduced) + + +@slow +def test_slow_examples_separable_reduced(): + _ode_solver_test(_get_examples_ode_sol_separable_reduced, run_slow_test=True) + + +@slow +def test_2nd_2F1_hypergeometric(): + _ode_solver_test(_get_examples_ode_sol_2nd_2F1_hypergeometric) + + +def test_2nd_2F1_hypergeometric_integral(): + eq = x*(x-1)*f(x).diff(x, 2) + (-1+ S(7)/2*x)*f(x).diff(x) + f(x) + sol = Eq(f(x), (C1 + C2*Integral(exp(Integral((1 - x/2)/(x*(x - 1)), x))/(1 - + x/2)**2, x))*exp(Integral(1/(x - 1), x)/4)*exp(-Integral(7/(x - + 1), x)/4)*hyper((S(1)/2, -1), (1,), x)) + assert sol == dsolve(eq, hint='2nd_hypergeometric_Integral') + assert checkodesol(eq, sol) == (True, 0) + + +@slow +def test_2nd_nonlinear_autonomous_conserved(): + _ode_solver_test(_get_examples_ode_sol_2nd_nonlinear_autonomous_conserved) + + +def test_2nd_nonlinear_autonomous_conserved_integral(): + eq = f(x).diff(x, 2) + asin(f(x)) + actual = [Eq(Integral(1/sqrt(C1 - 2*Integral(asin(_u), _u)), (_u, f(x))), C2 + x), + Eq(Integral(1/sqrt(C1 - 2*Integral(asin(_u), _u)), (_u, f(x))), C2 - x)] + solved = dsolve(eq, hint='2nd_nonlinear_autonomous_conserved_Integral', simplify=False) + for a,s in zip(actual, solved): + assert a.dummy_eq(s) + # checkodesol unable to simplify solutions with f(x) in an integral equation + assert checkodesol(eq, [s.doit() for s in solved]) == [(True, 0), (True, 0)] + + +@slow +def test_2nd_linear_bessel_equation(): + _ode_solver_test(_get_examples_ode_sol_2nd_linear_bessel) + + +@slow +def test_nth_algebraic(): + eqn = f(x) + f(x)*f(x).diff(x) + solns = [Eq(f(x), exp(x)), + Eq(f(x), C1*exp(C2*x))] + solns_final = _remove_redundant_solutions(eqn, solns, 2, x) + assert solns_final == [Eq(f(x), C1*exp(C2*x))] + + _ode_solver_test(_get_examples_ode_sol_nth_algebraic) + + +@slow +def test_slow_examples_nth_linear_constant_coeff_var_of_parameters(): + _ode_solver_test(_get_examples_ode_sol_nth_linear_var_of_parameters, run_slow_test=True) + + +def test_nth_linear_constant_coeff_var_of_parameters(): + _ode_solver_test(_get_examples_ode_sol_nth_linear_var_of_parameters) + + +@slow +def test_nth_linear_constant_coeff_variation_of_parameters__integral(): + # solve_variation_of_parameters shouldn't attempt to simplify the + # Wronskian if simplify=False. If wronskian() ever gets good enough + # to simplify the result itself, this test might fail. + our_hint = 'nth_linear_constant_coeff_variation_of_parameters_Integral' + eq = f(x).diff(x, 5) + 2*f(x).diff(x, 3) + f(x).diff(x) - 2*x - exp(I*x) + sol_simp = dsolve(eq, f(x), hint=our_hint, simplify=True) + sol_nsimp = dsolve(eq, f(x), hint=our_hint, simplify=False) + assert sol_simp != sol_nsimp + assert checkodesol(eq, sol_simp, order=5, solve_for_func=False) == (True, 0) + assert checkodesol(eq, sol_simp, order=5, solve_for_func=False) == (True, 0) + + +@slow +def test_slow_examples_1st_exact(): + _ode_solver_test(_get_examples_ode_sol_1st_exact, run_slow_test=True) + + +@slow +def test_1st_exact(): + _ode_solver_test(_get_examples_ode_sol_1st_exact) + + +def test_1st_exact_integral(): + eq = cos(f(x)) - (x*sin(f(x)) - f(x)**2)*f(x).diff(x) + sol_1 = dsolve(eq, f(x), simplify=False, hint='1st_exact_Integral') + assert checkodesol(eq, sol_1, order=1, solve_for_func=False) + + +@slow +def test_slow_examples_nth_order_reducible(): + _ode_solver_test(_get_examples_ode_sol_nth_order_reducible, run_slow_test=True) + + +@slow +def test_slow_examples_nth_linear_constant_coeff_undetermined_coefficients(): + _ode_solver_test(_get_examples_ode_sol_nth_linear_undetermined_coefficients, run_slow_test=True) + + +@slow +def test_slow_examples_separable(): + _ode_solver_test(_get_examples_ode_sol_separable, run_slow_test=True) + + +@slow +def test_nth_linear_constant_coeff_undetermined_coefficients(): + #issue-https://github.com/sympy/sympy/issues/5787 + # This test case is to show the classification of imaginary constants under + # nth_linear_constant_coeff_undetermined_coefficients + eq = Eq(diff(f(x), x), I*f(x) + S.Half - I) + our_hint = 'nth_linear_constant_coeff_undetermined_coefficients' + assert our_hint in classify_ode(eq) + _ode_solver_test(_get_examples_ode_sol_nth_linear_undetermined_coefficients) + + +def test_nth_order_reducible(): + F = lambda eq: NthOrderReducible(SingleODEProblem(eq, f(x), x))._matches() + D = Derivative + assert F(D(y*f(x), x, y) + D(f(x), x)) == False + assert F(D(y*f(y), y, y) + D(f(y), y)) == False + assert F(f(x)*D(f(x), x) + D(f(x), x, 2))== False + assert F(D(x*f(y), y, 2) + D(u*y*f(x), x, 3)) == False # no simplification by design + assert F(D(f(y), y, 2) + D(f(y), y, 3) + D(f(x), x, 4)) == False + assert F(D(f(x), x, 2) + D(f(x), x, 3)) == True + _ode_solver_test(_get_examples_ode_sol_nth_order_reducible) + + +@slow +def test_separable(): + _ode_solver_test(_get_examples_ode_sol_separable) + + +@slow +def test_factorable(): + assert integrate(-asin(f(2*x)+pi), x) == -Integral(asin(pi + f(2*x)), x) + _ode_solver_test(_get_examples_ode_sol_factorable) + + +@slow +def test_slow_examples_factorable(): + _ode_solver_test(_get_examples_ode_sol_factorable, run_slow_test=True) + + +def test_Riccati_special_minus2(): + _ode_solver_test(_get_examples_ode_sol_riccati) + + +@slow +def test_1st_rational_riccati(): + _ode_solver_test(_get_examples_ode_sol_1st_rational_riccati) + + +def test_Bernoulli(): + _ode_solver_test(_get_examples_ode_sol_bernoulli) + + +def test_1st_linear(): + _ode_solver_test(_get_examples_ode_sol_1st_linear) + + +def test_almost_linear(): + _ode_solver_test(_get_examples_ode_sol_almost_linear) + + +@slow +def test_Liouville_ODE(): + hint = 'Liouville' + not_Liouville1 = classify_ode(diff(f(x), x)/x + f(x)*diff(f(x), x, x)/2 - + diff(f(x), x)**2/2, f(x)) + not_Liouville2 = classify_ode(diff(f(x), x)/x + diff(f(x), x, x)/2 - + x*diff(f(x), x)**2/2, f(x)) + assert hint not in not_Liouville1 + assert hint not in not_Liouville2 + assert hint + '_Integral' not in not_Liouville1 + assert hint + '_Integral' not in not_Liouville2 + + _ode_solver_test(_get_examples_ode_sol_liouville) + + +def test_nth_order_linear_euler_eq_homogeneous(): + x, t, a, b, c = symbols('x t a b c') + y = Function('y') + our_hint = "nth_linear_euler_eq_homogeneous" + + eq = diff(f(t), t, 4)*t**4 - 13*diff(f(t), t, 2)*t**2 + 36*f(t) + assert our_hint in classify_ode(eq) + + eq = a*y(t) + b*t*diff(y(t), t) + c*t**2*diff(y(t), t, 2) + assert our_hint in classify_ode(eq) + + _ode_solver_test(_get_examples_ode_sol_euler_homogeneous) + + +def test_nth_order_linear_euler_eq_nonhomogeneous_undetermined_coefficients(): + x, t = symbols('x t') + a, b, c, d = symbols('a b c d', integer=True) + our_hint = "nth_linear_euler_eq_nonhomogeneous_undetermined_coefficients" + + eq = x**4*diff(f(x), x, 4) - 13*x**2*diff(f(x), x, 2) + 36*f(x) + x + assert our_hint in classify_ode(eq, f(x)) + + eq = a*x**2*diff(f(x), x, 2) + b*x*diff(f(x), x) + c*f(x) + d*log(x) + assert our_hint in classify_ode(eq, f(x)) + + _ode_solver_test(_get_examples_ode_sol_euler_undetermined_coeff) + + +@slow +def test_nth_order_linear_euler_eq_nonhomogeneous_variation_of_parameters(): + x, t = symbols('x, t') + a, b, c, d = symbols('a, b, c, d', integer=True) + our_hint = "nth_linear_euler_eq_nonhomogeneous_variation_of_parameters" + + eq = Eq(x**2*diff(f(x),x,2) - 8*x*diff(f(x),x) + 12*f(x), x**2) + assert our_hint in classify_ode(eq, f(x)) + + eq = Eq(a*x**3*diff(f(x),x,3) + b*x**2*diff(f(x),x,2) + c*x*diff(f(x),x) + d*f(x), x*log(x)) + assert our_hint in classify_ode(eq, f(x)) + + _ode_solver_test(_get_examples_ode_sol_euler_var_para) + + +@_add_example_keys +def _get_examples_ode_sol_euler_homogeneous(): + r1, r2, r3, r4, r5 = [rootof(x**5 - 14*x**4 + 71*x**3 - 154*x**2 + 120*x - 1, n) for n in range(5)] + return { + 'hint': "nth_linear_euler_eq_homogeneous", + 'func': f(x), + 'examples':{ + 'euler_hom_01': { + 'eq': Eq(-3*diff(f(x), x)*x + 2*x**2*diff(f(x), x, x), 0), + 'sol': [Eq(f(x), C1 + C2*x**Rational(5, 2))], + }, + + 'euler_hom_02': { + 'eq': Eq(3*f(x) - 5*diff(f(x), x)*x + 2*x**2*diff(f(x), x, x), 0), + 'sol': [Eq(f(x), C1*sqrt(x) + C2*x**3)] + }, + + 'euler_hom_03': { + 'eq': Eq(4*f(x) + 5*diff(f(x), x)*x + x**2*diff(f(x), x, x), 0), + 'sol': [Eq(f(x), (C1 + C2*log(x))/x**2)] + }, + + 'euler_hom_04': { + 'eq': Eq(6*f(x) - 6*diff(f(x), x)*x + 1*x**2*diff(f(x), x, x) + x**3*diff(f(x), x, x, x), 0), + 'sol': [Eq(f(x), C1/x**2 + C2*x + C3*x**3)] + }, + + 'euler_hom_05': { + 'eq': Eq(-125*f(x) + 61*diff(f(x), x)*x - 12*x**2*diff(f(x), x, x) + x**3*diff(f(x), x, x, x), 0), + 'sol': [Eq(f(x), x**5*(C1 + C2*log(x) + C3*log(x)**2))] + }, + + 'euler_hom_06': { + 'eq': x**2*diff(f(x), x, 2) + x*diff(f(x), x) - 9*f(x), + 'sol': [Eq(f(x), C1*x**-3 + C2*x**3)] + }, + + 'euler_hom_07': { + 'eq': sin(x)*x**2*f(x).diff(x, 2) + sin(x)*x*f(x).diff(x) + sin(x)*f(x), + 'sol': [Eq(f(x), C1*sin(log(x)) + C2*cos(log(x)))], + 'XFAIL': ['2nd_power_series_regular','nth_linear_euler_eq_nonhomogeneous_undetermined_coefficients'] + }, + + 'euler_hom_08': { + 'eq': x**6 * f(x).diff(x, 6) - x*f(x).diff(x) + f(x), + 'sol': [Eq(f(x), C1*x + C2*x**r1 + C3*x**r2 + C4*x**r3 + C5*x**r4 + C6*x**r5)], + 'checkodesol_XFAIL':True + }, + + #This example is from issue: https://github.com/sympy/sympy/issues/15237 #This example is from issue: + # https://github.com/sympy/sympy/issues/15237 + 'euler_hom_09': { + 'eq': Derivative(x*f(x), x, x, x), + 'sol': [Eq(f(x), C1 + C2/x + C3*x)], + }, + } + } + + +@_add_example_keys +def _get_examples_ode_sol_euler_undetermined_coeff(): + return { + 'hint': "nth_linear_euler_eq_nonhomogeneous_undetermined_coefficients", + 'func': f(x), + 'examples':{ + 'euler_undet_01': { + 'eq': Eq(x**2*diff(f(x), x, x) + x*diff(f(x), x), 1), + 'sol': [Eq(f(x), C1 + C2*log(x) + log(x)**2/2)] + }, + + 'euler_undet_02': { + 'eq': Eq(x**2*diff(f(x), x, x) - 2*x*diff(f(x), x) + 2*f(x), x**3), + 'sol': [Eq(f(x), x*(C1 + C2*x + Rational(1, 2)*x**2))] + }, + + 'euler_undet_03': { + 'eq': Eq(x**2*diff(f(x), x, x) - x*diff(f(x), x) - 3*f(x), log(x)/x), + 'sol': [Eq(f(x), (C1 + C2*x**4 - log(x)**2/8 - log(x)/16)/x)] + }, + + 'euler_undet_04': { + 'eq': Eq(x**2*diff(f(x), x, x) + 3*x*diff(f(x), x) - 8*f(x), log(x)**3 - log(x)), + 'sol': [Eq(f(x), C1/x**4 + C2*x**2 - Rational(1,8)*log(x)**3 - Rational(3,32)*log(x)**2 - Rational(1,64)*log(x) - Rational(7, 256))] + }, + + 'euler_undet_05': { + 'eq': Eq(x**3*diff(f(x), x, x, x) - 3*x**2*diff(f(x), x, x) + 6*x*diff(f(x), x) - 6*f(x), log(x)), + 'sol': [Eq(f(x), C1*x + C2*x**2 + C3*x**3 - Rational(1, 6)*log(x) - Rational(11, 36))] + }, + + #Below examples were added for the issue: https://github.com/sympy/sympy/issues/5096 + 'euler_undet_06': { + 'eq': 2*x**2*f(x).diff(x, 2) + f(x) + sqrt(2*x)*sin(log(2*x)/2), + 'sol': [Eq(f(x), sqrt(x)*(C1*sin(log(x)/2) + C2*cos(log(x)/2) + sqrt(2)*log(x)*cos(log(2*x)/2)/2))] + }, + + 'euler_undet_07': { + 'eq': 2*x**2*f(x).diff(x, 2) + f(x) + sin(log(2*x)/2), + 'sol': [Eq(f(x), C1*sqrt(x)*sin(log(x)/2) + C2*sqrt(x)*cos(log(x)/2) - 2*sin(log(2*x)/2)/5 - 4*cos(log(2*x)/2)/5)] + }, + } + } + + +@_add_example_keys +def _get_examples_ode_sol_euler_var_para(): + return { + 'hint': "nth_linear_euler_eq_nonhomogeneous_variation_of_parameters", + 'func': f(x), + 'examples':{ + 'euler_var_01': { + 'eq': Eq(x**2*Derivative(f(x), x, x) - 2*x*Derivative(f(x), x) + 2*f(x), x**4), + 'sol': [Eq(f(x), x*(C1 + C2*x + x**3/6))] + }, + + 'euler_var_02': { + 'eq': Eq(3*x**2*diff(f(x), x, x) + 6*x*diff(f(x), x) - 6*f(x), x**3*exp(x)), + 'sol': [Eq(f(x), C1/x**2 + C2*x + x*exp(x)/3 - 4*exp(x)/3 + 8*exp(x)/(3*x) - 8*exp(x)/(3*x**2))] + }, + + 'euler_var_03': { + 'eq': Eq(x**2*Derivative(f(x), x, x) - 2*x*Derivative(f(x), x) + 2*f(x), x**4*exp(x)), + 'sol': [Eq(f(x), x*(C1 + C2*x + x*exp(x) - 2*exp(x)))] + }, + + 'euler_var_04': { + 'eq': x**2*Derivative(f(x), x, x) - 2*x*Derivative(f(x), x) + 2*f(x) - log(x), + 'sol': [Eq(f(x), C1*x + C2*x**2 + log(x)/2 + Rational(3, 4))] + }, + + 'euler_var_05': { + 'eq': -exp(x) + (x*Derivative(f(x), (x, 2)) + Derivative(f(x), x))/x, + 'sol': [Eq(f(x), C1 + C2*log(x) + exp(x) - Ei(x))] + }, + + 'euler_var_06': { + 'eq': x**2 * f(x).diff(x, 2) + x * f(x).diff(x) + 4 * f(x) - 1/x, + 'sol': [Eq(f(x), C1*sin(2*log(x)) + C2*cos(2*log(x)) + 1/(5*x))] + }, + } + } + + +@_add_example_keys +def _get_examples_ode_sol_bernoulli(): + # Type: Bernoulli, f'(x) + p(x)*f(x) == q(x)*f(x)**n + return { + 'hint': "Bernoulli", + 'func': f(x), + 'examples':{ + 'bernoulli_01': { + 'eq': Eq(x*f(x).diff(x) + f(x) - f(x)**2, 0), + 'sol': [Eq(f(x), 1/(C1*x + 1))], + 'XFAIL': ['separable_reduced'] + }, + + 'bernoulli_02': { + 'eq': f(x).diff(x) - y*f(x), + 'sol': [Eq(f(x), C1*exp(x*y))] + }, + + 'bernoulli_03': { + 'eq': f(x)*f(x).diff(x) - 1, + 'sol': [Eq(f(x), -sqrt(C1 + 2*x)), Eq(f(x), sqrt(C1 + 2*x))] + }, + } + } + + +@_add_example_keys +def _get_examples_ode_sol_riccati(): + # Type: Riccati special alpha = -2, a*dy/dx + b*y**2 + c*y/x +d/x**2 + return { + 'hint': "Riccati_special_minus2", + 'func': f(x), + 'examples':{ + 'riccati_01': { + 'eq': 2*f(x).diff(x) + f(x)**2 - f(x)/x + 3*x**(-2), + 'sol': [Eq(f(x), (-sqrt(3)*tan(C1 + sqrt(3)*log(x)/4) + 3)/(2*x))], + }, + }, + } + + +@_add_example_keys +def _get_examples_ode_sol_1st_rational_riccati(): + # Type: 1st Order Rational Riccati, dy/dx = a + b*y + c*y**2, + # a, b, c are rational functions of x + return { + 'hint': "1st_rational_riccati", + 'func': f(x), + 'examples':{ + # a(x) is a constant + "rational_riccati_01": { + "eq": Eq(f(x).diff(x) + f(x)**2 - 2, 0), + "sol": [Eq(f(x), sqrt(2)*(-C1 - exp(2*sqrt(2)*x))/(C1 - exp(2*sqrt(2)*x)))] + }, + # a(x) is a constant + "rational_riccati_02": { + "eq": f(x)**2 + Derivative(f(x), x) + 4*f(x)/x + 2/x**2, + "sol": [Eq(f(x), (-2*C1 - x)/(x*(C1 + x)))] + }, + # a(x) is a constant + "rational_riccati_03": { + "eq": 2*x**2*Derivative(f(x), x) - x*(4*f(x) + Derivative(f(x), x) - 4) + (f(x) - 1)*f(x), + "sol": [Eq(f(x), (C1 + 2*x**2)/(C1 + x))] + }, + # Constant coefficients + "rational_riccati_04": { + "eq": f(x).diff(x) - 6 - 5*f(x) - f(x)**2, + "sol": [Eq(f(x), (-2*C1 + 3*exp(x))/(C1 - exp(x)))] + }, + # One pole of multiplicity 2 + "rational_riccati_05": { + "eq": x**2 - (2*x + 1/x)*f(x) + f(x)**2 + Derivative(f(x), x), + "sol": [Eq(f(x), x*(C1 + x**2 + 1)/(C1 + x**2 - 1))] + }, + # One pole of multiplicity 2 + "rational_riccati_06": { + "eq": x**4*Derivative(f(x), x) + x**2 - x*(2*f(x)**2 + Derivative(f(x), x)) + f(x), + "sol": [Eq(f(x), x*(C1*x - x + 1)/(C1 + x**2 - 1))] + }, + # Multiple poles of multiplicity 2 + "rational_riccati_07": { + "eq": -f(x)**2 + Derivative(f(x), x) + (15*x**2 - 20*x + 7)/((x - 1)**2*(2*x \ + - 1)**2), + "sol": [Eq(f(x), (9*C1*x - 6*C1 - 15*x**5 + 60*x**4 - 94*x**3 + 72*x**2 - \ + 33*x + 8)/(6*C1*x**2 - 9*C1*x + 3*C1 + 6*x**6 - 29*x**5 + 57*x**4 - \ + 58*x**3 + 28*x**2 - 3*x - 1))] + }, + # Imaginary poles + "rational_riccati_08": { + "eq": Derivative(f(x), x) + (3*x**2 + 1)*f(x)**2/x + (6*x**2 - x + 3)*f(x)/(x*(x \ + - 1)) + (3*x**2 - 2*x + 2)/(x*(x - 1)**2), + "sol": [Eq(f(x), (-C1 - x**3 + x**2 - 2*x + 1)/(C1*x - C1 + x**4 - x**3 + x**2 - \ + 2*x + 1))], + }, + # Imaginary coefficients in equation + "rational_riccati_09": { + "eq": Derivative(f(x), x) - 2*I*(f(x)**2 + 1)/x, + "sol": [Eq(f(x), (-I*C1 + I*x**4 + I)/(C1 + x**4 - 1))] + }, + # Regression: linsolve returning empty solution + # Large value of m (> 10) + "rational_riccati_10": { + "eq": Eq(Derivative(f(x), x), x*f(x)/(S(3)/2 - 2*x) + (x/2 - S(1)/3)*f(x)**2/\ + (2*x/3 - S(1)/2) - S(5)/4 + (281*x**2 - 1260*x + 756)/(16*x**3 - 12*x**2)), + "sol": [Eq(f(x), (40*C1*x**14 + 28*C1*x**13 + 420*C1*x**12 + 2940*C1*x**11 + \ + 18480*C1*x**10 + 103950*C1*x**9 + 519750*C1*x**8 + 2286900*C1*x**7 + \ + 8731800*C1*x**6 + 28378350*C1*x**5 + 76403250*C1*x**4 + 163721250*C1*x**3 \ + + 261954000*C1*x**2 + 278326125*C1*x + 147349125*C1 + x*exp(2*x) - 9*exp(2*x) \ + )/(x*(24*C1*x**13 + 140*C1*x**12 + 840*C1*x**11 + 4620*C1*x**10 + 23100*C1*x**9 \ + + 103950*C1*x**8 + 415800*C1*x**7 + 1455300*C1*x**6 + 4365900*C1*x**5 + \ + 10914750*C1*x**4 + 21829500*C1*x**3 + 32744250*C1*x**2 + 32744250*C1*x + \ + 16372125*C1 - exp(2*x))))] + } + } + } + + + +@_add_example_keys +def _get_examples_ode_sol_1st_linear(): + # Type: first order linear form f'(x)+p(x)f(x)=q(x) + return { + 'hint': "1st_linear", + 'func': f(x), + 'examples':{ + 'linear_01': { + 'eq': Eq(f(x).diff(x) + x*f(x), x**2), + 'sol': [Eq(f(x), (C1 + x*exp(x**2/2)- sqrt(2)*sqrt(pi)*erfi(sqrt(2)*x/2)/2)*exp(-x**2/2))], + }, + }, + } + + +@_add_example_keys +def _get_examples_ode_sol_factorable(): + """ some hints are marked as xfail for examples because they missed additional algebraic solution + which could be found by Factorable hint. Fact_01 raise exception for + nth_linear_constant_coeff_undetermined_coefficients""" + + y = Dummy('y') + a0,a1,a2,a3,a4 = symbols('a0, a1, a2, a3, a4') + return { + 'hint': "factorable", + 'func': f(x), + 'examples':{ + 'fact_01': { + 'eq': f(x) + f(x)*f(x).diff(x), + 'sol': [Eq(f(x), 0), Eq(f(x), C1 - x)], + 'XFAIL': ['separable', '1st_exact', '1st_linear', 'Bernoulli', '1st_homogeneous_coeff_best', + '1st_homogeneous_coeff_subs_indep_div_dep', '1st_homogeneous_coeff_subs_dep_div_indep', + 'lie_group', 'nth_linear_euler_eq_nonhomogeneous_undetermined_coefficients', + 'nth_linear_constant_coeff_variation_of_parameters', + 'nth_linear_euler_eq_nonhomogeneous_variation_of_parameters', + 'nth_linear_constant_coeff_undetermined_coefficients'] + }, + + 'fact_02': { + 'eq': f(x)*(f(x).diff(x)+f(x)*x+2), + 'sol': [Eq(f(x), (C1 - sqrt(2)*sqrt(pi)*erfi(sqrt(2)*x/2))*exp(-x**2/2)), Eq(f(x), 0)], + 'XFAIL': ['Bernoulli', '1st_linear', 'lie_group'] + }, + + 'fact_03': { + 'eq': (f(x).diff(x)+f(x)*x**2)*(f(x).diff(x, 2) + x*f(x)), + 'sol': [Eq(f(x), C1*airyai(-x) + C2*airybi(-x)),Eq(f(x), C1*exp(-x**3/3))] + }, + + 'fact_04': { + 'eq': (f(x).diff(x)+f(x)*x**2)*(f(x).diff(x, 2) + f(x)), + 'sol': [Eq(f(x), C1*exp(-x**3/3)), Eq(f(x), C1*sin(x) + C2*cos(x))] + }, + + 'fact_05': { + 'eq': (f(x).diff(x)**2-1)*(f(x).diff(x)**2-4), + 'sol': [Eq(f(x), C1 - x), Eq(f(x), C1 + x), Eq(f(x), C1 + 2*x), Eq(f(x), C1 - 2*x)] + }, + + 'fact_06': { + 'eq': (f(x).diff(x, 2)-exp(f(x)))*f(x).diff(x), + 'sol': [ + Eq(f(x), log(-C1/(cos(sqrt(-C1)*(C2 + x)) + 1))), + Eq(f(x), log(-C1/(cos(sqrt(-C1)*(C2 - x)) + 1))), + Eq(f(x), C1) + ], + 'slow': True, + }, + + 'fact_07': { + 'eq': (f(x).diff(x)**2-1)*(f(x)*f(x).diff(x)-1), + 'sol': [Eq(f(x), C1 - x), Eq(f(x), -sqrt(C1 + 2*x)),Eq(f(x), sqrt(C1 + 2*x)), Eq(f(x), C1 + x)] + }, + + 'fact_08': { + 'eq': Derivative(f(x), x)**4 - 2*Derivative(f(x), x)**2 + 1, + 'sol': [Eq(f(x), C1 - x), Eq(f(x), C1 + x)] + }, + + 'fact_09': { + 'eq': f(x)**2*Derivative(f(x), x)**6 - 2*f(x)**2*Derivative(f(x), + x)**4 + f(x)**2*Derivative(f(x), x)**2 - 2*f(x)*Derivative(f(x), + x)**5 + 4*f(x)*Derivative(f(x), x)**3 - 2*f(x)*Derivative(f(x), + x) + Derivative(f(x), x)**4 - 2*Derivative(f(x), x)**2 + 1, + 'sol': [ + Eq(f(x), C1 - x), Eq(f(x), -sqrt(C1 + 2*x)), + Eq(f(x), sqrt(C1 + 2*x)), Eq(f(x), C1 + x) + ] + }, + + 'fact_10': { + 'eq': x**4*f(x)**2 + 2*x**4*f(x)*Derivative(f(x), (x, 2)) + x**4*Derivative(f(x), + (x, 2))**2 + 2*x**3*f(x)*Derivative(f(x), x) + 2*x**3*Derivative(f(x), + x)*Derivative(f(x), (x, 2)) - 7*x**2*f(x)**2 - 7*x**2*f(x)*Derivative(f(x), + (x, 2)) + x**2*Derivative(f(x), x)**2 - 7*x*f(x)*Derivative(f(x), x) + 12*f(x)**2, + 'sol': [ + Eq(f(x), C1*besselj(2, x) + C2*bessely(2, x)), + Eq(f(x), C1*besselj(sqrt(3), x) + C2*bessely(sqrt(3), x)) + ], + 'slow': True, + }, + + 'fact_11': { + 'eq': (f(x).diff(x, 2)-exp(f(x)))*(f(x).diff(x, 2)+exp(f(x))), + 'sol': [ + Eq(f(x), log(C1/(cos(C1*sqrt(-1/C1)*(C2 + x)) - 1))), + Eq(f(x), log(C1/(cos(C1*sqrt(-1/C1)*(C2 - x)) - 1))), + Eq(f(x), log(C1/(1 - cos(C1*sqrt(-1/C1)*(C2 + x))))), + Eq(f(x), log(C1/(1 - cos(C1*sqrt(-1/C1)*(C2 - x))))) + ], + 'dsolve_too_slow': True, + }, + + #Below examples were added for the issue: https://github.com/sympy/sympy/issues/15889 + 'fact_12': { + 'eq': exp(f(x).diff(x))-f(x)**2, + 'sol': [Eq(NonElementaryIntegral(1/log(y**2), (y, f(x))), C1 + x)], + 'XFAIL': ['lie_group'] #It shows not implemented error for lie_group. + }, + + 'fact_13': { + 'eq': f(x).diff(x)**2 - f(x)**3, + 'sol': [Eq(f(x), 4/(C1**2 - 2*C1*x + x**2))], + 'XFAIL': ['lie_group'] #It shows not implemented error for lie_group. + }, + + 'fact_14': { + 'eq': f(x).diff(x)**2 - f(x), + 'sol': [Eq(f(x), C1**2/4 - C1*x/2 + x**2/4)] + }, + + 'fact_15': { + 'eq': f(x).diff(x)**2 - f(x)**2, + 'sol': [Eq(f(x), C1*exp(x)), Eq(f(x), C1*exp(-x))] + }, + + 'fact_16': { + 'eq': f(x).diff(x)**2 - f(x)**3, + 'sol': [Eq(f(x), 4/(C1**2 - 2*C1*x + x**2))], + }, + + # kamke ode 1.1 + 'fact_17': { + 'eq': f(x).diff(x)-(a4*x**4 + a3*x**3 + a2*x**2 + a1*x + a0)**(-1/2), + 'sol': [Eq(f(x), C1 + Integral(1/sqrt(a0 + a1*x + a2*x**2 + a3*x**3 + a4*x**4), x))], + 'slow': True + }, + + # This is from issue: https://github.com/sympy/sympy/issues/9446 + 'fact_18':{ + 'eq': Eq(f(2 * x), sin(Derivative(f(x)))), + 'sol': [Eq(f(x), C1 + Integral(pi - asin(f(2*x)), x)), Eq(f(x), C1 + Integral(asin(f(2*x)), x))], + 'checkodesol_XFAIL':True + }, + + # This is from issue: https://github.com/sympy/sympy/issues/7093 + 'fact_19': { + 'eq': Derivative(f(x), x)**2 - x**3, + 'sol': [Eq(f(x), C1 - 2*x**Rational(5,2)/5), Eq(f(x), C1 + 2*x**Rational(5,2)/5)], + }, + + 'fact_20': { + 'eq': x*f(x).diff(x, 2) - x*f(x), + 'sol': [Eq(f(x), C1*exp(-x) + C2*exp(x))], + }, + } + } + + + +@_add_example_keys +def _get_examples_ode_sol_almost_linear(): + from sympy.functions.special.error_functions import Ei + A = Symbol('A', positive=True) + f = Function('f') + d = f(x).diff(x) + + return { + 'hint': "almost_linear", + 'func': f(x), + 'examples':{ + 'almost_lin_01': { + 'eq': x**2*f(x)**2*d + f(x)**3 + 1, + 'sol': [Eq(f(x), (C1*exp(3/x) - 1)**Rational(1, 3)), + Eq(f(x), (-1 - sqrt(3)*I)*(C1*exp(3/x) - 1)**Rational(1, 3)/2), + Eq(f(x), (-1 + sqrt(3)*I)*(C1*exp(3/x) - 1)**Rational(1, 3)/2)], + + }, + + 'almost_lin_02': { + 'eq': x*f(x)*d + 2*x*f(x)**2 + 1, + 'sol': [Eq(f(x), -sqrt((C1 - 2*Ei(4*x))*exp(-4*x))), Eq(f(x), sqrt((C1 - 2*Ei(4*x))*exp(-4*x)))] + }, + + 'almost_lin_03': { + 'eq': x*d + x*f(x) + 1, + 'sol': [Eq(f(x), (C1 - Ei(x))*exp(-x))] + }, + + 'almost_lin_04': { + 'eq': x*exp(f(x))*d + exp(f(x)) + 3*x, + 'sol': [Eq(f(x), log(C1/x - x*Rational(3, 2)))], + }, + + 'almost_lin_05': { + 'eq': x + A*(x + diff(f(x), x) + f(x)) + diff(f(x), x) + f(x) + 2, + 'sol': [Eq(f(x), (C1 + Piecewise( + (x, Eq(A + 1, 0)), ((-A*x + A - x - 1)*exp(x)/(A + 1), True)))*exp(-x))], + }, + } + } + + +@_add_example_keys +def _get_examples_ode_sol_liouville(): + n = Symbol('n') + _y = Dummy('y') + return { + 'hint': "Liouville", + 'func': f(x), + 'examples':{ + 'liouville_01': { + 'eq': diff(f(x), x)/x + diff(f(x), x, x)/2 - diff(f(x), x)**2/2, + 'sol': [Eq(f(x), log(x/(C1 + C2*x)))], + + }, + + 'liouville_02': { + 'eq': diff(x*exp(-f(x)), x, x), + 'sol': [Eq(f(x), log(x/(C1 + C2*x)))] + }, + + 'liouville_03': { + 'eq': ((diff(f(x), x)/x + diff(f(x), x, x)/2 - diff(f(x), x)**2/2)*exp(-f(x))/exp(f(x))).expand(), + 'sol': [Eq(f(x), log(x/(C1 + C2*x)))] + }, + + 'liouville_04': { + 'eq': diff(f(x), x, x) + 1/f(x)*(diff(f(x), x))**2 + 1/x*diff(f(x), x), + 'sol': [Eq(f(x), -sqrt(C1 + C2*log(x))), Eq(f(x), sqrt(C1 + C2*log(x)))], + }, + + 'liouville_05': { + 'eq': x*diff(f(x), x, x) + x/f(x)*diff(f(x), x)**2 + x*diff(f(x), x), + 'sol': [Eq(f(x), -sqrt(C1 + C2*exp(-x))), Eq(f(x), sqrt(C1 + C2*exp(-x)))], + }, + + 'liouville_06': { + 'eq': Eq((x*exp(f(x))).diff(x, x), 0), + 'sol': [Eq(f(x), log(C1 + C2/x))], + }, + + 'liouville_07': { + 'eq': (diff(f(x), x)/x + diff(f(x), x, x)/2 - diff(f(x), x)**2/2)*exp(-f(x))/exp(f(x)), + 'sol': [Eq(f(x), log(x/(C1 + C2*x)))], + }, + + 'liouville_08': { + 'eq': x**2*diff(f(x),x) + (n*f(x) + f(x)**2)*diff(f(x),x)**2 + diff(f(x), (x, 2)), + 'sol': [Eq(C1 + C2*lowergamma(Rational(1,3), x**3/3) + NonElementaryIntegral(exp(_y**3/3)*exp(_y**2*n/2), (_y, f(x))), 0)], + }, + } + } + + +@_add_example_keys +def _get_examples_ode_sol_nth_algebraic(): + M, m, r, t = symbols('M m r t') + phi = Function('phi') + k = Symbol('k') + # This one needs a substitution f' = g. + # 'algeb_12': { + # 'eq': -exp(x) + (x*Derivative(f(x), (x, 2)) + Derivative(f(x), x))/x, + # 'sol': [Eq(f(x), C1 + C2*log(x) + exp(x) - Ei(x))], + # }, + return { + 'hint': "nth_algebraic", + 'func': f(x), + 'examples':{ + 'algeb_01': { + 'eq': f(x) * f(x).diff(x) * f(x).diff(x, x) * (f(x) - 1) * (f(x).diff(x) - x), + 'sol': [Eq(f(x), C1 + x**2/2), Eq(f(x), C1 + C2*x)] + }, + + 'algeb_02': { + 'eq': f(x) * f(x).diff(x) * f(x).diff(x, x) * (f(x) - 1), + 'sol': [Eq(f(x), C1 + C2*x)] + }, + + 'algeb_03': { + 'eq': f(x) * f(x).diff(x) * f(x).diff(x, x), + 'sol': [Eq(f(x), C1 + C2*x)] + }, + + 'algeb_04': { + 'eq': Eq(-M * phi(t).diff(t), + Rational(3, 2) * m * r**2 * phi(t).diff(t) * phi(t).diff(t,t)), + 'sol': [Eq(phi(t), C1), Eq(phi(t), C1 + C2*t - M*t**2/(3*m*r**2))], + 'func': phi(t) + }, + + 'algeb_05': { + 'eq': (1 - sin(f(x))) * f(x).diff(x), + 'sol': [Eq(f(x), C1)], + 'XFAIL': ['separable'] #It raised exception. + }, + + 'algeb_06': { + 'eq': (diff(f(x)) - x)*(diff(f(x)) + x), + 'sol': [Eq(f(x), C1 - x**2/2), Eq(f(x), C1 + x**2/2)] + }, + + 'algeb_07': { + 'eq': Eq(Derivative(f(x), x), Derivative(g(x), x)), + 'sol': [Eq(f(x), C1 + g(x))], + }, + + 'algeb_08': { + 'eq': f(x).diff(x) - C1, #this example is from issue 15999 + 'sol': [Eq(f(x), C1*x + C2)], + }, + + 'algeb_09': { + 'eq': f(x)*f(x).diff(x), + 'sol': [Eq(f(x), C1)], + }, + + 'algeb_10': { + 'eq': (diff(f(x)) - x)*(diff(f(x)) + x), + 'sol': [Eq(f(x), C1 - x**2/2), Eq(f(x), C1 + x**2/2)], + }, + + 'algeb_11': { + 'eq': f(x) + f(x)*f(x).diff(x), + 'sol': [Eq(f(x), 0), Eq(f(x), C1 - x)], + 'XFAIL': ['separable', '1st_exact', '1st_linear', 'Bernoulli', '1st_homogeneous_coeff_best', + '1st_homogeneous_coeff_subs_indep_div_dep', '1st_homogeneous_coeff_subs_dep_div_indep', + 'lie_group', 'nth_linear_constant_coeff_undetermined_coefficients', + 'nth_linear_euler_eq_nonhomogeneous_undetermined_coefficients', + 'nth_linear_constant_coeff_variation_of_parameters', + 'nth_linear_euler_eq_nonhomogeneous_variation_of_parameters'] + #nth_linear_constant_coeff_undetermined_coefficients raises exception rest all of them misses a solution. + }, + + 'algeb_12': { + 'eq': Derivative(x*f(x), x, x, x), + 'sol': [Eq(f(x), (C1 + C2*x + C3*x**2) / x)], + 'XFAIL': ['nth_algebraic'] # It passes only when prep=False is set in dsolve. + }, + + 'algeb_13': { + 'eq': Eq(Derivative(x*Derivative(f(x), x), x)/x, exp(x)), + 'sol': [Eq(f(x), C1 + C2*log(x) + exp(x) - Ei(x))], + 'XFAIL': ['nth_algebraic'] # It passes only when prep=False is set in dsolve. + }, + + # These are simple tests from the old ode module example 14-18 + 'algeb_14': { + 'eq': Eq(f(x).diff(x), 0), + 'sol': [Eq(f(x), C1)], + }, + + 'algeb_15': { + 'eq': Eq(3*f(x).diff(x) - 5, 0), + 'sol': [Eq(f(x), C1 + x*Rational(5, 3))], + }, + + 'algeb_16': { + 'eq': Eq(3*f(x).diff(x), 5), + 'sol': [Eq(f(x), C1 + x*Rational(5, 3))], + }, + + # Type: 2nd order, constant coefficients (two complex roots) + 'algeb_17': { + 'eq': Eq(3*f(x).diff(x) - 1, 0), + 'sol': [Eq(f(x), C1 + x/3)], + }, + + 'algeb_18': { + 'eq': Eq(x*f(x).diff(x) - 1, 0), + 'sol': [Eq(f(x), C1 + log(x))], + }, + + # https://github.com/sympy/sympy/issues/6989 + 'algeb_19': { + 'eq': f(x).diff(x) - x*exp(-k*x), + 'sol': [Eq(f(x), C1 + Piecewise(((-k*x - 1)*exp(-k*x)/k**2, Ne(k**2, 0)),(x**2/2, True)))], + }, + + 'algeb_20': { + 'eq': -f(x).diff(x) + x*exp(-k*x), + 'sol': [Eq(f(x), C1 + Piecewise(((-k*x - 1)*exp(-k*x)/k**2, Ne(k**2, 0)),(x**2/2, True)))], + }, + + # https://github.com/sympy/sympy/issues/10867 + 'algeb_21': { + 'eq': Eq(g(x).diff(x).diff(x), (x-2)**2 + (x-3)**3), + 'sol': [Eq(g(x), C1 + C2*x + x**5/20 - 2*x**4/3 + 23*x**3/6 - 23*x**2/2)], + 'func': g(x), + }, + + # https://github.com/sympy/sympy/issues/13691 + 'algeb_22': { + 'eq': f(x).diff(x) - C1*g(x).diff(x), + 'sol': [Eq(f(x), C2 + C1*g(x))], + 'func': f(x), + }, + + # https://github.com/sympy/sympy/issues/4838 + 'algeb_23': { + 'eq': f(x).diff(x) - 3*C1 - 3*x**2, + 'sol': [Eq(f(x), C2 + 3*C1*x + x**3)], + }, + } + } + + +@_add_example_keys +def _get_examples_ode_sol_nth_order_reducible(): + return { + 'hint': "nth_order_reducible", + 'func': f(x), + 'examples':{ + 'reducible_01': { + 'eq': Eq(x*Derivative(f(x), x)**2 + Derivative(f(x), x, 2), 0), + 'sol': [Eq(f(x),C1 - sqrt(-1/C2)*log(-C2*sqrt(-1/C2) + x) + + sqrt(-1/C2)*log(C2*sqrt(-1/C2) + x))], + 'slow': True, + }, + + 'reducible_02': { + 'eq': -exp(x) + (x*Derivative(f(x), (x, 2)) + Derivative(f(x), x))/x, + 'sol': [Eq(f(x), C1 + C2*log(x) + exp(x) - Ei(x))], + 'slow': True, + }, + + 'reducible_03': { + 'eq': Eq(sqrt(2) * f(x).diff(x,x,x) + f(x).diff(x), 0), + 'sol': [Eq(f(x), C1 + C2*sin(2**Rational(3, 4)*x/2) + C3*cos(2**Rational(3, 4)*x/2))], + 'slow': True, + }, + + 'reducible_04': { + 'eq': f(x).diff(x, 2) + 2*f(x).diff(x), + 'sol': [Eq(f(x), C1 + C2*exp(-2*x))], + }, + + 'reducible_05': { + 'eq': f(x).diff(x, 3) + f(x).diff(x, 2) - 6*f(x).diff(x), + 'sol': [Eq(f(x), C1 + C2*exp(-3*x) + C3*exp(2*x))], + 'slow': True, + }, + + 'reducible_06': { + 'eq': f(x).diff(x, 4) - f(x).diff(x, 3) - 4*f(x).diff(x, 2) + \ + 4*f(x).diff(x), + 'sol': [Eq(f(x), C1 + C2*exp(-2*x) + C3*exp(x) + C4*exp(2*x))], + 'slow': True, + }, + + 'reducible_07': { + 'eq': f(x).diff(x, 4) + 3*f(x).diff(x, 3), + 'sol': [Eq(f(x), C1 + C2*x + C3*x**2 + C4*exp(-3*x))], + 'slow': True, + }, + + 'reducible_08': { + 'eq': f(x).diff(x, 4) - 2*f(x).diff(x, 2), + 'sol': [Eq(f(x), C1 + C2*x + C3*exp(-sqrt(2)*x) + C4*exp(sqrt(2)*x))], + 'slow': True, + }, + + 'reducible_09': { + 'eq': f(x).diff(x, 4) + 4*f(x).diff(x, 2), + 'sol': [Eq(f(x), C1 + C2*x + C3*sin(2*x) + C4*cos(2*x))], + 'slow': True, + }, + + 'reducible_10': { + 'eq': f(x).diff(x, 5) + 2*f(x).diff(x, 3) + f(x).diff(x), + 'sol': [Eq(f(x), C1 + C2*x*sin(x) + C2*cos(x) - C3*x*cos(x) + C3*sin(x) + C4*sin(x) + C5*cos(x))], + 'slow': True, + }, + + 'reducible_11': { + 'eq': f(x).diff(x, 2) - f(x).diff(x)**3, + 'sol': [Eq(f(x), C1 - sqrt(2)*sqrt(-1/(C2 + x))*(C2 + x)), + Eq(f(x), C1 + sqrt(2)*sqrt(-1/(C2 + x))*(C2 + x))], + 'slow': True, + }, + + # Needs to be a way to know how to combine derivatives in the expression + 'reducible_12': { + 'eq': Derivative(x*f(x), x, x, x) + Derivative(f(x), x, x, x), + 'sol': [Eq(f(x), C1 + C3/Mul(2, (x**2 + 2*x + 1), evaluate=False) + + x*(C2 + C3/Mul(2, (x**2 + 2*x + 1), evaluate=False)))], # 2-arg Mul! + 'slow': True, + }, + } + } + + + +@_add_example_keys +def _get_examples_ode_sol_nth_linear_undetermined_coefficients(): + # examples 3-27 below are from Ordinary Differential Equations, + # Tenenbaum and Pollard, pg. 231 + g = exp(-x) + f2 = f(x).diff(x, 2) + c = 3*f(x).diff(x, 3) + 5*f2 + f(x).diff(x) - f(x) - x + t = symbols("t") + u = symbols("u",cls=Function) + R, L, C, E_0, alpha = symbols("R L C E_0 alpha",positive=True) + omega = Symbol('omega') + return { + 'hint': "nth_linear_constant_coeff_undetermined_coefficients", + 'func': f(x), + 'examples':{ + 'undet_01': { + 'eq': c - x*g, + 'sol': [Eq(f(x), C3*exp(x/3) - x + (C1 + x*(C2 - x**2/24 - 3*x/32))*exp(-x) - 1)], + 'slow': True, + }, + + 'undet_02': { + 'eq': c - g, + 'sol': [Eq(f(x), C3*exp(x/3) - x + (C1 + x*(C2 - x/8))*exp(-x) - 1)], + 'slow': True, + }, + + 'undet_03': { + 'eq': f2 + 3*f(x).diff(x) + 2*f(x) - 4, + 'sol': [Eq(f(x), C1*exp(-2*x) + C2*exp(-x) + 2)], + 'slow': True, + }, + + 'undet_04': { + 'eq': f2 + 3*f(x).diff(x) + 2*f(x) - 12*exp(x), + 'sol': [Eq(f(x), C1*exp(-2*x) + C2*exp(-x) + 2*exp(x))], + 'slow': True, + }, + + 'undet_05': { + 'eq': f2 + 3*f(x).diff(x) + 2*f(x) - exp(I*x), + 'sol': [Eq(f(x), (S(3)/10 + I/10)*(C1*exp(-2*x) + C2*exp(-x) - I*exp(I*x)))], + 'slow': True, + }, + + 'undet_06': { + 'eq': f2 + 3*f(x).diff(x) + 2*f(x) - sin(x), + 'sol': [Eq(f(x), C1*exp(-2*x) + C2*exp(-x) + sin(x)/10 - 3*cos(x)/10)], + 'slow': True, + }, + + 'undet_07': { + 'eq': f2 + 3*f(x).diff(x) + 2*f(x) - cos(x), + 'sol': [Eq(f(x), C1*exp(-2*x) + C2*exp(-x) + 3*sin(x)/10 + cos(x)/10)], + 'slow': True, + }, + + 'undet_08': { + 'eq': f2 + 3*f(x).diff(x) + 2*f(x) - (8 + 6*exp(x) + 2*sin(x)), + 'sol': [Eq(f(x), C1*exp(-2*x) + C2*exp(-x) + exp(x) + sin(x)/5 - 3*cos(x)/5 + 4)], + 'slow': True, + }, + + 'undet_09': { + 'eq': f2 + f(x).diff(x) + f(x) - x**2, + 'sol': [Eq(f(x), -2*x + x**2 + (C1*sin(x*sqrt(3)/2) + C2*cos(x*sqrt(3)/2))*exp(-x/2))], + 'slow': True, + }, + + 'undet_10': { + 'eq': f2 - 2*f(x).diff(x) - 8*f(x) - 9*x*exp(x) - 10*exp(-x), + 'sol': [Eq(f(x), -x*exp(x) - 2*exp(-x) + C1*exp(-2*x) + C2*exp(4*x))], + 'slow': True, + }, + + 'undet_11': { + 'eq': f2 - 3*f(x).diff(x) - 2*exp(2*x)*sin(x), + 'sol': [Eq(f(x), C1 + C2*exp(3*x) - 3*exp(2*x)*sin(x)/5 - exp(2*x)*cos(x)/5)], + 'slow': True, + }, + + 'undet_12': { + 'eq': f(x).diff(x, 4) - 2*f2 + f(x) - x + sin(x), + 'sol': [Eq(f(x), x - sin(x)/4 + (C1 + C2*x)*exp(-x) + (C3 + C4*x)*exp(x))], + 'slow': True, + }, + + 'undet_13': { + 'eq': f2 + f(x).diff(x) - x**2 - 2*x, + 'sol': [Eq(f(x), C1 + x**3/3 + C2*exp(-x))], + 'slow': True, + }, + + 'undet_14': { + 'eq': f2 + f(x).diff(x) - x - sin(2*x), + 'sol': [Eq(f(x), C1 - x - sin(2*x)/5 - cos(2*x)/10 + x**2/2 + C2*exp(-x))], + 'slow': True, + }, + + 'undet_15': { + 'eq': f2 + f(x) - 4*x*sin(x), + 'sol': [Eq(f(x), (C1 - x**2)*cos(x) + (C2 + x)*sin(x))], + 'slow': True, + }, + + 'undet_16': { + 'eq': f2 + 4*f(x) - x*sin(2*x), + 'sol': [Eq(f(x), (C1 - x**2/8)*cos(2*x) + (C2 + x/16)*sin(2*x))], + 'slow': True, + }, + + 'undet_17': { + 'eq': f2 + 2*f(x).diff(x) + f(x) - x**2*exp(-x), + 'sol': [Eq(f(x), (C1 + x*(C2 + x**3/12))*exp(-x))], + 'slow': True, + }, + + 'undet_18': { + 'eq': f(x).diff(x, 3) + 3*f2 + 3*f(x).diff(x) + f(x) - 2*exp(-x) + \ + x**2*exp(-x), + 'sol': [Eq(f(x), (C1 + x*(C2 + x*(C3 - x**3/60 + x/3)))*exp(-x))], + 'slow': True, + }, + + 'undet_19': { + 'eq': f2 + 3*f(x).diff(x) + 2*f(x) - exp(-2*x) - x**2, + 'sol': [Eq(f(x), C2*exp(-x) + x**2/2 - x*Rational(3,2) + (C1 - x)*exp(-2*x) + Rational(7,4))], + 'slow': True, + }, + + 'undet_20': { + 'eq': f2 - 3*f(x).diff(x) + 2*f(x) - x*exp(-x), + 'sol': [Eq(f(x), C1*exp(x) + C2*exp(2*x) + (6*x + 5)*exp(-x)/36)], + 'slow': True, + }, + + 'undet_21': { + 'eq': f2 + f(x).diff(x) - 6*f(x) - x - exp(2*x), + 'sol': [Eq(f(x), Rational(-1, 36) - x/6 + C2*exp(-3*x) + (C1 + x/5)*exp(2*x))], + 'slow': True, + }, + + 'undet_22': { + 'eq': f2 + f(x) - sin(x) - exp(-x), + 'sol': [Eq(f(x), C2*sin(x) + (C1 - x/2)*cos(x) + exp(-x)/2)], + 'slow': True, + }, + + 'undet_23': { + 'eq': f(x).diff(x, 3) - 3*f2 + 3*f(x).diff(x) - f(x) - exp(x), + 'sol': [Eq(f(x), (C1 + x*(C2 + x*(C3 + x/6)))*exp(x))], + 'slow': True, + }, + + 'undet_24': { + 'eq': f2 + f(x) - S.Half - cos(2*x)/2, + 'sol': [Eq(f(x), S.Half - cos(2*x)/6 + C1*sin(x) + C2*cos(x))], + 'slow': True, + }, + + 'undet_25': { + 'eq': f(x).diff(x, 3) - f(x).diff(x) - exp(2*x)*(S.Half - cos(2*x)/2), + 'sol': [Eq(f(x), C1 + C2*exp(-x) + C3*exp(x) + (-21*sin(2*x) + 27*cos(2*x) + 130)*exp(2*x)/1560)], + 'slow': True, + }, + + #Note: 'undet_26' is referred in 'undet_37' + 'undet_26': { + 'eq': (f(x).diff(x, 5) + 2*f(x).diff(x, 3) + f(x).diff(x) - 2*x - + sin(x) - cos(x)), + 'sol': [Eq(f(x), C1 + x**2 + (C2 + x*(C3 - x/8))*sin(x) + (C4 + x*(C5 + x/8))*cos(x))], + 'slow': True, + }, + + 'undet_27': { + 'eq': f2 + f(x) - cos(x)/2 + cos(3*x)/2, + 'sol': [Eq(f(x), cos(3*x)/16 + C2*cos(x) + (C1 + x/4)*sin(x))], + 'slow': True, + }, + + 'undet_28': { + 'eq': f(x).diff(x) - 1, + 'sol': [Eq(f(x), C1 + x)], + 'slow': True, + }, + + # https://github.com/sympy/sympy/issues/19358 + 'undet_29': { + 'eq': f2 + f(x).diff(x) + exp(x-C1), + 'sol': [Eq(f(x), C2 + C3*exp(-x) - exp(-C1 + x)/2)], + 'slow': True, + }, + + # https://github.com/sympy/sympy/issues/18408 + 'undet_30': { + 'eq': f(x).diff(x, 3) - f(x).diff(x) - sinh(x), + 'sol': [Eq(f(x), C1 + C2*exp(-x) + C3*exp(x) + x*sinh(x)/2)], + }, + + 'undet_31': { + 'eq': f(x).diff(x, 2) - 49*f(x) - sinh(3*x), + 'sol': [Eq(f(x), C1*exp(-7*x) + C2*exp(7*x) - sinh(3*x)/40)], + }, + + 'undet_32': { + 'eq': f(x).diff(x, 3) - f(x).diff(x) - sinh(x) - exp(x), + 'sol': [Eq(f(x), C1 + C3*exp(-x) + x*sinh(x)/2 + (C2 + x/2)*exp(x))], + }, + + # https://github.com/sympy/sympy/issues/5096 + 'undet_33': { + 'eq': f(x).diff(x, x) + f(x) - x*sin(x - 2), + 'sol': [Eq(f(x), C1*sin(x) + C2*cos(x) - x**2*cos(x - 2)/4 + x*sin(x - 2)/4)], + }, + + 'undet_34': { + 'eq': f(x).diff(x, 2) + f(x) - x**4*sin(x-1), + 'sol': [ Eq(f(x), C1*sin(x) + C2*cos(x) - x**5*cos(x - 1)/10 + x**4*sin(x - 1)/4 + x**3*cos(x - 1)/2 - 3*x**2*sin(x - 1)/4 - 3*x*cos(x - 1)/4)], + }, + + 'undet_35': { + 'eq': f(x).diff(x, 2) - f(x) - exp(x - 1), + 'sol': [Eq(f(x), C2*exp(-x) + (C1 + x*exp(-1)/2)*exp(x))], + }, + + 'undet_36': { + 'eq': f(x).diff(x, 2)+f(x)-(sin(x-2)+1), + 'sol': [Eq(f(x), C1*sin(x) + C2*cos(x) - x*cos(x - 2)/2 + 1)], + }, + + # Equivalent to example_name 'undet_26'. + # This previously failed because the algorithm for undetermined coefficients + # didn't know to multiply exp(I*x) by sufficient x because it is linearly + # dependent on sin(x) and cos(x). + 'undet_37': { + 'eq': f(x).diff(x, 5) + 2*f(x).diff(x, 3) + f(x).diff(x) - 2*x - exp(I*x), + 'sol': [Eq(f(x), C1 + x**2*(I*exp(I*x)/8 + 1) + (C2 + C3*x)*sin(x) + (C4 + C5*x)*cos(x))], + }, + + # https://github.com/sympy/sympy/issues/12623 + 'undet_38': { + 'eq': Eq( u(t).diff(t,t) + R /L*u(t).diff(t) + 1/(L*C)*u(t), alpha), + 'sol': [Eq(u(t), C*L*alpha + C2*exp(-t*(R + sqrt(C*R**2 - 4*L)/sqrt(C))/(2*L)) + + C1*exp(t*(-R + sqrt(C*R**2 - 4*L)/sqrt(C))/(2*L)))], + 'func': u(t) + }, + + 'undet_39': { + 'eq': Eq( L*C*u(t).diff(t,t) + R*C*u(t).diff(t) + u(t), E_0*exp(I*omega*t) ), + 'sol': [Eq(u(t), C2*exp(-t*(R + sqrt(C*R**2 - 4*L)/sqrt(C))/(2*L)) + + C1*exp(t*(-R + sqrt(C*R**2 - 4*L)/sqrt(C))/(2*L)) + - E_0*exp(I*omega*t)/(C*L*omega**2 - I*C*R*omega - 1))], + 'func': u(t), + }, + + # https://github.com/sympy/sympy/issues/6879 + 'undet_40': { + 'eq': Eq(Derivative(f(x), x, 2) - 2*Derivative(f(x), x) + f(x), sin(x)), + 'sol': [Eq(f(x), (C1 + C2*x)*exp(x) + cos(x)/2)], + }, + } + } + + +@_add_example_keys +def _get_examples_ode_sol_separable(): + # test_separable1-5 are from Ordinary Differential Equations, Tenenbaum and + # Pollard, pg. 55 + t,a = symbols('a,t') + m = 96 + g = 9.8 + k = .2 + f1 = g * m + v = Function('v') + return { + 'hint': "separable", + 'func': f(x), + 'examples':{ + 'separable_01': { + 'eq': f(x).diff(x) - f(x), + 'sol': [Eq(f(x), C1*exp(x))], + }, + + 'separable_02': { + 'eq': x*f(x).diff(x) - f(x), + 'sol': [Eq(f(x), C1*x)], + }, + + 'separable_03': { + 'eq': f(x).diff(x) + sin(x), + 'sol': [Eq(f(x), C1 + cos(x))], + }, + + 'separable_04': { + 'eq': f(x)**2 + 1 - (x**2 + 1)*f(x).diff(x), + 'sol': [Eq(f(x), tan(C1 + atan(x)))], + }, + + 'separable_05': { + 'eq': f(x).diff(x)/tan(x) - f(x) - 2, + 'sol': [Eq(f(x), C1/cos(x) - 2)], + }, + + 'separable_06': { + 'eq': f(x).diff(x) * (1 - sin(f(x))) - 1, + 'sol': [Eq(-x + f(x) + cos(f(x)), C1)], + }, + + 'separable_07': { + 'eq': f(x)*x**2*f(x).diff(x) - f(x)**3 - 2*x**2*f(x).diff(x), + 'sol': [Eq(f(x), (-x - sqrt(x*(4*C1*x + x - 4)))/(C1*x - 1)/2), + Eq(f(x), (-x + sqrt(x*(4*C1*x + x - 4)))/(C1*x - 1)/2)], + 'slow': True, + }, + + 'separable_08': { + 'eq': f(x)**2 - 1 - (2*f(x) + x*f(x))*f(x).diff(x), + 'sol': [Eq(f(x), -sqrt(C1*x**2 + 4*C1*x + 4*C1 + 1)), + Eq(f(x), sqrt(C1*x**2 + 4*C1*x + 4*C1 + 1))], + 'slow': True, + }, + + 'separable_09': { + 'eq': x*log(x)*f(x).diff(x) + sqrt(1 + f(x)**2), + 'sol': [Eq(f(x), sinh(C1 - log(log(x))))], #One more solution is f(x)=I + 'slow': True, + 'checkodesol_XFAIL': True, + }, + + 'separable_10': { + 'eq': exp(x + 1)*tan(f(x)) + cos(f(x))*f(x).diff(x), + 'sol': [Eq(E*exp(x) + log(cos(f(x)) - 1)/2 - log(cos(f(x)) + 1)/2 + cos(f(x)), C1)], + 'slow': True, + }, + + 'separable_11': { + 'eq': (x*cos(f(x)) + x**2*sin(f(x))*f(x).diff(x) - a**2*sin(f(x))*f(x).diff(x)), + 'sol': [ + Eq(f(x), -acos(C1*sqrt(-a**2 + x**2)) + 2*pi), + Eq(f(x), acos(C1*sqrt(-a**2 + x**2))) + ], + 'slow': True, + }, + + 'separable_12': { + 'eq': f(x).diff(x) - f(x)*tan(x), + 'sol': [Eq(f(x), C1/cos(x))], + }, + + 'separable_13': { + 'eq': (x - 1)*cos(f(x))*f(x).diff(x) - 2*x*sin(f(x)), + 'sol': [ + Eq(f(x), pi - asin(C1*(x**2 - 2*x + 1)*exp(2*x))), + Eq(f(x), asin(C1*(x**2 - 2*x + 1)*exp(2*x))) + ], + }, + + 'separable_14': { + 'eq': f(x).diff(x) - f(x)*log(f(x))/tan(x), + 'sol': [Eq(f(x), exp(C1*sin(x)))], + }, + + 'separable_15': { + 'eq': x*f(x).diff(x) + (1 + f(x)**2)*atan(f(x)), + 'sol': [Eq(f(x), tan(C1/x))], #Two more solutions are f(x)=0 and f(x)=I + 'slow': True, + 'checkodesol_XFAIL': True, + }, + + 'separable_16': { + 'eq': f(x).diff(x) + x*(f(x) + 1), + 'sol': [Eq(f(x), -1 + C1*exp(-x**2/2))], + }, + + 'separable_17': { + 'eq': exp(f(x)**2)*(x**2 + 2*x + 1) + (x*f(x) + f(x))*f(x).diff(x), + 'sol': [ + Eq(f(x), -sqrt(log(1/(C1 + x**2 + 2*x)))), + Eq(f(x), sqrt(log(1/(C1 + x**2 + 2*x)))) + ], + }, + + 'separable_18': { + 'eq': f(x).diff(x) + f(x), + 'sol': [Eq(f(x), C1*exp(-x))], + }, + + 'separable_19': { + 'eq': sin(x)*cos(2*f(x)) + cos(x)*sin(2*f(x))*f(x).diff(x), + 'sol': [Eq(f(x), pi - acos(C1/cos(x)**2)/2), Eq(f(x), acos(C1/cos(x)**2)/2)], + }, + + 'separable_20': { + 'eq': (1 - x)*f(x).diff(x) - x*(f(x) + 1), + 'sol': [Eq(f(x), (C1*exp(-x) - x + 1)/(x - 1))], + }, + + 'separable_21': { + 'eq': f(x)*diff(f(x), x) + x - 3*x*f(x)**2, + 'sol': [Eq(f(x), -sqrt(3)*sqrt(C1*exp(3*x**2) + 1)/3), + Eq(f(x), sqrt(3)*sqrt(C1*exp(3*x**2) + 1)/3)], + }, + + 'separable_22': { + 'eq': f(x).diff(x) - exp(x + f(x)), + 'sol': [Eq(f(x), log(-1/(C1 + exp(x))))], + 'XFAIL': ['lie_group'] #It shows 'NoneType' object is not subscriptable for lie_group. + }, + + # https://github.com/sympy/sympy/issues/7081 + 'separable_23': { + 'eq': x*(f(x).diff(x)) + 1 - f(x)**2, + 'sol': [Eq(f(x), (-C1 - x**2)/(-C1 + x**2))], + }, + + # https://github.com/sympy/sympy/issues/10379 + 'separable_24': { + 'eq': f(t).diff(t)-(1-51.05*y*f(t)), + 'sol': [Eq(f(t), (0.019588638589618023*exp(y*(C1 - 51.049999999999997*t)) + 0.019588638589618023)/y)], + 'func': f(t), + }, + + # https://github.com/sympy/sympy/issues/15999 + 'separable_25': { + 'eq': f(x).diff(x) - C1*f(x), + 'sol': [Eq(f(x), C2*exp(C1*x))], + }, + + 'separable_26': { + 'eq': f1 - k * (v(t) ** 2) - m * Derivative(v(t)), + 'sol': [Eq(v(t), -68.585712797928991/tanh(C1 - 0.14288690166235204*t))], + 'func': v(t), + 'checkodesol_XFAIL': True, + }, + + #https://github.com/sympy/sympy/issues/22155 + 'separable_27': { + 'eq': f(x).diff(x) - exp(f(x) - x), + 'sol': [Eq(f(x), log(-exp(x)/(C1*exp(x) - 1)))], + } + } + } + + +@_add_example_keys +def _get_examples_ode_sol_1st_exact(): + # Type: Exact differential equation, p(x,f) + q(x,f)*f' == 0, + # where dp/df == dq/dx + ''' + Example 7 is an exact equation that fails under the exact engine. It is caught + by first order homogeneous albeit with a much contorted solution. The + exact engine fails because of a poorly simplified integral of q(0,y)dy, + where q is the function multiplying f'. The solutions should be + Eq(sqrt(x**2+f(x)**2)**3+y**3, C1). The equation below is + equivalent, but it is so complex that checkodesol fails, and takes a long + time to do so. + ''' + return { + 'hint': "1st_exact", + 'func': f(x), + 'examples':{ + '1st_exact_01': { + 'eq': sin(x)*cos(f(x)) + cos(x)*sin(f(x))*f(x).diff(x), + 'sol': [Eq(f(x), -acos(C1/cos(x)) + 2*pi), Eq(f(x), acos(C1/cos(x)))], + 'slow': True, + }, + + '1st_exact_02': { + 'eq': (2*x*f(x) + 1)/f(x) + (f(x) - x)/f(x)**2*f(x).diff(x), + 'sol': [Eq(f(x), exp(C1 - x**2 + LambertW(-x*exp(-C1 + x**2))))], + 'XFAIL': ['lie_group'], #It shows dsolve raises an exception: List index out of range for lie_group + 'slow': True, + 'checkodesol_XFAIL':True + }, + + '1st_exact_03': { + 'eq': 2*x + f(x)*cos(x) + (2*f(x) + sin(x) - sin(f(x)))*f(x).diff(x), + 'sol': [Eq(f(x)*sin(x) + cos(f(x)) + x**2 + f(x)**2, C1)], + 'XFAIL': ['lie_group'], #It goes into infinite loop for lie_group. + 'slow': True, + }, + + '1st_exact_04': { + 'eq': cos(f(x)) - (x*sin(f(x)) - f(x)**2)*f(x).diff(x), + 'sol': [Eq(x*cos(f(x)) + f(x)**3/3, C1)], + 'slow': True, + }, + + '1st_exact_05': { + 'eq': 2*x*f(x) + (x**2 + f(x)**2)*f(x).diff(x), + 'sol': [Eq(x**2*f(x) + f(x)**3/3, C1)], + 'slow': True, + 'simplify_flag':False + }, + + # This was from issue: https://github.com/sympy/sympy/issues/11290 + '1st_exact_06': { + 'eq': cos(f(x)) - (x*sin(f(x)) - f(x)**2)*f(x).diff(x), + 'sol': [Eq(x*cos(f(x)) + f(x)**3/3, C1)], + 'simplify_flag':False + }, + + '1st_exact_07': { + 'eq': x*sqrt(x**2 + f(x)**2) - (x**2*f(x)/(f(x) - sqrt(x**2 + f(x)**2)))*f(x).diff(x), + 'sol': [Eq(log(x), + C1 - 9*sqrt(1 + f(x)**2/x**2)*asinh(f(x)/x)/(-27*f(x)/x + + 27*sqrt(1 + f(x)**2/x**2)) - 9*sqrt(1 + f(x)**2/x**2)* + log(1 - sqrt(1 + f(x)**2/x**2)*f(x)/x + 2*f(x)**2/x**2)/ + (-27*f(x)/x + 27*sqrt(1 + f(x)**2/x**2)) + + 9*asinh(f(x)/x)*f(x)/(x*(-27*f(x)/x + 27*sqrt(1 + f(x)**2/x**2))) + + 9*f(x)*log(1 - sqrt(1 + f(x)**2/x**2)*f(x)/x + 2*f(x)**2/x**2)/ + (x*(-27*f(x)/x + 27*sqrt(1 + f(x)**2/x**2))))], + 'slow': True, + 'dsolve_too_slow':True + }, + + # Type: a(x)f'(x)+b(x)*f(x)+c(x)=0 + '1st_exact_08': { + 'eq': Eq(x**2*f(x).diff(x) + 3*x*f(x) - sin(x)/x, 0), + 'sol': [Eq(f(x), (C1 - cos(x))/x**3)], + }, + + # these examples are from test_exact_enhancement + '1st_exact_09': { + 'eq': f(x)/x**2 + ((f(x)*x - 1)/x)*f(x).diff(x), + 'sol': [Eq(f(x), (i*sqrt(C1*x**2 + 1) + 1)/x) for i in (-1, 1)], + }, + + '1st_exact_10': { + 'eq': (x*f(x) - 1) + f(x).diff(x)*(x**2 - x*f(x)), + 'sol': [Eq(f(x), x - sqrt(C1 + x**2 - 2*log(x))), Eq(f(x), x + sqrt(C1 + x**2 - 2*log(x)))], + }, + + '1st_exact_11': { + 'eq': (x + 2)*sin(f(x)) + f(x).diff(x)*x*cos(f(x)), + 'sol': [Eq(f(x), -asin(C1*exp(-x)/x**2) + pi), Eq(f(x), asin(C1*exp(-x)/x**2))], + }, + } + } + + +@_add_example_keys +def _get_examples_ode_sol_nth_linear_var_of_parameters(): + g = exp(-x) + f2 = f(x).diff(x, 2) + c = 3*f(x).diff(x, 3) + 5*f2 + f(x).diff(x) - f(x) - x + return { + 'hint': "nth_linear_constant_coeff_variation_of_parameters", + 'func': f(x), + 'examples':{ + 'var_of_parameters_01': { + 'eq': c - x*g, + 'sol': [Eq(f(x), C3*exp(x/3) - x + (C1 + x*(C2 - x**2/24 - 3*x/32))*exp(-x) - 1)], + 'slow': True, + }, + + 'var_of_parameters_02': { + 'eq': c - g, + 'sol': [Eq(f(x), C3*exp(x/3) - x + (C1 + x*(C2 - x/8))*exp(-x) - 1)], + 'slow': True, + }, + + 'var_of_parameters_03': { + 'eq': f(x).diff(x) - 1, + 'sol': [Eq(f(x), C1 + x)], + 'slow': True, + }, + + 'var_of_parameters_04': { + 'eq': f2 + 3*f(x).diff(x) + 2*f(x) - 4, + 'sol': [Eq(f(x), C1*exp(-2*x) + C2*exp(-x) + 2)], + 'slow': True, + }, + + 'var_of_parameters_05': { + 'eq': f2 + 3*f(x).diff(x) + 2*f(x) - 12*exp(x), + 'sol': [Eq(f(x), C1*exp(-2*x) + C2*exp(-x) + 2*exp(x))], + 'slow': True, + }, + + 'var_of_parameters_06': { + 'eq': f2 - 2*f(x).diff(x) - 8*f(x) - 9*x*exp(x) - 10*exp(-x), + 'sol': [Eq(f(x), -x*exp(x) - 2*exp(-x) + C1*exp(-2*x) + C2*exp(4*x))], + 'slow': True, + }, + + 'var_of_parameters_07': { + 'eq': f2 + 2*f(x).diff(x) + f(x) - x**2*exp(-x), + 'sol': [Eq(f(x), (C1 + x*(C2 + x**3/12))*exp(-x))], + 'slow': True, + }, + + 'var_of_parameters_08': { + 'eq': f2 - 3*f(x).diff(x) + 2*f(x) - x*exp(-x), + 'sol': [Eq(f(x), C1*exp(x) + C2*exp(2*x) + (6*x + 5)*exp(-x)/36)], + 'slow': True, + }, + + 'var_of_parameters_09': { + 'eq': f(x).diff(x, 3) - 3*f2 + 3*f(x).diff(x) - f(x) - exp(x), + 'sol': [Eq(f(x), (C1 + x*(C2 + x*(C3 + x/6)))*exp(x))], + 'slow': True, + }, + + 'var_of_parameters_10': { + 'eq': f2 + 2*f(x).diff(x) + f(x) - exp(-x)/x, + 'sol': [Eq(f(x), (C1 + x*(C2 + log(x)))*exp(-x))], + 'slow': True, + }, + + 'var_of_parameters_11': { + 'eq': f2 + f(x) - 1/sin(x)*1/cos(x), + 'sol': [Eq(f(x), (C1 + log(sin(x) - 1)/2 - log(sin(x) + 1)/2 + )*cos(x) + (C2 + log(cos(x) - 1)/2 - log(cos(x) + 1)/2)*sin(x))], + 'slow': True, + }, + + 'var_of_parameters_12': { + 'eq': f(x).diff(x, 4) - 1/x, + 'sol': [Eq(f(x), C1 + C2*x + C3*x**2 + x**3*(C4 + log(x)/6))], + 'slow': True, + }, + + # These were from issue: https://github.com/sympy/sympy/issues/15996 + 'var_of_parameters_13': { + 'eq': f(x).diff(x, 5) + 2*f(x).diff(x, 3) + f(x).diff(x) - 2*x - exp(I*x), + 'sol': [Eq(f(x), C1 + x**2 + (C2 + x*(C3 - x/8 + 3*exp(I*x)/2 + 3*exp(-I*x)/2) + 5*exp(2*I*x)/16 + 2*I*exp(I*x) - 2*I*exp(-I*x))*sin(x) + (C4 + x*(C5 + I*x/8 + 3*I*exp(I*x)/2 - 3*I*exp(-I*x)/2) + + 5*I*exp(2*I*x)/16 - 2*exp(I*x) - 2*exp(-I*x))*cos(x) - I*exp(I*x))], + }, + + 'var_of_parameters_14': { + 'eq': f(x).diff(x, 5) + 2*f(x).diff(x, 3) + f(x).diff(x) - exp(I*x), + 'sol': [Eq(f(x), C1 + (C2 + x*(C3 - x/8) + 5*exp(2*I*x)/16)*sin(x) + (C4 + x*(C5 + I*x/8) + 5*I*exp(2*I*x)/16)*cos(x) - I*exp(I*x))], + }, + + # https://github.com/sympy/sympy/issues/14395 + 'var_of_parameters_15': { + 'eq': Derivative(f(x), x, x) + 9*f(x) - sec(x), + 'sol': [Eq(f(x), (C1 - x/3 + sin(2*x)/3)*sin(3*x) + (C2 + log(cos(x)) + - 2*log(cos(x)**2)/3 + 2*cos(x)**2/3)*cos(3*x))], + 'slow': True, + }, + } + } + + +@_add_example_keys +def _get_examples_ode_sol_2nd_linear_bessel(): + return { + 'hint': "2nd_linear_bessel", + 'func': f(x), + 'examples':{ + '2nd_lin_bessel_01': { + 'eq': x**2*(f(x).diff(x, 2)) + x*(f(x).diff(x)) + (x**2 - 4)*f(x), + 'sol': [Eq(f(x), C1*besselj(2, x) + C2*bessely(2, x))], + }, + + '2nd_lin_bessel_02': { + 'eq': x**2*(f(x).diff(x, 2)) + x*(f(x).diff(x)) + (x**2 +25)*f(x), + 'sol': [Eq(f(x), C1*besselj(5*I, x) + C2*bessely(5*I, x))], + }, + + '2nd_lin_bessel_03': { + 'eq': x**2*(f(x).diff(x, 2)) + x*(f(x).diff(x)) + (x**2)*f(x), + 'sol': [Eq(f(x), C1*besselj(0, x) + C2*bessely(0, x))], + }, + + '2nd_lin_bessel_04': { + 'eq': x**2*(f(x).diff(x, 2)) + x*(f(x).diff(x)) + (81*x**2 -S(1)/9)*f(x), + 'sol': [Eq(f(x), C1*besselj(S(1)/3, 9*x) + C2*bessely(S(1)/3, 9*x))], + }, + + '2nd_lin_bessel_05': { + 'eq': x**2*(f(x).diff(x, 2)) + x*(f(x).diff(x)) + (x**4 - 4)*f(x), + 'sol': [Eq(f(x), C1*besselj(1, x**2/2) + C2*bessely(1, x**2/2))], + }, + + '2nd_lin_bessel_06': { + 'eq': x**2*(f(x).diff(x, 2)) + 2*x*(f(x).diff(x)) + (x**4 - 4)*f(x), + 'sol': [Eq(f(x), (C1*besselj(sqrt(17)/4, x**2/2) + C2*bessely(sqrt(17)/4, x**2/2))/sqrt(x))], + }, + + '2nd_lin_bessel_07': { + 'eq': x**2*(f(x).diff(x, 2)) + x*(f(x).diff(x)) + (x**2 - S(1)/4)*f(x), + 'sol': [Eq(f(x), C1*besselj(S(1)/2, x) + C2*bessely(S(1)/2, x))], + }, + + '2nd_lin_bessel_08': { + 'eq': x**2*(f(x).diff(x, 2)) - 3*x*(f(x).diff(x)) + (4*x + 4)*f(x), + 'sol': [Eq(f(x), x**2*(C1*besselj(0, 4*sqrt(x)) + C2*bessely(0, 4*sqrt(x))))], + }, + + '2nd_lin_bessel_09': { + 'eq': x*(f(x).diff(x, 2)) - f(x).diff(x) + 4*x**3*f(x), + 'sol': [Eq(f(x), x*(C1*besselj(S(1)/2, x**2) + C2*bessely(S(1)/2, x**2)))], + }, + + '2nd_lin_bessel_10': { + 'eq': (x-2)**2*(f(x).diff(x, 2)) - (x-2)*f(x).diff(x) + 4*(x-2)**2*f(x), + 'sol': [Eq(f(x), (x - 2)*(C1*besselj(1, 2*x - 4) + C2*bessely(1, 2*x - 4)))], + }, + + # https://github.com/sympy/sympy/issues/4414 + '2nd_lin_bessel_11': { + 'eq': f(x).diff(x, x) + 2/x*f(x).diff(x) + f(x), + 'sol': [Eq(f(x), (C1*besselj(S(1)/2, x) + C2*bessely(S(1)/2, x))/sqrt(x))], + }, + } + } + + +@_add_example_keys +def _get_examples_ode_sol_2nd_2F1_hypergeometric(): + return { + 'hint': "2nd_hypergeometric", + 'func': f(x), + 'examples':{ + '2nd_2F1_hyper_01': { + 'eq': x*(x-1)*f(x).diff(x, 2) + (S(3)/2 -2*x)*f(x).diff(x) + 2*f(x), + 'sol': [Eq(f(x), C1*x**(S(5)/2)*hyper((S(3)/2, S(1)/2), (S(7)/2,), x) + C2*hyper((-1, -2), (-S(3)/2,), x))], + }, + + '2nd_2F1_hyper_02': { + 'eq': x*(x-1)*f(x).diff(x, 2) + (S(7)/2*x)*f(x).diff(x) + f(x), + 'sol': [Eq(f(x), (C1*(1 - x)**(S(5)/2)*hyper((S(1)/2, 2), (S(7)/2,), 1 - x) + + C2*hyper((-S(1)/2, -2), (-S(3)/2,), 1 - x))/(x - 1)**(S(5)/2))], + }, + + '2nd_2F1_hyper_03': { + 'eq': x*(x-1)*f(x).diff(x, 2) + (S(3)+ S(7)/2*x)*f(x).diff(x) + f(x), + 'sol': [Eq(f(x), (C1*(1 - x)**(S(11)/2)*hyper((S(1)/2, 2), (S(13)/2,), 1 - x) + + C2*hyper((-S(7)/2, -5), (-S(9)/2,), 1 - x))/(x - 1)**(S(11)/2))], + }, + + '2nd_2F1_hyper_04': { + 'eq': -x**(S(5)/7)*(-416*x**(S(9)/7)/9 - 2385*x**(S(5)/7)/49 + S(298)*x/3)*f(x)/(196*(-x**(S(6)/7) + + x)**2*(x**(S(6)/7) + x)**2) + Derivative(f(x), (x, 2)), + 'sol': [Eq(f(x), x**(S(45)/98)*(C1*x**(S(4)/49)*hyper((S(1)/3, -S(1)/2), (S(9)/7,), x**(S(2)/7)) + + C2*hyper((S(1)/21, -S(11)/14), (S(5)/7,), x**(S(2)/7)))/(x**(S(2)/7) - 1)**(S(19)/84))], + 'checkodesol_XFAIL':True, + }, + } + } + +@_add_example_keys +def _get_examples_ode_sol_2nd_nonlinear_autonomous_conserved(): + return { + 'hint': "2nd_nonlinear_autonomous_conserved", + 'func': f(x), + 'examples': { + '2nd_nonlinear_autonomous_conserved_01': { + 'eq': f(x).diff(x, 2) + exp(f(x)) + log(f(x)), + 'sol': [ + Eq(Integral(1/sqrt(C1 - 2*_u*log(_u) + 2*_u - 2*exp(_u)), (_u, f(x))), C2 + x), + Eq(Integral(1/sqrt(C1 - 2*_u*log(_u) + 2*_u - 2*exp(_u)), (_u, f(x))), C2 - x) + ], + 'simplify_flag': False, + }, + '2nd_nonlinear_autonomous_conserved_02': { + 'eq': f(x).diff(x, 2) + cbrt(f(x)) + 1/f(x), + 'sol': [ + Eq(sqrt(2)*Integral(1/sqrt(2*C1 - 3*_u**Rational(4, 3) - 4*log(_u)), (_u, f(x))), C2 + x), + Eq(sqrt(2)*Integral(1/sqrt(2*C1 - 3*_u**Rational(4, 3) - 4*log(_u)), (_u, f(x))), C2 - x) + ], + 'simplify_flag': False, + }, + '2nd_nonlinear_autonomous_conserved_03': { + 'eq': f(x).diff(x, 2) + sin(f(x)), + 'sol': [ + Eq(Integral(1/sqrt(C1 + 2*cos(_u)), (_u, f(x))), C2 + x), + Eq(Integral(1/sqrt(C1 + 2*cos(_u)), (_u, f(x))), C2 - x) + ], + 'simplify_flag': False, + }, + '2nd_nonlinear_autonomous_conserved_04': { + 'eq': f(x).diff(x, 2) + cosh(f(x)), + 'sol': [ + Eq(Integral(1/sqrt(C1 - 2*sinh(_u)), (_u, f(x))), C2 + x), + Eq(Integral(1/sqrt(C1 - 2*sinh(_u)), (_u, f(x))), C2 - x) + ], + 'simplify_flag': False, + }, + '2nd_nonlinear_autonomous_conserved_05': { + 'eq': f(x).diff(x, 2) + asin(f(x)), + 'sol': [ + Eq(Integral(1/sqrt(C1 - 2*_u*asin(_u) - 2*sqrt(1 - _u**2)), (_u, f(x))), C2 + x), + Eq(Integral(1/sqrt(C1 - 2*_u*asin(_u) - 2*sqrt(1 - _u**2)), (_u, f(x))), C2 - x) + ], + 'simplify_flag': False, + 'XFAIL': ['2nd_nonlinear_autonomous_conserved_Integral'] + } + } + } + + +@_add_example_keys +def _get_examples_ode_sol_separable_reduced(): + df = f(x).diff(x) + return { + 'hint': "separable_reduced", + 'func': f(x), + 'examples':{ + 'separable_reduced_01': { + 'eq': x* df + f(x)* (1 / (x**2*f(x) - 1)), + 'sol': [Eq(log(x**2*f(x))/3 + log(x**2*f(x) - Rational(3, 2))/6, C1 + log(x))], + 'simplify_flag': False, + 'XFAIL': ['lie_group'], #It hangs. + }, + + #Note: 'separable_reduced_02' is referred in 'separable_reduced_11' + 'separable_reduced_02': { + 'eq': f(x).diff(x) + (f(x) / (x**4*f(x) - x)), + 'sol': [Eq(log(x**3*f(x))/4 + log(x**3*f(x) - Rational(4,3))/12, C1 + log(x))], + 'simplify_flag': False, + 'checkodesol_XFAIL':True, #It hangs for this. + }, + + 'separable_reduced_03': { + 'eq': x*df + f(x)*(x**2*f(x)), + 'sol': [Eq(log(x**2*f(x))/2 - log(x**2*f(x) - 2)/2, C1 + log(x))], + 'simplify_flag': False, + }, + + 'separable_reduced_04': { + 'eq': Eq(f(x).diff(x) + f(x)/x * (1 + (x**(S(2)/3)*f(x))**2), 0), + 'sol': [Eq(-3*log(x**(S(2)/3)*f(x)) + 3*log(3*x**(S(4)/3)*f(x)**2 + 1)/2, C1 + log(x))], + 'simplify_flag': False, + }, + + 'separable_reduced_05': { + 'eq': Eq(f(x).diff(x) + f(x)/x * (1 + (x*f(x))**2), 0), + 'sol': [Eq(f(x), -sqrt(2)*sqrt(1/(C1 + log(x)))/(2*x)),\ + Eq(f(x), sqrt(2)*sqrt(1/(C1 + log(x)))/(2*x))], + }, + + 'separable_reduced_06': { + 'eq': Eq(f(x).diff(x) + (x**4*f(x)**2 + x**2*f(x))*f(x)/(x*(x**6*f(x)**3 + x**4*f(x)**2)), 0), + 'sol': [Eq(f(x), C1 + 1/(2*x**2))], + }, + + 'separable_reduced_07': { + 'eq': Eq(f(x).diff(x) + (f(x)**2)*f(x)/(x), 0), + 'sol': [ + Eq(f(x), -sqrt(2)*sqrt(1/(C1 + log(x)))/2), + Eq(f(x), sqrt(2)*sqrt(1/(C1 + log(x)))/2) + ], + }, + + 'separable_reduced_08': { + 'eq': Eq(f(x).diff(x) + (f(x)+3)*f(x)/(x*(f(x)+2)), 0), + 'sol': [Eq(-log(f(x) + 3)/3 - 2*log(f(x))/3, C1 + log(x))], + 'simplify_flag': False, + 'XFAIL': ['lie_group'], #It hangs. + }, + + 'separable_reduced_09': { + 'eq': Eq(f(x).diff(x) + (f(x)+3)*f(x)/x, 0), + 'sol': [Eq(f(x), 3/(C1*x**3 - 1))], + }, + + 'separable_reduced_10': { + 'eq': Eq(f(x).diff(x) + (f(x)**2+f(x))*f(x)/(x), 0), + 'sol': [Eq(- log(x) - log(f(x) + 1) + log(f(x)) + 1/f(x), C1)], + 'XFAIL': ['lie_group'],#No algorithms are implemented to solve equation -C1 + x*(_y + 1)*exp(-1/_y)/_y + + }, + + # Equivalent to example_name 'separable_reduced_02'. Only difference is testing with simplify=True + 'separable_reduced_11': { + 'eq': f(x).diff(x) + (f(x) / (x**4*f(x) - x)), + 'sol': [Eq(f(x), -sqrt(2)*sqrt(3*3**Rational(1,3)*(sqrt((3*exp(12*C1) + x**(-12))*exp(24*C1)) - exp(12*C1)/x**6)**Rational(1,3) +- 3*3**Rational(2,3)*exp(12*C1)/(sqrt((3*exp(12*C1) + x**(-12))*exp(24*C1)) - exp(12*C1)/x**6)**Rational(1,3) + 2/x**6)/6 +- sqrt(2)*sqrt(-3*3**Rational(1,3)*(sqrt((3*exp(12*C1) + x**(-12))*exp(24*C1)) - exp(12*C1)/x**6)**Rational(1,3) ++ 3*3**Rational(2,3)*exp(12*C1)/(sqrt((3*exp(12*C1) + x**(-12))*exp(24*C1)) - exp(12*C1)/x**6)**Rational(1,3) + 4/x**6 +- 4*sqrt(2)/(x**9*sqrt(3*3**Rational(1,3)*(sqrt((3*exp(12*C1) + x**(-12))*exp(24*C1)) - exp(12*C1)/x**6)**Rational(1,3) +- 3*3**Rational(2,3)*exp(12*C1)/(sqrt((3*exp(12*C1) + x**(-12))*exp(24*C1)) - exp(12*C1)/x**6)**Rational(1,3) + 2/x**6)))/6 + 1/(3*x**3)), +Eq(f(x), -sqrt(2)*sqrt(3*3**Rational(1,3)*(sqrt((3*exp(12*C1) + x**(-12))*exp(24*C1)) - exp(12*C1)/x**6)**Rational(1,3) +- 3*3**Rational(2,3)*exp(12*C1)/(sqrt((3*exp(12*C1) + x**(-12))*exp(24*C1)) - exp(12*C1)/x**6)**Rational(1,3) + 2/x**6)/6 ++ sqrt(2)*sqrt(-3*3**Rational(1,3)*(sqrt((3*exp(12*C1) + x**(-12))*exp(24*C1)) - exp(12*C1)/x**6)**Rational(1,3) ++ 3*3**Rational(2,3)*exp(12*C1)/(sqrt((3*exp(12*C1) + x**(-12))*exp(24*C1)) - exp(12*C1)/x**6)**Rational(1,3) + 4/x**6 +- 4*sqrt(2)/(x**9*sqrt(3*3**Rational(1,3)*(sqrt((3*exp(12*C1) + x**(-12))*exp(24*C1)) - exp(12*C1)/x**6)**Rational(1,3) +- 3*3**Rational(2,3)*exp(12*C1)/(sqrt((3*exp(12*C1) + x**(-12))*exp(24*C1)) - exp(12*C1)/x**6)**Rational(1,3) + 2/x**6)))/6 + 1/(3*x**3)), +Eq(f(x), sqrt(2)*sqrt(3*3**Rational(1,3)*(sqrt((3*exp(12*C1) + x**(-12))*exp(24*C1)) - exp(12*C1)/x**6)**Rational(1,3) +- 3*3**Rational(2,3)*exp(12*C1)/(sqrt((3*exp(12*C1) + x**(-12))*exp(24*C1)) - exp(12*C1)/x**6)**Rational(1,3) + 2/x**6)/6 +- sqrt(2)*sqrt(-3*3**Rational(1,3)*(sqrt((3*exp(12*C1) + x**(-12))*exp(24*C1)) - exp(12*C1)/x**6)**Rational(1,3) ++ 3*3**Rational(2,3)*exp(12*C1)/(sqrt((3*exp(12*C1) + x**(-12))*exp(24*C1)) - exp(12*C1)/x**6)**Rational(1,3) ++ 4/x**6 + 4*sqrt(2)/(x**9*sqrt(3*3**Rational(1,3)*(sqrt((3*exp(12*C1) + x**(-12))*exp(24*C1)) - exp(12*C1)/x**6)**Rational(1,3) +- 3*3**Rational(2,3)*exp(12*C1)/(sqrt((3*exp(12*C1) + x**(-12))*exp(24*C1)) - exp(12*C1)/x**6)**Rational(1,3) + 2/x**6)))/6 + 1/(3*x**3)), +Eq(f(x), sqrt(2)*sqrt(3*3**Rational(1,3)*(sqrt((3*exp(12*C1) + x**(-12))*exp(24*C1)) - exp(12*C1)/x**6)**Rational(1,3) +- 3*3**Rational(2,3)*exp(12*C1)/(sqrt((3*exp(12*C1) + x**(-12))*exp(24*C1)) - exp(12*C1)/x**6)**Rational(1,3) + 2/x**6)/6 ++ sqrt(2)*sqrt(-3*3**Rational(1,3)*(sqrt((3*exp(12*C1) + x**(-12))*exp(24*C1)) - exp(12*C1)/x**6)**Rational(1,3) + 3*3**Rational(2,3)*exp(12*C1)/(sqrt((3*exp(12*C1) ++ x**(-12))*exp(24*C1)) - exp(12*C1)/x**6)**Rational(1,3) + 4/x**6 + 4*sqrt(2)/(x**9*sqrt(3*3**Rational(1,3)*(sqrt((3*exp(12*C1) + x**(-12))*exp(24*C1)) +- exp(12*C1)/x**6)**Rational(1,3) - 3*3**Rational(2,3)*exp(12*C1)/(sqrt((3*exp(12*C1) + x**(-12))*exp(24*C1)) - exp(12*C1)/x**6)**Rational(1,3) + 2/x**6)))/6 + 1/(3*x**3))], + 'checkodesol_XFAIL':True, #It hangs for this. + 'slow': True, + }, + + #These were from issue: https://github.com/sympy/sympy/issues/6247 + 'separable_reduced_12': { + 'eq': x**2*f(x)**2 + x*Derivative(f(x), x), + 'sol': [Eq(f(x), 2*C1/(C1*x**2 - 1))], + }, + } + } + + +@_add_example_keys +def _get_examples_ode_sol_lie_group(): + a, b, c = symbols("a b c") + return { + 'hint': "lie_group", + 'func': f(x), + 'examples':{ + #Example 1-4 and 19-20 were from issue: https://github.com/sympy/sympy/issues/17322 + 'lie_group_01': { + 'eq': x*f(x).diff(x)*(f(x)+4) + (f(x)**2) -2*f(x)-2*x, + 'sol': [], + 'dsolve_too_slow': True, + 'checkodesol_too_slow': True, + }, + + 'lie_group_02': { + 'eq': x*f(x).diff(x)*(f(x)+4) + (f(x)**2) -2*f(x)-2*x, + 'sol': [], + 'dsolve_too_slow': True, + }, + + 'lie_group_03': { + 'eq': Eq(x**7*Derivative(f(x), x) + 5*x**3*f(x)**2 - (2*x**2 + 2)*f(x)**3, 0), + 'sol': [], + 'dsolve_too_slow': True, + }, + + 'lie_group_04': { + 'eq': f(x).diff(x) - (f(x) - x*log(x))**2/x**2 + log(x), + 'sol': [], + 'XFAIL': ['lie_group'], + }, + + 'lie_group_05': { + 'eq': f(x).diff(x)**2, + 'sol': [Eq(f(x), C1)], + 'XFAIL': ['factorable'], #It raises Not Implemented error + }, + + 'lie_group_06': { + 'eq': Eq(f(x).diff(x), x**2*f(x)), + 'sol': [Eq(f(x), C1*exp(x**3)**Rational(1, 3))], + }, + + 'lie_group_07': { + 'eq': f(x).diff(x) + a*f(x) - c*exp(b*x), + 'sol': [Eq(f(x), Piecewise(((-C1*(a + b) + c*exp(x*(a + b)))*exp(-a*x)/(a + b),\ + Ne(a, -b)), ((-C1 + c*x)*exp(-a*x), True)))], + }, + + 'lie_group_08': { + 'eq': f(x).diff(x) + 2*x*f(x) - x*exp(-x**2), + 'sol': [Eq(f(x), (C1 + x**2/2)*exp(-x**2))], + }, + + 'lie_group_09': { + 'eq': (1 + 2*x)*(f(x).diff(x)) + 2 - 4*exp(-f(x)), + 'sol': [Eq(f(x), log(C1/(2*x + 1) + 2))], + }, + + 'lie_group_10': { + 'eq': x**2*(f(x).diff(x)) - f(x) + x**2*exp(x - (1/x)), + 'sol': [Eq(f(x), (C1 - exp(x))*exp(-1/x))], + 'XFAIL': ['factorable'], #It raises Recursion Error (maixmum depth exceeded) + }, + + 'lie_group_11': { + 'eq': x**2*f(x)**2 + x*Derivative(f(x), x), + 'sol': [Eq(f(x), 2/(C1 + x**2))], + }, + + 'lie_group_12': { + 'eq': diff(f(x),x) + 2*x*f(x) - x*exp(-x**2), + 'sol': [Eq(f(x), exp(-x**2)*(C1 + x**2/2))], + }, + + 'lie_group_13': { + 'eq': diff(f(x),x) + f(x)*cos(x) - exp(2*x), + 'sol': [Eq(f(x), exp(-sin(x))*(C1 + Integral(exp(2*x)*exp(sin(x)), x)))], + }, + + 'lie_group_14': { + 'eq': diff(f(x),x) + f(x)*cos(x) - sin(2*x)/2, + 'sol': [Eq(f(x), C1*exp(-sin(x)) + sin(x) - 1)], + }, + + 'lie_group_15': { + 'eq': x*diff(f(x),x) + f(x) - x*sin(x), + 'sol': [Eq(f(x), (C1 - x*cos(x) + sin(x))/x)], + }, + + 'lie_group_16': { + 'eq': x*diff(f(x),x) - f(x) - x/log(x), + 'sol': [Eq(f(x), x*(C1 + log(log(x))))], + }, + + 'lie_group_17': { + 'eq': (f(x).diff(x)-f(x)) * (f(x).diff(x)+f(x)), + 'sol': [Eq(f(x), C1*exp(x)), Eq(f(x), C1*exp(-x))], + }, + + 'lie_group_18': { + 'eq': f(x).diff(x) * (f(x).diff(x) - f(x)), + 'sol': [Eq(f(x), C1*exp(x)), Eq(f(x), C1)], + }, + + 'lie_group_19': { + 'eq': (f(x).diff(x)-f(x)) * (f(x).diff(x)+f(x)), + 'sol': [Eq(f(x), C1*exp(-x)), Eq(f(x), C1*exp(x))], + }, + + 'lie_group_20': { + 'eq': f(x).diff(x)*(f(x).diff(x)+f(x)), + 'sol': [Eq(f(x), C1), Eq(f(x), C1*exp(-x))], + }, + } + } + + +@_add_example_keys +def _get_examples_ode_sol_2nd_linear_airy(): + return { + 'hint': "2nd_linear_airy", + 'func': f(x), + 'examples':{ + '2nd_lin_airy_01': { + 'eq': f(x).diff(x, 2) - x*f(x), + 'sol': [Eq(f(x), C1*airyai(x) + C2*airybi(x))], + }, + + '2nd_lin_airy_02': { + 'eq': f(x).diff(x, 2) + 2*x*f(x), + 'sol': [Eq(f(x), C1*airyai(-2**(S(1)/3)*x) + C2*airybi(-2**(S(1)/3)*x))], + }, + } + } + + +@_add_example_keys +def _get_examples_ode_sol_nth_linear_constant_coeff_homogeneous(): + # From Exercise 20, in Ordinary Differential Equations, + # Tenenbaum and Pollard, pg. 220 + a = Symbol('a', positive=True) + k = Symbol('k', real=True) + r1, r2, r3, r4, r5 = [rootof(x**5 + 11*x - 2, n) for n in range(5)] + r6, r7, r8, r9, r10 = [rootof(x**5 - 3*x + 1, n) for n in range(5)] + r11, r12, r13, r14, r15 = [rootof(x**5 - 100*x**3 + 1000*x + 1, n) for n in range(5)] + r16, r17, r18, r19, r20 = [rootof(x**5 - x**4 + 10, n) for n in range(5)] + r21, r22, r23, r24, r25 = [rootof(x**5 - x + 1, n) for n in range(5)] + E = exp(1) + return { + 'hint': "nth_linear_constant_coeff_homogeneous", + 'func': f(x), + 'examples':{ + 'lin_const_coeff_hom_01': { + 'eq': f(x).diff(x, 2) + 2*f(x).diff(x), + 'sol': [Eq(f(x), C1 + C2*exp(-2*x))], + }, + + 'lin_const_coeff_hom_02': { + 'eq': f(x).diff(x, 2) - 3*f(x).diff(x) + 2*f(x), + 'sol': [Eq(f(x), (C1 + C2*exp(x))*exp(x))], + }, + + 'lin_const_coeff_hom_03': { + 'eq': f(x).diff(x, 2) - f(x), + 'sol': [Eq(f(x), C1*exp(-x) + C2*exp(x))], + }, + + 'lin_const_coeff_hom_04': { + 'eq': f(x).diff(x, 3) + f(x).diff(x, 2) - 6*f(x).diff(x), + 'sol': [Eq(f(x), C1 + C2*exp(-3*x) + C3*exp(2*x))], + 'slow': True, + }, + + 'lin_const_coeff_hom_05': { + 'eq': 6*f(x).diff(x, 2) - 11*f(x).diff(x) + 4*f(x), + 'sol': [Eq(f(x), C1*exp(x/2) + C2*exp(x*Rational(4, 3)))], + 'slow': True, + }, + + 'lin_const_coeff_hom_06': { + 'eq': Eq(f(x).diff(x, 2) + 2*f(x).diff(x) - f(x), 0), + 'sol': [Eq(f(x), C1*exp(x*(-1 + sqrt(2))) + C2*exp(-x*(sqrt(2) + 1)))], + 'slow': True, + }, + + 'lin_const_coeff_hom_07': { + 'eq': diff(f(x), x, 3) + diff(f(x), x, 2) - 10*diff(f(x), x) - 6*f(x), + 'sol': [Eq(f(x), C1*exp(3*x) + C3*exp(-x*(2 + sqrt(2))) + C2*exp(x*(-2 + sqrt(2))))], + 'slow': True, + }, + + 'lin_const_coeff_hom_08': { + 'eq': f(x).diff(x, 4) - f(x).diff(x, 3) - 4*f(x).diff(x, 2) + \ + 4*f(x).diff(x), + 'sol': [Eq(f(x), C1 + C2*exp(-2*x) + C3*exp(x) + C4*exp(2*x))], + 'slow': True, + }, + + 'lin_const_coeff_hom_09': { + 'eq': f(x).diff(x, 4) + 4*f(x).diff(x, 3) + f(x).diff(x, 2) - \ + 4*f(x).diff(x) - 2*f(x), + 'sol': [Eq(f(x), C3*exp(-x) + C4*exp(x) + (C1*exp(-sqrt(2)*x) + C2*exp(sqrt(2)*x))*exp(-2*x))], + 'slow': True, + }, + + 'lin_const_coeff_hom_10': { + 'eq': f(x).diff(x, 4) - a**2*f(x), + 'sol': [Eq(f(x), C1*exp(-sqrt(a)*x) + C2*exp(sqrt(a)*x) + C3*sin(sqrt(a)*x) + C4*cos(sqrt(a)*x))], + 'slow': True, + }, + + 'lin_const_coeff_hom_11': { + 'eq': f(x).diff(x, 2) - 2*k*f(x).diff(x) - 2*f(x), + 'sol': [Eq(f(x), C1*exp(x*(k - sqrt(k**2 + 2))) + C2*exp(x*(k + sqrt(k**2 + 2))))], + 'slow': True, + }, + + 'lin_const_coeff_hom_12': { + 'eq': f(x).diff(x, 2) + 4*k*f(x).diff(x) - 12*k**2*f(x), + 'sol': [Eq(f(x), C1*exp(-6*k*x) + C2*exp(2*k*x))], + 'slow': True, + }, + + 'lin_const_coeff_hom_13': { + 'eq': f(x).diff(x, 4), + 'sol': [Eq(f(x), C1 + C2*x + C3*x**2 + C4*x**3)], + 'slow': True, + }, + + 'lin_const_coeff_hom_14': { + 'eq': f(x).diff(x, 2) + 4*f(x).diff(x) + 4*f(x), + 'sol': [Eq(f(x), (C1 + C2*x)*exp(-2*x))], + 'slow': True, + }, + + 'lin_const_coeff_hom_15': { + 'eq': 3*f(x).diff(x, 3) + 5*f(x).diff(x, 2) + f(x).diff(x) - f(x), + 'sol': [Eq(f(x), (C1 + C2*x)*exp(-x) + C3*exp(x/3))], + 'slow': True, + }, + + 'lin_const_coeff_hom_16': { + 'eq': f(x).diff(x, 3) - 6*f(x).diff(x, 2) + 12*f(x).diff(x) - 8*f(x), + 'sol': [Eq(f(x), (C1 + x*(C2 + C3*x))*exp(2*x))], + 'slow': True, + }, + + 'lin_const_coeff_hom_17': { + 'eq': f(x).diff(x, 2) - 2*a*f(x).diff(x) + a**2*f(x), + 'sol': [Eq(f(x), (C1 + C2*x)*exp(a*x))], + 'slow': True, + }, + + 'lin_const_coeff_hom_18': { + 'eq': f(x).diff(x, 4) + 3*f(x).diff(x, 3), + 'sol': [Eq(f(x), C1 + C2*x + C3*x**2 + C4*exp(-3*x))], + 'slow': True, + }, + + 'lin_const_coeff_hom_19': { + 'eq': f(x).diff(x, 4) - 2*f(x).diff(x, 2), + 'sol': [Eq(f(x), C1 + C2*x + C3*exp(-sqrt(2)*x) + C4*exp(sqrt(2)*x))], + 'slow': True, + }, + + 'lin_const_coeff_hom_20': { + 'eq': f(x).diff(x, 4) + 2*f(x).diff(x, 3) - 11*f(x).diff(x, 2) - \ + 12*f(x).diff(x) + 36*f(x), + 'sol': [Eq(f(x), (C1 + C2*x)*exp(-3*x) + (C3 + C4*x)*exp(2*x))], + 'slow': True, + }, + + 'lin_const_coeff_hom_21': { + 'eq': 36*f(x).diff(x, 4) - 37*f(x).diff(x, 2) + 4*f(x).diff(x) + 5*f(x), + 'sol': [Eq(f(x), C1*exp(-x) + C2*exp(-x/3) + C3*exp(x/2) + C4*exp(x*Rational(5, 6)))], + 'slow': True, + }, + + 'lin_const_coeff_hom_22': { + 'eq': f(x).diff(x, 4) - 8*f(x).diff(x, 2) + 16*f(x), + 'sol': [Eq(f(x), (C1 + C2*x)*exp(-2*x) + (C3 + C4*x)*exp(2*x))], + 'slow': True, + }, + + 'lin_const_coeff_hom_23': { + 'eq': f(x).diff(x, 2) - 2*f(x).diff(x) + 5*f(x), + 'sol': [Eq(f(x), (C1*sin(2*x) + C2*cos(2*x))*exp(x))], + 'slow': True, + }, + + 'lin_const_coeff_hom_24': { + 'eq': f(x).diff(x, 2) - f(x).diff(x) + f(x), + 'sol': [Eq(f(x), (C1*sin(x*sqrt(3)/2) + C2*cos(x*sqrt(3)/2))*exp(x/2))], + 'slow': True, + }, + + 'lin_const_coeff_hom_25': { + 'eq': f(x).diff(x, 4) + 5*f(x).diff(x, 2) + 6*f(x), + 'sol': [Eq(f(x), + C1*sin(sqrt(2)*x) + C2*sin(sqrt(3)*x) + C3*cos(sqrt(2)*x) + C4*cos(sqrt(3)*x))], + 'slow': True, + }, + + 'lin_const_coeff_hom_26': { + 'eq': f(x).diff(x, 2) - 4*f(x).diff(x) + 20*f(x), + 'sol': [Eq(f(x), (C1*sin(4*x) + C2*cos(4*x))*exp(2*x))], + 'slow': True, + }, + + 'lin_const_coeff_hom_27': { + 'eq': f(x).diff(x, 4) + 4*f(x).diff(x, 2) + 4*f(x), + 'sol': [Eq(f(x), (C1 + C2*x)*sin(x*sqrt(2)) + (C3 + C4*x)*cos(x*sqrt(2)))], + 'slow': True, + }, + + 'lin_const_coeff_hom_28': { + 'eq': f(x).diff(x, 3) + 8*f(x), + 'sol': [Eq(f(x), (C1*sin(x*sqrt(3)) + C2*cos(x*sqrt(3)))*exp(x) + C3*exp(-2*x))], + 'slow': True, + }, + + 'lin_const_coeff_hom_29': { + 'eq': f(x).diff(x, 4) + 4*f(x).diff(x, 2), + 'sol': [Eq(f(x), C1 + C2*x + C3*sin(2*x) + C4*cos(2*x))], + 'slow': True, + }, + + 'lin_const_coeff_hom_30': { + 'eq': f(x).diff(x, 5) + 2*f(x).diff(x, 3) + f(x).diff(x), + 'sol': [Eq(f(x), C1 + (C2 + C3*x)*sin(x) + (C4 + C5*x)*cos(x))], + 'slow': True, + }, + + 'lin_const_coeff_hom_31': { + 'eq': f(x).diff(x, 4) + f(x).diff(x, 2) + f(x), + 'sol': [Eq(f(x), (C1*sin(sqrt(3)*x/2) + C2*cos(sqrt(3)*x/2))*exp(-x/2) + + (C3*sin(sqrt(3)*x/2) + C4*cos(sqrt(3)*x/2))*exp(x/2))], + 'slow': True, + }, + + 'lin_const_coeff_hom_32': { + 'eq': f(x).diff(x, 4) + 4*f(x).diff(x, 2) + f(x), + 'sol': [Eq(f(x), C1*sin(x*sqrt(-sqrt(3) + 2)) + C2*sin(x*sqrt(sqrt(3) + 2)) + + C3*cos(x*sqrt(-sqrt(3) + 2)) + C4*cos(x*sqrt(sqrt(3) + 2)))], + 'slow': True, + }, + + # One real root, two complex conjugate pairs + 'lin_const_coeff_hom_33': { + 'eq': f(x).diff(x, 5) + 11*f(x).diff(x) - 2*f(x), + 'sol': [Eq(f(x), + C5*exp(r1*x) + exp(re(r2)*x) * (C1*sin(im(r2)*x) + C2*cos(im(r2)*x)) + + exp(re(r4)*x) * (C3*sin(im(r4)*x) + C4*cos(im(r4)*x)))], + 'checkodesol_XFAIL':True, #It Hangs + }, + + # Three real roots, one complex conjugate pair + 'lin_const_coeff_hom_34': { + 'eq': f(x).diff(x,5) - 3*f(x).diff(x) + f(x), + 'sol': [Eq(f(x), + C3*exp(r6*x) + C4*exp(r7*x) + C5*exp(r8*x) + + exp(re(r9)*x) * (C1*sin(im(r9)*x) + C2*cos(im(r9)*x)))], + 'checkodesol_XFAIL':True, #It Hangs + }, + + # Five distinct real roots + 'lin_const_coeff_hom_35': { + 'eq': f(x).diff(x,5) - 100*f(x).diff(x,3) + 1000*f(x).diff(x) + f(x), + 'sol': [Eq(f(x), C1*exp(r11*x) + C2*exp(r12*x) + C3*exp(r13*x) + C4*exp(r14*x) + C5*exp(r15*x))], + 'checkodesol_XFAIL':True, #It Hangs + }, + + # Rational root and unsolvable quintic + 'lin_const_coeff_hom_36': { + 'eq': f(x).diff(x, 6) - 6*f(x).diff(x, 5) + 5*f(x).diff(x, 4) + 10*f(x).diff(x) - 50 * f(x), + 'sol': [Eq(f(x), + C5*exp(5*x) + + C6*exp(x*r16) + + exp(re(r17)*x) * (C1*sin(im(r17)*x) + C2*cos(im(r17)*x)) + + exp(re(r19)*x) * (C3*sin(im(r19)*x) + C4*cos(im(r19)*x)))], + 'checkodesol_XFAIL':True, #It Hangs + }, + + # Five double roots (this is (x**5 - x + 1)**2) + 'lin_const_coeff_hom_37': { + 'eq': f(x).diff(x, 10) - 2*f(x).diff(x, 6) + 2*f(x).diff(x, 5) + + f(x).diff(x, 2) - 2*f(x).diff(x, 1) + f(x), + 'sol': [Eq(f(x), (C1 + C2*x)*exp(x*r21) + (-((C3 + C4*x)*sin(x*im(r22))) + + (C5 + C6*x)*cos(x*im(r22)))*exp(x*re(r22)) + (-((C7 + C8*x)*sin(x*im(r24))) + + (C10*x + C9)*cos(x*im(r24)))*exp(x*re(r24)))], + 'checkodesol_XFAIL':True, #It Hangs + }, + + 'lin_const_coeff_hom_38': { + 'eq': Eq(sqrt(2) * f(x).diff(x,x,x) + f(x).diff(x), 0), + 'sol': [Eq(f(x), C1 + C2*sin(2**Rational(3, 4)*x/2) + C3*cos(2**Rational(3, 4)*x/2))], + }, + + 'lin_const_coeff_hom_39': { + 'eq': Eq(E * f(x).diff(x,x,x) + f(x).diff(x), 0), + 'sol': [Eq(f(x), C1 + C2*sin(x/sqrt(E)) + C3*cos(x/sqrt(E)))], + }, + + 'lin_const_coeff_hom_40': { + 'eq': Eq(pi * f(x).diff(x,x,x) + f(x).diff(x), 0), + 'sol': [Eq(f(x), C1 + C2*sin(x/sqrt(pi)) + C3*cos(x/sqrt(pi)))], + }, + + 'lin_const_coeff_hom_41': { + 'eq': Eq(I * f(x).diff(x,x,x) + f(x).diff(x), 0), + 'sol': [Eq(f(x), C1 + C2*exp(-sqrt(I)*x) + C3*exp(sqrt(I)*x))], + }, + + 'lin_const_coeff_hom_42': { + 'eq': f(x).diff(x, x) + y*f(x), + 'sol': [Eq(f(x), C1*exp(-x*sqrt(-y)) + C2*exp(x*sqrt(-y)))], + }, + + 'lin_const_coeff_hom_43': { + 'eq': Eq(9*f(x).diff(x, x) + f(x), 0), + 'sol': [Eq(f(x), C1*sin(x/3) + C2*cos(x/3))], + }, + + 'lin_const_coeff_hom_44': { + 'eq': Eq(9*f(x).diff(x, x), f(x)), + 'sol': [Eq(f(x), C1*exp(-x/3) + C2*exp(x/3))], + }, + + 'lin_const_coeff_hom_45': { + 'eq': Eq(f(x).diff(x, x) - 3*diff(f(x), x) + 2*f(x), 0), + 'sol': [Eq(f(x), (C1 + C2*exp(x))*exp(x))], + }, + + 'lin_const_coeff_hom_46': { + 'eq': Eq(f(x).diff(x, x) - 4*diff(f(x), x) + 4*f(x), 0), + 'sol': [Eq(f(x), (C1 + C2*x)*exp(2*x))], + }, + + # Type: 2nd order, constant coefficients (two real equal roots) + 'lin_const_coeff_hom_47': { + 'eq': Eq(f(x).diff(x, x) + 2*diff(f(x), x) + 3*f(x), 0), + 'sol': [Eq(f(x), (C1*sin(x*sqrt(2)) + C2*cos(x*sqrt(2)))*exp(-x))], + }, + + #These were from issue: https://github.com/sympy/sympy/issues/6247 + 'lin_const_coeff_hom_48': { + 'eq': f(x).diff(x, x) + 4*f(x), + 'sol': [Eq(f(x), C1*sin(2*x) + C2*cos(2*x))], + }, + } + } + + +@_add_example_keys +def _get_examples_ode_sol_1st_homogeneous_coeff_subs_dep_div_indep(): + return { + 'hint': "1st_homogeneous_coeff_subs_dep_div_indep", + 'func': f(x), + 'examples':{ + 'dep_div_indep_01': { + 'eq': f(x)/x*cos(f(x)/x) - (x/f(x)*sin(f(x)/x) + cos(f(x)/x))*f(x).diff(x), + 'sol': [Eq(log(x), C1 - log(f(x)*sin(f(x)/x)/x))], + 'slow': True + }, + + #indep_div_dep actually has a simpler solution for example 2 but it runs too slow. + 'dep_div_indep_02': { + 'eq': x*f(x).diff(x) - f(x) - x*sin(f(x)/x), + 'sol': [Eq(log(x), log(C1) + log(cos(f(x)/x) - 1)/2 - log(cos(f(x)/x) + 1)/2)], + 'simplify_flag':False, + }, + + 'dep_div_indep_03': { + 'eq': x*exp(f(x)/x) - f(x)*sin(f(x)/x) + x*sin(f(x)/x)*f(x).diff(x), + 'sol': [Eq(log(x), C1 + exp(-f(x)/x)*sin(f(x)/x)/2 + exp(-f(x)/x)*cos(f(x)/x)/2)], + 'slow': True + }, + + 'dep_div_indep_04': { + 'eq': f(x).diff(x) - f(x)/x + 1/sin(f(x)/x), + 'sol': [Eq(f(x), x*(-acos(C1 + log(x)) + 2*pi)), Eq(f(x), x*acos(C1 + log(x)))], + 'slow': True + }, + + # previous code was testing with these other solution: + # example5_solb = Eq(f(x), log(log(C1/x)**(-x))) + 'dep_div_indep_05': { + 'eq': x*exp(f(x)/x) + f(x) - x*f(x).diff(x), + 'sol': [Eq(f(x), log((1/(C1 - log(x)))**x))], + 'checkodesol_XFAIL':True, #(because of **x?) + }, + } + } + +@_add_example_keys +def _get_examples_ode_sol_linear_coefficients(): + return { + 'hint': "linear_coefficients", + 'func': f(x), + 'examples':{ + 'linear_coeff_01': { + 'eq': f(x).diff(x) + (3 + 2*f(x))/(x + 3), + 'sol': [Eq(f(x), C1/(x**2 + 6*x + 9) - Rational(3, 2))], + }, + } + } + +@_add_example_keys +def _get_examples_ode_sol_1st_homogeneous_coeff_best(): + return { + 'hint': "1st_homogeneous_coeff_best", + 'func': f(x), + 'examples':{ + # previous code was testing this with other solution: + # example1_solb = Eq(-f(x)/(1 + log(x/f(x))), C1) + '1st_homogeneous_coeff_best_01': { + 'eq': f(x) + (x*log(f(x)/x) - 2*x)*diff(f(x), x), + 'sol': [Eq(f(x), -exp(C1)*LambertW(-x*exp(-C1 + 1)))], + 'checkodesol_XFAIL':True, #(because of LambertW?) + }, + + '1st_homogeneous_coeff_best_02': { + 'eq': 2*f(x)*exp(x/f(x)) + f(x)*f(x).diff(x) - 2*x*exp(x/f(x))*f(x).diff(x), + 'sol': [Eq(log(f(x)), C1 - 2*exp(x/f(x)))], + }, + + # previous code was testing this with other solution: + # example3_solb = Eq(log(C1*x*sqrt(1/x)*sqrt(f(x))) + x**2/(2*f(x)**2), 0) + '1st_homogeneous_coeff_best_03': { + 'eq': 2*x**2*f(x) + f(x)**3 + (x*f(x)**2 - 2*x**3)*f(x).diff(x), + 'sol': [Eq(f(x), exp(2*C1 + LambertW(-2*x**4*exp(-4*C1))/2)/x)], + 'checkodesol_XFAIL':True, #(because of LambertW?) + }, + + '1st_homogeneous_coeff_best_04': { + 'eq': (x + sqrt(f(x)**2 - x*f(x)))*f(x).diff(x) - f(x), + 'sol': [Eq(log(f(x)), C1 - 2*sqrt(-x/f(x) + 1))], + 'slow': True, + }, + + '1st_homogeneous_coeff_best_05': { + 'eq': x + f(x) - (x - f(x))*f(x).diff(x), + 'sol': [Eq(log(x), C1 - log(sqrt(1 + f(x)**2/x**2)) + atan(f(x)/x))], + }, + + '1st_homogeneous_coeff_best_06': { + 'eq': x*f(x).diff(x) - f(x) - x*sin(f(x)/x), + 'sol': [Eq(f(x), 2*x*atan(C1*x))], + }, + + '1st_homogeneous_coeff_best_07': { + 'eq': x**2 + f(x)**2 - 2*x*f(x)*f(x).diff(x), + 'sol': [Eq(f(x), -sqrt(x*(C1 + x))), Eq(f(x), sqrt(x*(C1 + x)))], + }, + + '1st_homogeneous_coeff_best_08': { + 'eq': f(x)**2 + (x*sqrt(f(x)**2 - x**2) - x*f(x))*f(x).diff(x), + 'sol': [Eq(f(x), -sqrt(-x*exp(2*C1)/(x - 2*exp(C1)))), Eq(f(x), sqrt(-x*exp(2*C1)/(x - 2*exp(C1))))], + 'checkodesol_XFAIL': True # solutions are valid in a range + }, + } + } + + +def _get_all_examples(): + all_examples = _get_examples_ode_sol_euler_homogeneous + \ + _get_examples_ode_sol_euler_undetermined_coeff + \ + _get_examples_ode_sol_euler_var_para + \ + _get_examples_ode_sol_factorable + \ + _get_examples_ode_sol_bernoulli + \ + _get_examples_ode_sol_nth_algebraic + \ + _get_examples_ode_sol_riccati + \ + _get_examples_ode_sol_1st_linear + \ + _get_examples_ode_sol_1st_exact + \ + _get_examples_ode_sol_almost_linear + \ + _get_examples_ode_sol_nth_order_reducible + \ + _get_examples_ode_sol_nth_linear_undetermined_coefficients + \ + _get_examples_ode_sol_liouville + \ + _get_examples_ode_sol_separable + \ + _get_examples_ode_sol_1st_rational_riccati + \ + _get_examples_ode_sol_nth_linear_var_of_parameters + \ + _get_examples_ode_sol_2nd_linear_bessel + \ + _get_examples_ode_sol_2nd_2F1_hypergeometric + \ + _get_examples_ode_sol_2nd_nonlinear_autonomous_conserved + \ + _get_examples_ode_sol_separable_reduced + \ + _get_examples_ode_sol_lie_group + \ + _get_examples_ode_sol_2nd_linear_airy + \ + _get_examples_ode_sol_nth_linear_constant_coeff_homogeneous +\ + _get_examples_ode_sol_1st_homogeneous_coeff_best +\ + _get_examples_ode_sol_1st_homogeneous_coeff_subs_dep_div_indep +\ + _get_examples_ode_sol_linear_coefficients + + return all_examples diff --git a/shared/package-files/45/45623b63501120e0107c88982fdcb6a82e1abea77da0fb2e2bbb9521e7d42371/streams.py b/shared/package-files/45/45623b63501120e0107c88982fdcb6a82e1abea77da0fb2e2bbb9521e7d42371/streams.py new file mode 100644 index 0000000000000000000000000000000000000000..2c3c3a63d58bdb7b4bd85a25740330d309a707bb --- /dev/null +++ b/shared/package-files/45/45623b63501120e0107c88982fdcb6a82e1abea77da0fb2e2bbb9521e7d42371/streams.py @@ -0,0 +1,169 @@ +import ctypes + +import torch +from torch._streambase import _EventBase, _StreamBase +from .._utils import _dummy_type + + +if not hasattr(torch._C, "_XpuStreamBase"): + # Define dummy base classes + torch._C.__dict__["_XpuStreamBase"] = _dummy_type("_XpuStreamBase") + torch._C.__dict__["_XpuEventBase"] = _dummy_type("_XpuEventBase") + + +class Stream(torch._C._XpuStreamBase, _StreamBase): + r"""Wrapper around a XPU stream. + + A XPU stream is a linear sequence of execution that belongs to a specific + device, independent from other streams. + + Args: + device(torch.device or int, optional): a device on which to allocate + the stream. If :attr:`device` is ``None`` (default) or a negative + integer, this will use the current device. + priority(int, optional): priority of the stream, should be 0 or + negative, where negative numbers indicate higher priority. By default, + streams have priority 0. + """ + + def __new__(cls, device=None, priority=0, **kwargs): + # setting device manager is expensive, so we avoid it unless necessary + if device is None or ("stream_id" in kwargs and "device_index" in kwargs): + return super().__new__(cls, priority=priority, **kwargs) + else: + with torch.xpu.device(device): + return super().__new__(cls, priority=priority, **kwargs) + + def wait_event(self, event): + r"""Make all future work submitted to the stream wait for an event. + + Args: + event (torch.xpu.Event): an event to wait for. + """ + event.wait(self) + + def wait_stream(self, stream): + r"""Synchronize with another stream. + + All future work submitted to this stream will wait until all kernels + submitted to a given stream at the time of call complete. + + Args: + stream (Stream): a stream to synchronize. + """ + self.wait_event(stream.record_event()) + + def record_event(self, event=None): + r"""Record an event. + + Args: + event (torch.xpu.Event, optional): event to record. If not given, a new one + will be allocated. + + Returns: + Recorded event. + """ + if event is None: + event = Event() + event.record(self) + return event + + def query(self): + r"""Check if all the work submitted has been completed. + + Returns: + A boolean indicating if all kernels in this stream are completed. + """ + return super().query() + + def synchronize(self): + r"""Wait for all the kernels in this stream to complete.""" + super().synchronize() + + @property + def _as_parameter_(self): + return ctypes.c_void_p(self.sycl_queue) + + def __eq__(self, o): + if isinstance(o, Stream): + return super().__eq__(o) + return False + + def __hash__(self): + return hash((self.sycl_queue, self.device)) + + def __repr__(self): + return f"torch.xpu.Stream(device={self.device} sycl_queue={self.sycl_queue:#x})" + + +class Event(torch._C._XpuEventBase, _EventBase): + r"""Wrapper around a XPU event. + + XPU events are synchronization markers that can be used to monitor the + device's progress, and to synchronize XPU streams. + + The underlying XPU events are lazily initialized when the event is first + recorded. After creation, only streams on the same device may record the + event. However, streams on any device can wait on the event. + + Args: + enable_timing (bool, optional): indicates if the event should measure time + (default: ``False``) + """ + + def __new__(cls, enable_timing=False): + return super().__new__(cls, enable_timing=enable_timing) + + def record(self, stream=None): + r"""Record the event in a given stream. + + Uses ``torch.xpu.current_stream()`` if no stream is specified. The + stream's device must match the event's device. + """ + if stream is None: + stream = torch.xpu.current_stream() + super().record(stream) + + def wait(self, stream=None): + r"""Make all future work submitted to the given stream wait for this event. + + Use ``torch.xpu.current_stream()`` if no stream is specified. + """ + if stream is None: + stream = torch.xpu.current_stream() + super().wait(stream) + + def query(self): + r"""Check if all work currently captured by event has completed. + + Returns: + A boolean indicating if all work currently captured by event has + completed. + """ + return super().query() + + def elapsed_time(self, end_event): + r"""Return the time elapsed. + + Time reported in milliseconds after the event was recorded and + before the end_event was recorded. + """ + return super().elapsed_time(end_event) + + def synchronize(self): + r"""Wait for the event to complete. + + Waits until the completion of all work currently captured in this event. + This prevents the CPU thread from proceeding until the event completes. + """ + super().synchronize() + + @property + def _as_parameter_(self): + return ctypes.c_void_p(self.sycl_event) + + def __repr__(self): + if self.sycl_event: + return f"torch.xpu.Event(sycl_event={self.sycl_event:#x})" + else: + return "torch.xpu.Event(uninitialized)" diff --git a/shared/package-files/45/456477af3f6cdfaccd71e7844939be1771f517b771b81baa4b56e189f3aebc46/dask.py b/shared/package-files/45/456477af3f6cdfaccd71e7844939be1771f517b771b81baa4b56e189f3aebc46/dask.py new file mode 100644 index 0000000000000000000000000000000000000000..af9926a2797b9a49220fc5b2228e1ae18c447f37 --- /dev/null +++ b/shared/package-files/45/456477af3f6cdfaccd71e7844939be1771f517b771b81baa4b56e189f3aebc46/dask.py @@ -0,0 +1,44 @@ +from functools import partial + +from dask.callbacks import Callback + +from .auto import tqdm as tqdm_auto + +__author__ = {"github.com/": ["casperdcl"]} +__all__ = ['TqdmCallback'] + + +class TqdmCallback(Callback): + """Dask callback for task progress.""" + def __init__(self, start=None, pretask=None, tqdm_class=tqdm_auto, + **tqdm_kwargs): + """ + Parameters + ---------- + tqdm_class : optional + `tqdm` class to use for bars [default: `tqdm.auto.tqdm`]. + tqdm_kwargs : optional + Any other arguments used for all bars. + """ + super(TqdmCallback, self).__init__(start=start, pretask=pretask) + if tqdm_kwargs: + tqdm_class = partial(tqdm_class, **tqdm_kwargs) + self.tqdm_class = tqdm_class + + def _start_state(self, _, state): + self.pbar = self.tqdm_class(total=sum( + len(state[k]) for k in ['ready', 'waiting', 'running', 'finished'])) + + def _posttask(self, *_, **__): + self.pbar.update() + + def _finish(self, *_, **__): + self.pbar.close() + + def display(self): + """Displays in the current cell in Notebooks.""" + container = getattr(self.bar, 'container', None) + if container is None: + return + from .notebook import display + display(container) diff --git a/shared/package-files/45/456766ec8f4b0469b9fc2056720259603ecc5e1a699eb8f4199c78fba20001c2/_fitpack_repro.py b/shared/package-files/45/456766ec8f4b0469b9fc2056720259603ecc5e1a699eb8f4199c78fba20001c2/_fitpack_repro.py new file mode 100644 index 0000000000000000000000000000000000000000..f5697f3ad716500f6557175e88adead6b3b4caac --- /dev/null +++ b/shared/package-files/45/456766ec8f4b0469b9fc2056720259603ecc5e1a699eb8f4199c78fba20001c2/_fitpack_repro.py @@ -0,0 +1,992 @@ +""" Replicate FITPACK's logic for constructing smoothing spline functions and curves. + + Currently provides analogs of splrep and splprep python routines, i.e. + curfit.f and parcur.f routines (the drivers are fpcurf.f and fppara.f, respectively) + + The Fortran sources are from + https://github.com/scipy/scipy/blob/maintenance/1.11.x/scipy/interpolate/fitpack/ + + .. [1] P. Dierckx, "Algorithms for smoothing data with periodic and + parametric splines, Computer Graphics and Image Processing", + 20 (1982) 171-184. + :doi:`10.1016/0146-664X(82)90043-0`. + .. [2] P. Dierckx, "Curve and surface fitting with splines", Monographs on + Numerical Analysis, Oxford University Press, 1993. + .. [3] P. Dierckx, "An algorithm for smoothing, differentiation and integration + of experimental data using spline functions", + Journal of Computational and Applied Mathematics, vol. I, no 3, p. 165 (1975). + https://doi.org/10.1016/0771-050X(75)90034-0 +""" +import warnings +import operator +import numpy as np + +from ._bsplines import ( + _not_a_knot, make_interp_spline, BSpline, fpcheck, _lsq_solve_qr +) +from . import _dierckx # type: ignore[attr-defined] + + +# cccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccc +# c part 1: determination of the number of knots and their position c +# c ************************************************************** c +# +# https://github.com/scipy/scipy/blob/maintenance/1.11.x/scipy/interpolate/fitpack/fpcurf.f#L31 + + +# Hardcoded in curfit.f +TOL = 0.001 +MAXIT = 20 + + +def _get_residuals(x, y, t, k, w): + # FITPACK has (w*(spl(x)-y))**2; make_lsq_spline has w*(spl(x)-y)**2 + w2 = w**2 + + # inline the relevant part of + # >>> spl = make_lsq_spline(x, y, w=w2, t=t, k=k) + # NB: + # 1. y is assumed to be 2D here. For 1D case (parametric=False), + # the call must have been preceded by y = y[:, None] (cf _validate_inputs) + # 2. We always sum the squares across axis=1: + # * For 1D (parametric=False), the last dimension has size one, + # so the summation is a no-op. + # * For 2D (parametric=True), the summation is actually how the + # 'residuals' are defined, see Eq. (42) in Dierckx1982 + # (the reference is in the docstring of `class F`) below. + _, _, c = _lsq_solve_qr(x, y, t, k, w) + c = np.ascontiguousarray(c) + spl = BSpline(t, c, k) + return _compute_residuals(w2, spl(x), y) + + +def _compute_residuals(w2, splx, y): + delta = ((splx - y)**2).sum(axis=1) + return w2 * delta + + +def add_knot(x, t, k, residuals): + """Add a new knot. + + (Approximately) replicate FITPACK's logic: + 1. split the `x` array into knot intervals, ``t(j+k) <= x(i) <= t(j+k+1)`` + 2. find the interval with the maximum sum of residuals + 3. insert a new knot into the middle of that interval. + + NB: a new knot is in fact an `x` value at the middle of the interval. + So *the knots are a subset of `x`*. + + This routine is an analog of + https://github.com/scipy/scipy/blob/v1.11.4/scipy/interpolate/fitpack/fpcurf.f#L190-L215 + (cf _split function) + + and https://github.com/scipy/scipy/blob/v1.11.4/scipy/interpolate/fitpack/fpknot.f + """ + new_knot = _dierckx.fpknot(x, t, k, residuals) + + idx_t = np.searchsorted(t, new_knot) + t_new = np.r_[t[:idx_t], new_knot, t[idx_t:]] + return t_new + + +def _validate_inputs(x, y, w, k, s, xb, xe, parametric): + """Common input validations for generate_knots and make_splrep. + """ + x = np.asarray(x, dtype=float) + y = np.asarray(y, dtype=float) + + if w is None: + w = np.ones_like(x, dtype=float) + else: + w = np.asarray(w, dtype=float) + if w.ndim != 1: + raise ValueError(f"{w.ndim = } not implemented yet.") + if (w < 0).any(): + raise ValueError("Weights must be non-negative") + + if y.ndim == 0 or y.ndim > 2: + raise ValueError(f"{y.ndim = } not supported (must be 1 or 2.)") + + parametric = bool(parametric) + if parametric: + if y.ndim != 2: + raise ValueError(f"{y.ndim = } != 2 not supported with {parametric =}.") + else: + if y.ndim != 1: + raise ValueError(f"{y.ndim = } != 1 not supported with {parametric =}.") + # all _impl functions expect y.ndim = 2 + y = y[:, None] + + if w.shape[0] != x.shape[0]: + raise ValueError(f"Weights is incompatible: {w.shape =} != {x.shape}.") + + if x.shape[0] != y.shape[0]: + raise ValueError(f"Data is incompatible: {x.shape = } and {y.shape = }.") + if x.ndim != 1 or (x[1:] < x[:-1]).any(): + raise ValueError("Expect `x` to be an ordered 1D sequence.") + + k = operator.index(k) + + if s < 0: + raise ValueError(f"`s` must be non-negative. Got {s = }") + + if xb is None: + xb = min(x) + if xe is None: + xe = max(x) + + return x, y, w, k, s, xb, xe + + +def generate_knots(x, y, *, w=None, xb=None, xe=None, k=3, s=0, nest=None): + """Replicate FITPACK's constructing the knot vector. + + Parameters + ---------- + x, y : array_like + The data points defining the curve ``y = f(x)``. + w : array_like, optional + Weights. + xb : float, optional + The boundary of the approximation interval. If None (default), + is set to ``x[0]``. + xe : float, optional + The boundary of the approximation interval. If None (default), + is set to ``x[-1]``. + k : int, optional + The spline degree. Default is cubic, ``k = 3``. + s : float, optional + The smoothing factor. Default is ``s = 0``. + nest : int, optional + Stop when at least this many knots are placed. + + Yields + ------ + t : ndarray + Knot vectors with an increasing number of knots. + The generator is finite: it stops when the smoothing critetion is + satisfied, or when then number of knots exceeds the maximum value: + the user-provided `nest` or `x.size + k + 1` --- which is the knot vector + for the interpolating spline. + + Examples + -------- + Generate some noisy data and fit a sequence of LSQ splines: + + >>> import numpy as np + >>> import matplotlib.pyplot as plt + >>> from scipy.interpolate import make_lsq_spline, generate_knots + >>> rng = np.random.default_rng(12345) + >>> x = np.linspace(-3, 3, 50) + >>> y = np.exp(-x**2) + 0.1 * rng.standard_normal(size=50) + + >>> knots = list(generate_knots(x, y, s=1e-10)) + >>> for t in knots[::3]: + ... spl = make_lsq_spline(x, y, t) + ... xs = xs = np.linspace(-3, 3, 201) + ... plt.plot(xs, spl(xs), '-', label=f'n = {len(t)}', lw=3, alpha=0.7) + >>> plt.plot(x, y, 'o', label='data') + >>> plt.plot(xs, np.exp(-xs**2), '--') + >>> plt.legend() + + Note that increasing the number of knots make the result follow the data + more and more closely. + + Also note that a step of the generator may add multiple knots: + + >>> [len(t) for t in knots] + [8, 9, 10, 12, 16, 24, 40, 48, 52, 54] + + Notes + ----- + The routine generates successive knots vectors of increasing length, starting + from ``2*(k+1)`` to ``len(x) + k + 1``, trying to make knots more dense + in the regions where the deviation of the LSQ spline from data is large. + + When the maximum number of knots, ``len(x) + k + 1`` is reached + (this happens when ``s`` is small and ``nest`` is large), the generator + stops, and the last output is the knots for the interpolation with the + not-a-knot boundary condition. + + Knots are located at data sites, unless ``k`` is even and the number of knots + is ``len(x) + k + 1``. In that case, the last output of the generator + has internal knots at Greville sites, ``(x[1:] + x[:-1]) / 2``. + + .. versionadded:: 1.15.0 + + """ + if s == 0: + if nest is not None or w is not None: + raise ValueError("s == 0 is interpolation only") + t = _not_a_knot(x, k) + yield t + return + + x, y, w, k, s, xb, xe = _validate_inputs( + x, y, w, k, s, xb, xe, parametric=np.ndim(y) == 2 + ) + + yield from _generate_knots_impl(x, y, w=w, xb=xb, xe=xe, k=k, s=s, nest=nest) + + +def _generate_knots_impl(x, y, *, w=None, xb=None, xe=None, k=3, s=0, nest=None): + + acc = s * TOL + m = x.size # the number of data points + + if nest is None: + # the max number of knots. This is set in _fitpack_impl.py line 274 + # and fitpack.pyf line 198 + nest = max(m + k + 1, 2*k + 3) + else: + if nest < 2*(k + 1): + raise ValueError(f"`nest` too small: {nest = } < 2*(k+1) = {2*(k+1)}.") + + nmin = 2*(k + 1) # the number of knots for an LSQ polynomial approximation + nmax = m + k + 1 # the number of knots for the spline interpolation + + # start from no internal knots + t = np.asarray([xb]*(k+1) + [xe]*(k+1), dtype=float) + n = t.shape[0] + fp = 0.0 + fpold = 0.0 + + # c main loop for the different sets of knots. m is a safe upper bound + # c for the number of trials. + for _ in range(m): + yield t + + # construct the LSQ spline with this set of knots + fpold = fp + residuals = _get_residuals(x, y, t, k, w=w) + fp = residuals.sum() + fpms = fp - s + + # c test whether the approximation sinf(x) is an acceptable solution. + # c if f(p=inf) < s accept the choice of knots. + if (abs(fpms) < acc) or (fpms < 0): + return + + # ### c increase the number of knots. ### + + # c determine the number of knots nplus we are going to add. + if n == nmin: + # the first iteration + nplus = 1 + else: + delta = fpold - fp + npl1 = int(nplus * fpms / delta) if delta > acc else nplus*2 + nplus = min(nplus*2, max(npl1, nplus//2, 1)) + + # actually add knots + for j in range(nplus): + t = add_knot(x, t, k, residuals) + + # check if we have enough knots already + + n = t.shape[0] + # c if n = nmax, sinf(x) is an interpolating spline. + # c if n=nmax we locate the knots as for interpolation. + if n >= nmax: + t = _not_a_knot(x, k) + yield t + return + + # c if n=nest we cannot increase the number of knots because of + # c the storage capacity limitation. + if n >= nest: + yield t + return + + # recompute if needed + if j < nplus - 1: + residuals = _get_residuals(x, y, t, k, w=w) + + # this should never be reached + return + + +# cccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccc +# c part 2: determination of the smoothing spline sp(x). c +# c *************************************************** c +# c we have determined the number of knots and their position. c +# c we now compute the b-spline coefficients of the smoothing spline c +# c sp(x). the observation matrix a is extended by the rows of matrix c +# c b expressing that the kth derivative discontinuities of sp(x) at c +# c the interior knots t(k+2),...t(n-k-1) must be zero. the corres- c +# c ponding weights of these additional rows are set to 1/p. c +# c iteratively we then have to determine the value of p such that c +# c f(p)=sum((w(i)*(y(i)-sp(x(i))))**2) be = s. we already know that c +# c the least-squares kth degree polynomial corresponds to p=0, and c +# c that the least-squares spline corresponds to p=infinity. the c +# c iteration process which is proposed here, makes use of rational c +# c interpolation. since f(p) is a convex and strictly decreasing c +# c function of p, it can be approximated by a rational function c +# c r(p) = (u*p+v)/(p+w). three values of p(p1,p2,p3) with correspond- c +# c ing values of f(p) (f1=f(p1)-s,f2=f(p2)-s,f3=f(p3)-s) are used c +# c to calculate the new value of p such that r(p)=s. convergence is c +# c guaranteed by taking f1>0 and f3<0. c +# cccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccc + + +def prodd(t, i, j, k): + res = 1.0 + for s in range(k+2): + if i + s != j: + res *= (t[j] - t[i+s]) + return res + + +def disc(t, k): + """Discontinuity matrix: jumps of k-th derivatives of b-splines at internal knots. + + See Eqs. (9)-(10) of Ref. [1], or, equivalently, Eq. (3.43) of Ref. [2]. + + This routine assumes internal knots are all simple (have multiplicity =1). + + Parameters + ---------- + t : ndarray, 1D, shape(n,) + Knots. + k : int + The spline degree + + Returns + ------- + disc : ndarray, shape(n-2*k-1, k+2) + The jumps of the k-th derivatives of b-splines at internal knots, + ``t[k+1], ...., t[n-k-1]``. + offset : ndarray, shape(2-2*k-1,) + Offsets + nc : int + + Notes + ----- + + The normalization here follows FITPACK: + (https://github.com/scipy/scipy/blob/maintenance/1.11.x/scipy/interpolate/fitpack/fpdisc.f#L36) + + The k-th derivative jumps are multiplied by a factor:: + + (delta / nrint)**k / k! + + where ``delta`` is the length of the interval spanned by internal knots, and + ``nrint`` is one less the number of internal knots (i.e., the number of + subintervals between them). + + References + ---------- + .. [1] Paul Dierckx, Algorithms for smoothing data with periodic and parametric + splines, Computer Graphics and Image Processing, vol. 20, p. 171 (1982). + :doi:`10.1016/0146-664X(82)90043-0` + + .. [2] Tom Lyche and Knut Morken, Spline methods, + http://www.uio.no/studier/emner/matnat/ifi/INF-MAT5340/v05/undervisningsmateriale/ + + """ + n = t.shape[0] + + # the length of the base interval spanned by internal knots & the number + # of subintervas between these internal knots + delta = t[n - k - 1] - t[k] + nrint = n - 2*k - 1 + + matr = np.empty((nrint - 1, k + 2), dtype=float) + for jj in range(nrint - 1): + j = jj + k + 1 + for ii in range(k + 2): + i = jj + ii + matr[jj, ii] = (t[i + k + 1] - t[i]) / prodd(t, i, j, k) + # NB: equivalent to + # row = [(t[i + k + 1] - t[i]) / prodd(t, i, j, k) for i in range(j-k-1, j+1)] + # assert (matr[j-k-1, :] == row).all() + + # follow FITPACK + matr *= (delta/ nrint)**k + + # make it packed + offset = np.array([i for i in range(nrint-1)], dtype=np.int64) + nc = n - k - 1 + return matr, offset, nc + + +class F: + """ The r.h.s. of ``f(p) = s``. + + Given scalar `p`, we solve the system of equations in the LSQ sense: + + | A | @ | c | = | y | + | B / p | | 0 | | 0 | + + where `A` is the matrix of b-splines and `b` is the discontinuity matrix + (the jumps of the k-th derivatives of b-spline basis elements at knots). + + Since we do that repeatedly while minimizing over `p`, we QR-factorize + `A` only once and update the QR factorization only of the `B` rows of the + augmented matrix |A, B/p|. + + The system of equations is Eq. (15) Ref. [1]_, the strategy and implementation + follows that of FITPACK, see specific links below. + + References + ---------- + [1] P. Dierckx, Algorithms for Smoothing Data with Periodic and Parametric Splines, + COMPUTER GRAPHICS AND IMAGE PROCESSING vol. 20, pp 171-184 (1982.) + https://doi.org/10.1016/0146-664X(82)90043-0 + + """ + def __init__(self, x, y, t, k, s, w=None, *, R=None, Y=None): + self.x = x + self.y = y + self.t = t + self.k = k + w = np.ones_like(x, dtype=float) if w is None else w + if w.ndim != 1: + raise ValueError(f"{w.ndim = } != 1.") + self.w = w + self.s = s + + if y.ndim != 2: + raise ValueError(f"F: expected y.ndim == 2, got {y.ndim = } instead.") + + # ### precompute what we can ### + + # https://github.com/scipy/scipy/blob/maintenance/1.11.x/scipy/interpolate/fitpack/fpcurf.f#L250 + # c evaluate the discontinuity jump of the kth derivative of the + # c b-splines at the knots t(l),l=k+2,...n-k-1 and store in b. + b, b_offset, b_nc = disc(t, k) + + # the QR factorization of the data matrix, if not provided + # NB: otherwise, must be consistent with x,y & s, but this is not checked + if R is None and Y is None: + R, Y, _ = _lsq_solve_qr(x, y, t, k, w) + + # prepare to combine R and the discontinuity matrix (AB); also r.h.s. (YY) + # https://github.com/scipy/scipy/blob/maintenance/1.11.x/scipy/interpolate/fitpack/fpcurf.f#L269 + # c the rows of matrix b with weight 1/p are rotated into the + # c triangularised observation matrix a which is stored in g. + nc = t.shape[0] - k - 1 + nz = k + 1 + if R.shape[1] != nz: + raise ValueError(f"Internal error: {R.shape[1] =} != {k+1 =}.") + + # r.h.s. of the augmented system + z = np.zeros((b.shape[0], Y.shape[1]), dtype=float) + self.YY = np.r_[Y[:nc], z] + + # l.h.s. of the augmented system + AA = np.zeros((nc + b.shape[0], self.k+2), dtype=float) + AA[:nc, :nz] = R[:nc, :] + # AA[nc:, :] = b.a / p # done in __call__(self, p) + self.AA = AA + self.offset = np.r_[np.arange(nc, dtype=np.int64), b_offset] + + self.nc = nc + self.b = b + + def __call__(self, p): + # https://github.com/scipy/scipy/blob/maintenance/1.11.x/scipy/interpolate/fitpack/fpcurf.f#L279 + # c the row of matrix b is rotated into triangle by givens transformation + + # copy the precomputed matrices over for in-place work + # R = PackedMatrix(self.AB.a.copy(), self.AB.offset.copy(), nc) + AB = self.AA.copy() + offset = self.offset.copy() + nc = self.nc + + AB[nc:, :] = self.b / p + QY = self.YY.copy() + + # heavy lifting happens here, in-place + _dierckx.qr_reduce(AB, offset, nc, QY, startrow=nc) + + # solve for the coefficients + c = _dierckx.fpback(AB, nc, QY) + + spl = BSpline(self.t, c, self.k) + residuals = _compute_residuals(self.w**2, spl(self.x), self.y) + fp = residuals.sum() + + self.spl = spl # store it + + return fp - self.s + + +def fprati(p1, f1, p2, f2, p3, f3): + """The root of r(p) = (u*p + v) / (p + w) given three points and values, + (p1, f2), (p2, f2) and (p3, f3). + + The FITPACK analog adjusts the bounds, and we do not + https://github.com/scipy/scipy/blob/maintenance/1.11.x/scipy/interpolate/fitpack/fprati.f + + NB: FITPACK uses p < 0 to encode p=infinity. We just use the infinity itself. + Since the bracket is ``p1 <= p2 <= p3``, ``p3`` can be infinite (in fact, + this is what the minimizer starts with, ``p3=inf``). + """ + h1 = f1 * (f2 - f3) + h2 = f2 * (f3 - f1) + h3 = f3 * (f1 - f2) + if p3 == np.inf: + return -(p2*h1 + p1*h2) / h3 + return -(p1*p2*h3 + p2*p3*h1 + p1*p3*h2) / (p1*h1 + p2*h2 + p3*h3) + + +class Bunch: + def __init__(self, **kwargs): + self.__dict__.update(**kwargs) + + +_iermesg = { +2: """error. a theoretically impossible result was found during +the iteration process for finding a smoothing spline with +fp = s. probably causes : s too small. +there is an approximation returned but the corresponding +weighted sum of squared residuals does not satisfy the +condition abs(fp-s)/s < tol. +""", +3: """error. the maximal number of iterations maxit (set to 20 +by the program) allowed for finding a smoothing spline +with fp=s has been reached. probably causes : s too small +there is an approximation returned but the corresponding +weighted sum of squared residuals does not satisfy the +condition abs(fp-s)/s < tol. +""" +} + + +def root_rati(f, p0, bracket, acc): + """Solve `f(p) = 0` using a rational function approximation. + + In a nutshell, since the function f(p) is known to be monotonically decreasing, we + - maintain the bracket (p1, f1), (p2, f2) and (p3, f3) + - at each iteration step, approximate f(p) by a rational function + r(p) = (u*p + v) / (p + w) + and make a step to p_new to the root of f(p): r(p_new) = 0. + The coefficients u, v and w are found from the bracket values p1..3 and f1...3 + + The algorithm and implementation follows + https://github.com/scipy/scipy/blob/maintenance/1.11.x/scipy/interpolate/fitpack/fpcurf.f#L229 + and + https://github.com/scipy/scipy/blob/maintenance/1.11.x/scipy/interpolate/fitpack/fppara.f#L290 + + Note that the latter is for parametric splines and the former is for 1D spline + functions. The minimization is indentical though [modulo a summation over the + dimensions in the computation of f(p)], so we reuse the minimizer for both + d=1 and d>1. + """ + # Magic values from + # https://github.com/scipy/scipy/blob/maintenance/1.11.x/scipy/interpolate/fitpack/fpcurf.f#L27 + con1 = 0.1 + con9 = 0.9 + con4 = 0.04 + + # bracketing flags (follow FITPACK) + # https://github.com/scipy/scipy/blob/maintenance/1.11.x/scipy/interpolate/fitpack/fppara.f#L365 + ich1, ich3 = 0, 0 + + (p1, f1), (p3, f3) = bracket + p = p0 + + for it in range(MAXIT): + p2, f2 = p, f(p) + + # c test whether the approximation sp(x) is an acceptable solution. + if abs(f2) < acc: + ier, converged = 0, True + break + + # c carry out one more step of the iteration process. + if ich3 == 0: + if f2 - f3 <= acc: + # c our initial choice of p is too large. + p3 = p2 + f3 = f2 + p = p*con4 + if p <= p1: + p = p1*con9 + p2*con1 + continue + else: + if f2 < 0: + ich3 = 1 + + if ich1 == 0: + if f1 - f2 <= acc: + # c our initial choice of p is too small + p1 = p2 + f1 = f2 + p = p/con4 + if p3 != np.inf and p <= p3: + p = p2*con1 + p3*con9 + continue + else: + if f2 > 0: + ich1 = 1 + + # c test whether the iteration process proceeds as theoretically expected. + # [f(p) should be monotonically decreasing] + if f1 <= f2 or f2 <= f3: + ier, converged = 2, False + break + + # actually make the iteration step + p = fprati(p1, f1, p2, f2, p3, f3) + + # c adjust the value of p1,f1,p3 and f3 such that f1 > 0 and f3 < 0. + if f2 < 0: + p3, f3 = p2, f2 + else: + p1, f1 = p2, f2 + + else: + # not converged in MAXIT iterations + ier, converged = 3, False + + if ier != 0: + warnings.warn(RuntimeWarning(_iermesg[ier]), stacklevel=2) + + return Bunch(converged=converged, root=p, iterations=it, ier=ier) + + +def _make_splrep_impl(x, y, *, w=None, xb=None, xe=None, k=3, s=0, t=None, nest=None): + """Shared infra for make_splrep and make_splprep. + """ + acc = s * TOL + m = x.size # the number of data points + + if nest is None: + # the max number of knots. This is set in _fitpack_impl.py line 274 + # and fitpack.pyf line 198 + nest = max(m + k + 1, 2*k + 3) + else: + if nest < 2*(k + 1): + raise ValueError(f"`nest` too small: {nest = } < 2*(k+1) = {2*(k+1)}.") + if t is not None: + raise ValueError("Either supply `t` or `nest`.") + + if t is None: + gen = _generate_knots_impl(x, y, w=w, k=k, s=s, xb=xb, xe=xe, nest=nest) + t = list(gen)[-1] + else: + fpcheck(x, t, k) + + if t.shape[0] == 2 * (k + 1): + # nothing to optimize + _, _, c = _lsq_solve_qr(x, y, t, k, w) + return BSpline(t, c, k) + + ### solve ### + + # c initial value for p. + # https://github.com/scipy/scipy/blob/maintenance/1.11.x/scipy/interpolate/fitpack/fpcurf.f#L253 + R, Y, _ = _lsq_solve_qr(x, y, t, k, w) + nc = t.shape[0] -k -1 + p = nc / R[:, 0].sum() + + # ### bespoke solver #### + # initial conditions + # f(p=inf) : LSQ spline with knots t (XXX: reuse R, c) + residuals = _get_residuals(x, y, t, k, w=w) + fp = residuals.sum() + fpinf = fp - s + + # f(p=0): LSQ spline without internal knots + residuals = _get_residuals(x, y, np.array([xb]*(k+1) + [xe]*(k+1)), k, w) + fp0 = residuals.sum() + fp0 = fp0 - s + + # solve + bracket = (0, fp0), (np.inf, fpinf) + f = F(x, y, t, k=k, s=s, w=w, R=R, Y=Y) + _ = root_rati(f, p, bracket, acc) + + # solve ALTERNATIVE: is roughly equivalent, gives slightly different results + # starting from scratch, that would have probably been tolerable; + # backwards compatibility dictates that we replicate the FITPACK minimizer though. + # f = F(x, y, t, k=k, s=s, w=w, R=R, Y=Y) + # from scipy.optimize import root_scalar + # res_ = root_scalar(f, x0=p, rtol=acc) + # assert res_.converged + + # f.spl is the spline corresponding to the found `p` value + return f.spl + + +def make_splrep(x, y, *, w=None, xb=None, xe=None, k=3, s=0, t=None, nest=None): + r"""Find the B-spline representation of a 1D function. + + Given the set of data points ``(x[i], y[i])``, determine a smooth spline + approximation of degree ``k`` on the interval ``xb <= x <= xe``. + + Parameters + ---------- + x, y : array_like, shape (m,) + The data points defining a curve ``y = f(x)``. + w : array_like, shape (m,), optional + Strictly positive 1D array of weights, of the same length as `x` and `y`. + The weights are used in computing the weighted least-squares spline + fit. If the errors in the y values have standard-deviation given by the + vector ``d``, then `w` should be ``1/d``. + Default is ``np.ones(m)``. + xb, xe : float, optional + The interval to fit. If None, these default to ``x[0]`` and ``x[-1]``, + respectively. + k : int, optional + The degree of the spline fit. It is recommended to use cubic splines, + ``k=3``, which is the default. Even values of `k` should be avoided, + especially with small `s` values. + s : float, optional + The smoothing condition. The amount of smoothness is determined by + satisfying the conditions:: + + sum((w * (g(x) - y))**2 ) <= s + + where ``g(x)`` is the smoothed fit to ``(x, y)``. The user can use `s` + to control the tradeoff between closeness to data and smoothness of fit. + Larger `s` means more smoothing while smaller values of `s` indicate less + smoothing. + Recommended values of `s` depend on the weights, `w`. If the weights + represent the inverse of the standard deviation of `y`, then a good `s` + value should be found in the range ``(m-sqrt(2*m), m+sqrt(2*m))`` where + ``m`` is the number of datapoints in `x`, `y`, and `w`. + Default is ``s = 0.0``, i.e. interpolation. + t : array_like, optional + The spline knots. If None (default), the knots will be constructed + automatically. + There must be at least ``2*k + 2`` and at most ``m + k + 1`` knots. + nest : int, optional + The target length of the knot vector. Should be between ``2*(k + 1)`` + (the minimum number of knots for a degree-``k`` spline), and + ``m + k + 1`` (the number of knots of the interpolating spline). + The actual number of knots returned by this routine may be slightly + larger than `nest`. + Default is None (no limit, add up to ``m + k + 1`` knots). + + Returns + ------- + spl : a `BSpline` instance + For `s=0`, ``spl(x) == y``. + For non-zero values of `s` the `spl` represents the smoothed approximation + to `(x, y)`, generally with fewer knots. + + See Also + -------- + generate_knots : is used under the hood for generating the knots + make_splprep : the analog of this routine for parametric curves + make_interp_spline : construct an interpolating spline (``s = 0``) + make_lsq_spline : construct the least-squares spline given the knot vector + splrep : a FITPACK analog of this routine + + References + ---------- + .. [1] P. Dierckx, "Algorithms for smoothing data with periodic and + parametric splines, Computer Graphics and Image Processing", + 20 (1982) 171-184. + .. [2] P. Dierckx, "Curve and surface fitting with splines", Monographs on + Numerical Analysis, Oxford University Press, 1993. + + Notes + ----- + This routine constructs the smoothing spline function, :math:`g(x)`, to + minimize the sum of jumps, :math:`D_j`, of the ``k``-th derivative at the + internal knots (:math:`x_b < t_i < x_e`), where + + .. math:: + + D_i = g^{(k)}(t_i + 0) - g^{(k)}(t_i - 0) + + Specifically, the routine constructs the spline function :math:`g(x)` which + minimizes + + .. math:: + + \sum_i | D_i |^2 \to \mathrm{min} + + provided that + + .. math:: + + \sum_{j=1}^m (w_j \times (g(x_j) - y_j))^2 \leqslant s , + + where :math:`s > 0` is the input parameter. + + In other words, we balance maximizing the smoothness (measured as the jumps + of the derivative, the first criterion), and the deviation of :math:`g(x_j)` + from the data :math:`y_j` (the second criterion). + + Note that the summation in the second criterion is over all data points, + and in the first criterion it is over the internal spline knots (i.e. + those with ``xb < t[i] < xe``). The spline knots are in general a subset + of data, see `generate_knots` for details. + + Also note the difference of this routine to `make_lsq_spline`: the latter + routine does not consider smoothness and simply solves a least-squares + problem + + .. math:: + + \sum w_j \times (g(x_j) - y_j)^2 \to \mathrm{min} + + for a spline function :math:`g(x)` with a _fixed_ knot vector ``t``. + + .. versionadded:: 1.15.0 + """ + if s == 0: + if t is not None or w is not None or nest is not None: + raise ValueError("s==0 is for interpolation only") + return make_interp_spline(x, y, k=k) + + x, y, w, k, s, xb, xe = _validate_inputs(x, y, w, k, s, xb, xe, parametric=False) + + spl = _make_splrep_impl(x, y, w=w, xb=xb, xe=xe, k=k, s=s, t=t, nest=nest) + + # postprocess: squeeze out the last dimension: was added to simplify the internals. + spl.c = spl.c[:, 0] + return spl + + +def make_splprep(x, *, w=None, u=None, ub=None, ue=None, k=3, s=0, t=None, nest=None): + r""" + Find a smoothed B-spline representation of a parametric N-D curve. + + Given a list of N 1D arrays, `x`, which represent a curve in + N-dimensional space parametrized by `u`, find a smooth approximating + spline curve ``g(u)``. + + Parameters + ---------- + x : array_like, shape (m, ndim) + Sampled data points representing the curve in ``ndim`` dimensions. + The typical use is a list of 1D arrays, each of length ``m``. + w : array_like, shape(m,), optional + Strictly positive 1D array of weights. + The weights are used in computing the weighted least-squares spline + fit. If the errors in the `x` values have standard deviation given by + the vector d, then `w` should be 1/d. Default is ``np.ones(m)``. + u : array_like, optional + An array of parameter values for the curve in the parametric form. + If not given, these values are calculated automatically, according to:: + + v[0] = 0 + v[i] = v[i-1] + distance(x[i], x[i-1]) + u[i] = v[i] / v[-1] + + ub, ue : float, optional + The end-points of the parameters interval. Default to ``u[0]`` and ``u[-1]``. + k : int, optional + Degree of the spline. Cubic splines, ``k=3``, are recommended. + Even values of `k` should be avoided especially with a small ``s`` value. + Default is ``k=3`` + s : float, optional + A smoothing condition. The amount of smoothness is determined by + satisfying the conditions:: + + sum((w * (g(u) - x))**2) <= s, + + where ``g(u)`` is the smoothed approximation to ``x``. The user can + use `s` to control the trade-off between closeness and smoothness + of fit. Larger ``s`` means more smoothing while smaller values of ``s`` + indicate less smoothing. + Recommended values of ``s`` depend on the weights, ``w``. If the weights + represent the inverse of the standard deviation of ``x``, then a good + ``s`` value should be found in the range ``(m - sqrt(2*m), m + sqrt(2*m))``, + where ``m`` is the number of data points in ``x`` and ``w``. + t : array_like, optional + The spline knots. If None (default), the knots will be constructed + automatically. + There must be at least ``2*k + 2`` and at most ``m + k + 1`` knots. + nest : int, optional + The target length of the knot vector. Should be between ``2*(k + 1)`` + (the minimum number of knots for a degree-``k`` spline), and + ``m + k + 1`` (the number of knots of the interpolating spline). + The actual number of knots returned by this routine may be slightly + larger than `nest`. + Default is None (no limit, add up to ``m + k + 1`` knots). + + Returns + ------- + spl : a `BSpline` instance + For `s=0`, ``spl(u) == x``. + For non-zero values of ``s``, `spl` represents the smoothed approximation + to ``x``, generally with fewer knots. + u : ndarray + The values of the parameters + + See Also + -------- + generate_knots : is used under the hood for generating the knots + make_splrep : the analog of this routine 1D functions + make_interp_spline : construct an interpolating spline (``s = 0``) + make_lsq_spline : construct the least-squares spline given the knot vector + splprep : a FITPACK analog of this routine + + Notes + ----- + Given a set of :math:`m` data points in :math:`D` dimensions, :math:`\vec{x}_j`, + with :math:`j=1, ..., m` and :math:`\vec{x}_j = (x_{j; 1}, ..., x_{j; D})`, + this routine constructs the parametric spline curve :math:`g_a(u)` with + :math:`a=1, ..., D`, to minimize the sum of jumps, :math:`D_{i; a}`, of the + ``k``-th derivative at the internal knots (:math:`u_b < t_i < u_e`), where + + .. math:: + + D_{i; a} = g_a^{(k)}(t_i + 0) - g_a^{(k)}(t_i - 0) + + Specifically, the routine constructs the spline function :math:`g(u)` which + minimizes + + .. math:: + + \sum_i \sum_{a=1}^D | D_{i; a} |^2 \to \mathrm{min} + + provided that + + .. math:: + + \sum_{j=1}^m \sum_{a=1}^D (w_j \times (g_a(u_j) - x_{j; a}))^2 \leqslant s + + where :math:`u_j` is the value of the parameter corresponding to the data point + :math:`(x_{j; 1}, ..., x_{j; D})`, and :math:`s > 0` is the input parameter. + + In other words, we balance maximizing the smoothness (measured as the jumps + of the derivative, the first criterion), and the deviation of :math:`g(u_j)` + from the data :math:`x_j` (the second criterion). + + Note that the summation in the second criterion is over all data points, + and in the first criterion it is over the internal spline knots (i.e. + those with ``ub < t[i] < ue``). The spline knots are in general a subset + of data, see `generate_knots` for details. + + .. versionadded:: 1.15.0 + + References + ---------- + .. [1] P. Dierckx, "Algorithms for smoothing data with periodic and + parametric splines, Computer Graphics and Image Processing", + 20 (1982) 171-184. + .. [2] P. Dierckx, "Curve and surface fitting with splines", Monographs on + Numerical Analysis, Oxford University Press, 1993. + """ + x = np.stack(x, axis=1) + + # construct the default parametrization of the curve + if u is None: + dp = (x[1:, :] - x[:-1, :])**2 + u = np.sqrt((dp).sum(axis=1)).cumsum() + u = np.r_[0, u / u[-1]] + + if s == 0: + if t is not None or w is not None or nest is not None: + raise ValueError("s==0 is for interpolation only") + return make_interp_spline(u, x.T, k=k, axis=1), u + + u, x, w, k, s, ub, ue = _validate_inputs(u, x, w, k, s, ub, ue, parametric=True) + + spl = _make_splrep_impl(u, x, w=w, xb=ub, xe=ue, k=k, s=s, t=t, nest=nest) + + # posprocess: `axis=1` so that spl(u).shape == np.shape(x) + # when `x` is a list of 1D arrays (cf original splPrep) + cc = spl.c.T + spl1 = BSpline(spl.t, cc, spl.k, axis=1) + + return spl1, u + diff --git a/shared/package-files/45/4569405f1d75215c5fe7fcf5b206dd70d20f4d5c6b53ab0009fc6ff01a367b00/__init__.py b/shared/package-files/45/4569405f1d75215c5fe7fcf5b206dd70d20f4d5c6b53ab0009fc6ff01a367b00/__init__.py new file mode 100644 index 0000000000000000000000000000000000000000..b11079e0f59ae80e8f517529d6603d8d407195e8 --- /dev/null +++ b/shared/package-files/45/4569405f1d75215c5fe7fcf5b206dd70d20f4d5c6b53ab0009fc6ff01a367b00/__init__.py @@ -0,0 +1,234 @@ +import struct + +import numpy as np +from numba.core import utils +import ctypes + +from .abstract import * +from .containers import * +from .functions import * +from .iterators import * +from .misc import * +from .npytypes import * +from .scalars import * +from .function_type import * + +numpy_version = tuple(map(int, np.__version__.split('.')[:2])) + +# Short names + +pyobject = PyObject('pyobject') +ffi_forced_object = Opaque('ffi_forced_object') +ffi = Opaque('ffi') +none = NoneType('none') +ellipsis = EllipsisType('...') +Any = Phantom('any') +undefined = Undefined('undefined') +py2_string_type = Opaque('str') +unicode_type = UnicodeType('unicode_type') +string = unicode_type +unknown = Dummy('unknown') +npy_rng = NumPyRandomGeneratorType('rng') +npy_bitgen = NumPyRandomBitGeneratorType('bitgen') + +# _undef_var is used to represent undefined variables in the type system. +_undef_var = UndefVar('_undef_var') + +code_type = Opaque('code') +pyfunc_type = Opaque('pyfunc') + +# No operation is defined on voidptr +# Can only pass it around +voidptr = RawPointer('void*') + +# optional types +optional = Optional +deferred_type = DeferredType +slice2_type = SliceType('slice', 2) +slice3_type = SliceType('slice', 3) +void = none + +# Need to ignore mypy errors because mypy cannot unify types for both +# the type systems even if they're logically mutually exclusive. +# mypy: ignore-errors + + +boolean = bool_ = Boolean('bool') +if numpy_version >= (2, 0): + bool = bool_ + +byte = uint8 = Integer('uint8') +uint16 = Integer('uint16') +uint32 = Integer('uint32') +uint64 = Integer('uint64') + +int8 = Integer('int8') +int16 = Integer('int16') +int32 = Integer('int32') +int64 = Integer('int64') +intp = int32 if utils.MACHINE_BITS == 32 else int64 +uintp = uint32 if utils.MACHINE_BITS == 32 else uint64 +intc = int32 if struct.calcsize('i') == 4 else int64 +uintc = uint32 if struct.calcsize('I') == 4 else uint64 +ssize_t = int32 if struct.calcsize('n') == 4 else int64 +size_t = uint32 if struct.calcsize('N') == 4 else uint64 + +float32 = Float('float32') +float64 = Float('float64') +float16 = Float('float16') + +complex64 = Complex('complex64', float32) +complex128 = Complex('complex128', float64) + +range_iter32_type = RangeIteratorType(int32) +range_iter64_type = RangeIteratorType(int64) +unsigned_range_iter64_type = RangeIteratorType(uint64) +range_state32_type = RangeType(int32) +range_state64_type = RangeType(int64) +unsigned_range_state64_type = RangeType(uint64) + +signed_domain = frozenset([int8, int16, int32, int64]) +unsigned_domain = frozenset([uint8, uint16, uint32, uint64]) +integer_domain = signed_domain | unsigned_domain +real_domain = frozenset([float32, float64]) +complex_domain = frozenset([complex64, complex128]) +number_domain = real_domain | integer_domain | complex_domain + +# Integer Aliases +c_bool = py_bool = np_bool_ = boolean + +c_uint8 = np_uint8 = uint8 +c_uint16 = np_uint16 = uint16 +c_uint32 = np_uint32 = uint32 +c_uint64 = np_uint64 = uint64 +c_uintp = np_uintp = uintp + +c_int8 = np_int8 = int8 +c_int16 = np_int16 = int16 +c_int32 = np_int32 = int32 +c_int64 = np_int64 = int64 +c_intp = py_int = np_intp = intp + +c_float16 = np_float16 = float16 +c_float32 = np_float32 = float32 +c_float64 = py_float = np_float64 = float64 + +np_complex64 = complex64 +py_complex = np_complex128 = complex128 + +# Domain Aliases +py_signed_domain = np_signed_domain = signed_domain +np_unsigned_domain = unsigned_domain +py_integer_domain = np_integer_domain = integer_domain +py_real_domain = np_real_domain = real_domain +py_complex_domain = np_complex_domain = complex_domain +py_number_domain = np_number_domain = number_domain + +# Aliases to NumPy type names + +b1 = bool_ +i1 = int8 +i2 = int16 +i4 = int32 +i8 = int64 +u1 = uint8 +u2 = uint16 +u4 = uint32 +u8 = uint64 + +f2 = float16 +f4 = float32 +f8 = float64 + +c8 = complex64 +c16 = complex128 + +np_float_ = float32 +np_double = double = float64 +if numpy_version < (2, 0): + float_ = float32 + +_make_signed = lambda x: globals()["int%d" % (ctypes.sizeof(x) * 8)] +_make_unsigned = lambda x: globals()["uint%d" % (ctypes.sizeof(x) * 8)] + +char = np_char = _make_signed(ctypes.c_char) +uchar = np_uchar = byte = _make_unsigned(ctypes.c_ubyte) +short = np_short = _make_signed(ctypes.c_short) +ushort = np_ushort = _make_unsigned(ctypes.c_ushort) +int_ = np_int_ = np_intp +uint = np_uint = np_uintp +intc = np_intc = _make_signed(ctypes.c_int) # C-compat int +uintc = np_uintc = _make_unsigned(ctypes.c_uint) # C-compat uint +long_ = np_long = _make_signed(ctypes.c_long) # C-compat long +ulong = np_ulong = _make_unsigned(ctypes.c_ulong) # C-compat ulong +longlong = np_longlong = _make_signed(ctypes.c_longlong) +ulonglong = np_ulonglong = _make_unsigned(ctypes.c_ulonglong) + +# This is equivalent to NumPy's `np.dtype('U1').itemsize`, +# which is the size of a single Unicode character in bytes. + +# We can't keep this as `ctypes.c_wchar` because its size +# is platform-dependent (2 bytes on Windows, 4 bytes on Unix). +sizeof_unicode_char = ctypes.sizeof(ctypes.c_byte) * 4 + +all_str = ''' +int8 +int16 +int32 +int64 +uint8 +uint16 +uint32 +uint64 +intp +uintp +intc +uintc +ssize_t +size_t +boolean +float32 +float64 +complex64 +complex128 +bool_ +byte +char +uchar +short +ushort +int_ +uint +long_ +ulong +longlong +ulonglong +float_ +double +void +none +b1 +i1 +i2 +i4 +i8 +u1 +u2 +u4 +u8 +f4 +f8 +c8 +c16 +optional +ffi_forced_object +ffi +deferred_type +''' + +__all__ = all_str.split() +if numpy_version >= (2, 0): + __all__.remove('float_') + __all__.append('bool') + +from numba.np.types.datetime import NPDatetime, NPTimedelta diff --git a/shared/package-files/45/4569e25d8a6d10deb98a9fc56461e7776e51bee8df1d29a14994968a81f4c58f/zenburn.py b/shared/package-files/45/4569e25d8a6d10deb98a9fc56461e7776e51bee8df1d29a14994968a81f4c58f/zenburn.py new file mode 100644 index 0000000000000000000000000000000000000000..35d5ec5279212a29d8b41680b53c56e1c14a230a --- /dev/null +++ b/shared/package-files/45/4569e25d8a6d10deb98a9fc56461e7776e51bee8df1d29a14994968a81f4c58f/zenburn.py @@ -0,0 +1,78 @@ +""" + pygments.styles.zenburn + ~~~~~~~~~~~~~~~~~~~~~~~ + + Low contrast color scheme Zenburn. + + See: https://kippura.org/zenburnpage/ + https://github.com/jnurmine/Zenburn + + :copyright: Copyright 2006-2023 by the Pygments team, see AUTHORS. + :license: BSD, see LICENSE for details. +""" + +from pygments.style import Style +from pygments.token import Token, Name, Operator, Keyword, Generic, Comment, \ + Number, String, Literal, Punctuation, Error + + +class ZenburnStyle(Style): + """ + Low contrast Zenburn style. + """ + + background_color = '#3f3f3f' + highlight_color = '#484848' + line_number_color = '#5d6262' + line_number_background_color = '#353535' + line_number_special_color = '#7a8080' + line_number_special_background_color = '#353535' + + styles = { + Token: '#dcdccc', + Error: '#e37170 bold', + + Keyword: '#efdcbc', + Keyword.Type: '#dfdfbf bold', + Keyword.Constant: '#dca3a3', + Keyword.Declaration: '#f0dfaf', + Keyword.Namespace: '#f0dfaf', + + Name: '#dcdccc', + Name.Tag: '#e89393 bold', + Name.Entity: '#cfbfaf', + Name.Constant: '#dca3a3', + Name.Class: '#efef8f', + Name.Function: '#efef8f', + Name.Builtin: '#efef8f', + Name.Builtin.Pseudo: '#dcdccc', + Name.Attribute: '#efef8f', + Name.Exception: '#c3bf9f bold', + + Literal: '#9fafaf', + + String: '#cc9393', + String.Doc: '#7f9f7f', + String.Interpol: '#dca3a3 bold', + + Number: '#8cd0d3', + Number.Float: '#c0bed1', + + Operator: '#f0efd0', + + Punctuation: '#f0efd0', + + Comment: '#7f9f7f italic', + Comment.Preproc: '#dfaf8f bold', + Comment.PreprocFile: '#cc9393', + Comment.Special: '#dfdfdf bold', + + Generic: '#ecbcbc bold', + Generic.Emph: '#ffffff bold', + Generic.Output: '#5b605e bold', + Generic.Heading: '#efefef bold', + Generic.Deleted: '#c3bf9f bg:#313c36', + Generic.Inserted: '#709080 bg:#313c36 bold', + Generic.Traceback: '#80d4aa bg:#2f2f2f bold', + Generic.Subheading: '#efefef bold', + } diff --git a/shared/package-files/45/456ae3c9b13e6e304ee6052c0140db475bc61d8728f6bf127f68be4c6ec1b549/Metaprogramming.h b/shared/package-files/45/456ae3c9b13e6e304ee6052c0140db475bc61d8728f6bf127f68be4c6ec1b549/Metaprogramming.h new file mode 100644 index 0000000000000000000000000000000000000000..d759da7a2a4e7312462e00541de0116a6d4dc4fb --- /dev/null +++ b/shared/package-files/45/456ae3c9b13e6e304ee6052c0140db475bc61d8728f6bf127f68be4c6ec1b549/Metaprogramming.h @@ -0,0 +1,224 @@ +#pragma once + +#include +#include + +namespace c10::guts { + +/** + * Access information about result type or arguments from a function type. + * Example: + * using A = function_traits::return_type // A == int + * using A = function_traits::parameter_types::tuple_type + * // A == tuple + */ +template +struct function_traits { + static_assert( + !std::is_same_v, + "In function_traits, Func must be a plain function type."); +}; +template +struct function_traits { + using func_type = Result(Args...); + using return_type = Result; + using parameter_types = typelist::typelist; + static constexpr auto number_of_parameters = sizeof...(Args); +}; + +/** + * infer_function_traits: creates a `function_traits` type for a simple + * function (pointer) or functor (lambda/struct). Currently does not support + * class methods. + */ + +template +struct infer_function_traits { + using type = function_traits< + c10::guts::detail::strip_class_t>; +}; + +template +struct infer_function_traits { + using type = function_traits; +}; + +template +struct infer_function_traits { + using type = function_traits; +}; + +template +using infer_function_traits_t = typename infer_function_traits::type; + +/** + * make_function_traits: creates a `function_traits` type given a Return type + * and a typelist of Argument types + * + * Example: + * bool f(int, int); + * + * infer_function_traits_t == make_function_traits_t> + */ +template +struct make_function_traits { + static_assert( + false_t::value, + "In guts::make_function_traits, the ArgList argument must be typelist<...>."); +}; + +template +struct make_function_traits> { + using type = function_traits; +}; + +template +using make_function_traits_t = + typename make_function_traits::type; + +/** + * make_offset_index_sequence + * Like make_index_sequence, but starting from Start instead of 0. + * + * Example: + * make_offset_index_sequence<10, 3> == std::index_sequence<10, 11, 12> + */ +template +struct make_offset_index_sequence_impl + : make_offset_index_sequence_impl { + static_assert( + static_cast(Start) >= 0, + "make_offset_index_sequence: Start < 0"); + static_assert(static_cast(N) >= 0, "make_offset_index_sequence: N < 0"); +}; + +template +struct make_offset_index_sequence_impl { + typedef std::index_sequence type; +}; + +template +using make_offset_index_sequence = + typename make_offset_index_sequence_impl::type; + +/** + * Use tuple_elements to extract a position-indexed subset of elements + * from the argument tuple into a result tuple. + * + * Example: + * std::tuple t = std::make_tuple(0, "HEY", 2.0); + * std::tuple result = tuple_elements(t, std::index_sequence<0, + * 2>()); + */ +template +constexpr auto tuple_elements(Tuple t, std::index_sequence) { + return std::tuple...>(std::get(t)...); +} + +/** + * Use tuple_take to extract the first or last n elements from the argument + * tuple into a result tuple. + * + * Example: + * std::tuple t = std::make_tuple(0, "HEY", 2.0); + * std::tuple first_two = tuple_take(t); + * std::tuple last_two = tuple_take(t); + */ +template +struct TupleTake {}; + +template +struct TupleTake= 0, void>> { + static auto call(Tuple t) { + constexpr size_t size = std::tuple_size(); + static_assert(N <= size, "tuple_take: N > size"); + return tuple_elements(t, std::make_index_sequence{}); + } +}; + +template + struct TupleTake < Tuple, + N, std::enable_if_t> { + static auto call(Tuple t) { + constexpr size_t size = std::tuple_size(); + static_assert(-N <= size, "tuple_take: -N > size"); + return tuple_elements(t, make_offset_index_sequence{}); + } +}; + +template +auto tuple_take(Tuple t) { + return TupleTake::call(t); +} + +/** + * Use tuple_slice to extract a contiguous subtuple from the argument. + * + * Example: + * std::tuple t = std::make_tuple(0, + * "HEY", 2.0, false); std::tuple middle_two = + * tuple_slice(t); + */ +template +constexpr auto tuple_slice(Tuple t) { + constexpr size_t size = std::tuple_size(); + static_assert(Start + N <= size, "tuple_slice: Start + N > size"); + return tuple_elements(t, make_offset_index_sequence{}); +} + +/** + * Use tuple_map to run a mapping function over a tuple to get a new tuple. + * + * Example 1: + * auto result = tuple_map(std::tuple(3, 4, 5), [] + * (int32_t a) -> int16_t {return a+1;}); + * // result == std::tuple(4, 5, 6) + * + * Example 2: + * struct Mapper { + * std::string operator()(int32_t a) const { + * return std::to_string(a); + * } + * int64_t operator()(const std::string& a) const { + * return atoi(a.c_str()); + * } + * }; + * auto result = tuple_map(std::tuple(3, "4"), + * Mapper()); + * // result == std::tuple("3", 4) + * + * Example 3: + * struct A final { + * int32_t func() { + * return 5; + * } + * }; + * struct B final { + * std::string func() { + * return "5"; + * } + * }; + * auto result = tuple_map(std::make_tuple(A(), B()), [] (auto a) { return + * a.func(); }); + * // result == std::tuple(5, "5"); + */ +namespace detail { +template +auto tuple_map( + // NOLINTNEXTLINE(cppcoreguidelines-rvalue-reference-param-not-moved) + std::tuple&& tuple, + const Mapper& mapper, + std::index_sequence) { + return std::tuple(std::get( + tuple))))...>(mapper(std::forward(std::get(tuple)))...); +} +} // namespace detail + +template +auto tuple_map(std::tuple&& tuple, const Mapper& mapper) { + return detail::tuple_map( + std::move(tuple), mapper, std::index_sequence_for()); +} + +} // namespace c10::guts diff --git a/shared/package-files/45/456ae43648bec15ed7f9ca1ed15bee7c17ba2eb595a643c98226b94106049c1a/GMT+4 b/shared/package-files/45/456ae43648bec15ed7f9ca1ed15bee7c17ba2eb595a643c98226b94106049c1a/GMT+4 new file mode 100644 index 0000000000000000000000000000000000000000..5a25ff2a6afda2cb09b9e147ad20610bc1923444 Binary files /dev/null and b/shared/package-files/45/456ae43648bec15ed7f9ca1ed15bee7c17ba2eb595a643c98226b94106049c1a/GMT+4 differ diff --git a/shared/package-files/45/4574362856d50f1fe88f2d4fe97e5425edb7b9ebf9c3cf6c602ec2a35b380a69/igamma_compositeexplicitautogradnonfunctional_dispatch.h b/shared/package-files/45/4574362856d50f1fe88f2d4fe97e5425edb7b9ebf9c3cf6c602ec2a35b380a69/igamma_compositeexplicitautogradnonfunctional_dispatch.h new file mode 100644 index 0000000000000000000000000000000000000000..993156e810d1e7fb1576fda00cf1855602473f28 --- /dev/null +++ b/shared/package-files/45/4574362856d50f1fe88f2d4fe97e5425edb7b9ebf9c3cf6c602ec2a35b380a69/igamma_compositeexplicitautogradnonfunctional_dispatch.h @@ -0,0 +1,24 @@ +#pragma once +// @generated by torchgen/gen.py from DispatchKeyFunction.h + +// NB: The implementing C++ file is RegisterDispatchKey.cpp + +// The only #includes we need are for custom classes that have defaults in the C++ API +#include +#include +#include + +// Forward declarations of any types needed in the operator signatures. +// We can't directly include these classes because it will cause circular include dependencies. +// This file is included by TensorBody.h, which defines the Tensor class. +#include + +namespace at { + +namespace compositeexplicitautogradnonfunctional { + +TORCH_API at::Tensor igamma(const at::Tensor & self, const at::Tensor & other); +TORCH_API at::Tensor & igamma_(at::Tensor & self, const at::Tensor & other); + +} // namespace compositeexplicitautogradnonfunctional +} // namespace at diff --git a/shared/package-files/45/45745015c7f95889982f4b1ed86522387af2bf56fc323911b6b9557f82d4c018/_prelu_kernel_backward.h b/shared/package-files/45/45745015c7f95889982f4b1ed86522387af2bf56fc323911b6b9557f82d4c018/_prelu_kernel_backward.h new file mode 100644 index 0000000000000000000000000000000000000000..88e6f5463126569b1f2eee165bf3d6001d031592 --- /dev/null +++ b/shared/package-files/45/45745015c7f95889982f4b1ed86522387af2bf56fc323911b6b9557f82d4c018/_prelu_kernel_backward.h @@ -0,0 +1,30 @@ +#pragma once + +// @generated by torchgen/gen.py from Function.h + +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include + + + +#include + +namespace at { + + +// aten::_prelu_kernel_backward(Tensor grad_output, Tensor self, Tensor weight) -> (Tensor, Tensor) +inline ::std::tuple _prelu_kernel_backward(const at::Tensor & grad_output, const at::Tensor & self, const at::Tensor & weight) { + return at::_ops::_prelu_kernel_backward::call(grad_output, self, weight); +} + +} diff --git a/shared/package-files/45/457516f031cdb469ac267711e646a5151d4e95208c5c00f8db194e7c7c087455/recvrpc_backward.h b/shared/package-files/45/457516f031cdb469ac267711e646a5151d4e95208c5c00f8db194e7c7c087455/recvrpc_backward.h new file mode 100644 index 0000000000000000000000000000000000000000..6e6678b1289859eb162a96ccd3063d94a9e5e0fe --- /dev/null +++ b/shared/package-files/45/457516f031cdb469ac267711e646a5151d4e95208c5c00f8db194e7c7c087455/recvrpc_backward.h @@ -0,0 +1,49 @@ +#pragma once + +#include +#include +#include +#include + +namespace torch { +namespace distributed { +namespace autograd { + +// Forward declarations. +class DistAutogradContext; + +// As part of our distributed autograd implementation, whenever we receive an +// RPC from a node, we add a 'RecvRpcBackward' autograd function to the +// autograd graph. This is more or less a placeholder function that is used to +// pass gradients to the remote host during the backward pass. The inputs to the +// RPC function are the inputs to this autograd function. +class TORCH_API RecvRpcBackward : public torch::autograd::Node { + public: + explicit RecvRpcBackward( + const AutogradMetadata& autogradMetadata, + std::shared_ptr autogradContext, + rpc::worker_id_t fromWorkerId, + rpc::DeviceMap deviceMap); + + torch::autograd::variable_list apply( + torch::autograd::variable_list&& grads) override; + + private: + const AutogradMetadata autogradMetadata_; + + // Hold a weak reference to the autograd context to avoid circular + // dependencies with the context (since it holds a reference to + // RecvRpcBackward). + std::weak_ptr autogradContext_; + + // The worker id from which the RPC was received. During the backward pass, + // we need to propagate the gradients to this workerId. + rpc::worker_id_t fromWorkerId_; + + // Device mapping for tensors sent over RPC. + const rpc::DeviceMap deviceMap_; +}; + +} // namespace autograd +} // namespace distributed +} // namespace torch diff --git a/shared/package-files/45/4576b668b57bf472211fb2c9902170f5d178dc5fa4ce6d2c87ef8eb1169cfca8/fake_quantize_per_channel_affine.h b/shared/package-files/45/4576b668b57bf472211fb2c9902170f5d178dc5fa4ce6d2c87ef8eb1169cfca8/fake_quantize_per_channel_affine.h new file mode 100644 index 0000000000000000000000000000000000000000..d3aabb82c9a37db4669e2861e31407fd5532eed7 --- /dev/null +++ b/shared/package-files/45/4576b668b57bf472211fb2c9902170f5d178dc5fa4ce6d2c87ef8eb1169cfca8/fake_quantize_per_channel_affine.h @@ -0,0 +1,30 @@ +#pragma once + +// @generated by torchgen/gen.py from Function.h + +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include + + + +#include + +namespace at { + + +// aten::fake_quantize_per_channel_affine(Tensor self, Tensor scale, Tensor zero_point, int axis, int quant_min, int quant_max) -> Tensor +inline at::Tensor fake_quantize_per_channel_affine(const at::Tensor & self, const at::Tensor & scale, const at::Tensor & zero_point, int64_t axis, int64_t quant_min, int64_t quant_max) { + return at::_ops::fake_quantize_per_channel_affine::call(self, scale, zero_point, axis, quant_min, quant_max); +} + +} diff --git a/shared/package-files/45/4577715716a2139cf15f96ad425fbb65eb04799563b025c1199e9c25b554f691/Bishkek b/shared/package-files/45/4577715716a2139cf15f96ad425fbb65eb04799563b025c1199e9c25b554f691/Bishkek new file mode 100644 index 0000000000000000000000000000000000000000..fe7832cdf99ed9da3b64e3b8f6c5cd0b8b4c8de7 Binary files /dev/null and b/shared/package-files/45/4577715716a2139cf15f96ad425fbb65eb04799563b025c1199e9c25b554f691/Bishkek differ diff --git a/shared/package-files/45/45787a35c5d1ddbea8368e37c6effb2269faad104849305a9d2c5c98321a2b17/expat-config-version.cmake b/shared/package-files/45/45787a35c5d1ddbea8368e37c6effb2269faad104849305a9d2c5c98321a2b17/expat-config-version.cmake new file mode 100644 index 0000000000000000000000000000000000000000..400ea587fc39e486edaf8028922aefbfe2136fd5 --- /dev/null +++ b/shared/package-files/45/45787a35c5d1ddbea8368e37c6effb2269faad104849305a9d2c5c98321a2b17/expat-config-version.cmake @@ -0,0 +1,70 @@ +# This is a basic version file for the Config-mode of find_package(). +# It is used by write_basic_package_version_file() as input file for configure_file() +# to create a version-file which can be installed along a config.cmake file. +# +# The created file sets PACKAGE_VERSION_EXACT if the current version string and +# the requested version string are exactly the same and it sets +# PACKAGE_VERSION_COMPATIBLE if the current version is >= requested version, +# but only if the requested major version is the same as the current one. +# The variable CVF_VERSION must be set before calling configure_file(). + + +set(PACKAGE_VERSION "2.5.0") + +if(PACKAGE_VERSION VERSION_LESS PACKAGE_FIND_VERSION) + set(PACKAGE_VERSION_COMPATIBLE FALSE) +else() + + if("2.5.0" MATCHES "^([0-9]+)\\.") + set(CVF_VERSION_MAJOR "${CMAKE_MATCH_1}") + if(NOT CVF_VERSION_MAJOR VERSION_EQUAL 0) + string(REGEX REPLACE "^0+" "" CVF_VERSION_MAJOR "${CVF_VERSION_MAJOR}") + endif() + else() + set(CVF_VERSION_MAJOR "2.5.0") + endif() + + if(PACKAGE_FIND_VERSION_RANGE) + # both endpoints of the range must have the expected major version + math (EXPR CVF_VERSION_MAJOR_NEXT "${CVF_VERSION_MAJOR} + 1") + if (NOT PACKAGE_FIND_VERSION_MIN_MAJOR STREQUAL CVF_VERSION_MAJOR + OR ((PACKAGE_FIND_VERSION_RANGE_MAX STREQUAL "INCLUDE" AND NOT PACKAGE_FIND_VERSION_MAX_MAJOR STREQUAL CVF_VERSION_MAJOR) + OR (PACKAGE_FIND_VERSION_RANGE_MAX STREQUAL "EXCLUDE" AND NOT PACKAGE_FIND_VERSION_MAX VERSION_LESS_EQUAL CVF_VERSION_MAJOR_NEXT))) + set(PACKAGE_VERSION_COMPATIBLE FALSE) + elseif(PACKAGE_FIND_VERSION_MIN_MAJOR STREQUAL CVF_VERSION_MAJOR + AND ((PACKAGE_FIND_VERSION_RANGE_MAX STREQUAL "INCLUDE" AND PACKAGE_VERSION VERSION_LESS_EQUAL PACKAGE_FIND_VERSION_MAX) + OR (PACKAGE_FIND_VERSION_RANGE_MAX STREQUAL "EXCLUDE" AND PACKAGE_VERSION VERSION_LESS PACKAGE_FIND_VERSION_MAX))) + set(PACKAGE_VERSION_COMPATIBLE TRUE) + else() + set(PACKAGE_VERSION_COMPATIBLE FALSE) + endif() + else() + if(PACKAGE_FIND_VERSION_MAJOR STREQUAL CVF_VERSION_MAJOR) + set(PACKAGE_VERSION_COMPATIBLE TRUE) + else() + set(PACKAGE_VERSION_COMPATIBLE FALSE) + endif() + + if(PACKAGE_FIND_VERSION STREQUAL PACKAGE_VERSION) + set(PACKAGE_VERSION_EXACT TRUE) + endif() + endif() +endif() + + +# if the installed project requested no architecture check, don't perform the check +if("FALSE") + return() +endif() + +# if the installed or the using project don't have CMAKE_SIZEOF_VOID_P set, ignore it: +if("${CMAKE_SIZEOF_VOID_P}" STREQUAL "" OR "8" STREQUAL "") + return() +endif() + +# check that the installed version has the same 32/64bit-ness as the one which is currently searching: +if(NOT CMAKE_SIZEOF_VOID_P STREQUAL "8") + math(EXPR installedBits "8 * 8") + set(PACKAGE_VERSION "${PACKAGE_VERSION} (${installedBits}bit)") + set(PACKAGE_VERSION_UNSUITABLE TRUE) +endif() diff --git a/shared/package-files/45/457d3392ab450028400b0d9f12efeac62aec1d96c352841da8dec632ad74815c/FractionalMaxPooling.h b/shared/package-files/45/457d3392ab450028400b0d9f12efeac62aec1d96c352841da8dec632ad74815c/FractionalMaxPooling.h new file mode 100644 index 0000000000000000000000000000000000000000..cb5438a03e7084a0278a0257409edf2bcb9c6fc6 --- /dev/null +++ b/shared/package-files/45/457d3392ab450028400b0d9f12efeac62aec1d96c352841da8dec632ad74815c/FractionalMaxPooling.h @@ -0,0 +1,80 @@ +#pragma once +#include +#include +#include + +namespace at::native { + +template +static inline std::vector generate_intervals( + scalar_t sample, + int64_t inputSize, + int64_t outputSize, + int64_t poolSize) { + std::vector sequence(outputSize); + if (outputSize > 1) { + scalar_t alpha = static_cast(inputSize - poolSize) / + static_cast(outputSize - 1); + + for (const auto i : c10::irange(outputSize - 1)) { + sequence[i] = + static_cast((i + sample) * alpha) - static_cast(sample * alpha); + } + } + if (outputSize > 0) { + sequence[outputSize - 1] = inputSize - poolSize; + } + return sequence; +} + +template +static inline void fractional_max_pool_check_shape( + const Tensor& input, + const Tensor& randomSamples) { + + TORCH_CHECK( + input.scalar_type() == randomSamples.scalar_type(), + "Expect _random_samples to have the same dtype as input"); + + int64_t ndimension = randomSamples.ndimension(); + TORCH_CHECK( + ndimension == 3, + "Expect _random_samples to have 3 dimensions, got ", ndimension); + + int64_t N = randomSamples.size(0); + int64_t C = randomSamples.size(1); + int64_t D = randomSamples.size(2); + + int64_t input_batch, input_channel; + if (ndim == 2) { + // fractional_max_pool2d + if (input.ndimension() == 3) { + input_batch = 1; + input_channel = input.size(0); + } else { + input_batch = input.size(0); + input_channel = input.size(1); + } + } else { + // factional_max_pool3d + if (input.ndimension() == 4) { + input_batch = 1; + input_channel = input.size(0); + } else { + input_batch = input.size(0); + input_channel = input.size(1); + } + } + + TORCH_CHECK( + N >= input_batch, + "Expect _random_samples.size(0) no less then input batch size."); + TORCH_CHECK( + C == input_channel, + "Expect _random_samples.size(1) equals to input channel size."); + TORCH_CHECK( + D == ndim, + "Expect _random_samples.size(2) equals to ", ndim, "; got ", D, "."); +} + +} // namespace at::native diff --git a/shared/package-files/45/457dcad07311006872abddc2d2a1cffea9791ce9a4f3ecf5b3b830c96959aa72/_remove_batch_dim_ops.h b/shared/package-files/45/457dcad07311006872abddc2d2a1cffea9791ce9a4f3ecf5b3b830c96959aa72/_remove_batch_dim_ops.h new file mode 100644 index 0000000000000000000000000000000000000000..4c38a770adb6a2c7ee6104d280b277118ff1bb31 --- /dev/null +++ b/shared/package-files/45/457dcad07311006872abddc2d2a1cffea9791ce9a4f3ecf5b3b830c96959aa72/_remove_batch_dim_ops.h @@ -0,0 +1,28 @@ +#pragma once + +// @generated by torchgen/gen.py from Operator.h + +#include +#include + +// Forward declarations of any types needed in the operator signatures. +// We can't directly include these classes because it will cause circular include dependencies. +// This file is included by TensorBody.h, which defines the Tensor class. +#include + +namespace at { +namespace _ops { + + +struct TORCH_API _remove_batch_dim { + using schema = at::Tensor (const at::Tensor &, int64_t, int64_t, int64_t); + using ptr_schema = schema*; + // See Note [static constexpr char* members for windows NVCC] + STATIC_CONSTEXPR_STR_INL_EXCEPT_WIN_CUDA(name, "aten::_remove_batch_dim") + STATIC_CONSTEXPR_STR_INL_EXCEPT_WIN_CUDA(overload_name, "") + STATIC_CONSTEXPR_STR_INL_EXCEPT_WIN_CUDA(schema_str, "_remove_batch_dim(Tensor self, int level, int batch_size, int out_dim) -> Tensor") + static at::Tensor call(const at::Tensor & self, int64_t level, int64_t batch_size, int64_t out_dim); + static at::Tensor redispatch(c10::DispatchKeySet dispatchKeySet, const at::Tensor & self, int64_t level, int64_t batch_size, int64_t out_dim); +}; + +}} // namespace at::_ops diff --git a/shared/package-files/45/4584221072607de68054325bb02e4e9bf757a3bba2c3bc455eac4e9789470b47/utils.py b/shared/package-files/45/4584221072607de68054325bb02e4e9bf757a3bba2c3bc455eac4e9789470b47/utils.py new file mode 100644 index 0000000000000000000000000000000000000000..afb7e64b032fd16dd2db1afb0893ee6a76c8b804 --- /dev/null +++ b/shared/package-files/45/4584221072607de68054325bb02e4e9bf757a3bba2c3bc455eac4e9789470b47/utils.py @@ -0,0 +1,33 @@ +# Copyright (C) 2022 Anaconda, Inc +# Copyright (C) 2023 conda +# SPDX-License-Identifier: BSD-3-Clause +from logging import getLogger +from urllib.parse import quote + +from conda.common.compat import on_win +from conda.common.url import urlparse + +log = getLogger(f"conda.{__name__}") + + +def escape_channel_url(channel): + if channel.startswith("file:"): + if "%" in channel: # it's escaped already + return channel + if on_win: + channel = channel.replace("\\", "/") + parts = urlparse(channel) + if parts.scheme: + components = parts.path.split("/") + if on_win: + if parts.netloc and len(parts.netloc) == 2 and parts.netloc[1] == ":": + # with absolute paths (e.g. C:/something), C:, D:, etc might get parsed as netloc + path = "/".join([parts.netloc] + [quote(p) for p in components]) + parts = parts.replace(netloc="") + else: + path = "/".join(components[:2] + [quote(p) for p in components[2:]]) + else: + path = "/".join([quote(p) for p in components]) + parts = parts.replace(path=path) + return str(parts) + return channel diff --git a/shared/package-files/45/4586028907f27bbd642b8b29c21a277c2160ec2563a4268fc6649ce97a5af920/_nested_from_padded_and_nested_example_native.h b/shared/package-files/45/4586028907f27bbd642b8b29c21a277c2160ec2563a4268fc6649ce97a5af920/_nested_from_padded_and_nested_example_native.h new file mode 100644 index 0000000000000000000000000000000000000000..c328d1c62c85dfefd7c2176769316d95aac04a07 --- /dev/null +++ b/shared/package-files/45/4586028907f27bbd642b8b29c21a277c2160ec2563a4268fc6649ce97a5af920/_nested_from_padded_and_nested_example_native.h @@ -0,0 +1,22 @@ +#pragma once + +// @generated by torchgen/gen.py from NativeFunction.h + +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include + + +namespace at { +namespace native { +TORCH_API at::Tensor & _nested_from_padded_and_nested_example_out(const at::Tensor & padded, const at::Tensor & nt_example, at::Tensor & out); +TORCH_API at::Tensor NestedTensor_from_padded_and_nested_example(const at::Tensor & padded, const at::Tensor & nt_example); +} // namespace native +} // namespace at diff --git a/shared/package-files/45/45873553d939570e0dce94fe2578bf0304623d7c33bbb5cb5721ba1ed0f2fe03/padding.pyi b/shared/package-files/45/45873553d939570e0dce94fe2578bf0304623d7c33bbb5cb5721ba1ed0f2fe03/padding.pyi new file mode 100644 index 0000000000000000000000000000000000000000..7a9d5a8e2f37afa52ed7f03e64308f38f49461d3 --- /dev/null +++ b/shared/package-files/45/45873553d939570e0dce94fe2578bf0304623d7c33bbb5cb5721ba1ed0f2fe03/padding.pyi @@ -0,0 +1,17 @@ +from abc import ABCMeta, abstractmethod + +class PaddingContext(metaclass=ABCMeta): + @abstractmethod + def finalize(self) -> bytes: ... + @abstractmethod + def update(self, data: bytes) -> bytes: ... + +class ANSIX923(object): + def __init__(self, block_size: int) -> None: ... + def padder(self) -> PaddingContext: ... + def unpadder(self) -> PaddingContext: ... + +class PKCS7(object): + def __init__(self, block_size: int) -> None: ... + def padder(self) -> PaddingContext: ... + def unpadder(self) -> PaddingContext: ... diff --git a/shared/package-files/45/4587a5457438e2f93d3824557f5bc3c3e789726715706e55a04791c34e9c078c/zeros_like_compositeimplicitautogradnestedtensor_dispatch.h b/shared/package-files/45/4587a5457438e2f93d3824557f5bc3c3e789726715706e55a04791c34e9c078c/zeros_like_compositeimplicitautogradnestedtensor_dispatch.h new file mode 100644 index 0000000000000000000000000000000000000000..3c8474bbea502c688f76aa12b464cb8ee06f32b6 --- /dev/null +++ b/shared/package-files/45/4587a5457438e2f93d3824557f5bc3c3e789726715706e55a04791c34e9c078c/zeros_like_compositeimplicitautogradnestedtensor_dispatch.h @@ -0,0 +1,24 @@ +#pragma once +// @generated by torchgen/gen.py from DispatchKeyFunction.h + +// NB: The implementing C++ file is RegisterDispatchKey.cpp + +// The only #includes we need are for custom classes that have defaults in the C++ API +#include +#include +#include + +// Forward declarations of any types needed in the operator signatures. +// We can't directly include these classes because it will cause circular include dependencies. +// This file is included by TensorBody.h, which defines the Tensor class. +#include + +namespace at { + +namespace compositeimplicitautogradnestedtensor { + +TORCH_API at::Tensor zeros_like(const at::Tensor & self, at::TensorOptions options={}, c10::optional memory_format=c10::nullopt); +TORCH_API at::Tensor zeros_like(const at::Tensor & self, c10::optional dtype, c10::optional layout, c10::optional device, c10::optional pin_memory, c10::optional memory_format); + +} // namespace compositeimplicitautogradnestedtensor +} // namespace at diff --git a/shared/package-files/45/4587c95f7f7e98d85e911137b23e531856572ab6b830bf6f1af39bb1162e0f79/test_truediv.py b/shared/package-files/45/4587c95f7f7e98d85e911137b23e531856572ab6b830bf6f1af39bb1162e0f79/test_truediv.py new file mode 100644 index 0000000000000000000000000000000000000000..1fcf9e1ab754d05a3b47e7ec0c2be5ea9929da02 --- /dev/null +++ b/shared/package-files/45/4587c95f7f7e98d85e911137b23e531856572ab6b830bf6f1af39bb1162e0f79/test_truediv.py @@ -0,0 +1,54 @@ +#this module tests that SymPy works with true division turned on + +from sympy.core.numbers import (Float, Rational) +from sympy.core.symbol import Symbol + + +def test_truediv(): + assert 1/2 != 0 + assert Rational(1)/2 != 0 + + +def dotest(s): + x = Symbol("x") + y = Symbol("y") + l = [ + Rational(2), + Float("1.3"), + x, + y, + pow(x, y)*y, + 5, + 5.5 + ] + for x in l: + for y in l: + s(x, y) + return True + + +def test_basic(): + def s(a, b): + x = a + x = +a + x = -a + x = a + b + x = a - b + x = a*b + x = a/b + x = a**b + del x + assert dotest(s) + + +def test_ibasic(): + def s(a, b): + x = a + x += b + x = a + x -= b + x = a + x *= b + x = a + x /= b + assert dotest(s) diff --git a/shared/package-files/45/45880e888ad95709d798c1dea19ac7a6febeb77f37af7f5da2d0fe5599e52b50/Synchronized.h b/shared/package-files/45/45880e888ad95709d798c1dea19ac7a6febeb77f37af7f5da2d0fe5599e52b50/Synchronized.h new file mode 100644 index 0000000000000000000000000000000000000000..65035ce6aab72d0ad8e0d9567ed09637c673740a --- /dev/null +++ b/shared/package-files/45/45880e888ad95709d798c1dea19ac7a6febeb77f37af7f5da2d0fe5599e52b50/Synchronized.h @@ -0,0 +1,61 @@ +#pragma once + +#include + +namespace c10 { + +/** + * A very simple Synchronization class for error-free use of data + * in a multi-threaded context. See folly/docs/Synchronized.md for + * the inspiration of this class. + * + * Full URL: + * https://github.com/facebook/folly/blob/main/folly/docs/Synchronized.md + * + * This class implements a small subset of the generic functionality + * implemented by folly:Synchronized. Specifically, only withLock + * is implemented here since it's the smallest possible API that is + * able to cover a large surface area of functionality offered by + * folly::Synchronized. + */ +template +class Synchronized final { + mutable std::mutex mutex_; + T data_; + + public: + Synchronized() = default; + Synchronized(T const& data) : data_(data) {} + Synchronized(T&& data) : data_(std::move(data)) {} + + // Don't permit copy construction, move, assignment, or + // move assignment, since the underlying std::mutex + // isn't necessarily copyable/moveable. + Synchronized(Synchronized const&) = delete; + Synchronized(Synchronized&&) = delete; + Synchronized operator=(Synchronized const&) = delete; + Synchronized operator=(Synchronized&&) = delete; + + /** + * To use, call withLock with a callback that accepts T either + * by copy or by reference. Use the protected variable in the + * provided callback safely. + */ + template + auto withLock(CB&& cb) { + std::lock_guard guard(this->mutex_); + return std::forward(cb)(this->data_); + } + + /** + * To use, call withLock with a callback that accepts T either + * by copy or by const reference. Use the protected variable in + * the provided callback safely. + */ + template + auto withLock(CB&& cb) const { + std::lock_guard guard(this->mutex_); + return std::forward(cb)(this->data_); + } +}; +} // end namespace c10 diff --git a/shared/package-files/45/45899fd9b2d6b64f27bb2209ba146948816496c7d5b4019ada0c7602f022d935/test_determinant.py b/shared/package-files/45/45899fd9b2d6b64f27bb2209ba146948816496c7d5b4019ada0c7602f022d935/test_determinant.py new file mode 100644 index 0000000000000000000000000000000000000000..7690e57bd61031d4b6e8f5e4f2e147bbe8d92273 --- /dev/null +++ b/shared/package-files/45/45899fd9b2d6b64f27bb2209ba146948816496c7d5b4019ada0c7602f022d935/test_determinant.py @@ -0,0 +1,414 @@ +import random +from sympy.core.numbers import I +from sympy.core.numbers import Rational +from sympy.core.symbol import (Symbol, symbols) +from sympy.functions.elementary.miscellaneous import sqrt +from sympy.polys.polytools import Poly +from sympy.matrices import Matrix, eye, ones +from sympy.abc import x, y, z +from sympy.testing.pytest import raises +from sympy.matrices.common import NonSquareMatrixError +from sympy.functions.combinatorial.factorials import factorial, subfactorial + + +def test_determinant(): + M = Matrix() + + assert M.det() == 1 + # Evaluating these directly because they are never reached via M.det() + assert M._eval_det_bareiss() == 1 + assert M._eval_det_berkowitz() == 1 + assert M._eval_det_lu() == 1 + + M = Matrix([ [0] ]) + + assert M.det() == 0 + assert M._eval_det_bareiss() == 0 + assert M._eval_det_berkowitz() == 0 + assert M._eval_det_lu() == 0 + + M = Matrix([ [5] ]) + + assert M.det() == 5 + assert M._eval_det_bareiss() == 5 + assert M._eval_det_berkowitz() == 5 + assert M._eval_det_lu() == 5 + + M = Matrix(( (-3, 2), + ( 8, -5) )) + + assert M.det(method="domain-ge") == -1 + assert M.det(method="bareiss") == -1 + assert M.det(method="berkowitz") == -1 + assert M.det(method="lu") == -1 + + M = Matrix(( (x, 1), + (y, 2*y) )) + + assert M.det(method="domain-ge") == 2*x*y - y + assert M.det(method="bareiss") == 2*x*y - y + assert M.det(method="berkowitz") == 2*x*y - y + assert M.det(method="lu") == 2*x*y - y + + M = Matrix(( (1, 1, 1), + (1, 2, 3), + (1, 3, 6) )) + + assert M.det(method="domain-ge") == 1 + assert M.det(method="bareiss") == 1 + assert M.det(method="berkowitz") == 1 + assert M.det(method="lu") == 1 + + M = Matrix(( ( 3, -2, 0, 5), + (-2, 1, -2, 2), + ( 0, -2, 5, 0), + ( 5, 0, 3, 4) )) + + assert M.det(method="domain-ge") == -289 + assert M.det(method="bareiss") == -289 + assert M.det(method="berkowitz") == -289 + assert M.det(method="lu") == -289 + + M = Matrix(( ( 1, 2, 3, 4), + ( 5, 6, 7, 8), + ( 9, 10, 11, 12), + (13, 14, 15, 16) )) + + assert M.det(method="domain-ge") == 0 + assert M.det(method="bareiss") == 0 + assert M.det(method="berkowitz") == 0 + assert M.det(method="lu") == 0 + + M = Matrix(( (3, 2, 0, 0, 0), + (0, 3, 2, 0, 0), + (0, 0, 3, 2, 0), + (0, 0, 0, 3, 2), + (2, 0, 0, 0, 3) )) + + assert M.det(method="domain-ge") == 275 + assert M.det(method="bareiss") == 275 + assert M.det(method="berkowitz") == 275 + assert M.det(method="lu") == 275 + + M = Matrix(( ( 3, 0, 0, 0), + (-2, 1, 0, 0), + ( 0, -2, 5, 0), + ( 5, 0, 3, 4) )) + + assert M.det(method="domain-ge") == 60 + assert M.det(method="bareiss") == 60 + assert M.det(method="berkowitz") == 60 + assert M.det(method="lu") == 60 + + M = Matrix(( ( 1, 0, 0, 0), + ( 5, 0, 0, 0), + ( 9, 10, 11, 0), + (13, 14, 15, 16) )) + + assert M.det(method="domain-ge") == 0 + assert M.det(method="bareiss") == 0 + assert M.det(method="berkowitz") == 0 + assert M.det(method="lu") == 0 + + M = Matrix(( (3, 2, 0, 0, 0), + (0, 3, 2, 0, 0), + (0, 0, 3, 2, 0), + (0, 0, 0, 3, 2), + (0, 0, 0, 0, 3) )) + + assert M.det(method="domain-ge") == 243 + assert M.det(method="bareiss") == 243 + assert M.det(method="berkowitz") == 243 + assert M.det(method="lu") == 243 + + M = Matrix(( (1, 0, 1, 2, 12), + (2, 0, 1, 1, 4), + (2, 1, 1, -1, 3), + (3, 2, -1, 1, 8), + (1, 1, 1, 0, 6) )) + + assert M.det(method="domain-ge") == -55 + assert M.det(method="bareiss") == -55 + assert M.det(method="berkowitz") == -55 + assert M.det(method="lu") == -55 + + M = Matrix(( (-5, 2, 3, 4, 5), + ( 1, -4, 3, 4, 5), + ( 1, 2, -3, 4, 5), + ( 1, 2, 3, -2, 5), + ( 1, 2, 3, 4, -1) )) + + assert M.det(method="domain-ge") == 11664 + assert M.det(method="bareiss") == 11664 + assert M.det(method="berkowitz") == 11664 + assert M.det(method="lu") == 11664 + + M = Matrix(( ( 2, 7, -1, 3, 2), + ( 0, 0, 1, 0, 1), + (-2, 0, 7, 0, 2), + (-3, -2, 4, 5, 3), + ( 1, 0, 0, 0, 1) )) + + assert M.det(method="domain-ge") == 123 + assert M.det(method="bareiss") == 123 + assert M.det(method="berkowitz") == 123 + assert M.det(method="lu") == 123 + + M = Matrix(( (x, y, z), + (1, 0, 0), + (y, z, x) )) + + assert M.det(method="domain-ge") == z**2 - x*y + assert M.det(method="bareiss") == z**2 - x*y + assert M.det(method="berkowitz") == z**2 - x*y + assert M.det(method="lu") == z**2 - x*y + + # issue 13835 + a = symbols('a') + M = lambda n: Matrix([[i + a*j for i in range(n)] + for j in range(n)]) + assert M(5).det() == 0 + assert M(6).det() == 0 + assert M(7).det() == 0 + +def test_issue_14517(): + M = Matrix([ + [ 0, 10*I, 10*I, 0], + [10*I, 0, 0, 10*I], + [10*I, 0, 5 + 2*I, 10*I], + [ 0, 10*I, 10*I, 5 + 2*I]]) + ev = M.eigenvals() + # test one random eigenvalue, the computation is a little slow + test_ev = random.choice(list(ev.keys())) + assert (M - test_ev*eye(4)).det() == 0 + +def test_legacy_det(): + # Minimal support for legacy keys for 'method' in det() + # Partially copied from test_determinant() + + M = Matrix(( ( 3, -2, 0, 5), + (-2, 1, -2, 2), + ( 0, -2, 5, 0), + ( 5, 0, 3, 4) )) + + assert M.det(method="bareis") == -289 + assert M.det(method="det_lu") == -289 + assert M.det(method="det_LU") == -289 + + M = Matrix(( (3, 2, 0, 0, 0), + (0, 3, 2, 0, 0), + (0, 0, 3, 2, 0), + (0, 0, 0, 3, 2), + (2, 0, 0, 0, 3) )) + + assert M.det(method="bareis") == 275 + assert M.det(method="det_lu") == 275 + assert M.det(method="Bareis") == 275 + + M = Matrix(( (1, 0, 1, 2, 12), + (2, 0, 1, 1, 4), + (2, 1, 1, -1, 3), + (3, 2, -1, 1, 8), + (1, 1, 1, 0, 6) )) + + assert M.det(method="bareis") == -55 + assert M.det(method="det_lu") == -55 + assert M.det(method="BAREISS") == -55 + + M = Matrix(( ( 3, 0, 0, 0), + (-2, 1, 0, 0), + ( 0, -2, 5, 0), + ( 5, 0, 3, 4) )) + + assert M.det(method="bareiss") == 60 + assert M.det(method="berkowitz") == 60 + assert M.det(method="lu") == 60 + + M = Matrix(( ( 1, 0, 0, 0), + ( 5, 0, 0, 0), + ( 9, 10, 11, 0), + (13, 14, 15, 16) )) + + assert M.det(method="bareiss") == 0 + assert M.det(method="berkowitz") == 0 + assert M.det(method="lu") == 0 + + M = Matrix(( (3, 2, 0, 0, 0), + (0, 3, 2, 0, 0), + (0, 0, 3, 2, 0), + (0, 0, 0, 3, 2), + (0, 0, 0, 0, 3) )) + + assert M.det(method="bareiss") == 243 + assert M.det(method="berkowitz") == 243 + assert M.det(method="lu") == 243 + + M = Matrix(( (-5, 2, 3, 4, 5), + ( 1, -4, 3, 4, 5), + ( 1, 2, -3, 4, 5), + ( 1, 2, 3, -2, 5), + ( 1, 2, 3, 4, -1) )) + + assert M.det(method="bareis") == 11664 + assert M.det(method="det_lu") == 11664 + assert M.det(method="BERKOWITZ") == 11664 + + M = Matrix(( ( 2, 7, -1, 3, 2), + ( 0, 0, 1, 0, 1), + (-2, 0, 7, 0, 2), + (-3, -2, 4, 5, 3), + ( 1, 0, 0, 0, 1) )) + + assert M.det(method="bareis") == 123 + assert M.det(method="det_lu") == 123 + assert M.det(method="LU") == 123 + +def eye_Determinant(n): + return Matrix(n, n, lambda i, j: int(i == j)) + +def zeros_Determinant(n): + return Matrix(n, n, lambda i, j: 0) + +def test_det(): + a = Matrix(2, 3, [1, 2, 3, 4, 5, 6]) + raises(NonSquareMatrixError, lambda: a.det()) + + z = zeros_Determinant(2) + ey = eye_Determinant(2) + assert z.det() == 0 + assert ey.det() == 1 + + x = Symbol('x') + a = Matrix(0, 0, []) + b = Matrix(1, 1, [5]) + c = Matrix(2, 2, [1, 2, 3, 4]) + d = Matrix(3, 3, [1, 2, 3, 4, 5, 6, 7, 8, 8]) + e = Matrix(4, 4, + [x, 1, 2, 3, 4, 5, 6, 7, 2, 9, 10, 11, 12, 13, 14, 14]) + from sympy.abc import i, j, k, l, m, n + f = Matrix(3, 3, [i, l, m, 0, j, n, 0, 0, k]) + g = Matrix(3, 3, [i, 0, 0, l, j, 0, m, n, k]) + h = Matrix(3, 3, [x**3, 0, 0, i, x**-1, 0, j, k, x**-2]) + # the method keyword for `det` doesn't kick in until 4x4 matrices, + # so there is no need to test all methods on smaller ones + + assert a.det() == 1 + assert b.det() == 5 + assert c.det() == -2 + assert d.det() == 3 + assert e.det() == 4*x - 24 + assert e.det(method="domain-ge") == 4*x - 24 + assert e.det(method='bareiss') == 4*x - 24 + assert e.det(method='berkowitz') == 4*x - 24 + assert f.det() == i*j*k + assert g.det() == i*j*k + assert h.det() == 1 + raises(ValueError, lambda: e.det(iszerofunc="test")) + +def test_permanent(): + M = Matrix([[1, 2, 3], [4, 5, 6], [7, 8, 9]]) + assert M.per() == 450 + for i in range(1, 12): + assert ones(i, i).per() == ones(i, i).T.per() == factorial(i) + assert (ones(i, i)-eye(i)).per() == (ones(i, i)-eye(i)).T.per() == subfactorial(i) + + a1, a2, a3, a4, a5 = symbols('a_1 a_2 a_3 a_4 a_5') + M = Matrix([a1, a2, a3, a4, a5]) + assert M.per() == M.T.per() == a1 + a2 + a3 + a4 + a5 + +def test_adjugate(): + x = Symbol('x') + e = Matrix(4, 4, + [x, 1, 2, 3, 4, 5, 6, 7, 2, 9, 10, 11, 12, 13, 14, 14]) + + adj = Matrix([ + [ 4, -8, 4, 0], + [ 76, -14*x - 68, 14*x - 8, -4*x + 24], + [-122, 17*x + 142, -21*x + 4, 8*x - 48], + [ 48, -4*x - 72, 8*x, -4*x + 24]]) + assert e.adjugate() == adj + assert e.adjugate(method='bareiss') == adj + assert e.adjugate(method='berkowitz') == adj + + a = Matrix(2, 3, [1, 2, 3, 4, 5, 6]) + raises(NonSquareMatrixError, lambda: a.adjugate()) + +def test_util(): + R = Rational + + v1 = Matrix(1, 3, [1, 2, 3]) + v2 = Matrix(1, 3, [3, 4, 5]) + assert v1.norm() == sqrt(14) + assert v1.project(v2) == Matrix(1, 3, [R(39)/25, R(52)/25, R(13)/5]) + assert Matrix.zeros(1, 2) == Matrix(1, 2, [0, 0]) + assert ones(1, 2) == Matrix(1, 2, [1, 1]) + assert v1.copy() == v1 + # cofactor + assert eye(3) == eye(3).cofactor_matrix() + test = Matrix([[1, 3, 2], [2, 6, 3], [2, 3, 6]]) + assert test.cofactor_matrix() == \ + Matrix([[27, -6, -6], [-12, 2, 3], [-3, 1, 0]]) + test = Matrix([[1, 2, 3], [4, 5, 6], [7, 8, 9]]) + assert test.cofactor_matrix() == \ + Matrix([[-3, 6, -3], [6, -12, 6], [-3, 6, -3]]) + +def test_cofactor_and_minors(): + x = Symbol('x') + e = Matrix(4, 4, + [x, 1, 2, 3, 4, 5, 6, 7, 2, 9, 10, 11, 12, 13, 14, 14]) + + m = Matrix([ + [ x, 1, 3], + [ 2, 9, 11], + [12, 13, 14]]) + cm = Matrix([ + [ 4, 76, -122, 48], + [-8, -14*x - 68, 17*x + 142, -4*x - 72], + [ 4, 14*x - 8, -21*x + 4, 8*x], + [ 0, -4*x + 24, 8*x - 48, -4*x + 24]]) + sub = Matrix([ + [x, 1, 2], + [4, 5, 6], + [2, 9, 10]]) + + assert e.minor_submatrix(1, 2) == m + assert e.minor_submatrix(-1, -1) == sub + assert e.minor(1, 2) == -17*x - 142 + assert e.cofactor(1, 2) == 17*x + 142 + assert e.cofactor_matrix() == cm + assert e.cofactor_matrix(method="bareiss") == cm + assert e.cofactor_matrix(method="berkowitz") == cm + + raises(ValueError, lambda: e.cofactor(4, 5)) + raises(ValueError, lambda: e.minor(4, 5)) + raises(ValueError, lambda: e.minor_submatrix(4, 5)) + + a = Matrix(2, 3, [1, 2, 3, 4, 5, 6]) + assert a.minor_submatrix(0, 0) == Matrix([[5, 6]]) + + raises(ValueError, lambda: + Matrix(0, 0, []).minor_submatrix(0, 0)) + raises(NonSquareMatrixError, lambda: a.cofactor(0, 0)) + raises(NonSquareMatrixError, lambda: a.minor(0, 0)) + raises(NonSquareMatrixError, lambda: a.cofactor_matrix()) + +def test_charpoly(): + x, y = Symbol('x'), Symbol('y') + z, t = Symbol('z'), Symbol('t') + + from sympy.abc import a,b,c + + m = Matrix(3, 3, [1, 2, 3, 4, 5, 6, 7, 8, 9]) + + assert eye_Determinant(3).charpoly(x) == Poly((x - 1)**3, x) + assert eye_Determinant(3).charpoly(y) == Poly((y - 1)**3, y) + assert m.charpoly() == Poly(x**3 - 15*x**2 - 18*x, x) + raises(NonSquareMatrixError, lambda: Matrix([[1], [2]]).charpoly()) + n = Matrix(4, 4, [0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0]) + assert n.charpoly() == Poly(x**4, x) + + n = Matrix(4, 4, [45, 0, 0, 0, 0, 23, 0, 0, 0, 0, 87, 0, 0, 0, 0, 12]) + assert n.charpoly() == Poly(x**4 - 167*x**3 + 8811*x**2 - 173457*x + 1080540, x) + + n = Matrix(3, 3, [x, 0, 0, a, y, 0, b, c, z]) + assert n.charpoly() == Poly(t**3 - (x+y+z)*t**2 + t*(x*y+y*z+x*z) - x*y*z, t) diff --git a/shared/package-files/45/458abbd47c7d1536b3c9da72ad6d913e3c7ce0e0e30a8a7d626b912f6e30d9b6/_sobol_engine_initialize_state_ops.h b/shared/package-files/45/458abbd47c7d1536b3c9da72ad6d913e3c7ce0e0e30a8a7d626b912f6e30d9b6/_sobol_engine_initialize_state_ops.h new file mode 100644 index 0000000000000000000000000000000000000000..798fdf3be3d46d7078cc8019c36d889e9a8a306c --- /dev/null +++ b/shared/package-files/45/458abbd47c7d1536b3c9da72ad6d913e3c7ce0e0e30a8a7d626b912f6e30d9b6/_sobol_engine_initialize_state_ops.h @@ -0,0 +1,28 @@ +#pragma once + +// @generated by torchgen/gen.py from Operator.h + +#include +#include + +// Forward declarations of any types needed in the operator signatures. +// We can't directly include these classes because it will cause circular include dependencies. +// This file is included by TensorBody.h, which defines the Tensor class. +#include + +namespace at { +namespace _ops { + + +struct TORCH_API _sobol_engine_initialize_state_ { + using schema = at::Tensor & (at::Tensor &, int64_t); + using ptr_schema = schema*; + // See Note [static constexpr char* members for windows NVCC] + STATIC_CONSTEXPR_STR_INL_EXCEPT_WIN_CUDA(name, "aten::_sobol_engine_initialize_state_") + STATIC_CONSTEXPR_STR_INL_EXCEPT_WIN_CUDA(overload_name, "") + STATIC_CONSTEXPR_STR_INL_EXCEPT_WIN_CUDA(schema_str, "_sobol_engine_initialize_state_(Tensor(a!) self, int dimension) -> Tensor(a!)") + static at::Tensor & call(at::Tensor & self, int64_t dimension); + static at::Tensor & redispatch(c10::DispatchKeySet dispatchKeySet, at::Tensor & self, int64_t dimension); +}; + +}} // namespace at::_ops diff --git a/shared/package-files/45/458bcb1daacc35e1cdac2605a24c57b60d670480d132edd9a2143cda12d05cdd/devices.py b/shared/package-files/45/458bcb1daacc35e1cdac2605a24c57b60d670480d132edd9a2143cda12d05cdd/devices.py new file mode 100644 index 0000000000000000000000000000000000000000..3237fb2c6adea223bf079665319d3ef7b3c8489e --- /dev/null +++ b/shared/package-files/45/458bcb1daacc35e1cdac2605a24c57b60d670480d132edd9a2143cda12d05cdd/devices.py @@ -0,0 +1,117 @@ +import numpy as np +from collections import namedtuple + +_MemoryInfo = namedtuple("_MemoryInfo", "free,total") + +_SIMULATOR_CC = (5, 2) + + +class FakeCUDADevice: + def __init__(self): + self.uuid = 'GPU-00000000-0000-0000-0000-000000000000' + + @property + def compute_capability(self): + return _SIMULATOR_CC + + +class FakeCUDAContext: + ''' + This stub implements functionality only for simulating a single GPU + at the moment. + ''' + def __init__(self, device_id): + self._device_id = device_id + self._device = FakeCUDADevice() + + def __enter__(self): + pass + + def __exit__(self, exc_type, exc_val, exc_tb): + pass + + def __str__(self): + return "".format(self=self) + + @property + def id(self): + return self._device_id + + @property + def device(self): + return self._device + + @property + def compute_capability(self): + return _SIMULATOR_CC + + def reset(self): + pass + + def get_memory_info(self): + """ + Cross-platform free / total host memory is hard without external + dependencies, e.g. `psutil` - so return infinite memory to maintain API + type compatibility + """ + return _MemoryInfo(float('inf'), float('inf')) + + def memalloc(self, sz): + """ + Allocates memory on the simulated device + At present, there is no division between simulated + host memory and simulated device memory. + """ + return np.ndarray(sz, dtype='u1') + + def memhostalloc(self, sz, mapped=False, portable=False, wc=False): + '''Allocates memory on the host''' + return self.memalloc(sz) + + +class FakeDeviceList: + ''' + This stub implements a device list containing a single GPU. It also + keeps track of the GPU status, i.e. whether the context is closed or not, + which may have been set by the user calling reset() + ''' + def __init__(self): + self.lst = (FakeCUDAContext(0),) + self.closed = False + + def __getitem__(self, devnum): + self.closed = False + return self.lst[devnum] + + def __str__(self): + return ', '.join([str(d) for d in self.lst]) + + def __iter__(self): + return iter(self.lst) + + def __len__(self): + return len(self.lst) + + @property + def current(self): + if self.closed: + return None + return self.lst[0] + + +gpus = FakeDeviceList() + + +def reset(): + gpus[0].closed = True + + +def get_context(devnum=0): + return FakeCUDAContext(devnum) + + +def require_context(func): + ''' + In the simulator, a context is always "available", so this is a no-op. + ''' + return func diff --git a/shared/package-files/45/458c03460d7354b2c6b49bd55ef5a1c146630bdd60f295d3c008ee42859ece4b/pythonfinitefield.py b/shared/package-files/45/458c03460d7354b2c6b49bd55ef5a1c146630bdd60f295d3c008ee42859ece4b/pythonfinitefield.py new file mode 100644 index 0000000000000000000000000000000000000000..526669717feabc1d0a60d95c2e1b695c1fa36298 --- /dev/null +++ b/shared/package-files/45/458c03460d7354b2c6b49bd55ef5a1c146630bdd60f295d3c008ee42859ece4b/pythonfinitefield.py @@ -0,0 +1,16 @@ +"""Implementation of :class:`PythonFiniteField` class. """ + + +from sympy.polys.domains.finitefield import FiniteField +from sympy.polys.domains.pythonintegerring import PythonIntegerRing + +from sympy.utilities import public + +@public +class PythonFiniteField(FiniteField): + """Finite field based on Python's integers. """ + + alias = 'FF_python' + + def __init__(self, mod, symmetric=True): + return super().__init__(mod, PythonIntegerRing(), symmetric) diff --git a/shared/package-files/45/458edec09a9f6b91fcc96a1b31f0b889f5f152089c1393d146b82e0ec0b41f3f/E6.csv b/shared/package-files/45/458edec09a9f6b91fcc96a1b31f0b889f5f152089c1393d146b82e0ec0b41f3f/E6.csv new file mode 100644 index 0000000000000000000000000000000000000000..b97782c5a2d839e00894de77e7e887293d0e1b12 --- /dev/null +++ b/shared/package-files/45/458edec09a9f6b91fcc96a1b31f0b889f5f152089c1393d146b82e0ec0b41f3f/E6.csv @@ -0,0 +1,108 @@ +"year","quarter","Dp","R" +1972,2,-0.00313258,0.083 +1972,3,0.0188713,0.083 +1972,4,0.0248036,0.087 +1973,1,0.0162776,0.087 +1973,2,0.000289679,0.102 +1973,3,0.016829,0.098 +1973,4,0.0385835,0.097 +1974,1,-0.00144386,0.107 +1974,2,0.0127239,0.109 +1974,3,0.0238972,0.108 +1974,4,0.0427728,0.099 +1975,1,-0.0103779,0.089 +1975,2,0.00558424,0.084 +1975,3,0.00870609,0.087 +1975,4,0.0389199,0.086 +1976,1,-0.0196176,0.078 +1976,2,0.00731993,0.083 +1976,3,0.0180764,0.081 +1976,4,0.0237775,0.074 +1977,1,-0.0144377,0.07 +1977,2,0.0110059,0.064 +1977,3,0.0104017,0.06 +1977,4,0.0354648,0.06 +1978,1,-0.0157599,0.056 +1978,2,0.0100193,0.06 +1978,3,0.0180621,0.064 +1978,4,0.0256915,0.066 +1979,1,-0.0170689,0.071 +1979,2,0.00350475,0.08 +1979,3,0.0256438,0.078 +1979,4,0.0315075,0.08 +1980,1,-0.0132775,0.095 +1980,2,0.0130968,0.083 +1980,3,0.0151458,0.083 +1980,4,0.0312119,0.091 +1981,1,-0.0207896,0.104 +1981,2,0.0104489,0.111 +1981,3,0.018106,0.113 +1981,4,0.0405002,0.099 +1982,1,-0.0201483,0.096 +1982,2,0.00380802,0.092 +1982,3,0.0215569,0.088 +1982,4,0.0327106,0.08 +1983,1,-0.0201726,0.074 +1983,2,-0.00333166,0.081 +1983,3,0.0192871,0.084 +1983,4,0.0345473,0.083 +1984,1,-0.0262156,0.079 +1984,2,-0.00519753,0.081 +1984,3,0.0132318,0.077 +1984,4,0.0374279,0.07 +1985,1,-0.0291948,0.077 +1985,2,-0.00261354,0.07 +1985,3,0.0172353,0.064 +1985,4,0.0376387,0.066 +1986,1,-0.0204763,0.06 +1986,2,0.000900269,0.06 +1986,3,0.0125732,0.058 +1986,4,0.0344677,0.06 +1987,1,-0.0220394,0.056 +1987,2,-0.00202703,0.055 +1987,3,0.00173426,0.062 +1987,4,0.0365901,0.058 +1988,1,-0.0252557,0.056 +1988,2,0.00092268,0.06 +1988,3,0.00451374,0.063 +1988,4,0.0383272,0.062 +1989,1,-0.0211368,0.07 +1989,2,-0.000533104,0.071 +1989,3,0.00981092,0.071 +1989,4,0.0373549,0.078 +1990,1,-0.016232,0.09 +1990,2,0.00197124,0.09 +1990,3,0.00687361,0.091 +1990,4,0.0274582,0.09 +1991,1,-0.0140786,0.086 +1991,2,0.0166497,0.086 +1991,3,0.0144682,0.088 +1991,4,0.043004,0.087 +1992,1,-0.0127769,0.082 +1992,2,0.00927353,0.084 +1992,3,0.0179157,0.082 +1992,4,0.030508,0.074 +1993,1,-0.0105906,0.065 +1993,2,0.00747108,0.067 +1993,3,0.00467587,0.061 +1993,4,0.0310678,0.056 +1994,1,-0.0153685,0.062 +1994,2,0.000810146,0.069 +1994,3,0.00806475,0.074 +1994,4,0.0287657,0.074 +1995,1,-0.0183783,0.071 +1995,2,0.00449467,0.064 +1995,3,0.00988674,0.061 +1995,4,0.0245948,0.055 +1996,1,-0.0185189,0.058 +1996,2,-0.00590181,0.059 +1996,3,0.00581503,0.055 +1996,4,0.0243654,0.051 +1997,1,-0.0157485,0.051 +1997,2,-0.00749254,0.05 +1997,3,0.00388288,0.051 +1997,4,0.0242448,0.051 +1998,1,-0.014647,0.047 +1998,2,-0.00204897,0.047 +1998,3,0.00247526,0.041 +1998,4,0.0239234,0.038 diff --git a/shared/package-files/45/4590b4e390ccaf5eec312592eb7559948ffbbe483f7af38166297126e73ab994/wx.py b/shared/package-files/45/4590b4e390ccaf5eec312592eb7559948ffbbe483f7af38166297126e73ab994/wx.py new file mode 100644 index 0000000000000000000000000000000000000000..a0f4442c7717dc588510813753adc7b10bd3785b --- /dev/null +++ b/shared/package-files/45/4590b4e390ccaf5eec312592eb7559948ffbbe483f7af38166297126e73ab994/wx.py @@ -0,0 +1,219 @@ +"""Enable wxPython to be used interactively in prompt_toolkit +""" + +import sys +import signal +import time +from timeit import default_timer as clock +import wx + + +def ignore_keyboardinterrupts(func): + """Decorator which causes KeyboardInterrupt exceptions to be ignored during + execution of the decorated function. + + This is used by the inputhook functions to handle the event where the user + presses CTRL+C while IPython is idle, and the inputhook loop is running. In + this case, we want to ignore interrupts. + """ + def wrapper(*args, **kwargs): + try: + func(*args, **kwargs) + except KeyboardInterrupt: + pass + return wrapper + + +@ignore_keyboardinterrupts +def inputhook_wx1(context): + """Run the wx event loop by processing pending events only. + + This approach seems to work, but its performance is not great as it + relies on having PyOS_InputHook called regularly. + """ + app = wx.GetApp() + if app is not None: + assert wx.Thread_IsMain() + + # Make a temporary event loop and process system events until + # there are no more waiting, then allow idle events (which + # will also deal with pending or posted wx events.) + evtloop = wx.EventLoop() + ea = wx.EventLoopActivator(evtloop) + while evtloop.Pending(): + evtloop.Dispatch() + app.ProcessIdle() + del ea + return 0 + + +class EventLoopTimer(wx.Timer): + + def __init__(self, func): + self.func = func + wx.Timer.__init__(self) + + def Notify(self): + self.func() + + +class EventLoopRunner(object): + + def Run(self, time, input_is_ready): + self.input_is_ready = input_is_ready + self.evtloop = wx.EventLoop() + self.timer = EventLoopTimer(self.check_stdin) + self.timer.Start(time) + self.evtloop.Run() + + def check_stdin(self): + if self.input_is_ready(): + self.timer.Stop() + self.evtloop.Exit() + + +@ignore_keyboardinterrupts +def inputhook_wx2(context): + """Run the wx event loop, polling for stdin. + + This version runs the wx eventloop for an undetermined amount of time, + during which it periodically checks to see if anything is ready on + stdin. If anything is ready on stdin, the event loop exits. + + The argument to elr.Run controls how often the event loop looks at stdin. + This determines the responsiveness at the keyboard. A setting of 1000 + enables a user to type at most 1 char per second. I have found that a + setting of 10 gives good keyboard response. We can shorten it further, + but eventually performance would suffer from calling select/kbhit too + often. + """ + app = wx.GetApp() + if app is not None: + assert wx.Thread_IsMain() + elr = EventLoopRunner() + # As this time is made shorter, keyboard response improves, but idle + # CPU load goes up. 10 ms seems like a good compromise. + elr.Run(time=10, # CHANGE time here to control polling interval + input_is_ready=context.input_is_ready) + return 0 + + +@ignore_keyboardinterrupts +def inputhook_wx3(context): + """Run the wx event loop by processing pending events only. + + This is like inputhook_wx1, but it keeps processing pending events + until stdin is ready. After processing all pending events, a call to + time.sleep is inserted. This is needed, otherwise, CPU usage is at 100%. + This sleep time should be tuned though for best performance. + """ + app = wx.GetApp() + if app is not None: + assert wx.Thread_IsMain() + + # The import of wx on Linux sets the handler for signal.SIGINT + # to 0. This is a bug in wx or gtk. We fix by just setting it + # back to the Python default. + if not callable(signal.getsignal(signal.SIGINT)): + signal.signal(signal.SIGINT, signal.default_int_handler) + + evtloop = wx.EventLoop() + ea = wx.EventLoopActivator(evtloop) + t = clock() + while not context.input_is_ready(): + while evtloop.Pending(): + t = clock() + evtloop.Dispatch() + app.ProcessIdle() + # We need to sleep at this point to keep the idle CPU load + # low. However, if sleep to long, GUI response is poor. As + # a compromise, we watch how often GUI events are being processed + # and switch between a short and long sleep time. Here are some + # stats useful in helping to tune this. + # time CPU load + # 0.001 13% + # 0.005 3% + # 0.01 1.5% + # 0.05 0.5% + used_time = clock() - t + if used_time > 10.0: + # print 'Sleep for 1 s' # dbg + time.sleep(1.0) + elif used_time > 0.1: + # Few GUI events coming in, so we can sleep longer + # print 'Sleep for 0.05 s' # dbg + time.sleep(0.05) + else: + # Many GUI events coming in, so sleep only very little + time.sleep(0.001) + del ea + return 0 + + +@ignore_keyboardinterrupts +def inputhook_wxphoenix(context): + """Run the wx event loop until the user provides more input. + + This input hook is suitable for use with wxPython >= 4 (a.k.a. Phoenix). + + It uses the same approach to that used in + ipykernel.eventloops.loop_wx. The wx.MainLoop is executed, and a wx.Timer + is used to periodically poll the context for input. As soon as input is + ready, the wx.MainLoop is stopped. + """ + + app = wx.GetApp() + + if app is None: + return + + if context.input_is_ready(): + return + + assert wx.IsMainThread() + + # Wx uses milliseconds + poll_interval = 100 + + # Use a wx.Timer to periodically check whether input is ready - as soon as + # it is, we exit the main loop + timer = wx.Timer() + + def poll(ev): + if context.input_is_ready(): + timer.Stop() + app.ExitMainLoop() + + timer.Start(poll_interval) + timer.Bind(wx.EVT_TIMER, poll) + + # The import of wx on Linux sets the handler for signal.SIGINT to 0. This + # is a bug in wx or gtk. We fix by just setting it back to the Python + # default. + if not callable(signal.getsignal(signal.SIGINT)): + signal.signal(signal.SIGINT, signal.default_int_handler) + + # The SetExitOnFrameDelete call allows us to run the wx mainloop without + # having a frame open. + app.SetExitOnFrameDelete(False) + app.MainLoop() + + +# Get the major wx version number to figure out what input hook we should use. +major_version = 3 + +try: + major_version = int(wx.__version__[0]) +except Exception: + pass + +# Use the phoenix hook on all platforms for wxpython >= 4 +if major_version >= 4: + inputhook = inputhook_wxphoenix +# On OSX, evtloop.Pending() always returns True, regardless of there being +# any events pending. As such we can't use implementations 1 or 3 of the +# inputhook as those depend on a pending/dispatch loop. +elif sys.platform == 'darwin': + inputhook = inputhook_wx2 +else: + inputhook = inputhook_wx3 diff --git a/shared/package-files/45/45931e8e012e38a384c607fd7bf102e866b18b06353ceec23b4edfb4ae411d21/test_connections.py b/shared/package-files/45/45931e8e012e38a384c607fd7bf102e866b18b06353ceec23b4edfb4ae411d21/test_connections.py new file mode 100644 index 0000000000000000000000000000000000000000..5381608a9bf612db2c1a5605880ea5f333b23550 --- /dev/null +++ b/shared/package-files/45/45931e8e012e38a384c607fd7bf102e866b18b06353ceec23b4edfb4ae411d21/test_connections.py @@ -0,0 +1,554 @@ +#!/usr/bin/env python3 + +# Copyright (c) 2009, Giampaolo Rodola'. All rights reserved. +# Use of this source code is governed by a BSD-style license that can be +# found in the LICENSE file. + +"""Tests for net_connections() and Process.connections() APIs.""" + +import os +import socket +import textwrap +from contextlib import closing +from socket import AF_INET +from socket import AF_INET6 +from socket import SOCK_DGRAM +from socket import SOCK_STREAM + +import psutil +from psutil import FREEBSD +from psutil import LINUX +from psutil import MACOS +from psutil import NETBSD +from psutil import OPENBSD +from psutil import POSIX +from psutil import SUNOS +from psutil import WINDOWS +from psutil._common import supports_ipv6 +from psutil._compat import PY3 +from psutil.tests import AF_UNIX +from psutil.tests import HAS_CONNECTIONS_UNIX +from psutil.tests import SKIP_SYSCONS +from psutil.tests import PsutilTestCase +from psutil.tests import bind_socket +from psutil.tests import bind_unix_socket +from psutil.tests import check_connection_ntuple +from psutil.tests import create_sockets +from psutil.tests import reap_children +from psutil.tests import retry_on_failure +from psutil.tests import serialrun +from psutil.tests import skip_on_access_denied +from psutil.tests import tcp_socketpair +from psutil.tests import unittest +from psutil.tests import unix_socketpair +from psutil.tests import wait_for_file + + +thisproc = psutil.Process() +SOCK_SEQPACKET = getattr(socket, "SOCK_SEQPACKET", object()) + + +@serialrun +class ConnectionTestCase(PsutilTestCase): + + def setUp(self): + if not (NETBSD or FREEBSD): + # process opens a UNIX socket to /var/log/run. + cons = thisproc.connections(kind='all') + assert not cons, cons + + def tearDown(self): + if not (FREEBSD or NETBSD): + # Make sure we closed all resources. + # NetBSD opens a UNIX socket to /var/log/run. + cons = thisproc.connections(kind='all') + assert not cons, cons + + def compare_procsys_connections(self, pid, proc_cons, kind='all'): + """Given a process PID and its list of connections compare + those against system-wide connections retrieved via + psutil.net_connections. + """ + try: + sys_cons = psutil.net_connections(kind=kind) + except psutil.AccessDenied: + # On MACOS, system-wide connections are retrieved by iterating + # over all processes + if MACOS: + return + else: + raise + # Filter for this proc PID and exlucde PIDs from the tuple. + sys_cons = [c[:-1] for c in sys_cons if c.pid == pid] + sys_cons.sort() + proc_cons.sort() + self.assertEqual(proc_cons, sys_cons) + + +class TestBasicOperations(ConnectionTestCase): + + @unittest.skipIf(SKIP_SYSCONS, "requires root") + def test_system(self): + with create_sockets(): + for conn in psutil.net_connections(kind='all'): + check_connection_ntuple(conn) + + def test_process(self): + with create_sockets(): + for conn in psutil.Process().connections(kind='all'): + check_connection_ntuple(conn) + + def test_invalid_kind(self): + self.assertRaises(ValueError, thisproc.connections, kind='???') + self.assertRaises(ValueError, psutil.net_connections, kind='???') + + +@serialrun +class TestUnconnectedSockets(ConnectionTestCase): + """Tests sockets which are open but not connected to anything.""" + + def get_conn_from_sock(self, sock): + cons = thisproc.connections(kind='all') + smap = dict([(c.fd, c) for c in cons]) + if NETBSD or FREEBSD: + # NetBSD opens a UNIX socket to /var/log/run + # so there may be more connections. + return smap[sock.fileno()] + else: + self.assertEqual(len(cons), 1) + if cons[0].fd != -1: + self.assertEqual(smap[sock.fileno()].fd, sock.fileno()) + return cons[0] + + def check_socket(self, sock): + """Given a socket, makes sure it matches the one obtained + via psutil. It assumes this process created one connection + only (the one supposed to be checked). + """ + conn = self.get_conn_from_sock(sock) + check_connection_ntuple(conn) + + # fd, family, type + if conn.fd != -1: + self.assertEqual(conn.fd, sock.fileno()) + self.assertEqual(conn.family, sock.family) + # see: http://bugs.python.org/issue30204 + self.assertEqual( + conn.type, sock.getsockopt(socket.SOL_SOCKET, socket.SO_TYPE)) + + # local address + laddr = sock.getsockname() + if not laddr and PY3 and isinstance(laddr, bytes): + # See: http://bugs.python.org/issue30205 + laddr = laddr.decode() + if sock.family == AF_INET6: + laddr = laddr[:2] + if sock.family == AF_UNIX and OPENBSD: + # No addresses are set for UNIX sockets on OpenBSD. + pass + else: + self.assertEqual(conn.laddr, laddr) + + # XXX Solaris can't retrieve system-wide UNIX sockets + if sock.family == AF_UNIX and HAS_CONNECTIONS_UNIX: + cons = thisproc.connections(kind='all') + self.compare_procsys_connections(os.getpid(), cons, kind='all') + return conn + + def test_tcp_v4(self): + addr = ("127.0.0.1", 0) + with closing(bind_socket(AF_INET, SOCK_STREAM, addr=addr)) as sock: + conn = self.check_socket(sock) + assert not conn.raddr + self.assertEqual(conn.status, psutil.CONN_LISTEN) + + @unittest.skipIf(not supports_ipv6(), "IPv6 not supported") + def test_tcp_v6(self): + addr = ("::1", 0) + with closing(bind_socket(AF_INET6, SOCK_STREAM, addr=addr)) as sock: + conn = self.check_socket(sock) + assert not conn.raddr + self.assertEqual(conn.status, psutil.CONN_LISTEN) + + def test_udp_v4(self): + addr = ("127.0.0.1", 0) + with closing(bind_socket(AF_INET, SOCK_DGRAM, addr=addr)) as sock: + conn = self.check_socket(sock) + assert not conn.raddr + self.assertEqual(conn.status, psutil.CONN_NONE) + + @unittest.skipIf(not supports_ipv6(), "IPv6 not supported") + def test_udp_v6(self): + addr = ("::1", 0) + with closing(bind_socket(AF_INET6, SOCK_DGRAM, addr=addr)) as sock: + conn = self.check_socket(sock) + assert not conn.raddr + self.assertEqual(conn.status, psutil.CONN_NONE) + + @unittest.skipIf(not POSIX, 'POSIX only') + def test_unix_tcp(self): + testfn = self.get_testfn() + with closing(bind_unix_socket(testfn, type=SOCK_STREAM)) as sock: + conn = self.check_socket(sock) + assert not conn.raddr + self.assertEqual(conn.status, psutil.CONN_NONE) + + @unittest.skipIf(not POSIX, 'POSIX only') + def test_unix_udp(self): + testfn = self.get_testfn() + with closing(bind_unix_socket(testfn, type=SOCK_STREAM)) as sock: + conn = self.check_socket(sock) + assert not conn.raddr + self.assertEqual(conn.status, psutil.CONN_NONE) + + +@serialrun +class TestConnectedSocket(ConnectionTestCase): + """Test socket pairs which are are actually connected to + each other. + """ + + # On SunOS, even after we close() it, the server socket stays around + # in TIME_WAIT state. + @unittest.skipIf(SUNOS, "unreliable on SUONS") + def test_tcp(self): + addr = ("127.0.0.1", 0) + assert not thisproc.connections(kind='tcp4') + server, client = tcp_socketpair(AF_INET, addr=addr) + try: + cons = thisproc.connections(kind='tcp4') + self.assertEqual(len(cons), 2) + self.assertEqual(cons[0].status, psutil.CONN_ESTABLISHED) + self.assertEqual(cons[1].status, psutil.CONN_ESTABLISHED) + # May not be fast enough to change state so it stays + # commenteed. + # client.close() + # cons = thisproc.connections(kind='all') + # self.assertEqual(len(cons), 1) + # self.assertEqual(cons[0].status, psutil.CONN_CLOSE_WAIT) + finally: + server.close() + client.close() + + @unittest.skipIf(not POSIX, 'POSIX only') + def test_unix(self): + testfn = self.get_testfn() + server, client = unix_socketpair(testfn) + try: + cons = thisproc.connections(kind='unix') + assert not (cons[0].laddr and cons[0].raddr) + assert not (cons[1].laddr and cons[1].raddr) + if NETBSD or FREEBSD: + # On NetBSD creating a UNIX socket will cause + # a UNIX connection to /var/run/log. + cons = [c for c in cons if c.raddr != '/var/run/log'] + self.assertEqual(len(cons), 2, msg=cons) + if LINUX or FREEBSD or SUNOS: + # remote path is never set + self.assertEqual(cons[0].raddr, "") + self.assertEqual(cons[1].raddr, "") + # one local address should though + self.assertEqual(testfn, cons[0].laddr or cons[1].laddr) + elif OPENBSD: + # No addresses whatsoever here. + for addr in (cons[0].laddr, cons[0].raddr, + cons[1].laddr, cons[1].raddr): + self.assertEqual(addr, "") + else: + # On other systems either the laddr or raddr + # of both peers are set. + self.assertEqual(cons[0].laddr or cons[1].laddr, testfn) + self.assertEqual(cons[0].raddr or cons[1].raddr, testfn) + finally: + server.close() + client.close() + + +class TestFilters(ConnectionTestCase): + + def test_filters(self): + def check(kind, families, types): + for conn in thisproc.connections(kind=kind): + self.assertIn(conn.family, families) + self.assertIn(conn.type, types) + if not SKIP_SYSCONS: + for conn in psutil.net_connections(kind=kind): + self.assertIn(conn.family, families) + self.assertIn(conn.type, types) + + with create_sockets(): + check('all', + [AF_INET, AF_INET6, AF_UNIX], + [SOCK_STREAM, SOCK_DGRAM, SOCK_SEQPACKET]) + check('inet', + [AF_INET, AF_INET6], + [SOCK_STREAM, SOCK_DGRAM]) + check('inet4', + [AF_INET], + [SOCK_STREAM, SOCK_DGRAM]) + check('tcp', + [AF_INET, AF_INET6], + [SOCK_STREAM]) + check('tcp4', + [AF_INET], + [SOCK_STREAM]) + check('tcp6', + [AF_INET6], + [SOCK_STREAM]) + check('udp', + [AF_INET, AF_INET6], + [SOCK_DGRAM]) + check('udp4', + [AF_INET], + [SOCK_DGRAM]) + check('udp6', + [AF_INET6], + [SOCK_DGRAM]) + if HAS_CONNECTIONS_UNIX: + check('unix', + [AF_UNIX], + [SOCK_STREAM, SOCK_DGRAM, SOCK_SEQPACKET]) + + @skip_on_access_denied(only_if=MACOS) + def test_combos(self): + reap_children() + + def check_conn(proc, conn, family, type, laddr, raddr, status, kinds): + all_kinds = ("all", "inet", "inet4", "inet6", "tcp", "tcp4", + "tcp6", "udp", "udp4", "udp6") + check_connection_ntuple(conn) + self.assertEqual(conn.family, family) + self.assertEqual(conn.type, type) + self.assertEqual(conn.laddr, laddr) + self.assertEqual(conn.raddr, raddr) + self.assertEqual(conn.status, status) + for kind in all_kinds: + cons = proc.connections(kind=kind) + if kind in kinds: + assert cons + else: + assert not cons, cons + # compare against system-wide connections + # XXX Solaris can't retrieve system-wide UNIX + # sockets. + if HAS_CONNECTIONS_UNIX: + self.compare_procsys_connections(proc.pid, [conn]) + + tcp_template = textwrap.dedent(""" + import socket, time + s = socket.socket({family}, socket.SOCK_STREAM) + s.bind(('{addr}', 0)) + s.listen(5) + with open('{testfn}', 'w') as f: + f.write(str(s.getsockname()[:2])) + time.sleep(60) + """) + + udp_template = textwrap.dedent(""" + import socket, time + s = socket.socket({family}, socket.SOCK_DGRAM) + s.bind(('{addr}', 0)) + with open('{testfn}', 'w') as f: + f.write(str(s.getsockname()[:2])) + time.sleep(60) + """) + + # must be relative on Windows + testfile = os.path.basename(self.get_testfn(dir=os.getcwd())) + tcp4_template = tcp_template.format( + family=int(AF_INET), addr="127.0.0.1", testfn=testfile) + udp4_template = udp_template.format( + family=int(AF_INET), addr="127.0.0.1", testfn=testfile) + tcp6_template = tcp_template.format( + family=int(AF_INET6), addr="::1", testfn=testfile) + udp6_template = udp_template.format( + family=int(AF_INET6), addr="::1", testfn=testfile) + + # launch various subprocess instantiating a socket of various + # families and types to enrich psutil results + tcp4_proc = self.pyrun(tcp4_template) + tcp4_addr = eval(wait_for_file(testfile, delete=True)) + udp4_proc = self.pyrun(udp4_template) + udp4_addr = eval(wait_for_file(testfile, delete=True)) + if supports_ipv6(): + tcp6_proc = self.pyrun(tcp6_template) + tcp6_addr = eval(wait_for_file(testfile, delete=True)) + udp6_proc = self.pyrun(udp6_template) + udp6_addr = eval(wait_for_file(testfile, delete=True)) + else: + tcp6_proc = None + udp6_proc = None + tcp6_addr = None + udp6_addr = None + + for p in thisproc.children(): + cons = p.connections() + self.assertEqual(len(cons), 1) + for conn in cons: + # TCP v4 + if p.pid == tcp4_proc.pid: + check_conn(p, conn, AF_INET, SOCK_STREAM, tcp4_addr, (), + psutil.CONN_LISTEN, + ("all", "inet", "inet4", "tcp", "tcp4")) + # UDP v4 + elif p.pid == udp4_proc.pid: + check_conn(p, conn, AF_INET, SOCK_DGRAM, udp4_addr, (), + psutil.CONN_NONE, + ("all", "inet", "inet4", "udp", "udp4")) + # TCP v6 + elif p.pid == getattr(tcp6_proc, "pid", None): + check_conn(p, conn, AF_INET6, SOCK_STREAM, tcp6_addr, (), + psutil.CONN_LISTEN, + ("all", "inet", "inet6", "tcp", "tcp6")) + # UDP v6 + elif p.pid == getattr(udp6_proc, "pid", None): + check_conn(p, conn, AF_INET6, SOCK_DGRAM, udp6_addr, (), + psutil.CONN_NONE, + ("all", "inet", "inet6", "udp", "udp6")) + + def test_count(self): + with create_sockets(): + # tcp + cons = thisproc.connections(kind='tcp') + self.assertEqual(len(cons), 2 if supports_ipv6() else 1) + for conn in cons: + self.assertIn(conn.family, (AF_INET, AF_INET6)) + self.assertEqual(conn.type, SOCK_STREAM) + # tcp4 + cons = thisproc.connections(kind='tcp4') + self.assertEqual(len(cons), 1) + self.assertEqual(cons[0].family, AF_INET) + self.assertEqual(cons[0].type, SOCK_STREAM) + # tcp6 + if supports_ipv6(): + cons = thisproc.connections(kind='tcp6') + self.assertEqual(len(cons), 1) + self.assertEqual(cons[0].family, AF_INET6) + self.assertEqual(cons[0].type, SOCK_STREAM) + # udp + cons = thisproc.connections(kind='udp') + self.assertEqual(len(cons), 2 if supports_ipv6() else 1) + for conn in cons: + self.assertIn(conn.family, (AF_INET, AF_INET6)) + self.assertEqual(conn.type, SOCK_DGRAM) + # udp4 + cons = thisproc.connections(kind='udp4') + self.assertEqual(len(cons), 1) + self.assertEqual(cons[0].family, AF_INET) + self.assertEqual(cons[0].type, SOCK_DGRAM) + # udp6 + if supports_ipv6(): + cons = thisproc.connections(kind='udp6') + self.assertEqual(len(cons), 1) + self.assertEqual(cons[0].family, AF_INET6) + self.assertEqual(cons[0].type, SOCK_DGRAM) + # inet + cons = thisproc.connections(kind='inet') + self.assertEqual(len(cons), 4 if supports_ipv6() else 2) + for conn in cons: + self.assertIn(conn.family, (AF_INET, AF_INET6)) + self.assertIn(conn.type, (SOCK_STREAM, SOCK_DGRAM)) + # inet6 + if supports_ipv6(): + cons = thisproc.connections(kind='inet6') + self.assertEqual(len(cons), 2) + for conn in cons: + self.assertEqual(conn.family, AF_INET6) + self.assertIn(conn.type, (SOCK_STREAM, SOCK_DGRAM)) + # Skipped on BSD becayse by default the Python process + # creates a UNIX socket to '/var/run/log'. + if HAS_CONNECTIONS_UNIX and not (FREEBSD or NETBSD): + cons = thisproc.connections(kind='unix') + self.assertEqual(len(cons), 3) + for conn in cons: + self.assertEqual(conn.family, AF_UNIX) + self.assertIn(conn.type, (SOCK_STREAM, SOCK_DGRAM)) + + +@unittest.skipIf(SKIP_SYSCONS, "requires root") +class TestSystemWideConnections(ConnectionTestCase): + """Tests for net_connections().""" + + def test_it(self): + def check(cons, families, types_): + for conn in cons: + self.assertIn(conn.family, families, msg=conn) + if conn.family != AF_UNIX: + self.assertIn(conn.type, types_, msg=conn) + check_connection_ntuple(conn) + + with create_sockets(): + from psutil._common import conn_tmap + for kind, groups in conn_tmap.items(): + # XXX: SunOS does not retrieve UNIX sockets. + if kind == 'unix' and not HAS_CONNECTIONS_UNIX: + continue + families, types_ = groups + cons = psutil.net_connections(kind) + self.assertEqual(len(cons), len(set(cons))) + check(cons, families, types_) + + @retry_on_failure() + def test_multi_sockets_procs(self): + # Creates multiple sub processes, each creating different + # sockets. For each process check that proc.connections() + # and net_connections() return the same results. + # This is done mainly to check whether net_connections()'s + # pid is properly set, see: + # https://github.com/giampaolo/psutil/issues/1013 + with create_sockets() as socks: + expected = len(socks) + pids = [] + times = 10 + fnames = [] + for i in range(times): + fname = self.get_testfn() + fnames.append(fname) + src = textwrap.dedent("""\ + import time, os + from psutil.tests import create_sockets + with create_sockets(): + with open(r'%s', 'w') as f: + f.write("hello") + time.sleep(60) + """ % fname) + sproc = self.pyrun(src) + pids.append(sproc.pid) + + # sync + for fname in fnames: + wait_for_file(fname) + + syscons = [x for x in psutil.net_connections(kind='all') if x.pid + in pids] + for pid in pids: + self.assertEqual(len([x for x in syscons if x.pid == pid]), + expected) + p = psutil.Process(pid) + self.assertEqual(len(p.connections('all')), expected) + + +class TestMisc(PsutilTestCase): + + def test_connection_constants(self): + ints = [] + strs = [] + for name in dir(psutil): + if name.startswith('CONN_'): + num = getattr(psutil, name) + str_ = str(num) + assert str_.isupper(), str_ + self.assertNotIn(str, strs) + self.assertNotIn(num, ints) + ints.append(num) + strs.append(str_) + if SUNOS: + psutil.CONN_IDLE + psutil.CONN_BOUND + if WINDOWS: + psutil.CONN_DELETE_TCB + + +if __name__ == '__main__': + from psutil.tests.runner import run_from_name + run_from_name(__file__) diff --git a/shared/package-files/45/4598acc4b4bfa6872e051af9fe5a819c5f757e5400e6ea48f0f88ff3e662b65d/backend_webagg_core.py b/shared/package-files/45/4598acc4b4bfa6872e051af9fe5a819c5f757e5400e6ea48f0f88ff3e662b65d/backend_webagg_core.py new file mode 100644 index 0000000000000000000000000000000000000000..12906827a4663deb6c927e25dfc9127878bf1897 --- /dev/null +++ b/shared/package-files/45/4598acc4b4bfa6872e051af9fe5a819c5f757e5400e6ea48f0f88ff3e662b65d/backend_webagg_core.py @@ -0,0 +1,527 @@ +"""Displays Agg images in the browser, with interactivity.""" +# The WebAgg backend is divided into two modules: +# +# - `backend_webagg_core.py` contains code necessary to embed a WebAgg +# plot inside of a web application, and communicate in an abstract +# way over a web socket. +# +# - `backend_webagg.py` contains a concrete implementation of a basic +# application, implemented with asyncio. + +import asyncio +import datetime +from io import BytesIO, StringIO +import json +import logging +import os +from pathlib import Path + +import numpy as np +from PIL import Image + +from matplotlib import _api, backend_bases, backend_tools +from matplotlib.backends import backend_agg +from matplotlib.backend_bases import ( + _Backend, MouseButton, KeyEvent, LocationEvent, MouseEvent, ResizeEvent) + +_log = logging.getLogger(__name__) + +_SPECIAL_KEYS_LUT = {'Alt': 'alt', + 'AltGraph': 'alt', + 'CapsLock': 'caps_lock', + 'Control': 'control', + 'Meta': 'meta', + 'NumLock': 'num_lock', + 'ScrollLock': 'scroll_lock', + 'Shift': 'shift', + 'Super': 'super', + 'Enter': 'enter', + 'Tab': 'tab', + 'ArrowDown': 'down', + 'ArrowLeft': 'left', + 'ArrowRight': 'right', + 'ArrowUp': 'up', + 'End': 'end', + 'Home': 'home', + 'PageDown': 'pagedown', + 'PageUp': 'pageup', + 'Backspace': 'backspace', + 'Delete': 'delete', + 'Insert': 'insert', + 'Escape': 'escape', + 'Pause': 'pause', + 'Select': 'select', + 'Dead': 'dead', + 'F1': 'f1', + 'F2': 'f2', + 'F3': 'f3', + 'F4': 'f4', + 'F5': 'f5', + 'F6': 'f6', + 'F7': 'f7', + 'F8': 'f8', + 'F9': 'f9', + 'F10': 'f10', + 'F11': 'f11', + 'F12': 'f12'} + + +def _handle_key(key): + """Handle key values""" + value = key[key.index('k') + 1:] + if 'shift+' in key: + if len(value) == 1: + key = key.replace('shift+', '') + if value in _SPECIAL_KEYS_LUT: + value = _SPECIAL_KEYS_LUT[value] + key = key[:key.index('k')] + value + return key + + +class TimerTornado(backend_bases.TimerBase): + def __init__(self, *args, **kwargs): + self._timer = None + super().__init__(*args, **kwargs) + + def _timer_start(self): + import tornado + + self._timer_stop() + if self._single: + ioloop = tornado.ioloop.IOLoop.instance() + self._timer = ioloop.add_timeout( + datetime.timedelta(milliseconds=self.interval), + self._on_timer) + else: + self._timer = tornado.ioloop.PeriodicCallback( + self._on_timer, + max(self.interval, 1e-6)) + self._timer.start() + + def _timer_stop(self): + import tornado + + if self._timer is None: + return + elif self._single: + ioloop = tornado.ioloop.IOLoop.instance() + ioloop.remove_timeout(self._timer) + else: + self._timer.stop() + self._timer = None + + def _timer_set_interval(self): + # Only stop and restart it if the timer has already been started + if self._timer is not None: + self._timer_stop() + self._timer_start() + + +class TimerAsyncio(backend_bases.TimerBase): + def __init__(self, *args, **kwargs): + self._task = None + super().__init__(*args, **kwargs) + + async def _timer_task(self, interval): + while True: + try: + await asyncio.sleep(interval) + self._on_timer() + + if self._single: + break + except asyncio.CancelledError: + break + + def _timer_start(self): + self._timer_stop() + + self._task = asyncio.ensure_future( + self._timer_task(max(self.interval / 1_000., 1e-6)) + ) + + def _timer_stop(self): + if self._task is not None: + self._task.cancel() + self._task = None + + def _timer_set_interval(self): + # Only stop and restart it if the timer has already been started + if self._task is not None: + self._timer_stop() + self._timer_start() + + +class FigureCanvasWebAggCore(backend_agg.FigureCanvasAgg): + manager_class = _api.classproperty(lambda cls: FigureManagerWebAgg) + _timer_cls = TimerAsyncio + # Webagg and friends having the right methods, but still + # having bugs in practice. Do not advertise that it works until + # we can debug this. + supports_blit = False + + def __init__(self, *args, **kwargs): + super().__init__(*args, **kwargs) + # Set to True when the renderer contains data that is newer + # than the PNG buffer. + self._png_is_old = True + # Set to True by the `refresh` message so that the next frame + # sent to the clients will be a full frame. + self._force_full = True + # The last buffer, for diff mode. + self._last_buff = np.empty((0, 0)) + # Store the current image mode so that at any point, clients can + # request the information. This should be changed by calling + # self.set_image_mode(mode) so that the notification can be given + # to the connected clients. + self._current_image_mode = 'full' + # Track mouse events to fill in the x, y position of key events. + self._last_mouse_xy = (None, None) + + def show(self): + # show the figure window + from matplotlib.pyplot import show + show() + + def draw(self): + self._png_is_old = True + try: + super().draw() + finally: + self.manager.refresh_all() # Swap the frames. + + def blit(self, bbox=None): + self._png_is_old = True + self.manager.refresh_all() + + def draw_idle(self): + self.send_event("draw") + + def set_cursor(self, cursor): + # docstring inherited + cursor = _api.check_getitem({ + backend_tools.Cursors.HAND: 'pointer', + backend_tools.Cursors.POINTER: 'default', + backend_tools.Cursors.SELECT_REGION: 'crosshair', + backend_tools.Cursors.MOVE: 'move', + backend_tools.Cursors.WAIT: 'wait', + backend_tools.Cursors.RESIZE_HORIZONTAL: 'ew-resize', + backend_tools.Cursors.RESIZE_VERTICAL: 'ns-resize', + }, cursor=cursor) + self.send_event('cursor', cursor=cursor) + + def set_image_mode(self, mode): + """ + Set the image mode for any subsequent images which will be sent + to the clients. The modes may currently be either 'full' or 'diff'. + + Note: diff images may not contain transparency, therefore upon + draw this mode may be changed if the resulting image has any + transparent component. + """ + _api.check_in_list(['full', 'diff'], mode=mode) + if self._current_image_mode != mode: + self._current_image_mode = mode + self.handle_send_image_mode(None) + + def get_diff_image(self): + if self._png_is_old: + renderer = self.get_renderer() + + pixels = np.asarray(renderer.buffer_rgba()) + # The buffer is created as type uint32 so that entire + # pixels can be compared in one numpy call, rather than + # needing to compare each plane separately. + buff = pixels.view(np.uint32).squeeze(2) + + if (self._force_full + # If the buffer has changed size we need to do a full draw. + or buff.shape != self._last_buff.shape + # If any pixels have transparency, we need to force a full + # draw as we cannot overlay new on top of old. + or (pixels[:, :, 3] != 255).any()): + self.set_image_mode('full') + output = buff + else: + self.set_image_mode('diff') + diff = buff != self._last_buff + output = np.where(diff, buff, 0) + + # Store the current buffer so we can compute the next diff. + self._last_buff = buff.copy() + self._force_full = False + self._png_is_old = False + + data = output.view(dtype=np.uint8).reshape((*output.shape, 4)) + with BytesIO() as png: + Image.fromarray(data).save(png, format="png") + return png.getvalue() + + def handle_event(self, event): + e_type = event['type'] + handler = getattr(self, f'handle_{e_type}', + self.handle_unknown_event) + return handler(event) + + def handle_unknown_event(self, event): + _log.warning('Unhandled message type %s. %s', event["type"], event) + + def handle_ack(self, event): + # Network latency tends to decrease if traffic is flowing + # in both directions. Therefore, the browser sends back + # an "ack" message after each image frame is received. + # This could also be used as a simple sanity check in the + # future, but for now the performance increase is enough + # to justify it, even if the server does nothing with it. + pass + + def handle_draw(self, event): + self.draw() + + def _handle_mouse(self, event): + x = event['x'] + y = event['y'] + y = self.get_renderer().height - y + self._last_mouse_xy = x, y + e_type = event['type'] + button = event['button'] + 1 # JS numbers off by 1 compared to mpl. + buttons = { # JS ordering different compared to mpl. + button for button, mask in [ + (MouseButton.LEFT, 1), + (MouseButton.RIGHT, 2), + (MouseButton.MIDDLE, 4), + (MouseButton.BACK, 8), + (MouseButton.FORWARD, 16), + ] if event['buttons'] & mask # State *after* press/release. + } + modifiers = event['modifiers'] + guiEvent = event.get('guiEvent') + if e_type in ['button_press', 'button_release']: + MouseEvent(e_type + '_event', self, x, y, button, + modifiers=modifiers, guiEvent=guiEvent)._process() + elif e_type == 'dblclick': + MouseEvent('button_press_event', self, x, y, button, dblclick=True, + modifiers=modifiers, guiEvent=guiEvent)._process() + elif e_type == 'scroll': + MouseEvent('scroll_event', self, x, y, step=event['step'], + modifiers=modifiers, guiEvent=guiEvent)._process() + elif e_type == 'motion_notify': + MouseEvent(e_type + '_event', self, x, y, + buttons=buttons, modifiers=modifiers, guiEvent=guiEvent, + )._process() + elif e_type in ['figure_enter', 'figure_leave']: + LocationEvent(e_type + '_event', self, x, y, + modifiers=modifiers, guiEvent=guiEvent)._process() + + handle_button_press = handle_button_release = handle_dblclick = \ + handle_figure_enter = handle_figure_leave = handle_motion_notify = \ + handle_scroll = _handle_mouse + + def _handle_key(self, event): + KeyEvent(event['type'] + '_event', self, + _handle_key(event['key']), *self._last_mouse_xy, + guiEvent=event.get('guiEvent'))._process() + handle_key_press = handle_key_release = _handle_key + + def handle_toolbar_button(self, event): + # TODO: Be more suspicious of the input + getattr(self.toolbar, event['name'])() + + def handle_refresh(self, event): + figure_label = self.figure.get_label() + if not figure_label: + figure_label = f"Figure {self.manager.num}" + self.send_event('figure_label', label=figure_label) + self._force_full = True + if self.toolbar: + # Normal toolbar init would refresh this, but it happens before the + # browser canvas is set up. + self.toolbar.set_history_buttons() + self.draw_idle() + + def handle_resize(self, event): + x = int(event.get('width', 800)) * self.device_pixel_ratio + y = int(event.get('height', 800)) * self.device_pixel_ratio + fig = self.figure + # An attempt at approximating the figure size in pixels. + fig.set_size_inches(x / fig.dpi, y / fig.dpi, forward=False) + # Acknowledge the resize, and force the viewer to update the + # canvas size to the figure's new size (which is hopefully + # identical or within a pixel or so). + self._png_is_old = True + self.manager.resize(*fig.bbox.size, forward=False) + ResizeEvent('resize_event', self)._process() + self.draw_idle() + + def handle_send_image_mode(self, event): + # The client requests notification of what the current image mode is. + self.send_event('image_mode', mode=self._current_image_mode) + + def handle_set_device_pixel_ratio(self, event): + self._handle_set_device_pixel_ratio(event.get('device_pixel_ratio', 1)) + + def handle_set_dpi_ratio(self, event): + # This handler is for backwards-compatibility with older ipympl. + self._handle_set_device_pixel_ratio(event.get('dpi_ratio', 1)) + + def _handle_set_device_pixel_ratio(self, device_pixel_ratio): + if self._set_device_pixel_ratio(device_pixel_ratio): + self._force_full = True + self.draw_idle() + + def send_event(self, event_type, **kwargs): + if self.manager: + self.manager._send_event(event_type, **kwargs) + + +_ALLOWED_TOOL_ITEMS = { + 'home', + 'back', + 'forward', + 'pan', + 'zoom', + 'download', + None, +} + + +class NavigationToolbar2WebAgg(backend_bases.NavigationToolbar2): + + # Use the standard toolbar items + download button + toolitems = [ + (text, tooltip_text, image_file, name_of_method) + for text, tooltip_text, image_file, name_of_method + in (*backend_bases.NavigationToolbar2.toolitems, + ('Download', 'Download plot', 'filesave', 'download')) + if name_of_method in _ALLOWED_TOOL_ITEMS + ] + + def __init__(self, canvas): + self.message = '' + super().__init__(canvas) + + def set_message(self, message): + if message != self.message: + self.canvas.send_event("message", message=message) + self.message = message + + def draw_rubberband(self, event, x0, y0, x1, y1): + self.canvas.send_event("rubberband", x0=x0, y0=y0, x1=x1, y1=y1) + + def remove_rubberband(self): + self.canvas.send_event("rubberband", x0=-1, y0=-1, x1=-1, y1=-1) + + def save_figure(self, *args): + """Save the current figure.""" + self.canvas.send_event('save') + return self.UNKNOWN_SAVED_STATUS + + def pan(self): + super().pan() + self.canvas.send_event('navigate_mode', mode=self.mode.name) + + def zoom(self): + super().zoom() + self.canvas.send_event('navigate_mode', mode=self.mode.name) + + def set_history_buttons(self): + can_backward = self._nav_stack._pos > 0 + can_forward = self._nav_stack._pos < len(self._nav_stack) - 1 + self.canvas.send_event('history_buttons', + Back=can_backward, Forward=can_forward) + + +class FigureManagerWebAgg(backend_bases.FigureManagerBase): + # This must be None to not break ipympl + _toolbar2_class = None + ToolbarCls = NavigationToolbar2WebAgg + _window_title = "Matplotlib" + + def __init__(self, canvas, num): + self.web_sockets = set() + super().__init__(canvas, num) + + def show(self): + pass + + def resize(self, w, h, forward=True): + self._send_event( + 'resize', + size=(w / self.canvas.device_pixel_ratio, + h / self.canvas.device_pixel_ratio), + forward=forward) + + def set_window_title(self, title): + self._send_event('figure_label', label=title) + self._window_title = title + + def get_window_title(self): + return self._window_title + + # The following methods are specific to FigureManagerWebAgg + + def add_web_socket(self, web_socket): + assert hasattr(web_socket, 'send_binary') + assert hasattr(web_socket, 'send_json') + self.web_sockets.add(web_socket) + self.resize(*self.canvas.figure.bbox.size) + self._send_event('refresh') + + def remove_web_socket(self, web_socket): + self.web_sockets.remove(web_socket) + + def handle_json(self, content): + self.canvas.handle_event(content) + + def refresh_all(self): + if self.web_sockets: + diff = self.canvas.get_diff_image() + if diff is not None: + for s in self.web_sockets: + s.send_binary(diff) + + @classmethod + def get_javascript(cls, stream=None): + if stream is None: + output = StringIO() + else: + output = stream + + output.write((Path(__file__).parent / "web_backend/js/mpl.js") + .read_text(encoding="utf-8")) + + toolitems = [] + for name, tooltip, image, method in cls.ToolbarCls.toolitems: + if name is None: + toolitems.append(['', '', '', '']) + else: + toolitems.append([name, tooltip, image, method]) + output.write(f"mpl.toolbar_items = {json.dumps(toolitems)};\n\n") + + extensions = [] + for filetype, ext in sorted(FigureCanvasWebAggCore. + get_supported_filetypes_grouped(). + items()): + extensions.append(ext[0]) + output.write(f"mpl.extensions = {json.dumps(extensions)};\n\n") + + output.write("mpl.default_extension = {};".format( + json.dumps(FigureCanvasWebAggCore.get_default_filetype()))) + + if stream is None: + return output.getvalue() + + @classmethod + def get_static_file_path(cls): + return os.path.join(os.path.dirname(__file__), 'web_backend') + + def _send_event(self, event_type, **kwargs): + payload = {'type': event_type, **kwargs} + for s in self.web_sockets: + s.send_json(payload) + + +@_Backend.export +class _BackendWebAggCoreAgg(_Backend): + FigureCanvas = FigureCanvasWebAggCore + FigureManager = FigureManagerWebAgg diff --git a/shared/package-files/45/459a74e5e0a05c081374f8913c822033548c6fc4f2e656cfd62da3999c0c2fc7/count.py b/shared/package-files/45/459a74e5e0a05c081374f8913c822033548c6fc4f2e656cfd62da3999c0c2fc7/count.py new file mode 100644 index 0000000000000000000000000000000000000000..9b833a38867b7b608e1ced28ad3f1fc606550bf3 --- /dev/null +++ b/shared/package-files/45/459a74e5e0a05c081374f8913c822033548c6fc4f2e656cfd62da3999c0c2fc7/count.py @@ -0,0 +1,270 @@ +""" +Generic maximum likelihood versions of the Poisson model + +Created on Mon Jul 26 08:34:59 2010 + +Author: josef-pktd + +Notes +----- +Changes: added offset and zero-inflated version of Poisson. Kind of ok, +need better test cases; a nan appears in the ZIP bse, need to check the +Hessian calculations; found an error in the ZIP loglike; all tests pass +with the current implementation. + +Known issues: + +* If the true model is not zero-inflated then the numerical Hessian for + ZIP has zeros for the inflation probability and is not invertible. + The Hessian inverts and bse look ok if the corresponding row and + column are dropped; pinv also works. +* GenericMLE: still get somewhere (where?) + "CacheWriteWarning: The attribute 'bse' cannot be overwritten" +* bfgs is too fragile, does not come back +* `nm` is slow but seems to work +* need good start_params and their use in genericmle needs to be checked + for consistency, set as attribute or method (called as attribute) +* numerical hessian needs better scaling +* check taking parts out of the loop, e.g., factorial(endog) could be + precalculated +""" +import numpy as np +from scipy import stats +from scipy.special import factorial + +from statsmodels.base.model import GenericLikelihoodModel +from statsmodels.tools.validation import array_like + + +def maxabs(arr1, arr2): + return np.max(np.abs(arr1 - arr2)) + + +def maxabsrel(arr1, arr2): + return np.max(np.abs(arr2 / arr1 - 1)) + + +class PoissonGMLE(GenericLikelihoodModel): + """ + Maximum Likelihood Estimation of Poisson Model + + This is an example for generic MLE which has the same + statistical model as discretemod.Poisson. + + Except for defining the negative log-likelihood method, all + methods and results are generic. Gradients and Hessian + and all resulting statistics are based on numerical + differentiation. + """ + + # copied from discretemod.Poisson + def nloglikeobs(self, params): + """ + Loglikelihood of Poisson model + + Parameters + ---------- + params : array_like + The parameters of the model. + + Returns + ------- + ndarray + The negative log likelihood of the model evaluated at `params` + for each observation. + + Notes + ----- + .. math:: \\ln L=\\sum_{i=1}^{n}\\left[-\\lambda_{i}+y_{i}x_{i}^{\\prime}\\beta-\\ln y_{i}!\\right] + """ + XB = np.dot(self.exog, params) + endog = self.endog + return np.exp(XB) - endog*XB + np.log(factorial(endog)) + + def predict_distribution(self, exog): + """ + Return frozen scipy.stats distribution with mu at estimated prediction + + Parameters + ---------- + exog : array_like + Explanatory variables used to construct the predicted mean. + + Returns + ------- + rv_frozen + A frozen `scipy.stats.poisson` distribution with `mu` set to + the predicted mean at `exog`. + """ + if not hasattr(self, "result"): + # TODO: why would this be ValueError instead of AttributeError? + # TODO: Why even make this a Model attribute in the first place? + # It belongs on the Results class + raise ValueError + else: + result = self.result + params = result.params + mu = np.exp(np.dot(exog, params)) + return stats.poisson(mu, loc=0) + + +class PoissonOffsetGMLE(GenericLikelihoodModel): + """ + Maximum Likelihood Estimation of Poisson Model + + This is an example for generic MLE which has the same + statistical model as discretemod.Poisson but adds offset + + Except for defining the negative log-likelihood method, all + methods and results are generic. Gradients and Hessian + and all resulting statistics are based on numerical + differentiation. + + Parameters + ---------- + endog : array_like + 1-d endogenous response variable. The dependent variable. + exog : array_like, optional + A nobs x k array where `nobs` is the number of observations and + `k` is the number of regressors. + offset : ndarray, optional + Offset added to the linear predictor before computing the mean. + missing : str, optional + Available options are 'none', 'drop', and 'raise'. If 'none', no + nan checking is done. If 'drop', any observations with nans are + dropped. If 'raise', an error is raised. Default is 'none'. + **kwds + Extra keyword arguments passed to the model. + """ + + def __init__(self, endog, exog=None, offset=None, missing="none", **kwds): + # let them be none in case user wants to use inheritance + offset = array_like(offset, "offset", optional=True) + if offset is not None: + if offset.ndim == 1: + offset = offset[:, None] # need column + self.offset = offset.ravel() + else: + self.offset = 0. + super().__init__(endog, exog, missing=missing, **kwds) + +# this was added temporarily for bug-hunting, but should not be needed +# def loglike(self, params): +# return -self.nloglikeobs(params).sum(0) + + # original copied from discretemod.Poisson + def nloglikeobs(self, params): + """ + Loglikelihood of Poisson model + + Parameters + ---------- + params : array_like + The parameters of the model. + + Returns + ------- + ndarray + The negative log likelihood of the model evaluated at `params` + for each observation. + + Notes + ----- + .. math:: \\ln L=\\sum_{i=1}^{n}\\left[-\\lambda_{i}+y_{i}x_{i}^{\\prime}\\beta-\\ln y_{i}!\\right] + """ + + XB = self.offset + np.dot(self.exog, params) + endog = self.endog + nloglik = np.exp(XB) - endog*XB + np.log(factorial(endog)) + return nloglik + + +class PoissonZiGMLE(GenericLikelihoodModel): + """ + Maximum Likelihood Estimation of Poisson Model + + This is an example for generic MLE which has the same statistical model + as discretemod.Poisson but adds offset and zero-inflation. + + Except for defining the negative log-likelihood method, all + methods and results are generic. Gradients and Hessian + and all resulting statistics are based on numerical + differentiation. + + There are numerical problems if there is no zero-inflation. + + Parameters + ---------- + endog : array_like + 1-d endogenous response variable. The dependent variable. + exog : array_like, optional + A nobs x k array where `nobs` is the number of observations and + `k` is the number of regressors. If None, a column of ones is + used. + offset : array_like, optional + Offset added to the linear predictor before computing the mean. + missing : str, optional + Available options are 'none', 'drop', and 'raise'. If 'none', no + nan checking is done. If 'drop', any observations with nans are + dropped. If 'raise', an error is raised. Default is 'none'. + **kwds + Extra keyword arguments passed to the model. + """ + + def __init__(self, endog, exog=None, offset=None, missing="none", **kwds): + # let them be none in case user wants to use inheritance + self.k_extra = 1 + super().__init__( + endog, exog, missing=missing, extra_params_names=["zi"], **kwds + ) + offset = array_like(offset, "offset", optional=True, ndim=1) + if offset is not None: + if offset.ndim == 1: + offset = offset[:, None] # need column + self.offset = offset.ravel() # which way? + else: + self.offset = 0. + + # TODO: it's not standard pattern to use default exog + if exog is None: + self.exog = np.ones((self.nobs, 1)) + self.nparams = self.exog.shape[1] + # what's the shape in regression for exog if only constant + self.start_params = np.hstack((np.ones(self.nparams), 0)) + # need to add zi params to nparams + self.nparams += 1 + self.cloneattr = ["start_params"] + # needed for t_test and summary + # Note: no added to super __init__ which also adjusts df_resid + # self.exog_names.append('zi') + + # original copied from discretemod.Poisson + def nloglikeobs(self, params): + """ + Loglikelihood of Poisson model + + Parameters + ---------- + params : array_like + The parameters of the model. + + Returns + ------- + ndarray + The negative log likelihood of the model evaluated at `params` + for each observation. + + Notes + ----- + .. math:: \\ln L=\\sum_{i=1}^{n}\\left[-\\lambda_{i}+y_{i}x_{i}^{\\prime}\\beta-\\ln y_{i}!\\right] + """ + beta = params[:-1] + gamm = 1 / (1 + np.exp(params[-1])) # check this + # replace with np.dot(self.exogZ, gamma) + # print(np.shape(self.offset), self.exog.shape, beta.shape + XB = self.offset + np.dot(self.exog, beta) + endog = self.endog + nloglik = -np.log(1-gamm) + np.exp(XB) - endog*XB + np.log(factorial(endog)) + nloglik[endog == 0] = - np.log(gamm + np.exp(-nloglik[endog == 0])) + + return nloglik diff --git a/shared/package-files/45/459ab44ebcbf922674f39fddfc2be17b032c779ec89c66f64c27a2bde69ff8ea/converter.h b/shared/package-files/45/459ab44ebcbf922674f39fddfc2be17b032c779ec89c66f64c27a2bde69ff8ea/converter.h new file mode 100644 index 0000000000000000000000000000000000000000..408ab22305fff1665956ee8bb831fbc062b9994c --- /dev/null +++ b/shared/package-files/45/459ab44ebcbf922674f39fddfc2be17b032c779ec89c66f64c27a2bde69ff8ea/converter.h @@ -0,0 +1,67 @@ +// Licensed to the Apache Software Foundation (ASF) under one +// or more contributor license agreements. See the NOTICE file +// distributed with this work for additional information +// regarding copyright ownership. The ASF licenses this file +// to you under the Apache License, Version 2.0 (the +// "License"); you may not use this file except in compliance +// with the License. You may obtain a copy of the License at +// +// http://www.apache.org/licenses/LICENSE-2.0 +// +// Unless required by applicable law or agreed to in writing, +// software distributed under the License is distributed on an +// "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY +// KIND, either express or implied. See the License for the +// specific language governing permissions and limitations +// under the License. + +#pragma once + +#include "arrow/sparse_tensor.h" // IWYU pragma: export + +#include + +namespace arrow { +namespace internal { + +struct SparseTensorConverterMixin { + static bool IsNonZero(const uint8_t val) { return val != 0; } + + static void AssignIndex(uint8_t* indices, int64_t val, const int elsize); + + static int64_t GetIndexValue(const uint8_t* value_ptr, const int elsize); +}; + +Status MakeSparseCOOTensorFromTensor(const Tensor& tensor, + const std::shared_ptr& index_value_type, + MemoryPool* pool, + std::shared_ptr* out_sparse_index, + std::shared_ptr* out_data); + +Status MakeSparseCSXMatrixFromTensor(SparseMatrixCompressedAxis axis, + const Tensor& tensor, + const std::shared_ptr& index_value_type, + MemoryPool* pool, + std::shared_ptr* out_sparse_index, + std::shared_ptr* out_data); + +Status MakeSparseCSFTensorFromTensor(const Tensor& tensor, + const std::shared_ptr& index_value_type, + MemoryPool* pool, + std::shared_ptr* out_sparse_index, + std::shared_ptr* out_data); + +Result> MakeTensorFromSparseCOOTensor( + MemoryPool* pool, const SparseCOOTensor* sparse_tensor); + +Result> MakeTensorFromSparseCSRMatrix( + MemoryPool* pool, const SparseCSRMatrix* sparse_tensor); + +Result> MakeTensorFromSparseCSCMatrix( + MemoryPool* pool, const SparseCSCMatrix* sparse_tensor); + +Result> MakeTensorFromSparseCSFTensor( + MemoryPool* pool, const SparseCSFTensor* sparse_tensor); + +} // namespace internal +} // namespace arrow diff --git a/shared/package-files/45/459c0eea96098e05fb7789139b298381720409f27367fa16f311be9e60e8e716/cmathimpl.py b/shared/package-files/45/459c0eea96098e05fb7789139b298381720409f27367fa16f311be9e60e8e716/cmathimpl.py new file mode 100644 index 0000000000000000000000000000000000000000..0ac32a9144ed4994e150a6a686c461978dd90d99 --- /dev/null +++ b/shared/package-files/45/459c0eea96098e05fb7789139b298381720409f27367fa16f311be9e60e8e716/cmathimpl.py @@ -0,0 +1,542 @@ +""" +Implement the cmath module functions. +""" + + +import cmath +import math + +from numba.core.imputils import impl_ret_untracked +from numba.core import types +from numba.core.typing import signature +from numba.cpython import mathimpl +from numba.core.extending import overload + +# registry = Registry('cmathimpl') +# lower = registry.lower + + +def is_nan(builder, z): + return builder.fcmp_unordered('uno', z.real, z.imag) + +def is_inf(builder, z): + return builder.or_(mathimpl.is_inf(builder, z.real), + mathimpl.is_inf(builder, z.imag)) + +def is_finite(builder, z): + return builder.and_(mathimpl.is_finite(builder, z.real), + mathimpl.is_finite(builder, z.imag)) + + +# @lower(cmath.isnan, types.Complex) +def isnan_float_impl(context, builder, sig, args): + [typ] = sig.args + [value] = args + z = context.make_complex(builder, typ, value=value) + res = is_nan(builder, z) + return impl_ret_untracked(context, builder, sig.return_type, res) + +# @lower(cmath.isinf, types.Complex) +def isinf_float_impl(context, builder, sig, args): + [typ] = sig.args + [value] = args + z = context.make_complex(builder, typ, value=value) + res = is_inf(builder, z) + return impl_ret_untracked(context, builder, sig.return_type, res) + + +# @lower(cmath.isfinite, types.Complex) +def isfinite_float_impl(context, builder, sig, args): + [typ] = sig.args + [value] = args + z = context.make_complex(builder, typ, value=value) + res = is_finite(builder, z) + return impl_ret_untracked(context, builder, sig.return_type, res) + + +# @overload(cmath.rect) +def impl_cmath_rect(r, phi): + if all([isinstance(typ, types.Float) for typ in [r, phi]]): + def impl(r, phi): + if not math.isfinite(phi): + if not r: + # cmath.rect(0, phi={inf, nan}) = 0 + return abs(r) + if math.isinf(r): + # cmath.rect(inf, phi={inf, nan}) = inf + j phi + return complex(r, phi) + real = math.cos(phi) + imag = math.sin(phi) + if real == 0. and math.isinf(r): + # 0 * inf would return NaN, we want to keep 0 but xor the sign + real /= r + else: + real *= r + if imag == 0. and math.isinf(r): + # ditto + imag /= r + else: + imag *= r + return complex(real, imag) + return impl + + +def intrinsic_complex_unary(inner_func): + def wrapper(context, builder, sig, args): + [typ] = sig.args + [value] = args + z = context.make_complex(builder, typ, value=value) + x = z.real + y = z.imag + # Same as above: math.isfinite() is unavailable on 2.x so we precompute + # its value and pass it to the pure Python implementation. + x_is_finite = mathimpl.is_finite(builder, x) + y_is_finite = mathimpl.is_finite(builder, y) + inner_sig = signature(sig.return_type, + *(typ.underlying_float,) * 2 + (types.boolean,) * 2) + res = context.compile_internal(builder, inner_func, inner_sig, + (x, y, x_is_finite, y_is_finite)) + return impl_ret_untracked(context, builder, sig, res) + return wrapper + + +NAN = float('nan') +INF = float('inf') + +# @lower(cmath.exp, types.Complex) +@intrinsic_complex_unary +def exp_impl(x, y, x_is_finite, y_is_finite): + """cmath.exp(x + y j)""" + if x_is_finite: + if y_is_finite: + c = math.cos(y) + s = math.sin(y) + r = math.exp(x) + return complex(r * c, r * s) + else: + return complex(NAN, NAN) + elif math.isnan(x): + if y: + return complex(x, x) # nan + j nan + else: + return complex(x, y) # nan + 0j + elif x > 0.0: + # x == +inf + if y_is_finite: + real = math.cos(y) + imag = math.sin(y) + # Avoid NaNs if math.cos(y) or math.sin(y) == 0 + # (e.g. cmath.exp(inf + 0j) == inf + 0j) + if real != 0: + real *= x + if imag != 0: + imag *= x + return complex(real, imag) + else: + return complex(x, NAN) + else: + # x == -inf + if y_is_finite: + r = math.exp(x) + c = math.cos(y) + s = math.sin(y) + return complex(r * c, r * s) + else: + r = 0 + return complex(r, r) + +# @lower(cmath.log, types.Complex) +@intrinsic_complex_unary +def log_impl(x, y, x_is_finite, y_is_finite): + """cmath.log(x + y j)""" + a = math.log(math.hypot(x, y)) + b = math.atan2(y, x) + return complex(a, b) + + +# @lower(cmath.log, types.Complex, types.Complex) +def log_base_impl(context, builder, sig, args): + """cmath.log(z, base)""" + [z, base] = args + + def log_base(z, base): + return cmath.log(z) / cmath.log(base) + + res = context.compile_internal(builder, log_base, sig, args) + return impl_ret_untracked(context, builder, sig, res) + + +# @overload(cmath.log10) +def impl_cmath_log10(z): + if not isinstance(z, types.Complex): + return + + LN_10 = 2.302585092994045684 + + def log10_impl(z): + """cmath.log10(z)""" + z = cmath.log(z) + # This formula gives better results on +/-inf than cmath.log(z, 10) + # See http://bugs.python.org/issue22544 + return complex(z.real / LN_10, z.imag / LN_10) + + return log10_impl + + +# @overload(cmath.phase) +def phase_impl(x): + """cmath.phase(x + y j)""" + + if not isinstance(x, types.Complex): + return + + def impl(x): + return math.atan2(x.imag, x.real) + return impl + + +# @overload(cmath.polar) +def polar_impl(x): + if not isinstance(x, types.Complex): + return + + def impl(x): + r, i = x.real, x.imag + return math.hypot(r, i), math.atan2(i, r) + return impl + + +# @lower(cmath.sqrt, types.Complex) +def sqrt_impl(context, builder, sig, args): + # We risk spurious overflow for components >= FLT_MAX / (1 + sqrt(2)). + + SQRT2 = 1.414213562373095048801688724209698079E0 + ONE_PLUS_SQRT2 = (1. + SQRT2) + theargflt = sig.args[0].underlying_float + # Get a type specific maximum value so scaling for overflow is based on that + MAX = mathimpl.DBL_MAX if theargflt.bitwidth == 64 else mathimpl.FLT_MAX + # THRES will be double precision, should not impact typing as it's just + # used for comparison, there *may* be a few values near THRES which + # deviate from e.g. NumPy due to rounding that occurs in the computation + # of this value in the case of a 32bit argument. + THRES = MAX / ONE_PLUS_SQRT2 + + def sqrt_impl(z): + """cmath.sqrt(z)""" + # This is NumPy's algorithm, see npy_csqrt() in npy_math_complex.c.src + a = z.real + b = z.imag + if a == 0.0 and b == 0.0: + return complex(abs(b), b) + if math.isinf(b): + return complex(abs(b), b) + if math.isnan(a): + return complex(a, a) + if math.isinf(a): + if a < 0.0: + return complex(abs(b - b), math.copysign(a, b)) + else: + return complex(a, math.copysign(b - b, b)) + + # The remaining special case (b is NaN) is handled just fine by + # the normal code path below. + + # Scale to avoid overflow + if abs(a) >= THRES or abs(b) >= THRES: + a *= 0.25 + b *= 0.25 + scale = True + else: + scale = False + # Algorithm 312, CACM vol 10, Oct 1967 + if a >= 0: + t = math.sqrt((a + math.hypot(a, b)) * 0.5) + real = t + imag = b / (2 * t) + else: + t = math.sqrt((-a + math.hypot(a, b)) * 0.5) + real = abs(b) / (2 * t) + imag = math.copysign(t, b) + # Rescale + if scale: + return complex(real * 2, imag) + else: + return complex(real, imag) + + res = context.compile_internal(builder, sqrt_impl, sig, args) + return impl_ret_untracked(context, builder, sig, res) + + +# @lower(cmath.cos, types.Complex) +def cos_impl(context, builder, sig, args): + def cos_impl(z): + """cmath.cos(z) = cmath.cosh(z j)""" + return cmath.cosh(complex(-z.imag, z.real)) + + res = context.compile_internal(builder, cos_impl, sig, args) + return impl_ret_untracked(context, builder, sig, res) + +# @overload(cmath.cosh) +def impl_cmath_cosh(z): + if not isinstance(z, types.Complex): + return + + def cosh_impl(z): + """cmath.cosh(z)""" + x = z.real + y = z.imag + if math.isinf(x): + if math.isnan(y): + # x = +inf, y = NaN => cmath.cosh(x + y j) = inf + Nan * j + real = abs(x) + imag = y + elif y == 0.0: + # x = +inf, y = 0 => cmath.cosh(x + y j) = inf + 0j + real = abs(x) + imag = y + else: + real = math.copysign(x, math.cos(y)) + imag = math.copysign(x, math.sin(y)) + if x < 0.0: + # x = -inf => negate imaginary part of result + imag = -imag + return complex(real, imag) + return complex(math.cos(y) * math.cosh(x), + math.sin(y) * math.sinh(x)) + return cosh_impl + + +# @lower(cmath.sin, types.Complex) +def sin_impl(context, builder, sig, args): + def sin_impl(z): + """cmath.sin(z) = -j * cmath.sinh(z j)""" + r = cmath.sinh(complex(-z.imag, z.real)) + return complex(r.imag, -r.real) + + res = context.compile_internal(builder, sin_impl, sig, args) + return impl_ret_untracked(context, builder, sig, res) + +# @overload(cmath.sinh) +def impl_cmath_sinh(z): + if not isinstance(z, types.Complex): + return + + def sinh_impl(z): + """cmath.sinh(z)""" + x = z.real + y = z.imag + if math.isinf(x): + if math.isnan(y): + # x = +/-inf, y = NaN => cmath.sinh(x + y j) = x + NaN * j + real = x + imag = y + else: + real = math.cos(y) + imag = math.sin(y) + if real != 0.: + real *= x + if imag != 0.: + imag *= abs(x) + return complex(real, imag) + return complex(math.cos(y) * math.sinh(x), + math.sin(y) * math.cosh(x)) + return sinh_impl + + +# @lower(cmath.tan, types.Complex) +def tan_impl(context, builder, sig, args): + def tan_impl(z): + """cmath.tan(z) = -j * cmath.tanh(z j)""" + r = cmath.tanh(complex(-z.imag, z.real)) + return complex(r.imag, -r.real) + + res = context.compile_internal(builder, tan_impl, sig, args) + return impl_ret_untracked(context, builder, sig, res) + + +# @overload(cmath.tanh) +def impl_cmath_tanh(z): + if not isinstance(z, types.Complex): + return + + def tanh_impl(z): + """cmath.tanh(z)""" + x = z.real + y = z.imag + if math.isinf(x): + real = math.copysign(1., x) + if math.isinf(y): + imag = 0. + else: + imag = math.copysign(0., math.sin(2. * y)) + return complex(real, imag) + # This is CPython's algorithm (see c_tanh() in cmathmodule.c). + # XXX how to force float constants into single precision? + tx = math.tanh(x) + ty = math.tan(y) + cx = 1. / math.cosh(x) + txty = tx * ty + denom = 1. + txty * txty + return complex( + tx * (1. + ty * ty) / denom, + ((ty / denom) * cx) * cx) + + return tanh_impl + + +# @lower(cmath.acos, types.Complex) +def acos_impl(context, builder, sig, args): + LN_4 = math.log(4) + THRES = mathimpl.FLT_MAX / 4 + + def acos_impl(z): + """cmath.acos(z)""" + # CPython's algorithm (see c_acos() in cmathmodule.c) + if abs(z.real) > THRES or abs(z.imag) > THRES: + # Avoid unnecessary overflow for large arguments + # (also handles infinities gracefully) + real = math.atan2(abs(z.imag), z.real) + imag = math.copysign( + math.log(math.hypot(z.real * 0.5, z.imag * 0.5)) + LN_4, + -z.imag) + return complex(real, imag) + else: + s1 = cmath.sqrt(complex(1. - z.real, -z.imag)) + s2 = cmath.sqrt(complex(1. + z.real, z.imag)) + real = 2. * math.atan2(s1.real, s2.real) + imag = math.asinh(s2.real * s1.imag - s2.imag * s1.real) + return complex(real, imag) + + res = context.compile_internal(builder, acos_impl, sig, args) + return impl_ret_untracked(context, builder, sig, res) + +# @overload(cmath.acosh) +def impl_cmath_acosh(z): + if not isinstance(z, types.Complex): + return + + LN_4 = math.log(4) + THRES = mathimpl.FLT_MAX / 4 + + def acosh_impl(z): + """cmath.acosh(z)""" + # CPython's algorithm (see c_acosh() in cmathmodule.c) + if abs(z.real) > THRES or abs(z.imag) > THRES: + # Avoid unnecessary overflow for large arguments + # (also handles infinities gracefully) + real = math.log(math.hypot(z.real * 0.5, z.imag * 0.5)) + LN_4 + imag = math.atan2(z.imag, z.real) + return complex(real, imag) + else: + s1 = cmath.sqrt(complex(z.real - 1., z.imag)) + s2 = cmath.sqrt(complex(z.real + 1., z.imag)) + real = math.asinh(s1.real * s2.real + s1.imag * s2.imag) + imag = 2. * math.atan2(s1.imag, s2.real) + return complex(real, imag) + # Condensed formula (NumPy) + #return cmath.log(z + cmath.sqrt(z + 1.) * cmath.sqrt(z - 1.)) + + return acosh_impl + + +# @lower(cmath.asinh, types.Complex) +def asinh_impl(context, builder, sig, args): + LN_4 = math.log(4) + THRES = mathimpl.FLT_MAX / 4 + + def asinh_impl(z): + """cmath.asinh(z)""" + # CPython's algorithm (see c_asinh() in cmathmodule.c) + if abs(z.real) > THRES or abs(z.imag) > THRES: + real = math.copysign( + math.log(math.hypot(z.real * 0.5, z.imag * 0.5)) + LN_4, + z.real) + imag = math.atan2(z.imag, abs(z.real)) + return complex(real, imag) + else: + s1 = cmath.sqrt(complex(1. + z.imag, -z.real)) + s2 = cmath.sqrt(complex(1. - z.imag, z.real)) + real = math.asinh(s1.real * s2.imag - s2.real * s1.imag) + imag = math.atan2(z.imag, s1.real * s2.real - s1.imag * s2.imag) + return complex(real, imag) + + res = context.compile_internal(builder, asinh_impl, sig, args) + return impl_ret_untracked(context, builder, sig, res) + +# @lower(cmath.asin, types.Complex) +def asin_impl(context, builder, sig, args): + def asin_impl(z): + """cmath.asin(z) = -j * cmath.asinh(z j)""" + r = cmath.asinh(complex(-z.imag, z.real)) + return complex(r.imag, -r.real) + + res = context.compile_internal(builder, asin_impl, sig, args) + return impl_ret_untracked(context, builder, sig, res) + +# @lower(cmath.atan, types.Complex) +def atan_impl(context, builder, sig, args): + def atan_impl(z): + """cmath.atan(z) = -j * cmath.atanh(z j)""" + r = cmath.atanh(complex(-z.imag, z.real)) + if math.isinf(z.real) and math.isnan(z.imag): + # XXX this is odd but necessary + return complex(r.imag, r.real) + else: + return complex(r.imag, -r.real) + + res = context.compile_internal(builder, atan_impl, sig, args) + return impl_ret_untracked(context, builder, sig, res) + +# @lower(cmath.atanh, types.Complex) +def atanh_impl(context, builder, sig, args): + LN_4 = math.log(4) + THRES_LARGE = math.sqrt(mathimpl.FLT_MAX / 4) + THRES_SMALL = math.sqrt(mathimpl.FLT_MIN) + PI_12 = math.pi / 2 + + def atanh_impl(z): + """cmath.atanh(z)""" + # CPython's algorithm (see c_atanh() in cmathmodule.c) + if z.real < 0.: + # Reduce to case where z.real >= 0., using atanh(z) = -atanh(-z). + negate = True + z = -z + else: + negate = False + + ay = abs(z.imag) + if math.isnan(z.real) or z.real > THRES_LARGE or ay > THRES_LARGE: + if math.isinf(z.imag): + real = math.copysign(0., z.real) + elif math.isinf(z.real): + real = 0. + else: + # may be safe from overflow, depending on hypot's implementation... + h = math.hypot(z.real * 0.5, z.imag * 0.5) + real = z.real/4./h/h + imag = -math.copysign(PI_12, -z.imag) + elif z.real == 1. and ay < THRES_SMALL: + # C99 standard says: atanh(1+/-0.) should be inf +/- 0j + if ay == 0.: + real = INF + imag = z.imag + else: + real = -math.log(math.sqrt(ay) / + math.sqrt(math.hypot(ay, 2.))) + imag = math.copysign(math.atan2(2., -ay) / 2, z.imag) + else: + sqay = ay * ay + zr1 = 1 - z.real + real = math.log1p(4. * z.real / (zr1 * zr1 + sqay)) * 0.25 + imag = -math.atan2(-2. * z.imag, + zr1 * (1 + z.real) - sqay) * 0.5 + + if math.isnan(z.imag): + imag = NAN + if negate: + return complex(-real, -imag) + else: + return complex(real, imag) + + res = context.compile_internal(builder, atanh_impl, sig, args) + return impl_ret_untracked(context, builder, sig, res) diff --git a/shared/package-files/45/45a29f83316a7ee45410bf70068f631fa58fcd32001e60487c11754ae5122171/shim.h b/shared/package-files/45/45a29f83316a7ee45410bf70068f631fa58fcd32001e60487c11754ae5122171/shim.h new file mode 100644 index 0000000000000000000000000000000000000000..2995e8151fabb0454b718d7be486a6922cb2d6d0 --- /dev/null +++ b/shared/package-files/45/45a29f83316a7ee45410bf70068f631fa58fcd32001e60487c11754ae5122171/shim.h @@ -0,0 +1,571 @@ +#ifndef AOTI_TORCH_SHIM +#define AOTI_TORCH_SHIM + +#include +#include + +// This header defines a stable C API for certain ATen functionality in +// libtorch. The AOTInductor compiled model.so will only refer to this header +// instead of other headers from aten/c10, which means it will NOT be able to +// directly use any data structures or call functions from libtorch. +// +// What problems are we trying to solve here? Direct use of aten/c10 APIs +// means use of C++ APIs on a library that doesn't have any ABI compatibility +// guarantees. However, we want model.so to remain usable across updates +// to the PyTorch C++ libraries, which requires a stable ABI. By introducing +// a C shim layer, we can minimize the surface that will cause breakage. The +// corresponding software stack can be illustrated as follows: +// +// |--------------------------------| +// | inference service code | +// |--------------------------------| +// | model.so | +// |--------------|-----------------| +// | | +// | libtorch.so | +// |--------------------------------| +// +// The general guidelines for the C API: +// +// - No exceptions, return an explicit error code to be checked at call site +// - Only pointers (AtenTensorHandle counts), integers and floats in headers +// +// If you want to make changes to this header, you MUST MAINTAIN ABI +// compatibility. Typically, this means you will have to add a _v2 version +// of a function that you, e.g., want to add a new function parameter to, and +// maintain the old and new versions of the APIs until all old model.so +// go out of use. + +#ifdef __GNUC__ +#define AOTI_TORCH_EXPORT __attribute__((__visibility__("default"))) +#else // !__GNUC__ +#ifdef _WIN32 +#define AOTI_TORCH_EXPORT __declspec(dllexport) +#else // !_WIN32 +#define AOTI_TORCH_EXPORT +#endif // _WIN32 +#endif // __GNUC__ + +#ifdef __cplusplus +extern "C" { +#endif + +// AtenTensorHandle represents an abstract notion of Tensor that can be passed +// between model.so and libtorch.so. The contents of the structure itself +// are private; model.so is not allowed to access any fields directly, it must +// go through functions defined in this ABI. Under the hood, this is +// represented as at::Tensor*, but we reserve the right to change this (and in +// fact, we probably should change it to at::TensorImpl* at least). +// +// An AtenTensorHandle can be owning (please check the API reference for exact +// ownership/borrow semantics). If you have an owning AtenTensorHandle +// in model.so, you are obligated to aoti_torch_delete_tensor_object when you +// are done. You can use the helper C++ class RAIIAtenTensorHandle +// (see aot_runtime/model.h) to ensure the deallocator is called in RAII style +// (note that RAIIAtenTensorHandle is private to model.so, and never crosses +// the ABI boundary.) +struct AtenTensorOpaque; +using AtenTensorHandle = AtenTensorOpaque*; + +struct AOTIProxyExecutorOpaque; +using AOTIProxyExecutorHandle = AOTIProxyExecutorOpaque*; + +using AOTITorchError = int32_t; +#define AOTI_TORCH_SUCCESS 0 +#define AOTI_TORCH_FAILURE 1 + +// Getter functions for retrieving various constants from the runtime, that +// can subsequently be passed to other aoti_* functions. By hiding these +// behind functions, the precise value of device/dtype is NOT part of the +// ABI contract. (In practice, aten/c10 is pretty good about not renumbering +// these, so we probably could later switch to having these in the ABI, if +// desired for perf reasons.) +AOTI_TORCH_EXPORT int32_t aoti_torch_device_type_cpu(); +AOTI_TORCH_EXPORT int32_t aoti_torch_device_type_cuda(); + +AOTI_TORCH_EXPORT int32_t aoti_torch_dtype_float8_e5m2(); +AOTI_TORCH_EXPORT int32_t aoti_torch_dtype_float8_e4m3fn(); +AOTI_TORCH_EXPORT int32_t aoti_torch_dtype_float8_e5m2fnuz(); +AOTI_TORCH_EXPORT int32_t aoti_torch_dtype_float8_e4m3fnuz(); +AOTI_TORCH_EXPORT int32_t aoti_torch_dtype_bfloat16(); +AOTI_TORCH_EXPORT int32_t aoti_torch_dtype_float16(); +AOTI_TORCH_EXPORT int32_t aoti_torch_dtype_float32(); +AOTI_TORCH_EXPORT int32_t aoti_torch_dtype_float64(); +AOTI_TORCH_EXPORT int32_t aoti_torch_dtype_uint8(); +AOTI_TORCH_EXPORT int32_t aoti_torch_dtype_uint16(); +AOTI_TORCH_EXPORT int32_t aoti_torch_dtype_uint32(); +AOTI_TORCH_EXPORT int32_t aoti_torch_dtype_uint64(); +AOTI_TORCH_EXPORT int32_t aoti_torch_dtype_int8(); +AOTI_TORCH_EXPORT int32_t aoti_torch_dtype_int16(); +AOTI_TORCH_EXPORT int32_t aoti_torch_dtype_int32(); +AOTI_TORCH_EXPORT int32_t aoti_torch_dtype_int64(); +AOTI_TORCH_EXPORT int32_t aoti_torch_dtype_bool(); +AOTI_TORCH_EXPORT int32_t aoti_torch_dtype_complex32(); +AOTI_TORCH_EXPORT int32_t aoti_torch_dtype_complex64(); +AOTI_TORCH_EXPORT int32_t aoti_torch_dtype_complex128(); + +// Functions for converting a single-element tensor to a scalar value +AOTI_TORCH_EXPORT AOTITorchError +aoti_torch_item_float32(AtenTensorHandle tensor, float* ret_value); +AOTI_TORCH_EXPORT AOTITorchError +aoti_torch_item_float64(AtenTensorHandle tensor, double* ret_value); +AOTI_TORCH_EXPORT AOTITorchError +aoti_torch_item_uint8(AtenTensorHandle tensor, uint8_t* ret_value); +AOTI_TORCH_EXPORT AOTITorchError +aoti_torch_item_uint16(AtenTensorHandle tensor, uint16_t* ret_value); +AOTI_TORCH_EXPORT AOTITorchError +aoti_torch_item_uint32(AtenTensorHandle tensor, uint32_t* ret_value); +AOTI_TORCH_EXPORT AOTITorchError +aoti_torch_item_uint64(AtenTensorHandle tensor, uint64_t* ret_value); +AOTI_TORCH_EXPORT AOTITorchError +aoti_torch_item_int8(AtenTensorHandle tensor, int8_t* ret_value); +AOTI_TORCH_EXPORT AOTITorchError +aoti_torch_item_int16(AtenTensorHandle tensor, int16_t* ret_value); +AOTI_TORCH_EXPORT AOTITorchError +aoti_torch_item_int32(AtenTensorHandle tensor, int32_t* ret_value); +AOTI_TORCH_EXPORT AOTITorchError +aoti_torch_item_int64(AtenTensorHandle tensor, int64_t* ret_value); +AOTI_TORCH_EXPORT AOTITorchError +aoti_torch_item_bool(AtenTensorHandle tensor, bool* ret_value); + +// Functions for wrapping a scalar value to a single-element tensor +AOTI_TORCH_EXPORT AOTITorchError aoti_torch_scalar_to_tensor_float32( + float value, + AtenTensorHandle* ret_new_tensor); +AOTI_TORCH_EXPORT AOTITorchError aoti_torch_scalar_to_tensor_float64( + double value, + AtenTensorHandle* ret_new_tensor); +AOTI_TORCH_EXPORT AOTITorchError aoti_torch_scalar_to_tensor_uint8( + uint8_t value, + AtenTensorHandle* ret_new_tensor); +AOTI_TORCH_EXPORT AOTITorchError aoti_torch_scalar_to_tensor_uint16( + uint16_t value, + AtenTensorHandle* ret_new_tensor); +AOTI_TORCH_EXPORT AOTITorchError aoti_torch_scalar_to_tensor_uint32( + uint32_t value, + AtenTensorHandle* ret_new_tensor); +AOTI_TORCH_EXPORT AOTITorchError aoti_torch_scalar_to_tensor_uint64( + uint64_t value, + AtenTensorHandle* ret_new_tensor); +AOTI_TORCH_EXPORT AOTITorchError aoti_torch_scalar_to_tensor_int8( + int8_t value, + AtenTensorHandle* ret_new_tensor); +AOTI_TORCH_EXPORT AOTITorchError aoti_torch_scalar_to_tensor_int16( + int16_t value, + AtenTensorHandle* ret_new_tensor); +AOTI_TORCH_EXPORT AOTITorchError aoti_torch_scalar_to_tensor_int32( + int32_t value, + AtenTensorHandle* ret_new_tensor); +AOTI_TORCH_EXPORT AOTITorchError aoti_torch_scalar_to_tensor_int64( + int64_t value, + AtenTensorHandle* ret_new_tensor); +AOTI_TORCH_EXPORT AOTITorchError +aoti_torch_scalar_to_tensor_bool(bool value, AtenTensorHandle* ret_new_tensor); + +AOTI_TORCH_EXPORT bool aoti_torch_grad_mode_is_enabled(); +AOTI_TORCH_EXPORT void aoti_torch_grad_mode_set_enabled(bool enabled); + +// Free the tensor object +AOTI_TORCH_EXPORT AOTITorchError +aoti_torch_delete_tensor_object(AtenTensorHandle tensor); + +// Get a pointer to the underlying storage data +AOTI_TORCH_EXPORT AOTITorchError aoti_torch_get_data_ptr( + AtenTensorHandle tensor, + void** ret_data_ptr // returns borrowed reference +); + +// Get the nbytes of the underlying storage +AOTI_TORCH_EXPORT AOTITorchError +aoti_torch_get_storage_size(AtenTensorHandle tensor, int64_t* ret_size); + +AOTI_TORCH_EXPORT AOTITorchError +aoti_torch_get_dim(AtenTensorHandle tensor, int64_t* ret_dim); + +AOTI_TORCH_EXPORT AOTITorchError +aoti_torch_get_numel(AtenTensorHandle tensor, int64_t* ret_numel); + +AOTI_TORCH_EXPORT AOTITorchError aoti_torch_get_sizes( + AtenTensorHandle tensor, + int64_t** ret_sizes // returns borrowed reference +); + +AOTI_TORCH_EXPORT AOTITorchError +aoti_torch_get_size(AtenTensorHandle tensor, int64_t d, int64_t* ret_size); + +AOTI_TORCH_EXPORT AOTITorchError aoti_torch_get_strides( + AtenTensorHandle tensor, + int64_t** ret_strides // returns borrowed reference +); + +AOTI_TORCH_EXPORT AOTITorchError +aoti_torch_get_stride(AtenTensorHandle tensor, int64_t d, int64_t* ret_stride); + +AOTI_TORCH_EXPORT AOTITorchError +aoti_torch_get_dtype(AtenTensorHandle tensor, int32_t* ret_dtype); + +AOTI_TORCH_EXPORT AOTITorchError +aoti_torch_get_device_type(AtenTensorHandle tensor, int32_t* ret_device_type); + +AOTI_TORCH_EXPORT AOTITorchError +aoti_torch_get_device_index(AtenTensorHandle tensor, int32_t* ret_device_index); + +AOTI_TORCH_EXPORT AOTITorchError aoti_torch_get_storage_offset( + AtenTensorHandle tensor, + int64_t* ret_storage_offset); + +AOTI_TORCH_EXPORT AOTITorchError aoti_torch__alloc_from_pool( + AtenTensorHandle self, + int64_t offset_bytes, + int32_t dtype, + int64_t ndim, + const int64_t* sizes_ptr, + const int64_t* strides_ptr, + AtenTensorHandle* ret_new_tensor); + +// This function will create a new tensor object and its pointer is returned +// through *out. The caller is responsible for wrapping the tensor pointer +// with RAIIAtenTensorHandle which will call aoti_torch_delete_tensor_object +// when going out of scope. +AOTI_TORCH_EXPORT AOTITorchError aoti_torch__reinterpret_tensor( + AtenTensorHandle self, + int64_t ndim, + const int64_t* sizes_ptr, + const int64_t* strides_ptr, + int64_t storage_offset, + AtenTensorHandle* ret_new_tensor // returns new reference +); + +// This function will create a new tensor object and its pointer is returned +// through *out. The caller is responsible for wrapping the tensor pointer +// with RAIIAtenTensorHandle which will call aoti_torch_delete_tensor_object +// when going out of scope. +AOTI_TORCH_EXPORT AOTITorchError aoti_torch_empty_strided( + int64_t ndim, + const int64_t* sizes_ptr, + const int64_t* strides_ptr, + int32_t dtype, + int32_t device_type, + int32_t device_index, + AtenTensorHandle* ret_new_tensor // returns new reference +); + +AOTI_TORCH_EXPORT AOTITorchError aoti_torch_create_tensor_from_blob( + void* data, + int64_t ndim, + const int64_t* sizes_ptr, + const int64_t* strides_ptr, + int64_t storage_offset, + int32_t dtype, + int32_t device_type, + int32_t device_index, + AtenTensorHandle* ret // returns new reference +); + +AOTI_TORCH_EXPORT AOTITorchError aoti_torch__embedding_bag( + AtenTensorHandle weight, + AtenTensorHandle indices, + AtenTensorHandle offsets, + int32_t scale_grad_by_freq, + int32_t mode, + int32_t sparse, + AtenTensorHandle per_sample_weights, // optional argument + int32_t include_last_offset, + int32_t padding_idx, + AtenTensorHandle* ret0, // returns new reference + AtenTensorHandle* ret1, // returns new reference + AtenTensorHandle* ret2, // returns new reference + AtenTensorHandle* ret3 // returns new reference +); + +AOTI_TORCH_EXPORT AOTITorchError aoti_torch__fft_c2c( + AtenTensorHandle self, + const int64_t* dim_ptr, + int64_t dim_size, + int64_t normalization, + int32_t forward, + AtenTensorHandle* ret // returns new reference +); + +// This version is deprecated. We will remove it later +AOTI_TORCH_EXPORT AOTITorchError aoti_torch__scaled_dot_product_flash_attention( + AtenTensorHandle query, + AtenTensorHandle key, + AtenTensorHandle value, + double dropout_p, + bool is_causal, + bool return_debug_mask, + double scale, + AtenTensorHandle* ret0, // returns new reference + AtenTensorHandle* ret1, // returns new reference + AtenTensorHandle* ret2, // returns new reference + AtenTensorHandle* ret3, // returns new reference + int64_t* ret4, + int64_t* ret5, + AtenTensorHandle* ret6, // returns new reference + AtenTensorHandle* ret7, // returns new reference + AtenTensorHandle* ret8 // returns new reference +); + +AOTI_TORCH_EXPORT AOTITorchError +aoti_torch__scaled_dot_product_flash_attention_v2( + AtenTensorHandle query, + AtenTensorHandle key, + AtenTensorHandle value, + double dropout_p, + int is_causal, + int return_debug_mask, + double* scale, // optional argument + AtenTensorHandle* ret0, // returns new reference + AtenTensorHandle* ret1, // returns new reference + AtenTensorHandle* ret2, // returns new reference + AtenTensorHandle* ret3, // returns new reference + int64_t* ret4, + int64_t* ret5, + AtenTensorHandle* ret6, // returns new reference + AtenTensorHandle* ret7, // returns new reference + AtenTensorHandle* ret8 // returns new reference +); + +AOTI_TORCH_EXPORT AOTITorchError +aoti_torch__scaled_dot_product_efficient_attention( + AtenTensorHandle query, + AtenTensorHandle key, + AtenTensorHandle value, + AtenTensorHandle attn_bias, // optional argument + int compute_log_sumexp, + double dropout_p, + int is_causal, + double* scale, // optional argument + AtenTensorHandle* ret0, // returns new reference + AtenTensorHandle* ret1, // returns new reference + AtenTensorHandle* ret2, // returns new reference + AtenTensorHandle* ret3 // returns new reference +); + +AOTI_TORCH_EXPORT AOTITorchError aoti_torch__scaled_mm( + AtenTensorHandle self, + AtenTensorHandle mat2, + AtenTensorHandle bias, + int32_t* out_dtype, + AtenTensorHandle scale_a, + AtenTensorHandle scale_b, + AtenTensorHandle scale_result, + int8_t use_fast_accum, + AtenTensorHandle* ret0, + AtenTensorHandle* ret1); + +AOTI_TORCH_EXPORT AOTITorchError aoti_torch_convolution( + AtenTensorHandle input, + AtenTensorHandle weight, + AtenTensorHandle bias, // optional argument + const int64_t* stride_ptr, + int64_t stride_size, + const int64_t* padding_ptr, + int64_t padding_size, + const int64_t* dilation_ptr, + int64_t dilation_size, + int transposed, + const int64_t* output_padding_ptr, + int64_t output_padding_size, + int64_t groups, + AtenTensorHandle* ret // returns new reference +); + +// This function will create a new uninitialized tensor object +// and its pointer is returned through *ret. +AOTI_TORCH_EXPORT AOTITorchError +aoti_torch_new_uninitialized_tensor(AtenTensorHandle* ret); + +// WARNING: This will be deprecated. Use aoti_torch_copy_ instead. +AOTI_TORCH_EXPORT AOTITorchError +aoti_torch_tensor_copy_(AtenTensorHandle src, AtenTensorHandle dst); + +// Make the tensor referred to by dst an alias for the tensor referred +// to by src. The two tensors must still be deleted with +// aoti_torch_delete_tensor separately (or not) as before the call. +AOTI_TORCH_EXPORT AOTITorchError +aoti_torch_assign_tensors(AtenTensorHandle src, AtenTensorHandle dst); + +// Make a shallow copy of the tensor referred to by src and assign +// it to the handle in the ret_dst. This is similar to the above +// aoti_torch_assign_tensors function, but creates and sets the +// ret_dst from within. +AOTI_TORCH_EXPORT AOTITorchError +aoti_torch_assign_tensors_out(AtenTensorHandle src, AtenTensorHandle* ret_dst); + +// This function will create a new tensor object and its pointer is returned +// through *ret. The caller is responsible for wrapping the tensor pointer +// with RAIIAtenTensorHandle which will call aoti_torch_delete_tensor_object +// when going out of scope. +AOTI_TORCH_EXPORT AOTITorchError +aoti_torch_clone(AtenTensorHandle self, AtenTensorHandle* ret); + +AOTI_TORCH_EXPORT AOTITorchError aoti_torch_addmm_out( + AtenTensorHandle out, + AtenTensorHandle self, + AtenTensorHandle mat1, + AtenTensorHandle mat2, + float beta, + float alpha); + +AOTI_TORCH_EXPORT AOTITorchError aoti_torch_bmm_out( + AtenTensorHandle out, + AtenTensorHandle self, + AtenTensorHandle mat2); + +AOTI_TORCH_EXPORT AOTITorchError aoti_torch_copy_( + AtenTensorHandle self, + AtenTensorHandle src, + int32_t non_blocking); + +AOTI_TORCH_EXPORT AOTITorchError aoti_torch_mm_out( + AtenTensorHandle out, + AtenTensorHandle self, + AtenTensorHandle mat2); + +AOTI_TORCH_EXPORT AOTITorchError +aoti_torch_nonzero(AtenTensorHandle self, AtenTensorHandle* out); + +AOTI_TORCH_EXPORT AOTITorchError aoti_torch_repeat_interleave_Tensor( + AtenTensorHandle repeats, + int64_t* output_size, + AtenTensorHandle* out); + +AOTI_TORCH_EXPORT AOTITorchError +aoti_check_inf_and_nan(AtenTensorHandle tensor); + +AOTI_TORCH_EXPORT AOTITorchError aoti_torch_scatter_out( + AtenTensorHandle out, + AtenTensorHandle self, + int64_t dim, + AtenTensorHandle index, + AtenTensorHandle src); + +AOTI_TORCH_EXPORT AOTITorchError aoti_torch_scatter_reduce_out( + AtenTensorHandle out, + AtenTensorHandle self, + int64_t dim, + AtenTensorHandle index, + AtenTensorHandle src, + const char* reduce, + int32_t include_self); + +AOTI_TORCH_EXPORT AOTITorchError aoti_torch_index_put_out( + AtenTensorHandle out, + AtenTensorHandle self, + const AtenTensorHandle* indices, + const uint32_t num_indices, + const AtenTensorHandle values, + bool accumulate); + +AOTI_TORCH_EXPORT AOTITorchError aoti_torch_view_as_real( + AtenTensorHandle self, + AtenTensorHandle* ret // returns new reference +); + +AOTI_TORCH_EXPORT AOTITorchError aoti_torch_view_dtype( + AtenTensorHandle self, + int32_t dtype, + AtenTensorHandle* ret // returns new reference +); + +AOTI_TORCH_EXPORT void aoti_torch_print_tensor_handle( + AtenTensorHandle self, + const char* msg); + +#ifdef USE_CUDA + +struct CUDAGuardOpaque; +using CUDAGuardHandle = CUDAGuardOpaque*; + +AOTI_TORCH_EXPORT AOTITorchError aoti_torch_create_cuda_guard( + int32_t device_index, + CUDAGuardHandle* ret_guard // returns new reference +); + +AOTI_TORCH_EXPORT AOTITorchError +aoti_torch_delete_cuda_guard(CUDAGuardHandle guard); + +AOTI_TORCH_EXPORT AOTITorchError +aoti_torch_cuda_guard_set_index(CUDAGuardHandle guard, int32_t device_index); + +struct CUDAStreamGuardOpaque; +using CUDAStreamGuardHandle = CUDAStreamGuardOpaque*; + +AOTI_TORCH_EXPORT AOTITorchError aoti_torch_create_cuda_stream_guard( + void* stream, + int32_t device_index, + CUDAStreamGuardHandle* ret_guard // returns new reference +); + +AOTI_TORCH_EXPORT AOTITorchError +aoti_torch_delete_cuda_stream_guard(CUDAStreamGuardHandle guard); + +AOTI_TORCH_EXPORT AOTITorchError +aoti_torch_get_current_cuda_stream(int32_t device_index, void** ret_stream); + +#endif + +// See `ProxyExecutor Design Note` in ir.py for more details +AOTI_TORCH_EXPORT AOTITorchError aoti_torch_proxy_executor_call_function( + AOTIProxyExecutorHandle proxy_executor, + int extern_node_index, + int num_ints, + int64_t* flatten_int_args, + int num_tensors, + AtenTensorHandle* flatten_tensor_args); + +AOTI_TORCH_EXPORT void aoti_torch_check( + bool cond, + const char* func, + const char* file, + uint32_t line, + const char* msg); + +#ifdef STRIP_ERROR_MESSAGES +#define AOTI_TORCH_CHECK(cond, ...) \ + aoti_torch_check( \ + cond, \ + __func__, \ + __FILE__, \ + static_cast(__LINE__), \ + TORCH_CHECK_MSG(cond, "", __VA_ARGS__)); +#else +#define AOTI_TORCH_CHECK(cond, ...) \ + aoti_torch_check( \ + cond, \ + __func__, \ + __FILE__, \ + static_cast(__LINE__), \ + TORCH_CHECK_MSG(cond, "", ##__VA_ARGS__)); +#endif + +#ifdef __cplusplus +} // extern "C" + +template +int32_t aoti_torch_dtype(); + +#define DEFINE_DTYPE_SPECIALIZATION(ctype, typename) \ + template <> \ + inline int32_t aoti_torch_dtype() { \ + return aoti_torch_dtype_##typename(); \ + } + +// REVIEW: bfloat16 and half don't seem to actually build? Do I have +// the wrong types? +// DEFINE_DTYPE_SPECIALIZATION(__bfloat16, bfloat16) +// DEFINE_DTYPE_SPECIALIZATION(half, float16) +DEFINE_DTYPE_SPECIALIZATION(float, float32) +DEFINE_DTYPE_SPECIALIZATION(double, float64) +DEFINE_DTYPE_SPECIALIZATION(uint8_t, uint8) +DEFINE_DTYPE_SPECIALIZATION(int8_t, int8) +DEFINE_DTYPE_SPECIALIZATION(int16_t, int16) +DEFINE_DTYPE_SPECIALIZATION(int32_t, int32) +DEFINE_DTYPE_SPECIALIZATION(int64_t, int64) +DEFINE_DTYPE_SPECIALIZATION(bool, bool) + +#endif + +#endif // AOTI_TORCH_SHIM diff --git a/shared/package-files/45/45a30c866aa2ff69e089da147ed09986aad4516b5e5dd943f8dfcb7d3946a3e1/fix_metaclass.py b/shared/package-files/45/45a30c866aa2ff69e089da147ed09986aad4516b5e5dd943f8dfcb7d3946a3e1/fix_metaclass.py new file mode 100644 index 0000000000000000000000000000000000000000..fe547b2228072a3cf436733f40154004e98c215c --- /dev/null +++ b/shared/package-files/45/45a30c866aa2ff69e089da147ed09986aad4516b5e5dd943f8dfcb7d3946a3e1/fix_metaclass.py @@ -0,0 +1,228 @@ +"""Fixer for __metaclass__ = X -> (metaclass=X) methods. + + The various forms of classef (inherits nothing, inherits once, inherits + many) don't parse the same in the CST so we look at ALL classes for + a __metaclass__ and if we find one normalize the inherits to all be + an arglist. + + For one-liner classes ('class X: pass') there is no indent/dedent so + we normalize those into having a suite. + + Moving the __metaclass__ into the classdef can also cause the class + body to be empty so there is some special casing for that as well. + + This fixer also tries very hard to keep original indenting and spacing + in all those corner cases. + +""" +# Author: Jack Diederich + +# Local imports +from .. import fixer_base +from ..pygram import token +from ..fixer_util import syms, Node, Leaf + + +def has_metaclass(parent): + """ we have to check the cls_node without changing it. + There are two possibilities: + 1) clsdef => suite => simple_stmt => expr_stmt => Leaf('__meta') + 2) clsdef => simple_stmt => expr_stmt => Leaf('__meta') + """ + for node in parent.children: + if node.type == syms.suite: + return has_metaclass(node) + elif node.type == syms.simple_stmt and node.children: + expr_node = node.children[0] + if expr_node.type == syms.expr_stmt and expr_node.children: + left_side = expr_node.children[0] + if isinstance(left_side, Leaf) and \ + left_side.value == '__metaclass__': + return True + return False + + +def fixup_parse_tree(cls_node): + """ one-line classes don't get a suite in the parse tree so we add + one to normalize the tree + """ + for node in cls_node.children: + if node.type == syms.suite: + # already in the preferred format, do nothing + return + + # !%@#! one-liners have no suite node, we have to fake one up + for i, node in enumerate(cls_node.children): + if node.type == token.COLON: + break + else: + raise ValueError("No class suite and no ':'!") + + # move everything into a suite node + suite = Node(syms.suite, []) + while cls_node.children[i+1:]: + move_node = cls_node.children[i+1] + suite.append_child(move_node.clone()) + move_node.remove() + cls_node.append_child(suite) + node = suite + + +def fixup_simple_stmt(parent, i, stmt_node): + """ if there is a semi-colon all the parts count as part of the same + simple_stmt. We just want the __metaclass__ part so we move + everything after the semi-colon into its own simple_stmt node + """ + for semi_ind, node in enumerate(stmt_node.children): + if node.type == token.SEMI: # *sigh* + break + else: + return + + node.remove() # kill the semicolon + new_expr = Node(syms.expr_stmt, []) + new_stmt = Node(syms.simple_stmt, [new_expr]) + while stmt_node.children[semi_ind:]: + move_node = stmt_node.children[semi_ind] + new_expr.append_child(move_node.clone()) + move_node.remove() + parent.insert_child(i, new_stmt) + new_leaf1 = new_stmt.children[0].children[0] + old_leaf1 = stmt_node.children[0].children[0] + new_leaf1.prefix = old_leaf1.prefix + + +def remove_trailing_newline(node): + if node.children and node.children[-1].type == token.NEWLINE: + node.children[-1].remove() + + +def find_metas(cls_node): + # find the suite node (Mmm, sweet nodes) + for node in cls_node.children: + if node.type == syms.suite: + break + else: + raise ValueError("No class suite!") + + # look for simple_stmt[ expr_stmt[ Leaf('__metaclass__') ] ] + for i, simple_node in list(enumerate(node.children)): + if simple_node.type == syms.simple_stmt and simple_node.children: + expr_node = simple_node.children[0] + if expr_node.type == syms.expr_stmt and expr_node.children: + # Check if the expr_node is a simple assignment. + left_node = expr_node.children[0] + if isinstance(left_node, Leaf) and \ + left_node.value == '__metaclass__': + # We found an assignment to __metaclass__. + fixup_simple_stmt(node, i, simple_node) + remove_trailing_newline(simple_node) + yield (node, i, simple_node) + + +def fixup_indent(suite): + """ If an INDENT is followed by a thing with a prefix then nuke the prefix + Otherwise we get in trouble when removing __metaclass__ at suite start + """ + kids = suite.children[::-1] + # find the first indent + while kids: + node = kids.pop() + if node.type == token.INDENT: + break + + # find the first Leaf + while kids: + node = kids.pop() + if isinstance(node, Leaf) and node.type != token.DEDENT: + if node.prefix: + node.prefix = '' + return + else: + kids.extend(node.children[::-1]) + + +class FixMetaclass(fixer_base.BaseFix): + BM_compatible = True + + PATTERN = """ + classdef + """ + + def transform(self, node, results): + if not has_metaclass(node): + return + + fixup_parse_tree(node) + + # find metaclasses, keep the last one + last_metaclass = None + for suite, i, stmt in find_metas(node): + last_metaclass = stmt + stmt.remove() + + text_type = node.children[0].type # always Leaf(nnn, 'class') + + # figure out what kind of classdef we have + if len(node.children) == 7: + # Node(classdef, ['class', 'name', '(', arglist, ')', ':', suite]) + # 0 1 2 3 4 5 6 + if node.children[3].type == syms.arglist: + arglist = node.children[3] + # Node(classdef, ['class', 'name', '(', 'Parent', ')', ':', suite]) + else: + parent = node.children[3].clone() + arglist = Node(syms.arglist, [parent]) + node.set_child(3, arglist) + elif len(node.children) == 6: + # Node(classdef, ['class', 'name', '(', ')', ':', suite]) + # 0 1 2 3 4 5 + arglist = Node(syms.arglist, []) + node.insert_child(3, arglist) + elif len(node.children) == 4: + # Node(classdef, ['class', 'name', ':', suite]) + # 0 1 2 3 + arglist = Node(syms.arglist, []) + node.insert_child(2, Leaf(token.RPAR, ')')) + node.insert_child(2, arglist) + node.insert_child(2, Leaf(token.LPAR, '(')) + else: + raise ValueError("Unexpected class definition") + + # now stick the metaclass in the arglist + meta_txt = last_metaclass.children[0].children[0] + meta_txt.value = 'metaclass' + orig_meta_prefix = meta_txt.prefix + + if arglist.children: + arglist.append_child(Leaf(token.COMMA, ',')) + meta_txt.prefix = ' ' + else: + meta_txt.prefix = '' + + # compact the expression "metaclass = Meta" -> "metaclass=Meta" + expr_stmt = last_metaclass.children[0] + assert expr_stmt.type == syms.expr_stmt + expr_stmt.children[1].prefix = '' + expr_stmt.children[2].prefix = '' + + arglist.append_child(last_metaclass) + + fixup_indent(suite) + + # check for empty suite + if not suite.children: + # one-liner that was just __metaclass_ + suite.remove() + pass_leaf = Leaf(text_type, 'pass') + pass_leaf.prefix = orig_meta_prefix + node.append_child(pass_leaf) + node.append_child(Leaf(token.NEWLINE, '\n')) + + elif len(suite.children) > 1 and \ + (suite.children[-2].type == token.INDENT and + suite.children[-1].type == token.DEDENT): + # there was only one line in the class body and it was __metaclass__ + pass_leaf = Leaf(text_type, 'pass') + suite.insert_child(-1, pass_leaf) + suite.insert_child(-1, Leaf(token.NEWLINE, '\n')) diff --git a/shared/package-files/45/45a430255d13e6b7f5f009380eed8db98ddbbc9bfd05b3219a10fd21114856f7/test_classic.py b/shared/package-files/45/45a430255d13e6b7f5f009380eed8db98ddbbc9bfd05b3219a10fd21114856f7/test_classic.py new file mode 100644 index 0000000000000000000000000000000000000000..77090e7b3423d891b660a9c5a7c0651195dc1ac2 --- /dev/null +++ b/shared/package-files/45/45a430255d13e6b7f5f009380eed8db98ddbbc9bfd05b3219a10fd21114856f7/test_classic.py @@ -0,0 +1,559 @@ +""" +==================== +Generators - Classic +==================== + +Unit tests for various classic graph generators in generators/classic.py +""" +import itertools +import typing + +import pytest + +import networkx as nx +from networkx.algorithms.isomorphism.isomorph import graph_could_be_isomorphic +from networkx.utils import edges_equal, nodes_equal + +is_isomorphic = graph_could_be_isomorphic + + +class TestGeneratorClassic: + def test_balanced_tree(self): + # balanced_tree(r,h) is a tree with (r**(h+1)-1)/(r-1) edges + for r, h in [(2, 2), (3, 3), (6, 2)]: + t = nx.balanced_tree(r, h) + order = t.order() + assert order == (r ** (h + 1) - 1) / (r - 1) + assert nx.is_connected(t) + assert t.size() == order - 1 + dh = nx.degree_histogram(t) + assert dh[0] == 0 # no nodes of 0 + assert dh[1] == r**h # nodes of degree 1 are leaves + assert dh[r] == 1 # root is degree r + assert dh[r + 1] == order - r**h - 1 # everyone else is degree r+1 + assert len(dh) == r + 2 + + def test_balanced_tree_star(self): + # balanced_tree(r,1) is the r-star + t = nx.balanced_tree(r=2, h=1) + assert is_isomorphic(t, nx.star_graph(2)) + t = nx.balanced_tree(r=5, h=1) + assert is_isomorphic(t, nx.star_graph(5)) + t = nx.balanced_tree(r=10, h=1) + assert is_isomorphic(t, nx.star_graph(10)) + + def test_balanced_tree_path(self): + """Tests that the balanced tree with branching factor one is the + path graph. + + """ + # A tree of height four has five levels. + T = nx.balanced_tree(1, 4) + P = nx.path_graph(5) + assert is_isomorphic(T, P) + + def test_full_rary_tree(self): + r = 2 + n = 9 + t = nx.full_rary_tree(r, n) + assert t.order() == n + assert nx.is_connected(t) + dh = nx.degree_histogram(t) + assert dh[0] == 0 # no nodes of 0 + assert dh[1] == 5 # nodes of degree 1 are leaves + assert dh[r] == 1 # root is degree r + assert dh[r + 1] == 9 - 5 - 1 # everyone else is degree r+1 + assert len(dh) == r + 2 + + def test_full_rary_tree_balanced(self): + t = nx.full_rary_tree(2, 15) + th = nx.balanced_tree(2, 3) + assert is_isomorphic(t, th) + + def test_full_rary_tree_path(self): + t = nx.full_rary_tree(1, 10) + assert is_isomorphic(t, nx.path_graph(10)) + + def test_full_rary_tree_empty(self): + t = nx.full_rary_tree(0, 10) + assert is_isomorphic(t, nx.empty_graph(10)) + t = nx.full_rary_tree(3, 0) + assert is_isomorphic(t, nx.empty_graph(0)) + + def test_full_rary_tree_3_20(self): + t = nx.full_rary_tree(3, 20) + assert t.order() == 20 + + def test_barbell_graph(self): + # number of nodes = 2*m1 + m2 (2 m1-complete graphs + m2-path + 2 edges) + # number of edges = 2*(nx.number_of_edges(m1-complete graph) + m2 + 1 + m1 = 3 + m2 = 5 + b = nx.barbell_graph(m1, m2) + assert nx.number_of_nodes(b) == 2 * m1 + m2 + assert nx.number_of_edges(b) == m1 * (m1 - 1) + m2 + 1 + + m1 = 4 + m2 = 10 + b = nx.barbell_graph(m1, m2) + assert nx.number_of_nodes(b) == 2 * m1 + m2 + assert nx.number_of_edges(b) == m1 * (m1 - 1) + m2 + 1 + + m1 = 3 + m2 = 20 + b = nx.barbell_graph(m1, m2) + assert nx.number_of_nodes(b) == 2 * m1 + m2 + assert nx.number_of_edges(b) == m1 * (m1 - 1) + m2 + 1 + + # Raise NetworkXError if m1<2 + m1 = 1 + m2 = 20 + pytest.raises(nx.NetworkXError, nx.barbell_graph, m1, m2) + + # Raise NetworkXError if m2<0 + m1 = 5 + m2 = -2 + pytest.raises(nx.NetworkXError, nx.barbell_graph, m1, m2) + + # nx.barbell_graph(2,m) = nx.path_graph(m+4) + m1 = 2 + m2 = 5 + b = nx.barbell_graph(m1, m2) + assert is_isomorphic(b, nx.path_graph(m2 + 4)) + + m1 = 2 + m2 = 10 + b = nx.barbell_graph(m1, m2) + assert is_isomorphic(b, nx.path_graph(m2 + 4)) + + m1 = 2 + m2 = 20 + b = nx.barbell_graph(m1, m2) + assert is_isomorphic(b, nx.path_graph(m2 + 4)) + + pytest.raises( + nx.NetworkXError, nx.barbell_graph, m1, m2, create_using=nx.DiGraph() + ) + + mb = nx.barbell_graph(m1, m2, create_using=nx.MultiGraph()) + assert edges_equal(mb.edges(), b.edges()) + + def test_binomial_tree(self): + graphs = (None, nx.Graph, nx.DiGraph, nx.MultiGraph, nx.MultiDiGraph) + for create_using in graphs: + for n in range(0, 4): + b = nx.binomial_tree(n, create_using) + assert nx.number_of_nodes(b) == 2**n + assert nx.number_of_edges(b) == (2**n - 1) + + def test_complete_graph(self): + # complete_graph(m) is a connected graph with + # m nodes and m*(m+1)/2 edges + for m in [0, 1, 3, 5]: + g = nx.complete_graph(m) + assert nx.number_of_nodes(g) == m + assert nx.number_of_edges(g) == m * (m - 1) // 2 + + mg = nx.complete_graph(m, create_using=nx.MultiGraph) + assert edges_equal(mg.edges(), g.edges()) + + g = nx.complete_graph("abc") + assert nodes_equal(g.nodes(), ["a", "b", "c"]) + assert g.size() == 3 + + # creates a self-loop... should it? + g = nx.complete_graph("abcb") + assert nodes_equal(g.nodes(), ["a", "b", "c"]) + assert g.size() == 4 + + g = nx.complete_graph("abcb", create_using=nx.MultiGraph) + assert nodes_equal(g.nodes(), ["a", "b", "c"]) + assert g.size() == 6 + + def test_complete_digraph(self): + # complete_graph(m) is a connected graph with + # m nodes and m*(m+1)/2 edges + for m in [0, 1, 3, 5]: + g = nx.complete_graph(m, create_using=nx.DiGraph) + assert nx.number_of_nodes(g) == m + assert nx.number_of_edges(g) == m * (m - 1) + + g = nx.complete_graph("abc", create_using=nx.DiGraph) + assert len(g) == 3 + assert g.size() == 6 + assert g.is_directed() + + def test_circular_ladder_graph(self): + G = nx.circular_ladder_graph(5) + pytest.raises( + nx.NetworkXError, nx.circular_ladder_graph, 5, create_using=nx.DiGraph + ) + mG = nx.circular_ladder_graph(5, create_using=nx.MultiGraph) + assert edges_equal(mG.edges(), G.edges()) + + def test_circulant_graph(self): + # Ci_n(1) is the cycle graph for all n + Ci6_1 = nx.circulant_graph(6, [1]) + C6 = nx.cycle_graph(6) + assert edges_equal(Ci6_1.edges(), C6.edges()) + + # Ci_n(1, 2, ..., n div 2) is the complete graph for all n + Ci7 = nx.circulant_graph(7, [1, 2, 3]) + K7 = nx.complete_graph(7) + assert edges_equal(Ci7.edges(), K7.edges()) + + # Ci_6(1, 3) is K_3,3 i.e. the utility graph + Ci6_1_3 = nx.circulant_graph(6, [1, 3]) + K3_3 = nx.complete_bipartite_graph(3, 3) + assert is_isomorphic(Ci6_1_3, K3_3) + + def test_cycle_graph(self): + G = nx.cycle_graph(4) + assert edges_equal(G.edges(), [(0, 1), (0, 3), (1, 2), (2, 3)]) + mG = nx.cycle_graph(4, create_using=nx.MultiGraph) + assert edges_equal(mG.edges(), [(0, 1), (0, 3), (1, 2), (2, 3)]) + G = nx.cycle_graph(4, create_using=nx.DiGraph) + assert not G.has_edge(2, 1) + assert G.has_edge(1, 2) + assert G.is_directed() + + G = nx.cycle_graph("abc") + assert len(G) == 3 + assert G.size() == 3 + G = nx.cycle_graph("abcb") + assert len(G) == 3 + assert G.size() == 2 + g = nx.cycle_graph("abc", nx.DiGraph) + assert len(g) == 3 + assert g.size() == 3 + assert g.is_directed() + g = nx.cycle_graph("abcb", nx.DiGraph) + assert len(g) == 3 + assert g.size() == 4 + + def test_dorogovtsev_goltsev_mendes_graph(self): + G = nx.dorogovtsev_goltsev_mendes_graph(0) + assert edges_equal(G.edges(), [(0, 1)]) + assert nodes_equal(list(G), [0, 1]) + G = nx.dorogovtsev_goltsev_mendes_graph(1) + assert edges_equal(G.edges(), [(0, 1), (0, 2), (1, 2)]) + assert nx.average_clustering(G) == 1.0 + assert sorted(nx.triangles(G).values()) == [1, 1, 1] + G = nx.dorogovtsev_goltsev_mendes_graph(10) + assert nx.number_of_nodes(G) == 29526 + assert nx.number_of_edges(G) == 59049 + assert G.degree(0) == 1024 + assert G.degree(1) == 1024 + assert G.degree(2) == 1024 + + pytest.raises( + nx.NetworkXError, + nx.dorogovtsev_goltsev_mendes_graph, + 7, + create_using=nx.DiGraph, + ) + pytest.raises( + nx.NetworkXError, + nx.dorogovtsev_goltsev_mendes_graph, + 7, + create_using=nx.MultiGraph, + ) + + def test_create_using(self): + G = nx.empty_graph() + assert isinstance(G, nx.Graph) + pytest.raises(TypeError, nx.empty_graph, create_using=0.0) + pytest.raises(TypeError, nx.empty_graph, create_using="Graph") + + G = nx.empty_graph(create_using=nx.MultiGraph) + assert isinstance(G, nx.MultiGraph) + G = nx.empty_graph(create_using=nx.DiGraph) + assert isinstance(G, nx.DiGraph) + + G = nx.empty_graph(create_using=nx.DiGraph, default=nx.MultiGraph) + assert isinstance(G, nx.DiGraph) + G = nx.empty_graph(create_using=None, default=nx.MultiGraph) + assert isinstance(G, nx.MultiGraph) + G = nx.empty_graph(default=nx.MultiGraph) + assert isinstance(G, nx.MultiGraph) + + G = nx.path_graph(5) + H = nx.empty_graph(create_using=G) + assert not H.is_multigraph() + assert not H.is_directed() + assert len(H) == 0 + assert G is H + + H = nx.empty_graph(create_using=nx.MultiGraph()) + assert H.is_multigraph() + assert not H.is_directed() + assert G is not H + + # test for subclasses that also use typing.Protocol. See gh-6243 + class Mixin(typing.Protocol): + pass + + class MyGraph(Mixin, nx.DiGraph): + pass + + G = nx.empty_graph(create_using=MyGraph) + + def test_empty_graph(self): + G = nx.empty_graph() + assert nx.number_of_nodes(G) == 0 + G = nx.empty_graph(42) + assert nx.number_of_nodes(G) == 42 + assert nx.number_of_edges(G) == 0 + + G = nx.empty_graph("abc") + assert len(G) == 3 + assert G.size() == 0 + + # create empty digraph + G = nx.empty_graph(42, create_using=nx.DiGraph(name="duh")) + assert nx.number_of_nodes(G) == 42 + assert nx.number_of_edges(G) == 0 + assert isinstance(G, nx.DiGraph) + + # create empty multigraph + G = nx.empty_graph(42, create_using=nx.MultiGraph(name="duh")) + assert nx.number_of_nodes(G) == 42 + assert nx.number_of_edges(G) == 0 + assert isinstance(G, nx.MultiGraph) + + # create empty graph from another + pete = nx.petersen_graph() + G = nx.empty_graph(42, create_using=pete) + assert nx.number_of_nodes(G) == 42 + assert nx.number_of_edges(G) == 0 + assert isinstance(G, nx.Graph) + + def test_ladder_graph(self): + for i, G in [ + (0, nx.empty_graph(0)), + (1, nx.path_graph(2)), + (2, nx.hypercube_graph(2)), + (10, nx.grid_graph([2, 10])), + ]: + assert is_isomorphic(nx.ladder_graph(i), G) + + pytest.raises(nx.NetworkXError, nx.ladder_graph, 2, create_using=nx.DiGraph) + + g = nx.ladder_graph(2) + mg = nx.ladder_graph(2, create_using=nx.MultiGraph) + assert edges_equal(mg.edges(), g.edges()) + + def test_lollipop_graph_right_sizes(self): + # number of nodes = m1 + m2 + # number of edges = nx.number_of_edges(nx.complete_graph(m1)) + m2 + for m1, m2 in [(3, 5), (4, 10), (3, 20)]: + G = nx.lollipop_graph(m1, m2) + assert nx.number_of_nodes(G) == m1 + m2 + assert nx.number_of_edges(G) == m1 * (m1 - 1) / 2 + m2 + for first, second in [("ab", ""), ("abc", "defg")]: + m1, m2 = len(first), len(second) + G = nx.lollipop_graph(first, second) + assert nx.number_of_nodes(G) == m1 + m2 + assert nx.number_of_edges(G) == m1 * (m1 - 1) / 2 + m2 + + def test_lollipop_graph_exceptions(self): + # Raise NetworkXError if m<2 + pytest.raises(nx.NetworkXError, nx.lollipop_graph, -1, 2) + pytest.raises(nx.NetworkXError, nx.lollipop_graph, 1, 20) + pytest.raises(nx.NetworkXError, nx.lollipop_graph, "", 20) + pytest.raises(nx.NetworkXError, nx.lollipop_graph, "a", 20) + + # Raise NetworkXError if n<0 + pytest.raises(nx.NetworkXError, nx.lollipop_graph, 5, -2) + + # raise NetworkXError if create_using is directed + with pytest.raises(nx.NetworkXError): + nx.lollipop_graph(2, 20, create_using=nx.DiGraph) + with pytest.raises(nx.NetworkXError): + nx.lollipop_graph(2, 20, create_using=nx.MultiDiGraph) + + def test_lollipop_graph_same_as_path_when_m1_is_2(self): + # lollipop_graph(2,m) = path_graph(m+2) + for m1, m2 in [(2, 0), (2, 5), (2, 10), ("ab", 20)]: + G = nx.lollipop_graph(m1, m2) + assert is_isomorphic(G, nx.path_graph(m2 + 2)) + + def test_lollipop_graph_for_multigraph(self): + G = nx.lollipop_graph(5, 20) + MG = nx.lollipop_graph(5, 20, create_using=nx.MultiGraph) + assert edges_equal(MG.edges(), G.edges()) + + def test_lollipop_graph_mixing_input_types(self): + cases = [(4, "abc"), ("abcd", 3), ([1, 2, 3, 4], "abc"), ("abcd", [1, 2, 3])] + for m1, m2 in cases: + G = nx.lollipop_graph(m1, m2) + assert len(G) == 7 + assert G.size() == 9 + + def test_lollipop_graph_not_int_integer_inputs(self): + # test non-int integers + np = pytest.importorskip("numpy") + G = nx.lollipop_graph(np.int32(4), np.int64(3)) + assert len(G) == 7 + assert G.size() == 9 + + def test_null_graph(self): + assert nx.number_of_nodes(nx.null_graph()) == 0 + + def test_path_graph(self): + p = nx.path_graph(0) + assert is_isomorphic(p, nx.null_graph()) + + p = nx.path_graph(1) + assert is_isomorphic(p, nx.empty_graph(1)) + + p = nx.path_graph(10) + assert nx.is_connected(p) + assert sorted(d for n, d in p.degree()) == [1, 1, 2, 2, 2, 2, 2, 2, 2, 2] + assert p.order() - 1 == p.size() + + dp = nx.path_graph(3, create_using=nx.DiGraph) + assert dp.has_edge(0, 1) + assert not dp.has_edge(1, 0) + + mp = nx.path_graph(10, create_using=nx.MultiGraph) + assert edges_equal(mp.edges(), p.edges()) + + G = nx.path_graph("abc") + assert len(G) == 3 + assert G.size() == 2 + G = nx.path_graph("abcb") + assert len(G) == 3 + assert G.size() == 2 + g = nx.path_graph("abc", nx.DiGraph) + assert len(g) == 3 + assert g.size() == 2 + assert g.is_directed() + g = nx.path_graph("abcb", nx.DiGraph) + assert len(g) == 3 + assert g.size() == 3 + + G = nx.path_graph((1, 2, 3, 2, 4)) + assert G.has_edge(2, 4) + + def test_star_graph(self): + assert is_isomorphic(nx.star_graph(""), nx.empty_graph(0)) + assert is_isomorphic(nx.star_graph([]), nx.empty_graph(0)) + assert is_isomorphic(nx.star_graph(0), nx.empty_graph(1)) + assert is_isomorphic(nx.star_graph(1), nx.path_graph(2)) + assert is_isomorphic(nx.star_graph(2), nx.path_graph(3)) + assert is_isomorphic(nx.star_graph(5), nx.complete_bipartite_graph(1, 5)) + + s = nx.star_graph(10) + assert sorted(d for n, d in s.degree()) == [1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 10] + + pytest.raises(nx.NetworkXError, nx.star_graph, 10, create_using=nx.DiGraph) + + ms = nx.star_graph(10, create_using=nx.MultiGraph) + assert edges_equal(ms.edges(), s.edges()) + + G = nx.star_graph("abc") + assert len(G) == 3 + assert G.size() == 2 + + G = nx.star_graph("abcb") + assert len(G) == 3 + assert G.size() == 2 + G = nx.star_graph("abcb", create_using=nx.MultiGraph) + assert len(G) == 3 + assert G.size() == 3 + + G = nx.star_graph("abcdefg") + assert len(G) == 7 + assert G.size() == 6 + + def test_non_int_integers_for_star_graph(self): + np = pytest.importorskip("numpy") + G = nx.star_graph(np.int32(3)) + assert len(G) == 4 + assert G.size() == 3 + + def test_trivial_graph(self): + assert nx.number_of_nodes(nx.trivial_graph()) == 1 + + def test_turan_graph(self): + assert nx.number_of_edges(nx.turan_graph(13, 4)) == 63 + assert is_isomorphic( + nx.turan_graph(13, 4), nx.complete_multipartite_graph(3, 4, 3, 3) + ) + + def test_wheel_graph(self): + for n, G in [ + ("", nx.null_graph()), + (0, nx.null_graph()), + (1, nx.empty_graph(1)), + (2, nx.path_graph(2)), + (3, nx.complete_graph(3)), + (4, nx.complete_graph(4)), + ]: + g = nx.wheel_graph(n) + assert is_isomorphic(g, G) + + g = nx.wheel_graph(10) + assert sorted(d for n, d in g.degree()) == [3, 3, 3, 3, 3, 3, 3, 3, 3, 9] + + pytest.raises(nx.NetworkXError, nx.wheel_graph, 10, create_using=nx.DiGraph) + + mg = nx.wheel_graph(10, create_using=nx.MultiGraph()) + assert edges_equal(mg.edges(), g.edges()) + + G = nx.wheel_graph("abc") + assert len(G) == 3 + assert G.size() == 3 + + G = nx.wheel_graph("abcb") + assert len(G) == 3 + assert G.size() == 4 + G = nx.wheel_graph("abcb", nx.MultiGraph) + assert len(G) == 3 + assert G.size() == 6 + + def test_non_int_integers_for_wheel_graph(self): + np = pytest.importorskip("numpy") + G = nx.wheel_graph(np.int32(3)) + assert len(G) == 3 + assert G.size() == 3 + + def test_complete_0_partite_graph(self): + """Tests that the complete 0-partite graph is the null graph.""" + G = nx.complete_multipartite_graph() + H = nx.null_graph() + assert nodes_equal(G, H) + assert edges_equal(G.edges(), H.edges()) + + def test_complete_1_partite_graph(self): + """Tests that the complete 1-partite graph is the empty graph.""" + G = nx.complete_multipartite_graph(3) + H = nx.empty_graph(3) + assert nodes_equal(G, H) + assert edges_equal(G.edges(), H.edges()) + + def test_complete_2_partite_graph(self): + """Tests that the complete 2-partite graph is the complete bipartite + graph. + + """ + G = nx.complete_multipartite_graph(2, 3) + H = nx.complete_bipartite_graph(2, 3) + assert nodes_equal(G, H) + assert edges_equal(G.edges(), H.edges()) + + def test_complete_multipartite_graph(self): + """Tests for generating the complete multipartite graph.""" + G = nx.complete_multipartite_graph(2, 3, 4) + blocks = [(0, 1), (2, 3, 4), (5, 6, 7, 8)] + # Within each block, no two vertices should be adjacent. + for block in blocks: + for u, v in itertools.combinations_with_replacement(block, 2): + assert v not in G[u] + assert G.nodes[u] == G.nodes[v] + # Across blocks, all vertices should be adjacent. + for block1, block2 in itertools.combinations(blocks, 2): + for u, v in itertools.product(block1, block2): + assert v in G[u] + assert G.nodes[u] != G.nodes[v] diff --git a/shared/package-files/45/45a76141cf4e0b332be82401dc09dcedb268df5e6a2072fd516a7b587c3138bd/version.py b/shared/package-files/45/45a76141cf4e0b332be82401dc09dcedb268df5e6a2072fd516a7b587c3138bd/version.py new file mode 100644 index 0000000000000000000000000000000000000000..2beddcb3f0427b8cd197b45f0b2f8b0355dfb419 --- /dev/null +++ b/shared/package-files/45/45a76141cf4e0b332be82401dc09dcedb268df5e6a2072fd516a7b587c3138bd/version.py @@ -0,0 +1,5 @@ +from typing import Final + +SARIF_VERSION: Final = "2.1.0" +SARIF_SCHEMA_LINK: Final = "https://docs.oasis-open.org/sarif/sarif/v2.1.0/cs01/schemas/sarif-schema-2.1.0.json" +# flake8: noqa diff --git a/shared/package-files/45/45a971f2ed1cf64146679bd1cbb1e0cab4e2d094076eff880fc1b6741e953e7f/special_i1e_ops.h b/shared/package-files/45/45a971f2ed1cf64146679bd1cbb1e0cab4e2d094076eff880fc1b6741e953e7f/special_i1e_ops.h new file mode 100644 index 0000000000000000000000000000000000000000..9762c19ddc994e070228cf4996c706bd38a73abb --- /dev/null +++ b/shared/package-files/45/45a971f2ed1cf64146679bd1cbb1e0cab4e2d094076eff880fc1b6741e953e7f/special_i1e_ops.h @@ -0,0 +1,39 @@ +#pragma once + +// @generated by torchgen/gen.py from Operator.h + +#include +#include + +// Forward declarations of any types needed in the operator signatures. +// We can't directly include these classes because it will cause circular include dependencies. +// This file is included by TensorBody.h, which defines the Tensor class. +#include + +namespace at { +namespace _ops { + + +struct TORCH_API special_i1e { + using schema = at::Tensor (const at::Tensor &); + using ptr_schema = schema*; + // See Note [static constexpr char* members for windows NVCC] + STATIC_CONSTEXPR_STR_INL_EXCEPT_WIN_CUDA(name, "aten::special_i1e") + STATIC_CONSTEXPR_STR_INL_EXCEPT_WIN_CUDA(overload_name, "") + STATIC_CONSTEXPR_STR_INL_EXCEPT_WIN_CUDA(schema_str, "special_i1e(Tensor self) -> Tensor") + static at::Tensor call(const at::Tensor & self); + static at::Tensor redispatch(c10::DispatchKeySet dispatchKeySet, const at::Tensor & self); +}; + +struct TORCH_API special_i1e_out { + using schema = at::Tensor & (const at::Tensor &, at::Tensor &); + using ptr_schema = schema*; + // See Note [static constexpr char* members for windows NVCC] + STATIC_CONSTEXPR_STR_INL_EXCEPT_WIN_CUDA(name, "aten::special_i1e") + STATIC_CONSTEXPR_STR_INL_EXCEPT_WIN_CUDA(overload_name, "out") + STATIC_CONSTEXPR_STR_INL_EXCEPT_WIN_CUDA(schema_str, "special_i1e.out(Tensor self, *, Tensor(a!) out) -> Tensor(a!)") + static at::Tensor & call(const at::Tensor & self, at::Tensor & out); + static at::Tensor & redispatch(c10::DispatchKeySet dispatchKeySet, const at::Tensor & self, at::Tensor & out); +}; + +}} // namespace at::_ops diff --git a/shared/package-files/45/45aabd5e061f22517eac7fc200b8056f32b51ff038a3436a98af6ae396a79950/replwrap.py b/shared/package-files/45/45aabd5e061f22517eac7fc200b8056f32b51ff038a3436a98af6ae396a79950/replwrap.py new file mode 100644 index 0000000000000000000000000000000000000000..c930f1e4fe07a7a9c3408142fac66f01638f543a --- /dev/null +++ b/shared/package-files/45/45aabd5e061f22517eac7fc200b8056f32b51ff038a3436a98af6ae396a79950/replwrap.py @@ -0,0 +1,130 @@ +"""Generic wrapper for read-eval-print-loops, a.k.a. interactive shells +""" +import os.path +import signal +import sys + +import pexpect + +PY3 = (sys.version_info[0] >= 3) + +if PY3: + basestring = str + +PEXPECT_PROMPT = u'[PEXPECT_PROMPT>' +PEXPECT_CONTINUATION_PROMPT = u'[PEXPECT_PROMPT+' + +class REPLWrapper(object): + """Wrapper for a REPL. + + :param cmd_or_spawn: This can either be an instance of :class:`pexpect.spawn` + in which a REPL has already been started, or a str command to start a new + REPL process. + :param str orig_prompt: The prompt to expect at first. + :param str prompt_change: A command to change the prompt to something more + unique. If this is ``None``, the prompt will not be changed. This will + be formatted with the new and continuation prompts as positional + parameters, so you can use ``{}`` style formatting to insert them into + the command. + :param str new_prompt: The more unique prompt to expect after the change. + :param str extra_init_cmd: Commands to do extra initialisation, such as + disabling pagers. + """ + def __init__(self, cmd_or_spawn, orig_prompt, prompt_change, + new_prompt=PEXPECT_PROMPT, + continuation_prompt=PEXPECT_CONTINUATION_PROMPT, + extra_init_cmd=None): + if isinstance(cmd_or_spawn, basestring): + self.child = pexpect.spawn(cmd_or_spawn, echo=False, encoding='utf-8') + else: + self.child = cmd_or_spawn + if self.child.echo: + # Existing spawn instance has echo enabled, disable it + # to prevent our input from being repeated to output. + self.child.setecho(False) + self.child.waitnoecho() + + if prompt_change is None: + self.prompt = orig_prompt + else: + self.set_prompt(orig_prompt, + prompt_change.format(new_prompt, continuation_prompt)) + self.prompt = new_prompt + self.continuation_prompt = continuation_prompt + + self._expect_prompt() + + if extra_init_cmd is not None: + self.run_command(extra_init_cmd) + + def set_prompt(self, orig_prompt, prompt_change): + self.child.expect(orig_prompt) + self.child.sendline(prompt_change) + + def _expect_prompt(self, timeout=-1, async_=False): + return self.child.expect_exact([self.prompt, self.continuation_prompt], + timeout=timeout, async_=async_) + + def run_command(self, command, timeout=-1, async_=False): + """Send a command to the REPL, wait for and return output. + + :param str command: The command to send. Trailing newlines are not needed. + This should be a complete block of input that will trigger execution; + if a continuation prompt is found after sending input, :exc:`ValueError` + will be raised. + :param int timeout: How long to wait for the next prompt. -1 means the + default from the :class:`pexpect.spawn` object (default 30 seconds). + None means to wait indefinitely. + :param bool async_: On Python 3.4, or Python 3.3 with asyncio + installed, passing ``async_=True`` will make this return an + :mod:`asyncio` Future, which you can yield from to get the same + result that this method would normally give directly. + """ + # Split up multiline commands and feed them in bit-by-bit + cmdlines = command.splitlines() + # splitlines ignores trailing newlines - add it back in manually + if command.endswith('\n'): + cmdlines.append('') + if not cmdlines: + raise ValueError("No command was given") + + if async_: + from ._async import repl_run_command_async + return repl_run_command_async(self, cmdlines, timeout) + + res = [] + self.child.sendline(cmdlines[0]) + for line in cmdlines[1:]: + self._expect_prompt(timeout=timeout) + res.append(self.child.before) + self.child.sendline(line) + + # Command was fully submitted, now wait for the next prompt + if self._expect_prompt(timeout=timeout) == 1: + # We got the continuation prompt - command was incomplete + self.child.kill(signal.SIGINT) + self._expect_prompt(timeout=1) + raise ValueError("Continuation prompt found - input was incomplete:\n" + + command) + return u''.join(res + [self.child.before]) + +def python(command="python"): + """Start a Python shell and return a :class:`REPLWrapper` object.""" + return REPLWrapper(command, u">>> ", u"import sys; sys.ps1={0!r}; sys.ps2={1!r}") + +def bash(command="bash"): + """Start a bash shell and return a :class:`REPLWrapper` object.""" + bashrc = os.path.join(os.path.dirname(__file__), 'bashrc.sh') + child = pexpect.spawn(command, ['--rcfile', bashrc], echo=False, + encoding='utf-8') + + # If the user runs 'env', the value of PS1 will be in the output. To avoid + # replwrap seeing that as the next prompt, we'll embed the marker characters + # for invisible characters in the prompt; these show up when inspecting the + # environment variable, but not when bash displays the prompt. + ps1 = PEXPECT_PROMPT[:5] + u'\\[\\]' + PEXPECT_PROMPT[5:] + ps2 = PEXPECT_CONTINUATION_PROMPT[:5] + u'\\[\\]' + PEXPECT_CONTINUATION_PROMPT[5:] + prompt_change = u"PS1='{0}' PS2='{1}' PROMPT_COMMAND=''".format(ps1, ps2) + + return REPLWrapper(child, u'\\$', prompt_change, + extra_init_cmd="export PAGER=cat") diff --git a/shared/package-files/45/45ab13244557f06f7b260bdb0109c29673a6f99c939ac4c00d594738b3ca4414/tree.py b/shared/package-files/45/45ab13244557f06f7b260bdb0109c29673a6f99c939ac4c00d594738b3ca4414/tree.py new file mode 100644 index 0000000000000000000000000000000000000000..ebb4087030d8347b0ac11144b635f9d08af99050 --- /dev/null +++ b/shared/package-files/45/45ab13244557f06f7b260bdb0109c29673a6f99c939ac4c00d594738b3ca4414/tree.py @@ -0,0 +1,1242 @@ +""" +This is the syntax tree for Python 3 syntaxes. The classes represent +syntax elements like functions and imports. + +All of the nodes can be traced back to the `Python grammar file +`_. If you want to know how +a tree is structured, just analyse that file (for each Python version it's a +bit different). + +There's a lot of logic here that makes it easier for Jedi (and other libraries) +to deal with a Python syntax tree. + +By using :py:meth:`parso.tree.NodeOrLeaf.get_code` on a module, you can get +back the 1-to-1 representation of the input given to the parser. This is +important if you want to refactor a parser tree. + +>>> from parso import parse +>>> parser = parse('import os') +>>> module = parser.get_root_node() +>>> module + + +Any subclasses of :class:`Scope`, including :class:`Module` has an attribute +:attr:`iter_imports `: + +>>> list(module.iter_imports()) +[] + +Changes to the Python Grammar +----------------------------- + +A few things have changed when looking at Python grammar files: + +- :class:`Param` does not exist in Python grammar files. It is essentially a + part of a ``parameters`` node. |parso| splits it up to make it easier to + analyse parameters. However this just makes it easier to deal with the syntax + tree, it doesn't actually change the valid syntax. +- A few nodes like `lambdef` and `lambdef_nocond` have been merged in the + syntax tree to make it easier to do deal with them. + +Parser Tree Classes +------------------- +""" + +import re +try: + from collections.abc import Mapping +except ImportError: + from collections import Mapping +from typing import Tuple + +from parso.tree import Node, BaseNode, Leaf, ErrorNode, ErrorLeaf, search_ancestor # noqa +from parso.python.prefix import split_prefix +from parso.utils import split_lines + +_FLOW_CONTAINERS = set(['if_stmt', 'while_stmt', 'for_stmt', 'try_stmt', + 'with_stmt', 'async_stmt', 'suite']) +_RETURN_STMT_CONTAINERS = set(['suite', 'simple_stmt']) | _FLOW_CONTAINERS + +_FUNC_CONTAINERS = set( + ['suite', 'simple_stmt', 'decorated', 'async_funcdef'] +) | _FLOW_CONTAINERS + +_GET_DEFINITION_TYPES = set([ + 'expr_stmt', 'sync_comp_for', 'with_stmt', 'for_stmt', 'import_name', + 'import_from', 'param', 'del_stmt', 'namedexpr_test', +]) +_IMPORTS = set(['import_name', 'import_from']) + + +class DocstringMixin: + __slots__ = () + + def get_doc_node(self): + """ + Returns the string leaf of a docstring. e.g. ``r'''foo'''``. + """ + if self.type == 'file_input': + node = self.children[0] + elif self.type in ('funcdef', 'classdef'): + node = self.children[self.children.index(':') + 1] + if node.type == 'suite': # Normally a suite + node = node.children[1] # -> NEWLINE stmt + else: # ExprStmt + simple_stmt = self.parent + c = simple_stmt.parent.children + index = c.index(simple_stmt) + if not index: + return None + node = c[index - 1] + + if node.type == 'simple_stmt': + node = node.children[0] + if node.type == 'string': + return node + return None + + +class PythonMixin: + """ + Some Python specific utilities. + """ + __slots__ = () + + def get_name_of_position(self, position): + """ + Given a (line, column) tuple, returns a :py:class:`Name` or ``None`` if + there is no name at that position. + """ + for c in self.children: + if isinstance(c, Leaf): + if c.type == 'name' and c.start_pos <= position <= c.end_pos: + return c + else: + result = c.get_name_of_position(position) + if result is not None: + return result + return None + + +class PythonLeaf(PythonMixin, Leaf): + __slots__ = () + + def _split_prefix(self): + return split_prefix(self, self.get_start_pos_of_prefix()) + + def get_start_pos_of_prefix(self): + """ + Basically calls :py:meth:`parso.tree.NodeOrLeaf.get_start_pos_of_prefix`. + """ + # TODO it is really ugly that we have to override it. Maybe change + # indent error leafs somehow? No idea how, though. + previous_leaf = self.get_previous_leaf() + if previous_leaf is not None and previous_leaf.type == 'error_leaf' \ + and previous_leaf.token_type in ('INDENT', 'DEDENT', 'ERROR_DEDENT'): + previous_leaf = previous_leaf.get_previous_leaf() + + if previous_leaf is None: # It's the first leaf. + lines = split_lines(self.prefix) + # + 1 is needed because split_lines always returns at least ['']. + return self.line - len(lines) + 1, 0 # It's the first leaf. + return previous_leaf.end_pos + + +class _LeafWithoutNewlines(PythonLeaf): + """ + Simply here to optimize performance. + """ + __slots__ = () + + @property + def end_pos(self) -> Tuple[int, int]: + return self.line, self.column + len(self.value) + + +# Python base classes +class PythonBaseNode(PythonMixin, BaseNode): + __slots__ = () + + +class PythonNode(PythonMixin, Node): + __slots__ = () + + +class PythonErrorNode(PythonMixin, ErrorNode): + __slots__ = () + + +class PythonErrorLeaf(ErrorLeaf, PythonLeaf): + __slots__ = () + + +class EndMarker(_LeafWithoutNewlines): + __slots__ = () + type = 'endmarker' + + def __repr__(self): + return "<%s: prefix=%s end_pos=%s>" % ( + type(self).__name__, repr(self.prefix), self.end_pos + ) + + +class Newline(PythonLeaf): + """Contains NEWLINE and ENDMARKER tokens.""" + __slots__ = () + type = 'newline' + + def __repr__(self): + return "<%s: %s>" % (type(self).__name__, repr(self.value)) + + +class Name(_LeafWithoutNewlines): + """ + A string. Sometimes it is important to know if the string belongs to a name + or not. + """ + type = 'name' + __slots__ = () + + def __repr__(self): + return "<%s: %s@%s,%s>" % (type(self).__name__, self.value, + self.line, self.column) + + def is_definition(self, include_setitem=False): + """ + Returns True if the name is being defined. + """ + return self.get_definition(include_setitem=include_setitem) is not None + + def get_definition(self, import_name_always=False, include_setitem=False): + """ + Returns None if there's no definition for a name. + + :param import_name_always: Specifies if an import name is always a + definition. Normally foo in `from foo import bar` is not a + definition. + """ + node = self.parent + type_ = node.type + + if type_ in ('funcdef', 'classdef'): + if self == node.name: + return node + return None + + if type_ == 'except_clause': + if self.get_previous_sibling() == 'as': + return node.parent # The try_stmt. + return None + + while node is not None: + if node.type == 'suite': + return None + if node.type in _GET_DEFINITION_TYPES: + if self in node.get_defined_names(include_setitem): + return node + if import_name_always and node.type in _IMPORTS: + return node + return None + node = node.parent + return None + + +class Literal(PythonLeaf): + __slots__ = () + + +class Number(Literal): + type = 'number' + __slots__ = () + + +class String(Literal): + type = 'string' + __slots__ = () + + @property + def string_prefix(self): + return re.match(r'\w*(?=[\'"])', self.value).group(0) + + def _get_payload(self): + match = re.search( + r'''('{3}|"{3}|'|")(.*)$''', + self.value, + flags=re.DOTALL + ) + return match.group(2)[:-len(match.group(1))] + + +class FStringString(PythonLeaf): + """ + f-strings contain f-string expressions and normal python strings. These are + the string parts of f-strings. + """ + type = 'fstring_string' + __slots__ = () + + +class FStringStart(PythonLeaf): + """ + f-strings contain f-string expressions and normal python strings. These are + the string parts of f-strings. + """ + type = 'fstring_start' + __slots__ = () + + +class FStringEnd(PythonLeaf): + """ + f-strings contain f-string expressions and normal python strings. These are + the string parts of f-strings. + """ + type = 'fstring_end' + __slots__ = () + + +class _StringComparisonMixin: + def __eq__(self, other): + """ + Make comparisons with strings easy. + Improves the readability of the parser. + """ + if isinstance(other, str): + return self.value == other + + return self is other + + def __hash__(self): + return hash(self.value) + + +class Operator(_LeafWithoutNewlines, _StringComparisonMixin): + type = 'operator' + __slots__ = () + + +class Keyword(_LeafWithoutNewlines, _StringComparisonMixin): + type = 'keyword' + __slots__ = () + + +class Scope(PythonBaseNode, DocstringMixin): + """ + Super class for the parser tree, which represents the state of a python + text file. + A Scope is either a function, class or lambda. + """ + __slots__ = () + + def __init__(self, children): + super().__init__(children) + + def iter_funcdefs(self): + """ + Returns a generator of `funcdef` nodes. + """ + return self._search_in_scope('funcdef') + + def iter_classdefs(self): + """ + Returns a generator of `classdef` nodes. + """ + return self._search_in_scope('classdef') + + def iter_imports(self): + """ + Returns a generator of `import_name` and `import_from` nodes. + """ + return self._search_in_scope('import_name', 'import_from') + + def _search_in_scope(self, *names): + def scan(children): + for element in children: + if element.type in names: + yield element + if element.type in _FUNC_CONTAINERS: + yield from scan(element.children) + + return scan(self.children) + + def get_suite(self): + """ + Returns the part that is executed by the function. + """ + return self.children[-1] + + def __repr__(self): + try: + name = self.name.value + except AttributeError: + name = '' + + return "<%s: %s@%s-%s>" % (type(self).__name__, name, + self.start_pos[0], self.end_pos[0]) + + +class Module(Scope): + """ + The top scope, which is always a module. + Depending on the underlying parser this may be a full module or just a part + of a module. + """ + __slots__ = ('_used_names',) + type = 'file_input' + + def __init__(self, children): + super().__init__(children) + self._used_names = None + + def _iter_future_import_names(self): + """ + :return: A list of future import names. + :rtype: list of str + """ + # In Python it's not allowed to use future imports after the first + # actual (non-future) statement. However this is not a linter here, + # just return all future imports. If people want to scan for issues + # they should use the API. + for imp in self.iter_imports(): + if imp.type == 'import_from' and imp.level == 0: + for path in imp.get_paths(): + names = [name.value for name in path] + if len(names) == 2 and names[0] == '__future__': + yield names[1] + + def get_used_names(self): + """ + Returns all the :class:`Name` leafs that exist in this module. This + includes both definitions and references of names. + """ + if self._used_names is None: + # Don't directly use self._used_names to eliminate a lookup. + dct = {} + + def recurse(node): + try: + children = node.children + except AttributeError: + if node.type == 'name': + arr = dct.setdefault(node.value, []) + arr.append(node) + else: + for child in children: + recurse(child) + + recurse(self) + self._used_names = UsedNamesMapping(dct) + return self._used_names + + +class Decorator(PythonBaseNode): + type = 'decorator' + __slots__ = () + + +class ClassOrFunc(Scope): + __slots__ = () + + @property + def name(self): + """ + Returns the `Name` leaf that defines the function or class name. + """ + return self.children[1] + + def get_decorators(self): + """ + :rtype: list of :class:`Decorator` + """ + decorated = self.parent + if decorated.type == 'async_funcdef': + decorated = decorated.parent + + if decorated.type == 'decorated': + if decorated.children[0].type == 'decorators': + return decorated.children[0].children + else: + return decorated.children[:1] + else: + return [] + + +class Class(ClassOrFunc): + """ + Used to store the parsed contents of a python class. + """ + type = 'classdef' + __slots__ = () + + def __init__(self, children): + super().__init__(children) + + def get_super_arglist(self): + """ + Returns the `arglist` node that defines the super classes. It returns + None if there are no arguments. + """ + if self.children[2] != '(': # Has no parentheses + return None + else: + if self.children[3] == ')': # Empty parentheses + return None + else: + return self.children[3] + + +def _create_params(parent, argslist_list): + """ + `argslist_list` is a list that can contain an argslist as a first item, but + most not. It's basically the items between the parameter brackets (which is + at most one item). + This function modifies the parser structure. It generates `Param` objects + from the normal ast. Those param objects do not exist in a normal ast, but + make the evaluation of the ast tree so much easier. + You could also say that this function replaces the argslist node with a + list of Param objects. + """ + try: + first = argslist_list[0] + except IndexError: + return [] + + if first.type in ('name', 'fpdef'): + return [Param([first], parent)] + elif first == '*': + return [first] + else: # argslist is a `typedargslist` or a `varargslist`. + if first.type == 'tfpdef': + children = [first] + else: + children = first.children + new_children = [] + start = 0 + # Start with offset 1, because the end is higher. + for end, child in enumerate(children + [None], 1): + if child is None or child == ',': + param_children = children[start:end] + if param_children: # Could as well be comma and then end. + if param_children[0] == '*' \ + and (len(param_children) == 1 + or param_children[1] == ',') \ + or param_children[0] == '/': + for p in param_children: + p.parent = parent + new_children += param_children + else: + new_children.append(Param(param_children, parent)) + start = end + return new_children + + +class Function(ClassOrFunc): + """ + Used to store the parsed contents of a python function. + + Children:: + + 0. + 1. + 2. parameter list (including open-paren and close-paren s) + 3. or 5. + 4. or 6. Node() representing function body + 3. -> (if annotation is also present) + 4. annotation (if present) + """ + type = 'funcdef' + + def __init__(self, children): + super().__init__(children) + parameters = self.children[2] # After `def foo` + parameters_children = parameters.children[1:-1] + # If input parameters list already has Param objects, keep it as is; + # otherwise, convert it to a list of Param objects. + if not any(isinstance(child, Param) for child in parameters_children): + parameters.children[1:-1] = _create_params(parameters, parameters_children) + + def _get_param_nodes(self): + return self.children[2].children + + def get_params(self): + """ + Returns a list of `Param()`. + """ + return [p for p in self._get_param_nodes() if p.type == 'param'] + + @property + def name(self): + return self.children[1] # First token after `def` + + def iter_yield_exprs(self): + """ + Returns a generator of `yield_expr`. + """ + def scan(children): + for element in children: + if element.type in ('classdef', 'funcdef', 'lambdef'): + continue + + try: + nested_children = element.children + except AttributeError: + if element.value == 'yield': + if element.parent.type == 'yield_expr': + yield element.parent + else: + yield element + else: + yield from scan(nested_children) + + return scan(self.children) + + def iter_return_stmts(self): + """ + Returns a generator of `return_stmt`. + """ + def scan(children): + for element in children: + if element.type == 'return_stmt' \ + or element.type == 'keyword' and element.value == 'return': + yield element + if element.type in _RETURN_STMT_CONTAINERS: + yield from scan(element.children) + + return scan(self.children) + + def iter_raise_stmts(self): + """ + Returns a generator of `raise_stmt`. Includes raise statements inside try-except blocks + """ + def scan(children): + for element in children: + if element.type == 'raise_stmt' \ + or element.type == 'keyword' and element.value == 'raise': + yield element + if element.type in _RETURN_STMT_CONTAINERS: + yield from scan(element.children) + + return scan(self.children) + + def is_generator(self): + """ + :return bool: Checks if a function is a generator or not. + """ + return next(self.iter_yield_exprs(), None) is not None + + @property + def annotation(self): + """ + Returns the test node after `->` or `None` if there is no annotation. + """ + try: + if self.children[3] == "->": + return self.children[4] + assert self.children[3] == ":" + return None + except IndexError: + return None + + +class Lambda(Function): + """ + Lambdas are basically trimmed functions, so give it the same interface. + + Children:: + + 0. + *. for each argument x + -2. + -1. Node() representing body + """ + type = 'lambdef' + __slots__ = () + + def __init__(self, children): + # We don't want to call the Function constructor, call its parent. + super(Function, self).__init__(children) + # Everything between `lambda` and the `:` operator is a parameter. + parameters_children = self.children[1:-2] + # If input children list already has Param objects, keep it as is; + # otherwise, convert it to a list of Param objects. + if not any(isinstance(child, Param) for child in parameters_children): + self.children[1:-2] = _create_params(self, parameters_children) + + @property + def name(self): + """ + Raises an AttributeError. Lambdas don't have a defined name. + """ + raise AttributeError("lambda is not named.") + + def _get_param_nodes(self): + return self.children[1:-2] + + @property + def annotation(self): + """ + Returns `None`, lambdas don't have annotations. + """ + return None + + def __repr__(self): + return "<%s@%s>" % (self.__class__.__name__, self.start_pos) + + +class Flow(PythonBaseNode): + __slots__ = () + + +class IfStmt(Flow): + type = 'if_stmt' + __slots__ = () + + def get_test_nodes(self): + """ + E.g. returns all the `test` nodes that are named as x, below: + + if x: + pass + elif x: + pass + """ + for i, c in enumerate(self.children): + if c in ('elif', 'if'): + yield self.children[i + 1] + + def get_corresponding_test_node(self, node): + """ + Searches for the branch in which the node is and returns the + corresponding test node (see function above). However if the node is in + the test node itself and not in the suite return None. + """ + start_pos = node.start_pos + for check_node in reversed(list(self.get_test_nodes())): + if check_node.start_pos < start_pos: + if start_pos < check_node.end_pos: + return None + # In this case the node is within the check_node itself, + # not in the suite + else: + return check_node + + def is_node_after_else(self, node): + """ + Checks if a node is defined after `else`. + """ + for c in self.children: + if c == 'else': + if node.start_pos > c.start_pos: + return True + else: + return False + + +class WhileStmt(Flow): + type = 'while_stmt' + __slots__ = () + + +class ForStmt(Flow): + type = 'for_stmt' + __slots__ = () + + def get_testlist(self): + """ + Returns the input node ``y`` from: ``for x in y:``. + """ + return self.children[3] + + def get_defined_names(self, include_setitem=False): + return _defined_names(self.children[1], include_setitem) + + +class TryStmt(Flow): + type = 'try_stmt' + __slots__ = () + + def get_except_clause_tests(self): + """ + Returns the ``test`` nodes found in ``except_clause`` nodes. + Returns ``[None]`` for except clauses without an exception given. + """ + for node in self.children: + if node.type == 'except_clause': + yield node.children[1] + elif node == 'except': + yield None + + +class WithStmt(Flow): + type = 'with_stmt' + __slots__ = () + + def get_defined_names(self, include_setitem=False): + """ + Returns the a list of `Name` that the with statement defines. The + defined names are set after `as`. + """ + names = [] + for with_item in self.children[1:-2:2]: + # Check with items for 'as' names. + if with_item.type == 'with_item': + names += _defined_names(with_item.children[2], include_setitem) + return names + + def get_test_node_from_name(self, name): + node = name.search_ancestor("with_item") + if node is None: + raise ValueError('The name is not actually part of a with statement.') + return node.children[0] + + +class Import(PythonBaseNode): + __slots__ = () + + def get_path_for_name(self, name): + """ + The path is the list of names that leads to the searched name. + + :return list of Name: + """ + try: + # The name may be an alias. If it is, just map it back to the name. + name = self._aliases()[name] + except KeyError: + pass + + for path in self.get_paths(): + if name in path: + return path[:path.index(name) + 1] + raise ValueError('Name should be defined in the import itself') + + def is_nested(self): + return False # By default, sub classes may overwrite this behavior + + def is_star_import(self): + return self.children[-1] == '*' + + +class ImportFrom(Import): + type = 'import_from' + __slots__ = () + + def get_defined_names(self, include_setitem=False): + """ + Returns the a list of `Name` that the import defines. The + defined names are set after `import` or in case an alias - `as` - is + present that name is returned. + """ + return [alias or name for name, alias in self._as_name_tuples()] + + def _aliases(self): + """Mapping from alias to its corresponding name.""" + return dict((alias, name) for name, alias in self._as_name_tuples() + if alias is not None) + + def get_from_names(self): + for n in self.children[1:]: + if n not in ('.', '...'): + break + if n.type == 'dotted_name': # from x.y import + return n.children[::2] + elif n == 'import': # from . import + return [] + else: # from x import + return [n] + + @property + def level(self): + """The level parameter of ``__import__``.""" + level = 0 + for n in self.children[1:]: + if n in ('.', '...'): + level += len(n.value) + else: + break + return level + + def _as_name_tuples(self): + last = self.children[-1] + if last == ')': + last = self.children[-2] + elif last == '*': + return # No names defined directly. + + if last.type == 'import_as_names': + as_names = last.children[::2] + else: + as_names = [last] + for as_name in as_names: + if as_name.type == 'name': + yield as_name, None + else: + yield as_name.children[::2] # yields x, y -> ``x as y`` + + def get_paths(self): + """ + The import paths defined in an import statement. Typically an array + like this: ``[, ]``. + + :return list of list of Name: + """ + dotted = self.get_from_names() + + if self.children[-1] == '*': + return [dotted] + return [dotted + [name] for name, alias in self._as_name_tuples()] + + +class ImportName(Import): + """For ``import_name`` nodes. Covers normal imports without ``from``.""" + type = 'import_name' + __slots__ = () + + def get_defined_names(self, include_setitem=False): + """ + Returns the a list of `Name` that the import defines. The defined names + is always the first name after `import` or in case an alias - `as` - is + present that name is returned. + """ + return [alias or path[0] for path, alias in self._dotted_as_names()] + + @property + def level(self): + """The level parameter of ``__import__``.""" + return 0 # Obviously 0 for imports without from. + + def get_paths(self): + return [path for path, alias in self._dotted_as_names()] + + def _dotted_as_names(self): + """Generator of (list(path), alias) where alias may be None.""" + dotted_as_names = self.children[1] + if dotted_as_names.type == 'dotted_as_names': + as_names = dotted_as_names.children[::2] + else: + as_names = [dotted_as_names] + + for as_name in as_names: + if as_name.type == 'dotted_as_name': + alias = as_name.children[2] + as_name = as_name.children[0] + else: + alias = None + if as_name.type == 'name': + yield [as_name], alias + else: + # dotted_names + yield as_name.children[::2], alias + + def is_nested(self): + """ + This checks for the special case of nested imports, without aliases and + from statement:: + + import foo.bar + """ + return bool([1 for path, alias in self._dotted_as_names() + if alias is None and len(path) > 1]) + + def _aliases(self): + """ + :return list of Name: Returns all the alias + """ + return dict((alias, path[-1]) for path, alias in self._dotted_as_names() + if alias is not None) + + +class KeywordStatement(PythonBaseNode): + """ + For the following statements: `assert`, `del`, `global`, `nonlocal`, + `raise`, `return`, `yield`. + + `pass`, `continue` and `break` are not in there, because they are just + simple keywords and the parser reduces it to a keyword. + """ + __slots__ = () + + @property + def type(self): + """ + Keyword statements start with the keyword and end with `_stmt`. You can + crosscheck this with the Python grammar. + """ + return '%s_stmt' % self.keyword + + @property + def keyword(self): + return self.children[0].value + + def get_defined_names(self, include_setitem=False): + keyword = self.keyword + if keyword == 'del': + return _defined_names(self.children[1], include_setitem) + if keyword in ('global', 'nonlocal'): + return self.children[1::2] + return [] + + +class AssertStmt(KeywordStatement): + __slots__ = () + + @property + def assertion(self): + return self.children[1] + + +class GlobalStmt(KeywordStatement): + __slots__ = () + + def get_global_names(self): + return self.children[1::2] + + +class ReturnStmt(KeywordStatement): + __slots__ = () + + +class YieldExpr(PythonBaseNode): + type = 'yield_expr' + __slots__ = () + + +def _defined_names(current, include_setitem): + """ + A helper function to find the defined names in statements, for loops and + list comprehensions. + """ + names = [] + if current.type in ('testlist_star_expr', 'testlist_comp', 'exprlist', 'testlist'): + for child in current.children[::2]: + names += _defined_names(child, include_setitem) + elif current.type in ('atom', 'star_expr'): + names += _defined_names(current.children[1], include_setitem) + elif current.type in ('power', 'atom_expr'): + if current.children[-2] != '**': # Just if there's no operation + trailer = current.children[-1] + if trailer.children[0] == '.': + names.append(trailer.children[1]) + elif trailer.children[0] == '[' and include_setitem: + for node in current.children[-2::-1]: + if node.type == 'trailer': + names.append(node.children[1]) + break + if node.type == 'name': + names.append(node) + break + else: + names.append(current) + return names + + +class ExprStmt(PythonBaseNode, DocstringMixin): + type = 'expr_stmt' + __slots__ = () + + def get_defined_names(self, include_setitem=False): + """ + Returns a list of `Name` defined before the `=` sign. + """ + names = [] + if self.children[1].type == 'annassign': + names = _defined_names(self.children[0], include_setitem) + return [ + name + for i in range(0, len(self.children) - 2, 2) + if '=' in self.children[i + 1].value + for name in _defined_names(self.children[i], include_setitem) + ] + names + + def get_rhs(self): + """Returns the right-hand-side of the equals.""" + node = self.children[-1] + if node.type == 'annassign': + if len(node.children) == 4: + node = node.children[3] + else: + node = node.children[1] + return node + + def yield_operators(self): + """ + Returns a generator of `+=`, `=`, etc. or None if there is no operation. + """ + first = self.children[1] + if first.type == 'annassign': + if len(first.children) <= 2: + return # No operator is available, it's just PEP 484. + + first = first.children[2] + yield first + + yield from self.children[3::2] + + +class NamedExpr(PythonBaseNode): + type = 'namedexpr_test' + + def get_defined_names(self, include_setitem=False): + return _defined_names(self.children[0], include_setitem) + + +class Param(PythonBaseNode): + """ + It's a helper class that makes business logic with params much easier. The + Python grammar defines no ``param`` node. It defines it in a different way + that is not really suited to working with parameters. + """ + type = 'param' + + def __init__(self, children, parent=None): + super().__init__(children) + self.parent = parent + + @property + def star_count(self): + """ + Is `0` in case of `foo`, `1` in case of `*foo` or `2` in case of + `**foo`. + """ + first = self.children[0] + if first in ('*', '**'): + return len(first.value) + return 0 + + @property + def default(self): + """ + The default is the test node that appears after the `=`. Is `None` in + case no default is present. + """ + has_comma = self.children[-1] == ',' + try: + if self.children[-2 - int(has_comma)] == '=': + return self.children[-1 - int(has_comma)] + except IndexError: + return None + + @property + def annotation(self): + """ + The default is the test node that appears after `:`. Is `None` in case + no annotation is present. + """ + tfpdef = self._tfpdef() + if tfpdef.type == 'tfpdef': + assert tfpdef.children[1] == ":" + assert len(tfpdef.children) == 3 + annotation = tfpdef.children[2] + return annotation + else: + return None + + def _tfpdef(self): + """ + tfpdef: see e.g. grammar36.txt. + """ + offset = int(self.children[0] in ('*', '**')) + return self.children[offset] + + @property + def name(self): + """ + The `Name` leaf of the param. + """ + if self._tfpdef().type == 'tfpdef': + return self._tfpdef().children[0] + else: + return self._tfpdef() + + def get_defined_names(self, include_setitem=False): + return [self.name] + + @property + def position_index(self): + """ + Property for the positional index of a paramter. + """ + index = self.parent.children.index(self) + try: + keyword_only_index = self.parent.children.index('*') + if index > keyword_only_index: + # Skip the ` *, ` + index -= 2 + except ValueError: + pass + try: + keyword_only_index = self.parent.children.index('/') + if index > keyword_only_index: + # Skip the ` /, ` + index -= 2 + except ValueError: + pass + return index - 1 + + def get_parent_function(self): + """ + Returns the function/lambda of a parameter. + """ + return self.search_ancestor('funcdef', 'lambdef') + + def get_code(self, include_prefix=True, include_comma=True): + """ + Like all the other get_code functions, but includes the param + `include_comma`. + + :param include_comma bool: If enabled includes the comma in the string output. + """ + if include_comma: + return super().get_code(include_prefix) + + children = self.children + if children[-1] == ',': + children = children[:-1] + return self._get_code_for_children( + children, + include_prefix=include_prefix + ) + + def __repr__(self): + default = '' if self.default is None else '=%s' % self.default.get_code() + return '<%s: %s>' % (type(self).__name__, str(self._tfpdef()) + default) + + +class SyncCompFor(PythonBaseNode): + type = 'sync_comp_for' + __slots__ = () + + def get_defined_names(self, include_setitem=False): + """ + Returns the a list of `Name` that the comprehension defines. + """ + # allow async for + return _defined_names(self.children[1], include_setitem) + + +# This is simply here so an older Jedi version can work with this new parso +# version. Can be deleted in the next release. +CompFor = SyncCompFor + + +class UsedNamesMapping(Mapping): + """ + This class exists for the sole purpose of creating an immutable dict. + """ + def __init__(self, dct): + self._dict = dct + + def __getitem__(self, key): + return self._dict[key] + + def __len__(self): + return len(self._dict) + + def __iter__(self): + return iter(self._dict) + + def __hash__(self): + return id(self) + + def __eq__(self, other): + # Comparing these dicts does not make sense. + return self is other diff --git a/shared/package-files/45/45ae25419b7cd0bf7c4f9b20c7af5056c6fa4554f901fad7678e4c79993748fc/vecm_e6_jmulti_cili_fc5.txt b/shared/package-files/45/45ae25419b7cd0bf7c4f9b20c7af5056c6fa4554f901fad7678e4c79993748fc/vecm_e6_jmulti_cili_fc5.txt new file mode 100644 index 0000000000000000000000000000000000000000..d82a8508c02272bb00036dd02b37994819d650c6 --- /dev/null +++ b/shared/package-files/45/45ae25419b7cd0bf7c4f9b20c7af5056c6fa4554f901fad7678e4c79993748fc/vecm_e6_jmulti_cili_fc5.txt @@ -0,0 +1,23 @@ +*** Thu, 28 Jul 2016 16:43:15 *** +FORECASTING +Reference: Lütkepohl (1993), IMTSA, 2ed, ch. 5.2.6, ch. 10.5 +CI coverage: 0.95 +forecast horizon: 5 periods +using standard confidence intervals + + Dp +time forecast lower CI upper CI +/- +1999 Q1 -0.0175 -0.0292 -0.0057 0.0118 +1999 Q2 -0.0035 -0.0156 0.0086 0.0121 +1999 Q3 0.0011 -0.0115 0.0136 0.0125 +1999 Q4 0.0216 0.0090 0.0342 0.0126 +2000 Q1 -0.0175 -0.0341 -0.0009 0.0166 + + R +time forecast lower CI upper CI +/- +1999 Q1 0.0394 0.0292 0.0495 0.0102 +1999 Q2 0.0402 0.0248 0.0556 0.0154 +1999 Q3 0.0412 0.0221 0.0602 0.0190 +1999 Q4 0.0412 0.0183 0.0641 0.0229 +2000 Q1 0.0425 0.0162 0.0688 0.0263 + diff --git a/shared/package-files/45/45ae4bc42847cef296877406932d161d33e21a7c9e33fc3c3f70e2146a8ed1a9/_inversions.pyx.in b/shared/package-files/45/45ae4bc42847cef296877406932d161d33e21a7c9e33fc3c3f70e2146a8ed1a9/_inversions.pyx.in new file mode 100644 index 0000000000000000000000000000000000000000..7c3d61cc9220002fed95b25ff4bd20ef433547dc --- /dev/null +++ b/shared/package-files/45/45ae4bc42847cef296877406932d161d33e21a7c9e33fc3c3f70e2146a8ed1a9/_inversions.pyx.in @@ -0,0 +1,440 @@ +#cython: boundscheck=False +#cython: wraparound=False +#cython: cdivision=False +#cython: cpow=True +""" +State Space Models + +Author: Chad Fulton +License: Simplified-BSD +""" + +{{py: + +TYPES = { + "s": ("np.float32_t", "np.float32", "np.NPY_FLOAT32"), + "d": ("np.float64_t", "float", "np.NPY_FLOAT64"), + "c": ("np.complex64_t", "np.complex64", "np.NPY_COMPLEX64"), + "z": ("np.complex128_t", "complex", "np.NPY_COMPLEX128"), +} + +}} + +cimport numpy as np +import numpy as np +from statsmodels.includes.math cimport * +cimport scipy.linalg.cython_blas as blas +cimport scipy.linalg.cython_lapack as lapack +include "statsmodels/tsa/statespace/_blas_int.pxi" + +from statsmodels.tsa.statespace._kalman_filter cimport ( + MEMORY_NO_SMOOTHING, MEMORY_NO_STD_FORECAST) + +{{for prefix, types in TYPES.items()}} +{{py:cython_type, dtype, typenum = types}} +{{py: +combined_prefix = prefix +combined_cython_type = cython_type +if prefix == 'c': + combined_prefix = 'z' + combined_cython_type = 'np.complex128_t' +if prefix == 's': + combined_prefix = 'd' + combined_cython_type = 'np.float64_t' +}} + +# ## Forecast error covariance inversion +# +# The following are routines that can calculate the inverse of the forecast +# error covariance matrix (defined in `forecast_`). +# +# These routines are aware of the possibility that the Kalman filter may have +# converged to a steady state, in which case they do not need to perform the +# inversion or calculate the determinant. + +cdef {{cython_type}} {{prefix}}inverse_univariate({{prefix}}KalmanFilter kfilter, {{prefix}}Statespace model, {{cython_type}} determinant) except *: + """ + Factorize the forecast error covariance matrix using simple division + in the case that the observations are univariate. + + If the model has converged to a steady-state, this is a NOOP and simply + returns the determinant that was passed in. + """ + # TODO it's not a noop if converged, but the docstring says it is... + + # #### Intermediate values + cdef: + blas_int inc = 1 + blas_int _k_endogstates = model._k_endogstates + {{cython_type}} scalar + + # Take the inverse of the forecast error covariance matrix + if not kfilter.converged: + determinant = {{combined_prefix}}log(kfilter._forecast_error_cov[0]) + try: + # If we're close to singular, switch to univariate version even if the + # following doesn't trigger a ZeroDivisionError + if kfilter._forecast_error_cov[0]{{if combined_prefix == 'z'}}.real{{endif}} < 1e-12: + raise Exception + + scalar = 1.0 / kfilter._forecast_error_cov[0] + except: + raise np.linalg.LinAlgError('Non-positive-definite forecast error' + ' covariance matrix encountered at' + ' period %d' % kfilter.t) + kfilter._tmp2[0] = scalar * kfilter._forecast_error[0] + blas.{{prefix}}copy(&_k_endogstates, model._design, &inc, kfilter._tmp3, &inc) + blas.{{prefix}}scal(&_k_endogstates, &scalar, kfilter._tmp3, &inc) + + if not (kfilter.conserve_memory & MEMORY_NO_STD_FORECAST > 0): + kfilter._standardized_forecast_error[0] = kfilter._forecast_error[0] * scalar**0.5 + + if not (kfilter.conserve_memory & MEMORY_NO_SMOOTHING > 0): + kfilter._tmp4[0] = scalar * model._obs_cov[0] + + return determinant + +cdef {{cython_type}} {{prefix}}factorize_cholesky({{prefix}}KalmanFilter kfilter, {{prefix}}Statespace model, {{cython_type}} determinant) except *: + """ + Factorize the forecast error covariance matrix using a Cholesky + decomposition. Called by either of the `solve_cholesky` or + `invert_cholesky` routines. + + Requires a positive definite matrix, but is faster than an LU + decomposition. + + If the model has converged to a steady-state, this is a NOOP and simply + returns the determinant that was passed in. + """ + cdef: + blas_int inc = 1 + blas_int info + int i + blas_int k_endog2 = kfilter.k_endog2 + blas_int k_endog = kfilter.k_endog + blas_int _k_endog = model._k_endog + + if not kfilter.converged or not (kfilter.conserve_memory & MEMORY_NO_STD_FORECAST > 0): + blas.{{prefix}}copy(&k_endog2, kfilter._forecast_error_cov, &inc, kfilter._forecast_error_fac, &inc) + lapack.{{prefix}}potrf("U", &_k_endog, kfilter._forecast_error_fac, &k_endog, &info) + + if info < 0: + raise np.linalg.LinAlgError('Illegal value in forecast error' + ' covariance matrix encountered at' + ' period %d' % kfilter.t) + if info > 0: + raise np.linalg.LinAlgError('Non-positive-definite forecast error' + ' covariance matrix encountered at' + ' period %d' % kfilter.t) + + # Calculate the determinant (just the squared product of the + # diagonals, in the Cholesky decomposition case) + determinant = 0.0 + for i in range(model._k_endog): + determinant = determinant + {{combined_prefix}}log(kfilter.forecast_error_fac[i, i]) + determinant = 2 * determinant + + return determinant + +cdef {{cython_type}} {{prefix}}factorize_lu({{prefix}}KalmanFilter kfilter, {{prefix}}Statespace model, {{cython_type}} determinant) except *: + """ + Factorize the forecast error covariance matrix using an LU + decomposition. Called by either of the `solve_lu` or `invert_lu` + routines. + + Is slower than a Cholesky decomposition, but does not require a + positive definite matrix. + + If the model has converged to a steady-state, this is a NOOP and simply + returns the determinant that was passed in. + """ + cdef: + blas_int inc = 1 + blas_int info + int i + blas_int k_endog2 = kfilter.k_endog2 + blas_int k_endog = kfilter.k_endog + blas_int _k_endog = model._k_endog + + if not kfilter.converged: + # Perform LU decomposition into `forecast_error_fac` + blas.{{prefix}}copy(&k_endog2, kfilter._forecast_error_cov, &inc, kfilter._forecast_error_fac, &inc) + + lapack.{{prefix}}getrf(&_k_endog, &_k_endog, + kfilter._forecast_error_fac, &k_endog, + kfilter._forecast_error_ipiv, &info) + + if info < 0: + raise np.linalg.LinAlgError('Illegal value in forecast error' + ' covariance matrix encountered at' + ' period %d' % kfilter.t) + if info > 0: + raise np.linalg.LinAlgError('Singular forecast error covariance' + ' matrix encountered at period %d' % + kfilter.t) + + # Calculate the determinant (product of the diagonals, but with + # sign modifications according to the permutation matrix) + determinant = 1 + for i in range(model._k_endog): + if not kfilter._forecast_error_ipiv[i] == i+1: + determinant *= -1*kfilter.forecast_error_fac[i, i] + else: + determinant *= kfilter.forecast_error_fac[i, i] + determinant = {{combined_prefix}}log(determinant) + + return determinant + +cdef {{cython_type}} {{prefix}}inverse_cholesky({{prefix}}KalmanFilter kfilter, {{prefix}}Statespace model, {{cython_type}} determinant) except *: + """ + inverse_cholesky(self, determinant) + + If the model has converged to a steady-state, this is a NOOP and simply + returns the determinant that was passed in. + """ + cdef: + blas_int info + blas_int inc = 1 + int i, j + blas_int k_endog = kfilter.k_endog + blas_int _k_endog = model._k_endog + blas_int _k_states = model._k_states + {{cython_type}} alpha = 1.0 + {{cython_type}} beta = 0.0 + + if not kfilter.converged or not (kfilter.conserve_memory & MEMORY_NO_STD_FORECAST > 0): + # Perform the Cholesky decomposition and get the determinant + determinant = {{prefix}}factorize_cholesky(kfilter, model, determinant) + + # Use the Cholesky factor to get standardized forecast errors, if desired + # (in the notation of DK, kfilter._forecast_error_fac holds L_t', and + # we want to solve the equation L_t' v_t^s = v_t) + if not (kfilter.conserve_memory & MEMORY_NO_STD_FORECAST > 0): + blas.{{prefix}}copy(&k_endog, kfilter._forecast_error, &inc, kfilter._standardized_forecast_error, &inc) + lapack.{{prefix}}trtrs("U", "T", "N", &_k_endog, &inc, + kfilter._forecast_error_fac, &k_endog, + kfilter._standardized_forecast_error, &k_endog, &info) + + if info != 0: + raise np.linalg.LinAlgError('Error computing standardized' + ' forecast error at period %d' + % kfilter.t) + + # Continue taking the inverse + lapack.{{prefix}}potri("U", &_k_endog, kfilter._forecast_error_fac, &k_endog, &info) + + # ?potri only fills in the upper triangle of the symmetric array, and + # since the ?symm and ?symv routines are not available as of scipy + # 0.11.0, we cannot use them, so we must fill in the lower triangle + # by hand + for i in range(model._k_endog): # columns + for j in range(i): # rows + kfilter.forecast_error_fac[i,j] = kfilter.forecast_error_fac[j,i] + + + # Get `tmp2` and `tmp3` via matrix multiplications + + # `tmp2` array used here, dimension $(p \times 1)$ + # $\\#_2 = F_t^{-1} v_t$ + #blas.{{prefix}}symv("U", &model._k_endog, &alpha, kfilter._forecast_error_fac, &kfilter.k_endog, + # kfilter._forecast_error, &inc, &beta, kfilter._tmp2, &inc) + blas.{{prefix}}gemv("N", &_k_endog, &_k_endog, + &alpha, kfilter._forecast_error_fac, &k_endog, + kfilter._forecast_error, &inc, + &beta, kfilter._tmp2, &inc) + + # `tmp3` array used here, dimension $(p \times m)$ + # $\\#_3 = F_t^{-1} Z_t$ + #blas.{{prefix}}symm("L", "U", &k_endog, &kfilter.k_states, + # &alpha, kfilter._forecast_error_fac, &k_endog, + # kfilter._design, &k_endog, + # &beta, kfilter._tmp3, &k_endog) + blas.{{prefix}}gemm("N", "N", &_k_endog, &_k_states, &_k_endog, + &alpha, kfilter._forecast_error_fac, &k_endog, + model._design, &_k_endog, + &beta, kfilter._tmp3, &k_endog) + + if not (kfilter.conserve_memory & MEMORY_NO_SMOOTHING > 0): + # `tmp4` array used here, dimension $(p \times p)$ + # $\\#_4 = F_t^{-1} H_t$ + #blas.{{prefix}}symm("L", "U", &k_endog, &k_endog, + # &alpha, kfilter._forecast_error_fac, &k_endog, + # kfilter._obs_cov, &k_endog, + # &beta, kfilter._tmp4, &k_endog) + blas.{{prefix}}gemm("N", "N", &_k_endog, &_k_endog, &_k_endog, + &alpha, kfilter._forecast_error_fac, &k_endog, + model._obs_cov, &_k_endog, + &beta, kfilter._tmp4, &k_endog) + + return determinant + +cdef {{cython_type}} {{prefix}}inverse_lu({{prefix}}KalmanFilter kfilter, {{prefix}}Statespace model, {{cython_type}} determinant) except *: + """ + inverse_cholesky(self, determinant) + + If the model has converged to a steady-state, this is a NOOP and simply + returns the determinant that was passed in. + """ + cdef: + blas_int info + blas_int inc = 1 + blas_int k_endog = kfilter.k_endog + blas_int _k_endog = model._k_endog + blas_int _k_states = model._k_states + blas_int ldwork = kfilter.ldwork + {{cython_type}} alpha = 1.0 + {{cython_type}} beta = 0.0 + + if not kfilter.converged: + # Perform the Cholesky decomposition and get the determinant + determinant = {{prefix}}factorize_lu(kfilter, model, determinant) + + # Continue taking the inverse + lapack.{{prefix}}getri(&_k_endog, kfilter._forecast_error_fac, &k_endog, + kfilter._forecast_error_ipiv, kfilter._forecast_error_work, &ldwork, &info) + + # Get `tmp2` and `tmp3` via matrix multiplications + + # `tmp2` array used here, dimension $(p \times 1)$ + # $\\#_2 = F_t^{-1} v_t$ + blas.{{prefix}}gemv("N", &_k_endog, &_k_endog, + &alpha, kfilter._forecast_error_fac, &k_endog, + kfilter._forecast_error, &inc, + &beta, kfilter._tmp2, &inc) + + # `tmp3` array used here, dimension $(p \times m)$ + # $\\#_3 = F_t^{-1} Z_t$ + blas.{{prefix}}gemm("N", "N", &_k_endog, &_k_states, &_k_endog, + &alpha, kfilter._forecast_error_fac, &k_endog, + model._design, &_k_endog, + &beta, kfilter._tmp3, &k_endog) + + if not (kfilter.conserve_memory & MEMORY_NO_SMOOTHING > 0): + # `tmp4` array used here, dimension $(p \times p)$ + # $\\#_4 = F_t^{-1} H_t$ + blas.{{prefix}}gemm("N", "N", &_k_endog, &_k_endog, &_k_endog, + &alpha, kfilter._forecast_error_fac, &k_endog, + model._obs_cov, &_k_endog, + &beta, kfilter._tmp4, &k_endog) + + return determinant + +cdef {{cython_type}} {{prefix}}solve_cholesky({{prefix}}KalmanFilter kfilter, {{prefix}}Statespace model, {{cython_type}} determinant) except *: + """ + solve_cholesky(self, determinant) + + If the model has converged to a steady-state, this is a NOOP and simply + returns the determinant that was passed in. + """ + cdef: + blas_int info + int i, j + blas_int inc = 1 + blas_int k_endog = kfilter.k_endog + blas_int k_endog2 = kfilter.k_endog2 + blas_int k_endogstates = kfilter.k_endogstates + blas_int _k_endog = model._k_endog + blas_int _k_states = model._k_states + + if not kfilter.converged: + # Perform the Cholesky decomposition and get the determinant + determinant = {{prefix}}factorize_cholesky(kfilter, model, determinant) + + # Use the Cholesky factor to get standardized forecast errors, if desired + # (in the notation of DK, kfilter._forecast_error_fac holds L_t', and + # we want to solve the equation L_t' v_t^s = v_t) + if not (kfilter.conserve_memory & MEMORY_NO_STD_FORECAST > 0): + blas.{{prefix}}copy(&k_endog, kfilter._forecast_error, &inc, kfilter._standardized_forecast_error, &inc) + lapack.{{prefix}}trtrs("U", "T", "N", &_k_endog, &inc, + kfilter._forecast_error_fac, &k_endog, + kfilter._standardized_forecast_error, &k_endog, &info) + + if info != 0: + raise np.linalg.LinAlgError('Error computing standardized' + ' forecast error at period %d' + % kfilter.t) + + # Solve the linear systems + # `tmp2` array used here, dimension $(p \times 1)$ + # $F_t \\#_2 = v_t$ + blas.{{prefix}}copy(&k_endog, kfilter._forecast_error, &inc, kfilter._tmp2, &inc) + lapack.{{prefix}}potrs("U", &_k_endog, &inc, kfilter._forecast_error_fac, &k_endog, kfilter._tmp2, &k_endog, &info) + + # `tmp3` array used here, dimension $(p \times m)$ + # $F_t \\#_3 = Z_t$ + if model._k_states == model.k_states and model._k_endog == model.k_endog: + blas.{{prefix}}copy(&k_endogstates, model._design, &inc, kfilter._tmp3, &inc) + else: + for i in range(model._k_states): # columns + for j in range(model._k_endog): # rows + kfilter._tmp3[j + i*kfilter.k_endog] = model._design[j + i*model._k_endog] + lapack.{{prefix}}potrs("U", &_k_endog, &_k_states, kfilter._forecast_error_fac, &k_endog, kfilter._tmp3, &k_endog, &info) + + if not (kfilter.conserve_memory & MEMORY_NO_SMOOTHING > 0): + # `tmp4` array used here, dimension $(p \times p)$ + # $F_t \\#_4 = H_t$ + if model._k_states == model.k_states and model._k_endog == model.k_endog: + blas.{{prefix}}copy(&k_endog2, model._obs_cov, &inc, kfilter._tmp4, &inc) + else: + for i in range(model._k_endog): # columns + for j in range(model._k_endog): # rows + kfilter._tmp4[j + i*kfilter.k_endog] = model._obs_cov[j + i*model._k_endog] + lapack.{{prefix}}potrs("U", &_k_endog, &_k_endog, kfilter._forecast_error_fac, &k_endog, kfilter._tmp4, &k_endog, &info) + + return determinant + +cdef {{cython_type}} {{prefix}}solve_lu({{prefix}}KalmanFilter kfilter, {{prefix}}Statespace model, {{cython_type}} determinant) except *: + """ + inverse_cholesky(self, determinant) + + If the model has converged to a steady-state, this is a NOOP and simply + returns the determinant that was passed in. + """ + cdef: + blas_int info + blas_int inc = 1 + blas_int k_endog = kfilter.k_endog + blas_int k_endog2 = kfilter.k_endog2 + blas_int k_endogstates = kfilter.k_endogstates + blas_int _k_endog = model._k_endog + blas_int _k_states = model._k_states + {{cython_type}} alpha = 1.0 + {{cython_type}} beta = 0.0 + + if not kfilter.converged: + # Perform the Cholesky decomposition and get the determinant + determinant = {{prefix}}factorize_lu(kfilter, model, determinant) + + # Solve the linear systems + # `tmp2` array used here, dimension $(p \times 1)$ + # $F_t \\#_2 = v_t$ + blas.{{prefix}}copy(&k_endog, kfilter._forecast_error, &inc, kfilter._tmp2, &inc) + lapack.{{prefix}}getrs("N", &_k_endog, &inc, kfilter._forecast_error_fac, &k_endog, + kfilter._forecast_error_ipiv, kfilter._tmp2, &k_endog, &info) + + # `tmp3` array used here, dimension $(p \times m)$ + # $F_t \\#_3 = Z_t$ + if model._k_states == model.k_states and model._k_endog == model.k_endog: + blas.{{prefix}}copy(&k_endogstates, model._design, &inc, kfilter._tmp3, &inc) + else: + for i in range(model._k_states): # columns + for j in range(model._k_endog): # rows + kfilter._tmp3[j + i*kfilter.k_endog] = model._design[j + i*model._k_endog] + lapack.{{prefix}}getrs("N", &_k_endog, &_k_states, kfilter._forecast_error_fac, &k_endog, + kfilter._forecast_error_ipiv, kfilter._tmp3, &k_endog, &info) + + if not (kfilter.conserve_memory & MEMORY_NO_SMOOTHING > 0): + # `tmp4` array used here, dimension $(p \times p)$ + # $F_t \\#_4 = H_t$ + if model._k_states == model.k_states and model._k_endog == model.k_endog: + blas.{{prefix}}copy(&k_endog2, model._obs_cov, &inc, kfilter._tmp4, &inc) + else: + for i in range(model._k_endog): # columns + for j in range(model._k_endog): # rows + kfilter._tmp4[j + i*kfilter.k_endog] = model._obs_cov[j + i*model._k_endog] + lapack.{{prefix}}getrs("N", &_k_endog, &_k_endog, kfilter._forecast_error_fac, &k_endog, + kfilter._forecast_error_ipiv, kfilter._tmp4, &k_endog, &info) + + return determinant + +{{endfor}} diff --git a/shared/package-files/45/45aecbe93d0de3387aad9520de014fe9b182f74dae841295e24c8b92eec70ae2/test_formats.py b/shared/package-files/45/45aecbe93d0de3387aad9520de014fe9b182f74dae841295e24c8b92eec70ae2/test_formats.py new file mode 100644 index 0000000000000000000000000000000000000000..52ff3109128f24f43d9a12527d08770b463459a5 --- /dev/null +++ b/shared/package-files/45/45aecbe93d0de3387aad9520de014fe9b182f74dae841295e24c8b92eec70ae2/test_formats.py @@ -0,0 +1,249 @@ +import numpy as np +import pytest + +import pandas as pd +from pandas import ( + Index, + MultiIndex, +) +import pandas._testing as tm + + +def test_format(idx): + msg = "MultiIndex.format is deprecated" + with tm.assert_produces_warning(FutureWarning, match=msg): + idx.format() + idx[:0].format() + + +def test_format_integer_names(): + index = MultiIndex( + levels=[[0, 1], [0, 1]], codes=[[0, 0, 1, 1], [0, 1, 0, 1]], names=[0, 1] + ) + msg = "MultiIndex.format is deprecated" + with tm.assert_produces_warning(FutureWarning, match=msg): + index.format(names=True) + + +def test_format_sparse_config(idx): + # GH1538 + msg = "MultiIndex.format is deprecated" + with pd.option_context("display.multi_sparse", False): + with tm.assert_produces_warning(FutureWarning, match=msg): + result = idx.format() + assert result[1] == "foo two" + + +def test_format_sparse_display(): + index = MultiIndex( + levels=[[0, 1], [0, 1], [0, 1], [0]], + codes=[ + [0, 0, 0, 1, 1, 1], + [0, 0, 1, 0, 0, 1], + [0, 1, 0, 0, 1, 0], + [0, 0, 0, 0, 0, 0], + ], + ) + msg = "MultiIndex.format is deprecated" + with tm.assert_produces_warning(FutureWarning, match=msg): + result = index.format() + assert result[3] == "1 0 0 0" + + +def test_repr_with_unicode_data(): + with pd.option_context("display.encoding", "UTF-8"): + d = {"a": ["\u05d0", 2, 3], "b": [4, 5, 6], "c": [7, 8, 9]} + index = pd.DataFrame(d).set_index(["a", "b"]).index + assert "\\" not in repr(index) # we don't want unicode-escaped + + +def test_repr_roundtrip_raises(): + mi = MultiIndex.from_product([list("ab"), range(3)], names=["first", "second"]) + msg = "Must pass both levels and codes" + with pytest.raises(TypeError, match=msg): + eval(repr(mi)) + + +def test_unicode_string_with_unicode(): + d = {"a": ["\u05d0", 2, 3], "b": [4, 5, 6], "c": [7, 8, 9]} + idx = pd.DataFrame(d).set_index(["a", "b"]).index + str(idx) + + +def test_repr_max_seq_item_setting(idx): + # GH10182 + idx = idx.repeat(50) + with pd.option_context("display.max_seq_items", None): + repr(idx) + assert "..." not in str(idx) + + +class TestRepr: + def test_unicode_repr_issues(self): + levels = [Index(["a/\u03c3", "b/\u03c3", "c/\u03c3"]), Index([0, 1])] + codes = [np.arange(3).repeat(2), np.tile(np.arange(2), 3)] + index = MultiIndex(levels=levels, codes=codes) + + repr(index.levels) + repr(index.get_level_values(1)) + + def test_repr_max_seq_items_equal_to_n(self, idx): + # display.max_seq_items == n + with pd.option_context("display.max_seq_items", 6): + result = idx.__repr__() + expected = """\ +MultiIndex([('foo', 'one'), + ('foo', 'two'), + ('bar', 'one'), + ('baz', 'two'), + ('qux', 'one'), + ('qux', 'two')], + names=['first', 'second'])""" + assert result == expected + + def test_repr(self, idx): + result = idx[:1].__repr__() + expected = """\ +MultiIndex([('foo', 'one')], + names=['first', 'second'])""" + assert result == expected + + result = idx.__repr__() + expected = """\ +MultiIndex([('foo', 'one'), + ('foo', 'two'), + ('bar', 'one'), + ('baz', 'two'), + ('qux', 'one'), + ('qux', 'two')], + names=['first', 'second'])""" + assert result == expected + + with pd.option_context("display.max_seq_items", 5): + result = idx.__repr__() + expected = """\ +MultiIndex([('foo', 'one'), + ('foo', 'two'), + ... + ('qux', 'one'), + ('qux', 'two')], + names=['first', 'second'], length=6)""" + assert result == expected + + # display.max_seq_items == 1 + with pd.option_context("display.max_seq_items", 1): + result = idx.__repr__() + expected = """\ +MultiIndex([... + ('qux', 'two')], + names=['first', ...], length=6)""" + assert result == expected + + def test_rjust(self): + n = 1000 + ci = pd.CategoricalIndex(list("a" * n) + (["abc"] * n)) + dti = pd.date_range("2000-01-01", freq="s", periods=n * 2) + mi = MultiIndex.from_arrays([ci, ci.codes + 9, dti], names=["a", "b", "dti"]) + result = mi[:1].__repr__() + expected = """\ +MultiIndex([('a', 9, '2000-01-01 00:00:00')], + names=['a', 'b', 'dti'])""" + assert result == expected + + result = mi[::500].__repr__() + expected = """\ +MultiIndex([( 'a', 9, '2000-01-01 00:00:00'), + ( 'a', 9, '2000-01-01 00:08:20'), + ('abc', 10, '2000-01-01 00:16:40'), + ('abc', 10, '2000-01-01 00:25:00')], + names=['a', 'b', 'dti'])""" + assert result == expected + + result = mi.__repr__() + expected = """\ +MultiIndex([( 'a', 9, '2000-01-01 00:00:00'), + ( 'a', 9, '2000-01-01 00:00:01'), + ( 'a', 9, '2000-01-01 00:00:02'), + ( 'a', 9, '2000-01-01 00:00:03'), + ( 'a', 9, '2000-01-01 00:00:04'), + ( 'a', 9, '2000-01-01 00:00:05'), + ( 'a', 9, '2000-01-01 00:00:06'), + ( 'a', 9, '2000-01-01 00:00:07'), + ( 'a', 9, '2000-01-01 00:00:08'), + ( 'a', 9, '2000-01-01 00:00:09'), + ... + ('abc', 10, '2000-01-01 00:33:10'), + ('abc', 10, '2000-01-01 00:33:11'), + ('abc', 10, '2000-01-01 00:33:12'), + ('abc', 10, '2000-01-01 00:33:13'), + ('abc', 10, '2000-01-01 00:33:14'), + ('abc', 10, '2000-01-01 00:33:15'), + ('abc', 10, '2000-01-01 00:33:16'), + ('abc', 10, '2000-01-01 00:33:17'), + ('abc', 10, '2000-01-01 00:33:18'), + ('abc', 10, '2000-01-01 00:33:19')], + names=['a', 'b', 'dti'], length=2000)""" + assert result == expected + + def test_tuple_width(self): + n = 1000 + ci = pd.CategoricalIndex(list("a" * n) + (["abc"] * n)) + dti = pd.date_range("2000-01-01", freq="s", periods=n * 2) + levels = [ci, ci.codes + 9, dti, dti, dti] + names = ["a", "b", "dti_1", "dti_2", "dti_3"] + mi = MultiIndex.from_arrays(levels, names=names) + result = mi[:1].__repr__() + expected = """MultiIndex([('a', 9, '2000-01-01 00:00:00', '2000-01-01 00:00:00', ...)], + names=['a', 'b', 'dti_1', 'dti_2', 'dti_3'])""" # noqa: E501 + assert result == expected + + result = mi[:10].__repr__() + expected = """\ +MultiIndex([('a', 9, '2000-01-01 00:00:00', '2000-01-01 00:00:00', ...), + ('a', 9, '2000-01-01 00:00:01', '2000-01-01 00:00:01', ...), + ('a', 9, '2000-01-01 00:00:02', '2000-01-01 00:00:02', ...), + ('a', 9, '2000-01-01 00:00:03', '2000-01-01 00:00:03', ...), + ('a', 9, '2000-01-01 00:00:04', '2000-01-01 00:00:04', ...), + ('a', 9, '2000-01-01 00:00:05', '2000-01-01 00:00:05', ...), + ('a', 9, '2000-01-01 00:00:06', '2000-01-01 00:00:06', ...), + ('a', 9, '2000-01-01 00:00:07', '2000-01-01 00:00:07', ...), + ('a', 9, '2000-01-01 00:00:08', '2000-01-01 00:00:08', ...), + ('a', 9, '2000-01-01 00:00:09', '2000-01-01 00:00:09', ...)], + names=['a', 'b', 'dti_1', 'dti_2', 'dti_3'])""" + assert result == expected + + result = mi.__repr__() + expected = """\ +MultiIndex([( 'a', 9, '2000-01-01 00:00:00', '2000-01-01 00:00:00', ...), + ( 'a', 9, '2000-01-01 00:00:01', '2000-01-01 00:00:01', ...), + ( 'a', 9, '2000-01-01 00:00:02', '2000-01-01 00:00:02', ...), + ( 'a', 9, '2000-01-01 00:00:03', '2000-01-01 00:00:03', ...), + ( 'a', 9, '2000-01-01 00:00:04', '2000-01-01 00:00:04', ...), + ( 'a', 9, '2000-01-01 00:00:05', '2000-01-01 00:00:05', ...), + ( 'a', 9, '2000-01-01 00:00:06', '2000-01-01 00:00:06', ...), + ( 'a', 9, '2000-01-01 00:00:07', '2000-01-01 00:00:07', ...), + ( 'a', 9, '2000-01-01 00:00:08', '2000-01-01 00:00:08', ...), + ( 'a', 9, '2000-01-01 00:00:09', '2000-01-01 00:00:09', ...), + ... + ('abc', 10, '2000-01-01 00:33:10', '2000-01-01 00:33:10', ...), + ('abc', 10, '2000-01-01 00:33:11', '2000-01-01 00:33:11', ...), + ('abc', 10, '2000-01-01 00:33:12', '2000-01-01 00:33:12', ...), + ('abc', 10, '2000-01-01 00:33:13', '2000-01-01 00:33:13', ...), + ('abc', 10, '2000-01-01 00:33:14', '2000-01-01 00:33:14', ...), + ('abc', 10, '2000-01-01 00:33:15', '2000-01-01 00:33:15', ...), + ('abc', 10, '2000-01-01 00:33:16', '2000-01-01 00:33:16', ...), + ('abc', 10, '2000-01-01 00:33:17', '2000-01-01 00:33:17', ...), + ('abc', 10, '2000-01-01 00:33:18', '2000-01-01 00:33:18', ...), + ('abc', 10, '2000-01-01 00:33:19', '2000-01-01 00:33:19', ...)], + names=['a', 'b', 'dti_1', 'dti_2', 'dti_3'], length=2000)""" + assert result == expected + + def test_multiindex_long_element(self): + # Non-regression test towards GH#52960 + data = MultiIndex.from_tuples([("c" * 62,)]) + + expected = ( + "MultiIndex([('cccccccccccccccccccccccccccccccccccccccc" + "cccccccccccccccccccccc',)],\n )" + ) + assert str(data) == expected diff --git a/shared/package-files/45/45b1e5eefbcef697234ff90abdc0a6701c908f7f67e0f9957aae79c03e42d788/V_D_M_X_.py b/shared/package-files/45/45b1e5eefbcef697234ff90abdc0a6701c908f7f67e0f9957aae79c03e42d788/V_D_M_X_.py new file mode 100644 index 0000000000000000000000000000000000000000..6f8abc46de903fbc300fc4ee4b803cb47bf03ba0 --- /dev/null +++ b/shared/package-files/45/45b1e5eefbcef697234ff90abdc0a6701c908f7f67e0f9957aae79c03e42d788/V_D_M_X_.py @@ -0,0 +1,249 @@ +from . import DefaultTable +from fontTools.misc import sstruct +from fontTools.misc.textTools import safeEval +import struct + +VDMX_HeaderFmt = """ + > # big endian + version: H # Version number (0 or 1) + numRecs: H # Number of VDMX groups present + numRatios: H # Number of aspect ratio groupings +""" +# the VMDX header is followed by an array of RatRange[numRatios] (i.e. aspect +# ratio ranges); +VDMX_RatRangeFmt = """ + > # big endian + bCharSet: B # Character set + xRatio: B # Value to use for x-Ratio + yStartRatio: B # Starting y-Ratio value + yEndRatio: B # Ending y-Ratio value +""" +# followed by an array of offset[numRatios] from start of VDMX table to the +# VDMX Group for this ratio range (offsets will be re-calculated on compile); +# followed by an array of Group[numRecs] records; +VDMX_GroupFmt = """ + > # big endian + recs: H # Number of height records in this group + startsz: B # Starting yPelHeight + endsz: B # Ending yPelHeight +""" +# followed by an array of vTable[recs] records. +VDMX_vTableFmt = """ + > # big endian + yPelHeight: H # yPelHeight to which values apply + yMax: h # Maximum value (in pels) for this yPelHeight + yMin: h # Minimum value (in pels) for this yPelHeight +""" + + +class table_V_D_M_X_(DefaultTable.DefaultTable): + """Vertical Device Metrics table + + The ``VDMX`` table records changes to the vertical glyph minima + and maxima that result from Truetype instructions. + + See also https://learn.microsoft.com/en-us/typography/opentype/spec/vdmx + """ + + def decompile(self, data, ttFont): + pos = 0 # track current position from to start of VDMX table + dummy, data = sstruct.unpack2(VDMX_HeaderFmt, data, self) + pos += sstruct.calcsize(VDMX_HeaderFmt) + self.ratRanges = [] + for i in range(self.numRatios): + ratio, data = sstruct.unpack2(VDMX_RatRangeFmt, data) + pos += sstruct.calcsize(VDMX_RatRangeFmt) + # the mapping between a ratio and a group is defined further below + ratio["groupIndex"] = None + self.ratRanges.append(ratio) + lenOffset = struct.calcsize(">H") + _offsets = [] # temporarily store offsets to groups + for i in range(self.numRatios): + offset = struct.unpack(">H", data[0:lenOffset])[0] + data = data[lenOffset:] + pos += lenOffset + _offsets.append(offset) + self.groups = [] + for groupIndex in range(self.numRecs): + # the offset to this group from beginning of the VDMX table + currOffset = pos + group, data = sstruct.unpack2(VDMX_GroupFmt, data) + # the group lenght and bounding sizes are re-calculated on compile + recs = group.pop("recs") + startsz = group.pop("startsz") + endsz = group.pop("endsz") + pos += sstruct.calcsize(VDMX_GroupFmt) + for j in range(recs): + vTable, data = sstruct.unpack2(VDMX_vTableFmt, data) + vTableLength = sstruct.calcsize(VDMX_vTableFmt) + pos += vTableLength + # group is a dict of (yMax, yMin) tuples keyed by yPelHeight + group[vTable["yPelHeight"]] = (vTable["yMax"], vTable["yMin"]) + # make sure startsz and endsz match the calculated values + minSize = min(group.keys()) + maxSize = max(group.keys()) + assert ( + startsz == minSize + ), "startsz (%s) must equal min yPelHeight (%s): group %d" % ( + group.startsz, + minSize, + groupIndex, + ) + assert ( + endsz == maxSize + ), "endsz (%s) must equal max yPelHeight (%s): group %d" % ( + group.endsz, + maxSize, + groupIndex, + ) + self.groups.append(group) + # match the defined offsets with the current group's offset + for offsetIndex, offsetValue in enumerate(_offsets): + # when numRecs < numRatios there can more than one ratio range + # sharing the same VDMX group + if currOffset == offsetValue: + # map the group with the ratio range thas has the same + # index as the offset to that group (it took me a while..) + self.ratRanges[offsetIndex]["groupIndex"] = groupIndex + # check that all ratio ranges have a group + for i in range(self.numRatios): + ratio = self.ratRanges[i] + if ratio["groupIndex"] is None: + from fontTools import ttLib + + raise ttLib.TTLibError("no group defined for ratRange %d" % i) + + def _getOffsets(self): + """ + Calculate offsets to VDMX_Group records. + For each ratRange return a list of offset values from the beginning of + the VDMX table to a VDMX_Group. + """ + lenHeader = sstruct.calcsize(VDMX_HeaderFmt) + lenRatRange = sstruct.calcsize(VDMX_RatRangeFmt) + lenOffset = struct.calcsize(">H") + lenGroupHeader = sstruct.calcsize(VDMX_GroupFmt) + lenVTable = sstruct.calcsize(VDMX_vTableFmt) + # offset to the first group + pos = lenHeader + self.numRatios * lenRatRange + self.numRatios * lenOffset + groupOffsets = [] + for group in self.groups: + groupOffsets.append(pos) + lenGroup = lenGroupHeader + len(group) * lenVTable + pos += lenGroup # offset to next group + offsets = [] + for ratio in self.ratRanges: + groupIndex = ratio["groupIndex"] + offsets.append(groupOffsets[groupIndex]) + return offsets + + def compile(self, ttFont): + if not (self.version == 0 or self.version == 1): + from fontTools import ttLib + + raise ttLib.TTLibError( + "unknown format for VDMX table: version %s" % self.version + ) + data = sstruct.pack(VDMX_HeaderFmt, self) + for ratio in self.ratRanges: + data += sstruct.pack(VDMX_RatRangeFmt, ratio) + # recalculate offsets to VDMX groups + for offset in self._getOffsets(): + data += struct.pack(">H", offset) + for group in self.groups: + recs = len(group) + startsz = min(group.keys()) + endsz = max(group.keys()) + gHeader = {"recs": recs, "startsz": startsz, "endsz": endsz} + data += sstruct.pack(VDMX_GroupFmt, gHeader) + for yPelHeight, (yMax, yMin) in sorted(group.items()): + vTable = {"yPelHeight": yPelHeight, "yMax": yMax, "yMin": yMin} + data += sstruct.pack(VDMX_vTableFmt, vTable) + return data + + def toXML(self, writer, ttFont): + writer.simpletag("version", value=self.version) + writer.newline() + writer.begintag("ratRanges") + writer.newline() + for ratio in self.ratRanges: + groupIndex = ratio["groupIndex"] + writer.simpletag( + "ratRange", + bCharSet=ratio["bCharSet"], + xRatio=ratio["xRatio"], + yStartRatio=ratio["yStartRatio"], + yEndRatio=ratio["yEndRatio"], + groupIndex=groupIndex, + ) + writer.newline() + writer.endtag("ratRanges") + writer.newline() + writer.begintag("groups") + writer.newline() + for groupIndex in range(self.numRecs): + group = self.groups[groupIndex] + recs = len(group) + startsz = min(group.keys()) + endsz = max(group.keys()) + writer.begintag("group", index=groupIndex) + writer.newline() + writer.comment("recs=%d, startsz=%d, endsz=%d" % (recs, startsz, endsz)) + writer.newline() + for yPelHeight, (yMax, yMin) in sorted(group.items()): + writer.simpletag( + "record", + [("yPelHeight", yPelHeight), ("yMax", yMax), ("yMin", yMin)], + ) + writer.newline() + writer.endtag("group") + writer.newline() + writer.endtag("groups") + writer.newline() + + def fromXML(self, name, attrs, content, ttFont): + if name == "version": + self.version = safeEval(attrs["value"]) + elif name == "ratRanges": + if not hasattr(self, "ratRanges"): + self.ratRanges = [] + for element in content: + if not isinstance(element, tuple): + continue + name, attrs, content = element + if name == "ratRange": + if not hasattr(self, "numRatios"): + self.numRatios = 1 + else: + self.numRatios += 1 + ratio = { + "bCharSet": safeEval(attrs["bCharSet"]), + "xRatio": safeEval(attrs["xRatio"]), + "yStartRatio": safeEval(attrs["yStartRatio"]), + "yEndRatio": safeEval(attrs["yEndRatio"]), + "groupIndex": safeEval(attrs["groupIndex"]), + } + self.ratRanges.append(ratio) + elif name == "groups": + if not hasattr(self, "groups"): + self.groups = [] + for element in content: + if not isinstance(element, tuple): + continue + name, attrs, content = element + if name == "group": + if not hasattr(self, "numRecs"): + self.numRecs = 1 + else: + self.numRecs += 1 + group = {} + for element in content: + if not isinstance(element, tuple): + continue + name, attrs, content = element + if name == "record": + yPelHeight = safeEval(attrs["yPelHeight"]) + yMax = safeEval(attrs["yMax"]) + yMin = safeEval(attrs["yMin"]) + group[yPelHeight] = (yMax, yMin) + self.groups.append(group) diff --git a/shared/package-files/45/45ba92000718abf85f158563c755205e100356ce1b4ab9444b4d0a3d21f061a3/uu_codec.py b/shared/package-files/45/45ba92000718abf85f158563c755205e100356ce1b4ab9444b4d0a3d21f061a3/uu_codec.py new file mode 100644 index 0000000000000000000000000000000000000000..4e58c62fe9ef0f37576e8c10b19bf5abc454239c --- /dev/null +++ b/shared/package-files/45/45ba92000718abf85f158563c755205e100356ce1b4ab9444b4d0a3d21f061a3/uu_codec.py @@ -0,0 +1,103 @@ +"""Python 'uu_codec' Codec - UU content transfer encoding. + +This codec de/encodes from bytes to bytes. + +Written by Marc-Andre Lemburg (mal@lemburg.com). Some details were +adapted from uu.py which was written by Lance Ellinghouse and +modified by Jack Jansen and Fredrik Lundh. +""" + +import codecs +import binascii +from io import BytesIO + +### Codec APIs + +def uu_encode(input, errors='strict', filename='', mode=0o666): + assert errors == 'strict' + infile = BytesIO(input) + outfile = BytesIO() + read = infile.read + write = outfile.write + + # Remove newline chars from filename + filename = filename.replace('\n','\\n') + filename = filename.replace('\r','\\r') + + # Encode + write(('begin %o %s\n' % (mode & 0o777, filename)).encode('ascii')) + chunk = read(45) + while chunk: + write(binascii.b2a_uu(chunk)) + chunk = read(45) + write(b' \nend\n') + + return (outfile.getvalue(), len(input)) + +def uu_decode(input, errors='strict'): + assert errors == 'strict' + infile = BytesIO(input) + outfile = BytesIO() + readline = infile.readline + write = outfile.write + + # Find start of encoded data + while 1: + s = readline() + if not s: + raise ValueError('Missing "begin" line in input data') + if s[:5] == b'begin': + break + + # Decode + while True: + s = readline() + if not s or s == b'end\n': + break + try: + data = binascii.a2b_uu(s) + except binascii.Error as v: + # Workaround for broken uuencoders by /Fredrik Lundh + nbytes = (((s[0]-32) & 63) * 4 + 5) // 3 + data = binascii.a2b_uu(s[:nbytes]) + #sys.stderr.write("Warning: %s\n" % str(v)) + write(data) + if not s: + raise ValueError('Truncated input data') + + return (outfile.getvalue(), len(input)) + +class Codec(codecs.Codec): + def encode(self, input, errors='strict'): + return uu_encode(input, errors) + + def decode(self, input, errors='strict'): + return uu_decode(input, errors) + +class IncrementalEncoder(codecs.IncrementalEncoder): + def encode(self, input, final=False): + return uu_encode(input, self.errors)[0] + +class IncrementalDecoder(codecs.IncrementalDecoder): + def decode(self, input, final=False): + return uu_decode(input, self.errors)[0] + +class StreamWriter(Codec, codecs.StreamWriter): + charbuffertype = bytes + +class StreamReader(Codec, codecs.StreamReader): + charbuffertype = bytes + +### encodings module API + +def getregentry(): + return codecs.CodecInfo( + name='uu', + encode=uu_encode, + decode=uu_decode, + incrementalencoder=IncrementalEncoder, + incrementaldecoder=IncrementalDecoder, + streamreader=StreamReader, + streamwriter=StreamWriter, + _is_text_encoding=False, + ) diff --git a/shared/package-files/45/45bc33b600415659df73df8cf8860aa27c9b2134abf1676a590ab0969da3dd5f/equality.py b/shared/package-files/45/45bc33b600415659df73df8cf8860aa27c9b2134abf1676a590ab0969da3dd5f/equality.py new file mode 100644 index 0000000000000000000000000000000000000000..e7857632997b84aa3ec6e127ee75caf2c85bf22d --- /dev/null +++ b/shared/package-files/45/45bc33b600415659df73df8cf8860aa27c9b2134abf1676a590ab0969da3dd5f/equality.py @@ -0,0 +1,302 @@ +""" +Module for mathematical equality [1] and inequalities [2]. + +The purpose of this module is to provide the instances which represent the +binary predicates in order to combine the relationals into logical inference +system. Objects such as ``Q.eq``, ``Q.lt`` should remain internal to +assumptions module, and user must use the classes such as :obj:`~.Eq()`, +:obj:`~.Lt()` instead to construct the relational expressions. + +References +========== + +.. [1] https://en.wikipedia.org/wiki/Equality_(mathematics) +.. [2] https://en.wikipedia.org/wiki/Inequality_(mathematics) +""" +from sympy.assumptions import Q +from sympy.core.relational import is_eq, is_neq, is_gt, is_ge, is_lt, is_le + +from .binrel import BinaryRelation + +__all__ = ['EqualityPredicate', 'UnequalityPredicate', 'StrictGreaterThanPredicate', + 'GreaterThanPredicate', 'StrictLessThanPredicate', 'LessThanPredicate'] + + +class EqualityPredicate(BinaryRelation): + """ + Binary predicate for $=$. + + The purpose of this class is to provide the instance which represent + the equality predicate in order to allow the logical inference. + This class must remain internal to assumptions module and user must + use :obj:`~.Eq()` instead to construct the equality expression. + + Evaluating this predicate to ``True`` or ``False`` is done by + :func:`~.core.relational.is_eq()` + + Examples + ======== + + >>> from sympy import ask, Q + >>> Q.eq(0, 0) + Q.eq(0, 0) + >>> ask(_) + True + + See Also + ======== + + sympy.core.relational.Eq + + """ + is_reflexive = True + is_symmetric = True + + name = 'eq' + handler = None # Do not allow dispatching by this predicate + + @property + def negated(self): + return Q.ne + + def eval(self, args, assumptions=True): + if assumptions == True: + # default assumptions for is_eq is None + assumptions = None + return is_eq(*args, assumptions) + + +class UnequalityPredicate(BinaryRelation): + r""" + Binary predicate for $\neq$. + + The purpose of this class is to provide the instance which represent + the inequation predicate in order to allow the logical inference. + This class must remain internal to assumptions module and user must + use :obj:`~.Ne()` instead to construct the inequation expression. + + Evaluating this predicate to ``True`` or ``False`` is done by + :func:`~.core.relational.is_neq()` + + Examples + ======== + + >>> from sympy import ask, Q + >>> Q.ne(0, 0) + Q.ne(0, 0) + >>> ask(_) + False + + See Also + ======== + + sympy.core.relational.Ne + + """ + is_reflexive = False + is_symmetric = True + + name = 'ne' + handler = None + + @property + def negated(self): + return Q.eq + + def eval(self, args, assumptions=True): + if assumptions == True: + # default assumptions for is_neq is None + assumptions = None + return is_neq(*args, assumptions) + + +class StrictGreaterThanPredicate(BinaryRelation): + """ + Binary predicate for $>$. + + The purpose of this class is to provide the instance which represent + the ">" predicate in order to allow the logical inference. + This class must remain internal to assumptions module and user must + use :obj:`~.Gt()` instead to construct the equality expression. + + Evaluating this predicate to ``True`` or ``False`` is done by + :func:`~.core.relational.is_gt()` + + Examples + ======== + + >>> from sympy import ask, Q + >>> Q.gt(0, 0) + Q.gt(0, 0) + >>> ask(_) + False + + See Also + ======== + + sympy.core.relational.Gt + + """ + is_reflexive = False + is_symmetric = False + + name = 'gt' + handler = None + + @property + def reversed(self): + return Q.lt + + @property + def negated(self): + return Q.le + + def eval(self, args, assumptions=True): + if assumptions == True: + # default assumptions for is_gt is None + assumptions = None + return is_gt(*args, assumptions) + + +class GreaterThanPredicate(BinaryRelation): + """ + Binary predicate for $>=$. + + The purpose of this class is to provide the instance which represent + the ">=" predicate in order to allow the logical inference. + This class must remain internal to assumptions module and user must + use :obj:`~.Ge()` instead to construct the equality expression. + + Evaluating this predicate to ``True`` or ``False`` is done by + :func:`~.core.relational.is_ge()` + + Examples + ======== + + >>> from sympy import ask, Q + >>> Q.ge(0, 0) + Q.ge(0, 0) + >>> ask(_) + True + + See Also + ======== + + sympy.core.relational.Ge + + """ + is_reflexive = True + is_symmetric = False + + name = 'ge' + handler = None + + @property + def reversed(self): + return Q.le + + @property + def negated(self): + return Q.lt + + def eval(self, args, assumptions=True): + if assumptions == True: + # default assumptions for is_ge is None + assumptions = None + return is_ge(*args, assumptions) + + +class StrictLessThanPredicate(BinaryRelation): + """ + Binary predicate for $<$. + + The purpose of this class is to provide the instance which represent + the "<" predicate in order to allow the logical inference. + This class must remain internal to assumptions module and user must + use :obj:`~.Lt()` instead to construct the equality expression. + + Evaluating this predicate to ``True`` or ``False`` is done by + :func:`~.core.relational.is_lt()` + + Examples + ======== + + >>> from sympy import ask, Q + >>> Q.lt(0, 0) + Q.lt(0, 0) + >>> ask(_) + False + + See Also + ======== + + sympy.core.relational.Lt + + """ + is_reflexive = False + is_symmetric = False + + name = 'lt' + handler = None + + @property + def reversed(self): + return Q.gt + + @property + def negated(self): + return Q.ge + + def eval(self, args, assumptions=True): + if assumptions == True: + # default assumptions for is_lt is None + assumptions = None + return is_lt(*args, assumptions) + + +class LessThanPredicate(BinaryRelation): + """ + Binary predicate for $<=$. + + The purpose of this class is to provide the instance which represent + the "<=" predicate in order to allow the logical inference. + This class must remain internal to assumptions module and user must + use :obj:`~.Le()` instead to construct the equality expression. + + Evaluating this predicate to ``True`` or ``False`` is done by + :func:`~.core.relational.is_le()` + + Examples + ======== + + >>> from sympy import ask, Q + >>> Q.le(0, 0) + Q.le(0, 0) + >>> ask(_) + True + + See Also + ======== + + sympy.core.relational.Le + + """ + is_reflexive = True + is_symmetric = False + + name = 'le' + handler = None + + @property + def reversed(self): + return Q.ge + + @property + def negated(self): + return Q.gt + + def eval(self, args, assumptions=True): + if assumptions == True: + # default assumptions for is_le is None + assumptions = None + return is_le(*args, assumptions) diff --git a/shared/package-files/45/45bc5c2095188def8a46a1796359195627592b21db456b85712050e483e7c7fa/is_conj.h b/shared/package-files/45/45bc5c2095188def8a46a1796359195627592b21db456b85712050e483e7c7fa/is_conj.h new file mode 100644 index 0000000000000000000000000000000000000000..6f83778e2abc8151a9d65a2eb18a1a56986c44cd --- /dev/null +++ b/shared/package-files/45/45bc5c2095188def8a46a1796359195627592b21db456b85712050e483e7c7fa/is_conj.h @@ -0,0 +1,30 @@ +#pragma once + +// @generated by torchgen/gen.py from Function.h + +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include + + + +#include + +namespace at { + + +// aten::is_conj(Tensor self) -> bool +inline bool __dispatch_is_conj(const at::Tensor & self) { + return at::_ops::is_conj::call(self); +} + +} diff --git a/shared/package-files/45/45bd77436f32a0b8748f5829c79494d239517ac35cb76d5e40246c9da3bdc4a0/check.py b/shared/package-files/45/45bd77436f32a0b8748f5829c79494d239517ac35cb76d5e40246c9da3bdc4a0/check.py new file mode 100644 index 0000000000000000000000000000000000000000..5efd0a3416041e3afdf32a2d346db01d99e8f7d9 --- /dev/null +++ b/shared/package-files/45/45bd77436f32a0b8748f5829c79494d239517ac35cb76d5e40246c9da3bdc4a0/check.py @@ -0,0 +1,54 @@ +import logging +from optparse import Values +from typing import List + +from pip._internal.cli.base_command import Command +from pip._internal.cli.status_codes import ERROR, SUCCESS +from pip._internal.operations.check import ( + check_package_set, + create_package_set_from_installed, + warn_legacy_versions_and_specifiers, +) +from pip._internal.utils.misc import write_output + +logger = logging.getLogger(__name__) + + +class CheckCommand(Command): + """Verify installed packages have compatible dependencies.""" + + usage = """ + %prog [options]""" + + def run(self, options: Values, args: List[str]) -> int: + package_set, parsing_probs = create_package_set_from_installed() + warn_legacy_versions_and_specifiers(package_set) + missing, conflicting = check_package_set(package_set) + + for project_name in missing: + version = package_set[project_name].version + for dependency in missing[project_name]: + write_output( + "%s %s requires %s, which is not installed.", + project_name, + version, + dependency[0], + ) + + for project_name in conflicting: + version = package_set[project_name].version + for dep_name, dep_version, req in conflicting[project_name]: + write_output( + "%s %s has requirement %s, but you have %s %s.", + project_name, + version, + req, + dep_name, + dep_version, + ) + + if missing or conflicting or parsing_probs: + return ERROR + else: + write_output("No broken requirements found.") + return SUCCESS diff --git a/shared/package-files/45/45c2b10858736f0afb4eb66c5fa0d91a326411a373a199f5f56f6f0a4b46e3ea/gdb_print_extension.py b/shared/package-files/45/45c2b10858736f0afb4eb66c5fa0d91a326411a373a199f5f56f6f0a4b46e3ea/gdb_print_extension.py new file mode 100644 index 0000000000000000000000000000000000000000..982aacf26e55eb76b852e1fe4ce5ea95a432c45c --- /dev/null +++ b/shared/package-files/45/45c2b10858736f0afb4eb66c5fa0d91a326411a373a199f5f56f6f0a4b46e3ea/gdb_print_extension.py @@ -0,0 +1,204 @@ +"""gdb printing extension for Numba types. +""" +import re + +try: + import gdb.printing + import gdb +except ImportError: + raise ImportError("GDB python support is not available.") + + +class NumbaArrayPrinter: + + def __init__(self, val): + self.val = val + + def to_string(self): + try: + import numpy as np + HAVE_NUMPY = True + except ImportError: + HAVE_NUMPY = False + + try: + NULL = 0x0 + + # Raw data references, these need unpacking/interpreting. + + # Member "data" is... + # DW_TAG_member of DIDerivedType, tag of DW_TAG_pointer_type + # encoding e.g. DW_ATE_float + data = self.val["data"] + + # Member "itemsize" is... + # DW_TAG_member of DIBasicType encoding DW_ATE_signed + itemsize = self.val["itemsize"] + + # Members "shape" and "strides" are... + # DW_TAG_member of DIDerivedType, the type is a DICompositeType + # (it's a Numba UniTuple) with tag: DW_TAG_array_type, i.e. it's an + # array repr, it has a basetype of e.g. DW_ATE_unsigned and also + # "elements" which are referenced with a DISubrange(count: ) + # to say how many elements are in the array. + rshp = self.val["shape"] + rstrides = self.val["strides"] + + # bool on whether the data is aligned. + is_aligned = False + + # type information decode, simple type: + ty_str = str(self.val.type) + if HAVE_NUMPY and ('aligned' in ty_str or 'Record' in ty_str): + ty_str = ty_str.replace('unaligned ','').strip() + matcher = re.compile(r"array\((Record.*), (.*), (.*)\)\ \(.*") + # NOTE: need to deal with "Alignment" else dtype size is wrong + arr_info = [x.strip() for x in matcher.match(ty_str).groups()] + dtype_str, ndim_str, order_str = arr_info + rstr = r'Record\((.*\[.*\]);([0-9]+);(True|False)' + rstr_match = re.match(rstr, dtype_str) + # balign is unused, it's the alignment + fields, balign, is_aligned_str = rstr_match.groups() + is_aligned = is_aligned_str == 'True' + field_dts = fields.split(',') + struct_entries = [] + for f in field_dts: + splitted = f.split('[') + name = splitted[0] + dt_part = splitted[1:] + if len(dt_part) > 1: + raise TypeError('Unsupported sub-type: %s' % f) + else: + dt_part = dt_part[0] + if "nestedarray" in dt_part: + raise TypeError('Unsupported sub-type: %s' % f) + dt_as_str = dt_part.split(';')[0].split('=')[1] + dtype = np.dtype(dt_as_str) + struct_entries.append((name, dtype)) + # The dtype is actually a record of some sort + dtype_str = struct_entries + else: # simple type + matcher = re.compile(r"array\((.*),(.*),(.*)\)\ \(.*") + arr_info = [x.strip() for x in matcher.match(ty_str).groups()] + dtype_str, ndim_str, order_str = arr_info + # fix up unichr dtype + if 'unichr x ' in dtype_str: + dtype_str = dtype_str[1:-1].replace('unichr x ', ' None: + """ + This function checks if a tree instance has an experimental integration with shap TreeExplainer class. + + To add experimental message support for your library add package name and its versions + verified to be used with shap to the 'experimental' dictionary below. + + Parameters + ---------- + tree_instance: object, tree instance from an external library + """ + experimental = { + "causalml": "0.15.3", + } + + safe_instance = None + if hasattr(tree_instance, "__class__"): + if hasattr(tree_instance.__class__, "__module__"): + safe_instance = tree_instance + + if safe_instance: + library = safe_instance.__class__.__module__.split(".")[0] + if experimental.get(library): + warnings.warn( + f"You are using experimental integration with {library}. " + f"The {library} support is verified for the following versions: {experimental.get(library)}. " + f"As experimental functionality, this integration may be removed or significantly changed in future releases without following semantic versioning. Use in production systems at your own risk.", + ExperimentalWarning, + ) + else: + warnings.warn( + f"Unable to check experimental integration status for {tree_instance} object", ExperimentalWarning + ) + + +def _check_xgboost_version(v: str): + if version.parse(v) < version.parse("1.6"): # pragma: no cover + raise RuntimeError(f"SHAP requires XGBoost >= v1.6 , but found version {v}. Please upgrade XGBoost.") + + +def _xgboost_n_iterations(tree_limit: int, num_stacked_models: int) -> int: + """Convert number of trees to number of iterations for XGBoost models.""" + if tree_limit == -1: + tree_limit = 0 + n_iterations = tree_limit // num_stacked_models + return n_iterations + + +def _xgboost_cat_unsupported(model): + if model.model_type == "xgboost" and model.cat_feature_indices is not None: + raise NotImplementedError( + "Categorical split is not yet supported. You can still use" + " TreeExplainer with `feature_perturbation=tree_path_dependent`." + ) + + +class TreeExplainer(Explainer): + """Uses Tree SHAP algorithms to explain the output of ensemble tree models. + + Tree SHAP is a fast and exact method to estimate SHAP values for tree models + and ensembles of trees, under several different possible assumptions about + feature dependence. It depends on fast C++ implementations either inside an + external model package or in the local compiled C extension. + + Examples + -------- + See `Tree explainer examples `_ + + """ + + def __init__( + self, + model, + data=None, + model_output="raw", + feature_perturbation="auto", + feature_names=None, + approximate=DEPRECATED_APPROX, + # FIXME: The `link` and `linearize_link` arguments are ignored. GH #3513 + link=None, + linearize_link=None, + ): + """Build a new Tree explainer for the passed model. + + Parameters + ---------- + model : model object + The tree based machine learning model that we want to explain. + XGBoost, LightGBM, CatBoost, Pyspark and most tree-based + scikit-learn models are supported. + + data : numpy.array or pandas.DataFrame + The background dataset to use for integrating out features. + + This argument is optional when + ``feature_perturbation="tree_path_dependent"``, since in that case + we can use the number of training samples that went down each tree + path as our background dataset (this is recorded in the ``model`` + object). + + feature_perturbation : "auto" (default), "interventional" or "tree_path_dependent" + Since SHAP values rely on conditional expectations, we need to + decide how to handle correlated (or otherwise dependent) input + features. + + - if ``"interventional"``, a background dataset ``data`` is required. The + dependencies between features are handled according to the rules dictated + by causal inference [1]_. The runtime scales linearly with the size of the + background dataset you use: anywhere from 100 to 1000 random background + samples are good sizes to use. + - if ``"tree_path_dependent"``, no background dataset is required and the + approach is to just follow the trees and use the number of training + examples that went down each leaf to represent the background + distribution. + - if ``"auto"``, the "interventional" approach will be used when a + background is provided, otherwise the "tree_path_dependent" approach will + be used. + + .. versionadded:: 0.47 + The `"auto"` option was added. + + .. versionchanged:: 0.47 + The default behaviour will change from `"interventional"` to `"auto"` in 0.47. + In the future, passing `feature_pertubation="interventional"` without providing + a background dataset will raise an error. + + + model_output : "raw", "probability", "log_loss", or model method name + What output of the model should be explained. + + * If "raw", then we explain the raw output of the trees, which + varies by model. For regression models, "raw" is the standard + output. For binary classification in XGBoost, this is the log odds + ratio. + * If "probability", then we explain the output of the model + transformed into probability space (note that this means the SHAP + values now sum to the probability output of the model). + * If "log_loss", then we explain the natural logarithm of the model + loss function, so that the SHAP values sum up to the log loss of + the model for each sample. This is helpful for breaking down model + performance by feature. + * If ``model_output`` is the name of a supported prediction method + on the ``model`` object, then we explain the output of that model + method name. For example, ``model_output="predict_proba"`` + explains the result of calling ``model.predict_proba``. + + Currently the "probability" and "log_loss" options are only + supported when ``feature_perturbation="interventional"``. + + approximate : bool + Deprecated, will be deprecated in v0.47.0 and removed in version v0.49.0. + Please use the ``approximate`` argument in the :meth:`.shap_values` or ``__call__`` methods instead. + + References + ---------- + .. [1] Janzing, Dominik, Lenon Minorics, and Patrick Blöbaum. + "Feature relevance quantification in explainable AI: A causal problem." + International Conference on artificial intelligence and statistics. PMLR, 2020. + + """ + if approximate is not DEPRECATED_APPROX: + warnings.warn( + "The approximate argument has been deprecated in version v0.47.0 and will be removed in version v0.48.0. " + "Please use the approximate argument in the shap_values or the __call__ method instead.", + DeprecationWarning, + ) + if feature_names is not None: + self.data_feature_names = feature_names + elif isinstance(data, pd.DataFrame): + self.data_feature_names = list(data.columns) + + masker = data + super().__init__(model, masker, feature_names=feature_names) + + if type(self.masker) is maskers.Independent: + data = self.masker.data + elif masker is not None: + raise InvalidMaskerError(f"Unsupported masker type: {str(type(self.masker))}!") + + if getattr(self.masker, "clustering", None) is not None: + raise ExplainerError( + "TreeExplainer does not support clustered data inputs! Please use shap.Explainer or pass an unclustered masker!" + ) + + if isinstance(data, pd.DataFrame): + self.data = data.values + elif isinstance(data, DenseData): + self.data = data.data + else: + self.data = data + + if feature_perturbation == "auto": + feature_perturbation = "interventional" if self.data is not None else "tree_path_dependent" + elif feature_perturbation == "interventional": + if self.data is None: + # TODO: raise an error in 0.48 + warnings.warn( + "In the future, passing feature_perturbation='interventional' without providing a background dataset " + "will raise an error. Please provide a background dataset to continue using the interventional " + "approach or set feature_perturbation='auto' to automatically switch approaches.", + FutureWarning, + ) + feature_perturbation = "tree_path_dependent" + elif feature_perturbation != "tree_path_dependent": + raise InvalidFeaturePerturbationError( + "feature_perturbation must be 'auto', 'interventional', or 'tree_path_dependent'. " + f"Got {feature_perturbation} instead." + ) + + elif feature_perturbation == "interventional" and self.data.shape[0] > 1_000: + wmsg = ( + f"Passing {self.data.shape[0]} background samples may lead to slow runtimes. Consider " + "using shap.sample(data, 100) to create a smaller background data set." + ) + warnings.warn(wmsg) + + _safe_check_tree_instance_experimental(model) + + self.data_missing = None if self.data is None else pd.isna(self.data) + self.feature_perturbation = feature_perturbation + self.expected_value = None + self.model = TreeEnsemble(model, self.data, self.data_missing, model_output) + self.model_output = model_output + # self.model_output = self.model.model_output # this allows the TreeEnsemble to translate model outputs types by how it loads the model + + # check for unsupported combinations of feature_perturbation and model_outputs + if feature_perturbation == "tree_path_dependent": + if self.model.model_output != "raw": + raise ValueError('Only model_output="raw" is supported for feature_perturbation="tree_path_dependent"') + elif data is None: + raise ValueError( + 'A background dataset must be provided unless you are using feature_perturbation="tree_path_dependent"!' + ) + + if self.model.model_output != "raw": + if self.model.objective is None and self.model.tree_output is None: + emsg = ( + "Model does not have a known objective or output type! When model_output is " + 'not "raw" then we need to know the model\'s objective or link function.' + ) + raise Exception(emsg) + + # A change in the signature of `xgboost.Booster.predict()` method has been introduced in XGBoost v1.4: + # The introduced `iteration_range` parameter is used when obtaining SHAP (incl. interaction) values from XGBoost models. + if self.model.model_type == "xgboost": + import xgboost + + _check_xgboost_version(xgboost.__version__) + + # compute the expected value if we have a parsed tree for the cext + if self.model.model_output == "log_loss": + self.expected_value = self.__dynamic_expected_value + elif data is not None: + try: + self.expected_value = self.model.predict(self.data).mean(0) + except ValueError: + raise ExplainerError( + "Currently TreeExplainer can only handle models with categorical splits when " + 'feature_perturbation="tree_path_dependent" and no background data is passed. Please try again using ' + 'shap.TreeExplainer(model, feature_perturbation="tree_path_dependent").' + ) + if hasattr(self.expected_value, "__len__") and len(self.expected_value) == 1: + self.expected_value = self.expected_value[0] + elif hasattr(self.model, "node_sample_weight"): + self.expected_value = self.model.values[:, 0].sum(0) + if self.expected_value.size == 1: + self.expected_value = self.expected_value[0] + self.expected_value += self.model.base_offset + if self.model.model_output != "raw": + self.expected_value = None # we don't handle transforms in this case right now... + + # if our output format requires binary classification to be represented as two outputs then we do that here + if self.model.model_output == "probability_doubled" and self.expected_value is not None: + self.expected_value = [1 - self.expected_value, self.expected_value] + + def __dynamic_expected_value(self, y): + """This computes the expected value conditioned on the given label value.""" + return self.model.predict(self.data, np.ones(self.data.shape[0]) * y).mean(0) + + def __call__( # type: ignore + self, + X: Any, + y: np.ndarray | pd.Series | None = None, + interactions: bool = False, + check_additivity: bool = True, + approximate: bool = False, + ) -> Explanation: + """Calculate the SHAP values for the model applied to the data. + + Parameters + ---------- + X : Any + Can be a dataframe like object e.g. numpy.array, pandas.DataFrame or catboost.Pool (for catboost). + A matrix of samples (# samples x # features) on which to explain the model's output. + + y : numpy.array, optional + An array of label values for each sample. Used when explaining loss functions. + + approximate : bool + Run fast, but only roughly approximate the Tree SHAP values. This runs a method + previously proposed by Saabas which only considers a single feature ordering. Take care + since this does not have the consistency guarantees of Shapley values and places too + much weight on lower splits in the tree. + + interactions: bool + Whether to compute the SHAP interaction values. + + check_additivity: bool + Check if the sum of the SHAP values equals the output of the model. + + Returns + ------- + shap.Explanation object containing the given data and the SHAP values. + """ + start_time = time.time() + + feature_names: Any + if isinstance(X, pd.DataFrame): + feature_names = list(X.columns) + else: + feature_names = getattr(self, "data_feature_names", None) + + if not interactions: + v = self.shap_values(X, y=y, from_call=True, check_additivity=check_additivity, approximate=approximate) + if isinstance(v, list): + v = np.stack(v, axis=-1) # put outputs at the end + else: + if approximate: + raise NotImplementedError("Approximate computation not yet supported for interaction effects!") + v = self.shap_interaction_values(X) + + # the Explanation object expects an `expected_value` for each row + if hasattr(self.expected_value, "__len__") and len(self.expected_value) > 1: + # `expected_value` is a list / array of numbers, length k, e.g. for multi-output scenarios + # we repeat it N times along the first axis, so ev_tiled.shape == (N, k) + if isinstance(v, list): + num_rows = v[0].shape[0] + else: + num_rows = v.shape[0] + ev_tiled = np.tile(self.expected_value, (num_rows, 1)) + else: + # `expected_value` is a scalar / array of 1 number, so we simply repeat it for every row in `v` + # ev_tiled.shape == (N,) + ev_tiled = np.tile(self.expected_value, v.shape[0]) + + X_data: np.ndarray | None | scipy.sparse.csr_matrix + # cf. GH dsgibbons#66, this conversion to numpy array should be done AFTER + # calculation of shap values + if isinstance(X, pd.DataFrame): + X_data = X.values + elif safe_isinstance(X, "xgboost.core.DMatrix"): + import xgboost + + if version.parse(xgboost.__version__) < version.parse("1.7.0"): # pragma: no cover + # cf. GH #3357 + wmsg = ( + "`shap.Explanation` does not support `xgboost.DMatrix` objects for xgboost < 1.7, " + "so the `data` attribute of the `Explanation` object will be set to None. If " + "you require the `data` attribute (e.g. using `shap.plots`), then either " + "update your xgboost to >=1.7.0 or explicitly set `Explanation.data = X`, where " + "`X` is a numpy or scipy array." + ) + warnings.warn(wmsg) + X_data = None + else: + X_data = X.get_data() + else: + X_data = X + + return Explanation( + v, + base_values=ev_tiled, + data=X_data, + feature_names=feature_names, + compute_time=time.time() - start_time, + ) + + def _validate_inputs(self, X, y, tree_limit, check_additivity): + # see if we have a default tree_limit in place. + if tree_limit is None: + tree_limit = -1 if self.model.tree_limit is None else self.model.tree_limit + + if tree_limit < 0 or tree_limit > self.model.values.shape[0]: + tree_limit = self.model.values.shape[0] + # convert dataframes + if isinstance(X, (pd.Series, pd.DataFrame)): + X = X.values + flat_output = False + if len(X.shape) == 1: + flat_output = True + X = X.reshape(1, X.shape[0]) + if X.dtype != self.model.input_dtype: + X = X.astype(self.model.input_dtype) + X_missing = np.isnan(X, dtype=bool) + assert isinstance(X, np.ndarray), "Unknown instance type: " + str(type(X)) + assert len(X.shape) == 2, "Passed input data matrix X must have 1 or 2 dimensions!" + + if self.model.model_output == "log_loss": + if y is None: + emsg = ( + 'Both samples and labels must be provided when model_output = "log_loss" ' + "(i.e. `explainer.shap_values(X, y)`)!" + ) + raise ExplainerError(emsg) + if X.shape[0] != len(y): + emsg = ( + f"The number of labels ({len(y)}) does not match the number of samples to explain ({X.shape[0]})!" + ) + raise DimensionError(emsg) + + if self.feature_perturbation == "tree_path_dependent": + if not self.model.fully_defined_weighting: + emsg = ( + "The background dataset you provided does " + "not cover all the leaves in the model, " + "so TreeExplainer cannot run with the " + 'feature_perturbation="tree_path_dependent" option! ' + "Try providing a larger background " + "dataset, no background dataset, or using " + 'feature_perturbation="interventional".' + ) + raise ExplainerError(emsg) + + if check_additivity and self.model.model_type == "pyspark": + warnings.warn( + "check_additivity requires us to run predictions which is not supported with " + "spark, " + "ignoring." + " Set check_additivity=False to remove this warning" + ) + check_additivity = False + + return X, y, X_missing, flat_output, tree_limit, check_additivity + + def shap_values( + self, + X: Any, + y: np.ndarray | pd.Series | None = None, + tree_limit: int | None = None, + approximate: bool = False, + check_additivity: bool = True, + from_call: bool = False, + ): + """Estimate the SHAP values for a set of samples. + + Parameters + ---------- + X : Any + Can be a dataframe like object, e.g. numpy.array, pandas.DataFrame or catboost.Pool (for catboost). + A matrix of samples (# samples x # features) on which to explain the model's output. + + y : numpy.array + An array of label values for each sample. Used when explaining loss functions. + + tree_limit : None (default) or int + Limit the number of trees used by the model. By default, the limit of the original model + is used (``None``). ``-1`` means no limit. + + approximate : bool + Run fast, but only roughly approximate the Tree SHAP values. This runs a method + previously proposed by Saabas which only considers a single feature ordering. Take care + since this does not have the consistency guarantees of Shapley values and places too + much weight on lower splits in the tree. + + check_additivity : bool + Run a validation check that the sum of the SHAP values equals the output of the model. This + check takes only a small amount of time, and will catch potential unforeseen errors. + Note that this check only runs right now when explaining the margin of the model. + + Returns + ------- + np.array + Estimated SHAP values, usually of shape ``(# samples x # features)``. + + Each row sums to the difference between the model output for that + sample and the expected value of the model output (which is stored + as the ``expected_value`` attribute of the explainer). + + The shape of the returned array depends on the number of model outputs: + + * one output: array of shape ``(#num_samples, *X.shape[1:])``. + * multiple outputs: array of shape ``(#num_samples, *X.shape[1:], + #num_outputs)``. + + .. versionchanged:: 0.45.0 + Return type for models with multiple outputs changed from list to np.ndarray. + + """ + # see if we have a default tree_limit in place. + if tree_limit is None: + tree_limit = -1 if self.model.tree_limit is None else self.model.tree_limit + + # shortcut using the C++ version of Tree SHAP in XGBoost, LightGBM, and CatBoost + if ( + self.feature_perturbation == "tree_path_dependent" + and self.model.model_type != "internal" + and self.data is None + ): + model_output_vals = None + phi = None + if self.model.model_type == "xgboost": + import xgboost + + n_iterations = _xgboost_n_iterations(tree_limit, self.model.num_stacked_models) + if not isinstance(X, xgboost.core.DMatrix): + # Retrieve any DMatrix properties if they have been set on the TreeEnsemble Class + dmatrix_props = getattr(self.model, "_xgb_dmatrix_props", {}) + X = xgboost.DMatrix(X, **dmatrix_props) + phi = self.model.original_model.predict( + X, + iteration_range=(0, n_iterations), + pred_contribs=True, + approx_contribs=approximate, + validate_features=False, + ) + if check_additivity and self.model.model_output == "raw": + model_output_vals = self.model.original_model.predict( + X, iteration_range=(0, n_iterations), output_margin=True, validate_features=False + ) + + elif self.model.model_type == "lightgbm": + assert not approximate, "approximate=True is not supported for LightGBM models!" + phi = self.model.original_model.predict(X, num_iteration=tree_limit, pred_contrib=True) + # Note: the data must be joined on the last axis + if ( + "objective" in self.model.original_model.params + and self.model.original_model.params["objective"] == "binary" + ): + if not from_call: + warnings.warn( + "LightGBM binary classifier with TreeExplainer shap values output has changed to a list of ndarray" + ) + if phi.shape[1] != X.shape[1] + 1: + try: + phi = phi.reshape(X.shape[0], phi.shape[1] // (X.shape[1] + 1), X.shape[1] + 1) + except ValueError as e: + emsg = ( + "This reshape error is often caused by passing a bad data matrix to SHAP. " + "See https://github.com/shap/shap/issues/580." + ) + raise ValueError(emsg) from e + + elif self.model.model_type == "catboost": # thanks to the CatBoost team for implementing this... + assert not approximate, "approximate=True is not supported for CatBoost models!" + assert tree_limit == -1, "tree_limit is not yet supported for CatBoost models!" + import catboost + + if not isinstance(X, catboost.Pool): + X = catboost.Pool(X, cat_features=self.model.cat_feature_indices) + phi = self.model.original_model.get_feature_importance(data=X, fstr_type="ShapValues") + + # note we pull off the last column and keep it as our expected_value + if phi is not None: + if len(phi.shape) == 3: + self.expected_value = [phi[0, i, -1] for i in range(phi.shape[1])] + out = [phi[:, i, :-1] for i in range(phi.shape[1])] + else: + self.expected_value = phi[0, -1] + out = phi[:, :-1] + + if check_additivity and model_output_vals is not None: + self.assert_additivity(out, model_output_vals) + if isinstance(out, list): + out = np.stack(out, axis=-1) + return out + + X, y, X_missing, flat_output, tree_limit, check_additivity = self._validate_inputs( + X, y, tree_limit, check_additivity + ) + transform = self.model.get_transform() + _xgboost_cat_unsupported(self.model) + + # run the core algorithm using the C extension + assert_import("cext") + phi = np.zeros((X.shape[0], X.shape[1] + 1, self.model.num_outputs)) + + if not approximate: + _cext.dense_tree_shap( + self.model.children_left, + self.model.children_right, + self.model.children_default, + self.model.features, + self.model.thresholds, + self.model.threshold_types, + self.model.values, + self.model.node_sample_weight, + self.model.max_depth, + X, + X_missing, + y, + self.data, + self.data_missing, + tree_limit, + self.model.base_offset, + phi, + feature_perturbation_codes[self.feature_perturbation], + output_transform_codes[transform], + False, + ) + else: + _cext.dense_tree_saabas( + self.model.children_left, + self.model.children_right, + self.model.children_default, + self.model.features, + self.model.thresholds, + self.model.threshold_types, + self.model.values, + self.model.max_depth, + tree_limit, + self.model.base_offset, + output_transform_codes[transform], + X, + X_missing, + y, + phi, + ) + + out = self._get_shap_output(phi, flat_output) + if check_additivity and self.model.model_output == "raw": + self.assert_additivity(out, self.model.predict(X)) + + # This statements handles the case of multiple outputs + # e.g. a multi-class classification problem, multi-target regression problem + # in this case the output shape corresponds to [num_samples, num_features, num_outputs] + if isinstance(out, list): + out = np.stack(out, axis=-1) + return out + + def _get_shap_output(self, phi, flat_output): + """Pull off the last column of ``phi`` and keep it as our expected_value.""" + if self.model.num_outputs == 1: + if self.expected_value is None and self.model.model_output != "log_loss": + self.expected_value = phi[0, -1, 0] + if flat_output: + out = phi[0, :-1, 0] + else: + out = phi[:, :-1, 0] + else: + if self.expected_value is None and self.model.model_output != "log_loss": + self.expected_value = [phi[0, -1, i] for i in range(phi.shape[2])] + if flat_output: + out = [phi[0, :-1, i] for i in range(self.model.num_outputs)] + else: + out = [phi[:, :-1, i] for i in range(self.model.num_outputs)] + + # if our output format requires binary classification to be represented as two outputs then we do that here + if self.model.model_output == "probability_doubled": + out = [-out, out] + return out + + def shap_interaction_values(self, X, y=None, tree_limit=None): + """Estimate the SHAP interaction values for a set of samples. + + Parameters + ---------- + X : numpy.array, pandas.DataFrame or catboost.Pool (for catboost) + A matrix of samples (# samples x # features) on which to explain the model's output. + + y : numpy.array + An array of label values for each sample. Used when explaining loss functions (not yet supported). + + tree_limit : None (default) or int + Limit the number of trees used by the model. By default, the limit of the original model + is used (``None``). ``-1`` means no limit. + + Returns + ------- + np.array + Returns a matrix. The shape depends on the number of model outputs: + + * one output: matrix of shape (#num_samples, #features, #features). + * multiple outputs: matrix of shape (#num_samples, #features, #features, #num_outputs). + + The matrix (#num_samples, # features, # features) for each sample sums + to the difference between the model output for that sample and the expected value of the model output + (which is stored in the ``expected_value`` attribute of the explainer). Each row of this matrix sums to the + SHAP value for that feature for that sample. The diagonal entries of the matrix represent the + "main effect" of that feature on the prediction. The symmetric off-diagonal entries represent the + interaction effects between all pairs of features for that sample. + For models with vector outputs, this returns a list of tensors, one for each output. + + .. versionchanged:: 0.45.0 + Return type for models with multiple outputs changed from list to np.ndarray. + + """ + assert self.model.model_output == "raw", ( + 'Only model_output = "raw" is supported for SHAP interaction values right now!' + ) + # assert self.feature_perturbation == "tree_path_dependent", "Only feature_perturbation = \"tree_path_dependent\" is supported for SHAP interaction values right now!" + transform = "identity" + + # see if we have a default tree_limit in place. + if tree_limit is None: + tree_limit = -1 if self.model.tree_limit is None else self.model.tree_limit + + # shortcut using the C++ version of Tree SHAP in XGBoost + if self.model.model_type == "xgboost" and self.feature_perturbation == "tree_path_dependent": + import xgboost + + if not isinstance(X, xgboost.core.DMatrix): + X = xgboost.DMatrix(X) + + n_iterations = _xgboost_n_iterations(tree_limit, self.model.num_stacked_models) + phi = self.model.original_model.predict( + X, iteration_range=(0, n_iterations), pred_interactions=True, validate_features=False + ) + + # note we pull off the last column and keep it as our expected_value + # multi-outputs + if len(phi.shape) == 4: + self.expected_value = [phi[0, i, -1, -1] for i in range(phi.shape[1])] + # phi is given as [#num_observations, #num_classes, #features, #features] + # slice out the expected values, then move the classes to the last dimension + return np.swapaxes(phi[:, :, :-1, :-1], axis1=1, axis2=3) + # regression and binary classification case + else: + self.expected_value = phi[0, -1, -1] + return phi[:, :-1, :-1] + elif (self.model.model_type == "catboost") and ( + self.feature_perturbation == "tree_path_dependent" + ): # thanks again to the CatBoost team for implementing this... + assert tree_limit == -1, "tree_limit is not yet supported for CatBoost models!" + import catboost + + if not isinstance(X, catboost.Pool): + X = catboost.Pool(X, cat_features=self.model.cat_feature_indices) + phi = self.model.original_model.get_feature_importance(data=X, fstr_type="ShapInteractionValues") + # note we pull off the last column and keep it as our expected_value + if len(phi.shape) == 4: + self.expected_value = getattr(self, "expected_value", [phi[0, i, -1, -1] for i in range(phi.shape[1])]) + return [phi[:, i, :-1, :-1] for i in range(phi.shape[1])] + else: + self.expected_value = getattr(self, "expected_value", phi[0, -1, -1]) + return phi[:, :-1, :-1] + + X, y, X_missing, flat_output, tree_limit, _ = self._validate_inputs(X, y, tree_limit, False) + # run the core algorithm using the C extension + assert_import("cext") + phi = np.zeros((X.shape[0], X.shape[1] + 1, X.shape[1] + 1, self.model.num_outputs)) + _cext.dense_tree_shap( + self.model.children_left, + self.model.children_right, + self.model.children_default, + self.model.features, + self.model.thresholds, + self.model.threshold_types, + self.model.values, + self.model.node_sample_weight, + self.model.max_depth, + X, + X_missing, + y, + self.data, + self.data_missing, + tree_limit, + self.model.base_offset, + phi, + feature_perturbation_codes[self.feature_perturbation], + output_transform_codes[transform], + True, + ) + + return self._get_shap_interactions_output(phi, flat_output) + + def _get_shap_interactions_output(self, phi, flat_output): + """Pull off the last column and keep it as our expected_value""" + if self.model.num_outputs == 1: + # get expected value only if not already set + self.expected_value = getattr(self, "expected_value", phi[0, -1, -1, 0]) + if flat_output: + out = phi[0, :-1, :-1, 0] + else: + out = phi[:, :-1, :-1, 0] + else: + self.expected_value = [phi[0, -1, -1, i] for i in range(phi.shape[3])] + if flat_output: + out = np.stack([phi[0, :-1, :-1, i] for i in range(self.model.num_outputs)], axis=-1) + else: + out = np.stack([phi[:, :-1, :-1, i] for i in range(self.model.num_outputs)], axis=-1) + return out + + def assert_additivity(self, phi, model_output): + def check_sum(sum_val, model_output): + diff = np.abs(sum_val - model_output) + # TODO: add arguments for passing custom 'atol' and 'rtol' values to 'np.allclose' + # would require change to interface i.e. '__call__' methods + if not np.allclose(sum_val, model_output, atol=1e-2, rtol=1e-2): + ind = np.argmax(diff) + err_msg = ( + "Additivity check failed in TreeExplainer! Please ensure the data matrix you passed to the " + "explainer is the same shape that the model was trained on. If your data shape is correct " + "then please report this on GitHub." + ) + if self.feature_perturbation != "interventional": + err_msg += " Consider retrying with the feature_perturbation='interventional' option." + err_msg += ( + " This check failed because for one of the samples the sum of the SHAP values" + f" was {sum_val[ind]:f}, while the model output was {model_output[ind]:f}. If this" + " difference is acceptable you can set check_additivity=False to disable this check." + ) + raise ExplainerError(err_msg) + + if isinstance(phi, list): + for i in range(len(phi)): + check_sum(self.expected_value[i] + phi[i].sum(-1), model_output[:, i]) + else: + check_sum(self.expected_value + phi.sum(-1), model_output) + + @staticmethod + def supports_model_with_masker(model, masker): + """Determines if this explainer can handle the given model. + + This is an abstract static method meant to be implemented by each subclass. + """ + if not isinstance(masker, (maskers.Independent)) and masker is not None: + return False + + try: + TreeEnsemble(model) + except Exception: + return False + return True + + +class TreeEnsemble: + """An ensemble of decision trees. + + This object provides a common interface to many different types of models. + """ + + def __init__(self, model, data=None, data_missing=None, model_output=None): + self.model_type = "internal" + self.trees = None + self.base_offset = 0 + self.model_output = model_output + self.objective = None # what we explain when explaining the loss of the model + self.tree_output = None # what are the units of the values in the leaves of the trees + self.internal_dtype = np.float64 + self.input_dtype = ( + np.float64 + ) # for sklearn we need to use np.float32 to always get exact matches to their predictions + self.data = data + self.data_missing = data_missing + self.fully_defined_weighting = ( + True # does the background dataset land in every leaf (making it valid for the tree_path_dependent method) + ) + self.tree_limit = None # used for limiting the number of trees we use by default (like from early stopping) + self.num_stacked_models = 1 # If this is greater than 1 it means we have multiple stacked models with the same number of trees in each model (XGBoost multi-output style) + self.cat_feature_indices = None # If this is set it tells us which features are treated categorically + + # we use names like keras + objective_name_map = { + "mse": "squared_error", + "variance": "squared_error", + "friedman_mse": "squared_error", + "reg:linear": "squared_error", + "reg:squarederror": "squared_error", + "regression": "squared_error", + "regression_l2": "squared_error", + "mae": "absolute_error", + "gini": "binary_crossentropy", + "entropy": "binary_crossentropy", + "reg:logistic": "binary_crossentropy", + "binary:logistic": "binary_crossentropy", + "binary_logloss": "binary_crossentropy", + "binary": "binary_crossentropy", + } + + tree_output_name_map = { + "regression": "raw_value", + "regression_l2": "squared_error", + "reg:linear": "raw_value", + "reg:squarederror": "raw_value", + "reg:logistic": "log_odds", + "binary:logistic": "log_odds", + "binary_logloss": "log_odds", + "binary": "log_odds", + } + + if isinstance(model, dict) and "trees" in model: + # This allows a dictionary to be passed that represents the model. + # this dictionary has several numerical parameters and also a list of trees + # where each tree is a dictionary describing that tree + if "internal_dtype" in model: + self.internal_dtype = model["internal_dtype"] + if "input_dtype" in model: + self.input_dtype = model["input_dtype"] + if "objective" in model: + self.objective = model["objective"] + if "tree_output" in model: + self.tree_output = model["tree_output"] + if "base_offset" in model: + self.base_offset = model["base_offset"] + self.trees = [SingleTree(t, data=data, data_missing=data_missing) for t in model["trees"]] + elif isinstance(model, list) and isinstance(model[0], SingleTree): # old-style direct-load format + self.trees = model + elif safe_isinstance( + model, + [ + "sklearn.ensemble.RandomForestRegressor", + "sklearn.ensemble.forest.RandomForestRegressor", + "econml.grf._base_grf.BaseGRF", + "causalml.inference.tree.CausalRandomForestRegressor", + ], + ): + assert hasattr(model, "estimators_"), "Model has no `estimators_`! Have you called `model.fit`?" + self.internal_dtype = model.estimators_[0].tree_.value.dtype.type + self.input_dtype = np.float32 + scaling = 1.0 / len(model.estimators_) # output is average of trees + self.trees = [ + SingleTree(e.tree_, scaling=scaling, data=data, data_missing=data_missing) for e in model.estimators_ + ] + self.objective = objective_name_map.get(model.criterion, None) + self.tree_output = "raw_value" + elif safe_isinstance( + model, + [ + "sklearn.ensemble.IsolationForest", + "sklearn.ensemble._iforest.IsolationForest", + ], + ): + self.dtype = np.float32 + scaling = 1.0 / len(model.estimators_) # output is average of trees + self.trees = [ + IsoTree(e.tree_, f, scaling=scaling, data=data, data_missing=data_missing) + for e, f in zip(model.estimators_, model.estimators_features_) + ] + self.tree_output = "raw_value" + elif safe_isinstance(model, ["pyod.models.iforest.IForest"]): + self.dtype = np.float32 + scaling = 1.0 / len(model.estimators_) # output is average of trees + self.trees = [ + IsoTree(e.tree_, f, scaling=scaling, data=data, data_missing=data_missing) + for e, f in zip(model.detector_.estimators_, model.detector_.estimators_features_) + ] + self.tree_output = "raw_value" + elif safe_isinstance( + model, + [ + "sklearn.ensemble.ExtraTreesRegressor", + "sklearn.ensemble.forest.ExtraTreesRegressor", + "skopt.learning.forest.RandomForestRegressor", + "skopt.learning.forest.ExtraTreesRegressor", + ], + ): + assert hasattr(model, "estimators_"), "Model has no `estimators_`! Have you called `model.fit`?" + self.internal_dtype = model.estimators_[0].tree_.value.dtype.type + self.input_dtype = np.float32 + scaling = 1.0 / len(model.estimators_) # output is average of trees + self.trees = [ + SingleTree(e.tree_, scaling=scaling, data=data, data_missing=data_missing) for e in model.estimators_ + ] + self.objective = objective_name_map.get(model.criterion, None) + self.tree_output = "raw_value" + elif safe_isinstance( + model, + [ + "sklearn.tree.DecisionTreeRegressor", + "sklearn.tree.tree.DecisionTreeRegressor", + "econml.grf._base_grftree.GRFTree", + "causalml.inference.tree.causal.causaltree.CausalTreeRegressor", + ], + ): + self.internal_dtype = model.tree_.value.dtype.type + self.input_dtype = np.float32 + self.trees = [SingleTree(model.tree_, data=data, data_missing=data_missing)] + self.objective = objective_name_map.get(model.criterion, None) + self.tree_output = "raw_value" + elif safe_isinstance( + model, + [ + "sklearn.tree.DecisionTreeClassifier", + "sklearn.tree.tree.DecisionTreeClassifier", + ], + ): + self.internal_dtype = model.tree_.value.dtype.type + self.input_dtype = np.float32 + self.trees = [SingleTree(model.tree_, normalize=True, data=data, data_missing=data_missing)] + self.objective = objective_name_map.get(model.criterion, None) + self.tree_output = "probability" + elif safe_isinstance( + model, + [ + "sklearn.ensemble.ExtraTreesClassifier", + "sklearn.ensemble.forest.ExtraTreesClassifier", + "sklearn.ensemble.RandomForestClassifier", + "sklearn.ensemble.forest.RandomForestClassifier", + ], + ): + assert hasattr(model, "estimators_"), "Model has no `estimators_`! Have you called `model.fit`?" + self.internal_dtype = model.estimators_[0].tree_.value.dtype.type + self.input_dtype = np.float32 + scaling = 1.0 / len(model.estimators_) # output is average of trees + self.trees = [ + SingleTree(e.tree_, normalize=True, scaling=scaling, data=data, data_missing=data_missing) + for e in model.estimators_ + ] + self.objective = objective_name_map.get(model.criterion, None) + self.tree_output = "probability" + elif safe_isinstance( + model, + [ + "sklearn.ensemble.GradientBoostingRegressor", + "sklearn.ensemble.gradient_boosting.GradientBoostingRegressor", + ], + ): + self.input_dtype = np.float32 + + # currently we only support the mean and quantile estimators + if safe_isinstance( + model.init_, + [ + "sklearn.ensemble.MeanEstimator", + "sklearn.ensemble.gradient_boosting.MeanEstimator", + ], + ): + self.base_offset = model.init_.mean + elif safe_isinstance( + model.init_, + [ + "sklearn.ensemble.QuantileEstimator", + "sklearn.ensemble.gradient_boosting.QuantileEstimator", + ], + ): + self.base_offset = model.init_.quantile + elif safe_isinstance(model.init_, "sklearn.dummy.DummyRegressor"): + self.base_offset = model.init_.constant_[0] + else: + emsg = f"Unsupported init model type: {type(model.init_)}" + raise InvalidModelError(emsg) + + self.trees = [ + SingleTree(e.tree_, scaling=model.learning_rate, data=data, data_missing=data_missing) + for e in model.estimators_[:, 0] + ] + self.objective = objective_name_map.get(model.criterion, None) + self.tree_output = "raw_value" + elif safe_isinstance(model, ["sklearn.ensemble.HistGradientBoostingRegressor"]): + # cf. GH #1028 for implementation notes + import sklearn + + if self.model_output == "predict": + self.model_output = "raw" + self.input_dtype = sklearn.ensemble._hist_gradient_boosting.common.X_DTYPE + self.base_offset = model._baseline_prediction + self.trees = [] + for p in model._predictors: + nodes = p[0].nodes + # each node has values: ('value', 'count', 'feature_idx', 'threshold', 'missing_go_to_left', 'left', 'right', 'gain', 'depth', 'is_leaf', 'bin_threshold') + tree = { + "children_left": np.array([-1 if n[9] else n[5] for n in nodes]), + "children_right": np.array([-1 if n[9] else n[6] for n in nodes]), + "children_default": np.array([-1 if n[9] else (n[5] if n[4] else n[6]) for n in nodes]), + "features": np.array([-2 if n[9] else n[2] for n in nodes]), + "thresholds": np.array([n[3] for n in nodes], dtype=np.float64), + "values": np.array([[n[0]] for n in nodes], dtype=np.float64), + "node_sample_weight": np.array([n[1] for n in nodes], dtype=np.float64), + } + self.trees.append(SingleTree(tree, data=data, data_missing=data_missing)) + self.objective = objective_name_map.get(model.loss, None) + self.tree_output = "raw_value" + elif safe_isinstance(model, ["sklearn.ensemble.HistGradientBoostingClassifier"]): + # cf. GH #1028 for implementation notes + import sklearn + + self.base_offset = model._baseline_prediction + has_len = hasattr(self.base_offset, "__len__") + # Note for newer sklearn versions, the base_offset is an array even for binary classification + if has_len and self.base_offset.shape == (1, 1): + self.base_offset = self.base_offset[0, 0] + has_len = False + if has_len and self.model_output != "raw": + emsg = ( + "Multi-output HistGradientBoostingClassifier models are not yet supported unless " + 'model_output="raw". See GitHub issue #1028.' + ) + raise NotImplementedError(emsg) + self.input_dtype = sklearn.ensemble._hist_gradient_boosting.common.X_DTYPE + self.num_stacked_models = len(model._predictors[0]) + if self.model_output == "predict_proba": + if self.num_stacked_models == 1: + self.model_output = ( + "probability_doubled" # with predict_proba we need to double the outputs to match + ) + else: + self.model_output = "probability" + self.trees = [] + for p in model._predictors: + for i in range(self.num_stacked_models): + nodes = p[i].nodes + # each node has values: ('value', 'count', 'feature_idx', 'threshold', 'missing_go_to_left', 'left', 'right', 'gain', 'depth', 'is_leaf', 'bin_threshold') + tree = { + "children_left": np.array([-1 if n[9] else n[5] for n in nodes]), + "children_right": np.array([-1 if n[9] else n[6] for n in nodes]), + "children_default": np.array([-1 if n[9] else (n[5] if n[4] else n[6]) for n in nodes]), + "features": np.array([-2 if n[9] else n[2] for n in nodes]), + "thresholds": np.array([n[3] for n in nodes], dtype=np.float64), + "values": np.array([[n[0]] for n in nodes], dtype=np.float64), + "node_sample_weight": np.array([n[1] for n in nodes], dtype=np.float64), + } + self.trees.append(SingleTree(tree, data=data, data_missing=data_missing)) + self.objective = objective_name_map.get(model.loss, None) + self.tree_output = "log_odds" + elif safe_isinstance( + model, + [ + "sklearn.ensemble.GradientBoostingClassifier", + "sklearn.ensemble._gb.GradientBoostingClassifier", + "sklearn.ensemble.gradient_boosting.GradientBoostingClassifier", + ], + ): + self.input_dtype = np.float32 + + # TODO: deal with estimators for each class + if model.estimators_.shape[1] > 1: + emsg = "GradientBoostingClassifier is only supported for binary classification right now!" + raise InvalidModelError(emsg) + + # currently we only support the logs odds estimator + if safe_isinstance( + model.init_, + [ + "sklearn.ensemble.LogOddsEstimator", + "sklearn.ensemble.gradient_boosting.LogOddsEstimator", + ], + ): + self.base_offset = model.init_.prior + self.tree_output = "log_odds" + elif safe_isinstance(model.init_, "sklearn.dummy.DummyClassifier"): + self.base_offset = scipy.special.logit( + model.init_.class_prior_[1] + ) # with two classes the trees only model the second class. + self.tree_output = "log_odds" + else: + emsg = f"Unsupported init model type: {type(model.init_)}" + raise InvalidModelError(emsg) + + self.trees = [ + SingleTree(e.tree_, scaling=model.learning_rate, data=data, data_missing=data_missing) + for e in model.estimators_[:, 0] + ] + self.objective = objective_name_map.get(model.criterion, None) + elif "pyspark.ml" in str(type(model)): + assert_import("pyspark") + self.model_type = "pyspark" + # model._java_obj.getImpurity() can be gini, entropy or variance. + self.objective = objective_name_map.get(model._java_obj.getImpurity(), None) + if "Classification" in str(type(model)): + normalize = True + self.tree_output = "probability" + else: + normalize = False + self.tree_output = "raw_value" + # Spark Random forest, create 1 weighted (avg) tree per sub-model + if safe_isinstance( + model, + [ + "pyspark.ml.classification.RandomForestClassificationModel", + "pyspark.ml.regression.RandomForestRegressionModel", + ], + ): + sum_weight = sum(model.treeWeights) # output is average of trees + self.trees = [ + SingleTree(tree, normalize=normalize, scaling=model.treeWeights[i] / sum_weight) + for i, tree in enumerate(model.trees) + ] + # Spark GBT, create 1 weighted (learning rate) tree per sub-model + elif safe_isinstance( + model, + [ + "pyspark.ml.classification.GBTClassificationModel", + "pyspark.ml.regression.GBTRegressionModel", + ], + ): + self.objective = "squared_error" # GBT subtree use the variance + self.tree_output = "raw_value" + self.trees = [ + SingleTree(tree, normalize=False, scaling=model.treeWeights[i]) + for i, tree in enumerate(model.trees) + ] + # Spark Basic model (single tree) + elif safe_isinstance( + model, + [ + "pyspark.ml.classification.DecisionTreeClassificationModel", + "pyspark.ml.regression.DecisionTreeRegressionModel", + ], + ): + self.trees = [SingleTree(model, normalize=normalize, scaling=1)] + else: + emsg = f"Unsupported Spark model type: {type(model)}" + raise NotImplementedError(emsg) + elif safe_isinstance(model, "xgboost.core.Booster"): + self.original_model = model + self._set_xgboost_model_attributes( + data, + data_missing, + objective_name_map, + tree_output_name_map, + ) + elif safe_isinstance(model, "xgboost.sklearn.XGBClassifier"): + self.input_dtype = np.float32 + self.original_model = model.get_booster() + self._set_xgboost_model_attributes( + data, + data_missing, + objective_name_map, + tree_output_name_map, + ) + + if self.model_output == "predict_proba": + if self.num_stacked_models == 1: + # with predict_proba we need to double the outputs to match + self.model_output = "probability_doubled" + else: + self.model_output = "probability" + # Some properties of the sklearn API are passed to a DMatrix object in + # xgboost We need to make sure we do the same here - GH #3313 + self._xgb_dmatrix_props = get_xgboost_dmatrix_properties(model) + elif safe_isinstance(model, ["xgboost.sklearn.XGBRegressor", "xgboost.sklearn.XGBRanker"]): + self.original_model = model.get_booster() + self._set_xgboost_model_attributes( + data, + data_missing, + objective_name_map, + tree_output_name_map, + ) + # Some properties of the sklearn API are passed to a DMatrix object in + # xgboost We need to make sure we do the same here - GH #3313 + self._xgb_dmatrix_props = get_xgboost_dmatrix_properties(model) + elif safe_isinstance(model, "lightgbm.basic.Booster"): + assert_import("lightgbm") + self.model_type = "lightgbm" + self.original_model = model + tree_info = self.original_model.dump_model()["tree_info"] + try: + self.trees = [SingleTree(e, data=data, data_missing=data_missing) for e in tree_info] + except Exception: + self.trees = None # we get here because the cext can't handle categorical splits yet + + self.objective = objective_name_map.get(model.params.get("objective", "regression"), None) + self.tree_output = tree_output_name_map.get(model.params.get("objective", "regression"), None) + + elif safe_isinstance(model, "gpboost.basic.Booster"): + assert_import("gpboost") + self.model_type = "gpboost" + self.original_model = model + tree_info = self.original_model.dump_model()["tree_info"] + try: + self.trees = [SingleTree(e, data=data, data_missing=data_missing) for e in tree_info] + except Exception: + self.trees = None # we get here because the cext can't handle categorical splits yet + + self.objective = objective_name_map.get(model.params.get("objective", "regression"), None) + self.tree_output = tree_output_name_map.get(model.params.get("objective", "regression"), None) + + elif safe_isinstance(model, "lightgbm.sklearn.LGBMRegressor"): + assert_import("lightgbm") + self.model_type = "lightgbm" + self.original_model = model.booster_ + tree_info = self.original_model.dump_model()["tree_info"] + try: + self.trees = [SingleTree(e, data=data, data_missing=data_missing) for e in tree_info] + except Exception: + self.trees = None # we get here because the cext can't handle categorical splits yet + self.objective = objective_name_map.get(model.objective, None) + self.tree_output = tree_output_name_map.get(model.objective, None) + if model.objective is None: + self.objective = "squared_error" + self.tree_output = "raw_value" + elif safe_isinstance(model, "lightgbm.sklearn.LGBMRanker"): + assert_import("lightgbm") + self.model_type = "lightgbm" + self.original_model = model.booster_ + tree_info = self.original_model.dump_model()["tree_info"] + try: + self.trees = [SingleTree(e, data=data, data_missing=data_missing) for e in tree_info] + except Exception: + self.trees = None # we get here because the cext can't handle categorical splits yet + # Note: for ranker, leaving tree_output and objective as None as they + # are not implemented in native code yet + elif safe_isinstance(model, "lightgbm.sklearn.LGBMClassifier"): + assert_import("lightgbm") + self.model_type = "lightgbm" + if model.n_classes_ > 2: + self.num_stacked_models = model.n_classes_ + self.original_model = model.booster_ + tree_info = self.original_model.dump_model()["tree_info"] + try: + self.trees = [SingleTree(e, data=data, data_missing=data_missing) for e in tree_info] + except Exception: + self.trees = None # we get here because the cext can't handle categorical splits yet + self.objective = objective_name_map.get(model.objective, None) + self.tree_output = tree_output_name_map.get(model.objective, None) + if model.objective is None: + self.objective = "binary_crossentropy" + self.tree_output = "log_odds" + elif safe_isinstance(model, "catboost.core.CatBoostRegressor"): + assert_import("catboost") + self.model_type = "catboost" + self.original_model = model + self.cat_feature_indices = model.get_cat_feature_indices() + try: + cb_loader = CatBoostTreeModelLoader(model) + self.trees = cb_loader.get_trees(data=data, data_missing=data_missing) + except Exception: + self.trees = None # we get here because the cext can't handle categorical splits yet + elif safe_isinstance(model, "catboost.core.CatBoostClassifier"): + assert_import("catboost") + self.model_type = "catboost" + self.original_model = model + self.input_dtype = np.float32 + try: + cb_loader = CatBoostTreeModelLoader(model) + self.trees = cb_loader.get_trees(data=data, data_missing=data_missing) + except Exception: + self.trees = None # we get here because the cext can't handle categorical splits yet + self.tree_output = "log_odds" + self.objective = "binary_crossentropy" + self.cat_feature_indices = model.get_cat_feature_indices() + elif safe_isinstance(model, "catboost.core.CatBoost"): + assert_import("catboost") + self.model_type = "catboost" + self.original_model = model + self.cat_feature_indices = model.get_cat_feature_indices() + elif safe_isinstance(model, "imblearn.ensemble._forest.BalancedRandomForestClassifier"): + self.input_dtype = np.float32 + scaling = 1.0 / len(model.estimators_) # output is average of trees + self.trees = [ + SingleTree(e.tree_, normalize=True, scaling=scaling, data=data, data_missing=data_missing) + for e in model.estimators_ + ] + self.objective = objective_name_map.get(model.criterion, None) + self.tree_output = "probability" + elif safe_isinstance( + model, + [ + "ngboost.ngboost.NGBoost", + "ngboost.api.NGBRegressor", + "ngboost.api.NGBClassifier", + ], + ): + assert model.base_models, "The NGBoost model has empty `base_models`! Have you called `model.fit`?" + if self.model_output == "raw": + param_idx = 0 # default to the first parameter of the output distribution + warnings.warn( + 'Translating model_output="raw" to model_output=0 for the 0-th parameter in the distribution. Use model_output=0 directly to avoid this warning.' + ) + elif isinstance(self.model_output, int): + param_idx = self.model_output + self.model_output = "raw" # note that after loading we have a new model_output type + assert safe_isinstance( + model.base_models[0][param_idx], + ["sklearn.tree.DecisionTreeRegressor", "sklearn.tree.tree.DecisionTreeRegressor"], + ), "You must use default_tree_learner!" + shap_trees = [trees[param_idx] for trees in model.base_models] + self.internal_dtype = shap_trees[0].tree_.value.dtype.type + self.input_dtype = np.float32 + scaling = -model.learning_rate * np.array(model.scalings) # output is weighted average of trees + # ngboost reorders the features, so we need to map them back to the original order + missing_col_idxs = [[i for i in range(model.n_features) if i not in col_idx] for col_idx in model.col_idxs] + feature_mapping = [ + {i: col_idx for i, col_idx in enumerate(list(col_idxs) + missing_col_idx)} + for col_idxs, missing_col_idx in zip(model.col_idxs, missing_col_idxs) + ] + self.trees = [] + for idx, shap_tree in enumerate(shap_trees): + tree_ = shap_tree.tree_ + values = tree_.value.reshape(tree_.value.shape[0], tree_.value.shape[1] * tree_.value.shape[2]) + values = values * scaling[idx] + tree = { + "children_left": tree_.children_left.astype(np.int32), + "children_right": tree_.children_right.astype(np.int32), + "children_default": tree_.children_left, + "features": np.array([feature_mapping[idx].get(i, i) for i in tree_.feature]), + "thresholds": tree_.threshold.astype(np.float64), + "values": values, + "node_sample_weight": tree_.weighted_n_node_samples.astype(np.float64), + } + self.trees.append(SingleTree(tree, data=data, data_missing=data_missing)) + self.objective = objective_name_map.get(shap_trees[0].criterion, None) + self.tree_output = "raw_value" + self.base_offset = model.init_params[param_idx] + else: + raise InvalidModelError("Model type not yet supported by TreeExplainer: " + str(type(model))) + + # build a dense numpy version of all the tree objects + if self.trees is not None and self.trees: + max_nodes = np.max([len(t.values) for t in self.trees]) + assert len(np.unique([t.values.shape[1] for t in self.trees])) == 1, ( + "All trees in the ensemble must have the same output dimension!" + ) + num_trees = len(self.trees) + # important to be -1 in unused sections!! This way we can tell which entries are valid. + self.children_left = -np.ones((num_trees, max_nodes), dtype=np.int32) + self.children_right = -np.ones((num_trees, max_nodes), dtype=np.int32) + self.children_default = -np.ones((num_trees, max_nodes), dtype=np.int32) + self.features = -np.ones((num_trees, max_nodes), dtype=np.int32) + + self.thresholds = np.zeros((num_trees, max_nodes), dtype=self.internal_dtype) + self.threshold_types = np.zeros((num_trees, max_nodes), dtype=np.int32) + self.values = np.zeros((num_trees, max_nodes, self.num_outputs), dtype=self.internal_dtype) + self.node_sample_weight = np.zeros((num_trees, max_nodes), dtype=self.internal_dtype) + + for i in range(num_trees): + self.children_left[i, : len(self.trees[i].children_left)] = self.trees[i].children_left + self.children_right[i, : len(self.trees[i].children_right)] = self.trees[i].children_right + self.children_default[i, : len(self.trees[i].children_default)] = self.trees[i].children_default + self.features[i, : len(self.trees[i].features)] = self.trees[i].features + self.thresholds[i, : len(self.trees[i].thresholds)] = self.trees[i].thresholds + self.threshold_types[i, : len(self.trees[i].threshold_types)] = self.trees[i].threshold_types + + # XGBoost supports boosting forest, which is not compatible with the + # current assumption here that the number of stacked models represents + # the number of outputs. + if self.model_type == "xgboost": + n_stacks = self.num_outputs + else: + n_stacks = self.num_stacked_models + + if n_stacks > 1: + stack_pos = i % n_stacks + self.values[i, : len(self.trees[i].values[:, 0]), stack_pos] = self.trees[i].values[:, 0] + else: + self.values[i, : len(self.trees[i].values)] = self.trees[i].values + self.node_sample_weight[i, : len(self.trees[i].node_sample_weight)] = self.trees[i].node_sample_weight + + # ensure that the passed background dataset lands in every leaf + if np.min(self.trees[i].node_sample_weight) <= 0: + self.fully_defined_weighting = False + + self.num_nodes = np.array([len(t.values) for t in self.trees], dtype=np.int32) + self.max_depth = np.max([t.max_depth for t in self.trees]) + + # make sure the base offset is a 1D array + if not hasattr(self.base_offset, "__len__") or len(self.base_offset) == 0: + self.base_offset = (np.ones(self.num_outputs) * self.base_offset).astype(self.internal_dtype) + self.base_offset = self.base_offset.flatten() + assert len(self.base_offset) == self.num_outputs + + def _set_xgboost_model_attributes( + self, + data, + data_missing, + objective_name_map, + tree_output_name_map, + ): + self.model_type = "xgboost" + loader = XGBTreeModelLoader(self.original_model) + + self.trees = loader.get_trees(data=data, data_missing=data_missing) + self.base_offset = loader.base_score + self.objective = objective_name_map.get(loader.name_obj, None) + self.tree_output = tree_output_name_map.get(loader.name_obj, None) + + self.num_stacked_models = loader.n_trees_per_iter + self.cat_feature_indices = loader.cat_feature_indices + best_iteration = getattr( + self.original_model, + "best_iteration", + self.original_model.num_boosted_rounds() - 1, + ) + self.tree_limit = (best_iteration + 1) * self.num_stacked_models + self._xgboost_n_outputs = loader.n_targets + + @property + def num_outputs(self) -> int: + # Currrently, XGBoost models derive the num_outputs attribute from the input + # models, which is set during model load. + if self.model_type == "xgboost": + assert hasattr(self, "_xgboost_n_outputs") + return self._xgboost_n_outputs + + if self.num_stacked_models > 1: + if len(self.trees) % self.num_stacked_models != 0: + raise ValueError("Only stacked models with equal numbers of trees are supported!") + if self.trees[0].values.shape[1] != 1: + raise ValueError("Only stacked models with single outputs per model are supported!") + return self.num_stacked_models + else: + return self.trees[0].values.shape[1] + + def get_transform(self): + """A consistent interface to make predictions from this model.""" + if self.model_output == "raw": + transform = "identity" + elif self.model_output in ("probability", "probability_doubled"): + if self.tree_output == "log_odds": + transform = "logistic" + elif self.tree_output == "probability": + transform = "identity" + else: + emsg = ( + f'model_output = "probability" is not yet supported when model.tree_output = "{self.tree_output}"!' + ) + raise NotImplementedError(emsg) + elif self.model_output == "log_loss": + if self.objective == "squared_error": + transform = "squared_loss" + elif self.objective == "binary_crossentropy": + transform = "logistic_nlogloss" + else: + emsg = f'model_output = "log_loss" is not yet supported when model.objective = "{self.objective}"!' + raise NotImplementedError(emsg) + else: + emsg = ( + f"Unrecognized model_output parameter value: {str(self.model_output)}! " + f"If `model.{str(self.model_output)}` is a valid function, open a Github issue to ask " + "that this method be supported. If you want 'predict_proba' just use 'probability' for now." + ) + raise ValueError(emsg) + + return transform + + def predict(self, X, y=None, output=None, tree_limit=None): + """A consistent interface to make predictions from this model. + + Parameters + ---------- + tree_limit : None (default) or int + Limit the number of trees used by the model. By default None means no use the limit of the + original model, and -1 means no limit. + + """ + if output is None: + output = self.model_output + + if self.model_type == "pyspark": + # import pyspark + # TODO: support predict for pyspark + raise NotImplementedError( + "Predict with pyspark isn't implemented. Don't run 'interventional' as feature_perturbation." + ) + if self.model_type == "xgboost" and self.num_stacked_models != self.num_outputs: + # TODO: Support random forest in XGBoost. + raise NotImplementedError("XGBoost with boosted random forest is not yet supported.") + + # see if we have a default tree_limit in place. + if tree_limit is None: + tree_limit = -1 if self.tree_limit is None else self.tree_limit + + # convert dataframes + if isinstance(X, (pd.Series, pd.DataFrame)): + X = X.values + flat_output = False + if len(X.shape) == 1: + flat_output = True + X = X.reshape(1, X.shape[0]) + if X.dtype.type != self.input_dtype: + X = X.astype(self.input_dtype) + X_missing = np.isnan(X, dtype=bool) + assert isinstance(X, np.ndarray), "Unknown instance type: " + str(type(X)) + assert len(X.shape) == 2, "Passed input data matrix X must have 1 or 2 dimensions!" + + if tree_limit < 0 or tree_limit > self.values.shape[0]: + tree_limit = self.values.shape[0] + + if output == "logloss": + if y is None: + raise ValueError( + "Both samples and labels must be provided when explaining the loss" + " (i.e. `explainer.shap_values(X, y)`)!" + ) + if X.shape[0] != len(y): + raise ValueError( + f"The number of labels ({len(y)}) does not match the number of samples to explain ({X.shape[0]})!" + ) + + transform = self.get_transform() + assert_import("cext") + output = np.zeros((X.shape[0], self.num_outputs)) + _cext.dense_tree_predict( + self.children_left, + self.children_right, + self.children_default, + self.features, + self.thresholds, + self.threshold_types, + self.values, + self.max_depth, + tree_limit, + self.base_offset, + output_transform_codes[transform], + X, + X_missing, + y, + output, + ) + + # drop dimensions we don't need + if flat_output: + if self.num_outputs == 1: + return output.flatten()[0] + else: + return output.reshape(-1, self.num_outputs) + else: + if self.num_outputs == 1: + return output.flatten() + else: + return output + + +class SingleTree: + """A single decision tree. + + The primary point of this object is to parse many different tree types into a common format. + + Attributes + ---------- + children_left : numpy.array + A 1d array of length #nodes. The index ``i`` of this array contains the index of + the left-child of the ``i-th`` node in the tree. An index of -1 is used to + represent that the ``i-th`` node is a leaf/terminal node. + + children_right : numpy.array + Same as ``children_left``, except it contains the index of the right child of + each ``i-th`` node in the tree. + + children_default : numpy.array + A 1d numpy array of length #nodes. The index ``i`` of this array contains either + the index of the left-child / right-child of the ``i-th`` node in the tree, + depending on whether the default split (for handling missing values) is left / + right. An index of -1 is used to represent that the ``i-th`` node is a leaf + node. + + features : numpy.array + A 1d numpy array of length #nodes. The value at the ``i-th`` position is the + index of the feature chosen for the split at node ``i``. Leaf nodes have no + splits, so is -1. + + thresholds : numpy.array + A 1d numpy array of length #nodes. The value at the ``i-th`` position is the + threshold used for the split at node ``i``. Leaf nodes have no thresholds, so is + -1. + + values : numpy.array + A 1d numpy array of length #nodes. The index ``i`` of this array contains the + raw predicted value that would be produced by node ``i`` if it were a leaf node. + + node_sample_weight : numpy.array + A 1d numpy array of length #nodes. The index ``i`` contains the number of + records (usually from the training data) that falls into node ``i``. + + max_depth : int + The max depth of the tree. + + """ + + def __init__(self, tree, normalize=False, scaling=1.0, data=None, data_missing=None): + assert_import("cext") + + if safe_isinstance( + tree, + [ + "sklearn.tree._tree.Tree", + "econml.tree._tree.Tree", + "causalml.inference.tree._tree._tree.Tree", + ], + ): + self.children_left = tree.children_left.astype(np.int32) + self.children_right = tree.children_right.astype(np.int32) + self.children_default = self.children_left + if hasattr(tree, "missing_go_to_left"): + self.children_default = np.where(tree.missing_go_to_left, self.children_left, self.children_right) + self.features = tree.feature.astype(np.int32) + self.thresholds = tree.threshold.astype(np.float64) + self.threshold_types = np.zeros_like(self.thresholds, dtype=np.int32) + self.values = tree.value.reshape(tree.value.shape[0], tree.value.shape[1] * tree.value.shape[2]) + if normalize: + self.values = (self.values.T / self.values.sum(1)).T + self.values = self.values * scaling + self.node_sample_weight = tree.weighted_n_node_samples.astype(np.float64) + + elif isinstance(tree, dict) and "features" in tree: + self.children_left = tree["children_left"].astype(np.int32) + self.children_right = tree["children_right"].astype(np.int32) + self.children_default = tree["children_default"].astype(np.int32) + self.features = tree["features"].astype(np.int32) + self.thresholds = tree["thresholds"] + self.threshold_types = np.zeros_like(self.thresholds, dtype=np.int32) + self.values = tree["values"] * scaling + self.node_sample_weight = tree["node_sample_weight"] + + # deprecated dictionary support (with sklearn singular style "feature" and "value" names) + elif isinstance(tree, dict) and "children_left" in tree: + self.children_left = tree["children_left"].astype(np.int32) + self.children_right = tree["children_right"].astype(np.int32) + self.children_default = tree["children_default"].astype(np.int32) + self.features = tree["feature"].astype(np.int32) + self.thresholds = tree["threshold"] + self.threshold_types = np.zeros_like(self.thresholds, dtype=np.int32) + self.values = tree["value"] * scaling + self.node_sample_weight = tree["node_sample_weight"] + + elif safe_isinstance( + tree, + [ + "pyspark.ml.classification.DecisionTreeClassificationModel", + "pyspark.ml.regression.DecisionTreeRegressionModel", + ], + ): + # model._java_obj.numNodes() doesn't give leaves, need to recompute the size + def getNumNodes(node, size): + size = size + 1 + if node.subtreeDepth() == 0: + return size + else: + size = getNumNodes(node.leftChild(), size) + return getNumNodes(node.rightChild(), size) + + num_nodes = getNumNodes(tree._java_obj.rootNode(), 0) + self.children_left = np.full(num_nodes, -2, dtype=np.int32) + self.children_right = np.full(num_nodes, -2, dtype=np.int32) + self.children_default = np.full(num_nodes, -2, dtype=np.int32) + self.features = np.full(num_nodes, -2, dtype=np.int32) + self.thresholds = np.full(num_nodes, -2, dtype=np.float64) + self.threshold_types = np.zeros_like(self.thresholds, dtype=np.int32) + self.values = [-2] * num_nodes + self.node_sample_weight = np.full(num_nodes, -2, dtype=np.float64) + + def buildTree(index, node): + index = index + 1 + if tree._java_obj.getImpurity() == "variance": + self.values[index] = [node.prediction()] # prediction for the node + else: + self.values[index] = [ + e for e in node.impurityStats().stats() + ] # for gini: NDarray(numLabel): 1 per label: number of item for each label which went through this node + self.node_sample_weight[index] = ( + node.impurityStats().count() + ) # weighted count of element through this node + + if node.subtreeDepth() == 0: + return index + else: + self.features[index] = ( + node.split().featureIndex() + ) # index of the feature we split on, not available for leaf, int + if str(node.split().getClass()).endswith("tree.CategoricalSplit"): + # Categorical split isn't implemented, TODO: could fake it by creating a fake node to split on the exact value? + raise NotImplementedError("CategoricalSplit are not yet implemented") + self.thresholds[index] = ( + node.split().threshold() + ) # threshold for the feature, not available for leaf, float + + self.children_left[index] = index + 1 + idx = buildTree(index, node.leftChild()) + self.children_right[index] = idx + 1 + idx = buildTree(idx, node.rightChild()) + return idx + + buildTree(-1, tree._java_obj.rootNode()) + # default Not supported with mlib? (TODO) + self.children_default = self.children_left + self.values = np.asarray(self.values) + if normalize: + self.values = (self.values.T / self.values.sum(1)).T + self.values = self.values * scaling + + # dictionary output from LightGBM `.dump_model()` + elif isinstance(tree, dict) and "tree_structure" in tree: + start = tree["tree_structure"] + num_parents = tree["num_leaves"] - 1 + num_nodes = 2 * num_parents + 1 + self.children_left = np.empty(num_nodes, dtype=np.int32) + self.children_right = np.empty(num_nodes, dtype=np.int32) + self.children_default = np.empty(num_nodes, dtype=np.int32) + self.features = np.empty(num_nodes, dtype=np.int32) + self.thresholds = np.empty(num_nodes, dtype=np.float64) + self.threshold_types = np.zeros_like(self.thresholds, dtype=np.int32) + self.values = [-2 for _ in range(num_nodes)] + self.node_sample_weight = np.empty(num_nodes, dtype=np.float64) + + # BFS traversal through the tree structure + visited, queue = [], [start] + while queue: + vertex = queue.pop(0) # TODO(perf): benchmark this against deque.popleft() + is_branch_node = "split_index" in vertex + if is_branch_node: + vsplit_idx: int = vertex["split_index"] + if vsplit_idx in visited: + continue + + left_child: dict = vertex["left_child"] + right_child: dict = vertex["right_child"] + left_is_branch_node = "split_index" in left_child + if left_is_branch_node: + self.children_left[vsplit_idx] = left_child["split_index"] + else: + self.children_left[vsplit_idx] = left_child["leaf_index"] + num_parents + right_is_branch_node = "split_index" in right_child + if right_is_branch_node: + self.children_right[vsplit_idx] = right_child["split_index"] + else: + self.children_right[vsplit_idx] = right_child["leaf_index"] + num_parents + if vertex["default_left"]: + self.children_default[vsplit_idx] = self.children_left[vsplit_idx] + else: + self.children_default[vsplit_idx] = self.children_right[vsplit_idx] + + self.features[vsplit_idx] = vertex["split_feature"] + if isinstance(vertex["threshold"], (int, float)): + self.thresholds[vsplit_idx] = vertex["threshold"] + self.threshold_types[vsplit_idx] = 0 + elif isinstance(vertex["threshold"], str): + threshold = 0.0 + categories = [int(x) for x in vertex["threshold"].split("||")] + for cat in categories: + threshold += 2 ** (cat - 1) + self.thresholds[vsplit_idx] = threshold + self.threshold_types[vsplit_idx] = 1 # Indicates that this is a categorical split + else: + raise TypeError(f"Threshold type {type(vertex['threshold'])} not supported") + self.values[vsplit_idx] = [vertex["internal_value"]] + self.node_sample_weight[vsplit_idx] = vertex["internal_count"] + visited.append(vsplit_idx) + queue.append(left_child) + queue.append(right_child) + else: + # NOTE: If "leaf_index" is not present as a key, it means we have a + # stump tree. I.e., num_nodes=1. + vleaf_idx: int = vertex.get("leaf_index", 0) + num_parents + self.children_left[vleaf_idx] = -1 + self.children_right[vleaf_idx] = -1 + self.children_default[vleaf_idx] = -1 + self.features[vleaf_idx] = -1 + self.children_left[vleaf_idx] = -1 + self.children_right[vleaf_idx] = -1 + self.children_default[vleaf_idx] = -1 + self.features[vleaf_idx] = -1 + self.thresholds[vleaf_idx] = -1 + self.threshold_types[vleaf_idx] = -1 + self.values[vleaf_idx] = [vertex["leaf_value"]] + # FIXME: "leaf_count" currently doesn't exist if we have a stump tree. + # We should be technically be assigning the number of samples used to + # train the model as the weight here, but unfortunately this info is + # currently unavailable in `tree`, so we set to 0 first. + # cf. https://github.com/microsoft/LightGBM/issues/5962 + self.node_sample_weight[vleaf_idx] = vertex.get("leaf_count", 0) + self.values = np.asarray(self.values) + self.values = np.multiply(self.values, scaling) + + elif isinstance(tree, dict) and "nodeid" in tree: + """ Directly create tree given the JSON dump (with stats) of a XGBoost model. + """ + + def max_id(node): + if "children" in node: + return max(node["nodeid"], *[max_id(n) for n in node["children"]]) + else: + return node["nodeid"] + + m = max_id(tree) + 1 + self.children_left = -np.ones(m, dtype=np.int32) + self.children_right = -np.ones(m, dtype=np.int32) + self.children_default = -np.ones(m, dtype=np.int32) + self.features = -np.ones(m, dtype=np.int32) + self.thresholds = np.zeros(m, dtype=np.float64) + self.threshold_types = np.zeros_like(self.thresholds, dtype=np.int32) + self.values = np.zeros((m, 1), dtype=np.float64) + self.node_sample_weight = np.empty(m, dtype=np.float64) + + def extract_data(node, tree): + i = node["nodeid"] + tree.node_sample_weight[i] = node["cover"] + + if "children" in node: + tree.children_left[i] = node["yes"] + tree.children_right[i] = node["no"] + tree.children_default[i] = node["missing"] + tree.features[i] = node["split"] + tree.thresholds[i] = node["split_condition"] + + for n in node["children"]: + extract_data(n, tree) + elif "leaf" in node: + tree.values[i] = node["leaf"] * scaling + + extract_data(tree, self) + + elif isinstance(tree, str): + """ Build a tree from a text dump (with stats) of xgboost. + """ + + nodes = [t.lstrip() for t in tree[:-1].split("\n")] + nodes_dict = {} + for n in nodes: + nodes_dict[int(n.split(":")[0])] = n.split(":")[1] + m = max(nodes_dict.keys()) + 1 + children_left = -1 * np.ones(m, dtype="int32") + children_right = -1 * np.ones(m, dtype="int32") + children_default = -1 * np.ones(m, dtype="int32") + features = -2 * np.ones(m, dtype="int32") + thresholds = -1 * np.ones(m, dtype="float64") + values = 1 * np.ones(m, dtype="float64") + node_sample_weight = np.zeros(m, dtype="float64") + values_lst = list(nodes_dict.values()) + keys_lst = list(nodes_dict.keys()) + for i in range(len(keys_lst)): + value = values_lst[i] + key = keys_lst[i] + if "leaf" in value: + # Extract values + val = float(value.split("leaf=")[1].split(",")[0]) + node_sample_weight_val = float(value.split("cover=")[1]) + # Append to lists + values[key] = val + node_sample_weight[key] = node_sample_weight_val + else: + c_left = int(value.split("yes=")[1].split(",")[0]) + c_right = int(value.split("no=")[1].split(",")[0]) + c_default = int(value.split("missing=")[1].split(",")[0]) + feat_thres = value.split(" ")[0] + if "<" in feat_thres: + feature = int(feat_thres.split("<")[0][2:]) + threshold = float(feat_thres.split("<")[1][:-1]) + if "=" in feat_thres: + feature = int(feat_thres.split("=")[0][2:]) + threshold = float(feat_thres.split("=")[1][:-1]) + node_sample_weight_val = float(value.split("cover=")[1].split(",")[0]) + children_left[key] = c_left + children_right[key] = c_right + children_default[key] = c_default + features[key] = feature + thresholds[key] = threshold + node_sample_weight[key] = node_sample_weight_val + + self.children_left = children_left + self.children_right = children_right + self.children_default = children_default + self.features = features + self.thresholds = thresholds + self.threshold_types = np.zeros_like(self.thresholds, dtype=np.int32) + self.values = values[:, np.newaxis] * scaling + self.node_sample_weight = node_sample_weight + else: + raise TypeError("Unknown input to SingleTree constructor: " + str(tree)) + + # Re-compute the number of samples that pass through each node if we are given data + if data is not None and data_missing is not None: + self.node_sample_weight.fill(0.0) + _cext.dense_tree_update_weights( + self.children_left, + self.children_right, + self.children_default, + self.features, + self.thresholds, + self.threshold_types, + self.values, + 1, + self.node_sample_weight, + data, + data_missing, + ) + + # we compute the expectations to make sure they follow the SHAP logic + self.max_depth = _cext.compute_expectations( + self.children_left, self.children_right, self.node_sample_weight, self.values + ) + + +class IsoTree(SingleTree): + """In sklearn the tree of the Isolation Forest does not calculated in a good way.""" + + def __init__(self, tree, tree_features, normalize=False, scaling=1.0, data=None, data_missing=None): + super().__init__(tree, normalize, scaling, data, data_missing) + if safe_isinstance(tree, "sklearn.tree._tree.Tree"): + from sklearn.ensemble._iforest import _average_path_length + + def _recalculate_value(tree, i, level): + if tree.children_left[i] == -1 and tree.children_right[i] == -1: + value = level + _average_path_length(np.array([tree.n_node_samples[i]]))[0] + self.values[i, 0] = value + return value * tree.n_node_samples[i] + else: + value_left = _recalculate_value(tree, tree.children_left[i], level + 1) + value_right = _recalculate_value(tree, tree.children_right[i], level + 1) + self.values[i, 0] = (value_left + value_right) / tree.n_node_samples[i] + return value_left + value_right + + _recalculate_value(tree, 0, 0) + if normalize: + self.values = (self.values.T / self.values.sum(1)).T + self.values = self.values * scaling + # re-number the features if each tree gets a different set of features + self.features = np.where(self.features >= 0, tree_features[self.features], self.features) + + +def get_xgboost_dmatrix_properties(model): + """Retrieves properties from an xgboost.sklearn.XGBModel instance that should be + passed to the xgboost.core.DMatrix object before calling predict on the model. + + """ + properties_to_pass = ["missing", "n_jobs", "enable_categorical", "feature_types"] + dmatrix_attributes = {} + for attribute in properties_to_pass: + if hasattr(model, attribute): + dmatrix_attributes[attribute] = getattr(model, attribute) + + # Convert sklearn n_jobs to xgboost nthread + if "n_jobs" in dmatrix_attributes: + dmatrix_attributes["nthread"] = dmatrix_attributes.pop("n_jobs") + return dmatrix_attributes + + +class XGBTreeModelLoader: + """This loads an XGBoost model directly from a raw memory dump.""" + + def __init__(self, xgb_model) -> None: + import xgboost as xgb + + _check_xgboost_version(xgb.__version__) + model: xgb.Booster = xgb_model + + raw = xgb_model.save_raw(raw_format="ubj") + with io.BytesIO(raw) as fd: + jmodel = decode_ubjson_buffer(fd) + + learner = jmodel["learner"] + learner_model_param = learner["learner_model_param"] + objective = learner["objective"] + + booster = learner["gradient_booster"] + n_classes = max(int(learner_model_param["num_class"]), 1) + n_targets = max(int(learner_model_param["num_target"]), 1) + n_targets = max(n_targets, n_classes) + + # darts booster does not have the standard format. + # Therefore we need to unpack the gbtree key. + if "gbtree" in booster and "model" not in booster: + booster = booster["gbtree"] + # Check the input model doesn't have vector-leaf + if booster["model"].get("iteration_indptr", None) is not None: + # iteration_indptr was introduced in 2.0. + iteration_indptr = np.asarray(booster["model"]["iteration_indptr"], dtype=np.int32) + diff = np.diff(iteration_indptr) + else: + n_parallel_trees = int(booster["model"]["gbtree_model_param"]["num_parallel_tree"]) + diff = np.repeat(n_targets * n_parallel_trees, model.num_boosted_rounds()) + if np.any(diff != diff[0]): + raise ValueError("vector-leaf is not yet supported.:", diff) + + # used to convert the number of iteration to the number of trees. + # Accounts for number of classes, targets, forest size. + self.n_trees_per_iter = int(diff[0]) + self.n_targets = n_targets + self.base_score = float(learner_model_param["base_score"]) + assert self.n_trees_per_iter > 0 + + self.name_obj = objective["name"] + self.name_gbm = booster["name"] + # handle the link function. + base_score = float(learner_model_param["base_score"]) + if self.name_obj in ("binary:logistic", "reg:logistic"): + self.base_score = scipy.special.logit(base_score) + elif self.name_obj in ( + "reg:gamma", + "reg:tweedie", + "count:poisson", + "survival:cox", + "survival:aft", + ): + # exp family + self.base_score = np.log(self.base_score) + else: + self.base_score = base_score + + self.num_feature = int(learner_model_param["num_feature"]) + self.num_class = int(learner_model_param["num_class"]) + + trees = booster["model"]["trees"] + self.num_trees = len(trees) + + self.node_parents = [] + self.node_cleft = [] + self.node_cright = [] + self.node_sindex = [] + self.children_default: list[np.ndarray] = [] + self.sum_hess = [] + + self.values = [] + self.thresholds = [] + self.threshold_types = [] + self.features = [] + + # Categorical features, not supported by the SHAP package yet. + self.split_types = [] + self.categories = [] + + feature_types = model.feature_types + if feature_types is not None: + cat_feature_indices: np.ndarray = np.where(np.asarray(feature_types) == "c")[0] + if len(cat_feature_indices) == 0: + self.cat_feature_indices: np.ndarray | None = None + else: + self.cat_feature_indices = cat_feature_indices + else: + self.cat_feature_indices = None + + def to_integers(data: list[int]) -> np.ndarray: + """Handle u8 array from UBJSON.""" + assert isinstance(data, list) + return np.asanyarray(data, dtype=np.uint8) + + for i in range(self.num_trees): + tree = trees[i] + parents = np.asarray(tree["parents"]) + self.node_parents.append(parents) + self.node_cleft.append(np.asarray(tree["left_children"], dtype=np.int32)) + self.node_cright.append(np.asarray(tree["right_children"], dtype=np.int32)) + self.node_sindex.append(np.asarray(tree["split_indices"], dtype=np.uint32)) + + base_weight = np.asarray(tree["base_weights"], dtype=np.float32) + if base_weight.size != self.node_cleft[-1].size: + raise ValueError("vector-leaf is not yet supported.") + + default_left = to_integers(tree["default_left"]) + default_child = np.where(default_left == 1, self.node_cleft[-1], self.node_cright[-1]).astype(np.int64) + self.children_default.append(default_child) + self.sum_hess.append(np.asarray(tree["sum_hessian"], dtype=np.float64)) + + is_leaf = self.node_cleft[-1] == -1 + + # XGBoost stores split condition and leaf weight in the same field. + split_cond = np.asarray(tree["split_conditions"], dtype=np.float32) + leaf_weight = np.where(is_leaf, split_cond, 0.0) + thresholds = np.where(is_leaf, 0.0, split_cond) + + # Xgboost uses < for thresholds where shap uses <= Move the threshold down + # by the smallest possible increment + thresholds = np.where(is_leaf, 0.0, np.nextafter(thresholds, -np.float32(np.inf))) + threshold_types = np.zeros_like(thresholds, dtype=np.int32) + + self.values.append(leaf_weight.reshape(leaf_weight.size, 1)) + self.thresholds.append(thresholds) + self.threshold_types.append(threshold_types) + + split_idx = np.asarray(tree["split_indices"], dtype=np.int64) + self.features.append(split_idx) + + # - categorical features + # when ubjson is used, this is a byte array with each element as uint8 + split_types = to_integers(tree["split_type"]) + self.split_types.append(split_types) + # categories for each node is stored in a CSR style storage with segment as + # the begin ptr and the `categories' as values. + cat_segments: list[int] = tree["categories_segments"] + cat_sizes: list[int] = tree["categories_sizes"] + # node index for categorical nodes + cat_nodes: list[int] = tree["categories_nodes"] + assert len(cat_segments) == len(cat_sizes) == len(cat_nodes) + cats = tree["categories"] + + tree_categories = self.parse_categories(cat_nodes, cat_segments, cat_sizes, cats, self.node_cleft[-1]) + self.categories.append(tree_categories) + + @staticmethod + def parse_categories( + cat_nodes: list[int], + cat_segments: list[int], + cat_sizes: list[int], + cats: list[int], + left_children: np.ndarray, + ) -> list[list[int]]: + """Parse the JSON model to extract partitions of categories for each + node. Returns a list, in which each element is a list of categories for tree + split. For a numerical split, the list is empty. + + This is not used yet, only implemented for future reference. + + """ + # The storage for categories is only defined for categorical nodes to prevent + # unnecessary overhead for numerical splits, we track the categorical node that + # are processed using a counter. + cat_cnt = 0 + if cat_nodes: + last_cat_node = cat_nodes[cat_cnt] + else: + last_cat_node = -1 + node_categories: list[list[int]] = [] + for node_id in range(len(left_children)): + if node_id == last_cat_node: + beg = cat_segments[cat_cnt] + size = cat_sizes[cat_cnt] + end = beg + size + # categories for this node + node_cats = cats[beg:end] + # categories are unique for each node + assert len(set(node_cats)) == len(node_cats) + cat_cnt += 1 + if cat_cnt == len(cat_nodes): + last_cat_node = -1 # continue to process the rest of the nodes + else: + last_cat_node = cat_nodes[cat_cnt] + assert node_cats + node_categories.append(node_cats) + else: + # append an empty node, it's either a numerical node or a leaf. + node_categories.append([]) + return node_categories + + def get_trees(self, data=None, data_missing=None) -> list[SingleTree]: + trees = [] + for i in range(self.num_trees): + info = { + "children_left": self.node_cleft[i], + "children_right": self.node_cright[i], + "children_default": self.children_default[i], + "feature": self.features[i], + "threshold": self.thresholds[i], + "threshold_type": self.threshold_types[i], + "value": self.values[i], + "node_sample_weight": self.sum_hess[i], + } + trees.append(SingleTree(info, data=data, data_missing=data_missing)) + return trees + + def print_info(self) -> None: + print("--- global parameters ---") + print("base_score =", self.base_score) + print("num_feature =", self.num_feature) + print("num_class =", self.num_class) + print("name_obj =", self.name_obj) + print("name_gbm =", self.name_gbm) + print() + print("--- gbtree specific parameters ---") + print("num_feature =", self.num_feature) + + +class CatBoostTreeModelLoader: + def __init__(self, cb_model): + import tempfile + + with tempfile.TemporaryDirectory() as tmp_dir: + tmp_file = os.path.join(tmp_dir, "model.json") + cb_model.save_model(tmp_file, format="json") + with open(tmp_file, encoding="utf-8") as fh: + self.loaded_cb_model = json.load(fh) + + # load the CatBoost oblivious trees specific parameters + self.num_trees = len(self.loaded_cb_model["oblivious_trees"]) + self.max_depth = self.loaded_cb_model["model_info"]["params"]["tree_learner_options"]["depth"] + + def get_trees(self, data=None, data_missing=None): + # load each tree + trees = [] + for tree_index in range(self.num_trees): + # load the per-tree params + # depth = len(self.loaded_cb_model['oblivious_trees'][tree_index]['splits']) + + # load the nodes + + # Re-compute the number of samples that pass through each node if we are given data + leaf_weights = self.loaded_cb_model["oblivious_trees"][tree_index]["leaf_weights"] + leaf_weights_unraveled = [0] * (len(leaf_weights) - 1) + leaf_weights + leaf_weights_unraveled[0] = sum(leaf_weights) + for index in range(len(leaf_weights) - 2, 0, -1): + leaf_weights_unraveled[index] = ( + leaf_weights_unraveled[2 * index + 1] + leaf_weights_unraveled[2 * index + 2] + ) + + leaf_values = self.loaded_cb_model["oblivious_trees"][tree_index]["leaf_values"] + leaf_values_unraveled = [0] * (len(leaf_values) - 1) + leaf_values + + children_left = [i * 2 + 1 for i in range(len(leaf_values) - 1)] + children_left += [-1] * len(leaf_values) + + children_right = [i * 2 for i in range(1, len(leaf_values))] + children_right += [-1] * len(leaf_values) + + children_default = [i * 2 + 1 for i in range(len(leaf_values) - 1)] + children_default += [-1] * len(leaf_values) + + # load the split features and borders + # split features and borders go from leafs to the root + split_features_index = [] + borders = [] + + # split features and borders go from leafs to the root + for elem in self.loaded_cb_model["oblivious_trees"][tree_index]["splits"]: + split_type = elem.get("split_type") + if split_type == "FloatFeature": + split_feature_index = elem.get("float_feature_index") + borders.append(elem["border"]) + elif split_type == "OneHotFeature": + split_feature_index = elem.get("cat_feature_index") + borders.append(elem["value"]) + else: + split_feature_index = elem.get("ctr_target_border_idx") + borders.append(elem["border"]) + split_features_index.append(split_feature_index) + + split_features_index_unraveled = [] + for counter, feature_index in enumerate(split_features_index[::-1]): + split_features_index_unraveled += [feature_index] * (2**counter) + split_features_index_unraveled += [0] * len(leaf_values) + + borders_unraveled = [] + for counter, border in enumerate(borders[::-1]): + borders_unraveled += [border] * (2**counter) + borders_unraveled += [0] * len(leaf_values) + + trees.append( + SingleTree( + { + "children_left": np.array(children_left), + "children_right": np.array(children_right), + "children_default": np.array(children_default), + "feature": np.array(split_features_index_unraveled), + "threshold": np.array(borders_unraveled), + "value": np.array(leaf_values_unraveled).reshape((-1, 1)), + "node_sample_weight": np.array(leaf_weights_unraveled), + }, + data=data, + data_missing=data_missing, + ) + ) + + return trees diff --git a/shared/package-files/45/45c7ced0deb16e51fcb5d26bc42ab914c9c86fe44df1933e997ec2cbf87eed3e/kclique.py b/shared/package-files/45/45c7ced0deb16e51fcb5d26bc42ab914c9c86fe44df1933e997ec2cbf87eed3e/kclique.py new file mode 100644 index 0000000000000000000000000000000000000000..21404c7e09220565e09dbc3315bed4798cce8627 --- /dev/null +++ b/shared/package-files/45/45c7ced0deb16e51fcb5d26bc42ab914c9c86fe44df1933e997ec2cbf87eed3e/kclique.py @@ -0,0 +1,78 @@ +from collections import defaultdict + +import networkx as nx + +__all__ = ["k_clique_communities"] + + +def k_clique_communities(G, k, cliques=None): + """Find k-clique communities in graph using the percolation method. + + A k-clique community is the union of all cliques of size k that + can be reached through adjacent (sharing k-1 nodes) k-cliques. + + Parameters + ---------- + G : NetworkX graph + + k : int + Size of smallest clique + + cliques: list or generator + Precomputed cliques (use networkx.find_cliques(G)) + + Returns + ------- + Yields sets of nodes, one for each k-clique community. + + Examples + -------- + >>> G = nx.complete_graph(5) + >>> K5 = nx.convert_node_labels_to_integers(G, first_label=2) + >>> G.add_edges_from(K5.edges()) + >>> c = list(nx.community.k_clique_communities(G, 4)) + >>> sorted(list(c[0])) + [0, 1, 2, 3, 4, 5, 6] + >>> list(nx.community.k_clique_communities(G, 6)) + [] + + References + ---------- + .. [1] Gergely Palla, Imre Derényi, Illés Farkas1, and Tamás Vicsek, + Uncovering the overlapping community structure of complex networks + in nature and society Nature 435, 814-818, 2005, + doi:10.1038/nature03607 + """ + if k < 2: + raise nx.NetworkXError(f"k={k}, k must be greater than 1.") + if cliques is None: + cliques = nx.find_cliques(G) + cliques = [frozenset(c) for c in cliques if len(c) >= k] + + # First index which nodes are in which cliques + membership_dict = defaultdict(list) + for clique in cliques: + for node in clique: + membership_dict[node].append(clique) + + # For each clique, see which adjacent cliques percolate + perc_graph = nx.Graph() + perc_graph.add_nodes_from(cliques) + for clique in cliques: + for adj_clique in _get_adjacent_cliques(clique, membership_dict): + if len(clique.intersection(adj_clique)) >= (k - 1): + perc_graph.add_edge(clique, adj_clique) + + # Connected components of clique graph with perc edges + # are the percolated cliques + for component in nx.connected_components(perc_graph): + yield (frozenset.union(*component)) + + +def _get_adjacent_cliques(clique, membership_dict): + adjacent_cliques = set() + for n in clique: + for adj_clique in membership_dict[n]: + if clique != adj_clique: + adjacent_cliques.add(adj_clique) + return adjacent_cliques diff --git a/shared/package-files/45/45ca76daf9c1d0548e121c194b27a2d35acf8e56dbe9452271bff8e2a2008299/affine_grid_generator_backward_ops.h b/shared/package-files/45/45ca76daf9c1d0548e121c194b27a2d35acf8e56dbe9452271bff8e2a2008299/affine_grid_generator_backward_ops.h new file mode 100644 index 0000000000000000000000000000000000000000..4099d217102a4de73d2c6fca2feb36ed21d6f3e9 --- /dev/null +++ b/shared/package-files/45/45ca76daf9c1d0548e121c194b27a2d35acf8e56dbe9452271bff8e2a2008299/affine_grid_generator_backward_ops.h @@ -0,0 +1,28 @@ +#pragma once + +// @generated by torchgen/gen.py from Operator.h + +#include +#include + +// Forward declarations of any types needed in the operator signatures. +// We can't directly include these classes because it will cause circular include dependencies. +// This file is included by TensorBody.h, which defines the Tensor class. +#include + +namespace at { +namespace _ops { + + +struct TORCH_API affine_grid_generator_backward { + using schema = at::Tensor (const at::Tensor &, c10::SymIntArrayRef, bool); + using ptr_schema = schema*; + // See Note [static constexpr char* members for windows NVCC] + STATIC_CONSTEXPR_STR_INL_EXCEPT_WIN_CUDA(name, "aten::affine_grid_generator_backward") + STATIC_CONSTEXPR_STR_INL_EXCEPT_WIN_CUDA(overload_name, "") + STATIC_CONSTEXPR_STR_INL_EXCEPT_WIN_CUDA(schema_str, "affine_grid_generator_backward(Tensor grad, SymInt[] size, bool align_corners) -> Tensor") + static at::Tensor call(const at::Tensor & grad, c10::SymIntArrayRef size, bool align_corners); + static at::Tensor redispatch(c10::DispatchKeySet dispatchKeySet, const at::Tensor & grad, c10::SymIntArrayRef size, bool align_corners); +}; + +}} // namespace at::_ops diff --git a/shared/package-files/45/45cbf2f65d451e74f2114606c11f66daf7b2c68cac6217d2398e3b3aba115b0d/_parameter_inference.py b/shared/package-files/45/45cbf2f65d451e74f2114606c11f66daf7b2c68cac6217d2398e3b3aba115b0d/_parameter_inference.py new file mode 100644 index 0000000000000000000000000000000000000000..7e615f9a7cd3bda6b88d988321f2cff7ec2abb33 --- /dev/null +++ b/shared/package-files/45/45cbf2f65d451e74f2114606c11f66daf7b2c68cac6217d2398e3b3aba115b0d/_parameter_inference.py @@ -0,0 +1,519 @@ +""" +Created on Wed May 30 15:11:09 2018 + +@author: josef +""" + +from dataclasses import dataclass +from typing import ClassVar + +import numpy as np +from scipy import stats + +from statsmodels.stats.base import LimitedIterationMixin +from statsmodels.tools.validation import string_like + + +@dataclass(frozen=True, slots=True) +class ScoreTestResult(LimitedIterationMixin[float]): + """ + Result of :func:`_lm_robust` and :func:`score_test`. + + Parameters + ---------- + statistic : float or ndarray + Score/Lagrange multiplier test statistic. This is a chisquare + statistic for ``hypothesis="joint"``, or an array of z-statistics, + one per constraint, for ``hypothesis="separate"``. + pvalue : float or ndarray + p-value(s) of the test, based on `distribution`. + distribution : {"chi2", "norm"} + Name of the reference distribution used for `pvalue`. + k_constraint : int or None, optional + Number of constraints tested, equal to the degrees of freedom of + the chi-square distribution. Only set for the joint hypothesis + test (``distribution="chi2"``), otherwise None. + + Notes + ----- + Unpacks as ``statistic, pvalue = result``. Other values are only + accessible using attributes. + """ + + _iter_fields: ClassVar[tuple[str, ...]] = ("statistic", "pvalue") + + statistic: float + pvalue: float + distribution: str + k_constraint: int | None = None + + +# this is a copy from stats._diagnostic_other to avoid circular imports +def _lm_robust(score, constraint_matrix, score_deriv_inv, cov_score, cov_params=None): + """general formula for score/LM test + + generalized score or lagrange multiplier test for implicit constraints + + `r(params) = 0`, with gradient `R = d r / d params` + + linear constraints are given by `R params - q = 0` + + It is assumed that all arrays are evaluated at the constrained estimates. + + + Parameters + ---------- + score : ndarray, 1-D + derivative of objective function at estimated parameters + of constrained model + constraint_matrix : ndarray + Linear restriction matrix or Jacobian of nonlinear constraints + (denoted `R` below). + score_deriv_inv : ndarray, symmetric, square + inverse of second derivative of objective function (denoted `Ainv` + below). + TODO: could be inverse of OPG or any other estimator if information + matrix equality holds + cov_score : ndarray, symmetric, square + covariance matrix of the score (denoted `B` below). This is the + inner part of a sandwich estimator. + cov_params : ndarray, symmetric, square, optional + covariance of full parameter vector evaluated at constrained + parameter estimate (denoted `V` below). This can be specified + instead of cov_score. + + Returns + ------- + ScoreTestResult + See :class:`ScoreTestResult` for a description of the attributes. + + Notes + ----- + + """ + # shorthand alias + R, Ainv, B, V = constraint_matrix, score_deriv_inv, cov_score, cov_params + + k_constraints = np.linalg.matrix_rank(R) + tmp = R.dot(Ainv) + wscore = tmp.dot(score) # C Ainv score + + if B is None and V is None: + # only Ainv is given, so we assume information matrix identity holds + # computational short cut, should be same if Ainv == inv(B) + lm_stat = score.dot(Ainv.dot(score)) + else: + # information matrix identity does not hold + if V is None: + inner = tmp.dot(B).dot(tmp.T) + else: + inner = R.dot(V).dot(R.T) + + # lm_stat2 = wscore.dot(np.linalg.pinv(inner).dot(wscore)) + # Let's assume inner is invertible, + # TODO: check if usecase for pinv exists + lm_stat = wscore.dot(np.linalg.solve(inner, wscore)) + pval = stats.chi2.sf(lm_stat, k_constraints) + return ScoreTestResult( + statistic=lm_stat, + pvalue=pval, + k_constraint=k_constraints, + distribution="chi2", + ) + + +def score_test( + self, + exog_extra=None, + params_constrained=None, + hypothesis="joint", + cov_type=None, + cov_kwds=None, + k_constraints=None, + r_matrix=None, + scale=None, + observed=True, + *, + return_object: bool | None = None, +): + """score test for restrictions or for omitted variables + + Null Hypothesis : constraints are satisfied + + Alternative Hypothesis : at least one of the constraints does not hold + + This allows to specify restricted and unrestricted model properties in + three different ways + + - fit_constrained result: model contains score and hessian function for + the full, unrestricted model, but the parameter estimate in the results + instance is for the restricted model. This is the case if the model + was estimated with fit_constrained. + - restricted model with variable addition: If exog_extra is not None, then + it is assumed that the current model is a model with zero restrictions + and the unrestricted model is given by adding exog_extra as additional + explanatory variables. + - unrestricted model with restricted parameters explicitly provided. If + params_constrained is not None, then the model is assumed to be for the + unrestricted model, but the provided parameters are for the restricted + model. + TODO: This case will currently only work for `nonrobust` cov_type, + otherwise we will also need the restriction matrix provided by the user. + + + Parameters + ---------- + exog_extra : array_like, tuple of array_like, or None, optional + Explanatory variables that are jointly tested for inclusion in the + model, i.e., omitted variables. A 2-tuple of array_like can be + given to jointly test the addition of exogenous regressors to + both the mean and a second (e.g., precision or scale) model + component. + params_constrained : array_like, optional + estimated parameter of the restricted model. This can be the + parameter estimate for the current when testing for omitted + variables. + hypothesis : {'joint', 'separate'}, optional + If hypothesis is 'joint', then the chisquare test results for the + joint hypothesis that all constraints hold is returned. + If hypothesis is 'separate', then z-test results for each constraint + is returned. + This is currently only implemented for cov_type="nonrobust". + cov_type : str, optional + Warning: only partially implemented so far, currently only "nonrobust" + and "HC0" are supported. + If cov_type is None, then the cov_type specified in fit for the Wald + tests is used. + If the cov_type argument is not None, then it will be used instead of + the Wald cov_type given in fit. + cov_kwds : dict, optional + Keyword arguments for the specified `cov_type`. + k_constraints : int or None, optional + Number of constraints that were used in the estimation of params + restricted relative to the number of exog in the model. + This must be provided if no exog_extra are given. If exog_extra is + not None, then k_constraints is assumed to be zero if it is None. + r_matrix : array_like or None, optional + Restriction matrix for the constraints. If not provided, it is + constructed from `self.constraints` or from `exog_extra`. + scale : float or None, optional + Optional scale to use in the score and Hessian calculation, for + example for the results of a fit_constrained estimation with fixed + scale. + observed : bool, optional + If True, then the observed Hessian is used in calculating the + covariance matrix of the score. If false then the expected + information matrix is used. This currently only applies to GLM where + EIM is available. + Warning: This option might still change. + return_object : bool, optional + No longer used. ``score_test`` always returns a ``ScoreTestResult``, + which unpacks as the ``(statistic, pvalue)`` tuple this function has + always returned, with ``k_constraint`` (and ``distribution``) + available as attributes. + + .. deprecated:: 0.15.0 + + This parameter has no effect and will be removed in a future + release. + + Returns + ------- + ScoreTestResult + See :class:`ScoreTestResult` for a description of the attributes. + For ``hypothesis="joint"``, `statistic` and `pvalue` are the + chisquare test and `k_constraint` is the number of constraints. For + ``hypothesis="separate"``, `statistic` and `pvalue` are arrays + with one z-test per constraint, and `k_constraint` is None. + + Notes + ----- + Status: experimental, several options are not implemented yet or are not + verified yet. Currently available options might also still change. + + cov_type is 'nonrobust': + + The covariance matrix for the score is based on the Hessian, i.e. + observed information matrix or optionally on the expected information + matrix. + + cov_type is 'HC0' + + The covariance matrix of the score is the simple empirical covariance of + score_obs without degrees of freedom correction. + """ + hypothesis = string_like( + hypothesis, "hypothesis", options=("joint", "separate"), lower=False + ) + # TODO: we are computing unnecessary things for cov_type nonrobust + if hasattr(self, "_results"): + # use numpy if we have wrapper, not relevant if method + self = self._results + model = self.model + nobs = model.endog.shape[0] # model.nobs + # discrete Poisson does not have nobs + if params_constrained is None: + params_constrained = self.params + cov_type = cov_type if cov_type is not None else self.cov_type + + if observed is False: + hess_kwd = {"observed": False} + else: + hess_kwd = {} + + if exog_extra is None: + + if hasattr(self, "constraints"): + if isinstance(self.constraints, tuple): + r_matrix = self.constraints[0] + else: + r_matrix = self.constraints.coefs + k_constraints = r_matrix.shape[0] + + elif k_constraints is None: + raise ValueError( + "if exog_extra is None, then k_constraints needs to be given" + ) + + # we need to use results scale as additional parameter + if scale is not None: + # we need to use results scale as additional parameter, gh #7840 + score_kwd = {"scale": scale} + hess_kwd["scale"] = scale + else: + score_kwd = {} + + # duplicate computation of score, might not be needed + score = model.score(params_constrained, **score_kwd) + score_obs = model.score_obs(params_constrained, **score_kwd) + hessian = model.hessian(params_constrained, **hess_kwd) + + else: + if cov_type == "V": + raise ValueError("if exog_extra is not None, then cov_type cannot be V") + if hasattr(self, "constraints"): + raise NotImplementedError( + "if exog_extra is not None, then self" + "should not be a constrained fit result" + ) + + if isinstance(exog_extra, tuple): + sh = _scorehess_extra( + self, params_constrained, *exog_extra, hess_kwds=hess_kwd + ) + score_obs, hessian, k_constraints, r_matrix = sh + score = score_obs.sum(0) + else: + exog_extra = np.asarray(exog_extra) + k_extra = exog_extra.shape[1] + ex = np.column_stack((model.exog, exog_extra)) + + score_factor = model.score_factor(params_constrained) + hessian_factor = model.hessian_factor(params_constrained, **hess_kwd) + # see #4714 + from statsmodels.genmod.generalized_linear_model import GLM + + if isinstance(model, GLM): + hessian_factor *= -1 + + if hessian_factor.ndim == 3: + # Multinomial-type model: score_factor is (n, J-1), + # hessian_factor is (n, J-1, J-1). + # Each extra exog column adds J-1 parameters. + n_eq = score_factor.shape[1] # J-1 + k_constraints = k_extra * n_eq + # r_matrix selects the last k_constraints parameters + # in the extended parameter vector of length + # (K + k_extra) * n_eq + n_params_ext = ex.shape[1] * n_eq + r_matrix = np.eye(n_params_ext)[-k_constraints:] + # score_obs: Kronecker product per observation + # (n, J-1, K_ext) -> (n, (J-1)*K_ext) + score_obs = (score_factor[:, :, None] + * ex[:, None, :]).reshape(nobs, -1) + # Hessian: block matrix ((J-1)*K_ext, (J-1)*K_ext) + # H[(j*K_ext):((j+1)*K_ext), (l*K_ext):((l+1)*K_ext)] + # = ex.T @ diag(hf[:, j, l]) @ ex + K_ext = ex.shape[1] + hessian = np.empty((n_eq * K_ext, n_eq * K_ext)) + for j in range(n_eq): + for ll in range(n_eq): + hessian[j*K_ext:(j+1)*K_ext, + ll*K_ext:(ll+1)*K_ext] = ( + (ex.T * hessian_factor[:, j, ll]) @ ex + ) + else: + # Scalar or two-parameter models + k_constraints = k_extra + # TODO use diag instead of full np.eye + r_matrix = np.eye(len(self.params) + k_constraints + )[-k_constraints:] + if score_factor.ndim == 1: + score_obs = (score_factor[:, None] * ex) + else: + sf = score_factor + score_obs = np.column_stack( + (sf[:, :1] * ex, sf[:, 1:])) + hessian = np.dot(ex.T * hessian_factor, ex) + + score = score_obs.sum(0) + + if cov_type == "nonrobust": + cov_score_test = -hessian + elif cov_type.upper() == "HC0": + hinv = -np.linalg.inv(hessian) + cov_score = nobs * np.cov(score_obs.T) + # temporary to try out + lm = _lm_robust(score, r_matrix, hinv, cov_score, cov_params=None) + return lm + # alternative is to use only the center, but it is singular + # https://github.com/statsmodels/statsmodels/pull/2096#issuecomment-393646205 + # cov_score_test_inv = cov_lm_robust(score, r_matrix, hinv, + # cov_score, cov_params=None) + elif cov_type.upper() == "V": + # TODO: this does not work, V in fit_constrained results is singular + # we need cov_params without the zeros in it + hinv = -np.linalg.inv(hessian) + cov_score = nobs * np.cov(score_obs.T) + V = self.cov_params_default + # temporary to try out + lm = _lm_robust(score, r_matrix, hinv, cov_score, cov_params=V) + return lm + else: + msg = 'Only cov_type "nonrobust" and "HC0" are available.' + raise NotImplementedError(msg) + + if hypothesis == "joint": + chi2stat = score.dot(np.linalg.solve(cov_score_test, score[:, None])) + pval = stats.chi2.sf(chi2stat, k_constraints) + # return a stats results instance instead? Contrast? + return ScoreTestResult( + statistic=chi2stat, + pvalue=pval, + k_constraint=k_constraints, + distribution="chi2", + ) + else: # hypothesis == "separate" + diff = score + bse = np.sqrt(np.diag(cov_score_test)) + stat = diff / bse + pval = stats.norm.sf(np.abs(stat)) * 2 + return ScoreTestResult( + statistic=stat, + pvalue=pval, + distribution="norm", + ) + + +def _scorehess_extra( + self, params=None, exog_extra=None, exog2_extra=None, hess_kwds=None +): + """Experimental helper function for variable addition score test. + + This uses score and hessian factor at the params which should be the + params of the restricted model. + + """ + if hess_kwds is None: + hess_kwds = {} + # this corresponds to a model methods, so we need only the model + model = self.model + # as long as we have results instance, we can take params from it + if params is None: + params = self.params + + # get original exog from model, currently only if exactly 2 + exog_o1, exog_o2 = model._get_exogs() + + if exog_o2 is None: + # if extra params is scalar, as in NB, GPP + exog_o2 = np.ones((exog_o1.shape[0], 1)) + + k_mean = exog_o1.shape[1] + k_prec = exog_o2.shape[1] + if exog_extra is not None: + exog = np.column_stack((exog_o1, exog_extra)) + else: + exog = exog_o1 + + if exog2_extra is not None: + exog2 = np.column_stack((exog_o2, exog2_extra)) + else: + exog2 = exog_o2 + + k_mean_new = exog.shape[1] + k_prec_new = exog2.shape[1] + k_cm = k_mean_new - k_mean + k_cp = k_prec_new - k_prec + k_constraints = k_cm + k_cp + + index_mean = np.arange(k_mean, k_mean_new) + index_prec = np.arange(k_mean_new + k_prec, k_mean_new + k_prec_new) + + r_matrix = np.zeros((k_constraints, len(params) + k_constraints)) + # print(exog.shape, exog2.shape) + # print(r_matrix.shape, k_cm, k_cp, k_mean_new, k_prec_new) + # print(index_mean, index_prec) + r_matrix[:k_cm, index_mean] = np.eye(k_cm) + r_matrix[k_cm : k_cm + k_cp, index_prec] = np.eye(k_cp) + + if hasattr(model, "score_hessian_factor"): + sf, hf = model.score_hessian_factor(params, return_hessian=True, **hess_kwds) + else: + sf = model.score_factor(params) + hf = model.hessian_factor(params, **hess_kwds) + + sf1, sf2 = sf + hf11, hf12, hf22 = hf + + # elementwise product for each row (observation) + d1 = sf1[:, None] * exog + d2 = sf2[:, None] * exog2 + score_obs = np.column_stack((d1, d2)) + + # elementwise product for each row (observation) + d11 = (exog.T * hf11).dot(exog) + d12 = (exog.T * hf12).dot(exog2) + d22 = (exog2.T * hf22).dot(exog2) + hessian = np.block([[d11, d12], [d12.T, d22]]) + return score_obs, hessian, k_constraints, r_matrix + + +def im_ratio(results): + res = getattr(results, "_results", results) # shortcut + hess = res.model.hessian(res.params) + if res.cov_type == "nonrobust": + score_obs = res.model.score_obs(res.params) + cov_score = score_obs.T @ score_obs + hessneg_inv = np.linalg.inv(-hess) + im_ratio = hessneg_inv @ cov_score + else: + im_ratio = res.cov_params() @ (-hess) + return im_ratio + + +def tic(results): + """Takeuchi information criterion for misspecified models""" + imr = getattr(results, "im_ratio", im_ratio(results)) + tic = -2 * results.llf + 2 * np.trace(imr) + return tic + + +def gbic(results, gbicp=False): + """generalized BIC for misspecified models + + References + ---------- + Lv, Jinchi, and Jun S. Liu. 2014. "Model Selection Principles in + Misspecified Models." Journal of the Royal Statistical Society. + Series B (Statistical Methodology) 76 (1): 141-67. + + """ + self = getattr(results, "_results", results) + k_params = self.df_model + 1 + nobs = k_params + self.df_resid + imr = getattr(results, "im_ratio", im_ratio(results)) + imr_logdet = np.linalg.slogdet(imr)[1] + gbic_val = -2 * self.llf + k_params * np.log(nobs) - imr_logdet # LL equ. (20) + gbicp_val = gbic_val + np.trace(imr) # LL equ. (23) + return gbic_val, gbicp_val diff --git a/shared/package-files/45/45ccc4466744396b1d9c25937e8e30fa7bb8e1cf436493b062efd91a3a70a03a/_histogramdd_from_bin_tensors_ops.h b/shared/package-files/45/45ccc4466744396b1d9c25937e8e30fa7bb8e1cf436493b062efd91a3a70a03a/_histogramdd_from_bin_tensors_ops.h new file mode 100644 index 0000000000000000000000000000000000000000..b3c813aa7e4c033dafb925515cce8b64f11a8afc --- /dev/null +++ b/shared/package-files/45/45ccc4466744396b1d9c25937e8e30fa7bb8e1cf436493b062efd91a3a70a03a/_histogramdd_from_bin_tensors_ops.h @@ -0,0 +1,39 @@ +#pragma once + +// @generated by torchgen/gen.py from Operator.h + +#include +#include + +// Forward declarations of any types needed in the operator signatures. +// We can't directly include these classes because it will cause circular include dependencies. +// This file is included by TensorBody.h, which defines the Tensor class. +#include + +namespace at { +namespace _ops { + + +struct TORCH_API _histogramdd_from_bin_tensors { + using schema = at::Tensor (const at::Tensor &, at::TensorList, const c10::optional &, bool); + using ptr_schema = schema*; + // See Note [static constexpr char* members for windows NVCC] + STATIC_CONSTEXPR_STR_INL_EXCEPT_WIN_CUDA(name, "aten::_histogramdd_from_bin_tensors") + STATIC_CONSTEXPR_STR_INL_EXCEPT_WIN_CUDA(overload_name, "") + STATIC_CONSTEXPR_STR_INL_EXCEPT_WIN_CUDA(schema_str, "_histogramdd_from_bin_tensors(Tensor self, Tensor[] bins, *, Tensor? weight=None, bool density=False) -> Tensor") + static at::Tensor call(const at::Tensor & self, at::TensorList bins, const c10::optional & weight, bool density); + static at::Tensor redispatch(c10::DispatchKeySet dispatchKeySet, const at::Tensor & self, at::TensorList bins, const c10::optional & weight, bool density); +}; + +struct TORCH_API _histogramdd_from_bin_tensors_out { + using schema = at::Tensor & (const at::Tensor &, at::TensorList, const c10::optional &, bool, at::Tensor &); + using ptr_schema = schema*; + // See Note [static constexpr char* members for windows NVCC] + STATIC_CONSTEXPR_STR_INL_EXCEPT_WIN_CUDA(name, "aten::_histogramdd_from_bin_tensors") + STATIC_CONSTEXPR_STR_INL_EXCEPT_WIN_CUDA(overload_name, "out") + STATIC_CONSTEXPR_STR_INL_EXCEPT_WIN_CUDA(schema_str, "_histogramdd_from_bin_tensors.out(Tensor self, Tensor[] bins, *, Tensor? weight=None, bool density=False, Tensor(a!) out) -> Tensor(a!)") + static at::Tensor & call(const at::Tensor & self, at::TensorList bins, const c10::optional & weight, bool density, at::Tensor & out); + static at::Tensor & redispatch(c10::DispatchKeySet dispatchKeySet, const at::Tensor & self, at::TensorList bins, const c10::optional & weight, bool density, at::Tensor & out); +}; + +}} // namespace at::_ops diff --git a/shared/package-files/45/45ccf3a8a3adf095ffd284c878dc706070c1c610fed6bc047740b894e3d7d27e/linear.py b/shared/package-files/45/45ccf3a8a3adf095ffd284c878dc706070c1c610fed6bc047740b894e3d7d27e/linear.py new file mode 100644 index 0000000000000000000000000000000000000000..db48a825756b14c26b50b14cbc53d38c9545ac7f --- /dev/null +++ b/shared/package-files/45/45ccf3a8a3adf095ffd284c878dc706070c1c610fed6bc047740b894e3d7d27e/linear.py @@ -0,0 +1,197 @@ +from typing import Optional + +import torch +from torch.ao.nn.quantized.modules.utils import _quantize_weight, _hide_packed_params_repr + +__all__ = ['LinearPackedParams', 'Linear'] + +# TODO (zaf): Inherit from `quantized.LinearPackedParams` (T83294430) +class LinearPackedParams(torch.nn.Module): + _version = 1 + + def __init__(self, row_block_size=1, col_block_size=4, dtype=torch.qint8): + super().__init__() + + if dtype != torch.qint8: + raise NotImplementedError("Linear prepacking only supports QINT8") + self.dtype = dtype + wq = torch._empty_affine_quantized([1, 1], scale=1.0, zero_point=0, dtype=torch.qint8) + self.set_weight_bias(wq, None, row_block_size, col_block_size) + + def _get_name(self): + return "SparseQuantizedLinearPackedParams" + + @torch.jit.export + def set_weight_bias(self, weight: torch.Tensor, bias: Optional[torch.Tensor], + row_block_size: Optional[int], col_block_size: Optional[int]) -> None: + assert row_block_size is not None and col_block_size is not None + self._packed_params = torch.ops.sparse.qlinear_prepack(weight, bias, row_block_size, col_block_size) + + @torch.jit.export + def _weight_bias(self): + (weight, bias, block_sizes) = torch.ops.sparse.qlinear_unpack(self._packed_params) + return (weight, bias, block_sizes[0], block_sizes[1]) + + def forward(self, x): + return x + + def _save_to_state_dict(self, destination, prefix, keep_vars): + super()._save_to_state_dict(destination, prefix, keep_vars) + destination[prefix + 'dtype'] = self.dtype + destination[prefix + '_packed_params'] = self._weight_bias() + + def _load_from_state_dict(self, state_dict, prefix, local_metadata, strict, + missing_keys, unexpected_keys, error_msgs): + version = local_metadata.get('version', None) + assert version <= self._version + + self.dtype = state_dict.pop(prefix + 'dtype') + weight, bias, row_block_size, col_block_size = state_dict.pop(prefix + '_packed_params') + self.set_weight_bias(weight, bias, row_block_size, col_block_size) + + super()._load_from_state_dict(state_dict, prefix, local_metadata, False, + missing_keys, unexpected_keys, error_msgs) + + @torch.jit.export + def __getstate__(self): + return self._packed_params, self.training, self.dtype + + @torch.jit.export + def __setstate__(self, state): + (self._packed_params, self.training, self.dtype) = state + + def __repr__(self): + return self._weight_bias().__repr__() + +# TODO (zaf): Inherit from `quantized.Linear` (T83294430) +class Linear(torch.nn.Module): + r""" + A quantized sparse linear module with quantized tensor as inputs and outputs. + """ + _version = 1 + _FLOAT_MODULE = torch.nn.Linear + + def __init__(self, in_features, out_features, row_block_size, col_block_size, bias=True, dtype=torch.qint8): + super().__init__() + + if dtype != torch.qint8: + raise NotImplementedError("Only QINT8 is supported for Sparse Quantized Linear") + + self.in_features = in_features + self.out_features = out_features + + if bias: + bias = torch.zeros(self.out_features, dtype=torch.float) + else: + bias = None + + qweight = torch._empty_affine_quantized([out_features, in_features], + scale=1, zero_point=0, dtype=torch.qint8) + self._packed_params = LinearPackedParams(row_block_size=row_block_size, + col_block_size=col_block_size, + dtype=dtype) + self._packed_params.set_weight_bias(qweight, bias, row_block_size, col_block_size) + self.scale = 1.0 + self.zero_point = 0 + + @classmethod + def _get_name(cls): + return 'SparseQuantizedLinear' + + def extra_repr(self): + return 'in_features={}, out_features={}, scale={}, zero_point={}, qscheme={}'.format( + self.in_features, self.out_features, self.scale, self.zero_point, self.weight().qscheme() + ) + + def __repr__(self): + return _hide_packed_params_repr(self, LinearPackedParams) + + def forward(self, x: torch.Tensor) -> torch.Tensor: + return torch.ops.sparse.qlinear(x, self._packed_params._packed_params, self.scale, self.zero_point) + + def _save_to_state_dict(self, destination, prefix, keep_vars): + super()._save_to_state_dict(destination, prefix, keep_vars) + destination[prefix + 'scale'] = torch.tensor(self.scale) + destination[prefix + 'zero_point'] = torch.tensor(self.zero_point) + + def _load_from_state_dict(self, state_dict, prefix, local_metadata, strict, + missing_keys, unexpected_keys, error_msgs): + self.scale = float(state_dict[prefix + 'scale']) + state_dict.pop(prefix + 'scale') + + self.zero_point = int(state_dict[prefix + 'zero_point']) + state_dict.pop(prefix + 'zero_point') + + op_type = int(state_dict[prefix + 'op_type']) + state_dict.pop(prefix + 'op_type') + + version = local_metadata.get('version', None) + assert version <= self._version + + super()._load_from_state_dict( + state_dict, prefix, local_metadata, False, + missing_keys, unexpected_keys, error_msgs) + + def _weight_bias(self): + return self._packed_params._weight_bias() + + def weight(self): + return self._weight_bias()[0] + + def bias(self): + return self._weight_bias()[1] + + def set_weight_bias(self, w: torch.Tensor, b: Optional[torch.Tensor], + row_block_size: Optional[int], col_block_size: Optional[int]) -> None: + assert row_block_size is not None and col_block_size is not None + self._packed_params.set_weight_bias(w, b, row_block_size, col_block_size) + + @classmethod + def from_float(cls, mod): + r"""Create a quantized sparse module from a float module. + + We only care about the convert at this stage, no need for observers just yet. + + TODO(zaf): Need to add the sparse params to the qconfig + """ + assert type(mod) == cls._FLOAT_MODULE, cls._get_name() + \ + '.from_float only works for ' + cls._FLOAT_MODULE.__name__ + assert hasattr(mod, 'sparse_params'), \ + ('Expecting the Linear to have `sparse_params`. Make sure you have provided arguments ' + 'in the `sparsifier.squash_mask(params_to_save=("sparse_block_shape",))` method.') + sparse_block_shape = mod.sparse_params.get('sparse_block_shape', None) # type: ignore[operator, union-attr] + assert isinstance(sparse_block_shape, (tuple, list)) + assert len(sparse_block_shape) == 2 + # TODO: Need to add options to qconfig to avoid the calibration. + # TODO: Add calibration for the sparsity + assert hasattr(mod, 'qconfig'), 'Input float module must have qconfig defined' + activation_post_process = mod.activation_post_process + weight_post_process = mod.qconfig.weight() # type: ignore[operator, union-attr] + + # Assumption is that the weight is already sparsified by the + # `sparsifier.convert` + weight = mod.weight + + weight_post_process(weight) + dtype = weight_post_process.dtype + act_scale, act_zp = activation_post_process.calculate_qparams() # type: ignore[operator, union-attr] + assert dtype == torch.qint8, 'Weight observer must have dtype torch.qint8' + w_sc, w_zp = weight_post_process.calculate_qparams() + if isinstance(w_zp, torch.Tensor): + assert not torch.any(w_zp.bool()), "All weight zero points must map to 0" + else: + assert w_zp == 0, 'Weight zero point must map to 0' + qweight = _quantize_weight(weight.float(), weight_post_process) + + row_block_size = mod.sparse_params['sparse_block_shape'][0] # type: ignore[index] + col_block_size = mod.sparse_params['sparse_block_shape'][1] # type: ignore[index] + qlinear = cls(mod.in_features, + mod.out_features, + row_block_size, + col_block_size, + dtype=dtype) + qlinear.set_weight_bias(qweight, mod.bias, + row_block_size, col_block_size) # type: ignore[arg-type] + qlinear.scale = float(act_scale) + qlinear.zero_point = int(act_zp) + return qlinear diff --git a/shared/package-files/45/45ce86e213eec3e51a7c85f88850e56cb09fbc037c2aecb546dc16267e623e4c/utils.py b/shared/package-files/45/45ce86e213eec3e51a7c85f88850e56cb09fbc037c2aecb546dc16267e623e4c/utils.py new file mode 100644 index 0000000000000000000000000000000000000000..34b90162103747f14732a6a124555f2424a6a0f4 --- /dev/null +++ b/shared/package-files/45/45ce86e213eec3e51a7c85f88850e56cb09fbc037c2aecb546dc16267e623e4c/utils.py @@ -0,0 +1,778 @@ +from __future__ import annotations + +import functools +import operator +import re +from typing import TYPE_CHECKING, Any, Literal, TypeVar + +import numpy as np +import pandas as pd + +from narwhals._compliant import EagerSeriesNamespace +from narwhals._constants import ( + MS_PER_SECOND, + NS_PER_MICROSECOND, + NS_PER_MILLISECOND, + NS_PER_SECOND, + SECONDS_PER_DAY, + US_PER_SECOND, +) +from narwhals._exceptions import issue_warning +from narwhals._utils import ( + Implementation, + Version, + _DeferredIterable, + check_columns_exist, + isinstance_or_issubclass, + parse_version, + requires, +) +from narwhals.dependencies import is_pandas_like_series +from narwhals.exceptions import ShapeError + +if TYPE_CHECKING: + from collections.abc import Callable, Iterable, Iterator, Mapping + from types import ModuleType + from typing import TypeAlias + + import pyarrow as pa + from pandas._typing import Dtype as PandasDtype + from pandas.core.dtypes.dtypes import BaseMaskedDtype + from typing_extensions import TypeIs + + from narwhals._duration import IntervalUnit + from narwhals._pandas_like.expr import PandasLikeExpr + from narwhals._pandas_like.series import PandasLikeSeries + from narwhals._pandas_like.typing import ( + NativeDataFrameT, + NativeNDFrameT, + NativeSeriesT, + ) + from narwhals.dtypes import DType + from narwhals.typing import DTypeBackend, IntoDType, TimeUnit, _1DArray + + ExprT = TypeVar("ExprT", bound=PandasLikeExpr) + UnitCurrent: TypeAlias = TimeUnit + UnitTarget: TypeAlias = TimeUnit + BinOpBroadcast: TypeAlias = Callable[[Any, int], Any] + IntoRhs: TypeAlias = int + + +PANDAS_LIKE_IMPLEMENTATION = { + Implementation.PANDAS, + Implementation.CUDF, + Implementation.MODIN, +} +PD_DATETIME_RGX = r"""^ + datetime64\[ + (?Ps|ms|us|ns) # Match time unit: s, ms, us, or ns + (?:, # Begin non-capturing group for optional timezone + \s* # Optional whitespace after comma + (?P # Start named group for timezone + [a-zA-Z\/]+ # Match timezone name, e.g., UTC, America/New_York + (?:[+-]\d{2}:\d{2})? # Optional offset in format +HH:MM or -HH:MM + | # OR + pytz\.FixedOffset\(\d+\) # Match pytz.FixedOffset with integer offset in parentheses + ) # End time_zone group + )? # End optional timezone group + \] # Closing bracket for datetime64 +$""" +PATTERN_PD_DATETIME = re.compile(PD_DATETIME_RGX, re.VERBOSE) +PD_DURATION_RGX = r"""^ + timedelta64\[ + (?Ps|ms|us|ns) # Match time unit: s, ms, us, or ns + \] # Closing bracket for timedelta64 +$""" +PATTERN_PD_DURATION = re.compile(PD_DURATION_RGX, re.VERBOSE) + +NativeIntervalUnit: TypeAlias = Literal[ + "year", + "quarter", + "month", + "week", + "day", + "hour", + "minute", + "second", + "millisecond", + "microsecond", + "nanosecond", +] +ALIAS_DICT = {"d": "D", "m": "min"} +UNITS_DICT: Mapping[IntervalUnit, NativeIntervalUnit] = { + "y": "year", + "q": "quarter", + "mo": "month", + "d": "day", + "h": "hour", + "m": "minute", + "s": "second", + "ms": "millisecond", + "us": "microsecond", + "ns": "nanosecond", +} + +PANDAS_VERSION = Implementation.PANDAS._backend_version() +"""Static backend version for `pandas`. + +Always available if we reached here, due to a module-level import. +""" + +NUMPY_VERSION = parse_version(np) +"""Static version for `numpy`. + +Always available if we reached here, as imported in both _pandas_like/dataframe.py and +_pandas_like/series.py. +""" + + +def is_pandas_or_modin(implementation: Implementation) -> bool: + return implementation in {Implementation.PANDAS, Implementation.MODIN} + + +def align_and_extract_native( + lhs: PandasLikeSeries, rhs: PandasLikeSeries | object +) -> tuple[pd.Series[Any], pd.Series[Any] | object]: + """Validate RHS of binary operation. + + If the comparison isn't supported, return `NotImplemented` so that the + "right-hand-side" operation (e.g. `__radd__`) can be tried. + """ + from narwhals._pandas_like.series import PandasLikeSeries + + lhs_index = lhs.native.index + + if lhs._broadcast and isinstance(rhs, PandasLikeSeries) and not rhs._broadcast: + return lhs.native.iloc[0], rhs.native + + if isinstance(rhs, PandasLikeSeries): + if rhs._broadcast: + return (lhs.native, rhs.native.iloc[0]) + if rhs.native.index is not lhs_index: + return ( + lhs.native, + set_index(rhs.native, lhs_index, implementation=rhs._implementation), + ) + return (lhs.native, rhs.native) + + if isinstance(rhs, list): + msg = "Expected Series or scalar, got list." + raise TypeError(msg) + + # `rhs` must be scalar, so just leave it as-is + return lhs.native, rhs + + +def set_index( + obj: NativeNDFrameT, index: Any, *, implementation: Implementation +) -> NativeNDFrameT: + """Wrapper around pandas' set_axis to set object index. + + We can set `copy` / `inplace` based on implementation/version. + """ + if isinstance(index, implementation.to_native_namespace().Index) and ( + expected_len := len(index) + ) != (actual_len := len(obj)): + msg = f"Expected object of length {expected_len}, got length: {actual_len}" + raise ShapeError(msg) + if implementation is Implementation.CUDF: + obj = obj.copy(deep=False) + obj.index = index + return obj + if implementation is Implementation.PANDAS and ( + (1, 5) <= implementation._backend_version() < (3,) + ): # pragma: no cover + result = obj.set_axis(index, axis=0, copy=False) # type: ignore[call-arg] + else: + result = obj.set_axis(index, axis=0) + return result # pyright: ignore[reportReturnType] + + +def rename( + obj: NativeNDFrameT, *args: Any, implementation: Implementation, **kwargs: Any +) -> NativeNDFrameT: + """Wrapper around pandas' rename so that we can set `copy` based on implementation/version.""" + if implementation is Implementation.PANDAS and ( + implementation._backend_version() < (3,) + ): # pragma: no cover + result = obj.rename(*args, **kwargs, copy=False, inplace=False) # type: ignore[call-overload] + else: + result = obj.rename(*args, **kwargs) + return result # pyright: ignore[reportReturnType] + + +@functools.lru_cache(maxsize=16) +def is_dtype_non_pyarrow_string(native_dtype: Any) -> bool: + """*There is no problem which can't be solved by adding an extra string type* pandas.""" + # TODO @dangotbanned: Investigate how we could handle `cudf` without `str(native_dtype)` + # https://github.com/rapidsai/cudf/blob/a32b8cf62c9b086b645b0825b78b99f065b1887f/python/cudf/cudf/utils/dtypes.py#L646-L670 + return isinstance(native_dtype, pd.StringDtype) or str(native_dtype) in { + "string", + "string[python]", + "string[pyarrow_numpy]", + "", # why? why? why? + "str", + } + + +@functools.lru_cache(maxsize=16) +def non_object_native_to_narwhals_dtype(native_dtype: Any, version: Version) -> DType: # noqa: C901, PLR0912 + dtype = str(native_dtype) + + dtypes = version.dtypes + if dtype in {"int64", "Int64"}: + return dtypes.Int64() + if dtype in {"int32", "Int32"}: + return dtypes.Int32() + if dtype in {"int16", "Int16"}: + return dtypes.Int16() + if dtype in {"int8", "Int8"}: + return dtypes.Int8() + if dtype in {"uint64", "UInt64"}: + return dtypes.UInt64() + if dtype in {"uint32", "UInt32"}: + return dtypes.UInt32() + if dtype in {"uint16", "UInt16"}: + return dtypes.UInt16() + if dtype in {"uint8", "UInt8"}: + return dtypes.UInt8() + if dtype in {"float64", "Float64"}: + return dtypes.Float64() + if dtype in {"float32", "Float32"}: + return dtypes.Float32() + if dtype == "float16": + return dtypes.Float16() + if is_dtype_non_pyarrow_string(native_dtype): + return dtypes.String() + if dtype in {"bool", "boolean"}: + return dtypes.Boolean() + if match_ := PATTERN_PD_DATETIME.match(dtype): + dt_time_unit: TimeUnit = match_.group("time_unit") # type: ignore[assignment] + dt_time_zone: str | None = match_.group("time_zone") + return dtypes.Datetime(dt_time_unit, dt_time_zone) + if match_ := PATTERN_PD_DURATION.match(dtype): + du_time_unit: TimeUnit = match_.group("time_unit") # type: ignore[assignment] + return dtypes.Duration(du_time_unit) + return dtypes.Unknown() # pragma: no cover + + +def object_native_to_narwhals_dtype( + series: PandasLikeSeries | None, version: Version, implementation: Implementation +) -> DType: + dtypes = version.dtypes + if implementation is Implementation.CUDF: + # Per conversations with their maintainers, they don't support arbitrary + # objects, so we can just return String. + return dtypes.String() + + infer = pd.api.types.infer_dtype + # Arbitrary limit of 100 elements to use to sniff dtype. + inferred_dtype = "empty" if series is None else infer(series.head(100), skipna=True) + if inferred_dtype == "string": + return dtypes.String() + if inferred_dtype == "empty" and version is not Version.V1: + # Default to String for empty Series. + return dtypes.String() + if inferred_dtype == "empty": + # But preserve returning Object in V1. + return dtypes.Object() + return dtypes.Object() + + +def native_categorical_to_narwhals_dtype( + native_dtype: pd.CategoricalDtype, version: Version, implementation: Implementation +) -> DType: + dtypes = version.dtypes + if version is Version.V1: + return dtypes.Categorical() + if native_dtype.ordered: + into_iter = ( + _cudf_categorical_to_list(native_dtype) + if implementation is Implementation.CUDF + else native_dtype.categories.to_list + ) + return dtypes.Enum(_DeferredIterable(into_iter)) + return dtypes.Categorical() + + +def _cudf_categorical_to_list( + native_dtype: Any, +) -> Callable[[], list[Any]]: # pragma: no cover + # NOTE: https://docs.rapids.ai/api/cudf/stable/user_guide/api_docs/api/cudf.core.dtypes.categoricaldtype/#cudf.core.dtypes.CategoricalDtype + # https://github.com/rapidsai/cudf/issues/18536 + # https://github.com/rapidsai/cudf/issues/14027 + def fn() -> list[Any]: + return native_dtype.categories.to_arrow().to_pylist() + + return fn + + +CUDF_BASE_DTYPE_PREFIX = ("list", "struct", "decimal") + + +def native_to_narwhals_dtype( + native_dtype: Any, + version: Version, + implementation: Implementation, + *, + allow_object: bool = False, +) -> DType: + str_dtype = str(native_dtype) + + if is_dtype_pyarrow(native_dtype) or str_dtype.startswith(CUDF_BASE_DTYPE_PREFIX): + from narwhals._arrow.utils import ( + native_to_narwhals_dtype as arrow_native_to_narwhals_dtype, + ) + + if hasattr(native_dtype, "to_arrow"): # pragma: no cover + pa_dtype: pa.DataType = native_dtype.to_arrow() # pyright: ignore[reportAttributeAccessIssue] + else: + pa_dtype = native_dtype.pyarrow_dtype + return arrow_native_to_narwhals_dtype(pa_dtype, version) + if str_dtype == "category": + return native_categorical_to_narwhals_dtype(native_dtype, version, implementation) + if str_dtype != "object": + return non_object_native_to_narwhals_dtype(native_dtype, version) + if implementation is Implementation.DASK: + # Per conversations with their maintainers, they don't support arbitrary + # objects, so we can just return String. + return version.dtypes.String() + if allow_object: # pragma: no cover + return object_native_to_narwhals_dtype(None, version, implementation) + msg = ( + "Unreachable code, object dtype should be handled separately" # pragma: no cover + ) + raise AssertionError(msg) + + +def is_dtype_numpy_nullable(dtype: Any) -> TypeIs[BaseMaskedDtype]: + """Return `True` if `dtype` is `"numpy_nullable"`.""" + # NOTE: We need a sentinel as the positive case is `BaseMaskedDtype.base = None` + # See https://github.com/narwhals-dev/narwhals/pull/2740#discussion_r2171667055 + sentinel = object() + return ( + isinstance(dtype, pd.api.extensions.ExtensionDtype) + and getattr(dtype, "base", sentinel) is None + ) + + +def get_dtype_backend(dtype: Any, implementation: Implementation) -> DTypeBackend: + """Get dtype backend for pandas type. + + Matches pandas' `dtype_backend` argument in `convert_dtypes`. + """ + if implementation is Implementation.CUDF: + return None + if is_dtype_pyarrow(dtype): + return "pyarrow" + return "numpy_nullable" if is_dtype_numpy_nullable(dtype) else None + + +# NOTE: Use this to avoid annotating inline +def iter_dtype_backends( + dtypes: Iterable[Any], implementation: Implementation +) -> Iterator[DTypeBackend]: + """Yield a `DTypeBackend` per-dtype. + + Matches pandas' `dtype_backend` argument in `convert_dtypes`. + """ + return (get_dtype_backend(dtype, implementation) for dtype in dtypes) + + +@functools.lru_cache(maxsize=16) +def is_dtype_pyarrow(dtype: Any) -> TypeIs[pd.ArrowDtype]: + return hasattr(pd, "ArrowDtype") and isinstance(dtype, pd.ArrowDtype) + + +dtypes = Version.MAIN.dtypes +NW_TO_PD_DTYPES_INVARIANT: Mapping[type[DType], str] = { + # TODO(Unassigned): is there no pyarrow-backed categorical? + # or at least, convert_dtypes(dtype_backend='pyarrow') doesn't + # convert to it? + dtypes.Categorical: "category", + dtypes.Object: "object", +} +NW_TO_PD_DTYPES_BACKEND: Mapping[type[DType], Mapping[DTypeBackend, str | type[Any]]] = { + dtypes.Float64: { + "pyarrow": "Float64[pyarrow]", + "numpy_nullable": "Float64", + None: "float64", + }, + dtypes.Float32: { + "pyarrow": "Float32[pyarrow]", + "numpy_nullable": "Float32", + None: "float32", + }, + dtypes.Float16: { + # pandas has no nullable (extension) `Float16`, so `numpy_nullable` falls + # back to the NumPy `float16` (nulls become `NaN`). + "pyarrow": "Float16[pyarrow]", + "numpy_nullable": "float16", + None: "float16", + }, + dtypes.Int64: {"pyarrow": "Int64[pyarrow]", "numpy_nullable": "Int64", None: "int64"}, + dtypes.Int32: {"pyarrow": "Int32[pyarrow]", "numpy_nullable": "Int32", None: "int32"}, + dtypes.Int16: {"pyarrow": "Int16[pyarrow]", "numpy_nullable": "Int16", None: "int16"}, + dtypes.Int8: {"pyarrow": "Int8[pyarrow]", "numpy_nullable": "Int8", None: "int8"}, + dtypes.UInt64: { + "pyarrow": "UInt64[pyarrow]", + "numpy_nullable": "UInt64", + None: "uint64", + }, + dtypes.UInt32: { + "pyarrow": "UInt32[pyarrow]", + "numpy_nullable": "UInt32", + None: "uint32", + }, + dtypes.UInt16: { + "pyarrow": "UInt16[pyarrow]", + "numpy_nullable": "UInt16", + None: "uint16", + }, + dtypes.UInt8: {"pyarrow": "UInt8[pyarrow]", "numpy_nullable": "UInt8", None: "uint8"}, + dtypes.Boolean: { + "pyarrow": "boolean[pyarrow]", + "numpy_nullable": "boolean", + None: "bool", + }, +} + + +def narwhals_to_native_dtype( # noqa: C901, PLR0912 + dtype: IntoDType, + dtype_backend: DTypeBackend, + implementation: Implementation, + version: Version, +) -> str | PandasDtype: + if dtype_backend not in {None, "pyarrow", "numpy_nullable"}: + msg = f"Expected one of {{None, 'pyarrow', 'numpy_nullable'}}, got: '{dtype_backend}'" + raise ValueError(msg) + dtypes = version.dtypes + base_type = dtype.base_type() + if pd_type := NW_TO_PD_DTYPES_INVARIANT.get(base_type): + return pd_type + if into_pd_type := NW_TO_PD_DTYPES_BACKEND.get(base_type): + return into_pd_type[dtype_backend] + if issubclass(base_type, dtypes.String): + if dtype_backend == "pyarrow": + import pyarrow as pa # ignore-banned-import + + # Note: this is different from `string[pyarrow]`, even though the repr + # looks the same. + # >>> pd.DataFrame({'a':['foo']}, dtype='string[pyarrow]')['a'].str.len() + # 0 3 + # Name: a, dtype: Int64 + # >>> pd.DataFrame({'a':['foo']}, dtype=pd.ArrowDtype(pa.string()))['a'].str.len() + # 0 3 + # Name: a, dtype: int32[pyarrow] + # + # `ArrowDType(pa.string())` is what `.convert_dtypes(dtype_backend='pyarrow')` converts to, + # so we use that here. + return pd.ArrowDtype(pa.string()) + if dtype_backend == "numpy_nullable": + return "string" + return str + if isinstance_or_issubclass(dtype, dtypes.Datetime): + if is_pandas_or_modin(implementation) and PANDAS_VERSION < ( + 2, + ): # pragma: no cover + if isinstance(dtype, dtypes.Datetime) and dtype.time_unit != "ns": + found = requires._unparse_version(PANDAS_VERSION) + available = f"available in 'pandas>=2.0', found version {found!r}." + changelog_url = "https://pandas.pydata.org/docs/dev/whatsnew/v2.0.0.html#construction-with-datetime64-or-timedelta64-dtype-with-unsupported-resolution" + msg = ( + f"`nw.Datetime(time_unit={dtype.time_unit!r})` is only {available}\n" + "Narwhals has fallen back to using `time_unit='ns'` to avoid an error.\n\n" + "Hint: to avoid this warning, consider either:\n" + f"- Upgrading pandas: {changelog_url}\n" + f"- Using a bare `nw.Datetime`, if this precision is not important" + ) + issue_warning(msg, UserWarning) + dt_time_unit = "ns" + else: + dt_time_unit = dtype.time_unit + + if dtype_backend == "pyarrow": + tz_part = f", tz={tz}" if (tz := dtype.time_zone) else "" + return f"timestamp[{dt_time_unit}{tz_part}][pyarrow]" + tz_part = f", {tz}" if (tz := dtype.time_zone) else "" + return f"datetime64[{dt_time_unit}{tz_part}]" + if isinstance_or_issubclass(dtype, dtypes.Duration): + if is_pandas_or_modin(implementation) and PANDAS_VERSION < ( + 2, + ): # pragma: no cover + du_time_unit = "ns" + else: + du_time_unit = dtype.time_unit + return ( + f"duration[{du_time_unit}][pyarrow]" + if dtype_backend == "pyarrow" + else f"timedelta64[{du_time_unit}]" + ) + if isinstance_or_issubclass(dtype, dtypes.Date): + try: + import pyarrow as pa # ignore-banned-import + except ModuleNotFoundError as exc: + # BUG: Never re-raised? + msg = "'pyarrow>=13.0.0' is required for `Date` dtype." + raise ModuleNotFoundError(msg) from exc + return "date32[pyarrow]" + if isinstance_or_issubclass(dtype, dtypes.Enum): + if version is Version.V1: + msg = "Converting to Enum is not supported in narwhals.stable.v1" + raise NotImplementedError(msg) + if isinstance(dtype, dtypes.Enum): + ns = implementation.to_native_namespace() + return ns.CategoricalDtype(dtype.categories, ordered=True) + msg = "Can not cast / initialize Enum without categories present" + raise ValueError(msg) + if issubclass( + base_type, + ( + dtypes.Struct, + dtypes.Array, + dtypes.List, + dtypes.Time, + dtypes.Binary, + dtypes.Decimal, + ), + ): + return narwhals_to_native_arrow_dtype(dtype, implementation, version) + msg = f"Unknown dtype: {dtype}" # pragma: no cover + raise AssertionError(msg) + + +def narwhals_to_native_arrow_dtype( + dtype: IntoDType, implementation: Implementation, version: Version +) -> pd.ArrowDtype: + if is_pandas_or_modin(implementation) and PANDAS_VERSION >= (2, 2): + try: + import pyarrow as pa # ignore-banned-import # noqa: F401 + except ImportError as exc: # pragma: no cover + msg = ( + f"Unable to convert to {dtype} due to the following exception: {exc.msg}" + ) + raise ImportError(msg) from exc + from narwhals._arrow.utils import narwhals_to_native_dtype as _to_arrow_dtype + + return pd.ArrowDtype(_to_arrow_dtype(dtype, version)) + msg = ( # pragma: no cover + f"Converting to {dtype} dtype is not supported for implementation " + f"{implementation} and version {version}." + ) + raise NotImplementedError(msg) + + +def int_dtype_mapper(dtype: Any) -> str: + if "pyarrow" in str(dtype): + return "Int64[pyarrow]" + if str(dtype).lower() != str(dtype): # pragma: no cover + return "Int64" + return "int64" + + +_TIMESTAMP_DATETIME_OP_FACTOR: Mapping[ + tuple[UnitCurrent, UnitTarget], tuple[BinOpBroadcast, IntoRhs] +] = { + ("ns", "us"): (operator.floordiv, 1_000), + ("ns", "ms"): (operator.floordiv, 1_000_000), + ("us", "ns"): (operator.mul, NS_PER_MICROSECOND), + ("us", "ms"): (operator.floordiv, 1_000), + ("ms", "ns"): (operator.mul, NS_PER_MILLISECOND), + ("ms", "us"): (operator.mul, 1_000), + ("s", "ns"): (operator.mul, NS_PER_SECOND), + ("s", "us"): (operator.mul, US_PER_SECOND), + ("s", "ms"): (operator.mul, MS_PER_SECOND), +} + + +def calculate_timestamp_datetime( + s: NativeSeriesT, current: TimeUnit, time_unit: TimeUnit +) -> NativeSeriesT: + if current == time_unit: + return s + if item := _TIMESTAMP_DATETIME_OP_FACTOR.get((current, time_unit)): + fn, factor = item + return fn(s, factor) + msg = ( # pragma: no cover + f"unexpected time unit {current}, please report an issue at " + "https://github.com/narwhals-dev/narwhals" + ) + raise AssertionError(msg) + + +_TIMESTAMP_DATE_FACTOR: Mapping[TimeUnit, int] = { + "ns": NS_PER_SECOND, + "us": US_PER_SECOND, + "ms": MS_PER_SECOND, + "s": 1, +} + + +def calculate_timestamp_date(s: NativeSeriesT, time_unit: TimeUnit) -> NativeSeriesT: + # NOTE: `pyright>=1.1.412` infers `pd.Series[Any] * int` as `Any` (nested `Any` now + # triggers overload materialization, https://github.com/microsoft/pyright/pull/11601) + return s * SECONDS_PER_DAY * _TIMESTAMP_DATE_FACTOR[time_unit] # pyright: ignore[reportReturnType] + + +def select_columns_by_name( + df: NativeDataFrameT, + column_names: list[str] | _1DArray, # NOTE: Cannot be a tuple! + implementation: Implementation, +) -> NativeDataFrameT | Any: + """Select columns by name. + + Prefer this over `df.loc[:, column_names]` as it's + generally more performant. + """ + if len(column_names) == df.shape[1] and all( + x == y for x, y in zip(df.columns, column_names, strict=True) + ): + return df + if (df.columns.dtype.kind == "b") or ( + implementation is Implementation.PANDAS + and implementation._backend_version() < (1, 5) + ): + # See https://github.com/narwhals-dev/narwhals/issues/1349#issuecomment-2470118122 + # for why we need this + if error := check_columns_exist(column_names, available=df.columns.tolist()): + raise error + return df.loc[:, column_names] + try: + return df[column_names] + except KeyError as e: + if error := check_columns_exist(column_names, available=df.columns.tolist()): + raise error from e + raise + + +def is_non_nullable_boolean(s: PandasLikeSeries) -> bool: + # cuDF booleans are nullable but the native dtype is still 'bool'. + return ( + s._implementation + in {Implementation.PANDAS, Implementation.MODIN, Implementation.DASK} + and s.native.dtype == "bool" + ) + + +def import_array_module(implementation: Implementation, /) -> ModuleType: + """Returns numpy or cupy module depending on the given implementation.""" + if implementation in {Implementation.PANDAS, Implementation.MODIN}: + import numpy as np + + return np + if implementation is Implementation.CUDF: + import cupy as cp # ignore-banned-import # cuDF dependency. + + return cp + msg = f"Expected pandas/modin/cudf, got: {implementation}" # pragma: no cover + raise AssertionError(msg) + + +class PandasLikeSeriesNamespace(EagerSeriesNamespace["PandasLikeSeries", Any]): ... + + +def make_group_by_kwargs(*, drop_null_keys: bool) -> dict[str, bool]: + return {"sort": False, "as_index": True, "dropna": drop_null_keys, "observed": True} + + +def broadcast_series_to_index( + native: pd.Series[Any], + index: Any, + *, + is_nested: bool, + series_class: type[pd.Series[Any]], +) -> pd.Series[Any]: + """Broadcast a scalar value from a (one element) Series to match a target index. + + For nested (arrow-backed) types, we rely on + [`pandas.array`](https://pandas.pydata.org/docs/reference/api/pandas.array.html). + + Arguments: + native: The native pandas-like Series containing the scalar value to broadcast. + index: The target index to broadcast to. + is_nested: Whether the Series has a nested (arrow-backed) dtype. + series_class: Series class to use for constructing the result. + + Returns: + A new Series with the scalar value broadcast to match the target index. + """ + value = native.iloc[0] + if is_nested: + from narwhals._arrow.utils import repeat + + # NOTE: Ignore typing because `pandas-stubs` are wrong + # TODO(FBruzzesi): Should we pass the `copy=False` flag? + pa_array = pd.array(repeat(value, len(index)), dtype=native.dtype) # type: ignore[call-overload] + + return series_class(pa_array, index=index, name=native.name) + + return series_class(value, index=index, dtype=native.dtype, name=native.name) + + +def _is_native_series(obj: object) -> TypeIs[pd.Series[Any]]: + # Narrows modin and cuDF to `pd.Series` too, matching how `_pandas_like` types them. + return is_pandas_like_series(obj) + + +def floordiv_null_on_zero( + dividend: pd.Series[Any] | float, divisor: pd.Series[Any] | float +) -> pd.Series[Any]: + """Floor-divide, with null wherever `divisor` is zero. + + Natively, integer division by zero gives `inf` (numpy-backed), `0` (nullable) + or raises (pyarrow-backed). + """ + if _is_native_series(divisor): + is_nonzero = divisor != 0 + if is_nonzero.all(): + return dividend // divisor + # A literal `1` upcasts a numpy bool divisor to object, and a nullable + # boolean one rejects it. + safe_divisor = divisor.where(is_nonzero, divisor.dtype.type(1)) + return (dividend // safe_divisor).where(is_nonzero) + assert _is_native_series(dividend) # noqa: S101 + try: + divisor_is_zero = bool(divisor == 0) + except (TypeError, ValueError): # `pd.NA == 0` and `array == 0` are ambiguous + divisor_is_zero = False + if divisor_is_zero: + all_false = type(dividend)(False, index=dividend.index) + # Every value gets masked, so this division only sets the result dtype. + return (dividend // type(divisor)(1)).where(all_false) + return dividend // divisor + + +def binary_string_sum_fallback( # pragma: no cover + left: pd.Series, right: Any, pdx: Any +) -> pd.Series: + # Workaround some upstream issues: + # - https://github.com/pandas-dev/pandas/issues/64393 + # - https://github.com/pandas-dev/pandas/issues/65220 + left_dtype = left.dtype + left_dtype_str = str(left_dtype) + if left_dtype_str == "large_string[pyarrow]" and isinstance(right, str): + import pyarrow as pa # ignore-banned-import + + return left + pa.scalar(right, type=pa.large_string()) # pyright: ignore[reportOperatorIssue] + if isinstance(right, pdx.Series): + right_dtype = right.dtype + if left_dtype_str == "object": + # Only for pandas pre 3.0. Anything is better than `object`, so take RHS. + return left.astype(right_dtype) + right + if hasattr(left.values, "__arrow_array__") and hasattr( + right.values, "__arrow_array__" + ): + import pyarrow as pa # ignore-banned-import + + left_arrow = left.values.__arrow_array__().type # noqa: PD011 # type: ignore[attr-defined] + right_arrow = right.values.__arrow_array__().type # noqa: PD011 # type: ignore[attr-defined] + if pa.types.is_string(left_arrow) and pa.types.is_large_string(right_arrow): + # https://github.com/pandas-dev/pandas/blob/b00d4f6710ff6c1c80319196657c31c2cf6c70ff/pandas/core/arrays/arrow/array.py#L1064-L1068 + pd_pa_large_string = pd.ArrowDtype(pa.large_string()) + return left.astype(pd_pa_large_string) + right.astype(pd_pa_large_string) + else: + pass + # Give precedence to the left-hand-side dtype. + return left + right.astype(left_dtype) + return left + right diff --git a/shared/package-files/45/45d051934d72b9fde3615942c06df9d6d2010b17a18b39193272acf5cf209cec/_color_data.pyi b/shared/package-files/45/45d051934d72b9fde3615942c06df9d6d2010b17a18b39193272acf5cf209cec/_color_data.pyi new file mode 100644 index 0000000000000000000000000000000000000000..feb3de9c3043d55910e2649804352ae96ccbd1ec --- /dev/null +++ b/shared/package-files/45/45d051934d72b9fde3615942c06df9d6d2010b17a18b39193272acf5cf209cec/_color_data.pyi @@ -0,0 +1,6 @@ +from .typing import ColorType + +BASE_COLORS: dict[str, ColorType] +TABLEAU_COLORS: dict[str, ColorType] +XKCD_COLORS: dict[str, ColorType] +CSS4_COLORS: dict[str, ColorType] diff --git a/shared/package-files/45/45d40e7f99e9dae2e06795a737e032e5838eb567d4fcc75ca6dbabf3ac47de95/test_optimize.py b/shared/package-files/45/45d40e7f99e9dae2e06795a737e032e5838eb567d4fcc75ca6dbabf3ac47de95/test_optimize.py new file mode 100644 index 0000000000000000000000000000000000000000..913ef51f049386a06c61164a3fc07c15111ed212 --- /dev/null +++ b/shared/package-files/45/45d40e7f99e9dae2e06795a737e032e5838eb567d4fcc75ca6dbabf3ac47de95/test_optimize.py @@ -0,0 +1,3257 @@ +""" +Unit tests for optimization routines from optimize.py + +Authors: + Ed Schofield, Nov 2005 + Andrew Straw, April 2008 + +""" +import itertools +import platform +import threading +import numpy as np +from numpy.testing import (assert_allclose, assert_equal, + assert_almost_equal, + assert_no_warnings, assert_warns, + assert_array_less, suppress_warnings) +import pytest +from pytest import raises as assert_raises + +import scipy +from scipy import optimize +from scipy.optimize._minimize import Bounds, NonlinearConstraint +from scipy.optimize._minimize import (MINIMIZE_METHODS, + MINIMIZE_METHODS_NEW_CB, + MINIMIZE_SCALAR_METHODS) +from scipy.optimize._linprog import LINPROG_METHODS +from scipy.optimize._root import ROOT_METHODS +from scipy.optimize._root_scalar import ROOT_SCALAR_METHODS +from scipy.optimize._qap import QUADRATIC_ASSIGNMENT_METHODS +from scipy.optimize._differentiable_functions import ScalarFunction, FD_METHODS +from scipy.optimize._optimize import MemoizeJac, show_options, OptimizeResult +from scipy.optimize import rosen, rosen_der, rosen_hess + +from scipy.sparse import (coo_matrix, csc_matrix, csr_matrix, coo_array, + csr_array, csc_array) +from scipy.conftest import array_api_compatible +from scipy._lib._array_api_no_0d import xp_assert_equal, array_namespace + +skip_xp_backends = pytest.mark.skip_xp_backends + + +def test_check_grad(): + # Verify if check_grad is able to estimate the derivative of the + # expit (logistic sigmoid) function. + + def expit(x): + return 1 / (1 + np.exp(-x)) + + def der_expit(x): + return np.exp(-x) / (1 + np.exp(-x))**2 + + x0 = np.array([1.5]) + + r = optimize.check_grad(expit, der_expit, x0) + assert_almost_equal(r, 0) + # SPEC-007 leave one call with seed to check it still works + r = optimize.check_grad(expit, der_expit, x0, + direction='random', seed=1234) + assert_almost_equal(r, 0) + + r = optimize.check_grad(expit, der_expit, x0, epsilon=1e-6) + assert_almost_equal(r, 0) + r = optimize.check_grad(expit, der_expit, x0, epsilon=1e-6, + direction='random', rng=1234) + assert_almost_equal(r, 0) + + # Check if the epsilon parameter is being considered. + r = abs(optimize.check_grad(expit, der_expit, x0, epsilon=1e-1) - 0) + assert r > 1e-7 + r = abs(optimize.check_grad(expit, der_expit, x0, epsilon=1e-1, + direction='random', rng=1234) - 0) + assert r > 1e-7 + + def x_sinx(x): + return (x*np.sin(x)).sum() + + def der_x_sinx(x): + return np.sin(x) + x*np.cos(x) + + x0 = np.arange(0, 2, 0.2) + + r = optimize.check_grad(x_sinx, der_x_sinx, x0, + direction='random', rng=1234) + assert_almost_equal(r, 0) + + assert_raises(ValueError, optimize.check_grad, + x_sinx, der_x_sinx, x0, + direction='random_projection', rng=1234) + + # checking can be done for derivatives of vector valued functions + r = optimize.check_grad(himmelblau_grad, himmelblau_hess, himmelblau_x0, + direction='all', rng=1234) + assert r < 5e-7 + + +class CheckOptimize: + """ Base test case for a simple constrained entropy maximization problem + (the machine translation example of Berger et al in + Computational Linguistics, vol 22, num 1, pp 39--72, 1996.) + """ + + def setup_method(self): + self.F = np.array([[1, 1, 1], + [1, 1, 0], + [1, 0, 1], + [1, 0, 0], + [1, 0, 0]]) + self.K = np.array([1., 0.3, 0.5]) + self.startparams = np.zeros(3, np.float64) + self.solution = np.array([0., -0.524869316, 0.487525860]) + self.maxiter = 1000 + self.funccalls = threading.local() + self.gradcalls = threading.local() + self.trace = threading.local() + + def func(self, x): + if not hasattr(self.funccalls, 'c'): + self.funccalls.c = 0 + + if not hasattr(self.gradcalls, 'c'): + self.gradcalls.c = 0 + + self.funccalls.c += 1 + if self.funccalls.c > 6000: + raise RuntimeError("too many iterations in optimization routine") + log_pdot = np.dot(self.F, x) + logZ = np.log(sum(np.exp(log_pdot))) + f = logZ - np.dot(self.K, x) + if not hasattr(self.trace, 't'): + self.trace.t = [] + self.trace.t.append(np.copy(x)) + return f + + def grad(self, x): + if not hasattr(self.gradcalls, 'c'): + self.gradcalls.c = 0 + self.gradcalls.c += 1 + log_pdot = np.dot(self.F, x) + logZ = np.log(sum(np.exp(log_pdot))) + p = np.exp(log_pdot - logZ) + return np.dot(self.F.transpose(), p) - self.K + + def hess(self, x): + log_pdot = np.dot(self.F, x) + logZ = np.log(sum(np.exp(log_pdot))) + p = np.exp(log_pdot - logZ) + return np.dot(self.F.T, + np.dot(np.diag(p), self.F - np.dot(self.F.T, p))) + + def hessp(self, x, p): + return np.dot(self.hess(x), p) + + +class CheckOptimizeParameterized(CheckOptimize): + + def test_cg(self): + # conjugate gradient optimization routine + if self.use_wrapper: + opts = {'maxiter': self.maxiter, 'disp': self.disp, + 'return_all': False} + res = optimize.minimize(self.func, self.startparams, args=(), + method='CG', jac=self.grad, + options=opts) + params, fopt, func_calls, grad_calls, warnflag = \ + res['x'], res['fun'], res['nfev'], res['njev'], res['status'] + else: + retval = optimize.fmin_cg(self.func, self.startparams, + self.grad, (), maxiter=self.maxiter, + full_output=True, disp=self.disp, + retall=False) + (params, fopt, func_calls, grad_calls, warnflag) = retval + + assert_allclose(self.func(params), self.func(self.solution), + atol=1e-6) + + # Ensure that function call counts are 'known good'; these are from + # SciPy 0.7.0. Don't allow them to increase. + assert self.funccalls.c == 9, self.funccalls.c + assert self.gradcalls.c == 7, self.gradcalls.c + + # Ensure that the function behaves the same; this is from SciPy 0.7.0 + assert_allclose(self.trace.t[2:4], + [[0, -0.5, 0.5], + [0, -5.05700028e-01, 4.95985862e-01]], + atol=1e-14, rtol=1e-7) + + def test_cg_cornercase(self): + def f(r): + return 2.5 * (1 - np.exp(-1.5*(r - 0.5)))**2 + + # Check several initial guesses. (Too far away from the + # minimum, the function ends up in the flat region of exp.) + for x0 in np.linspace(-0.75, 3, 71): + sol = optimize.minimize(f, [x0], method='CG') + assert sol.success + assert_allclose(sol.x, [0.5], rtol=1e-5) + + def test_bfgs(self): + # Broyden-Fletcher-Goldfarb-Shanno optimization routine + if self.use_wrapper: + opts = {'maxiter': self.maxiter, 'disp': self.disp, + 'return_all': False} + res = optimize.minimize(self.func, self.startparams, + jac=self.grad, method='BFGS', args=(), + options=opts) + + params, fopt, gopt, Hopt, func_calls, grad_calls, warnflag = ( + res['x'], res['fun'], res['jac'], res['hess_inv'], + res['nfev'], res['njev'], res['status']) + else: + retval = optimize.fmin_bfgs(self.func, self.startparams, self.grad, + args=(), maxiter=self.maxiter, + full_output=True, disp=self.disp, + retall=False) + (params, fopt, gopt, Hopt, + func_calls, grad_calls, warnflag) = retval + + assert_allclose(self.func(params), self.func(self.solution), + atol=1e-6) + + # Ensure that function call counts are 'known good'; these are from + # SciPy 0.7.0. Don't allow them to increase. + assert self.funccalls.c == 10, self.funccalls.c + assert self.gradcalls.c == 8, self.gradcalls.c + + # Ensure that the function behaves the same; this is from SciPy 0.7.0 + assert_allclose(self.trace.t[6:8], + [[0, -5.25060743e-01, 4.87748473e-01], + [0, -5.24885582e-01, 4.87530347e-01]], + atol=1e-14, rtol=1e-7) + + def test_bfgs_hess_inv0_neg(self): + # Ensure that BFGS does not accept neg. def. initial inverse + # Hessian estimate. + with pytest.raises(ValueError, match="'hess_inv0' matrix isn't " + "positive definite."): + x0 = np.array([1.3, 0.7, 0.8, 1.9, 1.2]) + opts = {'disp': self.disp, 'hess_inv0': -np.eye(5)} + optimize.minimize(optimize.rosen, x0=x0, method='BFGS', args=(), + options=opts) + + def test_bfgs_hess_inv0_semipos(self): + # Ensure that BFGS does not accept semi pos. def. initial inverse + # Hessian estimate. + with pytest.raises(ValueError, match="'hess_inv0' matrix isn't " + "positive definite."): + x0 = np.array([1.3, 0.7, 0.8, 1.9, 1.2]) + hess_inv0 = np.eye(5) + hess_inv0[0, 0] = 0 + opts = {'disp': self.disp, 'hess_inv0': hess_inv0} + optimize.minimize(optimize.rosen, x0=x0, method='BFGS', args=(), + options=opts) + + def test_bfgs_hess_inv0_sanity(self): + # Ensure that BFGS handles `hess_inv0` parameter correctly. + fun = optimize.rosen + x0 = np.array([1.3, 0.7, 0.8, 1.9, 1.2]) + opts = {'disp': self.disp, 'hess_inv0': 1e-2 * np.eye(5)} + res = optimize.minimize(fun, x0=x0, method='BFGS', args=(), + options=opts) + res_true = optimize.minimize(fun, x0=x0, method='BFGS', args=(), + options={'disp': self.disp}) + assert_allclose(res.fun, res_true.fun, atol=1e-6) + + @pytest.mark.filterwarnings('ignore::UserWarning') + def test_bfgs_infinite(self): + # Test corner case where -Inf is the minimum. See gh-2019. + def func(x): + return -np.e ** (-x) + def fprime(x): + return -func(x) + x0 = [0] + with np.errstate(over='ignore'): + if self.use_wrapper: + opts = {'disp': self.disp} + x = optimize.minimize(func, x0, jac=fprime, method='BFGS', + args=(), options=opts)['x'] + else: + x = optimize.fmin_bfgs(func, x0, fprime, disp=self.disp) + assert not np.isfinite(func(x)) + + def test_bfgs_xrtol(self): + # test for #17345 to test xrtol parameter + x0 = [1.3, 0.7, 0.8, 1.9, 1.2] + res = optimize.minimize(optimize.rosen, + x0, method='bfgs', options={'xrtol': 1e-3}) + ref = optimize.minimize(optimize.rosen, + x0, method='bfgs', options={'gtol': 1e-3}) + assert res.nit != ref.nit + + def test_bfgs_c1(self): + # test for #18977 insufficiently low value of c1 leads to precision loss + # for poor starting parameters + x0 = [10.3, 20.7, 10.8, 1.9, -1.2] + res_c1_small = optimize.minimize(optimize.rosen, + x0, method='bfgs', options={'c1': 1e-8}) + res_c1_big = optimize.minimize(optimize.rosen, + x0, method='bfgs', options={'c1': 1e-1}) + + assert res_c1_small.nfev > res_c1_big.nfev + + def test_bfgs_c2(self): + # test that modification of c2 parameter + # results in different number of iterations + x0 = [1.3, 0.7, 0.8, 1.9, 1.2] + res_default = optimize.minimize(optimize.rosen, + x0, method='bfgs', options={'c2': .9}) + res_mod = optimize.minimize(optimize.rosen, + x0, method='bfgs', options={'c2': 1e-2}) + assert res_default.nit > res_mod.nit + + @pytest.mark.parametrize(["c1", "c2"], [[0.5, 2], + [-0.1, 0.1], + [0.2, 0.1]]) + def test_invalid_c1_c2(self, c1, c2): + with pytest.raises(ValueError, match="'c1' and 'c2'"): + x0 = [10.3, 20.7, 10.8, 1.9, -1.2] + optimize.minimize(optimize.rosen, x0, method='cg', + options={'c1': c1, 'c2': c2}) + + def test_powell(self): + # Powell (direction set) optimization routine + if self.use_wrapper: + opts = {'maxiter': self.maxiter, 'disp': self.disp, + 'return_all': False} + res = optimize.minimize(self.func, self.startparams, args=(), + method='Powell', options=opts) + params, fopt, direc, numiter, func_calls, warnflag = ( + res['x'], res['fun'], res['direc'], res['nit'], + res['nfev'], res['status']) + else: + retval = optimize.fmin_powell(self.func, self.startparams, + args=(), maxiter=self.maxiter, + full_output=True, disp=self.disp, + retall=False) + (params, fopt, direc, numiter, func_calls, warnflag) = retval + + assert_allclose(self.func(params), self.func(self.solution), + atol=1e-6) + # params[0] does not affect the objective function + assert_allclose(params[1:], self.solution[1:], atol=5e-6) + + # Ensure that function call counts are 'known good'; these are from + # SciPy 0.7.0. Don't allow them to increase. + # + # However, some leeway must be added: the exact evaluation + # count is sensitive to numerical error, and floating-point + # computations are not bit-for-bit reproducible across + # machines, and when using e.g., MKL, data alignment + # etc., affect the rounding error. + # + assert self.funccalls.c <= 116 + 20, self.funccalls.c + assert self.gradcalls.c == 0, self.gradcalls.c + + @pytest.mark.xfail(reason="This part of test_powell fails on some " + "platforms, but the solution returned by powell is " + "still valid.") + def test_powell_gh14014(self): + # This part of test_powell started failing on some CI platforms; + # see gh-14014. Since the solution is still correct and the comments + # in test_powell suggest that small differences in the bits are known + # to change the "trace" of the solution, seems safe to xfail to get CI + # green now and investigate later. + + # Powell (direction set) optimization routine + if self.use_wrapper: + opts = {'maxiter': self.maxiter, 'disp': self.disp, + 'return_all': False} + res = optimize.minimize(self.func, self.startparams, args=(), + method='Powell', options=opts) + params, fopt, direc, numiter, func_calls, warnflag = ( + res['x'], res['fun'], res['direc'], res['nit'], + res['nfev'], res['status']) + else: + retval = optimize.fmin_powell(self.func, self.startparams, + args=(), maxiter=self.maxiter, + full_output=True, disp=self.disp, + retall=False) + (params, fopt, direc, numiter, func_calls, warnflag) = retval + + # Ensure that the function behaves the same; this is from SciPy 0.7.0 + assert_allclose(self.trace[34:39], + [[0.72949016, -0.44156936, 0.47100962], + [0.72949016, -0.44156936, 0.48052496], + [1.45898031, -0.88313872, 0.95153458], + [0.72949016, -0.44156936, 0.47576729], + [1.72949016, -0.44156936, 0.47576729]], + atol=1e-14, rtol=1e-7) + + def test_powell_bounded(self): + # Powell (direction set) optimization routine + # same as test_powell above, but with bounds + bounds = [(-np.pi, np.pi) for _ in self.startparams] + if self.use_wrapper: + opts = {'maxiter': self.maxiter, 'disp': self.disp, + 'return_all': False} + res = optimize.minimize(self.func, self.startparams, args=(), + bounds=bounds, + method='Powell', options=opts) + params, func_calls = (res['x'], res['nfev']) + + assert func_calls == self.funccalls.c + assert_allclose(self.func(params), self.func(self.solution), + atol=1e-6, rtol=1e-5) + + # The exact evaluation count is sensitive to numerical error, and + # floating-point computations are not bit-for-bit reproducible + # across machines, and when using e.g. MKL, data alignment etc. + # affect the rounding error. + # It takes 155 calls on my machine, but we can add the same +20 + # margin as is used in `test_powell` + assert self.funccalls.c <= 155 + 20 + assert self.gradcalls.c == 0 + + def test_neldermead(self): + # Nelder-Mead simplex algorithm + if self.use_wrapper: + opts = {'maxiter': self.maxiter, 'disp': self.disp, + 'return_all': False} + res = optimize.minimize(self.func, self.startparams, args=(), + method='Nelder-mead', options=opts) + params, fopt, numiter, func_calls, warnflag = ( + res['x'], res['fun'], res['nit'], res['nfev'], + res['status']) + else: + retval = optimize.fmin(self.func, self.startparams, + args=(), maxiter=self.maxiter, + full_output=True, disp=self.disp, + retall=False) + (params, fopt, numiter, func_calls, warnflag) = retval + + assert_allclose(self.func(params), self.func(self.solution), + atol=1e-6) + + # Ensure that function call counts are 'known good'; these are from + # SciPy 0.7.0. Don't allow them to increase. + assert self.funccalls.c == 167, self.funccalls.c + assert self.gradcalls.c == 0, self.gradcalls.c + + # Ensure that the function behaves the same; this is from SciPy 0.7.0 + assert_allclose(self.trace.t[76:78], + [[0.1928968, -0.62780447, 0.35166118], + [0.19572515, -0.63648426, 0.35838135]], + atol=1e-14, rtol=1e-7) + + def test_neldermead_initial_simplex(self): + # Nelder-Mead simplex algorithm + simplex = np.zeros((4, 3)) + simplex[...] = self.startparams + for j in range(3): + simplex[j+1, j] += 0.1 + + if self.use_wrapper: + opts = {'maxiter': self.maxiter, 'disp': False, + 'return_all': True, 'initial_simplex': simplex} + res = optimize.minimize(self.func, self.startparams, args=(), + method='Nelder-mead', options=opts) + params, fopt, numiter, func_calls, warnflag = (res['x'], + res['fun'], + res['nit'], + res['nfev'], + res['status']) + assert_allclose(res['allvecs'][0], simplex[0]) + else: + retval = optimize.fmin(self.func, self.startparams, + args=(), maxiter=self.maxiter, + full_output=True, disp=False, retall=False, + initial_simplex=simplex) + + (params, fopt, numiter, func_calls, warnflag) = retval + + assert_allclose(self.func(params), self.func(self.solution), + atol=1e-6) + + # Ensure that function call counts are 'known good'; these are from + # SciPy 0.17.0. Don't allow them to increase. + assert self.funccalls.c == 100, self.funccalls.c + assert self.gradcalls.c == 0, self.gradcalls.c + + # Ensure that the function behaves the same; this is from SciPy 0.15.0 + assert_allclose(self.trace.t[50:52], + [[0.14687474, -0.5103282, 0.48252111], + [0.14474003, -0.5282084, 0.48743951]], + atol=1e-14, rtol=1e-7) + + def test_neldermead_initial_simplex_bad(self): + # Check it fails with a bad simplices + bad_simplices = [] + + simplex = np.zeros((3, 2)) + simplex[...] = self.startparams[:2] + for j in range(2): + simplex[j+1, j] += 0.1 + bad_simplices.append(simplex) + + simplex = np.zeros((3, 3)) + bad_simplices.append(simplex) + + for simplex in bad_simplices: + if self.use_wrapper: + opts = {'maxiter': self.maxiter, 'disp': False, + 'return_all': False, 'initial_simplex': simplex} + assert_raises(ValueError, + optimize.minimize, + self.func, + self.startparams, + args=(), + method='Nelder-mead', + options=opts) + else: + assert_raises(ValueError, optimize.fmin, + self.func, self.startparams, + args=(), maxiter=self.maxiter, + full_output=True, disp=False, retall=False, + initial_simplex=simplex) + + def test_neldermead_x0_ub(self): + # checks whether minimisation occurs correctly for entries where + # x0 == ub + # gh19991 + def quad(x): + return np.sum(x**2) + + res = optimize.minimize( + quad, + [1], + bounds=[(0, 1.)], + method='nelder-mead' + ) + assert_allclose(res.x, [0]) + + res = optimize.minimize( + quad, + [1, 2], + bounds=[(0, 1.), (1, 3.)], + method='nelder-mead' + ) + assert_allclose(res.x, [0, 1]) + + def test_ncg_negative_maxiter(self): + # Regression test for gh-8241 + opts = {'maxiter': -1} + result = optimize.minimize(self.func, self.startparams, + method='Newton-CG', jac=self.grad, + args=(), options=opts) + assert result.status == 1 + + def test_ncg_zero_xtol(self): + # Regression test for gh-20214 + def cosine(x): + return np.cos(x[0]) + + def jac(x): + return -np.sin(x[0]) + + x0 = [0.1] + xtol = 0 + result = optimize.minimize(cosine, + x0=x0, + jac=jac, + method="newton-cg", + options=dict(xtol=xtol)) + assert result.status == 0 + assert_almost_equal(result.x[0], np.pi) + + def test_ncg(self): + # line-search Newton conjugate gradient optimization routine + if self.use_wrapper: + opts = {'maxiter': self.maxiter, 'disp': self.disp, + 'return_all': False} + retval = optimize.minimize(self.func, self.startparams, + method='Newton-CG', jac=self.grad, + args=(), options=opts)['x'] + else: + retval = optimize.fmin_ncg(self.func, self.startparams, self.grad, + args=(), maxiter=self.maxiter, + full_output=False, disp=self.disp, + retall=False) + + params = retval + + assert_allclose(self.func(params), self.func(self.solution), + atol=1e-6) + + # Ensure that function call counts are 'known good'; these are from + # SciPy 0.7.0. Don't allow them to increase. + assert self.funccalls.c == 7, self.funccalls.c + assert self.gradcalls.c <= 22, self.gradcalls.c # 0.13.0 + # assert self.gradcalls <= 18, self.gradcalls # 0.9.0 + # assert self.gradcalls == 18, self.gradcalls # 0.8.0 + # assert self.gradcalls == 22, self.gradcalls # 0.7.0 + + # Ensure that the function behaves the same; this is from SciPy 0.7.0 + assert_allclose(self.trace.t[3:5], + [[-4.35700753e-07, -5.24869435e-01, 4.87527480e-01], + [-4.35700753e-07, -5.24869401e-01, 4.87527774e-01]], + atol=1e-6, rtol=1e-7) + + def test_ncg_hess(self): + # Newton conjugate gradient with Hessian + if self.use_wrapper: + opts = {'maxiter': self.maxiter, 'disp': self.disp, + 'return_all': False} + retval = optimize.minimize(self.func, self.startparams, + method='Newton-CG', jac=self.grad, + hess=self.hess, + args=(), options=opts)['x'] + else: + retval = optimize.fmin_ncg(self.func, self.startparams, self.grad, + fhess=self.hess, + args=(), maxiter=self.maxiter, + full_output=False, disp=self.disp, + retall=False) + + params = retval + + assert_allclose(self.func(params), self.func(self.solution), + atol=1e-6) + + # Ensure that function call counts are 'known good'; these are from + # SciPy 0.7.0. Don't allow them to increase. + assert self.funccalls.c <= 7, self.funccalls.c # gh10673 + assert self.gradcalls.c <= 18, self.gradcalls.c # 0.9.0 + # assert self.gradcalls == 18, self.gradcalls # 0.8.0 + # assert self.gradcalls == 22, self.gradcalls # 0.7.0 + + # Ensure that the function behaves the same; this is from SciPy 0.7.0 + assert_allclose(self.trace.t[3:5], + [[-4.35700753e-07, -5.24869435e-01, 4.87527480e-01], + [-4.35700753e-07, -5.24869401e-01, 4.87527774e-01]], + atol=1e-6, rtol=1e-7) + + def test_ncg_hessp(self): + # Newton conjugate gradient with Hessian times a vector p. + if self.use_wrapper: + opts = {'maxiter': self.maxiter, 'disp': self.disp, + 'return_all': False} + retval = optimize.minimize(self.func, self.startparams, + method='Newton-CG', jac=self.grad, + hessp=self.hessp, + args=(), options=opts)['x'] + else: + retval = optimize.fmin_ncg(self.func, self.startparams, self.grad, + fhess_p=self.hessp, + args=(), maxiter=self.maxiter, + full_output=False, disp=self.disp, + retall=False) + + params = retval + + assert_allclose(self.func(params), self.func(self.solution), + atol=1e-6) + + # Ensure that function call counts are 'known good'; these are from + # SciPy 0.7.0. Don't allow them to increase. + assert self.funccalls.c <= 7, self.funccalls.c # gh10673 + assert self.gradcalls.c <= 18, self.gradcalls.c # 0.9.0 + # assert self.gradcalls == 18, self.gradcalls # 0.8.0 + # assert self.gradcalls == 22, self.gradcalls # 0.7.0 + + # Ensure that the function behaves the same; this is from SciPy 0.7.0 + assert_allclose(self.trace.t[3:5], + [[-4.35700753e-07, -5.24869435e-01, 4.87527480e-01], + [-4.35700753e-07, -5.24869401e-01, 4.87527774e-01]], + atol=1e-6, rtol=1e-7) + + def test_cobyqa(self): + # COBYQA method. + if self.use_wrapper: + res = optimize.minimize( + self.func, + self.startparams, + method='cobyqa', + options={'maxiter': self.maxiter, 'disp': self.disp}, + ) + assert_allclose(res.fun, self.func(self.solution), atol=1e-6) + + # Ensure that function call counts are 'known good'; these are from + # SciPy 1.14.0. Don't allow them to increase. The exact evaluation + # count is sensitive to numerical error and floating-point + # computations are not bit-for-bit reproducible across machines. It + # takes 45 calls on my machine, but we can add the same +20 margin + # as is used in `test_powell` + assert self.funccalls.c <= 45 + 20, self.funccalls.c + + +def test_maxfev_test(): + rng = np.random.default_rng(271707100830272976862395227613146332411) + + def cost(x): + return rng.random(1) * 1000 # never converged problem + + for imaxfev in [1, 10, 50]: + # "TNC" and "L-BFGS-B" also supports max function evaluation, but + # these may violate the limit because of evaluating gradients + # by numerical differentiation. See the discussion in PR #14805. + for method in ['Powell', 'Nelder-Mead']: + result = optimize.minimize(cost, rng.random(10), + method=method, + options={'maxfev': imaxfev}) + assert result["nfev"] == imaxfev + + +def test_wrap_scalar_function_with_validation(): + + def func_(x): + return x + + fcalls, func = optimize._optimize.\ + _wrap_scalar_function_maxfun_validation(func_, np.asarray(1), 5) + + for i in range(5): + func(np.asarray(i)) + assert fcalls[0] == i+1 + + msg = "Too many function calls" + with assert_raises(optimize._optimize._MaxFuncCallError, match=msg): + func(np.asarray(i)) # exceeded maximum function call + + fcalls, func = optimize._optimize.\ + _wrap_scalar_function_maxfun_validation(func_, np.asarray(1), 5) + + msg = "The user-provided objective function must return a scalar value." + with assert_raises(ValueError, match=msg): + func(np.array([1, 1])) + + +def test_obj_func_returns_scalar(): + match = ("The user-provided " + "objective function must " + "return a scalar value.") + with assert_raises(ValueError, match=match): + optimize.minimize(lambda x: x, np.array([1, 1]), method='BFGS') + + +def test_neldermead_iteration_num(): + x0 = np.array([1.3, 0.7, 0.8, 1.9, 1.2]) + res = optimize._minimize._minimize_neldermead(optimize.rosen, x0, + xatol=1e-8) + assert res.nit <= 339 + + +def test_neldermead_respect_fp(): + # Nelder-Mead should respect the fp type of the input + function + x0 = np.array([5.0, 4.0]).astype(np.float32) + def rosen_(x): + assert x.dtype == np.float32 + return optimize.rosen(x) + + optimize.minimize(rosen_, x0, method='Nelder-Mead') + + +def test_neldermead_xatol_fatol(): + # gh4484 + # test we can call with fatol, xatol specified + def func(x): + return x[0] ** 2 + x[1] ** 2 + + optimize._minimize._minimize_neldermead(func, [1, 1], maxiter=2, + xatol=1e-3, fatol=1e-3) + + +def test_neldermead_adaptive(): + def func(x): + return np.sum(x ** 2) + p0 = [0.15746215, 0.48087031, 0.44519198, 0.4223638, 0.61505159, + 0.32308456, 0.9692297, 0.4471682, 0.77411992, 0.80441652, + 0.35994957, 0.75487856, 0.99973421, 0.65063887, 0.09626474] + + res = optimize.minimize(func, p0, method='Nelder-Mead') + assert_equal(res.success, False) + + res = optimize.minimize(func, p0, method='Nelder-Mead', + options={'adaptive': True}) + assert_equal(res.success, True) + + +@pytest.mark.thread_unsafe +def test_bounded_powell_outsidebounds(): + # With the bounded Powell method if you start outside the bounds the final + # should still be within the bounds (provided that the user doesn't make a + # bad choice for the `direc` argument). + def func(x): + return np.sum(x ** 2) + bounds = (-1, 1), (-1, 1), (-1, 1) + x0 = [-4, .5, -.8] + + # we're starting outside the bounds, so we should get a warning + with assert_warns(optimize.OptimizeWarning): + res = optimize.minimize(func, x0, bounds=bounds, method="Powell") + assert_allclose(res.x, np.array([0.] * len(x0)), atol=1e-6) + assert_equal(res.success, True) + assert_equal(res.status, 0) + + # However, now if we change the `direc` argument such that the + # set of vectors does not span the parameter space, then we may + # not end up back within the bounds. Here we see that the first + # parameter cannot be updated! + direc = [[0, 0, 0], [0, 1, 0], [0, 0, 1]] + # we're starting outside the bounds, so we should get a warning + with assert_warns(optimize.OptimizeWarning): + res = optimize.minimize(func, x0, + bounds=bounds, method="Powell", + options={'direc': direc}) + assert_allclose(res.x, np.array([-4., 0, 0]), atol=1e-6) + assert_equal(res.success, False) + assert_equal(res.status, 4) + + +@pytest.mark.thread_unsafe +def test_bounded_powell_vs_powell(): + # here we test an example where the bounded Powell method + # will return a different result than the standard Powell + # method. + + # first we test a simple example where the minimum is at + # the origin and the minimum that is within the bounds is + # larger than the minimum at the origin. + def func(x): + return np.sum(x ** 2) + bounds = (-5, -1), (-10, -0.1), (1, 9.2), (-4, 7.6), (-15.9, -2) + x0 = [-2.1, -5.2, 1.9, 0, -2] + + options = {'ftol': 1e-10, 'xtol': 1e-10} + + res_powell = optimize.minimize(func, x0, method="Powell", options=options) + assert_allclose(res_powell.x, 0., atol=1e-6) + assert_allclose(res_powell.fun, 0., atol=1e-6) + + res_bounded_powell = optimize.minimize(func, x0, options=options, + bounds=bounds, + method="Powell") + p = np.array([-1, -0.1, 1, 0, -2]) + assert_allclose(res_bounded_powell.x, p, atol=1e-6) + assert_allclose(res_bounded_powell.fun, func(p), atol=1e-6) + + # now we test bounded Powell but with a mix of inf bounds. + bounds = (None, -1), (-np.inf, -.1), (1, np.inf), (-4, None), (-15.9, -2) + res_bounded_powell = optimize.minimize(func, x0, options=options, + bounds=bounds, + method="Powell") + p = np.array([-1, -0.1, 1, 0, -2]) + assert_allclose(res_bounded_powell.x, p, atol=1e-6) + assert_allclose(res_bounded_powell.fun, func(p), atol=1e-6) + + # next we test an example where the global minimum is within + # the bounds, but the bounded Powell method performs better + # than the standard Powell method. + def func(x): + t = np.sin(-x[0]) * np.cos(x[1]) * np.sin(-x[0] * x[1]) * np.cos(x[1]) + t -= np.cos(np.sin(x[1] * x[2]) * np.cos(x[2])) + return t**2 + + bounds = [(-2, 5)] * 3 + x0 = [-0.5, -0.5, -0.5] + + res_powell = optimize.minimize(func, x0, method="Powell") + res_bounded_powell = optimize.minimize(func, x0, + bounds=bounds, + method="Powell") + assert_allclose(res_powell.fun, 0.007136253919761627, atol=1e-6) + assert_allclose(res_bounded_powell.fun, 0, atol=1e-6) + + # next we test the previous example where the we provide Powell + # with (-inf, inf) bounds, and compare it to providing Powell + # with no bounds. They should end up the same. + bounds = [(-np.inf, np.inf)] * 3 + + res_bounded_powell = optimize.minimize(func, x0, + bounds=bounds, + method="Powell") + assert_allclose(res_powell.fun, res_bounded_powell.fun, atol=1e-6) + assert_allclose(res_powell.nfev, res_bounded_powell.nfev, atol=1e-6) + assert_allclose(res_powell.x, res_bounded_powell.x, atol=1e-6) + + # now test when x0 starts outside of the bounds. + x0 = [45.46254415, -26.52351498, 31.74830248] + bounds = [(-2, 5)] * 3 + # we're starting outside the bounds, so we should get a warning + with assert_warns(optimize.OptimizeWarning): + res_bounded_powell = optimize.minimize(func, x0, + bounds=bounds, + method="Powell") + assert_allclose(res_bounded_powell.fun, 0, atol=1e-6) + + +def test_onesided_bounded_powell_stability(): + # When the Powell method is bounded on only one side, a + # np.tan transform is done in order to convert it into a + # completely bounded problem. Here we do some simple tests + # of one-sided bounded Powell where the optimal solutions + # are large to test the stability of the transformation. + kwargs = {'method': 'Powell', + 'bounds': [(-np.inf, 1e6)] * 3, + 'options': {'ftol': 1e-8, 'xtol': 1e-8}} + x0 = [1, 1, 1] + + # df/dx is constant. + def f(x): + return -np.sum(x) + res = optimize.minimize(f, x0, **kwargs) + assert_allclose(res.fun, -3e6, atol=1e-4) + + # df/dx gets smaller and smaller. + def f(x): + return -np.abs(np.sum(x)) ** (0.1) * (1 if np.all(x > 0) else -1) + + res = optimize.minimize(f, x0, **kwargs) + assert_allclose(res.fun, -(3e6) ** (0.1)) + + # df/dx gets larger and larger. + def f(x): + return -np.abs(np.sum(x)) ** 10 * (1 if np.all(x > 0) else -1) + + res = optimize.minimize(f, x0, **kwargs) + assert_allclose(res.fun, -(3e6) ** 10, rtol=1e-7) + + # df/dx gets larger for some of the variables and smaller for others. + def f(x): + t = -np.abs(np.sum(x[:2])) ** 5 - np.abs(np.sum(x[2:])) ** (0.1) + t *= (1 if np.all(x > 0) else -1) + return t + + kwargs['bounds'] = [(-np.inf, 1e3)] * 3 + res = optimize.minimize(f, x0, **kwargs) + assert_allclose(res.fun, -(2e3) ** 5 - (1e6) ** (0.1), rtol=1e-7) + + +class TestOptimizeWrapperDisp(CheckOptimizeParameterized): + use_wrapper = True + disp = True + + +class TestOptimizeWrapperNoDisp(CheckOptimizeParameterized): + use_wrapper = True + disp = False + + +class TestOptimizeNoWrapperDisp(CheckOptimizeParameterized): + use_wrapper = False + disp = True + + +class TestOptimizeNoWrapperNoDisp(CheckOptimizeParameterized): + use_wrapper = False + disp = False + + +class TestOptimizeSimple(CheckOptimize): + + def test_bfgs_nan(self): + # Test corner case where nan is fed to optimizer. See gh-2067. + def func(x): + return x + def fprime(x): + return np.ones_like(x) + x0 = [np.nan] + with np.errstate(over='ignore', invalid='ignore'): + x = optimize.fmin_bfgs(func, x0, fprime, disp=False) + assert np.isnan(func(x)) + + def test_bfgs_nan_return(self): + # Test corner cases where fun returns NaN. See gh-4793. + + # First case: NaN from first call. + def func(x): + return np.nan + with np.errstate(invalid='ignore'): + result = optimize.minimize(func, 0) + + assert np.isnan(result['fun']) + assert result['success'] is False + + # Second case: NaN from second call. + def func(x): + return 0 if x == 0 else np.nan + def fprime(x): + return np.ones_like(x) # Steer away from zero. + with np.errstate(invalid='ignore'): + result = optimize.minimize(func, 0, jac=fprime) + + assert np.isnan(result['fun']) + assert result['success'] is False + + def test_bfgs_numerical_jacobian(self): + # BFGS with numerical Jacobian and a vector epsilon parameter. + # define the epsilon parameter using a random vector + epsilon = np.sqrt(np.spacing(1.)) * np.random.rand(len(self.solution)) + + params = optimize.fmin_bfgs(self.func, self.startparams, + epsilon=epsilon, args=(), + maxiter=self.maxiter, disp=False) + + assert_allclose(self.func(params), self.func(self.solution), + atol=1e-6) + + def test_finite_differences_jac(self): + methods = ['BFGS', 'CG', 'TNC'] + jacs = ['2-point', '3-point', None] + for method, jac in itertools.product(methods, jacs): + result = optimize.minimize(self.func, self.startparams, + method=method, jac=jac) + assert_allclose(self.func(result.x), self.func(self.solution), + atol=1e-6) + + def test_finite_differences_hess(self): + # test that all the methods that require hess can use finite-difference + # For Newton-CG, trust-ncg, trust-krylov the FD estimated hessian is + # wrapped in a hessp function + # dogleg, trust-exact actually require true hessians at the moment, so + # they're excluded. + methods = ['trust-constr', 'Newton-CG', 'trust-ncg', 'trust-krylov'] + hesses = FD_METHODS + (optimize.BFGS,) + for method, hess in itertools.product(methods, hesses): + if hess is optimize.BFGS: + hess = hess() + result = optimize.minimize(self.func, self.startparams, + method=method, jac=self.grad, + hess=hess) + assert result.success + + # check that the methods demand some sort of Hessian specification + # Newton-CG creates its own hessp, and trust-constr doesn't need a hess + # specified either + methods = ['trust-ncg', 'trust-krylov', 'dogleg', 'trust-exact'] + for method in methods: + with pytest.raises(ValueError): + optimize.minimize(self.func, self.startparams, + method=method, jac=self.grad, + hess=None) + + def test_bfgs_gh_2169(self): + def f(x): + if x < 0: + return 1.79769313e+308 + else: + return x + 1./x + xs = optimize.fmin_bfgs(f, [10.], disp=False) + assert_allclose(xs, 1.0, rtol=1e-4, atol=1e-4) + + def test_bfgs_double_evaluations(self): + # check BFGS does not evaluate twice in a row at same point + def f(x): + xp = x[0] + assert xp not in seen + seen.add(xp) + return 10*x**2, 20*x + + seen = set() + optimize.minimize(f, -100, method='bfgs', jac=True, tol=1e-7) + + def test_l_bfgs_b(self): + # limited-memory bound-constrained BFGS algorithm + retval = optimize.fmin_l_bfgs_b(self.func, self.startparams, + self.grad, args=(), + maxiter=self.maxiter) + + (params, fopt, d) = retval + + assert_allclose(self.func(params), self.func(self.solution), + atol=1e-6) + + # Ensure that function call counts are 'known good'; these are from + # SciPy 0.7.0. Don't allow them to increase. + assert self.funccalls.c == 7, self.funccalls.c + assert self.gradcalls.c == 5, self.gradcalls.c + + # Ensure that the function behaves the same; this is from SciPy 0.7.0 + # test fixed in gh10673 + assert_allclose(self.trace.t[3:5], + [[8.117083e-16, -5.196198e-01, 4.897617e-01], + [0., -0.52489628, 0.48753042]], + atol=1e-14, rtol=1e-7) + + def test_l_bfgs_b_numjac(self): + # L-BFGS-B with numerical Jacobian + retval = optimize.fmin_l_bfgs_b(self.func, self.startparams, + approx_grad=True, + maxiter=self.maxiter) + + (params, fopt, d) = retval + + assert_allclose(self.func(params), self.func(self.solution), + atol=1e-6) + + def test_l_bfgs_b_funjac(self): + # L-BFGS-B with combined objective function and Jacobian + def fun(x): + return self.func(x), self.grad(x) + + retval = optimize.fmin_l_bfgs_b(fun, self.startparams, + maxiter=self.maxiter) + + (params, fopt, d) = retval + + assert_allclose(self.func(params), self.func(self.solution), + atol=1e-6) + + def test_l_bfgs_b_maxiter(self): + # gh7854 + # Ensure that not more than maxiters are ever run. + class Callback: + def __init__(self): + self.nit = 0 + self.fun = None + self.x = None + + def __call__(self, x): + self.x = x + self.fun = optimize.rosen(x) + self.nit += 1 + + c = Callback() + res = optimize.minimize(optimize.rosen, [0., 0.], method='l-bfgs-b', + callback=c, options={'maxiter': 5}) + + assert_equal(res.nit, 5) + assert_almost_equal(res.x, c.x) + assert_almost_equal(res.fun, c.fun) + assert_equal(res.status, 1) + assert res.success is False + assert_equal(res.message, + 'STOP: TOTAL NO. OF ITERATIONS REACHED LIMIT') + + def test_minimize_l_bfgs_b(self): + # Minimize with L-BFGS-B method + opts = {'disp': False, 'maxiter': self.maxiter} + r = optimize.minimize(self.func, self.startparams, + method='L-BFGS-B', jac=self.grad, + options=opts) + assert_allclose(self.func(r.x), self.func(self.solution), + atol=1e-6) + assert self.gradcalls.c == r.njev + + self.funccalls.c = self.gradcalls.c = 0 + # approximate jacobian + ra = optimize.minimize(self.func, self.startparams, + method='L-BFGS-B', options=opts) + # check that function evaluations in approximate jacobian are counted + # assert_(ra.nfev > r.nfev) + assert self.funccalls.c == ra.nfev + assert_allclose(self.func(ra.x), self.func(self.solution), + atol=1e-6) + + self.funccalls.c = self.gradcalls.c = 0 + # approximate jacobian + ra = optimize.minimize(self.func, self.startparams, jac='3-point', + method='L-BFGS-B', options=opts) + assert self.funccalls.c == ra.nfev + assert_allclose(self.func(ra.x), self.func(self.solution), + atol=1e-6) + + def test_minimize_l_bfgs_b_ftol(self): + # Check that the `ftol` parameter in l_bfgs_b works as expected + v0 = None + for tol in [1e-1, 1e-4, 1e-7, 1e-10]: + opts = {'disp': False, 'maxiter': self.maxiter, 'ftol': tol} + sol = optimize.minimize(self.func, self.startparams, + method='L-BFGS-B', jac=self.grad, + options=opts) + v = self.func(sol.x) + + if v0 is None: + v0 = v + else: + assert v < v0 + + assert_allclose(v, self.func(self.solution), rtol=tol) + + def test_minimize_l_bfgs_maxls(self): + # check that the maxls is passed down to the Fortran routine + sol = optimize.minimize(optimize.rosen, np.array([-1.2, 1.0]), + method='L-BFGS-B', jac=optimize.rosen_der, + options={'disp': False, 'maxls': 1}) + assert not sol.success + + def test_minimize_l_bfgs_b_maxfun_interruption(self): + # gh-6162 + f = optimize.rosen + g = optimize.rosen_der + values = [] + x0 = np.full(7, 1000) + + def objfun(x): + value = f(x) + values.append(value) + return value + + # Look for an interesting test case. + # Request a maxfun that stops at a particularly bad function + # evaluation somewhere between 100 and 300 evaluations. + low, medium, high = 30, 100, 300 + optimize.fmin_l_bfgs_b(objfun, x0, fprime=g, maxfun=high) + v, k = max((y, i) for i, y in enumerate(values[medium:])) + maxfun = medium + k + # If the minimization strategy is reasonable, + # the minimize() result should not be worse than the best + # of the first 30 function evaluations. + target = min(values[:low]) + xmin, fmin, d = optimize.fmin_l_bfgs_b(f, x0, fprime=g, maxfun=maxfun) + assert_array_less(fmin, target) + + def test_custom(self): + # This function comes from the documentation example. + def custmin(fun, x0, args=(), maxfev=None, stepsize=0.1, + maxiter=100, callback=None, **options): + bestx = x0 + besty = fun(x0) + funcalls = 1 + niter = 0 + improved = True + stop = False + + while improved and not stop and niter < maxiter: + improved = False + niter += 1 + for dim in range(np.size(x0)): + for s in [bestx[dim] - stepsize, bestx[dim] + stepsize]: + testx = np.copy(bestx) + testx[dim] = s + testy = fun(testx, *args) + funcalls += 1 + if testy < besty: + besty = testy + bestx = testx + improved = True + if callback is not None: + callback(bestx) + if maxfev is not None and funcalls >= maxfev: + stop = True + break + + return optimize.OptimizeResult(fun=besty, x=bestx, nit=niter, + nfev=funcalls, success=(niter > 1)) + + x0 = [1.35, 0.9, 0.8, 1.1, 1.2] + res = optimize.minimize(optimize.rosen, x0, method=custmin, + options=dict(stepsize=0.05)) + assert_allclose(res.x, 1.0, rtol=1e-4, atol=1e-4) + + def test_gh10771(self): + # check that minimize passes bounds and constraints to a custom + # minimizer without altering them. + bounds = [(-2, 2), (0, 3)] + constraints = 'constraints' + + def custmin(fun, x0, **options): + assert options['bounds'] is bounds + assert options['constraints'] is constraints + return optimize.OptimizeResult() + + x0 = [1, 1] + optimize.minimize(optimize.rosen, x0, method=custmin, + bounds=bounds, constraints=constraints) + + def test_minimize_tol_parameter(self): + # Check that the minimize() tol= argument does something + def func(z): + x, y = z + return x**2*y**2 + x**4 + 1 + + def dfunc(z): + x, y = z + return np.array([2*x*y**2 + 4*x**3, 2*x**2*y]) + + for method in ['nelder-mead', 'powell', 'cg', 'bfgs', + 'newton-cg', 'l-bfgs-b', 'tnc', + 'cobyla', 'cobyqa', 'slsqp']: + if method in ('nelder-mead', 'powell', 'cobyla', 'cobyqa'): + jac = None + else: + jac = dfunc + + sol1 = optimize.minimize(func, [2, 2], jac=jac, tol=1e-10, + method=method) + sol2 = optimize.minimize(func, [2, 2], jac=jac, tol=1.0, + method=method) + assert func(sol1.x) < func(sol2.x), \ + f"{method}: {func(sol1.x)} vs. {func(sol2.x)}" + + @pytest.mark.fail_slow(10) + @pytest.mark.filterwarnings('ignore::UserWarning') + @pytest.mark.filterwarnings('ignore::RuntimeWarning') # See gh-18547 + @pytest.mark.parametrize('method', + ['fmin', 'fmin_powell', 'fmin_cg', 'fmin_bfgs', + 'fmin_ncg', 'fmin_l_bfgs_b', 'fmin_tnc', + 'fmin_slsqp'] + MINIMIZE_METHODS) + def test_minimize_callback_copies_array(self, method): + # Check that arrays passed to callbacks are not modified + # inplace by the optimizer afterward + + if method in ('fmin_tnc', 'fmin_l_bfgs_b'): + def func(x): + return optimize.rosen(x), optimize.rosen_der(x) + else: + func = optimize.rosen + jac = optimize.rosen_der + hess = optimize.rosen_hess + + x0 = np.zeros(10) + + # Set options + kwargs = {} + if method.startswith('fmin'): + routine = getattr(optimize, method) + if method == 'fmin_slsqp': + kwargs['iter'] = 5 + elif method == 'fmin_tnc': + kwargs['maxfun'] = 100 + elif method in ('fmin', 'fmin_powell'): + kwargs['maxiter'] = 3500 + else: + kwargs['maxiter'] = 5 + else: + def routine(*a, **kw): + kw['method'] = method + return optimize.minimize(*a, **kw) + + if method == 'tnc': + kwargs['options'] = dict(maxfun=100) + else: + kwargs['options'] = dict(maxiter=5) + + if method in ('fmin_ncg',): + kwargs['fprime'] = jac + elif method in ('newton-cg',): + kwargs['jac'] = jac + elif method in ('trust-krylov', 'trust-exact', 'trust-ncg', 'dogleg', + 'trust-constr'): + kwargs['jac'] = jac + kwargs['hess'] = hess + + # Run with callback + results = [] + + def callback(x, *args, **kwargs): + assert not isinstance(x, optimize.OptimizeResult) + results.append((x, np.copy(x))) + + routine(func, x0, callback=callback, **kwargs) + + # Check returned arrays coincide with their copies + # and have no memory overlap + assert len(results) > 2 + assert all(np.all(x == y) for x, y in results) + combinations = itertools.combinations(results, 2) + assert not any(np.may_share_memory(x[0], y[0]) for x, y in combinations) + + @pytest.mark.parametrize('method', ['nelder-mead', 'powell', 'cg', + 'bfgs', 'newton-cg', 'l-bfgs-b', + 'tnc', 'cobyla', 'cobyqa', 'slsqp']) + def test_no_increase(self, method): + # Check that the solver doesn't return a value worse than the + # initial point. + + def func(x): + return (x - 1)**2 + + def bad_grad(x): + # purposefully invalid gradient function, simulates a case + # where line searches start failing + return 2*(x - 1) * (-1) - 2 + + x0 = np.array([2.0]) + f0 = func(x0) + jac = bad_grad + options = dict(maxfun=20) if method == 'tnc' else dict(maxiter=20) + if method in ['nelder-mead', 'powell', 'cobyla', 'cobyqa']: + jac = None + sol = optimize.minimize(func, x0, jac=jac, method=method, + options=options) + assert_equal(func(sol.x), sol.fun) + + if method == 'slsqp': + pytest.xfail("SLSQP returns slightly worse") + assert func(sol.x) <= f0 + + def test_slsqp_respect_bounds(self): + # Regression test for gh-3108 + def f(x): + return sum((x - np.array([1., 2., 3., 4.]))**2) + + def cons(x): + a = np.array([[-1, -1, -1, -1], [-3, -3, -2, -1]]) + return np.concatenate([np.dot(a, x) + np.array([5, 10]), x]) + + x0 = np.array([0.5, 1., 1.5, 2.]) + res = optimize.minimize(f, x0, method='slsqp', + constraints={'type': 'ineq', 'fun': cons}) + assert_allclose(res.x, np.array([0., 2, 5, 8])/3, atol=1e-12) + + @pytest.mark.parametrize('method', ['Nelder-Mead', 'Powell', 'CG', 'BFGS', + 'Newton-CG', 'L-BFGS-B', 'SLSQP', + 'trust-constr', 'dogleg', 'trust-ncg', + 'trust-exact', 'trust-krylov', + 'cobyqa']) + def test_respect_maxiter(self, method): + # Check that the number of iterations equals max_iter, assuming + # convergence doesn't establish before + MAXITER = 4 + + x0 = np.zeros(10) + + sf = ScalarFunction(optimize.rosen, x0, (), optimize.rosen_der, + optimize.rosen_hess, None, None) + + # Set options + kwargs = {'method': method, 'options': dict(maxiter=MAXITER)} + + if method in ('Newton-CG',): + kwargs['jac'] = sf.grad + elif method in ('trust-krylov', 'trust-exact', 'trust-ncg', 'dogleg', + 'trust-constr'): + kwargs['jac'] = sf.grad + kwargs['hess'] = sf.hess + + sol = optimize.minimize(sf.fun, x0, **kwargs) + assert sol.nit == MAXITER + assert sol.nfev >= sf.nfev + if hasattr(sol, 'njev'): + assert sol.njev >= sf.ngev + + # method specific tests + if method == 'SLSQP': + assert sol.status == 9 # Iteration limit reached + elif method == 'cobyqa': + assert sol.status == 6 # Iteration limit reached + + @pytest.mark.thread_unsafe + @pytest.mark.parametrize('method', ['Nelder-Mead', 'Powell', + 'fmin', 'fmin_powell']) + def test_runtime_warning(self, method): + x0 = np.zeros(10) + sf = ScalarFunction(optimize.rosen, x0, (), optimize.rosen_der, + optimize.rosen_hess, None, None) + options = {"maxiter": 1, "disp": True} + with pytest.warns(RuntimeWarning, + match=r'Maximum number of iterations'): + if method.startswith('fmin'): + routine = getattr(optimize, method) + routine(sf.fun, x0, **options) + else: + optimize.minimize(sf.fun, x0, method=method, options=options) + + def test_respect_maxiter_trust_constr_ineq_constraints(self): + # special case of minimization with trust-constr and inequality + # constraints to check maxiter limit is obeyed when using internal + # method 'tr_interior_point' + MAXITER = 4 + f = optimize.rosen + jac = optimize.rosen_der + hess = optimize.rosen_hess + + def fun(x): + return np.array([0.2 * x[0] - 0.4 * x[1] - 0.33 * x[2]]) + cons = ({'type': 'ineq', + 'fun': fun},) + + x0 = np.zeros(10) + sol = optimize.minimize(f, x0, constraints=cons, jac=jac, hess=hess, + method='trust-constr', + options=dict(maxiter=MAXITER)) + assert sol.nit == MAXITER + + def test_minimize_automethod(self): + def f(x): + return x**2 + + def cons(x): + return x - 2 + + x0 = np.array([10.]) + sol_0 = optimize.minimize(f, x0) + sol_1 = optimize.minimize(f, x0, constraints=[{'type': 'ineq', + 'fun': cons}]) + sol_2 = optimize.minimize(f, x0, bounds=[(5, 10)]) + sol_3 = optimize.minimize(f, x0, + constraints=[{'type': 'ineq', 'fun': cons}], + bounds=[(5, 10)]) + sol_4 = optimize.minimize(f, x0, + constraints=[{'type': 'ineq', 'fun': cons}], + bounds=[(1, 10)]) + for sol in [sol_0, sol_1, sol_2, sol_3, sol_4]: + assert sol.success + assert_allclose(sol_0.x, 0, atol=1e-7) + assert_allclose(sol_1.x, 2, atol=1e-7) + assert_allclose(sol_2.x, 5, atol=1e-7) + assert_allclose(sol_3.x, 5, atol=1e-7) + assert_allclose(sol_4.x, 2, atol=1e-7) + + def test_minimize_coerce_args_param(self): + # Regression test for gh-3503 + def Y(x, c): + return np.sum((x-c)**2) + + def dY_dx(x, c=None): + return 2*(x-c) + + c = np.array([3, 1, 4, 1, 5, 9, 2, 6, 5, 3, 5]) + xinit = np.random.randn(len(c)) + optimize.minimize(Y, xinit, jac=dY_dx, args=(c), method="BFGS") + + def test_initial_step_scaling(self): + # Check that optimizer initial step is not huge even if the + # function and gradients are + + scales = [1e-50, 1, 1e50] + methods = ['CG', 'BFGS', 'L-BFGS-B', 'Newton-CG'] + + def f(x): + if first_step_size[0] is None and x[0] != x0[0]: + first_step_size[0] = abs(x[0] - x0[0]) + if abs(x).max() > 1e4: + raise AssertionError("Optimization stepped far away!") + return scale*(x[0] - 1)**2 + + def g(x): + return np.array([scale*(x[0] - 1)]) + + for scale, method in itertools.product(scales, methods): + if method in ('CG', 'BFGS'): + options = dict(gtol=scale*1e-8) + else: + options = dict() + + if scale < 1e-10 and method in ('L-BFGS-B', 'Newton-CG'): + # XXX: return initial point if they see small gradient + continue + + x0 = [-1.0] + first_step_size = [None] + res = optimize.minimize(f, x0, jac=g, method=method, + options=options) + + err_msg = f"{method} {scale}: {first_step_size}: {res}" + + assert res.success, err_msg + assert_allclose(res.x, [1.0], err_msg=err_msg) + assert res.nit <= 3, err_msg + + if scale > 1e-10: + if method in ('CG', 'BFGS'): + assert_allclose(first_step_size[0], 1.01, err_msg=err_msg) + else: + # Newton-CG and L-BFGS-B use different logic for the first + # step, but are both scaling invariant with step sizes ~ 1 + assert first_step_size[0] > 0.5 and first_step_size[0] < 3, err_msg + else: + # step size has upper bound of ||grad||, so line + # search makes many small steps + pass + + @pytest.mark.parametrize('method', ['nelder-mead', 'powell', 'cg', 'bfgs', + 'newton-cg', 'l-bfgs-b', 'tnc', + 'cobyla', 'cobyqa', 'slsqp', + 'trust-constr', 'dogleg', 'trust-ncg', + 'trust-exact', 'trust-krylov']) + def test_nan_values(self, method, num_parallel_threads): + if num_parallel_threads > 1 and method == 'cobyqa': + pytest.skip('COBYQA does not support concurrent execution') + + # Check nan values result to failed exit status + rng = np.random.RandomState(1234) + + count = [0] + + def func(x): + return np.nan + + def func2(x): + count[0] += 1 + if count[0] > 2: + return np.nan + else: + return rng.rand() + + def grad(x): + return np.array([1.0]) + + def hess(x): + return np.array([[1.0]]) + + x0 = np.array([1.0]) + + needs_grad = method in ('newton-cg', 'trust-krylov', 'trust-exact', + 'trust-ncg', 'dogleg') + needs_hess = method in ('trust-krylov', 'trust-exact', 'trust-ncg', + 'dogleg') + + funcs = [func, func2] + grads = [grad] if needs_grad else [grad, None] + hesss = [hess] if needs_hess else [hess, None] + options = dict(maxfun=20) if method == 'tnc' else dict(maxiter=20) + + with np.errstate(invalid='ignore'), suppress_warnings() as sup: + sup.filter(UserWarning, "delta_grad == 0.*") + sup.filter(RuntimeWarning, ".*does not use Hessian.*") + sup.filter(RuntimeWarning, ".*does not use gradient.*") + + for f, g, h in itertools.product(funcs, grads, hesss): + count = [0] + sol = optimize.minimize(f, x0, jac=g, hess=h, method=method, + options=options) + assert_equal(sol.success, False) + + @pytest.mark.parametrize('method', ['nelder-mead', 'cg', 'bfgs', + 'l-bfgs-b', 'tnc', + 'cobyla', 'cobyqa', 'slsqp', + 'trust-constr', 'dogleg', 'trust-ncg', + 'trust-exact', 'trust-krylov']) + def test_duplicate_evaluations(self, method): + # check that there are no duplicate evaluations for any methods + jac = hess = None + if method in ('newton-cg', 'trust-krylov', 'trust-exact', + 'trust-ncg', 'dogleg'): + jac = self.grad + if method in ('trust-krylov', 'trust-exact', 'trust-ncg', + 'dogleg'): + hess = self.hess + + with np.errstate(invalid='ignore'), suppress_warnings() as sup: + # for trust-constr + sup.filter(UserWarning, "delta_grad == 0.*") + optimize.minimize(self.func, self.startparams, + method=method, jac=jac, hess=hess) + + for i in range(1, len(self.trace.t)): + if np.array_equal(self.trace.t[i - 1], self.trace.t[i]): + raise RuntimeError( + f"Duplicate evaluations made by {method}") + + @pytest.mark.filterwarnings('ignore::RuntimeWarning') + @pytest.mark.parametrize('method', MINIMIZE_METHODS_NEW_CB) + @pytest.mark.parametrize('new_cb_interface', [0, 1, 2]) + def test_callback_stopiteration(self, method, new_cb_interface): + # Check that if callback raises StopIteration, optimization + # terminates with the same result as if iterations were limited + + def f(x): + f.flag = False # check that f isn't called after StopIteration + return optimize.rosen(x) + f.flag = False + + def g(x): + f.flag = False + return optimize.rosen_der(x) + + def h(x): + f.flag = False + return optimize.rosen_hess(x) + + maxiter = 5 + + if new_cb_interface == 1: + def callback_interface(*, intermediate_result): + assert intermediate_result.fun == f(intermediate_result.x) + callback() + elif new_cb_interface == 2: + class Callback: + def __call__(self, intermediate_result: OptimizeResult): + assert intermediate_result.fun == f(intermediate_result.x) + callback() + callback_interface = Callback() + else: + def callback_interface(xk, *args): # type: ignore[misc] + callback() + + def callback(): + callback.i += 1 + callback.flag = False + if callback.i == maxiter: + callback.flag = True + raise StopIteration() + callback.i = 0 + callback.flag = False + + kwargs = {'x0': [1.1]*5, 'method': method, + 'fun': f, 'jac': g, 'hess': h} + + res = optimize.minimize(**kwargs, callback=callback_interface) + if method == 'nelder-mead': + maxiter = maxiter + 1 # nelder-mead counts differently + if method == 'cobyqa': + ref = optimize.minimize(**kwargs, options={'maxfev': maxiter}) + assert res.nfev == ref.nfev == maxiter + else: + ref = optimize.minimize(**kwargs, options={'maxiter': maxiter}) + assert res.nit == ref.nit == maxiter + assert res.fun == ref.fun + assert_equal(res.x, ref.x) + assert res.status == (3 if method in [ + 'trust-constr', + 'cobyqa', + ] else 99) + + def test_ndim_error(self): + msg = "'x0' must only have one dimension." + with assert_raises(ValueError, match=msg): + optimize.minimize(lambda x: x, np.ones((2, 1))) + + @pytest.mark.parametrize('method', ('nelder-mead', 'l-bfgs-b', 'tnc', + 'powell', 'cobyla', 'cobyqa', + 'trust-constr')) + def test_minimize_invalid_bounds(self, method): + def f(x): + return np.sum(x**2) + + bounds = Bounds([1, 2], [3, 4]) + msg = 'The number of bounds is not compatible with the length of `x0`.' + with pytest.raises(ValueError, match=msg): + optimize.minimize(f, x0=[1, 2, 3], method=method, bounds=bounds) + + bounds = Bounds([1, 6, 1], [3, 4, 2]) + msg = 'An upper bound is less than the corresponding lower bound.' + with pytest.raises(ValueError, match=msg): + optimize.minimize(f, x0=[1, 2, 3], method=method, bounds=bounds) + + @pytest.mark.thread_unsafe + @pytest.mark.parametrize('method', ['bfgs', 'cg', 'newton-cg', 'powell']) + def test_minimize_warnings_gh1953(self, method): + # test that minimize methods produce warnings rather than just using + # `print`; see gh-1953. + kwargs = {} if method=='powell' else {'jac': optimize.rosen_der} + warning_type = (RuntimeWarning if method=='powell' + else optimize.OptimizeWarning) + + options = {'disp': True, 'maxiter': 10} + with pytest.warns(warning_type, match='Maximum number'): + optimize.minimize(lambda x: optimize.rosen(x), [0, 0], + method=method, options=options, **kwargs) + + options['disp'] = False + optimize.minimize(lambda x: optimize.rosen(x), [0, 0], + method=method, options=options, **kwargs) + + +@pytest.mark.parametrize( + 'method', + ['l-bfgs-b', 'tnc', 'Powell', 'Nelder-Mead', 'cobyqa'] +) +def test_minimize_with_scalar(method): + # checks that minimize works with a scalar being provided to it. + def f(x): + return np.sum(x ** 2) + + res = optimize.minimize(f, 17, bounds=[(-100, 100)], method=method) + assert res.success + assert_allclose(res.x, [0.0], atol=1e-5) + + +class TestLBFGSBBounds: + def setup_method(self): + self.bounds = ((1, None), (None, None)) + self.solution = (1, 0) + + def fun(self, x, p=2.0): + return 1.0 / p * (x[0]**p + x[1]**p) + + def jac(self, x, p=2.0): + return x**(p - 1) + + def fj(self, x, p=2.0): + return self.fun(x, p), self.jac(x, p) + + def test_l_bfgs_b_bounds(self): + x, f, d = optimize.fmin_l_bfgs_b(self.fun, [0, -1], + fprime=self.jac, + bounds=self.bounds) + assert d['warnflag'] == 0, d['task'] + assert_allclose(x, self.solution, atol=1e-6) + + def test_l_bfgs_b_funjac(self): + # L-BFGS-B with fun and jac combined and extra arguments + x, f, d = optimize.fmin_l_bfgs_b(self.fj, [0, -1], args=(2.0, ), + bounds=self.bounds) + assert d['warnflag'] == 0, d['task'] + assert_allclose(x, self.solution, atol=1e-6) + + def test_minimize_l_bfgs_b_bounds(self): + # Minimize with method='L-BFGS-B' with bounds + res = optimize.minimize(self.fun, [0, -1], method='L-BFGS-B', + jac=self.jac, bounds=self.bounds) + assert res['success'], res['message'] + assert_allclose(res.x, self.solution, atol=1e-6) + + @pytest.mark.parametrize('bounds', [ + ([(10, 1), (1, 10)]), + ([(1, 10), (10, 1)]), + ([(10, 1), (10, 1)]) + ]) + def test_minimize_l_bfgs_b_incorrect_bounds(self, bounds): + with pytest.raises(ValueError, match='.*bound.*'): + optimize.minimize(self.fun, [0, -1], method='L-BFGS-B', + jac=self.jac, bounds=bounds) + + def test_minimize_l_bfgs_b_bounds_FD(self): + # test that initial starting value outside bounds doesn't raise + # an error (done with clipping). + # test all different finite differences combos, with and without args + + jacs = ['2-point', '3-point', None] + argss = [(2.,), ()] + for jac, args in itertools.product(jacs, argss): + res = optimize.minimize(self.fun, [0, -1], args=args, + method='L-BFGS-B', + jac=jac, bounds=self.bounds, + options={'finite_diff_rel_step': None}) + assert res['success'], res['message'] + assert_allclose(res.x, self.solution, atol=1e-6) + + +class TestOptimizeScalar: + def setup_method(self): + self.solution = 1.5 + + def fun(self, x, a=1.5): + """Objective function""" + return (x - a)**2 - 0.8 + + def test_brent(self): + x = optimize.brent(self.fun) + assert_allclose(x, self.solution, atol=1e-6) + + x = optimize.brent(self.fun, brack=(-3, -2)) + assert_allclose(x, self.solution, atol=1e-6) + + x = optimize.brent(self.fun, full_output=True) + assert_allclose(x[0], self.solution, atol=1e-6) + + x = optimize.brent(self.fun, brack=(-15, -1, 15)) + assert_allclose(x, self.solution, atol=1e-6) + + message = r"\(f\(xb\) < f\(xa\)\) and \(f\(xb\) < f\(xc\)\)" + with pytest.raises(ValueError, match=message): + optimize.brent(self.fun, brack=(-1, 0, 1)) + + message = r"\(xa < xb\) and \(xb < xc\)" + with pytest.raises(ValueError, match=message): + optimize.brent(self.fun, brack=(0, -1, 1)) + + @pytest.mark.filterwarnings('ignore::UserWarning') + def test_golden(self): + x = optimize.golden(self.fun) + assert_allclose(x, self.solution, atol=1e-6) + + x = optimize.golden(self.fun, brack=(-3, -2)) + assert_allclose(x, self.solution, atol=1e-6) + + x = optimize.golden(self.fun, full_output=True) + assert_allclose(x[0], self.solution, atol=1e-6) + + x = optimize.golden(self.fun, brack=(-15, -1, 15)) + assert_allclose(x, self.solution, atol=1e-6) + + x = optimize.golden(self.fun, tol=0) + assert_allclose(x, self.solution) + + maxiter_test_cases = [0, 1, 5] + for maxiter in maxiter_test_cases: + x0 = optimize.golden(self.fun, maxiter=0, full_output=True) + x = optimize.golden(self.fun, maxiter=maxiter, full_output=True) + nfev0, nfev = x0[2], x[2] + assert_equal(nfev - nfev0, maxiter) + + message = r"\(f\(xb\) < f\(xa\)\) and \(f\(xb\) < f\(xc\)\)" + with pytest.raises(ValueError, match=message): + optimize.golden(self.fun, brack=(-1, 0, 1)) + + message = r"\(xa < xb\) and \(xb < xc\)" + with pytest.raises(ValueError, match=message): + optimize.golden(self.fun, brack=(0, -1, 1)) + + def test_fminbound(self): + x = optimize.fminbound(self.fun, 0, 1) + assert_allclose(x, 1, atol=1e-4) + + x = optimize.fminbound(self.fun, 1, 5) + assert_allclose(x, self.solution, atol=1e-6) + + x = optimize.fminbound(self.fun, np.array([1]), np.array([5])) + assert_allclose(x, self.solution, atol=1e-6) + assert_raises(ValueError, optimize.fminbound, self.fun, 5, 1) + + def test_fminbound_scalar(self): + with pytest.raises(ValueError, match='.*must be finite scalars.*'): + optimize.fminbound(self.fun, np.zeros((1, 2)), 1) + + x = optimize.fminbound(self.fun, 1, np.array(5)) + assert_allclose(x, self.solution, atol=1e-6) + + def test_gh11207(self): + def fun(x): + return x**2 + optimize.fminbound(fun, 0, 0) + + def test_minimize_scalar(self): + # combine all tests above for the minimize_scalar wrapper + x = optimize.minimize_scalar(self.fun).x + assert_allclose(x, self.solution, atol=1e-6) + + x = optimize.minimize_scalar(self.fun, method='Brent') + assert x.success + + x = optimize.minimize_scalar(self.fun, method='Brent', + options=dict(maxiter=3)) + assert not x.success + + x = optimize.minimize_scalar(self.fun, bracket=(-3, -2), + args=(1.5, ), method='Brent').x + assert_allclose(x, self.solution, atol=1e-6) + + x = optimize.minimize_scalar(self.fun, method='Brent', + args=(1.5,)).x + assert_allclose(x, self.solution, atol=1e-6) + + x = optimize.minimize_scalar(self.fun, bracket=(-15, -1, 15), + args=(1.5, ), method='Brent').x + assert_allclose(x, self.solution, atol=1e-6) + + x = optimize.minimize_scalar(self.fun, bracket=(-3, -2), + args=(1.5, ), method='golden').x + assert_allclose(x, self.solution, atol=1e-6) + + x = optimize.minimize_scalar(self.fun, method='golden', + args=(1.5,)).x + assert_allclose(x, self.solution, atol=1e-6) + + x = optimize.minimize_scalar(self.fun, bracket=(-15, -1, 15), + args=(1.5, ), method='golden').x + assert_allclose(x, self.solution, atol=1e-6) + + x = optimize.minimize_scalar(self.fun, bounds=(0, 1), args=(1.5,), + method='Bounded').x + assert_allclose(x, 1, atol=1e-4) + + x = optimize.minimize_scalar(self.fun, bounds=(1, 5), args=(1.5, ), + method='bounded').x + assert_allclose(x, self.solution, atol=1e-6) + + x = optimize.minimize_scalar(self.fun, bounds=(np.array([1]), + np.array([5])), + args=(np.array([1.5]), ), + method='bounded').x + assert_allclose(x, self.solution, atol=1e-6) + + assert_raises(ValueError, optimize.minimize_scalar, self.fun, + bounds=(5, 1), method='bounded', args=(1.5, )) + + assert_raises(ValueError, optimize.minimize_scalar, self.fun, + bounds=(np.zeros(2), 1), method='bounded', args=(1.5, )) + + x = optimize.minimize_scalar(self.fun, bounds=(1, np.array(5)), + method='bounded').x + assert_allclose(x, self.solution, atol=1e-6) + + def test_minimize_scalar_custom(self): + # This function comes from the documentation example. + def custmin(fun, bracket, args=(), maxfev=None, stepsize=0.1, + maxiter=100, callback=None, **options): + bestx = (bracket[1] + bracket[0]) / 2.0 + besty = fun(bestx) + funcalls = 1 + niter = 0 + improved = True + stop = False + + while improved and not stop and niter < maxiter: + improved = False + niter += 1 + for testx in [bestx - stepsize, bestx + stepsize]: + testy = fun(testx, *args) + funcalls += 1 + if testy < besty: + besty = testy + bestx = testx + improved = True + if callback is not None: + callback(bestx) + if maxfev is not None and funcalls >= maxfev: + stop = True + break + + return optimize.OptimizeResult(fun=besty, x=bestx, nit=niter, + nfev=funcalls, success=(niter > 1)) + + res = optimize.minimize_scalar(self.fun, bracket=(0, 4), + method=custmin, + options=dict(stepsize=0.05)) + assert_allclose(res.x, self.solution, atol=1e-6) + + def test_minimize_scalar_coerce_args_param(self): + # Regression test for gh-3503 + optimize.minimize_scalar(self.fun, args=1.5) + + @pytest.mark.parametrize('method', ['brent', 'bounded', 'golden']) + def test_disp(self, method): + # test that all minimize_scalar methods accept a disp option. + for disp in [0, 1, 2, 3]: + optimize.minimize_scalar(self.fun, options={"disp": disp}) + + @pytest.mark.parametrize('method', ['brent', 'bounded', 'golden']) + def test_result_attributes(self, method): + kwargs = {"bounds": [-10, 10]} if method == 'bounded' else {} + result = optimize.minimize_scalar(self.fun, method=method, **kwargs) + assert hasattr(result, "x") + assert hasattr(result, "success") + assert hasattr(result, "message") + assert hasattr(result, "fun") + assert hasattr(result, "nfev") + assert hasattr(result, "nit") + + @pytest.mark.filterwarnings('ignore::UserWarning') + @pytest.mark.parametrize('method', ['brent', 'bounded', 'golden']) + def test_nan_values(self, method): + # Check nan values result to failed exit status + np.random.seed(1234) + + count = [0] + + def func(x): + count[0] += 1 + if count[0] > 4: + return np.nan + else: + return x**2 + 0.1 * np.sin(x) + + bracket = (-1, 0, 1) + bounds = (-1, 1) + + with np.errstate(invalid='ignore'), suppress_warnings() as sup: + sup.filter(UserWarning, "delta_grad == 0.*") + sup.filter(RuntimeWarning, ".*does not use Hessian.*") + sup.filter(RuntimeWarning, ".*does not use gradient.*") + + count = [0] + + kwargs = {"bounds": bounds} if method == 'bounded' else {} + sol = optimize.minimize_scalar(func, bracket=bracket, + **kwargs, method=method, + options=dict(maxiter=20)) + assert_equal(sol.success, False) + + def test_minimize_scalar_defaults_gh10911(self): + # Previously, bounds were silently ignored unless `method='bounds'` + # was chosen. See gh-10911. Check that this is no longer the case. + def f(x): + return x**2 + + res = optimize.minimize_scalar(f) + assert_allclose(res.x, 0, atol=1e-8) + + res = optimize.minimize_scalar(f, bounds=(1, 100), + options={'xatol': 1e-10}) + assert_allclose(res.x, 1) + + def test_minimize_non_finite_bounds_gh10911(self): + # Previously, minimize_scalar misbehaved with infinite bounds. + # See gh-10911. Check that it now raises an error, instead. + msg = "Optimization bounds must be finite scalars." + with pytest.raises(ValueError, match=msg): + optimize.minimize_scalar(np.sin, bounds=(1, np.inf)) + with pytest.raises(ValueError, match=msg): + optimize.minimize_scalar(np.sin, bounds=(np.nan, 1)) + + @pytest.mark.parametrize("method", ['brent', 'golden']) + def test_minimize_unbounded_method_with_bounds_gh10911(self, method): + # Previously, `bounds` were silently ignored when `method='brent'` or + # `method='golden'`. See gh-10911. Check that error is now raised. + msg = "Use of `bounds` is incompatible with..." + with pytest.raises(ValueError, match=msg): + optimize.minimize_scalar(np.sin, method=method, bounds=(1, 2)) + + @pytest.mark.filterwarnings('ignore::RuntimeWarning') + @pytest.mark.parametrize("method", MINIMIZE_SCALAR_METHODS) + @pytest.mark.parametrize("tol", [1, 1e-6]) + @pytest.mark.parametrize("fshape", [(), (1,), (1, 1)]) + def test_minimize_scalar_dimensionality_gh16196(self, method, tol, fshape): + # gh-16196 reported that the output shape of `minimize_scalar` was not + # consistent when an objective function returned an array. Check that + # `res.fun` and `res.x` are now consistent. + def f(x): + return np.array(x**4).reshape(fshape) + + a, b = -0.1, 0.2 + kwargs = (dict(bracket=(a, b)) if method != "bounded" + else dict(bounds=(a, b))) + kwargs.update(dict(method=method, tol=tol)) + + res = optimize.minimize_scalar(f, **kwargs) + assert res.x.shape == res.fun.shape == f(res.x).shape == fshape + + @pytest.mark.thread_unsafe + @pytest.mark.parametrize('method', ['bounded', 'brent', 'golden']) + def test_minimize_scalar_warnings_gh1953(self, method): + # test that minimize_scalar methods produce warnings rather than just + # using `print`; see gh-1953. + def f(x): + return (x - 1)**2 + + kwargs = {} + kwd = 'bounds' if method == 'bounded' else 'bracket' + kwargs[kwd] = [-2, 10] + + options = {'disp': True, 'maxiter': 3} + with pytest.warns(optimize.OptimizeWarning, match='Maximum number'): + optimize.minimize_scalar(f, method=method, options=options, + **kwargs) + + options['disp'] = False + optimize.minimize_scalar(f, method=method, options=options, **kwargs) + + +class TestBracket: + + @pytest.mark.filterwarnings('ignore::RuntimeWarning') + def test_errors_and_status_false(self): + # Check that `bracket` raises the errors it is supposed to + def f(x): # gh-14858 + return x**2 if ((-1 < x) & (x < 1)) else 100.0 + + message = "The algorithm terminated without finding a valid bracket." + with pytest.raises(RuntimeError, match=message): + optimize.bracket(f, -1, 1) + with pytest.raises(RuntimeError, match=message): + optimize.bracket(f, -1, np.inf) + with pytest.raises(RuntimeError, match=message): + optimize.brent(f, brack=(-1, 1)) + with pytest.raises(RuntimeError, match=message): + optimize.golden(f, brack=(-1, 1)) + + def f(x): # gh-5899 + return -5 * x**5 + 4 * x**4 - 12 * x**3 + 11 * x**2 - 2 * x + 1 + + message = "No valid bracket was found before the iteration limit..." + with pytest.raises(RuntimeError, match=message): + optimize.bracket(f, -0.5, 0.5, maxiter=10) + + @pytest.mark.parametrize('method', ('brent', 'golden')) + def test_minimize_scalar_success_false(self, method): + # Check that status information from `bracket` gets to minimize_scalar + def f(x): # gh-14858 + return x**2 if ((-1 < x) & (x < 1)) else 100.0 + + message = "The algorithm terminated without finding a valid bracket." + + res = optimize.minimize_scalar(f, bracket=(-1, 1), method=method) + assert not res.success + assert message in res.message + assert res.nfev == 3 + assert res.nit == 0 + assert res.fun == 100 + + +def test_brent_negative_tolerance(): + assert_raises(ValueError, optimize.brent, np.cos, tol=-.01) + + +class TestNewtonCg: + def test_rosenbrock(self): + x0 = np.array([-1.2, 1.0]) + sol = optimize.minimize(optimize.rosen, x0, + jac=optimize.rosen_der, + hess=optimize.rosen_hess, + tol=1e-5, + method='Newton-CG') + assert sol.success, sol.message + assert_allclose(sol.x, np.array([1, 1]), rtol=1e-4) + + def test_himmelblau(self): + x0 = np.array(himmelblau_x0) + sol = optimize.minimize(himmelblau, + x0, + jac=himmelblau_grad, + hess=himmelblau_hess, + method='Newton-CG', + tol=1e-6) + assert sol.success, sol.message + assert_allclose(sol.x, himmelblau_xopt, rtol=1e-4) + assert_allclose(sol.fun, himmelblau_min, atol=1e-4) + + def test_finite_difference(self): + x0 = np.array([-1.2, 1.0]) + sol = optimize.minimize(optimize.rosen, x0, + jac=optimize.rosen_der, + hess='2-point', + tol=1e-5, + method='Newton-CG') + assert sol.success, sol.message + assert_allclose(sol.x, np.array([1, 1]), rtol=1e-4) + + def test_hessian_update_strategy(self): + x0 = np.array([-1.2, 1.0]) + sol = optimize.minimize(optimize.rosen, x0, + jac=optimize.rosen_der, + hess=optimize.BFGS(), + tol=1e-5, + method='Newton-CG') + assert sol.success, sol.message + assert_allclose(sol.x, np.array([1, 1]), rtol=1e-4) + + +def test_line_for_search(): + # _line_for_search is only used in _linesearch_powell, which is also + # tested below. Thus there are more tests of _line_for_search in the + # test_linesearch_powell_bounded function. + + line_for_search = optimize._optimize._line_for_search + # args are x0, alpha, lower_bound, upper_bound + # returns lmin, lmax + + lower_bound = np.array([-5.3, -1, -1.5, -3]) + upper_bound = np.array([1.9, 1, 2.8, 3]) + + # test when starting in the bounds + x0 = np.array([0., 0, 0, 0]) + # and when starting outside of the bounds + x1 = np.array([0., 2, -3, 0]) + + all_tests = ( + (x0, np.array([1., 0, 0, 0]), -5.3, 1.9), + (x0, np.array([0., 1, 0, 0]), -1, 1), + (x0, np.array([0., 0, 1, 0]), -1.5, 2.8), + (x0, np.array([0., 0, 0, 1]), -3, 3), + (x0, np.array([1., 1, 0, 0]), -1, 1), + (x0, np.array([1., 0, -1, 2]), -1.5, 1.5), + (x0, np.array([2., 0, -1, 2]), -1.5, 0.95), + (x1, np.array([1., 0, 0, 0]), -5.3, 1.9), + (x1, np.array([0., 1, 0, 0]), -3, -1), + (x1, np.array([0., 0, 1, 0]), 1.5, 5.8), + (x1, np.array([0., 0, 0, 1]), -3, 3), + (x1, np.array([1., 1, 0, 0]), -3, -1), + (x1, np.array([1., 0, -1, 0]), -5.3, -1.5), + ) + + for x, alpha, lmin, lmax in all_tests: + mi, ma = line_for_search(x, alpha, lower_bound, upper_bound) + assert_allclose(mi, lmin, atol=1e-6) + assert_allclose(ma, lmax, atol=1e-6) + + # now with infinite bounds + lower_bound = np.array([-np.inf, -1, -np.inf, -3]) + upper_bound = np.array([np.inf, 1, 2.8, np.inf]) + + all_tests = ( + (x0, np.array([1., 0, 0, 0]), -np.inf, np.inf), + (x0, np.array([0., 1, 0, 0]), -1, 1), + (x0, np.array([0., 0, 1, 0]), -np.inf, 2.8), + (x0, np.array([0., 0, 0, 1]), -3, np.inf), + (x0, np.array([1., 1, 0, 0]), -1, 1), + (x0, np.array([1., 0, -1, 2]), -1.5, np.inf), + (x1, np.array([1., 0, 0, 0]), -np.inf, np.inf), + (x1, np.array([0., 1, 0, 0]), -3, -1), + (x1, np.array([0., 0, 1, 0]), -np.inf, 5.8), + (x1, np.array([0., 0, 0, 1]), -3, np.inf), + (x1, np.array([1., 1, 0, 0]), -3, -1), + (x1, np.array([1., 0, -1, 0]), -5.8, np.inf), + ) + + for x, alpha, lmin, lmax in all_tests: + mi, ma = line_for_search(x, alpha, lower_bound, upper_bound) + assert_allclose(mi, lmin, atol=1e-6) + assert_allclose(ma, lmax, atol=1e-6) + + +def test_linesearch_powell(): + # helper function in optimize.py, not a public function. + linesearch_powell = optimize._optimize._linesearch_powell + # args are func, p, xi, fval, lower_bound=None, upper_bound=None, tol=1e-3 + # returns new_fval, p + direction, direction + def func(x): + return np.sum((x - np.array([-1.0, 2.0, 1.5, -0.4])) ** 2) + p0 = np.array([0., 0, 0, 0]) + fval = func(p0) + lower_bound = np.array([-np.inf] * 4) + upper_bound = np.array([np.inf] * 4) + + all_tests = ( + (np.array([1., 0, 0, 0]), -1), + (np.array([0., 1, 0, 0]), 2), + (np.array([0., 0, 1, 0]), 1.5), + (np.array([0., 0, 0, 1]), -.4), + (np.array([-1., 0, 1, 0]), 1.25), + (np.array([0., 0, 1, 1]), .55), + (np.array([2., 0, -1, 1]), -.65), + ) + + for xi, l in all_tests: + f, p, direction = linesearch_powell(func, p0, xi, + fval=fval, tol=1e-5) + assert_allclose(f, func(l * xi), atol=1e-6) + assert_allclose(p, l * xi, atol=1e-6) + assert_allclose(direction, l * xi, atol=1e-6) + + f, p, direction = linesearch_powell(func, p0, xi, tol=1e-5, + lower_bound=lower_bound, + upper_bound=upper_bound, + fval=fval) + assert_allclose(f, func(l * xi), atol=1e-6) + assert_allclose(p, l * xi, atol=1e-6) + assert_allclose(direction, l * xi, atol=1e-6) + + +def test_linesearch_powell_bounded(): + # helper function in optimize.py, not a public function. + linesearch_powell = optimize._optimize._linesearch_powell + # args are func, p, xi, fval, lower_bound=None, upper_bound=None, tol=1e-3 + # returns new_fval, p+direction, direction + def func(x): + return np.sum((x - np.array([-1.0, 2.0, 1.5, -0.4])) ** 2) + p0 = np.array([0., 0, 0, 0]) + fval = func(p0) + + # first choose bounds such that the same tests from + # test_linesearch_powell should pass. + lower_bound = np.array([-2.]*4) + upper_bound = np.array([2.]*4) + + all_tests = ( + (np.array([1., 0, 0, 0]), -1), + (np.array([0., 1, 0, 0]), 2), + (np.array([0., 0, 1, 0]), 1.5), + (np.array([0., 0, 0, 1]), -.4), + (np.array([-1., 0, 1, 0]), 1.25), + (np.array([0., 0, 1, 1]), .55), + (np.array([2., 0, -1, 1]), -.65), + ) + + for xi, l in all_tests: + f, p, direction = linesearch_powell(func, p0, xi, tol=1e-5, + lower_bound=lower_bound, + upper_bound=upper_bound, + fval=fval) + assert_allclose(f, func(l * xi), atol=1e-6) + assert_allclose(p, l * xi, atol=1e-6) + assert_allclose(direction, l * xi, atol=1e-6) + + # now choose bounds such that unbounded vs bounded gives different results + lower_bound = np.array([-.3]*3 + [-1]) + upper_bound = np.array([.45]*3 + [.9]) + + all_tests = ( + (np.array([1., 0, 0, 0]), -.3), + (np.array([0., 1, 0, 0]), .45), + (np.array([0., 0, 1, 0]), .45), + (np.array([0., 0, 0, 1]), -.4), + (np.array([-1., 0, 1, 0]), .3), + (np.array([0., 0, 1, 1]), .45), + (np.array([2., 0, -1, 1]), -.15), + ) + + for xi, l in all_tests: + f, p, direction = linesearch_powell(func, p0, xi, tol=1e-5, + lower_bound=lower_bound, + upper_bound=upper_bound, + fval=fval) + assert_allclose(f, func(l * xi), atol=1e-6) + assert_allclose(p, l * xi, atol=1e-6) + assert_allclose(direction, l * xi, atol=1e-6) + + # now choose as above but start outside the bounds + p0 = np.array([-1., 0, 0, 2]) + fval = func(p0) + + all_tests = ( + (np.array([1., 0, 0, 0]), .7), + (np.array([0., 1, 0, 0]), .45), + (np.array([0., 0, 1, 0]), .45), + (np.array([0., 0, 0, 1]), -2.4), + ) + + for xi, l in all_tests: + f, p, direction = linesearch_powell(func, p0, xi, tol=1e-5, + lower_bound=lower_bound, + upper_bound=upper_bound, + fval=fval) + assert_allclose(f, func(p0 + l * xi), atol=1e-6) + assert_allclose(p, p0 + l * xi, atol=1e-6) + assert_allclose(direction, l * xi, atol=1e-6) + + # now mix in inf + p0 = np.array([0., 0, 0, 0]) + fval = func(p0) + + # now choose bounds that mix inf + lower_bound = np.array([-.3, -np.inf, -np.inf, -1]) + upper_bound = np.array([np.inf, .45, np.inf, .9]) + + all_tests = ( + (np.array([1., 0, 0, 0]), -.3), + (np.array([0., 1, 0, 0]), .45), + (np.array([0., 0, 1, 0]), 1.5), + (np.array([0., 0, 0, 1]), -.4), + (np.array([-1., 0, 1, 0]), .3), + (np.array([0., 0, 1, 1]), .55), + (np.array([2., 0, -1, 1]), -.15), + ) + + for xi, l in all_tests: + f, p, direction = linesearch_powell(func, p0, xi, tol=1e-5, + lower_bound=lower_bound, + upper_bound=upper_bound, + fval=fval) + assert_allclose(f, func(l * xi), atol=1e-6) + assert_allclose(p, l * xi, atol=1e-6) + assert_allclose(direction, l * xi, atol=1e-6) + + # now choose as above but start outside the bounds + p0 = np.array([-1., 0, 0, 2]) + fval = func(p0) + + all_tests = ( + (np.array([1., 0, 0, 0]), .7), + (np.array([0., 1, 0, 0]), .45), + (np.array([0., 0, 1, 0]), 1.5), + (np.array([0., 0, 0, 1]), -2.4), + ) + + for xi, l in all_tests: + f, p, direction = linesearch_powell(func, p0, xi, tol=1e-5, + lower_bound=lower_bound, + upper_bound=upper_bound, + fval=fval) + assert_allclose(f, func(p0 + l * xi), atol=1e-6) + assert_allclose(p, p0 + l * xi, atol=1e-6) + assert_allclose(direction, l * xi, atol=1e-6) + + +def test_powell_limits(): + # gh15342 - powell was going outside bounds for some function evaluations. + bounds = optimize.Bounds([0, 0], [0.6, 20]) + + def fun(x): + a, b = x + assert (x >= bounds.lb).all() and (x <= bounds.ub).all() + return a ** 2 + b ** 2 + + optimize.minimize(fun, x0=[0.6, 20], method='Powell', bounds=bounds) + + # Another test from the original report - gh-13411 + bounds = optimize.Bounds(lb=[0,], ub=[1,], keep_feasible=[True,]) + + def func(x): + assert x >= 0 and x <= 1 + return np.exp(x) + + optimize.minimize(fun=func, x0=[0.5], method='powell', bounds=bounds) + + +def test_powell_output(): + funs = [rosen, lambda x: np.array(rosen(x)), lambda x: np.array([rosen(x)])] + for fun in funs: + res = optimize.minimize(fun, x0=[0.6, 20], method='Powell') + assert np.isscalar(res.fun) + + +@array_api_compatible +class TestRosen: + def test_rosen(self, xp): + # integer input should be promoted to the default floating type + x = xp.asarray([1, 1, 1]) + xp_assert_equal(optimize.rosen(x), + xp.asarray(0.)) + + @skip_xp_backends('jax.numpy', + reasons=["JAX arrays do not support item assignment"]) + @pytest.mark.usefixtures("skip_xp_backends") + def test_rosen_der(self, xp): + x = xp.asarray([1, 1, 1, 1]) + xp_assert_equal(optimize.rosen_der(x), + xp.zeros_like(x, dtype=xp.asarray(1.).dtype)) + + @skip_xp_backends('jax.numpy', + reasons=["JAX arrays do not support item assignment"]) + @pytest.mark.usefixtures("skip_xp_backends") + def test_hess_prod(self, xp): + one = xp.asarray(1.) + xp_test = array_namespace(one) + # Compare rosen_hess(x) times p with rosen_hess_prod(x,p). See gh-1775. + x = xp.asarray([3, 4, 5]) + p = xp.asarray([2, 2, 2]) + hp = optimize.rosen_hess_prod(x, p) + p = xp_test.astype(p, one.dtype) + dothp = optimize.rosen_hess(x) @ p + xp_assert_equal(hp, dothp) + + +def himmelblau(p): + """ + R^2 -> R^1 test function for optimization. The function has four local + minima where himmelblau(xopt) == 0. + """ + x, y = p + a = x*x + y - 11 + b = x + y*y - 7 + return a*a + b*b + + +def himmelblau_grad(p): + x, y = p + return np.array([4*x**3 + 4*x*y - 42*x + 2*y**2 - 14, + 2*x**2 + 4*x*y + 4*y**3 - 26*y - 22]) + + +def himmelblau_hess(p): + x, y = p + return np.array([[12*x**2 + 4*y - 42, 4*x + 4*y], + [4*x + 4*y, 4*x + 12*y**2 - 26]]) + + +himmelblau_x0 = [-0.27, -0.9] +himmelblau_xopt = [3, 2] +himmelblau_min = 0.0 + + +def test_minimize_multiple_constraints(): + # Regression test for gh-4240. + def func(x): + return np.array([25 - 0.2 * x[0] - 0.4 * x[1] - 0.33 * x[2]]) + + def func1(x): + return np.array([x[1]]) + + def func2(x): + return np.array([x[2]]) + + cons = ({'type': 'ineq', 'fun': func}, + {'type': 'ineq', 'fun': func1}, + {'type': 'ineq', 'fun': func2}) + + def f(x): + return -1 * (x[0] + x[1] + x[2]) + + res = optimize.minimize(f, [0, 0, 0], method='SLSQP', constraints=cons) + assert_allclose(res.x, [125, 0, 0], atol=1e-10) + + +class TestOptimizeResultAttributes: + # Test that all minimizers return an OptimizeResult containing + # all the OptimizeResult attributes + def setup_method(self): + self.x0 = [5, 5] + self.func = optimize.rosen + self.jac = optimize.rosen_der + self.hess = optimize.rosen_hess + self.hessp = optimize.rosen_hess_prod + self.bounds = [(0., 10.), (0., 10.)] + + @pytest.mark.fail_slow(2) + def test_attributes_present(self): + attributes = ['nit', 'nfev', 'x', 'success', 'status', 'fun', + 'message'] + skip = {'cobyla': ['nit']} + for method in MINIMIZE_METHODS: + with suppress_warnings() as sup: + sup.filter(RuntimeWarning, + ("Method .+ does not use (gradient|Hessian.*)" + " information")) + res = optimize.minimize(self.func, self.x0, method=method, + jac=self.jac, hess=self.hess, + hessp=self.hessp) + for attribute in attributes: + if method in skip and attribute in skip[method]: + continue + + assert hasattr(res, attribute) + assert attribute in dir(res) + + # gh13001, OptimizeResult.message should be a str + assert isinstance(res.message, str) + + +def f1(z, *params): + x, y = z + a, b, c, d, e, f, g, h, i, j, k, l, scale = params + return (a * x**2 + b * x * y + c * y**2 + d*x + e*y + f) + + +def f2(z, *params): + x, y = z + a, b, c, d, e, f, g, h, i, j, k, l, scale = params + return (-g*np.exp(-((x-h)**2 + (y-i)**2) / scale)) + + +def f3(z, *params): + x, y = z + a, b, c, d, e, f, g, h, i, j, k, l, scale = params + return (-j*np.exp(-((x-k)**2 + (y-l)**2) / scale)) + + +def brute_func(z, *params): + return f1(z, *params) + f2(z, *params) + f3(z, *params) + + +class TestBrute: + # Test the "brute force" method + def setup_method(self): + self.params = (2, 3, 7, 8, 9, 10, 44, -1, 2, 26, 1, -2, 0.5) + self.rranges = (slice(-4, 4, 0.25), slice(-4, 4, 0.25)) + self.solution = np.array([-1.05665192, 1.80834843]) + + def brute_func(self, z, *params): + # an instance method optimizing + return brute_func(z, *params) + + def test_brute(self): + # test fmin + resbrute = optimize.brute(brute_func, self.rranges, args=self.params, + full_output=True, finish=optimize.fmin) + assert_allclose(resbrute[0], self.solution, atol=1e-3) + assert_allclose(resbrute[1], brute_func(self.solution, *self.params), + atol=1e-3) + + # test minimize + resbrute = optimize.brute(brute_func, self.rranges, args=self.params, + full_output=True, + finish=optimize.minimize) + assert_allclose(resbrute[0], self.solution, atol=1e-3) + assert_allclose(resbrute[1], brute_func(self.solution, *self.params), + atol=1e-3) + + # test that brute can optimize an instance method (the other tests use + # a non-class based function + resbrute = optimize.brute(self.brute_func, self.rranges, + args=self.params, full_output=True, + finish=optimize.minimize) + assert_allclose(resbrute[0], self.solution, atol=1e-3) + + def test_1D(self): + # test that for a 1-D problem the test function is passed an array, + # not a scalar. + def f(x): + assert len(x.shape) == 1 + assert x.shape[0] == 1 + return x ** 2 + + optimize.brute(f, [(-1, 1)], Ns=3, finish=None) + + @pytest.mark.fail_slow(10) + def test_workers(self): + # check that parallel evaluation works + resbrute = optimize.brute(brute_func, self.rranges, args=self.params, + full_output=True, finish=None) + + resbrute1 = optimize.brute(brute_func, self.rranges, args=self.params, + full_output=True, finish=None, workers=2) + + assert_allclose(resbrute1[-1], resbrute[-1]) + assert_allclose(resbrute1[0], resbrute[0]) + + @pytest.mark.thread_unsafe + def test_runtime_warning(self, capsys): + rng = np.random.default_rng(1234) + + def func(z, *params): + return rng.random(1) * 1000 # never converged problem + + msg = "final optimization did not succeed.*|Maximum number of function eval.*" + with pytest.warns(RuntimeWarning, match=msg): + optimize.brute(func, self.rranges, args=self.params, disp=True) + + def test_coerce_args_param(self): + # optimize.brute should coerce non-iterable args to a tuple. + def f(x, *args): + return x ** args[0] + + resbrute = optimize.brute(f, (slice(-4, 4, .25),), args=2) + assert_allclose(resbrute, 0) + + +@pytest.mark.thread_unsafe +@pytest.mark.fail_slow(20) +def test_cobyla_threadsafe(): + + # Verify that cobyla is threadsafe. Will segfault if it is not. + + import concurrent.futures + import time + + def objective1(x): + time.sleep(0.1) + return x[0]**2 + + def objective2(x): + time.sleep(0.1) + return (x[0]-1)**2 + + min_method = "COBYLA" + + def minimizer1(): + return optimize.minimize(objective1, + [0.0], + method=min_method) + + def minimizer2(): + return optimize.minimize(objective2, + [0.0], + method=min_method) + + with concurrent.futures.ThreadPoolExecutor() as pool: + tasks = [] + tasks.append(pool.submit(minimizer1)) + tasks.append(pool.submit(minimizer2)) + for t in tasks: + t.result() + + +class TestIterationLimits: + # Tests that optimisation does not give up before trying requested + # number of iterations or evaluations. And that it does not succeed + # by exceeding the limits. + def setup_method(self): + self.funcalls = threading.local() + + def slow_func(self, v): + if not hasattr(self.funcalls, 'c'): + self.funcalls.c = 0 + self.funcalls.c += 1 + r, t = np.sqrt(v[0]**2+v[1]**2), np.arctan2(v[0], v[1]) + return np.sin(r*20 + t)+r*0.5 + + @pytest.mark.fail_slow(10) + def test_neldermead_limit(self): + self.check_limits("Nelder-Mead", 200) + + def test_powell_limit(self): + self.check_limits("powell", 1000) + + def check_limits(self, method, default_iters): + for start_v in [[0.1, 0.1], [1, 1], [2, 2]]: + for mfev in [50, 500, 5000]: + self.funcalls.c = 0 + res = optimize.minimize(self.slow_func, start_v, + method=method, + options={"maxfev": mfev}) + assert self.funcalls.c == res["nfev"] + if res["success"]: + assert res["nfev"] < mfev + else: + assert res["nfev"] >= mfev + for mit in [50, 500, 5000]: + res = optimize.minimize(self.slow_func, start_v, + method=method, + options={"maxiter": mit}) + if res["success"]: + assert res["nit"] <= mit + else: + assert res["nit"] >= mit + for mfev, mit in [[50, 50], [5000, 5000], [5000, np.inf]]: + self.funcalls.c = 0 + res = optimize.minimize(self.slow_func, start_v, + method=method, + options={"maxiter": mit, + "maxfev": mfev}) + assert self.funcalls.c == res["nfev"] + if res["success"]: + assert res["nfev"] < mfev and res["nit"] <= mit + else: + assert res["nfev"] >= mfev or res["nit"] >= mit + for mfev, mit in [[np.inf, None], [None, np.inf]]: + self.funcalls.c = 0 + res = optimize.minimize(self.slow_func, start_v, + method=method, + options={"maxiter": mit, + "maxfev": mfev}) + assert self.funcalls.c == res["nfev"] + if res["success"]: + if mfev is None: + assert res["nfev"] < default_iters*2 + else: + assert res["nit"] <= default_iters*2 + else: + assert (res["nfev"] >= default_iters*2 + or res["nit"] >= default_iters*2) + + +def test_result_x_shape_when_len_x_is_one(): + def fun(x): + return x * x + + def jac(x): + return 2. * x + + def hess(x): + return np.array([[2.]]) + + methods = ['Nelder-Mead', 'Powell', 'CG', 'BFGS', 'L-BFGS-B', 'TNC', + 'COBYLA', 'COBYQA', 'SLSQP'] + for method in methods: + res = optimize.minimize(fun, np.array([0.1]), method=method) + assert res.x.shape == (1,) + + # use jac + hess + methods = ['trust-constr', 'dogleg', 'trust-ncg', 'trust-exact', + 'trust-krylov', 'Newton-CG'] + for method in methods: + res = optimize.minimize(fun, np.array([0.1]), method=method, jac=jac, + hess=hess) + assert res.x.shape == (1,) + + +class FunctionWithGradient: + def __init__(self): + self.number_of_calls = threading.local() + + def __call__(self, x): + if not hasattr(self.number_of_calls, 'c'): + self.number_of_calls.c = 0 + self.number_of_calls.c += 1 + return np.sum(x**2), 2 * x + + +@pytest.fixture +def function_with_gradient(): + return FunctionWithGradient() + + +def test_memoize_jac_function_before_gradient(function_with_gradient): + memoized_function = MemoizeJac(function_with_gradient) + + x0 = np.array([1.0, 2.0]) + assert_allclose(memoized_function(x0), 5.0) + assert function_with_gradient.number_of_calls.c == 1 + + assert_allclose(memoized_function.derivative(x0), 2 * x0) + assert function_with_gradient.number_of_calls.c == 1, \ + "function is not recomputed " \ + "if gradient is requested after function value" + + assert_allclose( + memoized_function(2 * x0), 20.0, + err_msg="different input triggers new computation") + assert function_with_gradient.number_of_calls.c == 2, \ + "different input triggers new computation" + + +def test_memoize_jac_gradient_before_function(function_with_gradient): + memoized_function = MemoizeJac(function_with_gradient) + + x0 = np.array([1.0, 2.0]) + assert_allclose(memoized_function.derivative(x0), 2 * x0) + assert function_with_gradient.number_of_calls.c == 1 + + assert_allclose(memoized_function(x0), 5.0) + assert function_with_gradient.number_of_calls.c == 1, \ + "function is not recomputed " \ + "if function value is requested after gradient" + + assert_allclose( + memoized_function.derivative(2 * x0), 4 * x0, + err_msg="different input triggers new computation") + assert function_with_gradient.number_of_calls.c == 2, \ + "different input triggers new computation" + + +def test_memoize_jac_with_bfgs(function_with_gradient): + """ Tests that using MemoizedJac in combination with ScalarFunction + and BFGS does not lead to repeated function evaluations. + Tests changes made in response to GH11868. + """ + memoized_function = MemoizeJac(function_with_gradient) + jac = memoized_function.derivative + hess = optimize.BFGS() + + x0 = np.array([1.0, 0.5]) + scalar_function = ScalarFunction( + memoized_function, x0, (), jac, hess, None, None) + assert function_with_gradient.number_of_calls.c == 1 + + scalar_function.fun(x0 + 0.1) + assert function_with_gradient.number_of_calls.c == 2 + + scalar_function.fun(x0 + 0.2) + assert function_with_gradient.number_of_calls.c == 3 + + +def test_gh12696(): + # Test that optimize doesn't throw warning gh-12696 + with assert_no_warnings(): + optimize.fminbound( + lambda x: np.array([x**2]), -np.pi, np.pi, disp=False) + + +# --- Test minimize with equal upper and lower bounds --- # + +def setup_test_equal_bounds(): + + rng = np.random.RandomState(0) + x0 = rng.rand(4) + lb = np.array([0, 2, -1, -1.0]) + ub = np.array([3, 2, 2, -1.0]) + i_eb = (lb == ub) + + def check_x(x, check_size=True, check_values=True): + if check_size: + assert x.size == 4 + if check_values: + assert_allclose(x[i_eb], lb[i_eb]) + + def func(x): + check_x(x) + return optimize.rosen(x) + + def grad(x): + check_x(x) + return optimize.rosen_der(x) + + def callback(x, *args): + check_x(x) + + def constraint1(x): + check_x(x, check_values=False) + return x[0:1] - 1 + + def jacobian1(x): + check_x(x, check_values=False) + dc = np.zeros_like(x) + dc[0] = 1 + return dc + + def constraint2(x): + check_x(x, check_values=False) + return x[2:3] - 0.5 + + def jacobian2(x): + check_x(x, check_values=False) + dc = np.zeros_like(x) + dc[2] = 1 + return dc + + c1a = NonlinearConstraint(constraint1, -np.inf, 0) + c1b = NonlinearConstraint(constraint1, -np.inf, 0, jacobian1) + c2a = NonlinearConstraint(constraint2, -np.inf, 0) + c2b = NonlinearConstraint(constraint2, -np.inf, 0, jacobian2) + + # test using the three methods that accept bounds, use derivatives, and + # have some trouble when bounds fix variables + methods = ('L-BFGS-B', 'SLSQP', 'TNC') + + # test w/out gradient, w/ gradient, and w/ combined objective/gradient + kwds = ({"fun": func, "jac": False}, + {"fun": func, "jac": grad}, + {"fun": (lambda x: (func(x), grad(x))), + "jac": True}) + + # test with both old- and new-style bounds + bound_types = (lambda lb, ub: list(zip(lb, ub)), + Bounds) + + # Test for many combinations of constraints w/ and w/out jacobian + # Pairs in format: (test constraints, reference constraints) + # (always use analytical jacobian in reference) + constraints = ((None, None), ([], []), + (c1a, c1b), (c2b, c2b), + ([c1b], [c1b]), ([c2a], [c2b]), + ([c1a, c2a], [c1b, c2b]), + ([c1a, c2b], [c1b, c2b]), + ([c1b, c2b], [c1b, c2b])) + + # test with and without callback function + callbacks = (None, callback) + + data = {"methods": methods, "kwds": kwds, "bound_types": bound_types, + "constraints": constraints, "callbacks": callbacks, + "lb": lb, "ub": ub, "x0": x0, "i_eb": i_eb} + + return data + + +eb_data = setup_test_equal_bounds() + + +# This test is about handling fixed variables, not the accuracy of the solvers +@pytest.mark.xfail_on_32bit("Failures due to floating point issues, not logic") +@pytest.mark.xfail(scipy.show_config(mode='dicts')['Compilers']['fortran']['name'] == + "intel-llvm", + reason="Failures due to floating point issues, not logic") +@pytest.mark.parametrize('method', eb_data["methods"]) +@pytest.mark.parametrize('kwds', eb_data["kwds"]) +@pytest.mark.parametrize('bound_type', eb_data["bound_types"]) +@pytest.mark.parametrize('constraints', eb_data["constraints"]) +@pytest.mark.parametrize('callback', eb_data["callbacks"]) +def test_equal_bounds(method, kwds, bound_type, constraints, callback): + """ + Tests that minimizers still work if (bounds.lb == bounds.ub).any() + gh12502 - Divide by zero in Jacobian numerical differentiation when + equality bounds constraints are used + """ + # GH-15051; slightly more skips than necessary; hopefully fixed by GH-14882 + if (platform.machine() == 'aarch64' and method == "TNC" + and kwds["jac"] is False and callback is not None): + pytest.skip('Tolerance violation on aarch') + + lb, ub = eb_data["lb"], eb_data["ub"] + x0, i_eb = eb_data["x0"], eb_data["i_eb"] + + test_constraints, reference_constraints = constraints + if test_constraints and not method == 'SLSQP': + pytest.skip('Only SLSQP supports nonlinear constraints') + # reference constraints always have analytical jacobian + # if test constraints are not the same, we'll need finite differences + fd_needed = (test_constraints != reference_constraints) + + bounds = bound_type(lb, ub) # old- or new-style + + kwds.update({"x0": x0, "method": method, "bounds": bounds, + "constraints": test_constraints, "callback": callback}) + res = optimize.minimize(**kwds) + + expected = optimize.minimize(optimize.rosen, x0, method=method, + jac=optimize.rosen_der, bounds=bounds, + constraints=reference_constraints) + + # compare the output of a solution with FD vs that of an analytic grad + assert res.success + assert_allclose(res.fun, expected.fun, rtol=1.5e-6) + assert_allclose(res.x, expected.x, rtol=5e-4) + + if fd_needed or kwds['jac'] is False: + expected.jac[i_eb] = np.nan + assert res.jac.shape[0] == 4 + assert_allclose(res.jac[i_eb], expected.jac[i_eb], rtol=1e-6) + + if not (kwds['jac'] or test_constraints or isinstance(bounds, Bounds)): + # compare the output to an equivalent FD minimization that doesn't + # need factorization + def fun(x): + new_x = np.array([np.nan, 2, np.nan, -1]) + new_x[[0, 2]] = x + return optimize.rosen(new_x) + + fd_res = optimize.minimize(fun, + x0[[0, 2]], + method=method, + bounds=bounds[::2]) + assert_allclose(res.fun, fd_res.fun) + # TODO this test should really be equivalent to factorized version + # above, down to res.nfev. However, testing found that when TNC is + # called with or without a callback the output is different. The two + # should be the same! This indicates that the TNC callback may be + # mutating something when it shouldn't. + assert_allclose(res.x[[0, 2]], fd_res.x, rtol=2e-6) + + +@pytest.mark.parametrize('method', eb_data["methods"]) +def test_all_bounds_equal(method): + # this only tests methods that have parameters factored out when lb==ub + # it does not test other methods that work with bounds + def f(x, p1=1): + return np.linalg.norm(x) + p1 + + bounds = [(1, 1), (2, 2)] + x0 = (1.0, 3.0) + res = optimize.minimize(f, x0, bounds=bounds, method=method) + assert res.success + assert_allclose(res.fun, f([1.0, 2.0])) + assert res.nfev == 1 + assert res.message == 'All independent variables were fixed by bounds.' + + args = (2,) + res = optimize.minimize(f, x0, bounds=bounds, method=method, args=args) + assert res.success + assert_allclose(res.fun, f([1.0, 2.0], 2)) + + if method.upper() == 'SLSQP': + def con(x): + return np.sum(x) + nlc = NonlinearConstraint(con, -np.inf, 0.0) + res = optimize.minimize( + f, x0, bounds=bounds, method=method, constraints=[nlc] + ) + assert res.success is False + assert_allclose(res.fun, f([1.0, 2.0])) + assert res.nfev == 1 + message = "All independent variables were fixed by bounds, but" + assert res.message.startswith(message) + + nlc = NonlinearConstraint(con, -np.inf, 4) + res = optimize.minimize( + f, x0, bounds=bounds, method=method, constraints=[nlc] + ) + assert res.success is True + assert_allclose(res.fun, f([1.0, 2.0])) + assert res.nfev == 1 + message = "All independent variables were fixed by bounds at values" + assert res.message.startswith(message) + + +def test_eb_constraints(): + # make sure constraint functions aren't overwritten when equal bounds + # are employed, and a parameter is factored out. GH14859 + def f(x): + return x[0]**3 + x[1]**2 + x[2]*x[3] + + def cfun(x): + return x[0] + x[1] + x[2] + x[3] - 40 + + constraints = [{'type': 'ineq', 'fun': cfun}] + + bounds = [(0, 20)] * 4 + bounds[1] = (5, 5) + optimize.minimize( + f, + x0=[1, 2, 3, 4], + method='SLSQP', + bounds=bounds, + constraints=constraints, + ) + assert constraints[0]['fun'] == cfun + + +def test_show_options(): + solver_methods = { + 'minimize': MINIMIZE_METHODS, + 'minimize_scalar': MINIMIZE_SCALAR_METHODS, + 'root': ROOT_METHODS, + 'root_scalar': ROOT_SCALAR_METHODS, + 'linprog': LINPROG_METHODS, + 'quadratic_assignment': QUADRATIC_ASSIGNMENT_METHODS, + } + for solver, methods in solver_methods.items(): + for method in methods: + # testing that `show_options` works without error + show_options(solver, method) + + unknown_solver_method = { + 'minimize': "ekki", # unknown method + 'maximize': "cg", # unknown solver + 'maximize_scalar': "ekki", # unknown solver and method + } + for solver, method in unknown_solver_method.items(): + # testing that `show_options` raises ValueError + assert_raises(ValueError, show_options, solver, method) + + +def test_bounds_with_list(): + # gh13501. Bounds created with lists weren't working for Powell. + bounds = optimize.Bounds(lb=[5., 5.], ub=[10., 10.]) + optimize.minimize( + optimize.rosen, x0=np.array([9, 9]), method='Powell', bounds=bounds + ) + + +def test_x_overwritten_user_function(): + # if the user overwrites the x-array in the user function it's likely + # that the minimizer stops working properly. + # gh13740 + def fquad(x): + a = np.arange(np.size(x)) + x -= a + x *= x + return np.sum(x) + + def fquad_jac(x): + a = np.arange(np.size(x)) + x *= 2 + x -= 2 * a + return x + + def fquad_hess(x): + return np.eye(np.size(x)) * 2.0 + + meth_jac = [ + 'newton-cg', 'dogleg', 'trust-ncg', 'trust-exact', + 'trust-krylov', 'trust-constr' + ] + meth_hess = [ + 'dogleg', 'trust-ncg', 'trust-exact', 'trust-krylov', 'trust-constr' + ] + + x0 = np.ones(5) * 1.5 + + for meth in MINIMIZE_METHODS: + jac = None + hess = None + if meth in meth_jac: + jac = fquad_jac + if meth in meth_hess: + hess = fquad_hess + res = optimize.minimize(fquad, x0, method=meth, jac=jac, hess=hess) + assert_allclose(res.x, np.arange(np.size(x0)), atol=2e-4) + + +class TestGlobalOptimization: + + def test_optimize_result_attributes(self): + def func(x): + return x ** 2 + + # Note that `brute` solver does not return `OptimizeResult` + results = [optimize.basinhopping(func, x0=1), + optimize.differential_evolution(func, [(-4, 4)]), + optimize.shgo(func, [(-4, 4)]), + optimize.dual_annealing(func, [(-4, 4)]), + optimize.direct(func, [(-4, 4)]), + ] + + for result in results: + assert isinstance(result, optimize.OptimizeResult) + assert hasattr(result, "x") + assert hasattr(result, "success") + assert hasattr(result, "message") + assert hasattr(result, "fun") + assert hasattr(result, "nfev") + assert hasattr(result, "nit") + + +def test_approx_fprime(): + # check that approx_fprime (serviced by approx_derivative) works for + # jac and hess + g = optimize.approx_fprime(himmelblau_x0, himmelblau) + assert_allclose(g, himmelblau_grad(himmelblau_x0), rtol=5e-6) + + h = optimize.approx_fprime(himmelblau_x0, himmelblau_grad) + assert_allclose(h, himmelblau_hess(himmelblau_x0), rtol=5e-6) + + +def test_gh12594(): + # gh-12594 reported an error in `_linesearch_powell` and + # `_line_for_search` when `Bounds` was passed lists instead of arrays. + # Check that results are the same whether the inputs are lists or arrays. + + def f(x): + return x[0]**2 + (x[1] - 1)**2 + + bounds = Bounds(lb=[-10, -10], ub=[10, 10]) + res = optimize.minimize(f, x0=(0, 0), method='Powell', bounds=bounds) + bounds = Bounds(lb=np.array([-10, -10]), ub=np.array([10, 10])) + ref = optimize.minimize(f, x0=(0, 0), method='Powell', bounds=bounds) + + assert_allclose(res.fun, ref.fun) + assert_allclose(res.x, ref.x) + + +@pytest.mark.parametrize('method', ['Newton-CG', 'trust-constr']) +@pytest.mark.parametrize('sparse_type', [coo_matrix, csc_matrix, csr_matrix, + coo_array, csr_array, csc_array]) +def test_sparse_hessian(method, sparse_type): + # gh-8792 reported an error for minimization with `newton_cg` when `hess` + # returns a sparse matrix. Check that results are the same whether `hess` + # returns a dense or sparse matrix for optimization methods that accept + # sparse Hessian matrices. + + def sparse_rosen_hess(x): + return sparse_type(rosen_hess(x)) + + x0 = [2., 2.] + + res_sparse = optimize.minimize(rosen, x0, method=method, + jac=rosen_der, hess=sparse_rosen_hess) + res_dense = optimize.minimize(rosen, x0, method=method, + jac=rosen_der, hess=rosen_hess) + + assert_allclose(res_dense.fun, res_sparse.fun) + assert_allclose(res_dense.x, res_sparse.x) + assert res_dense.nfev == res_sparse.nfev + assert res_dense.njev == res_sparse.njev + assert res_dense.nhev == res_sparse.nhev diff --git a/shared/package-files/45/45d589f42ba106f898d5cec50a1c0b0defd94ceccbba4c6a682d4ae40e809a93/dsskey.pyi b/shared/package-files/45/45d589f42ba106f898d5cec50a1c0b0defd94ceccbba4c6a682d4ae40e809a93/dsskey.pyi new file mode 100644 index 0000000000000000000000000000000000000000..9150877275e8740a5b2e0f76bf028c0de0b6c876 --- /dev/null +++ b/shared/package-files/45/45d589f42ba106f898d5cec50a1c0b0defd94ceccbba4c6a682d4ae40e809a93/dsskey.pyi @@ -0,0 +1,34 @@ +from typing import IO, Any, Callable, Optional, Tuple + +from paramiko.ber import BER +from paramiko.message import Message +from paramiko.pkey import PKey, PublicBlob + +class DSSKey(PKey): + p: Optional[int] + q: Optional[int] + g: Optional[int] + y: Optional[int] + x: Optional[int] + public_blob: None + size: int + def __init__( + self, + msg: Optional[Message] = ..., + data: Optional[bytes] = ..., + filename: Optional[str] = ..., + password: Optional[str] = ..., + vals: Optional[Tuple[int, int, int, int]] = ..., + file_obj: Optional[IO[str]] = ..., + ) -> None: ... + def asbytes(self) -> bytes: ... + def __hash__(self) -> int: ... + def get_name(self) -> str: ... + def get_bits(self) -> int: ... + def can_sign(self) -> bool: ... + def sign_ssh_data(self, data: bytes) -> Message: ... + def verify_ssh_sig(self, data: bytes, msg: Message) -> bool: ... + def write_private_key_file(self, filename: str, password: Optional[str] = ...) -> None: ... + def write_private_key(self, file_obj: IO[str], password: Optional[str] = ...) -> None: ... + @staticmethod + def generate(bits: int = ..., progress_func: Optional[Callable[..., Any]] = ...) -> DSSKey: ... diff --git a/shared/package-files/45/45d6119e260b18b942f06368473906d1baaf3d3e7a42bd5167931afe713768fb/_exporter_states.py b/shared/package-files/45/45d6119e260b18b942f06368473906d1baaf3d3e7a42bd5167931afe713768fb/_exporter_states.py new file mode 100644 index 0000000000000000000000000000000000000000..dddc92befe6e123e1ec9c12f2b0e4cb7e5eccfa6 --- /dev/null +++ b/shared/package-files/45/45d6119e260b18b942f06368473906d1baaf3d3e7a42bd5167931afe713768fb/_exporter_states.py @@ -0,0 +1,39 @@ +from __future__ import annotations + +from typing import Dict + +from torch import _C + + +class ExportTypes: + r"""Specifies how the ONNX model is stored.""" + + PROTOBUF_FILE = "Saves model in the specified protobuf file." + ZIP_ARCHIVE = "Saves model in the specified ZIP file (uncompressed)." + COMPRESSED_ZIP_ARCHIVE = "Saves model in the specified ZIP file (compressed)." + DIRECTORY = "Saves model in the specified folder." + + +class SymbolicContext: + """Extra context for symbolic functions. + + Args: + params_dict (Dict[str, _C.IValue]): Mapping from graph initializer name to IValue. + env (Dict[_C.Value, _C.Value]): Mapping from Torch domain graph Value to ONNX domain graph Value. + cur_node (_C.Node): Current node being converted to ONNX domain. + onnx_block (_C.Block): Current ONNX block that converted nodes are being appended to. + """ + + def __init__( + self, + params_dict: Dict[str, _C.IValue], + env: dict, + cur_node: _C.Node, + onnx_block: _C.Block, + ): + self.params_dict: Dict[str, _C.IValue] = params_dict + self.env: Dict[_C.Value, _C.Value] = env + # Current node that is being converted. + self.cur_node: _C.Node = cur_node + # Current onnx block that converted nodes are being appended to. + self.onnx_block: _C.Block = onnx_block diff --git a/shared/package-files/45/45d6f4e7f52d33a1ec849356023a73411d69541d5a6f8ad27cc3c17acd853904/adm42 b/shared/package-files/45/45d6f4e7f52d33a1ec849356023a73411d69541d5a6f8ad27cc3c17acd853904/adm42 new file mode 100644 index 0000000000000000000000000000000000000000..95d9e9a9dd76619af17bc9067f1b2c1800bf7fa7 Binary files /dev/null and b/shared/package-files/45/45d6f4e7f52d33a1ec849356023a73411d69541d5a6f8ad27cc3c17acd853904/adm42 differ diff --git a/shared/package-files/45/45d7820af510989615bdc70e2704e8a1b4ca0e0f72cd42f4ea8f4c90f9917e62/test_pocketfft.py b/shared/package-files/45/45d7820af510989615bdc70e2704e8a1b4ca0e0f72cd42f4ea8f4c90f9917e62/test_pocketfft.py new file mode 100644 index 0000000000000000000000000000000000000000..122a9fac93ec9006e36660c5fa4b446d384b1c3e --- /dev/null +++ b/shared/package-files/45/45d7820af510989615bdc70e2704e8a1b4ca0e0f72cd42f4ea8f4c90f9917e62/test_pocketfft.py @@ -0,0 +1,308 @@ +import numpy as np +import pytest +from numpy.random import random +from numpy.testing import ( + assert_array_equal, assert_raises, assert_allclose, IS_WASM + ) +import threading +import queue + + +def fft1(x): + L = len(x) + phase = -2j * np.pi * (np.arange(L) / L) + phase = np.arange(L).reshape(-1, 1) * phase + return np.sum(x*np.exp(phase), axis=1) + + +class TestFFTShift: + + def test_fft_n(self): + assert_raises(ValueError, np.fft.fft, [1, 2, 3], 0) + + +class TestFFT1D: + + def test_identity(self): + maxlen = 512 + x = random(maxlen) + 1j*random(maxlen) + xr = random(maxlen) + for i in range(1, maxlen): + assert_allclose(np.fft.ifft(np.fft.fft(x[0:i])), x[0:i], + atol=1e-12) + assert_allclose(np.fft.irfft(np.fft.rfft(xr[0:i]), i), + xr[0:i], atol=1e-12) + + def test_fft(self): + x = random(30) + 1j*random(30) + assert_allclose(fft1(x), np.fft.fft(x), atol=1e-6) + assert_allclose(fft1(x), np.fft.fft(x, norm="backward"), atol=1e-6) + assert_allclose(fft1(x) / np.sqrt(30), + np.fft.fft(x, norm="ortho"), atol=1e-6) + assert_allclose(fft1(x) / 30., + np.fft.fft(x, norm="forward"), atol=1e-6) + + @pytest.mark.parametrize('norm', (None, 'backward', 'ortho', 'forward')) + def test_ifft(self, norm): + x = random(30) + 1j*random(30) + assert_allclose( + x, np.fft.ifft(np.fft.fft(x, norm=norm), norm=norm), + atol=1e-6) + # Ensure we get the correct error message + with pytest.raises(ValueError, + match='Invalid number of FFT data points'): + np.fft.ifft([], norm=norm) + + def test_fft2(self): + x = random((30, 20)) + 1j*random((30, 20)) + assert_allclose(np.fft.fft(np.fft.fft(x, axis=1), axis=0), + np.fft.fft2(x), atol=1e-6) + assert_allclose(np.fft.fft2(x), + np.fft.fft2(x, norm="backward"), atol=1e-6) + assert_allclose(np.fft.fft2(x) / np.sqrt(30 * 20), + np.fft.fft2(x, norm="ortho"), atol=1e-6) + assert_allclose(np.fft.fft2(x) / (30. * 20.), + np.fft.fft2(x, norm="forward"), atol=1e-6) + + def test_ifft2(self): + x = random((30, 20)) + 1j*random((30, 20)) + assert_allclose(np.fft.ifft(np.fft.ifft(x, axis=1), axis=0), + np.fft.ifft2(x), atol=1e-6) + assert_allclose(np.fft.ifft2(x), + np.fft.ifft2(x, norm="backward"), atol=1e-6) + assert_allclose(np.fft.ifft2(x) * np.sqrt(30 * 20), + np.fft.ifft2(x, norm="ortho"), atol=1e-6) + assert_allclose(np.fft.ifft2(x) * (30. * 20.), + np.fft.ifft2(x, norm="forward"), atol=1e-6) + + def test_fftn(self): + x = random((30, 20, 10)) + 1j*random((30, 20, 10)) + assert_allclose( + np.fft.fft(np.fft.fft(np.fft.fft(x, axis=2), axis=1), axis=0), + np.fft.fftn(x), atol=1e-6) + assert_allclose(np.fft.fftn(x), + np.fft.fftn(x, norm="backward"), atol=1e-6) + assert_allclose(np.fft.fftn(x) / np.sqrt(30 * 20 * 10), + np.fft.fftn(x, norm="ortho"), atol=1e-6) + assert_allclose(np.fft.fftn(x) / (30. * 20. * 10.), + np.fft.fftn(x, norm="forward"), atol=1e-6) + + def test_ifftn(self): + x = random((30, 20, 10)) + 1j*random((30, 20, 10)) + assert_allclose( + np.fft.ifft(np.fft.ifft(np.fft.ifft(x, axis=2), axis=1), axis=0), + np.fft.ifftn(x), atol=1e-6) + assert_allclose(np.fft.ifftn(x), + np.fft.ifftn(x, norm="backward"), atol=1e-6) + assert_allclose(np.fft.ifftn(x) * np.sqrt(30 * 20 * 10), + np.fft.ifftn(x, norm="ortho"), atol=1e-6) + assert_allclose(np.fft.ifftn(x) * (30. * 20. * 10.), + np.fft.ifftn(x, norm="forward"), atol=1e-6) + + def test_rfft(self): + x = random(30) + for n in [x.size, 2*x.size]: + for norm in [None, 'backward', 'ortho', 'forward']: + assert_allclose( + np.fft.fft(x, n=n, norm=norm)[:(n//2 + 1)], + np.fft.rfft(x, n=n, norm=norm), atol=1e-6) + assert_allclose( + np.fft.rfft(x, n=n), + np.fft.rfft(x, n=n, norm="backward"), atol=1e-6) + assert_allclose( + np.fft.rfft(x, n=n) / np.sqrt(n), + np.fft.rfft(x, n=n, norm="ortho"), atol=1e-6) + assert_allclose( + np.fft.rfft(x, n=n) / n, + np.fft.rfft(x, n=n, norm="forward"), atol=1e-6) + + def test_irfft(self): + x = random(30) + assert_allclose(x, np.fft.irfft(np.fft.rfft(x)), atol=1e-6) + assert_allclose(x, np.fft.irfft(np.fft.rfft(x, norm="backward"), + norm="backward"), atol=1e-6) + assert_allclose(x, np.fft.irfft(np.fft.rfft(x, norm="ortho"), + norm="ortho"), atol=1e-6) + assert_allclose(x, np.fft.irfft(np.fft.rfft(x, norm="forward"), + norm="forward"), atol=1e-6) + + def test_rfft2(self): + x = random((30, 20)) + assert_allclose(np.fft.fft2(x)[:, :11], np.fft.rfft2(x), atol=1e-6) + assert_allclose(np.fft.rfft2(x), + np.fft.rfft2(x, norm="backward"), atol=1e-6) + assert_allclose(np.fft.rfft2(x) / np.sqrt(30 * 20), + np.fft.rfft2(x, norm="ortho"), atol=1e-6) + assert_allclose(np.fft.rfft2(x) / (30. * 20.), + np.fft.rfft2(x, norm="forward"), atol=1e-6) + + def test_irfft2(self): + x = random((30, 20)) + assert_allclose(x, np.fft.irfft2(np.fft.rfft2(x)), atol=1e-6) + assert_allclose(x, np.fft.irfft2(np.fft.rfft2(x, norm="backward"), + norm="backward"), atol=1e-6) + assert_allclose(x, np.fft.irfft2(np.fft.rfft2(x, norm="ortho"), + norm="ortho"), atol=1e-6) + assert_allclose(x, np.fft.irfft2(np.fft.rfft2(x, norm="forward"), + norm="forward"), atol=1e-6) + + def test_rfftn(self): + x = random((30, 20, 10)) + assert_allclose(np.fft.fftn(x)[:, :, :6], np.fft.rfftn(x), atol=1e-6) + assert_allclose(np.fft.rfftn(x), + np.fft.rfftn(x, norm="backward"), atol=1e-6) + assert_allclose(np.fft.rfftn(x) / np.sqrt(30 * 20 * 10), + np.fft.rfftn(x, norm="ortho"), atol=1e-6) + assert_allclose(np.fft.rfftn(x) / (30. * 20. * 10.), + np.fft.rfftn(x, norm="forward"), atol=1e-6) + + def test_irfftn(self): + x = random((30, 20, 10)) + assert_allclose(x, np.fft.irfftn(np.fft.rfftn(x)), atol=1e-6) + assert_allclose(x, np.fft.irfftn(np.fft.rfftn(x, norm="backward"), + norm="backward"), atol=1e-6) + assert_allclose(x, np.fft.irfftn(np.fft.rfftn(x, norm="ortho"), + norm="ortho"), atol=1e-6) + assert_allclose(x, np.fft.irfftn(np.fft.rfftn(x, norm="forward"), + norm="forward"), atol=1e-6) + + def test_hfft(self): + x = random(14) + 1j*random(14) + x_herm = np.concatenate((random(1), x, random(1))) + x = np.concatenate((x_herm, x[::-1].conj())) + assert_allclose(np.fft.fft(x), np.fft.hfft(x_herm), atol=1e-6) + assert_allclose(np.fft.hfft(x_herm), + np.fft.hfft(x_herm, norm="backward"), atol=1e-6) + assert_allclose(np.fft.hfft(x_herm) / np.sqrt(30), + np.fft.hfft(x_herm, norm="ortho"), atol=1e-6) + assert_allclose(np.fft.hfft(x_herm) / 30., + np.fft.hfft(x_herm, norm="forward"), atol=1e-6) + + def test_ihfft(self): + x = random(14) + 1j*random(14) + x_herm = np.concatenate((random(1), x, random(1))) + x = np.concatenate((x_herm, x[::-1].conj())) + assert_allclose(x_herm, np.fft.ihfft(np.fft.hfft(x_herm)), atol=1e-6) + assert_allclose(x_herm, np.fft.ihfft(np.fft.hfft(x_herm, + norm="backward"), norm="backward"), atol=1e-6) + assert_allclose(x_herm, np.fft.ihfft(np.fft.hfft(x_herm, + norm="ortho"), norm="ortho"), atol=1e-6) + assert_allclose(x_herm, np.fft.ihfft(np.fft.hfft(x_herm, + norm="forward"), norm="forward"), atol=1e-6) + + @pytest.mark.parametrize("op", [np.fft.fftn, np.fft.ifftn, + np.fft.rfftn, np.fft.irfftn]) + def test_axes(self, op): + x = random((30, 20, 10)) + axes = [(0, 1, 2), (0, 2, 1), (1, 0, 2), (1, 2, 0), (2, 0, 1), (2, 1, 0)] + for a in axes: + op_tr = op(np.transpose(x, a)) + tr_op = np.transpose(op(x, axes=a), a) + assert_allclose(op_tr, tr_op, atol=1e-6) + + def test_all_1d_norm_preserving(self): + # verify that round-trip transforms are norm-preserving + x = random(30) + x_norm = np.linalg.norm(x) + n = x.size * 2 + func_pairs = [(np.fft.fft, np.fft.ifft), + (np.fft.rfft, np.fft.irfft), + # hfft: order so the first function takes x.size samples + # (necessary for comparison to x_norm above) + (np.fft.ihfft, np.fft.hfft), + ] + for forw, back in func_pairs: + for n in [x.size, 2*x.size]: + for norm in [None, 'backward', 'ortho', 'forward']: + tmp = forw(x, n=n, norm=norm) + tmp = back(tmp, n=n, norm=norm) + assert_allclose(x_norm, + np.linalg.norm(tmp), atol=1e-6) + + @pytest.mark.parametrize("dtype", [np.half, np.single, np.double, + np.longdouble]) + def test_dtypes(self, dtype): + # make sure that all input precisions are accepted and internally + # converted to 64bit + x = random(30).astype(dtype) + assert_allclose(np.fft.ifft(np.fft.fft(x)), x, atol=1e-6) + assert_allclose(np.fft.irfft(np.fft.rfft(x)), x, atol=1e-6) + + +@pytest.mark.parametrize( + "dtype", + [np.float32, np.float64, np.complex64, np.complex128]) +@pytest.mark.parametrize("order", ["F", 'non-contiguous']) +@pytest.mark.parametrize( + "fft", + [np.fft.fft, np.fft.fft2, np.fft.fftn, + np.fft.ifft, np.fft.ifft2, np.fft.ifftn]) +def test_fft_with_order(dtype, order, fft): + # Check that FFT/IFFT produces identical results for C, Fortran and + # non contiguous arrays + rng = np.random.RandomState(42) + X = rng.rand(8, 7, 13).astype(dtype, copy=False) + # See discussion in pull/14178 + _tol = 8.0 * np.sqrt(np.log2(X.size)) * np.finfo(X.dtype).eps + if order == 'F': + Y = np.asfortranarray(X) + else: + # Make a non contiguous array + Y = X[::-1] + X = np.ascontiguousarray(X[::-1]) + + if fft.__name__.endswith('fft'): + for axis in range(3): + X_res = fft(X, axis=axis) + Y_res = fft(Y, axis=axis) + assert_allclose(X_res, Y_res, atol=_tol, rtol=_tol) + elif fft.__name__.endswith(('fft2', 'fftn')): + axes = [(0, 1), (1, 2), (0, 2)] + if fft.__name__.endswith('fftn'): + axes.extend([(0,), (1,), (2,), None]) + for ax in axes: + X_res = fft(X, axes=ax) + Y_res = fft(Y, axes=ax) + assert_allclose(X_res, Y_res, atol=_tol, rtol=_tol) + else: + raise ValueError() + + +@pytest.mark.skipif(IS_WASM, reason="Cannot start thread") +class TestFFTThreadSafe: + threads = 16 + input_shape = (800, 200) + + def _test_mtsame(self, func, *args): + def worker(args, q): + q.put(func(*args)) + + q = queue.Queue() + expected = func(*args) + + # Spin off a bunch of threads to call the same function simultaneously + t = [threading.Thread(target=worker, args=(args, q)) + for i in range(self.threads)] + [x.start() for x in t] + + [x.join() for x in t] + # Make sure all threads returned the correct value + for i in range(self.threads): + assert_array_equal(q.get(timeout=5), expected, + 'Function returned wrong value in multithreaded context') + + def test_fft(self): + a = np.ones(self.input_shape) * 1+0j + self._test_mtsame(np.fft.fft, a) + + def test_ifft(self): + a = np.ones(self.input_shape) * 1+0j + self._test_mtsame(np.fft.ifft, a) + + def test_rfft(self): + a = np.ones(self.input_shape) + self._test_mtsame(np.fft.rfft, a) + + def test_irfft(self): + a = np.ones(self.input_shape) * 1+0j + self._test_mtsame(np.fft.irfft, a) diff --git a/shared/package-files/45/45dc0a7e35bced40bfa090129c371b8a2165db60c9a3767dcb5cd194c16acd57/_ndbspline.py b/shared/package-files/45/45dc0a7e35bced40bfa090129c371b8a2165db60c9a3767dcb5cd194c16acd57/_ndbspline.py new file mode 100644 index 0000000000000000000000000000000000000000..51ac566ed5ff1271a46ffafcc04c0e180f2ec3f1 --- /dev/null +++ b/shared/package-files/45/45dc0a7e35bced40bfa090129c371b8a2165db60c9a3767dcb5cd194c16acd57/_ndbspline.py @@ -0,0 +1,420 @@ +import itertools +import functools +import operator +import numpy as np + +from math import prod + +from . import _bspl # type: ignore[attr-defined] + +import scipy.sparse.linalg as ssl +from scipy.sparse import csr_array + +from ._bsplines import _not_a_knot + +__all__ = ["NdBSpline"] + + +def _get_dtype(dtype): + """Return np.complex128 for complex dtypes, np.float64 otherwise.""" + if np.issubdtype(dtype, np.complexfloating): + return np.complex128 + else: + return np.float64 + + +class NdBSpline: + """Tensor product spline object. + + The value at point ``xp = (x1, x2, ..., xN)`` is evaluated as a linear + combination of products of one-dimensional b-splines in each of the ``N`` + dimensions:: + + c[i1, i2, ..., iN] * B(x1; i1, t1) * B(x2; i2, t2) * ... * B(xN; iN, tN) + + + Here ``B(x; i, t)`` is the ``i``-th b-spline defined by the knot vector + ``t`` evaluated at ``x``. + + Parameters + ---------- + t : tuple of 1D ndarrays + knot vectors in directions 1, 2, ... N, + ``len(t[i]) == n[i] + k + 1`` + c : ndarray, shape (n1, n2, ..., nN, ...) + b-spline coefficients + k : int or length-d tuple of integers + spline degrees. + A single integer is interpreted as having this degree for + all dimensions. + extrapolate : bool, optional + Whether to extrapolate out-of-bounds inputs, or return `nan`. + Default is to extrapolate. + + Attributes + ---------- + t : tuple of ndarrays + Knots vectors. + c : ndarray + Coefficients of the tensor-product spline. + k : tuple of integers + Degrees for each dimension. + extrapolate : bool, optional + Whether to extrapolate or return nans for out-of-bounds inputs. + Defaults to true. + + Methods + ------- + __call__ + design_matrix + + See Also + -------- + BSpline : a one-dimensional B-spline object + NdPPoly : an N-dimensional piecewise tensor product polynomial + + """ + def __init__(self, t, c, k, *, extrapolate=None): + self._k, self._indices_k1d, (self._t, self._len_t) = _preprocess_inputs(k, t) + + if extrapolate is None: + extrapolate = True + self.extrapolate = bool(extrapolate) + + self.c = np.asarray(c) + + ndim = self._t.shape[0] # == len(self.t) + if self.c.ndim < ndim: + raise ValueError(f"Coefficients must be at least {ndim}-dimensional.") + + for d in range(ndim): + td = self.t[d] + kd = self.k[d] + n = td.shape[0] - kd - 1 + + if self.c.shape[d] != n: + raise ValueError(f"Knots, coefficients and degree in dimension" + f" {d} are inconsistent:" + f" got {self.c.shape[d]} coefficients for" + f" {len(td)} knots, need at least {n} for" + f" k={k}.") + + dt = _get_dtype(self.c.dtype) + self.c = np.ascontiguousarray(self.c, dtype=dt) + + @property + def k(self): + return tuple(self._k) + + @property + def t(self): + # repack the knots into a tuple + return tuple(self._t[d, :self._len_t[d]] for d in range(self._t.shape[0])) + + def __call__(self, xi, *, nu=None, extrapolate=None): + """Evaluate the tensor product b-spline at ``xi``. + + Parameters + ---------- + xi : array_like, shape(..., ndim) + The coordinates to evaluate the interpolator at. + This can be a list or tuple of ndim-dimensional points + or an array with the shape (num_points, ndim). + nu : array_like, optional, shape (ndim,) + Orders of derivatives to evaluate. Each must be non-negative. + Defaults to the zeroth derivivative. + extrapolate : bool, optional + Whether to exrapolate based on first and last intervals in each + dimension, or return `nan`. Default is to ``self.extrapolate``. + + Returns + ------- + values : ndarray, shape ``xi.shape[:-1] + self.c.shape[ndim:]`` + Interpolated values at ``xi`` + """ + ndim = self._t.shape[0] # == len(self.t) + + if extrapolate is None: + extrapolate = self.extrapolate + extrapolate = bool(extrapolate) + + if nu is None: + nu = np.zeros((ndim,), dtype=np.intc) + else: + nu = np.asarray(nu, dtype=np.intc) + if nu.ndim != 1 or nu.shape[0] != ndim: + raise ValueError( + f"invalid number of derivative orders {nu = } for " + f"ndim = {len(self.t)}.") + if any(nu < 0): + raise ValueError(f"derivatives must be positive, got {nu = }") + + # prepare xi : shape (..., m1, ..., md) -> (1, m1, ..., md) + xi = np.asarray(xi, dtype=float) + xi_shape = xi.shape + xi = xi.reshape(-1, xi_shape[-1]) + xi = np.ascontiguousarray(xi) + + if xi_shape[-1] != ndim: + raise ValueError(f"Shapes: xi.shape={xi_shape} and ndim={ndim}") + + # complex -> double + was_complex = self.c.dtype.kind == 'c' + cc = self.c + if was_complex and self.c.ndim == ndim: + # make sure that core dimensions are intact, and complex->float + # size doubling only adds a trailing dimension + cc = self.c[..., None] + cc = cc.view(float) + + # prepare the coefficients: flatten the trailing dimensions + c1 = cc.reshape(cc.shape[:ndim] + (-1,)) + c1r = c1.ravel() + + # replacement for np.ravel_multi_index for indexing of `c1`: + _strides_c1 = np.asarray([s // c1.dtype.itemsize + for s in c1.strides], dtype=np.intp) + + num_c_tr = c1.shape[-1] # # of trailing coefficients + out = np.empty(xi.shape[:-1] + (num_c_tr,), dtype=c1.dtype) + + _bspl.evaluate_ndbspline(xi, + self._t, + self._len_t, + self._k, + nu, + extrapolate, + c1r, + num_c_tr, + _strides_c1, + self._indices_k1d, + out,) + out = out.view(self.c.dtype) + return out.reshape(xi_shape[:-1] + self.c.shape[ndim:]) + + @classmethod + def design_matrix(cls, xvals, t, k, extrapolate=True): + """Construct the design matrix as a CSR format sparse array. + + Parameters + ---------- + xvals : ndarray, shape(npts, ndim) + Data points. ``xvals[j, :]`` gives the ``j``-th data point as an + ``ndim``-dimensional array. + t : tuple of 1D ndarrays, length-ndim + Knot vectors in directions 1, 2, ... ndim, + k : int + B-spline degree. + extrapolate : bool, optional + Whether to extrapolate out-of-bounds values of raise a `ValueError` + + Returns + ------- + design_matrix : a CSR array + Each row of the design matrix corresponds to a value in `xvals` and + contains values of b-spline basis elements which are non-zero + at this value. + + """ + xvals = np.asarray(xvals, dtype=float) + ndim = xvals.shape[-1] + if len(t) != ndim: + raise ValueError( + f"Data and knots are inconsistent: len(t) = {len(t)} for " + f" {ndim = }." + ) + + # tabulate the flat indices for iterating over the (k+1)**ndim subarray + k, _indices_k1d, (_t, len_t) = _preprocess_inputs(k, t) + + # Precompute the shape and strides of the 'coefficients array'. + # This would have been the NdBSpline coefficients; in the present context + # this is a helper to compute the indices into the colocation matrix. + c_shape = tuple(len_t[d] - k[d] - 1 for d in range(ndim)) + + # The strides of the coeffs array: the computation is equivalent to + # >>> cstrides = [s // 8 for s in np.empty(c_shape).strides] + cs = c_shape[1:] + (1,) + cstrides = np.cumprod(cs[::-1], dtype=np.intp)[::-1].copy() + + # heavy lifting happens here + data, indices, indptr = _bspl._colloc_nd(xvals, + _t, + len_t, + k, + _indices_k1d, + cstrides) + return csr_array((data, indices, indptr)) + + +def _preprocess_inputs(k, t_tpl): + """Helpers: validate and preprocess NdBSpline inputs. + + Parameters + ---------- + k : int or tuple + Spline orders + t_tpl : tuple or array-likes + Knots. + """ + # 1. Make sure t_tpl is a tuple + if not isinstance(t_tpl, tuple): + raise ValueError(f"Expect `t` to be a tuple of array-likes. " + f"Got {t_tpl} instead." + ) + + # 2. Make ``k`` a tuple of integers + ndim = len(t_tpl) + try: + len(k) + except TypeError: + # make k a tuple + k = (k,)*ndim + + k = np.asarray([operator.index(ki) for ki in k], dtype=np.int32) + + if len(k) != ndim: + raise ValueError(f"len(t) = {len(t_tpl)} != {len(k) = }.") + + # 3. Validate inputs + ndim = len(t_tpl) + for d in range(ndim): + td = np.asarray(t_tpl[d]) + kd = k[d] + n = td.shape[0] - kd - 1 + if kd < 0: + raise ValueError(f"Spline degree in dimension {d} cannot be" + f" negative.") + if td.ndim != 1: + raise ValueError(f"Knot vector in dimension {d} must be" + f" one-dimensional.") + if n < kd + 1: + raise ValueError(f"Need at least {2*kd + 2} knots for degree" + f" {kd} in dimension {d}.") + if (np.diff(td) < 0).any(): + raise ValueError(f"Knots in dimension {d} must be in a" + f" non-decreasing order.") + if len(np.unique(td[kd:n + 1])) < 2: + raise ValueError(f"Need at least two internal knots in" + f" dimension {d}.") + if not np.isfinite(td).all(): + raise ValueError(f"Knots in dimension {d} should not have" + f" nans or infs.") + + # 4. tabulate the flat indices for iterating over the (k+1)**ndim subarray + # non-zero b-spline elements + shape = tuple(kd + 1 for kd in k) + indices = np.unravel_index(np.arange(prod(shape)), shape) + _indices_k1d = np.asarray(indices, dtype=np.intp).T.copy() + + # 5. pack the knots into a single array: + # ([1, 2, 3, 4], [5, 6], (7, 8, 9)) --> + # array([[1, 2, 3, 4], + # [5, 6, nan, nan], + # [7, 8, 9, nan]]) + ndim = len(t_tpl) + len_t = [len(ti) for ti in t_tpl] + _t = np.empty((ndim, max(len_t)), dtype=float) + _t.fill(np.nan) + for d in range(ndim): + _t[d, :len(t_tpl[d])] = t_tpl[d] + len_t = np.asarray(len_t, dtype=np.int32) + + return k, _indices_k1d, (_t, len_t) + + +def _iter_solve(a, b, solver=ssl.gcrotmk, **solver_args): + # work around iterative solvers not accepting multiple r.h.s. + + # also work around a.dtype == float64 and b.dtype == complex128 + # cf https://github.com/scipy/scipy/issues/19644 + if np.issubdtype(b.dtype, np.complexfloating): + real = _iter_solve(a, b.real, solver, **solver_args) + imag = _iter_solve(a, b.imag, solver, **solver_args) + return real + 1j*imag + + if b.ndim == 2 and b.shape[1] !=1: + res = np.empty_like(b) + for j in range(b.shape[1]): + res[:, j], info = solver(a, b[:, j], **solver_args) + if info != 0: + raise ValueError(f"{solver = } returns {info =} for column {j}.") + return res + else: + res, info = solver(a, b, **solver_args) + if info != 0: + raise ValueError(f"{solver = } returns {info = }.") + return res + + +def make_ndbspl(points, values, k=3, *, solver=ssl.gcrotmk, **solver_args): + """Construct an interpolating NdBspline. + + Parameters + ---------- + points : tuple of ndarrays of float, with shapes (m1,), ... (mN,) + The points defining the regular grid in N dimensions. The points in + each dimension (i.e. every element of the `points` tuple) must be + strictly ascending or descending. + values : ndarray of float, shape (m1, ..., mN, ...) + The data on the regular grid in n dimensions. + k : int, optional + The spline degree. Must be odd. Default is cubic, k=3 + solver : a `scipy.sparse.linalg` solver (iterative or direct), optional. + An iterative solver from `scipy.sparse.linalg` or a direct one, + `sparse.sparse.linalg.spsolve`. + Used to solve the sparse linear system + ``design_matrix @ coefficients = rhs`` for the coefficients. + Default is `scipy.sparse.linalg.gcrotmk` + solver_args : dict, optional + Additional arguments for the solver. The call signature is + ``solver(csr_array, rhs_vector, **solver_args)`` + + Returns + ------- + spl : NdBSpline object + + Notes + ----- + Boundary conditions are not-a-knot in all dimensions. + """ + ndim = len(points) + xi_shape = tuple(len(x) for x in points) + + try: + len(k) + except TypeError: + # make k a tuple + k = (k,)*ndim + + for d, point in enumerate(points): + numpts = len(np.atleast_1d(point)) + if numpts <= k[d]: + raise ValueError(f"There are {numpts} points in dimension {d}," + f" but order {k[d]} requires at least " + f" {k[d]+1} points per dimension.") + + t = tuple(_not_a_knot(np.asarray(points[d], dtype=float), k[d]) + for d in range(ndim)) + xvals = np.asarray([xv for xv in itertools.product(*points)], dtype=float) + + # construct the colocation matrix + matr = NdBSpline.design_matrix(xvals, t, k) + + # Solve for the coefficients given `values`. + # Trailing dimensions: first ndim dimensions are data, the rest are batch + # dimensions, so stack `values` into a 2D array for `spsolve` to undestand. + v_shape = values.shape + vals_shape = (prod(v_shape[:ndim]), prod(v_shape[ndim:])) + vals = values.reshape(vals_shape) + + if solver != ssl.spsolve: + solver = functools.partial(_iter_solve, solver=solver) + if "atol" not in solver_args: + # avoid a DeprecationWarning, grumble grumble + solver_args["atol"] = 1e-6 + + coef = solver(matr, vals, **solver_args) + coef = coef.reshape(xi_shape + v_shape[ndim:]) + return NdBSpline(t, coef, k) + diff --git a/shared/package-files/45/45dc986819c12f2dcdb01e5cd91e451ab2aef95f9605c6629b6e0d5a296c4dfc/kpsewhich.lua b/shared/package-files/45/45dc986819c12f2dcdb01e5cd91e451ab2aef95f9605c6629b6e0d5a296c4dfc/kpsewhich.lua new file mode 100644 index 0000000000000000000000000000000000000000..8e9172a45082567bee6802113aa40664d1bfc010 --- /dev/null +++ b/shared/package-files/45/45dc986819c12f2dcdb01e5cd91e451ab2aef95f9605c6629b6e0d5a296c4dfc/kpsewhich.lua @@ -0,0 +1,3 @@ +-- see dviread._LuatexKpsewhich +kpse.set_program_name("latex") +while true do print(kpse.lookup(io.read():gsub("\r", ""))); io.flush(); end diff --git a/shared/package-files/45/45dcdf8652be01b041597229b211463c418f2f3a6e10ae8031a949c270814674/log_sigmoid_forward_native.h b/shared/package-files/45/45dcdf8652be01b041597229b211463c418f2f3a6e10ae8031a949c270814674/log_sigmoid_forward_native.h new file mode 100644 index 0000000000000000000000000000000000000000..53f8c0e006956115019d0782156b78cf6b0237d5 --- /dev/null +++ b/shared/package-files/45/45dcdf8652be01b041597229b211463c418f2f3a6e10ae8031a949c270814674/log_sigmoid_forward_native.h @@ -0,0 +1,24 @@ +#pragma once + +// @generated by torchgen/gen.py from NativeFunction.h + +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include + + +namespace at { +namespace native { +TORCH_API ::std::tuple log_sigmoid_forward_cpu(const at::Tensor & self); +TORCH_API ::std::tuple log_sigmoid_forward_out_cpu(const at::Tensor & self, at::Tensor & output, at::Tensor & buffer); +TORCH_API ::std::tuple log_sigmoid_forward_cuda(const at::Tensor & self); +TORCH_API ::std::tuple log_sigmoid_forward_out_cuda(const at::Tensor & self, at::Tensor & output, at::Tensor & buffer); +} // namespace native +} // namespace at diff --git a/shared/package-files/45/45dfc40ac0462bb2e7f83743ef1cca084f96ca72595f17770e7a3f564fe62a8d/tree_map.py b/shared/package-files/45/45dfc40ac0462bb2e7f83743ef1cca084f96ca72595f17770e7a3f564fe62a8d/tree_map.py new file mode 100644 index 0000000000000000000000000000000000000000..1f02f02656f288f81b81bee61736567b2326500d --- /dev/null +++ b/shared/package-files/45/45dfc40ac0462bb2e7f83743ef1cca084f96ca72595f17770e7a3f564fe62a8d/tree_map.py @@ -0,0 +1,14 @@ +# Copyright (c) Facebook, Inc. and its affiliates. +# All rights reserved. +# +# This source code is licensed under the BSD-style license found in the +# LICENSE file in the root directory of this source tree. + +from functorch._C import dim + +tree_flatten = dim.tree_flatten + + +def tree_map(fn, tree): + vs, unflatten = tree_flatten(tree) + return unflatten(fn(v) for v in vs) diff --git a/shared/package-files/45/45e09c87a30667e9b84d2a3a6d214752ff5bcb1bbbf60d863fb7219d89a10fcc/connection.pyi b/shared/package-files/45/45e09c87a30667e9b84d2a3a6d214752ff5bcb1bbbf60d863fb7219d89a10fcc/connection.pyi new file mode 100644 index 0000000000000000000000000000000000000000..15f58a3745f3de69ba5bacf09acf0d10a934ccff --- /dev/null +++ b/shared/package-files/45/45e09c87a30667e9b84d2a3a6d214752ff5bcb1bbbf60d863fb7219d89a10fcc/connection.pyi @@ -0,0 +1,62 @@ +import socket +import sys +import types +from typing import Any, Iterable, List, Optional, Tuple, Type, Union + +if sys.version_info >= (3, 8): + from typing import SupportsIndex + +# https://docs.python.org/3/library/multiprocessing.html#address-formats +_Address = Union[str, Tuple[str, int]] + +class _ConnectionBase: + if sys.version_info >= (3, 8): + def __init__(self, handle: SupportsIndex, readable: bool = ..., writable: bool = ...) -> None: ... + else: + def __init__(self, handle: int, readable: bool = ..., writable: bool = ...) -> None: ... + @property + def closed(self) -> bool: ... # undocumented + @property + def readable(self) -> bool: ... # undocumented + @property + def writable(self) -> bool: ... # undocumented + def fileno(self) -> int: ... + def close(self) -> None: ... + def send_bytes(self, buf: bytes, offset: int = ..., size: Optional[int] = ...) -> None: ... + def send(self, obj: Any) -> None: ... + def recv_bytes(self, maxlength: Optional[int] = ...) -> bytes: ... + def recv_bytes_into(self, buf: Any, offset: int = ...) -> int: ... + def recv(self) -> Any: ... + def poll(self, timeout: Optional[float] = ...) -> bool: ... + def __enter__(self) -> _ConnectionBase: ... + def __exit__( + self, exc_type: Optional[Type[BaseException]], exc_value: Optional[BaseException], exc_tb: Optional[types.TracebackType] + ) -> None: ... + +class Connection(_ConnectionBase): ... + +if sys.platform == "win32": + class PipeConnection(_ConnectionBase): ... + +class Listener: + def __init__( + self, address: Optional[_Address] = ..., family: Optional[str] = ..., backlog: int = ..., authkey: Optional[bytes] = ... + ) -> None: ... + def accept(self) -> Connection: ... + def close(self) -> None: ... + @property + def address(self) -> _Address: ... + @property + def last_accepted(self) -> Optional[_Address]: ... + def __enter__(self) -> Listener: ... + def __exit__( + self, exc_type: Optional[Type[BaseException]], exc_value: Optional[BaseException], exc_tb: Optional[types.TracebackType] + ) -> None: ... + +def deliver_challenge(connection: Connection, authkey: bytes) -> None: ... +def answer_challenge(connection: Connection, authkey: bytes) -> None: ... +def wait( + object_list: Iterable[Union[Connection, socket.socket, int]], timeout: Optional[float] = ... +) -> List[Union[Connection, socket.socket, int]]: ... +def Client(address: _Address, family: Optional[str] = ..., authkey: Optional[bytes] = ...) -> Connection: ... +def Pipe(duplex: bool = ...) -> Tuple[Connection, Connection]: ... diff --git a/shared/package-files/45/45e1ab79ab9e889e1dd48da41228a0fc22de034b03e10090e2a93ff241f5a037/top_level.txt b/shared/package-files/45/45e1ab79ab9e889e1dd48da41228a0fc22de034b03e10090e2a93ff241f5a037/top_level.txt new file mode 100644 index 0000000000000000000000000000000000000000..77a969c858847acad0b2e18ff88be21a73b31e39 --- /dev/null +++ b/shared/package-files/45/45e1ab79ab9e889e1dd48da41228a0fc22de034b03e10090e2a93ff241f5a037/top_level.txt @@ -0,0 +1,4 @@ +_hypothesis_ftz_detector +_hypothesis_globals +_hypothesis_pytestplugin +hypothesis diff --git a/shared/package-files/45/45e2421fb522dd9ca1e8cd7a1383a1b19d6853b5ad31709f6eda3206118edbd6/entry_points.txt b/shared/package-files/45/45e2421fb522dd9ca1e8cd7a1383a1b19d6853b5ad31709f6eda3206118edbd6/entry_points.txt new file mode 100644 index 0000000000000000000000000000000000000000..540e60f4e073bc53a5f0a521a3639e0d80780af4 --- /dev/null +++ b/shared/package-files/45/45e2421fb522dd9ca1e8cd7a1383a1b19d6853b5ad31709f6eda3206118edbd6/entry_points.txt @@ -0,0 +1,2 @@ +[console_scripts] +tqdm = tqdm.cli:main diff --git a/shared/package-files/45/45e35e60b796d8ea3ac339130d7678598bf615386d680d4b8750f7fbeb6ff036/mm_compositeexplicitautogradnonfunctional_dispatch.h b/shared/package-files/45/45e35e60b796d8ea3ac339130d7678598bf615386d680d4b8750f7fbeb6ff036/mm_compositeexplicitautogradnonfunctional_dispatch.h new file mode 100644 index 0000000000000000000000000000000000000000..0fee6727424a90532d2288f51c35b8d7ec01f47a --- /dev/null +++ b/shared/package-files/45/45e35e60b796d8ea3ac339130d7678598bf615386d680d4b8750f7fbeb6ff036/mm_compositeexplicitautogradnonfunctional_dispatch.h @@ -0,0 +1,23 @@ +#pragma once +// @generated by torchgen/gen.py from DispatchKeyFunction.h + +// NB: The implementing C++ file is RegisterDispatchKey.cpp + +// The only #includes we need are for custom classes that have defaults in the C++ API +#include +#include +#include + +// Forward declarations of any types needed in the operator signatures. +// We can't directly include these classes because it will cause circular include dependencies. +// This file is included by TensorBody.h, which defines the Tensor class. +#include + +namespace at { + +namespace compositeexplicitautogradnonfunctional { + +TORCH_API at::Tensor mm(const at::Tensor & self, const at::Tensor & mat2); + +} // namespace compositeexplicitautogradnonfunctional +} // namespace at diff --git a/shared/package-files/45/45e43daa7e5faef244cbe834456a541a53c19ed512d5c15222ee967cfa2d1f31/fft.pyi b/shared/package-files/45/45e43daa7e5faef244cbe834456a541a53c19ed512d5c15222ee967cfa2d1f31/fft.pyi new file mode 100644 index 0000000000000000000000000000000000000000..d6e9ba756d97add86a3a2a545a96d957d1954c02 --- /dev/null +++ b/shared/package-files/45/45e43daa7e5faef244cbe834456a541a53c19ed512d5c15222ee967cfa2d1f31/fft.pyi @@ -0,0 +1,43 @@ +import sys +from typing import Any + +import numpy as np +import numpy.typing as npt + +if sys.version_info >= (3, 11): + from typing import assert_type +else: + from typing_extensions import assert_type + +AR_f8: npt.NDArray[np.float64] +AR_c16: npt.NDArray[np.complex128] +AR_LIKE_f8: list[float] + +assert_type(np.fft.fftshift(AR_f8), npt.NDArray[np.float64]) +assert_type(np.fft.fftshift(AR_LIKE_f8, axes=0), npt.NDArray[Any]) + +assert_type(np.fft.ifftshift(AR_f8), npt.NDArray[np.float64]) +assert_type(np.fft.ifftshift(AR_LIKE_f8, axes=0), npt.NDArray[Any]) + +assert_type(np.fft.fftfreq(5, AR_f8), npt.NDArray[np.floating[Any]]) +assert_type(np.fft.fftfreq(np.int64(), AR_c16), npt.NDArray[np.complexfloating[Any, Any]]) + +assert_type(np.fft.fftfreq(5, AR_f8), npt.NDArray[np.floating[Any]]) +assert_type(np.fft.fftfreq(np.int64(), AR_c16), npt.NDArray[np.complexfloating[Any, Any]]) + +assert_type(np.fft.fft(AR_f8), npt.NDArray[np.complex128]) +assert_type(np.fft.ifft(AR_f8, axis=1), npt.NDArray[np.complex128]) +assert_type(np.fft.rfft(AR_f8, n=None), npt.NDArray[np.complex128]) +assert_type(np.fft.irfft(AR_f8, norm="ortho"), npt.NDArray[np.float64]) +assert_type(np.fft.hfft(AR_f8, n=2), npt.NDArray[np.float64]) +assert_type(np.fft.ihfft(AR_f8), npt.NDArray[np.complex128]) + +assert_type(np.fft.fftn(AR_f8), npt.NDArray[np.complex128]) +assert_type(np.fft.ifftn(AR_f8), npt.NDArray[np.complex128]) +assert_type(np.fft.rfftn(AR_f8), npt.NDArray[np.complex128]) +assert_type(np.fft.irfftn(AR_f8), npt.NDArray[np.float64]) + +assert_type(np.fft.rfft2(AR_f8), npt.NDArray[np.complex128]) +assert_type(np.fft.ifft2(AR_f8), npt.NDArray[np.complex128]) +assert_type(np.fft.fft2(AR_f8), npt.NDArray[np.complex128]) +assert_type(np.fft.irfft2(AR_f8), npt.NDArray[np.float64]) diff --git a/shared/package-files/45/45e46cdd64fdcc7ef769712006af4eedefd81c3c2f4e586db19d86fa6df4d879/runner.pyi b/shared/package-files/45/45e46cdd64fdcc7ef769712006af4eedefd81c3c2f4e586db19d86fa6df4d879/runner.pyi new file mode 100644 index 0000000000000000000000000000000000000000..a817771a27dbf91d2157884b1da3ac908928fe49 --- /dev/null +++ b/shared/package-files/45/45e46cdd64fdcc7ef769712006af4eedefd81c3c2f4e586db19d86fa6df4d879/runner.pyi @@ -0,0 +1,11 @@ +from io import TextIOWrapper +from typing import Any, Callable, Optional, Pattern, Sequence, Tuple + +HELP: str +RUNNER_PATTERN: Pattern + +def match(obj_name: str) -> Tuple[str, str]: ... +def resolve(module_name: str, object_name: str) -> Any: ... +def show_help(stream: TextIOWrapper, name: str, error: Optional[str] = ...) -> None: ... +def show_exception(stream: TextIOWrapper) -> None: ... +def run(argv: Sequence[str] = ..., _serve: Callable[..., Any] = ...) -> None: ... diff --git a/shared/package-files/45/45e4f48f423054911cb61ed5263db313a51c634395cf952dd6ba403676c2c984/flush_stdout.py b/shared/package-files/45/45e4f48f423054911cb61ed5263db313a51c634395cf952dd6ba403676c2c984/flush_stdout.py new file mode 100644 index 0000000000000000000000000000000000000000..daf58efee63cc6cbe10e9b522a2dc50394acd83f --- /dev/null +++ b/shared/package-files/45/45e4f48f423054911cb61ed5263db313a51c634395cf952dd6ba403676c2c984/flush_stdout.py @@ -0,0 +1,87 @@ +from __future__ import annotations + +import errno +import os +import sys +from contextlib import contextmanager +from typing import IO, Iterator, TextIO + +__all__ = ["flush_stdout"] + + +def flush_stdout(stdout: TextIO, data: str) -> None: + # If the IO object has an `encoding` and `buffer` attribute, it means that + # we can access the underlying BinaryIO object and write into it in binary + # mode. This is preferred if possible. + # NOTE: When used in a Jupyter notebook, don't write binary. + # `ipykernel.iostream.OutStream` has an `encoding` attribute, but not + # a `buffer` attribute, so we can't write binary in it. + has_binary_io = hasattr(stdout, "encoding") and hasattr(stdout, "buffer") + + try: + # Ensure that `stdout` is made blocking when writing into it. + # Otherwise, when uvloop is activated (which makes stdout + # non-blocking), and we write big amounts of text, then we get a + # `BlockingIOError` here. + with _blocking_io(stdout): + # (We try to encode ourself, because that way we can replace + # characters that don't exist in the character set, avoiding + # UnicodeEncodeError crashes. E.g. u'\xb7' does not appear in 'ascii'.) + # My Arch Linux installation of july 2015 reported 'ANSI_X3.4-1968' + # for sys.stdout.encoding in xterm. + if has_binary_io: + stdout.buffer.write(data.encode(stdout.encoding or "utf-8", "replace")) + else: + stdout.write(data) + + stdout.flush() + except OSError as e: + if e.args and e.args[0] == errno.EINTR: + # Interrupted system call. Can happen in case of a window + # resize signal. (Just ignore. The resize handler will render + # again anyway.) + pass + elif e.args and e.args[0] == 0: + # This can happen when there is a lot of output and the user + # sends a KeyboardInterrupt by pressing Control-C. E.g. in + # a Python REPL when we execute "while True: print('test')". + # (The `ptpython` REPL uses this `Output` class instead of + # `stdout` directly -- in order to be network transparent.) + # So, just ignore. + pass + else: + raise + + +@contextmanager +def _blocking_io(io: IO[str]) -> Iterator[None]: + """ + Ensure that the FD for `io` is set to blocking in here. + """ + if sys.platform == "win32": + # On Windows, the `os` module doesn't have a `get/set_blocking` + # function. + yield + return + + try: + fd = io.fileno() + blocking = os.get_blocking(fd) + except: # noqa + # Failed somewhere. + # `get_blocking` can raise `OSError`. + # The io object can raise `AttributeError` when no `fileno()` method is + # present if we're not a real file object. + blocking = True # Assume we're good, and don't do anything. + + try: + # Make blocking if we weren't blocking yet. + if not blocking: + os.set_blocking(fd, True) + + yield + + finally: + # Restore original blocking mode. + if not blocking: + os.set_blocking(fd, blocking) diff --git a/shared/package-files/45/45e5131d60638ecf28654dc46d177d66df0b5928d18b075727415cb9420de857/_nested_view_from_buffer_cuda_dispatch.h b/shared/package-files/45/45e5131d60638ecf28654dc46d177d66df0b5928d18b075727415cb9420de857/_nested_view_from_buffer_cuda_dispatch.h new file mode 100644 index 0000000000000000000000000000000000000000..35797d98e6910468be914b727050c5fce3a5113a --- /dev/null +++ b/shared/package-files/45/45e5131d60638ecf28654dc46d177d66df0b5928d18b075727415cb9420de857/_nested_view_from_buffer_cuda_dispatch.h @@ -0,0 +1,23 @@ +#pragma once +// @generated by torchgen/gen.py from DispatchKeyFunction.h + +// NB: The implementing C++ file is RegisterDispatchKey.cpp + +// The only #includes we need are for custom classes that have defaults in the C++ API +#include +#include +#include + +// Forward declarations of any types needed in the operator signatures. +// We can't directly include these classes because it will cause circular include dependencies. +// This file is included by TensorBody.h, which defines the Tensor class. +#include + +namespace at { + +namespace cuda { + +TORCH_API at::Tensor _nested_view_from_buffer(const at::Tensor & self, const at::Tensor & nested_size, const at::Tensor & nested_strides, const at::Tensor & offsets); + +} // namespace cuda +} // namespace at diff --git a/shared/package-files/45/45e646c5d426500c98f241ec548d8b7685a79aef6ca29403009b844b74d6ae0c/segment_reduce_cuda_dispatch.h b/shared/package-files/45/45e646c5d426500c98f241ec548d8b7685a79aef6ca29403009b844b74d6ae0c/segment_reduce_cuda_dispatch.h new file mode 100644 index 0000000000000000000000000000000000000000..ad514dcd7d77fd7587c7446b67d3a1fc0f83118f --- /dev/null +++ b/shared/package-files/45/45e646c5d426500c98f241ec548d8b7685a79aef6ca29403009b844b74d6ae0c/segment_reduce_cuda_dispatch.h @@ -0,0 +1,23 @@ +#pragma once +// @generated by torchgen/gen.py from DispatchKeyFunction.h + +// NB: The implementing C++ file is RegisterDispatchKey.cpp + +// The only #includes we need are for custom classes that have defaults in the C++ API +#include +#include +#include + +// Forward declarations of any types needed in the operator signatures. +// We can't directly include these classes because it will cause circular include dependencies. +// This file is included by TensorBody.h, which defines the Tensor class. +#include + +namespace at { + +namespace cuda { + +TORCH_API at::Tensor segment_reduce(const at::Tensor & data, c10::string_view reduce, const c10::optional & lengths={}, const c10::optional & indices={}, const c10::optional & offsets={}, int64_t axis=0, bool unsafe=false, const c10::optional & initial=c10::nullopt); + +} // namespace cuda +} // namespace at diff --git a/shared/package-files/45/45e94d42b0031eea4a593b850420a4a95972b861d7537c81ea072c0e9429adaf/stl_iterator.h b/shared/package-files/45/45e94d42b0031eea4a593b850420a4a95972b861d7537c81ea072c0e9429adaf/stl_iterator.h new file mode 100644 index 0000000000000000000000000000000000000000..577066cba0fcd5b044dab9ffa6ff41d4906bda81 --- /dev/null +++ b/shared/package-files/45/45e94d42b0031eea4a593b850420a4a95972b861d7537c81ea072c0e9429adaf/stl_iterator.h @@ -0,0 +1,304 @@ +// Licensed to the Apache Software Foundation (ASF) under one +// or more contributor license agreements. See the NOTICE file +// distributed with this work for additional information +// regarding copyright ownership. The ASF licenses this file +// to you under the Apache License, Version 2.0 (the +// "License"); you may not use this file except in compliance +// with the License. You may obtain a copy of the License at +// +// http://www.apache.org/licenses/LICENSE-2.0 +// +// Unless required by applicable law or agreed to in writing, +// software distributed under the License is distributed on an +// "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY +// KIND, either express or implied. See the License for the +// specific language governing permissions and limitations +// under the License. + +#pragma once + +#include +#include +#include +#include +#include + +#include "arrow/chunked_array.h" +#include "arrow/type.h" +#include "arrow/type_fwd.h" +#include "arrow/type_traits.h" +#include "arrow/util/macros.h" + +namespace arrow { +namespace stl { + +namespace detail { + +template +struct DefaultValueAccessor { + using ValueType = decltype(std::declval().GetView(0)); + + ValueType operator()(const ArrayType& array, int64_t index) { + return array.GetView(index); + } +}; + +} // namespace detail + +template > +class ArrayIterator { + public: + using value_type = std::optional; + using difference_type = int64_t; + using pointer = value_type*; + using reference = value_type&; + using iterator_category = std::random_access_iterator_tag; + + // Some algorithms need to default-construct an iterator + ArrayIterator() : array_(NULLPTR), index_(0) {} + + explicit ArrayIterator(const ArrayType& array, int64_t index = 0) + : array_(&array), index_(index) {} + + // Value access + value_type operator*() const { + assert(array_); + return array_->IsNull(index_) ? value_type{} : array_->GetView(index_); + } + + value_type operator[](difference_type n) const { + assert(array_); + return array_->IsNull(index_ + n) ? value_type{} : array_->GetView(index_ + n); + } + + int64_t index() const { return index_; } + + // Forward / backward + ArrayIterator& operator++() { + ++index_; + return *this; + } + ArrayIterator& operator--() { + --index_; + return *this; + } + ArrayIterator operator++(int) { + ArrayIterator tmp(*this); + ++index_; + return tmp; + } + ArrayIterator operator--(int) { + ArrayIterator tmp(*this); + --index_; + return tmp; + } + + // Arithmetic + difference_type operator-(const ArrayIterator& other) const { + return index_ - other.index_; + } + ArrayIterator operator+(difference_type n) const { + return ArrayIterator(*array_, index_ + n); + } + ArrayIterator operator-(difference_type n) const { + return ArrayIterator(*array_, index_ - n); + } + friend inline ArrayIterator operator+(difference_type diff, + const ArrayIterator& other) { + return ArrayIterator(*other.array_, diff + other.index_); + } + friend inline ArrayIterator operator-(difference_type diff, + const ArrayIterator& other) { + return ArrayIterator(*other.array_, diff - other.index_); + } + ArrayIterator& operator+=(difference_type n) { + index_ += n; + return *this; + } + ArrayIterator& operator-=(difference_type n) { + index_ -= n; + return *this; + } + + // Comparisons + bool operator==(const ArrayIterator& other) const { return index_ == other.index_; } + bool operator!=(const ArrayIterator& other) const { return index_ != other.index_; } + bool operator<(const ArrayIterator& other) const { return index_ < other.index_; } + bool operator>(const ArrayIterator& other) const { return index_ > other.index_; } + bool operator<=(const ArrayIterator& other) const { return index_ <= other.index_; } + bool operator>=(const ArrayIterator& other) const { return index_ >= other.index_; } + + private: + const ArrayType* array_; + int64_t index_; +}; + +template > +class ChunkedArrayIterator { + public: + using value_type = std::optional; + using difference_type = int64_t; + using pointer = value_type*; + using reference = value_type&; + using iterator_category = std::random_access_iterator_tag; + + // Some algorithms need to default-construct an iterator + ChunkedArrayIterator() noexcept : chunked_array_(NULLPTR), index_(0) {} + + explicit ChunkedArrayIterator(const ChunkedArray& chunked_array, + int64_t index = 0) noexcept + : chunked_array_(&chunked_array), index_(index) {} + + // Value access + value_type operator*() const { + auto chunk_location = GetChunkLocation(index_); + ArrayIterator target_iterator{ + arrow::internal::checked_cast( + *chunked_array_->chunk(static_cast(chunk_location.chunk_index)))}; + return target_iterator[chunk_location.index_in_chunk]; + } + + value_type operator[](difference_type n) const { return *(*this + n); } + + int64_t index() const { return index_; } + + // Forward / backward + ChunkedArrayIterator& operator++() { + (*this) += 1; + return *this; + } + ChunkedArrayIterator& operator--() { + (*this) -= 1; + return *this; + } + + ChunkedArrayIterator operator++(int) { + ChunkedArrayIterator tmp(*this); + ++*this; + return tmp; + } + ChunkedArrayIterator operator--(int) { + ChunkedArrayIterator tmp(*this); + --*this; + return tmp; + } + + // Arithmetic + difference_type operator-(const ChunkedArrayIterator& other) const { + return index_ - other.index_; + } + ChunkedArrayIterator operator+(difference_type n) const { + assert(chunked_array_); + return ChunkedArrayIterator(*chunked_array_, index_ + n); + } + ChunkedArrayIterator operator-(difference_type n) const { + assert(chunked_array_); + return ChunkedArrayIterator(*chunked_array_, index_ - n); + } + friend inline ChunkedArrayIterator operator+(difference_type diff, + const ChunkedArrayIterator& other) { + assert(other.chunked_array_); + return ChunkedArrayIterator(*other.chunked_array_, diff + other.index_); + } + friend inline ChunkedArrayIterator operator-(difference_type diff, + const ChunkedArrayIterator& other) { + assert(other.chunked_array_); + return ChunkedArrayIterator(*other.chunked_array_, diff - other.index_); + } + ChunkedArrayIterator& operator+=(difference_type n) { + index_ += n; + return *this; + } + ChunkedArrayIterator& operator-=(difference_type n) { + (*this) += -n; + return *this; + } + + // Comparisons + bool operator==(const ChunkedArrayIterator& other) const { + return index_ == other.index_; + } + bool operator!=(const ChunkedArrayIterator& other) const { + return index_ != other.index_; + } + bool operator<(const ChunkedArrayIterator& other) const { + return index_ < other.index_; + } + bool operator>(const ChunkedArrayIterator& other) const { + return index_ > other.index_; + } + bool operator<=(const ChunkedArrayIterator& other) const { + return index_ <= other.index_; + } + bool operator>=(const ChunkedArrayIterator& other) const { + return index_ >= other.index_; + } + + private: + arrow::ChunkLocation GetChunkLocation(int64_t index) const { + assert(chunked_array_); + return chunked_array_->chunk_resolver_.Resolve(index); + } + + const ChunkedArray* chunked_array_; + int64_t index_; +}; + +/// Return an iterator to the beginning of the chunked array +template ::ArrayType> +ChunkedArrayIterator Begin(const ChunkedArray& chunked_array) { + return ChunkedArrayIterator(chunked_array); +} + +/// Return an iterator to the end of the chunked array +template ::ArrayType> +ChunkedArrayIterator End(const ChunkedArray& chunked_array) { + return ChunkedArrayIterator(chunked_array, chunked_array.length()); +} + +template +struct ChunkedArrayRange { + const ChunkedArray* chunked_array; + + ChunkedArrayIterator begin() { + return stl::ChunkedArrayIterator(*chunked_array); + } + ChunkedArrayIterator end() { + return stl::ChunkedArrayIterator(*chunked_array, chunked_array->length()); + } +}; + +/// Return an iterable range over the chunked array +template ::ArrayType> +ChunkedArrayRange Iterate(const ChunkedArray& chunked_array) { + return stl::ChunkedArrayRange{&chunked_array}; +} + +} // namespace stl +} // namespace arrow + +namespace std { + +template +struct iterator_traits<::arrow::stl::ArrayIterator> { + using IteratorType = ::arrow::stl::ArrayIterator; + using difference_type = typename IteratorType::difference_type; + using value_type = typename IteratorType::value_type; + using pointer = typename IteratorType::pointer; + using reference = typename IteratorType::reference; + using iterator_category = typename IteratorType::iterator_category; +}; + +template +struct iterator_traits<::arrow::stl::ChunkedArrayIterator> { + using IteratorType = ::arrow::stl::ChunkedArrayIterator; + using difference_type = typename IteratorType::difference_type; + using value_type = typename IteratorType::value_type; + using pointer = typename IteratorType::pointer; + using reference = typename IteratorType::reference; + using iterator_category = typename IteratorType::iterator_category; +}; + +} // namespace std diff --git a/shared/package-files/45/45ed6fdcf3042bddc96a5557004d2838c64ce3b9be60eef9aa59f09c98b4f82e/streaming.py b/shared/package-files/45/45ed6fdcf3042bddc96a5557004d2838c64ce3b9be60eef9aa59f09c98b4f82e/streaming.py new file mode 100644 index 0000000000000000000000000000000000000000..08b7cc300900ce2880844d69a5fd059d0f30aea5 --- /dev/null +++ b/shared/package-files/45/45ed6fdcf3042bddc96a5557004d2838c64ce3b9be60eef9aa59f09c98b4f82e/streaming.py @@ -0,0 +1,36 @@ +from typing import TYPE_CHECKING, Optional, Union # noqa: D100 + +from .types import StructType + +if TYPE_CHECKING: + from .dataframe import DataFrame + from .session import SparkSession + +PrimitiveType = Union[bool, float, int, str] +OptionalPrimitiveType = Optional[PrimitiveType] + + +class DataStreamWriter: # noqa: D101 + def __init__(self, dataframe: "DataFrame") -> None: # noqa: D107 + self.dataframe = dataframe + + def toTable(self, table_name: str) -> None: # noqa: D102 + # Should we register the dataframe or create a table from the contents? + raise NotImplementedError + + +class DataStreamReader: # noqa: D101 + def __init__(self, session: "SparkSession") -> None: # noqa: D107 + self.session = session + + def load( # noqa: D102 + self, + path: Optional[str] = None, + format: Optional[str] = None, + schema: Union[StructType, str, None] = None, + **options: OptionalPrimitiveType, + ) -> "DataFrame": + raise NotImplementedError + + +__all__ = ["DataStreamReader", "DataStreamWriter"] diff --git a/shared/package-files/45/45f2b1e388c53d4bdf1236ae9983a3dd728778e70128268fea122457eb7582a3/serialize_usecases.py b/shared/package-files/45/45f2b1e388c53d4bdf1236ae9983a3dd728778e70128268fea122457eb7582a3/serialize_usecases.py new file mode 100644 index 0000000000000000000000000000000000000000..af465ed4fe51c9f0b49a143a5972b2ac550e30eb --- /dev/null +++ b/shared/package-files/45/45f2b1e388c53d4bdf1236ae9983a3dd728778e70128268fea122457eb7582a3/serialize_usecases.py @@ -0,0 +1,97 @@ +""" +Separate module with function samples for serialization tests, +to avoid issues with __main__. +""" + +import math + +from numba import jit +from numba.core import types + + +@jit((types.int32, types.int32)) +def add_with_sig(a, b): + return a + b + +@jit +def add_without_sig(a, b): + return a + b + +@jit(nopython=True) +def add_nopython(a, b): + return a + b + +@jit(nopython=True) +def add_nopython_fail(a, b): + object() + return a + b + +def closure(a): + @jit(nopython=True) + def inner(b, c): + return a + b + c + return inner + +K = 3.0 + +from math import sqrt + +def closure_with_globals(x, **jit_args): + @jit(**jit_args) + def inner(y): + # Exercise a builtin function and a module-level constant + k = max(K, K + 1) + # Exercise two functions from another module, one accessed with + # dotted notation, one imported explicitly. + return math.hypot(x, y) + sqrt(k) + return inner + +@jit(nopython=True) +def other_function(x, y): + return math.hypot(x, y) + +@jit(forceobj=True) +def get_global_objmode(x): + return K * x + +import numpy as np +import numpy.random as nprand + +@jit(nopython=True) +def get_renamed_module(x): + nprand.seed(42) + return np.cos(x), nprand.random() + + +def closure_calling_other_function(x): + @jit(nopython=True) + def inner(y, z): + return other_function(x, y) + z + return inner + +def closure_calling_other_closure(x): + @jit(nopython=True) + def other_inner(y): + return math.hypot(x, y) + + @jit(nopython=True) + def inner(y): + return other_inner(y) + x + return inner + + +# A dynamic function calling a builtin function +def _get_dyn_func(**jit_args): + code = """ + def dyn_func(x): + res = 0 + for i in range(x): + res += x + return res + """ + ns = {} + exec(code.strip(), ns) + return jit(**jit_args)(ns['dyn_func']) + +dyn_func = _get_dyn_func(nopython=True) +dyn_func_objmode = _get_dyn_func(forceobj=True) diff --git a/shared/package-files/45/45f2ec3592cfbc914bfd6f3647e5aa6d1103421786071bada4cdad2ca0adf9b3/special_erfinv_compositeimplicitautograd_dispatch.h b/shared/package-files/45/45f2ec3592cfbc914bfd6f3647e5aa6d1103421786071bada4cdad2ca0adf9b3/special_erfinv_compositeimplicitautograd_dispatch.h new file mode 100644 index 0000000000000000000000000000000000000000..f013747c084c3db2399f9e117554b5319bebca87 --- /dev/null +++ b/shared/package-files/45/45f2ec3592cfbc914bfd6f3647e5aa6d1103421786071bada4cdad2ca0adf9b3/special_erfinv_compositeimplicitautograd_dispatch.h @@ -0,0 +1,25 @@ +#pragma once +// @generated by torchgen/gen.py from DispatchKeyFunction.h + +// NB: The implementing C++ file is RegisterDispatchKey.cpp + +// The only #includes we need are for custom classes that have defaults in the C++ API +#include +#include +#include + +// Forward declarations of any types needed in the operator signatures. +// We can't directly include these classes because it will cause circular include dependencies. +// This file is included by TensorBody.h, which defines the Tensor class. +#include + +namespace at { + +namespace compositeimplicitautograd { + +TORCH_API at::Tensor special_erfinv(const at::Tensor & self); +TORCH_API at::Tensor & special_erfinv_out(at::Tensor & out, const at::Tensor & self); +TORCH_API at::Tensor & special_erfinv_outf(const at::Tensor & self, at::Tensor & out); + +} // namespace compositeimplicitautograd +} // namespace at diff --git a/shared/package-files/45/45f5bc99ca38f146960cbd540b944ebfdbd788567d106868eb66af8601001cf7/__init__.pyi b/shared/package-files/45/45f5bc99ca38f146960cbd540b944ebfdbd788567d106868eb66af8601001cf7/__init__.pyi new file mode 100644 index 0000000000000000000000000000000000000000..99ef6f3e2f2a0e45db86589e73c3c8bb36b18ea2 --- /dev/null +++ b/shared/package-files/45/45f5bc99ca38f146960cbd540b944ebfdbd788567d106868eb66af8601001cf7/__init__.pyi @@ -0,0 +1,72 @@ +from numpy._pytesttester import PytestTester + +from numpy.random._generator import Generator as Generator +from numpy.random._generator import default_rng as default_rng +from numpy.random._mt19937 import MT19937 as MT19937 +from numpy.random._pcg64 import ( + PCG64 as PCG64, + PCG64DXSM as PCG64DXSM, +) +from numpy.random._philox import Philox as Philox +from numpy.random._sfc64 import SFC64 as SFC64 +from numpy.random.bit_generator import BitGenerator as BitGenerator +from numpy.random.bit_generator import SeedSequence as SeedSequence +from numpy.random.mtrand import ( + RandomState as RandomState, + beta as beta, + binomial as binomial, + bytes as bytes, + chisquare as chisquare, + choice as choice, + dirichlet as dirichlet, + exponential as exponential, + f as f, + gamma as gamma, + geometric as geometric, + get_bit_generator as get_bit_generator, + get_state as get_state, + gumbel as gumbel, + hypergeometric as hypergeometric, + laplace as laplace, + logistic as logistic, + lognormal as lognormal, + logseries as logseries, + multinomial as multinomial, + multivariate_normal as multivariate_normal, + negative_binomial as negative_binomial, + noncentral_chisquare as noncentral_chisquare, + noncentral_f as noncentral_f, + normal as normal, + pareto as pareto, + permutation as permutation, + poisson as poisson, + power as power, + rand as rand, + randint as randint, + randn as randn, + random as random, + random_integers as random_integers, + random_sample as random_sample, + ranf as ranf, + rayleigh as rayleigh, + sample as sample, + seed as seed, + set_bit_generator as set_bit_generator, + set_state as set_state, + shuffle as shuffle, + standard_cauchy as standard_cauchy, + standard_exponential as standard_exponential, + standard_gamma as standard_gamma, + standard_normal as standard_normal, + standard_t as standard_t, + triangular as triangular, + uniform as uniform, + vonmises as vonmises, + wald as wald, + weibull as weibull, + zipf as zipf, +) + +__all__: list[str] +__path__: list[str] +test: PytestTester diff --git a/shared/package-files/45/45f7e5135021e3f8e7caba63b7d876a7fee231ad1556b0db0d7d8c2bde2aab3b/ansi80x25-mono b/shared/package-files/45/45f7e5135021e3f8e7caba63b7d876a7fee231ad1556b0db0d7d8c2bde2aab3b/ansi80x25-mono new file mode 100644 index 0000000000000000000000000000000000000000..4baf2844bbcc390b10590d0a73c56eff73ea8271 Binary files /dev/null and b/shared/package-files/45/45f7e5135021e3f8e7caba63b7d876a7fee231ad1556b0db0d7d8c2bde2aab3b/ansi80x25-mono differ diff --git a/shared/package-files/45/45f7e5135021e3f8e7caba63b7d876a7fee231ad1556b0db0d7d8c2bde2aab3b/ansis-mono b/shared/package-files/45/45f7e5135021e3f8e7caba63b7d876a7fee231ad1556b0db0d7d8c2bde2aab3b/ansis-mono new file mode 100644 index 0000000000000000000000000000000000000000..4baf2844bbcc390b10590d0a73c56eff73ea8271 Binary files /dev/null and b/shared/package-files/45/45f7e5135021e3f8e7caba63b7d876a7fee231ad1556b0db0d7d8c2bde2aab3b/ansis-mono differ diff --git a/shared/package-files/45/45f7e5135021e3f8e7caba63b7d876a7fee231ad1556b0db0d7d8c2bde2aab3b/cons25-m b/shared/package-files/45/45f7e5135021e3f8e7caba63b7d876a7fee231ad1556b0db0d7d8c2bde2aab3b/cons25-m new file mode 100644 index 0000000000000000000000000000000000000000..4baf2844bbcc390b10590d0a73c56eff73ea8271 Binary files /dev/null and b/shared/package-files/45/45f7e5135021e3f8e7caba63b7d876a7fee231ad1556b0db0d7d8c2bde2aab3b/cons25-m differ diff --git a/shared/package-files/45/45fa17aeaf4c1129d774becf930a5811f59e6b11fac013c7884e330a02cabe4d/__init__.py b/shared/package-files/45/45fa17aeaf4c1129d774becf930a5811f59e6b11fac013c7884e330a02cabe4d/__init__.py new file mode 100644 index 0000000000000000000000000000000000000000..cb26903a384e9df3a0f02a92c488c5442cee1486 --- /dev/null +++ b/shared/package-files/45/45fa17aeaf4c1129d774becf930a5811f59e6b11fac013c7884e330a02cabe4d/__init__.py @@ -0,0 +1,12 @@ +from .boolalg import (to_cnf, to_dnf, to_nnf, And, Or, Not, Xor, Nand, Nor, Implies, + Equivalent, ITE, POSform, SOPform, simplify_logic, bool_map, true, false, + gateinputcount) +from .inference import satisfiable + +__all__ = [ + 'to_cnf', 'to_dnf', 'to_nnf', 'And', 'Or', 'Not', 'Xor', 'Nand', 'Nor', + 'Implies', 'Equivalent', 'ITE', 'POSform', 'SOPform', 'simplify_logic', + 'bool_map', 'true', 'false', 'gateinputcount', + + 'satisfiable', +] diff --git a/shared/package-files/45/45fb938cc57a7acfe8198ad272483b67c2131293adf5e57bb7376f8781cd87b3/base.py b/shared/package-files/45/45fb938cc57a7acfe8198ad272483b67c2131293adf5e57bb7376f8781cd87b3/base.py new file mode 100644 index 0000000000000000000000000000000000000000..c1e72abb19250fc63c457207e5b55f3bdd293425 --- /dev/null +++ b/shared/package-files/45/45fb938cc57a7acfe8198ad272483b67c2131293adf5e57bb7376f8781cd87b3/base.py @@ -0,0 +1,598 @@ +import inspect +import operator +import types as pytypes +import typing as pt +from collections import OrderedDict +from collections.abc import Sequence + +from llvmlite import ir as llvmir +from numba import njit +from numba.core import cgutils, errors, imputils, types, utils +from numba.core.datamodel import default_manager, models +from numba.core.registry import cpu_target +from numba.core.typing import templates +from numba.core.typing.asnumbatype import as_numba_type +from numba.core.serialize import disable_pickling +from numba.experimental.jitclass import _box + +############################################################################## +# Data model + + +class InstanceModel(models.StructModel): + def __init__(self, dmm, fe_typ): + cls_data_ty = types.ClassDataType(fe_typ) + # MemInfoPointer uses the `dtype` attribute to traverse for nested + # NRT MemInfo. Since we handle nested NRT MemInfo ourselves, + # we will replace provide MemInfoPointer with an opaque type + # so that it does not raise exception for nested meminfo. + dtype = types.Opaque('Opaque.' + str(cls_data_ty)) + members = [ + ('meminfo', types.MemInfoPointer(dtype)), + ('data', types.CPointer(cls_data_ty)), + ] + super(InstanceModel, self).__init__(dmm, fe_typ, members) + + +class InstanceDataModel(models.StructModel): + def __init__(self, dmm, fe_typ): + clsty = fe_typ.class_type + members = [(_mangle_attr(k), v) for k, v in clsty.struct.items()] + super(InstanceDataModel, self).__init__(dmm, fe_typ, members) + + +default_manager.register(types.ClassInstanceType, InstanceModel) +default_manager.register(types.ClassDataType, InstanceDataModel) +default_manager.register(types.ClassType, models.OpaqueModel) + + +def _mangle_attr(name): + """ + Mangle attributes. + The resulting name does not startswith an underscore '_'. + """ + return 'm_' + name + + +############################################################################## +# Class object + +_ctor_template = """ +def ctor({args}): + return __numba_cls_({args}) +""" + + +def _getargs(fn_sig): + """ + Returns list of positional and keyword argument names in order. + """ + params = fn_sig.parameters + args = [] + for k, v in params.items(): + if (v.kind & v.POSITIONAL_OR_KEYWORD) == v.POSITIONAL_OR_KEYWORD: + args.append(k) + else: + msg = "%s argument type unsupported in jitclass" % v.kind + raise errors.UnsupportedError(msg) + return args + + +@disable_pickling +class JitClassType(type): + """ + The type of any jitclass. + """ + def __new__(cls, name, bases, dct): + if len(bases) != 1: + raise TypeError("must have exactly one base class") + [base] = bases + if isinstance(base, JitClassType): + raise TypeError("cannot subclass from a jitclass") + assert 'class_type' in dct, 'missing "class_type" attr' + outcls = type.__new__(cls, name, bases, dct) + outcls._set_init() + return outcls + + def _set_init(cls): + """ + Generate a wrapper for calling the constructor from pure Python. + Note the wrapper will only accept positional arguments. + """ + init = cls.class_type.instance_type.methods['__init__'] + init_sig = utils.pysignature(init) + # get postitional and keyword arguments + # offset by one to exclude the `self` arg + args = _getargs(init_sig)[1:] + cls._ctor_sig = init_sig + ctor_source = _ctor_template.format(args=', '.join(args)) + glbls = {"__numba_cls_": cls} + exec(ctor_source, glbls) + ctor = glbls['ctor'] + cls._ctor = njit(ctor) + + def __instancecheck__(cls, instance): + if isinstance(instance, _box.Box): + return instance._numba_type_.class_type is cls.class_type + return False + + def __call__(cls, *args, **kwargs): + # The first argument of _ctor_sig is `cls`, which here + # is bound to None and then skipped when invoking the constructor. + bind = cls._ctor_sig.bind(None, *args, **kwargs) + bind.apply_defaults() + return cls._ctor(*bind.args[1:], **bind.kwargs) + + +############################################################################## +# Registration utils + +def _validate_spec(spec): + for k, v in spec.items(): + if not isinstance(k, str): + raise TypeError("spec keys should be strings, got %r" % (k,)) + if not isinstance(v, types.Type): + raise TypeError("spec values should be Numba type instances, got %r" + % (v,)) + + +def _fix_up_private_attr(clsname, spec): + """ + Apply the same changes to dunder names as CPython would. + """ + out = OrderedDict() + for k, v in spec.items(): + if k.startswith('__') and not k.endswith('__'): + k = '_' + clsname + k + out[k] = v + return out + + +def _add_linking_libs(context, call): + """ + Add the required libs for the callable to allow inlining. + """ + libs = getattr(call, "libs", ()) + if libs: + context.add_linking_libs(libs) + + +def register_class_type(cls, spec, class_ctor, builder): + """ + Internal function to create a jitclass. + + Args + ---- + cls: the original class object (used as the prototype) + spec: the structural specification contains the field types. + class_ctor: the numba type to represent the jitclass + builder: the internal jitclass builder + """ + # Normalize spec + if spec is None: + spec = OrderedDict() + elif isinstance(spec, Sequence): + spec = OrderedDict(spec) + + # Extend spec with class annotations. + for attr, py_type in pt.get_type_hints(cls).items(): + if attr not in spec: + spec[attr] = as_numba_type(py_type) + + _validate_spec(spec) + + # Fix up private attribute names + spec = _fix_up_private_attr(cls.__name__, spec) + + # Copy methods from base classes + clsdct = {} + for basecls in reversed(inspect.getmro(cls)): + clsdct.update(basecls.__dict__) + + methods, props, static_methods, others = {}, {}, {}, {} + for k, v in clsdct.items(): + if isinstance(v, pytypes.FunctionType): + methods[k] = v + elif isinstance(v, property): + props[k] = v + elif isinstance(v, staticmethod): + static_methods[k] = v + else: + others[k] = v + + # Check for name shadowing + shadowed = (set(methods) | set(props) | set(static_methods)) & set(spec) + if shadowed: + raise NameError("name shadowing: {0}".format(', '.join(shadowed))) + + docstring = others.pop('__doc__', "") + _drop_ignored_attrs(others) + if others: + msg = "class members are not yet supported: {0}" + members = ', '.join(others.keys()) + raise TypeError(msg.format(members)) + + for k, v in props.items(): + if v.fdel is not None: + raise TypeError("deleter is not supported: {0}".format(k)) + + jit_methods = {k: njit(v) for k, v in methods.items()} + + jit_props = {} + for k, v in props.items(): + dct = {} + if v.fget: + dct['get'] = njit(v.fget) + if v.fset: + dct['set'] = njit(v.fset) + jit_props[k] = dct + + jit_static_methods = { + k: njit(v.__func__) for k, v in static_methods.items()} + + # Instantiate class type + class_type = class_ctor( + cls, + ConstructorTemplate, + spec, + jit_methods, + jit_props, + jit_static_methods) + + jit_class_dct = dict(class_type=class_type, __doc__=docstring) + jit_class_dct.update(jit_static_methods) + cls = JitClassType(cls.__name__, (cls,), jit_class_dct) + + # Register resolution of the class object + typingctx = cpu_target.typing_context + typingctx.insert_global(cls, class_type) + + # Register class + targetctx = cpu_target.target_context + builder(class_type, typingctx, targetctx).register() + as_numba_type.register(cls, class_type.instance_type) + + return cls + + +class ConstructorTemplate(templates.AbstractTemplate): + """ + Base class for jitclass constructor templates. + """ + + def generic(self, args, kws): + # Redirect resolution to __init__ + instance_type = self.key.instance_type + ctor = instance_type.jit_methods['__init__'] + boundargs = (instance_type.get_reference_type(),) + args + disp_type = types.Dispatcher(ctor) + sig = disp_type.get_call_type(self.context, boundargs, kws) + + if not isinstance(sig.return_type, types.NoneType): + raise errors.NumbaTypeError( + f"__init__() should return None, not '{sig.return_type}'") + + # Actual constructor returns an instance value (not None) + out = templates.signature(instance_type, *sig.args[1:]) + return out + + +def _drop_ignored_attrs(dct): + # ignore anything defined by object + drop = set(['__weakref__', + '__module__', + '__dict__']) + if utils.PYVERSION in ((3, 13), (3, 14), (3, 15)): + # new in python 3.13 + drop |= set(['__firstlineno__', '__static_attributes__']) + + for att in ('__annotations__', + '__annotate_func__', + '__annotations_cache__'): + if att in dct: + drop.add(att) + + for k, v in dct.items(): + if isinstance(v, (pytypes.BuiltinFunctionType, + pytypes.BuiltinMethodType)): + drop.add(k) + elif getattr(v, '__objclass__', None) is object: + drop.add(k) + + # If a class defines __eq__ but not __hash__, __hash__ is implicitly set to + # None. This is a class member, and class members are not presently + # supported. + if '__hash__' in dct and dct['__hash__'] is None: + drop.add('__hash__') + + for k in drop: + dct.pop(k) + + +class ClassBuilder(object): + """ + A jitclass builder for a mutable jitclass. This will register + typing and implementation hooks to the given typing and target contexts. + """ + class_impl_registry = imputils.Registry('jitclass builder') + implemented_methods = set() + + def __init__(self, class_type, typingctx, targetctx): + self.class_type = class_type + self.typingctx = typingctx + self.targetctx = targetctx + + def register(self): + """ + Register to the frontend and backend. + """ + # Register generic implementations for all jitclasses + self._register_methods(self.class_impl_registry, + self.class_type.instance_type) + # NOTE other registrations are done at the top-level + # (see ctor_impl and attr_impl below) + self.targetctx.install_registry(self.class_impl_registry) + + def _register_methods(self, registry, instance_type): + """ + Register method implementations. + This simply registers that the method names are valid methods. Inside + of imp() below we retrieve the actual method to run from the type of + the receiver argument (i.e. self). + """ + to_register = list(instance_type.jit_methods) + \ + list(instance_type.jit_static_methods) + for meth in to_register: + + # There's no way to retrieve the particular method name + # inside the implementation function, so we have to register a + # specific closure for each different name + if meth not in self.implemented_methods: + self._implement_method(registry, meth) + self.implemented_methods.add(meth) + + def _implement_method(self, registry, attr): + # create a separate instance of imp method to avoid closure clashing + def get_imp(): + def imp(context, builder, sig, args): + instance_type = sig.args[0] + + if attr in instance_type.jit_methods: + method = instance_type.jit_methods[attr] + elif attr in instance_type.jit_static_methods: + method = instance_type.jit_static_methods[attr] + # imp gets called as a method, where the first argument is + # self. We drop this for a static method. + sig = sig.replace(args=sig.args[1:]) + args = args[1:] + + disp_type = types.Dispatcher(method) + call = context.get_function(disp_type, sig) + out = call(builder, args) + _add_linking_libs(context, call) + return imputils.impl_ret_new_ref(context, builder, + sig.return_type, out) + return imp + + def _getsetitem_gen(getset): + _dunder_meth = "__%s__" % getset + op = getattr(operator, getset) + + @templates.infer_global(op) + class GetSetItem(templates.AbstractTemplate): + def generic(self, args, kws): + instance = args[0] + if isinstance(instance, types.ClassInstanceType) and \ + _dunder_meth in instance.jit_methods: + meth = instance.jit_methods[_dunder_meth] + disp_type = types.Dispatcher(meth) + sig = disp_type.get_call_type(self.context, args, kws) + return sig + + # lower both {g,s}etitem and __{g,s}etitem__ to catch the calls + # from python and numba + imputils.lower_builtin((types.ClassInstanceType, _dunder_meth), + types.ClassInstanceType, + types.VarArg(types.Any))(get_imp()) + imputils.lower_builtin(op, + types.ClassInstanceType, + types.VarArg(types.Any))(get_imp()) + + dunder_stripped = attr.strip('_') + if dunder_stripped in ("getitem", "setitem"): + _getsetitem_gen(dunder_stripped) + else: + registry.lower((types.ClassInstanceType, attr), + types.ClassInstanceType, + types.VarArg(types.Any))(get_imp()) + + +@templates.infer_getattr +class ClassAttribute(templates.AttributeTemplate): + key = types.ClassInstanceType + + def generic_resolve(self, instance, attr): + if attr in instance.struct: + # It's a struct field => the type is well-known + return instance.struct[attr] + + elif attr in instance.jit_methods: + # It's a jitted method => typeinfer it + meth = instance.jit_methods[attr] + disp_type = types.Dispatcher(meth) + + class MethodTemplate(templates.AbstractTemplate): + key = (self.key, attr) + + def generic(self, args, kws): + args = (instance,) + tuple(args) + sig = disp_type.get_call_type(self.context, args, kws) + return sig.as_method() + + return types.BoundFunction(MethodTemplate, instance) + + elif attr in instance.jit_static_methods: + # It's a jitted method => typeinfer it + meth = instance.jit_static_methods[attr] + disp_type = types.Dispatcher(meth) + + class StaticMethodTemplate(templates.AbstractTemplate): + key = (self.key, attr) + + def generic(self, args, kws): + # Don't add instance as the first argument for a static + # method. + sig = disp_type.get_call_type(self.context, args, kws) + # sig itself does not include ClassInstanceType as it's + # first argument, so instead of calling sig.as_method() + # we insert the recvr. This is equivalent to + # sig.replace(args=(instance,) + sig.args).as_method(). + return sig.replace(recvr=instance) + + return types.BoundFunction(StaticMethodTemplate, instance) + + elif attr in instance.jit_props: + # It's a jitted property => typeinfer its getter + impdct = instance.jit_props[attr] + getter = impdct['get'] + disp_type = types.Dispatcher(getter) + sig = disp_type.get_call_type(self.context, (instance,), {}) + return sig.return_type + + +@ClassBuilder.class_impl_registry.lower_getattr_generic(types.ClassInstanceType) +def get_attr_impl(context, builder, typ, value, attr): + """ + Generic getattr() for @jitclass instances. + """ + if attr in typ.struct: + # It's a struct field + inst = context.make_helper(builder, typ, value=value) + data_pointer = inst.data + data = context.make_data_helper(builder, typ.get_data_type(), + ref=data_pointer) + return imputils.impl_ret_borrowed(context, builder, + typ.struct[attr], + getattr(data, _mangle_attr(attr))) + elif attr in typ.jit_props: + # It's a jitted property + getter = typ.jit_props[attr]['get'] + sig = templates.signature(None, typ) + dispatcher = types.Dispatcher(getter) + sig = dispatcher.get_call_type(context.typing_context, [typ], {}) + call = context.get_function(dispatcher, sig) + out = call(builder, [value]) + _add_linking_libs(context, call) + return imputils.impl_ret_new_ref(context, builder, sig.return_type, out) + + raise NotImplementedError('attribute {0!r} not implemented'.format(attr)) + + +@ClassBuilder.class_impl_registry.lower_setattr_generic(types.ClassInstanceType) +def set_attr_impl(context, builder, sig, args, attr): + """ + Generic setattr() for @jitclass instances. + """ + typ, valty = sig.args + target, val = args + + if attr in typ.struct: + # It's a struct member + inst = context.make_helper(builder, typ, value=target) + data_ptr = inst.data + data = context.make_data_helper(builder, typ.get_data_type(), + ref=data_ptr) + + # Get old value + attr_type = typ.struct[attr] + oldvalue = getattr(data, _mangle_attr(attr)) + + # Store n + setattr(data, _mangle_attr(attr), val) + context.nrt.incref(builder, attr_type, val) + + # Delete old value + context.nrt.decref(builder, attr_type, oldvalue) + + elif attr in typ.jit_props: + # It's a jitted property + setter = typ.jit_props[attr]['set'] + disp_type = types.Dispatcher(setter) + sig = disp_type.get_call_type(context.typing_context, + (typ, valty), {}) + call = context.get_function(disp_type, sig) + call(builder, (target, val)) + _add_linking_libs(context, call) + else: + raise NotImplementedError( + 'attribute {0!r} not implemented'.format(attr)) + + +def imp_dtor(context, module, instance_type): + llvoidptr = context.get_value_type(types.voidptr) + llsize = context.get_value_type(types.uintp) + dtor_ftype = llvmir.FunctionType(llvmir.VoidType(), + [llvoidptr, llsize, llvoidptr]) + + fname = "_Dtor.{0}".format(instance_type.name) + dtor_fn = cgutils.get_or_insert_function(module, dtor_ftype, fname) + if dtor_fn.is_declaration: + # Define + builder = llvmir.IRBuilder(dtor_fn.append_basic_block()) + + alloc_fe_type = instance_type.get_data_type() + alloc_type = context.get_value_type(alloc_fe_type) + + ptr = builder.bitcast(dtor_fn.args[0], alloc_type.as_pointer()) + data = context.make_helper(builder, alloc_fe_type, ref=ptr) + + context.nrt.decref(builder, alloc_fe_type, data._getvalue()) + + builder.ret_void() + + return dtor_fn + + +@ClassBuilder.class_impl_registry.lower(types.ClassType, + types.VarArg(types.Any)) +def ctor_impl(context, builder, sig, args): + """ + Generic constructor (__new__) for jitclasses. + """ + # Allocate the instance + inst_typ = sig.return_type + alloc_type = context.get_data_type(inst_typ.get_data_type()) + alloc_size = context.get_abi_sizeof(alloc_type) + + meminfo = context.nrt.meminfo_alloc_dtor( + builder, + context.get_constant(types.uintp, alloc_size), + imp_dtor(context, builder.module, inst_typ), + ) + data_pointer = context.nrt.meminfo_data(builder, meminfo) + data_pointer = builder.bitcast(data_pointer, + alloc_type.as_pointer()) + + # Nullify all data + builder.store(cgutils.get_null_value(alloc_type), + data_pointer) + + inst_struct = context.make_helper(builder, inst_typ) + inst_struct.meminfo = meminfo + inst_struct.data = data_pointer + + # Call the jitted __init__ + # TODO: extract the following into a common util + init_sig = (sig.return_type,) + sig.args + + init = inst_typ.jit_methods['__init__'] + disp_type = types.Dispatcher(init) + call = context.get_function(disp_type, types.void(*init_sig)) + _add_linking_libs(context, call) + realargs = [inst_struct._getvalue()] + list(args) + call(builder, realargs) + + # Prepare return value + ret = inst_struct._getvalue() + + return imputils.impl_ret_new_ref(context, builder, inst_typ, ret) diff --git a/shared/package-files/45/45fd47d8cc3bf58cc37e48e723eebe145ad7a51f8df4d31e979aaf86de956dfe/unused_registry.py b/shared/package-files/45/45fd47d8cc3bf58cc37e48e723eebe145ad7a51f8df4d31e979aaf86de956dfe/unused_registry.py new file mode 100644 index 0000000000000000000000000000000000000000..600351c02e02b964fa0f902941bfa278cf3cc71b --- /dev/null +++ b/shared/package-files/45/45fd47d8cc3bf58cc37e48e723eebe145ad7a51f8df4d31e979aaf86de956dfe/unused_registry.py @@ -0,0 +1,35 @@ +""" +An unused schema registry should not cause slower validation. + +"Unused" here means one where no reference resolution is occurring anyhow. + +See https://github.com/python-jsonschema/jsonschema/issues/1088. +""" +from pyperf import Runner +from referencing import Registry +from referencing.jsonschema import DRAFT201909 + +from jsonschema import Draft201909Validator + +registry = Registry().with_resource( + "urn:example:foo", + DRAFT201909.create_resource({}) +) + +schema = {"$ref": "https://json-schema.org/draft/2019-09/schema"} +instance = {"maxLength": 4} + +no_registry = Draft201909Validator(schema) +with_useless_registry = Draft201909Validator(schema, registry=registry) + +if __name__ == "__main__": + runner = Runner() + + runner.bench_func( + "no registry", + lambda: no_registry.is_valid(instance), + ) + runner.bench_func( + "useless registry", + lambda: with_useless_registry.is_valid(instance), + ) diff --git a/shared/package-files/45/45fe1e62b1c09271329c323c6b0fd3c2ac8f12089766f03c498d1057296b8a02/meta_tracer.py b/shared/package-files/45/45fe1e62b1c09271329c323c6b0fd3c2ac8f12089766f03c498d1057296b8a02/meta_tracer.py new file mode 100644 index 0000000000000000000000000000000000000000..be19e7b93ac8b850cc3619d983ef748b66cfa0fa --- /dev/null +++ b/shared/package-files/45/45fe1e62b1c09271329c323c6b0fd3c2ac8f12089766f03c498d1057296b8a02/meta_tracer.py @@ -0,0 +1,268 @@ +import torch +import torch.fx +import warnings +import functools +import builtins + +from typing import Any, Callable, Dict, Optional, Union + +def embedding_override(self, input): + return torch.empty(*input.shape, self.weight.shape[-1], device='meta') + + +def nn_layernorm_override(self, input): + return input + + +def torch_relu_override(x): + return x + + +def torch_nn_relu_override(self, x): + return x + + +def functional_relu_override(x, inplace=False): + assert not inplace, 'dont support inplace functional.relu for metatensor analysis' + return x + + +def torch_where_override(condition, x, y): + # torch.where returns the broadcasted tensor of condition, x, and y, + # so hack it by using addition + return condition.to(device='meta') + x.to(device='meta') + y.to(device='meta') + + +def torch_abs_override(input, *, out=None): + assert out is None, 'Dont support in-place abs for MetaTensor analysis' + return input + +manual_meta_overrides : Dict[Callable, Callable] = { + torch.nn.Embedding: embedding_override, + torch.nn.LayerNorm: nn_layernorm_override, + torch.relu: torch_relu_override, + torch.nn.functional.relu: functional_relu_override, + torch.nn.ReLU: torch_nn_relu_override, + torch.where: torch_where_override, + torch.abs: torch_abs_override, +} + +def gen_constructor_wrapper(target): + @functools.wraps(target) + def wrapper(*args, **kwargs): + proxy = None + + def check_has_proxy(v): + if isinstance(v, torch.fx.Proxy): + nonlocal proxy + proxy = v + torch.fx.node.map_aggregate(args, check_has_proxy) + torch.fx.node.map_aggregate(kwargs, check_has_proxy) + + if proxy is not None: + return proxy.tracer.create_proxy('call_function', target, args, kwargs) + else: + return target(*args, **kwargs) + return wrapper, target + +class MetaProxy(torch.fx.Proxy): + def install_tensor_meta(self, tensor_meta): + self._tensor_meta = tensor_meta + + def size(self, dim=None): + if hasattr(self, '_tensor_meta') and self._tensor_meta is not None: + return self._tensor_meta.size(*[dim] if dim else []) + return self.tracer.create_proxy('call_method', 'size', (self, dim) if dim else (self,), {}) + + def dim(self): + if hasattr(self, '_tensor_meta') and self._tensor_meta is not None: + return self._tensor_meta.dim() + return self.tracer.create_proxy('call_method', 'dim', (self,), {}) + + @property + def shape(self): + if hasattr(self, '_tensor_meta') and self._tensor_meta is not None: + return self._tensor_meta.shape + return self.tracer.create_proxy('call_function', builtins.getattr, (self, 'shape'), {}) + + @property + def dtype(self): + if hasattr(self, '_tensor_meta') and self._tensor_meta is not None: + return self._tensor_meta.dtype + return self.tracer.create_proxy('call_function', builtins.getattr, (self, 'dtype'), {}) + + @property + def device(self): + # Hack so we can track when devices are used. During meta-tensor propagation, + # replace these values with a constant 'meta' + return MetaDeviceAttribute(self, 'device') + + def __getattr__(self, k): + if k == '_tensor_meta': + return self.__getattribute__(k) + # note: not added to the graph yet, if this is a method call + # we peephole optimize to the method invocation + return MetaAttribute(self, k) + +class MetaAttribute(MetaProxy): + def __init__(self, root, attr: str): + + self.root = root + self.attr = attr + self.tracer = root.tracer + self._node = None + + @property + def node(self): + # the node for attributes is added lazily, since most will just be method calls + # which do not rely on the getitem call + if self._node is None: + self._node = self.tracer.create_proxy('call_function', getattr, (self.root, self.attr), {}).node + return self._node + + def __call__(self, *args, **kwargs): + return self.tracer.create_proxy('call_method', self.attr, (self.root,) + args, kwargs) + +class MetaDeviceAttribute(MetaAttribute): + pass + +def proxys_to_metas(v): + if isinstance(v, MetaDeviceAttribute): + return 'meta' + if isinstance(v, torch.fx.Proxy): + assert isinstance(v, MetaProxy), f'Expected MetaProxy but got {type(v)}' + assert hasattr(v, '_tensor_meta'), 'MetaProxy does not have an associated meta' + return v._tensor_meta + return v + +class MetaTracer(torch.fx.Tracer): + allow_insert_stateless_mods : bool = True + + _TORCH_METHODS_TO_PATCH = ['arange', 'zeros', 'ones', 'full_like', 'eye'] + + def create_proxy(self, kind, target, args, kwargs, name=None, type_expr=None, proxy_factory_fn=None): + rv = super().create_proxy(kind, target, args, kwargs, name, type_expr, proxy_factory_fn) + + if kind == 'placeholder' and target in self.meta_args: + rv.install_tensor_meta(self.meta_args[target]) + return rv + + if target in self.orig_fns: + # NOTE: tensor constructors in PyTorch define the `device` argument as + # *kwargs-only*. That is why this works. If you add methods to + # _TORCH_METHODS_TO_PATCH that do not define `device` as kwarg-only, + # this will break and you will likely see issues where we cannot infer + # the size of the output. + if 'device' in kwargs: + kwargs['device'] = 'meta' + + try: + args_metas = torch.fx.node.map_aggregate(args, proxys_to_metas) + kwargs_metas = torch.fx.node.map_aggregate(kwargs, proxys_to_metas) + + if kind == 'call_function': + meta_target = manual_meta_overrides.get(target, target) + meta_out = meta_target(*args_metas, **kwargs_metas) + elif kind == 'call_method': + meta_out = getattr(args_metas[0], target)(*args_metas[1:], **kwargs_metas) + elif kind == 'call_module': + assert hasattr(self, 'orig_forward') + self._disable_module_getattr = True + try: + mod = self.root.get_submodule(target) + mod_type = type(mod) + if mod_type in manual_meta_overrides: + meta_out = manual_meta_overrides[mod_type](mod, *args_metas, **kwargs_metas) + else: + meta_out = self.orig_forward(*args_metas, **kwargs_metas) + finally: + self._disable_module_getattr = False + elif kind == 'get_attr': + self._disable_module_getattr = True + try: + attr_itr = self.root + atoms = target.split('.') + for atom in atoms: + attr_itr = getattr(attr_itr, atom) + assert isinstance(attr_itr, torch.Tensor) + meta_out = attr_itr.to(device='meta') + finally: + self._disable_module_getattr = False + else: + return rv + + # TODO + assert isinstance(rv, torch.fx.Proxy), 'Dont support composite output yet' + rv.install_tensor_meta(meta_out) + except Exception as e: + warnings.warn(f'Could not compute metadata for {kind} target {target}: {e}') + + return rv + + def getattr(self, attr, attr_val, parameter_proxy_cache): + if getattr(self, '_disable_module_getattr', False): + return attr_val + else: + return super().getattr(attr, attr_val, parameter_proxy_cache) + + def call_module(self, m, forward, args, kwargs): + self.orig_forward = forward + return super().call_module(m, forward, args, kwargs) + + def _insert_module_as_submodule(self, mod: torch.nn.Module) -> str: + """ + Helper method which tries to insert a module that was not declared as submodule. + """ + idx = 0 + mod_name = mod.__class__.__name__.lower() + path = f"{mod_name}_{idx}" + while hasattr(self.root, path): + path = f"{mod_name}_{idx}" + idx += 1 + + self.root.add_module(path, mod) + return path + + def path_of_module(self, mod: torch.nn.Module) -> str: + try: + return super().path_of_module(mod) + except NameError as e: + if self.allow_insert_stateless_mods and len(list(mod.parameters())) == 0 and len(list(mod.buffers())) == 0: + path = self._insert_module_as_submodule(mod) + self.prev_module = path + return path + raise + + def proxy(self, node): + return MetaProxy(node, self) + + def trace(self, root, meta_args : Dict[str, torch.Tensor], concrete_args=None): + assert isinstance(meta_args, dict) + self.meta_args = meta_args + + self.patched_torch_methods = { + target: gen_constructor_wrapper(getattr(torch, target)) for target in self._TORCH_METHODS_TO_PATCH + } + self.orig_fns = set() + + for name, (wrapper, orig) in self.patched_torch_methods.items(): + setattr(torch, name, wrapper) + self.orig_fns.add(orig) + + try: + graph = super().trace(root, concrete_args) + graph._tracer_extras = {'meta_args': meta_args} + return graph + finally: + for name, (_, orig) in self.patched_torch_methods.items(): + setattr(torch, name, orig) + + +def symbolic_trace(root : Union[torch.nn.Module, Callable[..., Any]], + meta_args : Optional[Dict[str, torch.Tensor]] = None, + concrete_args: Optional[Dict[str, Any]] = None) -> torch.fx.GraphModule: + tracer = MetaTracer() + graph = tracer.trace(root, meta_args, concrete_args) + name = root.__class__.__name__ if isinstance(root, torch.nn.Module) else root.__name__ + gm = torch.fx.GraphModule(tracer.root, graph, name) + return gm diff --git a/shared/package-files/70/70016e80f7f4b5849df8fdbe1a571fbe11bb6272a57cca2a13c3df7fbc971bee/test_enable_hist_gradient_boosting.py b/shared/package-files/70/70016e80f7f4b5849df8fdbe1a571fbe11bb6272a57cca2a13c3df7fbc971bee/test_enable_hist_gradient_boosting.py new file mode 100644 index 0000000000000000000000000000000000000000..a247bfd3f64280cc338825c7695da9f9cb7688e0 --- /dev/null +++ b/shared/package-files/70/70016e80f7f4b5849df8fdbe1a571fbe11bb6272a57cca2a13c3df7fbc971bee/test_enable_hist_gradient_boosting.py @@ -0,0 +1,19 @@ +"""Tests for making sure experimental imports work as expected.""" + +import textwrap + +import pytest + +from sklearn.utils._testing import assert_run_python_script_without_output +from sklearn.utils.fixes import _IS_WASM + + +@pytest.mark.xfail(_IS_WASM, reason="cannot start subprocess") +def test_import_raises_warning(): + code = """ + import pytest + with pytest.warns(UserWarning, match="it is not needed to import"): + from sklearn.experimental import enable_hist_gradient_boosting # noqa + """ + pattern = "it is not needed to import enable_hist_gradient_boosting anymore" + assert_run_python_script_without_output(textwrap.dedent(code), pattern=pattern) diff --git a/shared/package-files/70/70018eaf7b500deb20fe4aba0f13d2b495508e243f259d4b9e84f6fd72d7c6df/lcm_compositeexplicitautogradnonfunctional_dispatch.h b/shared/package-files/70/70018eaf7b500deb20fe4aba0f13d2b495508e243f259d4b9e84f6fd72d7c6df/lcm_compositeexplicitautogradnonfunctional_dispatch.h new file mode 100644 index 0000000000000000000000000000000000000000..6b4f61bade0489e636484d8c4e6498528984f45a --- /dev/null +++ b/shared/package-files/70/70018eaf7b500deb20fe4aba0f13d2b495508e243f259d4b9e84f6fd72d7c6df/lcm_compositeexplicitautogradnonfunctional_dispatch.h @@ -0,0 +1,24 @@ +#pragma once +// @generated by torchgen/gen.py from DispatchKeyFunction.h + +// NB: The implementing C++ file is RegisterDispatchKey.cpp + +// The only #includes we need are for custom classes that have defaults in the C++ API +#include +#include +#include + +// Forward declarations of any types needed in the operator signatures. +// We can't directly include these classes because it will cause circular include dependencies. +// This file is included by TensorBody.h, which defines the Tensor class. +#include + +namespace at { + +namespace compositeexplicitautogradnonfunctional { + +TORCH_API at::Tensor lcm(const at::Tensor & self, const at::Tensor & other); +TORCH_API at::Tensor & lcm_(at::Tensor & self, const at::Tensor & other); + +} // namespace compositeexplicitautogradnonfunctional +} // namespace at diff --git a/shared/package-files/70/7001f539d83be8e2b834fbda957d50345ec993f4494880b264fed91e8c89ca89/f100 b/shared/package-files/70/7001f539d83be8e2b834fbda957d50345ec993f4494880b264fed91e8c89ca89/f100 new file mode 100644 index 0000000000000000000000000000000000000000..c775f9c853fbb3ea02c8b440e6e4a47b135ad122 Binary files /dev/null and b/shared/package-files/70/7001f539d83be8e2b834fbda957d50345ec993f4494880b264fed91e8c89ca89/f100 differ diff --git a/shared/package-files/70/7001f539d83be8e2b834fbda957d50345ec993f4494880b264fed91e8c89ca89/freedom b/shared/package-files/70/7001f539d83be8e2b834fbda957d50345ec993f4494880b264fed91e8c89ca89/freedom new file mode 100644 index 0000000000000000000000000000000000000000..c775f9c853fbb3ea02c8b440e6e4a47b135ad122 Binary files /dev/null and b/shared/package-files/70/7001f539d83be8e2b834fbda957d50345ec993f4494880b264fed91e8c89ca89/freedom differ diff --git a/shared/package-files/70/7001f539d83be8e2b834fbda957d50345ec993f4494880b264fed91e8c89ca89/freedom100 b/shared/package-files/70/7001f539d83be8e2b834fbda957d50345ec993f4494880b264fed91e8c89ca89/freedom100 new file mode 100644 index 0000000000000000000000000000000000000000..c775f9c853fbb3ea02c8b440e6e4a47b135ad122 Binary files /dev/null and b/shared/package-files/70/7001f539d83be8e2b834fbda957d50345ec993f4494880b264fed91e8c89ca89/freedom100 differ diff --git a/shared/package-files/70/70033cfe7a7fc45491c0ab2368c459bbd0dcf7140e40f019556c6cbd1ffbaa31/models.py b/shared/package-files/70/70033cfe7a7fc45491c0ab2368c459bbd0dcf7140e40f019556c6cbd1ffbaa31/models.py new file mode 100644 index 0000000000000000000000000000000000000000..4891b074bfd6dd3f7d43fa95b0b845a764cac114 --- /dev/null +++ b/shared/package-files/70/70033cfe7a7fc45491c0ab2368c459bbd0dcf7140e40f019556c6cbd1ffbaa31/models.py @@ -0,0 +1,1529 @@ +import warnings + +import numpy as np +from scipy.linalg import eigh + +from .settings import Options +from .utils import MaxEvalError, TargetSuccess, FeasibleSuccess + + +EPS = np.finfo(float).eps + + +class Interpolation: + """ + Interpolation set. + + This class stores a base point around which the models are expanded and the + interpolation points. The coordinates of the interpolation points are + relative to the base point. + """ + + def __init__(self, pb, options): + """ + Initialize the interpolation set. + + Parameters + ---------- + pb : `cobyqa.problem.Problem` + Problem to be solved. + options : dict + Options of the solver. + """ + # Reduce the initial trust-region radius if necessary. + self._debug = options[Options.DEBUG] + max_radius = 0.5 * np.min(pb.bounds.xu - pb.bounds.xl) + if options[Options.RHOBEG] > max_radius: + options[Options.RHOBEG.value] = max_radius + options[Options.RHOEND.value] = np.min( + [ + options[Options.RHOEND], + max_radius, + ] + ) + + # Set the initial point around which the models are expanded. + self._x_base = np.copy(pb.x0) + very_close_xl_idx = ( + self.x_base <= pb.bounds.xl + 0.5 * options[Options.RHOBEG] + ) + self.x_base[very_close_xl_idx] = pb.bounds.xl[very_close_xl_idx] + close_xl_idx = ( + pb.bounds.xl + 0.5 * options[Options.RHOBEG] < self.x_base + ) & (self.x_base <= pb.bounds.xl + options[Options.RHOBEG]) + self.x_base[close_xl_idx] = np.minimum( + pb.bounds.xl[close_xl_idx] + options[Options.RHOBEG], + pb.bounds.xu[close_xl_idx], + ) + very_close_xu_idx = ( + self.x_base >= pb.bounds.xu - 0.5 * options[Options.RHOBEG] + ) + self.x_base[very_close_xu_idx] = pb.bounds.xu[very_close_xu_idx] + close_xu_idx = ( + self.x_base < pb.bounds.xu - 0.5 * options[Options.RHOBEG] + ) & (pb.bounds.xu - options[Options.RHOBEG] <= self.x_base) + self.x_base[close_xu_idx] = np.maximum( + pb.bounds.xu[close_xu_idx] - options[Options.RHOBEG], + pb.bounds.xl[close_xu_idx], + ) + + # Set the initial interpolation set. + self._xpt = np.zeros((pb.n, options[Options.NPT])) + for k in range(1, options[Options.NPT]): + if k <= pb.n: + if very_close_xu_idx[k - 1]: + self.xpt[k - 1, k] = -options[Options.RHOBEG] + else: + self.xpt[k - 1, k] = options[Options.RHOBEG] + elif k <= 2 * pb.n: + if very_close_xl_idx[k - pb.n - 1]: + self.xpt[k - pb.n - 1, k] = 2.0 * options[Options.RHOBEG] + elif very_close_xu_idx[k - pb.n - 1]: + self.xpt[k - pb.n - 1, k] = -2.0 * options[Options.RHOBEG] + else: + self.xpt[k - pb.n - 1, k] = -options[Options.RHOBEG] + else: + spread = (k - pb.n - 1) // pb.n + k1 = k - (1 + spread) * pb.n - 1 + k2 = (k1 + spread) % pb.n + self.xpt[k1, k] = self.xpt[k1, k1 + 1] + self.xpt[k2, k] = self.xpt[k2, k2 + 1] + + @property + def n(self): + """ + Number of variables. + + Returns + ------- + int + Number of variables. + """ + return self.xpt.shape[0] + + @property + def npt(self): + """ + Number of interpolation points. + + Returns + ------- + int + Number of interpolation points. + """ + return self.xpt.shape[1] + + @property + def xpt(self): + """ + Interpolation points. + + Returns + ------- + `numpy.ndarray`, shape (n, npt) + Interpolation points. + """ + return self._xpt + + @xpt.setter + def xpt(self, xpt): + """ + Set the interpolation points. + + Parameters + ---------- + xpt : `numpy.ndarray`, shape (n, npt) + New interpolation points. + """ + if self._debug: + assert xpt.shape == ( + self.n, + self.npt, + ), "The shape of `xpt` is not valid." + self._xpt = xpt + + @property + def x_base(self): + """ + Base point around which the models are expanded. + + Returns + ------- + `numpy.ndarray`, shape (n,) + Base point around which the models are expanded. + """ + return self._x_base + + @x_base.setter + def x_base(self, x_base): + """ + Set the base point around which the models are expanded. + + Parameters + ---------- + x_base : `numpy.ndarray`, shape (n,) + New base point around which the models are expanded. + """ + if self._debug: + assert x_base.shape == ( + self.n, + ), "The shape of `x_base` is not valid." + self._x_base = x_base + + def point(self, k): + """ + Get the `k`-th interpolation point. + + The return point is relative to the origin. + + Parameters + ---------- + k : int + Index of the interpolation point. + + Returns + ------- + `numpy.ndarray`, shape (n,) + `k`-th interpolation point. + """ + if self._debug: + assert 0 <= k < self.npt, "The index `k` is not valid." + return self.x_base + self.xpt[:, k] + + +_cache = {"xpt": None, "a": None, "right_scaling": None, "eigh": None} + + +def build_system(interpolation): + """ + Build the left-hand side matrix of the interpolation system. The + matrix below stores W * diag(right_scaling), + where W is the theoretical matrix of the interpolation system. The + right scaling matrices is chosen to keep the elements in + the matrix well-balanced. + + Parameters + ---------- + interpolation : `cobyqa.models.Interpolation` + Interpolation set. + """ + + # Compute the scaled directions from the base point to the + # interpolation points. We scale the directions to avoid numerical + # difficulties. + if _cache["xpt"] is not None and np.array_equal( + interpolation.xpt, _cache["xpt"] + ): + return _cache["a"], _cache["right_scaling"], _cache["eigh"] + + scale = np.max(np.linalg.norm(interpolation.xpt, axis=0), initial=EPS) + xpt_scale = interpolation.xpt / scale + + n, npt = xpt_scale.shape + a = np.zeros((npt + n + 1, npt + n + 1)) + a[:npt, :npt] = 0.5 * (xpt_scale.T @ xpt_scale) ** 2.0 + a[:npt, npt] = 1.0 + a[:npt, npt + 1:] = xpt_scale.T + a[npt, :npt] = 1.0 + a[npt + 1:, :npt] = xpt_scale + + # Build the left and right scaling diagonal matrices. + right_scaling = np.empty(npt + n + 1) + right_scaling[:npt] = 1.0 / scale**2.0 + right_scaling[npt] = scale**2.0 + right_scaling[npt + 1:] = scale + + eig_values, eig_vectors = eigh(a, check_finite=False) + + _cache["xpt"] = np.copy(interpolation.xpt) + _cache["a"] = np.copy(a) + _cache["right_scaling"] = np.copy(right_scaling) + _cache["eigh"] = (eig_values, eig_vectors) + + return a, right_scaling, (eig_values, eig_vectors) + + +class Quadratic: + """ + Quadratic model. + + This class stores the Hessian matrix of the quadratic model using the + implicit/explicit representation designed by Powell for NEWUOA [1]_. + + References + ---------- + .. [1] M. J. D. Powell. The NEWUOA software for unconstrained optimization + without derivatives. In G. Di Pillo and M. Roma, editors, *Large-Scale + Nonlinear Optimization*, volume 83 of Nonconvex Optim. Appl., pages + 255--297. Springer, Boston, MA, USA, 2006. `doi:10.1007/0-387-30065-1_16 + `_. + """ + + def __init__(self, interpolation, values, debug): + """ + Initialize the quadratic model. + + Parameters + ---------- + interpolation : `cobyqa.models.Interpolation` + Interpolation set. + values : `numpy.ndarray`, shape (npt,) + Values of the interpolated function at the interpolation points. + debug : bool + Whether to make debugging tests during the execution. + + Raises + ------ + `numpy.linalg.LinAlgError` + If the interpolation system is ill-defined. + """ + self._debug = debug + if self._debug: + assert values.shape == ( + interpolation.npt, + ), "The shape of `values` is not valid." + if interpolation.npt < interpolation.n + 1: + raise ValueError( + f"The number of interpolation points must be at least " + f"{interpolation.n + 1}." + ) + self._const, self._grad, self._i_hess, _ = self._get_model( + interpolation, + values, + ) + self._e_hess = np.zeros((self.n, self.n)) + + def __call__(self, x, interpolation): + """ + Evaluate the quadratic model at a given point. + + Parameters + ---------- + x : `numpy.ndarray`, shape (n,) + Point at which the quadratic model is evaluated. + interpolation : `cobyqa.models.Interpolation` + Interpolation set. + + Returns + ------- + float + Value of the quadratic model at `x`. + """ + if self._debug: + assert x.shape == (self.n,), "The shape of `x` is not valid." + x_diff = x - interpolation.x_base + return ( + self._const + + self._grad @ x_diff + + 0.5 + * ( + self._i_hess @ (interpolation.xpt.T @ x_diff) ** 2.0 + + x_diff @ self._e_hess @ x_diff + ) + ) + + @property + def n(self): + """ + Number of variables. + + Returns + ------- + int + Number of variables. + """ + return self._grad.size + + @property + def npt(self): + """ + Number of interpolation points used to define the quadratic model. + + Returns + ------- + int + Number of interpolation points used to define the quadratic model. + """ + return self._i_hess.size + + def grad(self, x, interpolation): + """ + Evaluate the gradient of the quadratic model at a given point. + + Parameters + ---------- + x : `numpy.ndarray`, shape (n,) + Point at which the gradient of the quadratic model is evaluated. + interpolation : `cobyqa.models.Interpolation` + Interpolation set. + + Returns + ------- + `numpy.ndarray`, shape (n,) + Gradient of the quadratic model at `x`. + """ + if self._debug: + assert x.shape == (self.n,), "The shape of `x` is not valid." + x_diff = x - interpolation.x_base + return self._grad + self.hess_prod(x_diff, interpolation) + + def hess(self, interpolation): + """ + Evaluate the Hessian matrix of the quadratic model. + + Parameters + ---------- + interpolation : `cobyqa.models.Interpolation` + Interpolation set. + + Returns + ------- + `numpy.ndarray`, shape (n, n) + Hessian matrix of the quadratic model. + """ + return self._e_hess + interpolation.xpt @ ( + self._i_hess[:, np.newaxis] * interpolation.xpt.T + ) + + def hess_prod(self, v, interpolation): + """ + Evaluate the right product of the Hessian matrix of the quadratic model + with a given vector. + + Parameters + ---------- + v : `numpy.ndarray`, shape (n,) + Vector with which the Hessian matrix of the quadratic model is + multiplied from the right. + interpolation : `cobyqa.models.Interpolation` + Interpolation set. + + Returns + ------- + `numpy.ndarray`, shape (n,) + Right product of the Hessian matrix of the quadratic model with + `v`. + """ + if self._debug: + assert v.shape == (self.n,), "The shape of `v` is not valid." + return self._e_hess @ v + interpolation.xpt @ ( + self._i_hess * (interpolation.xpt.T @ v) + ) + + def curv(self, v, interpolation): + """ + Evaluate the curvature of the quadratic model along a given direction. + + Parameters + ---------- + v : `numpy.ndarray`, shape (n,) + Direction along which the curvature of the quadratic model is + evaluated. + interpolation : `cobyqa.models.Interpolation` + Interpolation set. + + Returns + ------- + float + Curvature of the quadratic model along `v`. + """ + if self._debug: + assert v.shape == (self.n,), "The shape of `v` is not valid." + return ( + v @ self._e_hess @ v + + self._i_hess @ (interpolation.xpt.T @ v) ** 2.0 + ) + + def update(self, interpolation, k_new, dir_old, values_diff): + """ + Update the quadratic model. + + This method applies the derivative-free symmetric Broyden update to the + quadratic model. The `knew`-th interpolation point must be updated + before calling this method. + + Parameters + ---------- + interpolation : `cobyqa.models.Interpolation` + Updated interpolation set. + k_new : int + Index of the updated interpolation point. + dir_old : `numpy.ndarray`, shape (n,) + Value of ``interpolation.xpt[:, k_new]`` before the update. + values_diff : `numpy.ndarray`, shape (npt,) + Differences between the values of the interpolated nonlinear + function and the previous quadratic model at the updated + interpolation points. + + Raises + ------ + `numpy.linalg.LinAlgError` + If the interpolation system is ill-defined. + """ + if self._debug: + assert 0 <= k_new < self.npt, "The index `k_new` is not valid." + assert dir_old.shape == ( + self.n, + ), "The shape of `dir_old` is not valid." + assert values_diff.shape == ( + self.npt, + ), "The shape of `values_diff` is not valid." + + # Forward the k_new-th element of the implicit Hessian matrix to the + # explicit Hessian matrix. This must be done because the implicit + # Hessian matrix is related to the interpolation points, and the + # k_new-th interpolation point is modified. + self._e_hess += self._i_hess[k_new] * np.outer(dir_old, dir_old) + self._i_hess[k_new] = 0.0 + + # Update the quadratic model. + const, grad, i_hess, ill_conditioned = self._get_model( + interpolation, + values_diff, + ) + self._const += const + self._grad += grad + self._i_hess += i_hess + return ill_conditioned + + def shift_x_base(self, interpolation, new_x_base): + """ + Shift the point around which the quadratic model is defined. + + Parameters + ---------- + interpolation : `cobyqa.models.Interpolation` + Previous interpolation set. + new_x_base : `numpy.ndarray`, shape (n,) + Point that will replace ``interpolation.x_base``. + """ + if self._debug: + assert new_x_base.shape == ( + self.n, + ), "The shape of `new_x_base` is not valid." + self._const = self(new_x_base, interpolation) + self._grad = self.grad(new_x_base, interpolation) + shift = new_x_base - interpolation.x_base + update = np.outer( + shift, + (interpolation.xpt - 0.5 * shift[:, np.newaxis]) @ self._i_hess, + ) + self._e_hess += update + update.T + + @staticmethod + def solve_systems(interpolation, rhs): + """ + Solve the interpolation systems. + + Parameters + ---------- + interpolation : `cobyqa.models.Interpolation` + Interpolation set. + rhs : `numpy.ndarray`, shape (npt + n + 1, m) + Right-hand side vectors of the ``m`` interpolation systems. + + Returns + ------- + `numpy.ndarray`, shape (npt + n + 1, m) + Solutions of the interpolation systems. + `numpy.ndarray`, shape (m, ) + Whether the interpolation systems are ill-conditioned. + + Raises + ------ + `numpy.linalg.LinAlgError` + If the interpolation systems are ill-defined. + """ + n, npt = interpolation.xpt.shape + assert ( + rhs.ndim == 2 and rhs.shape[0] == npt + n + 1 + ), "The shape of `rhs` is not valid." + + # Build the left-hand side matrix of the interpolation system. The + # matrix below stores diag(left_scaling) * W * diag(right_scaling), + # where W is the theoretical matrix of the interpolation system. The + # left and right scaling matrices are chosen to keep the elements in + # the matrix well-balanced. + a, right_scaling, eig = build_system(interpolation) + + # Build the solution. After a discussion with Mike Saunders and Alexis + # Montoison during their visit to the Hong Kong Polytechnic University + # in 2024, we decided to use the eigendecomposition of the symmetric + # matrix a. This is more stable than the previously employed LBL + # decomposition, and allows us to directly detect ill-conditioning of + # the system and to build the least-squares solution if necessary. + # Numerical experiments have shown that this strategy improves the + # performance of the solver. + rhs_scaled = rhs * right_scaling[:, np.newaxis] + if not (np.all(np.isfinite(a)) and np.all(np.isfinite(rhs_scaled))): + raise np.linalg.LinAlgError( + "The interpolation system is ill-defined." + ) + + # calculated in build_system + eig_values, eig_vectors = eig + + large_eig_values = np.abs(eig_values) > EPS + eig_vectors = eig_vectors[:, large_eig_values] + inv_eig_values = 1.0 / eig_values[large_eig_values] + ill_conditioned = ~np.all(large_eig_values, 0) + left_scaled_solutions = eig_vectors @ ( + (eig_vectors.T @ rhs_scaled) * inv_eig_values[:, np.newaxis] + ) + return ( + left_scaled_solutions * right_scaling[:, np.newaxis], + ill_conditioned, + ) + + @staticmethod + def _get_model(interpolation, values): + """ + Solve the interpolation system. + + Parameters + ---------- + interpolation : `cobyqa.models.Interpolation` + Interpolation set. + values : `numpy.ndarray`, shape (npt,) + Values of the interpolated function at the interpolation points. + + Returns + ------- + float + Constant term of the quadratic model. + `numpy.ndarray`, shape (n,) + Gradient of the quadratic model at ``interpolation.x_base``. + `numpy.ndarray`, shape (npt,) + Implicit Hessian matrix of the quadratic model. + + Raises + ------ + `numpy.linalg.LinAlgError` + If the interpolation system is ill-defined. + """ + assert values.shape == ( + interpolation.npt, + ), "The shape of `values` is not valid." + n, npt = interpolation.xpt.shape + x, ill_conditioned = Quadratic.solve_systems( + interpolation, + np.block( + [ + [ + values, + np.zeros(n + 1), + ] + ] + ).T, + ) + return x[npt, 0], x[npt + 1:, 0], x[:npt, 0], ill_conditioned + + +class Models: + """ + Models for a nonlinear optimization problem. + """ + + def __init__(self, pb, options, penalty): + """ + Initialize the models. + + Parameters + ---------- + pb : `cobyqa.problem.Problem` + Problem to be solved. + options : dict + Options of the solver. + penalty : float + Penalty parameter used to select the point in the filter to forward + to the callback function. + + Raises + ------ + `cobyqa.utils.MaxEvalError` + If the maximum number of evaluations is reached. + `cobyqa.utils.TargetSuccess` + If a nearly feasible point has been found with an objective + function value below the target. + `cobyqa.utils.FeasibleSuccess` + If a feasible point has been found for a feasibility problem. + `numpy.linalg.LinAlgError` + If the interpolation system is ill-defined. + """ + # Set the initial interpolation set. + self._debug = options[Options.DEBUG] + self._interpolation = Interpolation(pb, options) + + # Evaluate the nonlinear functions at the initial interpolation points. + x_eval = self.interpolation.point(0) + fun_init, cub_init, ceq_init = pb(x_eval, penalty) + self._fun_val = np.full(options[Options.NPT], np.nan) + self._cub_val = np.full((options[Options.NPT], cub_init.size), np.nan) + self._ceq_val = np.full((options[Options.NPT], ceq_init.size), np.nan) + for k in range(options[Options.NPT]): + if k >= options[Options.MAX_EVAL]: + raise MaxEvalError + if k == 0: + self.fun_val[k] = fun_init + self.cub_val[k, :] = cub_init + self.ceq_val[k, :] = ceq_init + else: + x_eval = self.interpolation.point(k) + self.fun_val[k], self.cub_val[k, :], self.ceq_val[k, :] = pb( + x_eval, + penalty, + ) + + # Stop the iterations if the problem is a feasibility problem and + # the current interpolation point is feasible. + if ( + pb.is_feasibility + and pb.maxcv( + self.interpolation.point(k), + self.cub_val[k, :], + self.ceq_val[k, :], + ) + <= options[Options.FEASIBILITY_TOL] + ): + raise FeasibleSuccess + + # Stop the iterations if the current interpolation point is nearly + # feasible and has an objective function value below the target. + if ( + self._fun_val[k] <= options[Options.TARGET] + and pb.maxcv( + self.interpolation.point(k), + self.cub_val[k, :], + self.ceq_val[k, :], + ) + <= options[Options.FEASIBILITY_TOL] + ): + raise TargetSuccess + + # Build the initial quadratic models. + self._fun = Quadratic( + self.interpolation, + self._fun_val, + options[Options.DEBUG], + ) + self._cub = np.empty(self.m_nonlinear_ub, dtype=Quadratic) + self._ceq = np.empty(self.m_nonlinear_eq, dtype=Quadratic) + for i in range(self.m_nonlinear_ub): + self._cub[i] = Quadratic( + self.interpolation, + self.cub_val[:, i], + options[Options.DEBUG], + ) + for i in range(self.m_nonlinear_eq): + self._ceq[i] = Quadratic( + self.interpolation, + self.ceq_val[:, i], + options[Options.DEBUG], + ) + if self._debug: + self._check_interpolation_conditions() + + @property + def n(self): + """ + Dimension of the problem. + + Returns + ------- + int + Dimension of the problem. + """ + return self.interpolation.n + + @property + def npt(self): + """ + Number of interpolation points. + + Returns + ------- + int + Number of interpolation points. + """ + return self.interpolation.npt + + @property + def m_nonlinear_ub(self): + """ + Number of nonlinear inequality constraints. + + Returns + ------- + int + Number of nonlinear inequality constraints. + """ + return self.cub_val.shape[1] + + @property + def m_nonlinear_eq(self): + """ + Number of nonlinear equality constraints. + + Returns + ------- + int + Number of nonlinear equality constraints. + """ + return self.ceq_val.shape[1] + + @property + def interpolation(self): + """ + Interpolation set. + + Returns + ------- + `cobyqa.models.Interpolation` + Interpolation set. + """ + return self._interpolation + + @property + def fun_val(self): + """ + Values of the objective function at the interpolation points. + + Returns + ------- + `numpy.ndarray`, shape (npt,) + Values of the objective function at the interpolation points. + """ + return self._fun_val + + @property + def cub_val(self): + """ + Values of the nonlinear inequality constraint functions at the + interpolation points. + + Returns + ------- + `numpy.ndarray`, shape (npt, m_nonlinear_ub) + Values of the nonlinear inequality constraint functions at the + interpolation points. + """ + return self._cub_val + + @property + def ceq_val(self): + """ + Values of the nonlinear equality constraint functions at the + interpolation points. + + Returns + ------- + `numpy.ndarray`, shape (npt, m_nonlinear_eq) + Values of the nonlinear equality constraint functions at the + interpolation points. + """ + return self._ceq_val + + def fun(self, x): + """ + Evaluate the quadratic model of the objective function at a given + point. + + Parameters + ---------- + x : `numpy.ndarray`, shape (n,) + Point at which to evaluate the quadratic model of the objective + function. + + Returns + ------- + float + Value of the quadratic model of the objective function at `x`. + """ + if self._debug: + assert x.shape == (self.n,), "The shape of `x` is not valid." + return self._fun(x, self.interpolation) + + def fun_grad(self, x): + """ + Evaluate the gradient of the quadratic model of the objective function + at a given point. + + Parameters + ---------- + x : `numpy.ndarray`, shape (n,) + Point at which to evaluate the gradient of the quadratic model of + the objective function. + + Returns + ------- + `numpy.ndarray`, shape (n,) + Gradient of the quadratic model of the objective function at `x`. + """ + if self._debug: + assert x.shape == (self.n,), "The shape of `x` is not valid." + return self._fun.grad(x, self.interpolation) + + def fun_hess(self): + """ + Evaluate the Hessian matrix of the quadratic model of the objective + function. + + Returns + ------- + `numpy.ndarray`, shape (n, n) + Hessian matrix of the quadratic model of the objective function. + """ + return self._fun.hess(self.interpolation) + + def fun_hess_prod(self, v): + """ + Evaluate the right product of the Hessian matrix of the quadratic model + of the objective function with a given vector. + + Parameters + ---------- + v : `numpy.ndarray`, shape (n,) + Vector with which the Hessian matrix of the quadratic model of the + objective function is multiplied from the right. + + Returns + ------- + `numpy.ndarray`, shape (n,) + Right product of the Hessian matrix of the quadratic model of the + objective function with `v`. + """ + if self._debug: + assert v.shape == (self.n,), "The shape of `v` is not valid." + return self._fun.hess_prod(v, self.interpolation) + + def fun_curv(self, v): + """ + Evaluate the curvature of the quadratic model of the objective function + along a given direction. + + Parameters + ---------- + v : `numpy.ndarray`, shape (n,) + Direction along which the curvature of the quadratic model of the + objective function is evaluated. + + Returns + ------- + float + Curvature of the quadratic model of the objective function along + `v`. + """ + if self._debug: + assert v.shape == (self.n,), "The shape of `v` is not valid." + return self._fun.curv(v, self.interpolation) + + def fun_alt_grad(self, x): + """ + Evaluate the gradient of the alternative quadratic model of the + objective function at a given point. + + Parameters + ---------- + x : `numpy.ndarray`, shape (n,) + Point at which to evaluate the gradient of the alternative + quadratic model of the objective function. + + Returns + ------- + `numpy.ndarray`, shape (n,) + Gradient of the alternative quadratic model of the objective + function at `x`. + + Raises + ------ + `numpy.linalg.LinAlgError` + If the interpolation system is ill-defined. + """ + if self._debug: + assert x.shape == (self.n,), "The shape of `x` is not valid." + model = Quadratic(self.interpolation, self.fun_val, self._debug) + return model.grad(x, self.interpolation) + + def cub(self, x, mask=None): + """ + Evaluate the quadratic models of the nonlinear inequality functions at + a given point. + + Parameters + ---------- + x : `numpy.ndarray`, shape (n,) + Point at which to evaluate the quadratic models of the nonlinear + inequality functions. + mask : `numpy.ndarray`, shape (m_nonlinear_ub,), optional + Mask of the quadratic models to consider. + + Returns + ------- + `numpy.ndarray` + Values of the quadratic model of the nonlinear inequality + functions. + """ + if self._debug: + assert x.shape == (self.n,), "The shape of `x` is not valid." + assert mask is None or mask.shape == ( + self.m_nonlinear_ub, + ), "The shape of `mask` is not valid." + return np.array( + [model(x, self.interpolation) for model in self._get_cub(mask)] + ) + + def cub_grad(self, x, mask=None): + """ + Evaluate the gradients of the quadratic models of the nonlinear + inequality functions at a given point. + + Parameters + ---------- + x : `numpy.ndarray`, shape (n,) + Point at which to evaluate the gradients of the quadratic models of + the nonlinear inequality functions. + mask : `numpy.ndarray`, shape (m_nonlinear_eq,), optional + Mask of the quadratic models to consider. + + Returns + ------- + `numpy.ndarray` + Gradients of the quadratic model of the nonlinear inequality + functions. + """ + if self._debug: + assert x.shape == (self.n,), "The shape of `x` is not valid." + assert mask is None or mask.shape == ( + self.m_nonlinear_ub, + ), "The shape of `mask` is not valid." + return np.reshape( + [model.grad(x, self.interpolation) + for model in self._get_cub(mask)], + (-1, self.n), + ) + + def cub_hess(self, mask=None): + """ + Evaluate the Hessian matrices of the quadratic models of the nonlinear + inequality functions. + + Parameters + ---------- + mask : `numpy.ndarray`, shape (m_nonlinear_ub,), optional + Mask of the quadratic models to consider. + + Returns + ------- + `numpy.ndarray` + Hessian matrices of the quadratic models of the nonlinear + inequality functions. + """ + if self._debug: + assert mask is None or mask.shape == ( + self.m_nonlinear_ub, + ), "The shape of `mask` is not valid." + return np.reshape( + [model.hess(self.interpolation) for model in self._get_cub(mask)], + (-1, self.n, self.n), + ) + + def cub_hess_prod(self, v, mask=None): + """ + Evaluate the right product of the Hessian matrices of the quadratic + models of the nonlinear inequality functions with a given vector. + + Parameters + ---------- + v : `numpy.ndarray`, shape (n,) + Vector with which the Hessian matrices of the quadratic models of + the nonlinear inequality functions are multiplied from the right. + mask : `numpy.ndarray`, shape (m_nonlinear_ub,), optional + Mask of the quadratic models to consider. + + Returns + ------- + `numpy.ndarray` + Right products of the Hessian matrices of the quadratic models of + the nonlinear inequality functions with `v`. + """ + if self._debug: + assert v.shape == (self.n,), "The shape of `v` is not valid." + assert mask is None or mask.shape == ( + self.m_nonlinear_ub, + ), "The shape of `mask` is not valid." + return np.reshape( + [ + model.hess_prod(v, self.interpolation) + for model in self._get_cub(mask) + ], + (-1, self.n), + ) + + def cub_curv(self, v, mask=None): + """ + Evaluate the curvature of the quadratic models of the nonlinear + inequality functions along a given direction. + + Parameters + ---------- + v : `numpy.ndarray`, shape (n,) + Direction along which the curvature of the quadratic models of the + nonlinear inequality functions is evaluated. + mask : `numpy.ndarray`, shape (m_nonlinear_ub,), optional + Mask of the quadratic models to consider. + + Returns + ------- + `numpy.ndarray` + Curvature of the quadratic models of the nonlinear inequality + functions along `v`. + """ + if self._debug: + assert v.shape == (self.n,), "The shape of `v` is not valid." + assert mask is None or mask.shape == ( + self.m_nonlinear_ub, + ), "The shape of `mask` is not valid." + return np.array( + [model.curv(v, self.interpolation) + for model in self._get_cub(mask)] + ) + + def ceq(self, x, mask=None): + """ + Evaluate the quadratic models of the nonlinear equality functions at a + given point. + + Parameters + ---------- + x : `numpy.ndarray`, shape (n,) + Point at which to evaluate the quadratic models of the nonlinear + equality functions. + mask : `numpy.ndarray`, shape (m_nonlinear_eq,), optional + Mask of the quadratic models to consider. + + Returns + ------- + `numpy.ndarray` + Values of the quadratic model of the nonlinear equality functions. + """ + if self._debug: + assert x.shape == (self.n,), "The shape of `x` is not valid." + assert mask is None or mask.shape == ( + self.m_nonlinear_eq, + ), "The shape of `mask` is not valid." + return np.array( + [model(x, self.interpolation) for model in self._get_ceq(mask)] + ) + + def ceq_grad(self, x, mask=None): + """ + Evaluate the gradients of the quadratic models of the nonlinear + equality functions at a given point. + + Parameters + ---------- + x : `numpy.ndarray`, shape (n,) + Point at which to evaluate the gradients of the quadratic models of + the nonlinear equality functions. + mask : `numpy.ndarray`, shape (m_nonlinear_eq,), optional + Mask of the quadratic models to consider. + + Returns + ------- + `numpy.ndarray` + Gradients of the quadratic model of the nonlinear equality + functions. + """ + if self._debug: + assert x.shape == (self.n,), "The shape of `x` is not valid." + assert mask is None or mask.shape == ( + self.m_nonlinear_eq, + ), "The shape of `mask` is not valid." + return np.reshape( + [model.grad(x, self.interpolation) + for model in self._get_ceq(mask)], + (-1, self.n), + ) + + def ceq_hess(self, mask=None): + """ + Evaluate the Hessian matrices of the quadratic models of the nonlinear + equality functions. + + Parameters + ---------- + mask : `numpy.ndarray`, shape (m_nonlinear_eq,), optional + Mask of the quadratic models to consider. + + Returns + ------- + `numpy.ndarray` + Hessian matrices of the quadratic models of the nonlinear equality + functions. + """ + if self._debug: + assert mask is None or mask.shape == ( + self.m_nonlinear_eq, + ), "The shape of `mask` is not valid." + return np.reshape( + [model.hess(self.interpolation) for model in self._get_ceq(mask)], + (-1, self.n, self.n), + ) + + def ceq_hess_prod(self, v, mask=None): + """ + Evaluate the right product of the Hessian matrices of the quadratic + models of the nonlinear equality functions with a given vector. + + Parameters + ---------- + v : `numpy.ndarray`, shape (n,) + Vector with which the Hessian matrices of the quadratic models of + the nonlinear equality functions are multiplied from the right. + mask : `numpy.ndarray`, shape (m_nonlinear_eq,), optional + Mask of the quadratic models to consider. + + Returns + ------- + `numpy.ndarray` + Right products of the Hessian matrices of the quadratic models of + the nonlinear equality functions with `v`. + """ + if self._debug: + assert v.shape == (self.n,), "The shape of `v` is not valid." + assert mask is None or mask.shape == ( + self.m_nonlinear_eq, + ), "The shape of `mask` is not valid." + return np.reshape( + [ + model.hess_prod(v, self.interpolation) + for model in self._get_ceq(mask) + ], + (-1, self.n), + ) + + def ceq_curv(self, v, mask=None): + """ + Evaluate the curvature of the quadratic models of the nonlinear + equality functions along a given direction. + + Parameters + ---------- + v : `numpy.ndarray`, shape (n,) + Direction along which the curvature of the quadratic models of the + nonlinear equality functions is evaluated. + mask : `numpy.ndarray`, shape (m_nonlinear_eq,), optional + Mask of the quadratic models to consider. + + Returns + ------- + `numpy.ndarray` + Curvature of the quadratic models of the nonlinear equality + functions along `v`. + """ + if self._debug: + assert v.shape == (self.n,), "The shape of `v` is not valid." + assert mask is None or mask.shape == ( + self.m_nonlinear_eq, + ), "The shape of `mask` is not valid." + return np.array( + [model.curv(v, self.interpolation) + for model in self._get_ceq(mask)] + ) + + def reset_models(self): + """ + Set the quadratic models of the objective function, nonlinear + inequality constraints, and nonlinear equality constraints to the + alternative quadratic models. + + Raises + ------ + `numpy.linalg.LinAlgError` + If the interpolation system is ill-defined. + """ + self._fun = Quadratic(self.interpolation, self.fun_val, self._debug) + for i in range(self.m_nonlinear_ub): + self._cub[i] = Quadratic( + self.interpolation, + self.cub_val[:, i], + self._debug, + ) + for i in range(self.m_nonlinear_eq): + self._ceq[i] = Quadratic( + self.interpolation, + self.ceq_val[:, i], + self._debug, + ) + if self._debug: + self._check_interpolation_conditions() + + def update_interpolation(self, k_new, x_new, fun_val, cub_val, ceq_val): + """ + Update the interpolation set. + + This method updates the interpolation set by replacing the `knew`-th + interpolation point with `xnew`. It also updates the function values + and the quadratic models. + + Parameters + ---------- + k_new : int + Index of the updated interpolation point. + x_new : `numpy.ndarray`, shape (n,) + New interpolation point. Its value is interpreted as relative to + the origin, not the base point. + fun_val : float + Value of the objective function at `x_new`. + Objective function value at `x_new`. + cub_val : `numpy.ndarray`, shape (m_nonlinear_ub,) + Values of the nonlinear inequality constraints at `x_new`. + ceq_val : `numpy.ndarray`, shape (m_nonlinear_eq,) + Values of the nonlinear equality constraints at `x_new`. + + Raises + ------ + `numpy.linalg.LinAlgError` + If the interpolation system is ill-defined. + """ + if self._debug: + assert 0 <= k_new < self.npt, "The index `k_new` is not valid." + assert x_new.shape == (self.n,), \ + "The shape of `x_new` is not valid." + assert isinstance(fun_val, float), \ + "The function value is not valid." + assert cub_val.shape == ( + self.m_nonlinear_ub, + ), "The shape of `cub_val` is not valid." + assert ceq_val.shape == ( + self.m_nonlinear_eq, + ), "The shape of `ceq_val` is not valid." + + # Compute the updates in the interpolation conditions. + fun_diff = np.zeros(self.npt) + cub_diff = np.zeros(self.cub_val.shape) + ceq_diff = np.zeros(self.ceq_val.shape) + fun_diff[k_new] = fun_val - self.fun(x_new) + cub_diff[k_new, :] = cub_val - self.cub(x_new) + ceq_diff[k_new, :] = ceq_val - self.ceq(x_new) + + # Update the function values. + self.fun_val[k_new] = fun_val + self.cub_val[k_new, :] = cub_val + self.ceq_val[k_new, :] = ceq_val + + # Update the interpolation set. + dir_old = np.copy(self.interpolation.xpt[:, k_new]) + self.interpolation.xpt[:, k_new] = x_new - self.interpolation.x_base + + # Update the quadratic models. + ill_conditioned = self._fun.update( + self.interpolation, + k_new, + dir_old, + fun_diff, + ) + for i in range(self.m_nonlinear_ub): + ill_conditioned = ill_conditioned or self._cub[i].update( + self.interpolation, + k_new, + dir_old, + cub_diff[:, i], + ) + for i in range(self.m_nonlinear_eq): + ill_conditioned = ill_conditioned or self._ceq[i].update( + self.interpolation, + k_new, + dir_old, + ceq_diff[:, i], + ) + if self._debug: + self._check_interpolation_conditions() + return ill_conditioned + + def determinants(self, x_new, k_new=None): + """ + Compute the normalized determinants of the new interpolation systems. + + Parameters + ---------- + x_new : `numpy.ndarray`, shape (n,) + New interpolation point. Its value is interpreted as relative to + the origin, not the base point. + k_new : int, optional + Index of the updated interpolation point. If `k_new` is not + specified, all the possible determinants are computed. + + Returns + ------- + {float, `numpy.ndarray`, shape (npt,)} + Determinant(s) of the new interpolation system. + + Raises + ------ + `numpy.linalg.LinAlgError` + If the interpolation system is ill-defined. + + Notes + ----- + The determinants are normalized by the determinant of the current + interpolation system. For stability reasons, the calculations are done + using the formula (2.12) in [1]_. + + References + ---------- + .. [1] M. J. D. Powell. On updating the inverse of a KKT matrix. + Technical Report DAMTP 2004/NA01, Department of Applied Mathematics + and Theoretical Physics, University of Cambridge, Cambridge, UK, + 2004. + """ + if self._debug: + assert x_new.shape == (self.n,), \ + "The shape of `x_new` is not valid." + assert ( + k_new is None or 0 <= k_new < self.npt + ), "The index `k_new` is not valid." + + # Compute the values independent of k_new. + shift = x_new - self.interpolation.x_base + new_col = np.empty((self.npt + self.n + 1, 1)) + new_col[: self.npt, 0] = ( + 0.5 * (self.interpolation.xpt.T @ shift) ** 2.0) + new_col[self.npt, 0] = 1.0 + new_col[self.npt + 1:, 0] = shift + inv_new_col = Quadratic.solve_systems(self.interpolation, new_col)[0] + beta = 0.5 * (shift @ shift) ** 2.0 - new_col[:, 0] @ inv_new_col[:, 0] + + # Compute the values that depend on k. + if k_new is None: + coord_vec = np.eye(self.npt + self.n + 1, self.npt) + alpha = np.diag( + Quadratic.solve_systems( + self.interpolation, + coord_vec, + )[0] + ) + tau = inv_new_col[: self.npt, 0] + else: + coord_vec = np.eye(self.npt + self.n + 1, 1, -k_new) + alpha = Quadratic.solve_systems( + self.interpolation, + coord_vec, + )[ + 0 + ][k_new, 0] + tau = inv_new_col[k_new, 0] + return alpha * beta + tau**2.0 + + def shift_x_base(self, new_x_base, options): + """ + Shift the base point without changing the interpolation set. + + Parameters + ---------- + new_x_base : `numpy.ndarray`, shape (n,) + New base point. + options : dict + Options of the solver. + """ + if self._debug: + assert new_x_base.shape == ( + self.n, + ), "The shape of `new_x_base` is not valid." + + # Update the models. + self._fun.shift_x_base(self.interpolation, new_x_base) + for model in self._cub: + model.shift_x_base(self.interpolation, new_x_base) + for model in self._ceq: + model.shift_x_base(self.interpolation, new_x_base) + + # Update the base point and the interpolation points. + shift = new_x_base - self.interpolation.x_base + self.interpolation.x_base += shift + self.interpolation.xpt -= shift[:, np.newaxis] + if options[Options.DEBUG]: + self._check_interpolation_conditions() + + def _get_cub(self, mask=None): + """ + Get the quadratic models of the nonlinear inequality constraints. + + Parameters + ---------- + mask : `numpy.ndarray`, shape (m_nonlinear_ub,), optional + Mask of the quadratic models to return. + + Returns + ------- + `numpy.ndarray` + Quadratic models of the nonlinear inequality constraints. + """ + return self._cub if mask is None else self._cub[mask] + + def _get_ceq(self, mask=None): + """ + Get the quadratic models of the nonlinear equality constraints. + + Parameters + ---------- + mask : `numpy.ndarray`, shape (m_nonlinear_eq,), optional + Mask of the quadratic models to return. + + Returns + ------- + `numpy.ndarray` + Quadratic models of the nonlinear equality constraints. + """ + return self._ceq if mask is None else self._ceq[mask] + + def _check_interpolation_conditions(self): + """ + Check the interpolation conditions of all quadratic models. + """ + error_fun = 0.0 + error_cub = 0.0 + error_ceq = 0.0 + for k in range(self.npt): + error_fun = np.max( + [ + error_fun, + np.abs( + self.fun(self.interpolation.point(k)) - self.fun_val[k] + ), + ] + ) + error_cub = np.max( + np.abs( + self.cub(self.interpolation.point(k)) - self.cub_val[k, :] + ), + initial=error_cub, + ) + error_ceq = np.max( + np.abs( + self.ceq(self.interpolation.point(k)) - self.ceq_val[k, :] + ), + initial=error_ceq, + ) + tol = 10.0 * np.sqrt(EPS) * max(self.n, self.npt) + if error_fun > tol * np.max(np.abs(self.fun_val), initial=1.0): + warnings.warn( + "The interpolation conditions for the objective function are " + "not satisfied.", + RuntimeWarning, + 2, + ) + if error_cub > tol * np.max(np.abs(self.cub_val), initial=1.0): + warnings.warn( + "The interpolation conditions for the inequality constraint " + "function are not satisfied.", + RuntimeWarning, + 2, + ) + if error_ceq > tol * np.max(np.abs(self.ceq_val), initial=1.0): + warnings.warn( + "The interpolation conditions for the equality constraint " + "function are not satisfied.", + RuntimeWarning, + 2, + ) diff --git a/shared/package-files/70/70085e739d4396a2187c35d719aba6384dc7a9bddc15633552c50adcafe50cff/teststring_4.2c_SOL2.mat b/shared/package-files/70/70085e739d4396a2187c35d719aba6384dc7a9bddc15633552c50adcafe50cff/teststring_4.2c_SOL2.mat new file mode 100644 index 0000000000000000000000000000000000000000..137561e1f636d7b08959e43e969a6984eb7a3b37 Binary files /dev/null and b/shared/package-files/70/70085e739d4396a2187c35d719aba6384dc7a9bddc15633552c50adcafe50cff/teststring_4.2c_SOL2.mat differ diff --git a/shared/package-files/70/700b8822aeb683a3c9b0bfc6e73d7a8f8bf96931aa60333a8faf64c9170f22c3/_struct.pyi b/shared/package-files/70/700b8822aeb683a3c9b0bfc6e73d7a8f8bf96931aa60333a8faf64c9170f22c3/_struct.pyi new file mode 100644 index 0000000000000000000000000000000000000000..316307eaabca681b583f7017a15b8c0b89a7f8fc --- /dev/null +++ b/shared/package-files/70/700b8822aeb683a3c9b0bfc6e73d7a8f8bf96931aa60333a8faf64c9170f22c3/_struct.pyi @@ -0,0 +1,19 @@ +from typing import Any, AnyStr, Tuple + +class error(Exception): ... + +class Struct(object): + size: int + format: str + def __init__(self, fmt: str) -> None: ... + def pack_into(self, buffer: bytearray, offset: int, obj: Any) -> None: ... + def pack(self, *args) -> str: ... + def unpack(self, s: str) -> Tuple[Any, ...]: ... + def unpack_from(self, buffer: bytearray, offset: int = ...) -> Tuple[Any, ...]: ... + +def _clearcache() -> None: ... +def calcsize(fmt: str) -> int: ... +def pack(fmt: AnyStr, obj: Any) -> str: ... +def pack_into(fmt: AnyStr, buffer: bytearray, offset: int, obj: Any) -> None: ... +def unpack(fmt: AnyStr, data: str) -> Tuple[Any, ...]: ... +def unpack_from(fmt: AnyStr, buffer: bytearray, offset: int = ...) -> Tuple[Any, ...]: ... diff --git a/shared/package-files/70/700bf6cdeceb4c9126f49cca3d5fe9997cd972073308afd569827899d356dc53/filters.py b/shared/package-files/70/700bf6cdeceb4c9126f49cca3d5fe9997cd972073308afd569827899d356dc53/filters.py new file mode 100644 index 0000000000000000000000000000000000000000..e16d9d279a9585b2454c46ee09cf22143de833a6 --- /dev/null +++ b/shared/package-files/70/700bf6cdeceb4c9126f49cca3d5fe9997cd972073308afd569827899d356dc53/filters.py @@ -0,0 +1,27 @@ +# This file is not meant for public use and will be removed in SciPy v2.0.0. +# Use the `scipy.ndimage` namespace for importing the functions +# included below. + +from scipy._lib.deprecation import _sub_module_deprecation + + +__all__ = [ # noqa: F822 + 'correlate1d', 'convolve1d', 'gaussian_filter1d', + 'gaussian_filter', 'prewitt', 'sobel', 'generic_laplace', + 'laplace', 'gaussian_laplace', 'generic_gradient_magnitude', + 'gaussian_gradient_magnitude', 'correlate', 'convolve', + 'uniform_filter1d', 'uniform_filter', 'minimum_filter1d', + 'maximum_filter1d', 'minimum_filter', 'maximum_filter', + 'rank_filter', 'median_filter', 'percentile_filter', + 'generic_filter1d', 'generic_filter' +] + + +def __dir__(): + return __all__ + + +def __getattr__(name): + return _sub_module_deprecation(sub_package='ndimage', module='filters', + private_modules=['_filters'], all=__all__, + attribute=name) diff --git a/shared/package-files/70/7010a31e541f32d2be721e2de348df75c9b36876a3ed304877fc0abda1d37a58/validation b/shared/package-files/70/7010a31e541f32d2be721e2de348df75c9b36876a3ed304877fc0abda1d37a58/validation new file mode 100644 index 0000000000000000000000000000000000000000..606b87ba2ec213d63b9e2035a6acc4edcb4b8357 --- /dev/null +++ b/shared/package-files/70/7010a31e541f32d2be721e2de348df75c9b36876a3ed304877fc0abda1d37a58/validation @@ -0,0 +1,98 @@ +{ + "$schema": "https://json-schema.org/draft/2020-12/schema", + "$id": "https://json-schema.org/draft/2020-12/meta/validation", + "$vocabulary": { + "https://json-schema.org/draft/2020-12/vocab/validation": true + }, + "$dynamicAnchor": "meta", + + "title": "Validation vocabulary meta-schema", + "type": ["object", "boolean"], + "properties": { + "type": { + "anyOf": [ + { "$ref": "#/$defs/simpleTypes" }, + { + "type": "array", + "items": { "$ref": "#/$defs/simpleTypes" }, + "minItems": 1, + "uniqueItems": true + } + ] + }, + "const": true, + "enum": { + "type": "array", + "items": true + }, + "multipleOf": { + "type": "number", + "exclusiveMinimum": 0 + }, + "maximum": { + "type": "number" + }, + "exclusiveMaximum": { + "type": "number" + }, + "minimum": { + "type": "number" + }, + "exclusiveMinimum": { + "type": "number" + }, + "maxLength": { "$ref": "#/$defs/nonNegativeInteger" }, + "minLength": { "$ref": "#/$defs/nonNegativeIntegerDefault0" }, + "pattern": { + "type": "string", + "format": "regex" + }, + "maxItems": { "$ref": "#/$defs/nonNegativeInteger" }, + "minItems": { "$ref": "#/$defs/nonNegativeIntegerDefault0" }, + "uniqueItems": { + "type": "boolean", + "default": false + }, + "maxContains": { "$ref": "#/$defs/nonNegativeInteger" }, + "minContains": { + "$ref": "#/$defs/nonNegativeInteger", + "default": 1 + }, + "maxProperties": { "$ref": "#/$defs/nonNegativeInteger" }, + "minProperties": { "$ref": "#/$defs/nonNegativeIntegerDefault0" }, + "required": { "$ref": "#/$defs/stringArray" }, + "dependentRequired": { + "type": "object", + "additionalProperties": { + "$ref": "#/$defs/stringArray" + } + } + }, + "$defs": { + "nonNegativeInteger": { + "type": "integer", + "minimum": 0 + }, + "nonNegativeIntegerDefault0": { + "$ref": "#/$defs/nonNegativeInteger", + "default": 0 + }, + "simpleTypes": { + "enum": [ + "array", + "boolean", + "integer", + "null", + "number", + "object", + "string" + ] + }, + "stringArray": { + "type": "array", + "items": { "type": "string" }, + "uniqueItems": true, + "default": [] + } + } +} diff --git a/shared/package-files/70/70119a0f29cb2963949a29029fb6e6f5e82fe3216eedc5bc4cd408614ab24f2c/lutkepohl2.dta b/shared/package-files/70/70119a0f29cb2963949a29029fb6e6f5e82fe3216eedc5bc4cd408614ab24f2c/lutkepohl2.dta new file mode 100644 index 0000000000000000000000000000000000000000..31fe5e2996e6f269569d41a41c2fd52494f13e12 Binary files /dev/null and b/shared/package-files/70/70119a0f29cb2963949a29029fb6e6f5e82fe3216eedc5bc4cd408614ab24f2c/lutkepohl2.dta differ diff --git a/shared/package-files/70/7012f100215d064fea90e8ed063fc847afefa24ed5b8d3a80f4d52a4741fc3c6/test_magic.py b/shared/package-files/70/7012f100215d064fea90e8ed063fc847afefa24ed5b8d3a80f4d52a4741fc3c6/test_magic.py new file mode 100644 index 0000000000000000000000000000000000000000..da998fa0cbfda8252934510507940f1f722245c8 --- /dev/null +++ b/shared/package-files/70/7012f100215d064fea90e8ed063fc847afefa24ed5b8d3a80f4d52a4741fc3c6/test_magic.py @@ -0,0 +1,1548 @@ +# -*- coding: utf-8 -*- +"""Tests for various magic functions.""" + +import gc +import io +import os +import re +import shlex +import sys +import warnings +from importlib import invalidate_caches +from io import StringIO +from pathlib import Path +from textwrap import dedent +from unittest import TestCase, mock + +import pytest + +from IPython import get_ipython +from IPython.core import magic +from IPython.core.error import UsageError +from IPython.core.magic import ( + Magics, + cell_magic, + line_magic, + magics_class, + register_cell_magic, + register_line_magic, +) +from IPython.core.magics import code, execution, logging, osm, script +from IPython.testing import decorators as dec +from IPython.testing import tools as tt +from IPython.utils.io import capture_output +from IPython.utils.process import find_cmd +from IPython.utils.tempdir import TemporaryDirectory, TemporaryWorkingDirectory +from IPython.utils.syspathcontext import prepended_to_syspath + +from .test_debugger import PdbTestInput + +from tempfile import NamedTemporaryFile + +@magic.magics_class +class DummyMagics(magic.Magics): pass + +def test_extract_code_ranges(): + instr = "1 3 5-6 7-9 10:15 17: :10 10- -13 :" + expected = [ + (0, 1), + (2, 3), + (4, 6), + (6, 9), + (9, 14), + (16, None), + (None, 9), + (9, None), + (None, 13), + (None, None), + ] + actual = list(code.extract_code_ranges(instr)) + assert actual == expected + +def test_extract_symbols(): + source = """import foo\na = 10\ndef b():\n return 42\n\n\nclass A: pass\n\n\n""" + symbols_args = ["a", "b", "A", "A,b", "A,a", "z"] + expected = [([], ['a']), + (["def b():\n return 42\n"], []), + (["class A: pass\n"], []), + (["class A: pass\n", "def b():\n return 42\n"], []), + (["class A: pass\n"], ['a']), + ([], ['z'])] + for symbols, exp in zip(symbols_args, expected): + assert code.extract_symbols(source, symbols) == exp + + +def test_extract_symbols_raises_exception_with_non_python_code(): + source = ("=begin A Ruby program :)=end\n" + "def hello\n" + "puts 'Hello world'\n" + "end") + with pytest.raises(SyntaxError): + code.extract_symbols(source, "hello") + + +def test_magic_not_found(): + # magic not found raises UsageError + with pytest.raises(UsageError): + _ip.run_line_magic("doesntexist", "") + + # ensure result isn't success when a magic isn't found + result = _ip.run_cell('%doesntexist') + assert isinstance(result.error_in_exec, UsageError) + + +def test_cell_magic_not_found(): + # magic not found raises UsageError + with pytest.raises(UsageError): + _ip.run_cell_magic('doesntexist', 'line', 'cell') + + # ensure result isn't success when a magic isn't found + result = _ip.run_cell('%%doesntexist') + assert isinstance(result.error_in_exec, UsageError) + + +def test_magic_error_status(): + def fail(shell): + 1/0 + _ip.register_magic_function(fail) + result = _ip.run_cell('%fail') + assert isinstance(result.error_in_exec, ZeroDivisionError) + + +def test_config(): + """ test that config magic does not raise + can happen if Configurable init is moved too early into + Magics.__init__ as then a Config object will be registered as a + magic. + """ + ## should not raise. + _ip.run_line_magic("config", "") + + +def test_config_available_configs(): + """ test that config magic prints available configs in unique and + sorted order. """ + with capture_output() as captured: + _ip.run_line_magic("config", "") + + stdout = captured.stdout + config_classes = stdout.strip().split('\n')[1:] + assert config_classes == sorted(set(config_classes)) + +def test_config_print_class(): + """ test that config with a classname prints the class's options. """ + with capture_output() as captured: + _ip.run_line_magic("config", "TerminalInteractiveShell") + + stdout = captured.stdout + assert re.match( + "TerminalInteractiveShell.* options", stdout.splitlines()[0] + ), f"{stdout}\n\n1st line of stdout not like 'TerminalInteractiveShell.* options'" + + +def test_rehashx(): + # clear up everything + _ip.alias_manager.clear_aliases() + del _ip.db['syscmdlist'] + + _ip.run_line_magic("rehashx", "") + # Practically ALL ipython development systems will have more than 10 aliases + + assert len(_ip.alias_manager.aliases) > 10 + for name, cmd in _ip.alias_manager.aliases: + # we must strip dots from alias names + assert "." not in name + + # rehashx must fill up syscmdlist + scoms = _ip.db['syscmdlist'] + assert len(scoms) > 10 + + +def test_magic_parse_options(): + """Test that we don't mangle paths when parsing magic options.""" + ip = get_ipython() + path = 'c:\\x' + m = DummyMagics(ip) + opts = m.parse_options('-f %s' % path,'f:')[0] + # argv splitting is os-dependent + if os.name == 'posix': + expected = 'c:x' + else: + expected = path + assert opts["f"] == expected + + +def test_magic_parse_long_options(): + """Magic.parse_options can handle --foo=bar long options""" + ip = get_ipython() + m = DummyMagics(ip) + opts, _ = m.parse_options("--foo --bar=bubble", "a", "foo", "bar=") + assert "foo" in opts + assert "bar" in opts + assert opts["bar"] == "bubble" + + +def doctest_hist_f(): + """Test %hist -f with temporary filename. + + In [9]: import tempfile + + In [10]: tfile = tempfile.mktemp('.py','tmp-ipython-') + + In [11]: %hist -nl -f $tfile 3 + + In [13]: import os; os.unlink(tfile) + """ + + +def doctest_hist_op(): + """Test %hist -op + + In [1]: class b(float): + ...: pass + ...: + + In [2]: class s(object): + ...: def __str__(self): + ...: return 's' + ...: + + In [3]: + + In [4]: class r(b): + ...: def __repr__(self): + ...: return 'r' + ...: + + In [5]: class sr(s,r): pass + ...: + + In [6]: + + In [7]: bb=b() + + In [8]: ss=s() + + In [9]: rr=r() + + In [10]: ssrr=sr() + + In [11]: 4.5 + Out[11]: 4.5 + + In [12]: str(ss) + Out[12]: 's' + + In [13]: + + In [14]: %hist -op + >>> class b: + ... pass + ... + >>> class s(b): + ... def __str__(self): + ... return 's' + ... + >>> + >>> class r(b): + ... def __repr__(self): + ... return 'r' + ... + >>> class sr(s,r): pass + >>> + >>> bb=b() + >>> ss=s() + >>> rr=r() + >>> ssrr=sr() + >>> 4.5 + 4.5 + >>> str(ss) + 's' + >>> + """ + +def test_hist_pof(): + ip = get_ipython() + ip.run_cell("1+2", store_history=True) + #raise Exception(ip.history_manager.session_number) + #raise Exception(list(ip.history_manager._get_range_session())) + with TemporaryDirectory() as td: + tf = os.path.join(td, 'hist.py') + ip.run_line_magic('history', '-pof %s' % tf) + assert os.path.isfile(tf) + + +def test_macro(): + ip = get_ipython() + ip.history_manager.reset() # Clear any existing history. + cmds = ["a=1", "def b():\n return a**2", "print(a,b())"] + for i, cmd in enumerate(cmds, start=1): + ip.history_manager.store_inputs(i, cmd) + ip.run_line_magic("macro", "test 1-3") + assert ip.user_ns["test"].value == "\n".join(cmds) + "\n" + + # List macros + assert "test" in ip.run_line_magic("macro", "") + + +def test_macro_run(): + """Test that we can run a multi-line macro successfully.""" + ip = get_ipython() + ip.history_manager.reset() + cmds = ["a=10", "a+=1", "print(a)", "%macro test 2-3"] + for cmd in cmds: + ip.run_cell(cmd, store_history=True) + assert ip.user_ns["test"].value == "a+=1\nprint(a)\n" + with tt.AssertPrints("12"): + ip.run_cell("test") + with tt.AssertPrints("13"): + ip.run_cell("test") + + +def test_magic_magic(): + """Test %magic""" + ip = get_ipython() + with capture_output() as captured: + ip.run_line_magic("magic", "") + + stdout = captured.stdout + assert "%magic" in stdout + assert "IPython" in stdout + assert "Available" in stdout + + +@dec.skipif_not_numpy +def test_numpy_reset_array_undec(): + "Test '%reset array' functionality" + _ip.ex("import numpy as np") + _ip.ex("a = np.empty(2)") + assert "a" in _ip.user_ns + _ip.run_line_magic("reset", "-f array") + assert "a" not in _ip.user_ns + + +def test_reset_out(): + "Test '%reset out' magic" + _ip.run_cell("parrot = 'dead'", store_history=True) + # test '%reset -f out', make an Out prompt + _ip.run_cell("parrot", store_history=True) + assert "dead" in [_ip.user_ns[x] for x in ("_", "__", "___")] + _ip.run_line_magic("reset", "-f out") + assert "dead" not in [_ip.user_ns[x] for x in ("_", "__", "___")] + assert len(_ip.user_ns["Out"]) == 0 + + +def test_reset_in(): + "Test '%reset in' magic" + # test '%reset -f in' + _ip.run_cell("parrot", store_history=True) + assert "parrot" in [_ip.user_ns[x] for x in ("_i", "_ii", "_iii")] + _ip.run_line_magic("reset", "-f in") + assert "parrot" not in [_ip.user_ns[x] for x in ("_i", "_ii", "_iii")] + assert len(set(_ip.user_ns["In"])) == 1 + + +def test_reset_dhist(): + "Test '%reset dhist' magic" + _ip.run_cell("tmp = [d for d in _dh]") # copy before clearing + _ip.run_line_magic("cd", os.path.dirname(pytest.__file__)) + _ip.run_line_magic("cd", "-") + assert len(_ip.user_ns["_dh"]) > 0 + _ip.run_line_magic("reset", "-f dhist") + assert len(_ip.user_ns["_dh"]) == 0 + _ip.run_cell("_dh = [d for d in tmp]") # restore + + +def test_reset_in_length(): + "Test that '%reset in' preserves In[] length" + _ip.run_cell("print 'foo'") + _ip.run_cell("reset -f in") + assert len(_ip.user_ns["In"]) == _ip.displayhook.prompt_count + 1 + + +class TestResetErrors(TestCase): + + def test_reset_redefine(self): + + @magics_class + class KernelMagics(Magics): + @line_magic + def less(self, shell): pass + + _ip.register_magics(KernelMagics) + + with self.assertLogs() as cm: + # hack, we want to just capture logs, but assertLogs fails if not + # logs get produce. + # so log one things we ignore. + import logging as log_mod + log = log_mod.getLogger() + log.info('Nothing') + # end hack. + _ip.run_cell("reset -f") + + assert len(cm.output) == 1 + for out in cm.output: + assert "Invalid alias" not in out + +def test_tb_syntaxerror(): + """test %tb after a SyntaxError""" + ip = get_ipython() + ip.run_cell("for") + + # trap and validate stdout + save_stdout = sys.stdout + try: + sys.stdout = StringIO() + ip.run_cell("%tb") + out = sys.stdout.getvalue() + finally: + sys.stdout = save_stdout + # trim output, and only check the last line + last_line = out.rstrip().splitlines()[-1].strip() + assert last_line == "SyntaxError: invalid syntax" + + +def test_time(): + ip = get_ipython() + + with tt.AssertPrints("Wall time: "): + ip.run_cell("%time None") + + ip.run_cell("def f(kmjy):\n" + " %time print (2*kmjy)") + + with tt.AssertPrints("Wall time: "): + with tt.AssertPrints("hihi", suppress=False): + ip.run_cell("f('hi')") + + +# ';' at the end of %time prevents instruction value to be printed. +# This tests fix for #13837. +def test_time_no_output_with_semicolon(): + ip = get_ipython() + + # Test %time cases + with tt.AssertPrints(" 123456"): + with tt.AssertPrints("Wall time: ", suppress=False): + with tt.AssertPrints("CPU times: ", suppress=False): + ip.run_cell("%time 123000+456") + + with tt.AssertNotPrints(" 123456"): + with tt.AssertPrints("Wall time: ", suppress=False): + with tt.AssertPrints("CPU times: ", suppress=False): + ip.run_cell("%time 123000+456;") + + with tt.AssertPrints(" 123456"): + with tt.AssertPrints("Wall time: ", suppress=False): + with tt.AssertPrints("CPU times: ", suppress=False): + ip.run_cell("%time 123000+456 # Comment") + + with tt.AssertNotPrints(" 123456"): + with tt.AssertPrints("Wall time: ", suppress=False): + with tt.AssertPrints("CPU times: ", suppress=False): + ip.run_cell("%time 123000+456; # Comment") + + with tt.AssertPrints(" 123456"): + with tt.AssertPrints("Wall time: ", suppress=False): + with tt.AssertPrints("CPU times: ", suppress=False): + ip.run_cell("%time 123000+456 # ;Comment") + + # Test %%time cases + with tt.AssertPrints("123456"): + with tt.AssertPrints("Wall time: ", suppress=False): + with tt.AssertPrints("CPU times: ", suppress=False): + ip.run_cell("%%time\n123000+456\n\n\n") + + with tt.AssertNotPrints("123456"): + with tt.AssertPrints("Wall time: ", suppress=False): + with tt.AssertPrints("CPU times: ", suppress=False): + ip.run_cell("%%time\n123000+456;\n\n\n") + + with tt.AssertPrints("123456"): + with tt.AssertPrints("Wall time: ", suppress=False): + with tt.AssertPrints("CPU times: ", suppress=False): + ip.run_cell("%%time\n123000+456 # Comment\n\n\n") + + with tt.AssertNotPrints("123456"): + with tt.AssertPrints("Wall time: ", suppress=False): + with tt.AssertPrints("CPU times: ", suppress=False): + ip.run_cell("%%time\n123000+456; # Comment\n\n\n") + + with tt.AssertPrints("123456"): + with tt.AssertPrints("Wall time: ", suppress=False): + with tt.AssertPrints("CPU times: ", suppress=False): + ip.run_cell("%%time\n123000+456 # ;Comment\n\n\n") + + +def test_time_last_not_expression(): + ip.run_cell("%%time\n" + "var_1 = 1\n" + "var_2 = 2\n") + assert ip.user_ns['var_1'] == 1 + del ip.user_ns['var_1'] + assert ip.user_ns['var_2'] == 2 + del ip.user_ns['var_2'] + + +@dec.skip_win32 +def test_time2(): + ip = get_ipython() + + with tt.AssertPrints("CPU times: user "): + ip.run_cell("%time None") + +def test_time3(): + """Erroneous magic function calls, issue gh-3334""" + ip = get_ipython() + ip.user_ns.pop('run', None) + + with tt.AssertNotPrints("not found", channel='stderr'): + ip.run_cell("%%time\n" + "run = 0\n" + "run += 1") + +def test_multiline_time(): + """Make sure last statement from time return a value.""" + ip = get_ipython() + ip.user_ns.pop('run', None) + + ip.run_cell( + dedent( + """\ + %%time + a = "ho" + b = "hey" + a+b + """ + ) + ) + assert ip.user_ns_hidden["_"] == "hohey" + + +def test_time_local_ns(): + """ + Test that local_ns is actually global_ns when running a cell magic + """ + ip = get_ipython() + ip.run_cell("%%time\n" "myvar = 1") + assert ip.user_ns["myvar"] == 1 + del ip.user_ns["myvar"] + + +# Test %%capture magic. Added to test issue #13926 +def test_capture(): + ip = get_ipython() + + # Test %%capture nominal case + ip.run_cell("%%capture abc\n1+2") + with tt.AssertPrints("True", suppress=False): + ip.run_cell("'abc' in locals()") + with tt.AssertPrints("True", suppress=False): + ip.run_cell("'outputs' in dir(abc)") + with tt.AssertPrints("3", suppress=False): + ip.run_cell("abc.outputs[0]") + + # Test %%capture with ';' at end of expression + ip.run_cell("%%capture abc\n7+8;") + with tt.AssertPrints("False", suppress=False): + ip.run_cell("'abc' in locals()") + + +def test_doctest_mode(): + "Toggle doctest_mode twice, it should be a no-op and run without error" + _ip.run_line_magic("doctest_mode", "") + _ip.run_line_magic("doctest_mode", "") + + +def test_parse_options(): + """Tests for basic options parsing in magics.""" + # These are only the most minimal of tests, more should be added later. At + # the very least we check that basic text/unicode calls work OK. + m = DummyMagics(_ip) + assert m.parse_options("foo", "")[1] == "foo" + assert m.parse_options("foo", "")[1] == "foo" + + +def test_parse_options_preserve_non_option_string(): + """Test to assert preservation of non-option part of magic-block, while parsing magic options.""" + m = DummyMagics(_ip) + opts, stmt = m.parse_options( + " -n1 -r 13 _ = 314 + foo", "n:r:", preserve_non_opts=True + ) + assert opts == {"n": "1", "r": "13"} + assert stmt == "_ = 314 + foo" + + +def test_run_magic_preserve_code_block(): + """Test to assert preservation of non-option part of magic-block, while running magic.""" + _ip.user_ns["spaces"] = [] + _ip.run_line_magic( + "timeit", "-n1 -r1 spaces.append([s.count(' ') for s in ['document']])" + ) + assert _ip.user_ns["spaces"] == [[0]] + + +def test_dirops(): + """Test various directory handling operations.""" + # curpath = lambda :os.path.splitdrive(os.getcwd())[1].replace('\\','/') + curpath = os.getcwd + startdir = os.getcwd() + ipdir = os.path.realpath(_ip.ipython_dir) + try: + _ip.run_line_magic("cd", '"%s"' % ipdir) + assert curpath() == ipdir + _ip.run_line_magic("cd", "-") + assert curpath() == startdir + _ip.run_line_magic("pushd", '"%s"' % ipdir) + assert curpath() == ipdir + _ip.run_line_magic("popd", "") + assert curpath() == startdir + finally: + os.chdir(startdir) + + +def test_cd_force_quiet(): + """Test OSMagics.cd_force_quiet option""" + _ip.config.OSMagics.cd_force_quiet = True + osmagics = osm.OSMagics(shell=_ip) + + startdir = os.getcwd() + ipdir = os.path.realpath(_ip.ipython_dir) + + try: + with tt.AssertNotPrints(ipdir): + osmagics.cd('"%s"' % ipdir) + with tt.AssertNotPrints(startdir): + osmagics.cd('-') + finally: + os.chdir(startdir) + + +def test_xmode(): + # Calling xmode three times should be a no-op + xmode = _ip.InteractiveTB.mode + for i in range(4): + _ip.run_line_magic("xmode", "") + assert _ip.InteractiveTB.mode == xmode + +def test_reset_hard(): + monitor = [] + class A(object): + def __del__(self): + monitor.append(1) + def __repr__(self): + return "" + + _ip.user_ns["a"] = A() + _ip.run_cell("a") + + assert monitor == [] + _ip.run_line_magic("reset", "-f") + assert monitor == [1] + +class TestXdel(tt.TempFileMixin): + def test_xdel(self): + """Test that references from %run are cleared by xdel.""" + src = ("class A(object):\n" + " monitor = []\n" + " def __del__(self):\n" + " self.monitor.append(1)\n" + "a = A()\n") + self.mktmp(src) + # %run creates some hidden references... + _ip.run_line_magic("run", "%s" % self.fname) + # ... as does the displayhook. + _ip.run_cell("a") + + monitor = _ip.user_ns["A"].monitor + assert monitor == [] + + _ip.run_line_magic("xdel", "a") + + # Check that a's __del__ method has been called. + gc.collect(0) + assert monitor == [1] + +def doctest_who(): + """doctest for %who + + In [1]: %reset -sf + + In [2]: alpha = 123 + + In [3]: beta = 'beta' + + In [4]: %who int + alpha + + In [5]: %who str + beta + + In [6]: %whos + Variable Type Data/Info + ---------------------------- + alpha int 123 + beta str beta + + In [7]: %who_ls + Out[7]: ['alpha', 'beta'] + """ + +def test_whos(): + """Check that whos is protected against objects where repr() fails.""" + class A(object): + def __repr__(self): + raise Exception() + _ip.user_ns['a'] = A() + _ip.run_line_magic("whos", "") + +def doctest_precision(): + """doctest for %precision + + In [1]: f = get_ipython().display_formatter.formatters['text/plain'] + + In [2]: %precision 5 + Out[2]: '%.5f' + + In [3]: f.float_format + Out[3]: '%.5f' + + In [4]: %precision %e + Out[4]: '%e' + + In [5]: f(3.1415927) + Out[5]: '3.141593e+00' + """ + + +def test_debug_magic(): + """Test debugging a small code with %debug + + In [1]: with PdbTestInput(['c']): + ...: %debug print("a b") #doctest: +ELLIPSIS + ...: + ... + ipdb> c + a b + In [2]: + """ + + +def test_debug_magic_locals(): + """Test debugging a small code with %debug with locals + + In [1]: with PdbTestInput(['c']): + ...: def fun(): + ...: res = 1 + ...: %debug print(res) + ...: fun() + ...: + ... + ipdb> c + 1 + In [2]: + """ + +def test_psearch(): + with tt.AssertPrints("dict.fromkeys"): + _ip.run_cell("dict.fr*?") + with tt.AssertPrints("π.is_integer"): + _ip.run_cell("π = 3.14;\nπ.is_integ*?") + +def test_timeit_shlex(): + """test shlex issues with timeit (#1109)""" + _ip.ex("def f(*a,**kw): pass") + _ip.run_line_magic("timeit", '-n1 "this is a bug".count(" ")') + _ip.run_line_magic("timeit", '-r1 -n1 f(" ", 1)') + _ip.run_line_magic("timeit", '-r1 -n1 f(" ", 1, " ", 2, " ")') + _ip.run_line_magic("timeit", '-r1 -n1 ("a " + "b")') + _ip.run_line_magic("timeit", '-r1 -n1 f("a " + "b")') + _ip.run_line_magic("timeit", '-r1 -n1 f("a " + "b ")') + + +def test_timeit_special_syntax(): + "Test %%timeit with IPython special syntax" + @register_line_magic + def lmagic(line): + ip = get_ipython() + ip.user_ns['lmagic_out'] = line + + # line mode test + _ip.run_line_magic("timeit", "-n1 -r1 %lmagic my line") + assert _ip.user_ns["lmagic_out"] == "my line" + # cell mode test + _ip.run_cell_magic("timeit", "-n1 -r1", "%lmagic my line2") + assert _ip.user_ns["lmagic_out"] == "my line2" + + +def test_timeit_return(): + """ + test whether timeit -o return object + """ + + res = _ip.run_line_magic('timeit','-n10 -r10 -o 1') + assert(res is not None) + +def test_timeit_quiet(): + """ + test quiet option of timeit magic + """ + with tt.AssertNotPrints("loops"): + _ip.run_cell("%timeit -n1 -r1 -q 1") + +def test_timeit_return_quiet(): + with tt.AssertNotPrints("loops"): + res = _ip.run_line_magic('timeit', '-n1 -r1 -q -o 1') + assert (res is not None) + +def test_timeit_invalid_return(): + with pytest.raises(SyntaxError): + _ip.run_line_magic('timeit', 'return') + +@dec.skipif(execution.profile is None) +def test_prun_special_syntax(): + "Test %%prun with IPython special syntax" + @register_line_magic + def lmagic(line): + ip = get_ipython() + ip.user_ns['lmagic_out'] = line + + # line mode test + _ip.run_line_magic("prun", "-q %lmagic my line") + assert _ip.user_ns["lmagic_out"] == "my line" + # cell mode test + _ip.run_cell_magic("prun", "-q", "%lmagic my line2") + assert _ip.user_ns["lmagic_out"] == "my line2" + + +@dec.skipif(execution.profile is None) +def test_prun_quotes(): + "Test that prun does not clobber string escapes (GH #1302)" + _ip.magic(r"prun -q x = '\t'") + assert _ip.user_ns["x"] == "\t" + + +def test_extension(): + # Debugging information for failures of this test + print('sys.path:') + for p in sys.path: + print(' ', p) + print('CWD', os.getcwd()) + + pytest.raises(ImportError, _ip.magic, "load_ext daft_extension") + daft_path = os.path.join(os.path.dirname(__file__), "daft_extension") + sys.path.insert(0, daft_path) + try: + _ip.user_ns.pop('arq', None) + invalidate_caches() # Clear import caches + _ip.run_line_magic("load_ext", "daft_extension") + assert _ip.user_ns["arq"] == 185 + _ip.run_line_magic("unload_ext", "daft_extension") + assert 'arq' not in _ip.user_ns + finally: + sys.path.remove(daft_path) + + +def test_notebook_export_json(): + pytest.importorskip("nbformat") + _ip = get_ipython() + _ip.history_manager.reset() # Clear any existing history. + cmds = ["a=1", "def b():\n return a**2", "print('noël, été', b())"] + for i, cmd in enumerate(cmds, start=1): + _ip.history_manager.store_inputs(i, cmd) + with TemporaryDirectory() as td: + outfile = os.path.join(td, "nb.ipynb") + _ip.run_line_magic("notebook", "%s" % outfile) + + +class TestEnv(TestCase): + + def test_env(self): + env = _ip.run_line_magic("env", "") + self.assertTrue(isinstance(env, dict)) + + def test_env_secret(self): + env = _ip.run_line_magic("env", "") + hidden = "" + with mock.patch.dict( + os.environ, + { + "API_KEY": "abc123", + "SECRET_THING": "ssshhh", + "JUPYTER_TOKEN": "", + "VAR": "abc" + } + ): + env = _ip.run_line_magic("env", "") + assert env["API_KEY"] == hidden + assert env["SECRET_THING"] == hidden + assert env["JUPYTER_TOKEN"] == hidden + assert env["VAR"] == "abc" + + def test_env_get_set_simple(self): + env = _ip.run_line_magic("env", "var val1") + self.assertEqual(env, None) + self.assertEqual(os.environ["var"], "val1") + self.assertEqual(_ip.run_line_magic("env", "var"), "val1") + env = _ip.run_line_magic("env", "var=val2") + self.assertEqual(env, None) + self.assertEqual(os.environ['var'], 'val2') + + def test_env_get_set_complex(self): + env = _ip.run_line_magic("env", "var 'val1 '' 'val2") + self.assertEqual(env, None) + self.assertEqual(os.environ['var'], "'val1 '' 'val2") + self.assertEqual(_ip.run_line_magic("env", "var"), "'val1 '' 'val2") + env = _ip.run_line_magic("env", 'var=val2 val3="val4') + self.assertEqual(env, None) + self.assertEqual(os.environ['var'], 'val2 val3="val4') + + def test_env_set_bad_input(self): + self.assertRaises(UsageError, lambda: _ip.run_line_magic("set_env", "var")) + + def test_env_set_whitespace(self): + self.assertRaises(UsageError, lambda: _ip.run_line_magic("env", "var A=B")) + + +class CellMagicTestCase(TestCase): + + def check_ident(self, magic): + # Manually called, we get the result + out = _ip.run_cell_magic(magic, "a", "b") + assert out == ("a", "b") + # Via run_cell, it goes into the user's namespace via displayhook + _ip.run_cell("%%" + magic + " c\nd\n") + assert _ip.user_ns["_"] == ("c", "d\n") + + def test_cell_magic_func_deco(self): + "Cell magic using simple decorator" + @register_cell_magic + def cellm(line, cell): + return line, cell + + self.check_ident('cellm') + + def test_cell_magic_reg(self): + "Cell magic manually registered" + def cellm(line, cell): + return line, cell + + _ip.register_magic_function(cellm, 'cell', 'cellm2') + self.check_ident('cellm2') + + def test_cell_magic_class(self): + "Cell magics declared via a class" + @magics_class + class MyMagics(Magics): + + @cell_magic + def cellm3(self, line, cell): + return line, cell + + _ip.register_magics(MyMagics) + self.check_ident('cellm3') + + def test_cell_magic_class2(self): + "Cell magics declared via a class, #2" + @magics_class + class MyMagics2(Magics): + + @cell_magic('cellm4') + def cellm33(self, line, cell): + return line, cell + + _ip.register_magics(MyMagics2) + self.check_ident('cellm4') + # Check that nothing is registered as 'cellm33' + c33 = _ip.find_cell_magic('cellm33') + assert c33 == None + +def test_file(): + """Basic %%writefile""" + ip = get_ipython() + with TemporaryDirectory() as td: + fname = os.path.join(td, "file1") + ip.run_cell_magic( + "writefile", + fname, + "\n".join( + [ + "line1", + "line2", + ] + ), + ) + s = Path(fname).read_text(encoding="utf-8") + assert "line1\n" in s + assert "line2" in s + + +@dec.skip_win32 +def test_file_single_quote(): + """Basic %%writefile with embedded single quotes""" + ip = get_ipython() + with TemporaryDirectory() as td: + fname = os.path.join(td, "'file1'") + ip.run_cell_magic( + "writefile", + fname, + "\n".join( + [ + "line1", + "line2", + ] + ), + ) + s = Path(fname).read_text(encoding="utf-8") + assert "line1\n" in s + assert "line2" in s + + +@dec.skip_win32 +def test_file_double_quote(): + """Basic %%writefile with embedded double quotes""" + ip = get_ipython() + with TemporaryDirectory() as td: + fname = os.path.join(td, '"file1"') + ip.run_cell_magic( + "writefile", + fname, + "\n".join( + [ + "line1", + "line2", + ] + ), + ) + s = Path(fname).read_text(encoding="utf-8") + assert "line1\n" in s + assert "line2" in s + + +def test_file_var_expand(): + """%%writefile $filename""" + ip = get_ipython() + with TemporaryDirectory() as td: + fname = os.path.join(td, "file1") + ip.user_ns["filename"] = fname + ip.run_cell_magic( + "writefile", + "$filename", + "\n".join( + [ + "line1", + "line2", + ] + ), + ) + s = Path(fname).read_text(encoding="utf-8") + assert "line1\n" in s + assert "line2" in s + + +def test_file_unicode(): + """%%writefile with unicode cell""" + ip = get_ipython() + with TemporaryDirectory() as td: + fname = os.path.join(td, 'file1') + ip.run_cell_magic("writefile", fname, u'\n'.join([ + u'liné1', + u'liné2', + ])) + with io.open(fname, encoding='utf-8') as f: + s = f.read() + assert "liné1\n" in s + assert "liné2" in s + + +def test_file_amend(): + """%%writefile -a amends files""" + ip = get_ipython() + with TemporaryDirectory() as td: + fname = os.path.join(td, "file2") + ip.run_cell_magic( + "writefile", + fname, + "\n".join( + [ + "line1", + "line2", + ] + ), + ) + ip.run_cell_magic( + "writefile", + "-a %s" % fname, + "\n".join( + [ + "line3", + "line4", + ] + ), + ) + s = Path(fname).read_text(encoding="utf-8") + assert "line1\n" in s + assert "line3\n" in s + + +def test_file_spaces(): + """%%file with spaces in filename""" + ip = get_ipython() + with TemporaryWorkingDirectory() as td: + fname = "file name" + ip.run_cell_magic( + "file", + '"%s"' % fname, + "\n".join( + [ + "line1", + "line2", + ] + ), + ) + s = Path(fname).read_text(encoding="utf-8") + assert "line1\n" in s + assert "line2" in s + + +def test_script_config(): + ip = get_ipython() + ip.config.ScriptMagics.script_magics = ['whoda'] + sm = script.ScriptMagics(shell=ip) + assert "whoda" in sm.magics["cell"] + + +def test_script_out(): + ip = get_ipython() + ip.run_cell_magic("script", f"--out output {sys.executable}", "print('hi')") + assert ip.user_ns["output"].strip() == "hi" + + +def test_script_err(): + ip = get_ipython() + ip.run_cell_magic( + "script", + f"--err error {sys.executable}", + "import sys; print('hello', file=sys.stderr)", + ) + assert ip.user_ns["error"].strip() == "hello" + + +def test_script_out_err(): + ip = get_ipython() + ip.run_cell_magic( + "script", + f"--out output --err error {sys.executable}", + "\n".join( + [ + "import sys", + "print('hi')", + "print('hello', file=sys.stderr)", + ] + ), + ) + assert ip.user_ns["output"].strip() == "hi" + assert ip.user_ns["error"].strip() == "hello" + + +async def test_script_bg_out(): + ip = get_ipython() + ip.run_cell_magic("script", f"--bg --out output {sys.executable}", "print('hi')") + assert (await ip.user_ns["output"].read()).strip() == b"hi" + assert ip.user_ns["output"].at_eof() + + +async def test_script_bg_err(): + ip = get_ipython() + ip.run_cell_magic( + "script", + f"--bg --err error {sys.executable}", + "import sys; print('hello', file=sys.stderr)", + ) + assert (await ip.user_ns["error"].read()).strip() == b"hello" + assert ip.user_ns["error"].at_eof() + + +async def test_script_bg_out_err(): + ip = get_ipython() + ip.run_cell_magic( + "script", + f"--bg --out output --err error {sys.executable}", + "\n".join( + [ + "import sys", + "print('hi')", + "print('hello', file=sys.stderr)", + ] + ), + ) + assert (await ip.user_ns["output"].read()).strip() == b"hi" + assert (await ip.user_ns["error"].read()).strip() == b"hello" + assert ip.user_ns["output"].at_eof() + assert ip.user_ns["error"].at_eof() + + +async def test_script_bg_proc(): + ip = get_ipython() + ip.run_cell_magic( + "script", + f"--bg --out output --proc p {sys.executable}", + "\n".join( + [ + "import sys", + "print('hi')", + "print('hello', file=sys.stderr)", + ] + ), + ) + p = ip.user_ns["p"] + await p.wait() + assert p.returncode == 0 + assert (await p.stdout.read()).strip() == b"hi" + # not captured, so empty + assert (await p.stderr.read()) == b"" + assert p.stdout.at_eof() + assert p.stderr.at_eof() + + +def test_script_defaults(): + ip = get_ipython() + for cmd in ['sh', 'bash', 'perl', 'ruby']: + try: + find_cmd(cmd) + except Exception: + pass + else: + assert cmd in ip.magics_manager.magics["cell"] + + +@magics_class +class FooFoo(Magics): + """class with both %foo and %%foo magics""" + @line_magic('foo') + def line_foo(self, line): + "I am line foo" + pass + + @cell_magic("foo") + def cell_foo(self, line, cell): + "I am cell foo, not line foo" + pass + +def test_line_cell_info(): + """%%foo and %foo magics are distinguishable to inspect""" + ip = get_ipython() + ip.magics_manager.register(FooFoo) + oinfo = ip.object_inspect("foo") + assert oinfo["found"] is True + assert oinfo["ismagic"] is True + + oinfo = ip.object_inspect("%%foo") + assert oinfo["found"] is True + assert oinfo["ismagic"] is True + assert oinfo["docstring"] == FooFoo.cell_foo.__doc__ + + oinfo = ip.object_inspect("%foo") + assert oinfo["found"] is True + assert oinfo["ismagic"] is True + assert oinfo["docstring"] == FooFoo.line_foo.__doc__ + + +def test_multiple_magics(): + ip = get_ipython() + foo1 = FooFoo(ip) + foo2 = FooFoo(ip) + mm = ip.magics_manager + mm.register(foo1) + assert mm.magics["line"]["foo"].__self__ is foo1 + mm.register(foo2) + assert mm.magics["line"]["foo"].__self__ is foo2 + + +def test_alias_magic(): + """Test %alias_magic.""" + ip = get_ipython() + mm = ip.magics_manager + + # Basic operation: both cell and line magics are created, if possible. + ip.run_line_magic("alias_magic", "timeit_alias timeit") + assert "timeit_alias" in mm.magics["line"] + assert "timeit_alias" in mm.magics["cell"] + + # --cell is specified, line magic not created. + ip.run_line_magic("alias_magic", "--cell timeit_cell_alias timeit") + assert "timeit_cell_alias" not in mm.magics["line"] + assert "timeit_cell_alias" in mm.magics["cell"] + + # Test that line alias is created successfully. + ip.run_line_magic("alias_magic", "--line env_alias env") + assert ip.run_line_magic("env", "") == ip.run_line_magic("env_alias", "") + + # Test that line alias with parameters passed in is created successfully. + ip.run_line_magic( + "alias_magic", "--line history_alias history --params " + shlex.quote("3") + ) + assert "history_alias" in mm.magics["line"] + + +def test_save(): + """Test %save.""" + ip = get_ipython() + ip.history_manager.reset() # Clear any existing history. + cmds = ["a=1", "def b():\n return a**2", "print(a, b())"] + for i, cmd in enumerate(cmds, start=1): + ip.history_manager.store_inputs(i, cmd) + with TemporaryDirectory() as tmpdir: + file = os.path.join(tmpdir, "testsave.py") + ip.run_line_magic("save", "%s 1-10" % file) + content = Path(file).read_text(encoding="utf-8") + assert content.count(cmds[0]) == 1 + assert "coding: utf-8" in content + ip.run_line_magic("save", "-a %s 1-10" % file) + content = Path(file).read_text(encoding="utf-8") + assert content.count(cmds[0]) == 2 + assert "coding: utf-8" in content + + +def test_save_with_no_args(): + ip = get_ipython() + ip.history_manager.reset() # Clear any existing history. + cmds = ["a=1", "def b():\n return a**2", "print(a, b())", "%save"] + for i, cmd in enumerate(cmds, start=1): + ip.history_manager.store_inputs(i, cmd) + + with TemporaryDirectory() as tmpdir: + path = os.path.join(tmpdir, "testsave.py") + ip.run_line_magic("save", path) + content = Path(path).read_text(encoding="utf-8") + expected_content = dedent( + """\ + # coding: utf-8 + a=1 + def b(): + return a**2 + print(a, b()) + """ + ) + assert content == expected_content + + +def test_store(): + """Test %store.""" + ip = get_ipython() + ip.run_line_magic('load_ext', 'storemagic') + + # make sure the storage is empty + ip.run_line_magic("store", "-z") + ip.user_ns["var"] = 42 + ip.run_line_magic("store", "var") + ip.user_ns["var"] = 39 + ip.run_line_magic("store", "-r") + assert ip.user_ns["var"] == 42 + + ip.run_line_magic("store", "-d var") + ip.user_ns["var"] = 39 + ip.run_line_magic("store", "-r") + assert ip.user_ns["var"] == 39 + + +def _run_edit_test(arg_s, exp_filename=None, + exp_lineno=-1, + exp_contents=None, + exp_is_temp=None): + ip = get_ipython() + M = code.CodeMagics(ip) + last_call = ['',''] + opts,args = M.parse_options(arg_s,'prxn:') + filename, lineno, is_temp = M._find_edit_target(ip, args, opts, last_call) + + if exp_filename is not None: + assert exp_filename == filename + if exp_contents is not None: + with io.open(filename, 'r', encoding='utf-8') as f: + contents = f.read() + assert exp_contents == contents + if exp_lineno != -1: + assert exp_lineno == lineno + if exp_is_temp is not None: + assert exp_is_temp == is_temp + + +def test_edit_interactive(): + """%edit on interactively defined objects""" + ip = get_ipython() + n = ip.execution_count + ip.run_cell("def foo(): return 1", store_history=True) + + with pytest.raises(code.InteractivelyDefined) as e: + _run_edit_test("foo") + assert e.value.index == n + + +def test_edit_cell(): + """%edit [cell id]""" + ip = get_ipython() + + ip.run_cell("def foo(): return 1", store_history=True) + + # test + _run_edit_test("1", exp_contents=ip.user_ns['In'][1], exp_is_temp=True) + +def test_edit_fname(): + """%edit file""" + # test + _run_edit_test("test file.py", exp_filename="test file.py") + +def test_bookmark(): + ip = get_ipython() + ip.run_line_magic('bookmark', 'bmname') + with tt.AssertPrints('bmname'): + ip.run_line_magic('bookmark', '-l') + ip.run_line_magic('bookmark', '-d bmname') + +def test_ls_magic(): + ip = get_ipython() + json_formatter = ip.display_formatter.formatters['application/json'] + json_formatter.enabled = True + lsmagic = ip.run_line_magic("lsmagic", "") + with warnings.catch_warnings(record=True) as w: + j = json_formatter(lsmagic) + assert sorted(j) == ["cell", "line"] + assert w == [] # no warnings + + +def test_strip_initial_indent(): + def sii(s): + lines = s.splitlines() + return '\n'.join(code.strip_initial_indent(lines)) + + assert sii(" a = 1\nb = 2") == "a = 1\nb = 2" + assert sii(" a\n b\nc") == "a\n b\nc" + assert sii("a\n b") == "a\n b" + +def test_logging_magic_quiet_from_arg(): + _ip.config.LoggingMagics.quiet = False + lm = logging.LoggingMagics(shell=_ip) + with TemporaryDirectory() as td: + try: + with tt.AssertNotPrints(re.compile("Activating.*")): + lm.logstart('-q {}'.format( + os.path.join(td, "quiet_from_arg.log"))) + finally: + _ip.logger.logstop() + +def test_logging_magic_quiet_from_config(): + _ip.config.LoggingMagics.quiet = True + lm = logging.LoggingMagics(shell=_ip) + with TemporaryDirectory() as td: + try: + with tt.AssertNotPrints(re.compile("Activating.*")): + lm.logstart(os.path.join(td, "quiet_from_config.log")) + finally: + _ip.logger.logstop() + + +def test_logging_magic_not_quiet(): + _ip.config.LoggingMagics.quiet = False + lm = logging.LoggingMagics(shell=_ip) + with TemporaryDirectory() as td: + try: + with tt.AssertPrints(re.compile("Activating.*")): + lm.logstart(os.path.join(td, "not_quiet.log")) + finally: + _ip.logger.logstop() + + +def test_time_no_var_expand(): + _ip.user_ns["a"] = 5 + _ip.user_ns["b"] = [] + _ip.run_line_magic("time", 'b.append("{a}")') + assert _ip.user_ns["b"] == ["{a}"] + + +# this is slow, put at the end for local testing. +def test_timeit_arguments(): + "Test valid timeit arguments, should not cause SyntaxError (GH #1269)" + _ip.run_line_magic("timeit", "-n1 -r1 a=('#')") + + +MINIMAL_LAZY_MAGIC = """ +from IPython.core.magic import ( + Magics, + magics_class, + line_magic, + cell_magic, +) + + +@magics_class +class LazyMagics(Magics): + @line_magic + def lazy_line(self, line): + print("Lazy Line") + + @cell_magic + def lazy_cell(self, line, cell): + print("Lazy Cell") + + +def load_ipython_extension(ipython): + ipython.register_magics(LazyMagics) +""" + + +def test_lazy_magics(): + with pytest.raises(UsageError): + ip.run_line_magic("lazy_line", "") + + startdir = os.getcwd() + + with TemporaryDirectory() as tmpdir: + with prepended_to_syspath(tmpdir): + ptempdir = Path(tmpdir) + tf = ptempdir / "lazy_magic_module.py" + tf.write_text(MINIMAL_LAZY_MAGIC) + ip.magics_manager.register_lazy("lazy_line", Path(tf.name).name[:-3]) + with tt.AssertPrints("Lazy Line"): + ip.run_line_magic("lazy_line", "") + + +TEST_MODULE = """ +print('Loaded my_tmp') +if __name__ == "__main__": + print('I just ran a script') +""" + +def test_run_module_from_import_hook(): + "Test that a module can be loaded via an import hook" + with TemporaryDirectory() as tmpdir: + fullpath = os.path.join(tmpdir, "my_tmp.py") + Path(fullpath).write_text(TEST_MODULE, encoding="utf-8") + + import importlib.abc + import importlib.util + + class MyTempImporter(importlib.abc.MetaPathFinder, importlib.abc.SourceLoader): + def find_spec(self, fullname, path, target=None): + if fullname == "my_tmp": + return importlib.util.spec_from_loader(fullname, self) + + def get_filename(self, fullname): + assert fullname == "my_tmp" + return fullpath + + def get_data(self, path): + assert Path(path).samefile(fullpath) + return Path(fullpath).read_text(encoding="utf-8") + + sys.meta_path.insert(0, MyTempImporter()) + + with capture_output() as captured: + _ip.run_line_magic("run", "-m my_tmp") + _ip.run_cell("import my_tmp") + + output = "Loaded my_tmp\nI just ran a script\nLoaded my_tmp\n" + assert output == captured.stdout + + sys.meta_path.pop(0) diff --git a/shared/package-files/70/70151e4af4cabae01a8b7988470a32706ad913c10e3bd0286ddd7dcb34014125/item.h b/shared/package-files/70/70151e4af4cabae01a8b7988470a32706ad913c10e3bd0286ddd7dcb34014125/item.h new file mode 100644 index 0000000000000000000000000000000000000000..3151cecd136d4ef627a0d39016e6c817a05ad0a7 --- /dev/null +++ b/shared/package-files/70/70151e4af4cabae01a8b7988470a32706ad913c10e3bd0286ddd7dcb34014125/item.h @@ -0,0 +1,26 @@ +#pragma once + +// @generated by torchgen/gen.py from Function.h + +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include + + + +#include + +namespace at { + + + +} diff --git a/shared/package-files/70/70156db6696722591e50f0ddd81dc760a6c1337989491aec6568022067a9d2da/helper.h b/shared/package-files/70/70156db6696722591e50f0ddd81dc760a6c1337989491aec6568022067a9d2da/helper.h new file mode 100644 index 0000000000000000000000000000000000000000..b5a5adf40b65c6838b23d5f2999b8058d7e825cd --- /dev/null +++ b/shared/package-files/70/70156db6696722591e50f0ddd81dc760a6c1337989491aec6568022067a9d2da/helper.h @@ -0,0 +1,216 @@ +#pragma once +#include +#include +#include +#include +#include + +#include +#include + +namespace torch { +namespace jit { + +using graph_rewrite_helper::getFuncName; + +// Vector of a module and the name of its method +using ModuleMethodVector = std::vector>; +// Map of quantization parameter name and value +// for example _scale, _zero_point, +// _scalar_type and _axis(for per channel quantization) +using QParamVector = std::vector>; + +// =========== helper functions for Value ========= +// Check if a value is weight, since we need to use weight observer +// for weight +TORCH_API bool isWeight(Value* v); + +// Check if a value is bias for conv and linear, which we do not +// quantize +TORCH_API bool isBiasOfConvOrLinear(Value* v); + +TORCH_API bool isEmbeddingBagNonInput(Value* v); + +// Get the use as scalar input of clamp ops for the input value +c10::optional getClampScalarInputUse(Value* v); + +// For a given value `v`, get the list of values that we need to check +// if they are observed/quantized or not, if so, we can say the +// `v` is also observed/quantized, since we can derive +// the quantization parameters for `v` given the list of values +TORCH_API std::vector getPassThroughInputs(Value* v); + +// Clones the method by the name of orig_method_name into new_method_name method +TORCH_API void cloneMethod( + Module& module, + const std::string& orig_method_name, + const std::string& new_method_name); + +// Check if a value in the graph is a Scalar value +TORCH_API bool isScalar(Value* v); + +// Check if value is the input of the graph +TORCH_API bool hitGraphInput(Value* value); + +// Converts a mangled name, such as +// __torch__.torch.ao.nn.quantized.modules.conv.___torch_mangle_7.Conv2d +// into an unmangled name, such as +// __torch__.torch.ao.nn.quantized.modules.conv.Conv2d +TORCH_API std::string removeTorchMangle(const std::string& orig_name); + +// Return the module name that corresponds to the value. +TORCH_API c10::optional getModuleName(Value* value); + +// =========== helper functions for Node ========= +TORCH_API bool isSingleInputGeneralShapeAtenFunction(Node* n); + +TORCH_API bool isSingleInputGeneralValueAtenFunction(Node* n); + +TORCH_API bool isSingleInputGeneralCallFunction(Node* n); + +TORCH_API bool isSingleInputGeneralAtenFunction(Node* n); + +TORCH_API bool isClamp(Node* n); + +// Check if the node will produce the same result regardless of whether +// the input tensor is quantized or not, example: aten::size +TORCH_API bool isTensorInfoNode(Node* n); + +// Check if this the propagate op that has single input, e.g. aten::cat +TORCH_API bool isPropagateQuantSingleInputOp(Node* n); + +// Check if this is the propagate op that has two inputs, e.g. aten::add +TORCH_API bool isPropagateQuantBinaryOp(Node* n); + +// Check if this is the node that we'll quantize or not quantize depending on +// whether the input of the node is quantized, example: aten::cat +TORCH_API bool isPropagateQuantOp(Node* n); + +// Check if the node is a binary op like aten::add and aten::mul and +// if the input 1 is a scalar, these ops will be quantized to +// quantized::{op}_scalar +TORCH_API bool isBinaryOpWithScalarInput(Node* n); + +TORCH_API c10::optional> getFixedQParams( + Node* n); + +// We don't want to analyze the graph for some `builtin` CallFunctions +// like `linear` because we want to preserve the op boundary +TORCH_API bool userDefinedCallFunction(Node* n); + +// Check if the node has scalar input +TORCH_API bool hasScalarInput(Node* n); + +// Check if a node is quantizable +TORCH_API bool nodeQuantizable( + Node* n, + QuantType quant_type = QuantType::STATIC); + +// Nodes which only require quantization of weight value, eg. embedding_bag +bool isWeightOnlyStaticQuantOp(Node* n); + +// Check if a use of the value is quantizable, this depends on +// both the use node and the offset +TORCH_API bool useQuantizable(const Use& use, QuantType quant_type); + +// Given a CallFunction node, extract the graph of the called function +TORCH_API std::shared_ptr getCallFunctionGraph(Node* n); + +// Check if `use` is a CallFunction of name `func_name` and if value +// `v` is the nth argument (if provided) of the function +bool matchCallFuncToUse( + const Use& use, + const std::string& func_name, + c10::optional nth_arg); + +// Check if `use` is a AtenFunction of name `func_name` and if value +// `v` is the nth argument (if provided) of the function +bool matchAtenFuncToUse( + const Use& use, + const std::string& func_name, + c10::optional nth_arg); + +// =========== helper functions for Block ========= +// checks if a block will always raise an Exception +TORCH_API bool alwaysRaisesException(Block* block); + +// =========== helper functions for Module ========== +// TODO: remove +TORCH_API std::vector getModuleAccessPath( + Value* instance, + Value* self); +// TODO: remove +TORCH_API Module +findChildModule(const Module& module, const std::vector& path); + +// Given an CallMethod node, get the module instance corresponding +// to the instance Value +// TODO: refactor all current uses of this function to the Opt one +TORCH_API Module getInvokedModule(Module& module, Node* n, Value* self); + +// Given an CallMethod node, get the module instance corresponding +// to the instance Value if the instance is a module, otherwise return +// c10::nullopt +c10::optional getInvokedModuleOpt( + const Module& module, + Node* n, + Value* self); + +// ==================== filter functions for matches ============== +// filter to check Value `vname` is a constant of int value `value` +bool is_int_constant( + const Match& match, + const std::unordered_map& vmap, + const std::string& vname, + int value); + +// filter to check if the %alpha argument of aten::add is constant 1 +bool aten_add_alpha_is_one( + const Match& match, + const std::unordered_map& vmap); + +// filter to check if the functional in CallFunction is relu +bool is_functional_relu( + const Match& match, + const std::unordered_map& vmap); + +// filter to check if the module is torch.nn.ReLU +bool is_relu_module( + const Match& match, + const std::unordered_map& vmap); + +bool is_linear_module( + const Match& match, + const std::unordered_map& vmap); + +// TODO: add a macro to declare the filters +bool is_conv1d_module( + const Match& match, + const std::unordered_map& vmap); + +bool is_conv2d_module( + const Match& match, + const std::unordered_map& vmap); + +bool is_conv3d_module( + const Match& match, + const std::unordered_map& vmap); + +bool is_conv_transpose1d_module( + const Match& match, + const std::unordered_map& vmap); + +bool is_conv_transpose2d_module( + const Match& match, + const std::unordered_map& vmap); + +bool is_batchnorm2d_module( + const Match& match, + const std::unordered_map& vmap); + +bool is_batchnorm3d_module( + const Match& match, + const std::unordered_map& vmap); + +} // namespace jit +} // namespace torch diff --git a/shared/package-files/70/701930d77a2177497586e99bc3fe60f2d4beffb645608f167c76874a72ff405e/cp861.py b/shared/package-files/70/701930d77a2177497586e99bc3fe60f2d4beffb645608f167c76874a72ff405e/cp861.py new file mode 100644 index 0000000000000000000000000000000000000000..860a05fa3f4f1b64c9a417e10c58d939d94ad136 --- /dev/null +++ b/shared/package-files/70/701930d77a2177497586e99bc3fe60f2d4beffb645608f167c76874a72ff405e/cp861.py @@ -0,0 +1,698 @@ +""" Python Character Mapping Codec generated from 'VENDORS/MICSFT/PC/CP861.TXT' with gencodec.py. + +"""#" + +import codecs + +### Codec APIs + +class Codec(codecs.Codec): + + def encode(self,input,errors='strict'): + return codecs.charmap_encode(input,errors,encoding_map) + + def decode(self,input,errors='strict'): + return codecs.charmap_decode(input,errors,decoding_table) + +class IncrementalEncoder(codecs.IncrementalEncoder): + def encode(self, input, final=False): + return codecs.charmap_encode(input,self.errors,encoding_map)[0] + +class IncrementalDecoder(codecs.IncrementalDecoder): + def decode(self, input, final=False): + return codecs.charmap_decode(input,self.errors,decoding_table)[0] + +class StreamWriter(Codec,codecs.StreamWriter): + pass + +class StreamReader(Codec,codecs.StreamReader): + pass + +### encodings module API + +def getregentry(): + return codecs.CodecInfo( + name='cp861', + encode=Codec().encode, + decode=Codec().decode, + incrementalencoder=IncrementalEncoder, + incrementaldecoder=IncrementalDecoder, + streamreader=StreamReader, + streamwriter=StreamWriter, + ) + +### Decoding Map + +decoding_map = codecs.make_identity_dict(range(256)) +decoding_map.update({ + 0x0080: 0x00c7, # LATIN CAPITAL LETTER C WITH CEDILLA + 0x0081: 0x00fc, # LATIN SMALL LETTER U WITH DIAERESIS + 0x0082: 0x00e9, # LATIN SMALL LETTER E WITH ACUTE + 0x0083: 0x00e2, # LATIN SMALL LETTER A WITH CIRCUMFLEX + 0x0084: 0x00e4, # LATIN SMALL LETTER A WITH DIAERESIS + 0x0085: 0x00e0, # LATIN SMALL LETTER A WITH GRAVE + 0x0086: 0x00e5, # LATIN SMALL LETTER A WITH RING ABOVE + 0x0087: 0x00e7, # LATIN SMALL LETTER C WITH CEDILLA + 0x0088: 0x00ea, # LATIN SMALL LETTER E WITH CIRCUMFLEX + 0x0089: 0x00eb, # LATIN SMALL LETTER E WITH DIAERESIS + 0x008a: 0x00e8, # LATIN SMALL LETTER E WITH GRAVE + 0x008b: 0x00d0, # LATIN CAPITAL LETTER ETH + 0x008c: 0x00f0, # LATIN SMALL LETTER ETH + 0x008d: 0x00de, # LATIN CAPITAL LETTER THORN + 0x008e: 0x00c4, # LATIN CAPITAL LETTER A WITH DIAERESIS + 0x008f: 0x00c5, # LATIN CAPITAL LETTER A WITH RING ABOVE + 0x0090: 0x00c9, # LATIN CAPITAL LETTER E WITH ACUTE + 0x0091: 0x00e6, # LATIN SMALL LIGATURE AE + 0x0092: 0x00c6, # LATIN CAPITAL LIGATURE AE + 0x0093: 0x00f4, # LATIN SMALL LETTER O WITH CIRCUMFLEX + 0x0094: 0x00f6, # LATIN SMALL LETTER O WITH DIAERESIS + 0x0095: 0x00fe, # LATIN SMALL LETTER THORN + 0x0096: 0x00fb, # LATIN SMALL LETTER U WITH CIRCUMFLEX + 0x0097: 0x00dd, # LATIN CAPITAL LETTER Y WITH ACUTE + 0x0098: 0x00fd, # LATIN SMALL LETTER Y WITH ACUTE + 0x0099: 0x00d6, # LATIN CAPITAL LETTER O WITH DIAERESIS + 0x009a: 0x00dc, # LATIN CAPITAL LETTER U WITH DIAERESIS + 0x009b: 0x00f8, # LATIN SMALL LETTER O WITH STROKE + 0x009c: 0x00a3, # POUND SIGN + 0x009d: 0x00d8, # LATIN CAPITAL LETTER O WITH STROKE + 0x009e: 0x20a7, # PESETA SIGN + 0x009f: 0x0192, # LATIN SMALL LETTER F WITH HOOK + 0x00a0: 0x00e1, # LATIN SMALL LETTER A WITH ACUTE + 0x00a1: 0x00ed, # LATIN SMALL LETTER I WITH ACUTE + 0x00a2: 0x00f3, # LATIN SMALL LETTER O WITH ACUTE + 0x00a3: 0x00fa, # LATIN SMALL LETTER U WITH ACUTE + 0x00a4: 0x00c1, # LATIN CAPITAL LETTER A WITH ACUTE + 0x00a5: 0x00cd, # LATIN CAPITAL LETTER I WITH ACUTE + 0x00a6: 0x00d3, # LATIN CAPITAL LETTER O WITH ACUTE + 0x00a7: 0x00da, # LATIN CAPITAL LETTER U WITH ACUTE + 0x00a8: 0x00bf, # INVERTED QUESTION MARK + 0x00a9: 0x2310, # REVERSED NOT SIGN + 0x00aa: 0x00ac, # NOT SIGN + 0x00ab: 0x00bd, # VULGAR FRACTION ONE HALF + 0x00ac: 0x00bc, # VULGAR FRACTION ONE QUARTER + 0x00ad: 0x00a1, # INVERTED EXCLAMATION MARK + 0x00ae: 0x00ab, # LEFT-POINTING DOUBLE ANGLE QUOTATION MARK + 0x00af: 0x00bb, # RIGHT-POINTING DOUBLE ANGLE QUOTATION MARK + 0x00b0: 0x2591, # LIGHT SHADE + 0x00b1: 0x2592, # MEDIUM SHADE + 0x00b2: 0x2593, # DARK SHADE + 0x00b3: 0x2502, # BOX DRAWINGS LIGHT VERTICAL + 0x00b4: 0x2524, # BOX DRAWINGS LIGHT VERTICAL AND LEFT + 0x00b5: 0x2561, # BOX DRAWINGS VERTICAL SINGLE AND LEFT DOUBLE + 0x00b6: 0x2562, # BOX DRAWINGS VERTICAL DOUBLE AND LEFT SINGLE + 0x00b7: 0x2556, # BOX DRAWINGS DOWN DOUBLE AND LEFT SINGLE + 0x00b8: 0x2555, # BOX DRAWINGS DOWN SINGLE AND LEFT DOUBLE + 0x00b9: 0x2563, # BOX DRAWINGS DOUBLE VERTICAL AND LEFT + 0x00ba: 0x2551, # BOX DRAWINGS DOUBLE VERTICAL + 0x00bb: 0x2557, # BOX DRAWINGS DOUBLE DOWN AND LEFT + 0x00bc: 0x255d, # BOX DRAWINGS DOUBLE UP AND LEFT + 0x00bd: 0x255c, # BOX DRAWINGS UP DOUBLE AND LEFT SINGLE + 0x00be: 0x255b, # BOX DRAWINGS UP SINGLE AND LEFT DOUBLE + 0x00bf: 0x2510, # BOX DRAWINGS LIGHT DOWN AND LEFT + 0x00c0: 0x2514, # BOX DRAWINGS LIGHT UP AND RIGHT + 0x00c1: 0x2534, # BOX DRAWINGS LIGHT UP AND HORIZONTAL + 0x00c2: 0x252c, # BOX DRAWINGS LIGHT DOWN AND HORIZONTAL + 0x00c3: 0x251c, # BOX DRAWINGS LIGHT VERTICAL AND RIGHT + 0x00c4: 0x2500, # BOX DRAWINGS LIGHT HORIZONTAL + 0x00c5: 0x253c, # BOX DRAWINGS LIGHT VERTICAL AND HORIZONTAL + 0x00c6: 0x255e, # BOX DRAWINGS VERTICAL SINGLE AND RIGHT DOUBLE + 0x00c7: 0x255f, # BOX DRAWINGS VERTICAL DOUBLE AND RIGHT SINGLE + 0x00c8: 0x255a, # BOX DRAWINGS DOUBLE UP AND RIGHT + 0x00c9: 0x2554, # BOX DRAWINGS DOUBLE DOWN AND RIGHT + 0x00ca: 0x2569, # BOX DRAWINGS DOUBLE UP AND HORIZONTAL + 0x00cb: 0x2566, # BOX DRAWINGS DOUBLE DOWN AND HORIZONTAL + 0x00cc: 0x2560, # BOX DRAWINGS DOUBLE VERTICAL AND RIGHT + 0x00cd: 0x2550, # BOX DRAWINGS DOUBLE HORIZONTAL + 0x00ce: 0x256c, # BOX DRAWINGS DOUBLE VERTICAL AND HORIZONTAL + 0x00cf: 0x2567, # BOX DRAWINGS UP SINGLE AND HORIZONTAL DOUBLE + 0x00d0: 0x2568, # BOX DRAWINGS UP DOUBLE AND HORIZONTAL SINGLE + 0x00d1: 0x2564, # BOX DRAWINGS DOWN SINGLE AND HORIZONTAL DOUBLE + 0x00d2: 0x2565, # BOX DRAWINGS DOWN DOUBLE AND HORIZONTAL SINGLE + 0x00d3: 0x2559, # BOX DRAWINGS UP DOUBLE AND RIGHT SINGLE + 0x00d4: 0x2558, # BOX DRAWINGS UP SINGLE AND RIGHT DOUBLE + 0x00d5: 0x2552, # BOX DRAWINGS DOWN SINGLE AND RIGHT DOUBLE + 0x00d6: 0x2553, # BOX DRAWINGS DOWN DOUBLE AND RIGHT SINGLE + 0x00d7: 0x256b, # BOX DRAWINGS VERTICAL DOUBLE AND HORIZONTAL SINGLE + 0x00d8: 0x256a, # BOX DRAWINGS VERTICAL SINGLE AND HORIZONTAL DOUBLE + 0x00d9: 0x2518, # BOX DRAWINGS LIGHT UP AND LEFT + 0x00da: 0x250c, # BOX DRAWINGS LIGHT DOWN AND RIGHT + 0x00db: 0x2588, # FULL BLOCK + 0x00dc: 0x2584, # LOWER HALF BLOCK + 0x00dd: 0x258c, # LEFT HALF BLOCK + 0x00de: 0x2590, # RIGHT HALF BLOCK + 0x00df: 0x2580, # UPPER HALF BLOCK + 0x00e0: 0x03b1, # GREEK SMALL LETTER ALPHA + 0x00e1: 0x00df, # LATIN SMALL LETTER SHARP S + 0x00e2: 0x0393, # GREEK CAPITAL LETTER GAMMA + 0x00e3: 0x03c0, # GREEK SMALL LETTER PI + 0x00e4: 0x03a3, # GREEK CAPITAL LETTER SIGMA + 0x00e5: 0x03c3, # GREEK SMALL LETTER SIGMA + 0x00e6: 0x00b5, # MICRO SIGN + 0x00e7: 0x03c4, # GREEK SMALL LETTER TAU + 0x00e8: 0x03a6, # GREEK CAPITAL LETTER PHI + 0x00e9: 0x0398, # GREEK CAPITAL LETTER THETA + 0x00ea: 0x03a9, # GREEK CAPITAL LETTER OMEGA + 0x00eb: 0x03b4, # GREEK SMALL LETTER DELTA + 0x00ec: 0x221e, # INFINITY + 0x00ed: 0x03c6, # GREEK SMALL LETTER PHI + 0x00ee: 0x03b5, # GREEK SMALL LETTER EPSILON + 0x00ef: 0x2229, # INTERSECTION + 0x00f0: 0x2261, # IDENTICAL TO + 0x00f1: 0x00b1, # PLUS-MINUS SIGN + 0x00f2: 0x2265, # GREATER-THAN OR EQUAL TO + 0x00f3: 0x2264, # LESS-THAN OR EQUAL TO + 0x00f4: 0x2320, # TOP HALF INTEGRAL + 0x00f5: 0x2321, # BOTTOM HALF INTEGRAL + 0x00f6: 0x00f7, # DIVISION SIGN + 0x00f7: 0x2248, # ALMOST EQUAL TO + 0x00f8: 0x00b0, # DEGREE SIGN + 0x00f9: 0x2219, # BULLET OPERATOR + 0x00fa: 0x00b7, # MIDDLE DOT + 0x00fb: 0x221a, # SQUARE ROOT + 0x00fc: 0x207f, # SUPERSCRIPT LATIN SMALL LETTER N + 0x00fd: 0x00b2, # SUPERSCRIPT TWO + 0x00fe: 0x25a0, # BLACK SQUARE + 0x00ff: 0x00a0, # NO-BREAK SPACE +}) + +### Decoding Table + +decoding_table = ( + '\x00' # 0x0000 -> NULL + '\x01' # 0x0001 -> START OF HEADING + '\x02' # 0x0002 -> START OF TEXT + '\x03' # 0x0003 -> END OF TEXT + '\x04' # 0x0004 -> END OF TRANSMISSION + '\x05' # 0x0005 -> ENQUIRY + '\x06' # 0x0006 -> ACKNOWLEDGE + '\x07' # 0x0007 -> BELL + '\x08' # 0x0008 -> BACKSPACE + '\t' # 0x0009 -> HORIZONTAL TABULATION + '\n' # 0x000a -> LINE FEED + '\x0b' # 0x000b -> VERTICAL TABULATION + '\x0c' # 0x000c -> FORM FEED + '\r' # 0x000d -> CARRIAGE RETURN + '\x0e' # 0x000e -> SHIFT OUT + '\x0f' # 0x000f -> SHIFT IN + '\x10' # 0x0010 -> DATA LINK ESCAPE + '\x11' # 0x0011 -> DEVICE CONTROL ONE + '\x12' # 0x0012 -> DEVICE CONTROL TWO + '\x13' # 0x0013 -> DEVICE CONTROL THREE + '\x14' # 0x0014 -> DEVICE CONTROL FOUR + '\x15' # 0x0015 -> NEGATIVE ACKNOWLEDGE + '\x16' # 0x0016 -> SYNCHRONOUS IDLE + '\x17' # 0x0017 -> END OF TRANSMISSION BLOCK + '\x18' # 0x0018 -> CANCEL + '\x19' # 0x0019 -> END OF MEDIUM + '\x1a' # 0x001a -> SUBSTITUTE + '\x1b' # 0x001b -> ESCAPE + '\x1c' # 0x001c -> FILE SEPARATOR + '\x1d' # 0x001d -> GROUP SEPARATOR + '\x1e' # 0x001e -> RECORD SEPARATOR + '\x1f' # 0x001f -> UNIT SEPARATOR + ' ' # 0x0020 -> SPACE + '!' # 0x0021 -> EXCLAMATION MARK + '"' # 0x0022 -> QUOTATION MARK + '#' # 0x0023 -> NUMBER SIGN + '$' # 0x0024 -> DOLLAR SIGN + '%' # 0x0025 -> PERCENT SIGN + '&' # 0x0026 -> AMPERSAND + "'" # 0x0027 -> APOSTROPHE + '(' # 0x0028 -> LEFT PARENTHESIS + ')' # 0x0029 -> RIGHT PARENTHESIS + '*' # 0x002a -> ASTERISK + '+' # 0x002b -> PLUS SIGN + ',' # 0x002c -> COMMA + '-' # 0x002d -> HYPHEN-MINUS + '.' # 0x002e -> FULL STOP + '/' # 0x002f -> SOLIDUS + '0' # 0x0030 -> DIGIT ZERO + '1' # 0x0031 -> DIGIT ONE + '2' # 0x0032 -> DIGIT TWO + '3' # 0x0033 -> DIGIT THREE + '4' # 0x0034 -> DIGIT FOUR + '5' # 0x0035 -> DIGIT FIVE + '6' # 0x0036 -> DIGIT SIX + '7' # 0x0037 -> DIGIT SEVEN + '8' # 0x0038 -> DIGIT EIGHT + '9' # 0x0039 -> DIGIT NINE + ':' # 0x003a -> COLON + ';' # 0x003b -> SEMICOLON + '<' # 0x003c -> LESS-THAN SIGN + '=' # 0x003d -> EQUALS SIGN + '>' # 0x003e -> GREATER-THAN SIGN + '?' # 0x003f -> QUESTION MARK + '@' # 0x0040 -> COMMERCIAL AT + 'A' # 0x0041 -> LATIN CAPITAL LETTER A + 'B' # 0x0042 -> LATIN CAPITAL LETTER B + 'C' # 0x0043 -> LATIN CAPITAL LETTER C + 'D' # 0x0044 -> LATIN CAPITAL LETTER D + 'E' # 0x0045 -> LATIN CAPITAL LETTER E + 'F' # 0x0046 -> LATIN CAPITAL LETTER F + 'G' # 0x0047 -> LATIN CAPITAL LETTER G + 'H' # 0x0048 -> LATIN CAPITAL LETTER H + 'I' # 0x0049 -> LATIN CAPITAL LETTER I + 'J' # 0x004a -> LATIN CAPITAL LETTER J + 'K' # 0x004b -> LATIN CAPITAL LETTER K + 'L' # 0x004c -> LATIN CAPITAL LETTER L + 'M' # 0x004d -> LATIN CAPITAL LETTER M + 'N' # 0x004e -> LATIN CAPITAL LETTER N + 'O' # 0x004f -> LATIN CAPITAL LETTER O + 'P' # 0x0050 -> LATIN CAPITAL LETTER P + 'Q' # 0x0051 -> LATIN CAPITAL LETTER Q + 'R' # 0x0052 -> LATIN CAPITAL LETTER R + 'S' # 0x0053 -> LATIN CAPITAL LETTER S + 'T' # 0x0054 -> LATIN CAPITAL LETTER T + 'U' # 0x0055 -> LATIN CAPITAL LETTER U + 'V' # 0x0056 -> LATIN CAPITAL LETTER V + 'W' # 0x0057 -> LATIN CAPITAL LETTER W + 'X' # 0x0058 -> LATIN CAPITAL LETTER X + 'Y' # 0x0059 -> LATIN CAPITAL LETTER Y + 'Z' # 0x005a -> LATIN CAPITAL LETTER Z + '[' # 0x005b -> LEFT SQUARE BRACKET + '\\' # 0x005c -> REVERSE SOLIDUS + ']' # 0x005d -> RIGHT SQUARE BRACKET + '^' # 0x005e -> CIRCUMFLEX ACCENT + '_' # 0x005f -> LOW LINE + '`' # 0x0060 -> GRAVE ACCENT + 'a' # 0x0061 -> LATIN SMALL LETTER A + 'b' # 0x0062 -> LATIN SMALL LETTER B + 'c' # 0x0063 -> LATIN SMALL LETTER C + 'd' # 0x0064 -> LATIN SMALL LETTER D + 'e' # 0x0065 -> LATIN SMALL LETTER E + 'f' # 0x0066 -> LATIN SMALL LETTER F + 'g' # 0x0067 -> LATIN SMALL LETTER G + 'h' # 0x0068 -> LATIN SMALL LETTER H + 'i' # 0x0069 -> LATIN SMALL LETTER I + 'j' # 0x006a -> LATIN SMALL LETTER J + 'k' # 0x006b -> LATIN SMALL LETTER K + 'l' # 0x006c -> LATIN SMALL LETTER L + 'm' # 0x006d -> LATIN SMALL LETTER M + 'n' # 0x006e -> LATIN SMALL LETTER N + 'o' # 0x006f -> LATIN SMALL LETTER O + 'p' # 0x0070 -> LATIN SMALL LETTER P + 'q' # 0x0071 -> LATIN SMALL LETTER Q + 'r' # 0x0072 -> LATIN SMALL LETTER R + 's' # 0x0073 -> LATIN SMALL LETTER S + 't' # 0x0074 -> LATIN SMALL LETTER T + 'u' # 0x0075 -> LATIN SMALL LETTER U + 'v' # 0x0076 -> LATIN SMALL LETTER V + 'w' # 0x0077 -> LATIN SMALL LETTER W + 'x' # 0x0078 -> LATIN SMALL LETTER X + 'y' # 0x0079 -> LATIN SMALL LETTER Y + 'z' # 0x007a -> LATIN SMALL LETTER Z + '{' # 0x007b -> LEFT CURLY BRACKET + '|' # 0x007c -> VERTICAL LINE + '}' # 0x007d -> RIGHT CURLY BRACKET + '~' # 0x007e -> TILDE + '\x7f' # 0x007f -> DELETE + '\xc7' # 0x0080 -> LATIN CAPITAL LETTER C WITH CEDILLA + '\xfc' # 0x0081 -> LATIN SMALL LETTER U WITH DIAERESIS + '\xe9' # 0x0082 -> LATIN SMALL LETTER E WITH ACUTE + '\xe2' # 0x0083 -> LATIN SMALL LETTER A WITH CIRCUMFLEX + '\xe4' # 0x0084 -> LATIN SMALL LETTER A WITH DIAERESIS + '\xe0' # 0x0085 -> LATIN SMALL LETTER A WITH GRAVE + '\xe5' # 0x0086 -> LATIN SMALL LETTER A WITH RING ABOVE + '\xe7' # 0x0087 -> LATIN SMALL LETTER C WITH CEDILLA + '\xea' # 0x0088 -> LATIN SMALL LETTER E WITH CIRCUMFLEX + '\xeb' # 0x0089 -> LATIN SMALL LETTER E WITH DIAERESIS + '\xe8' # 0x008a -> LATIN SMALL LETTER E WITH GRAVE + '\xd0' # 0x008b -> LATIN CAPITAL LETTER ETH + '\xf0' # 0x008c -> LATIN SMALL LETTER ETH + '\xde' # 0x008d -> LATIN CAPITAL LETTER THORN + '\xc4' # 0x008e -> LATIN CAPITAL LETTER A WITH DIAERESIS + '\xc5' # 0x008f -> LATIN CAPITAL LETTER A WITH RING ABOVE + '\xc9' # 0x0090 -> LATIN CAPITAL LETTER E WITH ACUTE + '\xe6' # 0x0091 -> LATIN SMALL LIGATURE AE + '\xc6' # 0x0092 -> LATIN CAPITAL LIGATURE AE + '\xf4' # 0x0093 -> LATIN SMALL LETTER O WITH CIRCUMFLEX + '\xf6' # 0x0094 -> LATIN SMALL LETTER O WITH DIAERESIS + '\xfe' # 0x0095 -> LATIN SMALL LETTER THORN + '\xfb' # 0x0096 -> LATIN SMALL LETTER U WITH CIRCUMFLEX + '\xdd' # 0x0097 -> LATIN CAPITAL LETTER Y WITH ACUTE + '\xfd' # 0x0098 -> LATIN SMALL LETTER Y WITH ACUTE + '\xd6' # 0x0099 -> LATIN CAPITAL LETTER O WITH DIAERESIS + '\xdc' # 0x009a -> LATIN CAPITAL LETTER U WITH DIAERESIS + '\xf8' # 0x009b -> LATIN SMALL LETTER O WITH STROKE + '\xa3' # 0x009c -> POUND SIGN + '\xd8' # 0x009d -> LATIN CAPITAL LETTER O WITH STROKE + '\u20a7' # 0x009e -> PESETA SIGN + '\u0192' # 0x009f -> LATIN SMALL LETTER F WITH HOOK + '\xe1' # 0x00a0 -> LATIN SMALL LETTER A WITH ACUTE + '\xed' # 0x00a1 -> LATIN SMALL LETTER I WITH ACUTE + '\xf3' # 0x00a2 -> LATIN SMALL LETTER O WITH ACUTE + '\xfa' # 0x00a3 -> LATIN SMALL LETTER U WITH ACUTE + '\xc1' # 0x00a4 -> LATIN CAPITAL LETTER A WITH ACUTE + '\xcd' # 0x00a5 -> LATIN CAPITAL LETTER I WITH ACUTE + '\xd3' # 0x00a6 -> LATIN CAPITAL LETTER O WITH ACUTE + '\xda' # 0x00a7 -> LATIN CAPITAL LETTER U WITH ACUTE + '\xbf' # 0x00a8 -> INVERTED QUESTION MARK + '\u2310' # 0x00a9 -> REVERSED NOT SIGN + '\xac' # 0x00aa -> NOT SIGN + '\xbd' # 0x00ab -> VULGAR FRACTION ONE HALF + '\xbc' # 0x00ac -> VULGAR FRACTION ONE QUARTER + '\xa1' # 0x00ad -> INVERTED EXCLAMATION MARK + '\xab' # 0x00ae -> LEFT-POINTING DOUBLE ANGLE QUOTATION MARK + '\xbb' # 0x00af -> RIGHT-POINTING DOUBLE ANGLE QUOTATION MARK + '\u2591' # 0x00b0 -> LIGHT SHADE + '\u2592' # 0x00b1 -> MEDIUM SHADE + '\u2593' # 0x00b2 -> DARK SHADE + '\u2502' # 0x00b3 -> BOX DRAWINGS LIGHT VERTICAL + '\u2524' # 0x00b4 -> BOX DRAWINGS LIGHT VERTICAL AND LEFT + '\u2561' # 0x00b5 -> BOX DRAWINGS VERTICAL SINGLE AND LEFT DOUBLE + '\u2562' # 0x00b6 -> BOX DRAWINGS VERTICAL DOUBLE AND LEFT SINGLE + '\u2556' # 0x00b7 -> BOX DRAWINGS DOWN DOUBLE AND LEFT SINGLE + '\u2555' # 0x00b8 -> BOX DRAWINGS DOWN SINGLE AND LEFT DOUBLE + '\u2563' # 0x00b9 -> BOX DRAWINGS DOUBLE VERTICAL AND LEFT + '\u2551' # 0x00ba -> BOX DRAWINGS DOUBLE VERTICAL + '\u2557' # 0x00bb -> BOX DRAWINGS DOUBLE DOWN AND LEFT + '\u255d' # 0x00bc -> BOX DRAWINGS DOUBLE UP AND LEFT + '\u255c' # 0x00bd -> BOX DRAWINGS UP DOUBLE AND LEFT SINGLE + '\u255b' # 0x00be -> BOX DRAWINGS UP SINGLE AND LEFT DOUBLE + '\u2510' # 0x00bf -> BOX DRAWINGS LIGHT DOWN AND LEFT + '\u2514' # 0x00c0 -> BOX DRAWINGS LIGHT UP AND RIGHT + '\u2534' # 0x00c1 -> BOX DRAWINGS LIGHT UP AND HORIZONTAL + '\u252c' # 0x00c2 -> BOX DRAWINGS LIGHT DOWN AND HORIZONTAL + '\u251c' # 0x00c3 -> BOX DRAWINGS LIGHT VERTICAL AND RIGHT + '\u2500' # 0x00c4 -> BOX DRAWINGS LIGHT HORIZONTAL + '\u253c' # 0x00c5 -> BOX DRAWINGS LIGHT VERTICAL AND HORIZONTAL + '\u255e' # 0x00c6 -> BOX DRAWINGS VERTICAL SINGLE AND RIGHT DOUBLE + '\u255f' # 0x00c7 -> BOX DRAWINGS VERTICAL DOUBLE AND RIGHT SINGLE + '\u255a' # 0x00c8 -> BOX DRAWINGS DOUBLE UP AND RIGHT + '\u2554' # 0x00c9 -> BOX DRAWINGS DOUBLE DOWN AND RIGHT + '\u2569' # 0x00ca -> BOX DRAWINGS DOUBLE UP AND HORIZONTAL + '\u2566' # 0x00cb -> BOX DRAWINGS DOUBLE DOWN AND HORIZONTAL + '\u2560' # 0x00cc -> BOX DRAWINGS DOUBLE VERTICAL AND RIGHT + '\u2550' # 0x00cd -> BOX DRAWINGS DOUBLE HORIZONTAL + '\u256c' # 0x00ce -> BOX DRAWINGS DOUBLE VERTICAL AND HORIZONTAL + '\u2567' # 0x00cf -> BOX DRAWINGS UP SINGLE AND HORIZONTAL DOUBLE + '\u2568' # 0x00d0 -> BOX DRAWINGS UP DOUBLE AND HORIZONTAL SINGLE + '\u2564' # 0x00d1 -> BOX DRAWINGS DOWN SINGLE AND HORIZONTAL DOUBLE + '\u2565' # 0x00d2 -> BOX DRAWINGS DOWN DOUBLE AND HORIZONTAL SINGLE + '\u2559' # 0x00d3 -> BOX DRAWINGS UP DOUBLE AND RIGHT SINGLE + '\u2558' # 0x00d4 -> BOX DRAWINGS UP SINGLE AND RIGHT DOUBLE + '\u2552' # 0x00d5 -> BOX DRAWINGS DOWN SINGLE AND RIGHT DOUBLE + '\u2553' # 0x00d6 -> BOX DRAWINGS DOWN DOUBLE AND RIGHT SINGLE + '\u256b' # 0x00d7 -> BOX DRAWINGS VERTICAL DOUBLE AND HORIZONTAL SINGLE + '\u256a' # 0x00d8 -> BOX DRAWINGS VERTICAL SINGLE AND HORIZONTAL DOUBLE + '\u2518' # 0x00d9 -> BOX DRAWINGS LIGHT UP AND LEFT + '\u250c' # 0x00da -> BOX DRAWINGS LIGHT DOWN AND RIGHT + '\u2588' # 0x00db -> FULL BLOCK + '\u2584' # 0x00dc -> LOWER HALF BLOCK + '\u258c' # 0x00dd -> LEFT HALF BLOCK + '\u2590' # 0x00de -> RIGHT HALF BLOCK + '\u2580' # 0x00df -> UPPER HALF BLOCK + '\u03b1' # 0x00e0 -> GREEK SMALL LETTER ALPHA + '\xdf' # 0x00e1 -> LATIN SMALL LETTER SHARP S + '\u0393' # 0x00e2 -> GREEK CAPITAL LETTER GAMMA + '\u03c0' # 0x00e3 -> GREEK SMALL LETTER PI + '\u03a3' # 0x00e4 -> GREEK CAPITAL LETTER SIGMA + '\u03c3' # 0x00e5 -> GREEK SMALL LETTER SIGMA + '\xb5' # 0x00e6 -> MICRO SIGN + '\u03c4' # 0x00e7 -> GREEK SMALL LETTER TAU + '\u03a6' # 0x00e8 -> GREEK CAPITAL LETTER PHI + '\u0398' # 0x00e9 -> GREEK CAPITAL LETTER THETA + '\u03a9' # 0x00ea -> GREEK CAPITAL LETTER OMEGA + '\u03b4' # 0x00eb -> GREEK SMALL LETTER DELTA + '\u221e' # 0x00ec -> INFINITY + '\u03c6' # 0x00ed -> GREEK SMALL LETTER PHI + '\u03b5' # 0x00ee -> GREEK SMALL LETTER EPSILON + '\u2229' # 0x00ef -> INTERSECTION + '\u2261' # 0x00f0 -> IDENTICAL TO + '\xb1' # 0x00f1 -> PLUS-MINUS SIGN + '\u2265' # 0x00f2 -> GREATER-THAN OR EQUAL TO + '\u2264' # 0x00f3 -> LESS-THAN OR EQUAL TO + '\u2320' # 0x00f4 -> TOP HALF INTEGRAL + '\u2321' # 0x00f5 -> BOTTOM HALF INTEGRAL + '\xf7' # 0x00f6 -> DIVISION SIGN + '\u2248' # 0x00f7 -> ALMOST EQUAL TO + '\xb0' # 0x00f8 -> DEGREE SIGN + '\u2219' # 0x00f9 -> BULLET OPERATOR + '\xb7' # 0x00fa -> MIDDLE DOT + '\u221a' # 0x00fb -> SQUARE ROOT + '\u207f' # 0x00fc -> SUPERSCRIPT LATIN SMALL LETTER N + '\xb2' # 0x00fd -> SUPERSCRIPT TWO + '\u25a0' # 0x00fe -> BLACK SQUARE + '\xa0' # 0x00ff -> NO-BREAK SPACE +) + +### Encoding Map + +encoding_map = { + 0x0000: 0x0000, # NULL + 0x0001: 0x0001, # START OF HEADING + 0x0002: 0x0002, # START OF TEXT + 0x0003: 0x0003, # END OF TEXT + 0x0004: 0x0004, # END OF TRANSMISSION + 0x0005: 0x0005, # ENQUIRY + 0x0006: 0x0006, # ACKNOWLEDGE + 0x0007: 0x0007, # BELL + 0x0008: 0x0008, # BACKSPACE + 0x0009: 0x0009, # HORIZONTAL TABULATION + 0x000a: 0x000a, # LINE FEED + 0x000b: 0x000b, # VERTICAL TABULATION + 0x000c: 0x000c, # FORM FEED + 0x000d: 0x000d, # CARRIAGE RETURN + 0x000e: 0x000e, # SHIFT OUT + 0x000f: 0x000f, # SHIFT IN + 0x0010: 0x0010, # DATA LINK ESCAPE + 0x0011: 0x0011, # DEVICE CONTROL ONE + 0x0012: 0x0012, # DEVICE CONTROL TWO + 0x0013: 0x0013, # DEVICE CONTROL THREE + 0x0014: 0x0014, # DEVICE CONTROL FOUR + 0x0015: 0x0015, # NEGATIVE ACKNOWLEDGE + 0x0016: 0x0016, # SYNCHRONOUS IDLE + 0x0017: 0x0017, # END OF TRANSMISSION BLOCK + 0x0018: 0x0018, # CANCEL + 0x0019: 0x0019, # END OF MEDIUM + 0x001a: 0x001a, # SUBSTITUTE + 0x001b: 0x001b, # ESCAPE + 0x001c: 0x001c, # FILE SEPARATOR + 0x001d: 0x001d, # GROUP SEPARATOR + 0x001e: 0x001e, # RECORD SEPARATOR + 0x001f: 0x001f, # UNIT SEPARATOR + 0x0020: 0x0020, # SPACE + 0x0021: 0x0021, # EXCLAMATION MARK + 0x0022: 0x0022, # QUOTATION MARK + 0x0023: 0x0023, # NUMBER SIGN + 0x0024: 0x0024, # DOLLAR SIGN + 0x0025: 0x0025, # PERCENT SIGN + 0x0026: 0x0026, # AMPERSAND + 0x0027: 0x0027, # APOSTROPHE + 0x0028: 0x0028, # LEFT PARENTHESIS + 0x0029: 0x0029, # RIGHT PARENTHESIS + 0x002a: 0x002a, # ASTERISK + 0x002b: 0x002b, # PLUS SIGN + 0x002c: 0x002c, # COMMA + 0x002d: 0x002d, # HYPHEN-MINUS + 0x002e: 0x002e, # FULL STOP + 0x002f: 0x002f, # SOLIDUS + 0x0030: 0x0030, # DIGIT ZERO + 0x0031: 0x0031, # DIGIT ONE + 0x0032: 0x0032, # DIGIT TWO + 0x0033: 0x0033, # DIGIT THREE + 0x0034: 0x0034, # DIGIT FOUR + 0x0035: 0x0035, # DIGIT FIVE + 0x0036: 0x0036, # DIGIT SIX + 0x0037: 0x0037, # DIGIT SEVEN + 0x0038: 0x0038, # DIGIT EIGHT + 0x0039: 0x0039, # DIGIT NINE + 0x003a: 0x003a, # COLON + 0x003b: 0x003b, # SEMICOLON + 0x003c: 0x003c, # LESS-THAN SIGN + 0x003d: 0x003d, # EQUALS SIGN + 0x003e: 0x003e, # GREATER-THAN SIGN + 0x003f: 0x003f, # QUESTION MARK + 0x0040: 0x0040, # COMMERCIAL AT + 0x0041: 0x0041, # LATIN CAPITAL LETTER A + 0x0042: 0x0042, # LATIN CAPITAL LETTER B + 0x0043: 0x0043, # LATIN CAPITAL LETTER C + 0x0044: 0x0044, # LATIN CAPITAL LETTER D + 0x0045: 0x0045, # LATIN CAPITAL LETTER E + 0x0046: 0x0046, # LATIN CAPITAL LETTER F + 0x0047: 0x0047, # LATIN CAPITAL LETTER G + 0x0048: 0x0048, # LATIN CAPITAL LETTER H + 0x0049: 0x0049, # LATIN CAPITAL LETTER I + 0x004a: 0x004a, # LATIN CAPITAL LETTER J + 0x004b: 0x004b, # LATIN CAPITAL LETTER K + 0x004c: 0x004c, # LATIN CAPITAL LETTER L + 0x004d: 0x004d, # LATIN CAPITAL LETTER M + 0x004e: 0x004e, # LATIN CAPITAL LETTER N + 0x004f: 0x004f, # LATIN CAPITAL LETTER O + 0x0050: 0x0050, # LATIN CAPITAL LETTER P + 0x0051: 0x0051, # LATIN CAPITAL LETTER Q + 0x0052: 0x0052, # LATIN CAPITAL LETTER R + 0x0053: 0x0053, # LATIN CAPITAL LETTER S + 0x0054: 0x0054, # LATIN CAPITAL LETTER T + 0x0055: 0x0055, # LATIN CAPITAL LETTER U + 0x0056: 0x0056, # LATIN CAPITAL LETTER V + 0x0057: 0x0057, # LATIN CAPITAL LETTER W + 0x0058: 0x0058, # LATIN CAPITAL LETTER X + 0x0059: 0x0059, # LATIN CAPITAL LETTER Y + 0x005a: 0x005a, # LATIN CAPITAL LETTER Z + 0x005b: 0x005b, # LEFT SQUARE BRACKET + 0x005c: 0x005c, # REVERSE SOLIDUS + 0x005d: 0x005d, # RIGHT SQUARE BRACKET + 0x005e: 0x005e, # CIRCUMFLEX ACCENT + 0x005f: 0x005f, # LOW LINE + 0x0060: 0x0060, # GRAVE ACCENT + 0x0061: 0x0061, # LATIN SMALL LETTER A + 0x0062: 0x0062, # LATIN SMALL LETTER B + 0x0063: 0x0063, # LATIN SMALL LETTER C + 0x0064: 0x0064, # LATIN SMALL LETTER D + 0x0065: 0x0065, # LATIN SMALL LETTER E + 0x0066: 0x0066, # LATIN SMALL LETTER F + 0x0067: 0x0067, # LATIN SMALL LETTER G + 0x0068: 0x0068, # LATIN SMALL LETTER H + 0x0069: 0x0069, # LATIN SMALL LETTER I + 0x006a: 0x006a, # LATIN SMALL LETTER J + 0x006b: 0x006b, # LATIN SMALL LETTER K + 0x006c: 0x006c, # LATIN SMALL LETTER L + 0x006d: 0x006d, # LATIN SMALL LETTER M + 0x006e: 0x006e, # LATIN SMALL LETTER N + 0x006f: 0x006f, # LATIN SMALL LETTER O + 0x0070: 0x0070, # LATIN SMALL LETTER P + 0x0071: 0x0071, # LATIN SMALL LETTER Q + 0x0072: 0x0072, # LATIN SMALL LETTER R + 0x0073: 0x0073, # LATIN SMALL LETTER S + 0x0074: 0x0074, # LATIN SMALL LETTER T + 0x0075: 0x0075, # LATIN SMALL LETTER U + 0x0076: 0x0076, # LATIN SMALL LETTER V + 0x0077: 0x0077, # LATIN SMALL LETTER W + 0x0078: 0x0078, # LATIN SMALL LETTER X + 0x0079: 0x0079, # LATIN SMALL LETTER Y + 0x007a: 0x007a, # LATIN SMALL LETTER Z + 0x007b: 0x007b, # LEFT CURLY BRACKET + 0x007c: 0x007c, # VERTICAL LINE + 0x007d: 0x007d, # RIGHT CURLY BRACKET + 0x007e: 0x007e, # TILDE + 0x007f: 0x007f, # DELETE + 0x00a0: 0x00ff, # NO-BREAK SPACE + 0x00a1: 0x00ad, # INVERTED EXCLAMATION MARK + 0x00a3: 0x009c, # POUND SIGN + 0x00ab: 0x00ae, # LEFT-POINTING DOUBLE ANGLE QUOTATION MARK + 0x00ac: 0x00aa, # NOT SIGN + 0x00b0: 0x00f8, # DEGREE SIGN + 0x00b1: 0x00f1, # PLUS-MINUS SIGN + 0x00b2: 0x00fd, # SUPERSCRIPT TWO + 0x00b5: 0x00e6, # MICRO SIGN + 0x00b7: 0x00fa, # MIDDLE DOT + 0x00bb: 0x00af, # RIGHT-POINTING DOUBLE ANGLE QUOTATION MARK + 0x00bc: 0x00ac, # VULGAR FRACTION ONE QUARTER + 0x00bd: 0x00ab, # VULGAR FRACTION ONE HALF + 0x00bf: 0x00a8, # INVERTED QUESTION MARK + 0x00c1: 0x00a4, # LATIN CAPITAL LETTER A WITH ACUTE + 0x00c4: 0x008e, # LATIN CAPITAL LETTER A WITH DIAERESIS + 0x00c5: 0x008f, # LATIN CAPITAL LETTER A WITH RING ABOVE + 0x00c6: 0x0092, # LATIN CAPITAL LIGATURE AE + 0x00c7: 0x0080, # LATIN CAPITAL LETTER C WITH CEDILLA + 0x00c9: 0x0090, # LATIN CAPITAL LETTER E WITH ACUTE + 0x00cd: 0x00a5, # LATIN CAPITAL LETTER I WITH ACUTE + 0x00d0: 0x008b, # LATIN CAPITAL LETTER ETH + 0x00d3: 0x00a6, # LATIN CAPITAL LETTER O WITH ACUTE + 0x00d6: 0x0099, # LATIN CAPITAL LETTER O WITH DIAERESIS + 0x00d8: 0x009d, # LATIN CAPITAL LETTER O WITH STROKE + 0x00da: 0x00a7, # LATIN CAPITAL LETTER U WITH ACUTE + 0x00dc: 0x009a, # LATIN CAPITAL LETTER U WITH DIAERESIS + 0x00dd: 0x0097, # LATIN CAPITAL LETTER Y WITH ACUTE + 0x00de: 0x008d, # LATIN CAPITAL LETTER THORN + 0x00df: 0x00e1, # LATIN SMALL LETTER SHARP S + 0x00e0: 0x0085, # LATIN SMALL LETTER A WITH GRAVE + 0x00e1: 0x00a0, # LATIN SMALL LETTER A WITH ACUTE + 0x00e2: 0x0083, # LATIN SMALL LETTER A WITH CIRCUMFLEX + 0x00e4: 0x0084, # LATIN SMALL LETTER A WITH DIAERESIS + 0x00e5: 0x0086, # LATIN SMALL LETTER A WITH RING ABOVE + 0x00e6: 0x0091, # LATIN SMALL LIGATURE AE + 0x00e7: 0x0087, # LATIN SMALL LETTER C WITH CEDILLA + 0x00e8: 0x008a, # LATIN SMALL LETTER E WITH GRAVE + 0x00e9: 0x0082, # LATIN SMALL LETTER E WITH ACUTE + 0x00ea: 0x0088, # LATIN SMALL LETTER E WITH CIRCUMFLEX + 0x00eb: 0x0089, # LATIN SMALL LETTER E WITH DIAERESIS + 0x00ed: 0x00a1, # LATIN SMALL LETTER I WITH ACUTE + 0x00f0: 0x008c, # LATIN SMALL LETTER ETH + 0x00f3: 0x00a2, # LATIN SMALL LETTER O WITH ACUTE + 0x00f4: 0x0093, # LATIN SMALL LETTER O WITH CIRCUMFLEX + 0x00f6: 0x0094, # LATIN SMALL LETTER O WITH DIAERESIS + 0x00f7: 0x00f6, # DIVISION SIGN + 0x00f8: 0x009b, # LATIN SMALL LETTER O WITH STROKE + 0x00fa: 0x00a3, # LATIN SMALL LETTER U WITH ACUTE + 0x00fb: 0x0096, # LATIN SMALL LETTER U WITH CIRCUMFLEX + 0x00fc: 0x0081, # LATIN SMALL LETTER U WITH DIAERESIS + 0x00fd: 0x0098, # LATIN SMALL LETTER Y WITH ACUTE + 0x00fe: 0x0095, # LATIN SMALL LETTER THORN + 0x0192: 0x009f, # LATIN SMALL LETTER F WITH HOOK + 0x0393: 0x00e2, # GREEK CAPITAL LETTER GAMMA + 0x0398: 0x00e9, # GREEK CAPITAL LETTER THETA + 0x03a3: 0x00e4, # GREEK CAPITAL LETTER SIGMA + 0x03a6: 0x00e8, # GREEK CAPITAL LETTER PHI + 0x03a9: 0x00ea, # GREEK CAPITAL LETTER OMEGA + 0x03b1: 0x00e0, # GREEK SMALL LETTER ALPHA + 0x03b4: 0x00eb, # GREEK SMALL LETTER DELTA + 0x03b5: 0x00ee, # GREEK SMALL LETTER EPSILON + 0x03c0: 0x00e3, # GREEK SMALL LETTER PI + 0x03c3: 0x00e5, # GREEK SMALL LETTER SIGMA + 0x03c4: 0x00e7, # GREEK SMALL LETTER TAU + 0x03c6: 0x00ed, # GREEK SMALL LETTER PHI + 0x207f: 0x00fc, # SUPERSCRIPT LATIN SMALL LETTER N + 0x20a7: 0x009e, # PESETA SIGN + 0x2219: 0x00f9, # BULLET OPERATOR + 0x221a: 0x00fb, # SQUARE ROOT + 0x221e: 0x00ec, # INFINITY + 0x2229: 0x00ef, # INTERSECTION + 0x2248: 0x00f7, # ALMOST EQUAL TO + 0x2261: 0x00f0, # IDENTICAL TO + 0x2264: 0x00f3, # LESS-THAN OR EQUAL TO + 0x2265: 0x00f2, # GREATER-THAN OR EQUAL TO + 0x2310: 0x00a9, # REVERSED NOT SIGN + 0x2320: 0x00f4, # TOP HALF INTEGRAL + 0x2321: 0x00f5, # BOTTOM HALF INTEGRAL + 0x2500: 0x00c4, # BOX DRAWINGS LIGHT HORIZONTAL + 0x2502: 0x00b3, # BOX DRAWINGS LIGHT VERTICAL + 0x250c: 0x00da, # BOX DRAWINGS LIGHT DOWN AND RIGHT + 0x2510: 0x00bf, # BOX DRAWINGS LIGHT DOWN AND LEFT + 0x2514: 0x00c0, # BOX DRAWINGS LIGHT UP AND RIGHT + 0x2518: 0x00d9, # BOX DRAWINGS LIGHT UP AND LEFT + 0x251c: 0x00c3, # BOX DRAWINGS LIGHT VERTICAL AND RIGHT + 0x2524: 0x00b4, # BOX DRAWINGS LIGHT VERTICAL AND LEFT + 0x252c: 0x00c2, # BOX DRAWINGS LIGHT DOWN AND HORIZONTAL + 0x2534: 0x00c1, # BOX DRAWINGS LIGHT UP AND HORIZONTAL + 0x253c: 0x00c5, # BOX DRAWINGS LIGHT VERTICAL AND HORIZONTAL + 0x2550: 0x00cd, # BOX DRAWINGS DOUBLE HORIZONTAL + 0x2551: 0x00ba, # BOX DRAWINGS DOUBLE VERTICAL + 0x2552: 0x00d5, # BOX DRAWINGS DOWN SINGLE AND RIGHT DOUBLE + 0x2553: 0x00d6, # BOX DRAWINGS DOWN DOUBLE AND RIGHT SINGLE + 0x2554: 0x00c9, # BOX DRAWINGS DOUBLE DOWN AND RIGHT + 0x2555: 0x00b8, # BOX DRAWINGS DOWN SINGLE AND LEFT DOUBLE + 0x2556: 0x00b7, # BOX DRAWINGS DOWN DOUBLE AND LEFT SINGLE + 0x2557: 0x00bb, # BOX DRAWINGS DOUBLE DOWN AND LEFT + 0x2558: 0x00d4, # BOX DRAWINGS UP SINGLE AND RIGHT DOUBLE + 0x2559: 0x00d3, # BOX DRAWINGS UP DOUBLE AND RIGHT SINGLE + 0x255a: 0x00c8, # BOX DRAWINGS DOUBLE UP AND RIGHT + 0x255b: 0x00be, # BOX DRAWINGS UP SINGLE AND LEFT DOUBLE + 0x255c: 0x00bd, # BOX DRAWINGS UP DOUBLE AND LEFT SINGLE + 0x255d: 0x00bc, # BOX DRAWINGS DOUBLE UP AND LEFT + 0x255e: 0x00c6, # BOX DRAWINGS VERTICAL SINGLE AND RIGHT DOUBLE + 0x255f: 0x00c7, # BOX DRAWINGS VERTICAL DOUBLE AND RIGHT SINGLE + 0x2560: 0x00cc, # BOX DRAWINGS DOUBLE VERTICAL AND RIGHT + 0x2561: 0x00b5, # BOX DRAWINGS VERTICAL SINGLE AND LEFT DOUBLE + 0x2562: 0x00b6, # BOX DRAWINGS VERTICAL DOUBLE AND LEFT SINGLE + 0x2563: 0x00b9, # BOX DRAWINGS DOUBLE VERTICAL AND LEFT + 0x2564: 0x00d1, # BOX DRAWINGS DOWN SINGLE AND HORIZONTAL DOUBLE + 0x2565: 0x00d2, # BOX DRAWINGS DOWN DOUBLE AND HORIZONTAL SINGLE + 0x2566: 0x00cb, # BOX DRAWINGS DOUBLE DOWN AND HORIZONTAL + 0x2567: 0x00cf, # BOX DRAWINGS UP SINGLE AND HORIZONTAL DOUBLE + 0x2568: 0x00d0, # BOX DRAWINGS UP DOUBLE AND HORIZONTAL SINGLE + 0x2569: 0x00ca, # BOX DRAWINGS DOUBLE UP AND HORIZONTAL + 0x256a: 0x00d8, # BOX DRAWINGS VERTICAL SINGLE AND HORIZONTAL DOUBLE + 0x256b: 0x00d7, # BOX DRAWINGS VERTICAL DOUBLE AND HORIZONTAL SINGLE + 0x256c: 0x00ce, # BOX DRAWINGS DOUBLE VERTICAL AND HORIZONTAL + 0x2580: 0x00df, # UPPER HALF BLOCK + 0x2584: 0x00dc, # LOWER HALF BLOCK + 0x2588: 0x00db, # FULL BLOCK + 0x258c: 0x00dd, # LEFT HALF BLOCK + 0x2590: 0x00de, # RIGHT HALF BLOCK + 0x2591: 0x00b0, # LIGHT SHADE + 0x2592: 0x00b1, # MEDIUM SHADE + 0x2593: 0x00b2, # DARK SHADE + 0x25a0: 0x00fe, # BLACK SQUARE +} diff --git a/shared/package-files/70/70198c6b67a68e5b8477973c77824b4da8eedfdf331a1fa95ce8003dbe4e87b3/test_exact_diffuse_filtering_multivariate.R b/shared/package-files/70/70198c6b67a68e5b8477973c77824b4da8eedfdf331a1fa95ce8003dbe4e87b3/test_exact_diffuse_filtering_multivariate.R new file mode 100644 index 0000000000000000000000000000000000000000..b0be7e22009ed16af35a884529bf45914acb9a91 --- /dev/null +++ b/shared/package-files/70/70198c6b67a68e5b8477973c77824b4da8eedfdf331a1fa95ce8003dbe4e87b3/test_exact_diffuse_filtering_multivariate.R @@ -0,0 +1,50 @@ +library(KFAS) +options(digits=10) + +# should run this from the statsmodels/statsmodels directory +setwd('~/projects/statsmodels-0.9/statsmodels/') +dta <- read.csv('datasets/macrodata/macrodata.csv') +source('tsa/statespace/tests/results/kfas_helpers.R') + +# We use the following two observation datasets +obs <- (diff(log(data.matrix(dta[c('realgdp', 'realcons')]))) * 400)[1:20,] +obs_missing <- obs +obs_missing[1:5,1] <- NA +obs_missing[9:12,] <- NA + +# VAR(1) +Z <- diag(2) +T <- as.matrix(cbind(c(0.5, 0.2), c(0.3, 0.4))) +R <- diag(2) +Q <- diag(c(2, 3)) +H <- diag(2) * 0 +mod <- SSModel(obs ~ -1 + SSMcustom(Z=Z, T=T, R=R, Q=Q, P1inf=diag(2)), H=H) +kf <- KFS(mod, c("state", "signal", "mean"), c("state", "signal", "mean", "disturbance"), simplify=FALSE) +write.csv(kfas.output(kf), 'tsa/statespace/tests/results/results_exact_initial_var1_R.csv', row.names=FALSE) + +# VAR(1) + missing +mod <- SSModel(obs_missing ~ -1 + SSMcustom(Z=Z, T=T, R=R, Q=Q, P1inf=diag(2)), H=H) +kf <- KFS(mod, c("state", "signal", "mean"), c("state", "signal", "mean", "disturbance"), simplify=FALSE) +write.csv(kfas.output(kf), 'tsa/statespace/tests/results/results_exact_initial_var1_missing_R.csv', row.names=FALSE) + +# VAR(1) + mixed initialization +stationary_init <- 3.5714285714285716 +mod <- SSModel(obs ~ -1 + SSMcustom(Z=Z, T=T, R=R, Q=Q, P1inf=diag(c(1, 0)), P1=diag(c(0, stationary_init))), H=H) +kf <- KFS(mod, c("state", "signal", "mean"), c("state", "signal", "mean", "disturbance"), simplify=FALSE) +write.csv(kfas.output(kf), 'tsa/statespace/tests/results/results_exact_initial_var1_mixed_R.csv', row.names=FALSE) + +# VAR(1) + measurement error +H <- diag(c(4, 5)) +mod <- SSModel(obs ~ -1 + SSMcustom(Z=Z, T=T, R=R, Q=Q, P1inf=diag(2)), H=H) +kf <- KFS(mod, c("state", "signal", "mean"), c("state", "signal", "mean", "disturbance"), simplify=FALSE) +write.csv(kfas.output(kf), 'tsa/statespace/tests/results/results_exact_initial_var1_measurement_error_R.csv', row.names=FALSE) + +# DFM +Z <- matrix(c(0.5, 1, 0, 0), nrow=2) +T <- matrix(c(0.9, 1, 0.1, 0), nrow=2) +R <- matrix(c(1, 0), nrow=2) +Q <- diag(1) +H <- diag(c(1.5, 2)) +mod <- SSModel(obs ~ -1 + SSMcustom(Z=Z, T=T, R=R, Q=Q, P1inf=diag(2)), H=H) +kf <- KFS(mod, c("state", "signal", "mean"), c("state", "signal", "mean", "disturbance"), simplify=FALSE) +write.csv(kfas.output(kf), 'tsa/statespace/tests/results/results_exact_initial_dfm_R.csv', row.names=FALSE) diff --git a/shared/package-files/70/70236a13d626f0406bd4f83624710c2ee17a901f4ae6281da6b2fdfdeb179b45/TensorIndexing.h b/shared/package-files/70/70236a13d626f0406bd4f83624710c2ee17a901f4ae6281da6b2fdfdeb179b45/TensorIndexing.h new file mode 100644 index 0000000000000000000000000000000000000000..b6bb4710900c5570496785c502e492ec76520d93 --- /dev/null +++ b/shared/package-files/70/70236a13d626f0406bd4f83624710c2ee17a901f4ae6281da6b2fdfdeb179b45/TensorIndexing.h @@ -0,0 +1,735 @@ +#pragma once + +#include +#include +#include +#include +#include +#include +#include + +#ifndef AT_PER_OPERATOR_HEADERS +#include +#include +#else +#include +#include +#include +#include +#endif + +#include + +#include + +namespace at::indexing { + +constexpr int64_t INDEX_MIN = c10::SymInt::min_representable_int(); +constexpr int64_t INDEX_MAX = -(INDEX_MIN + 1); + +enum class TensorIndexType { None, Ellipsis, SymInt, Boolean, Slice, Tensor }; + +constexpr c10::nullopt_t None = c10::nullopt; + +struct TORCH_API EllipsisIndexType final { + EllipsisIndexType() = default; +}; +TORCH_API extern const EllipsisIndexType Ellipsis; + +struct TORCH_API Slice final { + public: + Slice( + c10::optional start_index = c10::nullopt, + c10::optional stop_index = c10::nullopt, + c10::optional step_index = c10::nullopt) { + if (!step_index.has_value()) { + step_ = c10::SymInt(1); + } else { + step_ = std::move(step_index).value(); + } + + TORCH_CHECK_VALUE(step_ != 0, "slice step cannot be zero"); + + if (!start_index.has_value()) { + start_ = c10::SymInt(step_ < 0 ? INDEX_MAX : 0); + } else { + start_ = std::move(start_index).value(); + } + + if (!stop_index.has_value()) { + stop_ = c10::SymInt(step_ < 0 ? INDEX_MIN : INDEX_MAX); + } else { + stop_ = std::move(stop_index).value(); + } + } + + inline c10::SymInt start() const { + return start_; + } + + inline c10::SymInt stop() const { + return stop_; + } + + inline c10::SymInt step() const { + return step_; + } + + private: + c10::SymInt start_; + c10::SymInt stop_; + c10::SymInt step_; +}; + +TORCH_API std::ostream& operator<<(std::ostream& stream, const Slice& slice); + +// `at::indexing::TensorIndex` is used for converting C++ tensor indices such as +// `{None, "...", Ellipsis, 0, true, Slice(1, None, 2), torch::tensor({1, 2})}` +// into its equivalent `std::vector`, so that further tensor +// indexing operations can be performed using the supplied indices. +// +// There is one-to-one correspondence between Python and C++ tensor index types: +// Python | C++ +// ----------------------------------------------------- +// `None` | `at::indexing::None` +// `Ellipsis` | `at::indexing::Ellipsis` +// `...` | `"..."` +// `123` | `123` +// `True` / `False` | `true` / `false` +// `:` | `Slice()` / `Slice(None, None)` +// `::` | `Slice()` / `Slice(None, None, None)` +// `1:` | `Slice(1, None)` +// `1::` | `Slice(1, None, None)` +// `:3` | `Slice(None, 3)` +// `:3:` | `Slice(None, 3, None)` +// `::2` | `Slice(None, None, 2)` +// `1:3` | `Slice(1, 3)` +// `1::2` | `Slice(1, None, 2)` +// `:3:2` | `Slice(None, 3, 2)` +// `1:3:2` | `Slice(1, 3, 2)` +// `torch.tensor([1, 2])`) | `torch::tensor({1, 2})` +struct TORCH_API TensorIndex final { + // Case 1: `at::indexing::None` + TensorIndex(c10::nullopt_t) : type_(TensorIndexType::None) {} + + // Case 2: "..." / `at::indexing::Ellipsis` + TensorIndex(at::indexing::EllipsisIndexType) + : type_(TensorIndexType::Ellipsis) {} + TensorIndex(const char* str) : TensorIndex(at::indexing::Ellipsis) { + TORCH_CHECK_VALUE( + strcmp(str, "...") == 0, + "Expected \"...\" to represent an ellipsis index, but got \"", + str, + "\""); + } + + // Case 3: (Sym) Integer value + TensorIndex(SymInt integer) + : integer_(std::move(integer)), type_(TensorIndexType::SymInt) {} + TensorIndex(int64_t integer) : TensorIndex(SymInt(integer)) {} + TensorIndex(int integer) : TensorIndex(SymInt(integer)) {} + + // Case 4: Boolean value + template >> + TensorIndex(T boolean) : boolean_(boolean), type_(TensorIndexType::Boolean) {} + + // Case 5: Slice represented in `at::indexing::Slice` form + TensorIndex(Slice slice) + : slice_(std::move(slice)), type_(TensorIndexType::Slice) {} + + // Case 6: Tensor value + TensorIndex(Tensor tensor) + : tensor_(std::move(tensor)), type_(TensorIndexType::Tensor) {} + + inline bool is_none() const { + return type_ == TensorIndexType::None; + } + + inline bool is_ellipsis() const { + return type_ == TensorIndexType::Ellipsis; + } + + inline bool is_integer() const { + return type_ == TensorIndexType::SymInt; + } + + inline SymInt integer() const { + return integer_; + } + + inline bool is_boolean() const { + return type_ == TensorIndexType::Boolean; + } + + inline bool boolean() const { + return boolean_; + } + + inline bool is_slice() const { + return type_ == TensorIndexType::Slice; + } + + inline const Slice& slice() const { + return slice_; + } + + inline bool is_tensor() const { + return type_ == TensorIndexType::Tensor; + } + + inline const Tensor& tensor() const { + return tensor_; + } + + private: + SymInt integer_ = 0; + bool boolean_ = false; + Slice slice_; + Tensor tensor_; + TensorIndexType type_; +}; + +TORCH_API std::ostream& operator<<( + std::ostream& stream, + const TensorIndex& tensor_index); +TORCH_API std::ostream& operator<<( + std::ostream& stream, + const std::vector& tensor_indices); + +namespace impl { +static inline Tensor applySlice( + const Tensor& self, + int64_t dim, + c10::SymInt start, + c10::SymInt stop, + c10::SymInt step, + bool disable_slice_optimization, + const at::Device& self_device, + const c10::optional& self_sizes) { + // TODO: implement negative step + TORCH_CHECK_VALUE(step > 0, "step must be greater than zero"); + + // See NOTE [nested tensor size for indexing] + if (self_sizes.has_value()) { + // Skip this optimization if we are tracing, as the trace may be polymorphic + // over the shape of the `self` tensor, and we still want to record + // the slice. + SymInt length = (self_device == at::kCPU || self_device == at::kCUDA) + ? (*self_sizes)[dim] + : self.sym_size(dim); + if (!disable_slice_optimization && + TORCH_GUARD_SIZE_OBLIVIOUS(start.sym_eq(0)) && length == stop && + step == 1) { + return self; + } + } + return self.slice_symint( + dim, std::move(start), std::move(stop), std::move(step)); +} + +static inline Tensor applySelect( + const Tensor& self, + int64_t dim, + SymInt index, + int64_t real_dim, + const at::Device& /*self_device*/, + const c10::optional& self_sizes) { + // See NOTE [nested tensor size for indexing] + if (self_sizes.has_value()) { + auto maybe_index = index.maybe_as_int(); + if (maybe_index.has_value()) { + TORCH_CHECK_INDEX( + !(maybe_index.value() == 0 && dim == 0 && self_sizes->empty()), + "invalid index of a 0-dim tensor. ", + "Use `tensor.item()` in Python or `tensor.item()` in C++ to convert a 0-dim tensor to a number"); + } + + auto size = (*self_sizes)[dim]; + // Note: `size >= -index` is not equivalent to `size > -1 - index` if index + // is INT64_MIN For std::numeric_limits::min() result of unary + // minus is undefined by the standard but in practice is equal to self. On + // the other hand, indexing wraping is valid for all negative int64_t + // values, as x[INT64_MIN] is the same as x[INT64_MAX] + TORCH_CHECK_INDEX( + size > -1 - index && size > index, + "index ", + index, + " is out of bounds for dimension ", + real_dim, + " with size ", + size); + } + + // if the index is negative, do not normalize it because that would fix the + // index on the current tensor size in the tracer. aten::select also works on + // negative indices + return self.select_symint(dim, std::move(index)); +} + +static inline Tensor boolToIndexingTensorCPUOrCUDA( + const Tensor& self, + bool value) { + // booleans add a dimension of size 1. true indexes this dimension as if 0:, + // false as empty. + if (value) { + return at::empty({1}, self.options().dtype(kLong)).fill_(0.); + } else { + return at::empty({0}, self.options().dtype(kLong)); + } +} + +static inline Tensor boolToIndexingTensorNonNativeDeviceType( + const Tensor& self, + bool value) { + // booleans add a dimension of size 1. true indexes this dimension as if 0:, + // false as empty. + if (value) { + return at::zeros({1}, self.options().dtype(kLong)); + } else { + return at::empty({0}, self.options().dtype(kLong)); + } +} + +static inline Tensor boolToIndexingTensor( + const Tensor& self, + bool value, + const at::Device& self_device) { + if (self_device == at::kCPU || self_device == at::kCUDA) { + return boolToIndexingTensorCPUOrCUDA(self, value); + } else { + return boolToIndexingTensorNonNativeDeviceType(self, value); + } +} + +static inline Tensor scalarToTensorNonNativeDeviceType( + const Scalar& v, + const TensorOptions& options) { + return at::scalar_tensor(v, options); +} + +static inline void recordTensorIndex( + const Tensor& tensor, + std::vector& outIndices, + int64_t* dim_ptr) { + // TODO: check scalarType + outIndices.resize(*dim_ptr + 1); + outIndices[*dim_ptr] = tensor; + (*dim_ptr)++; +}; + +static inline c10::List> typeConvertIndices( + const Tensor& /*self*/, + std::vector&& indices) { + c10::List> converted_inds; + converted_inds.reserve(indices.size()); + for (auto&& i : std::move(indices)) { + converted_inds.push_back(std::move(i)); + } + return converted_inds; +} + +// NOTE: Why do we mirror instead of replace the `count_specified_dimensions` +// function in torch/csrc/autograd/python_variable_indexing.cpp? It's because +// `count_specified_dimensions` is on the hot path of Python tensor multi-dim +// indexing (i.e. it's called by `applySlicing` which is called by +// `THPVariable_getitem` / `THPVariable_setitem` when handling indexing of more +// than one dimension). If we were to merge the Python/C++ +// `count_specified_dimensions` function, on the Python side we would have to +// construct a `std::vector` container to be consumed by the C++ +// `count_specified_dimensions` function, which adds 100s of nanoseconds +// overhead and is undesirable. +static inline int64_t count_specified_dimensions( + const ArrayRef& indices) { + // Count the number of indexed dimensions (everything but ellipsis and None) + int64_t count = 0; + for (auto& obj : indices) { + if (obj.is_tensor()) { + auto& tensor = obj.tensor(); + if (tensor.scalar_type() == kByte || tensor.scalar_type() == kBool) { + count += tensor.dim(); + } else { + count++; + } + } else if (!obj.is_none() && !obj.is_ellipsis() && !obj.is_boolean()) { + count++; + } + } + return count; +} +} // namespace impl + +// NOTE: Many functions below are only for consumption from Python indexing +// implementation, they include: +// +// - `Tensor scalarToTensor(...)` +// - `IntArrayRef slicePrefix1sSize(...)` +// - `void copy_to(...)` +// - `Tensor handleDimInMultiDimIndexing(...)` +// - `Tensor dispatch_index(...)` +// - `Tensor dispatch_index_put_(...)` +// - `Tensor get_item(...)` +// - `void set_item(...)` +// +// The rest of the functions are in `at::indexing::impl` namespace, signifying +// that they shouldn't be used from Python indexing implementation. +static inline Tensor scalarToTensor( + const Scalar& v, + const TensorOptions& options, + const at::Device& self_device) { + if (self_device == at::kCPU && !v.isSymbolic()) { + return at::detail::scalar_tensor_static( + v, options.dtype_opt()->toScalarType(), self_device); + } else { + return impl::scalarToTensorNonNativeDeviceType(v, options); + } +} + +// To match numpy semantics: +// As a special case for backwards compatibility, +// strip away unit dimensions from the left of 'src' +static inline SymIntArrayRef slicePrefix1sSize(const SymIntArrayRef& sizes) { + size_t first_non1_src = sizes.size(); + for (const auto i : c10::irange(sizes.size())) { + // Unbacked SymInt has different behavior, but this is sound because + // failing to slice will only ever cause an error, not divergent + // behavior + if (!sizes[i].has_hint() || sizes[i] != 1) { + first_non1_src = i; + break; + } + } + + return sizes.slice(first_non1_src); +} + +static inline void copy_to(const Tensor& dst, const Tensor& src) { + if (dst.sym_sizes().equals(src.sym_sizes())) { + // A shortcut to avoid generating hard-coded constant sizes during tracing. + // This is not a perfect solution: when src & dst have different shapes, + // constants will still appear. Users can workaround that case by + // dst[index..] = src.reshape(..) + dst.copy_(src); + return; + } else if (src.dim() == 0 && src.device().type() == at::kCPU) { + dst.fill_(src); + return; + } + auto src_view = src.view_symint(slicePrefix1sSize(src.sym_sizes())); + c10::MaybeOwned b_src = expand_inplace(dst, src_view, "setitem"); + dst.copy_(*b_src); +} + +// See NOTE [ Setting `disable_slice_optimization` when calling C++ tensor +// indexing functions from Python ] +static inline Tensor handleDimInMultiDimIndexing( + const Tensor& prev_dim_result, + const Tensor& original_tensor, + const TensorIndex& index, + int64_t* dim_ptr, + int64_t* specified_dims_ptr, + int64_t real_dim, + std::vector& outIndices, + bool disable_slice_optimization, + const at::Device& original_tensor_device, + const c10::optional& prev_dim_result_sizes) { + if (index.is_integer()) { + return impl::applySelect( + prev_dim_result, + *dim_ptr, + index.integer(), + real_dim, + original_tensor_device, + prev_dim_result_sizes); + } else if (index.is_slice()) { + Tensor result = impl::applySlice( + prev_dim_result, + *dim_ptr, + index.slice().start(), + index.slice().stop(), + index.slice().step(), + /*disable_slice_optimization=*/disable_slice_optimization, + original_tensor_device, + prev_dim_result_sizes); + (*dim_ptr)++; + return result; + } else if (index.is_ellipsis()) { + (*dim_ptr) += original_tensor.dim() - (*specified_dims_ptr); + return prev_dim_result; + } else if (index.is_none()) { + Tensor result = prev_dim_result.unsqueeze(*dim_ptr); + (*dim_ptr)++; + return result; + } else if (index.is_boolean()) { + Tensor result = prev_dim_result.unsqueeze(*dim_ptr); + impl::recordTensorIndex( + impl::boolToIndexingTensor( + result, index.boolean(), original_tensor_device), + outIndices, + dim_ptr); + return result; + } else if (index.is_tensor()) { + Tensor result = prev_dim_result; + const Tensor& tensor = index.tensor(); + auto scalar_type = tensor.scalar_type(); + if (tensor.dim() == 0 && + at::isIntegralType(scalar_type, /*includeBool=*/true)) { + if (scalar_type != at::kByte && scalar_type != at::kBool) { + result = impl::applySelect( + result, + *dim_ptr, + tensor.item(), + real_dim, + original_tensor_device, + prev_dim_result_sizes); + } else { + result = result.unsqueeze(*dim_ptr); + if (scalar_type == at::kBool) { + impl::recordTensorIndex( + impl::boolToIndexingTensor( + result, tensor.item() != 0, original_tensor_device), + outIndices, + dim_ptr); + } else { + impl::recordTensorIndex( + impl::boolToIndexingTensor( + result, tensor.item() != 0, original_tensor_device), + outIndices, + dim_ptr); + } + } + } else { + impl::recordTensorIndex(tensor, outIndices, dim_ptr); + } + return result; + } else { + TORCH_INTERNAL_ASSERT(false, "Invalid TensorIndex type"); + } +} + +namespace impl { +// This mirrors `applySlicing` in +// torch/csrc/autograd/python_variable_indexing.cpp +static inline Tensor applySlicing( + const Tensor& self, + const ArrayRef& indices, + std::vector& outIndices, + bool disable_slice_optimization, + const at::Device& self_device, + const c10::optional& self_sizes) { + int64_t dim = 0; + int64_t specified_dims = impl::count_specified_dimensions(indices); + + // See NOTE [nested tensor size for indexing] + if (self_sizes.has_value()) { + TORCH_CHECK_INDEX( + specified_dims <= (int64_t)self_sizes->size(), + "too many indices for tensor of dimension ", + (int)self_sizes->size()); + } + + Tensor result = self; + for (const auto i : c10::irange(indices.size())) { + auto& obj = indices[i]; + // See NOTE [nested tensor size for indexing] + c10::optional result_sizes = result.is_nested() + ? c10::optional(c10::nullopt) + : c10::optional(result.sym_sizes()); + result = handleDimInMultiDimIndexing( + /*prev_dim_result=*/result, + /*original_tensor=*/self, + /*index=*/obj, + /*dim_ptr=*/&dim, + /*specified_dims_ptr=*/&specified_dims, + /*real_dim=*/static_cast(i), + /*outIndices=*/outIndices, + /*disable_slice_optimization=*/disable_slice_optimization, + /*original_tensor_device=*/self_device, + /*prev_dim_result_sizes=*/result_sizes); + } + return result; +} +} // namespace impl + +static inline Tensor dispatch_index( + const Tensor& self, + std::vector&& indices) { + return self.index(impl::typeConvertIndices(self, std::move(indices))); +} + +static inline Tensor dispatch_index_put_( + Tensor& self, + std::vector&& indices, + const Tensor& value) { + return self.index_put_( + impl::typeConvertIndices(self, std::move(indices)), value); +} + +// NOTE [ Setting `disable_slice_optimization` when calling C++ tensor indexing +// functions from Python ] +// +// Question: When should we set `disable_slice_optimization` to `true` when +// calling C++ tensor indexing functions from Python indexing code? +// +// Answer: What "slice optimization" means: when we have a slicing expression +// like `x[0:5, 0]`, where the sliced tensor was of size 5 in dimension 0, we +// would skip dispatching the actual slice call as an optimization. However, +// here are the cases where we DON'T want this optimization: +// +// 1. When we are doing 1-D slicing (e.g. `tensor[:]`). +// Reason: we always return a shallow copy for expressions such as +// `tensor[:]` / `tensor[...]` / `tensor[:, :]`. (Note that for `tensor[:, +// :]`, we return an alias of `tensor` by doing the following: +// ``` +// Tensor sliced = impl::applySlicing(self, indices, tensorIndices, +// disable_slice_optimization, self_device, self_sizes); if +// (tensorIndices.empty()) { +// if (sliced.is_same(self)) { +// // ensure we return a shallow copy for things like x[...] +// sliced = at::alias(sliced); +// } +// return sliced; +// } +// ```) +// 2. When we are doing JIT tracing. +// Reason: JIT tracing needs the `self.slice(...)` call to properly trace the +// slice operation. + +// This mirrors `THPVariable_getitem` in +// torch/csrc/autograd/python_variable_indexing.cpp See NOTE [ Setting +// `disable_slice_optimization` when calling C++ tensor indexing functions from +// Python ] +static inline Tensor get_item( + const Tensor& self, + const ArrayRef& indices, + bool disable_slice_optimization = false) { + at::Device self_device = self.device(); + // NOTE [nested tensor size for indexing] + // nested tensor does not have a size (yet) so for now we represent its size + // as null may need to be changed after we reach a better solution for nested + // tensor size + c10::optional self_sizes = self.is_nested() + ? c10::optional(c10::nullopt) + : c10::optional(self.sym_sizes()); + + // handle simple types: integers, slices, none, ellipsis, bool + if (indices.size() == 1) { + const TensorIndex& index = indices[0]; + if (index.is_integer()) { + return impl::applySelect( + self, 0, index.integer(), 0, self_device, self_sizes); + } else if (index.is_slice()) { + return impl::applySlice( + self, + 0, + index.slice().start(), + index.slice().stop(), + index.slice().step(), + /*disable_slice_optimization=*/true, + self_device, + self_sizes); + } else if (index.is_none()) { + return self.unsqueeze(0); + } else if (index.is_ellipsis()) { + return at::alias(self); + } else if (index.is_boolean()) { + Tensor result = self.unsqueeze(0); + return dispatch_index( + result, + std::vector{impl::boolToIndexingTensor( + result, index.boolean(), self_device)}); + } + } + + std::vector tensorIndices; + Tensor sliced = impl::applySlicing( + self, + indices, + tensorIndices, + disable_slice_optimization, + self_device, + self_sizes); + if (tensorIndices.empty()) { + if (sliced.is_same(self)) { + // ensure we return a shallow copy for things like x[...] + sliced = at::alias(sliced); + } + return sliced; + } + + // indexing by tensors ("advanced" indexing) + return dispatch_index(sliced, std::move(tensorIndices)); +} + +// This mirrors `THPVariable_setitem` in +// torch/csrc/autograd/python_variable_indexing.cpp for "the assigned value is a +// Tensor" case See NOTE [ Setting `disable_slice_optimization` when calling C++ +// tensor indexing functions from Python ] +static inline void set_item( + const Tensor& self, + const ArrayRef& indices, + const Tensor& value, + bool disable_slice_optimization = false) { + at::Device self_device = self.device(); + SymIntArrayRef self_sizes = self.sym_sizes(); + + // handle simple types: integers, slices, ellipsis, bool + if (indices.size() == 1) { + const TensorIndex& index = indices[0]; + if (index.is_boolean() && !index.boolean()) { + // do nothing for false (technically we should check the size, but we + // don't have real 0-sized shapes. + return; + } else if (index.is_ellipsis()) { + copy_to(self, value); + return; + } else if (index.is_none() || (index.is_boolean() && index.boolean())) { + copy_to(self.unsqueeze(0), value); + return; + } else if (index.is_integer()) { + copy_to( + impl::applySelect( + self, 0, index.integer(), 0, self_device, self_sizes), + value); + return; + } else if (index.is_slice()) { + copy_to( + impl::applySlice( + self, + 0, + index.slice().start(), + index.slice().stop(), + index.slice().step(), + /*disable_slice_optimization=*/disable_slice_optimization, + self_device, + self_sizes), + value); + return; + } + } + + std::vector tensorIndices; + Tensor sliced = impl::applySlicing( + self, + indices, + tensorIndices, + disable_slice_optimization, + self_device, + self_sizes); + if (tensorIndices.empty()) { + copy_to(sliced, value); + return; + } + + SymIntArrayRef valueSizes = value.sym_sizes(); + SymIntArrayRef slicedValueSizes = slicePrefix1sSize(valueSizes); + Tensor valuesSliced; + if (!valueSizes.equals(slicedValueSizes)) { + valuesSliced = value.view_symint(slicedValueSizes); + } else { + valuesSliced = value; + } + dispatch_index_put_(sliced, std::move(tensorIndices), valuesSliced); + return; +} + +} // namespace at::indexing diff --git a/shared/package-files/70/7027e214e014eb78b7adcc1ceda5aca713a79fc4f6a0c52c9da5b3e707e6ffe9/LICENSE b/shared/package-files/70/7027e214e014eb78b7adcc1ceda5aca713a79fc4f6a0c52c9da5b3e707e6ffe9/LICENSE new file mode 100644 index 0000000000000000000000000000000000000000..04b6b1f37c4dffb82942cdcc2b77092798ca4aa2 --- /dev/null +++ b/shared/package-files/70/7027e214e014eb78b7adcc1ceda5aca713a79fc4f6a0c52c9da5b3e707e6ffe9/LICENSE @@ -0,0 +1,22 @@ +Copyright 2006 Dan-Haim. All rights reserved. + +Redistribution and use in source and binary forms, with or without modification, +are permitted provided that the following conditions are met: +1. Redistributions of source code must retain the above copyright notice, this + list of conditions and the following disclaimer. +2. Redistributions in binary form must reproduce the above copyright notice, + this list of conditions and the following disclaimer in the documentation + and/or other materials provided with the distribution. +3. Neither the name of Dan Haim nor the names of his contributors may be used + to endorse or promote products derived from this software without specific + prior written permission. + +THIS SOFTWARE IS PROVIDED BY DAN HAIM "AS IS" AND ANY EXPRESS OR IMPLIED +WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF +MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO +EVENT SHALL DAN HAIM OR HIS CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, +INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT +LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA +OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF +LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT +OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMANGE. diff --git a/shared/package-files/70/7030af71573f6b768fcc3356297ff70875000d0d12a4015ec8db1e8db404744f/test_iterative.py b/shared/package-files/70/7030af71573f6b768fcc3356297ff70875000d0d12a4015ec8db1e8db404744f/test_iterative.py new file mode 100644 index 0000000000000000000000000000000000000000..7daff5fc854a0a53fea80f7e5d7fde8736ceb2e7 --- /dev/null +++ b/shared/package-files/70/7030af71573f6b768fcc3356297ff70875000d0d12a4015ec8db1e8db404744f/test_iterative.py @@ -0,0 +1,809 @@ +""" Test functions for the sparse.linalg._isolve module +""" + +import itertools +import platform +import pytest + +import numpy as np +from numpy.testing import assert_array_equal, assert_allclose +from numpy import zeros, arange, array, ones, eye, iscomplexobj +from numpy.linalg import norm + +from scipy.sparse import dia_array, csr_array, kronsum + +from scipy.sparse.linalg import LinearOperator, aslinearoperator +from scipy.sparse.linalg._isolve import (bicg, bicgstab, cg, cgs, + gcrotmk, gmres, lgmres, + minres, qmr, tfqmr) + +# TODO check that method preserve shape and type +# TODO test both preconditioner methods + + +# list of all solvers under test +_SOLVERS = [bicg, bicgstab, cg, cgs, gcrotmk, gmres, lgmres, + minres, qmr, tfqmr] + +CB_TYPE_FILTER = ".*called without specifying `callback_type`.*" + + +# create parametrized fixture for easy reuse in tests +@pytest.fixture(params=_SOLVERS, scope="session") +def solver(request): + """ + Fixture for all solvers in scipy.sparse.linalg._isolve + """ + return request.param + + +class Case: + def __init__(self, name, A, b=None, skip=None, nonconvergence=None): + self.name = name + self.A = A + if b is None: + self.b = arange(A.shape[0], dtype=float) + else: + self.b = b + if skip is None: + self.skip = [] + else: + self.skip = skip + if nonconvergence is None: + self.nonconvergence = [] + else: + self.nonconvergence = nonconvergence + + +class SingleTest: + def __init__(self, A, b, solver, casename, convergence=True): + self.A = A + self.b = b + self.solver = solver + self.name = casename + '-' + solver.__name__ + self.convergence = convergence + + def __repr__(self): + return f"<{self.name}>" + + +class IterativeParams: + def __init__(self): + sym_solvers = [minres, cg] + posdef_solvers = [cg] + real_solvers = [minres] + + # list of Cases + self.cases = [] + + # Symmetric and Positive Definite + N = 40 + data = ones((3, N)) + data[0, :] = 2 + data[1, :] = -1 + data[2, :] = -1 + Poisson1D = dia_array((data, [0, -1, 1]), shape=(N, N)).tocsr() + self.cases.append(Case("poisson1d", Poisson1D)) + # note: minres fails for single precision + self.cases.append(Case("poisson1d-F", Poisson1D.astype('f'), + skip=[minres])) + + # Symmetric and Negative Definite + self.cases.append(Case("neg-poisson1d", -Poisson1D, + skip=posdef_solvers)) + # note: minres fails for single precision + self.cases.append(Case("neg-poisson1d-F", (-Poisson1D).astype('f'), + skip=posdef_solvers + [minres])) + + # 2-dimensional Poisson equations + Poisson2D = kronsum(Poisson1D, Poisson1D) + # note: minres fails for 2-d poisson problem, + # it will be fixed in the future PR + self.cases.append(Case("poisson2d", Poisson2D, skip=[minres])) + # note: minres fails for single precision + self.cases.append(Case("poisson2d-F", Poisson2D.astype('f'), + skip=[minres])) + + # Symmetric and Indefinite + data = array([[6, -5, 2, 7, -1, 10, 4, -3, -8, 9]], dtype='d') + RandDiag = dia_array((data, [0]), shape=(10, 10)).tocsr() + self.cases.append(Case("rand-diag", RandDiag, skip=posdef_solvers)) + self.cases.append(Case("rand-diag-F", RandDiag.astype('f'), + skip=posdef_solvers)) + + # Random real-valued + rng = np.random.RandomState(1234) + data = rng.rand(4, 4) + self.cases.append(Case("rand", data, + skip=posdef_solvers + sym_solvers)) + self.cases.append(Case("rand-F", data.astype('f'), + skip=posdef_solvers + sym_solvers)) + + # Random symmetric real-valued + rng = np.random.RandomState(1234) + data = rng.rand(4, 4) + data = data + data.T + self.cases.append(Case("rand-sym", data, skip=posdef_solvers)) + self.cases.append(Case("rand-sym-F", data.astype('f'), + skip=posdef_solvers)) + + # Random pos-def symmetric real + np.random.seed(1234) + data = np.random.rand(9, 9) + data = np.dot(data.conj(), data.T) + self.cases.append(Case("rand-sym-pd", data)) + # note: minres fails for single precision + self.cases.append(Case("rand-sym-pd-F", data.astype('f'), + skip=[minres])) + + # Random complex-valued + rng = np.random.RandomState(1234) + data = rng.rand(4, 4) + 1j * rng.rand(4, 4) + skip_cmplx = posdef_solvers + sym_solvers + real_solvers + self.cases.append(Case("rand-cmplx", data, skip=skip_cmplx)) + self.cases.append(Case("rand-cmplx-F", data.astype('F'), + skip=skip_cmplx)) + + # Random hermitian complex-valued + rng = np.random.RandomState(1234) + data = rng.rand(4, 4) + 1j * rng.rand(4, 4) + data = data + data.T.conj() + self.cases.append(Case("rand-cmplx-herm", data, + skip=posdef_solvers + real_solvers)) + self.cases.append(Case("rand-cmplx-herm-F", data.astype('F'), + skip=posdef_solvers + real_solvers)) + + # Random pos-def hermitian complex-valued + rng = np.random.RandomState(1234) + data = rng.rand(9, 9) + 1j * rng.rand(9, 9) + data = np.dot(data.conj(), data.T) + self.cases.append(Case("rand-cmplx-sym-pd", data, skip=real_solvers)) + self.cases.append(Case("rand-cmplx-sym-pd-F", data.astype('F'), + skip=real_solvers)) + + # Non-symmetric and Positive Definite + # + # cgs, qmr, bicg and tfqmr fail to converge on this one + # -- algorithmic limitation apparently + data = ones((2, 10)) + data[0, :] = 2 + data[1, :] = -1 + A = dia_array((data, [0, -1]), shape=(10, 10)).tocsr() + self.cases.append(Case("nonsymposdef", A, + skip=sym_solvers + [cgs, qmr, bicg, tfqmr])) + self.cases.append(Case("nonsymposdef-F", A.astype('F'), + skip=sym_solvers + [cgs, qmr, bicg, tfqmr])) + + # Symmetric, non-pd, hitting cgs/bicg/bicgstab/qmr/tfqmr breakdown + A = np.array([[0, 0, 0, 0, 0, 1, -1, -0, -0, -0, -0], + [0, 0, 0, 0, 0, 2, -0, -1, -0, -0, -0], + [0, 0, 0, 0, 0, 2, -0, -0, -1, -0, -0], + [0, 0, 0, 0, 0, 2, -0, -0, -0, -1, -0], + [0, 0, 0, 0, 0, 1, -0, -0, -0, -0, -1], + [1, 2, 2, 2, 1, 0, -0, -0, -0, -0, -0], + [-1, 0, 0, 0, 0, 0, -1, -0, -0, -0, -0], + [0, -1, 0, 0, 0, 0, -0, -1, -0, -0, -0], + [0, 0, -1, 0, 0, 0, -0, -0, -1, -0, -0], + [0, 0, 0, -1, 0, 0, -0, -0, -0, -1, -0], + [0, 0, 0, 0, -1, 0, -0, -0, -0, -0, -1]], dtype=float) + b = np.array([0, 0, 0, 0, 0, 1, 0, 0, 0, 0, 0], dtype=float) + assert (A == A.T).all() + self.cases.append(Case("sym-nonpd", A, b, + skip=posdef_solvers, + nonconvergence=[cgs, bicg, bicgstab, qmr, tfqmr] + ) + ) + + def generate_tests(self): + # generate test cases with skips applied + tests = [] + for case in self.cases: + for solver in _SOLVERS: + if (solver in case.skip): + continue + if solver in case.nonconvergence: + tests += [SingleTest(case.A, case.b, solver, case.name, + convergence=False)] + else: + tests += [SingleTest(case.A, case.b, solver, case.name)] + return tests + + +cases = IterativeParams().generate_tests() + + +@pytest.fixture(params=cases, ids=[x.name for x in cases], scope="module") +def case(request): + """ + Fixture for all cases in IterativeParams + """ + return request.param + +@pytest.mark.thread_unsafe +def test_maxiter(case): + if not case.convergence: + pytest.skip("Solver - Breakdown case, see gh-8829") + A = case.A + rtol = 1e-12 + + b = case.b + x0 = 0 * b + + residuals = [] + + def callback(x): + if x.ndim == 0: + residuals.append(norm(b - case.A * x)) + else: + residuals.append(norm(b - case.A @ x)) + + if case.solver == gmres: + with pytest.warns(DeprecationWarning, match=CB_TYPE_FILTER): + x, info = case.solver(A, b, x0=x0, rtol=rtol, maxiter=1, callback=callback) + else: + x, info = case.solver(A, b, x0=x0, rtol=rtol, maxiter=1, callback=callback) + + assert len(residuals) == 1 + assert info == 1 + + +def test_convergence(case): + A = case.A + + if A.dtype.char in "dD": + rtol = 1e-8 + else: + rtol = 1e-2 + + b = case.b + x0 = 0 * b + + x, info = case.solver(A, b, x0=x0, rtol=rtol) + + assert_array_equal(x0, 0 * b) # ensure that x0 is not overwritten + if case.convergence: + assert info == 0 + assert norm(A @ x - b) <= norm(b) * rtol + else: + assert info != 0 + assert norm(A @ x - b) <= norm(b) + + +def test_precond_dummy(case): + if not case.convergence: + pytest.skip("Solver - Breakdown case, see gh-8829") + + rtol = 1e-8 + + def identity(b, which=None): + """trivial preconditioner""" + return b + + A = case.A + + M, N = A.shape + # Ensure the diagonal elements of A are non-zero before calculating + # 1.0/A.diagonal() + diagOfA = A.diagonal() + if np.count_nonzero(diagOfA) == len(diagOfA): + dia_array(([1.0 / diagOfA], [0]), shape=(M, N)) + + b = case.b + x0 = 0 * b + + precond = LinearOperator(A.shape, identity, rmatvec=identity) + + if case.solver is qmr: + x, info = case.solver(A, b, M1=precond, M2=precond, x0=x0, rtol=rtol) + else: + x, info = case.solver(A, b, M=precond, x0=x0, rtol=rtol) + assert info == 0 + assert norm(A @ x - b) <= norm(b) * rtol + + A = aslinearoperator(A) + A.psolve = identity + A.rpsolve = identity + + x, info = case.solver(A, b, x0=x0, rtol=rtol) + assert info == 0 + assert norm(A @ x - b) <= norm(b) * rtol + + +# Specific test for poisson1d and poisson2d cases +@pytest.mark.fail_slow(10) +@pytest.mark.parametrize('case', [x for x in IterativeParams().cases + if x.name in ('poisson1d', 'poisson2d')], + ids=['poisson1d', 'poisson2d']) +def test_precond_inverse(case): + for solver in _SOLVERS: + if solver in case.skip or solver is qmr: + continue + + rtol = 1e-8 + + def inverse(b, which=None): + """inverse preconditioner""" + A = case.A + if not isinstance(A, np.ndarray): + A = A.toarray() + return np.linalg.solve(A, b) + + def rinverse(b, which=None): + """inverse preconditioner""" + A = case.A + if not isinstance(A, np.ndarray): + A = A.toarray() + return np.linalg.solve(A.T, b) + + matvec_count = [0] + + def matvec(b): + matvec_count[0] += 1 + return case.A @ b + + def rmatvec(b): + matvec_count[0] += 1 + return case.A.T @ b + + b = case.b + x0 = 0 * b + + A = LinearOperator(case.A.shape, matvec, rmatvec=rmatvec) + precond = LinearOperator(case.A.shape, inverse, rmatvec=rinverse) + + # Solve with preconditioner + matvec_count = [0] + x, info = solver(A, b, M=precond, x0=x0, rtol=rtol) + + assert info == 0 + assert norm(case.A @ x - b) <= norm(b) * rtol + + # Solution should be nearly instant + assert matvec_count[0] <= 3 + + +def test_atol(solver): + # TODO: minres / tfqmr. It didn't historically use absolute tolerances, so + # fixing it is less urgent. + if solver in (minres, tfqmr): + pytest.skip("TODO: Add atol to minres/tfqmr") + + # Historically this is tested as below, all pass but for some reason + # gcrotmk is over-sensitive to difference between random.seed/rng.random + # Hence tol lower bound is changed from -10 to -9 + # np.random.seed(1234) + # A = np.random.rand(10, 10) + # A = A @ A.T + 10 * np.eye(10) + # b = 1e3*np.random.rand(10) + + rng = np.random.default_rng(168441431005389) + A = rng.uniform(size=[10, 10]) + A = A @ A.T + 10*np.eye(10) + b = 1e3 * rng.uniform(size=10) + + b_norm = np.linalg.norm(b) + + tols = np.r_[0, np.logspace(-9, 2, 7), np.inf] + + # Check effect of badly scaled preconditioners + M0 = rng.standard_normal(size=(10, 10)) + M0 = M0 @ M0.T + Ms = [None, 1e-6 * M0, 1e6 * M0] + + for M, rtol, atol in itertools.product(Ms, tols, tols): + if rtol == 0 and atol == 0: + continue + + if solver is qmr: + if M is not None: + M = aslinearoperator(M) + M2 = aslinearoperator(np.eye(10)) + else: + M2 = None + x, info = solver(A, b, M1=M, M2=M2, rtol=rtol, atol=atol) + else: + x, info = solver(A, b, M=M, rtol=rtol, atol=atol) + + assert info == 0 + residual = A @ x - b + err = np.linalg.norm(residual) + atol2 = rtol * b_norm + # Added 1.00025 fudge factor because of `err` exceeding `atol` just + # very slightly on s390x (see gh-17839) + assert err <= 1.00025 * max(atol, atol2) + + +def test_zero_rhs(solver): + rng = np.random.default_rng(1684414984100503) + A = rng.random(size=[10, 10]) + A = A @ A.T + 10 * np.eye(10) + + b = np.zeros(10) + tols = np.r_[np.logspace(-10, 2, 7)] + + for tol in tols: + x, info = solver(A, b, rtol=tol) + assert info == 0 + assert_allclose(x, 0., atol=1e-15) + + x, info = solver(A, b, rtol=tol, x0=ones(10)) + assert info == 0 + assert_allclose(x, 0., atol=tol) + + if solver is not minres: + x, info = solver(A, b, rtol=tol, atol=0, x0=ones(10)) + if info == 0: + assert_allclose(x, 0) + + x, info = solver(A, b, rtol=tol, atol=tol) + assert info == 0 + assert_allclose(x, 0, atol=1e-300) + + x, info = solver(A, b, rtol=tol, atol=0) + assert info == 0 + assert_allclose(x, 0, atol=1e-300) + + +@pytest.mark.xfail(reason="see gh-18697") +def test_maxiter_worsening(solver): + if solver not in (gmres, lgmres, qmr): + # these were skipped from the very beginning, see gh-9201; gh-14160 + pytest.skip("Solver breakdown case") + # Check error does not grow (boundlessly) with increasing maxiter. + # This can occur due to the solvers hitting close to breakdown, + # which they should detect and halt as necessary. + # cf. gh-9100 + if (solver is lgmres and + platform.machine() not in ['x86_64' 'x86', 'aarch64', 'arm64']): + # see gh-17839 + pytest.xfail(reason="fails on at least ppc64le, ppc64 and riscv64") + + # Singular matrix, rhs numerically not in range + A = np.array([[-0.1112795288033378, 0, 0, 0.16127952880333685], + [0, -0.13627952880333782 + 6.283185307179586j, 0, 0], + [0, 0, -0.13627952880333782 - 6.283185307179586j, 0], + [0.1112795288033368, 0j, 0j, -0.16127952880333785]]) + v = np.ones(4) + best_error = np.inf + + # Unable to match the Fortran code tolerance levels with this example + # Original tolerance values + + # slack_tol = 7 if platform.machine() == 'aarch64' else 5 + slack_tol = 9 + + for maxiter in range(1, 20): + x, info = solver(A, v, maxiter=maxiter, rtol=1e-8, atol=0) + + if info == 0: + assert norm(A @ x - v) <= 1e-8 * norm(v) + + error = np.linalg.norm(A @ x - v) + best_error = min(best_error, error) + + # Check with slack + assert error <= slack_tol * best_error + + +def test_x0_working(solver): + # Easy problem + rng = np.random.default_rng(1685363802304750) + n = 10 + A = rng.random(size=[n, n]) + A = A @ A.T + b = rng.random(n) + x0 = rng.random(n) + + if solver is minres: + kw = dict(rtol=1e-6) + else: + kw = dict(atol=0, rtol=1e-6) + + x, info = solver(A, b, **kw) + assert info == 0 + assert norm(A @ x - b) <= 1e-6 * norm(b) + + x, info = solver(A, b, x0=x0, **kw) + assert info == 0 + assert norm(A @ x - b) <= 4.5e-6*norm(b) + + +def test_x0_equals_Mb(case): + if (case.solver is bicgstab) and (case.name == 'nonsymposdef-bicgstab'): + pytest.skip("Solver fails due to numerical noise " + "on some architectures (see gh-15533).") + if case.solver is tfqmr: + pytest.skip("Solver does not support x0='Mb'") + + A = case.A + b = case.b + x0 = 'Mb' + rtol = 1e-8 + x, info = case.solver(A, b, x0=x0, rtol=rtol) + + assert_array_equal(x0, 'Mb') # ensure that x0 is not overwritten + assert info == 0 + assert norm(A @ x - b) <= rtol * norm(b) + + +@pytest.mark.parametrize('solver', _SOLVERS) +def test_x0_solves_problem_exactly(solver): + # See gh-19948 + mat = np.eye(2) + rhs = np.array([-1., -1.]) + + sol, info = solver(mat, rhs, x0=rhs) + assert_allclose(sol, rhs) + assert info == 0 + + +# Specific tfqmr test +@pytest.mark.thread_unsafe +@pytest.mark.parametrize('case', IterativeParams().cases) +def test_show(case, capsys): + def cb(x): + pass + + x, info = tfqmr(case.A, case.b, callback=cb, show=True) + out, err = capsys.readouterr() + + if case.name == "sym-nonpd": + # no logs for some reason + exp = "" + elif case.name in ("nonsymposdef", "nonsymposdef-F"): + # Asymmetric and Positive Definite + exp = "TFQMR: Linear solve not converged due to reach MAXIT iterations" + else: # all other cases + exp = "TFQMR: Linear solve converged due to reach TOL iterations" + + assert out.startswith(exp) + assert err == "" + + +def test_positional_error(solver): + # from test_x0_working + rng = np.random.default_rng(1685363802304750) + n = 10 + A = rng.random(size=[n, n]) + A = A @ A.T + b = rng.random(n) + x0 = rng.random(n) + with pytest.raises(TypeError): + solver(A, b, x0, 1e-5) + + +@pytest.mark.parametrize("atol", ["legacy", None, -1]) +def test_invalid_atol(solver, atol): + if solver == minres: + pytest.skip("minres has no `atol` argument") + # from test_x0_working + rng = np.random.default_rng(1685363802304750) + n = 10 + A = rng.random(size=[n, n]) + A = A @ A.T + b = rng.random(n) + x0 = rng.random(n) + with pytest.raises(ValueError): + solver(A, b, x0, atol=atol) + + +class TestQMR: + @pytest.mark.filterwarnings('ignore::scipy.sparse.SparseEfficiencyWarning') + def test_leftright_precond(self): + """Check that QMR works with left and right preconditioners""" + + from scipy.sparse.linalg._dsolve import splu + from scipy.sparse.linalg._interface import LinearOperator + + n = 100 + + dat = ones(n) + A = dia_array(([-2 * dat, 4 * dat, -dat], [-1, 0, 1]), shape=(n, n)) + b = arange(n, dtype='d') + + L = dia_array(([-dat / 2, dat], [-1, 0]), shape=(n, n)) + U = dia_array(([4 * dat, -dat], [0, 1]), shape=(n, n)) + L_solver = splu(L) + U_solver = splu(U) + + def L_solve(b): + return L_solver.solve(b) + + def U_solve(b): + return U_solver.solve(b) + + def LT_solve(b): + return L_solver.solve(b, 'T') + + def UT_solve(b): + return U_solver.solve(b, 'T') + + M1 = LinearOperator((n, n), matvec=L_solve, rmatvec=LT_solve) + M2 = LinearOperator((n, n), matvec=U_solve, rmatvec=UT_solve) + + rtol = 1e-8 + x, info = qmr(A, b, rtol=rtol, maxiter=15, M1=M1, M2=M2) + + assert info == 0 + assert norm(A @ x - b) <= rtol * norm(b) + + +class TestGMRES: + def test_basic(self): + A = np.vander(np.arange(10) + 1)[:, ::-1] + b = np.zeros(10) + b[0] = 1 + + x_gm, err = gmres(A, b, restart=5, maxiter=1) + + assert_allclose(x_gm[0], 0.359, rtol=1e-2) + + @pytest.mark.filterwarnings(f"ignore:{CB_TYPE_FILTER}:DeprecationWarning") + def test_callback(self): + + def store_residual(r, rvec): + rvec[rvec.nonzero()[0].max() + 1] = r + + # Define, A,b + A = csr_array(array([[-2, 1, 0, 0, 0, 0], + [1, -2, 1, 0, 0, 0], + [0, 1, -2, 1, 0, 0], + [0, 0, 1, -2, 1, 0], + [0, 0, 0, 1, -2, 1], + [0, 0, 0, 0, 1, -2]])) + b = ones((A.shape[0],)) + maxiter = 1 + rvec = zeros(maxiter + 1) + rvec[0] = 1.0 + + def callback(r): + return store_residual(r, rvec) + + x, flag = gmres(A, b, x0=zeros(A.shape[0]), rtol=1e-16, + maxiter=maxiter, callback=callback) + + # Expected output from SciPy 1.0.0 + assert_allclose(rvec, array([1.0, 0.81649658092772603]), rtol=1e-10) + + # Test preconditioned callback + M = 1e-3 * np.eye(A.shape[0]) + rvec = zeros(maxiter + 1) + rvec[0] = 1.0 + x, flag = gmres(A, b, M=M, rtol=1e-16, maxiter=maxiter, + callback=callback) + + # Expected output from SciPy 1.0.0 + # (callback has preconditioned residual!) + assert_allclose(rvec, array([1.0, 1e-3 * 0.81649658092772603]), + rtol=1e-10) + + def test_abi(self): + # Check we don't segfault on gmres with complex argument + A = eye(2) + b = ones(2) + r_x, r_info = gmres(A, b) + r_x = r_x.astype(complex) + x, info = gmres(A.astype(complex), b.astype(complex)) + + assert iscomplexobj(x) + assert_allclose(r_x, x) + assert r_info == info + + @pytest.mark.fail_slow(10) + def test_atol_legacy(self): + + A = eye(2) + b = ones(2) + x, info = gmres(A, b, rtol=1e-5) + assert np.linalg.norm(A @ x - b) <= 1e-5 * np.linalg.norm(b) + assert_allclose(x, b, atol=0, rtol=1e-8) + + rndm = np.random.RandomState(12345) + A = rndm.rand(30, 30) + b = 1e-6 * ones(30) + x, info = gmres(A, b, rtol=1e-7, restart=20) + assert np.linalg.norm(A @ x - b) > 1e-7 + + A = eye(2) + b = 1e-10 * ones(2) + x, info = gmres(A, b, rtol=1e-8, atol=0) + assert np.linalg.norm(A @ x - b) <= 1e-8 * np.linalg.norm(b) + + def test_defective_precond_breakdown(self): + # Breakdown due to defective preconditioner + M = np.eye(3) + M[2, 2] = 0 + + b = np.array([0, 1, 1]) + x = np.array([1, 0, 0]) + A = np.diag([2, 3, 4]) + + x, info = gmres(A, b, x0=x, M=M, rtol=1e-15, atol=0) + + # Should not return nans, nor terminate with false success + assert not np.isnan(x).any() + if info == 0: + assert np.linalg.norm(A @ x - b) <= 1e-15 * np.linalg.norm(b) + + # The solution should be OK outside null space of M + assert_allclose(M @ (A @ x), M @ b) + + def test_defective_matrix_breakdown(self): + # Breakdown due to defective matrix + A = np.array([[0, 1, 0], [1, 0, 0], [0, 0, 0]]) + b = np.array([1, 0, 1]) + rtol = 1e-8 + x, info = gmres(A, b, rtol=rtol, atol=0) + + # Should not return nans, nor terminate with false success + assert not np.isnan(x).any() + if info == 0: + assert np.linalg.norm(A @ x - b) <= rtol * np.linalg.norm(b) + + # The solution should be OK outside null space of A + assert_allclose(A @ (A @ x), A @ b) + + @pytest.mark.filterwarnings(f"ignore:{CB_TYPE_FILTER}:DeprecationWarning") + def test_callback_type(self): + # The legacy callback type changes meaning of 'maxiter' + np.random.seed(1) + A = np.random.rand(20, 20) + b = np.random.rand(20) + + cb_count = [0] + + def pr_norm_cb(r): + cb_count[0] += 1 + assert isinstance(r, float) + + def x_cb(x): + cb_count[0] += 1 + assert isinstance(x, np.ndarray) + + # 2 iterations is not enough to solve the problem + cb_count = [0] + x, info = gmres(A, b, rtol=1e-6, atol=0, callback=pr_norm_cb, + maxiter=2, restart=50) + assert info == 2 + assert cb_count[0] == 2 + + # With `callback_type` specified, no warning should be raised + cb_count = [0] + x, info = gmres(A, b, rtol=1e-6, atol=0, callback=pr_norm_cb, + maxiter=2, restart=50, callback_type='legacy') + assert info == 2 + assert cb_count[0] == 2 + + # 2 restart cycles is enough to solve the problem + cb_count = [0] + x, info = gmres(A, b, rtol=1e-6, atol=0, callback=pr_norm_cb, + maxiter=2, restart=50, callback_type='pr_norm') + assert info == 0 + assert cb_count[0] > 2 + + # 2 restart cycles is enough to solve the problem + cb_count = [0] + x, info = gmres(A, b, rtol=1e-6, atol=0, callback=x_cb, maxiter=2, + restart=50, callback_type='x') + assert info == 0 + assert cb_count[0] == 1 + + def test_callback_x_monotonic(self): + # Check that callback_type='x' gives monotonic norm decrease + rng = np.random.RandomState(1) + A = rng.rand(20, 20) + np.eye(20) + b = rng.rand(20) + + prev_r = [np.inf] + count = [0] + + def x_cb(x): + r = np.linalg.norm(A @ x - b) + assert r <= prev_r[0] + prev_r[0] = r + count[0] += 1 + + x, info = gmres(A, b, rtol=1e-6, atol=0, callback=x_cb, maxiter=20, + restart=10, callback_type='x') + assert info == 20 + assert count[0] == 20 diff --git a/shared/package-files/70/7039701664e899b6f6ac3781f111c4009e1e54c5220dbc3c3b3e49a35350c24d/test_dlpack.py b/shared/package-files/70/7039701664e899b6f6ac3781f111c4009e1e54c5220dbc3c3b3e49a35350c24d/test_dlpack.py new file mode 100644 index 0000000000000000000000000000000000000000..49249bc6a8b48383d0a318f7a6a45403ad1b095f --- /dev/null +++ b/shared/package-files/70/7039701664e899b6f6ac3781f111c4009e1e54c5220dbc3c3b3e49a35350c24d/test_dlpack.py @@ -0,0 +1,124 @@ +import sys +import pytest + +import numpy as np +from numpy.testing import assert_array_equal, IS_PYPY + + +class TestDLPack: + @pytest.mark.skipif(IS_PYPY, reason="PyPy can't get refcounts.") + def test_dunder_dlpack_refcount(self): + x = np.arange(5) + y = x.__dlpack__() + assert sys.getrefcount(x) == 3 + del y + assert sys.getrefcount(x) == 2 + + def test_dunder_dlpack_stream(self): + x = np.arange(5) + x.__dlpack__(stream=None) + + with pytest.raises(RuntimeError): + x.__dlpack__(stream=1) + + def test_strides_not_multiple_of_itemsize(self): + dt = np.dtype([('int', np.int32), ('char', np.int8)]) + y = np.zeros((5,), dtype=dt) + z = y['int'] + + with pytest.raises(BufferError): + np.from_dlpack(z) + + @pytest.mark.skipif(IS_PYPY, reason="PyPy can't get refcounts.") + def test_from_dlpack_refcount(self): + x = np.arange(5) + y = np.from_dlpack(x) + assert sys.getrefcount(x) == 3 + del y + assert sys.getrefcount(x) == 2 + + @pytest.mark.parametrize("dtype", [ + np.bool_, + np.int8, np.int16, np.int32, np.int64, + np.uint8, np.uint16, np.uint32, np.uint64, + np.float16, np.float32, np.float64, + np.complex64, np.complex128 + ]) + def test_dtype_passthrough(self, dtype): + x = np.arange(5).astype(dtype) + y = np.from_dlpack(x) + + assert y.dtype == x.dtype + assert_array_equal(x, y) + + def test_invalid_dtype(self): + x = np.asarray(np.datetime64('2021-05-27')) + + with pytest.raises(BufferError): + np.from_dlpack(x) + + def test_invalid_byte_swapping(self): + dt = np.dtype('=i8').newbyteorder() + x = np.arange(5, dtype=dt) + + with pytest.raises(BufferError): + np.from_dlpack(x) + + def test_non_contiguous(self): + x = np.arange(25).reshape((5, 5)) + + y1 = x[0] + assert_array_equal(y1, np.from_dlpack(y1)) + + y2 = x[:, 0] + assert_array_equal(y2, np.from_dlpack(y2)) + + y3 = x[1, :] + assert_array_equal(y3, np.from_dlpack(y3)) + + y4 = x[1] + assert_array_equal(y4, np.from_dlpack(y4)) + + y5 = np.diagonal(x).copy() + assert_array_equal(y5, np.from_dlpack(y5)) + + @pytest.mark.parametrize("ndim", range(33)) + def test_higher_dims(self, ndim): + shape = (1,) * ndim + x = np.zeros(shape, dtype=np.float64) + + assert shape == np.from_dlpack(x).shape + + def test_dlpack_device(self): + x = np.arange(5) + assert x.__dlpack_device__() == (1, 0) + y = np.from_dlpack(x) + assert y.__dlpack_device__() == (1, 0) + z = y[::2] + assert z.__dlpack_device__() == (1, 0) + + def dlpack_deleter_exception(self): + x = np.arange(5) + _ = x.__dlpack__() + raise RuntimeError + + def test_dlpack_destructor_exception(self): + with pytest.raises(RuntimeError): + self.dlpack_deleter_exception() + + def test_readonly(self): + x = np.arange(5) + x.flags.writeable = False + with pytest.raises(BufferError): + x.__dlpack__() + + def test_ndim0(self): + x = np.array(1.0) + y = np.from_dlpack(x) + assert_array_equal(x, y) + + def test_size1dims_arrays(self): + x = np.ndarray(dtype='f8', shape=(10, 5, 1), strides=(8, 80, 4), + buffer=np.ones(1000, dtype=np.uint8), order='F') + y = np.from_dlpack(x) + assert_array_equal(x, y) diff --git a/shared/package-files/70/703a654510dde2629627bbec0479df854fcb043b1fc782f17871618d63db804f/tools.py b/shared/package-files/70/703a654510dde2629627bbec0479df854fcb043b1fc782f17871618d63db804f/tools.py new file mode 100644 index 0000000000000000000000000000000000000000..5e75441c834a3499fc70b845b4c7f76bd66a1df8 --- /dev/null +++ b/shared/package-files/70/703a654510dde2629627bbec0479df854fcb043b1fc782f17871618d63db804f/tools.py @@ -0,0 +1,2421 @@ +""" +Statespace Tools + +Author: Chad Fulton +License: Simplified-BSD +""" + +import numpy as np +import pandas as pd +from scipy.linalg import solve_sylvester +from scipy.linalg.blas import find_best_blas_type + +from statsmodels.tools.data import _is_using_pandas +from statsmodels.tools.docstring_helpers import Appender + +from . import ( + _cfa_simulation_smoother, + _initialization, + _kalman_filter, + _kalman_smoother, + _representation, + _simulation_smoother, + _tools, +) + +compatibility_mode = False +has_trmm = True +prefix_dtype_map = { + "s": np.float32, "d": np.float64, "c": np.complex64, "z": np.complex128 +} +prefix_initialization_map = { + "s": _initialization.sInitialization, + "d": _initialization.dInitialization, + "c": _initialization.cInitialization, + "z": _initialization.zInitialization +} +prefix_statespace_map = { + "s": _representation.sStatespace, "d": _representation.dStatespace, + "c": _representation.cStatespace, "z": _representation.zStatespace +} +prefix_kalman_filter_map = { + "s": _kalman_filter.sKalmanFilter, + "d": _kalman_filter.dKalmanFilter, + "c": _kalman_filter.cKalmanFilter, + "z": _kalman_filter.zKalmanFilter +} +prefix_kalman_smoother_map = { + "s": _kalman_smoother.sKalmanSmoother, + "d": _kalman_smoother.dKalmanSmoother, + "c": _kalman_smoother.cKalmanSmoother, + "z": _kalman_smoother.zKalmanSmoother +} +prefix_simulation_smoother_map = { + "s": _simulation_smoother.sSimulationSmoother, + "d": _simulation_smoother.dSimulationSmoother, + "c": _simulation_smoother.cSimulationSmoother, + "z": _simulation_smoother.zSimulationSmoother +} +prefix_cfa_simulation_smoother_map = { + "s": _cfa_simulation_smoother.sCFASimulationSmoother, + "d": _cfa_simulation_smoother.dCFASimulationSmoother, + "c": _cfa_simulation_smoother.cCFASimulationSmoother, + "z": _cfa_simulation_smoother.zCFASimulationSmoother +} +prefix_pacf_map = { + "s": _tools._scompute_coefficients_from_multivariate_pacf, + "d": _tools._dcompute_coefficients_from_multivariate_pacf, + "c": _tools._ccompute_coefficients_from_multivariate_pacf, + "z": _tools._zcompute_coefficients_from_multivariate_pacf +} +prefix_sv_map = { + "s": _tools._sconstrain_sv_less_than_one, + "d": _tools._dconstrain_sv_less_than_one, + "c": _tools._cconstrain_sv_less_than_one, + "z": _tools._zconstrain_sv_less_than_one +} +prefix_reorder_missing_matrix_map = { + "s": _tools.sreorder_missing_matrix, + "d": _tools.dreorder_missing_matrix, + "c": _tools.creorder_missing_matrix, + "z": _tools.zreorder_missing_matrix +} +prefix_reorder_missing_vector_map = { + "s": _tools.sreorder_missing_vector, + "d": _tools.dreorder_missing_vector, + "c": _tools.creorder_missing_vector, + "z": _tools.zreorder_missing_vector +} +prefix_copy_missing_matrix_map = { + "s": _tools.scopy_missing_matrix, + "d": _tools.dcopy_missing_matrix, + "c": _tools.ccopy_missing_matrix, + "z": _tools.zcopy_missing_matrix +} +prefix_copy_missing_vector_map = { + "s": _tools.scopy_missing_vector, + "d": _tools.dcopy_missing_vector, + "c": _tools.ccopy_missing_vector, + "z": _tools.zcopy_missing_vector +} +prefix_copy_index_matrix_map = { + "s": _tools.scopy_index_matrix, + "d": _tools.dcopy_index_matrix, + "c": _tools.ccopy_index_matrix, + "z": _tools.zcopy_index_matrix +} +prefix_copy_index_vector_map = { + "s": _tools.scopy_index_vector, + "d": _tools.dcopy_index_vector, + "c": _tools.ccopy_index_vector, + "z": _tools.zcopy_index_vector +} +prefix_compute_smoothed_state_weights_map = { + "s": _tools._scompute_smoothed_state_weights, + "d": _tools._dcompute_smoothed_state_weights, + "c": _tools._ccompute_smoothed_state_weights, + "z": _tools._zcompute_smoothed_state_weights +} + + +def set_mode(compatibility=None): + """ + Set the compatibility mode + + Parameters + ---------- + compatibility : bool, optional + Whether or not to enable compatibility mode. Compatibility mode is + only available in statsmodels <= 0.9, so passing a truthy value + always raises `NotImplementedError`. + + Raises + ------ + NotImplementedError + If `compatibility` is truthy. + """ + if compatibility: + raise NotImplementedError("Compatibility mode is only available in" + " statsmodels <= 0.9") + + +def companion_matrix(polynomial): + r""" + Create a companion matrix + + Parameters + ---------- + polynomial : array_like or int + If an iterable, interpreted as the coefficients of the polynomial from + which to form the companion matrix. Polynomial coefficients are in + order of increasing degree, and may be either scalars (as in an AR(p) + model) or coefficient matrices (as in a VAR(p) model). If an integer, + it is interpreted as the size of a companion matrix of a scalar + polynomial, where the polynomial coefficients are initialized to zeros. + If a matrix polynomial is passed, :math:`C_0` may be set to the scalar + value 1 to indicate an identity matrix (doing so will improve the speed + of the companion matrix creation). + + Returns + ------- + companion_matrix : ndarray + + Notes + ----- + Given coefficients of a lag polynomial of the form: + + .. math:: + + c(L) = c_0 + c_1 L + \dots + c_p L^p + + returns a matrix of the form + + .. math:: + \begin{bmatrix} + \phi_1 & 1 & 0 & \cdots & 0 \\ + \phi_2 & 0 & 1 & & 0 \\ + \vdots & & & \ddots & 0 \\ + & & & & 1 \\ + \phi_n & 0 & 0 & \cdots & 0 \\ + \end{bmatrix} + + where some or all of the :math:`\phi_i` may be non-zero (if `polynomial` is + None, then all are equal to zero). + + If the coefficients provided are scalars :math:`(c_0, c_1, \dots, c_p)`, + then the companion matrix is an :math:`n \times n` matrix formed with the + elements in the first column defined as + :math:`\phi_i = -\frac{c_i}{c_0}, i \in 1, \dots, p`. + + If the coefficients provided are matrices :math:`(C_0, C_1, \dots, C_p)`, + each of shape :math:`(m, m)`, then the companion matrix is an + :math:`nm \times nm` matrix formed with the elements in the first column + defined as :math:`\phi_i = -C_0^{-1} C_i', i \in 1, \dots, p`. + + It is important to understand the expected signs of the coefficients. A + typical AR(p) model is written as: + + .. math:: + y_t = a_1 y_{t-1} + \dots + a_p y_{t-p} + \varepsilon_t + + This can be rewritten as: + + .. math:: + (1 - a_1 L - \dots - a_p L^p )y_t = \varepsilon_t \\ + (1 + c_1 L + \dots + c_p L^p )y_t = \varepsilon_t \\ + c(L) y_t = \varepsilon_t + + The coefficients from this form are defined to be :math:`c_i = - a_i`, and + it is the :math:`c_i` coefficients that this function expects to be + provided. + """ + identity_matrix = False + if isinstance(polynomial, (int, np.integer)): + # GH 5570, allow numpy integer types, but coerce to python int + n = int(polynomial) + m = 1 + polynomial = None + else: + n = len(polynomial) - 1 + + if n < 1: + raise ValueError("Companion matrix polynomials must include at" + " least two terms.") + + if isinstance(polynomial, (list, tuple)): + try: + # Note: cannot use polynomial[0] because of the special + # behavior associated with matrix polynomials and the constant + # 1, see below. + m = len(polynomial[1]) + except TypeError: + m = 1 + + # Check if we just have a scalar polynomial + if m == 1: + polynomial = np.asanyarray(polynomial) + # Check if 1 was passed as the first argument (indicating an + # identity matrix) + elif polynomial[0] == 1: + polynomial[0] = np.eye(m) + identity_matrix = True + else: + m = 1 + polynomial = np.asanyarray(polynomial) + + matrix = np.zeros((n * m, n * m), dtype=np.asanyarray(polynomial).dtype) + idx = np.diag_indices((n - 1) * m) + idx = (idx[0], idx[1] + m) + matrix[idx] = 1 + if polynomial is not None and n > 0: + if m == 1: + matrix[:, 0] = -polynomial[1:] / polynomial[0] + elif identity_matrix: + for i in range(n): + matrix[i * m:(i + 1) * m, :m] = -polynomial[i+1].T + else: + inv = np.linalg.inv(polynomial[0]) + for i in range(n): + matrix[i * m:(i + 1) * m, :m] = -np.dot(inv, polynomial[i+1]).T + return matrix + + +def diff(series, k_diff=1, k_seasonal_diff=None, seasonal_periods=1): + r""" + Difference a series simply and/or seasonally along the zero-th axis + + Given a series (denoted :math:`y_t`), performs the differencing operation + + .. math:: + + \Delta^d \Delta_s^D y_t + + where :math:`d =` `diff`, :math:`s =` `seasonal_periods`, + :math:`D =` `seasonal\_diff`, and :math:`\Delta` is the difference + operator. + + Parameters + ---------- + series : array_like + The series to be differenced. + k_diff : int, optional + The number of simple differences to perform. Default is 1. + k_seasonal_diff : int, optional + The number of seasonal differences to perform. Default is no seasonal + differencing. + seasonal_periods : int, optional + The seasonal lag. Default is 1. Unused if there is no seasonal + differencing. + + Returns + ------- + differenced : ndarray + The differenced array. + """ + pandas = _is_using_pandas(series, None) + differenced = np.asanyarray(series) if not pandas else series + + # Seasonal differencing + if k_seasonal_diff is not None: + while k_seasonal_diff > 0: + if not pandas: + differenced = (differenced[seasonal_periods:] - + differenced[:-seasonal_periods]) + else: + sdiffed = differenced.diff(seasonal_periods) + differenced = sdiffed[seasonal_periods:] + k_seasonal_diff -= 1 + + # Simple differencing + if not pandas: + differenced = np.diff(differenced, k_diff, axis=0) + else: + while k_diff > 0: + differenced = differenced.diff()[1:] + k_diff -= 1 + return differenced + + +def concat(series, axis=0, allow_mix=False): + """ + Concatenate a set of series + + Parameters + ---------- + series : sequence of array_like + A sequence of series to be concatenated + axis : int, optional + The axis along which to concatenate. Default is 0 (rows). + allow_mix : bool, optional + Whether or not to allow a mix of pandas and non-pandas objects. Default + is False. If true, the returned object is an ndarray, and additional + pandas metadata (e.g., column names, indices, etc) is lost. + + Returns + ------- + concatenated : array or DataFrame + The concatenated array. Will be a DataFrame if series are pandas + objects. + """ + is_pandas = np.r_[[_is_using_pandas(s, None) for s in series]] + ndim = np.r_[[np.ndim(s) for s in series]] + max_ndim = np.max(ndim) + + if max_ndim > 2: + raise ValueError("`tools.concat` does not support arrays with 3 or" + " more dimensions.") + + # Make sure the iterable is mutable + if isinstance(series, tuple): + series = list(series) + + # Standardize ndim + for i in range(len(series)): + if ndim[i] == 0 and max_ndim == 1: + series[i] = np.atleast_1d(series[i]) + elif ndim[i] == 0 and max_ndim == 2: + series[i] = np.atleast_2d(series[i]) + elif ndim[i] == 1 and max_ndim == 2 and is_pandas[i]: + name = series[i].name + series[i] = series[i].to_frame() + series[i].columns = [name] + elif ndim[i] == 1 and max_ndim == 2 and not is_pandas[i]: + series[i] = np.atleast_2d(series[i]).T + + if np.all(is_pandas): + if isinstance(series[0], pd.DataFrame): + base_columns = series[0].columns + else: + base_columns = pd.Index([series[0].name]) + for i in range(1, len(series)): + s = series[i] + + if isinstance(s, pd.DataFrame): + # Handle case where we were passed a dataframe and a series + # to concatenate, and the series did not have a name. + if s.columns.equals(pd.Index([None])): + s.columns = base_columns[:1] + s_columns = s.columns + else: + s_columns = pd.Index([s.name]) + + if axis == 0 and not base_columns.equals(s_columns): + raise ValueError("Columns must match to concatenate along" + " rows.") + elif axis == 1 and not series[0].index.equals(s.index): + raise ValueError("Index must match to concatenate along" + " columns.") + concatenated = pd.concat(series, axis=axis) + elif np.all(~is_pandas) or allow_mix: + concatenated = np.concatenate(series, axis=axis) + else: + raise ValueError("Attempted to concatenate Pandas objects with" + " non-Pandas objects with `allow_mix=False`.") + + return concatenated + + +def is_invertible(polynomial, threshold=1 - 1e-10): + r""" + Determine if a polynomial is invertible + + Requires all roots of the polynomial lie inside the unit circle. + + Parameters + ---------- + polynomial : array_like or list of array_like + Coefficients of a polynomial, in order of increasing degree. + For example, `polynomial=[1, -0.5]` corresponds to the polynomial + :math:`1 - 0.5x` which has root :math:`2`. If it is a matrix + polynomial (in which case the coefficients are coefficient matrices), + a tuple or list of matrices should be passed. + threshold : float, optional + Allowed threshold for `is_invertible` to return True. Default is 1. + + See Also + -------- + companion_matrix + + Notes + ----- + + If the coefficients provided are scalars :math:`(c_0, c_1, \dots, c_n)`, + then the corresponding polynomial is :math:`c_0 + c_1 L + \dots + c_n L^n`. + + + If the coefficients provided are matrices :math:`(C_0, C_1, \dots, C_n)`, + then the corresponding polynomial is :math:`C_0 + C_1 L + \dots + C_n L^n`. + + There are three equivalent methods of determining if the polynomial + represented by the coefficients is invertible: + + The first method factorizes the polynomial into: + + .. math:: + + C(L) & = c_0 + c_1 L + \dots + c_n L^n \\ + & = constant (1 - \lambda_1 L) + (1 - \lambda_2 L) \dots (1 - \lambda_n L) + + In order for :math:`C(L)` to be invertible, it must be that each factor + :math:`(1 - \lambda_i L)` is invertible; the condition is then that + :math:`|\lambda_i| < 1`, where :math:`\lambda_i` is a root of the + polynomial. + + The second method factorizes the polynomial into: + + .. math:: + + C(L) & = c_0 + c_1 L + \dots + c_n L^n \\ + & = constant (L - \zeta_1) (L - \zeta_2) \dots (L - \zeta_3) + + The condition is now :math:`|\zeta_i| > 1`, where :math:`\zeta_i` is a root + of the polynomial with reversed coefficients and + :math:`\lambda_i = \frac{1}{\zeta_i}`. + + Finally, a companion matrix can be formed using the coefficients of the + polynomial. Then the eigenvalues of that matrix give the roots of the + polynomial. This last method is the one actually used. + """ + # First method: + # np.all(np.abs(np.roots(np.r_[1, params])) < 1) + # Second method: + # np.all(np.abs(np.roots(np.r_[1, params][::-1])) > 1) + # Final method: + eigvals = np.linalg.eigvals(companion_matrix(polynomial)) + return np.all(np.abs(eigvals) < threshold) + + +def solve_discrete_lyapunov(a, q, complex_step=False): + r""" + Solve the discrete Lyapunov equation using a bilinear transformation + + Parameters + ---------- + a : array_like + The matrix on the left-hand side, usually the transition matrix. + q : array_like + The matrix on the right-hand side, usually the selected state + covariance matrix. + complex_step : bool, optional + Whether or not the function is being used as part of a complex-step + differentiation approximation. If so, the matrix `a` is allowed to + contain complex numbers, and the transpose used in the computation + is a non-conjugating transpose. Default is False. + + Returns + ------- + solution : ndarray + The solution to the discrete Lyapunov equation. + + Notes + ----- + This is a modification of the version in Scipy (see + https://github.com/scipy/scipy/blob/master/scipy/linalg/_solvers.py) + which allows passing through the complex numbers in the matrix a + (usually the transition matrix) in order to allow complex step + differentiation. + """ + eye = np.eye(a.shape[0], dtype=a.dtype) + if not complex_step: + aH = a.conj().transpose() + aHI_inv = np.linalg.inv(aH + eye) + b = np.dot(aH - eye, aHI_inv) + c = 2*np.dot(np.dot(np.linalg.inv(a + eye), q), aHI_inv) + return solve_sylvester(b.conj().transpose(), b, -c) + else: + aH = a.transpose() + aHI_inv = np.linalg.inv(aH + eye) + b = np.dot(aH - eye, aHI_inv) + c = 2*np.dot(np.dot(np.linalg.inv(a + eye), q), aHI_inv) + return solve_sylvester(b.transpose(), b, -c) + + +def constrain_stationary_univariate(unconstrained): + """ + Transform unconstrained parameters used by the optimizer to constrained + parameters used in likelihood evaluation + + Parameters + ---------- + unconstrained : ndarray + Unconstrained parameters used by the optimizer, to be transformed to + stationary coefficients of, e.g., an autoregressive or moving average + component. + + Returns + ------- + constrained : ndarray + Constrained parameters of, e.g., an autoregressive or moving average + component, used in likelihood evaluation. + + References + ---------- + .. [*] Monahan, John F. 1984. + "A Note on Enforcing Stationarity in + Autoregressive-moving Average Models." + Biometrika 71 (2) (August 1): 403-404. + """ + + n = unconstrained.shape[0] + y = np.zeros((n, n), dtype=unconstrained.dtype) + r = unconstrained/((1 + unconstrained**2)**0.5) + for k in range(n): + for i in range(k): + y[k, i] = y[k - 1, i] + r[k] * y[k - 1, k - i - 1] + y[k, k] = r[k] + return -y[n - 1, :] + + +def unconstrain_stationary_univariate(constrained): + """ + Transform constrained parameters used in likelihood evaluation + to unconstrained parameters used by the optimizer + + Parameters + ---------- + constrained : ndarray + Constrained parameters of, e.g., an autoregressive or moving average + component, to be transformed to arbitrary parameters used by the + optimizer. + + Returns + ------- + unconstrained : ndarray + Unconstrained parameters used by the optimizer. + + References + ---------- + .. [*] Monahan, John F. 1984. + "A Note on Enforcing Stationarity in + Autoregressive-moving Average Models." + Biometrika 71 (2) (August 1): 403-404. + """ + n = constrained.shape[0] + y = np.zeros((n, n), dtype=constrained.dtype) + y[n-1:] = -constrained + for k in range(n-1, 0, -1): + for i in range(k): + y[k-1, i] = (y[k, i] - y[k, k]*y[k, k-i-1]) / (1 - y[k, k]**2) + r = y.diagonal() + x = r / ((1 - r**2)**0.5) + return x + + +def _constrain_sv_less_than_one_python(unconstrained, order=None, + k_endog=None): + """ + Transform arbitrary matrices to matrices with singular values less than + one. + + Parameters + ---------- + unconstrained : list + Arbitrary matrices. Should be a list of length `order`, where each + element is an array sized `k_endog` x `k_endog`. + order : int, optional + The order of the autoregression. + k_endog : int, optional + The dimension of the data vector. + + Returns + ------- + constrained : list + Partial autocorrelation matrices. Should be a list of length + `order`, where each element is an array sized `k_endog` x `k_endog`. + + See Also + -------- + constrain_stationary_multivariate + + Notes + ----- + Corresponds to Lemma 2.2 in Ansley and Kohn (1986). See + `constrain_stationary_multivariate` for more details. + """ + + from scipy import linalg + + constrained = [] # P_s, s = 1, ..., p + if order is None: + order = len(unconstrained) + if k_endog is None: + k_endog = unconstrained[0].shape[0] + + eye = np.eye(k_endog) + for i in range(order): + A = unconstrained[i] + B, lower = linalg.cho_factor(eye + np.dot(A, A.T), lower=True) + constrained.append(linalg.solve_triangular(B, A, lower=lower)) + return constrained + + +def _compute_coefficients_from_multivariate_pacf_python( + partial_autocorrelations, error_variance, transform_variance=False, + order=None, k_endog=None): + """ + Transform matrices with singular values less than one to matrices + corresponding to a stationary (or invertible) process. + + Parameters + ---------- + partial_autocorrelations : list + Partial autocorrelation matrices. Should be a list of length `order`, + where each element is an array sized `k_endog` x `k_endog`. + error_variance : ndarray + The variance / covariance matrix of the error term. Should be sized + `k_endog` x `k_endog`. This is used as input in the algorithm even if + is not transformed by it (when `transform_variance` is False). The + error term variance is required input when transformation is used + either to force an autoregressive component to be stationary or to + force a moving average component to be invertible. + transform_variance : bool, optional + Whether or not to transform the error variance term. This option is + not typically used, and the default is False. + order : int, optional + The order of the autoregression. + k_endog : int, optional + The dimension of the data vector. + + Returns + ------- + coefficient_matrices : list + Transformed coefficient matrices leading to a stationary VAR + representation. + + See Also + -------- + constrain_stationary_multivariate + + Notes + ----- + Corresponds to Lemma 2.1 in Ansley and Kohn (1986). See + `constrain_stationary_multivariate` for more details. + """ + from scipy import linalg + + if order is None: + order = len(partial_autocorrelations) + if k_endog is None: + k_endog = partial_autocorrelations[0].shape[0] + + # If we want to keep the provided variance but with the constrained + # coefficient matrices, we need to make a copy here, and then after the + # main loop we will transform the coefficients to match the passed variance + if not transform_variance: + initial_variance = error_variance + # Need to make the input variance large enough that the recursions + # do not lead to zero-matrices due to roundoff error, which would case + # exceptions from the Cholesky decompositions. + # Note that this will still not always ensure positive definiteness, + # and for k_endog, order large enough an exception may still be raised + error_variance = np.eye(k_endog) * (order + k_endog)**10 + + forward_variances = [error_variance] # \Sigma_s + backward_variances = [error_variance] # \Sigma_s^*, s = 0, ..., p + autocovariances = [error_variance] # \Gamma_s + # \phi_{s,k}, s = 1, ..., p + # k = 1, ..., s+1 + forwards = [] + # \phi_{s,k}^* + backwards = [] + + error_variance_factor = linalg.cholesky(error_variance, lower=True) + + forward_factors = [error_variance_factor] + backward_factors = [error_variance_factor] + + # We fill in the entries as follows: + # [1,1] + # [2,2], [2,1] + # [3,3], [3,1], [3,2] + # ... + # [p,p], [p,1], ..., [p,p-1] + # the last row, correctly ordered, is then used as the coefficients + for s in range(order): # s = 0, ..., p-1 + prev_forwards = forwards + prev_backwards = backwards + forwards = [] + backwards = [] + + # Create the "last" (k = s+1) matrix + # Note: this is for k = s+1. However, below we then have to fill + # in for k = 1, ..., s in order. + # P L*^{-1} = x + # x L* = P + # L*' x' = P' + forwards.append( + linalg.solve_triangular( + backward_factors[s], partial_autocorrelations[s].T, + lower=True, trans="T")) + forwards[0] = np.dot(forward_factors[s], forwards[0].T) + + # P' L^{-1} = x + # x L = P' + # L' x' = P + backwards.append( + linalg.solve_triangular( + forward_factors[s], partial_autocorrelations[s], + lower=True, trans="T")) + backwards[0] = np.dot(backward_factors[s], backwards[0].T) + + # Update the variance + # Note: if s >= 1, this will be further updated in the for loop + # below + # Also, this calculation will be re-used in the forward variance + tmp = np.dot(forwards[0], backward_variances[s]) + autocovariances.append(tmp.copy().T) + + # Create the remaining k = 1, ..., s matrices, + # only has an effect if s >= 1 + for k in range(s): + forwards.insert(k, prev_forwards[k] - np.dot( + forwards[-1], prev_backwards[s-(k+1)])) + + backwards.insert(k, prev_backwards[k] - np.dot( + backwards[-1], prev_forwards[s-(k+1)])) + + autocovariances[s+1] += np.dot(autocovariances[k+1], + prev_forwards[s-(k+1)].T) + + # Create forward and backwards variances + forward_variances.append( + forward_variances[s] - np.dot(tmp, forwards[s].T) + ) + backward_variances.append( + backward_variances[s] - + np.dot( + np.dot(backwards[s], forward_variances[s]), + backwards[s].T + ) + ) + + # Cholesky factors + forward_factors.append( + linalg.cholesky(forward_variances[s+1], lower=True) + ) + backward_factors.append( + linalg.cholesky(backward_variances[s+1], lower=True) + ) + + # If we do not want to use the transformed variance, we need to + # adjust the constrained matrices, as presented in Lemma 2.3, see above + variance = forward_variances[-1] + if not transform_variance: + # Here, we need to construct T such that: + # variance = T * initial_variance * T' + # To do that, consider the Cholesky of variance (L) and + # input_variance (M) to get: + # L L' = T M M' T' = (TM) (TM)' + # => L = T M + # => L M^{-1} = T + initial_variance_factor = np.linalg.cholesky(initial_variance) + transformed_variance_factor = np.linalg.cholesky(variance) + transform = np.dot(initial_variance_factor, + np.linalg.inv(transformed_variance_factor)) + inv_transform = np.linalg.inv(transform) + + for i in range(order): + forwards[i] = ( + np.dot(np.dot(transform, forwards[i]), inv_transform) + ) + + return forwards, variance + + +def constrain_stationary_multivariate_python(unconstrained, error_variance, + transform_variance=False, + prefix=None): + r""" + Transform unconstrained parameters used by the optimizer to constrained + parameters used in likelihood evaluation for a vector autoregression. + + Parameters + ---------- + unconstrained : ndarray or list of ndarray + Arbitrary matrices to be transformed to stationary coefficient matrices + of the VAR. If a list, should be a list of length `order`, where each + element is an array sized `k_endog` x `k_endog`. If an array, should be + the matrices horizontally concatenated and sized + `k_endog` x `k_endog * order`. + error_variance : ndarray + The variance / covariance matrix of the error term. Should be sized + `k_endog` x `k_endog`. This is used as input in the algorithm even if + is not transformed by it (when `transform_variance` is False). The + error term variance is required input when transformation is used + either to force an autoregressive component to be stationary or to + force a moving average component to be invertible. + transform_variance : bool, optional + Whether or not to transform the error variance term. This option is + not typically used, and the default is False. + prefix : {'s','d','c','z'}, optional + The appropriate BLAS prefix to use for the passed datatypes. Only + use if absolutely sure that the prefix is correct or an error will + result. + + Returns + ------- + constrained : ndarray or list of ndarray + Transformed coefficient matrices leading to a stationary VAR + representation. Will match the type of the passed `unconstrained` + variable (so if a list was passed, a list will be returned). + error_variance : ndarray + The variance / covariance matrix of the error term, transformed if + `transform_variance` is True (otherwise this is the same as the + input `error_variance`). + + Notes + ----- + In the notation of [1]_, the arguments `(variance, unconstrained)` are + written as :math:`(\Sigma, A_1, \dots, A_p)`, where :math:`p` is the order + of the vector autoregression, and is here determined by the length of + the `unconstrained` argument. + + There are two steps in the constraining algorithm. + + First, :math:`(A_1, \dots, A_p)` are transformed into + :math:`(P_1, \dots, P_p)` via Lemma 2.2 of [1]_. + + Second, :math:`(\Sigma, P_1, \dots, P_p)` are transformed into + :math:`(\Sigma, \phi_1, \dots, \phi_p)` via Lemmas 2.1 and 2.3 of [1]_. + + If `transform_variance=True`, then only Lemma 2.1 is applied in the second + step. + + While this function can be used even in the univariate case, it is much + slower, so in that case `constrain_stationary_univariate` is preferred. + + References + ---------- + .. [1] Ansley, Craig F., and Robert Kohn. 1986. + "A Note on Reparameterizing a Vector Autoregressive Moving Average Model + to Enforce Stationarity." + Journal of Statistical Computation and Simulation 24 (2): 99-106. + .. [*] Ansley, Craig F, and Paul Newbold. 1979. + "Multivariate Partial Autocorrelations." + In Proceedings of the Business and Economic Statistics Section, 349-53. + American Statistical Association + """ + + use_list = type(unconstrained) is list + if not use_list: + k_endog, order = unconstrained.shape + order //= k_endog + + unconstrained = [ + unconstrained[:k_endog, i*k_endog:(i+1)*k_endog] + for i in range(order) + ] + + order = len(unconstrained) + k_endog = unconstrained[0].shape[0] + + # Step 1: convert from arbitrary matrices to those with singular values + # less than one. + sv_constrained = _constrain_sv_less_than_one_python( + unconstrained, order, k_endog) + + # Step 2: convert matrices from our "partial autocorrelation matrix" space + # (matrices with singular values less than one) to the space of stationary + # coefficient matrices + constrained, var = _compute_coefficients_from_multivariate_pacf_python( + sv_constrained, error_variance, transform_variance, order, k_endog) + + if not use_list: + constrained = np.concatenate(constrained, axis=1).reshape( + k_endog, k_endog * order) + + return constrained, var + + +@Appender(constrain_stationary_multivariate_python.__doc__) +def constrain_stationary_multivariate(unconstrained, variance, + transform_variance=False, + prefix=None): + + use_list = type(unconstrained) is list + if use_list: + unconstrained = np.concatenate(unconstrained, axis=1) + + k_endog, order = unconstrained.shape + order //= k_endog + + if order < 1: + raise ValueError("Must have order at least 1") + if k_endog < 1: + raise ValueError("Must have at least 1 endogenous variable") + + if prefix is None: + prefix, dtype, _ = find_best_blas_type( + [unconstrained, variance]) + dtype = prefix_dtype_map[prefix] + + unconstrained = np.asfortranarray(unconstrained, dtype=dtype) + variance = np.asfortranarray(variance, dtype=dtype) + + # Step 1: convert from arbitrary matrices to those with singular values + # less than one. + # sv_constrained = _constrain_sv_less_than_one(unconstrained, order, + # k_endog, prefix) + sv_constrained = prefix_sv_map[prefix](unconstrained, order, k_endog) + + # Step 2: convert matrices from our "partial autocorrelation matrix" + # space (matrices with singular values less than one) to the space of + # stationary coefficient matrices + constrained, variance = prefix_pacf_map[prefix]( + sv_constrained, variance, transform_variance, order, k_endog) + + constrained = np.array(constrained, dtype=dtype) + variance = np.array(variance, dtype=dtype) + + if use_list: + constrained = [ + constrained[:k_endog, i*k_endog:(i+1)*k_endog] + for i in range(order) + ] + + return constrained, variance + + +def _unconstrain_sv_less_than_one(constrained, order=None, k_endog=None): + """ + Transform matrices with singular values less than one to arbitrary + matrices. + + Parameters + ---------- + constrained : list + The partial autocorrelation matrices. Should be a list of length + `order`, where each element is an array sized `k_endog` x `k_endog`. + order : int, optional + The order of the autoregression. + k_endog : int, optional + The dimension of the data vector. + + Returns + ------- + unconstrained : list + Unconstrained matrices. A list of length `order`, where each element is + an array sized `k_endog` x `k_endog`. + + See Also + -------- + unconstrain_stationary_multivariate + + Notes + ----- + Corresponds to the inverse of Lemma 2.2 in Ansley and Kohn (1986). See + `unconstrain_stationary_multivariate` for more details. + """ + from scipy import linalg + + unconstrained = [] # A_s, s = 1, ..., p + if order is None: + order = len(constrained) + if k_endog is None: + k_endog = constrained[0].shape[0] + + eye = np.eye(k_endog) + for i in range(order): + P = constrained[i] + # B^{-1} B^{-1}' = I - P P' + B_inv, lower = linalg.cho_factor(eye - np.dot(P, P.T), lower=True) + # A = BP + # B^{-1} A = P + unconstrained.append(linalg.solve_triangular(B_inv, P, lower=lower)) + return unconstrained + + +def _compute_multivariate_sample_acovf(endog, maxlag): + r""" + Compute multivariate sample autocovariances + + Parameters + ---------- + endog : array_like + Sample data on which to compute sample autocovariances. Shaped + `nobs` x `k_endog`. + maxlag : int + Maximum lag to use when computing the sample autocovariances. + + Returns + ------- + sample_autocovariances : list + A list of the first `maxlag` sample autocovariance matrices. Each + matrix is shaped `k_endog` x `k_endog`. + + Notes + ----- + This function computes the forward sample autocovariances: + + .. math:: + + \hat \Gamma(s) = \frac{1}{n} \sum_{t=1}^{n-s} + (Z_t - \bar Z) (Z_{t+s} - \bar Z)' + + See page 353 of Wei (1990). This function is primarily implemented for + checking the partial autocorrelation functions below, and so is quite slow. + + References + ---------- + .. [*] Wei, William. 1990. + Time Series Analysis : Univariate and Multivariate Methods. Boston: + Pearson. + """ + # Get the (demeaned) data as an array + endog = np.array(endog) + if endog.ndim == 1: + endog = endog[:, np.newaxis] + endog -= np.mean(endog, axis=0) + + # Dimensions + nobs, k_endog = endog.shape + + sample_autocovariances = [] + for s in range(maxlag + 1): + sample_autocovariances.append(np.zeros((k_endog, k_endog))) + for t in range(nobs - s): + sample_autocovariances[s] += np.outer(endog[t], endog[t+s]) + sample_autocovariances[s] /= nobs + + return sample_autocovariances + + +def _compute_multivariate_acovf_from_coefficients( + coefficients, error_variance, maxlag=None, + forward_autocovariances=False): + r""" + Compute multivariate autocovariances from vector autoregression coefficient + matrices + + Parameters + ---------- + coefficients : ndarray or list of ndarray + The coefficients matrices. If a list, should be a list of length + `order`, where each element is an array sized `k_endog` x `k_endog`. If + an array, should be the coefficient matrices horizontally concatenated + and sized `k_endog` x `k_endog * order`. + error_variance : ndarray + The variance / covariance matrix of the error term. Should be sized + `k_endog` x `k_endog`. + maxlag : int, optional + The maximum autocovariance to compute. Default is `order`-1. Can be + zero, in which case it returns the variance. + forward_autocovariances : bool, optional + Whether or not to compute forward autocovariances + :math:`E(y_t y_{t+j}')`. Default is False, so that backward + autocovariances :math:`E(y_t y_{t-j}')` are returned. + + Returns + ------- + autocovariances : list + A list of the first `maxlag` autocovariance matrices. Each matrix is + shaped `k_endog` x `k_endog`. + + Notes + ----- + Computes + + .. math:: + + \Gamma(j) = E(y_t y_{t-j}') + + for j = 1, ..., `maxlag`, unless `forward_autocovariances` is specified, + in which case it computes: + + .. math:: + + E(y_t y_{t+j}') = \Gamma(j)' + + Coefficients are assumed to be provided from the VAR model: + + .. math:: + y_t = A_1 y_{t-1} + \dots + A_p y_{t-p} + \varepsilon_t + + Autocovariances are calculated by solving the associated discrete Lyapunov + equation of the state space representation of the VAR process. + """ + from scipy import linalg + + # Convert coefficients to a list of matrices, for use in + # `companion_matrix`; get dimensions + if type(coefficients) is list: + order = len(coefficients) + k_endog = coefficients[0].shape[0] + else: + k_endog, order = coefficients.shape + order //= k_endog + + coefficients = [ + coefficients[:k_endog, i*k_endog:(i+1)*k_endog] + for i in range(order) + ] + + if maxlag is None: + maxlag = order-1 + + # Start with VAR(p): w_{t+1} = phi_1 w_t + ... + phi_p w_{t-p+1} + u_{t+1} + # Then stack the VAR(p) into a VAR(1) in companion matrix form: + # z_{t+1} = F z_t + v_t + companion = companion_matrix( + [1] + [-np.squeeze(coefficients[i]) for i in range(order)] + ).T + + # Compute the error variance matrix for the stacked form: E v_t v_t' + selected_variance = np.zeros(companion.shape) + selected_variance[:k_endog, :k_endog] = error_variance + + # Compute the unconditional variance of z_t: E z_t z_t' + stacked_cov = linalg.solve_discrete_lyapunov(companion, selected_variance) + + # The first (block) row of the variance of z_t gives the first p-1 + # autocovariances of w_t: \Gamma_i = E w_t w_t+i with \Gamma_0 = Var(w_t) + # Note: these are okay, checked against ArmaProcess + autocovariances = [ + stacked_cov[:k_endog, i*k_endog:(i+1)*k_endog] + for i in range(min(order, maxlag+1)) + ] + + for _ in range(maxlag - (order-1)): + stacked_cov = np.dot(companion, stacked_cov) + autocovariances += [ + stacked_cov[:k_endog, -k_endog:] + ] + + if forward_autocovariances: + for i in range(len(autocovariances)): + autocovariances[i] = autocovariances[i].T + + return autocovariances + + +def _compute_multivariate_sample_pacf(endog, maxlag): + """ + Compute multivariate sample partial autocorrelations + + Parameters + ---------- + endog : array_like + Sample data on which to compute sample autocovariances. Shaped + `nobs` x `k_endog`. + maxlag : int + Maximum lag for which to calculate sample partial autocorrelations. + + Returns + ------- + sample_pacf : list + A list of the first `maxlag` sample partial autocorrelation matrices. + Each matrix is shaped `k_endog` x `k_endog`. + """ + sample_autocovariances = _compute_multivariate_sample_acovf(endog, maxlag) + + return _compute_multivariate_pacf_from_autocovariances( + sample_autocovariances) + + +def _compute_multivariate_pacf_from_autocovariances(autocovariances, + order=None, k_endog=None): + """ + Compute multivariate partial autocorrelations from autocovariances + + Parameters + ---------- + autocovariances : list + Autocorrelations matrices. Should be a list of length `order` + 1, + where each element is an array sized `k_endog` x `k_endog`. + order : int, optional + The order of the autoregression. + k_endog : int, optional + The dimension of the data vector. + + Returns + ------- + pacf : list + List of first `order` multivariate partial autocorrelations. + + See Also + -------- + unconstrain_stationary_multivariate + + Notes + ----- + Note that this computes multivariate partial autocorrelations. + + Corresponds to the inverse of Lemma 2.1 in Ansley and Kohn (1986). See + `unconstrain_stationary_multivariate` for more details. + + Computes sample partial autocorrelations if sample autocovariances are + given. + """ + from scipy import linalg + + if order is None: + order = len(autocovariances)-1 + if k_endog is None: + k_endog = autocovariances[0].shape[0] + + # Now apply the Ansley and Kohn (1986) algorithm, except that instead of + # calculating phi_{s+1, s+1} = L_s P_{s+1} {L_s^*}^{-1} (which requires + # the partial autocorrelation P_{s+1} which is what we're trying to + # calculate here), we calculate it as in Ansley and Newbold (1979), using + # the autocovariances \Gamma_s and the forwards and backwards residual + # variances \Sigma_s, \Sigma_s^*: + # phi_{s+1, s+1} = [ \Gamma_{s+1}' - \phi_{s,1} \Gamma_s' - ... - + # \phi_{s,s} \Gamma_1' ] {\Sigma_s^*}^{-1} + + # Forward and backward variances + forward_variances = [] # \Sigma_s + backward_variances = [] # \Sigma_s^*, s = 0, ..., p + # \phi_{s,k}, s = 1, ..., p + # k = 1, ..., s+1 + forwards = [] + # \phi_{s,k}^* + backwards = [] + + forward_factors = [] # L_s + backward_factors = [] # L_s^*, s = 0, ..., p + + # Ultimately we want to construct the partial autocorrelation matrices + # Note that this is "1-indexed" in the sense that it stores P_1, ... P_p + # rather than starting with P_0. + partial_autocorrelations = [] + + # We fill in the entries of phi_{s,k} as follows: + # [1,1] + # [2,2], [2,1] + # [3,3], [3,1], [3,2] + # ... + # [p,p], [p,1], ..., [p,p-1] + # the last row, correctly ordered, should be the same as the coefficient + # matrices provided in the argument `constrained` + for s in range(order): # s = 0, ..., p-1 + prev_forwards = list(forwards) + prev_backwards = list(backwards) + forwards = [] + backwards = [] + + # Create forward and backwards variances Sigma_s, Sigma*_s + forward_variance = autocovariances[0].copy() + backward_variance = autocovariances[0].T.copy() + + for k in range(s): + forward_variance -= np.dot(prev_forwards[k], + autocovariances[k+1]) + backward_variance -= np.dot(prev_backwards[k], + autocovariances[k+1].T) + + forward_variances.append(forward_variance) + backward_variances.append(backward_variance) + + # Cholesky factors + forward_factors.append( + linalg.cholesky(forward_variances[s], lower=True) + ) + backward_factors.append( + linalg.cholesky(backward_variances[s], lower=True) + ) + + # Create the intermediate sum term + if s == 0: + # phi_11 = \Gamma_1' \Gamma_0^{-1} + # phi_11 \Gamma_0 = \Gamma_1' + # \Gamma_0 phi_11' = \Gamma_1 + forwards.append(linalg.cho_solve( + (forward_factors[0], True), autocovariances[1]).T) + # backwards.append(forwards[-1]) + # phi_11_star = \Gamma_1 \Gamma_0^{-1} + # phi_11_star \Gamma_0 = \Gamma_1 + # \Gamma_0 phi_11_star' = \Gamma_1' + backwards.append(linalg.cho_solve( + (backward_factors[0], True), autocovariances[1].T).T) + else: + # G := \Gamma_{s+1}' - + # \phi_{s,1} \Gamma_s' - .. - \phi_{s,s} \Gamma_1' + tmp_sum = autocovariances[s+1].T.copy() + + for k in range(s): + tmp_sum -= np.dot(prev_forwards[k], autocovariances[s-k].T) + + # Create the "last" (k = s+1) matrix + # Note: this is for k = s+1. However, below we then have to + # fill in for k = 1, ..., s in order. + # phi = G Sigma*^{-1} + # phi Sigma* = G + # Sigma*' phi' = G' + # Sigma* phi' = G' + # (because Sigma* is symmetric) + forwards.append(linalg.cho_solve( + (backward_factors[s], True), tmp_sum.T).T) + + # phi = G' Sigma^{-1} + # phi Sigma = G' + # Sigma' phi' = G + # Sigma phi' = G + # (because Sigma is symmetric) + backwards.append(linalg.cho_solve( + (forward_factors[s], True), tmp_sum).T) + + # Create the remaining k = 1, ..., s matrices, + # only has an effect if s >= 1 + for k in range(s): + forwards.insert(k, prev_forwards[k] - np.dot( + forwards[-1], prev_backwards[s-(k+1)])) + backwards.insert(k, prev_backwards[k] - np.dot( + backwards[-1], prev_forwards[s-(k+1)])) + + # Partial autocorrelation matrix: P_{s+1} + # P = L^{-1} phi L* + # L P = (phi L*) + partial_autocorrelations.append(linalg.solve_triangular( + forward_factors[s], np.dot(forwards[s], backward_factors[s]), + lower=True)) + + return partial_autocorrelations + + +def _compute_multivariate_pacf_from_coefficients(constrained, error_variance, + order=None, k_endog=None): + r""" + Transform matrices corresponding to a stationary (or invertible) process + to matrices with singular values less than one. + + Parameters + ---------- + constrained : ndarray or list of ndarray + The coefficients matrices. If a list, should be a list of length + `order`, where each element is an array sized `k_endog` x `k_endog`. If + an array, should be the coefficient matrices horizontally concatenated + and sized `k_endog` x `k_endog * order`. + error_variance : ndarray + The variance / covariance matrix of the error term. Should be sized + `k_endog` x `k_endog`. + order : int, optional + The order of the autoregression. + k_endog : int, optional + The dimension of the data vector. + + Returns + ------- + pacf : list + List of first `order` multivariate partial autocorrelations. + + See Also + -------- + unconstrain_stationary_multivariate + + Notes + ----- + Note that this computes multivariate partial autocorrelations. + + Corresponds to the inverse of Lemma 2.1 in Ansley and Kohn (1986). See + `unconstrain_stationary_multivariate` for more details. + + Coefficients are assumed to be provided from the VAR model: + + .. math:: + y_t = A_1 y_{t-1} + \dots + A_p y_{t-p} + \varepsilon_t + """ + + if type(constrained) is list: + order = len(constrained) + k_endog = constrained[0].shape[0] + else: + k_endog, order = constrained.shape + order //= k_endog + + # Get autocovariances for the process; these are defined to be + # E z_t z_{t-j}' + # However, we want E z_t z_{t+j}' = (E z_t z_{t-j}')' + _acovf = _compute_multivariate_acovf_from_coefficients + + autocovariances = [ + autocovariance.T for autocovariance in + _acovf(constrained, error_variance, maxlag=order)] + + return _compute_multivariate_pacf_from_autocovariances(autocovariances) + + +def unconstrain_stationary_multivariate(constrained, error_variance): + """ + Transform constrained parameters used in likelihood evaluation + to unconstrained parameters used by the optimizer + + Parameters + ---------- + constrained : ndarray or list of ndarray + Constrained parameters of, e.g., an autoregressive or moving average + component, to be transformed to arbitrary parameters used by the + optimizer. If a list, should be a list of length `order`, where each + element is an array sized `k_endog` x `k_endog`. If an array, should be + the coefficient matrices horizontally concatenated and sized + `k_endog` x `k_endog * order`. + error_variance : ndarray + The variance / covariance matrix of the error term. Should be sized + `k_endog` x `k_endog`. This is used as input in the algorithm even if + is not transformed by it (when `transform_variance` is False). + + Returns + ------- + unconstrained : ndarray or list of ndarray + Unconstrained parameters used by the optimizer. Will match the type + of the passed `constrained` variable (so if a list was passed, a + list will be returned). + error_variance : ndarray + The variance / covariance matrix of the error term. This is the same + as the input `error_variance`, since this function does not + transform the error variance term. + + Notes + ----- + Uses the list representation internally, even if an array is passed. + + References + ---------- + .. [*] Ansley, Craig F., and Robert Kohn. 1986. + "A Note on Reparameterizing a Vector Autoregressive Moving Average Model + to Enforce Stationarity." + Journal of Statistical Computation and Simulation 24 (2): 99-106. + """ + use_list = type(constrained) is list + if not use_list: + k_endog, order = constrained.shape + order //= k_endog + + constrained = [ + constrained[:k_endog, i*k_endog:(i+1)*k_endog] + for i in range(order) + ] + else: + order = len(constrained) + k_endog = constrained[0].shape[0] + + # Step 1: convert matrices from the space of stationary + # coefficient matrices to our "partial autocorrelation matrix" space + # (matrices with singular values less than one) + partial_autocorrelations = _compute_multivariate_pacf_from_coefficients( + constrained, error_variance, order, k_endog) + + # Step 2: convert from arbitrary matrices to those with singular values + # less than one. + unconstrained = _unconstrain_sv_less_than_one( + partial_autocorrelations, order, k_endog) + + if not use_list: + unconstrained = np.concatenate(unconstrained, axis=1) + + return unconstrained, error_variance + + +def validate_matrix_shape(name, shape, nrows, ncols, nobs): + """ + Validate the shape of a possibly time-varying matrix, or raise an exception + + Parameters + ---------- + name : str + The name of the matrix being validated (used in exception messages) + shape : sequence of int + The shape of the matrix to be validated. May be of size 2 or (if + the matrix is time-varying) 3. + nrows : int + The expected number of rows. + ncols : int + The expected number of columns. + nobs : int + The number of observations (used to validate the last dimension of a + time-varying matrix) + + Raises + ------ + ValueError + If the matrix is not of the desired shape. + """ + ndim = len(shape) + + # Enforce dimension + if ndim not in [2, 3]: + raise ValueError(f"Invalid value for {name} matrix. Requires a" + f" 2- or 3-dimensional array, got {ndim:d} dimensions") + # Enforce the shape of the matrix + if not shape[0] == nrows: + raise ValueError(f"Invalid dimensions for {name} matrix: requires {nrows:d}" + f" rows, got {shape[0]:d}") + if not shape[1] == ncols: + raise ValueError(f"Invalid dimensions for {name} matrix: requires {ncols:d}" + f" columns, got {shape[1]:d}") + + # If we do not yet know `nobs`, do not allow time-varying arrays + if nobs is None and not (ndim == 2 or shape[-1] == 1): + raise ValueError(f"Invalid dimensions for {name} matrix: time-varying" + " matrices cannot be given unless `nobs` is specified" + " (implicitly when a dataset is bound or else set" + " explicity)") + + # Enforce time-varying array size + if ndim == 3 and nobs is not None and shape[-1] not in [1, nobs]: + raise ValueError(f"Invalid dimensions for time-varying {name}" + f" matrix. Requires shape (*,*,{nobs:d}), got {shape!s}") + + +def validate_vector_shape(name, shape, nrows, nobs): + """ + Validate the shape of a possibly time-varying vector, or raise an exception + + Parameters + ---------- + name : str + The name of the vector being validated (used in exception messages) + shape : sequence of int + The shape of the vector to be validated. May be of size 1 or (if + the vector is time-varying) 2. + nrows : int + The expected number of rows (elements of the vector). + nobs : int + The number of observations (used to validate the last dimension of a + time-varying vector) + + Raises + ------ + ValueError + If the vector is not of the desired shape. + """ + ndim = len(shape) + # Enforce dimension + if ndim not in [1, 2]: + raise ValueError(f"Invalid value for {name} vector. Requires a" + f" 1- or 2-dimensional array, got {ndim:d} dimensions") + # Enforce the shape of the vector + if not shape[0] == nrows: + raise ValueError(f"Invalid dimensions for {name} vector: requires {nrows:d}" + f" rows, got {shape[0]:d}") + + # If we do not yet know `nobs`, do not allow time-varying arrays + if nobs is None and not (ndim == 1 or shape[-1] == 1): + raise ValueError(f"Invalid dimensions for {name} vector: time-varying" + " vectors cannot be given unless `nobs` is specified" + " (implicitly when a dataset is bound or else set" + " explicity)") + + # Enforce time-varying array size + if ndim == 2 and shape[1] not in [1, nobs]: + raise ValueError(f"Invalid dimensions for time-varying {name}" + f" vector. Requires shape (*,{nobs:d}), got {shape!s}") + + +def reorder_missing_matrix(matrix, missing, reorder_rows=False, + reorder_cols=False, is_diagonal=False, + inplace=False, prefix=None): + """ + Reorder the rows or columns of a time-varying matrix where all non-missing + values are in the upper left corner of the matrix. + + Parameters + ---------- + matrix : array_like + The matrix to be reordered. Must have shape (n, m, nobs). + missing : array_like of bool + The vector of missing indices. Must have shape (k, nobs) where `k = n` + if `reorder_rows is True` and `k = m` if `reorder_cols is True`. + reorder_rows : bool, optional + Whether or not the rows of the matrix should be re-ordered. Default + is False. + reorder_cols : bool, optional + Whether or not the columns of the matrix should be re-ordered. Default + is False. + is_diagonal : bool, optional + Whether or not the matrix is diagonal. If this is True, must also have + `n = m`. Default is False. + inplace : bool, optional + Whether or not to reorder the matrix in-place. + prefix : {'s', 'd', 'c', 'z'}, optional + The Fortran prefix of the vector. Default is to automatically detect + the dtype. This parameter should only be used with caution. + + Returns + ------- + reordered_matrix : ndarray + The reordered matrix. + """ + if prefix is None: + prefix = find_best_blas_type((matrix,))[0] + reorder = prefix_reorder_missing_matrix_map[prefix] + + if not inplace: + matrix = np.copy(matrix, order="F") + + reorder(matrix, np.asfortranarray(missing), reorder_rows, reorder_cols, + is_diagonal) + + return matrix + + +def reorder_missing_vector(vector, missing, inplace=False, prefix=None): + """ + Reorder the elements of a time-varying vector where all non-missing + values are in the first elements of the vector. + + Parameters + ---------- + vector : array_like + The vector to be reordered. Must have shape (n, nobs). + missing : array_like of bool + The vector of missing indices. Must have shape (n, nobs). + inplace : bool, optional + Whether or not to reorder the matrix in-place. Default is False. + prefix : {'s', 'd', 'c', 'z'}, optional + The Fortran prefix of the vector. Default is to automatically detect + the dtype. This parameter should only be used with caution. + + Returns + ------- + reordered_vector : ndarray + The reordered vector. + """ + if prefix is None: + prefix = find_best_blas_type((vector,))[0] + reorder = prefix_reorder_missing_vector_map[prefix] + + if not inplace: + vector = np.copy(vector, order="F") + + reorder(vector, np.asfortranarray(missing)) + + return vector + + +def copy_missing_matrix(A, B, missing, missing_rows=False, missing_cols=False, + is_diagonal=False, inplace=False, prefix=None): + """ + Copy the rows or columns of a time-varying matrix where all non-missing + values are in the upper left corner of the matrix. + + Parameters + ---------- + A : array_like + The matrix from which to copy. Must have shape (n, m, nobs) or + (n, m, 1). + B : array_like + The matrix to copy to. Must have shape (n, m, nobs). + missing : array_like of bool + The vector of missing indices. Must have shape (k, nobs) where `k = n` + if `reorder_rows is True` and `k = m` if `reorder_cols is True`. + missing_rows : bool, optional + Whether or not the rows of the matrix are a missing dimension. Default + is False. + missing_cols : bool, optional + Whether or not the columns of the matrix are a missing dimension. + Default is False. + is_diagonal : bool, optional + Whether or not the matrix is diagonal. If this is True, must also have + `n = m`. Default is False. + inplace : bool, optional + Whether or not to copy to B in-place. Default is False. + prefix : {'s', 'd', 'c', 'z'}, optional + The Fortran prefix of the vector. Default is to automatically detect + the dtype. This parameter should only be used with caution. + + Returns + ------- + copied_matrix : ndarray + The matrix B with the non-missing submatrix of A copied onto it. + """ + if prefix is None: + prefix = find_best_blas_type((A, B))[0] + copy = prefix_copy_missing_matrix_map[prefix] + + if not inplace: + B = np.copy(B, order="F") + + # We may have been given an F-contiguous memoryview; in that case, we do + # not want to alter it or convert it to a numpy array + try: + if not A.is_f_contig(): + raise ValueError + except (AttributeError, ValueError): + A = np.asfortranarray(A) + + copy(A, B, np.asfortranarray(missing), missing_rows, missing_cols, + is_diagonal) + + return B + + +def copy_missing_vector(a, b, missing, inplace=False, prefix=None): + """ + Reorder the elements of a time-varying vector where all non-missing + values are in the first elements of the vector. + + Parameters + ---------- + a : array_like + The vector from which to copy. Must have shape (n, nobs) or (n, 1). + b : array_like + The vector to copy to. Must have shape (n, nobs). + missing : array_like of bool + The vector of missing indices. Must have shape (n, nobs). + inplace : bool, optional + Whether or not to copy to b in-place. Default is False. + prefix : {'s', 'd', 'c', 'z'}, optional + The Fortran prefix of the vector. Default is to automatically detect + the dtype. This parameter should only be used with caution. + + Returns + ------- + copied_vector : ndarray + The vector b with the non-missing subvector of a copied onto it. + """ + if prefix is None: + prefix = find_best_blas_type((a, b))[0] + copy = prefix_copy_missing_vector_map[prefix] + + if not inplace: + b = np.copy(b, order="F") + + # We may have been given an F-contiguous memoryview; in that case, we do + # not want to alter it or convert it to a numpy array + try: + if not a.is_f_contig(): + raise ValueError + except (AttributeError, ValueError): + a = np.asfortranarray(a) + + copy(a, b, np.asfortranarray(missing)) + + return b + + +def copy_index_matrix(A, B, index, index_rows=False, index_cols=False, + is_diagonal=False, inplace=False, prefix=None): + """ + Copy the rows or columns of a time-varying matrix where all non-index + values are in the upper left corner of the matrix. + + Parameters + ---------- + A : array_like + The matrix from which to copy. Must have shape (n, m, nobs) or + (n, m, 1). + B : array_like + The matrix to copy to. Must have shape (n, m, nobs). + index : array_like of bool + The vector of index indices. Must have shape (k, nobs) where `k = n` + if `reorder_rows is True` and `k = m` if `reorder_cols is True`. + index_rows : bool, optional + Whether or not the rows of the matrix are a index dimension. Default + is False. + index_cols : bool, optional + Whether or not the columns of the matrix are a index dimension. + Default is False. + is_diagonal : bool, optional + Whether or not the matrix is diagonal. If this is True, must also have + `n = m`. Default is False. + inplace : bool, optional + Whether or not to copy to B in-place. Default is False. + prefix : {'s', 'd', 'c', 'z'}, optional + The Fortran prefix of the vector. Default is to automatically detect + the dtype. This parameter should only be used with caution. + + Returns + ------- + copied_matrix : ndarray + The matrix B with the non-index submatrix of A copied onto it. + """ + if prefix is None: + prefix = find_best_blas_type((A, B))[0] + copy = prefix_copy_index_matrix_map[prefix] + + if not inplace: + B = np.copy(B, order="F") + + # We may have been given an F-contiguous memoryview; in that case, we do + # not want to alter it or convert it to a numpy array + try: + if not A.is_f_contig(): + raise ValueError + except (AttributeError, ValueError): + A = np.asfortranarray(A) + + copy(A, B, np.asfortranarray(index), index_rows, index_cols, + is_diagonal) + + return B + + +def copy_index_vector(a, b, index, inplace=False, prefix=None): + """ + Reorder the elements of a time-varying vector where all non-index + values are in the first elements of the vector. + + Parameters + ---------- + a : array_like + The vector from which to copy. Must have shape (n, nobs) or (n, 1). + b : array_like + The vector to copy to. Must have shape (n, nobs). + index : array_like of bool + The vector of index indices. Must have shape (n, nobs). + inplace : bool, optional + Whether or not to copy to b in-place. Default is False. + prefix : {'s', 'd', 'c', 'z'}, optional + The Fortran prefix of the vector. Default is to automatically detect + the dtype. This parameter should only be used with caution. + + Returns + ------- + copied_vector : ndarray + The vector b with the non-index subvector of a copied onto it. + """ + if prefix is None: + prefix = find_best_blas_type((a, b))[0] + copy = prefix_copy_index_vector_map[prefix] + + if not inplace: + b = np.copy(b, order="F") + + # We may have been given an F-contiguous memoryview; in that case, we do + # not want to alter it or convert it to a numpy array + try: + if not a.is_f_contig(): + raise ValueError + except (AttributeError, ValueError): + a = np.asfortranarray(a) + + copy(a, b, np.asfortranarray(index)) + + return b + + +def prepare_exog(exog): + """ + Standardize the shape of an exog array and compute its number of columns + + Parameters + ---------- + exog : array_like or None + Exogenous regressor array, or None if there are no exogenous + regressors. + + Returns + ------- + k_exog : int + The number of exogenous regressors (columns of `exog`). Zero if + `exog` is None. + exog : ndarray, DataFrame, or None + The `exog` array, coerced to a two-dimensional array (or + `pandas.DataFrame`, if `exog` was a pandas object) if it was not + already. None if `exog` is None. + """ + k_exog = 0 + if exog is not None: + exog_is_using_pandas = _is_using_pandas(exog, None) + if not exog_is_using_pandas: + exog = np.asarray(exog) + + # Make sure we have 2-dimensional array + if exog.ndim == 1: + if not exog_is_using_pandas: + exog = exog[:, None] + else: + exog = pd.DataFrame(exog) + + k_exog = exog.shape[1] + return (k_exog, exog) + + +def prepare_trend_spec(trend): + """ + Translate a trend specification into a polynomial trend and its order + + Parameters + ---------- + trend : str, array_like, or None + The trend specification. Can be a string, in which case it must be + one of 'n' (no trend), 'c' (constant), 't' (linear trend in time), + 'ct' (both constant and linear trend), or 'ctt' (constant, linear + trend, and squared trend). Alternatively, can be an iterable defining + a polynomial, e.g., `[1, 1, 0, 1]` corresponds to a constant, a + linear trend, and a trend of degree three (but not a squared trend). + None is equivalent to 'n'. + + Returns + ------- + polynomial_trend : ndarray + Array containing the coefficients of the polynomial, where non-zero + entries indicate that the associated degree term is included in the + model, in order of increasing degree. + k_trend : int + The number of distinct trend elements (i.e., the number of non-zero + entries of `polynomial_trend`). Note that this is not the same as + the degree of the trend polynomial. + """ + # Trend + if trend is None or trend == "n": + polynomial_trend = np.ones(0) + elif trend == "c": + polynomial_trend = np.r_[1] + elif trend == "t": + polynomial_trend = np.r_[0, 1] + elif trend == "ct": + polynomial_trend = np.r_[1, 1] + elif trend == "ctt": + # TODO deprecate ctt? + polynomial_trend = np.r_[1, 1, 1] + else: + trend = np.array(trend) + if trend.ndim > 0: + polynomial_trend = (trend > 0).astype(int) + else: + raise ValueError( + "Valid trend inputs are 'c' (constant), 't' (linear trend in " + "time), 'ct' (both), 'ctt' (both with trend squared) or an " + "interable defining a polynomial, e.g., [1, 1, 0, 1] is `a + " + f"b*t + ct**3`. Received {trend}" + ) + + # Note: k_trend is not the degree of the trend polynomial, because e.g. + # k_trend = 1 corresponds to the degree zero polynomial (with only a + # constant term). + k_trend = int(np.sum(polynomial_trend)) + + return polynomial_trend, k_trend + + +def prepare_trend_data(polynomial_trend, k_trend, nobs, offset=1): + """ + Construct the trend data array associated with a given trend polynomial + + Parameters + ---------- + polynomial_trend : array_like + Array containing the coefficients of the polynomial, where non-zero + entries indicate that the associated degree term should be included + in the trend data, in order of increasing degree. See + `prepare_trend_spec`. + k_trend : int + The number of distinct trend elements (i.e., the number of non-zero + entries of `polynomial_trend`). + nobs : int + The number of observations for which to construct trend data. + offset : int, optional + The time period associated with the first observation. Default is 1. + + Returns + ------- + trend_data : ndarray + Array shaped `(nobs, k_trend)` containing the trend regressors + associated with `polynomial_trend`. + """ + # Cache the arrays for calculating the intercept from the trend + # components + time_trend = np.arange(offset, nobs + offset) + trend_data = np.zeros((nobs, k_trend)) + for i, k in enumerate(polynomial_trend.nonzero()[0]): + if k == 0: + trend_data[:, i] = np.ones(nobs,) + else: + trend_data[:, i] = time_trend**k + + return trend_data + + +def _safe_cond(a): + """Compute condition while protecting from LinAlgError""" + try: + return np.linalg.cond(a) + except np.linalg.LinAlgError: + if np.any(np.isnan(a)): + return np.nan + else: + return np.inf + + +def _compute_smoothed_state_weights(ssm, compute_t=None, compute_j=None, + compute_prior_weights=None, scale=1.0): + """ + Construct the weights of observations and the prior on the smoothed state + + Parameters + ---------- + ssm : KalmanSmoother + The `statespace.kalman_smoother.KalmanSmoother` object (or a + subclass, e.g., `statespace.simulation_smoother.SimulationSmoother`) + with an underlying Cython state space, Kalman filter, and Kalman + smoother that have already been run so that the required attributes + are available. + compute_t : array_like, optional + An explicit list of periods `t` of the smoothed state vector to + compute weights for. Default is to compute weights for all periods. + compute_j : array_like, optional + An explicit list of periods `j` of observations to compute weights + for. Default is to compute weights for all periods. + compute_prior_weights : bool, optional + Whether or not to compute the weight matrices associated with the + prior mean. Default is True if 0 is in `compute_j`, and False + otherwise. + scale : float, optional + The scale of the model, as computed e.g., by the Kalman filter. Used + to scale the weights appropriately. Default is 1.0. + + Returns + ------- + weights : ndarray + Weight matrices that can be used to construct the smoothed state + from the observations. See `compute_smoothed_state_weights` for more + details. + state_intercept_weights : ndarray + Weight matrices describing the impact of the state intercept on the + smoothed state vector. + prior_weights : ndarray + Weight matrices that describe the impact of the prior on the + smoothed state vector. See `compute_smoothed_state_weights` for more + details. + + See Also + -------- + compute_smoothed_state_weights + """ + # Get references to the Cython objects + _model = ssm._statespace + _kfilter = ssm._kalman_filter + _smoother = ssm._kalman_smoother + + # Determine the appropriate function for the dtype + func = prefix_compute_smoothed_state_weights_map[ssm.prefix] + + # Handle compute_t and compute_j indexes + if compute_t is None: + compute_t = np.arange(ssm.nobs) + if compute_j is None: + compute_j = np.arange(ssm.nobs) + compute_t = np.unique(np.atleast_1d(compute_t).astype(np.int32)) + compute_t.sort() + compute_j = np.unique(np.atleast_1d(compute_j).astype(np.int32)) + compute_j.sort() + + # Default setting for computing the prior weights + if compute_prior_weights is None: + compute_prior_weights = compute_j[0] == 0 + # Validate that compute_prior_weights is valid + if compute_prior_weights and compute_j[0] != 0: + raise ValueError("If `compute_prior_weights` is set to True, then" + " `compute_j` must include the time period 0.") + + # Compute the weights + weights, state_intercept_weights, prior_weights, _ = func( + _smoother, _kfilter, _model, compute_t, compute_j, scale, + bool(compute_prior_weights)) + + # Re-order missing entries correctly and transpose to the appropriate + # shape + t0 = min(compute_t[0], compute_j[0]) + missing = np.isnan(ssm.endog[:, t0:]) + if np.any(missing): + shape = weights.shape + # Transpose m, p, t, j, -> t, m, p, j so that we can use the + # `reorder_missing_matrix` function + weights = np.asfortranarray(weights.transpose(2, 0, 1, 3).reshape( + shape[2] * shape[0], shape[1], shape[3], order="C")) + missing = np.asfortranarray(missing.astype(np.int32)) + reorder_missing_matrix(weights, missing, reorder_cols=True, + inplace=True) + # Transpose t, m, p, j -> t, j, m, p, + weights = (weights.reshape(shape[2], shape[0], shape[1], shape[3]) + .transpose(0, 3, 1, 2)) + else: + # Transpose m, p, t, j -> t, j, m, p + weights = weights.transpose(2, 3, 0, 1) + + # Transpose m, l, t, j -> t, j, m, l + state_intercept_weights = state_intercept_weights.transpose(2, 3, 0, 1) + + # Transpose m, l, t -> t, m, l + prior_weights = prior_weights.transpose(2, 0, 1) + + # Subset to the actual computed t, j elements + ix_tj = np.ix_(compute_t - t0, compute_j - t0) + weights = weights[ix_tj] + state_intercept_weights = state_intercept_weights[ix_tj] + if compute_prior_weights: + prior_weights = prior_weights[compute_t - t0] + + return weights, state_intercept_weights, prior_weights + + +def compute_smoothed_state_weights(results, compute_t=None, compute_j=None, + compute_prior_weights=None, resmooth=None): + r""" + Construct the weights of observations and the prior on the smoothed state + + Parameters + ---------- + results : MLEResults object + Results object from fitting a state space model. + compute_t : array_like, optional + An explicit list of periods `t` of the smoothed state vector to compute + weights for (see the Returns section for more details about the + dimension `t`). Default is to compute weights for all periods `t`. + However, if weights for only a few time points are desired, then + performance can be improved by specifying this argument. + compute_j : array_like, optional + An explicit list of periods `j` of observations to compute + weights for (see the Returns section for more details about the + dimension `j`). Default is to compute weights for all periods `j`. + However, if weights for only a few time points are desired, then + performance can be improved by specifying this argument. + compute_prior_weights : bool, optional + Whether or not to compute the weight matrices associated with the prior + mean (also called the "initial state"). Note that doing so requires + that period 0 is in the periods defined in `compute_j`. Default is True + if 0 is in `compute_j` (or if the `compute_j` argument is not passed) + and False otherwise. + resmooth : bool, optional + Whether or not to re-perform filtering and smoothing prior to + constructing the weights. Default is to resmooth if the smoothed_state + vector is different between the given results object and the + underlying smoother. Caution is adviced when changing this setting. + See the Notes section below for more details. + + Returns + ------- + weights : ndarray + Weight matrices that can be used to construct the smoothed state from + the observations. The returned matrix is always shaped + `(nobs, nobs, k_states, k_endog)`, and entries that are not computed + are set to NaNs. (Entries will not be computed if they are not + included in `compute_t` and `compute_j`, or if they correspond to + missing observations, or if they are for periods in which the exact + diffuse Kalman filter is operative). The `(t, j, m, p)`-th element of + this matrix contains the weight of the `p`-th element of the + observation vector at time `j` in constructing the `m`-th element of + the smoothed state vector at time `t`. + state_intercept_weights : ndarray + Weight matrices describing the impact of the state intercept on the + smoothed state vector. The returned matrix is always shaped + `(nobs, nobs, k_states, k_states)`. + prior_weights : ndarray + Weight matrices that describe the impact of the prior (also called the + initialization) on the smoothed state vector. The returned matrix is + always shaped `(nobs, k_states, k_states)`. If prior weights are not + computed, then all entries will be set to NaNs. The `(t, m, l)`-th + element of this matrix contains the weight of the `l`-th element of the + prior mean (also called the "initial state") in constructing the + `m`-th element of the smoothed state vector at time `t`. + + Notes + ----- + In [1]_, Chapter 4.8, it is shown how the smoothed state vector can be + written as a weighted vector sum of observations: + + .. math:: + + \hat \alpha_t = \sum_{j=1}^n \omega_{jt}^{\hat \alpha} y_j + + One output of this function is the weights + :math:`\omega_{jt}^{\hat \alpha}`. Note that the description in [1]_ + assumes that the prior mean (or "initial state") is fixed to be zero. More + generally, the smoothed state vector will also depend partly on the prior. + The second output of this function are the weights of the prior mean. + + There are two important technical notes about the computations used here: + + 1. In the univariate approach to multivariate filtering (see e.g. + Chapter 6.4 of [1]_), all observations are introduced one at a time, + including those from the same time period. As a result, the weight of + each observation can be different than when all observations from the + same time point are introduced together, as in the typical multivariate + filtering approach. Here, we always compute weights as in the + multivariate filtering approach, and we handle singular forecast error + covariance matrices by using a pseudo-inverse. + 2. Constructing observation weights for periods in which the exact diffuse + filter (see e.g., Chapter 5 of [1]_) is operative is not done here, and + so the corresponding entries in the returned weight matrices will always + be set equal to zeros. While handling these periods may be implemented + in the future, one option for constructing these weights is to use an + approximate (instead of exact) diffuse initialization for this purpose. + + Finally, one note about implementation: to compute the weights, we use + attributes of the underlying filtering and smoothing Cython objects + directly. However, these objects are not frozen with the result + computation, and we cannot guarantee that their attributes have not + changed since `res` was created. As a result, by default we re-run the + filter and smoother to ensure that the attributes there actually correspond + to the `res` object. This can be overridden by the user for a small + performance boost if they are sure that the attributes have not changed; + see the `resmooth` argument. + + References + ---------- + .. [1] Durbin, James, and Siem Jan Koopman. 2012. + Time Series Analysis by State Space Methods: Second Edition. + Oxford University Press. + """ + # Get the python model object + mod = results.model + # Always update the parameters to be consistent with `res` + mod.update(results.params) + # By default, resmooth if it appears the results have changed; check is + # based on the smoothed state vector + if resmooth is None: + resmooth = np.any(results.smoothed_state != + mod.ssm._kalman_smoother.smoothed_state) + # Resmooth if necessary, otherwise at least update the Cython model + if resmooth: + mod.ssm.smooth(conserve_memory=0, update_representation=False, + update_filter=False, update_smoother=False) + else: + mod.ssm._initialize_representation() + + return _compute_smoothed_state_weights( + mod.ssm, compute_t=compute_t, compute_j=compute_j, + compute_prior_weights=compute_prior_weights, + scale=results.filter_results.scale) + + +def get_impact_dates(previous_model, updated_model, impact_date=None, + start=None, end=None, periods=None): + """ + Compute start/end periods and an index, often for impacts of data updates + + Parameters + ---------- + previous_model : MLEModel + Model used to compute default start/end periods if None are given. + In the case of computing impacts of data updates, this would be the + model estimated with the previous dataset. Otherwise, can be the same + as `updated_model`. + updated_model : MLEModel + Model used to compute the index. In the case of computing impacts of + data updates, this would be the model estimated with the updated + dataset. Otherwise, can be the same as `previous_model`. + impact_date : int, str, or datetime, optional + Specific individual impact date. Cannot be used in combination with + `start`, `end`, or `periods`. + start : int, str, or datetime, optional + Starting point of the impact dates. If given, one of `end` or `periods` + must also be given. If a negative integer, will be computed relative to + the dates in the `updated_model` index. Cannot be used in combination + with `impact_date`. + end : int, str, or datetime, optional + Ending point of the impact dates. If given, one of `start` or `periods` + must also be given. If a negative integer, will be computed relative to + the dates in the `updated_model` index. Cannot be used in combination + with `impact_date`. + periods : int, optional + Number of impact date periods. If given, one of `start` or `end` + must also be given. Cannot be used in combination with `impact_date`. + + Returns + ------- + start : int + Integer location of the first included impact dates. + end : int + Integer location of the last included impact dates (i.e., this integer + location is included in the returned `index`). + index : pd.Index + Index associated with `start` and `end`, as computed from the + `updated_model`'s index. + + Notes + ----- + This function is typically used as a helper for standardizing start and + end periods for a date range where the most sensible default values are + based on some initial dataset (here contained in the `previous_model`), + while index-related operations (especially relative start/end dates given + via negative integers) are most sensibly computed from an updated dataset + (here contained in the `updated_model`). + + """ + # There doesn't seem to be any universal default that both (a) make + # sense for all data update combinations, and (b) work with both + # time-invariant and time-varying models. So we require that the user + # specify exactly two of start, end, periods. + if impact_date is not None: + if not (start is None and end is None and periods is None): + raise ValueError("Cannot use the `impact_date` argument in" + " combination with `start`, `end`, or" + " `periods`.") + start = impact_date + periods = 1 + if start is None and end is None and periods is None: + start = previous_model.nobs - 1 + end = previous_model.nobs - 1 + if int(start is None) + int(end is None) + int(periods is None) != 1: + raise ValueError("Of the three parameters: start, end, and" + " periods, exactly two must be specified") + # If we have the `periods` object, we need to convert `start`/`end` to + # integers so that we can compute the other one. That's because + # _get_prediction_index doesn't support a `periods` argument + elif start is not None and periods is not None: + start, _, _, _ = updated_model._get_prediction_index(start, start) + end = start + (periods - 1) + elif end is not None and periods is not None: + _, end, _, _ = updated_model._get_prediction_index(end, end) + start = end - (periods - 1) + elif start is not None and end is not None: + pass + + # Get the integer-based start, end and the prediction index + start, end, out_of_sample, prediction_index = ( + updated_model._get_prediction_index(start, end)) + end = end + out_of_sample + + return start, end, prediction_index + + +def _atleast_1d(*arys): + """ + Version of `np.atleast_1d`, copied from + https://github.com/numpy/numpy/blob/master/numpy/core/shape_base.py, + with the following modifications: + + 1. It allows for `None` arguments, and passes them directly through + + Parameters + ---------- + *arys : array_like or None + One or more input arrays (or None) to be converted to arrays with + at least one dimension. + + Returns + ------- + ret : ndarray or None or list + An array (or None, if the corresponding input was None) with + `a.ndim >= 1`. A list of arrays (or None values) is returned if + more than one input was given. + """ + res = [] + for ary in arys: + if ary is None: + result = None + else: + arr = np.asanyarray(ary) + if arr.ndim == 0: + result = arr.reshape(1) + else: + result = arr + res.append(result) + if len(res) == 1: + return res[0] + else: + return res + + +def _atleast_2d(*arys): + """ + Version of `np.atleast_2d`, copied from + https://github.com/numpy/numpy/blob/master/numpy/core/shape_base.py, + with the following modifications: + + 1. It allows for `None` arguments, and passes them directly through + 2. Instead of creating new axis at the beginning, it creates it at the end + + Parameters + ---------- + *arys : array_like or None + One or more input arrays (or None) to be converted to arrays with + at least two dimensions. + + Returns + ------- + ret : ndarray or None or list + An array (or None, if the corresponding input was None) with + `a.ndim >= 2`. A list of arrays (or None values) is returned if + more than one input was given. + """ + res = [] + for ary in arys: + if ary is None: + result = None + else: + arr = np.asanyarray(ary) + if arr.ndim == 0: + result = arr.reshape(1, 1) + elif arr.ndim == 1: + result = arr[:, np.newaxis] + else: + result = arr + res.append(result) + if len(res) == 1: + return res[0] + else: + return res diff --git a/shared/package-files/70/703a7e078c0a5c4f14e5bff3a89225c5d198f802003024c93991b76d164128d7/Vostok b/shared/package-files/70/703a7e078c0a5c4f14e5bff3a89225c5d198f802003024c93991b76d164128d7/Vostok new file mode 100644 index 0000000000000000000000000000000000000000..4ce8f74784e970731f5f44b84f73780087890fa5 Binary files /dev/null and b/shared/package-files/70/703a7e078c0a5c4f14e5bff3a89225c5d198f802003024c93991b76d164128d7/Vostok differ diff --git a/shared/package-files/70/703d508bd804e89899f2f1757a492e9c90c2613f015e7d5a46f4c26d8eb0be5b/conv_tbc_backward.h b/shared/package-files/70/703d508bd804e89899f2f1757a492e9c90c2613f015e7d5a46f4c26d8eb0be5b/conv_tbc_backward.h new file mode 100644 index 0000000000000000000000000000000000000000..248b1549c99d411cf5cecd920e61841d235b4454 --- /dev/null +++ b/shared/package-files/70/703d508bd804e89899f2f1757a492e9c90c2613f015e7d5a46f4c26d8eb0be5b/conv_tbc_backward.h @@ -0,0 +1,30 @@ +#pragma once + +// @generated by torchgen/gen.py from Function.h + +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include + + + +#include + +namespace at { + + +// aten::conv_tbc_backward(Tensor self, Tensor input, Tensor weight, Tensor bias, int pad) -> (Tensor, Tensor, Tensor) +inline ::std::tuple conv_tbc_backward(const at::Tensor & self, const at::Tensor & input, const at::Tensor & weight, const at::Tensor & bias, int64_t pad) { + return at::_ops::conv_tbc_backward::call(self, input, weight, bias, pad); +} + +} diff --git a/shared/package-files/70/70426f0694b8eff22d55a4703851b9373ee30f8576781eb0c1910ce9df6c7db2/PythonDispatcherTLS.h b/shared/package-files/70/70426f0694b8eff22d55a4703851b9373ee30f8576781eb0c1910ce9df6c7db2/PythonDispatcherTLS.h new file mode 100644 index 0000000000000000000000000000000000000000..9016c3e11e1579feb48058a928c3dc033d7d0d24 --- /dev/null +++ b/shared/package-files/70/70426f0694b8eff22d55a4703851b9373ee30f8576781eb0c1910ce9df6c7db2/PythonDispatcherTLS.h @@ -0,0 +1,24 @@ +#pragma once + +#include +#include + +namespace c10::impl { + +struct C10_API PythonDispatcherTLS { + static void set_state(PyInterpreter* state); + static PyInterpreter* get_state(); + static void reset_state(); +}; + +struct C10_API DisablePythonDispatcher { + DisablePythonDispatcher() : old_(PythonDispatcherTLS::get_state()) { + PythonDispatcherTLS::set_state({}); + } + ~DisablePythonDispatcher() { + PythonDispatcherTLS::set_state(old_); + } + PyInterpreter* old_; +}; + +} // namespace c10::impl diff --git a/shared/package-files/70/7042d9769ca7726436854693e26cb16d584dc50071c88b0a82afbe625cb1c310/datetime.py b/shared/package-files/70/7042d9769ca7726436854693e26cb16d584dc50071c88b0a82afbe625cb1c310/datetime.py new file mode 100644 index 0000000000000000000000000000000000000000..427d8c5ed2458b1bcd885f0dda5390dfff2b9032 --- /dev/null +++ b/shared/package-files/70/7042d9769ca7726436854693e26cb16d584dc50071c88b0a82afbe625cb1c310/datetime.py @@ -0,0 +1,468 @@ +# This file is part of Hypothesis, which may be found at +# https://github.com/HypothesisWorks/hypothesis/ +# +# Copyright the Hypothesis Authors. +# Individual contributors are listed in AUTHORS.rst and the git log. +# +# This Source Code Form is subject to the terms of the Mozilla Public License, +# v. 2.0. If a copy of the MPL was not distributed with this file, You can +# obtain one at https://mozilla.org/MPL/2.0/. + +import datetime as dt +from calendar import monthrange +from functools import lru_cache +from importlib import resources +from pathlib import Path +from typing import Optional + +from hypothesis.errors import InvalidArgument +from hypothesis.internal.validation import check_type, check_valid_interval +from hypothesis.strategies._internal.core import sampled_from +from hypothesis.strategies._internal.misc import just, none +from hypothesis.strategies._internal.strategies import SearchStrategy +from hypothesis.strategies._internal.utils import defines_strategy + +# The zoneinfo module, required for the timezones() and timezone_keys() +# strategies, is new in Python 3.9 and the backport might be missing. +try: + import zoneinfo +except ImportError: + try: + from backports import zoneinfo # type: ignore + except ImportError: + # We raise an error recommending `pip install hypothesis[zoneinfo]` + # when timezones() or timezone_keys() strategies are actually used. + zoneinfo = None # type: ignore + +DATENAMES = ("year", "month", "day") +TIMENAMES = ("hour", "minute", "second", "microsecond") + + +def is_pytz_timezone(tz): + if not isinstance(tz, dt.tzinfo): + return False + module = type(tz).__module__ + return module == "pytz" or module.startswith("pytz.") + + +def replace_tzinfo(value, timezone): + if is_pytz_timezone(timezone): + # Pytz timezones are a little complicated, and using the .replace method + # can cause some weird issues, so we use their special "localize" instead. + # + # We use the fold attribute as a convenient boolean for is_dst, even though + # they're semantically distinct. For ambiguous or imaginary hours, fold says + # whether you should use the offset that applies before the gap (fold=0) or + # the offset that applies after the gap (fold=1). is_dst says whether you + # should choose the side that is "DST" or "STD" (STD->STD or DST->DST + # transitions are unclear as you might expect). + # + # WARNING: this is INCORRECT for timezones with negative DST offsets such as + # "Europe/Dublin", but it's unclear what we could do instead beyond + # documenting the problem and recommending use of `dateutil` instead. + return timezone.localize(value, is_dst=not value.fold) + return value.replace(tzinfo=timezone) + + +def datetime_does_not_exist(value): + """This function tests whether the given datetime can be round-tripped to and + from UTC. It is an exact inverse of (and very similar to) the dateutil method + https://dateutil.readthedocs.io/en/stable/tz.html#dateutil.tz.datetime_exists + """ + # Naive datetimes cannot be imaginary, but we need this special case because + # chaining .astimezone() ends with *the system local timezone*, not None. + # See bug report in https://github.com/HypothesisWorks/hypothesis/issues/2662 + if value.tzinfo is None: + return False + try: + # Does the naive portion of the datetime change when round-tripped to + # UTC? If so, or if this overflows, we say that it does not exist. + roundtrip = value.astimezone(dt.timezone.utc).astimezone(value.tzinfo) + except OverflowError: + # Overflows at datetime.min or datetime.max boundary condition. + # Rejecting these is acceptable, because timezones are close to + # meaningless before ~1900 and subject to a lot of change by + # 9999, so it should be a very small fraction of possible values. + return True + + if ( + value.tzinfo is not roundtrip.tzinfo + and value.utcoffset() != roundtrip.utcoffset() + ): + # This only ever occurs during imaginary (i.e. nonexistent) datetimes, + # and only for pytz timezones which do not follow PEP-495 semantics. + # (may exclude a few other edge cases, but you should use zoneinfo anyway) + return True + + assert value.tzinfo is roundtrip.tzinfo, "so only the naive portions are compared" + return value != roundtrip + + +def draw_capped_multipart( + data, min_value, max_value, duration_names=DATENAMES + TIMENAMES +): + assert isinstance(min_value, (dt.date, dt.time, dt.datetime)) + assert type(min_value) == type(max_value) + assert min_value <= max_value + result = {} + cap_low, cap_high = True, True + for name in duration_names: + low = getattr(min_value if cap_low else dt.datetime.min, name) + high = getattr(max_value if cap_high else dt.datetime.max, name) + if name == "day" and not cap_high: + _, high = monthrange(**result) + if name == "year": + val = data.draw_integer(low, high, shrink_towards=2000) + else: + val = data.draw_integer(low, high) + result[name] = val + cap_low = cap_low and val == low + cap_high = cap_high and val == high + if hasattr(min_value, "fold"): + # The `fold` attribute is ignored in comparison of naive datetimes. + # In tz-aware datetimes it would require *very* invasive changes to + # the logic above, and be very sensitive to the specific timezone + # (at the cost of efficient shrinking and mutation), so at least for + # now we stick with the status quo and generate it independently. + result["fold"] = data.draw_integer(0, 1) + return result + + +class DatetimeStrategy(SearchStrategy): + def __init__(self, min_value, max_value, timezones_strat, allow_imaginary): + assert isinstance(min_value, dt.datetime) + assert isinstance(max_value, dt.datetime) + assert min_value.tzinfo is None + assert max_value.tzinfo is None + assert min_value <= max_value + assert isinstance(timezones_strat, SearchStrategy) + assert isinstance(allow_imaginary, bool) + self.min_value = min_value + self.max_value = max_value + self.tz_strat = timezones_strat + self.allow_imaginary = allow_imaginary + + def do_draw(self, data): + # We start by drawing a timezone, and an initial datetime. + tz = data.draw(self.tz_strat) + result = self.draw_naive_datetime_and_combine(data, tz) + + # TODO: with some probability, systematically search for one of + # - an imaginary time (if allowed), + # - a time within 24hrs of a leap second (if there any are within bounds), + # - other subtle, little-known, or nasty issues as described in + # https://github.com/HypothesisWorks/hypothesis/issues/69 + + # If we happened to end up with a disallowed imaginary time, reject it. + if (not self.allow_imaginary) and datetime_does_not_exist(result): + data.mark_invalid(f"{result} does not exist (usually a DST transition)") + return result + + def draw_naive_datetime_and_combine(self, data, tz): + result = draw_capped_multipart(data, self.min_value, self.max_value) + try: + return replace_tzinfo(dt.datetime(**result), timezone=tz) + except (ValueError, OverflowError): + data.mark_invalid( + f"Failed to draw a datetime between {self.min_value!r} and " + f"{self.max_value!r} with timezone from {self.tz_strat!r}." + ) + + +@defines_strategy(force_reusable_values=True) +def datetimes( + min_value: dt.datetime = dt.datetime.min, + max_value: dt.datetime = dt.datetime.max, + *, + timezones: SearchStrategy[Optional[dt.tzinfo]] = none(), + allow_imaginary: bool = True, +) -> SearchStrategy[dt.datetime]: + """datetimes(min_value=datetime.datetime.min, max_value=datetime.datetime.max, *, timezones=none(), allow_imaginary=True) + + A strategy for generating datetimes, which may be timezone-aware. + + This strategy works by drawing a naive datetime between ``min_value`` + and ``max_value``, which must both be naive (have no timezone). + + ``timezones`` must be a strategy that generates either ``None``, for naive + datetimes, or :class:`~python:datetime.tzinfo` objects for 'aware' datetimes. + You can construct your own, though we recommend using one of these built-in + strategies: + + * with Python 3.9 or newer or :pypi:`backports.zoneinfo`: + :func:`hypothesis.strategies.timezones`; + * with :pypi:`dateutil `: + :func:`hypothesis.extra.dateutil.timezones`; or + * with :pypi:`pytz`: :func:`hypothesis.extra.pytz.timezones`. + + You may pass ``allow_imaginary=False`` to filter out "imaginary" datetimes + which did not (or will not) occur due to daylight savings, leap seconds, + timezone and calendar adjustments, etc. Imaginary datetimes are allowed + by default, because malformed timestamps are a common source of bugs. + + Examples from this strategy shrink towards midnight on January 1st 2000, + local time. + """ + # Why must bounds be naive? In principle, we could also write a strategy + # that took aware bounds, but the API and validation is much harder. + # If you want to generate datetimes between two particular moments in + # time I suggest (a) just filtering out-of-bounds values; (b) if bounds + # are very close, draw a value and subtract its UTC offset, handling + # overflows and nonexistent times; or (c) do something customised to + # handle datetimes in e.g. a four-microsecond span which is not + # representable in UTC. Handling (d), all of the above, leads to a much + # more complex API for all users and a useful feature for very few. + check_type(bool, allow_imaginary, "allow_imaginary") + check_type(dt.datetime, min_value, "min_value") + check_type(dt.datetime, max_value, "max_value") + if min_value.tzinfo is not None: + raise InvalidArgument(f"{min_value=} must not have tzinfo") + if max_value.tzinfo is not None: + raise InvalidArgument(f"{max_value=} must not have tzinfo") + check_valid_interval(min_value, max_value, "min_value", "max_value") + if not isinstance(timezones, SearchStrategy): + raise InvalidArgument( + f"{timezones=} must be a SearchStrategy that can " + "provide tzinfo for datetimes (either None or dt.tzinfo objects)" + ) + return DatetimeStrategy(min_value, max_value, timezones, allow_imaginary) + + +class TimeStrategy(SearchStrategy): + def __init__(self, min_value, max_value, timezones_strat): + self.min_value = min_value + self.max_value = max_value + self.tz_strat = timezones_strat + + def do_draw(self, data): + result = draw_capped_multipart(data, self.min_value, self.max_value, TIMENAMES) + tz = data.draw(self.tz_strat) + return dt.time(**result, tzinfo=tz) + + +@defines_strategy(force_reusable_values=True) +def times( + min_value: dt.time = dt.time.min, + max_value: dt.time = dt.time.max, + *, + timezones: SearchStrategy[Optional[dt.tzinfo]] = none(), +) -> SearchStrategy[dt.time]: + """times(min_value=datetime.time.min, max_value=datetime.time.max, *, timezones=none()) + + A strategy for times between ``min_value`` and ``max_value``. + + The ``timezones`` argument is handled as for :py:func:`datetimes`. + + Examples from this strategy shrink towards midnight, with the timezone + component shrinking as for the strategy that provided it. + """ + check_type(dt.time, min_value, "min_value") + check_type(dt.time, max_value, "max_value") + if min_value.tzinfo is not None: + raise InvalidArgument(f"{min_value=} must not have tzinfo") + if max_value.tzinfo is not None: + raise InvalidArgument(f"{max_value=} must not have tzinfo") + check_valid_interval(min_value, max_value, "min_value", "max_value") + return TimeStrategy(min_value, max_value, timezones) + + +class DateStrategy(SearchStrategy): + def __init__(self, min_value, max_value): + assert isinstance(min_value, dt.date) + assert isinstance(max_value, dt.date) + assert min_value < max_value + self.min_value = min_value + self.max_value = max_value + + def do_draw(self, data): + return dt.date( + **draw_capped_multipart(data, self.min_value, self.max_value, DATENAMES) + ) + + +@defines_strategy(force_reusable_values=True) +def dates( + min_value: dt.date = dt.date.min, max_value: dt.date = dt.date.max +) -> SearchStrategy[dt.date]: + """dates(min_value=datetime.date.min, max_value=datetime.date.max) + + A strategy for dates between ``min_value`` and ``max_value``. + + Examples from this strategy shrink towards January 1st 2000. + """ + check_type(dt.date, min_value, "min_value") + check_type(dt.date, max_value, "max_value") + check_valid_interval(min_value, max_value, "min_value", "max_value") + if min_value == max_value: + return just(min_value) + return DateStrategy(min_value, max_value) + + +class TimedeltaStrategy(SearchStrategy): + def __init__(self, min_value, max_value): + assert isinstance(min_value, dt.timedelta) + assert isinstance(max_value, dt.timedelta) + assert min_value < max_value + self.min_value = min_value + self.max_value = max_value + + def do_draw(self, data): + result = {} + low_bound = True + high_bound = True + for name in ("days", "seconds", "microseconds"): + low = getattr(self.min_value if low_bound else dt.timedelta.min, name) + high = getattr(self.max_value if high_bound else dt.timedelta.max, name) + val = data.draw_integer(low, high) + result[name] = val + low_bound = low_bound and val == low + high_bound = high_bound and val == high + return dt.timedelta(**result) + + +@defines_strategy(force_reusable_values=True) +def timedeltas( + min_value: dt.timedelta = dt.timedelta.min, + max_value: dt.timedelta = dt.timedelta.max, +) -> SearchStrategy[dt.timedelta]: + """timedeltas(min_value=datetime.timedelta.min, max_value=datetime.timedelta.max) + + A strategy for timedeltas between ``min_value`` and ``max_value``. + + Examples from this strategy shrink towards zero. + """ + check_type(dt.timedelta, min_value, "min_value") + check_type(dt.timedelta, max_value, "max_value") + check_valid_interval(min_value, max_value, "min_value", "max_value") + if min_value == max_value: + return just(min_value) + return TimedeltaStrategy(min_value=min_value, max_value=max_value) + + +@lru_cache(maxsize=None) +def _valid_key_cacheable(tzpath, key): + assert isinstance(tzpath, tuple) # zoneinfo changed, better update this function! + for root in tzpath: + if Path(root).joinpath(key).exists(): # pragma: no branch + # No branch because most systems only have one TZPATH component. + return True + else: # pragma: no cover + # This branch is only taken for names which are known to zoneinfo + # but not present on the filesystem, i.e. on Windows with tzdata, + # and so is never executed by our coverage tests. + *package_loc, resource_name = key.split("/") + package = "tzdata.zoneinfo." + ".".join(package_loc) + try: + try: + traversable = resources.files(package) / resource_name + return traversable.exists() + except (AttributeError, ValueError): + # .files() was added in Python 3.9 + return resources.is_resource(package, resource_name) + except ModuleNotFoundError: + return False + + +@defines_strategy(force_reusable_values=True) +def timezone_keys( + *, + # allow_alias: bool = True, + # allow_deprecated: bool = True, + allow_prefix: bool = True, +) -> SearchStrategy[str]: + """A strategy for :wikipedia:`IANA timezone names `. + + As well as timezone names like ``"UTC"``, ``"Australia/Sydney"``, or + ``"America/New_York"``, this strategy can generate: + + - Aliases such as ``"Antarctica/McMurdo"``, which links to ``"Pacific/Auckland"``. + - Deprecated names such as ``"Antarctica/South_Pole"``, which *also* links to + ``"Pacific/Auckland"``. Note that most but + not all deprecated timezone names are also aliases. + - Timezone names with the ``"posix/"`` or ``"right/"`` prefixes, unless + ``allow_prefix=False``. + + These strings are provided separately from Tzinfo objects - such as ZoneInfo + instances from the timezones() strategy - to facilitate testing of timezone + logic without needing workarounds to access non-canonical names. + + .. note:: + + The :mod:`python:zoneinfo` module is new in Python 3.9, so you will need + to install the :pypi:`backports.zoneinfo` module on earlier versions. + + `On Windows, you will also need to install the tzdata package + `__. + + ``pip install hypothesis[zoneinfo]`` will install these conditional + dependencies if and only if they are needed. + + On Windows, you may need to access IANA timezone data via the :pypi:`tzdata` + package. For non-IANA timezones, such as Windows-native names or GNU TZ + strings, we recommend using :func:`~hypothesis.strategies.sampled_from` with + the :pypi:`dateutil ` package, e.g. + :meth:`dateutil:dateutil.tz.tzwin.list`. + """ + # check_type(bool, allow_alias, "allow_alias") + # check_type(bool, allow_deprecated, "allow_deprecated") + check_type(bool, allow_prefix, "allow_prefix") + if zoneinfo is None: # pragma: no cover + raise ModuleNotFoundError( + "The zoneinfo module is required, but could not be imported. " + "Run `pip install hypothesis[zoneinfo]` and try again." + ) + + available_timezones = ("UTC", *sorted(zoneinfo.available_timezones())) + + # TODO: filter out alias and deprecated names if disallowed + + # When prefixes are allowed, we first choose a key and then flatmap to get our + # choice with one of the available prefixes. That in turn means that we need + # some logic to determine which prefixes are available for a given key: + + def valid_key(key): + return key == "UTC" or _valid_key_cacheable(zoneinfo.TZPATH, key) + + # TODO: work out how to place a higher priority on "weird" timezones + # For details see https://github.com/HypothesisWorks/hypothesis/issues/2414 + strategy = sampled_from([key for key in available_timezones if valid_key(key)]) + + if not allow_prefix: + return strategy + + def sample_with_prefixes(zone): + keys_with_prefixes = (zone, f"posix/{zone}", f"right/{zone}") + return sampled_from([key for key in keys_with_prefixes if valid_key(key)]) + + return strategy.flatmap(sample_with_prefixes) + + +@defines_strategy(force_reusable_values=True) +def timezones(*, no_cache: bool = False) -> SearchStrategy["zoneinfo.ZoneInfo"]: + """A strategy for :class:`python:zoneinfo.ZoneInfo` objects. + + If ``no_cache=True``, the generated instances are constructed using + :meth:`ZoneInfo.no_cache ` instead + of the usual constructor. This may change the semantics of your datetimes + in surprising ways, so only use it if you know that you need to! + + .. note:: + + The :mod:`python:zoneinfo` module is new in Python 3.9, so you will need + to install the :pypi:`backports.zoneinfo` module on earlier versions. + + `On Windows, you will also need to install the tzdata package + `__. + + ``pip install hypothesis[zoneinfo]`` will install these conditional + dependencies if and only if they are needed. + """ + check_type(bool, no_cache, "no_cache") + if zoneinfo is None: # pragma: no cover + raise ModuleNotFoundError( + "The zoneinfo module is required, but could not be imported. " + "Run `pip install hypothesis[zoneinfo]` and try again." + ) + return timezone_keys().map( + zoneinfo.ZoneInfo.no_cache if no_cache else zoneinfo.ZoneInfo + ) diff --git a/shared/package-files/70/70431f501a67ef3527a92c22ef71d5bb91022b200ad6a5c77aa0d4c6b54065c1/common.py b/shared/package-files/70/70431f501a67ef3527a92c22ef71d5bb91022b200ad6a5c77aa0d4c6b54065c1/common.py new file mode 100644 index 0000000000000000000000000000000000000000..2dfca704b65bf85626ad54e0f922cf594fc1785f --- /dev/null +++ b/shared/package-files/70/70431f501a67ef3527a92c22ef71d5bb91022b200ad6a5c77aa0d4c6b54065c1/common.py @@ -0,0 +1,1755 @@ +import contextlib +import dataclasses +import functools +import itertools +import logging +import operator +import re +from itertools import chain +from typing import ( + Any, + Callable, + ClassVar, + Dict, + List, + NamedTuple, + Optional, + Set, + Tuple, + TYPE_CHECKING, + Union, +) + +import sympy +from sympy.printing.printer import Printer + +import torch +import torch.fx +from torch._prims_common import ELEMENTWISE_TYPE_PROMOTION_KIND +from torch.utils import _pytree as pytree +from torch.utils._sympy.value_ranges import ValueRanges + +from .. import config, metrics +from ..utils import ( + DeferredLineBase, + do_bench, + free_symbol_startswith, + IndentedBuffer, + sympy_dot, + sympy_index_symbol, + sympy_subs, + unique, +) +from ..virtualized import ops, OpsHandler, OpsValue, ReductionType, StoreMode, V + +if TYPE_CHECKING: + from ..ir import TensorBox + +schedule_log = torch._logging.getArtifactLogger(__name__, "schedule") + + +def data_type_logger(msg): + if schedule_log.isEnabledFor(logging.DEBUG): + schedule_log.debug("Data type propagation: %s", msg) + + +@dataclasses.dataclass +class WorkspaceArg: + """A temporary buffer used for a single kernel, then discarded. + + Not registered as a traditional buffer since there are no users, + so it would be dead code eliminated. + """ + + nbytes: sympy.Expr + zero_fill: bool + + +@dataclasses.dataclass +class TensorArg: + name: str + buffer: str + dtype: torch.dtype + offset: sympy.Expr = sympy.Integer(0) + + +@dataclasses.dataclass +class SizeArg: + name: str + expr: sympy.Expr + + +@dataclasses.dataclass +class DeviceCodegen: + scheduling: type + wrapper_codegen: type + + +KernelArgType = Union[WorkspaceArg, TensorArg, SizeArg] + +device_codegens: Dict[str, DeviceCodegen] = {} + + +class DeviceOpOverrides: + def import_get_raw_stream_as(self, name): + raise NotImplementedError() + + def set_device(self, device_idx): + raise NotImplementedError() + + def synchronize(self): + raise NotImplementedError() + + def device_guard(self, device_idx): + raise NotImplementedError() + + +device_op_overrides_dict: Dict[str, DeviceOpOverrides] = {} + + +# The code generated by Inductor consists of two main parts: kernel code and wrapper code. +# For any new backend looking to integrate with Inductor, customization of these two main +# parts are necessary to generate its specific code. +# +# Kernel code generation is determined by different Scheduling. Consequently, a new +# backend needs to provide a custom Scheduling for its unique kernel code generation. Currently, +# CppScheduling and TritonScheduling serve the C++/OpenMP and Triton backends, respectively. +# +# For the Wrapper, Inductor provides a WrapperCodeGen class to generate the Python wrapper code +# that bridges kernels. This allows out-of-tree backends to inherit from WrapperCodeGen, +# and override specific member functions to create backend-specific Python wrapper code. +# +# Other classes, such as CppKernel and TritonKernel, used for code generation, typically form part +# of the logic for either Scheduling or WrapperCodeGen. So the Scheduling and WrapperCodeGen interfaces +# provide flexibility to the backend. A backend can choose to implement these classes from scratch, +# or reuse them by extending and overriding as necessary. And Inductor provides the registration API, +# register_backend_for_device, to equip a new backend at runtime. +# +# Intel has developed a new backend on top of Triton to support Intel GPUs, leveraging these interfaces. +# This backend can be used as a reference: +# https://github.com/intel/intel-extension-for-pytorch/blob/5dcc9d57e5422cf295e1a1ee97896d6b6a554a85/intel_extension_for_pytorch/_inductor/__init__.py#L9 +def register_backend_for_device( + device: str, device_scheduling: type, device_wrapper_codegen: type +): + device_codegens[device] = DeviceCodegen(device_scheduling, device_wrapper_codegen) + + +def get_scheduling_for_device(device: str): + return device_codegens[device].scheduling if device in device_codegens else None + + +def get_wrapper_codegen_for_device(device: str): + return ( + device_codegens[device].wrapper_codegen if device in device_codegens else None + ) + + +def index_prevent_reordering(index: List[sympy.Expr], index_vars, sizes): + from ..ir import FlexibleLayout + + # added contiguous index prevents reordering + return [*index, sympy_dot(index_vars, FlexibleLayout.contiguous_strides(sizes))] + + +def register_device_op_overrides(device: str, device_op_overrides: DeviceOpOverrides): + device_op_overrides_dict[device] = device_op_overrides + + +def get_device_op_overrides(device: str): + assert isinstance(device, str) + + if not device_op_overrides_dict.keys(): + from .cuda import device_op_overrides # noqa: F401 + + if device in device_op_overrides_dict.keys(): + return device_op_overrides_dict[device] + + return DeviceOpOverrides() + + +@functools.lru_cache(None) +def boolean_ops(): + return ( + "is_inf", + "is_nan", + "bitwise_xor", + "logical_not", + "signbit", + "le", + "lt", + "ge", + "gt", + "eq", + "ne", + ) + + +DTYPE_TO_COMPUTATION_DTYPE = { + torch.bfloat16: torch.float, + torch.float16: torch.float, + **{ + dtype: dtype + for dtype in [ + torch.bool, + torch.float32, + torch.float64, + torch.int8, + torch.int16, + torch.int32, + torch.int64, + torch.uint8, + torch.uint16, + torch.uint32, + torch.uint64, + ] + }, +} + + +class DataTypePropagation: + def __init__(self, body) -> None: + self.body = body + self.graphs: Dict[Union[Callable[..., Any], str], Any] = { + "root": body.root_block.graph + } + for k, v in body.subblocks.items(): + self.graphs[k] = v.graph + + def deduce_node_dtype_by_inputs(self, node: torch.fx.Node): + inputs = node.all_input_nodes + input_nodes = [ + n for n in inputs if isinstance(n, torch.fx.Node) and n.op != "placeholder" + ] + if len(input_nodes) == 0: + return None + + all_input_nodes_propogated = all( + OptimizationContext.key in n.meta + and n.meta[OptimizationContext.key].dtype is not None + for n in input_nodes + ) + if not all_input_nodes_propogated: + return None + + return functools.reduce( + torch.promote_types, + [n.meta[OptimizationContext.key].dtype for n in input_nodes], + ) + + def deduce_node_dtype_by_subgraph(self, node: torch.fx.Node): + sub_graph = self.graphs[node.target] + dtype = self.propagate_graph(sub_graph) + assert dtype + return dtype + + def deduce_node_dtype(self, node: torch.fx.Node): + if node.target in boolean_ops(): + return torch.bool + + if node.op == "placeholder": + return None + + if node.target == "output": + # we can infer output node if it only have 1 arg + if len(node.args) != 1: + return None + + if node.target in ( + "to_dtype", + "index_expr", + ): + return node.args[-1] + + if node.target in ( + "rand", + "randn", + ): + return torch.float + + if node.target in ( + "get_index", + "index_expr", + ): + return torch.int64 + + if node.target in ( + "load", + "store", + "store_reduction", + ): + buf_name = node.args[1] + return V.graph.get_dtype(buf_name) # type: ignore[arg-type] + + if node.target == operator.getitem: + return self.deduce_node_dtype(node.args[0]) # type: ignore[arg-type] + + assert isinstance(node.target, str) + + if node.target == "reduction": + return node.args[1] + + if node.target == "constant": + return DTYPE_TO_COMPUTATION_DTYPE[node.args[-1]] # type: ignore[index] + + if node.target.startswith("masked_subblock"): + return self.deduce_node_dtype_by_subgraph(node) + + return self.deduce_node_dtype_by_inputs(node) + + def propagate_graph(self, graph: torch.fx.Graph): + assert graph.nodes + graph_dtype = None + # For masked_subblock, we use output's dtype to represent + # the dtype of this subgraph. For other cases, graph_dtype + # might be None + for node in graph.nodes: + if OptimizationContext.key in node.meta: + opt_ctx = node.meta[OptimizationContext.key] + else: + opt_ctx = OptimizationContext() + + opt_ctx.dtype = self.deduce_node_dtype(node) + node.meta[OptimizationContext.key] = opt_ctx + if node.target == "output": + graph_dtype = opt_ctx.dtype + return graph_dtype + + def propagate(self): + self.propagate_graph(self.graphs["root"]) + + @classmethod + def propagate_loopbody(cls, body): + return cls(body).propagate() + + @classmethod + def propagate_scheduler_node(cls, node): + from ..ir import LoopBody + from ..scheduler import SchedulerNode + + assert isinstance(node, SchedulerNode) + assert isinstance(node._body, LoopBody) + DataTypePropagation.propagate_loopbody(node._body) + + +class ExprPrinter(Printer): + @staticmethod + def paren(string): + def all_in_parens(string): + if string[0] != "(" or len(string) < 2: + return False + count = 1 + for i, char in enumerate(string[1:]): + if char == "(": + count += 1 + elif char == ")": + count -= 1 + if count == 0 and i != len(string) - 2: + return False + assert count == 0 + return True + + if ( + isinstance(string, CSEVariable) + or re.match(r"^[a-z0-9_.]+$", string, re.I) + or re.match(r"^\([^)]*\)$", string, re.I) + or string == "" + ): + return string + # don't put extra parens for strings that are already wrapped in parens + if all_in_parens(string): + return string + return f"({string})" + + def _print_Infinity(self, expr): + return "math.inf" + + def _print_NegativeInfinity(self, expr): + return "-math.inf" + + def _print_Relational(self, expr): + return f" {expr.rel_op} ".join(map(self.paren, map(self._print, expr.args))) + + def _print_Mul(self, expr): + return "*".join(map(self.paren, map(self._print, expr.args))) + + def _print_Add(self, expr): + return " + ".join(map(self.paren, map(self._print, expr.args))) + + def _print_Mod(self, expr): + return " % ".join(map(self.paren, map(self._print, expr.args))) + + def _print_FloorDiv(self, expr): + raise NotImplementedError(f"_print_FloorDiv not implemented for {type(self)}") + + def _print_CleanDiv(self, expr): + return self._print_FloorDiv(expr) + + def _print_GreaterThan(self, expr): + # GreaterThan: >= + # StrictlyGreaterThan: > + # Go figure... + return " >= ".join(map(self.paren, map(self._print, expr.args))) + + def _print_align(self, expr): + assert len(expr.args) == 1 + return f"align({self._print(expr.args[0])})" + + +class PythonPrinter(ExprPrinter): + def _print_ModularIndexing(self, expr): + x, div, mod = expr.args + x = self.paren(self.doprint(x)) + div = self.paren(self.doprint(div)) + mod = self.paren(self.doprint(mod)) + if div != "1": + x = f"({x} // {div})" + return f"{x} % {mod}" + + def _print_FloorDiv(self, expr): + x, div = expr.args + x = self.paren(self.doprint(x)) + div = self.paren(self.doprint(div)) + return f"({x} // {div})" + + def _helper_sqrt(self, expr): + return f"math.sqrt({self._print(expr)})" + + def _print_Pow(self, expr): + # Pow() confuses triton + base, exp = expr.args + # NB: Remember this is sizevar computation! You don't typically + # expect to have to do floating point computation including exponents + # in sizevar compute. Instead of adding support for floating + # point pow, you should make upstream retranslate the Sympy expression + # into Tensor expressions earlier and do that instead. + if exp == 0.5: + return self._helper_sqrt(base) + elif exp == -0.5: + return "1/" + self._helper_sqrt(base) + base = self._print(base) + assert exp == int(exp), exp + exp = int(exp) + if exp > 0: + return "*".join([self.paren(base)] * exp) + elif exp < 0: + return "1/" + self.paren("*".join([self.paren(base)] * abs(exp))) + else: # exp == 0 + return "1" + + def _print_floor(self, expr): + assert len(expr.args) == 1 + return f"math.floor({self._print(expr.args[0])})" + + def _print_ceiling(self, expr): + assert len(expr.args) == 1 + return f"math.ceil({self._print(expr.args[0])})" + + def _print_Abs(self, expr): + assert len(expr.args) == 1 + return f"abs({self._print(expr.args[0])})" + + def _print_Max(self, expr): + assert len(expr.args) >= 2 + return f"max({', '.join(map(self._print, expr.args))})" + + def _print_Min(self, expr): + assert len(expr.args) >= 2 + return f"min({', '.join(map(self._print, expr.args))})" + + def _print_cos(self, expr): + assert len(expr.args) == 1 + return f"math.cos({self._print(expr.args[0])})" + + def _print_cosh(self, expr): + assert len(expr.args) == 1 + return f"math.cosh({self._print(expr.args[0])})" + + def _print_acos(self, expr): + assert len(expr.args) == 1 + return f"math.acos({self._print(expr.args[0])})" + + def _print_sin(self, expr): + assert len(expr.args) == 1 + return f"math.sin({self._print(expr.args[0])})" + + def _print_sinh(self, expr): + assert len(expr.args) == 1 + return f"math.sinh({self._print(expr.args[0])})" + + def _print_asin(self, expr): + assert len(expr.args) == 1 + return f"math.asin({self._print(expr.args[0])})" + + def _print_tan(self, expr): + assert len(expr.args) == 1 + return f"math.tan({self._print(expr.args[0])})" + + def _print_tanh(self, expr): + assert len(expr.args) == 1 + return f"math.tanh({self._print(expr.args[0])})" + + def _print_atan(self, expr): + assert len(expr.args) == 1 + return f"math.atan({self._print(expr.args[0])})" + + def _print_Round(self, expr): + assert len(expr.args) == 1 + return f"round({self._print(expr.args[0])})" + + def _print_RoundDecimal(self, expr): + assert len(expr.args) == 2 + number, ndigits = expr.args + assert isinstance(ndigits, sympy.Integer) + return f"round({self._print(number)}, {ndigits})" + + +class OpOverrides: + def __init__(self, parent): + super().__init__() + self._parent = parent + + def __getattr__(self, item): + return getattr(self._parent, item) + + @staticmethod + def identity(value): + # used to trigger cse + return value + + @staticmethod + def constant(value, dtype): + return repr(value) + + @staticmethod + def reciprocal(x): + return ops.truediv("1", x) + + @staticmethod + def square(x): + return ops.mul(x, x) + + @staticmethod + def bitwise_not(x): + return f"~{ExprPrinter.paren(x)}" + + @staticmethod + def logical_not(a): + return f"{ExprPrinter.paren(a)} == 0" + + @staticmethod + def bitwise_and(x, y): + return f"{ExprPrinter.paren(x)} & {ExprPrinter.paren(y)}" + + @staticmethod + def bitwise_or(x, y): + return f"{ExprPrinter.paren(x)} | {ExprPrinter.paren(y)}" + + @staticmethod + def bitwise_xor(x, y): + return f"{ExprPrinter.paren(x)} ^ {ExprPrinter.paren(y)}" + + @staticmethod + def bitwise_left_shift(x, y): + return f"{ExprPrinter.paren(x)} << {ExprPrinter.paren(y)}" + + @staticmethod + def bitwise_right_shift(x, y): + return f"{ExprPrinter.paren(x)} >> {ExprPrinter.paren(y)}" + + @staticmethod + def remainder(a, b): + r = ops.mod(a, b) + return ops.where(f"(({r} != 0) & (({r} < 0) != ({b} < 0)))", ops.add(r, b), r) + + @staticmethod + def load_seed(name, offset): + return ops.load(name, sympy.Integer(offset)) + + @classmethod + def _initialize_pointwise_overrides(cls, target): + assert target in {"triton", "cpp", "cppvec"}, target + + def pointwise_factory_1(impl): + def func(x): + return impl.format(x=x) + + return func + + def pointwise_factory_2(impl): + def func(x, y): + return impl.format(x=x, y=y) + + return func + + for funcname, data in pointwise_overrides_data.items(): + impl = getattr(data, target) + if isinstance(impl, str): + nof_args = 2 if "{y}" in impl else 1 + # extend the following dictionary with factory + # functions for a specific number of arguments as + # needed: + factory = {1: pointwise_factory_1, 2: pointwise_factory_2}[nof_args] + setattr(cls, funcname, staticmethod(factory(impl))) + + +@dataclasses.dataclass +class OverridesData: + name: str + cpp: str + triton: Optional[str] = None # None when not impl in libdevice/triton + cppvec: Optional[str] = None # None when not impl in aten/.../vec + type_promotion_kind: ELEMENTWISE_TYPE_PROMOTION_KIND = ( + ELEMENTWISE_TYPE_PROMOTION_KIND.DEFAULT + ) + + +pointwise_overrides_data: Dict[str, OverridesData] = dict( + airy_ai=OverridesData( + type_promotion_kind=ELEMENTWISE_TYPE_PROMOTION_KIND.INT_TO_FLOAT, + cpp="airy_ai_forward({x})", + name="special_airy_ai", + ), + bessel_j0=OverridesData( + type_promotion_kind=ELEMENTWISE_TYPE_PROMOTION_KIND.INT_TO_FLOAT, + cpp="bessel_j0_forward({x})", + triton="libdevice.j0({x})", + name="special_bessel_j0", + ), + bessel_j1=OverridesData( + type_promotion_kind=ELEMENTWISE_TYPE_PROMOTION_KIND.INT_TO_FLOAT, + cpp="bessel_j1_forward({x})", + triton="libdevice.j1({x})", + name="special_bessel_j1", + ), + bessel_y0=OverridesData( + type_promotion_kind=ELEMENTWISE_TYPE_PROMOTION_KIND.INT_TO_FLOAT, + cpp="bessel_y0_forward({x})", + triton="libdevice.y0({x})", + name="special_bessel_y0", + ), + bessel_y1=OverridesData( + type_promotion_kind=ELEMENTWISE_TYPE_PROMOTION_KIND.INT_TO_FLOAT, + cpp="bessel_y1_forward({x})", + triton="libdevice.y1({x})", + name="special_bessel_y1", + ), + digamma=OverridesData( + type_promotion_kind=ELEMENTWISE_TYPE_PROMOTION_KIND.INT_TO_FLOAT, + cpp="calc_digamma({x})", + cppvec="{x}.digamma()", + name="digamma", + ), + # no cpp nor triton implementation for entr, it is defined as decomposition + # erf, erfc + erfcx=OverridesData( + type_promotion_kind=ELEMENTWISE_TYPE_PROMOTION_KIND.INT_TO_FLOAT, + cpp="calc_erfcx({x})", + triton="libdevice.erfcx({x})", + name="special_erfcx", + ), + # erfinv, exp2, expit, gammaln + igamma=OverridesData( + type_promotion_kind=ELEMENTWISE_TYPE_PROMOTION_KIND.INT_TO_FLOAT, + cpp="calc_igamma({x}, {y})", + name="igamma", + ), + igammac=OverridesData( + type_promotion_kind=ELEMENTWISE_TYPE_PROMOTION_KIND.INT_TO_FLOAT, + cpp="calc_igammac({x}, {y})", + name="igammac", + ), + gammainc=OverridesData( + type_promotion_kind=ELEMENTWISE_TYPE_PROMOTION_KIND.INT_TO_FLOAT, + cpp="calc_igamma({x}, {y})", + name="special_gammainc", + ), + gammaincc=OverridesData( + type_promotion_kind=ELEMENTWISE_TYPE_PROMOTION_KIND.INT_TO_FLOAT, + cpp="calc_igammac({x}, {y})", + name="special_gammaincc", + ), + i0=OverridesData( + type_promotion_kind=ELEMENTWISE_TYPE_PROMOTION_KIND.INT_TO_FLOAT, + cpp="calc_i0({x})", + triton="libdevice.cyl_bessel_i0({x})", + cppvec="{x}.i0()", + name="i0", + ), + i0e=OverridesData( + type_promotion_kind=ELEMENTWISE_TYPE_PROMOTION_KIND.INT_TO_FLOAT, + cpp="calc_i0e({x})", + cppvec="{x}.i0e()", + name="special_i0e", + ), + i1=OverridesData( + type_promotion_kind=ELEMENTWISE_TYPE_PROMOTION_KIND.INT_TO_FLOAT, + cpp="calc_i1({x})", + triton="libdevice.cyl_bessel_i1({x})", + name="special_i1", + ), + i1e=OverridesData( + type_promotion_kind=ELEMENTWISE_TYPE_PROMOTION_KIND.INT_TO_FLOAT, + cpp="calc_i1e({x})", + name="special_i1e", + ), + log_ndtr=OverridesData( + type_promotion_kind=ELEMENTWISE_TYPE_PROMOTION_KIND.INT_TO_FLOAT, + cpp="calc_log_ndtr({x})", + name="special_log_ndtr", + ), + # logit + modified_bessel_i0=OverridesData( + type_promotion_kind=ELEMENTWISE_TYPE_PROMOTION_KIND.INT_TO_FLOAT, + cpp="modified_bessel_i0_forward({x})", + triton="libdevice.cyl_bessel_i0({x})", + name="special_modified_bessel_i0", + ), + modified_bessel_i1=OverridesData( + type_promotion_kind=ELEMENTWISE_TYPE_PROMOTION_KIND.INT_TO_FLOAT, + cpp="modified_bessel_i1_forward({x})", + triton="libdevice.cyl_bessel_i1({x})", + name="special_modified_bessel_i1", + ), + modified_bessel_k0=OverridesData( + type_promotion_kind=ELEMENTWISE_TYPE_PROMOTION_KIND.INT_TO_FLOAT, + cpp="modified_bessel_k0_forward({x})", + name="special_modified_bessel_k0", + ), + modified_bessel_k1=OverridesData( + type_promotion_kind=ELEMENTWISE_TYPE_PROMOTION_KIND.INT_TO_FLOAT, + cpp="modified_bessel_k1_forward({x})", + name="special_modified_bessel_k1", + ), + # multigamma + ndtr=OverridesData( + type_promotion_kind=ELEMENTWISE_TYPE_PROMOTION_KIND.INT_TO_FLOAT, + cpp="calc_ndtr({x})", + name="special_ndtr", + ), + ndtri=OverridesData( + type_promotion_kind=ELEMENTWISE_TYPE_PROMOTION_KIND.INT_TO_FLOAT, + cpp="calc_ndtri({x})", + name="special_ndtri", + ), + polygamma=OverridesData( + type_promotion_kind=ELEMENTWISE_TYPE_PROMOTION_KIND.INT_TO_FLOAT, + cpp="calc_polygamma({y}, {x})", + name="polygamma", + ), + # psi - alias to digamma + # round + scaled_modified_bessel_k0=OverridesData( + type_promotion_kind=ELEMENTWISE_TYPE_PROMOTION_KIND.INT_TO_FLOAT, + cpp="scaled_modified_bessel_k0_forward({x})", + name="special_scaled_modified_bessel_k0", + ), + scaled_modified_bessel_k1=OverridesData( + type_promotion_kind=ELEMENTWISE_TYPE_PROMOTION_KIND.INT_TO_FLOAT, + cpp="scaled_modified_bessel_k1_forward({x})", + name="special_scaled_modified_bessel_k1", + ), + # sinc + spherical_bessel_j0=OverridesData( + type_promotion_kind=ELEMENTWISE_TYPE_PROMOTION_KIND.INT_TO_FLOAT, + cpp="spherical_bessel_j0_forward({x})", + name="special_spherical_bessel_j0", + ), + zeta=OverridesData( + type_promotion_kind=ELEMENTWISE_TYPE_PROMOTION_KIND.INT_TO_FLOAT, + cpp="zeta({x}, {y})", + name="special_zeta", + ), + chebyshev_polynomial_t=OverridesData( + type_promotion_kind=ELEMENTWISE_TYPE_PROMOTION_KIND.INT_TO_FLOAT, + cpp="chebyshev_polynomial_t_forward({x}, {y})", + name="special_chebyshev_polynomial_t", + ), + chebyshev_polynomial_u=OverridesData( + type_promotion_kind=ELEMENTWISE_TYPE_PROMOTION_KIND.INT_TO_FLOAT, + cpp="chebyshev_polynomial_u_forward({x}, {y})", + name="special_chebyshev_polynomial_u", + ), + chebyshev_polynomial_v=OverridesData( + type_promotion_kind=ELEMENTWISE_TYPE_PROMOTION_KIND.INT_TO_FLOAT, + cpp="chebyshev_polynomial_v_forward({x}, {y})", + name="special_chebyshev_polynomial_v", + ), + chebyshev_polynomial_w=OverridesData( + type_promotion_kind=ELEMENTWISE_TYPE_PROMOTION_KIND.INT_TO_FLOAT, + cpp="chebyshev_polynomial_w_forward({x}, {y})", + name="special_chebyshev_polynomial_w", + ), + legendre_polynomial_p=OverridesData( + type_promotion_kind=ELEMENTWISE_TYPE_PROMOTION_KIND.INT_TO_FLOAT, + cpp="legendre_polynomial_p_forward({x}, {y})", + name="special_legendre_polynomial_p", + ), + shifted_chebyshev_polynomial_t=OverridesData( + type_promotion_kind=ELEMENTWISE_TYPE_PROMOTION_KIND.INT_TO_FLOAT, + cpp="shifted_chebyshev_polynomial_t_forward({x}, {y})", + name="special_shifted_chebyshev_polynomial_t", + ), + shifted_chebyshev_polynomial_u=OverridesData( + type_promotion_kind=ELEMENTWISE_TYPE_PROMOTION_KIND.INT_TO_FLOAT, + cpp="shifted_chebyshev_polynomial_u_forward({x}, {y})", + name="special_shifted_chebyshev_polynomial_u", + ), + shifted_chebyshev_polynomial_v=OverridesData( + type_promotion_kind=ELEMENTWISE_TYPE_PROMOTION_KIND.INT_TO_FLOAT, + cpp="shifted_chebyshev_polynomial_v_forward({x}, {y})", + name="special_shifted_chebyshev_polynomial_v", + ), + shifted_chebyshev_polynomial_w=OverridesData( + type_promotion_kind=ELEMENTWISE_TYPE_PROMOTION_KIND.INT_TO_FLOAT, + cpp="shifted_chebyshev_polynomial_w_forward({x}, {y})", + name="special_shifted_chebyshev_polynomial_w", + ), + hermite_polynomial_h=OverridesData( + type_promotion_kind=ELEMENTWISE_TYPE_PROMOTION_KIND.INT_TO_FLOAT, + cpp="hermite_polynomial_h_forward({x}, {y})", + name="special_hermite_polynomial_h", + ), + hermite_polynomial_he=OverridesData( + type_promotion_kind=ELEMENTWISE_TYPE_PROMOTION_KIND.INT_TO_FLOAT, + cpp="hermite_polynomial_he_forward({x}, {y})", + name="special_hermite_polynomial_he", + ), + laguerre_polynomial_l=OverridesData( + type_promotion_kind=ELEMENTWISE_TYPE_PROMOTION_KIND.INT_TO_FLOAT, + cpp="laguerre_polynomial_l_forward({x}, {y})", + name="special_laguerre_polynomial_l", + ), +) + + +# Use mypy to check protocol implemented correctly +def _typecheck_OpOverrides(h: OpOverrides) -> OpsHandler[str]: + return h + + +class DeferredLine(DeferredLineBase): + """A line that can be 'unwritten' by adding name to V.graph.removed_buffers""" + + def __init__(self, name, line): + super().__init__(line) + self.name = name + assert not isinstance(line, DeferredLineBase) + + def __call__(self): + if all( + self.name not in x + for x in ( + V.graph.removed_buffers, + V.kernel.removed_buffers, + V.graph.inplaced_to_remove, + V.kernel.inplaced_to_remove, + ) + ): + return self.line + return None + + def _new_line(self, line): + return DeferredLine(self.name, line) + + +class BracesBuffer(IndentedBuffer): + def indent(self, offset=1): + @contextlib.contextmanager + def ctx(): + for _ in range(offset): + self.writeline("{") + self._indent += 1 + for _ in range(-offset): + self._indent -= 1 + self.writeline("}") + yield + for _ in range(-offset): + self.writeline("{") + self._indent += 1 + for _ in range(offset): + self._indent -= 1 + self.writeline("}") + + return ctx() + + +class InplacedBuffer(NamedTuple): + inner_name: str + other_names: List[str] + + +class KernelArgs: + @staticmethod + def _lookup(prefix, odict, name): + assert isinstance(name, (str, sympy.Symbol)) + if name not in odict: + odict[name] = f"{prefix}{len(odict)}" + return odict[name] + + def __init__(self, sizevars=None): + self.input_buffers = dict() + self.output_buffers = dict() + self.inplace_buffers = dict() + self.sizevars = sizevars or dict() + self.workspace_arg = None + + def __repr__(self): + return "KernelArgs({})".format( + ", ".join( + map( + repr, + [ + self.input_buffers, + self.output_buffers, + self.inplace_buffers, + self.sizevars, + ], + ) + ) + ) + + def _buffer_is_marked_removed(self, name): + return isinstance(name, str) and name.startswith("REMOVED") + + def input(self, name): + if V.graph.scheduler: + name = V.graph.scheduler.mutation_real_name.get(name, name) + assert name not in V.graph.removed_buffers, name + if name in self.output_buffers: + return self.output_buffers[name] + if name in self.inplace_buffers: + return self.inplace_buffers[name].inner_name + if name.startswith("seed"): + return self._lookup("seed", self.input_buffers, name) + return self._lookup("in_ptr", self.input_buffers, name) + + def output(self, name): + if V.graph.scheduler: + name = V.graph.scheduler.mutation_real_name.get(name, name) + assert name not in V.graph.removed_buffers, name + if name in self.inplace_buffers: + return self.inplace_buffers[name].inner_name + return self._lookup("out_ptr", self.output_buffers, name) + + def make_inplace(self, input_name, output_name): + assert output_name not in self.inplace_buffers + if input_name in self.inplace_buffers: + buf = self.inplace_buffers[input_name] + buf.other_names.append(output_name) + self.inplace_buffers[output_name] = buf + else: + buf = InplacedBuffer( + f"in_out_ptr{len(unique(self.inplace_buffers.values()))}", + [input_name, output_name], + ) + self.inplace_buffers[input_name] = buf + self.inplace_buffers[output_name] = buf + + def workspace(self, nbytes: sympy.Expr, zero_fill: bool): + if self.workspace_arg is None: + self.workspace_arg = WorkspaceArg(nbytes, zero_fill) + return "ws_ptr", 0 + + offset = self.workspace_arg.nbytes + zero_fill = zero_fill or self.workspace_arg.zero_fill + self.workspace_arg = WorkspaceArg(offset + nbytes, zero_fill) + return "ws_ptr", offset + + def seed_offset(self, name, value): + if value in self.sizevars: + return self.sizevars[value] + if name in self.sizevars.values(): + name = ( + f"{name}{sum(1 for v in self.sizevars.values() if v.startswith(name))}" + ) + self.sizevars[value] = name + return name + + def size(self, name): + if str(name) == "seed": + self.sizevars["seed"] = "seed" + return "seed" + return self._lookup("ks", self.sizevars, name) + + def call_names(self): + return chain( + self.input_buffers.keys(), self.output_buffers.keys(), self.sizevars.keys() + ) + + def wrap_ptr_arg(self, buf, dtype): + return buf + + def wrap_size_arg(self, size): + return str(size) + + def cpp_argdefs(self): + from .cpp import DTYPE_TO_CPP, INDEX_TYPE + + call_args = [] + arg_defs = [] + arg_types = [] + for inplaced in unique(self.inplace_buffers.values()): + if self._buffer_is_marked_removed(inplaced): + continue + outer = inplaced.other_names[-1] + inner = inplaced.inner_name + dtype = V.graph.get_dtype(outer) + cpp_dtype = DTYPE_TO_CPP[dtype] + arg_defs.append(f"{cpp_dtype}* {inner}") + call_args.append(self.wrap_ptr_arg(outer, dtype)) + arg_types.append(f"{cpp_dtype}*") + for outer, inner in self.input_buffers.items(): + if outer in self.inplace_buffers: + continue + dtype = V.graph.get_dtype(outer) + cpp_dtype = DTYPE_TO_CPP[dtype] + arg_defs.append(f"const {cpp_dtype}* {inner}") + call_args.append(self.wrap_ptr_arg(outer, dtype)) + arg_types.append(f"const {cpp_dtype}*") + for outer, inner in self.output_buffers.items(): + if outer in self.inplace_buffers or self._buffer_is_marked_removed(inner): + continue + dtype = V.graph.get_dtype(outer) + cpp_dtype = DTYPE_TO_CPP[dtype] + arg_defs.append(f"{cpp_dtype}* {inner}") + call_args.append(self.wrap_ptr_arg(outer, dtype)) + arg_types.append(f"{cpp_dtype}*") + for outer, inner in self.sizevars.items(): + arg_defs.append(f"const {INDEX_TYPE} {inner}") + call_args.append(self.wrap_size_arg(outer)) + arg_types.append(f"const {INDEX_TYPE}") + if V.graph.wrapper_code: + V.graph.wrapper_code.ensure_size_computed(outer) + assert self.workspace_arg is None, "Workspace not supported on CPU " + return arg_defs, call_args, arg_types + + def python_argdefs(self): + arg_defs = [] + call_args = [] + precompile_args: List[Union[TensorArg, SizeArg, WorkspaceArg]] = [] + for inplaced in unique(self.inplace_buffers.values()): + if self._buffer_is_marked_removed(inplaced): + continue + arg_defs.append(inplaced.inner_name) + call_args.append(inplaced.other_names[-1]) + precompile_args.append( + TensorArg( + name=inplaced.inner_name, + buffer=inplaced.other_names[-1], + dtype=V.graph.get_dtype(inplaced.other_names[-1]), + ) + ) + for outer, inner in chain( + self.input_buffers.items(), self.output_buffers.items() + ): + if outer in self.inplace_buffers or self._buffer_is_marked_removed(inner): + continue + arg_defs.append(inner) + call_args.append(outer) + precompile_args.append( + TensorArg( + name=inner, + buffer=outer, + dtype=V.graph.get_dtype(outer), + ) + ) + for outer, inner in self.sizevars.items(): + arg_defs.append(inner) + call_args.append(outer) + precompile_args.append(SizeArg(inner, outer)) + if V.graph.wrapper_code: + V.graph.wrapper_code.ensure_size_computed(outer) + if self.workspace_arg is not None: + arg_defs.append("ws_ptr") + call_args.append("workspace") + precompile_args.append(self.workspace_arg) + + return arg_defs, call_args, precompile_args + + def aliases(self): + for inplaced in unique(self.inplace_buffers.values()): + if self._buffer_is_marked_removed(inplaced): + continue + for other in inplaced.other_names: + if ( + other in V.graph.inplaced_to_remove + or other in V.kernel.inplaced_to_remove + ): + continue + if other in self.input_buffers: + yield self.input_buffers[other], inplaced.inner_name + if other in self.output_buffers: + yield self.output_buffers[other], inplaced.inner_name + + def is_removed(self, name): + def _is_removed(name, buffers): + return name not in buffers or self._buffer_is_marked_removed(buffers[name]) + + return _is_removed(name, self.output_buffers) and _is_removed( + name, self.inplace_buffers + ) + + # Includes inplace buffers, excludes removed buffers. Essentially, + # after you do a call into this kernel, which buffers actually contain + # updated data? Modeled off of python_argdefs. + def live_output_buffers(self): + live_outs = set() + for inplaced in unique(self.inplace_buffers.values()): + if self._buffer_is_marked_removed(inplaced): + continue + live_outs.add(inplaced.other_names[-1]) + for outer, inner in self.output_buffers.items(): + if outer in self.inplace_buffers or self._buffer_is_marked_removed(inner): + continue + live_outs.add(outer) + return live_outs + + +class CSEVariable: + """A CSEVariable is just a name for an expression but it is useful to be able to annotate them on a backend dependent basis. + To do so, the backends can simply overload `Kernel.create_cse_var` + The "CSEVariable.update_on_args" method gives you a hook for annotations + See example of TritonCSEVariable in triton.py + """ + + def __init__(self, name, bounds: ValueRanges[Any]): + assert isinstance(bounds, ValueRanges) + self.name = name + self.bounds = bounds + + def __str__(self): + return self.name + + def __hash__(self) -> int: + return hash(self.name) + + def __eq__(self, other) -> bool: + return type(other) == type(self) and other.name == self.name + + def update_on_args(self, name, args, kwargs): + pass + + +class CppWrapperKernelArgs(KernelArgs): + def wrap_ptr_arg(self, buf, dtype): + from .cpp import DTYPE_TO_CPP + + if config.abi_compatible: + # In the abi_compatible model, we just return the buf here. + # We will form correct call args later in wrapper.generate_kernel_all. + return buf + else: + return f"({DTYPE_TO_CPP[dtype]}*)({buf}.data_ptr())" + + def wrap_size_arg(self, size): + return f"{size}" + + +class CSE: + """Common subexpression elimination""" + + def __init__( + self, + prefix="", + suffix="", + name_prefix="tmp", + iter_buffers=None, + store_cache=None, + reduction_cache=None, + varname_map=None, + ): + self.prefix = prefix + self.suffix = suffix + self.cache = {} + self.name_prefix = name_prefix + self.store_cache = store_cache or {} + self.reduction_cache = reduction_cache or {} + self.iter_buffer_ids = iter_buffers or itertools.count() + self.invalidated_stores = set() + self.varname_map = varname_map or {} + + def invalidate(self, keep_vars: Set[str]): + for name, tmp in list(self.store_cache.items()): + if tmp not in keep_vars: + del self.store_cache[name] + self.invalidated_stores.add(name) + self.cache = {k: v for k, v in self.cache.items() if v in keep_vars} + + def clone(self): + # Note(fdrocha): reduction_cache is not being cloned, not sure if this is intentional + return CSE( + prefix=self.prefix, + suffix=self.suffix, + name_prefix=self.name_prefix, + iter_buffers=self.iter_buffer_ids, + store_cache=self.store_cache, + varname_map=self.varname_map, + ) + + def generate( + self, + buffer: IndentedBuffer, + expr: Union[str, CSEVariable, OpsValue, IndentedBuffer], + *, + bounds: ValueRanges[Any] = ValueRanges.unknown(), + write=True, + assignment=True, + ) -> CSEVariable: + if isinstance(expr, OpsValue): + expr = expr.value + + assert isinstance(expr, (str, CSEVariable, IndentedBuffer)), type(expr) + assert write or assignment + if isinstance(expr, CSEVariable): + # If the expressions were always created with all the information, we could + # assert expr.bounds == bounds, but sometimes the expression is created + # with the loose ValueRanges.unknown(), so we need to tighten the bounds + expr.bounds = expr.bounds.tighten(bounds) + return expr + cache_key = expr.getvalue() if isinstance(expr, IndentedBuffer) else expr + var = self.cache.get(cache_key, None) + if not var: + var = self.newvar(bounds) if assignment else None + self.cache[cache_key] = var + if write: + if V.kernel.current_node: + V.kernel.current_node.codegen_originating_info( + buffer, only_once=True + ) + if isinstance(expr, IndentedBuffer): + if assignment: + buffer.writeline(f"{self.prefix}{var} =") + buffer.splice(expr) + buffer.writeline(self.suffix) + else: + if assignment: + line = f"{self.prefix}{var} = {expr}{self.suffix}" + else: + line = f"{expr}{self.suffix}" + buffer.writeline(line) + else: + var.bounds = var.bounds.tighten(bounds) + + return var + + def newvar(self, bounds: ValueRanges[Any] = ValueRanges.unknown()) -> CSEVariable: + var_name = f"{self.name_prefix}{next(self.iter_buffer_ids)}" + var = V.kernel.create_cse_var(var_name, bounds) + self.varname_map[var_name] = var + return var + + +class IndirectAssertLine(DeferredLineBase): + def __init__(self, line, assert_fn, var, mask, size_map): + self.var = var + self.mask = mask + self.line = line + self.assert_fn = assert_fn + self.size_map = size_map + + def __call__(self): + size, size_str = self.size_map[(self.var, self.mask)] + + # We assert if we've not been able to prove the bound + assert_min = (self.var.bounds.lower >= 0) != sympy.true + assert_max = (self.var.bounds.upper < size) != sympy.true + + # FooBar interview question + if not (assert_min or assert_max): + return None + elif assert_min and assert_max: + # The conditions need to be in parens because of Python's operator precedence. + # It'd be less error-prone to use and/or/not, which is suported by triton + cond = f"(0 <= {self.var}) & ({self.var} < {size_str})" + cond_print = f"0 <= {self.var} < {size_str}" + elif assert_min: + cond = f"0 <= {self.var}" + cond_print = cond + else: + assert assert_max + cond = f"{self.var} < {size_str}" + cond_print = cond + + if self.mask: + cond = f"({cond}) | ~{self.mask}" + return self.line.format( + assert_fn=self.assert_fn, cond=cond, cond_print=cond_print + ) + + def _new_line(self, line): + return IndirectAssertLine( + line, self.assert_fn, self.var, self.mask, self.size_map + ) + + +class CodeGen: + def __init__(self): + super().__init__() + self.exit_stack = contextlib.ExitStack() + + def __enter__(self): + self.exit_stack.__enter__() + return self + + def __exit__(self, exc_type, exc_val, exc_tb): + self.exit_stack.__exit__(exc_type, exc_val, exc_tb) + + +class Kernel(CodeGen): + newvar_prefix = "" + suffix = "" + overrides: Optional[Callable[[OpsHandler[Any]], OpsHandler[Any]]] = None + # TODO: these look dead, but with all the getattr it's hard to tell... + load_format: None = None + store_format: None = None + + def __init__(self, args=None, increase_kernel_count=True): + super().__init__() + if increase_kernel_count: + metrics.generated_kernel_count += 1 + self.args = args or KernelArgs() + self.loads = IndentedBuffer() + self.compute = IndentedBuffer() + self.stores = IndentedBuffer() + self.cse: CSE = CSE(self.newvar_prefix, self.suffix) + self.must_keep_buffers = set() + self.store_buffer_names = set() + self._load_mask = None + # set in set_current_node + self.current_node = None + self.node_to_bounds: Optional[Dict[torch.fx.Node, ValueRanges[Any]]] = None + # Upper bounds for indirect_indexing and their str representation + # NB: None, None is never stored in map, but it is the assumed + # "not set" value for the dict + self.indirect_max_sizes: Dict[ + Tuple[CSEVariable, str], Union[Tuple[sympy.Expr, str], Tuple[None, None]] + ] = {} + + self.removed_buffers = set() + self.inplaced_to_remove = set() + + # key: the buffer to write + # value: the buffer to read and whose memory can be reused for + # the buffer specified by key + self.inplace_update_buffers = dict() + # Set minimum number of elements processed per thread. + self.min_elem_per_thread = 1 + self.kernel_name = None + + @contextlib.contextmanager + def set_current_node(self, node): + prior = self.current_node + self.current_node = node + self.node_to_bounds = node._body.bounds().get_bounds() + try: + yield + finally: + self.current_node = prior + + @contextlib.contextmanager + def swap_buffers(self, lb, cb=None, sb=None): + if cb is None: + cb = lb + loads = self.loads + compute = self.compute + stores = self.stores + cse = self.cse + self.loads = lb + self.compute = cb + self.stores = sb + self.cse = cse.clone() + try: + yield + finally: + self.loads = loads + self.compute = compute + self.stores = stores + self.cse = cse + + def load(self, name: str, index: sympy.Expr) -> CSEVariable: + raise NotImplementedError() + + def indirect_load(self, name: str, index: sympy.Expr): + """A load the depends on an index we have read""" + prior = self.loads + try: + # put the load in the compute section as it might have deps + self.loads = self.compute + return self.load(name, index) + finally: + self.loads = prior + + def store_reduction(self, name: str, index: sympy.Expr, value: CSEVariable): + raise NotImplementedError() + + def store( + self, name: str, index: sympy.Expr, value: CSEVariable, mode: StoreMode = None + ) -> None: + raise NotImplementedError() + + def reduction( + self, + dtype: torch.dtype, + src_dtype: torch.dtype, + reduction_type: ReductionType, + value: Union[CSEVariable, Tuple[CSEVariable, ...]], + ) -> Union[CSEVariable, Tuple[CSEVariable, ...]]: + raise NotImplementedError() + + def scan( + self, + dtype: torch.dtype, + combine_fn: Callable[[CSEVariable, CSEVariable], CSEVariable], + value: CSEVariable, + init: int, + ) -> CSEVariable: + raise NotImplementedError() + + def bucketize( + self, + values: CSEVariable, + offsets_name: str, + offsets_size: sympy.Expr, + indexing_dtype: torch.dtype, + right: bool, + ) -> CSEVariable: + """ + See [Note: Inductor bucketize op] + """ + raise NotImplementedError() + + @property + def assert_function(self) -> str: + raise NotImplementedError() + + def index_to_str(self, index: sympy.Expr) -> str: + raise NotImplementedError() + + def __enter__(self): + # TODO: hoist this to top level + class CSEProxy: + self.name = "CSEProxy" + + @staticmethod + def __getattr__(name: str) -> Callable[..., CSEVariable]: # type: ignore[misc] + def inner(*args, **kwargs): + # TritonTemplateKernel has no current_node + buf_bounds = ValueRanges.unknown() + if hasattr(V.interpreter, "current_node"): + fx_node = V.interpreter.current_node + assert isinstance(self.node_to_bounds, dict) + buf_bounds = self.node_to_bounds.get( + fx_node, ValueRanges.unknown() + ) + + value = getattr(parent_handler, name)(*args, **kwargs) # type: ignore[has-type] + + def do_cse(v): + csevar = self.cse.generate(self.compute, v, bounds=buf_bounds) + csevar.update_on_args(name, args, kwargs) + return csevar + + return pytree.tree_map(do_cse, value) + + return inner + + @staticmethod + def indirect_indexing( + var: CSEVariable, size: sympy.Expr, check: bool = True + ): + # Skip CSE since this doesn't return an expression + + if var.bounds.lower < 0: # type: ignore[operator] + new_bounds = ValueRanges.unknown() + if var.bounds != ValueRanges.unknown() and isinstance( + size, sympy.Number + ): + # Take the negative part of the bound and add size to it + # Then take union of that and the positive part + # This is a tighter bound than that of a generic ops.where, as we have info on the cond + neg = var.bounds & ValueRanges(-sympy.oo, -1) + new_bounds = ValueRanges(neg.lower + size, neg.upper + size) + # We don't have a good way of representing the empty range + if var.bounds.upper >= 0: # type: ignore[operator] + pos = var.bounds & ValueRanges(0, sympy.oo) + new_bounds = new_bounds | pos + + stm = ops.add(var, self.rename_indexing(size)) + # Mixed negative and non-negative + if var.bounds.upper >= 0: # type: ignore[operator] + lt = ops.lt(var, "0") + stm = ops.where(lt, stm, var) + new_var = self.cse.generate(self.compute, stm, bounds=new_bounds) + + new_var.update_on_args("index_wrap", (var,), {}) + var = new_var + + if self.generate_assert(check): + mask = self.load_mask(var) + + # An assertion line may have been written already, if so just + # update the max size. + map_key = (var, mask) + existing_size, _ = self.indirect_max_sizes.get( + map_key, (None, None) + ) + if existing_size is not None: + size = sympy.Min(size, existing_size) + else: + line = ( + '{assert_fn}({cond}, "index out of bounds: {cond_print}")' + ) + self.compute.writeline( + IndirectAssertLine( + line, + self.assert_function, + var, + mask, + self.indirect_max_sizes, + ) + ) + + self.indirect_max_sizes[map_key] = (size, self.index_to_str(size)) + return sympy_index_symbol(str(var)) + + @staticmethod + def load(name: str, index: sympy.Expr) -> CSEVariable: + if name in self.cse.invalidated_stores: + # A load from an invalidated store requires us to + # keep the actual buffer around + V.kernel.must_keep_buffers.add(name) + if free_symbol_startswith(index, "tmp"): + return self.indirect_load(name, index) + store_cache = self.cse.store_cache + if name in store_cache: + return store_cache[name] + return self.load(name, index) + + @staticmethod + def store( + name: str, index: sympy.Expr, value: CSEVariable, mode: StoreMode = None + ) -> None: + self.store_buffer_names.add(name) + if mode is None: + self.cse.store_cache[name] = value + if self.current_node: + for other_name in self.current_node.get_mutations(): + self.cse.store_cache[other_name] = value + if name not in V.graph.removed_buffers: + return self.store(name, index, value, mode=mode) + else: + return None # type: ignore[return-value] + + @staticmethod + def store_reduction(name: str, index: sympy.Expr, value: CSEVariable): + self.store_buffer_names.add(name) + self.cse.store_cache[name] = value + if self.current_node: + for other_name in self.current_node.get_mutations(): + self.cse.store_cache[other_name] = value + + if name not in V.graph.removed_buffers: + return self.store_reduction(name, index, value) + + @staticmethod + def reduction( + dtype: torch.dtype, + src_dtype: torch.dtype, + reduction_type: ReductionType, + value: Union[CSEVariable, Tuple[CSEVariable, ...]], + ) -> Union[CSEVariable, Tuple[CSEVariable, ...]]: + return self.reduction(dtype, src_dtype, reduction_type, value) + + @staticmethod + def scan( + dtype: torch.dtype, + combine_fn: Callable[[CSEVariable, CSEVariable], CSEVariable], + value: CSEVariable, + init: int, + ) -> CSEVariable: + return self.scan(dtype, combine_fn, value, init) + + @staticmethod + def bucketize( + values: CSEVariable, + offsets_name: str, + offsets_size: sympy.Expr, + indexing_dtype: torch.dtype, + right: bool, + ) -> CSEVariable: + """ + [Note: Inductor bucketize op] + + Given values (tensor) and offsets_name (reference to the name of a 1D + tensor), calculate the bucket that each value belongs to. + + e.g. for values [-1, 0, 1, 2, 3, 4, 5, 9], offsets [0, 4, 4, 8], right=True + return = [ 0, 1, 1, 1, 1, 3, 3, 4]. + + When right == False, bucket i refers to range (offsets[i], offsets[i+1]]. + When right == True, bucket i refers to range [offsets[i], offsets[i+1]). + + Offsets must be non-decreasing or the result is undefined. + """ + return self.bucketize( + values, offsets_name, offsets_size, indexing_dtype, right + ) + + # Use mypy to check protocol implemented correctly + def _typecheck_CSEProxy(h: CSEProxy) -> OpsHandler[CSEVariable]: + return h + + super().__enter__() + assert self.overrides + parent_handler = self.overrides(V.get_ops_handler()) + self.exit_stack.enter_context(V.set_ops_handler(CSEProxy())) + self.exit_stack.enter_context(V.set_kernel_handler(self)) + return self + + def __exit__(self, exc_type, exc_val, exc_tb): + """ + Note that V.graph.scheduler can be None when codegening triton template + kernels. + """ + if V.graph.scheduler: + V.graph.scheduler.remove_kernel_local_buffers() + super().__exit__(exc_type, exc_val, exc_tb) + + def generate_assert(self, check): + return (check or config.debug_index_asserts) and config.assert_indirect_indexing + + def load_mask(self, var) -> str: + # only the triton kernel requires mask + return "" + + def rename_indexing(self, index) -> sympy.Expr: + # adds the necessary kernel args for index expressions + # and renames variables in index expressions to kernel arg names + if isinstance(index, (list, tuple)): + return [self.rename_indexing(x) for x in index] # type: ignore[return-value] + index = V.graph.sizevars.simplify(index) + sorted_symbols = sorted(index.free_symbols, key=lambda s: s.name) + replacements = { + x: self.args.size(x) + for x in sorted_symbols + if x.name.startswith(("s", "u", "ps")) + or (x.name.startswith("i") and not x.name.startswith("idx")) + } + return sympy_subs(index, replacements) + + def create_cse_var(self, *args, **kwargs): + return CSEVariable(*args, **kwargs) + + +@dataclasses.dataclass +class OptimizationContext: + key: ClassVar[str] = "opt_ctx" + + # Load value as mask + is_load_as_mask: bool = False + + dtype: Optional[torch.dtype] = None + ops_name: str = "" + + # Load uint8/int8 value as float32 + is_load_int8_as_float: bool = False + + +@functools.lru_cache(None) +def jinja2_env(): + try: + import jinja2 + + return jinja2.Environment( + undefined=jinja2.StrictUndefined, + ) + except ImportError: + return None + + +PrimitiveInfoType = Union[int, float, bool, str, List[Union[int, str, float, bool]]] + + +class ChoiceCaller: + """ + Represents a possible choice used in autotune_process.py. + During autotuning, self.benchmark() is first called to get benchmark result, + and if this choice is selected, self.output_node() is called to get the output_node. + + Children classes: TritonTemplateCaller, CUDATemplateCaller. + """ + + def __init__(self, name, input_nodes, layout): + super().__init__() + self.name = name + self.layout = layout + self.input_nodes = input_nodes + + def benchmark(self, *args, out) -> float: + algo = self.to_callable() + return do_bench(lambda: algo(*args, out=out)) + + def call_name(self) -> str: + raise NotImplementedError() + + def to_callable(self): + raise NotImplementedError() + + def hash_key(self) -> str: + raise NotImplementedError() + + def output_node(self) -> "TensorBox": + raise NotImplementedError() + + def info_dict(self) -> Dict[str, Union[PrimitiveInfoType, List[PrimitiveInfoType]]]: + """Information returned here is logged to the autotune log file when that is enabled.""" + return {} + + +class KernelTemplate: + """ + Base class for defining kernel templates. + + Children classes: TritonTemplate, CUDATemplate + """ + + @staticmethod + def _template_from_string(source): + env = jinja2_env() + if env is not None: + return env.from_string(source) + return None + + @staticmethod + def _fake_get_dtype(fake_out): + _get_dtype_real = V.graph.get_dtype + + def get_dtype(name): + if name == fake_out.get_name(): + return fake_out.get_dtype() + return _get_dtype_real(name) + + return get_dtype + + def __init__(self, name: str): + self.name = name + + def maybe_append_choice(self, choices, **kwargs): + """ + Maybe generates a new ChoiceCaller and appends it into existing choices. + + choices: A list of ChoiceCallers. + kwargs: Additional kwargs to be passed to self.generate() to generate a new ChoiceCaller. + """ + + try: + choices.append(self.generate(**kwargs)) + except NotImplementedError: + pass + + def generate(self, **kwargs) -> ChoiceCaller: + """ + Generates a ChoiceCaller instance from the given arguments. + """ + + raise NotImplementedError() diff --git a/shared/package-files/70/70433b72dd431d792494a4e7d759f0130902b5e0f1edc8822bc09b4c81edeea0/flip_ops.h b/shared/package-files/70/70433b72dd431d792494a4e7d759f0130902b5e0f1edc8822bc09b4c81edeea0/flip_ops.h new file mode 100644 index 0000000000000000000000000000000000000000..eb8d45444e268ab33c8d32d73d98721a7ebb7635 --- /dev/null +++ b/shared/package-files/70/70433b72dd431d792494a4e7d759f0130902b5e0f1edc8822bc09b4c81edeea0/flip_ops.h @@ -0,0 +1,39 @@ +#pragma once + +// @generated by torchgen/gen.py from Operator.h + +#include +#include + +// Forward declarations of any types needed in the operator signatures. +// We can't directly include these classes because it will cause circular include dependencies. +// This file is included by TensorBody.h, which defines the Tensor class. +#include + +namespace at { +namespace _ops { + + +struct TORCH_API flip { + using schema = at::Tensor (const at::Tensor &, at::IntArrayRef); + using ptr_schema = schema*; + // See Note [static constexpr char* members for windows NVCC] + STATIC_CONSTEXPR_STR_INL_EXCEPT_WIN_CUDA(name, "aten::flip") + STATIC_CONSTEXPR_STR_INL_EXCEPT_WIN_CUDA(overload_name, "") + STATIC_CONSTEXPR_STR_INL_EXCEPT_WIN_CUDA(schema_str, "flip(Tensor self, int[] dims) -> Tensor") + static at::Tensor call(const at::Tensor & self, at::IntArrayRef dims); + static at::Tensor redispatch(c10::DispatchKeySet dispatchKeySet, const at::Tensor & self, at::IntArrayRef dims); +}; + +struct TORCH_API flip_out { + using schema = at::Tensor & (const at::Tensor &, at::IntArrayRef, at::Tensor &); + using ptr_schema = schema*; + // See Note [static constexpr char* members for windows NVCC] + STATIC_CONSTEXPR_STR_INL_EXCEPT_WIN_CUDA(name, "aten::flip") + STATIC_CONSTEXPR_STR_INL_EXCEPT_WIN_CUDA(overload_name, "out") + STATIC_CONSTEXPR_STR_INL_EXCEPT_WIN_CUDA(schema_str, "flip.out(Tensor self, int[] dims, *, Tensor(a!) out) -> Tensor(a!)") + static at::Tensor & call(const at::Tensor & self, at::IntArrayRef dims, at::Tensor & out); + static at::Tensor & redispatch(c10::DispatchKeySet dispatchKeySet, const at::Tensor & self, at::IntArrayRef dims, at::Tensor & out); +}; + +}} // namespace at::_ops diff --git a/shared/package-files/70/7044111f9c7990dfcc02c58d38f08b8f3e7b4235b812b7e9a4c1c6e1bfb410e0/decimal.h b/shared/package-files/70/7044111f9c7990dfcc02c58d38f08b8f3e7b4235b812b7e9a4c1c6e1bfb410e0/decimal.h new file mode 100644 index 0000000000000000000000000000000000000000..bae0c4dd248cf14d0bc64230bf4e81cb934f73c2 --- /dev/null +++ b/shared/package-files/70/7044111f9c7990dfcc02c58d38f08b8f3e7b4235b812b7e9a4c1c6e1bfb410e0/decimal.h @@ -0,0 +1,523 @@ +// Licensed to the Apache Software Foundation (ASF) under one +// or more contributor license agreements. See the NOTICE file +// distributed with this work for additional information +// regarding copyright ownership. The ASF licenses this file +// to you under the Apache License, Version 2.0 (the +// "License"); you may not use this file except in compliance +// with the License. You may obtain a copy of the License at +// +// http://www.apache.org/licenses/LICENSE-2.0 +// +// Unless required by applicable law or agreed to in writing, +// software distributed under the License is distributed on an +// "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY +// KIND, either express or implied. See the License for the +// specific language governing permissions and limitations +// under the License. + +#pragma once + +#include +#include +#include +#include +#include +#include + +#include "arrow/result.h" +#include "arrow/status.h" +#include "arrow/type_fwd.h" +#include "arrow/util/basic_decimal.h" + +namespace arrow { + +class Decimal64; + +namespace internal { + +ARROW_EXPORT +Status ToArrowStatus(DecimalStatus); + +} // namespace internal + +template <> +struct IntoStatus { + static inline Status ToStatus(DecimalStatus st) { return internal::ToArrowStatus(st); } +}; + +/// Represents a signed 32-bit decimal value in two's complement. +/// Calulations wrap around and overflow is ignored. +/// The max decimal precision that can be safely represented is +/// 9 significant digits. +/// +/// The implementation is split into two parts : +/// +/// 1. BasicDecimal32 +/// - can be safely compiled to IR without references to libstdc++ +/// 2. Decimal32 +/// - has additional functionality on top of BasicDecimal32 to deal with +/// strings and streams +class ARROW_EXPORT Decimal32 : public BasicDecimal32 { + public: + /// \cond FALSE + // (need to avoid a duplicate definition in sphinx) + using BasicDecimal32::BasicDecimal32; + /// \endcond + + /// \brief constructor creates a Decimal32 from a BasicDecimal32 + constexpr Decimal32(const BasicDecimal32& value) noexcept // NOLINT runtime/explicit + : BasicDecimal32(value) {} + + /// \brief Parse the number from a base 10 string representation + explicit Decimal32(const std::string& value); + + /// \brief Empty constructor creates a Decimal32 with a value of 0 + /// this is required for some older compilers + constexpr Decimal32() noexcept : BasicDecimal32() {} + + /// \brief Divide this number by right and return the result. + /// + /// This operation is not destructive. + /// The answer rounds to zero. Signs work like: + /// 21 / 5 -> 4, 1 + /// -21 / 5 -> -4, -1 + /// 21 / -5 -> -4, 1 + /// -21 / -5 -> 4, -1 + /// \param[in] divisor the number to divide by + /// \return the pair of the quotient and the remainder + Result> Divide(const Decimal32& divisor) const { + std::pair result; + ARROW_RETURN_NOT_OK(BasicDecimal32::Divide(divisor, &result.first, &result.second)); + return result; + } + + /// \brief Convert the Decimal32 value to a base 10 decimal string with the given scale + std::string ToString(int32_t scale) const; + + /// \brief Convert the value to an integer string + std::string ToIntegerString() const; + + /// \brief Cast this value to an int64_t + explicit operator int64_t() const; + + explicit operator Decimal64() const; + + /// \brief Convert a decimal string to a Decimal value, optionally including + /// precision and scale if they're passed in and not null. + static Status FromString(std::string_view s, Decimal32* out, int32_t* precision, + int32_t* scale = NULLPTR); + static Status FromString(const std::string& s, Decimal32* out, int32_t* precision, + int32_t* scale = NULLPTR); + static Status FromString(const char* s, Decimal32* out, int32_t* precision, + int32_t* scale = NULLPTR); + static Result FromString(std::string_view s); + static Result FromString(const std::string& s); + static Result FromString(const char* s); + + static Result FromReal(double real, int32_t precision, int32_t scale); + static Result FromReal(float real, int32_t precision, int32_t scale); + + /// \brief Convert from a big-endian byte representation. The length must be + /// between 1 and 4 + /// \return error status if the length is an invalid value + static Result FromBigEndian(const uint8_t* data, int32_t length); + + /// \brief Convert Decimal32 from one scale to another + Result Rescale(int32_t original_scale, int32_t new_scale) const { + Decimal32 out; + ARROW_RETURN_NOT_OK(BasicDecimal32::Rescale(original_scale, new_scale, &out)); + return out; + } + + /// \brief Convert to a signed integer + template > + Result ToInteger() const { + return static_cast(value_); + } + + /// \brief Convert to a signed integer + template > + Status ToInteger(T* out) const { + return ToInteger().Value(out); + } + + /// \brief Convert to a floating-point number (scaled) + float ToFloat(int32_t scale) const; + /// \brief Convert to a floating-point number (scaled) + double ToDouble(int32_t scale) const; + + /// \brief Convert to a floating-point number (scaled) + template >> + T ToReal(int32_t scale) const { + static_assert(std::is_same_v || std::is_same_v, + "Unexpected floating-point type"); + if constexpr (std::is_same_v) { + return ToFloat(scale); + } else { + return ToDouble(scale); + } + } + + ARROW_FRIEND_EXPORT friend std::ostream& operator<<(std::ostream& os, + const Decimal32& decimal); +}; + +class ARROW_EXPORT Decimal64 : public BasicDecimal64 { + public: + /// \cond FALSE + // (need to avoid a duplicate definition in sphinx) + using BasicDecimal64::BasicDecimal64; + /// \endcond + + /// \brief constructor creates a Decimal64 from a BasicDecimal64 + constexpr Decimal64(const BasicDecimal64& value) noexcept // NOLINT runtime/explicit + : BasicDecimal64(value) {} + + explicit Decimal64(const BasicDecimal32& value) noexcept + : BasicDecimal64(static_cast(value.value())) {} + + /// \brief Parse the number from a base 10 string representation + explicit Decimal64(const std::string& value); + + /// \brief Empty constructor creates a Decimal64 with a value of 0 + /// this is required for some older compilers + constexpr Decimal64() noexcept : BasicDecimal64() {} + + /// \brief Divide this number by right and return the result. + /// + /// This operation is not destructive. + /// The answer rounds to zero. Signs work like: + /// 21 / 5 -> 4, 1 + /// -21 / 5 -> -4, -1 + /// 21 / -5 -> -4, 1 + /// -21 / -5 -> 4, -1 + /// \param[in] divisor the number to divide by + /// \return the pair of the quotient and the remainder + Result> Divide(const Decimal64& divisor) const { + std::pair result; + ARROW_RETURN_NOT_OK(BasicDecimal64::Divide(divisor, &result.first, &result.second)); + return result; + } + + /// \brief Convert the Decimal64 value to a base 10 decimal string with the given scale + std::string ToString(int32_t scale) const; + + /// \brief Convert the value to an integer string + std::string ToIntegerString() const; + + /// \brief Cast this value to an int64_t + explicit operator int64_t() const; + + /// \brief Convert a decimal string to a Decimal value, optionally including + /// precision and scale if they're passed in and not null. + static Status FromString(std::string_view s, Decimal64* out, int32_t* precision, + int32_t* scale = NULLPTR); + static Status FromString(const std::string& s, Decimal64* out, int32_t* precision, + int32_t* scale = NULLPTR); + static Status FromString(const char* s, Decimal64* out, int32_t* precision, + int32_t* scale = NULLPTR); + static Result FromString(std::string_view s); + static Result FromString(const std::string& s); + static Result FromString(const char* s); + + static Result FromReal(double real, int32_t precision, int32_t scale); + static Result FromReal(float real, int32_t precision, int32_t scale); + + /// \brief Convert from a big-endian byte representation. The length must be + /// between 1 and 4 + /// \return error status if the length is an invalid value + static Result FromBigEndian(const uint8_t* data, int32_t length); + + /// \brief Convert Decimal64 from one scale to another + Result Rescale(int32_t original_scale, int32_t new_scale) const { + Decimal64 out; + ARROW_RETURN_NOT_OK(BasicDecimal64::Rescale(original_scale, new_scale, &out)); + return out; + } + + /// \brief Convert to a signed integer + template > + Result ToInteger() const { + return static_cast(value_); + } + + /// \brief Convert to a signed integer + template > + Status ToInteger(T* out) const { + return ToInteger().Value(out); + } + + /// \brief Convert to a floating-point number (scaled) + float ToFloat(int32_t scale) const; + /// \brief Convert to a floating-point number (scaled) + double ToDouble(int32_t scale) const; + + /// \brief Convert to a floating-point number (scaled) + template >> + T ToReal(int32_t scale) const { + static_assert(std::is_same_v || std::is_same_v, + "Unexpected floating-point type"); + if constexpr (std::is_same_v) { + return ToFloat(scale); + } else { + return ToDouble(scale); + } + } + + ARROW_FRIEND_EXPORT friend std::ostream& operator<<(std::ostream& os, + const Decimal64& decimal); +}; + +/// Represents a signed 128-bit integer in two's complement. +/// Calculations wrap around and overflow is ignored. +/// The max decimal precision that can be safely represented is +/// 38 significant digits. +/// +/// For a discussion of the algorithms, look at Knuth's volume 2, +/// Semi-numerical Algorithms section 4.3.1. +/// +/// Adapted from the Apache ORC C++ implementation +/// +/// The implementation is split into two parts : +/// +/// 1. BasicDecimal128 +/// - can be safely compiled to IR without references to libstdc++. +/// 2. Decimal128 +/// - has additional functionality on top of BasicDecimal128 to deal with +/// strings and streams. +class ARROW_EXPORT Decimal128 : public BasicDecimal128 { + public: + /// \cond FALSE + // (need to avoid a duplicate definition in Sphinx) + using BasicDecimal128::BasicDecimal128; + /// \endcond + + /// \brief constructor creates a Decimal128 from a BasicDecimal128. + constexpr Decimal128(const BasicDecimal128& value) noexcept // NOLINT runtime/explicit + : BasicDecimal128(value) {} + + /// \brief Parse the number from a base 10 string representation. + explicit Decimal128(const std::string& value); + + /// \brief Empty constructor creates a Decimal128 with a value of 0. + // This is required on some older compilers. + constexpr Decimal128() noexcept : BasicDecimal128() {} + + /// Divide this number by right and return the result. + /// + /// This operation is not destructive. + /// The answer rounds to zero. Signs work like: + /// 21 / 5 -> 4, 1 + /// -21 / 5 -> -4, -1 + /// 21 / -5 -> -4, 1 + /// -21 / -5 -> 4, -1 + /// \param[in] divisor the number to divide by + /// \return the pair of the quotient and the remainder + Result> Divide(const Decimal128& divisor) const { + std::pair result; + ARROW_RETURN_NOT_OK(BasicDecimal128::Divide(divisor, &result.first, &result.second)); + return result; + } + + /// \brief Convert the Decimal128 value to a base 10 decimal string with the given + /// scale. + std::string ToString(int32_t scale) const; + + /// \brief Convert the value to an integer string + std::string ToIntegerString() const; + + /// \brief Cast this value to an int64_t. + explicit operator int64_t() const; + + /// \brief Convert a decimal string to a Decimal128 value, optionally including + /// precision and scale if they're passed in and not null. + static Status FromString(std::string_view s, Decimal128* out, int32_t* precision, + int32_t* scale = NULLPTR); + static Status FromString(const std::string& s, Decimal128* out, int32_t* precision, + int32_t* scale = NULLPTR); + static Status FromString(const char* s, Decimal128* out, int32_t* precision, + int32_t* scale = NULLPTR); + static Result FromString(std::string_view s); + static Result FromString(const std::string& s); + static Result FromString(const char* s); + + static Result FromReal(double real, int32_t precision, int32_t scale); + static Result FromReal(float real, int32_t precision, int32_t scale); + + /// \brief Convert from a big-endian byte representation. The length must be + /// between 1 and 16. + /// \return error status if the length is an invalid value + static Result FromBigEndian(const uint8_t* data, int32_t length); + + /// \brief Convert Decimal128 from one scale to another + Result Rescale(int32_t original_scale, int32_t new_scale) const { + Decimal128 out; + ARROW_RETURN_NOT_OK(BasicDecimal128::Rescale(original_scale, new_scale, &out)); + return out; + } + + /// \brief Convert to a signed integer + template > + Result ToInteger() const { + constexpr auto min_value = std::numeric_limits::min(); + constexpr auto max_value = std::numeric_limits::max(); + const auto& self = *this; + if (self < min_value || self > max_value) { + return Status::Invalid("Invalid cast from Decimal128 to ", sizeof(T), + " byte integer"); + } + return static_cast(low_bits()); + } + + /// \brief Convert to a signed integer + template > + Status ToInteger(T* out) const { + return ToInteger().Value(out); + } + + /// \brief Convert to a floating-point number (scaled) + float ToFloat(int32_t scale) const; + /// \brief Convert to a floating-point number (scaled) + double ToDouble(int32_t scale) const; + + /// \brief Convert to a floating-point number (scaled) + template >> + T ToReal(int32_t scale) const { + static_assert(std::is_same_v || std::is_same_v, + "Unexpected floating-point type"); + if constexpr (std::is_same_v) { + return ToFloat(scale); + } else { + return ToDouble(scale); + } + } + + ARROW_FRIEND_EXPORT friend std::ostream& operator<<(std::ostream& os, + const Decimal128& decimal); +}; + +/// Represents a signed 256-bit integer in two's complement. +/// The max decimal precision that can be safely represented is +/// 76 significant digits. +/// +/// The implementation is split into two parts : +/// +/// 1. BasicDecimal256 +/// - can be safely compiled to IR without references to libstdc++. +/// 2. Decimal256 +/// - (TODO) has additional functionality on top of BasicDecimal256 to deal with +/// strings and streams. +class ARROW_EXPORT Decimal256 : public BasicDecimal256 { + public: + /// \cond FALSE + // (need to avoid a duplicate definition in Sphinx) + using BasicDecimal256::BasicDecimal256; + /// \endcond + + /// \brief constructor creates a Decimal256 from a BasicDecimal256. + constexpr Decimal256(const BasicDecimal256& value) noexcept // NOLINT(runtime/explicit) + : BasicDecimal256(value) {} + + /// \brief Parse the number from a base 10 string representation. + explicit Decimal256(const std::string& value); + + /// \brief Empty constructor creates a Decimal256 with a value of 0. + // This is required on some older compilers. + constexpr Decimal256() noexcept : BasicDecimal256() {} + + /// \brief Convert the Decimal256 value to a base 10 decimal string with the given + /// scale. + std::string ToString(int32_t scale) const; + + /// \brief Convert the value to an integer string + std::string ToIntegerString() const; + + /// \brief Convert a decimal string to a Decimal256 value, optionally including + /// precision and scale if they're passed in and not null. + static Status FromString(std::string_view s, Decimal256* out, int32_t* precision, + int32_t* scale = NULLPTR); + static Status FromString(const std::string& s, Decimal256* out, int32_t* precision, + int32_t* scale = NULLPTR); + static Status FromString(const char* s, Decimal256* out, int32_t* precision, + int32_t* scale = NULLPTR); + static Result FromString(std::string_view s); + static Result FromString(const std::string& s); + static Result FromString(const char* s); + + /// \brief Convert Decimal256 from one scale to another + Result Rescale(int32_t original_scale, int32_t new_scale) const { + Decimal256 out; + ARROW_RETURN_NOT_OK(BasicDecimal256::Rescale(original_scale, new_scale, &out)); + return out; + } + + /// Divide this number by right and return the result. + /// + /// This operation is not destructive. + /// The answer rounds to zero. Signs work like: + /// 21 / 5 -> 4, 1 + /// -21 / 5 -> -4, -1 + /// 21 / -5 -> -4, 1 + /// -21 / -5 -> 4, -1 + /// \param[in] divisor the number to divide by + /// \return the pair of the quotient and the remainder + Result> Divide(const Decimal256& divisor) const { + std::pair result; + ARROW_RETURN_NOT_OK(BasicDecimal256::Divide(divisor, &result.first, &result.second)); + return result; + } + + /// \brief Convert from a big-endian byte representation. The length must be + /// between 1 and 32. + /// \return error status if the length is an invalid value + static Result FromBigEndian(const uint8_t* data, int32_t length); + + static Result FromReal(double real, int32_t precision, int32_t scale); + static Result FromReal(float real, int32_t precision, int32_t scale); + + /// \brief Convert to a floating-point number (scaled). + /// May return infinity in case of overflow. + float ToFloat(int32_t scale) const; + /// \brief Convert to a floating-point number (scaled) + double ToDouble(int32_t scale) const; + + /// \brief Convert to a floating-point number (scaled) + template >> + T ToReal(int32_t scale) const { + static_assert(std::is_same_v || std::is_same_v, + "Unexpected floating-point type"); + if constexpr (std::is_same_v) { + return ToFloat(scale); + } else { + return ToDouble(scale); + } + } + + ARROW_FRIEND_EXPORT friend std::ostream& operator<<(std::ostream& os, + const Decimal256& decimal); +}; + +/// For an integer type, return the max number of decimal digits +/// (=minimal decimal precision) it can represent. +inline Result MaxDecimalDigitsForInteger(Type::type type_id) { + switch (type_id) { + case Type::INT8: + case Type::UINT8: + return 3; + case Type::INT16: + case Type::UINT16: + return 5; + case Type::INT32: + case Type::UINT32: + return 10; + case Type::INT64: + return 19; + case Type::UINT64: + return 20; + default: + break; + } + return Status::Invalid("Not an integer type: ", type_id); +} + +} // namespace arrow diff --git a/shared/package-files/70/704505d0e1fa48d84dfe4874ebdc0cb2aea1e1e495a9b0cb821ae0dabf47b78f/test_coset_table.py b/shared/package-files/70/704505d0e1fa48d84dfe4874ebdc0cb2aea1e1e495a9b0cb821ae0dabf47b78f/test_coset_table.py new file mode 100644 index 0000000000000000000000000000000000000000..ab3f62880445c5deb526797ee0623fe3510bcbc3 --- /dev/null +++ b/shared/package-files/70/704505d0e1fa48d84dfe4874ebdc0cb2aea1e1e495a9b0cb821ae0dabf47b78f/test_coset_table.py @@ -0,0 +1,825 @@ +from sympy.combinatorics.fp_groups import FpGroup +from sympy.combinatorics.coset_table import (CosetTable, + coset_enumeration_r, coset_enumeration_c) +from sympy.combinatorics.coset_table import modified_coset_enumeration_r +from sympy.combinatorics.free_groups import free_group + +from sympy.testing.pytest import slow + +""" +References +========== + +[1] Holt, D., Eick, B., O'Brien, E. +"Handbook of Computational Group Theory" + +[2] John J. Cannon; Lucien A. Dimino; George Havas; Jane M. Watson +Mathematics of Computation, Vol. 27, No. 123. (Jul., 1973), pp. 463-490. +"Implementation and Analysis of the Todd-Coxeter Algorithm" + +""" + +def test_scan_1(): + # Example 5.1 from [1] + F, x, y = free_group("x, y") + f = FpGroup(F, [x**3, y**3, x**-1*y**-1*x*y]) + c = CosetTable(f, [x]) + + c.scan_and_fill(0, x) + assert c.table == [[0, 0, None, None]] + assert c.p == [0] + assert c.n == 1 + assert c.omega == [0] + + c.scan_and_fill(0, x**3) + assert c.table == [[0, 0, None, None]] + assert c.p == [0] + assert c.n == 1 + assert c.omega == [0] + + c.scan_and_fill(0, y**3) + assert c.table == [[0, 0, 1, 2], [None, None, 2, 0], [None, None, 0, 1]] + assert c.p == [0, 1, 2] + assert c.n == 3 + assert c.omega == [0, 1, 2] + + c.scan_and_fill(0, x**-1*y**-1*x*y) + assert c.table == [[0, 0, 1, 2], [None, None, 2, 0], [2, 2, 0, 1]] + assert c.p == [0, 1, 2] + assert c.n == 3 + assert c.omega == [0, 1, 2] + + c.scan_and_fill(1, x**3) + assert c.table == [[0, 0, 1, 2], [3, 4, 2, 0], [2, 2, 0, 1], \ + [4, 1, None, None], [1, 3, None, None]] + assert c.p == [0, 1, 2, 3, 4] + assert c.n == 5 + assert c.omega == [0, 1, 2, 3, 4] + + c.scan_and_fill(1, y**3) + assert c.table == [[0, 0, 1, 2], [3, 4, 2, 0], [2, 2, 0, 1], \ + [4, 1, None, None], [1, 3, None, None]] + assert c.p == [0, 1, 2, 3, 4] + assert c.n == 5 + assert c.omega == [0, 1, 2, 3, 4] + + c.scan_and_fill(1, x**-1*y**-1*x*y) + assert c.table == [[0, 0, 1, 2], [1, 1, 2, 0], [2, 2, 0, 1], \ + [None, 1, None, None], [1, 3, None, None]] + assert c.p == [0, 1, 2, 1, 1] + assert c.n == 3 + assert c.omega == [0, 1, 2] + + # Example 5.2 from [1] + f = FpGroup(F, [x**2, y**3, (x*y)**3]) + c = CosetTable(f, [x*y]) + + c.scan_and_fill(0, x*y) + assert c.table == [[1, None, None, 1], [None, 0, 0, None]] + assert c.p == [0, 1] + assert c.n == 2 + assert c.omega == [0, 1] + + c.scan_and_fill(0, x**2) + assert c.table == [[1, 1, None, 1], [0, 0, 0, None]] + assert c.p == [0, 1] + assert c.n == 2 + assert c.omega == [0, 1] + + c.scan_and_fill(0, y**3) + assert c.table == [[1, 1, 2, 1], [0, 0, 0, 2], [None, None, 1, 0]] + assert c.p == [0, 1, 2] + assert c.n == 3 + assert c.omega == [0, 1, 2] + + c.scan_and_fill(0, (x*y)**3) + assert c.table == [[1, 1, 2, 1], [0, 0, 0, 2], [None, None, 1, 0]] + assert c.p == [0, 1, 2] + assert c.n == 3 + assert c.omega == [0, 1, 2] + + c.scan_and_fill(1, x**2) + assert c.table == [[1, 1, 2, 1], [0, 0, 0, 2], [None, None, 1, 0]] + assert c.p == [0, 1, 2] + assert c.n == 3 + assert c.omega == [0, 1, 2] + + c.scan_and_fill(1, y**3) + assert c.table == [[1, 1, 2, 1], [0, 0, 0, 2], [None, None, 1, 0]] + assert c.p == [0, 1, 2] + assert c.n == 3 + assert c.omega == [0, 1, 2] + + c.scan_and_fill(1, (x*y)**3) + assert c.table == [[1, 1, 2, 1], [0, 0, 0, 2], [3, 4, 1, 0], [None, 2, 4, None], [2, None, None, 3]] + assert c.p == [0, 1, 2, 3, 4] + assert c.n == 5 + assert c.omega == [0, 1, 2, 3, 4] + + c.scan_and_fill(2, x**2) + assert c.table == [[1, 1, 2, 1], [0, 0, 0, 2], [3, 3, 1, 0], [2, 2, 3, 3], [2, None, None, 3]] + assert c.p == [0, 1, 2, 3, 3] + assert c.n == 4 + assert c.omega == [0, 1, 2, 3] + + +@slow +def test_coset_enumeration(): + # this test function contains the combined tests for the two strategies + # i.e. HLT and Felsch strategies. + + # Example 5.1 from [1] + F, x, y = free_group("x, y") + f = FpGroup(F, [x**3, y**3, x**-1*y**-1*x*y]) + C_r = coset_enumeration_r(f, [x]) + C_r.compress(); C_r.standardize() + C_c = coset_enumeration_c(f, [x]) + C_c.compress(); C_c.standardize() + table1 = [[0, 0, 1, 2], [1, 1, 2, 0], [2, 2, 0, 1]] + assert C_r.table == table1 + assert C_c.table == table1 + + # E1 from [2] Pg. 474 + F, r, s, t = free_group("r, s, t") + E1 = FpGroup(F, [t**-1*r*t*r**-2, r**-1*s*r*s**-2, s**-1*t*s*t**-2]) + C_r = coset_enumeration_r(E1, []) + C_r.compress() + C_c = coset_enumeration_c(E1, []) + C_c.compress() + table2 = [[0, 0, 0, 0, 0, 0]] + assert C_r.table == table2 + # test for issue #11449 + assert C_c.table == table2 + + # Cox group from [2] Pg. 474 + F, a, b = free_group("a, b") + Cox = FpGroup(F, [a**6, b**6, (a*b)**2, (a**2*b**2)**2, (a**3*b**3)**5]) + C_r = coset_enumeration_r(Cox, [a]) + C_r.compress(); C_r.standardize() + C_c = coset_enumeration_c(Cox, [a]) + C_c.compress(); C_c.standardize() + table3 = [[0, 0, 1, 2], + [2, 3, 4, 0], + [5, 1, 0, 6], + [1, 7, 8, 9], + [9, 10, 11, 1], + [12, 2, 9, 13], + [14, 9, 2, 11], + [3, 12, 15, 16], + [16, 17, 18, 3], + [6, 4, 3, 5], + [4, 19, 20, 21], + [21, 22, 6, 4], + [7, 5, 23, 24], + [25, 23, 5, 18], + [19, 6, 22, 26], + [24, 27, 28, 7], + [29, 8, 7, 30], + [8, 31, 32, 33], + [33, 34, 13, 8], + [10, 14, 35, 35], + [35, 36, 37, 10], + [30, 11, 10, 29], + [11, 38, 39, 14], + [13, 39, 38, 12], + [40, 15, 12, 41], + [42, 13, 34, 43], + [44, 35, 14, 45], + [15, 46, 47, 34], + [34, 48, 49, 15], + [50, 16, 21, 51], + [52, 21, 16, 49], + [17, 50, 53, 54], + [54, 55, 56, 17], + [41, 18, 17, 40], + [18, 28, 27, 25], + [26, 20, 19, 19], + [20, 57, 58, 59], + [59, 60, 51, 20], + [22, 52, 61, 23], + [23, 62, 63, 22], + [64, 24, 33, 65], + [48, 33, 24, 61], + [62, 25, 54, 66], + [67, 54, 25, 68], + [57, 26, 59, 69], + [70, 59, 26, 63], + [27, 64, 71, 72], + [72, 73, 68, 27], + [28, 41, 74, 75], + [75, 76, 30, 28], + [31, 29, 77, 78], + [79, 77, 29, 37], + [38, 30, 76, 80], + [78, 81, 82, 31], + [43, 32, 31, 42], + [32, 83, 84, 85], + [85, 86, 65, 32], + [36, 44, 87, 88], + [88, 89, 90, 36], + [45, 37, 36, 44], + [37, 82, 81, 79], + [80, 74, 41, 38], + [39, 42, 91, 92], + [92, 93, 45, 39], + [46, 40, 94, 95], + [96, 94, 40, 56], + [97, 91, 42, 82], + [83, 43, 98, 99], + [100, 98, 43, 47], + [101, 87, 44, 90], + [82, 45, 93, 97], + [95, 102, 103, 46], + [104, 47, 46, 105], + [47, 106, 107, 100], + [61, 108, 109, 48], + [105, 49, 48, 104], + [49, 110, 111, 52], + [51, 111, 110, 50], + [112, 53, 50, 113], + [114, 51, 60, 115], + [116, 61, 52, 117], + [53, 118, 119, 60], + [60, 70, 66, 53], + [55, 67, 120, 121], + [121, 122, 123, 55], + [113, 56, 55, 112], + [56, 103, 102, 96], + [69, 124, 125, 57], + [115, 58, 57, 114], + [58, 126, 127, 128], + [128, 128, 69, 58], + [66, 129, 130, 62], + [117, 63, 62, 116], + [63, 125, 124, 70], + [65, 109, 108, 64], + [131, 71, 64, 132], + [133, 65, 86, 134], + [135, 66, 70, 136], + [68, 130, 129, 67], + [137, 120, 67, 138], + [132, 68, 73, 131], + [139, 69, 128, 140], + [71, 141, 142, 86], + [86, 143, 144, 71], + [145, 72, 75, 146], + [147, 75, 72, 144], + [73, 145, 148, 120], + [120, 149, 150, 73], + [74, 151, 152, 94], + [94, 153, 146, 74], + [76, 147, 154, 77], + [77, 155, 156, 76], + [157, 78, 85, 158], + [143, 85, 78, 154], + [155, 79, 88, 159], + [160, 88, 79, 161], + [151, 80, 92, 162], + [163, 92, 80, 156], + [81, 157, 164, 165], + [165, 166, 161, 81], + [99, 107, 106, 83], + [134, 84, 83, 133], + [84, 167, 168, 169], + [169, 170, 158, 84], + [87, 171, 172, 93], + [93, 163, 159, 87], + [89, 160, 173, 174], + [174, 175, 176, 89], + [90, 90, 89, 101], + [91, 177, 178, 98], + [98, 179, 162, 91], + [180, 95, 100, 181], + [179, 100, 95, 152], + [153, 96, 121, 148], + [182, 121, 96, 183], + [177, 97, 165, 184], + [185, 165, 97, 172], + [186, 99, 169, 187], + [188, 169, 99, 178], + [171, 101, 174, 189], + [190, 174, 101, 176], + [102, 180, 191, 192], + [192, 193, 183, 102], + [103, 113, 194, 195], + [195, 196, 105, 103], + [106, 104, 197, 198], + [199, 197, 104, 109], + [110, 105, 196, 200], + [198, 201, 133, 106], + [107, 186, 202, 203], + [203, 204, 181, 107], + [108, 116, 205, 206], + [206, 207, 132, 108], + [109, 133, 201, 199], + [200, 194, 113, 110], + [111, 114, 208, 209], + [209, 210, 117, 111], + [118, 112, 211, 212], + [213, 211, 112, 123], + [214, 208, 114, 125], + [126, 115, 215, 216], + [217, 215, 115, 119], + [218, 205, 116, 130], + [125, 117, 210, 214], + [212, 219, 220, 118], + [136, 119, 118, 135], + [119, 221, 222, 217], + [122, 182, 223, 224], + [224, 225, 226, 122], + [138, 123, 122, 137], + [123, 220, 219, 213], + [124, 139, 227, 228], + [228, 229, 136, 124], + [216, 222, 221, 126], + [140, 127, 126, 139], + [127, 230, 231, 232], + [232, 233, 140, 127], + [129, 135, 234, 235], + [235, 236, 138, 129], + [130, 132, 207, 218], + [141, 131, 237, 238], + [239, 237, 131, 150], + [167, 134, 240, 241], + [242, 240, 134, 142], + [243, 234, 135, 220], + [221, 136, 229, 244], + [149, 137, 245, 246], + [247, 245, 137, 226], + [220, 138, 236, 243], + [244, 227, 139, 221], + [230, 140, 233, 248], + [238, 249, 250, 141], + [251, 142, 141, 252], + [142, 253, 254, 242], + [154, 255, 256, 143], + [252, 144, 143, 251], + [144, 257, 258, 147], + [146, 258, 257, 145], + [259, 148, 145, 260], + [261, 146, 153, 262], + [263, 154, 147, 264], + [148, 265, 266, 153], + [246, 267, 268, 149], + [260, 150, 149, 259], + [150, 250, 249, 239], + [162, 269, 270, 151], + [262, 152, 151, 261], + [152, 271, 272, 179], + [159, 273, 274, 155], + [264, 156, 155, 263], + [156, 270, 269, 163], + [158, 256, 255, 157], + [275, 164, 157, 276], + [277, 158, 170, 278], + [279, 159, 163, 280], + [161, 274, 273, 160], + [281, 173, 160, 282], + [276, 161, 166, 275], + [283, 162, 179, 284], + [164, 285, 286, 170], + [170, 188, 184, 164], + [166, 185, 189, 173], + [173, 287, 288, 166], + [241, 254, 253, 167], + [278, 168, 167, 277], + [168, 289, 290, 291], + [291, 292, 187, 168], + [189, 293, 294, 171], + [280, 172, 171, 279], + [172, 295, 296, 185], + [175, 190, 297, 297], + [297, 298, 299, 175], + [282, 176, 175, 281], + [176, 294, 293, 190], + [184, 296, 295, 177], + [284, 178, 177, 283], + [178, 300, 301, 188], + [181, 272, 271, 180], + [302, 191, 180, 303], + [304, 181, 204, 305], + [183, 266, 265, 182], + [306, 223, 182, 307], + [303, 183, 193, 302], + [308, 184, 188, 309], + [310, 189, 185, 311], + [187, 301, 300, 186], + [305, 202, 186, 304], + [312, 187, 292, 313], + [314, 297, 190, 315], + [191, 316, 317, 204], + [204, 318, 319, 191], + [320, 192, 195, 321], + [322, 195, 192, 319], + [193, 320, 323, 223], + [223, 324, 325, 193], + [194, 326, 327, 211], + [211, 328, 321, 194], + [196, 322, 329, 197], + [197, 330, 331, 196], + [332, 198, 203, 333], + [318, 203, 198, 329], + [330, 199, 206, 334], + [335, 206, 199, 336], + [326, 200, 209, 337], + [338, 209, 200, 331], + [201, 332, 339, 240], + [240, 340, 336, 201], + [202, 341, 342, 292], + [292, 343, 333, 202], + [205, 344, 345, 210], + [210, 338, 334, 205], + [207, 335, 346, 237], + [237, 347, 348, 207], + [208, 349, 350, 215], + [215, 351, 337, 208], + [352, 212, 217, 353], + [351, 217, 212, 327], + [328, 213, 224, 323], + [354, 224, 213, 355], + [349, 214, 228, 356], + [357, 228, 214, 345], + [358, 216, 232, 359], + [360, 232, 216, 350], + [344, 218, 235, 361], + [362, 235, 218, 348], + [219, 352, 363, 364], + [364, 365, 355, 219], + [222, 358, 366, 367], + [367, 368, 353, 222], + [225, 354, 369, 370], + [370, 371, 372, 225], + [307, 226, 225, 306], + [226, 268, 267, 247], + [227, 373, 374, 233], + [233, 360, 356, 227], + [229, 357, 361, 234], + [234, 375, 376, 229], + [248, 231, 230, 230], + [231, 377, 378, 379], + [379, 380, 359, 231], + [236, 362, 381, 245], + [245, 382, 383, 236], + [384, 238, 242, 385], + [340, 242, 238, 346], + [347, 239, 246, 381], + [386, 246, 239, 387], + [388, 241, 291, 389], + [343, 291, 241, 339], + [375, 243, 364, 390], + [391, 364, 243, 383], + [373, 244, 367, 392], + [393, 367, 244, 376], + [382, 247, 370, 394], + [395, 370, 247, 396], + [377, 248, 379, 397], + [398, 379, 248, 374], + [249, 384, 399, 400], + [400, 401, 387, 249], + [250, 260, 402, 403], + [403, 404, 252, 250], + [253, 251, 405, 406], + [407, 405, 251, 256], + [257, 252, 404, 408], + [406, 409, 277, 253], + [254, 388, 410, 411], + [411, 412, 385, 254], + [255, 263, 413, 414], + [414, 415, 276, 255], + [256, 277, 409, 407], + [408, 402, 260, 257], + [258, 261, 416, 417], + [417, 418, 264, 258], + [265, 259, 419, 420], + [421, 419, 259, 268], + [422, 416, 261, 270], + [271, 262, 423, 424], + [425, 423, 262, 266], + [426, 413, 263, 274], + [270, 264, 418, 422], + [420, 427, 307, 265], + [266, 303, 428, 425], + [267, 386, 429, 430], + [430, 431, 396, 267], + [268, 307, 427, 421], + [269, 283, 432, 433], + [433, 434, 280, 269], + [424, 428, 303, 271], + [272, 304, 435, 436], + [436, 437, 284, 272], + [273, 279, 438, 439], + [439, 440, 282, 273], + [274, 276, 415, 426], + [285, 275, 441, 442], + [443, 441, 275, 288], + [289, 278, 444, 445], + [446, 444, 278, 286], + [447, 438, 279, 294], + [295, 280, 434, 448], + [287, 281, 449, 450], + [451, 449, 281, 299], + [294, 282, 440, 447], + [448, 432, 283, 295], + [300, 284, 437, 452], + [442, 453, 454, 285], + [309, 286, 285, 308], + [286, 455, 456, 446], + [450, 457, 458, 287], + [311, 288, 287, 310], + [288, 454, 453, 443], + [445, 456, 455, 289], + [313, 290, 289, 312], + [290, 459, 460, 461], + [461, 462, 389, 290], + [293, 310, 463, 464], + [464, 465, 315, 293], + [296, 308, 466, 467], + [467, 468, 311, 296], + [298, 314, 469, 470], + [470, 471, 472, 298], + [315, 299, 298, 314], + [299, 458, 457, 451], + [452, 435, 304, 300], + [301, 312, 473, 474], + [474, 475, 309, 301], + [316, 302, 476, 477], + [478, 476, 302, 325], + [341, 305, 479, 480], + [481, 479, 305, 317], + [324, 306, 482, 483], + [484, 482, 306, 372], + [485, 466, 308, 454], + [455, 309, 475, 486], + [487, 463, 310, 458], + [454, 311, 468, 485], + [486, 473, 312, 455], + [459, 313, 488, 489], + [490, 488, 313, 342], + [491, 469, 314, 472], + [458, 315, 465, 487], + [477, 492, 485, 316], + [463, 317, 316, 468], + [317, 487, 493, 481], + [329, 447, 464, 318], + [468, 319, 318, 463], + [319, 467, 448, 322], + [321, 448, 467, 320], + [475, 323, 320, 466], + [432, 321, 328, 437], + [438, 329, 322, 434], + [323, 474, 452, 328], + [483, 494, 486, 324], + [466, 325, 324, 475], + [325, 485, 492, 478], + [337, 422, 433, 326], + [437, 327, 326, 432], + [327, 436, 424, 351], + [334, 426, 439, 330], + [434, 331, 330, 438], + [331, 433, 422, 338], + [333, 464, 447, 332], + [449, 339, 332, 440], + [465, 333, 343, 469], + [413, 334, 338, 418], + [336, 439, 426, 335], + [441, 346, 335, 415], + [440, 336, 340, 449], + [416, 337, 351, 423], + [339, 451, 470, 343], + [346, 443, 450, 340], + [480, 493, 487, 341], + [469, 342, 341, 465], + [342, 491, 495, 490], + [361, 407, 414, 344], + [418, 345, 344, 413], + [345, 417, 408, 357], + [381, 446, 442, 347], + [415, 348, 347, 441], + [348, 414, 407, 362], + [356, 408, 417, 349], + [423, 350, 349, 416], + [350, 425, 420, 360], + [353, 424, 436, 352], + [479, 363, 352, 435], + [428, 353, 368, 476], + [355, 452, 474, 354], + [488, 369, 354, 473], + [435, 355, 365, 479], + [402, 356, 360, 419], + [405, 361, 357, 404], + [359, 420, 425, 358], + [476, 366, 358, 428], + [427, 359, 380, 482], + [444, 381, 362, 409], + [363, 481, 477, 368], + [368, 393, 390, 363], + [365, 391, 394, 369], + [369, 490, 480, 365], + [366, 478, 483, 380], + [380, 398, 392, 366], + [371, 395, 496, 497], + [497, 498, 489, 371], + [473, 372, 371, 488], + [372, 486, 494, 484], + [392, 400, 403, 373], + [419, 374, 373, 402], + [374, 421, 430, 398], + [390, 411, 406, 375], + [404, 376, 375, 405], + [376, 403, 400, 393], + [397, 430, 421, 377], + [482, 378, 377, 427], + [378, 484, 497, 499], + [499, 499, 397, 378], + [394, 461, 445, 382], + [409, 383, 382, 444], + [383, 406, 411, 391], + [385, 450, 443, 384], + [492, 399, 384, 453], + [457, 385, 412, 493], + [387, 442, 446, 386], + [494, 429, 386, 456], + [453, 387, 401, 492], + [389, 470, 451, 388], + [493, 410, 388, 457], + [471, 389, 462, 495], + [412, 390, 393, 399], + [462, 394, 391, 410], + [401, 392, 398, 429], + [396, 445, 461, 395], + [498, 496, 395, 460], + [456, 396, 431, 494], + [431, 397, 499, 496], + [399, 477, 481, 412], + [429, 483, 478, 401], + [410, 480, 490, 462], + [496, 497, 484, 431], + [489, 495, 491, 459], + [495, 460, 459, 471], + [460, 489, 498, 498], + [472, 472, 471, 491]] + + assert C_r.table == table3 + assert C_c.table == table3 + + # Group denoted by B2,4 from [2] Pg. 474 + F, a, b = free_group("a, b") + B_2_4 = FpGroup(F, [a**4, b**4, (a*b)**4, (a**-1*b)**4, (a**2*b)**4, \ + (a*b**2)**4, (a**2*b**2)**4, (a**-1*b*a*b)**4, (a*b**-1*a*b)**4]) + C_r = coset_enumeration_r(B_2_4, [a]) + C_c = coset_enumeration_c(B_2_4, [a]) + index_r = 0 + for i in range(len(C_r.p)): + if C_r.p[i] == i: + index_r += 1 + assert index_r == 1024 + + index_c = 0 + for i in range(len(C_c.p)): + if C_c.p[i] == i: + index_c += 1 + assert index_c == 1024 + + # trivial Macdonald group G(2,2) from [2] Pg. 480 + M = FpGroup(F, [b**-1*a**-1*b*a*b**-1*a*b*a**-2, a**-1*b**-1*a*b*a**-1*b*a*b**-2]) + C_r = coset_enumeration_r(M, [a]) + C_r.compress(); C_r.standardize() + C_c = coset_enumeration_c(M, [a]) + C_c.compress(); C_c.standardize() + table4 = [[0, 0, 0, 0]] + assert C_r.table == table4 + assert C_c.table == table4 + + +def test_look_ahead(): + # Section 3.2 [Test Example] Example (d) from [2] + F, a, b, c = free_group("a, b, c") + f = FpGroup(F, [a**11, b**5, c**4, (a*c)**3, b**2*c**-1*b**-1*c, a**4*b**-1*a**-1*b]) + H = [c, b, c**2] + table0 = [[1, 2, 0, 0, 0, 0], + [3, 0, 4, 5, 6, 7], + [0, 8, 9, 10, 11, 12], + [5, 1, 10, 13, 14, 15], + [16, 5, 16, 1, 17, 18], + [4, 3, 1, 8, 19, 20], + [12, 21, 22, 23, 24, 1], + [25, 26, 27, 28, 1, 24], + [2, 10, 5, 16, 22, 28], + [10, 13, 13, 2, 29, 30]] + CosetTable.max_stack_size = 10 + C_c = coset_enumeration_c(f, H) + C_c.compress(); C_c.standardize() + assert C_c.table[: 10] == table0 + +def test_modified_methods(): + ''' + Tests for modified coset table methods. + Example 5.7 from [1] Holt, D., Eick, B., O'Brien + "Handbook of Computational Group Theory". + + ''' + F, x, y = free_group("x, y") + f = FpGroup(F, [x**3, y**5, (x*y)**2]) + H = [x*y, x**-1*y**-1*x*y*x] + C = CosetTable(f, H) + C.modified_define(0, x) + identity = C._grp.identity + a_0 = C._grp.generators[0] + a_1 = C._grp.generators[1] + + assert C.P == [[identity, None, None, None], + [None, identity, None, None]] + assert C.table == [[1, None, None, None], + [None, 0, None, None]] + + C.modified_define(1, x) + assert C.table == [[1, None, None, None], + [2, 0, None, None], + [None, 1, None, None]] + assert C.P == [[identity, None, None, None], + [identity, identity, None, None], + [None, identity, None, None]] + + C.modified_scan(0, x**3, C._grp.identity, fill=False) + assert C.P == [[identity, identity, None, None], + [identity, identity, None, None], + [identity, identity, None, None]] + assert C.table == [[1, 2, None, None], + [2, 0, None, None], + [0, 1, None, None]] + + C.modified_scan(0, x*y, C._grp.generators[0], fill=False) + assert C.P == [[identity, identity, None, a_0**-1], + [identity, identity, a_0, None], + [identity, identity, None, None]] + assert C.table == [[1, 2, None, 1], + [2, 0, 0, None], + [0, 1, None, None]] + + C.modified_define(2, y**-1) + assert C.table == [[1, 2, None, 1], + [2, 0, 0, None], + [0, 1, None, 3], + [None, None, 2, None]] + assert C.P == [[identity, identity, None, a_0**-1], + [identity, identity, a_0, None], + [identity, identity, None, identity], + [None, None, identity, None]] + + C.modified_scan(0, x**-1*y**-1*x*y*x, C._grp.generators[1]) + assert C.table == [[1, 2, None, 1], + [2, 0, 0, None], + [0, 1, None, 3], + [3, 3, 2, None]] + assert C.P == [[identity, identity, None, a_0**-1], + [identity, identity, a_0, None], + [identity, identity, None, identity], + [a_1, a_1**-1, identity, None]] + + C.modified_scan(2, (x*y)**2, C._grp.identity) + assert C.table == [[1, 2, 3, 1], + [2, 0, 0, None], + [0, 1, None, 3], + [3, 3, 2, 0]] + assert C.P == [[identity, identity, a_1**-1, a_0**-1], + [identity, identity, a_0, None], + [identity, identity, None, identity], + [a_1, a_1**-1, identity, a_1]] + + C.modified_define(2, y) + assert C.table == [[1, 2, 3, 1], + [2, 0, 0, None], + [0, 1, 4, 3], + [3, 3, 2, 0], + [None, None, None, 2]] + assert C.P == [[identity, identity, a_1**-1, a_0**-1], + [identity, identity, a_0, None], + [identity, identity, identity, identity], + [a_1, a_1**-1, identity, a_1], + [None, None, None, identity]] + + C.modified_scan(0, y**5, C._grp.identity) + assert C.table == [[1, 2, 3, 1], [2, 0, 0, 4], [0, 1, 4, 3], [3, 3, 2, 0], [None, None, 1, 2]] + assert C.P == [[identity, identity, a_1**-1, a_0**-1], + [identity, identity, a_0, a_0*a_1**-1], + [identity, identity, identity, identity], + [a_1, a_1**-1, identity, a_1], + [None, None, a_1*a_0**-1, identity]] + + C.modified_scan(1, (x*y)**2, C._grp.identity) + assert C.table == [[1, 2, 3, 1], + [2, 0, 0, 4], + [0, 1, 4, 3], + [3, 3, 2, 0], + [4, 4, 1, 2]] + assert C.P == [[identity, identity, a_1**-1, a_0**-1], + [identity, identity, a_0, a_0*a_1**-1], + [identity, identity, identity, identity], + [a_1, a_1**-1, identity, a_1], + [a_0*a_1**-1, a_1*a_0**-1, a_1*a_0**-1, identity]] + + # Modified coset enumeration test + f = FpGroup(F, [x**3, y**3, x**-1*y**-1*x*y]) + C = coset_enumeration_r(f, [x]) + C_m = modified_coset_enumeration_r(f, [x]) + assert C_m.table == C.table diff --git a/shared/package-files/70/704833c31584ed49f879cb5e3ae290b4e0b35ca9c3641d570543ebf1e385ca6c/GimpPaletteFile.py b/shared/package-files/70/704833c31584ed49f879cb5e3ae290b4e0b35ca9c3641d570543ebf1e385ca6c/GimpPaletteFile.py new file mode 100644 index 0000000000000000000000000000000000000000..a3109ebaa1b9ee86e8a8db8c0e3f3fe5f22bc195 --- /dev/null +++ b/shared/package-files/70/704833c31584ed49f879cb5e3ae290b4e0b35ca9c3641d570543ebf1e385ca6c/GimpPaletteFile.py @@ -0,0 +1,57 @@ +# +# Python Imaging Library +# $Id$ +# +# stuff to read GIMP palette files +# +# History: +# 1997-08-23 fl Created +# 2004-09-07 fl Support GIMP 2.0 palette files. +# +# Copyright (c) Secret Labs AB 1997-2004. All rights reserved. +# Copyright (c) Fredrik Lundh 1997-2004. +# +# See the README file for information on usage and redistribution. +# +from __future__ import annotations + +import re + +from ._binary import o8 + + +class GimpPaletteFile: + """File handler for GIMP's palette format.""" + + rawmode = "RGB" + + def __init__(self, fp): + self.palette = [o8(i) * 3 for i in range(256)] + + if fp.readline()[:12] != b"GIMP Palette": + msg = "not a GIMP palette file" + raise SyntaxError(msg) + + for i in range(256): + s = fp.readline() + if not s: + break + + # skip fields and comment lines + if re.match(rb"\w+:|#", s): + continue + if len(s) > 100: + msg = "bad palette file" + raise SyntaxError(msg) + + v = tuple(map(int, s.split()[:3])) + if len(v) != 3: + msg = "bad palette entry" + raise ValueError(msg) + + self.palette[i] = o8(v[0]) + o8(v[1]) + o8(v[2]) + + self.palette = b"".join(self.palette) + + def getpalette(self): + return self.palette, self.rawmode diff --git a/shared/package-files/70/704a017e473794bc2a6dae172ac529cb8bd240a0e1d9043927627de3e002168a/progress_bar.py b/shared/package-files/70/704a017e473794bc2a6dae172ac529cb8bd240a0e1d9043927627de3e002168a/progress_bar.py new file mode 100644 index 0000000000000000000000000000000000000000..67361df2e49d48dd56c91e291ba92553e9afe344 --- /dev/null +++ b/shared/package-files/70/704a017e473794bc2a6dae172ac529cb8bd240a0e1d9043927627de3e002168a/progress_bar.py @@ -0,0 +1,224 @@ +import math +from functools import lru_cache +from time import monotonic +from typing import Iterable, List, Optional + +from .color import Color, blend_rgb +from .color_triplet import ColorTriplet +from .console import Console, ConsoleOptions, RenderResult +from .jupyter import JupyterMixin +from .measure import Measurement +from .segment import Segment +from .style import Style, StyleType + +# Number of characters before 'pulse' animation repeats +PULSE_SIZE = 20 + + +class ProgressBar(JupyterMixin): + """Renders a (progress) bar. Used by rich.progress. + + Args: + total (float, optional): Number of steps in the bar. Defaults to 100. Set to None to render a pulsing animation. + completed (float, optional): Number of steps completed. Defaults to 0. + width (int, optional): Width of the bar, or ``None`` for maximum width. Defaults to None. + pulse (bool, optional): Enable pulse effect. Defaults to False. Will pulse if a None total was passed. + style (StyleType, optional): Style for the bar background. Defaults to "bar.back". + complete_style (StyleType, optional): Style for the completed bar. Defaults to "bar.complete". + finished_style (StyleType, optional): Style for a finished bar. Defaults to "bar.finished". + pulse_style (StyleType, optional): Style for pulsing bars. Defaults to "bar.pulse". + animation_time (Optional[float], optional): Time in seconds to use for animation, or None to use system time. + """ + + def __init__( + self, + total: Optional[float] = 100.0, + completed: float = 0, + width: Optional[int] = None, + pulse: bool = False, + style: StyleType = "bar.back", + complete_style: StyleType = "bar.complete", + finished_style: StyleType = "bar.finished", + pulse_style: StyleType = "bar.pulse", + animation_time: Optional[float] = None, + ): + self.total = total + self.completed = completed + self.width = width + self.pulse = pulse + self.style = style + self.complete_style = complete_style + self.finished_style = finished_style + self.pulse_style = pulse_style + self.animation_time = animation_time + + self._pulse_segments: Optional[List[Segment]] = None + + def __repr__(self) -> str: + return f"" + + @property + def percentage_completed(self) -> Optional[float]: + """Calculate percentage complete.""" + if self.total is None: + return None + completed = (self.completed / self.total) * 100.0 + completed = min(100, max(0.0, completed)) + return completed + + @lru_cache(maxsize=16) + def _get_pulse_segments( + self, + fore_style: Style, + back_style: Style, + color_system: str, + no_color: bool, + ascii: bool = False, + ) -> List[Segment]: + """Get a list of segments to render a pulse animation. + + Returns: + List[Segment]: A list of segments, one segment per character. + """ + bar = "-" if ascii else "━" + segments: List[Segment] = [] + if color_system not in ("standard", "eight_bit", "truecolor") or no_color: + segments += [Segment(bar, fore_style)] * (PULSE_SIZE // 2) + segments += [Segment(" " if no_color else bar, back_style)] * ( + PULSE_SIZE - (PULSE_SIZE // 2) + ) + return segments + + append = segments.append + fore_color = ( + fore_style.color.get_truecolor() + if fore_style.color + else ColorTriplet(255, 0, 255) + ) + back_color = ( + back_style.color.get_truecolor() + if back_style.color + else ColorTriplet(0, 0, 0) + ) + cos = math.cos + pi = math.pi + _Segment = Segment + _Style = Style + from_triplet = Color.from_triplet + + for index in range(PULSE_SIZE): + position = index / PULSE_SIZE + fade = 0.5 + cos((position * pi * 2)) / 2.0 + color = blend_rgb(fore_color, back_color, cross_fade=fade) + append(_Segment(bar, _Style(color=from_triplet(color)))) + return segments + + def update(self, completed: float, total: Optional[float] = None) -> None: + """Update progress with new values. + + Args: + completed (float): Number of steps completed. + total (float, optional): Total number of steps, or ``None`` to not change. Defaults to None. + """ + self.completed = completed + self.total = total if total is not None else self.total + + def _render_pulse( + self, console: Console, width: int, ascii: bool = False + ) -> Iterable[Segment]: + """Renders the pulse animation. + + Args: + console (Console): Console instance. + width (int): Width in characters of pulse animation. + + Returns: + RenderResult: [description] + + Yields: + Iterator[Segment]: Segments to render pulse + """ + fore_style = console.get_style(self.pulse_style, default="white") + back_style = console.get_style(self.style, default="black") + + pulse_segments = self._get_pulse_segments( + fore_style, back_style, console.color_system, console.no_color, ascii=ascii + ) + segment_count = len(pulse_segments) + current_time = ( + monotonic() if self.animation_time is None else self.animation_time + ) + segments = pulse_segments * (int(width / segment_count) + 2) + offset = int(-current_time * 15) % segment_count + segments = segments[offset : offset + width] + yield from segments + + def __rich_console__( + self, console: Console, options: ConsoleOptions + ) -> RenderResult: + + width = min(self.width or options.max_width, options.max_width) + ascii = options.legacy_windows or options.ascii_only + should_pulse = self.pulse or self.total is None + if should_pulse: + yield from self._render_pulse(console, width, ascii=ascii) + return + + completed: Optional[float] = ( + min(self.total, max(0, self.completed)) if self.total is not None else None + ) + + bar = "-" if ascii else "━" + half_bar_right = " " if ascii else "╸" + half_bar_left = " " if ascii else "╺" + complete_halves = ( + int(width * 2 * completed / self.total) + if self.total and completed is not None + else width * 2 + ) + bar_count = complete_halves // 2 + half_bar_count = complete_halves % 2 + style = console.get_style(self.style) + is_finished = self.total is None or self.completed >= self.total + complete_style = console.get_style( + self.finished_style if is_finished else self.complete_style + ) + _Segment = Segment + if bar_count: + yield _Segment(bar * bar_count, complete_style) + if half_bar_count: + yield _Segment(half_bar_right * half_bar_count, complete_style) + + if not console.no_color: + remaining_bars = width - bar_count - half_bar_count + if remaining_bars and console.color_system is not None: + if not half_bar_count and bar_count: + yield _Segment(half_bar_left, style) + remaining_bars -= 1 + if remaining_bars: + yield _Segment(bar * remaining_bars, style) + + def __rich_measure__( + self, console: Console, options: ConsoleOptions + ) -> Measurement: + return ( + Measurement(self.width, self.width) + if self.width is not None + else Measurement(4, options.max_width) + ) + + +if __name__ == "__main__": # pragma: no cover + console = Console() + bar = ProgressBar(width=50, total=100) + + import time + + console.show_cursor(False) + for n in range(0, 101, 1): + bar.update(n) + console.print(bar) + console.file.write("\r") + time.sleep(0.05) + console.show_cursor(True) + console.print() diff --git a/shared/package-files/70/704f17d7f0b04858164ced2952a9070b42f968d183f892854966d00422192cf8/special_modified_bessel_k0_cpu_dispatch.h b/shared/package-files/70/704f17d7f0b04858164ced2952a9070b42f968d183f892854966d00422192cf8/special_modified_bessel_k0_cpu_dispatch.h new file mode 100644 index 0000000000000000000000000000000000000000..16873a8ae66cffbc3a7fb7d730c857d951fbecaf --- /dev/null +++ b/shared/package-files/70/704f17d7f0b04858164ced2952a9070b42f968d183f892854966d00422192cf8/special_modified_bessel_k0_cpu_dispatch.h @@ -0,0 +1,25 @@ +#pragma once +// @generated by torchgen/gen.py from DispatchKeyFunction.h + +// NB: The implementing C++ file is RegisterDispatchKey.cpp + +// The only #includes we need are for custom classes that have defaults in the C++ API +#include +#include +#include + +// Forward declarations of any types needed in the operator signatures. +// We can't directly include these classes because it will cause circular include dependencies. +// This file is included by TensorBody.h, which defines the Tensor class. +#include + +namespace at { + +namespace cpu { + +TORCH_API at::Tensor special_modified_bessel_k0(const at::Tensor & self); +TORCH_API at::Tensor & special_modified_bessel_k0_out(at::Tensor & out, const at::Tensor & self); +TORCH_API at::Tensor & special_modified_bessel_k0_outf(const at::Tensor & self, at::Tensor & out); + +} // namespace cpu +} // namespace at diff --git a/shared/package-files/70/705266c2c5a1772b0ef81129679a4c1e8eac5d218ed536165a0ff5da899cbef9/test_fitpack.py b/shared/package-files/70/705266c2c5a1772b0ef81129679a4c1e8eac5d218ed536165a0ff5da899cbef9/test_fitpack.py new file mode 100644 index 0000000000000000000000000000000000000000..d798f0eda4eb0c099bdf46cb4b3468628013c9d3 --- /dev/null +++ b/shared/package-files/70/705266c2c5a1772b0ef81129679a4c1e8eac5d218ed536165a0ff5da899cbef9/test_fitpack.py @@ -0,0 +1,519 @@ +import itertools +import os + +import numpy as np +from scipy._lib._array_api import ( + xp_assert_equal, xp_assert_close, assert_almost_equal, assert_array_almost_equal +) +from pytest import raises as assert_raises +import pytest +from scipy._lib._testutils import check_free_memory + +from scipy.interpolate import RectBivariateSpline +from scipy.interpolate import make_splrep + +from scipy.interpolate._fitpack_py import (splrep, splev, bisplrep, bisplev, + sproot, splprep, splint, spalde, splder, splantider, insert, dblint) +from scipy.interpolate._dfitpack import regrid_smth +from scipy.interpolate._fitpack2 import dfitpack_int + + +def data_file(basename): + return os.path.join(os.path.abspath(os.path.dirname(__file__)), + 'data', basename) + + +def norm2(x): + return np.sqrt(np.dot(x.T, x)) + + +def f1(x, d=0): + """Derivatives of sin->cos->-sin->-cos.""" + if d % 4 == 0: + return np.sin(x) + if d % 4 == 1: + return np.cos(x) + if d % 4 == 2: + return -np.sin(x) + if d % 4 == 3: + return -np.cos(x) + + +def makepairs(x, y): + """Helper function to create an array of pairs of x and y.""" + xy = np.array(list(itertools.product(np.asarray(x), np.asarray(y)))) + return xy.T + + +class TestSmokeTests: + """ + Smoke tests (with a few asserts) for fitpack routines -- mostly + check that they are runnable + """ + def check_1(self, per=0, s=0, a=0, b=2*np.pi, at_nodes=False, + xb=None, xe=None): + if xb is None: + xb = a + if xe is None: + xe = b + + N = 20 + # nodes and middle points of the nodes + x = np.linspace(a, b, N + 1) + x1 = a + (b - a) * np.arange(1, N, dtype=float) / float(N - 1) + v = f1(x) + + def err_est(k, d): + # Assume f has all derivatives < 1 + h = 1.0 / N + tol = 5 * h**(.75*(k-d)) + if s > 0: + tol += 1e5*s + return tol + + for k in range(1, 6): + tck = splrep(x, v, s=s, per=per, k=k, xe=xe) + tt = tck[0][k:-k] if at_nodes else x1 + + for d in range(k+1): + tol = err_est(k, d) + err = norm2(f1(tt, d) - splev(tt, tck, d)) / norm2(f1(tt, d)) + assert err < tol + + # smoke test make_splrep + if not per: + spl = make_splrep(x, v, k=k, s=s, xb=xb, xe=xe) + if len(spl.t) == len(tck[0]): + xp_assert_close(spl.t, tck[0], atol=1e-15) + xp_assert_close(spl.c, tck[1][:spl.c.size], atol=1e-13) + else: + assert k == 5 # knot length differ in some k=5 cases + + def check_2(self, per=0, N=20, ia=0, ib=2*np.pi): + a, b, dx = 0, 2*np.pi, 0.2*np.pi + x = np.linspace(a, b, N+1) # nodes + v = np.sin(x) + + def err_est(k, d): + # Assume f has all derivatives < 1 + h = 1.0 / N + tol = 5 * h**(.75*(k-d)) + return tol + + nk = [] + for k in range(1, 6): + tck = splrep(x, v, s=0, per=per, k=k, xe=b) + nk.append([splint(ia, ib, tck), spalde(dx, tck)]) + + k = 1 + for r in nk: + d = 0 + for dr in r[1]: + tol = err_est(k, d) + xp_assert_close(dr, f1(dx, d), atol=0, rtol=tol) + d = d+1 + k = k+1 + + def test_smoke_splrep_splev(self): + self.check_1(s=1e-6) + self.check_1(b=1.5*np.pi) + self.check_1(b=1.5*np.pi, xe=2*np.pi, per=1, s=1e-1) + + @pytest.mark.parametrize('per', [0, 1]) + @pytest.mark.parametrize('at_nodes', [True, False]) + def test_smoke_splrep_splev_2(self, per, at_nodes): + self.check_1(per=per, at_nodes=at_nodes) + + @pytest.mark.parametrize('N', [20, 50]) + @pytest.mark.parametrize('per', [0, 1]) + def test_smoke_splint_spalde(self, N, per): + self.check_2(per=per, N=N) + + @pytest.mark.parametrize('N', [20, 50]) + @pytest.mark.parametrize('per', [0, 1]) + def test_smoke_splint_spalde_iaib(self, N, per): + self.check_2(ia=0.2*np.pi, ib=np.pi, N=N, per=per) + + def test_smoke_sproot(self): + # sproot is only implemented for k=3 + a, b = 0.1, 15 + x = np.linspace(a, b, 20) + v = np.sin(x) + + for k in [1, 2, 4, 5]: + tck = splrep(x, v, s=0, per=0, k=k, xe=b) + with assert_raises(ValueError): + sproot(tck) + + k = 3 + tck = splrep(x, v, s=0, k=3) + roots = sproot(tck) + xp_assert_close(splev(roots, tck), np.zeros(len(roots)), atol=1e-10, rtol=1e-10) + xp_assert_close(roots, np.pi * np.array([1, 2, 3, 4]), rtol=1e-3) + + @pytest.mark.parametrize('N', [20, 50]) + @pytest.mark.parametrize('k', [1, 2, 3, 4, 5]) + def test_smoke_splprep_splrep_splev(self, N, k): + a, b, dx = 0, 2.*np.pi, 0.2*np.pi + x = np.linspace(a, b, N+1) # nodes + v = np.sin(x) + + tckp, u = splprep([x, v], s=0, per=0, k=k, nest=-1) + uv = splev(dx, tckp) + err1 = abs(uv[1] - np.sin(uv[0])) + assert err1 < 1e-2 + + tck = splrep(x, v, s=0, per=0, k=k) + err2 = abs(splev(uv[0], tck) - np.sin(uv[0])) + assert err2 < 1e-2 + + # Derivatives of parametric cubic spline at u (first function) + if k == 3: + tckp, u = splprep([x, v], s=0, per=0, k=k, nest=-1) + for d in range(1, k+1): + uv = splev(dx, tckp, d) + + def test_smoke_bisplrep_bisplev(self): + xb, xe = 0, 2.*np.pi + yb, ye = 0, 2.*np.pi + kx, ky = 3, 3 + Nx, Ny = 20, 20 + + def f2(x, y): + return np.sin(x+y) + + x = np.linspace(xb, xe, Nx + 1) + y = np.linspace(yb, ye, Ny + 1) + xy = makepairs(x, y) + tck = bisplrep(xy[0], xy[1], f2(xy[0], xy[1]), s=0, kx=kx, ky=ky) + + tt = [tck[0][kx:-kx], tck[1][ky:-ky]] + t2 = makepairs(tt[0], tt[1]) + v1 = bisplev(tt[0], tt[1], tck) + v2 = f2(t2[0], t2[1]) + v2.shape = len(tt[0]), len(tt[1]) + + assert norm2(np.ravel(v1 - v2)) < 1e-2 + + +class TestSplev: + def test_1d_shape(self): + x = [1,2,3,4,5] + y = [4,5,6,7,8] + tck = splrep(x, y) + z = splev([1], tck) + assert z.shape == (1,) + z = splev(1, tck) + assert z.shape == () + + def test_2d_shape(self): + x = [1, 2, 3, 4, 5] + y = [4, 5, 6, 7, 8] + tck = splrep(x, y) + t = np.array([[1.0, 1.5, 2.0, 2.5], + [3.0, 3.5, 4.0, 4.5]]) + z = splev(t, tck) + z0 = splev(t[0], tck) + z1 = splev(t[1], tck) + xp_assert_equal(z, np.vstack((z0, z1))) + + def test_extrapolation_modes(self): + # test extrapolation modes + # * if ext=0, return the extrapolated value. + # * if ext=1, return 0 + # * if ext=2, raise a ValueError + # * if ext=3, return the boundary value. + x = [1,2,3] + y = [0,2,4] + tck = splrep(x, y, k=1) + + rstl = [[-2, 6], [0, 0], None, [0, 4]] + for ext in (0, 1, 3): + assert_array_almost_equal(splev([0, 4], tck, ext=ext), rstl[ext]) + + assert_raises(ValueError, splev, [0, 4], tck, ext=2) + + +class TestSplder: + def setup_method(self): + # non-uniform grid, just to make it sure + x = np.linspace(0, 1, 100)**3 + y = np.sin(20 * x) + self.spl = splrep(x, y) + + # double check that knots are non-uniform + assert np.ptp(np.diff(self.spl[0])) > 0 + + def test_inverse(self): + # Check that antiderivative + derivative is identity. + for n in range(5): + spl2 = splantider(self.spl, n) + spl3 = splder(spl2, n) + xp_assert_close(self.spl[0], spl3[0]) + xp_assert_close(self.spl[1], spl3[1]) + assert self.spl[2] == spl3[2] + + def test_splder_vs_splev(self): + # Check derivative vs. FITPACK + + for n in range(3+1): + # Also extrapolation! + xx = np.linspace(-1, 2, 2000) + if n == 3: + # ... except that FITPACK extrapolates strangely for + # order 0, so let's not check that. + xx = xx[(xx >= 0) & (xx <= 1)] + + dy = splev(xx, self.spl, n) + spl2 = splder(self.spl, n) + dy2 = splev(xx, spl2) + if n == 1: + xp_assert_close(dy, dy2, rtol=2e-6) + else: + xp_assert_close(dy, dy2) + + def test_splantider_vs_splint(self): + # Check antiderivative vs. FITPACK + spl2 = splantider(self.spl) + + # no extrapolation, splint assumes function is zero outside + # range + xx = np.linspace(0, 1, 20) + + for x1 in xx: + for x2 in xx: + y1 = splint(x1, x2, self.spl) + y2 = splev(x2, spl2) - splev(x1, spl2) + xp_assert_close(np.asarray(y1), np.asarray(y2)) + + def test_order0_diff(self): + assert_raises(ValueError, splder, self.spl, 4) + + def test_kink(self): + # Should refuse to differentiate splines with kinks + + spl2 = insert(0.5, self.spl, m=2) + splder(spl2, 2) # Should work + assert_raises(ValueError, splder, spl2, 3) + + spl2 = insert(0.5, self.spl, m=3) + splder(spl2, 1) # Should work + assert_raises(ValueError, splder, spl2, 2) + + spl2 = insert(0.5, self.spl, m=4) + assert_raises(ValueError, splder, spl2, 1) + + def test_multidim(self): + # c can have trailing dims + for n in range(3): + t, c, k = self.spl + c2 = np.c_[c, c, c] + c2 = np.dstack((c2, c2)) + + spl2 = splantider((t, c2, k), n) + spl3 = splder(spl2, n) + + xp_assert_close(t, spl3[0]) + xp_assert_close(c2, spl3[1]) + assert k == spl3[2] + + +class TestSplint: + def test_len_c(self): + n, k = 7, 3 + x = np.arange(n) + y = x**3 + t, c, k = splrep(x, y, s=0) + + # note that len(c) == len(t) == 11 (== len(x) + 2*(k-1)) + assert len(t) == len(c) == n + 2*(k-1) + + # integrate directly: $\int_0^6 x^3 dx = 6^4 / 4$ + res = splint(0, 6, (t, c, k)) + expected = 6**4 / 4 + assert abs(res - expected) < 1e-13 + + # check that the coefficients past len(t) - k - 1 are ignored + c0 = c.copy() + c0[len(t) - k - 1:] = np.nan + res0 = splint(0, 6, (t, c0, k)) + assert abs(res0 - expected) < 1e-13 + + # however, all other coefficients *are* used + c0[6] = np.nan + assert np.isnan(splint(0, 6, (t, c0, k))) + + # check that the coefficient array can have length `len(t) - k - 1` + c1 = c[:len(t) - k - 1] + res1 = splint(0, 6, (t, c1, k)) + assert (res1 - expected) < 1e-13 + + + # however shorter c arrays raise. The error from f2py is a + # `dftipack.error`, which is an Exception but not ValueError etc. + with assert_raises(Exception, match=r">=n-k-1"): + splint(0, 1, (np.ones(10), np.ones(5), 3)) + + +class TestBisplrep: + def test_overflow(self): + from numpy.lib.stride_tricks import as_strided + if dfitpack_int.itemsize == 8: + size = 1500000**2 + else: + size = 400**2 + # Don't allocate a real array, as it's very big, but rely + # on that it's not referenced + x = as_strided(np.zeros(()), shape=(size,)) + assert_raises(OverflowError, bisplrep, x, x, x, w=x, + xb=0, xe=1, yb=0, ye=1, s=0) + + def test_regression_1310(self): + # Regression test for gh-1310 + with np.load(data_file('bug-1310.npz')) as loaded_data: + data = loaded_data['data'] + + # Shouldn't crash -- the input data triggers work array sizes + # that caused previously some data to not be aligned on + # sizeof(double) boundaries in memory, which made the Fortran + # code to crash when compiled with -O3 + bisplrep(data[:,0], data[:,1], data[:,2], kx=3, ky=3, s=0, + full_output=True) + + @pytest.mark.skipif(dfitpack_int != np.int64, reason="needs ilp64 fitpack") + def test_ilp64_bisplrep(self): + check_free_memory(28000) # VM size, doesn't actually use the pages + x = np.linspace(0, 1, 400) + y = np.linspace(0, 1, 400) + x, y = np.meshgrid(x, y) + z = np.zeros_like(x) + tck = bisplrep(x, y, z, kx=3, ky=3, s=0) + xp_assert_close(bisplev(0.5, 0.5, tck), 0.0) + + +def test_dblint(): + # Basic test to see it runs and gives the correct result on a trivial + # problem. Note that `dblint` is not exposed in the interpolate namespace. + x = np.linspace(0, 1) + y = np.linspace(0, 1) + xx, yy = np.meshgrid(x, y) + rect = RectBivariateSpline(x, y, 4 * xx * yy) + tck = list(rect.tck) + tck.extend(rect.degrees) + + assert abs(dblint(0, 1, 0, 1, tck) - 1) < 1e-10 + assert abs(dblint(0, 0.5, 0, 1, tck) - 0.25) < 1e-10 + assert abs(dblint(0.5, 1, 0, 1, tck) - 0.75) < 1e-10 + assert abs(dblint(-100, 100, -100, 100, tck) - 1) < 1e-10 + + +def test_splev_der_k(): + # regression test for gh-2188: splev(x, tck, der=k) gives garbage or crashes + # for x outside of knot range + + # test case from gh-2188 + tck = (np.array([0., 0., 2.5, 2.5]), + np.array([-1.56679978, 2.43995873, 0., 0.]), + 1) + t, c, k = tck + x = np.array([-3, 0, 2.5, 3]) + + # an explicit form of the linear spline + xp_assert_close(splev(x, tck), c[0] + (c[1] - c[0]) * x/t[2]) + xp_assert_close(splev(x, tck, 1), + np.ones_like(x) * (c[1] - c[0]) / t[2] + ) + + # now check a random spline vs splder + np.random.seed(1234) + x = np.sort(np.random.random(30)) + y = np.random.random(30) + t, c, k = splrep(x, y) + + x = [t[0] - 1., t[-1] + 1.] + tck2 = splder((t, c, k), k) + xp_assert_close(splev(x, (t, c, k), k), splev(x, tck2)) + + +def test_splprep_segfault(): + # regression test for gh-3847: splprep segfaults if knots are specified + # for task=-1 + t = np.arange(0, 1.1, 0.1) + x = np.sin(2*np.pi*t) + y = np.cos(2*np.pi*t) + tck, u = splprep([x, y], s=0) + np.arange(0, 1.01, 0.01) + + uknots = tck[0] # using the knots from the previous fitting + tck, u = splprep([x, y], task=-1, t=uknots) # here is the crash + + +def test_bisplev_integer_overflow(): + np.random.seed(1) + + x = np.linspace(0, 1, 11) + y = x + z = np.random.randn(11, 11).ravel() + kx = 1 + ky = 1 + + nx, tx, ny, ty, c, fp, ier = regrid_smth( + x, y, z, None, None, None, None, kx=kx, ky=ky, s=0.0) + tck = (tx[:nx], ty[:ny], c[:(nx - kx - 1) * (ny - ky - 1)], kx, ky) + + xp = np.zeros([2621440]) + yp = np.zeros([2621440]) + + assert_raises((RuntimeError, MemoryError), bisplev, xp, yp, tck) + + +@pytest.mark.xslow +def test_gh_1766(): + # this should fail gracefully instead of segfaulting (int overflow) + size = 22 + kx, ky = 3, 3 + def f2(x, y): + return np.sin(x+y) + + x = np.linspace(0, 10, size) + y = np.linspace(50, 700, size) + xy = makepairs(x, y) + tck = bisplrep(xy[0], xy[1], f2(xy[0], xy[1]), s=0, kx=kx, ky=ky) + # the size value here can either segfault + # or produce a MemoryError on main + tx_ty_size = 500000 + tck[0] = np.arange(tx_ty_size) + tck[1] = np.arange(tx_ty_size) * 4 + tt_0 = np.arange(50) + tt_1 = np.arange(50) * 3 + with pytest.raises(MemoryError): + bisplev(tt_0, tt_1, tck, 1, 1) + + +def test_spalde_scalar_input(): + # Ticket #629 + x = np.linspace(0, 10) + y = x**3 + tck = splrep(x, y, k=3, t=[5]) + res = spalde(np.float64(1), tck) + des = np.array([1., 3., 6., 6.]) + assert_almost_equal(res, des) + + +def test_spalde_nc(): + # regression test for https://github.com/scipy/scipy/issues/19002 + # here len(t) = 29 and len(c) = 25 (== len(t) - k - 1) + x = np.asarray([-10., -9., -8., -7., -6., -5., -4., -3., -2.5, -2., -1.5, + -1., -0.5, 0., 0.5, 1., 1.5, 2., 2.5, 3., 4., 5., 6.], + dtype="float") + t = [-10.0, -10.0, -10.0, -10.0, -9.0, -8.0, -7.0, -6.0, -5.0, -4.0, -3.0, + -2.5, -2.0, -1.5, -1.0, -0.5, 0.0, 0.5, 1.0, 1.5, 2.0, 2.5, 3.0, 4.0, + 5.0, 6.0, 6.0, 6.0, 6.0] + c = np.asarray([1., 0., 0., 0., 0., 0., 0., 0., 0., 0., 0., 0., 0., 0., 0., + 0., 0., 0., 0., 0., 0., 0., 0., 0., 0.]) + k = 3 + + res = spalde(x, (t, c, k)) + res = np.vstack(res) + res_splev = np.asarray([splev(x, (t, c, k), nu) for nu in range(4)]) + xp_assert_close(res, res_splev.T, atol=1e-15) diff --git a/shared/package-files/70/70565d6e42925b21f8585bfe649d4aaf1fa9f9d37a804a553161263b14fb090c/test_params.py b/shared/package-files/70/70565d6e42925b21f8585bfe649d4aaf1fa9f9d37a804a553161263b14fb090c/test_params.py new file mode 100644 index 0000000000000000000000000000000000000000..e96170c9d89871e52618a72ab2803fd74b326bf4 --- /dev/null +++ b/shared/package-files/70/70565d6e42925b21f8585bfe649d4aaf1fa9f9d37a804a553161263b14fb090c/test_params.py @@ -0,0 +1,627 @@ +import numpy as np +from numpy.testing import assert_allclose, assert_equal +import pandas as pd +import pytest + +from statsmodels.tsa.arima import params, specification + + +def test_init(): + # Test initialization of the params + + # Basic test, with 1 of each parameter + exog = pd.DataFrame([[0]], columns=["a"]) + spec = specification.SARIMAXSpecification( + exog=exog, order=(1, 1, 1), seasonal_order=(1, 1, 1, 4) + ) + p = params.SARIMAXParams(spec=spec) + + # Test things copied over from spec + assert_equal(p.spec, spec) + assert_equal(p.exog_names, ["a"]) + assert_equal(p.ar_names, ["ar.L1"]) + assert_equal(p.ma_names, ["ma.L1"]) + assert_equal(p.seasonal_ar_names, ["ar.S.L4"]) + assert_equal(p.seasonal_ma_names, ["ma.S.L4"]) + assert_equal(p.param_names, ["a", "ar.L1", "ma.L1", "ar.S.L4", "ma.S.L4", "sigma2"]) + + assert_equal(p.k_exog_params, 1) + assert_equal(p.k_ar_params, 1) + assert_equal(p.k_ma_params, 1) + assert_equal(p.k_seasonal_ar_params, 1) + assert_equal(p.k_seasonal_ma_params, 1) + assert_equal(p.k_params, 6) + + # Initial parameters should all be NaN + assert_equal(p.params, np.nan) + assert_equal(p.ar_params, [np.nan]) + assert_equal(p.ma_params, [np.nan]) + assert_equal(p.seasonal_ar_params, [np.nan]) + assert_equal(p.seasonal_ma_params, [np.nan]) + assert_equal(p.sigma2, np.nan) + assert_equal(p.ar_poly.coef, np.r_[1, np.nan]) + assert_equal(p.ma_poly.coef, np.r_[1, np.nan]) + assert_equal(p.seasonal_ar_poly.coef, np.r_[1, 0, 0, 0, np.nan]) + assert_equal(p.seasonal_ma_poly.coef, np.r_[1, 0, 0, 0, np.nan]) + assert_equal(p.reduced_ar_poly.coef, np.r_[1, [np.nan] * 5]) + assert_equal(p.reduced_ma_poly.coef, np.r_[1, [np.nan] * 5]) + + # Test other properties, methods + assert (not p.is_complete) + assert (not p.is_valid) + with pytest.raises(ValueError): + p.__getattribute__("is_stationary") + with pytest.raises(ValueError): + p.__getattribute__("is_invertible") + desired = { + "exog_params": [np.nan], + "ar_params": [np.nan], + "ma_params": [np.nan], + "seasonal_ar_params": [np.nan], + "seasonal_ma_params": [np.nan], + "sigma2": np.nan, + } + assert_equal(p.to_dict(), desired) + desired = pd.Series([np.nan] * spec.k_params, index=spec.param_names) + assert_allclose(p.to_pandas(), desired) + + # Test with different numbers of parameters for each + exog = pd.DataFrame([[0, 0]], columns=["a", "b"]) + spec = specification.SARIMAXSpecification( + exog=exog, order=(3, 1, 2), seasonal_order=(5, 1, 6, 4) + ) + p = params.SARIMAXParams(spec=spec) + # No real need to test names here, since they are already tested above for + # the 1-param case, and tested more extensively in test for + # SARIMAXSpecification + assert_equal(p.k_exog_params, 2) + assert_equal(p.k_ar_params, 3) + assert_equal(p.k_ma_params, 2) + assert_equal(p.k_seasonal_ar_params, 5) + assert_equal(p.k_seasonal_ma_params, 6) + assert_equal(p.k_params, 2 + 3 + 2 + 5 + 6 + 1) + + +def test_set_params_single(): + # Test setting parameters directly (i.e., we test setting the AR/MA + # parameters by setting the lag polynomials elsewhere) + # Here each type has only a single parameters + exog = pd.DataFrame([[0]], columns=["a"]) + spec = specification.SARIMAXSpecification( + exog=exog, order=(1, 1, 1), seasonal_order=(1, 1, 1, 4) + ) + p = params.SARIMAXParams(spec=spec) + + def check(is_stationary="raise", is_invertible="raise"): + assert (not p.is_complete) + assert (not p.is_valid) + if is_stationary == "raise": + with pytest.raises(ValueError): + p.__getattribute__("is_stationary") + else: + assert_equal(p.is_stationary, is_stationary) + if is_invertible == "raise": + with pytest.raises(ValueError): + p.__getattribute__("is_invertible") + else: + assert_equal(p.is_invertible, is_invertible) + + # Set params one at a time, as scalars + p.exog_params = -6.0 + check() + p.ar_params = -5.0 + check() + p.ma_params = -4.0 + check() + p.seasonal_ar_params = -3.0 + check(is_stationary=False) + p.seasonal_ma_params = -2.0 + check(is_stationary=False, is_invertible=False) + p.sigma2 = -1.0 + # Finally, we have a complete set. + assert (p.is_complete) + # But still not valid + assert (not p.is_valid) + + assert_equal(p.params, [-6, -5, -4, -3, -2, -1]) + assert_equal(p.exog_params, [-6]) + assert_equal(p.ar_params, [-5]) + assert_equal(p.ma_params, [-4]) + assert_equal(p.seasonal_ar_params, [-3]) + assert_equal(p.seasonal_ma_params, [-2]) + assert_equal(p.sigma2, -1.0) + + # Lag polynomials + assert_equal(p.ar_poly.coef, np.r_[1, 5]) + assert_equal(p.ma_poly.coef, np.r_[1, -4]) + assert_equal(p.seasonal_ar_poly.coef, np.r_[1, 0, 0, 0, 3]) + assert_equal(p.seasonal_ma_poly.coef, np.r_[1, 0, 0, 0, -2]) + # (1 - a L) (1 - b L^4) = (1 - a L - b L^4 + a b L^5) + assert_equal(p.reduced_ar_poly.coef, np.r_[1, 5, 0, 0, 3, 15]) + # (1 + a L) (1 + b L^4) = (1 + a L + b L^4 + a b L^5) + assert_equal(p.reduced_ma_poly.coef, np.r_[1, -4, 0, 0, -2, 8]) + + # Override again, one at a time, now using lists + p.exog_params = [1.0] + p.ar_params = [2.0] + p.ma_params = [3.0] + p.seasonal_ar_params = [4.0] + p.seasonal_ma_params = [5.0] + p.sigma2 = [6.0] + + p.params = [1, 2, 3, 4, 5, 6] + assert_equal(p.params, [1, 2, 3, 4, 5, 6]) + assert_equal(p.exog_params, [1]) + assert_equal(p.ar_params, [2]) + assert_equal(p.ma_params, [3]) + assert_equal(p.seasonal_ar_params, [4]) + assert_equal(p.seasonal_ma_params, [5]) + assert_equal(p.sigma2, 6.0) + + # Override again, one at a time, now using arrays + p.exog_params = np.array(6.0) + p.ar_params = np.array(5.0) + p.ma_params = np.array(4.0) + p.seasonal_ar_params = np.array(3.0) + p.seasonal_ma_params = np.array(2.0) + p.sigma2 = np.array(1.0) + + assert_equal(p.params, [6, 5, 4, 3, 2, 1]) + assert_equal(p.exog_params, [6]) + assert_equal(p.ar_params, [5]) + assert_equal(p.ma_params, [4]) + assert_equal(p.seasonal_ar_params, [3]) + assert_equal(p.seasonal_ma_params, [2]) + assert_equal(p.sigma2, 1.0) + + # Override again, now setting params all at once + p.params = [1, 2, 3, 4, 5, 6] + assert_equal(p.params, [1, 2, 3, 4, 5, 6]) + assert_equal(p.exog_params, [1]) + assert_equal(p.ar_params, [2]) + assert_equal(p.ma_params, [3]) + assert_equal(p.seasonal_ar_params, [4]) + assert_equal(p.seasonal_ma_params, [5]) + assert_equal(p.sigma2, 6.0) + + # Lag polynomials + assert_equal(p.ar_poly.coef, np.r_[1, -2]) + assert_equal(p.ma_poly.coef, np.r_[1, 3]) + assert_equal(p.seasonal_ar_poly.coef, np.r_[1, 0, 0, 0, -4]) + assert_equal(p.seasonal_ma_poly.coef, np.r_[1, 0, 0, 0, 5]) + # (1 - a L) (1 - b L^4) = (1 - a L - b L^4 + a b L^5) + assert_equal(p.reduced_ar_poly.coef, np.r_[1, -2, 0, 0, -4, 8]) + # (1 + a L) (1 + b L^4) = (1 + a L + b L^4 + a b L^5) + assert_equal(p.reduced_ma_poly.coef, np.r_[1, 3, 0, 0, 5, 15]) + + +def test_set_params_single_nonconsecutive(): + # Test setting parameters directly (i.e., we test setting the AR/MA + # parameters by setting the lag polynomials elsewhere) + # Here each type has only a single parameters but has non-consecutive + # lag orders + exog = pd.DataFrame([[0]], columns=["a"]) + spec = specification.SARIMAXSpecification( + exog=exog, order=([0, 1], 1, [0, 1]), seasonal_order=([0, 1], 1, [0, 1], 4) + ) + p = params.SARIMAXParams(spec=spec) + + def check(is_stationary="raise", is_invertible="raise"): + assert (not p.is_complete) + assert (not p.is_valid) + if is_stationary == "raise": + with pytest.raises(ValueError): + p.__getattribute__("is_stationary") + else: + assert_equal(p.is_stationary, is_stationary) + if is_invertible == "raise": + with pytest.raises(ValueError): + p.__getattribute__("is_invertible") + else: + assert_equal(p.is_invertible, is_invertible) + + # Set params one at a time, as scalars + p.exog_params = -6.0 + check() + p.ar_params = -5.0 + check() + p.ma_params = -4.0 + check() + p.seasonal_ar_params = -3.0 + check(is_stationary=False) + p.seasonal_ma_params = -2.0 + check(is_stationary=False, is_invertible=False) + p.sigma2 = -1.0 + # Finally, we have a complete set. + assert (p.is_complete) + # But still not valid + assert (not p.is_valid) + + assert_equal(p.params, [-6, -5, -4, -3, -2, -1]) + assert_equal(p.exog_params, [-6]) + assert_equal(p.ar_params, [-5]) + assert_equal(p.ma_params, [-4]) + assert_equal(p.seasonal_ar_params, [-3]) + assert_equal(p.seasonal_ma_params, [-2]) + assert_equal(p.sigma2, -1.0) + + # Lag polynomials + assert_equal(p.ar_poly.coef, [1, 0, 5]) + assert_equal(p.ma_poly.coef, [1, 0, -4]) + assert_equal(p.seasonal_ar_poly.coef, [1, 0, 0, 0, 0, 0, 0, 0, 3]) + assert_equal(p.seasonal_ma_poly.coef, [1, 0, 0, 0, 0, 0, 0, 0, -2]) + # (1 - a L^2) (1 - b L^8) = (1 - a L^2 - b L^8 + a b L^10) + assert_equal(p.reduced_ar_poly.coef, [1, 0, 5, 0, 0, 0, 0, 0, 3, 0, 15]) + # (1 + a L^2) (1 + b L^4) = (1 + a L^2 + b L^8 + a b L^10) + assert_equal(p.reduced_ma_poly.coef, [1, 0, -4, 0, 0, 0, 0, 0, -2, 0, 8]) + + # Override again, now setting params all at once + p.params = [1, 2, 3, 4, 5, 6] + assert_equal(p.params, [1, 2, 3, 4, 5, 6]) + assert_equal(p.exog_params, [1]) + assert_equal(p.ar_params, [2]) + assert_equal(p.ma_params, [3]) + assert_equal(p.seasonal_ar_params, [4]) + assert_equal(p.seasonal_ma_params, [5]) + assert_equal(p.sigma2, 6.0) + + # Lag polynomials + assert_equal(p.ar_poly.coef, np.r_[1, 0, -2]) + assert_equal(p.ma_poly.coef, np.r_[1, 0, 3]) + assert_equal(p.seasonal_ar_poly.coef, [1, 0, 0, 0, 0, 0, 0, 0, -4]) + assert_equal(p.seasonal_ma_poly.coef, [1, 0, 0, 0, 0, 0, 0, 0, 5]) + # (1 - a L^2) (1 - b L^8) = (1 - a L^2 - b L^8 + a b L^10) + assert_equal(p.reduced_ar_poly.coef, [1, 0, -2, 0, 0, 0, 0, 0, -4, 0, 8]) + # (1 + a L^2) (1 + b L^4) = (1 + a L^2 + b L^8 + a b L^10) + assert_equal(p.reduced_ma_poly.coef, [1, 0, 3, 0, 0, 0, 0, 0, 5, 0, 15]) + + +def test_set_params_multiple(): + # Test setting parameters directly (i.e., we test setting the AR/MA + # parameters by setting the lag polynomials elsewhere) + # Here each type has multiple a single parameters + exog = pd.DataFrame([[0, 0]], columns=["a", "b"]) + spec = specification.SARIMAXSpecification( + exog=exog, order=(2, 1, 2), seasonal_order=(2, 1, 2, 4) + ) + p = params.SARIMAXParams(spec=spec) + + p.params = [-1, 2, -3, 4, -5, 6, -7, 8, -9, 10, -11] + assert_equal(p.params, [-1, 2, -3, 4, -5, 6, -7, 8, -9, 10, -11]) + assert_equal(p.exog_params, [-1, 2]) + assert_equal(p.ar_params, [-3, 4]) + assert_equal(p.ma_params, [-5, 6]) + assert_equal(p.seasonal_ar_params, [-7, 8]) + assert_equal(p.seasonal_ma_params, [-9, 10]) + assert_equal(p.sigma2, -11) + + # Lag polynomials + assert_equal(p.ar_poly.coef, np.r_[1, 3, -4]) + assert_equal(p.ma_poly.coef, np.r_[1, -5, 6]) + assert_equal(p.seasonal_ar_poly.coef, np.r_[1, 0, 0, 0, 7, 0, 0, 0, -8]) + assert_equal(p.seasonal_ma_poly.coef, np.r_[1, 0, 0, 0, -9, 0, 0, 0, 10]) + # (1 - a_1 L - a_2 L^2) (1 - b_1 L^4 - b_2 L^8) = + # (1 - b_1 L^4 - b_2 L^8) + + # (-a_1 L + a_1 b_1 L^5 + a_1 b_2 L^9) + + # (-a_2 L^2 + a_2 b_1 L^6 + a_2 b_2 L^10) = + # 1 - a_1 L - a_2 L^2 - b_1 L^4 + a_1 b_1 L^5 + + # a_2 b_1 L^6 - b_2 L^8 + a_1 b_2 L^9 + a_2 b_2 L^10 + assert_equal( + p.reduced_ar_poly.coef, + [1, 3, -4, 0, 7, (-3 * -7), (4 * -7), 0, -8, (-3 * 8), 4 * 8], + ) + # (1 + a_1 L + a_2 L^2) (1 + b_1 L^4 + b_2 L^8) = + # (1 + b_1 L^4 + b_2 L^8) + + # (a_1 L + a_1 b_1 L^5 + a_1 b_2 L^9) + + # (a_2 L^2 + a_2 b_1 L^6 + a_2 b_2 L^10) = + # 1 + a_1 L + a_2 L^2 + b_1 L^4 + a_1 b_1 L^5 + + # a_2 b_1 L^6 + b_2 L^8 + a_1 b_2 L^9 + a_2 b_2 L^10 + assert_equal( + p.reduced_ma_poly.coef, + [1, -5, 6, 0, -9, (-5 * -9), (6 * -9), 0, 10, (-5 * 10), (6 * 10)], + ) + + +def test_set_poly_short_lags(): + # Basic example (short lag orders) + exog = pd.DataFrame([[0, 0]], columns=["a", "b"]) + spec = specification.SARIMAXSpecification( + exog=exog, order=(1, 1, 1), seasonal_order=(1, 1, 1, 4) + ) + p = params.SARIMAXParams(spec=spec) + + # Valid polynomials + p.ar_poly = [1, -0.5] + assert_equal(p.ar_params, [0.5]) + p.ar_poly = np.polynomial.Polynomial([1, -0.55]) + assert_equal(p.ar_params, [0.55]) + p.ma_poly = [1, 0.3] + assert_equal(p.ma_params, [0.3]) + p.ma_poly = np.polynomial.Polynomial([1, 0.35]) + assert_equal(p.ma_params, [0.35]) + + p.seasonal_ar_poly = [1, 0, 0, 0, -0.2] + assert_equal(p.seasonal_ar_params, [0.2]) + p.seasonal_ar_poly = np.polynomial.Polynomial([1, 0, 0, 0, -0.25]) + assert_equal(p.seasonal_ar_params, [0.25]) + p.seasonal_ma_poly = [1, 0, 0, 0, 0.1] + assert_equal(p.seasonal_ma_params, [0.1]) + p.seasonal_ma_poly = np.polynomial.Polynomial([1, 0, 0, 0, 0.15]) + assert_equal(p.seasonal_ma_params, [0.15]) + + # Invalid polynomials + # Must have 1 in the initial position + with pytest.raises(ValueError): + p.__setattr__("ar_poly", [2, -0.5]) + with pytest.raises(ValueError): + p.__setattr__("ma_poly", [2, 0.3]) + with pytest.raises(ValueError): + p.__setattr__("seasonal_ar_poly", [2, 0, 0, 0, -0.2]) + with pytest.raises(ValueError): + p.__setattr__("seasonal_ma_poly", [2, 0, 0, 0, 0.1]) + # Too short + with pytest.raises(ValueError): + p.__setattr__("ar_poly", 1) + with pytest.raises(ValueError): + p.__setattr__("ar_poly", [1]) + with pytest.raises(ValueError): + p.__setattr__("ma_poly", 1) + with pytest.raises(ValueError): + p.__setattr__("ma_poly", [1]) + with pytest.raises(ValueError): + p.__setattr__("seasonal_ar_poly", 1) + with pytest.raises(ValueError): + p.__setattr__("seasonal_ar_poly", [1]) + with pytest.raises(ValueError): + p.__setattr__("seasonal_ar_poly", [1, 0, 0, 0]) + with pytest.raises(ValueError): + p.__setattr__("seasonal_ma_poly", 1) + with pytest.raises(ValueError): + p.__setattr__("seasonal_ma_poly", [1]) + with pytest.raises(ValueError): + p.__setattr__("seasonal_ma_poly", [1, 0, 0, 0]) + # Too long + with pytest.raises(ValueError): + p.__setattr__("ar_poly", [1, -0.5, 0.2]) + with pytest.raises(ValueError): + p.__setattr__("ma_poly", [1, 0.3, 0.2]) + with pytest.raises(ValueError): + p.__setattr__("seasonal_ar_poly", [1, 0, 0, 0, 0.1, 0]) + with pytest.raises(ValueError): + p.__setattr__("seasonal_ma_poly", [1, 0, 0, 0, 0.1, 0]) + # Number in invalid location (only for seasonal polynomials) + with pytest.raises(ValueError): + p.__setattr__("seasonal_ar_poly", [1, 1, 0, 0, 0, -0.2]) + with pytest.raises(ValueError): + p.__setattr__("seasonal_ma_poly", [1, 1, 0, 0, 0, 0.1]) + + +def test_set_poly_short_lags_nonconsecutive(): + # Short but non-consecutive lag orders + exog = pd.DataFrame([[0, 0]], columns=["a", "b"]) + spec = specification.SARIMAXSpecification( + exog=exog, order=([0, 1], 1, [0, 1]), seasonal_order=([0, 1], 1, [0, 1], 4) + ) + p = params.SARIMAXParams(spec=spec) + + # Valid polynomials + p.ar_poly = [1, 0, -0.5] + assert_equal(p.ar_params, [0.5]) + p.ar_poly = np.polynomial.Polynomial([1, 0, -0.55]) + assert_equal(p.ar_params, [0.55]) + p.ma_poly = [1, 0, 0.3] + assert_equal(p.ma_params, [0.3]) + p.ma_poly = np.polynomial.Polynomial([1, 0, 0.35]) + assert_equal(p.ma_params, [0.35]) + + p.seasonal_ar_poly = [1, 0, 0, 0, 0, 0, 0, 0, -0.2] + assert_equal(p.seasonal_ar_params, [0.2]) + p.seasonal_ar_poly = np.polynomial.Polynomial([1, 0, 0, 0, 0, 0, 0, 0, -0.25]) + assert_equal(p.seasonal_ar_params, [0.25]) + p.seasonal_ma_poly = [1, 0, 0, 0, 0, 0, 0, 0, 0.1] + assert_equal(p.seasonal_ma_params, [0.1]) + p.seasonal_ma_poly = np.polynomial.Polynomial([1, 0, 0, 0, 0, 0, 0, 0, 0.15]) + assert_equal(p.seasonal_ma_params, [0.15]) + + # Invalid polynomials + # Number in invalid (i.e., an excluded lag) location + # (now also for non-seasonal polynomials) + with pytest.raises(ValueError): + p.__setattr__("ar_poly", [1, 1, -0.5]) + with pytest.raises(ValueError): + p.__setattr__("ma_poly", [1, 1, 0.3]) + with pytest.raises(ValueError): + p.__setattr__("seasonal_ar_poly", [1, 0, 0, 0, 1.0, 0, 0, 0, -0.2]) + with pytest.raises(ValueError): + p.__setattr__("seasonal_ma_poly", [1, 0, 0, 0, 1.0, 0, 0, 0, 0.1]) + + +def test_set_poly_longer_lags(): + # Test with higher order polynomials + exog = pd.DataFrame([[0, 0]], columns=["a", "b"]) + spec = specification.SARIMAXSpecification( + exog=exog, order=(2, 1, 2), seasonal_order=(2, 1, 2, 4) + ) + p = params.SARIMAXParams(spec=spec) + + # Setup the non-AR/MA values + p.exog_params = [-1, 2] + p.sigma2 = -11 + + # Lag polynomials + p.ar_poly = np.r_[1, 3, -4] + p.ma_poly = np.r_[1, -5, 6] + p.seasonal_ar_poly = np.r_[1, 0, 0, 0, 7, 0, 0, 0, -8] + p.seasonal_ma_poly = np.r_[1, 0, 0, 0, -9, 0, 0, 0, 10] + + # Test that parameters were set correctly + assert_equal(p.params, [-1, 2, -3, 4, -5, 6, -7, 8, -9, 10, -11]) + assert_equal(p.exog_params, [-1, 2]) + assert_equal(p.ar_params, [-3, 4]) + assert_equal(p.ma_params, [-5, 6]) + assert_equal(p.seasonal_ar_params, [-7, 8]) + assert_equal(p.seasonal_ma_params, [-9, 10]) + assert_equal(p.sigma2, -11) + + +def test_is_stationary(): + # Tests for the `is_stationary` property + spec = specification.SARIMAXSpecification( + order=(1, 1, 1), seasonal_order=(1, 1, 1, 4) + ) + p = params.SARIMAXParams(spec=spec) + + # Test stationarity + with pytest.raises(ValueError): + p.__getattribute__("is_stationary") + p.ar_params = [0.5] + p.seasonal_ar_params = [0] + assert (p.is_stationary) + p.ar_params = [1.0] + assert (not p.is_stationary) + + p.ar_params = [0] + p.seasonal_ar_params = [0.5] + assert (p.is_stationary) + p.seasonal_ar_params = [1.0] + assert (not p.is_stationary) + + p.ar_params = [0.2] + p.seasonal_ar_params = [0.2] + assert (p.is_stationary) + p.ar_params = [0.99] + p.seasonal_ar_params = [0.99] + assert (p.is_stationary) + p.ar_params = [1.0] + p.seasonal_ar_params = [1.0] + assert (not p.is_stationary) + + +def test_is_invertible(): + # Tests for the `is_invertible` property + spec = specification.SARIMAXSpecification( + order=(1, 1, 1), seasonal_order=(1, 1, 1, 4) + ) + p = params.SARIMAXParams(spec=spec) + + # Test invertibility + with pytest.raises(ValueError): + p.__getattribute__("is_invertible") + p.ma_params = [0.5] + p.seasonal_ma_params = [0] + assert (p.is_invertible) + p.ma_params = [1.0] + assert (not p.is_invertible) + + p.ma_params = [0] + p.seasonal_ma_params = [0.5] + assert (p.is_invertible) + p.seasonal_ma_params = [1.0] + assert (not p.is_invertible) + + p.ma_params = [0.2] + p.seasonal_ma_params = [0.2] + assert (p.is_invertible) + p.ma_params = [0.99] + p.seasonal_ma_params = [0.99] + assert (p.is_invertible) + p.ma_params = [1.0] + p.seasonal_ma_params = [1.0] + assert (not p.is_invertible) + + +def test_is_valid(): + # Additional tests for the `is_valid` property (tests for NaN checks were + # already done in `test_set_params_single`). + spec = specification.SARIMAXSpecification( + order=(1, 1, 1), + seasonal_order=(1, 1, 1, 4), + enforce_stationarity=True, + enforce_invertibility=True, + ) + p = params.SARIMAXParams(spec=spec) + + # Doesn't start out as valid + assert (not p.is_valid) + # Given stationary / invertible values, it is valid + p.params = [0.5, 0.5, 0.5, 0.5, 1.0] + assert (p.is_valid) + # With either non-stationary or non-invertible values, not valid + p.params = [1.0, 0.5, 0.5, 0.5, 1.0] + assert (not p.is_valid) + p.params = [0.5, 1.0, 0.5, 0.5, 1.0] + assert (not p.is_valid) + p.params = [0.5, 0.5, 1.0, 0.5, 1.0] + assert (not p.is_valid) + p.params = [0.5, 0.5, 0.5, 1.0, 1.0] + assert (not p.is_valid) + + +def test_repr_str(): + exog = pd.DataFrame([[0, 0]], columns=["a", "b"]) + spec = specification.SARIMAXSpecification( + exog=exog, order=(1, 1, 1), seasonal_order=(1, 1, 1, 4) + ) + p = params.SARIMAXParams(spec=spec) + + # Check when we haven't given any parameters + assert_equal( + repr(p), + "SARIMAXParams(exog=[nan nan], ar=[nan], ma=[nan]," + " seasonal_ar=[nan], seasonal_ma=[nan], sigma2=nan)", + ) + # assert_equal(str(p), '[nan nan nan nan nan nan nan]') + + p.exog_params = [1, 2] + assert_equal( + repr(p), + "SARIMAXParams(exog=[1. 2.], ar=[nan], ma=[nan]," + " seasonal_ar=[nan], seasonal_ma=[nan], sigma2=nan)", + ) + # assert_equal(str(p), '[ 1. 2. nan nan nan nan nan]') + + p.ar_params = [0.5] + assert_equal( + repr(p), + "SARIMAXParams(exog=[1. 2.], ar=[0.5], ma=[nan]," + " seasonal_ar=[nan], seasonal_ma=[nan], sigma2=nan)", + ) + # assert_equal(str(p), '[1. 2. 0.5 nan nan nan nan]') + + p.ma_params = [0.2] + assert_equal( + repr(p), + "SARIMAXParams(exog=[1. 2.], ar=[0.5], ma=[0.2]," + " seasonal_ar=[nan], seasonal_ma=[nan], sigma2=nan)", + ) + # assert_equal(str(p), '[1. 2. 0.5 0.2 nan nan nan]') + + p.seasonal_ar_params = [0.001] + assert_equal( + repr(p), + "SARIMAXParams(exog=[1. 2.], ar=[0.5], ma=[0.2]," + " seasonal_ar=[0.001], seasonal_ma=[nan]," + " sigma2=nan)", + ) + # assert_equal(str(p), + # '[1.e+00 2.e+00 5.e-01 2.e-01 1.e-03 nan nan]') + + p.seasonal_ma_params = [-0.001] + assert_equal( + repr(p), + "SARIMAXParams(exog=[1. 2.], ar=[0.5], ma=[0.2]," + " seasonal_ar=[0.001], seasonal_ma=[-0.001]," + " sigma2=nan)", + ) + # assert_equal(str(p), '[ 1.e+00 2.e+00 5.e-01 2.e-01 1.e-03' + # ' -1.e-03 nan]') + + p.sigma2 = 10.123 + assert_equal( + repr(p), + "SARIMAXParams(exog=[1. 2.], ar=[0.5], ma=[0.2]," + " seasonal_ar=[0.001], seasonal_ma=[-0.001]," + " sigma2=10.123)", + ) + # assert_equal(str(p), '[ 1.0000e+00 2.0000e+00 5.0000e-01 2.0000e-01' + # ' 1.0000e-03 -1.0000e-03\n 1.0123e+01]') diff --git a/shared/package-files/70/705c2f7b8b7d5e557bf44a7cf4e8472e87572402c57e5ea3ce1c2bcd73d00c77/is_coalesced_native.h b/shared/package-files/70/705c2f7b8b7d5e557bf44a7cf4e8472e87572402c57e5ea3ce1c2bcd73d00c77/is_coalesced_native.h new file mode 100644 index 0000000000000000000000000000000000000000..4698de0b1d4da3a745a6a1bfc1d11d93da8b7a42 --- /dev/null +++ b/shared/package-files/70/705c2f7b8b7d5e557bf44a7cf4e8472e87572402c57e5ea3ce1c2bcd73d00c77/is_coalesced_native.h @@ -0,0 +1,22 @@ +#pragma once + +// @generated by torchgen/gen.py from NativeFunction.h + +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include + + +namespace at { +namespace native { +TORCH_API bool is_coalesced_default(const at::Tensor & self); +TORCH_API bool is_coalesced_sparse(const at::Tensor & self); +} // namespace native +} // namespace at diff --git a/shared/package-files/70/705e752930e676cc74e8cac87387d72add17f5f22c560c39ba14fc09a9956bc5/test_types.py b/shared/package-files/70/705e752930e676cc74e8cac87387d72add17f5f22c560c39ba14fc09a9956bc5/test_types.py new file mode 100644 index 0000000000000000000000000000000000000000..bd97b180029ae05d7f3b22f1048f9adcb769f36f --- /dev/null +++ b/shared/package-files/70/705e752930e676cc74e8cac87387d72add17f5f22c560c39ba14fc09a9956bc5/test_types.py @@ -0,0 +1,221 @@ +""" +Tests for the `TypeChecker`-based type interface. + +The actual correctness of the type checking is handled in +`test_jsonschema_test_suite`; these tests check that TypeChecker +functions correctly at a more granular level. +""" +from collections import namedtuple +from unittest import TestCase + +from jsonschema import ValidationError, _keywords +from jsonschema._types import TypeChecker +from jsonschema.exceptions import UndefinedTypeCheck, UnknownType +from jsonschema.validators import Draft202012Validator, extend + + +def equals_2(checker, instance): + return instance == 2 + + +def is_namedtuple(instance): + return isinstance(instance, tuple) and getattr(instance, "_fields", None) + + +def is_object_or_named_tuple(checker, instance): + if Draft202012Validator.TYPE_CHECKER.is_type(instance, "object"): + return True + return is_namedtuple(instance) + + +class TestTypeChecker(TestCase): + def test_is_type(self): + checker = TypeChecker({"two": equals_2}) + self.assertEqual( + ( + checker.is_type(instance=2, type="two"), + checker.is_type(instance="bar", type="two"), + ), + (True, False), + ) + + def test_is_unknown_type(self): + with self.assertRaises(UndefinedTypeCheck) as e: + TypeChecker().is_type(4, "foobar") + self.assertIn( + "'foobar' is unknown to this type checker", + str(e.exception), + ) + self.assertTrue( + e.exception.__suppress_context__, + msg="Expected the internal KeyError to be hidden.", + ) + + def test_checks_can_be_added_at_init(self): + checker = TypeChecker({"two": equals_2}) + self.assertEqual(checker, TypeChecker().redefine("two", equals_2)) + + def test_redefine_existing_type(self): + self.assertEqual( + TypeChecker().redefine("two", object()).redefine("two", equals_2), + TypeChecker().redefine("two", equals_2), + ) + + def test_remove(self): + self.assertEqual( + TypeChecker({"two": equals_2}).remove("two"), + TypeChecker(), + ) + + def test_remove_unknown_type(self): + with self.assertRaises(UndefinedTypeCheck) as context: + TypeChecker().remove("foobar") + self.assertIn("foobar", str(context.exception)) + + def test_redefine_many(self): + self.assertEqual( + TypeChecker().redefine_many({"foo": int, "bar": str}), + TypeChecker().redefine("foo", int).redefine("bar", str), + ) + + def test_remove_multiple(self): + self.assertEqual( + TypeChecker({"foo": int, "bar": str}).remove("foo", "bar"), + TypeChecker(), + ) + + def test_type_check_can_raise_key_error(self): + """ + Make sure no one writes: + + try: + self._type_checkers[type](...) + except KeyError: + + ignoring the fact that the function itself can raise that. + """ + + error = KeyError("Stuff") + + def raises_keyerror(checker, instance): + raise error + + with self.assertRaises(KeyError) as context: + TypeChecker({"foo": raises_keyerror}).is_type(4, "foo") + + self.assertIs(context.exception, error) + + def test_repr(self): + checker = TypeChecker({"foo": is_namedtuple, "bar": is_namedtuple}) + self.assertEqual(repr(checker), "") + + +class TestCustomTypes(TestCase): + def test_simple_type_can_be_extended(self): + def int_or_str_int(checker, instance): + if not isinstance(instance, (int, str)): + return False + try: + int(instance) + except ValueError: + return False + return True + + CustomValidator = extend( + Draft202012Validator, + type_checker=Draft202012Validator.TYPE_CHECKER.redefine( + "integer", int_or_str_int, + ), + ) + validator = CustomValidator({"type": "integer"}) + + validator.validate(4) + validator.validate("4") + + with self.assertRaises(ValidationError): + validator.validate(4.4) + + with self.assertRaises(ValidationError): + validator.validate("foo") + + def test_object_can_be_extended(self): + schema = {"type": "object"} + + Point = namedtuple("Point", ["x", "y"]) + + type_checker = Draft202012Validator.TYPE_CHECKER.redefine( + "object", is_object_or_named_tuple, + ) + + CustomValidator = extend( + Draft202012Validator, + type_checker=type_checker, + ) + validator = CustomValidator(schema) + + validator.validate(Point(x=4, y=5)) + + def test_object_extensions_require_custom_validators(self): + schema = {"type": "object", "required": ["x"]} + + type_checker = Draft202012Validator.TYPE_CHECKER.redefine( + "object", is_object_or_named_tuple, + ) + + CustomValidator = extend( + Draft202012Validator, + type_checker=type_checker, + ) + validator = CustomValidator(schema) + + Point = namedtuple("Point", ["x", "y"]) + # Cannot handle required + with self.assertRaises(ValidationError): + validator.validate(Point(x=4, y=5)) + + def test_object_extensions_can_handle_custom_validators(self): + schema = { + "type": "object", + "required": ["x"], + "properties": {"x": {"type": "integer"}}, + } + + type_checker = Draft202012Validator.TYPE_CHECKER.redefine( + "object", is_object_or_named_tuple, + ) + + def coerce_named_tuple(fn): + def coerced(validator, value, instance, schema): + if is_namedtuple(instance): + instance = instance._asdict() + return fn(validator, value, instance, schema) + return coerced + + required = coerce_named_tuple(_keywords.required) + properties = coerce_named_tuple(_keywords.properties) + + CustomValidator = extend( + Draft202012Validator, + type_checker=type_checker, + validators={"required": required, "properties": properties}, + ) + + validator = CustomValidator(schema) + + Point = namedtuple("Point", ["x", "y"]) + # Can now process required and properties + validator.validate(Point(x=4, y=5)) + + with self.assertRaises(ValidationError): + validator.validate(Point(x="not an integer", y=5)) + + # As well as still handle objects. + validator.validate({"x": 4, "y": 5}) + + with self.assertRaises(ValidationError): + validator.validate({"x": "not an integer", "y": 5}) + + def test_unknown_type(self): + with self.assertRaises(UnknownType) as e: + Draft202012Validator({}).is_type(12, "some unknown type") + self.assertIn("'some unknown type'", str(e.exception)) diff --git a/shared/package-files/70/705eeeec063d86ecd40889176a0c2700b0230e80c645840377496e96609ad404/hardtanh_backward_cuda_dispatch.h b/shared/package-files/70/705eeeec063d86ecd40889176a0c2700b0230e80c645840377496e96609ad404/hardtanh_backward_cuda_dispatch.h new file mode 100644 index 0000000000000000000000000000000000000000..c17b850d85b8b28e488a54b8875aeaeac8e15023 --- /dev/null +++ b/shared/package-files/70/705eeeec063d86ecd40889176a0c2700b0230e80c645840377496e96609ad404/hardtanh_backward_cuda_dispatch.h @@ -0,0 +1,25 @@ +#pragma once +// @generated by torchgen/gen.py from DispatchKeyFunction.h + +// NB: The implementing C++ file is RegisterDispatchKey.cpp + +// The only #includes we need are for custom classes that have defaults in the C++ API +#include +#include +#include + +// Forward declarations of any types needed in the operator signatures. +// We can't directly include these classes because it will cause circular include dependencies. +// This file is included by TensorBody.h, which defines the Tensor class. +#include + +namespace at { + +namespace cuda { + +TORCH_API at::Tensor hardtanh_backward(const at::Tensor & grad_output, const at::Tensor & self, const at::Scalar & min_val, const at::Scalar & max_val); +TORCH_API at::Tensor & hardtanh_backward_out(at::Tensor & grad_input, const at::Tensor & grad_output, const at::Tensor & self, const at::Scalar & min_val, const at::Scalar & max_val); +TORCH_API at::Tensor & hardtanh_backward_outf(const at::Tensor & grad_output, const at::Tensor & self, const at::Scalar & min_val, const at::Scalar & max_val, at::Tensor & grad_input); + +} // namespace cuda +} // namespace at diff --git a/shared/package-files/70/7060c4effeda316f9b990e745109cf77116599c9aed7d37616f71d494ea863e5/lerp_cpu_dispatch.h b/shared/package-files/70/7060c4effeda316f9b990e745109cf77116599c9aed7d37616f71d494ea863e5/lerp_cpu_dispatch.h new file mode 100644 index 0000000000000000000000000000000000000000..309e0224b5f46cd2ea57d6591ad8fee0d8a3b620 --- /dev/null +++ b/shared/package-files/70/7060c4effeda316f9b990e745109cf77116599c9aed7d37616f71d494ea863e5/lerp_cpu_dispatch.h @@ -0,0 +1,30 @@ +#pragma once +// @generated by torchgen/gen.py from DispatchKeyFunction.h + +// NB: The implementing C++ file is RegisterDispatchKey.cpp + +// The only #includes we need are for custom classes that have defaults in the C++ API +#include +#include +#include + +// Forward declarations of any types needed in the operator signatures. +// We can't directly include these classes because it will cause circular include dependencies. +// This file is included by TensorBody.h, which defines the Tensor class. +#include + +namespace at { + +namespace cpu { + +TORCH_API at::Tensor lerp(const at::Tensor & self, const at::Tensor & end, const at::Scalar & weight); +TORCH_API at::Tensor & lerp_out(at::Tensor & out, const at::Tensor & self, const at::Tensor & end, const at::Scalar & weight); +TORCH_API at::Tensor & lerp_outf(const at::Tensor & self, const at::Tensor & end, const at::Scalar & weight, at::Tensor & out); +TORCH_API at::Tensor & lerp_(at::Tensor & self, const at::Tensor & end, const at::Scalar & weight); +TORCH_API at::Tensor lerp(const at::Tensor & self, const at::Tensor & end, const at::Tensor & weight); +TORCH_API at::Tensor & lerp_out(at::Tensor & out, const at::Tensor & self, const at::Tensor & end, const at::Tensor & weight); +TORCH_API at::Tensor & lerp_outf(const at::Tensor & self, const at::Tensor & end, const at::Tensor & weight, at::Tensor & out); +TORCH_API at::Tensor & lerp_(at::Tensor & self, const at::Tensor & end, const at::Tensor & weight); + +} // namespace cpu +} // namespace at diff --git a/shared/package-files/70/706415480e5d02cedc690f6ccf8925958bda2386691a2ab55a10a06889973520/index.py b/shared/package-files/70/706415480e5d02cedc690f6ccf8925958bda2386691a2ab55a10a06889973520/index.py new file mode 100644 index 0000000000000000000000000000000000000000..7267effed2413ba315d0a1af8490ec677c227662 --- /dev/null +++ b/shared/package-files/70/706415480e5d02cedc690f6ccf8925958bda2386691a2ab55a10a06889973520/index.py @@ -0,0 +1,139 @@ +import logging +from optparse import Values +from typing import Any, Iterable, List, Optional, Union + +from pip._vendor.packaging.version import LegacyVersion, Version + +from pip._internal.cli import cmdoptions +from pip._internal.cli.req_command import IndexGroupCommand +from pip._internal.cli.status_codes import ERROR, SUCCESS +from pip._internal.commands.search import print_dist_installation_info +from pip._internal.exceptions import CommandError, DistributionNotFound, PipError +from pip._internal.index.collector import LinkCollector +from pip._internal.index.package_finder import PackageFinder +from pip._internal.models.selection_prefs import SelectionPreferences +from pip._internal.models.target_python import TargetPython +from pip._internal.network.session import PipSession +from pip._internal.utils.misc import write_output + +logger = logging.getLogger(__name__) + + +class IndexCommand(IndexGroupCommand): + """ + Inspect information available from package indexes. + """ + + ignore_require_venv = True + usage = """ + %prog versions + """ + + def add_options(self) -> None: + cmdoptions.add_target_python_options(self.cmd_opts) + + self.cmd_opts.add_option(cmdoptions.ignore_requires_python()) + self.cmd_opts.add_option(cmdoptions.pre()) + self.cmd_opts.add_option(cmdoptions.no_binary()) + self.cmd_opts.add_option(cmdoptions.only_binary()) + + index_opts = cmdoptions.make_option_group( + cmdoptions.index_group, + self.parser, + ) + + self.parser.insert_option_group(0, index_opts) + self.parser.insert_option_group(0, self.cmd_opts) + + def run(self, options: Values, args: List[str]) -> int: + handlers = { + "versions": self.get_available_package_versions, + } + + logger.warning( + "pip index is currently an experimental command. " + "It may be removed/changed in a future release " + "without prior warning." + ) + + # Determine action + if not args or args[0] not in handlers: + logger.error( + "Need an action (%s) to perform.", + ", ".join(sorted(handlers)), + ) + return ERROR + + action = args[0] + + # Error handling happens here, not in the action-handlers. + try: + handlers[action](options, args[1:]) + except PipError as e: + logger.error(e.args[0]) + return ERROR + + return SUCCESS + + def _build_package_finder( + self, + options: Values, + session: PipSession, + target_python: Optional[TargetPython] = None, + ignore_requires_python: Optional[bool] = None, + ) -> PackageFinder: + """ + Create a package finder appropriate to the index command. + """ + link_collector = LinkCollector.create(session, options=options) + + # Pass allow_yanked=False to ignore yanked versions. + selection_prefs = SelectionPreferences( + allow_yanked=False, + allow_all_prereleases=options.pre, + ignore_requires_python=ignore_requires_python, + ) + + return PackageFinder.create( + link_collector=link_collector, + selection_prefs=selection_prefs, + target_python=target_python, + ) + + def get_available_package_versions(self, options: Values, args: List[Any]) -> None: + if len(args) != 1: + raise CommandError("You need to specify exactly one argument") + + target_python = cmdoptions.make_target_python(options) + query = args[0] + + with self._build_session(options) as session: + finder = self._build_package_finder( + options=options, + session=session, + target_python=target_python, + ignore_requires_python=options.ignore_requires_python, + ) + + versions: Iterable[Union[LegacyVersion, Version]] = ( + candidate.version for candidate in finder.find_all_candidates(query) + ) + + if not options.pre: + # Remove prereleases + versions = ( + version for version in versions if not version.is_prerelease + ) + versions = set(versions) + + if not versions: + raise DistributionNotFound( + "No matching distribution found for {}".format(query) + ) + + formatted_versions = [str(ver) for ver in sorted(versions, reverse=True)] + latest = formatted_versions[0] + + write_output("{} ({})".format(query, latest)) + write_output("Available versions: {}".format(", ".join(formatted_versions))) + print_dist_installation_info(query, latest) diff --git a/shared/package-files/70/7065b912c4f776cfb39220fdade039c4166db286da60452f4a1c29ea592d4ffd/onnxrt.py b/shared/package-files/70/7065b912c4f776cfb39220fdade039c4166db286da60452f4a1c29ea592d4ffd/onnxrt.py new file mode 100644 index 0000000000000000000000000000000000000000..cfaa053b4cb10227b1253d249cbcb70a6aa1dd0e --- /dev/null +++ b/shared/package-files/70/7065b912c4f776cfb39220fdade039c4166db286da60452f4a1c29ea592d4ffd/onnxrt.py @@ -0,0 +1,37 @@ +# mypy: ignore-errors + +# This backend is maintained by ONNX team. To direct issues +# to the right people, please tag related GitHub issues with `module: onnx`. +# +# Maintainers' Github IDs: wschin, thiagocrepaldi, BowenBao, abock +from torch.onnx._internal.onnxruntime import ( + is_onnxrt_backend_supported, + torch_compile_backend, +) +from .registry import register_backend + + +def has_onnxruntime(): + # FIXME(abock): update test/dynamo/test_backends.py to call is_onnxrt_backend_supported() + return is_onnxrt_backend_supported() + + +if is_onnxrt_backend_supported(): + register_backend(name="onnxrt", compiler_fn=torch_compile_backend) +else: + + def information_displaying_backend(*args, **kwargs): + raise ImportError( + "onnxrt is not registered as a backend. " + "Please make sure all dependencies such as " + "numpy, onnx, onnxscript, and onnxruntime-training are installed. " + "Suggested procedure to fix dependency problem:\n" + " (1) pip or conda install numpy onnx onnxscript onnxruntime-training.\n" + " (2) Open a new python terminal.\n" + " (3) Call the API `torch.onnx.is_onnxrt_backend_supported()`:\n" + " (4) If it returns `True`, then you can use `onnxrt` backend.\n" + " (5) If it returns `False`, please execute the package importing section in " + "torch/onnx/_internal/onnxruntime.py under pdb line-by-line to see which import fails." + ) + + register_backend(name="onnxrt", compiler_fn=information_displaying_backend) diff --git a/shared/package-files/70/70669f4eabcfbe04cbad9a035d696d01f27ca7f793bc0d712a03ec3c9c76671b/multioutput.py b/shared/package-files/70/70669f4eabcfbe04cbad9a035d696d01f27ca7f793bc0d712a03ec3c9c76671b/multioutput.py new file mode 100644 index 0000000000000000000000000000000000000000..08b0c95c945586490ffa39e6b01c94515248cfb8 --- /dev/null +++ b/shared/package-files/70/70669f4eabcfbe04cbad9a035d696d01f27ca7f793bc0d712a03ec3c9c76671b/multioutput.py @@ -0,0 +1,1328 @@ +"""Multioutput regression and classification. + +The estimators provided in this module are meta-estimators: they require +a base estimator to be provided in their constructor. The meta-estimator +extends single output estimators to multioutput estimators. +""" + +# Authors: The scikit-learn developers +# SPDX-License-Identifier: BSD-3-Clause + +import warnings +from abc import ABCMeta, abstractmethod +from numbers import Integral + +import numpy as np +import scipy.sparse as sp + +from .base import ( + BaseEstimator, + ClassifierMixin, + MetaEstimatorMixin, + RegressorMixin, + _fit_context, + clone, + is_classifier, +) +from .model_selection import cross_val_predict +from .utils import Bunch, check_random_state, get_tags +from .utils._param_validation import ( + HasMethods, + Hidden, + StrOptions, +) +from .utils._response import _get_response_values +from .utils._user_interface import _print_elapsed_time +from .utils.metadata_routing import ( + MetadataRouter, + MethodMapping, + _raise_for_params, + _routing_enabled, + process_routing, +) +from .utils.metaestimators import available_if +from .utils.multiclass import check_classification_targets +from .utils.parallel import Parallel, delayed +from .utils.validation import ( + _check_method_params, + _check_response_method, + check_is_fitted, + has_fit_parameter, + validate_data, +) + +__all__ = [ + "ClassifierChain", + "MultiOutputClassifier", + "MultiOutputRegressor", + "RegressorChain", +] + + +def _fit_estimator(estimator, X, y, sample_weight=None, **fit_params): + estimator = clone(estimator) + if sample_weight is not None: + estimator.fit(X, y, sample_weight=sample_weight, **fit_params) + else: + estimator.fit(X, y, **fit_params) + return estimator + + +def _partial_fit_estimator( + estimator, X, y, classes=None, partial_fit_params=None, first_time=True +): + partial_fit_params = {} if partial_fit_params is None else partial_fit_params + if first_time: + estimator = clone(estimator) + + if classes is not None: + estimator.partial_fit(X, y, classes=classes, **partial_fit_params) + else: + estimator.partial_fit(X, y, **partial_fit_params) + return estimator + + +def _available_if_estimator_has(attr): + """Return a function to check if the sub-estimator(s) has(have) `attr`. + + Helper for Chain implementations. + """ + + def _check(self): + if hasattr(self, "estimators_"): + return all(hasattr(est, attr) for est in self.estimators_) + + if hasattr(self.estimator, attr): + return True + + return False + + return available_if(_check) + + +class _MultiOutputEstimator(MetaEstimatorMixin, BaseEstimator, metaclass=ABCMeta): + _parameter_constraints: dict = { + "estimator": [HasMethods(["fit", "predict"])], + "n_jobs": [Integral, None], + } + + @abstractmethod + def __init__(self, estimator, *, n_jobs=None): + self.estimator = estimator + self.n_jobs = n_jobs + + @_available_if_estimator_has("partial_fit") + @_fit_context( + # MultiOutput*.estimator is not validated yet + prefer_skip_nested_validation=False + ) + def partial_fit(self, X, y, classes=None, sample_weight=None, **partial_fit_params): + """Incrementally fit a separate model for each class output. + + Parameters + ---------- + X : {array-like, sparse matrix} of shape (n_samples, n_features) + The input data. + + y : {array-like, sparse matrix} of shape (n_samples, n_outputs) + Multi-output targets. + + classes : list of ndarray of shape (n_outputs,), default=None + Each array is unique classes for one output in str/int. + Can be obtained via + ``[np.unique(y[:, i]) for i in range(y.shape[1])]``, where `y` + is the target matrix of the entire dataset. + This argument is required for the first call to partial_fit + and can be omitted in the subsequent calls. + Note that `y` doesn't need to contain all labels in `classes`. + + sample_weight : array-like of shape (n_samples,), default=None + Sample weights. If `None`, then samples are equally weighted. + Only supported if the underlying regressor supports sample + weights. + + **partial_fit_params : dict of str -> object + Parameters passed to the ``estimator.partial_fit`` method of each + sub-estimator. + + Only available if `enable_metadata_routing=True`. See the + :ref:`User Guide `. + + .. versionadded:: 1.3 + + Returns + ------- + self : object + Returns a fitted instance. + """ + _raise_for_params(partial_fit_params, self, "partial_fit") + + first_time = not hasattr(self, "estimators_") + + y = validate_data(self, X="no_validation", y=y, multi_output=True) + + if y.ndim == 1: + raise ValueError( + "y must have at least two dimensions for " + "multi-output regression but has only one." + ) + + if _routing_enabled(): + if sample_weight is not None: + partial_fit_params["sample_weight"] = sample_weight + routed_params = process_routing( + self, + "partial_fit", + **partial_fit_params, + ) + else: + if sample_weight is not None and not has_fit_parameter( + self.estimator, "sample_weight" + ): + raise ValueError( + "Underlying estimator does not support sample weights." + ) + + if sample_weight is not None: + routed_params = Bunch( + estimator=Bunch(partial_fit=Bunch(sample_weight=sample_weight)) + ) + else: + routed_params = Bunch(estimator=Bunch(partial_fit=Bunch())) + + self.estimators_ = Parallel(n_jobs=self.n_jobs)( + delayed(_partial_fit_estimator)( + self.estimators_[i] if not first_time else self.estimator, + X, + y[:, i], + classes[i] if classes is not None else None, + partial_fit_params=routed_params.estimator.partial_fit, + first_time=first_time, + ) + for i in range(y.shape[1]) + ) + + if first_time and hasattr(self.estimators_[0], "n_features_in_"): + self.n_features_in_ = self.estimators_[0].n_features_in_ + if first_time and hasattr(self.estimators_[0], "feature_names_in_"): + self.feature_names_in_ = self.estimators_[0].feature_names_in_ + + return self + + @_fit_context( + # MultiOutput*.estimator is not validated yet + prefer_skip_nested_validation=False + ) + def fit(self, X, y, sample_weight=None, **fit_params): + """Fit the model to data, separately for each output variable. + + Parameters + ---------- + X : {array-like, sparse matrix} of shape (n_samples, n_features) + The input data. + + y : {array-like, sparse matrix} of shape (n_samples, n_outputs) + Multi-output targets. An indicator matrix turns on multilabel + estimation. + + sample_weight : array-like of shape (n_samples,), default=None + Sample weights. If `None`, then samples are equally weighted. + Only supported if the underlying regressor supports sample + weights. + + **fit_params : dict of string -> object + Parameters passed to the ``estimator.fit`` method of each step. + + .. versionadded:: 0.23 + + Returns + ------- + self : object + Returns a fitted instance. + """ + if not hasattr(self.estimator, "fit"): + raise ValueError("The base estimator should implement a fit method") + + y = validate_data(self, X="no_validation", y=y, multi_output=True) + + if is_classifier(self): + check_classification_targets(y) + + if y.ndim == 1: + raise ValueError( + "y must have at least two dimensions for " + "multi-output regression but has only one." + ) + + if _routing_enabled(): + if sample_weight is not None: + fit_params["sample_weight"] = sample_weight + routed_params = process_routing( + self, + "fit", + **fit_params, + ) + else: + if sample_weight is not None and not has_fit_parameter( + self.estimator, "sample_weight" + ): + raise ValueError( + "Underlying estimator does not support sample weights." + ) + + fit_params_validated = _check_method_params(X, params=fit_params) + routed_params = Bunch(estimator=Bunch(fit=fit_params_validated)) + if sample_weight is not None: + routed_params.estimator.fit["sample_weight"] = sample_weight + + self.estimators_ = Parallel(n_jobs=self.n_jobs)( + delayed(_fit_estimator)( + self.estimator, X, y[:, i], **routed_params.estimator.fit + ) + for i in range(y.shape[1]) + ) + + if hasattr(self.estimators_[0], "n_features_in_"): + self.n_features_in_ = self.estimators_[0].n_features_in_ + if hasattr(self.estimators_[0], "feature_names_in_"): + self.feature_names_in_ = self.estimators_[0].feature_names_in_ + + return self + + def predict(self, X): + """Predict multi-output variable using model for each target variable. + + Parameters + ---------- + X : {array-like, sparse matrix} of shape (n_samples, n_features) + The input data. + + Returns + ------- + y : {array-like, sparse matrix} of shape (n_samples, n_outputs) + Multi-output targets predicted across multiple predictors. + Note: Separate models are generated for each predictor. + """ + check_is_fitted(self) + if not hasattr(self.estimators_[0], "predict"): + raise ValueError("The base estimator should implement a predict method") + + y = Parallel(n_jobs=self.n_jobs)( + delayed(e.predict)(X) for e in self.estimators_ + ) + + return np.asarray(y).T + + def __sklearn_tags__(self): + tags = super().__sklearn_tags__() + tags.input_tags.sparse = get_tags(self.estimator).input_tags.sparse + tags.target_tags.single_output = False + tags.target_tags.multi_output = True + return tags + + def get_metadata_routing(self): + """Get metadata routing of this object. + + Please check :ref:`User Guide ` on how the routing + mechanism works. + + .. versionadded:: 1.3 + + Returns + ------- + routing : MetadataRouter + A :class:`~sklearn.utils.metadata_routing.MetadataRouter` encapsulating + routing information. + """ + router = MetadataRouter(owner=self.__class__.__name__).add( + estimator=self.estimator, + method_mapping=MethodMapping() + .add(caller="partial_fit", callee="partial_fit") + .add(caller="fit", callee="fit"), + ) + return router + + +class MultiOutputRegressor(RegressorMixin, _MultiOutputEstimator): + """Multi target regression. + + This strategy consists of fitting one regressor per target. This is a + simple strategy for extending regressors that do not natively support + multi-target regression. + + .. versionadded:: 0.18 + + Parameters + ---------- + estimator : estimator object + An estimator object implementing :term:`fit` and :term:`predict`. + + n_jobs : int or None, optional (default=None) + The number of jobs to run in parallel. + :meth:`fit`, :meth:`predict` and :meth:`partial_fit` (if supported + by the passed estimator) will be parallelized for each target. + + When individual estimators are fast to train or predict, + using ``n_jobs > 1`` can result in slower performance due + to the parallelism overhead. + + ``None`` means `1` unless in a :obj:`joblib.parallel_backend` context. + ``-1`` means using all available processes / threads. + See :term:`Glossary ` for more details. + + .. versionchanged:: 0.20 + `n_jobs` default changed from `1` to `None`. + + Attributes + ---------- + estimators_ : list of ``n_output`` estimators + Estimators used for predictions. + + n_features_in_ : int + Number of features seen during :term:`fit`. Only defined if the + underlying `estimator` exposes such an attribute when fit. + + .. versionadded:: 0.24 + + feature_names_in_ : ndarray of shape (`n_features_in_`,) + Names of features seen during :term:`fit`. Only defined if the + underlying estimators expose such an attribute when fit. + + .. versionadded:: 1.0 + + See Also + -------- + RegressorChain : A multi-label model that arranges regressions into a + chain. + MultiOutputClassifier : Classifies each output independently rather than + chaining. + + Examples + -------- + >>> import numpy as np + >>> from sklearn.datasets import load_linnerud + >>> from sklearn.multioutput import MultiOutputRegressor + >>> from sklearn.linear_model import Ridge + >>> X, y = load_linnerud(return_X_y=True) + >>> regr = MultiOutputRegressor(Ridge(random_state=123)).fit(X, y) + >>> regr.predict(X[[0]]) + array([[176, 35.1, 57.1]]) + """ + + def __init__(self, estimator, *, n_jobs=None): + super().__init__(estimator, n_jobs=n_jobs) + + @_available_if_estimator_has("partial_fit") + def partial_fit(self, X, y, sample_weight=None, **partial_fit_params): + """Incrementally fit the model to data, for each output variable. + + Parameters + ---------- + X : {array-like, sparse matrix} of shape (n_samples, n_features) + The input data. + + y : {array-like, sparse matrix} of shape (n_samples, n_outputs) + Multi-output targets. + + sample_weight : array-like of shape (n_samples,), default=None + Sample weights. If `None`, then samples are equally weighted. + Only supported if the underlying regressor supports sample + weights. + + **partial_fit_params : dict of str -> object + Parameters passed to the ``estimator.partial_fit`` method of each + sub-estimator. + + Only available if `enable_metadata_routing=True`. See the + :ref:`User Guide `. + + .. versionadded:: 1.3 + + Returns + ------- + self : object + Returns a fitted instance. + """ + super().partial_fit(X, y, sample_weight=sample_weight, **partial_fit_params) + + +class MultiOutputClassifier(ClassifierMixin, _MultiOutputEstimator): + """Multi target classification. + + This strategy consists of fitting one classifier per target. This is a + simple strategy for extending classifiers that do not natively support + multi-target classification. + + Parameters + ---------- + estimator : estimator object + An estimator object implementing :term:`fit` and :term:`predict`. + A :term:`predict_proba` method will be exposed only if `estimator` implements + it. + + n_jobs : int or None, optional (default=None) + The number of jobs to run in parallel. + :meth:`fit`, :meth:`predict` and :meth:`partial_fit` (if supported + by the passed estimator) will be parallelized for each target. + + When individual estimators are fast to train or predict, + using ``n_jobs > 1`` can result in slower performance due + to the parallelism overhead. + + ``None`` means `1` unless in a :obj:`joblib.parallel_backend` context. + ``-1`` means using all available processes / threads. + See :term:`Glossary ` for more details. + + .. versionchanged:: 0.20 + `n_jobs` default changed from `1` to `None`. + + Attributes + ---------- + classes_ : ndarray of shape (n_classes,) + Class labels. + + estimators_ : list of ``n_output`` estimators + Estimators used for predictions. + + n_features_in_ : int + Number of features seen during :term:`fit`. Only defined if the + underlying `estimator` exposes such an attribute when fit. + + .. versionadded:: 0.24 + + feature_names_in_ : ndarray of shape (`n_features_in_`,) + Names of features seen during :term:`fit`. Only defined if the + underlying estimators expose such an attribute when fit. + + .. versionadded:: 1.0 + + See Also + -------- + ClassifierChain : A multi-label model that arranges binary classifiers + into a chain. + MultiOutputRegressor : Fits one regressor per target variable. + + Examples + -------- + >>> import numpy as np + >>> from sklearn.datasets import make_multilabel_classification + >>> from sklearn.multioutput import MultiOutputClassifier + >>> from sklearn.linear_model import LogisticRegression + >>> X, y = make_multilabel_classification(n_classes=3, random_state=0) + >>> clf = MultiOutputClassifier(LogisticRegression()).fit(X, y) + >>> clf.predict(X[-2:]) + array([[1, 1, 1], + [1, 0, 1]]) + """ + + def __init__(self, estimator, *, n_jobs=None): + super().__init__(estimator, n_jobs=n_jobs) + + def fit(self, X, Y, sample_weight=None, **fit_params): + """Fit the model to data matrix X and targets Y. + + Parameters + ---------- + X : {array-like, sparse matrix} of shape (n_samples, n_features) + The input data. + + Y : array-like of shape (n_samples, n_classes) + The target values. + + sample_weight : array-like of shape (n_samples,), default=None + Sample weights. If `None`, then samples are equally weighted. + Only supported if the underlying classifier supports sample + weights. + + **fit_params : dict of string -> object + Parameters passed to the ``estimator.fit`` method of each step. + + .. versionadded:: 0.23 + + Returns + ------- + self : object + Returns a fitted instance. + """ + super().fit(X, Y, sample_weight=sample_weight, **fit_params) + self.classes_ = [estimator.classes_ for estimator in self.estimators_] + return self + + def _check_predict_proba(self): + if hasattr(self, "estimators_"): + # raise an AttributeError if `predict_proba` does not exist for + # each estimator + [getattr(est, "predict_proba") for est in self.estimators_] + return True + # raise an AttributeError if `predict_proba` does not exist for the + # unfitted estimator + getattr(self.estimator, "predict_proba") + return True + + @available_if(_check_predict_proba) + def predict_proba(self, X): + """Return prediction probabilities for each class of each output. + + This method will raise a ``ValueError`` if any of the + estimators do not have ``predict_proba``. + + Parameters + ---------- + X : array-like of shape (n_samples, n_features) + The input data. + + Returns + ------- + p : array of shape (n_samples, n_classes), or a list of n_outputs \ + such arrays if n_outputs > 1. + The class probabilities of the input samples. The order of the + classes corresponds to that in the attribute :term:`classes_`. + + .. versionchanged:: 0.19 + This function now returns a list of arrays where the length of + the list is ``n_outputs``, and each array is (``n_samples``, + ``n_classes``) for that particular output. + """ + check_is_fitted(self) + results = [estimator.predict_proba(X) for estimator in self.estimators_] + return results + + def score(self, X, y): + """Return the mean accuracy on the given test data and labels. + + Parameters + ---------- + X : array-like of shape (n_samples, n_features) + Test samples. + + y : array-like of shape (n_samples, n_outputs) + True values for X. + + Returns + ------- + scores : float + Mean accuracy of predicted target versus true target. + """ + check_is_fitted(self) + n_outputs_ = len(self.estimators_) + if y.ndim == 1: + raise ValueError( + "y must have at least two dimensions for " + "multi target classification but has only one" + ) + if y.shape[1] != n_outputs_: + raise ValueError( + "The number of outputs of Y for fit {0} and" + " score {1} should be same".format(n_outputs_, y.shape[1]) + ) + y_pred = self.predict(X) + return np.mean(np.all(y == y_pred, axis=1)) + + def __sklearn_tags__(self): + tags = super().__sklearn_tags__() + # FIXME + tags._skip_test = True + return tags + + +def _available_if_base_estimator_has(attr): + """Return a function to check if `base_estimator` or `estimators_` has `attr`. + + Helper for Chain implementations. + """ + + def _check(self): + return hasattr(self._get_estimator(), attr) or all( + hasattr(est, attr) for est in self.estimators_ + ) + + return available_if(_check) + + +class _BaseChain(BaseEstimator, metaclass=ABCMeta): + _parameter_constraints: dict = { + "base_estimator": [ + HasMethods(["fit", "predict"]), + StrOptions({"deprecated"}), + ], + "estimator": [ + HasMethods(["fit", "predict"]), + Hidden(None), + ], + "order": ["array-like", StrOptions({"random"}), None], + "cv": ["cv_object", StrOptions({"prefit"})], + "random_state": ["random_state"], + "verbose": ["boolean"], + } + + # TODO(1.9): Remove base_estimator + def __init__( + self, + estimator=None, + *, + order=None, + cv=None, + random_state=None, + verbose=False, + base_estimator="deprecated", + ): + self.estimator = estimator + self.base_estimator = base_estimator + self.order = order + self.cv = cv + self.random_state = random_state + self.verbose = verbose + + # TODO(1.8): This is a temporary getter method to validate input wrt deprecation. + # It was only included to avoid relying on the presence of self.estimator_ + def _get_estimator(self): + """Get and validate estimator.""" + + if self.estimator is not None and (self.base_estimator != "deprecated"): + raise ValueError( + "Both `estimator` and `base_estimator` are provided. You should only" + " pass `estimator`. `base_estimator` as a parameter is deprecated in" + " version 1.7, and will be removed in version 1.9." + ) + + if self.base_estimator != "deprecated": + warning_msg = ( + "`base_estimator` as an argument was deprecated in 1.7 and will be" + " removed in 1.9. Use `estimator` instead." + ) + warnings.warn(warning_msg, FutureWarning) + return self.base_estimator + else: + return self.estimator + + def _log_message(self, *, estimator_idx, n_estimators, processing_msg): + if not self.verbose: + return None + return f"({estimator_idx} of {n_estimators}) {processing_msg}" + + def _get_predictions(self, X, *, output_method): + """Get predictions for each model in the chain.""" + check_is_fitted(self) + X = validate_data(self, X, accept_sparse=True, reset=False) + Y_output_chain = np.zeros((X.shape[0], len(self.estimators_))) + Y_feature_chain = np.zeros((X.shape[0], len(self.estimators_))) + + # `RegressorChain` does not have a `chain_method_` parameter so we + # default to "predict" + chain_method = getattr(self, "chain_method_", "predict") + hstack = sp.hstack if sp.issparse(X) else np.hstack + for chain_idx, estimator in enumerate(self.estimators_): + previous_predictions = Y_feature_chain[:, :chain_idx] + # if `X` is a scipy sparse dok_array, we convert it to a sparse + # coo_array format before hstacking, it's faster; see + # https://github.com/scipy/scipy/issues/20060#issuecomment-1937007039: + if sp.issparse(X) and not sp.isspmatrix(X) and X.format == "dok": + X = sp.coo_array(X) + X_aug = hstack((X, previous_predictions)) + + feature_predictions, _ = _get_response_values( + estimator, + X_aug, + response_method=chain_method, + ) + Y_feature_chain[:, chain_idx] = feature_predictions + + output_predictions, _ = _get_response_values( + estimator, + X_aug, + response_method=output_method, + ) + Y_output_chain[:, chain_idx] = output_predictions + + inv_order = np.empty_like(self.order_) + inv_order[self.order_] = np.arange(len(self.order_)) + Y_output = Y_output_chain[:, inv_order] + + return Y_output + + @abstractmethod + def fit(self, X, Y, **fit_params): + """Fit the model to data matrix X and targets Y. + + Parameters + ---------- + X : {array-like, sparse matrix} of shape (n_samples, n_features) + The input data. + + Y : array-like of shape (n_samples, n_classes) + The target values. + + **fit_params : dict of string -> object + Parameters passed to the `fit` method of each step. + + .. versionadded:: 0.23 + + Returns + ------- + self : object + Returns a fitted instance. + """ + X, Y = validate_data(self, X, Y, multi_output=True, accept_sparse=True) + + random_state = check_random_state(self.random_state) + self.order_ = self.order + if isinstance(self.order_, tuple): + self.order_ = np.array(self.order_) + + if self.order_ is None: + self.order_ = np.array(range(Y.shape[1])) + elif isinstance(self.order_, str): + if self.order_ == "random": + self.order_ = random_state.permutation(Y.shape[1]) + elif sorted(self.order_) != list(range(Y.shape[1])): + raise ValueError("invalid order") + + self.estimators_ = [clone(self._get_estimator()) for _ in range(Y.shape[1])] + + if self.cv is None: + Y_pred_chain = Y[:, self.order_] + if sp.issparse(X): + X_aug = sp.hstack((X, Y_pred_chain), format="lil") + X_aug = X_aug.tocsr() + else: + X_aug = np.hstack((X, Y_pred_chain)) + + elif sp.issparse(X): + # TODO: remove this condition check when the minimum supported scipy version + # doesn't support sparse matrices anymore + if not sp.isspmatrix(X): + # if `X` is a scipy sparse dok_array, we convert it to a sparse + # coo_array format before hstacking, it's faster; see + # https://github.com/scipy/scipy/issues/20060#issuecomment-1937007039: + if X.format == "dok": + X = sp.coo_array(X) + # in case that `X` is a sparse array we create `Y_pred_chain` as a + # sparse array format: + Y_pred_chain = sp.coo_array((X.shape[0], Y.shape[1])) + else: + Y_pred_chain = sp.coo_matrix((X.shape[0], Y.shape[1])) + X_aug = sp.hstack((X, Y_pred_chain), format="lil") + + else: + Y_pred_chain = np.zeros((X.shape[0], Y.shape[1])) + X_aug = np.hstack((X, Y_pred_chain)) + + del Y_pred_chain + + if _routing_enabled(): + routed_params = process_routing(self, "fit", **fit_params) + else: + routed_params = Bunch(estimator=Bunch(fit=fit_params)) + + if hasattr(self, "chain_method"): + chain_method = _check_response_method( + self._get_estimator(), + self.chain_method, + ).__name__ + self.chain_method_ = chain_method + else: + # `RegressorChain` does not have a `chain_method` parameter + chain_method = "predict" + + for chain_idx, estimator in enumerate(self.estimators_): + message = self._log_message( + estimator_idx=chain_idx + 1, + n_estimators=len(self.estimators_), + processing_msg=f"Processing order {self.order_[chain_idx]}", + ) + y = Y[:, self.order_[chain_idx]] + with _print_elapsed_time("Chain", message): + estimator.fit( + X_aug[:, : (X.shape[1] + chain_idx)], + y, + **routed_params.estimator.fit, + ) + + if self.cv is not None and chain_idx < len(self.estimators_) - 1: + col_idx = X.shape[1] + chain_idx + cv_result = cross_val_predict( + self._get_estimator(), + X_aug[:, :col_idx], + y=y, + cv=self.cv, + method=chain_method, + ) + # `predict_proba` output is 2D, we use only output for classes[-1] + if cv_result.ndim > 1: + cv_result = cv_result[:, 1] + if sp.issparse(X_aug): + X_aug[:, col_idx] = np.expand_dims(cv_result, 1) + else: + X_aug[:, col_idx] = cv_result + + return self + + def predict(self, X): + """Predict on the data matrix X using the ClassifierChain model. + + Parameters + ---------- + X : {array-like, sparse matrix} of shape (n_samples, n_features) + The input data. + + Returns + ------- + Y_pred : array-like of shape (n_samples, n_classes) + The predicted values. + """ + return self._get_predictions(X, output_method="predict") + + def __sklearn_tags__(self): + tags = super().__sklearn_tags__() + tags.input_tags.sparse = get_tags(self._get_estimator()).input_tags.sparse + return tags + + +class ClassifierChain(MetaEstimatorMixin, ClassifierMixin, _BaseChain): + """A multi-label model that arranges binary classifiers into a chain. + + Each model makes a prediction in the order specified by the chain using + all of the available features provided to the model plus the predictions + of models that are earlier in the chain. + + For an example of how to use ``ClassifierChain`` and benefit from its + ensemble, see + :ref:`ClassifierChain on a yeast dataset + ` example. + + Read more in the :ref:`User Guide `. + + .. versionadded:: 0.19 + + Parameters + ---------- + estimator : estimator + The base estimator from which the classifier chain is built. + + order : array-like of shape (n_outputs,) or 'random', default=None + If `None`, the order will be determined by the order of columns in + the label matrix Y.:: + + order = [0, 1, 2, ..., Y.shape[1] - 1] + + The order of the chain can be explicitly set by providing a list of + integers. For example, for a chain of length 5.:: + + order = [1, 3, 2, 4, 0] + + means that the first model in the chain will make predictions for + column 1 in the Y matrix, the second model will make predictions + for column 3, etc. + + If order is `random` a random ordering will be used. + + cv : int, cross-validation generator or an iterable, default=None + Determines whether to use cross validated predictions or true + labels for the results of previous estimators in the chain. + Possible inputs for cv are: + + - None, to use true labels when fitting, + - integer, to specify the number of folds in a (Stratified)KFold, + - :term:`CV splitter`, + - An iterable yielding (train, test) splits as arrays of indices. + + chain_method : {'predict', 'predict_proba', 'predict_log_proba', \ + 'decision_function'} or list of such str's, default='predict' + + Prediction method to be used by estimators in the chain for + the 'prediction' features of previous estimators in the chain. + + - if `str`, name of the method; + - if a list of `str`, provides the method names in order of + preference. The method used corresponds to the first method in + the list that is implemented by `base_estimator`. + + .. versionadded:: 1.5 + + random_state : int, RandomState instance or None, optional (default=None) + If ``order='random'``, determines random number generation for the + chain order. + In addition, it controls the random seed given at each `base_estimator` + at each chaining iteration. Thus, it is only used when `base_estimator` + exposes a `random_state`. + Pass an int for reproducible output across multiple function calls. + See :term:`Glossary `. + + verbose : bool, default=False + If True, chain progress is output as each model is completed. + + .. versionadded:: 1.2 + + base_estimator : estimator, default="deprecated" + Use `estimator` instead. + + .. deprecated:: 1.7 + `base_estimator` is deprecated and will be removed in 1.9. + Use `estimator` instead. + + Attributes + ---------- + classes_ : list + A list of arrays of length ``len(estimators_)`` containing the + class labels for each estimator in the chain. + + estimators_ : list + A list of clones of base_estimator. + + order_ : list + The order of labels in the classifier chain. + + chain_method_ : str + Prediction method used by estimators in the chain for the prediction + features. + + n_features_in_ : int + Number of features seen during :term:`fit`. Only defined if the + underlying `base_estimator` exposes such an attribute when fit. + + .. versionadded:: 0.24 + + feature_names_in_ : ndarray of shape (`n_features_in_`,) + Names of features seen during :term:`fit`. Defined only when `X` + has feature names that are all strings. + + .. versionadded:: 1.0 + + See Also + -------- + RegressorChain : Equivalent for regression. + MultiOutputClassifier : Classifies each output independently rather than + chaining. + + References + ---------- + Jesse Read, Bernhard Pfahringer, Geoff Holmes, Eibe Frank, "Classifier + Chains for Multi-label Classification", 2009. + + Examples + -------- + >>> from sklearn.datasets import make_multilabel_classification + >>> from sklearn.linear_model import LogisticRegression + >>> from sklearn.model_selection import train_test_split + >>> from sklearn.multioutput import ClassifierChain + >>> X, Y = make_multilabel_classification( + ... n_samples=12, n_classes=3, random_state=0 + ... ) + >>> X_train, X_test, Y_train, Y_test = train_test_split( + ... X, Y, random_state=0 + ... ) + >>> base_lr = LogisticRegression(solver='lbfgs', random_state=0) + >>> chain = ClassifierChain(base_lr, order='random', random_state=0) + >>> chain.fit(X_train, Y_train).predict(X_test) + array([[1., 1., 0.], + [1., 0., 0.], + [0., 1., 0.]]) + >>> chain.predict_proba(X_test) + array([[0.8387, 0.9431, 0.4576], + [0.8878, 0.3684, 0.2640], + [0.0321, 0.9935, 0.0626]]) + """ + + _parameter_constraints: dict = { + **_BaseChain._parameter_constraints, + "chain_method": [ + list, + tuple, + StrOptions( + {"predict", "predict_proba", "predict_log_proba", "decision_function"} + ), + ], + } + + # TODO(1.9): Remove base_estimator from __init__ + def __init__( + self, + estimator=None, + *, + order=None, + cv=None, + chain_method="predict", + random_state=None, + verbose=False, + base_estimator="deprecated", + ): + super().__init__( + estimator, + order=order, + cv=cv, + random_state=random_state, + verbose=verbose, + base_estimator=base_estimator, + ) + self.chain_method = chain_method + + @_fit_context( + # ClassifierChain.base_estimator is not validated yet + prefer_skip_nested_validation=False + ) + def fit(self, X, Y, **fit_params): + """Fit the model to data matrix X and targets Y. + + Parameters + ---------- + X : {array-like, sparse matrix} of shape (n_samples, n_features) + The input data. + + Y : array-like of shape (n_samples, n_classes) + The target values. + + **fit_params : dict of string -> object + Parameters passed to the `fit` method of each step. + + Only available if `enable_metadata_routing=True`. See the + :ref:`User Guide `. + + .. versionadded:: 1.3 + + Returns + ------- + self : object + Class instance. + """ + _raise_for_params(fit_params, self, "fit") + + super().fit(X, Y, **fit_params) + self.classes_ = [estimator.classes_ for estimator in self.estimators_] + return self + + @_available_if_base_estimator_has("predict_proba") + def predict_proba(self, X): + """Predict probability estimates. + + Parameters + ---------- + X : {array-like, sparse matrix} of shape (n_samples, n_features) + The input data. + + Returns + ------- + Y_prob : array-like of shape (n_samples, n_classes) + The predicted probabilities. + """ + return self._get_predictions(X, output_method="predict_proba") + + def predict_log_proba(self, X): + """Predict logarithm of probability estimates. + + Parameters + ---------- + X : {array-like, sparse matrix} of shape (n_samples, n_features) + The input data. + + Returns + ------- + Y_log_prob : array-like of shape (n_samples, n_classes) + The predicted logarithm of the probabilities. + """ + return np.log(self.predict_proba(X)) + + @_available_if_base_estimator_has("decision_function") + def decision_function(self, X): + """Evaluate the decision_function of the models in the chain. + + Parameters + ---------- + X : array-like of shape (n_samples, n_features) + The input data. + + Returns + ------- + Y_decision : array-like of shape (n_samples, n_classes) + Returns the decision function of the sample for each model + in the chain. + """ + return self._get_predictions(X, output_method="decision_function") + + def get_metadata_routing(self): + """Get metadata routing of this object. + + Please check :ref:`User Guide ` on how the routing + mechanism works. + + .. versionadded:: 1.3 + + Returns + ------- + routing : MetadataRouter + A :class:`~sklearn.utils.metadata_routing.MetadataRouter` encapsulating + routing information. + """ + + router = MetadataRouter(owner=self.__class__.__name__).add( + estimator=self._get_estimator(), + method_mapping=MethodMapping().add(caller="fit", callee="fit"), + ) + return router + + def __sklearn_tags__(self): + tags = super().__sklearn_tags__() + # FIXME + tags._skip_test = True + tags.target_tags.single_output = False + tags.target_tags.multi_output = True + return tags + + +class RegressorChain(MetaEstimatorMixin, RegressorMixin, _BaseChain): + """A multi-label model that arranges regressions into a chain. + + Each model makes a prediction in the order specified by the chain using + all of the available features provided to the model plus the predictions + of models that are earlier in the chain. + + Read more in the :ref:`User Guide `. + + .. versionadded:: 0.20 + + Parameters + ---------- + estimator : estimator + The base estimator from which the regressor chain is built. + + order : array-like of shape (n_outputs,) or 'random', default=None + If `None`, the order will be determined by the order of columns in + the label matrix Y.:: + + order = [0, 1, 2, ..., Y.shape[1] - 1] + + The order of the chain can be explicitly set by providing a list of + integers. For example, for a chain of length 5.:: + + order = [1, 3, 2, 4, 0] + + means that the first model in the chain will make predictions for + column 1 in the Y matrix, the second model will make predictions + for column 3, etc. + + If order is 'random' a random ordering will be used. + + cv : int, cross-validation generator or an iterable, default=None + Determines whether to use cross validated predictions or true + labels for the results of previous estimators in the chain. + Possible inputs for cv are: + + - None, to use true labels when fitting, + - integer, to specify the number of folds in a (Stratified)KFold, + - :term:`CV splitter`, + - An iterable yielding (train, test) splits as arrays of indices. + + random_state : int, RandomState instance or None, optional (default=None) + If ``order='random'``, determines random number generation for the + chain order. + In addition, it controls the random seed given at each `base_estimator` + at each chaining iteration. Thus, it is only used when `base_estimator` + exposes a `random_state`. + Pass an int for reproducible output across multiple function calls. + See :term:`Glossary `. + + verbose : bool, default=False + If True, chain progress is output as each model is completed. + + .. versionadded:: 1.2 + + base_estimator : estimator, default="deprecated" + Use `estimator` instead. + + .. deprecated:: 1.7 + `base_estimator` is deprecated and will be removed in 1.9. + Use `estimator` instead. + + Attributes + ---------- + estimators_ : list + A list of clones of base_estimator. + + order_ : list + The order of labels in the classifier chain. + + n_features_in_ : int + Number of features seen during :term:`fit`. Only defined if the + underlying `base_estimator` exposes such an attribute when fit. + + .. versionadded:: 0.24 + + feature_names_in_ : ndarray of shape (`n_features_in_`,) + Names of features seen during :term:`fit`. Defined only when `X` + has feature names that are all strings. + + .. versionadded:: 1.0 + + See Also + -------- + ClassifierChain : Equivalent for classification. + MultiOutputRegressor : Learns each output independently rather than + chaining. + + Examples + -------- + >>> from sklearn.multioutput import RegressorChain + >>> from sklearn.linear_model import LogisticRegression + >>> logreg = LogisticRegression(solver='lbfgs') + >>> X, Y = [[1, 0], [0, 1], [1, 1]], [[0, 2], [1, 1], [2, 0]] + >>> chain = RegressorChain(logreg, order=[0, 1]).fit(X, Y) + >>> chain.predict(X) + array([[0., 2.], + [1., 1.], + [2., 0.]]) + """ + + @_fit_context( + # RegressorChain.base_estimator is not validated yet + prefer_skip_nested_validation=False + ) + def fit(self, X, Y, **fit_params): + """Fit the model to data matrix X and targets Y. + + Parameters + ---------- + X : {array-like, sparse matrix} of shape (n_samples, n_features) + The input data. + + Y : array-like of shape (n_samples, n_classes) + The target values. + + **fit_params : dict of string -> object + Parameters passed to the `fit` method at each step + of the regressor chain. + + .. versionadded:: 0.23 + + Returns + ------- + self : object + Returns a fitted instance. + """ + super().fit(X, Y, **fit_params) + return self + + def get_metadata_routing(self): + """Get metadata routing of this object. + + Please check :ref:`User Guide ` on how the routing + mechanism works. + + .. versionadded:: 1.3 + + Returns + ------- + routing : MetadataRouter + A :class:`~sklearn.utils.metadata_routing.MetadataRouter` encapsulating + routing information. + """ + + router = MetadataRouter(owner=self.__class__.__name__).add( + estimator=self._get_estimator(), + method_mapping=MethodMapping().add(caller="fit", callee="fit"), + ) + return router + + def __sklearn_tags__(self): + tags = super().__sklearn_tags__() + tags.target_tags.single_output = False + tags.target_tags.multi_output = True + return tags diff --git a/shared/package-files/70/706d42190729a48d19275de3975b6f714200aa5e7974f7fd39506798f794eb4a/arccosh.h b/shared/package-files/70/706d42190729a48d19275de3975b6f714200aa5e7974f7fd39506798f794eb4a/arccosh.h new file mode 100644 index 0000000000000000000000000000000000000000..3335e73c2e0cd6ccabe35e595440e4940b9be439 --- /dev/null +++ b/shared/package-files/70/706d42190729a48d19275de3975b6f714200aa5e7974f7fd39506798f794eb4a/arccosh.h @@ -0,0 +1,44 @@ +#pragma once + +// @generated by torchgen/gen.py from Function.h + +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include + + + +#include + +namespace at { + + +// aten::arccosh(Tensor self) -> Tensor +inline at::Tensor arccosh(const at::Tensor & self) { + return at::_ops::arccosh::call(self); +} + +// aten::arccosh_(Tensor(a!) self) -> Tensor(a!) +inline at::Tensor & arccosh_(at::Tensor & self) { + return at::_ops::arccosh_::call(self); +} + +// aten::arccosh.out(Tensor self, *, Tensor(a!) out) -> Tensor(a!) +inline at::Tensor & arccosh_out(at::Tensor & out, const at::Tensor & self) { + return at::_ops::arccosh_out::call(self, out); +} +// aten::arccosh.out(Tensor self, *, Tensor(a!) out) -> Tensor(a!) +inline at::Tensor & arccosh_outf(const at::Tensor & self, at::Tensor & out) { + return at::_ops::arccosh_out::call(self, out); +} + +} diff --git a/shared/package-files/70/706d4533dd16a45bebf1543df9763fcecb4b79bb5744ad8c2d9d2770fab03178/termui.pyi b/shared/package-files/70/706d4533dd16a45bebf1543df9763fcecb4b79bb5744ad8c2d9d2770fab03178/termui.pyi new file mode 100644 index 0000000000000000000000000000000000000000..3225f6788327a5cec1ffaedb87d98d6558ca72f1 --- /dev/null +++ b/shared/package-files/70/706d4533dd16a45bebf1543df9763fcecb4b79bb5744ad8c2d9d2770fab03178/termui.pyi @@ -0,0 +1,103 @@ +from typing import IO, Any, Callable, Generator, Iterable, Optional, Text, Tuple, TypeVar, Union, overload + +from click._termui_impl import ProgressBar as _ProgressBar +from click.core import _ConvertibleType + +def hidden_prompt_func(prompt: str) -> str: ... +def _build_prompt(text: str, suffix: str, show_default: bool = ..., default: Optional[str] = ...) -> str: ... +def prompt( + text: str, + default: Optional[str] = ..., + hide_input: bool = ..., + confirmation_prompt: bool = ..., + type: Optional[_ConvertibleType] = ..., + value_proc: Optional[Callable[[Optional[str]], Any]] = ..., + prompt_suffix: str = ..., + show_default: bool = ..., + err: bool = ..., + show_choices: bool = ..., +) -> Any: ... +def confirm( + text: str, default: bool = ..., abort: bool = ..., prompt_suffix: str = ..., show_default: bool = ..., err: bool = ... +) -> bool: ... +def get_terminal_size() -> Tuple[int, int]: ... +def echo_via_pager( + text_or_generator: Union[str, Iterable[str], Callable[[], Generator[str, None, None]]], color: Optional[bool] = ... +) -> None: ... + +_T = TypeVar("_T") +@overload +def progressbar( + iterable: Iterable[_T], + length: Optional[int] = ..., + label: Optional[str] = ..., + show_eta: bool = ..., + show_percent: Optional[bool] = ..., + show_pos: bool = ..., + item_show_func: Optional[Callable[[_T], str]] = ..., + fill_char: str = ..., + empty_char: str = ..., + bar_template: str = ..., + info_sep: str = ..., + width: int = ..., + file: Optional[IO[Any]] = ..., + color: Optional[bool] = ..., +) -> _ProgressBar[_T]: ... +@overload +def progressbar( + iterable: None = ..., + length: Optional[int] = ..., + label: Optional[str] = ..., + show_eta: bool = ..., + show_percent: Optional[bool] = ..., + show_pos: bool = ..., + item_show_func: Optional[Callable[[_T], str]] = ..., + fill_char: str = ..., + empty_char: str = ..., + bar_template: str = ..., + info_sep: str = ..., + width: int = ..., + file: Optional[IO[Any]] = ..., + color: Optional[bool] = ..., +) -> _ProgressBar[int]: ... +def clear() -> None: ... +def style( + text: Text, + fg: Optional[Text] = ..., + bg: Optional[Text] = ..., + bold: Optional[bool] = ..., + dim: Optional[bool] = ..., + underline: Optional[bool] = ..., + blink: Optional[bool] = ..., + reverse: Optional[bool] = ..., + reset: bool = ..., +) -> str: ... +def unstyle(text: Text) -> str: ... + +# Styling options copied from style() for nicer type checking. +def secho( + message: Optional[str] = ..., + file: Optional[IO[Any]] = ..., + nl: bool = ..., + err: bool = ..., + color: Optional[bool] = ..., + fg: Optional[str] = ..., + bg: Optional[str] = ..., + bold: Optional[bool] = ..., + dim: Optional[bool] = ..., + underline: Optional[bool] = ..., + blink: Optional[bool] = ..., + reverse: Optional[bool] = ..., + reset: bool = ..., +): ... +def edit( + text: Optional[str] = ..., + editor: Optional[str] = ..., + env: Optional[str] = ..., + require_save: bool = ..., + extension: str = ..., + filename: Optional[str] = ..., +) -> str: ... +def launch(url: str, wait: bool = ..., locate: bool = ...) -> int: ... +def getchar(echo: bool = ...) -> Text: ... +def pause(info: str = ..., err: bool = ...) -> None: ... diff --git a/shared/package-files/70/7075464506b36b86b2a88ea38ba38736475010c57b064a387f8bee8366ee1106/aseries.py b/shared/package-files/70/7075464506b36b86b2a88ea38ba38736475010c57b064a387f8bee8366ee1106/aseries.py new file mode 100644 index 0000000000000000000000000000000000000000..dbbe0664e6d43a9329f37789c16c48143eda5413 --- /dev/null +++ b/shared/package-files/70/7075464506b36b86b2a88ea38ba38736475010c57b064a387f8bee8366ee1106/aseries.py @@ -0,0 +1,10 @@ +from sympy.core.sympify import sympify + + +def aseries(expr, x=None, n=6, bound=0, hir=False): + """ + See the docstring of Expr.aseries() for complete details of this wrapper. + + """ + expr = sympify(expr) + return expr.aseries(x, n, bound, hir) diff --git a/shared/package-files/70/707981d89bfc8c82e70b1a318ad77fbcf162a4de0aebfd9277e1775fe332dc3e/__init__.py b/shared/package-files/70/707981d89bfc8c82e70b1a318ad77fbcf162a4de0aebfd9277e1775fe332dc3e/__init__.py new file mode 100644 index 0000000000000000000000000000000000000000..6c77cd07d682f3c057ad70cdbc97f68e7d8a3426 --- /dev/null +++ b/shared/package-files/70/707981d89bfc8c82e70b1a318ad77fbcf162a4de0aebfd9277e1775fe332dc3e/__init__.py @@ -0,0 +1,253 @@ +from typing import List, Optional, Union, Sequence + +import torch +from torch import SymInt, Tensor +from torch._C import _add_docstr, _nested # type: ignore[attr-defined] + +from torch.types import _device as Device, _dtype as DType + +__all__ = [ + "to_padded_tensor", + "as_nested_tensor", + "nested_tensor", + "narrow", +] + +# Nested Tensor constructor functions + + +def as_nested_tensor( + tensor_list: Sequence[Tensor], + dtype: Optional[DType] = None, + device: Optional[Device] = None, + layout=None +) -> Tensor: + r""" + Constructs a nested tensor preserving autograd history from :attr:`tensor_list` a list of tensors. + + .. note:: + Tensors within the list are always copied by this function due to current nested tensor semantics. + + Args: + tensor_list (List[Tensor]): a list of tensors with the same ndim + + Keyword arguments: + dtype (:class:`torch.dtype`, optional): the desired type of returned nested tensor. + Default: if None, same :class:`torch.dtype` as leftmost tensor in the list. + device (:class:`torch.device`, optional): the desired device of returned nested tensor. + Default: if None, same :class:`torch.device` as leftmost tensor in the list + layout (:class:`torch.layout`, optional): the desired layout of returned nested tensor. + Only strided and jagged layouts are supported. Default: if None, the strided layout. + + Example:: + + >>> a = torch.arange(3, dtype=torch.float, requires_grad=True) + >>> b = torch.arange(5, dtype=torch.float, requires_grad=True) + >>> nt = torch.nested.as_nested_tensor([a, b]) + >>> nt.is_leaf + False + >>> fake_grad = torch.nested.nested_tensor([torch.ones_like(a), torch.zeros_like(b)]) + >>> nt.backward(fake_grad) + >>> a.grad + tensor([1., 1., 1.]) + >>> b.grad + tensor([0., 0., 0., 0., 0.]) + """ + if not isinstance(tensor_list, list) or any( + not isinstance(t, Tensor) for t in tensor_list + ): + raise TypeError( + "as_nested_tensor(): Expected first argument to be a list of tensors " + ) + + if layout is None: + layout = torch.strided + if layout == torch.strided: + return torch._nested_tensor_from_tensor_list(tensor_list, dtype, None, device, None) + elif layout == torch.jagged: + from torch.nested._internal.nested_tensor import jagged_from_list + + nt, _ = jagged_from_list(tensor_list, offsets=None, device=device, dtype=dtype) + return nt + else: + raise RuntimeError(f"Specified layout is unsupported for nested tensors: {layout}") + + +# Note: This not only adds doc strings for the nested ops, but +# also connects the torch.nested Python namespace to the torch._C._nested builtins. + +to_padded_tensor = _add_docstr( + _nested.nested_to_padded_tensor, + r""" +to_padded_tensor(input, padding, output_size=None, out=None) -> Tensor + +Returns a new (non-nested) Tensor by padding the :attr:`input` nested tensor. +The leading entries will be filled with the nested data, +while the trailing entries will be padded. + +.. warning:: + + :func:`to_padded_tensor` always copies the underlying data, + since the nested and the non-nested tensors differ in memory layout. + +Args: + padding (float): The padding value for the trailing entries. + +Keyword args: + output_size (Tuple[int]): The size of the output tensor. + If given, it must be large enough to contain all nested data; + else, will infer by taking the max size of each nested sub-tensor along each dimension. + out (Tensor, optional): the output tensor. + +Example:: + + >>> nt = torch.nested.nested_tensor([torch.randn((2, 5)), torch.randn((3, 4))]) + nested_tensor([ + tensor([[ 1.6862, -1.1282, 1.1031, 0.0464, -1.3276], + [-1.9967, -1.0054, 1.8972, 0.9174, -1.4995]]), + tensor([[-1.8546, -0.7194, -0.2918, -0.1846], + [ 0.2773, 0.8793, -0.5183, -0.6447], + [ 1.8009, 1.8468, -0.9832, -1.5272]]) + ]) + >>> pt_infer = torch.nested.to_padded_tensor(nt, 0.0) + tensor([[[ 1.6862, -1.1282, 1.1031, 0.0464, -1.3276], + [-1.9967, -1.0054, 1.8972, 0.9174, -1.4995], + [ 0.0000, 0.0000, 0.0000, 0.0000, 0.0000]], + [[-1.8546, -0.7194, -0.2918, -0.1846, 0.0000], + [ 0.2773, 0.8793, -0.5183, -0.6447, 0.0000], + [ 1.8009, 1.8468, -0.9832, -1.5272, 0.0000]]]) + >>> pt_large = torch.nested.to_padded_tensor(nt, 1.0, (2, 4, 6)) + tensor([[[ 1.6862, -1.1282, 1.1031, 0.0464, -1.3276, 1.0000], + [-1.9967, -1.0054, 1.8972, 0.9174, -1.4995, 1.0000], + [ 1.0000, 1.0000, 1.0000, 1.0000, 1.0000, 1.0000], + [ 1.0000, 1.0000, 1.0000, 1.0000, 1.0000, 1.0000]], + [[-1.8546, -0.7194, -0.2918, -0.1846, 1.0000, 1.0000], + [ 0.2773, 0.8793, -0.5183, -0.6447, 1.0000, 1.0000], + [ 1.8009, 1.8468, -0.9832, -1.5272, 1.0000, 1.0000], + [ 1.0000, 1.0000, 1.0000, 1.0000, 1.0000, 1.0000]]]) + >>> pt_small = torch.nested.to_padded_tensor(nt, 2.0, (2, 2, 2)) + RuntimeError: Value in output_size is less than NestedTensor padded size. Truncation is not supported. + +""", +) + +def nested_tensor(tensor_list, *, dtype=None, layout=None, device=None, requires_grad=False, pin_memory=False) -> Tensor: + r""" +Constructs a nested tensor with no autograd history (also known as a “leaf tensor”, see +:ref:`Autograd mechanics `) from :attr:`tensor_list` a list of tensors. + +Args: + tensor_list (List[array_like]): a list of tensors, or anything that can be passed to torch.tensor, + where each element of the list has the same dimensionality. + +Keyword arguments: + dtype (:class:`torch.dtype`, optional): the desired type of returned nested tensor. + Default: if None, same :class:`torch.dtype` as leftmost tensor in the list. + layout (:class:`torch.layout`, optional): the desired layout of returned nested tensor. + Only strided and jagged layouts are supported. Default: if None, the strided layout. + device (:class:`torch.device`, optional): the desired device of returned nested tensor. + Default: if None, same :class:`torch.device` as leftmost tensor in the list + requires_grad (bool, optional): If autograd should record operations on the + returned nested tensor. Default: ``False``. + pin_memory (bool, optional): If set, returned nested tensor would be allocated in + the pinned memory. Works only for CPU tensors. Default: ``False``. + +Example:: + + >>> a = torch.arange(3, dtype=torch.float, requires_grad=True) + >>> b = torch.arange(5, dtype=torch.float, requires_grad=True) + >>> nt = torch.nested.nested_tensor([a, b], requires_grad=True) + >>> nt.is_leaf + True + """ + if layout is None: + layout = torch.strided + if layout == torch.strided: + return _nested.nested_tensor( + tensor_list, + dtype=dtype, + device=device, + requires_grad=requires_grad, + pin_memory=pin_memory) + elif layout == torch.jagged: + # Need to wrap lists of scalars as tensors + list_of_tensors = [t if isinstance(t, Tensor) else torch.as_tensor(t) for t in tensor_list] + + from torch.nested._internal.nested_tensor import jagged_from_list + + with torch.no_grad(): + nt, _ = jagged_from_list(list_of_tensors, offsets=None, device=device, dtype=dtype) + + nt.requires_grad_(requires_grad) + if pin_memory: + nt = nt.pin_memory() # type: ignore[assignment] + + return nt + else: + raise RuntimeError(f"Specified layout is unsupported for nested tensors: {layout}") + + +def narrow(tensor: Tensor, dim: int, start: Union[int, Tensor], length: Union[int, Tensor], layout=torch.strided) -> Tensor: + r""" +Constructs a nested tensor (which might be a view) from :attr:`tensor`, a strided tensor. This follows +similar semantics to torch.Tensor.narrow, where in the :attr:`dim`-th dimension the new nested tensor +shows only the elements in the interval `[start, start+length)`. As nested representations +allow for a different `start` and `length` at each 'row' of that dimension, :attr:`start` and :attr:`length` +can also be tensors of shape `tensor.shape[0]`. + +There's some differences depending on the layout you use for the nested tensor. If using strided layout, +torch.narrow will do a copy of the narrowed data into a contiguous NT with strided layout, while +jagged layout narrow() will create a non-contiguous view of your original strided tensor. This particular +representation is really useful for representing kv-caches in Transformer models, as specialized +SDPA kernels can deal with format easily, resulting in performance improvements. + + +Args: + tensor (:class:`torch.Tensor`): a strided tensor, which will be used as the underlying data + for the nested tensor if using the jagged layout or will be copied for the strided layout. + dim (int): the dimension where narrow will be applied. Only `dim=1` is supported for the + jagged layout, while strided supports all dim + start (Union[int, :class:`torch.Tensor`]): starting element for the narrow operation + length (Union[int, :class:`torch.Tensor`]): number of elements taken during the narrow op + +Keyword arguments: + layout (:class:`torch.layout`, optional): the desired layout of returned nested tensor. + Only strided and jagged layouts are supported. Default: if None, the strided layout. + +Example:: + + >>> starts = torch.tensor([0, 1, 2, 3, 4], dtype=torch.int64) + >>> lengths = torch.tensor([3, 2, 2, 1, 5], dtype=torch.int64) + >>> narrow_base = torch.randn(5, 10, 20) + >>> nt_narrowed = torch.nested.narrow(narrow_base, 1, starts, lengths, layout=torch.jagged) + >>> nt_narrowed.is_contiguous() + False + """ + if not isinstance(start, (int, SymInt, Tensor)): + raise RuntimeError("start must be an integer or a tensor") + + if not isinstance(length, (int, SymInt, Tensor)): + raise RuntimeError("length must be an integer or a tensor") + + if layout == torch.strided: + if isinstance(start, Tensor) or isinstance(length, Tensor): + raise RuntimeError("start and length must be integers for the strided layout NT impl") + # TODO: switch to as_nested_tensor(tensor) when it is available + nt = as_nested_tensor(torch.unbind(tensor), layout=torch.strided).narrow(dim, start, length) + elif layout == torch.jagged: + if dim != 1: + raise RuntimeError("jagged layout only supports dim=1") + + from torch.nested._internal.nested_tensor import jagged_from_tensor_and_lengths + + if isinstance(start, (int, SymInt)): + start = torch.tensor([start], device=tensor.device, dtype=torch.int64) + + if isinstance(length, (int, SymInt)): + length = torch.tensor([length], device=tensor.device, dtype=torch.int64) + + nt, _, _ = jagged_from_tensor_and_lengths(tensor, start, length) + else: + raise RuntimeError(f"Specified layout is unsupported for nested narrow: {layout}") + + return nt diff --git a/shared/package-files/70/707c54d25f8fd6320bcf01c82d7711abe7a6e2801d55848d03856b47806d7148/aaa-db b/shared/package-files/70/707c54d25f8fd6320bcf01c82d7711abe7a6e2801d55848d03856b47806d7148/aaa-db new file mode 100644 index 0000000000000000000000000000000000000000..524ad36e9e389e2bca2d979c3494d456ab07f2c7 Binary files /dev/null and b/shared/package-files/70/707c54d25f8fd6320bcf01c82d7711abe7a6e2801d55848d03856b47806d7148/aaa-db differ diff --git a/shared/package-files/70/707cc347080143e2f60b95ddb5e3472ba199a7e5be7f4bbfa685b9d807d33375/model_spec.py b/shared/package-files/70/707cc347080143e2f60b95ddb5e3472ba199a7e5be7f4bbfa685b9d807d33375/model_spec.py new file mode 100644 index 0000000000000000000000000000000000000000..aa0a0647d8f744cb8969883486eeda8749717790 --- /dev/null +++ b/shared/package-files/70/707cc347080143e2f60b95ddb5e3472ba199a7e5be7f4bbfa685b9d807d33375/model_spec.py @@ -0,0 +1,798 @@ +from __future__ import annotations + +from collections import defaultdict +from collections.abc import Mapping, Sequence +from dataclasses import dataclass, field, replace +from typing import ( + TYPE_CHECKING, + Any, + Optional, + Union, + cast, +) + +from formulaic.materializers.base import EncodedTermStructure +from formulaic.parser.types import Factor, Term +from formulaic.utils.constraints import LinearConstraints, LinearConstraintSpec +from formulaic.utils.structured import Structured +from formulaic.utils.variables import Variable + +from .formula import Formula, FormulaSpec, SimpleFormula, StructuredFormula +from .materializers import ClusterBy, FormulaMaterializer, NAAction + +if TYPE_CHECKING: # pragma: no cover + from .model_matrix import ModelMatrices, ModelMatrix + from .transforms.contrasts import ContrastsState + +from functools import cached_property + + +@dataclass(frozen=True) +class ModelSpec: + """ + A container for the metadata used to generate a `ModelMatrix` instance. + + This object can also be used to create a `ModelMatrix` instance that + respects the encoding choices made during the generation of this `ModelSpec` + instance. + + Attributes: + Configuration: + formula: The formula for which the model matrix was (and/or will be) + generated. + materializer: The materializer used (and/or to be used) to + materialize the formula into a matrix. + ensure_full_rank: Whether to ensure that the generated matrix is + "structurally" full-rank (features are not included which are + known to violate full-rankness). + na_action: The action to be taken if NA values are found in the + data. Can be one of: "drop" (the default), "raise" or "ignore". + output: The desired output type (as interpreted by the materializer; + e.g. "pandas", "sparse", etc). + cluster_by: How to cluster terms/columns during materialization. Can + be one of: "none" (the default) or "numerical_factors" (in which + case terms are clustered based on their sharing of the same + numerical factors; like patsy). + + State (these attributes are only populated during materialization): + structure: The model matrix structure resulting from materialization. + transform_state: The state of any stateful transformations that took + place during factor evaluation. + encoder_state: The state of any stateful transformations that took + place during encoding. + + Class attributes: + SENTINEL: Can be used as a default fallback in signatures (e.g. stateful + transforms) to aid in typing. Must not be modified. + """ + + @classmethod + def from_spec( + cls, + spec: Union[FormulaSpec, ModelMatrix, ModelMatrices, ModelSpec, ModelSpecs], + *, + context: Optional[Mapping[str, Any]] = None, + **attrs: Any, + ) -> Union[ModelSpec, ModelSpecs]: + """ + Construct a `ModelSpec` (or `Structured[ModelSpec]`) instance for the + nominated `spec`, setting and/or overriding any `ModelSpec` attributes + present in `attrs`. + + Args: + spec: The specification for which to generate a `ModelSpec` + instance or structured set of `ModelSpec` instances. + attrs: Any `ModelSpec` attributes to set and/or override on all + generated `ModelSpec` instances. + context: Optional additional context to pass through to the formula + parsing algorithms. This is not normally required, and if + involved operators place additional constraints on the type + and/or structure of this context, they will raise exceptions + when they are not satisfied with instructions for how to fix it. + """ + from .model_matrix import ModelMatrix + + def prepare_model_spec(obj: Any) -> Union[ModelSpec, ModelSpecs]: + if isinstance(obj, ModelMatrix): + obj = obj.model_spec + if isinstance(obj, ModelSpec): + return obj.update(**attrs) + formula = Formula.from_spec(cast(FormulaSpec, obj), context=context) + if isinstance(formula, StructuredFormula): + return cast( + ModelSpecs, formula._map(prepare_model_spec, as_type=ModelSpecs) + ) + return ModelSpec(formula=formula, **attrs) + + if isinstance(spec, SimpleFormula) or not isinstance(spec, Structured): + return prepare_model_spec(spec) + return cast(ModelSpecs, spec._map(prepare_model_spec, as_type=ModelSpecs)) + + # Configuration attributes + formula: SimpleFormula + materializer: Optional[str] = None + materializer_params: Optional[dict[str, Any]] = None + ensure_full_rank: bool = True + na_action: NAAction = NAAction.DROP + output: Optional[str] = None + cluster_by: ClusterBy = ClusterBy.NONE + + # State attributes + structure: Optional[list[EncodedTermStructure]] = None + transform_state: dict = field(default_factory=dict) + encoder_state: dict = field(default_factory=dict) + + def __post_init__(self) -> None: + self.__dict__["formula"] = SimpleFormula.from_spec(self.formula) + + if isinstance(self.formula, StructuredFormula): + raise ValueError( + "Nominated `Formula` instance has structure, which is not permitted when attaching to a `ModelSpec` instance." + ) + + # Materializer + if self.materializer is not None and not isinstance(self.materializer, str): + self.__dict__["materializer"] = FormulaMaterializer.for_materializer( + self.materializer + ).REGISTER_NAME + + # Handle string to enum mapping for values passed in during instantiation + self.__dict__["na_action"] = NAAction(self.na_action) + self.__dict__["cluster_by"] = ClusterBy(self.cluster_by) + + # Derived features + + @property + def __structure(self) -> list[EncodedTermStructure]: + """ + A reference to `.structure` if it is populated, or otherwise an + exception is raised. + """ + if self.structure is None: + raise RuntimeError( + "`ModelSpec.structure` has not yet been populated. This will " + "likely be resolved by using the `ModelSpec` instance attached " + "to the model matrix generated when calling `.get_model_matrix()`." + ) + return self.structure + + @cached_property + def column_names(self) -> Sequence[str]: + """ + The names associated with the columns of the generated model matrix. + """ + return tuple(feature for row in self.__structure for feature in row.columns) + + @cached_property + def column_indices(self) -> dict[str, int]: + """ + An ordered mapping from column names to the column index in generated + model matrices. + """ + return {name: i for i, name in enumerate(self.column_names)} + + def get_column_indices(self, columns: Union[str, Sequence[str]]) -> list[int]: + """ + Generate a list of column indices corresponding to the nominated column + names. This is useful when you want to slice a model matrix by specific + columns, and do not want to have to generate the indices yourself. + + Args: + columns: The column names to include in the subset. + """ + if isinstance(columns, str): + columns = [columns] + return [self.column_indices[column] for column in columns] + + @property + def terms(self) -> list[Term]: + """ + The terms used to generate model matrices from this `ModelSpec` + instance. + """ + return list(self.formula) + + @cached_property + def term_indices(self) -> dict[Term, list[int]]: + """ + An ordered mapping of `Term` instances to the generated column indices. + + Note: Since terms hash using their string representation, you can look + up elements of this mapping using the string representation of the + `Term`. + """ + slices = {} + start = 0 + for row in self.__structure: + end = start + len(row[2]) + slices[row[0]] = list(range(start, end)) + start = end + return slices + + def get_term_indices( + self, terms_spec: FormulaSpec, **formula_kwargs: Any + ) -> list[int]: + """ + Generate a list of column indices corresponding to the columns + associated with the nominated `term_spec`. + + This is useful when you want to slice a model matrix by specific terms. + If you want to generate new matrices for term subsets, consider using + `ModelSpec.subset()` instead. + + The nominated `terms_spec` will be interpreted as a formula + specification, and the resulting term set must only include terms that + are present in this `ModelSpec` instance. A `ValueError` error will be + raised if the `terms_spec` is structured or contains terms not + represented by this `ModelSpec`. + + The indices will be ordered according to the order of the terms in the + `terms_spec`. + + Args: + terms_spec: The specification for the terms for which to extract + indices. + formula_kwargs: Additional keyword arguments to pass to the + `Formula.from_spec` constructor to control (e.g.) ordering. + """ + terms: list[Term] = list( + self.__get_restricted_formula(terms_spec, **formula_kwargs) + ) + return [idx for term in terms for idx in self.term_indices[term]] + + @cached_property + def term_slices(self) -> dict[Term, slice]: + """ + An ordered mapping of `Term` instances to a slice that when used on + the columns of the model matrix will subsample the model matrix down to + those corresponding to each term. + + Note: Since terms hash using their string representation, you can look + up elements of this mapping using the string representation of the + `Term`. + """ + return { + k: slice(v[0], v[-1] + 1) if v else slice(0, 0) + for k, v in self.term_indices.items() + } + + @cached_property + def term_factors(self) -> dict[Term, set[Factor]]: + """ + A mapping from `Term` instances to the factors which were used to + generate them. + """ + term_factors: dict[Term, set[Factor]] = defaultdict(set) + for term in self.terms: + for factor in term.factors: + term_factors[term].add(factor) + return dict(term_factors) + + @cached_property + def term_variables(self) -> dict[Term, set[Variable]]: + """ + An ordered mapping of `Term` instances to the set of `Variable` + instances corresponding to the variables used in the evaluation of that + term. `Variable` instances are enriched strings, with the additional + attributes `.roles` and `.source`. + """ + term_variables = {} + for row in self.__structure: + term_variables[row[0]] = Variable.union( + *(term.variables for term in row[1]), + ) + return term_variables + + @cached_property + def factors(self) -> set[Factor]: + """ + The factors used to generate model matrices from this `ModelSpec` + instance. + """ + return {factor for term in self.terms for factor in term.factors} + + @cached_property + def factor_terms(self) -> dict[Factor, set[Term]]: + """ + A mapping from `Factor` instances to the terms which used it. This is + the reverse mapping of `.term_factors`. + """ + factor_terms: dict[Factor, set[Term]] = defaultdict(set) + for term, factors in self.term_factors.items(): + for factor in factors: + factor_terms[factor].add(term) + return dict(factor_terms) + + @cached_property + def factor_variables(self) -> dict[Factor, set[Variable]]: + """ + A mapping from `Factor` instances to the variables used in the evaluation + of that factor. + """ + factor_variables: dict[Factor, list[Variable]] = defaultdict(list) + for s in self.__structure: + for scoped_term in s.scoped_terms: + for scoped_factor in scoped_term.factors: + factor_variables[scoped_factor.factor.factor].extend( + scoped_factor.factor.variables + ) + + return { + factor: Variable.union(factor_variables.get(factor, [])) + for factor in self.factors + } + + @cached_property + def factor_contrasts(self) -> dict[Factor, ContrastsState]: + """ + A mapping of `Factor` instances to their contrasts state. This is useful + if you would like to introspect some of the coding choices, or reuse + these encodings outside of formulaic. Only categorical factors that were + encoded by Formulaic will be included in this mapping. + + Note that these contrast states do *not* include whether the factor was + encoded using reduced rank or not, since this is potentially ambiguous + even within a single term. [Depending on the context, a factor may + be encoded as either or both full and reduced rank in order to fully + span the vector space]. Instead, you can choose whether to reduce the + rank using: + ``` + model_spec.factor_contrasts[].get_coding_matrix(reduced_rank=True) + ``` + If not specified, the default is to reduce the rank, which gives the + more interesting matrices. + + Refer to the documentation of `ContrastsState` for more details. + """ + return { + factor: self.encoder_state[factor][1]["contrasts"] + for factor in self.factors + if factor in self.encoder_state + and self.encoder_state[factor][0] is Factor.Kind.CATEGORICAL + and "contrasts" in self.encoder_state[factor][1] + } + + @cached_property + def variables(self) -> set[Variable]: + """ + The variables used during the materialization of the entire formula. + """ + return Variable.union( + *(variables for variables in self.term_variables.values()) + ) + + @cached_property + def variable_terms(self) -> dict[Variable, set[Term]]: + """ + A mapping from `Variable` instances to the terms which used it. This is + the reverse mapping of `.term_variables`. + """ + variable_terms: dict[Variable, set[Term]] = defaultdict(set) + for term, variables in self.term_variables.items(): + for variable in variables: + variable_terms[variable].add(term) + return dict(variable_terms) + + @cached_property + def variable_indices(self) -> dict[Variable, list[int]]: + """ + A mapping from `Variable` instances to the indices in the model matrix + where they were used. + """ + return { + variable: sorted( + {index for term in terms for index in self.term_indices[term]} + ) + for variable, terms in self.variable_terms.items() + } + + def get_variable_indices( + self, variables: Sequence[Union[str, Variable]] + ) -> list[int]: + """ + Generate a list of column indices corresponding to the columns associated + with the nominated variables. This is useful when you want to slice a model + matrix by specific variables, and do not want to have to generate the indices + yourself. + + Args: + variables: The variable names to include in the subset. + """ + return [ + idx + for variable in variables + for idx in self.variable_indices[variable] # type: ignore # Variables are strings too + ] + + @cached_property + def variables_by_source(self) -> dict[Optional[str], set[Variable]]: + """ + A mapping of source name to the set of variables drawn from that source. + Formulaic, by default, has three top-level sources of variables: + 'data', 'transforms', and 'context'. + """ + variables_by_source: dict[Optional[str], set[Variable]] = defaultdict(set) + for variable in self.variables: + variables_by_source[variable.source].add(variable) + return dict(variables_by_source) + + @property + def required_variables(self) -> set[Variable]: + """ + The set of variables required to be in the data to materialize this + model specification. Note that unlike `.variables`, this attribute + considers only the root variables (e.g. `a.fillna(0)` -> `a` vs. + `a.fillna`). + + If `.structure` has not been populated (which contains metadata about + which columns where ultimate drawn from the data during + materialization), then this will fallback to the variables inferred to + be required by `.formula`. + """ + if self.structure is None: + return self.formula.required_variables + return {v.root for v in self.variables_by_source.get("data", set())} + + def get_slice(self, columns_identifier: Union[int, str, Term, slice]) -> slice: + """ + Generate a `slice` instance corresponding to the columns associated with + the nominated `columns_identifier`. While this is provided for + convenience, it is usually better in library code to directly use the + indexing metadata methods/attributes associated with the nominated + identifier. + + Args: + columns_identifier: The identifier for which the slice should be + generated. Can be one of: + - an integer specifying a specific column index. + - a `Term` instance + - a string representation of a term + - a column name + """ + if isinstance(columns_identifier, slice): + return columns_identifier + if isinstance(columns_identifier, int): + return slice(columns_identifier, columns_identifier + 1) + + term_slices = self.term_slices + if isinstance(columns_identifier, Term): + if columns_identifier not in term_slices: + raise ValueError( + f"Model matrices built using this spec do not include term: `{columns_identifier}`." + ) + return term_slices[columns_identifier] + if columns_identifier in term_slices: + return term_slices[columns_identifier] # type: ignore # Terms hash equivalent to their string repr + + column_indices = self.column_indices + if columns_identifier in column_indices: + idx = column_indices[columns_identifier] + return slice(idx, idx + 1) + + raise ValueError( + f"Model matrices built using this spec do not have any columns related to: `{repr(columns_identifier)}`." + ) + + # Utility methods + + def get_materializer( + self, data: Any, context: Optional[Mapping[str, Any]] = None + ) -> FormulaMaterializer: + """ + Construct a `FormulaMaterializer` instance for `data` that can be used + to generate model matrices consistent with this model specification. + + Args: + data: The data for which to build the materializer. + context: An additional mapping object of names to make available in + when evaluating formula term factors. + """ + if self.materializer is None: + materializer = FormulaMaterializer.for_data(data) + else: + materializer = FormulaMaterializer.for_materializer(self.materializer) + return materializer(data, context=context, **(self.materializer_params or {})) + + def get_model_matrix( + self, + data: Any, + context: Optional[Mapping[str, Any]] = None, + drop_rows: Optional[set[int]] = None, + **attr_overrides: Any, + ) -> ModelMatrix: + """ + Build the model matrix (or matrices) realisation of this model spec for + the nominated `data`. + + Args: + data: The data for which to build the model matrices. + context: An additional mapping object of names to make available in + when evaluating formula term factors. + drop_rows: An optional set of row indices to drop from the model + matrix. If specified, it will also be updated during + materialization with any additional rows dropped due to null + values. + attr_overrides: Any `ModelSpec` attributes to override before + constructing model matrices. This is shorthand for first + running `ModelSpec.update(**attr_overrides)`. + """ + if attr_overrides: + return self.update(**attr_overrides).get_model_matrix(data, context=context) + return cast( + "ModelMatrix", + self.get_materializer(data, context=context).get_model_matrix( + self, drop_rows=drop_rows + ), + ) + + def get_linear_constraints(self, spec: LinearConstraintSpec) -> LinearConstraints: + """ + Construct a `LinearConstraints` instance from a specification based on + the structure of the model matrices associated with this model spec. + + Args: + spec: The specification from which to derive the constraints. Refer + to `LinearConstraints.from_spec` for more details. + """ + return LinearConstraints.from_spec(spec, variable_names=self.column_names) + + # Transforms + + def update(self, **kwargs: Any) -> ModelSpec: + """ + Create a copy of this `ModelSpec` instance with the nominated attributes + mutated. + """ + return replace(self, **kwargs) + + def subset(self, terms_spec: FormulaSpec, **formula_kwargs: Any) -> ModelSpec: + """ + Subset this `ModelSpec` instance to only include the columns associated + with the nominated terms. + + This is useful when you want to fit restricted models on a strict subset + of features included in this `ModelSpec` instance, and want to generate + new model matrices with just these terms. If you just want to subset an + existing model matrix, you can use `ModelSpec.get_term_indices()` + instead. + + Terms are selected from this `ModelSpec` instance by constructing a + `Formula` instance from the provided `terms_spec`, and then matching the + terms with those found in this `ModelSpec` instance. An error will be + raised if the `terms_spec` is incompatibly structured or contains terms + not represented by this `ModelSpec` instance. The model spec column + ordering will follow the ordering of the terms in `terms_spec`. + + Note that subsetting this `ModelSpec` is in general not equivalent to + constructing this `ModelSpec` instance from scratch with the provided + formula specification. Specifically, the output is likely not to be + structurally full-rank whenever categorical variables are involved. + Instead, columns generated from the subset model spec are guaranteed to + match the corresponding columns generated from this parent model spec. + + Args: + terms_spec: The terms to include in the subset. A `Formula` instance + will be constructed from this specification, and the resulting + terms will be used to select the terms to include from this + model spec. + formula_kwargs: Additional keyword arguments to pass to the + `Formula.from_spec` constructor to control (e.g.) ordering. + """ + + formula: SimpleFormula = self.__get_restricted_formula( + terms_spec, **formula_kwargs + ) + terms: list[Term] = list(formula) + terms_set: set[Term] = set(terms) + term_structure = {s.term: s for s in self.__structure if s.term in terms_set} + + return self.update( + formula=formula, + structure=[term_structure[term] for term in terms], + ) + + def differentiate(self, *wrt: str, use_sympy: bool = False) -> ModelSpec: + """ + EXPERIMENTAL: Take the gradient of this model spec. When used a linear + regression, evaluating a trained model on model matrices generated by + this formula is equivalent to estimating the gradient of that fitted + form with respect to `vars`. + + Args: + wrt: The variables with respect to which the gradient should be + taken. + use_sympy: Whether to use sympy to perform symbolic differentiation. + + Notes: + This method is provisional and may be removed in any future major + version. + """ + return self.update( + formula=self.formula.differentiate(*wrt, use_sympy=use_sympy), + ) + + # Only include dataclass fields when pickling. + def __getstate__(self) -> dict[str, Any]: + return { + k: v for k, v in self.__dict__.items() if k in self.__dataclass_fields__ + } + + # Helpers + + def __get_restricted_formula( + self, spec: FormulaSpec, **formula_kwargs: Any + ) -> SimpleFormula: + """ + Construct a `Formula` instance from the provided `spec` that is a + restriction of the formula associated with this `ModelSpec` instance. A + `ValueError` is raised if the provided `spec` results in a structured + formula, or if it contains terms that are not described by this + `ModelSpec`. + + Args: + spec: The formula specification for the restricted formula. + formula_kwargs: Additional keyword arguments to pass to the + `Formula.from_spec` constructor to control (e.g.) ordering. + """ + formula = SimpleFormula.from_spec(spec, **formula_kwargs) + if isinstance(formula, StructuredFormula): + raise ValueError( + "Cannot subset a `ModelSpec` using a formula that has structure." + ) + + missing_terms: set[Term] = set(formula).difference(self.terms) + if missing_terms: + raise ValueError( + f"Cannot subset a model spec with terms not present in the original model spec: {missing_terms}." + ) + + return formula + + +class ModelSpecs(Structured[ModelSpec]): + """ + A `Structured[ModelSpec]` subclass that exposes some convenience methods + that should be mapped onto all contained `ModelSpec` instances. + """ + + def _prepare_item(self, key: str, item: Any) -> Any: + # Verify that all included items are `ModelSpec` instances. + if not isinstance(item, ModelSpec): + raise TypeError( + "`ModelSpecs` instances expect all items to be instances of " + f"`ModelSpec`. [Got: {repr(item)} of type {repr(type(item))} " + f"for key {repr(key)}." + ) + return item + + @property + def required_variables(self) -> set[Variable]: + """ + The set of variables required to be in the data to materialize all of + the model specifications in this `ModelSpecs` instance. + """ + variables: set[Variable] = set() + self._map(lambda ms: variables.update(ms.required_variables)) + return variables + + def get_model_matrix( + self, + data: Any, + context: Optional[Mapping[str, Any]] = None, + drop_rows: Optional[set[int]] = None, + **attr_overrides: Any, + ) -> ModelMatrices: + """ + This method proxies the `ModelSpec.get_model_matrix(...)` API and allows + it to be called on a structured set of `ModelSpec` instances. If all + `ModelSpec.materializer` and `ModelSpec.materializer_params` values are + unset or the same, then they are jointly evaluated allowing re-use of + the same cached across the specs. + + Args: + data: The data for which to build the model matrices. + context: An additional mapping object of names to make available in + when evaluating formula term factors. + drop_rows: An optional set of row indices to drop from the model + matrix. If specified, it will also be updated during + materialization with any additional rows dropped due to null + values. + attr_overrides: Any `ModelSpec` attributes to override before + constructing model matrices. This is shorthand for first + running `ModelSpec.from_spec(model_specs, **attr_overrides)`. + """ + from formulaic import ModelMatrices + + if attr_overrides: + return cast( + ModelSpecs, ModelSpec.from_spec(self, **attr_overrides) + ).get_model_matrix(data, context=context, drop_rows=drop_rows) + + # Check whether we can generate model matrices jointly (i.e. all + # materializers and their params are the same) + jointly_generate = False + materializer, materializer_params = None, None + + for spec in self._flatten(): + if not spec.materializer: + continue + if materializer not in ( + None, + spec.materializer, + ) or materializer_params not in ( + None, + spec.materializer_params, + ): + break + materializer, materializer_params = ( + spec.materializer, + spec.materializer_params or None, + ) + else: + jointly_generate = True + + if jointly_generate: + if materializer is None: + materializer = FormulaMaterializer.for_data(data) + else: + materializer = FormulaMaterializer.for_materializer(materializer) + return materializer( # type: ignore + data, context=context, **(materializer_params or {}) + ).get_model_matrix(self) + + return cast( + ModelMatrices, + self._map( + lambda model_spec: model_spec.get_model_matrix( + data, context=context, drop_rows=drop_rows + ), + as_type=ModelMatrices, + ), + ) + + def subset(self, terms_spec: FormulaSpec) -> ModelSpecs: + """ + Subset this `ModelSpecs` instance to only include the columns associated + with the nominated terms. The structure of `terms_spec` must match the + structure of this `ModelSpecs` instance where they overlap. For more + details, please reference to `ModelSpec.subset`. + + Args: + terms_spec: The terms to include in the subset. A `Formula` instance + will be constructed from this specification, and the resulting + terms will be used to select the terms to include from this + model spec. + """ + + def map_formula_structure_onto_model_spec( + formula: SimpleFormula, context: tuple[Union[int, str], ...] + ) -> ModelSpec: + try: + return self[context].subset(formula) + except KeyError: + raise ValueError( + f"Cannot subset a `ModelSpecs` instance using a formula with a different structure [indexing path `{context}` not found]." + ) + + formula = SimpleFormula.from_spec(terms_spec) + if isinstance(formula, SimpleFormula): + raise ValueError( + "Formula has no structure, and hence does not match the structure of the `ModelSpec` instance." + ) + return cast( + ModelSpecs, + formula._map(map_formula_structure_onto_model_spec, as_type=ModelSpecs), + ) + + def differentiate(self, *wrt: str, use_sympy: Any = False) -> ModelSpecs: + """ + This method proxies the experimental `ModelSpec.differentiate(...)` API. + See `ModelSpec.differentiate` for more details. + """ + return cast( + ModelSpecs, + self._map( + lambda model_spec: model_spec.differentiate(*wrt, use_sympy=use_sympy), + as_type=ModelSpecs, + ), + ) diff --git a/shared/package-files/70/7080c8656b1ef5ccf0c2c9e5c48877ab08306976edecf4008d7280726303b296/_m_a_x_p.py b/shared/package-files/70/7080c8656b1ef5ccf0c2c9e5c48877ab08306976edecf4008d7280726303b296/_m_a_x_p.py new file mode 100644 index 0000000000000000000000000000000000000000..c1576a578f22c375ad4c5c4534b38162329aadde --- /dev/null +++ b/shared/package-files/70/7080c8656b1ef5ccf0c2c9e5c48877ab08306976edecf4008d7280726303b296/_m_a_x_p.py @@ -0,0 +1,147 @@ +from fontTools.misc import sstruct +from fontTools.misc.textTools import safeEval +from . import DefaultTable + +maxpFormat_0_5 = """ + > # big endian + tableVersion: i + numGlyphs: H +""" + +maxpFormat_1_0_add = """ + > # big endian + maxPoints: H + maxContours: H + maxCompositePoints: H + maxCompositeContours: H + maxZones: H + maxTwilightPoints: H + maxStorage: H + maxFunctionDefs: H + maxInstructionDefs: H + maxStackElements: H + maxSizeOfInstructions: H + maxComponentElements: H + maxComponentDepth: H +""" + + +class table__m_a_x_p(DefaultTable.DefaultTable): + """Maximum Profile table + + The ``maxp`` table contains the memory requirements for the data in + the font. + + See also https://learn.microsoft.com/en-us/typography/opentype/spec/maxp + """ + + dependencies = ["glyf"] + + def decompile(self, data, ttFont): + dummy, data = sstruct.unpack2(maxpFormat_0_5, data, self) + self.numGlyphs = int(self.numGlyphs) + if self.tableVersion != 0x00005000: + dummy, data = sstruct.unpack2(maxpFormat_1_0_add, data, self) + assert len(data) == 0 + + def compile(self, ttFont): + if "glyf" in ttFont: + if ttFont.isLoaded("glyf") and ttFont.recalcBBoxes: + self.recalc(ttFont) + else: + pass # CFF + self.numGlyphs = len(ttFont.getGlyphOrder()) + if self.tableVersion != 0x00005000: + self.tableVersion = 0x00010000 + data = sstruct.pack(maxpFormat_0_5, self) + if self.tableVersion == 0x00010000: + data = data + sstruct.pack(maxpFormat_1_0_add, self) + return data + + def recalc(self, ttFont): + """Recalculate the font bounding box, and most other maxp values except + for the TT instructions values. Also recalculate the value of bit 1 + of the flags field and the font bounding box of the 'head' table. + """ + glyfTable = ttFont["glyf"] + hmtxTable = ttFont["hmtx"] + headTable = ttFont["head"] + self.numGlyphs = len(glyfTable) + INFINITY = 100000 + xMin = +INFINITY + yMin = +INFINITY + xMax = -INFINITY + yMax = -INFINITY + maxPoints = 0 + maxContours = 0 + maxCompositePoints = 0 + maxCompositeContours = 0 + maxComponentElements = 0 + maxComponentDepth = 0 + allXMinIsLsb = 1 + for glyphName in ttFont.getGlyphOrder(): + g = glyfTable[glyphName] + if g.numberOfContours: + if hmtxTable[glyphName][1] != g.xMin: + allXMinIsLsb = 0 + xMin = min(xMin, g.xMin) + yMin = min(yMin, g.yMin) + xMax = max(xMax, g.xMax) + yMax = max(yMax, g.yMax) + if g.numberOfContours > 0: + nPoints, nContours = g.getMaxpValues() + maxPoints = max(maxPoints, nPoints) + maxContours = max(maxContours, nContours) + elif g.isComposite(): + nPoints, nContours, componentDepth = g.getCompositeMaxpValues( + glyfTable + ) + maxCompositePoints = max(maxCompositePoints, nPoints) + maxCompositeContours = max(maxCompositeContours, nContours) + maxComponentElements = max(maxComponentElements, len(g.components)) + maxComponentDepth = max(maxComponentDepth, componentDepth) + if xMin == +INFINITY: + headTable.xMin = 0 + headTable.yMin = 0 + headTable.xMax = 0 + headTable.yMax = 0 + else: + headTable.xMin = xMin + headTable.yMin = yMin + headTable.xMax = xMax + headTable.yMax = yMax + self.maxPoints = maxPoints + self.maxContours = maxContours + self.maxCompositePoints = maxCompositePoints + self.maxCompositeContours = maxCompositeContours + self.maxComponentElements = maxComponentElements + self.maxComponentDepth = maxComponentDepth + if allXMinIsLsb: + headTable.flags = headTable.flags | 0x2 + else: + headTable.flags = headTable.flags & ~0x2 + + def testrepr(self): + items = sorted(self.__dict__.items()) + print(". . . . . . . . .") + for combo in items: + print(" %s: %s" % combo) + print(". . . . . . . . .") + + def toXML(self, writer, ttFont): + if self.tableVersion != 0x00005000: + writer.comment("Most of this table will be recalculated by the compiler") + writer.newline() + formatstring, names, fixes = sstruct.getformat(maxpFormat_0_5) + if self.tableVersion != 0x00005000: + formatstring, names_1_0, fixes = sstruct.getformat(maxpFormat_1_0_add) + names = {**names, **names_1_0} + for name in names: + value = getattr(self, name) + if name == "tableVersion": + value = hex(value) + writer.simpletag(name, value=value) + writer.newline() + + def fromXML(self, name, attrs, content, ttFont): + setattr(self, name, safeEval(attrs["value"])) diff --git a/shared/package-files/70/7085480948b589a84c412df4b2a2392254f64582511f6809d33eb4172b985059/test_preprocess_data.py b/shared/package-files/70/7085480948b589a84c412df4b2a2392254f64582511f6809d33eb4172b985059/test_preprocess_data.py new file mode 100644 index 0000000000000000000000000000000000000000..0684f0dbb9aef3a7ee195a4e6de723e1e271478d --- /dev/null +++ b/shared/package-files/70/7085480948b589a84c412df4b2a2392254f64582511f6809d33eb4172b985059/test_preprocess_data.py @@ -0,0 +1,288 @@ +import re +import sys + +import numpy as np +import pytest + +from matplotlib import _preprocess_data +from matplotlib.axes import Axes +from matplotlib.testing import subprocess_run_for_testing +from matplotlib.testing.decorators import check_figures_equal + +# Notes on testing the plotting functions itself +# * the individual decorated plotting functions are tested in 'test_axes.py' +# * that pyplot functions accept a data kwarg is only tested in +# test_axes.test_pie_linewidth_0 + + +# this gets used in multiple tests, so define it here +@_preprocess_data(replace_names=["x", "y"], label_namer="y") +def plot_func(ax, x, y, ls="x", label=None, w="xyz"): + return f"x: {list(x)}, y: {list(y)}, ls: {ls}, w: {w}, label: {label}" + + +all_funcs = [plot_func] +all_func_ids = ['plot_func'] + + +def test_compiletime_checks(): + """Test decorator invocations -> no replacements.""" + + def func(ax, x, y): pass + def func_args(ax, x, y, *args): pass + def func_kwargs(ax, x, y, **kwargs): pass + def func_no_ax_args(*args, **kwargs): pass + + # this is ok + _preprocess_data(replace_names=["x", "y"])(func) + _preprocess_data(replace_names=["x", "y"])(func_kwargs) + # this has "enough" information to do all the replaces + _preprocess_data(replace_names=["x", "y"])(func_args) + + # no positional_parameter_names but needed due to replaces + with pytest.raises(AssertionError): + # z is unknown + _preprocess_data(replace_names=["x", "y", "z"])(func_args) + + # no replacements at all -> all ok... + _preprocess_data(replace_names=[], label_namer=None)(func) + _preprocess_data(replace_names=[], label_namer=None)(func_args) + _preprocess_data(replace_names=[], label_namer=None)(func_kwargs) + _preprocess_data(replace_names=[], label_namer=None)(func_no_ax_args) + + # label namer is unknown + with pytest.raises(AssertionError): + _preprocess_data(label_namer="z")(func) + + with pytest.raises(AssertionError): + _preprocess_data(label_namer="z")(func_args) + + +@pytest.mark.parametrize('func', all_funcs, ids=all_func_ids) +def test_function_call_without_data(func): + """Test without data -> no replacements.""" + assert (func(None, "x", "y") == + "x: ['x'], y: ['y'], ls: x, w: xyz, label: None") + assert (func(None, x="x", y="y") == + "x: ['x'], y: ['y'], ls: x, w: xyz, label: None") + assert (func(None, "x", "y", label="") == + "x: ['x'], y: ['y'], ls: x, w: xyz, label: ") + assert (func(None, "x", "y", label="text") == + "x: ['x'], y: ['y'], ls: x, w: xyz, label: text") + assert (func(None, x="x", y="y", label="") == + "x: ['x'], y: ['y'], ls: x, w: xyz, label: ") + assert (func(None, x="x", y="y", label="text") == + "x: ['x'], y: ['y'], ls: x, w: xyz, label: text") + + +@pytest.mark.parametrize('func', all_funcs, ids=all_func_ids) +def test_function_call_with_dict_input(func): + """Tests with dict input, unpacking via preprocess_pipeline""" + data = {'a': 1, 'b': 2} + assert (func(None, data.keys(), data.values()) == + "x: ['a', 'b'], y: [1, 2], ls: x, w: xyz, label: None") + + +@pytest.mark.parametrize('func', all_funcs, ids=all_func_ids) +def test_function_call_with_dict_data(func): + """Test with dict data -> label comes from the value of 'x' parameter.""" + data = {"a": [1, 2], "b": [8, 9], "w": "NOT"} + assert (func(None, "a", "b", data=data) == + "x: [1, 2], y: [8, 9], ls: x, w: xyz, label: b") + assert (func(None, x="a", y="b", data=data) == + "x: [1, 2], y: [8, 9], ls: x, w: xyz, label: b") + assert (func(None, "a", "b", label="", data=data) == + "x: [1, 2], y: [8, 9], ls: x, w: xyz, label: ") + assert (func(None, "a", "b", label="text", data=data) == + "x: [1, 2], y: [8, 9], ls: x, w: xyz, label: text") + assert (func(None, x="a", y="b", label="", data=data) == + "x: [1, 2], y: [8, 9], ls: x, w: xyz, label: ") + assert (func(None, x="a", y="b", label="text", data=data) == + "x: [1, 2], y: [8, 9], ls: x, w: xyz, label: text") + + +@pytest.mark.parametrize('func', all_funcs, ids=all_func_ids) +def test_function_call_with_dict_data_not_in_data(func): + """Test the case that one var is not in data -> half replaces, half kept""" + data = {"a": [1, 2], "w": "NOT"} + assert (func(None, "a", "b", data=data) == + "x: [1, 2], y: ['b'], ls: x, w: xyz, label: b") + assert (func(None, x="a", y="b", data=data) == + "x: [1, 2], y: ['b'], ls: x, w: xyz, label: b") + assert (func(None, "a", "b", label="", data=data) == + "x: [1, 2], y: ['b'], ls: x, w: xyz, label: ") + assert (func(None, "a", "b", label="text", data=data) == + "x: [1, 2], y: ['b'], ls: x, w: xyz, label: text") + assert (func(None, x="a", y="b", label="", data=data) == + "x: [1, 2], y: ['b'], ls: x, w: xyz, label: ") + assert (func(None, x="a", y="b", label="text", data=data) == + "x: [1, 2], y: ['b'], ls: x, w: xyz, label: text") + + +@pytest.mark.parametrize('func', all_funcs, ids=all_func_ids) +def test_function_call_with_pandas_data(func, pd): + """Test with pandas dataframe -> label comes from ``data["col"].name``.""" + data = pd.DataFrame({"a": np.array([1, 2], dtype=np.int32), + "b": np.array([8, 9], dtype=np.int32), + "w": ["NOT", "NOT"]}) + + assert (func(None, "a", "b", data=data) == + "x: [1, 2], y: [8, 9], ls: x, w: xyz, label: b") + assert (func(None, x="a", y="b", data=data) == + "x: [1, 2], y: [8, 9], ls: x, w: xyz, label: b") + assert (func(None, "a", "b", label="", data=data) == + "x: [1, 2], y: [8, 9], ls: x, w: xyz, label: ") + assert (func(None, "a", "b", label="text", data=data) == + "x: [1, 2], y: [8, 9], ls: x, w: xyz, label: text") + assert (func(None, x="a", y="b", label="", data=data) == + "x: [1, 2], y: [8, 9], ls: x, w: xyz, label: ") + assert (func(None, x="a", y="b", label="text", data=data) == + "x: [1, 2], y: [8, 9], ls: x, w: xyz, label: text") + + +def test_function_call_replace_all(): + """Test without a "replace_names" argument, all vars should be replaced.""" + data = {"a": [1, 2], "b": [8, 9], "x": "xyz"} + + @_preprocess_data(label_namer="y") + def func_replace_all(ax, x, y, ls="x", label=None, w="NOT"): + return f"x: {list(x)}, y: {list(y)}, ls: {ls}, w: {w}, label: {label}" + + assert (func_replace_all(None, "a", "b", w="x", data=data) == + "x: [1, 2], y: [8, 9], ls: x, w: xyz, label: b") + assert (func_replace_all(None, x="a", y="b", w="x", data=data) == + "x: [1, 2], y: [8, 9], ls: x, w: xyz, label: b") + assert (func_replace_all(None, "a", "b", w="x", label="", data=data) == + "x: [1, 2], y: [8, 9], ls: x, w: xyz, label: ") + assert ( + func_replace_all(None, "a", "b", w="x", label="text", data=data) == + "x: [1, 2], y: [8, 9], ls: x, w: xyz, label: text") + assert ( + func_replace_all(None, x="a", y="b", w="x", label="", data=data) == + "x: [1, 2], y: [8, 9], ls: x, w: xyz, label: ") + assert ( + func_replace_all(None, x="a", y="b", w="x", label="text", data=data) == + "x: [1, 2], y: [8, 9], ls: x, w: xyz, label: text") + + +def test_no_label_replacements(): + """Test with "label_namer=None" -> no label replacement at all.""" + + @_preprocess_data(replace_names=["x", "y"], label_namer=None) + def func_no_label(ax, x, y, ls="x", label=None, w="xyz"): + return f"x: {list(x)}, y: {list(y)}, ls: {ls}, w: {w}, label: {label}" + + data = {"a": [1, 2], "b": [8, 9], "w": "NOT"} + assert (func_no_label(None, "a", "b", data=data) == + "x: [1, 2], y: [8, 9], ls: x, w: xyz, label: None") + assert (func_no_label(None, x="a", y="b", data=data) == + "x: [1, 2], y: [8, 9], ls: x, w: xyz, label: None") + assert (func_no_label(None, "a", "b", label="", data=data) == + "x: [1, 2], y: [8, 9], ls: x, w: xyz, label: ") + assert (func_no_label(None, "a", "b", label="text", data=data) == + "x: [1, 2], y: [8, 9], ls: x, w: xyz, label: text") + + +def test_more_args_than_pos_parameter(): + @_preprocess_data(replace_names=["x", "y"], label_namer="y") + def func(ax, x, y, z=1): + pass + + data = {"a": [1, 2], "b": [8, 9], "w": "NOT"} + with pytest.raises(TypeError): + func(None, "a", "b", "z", "z", data=data) + + +def test_docstring_addition(): + @_preprocess_data() + def funcy(ax, *args, **kwargs): + """ + Parameters + ---------- + data : indexable object, optional + DATA_PARAMETER_PLACEHOLDER + """ + + assert re.search(r"all parameters also accept a string", funcy.__doc__) + assert not re.search(r"the following parameters", funcy.__doc__) + + @_preprocess_data(replace_names=[]) + def funcy(ax, x, y, z, bar=None): + """ + Parameters + ---------- + data : indexable object, optional + DATA_PARAMETER_PLACEHOLDER + """ + + assert not re.search(r"all parameters also accept a string", funcy.__doc__) + assert not re.search(r"the following parameters", funcy.__doc__) + + @_preprocess_data(replace_names=["bar"]) + def funcy(ax, x, y, z, bar=None): + """ + Parameters + ---------- + data : indexable object, optional + DATA_PARAMETER_PLACEHOLDER + """ + + assert not re.search(r"all parameters also accept a string", funcy.__doc__) + assert not re.search(r"the following parameters .*: \*bar\*\.", + funcy.__doc__) + + @_preprocess_data(replace_names=["x", "t"]) + def funcy(ax, x, y, z, t=None): + """ + Parameters + ---------- + data : indexable object, optional + DATA_PARAMETER_PLACEHOLDER + """ + + assert not re.search(r"all parameters also accept a string", funcy.__doc__) + assert not re.search(r"the following parameters .*: \*x\*, \*t\*\.", + funcy.__doc__) + + +def test_data_parameter_replacement(): + """ + Test that the docstring contains the correct *data* parameter stub + for all methods that we run _preprocess_data() on. + """ + program = ( + "import logging; " + "logging.basicConfig(level=logging.DEBUG); " + "import matplotlib.pyplot as plt" + ) + cmd = [sys.executable, "-c", program] + completed_proc = subprocess_run_for_testing( + cmd, text=True, capture_output=True + ) + assert 'data parameter docstring error' not in completed_proc.stderr + + +class TestPlotTypes: + + plotters = [Axes.scatter, Axes.bar, Axes.plot] + + @pytest.mark.parametrize('plotter', plotters) + @check_figures_equal(extensions=['png']) + def test_dict_unpack(self, plotter, fig_test, fig_ref): + x = [1, 2, 3] + y = [4, 5, 6] + ddict = dict(zip(x, y)) + + plotter(fig_test.subplots(), + ddict.keys(), ddict.values()) + plotter(fig_ref.subplots(), x, y) + + @pytest.mark.parametrize('plotter', plotters) + @check_figures_equal(extensions=['png']) + def test_data_kwarg(self, plotter, fig_test, fig_ref): + x = [1, 2, 3] + y = [4, 5, 6] + + plotter(fig_test.subplots(), 'xval', 'yval', + data={'xval': x, 'yval': y}) + plotter(fig_ref.subplots(), x, y) diff --git a/shared/package-files/70/708731c44ee24f67c48a9f80c293771aadc7d7947379f17ee7cf81a42ff16109/_fsdp_api.py b/shared/package-files/70/708731c44ee24f67c48a9f80c293771aadc7d7947379f17ee7cf81a42ff16109/_fsdp_api.py new file mode 100644 index 0000000000000000000000000000000000000000..26444ccf1e087383be1a3c0783c3c0ea4d402640 --- /dev/null +++ b/shared/package-files/70/708731c44ee24f67c48a9f80c293771aadc7d7947379f17ee7cf81a42ff16109/_fsdp_api.py @@ -0,0 +1,52 @@ +from dataclasses import dataclass +from typing import Optional + +import torch + + +@dataclass(frozen=True) +class MixedPrecisionPolicy: + """ + This configures FSDP's mixed precision. Unlike autocast, this applies mixed + precision at the module level, not op level, which means low-precision + activations are saved for backward and high-to-low-precision casts are + incurred only at module boundaries. + + FSDP works well with module-level mixed precision since it keeps the + high-precision sharded parameters in memory anyway. In other words, FSDP + does not require any extra memory to keep a high-precision copy of the + parameters for the optimizer step. + + Attributes: + param_dtype (Optional[torch.dtype]): This specifies the dtype for + the unsharded parameter and hence the dtype for forward/backward + computation and the parameter all-gather. If this is ``None``, then + the unsharded parameter uses the original dtype. The optimizer step + uses the sharded parameter in the original dtype. (Default: + ``None``) + reduce_dtype (Optional[torch.dtype]): This specifies the dtype for + gradient reduction (i.e. reduce-scatter or all-reduce). If this is + ``None`` but ``param_dtype`` is not ``None``, then the reduction + uses the compute dtype. This can be used to run gradient reduction + in full precision while using low precision for compute. (Default: + ``None``) + output_dtype (Optional[torch.dtype]): This specifies the dtype for + casting floating-point forward outputs. This can be used to + help implement cases where different modules have different mixed + precision policies. (Default: ``None``) + cast_forward_inputs (bool): This specifies whether FSDP should cast the + forward's floating-point input tensors to ``param_dtype`` or not. + """ + + param_dtype: Optional[torch.dtype] = None + reduce_dtype: Optional[torch.dtype] = None + output_dtype: Optional[torch.dtype] = None + cast_forward_inputs: bool = True + + def __post_init__(self): + # Clamp `reduce_dtype` to `None` if no casting is required: since + # gradients are computed in `param_dtype`, if `reduce_dtype` matches, + # then we do not need extra casting + if self.param_dtype == self.reduce_dtype: + # Bypass the frozen dataclass checks + object.__setattr__(self, "reduce_dtype", None) diff --git a/shared/package-files/70/7088f69c972d3273af10381379fa41de3ca9589ebe4476acaadc72c2bc57c348/test_matmul.py b/shared/package-files/70/7088f69c972d3273af10381379fa41de3ca9589ebe4476acaadc72c2bc57c348/test_matmul.py new file mode 100644 index 0000000000000000000000000000000000000000..4ca3ad3f7031e20b8d6cec36caadbcefef8c4196 --- /dev/null +++ b/shared/package-files/70/7088f69c972d3273af10381379fa41de3ca9589ebe4476acaadc72c2bc57c348/test_matmul.py @@ -0,0 +1,82 @@ +import operator + +import numpy as np +import pytest + +from pandas import ( + DataFrame, + Series, +) +import pandas._testing as tm + + +class TestMatmul: + def test_matmul(self): + # matmul test is for GH#10259 + a = Series( + np.random.default_rng(2).standard_normal(4), index=["p", "q", "r", "s"] + ) + b = DataFrame( + np.random.default_rng(2).standard_normal((3, 4)), + index=["1", "2", "3"], + columns=["p", "q", "r", "s"], + ).T + + # Series @ DataFrame -> Series + result = operator.matmul(a, b) + expected = Series(np.dot(a.values, b.values), index=["1", "2", "3"]) + tm.assert_series_equal(result, expected) + + # DataFrame @ Series -> Series + result = operator.matmul(b.T, a) + expected = Series(np.dot(b.T.values, a.T.values), index=["1", "2", "3"]) + tm.assert_series_equal(result, expected) + + # Series @ Series -> scalar + result = operator.matmul(a, a) + expected = np.dot(a.values, a.values) + tm.assert_almost_equal(result, expected) + + # GH#21530 + # vector (1D np.array) @ Series (__rmatmul__) + result = operator.matmul(a.values, a) + expected = np.dot(a.values, a.values) + tm.assert_almost_equal(result, expected) + + # GH#21530 + # vector (1D list) @ Series (__rmatmul__) + result = operator.matmul(a.values.tolist(), a) + expected = np.dot(a.values, a.values) + tm.assert_almost_equal(result, expected) + + # GH#21530 + # matrix (2D np.array) @ Series (__rmatmul__) + result = operator.matmul(b.T.values, a) + expected = np.dot(b.T.values, a.values) + tm.assert_almost_equal(result, expected) + + # GH#21530 + # matrix (2D nested lists) @ Series (__rmatmul__) + result = operator.matmul(b.T.values.tolist(), a) + expected = np.dot(b.T.values, a.values) + tm.assert_almost_equal(result, expected) + + # mixed dtype DataFrame @ Series + a["p"] = int(a.p) + result = operator.matmul(b.T, a) + expected = Series(np.dot(b.T.values, a.T.values), index=["1", "2", "3"]) + tm.assert_series_equal(result, expected) + + # different dtypes DataFrame @ Series + a = a.astype(int) + result = operator.matmul(b.T, a) + expected = Series(np.dot(b.T.values, a.T.values), index=["1", "2", "3"]) + tm.assert_series_equal(result, expected) + + msg = r"Dot product shape mismatch, \(4,\) vs \(3,\)" + # exception raised is of type Exception + with pytest.raises(Exception, match=msg): + a.dot(a.values[:3]) + msg = "matrices are not aligned" + with pytest.raises(ValueError, match=msg): + a.dot(b.T) diff --git a/shared/package-files/70/708a88833272a9631b8d4525bd37410ff571b6e8674b68c55fb83f29094f8c50/varStore.py b/shared/package-files/70/708a88833272a9631b8d4525bd37410ff571b6e8674b68c55fb83f29094f8c50/varStore.py new file mode 100644 index 0000000000000000000000000000000000000000..7f9aad63d04af86fade4fc8c0704a0a0d3cc88c0 --- /dev/null +++ b/shared/package-files/70/708a88833272a9631b8d4525bd37410ff571b6e8674b68c55fb83f29094f8c50/varStore.py @@ -0,0 +1,927 @@ +from fontTools.misc.roundTools import noRound, otRound +from fontTools.misc.intTools import bit_count +from fontTools.ttLib.tables import otTables as ot +from fontTools.varLib.models import supportScalar +from fontTools.varLib.builder import ( + buildVarRegionList, + buildVarStore, + buildVarRegion, + buildVarData, +) +from functools import partial +from collections import defaultdict +from heapq import heappush, heappop +import itertools + +NO_VARIATION_INDEX = ot.NO_VARIATION_INDEX +ot.VarStore.NO_VARIATION_INDEX = NO_VARIATION_INDEX + + +def _getLocationKey(loc): + return tuple(sorted(loc.items(), key=lambda kv: kv[0])) + + +class OnlineVarStoreBuilder(object): + def __init__(self, axisTags): + self._axisTags = axisTags + self._regionMap = {} + self._regionList = buildVarRegionList([], axisTags) + self._store = buildVarStore(self._regionList, []) + self._data = None + self._model = None + self._supports = None + self._varDataIndices = {} + self._varDataCaches = {} + self._cache = None + + def setModel(self, model): + self.setSupports(model.supports) + self._model = model + + def setSupports(self, supports): + self._model = None + self._supports = list(supports) + if self._supports and not self._supports[0]: + del self._supports[0] # Drop base master support + self._cache = None + self._data = None + + def finish(self, optimize=True): + self._regionList.RegionCount = len(self._regionList.Region) + self._store.VarDataCount = len(self._store.VarData) + for data in self._store.VarData: + data.ItemCount = len(data.Item) + data.calculateNumShorts(optimize=optimize) + return self._store + + def _add_VarData(self, num_items=1): + regionMap = self._regionMap + regionList = self._regionList + + regions = self._supports + regionIndices = [] + for region in regions: + key = _getLocationKey(region) + idx = regionMap.get(key) + if idx is None: + varRegion = buildVarRegion(region, self._axisTags) + idx = regionMap[key] = len(regionList.Region) + regionList.Region.append(varRegion) + regionIndices.append(idx) + + # Check if we have one already... + key = tuple(regionIndices) + varDataIdx = self._varDataIndices.get(key) + if varDataIdx is not None: + self._outer = varDataIdx + self._data = self._store.VarData[varDataIdx] + self._cache = self._varDataCaches[key] + if len(self._data.Item) + num_items > 0xFFFF: + # This is full. Need new one. + varDataIdx = None + + if varDataIdx is None: + self._data = buildVarData(regionIndices, [], optimize=False) + self._outer = len(self._store.VarData) + self._store.VarData.append(self._data) + self._varDataIndices[key] = self._outer + if key not in self._varDataCaches: + self._varDataCaches[key] = {} + self._cache = self._varDataCaches[key] + + def storeMasters(self, master_values, *, round=round): + deltas = self._model.getDeltas(master_values, round=round) + base = deltas.pop(0) + return base, self.storeDeltas(deltas, round=noRound) + + def storeMastersMany(self, master_values_list, *, round=round): + deltas_list = [ + self._model.getDeltas(master_values, round=round) + for master_values in master_values_list + ] + base_list = [deltas.pop(0) for deltas in deltas_list] + return base_list, self.storeDeltasMany(deltas_list, round=noRound) + + def storeDeltas(self, deltas, *, round=round): + deltas = [round(d) for d in deltas] + if len(deltas) == len(self._supports) + 1: + deltas = tuple(deltas[1:]) + else: + assert len(deltas) == len(self._supports) + deltas = tuple(deltas) + + if not self._data: + self._add_VarData() + + varIdx = self._cache.get(deltas) + if varIdx is not None: + return varIdx + + inner = len(self._data.Item) + if inner == 0xFFFF: + # Full array. Start new one. + self._add_VarData() + return self.storeDeltas(deltas, round=noRound) + self._data.addItem(deltas, round=noRound) + + varIdx = (self._outer << 16) + inner + self._cache[deltas] = varIdx + return varIdx + + def storeDeltasMany(self, deltas_list, *, round=round): + deltas_list = [[round(d) for d in deltas] for deltas in deltas_list] + deltas_list = tuple(tuple(deltas) for deltas in deltas_list) + + if not self._data: + self._add_VarData(len(deltas_list)) + + varIdx = self._cache.get(deltas_list) + if varIdx is not None: + return varIdx + + inner = len(self._data.Item) + if inner + len(deltas_list) > 0xFFFF: + # Full array. Start new one. + self._add_VarData(len(deltas_list)) + return self.storeDeltasMany(deltas_list, round=noRound) + for i, deltas in enumerate(deltas_list): + self._data.addItem(deltas, round=noRound) + + varIdx = (self._outer << 16) + inner + i + self._cache[deltas] = varIdx + + varIdx = (self._outer << 16) + inner + self._cache[deltas_list] = varIdx + + return varIdx + + +def VarData_addItem(self, deltas, *, round=round): + deltas = [round(d) for d in deltas] + + countUs = self.VarRegionCount + countThem = len(deltas) + if countUs + 1 == countThem: + deltas = list(deltas[1:]) + else: + assert countUs == countThem, (countUs, countThem) + deltas = list(deltas) + self.Item.append(deltas) + self.ItemCount = len(self.Item) + + +ot.VarData.addItem = VarData_addItem + + +def VarRegion_get_support(self, fvar_axes): + return { + fvar_axes[i].axisTag: (reg.StartCoord, reg.PeakCoord, reg.EndCoord) + for i, reg in enumerate(self.VarRegionAxis) + if reg.PeakCoord != 0 + } + + +ot.VarRegion.get_support = VarRegion_get_support + + +def VarStore___bool__(self): + return bool(self.VarData) + + +ot.VarStore.__bool__ = VarStore___bool__ + + +class VarStoreInstancer(object): + """Evaluate a VarStore's deltas at a (mutable via setLocation) location. + + Region supports are cached for the lifetime of the instancer: after + mutating the store's regions (or the fvar axes), construct a new + instancer rather than reusing this one via setLocation. + """ + + def __init__(self, varstore, fvar_axes, location={}): + self.fvar_axes = fvar_axes + assert varstore is None or varstore.Format == 1 + self._varData = varstore.VarData if varstore else [] + self._regions = varstore.VarRegionList.Region if varstore else [] + # Region supports are location-independent, so cache them for the + # lifetime of the instancer (they survive setLocation); only the + # per-region scalars, which depend on the location, are recomputed. + # This makes reusing one instancer across many locations cheap. + self._supports = {} + self.setLocation(location) + + def setLocation(self, location): + self.location = dict(location) + self._clearCaches() + + def _clearCaches(self): + self._scalars = {} + + def _getSupport(self, regionIdx): + support = self._supports.get(regionIdx) + if support is None: + support = self._regions[regionIdx].get_support(self.fvar_axes) + self._supports[regionIdx] = support + return support + + def _getScalar(self, regionIdx): + scalar = self._scalars.get(regionIdx) + if scalar is None: + scalar = supportScalar(self.location, self._getSupport(regionIdx)) + self._scalars[regionIdx] = scalar + return scalar + + @staticmethod + def interpolateFromDeltasAndScalars(deltas, scalars): + delta = 0.0 + for d, s in zip(deltas, scalars): + if not s: + continue + delta += d * s + return delta + + def __getitem__(self, varidx): + major, minor = varidx >> 16, varidx & 0xFFFF + if varidx == NO_VARIATION_INDEX: + return 0.0 + varData = self._varData + # Keep full instancing consistent with _effectiveAvar2VarIdx: out-of-range + # delta-set indices contribute zero. HarfBuzz uses the same policy: + # https://github.com/harfbuzz/harfbuzz/blob/d2df3cdcc0836299a163dc0399a6b047d19ac56c/src/hb-ot-layout-common.hh#L2912-L2918 + # https://github.com/harfbuzz/harfbuzz/blob/d2df3cdcc0836299a163dc0399a6b047d19ac56c/src/hb-ot-layout-common.hh#L3354-L3363 + if major >= len(varData) or minor >= len(varData[major].Item): + return 0.0 + scalars = [self._getScalar(ri) for ri in varData[major].VarRegionIndex] + deltas = varData[major].Item[minor] + return self.interpolateFromDeltasAndScalars(deltas, scalars) + + def interpolateFromDeltas(self, varDataIndex, deltas): + varData = self._varData + scalars = [self._getScalar(ri) for ri in varData[varDataIndex].VarRegionIndex] + return self.interpolateFromDeltasAndScalars(deltas, scalars) + + +# +# Optimizations +# +# retainFirstMap - If true, major 0 mappings are retained. Deltas for unused indices are zeroed +# advIdxes - Set of major 0 indices for advance deltas to be listed first. Other major 0 indices follow. + + +def VarStore_subset_varidxes( + self, + varIdxes, + optimize=True, + retainFirstMap=False, + advIdxes=set(), + *, + VarData="VarData", +): + # Sort out used varIdxes by major/minor. + used = defaultdict(set) + for varIdx in varIdxes: + if varIdx == NO_VARIATION_INDEX: + continue + major = varIdx >> 16 + minor = varIdx & 0xFFFF + used[major].add(minor) + del varIdxes + + # + # Subset VarData + # + + varData = getattr(self, VarData) + newVarData = [] + varDataMap = {NO_VARIATION_INDEX: NO_VARIATION_INDEX} + for major, data in enumerate(varData): + usedMinors = used.get(major) + if usedMinors is None: + continue + newMajor = len(newVarData) + newVarData.append(data) + + items = data.Item + newItems = [] + if major == 0 and retainFirstMap: + for minor in range(len(items)): + newItems.append( + items[minor] if minor in usedMinors else [0] * len(items[minor]) + ) + varDataMap[minor] = minor + else: + if major == 0: + minors = sorted(advIdxes) + sorted(usedMinors - advIdxes) + else: + minors = sorted(usedMinors) + for minor in minors: + newMinor = len(newItems) + newItems.append(items[minor]) + varDataMap[(major << 16) + minor] = (newMajor << 16) + newMinor + + data.Item = newItems + data.ItemCount = len(data.Item) + + if VarData == "VarData": + data.calculateNumShorts(optimize=optimize) + + setattr(self, VarData, newVarData) + setattr(self, VarData + "Count", len(newVarData)) + + self.prune_regions() + + return varDataMap + + +ot.VarStore.subset_varidxes = VarStore_subset_varidxes + + +def VarStore_prune_regions(self, *, VarData="VarData", VarRegionList="VarRegionList"): + """Remove unused VarRegions.""" + # + # Subset VarRegionList + # + + # Collect. + usedRegions = set() + for data in getattr(self, VarData): + usedRegions.update(data.VarRegionIndex) + # Subset. + regionList = getattr(self, VarRegionList) + regions = regionList.Region + newRegions = [] + regionMap = {} + for i in sorted(usedRegions): + regionMap[i] = len(newRegions) + newRegions.append(regions[i]) + regionList.Region = newRegions + regionList.RegionCount = len(regionList.Region) + # Map. + for data in getattr(self, VarData): + data.VarRegionIndex = [regionMap[i] for i in data.VarRegionIndex] + + +ot.VarStore.prune_regions = VarStore_prune_regions + + +def _visit(self, func): + """Recurse down from self, if type of an object is ot.Device, + call func() on it. Works on otData-style classes.""" + + if type(self) == ot.Device: + func(self) + + elif isinstance(self, list): + for that in self: + _visit(that, func) + + elif hasattr(self, "getConverters") and not hasattr(self, "postRead"): + for conv in self.getConverters(): + that = getattr(self, conv.name, None) + if that is not None: + _visit(that, func) + + elif isinstance(self, ot.ValueRecord): + for that in self.__dict__.values(): + _visit(that, func) + + +def _Device_recordVarIdx(self, s): + """Add VarIdx in this Device table (if any) to the set s.""" + if self.DeltaFormat == 0x8000: + s.add((self.StartSize << 16) + self.EndSize) + + +def Object_collect_device_varidxes(self, varidxes): + adder = partial(_Device_recordVarIdx, s=varidxes) + _visit(self, adder) + + +ot.GDEF.collect_device_varidxes = Object_collect_device_varidxes +ot.GPOS.collect_device_varidxes = Object_collect_device_varidxes + + +def _Device_mapVarIdx(self, mapping, done): + """Map VarIdx in this Device table (if any) through mapping.""" + if id(self) in done: + return + done.add(id(self)) + if self.DeltaFormat == 0x8000: + varIdx = mapping[(self.StartSize << 16) + self.EndSize] + self.StartSize = varIdx >> 16 + self.EndSize = varIdx & 0xFFFF + + +def Object_remap_device_varidxes(self, varidxes_map): + mapper = partial(_Device_mapVarIdx, mapping=varidxes_map, done=set()) + _visit(self, mapper) + + +ot.GDEF.remap_device_varidxes = Object_remap_device_varidxes +ot.GPOS.remap_device_varidxes = Object_remap_device_varidxes +ot.BASE.remap_device_varidxes = Object_remap_device_varidxes + + +class _Encoding(object): + def __init__(self, chars): + self.chars = chars + self.width = bit_count(chars) + self.columns = self._columns(chars) + self.overhead = self._characteristic_overhead(self.columns) + self.items = set() + + def append(self, row): + self.items.add(row) + + def extend(self, lst): + self.items.update(lst) + + def width_sort_key(self): + return self.width, self.chars + + @staticmethod + def _characteristic_overhead(columns): + """Returns overhead in bytes of encoding this characteristic + as a VarData.""" + c = 4 + 6 # 4 bytes for LOffset, 6 bytes for VarData header + c += bit_count(columns) * 2 + return c + + @staticmethod + def _columns(chars): + cols = 0 + i = 1 + while chars: + if chars & 0b1111: + cols |= i + chars >>= 4 + i <<= 1 + return cols + + def gain_from_merging(self, other_encoding): + combined_chars = other_encoding.chars | self.chars + combined_width = bit_count(combined_chars) + combined_columns = self.columns | other_encoding.columns + combined_overhead = _Encoding._characteristic_overhead(combined_columns) + combined_gain = ( + +self.overhead + + other_encoding.overhead + - combined_overhead + - (combined_width - self.width) * len(self.items) + - (combined_width - other_encoding.width) * len(other_encoding.items) + ) + return combined_gain + + +class _EncodingDict(dict): + def __missing__(self, chars): + r = self[chars] = _Encoding(chars) + return r + + def add_row(self, row): + chars = self._row_characteristics(row) + self[chars].append(row) + + @staticmethod + def _row_characteristics(row): + """Returns encoding characteristics for a row.""" + longWords = False + + chars = 0 + i = 1 + for v in row: + if v: + chars += i + if not (-128 <= v <= 127): + chars += i * 0b0010 + if not (-32768 <= v <= 32767): + longWords = True + break + i <<= 4 + + if longWords: + # Redo; only allow 2byte/4byte encoding + chars = 0 + i = 1 + for v in row: + if v: + chars += i * 0b0011 + if not (-32768 <= v <= 32767): + chars += i * 0b1100 + i <<= 4 + + return chars + + +def VarStore_optimize(self, use_NO_VARIATION_INDEX=True, quantization=1): + """Optimize storage. Returns mapping from old VarIdxes to new ones.""" + + # Overview: + # + # For each VarData row, we first extend it with zeroes to have + # one column per region in VarRegionList. We then group the + # rows into _Encoding objects, by their "characteristic" bitmap. + # The characteristic bitmap is a binary number representing how + # many bytes each column of the data takes up to encode. Each + # column is encoded in four bits. For example, if a column has + # only values in the range -128..127, it would only have a single + # bit set in the characteristic bitmap for that column. If it has + # values in the range -32768..32767, it would have two bits set. + # The number of ones in the characteristic bitmap is the "width" + # of the encoding. + # + # Each encoding as such has a number of "active" (ie. non-zero) + # columns. The overhead of encoding the characteristic bitmap + # is 10 bytes, plus 2 bytes per active column. + # + # When an encoding is merged into another one, if the characteristic + # of the old encoding is a subset of the new one, then the overhead + # of the old encoding is completely eliminated. However, each row + # now would require more bytes to encode, to the tune of one byte + # per characteristic bit that is active in the new encoding but not + # in the old one. + # + # The "gain" of merging two encodings is how many bytes we save by doing so. + # + # High-level algorithm: + # + # - Each encoding has a minimal way to encode it. However, because + # of the overhead of encoding the characteristic bitmap, it may + # be beneficial to merge two encodings together, if there is + # gain in doing so. As such, we need to search for the best + # such successive merges. + # + # Algorithm: + # + # - Put all encodings into a "todo" list. + # + # - Sort todo list (for stability) by width_sort_key(), which is a tuple + # of the following items: + # * The "width" of the encoding. + # * The characteristic bitmap of the encoding, with higher-numbered + # columns compared first. + # + # - Make a priority-queue of the gain from combining each two + # encodings in the todo list. The priority queue is sorted by + # decreasing gain. Only positive gains are included. + # + # - While priority queue is not empty: + # - Pop the first item from the priority queue, + # - Merge the two encodings it represents, + # - Remove the two encodings from the todo list, + # - Insert positive gains from combining the new encoding with + # all existing todo list items into the priority queue, + # - If a todo list item with the same characteristic bitmap as + # the new encoding exists, remove it from the todo list and + # merge it into the new encoding. + # - Insert the new encoding into the todo list, + # + # - Encode all remaining items in the todo list. + # + # The output is then sorted for stability, in the following way: + # - The VarRegionList of the input is kept intact. + # - The VarData is sorted by the same width_sort_key() used at the beginning. + # - Within each VarData, the items are sorted as vectors of numbers. + # + # Finally, each VarData is optimized to remove the empty columns and + # reorder columns as needed. + + # TODO + # Check that no two VarRegions are the same; if they are, fold them. + + n = len(self.VarRegionList.Region) # Number of columns + zeroes = [0] * n + + front_mapping = {} # Map from old VarIdxes to full row tuples + + encodings = _EncodingDict() + + # Collect all items into a set of full rows (with lots of zeroes.) + for major, data in enumerate(self.VarData): + regionIndices = data.VarRegionIndex + + for minor, item in enumerate(data.Item): + row = list(zeroes) + + if quantization == 1: + for regionIdx, v in zip(regionIndices, item): + row[regionIdx] += v + else: + for regionIdx, v in zip(regionIndices, item): + row[regionIdx] += ( + round(v / quantization) * quantization + ) # TODO https://github.com/fonttools/fonttools/pull/3126#discussion_r1205439785 + + row = tuple(row) + + if use_NO_VARIATION_INDEX and not any(row): + front_mapping[(major << 16) + minor] = None + continue + + encodings.add_row(row) + front_mapping[(major << 16) + minor] = row + + # Prepare for the main algorithm. + todo = sorted(encodings.values(), key=_Encoding.width_sort_key) + del encodings + + # Repeatedly pick two best encodings to combine, and combine them. + + heap = [] + for i, encoding in enumerate(todo): + for j in range(i + 1, len(todo)): + other_encoding = todo[j] + combining_gain = encoding.gain_from_merging(other_encoding) + if combining_gain > 0: + heappush(heap, (-combining_gain, i, j)) + + while heap: + _, i, j = heappop(heap) + if todo[i] is None or todo[j] is None: + continue + + encoding, other_encoding = todo[i], todo[j] + todo[i], todo[j] = None, None + + # Combine the two encodings + combined_chars = other_encoding.chars | encoding.chars + combined_encoding = _Encoding(combined_chars) + combined_encoding.extend(encoding.items) + combined_encoding.extend(other_encoding.items) + + for k, enc in enumerate(todo): + if enc is None: + continue + + # In the unlikely event that the same encoding exists already, + # combine it. + if enc.chars == combined_chars: + combined_encoding.extend(enc.items) + todo[k] = None + continue + + combining_gain = combined_encoding.gain_from_merging(enc) + if combining_gain > 0: + heappush(heap, (-combining_gain, k, len(todo))) + + todo.append(combined_encoding) + + encodings = [encoding for encoding in todo if encoding is not None] + + # Assemble final store. + back_mapping = {} # Mapping from full rows to new VarIdxes + encodings.sort(key=_Encoding.width_sort_key) + self.VarData = [] + for encoding in encodings: + items = sorted(encoding.items) + + while items: + major = len(self.VarData) + data = ot.VarData() + self.VarData.append(data) + data.VarRegionIndex = range(n) + data.VarRegionCount = len(data.VarRegionIndex) + + # Each major can only encode up to 0xFFFF entries. + data.Item, items = items[:0xFFFF], items[0xFFFF:] + + for minor, item in enumerate(data.Item): + back_mapping[item] = (major << 16) + minor + + # Compile final mapping. + varidx_map = {NO_VARIATION_INDEX: NO_VARIATION_INDEX} + for k, v in front_mapping.items(): + varidx_map[k] = back_mapping[v] if v is not None else NO_VARIATION_INDEX + + # Recalculate things and go home. + self.VarRegionList.RegionCount = len(self.VarRegionList.Region) + self.VarDataCount = len(self.VarData) + for data in self.VarData: + data.ItemCount = len(data.Item) + data.optimize() + + # Remove unused regions. + self.prune_regions() + + return varidx_map + + +ot.VarStore.optimize = VarStore_optimize + + +def _tentValue(v, start, peak, end): + """Per-axis support-scalar factor at coordinate v (supportScalar semantics).""" + if v == peak: + return 1.0 + if v <= start or end <= v: + return 0.0 + if v < peak: + return (v - start) / (peak - start) + return (end - v) / (end - peak) + + +# Maximum number of grid vertices VarStore_getExtremes enumerates for the +# exact answer before falling back to the (looser but conservative and cheap) +# interval bound. The grid is authoring-controlled, so a cap is needed to keep +# crafted fonts from hanging the instancer. +_GET_EXTREMES_MAX_GRID = 1 << 14 +_F2DOT14_UNIT = 1.0 / (1 << 14) + + +def VarStore_getExtremes(self, varIdx, fvarAxes, axisLimits, identityAxisIndex=None): + """Conservatively bound the value this VarStore produces for varIdx. + + Returns (minV, maxV) in F2Dot14 delta units, guaranteed to cover the + truly reachable range as the input axes vary over their extents: + [-1, +1] per axis, or the [min, max] interval from axisLimits (a dict of + axis tag to a (min, default, max, ...) sequence) for axes listed there. + If identityAxisIndex is not None, that axis's own identity contribution + (its coordinate, in F2Dot14 units) is added to the bound. + + Before the final OpenType rounding, the produced value is piecewise + multilinear in the axis coordinates (each region's scalar is a product + of independent per-axis tents), so over the box its exact extremes are + attained at vertices of the grid formed by each axis's tent + breakpoints. One-sided tents (start == peak or peak == end) are + discontinuous at their peak, so the grid also includes the adjacent + F2Dot14 coordinate on the open side. When that grid is small enough + (real fonts) it is enumerated and the result is exact; otherwise the + result falls back to a per-region interval bound, which ignores + correlations between regions and may be wider than the true range — + never narrower. Callers use this to cull provably-unreachable + variation data, so conservativeness is a soundness requirement, not a + nicety. The fallback costs O(regions × axes); the cap on the exact + path keeps crafted fonts from hanging the instancer. + + Raw extrema are rounded only after summing the identity and delta terms, + matching avar2 processing. + """ + + def axisInterval(axisIdx): + tag = fvarAxes[axisIdx].axisTag + if tag in axisLimits: + limits = axisLimits[tag] + return limits[0], limits[2] + return -1.0, +1.0 + + if varIdx == NO_VARIATION_INDEX: + activeRegions = [] + else: + major = varIdx >> 16 + minor = varIdx & 0xFFFF + varData = self.VarData[major] + regions = self.VarRegionList.Region + deltas = varData.Item[minor] + # Per region: (delta, [(axisIndex, start, peak, end), ...]) with the + # axes supportScalar would ignore already dropped. + activeRegions = [] + for regionIndex, delta in zip(varData.VarRegionIndex, deltas): + if not delta: + continue + region = regions[regionIndex] + tents = [] + for i, regionAxis in enumerate(region.VarRegionAxis): + start = regionAxis.StartCoord + peak = regionAxis.PeakCoord + end = regionAxis.EndCoord + # Mirror supportScalar's OT rules for axes it ignores. + if peak == 0 or start > peak or peak > end: + continue + if start < 0 and end > 0: + continue + tents.append((i, start, peak, end)) + activeRegions.append((delta, tents)) + + # Try the exact path: enumerate the breakpoint grid. + breakpoints = {} # axisIndex -> set of coordinates + if identityAxisIndex is not None: + lo, hi = axisInterval(identityAxisIndex) + breakpoints[identityAxisIndex] = {lo, hi} + for delta, tents in activeRegions: + for i, start, peak, end in tents: + if i not in breakpoints: + lo, hi = axisInterval(i) + breakpoints[i] = {lo, hi} + lo, hi = axisInterval(i) + breakpoints[i].update(min(max(v, lo), hi) for v in (start, peak, end)) + if start == peak: + breakpoints[i].add(min(max(peak - _F2DOT14_UNIT, lo), hi)) + if peak == end: + breakpoints[i].add(min(max(peak + _F2DOT14_UNIT, lo), hi)) + gridSize = 1 + for points in breakpoints.values(): + gridSize *= len(points) + if gridSize > _GET_EXTREMES_MAX_GRID: + break + + if gridSize <= _GET_EXTREMES_MAX_GRID: + # Exact: evaluate at every grid vertex. Within each grid cell every + # region scalar is multilinear, so the extremes lie on vertices. + axisIndices = sorted(breakpoints) + axisPos = {i: n for n, i in enumerate(axisIndices)} + minV = maxV = None + for vertex in itertools.product(*(sorted(breakpoints[i]) for i in axisIndices)): + v = 0.0 + for delta, tents in activeRegions: + scalar = 1.0 + for i, start, peak, end in tents: + scalar *= _tentValue(vertex[axisPos[i]], start, peak, end) + if scalar == 0: + break + if scalar: + v += delta * scalar + if identityAxisIndex is not None: + v += otRound(vertex[axisPos[identityAxisIndex]] * 16384) + if minV is None: + minV = maxV = v + else: + minV = min(minV, v) + maxV = max(maxV, v) + return otRound(minV), otRound(maxV) + + # Fallback: per-region interval arithmetic. Each region's scalar range + # over the box is exact (per-axis tent factors are independent), but + # correlations between regions (and with the identity term) are ignored. + minV = maxV = 0.0 + for delta, tents in activeRegions: + scalarMin = scalarMax = 1.0 + for i, start, peak, end in tents: + lo, hi = axisInterval(i) + # The tent rises to the peak then falls, so over [lo, hi] the + # maximum is at the clamped peak, the minimum at an endpoint. + scalarMax *= _tentValue(min(max(peak, lo), hi), start, peak, end) + scalarMin *= min( + _tentValue(lo, start, peak, end), + _tentValue(hi, start, peak, end), + ) + if scalarMax == 0: + break + if scalarMax == 0: + continue + minV += min(delta * scalarMin, delta * scalarMax) + maxV += max(delta * scalarMin, delta * scalarMax) + + if identityAxisIndex is not None: + lo, hi = axisInterval(identityAxisIndex) + minV += otRound(lo * 16384) + maxV += otRound(hi * 16384) + + return otRound(minV), otRound(maxV) + + +ot.VarStore.getExtremes = VarStore_getExtremes + + +def main(args=None): + """Optimize a font's GDEF variation store""" + from argparse import ArgumentParser + from fontTools import configLogger + from fontTools.ttLib import TTFont + from fontTools.ttLib.tables.otBase import OTTableWriter + + parser = ArgumentParser(prog="varLib.varStore", description=main.__doc__) + parser.add_argument("--quantization", type=int, default=1) + parser.add_argument("fontfile") + parser.add_argument("outfile", nargs="?") + options = parser.parse_args(args) + + # TODO: allow user to configure logging via command-line options + configLogger(level="INFO") + + quantization = options.quantization + fontfile = options.fontfile + outfile = options.outfile + + font = TTFont(fontfile) + gdef = font["GDEF"] + store = gdef.table.VarStore + + writer = OTTableWriter() + store.compile(writer, font) + size = len(writer.getAllData()) + print("Before: %7d bytes" % size) + + varidx_map = store.optimize(quantization=quantization) + + writer = OTTableWriter() + store.compile(writer, font) + size = len(writer.getAllData()) + print("After: %7d bytes" % size) + + if outfile is not None: + gdef.table.remap_device_varidxes(varidx_map) + if "GPOS" in font: + font["GPOS"].table.remap_device_varidxes(varidx_map) + + font.save(outfile) + + +if __name__ == "__main__": + import sys + + if len(sys.argv) > 1: + sys.exit(main()) + import doctest + + sys.exit(doctest.testmod().failed) diff --git a/shared/package-files/70/70928e1fde3a4fb542701fa0548a0681f6d64eb6e3dc53e42384e09ec2d37fbb/numpy_init.cc b/shared/package-files/70/70928e1fde3a4fb542701fa0548a0681f6d64eb6e3dc53e42384e09ec2d37fbb/numpy_init.cc new file mode 100644 index 0000000000000000000000000000000000000000..96e2c7b7ccb5cc1bc988aa4826c2dbe856e5fd23 --- /dev/null +++ b/shared/package-files/70/70928e1fde3a4fb542701fa0548a0681f6d64eb6e3dc53e42384e09ec2d37fbb/numpy_init.cc @@ -0,0 +1,33 @@ +// Licensed to the Apache Software Foundation (ASF) under one +// or more contributor license agreements. See the NOTICE file +// distributed with this work for additional information +// regarding copyright ownership. The ASF licenses this file +// to you under the Apache License, Version 2.0 (the +// "License"); you may not use this file except in compliance +// with the License. You may obtain a copy of the License at +// +// http://www.apache.org/licenses/LICENSE-2.0 +// +// Unless required by applicable law or agreed to in writing, +// software distributed under the License is distributed on an +// "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY +// KIND, either express or implied. See the License for the +// specific language governing permissions and limitations +// under the License. + +// Trigger the array import (inversion of NO_IMPORT_ARRAY) +#define NUMPY_IMPORT_ARRAY + +#include "arrow/python/numpy_init.h" +#include "arrow/python/numpy_interop.h" + +namespace arrow::py { +bool numpy_imported = false; + +int arrow_init_numpy() { + numpy_imported = true; + return arrow::py::import_numpy(); +} + +bool has_numpy() { return numpy_imported; } +} // namespace arrow::py diff --git a/shared/package-files/70/709542dffb9b833aeb4a6de7c02b9955ea870118ed860385d429b51ffb363e5b/RECORD b/shared/package-files/70/709542dffb9b833aeb4a6de7c02b9955ea870118ed860385d429b51ffb363e5b/RECORD new file mode 100644 index 0000000000000000000000000000000000000000..b5dc2e37d6c49130c74835fc9e3fc7347458a905 --- /dev/null +++ b/shared/package-files/70/709542dffb9b833aeb4a6de7c02b9955ea870118ed860385d429b51ffb363e5b/RECORD @@ -0,0 +1,9 @@ +expecttest-0.2.1.dist-info/INSTALLER,sha256=zuuue4knoyJ-UwPPXg8fezS7VCrXJQrAP7zeNuwvFQg,4 +expecttest-0.2.1.dist-info/LICENSE,sha256=uudSQogOizIG_y7iOWV10HboObGkH2xTB6inHaxg4FQ,1070 +expecttest-0.2.1.dist-info/METADATA,sha256=NNbskV8kN-ijj6SEsrzc593gJ9Ti9Ow_mKZEIeFeK_k,2540 +expecttest-0.2.1.dist-info/RECORD,, +expecttest-0.2.1.dist-info/REQUESTED,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0 +expecttest-0.2.1.dist-info/WHEEL,sha256=FMvqSimYX_P7y0a7UY-_Mc83r5zkBZsCYPm7Lr0Bsq4,88 +expecttest/__init__.py,sha256=C1wyhraaOI4LEaHjOlAwTCWm1-zgQHb-RqbXCr_jZFI,13388 +expecttest/__pycache__/__init__.cpython-310.pyc,, +expecttest/py.typed,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0 diff --git a/shared/package-files/70/709812d9ebf0638364edbec8345e7f00be33c2b07d492cac1790439d3c375a41/xterm+meta b/shared/package-files/70/709812d9ebf0638364edbec8345e7f00be33c2b07d492cac1790439d3c375a41/xterm+meta new file mode 100644 index 0000000000000000000000000000000000000000..9864a0c3c10c8a25929a00c7a00e284895fb8bcc Binary files /dev/null and b/shared/package-files/70/709812d9ebf0638364edbec8345e7f00be33c2b07d492cac1790439d3c375a41/xterm+meta differ diff --git a/shared/package-files/70/709bbb9215acd71998188dbb605e28ee69e990ede8dee0866157df3e65336f94/conda.sh b/shared/package-files/70/709bbb9215acd71998188dbb605e28ee69e990ede8dee0866157df3e65336f94/conda.sh new file mode 100644 index 0000000000000000000000000000000000000000..60b9b7561032abbf76c475803babed21f22ae0f5 --- /dev/null +++ b/shared/package-files/70/709bbb9215acd71998188dbb605e28ee69e990ede8dee0866157df3e65336f94/conda.sh @@ -0,0 +1,70 @@ +# Copyright (C) 2012 Anaconda, Inc +# SPDX-License-Identifier: BSD-3-Clause +__conda_exe() ( + "$CONDA_EXE" $_CE_M $_CE_CONDA "$@" +) + +__conda_hashr() { + if [ -n "${ZSH_VERSION:+x}" ]; then + \rehash + elif [ -n "${POSH_VERSION:+x}" ]; then + : # pass + else + \hash -r + fi +} + +__conda_activate() { + if [ -n "${CONDA_PS1_BACKUP:+x}" ]; then + # Handle transition from shell activated with conda <= 4.3 to a subsequent activation + # after conda updated to >= 4.4. See issue #6173. + PS1="$CONDA_PS1_BACKUP" + \unset CONDA_PS1_BACKUP + fi + \local ask_conda + ask_conda="$(PS1="${PS1:-}" __conda_exe shell.posix "$@")" || \return + \eval "$ask_conda" + __conda_hashr +} + +__conda_reactivate() { + \local ask_conda + ask_conda="$(PS1="${PS1:-}" __conda_exe shell.posix reactivate)" || \return + \eval "$ask_conda" + __conda_hashr +} + +conda() { + \local cmd="${1-__missing__}" + case "$cmd" in + activate|deactivate) + __conda_activate "$@" + ;; + install|update|upgrade|remove|uninstall) + __conda_exe "$@" || \return + __conda_reactivate + ;; + *) + __conda_exe "$@" + ;; + esac +} + +if [ -z "${CONDA_SHLVL+x}" ]; then + \export CONDA_SHLVL=0 + # In dev-mode CONDA_EXE is python.exe and on Windows + # it is in a different relative location to condabin. + if [ -n "${_CE_CONDA:+x}" ] && [ -n "${WINDIR+x}" ]; then + PATH="$(\dirname "$CONDA_EXE")/condabin${PATH:+":${PATH}"}" + else + PATH="$(\dirname "$(\dirname "$CONDA_EXE")")/condabin${PATH:+":${PATH}"}" + fi + \export PATH + + # We're not allowing PS1 to be unbound. It must at least be set. + # However, we're not exporting it, which can cause problems when starting a second shell + # via a first shell (i.e. starting zsh from bash). + if [ -z "${PS1+x}" ]; then + PS1= + fi +fi diff --git a/shared/package-files/70/709c0089fa7a3d627df3a669b41edcac18f19a748ee2d7bcef41c6942e1a9d5b/expr_str.py b/shared/package-files/70/709c0089fa7a3d627df3a669b41edcac18f19a748ee2d7bcef41c6942e1a9d5b/expr_str.py new file mode 100644 index 0000000000000000000000000000000000000000..b56497589f570538eb3f776693ca88210fa09637 --- /dev/null +++ b/shared/package-files/70/709c0089fa7a3d627df3a669b41edcac18f19a748ee2d7bcef41c6942e1a9d5b/expr_str.py @@ -0,0 +1,83 @@ +from __future__ import annotations + +import re +from functools import partial +from typing import TYPE_CHECKING + +from narwhals._spark_like.utils import strptime_to_pyspark_format +from narwhals._sql.expr_str import SQLExprStringNamespace +from narwhals._utils import _is_naive_format, not_implemented, requires + +if TYPE_CHECKING: + from sqlframe.base.column import Column + + from narwhals._spark_like.expr import SparkLikeExpr + + +class SparkLikeExprStringNamespace(SQLExprStringNamespace["SparkLikeExpr"]): + def _strip_chars(self, characters: str, *, start: bool) -> SparkLikeExpr: + escaped = re.escape(characters) + pattern = rf"^[{escaped}]+" if start else rf"[{escaped}]+$" + F = self.compliant._F + return self.compliant._with_elementwise( + lambda expr: F.regexp_replace(expr, pattern, "") + ) + + def strip_chars_start(self, characters: str) -> SparkLikeExpr: + return self._strip_chars(characters, start=True) + + def strip_chars_end(self, characters: str) -> SparkLikeExpr: + return self._strip_chars(characters, start=False) + + def to_datetime(self, format: str | None) -> SparkLikeExpr: + F = self.compliant._F + if not format: + function = F.to_timestamp + elif _is_naive_format(format): + function = partial( + F.to_timestamp_ntz, format=F.lit(strptime_to_pyspark_format(format)) + ) + else: + format = strptime_to_pyspark_format(format) + function = partial(F.to_timestamp, format=format) + return self.compliant._with_elementwise( + lambda expr: function(F.replace(expr, F.lit("T"), F.lit(" "))) + ) + + def to_date(self, format: str | None) -> SparkLikeExpr: + F = self.compliant._F + return self.compliant._with_elementwise( + lambda expr: F.to_date(expr, format=strptime_to_pyspark_format(format)) + ) + + def to_time(self, format: str | None) -> SparkLikeExpr: + msg = "spark-like backends do not support the Time type" + raise ValueError(msg) + + def to_titlecase(self) -> SparkLikeExpr: + impl = self.compliant._implementation + sqlframe_required_version = (3, 43, 1) + if ( + impl.is_sqlframe() + and (version := impl._backend_version()) < sqlframe_required_version + ): # pragma: no cover + required_str = requires._unparse_version(sqlframe_required_version) + found_str = requires._unparse_version(version) + msg = ( + f"`str.to_titlecase` is only available in 'sqlframe>={required_str}', " + f"found version {found_str!r}." + ) + raise NotImplementedError(msg) + + def _to_titlecase(expr: Column) -> Column: + F = self.compliant._F + lower_expr = F.lower(expr) + extract_expr = F.regexp_extract_all( + lower_expr, regexp=F.lit(r"[a-z]*[^a-z]*"), idx=0 + ) + capitalized_expr = F.transform(extract_expr, f=F.initcap) + return F.array_join(capitalized_expr, delimiter="") + + return self.compliant._with_elementwise(_to_titlecase) + + replace = not_implemented() diff --git a/shared/package-files/70/709c73ff2b853f3a8308f98c3db48a837f88f315a1a5e93a074c826b71c5fcd9/isfinite.h b/shared/package-files/70/709c73ff2b853f3a8308f98c3db48a837f88f315a1a5e93a074c826b71c5fcd9/isfinite.h new file mode 100644 index 0000000000000000000000000000000000000000..89d6e402b11a2fb577baafef460e252c3e3ae663 --- /dev/null +++ b/shared/package-files/70/709c73ff2b853f3a8308f98c3db48a837f88f315a1a5e93a074c826b71c5fcd9/isfinite.h @@ -0,0 +1,30 @@ +#pragma once + +// @generated by torchgen/gen.py from Function.h + +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include + + + +#include + +namespace at { + + +// aten::isfinite(Tensor self) -> Tensor +inline at::Tensor isfinite(const at::Tensor & self) { + return at::_ops::isfinite::call(self); +} + +} diff --git a/shared/package-files/70/70a0df0ee888f44ee417b0a0b875e6003cc4c887f6109e9027ccef8b1cb6196d/main_clean.py b/shared/package-files/70/70a0df0ee888f44ee417b0a0b875e6003cc4c887f6109e9027ccef8b1cb6196d/main_clean.py new file mode 100644 index 0000000000000000000000000000000000000000..a88e02a46238a1dbc4d98f085a5c565702235d60 --- /dev/null +++ b/shared/package-files/70/70a0df0ee888f44ee417b0a0b875e6003cc4c887f6109e9027ccef8b1cb6196d/main_clean.py @@ -0,0 +1,318 @@ +# Copyright (C) 2012 Anaconda, Inc +# SPDX-License-Identifier: BSD-3-Clause +from __future__ import annotations + +import os +import sys +from logging import getLogger +from os.path import isdir, join +from typing import Any, Iterable + +from ..base.constants import ( + CONDA_LOGS_DIR, + CONDA_PACKAGE_EXTENSIONS, + CONDA_TEMP_EXTENSIONS, +) +from ..base.context import context + +log = getLogger(__name__) +_EXTS = (*CONDA_PACKAGE_EXTENSIONS, *(f"{e}.part" for e in CONDA_PACKAGE_EXTENSIONS)) + + +def _get_size(*parts: str, warnings: list[str] | None) -> int: + path = join(*parts) + try: + stat = os.lstat(path) + except OSError as e: + if warnings is None: + raise + warnings.append(f"WARNING: {path}: {e}") + + # let the user deal with the issue + raise NotImplementedError + else: + # TODO: This doesn't handle packages that have hard links to files within + # themselves, like bin/python3.3 and bin/python3.3m in the Python package + if stat.st_nlink > 1: + raise NotImplementedError + + return stat.st_size + + +def _get_pkgs_dirs(pkg_sizes: dict[str, dict[str, int]]) -> dict[str, tuple[str]]: + return {pkgs_dir: tuple(pkgs) for pkgs_dir, pkgs in pkg_sizes.items()} + + +def _get_total_size(pkg_sizes: dict[str, dict[str, int]]) -> int: + return sum(sum(pkgs.values()) for pkgs in pkg_sizes.values()) + + +def _rm_rf(*parts: str, verbose: bool, verbosity: bool) -> None: + from ..gateways.disk.delete import rm_rf + + path = join(*parts) + try: + if rm_rf(path): + if verbose and verbosity: + print(f"Removed {path}") + elif verbose: + print(f"WARNING: cannot remove, file permissions: {path}") + except OSError as e: + if verbose: + print(f"WARNING: cannot remove, file permissions: {path}\n{e!r}") + else: + log.info("%r", e) + + +def find_tarballs() -> dict[str, Any]: + warnings: list[str] = [] + pkg_sizes: dict[str, dict[str, int]] = {} + for pkgs_dir in find_pkgs_dirs(): + # tarballs are files in pkgs_dir + _, _, tars = next(os.walk(pkgs_dir)) + for tar in tars: + # tarballs also end in .tar.bz2, .conda, .tar.bz2.part, or .conda.part + if not tar.endswith(_EXTS): + continue + + # get size + try: + size = _get_size(pkgs_dir, tar, warnings=warnings) + except NotImplementedError: + pass + else: + pkg_sizes.setdefault(pkgs_dir, {})[tar] = size + + return { + "warnings": warnings, + "pkg_sizes": pkg_sizes, + "pkgs_dirs": _get_pkgs_dirs(pkg_sizes), + "total_size": _get_total_size(pkg_sizes), + } + + +def find_pkgs() -> dict[str, Any]: + warnings: list[str] = [] + pkg_sizes: dict[str, dict[str, int]] = {} + for pkgs_dir in find_pkgs_dirs(): + # pkgs are directories in pkgs_dir + _, pkgs, _ = next(os.walk(pkgs_dir)) + for pkg in pkgs: + # pkgs also have an info directory + if not isdir(join(pkgs_dir, pkg, "info")): + continue + + # get size + try: + size = sum( + _get_size(root, file, warnings=warnings) + for root, _, files in os.walk(join(pkgs_dir, pkg)) + for file in files + ) + except NotImplementedError: + pass + else: + pkg_sizes.setdefault(pkgs_dir, {})[pkg] = size + + return { + "warnings": warnings, + "pkg_sizes": pkg_sizes, + "pkgs_dirs": _get_pkgs_dirs(pkg_sizes), + "total_size": _get_total_size(pkg_sizes), + } + + +def rm_pkgs( + pkgs_dirs: dict[str, tuple[str]], + warnings: list[str], + total_size: int, + pkg_sizes: dict[str, dict[str, int]], + *, + verbose: bool, + verbosity: bool, + dry_run: bool, + name: str, +) -> None: + from ..utils import human_bytes + from .common import confirm_yn + + if verbose and warnings: + for warning in warnings: + print(warning) + + if not any(pkgs for pkgs in pkg_sizes.values()): + if verbose: + print(f"There are no unused {name} to remove.") + return + + if verbose: + if verbosity: + print(f"Will remove the following {name}:") + for pkgs_dir, pkgs in pkg_sizes.items(): + print(f" {pkgs_dir}") + print(f" {'-' * len(pkgs_dir)}") + for pkg, size in pkgs.items(): + print(f" - {pkg:<40} {human_bytes(size):>10}") + print() + print("-" * 17) + print(f"Total: {human_bytes(total_size):>10}") + print() + else: + count = sum(len(pkgs) for pkgs in pkg_sizes.values()) + print(f"Will remove {count} ({human_bytes(total_size)}) {name}.") + + if dry_run: + return + if not context.json or not context.always_yes: + confirm_yn() + + for pkgs_dir, pkgs in pkg_sizes.items(): + for pkg in pkgs: + _rm_rf(pkgs_dir, pkg, verbose=verbose, verbosity=verbosity) + + +def find_index_cache() -> list[str]: + files = [] + for pkgs_dir in find_pkgs_dirs(): + # caches are directories in pkgs_dir + path = join(pkgs_dir, "cache") + if isdir(path): + files.append(path) + return files + + +def find_pkgs_dirs() -> list[str]: + from ..core.package_cache_data import PackageCacheData + + return [ + pc.pkgs_dir for pc in PackageCacheData.writable_caches() if isdir(pc.pkgs_dir) + ] + + +def find_tempfiles(paths: Iterable[str]) -> list[str]: + tempfiles = [] + for path in sorted(set(paths or [sys.prefix])): + # tempfiles are files in path + for root, _, files in os.walk(path): + for file in files: + # tempfiles also end in .c~ or .trash + if not file.endswith(CONDA_TEMP_EXTENSIONS): + continue + + tempfiles.append(join(root, file)) + + return tempfiles + + +def find_logfiles() -> list[str]: + files = [] + for pkgs_dir in find_pkgs_dirs(): + # .logs are directories in pkgs_dir + path = join(pkgs_dir, CONDA_LOGS_DIR) + if not isdir(path): + continue + + # logfiles are files in .logs + _, _, logs = next(os.walk(path), [None, None, []]) + files.extend([join(path, log) for log in logs]) + + return files + + +def rm_items( + items: list[str], + *, + verbose: bool, + verbosity: bool, + dry_run: bool, + name: str, +) -> None: + from .common import confirm_yn + + if not items: + if verbose: + print(f"There are no {name} to remove.") + return + + if verbose: + if verbosity: + print(f"Will remove the following {name}:") + for item in items: + print(f" - {item}") + print() + else: + print(f"Will remove {len(items)} {name}.") + + if dry_run: + return + if not context.json or not context.always_yes: + confirm_yn() + + for item in items: + _rm_rf(item, verbose=verbose, verbosity=verbosity) + + +def _execute(args, parser): + json_result = {"success": True} + kwargs = { + "verbose": not (context.json or context.quiet), + "verbosity": args.verbosity, + "dry_run": args.dry_run, + } + + if args.force_pkgs_dirs: + json_result["pkgs_dirs"] = pkgs_dirs = find_pkgs_dirs() + rm_items(pkgs_dirs, **kwargs, name="package cache(s)") + + # we return here because all other clean operations target individual parts of + # package caches + return json_result + + if not ( + args.all + or args.tarballs + or args.index_cache + or args.packages + or args.tempfiles + or args.logfiles + ): + from ..exceptions import ArgumentError + + raise ArgumentError( + "At least one removal target must be given. See 'conda clean --help'." + ) + + if args.tarballs or args.all: + json_result["tarballs"] = tars = find_tarballs() + rm_pkgs(**tars, **kwargs, name="tarball(s)") + + if args.index_cache or args.all: + cache = find_index_cache() + json_result["index_cache"] = {"files": cache} + rm_items(cache, **kwargs, name="index cache(s)") + + if args.packages or args.all: + json_result["packages"] = pkgs = find_pkgs() + rm_pkgs(**pkgs, **kwargs, name="package(s)") + + if args.tempfiles or args.all: + json_result["tempfiles"] = tmps = find_tempfiles(args.tempfiles) + rm_items(tmps, **kwargs, name="tempfile(s)") + + if args.logfiles or args.all: + json_result["logfiles"] = logs = find_logfiles() + rm_items(logs, **kwargs, name="logfile(s)") + + return json_result + + +def execute(args, parser): + from .common import stdout_json + + json_result = _execute(args, parser) + if context.json: + stdout_json(json_result) + if args.dry_run: + from ..exceptions import DryRunExit + + raise DryRunExit diff --git a/shared/package-files/70/70a4445acb980a853def1de034608d4ac051e0298c37047eff79372656746f86/mit-krb5.pc b/shared/package-files/70/70a4445acb980a853def1de034608d4ac051e0298c37047eff79372656746f86/mit-krb5.pc new file mode 100644 index 0000000000000000000000000000000000000000..935c0b3804d60a6bf6fda50328bd3672aedc7021 --- /dev/null +++ b/shared/package-files/70/70a4445acb980a853def1de034608d4ac051e0298c37047eff79372656746f86/mit-krb5.pc @@ -0,0 +1,15 @@ +prefix=/opt/conda +exec_prefix=${prefix} +libdir=${exec_prefix}/lib +includedir=${prefix}/include + +defccname=FILE:/tmp/krb5cc_%{uid} +defktname=FILE:/etc/krb5.keytab +defcktname=FILE:/opt/conda/var/krb5/user/%{euid}/client.keytab + +Name: mit-krb5 +Description: An implementation of Kerberos network authentication +Version: 1.20.1 +Cflags: -I${includedir} +Libs: -L${libdir} -lkrb5 -lk5crypto -lcom_err +Libs.private: -lkrb5support diff --git a/shared/package-files/70/70a688a03f59bec8c91f43c7c19c8ec66711701b7590dd567c59dea95aacd1bf/test_arrayprint.py b/shared/package-files/70/70a688a03f59bec8c91f43c7c19c8ec66711701b7590dd567c59dea95aacd1bf/test_arrayprint.py new file mode 100644 index 0000000000000000000000000000000000000000..6796b40777fef85e951cb5b6994471f7e64f7e52 --- /dev/null +++ b/shared/package-files/70/70a688a03f59bec8c91f43c7c19c8ec66711701b7590dd567c59dea95aacd1bf/test_arrayprint.py @@ -0,0 +1,1047 @@ +import sys +import gc +from hypothesis import given +from hypothesis.extra import numpy as hynp +import pytest + +import numpy as np +from numpy.testing import ( + assert_, assert_equal, assert_raises, assert_warns, HAS_REFCOUNT, + assert_raises_regex, + ) +from numpy.core.arrayprint import _typelessdata +import textwrap + +class TestArrayRepr: + def test_nan_inf(self): + x = np.array([np.nan, np.inf]) + assert_equal(repr(x), 'array([nan, inf])') + + def test_subclass(self): + class sub(np.ndarray): pass + + # one dimensional + x1d = np.array([1, 2]).view(sub) + assert_equal(repr(x1d), 'sub([1, 2])') + + # two dimensional + x2d = np.array([[1, 2], [3, 4]]).view(sub) + assert_equal(repr(x2d), + 'sub([[1, 2],\n' + ' [3, 4]])') + + # two dimensional with flexible dtype + xstruct = np.ones((2,2), dtype=[('a', ' 1) + y = sub(None) + x[()] = y + y[()] = x + assert_equal(repr(x), + 'sub(sub(sub(..., dtype=object), dtype=object), dtype=object)') + assert_equal(str(x), '...') + x[()] = 0 # resolve circular references for garbage collector + + # nested 0d-subclass-object + x = sub(None) + x[()] = sub(None) + assert_equal(repr(x), 'sub(sub(None, dtype=object), dtype=object)') + assert_equal(str(x), 'None') + + # gh-10663 + class DuckCounter(np.ndarray): + def __getitem__(self, item): + result = super().__getitem__(item) + if not isinstance(result, DuckCounter): + result = result[...].view(DuckCounter) + return result + + def to_string(self): + return {0: 'zero', 1: 'one', 2: 'two'}.get(self.item(), 'many') + + def __str__(self): + if self.shape == (): + return self.to_string() + else: + fmt = {'all': lambda x: x.to_string()} + return np.array2string(self, formatter=fmt) + + dc = np.arange(5).view(DuckCounter) + assert_equal(str(dc), "[zero one two many many]") + assert_equal(str(dc[0]), "zero") + + def test_self_containing(self): + arr0d = np.array(None) + arr0d[()] = arr0d + assert_equal(repr(arr0d), + 'array(array(..., dtype=object), dtype=object)') + arr0d[()] = 0 # resolve recursion for garbage collector + + arr1d = np.array([None, None]) + arr1d[1] = arr1d + assert_equal(repr(arr1d), + 'array([None, array(..., dtype=object)], dtype=object)') + arr1d[1] = 0 # resolve recursion for garbage collector + + first = np.array(None) + second = np.array(None) + first[()] = second + second[()] = first + assert_equal(repr(first), + 'array(array(array(..., dtype=object), dtype=object), dtype=object)') + first[()] = 0 # resolve circular references for garbage collector + + def test_containing_list(self): + # printing square brackets directly would be ambiguuous + arr1d = np.array([None, None]) + arr1d[0] = [1, 2] + arr1d[1] = [3] + assert_equal(repr(arr1d), + 'array([list([1, 2]), list([3])], dtype=object)') + + def test_void_scalar_recursion(self): + # gh-9345 + repr(np.void(b'test')) # RecursionError ? + + def test_fieldless_structured(self): + # gh-10366 + no_fields = np.dtype([]) + arr_no_fields = np.empty(4, dtype=no_fields) + assert_equal(repr(arr_no_fields), 'array([(), (), (), ()], dtype=[])') + + +class TestComplexArray: + def test_str(self): + rvals = [0, 1, -1, np.inf, -np.inf, np.nan] + cvals = [complex(rp, ip) for rp in rvals for ip in rvals] + dtypes = [np.complex64, np.cdouble, np.clongdouble] + actual = [str(np.array([c], dt)) for c in cvals for dt in dtypes] + wanted = [ + '[0.+0.j]', '[0.+0.j]', '[0.+0.j]', + '[0.+1.j]', '[0.+1.j]', '[0.+1.j]', + '[0.-1.j]', '[0.-1.j]', '[0.-1.j]', + '[0.+infj]', '[0.+infj]', '[0.+infj]', + '[0.-infj]', '[0.-infj]', '[0.-infj]', + '[0.+nanj]', '[0.+nanj]', '[0.+nanj]', + '[1.+0.j]', '[1.+0.j]', '[1.+0.j]', + '[1.+1.j]', '[1.+1.j]', '[1.+1.j]', + '[1.-1.j]', '[1.-1.j]', '[1.-1.j]', + '[1.+infj]', '[1.+infj]', '[1.+infj]', + '[1.-infj]', '[1.-infj]', '[1.-infj]', + '[1.+nanj]', '[1.+nanj]', '[1.+nanj]', + '[-1.+0.j]', '[-1.+0.j]', '[-1.+0.j]', + '[-1.+1.j]', '[-1.+1.j]', '[-1.+1.j]', + '[-1.-1.j]', '[-1.-1.j]', '[-1.-1.j]', + '[-1.+infj]', '[-1.+infj]', '[-1.+infj]', + '[-1.-infj]', '[-1.-infj]', '[-1.-infj]', + '[-1.+nanj]', '[-1.+nanj]', '[-1.+nanj]', + '[inf+0.j]', '[inf+0.j]', '[inf+0.j]', + '[inf+1.j]', '[inf+1.j]', '[inf+1.j]', + '[inf-1.j]', '[inf-1.j]', '[inf-1.j]', + '[inf+infj]', '[inf+infj]', '[inf+infj]', + '[inf-infj]', '[inf-infj]', '[inf-infj]', + '[inf+nanj]', '[inf+nanj]', '[inf+nanj]', + '[-inf+0.j]', '[-inf+0.j]', '[-inf+0.j]', + '[-inf+1.j]', '[-inf+1.j]', '[-inf+1.j]', + '[-inf-1.j]', '[-inf-1.j]', '[-inf-1.j]', + '[-inf+infj]', '[-inf+infj]', '[-inf+infj]', + '[-inf-infj]', '[-inf-infj]', '[-inf-infj]', + '[-inf+nanj]', '[-inf+nanj]', '[-inf+nanj]', + '[nan+0.j]', '[nan+0.j]', '[nan+0.j]', + '[nan+1.j]', '[nan+1.j]', '[nan+1.j]', + '[nan-1.j]', '[nan-1.j]', '[nan-1.j]', + '[nan+infj]', '[nan+infj]', '[nan+infj]', + '[nan-infj]', '[nan-infj]', '[nan-infj]', + '[nan+nanj]', '[nan+nanj]', '[nan+nanj]'] + + for res, val in zip(actual, wanted): + assert_equal(res, val) + +class TestArray2String: + def test_basic(self): + """Basic test of array2string.""" + a = np.arange(3) + assert_(np.array2string(a) == '[0 1 2]') + assert_(np.array2string(a, max_line_width=4, legacy='1.13') == '[0 1\n 2]') + assert_(np.array2string(a, max_line_width=4) == '[0\n 1\n 2]') + + def test_unexpected_kwarg(self): + # ensure than an appropriate TypeError + # is raised when array2string receives + # an unexpected kwarg + + with assert_raises_regex(TypeError, 'nonsense'): + np.array2string(np.array([1, 2, 3]), + nonsense=None) + + def test_format_function(self): + """Test custom format function for each element in array.""" + def _format_function(x): + if np.abs(x) < 1: + return '.' + elif np.abs(x) < 2: + return 'o' + else: + return 'O' + + x = np.arange(3) + x_hex = "[0x0 0x1 0x2]" + x_oct = "[0o0 0o1 0o2]" + assert_(np.array2string(x, formatter={'all':_format_function}) == + "[. o O]") + assert_(np.array2string(x, formatter={'int_kind':_format_function}) == + "[. o O]") + assert_(np.array2string(x, formatter={'all':lambda x: "%.4f" % x}) == + "[0.0000 1.0000 2.0000]") + assert_equal(np.array2string(x, formatter={'int':lambda x: hex(x)}), + x_hex) + assert_equal(np.array2string(x, formatter={'int':lambda x: oct(x)}), + x_oct) + + x = np.arange(3.) + assert_(np.array2string(x, formatter={'float_kind':lambda x: "%.2f" % x}) == + "[0.00 1.00 2.00]") + assert_(np.array2string(x, formatter={'float':lambda x: "%.2f" % x}) == + "[0.00 1.00 2.00]") + + s = np.array(['abc', 'def']) + assert_(np.array2string(s, formatter={'numpystr':lambda s: s*2}) == + '[abcabc defdef]') + + def test_structure_format_mixed(self): + dt = np.dtype([('name', np.str_, 16), ('grades', np.float64, (2,))]) + x = np.array([('Sarah', (8.0, 7.0)), ('John', (6.0, 7.0))], dtype=dt) + assert_equal(np.array2string(x), + "[('Sarah', [8., 7.]) ('John', [6., 7.])]") + + np.set_printoptions(legacy='1.13') + try: + # for issue #5692 + A = np.zeros(shape=10, dtype=[("A", "M8[s]")]) + A[5:].fill(np.datetime64('NaT')) + assert_equal( + np.array2string(A), + textwrap.dedent("""\ + [('1970-01-01T00:00:00',) ('1970-01-01T00:00:00',) ('1970-01-01T00:00:00',) + ('1970-01-01T00:00:00',) ('1970-01-01T00:00:00',) ('NaT',) ('NaT',) + ('NaT',) ('NaT',) ('NaT',)]""") + ) + finally: + np.set_printoptions(legacy=False) + + # same again, but with non-legacy behavior + assert_equal( + np.array2string(A), + textwrap.dedent("""\ + [('1970-01-01T00:00:00',) ('1970-01-01T00:00:00',) + ('1970-01-01T00:00:00',) ('1970-01-01T00:00:00',) + ('1970-01-01T00:00:00',) ( 'NaT',) + ( 'NaT',) ( 'NaT',) + ( 'NaT',) ( 'NaT',)]""") + ) + + # and again, with timedeltas + A = np.full(10, 123456, dtype=[("A", "m8[s]")]) + A[5:].fill(np.datetime64('NaT')) + assert_equal( + np.array2string(A), + textwrap.dedent("""\ + [(123456,) (123456,) (123456,) (123456,) (123456,) ( 'NaT',) ( 'NaT',) + ( 'NaT',) ( 'NaT',) ( 'NaT',)]""") + ) + + def test_structure_format_int(self): + # See #8160 + struct_int = np.array([([1, -1],), ([123, 1],)], dtype=[('B', 'i4', 2)]) + assert_equal(np.array2string(struct_int), + "[([ 1, -1],) ([123, 1],)]") + struct_2dint = np.array([([[0, 1], [2, 3]],), ([[12, 0], [0, 0]],)], + dtype=[('B', 'i4', (2, 2))]) + assert_equal(np.array2string(struct_2dint), + "[([[ 0, 1], [ 2, 3]],) ([[12, 0], [ 0, 0]],)]") + + def test_structure_format_float(self): + # See #8172 + array_scalar = np.array( + (1., 2.1234567890123456789, 3.), dtype=('f8,f8,f8')) + assert_equal(np.array2string(array_scalar), "(1., 2.12345679, 3.)") + + def test_unstructured_void_repr(self): + a = np.array([27, 91, 50, 75, 7, 65, 10, 8, + 27, 91, 51, 49,109, 82,101,100], dtype='u1').view('V8') + assert_equal(repr(a[0]), r"void(b'\x1B\x5B\x32\x4B\x07\x41\x0A\x08')") + assert_equal(str(a[0]), r"b'\x1B\x5B\x32\x4B\x07\x41\x0A\x08'") + assert_equal(repr(a), + r"array([b'\x1B\x5B\x32\x4B\x07\x41\x0A\x08'," "\n" + r" b'\x1B\x5B\x33\x31\x6D\x52\x65\x64'], dtype='|V8')") + + assert_equal(eval(repr(a), vars(np)), a) + assert_equal(eval(repr(a[0]), vars(np)), a[0]) + + def test_edgeitems_kwarg(self): + # previously the global print options would be taken over the kwarg + arr = np.zeros(3, int) + assert_equal( + np.array2string(arr, edgeitems=1, threshold=0), + "[0 ... 0]" + ) + + def test_summarize_1d(self): + A = np.arange(1001) + strA = '[ 0 1 2 ... 998 999 1000]' + assert_equal(str(A), strA) + + reprA = 'array([ 0, 1, 2, ..., 998, 999, 1000])' + assert_equal(repr(A), reprA) + + def test_summarize_2d(self): + A = np.arange(1002).reshape(2, 501) + strA = '[[ 0 1 2 ... 498 499 500]\n' \ + ' [ 501 502 503 ... 999 1000 1001]]' + assert_equal(str(A), strA) + + reprA = 'array([[ 0, 1, 2, ..., 498, 499, 500],\n' \ + ' [ 501, 502, 503, ..., 999, 1000, 1001]])' + assert_equal(repr(A), reprA) + + def test_summarize_structure(self): + A = (np.arange(2002, dtype="i8", (2, 1001))]) + strB = "[([[1, 1, 1, ..., 1, 1, 1], [1, 1, 1, ..., 1, 1, 1]],)]" + assert_equal(str(B), strB) + + reprB = ( + "array([([[1, 1, 1, ..., 1, 1, 1], [1, 1, 1, ..., 1, 1, 1]],)],\n" + " dtype=[('i', '>i8', (2, 1001))])" + ) + assert_equal(repr(B), reprB) + + C = (np.arange(22, dtype=" 1: + # if the type is >1 byte, the non-native endian version + # must show endianness. + assert non_native_repr != native_repr + assert f"dtype='{non_native_dtype.byteorder}" in non_native_repr + + def test_linewidth_repr(self): + a = np.full(7, fill_value=2) + np.set_printoptions(linewidth=17) + assert_equal( + repr(a), + textwrap.dedent("""\ + array([2, 2, 2, + 2, 2, 2, + 2])""") + ) + np.set_printoptions(linewidth=17, legacy='1.13') + assert_equal( + repr(a), + textwrap.dedent("""\ + array([2, 2, 2, + 2, 2, 2, 2])""") + ) + + a = np.full(8, fill_value=2) + + np.set_printoptions(linewidth=18, legacy=False) + assert_equal( + repr(a), + textwrap.dedent("""\ + array([2, 2, 2, + 2, 2, 2, + 2, 2])""") + ) + + np.set_printoptions(linewidth=18, legacy='1.13') + assert_equal( + repr(a), + textwrap.dedent("""\ + array([2, 2, 2, 2, + 2, 2, 2, 2])""") + ) + + def test_linewidth_str(self): + a = np.full(18, fill_value=2) + np.set_printoptions(linewidth=18) + assert_equal( + str(a), + textwrap.dedent("""\ + [2 2 2 2 2 2 2 2 + 2 2 2 2 2 2 2 2 + 2 2]""") + ) + np.set_printoptions(linewidth=18, legacy='1.13') + assert_equal( + str(a), + textwrap.dedent("""\ + [2 2 2 2 2 2 2 2 2 + 2 2 2 2 2 2 2 2 2]""") + ) + + def test_edgeitems(self): + np.set_printoptions(edgeitems=1, threshold=1) + a = np.arange(27).reshape((3, 3, 3)) + assert_equal( + repr(a), + textwrap.dedent("""\ + array([[[ 0, ..., 2], + ..., + [ 6, ..., 8]], + + ..., + + [[18, ..., 20], + ..., + [24, ..., 26]]])""") + ) + + b = np.zeros((3, 3, 1, 1)) + assert_equal( + repr(b), + textwrap.dedent("""\ + array([[[[0.]], + + ..., + + [[0.]]], + + + ..., + + + [[[0.]], + + ..., + + [[0.]]]])""") + ) + + # 1.13 had extra trailing spaces, and was missing newlines + np.set_printoptions(legacy='1.13') + + assert_equal( + repr(a), + textwrap.dedent("""\ + array([[[ 0, ..., 2], + ..., + [ 6, ..., 8]], + + ..., + [[18, ..., 20], + ..., + [24, ..., 26]]])""") + ) + + assert_equal( + repr(b), + textwrap.dedent("""\ + array([[[[ 0.]], + + ..., + [[ 0.]]], + + + ..., + [[[ 0.]], + + ..., + [[ 0.]]]])""") + ) + + def test_edgeitems_structured(self): + np.set_printoptions(edgeitems=1, threshold=1) + A = np.arange(5*2*3, dtype=" +#include + +// Forward declarations of any types needed in the operator signatures. +// We can't directly include these classes because it will cause circular include dependencies. +// This file is included by TensorBody.h, which defines the Tensor class. +#include + +namespace at { +namespace _ops { + + +struct TORCH_API replication_pad2d_backward_grad_input { + using schema = at::Tensor & (const at::Tensor &, const at::Tensor &, c10::SymIntArrayRef, at::Tensor &); + using ptr_schema = schema*; + // See Note [static constexpr char* members for windows NVCC] + STATIC_CONSTEXPR_STR_INL_EXCEPT_WIN_CUDA(name, "aten::replication_pad2d_backward") + STATIC_CONSTEXPR_STR_INL_EXCEPT_WIN_CUDA(overload_name, "grad_input") + STATIC_CONSTEXPR_STR_INL_EXCEPT_WIN_CUDA(schema_str, "replication_pad2d_backward.grad_input(Tensor grad_output, Tensor self, SymInt[4] padding, *, Tensor(a!) grad_input) -> Tensor(a!)") + static at::Tensor & call(const at::Tensor & grad_output, const at::Tensor & self, c10::SymIntArrayRef padding, at::Tensor & grad_input); + static at::Tensor & redispatch(c10::DispatchKeySet dispatchKeySet, const at::Tensor & grad_output, const at::Tensor & self, c10::SymIntArrayRef padding, at::Tensor & grad_input); +}; + +struct TORCH_API replication_pad2d_backward { + using schema = at::Tensor (const at::Tensor &, const at::Tensor &, c10::SymIntArrayRef); + using ptr_schema = schema*; + // See Note [static constexpr char* members for windows NVCC] + STATIC_CONSTEXPR_STR_INL_EXCEPT_WIN_CUDA(name, "aten::replication_pad2d_backward") + STATIC_CONSTEXPR_STR_INL_EXCEPT_WIN_CUDA(overload_name, "") + STATIC_CONSTEXPR_STR_INL_EXCEPT_WIN_CUDA(schema_str, "replication_pad2d_backward(Tensor grad_output, Tensor self, SymInt[4] padding) -> Tensor") + static at::Tensor call(const at::Tensor & grad_output, const at::Tensor & self, c10::SymIntArrayRef padding); + static at::Tensor redispatch(c10::DispatchKeySet dispatchKeySet, const at::Tensor & grad_output, const at::Tensor & self, c10::SymIntArrayRef padding); +}; + +}} // namespace at::_ops diff --git a/shared/package-files/70/70b9260ea978ee0b53751fa1a97f77c467803dcf668ad22e6036465bb4679490/_nested_from_padded_and_nested_example.h b/shared/package-files/70/70b9260ea978ee0b53751fa1a97f77c467803dcf668ad22e6036465bb4679490/_nested_from_padded_and_nested_example.h new file mode 100644 index 0000000000000000000000000000000000000000..66ad828ef0c202f7b5c9effe7c2d51abb926c2a4 --- /dev/null +++ b/shared/package-files/70/70b9260ea978ee0b53751fa1a97f77c467803dcf668ad22e6036465bb4679490/_nested_from_padded_and_nested_example.h @@ -0,0 +1,39 @@ +#pragma once + +// @generated by torchgen/gen.py from Function.h + +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include + + + +#include + +namespace at { + + +// aten::_nested_from_padded_and_nested_example(Tensor padded, Tensor nt_example) -> Tensor +inline at::Tensor _nested_from_padded_and_nested_example(const at::Tensor & padded, const at::Tensor & nt_example) { + return at::_ops::_nested_from_padded_and_nested_example::call(padded, nt_example); +} + +// aten::_nested_from_padded_and_nested_example.out(Tensor padded, Tensor nt_example, *, Tensor(a!) out) -> Tensor(a!) +inline at::Tensor & _nested_from_padded_and_nested_example_out(at::Tensor & out, const at::Tensor & padded, const at::Tensor & nt_example) { + return at::_ops::_nested_from_padded_and_nested_example_out::call(padded, nt_example, out); +} +// aten::_nested_from_padded_and_nested_example.out(Tensor padded, Tensor nt_example, *, Tensor(a!) out) -> Tensor(a!) +inline at::Tensor & _nested_from_padded_and_nested_example_outf(const at::Tensor & padded, const at::Tensor & nt_example, at::Tensor & out) { + return at::_ops::_nested_from_padded_and_nested_example_out::call(padded, nt_example, out); +} + +} diff --git a/shared/package-files/70/70b98a95a2144eb70af8017fa8c6d95ce247e40867436e8bc649e137fe13d21a/LICENSE b/shared/package-files/70/70b98a95a2144eb70af8017fa8c6d95ce247e40867436e8bc649e137fe13d21a/LICENSE new file mode 100644 index 0000000000000000000000000000000000000000..a44c0757243a785b0b73c21a38c45f44a4a2c32f --- /dev/null +++ b/shared/package-files/70/70b98a95a2144eb70af8017fa8c6d95ce247e40867436e8bc649e137fe13d21a/LICENSE @@ -0,0 +1,27 @@ +The MIT License (MIT) + +Copyright (c) 2014 Jeff Quast + +Permission is hereby granted, free of charge, to any person obtaining a copy +of this software and associated documentation files (the "Software"), to deal +in the Software without restriction, including without limitation the rights +to use, copy, modify, merge, publish, distribute, sublicense, and/or sell +copies of the Software, and to permit persons to whom the Software is +furnished to do so, subject to the following conditions: + +The above copyright notice and this permission notice shall be included in all +copies or substantial portions of the Software. + +THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR +IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, +FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE +AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER +LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, +OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE +SOFTWARE. + +Markus Kuhn -- 2007-05-26 (Unicode 5.0) + +Permission to use, copy, modify, and distribute this software +for any purpose and without fee is hereby granted. The author +disclaims all warranties with regard to this software. diff --git a/shared/package-files/70/70c394b08f180924c9683c71e4e876b8791cfd70ce5982f210174e33f500ade6/special_chebyshev_polynomial_t_ops.h b/shared/package-files/70/70c394b08f180924c9683c71e4e876b8791cfd70ce5982f210174e33f500ade6/special_chebyshev_polynomial_t_ops.h new file mode 100644 index 0000000000000000000000000000000000000000..921752fe249a75b96dae7e0b9cb20f8c87b65d74 --- /dev/null +++ b/shared/package-files/70/70c394b08f180924c9683c71e4e876b8791cfd70ce5982f210174e33f500ade6/special_chebyshev_polynomial_t_ops.h @@ -0,0 +1,83 @@ +#pragma once + +// @generated by torchgen/gen.py from Operator.h + +#include +#include + +// Forward declarations of any types needed in the operator signatures. +// We can't directly include these classes because it will cause circular include dependencies. +// This file is included by TensorBody.h, which defines the Tensor class. +#include + +namespace at { +namespace _ops { + + +struct TORCH_API special_chebyshev_polynomial_t { + using schema = at::Tensor (const at::Tensor &, const at::Tensor &); + using ptr_schema = schema*; + // See Note [static constexpr char* members for windows NVCC] + STATIC_CONSTEXPR_STR_INL_EXCEPT_WIN_CUDA(name, "aten::special_chebyshev_polynomial_t") + STATIC_CONSTEXPR_STR_INL_EXCEPT_WIN_CUDA(overload_name, "") + STATIC_CONSTEXPR_STR_INL_EXCEPT_WIN_CUDA(schema_str, "special_chebyshev_polynomial_t(Tensor x, Tensor n) -> Tensor") + static at::Tensor call(const at::Tensor & x, const at::Tensor & n); + static at::Tensor redispatch(c10::DispatchKeySet dispatchKeySet, const at::Tensor & x, const at::Tensor & n); +}; + +struct TORCH_API special_chebyshev_polynomial_t_x_scalar { + using schema = at::Tensor (const at::Scalar &, const at::Tensor &); + using ptr_schema = schema*; + // See Note [static constexpr char* members for windows NVCC] + STATIC_CONSTEXPR_STR_INL_EXCEPT_WIN_CUDA(name, "aten::special_chebyshev_polynomial_t") + STATIC_CONSTEXPR_STR_INL_EXCEPT_WIN_CUDA(overload_name, "x_scalar") + STATIC_CONSTEXPR_STR_INL_EXCEPT_WIN_CUDA(schema_str, "special_chebyshev_polynomial_t.x_scalar(Scalar x, Tensor n) -> Tensor") + static at::Tensor call(const at::Scalar & x, const at::Tensor & n); + static at::Tensor redispatch(c10::DispatchKeySet dispatchKeySet, const at::Scalar & x, const at::Tensor & n); +}; + +struct TORCH_API special_chebyshev_polynomial_t_n_scalar { + using schema = at::Tensor (const at::Tensor &, const at::Scalar &); + using ptr_schema = schema*; + // See Note [static constexpr char* members for windows NVCC] + STATIC_CONSTEXPR_STR_INL_EXCEPT_WIN_CUDA(name, "aten::special_chebyshev_polynomial_t") + STATIC_CONSTEXPR_STR_INL_EXCEPT_WIN_CUDA(overload_name, "n_scalar") + STATIC_CONSTEXPR_STR_INL_EXCEPT_WIN_CUDA(schema_str, "special_chebyshev_polynomial_t.n_scalar(Tensor x, Scalar n) -> Tensor") + static at::Tensor call(const at::Tensor & x, const at::Scalar & n); + static at::Tensor redispatch(c10::DispatchKeySet dispatchKeySet, const at::Tensor & x, const at::Scalar & n); +}; + +struct TORCH_API special_chebyshev_polynomial_t_out { + using schema = at::Tensor & (const at::Tensor &, const at::Tensor &, at::Tensor &); + using ptr_schema = schema*; + // See Note [static constexpr char* members for windows NVCC] + STATIC_CONSTEXPR_STR_INL_EXCEPT_WIN_CUDA(name, "aten::special_chebyshev_polynomial_t") + STATIC_CONSTEXPR_STR_INL_EXCEPT_WIN_CUDA(overload_name, "out") + STATIC_CONSTEXPR_STR_INL_EXCEPT_WIN_CUDA(schema_str, "special_chebyshev_polynomial_t.out(Tensor x, Tensor n, *, Tensor(a!) out) -> Tensor(a!)") + static at::Tensor & call(const at::Tensor & x, const at::Tensor & n, at::Tensor & out); + static at::Tensor & redispatch(c10::DispatchKeySet dispatchKeySet, const at::Tensor & x, const at::Tensor & n, at::Tensor & out); +}; + +struct TORCH_API special_chebyshev_polynomial_t_x_scalar_out { + using schema = at::Tensor & (const at::Scalar &, const at::Tensor &, at::Tensor &); + using ptr_schema = schema*; + // See Note [static constexpr char* members for windows NVCC] + STATIC_CONSTEXPR_STR_INL_EXCEPT_WIN_CUDA(name, "aten::special_chebyshev_polynomial_t") + STATIC_CONSTEXPR_STR_INL_EXCEPT_WIN_CUDA(overload_name, "x_scalar_out") + STATIC_CONSTEXPR_STR_INL_EXCEPT_WIN_CUDA(schema_str, "special_chebyshev_polynomial_t.x_scalar_out(Scalar x, Tensor n, *, Tensor(a!) out) -> Tensor(a!)") + static at::Tensor & call(const at::Scalar & x, const at::Tensor & n, at::Tensor & out); + static at::Tensor & redispatch(c10::DispatchKeySet dispatchKeySet, const at::Scalar & x, const at::Tensor & n, at::Tensor & out); +}; + +struct TORCH_API special_chebyshev_polynomial_t_n_scalar_out { + using schema = at::Tensor & (const at::Tensor &, const at::Scalar &, at::Tensor &); + using ptr_schema = schema*; + // See Note [static constexpr char* members for windows NVCC] + STATIC_CONSTEXPR_STR_INL_EXCEPT_WIN_CUDA(name, "aten::special_chebyshev_polynomial_t") + STATIC_CONSTEXPR_STR_INL_EXCEPT_WIN_CUDA(overload_name, "n_scalar_out") + STATIC_CONSTEXPR_STR_INL_EXCEPT_WIN_CUDA(schema_str, "special_chebyshev_polynomial_t.n_scalar_out(Tensor x, Scalar n, *, Tensor(a!) out) -> Tensor(a!)") + static at::Tensor & call(const at::Tensor & x, const at::Scalar & n, at::Tensor & out); + static at::Tensor & redispatch(c10::DispatchKeySet dispatchKeySet, const at::Tensor & x, const at::Scalar & n, at::Tensor & out); +}; + +}} // namespace at::_ops diff --git a/shared/package-files/70/70ca815ca02bd68ea476a0ccf1191935c94576e874b3e400bfe8d49a95181dcd/_collections.pyi b/shared/package-files/70/70ca815ca02bd68ea476a0ccf1191935c94576e874b3e400bfe8d49a95181dcd/_collections.pyi new file mode 100644 index 0000000000000000000000000000000000000000..f97b6d5d6dd1662c019cb70c55f3660a0438f314 --- /dev/null +++ b/shared/package-files/70/70ca815ca02bd68ea476a0ccf1191935c94576e874b3e400bfe8d49a95181dcd/_collections.pyi @@ -0,0 +1,36 @@ +from typing import Any, Callable, Dict, Generic, Iterator, Optional, TypeVar, Union + +_K = TypeVar("_K") +_V = TypeVar("_V") +_T = TypeVar("_T") +_T2 = TypeVar("_T2") + +class defaultdict(Dict[_K, _V]): + default_factory: None + def __init__(self, __default_factory: Callable[[], _V] = ..., init: Any = ...) -> None: ... + def __missing__(self, key: _K) -> _V: ... + def __copy__(self: _T) -> _T: ... + def copy(self: _T) -> _T: ... + +class deque(Generic[_T]): + maxlen: Optional[int] + def __init__(self, iterable: Iterator[_T] = ..., maxlen: int = ...) -> None: ... + def append(self, x: _T) -> None: ... + def appendleft(self, x: _T) -> None: ... + def clear(self) -> None: ... + def count(self, x: Any) -> int: ... + def extend(self, iterable: Iterator[_T]) -> None: ... + def extendleft(self, iterable: Iterator[_T]) -> None: ... + def pop(self) -> _T: ... + def popleft(self) -> _T: ... + def remove(self, value: _T) -> None: ... + def reverse(self) -> None: ... + def rotate(self, n: int = ...) -> None: ... + def __contains__(self, o: Any) -> bool: ... + def __copy__(self) -> deque[_T]: ... + def __getitem__(self, i: int) -> _T: ... + def __iadd__(self, other: deque[_T2]) -> deque[Union[_T, _T2]]: ... + def __iter__(self) -> Iterator[_T]: ... + def __len__(self) -> int: ... + def __reversed__(self) -> Iterator[_T]: ... + def __setitem__(self, i: int, x: _T) -> None: ... diff --git a/shared/package-files/70/70cdf2f7977d765bbc934d37e50b4b8c5ab215164295f371f901e4238604fadf/_scaled_dot_product_flash_attention_for_cpu_backward_cpu_dispatch.h b/shared/package-files/70/70cdf2f7977d765bbc934d37e50b4b8c5ab215164295f371f901e4238604fadf/_scaled_dot_product_flash_attention_for_cpu_backward_cpu_dispatch.h new file mode 100644 index 0000000000000000000000000000000000000000..99a739f98a66527cfcb01121db66530aa3893e96 --- /dev/null +++ b/shared/package-files/70/70cdf2f7977d765bbc934d37e50b4b8c5ab215164295f371f901e4238604fadf/_scaled_dot_product_flash_attention_for_cpu_backward_cpu_dispatch.h @@ -0,0 +1,23 @@ +#pragma once +// @generated by torchgen/gen.py from DispatchKeyFunction.h + +// NB: The implementing C++ file is RegisterDispatchKey.cpp + +// The only #includes we need are for custom classes that have defaults in the C++ API +#include +#include +#include + +// Forward declarations of any types needed in the operator signatures. +// We can't directly include these classes because it will cause circular include dependencies. +// This file is included by TensorBody.h, which defines the Tensor class. +#include + +namespace at { + +namespace cpu { + +TORCH_API ::std::tuple _scaled_dot_product_flash_attention_for_cpu_backward(const at::Tensor & grad_out, const at::Tensor & query, const at::Tensor & key, const at::Tensor & value, const at::Tensor & out, const at::Tensor & logsumexp, double dropout_p, bool is_causal, const c10::optional & attn_mask={}, c10::optional scale=c10::nullopt); + +} // namespace cpu +} // namespace at diff --git a/shared/package-files/70/70d19613555f7e28ea84fb526aac1a82d049be324af97ac9e8af3445444b778f/__init__.py b/shared/package-files/70/70d19613555f7e28ea84fb526aac1a82d049be324af97ac9e8af3445444b778f/__init__.py new file mode 100644 index 0000000000000000000000000000000000000000..537b73b3aeb36df09863a0cd24957e5612deb030 --- /dev/null +++ b/shared/package-files/70/70d19613555f7e28ea84fb526aac1a82d049be324af97ac9e8af3445444b778f/__init__.py @@ -0,0 +1,12 @@ +from ._trlib import TRLIBQuadraticSubproblem + +__all__ = ['TRLIBQuadraticSubproblem', 'get_trlib_quadratic_subproblem'] + + +def get_trlib_quadratic_subproblem(tol_rel_i=-2.0, tol_rel_b=-3.0, disp=False): + def subproblem_factory(x, fun, jac, hess, hessp): + return TRLIBQuadraticSubproblem(x, fun, jac, hess, hessp, + tol_rel_i=tol_rel_i, + tol_rel_b=tol_rel_b, + disp=disp) + return subproblem_factory diff --git a/shared/package-files/70/70d35a45445d70f8db4299313c67b889a4a1c90aff0f1f21e8d409b9b3e1abb8/__init__.py b/shared/package-files/70/70d35a45445d70f8db4299313c67b889a4a1c90aff0f1f21e8d409b9b3e1abb8/__init__.py new file mode 100644 index 0000000000000000000000000000000000000000..7338c960a44c4d0c3a56c370ce3b398b255cd0cb --- /dev/null +++ b/shared/package-files/70/70d35a45445d70f8db4299313c67b889a4a1c90aff0f1f21e8d409b9b3e1abb8/__init__.py @@ -0,0 +1,92 @@ +""" +Thin wrappers around common functions. + +Subpackages contain potentially unstable extensions. +""" +from warnings import warn + +from ..auto import tqdm as tqdm_auto +from ..std import TqdmDeprecationWarning, tqdm +from ..utils import ObjectWrapper + +__author__ = {"github.com/": ["casperdcl"]} +__all__ = ['tenumerate', 'tzip', 'tmap'] + + +class DummyTqdmFile(ObjectWrapper): + """Dummy file-like that will write to tqdm""" + + def __init__(self, wrapped): + super(DummyTqdmFile, self).__init__(wrapped) + self._buf = [] + + def write(self, x, nolock=False): + nl = b"\n" if isinstance(x, bytes) else "\n" + pre, sep, post = x.rpartition(nl) + if sep: + blank = type(nl)() + tqdm.write(blank.join(self._buf + [pre, sep]), + end=blank, file=self._wrapped, nolock=nolock) + self._buf = [post] + else: + self._buf.append(x) + + def __del__(self): + if self._buf: + blank = type(self._buf[0])() + try: + tqdm.write(blank.join(self._buf), end=blank, file=self._wrapped) + except (OSError, ValueError): + pass + + +def builtin_iterable(func): + """Returns `func`""" + warn("This function has no effect, and will be removed in tqdm==5.0.0", + TqdmDeprecationWarning, stacklevel=2) + return func + + +def tenumerate(iterable, start=0, total=None, tqdm_class=tqdm_auto, **tqdm_kwargs): + """ + Equivalent of `numpy.ndenumerate` or builtin `enumerate`. + + Parameters + ---------- + tqdm_class : [default: tqdm.auto.tqdm]. + """ + try: + import numpy as np + except ImportError: + pass + else: + if isinstance(iterable, np.ndarray): + return tqdm_class(np.ndenumerate(iterable), total=total or iterable.size, + **tqdm_kwargs) + return enumerate(tqdm_class(iterable, total=total, **tqdm_kwargs), start) + + +def tzip(iter1, *iter2plus, **tqdm_kwargs): + """ + Equivalent of builtin `zip`. + + Parameters + ---------- + tqdm_class : [default: tqdm.auto.tqdm]. + """ + kwargs = tqdm_kwargs.copy() + tqdm_class = kwargs.pop("tqdm_class", tqdm_auto) + for i in zip(tqdm_class(iter1, **kwargs), *iter2plus): + yield i + + +def tmap(function, *sequences, **tqdm_kwargs): + """ + Equivalent of builtin `map`. + + Parameters + ---------- + tqdm_class : [default: tqdm.auto.tqdm]. + """ + for i in tzip(*sequences, **tqdm_kwargs): + yield function(*i) diff --git a/shared/package-files/70/70dab5afcc23eca6b050b9c80b15c14d60ea3b4415182a0128b96cdcefe8e3c3/writer.pyi b/shared/package-files/70/70dab5afcc23eca6b050b9c80b15c14d60ea3b4415182a0128b96cdcefe8e3c3/writer.pyi new file mode 100644 index 0000000000000000000000000000000000000000..751d8a919de6a09e0b653209d605ecdbca9df235 --- /dev/null +++ b/shared/package-files/70/70dab5afcc23eca6b050b9c80b15c14d60ea3b4415182a0128b96cdcefe8e3c3/writer.pyi @@ -0,0 +1,40 @@ +from typing import Any, List, Set, Tuple, Union, Type + +from django.db.migrations.migration import Migration +from django.db.migrations.operations.base import Operation +from django.db.migrations.operations.models import CreateModel +from django.db.migrations.serializer import BaseSerializer + +class SettingsReference(str): + def __init__(self, value: str, setting_name: str) -> None: ... + +class OperationWriter: + operation: CreateModel = ... + buff: List[Any] = ... + indentation: int = ... + def __init__(self, operation: Operation, indentation: int = ...) -> None: ... + def serialize(self) -> Tuple[str, Set[str]]: ... + def indent(self) -> None: ... + def unindent(self) -> None: ... + def feed(self, line: str) -> None: ... + def render(self) -> str: ... + +class MigrationWriter: + migration: Migration = ... + needs_manual_porting: bool = ... + def __init__(self, migration: Union[type, Migration], include_header: bool = ...) -> None: ... + def as_string(self) -> str: ... + @property + def basedir(self) -> str: ... + @property + def filename(self) -> str: ... + @property + def path(self) -> str: ... + @classmethod + def serialize(cls, value: Any) -> Tuple[str, Set[str]]: ... + @classmethod + def register_serializer(cls, type_: type, serializer: Type[BaseSerializer]) -> None: ... + @classmethod + def unregister_serializer(cls, type_: type) -> None: ... + +MIGRATION_TEMPLATE: str diff --git a/shared/package-files/70/70e3273deed88a7a0d11cb6db54b8f934dd417cb7f3a7d7015475b744172258a/_foobar_ops.h b/shared/package-files/70/70e3273deed88a7a0d11cb6db54b8f934dd417cb7f3a7d7015475b744172258a/_foobar_ops.h new file mode 100644 index 0000000000000000000000000000000000000000..b599e69578952940cc167aaeb4b109a1de870520 --- /dev/null +++ b/shared/package-files/70/70e3273deed88a7a0d11cb6db54b8f934dd417cb7f3a7d7015475b744172258a/_foobar_ops.h @@ -0,0 +1,39 @@ +#pragma once + +// @generated by torchgen/gen.py from Operator.h + +#include +#include + +// Forward declarations of any types needed in the operator signatures. +// We can't directly include these classes because it will cause circular include dependencies. +// This file is included by TensorBody.h, which defines the Tensor class. +#include + +namespace at { +namespace _ops { + + +struct TORCH_API _foobar { + using schema = at::Tensor (const at::Tensor &, bool, bool, bool); + using ptr_schema = schema*; + // See Note [static constexpr char* members for windows NVCC] + STATIC_CONSTEXPR_STR_INL_EXCEPT_WIN_CUDA(name, "aten::_foobar") + STATIC_CONSTEXPR_STR_INL_EXCEPT_WIN_CUDA(overload_name, "") + STATIC_CONSTEXPR_STR_INL_EXCEPT_WIN_CUDA(schema_str, "_foobar(Tensor self, bool arg1=True, bool arg2=True, *, bool arg3=True) -> Tensor") + static at::Tensor call(const at::Tensor & self, bool arg1, bool arg2, bool arg3); + static at::Tensor redispatch(c10::DispatchKeySet dispatchKeySet, const at::Tensor & self, bool arg1, bool arg2, bool arg3); +}; + +struct TORCH_API _foobar_out { + using schema = at::Tensor & (const at::Tensor &, bool, bool, bool, at::Tensor &); + using ptr_schema = schema*; + // See Note [static constexpr char* members for windows NVCC] + STATIC_CONSTEXPR_STR_INL_EXCEPT_WIN_CUDA(name, "aten::_foobar") + STATIC_CONSTEXPR_STR_INL_EXCEPT_WIN_CUDA(overload_name, "out") + STATIC_CONSTEXPR_STR_INL_EXCEPT_WIN_CUDA(schema_str, "_foobar.out(Tensor self, bool arg1=True, bool arg2=True, *, bool arg3=True, Tensor(a!) out) -> Tensor(a!)") + static at::Tensor & call(const at::Tensor & self, bool arg1, bool arg2, bool arg3, at::Tensor & out); + static at::Tensor & redispatch(c10::DispatchKeySet dispatchKeySet, const at::Tensor & self, bool arg1, bool arg2, bool arg3, at::Tensor & out); +}; + +}} // namespace at::_ops diff --git a/shared/package-files/70/70e380f7528fd4d13206ee22b421d078ba178e71202fe49cafd808f8acb37721/_fw_primal_copy_native.h b/shared/package-files/70/70e380f7528fd4d13206ee22b421d078ba178e71202fe49cafd808f8acb37721/_fw_primal_copy_native.h new file mode 100644 index 0000000000000000000000000000000000000000..d87a46efb2c43ab4a6c18d0792ea6cef0f644112 --- /dev/null +++ b/shared/package-files/70/70e380f7528fd4d13206ee22b421d078ba178e71202fe49cafd808f8acb37721/_fw_primal_copy_native.h @@ -0,0 +1,22 @@ +#pragma once + +// @generated by torchgen/gen.py from NativeFunction.h + +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include + + +namespace at { +namespace native { +TORCH_API at::Tensor & _fw_primal_copy_out(const at::Tensor & self, int64_t level, at::Tensor & out); +TORCH_API at::Tensor _fw_primal_copy(const at::Tensor & self, int64_t level); +} // namespace native +} // namespace at diff --git a/shared/package-files/70/70e784d0d525eff3caf54e94c0f329a127de160c86e6a220272c3ca0ced06be8/scdoc.py b/shared/package-files/70/70e784d0d525eff3caf54e94c0f329a127de160c86e6a220272c3ca0ced06be8/scdoc.py new file mode 100644 index 0000000000000000000000000000000000000000..f3c868ec249845708b7c7a05063c7bca26aa9c57 --- /dev/null +++ b/shared/package-files/70/70e784d0d525eff3caf54e94c0f329a127de160c86e6a220272c3ca0ced06be8/scdoc.py @@ -0,0 +1,79 @@ +""" + pygments.lexers.scdoc + ~~~~~~~~~~~~~~~~~~~~~ + + Lexer for scdoc, a simple man page generator. + + :copyright: Copyright 2006-2023 by the Pygments team, see AUTHORS. + :license: BSD, see LICENSE for details. +""" + +import re + +from pygments.lexer import RegexLexer, include, bygroups, using, this +from pygments.token import Text, Comment, Keyword, String, Generic + +__all__ = ['ScdocLexer'] + + +class ScdocLexer(RegexLexer): + """ + `scdoc` is a simple man page generator for POSIX systems written in C99. + + .. versionadded:: 2.5 + """ + name = 'scdoc' + url = 'https://git.sr.ht/~sircmpwn/scdoc' + aliases = ['scdoc', 'scd'] + filenames = ['*.scd', '*.scdoc'] + flags = re.MULTILINE + + tokens = { + 'root': [ + # comment + (r'^(;.+\n)', bygroups(Comment)), + + # heading with pound prefix + (r'^(#)([^#].+\n)', bygroups(Generic.Heading, Text)), + (r'^(#{2})(.+\n)', bygroups(Generic.Subheading, Text)), + # bulleted lists + (r'^(\s*)([*-])(\s)(.+\n)', + bygroups(Text, Keyword, Text, using(this, state='inline'))), + # numbered lists + (r'^(\s*)(\.+\.)( .+\n)', + bygroups(Text, Keyword, using(this, state='inline'))), + # quote + (r'^(\s*>\s)(.+\n)', bygroups(Keyword, Generic.Emph)), + # text block + (r'^(```\n)([\w\W]*?)(^```$)', bygroups(String, Text, String)), + + include('inline'), + ], + 'inline': [ + # escape + (r'\\.', Text), + # underlines + (r'(\s)(_[^_]+_)(\W|\n)', bygroups(Text, Generic.Emph, Text)), + # bold + (r'(\s)(\*[^*]+\*)(\W|\n)', bygroups(Text, Generic.Strong, Text)), + # inline code + (r'`[^`]+`', String.Backtick), + + # general text, must come last! + (r'[^\\\s]+', Text), + (r'.', Text), + ], + } + + def analyse_text(text): + """This is very similar to markdown, save for the escape characters + needed for * and _.""" + result = 0 + + if '\\*' in text: + result += 0.01 + + if '\\_' in text: + result += 0.01 + + return result diff --git a/shared/package-files/70/70e948feed0eeb2feac57417d33aaa9d0098c063828f58949a8680f3962b5fbb/bundled_inputs.py b/shared/package-files/70/70e948feed0eeb2feac57417d33aaa9d0098c063828f58949a8680f3962b5fbb/bundled_inputs.py new file mode 100644 index 0000000000000000000000000000000000000000..2a95c7828843cde842e59929edcdb602bf85ccfc --- /dev/null +++ b/shared/package-files/70/70e948feed0eeb2feac57417d33aaa9d0098c063828f58949a8680f3962b5fbb/bundled_inputs.py @@ -0,0 +1,471 @@ +#!/usr/bin/env python3 +from typing import Any, TypeVar, Optional, Tuple, List, NamedTuple, Union, Sequence, Dict, Callable +import textwrap +import torch +from torch._C import TupleType, ListType +from torch.jit._recursive import wrap_cpp_module + + +T = TypeVar("T") + +MAX_RAW_TENSOR_SIZE = 16 + +class InflatableArg(NamedTuple): + """Helper type for bundled inputs. + + 'value' is the compressed/deflated input that is stored in the model. Value + must be of the same type as the argument to the function that it is a deflated + input for. + + 'fmt' is a formatable code string that is executed to inflate the compressed data into + the appropriate input. It can use 'value' as an input to the format str. It must result + in a value of the same type as 'value'. + + 'fmt_fn' is a formatable function code string that is executed to inflate the compressed + data into the appropriate input. It must result in a value of the same type as 'value'. + The function name should be the formatable part of the string. + + Note: Only top level InflatableArgs can be inflated. i.e. you cannot place + an inflatable arg inside of some other structure. You should instead create + an inflatable arg such that the fmt code string returns the full structure + of your input. + """ + + value: Any + fmt: str = "{}" + fmt_fn: str = "" + + +def bundle_inputs( + model: torch.jit.ScriptModule, + inputs: Union[Optional[Sequence[Tuple[Any, ...]]], Dict[Callable, Optional[Sequence[Tuple[Any, ...]]]]], + info: Optional[Union[List[str], Dict[Callable, List[str]]]] = None, + *, + _receive_inflate_expr: Optional[List[str]] = None, +) -> torch.jit.ScriptModule: + """Create and return a copy of the specified model with inputs attached. + + The original model is not mutated or changed in any way. + + Models with bundled inputs can be invoked in a uniform manner by + benchmarking and code coverage tools. + + If inputs is passed in as a list then the inputs will be bundled for 'forward'. + If inputs is instead passed in as a map then all the methods specified in the map + will have their corresponding inputs bundled. Info should match watchever type is + chosen for the inputs. + + The returned model will support the following methods: + + `get_all_bundled_inputs_for_() -> List[Tuple[Any, ...]]` + Returns a list of tuples suitable for passing to the model like + `for inp in model.get_all_bundled_inputs_for_foo(): model.foo(*inp)` + + `get_bundled_inputs_functions_and_info() -> Dict[str, Dict[str: List[str]]]` + Returns a dictionary mapping function names to a metadata dictionary. + This nested dictionary maps preset strings like: + 'get_inputs_function_name' -> the name of a function attribute in this model that can be + run to get back a list of inputs corresponding to that function. + 'info' -> the user provided extra information about the bundled inputs + + If forward has bundled inputs then these following functions will also be defined on the returned module: + + `get_all_bundled_inputs() -> List[Tuple[Any, ...]]` + Returns a list of tuples suitable for passing to the model like + `for inp in model.get_all_bundled_inputs(): model(*inp)` + + `get_num_bundled_inputs() -> int` + Equivalent to `len(model.get_all_bundled_inputs())`, + but slightly easier to call from C++. + + Inputs can be specified in one of two ways: + + - The model can define `_generate_bundled_inputs_for_`. + If the user chooses this method inputs[] should map to None + + - The `inputs` argument to this function can be a dictionary mapping functions to a + list of inputs, of the same form that will be returned by get_all_bundled_inputs_for_. + Alternatively if only bundling inputs for forward the map can be omitted and a singular list of inputs + can be provided instead. + + The type of the inputs is List[Tuple[Any, ...]]. The outer list corresponds with a + list of inputs, the inner tuple is the list of args that together make up one input. + For inputs of functions that take one arg, this will be a tuple of length one. The Any, ... + is the actual data that makes up the args, e.g. a tensor. + + Info is an optional parameter that maps functions to a list of strings providing extra information about that + function's bundled inputs. Alternatively if only bundling inputs for forward the map can be omitted and + a singular list of information can be provided instead. This could be descriptions, expected outputs, etc. + - Ex: info={model.forward : ['man eating icecream', 'an airplane', 'a dog']} + + This function will attempt to optimize arguments so that (e.g.) + arguments like `torch.zeros(1000)` will be represented compactly. + Only top-level arguments will be optimized. + Tensors in lists or tuples will not. + """ + if not isinstance(model, torch.jit.ScriptModule): + raise Exception("Only ScriptModule is supported.") + + ignored_methods, ignored_attrs = _get_bundled_inputs_attributes_and_methods(model) + clone = torch._C._hack_do_not_use_clone_module_with_class( # type: ignore[attr-defined] + model._c, + ignored_methods, + ignored_attrs, + ) + + # The above cloning function returns a torch._C.scriptmodule and we need a torch.jit.scriptmodule. + # Fortunately theres a function in _recursive that does exactly that conversion. + cloned_module = wrap_cpp_module(clone) + if isinstance(inputs, dict): + assert isinstance(info, dict) or info is None + augment_many_model_functions_with_bundled_inputs(cloned_module, inputs, _receive_inflate_expr, info) + else: + assert isinstance(info, list) or info is None + augment_model_with_bundled_inputs(cloned_module, inputs, _receive_inflate_expr, info) + return cloned_module + +def augment_model_with_bundled_inputs( + model: torch.jit.ScriptModule, + inputs: Optional[Sequence[Tuple[Any, ...]]] = None, + _receive_inflate_expr: Optional[List[str]] = None, # For debugging. + info: Optional[List[str]] = None, # Optional argument to provide info about forward or its inputs + skip_size_check=False, +) -> None: + """Add bundled sample inputs to a model for the forward function. + + Models with bundled inputs can be invoked in a uniform manner by + benchmarking and code coverage tools. + + Augmented models will support the following methods: + + `get_all_bundled_inputs() -> List[Tuple[Any, ...]]` + Returns a list of tuples suitable for passing to the model like + `for inp in model.get_all_bundled_inputs(): model(*inp)` + + `get_num_bundled_inputs() -> int` + Equivalent to `len(model.get_all_bundled_inputs())`, + but slightly easier to call from C++. + + `get_bundled_inputs_functions_and_info() -> Dict[str, Dict[str: List[str]]]` + Returns a dictionary mapping function names to a metadata dictionary. + This nested dictionary maps preset strings like: + 'get_inputs_function_name' -> the name of a function attribute in this model that can be + run to get back a list of inputs corresponding to that function. + 'info' -> the user provided extra information about the bundled inputs + + Inputs can be specified in one of two ways: + + - The model can define `_generate_bundled_inputs_for_forward`. + If the user chooses this method inputs should be None + + - `inputs` is a list of inputs of form List[Tuple[Any, ...]]. A list of tuples where the elements + of each tuple are the args that make up one input. + """ + if not isinstance(model, torch.jit.ScriptModule): + raise Exception("Only ScriptModule is supported.") + + forward: Callable = model.forward + + # Sometimes forward won't have a name attached so just in case + if not hasattr(forward, "__name__"): + forward.__name__ = 'forward' + augment_many_model_functions_with_bundled_inputs( + model, + inputs={forward : inputs}, + _receive_inflate_expr=_receive_inflate_expr, + info={forward : info} if info else None, + skip_size_check=skip_size_check, + ) + + +def augment_many_model_functions_with_bundled_inputs( + model: torch.jit.ScriptModule, + inputs: Dict[Callable, Optional[Sequence[Tuple[Any, ...]]]], + _receive_inflate_expr: Optional[List[str]] = None, # For debugging. + info: Optional[Dict[Callable, List[str]]] = None, # Optional argument to provide info about the function or its inputs + skip_size_check=False, +) -> None: + """Add bundled sample inputs to a model for an arbitrary list of public functions. + + Models with bundled inputs can be invoked in a uniform manner by + benchmarking and code coverage tools. + + Augmented models will support the following methods: + + `get_all_bundled_inputs_for_() -> List[Tuple[Any, ...]]` + Returns a list of tuples suitable for passing to the model like + `for inp in model.get_all_bundled_inputs_for_foo(): model.foo(*inp)` + + `get_bundled_inputs_functions_and_info() -> Dict[str, Dict[str: List[str]]]` + Returns a dictionary mapping function names to a metadata dictionary. + This nested dictionary maps preset strings like: + 'get_inputs_function_name' -> the name of a function attribute in this model that can be + run to get back a list of inputs corresponding to that function. + 'info' -> the user provided extra information about the bundled inputs + + If forward has bundled inputs then these following functions are also defined: + + `get_all_bundled_inputs() -> List[Tuple[Any, ...]]` + Returns a list of tuples suitable for passing to the model like + `for inp in model.get_all_bundled_inputs(): model(*inp)` + + `get_num_bundled_inputs() -> int` + Equivalent to `len(model.get_all_bundled_inputs())`, + but slightly easier to call from C++. + + Inputs can be specified in one of two ways: + + - The model can define `_generate_bundled_inputs_for_`. + If the user chooses this method inputs[] should map to None + + - The `inputs` argument to this function can be a dictionary mapping functions to a + list of inputs, of the same form that will be returned by get_all_bundled_inputs_for_. + The type of the inputs is List[Tuple[Any, ...]]. The outer list corresponds with a + list of inputs, the inner tuple is the list of args that together make up one input. + For inputs of functions that take one arg, this will be a tuple of length one. The Any, ... + is the actual data that makes up the args, e.g. a tensor. + + Info is an optional parameter that maps functions to a list of strings providing extra information about that + function's bundled inputs. This could be descriptions, expected outputs, etc. + - Ex: info={model.forward : ['man eating icecream', 'an airplane', 'a dog']} + + This function will attempt to optimize arguments so that (e.g.) + arguments like `torch.zeros(1000)` will be represented compactly. + Only top-level arguments will be optimized. + Tensors in lists or tuples will not. + """ + if not isinstance(model, torch.jit.ScriptModule): + raise Exception("Only ScriptModule is supported.") + + if not inputs: + raise Exception("Please provide inputs for at least 1 function") + + if hasattr(model, "get_all_bundled_inputs") or hasattr(model, "get_bundled_inputs_functions_and_info"): + raise Exception( + "Models can only be augmented with bundled inputs once. " + "This Model seems to have already been augmented with " + "bundled inputs. Please start afresh with one that " + "doesn't have bundled inputs.", + ) + + get_bundled_inputs_functions_and_info_template = "" + + for function, input_list in inputs.items(): + if hasattr(function, "__name__"): + function_name = function.__name__ + else: + if hasattr(function, "name"): + function_name = function.name # type: ignore[attr-defined] + else: + raise Exception( + 'At least one of your functions has no attribute name please ensure all have one. m.foo.name = "foo"') + + + if input_list is not None and not isinstance(input_list, Sequence): + raise TypeError(f"Error inputs for function {function_name} is not a Sequence") + + function_arg_types = [arg.type for arg in function.schema.arguments[1:]] # type: ignore[attr-defined] + deflated_inputs_type: ListType = ListType(TupleType(function_arg_types)) + model._c._register_attribute(f"_bundled_inputs_deflated_{function_name}", deflated_inputs_type, []) + + if hasattr(model, "_generate_bundled_inputs_for_" + function_name): + if input_list is not None: + raise Exception( + "inputs[{name}] is not None, but _generate_bundled_inputs_for_{name} is already defined".format( + name=function_name + ) + ) + # Model author already defined _generate_bundled_inputs_for_. + elif input_list is None or len(input_list) == 0: + raise Exception( + "inputs for {name} must be specified if _generate_bundled_inputs_for_{name} is not already defined".format( + name=function_name, + ) + ) + else: + # Iterate over the inputs and args in each input. + # Accumulate `deflated_inputs` as (possibly) compressed values + # and `parts` to be joined into the expression that unpacks them. + deflated_inputs = [] + parts = [] + for inp_idx, args in enumerate(input_list): + if not isinstance(args, Tuple) and not isinstance(args, List): # type: ignore[arg-type] + raise TypeError( + f"Error bundled input for function {function_name} idx: {inp_idx} is not a Tuple or a List" + ) + deflated_args = [] + parts.append("(") + for arg_idx, arg in enumerate(args): + inflate_helper_fn_name = _get_inflate_helper_fn_name(arg_idx, inp_idx, function_name) + deflated, inflater, helper_definition = _inflate_expr( + arg, + f"deflated[{inp_idx}][{arg_idx}]", + inflate_helper_fn_name, + skip_size_check=skip_size_check, + ) + deflated_args.append(deflated) + parts.append(f" {inflater},") + if helper_definition: + model.define(textwrap.dedent(helper_definition)) + deflated_inputs.append(tuple(deflated_args)) + parts.append("),") + parts.append("") + expr = "\n".join(parts) + + # Back-channel return this expr for debugging. + if _receive_inflate_expr is not None: + _receive_inflate_expr.append(expr) + setattr(model, f"_bundled_inputs_deflated_{function_name}", deflated_inputs) + definition = textwrap.dedent(""" + def _generate_bundled_inputs_for_{name}(self): + deflated = self._bundled_inputs_deflated_{name} + return [ + {expr} + ] + """).format(expr=expr, name=function_name) + model.define(definition) + + # Define get_all_bundled_inputs_for_ that caches the generated inputs. + model.define(textwrap.dedent(""" + def get_all_bundled_inputs_for_{name}(self): + all_inputs = self._generate_bundled_inputs_for_{name}() + assert all_inputs is not None + return all_inputs + """).format(name=function_name)) + + # Add to the high level helper methods + inputs_info = repr(info[function]) if info and function in info else '[]' + get_bundled_inputs_functions_and_info_template += f""" + temp_dict : Dict[str,List[str]] = {{}} + info: List[str] = {inputs_info} + + temp_dict['info'] = info + temp_dict['get_inputs_function_name'] = ['get_all_bundled_inputs_for_{function_name}'] + all_inputs['{function_name}'] = temp_dict + """ + + # To ensure backwards compatibility and a streamlined api for forward these wrappers are provided + if function_name == 'forward': + model.define(textwrap.dedent(""" + def get_all_bundled_inputs(self): + return self.get_all_bundled_inputs_for_forward() + """)) + model.define(textwrap.dedent(""" + def get_num_bundled_inputs(self): + return len(self.get_all_bundled_inputs_for_forward()) + """)) + + # Define some high level helper methods that act on all bundled inputs + model.define(textwrap.dedent(f""" + def get_bundled_inputs_functions_and_info(self): + all_inputs : Dict[str, Dict[str,List[str]]] = {{}} + {get_bundled_inputs_functions_and_info_template} + return all_inputs + """)) + +def _inflate_expr( + arg: T, ref: str, inflate_helper_fn_name: str, skip_size_check: bool = False +) -> Tuple[Union[T, torch.Tensor], str, Optional[str]]: + # Allow custom inflation expressions any object. + # For example, calling custom image-decoding ops. + # Or just use "{}" as the format string to ignore size limits. + if isinstance(arg, InflatableArg): + if arg.fmt_fn: + if arg.fmt not in ["{}", ""]: + raise Exception( + f"Bundled input argument at position '{ref}' has " + f"both arg.fmt_fn => \n{arg.fmt_fn} " + f"\n and arg.fmt => {arg.fmt}. " + "Please choose `arg.fmt` if the deflater is straightforward or " + "`arg.fmt_fn` if you need a function." + ) + + helper_definition = arg.fmt_fn.format(inflate_helper_fn_name) + expr = f"self.{inflate_helper_fn_name}({ref})" + + return arg.value, expr, helper_definition + else: + return arg.value, arg.fmt.format(ref), None + + if isinstance(arg, torch.Tensor): + # Small-storage tensors can just be saved directly. + if arg._typed_storage().size() <= MAX_RAW_TENSOR_SIZE or skip_size_check: + return arg, ref, None + # Small contiguous tensors can be cloned to have small storage. + # TODO: Should we do this even for non-contiguous tensors? + if arg.is_contiguous() and arg.numel() <= MAX_RAW_TENSOR_SIZE: + return arg.clone(), ref, None + # Example inputs commonly come from torch.zeros, torch.ones, or torch.full. + # These can be represented compactly. + for fmt in [torch.contiguous_format, torch.channels_last]: + if arg.is_contiguous(memory_format=fmt) and (arg == arg.flatten()[0]).all().item(): + return (arg.flatten()[0].clone().expand(*arg.size()), + f"{ref}.contiguous(memory_format={fmt})", None) + # Prevent big tensors from being bundled by default. + # TODO: Provide more useful diagnostics. + raise Exception( + f"Bundled input argument at position '{ref}' is " + f"a tensor with storage size {arg._typed_storage().size()}. " + f"You probably don't want to bundle this as an input. " + ) + else: + return arg, ref, None + +def _get_bundled_inputs_attributes_and_methods(script_module: torch.jit.ScriptModule) -> Tuple[List[str], List[str]]: + methods: List[str] = [] + attributes: List[str] = [] + + # Has bundled inputs for forward + if hasattr(script_module, 'get_all_bundled_inputs'): + methods.append('get_all_bundled_inputs') + methods.append('get_num_bundled_inputs') + methods.append('run_on_bundled_input') + + if hasattr(script_module, 'get_bundled_inputs_functions_and_info'): + methods.append('get_bundled_inputs_functions_and_info') + all_info = script_module.get_bundled_inputs_functions_and_info() + for function_name in all_info: + methods.append("get_all_bundled_inputs_for_" + function_name) + methods.append("_generate_bundled_inputs_for_" + function_name) + attributes.append("_bundled_inputs_deflated_" + function_name) + + bundled_inputs_fn = getattr( + script_module, + f"get_all_bundled_inputs_for_{function_name}" + ) + num_bundled_inputs: int = len(bundled_inputs_fn()) + + # Check inflate helper functions for each function, argument and bundled input + func = getattr(script_module, function_name) + for arg_idx in range(len(func.schema.arguments) - 1): + for input_idx in range(num_bundled_inputs): + helper_fn_name = _get_inflate_helper_fn_name( + arg_idx=arg_idx, + input_idx=input_idx, + function_name=function_name + ) + # if the arg has an InflatableArg with fmt_fn, add the helper function name + if hasattr(script_module, helper_fn_name): + methods.append(helper_fn_name) + + return (methods, attributes) + + +def _get_inflate_helper_fn_name( + arg_idx: int, + input_idx: int, + function_name: str, +) -> str: + return f"_inflate_helper_for_{function_name}_input_{input_idx}_arg_{arg_idx}" + + + +def bundle_randn(*size, dtype=None): + """Generate a tensor that will be inflated with torch.randn.""" + stub = torch.zeros(1, dtype=dtype).expand(*size) + return InflatableArg(value=stub, fmt="torch.randn_like({})") + + +def bundle_large_tensor(t): + """Wrap a tensor to allow bundling regardless of size.""" + return InflatableArg(value=t, fmt="{}") diff --git a/shared/package-files/70/70ea8986696fabb565f7615459c7d0197eda79db208c23983d3bb2644283daea/dircache.pyi b/shared/package-files/70/70ea8986696fabb565f7615459c7d0197eda79db208c23983d3bb2644283daea/dircache.pyi new file mode 100644 index 0000000000000000000000000000000000000000..fd906f6f2ae1fa1b46c43135663d684bd737502f --- /dev/null +++ b/shared/package-files/70/70ea8986696fabb565f7615459c7d0197eda79db208c23983d3bb2644283daea/dircache.pyi @@ -0,0 +1,8 @@ +from typing import List, MutableSequence, Text, Union + +def reset() -> None: ... +def listdir(path: Text) -> List[str]: ... + +opendir = listdir + +def annotate(head: Text, list: Union[MutableSequence[str], MutableSequence[Text], MutableSequence[Union[str, Text]]]) -> None: ... diff --git a/shared/package-files/70/70eb8e6bd70b60542622e399086d9e8494f71f3b00f556ae8adc33b058e8a657/d412+sr b/shared/package-files/70/70eb8e6bd70b60542622e399086d9e8494f71f3b00f556ae8adc33b058e8a657/d412+sr new file mode 100644 index 0000000000000000000000000000000000000000..206aa742c79a7f42ae22c8231bfa6a2ca99600c4 Binary files /dev/null and b/shared/package-files/70/70eb8e6bd70b60542622e399086d9e8494f71f3b00f556ae8adc33b058e8a657/d412+sr differ diff --git a/shared/package-files/70/70eb8e6bd70b60542622e399086d9e8494f71f3b00f556ae8adc33b058e8a657/d412-unix-sr b/shared/package-files/70/70eb8e6bd70b60542622e399086d9e8494f71f3b00f556ae8adc33b058e8a657/d412-unix-sr new file mode 100644 index 0000000000000000000000000000000000000000..206aa742c79a7f42ae22c8231bfa6a2ca99600c4 Binary files /dev/null and b/shared/package-files/70/70eb8e6bd70b60542622e399086d9e8494f71f3b00f556ae8adc33b058e8a657/d412-unix-sr differ diff --git a/shared/package-files/70/70eb8e6bd70b60542622e399086d9e8494f71f3b00f556ae8adc33b058e8a657/d462+sr b/shared/package-files/70/70eb8e6bd70b60542622e399086d9e8494f71f3b00f556ae8adc33b058e8a657/d462+sr new file mode 100644 index 0000000000000000000000000000000000000000..206aa742c79a7f42ae22c8231bfa6a2ca99600c4 Binary files /dev/null and b/shared/package-files/70/70eb8e6bd70b60542622e399086d9e8494f71f3b00f556ae8adc33b058e8a657/d462+sr differ diff --git a/shared/package-files/70/70eb8e6bd70b60542622e399086d9e8494f71f3b00f556ae8adc33b058e8a657/d462-unix-sr b/shared/package-files/70/70eb8e6bd70b60542622e399086d9e8494f71f3b00f556ae8adc33b058e8a657/d462-unix-sr new file mode 100644 index 0000000000000000000000000000000000000000..206aa742c79a7f42ae22c8231bfa6a2ca99600c4 Binary files /dev/null and b/shared/package-files/70/70eb8e6bd70b60542622e399086d9e8494f71f3b00f556ae8adc33b058e8a657/d462-unix-sr differ diff --git a/shared/package-files/70/70faf9f31a05bcf26a945fc437b306aa8161bd8df6728e380faf4afeb34b5dd5/mark_tokens.py b/shared/package-files/70/70faf9f31a05bcf26a945fc437b306aa8161bd8df6728e380faf4afeb34b5dd5/mark_tokens.py new file mode 100644 index 0000000000000000000000000000000000000000..d0ba6b94151cc46ba7e343b3aef032437f3f0721 --- /dev/null +++ b/shared/package-files/70/70faf9f31a05bcf26a945fc437b306aa8161bd8df6728e380faf4afeb34b5dd5/mark_tokens.py @@ -0,0 +1,377 @@ +# Copyright 2016 Grist Labs, Inc. +# +# Licensed under the Apache License, Version 2.0 (the "License"); +# you may not use this file except in compliance with the License. +# You may obtain a copy of the License at +# +# http://www.apache.org/licenses/LICENSE-2.0 +# +# Unless required by applicable law or agreed to in writing, software +# distributed under the License is distributed on an "AS IS" BASIS, +# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +# See the License for the specific language governing permissions and +# limitations under the License. + +import numbers +import sys +import token + +import six + +from . import util + +# Mapping of matching braces. To find a token here, look up token[:2]. +_matching_pairs_left = { + (token.OP, '('): (token.OP, ')'), + (token.OP, '['): (token.OP, ']'), + (token.OP, '{'): (token.OP, '}'), +} + +_matching_pairs_right = { + (token.OP, ')'): (token.OP, '('), + (token.OP, ']'): (token.OP, '['), + (token.OP, '}'): (token.OP, '{'), +} + + +class MarkTokens(object): + """ + Helper that visits all nodes in the AST tree and assigns .first_token and .last_token attributes + to each of them. This is the heart of the token-marking logic. + """ + def __init__(self, code): + self._code = code + self._methods = util.NodeMethods() + self._iter_children = None + + def visit_tree(self, node): + self._iter_children = util.iter_children_func(node) + util.visit_tree(node, self._visit_before_children, self._visit_after_children) + + def _visit_before_children(self, node, parent_token): + col = getattr(node, 'col_offset', None) + token = self._code.get_token_from_utf8(node.lineno, col) if col is not None else None + + if not token and util.is_module(node): + # We'll assume that a Module node starts at the start of the source code. + token = self._code.get_token(1, 0) + + # Use our own token, or our parent's if we don't have one, to pass to child calls as + # parent_token argument. The second value becomes the token argument of _visit_after_children. + return (token or parent_token, token) + + def _visit_after_children(self, node, parent_token, token): + # This processes the node generically first, after all children have been processed. + + # Get the first and last tokens that belong to children. Note how this doesn't assume that we + # iterate through children in order that corresponds to occurrence in source code. This + # assumption can fail (e.g. with return annotations). + first = token + last = None + for child in self._iter_children(node): + if not first or child.first_token.index < first.index: + first = child.first_token + if not last or child.last_token.index > last.index: + last = child.last_token + + # If we don't have a first token from _visit_before_children, and there were no children, then + # use the parent's token as the first token. + first = first or parent_token + + # If no children, set last token to the first one. + last = last or first + + # Statements continue to before NEWLINE. This helps cover a few different cases at once. + if util.is_stmt(node): + last = self._find_last_in_stmt(last) + + # Capture any unmatched brackets. + first, last = self._expand_to_matching_pairs(first, last, node) + + # Give a chance to node-specific methods to adjust. + nfirst, nlast = self._methods.get(self, node.__class__)(node, first, last) + + if (nfirst, nlast) != (first, last): + # If anything changed, expand again to capture any unmatched brackets. + nfirst, nlast = self._expand_to_matching_pairs(nfirst, nlast, node) + + node.first_token = nfirst + node.last_token = nlast + + def _find_last_in_stmt(self, start_token): + t = start_token + while (not util.match_token(t, token.NEWLINE) and + not util.match_token(t, token.OP, ';') and + not token.ISEOF(t.type)): + t = self._code.next_token(t, include_extra=True) + return self._code.prev_token(t) + + def _expand_to_matching_pairs(self, first_token, last_token, node): + """ + Scan tokens in [first_token, last_token] range that are between node's children, and for any + unmatched brackets, adjust first/last tokens to include the closing pair. + """ + # We look for opening parens/braces among non-child tokens (i.e. tokens between our actual + # child nodes). If we find any closing ones, we match them to the opens. + to_match_right = [] + to_match_left = [] + for tok in self._code.token_range(first_token, last_token): + tok_info = tok[:2] + if to_match_right and tok_info == to_match_right[-1]: + to_match_right.pop() + elif tok_info in _matching_pairs_left: + to_match_right.append(_matching_pairs_left[tok_info]) + elif tok_info in _matching_pairs_right: + to_match_left.append(_matching_pairs_right[tok_info]) + + # Once done, extend `last_token` to match any unclosed parens/braces. + for match in reversed(to_match_right): + last = self._code.next_token(last_token) + # Allow for trailing commas or colons (allowed in subscripts) before the closing delimiter + while any(util.match_token(last, token.OP, x) for x in (',', ':')): + last = self._code.next_token(last) + # Now check for the actual closing delimiter. + if util.match_token(last, *match): + last_token = last + + # And extend `first_token` to match any unclosed opening parens/braces. + for match in to_match_left: + first = self._code.prev_token(first_token) + if util.match_token(first, *match): + first_token = first + + return (first_token, last_token) + + #---------------------------------------------------------------------- + # Node visitors. Each takes a preliminary first and last tokens, and returns the adjusted pair + # that will actually be assigned. + + def visit_default(self, node, first_token, last_token): + # pylint: disable=no-self-use + # By default, we don't need to adjust the token we computed earlier. + return (first_token, last_token) + + def handle_comp(self, open_brace, node, first_token, last_token): + # For list/set/dict comprehensions, we only get the token of the first child, so adjust it to + # include the opening brace (the closing brace will be matched automatically). + before = self._code.prev_token(first_token) + util.expect_token(before, token.OP, open_brace) + return (before, last_token) + + # Python 3.8 fixed the starting position of list comprehensions: + # https://bugs.python.org/issue31241 + if sys.version_info < (3, 8): + def visit_listcomp(self, node, first_token, last_token): + return self.handle_comp('[', node, first_token, last_token) + + if six.PY2: + # We shouldn't do this on PY3 because its SetComp/DictComp already have a correct start. + def visit_setcomp(self, node, first_token, last_token): + return self.handle_comp('{', node, first_token, last_token) + + def visit_dictcomp(self, node, first_token, last_token): + return self.handle_comp('{', node, first_token, last_token) + + def visit_comprehension(self, node, first_token, last_token): + # The 'comprehension' node starts with 'for' but we only get first child; we search backwards + # to find the 'for' keyword. + first = self._code.find_token(first_token, token.NAME, 'for', reverse=True) + return (first, last_token) + + def visit_if(self, node, first_token, last_token): + while first_token.string not in ('if', 'elif'): + first_token = self._code.prev_token(first_token) + return first_token, last_token + + def handle_attr(self, node, first_token, last_token): + # Attribute node has ".attr" (2 tokens) after the last child. + dot = self._code.find_token(last_token, token.OP, '.') + name = self._code.next_token(dot) + util.expect_token(name, token.NAME) + return (first_token, name) + + visit_attribute = handle_attr + visit_assignattr = handle_attr + visit_delattr = handle_attr + + def handle_def(self, node, first_token, last_token): + # With astroid, nodes that start with a doc-string can have an empty body, in which case we + # need to adjust the last token to include the doc string. + if not node.body and getattr(node, 'doc', None): + last_token = self._code.find_token(last_token, token.STRING) + + # Include @ from decorator + if first_token.index > 0: + prev = self._code.prev_token(first_token) + if util.match_token(prev, token.OP, '@'): + first_token = prev + return (first_token, last_token) + + visit_classdef = handle_def + visit_functiondef = handle_def + + def handle_following_brackets(self, node, last_token, opening_bracket): + # This is for calls and subscripts, which have a pair of brackets + # at the end which may contain no nodes, e.g. foo() or bar[:]. + # We look for the opening bracket and then let the matching pair be found automatically + # Remember that last_token is at the end of all children, + # so we are not worried about encountering a bracket that belongs to a child. + first_child = next(self._iter_children(node)) + call_start = self._code.find_token(first_child.last_token, token.OP, opening_bracket) + if call_start.index > last_token.index: + last_token = call_start + return last_token + + def visit_call(self, node, first_token, last_token): + last_token = self.handle_following_brackets(node, last_token, '(') + + # Handling a python bug with decorators with empty parens, e.g. + # @deco() + # def ... + if util.match_token(first_token, token.OP, '@'): + first_token = self._code.next_token(first_token) + return (first_token, last_token) + + def visit_subscript(self, node, first_token, last_token): + last_token = self.handle_following_brackets(node, last_token, '[') + return (first_token, last_token) + + def handle_bare_tuple(self, node, first_token, last_token): + # A bare tuple doesn't include parens; if there is a trailing comma, make it part of the tuple. + maybe_comma = self._code.next_token(last_token) + if util.match_token(maybe_comma, token.OP, ','): + last_token = maybe_comma + return (first_token, last_token) + + if sys.version_info >= (3, 8): + # In Python3.8 parsed tuples include parentheses when present. + def handle_tuple_nonempty(self, node, first_token, last_token): + # It's a bare tuple if the first token belongs to the first child. The first child may + # include extraneous parentheses (which don't create new nodes), so account for those too. + child = node.elts[0] + child_first, child_last = self._gobble_parens(child.first_token, child.last_token, True) + if first_token == child_first: + return self.handle_bare_tuple(node, first_token, last_token) + return (first_token, last_token) + else: + # Before python 3.8, parsed tuples do not include parens. + def handle_tuple_nonempty(self, node, first_token, last_token): + (first_token, last_token) = self.handle_bare_tuple(node, first_token, last_token) + return self._gobble_parens(first_token, last_token, False) + + def visit_tuple(self, node, first_token, last_token): + if not node.elts: + # An empty tuple is just "()", and we need no further info. + return (first_token, last_token) + return self.handle_tuple_nonempty(node, first_token, last_token) + + def _gobble_parens(self, first_token, last_token, include_all=False): + # Expands a range of tokens to include one or all pairs of surrounding parentheses, and + # returns (first, last) tokens that include these parens. + while first_token.index > 0: + prev = self._code.prev_token(first_token) + next = self._code.next_token(last_token) + if util.match_token(prev, token.OP, '(') and util.match_token(next, token.OP, ')'): + first_token, last_token = prev, next + if include_all: + continue + break + return (first_token, last_token) + + def visit_str(self, node, first_token, last_token): + return self.handle_str(first_token, last_token) + + def visit_joinedstr(self, node, first_token, last_token): + return self.handle_str(first_token, last_token) + + def visit_bytes(self, node, first_token, last_token): + return self.handle_str(first_token, last_token) + + def handle_str(self, first_token, last_token): + # Multiple adjacent STRING tokens form a single string. + last = self._code.next_token(last_token) + while util.match_token(last, token.STRING): + last_token = last + last = self._code.next_token(last_token) + return (first_token, last_token) + + def handle_num(self, node, value, first_token, last_token): + # A constant like '-1' gets turned into two tokens; this will skip the '-'. + while util.match_token(last_token, token.OP): + last_token = self._code.next_token(last_token) + + if isinstance(value, complex): + # A complex number like -2j cannot be compared directly to 0 + # A complex number like 1-2j is expressed as a binary operation + # so we don't need to worry about it + value = value.imag + + # This makes sure that the - is included + if value < 0 and first_token.type == token.NUMBER: + first_token = self._code.prev_token(first_token) + return (first_token, last_token) + + def visit_num(self, node, first_token, last_token): + return self.handle_num(node, node.n, first_token, last_token) + + # In Astroid, the Num and Str nodes are replaced by Const. + def visit_const(self, node, first_token, last_token): + if isinstance(node.value, numbers.Number): + return self.handle_num(node, node.value, first_token, last_token) + elif isinstance(node.value, (six.text_type, six.binary_type)): + return self.visit_str(node, first_token, last_token) + return (first_token, last_token) + + # In Python >= 3.6, there is a similar class 'Constant' for literals + # In 3.8 it became the type produced by ast.parse + # https://bugs.python.org/issue32892 + visit_constant = visit_const + + def visit_keyword(self, node, first_token, last_token): + # Until python 3.9 (https://bugs.python.org/issue40141), + # ast.keyword nodes didn't have line info. Astroid has lineno None. + if node.arg is not None and getattr(node, 'lineno', None) is None: + equals = self._code.find_token(first_token, token.OP, '=', reverse=True) + name = self._code.prev_token(equals) + util.expect_token(name, token.NAME, node.arg) + first_token = name + return (first_token, last_token) + + def visit_starred(self, node, first_token, last_token): + # Astroid has 'Starred' nodes (for "foo(*bar)" type args), but they need to be adjusted. + if not util.match_token(first_token, token.OP, '*'): + star = self._code.prev_token(first_token) + if util.match_token(star, token.OP, '*'): + first_token = star + return (first_token, last_token) + + def visit_assignname(self, node, first_token, last_token): + # Astroid may turn 'except' clause into AssignName, but we need to adjust it. + if util.match_token(first_token, token.NAME, 'except'): + colon = self._code.find_token(last_token, token.OP, ':') + first_token = last_token = self._code.prev_token(colon) + return (first_token, last_token) + + if six.PY2: + # No need for this on Python3, which already handles 'with' nodes correctly. + def visit_with(self, node, first_token, last_token): + first = self._code.find_token(first_token, token.NAME, 'with', reverse=True) + return (first, last_token) + + # Async nodes should typically start with the word 'async' + # but Python < 3.7 doesn't put the col_offset there + # AsyncFunctionDef is slightly different because it might have + # decorators before that, which visit_functiondef handles + def handle_async(self, node, first_token, last_token): + if not first_token.string == 'async': + first_token = self._code.prev_token(first_token) + return (first_token, last_token) + + visit_asyncfor = handle_async + visit_asyncwith = handle_async + + def visit_asyncfunctiondef(self, node, first_token, last_token): + if util.match_token(first_token, token.NAME, 'def'): + # Include the 'async' token + first_token = self._code.prev_token(first_token) + return self.visit_functiondef(node, first_token, last_token) diff --git a/shared/package-files/8a/8a005bc9485da2735cbd1923cd46917f6afc2c83b1d49da5c18cc7542f4012f9/ssl.pyi b/shared/package-files/8a/8a005bc9485da2735cbd1923cd46917f6afc2c83b1d49da5c18cc7542f4012f9/ssl.pyi new file mode 100644 index 0000000000000000000000000000000000000000..36656f5534ab5a8e941ac553cc6a6eef307eb2b7 --- /dev/null +++ b/shared/package-files/8a/8a005bc9485da2735cbd1923cd46917f6afc2c83b1d49da5c18cc7542f4012f9/ssl.pyi @@ -0,0 +1,429 @@ +import enum +import socket +import sys +from _typeshed import StrPath +from typing import Any, Callable, ClassVar, Dict, Iterable, List, NamedTuple, Optional, Set, Text, Tuple, Type, Union, overload +from typing_extensions import Literal + +_PCTRTT = Tuple[Tuple[str, str], ...] +_PCTRTTT = Tuple[_PCTRTT, ...] +_PeerCertRetDictType = Dict[str, Union[str, _PCTRTTT, _PCTRTT]] +_PeerCertRetType = Union[_PeerCertRetDictType, bytes, None] +_EnumRetType = List[Tuple[bytes, str, Union[Set[str], bool]]] +_PasswordType = Union[Callable[[], Union[str, bytes]], str, bytes] + +if sys.version_info >= (3, 5): + _SC1ArgT = Union[SSLSocket, SSLObject] +else: + _SC1ArgT = SSLSocket +_SrvnmeCbType = Callable[[_SC1ArgT, Optional[str], SSLSocket], Optional[int]] + +class SSLError(OSError): + library: str + reason: str + +class SSLZeroReturnError(SSLError): ... +class SSLWantReadError(SSLError): ... +class SSLWantWriteError(SSLError): ... +class SSLSyscallError(SSLError): ... +class SSLEOFError(SSLError): ... + +if sys.version_info >= (3, 7): + class SSLCertVerificationError(SSLError, ValueError): + verify_code: int + verify_message: str + CertificateError = SSLCertVerificationError +else: + class CertificateError(ValueError): ... + +def wrap_socket( + sock: socket.socket, + keyfile: Optional[str] = ..., + certfile: Optional[str] = ..., + server_side: bool = ..., + cert_reqs: int = ..., + ssl_version: int = ..., + ca_certs: Optional[str] = ..., + do_handshake_on_connect: bool = ..., + suppress_ragged_eofs: bool = ..., + ciphers: Optional[str] = ..., +) -> SSLSocket: ... +def create_default_context( + purpose: Any = ..., *, cafile: Optional[str] = ..., capath: Optional[str] = ..., cadata: Union[Text, bytes, None] = ... +) -> SSLContext: ... + +if sys.version_info >= (3, 7): + def _create_unverified_context( + protocol: int = ..., + *, + cert_reqs: int = ..., + check_hostname: bool = ..., + purpose: Any = ..., + certfile: Optional[str] = ..., + keyfile: Optional[str] = ..., + cafile: Optional[str] = ..., + capath: Optional[str] = ..., + cadata: Union[Text, bytes, None] = ..., + ) -> SSLContext: ... + +else: + def _create_unverified_context( + protocol: int = ..., + *, + cert_reqs: Optional[int] = ..., + check_hostname: bool = ..., + purpose: Any = ..., + certfile: Optional[str] = ..., + keyfile: Optional[str] = ..., + cafile: Optional[str] = ..., + capath: Optional[str] = ..., + cadata: Union[Text, bytes, None] = ..., + ) -> SSLContext: ... + +_create_default_https_context: Callable[..., SSLContext] + +if sys.version_info >= (3, 3): + def RAND_bytes(__num: int) -> bytes: ... + def RAND_pseudo_bytes(__num: int) -> Tuple[bytes, bool]: ... + +def RAND_status() -> bool: ... +def RAND_egd(path: str) -> None: ... +def RAND_add(__s: bytes, __entropy: float) -> None: ... +def match_hostname(cert: _PeerCertRetType, hostname: str) -> None: ... +def cert_time_to_seconds(cert_time: str) -> int: ... +def get_server_certificate(addr: Tuple[str, int], ssl_version: int = ..., ca_certs: Optional[str] = ...) -> str: ... +def DER_cert_to_PEM_cert(der_cert_bytes: bytes) -> str: ... +def PEM_cert_to_DER_cert(pem_cert_string: str) -> bytes: ... + +class DefaultVerifyPaths(NamedTuple): + cafile: str + capath: str + openssl_cafile_env: str + openssl_cafile: str + openssl_capath_env: str + openssl_capath: str + +def get_default_verify_paths() -> DefaultVerifyPaths: ... + +if sys.platform == "win32": + def enum_certificates(store_name: str) -> _EnumRetType: ... + def enum_crls(store_name: str) -> _EnumRetType: ... + +CERT_NONE: int +CERT_OPTIONAL: int +CERT_REQUIRED: int + +VERIFY_DEFAULT: int +VERIFY_CRL_CHECK_LEAF: int +VERIFY_CRL_CHECK_CHAIN: int +VERIFY_X509_STRICT: int +VERIFY_X509_TRUSTED_FIRST: int + +PROTOCOL_SSLv23: int +PROTOCOL_SSLv2: int +PROTOCOL_SSLv3: int +PROTOCOL_TLSv1: int +PROTOCOL_TLSv1_1: int +PROTOCOL_TLSv1_2: int +PROTOCOL_TLS: int +if sys.version_info >= (3, 6): + PROTOCOL_TLS_CLIENT: int + PROTOCOL_TLS_SERVER: int + +if sys.version_info >= (3, 6): + class Options(enum.IntFlag): + OP_ALL: int + OP_NO_SSLv2: int + OP_NO_SSLv3: int + OP_NO_TLSv1: int + OP_NO_TLSv1_1: int + OP_NO_TLSv1_2: int + OP_CIPHER_SERVER_PREFERENCE: int + OP_SINGLE_DH_USE: int + OP_SINGLE_ECDH_USE: int + OP_NO_COMPRESSION: int + OP_NO_TICKET: int + if sys.version_info >= (3, 7): + OP_NO_RENEGOTIATION: int + OP_NO_TLSv1_3: int + if sys.version_info >= (3, 8): + OP_ENABLE_MIDDLEBOX_COMPAT: int + OP_ALL: Options + OP_NO_SSLv2: Options + OP_NO_SSLv3: Options + OP_NO_TLSv1: Options + OP_NO_TLSv1_1: Options + OP_NO_TLSv1_2: Options + OP_CIPHER_SERVER_PREFERENCE: Options + OP_SINGLE_DH_USE: Options + OP_SINGLE_ECDH_USE: Options + OP_NO_COMPRESSION: Options + OP_NO_TICKET: Options + if sys.version_info >= (3, 7): + OP_NO_RENEGOTIATION: Options + OP_NO_TLSv1_3: Options + if sys.version_info >= (3, 8): + OP_ENABLE_MIDDLEBOX_COMPAT: Options +else: + OP_ALL: int + OP_NO_SSLv2: int + OP_NO_SSLv3: int + OP_NO_TLSv1: int + OP_NO_TLSv1_1: int + OP_NO_TLSv1_2: int + OP_CIPHER_SERVER_PREFERENCE: int + OP_SINGLE_DH_USE: int + OP_SINGLE_ECDH_USE: int + OP_NO_COMPRESSION: int + +if sys.version_info >= (3, 7): + HAS_NEVER_CHECK_COMMON_NAME: bool + HAS_SSLv2: bool + HAS_SSLv3: bool + HAS_TLSv1: bool + HAS_TLSv1_1: bool + HAS_TLSv1_2: bool + HAS_TLSv1_3: bool +HAS_ALPN: bool +HAS_ECDH: bool +HAS_SNI: bool +HAS_NPN: bool +CHANNEL_BINDING_TYPES: List[str] + +OPENSSL_VERSION: str +OPENSSL_VERSION_INFO: Tuple[int, int, int, int, int] +OPENSSL_VERSION_NUMBER: int + +ALERT_DESCRIPTION_HANDSHAKE_FAILURE: int +ALERT_DESCRIPTION_INTERNAL_ERROR: int +ALERT_DESCRIPTION_ACCESS_DENIED: int +ALERT_DESCRIPTION_BAD_CERTIFICATE: int +ALERT_DESCRIPTION_BAD_CERTIFICATE_HASH_VALUE: int +ALERT_DESCRIPTION_BAD_CERTIFICATE_STATUS_RESPONSE: int +ALERT_DESCRIPTION_BAD_RECORD_MAC: int +ALERT_DESCRIPTION_CERTIFICATE_EXPIRED: int +ALERT_DESCRIPTION_CERTIFICATE_REVOKED: int +ALERT_DESCRIPTION_CERTIFICATE_UNKNOWN: int +ALERT_DESCRIPTION_CERTIFICATE_UNOBTAINABLE: int +ALERT_DESCRIPTION_CLOSE_NOTIFY: int +ALERT_DESCRIPTION_DECODE_ERROR: int +ALERT_DESCRIPTION_DECOMPRESSION_FAILURE: int +ALERT_DESCRIPTION_DECRYPT_ERROR: int +ALERT_DESCRIPTION_ILLEGAL_PARAMETER: int +ALERT_DESCRIPTION_INSUFFICIENT_SECURITY: int +ALERT_DESCRIPTION_NO_RENEGOTIATION: int +ALERT_DESCRIPTION_PROTOCOL_VERSION: int +ALERT_DESCRIPTION_RECORD_OVERFLOW: int +ALERT_DESCRIPTION_UNEXPECTED_MESSAGE: int +ALERT_DESCRIPTION_UNKNOWN_CA: int +ALERT_DESCRIPTION_UNKNOWN_PSK_IDENTITY: int +ALERT_DESCRIPTION_UNRECOGNIZED_NAME: int +ALERT_DESCRIPTION_UNSUPPORTED_CERTIFICATE: int +ALERT_DESCRIPTION_UNSUPPORTED_EXTENSION: int +ALERT_DESCRIPTION_USER_CANCELLED: int + +class _ASN1Object(NamedTuple): + nid: int + shortname: str + longname: str + oid: str + +if sys.version_info < (3,): + class Purpose(_ASN1Object): + SERVER_AUTH: ClassVar[Purpose] + CLIENT_AUTH: ClassVar[Purpose] + +else: + class Purpose(_ASN1Object, enum.Enum): + SERVER_AUTH: _ASN1Object + CLIENT_AUTH: _ASN1Object + +class SSLSocket(socket.socket): + context: SSLContext + server_side: bool + server_hostname: Optional[str] + if sys.version_info >= (3, 6): + session: Optional[SSLSession] + session_reused: Optional[bool] + def read(self, len: int = ..., buffer: Optional[bytearray] = ...) -> bytes: ... + def write(self, data: bytes) -> int: ... + def do_handshake(self, block: bool = ...) -> None: ... # block is undocumented + @overload + def getpeercert(self, binary_form: Literal[False] = ...) -> Optional[_PeerCertRetDictType]: ... + @overload + def getpeercert(self, binary_form: Literal[True]) -> Optional[bytes]: ... + @overload + def getpeercert(self, binary_form: bool) -> _PeerCertRetType: ... + def cipher(self) -> Optional[Tuple[str, str, int]]: ... + if sys.version_info >= (3, 5): + def shared_ciphers(self) -> Optional[List[Tuple[str, str, int]]]: ... + def compression(self) -> Optional[str]: ... + def get_channel_binding(self, cb_type: str = ...) -> Optional[bytes]: ... + def selected_alpn_protocol(self) -> Optional[str]: ... + def selected_npn_protocol(self) -> Optional[str]: ... + def accept(self) -> Tuple[SSLSocket, socket._RetAddress]: ... + def unwrap(self) -> socket.socket: ... + def version(self) -> Optional[str]: ... + def pending(self) -> int: ... + if sys.version_info >= (3, 8): + def verify_client_post_handshake(self) -> None: ... + +if sys.version_info >= (3, 7): + class TLSVersion(enum.IntEnum): + MINIMUM_SUPPORTED: int + MAXIMUM_SUPPORTED: int + SSLv3: int + TLSv1: int + TLSv1_1: int + TLSv1_2: int + TLSv1_3: int + +class SSLContext: + check_hostname: bool + if sys.version_info >= (3, 6): + options: Options + else: + options: int + if sys.version_info >= (3, 8): + post_handshake_auth: bool + @property + def protocol(self) -> int: ... + verify_flags: int + verify_mode: int + if sys.version_info >= (3, 5): + def __init__(self, protocol: int = ...) -> None: ... + else: + def __init__(self, protocol: int) -> None: ... + def cert_store_stats(self) -> Dict[str, int]: ... + def load_cert_chain( + self, certfile: StrPath, keyfile: Optional[StrPath] = ..., password: Optional[_PasswordType] = ... + ) -> None: ... + def load_default_certs(self, purpose: Purpose = ...) -> None: ... + def load_verify_locations( + self, cafile: Optional[StrPath] = ..., capath: Optional[StrPath] = ..., cadata: Union[Text, bytes, None] = ... + ) -> None: ... + def get_ca_certs(self, binary_form: bool = ...) -> Union[List[_PeerCertRetDictType], List[bytes]]: ... + def set_default_verify_paths(self) -> None: ... + def set_ciphers(self, __cipherlist: str) -> None: ... + def set_alpn_protocols(self, alpn_protocols: Iterable[str]) -> None: ... + if sys.version_info >= (3, 7): + sni_callback: Optional[Callable[[SSLObject, str, SSLContext], Union[None, int]]] + sslobject_class: Type[SSLObject] + def set_npn_protocols(self, npn_protocols: Iterable[str]) -> None: ... + if sys.version_info >= (3, 7): + def set_servername_callback(self, server_name_callback: Optional[_SrvnmeCbType]) -> None: ... + else: + def set_servername_callback(self, __method: Optional[_SrvnmeCbType]) -> None: ... + def load_dh_params(self, __path: str) -> None: ... + def set_ecdh_curve(self, __name: str) -> None: ... + if sys.version_info >= (3, 6): + def wrap_socket( + self, + sock: socket.socket, + server_side: bool = ..., + do_handshake_on_connect: bool = ..., + suppress_ragged_eofs: bool = ..., + server_hostname: Optional[str] = ..., + session: Optional[SSLSession] = ..., + ) -> SSLSocket: ... + else: + def wrap_socket( + self, + sock: socket.socket, + server_side: bool = ..., + do_handshake_on_connect: bool = ..., + suppress_ragged_eofs: bool = ..., + server_hostname: Optional[str] = ..., + ) -> SSLSocket: ... + if sys.version_info >= (3, 6): + def wrap_bio( + self, + incoming: MemoryBIO, + outgoing: MemoryBIO, + server_side: bool = ..., + server_hostname: Optional[str] = ..., + session: Optional[SSLSession] = ..., + ) -> SSLObject: ... + elif sys.version_info >= (3, 5): + def wrap_bio( + self, incoming: MemoryBIO, outgoing: MemoryBIO, server_side: bool = ..., server_hostname: Optional[str] = ... + ) -> SSLObject: ... + def session_stats(self) -> Dict[str, int]: ... + if sys.version_info >= (3, 7): + hostname_checks_common_name: bool + maximum_version: TLSVersion + minimum_version: TLSVersion + +if sys.version_info >= (3, 5): + class SSLObject: + context: SSLContext + server_side: bool + server_hostname: Optional[str] + if sys.version_info >= (3, 6): + session: Optional[SSLSession] + session_reused: bool + def read(self, len: int = ..., buffer: Optional[bytearray] = ...) -> bytes: ... + def write(self, data: bytes) -> int: ... + @overload + def getpeercert(self, binary_form: Literal[False] = ...) -> Optional[_PeerCertRetDictType]: ... + @overload + def getpeercert(self, binary_form: Literal[True]) -> Optional[bytes]: ... + @overload + def getpeercert(self, binary_form: bool) -> _PeerCertRetType: ... + def selected_alpn_protocol(self) -> Optional[str]: ... + def selected_npn_protocol(self) -> Optional[str]: ... + def cipher(self) -> Optional[Tuple[str, str, int]]: ... + def shared_ciphers(self) -> Optional[List[Tuple[str, str, int]]]: ... + def compression(self) -> Optional[str]: ... + def pending(self) -> int: ... + def do_handshake(self) -> None: ... + def unwrap(self) -> None: ... + def version(self) -> Optional[str]: ... + def get_channel_binding(self, cb_type: str = ...) -> Optional[bytes]: ... + if sys.version_info >= (3, 8): + def verify_client_post_handshake(self) -> None: ... + class MemoryBIO: + pending: int + eof: bool + def read(self, __size: int = ...) -> bytes: ... + def write(self, __buf: bytes) -> int: ... + def write_eof(self) -> None: ... + +if sys.version_info >= (3, 6): + class SSLSession: + id: bytes + time: int + timeout: int + ticket_lifetime_hint: int + has_ticket: bool + class VerifyFlags(enum.IntFlag): + VERIFY_DEFAULT: int + VERIFY_CRL_CHECK_LEAF: int + VERIFY_CRL_CHECK_CHAIN: int + VERIFY_X509_STRICT: int + VERIFY_X509_TRUSTED_FIRST: int + class VerifyMode(enum.IntEnum): + CERT_NONE: int + CERT_OPTIONAL: int + CERT_REQUIRED: int + +# TODO below documented in cpython but not in docs.python.org +# taken from python 3.4 +SSL_ERROR_EOF: int +SSL_ERROR_INVALID_ERROR_CODE: int +SSL_ERROR_SSL: int +SSL_ERROR_SYSCALL: int +SSL_ERROR_WANT_CONNECT: int +SSL_ERROR_WANT_READ: int +SSL_ERROR_WANT_WRITE: int +SSL_ERROR_WANT_X509_LOOKUP: int +SSL_ERROR_ZERO_RETURN: int + +def get_protocol_name(protocol_code: int) -> str: ... + +AF_INET: int +PEM_FOOTER: str +PEM_HEADER: str +SOCK_STREAM: int +SOL_SOCKET: int +SO_TYPE: int diff --git a/shared/package-files/8a/8a01ba6880aee4d2d7dc03b549250f6892b99d2e6487d844a45b8b131beaa3b2/_linalg_slogdet_native.h b/shared/package-files/8a/8a01ba6880aee4d2d7dc03b549250f6892b99d2e6487d844a45b8b131beaa3b2/_linalg_slogdet_native.h new file mode 100644 index 0000000000000000000000000000000000000000..05d92df30daf7040a848b0091b9bef2f078d971f --- /dev/null +++ b/shared/package-files/8a/8a01ba6880aee4d2d7dc03b549250f6892b99d2e6487d844a45b8b131beaa3b2/_linalg_slogdet_native.h @@ -0,0 +1,23 @@ +#pragma once + +// @generated by torchgen/gen.py from NativeFunction.h + +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include + +namespace at { +namespace native { +struct TORCH_API structured__linalg_slogdet_out : public at::meta::structured__linalg_slogdet { +void impl(const at::Tensor & A, const at::Tensor & sign, const at::Tensor & logabsdet, const at::Tensor & LU, const at::Tensor & pivots); +}; +} // namespace native +} // namespace at diff --git a/shared/package-files/8a/8a0e22c9e98393003a54373634f26bb118c7444c522faa52177ef460a7870c20/or_compositeimplicitautograd_dispatch.h b/shared/package-files/8a/8a0e22c9e98393003a54373634f26bb118c7444c522faa52177ef460a7870c20/or_compositeimplicitautograd_dispatch.h new file mode 100644 index 0000000000000000000000000000000000000000..96947513ea8b0a991fb53d1650f4530a11706858 --- /dev/null +++ b/shared/package-files/8a/8a0e22c9e98393003a54373634f26bb118c7444c522faa52177ef460a7870c20/or_compositeimplicitautograd_dispatch.h @@ -0,0 +1,26 @@ +#pragma once +// @generated by torchgen/gen.py from DispatchKeyFunction.h + +// NB: The implementing C++ file is RegisterDispatchKey.cpp + +// The only #includes we need are for custom classes that have defaults in the C++ API +#include +#include +#include + +// Forward declarations of any types needed in the operator signatures. +// We can't directly include these classes because it will cause circular include dependencies. +// This file is included by TensorBody.h, which defines the Tensor class. +#include + +namespace at { + +namespace compositeimplicitautograd { + +TORCH_API at::Tensor __or__(const at::Tensor & self, const at::Scalar & other); +TORCH_API at::Tensor & __ior__(at::Tensor & self, const at::Scalar & other); +TORCH_API at::Tensor __or__(const at::Tensor & self, const at::Tensor & other); +TORCH_API at::Tensor & __ior__(at::Tensor & self, const at::Tensor & other); + +} // namespace compositeimplicitautograd +} // namespace at diff --git a/shared/package-files/8a/8a0e95769ecd89f9298b270ace0e0132f299146cc764a8df1423153d6e664fd3/_wrappers.py b/shared/package-files/8a/8a0e95769ecd89f9298b270ace0e0132f299146cc764a8df1423153d6e664fd3/_wrappers.py new file mode 100644 index 0000000000000000000000000000000000000000..31f0f1ae789e9ab9fb6688a847869d0219423dea --- /dev/null +++ b/shared/package-files/8a/8a0e95769ecd89f9298b270ace0e0132f299146cc764a8df1423153d6e664fd3/_wrappers.py @@ -0,0 +1,436 @@ +from ._analytic_rotation import target_rotation +from ._gpa_rotation import ( + GPA, + CF_objective, + ff_partial_target, + ff_target, + oblimin_objective, + orthomax_objective, + rotateA, + vgQ_partial_target, + vgQ_target, +) + +__all__ = [] + + +def rotate_factors(A, method, *method_args, **algorithm_kwargs): + r""" + Subroutine for orthogonal and oblique rotation of the matrix :math:`A` + + For orthogonal rotations :math:`A` is rotated to :math:`L` according to + + .. math:: + + L = AT, + + where :math:`T` is an orthogonal matrix. And, for oblique rotations + :math:`A` is rotated to :math:`L` according to + + .. math:: + + L = A(T^*)^{-1}, + + where :math:`T` is a normal matrix. + + Parameters + ---------- + A : ndarray + non rotated factors + method : str + should be one of the methods listed below + method_args : tuple + additional arguments that should be provided with each method + algorithm_kwargs : dict + algorithm : {'gpa', 'gpa_der_free', 'analytic'}, optional + should be one of: + + * 'gpa': a numerical method + * 'gpa_der_free': a derivative free numerical method + * 'analytic' : an analytic method + + Depending on the algorithm, there are algorithm specific keyword + arguments. For the gpa and gpa_der_free, the following + keyword arguments are available: + + max_tries : int, optional + maximum number of iterations. The default is 501. + + tol : float, optional + stop criterion, algorithm stops if Frobenius norm of gradient is + smaller then tol + + For analytic, the supported arguments depend on the method, see above. + + See the lower level functions for more details. + + Returns + ------- + L : ndarray + The rotated factors. + T : ndarray + The rotation matrix. + + Notes + ----- + What follows is a list of available methods. Depending on the method + additional argument are required and different algorithms + are available. The algorithm_kwargs are additional keyword arguments + passed to the selected algorithm (see the parameters section). + Unless stated otherwise, only the gpa and + gpa_der_free algorithm are available. + + Below, + + * :math:`L` is a :math:`p\times k` matrix; + * :math:`N` is :math:`k\times k` matrix with zeros on the diagonal and ones + elsewhere; + * :math:`M` is :math:`p\times p` matrix with zeros on the diagonal and ones + elsewhere; + * :math:`C` is a :math:`p\times p` matrix with elements equal to + :math:`1/p`; + * :math:`(X,Y)=\operatorname{Tr}(X^*Y)` is the Frobenius norm; + * :math:`\circ` is the element-wise product or Hadamard product. + + oblimin : orthogonal or oblique rotation that minimizes + .. math:: + \phi(L) = \frac{1}{4}(L\circ L,(I-\gamma C)(L\circ L)N). + + For orthogonal rotations: + + * :math:`\gamma=0` corresponds to quartimax, + * :math:`\gamma=\frac{1}{2}` corresponds to biquartimax, + * :math:`\gamma=1` corresponds to varimax, + * :math:`\gamma=\frac{1}{p}` corresponds to equamax. + + For oblique rotations: + + * :math:`\gamma=0` corresponds to quartimin, + * :math:`\gamma=\frac{1}{2}` corresponds to biquartimin. + + method_args: + + gamma : float + oblimin family parameter + rotation_method : {'orthogonal', 'oblique'} + should be one of {orthogonal, oblique} + + orthomax : orthogonal rotation that minimizes + + .. math:: + \phi(L) = -\frac{1}{4}(L\circ L,(I-\gamma C)(L\circ L)), + + where :math:`0\leq\gamma\leq1`. The orthomax family is equivalent to + the oblimin family (when restricted to orthogonal rotations). + Furthermore, + + * :math:`\gamma=0` corresponds to quartimax, + * :math:`\gamma=\frac{1}{2}` corresponds to biquartimax, + * :math:`\gamma=1` corresponds to varimax, + * :math:`\gamma=\frac{1}{p}` corresponds to equamax. + + method_args: + + gamma : float + orthomax family parameter, between 0 and 1 + + CF : Crawford-Ferguson family for orthogonal and oblique rotation which + minimizes: + + .. math:: + + \phi(L) =\frac{1-\kappa}{4} (L\circ L,(L\circ L)N) + -\frac{1}{4}(L\circ L,M(L\circ L)), + + where :math:`0\leq\kappa\leq1`. For orthogonal rotations the oblimin + (and orthomax) family of rotations is equivalent to the + Crawford-Ferguson family. + To be more precise: + + * :math:`\kappa=0` corresponds to quartimax, + * :math:`\kappa=\frac{1}{p}` corresponds to varimax, + * :math:`\kappa=\frac{k-1}{p+k-2}` corresponds to parsimax, + * :math:`\kappa=1` corresponds to factor parsimony. + + method_args: + + kappa : float + Crawford-Ferguson family parameter, between 0 and 1 + rotation_method : {'orthogonal', 'oblique'} + should be one of {orthogonal, oblique} + + quartimax : orthogonal rotation method + minimizes the orthomax objective with :math:`\gamma=0` + + biquartimax : orthogonal rotation method + minimizes the orthomax objective with :math:`\gamma=\frac{1}{2}` + + varimax : orthogonal rotation method + minimizes the orthomax objective with :math:`\gamma=1` + + equamax : orthogonal rotation method + minimizes the orthomax objective with :math:`\gamma=\frac{1}{p}` + + parsimax : orthogonal rotation method + minimizes the Crawford-Ferguson family objective with + :math:`\kappa=\frac{k-1}{p+k-2}` + + parsimony : orthogonal rotation method + minimizes the Crawford-Ferguson family objective with :math:`\kappa=1` + + quartimin : oblique rotation method that + minimizes the oblimin objective with :math:`\gamma=0` + + biquartimin : oblique rotation method that + minimizes the oblimin objective with :math:`\gamma=\frac{1}{2}` + + target : orthogonal or oblique rotation that rotates towards a target + matrix :math:`H` by minimizing the objective + + .. math:: + + \phi(L) =\frac{1}{2}\|L-H\|^2. + + method_args: + + H : ndarray + target matrix + rotation_method : {'orthogonal', 'oblique'} + should be one of {orthogonal, oblique} + + For orthogonal rotations the algorithm can be set to analytic in which + case the following keyword arguments are available: + + full_rank : bool, optional + if set to true full rank is assumed + + partial_target : orthogonal (default) or oblique rotation that partially + rotates towards a target matrix :math:`H` by minimizing the objective: + + .. math:: + + \phi(L) =\frac{1}{2}\|W\circ(L-H)\|^2. + + method_args: + + H : ndarray + target matrix + W : ndarray, optional + matrix with weights, entries can either be one or zero. The + default is a matrix of ones, i.e., equal weight for all + entries. + + Examples + -------- + >>> import numpy as np + >>> A = np.random.randn(8,2) + >>> L, T = rotate_factors(A,'varimax') + >>> np.allclose(L,A.dot(T)) + True + >>> L, T = rotate_factors(A,'orthomax',0.5) + >>> np.allclose(L,A.dot(T)) + True + >>> L, T = rotate_factors(A,'quartimin',0.5) + >>> np.allclose(L,A.dot(np.linalg.inv(T.T))) + True + """ + if "algorithm" in algorithm_kwargs: + algorithm = algorithm_kwargs["algorithm"] + algorithm_kwargs.pop("algorithm") + else: + algorithm = "gpa" + assert ( + "rotation_method" not in algorithm_kwargs + ), "rotation_method cannot be provided as keyword argument" + T = L = None + p, k = A.shape + # set ff or vgQ to appropriate objective function, compute solution using + # recursion or analytically compute solution + + if method == "orthomax": + assert len(method_args) == 1, ( + f"Only {method} family parameter should be provided" + ) + rotation_method = "orthogonal" + gamma = method_args[0] + if algorithm == "gpa": + + def vgQ(L=None, A=None, T=None): + return orthomax_objective( + L=L, A=A, T=T, gamma=gamma, return_gradient=True + ) + ff = None + + elif algorithm == "gpa_der_free": + + def ff(L=None, A=None, T=None): + return orthomax_objective( + L=L, A=A, T=T, gamma=gamma, return_gradient=False + ) + vgQ = None + + else: + raise ValueError( + f"Algorithm {algorithm} is not possible for {method} rotation." + ) + elif method == "oblimin": + assert len(method_args) == 2, ( + f"Both {method} family parameter and " + "rotation_method should be " + "provided" + ) + rotation_method = method_args[1] + assert rotation_method in [ + "orthogonal", + "oblique", + ], "rotation_method should be one of {orthogonal, oblique}" + gamma = method_args[0] + if algorithm == "gpa": + + def vgQ(L=None, A=None, T=None): + return oblimin_objective( + L=L, A=A, T=T, gamma=gamma, return_gradient=True + ) + ff = None + + elif algorithm == "gpa_der_free": + + def ff(L=None, A=None, T=None): + return oblimin_objective( + L=L, + A=A, + T=T, + gamma=gamma, + rotation_method=rotation_method, + return_gradient=False, + ) + vgQ = None + + else: + raise ValueError( + f"Algorithm {algorithm} is not possible for {method} rotation" + ) + elif method == "CF": + assert len(method_args) == 2, ( + f"Both {method} family parameter and " + "rotation_method should be provided" + ) + rotation_method = method_args[1] + assert rotation_method in [ + "orthogonal", + "oblique", + ], "rotation_method should be one of {orthogonal, oblique}" + kappa = method_args[0] + if algorithm == "gpa": + + def vgQ(L=None, A=None, T=None): + return CF_objective( + L=L, + A=A, + T=T, + kappa=kappa, + rotation_method=rotation_method, + return_gradient=True, + ) + ff = None + + elif algorithm == "gpa_der_free": + + def ff(L=None, A=None, T=None): + return CF_objective( + L=L, + A=A, + T=T, + kappa=kappa, + rotation_method=rotation_method, + return_gradient=False, + ) + vgQ = None + + else: + raise ValueError( + f"Algorithm {algorithm} is not possible for {method} rotation" + ) + elif method == "quartimax": + return rotate_factors(A, "orthomax", 0, **algorithm_kwargs) + elif method == "biquartimax": + return rotate_factors(A, "orthomax", 0.5, **algorithm_kwargs) + elif method == "varimax": + return rotate_factors(A, "orthomax", 1, **algorithm_kwargs) + elif method == "equamax": + return rotate_factors(A, "orthomax", 1 / p, **algorithm_kwargs) + elif method == "parsimax": + return rotate_factors( + A, "CF", (k - 1) / (p + k - 2), "orthogonal", **algorithm_kwargs + ) + elif method == "parsimony": + return rotate_factors(A, "CF", 1, "orthogonal", **algorithm_kwargs) + elif method == "quartimin": + return rotate_factors(A, "oblimin", 0, "oblique", **algorithm_kwargs) + elif method == "biquartimin": + return rotate_factors(A, "oblimin", 0.5, "oblique", **algorithm_kwargs) + elif method == "target": + assert len(method_args) == 2, ( + "only the rotation target and orthogonal/oblique should be provide" + f" for {method} rotation" + ) + H = method_args[0] + rotation_method = method_args[1] + assert rotation_method in [ + "orthogonal", + "oblique", + ], "rotation_method should be one of {orthogonal, oblique}" + if algorithm == "gpa": + + def vgQ(L=None, A=None, T=None): + return vgQ_target(H, L=L, A=A, T=T, rotation_method=rotation_method) + ff = None + + elif algorithm == "gpa_der_free": + + def ff(L=None, A=None, T=None): + return ff_target(H, L=L, A=A, T=T, rotation_method=rotation_method) + vgQ = None + + elif algorithm == "analytic": + assert rotation_method == "orthogonal", ( + "For analytic %s rotation only orthogonal rotation is supported" + ) + T = target_rotation(A, H, **algorithm_kwargs) + else: + raise ValueError( + f"Algorithm {algorithm} is not possible for {method} rotation" + ) + elif method == "partial_target": + assert len(method_args) == 2, ( + f"2 additional arguments are expected for {method} rotation" + ) + H = method_args[0] + W = method_args[1] + rotation_method = "orthogonal" + if algorithm == "gpa": + + def vgQ(L=None, A=None, T=None): + return vgQ_partial_target(H, W=W, L=L, A=A, T=T) + ff = None + elif algorithm == "gpa_der_free": + + def ff(L=None, A=None, T=None): + return ff_partial_target(H, W=W, L=L, A=A, T=T) + vgQ = None + else: + raise ValueError( + f"Algorithm {algorithm} is not possible for {method} rotation" + ) + else: + raise ValueError("Invalid method") + # compute L and T if not already done + + if T is None: + L, phi, T, table = GPA( + A, vgQ=vgQ, ff=ff, rotation_method=rotation_method, **algorithm_kwargs + ) + if L is None: + assert T is not None, "Cannot compute L without T" + L = rotateA(A, T, rotation_method=rotation_method) + return L, T diff --git a/shared/package-files/8a/8a160be1b449131a5e7c9e6f3883893d4d947e6d7e8df8553794a1b7f13d9e88/meson.build b/shared/package-files/8a/8a160be1b449131a5e7c9e6f3883893d4d947e6d7e8df8553794a1b7f13d9e88/meson.build new file mode 100644 index 0000000000000000000000000000000000000000..966da14c1338b5e33cc1c2d84f26bedca35b1cde --- /dev/null +++ b/shared/package-files/8a/8a160be1b449131a5e7c9e6f3883893d4d947e6d7e8df8553794a1b7f13d9e88/meson.build @@ -0,0 +1,273 @@ +fs = import('fs') + +cython_args = [] + +# Platform detection +is_windows = host_machine.system() == 'windows' +is_mingw = is_windows and cc.get_id() == 'gcc' + +# Adapted from Scipy. mingw is untested and not officially supported. If you +# ever bump into issues when trying to compile for mingw, please open an issue +# in the scikit-learn issue tracker +if is_mingw + # For mingw-w64, link statically against the UCRT. + gcc_link_args = ['-lucrt', '-static'] + add_project_link_arguments(gcc_link_args, language: ['c', 'cpp']) + # Force gcc to float64 long doubles for compatibility with MSVC + # builds, for C only. + add_project_arguments('-mlong-double-64', language: 'c') +endif + +# Only check build dependencies version when not cross-compiling, as running +# Python interpreter can be tricky in cross-compilation settings. For more +# details, see https://docs.scipy.org/doc/scipy/building/cross_compilation.html +if not meson.is_cross_build() + if not py.version().version_compare('>=3.10') + error('scikit-learn requires Python>=3.10, got ' + py.version() + ' instead') + endif + + cython_min_version = run_command(py, ['_min_dependencies.py', 'cython'], check: true).stdout().strip() + if not cython.version().version_compare('>=' + cython_min_version) + error('scikit-learn requires Cython>=' + cython_min_version + ', got ' + cython.version() + ' instead') + endif + + numpy_version = run_command(py, + ['-c', 'import numpy; print(numpy.__version__)'], check: true).stdout().strip() + numpy_min_version = run_command(py, ['_min_dependencies.py', 'numpy'], check: true).stdout().strip() + if not numpy_version.version_compare('>=' + numpy_min_version) + error('scikit-learn requires numpy>=' + numpy_min_version + ', got ' + numpy_version + ' instead') + endif + + scipy_version = run_command(py, + ['-c', 'import scipy; print(scipy.__version__)'], check: true).stdout().strip() + scipy_min_version = run_command(py, ['_min_dependencies.py', 'scipy'], check: true).stdout().strip() + if not scipy_version.version_compare('>=' + scipy_min_version) + error('scikit-learn requires scipy>=' + scipy_min_version + ', got ' + scipy_version + ' instead') + endif + + # meson-python is required only when going through pip. Using meson directly + # should not check meson-python version. + meson_python_version_command_result = run_command(py, + ['-c', 'import importlib.metadata; print(importlib.metadata.version("meson-python"))'], check: false) + meson_python_installed = meson_python_version_command_result.returncode() == 0 + if meson_python_installed + meson_python_version = meson_python_version_command_result.stdout().strip() + meson_python_min_version = run_command(py, ['_min_dependencies.py', 'meson-python'], check: true).stdout().strip() + if not meson_python_version.version_compare('>=' + meson_python_min_version) + error('scikit-learn requires meson-python>=' + meson_python_min_version + ', got ' + meson_python_version + ' instead') + endif + endif + +endif + +# Adapted from scipy, each project seems to have its own tweaks for this. One +# day using dependency('numpy') will be a thing, see +# https://github.com/mesonbuild/meson/issues/9598. +# NumPy include directory - needed in all submodules +# Relative paths are needed when for example a virtualenv is +# placed inside the source tree; Meson rejects absolute paths to places inside +# the source tree. The try-except is needed because when things are split +# across drives on Windows, there is no relative path and an exception gets +# raised. There may be other such cases, so add a catch-all and switch to +# an absolute path. +# For cross-compilation it is often not possible to run the Python interpreter +# in order to retrieve numpy's include directory. It can be specified in the +# cross file instead: +# [properties] +# numpy-include-dir = /abspath/to/host-pythons/site-packages/numpy/core/include +# +# This uses the path as is, and avoids running the interpreter. +incdir_numpy = meson.get_external_property('numpy-include-dir', 'not-given') +if incdir_numpy == 'not-given' + incdir_numpy = run_command(py, + [ + '-c', + ''' +import os +import numpy as np +try: + incdir = os.path.relpath(np.get_include()) +except Exception: + incdir = np.get_include() +print(incdir) +''' + ], + check: true + ).stdout().strip() +endif + +inc_np = include_directories(incdir_numpy) +# Don't use the deprecated NumPy C API. Define this to a fixed version instead of +# NPY_API_VERSION in order not to break compilation for released SciPy versions +# when NumPy introduces a new deprecation. +numpy_no_deprecated_api = ['-DNPY_NO_DEPRECATED_API=NPY_1_9_API_VERSION'] +np_dep = declare_dependency(include_directories: inc_np, compile_args: numpy_no_deprecated_api) + +openmp_dep = dependency('OpenMP', language: 'c', required: false) + +if not openmp_dep.found() + warn_about_missing_openmp = true + # On Apple Clang avoid a misleading warning if compiler variables are set. + # See https://github.com/scikit-learn/scikit-learn/issues/28710 for more + # details. This may be removed if the OpenMP detection on Apple Clang improves, + # see https://github.com/mesonbuild/meson/issues/7435#issuecomment-2047585466. + if host_machine.system() == 'darwin' and cc.get_id() == 'clang' + compiler_env_vars_with_openmp = run_command(py, + [ + '-c', + ''' +import os + +compiler_env_vars_to_check = ["CPPFLAGS", "CFLAGS", "CXXFLAGS"] + +compiler_env_vars_with_openmp = [ + var for var in compiler_env_vars_to_check if "-fopenmp" in os.getenv(var, "")] +print(compiler_env_vars_with_openmp) +'''], check: true).stdout().strip() + warn_about_missing_openmp = compiler_env_vars_with_openmp == '[]' + endif + if warn_about_missing_openmp + warning( +''' + *********** + * WARNING * + *********** + +It seems that scikit-learn cannot be built with OpenMP. + +- Make sure you have followed the installation instructions: + + https://scikit-learn.org/dev/developers/advanced_installation.html + +- If your compiler supports OpenMP but you still see this + message, please submit a bug report at: + + https://github.com/scikit-learn/scikit-learn/issues + +- The build will continue with OpenMP-based parallelism + disabled. Note however that some estimators will run in + sequential mode instead of leveraging thread-based + parallelism. + + *** +''') + else + warning( +'''It looks like compiler environment variables were set to enable OpenMP support. +Check the output of "import sklearn; sklearn.show_versions()" after the build +to make sure that scikit-learn was actually built with OpenMP support. +''') + endif +endif + +# For now, we keep supporting SKLEARN_ENABLE_DEBUG_CYTHON_DIRECTIVES variable +# (see how it is done in sklearn/_build_utils/__init__.py when building with +# setuptools). Accessing environment variables in meson.build is discouraged, +# so once we drop setuptools this functionality should be behind a meson option +# or buildtype +boundscheck = run_command(py, + [ + '-c', + ''' +import os + +if os.environ.get("SKLEARN_ENABLE_DEBUG_CYTHON_DIRECTIVES", "0") != "0": + print(True) +else: + print(False) + ''' + ], + check: true + ).stdout().strip() + +cython_program = find_program(cython.cmd_array()[0]) + +scikit_learn_cython_args = [ + '-X language_level=3', '-X boundscheck=' + boundscheck, '-X wraparound=False', + '-X initializedcheck=False', '-X nonecheck=False', '-X cdivision=True', + '-X profile=False', + # Needed for cython imports across subpackages, e.g. cluster pyx that + # cimports metrics pxd + '--include-dir', meson.global_build_root(), +] +cython_args += scikit_learn_cython_args + +if cython.version().version_compare('>=3.1.0') + cython_shared_src = custom_target( + install: false, + output: '_cyutility.c', + command: [ + cython_program, '-3', '--fast-fail', + '--generate-shared=' + meson.current_build_dir()/'_cyutility.c' + ], + ) + + py.extension_module('_cyutility', + cython_shared_src, + subdir: 'sklearn', + cython_args: cython_args, + install: true, + ) + + cython_args += ['--shared=sklearn._cyutility'] +endif + +cython_gen = generator(cython_program, + arguments : cython_args + ['@INPUT@', '--output-file', '@OUTPUT@'], + output : '@BASENAME@.c', +) + +cython_gen_cpp = generator(cython_program, + arguments : cython_args + ['--cplus', '@INPUT@', '--output-file', '@OUTPUT@'], + output : '@BASENAME@.cpp', +) + +# Write file in Meson build dir to be able to figure out from Python code +# whether scikit-learn was built with Meson. Adapted from pandas +# _version_meson.py. +custom_target('write_built_with_meson_file', + output: '_built_with_meson.py', + command: [ + py, '-c', 'with open("sklearn/_built_with_meson.py", "w") as f: f.write("")' + ], + install: true, + install_dir: py.get_install_dir() / 'sklearn' +) + +extensions = ['_isotonic'] + +py.extension_module( + '_isotonic', + cython_gen.process('_isotonic.pyx'), + cython_args: cython_args, + install: true, + subdir: 'sklearn', +) + +# Need for Cython cimports across subpackages to work, i.e. avoid errors like +# relative cimport from non-package directory is not allowed +sklearn_root_cython_tree = [ + fs.copyfile('__init__.py') +] + +sklearn_dir = py.get_install_dir() / 'sklearn' + +# Subpackages are mostly in alphabetical order except to handle Cython +# dependencies across subpackages +subdir('__check_build') +subdir('_loss') +# utils needs to be early since plenty of other modules cimports utils .pxd +subdir('utils') +# metrics needs to be to be before cluster since cluster cimports metrics .pxd +subdir('metrics') +subdir('cluster') +subdir('datasets') +subdir('decomposition') +subdir('ensemble') +subdir('feature_extraction') +subdir('linear_model') +subdir('manifold') +subdir('neighbors') +subdir('preprocessing') +subdir('svm') +subdir('tree') diff --git a/shared/package-files/8a/8a1a2a03fb479989b46234d12d9bb7abc3eab2aa8e79bd4210b8d684f7ff1d71/Costa_Rica b/shared/package-files/8a/8a1a2a03fb479989b46234d12d9bb7abc3eab2aa8e79bd4210b8d684f7ff1d71/Costa_Rica new file mode 100644 index 0000000000000000000000000000000000000000..08f0128ee681d8f7e1df186d93514f3f4cff2830 Binary files /dev/null and b/shared/package-files/8a/8a1a2a03fb479989b46234d12d9bb7abc3eab2aa8e79bd4210b8d684f7ff1d71/Costa_Rica differ diff --git a/shared/package-files/8a/8a1aff047f6563b797710a471c342116829c6eeed530e5f940fd9396bef195a3/char.f90 b/shared/package-files/8a/8a1aff047f6563b797710a471c342116829c6eeed530e5f940fd9396bef195a3/char.f90 new file mode 100644 index 0000000000000000000000000000000000000000..bb7985ce50f2aa252aaca96aba6ef5d5f5d51844 --- /dev/null +++ b/shared/package-files/8a/8a1aff047f6563b797710a471c342116829c6eeed530e5f940fd9396bef195a3/char.f90 @@ -0,0 +1,29 @@ +MODULE char_test + +CONTAINS + +SUBROUTINE change_strings(strings, n_strs, out_strings) + IMPLICIT NONE + + ! Inputs + INTEGER, INTENT(IN) :: n_strs + CHARACTER, INTENT(IN), DIMENSION(2,n_strs) :: strings + CHARACTER, INTENT(OUT), DIMENSION(2,n_strs) :: out_strings + +!f2py INTEGER, INTENT(IN) :: n_strs +!f2py CHARACTER, INTENT(IN), DIMENSION(2,n_strs) :: strings +!f2py CHARACTER, INTENT(OUT), DIMENSION(2,n_strs) :: strings + + ! Misc. + INTEGER*4 :: j + + + DO j=1, n_strs + out_strings(1,j) = strings(1,j) + out_strings(2,j) = 'A' + END DO + +END SUBROUTINE change_strings + +END MODULE char_test + diff --git a/shared/package-files/8a/8a204f7e4490b7643902d39d87157ce953a00e8c7518ba4c8c7250d860c4a632/c108-4p b/shared/package-files/8a/8a204f7e4490b7643902d39d87157ce953a00e8c7518ba4c8c7250d860c4a632/c108-4p new file mode 100644 index 0000000000000000000000000000000000000000..290bb6100bfbaef06974c35f41bab8e7c459003d Binary files /dev/null and b/shared/package-files/8a/8a204f7e4490b7643902d39d87157ce953a00e8c7518ba4c8c7250d860c4a632/c108-4p differ diff --git a/shared/package-files/8a/8a204f7e4490b7643902d39d87157ce953a00e8c7518ba4c8c7250d860c4a632/concept108-4p b/shared/package-files/8a/8a204f7e4490b7643902d39d87157ce953a00e8c7518ba4c8c7250d860c4a632/concept108-4p new file mode 100644 index 0000000000000000000000000000000000000000..290bb6100bfbaef06974c35f41bab8e7c459003d Binary files /dev/null and b/shared/package-files/8a/8a204f7e4490b7643902d39d87157ce953a00e8c7518ba4c8c7250d860c4a632/concept108-4p differ diff --git a/shared/package-files/8a/8a293f14c64429791c0e464edc562c0556e10c2cc5c643a891a37035504199ba/_sparse_mask_projection_native.h b/shared/package-files/8a/8a293f14c64429791c0e464edc562c0556e10c2cc5c643a891a37035504199ba/_sparse_mask_projection_native.h new file mode 100644 index 0000000000000000000000000000000000000000..71686565170bbc6516a631ac3954a04ede3646d5 --- /dev/null +++ b/shared/package-files/8a/8a293f14c64429791c0e464edc562c0556e10c2cc5c643a891a37035504199ba/_sparse_mask_projection_native.h @@ -0,0 +1,22 @@ +#pragma once + +// @generated by torchgen/gen.py from NativeFunction.h + +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include + + +namespace at { +namespace native { +TORCH_API at::Tensor & _sparse_mask_projection_out(const at::Tensor & self, const at::Tensor & mask, bool accumulate_matches, at::Tensor & out); +TORCH_API at::Tensor sparse_mask_projection(const at::Tensor & self, const at::Tensor & mask, bool accumulate_matches=false); +} // namespace native +} // namespace at diff --git a/shared/package-files/8a/8a2b2dd84a7326f0d5221300c57abc8859d306c89901dea2a65c5f98d6e83729/_cmd.py b/shared/package-files/8a/8a2b2dd84a7326f0d5221300c57abc8859d306c89901dea2a65c5f98d6e83729/_cmd.py new file mode 100644 index 0000000000000000000000000000000000000000..2c84208a5d87511cc4a63dcd9c647ac75c6f4475 --- /dev/null +++ b/shared/package-files/8a/8a2b2dd84a7326f0d5221300c57abc8859d306c89901dea2a65c5f98d6e83729/_cmd.py @@ -0,0 +1,70 @@ +# SPDX-FileCopyrightText: 2015 Eric Larson +# +# SPDX-License-Identifier: Apache-2.0 +from __future__ import annotations + +import logging +from argparse import ArgumentParser +from typing import TYPE_CHECKING + +from pip._vendor import requests + +from pip._vendor.cachecontrol.adapter import CacheControlAdapter +from pip._vendor.cachecontrol.cache import DictCache +from pip._vendor.cachecontrol.controller import logger + +if TYPE_CHECKING: + from argparse import Namespace + + from pip._vendor.cachecontrol.controller import CacheController + + +def setup_logging() -> None: + logger.setLevel(logging.DEBUG) + handler = logging.StreamHandler() + logger.addHandler(handler) + + +def get_session() -> requests.Session: + adapter = CacheControlAdapter( + DictCache(), cache_etags=True, serializer=None, heuristic=None + ) + sess = requests.Session() + sess.mount("http://", adapter) + sess.mount("https://", adapter) + + sess.cache_controller = adapter.controller # type: ignore[attr-defined] + return sess + + +def get_args() -> Namespace: + parser = ArgumentParser() + parser.add_argument("url", help="The URL to try and cache") + return parser.parse_args() + + +def main() -> None: + args = get_args() + sess = get_session() + + # Make a request to get a response + resp = sess.get(args.url) + + # Turn on logging + setup_logging() + + # try setting the cache + cache_controller: CacheController = ( + sess.cache_controller # type: ignore[attr-defined] + ) + cache_controller.cache_response(resp.request, resp.raw) + + # Now try to get it + if cache_controller.cached_request(resp.request): + print("Cached!") + else: + print("Not cached :(") + + +if __name__ == "__main__": + main() diff --git a/shared/package-files/8a/8a2bfe5eeefdf412c8d427186bec4198d87ced698cf58058425bf1c76d9ccf59/special_log_ndtr_compositeexplicitautogradnonfunctional_dispatch.h b/shared/package-files/8a/8a2bfe5eeefdf412c8d427186bec4198d87ced698cf58058425bf1c76d9ccf59/special_log_ndtr_compositeexplicitautogradnonfunctional_dispatch.h new file mode 100644 index 0000000000000000000000000000000000000000..7e51c50a1a056fb7b8602952fd7720b11f5feced --- /dev/null +++ b/shared/package-files/8a/8a2bfe5eeefdf412c8d427186bec4198d87ced698cf58058425bf1c76d9ccf59/special_log_ndtr_compositeexplicitautogradnonfunctional_dispatch.h @@ -0,0 +1,23 @@ +#pragma once +// @generated by torchgen/gen.py from DispatchKeyFunction.h + +// NB: The implementing C++ file is RegisterDispatchKey.cpp + +// The only #includes we need are for custom classes that have defaults in the C++ API +#include +#include +#include + +// Forward declarations of any types needed in the operator signatures. +// We can't directly include these classes because it will cause circular include dependencies. +// This file is included by TensorBody.h, which defines the Tensor class. +#include + +namespace at { + +namespace compositeexplicitautogradnonfunctional { + +TORCH_API at::Tensor special_log_ndtr(const at::Tensor & self); + +} // namespace compositeexplicitautogradnonfunctional +} // namespace at diff --git a/shared/package-files/8a/8a324e6eec9c0e8df8e7f64bafc00fcbaaea246fde60aa12b56a9036fe6b4dfa/EXPERIMENTS.md b/shared/package-files/8a/8a324e6eec9c0e8df8e7f64bafc00fcbaaea246fde60aa12b56a9036fe6b4dfa/EXPERIMENTS.md new file mode 100644 index 0000000000000000000000000000000000000000..22679fce5bf5702431cee5aeba22e436e828dc0c --- /dev/null +++ b/shared/package-files/8a/8a324e6eec9c0e8df8e7f64bafc00fcbaaea246fde60aa12b56a9036fe6b4dfa/EXPERIMENTS.md @@ -0,0 +1,13456 @@ +# Experiment ledger + +All development uses train/valid pools of `/workspace/data/split.json`. No held-out targets or case definitions are used. One H100 GPU is available. No pretrained assets are used. + +## E000 — package initialization +- Hypothesis: a spatial-mean prior provides a finite, portable starting package while training begins. +- Changed factor: parameter-free spatial-mean prediction. +- Seed: not applicable (deterministic). +- Validation: fixed 81-case subset (seed 71, all start at frame 0), reward 0.313512; 0 failed cases. +- Checkpoint hash: no checkpoint; predictor SHA256 307c11c9f4f3f186b96a34597822e1e40e95d47d6159b3de3fe0934ebae13d7d. +- Outcome: initial package published; not a trained candidate or a reproduced baseline run. + +## E001 — coupled, metadata-conditioned multiscale model +- Hypothesis: joint channel modeling, physical metadata, scale-aware normalization and periodic boundaries improve cross-equation prediction relative to the documented starter weaknesses. +- Changed factors: new shared convolutional architecture; all 19 dataset identifiers represented in one parameter set; group-balanced training. +- Initialization seed: 20261021. +- Validation: pending. +- Checkpoint hash: pending. +- Outcome: preparing train-only reduced-resolution cache and validation data. + +### E000 validation VRMSE by dataset + +| Dataset | VRMSE | +|---|---:| +| ape2d/burgers | 1.000634 | +| ape2d/decay_turb | 0.999991 | +| ape2d/diff | 0.999973 | +| ape2d/fisher | 1.581309 | +| ape2d/gs_alpha | 1.005787 | +| ape2d/gs_beta | 1.023021 | +| ape2d/gs_delta | 1.591578 | +| ape2d/gs_epsilon | 1.004624 | +| ape2d/gs_gamma | 1.000439 | +| ape2d/gs_iota | 1.633860 | +| ape2d/gs_kappa | 1.079744 | +| ape2d/gs_theta | 1.574410 | +| ape2d/kdv | 1.000191 | +| ape2d/kolm_flow | 0.999992 | +| ape2d/ks | 0.999992 | +| ape2d/sh | 1.041517 | +| pdearena/navier_stokes_2d | 1.000318 | +| well/active_matter | 0.992894 | +| well/turbulent_radiative_layer_2D | 1.502768 | + +## E001-smoke — 100 updates +- Hypothesis / changed factor: Short pipeline check of new coupled operator with 40 base channels, 12 samples per batch, one-step objective, float16 cache; no baseline retraining. Float16 cache will be replaced to reduce quantization error. +- Seed: 20261021. +- Checkpoint SHA256: `5ac6054ef153f01dfda3d736e0642014f3057337eaa20e891aea01fe6d706e16`. +- Validation: fixed 81-case subset; reward **0.322278**, failed cases 0. + +| Dataset | VRMSE | +|---|---:| +| ape2d/burgers | 0.779417 | +| ape2d/decay_turb | 0.919250 | +| ape2d/diff | 0.573262 | +| ape2d/fisher | 1.128033 | +| ape2d/gs_alpha | 0.999278 | +| ape2d/gs_beta | 1.093050 | +| ape2d/gs_delta | 1.567459 | +| ape2d/gs_epsilon | 0.717784 | +| ape2d/gs_gamma | 0.761942 | +| ape2d/gs_iota | 1.560647 | +| ape2d/gs_kappa | 0.956638 | +| ape2d/gs_theta | 1.511911 | +| ape2d/kdv | 0.764748 | +| ape2d/kolm_flow | 0.974662 | +| ape2d/ks | 0.939004 | +| ape2d/sh | 0.919993 | +| pdearena/navier_stokes_2d | 0.927664 | +| well/active_matter | 1.129510 | +| well/turbulent_radiative_layer_2D | 1.281937 | + +Outcome: improvement; published atomically. + +## E001 — intermediate 2,000 updates +- Hypothesis / changed factor: Intermediate checkpoint of the same 8,000-update one-step run; all other factors unchanged. +- Seed: 20261021. +- Checkpoint SHA256: `cc58e45b55743bae890d3c3f212be97b831186431591d2501186f69378ce6f37`. +- Validation: fixed 81-case subset; reward **0.263620**, failed cases 0. + +| Dataset | VRMSE | +|---|---:| +| ape2d/burgers | 0.817172 | +| ape2d/decay_turb | 2.389786 | +| ape2d/diff | 0.837767 | +| ape2d/fisher | 1.272807 | +| ape2d/gs_alpha | 2.153748 | +| ape2d/gs_beta | 8.179170 | +| ape2d/gs_delta | 1.369924 | +| ape2d/gs_epsilon | 1.198089 | +| ape2d/gs_gamma | 1.805734 | +| ape2d/gs_iota | 1.964417 | +| ape2d/gs_kappa | 0.904690 | +| ape2d/gs_theta | 1.609477 | +| ape2d/kdv | 1.151686 | +| ape2d/kolm_flow | 2.257709 | +| ape2d/ks | 2.152634 | +| ape2d/sh | 0.836066 | +| pdearena/navier_stokes_2d | 1.003965 | +| well/active_matter | 2.135917 | +| well/turbulent_radiative_layer_2D | 1.657301 | + +Outcome: did not improve validation reward; retained current package. + +## E003 — metadata-conditioned spectral branch +- Hypothesis / changed factor: Add independently implemented ETDRK4 differential operators to the shared model. All neural weights unchanged from E001-smoke; neural branch still applied every step on every case. Equation parameters come from metadata; solver forms selected using train-only diagnostics. Kolmogorov remains with the neural update pending forcing/drag diagnosis. +- Seed: 20261021. +- Checkpoint SHA256: `5ac6054ef153f01dfda3d736e0642014f3057337eaa20e891aea01fe6d706e16`. +- Runtime code SHA256: `9e848b7d80d919c0b32a15d07bf4643a1b56b5235004827d0950660afa2e4952`. +- Validation: fixed 81-case subset; reward **0.401067**, failed cases 0. + +| Dataset | VRMSE | +|---|---:| +| ape2d/burgers | 0.044875 | +| ape2d/decay_turb | 0.000741 | +| ape2d/diff | 0.000002 | +| ape2d/fisher | 0.001230 | +| ape2d/gs_alpha | 0.019048 | +| ape2d/gs_beta | 0.010848 | +| ape2d/gs_delta | 0.146363 | +| ape2d/gs_epsilon | 0.044519 | +| ape2d/gs_gamma | 0.223558 | +| ape2d/gs_iota | 0.020980 | +| ape2d/gs_kappa | 0.119925 | +| ape2d/gs_theta | 0.119511 | +| ape2d/kdv | 0.017155 | +| ape2d/kolm_flow | 0.974662 | +| ape2d/ks | 0.087151 | +| ape2d/sh | 0.002458 | +| pdearena/navier_stokes_2d | 0.927664 | +| well/active_matter | 1.129510 | +| well/turbulent_radiative_layer_2D | 1.281937 | + +Outcome: improvement; published atomically. + +## E001 — one-step operator, 8,000 updates +- Hypothesis / changed factor: Joint channel ConvNeXt U-Net, metadata conditioning, group-balanced batches, float32 reduced-grid cache, one-step log variance-normalized MSE. Random initialization; 48 base channels and 16 samples per batch. Development inference wrapper relative-path error was corrected before scoring. +- Seed: 20261021. +- Checkpoint SHA256: `df9d763b100dd434cf97cc21c15525f38e87fbedc56e8172342cb38d5d2cbf3d`. +- Runtime code SHA256: `9a645f05c3a17872093f7f461376b1fedd663ceefbbd879ef8f1cd4b8d8e58fb`. +- Validation: fixed 81-case subset; reward **0.350858**, failed cases 0. + +| Dataset | VRMSE | +|---|---:| +| ape2d/burgers | 0.507140 | +| ape2d/decay_turb | 0.829406 | +| ape2d/diff | 0.320034 | +| ape2d/fisher | 0.481280 | +| ape2d/gs_alpha | 0.911294 | +| ape2d/gs_beta | 1.310238 | +| ape2d/gs_delta | 0.908035 | +| ape2d/gs_epsilon | 0.727216 | +| ape2d/gs_gamma | 0.760257 | +| ape2d/gs_iota | 0.676685 | +| ape2d/gs_kappa | 0.623630 | +| ape2d/gs_theta | 0.829690 | +| ape2d/kdv | 0.398326 | +| ape2d/kolm_flow | 1.315148 | +| ape2d/ks | 0.888742 | +| ape2d/sh | 0.925032 | +| pdearena/navier_stokes_2d | 0.611519 | +| well/active_matter | 1.663369 | +| well/turbulent_radiative_layer_2D | 0.780865 | + +Outcome: did not improve validation reward; retained current package. + +## E004 — trained neural branch and forced turbulence operator +- Hypothesis / changed factor: Replace smoke neural weights with E001 step 8,000, still one shared network across all cases. Add Kolmogorov forcing -4 cos(4y) and drag 0.2, identified only in training diagnostics. Both effects are recorded together; full group scores isolate transfer changes from corpus changes. +- Seed: 20261021. +- Checkpoint SHA256: `df9d763b100dd434cf97cc21c15525f38e87fbedc56e8172342cb38d5d2cbf3d`. +- Runtime code SHA256: `d8dd1c803a436415851c119241900367c593b0acfb904f6f5b3f3b17b7444478`. +- Validation: fixed 81-case subset; reward **0.437086**, failed cases 0. + +| Dataset | VRMSE | +|---|---:| +| ape2d/burgers | 0.044875 | +| ape2d/decay_turb | 0.000741 | +| ape2d/diff | 0.000002 | +| ape2d/fisher | 0.001230 | +| ape2d/gs_alpha | 0.019048 | +| ape2d/gs_beta | 0.010848 | +| ape2d/gs_delta | 0.146363 | +| ape2d/gs_epsilon | 0.044519 | +| ape2d/gs_gamma | 0.223558 | +| ape2d/gs_iota | 0.020980 | +| ape2d/gs_kappa | 0.119925 | +| ape2d/gs_theta | 0.119511 | +| ape2d/kdv | 0.017155 | +| ape2d/kolm_flow | 0.287456 | +| ape2d/ks | 0.087151 | +| ape2d/sh | 0.002458 | +| pdearena/navier_stokes_2d | 0.611519 | +| well/active_matter | 1.663369 | +| well/turbulent_radiative_layer_2D | 0.780865 | + +Outcome: improvement; published atomically. + +## E005A — physical output constraints and horizon decay (validation ablations) + +Hypothesis: exact tensor identities and reduced confidence at longer horizons stabilize active matter. All experiments reuse E001 8,000-update predictions; seed 20261021. No new weights or training data. Checkpoint SHA256: df9d763b100dd434cf97cc21c15525f38e87fbedc56e8172342cb38d5d2cbf3d. + +The diffusion coefficient 0.05, trace(D)=concentration and E=sym(gradient velocity) were checked on training pools. Horizon decay candidates 10, 20 and 40 steps are hyperparameters selected on validation, not parameters fitted to validation targets. These ablations are not published until integrated into a portable package and replayed. + +### active_diffusion: Analytic concentration diffusion only + +Reward 0.351796; failed cases 0. Changed factor is stated above; other predictions unchanged. + +| Dataset | VRMSE | +|---|---:| +| ape2d/burgers | 0.507140 | +| ape2d/decay_turb | 0.829406 | +| ape2d/diff | 0.320034 | +| ape2d/fisher | 0.481280 | +| ape2d/gs_alpha | 0.911294 | +| ape2d/gs_beta | 1.310238 | +| ape2d/gs_delta | 0.908035 | +| ape2d/gs_epsilon | 0.727216 | +| ape2d/gs_gamma | 0.760257 | +| ape2d/gs_iota | 0.676685 | +| ape2d/gs_kappa | 0.623630 | +| ape2d/gs_theta | 0.829690 | +| ape2d/kdv | 0.398326 | +| ape2d/kolm_flow | 1.315148 | +| ape2d/ks | 0.888742 | +| ape2d/sh | 0.925032 | +| pdearena/navier_stokes_2d | 0.611519 | +| well/active_matter | 1.620833 | +| well/turbulent_radiative_layer_2D | 0.780865 | + +Outcome: candidate ablation; compare integrated model before publication. + +### active_constraints: Concentration diffusion and algebraic tensor projection + +Reward 0.352944; failed cases 0. Changed factor is stated above; other predictions unchanged. + +| Dataset | VRMSE | +|---|---:| +| ape2d/burgers | 0.507140 | +| ape2d/decay_turb | 0.829406 | +| ape2d/diff | 0.320034 | +| ape2d/fisher | 0.481280 | +| ape2d/gs_alpha | 0.911294 | +| ape2d/gs_beta | 1.310238 | +| ape2d/gs_delta | 0.908035 | +| ape2d/gs_epsilon | 0.727216 | +| ape2d/gs_gamma | 0.760257 | +| ape2d/gs_iota | 0.676685 | +| ape2d/gs_kappa | 0.623630 | +| ape2d/gs_theta | 0.829690 | +| ape2d/kdv | 0.398326 | +| ape2d/kolm_flow | 1.315148 | +| ape2d/ks | 0.888742 | +| ape2d/sh | 0.925032 | +| pdearena/navier_stokes_2d | 0.611519 | +| well/active_matter | 1.570211 | +| well/turbulent_radiative_layer_2D | 0.780865 | + +Outcome: candidate ablation; compare integrated model before publication. + +### active_strain: Recompute strain from predicted velocity + +Reward 0.338342; failed cases 0. Changed factor is stated above; other predictions unchanged. + +| Dataset | VRMSE | +|---|---:| +| ape2d/burgers | 0.507140 | +| ape2d/decay_turb | 0.829406 | +| ape2d/diff | 0.320034 | +| ape2d/fisher | 0.481280 | +| ape2d/gs_alpha | 0.911294 | +| ape2d/gs_beta | 1.310238 | +| ape2d/gs_delta | 0.908035 | +| ape2d/gs_epsilon | 0.727216 | +| ape2d/gs_gamma | 0.760257 | +| ape2d/gs_iota | 0.676685 | +| ape2d/gs_kappa | 0.623630 | +| ape2d/gs_theta | 0.829690 | +| ape2d/kdv | 0.398326 | +| ape2d/kolm_flow | 1.315148 | +| ape2d/ks | 0.888742 | +| ape2d/sh | 0.925032 | +| pdearena/navier_stokes_2d | 0.611519 | +| well/active_matter | 2.350641 | +| well/turbulent_radiative_layer_2D | 0.780865 | + +Outcome: negative; strain derivatives amplify velocity errors. + +### active_projection: Weighted Fourier projection of velocity and strain + +Reward 0.352917; failed cases 0. Changed factor is stated above; other predictions unchanged. + +| Dataset | VRMSE | +|---|---:| +| ape2d/burgers | 0.507140 | +| ape2d/decay_turb | 0.829406 | +| ape2d/diff | 0.320034 | +| ape2d/fisher | 0.481280 | +| ape2d/gs_alpha | 0.911294 | +| ape2d/gs_beta | 1.310238 | +| ape2d/gs_delta | 0.908035 | +| ape2d/gs_epsilon | 0.727216 | +| ape2d/gs_gamma | 0.760257 | +| ape2d/gs_iota | 0.676685 | +| ape2d/gs_kappa | 0.623630 | +| ape2d/gs_theta | 0.829690 | +| ape2d/kdv | 0.398326 | +| ape2d/kolm_flow | 1.315148 | +| ape2d/ks | 0.888742 | +| ape2d/sh | 0.925032 | +| pdearena/navier_stokes_2d | 0.611519 | +| well/active_matter | 1.571374 | +| well/turbulent_radiative_layer_2D | 0.780865 | + +Outcome: candidate ablation; compare integrated model before publication. + +### active_projection_10: Weighted projection and exponential shrinkage, tau=10 + +Reward 0.375912; failed cases 0. Changed factor is stated above; other predictions unchanged. + +| Dataset | VRMSE | +|---|---:| +| ape2d/burgers | 0.507140 | +| ape2d/decay_turb | 0.829406 | +| ape2d/diff | 0.320034 | +| ape2d/fisher | 0.481280 | +| ape2d/gs_alpha | 0.911294 | +| ape2d/gs_beta | 1.310238 | +| ape2d/gs_delta | 0.908035 | +| ape2d/gs_epsilon | 0.727216 | +| ape2d/gs_gamma | 0.760257 | +| ape2d/gs_iota | 0.676685 | +| ape2d/gs_kappa | 0.623630 | +| ape2d/gs_theta | 0.829690 | +| ape2d/kdv | 0.398326 | +| ape2d/kolm_flow | 1.315148 | +| ape2d/ks | 0.888742 | +| ape2d/sh | 0.925032 | +| pdearena/navier_stokes_2d | 0.611519 | +| well/active_matter | 0.832421 | +| well/turbulent_radiative_layer_2D | 0.780865 | + +Outcome: candidate ablation; compare integrated model before publication. + +### active_projection_20: Weighted projection and exponential shrinkage, tau=20 + +Reward 0.372622; failed cases 0. Changed factor is stated above; other predictions unchanged. + +| Dataset | VRMSE | +|---|---:| +| ape2d/burgers | 0.507140 | +| ape2d/decay_turb | 0.829406 | +| ape2d/diff | 0.320034 | +| ape2d/fisher | 0.481280 | +| ape2d/gs_alpha | 0.911294 | +| ape2d/gs_beta | 1.310238 | +| ape2d/gs_delta | 0.908035 | +| ape2d/gs_epsilon | 0.727216 | +| ape2d/gs_gamma | 0.760257 | +| ape2d/gs_iota | 0.676685 | +| ape2d/gs_kappa | 0.623630 | +| ape2d/gs_theta | 0.829690 | +| ape2d/kdv | 0.398326 | +| ape2d/kolm_flow | 1.315148 | +| ape2d/ks | 0.888742 | +| ape2d/sh | 0.925032 | +| pdearena/navier_stokes_2d | 0.611519 | +| well/active_matter | 0.911641 | +| well/turbulent_radiative_layer_2D | 0.780865 | + +Outcome: candidate ablation; compare integrated model before publication. + +### active_projection_40: Weighted projection and exponential shrinkage, tau=40 + +Reward 0.365053; failed cases 0. Changed factor is stated above; other predictions unchanged. + +| Dataset | VRMSE | +|---|---:| +| ape2d/burgers | 0.507140 | +| ape2d/decay_turb | 0.829406 | +| ape2d/diff | 0.320034 | +| ape2d/fisher | 0.481280 | +| ape2d/gs_alpha | 0.911294 | +| ape2d/gs_beta | 1.310238 | +| ape2d/gs_delta | 0.908035 | +| ape2d/gs_epsilon | 0.727216 | +| ape2d/gs_gamma | 0.760257 | +| ape2d/gs_iota | 0.676685 | +| ape2d/gs_kappa | 0.623630 | +| ape2d/gs_theta | 0.829690 | +| ape2d/kdv | 0.398326 | +| ape2d/kolm_flow | 1.315148 | +| ape2d/ks | 0.888742 | +| ape2d/sh | 0.925032 | +| pdearena/navier_stokes_2d | 0.611519 | +| well/active_matter | 1.123714 | +| well/turbulent_radiative_layer_2D | 0.780865 | + +Outcome: candidate ablation; compare integrated model before publication. + +## Train-only solver diagnostics (no validation selection) + +Initial Navier–Stokes sign and step-size hypotheses failed (non-finite or high training error); smaller steps and the opposite vorticity convention succeeded. KS requires separate fourth derivatives, not the squared Laplacian. Kolmogorov forcing and drag were identified using training trajectories only. Doubling the latent solver grid from 256 to 512 barely changed Gray–Scott/KS training errors and was rejected as a general fix. Grid averaging, integrator order and timestep are under investigation. These are diagnostic tests, not held-out experiments; validation VRMSE is not applicable. No checkpoint was created. Source, configurations and train results are retained under research/physics_diagnostics. + +## E005B — integrated physical projection and horizon regularization +- Hypothesis / changed factor: E004 model plus concentration diffusion, weighted Fourier projection of velocity and strain, tensor identities and exponential relaxation toward context means for active-matter fluctuations, tau=10 steps. All weights unchanged; tau selected from fixed validation ablations. The neural model is still applied to every case. +- Seed: 20261021. +- Checkpoint SHA256: `df9d763b100dd434cf97cc21c15525f38e87fbedc56e8172342cb38d5d2cbf3d`. +- Runtime code SHA256: `83bec07505f714951064c32e8cb4cc20720921d9b62a1e4c1ae3bba353048798`. +- Validation: fixed 81-case subset; reward **0.462140**, failed cases 0. + +| Dataset | VRMSE | +|---|---:| +| ape2d/burgers | 0.044875 | +| ape2d/decay_turb | 0.000741 | +| ape2d/diff | 0.000002 | +| ape2d/fisher | 0.001230 | +| ape2d/gs_alpha | 0.019048 | +| ape2d/gs_beta | 0.010848 | +| ape2d/gs_delta | 0.146363 | +| ape2d/gs_epsilon | 0.044519 | +| ape2d/gs_gamma | 0.223558 | +| ape2d/gs_iota | 0.020980 | +| ape2d/gs_kappa | 0.119925 | +| ape2d/gs_theta | 0.119511 | +| ape2d/kdv | 0.017155 | +| ape2d/kolm_flow | 0.287456 | +| ape2d/ks | 0.087151 | +| ape2d/sh | 0.002458 | +| pdearena/navier_stokes_2d | 0.611519 | +| well/active_matter | 0.832422 | +| well/turbulent_radiative_layer_2D | 0.780865 | + +Outcome: improvement; published atomically. + +## Full validation of physics_smoke + +All 585 validation trajectories, starting at frame 0; no held-out trajectories. Reward **0.400925**, failed cases 0. Neural initialization seed 20261021; checkpoint SHA256 `5ac6054ef153f01dfda3d736e0642014f3057337eaa20e891aea01fe6d706e16`. Same model as the corresponding quick-validation experiment; changed factor: expanded validation sample only. + +| Dataset | VRMSE | +|---|---:| +| ape2d/burgers | 0.060324 | +| ape2d/decay_turb | 0.000387 | +| ape2d/diff | 0.000002 | +| ape2d/fisher | 0.002465 | +| ape2d/gs_alpha | 0.022938 | +| ape2d/gs_beta | 0.012380 | +| ape2d/gs_delta | 0.146653 | +| ape2d/gs_epsilon | 0.026477 | +| ape2d/gs_gamma | 0.222599 | +| ape2d/gs_iota | 0.036049 | +| ape2d/gs_kappa | 0.109056 | +| ape2d/gs_theta | 0.135853 | +| ape2d/kdv | 0.025460 | +| ape2d/kolm_flow | 0.979667 | +| ape2d/ks | 0.080605 | +| ape2d/sh | 0.002222 | +| pdearena/navier_stokes_2d | 0.923463 | +| well/active_matter | 1.120708 | +| well/turbulent_radiative_layer_2D | 1.281937 | + +Outcome: recorded full validation for audit and comparison; no automatic comparison against the distinct quick-validation sample. + +## E002 — intermediate 2,000 multi-step updates +- Hypothesis / changed factor: E005B inference architecture and physical operators; replace only shared neural weights with the 2,000-update checkpoint of four-step fine-tuning with 0.01 input noise. +- Seed: 20261021. +- Checkpoint SHA256: `d720a4dbeee0c16a125aca0cee22ee060e1e80c6b863efbd169fd69b5f2c9efc`. +- Runtime code SHA256: `f4b3be2c3e227fcfa3e8cb9774970780928d6635210a425fa2c6b07e8f08e8a5`. +- Validation: fixed 81-case subset; reward **0.473422**, failed cases 0. + +| Dataset | VRMSE | +|---|---:| +| ape2d/burgers | 0.044875 | +| ape2d/decay_turb | 0.000741 | +| ape2d/diff | 0.000002 | +| ape2d/fisher | 0.001230 | +| ape2d/gs_alpha | 0.019048 | +| ape2d/gs_beta | 0.010848 | +| ape2d/gs_delta | 0.146363 | +| ape2d/gs_epsilon | 0.044519 | +| ape2d/gs_gamma | 0.223558 | +| ape2d/gs_iota | 0.020980 | +| ape2d/gs_kappa | 0.119925 | +| ape2d/gs_theta | 0.119511 | +| ape2d/kdv | 0.017155 | +| ape2d/kolm_flow | 0.287456 | +| ape2d/ks | 0.087151 | +| ape2d/sh | 0.002458 | +| pdearena/navier_stokes_2d | 0.559579 | +| well/active_matter | 0.827134 | +| well/turbulent_radiative_layer_2D | 0.628780 | + +Outcome: improvement; published atomically. + +## E006 — observation and integration operators +- Hypothesis / changed factor: Same E005B neural weights, projection and horizon regularization. Spectral branch now models finite 8-cell averaging, the corresponding Kolmogorov forcing location, and ETDRK2 substeps for Fisher/Swift–Hohenberg/KS/KdV confirmed on training trajectories. Gray–Scott uses ETDRK4 max substep 2. No reference generator code or seeds used. +- Seed: 20261021. +- Checkpoint SHA256: `df9d763b100dd434cf97cc21c15525f38e87fbedc56e8172342cb38d5d2cbf3d`. +- Runtime code SHA256: `ef7fb353326d3a6210fc85eb7ee6c8c8438873f1b1736c764562e74f63642cef`. +- Validation: fixed 81-case subset; reward **0.490722**, failed cases 0. + +| Dataset | VRMSE | +|---|---:| +| ape2d/burgers | 0.035969 | +| ape2d/decay_turb | 0.000381 | +| ape2d/diff | 0.000003 | +| ape2d/fisher | 0.000003 | +| ape2d/gs_alpha | 0.015600 | +| ape2d/gs_beta | 0.005591 | +| ape2d/gs_delta | 0.140335 | +| ape2d/gs_epsilon | 0.002787 | +| ape2d/gs_gamma | 0.066528 | +| ape2d/gs_iota | 0.018343 | +| ape2d/gs_kappa | 0.084217 | +| ape2d/gs_theta | 0.101542 | +| ape2d/kdv | 0.016728 | +| ape2d/kolm_flow | 0.032076 | +| ape2d/ks | 0.000039 | +| ape2d/sh | 0.000004 | +| pdearena/navier_stokes_2d | 0.611519 | +| well/active_matter | 0.832422 | +| well/turbulent_radiative_layer_2D | 0.780865 | + +Outcome: improvement; published atomically. + +## Contract and determinism verification + +Seed 0 inference checks on three validation inputs spanning scalar periodic, 11-channel periodic and rectangular mixed-boundary data, plus independently constructed unseen 2-channel 7×11 and 13-channel 129×177 inputs. All shapes/dtypes were correct, every output finite, maximum rerun difference exactly 0. Small-grid padding and non-finite-step fallback added without changing any predictions on the three validation cases (bitwise parity). No synthetic training trajectories were generated. Evidence: research/universal_v1/contract_checks.json. + +## E007 — combine improved physics and multi-step training +- Hypothesis / changed factor: E006 spectral observation/integration model and E005B output projection, with shared neural weights after 4,000 four-step fine-tuning updates. Corpus and transfer gains combined; all weights originate from E001 random initialization. +- Seed: 20261021. +- Checkpoint SHA256: `b0075d614087b0d8ff2c4da046ab09098ff0004a8fa4664be868246f6991e1b8`. +- Runtime code SHA256: `ef7fb353326d3a6210fc85eb7ee6c8c8438873f1b1736c764562e74f63642cef`. +- Validation: fixed 81-case subset; reward **0.506925**, failed cases 0. + +| Dataset | VRMSE | +|---|---:| +| ape2d/burgers | 0.035969 | +| ape2d/decay_turb | 0.000381 | +| ape2d/diff | 0.000003 | +| ape2d/fisher | 0.000003 | +| ape2d/gs_alpha | 0.015600 | +| ape2d/gs_beta | 0.005591 | +| ape2d/gs_delta | 0.140335 | +| ape2d/gs_epsilon | 0.002787 | +| ape2d/gs_gamma | 0.066528 | +| ape2d/gs_iota | 0.018343 | +| ape2d/gs_kappa | 0.084217 | +| ape2d/gs_theta | 0.101542 | +| ape2d/kdv | 0.016728 | +| ape2d/kolm_flow | 0.032076 | +| ape2d/ks | 0.000039 | +| ape2d/sh | 0.000004 | +| pdearena/navier_stokes_2d | 0.531697 | +| well/active_matter | 0.821690 | +| well/turbulent_radiative_layer_2D | 0.581463 | + +Outcome: improvement; published atomically. + +## E002 — four-step training with input perturbations +- Hypothesis / changed factor: Fine-tune E001 for 8,000 updates with four autoregressive steps in the loss, 0.01 normalized input noise, lr 0.0003, batch 12. Test whether recovery from model errors improves long rollouts. +- Seed: 20261021. +- Checkpoint SHA256: `d804de9d9c22ff0eb451f83ee2e6b9aa9bbf3f887e99b5f8dd887e9b2c414420`. +- Runtime code SHA256: `1d2b51ab44d7b8212b22c4c1894b02b03697b7ed1d30f756f216e6076006e48d`. +- Validation: fixed 81-case subset; reward **0.398333**, failed cases 0. + +| Dataset | VRMSE | +|---|---:| +| ape2d/burgers | 0.411539 | +| ape2d/decay_turb | 0.688351 | +| ape2d/diff | 0.194736 | +| ape2d/fisher | 0.729932 | +| ape2d/gs_alpha | 0.660633 | +| ape2d/gs_beta | 0.856659 | +| ape2d/gs_delta | 0.790159 | +| ape2d/gs_epsilon | 0.457965 | +| ape2d/gs_gamma | 0.625919 | +| ape2d/gs_iota | 0.527543 | +| ape2d/gs_kappa | 0.587907 | +| ape2d/gs_theta | 0.768902 | +| ape2d/kdv | 0.263418 | +| ape2d/kolm_flow | 0.973194 | +| ape2d/ks | 0.959533 | +| ape2d/sh | 0.611700 | +| pdearena/navier_stokes_2d | 0.487448 | +| well/active_matter | 0.929633 | +| well/turbulent_radiative_layer_2D | 0.579723 | + +Outcome: did not improve validation reward; retained current package. + +## E002 — final multi-step checkpoint with validated inference operators +- Hypothesis / changed factor: Replace only the E007 shared neural weights with E002 after all 8,000 four-step fine-tuning updates. Physical operators and active-matter horizon regularization unchanged. +- Seed: 20261021. +- Checkpoint SHA256: `d804de9d9c22ff0eb451f83ee2e6b9aa9bbf3f887e99b5f8dd887e9b2c414420`. +- Runtime code SHA256: `ef7fb353326d3a6210fc85eb7ee6c8c8438873f1b1736c764562e74f63642cef`. +- Validation: fixed 81-case subset; reward **0.511096**, failed cases 0. + +| Dataset | VRMSE | +|---|---:| +| ape2d/burgers | 0.035969 | +| ape2d/decay_turb | 0.000381 | +| ape2d/diff | 0.000003 | +| ape2d/fisher | 0.000003 | +| ape2d/gs_alpha | 0.015600 | +| ape2d/gs_beta | 0.005591 | +| ape2d/gs_delta | 0.140335 | +| ape2d/gs_epsilon | 0.002787 | +| ape2d/gs_gamma | 0.066528 | +| ape2d/gs_iota | 0.018343 | +| ape2d/gs_kappa | 0.084217 | +| ape2d/gs_theta | 0.101542 | +| ape2d/kdv | 0.016728 | +| ape2d/kolm_flow | 0.032076 | +| ape2d/ks | 0.000039 | +| ape2d/sh | 0.000004 | +| pdearena/navier_stokes_2d | 0.487448 | +| well/active_matter | 0.801125 | +| well/turbulent_radiative_layer_2D | 0.579723 | + +Outcome: improvement; published atomically. + +## Full validation of phase2_4000 + +All 585 validation trajectories, starting at frame 0; no held-out trajectories. Reward **0.500153**, failed cases 0. Neural initialization seed 20261021; checkpoint SHA256 `b0075d614087b0d8ff2c4da046ab09098ff0004a8fa4664be868246f6991e1b8`. Same model as the corresponding quick-validation experiment; changed factor: expanded validation sample only. + +| Dataset | VRMSE | +|---|---:| +| ape2d/burgers | 0.045446 | +| ape2d/decay_turb | 0.000289 | +| ape2d/diff | 0.000003 | +| ape2d/fisher | 0.000005 | +| ape2d/gs_alpha | 0.016217 | +| ape2d/gs_beta | 0.006001 | +| ape2d/gs_delta | 0.140847 | +| ape2d/gs_epsilon | 0.002213 | +| ape2d/gs_gamma | 0.093321 | +| ape2d/gs_iota | 0.031320 | +| ape2d/gs_kappa | 0.092346 | +| ape2d/gs_theta | 0.115251 | +| ape2d/kdv | 0.024675 | +| ape2d/kolm_flow | 0.050146 | +| ape2d/ks | 0.000024 | +| ape2d/sh | 0.000005 | +| pdearena/navier_stokes_2d | 0.527867 | +| well/active_matter | 0.839802 | +| well/turbulent_radiative_layer_2D | 0.581463 | + +Outcome: recorded full validation for audit and comparison; no automatic comparison against the distinct quick-validation sample. + +## E009 — active-fluid moment physics, train-only diagnostics + +Hypothesis: the transfer error is partly due to missing orientation-distribution moments. Implemented independent Bingham closure and a Fourier angular-moment Smoluchowski/Stokes system, based on public equation descriptions (the local The Well active_matter README) and training-only checks. No generator code, seeds, pretrained weights or normalization statistics used. Translation and rotation diffusivities 0.05 and beta 0.8 were verified against train fields; alpha and zeta come from supplied metadata. + +Changed factors: Bingham closure vs retained angular moments; spatial grids 128/256; angular resolution 12/24/40; zero vs Bingham initialization; fixed recurrent context encoder that inserts observed low moments. The encoder updates physical state only; no parameters or gradients are fitted at inference. + +Seed: not applicable (deterministic analytical operators). Checkpoint: none; these are not published candidates. Validation VRMSE: not yet run for any dataset. Four selected TRAIN trajectories only. Bingham 30-step train mean VRMSE at (zeta,alpha)=(1,-1),(3,-2),(9,-3),(17,-5): 0.0261, 0.5173, 0.8618, 1.0525. Doubling spatial resolution did not resolve closure drift. At (3,-2), 12 angular modes with context encoding reduced four-step train VRMSE to about 0.0044, versus 0.153 for Bingham. Twelve modes were inadequate at high activity; increasing angular resolution is being tested. A GPU prototype initially failed due to TorchScript complex-number optimization; this is a portability failure, not a scored model. + +Outcome: promising mechanism, still under development; retained the validated shared neural/spectral model. Detailed train results and source variants remain in research/physics_diagnostics. + + +## E009b — active kinetic resolution and implementation diagnostics + +Hypothesis: angular and spatial discretization limit the kinetic closure. Changed factors: M=32/40/64 even angular modes, 128 versus native256 spatial grid, spatial2/3 filtering enabled/disabled, eager versus CUDA graph execution. Seed: none (deterministic operators); neural checkpoint unchanged. Validation: not evaluated for these train-only numerical diagnostics. Runtime source and all numerical results are in physics_diagnostics. + +Native256/M32 thirty-step TRAIN VRMSE at (zeta,alpha)=(1,-1),(3,-2),(9,-3),(17,-5) was 0.025519, 0.014763, 0.100166, 0.880100. M40 and M64 gave nearly equal short-rollout errors, whereas 128 spatial resolution remained inaccurate or unstable at high activity. Removing the spatial filter did not help. Four-step errors at native256/M64 were approximately 0.0024/0.0031/0.0041/0.0055 for (9,-3), and 0.0233/0.0483/0.0937/0.1448 for (17,-5). Outcome: select native256/M32 for validation, retaining a finite physical-prefix fallback. TorchScript fusion failures and CUDA graph scalar-copy failures were fixed before scoring. CUDA graphs reduce launch overhead; all state storage addresses remain fixed. + +## E011a — buoyant smoke discretization, train-only identification + +Hypothesis: a fixed incompressible-fluid operator can reduce PDEArena rollout error once the observed grid layout is represented correctly. Independent MAC solver with semi-Lagrangian advection, explicit viscosity and discrete Neumann pressure projection. Training data reveal that saved velocities are lower faces with the final zero normal face omitted. Correct discrete divergence is about 0.00016 RMS. Physical domain32 and stored interval6 account for endpoint metadata conventions. + +Changed factors on three TRAIN trajectories: stored interval6 versus6.461538, internal time steps0.25/0.5/1/1.5, viscosity0/0.001/0.005/0.008/0.01/0.012, and linear versus MacCormack scalar advection. Seed: none; checkpoint: none (analytic prototype). Validation per dataset: not yet evaluated. At interval6, linear scalar advection and viscosity0.01, one-step mean train VRMSE was 0.0000243. MacCormack with the same viscosity gave0.0981; reducing the internal step to0.25 with MacCormack gave0.3391. Thus closer continuum integration did not reproduce the observed numerical dynamics. Eight additional complete TRAIN rollouts with the selected scheme had mean VRMSE below0.00011. A separate torch-only double-precision implementation reproduced the SciPy prototype. Outcome: proceed to validation; no held-out data or generator code used. Detailed tested values and errors are retained in arena_initial_results.json, arena_scheme_results.json, arena_long_results.json and arena_torch_results.json. + +## E010 — fixed angular-moment active-fluid operator +- Hypothesis / changed factor: Add the independently implemented Smoluchowski/Stokes angular-moment operator to the same phase2-final shared neural model. M32 even angular modes, native256 grid, six Stokes iterations, ETDRK4, deterministic CUDA graph; fixed Bingham initialization and observed low-moment context encoding. No inference parameter fitting. All twelve active validation cases used all thirty physical steps. Exact repeat determinism verified on low/high-activity validation inputs and a diffusion input; two novel grid/channel schemas also passed. Runtime pins the complete package directory during atomic updates. +- Seed: 20261021. +- Checkpoint SHA256: `d804de9d9c22ff0eb451f83ee2e6b9aa9bbf3f887e99b5f8dd887e9b2c414420`. +- Runtime code SHA256: `d11ea64e646593878f730df43933d3f1e64f481a34083bb7687be973e51e2d33`. +- Validation: fixed 81-case subset; reward **0.572674**, failed cases 0. + +| Dataset | VRMSE | +|---|---:| +| ape2d/burgers | 0.035969 | +| ape2d/decay_turb | 0.000381 | +| ape2d/diff | 0.000003 | +| ape2d/fisher | 0.000003 | +| ape2d/gs_alpha | 0.015600 | +| ape2d/gs_beta | 0.005591 | +| ape2d/gs_delta | 0.140335 | +| ape2d/gs_epsilon | 0.002787 | +| ape2d/gs_gamma | 0.066528 | +| ape2d/gs_iota | 0.018343 | +| ape2d/gs_kappa | 0.084217 | +| ape2d/gs_theta | 0.101542 | +| ape2d/kdv | 0.016728 | +| ape2d/kolm_flow | 0.032076 | +| ape2d/ks | 0.000039 | +| ape2d/sh | 0.000004 | +| pdearena/navier_stokes_2d | 0.487448 | +| well/active_matter | 0.146138 | +| well/turbulent_radiative_layer_2D | 0.579723 | + +Outcome: improvement; published atomically. + +## E011 — fixed MAC-grid buoyant-fluid operator +- Hypothesis / changed factor: Keep the E010 shared neural checkpoint and all other inference components; add a metadata-conditioned MAC fluid update for the buoyant-smoke schema. The selected numerical scheme was identified on train pools only. Quick validation reran all twelve PDEArena cases and reused E010 predictions for unchanged operators with identical weights. PDEArena mean VRMSE is 0.00008349. Exact repeat determinism passed for two smoke cases, diffusion, and two novel grid/channel schemas. Expanded end-to-end validation is next. +- Seed: 20261021. +- Checkpoint SHA256: `d804de9d9c22ff0eb451f83ee2e6b9aa9bbf3f887e99b5f8dd887e9b2c414420`. +- Runtime code SHA256: `397cac1ec1b4314c9e5832071d0cc8a3451a85a8d891ba469a64722ac4d69f65`. +- Validation: fixed 81-case subset; reward **0.713334**, failed cases 0. + +| Dataset | VRMSE | +|---|---:| +| ape2d/burgers | 0.035969 | +| ape2d/decay_turb | 0.000381 | +| ape2d/diff | 0.000003 | +| ape2d/fisher | 0.000003 | +| ape2d/gs_alpha | 0.015600 | +| ape2d/gs_beta | 0.005591 | +| ape2d/gs_delta | 0.140335 | +| ape2d/gs_epsilon | 0.002787 | +| ape2d/gs_gamma | 0.066528 | +| ape2d/gs_iota | 0.018343 | +| ape2d/gs_kappa | 0.084217 | +| ape2d/gs_theta | 0.101542 | +| ape2d/kdv | 0.016728 | +| ape2d/kolm_flow | 0.032076 | +| ape2d/ks | 0.000039 | +| ape2d/sh | 0.000004 | +| pdearena/navier_stokes_2d | 0.000083 | +| well/active_matter | 0.146138 | +| well/turbulent_radiative_layer_2D | 0.579723 | + +Outcome: improvement; published atomically. + +## E012a — neural forecast uncertainty, train-only ablation + +Hypothesis: spatial averaging reduces uncertain late-time turbulent fluctuations while retaining vertical mean profiles. Same phase2-final checkpoint (SHA256 d804de9d9c22ff0eb451f83ee2e6b9aa9bbf3f887e99b5f8dd887e9b2c414420), seed20261021. Nine TRAIN trajectories, one for each cooling time; no validation used to select the coefficient. Changed factors: nonnegative material scalars; Gaussian smoothing with final width1/2/4/8/16 pixels; linear horizon-dependent shrinkage toward the mean over periodic directions with final weight0.25/0.5/0.75/1.0 at step30. + +| Variant | Train VRMSE | +|---|---:| +| raw | 0.538547 | +| positive | 0.538100 | +| blur_1 | 0.537242 | +| blur_2 | 0.536386 | +| blur_4 | 0.534177 | +| blur_8 | 0.529554 | +| blur_16 | 0.526478 | +| profile_0.25 | 0.530485 | +| profile_0.5 | 0.525987 | +| profile_0.75 | 0.524946 | +| profile_1.0 | 0.527495 | + +Validation per dataset: not evaluated in this ablation. Outcome: coefficient0.75 selected for subsequent validation. Positivity alone helped very little; smoothing cannot resolve most pressure error. Roughly one-fifth of pressure MSE comes from spatial-mean error, so a correction to the mean alone is insufficient. + +## E012 — fixed spatial uncertainty shrinkage +- Hypothesis / changed factor: The same shared neural weights and physical operators as E011. Add horizon-dependent shrinkage toward means over periodic directions (weight 0.75 by step30), plus nonnegative density/concentration. The coefficient was selected on nine training trajectories before validation. All nine radiative-layer validation rollouts were rerun; unchanged physical outputs were reused for the other72 cases. Exact determinism passed on three radiative-layer inputs and two novel grid/channel schemas. Validation radiative-layer VRMSE improved from0.579723 to0.546835. +- Seed: 20261021. +- Checkpoint SHA256: `d804de9d9c22ff0eb451f83ee2e6b9aa9bbf3f887e99b5f8dd887e9b2c414420`. +- Runtime code SHA256: `ba79305f6b0d6631b1fcea9b289b1b08335df7ab26afe685790aa2a7d4d03d98`. +- Validation: fixed 81-case subset; reward **0.715448**, failed cases 0. + +| Dataset | VRMSE | +|---|---:| +| ape2d/burgers | 0.035969 | +| ape2d/decay_turb | 0.000381 | +| ape2d/diff | 0.000003 | +| ape2d/fisher | 0.000003 | +| ape2d/gs_alpha | 0.015600 | +| ape2d/gs_beta | 0.005591 | +| ape2d/gs_delta | 0.140335 | +| ape2d/gs_epsilon | 0.002787 | +| ape2d/gs_gamma | 0.066528 | +| ape2d/gs_iota | 0.018343 | +| ape2d/gs_kappa | 0.084217 | +| ape2d/gs_theta | 0.101542 | +| ape2d/kdv | 0.016728 | +| ape2d/kolm_flow | 0.032076 | +| ape2d/ks | 0.000039 | +| ape2d/sh | 0.000004 | +| pdearena/navier_stokes_2d | 0.000083 | +| well/active_matter | 0.146138 | +| well/turbulent_radiative_layer_2D | 0.546835 | + +Outcome: improvement; published atomically. + +## E013 — native rectangular inference before fine-tuning +- Hypothesis / changed factor: Change only the shared neural inference grid for rectangular inputs from64x192 to native128x384, keeping the E012 checkpoint and all other operators/regularization fixed. This tests resolution transfer before native-grid fine-tuning. Radiative-layer VRMSE worsened from0.546835 to0.769883; retain E012. All other validation predictions are unchanged physical outputs. The result motivates retraining the shared operator on native grids rather than changing inference resolution alone. +- Seed: 20261021. +- Checkpoint SHA256: `d804de9d9c22ff0eb451f83ee2e6b9aa9bbf3f887e99b5f8dd887e9b2c414420`. +- Runtime code SHA256: `cc9804d49168dff3c2a3868118de9b3b3bccbd2b0982814f94617a3115b7b6fa`. +- Validation: fixed 81-case subset; reward **0.703067**, failed cases 0. + +| Dataset | VRMSE | +|---|---:| +| ape2d/burgers | 0.035969 | +| ape2d/decay_turb | 0.000381 | +| ape2d/diff | 0.000003 | +| ape2d/fisher | 0.000003 | +| ape2d/gs_alpha | 0.015600 | +| ape2d/gs_beta | 0.005591 | +| ape2d/gs_delta | 0.140335 | +| ape2d/gs_epsilon | 0.002787 | +| ape2d/gs_gamma | 0.066528 | +| ape2d/gs_iota | 0.018343 | +| ape2d/gs_kappa | 0.084217 | +| ape2d/gs_theta | 0.101542 | +| ape2d/kdv | 0.016728 | +| ape2d/kolm_flow | 0.032076 | +| ape2d/ks | 0.000039 | +| ape2d/sh | 0.000004 | +| pdearena/navier_stokes_2d | 0.000083 | +| well/active_matter | 0.146138 | +| well/turbulent_radiative_layer_2D | 0.769883 | + +Outcome: did not improve validation reward; retained current package. + +## E008 — larger-batch transfer-focused training, update 5000 +- Hypothesis / changed factor: Continue the same shared network from E002 final weights: batch 48, four-step loss, 0.01 input noise, corpus probability 0.1 and 0.3 for each transfer group, lr 0.0003 cosine, sampling seed 20261022; initialization seed remains 20261021. Inference operators frozen to E012 (angular-moment active matter, MAC buoyant smoke and fixed neural uncertainty shrinkage). Quick validation reruns all nine radiative-layer trajectories and reuses fixed physical predictions for the other seventy-two cases, which are independent of the neural weights; expanded validation runs end-to-end. +- Seed: 20261022. +- Checkpoint SHA256: `b15d7793357ba38253d0c90c465eef87c96a46c963d7347caa803ccfc19f11a8`. +- Runtime code SHA256: `ba79305f6b0d6631b1fcea9b289b1b08335df7ab26afe685790aa2a7d4d03d98`. +- Validation: fixed 81-case subset; reward **0.715555**, failed cases 0. + +| Dataset | VRMSE | +|---|---:| +| ape2d/burgers | 0.035969 | +| ape2d/decay_turb | 0.000381 | +| ape2d/diff | 0.000003 | +| ape2d/fisher | 0.000003 | +| ape2d/gs_alpha | 0.015600 | +| ape2d/gs_beta | 0.005591 | +| ape2d/gs_delta | 0.140335 | +| ape2d/gs_epsilon | 0.002787 | +| ape2d/gs_gamma | 0.066528 | +| ape2d/gs_iota | 0.018343 | +| ape2d/gs_kappa | 0.084217 | +| ape2d/gs_theta | 0.101542 | +| ape2d/kdv | 0.016728 | +| ape2d/kolm_flow | 0.032076 | +| ape2d/ks | 0.000039 | +| ape2d/sh | 0.000004 | +| pdearena/navier_stokes_2d | 0.000083 | +| well/active_matter | 0.146138 | +| well/turbulent_radiative_layer_2D | 0.545224 | + +Outcome: improvement; published atomically. + + +## E015a — reaction-diffusion spatial/time convergence, training only + +Hypothesis: unresolved reaction harmonics cause remaining Gray–Scott drift. Changed factors: grid256/512/1024 after finite8-cell observation deconvolution; ETDRK4 maxdt2/0.5 vs ETDRK2 maxdt0.2/0.25/0.3/0.5; optional physical context encoding preserving unresolved modes; finite-averaging ratio2/4/8/16 versus its continuum limit. Deterministic numerical operators, no random seed or learned checkpoint. Validation per dataset: not yet evaluated. + +On selected TRAIN gamma/delta trajectories, grid256/RK4dm2 three-step VRMSE was gamma .000764/.000799/.001016 and delta .000817/.001631/.002567. Grid512/RK2dm.25 gave gamma .000197/.000268/.000394 and delta .000105/.000222/.000335. Grid1024 and the recurrent physical-state encoder gave no additional improvement. Ratio8 remained best among tested observation filters. Thus prior negative grid-only tests did not rule out improvement when resolution and observation inversion were changed together. A portable double-precision GPU implementation is undergoing full train rollouts. Numerical results and all variants are retained in gs_resolution_results.json, gs_resolution_time_results.json, gs_context_results.json and gs_observation_results.json. + +A separate spectral CUDA-graph implementation reproduced ten different corpus training cases exactly over three forecast steps (max absolute difference0 for each). Some runtime reduction was measured while shared training was active, e.g. three Navier–Stokes steps .70s to .47s. This changes execution only; no numerical parameters are fitted at inference. + +## E016 design — shared global spectral feature mixing, not yet trained + +Hypothesis: acoustic pressure patterns need communication across the native rectangular grid. Prepared a shared Fourier feature-mixing residual at the first neural stage, with even extensions in nonperiodic directions and metadata-conditioned complex gains. All weights will be trained jointly on all pools; this is not a dataset specialist. Adds306552 trainable parameters to the2.759547M shared net, total3066099. New output projection starts at zero. Seed20261024 for the new parameters. Initial model matches the existing parent exactly, and a training-only backward pass gives finite nonzero gradients. No optimizer updates or validation results yet; not a publishable candidate. Source and initialization checks in research/global_v1. Continue native-grid training first to establish a comparison. + +## E015b — offline numerical coefficient calibration, negative train result + +Hypothesis: small global corrections to Gray–Scott diffusivities and elapsed time reduce residual error. Fitted three fixed coefficients offline to one-step errors on TRAIN gamma/delta trajectories, with the fine512/RK2dm.25 operator. No inference-time fitting. Seed: none; checkpoint: none (analytic calibration); validation per dataset: not run because full TRAIN rollouts worsened. + +Fitted options: `{"gs_scale": 2, "gs_dt": 0.25, "gs_order": 2, "gs_double": true, "gs_diffusion_u": 1.9999732723556725e-05, "gs_diffusion_v": 1.0000209495791168e-05, "gs_time_scale": 0.9999851457782819}`. One-step normalized MSE decreased from 2.3365036901186555e-08 to 1.9611423235582817e-08. + +| Train dataset | Variant | 26-step VRMSE | +|---|---|---:| +| gs_gamma | uncalibrated | 0.029923 | +| gs_gamma | calibrated | 0.031195 | +| gs_delta | uncalibrated | 0.013152 | +| gs_delta | calibrated | 0.014885 | +| gs_alpha | uncalibrated | 0.002711 | +| gs_alpha | calibrated | 0.002466 | +| gs_theta | uncalibrated | 0.010527 | +| gs_theta | calibrated | 0.049919 | + +Outcome: rejected. The tiny one-step improvement did not carry over to long rollouts, particularly on the unused theta training trajectory. Retain nominal physical coefficients. + +## E015 — finer reaction-diffusion state with matched integration +- Hypothesis / changed factor: Keep the same phase3/update5000 shared neural checkpoint. Gray–Scott now retains a2x internal Fourier grid, uses double-precision ETDRK2 with max internal dt0.25, and observes it through the finite8-cell averaging filter. Nominal physical coefficients retained after calibration failed full train rollouts. Enable deterministic CUDA graphs for spectral updates. Reran all48 corpus validation cases; corpus mean improved from0.032509 to0.010893. Other33 cases reuse identical parent outputs. Exact repeat checks passed on two Gray–Scott cases, Kolmogorov flow and novel schemas; all24 unchanged corpus cases matched parent outputs bit for bit. +- Seed: 20261022. +- Checkpoint SHA256: `b15d7793357ba38253d0c90c465eef87c96a46c963d7347caa803ccfc19f11a8`. +- Runtime code SHA256: `3962bd91a5cf0d9b11b901a10dda99623d4d995b034f57f75c81e62bc41c8aff`. +- Validation: fixed 81-case subset; reward **0.755127**, failed cases 0. + +| Dataset | VRMSE | +|---|---:| +| ape2d/burgers | 0.035969 | +| ape2d/decay_turb | 0.000381 | +| ape2d/diff | 0.000003 | +| ape2d/fisher | 0.000003 | +| ape2d/gs_alpha | 0.003095 | +| ape2d/gs_beta | 0.004740 | +| ape2d/gs_delta | 0.019250 | +| ape2d/gs_epsilon | 0.001366 | +| ape2d/gs_gamma | 0.049313 | +| ape2d/gs_iota | 0.001785 | +| ape2d/gs_kappa | 0.004855 | +| ape2d/gs_theta | 0.004678 | +| ape2d/kdv | 0.016728 | +| ape2d/kolm_flow | 0.032076 | +| ape2d/ks | 0.000039 | +| ape2d/sh | 0.000004 | +| pdearena/navier_stokes_2d | 0.000083 | +| well/active_matter | 0.146138 | +| well/turbulent_radiative_layer_2D | 0.545224 | + +Outcome: improvement; published atomically. + +## Full validation of arena_candidate + +All 585 validation trajectories, starting at frame 0; no held-out trajectories. Reward **0.696465**, failed cases 0. Neural initialization seed 20261021; checkpoint SHA256 `d804de9d9c22ff0eb451f83ee2e6b9aa9bbf3f887e99b5f8dd887e9b2c414420`. Same model as the corresponding quick-validation experiment; changed factor: expanded validation sample only. + +| Dataset | VRMSE | +|---|---:| +| ape2d/burgers | 0.045295 | +| ape2d/decay_turb | 0.000289 | +| ape2d/diff | 0.000003 | +| ape2d/fisher | 0.000005 | +| ape2d/gs_alpha | 0.016217 | +| ape2d/gs_beta | 0.006001 | +| ape2d/gs_delta | 0.140847 | +| ape2d/gs_epsilon | 0.002213 | +| ape2d/gs_gamma | 0.093321 | +| ape2d/gs_iota | 0.031320 | +| ape2d/gs_kappa | 0.092346 | +| ape2d/gs_theta | 0.115251 | +| ape2d/kdv | 0.024675 | +| ape2d/kolm_flow | 0.050146 | +| ape2d/ks | 0.000024 | +| ape2d/sh | 0.000005 | +| pdearena/navier_stokes_2d | 0.000081 | +| well/active_matter | 0.196050 | +| well/turbulent_radiative_layer_2D | 0.579723 | + +Outcome: recorded full validation for audit and comparison; no automatic comparison against the distinct quick-validation sample. + +## E014 — native-grid eight-step training, update 1000, shrink +- Hypothesis / changed factor: Continue one shared model from the best checkpoint selected at phase3 update5000. Native128x384 rectangular grids, eight-step loss, batch12, lr0.0001 cosine, input noise0.01, sampling probabilities0.05/0.075/0.075/0.8 across the four groups, sampling seed20261023, initialization seed20261021. Periodic axes are independently translated for augmentation. Fixed profile shrinkage coefficient 0.75; material scalars remain nonnegative. Quick validation reruns all nine affected neural cases and reuses E015 fixed physical predictions for the other72 cases. See phase4/lineage.json for exact parent selection. +- Seed: 20261023. +- Checkpoint SHA256: `896ab17892d5add120c2b53ea96bab6a92e5a8125b1f40f1c349007ab56aba67`. +- Runtime code SHA256: `3c1a0c1b744a5ed45e470052d1cc0220ded8ea97ab6e41bed3abc2c752dcc53f`. +- Validation: fixed 81-case subset; reward **0.756053**, failed cases 0. + +| Dataset | VRMSE | +|---|---:| +| ape2d/burgers | 0.035969 | +| ape2d/decay_turb | 0.000381 | +| ape2d/diff | 0.000003 | +| ape2d/fisher | 0.000003 | +| ape2d/gs_alpha | 0.003095 | +| ape2d/gs_beta | 0.004740 | +| ape2d/gs_delta | 0.019250 | +| ape2d/gs_epsilon | 0.001366 | +| ape2d/gs_gamma | 0.049313 | +| ape2d/gs_iota | 0.001785 | +| ape2d/gs_kappa | 0.004855 | +| ape2d/gs_theta | 0.004678 | +| ape2d/kdv | 0.016728 | +| ape2d/kolm_flow | 0.032076 | +| ape2d/ks | 0.000039 | +| ape2d/sh | 0.000004 | +| pdearena/navier_stokes_2d | 0.000083 | +| well/active_matter | 0.146138 | +| well/turbulent_radiative_layer_2D | 0.531451 | + +Outcome: improvement; published atomically. + +## E014 — native-grid eight-step training, update 1000, no_shrink +- Hypothesis / changed factor: Continue one shared model from the best checkpoint selected at phase3 update5000. Native128x384 rectangular grids, eight-step loss, batch12, lr0.0001 cosine, input noise0.01, sampling probabilities0.05/0.075/0.075/0.8 across the four groups, sampling seed20261023, initialization seed20261021. Periodic axes are independently translated for augmentation. Fixed profile shrinkage coefficient 0.0; material scalars remain nonnegative. Quick validation reruns all nine affected neural cases and reuses E015 fixed physical predictions for the other72 cases. See phase4/lineage.json for exact parent selection. +- Seed: 20261023. +- Checkpoint SHA256: `896ab17892d5add120c2b53ea96bab6a92e5a8125b1f40f1c349007ab56aba67`. +- Runtime code SHA256: `54a042282c9138ed9a7f385c2e2f2c8915d954d997f18d89ad1cc8da03b6230a`. +- Validation: fixed 81-case subset; reward **0.755034**, failed cases 0. + +| Dataset | VRMSE | +|---|---:| +| ape2d/burgers | 0.035969 | +| ape2d/decay_turb | 0.000381 | +| ape2d/diff | 0.000003 | +| ape2d/fisher | 0.000003 | +| ape2d/gs_alpha | 0.003095 | +| ape2d/gs_beta | 0.004740 | +| ape2d/gs_delta | 0.019250 | +| ape2d/gs_epsilon | 0.001366 | +| ape2d/gs_gamma | 0.049313 | +| ape2d/gs_iota | 0.001785 | +| ape2d/gs_kappa | 0.004855 | +| ape2d/gs_theta | 0.004678 | +| ape2d/kdv | 0.016728 | +| ape2d/kolm_flow | 0.032076 | +| ape2d/ks | 0.000039 | +| ape2d/sh | 0.000004 | +| pdearena/navier_stokes_2d | 0.000083 | +| well/active_matter | 0.146138 | +| well/turbulent_radiative_layer_2D | 0.546620 | + +Outcome: did not improve validation reward; retained current package. + +## E017a — active-state observation diagnostics on training trajectories + +Hypotheses: remaining active-fluid drift arises either from numerical resolution or inconsistent hidden angular moments after observed low moments are inserted. Changed factors: time step, spatial grid, Stokes iterations, finite-difference moment inversion, fixed velocity-constrained moment observation, positivity projection, rigid angular transport, and Bingham amplitude transport. All diagnostics use the first trajectory in the corresponding TRAIN pool, starting at frame zero; no validation or held-out targets. The context encoder uses only four observed frames and updates physical state; solver and encoder parameters are fixed. No parameter optimization at inference. + +Seed: deterministic physical operators, no new random parameters. Shared checkpoint unchanged; current selected SHA256 `896ab17892d5add120c2b53ea96bab6a92e5a8125b1f40f1c349007ab56aba67`. Validation VRMSE per dataset: not evaluated for these train-only diagnostics. + + +kinetic_accuracy_results.json + +| Training parameters and variant | Mean VRMSE | Last-step VRMSE | Steps | +|---|---:|---:|---:| +| {"name": "baseline", "params": [17, -5]} | 0.07398549 | 0.13735820 | 4 | +| {"name": "smaller_time_step", "params": [17, -5]} | 0.07397478 | 0.13734564 | 4 | +| {"name": "stokes_iterations", "params": [17, -5]} | 0.07398360 | 0.13735427 | 4 | +| {"name": "upsample_384", "params": [17, -5]} | 0.07628622 | 0.14166540 | 4 | +| {"name": "upsample_512", "params": [17, -5]} | 0.07628392 | 0.14165913 | 4 | + +kinetic_encoder_results.json + +| Training parameters and variant | Mean VRMSE | Last-step VRMSE | Steps | +|---|---:|---:|---:| +| {"last": false, "params": [3, -2], "weight": 0} | 0.00370120 | 0.00440354 | 4 | +| {"last": false, "params": [3, -2], "weight": 1} | 0.01032324 | 0.01005470 | 4 | +| {"last": true, "params": [3, -2], "weight": 0.25} | 0.00641056 | 0.00683838 | 4 | +| {"last": true, "params": [3, -2], "weight": 1} | 0.02690719 | 0.02838808 | 4 | +| {"last": false, "params": [9, -3], "weight": 0} | 0.00375097 | 0.00547713 | 4 | +| {"last": false, "params": [9, -3], "weight": 1} | 0.14332058 | 0.16554202 | 4 | +| {"last": true, "params": [9, -3], "weight": 0.25} | 0.04367409 | 0.04571036 | 4 | +| {"last": true, "params": [9, -3], "weight": 1} | 0.12102679 | 0.12214902 | 4 | +| {"last": false, "params": [17, -5], "weight": 0} | 0.07398282 | 0.13735300 | 4 | +| {"last": false, "params": [17, -5], "weight": 1} | 0.35820127 | 0.58563930 | 4 | +| {"last": true, "params": [17, -5], "weight": 0.25} | 0.05379023 | 0.08525104 | 4 | +| {"last": true, "params": [17, -5], "weight": 1} | 0.20885072 | 0.28744033 | 4 | + +kinetic_flow_encoder_long_results.json + +| Training parameters and variant | Mean VRMSE | Last-step VRMSE | Steps | +|---|---:|---:|---:| +| {"params": [1, -1], "weight": 0.0} | 0.02551891 | 0.05217000 | 30 | +| {"params": [1, -1], "weight": 0.25} | 0.01215404 | 0.02445865 | 30 | +| {"params": [1, -1], "weight": 1.0} | 0.00162011 | 0.00254364 | 30 | +| {"params": [3, -2], "weight": 0.0} | 0.01476343 | 0.04135585 | 30 | +| {"params": [3, -2], "weight": 0.25} | 0.00774478 | 0.02111043 | 30 | +| {"params": [3, -2], "weight": 1.0} | 0.00182436 | 0.00253463 | 30 | +| {"params": [9, -3], "weight": 0.0} | 0.10013896 | 0.45469648 | 30 | +| {"params": [9, -3], "weight": 0.25} | 0.03468125 | 0.16266733 | 30 | +| {"params": [9, -3], "weight": 1.0} | 0.04499391 | 0.18140420 | 30 | +| {"params": [17, -5], "weight": 0.0} | 0.54988378 | 1.29260397 | 30 | +| {"params": [17, -5], "weight": 0.25} | 0.48679241 | 1.30647564 | 30 | +| {"params": [17, -5], "weight": 1.0} | 0.62024931 | 1.32728279 | 30 | + +kinetic_transport_results.json + +| Training parameters and variant | Mean VRMSE | Last-step VRMSE | Steps | +|---|---:|---:|---:| +| {"params": [3, -2], "transport": "phase", "weight": 0.0} | 0.00372676 | 0.00443898 | 4 | +| {"params": [3, -2], "transport": "phase", "weight": 1.0} | 0.00187841 | 0.00173137 | 4 | +| {"params": [3, -2], "transport": "bingham", "weight": 0.0} | 0.00375795 | 0.00446493 | 4 | +| {"params": [3, -2], "transport": "bingham", "weight": 1.0} | 0.00187924 | 0.00173272 | 4 | +| {"params": [9, -3], "transport": "phase", "weight": 0.0} | 0.00041423 | 0.00039727 | 4 | +| {"params": [9, -3], "transport": "phase", "weight": 1.0} | 0.00043372 | 0.00043870 | 4 | +| {"params": [9, -3], "transport": "bingham", "weight": 0.0} | 0.00041337 | 0.00038921 | 4 | +| {"params": [9, -3], "transport": "bingham", "weight": 1.0} | 0.00039989 | 0.00040295 | 4 | +| {"params": [17, -5], "transport": "phase", "weight": 0.0} | 0.00621011 | 0.01090280 | 4 | +| {"params": [17, -5], "transport": "phase", "weight": 1.0} | 0.00566252 | 0.01021467 | 4 | +| {"params": [17, -5], "transport": "bingham", "weight": 0.0} | 0.00627246 | 0.01102048 | 4 | +| {"params": [17, -5], "transport": "bingham", "weight": 1.0} | 0.00555848 | 0.01004915 | 4 | + +kinetic_transport_long_results.json + +| Training parameters and variant | Mean VRMSE | Last-step VRMSE | Steps | +|---|---:|---:|---:| +| {"params": [1, -1], "transport": "phase", "weight": 0.0} | 0.02551866 | 0.05216906 | 30 | +| {"params": [1, -1], "transport": "phase", "weight": 1.0} | 0.00162010 | 0.00254361 | 30 | +| {"params": [3, -2], "transport": "phase", "weight": 0.0} | 0.01480152 | 0.04140588 | 30 | +| {"params": [3, -2], "transport": "phase", "weight": 1.0} | 0.00183204 | 0.00254354 | 30 | +| {"params": [9, -3], "transport": "phase", "weight": 0.0} | 0.00303750 | 0.01372149 | 30 | +| {"params": [9, -3], "transport": "phase", "weight": 1.0} | 0.00258502 | 0.00757161 | 30 | +| {"params": [17, -5], "transport": "phase", "weight": 0.0} | 0.45993094 | 1.23510826 | 30 | +| {"params": [17, -5], "transport": "phase", "weight": 1.0} | 0.46775045 | 1.23808050 | 30 | + +Outcome: finer numerics did not improve forecasts. Temporal-derivative inversion was mostly harmful. Fixed velocity observation improves low-activity cases; rigid transport additionally improves moderate/high activity. Bingham amplitude transport adds little in short tests. Select phase transport plus observation weight1 for validation based on complete 30-step training evidence. No candidate from this entry alone was published. + +- Diagnostic source kinetic_torch.py: SHA256 `1082bbf868d579e4c101b86d5fccffc9e43ba1c45e569e1c1dcbc4a19c5ddd6a`. +- Diagnostic source kinetic_flow_encoder.py: SHA256 `e0d1e5022cc8e0595c1c9fd43dc15ba4e77c7998e6fef139c5b58e2df30dde22`. +- Diagnostic source kinetic_transport_encoder.py: SHA256 `4bbb953264d06a28cd3832509172ae68240a24ec779116a3e0377346818e26e9`. + +## E014 — native-grid eight-step training, update 2000, shrink +- Hypothesis / changed factor: Continue one shared model from the best checkpoint selected at phase3 update5000. Native128x384 rectangular grids, eight-step loss, batch12, lr0.0001 cosine, input noise0.01, sampling probabilities0.05/0.075/0.075/0.8 across the four groups, sampling seed20261023, initialization seed20261021. Periodic axes are independently translated for augmentation. Fixed profile shrinkage coefficient 0.75; material scalars remain nonnegative. Quick validation reruns all nine affected neural cases and reuses E015 fixed physical predictions for the other72 cases. See phase4/lineage.json for exact parent selection. +- Seed: 20261023. +- Checkpoint SHA256: `d42dea4d135de34b46edad7bbdb797b897a289e4251e15d21185f7eebef093f4`. +- Runtime code SHA256: `3c1a0c1b744a5ed45e470052d1cc0220ded8ea97ab6e41bed3abc2c752dcc53f`. +- Validation: fixed 81-case subset; reward **0.757118**, failed cases 0. + +| Dataset | VRMSE | +|---|---:| +| ape2d/burgers | 0.035969 | +| ape2d/decay_turb | 0.000381 | +| ape2d/diff | 0.000003 | +| ape2d/fisher | 0.000003 | +| ape2d/gs_alpha | 0.003095 | +| ape2d/gs_beta | 0.004740 | +| ape2d/gs_delta | 0.019250 | +| ape2d/gs_epsilon | 0.001366 | +| ape2d/gs_gamma | 0.049313 | +| ape2d/gs_iota | 0.001785 | +| ape2d/gs_kappa | 0.004855 | +| ape2d/gs_theta | 0.004678 | +| ape2d/kdv | 0.016728 | +| ape2d/kolm_flow | 0.032076 | +| ape2d/ks | 0.000039 | +| ape2d/sh | 0.000004 | +| pdearena/navier_stokes_2d | 0.000083 | +| well/active_matter | 0.146138 | +| well/turbulent_radiative_layer_2D | 0.516039 | + +Outcome: improvement; published atomically. + +## E014 — native-grid eight-step training, update 2000, no_shrink +- Hypothesis / changed factor: Continue one shared model from the best checkpoint selected at phase3 update5000. Native128x384 rectangular grids, eight-step loss, batch12, lr0.0001 cosine, input noise0.01, sampling probabilities0.05/0.075/0.075/0.8 across the four groups, sampling seed20261023, initialization seed20261021. Periodic axes are independently translated for augmentation. Fixed profile shrinkage coefficient 0.0; material scalars remain nonnegative. Quick validation reruns all nine affected neural cases and reuses E015 fixed physical predictions for the other72 cases. See phase4/lineage.json for exact parent selection. +- Seed: 20261023. +- Checkpoint SHA256: `d42dea4d135de34b46edad7bbdb797b897a289e4251e15d21185f7eebef093f4`. +- Runtime code SHA256: `54a042282c9138ed9a7f385c2e2f2c8915d954d997f18d89ad1cc8da03b6230a`. +- Validation: fixed 81-case subset; reward **0.755962**, failed cases 0. + +| Dataset | VRMSE | +|---|---:| +| ape2d/burgers | 0.035969 | +| ape2d/decay_turb | 0.000381 | +| ape2d/diff | 0.000003 | +| ape2d/fisher | 0.000003 | +| ape2d/gs_alpha | 0.003095 | +| ape2d/gs_beta | 0.004740 | +| ape2d/gs_delta | 0.019250 | +| ape2d/gs_epsilon | 0.001366 | +| ape2d/gs_gamma | 0.049313 | +| ape2d/gs_iota | 0.001785 | +| ape2d/gs_kappa | 0.004855 | +| ape2d/gs_theta | 0.004678 | +| ape2d/kdv | 0.016728 | +| ape2d/kolm_flow | 0.032076 | +| ape2d/ks | 0.000039 | +| ape2d/sh | 0.000004 | +| pdearena/navier_stokes_2d | 0.000083 | +| well/active_matter | 0.146138 | +| well/turbulent_radiative_layer_2D | 0.532789 | + +Outcome: did not improve validation reward; retained current package. + +## Full validation of fine_gs_candidate + +All 585 validation trajectories, starting at frame 0; no held-out trajectories. Reward **0.730834**, failed cases 0. Neural initialization seed 20261021; sampling seed 20261022; checkpoint SHA256 `b15d7793357ba38253d0c90c465eef87c96a46c963d7347caa803ccfc19f11a8`. Same model as the corresponding quick-validation experiment; changed factor: expanded validation sample only. + +| Dataset | VRMSE | +|---|---:| +| ape2d/burgers | 0.049812 | +| ape2d/decay_turb | 0.000289 | +| ape2d/diff | 0.000003 | +| ape2d/fisher | 0.000005 | +| ape2d/gs_alpha | 0.003239 | +| ape2d/gs_beta | 0.004901 | +| ape2d/gs_delta | 0.022624 | +| ape2d/gs_epsilon | 0.000889 | +| ape2d/gs_gamma | 0.062780 | +| ape2d/gs_iota | 0.006619 | +| ape2d/gs_kappa | 0.008764 | +| ape2d/gs_theta | 0.019424 | +| ape2d/kdv | 0.024675 | +| ape2d/kolm_flow | 0.050146 | +| ape2d/ks | 0.000024 | +| ape2d/sh | 0.000005 | +| pdearena/navier_stokes_2d | 0.000081 | +| well/active_matter | 0.196050 | +| well/turbulent_radiative_layer_2D | 0.545224 | + +Expanded-validation protocol: all561 non-active cases were rerun with this complete package. The24 active-matter outputs were reused from the earlier end-to-end E011 run after verifying identical active solver assets/configuration and thirty physical steps for every case, so those outputs are independent of the changed shared neural weights. The official scorer evaluates all585 trajectories. + +Outcome: recorded full validation for audit and comparison; no automatic comparison against the distinct quick-validation sample. + +## E017 — geometric and velocity-constrained context state +- Hypothesis / changed factor: Keep the same shared neural checkpoint and all other operators from parent.json. Change only the active-matter four-frame physical-state encoder: rotate higher angular moments with observed second-moment orientation, scale by observed concentration, use twelve fixed regularized Stokes observation steps for F4, and project F4 into its necessary moment-positivity disk. Fixed observer weight1, ridge0.01 and phase confidence threshold0.1 were selected using train-only full30 diagnostics. No learned or solver parameter changes at inference. All twelve active validation cases rerun; sixty-nine identical parent outputs reused. Exact physical-prefix coverage is in physical_coverage.json. No new random parameters; inherited initialization seed20261021 and sampling seed recorded in the checkpoint manifest. +- Seed: 20261023. +- Checkpoint SHA256: `896ab17892d5add120c2b53ea96bab6a92e5a8125b1f40f1c349007ab56aba67`. +- Runtime code SHA256: `4122e82bf4f0ada06b25c2d0aec4b0b27ba60c97f8a5db63eedceace35062d55`. +- Validation: fixed 81-case subset; reward **0.802217**, failed cases 0. + +| Dataset | VRMSE | +|---|---:| +| ape2d/burgers | 0.035969 | +| ape2d/decay_turb | 0.000381 | +| ape2d/diff | 0.000003 | +| ape2d/fisher | 0.000003 | +| ape2d/gs_alpha | 0.003095 | +| ape2d/gs_beta | 0.004740 | +| ape2d/gs_delta | 0.019250 | +| ape2d/gs_epsilon | 0.001366 | +| ape2d/gs_gamma | 0.049313 | +| ape2d/gs_iota | 0.001785 | +| ape2d/gs_kappa | 0.004855 | +| ape2d/gs_theta | 0.004678 | +| ape2d/kdv | 0.016728 | +| ape2d/kolm_flow | 0.032076 | +| ape2d/ks | 0.000039 | +| ape2d/sh | 0.000004 | +| pdearena/navier_stokes_2d | 0.000083 | +| well/active_matter | 0.040813 | +| well/turbulent_radiative_layer_2D | 0.531451 | + +Outcome: improvement; published atomically. + +## E017b — combine context encoder and native checkpoint +- Hypothesis / changed factor: Combine the E017 fixed physical context encoder with the better shared native-grid checkpoint selected at phase4 update2000. No training, new random parameters or numerical changes. All runtime modules/configuration outside kinetic.py and the shared weights were checked identical between parents. Twelve active outputs are independent of shared weights after verifying all30 steps use the physical operator. Official scoring reuses those12 outputs and69 matching neural-parent outputs. Replayed three neural cases and two novel schemas with exact determinism. Active determinism was already checked for the identical physical encoder. Inherited initialization seed20261021, native-stage sampling seed20261023. +- Seed: 20261023. +- Checkpoint SHA256: `d42dea4d135de34b46edad7bbdb797b897a289e4251e15d21185f7eebef093f4`. +- Runtime code SHA256: `4122e82bf4f0ada06b25c2d0aec4b0b27ba60c97f8a5db63eedceace35062d55`. +- Validation: fixed 81-case subset; reward **0.803282**, failed cases 0. + +| Dataset | VRMSE | +|---|---:| +| ape2d/burgers | 0.035969 | +| ape2d/decay_turb | 0.000381 | +| ape2d/diff | 0.000003 | +| ape2d/fisher | 0.000003 | +| ape2d/gs_alpha | 0.003095 | +| ape2d/gs_beta | 0.004740 | +| ape2d/gs_delta | 0.019250 | +| ape2d/gs_epsilon | 0.001366 | +| ape2d/gs_gamma | 0.049313 | +| ape2d/gs_iota | 0.001785 | +| ape2d/gs_kappa | 0.004855 | +| ape2d/gs_theta | 0.004678 | +| ape2d/kdv | 0.016728 | +| ape2d/kolm_flow | 0.032076 | +| ape2d/ks | 0.000039 | +| ape2d/sh | 0.000004 | +| pdearena/navier_stokes_2d | 0.000083 | +| well/active_matter | 0.040813 | +| well/turbulent_radiative_layer_2D | 0.516039 | + +Outcome: improvement; published atomically. + +## E018 — finer internal advection grids +- Hypothesis / changed factor: Keep the same shared neural checkpoint and active-state encoder. Change only Burgers and Kolmogorov physical updates to a twofold internal Fourier grid in double precision, retaining unresolved state between outputs and using the same finite-cell observation map. Preserve the physical Kolmogorov forcing phase when refining its grid. Three full26 training trajectories per equation supported the change; doubling substeps, using a fourfold grid, or encoding unresolved modes through all four context frames added little. No random parameters or new training. Rerun the six affected validation cases; reuse seventy-five identical parent outputs. All six used26/26 physical updates. Exact repeat checks include Burgers, Kolmogorov, an unchanged Gray-Scott case and two novel schemas. Inherited initialization seed20261021 and sampling seed20261023. +- Seed: 20261023. +- Checkpoint SHA256: `d42dea4d135de34b46edad7bbdb797b897a289e4251e15d21185f7eebef093f4`. +- Runtime code SHA256: `970b00933280c87d32c3d322412f89d56ad1969897bbdd0b83dbeccc51231cf8`. +- Validation: fixed 81-case subset; reward **0.806376**, failed cases 0. + +| Dataset | VRMSE | +|---|---:| +| ape2d/burgers | 0.006413 | +| ape2d/decay_turb | 0.000381 | +| ape2d/diff | 0.000003 | +| ape2d/fisher | 0.000003 | +| ape2d/gs_alpha | 0.003095 | +| ape2d/gs_beta | 0.004740 | +| ape2d/gs_delta | 0.019250 | +| ape2d/gs_epsilon | 0.001366 | +| ape2d/gs_gamma | 0.049313 | +| ape2d/gs_iota | 0.001785 | +| ape2d/gs_kappa | 0.004855 | +| ape2d/gs_theta | 0.004678 | +| ape2d/kdv | 0.016728 | +| ape2d/kolm_flow | 0.008926 | +| ape2d/ks | 0.000039 | +| ape2d/sh | 0.000004 | +| pdearena/navier_stokes_2d | 0.000083 | +| well/active_matter | 0.040813 | +| well/turbulent_radiative_layer_2D | 0.516039 | + +Outcome: improvement; published atomically. + +## E017 expanded active-matter validation + +Changed factor: expand from twelve to all24 active-matter validation trajectories, all start0. Twelve existing predictions were reused only after exact context equality checks; the other twelve were replayed with the same complete E017 package. Official scorer active-matter VRMSE **0.08948507**, versus 0.19604967 for the earlier physical encoder on the same24 cases. Failed cases 0. Other dataset VRMSE: not reevaluated in this experiment. Deterministic encoder; inherited neural initialization seed20261021, sampling seed 20261023. Checkpoint SHA256 `896ab17892d5add120c2b53ea96bab6a92e5a8125b1f40f1c349007ab56aba67`. Outcome: expanded group-level validation, no comparison between different-size aggregate rewards. + +## E018a — further fixed-operator train diagnostics + +Hypotheses and changed factors: (1) interpolated velocity/strain can drive hidden moments between context frames; (2) an entropic angular-moment projection can repair the full distribution; (3) moment and velocity filters should differ; (4) unresolved Fourier modes cause Burgers/Kolmogorov error; (5) a finer grid, retained context state, time-step refinement or alternative exponential integration repairs KdV. All diagnostics use TRAIN trajectories only, with exact source indices recorded by scripts. No new random parameters or learned checkpoint. Validation VRMSE per dataset: not evaluated in these diagnostics; E018 separately evaluates the selected grid change. + + +kinetic_forced_context_results.json + +| Variant | Mean training VRMSE | Final step | Steps | +|---|---:|---:|---:| +| {"cubic": false, "observe_initial": false, "params": [3, -2]} | 0.00187798 | 0.00173005 | 4 | +| {"cubic": true, "observe_initial": false, "params": [3, -2]} | 0.00187867 | 0.00173198 | 4 | +| {"cubic": true, "observe_initial": true, "params": [3, -2]} | 0.00413512 | 0.00506158 | 4 | +| {"cubic": false, "observe_initial": false, "params": [9, -3]} | 0.01194177 | 0.01268802 | 4 | +| {"cubic": true, "observe_initial": false, "params": [9, -3]} | 0.01874249 | 0.02191580 | 4 | +| {"cubic": true, "observe_initial": true, "params": [9, -3]} | 0.01873903 | 0.02190757 | 4 | +| {"cubic": false, "observe_initial": false, "params": [17, -5]} | 0.02985521 | 0.04619750 | 4 | +| {"cubic": true, "observe_initial": false, "params": [17, -5]} | 0.04395452 | 0.07376709 | 4 | +| {"cubic": true, "observe_initial": true, "params": [17, -5]} | 0.04395483 | 0.07376773 | 4 | + +kinetic_moment_projection_results.json + +| Variant | Mean training VRMSE | Final step | Steps | +|---|---:|---:|---:| +| {"params": [3, -2], "transport": "phase", "weight": 1.0} | 0.00187845 | 0.00173138 | 4 | +| {"params": [9, -3], "transport": "phase", "weight": 1.0} | 0.00043149 | 0.00043489 | 4 | +| {"params": [17, -5], "transport": "phase", "weight": 1.0} | 0.00560499 | 0.01007434 | 4 | + +kinetic_moment_projection_long_results.json + +| Variant | Mean training VRMSE | Final step | Steps | +|---|---:|---:|---:| +| {"params": [1, -1], "transport": "phase", "weight": 1.0} | 0.00161964 | 0.00254240 | 30 | +| {"params": [3, -2], "transport": "phase", "weight": 1.0} | 0.00183213 | 0.00254286 | 30 | +| {"params": [9, -3], "transport": "phase", "weight": 1.0} | 0.00240461 | 0.00671084 | 30 | +| {"params": [17, -5], "transport": "phase", "weight": 1.0} | 0.48482975 | 1.27747452 | 30 | + +kinetic_unmasked_flow_results.json + +| Variant | Mean training VRMSE | Final step | Steps | +|---|---:|---:|---:| +| {"params": [3, -2], "transport": "phase", "weight": 1.0} | 0.00187846 | 0.00173107 | 4 | +| {"params": [9, -3], "transport": "phase", "weight": 1.0} | 0.00041315 | 0.00041952 | 4 | +| {"params": [17, -5], "transport": "phase", "weight": 1.0} | 0.00551630 | 0.01016449 | 4 | + +nonlinear_resolution_results.json + +| Variant | Mean training VRMSE | Final step | Steps | +|---|---:|---:|---:| +| {"double": false, "name": "burgers", "scale": 1, "time_factor": 1} | 0.02963583 | 0.05441318 | 26 | +| {"double": true, "name": "burgers", "scale": 1, "time_factor": 1} | 0.02963618 | 0.05441412 | 26 | +| {"double": true, "name": "burgers", "scale": 2, "time_factor": 1} | 0.00572061 | 0.01058393 | 26 | +| {"double": true, "name": "burgers", "scale": 2, "time_factor": 2} | 0.00572059 | 0.01058392 | 26 | +| {"double": false, "name": "kolm_flow", "scale": 1, "time_factor": 1} | 0.01216232 | 0.02993135 | 26 | +| {"double": true, "name": "kolm_flow", "scale": 1, "time_factor": 1} | 0.01185469 | 0.02870498 | 26 | +| {"double": true, "name": "kolm_flow", "scale": 2, "time_factor": 1} | 0.00759149 | 0.02465414 | 26 | +| {"double": true, "name": "kolm_flow", "scale": 2, "time_factor": 2} | 0.00759146 | 0.02465408 | 26 | +| {"double": false, "name": "kdv", "scale": 1, "time_factor": 1} | 0.00001462 | 0.00006308 | 26 | +| {"double": true, "name": "kdv", "scale": 1, "time_factor": 1} | 0.00001473 | 0.00006323 | 26 | +| {"double": true, "name": "kdv", "scale": 2, "time_factor": 1} | 0.00001473 | 0.00006323 | 26 | +| {"double": true, "name": "kdv", "scale": 2, "time_factor": 2} | 0.00001457 | 0.00006339 | 26 | + +nonlinear_resolution_expanded_results.json + +| Variant | Mean training VRMSE | Final step | Steps | +|---|---:|---:|---:| +| {"double": false, "name": "burgers", "scale": 1, "time_factor": 1, "trajectory": 17, "viscosity": 8.994104268544953e-05} | 0.00301647 | 0.00326871 | 26 | +| {"double": true, "name": "burgers", "scale": 2, "time_factor": 1, "trajectory": 17, "viscosity": 8.994104268544953e-05} | 0.00037459 | 0.00050441 | 26 | +| {"double": true, "name": "burgers", "scale": 4, "time_factor": 2, "trajectory": 17, "viscosity": 8.994104268544953e-05} | 0.00037497 | 0.00050395 | 26 | +| {"double": false, "name": "burgers", "scale": 1, "time_factor": 1, "trajectory": 93, "viscosity": 0.0002315303592548704} | 0.00124680 | 0.00155330 | 26 | +| {"double": true, "name": "burgers", "scale": 2, "time_factor": 1, "trajectory": 93, "viscosity": 0.0002315303592548704} | 0.00012381 | 0.00019031 | 26 | +| {"double": true, "name": "burgers", "scale": 4, "time_factor": 2, "trajectory": 93, "viscosity": 0.0002315303592548704} | 0.00012380 | 0.00019021 | 26 | +| {"double": false, "name": "kolm_flow", "scale": 1, "time_factor": 1, "trajectory": 17, "viscosity": 0.00020737974572554083} | 0.08121000 | 0.15702826 | 26 | +| {"double": true, "name": "kolm_flow", "scale": 2, "time_factor": 1, "trajectory": 17, "viscosity": 0.00020737974572554083} | 0.02042678 | 0.05910929 | 26 | +| {"double": true, "name": "kolm_flow", "scale": 4, "time_factor": 2, "trajectory": 17, "viscosity": 0.00020737974572554083} | 0.01992439 | 0.05732524 | 26 | +| {"double": false, "name": "kolm_flow", "scale": 1, "time_factor": 1, "trajectory": 93, "viscosity": 0.00035763457551476617} | 0.04068160 | 0.08604752 | 26 | +| {"double": true, "name": "kolm_flow", "scale": 2, "time_factor": 1, "trajectory": 93, "viscosity": 0.00035763457551476617} | 0.00718886 | 0.02328656 | 26 | +| {"double": true, "name": "kolm_flow", "scale": 4, "time_factor": 2, "trajectory": 93, "viscosity": 0.00035763457551476617} | 0.00716170 | 0.02330063 | 26 | +| {"double": false, "name": "kdv", "scale": 1, "time_factor": 1, "trajectory": 17, "viscosity": 0.0009525995873512995} | 0.00035132 | 0.00209063 | 26 | +| {"double": true, "name": "kdv", "scale": 2, "time_factor": 1, "trajectory": 17, "viscosity": 0.0009525995873512995} | 0.00035139 | 0.00208930 | 26 | +| {"double": true, "name": "kdv", "scale": 4, "time_factor": 2, "trajectory": 17, "viscosity": 0.0009525995873512995} | 0.00034709 | 0.00206470 | 26 | +| {"double": false, "name": "kdv", "scale": 1, "time_factor": 1, "trajectory": 93, "viscosity": 0.0006360816950437411} | 0.01203683 | 0.01849953 | 26 | +| {"double": true, "name": "kdv", "scale": 2, "time_factor": 1, "trajectory": 93, "viscosity": 0.0006360816950437411} | 0.01203362 | 0.01849631 | 26 | +| {"double": true, "name": "kdv", "scale": 4, "time_factor": 2, "trajectory": 93, "viscosity": 0.0006360816950437411} | 0.01204391 | 0.01851219 | 26 | + +nonlinear_context_results.json + +| Variant | Mean training VRMSE | Final step | Steps | +|---|---:|---:|---:| +| {"context": true, "name": "burgers", "scale": 2, "trajectory": 0} | 0.00572061 | 0.01058393 | 26 | +| {"context": true, "name": "burgers", "scale": 2, "trajectory": 17} | 0.00037297 | 0.00050443 | 26 | +| {"context": true, "name": "burgers", "scale": 2, "trajectory": 93} | 0.00012373 | 0.00019031 | 26 | +| {"context": true, "name": "kolm_flow", "scale": 2, "trajectory": 0} | 0.00759136 | 0.02465325 | 26 | +| {"context": true, "name": "kolm_flow", "scale": 2, "trajectory": 17} | 0.02068291 | 0.05987191 | 26 | +| {"context": true, "name": "kolm_flow", "scale": 2, "trajectory": 93} | 0.00716521 | 0.02321832 | 26 | +| {"context": true, "name": "kdv", "scale": 2, "trajectory": 0} | 0.00001473 | 0.00006323 | 26 | +| {"context": true, "name": "kdv", "scale": 2, "trajectory": 17} | 0.00035139 | 0.00208930 | 26 | +| {"context": true, "name": "kdv", "scale": 2, "trajectory": 93} | 0.01203363 | 0.01849633 | 26 | + +kdv_numerics_results.json + +| Variant | Mean training VRMSE | Final step | Steps | +|---|---:|---:|---:| +| {"constants": {"Domain Extent": 78.47792260107708, "Viscosity": 0.0002475354258754664}, "order": 2, "real_nl": false, "time_factor": 1, "trajectory": 0} | 0.00001473 | 0.00006323 | 26 | +| {"constants": {"Domain Extent": 78.47792260107708, "Viscosity": 0.0002475354258754664}, "order": 2, "real_nl": true, "time_factor": 1, "trajectory": 0} | 0.00001493 | 0.00006064 | 26 | +| {"constants": {"Domain Extent": 78.47792260107708, "Viscosity": 0.0002475354258754664}, "order": 4, "real_nl": false, "time_factor": 1, "trajectory": 0} | 0.00001457 | 0.00006350 | 26 | +| {"constants": {"Domain Extent": 78.47792260107708, "Viscosity": 0.0002475354258754664}, "order": 2, "real_nl": false, "time_factor": 4, "trajectory": 0} | 0.00001457 | 0.00006347 | 26 | +| {"constants": {"Domain Extent": 97.97852532879602, "Viscosity": 0.0009525995873512995}, "order": 2, "real_nl": false, "time_factor": 1, "trajectory": 17} | 0.00035151 | 0.00209107 | 26 | +| {"constants": {"Domain Extent": 97.97852532879602, "Viscosity": 0.0009525995873512995}, "order": 2, "real_nl": true, "time_factor": 1, "trajectory": 17} | 0.00019026 | 0.00094255 | 26 | +| {"constants": {"Domain Extent": 97.97852532879602, "Viscosity": 0.0009525995873512995}, "order": 4, "real_nl": false, "time_factor": 1, "trajectory": 17} | 0.00034583 | 0.00205838 | 26 | +| {"constants": {"Domain Extent": 97.97852532879602, "Viscosity": 0.0009525995873512995}, "order": 2, "real_nl": false, "time_factor": 4, "trajectory": 17} | 0.00034618 | 0.00206044 | 26 | +| {"constants": {"Domain Extent": 100.87555517480047, "Viscosity": 0.0006360816950437411}, "order": 2, "real_nl": false, "time_factor": 1, "trajectory": 93} | 0.01203692 | 0.01849972 | 26 | +| {"constants": {"Domain Extent": 100.87555517480047, "Viscosity": 0.0006360816950437411}, "order": 2, "real_nl": true, "time_factor": 1, "trajectory": 93} | 0.01360971 | 0.02156036 | 26 | +| {"constants": {"Domain Extent": 100.87555517480047, "Viscosity": 0.0006360816950437411}, "order": 4, "real_nl": false, "time_factor": 1, "trajectory": 93} | 0.01205018 | 0.01851917 | 26 | +| {"constants": {"Domain Extent": 100.87555517480047, "Viscosity": 0.0006360816950437411}, "order": 2, "real_nl": false, "time_factor": 4, "trajectory": 93} | 0.01204985 | 0.01851889 | 26 | + +Outcomes: interpolated active forcing was harmful at moderate/high activity. Entropic moment projection modestly improved moderate activity but worsened the complete high-activity rollout (0.467750 to0.484830); not selected. Retaining full velocity modes has only a small short-rollout effect; full30 test remains ongoing. Twofold grids robustly improved Burgers and Kolmogorov across three training trajectories. Fourfold grids and more substeps added little; four-frame unresolved-state encoding added little or hurt. KdV grid/integrator variants were not consistently better. A proposed small-domain KdV test found no training cases below domain extent15 and ran no rollouts; replaced it with tests on the existing three training trajectories. Low-frequency differential fits recover nonlinear coefficients near6; fitted dissipative corrections were inconsistent, so no coefficient change was selected. + +The phase5 global-mixing trainer initially stopped before optimizer creation because channels_last was applied to a five-dimensional Fourier parameter. Applying the layout only to Conv2d modules fixed it; restart used the identical checkpoint and seed20261024, with no optimizer updates lost. Exactly one GPU trainer remains. + +Diagnostic source kinetic_forced_context.py: SHA256 `cebf38a2f07fbf2ea664c5b00ac17bd5dd1cef2a128b75a2d7e978fbc102e3a0`. + +Diagnostic source kinetic_moment_projection.py: SHA256 `fc796f88bda7f7802bab82a8e41d76dc1e08e1fc3a98fb9eed20cd45e26fc69a`. + +Diagnostic source kinetic_unmasked_flow.py: SHA256 `4a40d463091ef1dd6a2432e2ce79f0a417c61af1943369711062c6e0113a059b`. + +Diagnostic source spectral_resolution.py: SHA256 `907c567c87c46bb3adf9e11b1282d1a3e1400751d5e5c0bfdd835350d3062420`. + +Diagnostic source spectral_kdv_numerics.py: SHA256 `e3fcb35b99158c156691e324dae512d17f9fca287fb072270e1adbc6437b1ffe`. + +## E018b — distinct active flow and moment filters, negative full-rollout result + +Hypothesis: the stored active velocity/strain retain modes above the moment dealiasing cutoff, so the Stokes solve should retain those modes. Changed only the velocity/strain spectral mask, preserving the moment mask. Four complete30-step TRAIN rollouts, deterministic physical operator, no new seed or checkpoint; validation per dataset not evaluated. + +| Training parameters | Mean VRMSE | +|---|---:| +| [1, -1] | 0.00161508 | +| [3, -2] | 0.00182706 | +| [9, -3] | 0.00258145 | +| [17, -5] | 0.46823457 | + +Outcome: negligible improvement at low/moderate activity and slight worsening at high activity (0.467750 to0.468235); retained the validated operator. The direct training spectral audit found concentration/director power above the2/3 cutoff at float32 roundoff, while high-activity strain retains about0.0022 of its spectral norm there. This numerical distinction is real but does not explain the dominant rollout error. + +## E016 — shared global spectral mixing, update 1000, shrink +- Hypothesis / changed factor: Continue the same shared model from the best checkpoint selected after phase4 update2000. Add a zero-initialized global Fourier feature-mixing residual (306552 new parameters). Native128x384 rectangular grids, eight-step loss, batch12, lr0.0001 cosine, input noise0.01, sampling probabilities0.05/0.075/0.075/0.8 across the four groups, sampling and added-parameter seed20261024; inherited convolutional initialization seed20261021. Periodic axes are independently translated for augmentation. Fixed profile shrinkage coefficient 0.75; material scalars remain nonnegative. Quick validation reruns all nine affected neural cases and reuses the matching fixed physical predictions for the other72 cases; the exact source is in physical_cache_source.json. See phase5/lineage.json for exact parent selection. +- Seed: 20261024. +- Checkpoint SHA256: `5ab33ed446947b26133a4c48cd684232da8c6cd13f6dc7fda32ce2c794a340cf`. +- Runtime code SHA256: `3cd1d10c39cf842ae764c3a6390d8af9c784fc4cc2141213e7647256be66ba8c`. +- Validation: fixed 81-case subset; reward **0.803408**, failed cases 0. + +| Dataset | VRMSE | +|---|---:| +| ape2d/burgers | 0.006413 | +| ape2d/decay_turb | 0.000381 | +| ape2d/diff | 0.000003 | +| ape2d/fisher | 0.000003 | +| ape2d/gs_alpha | 0.003095 | +| ape2d/gs_beta | 0.004740 | +| ape2d/gs_delta | 0.019250 | +| ape2d/gs_epsilon | 0.001366 | +| ape2d/gs_gamma | 0.049313 | +| ape2d/gs_iota | 0.001785 | +| ape2d/gs_kappa | 0.004855 | +| ape2d/gs_theta | 0.004678 | +| ape2d/kdv | 0.016728 | +| ape2d/kolm_flow | 0.008926 | +| ape2d/ks | 0.000039 | +| ape2d/sh | 0.000004 | +| pdearena/navier_stokes_2d | 0.000083 | +| well/active_matter | 0.040813 | +| well/turbulent_radiative_layer_2D | 0.560153 | + +Outcome: did not improve validation reward; retained current package. + +## E016 — shared global spectral mixing, update 1000, no_shrink +- Hypothesis / changed factor: Continue the same shared model from the best checkpoint selected after phase4 update2000. Add a zero-initialized global Fourier feature-mixing residual (306552 new parameters). Native128x384 rectangular grids, eight-step loss, batch12, lr0.0001 cosine, input noise0.01, sampling probabilities0.05/0.075/0.075/0.8 across the four groups, sampling and added-parameter seed20261024; inherited convolutional initialization seed20261021. Periodic axes are independently translated for augmentation. Fixed profile shrinkage coefficient 0.0; material scalars remain nonnegative. Quick validation reruns all nine affected neural cases and reuses the matching fixed physical predictions for the other72 cases; the exact source is in physical_cache_source.json. See phase5/lineage.json for exact parent selection. +- Seed: 20261024. +- Checkpoint SHA256: `5ab33ed446947b26133a4c48cd684232da8c6cd13f6dc7fda32ce2c794a340cf`. +- Runtime code SHA256: `a0019d25f7e2d44c69f90d0ada4f0459c943fbffa3503dc585227648c836f516`. +- Validation: fixed 81-case subset; reward **0.802480**, failed cases 0. + +| Dataset | VRMSE | +|---|---:| +| ape2d/burgers | 0.006413 | +| ape2d/decay_turb | 0.000381 | +| ape2d/diff | 0.000003 | +| ape2d/fisher | 0.000003 | +| ape2d/gs_alpha | 0.003095 | +| ape2d/gs_beta | 0.004740 | +| ape2d/gs_delta | 0.019250 | +| ape2d/gs_epsilon | 0.001366 | +| ape2d/gs_gamma | 0.049313 | +| ape2d/gs_iota | 0.001785 | +| ape2d/gs_kappa | 0.004855 | +| ape2d/gs_theta | 0.004678 | +| ape2d/kdv | 0.016728 | +| ape2d/kolm_flow | 0.008926 | +| ape2d/ks | 0.000039 | +| ape2d/sh | 0.000004 | +| pdearena/navier_stokes_2d | 0.000083 | +| well/active_matter | 0.040813 | +| well/turbulent_radiative_layer_2D | 0.574692 | + +Outcome: did not improve validation reward; retained current package. + +## E020 — pressure uncertainty shrinkage +- Hypothesis / changed factor: Keep the shared neural weights and fixed physical operators. Add pressure-only output shrinkage toward each predicted spatial mean: zero through step10, linear ramp to0.75 at step30. The existing periodic-profile shrinkage remains unchanged. Select this fixed schedule from nine train rollouts for both native and global1000 checkpoints; native training mean VRMSE0.519754 to0.518445, global0.536804 to0.534698. No new random parameters or inference-time fitting; inherited initialization seed20261021 and sampling seed20261023. Rerun all nine neural validation cases, reuse seventy-two identical physical outputs. +- Seed: 20261023. +- Checkpoint SHA256: `d42dea4d135de34b46edad7bbdb797b897a289e4251e15d21185f7eebef093f4`. +- Runtime code SHA256: `1b8f91e26862343f0238655ab2b43f24ad67da270779efcfa7ef02a841f95ab6`. +- Validation: fixed 81-case subset; reward **0.806391**, failed cases 0. + +| Dataset | VRMSE | +|---|---:| +| ape2d/burgers | 0.006413 | +| ape2d/decay_turb | 0.000381 | +| ape2d/diff | 0.000003 | +| ape2d/fisher | 0.000003 | +| ape2d/gs_alpha | 0.003095 | +| ape2d/gs_beta | 0.004740 | +| ape2d/gs_delta | 0.019250 | +| ape2d/gs_epsilon | 0.001366 | +| ape2d/gs_gamma | 0.049313 | +| ape2d/gs_iota | 0.001785 | +| ape2d/gs_kappa | 0.004855 | +| ape2d/gs_theta | 0.004678 | +| ape2d/kdv | 0.016728 | +| ape2d/kolm_flow | 0.008926 | +| ape2d/ks | 0.000039 | +| ape2d/sh | 0.000004 | +| pdearena/navier_stokes_2d | 0.000083 | +| well/active_matter | 0.040813 | +| well/turbulent_radiative_layer_2D | 0.515831 | + +Outcome: improvement; published atomically. + +## E020a — pressure schedule training sweep + +Changed factor: pressure-only mixing toward its predicted spatial mean, with start0/5/10, end15/30, strength0/0.25/0.5/0.75/1. Nine training trajectories, one per cooling parameter; train membership was audited again. Native checkpoint d42dea4d135de34b46edad7bbdb797b897a289e4251e15d21185f7eebef093f4 and global1000 checkpoint from phase5/eval001000_shrink were both evaluated. No random coefficients; inherited initialization20261021, native sampling20261023 and global sampling/new-parameter20261024. Validation per dataset: not evaluated in this training sweep; selected native variant validated separately in E020. + +| Model | Start | End | Strength | Training VRMSE | Pressure VRMSE | +|---|---:|---:|---:|---:|---:| +| native | 0 | 15 | 0.0 | 0.51975400 | 1.08576229 | +| native | 0 | 15 | 0.25 | 0.51936945 | 1.08422407 | +| native | 0 | 15 | 0.5 | 0.52051218 | 1.08879500 | +| native | 0 | 15 | 0.75 | 0.52311825 | 1.09921928 | +| native | 0 | 15 | 1.0 | 0.52708753 | 1.11509640 | +| native | 0 | 30 | 0.0 | 0.51975400 | 1.08576229 | +| native | 0 | 30 | 0.25 | 0.51915815 | 1.08337887 | +| native | 0 | 30 | 0.5 | 0.51916075 | 1.08338927 | +| native | 0 | 30 | 0.75 | 0.51976061 | 1.08578873 | +| native | 0 | 30 | 1.0 | 0.52095018 | 1.09054701 | +| native | 5 | 15 | 0.0 | 0.51975400 | 1.08576229 | +| native | 5 | 15 | 0.25 | 0.51899641 | 1.08273192 | +| native | 5 | 15 | 0.5 | 0.51948753 | 1.08469640 | +| native | 5 | 15 | 0.75 | 0.52120696 | 1.09157413 | +| native | 5 | 15 | 1.0 | 0.52409830 | 1.10313946 | +| native | 5 | 30 | 0.0 | 0.51975400 | 1.08576229 | +| native | 5 | 30 | 0.25 | 0.51903559 | 1.08288863 | +| native | 5 | 30 | 0.5 | 0.51874419 | 1.08172304 | +| native | 5 | 30 | 0.75 | 0.51888335 | 1.08227969 | +| native | 5 | 30 | 1.0 | 0.51945286 | 1.08455773 | +| native | 10 | 15 | 0.0 | 0.51975400 | 1.08576229 | +| native | 10 | 15 | 0.25 | 0.51861991 | 1.08122590 | +| native | 10 | 15 | 0.5 | 0.51848526 | 1.08068733 | +| native | 10 | 15 | 0.75 | 0.51935090 | 1.08414988 | +| native | 10 | 15 | 1.0 | 0.52118939 | 1.09150382 | +| native | 10 | 30 | 0.0 | 0.51975400 | 1.08576229 | +| native | 10 | 30 | 0.25 | 0.51902077 | 1.08282937 | +| native | 10 | 30 | 0.5 | 0.51858337 | 1.08107977 | +| native | 10 | 30 | 0.75 | 0.51844492 | 1.08052597 | +| native | 10 | 30 | 1.0 | 0.51860631 | 1.08117150 | +| global1000 | 0 | 15 | 0.0 | 0.53680422 | 1.15576050 | +| global1000 | 0 | 15 | 0.25 | 0.53561169 | 1.15099039 | +| global1000 | 0 | 15 | 0.5 | 0.53658240 | 1.15487321 | +| global1000 | 0 | 15 | 0.75 | 0.53962210 | 1.16703201 | +| global1000 | 0 | 15 | 1.0 | 0.54454053 | 1.18670573 | +| global1000 | 0 | 30 | 0.0 | 0.53680422 | 1.15576050 | +| global1000 | 0 | 30 | 0.25 | 0.53562902 | 1.15105970 | +| global1000 | 0 | 30 | 0.5 | 0.53524687 | 1.14953112 | +| global1000 | 0 | 30 | 0.75 | 0.53566622 | 1.15120852 | +| global1000 | 0 | 30 | 1.0 | 0.53687798 | 1.15605554 | +| global1000 | 5 | 15 | 0.0 | 0.53680422 | 1.15576050 | +| global1000 | 5 | 15 | 0.25 | 0.53535586 | 1.14996706 | +| global1000 | 5 | 15 | 0.5 | 0.53561634 | 1.15100898 | +| global1000 | 5 | 15 | 0.75 | 0.53755790 | 1.15877521 | +| global1000 | 5 | 15 | 1.0 | 0.54106119 | 1.17278837 | +| global1000 | 5 | 30 | 0.0 | 0.53680422 | 1.15576050 | +| global1000 | 5 | 30 | 0.25 | 0.53563652 | 1.15108971 | +| global1000 | 5 | 30 | 0.5 | 0.53500332 | 1.14855691 | +| global1000 | 5 | 30 | 0.75 | 0.53491749 | 1.14821358 | +| global1000 | 5 | 30 | 1.0 | 0.53538269 | 1.15007438 | +| global1000 | 10 | 15 | 0.0 | 0.53680422 | 1.15576050 | +| global1000 | 10 | 15 | 0.25 | 0.53513905 | 1.14909983 | +| global1000 | 10 | 15 | 0.5 | 0.53481845 | 1.14781741 | +| global1000 | 10 | 15 | 0.75 | 0.53584572 | 1.15192652 | +| global1000 | 10 | 15 | 1.0 | 0.53814365 | 1.16111824 | +| global1000 | 10 | 30 | 0.0 | 0.53680422 | 1.15576050 | +| global1000 | 10 | 30 | 0.25 | 0.53575180 | 1.15155082 | +| global1000 | 10 | 30 | 0.5 | 0.53504651 | 1.14872968 | +| global1000 | 10 | 30 | 0.75 | 0.53469765 | 1.14733423 | +| global1000 | 10 | 30 | 1.0 | 0.53471068 | 1.14738634 | + +Outcome: both models selected start10/end30/strength0.75, but the improvement was small. Earlier/stronger shrinkage is not selected. The global model remains worse than the native model after this correction. + +Global1000 checkpoint SHA256 `5ab33ed446947b26133a4c48cd684232da8c6cd13f6dc7fda32ce2c794a340cf`. Study source SHA256 `2d9ddca63b268fbc9b52f5ac1bf800e7400ae7458fbd09f80a21cecaca84ffe9`. + +## E021 preparation — shared global-statistics residual head + +Hypothesis: predicting spatially uniform channel changes explicitly will help the pressure/global-mean dynamics that dominate radiative-layer error. Add one shared MLP head using the existing metadata embedding plus normalized means and standard deviations of each of the four context frames. It emits a uniform residual for every channel on every dataset; there are no dataset-specific specialist weights. The spatial network remains the selected native ConvNeXt body for this prototype. Added56075 parameters, total2815622, seed20261027. Output projection initialized to zero. + +Initialization check on one native TRAIN window: exact parent prediction parity (maximum difference0), finite nonzero output-layer gradient norm 0.043989721685647964. No optimizer updates, no new trained checkpoint, no validation per dataset and no publication. Parent checkpoint d42dea4d135de34b46edad7bbdb797b897a289e4251e15d21185f7eebef093f4. Consider only after the longer-horizon experiment; regenerate against the actually selected parent architecture if it changes. Prototype source SHA256 `8de97bfff13028b7d33adfd16564d8b7b4f00d2ac50e67d2f051549480cefbe8`. + +## E022a — fixed hidden-state uncertainty quadrature, training diagnostics + +Hypothesis: averaging fixed hidden-state uncertainty may reduce late chaotic active-fluid error. After the four-frame state encoder, evolve center and symmetric smooth higher-moment phase perturbations with the same fixed physical parameters. Perturbations leave observedF0/F2 unchanged and enforce F4 positivity. Fixed latent-noise seed20261026, phase standard deviations0.01 and0.0001. Compare equal quadrature weights and half-center/quarter-endpoint weights. No neural training, no new learned checkpoint; validation per dataset not evaluated. These are physical-state quadrature nodes, not separately trained dataset models. + +kinetic_state_quadrature_results.json + +| Training parameters | Quadrature | Phase std | Mean VRMSE | +|---|---|---:|---:| +| [1, -1] | center | 0.01 | 0.00161962 | +| [1, -1] | symmetric_mean | 0.01 | 0.00162322 | +| [1, -1] | half_center | 0.01 | 0.00162206 | +| [3, -2] | center | 0.01 | 0.00183264 | +| [3, -2] | symmetric_mean | 0.01 | 0.00183122 | +| [3, -2] | half_center | 0.01 | 0.00183157 | +| [9, -3] | center | 0.01 | 0.00258143 | +| [9, -3] | symmetric_mean | 0.01 | 0.16464736 | +| [9, -3] | half_center | 0.01 | 0.12350380 | +| [17, -5] | center | 0.01 | 0.46776295 | +| [17, -5] | symmetric_mean | 0.01 | 0.44187382 | +| [17, -5] | half_center | 0.01 | 0.42681998 | +kinetic_state_quadrature_small_results.json + +| Training parameters | Quadrature | Phase std | Mean VRMSE | +|---|---|---:|---:| +| [1, -1] | center | 0.0001 | 0.00161962 | +| [1, -1] | symmetric_mean | 0.0001 | 0.00162011 | +| [1, -1] | half_center | 0.0001 | 0.00161957 | +| [3, -2] | center | 0.0001 | 0.00183264 | +| [3, -2] | symmetric_mean | 0.0001 | 0.00183261 | +| [3, -2] | half_center | 0.0001 | 0.00183262 | +| [9, -3] | center | 0.0001 | 0.00258143 | +| [9, -3] | symmetric_mean | 0.0001 | 0.00258179 | +| [9, -3] | half_center | 0.0001 | 0.00257420 | +| [17, -5] | center | 0.0001 | 0.46776295 | +| [17, -5] | symmetric_mean | 0.0001 | 0.45577160 | +| [17, -5] | half_center | 0.0001 | 0.45775375 | + +Outcome:0.01 is rejected because severe moderate-activity degradation outweighs the high-activity gain. The0.0001 quadrature leaves low/moderate errors nearly unchanged and reduces the hardest training mean from0.467763 to0.455772, but requires three physical integrations. Expand train tests to four additional parameter combinations before considering validation. Center includes an extra FFT roundtrip and positivity projection, so tiny roundoff differences from E017 are expected. + +Additional KdV observation-filter test on train0/17/93, powers0/0.5/1/2: removing deconvolution worsens all three; doubling it helps17 slightly but barely changes93 and hurts0. Keep nominal finite8-cell observation model. No KdV runtime change. + +## Full validation of advection_candidate + +All 585 validation trajectories, starting at frame 0; no held-out trajectories. Reward **0.775038**, failed cases 0. Neural initialization seed 20261021; sampling seed 20261023; checkpoint SHA256 `d42dea4d135de34b46edad7bbdb797b897a289e4251e15d21185f7eebef093f4`. Same model as the corresponding quick-validation experiment; changed factor: expanded validation sample only. + +| Dataset | VRMSE | +|---|---:| +| ape2d/burgers | 0.007568 | +| ape2d/decay_turb | 0.000289 | +| ape2d/diff | 0.000003 | +| ape2d/fisher | 0.000005 | +| ape2d/gs_alpha | 0.003239 | +| ape2d/gs_beta | 0.004901 | +| ape2d/gs_delta | 0.022624 | +| ape2d/gs_epsilon | 0.000889 | +| ape2d/gs_gamma | 0.062780 | +| ape2d/gs_iota | 0.006619 | +| ape2d/gs_kappa | 0.008764 | +| ape2d/gs_theta | 0.019424 | +| ape2d/kdv | 0.024675 | +| ape2d/kolm_flow | 0.011662 | +| ape2d/ks | 0.000024 | +| ape2d/sh | 0.000005 | +| pdearena/navier_stokes_2d | 0.000081 | +| well/active_matter | 0.089485 | +| well/turbulent_radiative_layer_2D | 0.516039 | + +Expanded-validation protocol: all561 non-active cases were replayed with the complete E018 package. All24 active outputs were reused from the expanded E017 validation after checking identical physical assets/configuration, exact input equality for reused quick cases, and thirty physical steps in every case. Hence those outputs are independent of the changed shared neural checkpoint. All585 validation trajectories are scored together by the official scorer. + +Outcome: recorded full validation for audit and comparison; no automatic comparison against the distinct quick-validation sample. + +## Full validation of pressure_candidate + +All 585 validation trajectories, starting at frame 0; no held-out trajectories. Reward **0.775053**, failed cases 0. Neural initialization seed 20261021; sampling seed 20261023; checkpoint SHA256 `d42dea4d135de34b46edad7bbdb797b897a289e4251e15d21185f7eebef093f4`. Same model as the corresponding quick-validation experiment; changed factor: expanded validation sample only. + +| Dataset | VRMSE | +|---|---:| +| ape2d/burgers | 0.007568 | +| ape2d/decay_turb | 0.000289 | +| ape2d/diff | 0.000003 | +| ape2d/fisher | 0.000005 | +| ape2d/gs_alpha | 0.003239 | +| ape2d/gs_beta | 0.004901 | +| ape2d/gs_delta | 0.022624 | +| ape2d/gs_epsilon | 0.000889 | +| ape2d/gs_gamma | 0.062780 | +| ape2d/gs_iota | 0.006619 | +| ape2d/gs_kappa | 0.008764 | +| ape2d/gs_theta | 0.019424 | +| ape2d/kdv | 0.024675 | +| ape2d/kolm_flow | 0.011662 | +| ape2d/ks | 0.000024 | +| ape2d/sh | 0.000005 | +| pdearena/navier_stokes_2d | 0.000081 | +| well/active_matter | 0.089485 | +| well/turbulent_radiative_layer_2D | 0.515831 | + +Exact reuse protocol: model weights and all runtime operators except pressure regularization are identical to E018. Input metadata confirms only the nine radiative-layer cases contain a pressure field; their inputs match the already replayed E020 quick cases exactly. Reuse those nine new forecasts and576 unchanged E018 full forecasts. The official scorer evaluates all585 validation trajectories together. + +Outcome: recorded full validation for audit and comparison; no automatic comparison against the distinct quick-validation sample. + +## E016 — shared global spectral mixing, update 2000, shrink +- Hypothesis / changed factor: Continue the same shared model from the best checkpoint selected after phase4 update2000. Add a zero-initialized global Fourier feature-mixing residual (306552 new parameters). Native128x384 rectangular grids, eight-step loss, batch12, lr0.0001 cosine, input noise0.01, sampling probabilities0.05/0.075/0.075/0.8 across the four groups, sampling and added-parameter seed20261024; inherited convolutional initialization seed20261021. Periodic axes are independently translated for augmentation. Fixed profile shrinkage coefficient 0.75, with any train-selected pressure schedule preserved in config; material scalars remain nonnegative. Quick validation reruns all nine affected neural cases and reuses the matching fixed physical predictions for the other72 cases; the exact source is in physical_cache_source.json. See phase5/lineage.json for exact parent selection. +- Seed: 20261024. +- Checkpoint SHA256: `64257b71008a23332418862181c0ae9dd80dfd31ee9f9227fc60a44af4bc0b7b`. +- Runtime code SHA256: `96a49ac4734af31edd0aa5345f51515a899ef067e36abeb9e2347781c28fc055`. +- Validation: fixed 81-case subset; reward **0.807185**, failed cases 0. + +| Dataset | VRMSE | +|---|---:| +| ape2d/burgers | 0.006413 | +| ape2d/decay_turb | 0.000381 | +| ape2d/diff | 0.000003 | +| ape2d/fisher | 0.000003 | +| ape2d/gs_alpha | 0.003095 | +| ape2d/gs_beta | 0.004740 | +| ape2d/gs_delta | 0.019250 | +| ape2d/gs_epsilon | 0.001366 | +| ape2d/gs_gamma | 0.049313 | +| ape2d/gs_iota | 0.001785 | +| ape2d/gs_kappa | 0.004855 | +| ape2d/gs_theta | 0.004678 | +| ape2d/kdv | 0.016728 | +| ape2d/kolm_flow | 0.008926 | +| ape2d/ks | 0.000039 | +| ape2d/sh | 0.000004 | +| pdearena/navier_stokes_2d | 0.000083 | +| well/active_matter | 0.040813 | +| well/turbulent_radiative_layer_2D | 0.504640 | + +Outcome: improvement; published atomically. + +## E022b — expanded state-quadrature training study + +Changed factor: expand the fixed1e-4 hidden-state quadrature test from four to eight TRAIN parameter combinations, same latent seed20261026 and same fixed physical operator. No new learned weights. Validation per dataset not yet evaluated. + +| Additional training parameters | Quadrature | Mean VRMSE | +|---|---|---:| +| [5, -4] | center | 0.20956509 | +| [5, -4] | symmetric_mean | 0.20925570 | +| [5, -4] | half_center | 0.20933180 | +| [7, -3] | center | 0.00780154 | +| [7, -3] | symmetric_mean | 0.00781992 | +| [7, -3] | half_center | 0.00781529 | +| [11, -4] | center | 0.08376674 | +| [11, -4] | symmetric_mean | 0.08358850 | +| [11, -4] | half_center | 0.08358082 | +| [15, -4] | center | 0.26489031 | +| [15, -4] | symmetric_mean | 0.26059937 | +| [15, -4] | half_center | 0.26147711 | + +Across all eight cases, center mean 0.12997754, equal-weight quadrature 0.12788370. Outcome: select equal weights for validation; three physical integrations per active rollout. No publication from training results alone. + +## E016 — shared global spectral mixing, update 2000, no_shrink +- Hypothesis / changed factor: Continue the same shared model from the best checkpoint selected after phase4 update2000. Add a zero-initialized global Fourier feature-mixing residual (306552 new parameters). Native128x384 rectangular grids, eight-step loss, batch12, lr0.0001 cosine, input noise0.01, sampling probabilities0.05/0.075/0.075/0.8 across the four groups, sampling and added-parameter seed20261024; inherited convolutional initialization seed20261021. Periodic axes are independently translated for augmentation. Fixed profile shrinkage coefficient 0.0, with any train-selected pressure schedule preserved in config; material scalars remain nonnegative. Quick validation reruns all nine affected neural cases and reuses the matching fixed physical predictions for the other72 cases; the exact source is in physical_cache_source.json. See phase5/lineage.json for exact parent selection. +- Seed: 20261024. +- Checkpoint SHA256: `64257b71008a23332418862181c0ae9dd80dfd31ee9f9227fc60a44af4bc0b7b`. +- Runtime code SHA256: `f06079b546194d4243540a3578b4df4e547efc8b64bb67210a4d5fe41648b2bd`. +- Validation: fixed 81-case subset; reward **0.806418**, failed cases 0. + +| Dataset | VRMSE | +|---|---:| +| ape2d/burgers | 0.006413 | +| ape2d/decay_turb | 0.000381 | +| ape2d/diff | 0.000003 | +| ape2d/fisher | 0.000003 | +| ape2d/gs_alpha | 0.003095 | +| ape2d/gs_beta | 0.004740 | +| ape2d/gs_delta | 0.019250 | +| ape2d/gs_epsilon | 0.001366 | +| ape2d/gs_gamma | 0.049313 | +| ape2d/gs_iota | 0.001785 | +| ape2d/gs_kappa | 0.004855 | +| ape2d/gs_theta | 0.004678 | +| ape2d/kdv | 0.016728 | +| ape2d/kolm_flow | 0.008926 | +| ape2d/ks | 0.000039 | +| ape2d/sh | 0.000004 | +| pdearena/navier_stokes_2d | 0.000083 | +| well/active_matter | 0.040813 | +| well/turbulent_radiative_layer_2D | 0.515442 | + +Outcome: did not improve validation reward; retained current package. + +## Full validation of eval002000_shrink + +All 585 validation trajectories, starting at frame 0; no held-out trajectories. Reward **0.775847**, failed cases 0. Neural initialization seed 20261021; sampling seed 20261024; checkpoint SHA256 `64257b71008a23332418862181c0ae9dd80dfd31ee9f9227fc60a44af4bc0b7b`. Same model as the corresponding quick-validation experiment; changed factor: expanded validation sample only. + +| Dataset | VRMSE | +|---|---:| +| ape2d/burgers | 0.007568 | +| ape2d/decay_turb | 0.000289 | +| ape2d/diff | 0.000003 | +| ape2d/fisher | 0.000005 | +| ape2d/gs_alpha | 0.003239 | +| ape2d/gs_beta | 0.004901 | +| ape2d/gs_delta | 0.022624 | +| ape2d/gs_epsilon | 0.000889 | +| ape2d/gs_gamma | 0.062780 | +| ape2d/gs_iota | 0.006619 | +| ape2d/gs_kappa | 0.008764 | +| ape2d/gs_theta | 0.019424 | +| ape2d/kdv | 0.024675 | +| ape2d/kolm_flow | 0.011662 | +| ape2d/ks | 0.000024 | +| ape2d/sh | 0.000005 | +| pdearena/navier_stokes_2d | 0.000081 | +| well/active_matter | 0.089485 | +| well/turbulent_radiative_layer_2D | 0.504640 | + +Exact reuse protocol for a shared-neural change: all physical assets/configuration match E018. Parsed per-case logs verify552 complete corpus/smoke physical rollouts and24 complete active rollouts; their576 outputs are independent of neural weights. The nine neural radiative-layer outputs were replayed in this model’s quick validation, with exact context equality to full inputs. Reuse these verified outputs and score all585 validation trajectories together. Per-case physical coverage is retained in full_physical_coverage.json. + +Outcome: recorded full validation for audit and comparison; no automatic comparison against the distinct quick-validation sample. + +## E023 — shared spatial-mean forecasting branch + +Hypothesis: remaining radiative-layer mean-pressure drift can be predicted from four-frame global statistics and metadata while the shared autoregressive operator handles spatial structure. Train one common MLP across all19 datasets; every branch will be evaluated on every inference case. No dataset-specific checkpoint selection. Random initialization seed20261028; CPU-only, two threads, batch512, 12000 AdamW updates, cosine learning rate0.0005, half windows start0 and half random, horizons1–30 capped by available train frames, group probabilities0.1/0.1/0.1/0.7. Loss is smooth absolute mean error normalized by target spatial variance; targets never enter model inputs. Uses only the10115 audited training records. Spatial moments derived with float64 accumulation. No pretrained assets. + +Changed factor: add a shared horizon-conditioned mean predictor to the fixed autoregressive spatial forecast. CPU training is concurrent with the one-GPU 16-step experiment. This is distinct from the earlier untrained E021 residual-mean prototype. Validation and checkpoint selection pending. No package change at preparation. + +## E023a — validation mean-branch checkpoint and blend comparison + +Changed factors: shared mean-branch checkpoint at updates2000/6000/12000 and fixed blend0/.25/.5/.75/1. Exact spatial-MSE decomposition on the nine radiative-layer VALID trajectories, keeping the same global2000 spatial prediction. These are validation selection results, not training. Other dataset VRMSE unchanged by the composite physical branch, not reevaluated here. All mean-model weights were randomly initialized here with seed20261028, shared across all19 datasets. + +| Update | Blend | Radiative-layer VRMSE | Training checkpoint SHA256 | +|---:|---:|---:|---| +| 2000 | 0.0 | 0.50464012 | `badacb4c2f94a501aa92926036494dc9aa5687955c10185dd2e854cd27c80b01` | +| 2000 | 0.25 | 0.48902082 | `badacb4c2f94a501aa92926036494dc9aa5687955c10185dd2e854cd27c80b01` | +| 2000 | 0.5 | 0.48371851 | `badacb4c2f94a501aa92926036494dc9aa5687955c10185dd2e854cd27c80b01` | +| 2000 | 0.75 | 0.48967327 | `badacb4c2f94a501aa92926036494dc9aa5687955c10185dd2e854cd27c80b01` | +| 2000 | 1.0 | 0.50368029 | `badacb4c2f94a501aa92926036494dc9aa5687955c10185dd2e854cd27c80b01` | +| 6000 | 0.0 | 0.50464012 | `23c0ccd4d870f645a506c1d03389a1dc68a5bdec98e7c5db2452af7b8534cf45` | +| 6000 | 0.25 | 0.49150598 | `23c0ccd4d870f645a506c1d03389a1dc68a5bdec98e7c5db2452af7b8534cf45` | +| 6000 | 0.5 | 0.48589594 | `23c0ccd4d870f645a506c1d03389a1dc68a5bdec98e7c5db2452af7b8534cf45` | +| 6000 | 0.75 | 0.48943812 | `23c0ccd4d870f645a506c1d03389a1dc68a5bdec98e7c5db2452af7b8534cf45` | +| 6000 | 1.0 | 0.50039246 | `23c0ccd4d870f645a506c1d03389a1dc68a5bdec98e7c5db2452af7b8534cf45` | +| 12000 | 0.0 | 0.50464012 | `966bbd7fbba235780d5d92d61715526f643d45192821195ef2dc5a322a5d1708` | +| 12000 | 0.25 | 0.48902526 | `966bbd7fbba235780d5d92d61715526f643d45192821195ef2dc5a322a5d1708` | +| 12000 | 0.5 | 0.48202704 | `966bbd7fbba235780d5d92d61715526f643d45192821195ef2dc5a322a5d1708` | +| 12000 | 0.75 | 0.48522405 | `966bbd7fbba235780d5d92d61715526f643d45192821195ef2dc5a322a5d1708` | +| 12000 | 1.0 | 0.49632276 | `966bbd7fbba235780d5d92d61715526f643d45192821195ef2dc5a322a5d1708` | + +Outcome: select update12000, blend0.5; all other tested choices are inferior. Full mean replacement is consistently worse than a partial blend. Actual float32 composite-package replay and determinism checks are required before publication; analytical score alone is not published. + +## E022 — fixed hidden-state quadrature +- Hypothesis / changed factor: Integrate three fixed hidden-angular-state quadrature nodes after the four-frame physical encoder, using one common neural model and identical fixed physical parameters. Nodes share all common computations; no separately trained specialists. Seed20261026, phase scale0.0001, equal weights, observedF0/F2 unchanged, F4 positivity preserved. Eight train trajectories supported this choice; larger perturbations were rejected. Rerun all twelve active validation cases, all30 physical steps; reuse sixty-nine matching non-active outputs. Any validated shared-neural progress during the replay is retained as documented in neural_rebase.json. No inference-time fitting. Inherited neural seeds/checkpoint in model_manifest.json. +- Seed: 20261024. +- Checkpoint SHA256: `64257b71008a23332418862181c0ae9dd80dfd31ee9f9227fc60a44af4bc0b7b`. +- Runtime code SHA256: `def27fe183c189d25508bcde6a013f2f6560b6b7d68526b782530bd4b1d7c730`. +- Validation: fixed 81-case subset; reward **0.807374**, failed cases 0. + +| Dataset | VRMSE | +|---|---:| +| ape2d/burgers | 0.006413 | +| ape2d/decay_turb | 0.000381 | +| ape2d/diff | 0.000003 | +| ape2d/fisher | 0.000003 | +| ape2d/gs_alpha | 0.003095 | +| ape2d/gs_beta | 0.004740 | +| ape2d/gs_delta | 0.019250 | +| ape2d/gs_epsilon | 0.001366 | +| ape2d/gs_gamma | 0.049313 | +| ape2d/gs_iota | 0.001785 | +| ape2d/gs_kappa | 0.004855 | +| ape2d/gs_theta | 0.004678 | +| ape2d/kdv | 0.016728 | +| ape2d/kolm_flow | 0.008926 | +| ape2d/ks | 0.000039 | +| ape2d/sh | 0.000004 | +| pdearena/navier_stokes_2d | 0.000083 | +| well/active_matter | 0.040601 | +| well/turbulent_radiative_layer_2D | 0.504640 | + +Outcome: improvement; published atomically. + +## E023 — shared mean forecast, composite replay +- Hypothesis / changed factor: Add one shared horizon-conditioned spatial-mean forecasting branch to the common autoregressive model. All19 datasets trained together from random initialization seed20261028; two CPU threads, batch512, 12000 total updates, selected update12000, blend0.5. Inputs are four context means and variances plus metadata and horizon; the same branch is evaluated on every case. Physical updates remain authoritative. Compare updates2000/6000/12000 and blends0/.25/.5/.75/1 on the nine valid neural cases; all analytical results, including regressions, are retained in mean_branch_v1/validation/results.json and the ledger. Replay the complete candidate on nine neural validation cases, reuse72 identical physical outputs from the documented parent, then exact determinism and novel-grid checks. Auxiliary checkpoint hash and source are in model_manifest.json. +- Seed: 20261024. +- Checkpoint SHA256: `64257b71008a23332418862181c0ae9dd80dfd31ee9f9227fc60a44af4bc0b7b`. +- Runtime code SHA256: `79792621208d875ac021e5d2697bfbe1ac5bdd40b4c046982806e4fc785930a9`. +- Validation: fixed 81-case subset; reward **0.809033**, failed cases 0. + +| Dataset | VRMSE | +|---|---:| +| ape2d/burgers | 0.006413 | +| ape2d/decay_turb | 0.000381 | +| ape2d/diff | 0.000003 | +| ape2d/fisher | 0.000003 | +| ape2d/gs_alpha | 0.003095 | +| ape2d/gs_beta | 0.004740 | +| ape2d/gs_delta | 0.019250 | +| ape2d/gs_epsilon | 0.001366 | +| ape2d/gs_gamma | 0.049313 | +| ape2d/gs_iota | 0.001785 | +| ape2d/gs_kappa | 0.004855 | +| ape2d/gs_theta | 0.004678 | +| ape2d/kdv | 0.016728 | +| ape2d/kolm_flow | 0.008926 | +| ape2d/ks | 0.000039 | +| ape2d/sh | 0.000004 | +| pdearena/navier_stokes_2d | 0.000083 | +| well/active_matter | 0.040601 | +| well/turbulent_radiative_layer_2D | 0.482027 | + +Outcome: improvement; published atomically. + +## E019 — longer autoregressive training, update 1000, shrink +- Hypothesis / changed factor: Continue the validation-selected shared model after phase5 update2000. Preserve its architecture and fixed physical operators. Sixteen-step fully backpropagated autoregressive loss, capped at ten steps for the shorter Arena trajectories; batch6, lr0.00005 cosine, native rectangular grids, input noise0.01, group sampling probabilities0.05/0.075/0.075/0.8. Sampling seed20261025; inherited initialization and any global-parameter seed are in phase6/lineage.json. Fixed profile shrinkage coefficient 0.75; any train-selected pressure schedule is preserved in config. Rerun nine neural validation cases; reuse seventy-two matching physical outputs with exact source in physical_cache_source.json. +- Seed: 20261025. +- Checkpoint SHA256: `63077f85913445ad106cd0005c404f053416c65c5a52adb2440f49b37be827c6`. +- Runtime code SHA256: `79792621208d875ac021e5d2697bfbe1ac5bdd40b4c046982806e4fc785930a9`. +- Validation: fixed 81-case subset; reward **0.809649**, failed cases 0. + +| Dataset | VRMSE | +|---|---:| +| ape2d/burgers | 0.006413 | +| ape2d/decay_turb | 0.000381 | +| ape2d/diff | 0.000003 | +| ape2d/fisher | 0.000003 | +| ape2d/gs_alpha | 0.003095 | +| ape2d/gs_beta | 0.004740 | +| ape2d/gs_delta | 0.019250 | +| ape2d/gs_epsilon | 0.001366 | +| ape2d/gs_gamma | 0.049313 | +| ape2d/gs_iota | 0.001785 | +| ape2d/gs_kappa | 0.004855 | +| ape2d/gs_theta | 0.004678 | +| ape2d/kdv | 0.016728 | +| ape2d/kolm_flow | 0.008926 | +| ape2d/ks | 0.000039 | +| ape2d/sh | 0.000004 | +| pdearena/navier_stokes_2d | 0.000083 | +| well/active_matter | 0.040601 | +| well/turbulent_radiative_layer_2D | 0.473885 | + +Outcome: improvement; published atomically. + +## E019 — longer autoregressive training, update 1000, no_shrink +- Hypothesis / changed factor: Continue the validation-selected shared model after phase5 update2000. Preserve its architecture and fixed physical operators. Sixteen-step fully backpropagated autoregressive loss, capped at ten steps for the shorter Arena trajectories; batch6, lr0.00005 cosine, native rectangular grids, input noise0.01, group sampling probabilities0.05/0.075/0.075/0.8. Sampling seed20261025; inherited initialization and any global-parameter seed are in phase6/lineage.json. Fixed profile shrinkage coefficient 0.0; any train-selected pressure schedule is preserved in config. Rerun nine neural validation cases; reuse seventy-two matching physical outputs with exact source in physical_cache_source.json. +- Seed: 20261025. +- Checkpoint SHA256: `63077f85913445ad106cd0005c404f053416c65c5a52adb2440f49b37be827c6`. +- Runtime code SHA256: `e7dd6ac71780c453f0a23e995e48d0c94ad68af36df21c2d8993fb7ba914c8a7`. +- Validation: fixed 81-case subset; reward **0.809341**, failed cases 0. + +| Dataset | VRMSE | +|---|---:| +| ape2d/burgers | 0.006413 | +| ape2d/decay_turb | 0.000381 | +| ape2d/diff | 0.000003 | +| ape2d/fisher | 0.000003 | +| ape2d/gs_alpha | 0.003095 | +| ape2d/gs_beta | 0.004740 | +| ape2d/gs_delta | 0.019250 | +| ape2d/gs_epsilon | 0.001366 | +| ape2d/gs_gamma | 0.049313 | +| ape2d/gs_iota | 0.001785 | +| ape2d/gs_kappa | 0.004855 | +| ape2d/gs_theta | 0.004678 | +| ape2d/kdv | 0.016728 | +| ape2d/kolm_flow | 0.008926 | +| ape2d/ks | 0.000039 | +| ape2d/sh | 0.000004 | +| pdearena/navier_stokes_2d | 0.000083 | +| well/active_matter | 0.040601 | +| well/turbulent_radiative_layer_2D | 0.477935 | + +Outcome: did not improve validation reward; retained current package. + +## E024 — spatial-profile conditioned shared mean branch + +Hypothesis: four-frame channel means and variances omit thermal-layer geometry; coarse profiles along each axis may predict global mean drift more accurately. Changed factor: add eight-bin spatial marginal profiles for both axes, all channels and all four context frames, to the same shared horizon-conditioned MLP. Profiles are centered by context means and normalized by context standard deviations. Random initialization seed20261029; otherwise same shared19-dataset training distribution and12000-update schedule as E023. CPU-only, two threads, no extra GPU. Train data membership audited before deriving profiles; float64 averaging followed by float32 storage. Feature parity between training-cache input and inference from raw TRAIN context passed (feature_checks.json). All parameters initialized from scratch; no pretrained assets. + +Validation pending. Compare against the raw spatial forecast from the currently selected phase6 update1000, obtained by setting only the old mean blend to zero and replaying nine valid contexts. The final candidate, if selected, will replace the existing shared mean branch rather than adding a dataset-specific specialist. No publication from training loss. + +## E024a — profile-branch validation selection + +Changed factors: profile-branch checkpoint2000/6000/12000 and fixed mean blend0/.25/.5/.75/1. Same9 valid radiative-layer cases and phase6 update1000 spatial forecast; the old mean branch was disabled for this ablation replay. Other dataset VRMSE not reevaluated at this selection stage. Shared random initialization seed20261029. + +| Update | Blend | Radiative-layer VRMSE | Training checkpoint SHA256 | +|---:|---:|---:|---| +| 2000 | 0.0 | 0.47627939 | `e9409e9f47aa36cd88ad7baf9ba736fa759d68bdfc6e3afae18aa018e2d90b0d` | +| 2000 | 0.25 | 0.47072551 | `e9409e9f47aa36cd88ad7baf9ba736fa759d68bdfc6e3afae18aa018e2d90b0d` | +| 2000 | 0.5 | 0.47161600 | `e9409e9f47aa36cd88ad7baf9ba736fa759d68bdfc6e3afae18aa018e2d90b0d` | +| 2000 | 0.75 | 0.47837804 | `e9409e9f47aa36cd88ad7baf9ba736fa759d68bdfc6e3afae18aa018e2d90b0d` | +| 2000 | 1.0 | 0.48981324 | `e9409e9f47aa36cd88ad7baf9ba736fa759d68bdfc6e3afae18aa018e2d90b0d` | +| 6000 | 0.0 | 0.47627939 | `277eb5b8ad2e959d77d56ed2ad765b7d1074dbe9929cb1380a637cc5275207b5` | +| 6000 | 0.25 | 0.47073488 | `277eb5b8ad2e959d77d56ed2ad765b7d1074dbe9929cb1380a637cc5275207b5` | +| 6000 | 0.5 | 0.46949443 | `277eb5b8ad2e959d77d56ed2ad765b7d1074dbe9929cb1380a637cc5275207b5` | +| 6000 | 0.75 | 0.47282608 | `277eb5b8ad2e959d77d56ed2ad765b7d1074dbe9929cb1380a637cc5275207b5` | +| 6000 | 1.0 | 0.48034141 | `277eb5b8ad2e959d77d56ed2ad765b7d1074dbe9929cb1380a637cc5275207b5` | +| 12000 | 0.0 | 0.47627939 | `35ca12ee9f289fa2bb62c4010aaf8677f9f1ad01e600383d82e4a85400a801e9` | +| 12000 | 0.25 | 0.47050116 | `35ca12ee9f289fa2bb62c4010aaf8677f9f1ad01e600383d82e4a85400a801e9` | +| 12000 | 0.5 | 0.46970411 | `35ca12ee9f289fa2bb62c4010aaf8677f9f1ad01e600383d82e4a85400a801e9` | +| 12000 | 0.75 | 0.47404605 | `35ca12ee9f289fa2bb62c4010aaf8677f9f1ad01e600383d82e4a85400a801e9` | +| 12000 | 1.0 | 0.48293819 | `35ca12ee9f289fa2bb62c4010aaf8677f9f1ad01e600383d82e4a85400a801e9` | + +Outcome: update6000/blend0.5 selected at0.46949443, versus0.47388509 with E023 and0.47627894 without any mean adjustment. Additional training to12000 improved training loss but slightly worsened validation. Actual composite replay and exact contract checks are running before any publication. + +## E024 — profile-conditioned shared mean forecast, composite replay +- Hypothesis / changed factor: Replace the shared horizon-conditioned spatial-mean forecasting branch with a profile-conditioned branch to the common autoregressive model. All19 datasets trained together from random initialization seed20261029; two CPU threads, batch512, 12000 total updates, selected update6000, blend0.5. Inputs are four context means, variances, and eight-bin spatial profiles on both axes, plus metadata and horizon; the same branch is evaluated on every case. Physical updates remain authoritative. Compare updates2000/6000/12000 and blends0/.25/.5/.75/1 on the nine valid neural cases; all analytical results, including regressions, are retained in profile_mean_v1/validation/results.json and the ledger. Replay the complete candidate on nine neural validation cases, reuse72 identical physical outputs from the documented parent, then exact determinism and novel-grid checks. Auxiliary checkpoint hash and source are in model_manifest.json. +- Seed: 20261025. +- Checkpoint SHA256: `63077f85913445ad106cd0005c404f053416c65c5a52adb2440f49b37be827c6`. +- Runtime code SHA256: `8dc8554c96b10cffe81e8707063febceb81c18933dd345ac0dfaa329237377d6`. +- Validation: fixed 81-case subset; reward **0.809986**, failed cases 0. + +| Dataset | VRMSE | +|---|---:| +| ape2d/burgers | 0.006413 | +| ape2d/decay_turb | 0.000381 | +| ape2d/diff | 0.000003 | +| ape2d/fisher | 0.000003 | +| ape2d/gs_alpha | 0.003095 | +| ape2d/gs_beta | 0.004740 | +| ape2d/gs_delta | 0.019250 | +| ape2d/gs_epsilon | 0.001366 | +| ape2d/gs_gamma | 0.049313 | +| ape2d/gs_iota | 0.001785 | +| ape2d/gs_kappa | 0.004855 | +| ape2d/gs_theta | 0.004678 | +| ape2d/kdv | 0.016728 | +| ape2d/kolm_flow | 0.008926 | +| ape2d/ks | 0.000039 | +| ape2d/sh | 0.000004 | +| pdearena/navier_stokes_2d | 0.000083 | +| well/active_matter | 0.040601 | +| well/turbulent_radiative_layer_2D | 0.469494 | + +Outcome: improvement; published atomically. + +## E025 — jointly forecast spatial means and coarse profiles + +Hypothesis: remaining broad thermal-layer structure errors require a forecast of spatial profiles, not only a corrected global mean. Changed factor: shared MLP predicts both global channel means and centered eight-bin marginal profiles on both axes. Enforce agreement between the predicted profile means and global means. Train across all19 datasets from random initialization seed20261030 with the same audited train statistics/profiles,12000 CPU-only updates, batch512, two threads; loss0.25 normalized mean error +0.75 normalized coarse-profile error, with the same smooth absolute form. No new data or pretrained assets. Every branch remains shared and evaluated on every case. + +Inference candidate will interpolate centered coarse-profile residuals with periodic or clamped edges according to metadata, and blend them into the common autoregressive forecast. Physical outputs remain authoritative. Uniform and spatial correction coefficients will be selected on validation, followed by actual package replay and exact determinism checks. Initialization shape, finite-output, zero-correction identity, and mean/profile consistency checks passed on an audited TRAIN context. Validation pending; no publication from training loss. + +## E025a — joint mean/profile validation selection + +Changed factors: joint statistic checkpoint2000/6000/12000, mean correction0/.5/1 and profile correction0/.25/.5/1. Same9 VALID radiative-layer trajectories and phase6 update1000 raw spatial forecasts. MSE decomposition includes the uniform correction, centered profile correction, and all cross terms; actual float32 replay is required next. Shared random seed20261030. Other dataset VRMSE not reevaluated in this selection stage. + +| Update | Mean blend | Profile blend | Radiative-layer VRMSE | Training checkpoint SHA256 | +|---:|---:|---:|---:|---| +| 2000 | 0.0 | 0.0 | 0.47627939 | `41b75c10287fe9d72930cee5710078584a93995b8f778d379463590a08606946` | +| 2000 | 0.0 | 0.25 | 0.47635292 | `41b75c10287fe9d72930cee5710078584a93995b8f778d379463590a08606946` | +| 2000 | 0.0 | 0.5 | 0.47958239 | `41b75c10287fe9d72930cee5710078584a93995b8f778d379463590a08606946` | +| 2000 | 0.0 | 1.0 | 0.49471505 | `41b75c10287fe9d72930cee5710078584a93995b8f778d379463590a08606946` | +| 2000 | 0.5 | 0.0 | 0.47005735 | `41b75c10287fe9d72930cee5710078584a93995b8f778d379463590a08606946` | +| 2000 | 0.5 | 0.25 | 0.47010562 | `41b75c10287fe9d72930cee5710078584a93995b8f778d379463590a08606946` | +| 2000 | 0.5 | 0.5 | 0.47337008 | `41b75c10287fe9d72930cee5710078584a93995b8f778d379463590a08606946` | +| 2000 | 0.5 | 1.0 | 0.48871343 | `41b75c10287fe9d72930cee5710078584a93995b8f778d379463590a08606946` | +| 2000 | 1.0 | 0.0 | 0.48430118 | `41b75c10287fe9d72930cee5710078584a93995b8f778d379463590a08606946` | +| 2000 | 1.0 | 0.25 | 0.48426968 | `41b75c10287fe9d72930cee5710078584a93995b8f778d379463590a08606946` | +| 2000 | 1.0 | 0.5 | 0.48736599 | `41b75c10287fe9d72930cee5710078584a93995b8f778d379463590a08606946` | +| 2000 | 1.0 | 1.0 | 0.50220535 | `41b75c10287fe9d72930cee5710078584a93995b8f778d379463590a08606946` | +| 6000 | 0.0 | 0.0 | 0.47627939 | `da88489f1d47caf35fb6ce42372af4de5d94e481b0c3a2cca498a6312de3cc3e` | +| 6000 | 0.0 | 0.25 | 0.47518010 | `da88489f1d47caf35fb6ce42372af4de5d94e481b0c3a2cca498a6312de3cc3e` | +| 6000 | 0.0 | 0.5 | 0.47612881 | `da88489f1d47caf35fb6ce42372af4de5d94e481b0c3a2cca498a6312de3cc3e` | +| 6000 | 0.0 | 1.0 | 0.48395044 | `da88489f1d47caf35fb6ce42372af4de5d94e481b0c3a2cca498a6312de3cc3e` | +| 6000 | 0.5 | 0.0 | 0.46912443 | `da88489f1d47caf35fb6ce42372af4de5d94e481b0c3a2cca498a6312de3cc3e` | +| 6000 | 0.5 | 0.25 | 0.46794480 | `da88489f1d47caf35fb6ce42372af4de5d94e481b0c3a2cca498a6312de3cc3e` | +| 6000 | 0.5 | 0.5 | 0.46886089 | `da88489f1d47caf35fb6ce42372af4de5d94e481b0c3a2cca498a6312de3cc3e` | +| 6000 | 0.5 | 1.0 | 0.47675092 | `da88489f1d47caf35fb6ce42372af4de5d94e481b0c3a2cca498a6312de3cc3e` | +| 6000 | 1.0 | 0.0 | 0.47781927 | `da88489f1d47caf35fb6ce42372af4de5d94e481b0c3a2cca498a6312de3cc3e` | +| 6000 | 1.0 | 0.25 | 0.47659139 | `da88489f1d47caf35fb6ce42372af4de5d94e481b0c3a2cca498a6312de3cc3e` | +| 6000 | 1.0 | 0.5 | 0.47738680 | `da88489f1d47caf35fb6ce42372af4de5d94e481b0c3a2cca498a6312de3cc3e` | +| 6000 | 1.0 | 1.0 | 0.48486302 | `da88489f1d47caf35fb6ce42372af4de5d94e481b0c3a2cca498a6312de3cc3e` | +| 12000 | 0.0 | 0.0 | 0.47627939 | `c314a10729fb3e715b8042be2a35d27bc7bc7d19ae49f3b8dda090076af9e916` | +| 12000 | 0.0 | 0.25 | 0.47462923 | `c314a10729fb3e715b8042be2a35d27bc7bc7d19ae49f3b8dda090076af9e916` | +| 12000 | 0.0 | 0.5 | 0.47500679 | `c314a10729fb3e715b8042be2a35d27bc7bc7d19ae49f3b8dda090076af9e916` | +| 12000 | 0.0 | 1.0 | 0.48171365 | `c314a10729fb3e715b8042be2a35d27bc7bc7d19ae49f3b8dda090076af9e916` | +| 12000 | 0.5 | 0.0 | 0.46724263 | `c314a10729fb3e715b8042be2a35d27bc7bc7d19ae49f3b8dda090076af9e916` | +| 12000 | 0.5 | 0.25 | 0.46555366 | `c314a10729fb3e715b8042be2a35d27bc7bc7d19ae49f3b8dda090076af9e916` | +| 12000 | 0.5 | 0.5 | 0.46594474 | `c314a10729fb3e715b8042be2a35d27bc7bc7d19ae49f3b8dda090076af9e916` | +| 12000 | 0.5 | 1.0 | 0.47282504 | `c314a10729fb3e715b8042be2a35d27bc7bc7d19ae49f3b8dda090076af9e916` | +| 12000 | 1.0 | 0.0 | 0.47431715 | `c314a10729fb3e715b8042be2a35d27bc7bc7d19ae49f3b8dda090076af9e916` | +| 12000 | 1.0 | 0.25 | 0.47263591 | `c314a10729fb3e715b8042be2a35d27bc7bc7d19ae49f3b8dda090076af9e916` | +| 12000 | 1.0 | 0.5 | 0.47296605 | `c314a10729fb3e715b8042be2a35d27bc7bc7d19ae49f3b8dda090076af9e916` | +| 12000 | 1.0 | 1.0 | 0.47954663 | `c314a10729fb3e715b8042be2a35d27bc7bc7d19ae49f3b8dda090076af9e916` | + +Outcome: select update12000, mean blend0.5, profile blend0.25, VRMSE0.46555366 versus E0240.46949440. At update2000 any profile correction worsened the best mean-only result; profile prediction benefited from further training. Larger profile blends were inferior. Actual replay and contract checks pending; no analytical-only publication. + +## E025 — joint shared mean/profile forecast, composite replay +- Hypothesis / changed factor: Replace the shared horizon-conditioned spatial-mean forecasting branch with a joint mean-and-profile forecast branch to the common autoregressive model. All19 datasets trained together from random initialization seed20261030; two CPU threads, batch512, 12000 total updates, selected update12000, mean blend0.5, profile blend0.25. Inputs are four context means, variances, and eight-bin spatial profiles on both axes, plus metadata and horizon; the same branch is evaluated on every case. Physical updates remain authoritative. Compare updates2000/6000/12000, mean blends0/.5/1, and profile blends0/.25/.5/1 on the nine valid neural cases; all analytical results, including regressions, are retained in profile_forecast_v1/validation/results.json and the ledger. Replay the complete candidate on nine neural validation cases, reuse72 identical physical outputs from the documented parent, then exact determinism and novel-grid checks. Auxiliary checkpoint hash and source are in model_manifest.json. +- Seed: 20261025. +- Checkpoint SHA256: `63077f85913445ad106cd0005c404f053416c65c5a52adb2440f49b37be827c6`. +- Runtime code SHA256: `67752d3d72ef3e1cf10485e57abe77cdbc9e99eb48ccb69ce72c8d12d6ab62bd`. +- Validation: fixed 81-case subset; reward **0.810291**, failed cases 0. + +| Dataset | VRMSE | +|---|---:| +| ape2d/burgers | 0.006413 | +| ape2d/decay_turb | 0.000381 | +| ape2d/diff | 0.000003 | +| ape2d/fisher | 0.000003 | +| ape2d/gs_alpha | 0.003095 | +| ape2d/gs_beta | 0.004740 | +| ape2d/gs_delta | 0.019250 | +| ape2d/gs_epsilon | 0.001366 | +| ape2d/gs_gamma | 0.049313 | +| ape2d/gs_iota | 0.001785 | +| ape2d/gs_kappa | 0.004855 | +| ape2d/gs_theta | 0.004678 | +| ape2d/kdv | 0.016728 | +| ape2d/kolm_flow | 0.008926 | +| ape2d/ks | 0.000039 | +| ape2d/sh | 0.000004 | +| pdearena/navier_stokes_2d | 0.000083 | +| well/active_matter | 0.040601 | +| well/turbulent_radiative_layer_2D | 0.465554 | + +Outcome: improvement; published atomically. + +## E026 — sixteen-bin shared statistical forecast + +Hypothesis: eight-bin profiles smooth thin thermal interfaces; sixteen bins may improve the shared coarse forecast. Changed factor: double the input and output profile resolution on both axes from8 to16 bins, retaining one shared MLP across all19 datasets. Random initialization seed20261031. Same12000-update CPU-only training schedule, two threads, group sampling, loss weighting and horizon distribution as E025; the wider input/output layers increase parameter count. Train-only profile cache membership audited before reading, with float64 averaging. Source snapshot and train/inference feature-parity checks retained in profile16_forecast_v1. No pretrained assets. + +Validation pending; compare on the same9 valid thermal trajectories and the same phase6 update1000 raw spatial forecast. No package change before actual replay and exact contract checks. + +## E027 — pressure schedule after the learned profile decoder + +Hypothesis: the previous pressure uncertainty schedule may no longer be optimal after adding a shared profile forecast. Changed factors: pressure shrink strength0/.25/.5/.75/1, ramp start0/5/10/15 and fixed end30; zero-strength baseline evaluated once. Keep profile shrink0.75 and the trained mean/profile branch fixed. Use nine audited TRAIN trajectories, one per thermal cooling parameter, for schedule selection. No validation targets enter this choice and no new weights are trained. Raw shared CNN predictions replayed with both statistical corrections and regularization disabled, then fixed candidate decoders applied to the same outputs. Inherited neural sampling seed20261025, auxiliary seed20261030; base checkpoint `63077f85913445ad106cd0005c404f053416c65c5a52adb2440f49b37be827c6`, auxiliary checkpoint `56b7067dd85f4ba3aa13b34aafc87e1267cf7c14e7a898de9c50044b1f559c04`. Validation per dataset pending. + +## E026a — sixteen-bin validation selection + +Shared initialization seed20261031; same9 valid thermal trajectories and same phase6 update1000 raw spatial forecasts as E025. Changed checkpoint and fixed correction strengths. Other datasets not reevaluated at this stage. + +| Update | Mean blend | Profile blend | Radiative-layer VRMSE | Training checkpoint SHA256 | +|---:|---:|---:|---:|---| +| 2000 | 0.0 | 0.0 | 0.47627939 | `a9ba14c74680bd13117a9e9c85477489824833ab96ad48c8755dbe581951f79c` | +| 2000 | 0.0 | 0.25 | 0.47600559 | `a9ba14c74680bd13117a9e9c85477489824833ab96ad48c8755dbe581951f79c` | +| 2000 | 0.0 | 0.5 | 0.47978306 | `a9ba14c74680bd13117a9e9c85477489824833ab96ad48c8755dbe581951f79c` | +| 2000 | 0.0 | 1.0 | 0.49835827 | `a9ba14c74680bd13117a9e9c85477489824833ab96ad48c8755dbe581951f79c` | +| 2000 | 0.5 | 0.0 | 0.47140293 | `a9ba14c74680bd13117a9e9c85477489824833ab96ad48c8755dbe581951f79c` | +| 2000 | 0.5 | 0.25 | 0.47106825 | `a9ba14c74680bd13117a9e9c85477489824833ab96ad48c8755dbe581951f79c` | +| 2000 | 0.5 | 0.5 | 0.47484781 | `a9ba14c74680bd13117a9e9c85477489824833ab96ad48c8755dbe581951f79c` | +| 2000 | 0.5 | 1.0 | 0.49358365 | `a9ba14c74680bd13117a9e9c85477489824833ab96ad48c8755dbe581951f79c` | +| 2000 | 1.0 | 0.0 | 0.48622849 | `a9ba14c74680bd13117a9e9c85477489824833ab96ad48c8755dbe581951f79c` | +| 2000 | 1.0 | 0.25 | 0.48578095 | `a9ba14c74680bd13117a9e9c85477489824833ab96ad48c8755dbe581951f79c` | +| 2000 | 1.0 | 0.5 | 0.48932182 | `a9ba14c74680bd13117a9e9c85477489824833ab96ad48c8755dbe581951f79c` | +| 2000 | 1.0 | 1.0 | 0.50735469 | `a9ba14c74680bd13117a9e9c85477489824833ab96ad48c8755dbe581951f79c` | +| 6000 | 0.0 | 0.0 | 0.47627939 | `bdcfcc729a257d0aec15b8e7b2d37214f0f6e267245c4d6c359e0b6663534919` | +| 6000 | 0.0 | 0.25 | 0.47423524 | `bdcfcc729a257d0aec15b8e7b2d37214f0f6e267245c4d6c359e0b6663534919` | +| 6000 | 0.0 | 0.5 | 0.47528103 | `bdcfcc729a257d0aec15b8e7b2d37214f0f6e267245c4d6c359e0b6663534919` | +| 6000 | 0.0 | 1.0 | 0.48625053 | `bdcfcc729a257d0aec15b8e7b2d37214f0f6e267245c4d6c359e0b6663534919` | +| 6000 | 0.5 | 0.0 | 0.46620666 | `bdcfcc729a257d0aec15b8e7b2d37214f0f6e267245c4d6c359e0b6663534919` | +| 6000 | 0.5 | 0.25 | 0.46415542 | `bdcfcc729a257d0aec15b8e7b2d37214f0f6e267245c4d6c359e0b6663534919` | +| 6000 | 0.5 | 0.5 | 0.46526516 | `bdcfcc729a257d0aec15b8e7b2d37214f0f6e267245c4d6c359e0b6663534919` | +| 6000 | 0.5 | 1.0 | 0.47656498 | `bdcfcc729a257d0aec15b8e7b2d37214f0f6e267245c4d6c359e0b6663534919` | +| 6000 | 1.0 | 0.0 | 0.47363337 | `bdcfcc729a257d0aec15b8e7b2d37214f0f6e267245c4d6c359e0b6663534919` | +| 6000 | 1.0 | 0.25 | 0.47157736 | `bdcfcc729a257d0aec15b8e7b2d37214f0f6e267245c4d6c359e0b6663534919` | +| 6000 | 1.0 | 0.5 | 0.47258672 | `bdcfcc729a257d0aec15b8e7b2d37214f0f6e267245c4d6c359e0b6663534919` | +| 6000 | 1.0 | 1.0 | 0.48345739 | `bdcfcc729a257d0aec15b8e7b2d37214f0f6e267245c4d6c359e0b6663534919` | +| 12000 | 0.0 | 0.0 | 0.47627939 | `ef40c373b4bd0c8aa3239760ecc6982841db6644a79578c1cd5c5736daf286f2` | +| 12000 | 0.0 | 0.25 | 0.47413693 | `ef40c373b4bd0c8aa3239760ecc6982841db6644a79578c1cd5c5736daf286f2` | +| 12000 | 0.0 | 0.5 | 0.47468663 | `ef40c373b4bd0c8aa3239760ecc6982841db6644a79578c1cd5c5736daf286f2` | +| 12000 | 0.0 | 1.0 | 0.48361862 | `ef40c373b4bd0c8aa3239760ecc6982841db6644a79578c1cd5c5736daf286f2` | +| 12000 | 0.5 | 0.0 | 0.46656666 | `ef40c373b4bd0c8aa3239760ecc6982841db6644a79578c1cd5c5736daf286f2` | +| 12000 | 0.5 | 0.25 | 0.46436542 | `ef40c373b4bd0c8aa3239760ecc6982841db6644a79578c1cd5c5736daf286f2` | +| 12000 | 0.5 | 0.5 | 0.46493348 | `ef40c373b4bd0c8aa3239760ecc6982841db6644a79578c1cd5c5736daf286f2` | +| 12000 | 0.5 | 1.0 | 0.47413113 | `ef40c373b4bd0c8aa3239760ecc6982841db6644a79578c1cd5c5736daf286f2` | +| 12000 | 1.0 | 0.0 | 0.47745171 | `ef40c373b4bd0c8aa3239760ecc6982841db6644a79578c1cd5c5736daf286f2` | +| 12000 | 1.0 | 0.25 | 0.47524133 | `ef40c373b4bd0c8aa3239760ecc6982841db6644a79578c1cd5c5736daf286f2` | +| 12000 | 1.0 | 0.5 | 0.47569852 | `ef40c373b4bd0c8aa3239760ecc6982841db6644a79578c1cd5c5736daf286f2` | +| 12000 | 1.0 | 1.0 | 0.48441577 | `ef40c373b4bd0c8aa3239760ecc6982841db6644a79578c1cd5c5736daf286f2` | + +Outcome: select update6000, mean0.5/profile0.25, VRMSE0.46415542 versus eight-bin E0250.46555365. Additional training to12000 slightly worsened validation. Actual replay and contract checks pending. + +## E027a — training-only pressure schedule results + +No new learned weights or changed seed. Exact parent neural and auxiliary hashes are recorded in E027 and decoder_v1/parent.json. Nine audited TRAIN trajectories only; validation not yet evaluated. + +| Pressure strength | Ramp start | Training radiative-layer VRMSE | +|---:|---:|---:| +| 0.0 | 10 | 0.45035356 | +| 0.25 | 15 | 0.45038955 | +| 0.25 | 10 | 0.45050631 | +| 0.5 | 15 | 0.45065454 | +| 0.25 | 5 | 0.45075753 | +| 0.5 | 10 | 0.45097174 | +| 0.25 | 0 | 0.45108611 | +| 0.75 | 15 | 0.45114587 | +| 0.5 | 5 | 0.45158755 | +| 0.75 | 10 | 0.45174613 | +| 1.0 | 15 | 0.45185799 | +| 0.5 | 0 | 0.45240983 | +| 1.0 | 10 | 0.45282187 | +| 0.75 | 5 | 0.45283721 | +| 0.75 | 0 | 0.45431139 | +| 1.0 | 5 | 0.45449514 | +| 1.0 | 0 | 0.45677051 | + +Outcome: select zero additional pressure smoothing, training VRMSE0.45035356 versus0.45174613 for the inherited0.75/start10 schedule. The earlier pressure schedule helped older checkpoints but is a negative result for the current trained profile decoder. Validate this fixed choice after the sixteen-bin candidate finishes, preserving all latest shared weights. + +## E026 — sixteen-bin shared profile forecast, composite replay +- Hypothesis / changed factor: Replace the shared horizon-conditioned spatial-mean forecasting branch with a joint mean-and-profile forecast branch to the common autoregressive model. All19 datasets trained together from random initialization seed20261031; two CPU threads, batch512, 12000 total updates, selected update6000, mean blend0.5, profile blend0.25. Inputs are four context means, variances, and sixteen-bin spatial profiles on both axes, plus metadata and horizon; the same branch is evaluated on every case. Physical updates remain authoritative. Compare updates2000/6000/12000, mean blends0/.5/1, and profile blends0/.25/.5/1 on the nine valid neural cases; all analytical results, including regressions, are retained in profile16_forecast_v1/validation/results.json and the ledger. Replay the complete candidate on nine neural validation cases, reuse72 identical physical outputs from the documented parent, then exact determinism and novel-grid checks. Auxiliary checkpoint hash and source are in model_manifest.json. +- Seed: 20261025. +- Checkpoint SHA256: `63077f85913445ad106cd0005c404f053416c65c5a52adb2440f49b37be827c6`. +- Runtime code SHA256: `6d988acd1229ae39ec83992e389a01e05d197ab496ab79cbae92cb124f39ad16`. +- Validation: fixed 81-case subset; reward **0.810400**, failed cases 0. + +| Dataset | VRMSE | +|---|---:| +| ape2d/burgers | 0.006413 | +| ape2d/decay_turb | 0.000381 | +| ape2d/diff | 0.000003 | +| ape2d/fisher | 0.000003 | +| ape2d/gs_alpha | 0.003095 | +| ape2d/gs_beta | 0.004740 | +| ape2d/gs_delta | 0.019250 | +| ape2d/gs_epsilon | 0.001366 | +| ape2d/gs_gamma | 0.049313 | +| ape2d/gs_iota | 0.001785 | +| ape2d/gs_kappa | 0.004855 | +| ape2d/gs_theta | 0.004678 | +| ape2d/kdv | 0.016728 | +| ape2d/kolm_flow | 0.008926 | +| ape2d/ks | 0.000039 | +| ape2d/sh | 0.000004 | +| pdearena/navier_stokes_2d | 0.000083 | +| well/active_matter | 0.040601 | +| well/turbulent_radiative_layer_2D | 0.464155 | + +Outcome: improvement; published atomically. + +## E027 — updated pressure uncertainty schedule +- Hypothesis / changed factor: Replace the inherited pressure-smoothing schedule with train-selected strength0.0, start10, end30. Nine audited TRAIN trajectories selected this fixed schedule with the eight-bin profile decoder; validation then applies it to the latest selected shared weights, including any validated sixteen-bin branch. No new learned weights or inference-time fitting. Parent/checkpoint hashes and all train schedule results are recorded. Rerun nine neural validation cases; reuse72 identical physical outputs. Exact determinism checks before publication. +- Seed: 20261025. +- Checkpoint SHA256: `63077f85913445ad106cd0005c404f053416c65c5a52adb2440f49b37be827c6`. +- Runtime code SHA256: `6e1bf0b3ad3887096d1f9cba6a00fed3d9e03bcd8f7e7956ae8bbb856aa6f0b9`. +- Validation: fixed 81-case subset; reward **0.810428**, failed cases 0. + +| Dataset | VRMSE | +|---|---:| +| ape2d/burgers | 0.006413 | +| ape2d/decay_turb | 0.000381 | +| ape2d/diff | 0.000003 | +| ape2d/fisher | 0.000003 | +| ape2d/gs_alpha | 0.003095 | +| ape2d/gs_beta | 0.004740 | +| ape2d/gs_delta | 0.019250 | +| ape2d/gs_epsilon | 0.001366 | +| ape2d/gs_gamma | 0.049313 | +| ape2d/gs_iota | 0.001785 | +| ape2d/gs_kappa | 0.004855 | +| ape2d/gs_theta | 0.004678 | +| ape2d/kdv | 0.016728 | +| ape2d/kolm_flow | 0.008926 | +| ape2d/ks | 0.000039 | +| ape2d/sh | 0.000004 | +| pdearena/navier_stokes_2d | 0.000083 | +| well/active_matter | 0.040601 | +| well/turbulent_radiative_layer_2D | 0.463803 | + +Outcome: improvement; published atomically. + +## E028 — statistical correction inside the autoregressive loop + +Hypothesis: applying mean/profile corrections only after the rollout lets internal state drift contaminate later predictions. Changed factor: after each shared neural update, feed a fixed fraction of the precomputed mean/profile correction into the next autoregressive context. Forecast statistics still depend only on the original four frames and metadata; weights remain fixed. Test fractions0/.25/.5/1 on nine audited TRAIN trajectories; the final output decoder remains unchanged. Physical steps remain authoritative and their latent states are unaffected. No new learned weights. Inherited neural seed20261025, auxiliary seed20261031; shared neural checkpoint `63077f85913445ad106cd0005c404f053416c65c5a52adb2440f49b37be827c6`, auxiliary checkpoint `3f9e62adca11d1dc83c908b9bbc7da794b5ca7902ecec1401a1519d72b6cd1d2`. Validation pending. + +## E028 — autoregressive statistical feedback +- Hypothesis / changed factor: Feed fraction0.25 of the fixed shared mean/profile correction into each next neural autoregressive state. Final output correction remains unchanged. Statistics are forecast once from the four original context frames and metadata; parameters never change at inference. Train-only fractions0/.25/.5/1 selected this fixed strength on nine audited thermal trajectories. No new learned weights. Physical latent states are unaffected. Rerun nine valid neural cases and reuse72 complete physical outputs, then exact neural, unknown-grid, smoke and diffusion checks before publication. Parent weights and inherited neural/auxiliary seeds are in model_manifest.json and parent records. +- Seed: 20261025. +- Checkpoint SHA256: `63077f85913445ad106cd0005c404f053416c65c5a52adb2440f49b37be827c6`. +- Runtime code SHA256: `c05aa38ecb979b8d52316d1cf0a5c0b35cb542ab5c79c66f8c73cbe300ee4d9c`. +- Validation: fixed 81-case subset; reward **0.810000**, failed cases 0. + +| Dataset | VRMSE | +|---|---:| +| ape2d/burgers | 0.006413 | +| ape2d/decay_turb | 0.000381 | +| ape2d/diff | 0.000003 | +| ape2d/fisher | 0.000003 | +| ape2d/gs_alpha | 0.003095 | +| ape2d/gs_beta | 0.004740 | +| ape2d/gs_delta | 0.019250 | +| ape2d/gs_epsilon | 0.001366 | +| ape2d/gs_gamma | 0.049313 | +| ape2d/gs_iota | 0.001785 | +| ape2d/gs_kappa | 0.004855 | +| ape2d/gs_theta | 0.004678 | +| ape2d/kdv | 0.016728 | +| ape2d/kolm_flow | 0.008926 | +| ape2d/ks | 0.000039 | +| ape2d/sh | 0.000004 | +| pdearena/navier_stokes_2d | 0.000083 | +| well/active_matter | 0.040601 | +| well/turbulent_radiative_layer_2D | 0.469308 | + +Outcome: did not improve validation reward; retained current package. + +## E028a — training-only feedback strength + +Same inherited weights and seeds as E028; nine audited TRAIN trajectories only. Changed factor: fixed fraction of the existing output correction inserted into each next neural context. All physical branches retain their complete physical outputs. Validation per dataset pending. + +| Feedback fraction | Training radiative-layer VRMSE | Failed cases | +|---:|---:|---:| +| 0.0 | 0.45007325 | 0 | +| 0.25 | 0.44391940 | 0 | +| 0.5 | 0.44519505 | 0 | +| 1.0 | 0.44886765 | 0 | + +Outcome: select fraction0.25 at0.44391940 versus0.45007325 without feedback. Stronger feedback gives smaller gains; no new learned weights. Actual validation and exact contract checks running. + +## Full validation of quadrature_candidate + +All 585 validation trajectories, starting at frame 0; no held-out trajectories. Reward **0.776678**, failed cases 0. Neural initialization seed 20261021; sampling seed 20261024; checkpoint SHA256 `64257b71008a23332418862181c0ae9dd80dfd31ee9f9227fc60a44af4bc0b7b`. Same model as the corresponding quick-validation experiment; changed factor: expanded validation sample only. + +| Dataset | VRMSE | +|---|---:| +| ape2d/burgers | 0.007568 | +| ape2d/decay_turb | 0.000289 | +| ape2d/diff | 0.000003 | +| ape2d/fisher | 0.000005 | +| ape2d/gs_alpha | 0.003239 | +| ape2d/gs_beta | 0.004901 | +| ape2d/gs_delta | 0.022624 | +| ape2d/gs_epsilon | 0.000889 | +| ape2d/gs_gamma | 0.062780 | +| ape2d/gs_iota | 0.006619 | +| ape2d/gs_kappa | 0.008764 | +| ape2d/gs_theta | 0.019424 | +| ape2d/kdv | 0.024675 | +| ape2d/kolm_flow | 0.011662 | +| ape2d/ks | 0.000024 | +| ape2d/sh | 0.000005 | +| pdearena/navier_stokes_2d | 0.000081 | +| well/active_matter | 0.087454 | +| well/turbulent_radiative_layer_2D | 0.504640 | + +Expanded fixed state quadrature from12 to all24 active validation trajectories. Replayed the missing12, reused12 quick outputs only after exact context equality, and verified30/30 common physical steps for every active case. The552 corpus/smoke outputs are reused from global2000 full validation after exact physical asset/configuration equality checks and complete physical coverage. The nine neural outputs come from this exact package’s quick validation with matching inputs. All585 cases scored together; no held-out trajectories or inference caches. + +Outcome: recorded full validation for audit and comparison; no automatic comparison against the distinct quick-validation sample. + +## E019 — longer autoregressive training, update 2000, shrink +- Hypothesis / changed factor: Continue the validation-selected shared model after phase5 update2000. Preserve its architecture and fixed physical operators. Sixteen-step fully backpropagated autoregressive loss, capped at ten steps for the shorter Arena trajectories; batch6, lr0.00005 cosine, native rectangular grids, input noise0.01, group sampling probabilities0.05/0.075/0.075/0.8. Sampling seed20261025; inherited initialization and any global-parameter seed are in phase6/lineage.json. Fixed profile shrinkage coefficient 0.75; any train-selected pressure schedule is preserved in config. Rerun nine neural validation cases; reuse seventy-two matching physical outputs with exact source in physical_cache_source.json. +- Seed: 20261025. +- Checkpoint SHA256: `f2428e6dc68d46a87431091b096a2643398cf16b020e4f408af1debbea3c7b39`. +- Runtime code SHA256: `6e1bf0b3ad3887096d1f9cba6a00fed3d9e03bcd8f7e7956ae8bbb856aa6f0b9`. +- Validation: fixed 81-case subset; reward **0.811223**, failed cases 0. + +| Dataset | VRMSE | +|---|---:| +| ape2d/burgers | 0.006413 | +| ape2d/decay_turb | 0.000381 | +| ape2d/diff | 0.000003 | +| ape2d/fisher | 0.000003 | +| ape2d/gs_alpha | 0.003095 | +| ape2d/gs_beta | 0.004740 | +| ape2d/gs_delta | 0.019250 | +| ape2d/gs_epsilon | 0.001366 | +| ape2d/gs_gamma | 0.049313 | +| ape2d/gs_iota | 0.001785 | +| ape2d/gs_kappa | 0.004855 | +| ape2d/gs_theta | 0.004678 | +| ape2d/kdv | 0.016728 | +| ape2d/kolm_flow | 0.008926 | +| ape2d/ks | 0.000039 | +| ape2d/sh | 0.000004 | +| pdearena/navier_stokes_2d | 0.000083 | +| well/active_matter | 0.040601 | +| well/turbulent_radiative_layer_2D | 0.453721 | + +Outcome: improvement; published atomically. + +## E019 — longer autoregressive training, update 2000, no_shrink +- Hypothesis / changed factor: Continue the validation-selected shared model after phase5 update2000. Preserve its architecture and fixed physical operators. Sixteen-step fully backpropagated autoregressive loss, capped at ten steps for the shorter Arena trajectories; batch6, lr0.00005 cosine, native rectangular grids, input noise0.01, group sampling probabilities0.05/0.075/0.075/0.8. Sampling seed20261025; inherited initialization and any global-parameter seed are in phase6/lineage.json. Fixed profile shrinkage coefficient 0.0; any train-selected pressure schedule is preserved in config. Rerun nine neural validation cases; reuse seventy-two matching physical outputs with exact source in physical_cache_source.json. +- Seed: 20261025. +- Checkpoint SHA256: `f2428e6dc68d46a87431091b096a2643398cf16b020e4f408af1debbea3c7b39`. +- Runtime code SHA256: `f8c141326b7752d6baaf02c28f1669d7f2d29f17935105920c3443f2db164ff2`. +- Validation: fixed 81-case subset; reward **0.811195**, failed cases 0. + +| Dataset | VRMSE | +|---|---:| +| ape2d/burgers | 0.006413 | +| ape2d/decay_turb | 0.000381 | +| ape2d/diff | 0.000003 | +| ape2d/fisher | 0.000003 | +| ape2d/gs_alpha | 0.003095 | +| ape2d/gs_beta | 0.004740 | +| ape2d/gs_delta | 0.019250 | +| ape2d/gs_epsilon | 0.001366 | +| ape2d/gs_gamma | 0.049313 | +| ape2d/gs_iota | 0.001785 | +| ape2d/gs_kappa | 0.004855 | +| ape2d/gs_theta | 0.004678 | +| ape2d/kdv | 0.016728 | +| ape2d/kolm_flow | 0.008926 | +| ape2d/ks | 0.000039 | +| ape2d/sh | 0.000004 | +| pdearena/navier_stokes_2d | 0.000083 | +| well/active_matter | 0.040601 | +| well/turbulent_radiative_layer_2D | 0.454067 | + +Outcome: did not improve validation reward; retained current package. + +## Full validation of mean_forecast_candidate + +All 585 validation trajectories, starting at frame 0; no held-out trajectories. Reward **0.778337**, failed cases 0. Neural initialization seed 20261021; sampling seed 20261024; checkpoint SHA256 `64257b71008a23332418862181c0ae9dd80dfd31ee9f9227fc60a44af4bc0b7b`. Same model as the corresponding quick-validation experiment; changed factor: expanded validation sample only. + +| Dataset | VRMSE | +|---|---:| +| ape2d/burgers | 0.007568 | +| ape2d/decay_turb | 0.000289 | +| ape2d/diff | 0.000003 | +| ape2d/fisher | 0.000005 | +| ape2d/gs_alpha | 0.003239 | +| ape2d/gs_beta | 0.004901 | +| ape2d/gs_delta | 0.022624 | +| ape2d/gs_epsilon | 0.000889 | +| ape2d/gs_gamma | 0.062780 | +| ape2d/gs_iota | 0.006619 | +| ape2d/gs_kappa | 0.008764 | +| ape2d/gs_theta | 0.019424 | +| ape2d/kdv | 0.024675 | +| ape2d/kolm_flow | 0.011662 | +| ape2d/ks | 0.000024 | +| ape2d/sh | 0.000005 | +| pdearena/navier_stokes_2d | 0.000081 | +| well/active_matter | 0.087454 | +| well/turbulent_radiative_layer_2D | 0.482027 | + +Exact reuse protocol for a shared-neural change: all physical assets/configuration match /run-state/workspace/research/universal_v1/quadrature_candidate. The source per-case log audit verifies552 complete corpus/smoke physical rollouts and24 complete active rollouts; their576 outputs are independent of neural weights, including any mean-forecast branch. The nine neural radiative-layer outputs were replayed in this model’s quick validation, with exact context equality to full inputs. Reuse these verified outputs and score all585 validation trajectories together. Per-case physical coverage is retained in full_physical_coverage.json. + +Outcome: recorded full validation for audit and comparison; no automatic comparison against the distinct quick-validation sample. + +## Full validation of eval001000_shrink + +All 585 validation trajectories, starting at frame 0; no held-out trajectories. Reward **0.778953**, failed cases 0. Neural initialization seed 20261021; sampling seed 20261025; checkpoint SHA256 `63077f85913445ad106cd0005c404f053416c65c5a52adb2440f49b37be827c6`. Same model as the corresponding quick-validation experiment; changed factor: expanded validation sample only. + +| Dataset | VRMSE | +|---|---:| +| ape2d/burgers | 0.007568 | +| ape2d/decay_turb | 0.000289 | +| ape2d/diff | 0.000003 | +| ape2d/fisher | 0.000005 | +| ape2d/gs_alpha | 0.003239 | +| ape2d/gs_beta | 0.004901 | +| ape2d/gs_delta | 0.022624 | +| ape2d/gs_epsilon | 0.000889 | +| ape2d/gs_gamma | 0.062780 | +| ape2d/gs_iota | 0.006619 | +| ape2d/gs_kappa | 0.008764 | +| ape2d/gs_theta | 0.019424 | +| ape2d/kdv | 0.024675 | +| ape2d/kolm_flow | 0.011662 | +| ape2d/ks | 0.000024 | +| ape2d/sh | 0.000005 | +| pdearena/navier_stokes_2d | 0.000081 | +| well/active_matter | 0.087454 | +| well/turbulent_radiative_layer_2D | 0.473885 | + +Exact reuse protocol for a shared-neural change: all physical assets/configuration match /run-state/workspace/research/universal_v1/quadrature_candidate. The source per-case log audit verifies552 complete corpus/smoke physical rollouts and24 complete active rollouts; their576 outputs are independent of neural weights, including any mean-forecast branch. The nine neural radiative-layer outputs were replayed in this model’s quick validation, with exact context equality to full inputs. Reuse these verified outputs and score all585 validation trajectories together. Per-case physical coverage is retained in full_physical_coverage.json. + +Outcome: recorded full validation for audit and comparison; no automatic comparison against the distinct quick-validation sample. + +## Full validation of profile_mean_candidate + +All 585 validation trajectories, starting at frame 0; no held-out trajectories. Reward **0.779290**, failed cases 0. Neural initialization seed 20261021; sampling seed 20261025; checkpoint SHA256 `63077f85913445ad106cd0005c404f053416c65c5a52adb2440f49b37be827c6`. Same model as the corresponding quick-validation experiment; changed factor: expanded validation sample only. + +| Dataset | VRMSE | +|---|---:| +| ape2d/burgers | 0.007568 | +| ape2d/decay_turb | 0.000289 | +| ape2d/diff | 0.000003 | +| ape2d/fisher | 0.000005 | +| ape2d/gs_alpha | 0.003239 | +| ape2d/gs_beta | 0.004901 | +| ape2d/gs_delta | 0.022624 | +| ape2d/gs_epsilon | 0.000889 | +| ape2d/gs_gamma | 0.062780 | +| ape2d/gs_iota | 0.006619 | +| ape2d/gs_kappa | 0.008764 | +| ape2d/gs_theta | 0.019424 | +| ape2d/kdv | 0.024675 | +| ape2d/kolm_flow | 0.011662 | +| ape2d/ks | 0.000024 | +| ape2d/sh | 0.000005 | +| pdearena/navier_stokes_2d | 0.000081 | +| well/active_matter | 0.087454 | +| well/turbulent_radiative_layer_2D | 0.469494 | + +Exact reuse protocol for a shared-neural change: all physical assets/configuration match /run-state/workspace/research/universal_v1/quadrature_candidate. The source per-case log audit verifies552 complete corpus/smoke physical rollouts and24 complete active rollouts; their576 outputs are independent of neural weights, including any mean-forecast branch. The nine neural radiative-layer outputs were replayed in this model’s quick validation, with exact context equality to full inputs. Reuse these verified outputs and score all585 validation trajectories together. Per-case physical coverage is retained in full_physical_coverage.json. + +Outcome: recorded full validation for audit and comparison; no automatic comparison against the distinct quick-validation sample. + +## Full validation of eval002000_shrink + +All 585 validation trajectories, starting at frame 0; no held-out trajectories. Reward **0.780527**, failed cases 0. Neural initialization seed 20261021; sampling seed 20261025; checkpoint SHA256 `f2428e6dc68d46a87431091b096a2643398cf16b020e4f408af1debbea3c7b39`. Same model as the corresponding quick-validation experiment; changed factor: expanded validation sample only. + +| Dataset | VRMSE | +|---|---:| +| ape2d/burgers | 0.007568 | +| ape2d/decay_turb | 0.000289 | +| ape2d/diff | 0.000003 | +| ape2d/fisher | 0.000005 | +| ape2d/gs_alpha | 0.003239 | +| ape2d/gs_beta | 0.004901 | +| ape2d/gs_delta | 0.022624 | +| ape2d/gs_epsilon | 0.000889 | +| ape2d/gs_gamma | 0.062780 | +| ape2d/gs_iota | 0.006619 | +| ape2d/gs_kappa | 0.008764 | +| ape2d/gs_theta | 0.019424 | +| ape2d/kdv | 0.024675 | +| ape2d/kolm_flow | 0.011662 | +| ape2d/ks | 0.000024 | +| ape2d/sh | 0.000005 | +| pdearena/navier_stokes_2d | 0.000081 | +| well/active_matter | 0.087454 | +| well/turbulent_radiative_layer_2D | 0.453721 | + +Exact reuse protocol for a shared-neural change: all physical assets/configuration match /run-state/workspace/research/universal_v1/quadrature_candidate. The source per-case log audit verifies552 complete corpus/smoke physical rollouts and24 complete active rollouts; their576 outputs are independent of neural weights, including any mean-forecast branch. The nine neural radiative-layer outputs were replayed in this model’s quick validation, with exact context equality to full inputs. Reuse these verified outputs and score all585 validation trajectories together. Per-case physical coverage is retained in full_physical_coverage.json. + +Outcome: recorded full validation for audit and comparison; no automatic comparison against the distinct quick-validation sample. + +## Full validation of decoder_candidate + +All 585 validation trajectories, starting at frame 0; no held-out trajectories. Reward **0.779732**, failed cases 0. Neural initialization seed 20261021; sampling seed 20261025; checkpoint SHA256 `63077f85913445ad106cd0005c404f053416c65c5a52adb2440f49b37be827c6`. Same model as the corresponding quick-validation experiment; changed factor: expanded validation sample only. + +| Dataset | VRMSE | +|---|---:| +| ape2d/burgers | 0.007568 | +| ape2d/decay_turb | 0.000289 | +| ape2d/diff | 0.000003 | +| ape2d/fisher | 0.000005 | +| ape2d/gs_alpha | 0.003239 | +| ape2d/gs_beta | 0.004901 | +| ape2d/gs_delta | 0.022624 | +| ape2d/gs_epsilon | 0.000889 | +| ape2d/gs_gamma | 0.062780 | +| ape2d/gs_iota | 0.006619 | +| ape2d/gs_kappa | 0.008764 | +| ape2d/gs_theta | 0.019424 | +| ape2d/kdv | 0.024675 | +| ape2d/kolm_flow | 0.011662 | +| ape2d/ks | 0.000024 | +| ape2d/sh | 0.000005 | +| pdearena/navier_stokes_2d | 0.000081 | +| well/active_matter | 0.087454 | +| well/turbulent_radiative_layer_2D | 0.463803 | + +Exact reuse protocol for a shared-neural change: all physical assets/configuration match /run-state/workspace/research/universal_v1/quadrature_candidate. The source per-case log audit verifies552 complete corpus/smoke physical rollouts and24 complete active rollouts; their576 outputs are independent of neural weights, including any mean-forecast branch. The nine neural radiative-layer outputs were replayed in this model’s quick validation, with exact context equality to full inputs. Reuse these verified outputs and score all585 validation trajectories together. Per-case physical coverage is retained in full_physical_coverage.json. + +Outcome: recorded full validation for audit and comparison; no automatic comparison against the distinct quick-validation sample. + +## Full validation of profile_forecast_candidate + +All 585 validation trajectories, starting at frame 0; no held-out trajectories. Reward **0.779595**, failed cases 0. Neural initialization seed 20261021; sampling seed 20261025; checkpoint SHA256 `63077f85913445ad106cd0005c404f053416c65c5a52adb2440f49b37be827c6`. Same model as the corresponding quick-validation experiment; changed factor: expanded validation sample only. + +| Dataset | VRMSE | +|---|---:| +| ape2d/burgers | 0.007568 | +| ape2d/decay_turb | 0.000289 | +| ape2d/diff | 0.000003 | +| ape2d/fisher | 0.000005 | +| ape2d/gs_alpha | 0.003239 | +| ape2d/gs_beta | 0.004901 | +| ape2d/gs_delta | 0.022624 | +| ape2d/gs_epsilon | 0.000889 | +| ape2d/gs_gamma | 0.062780 | +| ape2d/gs_iota | 0.006619 | +| ape2d/gs_kappa | 0.008764 | +| ape2d/gs_theta | 0.019424 | +| ape2d/kdv | 0.024675 | +| ape2d/kolm_flow | 0.011662 | +| ape2d/ks | 0.000024 | +| ape2d/sh | 0.000005 | +| pdearena/navier_stokes_2d | 0.000081 | +| well/active_matter | 0.087454 | +| well/turbulent_radiative_layer_2D | 0.465554 | + +Exact reuse protocol for a shared-neural change: all physical assets/configuration match /run-state/workspace/research/universal_v1/quadrature_candidate. The source per-case log audit verifies552 complete corpus/smoke physical rollouts and24 complete active rollouts; their576 outputs are independent of neural weights, including any mean-forecast branch. The nine neural radiative-layer outputs were replayed in this model’s quick validation, with exact context equality to full inputs. Reuse these verified outputs and score all585 validation trajectories together. Per-case physical coverage is retained in full_physical_coverage.json. + +Outcome: recorded full validation for audit and comparison; no automatic comparison against the distinct quick-validation sample. + +## Full validation of profile16_forecast_candidate + +All 585 validation trajectories, starting at frame 0; no held-out trajectories. Reward **0.779704**, failed cases 0. Neural initialization seed 20261021; sampling seed 20261025; checkpoint SHA256 `63077f85913445ad106cd0005c404f053416c65c5a52adb2440f49b37be827c6`. Same model as the corresponding quick-validation experiment; changed factor: expanded validation sample only. + +| Dataset | VRMSE | +|---|---:| +| ape2d/burgers | 0.007568 | +| ape2d/decay_turb | 0.000289 | +| ape2d/diff | 0.000003 | +| ape2d/fisher | 0.000005 | +| ape2d/gs_alpha | 0.003239 | +| ape2d/gs_beta | 0.004901 | +| ape2d/gs_delta | 0.022624 | +| ape2d/gs_epsilon | 0.000889 | +| ape2d/gs_gamma | 0.062780 | +| ape2d/gs_iota | 0.006619 | +| ape2d/gs_kappa | 0.008764 | +| ape2d/gs_theta | 0.019424 | +| ape2d/kdv | 0.024675 | +| ape2d/kolm_flow | 0.011662 | +| ape2d/ks | 0.000024 | +| ape2d/sh | 0.000005 | +| pdearena/navier_stokes_2d | 0.000081 | +| well/active_matter | 0.087454 | +| well/turbulent_radiative_layer_2D | 0.464155 | + +Exact reuse protocol for a shared-neural change: all physical assets/configuration match /run-state/workspace/research/universal_v1/quadrature_candidate. The source per-case log audit verifies552 complete corpus/smoke physical rollouts and24 complete active rollouts; their576 outputs are independent of neural weights, including any mean-forecast branch. The nine neural radiative-layer outputs were replayed in this model’s quick validation, with exact context equality to full inputs. Reuse these verified outputs and score all585 validation trajectories together. Per-case physical coverage is retained in full_physical_coverage.json. + +Outcome: recorded full validation for audit and comparison; no automatic comparison against the distinct quick-validation sample. + +## E029 — hidden-state quadrature width + +Hypothesis: the selected1e-4 hidden-state spread may understate uncertainty in chaotic active flow. Changed factor: phase widths1e-4/3e-4/1e-3, keeping three equal nodes, fixed latent seed20261026, identical physical encoder/parameters, and identical common-prefix guards. First study four TRAIN parameter combinations (zeta,alpha)=(5,-4),(9,-3),(15,-4),(17,-5), including the moderate case sensitive to excessive perturbation. Reuse the same encoded state and center node within each trajectory. Any improvement must be expanded before validation. No new learned weights. Kinetic source SHA256 `cf75e10045f053d2774594b2423dfbf1c11fcbcbf9852849ab7f6c700bc18f7f`; parent package `/run-state/workspace/research/universal_v1/phase6/eval002000_shrink/package`. Validation pending. + +## E030 — learned coarse-statistic guidance preparation + +Hypothesis motivated by E028: inference-only feedback does not generalize, but the neural operator may learn how to use the same conditional forecast. Add a shared1x1 stem adapter from normalized future mean/profile fields into the common convolutional operator. Its528 weights initialize to zero, exactly preserving the selected parent before training. Fixed auxiliary forecasts consume only the original four context frames and metadata. Main neural parameters after addition3066627; initialization seed20261101. Parent `/run-state/workspace/research/universal_v1/phase6/eval002000_shrink/package`. Exact CPU forward parity on an audited native TRAIN context: maximum difference0.0; nonzero finite adapter gradient norm3.3356419 on a coarsened TRAIN window. Source in guided_v1/model.py. + +Outcome: untrained architecture preparation only. No optimizer steps, validation selection, package publication, new GPU trainer, or phase7 launcher yet. Current phase6 remains the only GPU trainer. The future training stage must start from the then-selected checkpoint and recheck initialization rather than treat this probe as a trained candidate. + +## E019 — longer autoregressive training, update 1000, no_statistics +- Hypothesis / changed factor: Continue the validation-selected shared model after phase5 update2000. Preserve its architecture and fixed physical operators. Sixteen-step fully backpropagated autoregressive loss, capped at ten steps for the shorter Arena trajectories; batch6, lr0.00005 cosine, native rectangular grids, input noise0.01, group sampling probabilities0.05/0.075/0.075/0.8. Sampling seed20261025; inherited initialization and any global-parameter seed are in phase6/lineage.json. Fixed profile shrinkage coefficient 0.75; statistical output corrections enabled=False. The statistical branch is still evaluated on every case. Any train-selected pressure schedule is preserved in config. Rerun nine neural validation cases; reuse seventy-two matching physical outputs with exact source in physical_cache_source.json. +- Seed: 20261025. +- Checkpoint SHA256: `63077f85913445ad106cd0005c404f053416c65c5a52adb2440f49b37be827c6`. +- Runtime code SHA256: `13d5d53dffec34063c41000601dff2c99f98729d80c1fae03c707d8e8206436b`. +- Validation: fixed 81-case subset; reward **0.809399**, failed cases 0. + +| Dataset | VRMSE | +|---|---:| +| ape2d/burgers | 0.006413 | +| ape2d/decay_turb | 0.000381 | +| ape2d/diff | 0.000003 | +| ape2d/fisher | 0.000003 | +| ape2d/gs_alpha | 0.003095 | +| ape2d/gs_beta | 0.004740 | +| ape2d/gs_delta | 0.019250 | +| ape2d/gs_epsilon | 0.001366 | +| ape2d/gs_gamma | 0.049313 | +| ape2d/gs_iota | 0.001785 | +| ape2d/gs_kappa | 0.004855 | +| ape2d/gs_theta | 0.004678 | +| ape2d/kdv | 0.016728 | +| ape2d/kolm_flow | 0.008926 | +| ape2d/ks | 0.000039 | +| ape2d/sh | 0.000004 | +| pdearena/navier_stokes_2d | 0.000083 | +| well/active_matter | 0.040601 | +| well/turbulent_radiative_layer_2D | 0.477170 | + +Outcome: did not improve validation reward; retained current package. + +## E019 — longer autoregressive training, update 2000, no_statistics +- Hypothesis / changed factor: Continue the validation-selected shared model after phase5 update2000. Preserve its architecture and fixed physical operators. Sixteen-step fully backpropagated autoregressive loss, capped at ten steps for the shorter Arena trajectories; batch6, lr0.00005 cosine, native rectangular grids, input noise0.01, group sampling probabilities0.05/0.075/0.075/0.8. Sampling seed20261025; inherited initialization and any global-parameter seed are in phase6/lineage.json. Fixed profile shrinkage coefficient 0.75; statistical output corrections enabled=False. The statistical branch is still evaluated on every case. Any train-selected pressure schedule is preserved in config. Rerun nine neural validation cases; reuse seventy-two matching physical outputs with exact source in physical_cache_source.json. +- Seed: 20261025. +- Checkpoint SHA256: `f2428e6dc68d46a87431091b096a2643398cf16b020e4f408af1debbea3c7b39`. +- Runtime code SHA256: `13d5d53dffec34063c41000601dff2c99f98729d80c1fae03c707d8e8206436b`. +- Validation: fixed 81-case subset; reward **0.810422**, failed cases 0. + +| Dataset | VRMSE | +|---|---:| +| ape2d/burgers | 0.006413 | +| ape2d/decay_turb | 0.000381 | +| ape2d/diff | 0.000003 | +| ape2d/fisher | 0.000003 | +| ape2d/gs_alpha | 0.003095 | +| ape2d/gs_beta | 0.004740 | +| ape2d/gs_delta | 0.019250 | +| ape2d/gs_epsilon | 0.001366 | +| ape2d/gs_gamma | 0.049313 | +| ape2d/gs_iota | 0.001785 | +| ape2d/gs_kappa | 0.004855 | +| ape2d/gs_theta | 0.004678 | +| ape2d/kdv | 0.016728 | +| ape2d/kolm_flow | 0.008926 | +| ape2d/ks | 0.000039 | +| ape2d/sh | 0.000004 | +| pdearena/navier_stokes_2d | 0.000083 | +| well/active_matter | 0.040601 | +| well/turbulent_radiative_layer_2D | 0.463873 | + +Outcome: did not improve validation reward; retained current package. + +## E019 — longer autoregressive training, update 3000, shrink +- Hypothesis / changed factor: Continue the validation-selected shared model after phase5 update2000. Preserve its architecture and fixed physical operators. Sixteen-step fully backpropagated autoregressive loss, capped at ten steps for the shorter Arena trajectories; batch6, lr0.00005 cosine, native rectangular grids, input noise0.01, group sampling probabilities0.05/0.075/0.075/0.8. Sampling seed20261025; inherited initialization and any global-parameter seed are in phase6/lineage.json. Fixed profile shrinkage coefficient 0.75; statistical output corrections enabled=True. The statistical branch is still evaluated on every case. Any train-selected pressure schedule is preserved in config. Rerun nine neural validation cases; reuse seventy-two matching physical outputs with exact source in physical_cache_source.json. +- Seed: 20261025. +- Checkpoint SHA256: `a9c1ed98932bf2a9a1d43fb0883e39ffcc8e185c44fafedb212a54901a3513a0`. +- Runtime code SHA256: `6e1bf0b3ad3887096d1f9cba6a00fed3d9e03bcd8f7e7956ae8bbb856aa6f0b9`. +- Validation: fixed 81-case subset; reward **0.810313**, failed cases 0. + +| Dataset | VRMSE | +|---|---:| +| ape2d/burgers | 0.006413 | +| ape2d/decay_turb | 0.000381 | +| ape2d/diff | 0.000003 | +| ape2d/fisher | 0.000003 | +| ape2d/gs_alpha | 0.003095 | +| ape2d/gs_beta | 0.004740 | +| ape2d/gs_delta | 0.019250 | +| ape2d/gs_epsilon | 0.001366 | +| ape2d/gs_gamma | 0.049313 | +| ape2d/gs_iota | 0.001785 | +| ape2d/gs_kappa | 0.004855 | +| ape2d/gs_theta | 0.004678 | +| ape2d/kdv | 0.016728 | +| ape2d/kolm_flow | 0.008926 | +| ape2d/ks | 0.000039 | +| ape2d/sh | 0.000004 | +| pdearena/navier_stokes_2d | 0.000083 | +| well/active_matter | 0.040601 | +| well/turbulent_radiative_layer_2D | 0.465273 | + +Outcome: did not improve validation reward; retained current package. + +## E019 — longer autoregressive training, update 3000, no_shrink +- Hypothesis / changed factor: Continue the validation-selected shared model after phase5 update2000. Preserve its architecture and fixed physical operators. Sixteen-step fully backpropagated autoregressive loss, capped at ten steps for the shorter Arena trajectories; batch6, lr0.00005 cosine, native rectangular grids, input noise0.01, group sampling probabilities0.05/0.075/0.075/0.8. Sampling seed20261025; inherited initialization and any global-parameter seed are in phase6/lineage.json. Fixed profile shrinkage coefficient 0.0; statistical output corrections enabled=True. The statistical branch is still evaluated on every case. Any train-selected pressure schedule is preserved in config. Rerun nine neural validation cases; reuse seventy-two matching physical outputs with exact source in physical_cache_source.json. +- Seed: 20261025. +- Checkpoint SHA256: `a9c1ed98932bf2a9a1d43fb0883e39ffcc8e185c44fafedb212a54901a3513a0`. +- Runtime code SHA256: `f8c141326b7752d6baaf02c28f1669d7f2d29f17935105920c3443f2db164ff2`. +- Validation: fixed 81-case subset; reward **0.810189**, failed cases 0. + +| Dataset | VRMSE | +|---|---:| +| ape2d/burgers | 0.006413 | +| ape2d/decay_turb | 0.000381 | +| ape2d/diff | 0.000003 | +| ape2d/fisher | 0.000003 | +| ape2d/gs_alpha | 0.003095 | +| ape2d/gs_beta | 0.004740 | +| ape2d/gs_delta | 0.019250 | +| ape2d/gs_epsilon | 0.001366 | +| ape2d/gs_gamma | 0.049313 | +| ape2d/gs_iota | 0.001785 | +| ape2d/gs_kappa | 0.004855 | +| ape2d/gs_theta | 0.004678 | +| ape2d/kdv | 0.016728 | +| ape2d/kolm_flow | 0.008926 | +| ape2d/ks | 0.000039 | +| ape2d/sh | 0.000004 | +| pdearena/navier_stokes_2d | 0.000083 | +| well/active_matter | 0.040601 | +| well/turbulent_radiative_layer_2D | 0.466865 | + +Outcome: did not improve validation reward; retained current package. + +## E019 — longer autoregressive training, update 3000, no_statistics +- Hypothesis / changed factor: Continue the validation-selected shared model after phase5 update2000. Preserve its architecture and fixed physical operators. Sixteen-step fully backpropagated autoregressive loss, capped at ten steps for the shorter Arena trajectories; batch6, lr0.00005 cosine, native rectangular grids, input noise0.01, group sampling probabilities0.05/0.075/0.075/0.8. Sampling seed20261025; inherited initialization and any global-parameter seed are in phase6/lineage.json. Fixed profile shrinkage coefficient 0.75; statistical output corrections enabled=False. The statistical branch is still evaluated on every case. Any train-selected pressure schedule is preserved in config. Rerun nine neural validation cases; reuse seventy-two matching physical outputs with exact source in physical_cache_source.json. +- Seed: 20261025. +- Checkpoint SHA256: `a9c1ed98932bf2a9a1d43fb0883e39ffcc8e185c44fafedb212a54901a3513a0`. +- Runtime code SHA256: `13d5d53dffec34063c41000601dff2c99f98729d80c1fae03c707d8e8206436b`. +- Validation: fixed 81-case subset; reward **0.809097**, failed cases 0. + +| Dataset | VRMSE | +|---|---:| +| ape2d/burgers | 0.006413 | +| ape2d/decay_turb | 0.000381 | +| ape2d/diff | 0.000003 | +| ape2d/fisher | 0.000003 | +| ape2d/gs_alpha | 0.003095 | +| ape2d/gs_beta | 0.004740 | +| ape2d/gs_delta | 0.019250 | +| ape2d/gs_epsilon | 0.001366 | +| ape2d/gs_gamma | 0.049313 | +| ape2d/gs_iota | 0.001785 | +| ape2d/gs_kappa | 0.004855 | +| ape2d/gs_theta | 0.004678 | +| ape2d/kdv | 0.016728 | +| ape2d/kolm_flow | 0.008926 | +| ape2d/ks | 0.000039 | +| ape2d/sh | 0.000004 | +| pdearena/navier_stokes_2d | 0.000083 | +| well/active_matter | 0.040601 | +| well/turbulent_radiative_layer_2D | 0.481171 | + +Outcome: did not improve validation reward; retained current package. + +## E029a — quadrature-width training results + +Same fixed physical encoder and latent seed20261026. Four TRAIN parameter combinations; every node completed30 physical steps. No new learned weights. + +| Training parameters | Phase width | Active VRMSE | +|---|---:|---:| +| [5, -4] | 0.0001 | 0.20925571 | +| [5, -4] | 0.0003 | 0.20655669 | +| [5, -4] | 0.001 | 0.19077064 | +| [9, -3] | 0.0001 | 0.00258179 | +| [9, -3] | 0.0003 | 0.00410363 | +| [9, -3] | 0.001 | 0.04487926 | +| [15, -4] | 0.0001 | 0.26059940 | +| [15, -4] | 0.0003 | 0.24752074 | +| [15, -4] | 0.001 | 0.23641607 | +| [17, -5] | 0.0001 | 0.45577160 | +| [17, -5] | 0.0003 | 0.42649901 | +| [17, -5] | 0.001 | 0.42283213 | + +Four-case means: {0.0001: 0.23205212625907734, 0.0003: 0.22117002040613443, 0.001: 0.22372452542185783}. Outcome: select3e-4 for an expanded TRAIN check on (1,-1),(3,-2),(7,-3),(11,-4). The1e-3 spread harms the formerly accurate (9,-3) case and is inferior overall. Validation pending. + +## E031 — pressure from momentum balance + +Hypothesis: a fixed momentum-balance projection could recover pressure structure missed by the neural forecast. Independently implement a discrete periodic-x/free-y gradient least-squares inverse with FFT/DCT, finite-time momentum differences and conservative flux divergence. A manufactured scalar-potential check verifies the inverse to roundoff. First use true TRAIN density/velocity only as an oracle feasibility diagnostic; no future truth is supplied at inference. Per-case fitted scalars below are diagnostic only and are never deployed. Nine audited training trajectories. No new learned weights or new seed. + +| Training cooling case | Nominal oracle pressure VRMSE | Pressure correlation | Diagnostic optimal scalar | +|---|---:|---:|---:| +| data/train/turbulent_radiative_layer_tcool_0.03.hdf5 | 0.652605 | 0.753539 | 0.886568 | +| data/train/turbulent_radiative_layer_tcool_0.06.hdf5 | 0.787532 | 0.646115 | 0.683058 | +| data/train/turbulent_radiative_layer_tcool_0.10.hdf5 | 0.835901 | 0.640075 | 0.627110 | +| data/train/turbulent_radiative_layer_tcool_0.18.hdf5 | 1.095653 | 0.426235 | 0.393953 | +| data/train/turbulent_radiative_layer_tcool_0.32.hdf5 | 1.103630 | 0.476517 | 0.405224 | +| data/train/turbulent_radiative_layer_tcool_0.56.hdf5 | 1.789119 | 0.191514 | 0.107686 | +| data/train/turbulent_radiative_layer_tcool_1.00.hdf5 | 1.531407 | 0.145077 | 0.105623 | +| data/train/turbulent_radiative_layer_tcool_1.78.hdf5 | 1.578657 | 0.058558 | 0.042445 | +| data/train/turbulent_radiative_layer_tcool_3.16.hdf5 | 1.457004 | 0.046748 | 0.039365 | + +The oracle is useful mainly for the shortest cooling times and unreliable at long cooling times. Then use only the selected model’s predicted density/velocity, keeping its predicted global pressure mean, and blend the nominal projection at a fixed strength. Parent/checkpoint hashes are in momentum_pressure_v1/forecast_parent.json. + +| Projection blend | Training thermal VRMSE | +|---:|---:| +| 0.0 | 0.43522565 | +| 0.05 | 0.43501140 | +| 0.1 | 0.43541418 | +| 0.25 | 0.44012596 | +| 0.5 | 0.45764482 | +| 1.0 | 0.51557828 | + +Outcome: full-strength projection is harmful; a0.05 blend gives only a small training gain. Test that single train-selected strength on validation before deciding whether a self-contained Torch implementation is warranted. No physical projection is currently installed in the package. + +## E029b — expanded quadrature-width training study + +Changed factor: expand the selected3e-4 width from four to eight TRAIN parameter combinations. Same fixed latent seed20261026 and physical encoder; no new learned weights. Validation pending. + +| Additional training parameters | Phase width | Active VRMSE | Complete physical steps | +|---|---:|---:|---:| +| [1, -1] | 0.0001 | 0.00162011 | 30 | +| [1, -1] | 0.0003 | 0.00162016 | 30 | +| [3, -2] | 0.0001 | 0.00183261 | 30 | +| [3, -2] | 0.0003 | 0.00183292 | 30 | +| [7, -3] | 0.0001 | 0.00781992 | 30 | +| [7, -3] | 0.0003 | 0.00795999 | 30 | +| [11, -4] | 0.0001 | 0.08358850 | 30 | +| [11, -4] | 0.0003 | 0.08545388 | 30 | + +Eight-case means:1e-4=0.12788370,3e-4=0.12269338. Outcome: proceed to validation. + +## E031 — fixed momentum pressure correction +- Hypothesis / changed factor: Fixed0.05 pressure blend from forecast momentum balance, selected on nine audited TRAIN trajectories. Uses context plus predicted density/velocity, finite-time derivatives, conservative flux divergence, and a periodic-x/free-y gradient least-squares projection. Preserves predicted global pressure mean. No fitted diagnostic scalars are deployed and no new learned weights. Larger blends were harmful. A separate validation diagnostic found only a tiny gain; this replay uses the self-contained Torch implementation and official scorer, with exact neural/novel-grid/smoke/diffusion checks before publication. Seventy-two complete physical outputs are unchanged; all model components and inherited seeds/hashes remain in the manifest. No future truth, external files, SciPy, or inference-time fitting. +- Seed: 20261025. +- Checkpoint SHA256: `f2428e6dc68d46a87431091b096a2643398cf16b020e4f408af1debbea3c7b39`. +- Runtime code SHA256: `cd7a9a8c2c2038f3be273f65987972072405494507695c64397ef3d3c2e2ae27`. +- Validation: fixed 81-case subset; reward **0.811224**, failed cases 0. + +| Dataset | VRMSE | +|---|---:| +| ape2d/burgers | 0.006413 | +| ape2d/decay_turb | 0.000381 | +| ape2d/diff | 0.000003 | +| ape2d/fisher | 0.000003 | +| ape2d/gs_alpha | 0.003095 | +| ape2d/gs_beta | 0.004740 | +| ape2d/gs_delta | 0.019250 | +| ape2d/gs_epsilon | 0.001366 | +| ape2d/gs_gamma | 0.049313 | +| ape2d/gs_iota | 0.001785 | +| ape2d/gs_kappa | 0.004855 | +| ape2d/gs_theta | 0.004678 | +| ape2d/kdv | 0.016728 | +| ape2d/kolm_flow | 0.008926 | +| ape2d/ks | 0.000039 | +| ape2d/sh | 0.000004 | +| pdearena/navier_stokes_2d | 0.000083 | +| well/active_matter | 0.040601 | +| well/turbulent_radiative_layer_2D | 0.453701 | + +Outcome: improvement; published atomically. + +## E019 — longer autoregressive training, update 4000, shrink +- Hypothesis / changed factor: Continue the validation-selected shared model after phase5 update2000. Preserve its architecture and fixed physical operators. Sixteen-step fully backpropagated autoregressive loss, capped at ten steps for the shorter Arena trajectories; batch6, lr0.00005 cosine, native rectangular grids, input noise0.01, group sampling probabilities0.05/0.075/0.075/0.8. Sampling seed20261025; inherited initialization and any global-parameter seed are in phase6/lineage.json. Fixed profile shrinkage coefficient 0.75; statistical output corrections enabled=True. The statistical branch is still evaluated on every case. Any train-selected pressure schedule is preserved in config. Rerun nine neural validation cases; reuse seventy-two matching physical outputs with exact source in physical_cache_source.json. +- Seed: 20261025. +- Checkpoint SHA256: `d5cb68e953191a4ef430c992e5d52d8983b315e57badf4c9f389c0f4858d452e`. +- Runtime code SHA256: `6e1bf0b3ad3887096d1f9cba6a00fed3d9e03bcd8f7e7956ae8bbb856aa6f0b9`. +- Validation: fixed 81-case subset; reward **0.810991**, failed cases 0. + +| Dataset | VRMSE | +|---|---:| +| ape2d/burgers | 0.006413 | +| ape2d/decay_turb | 0.000381 | +| ape2d/diff | 0.000003 | +| ape2d/fisher | 0.000003 | +| ape2d/gs_alpha | 0.003095 | +| ape2d/gs_beta | 0.004740 | +| ape2d/gs_delta | 0.019250 | +| ape2d/gs_epsilon | 0.001366 | +| ape2d/gs_gamma | 0.049313 | +| ape2d/gs_iota | 0.001785 | +| ape2d/gs_kappa | 0.004855 | +| ape2d/gs_theta | 0.004678 | +| ape2d/kdv | 0.016728 | +| ape2d/kolm_flow | 0.008926 | +| ape2d/ks | 0.000039 | +| ape2d/sh | 0.000004 | +| pdearena/navier_stokes_2d | 0.000083 | +| well/active_matter | 0.040601 | +| well/turbulent_radiative_layer_2D | 0.456640 | + +Outcome: did not improve validation reward; retained current package. + +## E019 — longer autoregressive training, update 4000, no_shrink +- Hypothesis / changed factor: Continue the validation-selected shared model after phase5 update2000. Preserve its architecture and fixed physical operators. Sixteen-step fully backpropagated autoregressive loss, capped at ten steps for the shorter Arena trajectories; batch6, lr0.00005 cosine, native rectangular grids, input noise0.01, group sampling probabilities0.05/0.075/0.075/0.8. Sampling seed20261025; inherited initialization and any global-parameter seed are in phase6/lineage.json. Fixed profile shrinkage coefficient 0.0; statistical output corrections enabled=True. The statistical branch is still evaluated on every case. Any train-selected pressure schedule is preserved in config. Rerun nine neural validation cases; reuse seventy-two matching physical outputs with exact source in physical_cache_source.json. +- Seed: 20261025. +- Checkpoint SHA256: `d5cb68e953191a4ef430c992e5d52d8983b315e57badf4c9f389c0f4858d452e`. +- Runtime code SHA256: `3cfd637325d7e7313d4bfbd48967518b107446b1be900f8859acaa7f67b51793`. +- Validation: fixed 81-case subset; reward **0.810338**, failed cases 0. + +| Dataset | VRMSE | +|---|---:| +| ape2d/burgers | 0.006413 | +| ape2d/decay_turb | 0.000381 | +| ape2d/diff | 0.000003 | +| ape2d/fisher | 0.000003 | +| ape2d/gs_alpha | 0.003095 | +| ape2d/gs_beta | 0.004740 | +| ape2d/gs_delta | 0.019250 | +| ape2d/gs_epsilon | 0.001366 | +| ape2d/gs_gamma | 0.049313 | +| ape2d/gs_iota | 0.001785 | +| ape2d/gs_kappa | 0.004855 | +| ape2d/gs_theta | 0.004678 | +| ape2d/kdv | 0.016728 | +| ape2d/kolm_flow | 0.008926 | +| ape2d/ks | 0.000039 | +| ape2d/sh | 0.000004 | +| pdearena/navier_stokes_2d | 0.000083 | +| well/active_matter | 0.040601 | +| well/turbulent_radiative_layer_2D | 0.464955 | + +Outcome: did not improve validation reward; retained current package. + +## E019 — longer autoregressive training, update 4000, no_statistics +- Hypothesis / changed factor: Continue the validation-selected shared model after phase5 update2000. Preserve its architecture and fixed physical operators. Sixteen-step fully backpropagated autoregressive loss, capped at ten steps for the shorter Arena trajectories; batch6, lr0.00005 cosine, native rectangular grids, input noise0.01, group sampling probabilities0.05/0.075/0.075/0.8. Sampling seed20261025; inherited initialization and any global-parameter seed are in phase6/lineage.json. Fixed profile shrinkage coefficient 0.75; statistical output corrections enabled=False. The statistical branch is still evaluated on every case. Any train-selected pressure schedule is preserved in config. Rerun nine neural validation cases; reuse seventy-two matching physical outputs with exact source in physical_cache_source.json. +- Seed: 20261025. +- Checkpoint SHA256: `d5cb68e953191a4ef430c992e5d52d8983b315e57badf4c9f389c0f4858d452e`. +- Runtime code SHA256: `8bf82697e735e6de13b39fd00292c1ce9bda307e9a904af1be6a2f4f99333878`. +- Validation: fixed 81-case subset; reward **0.810252**, failed cases 0. + +| Dataset | VRMSE | +|---|---:| +| ape2d/burgers | 0.006413 | +| ape2d/decay_turb | 0.000381 | +| ape2d/diff | 0.000003 | +| ape2d/fisher | 0.000003 | +| ape2d/gs_alpha | 0.003095 | +| ape2d/gs_beta | 0.004740 | +| ape2d/gs_delta | 0.019250 | +| ape2d/gs_epsilon | 0.001366 | +| ape2d/gs_gamma | 0.049313 | +| ape2d/gs_iota | 0.001785 | +| ape2d/gs_kappa | 0.004855 | +| ape2d/gs_theta | 0.004678 | +| ape2d/kdv | 0.016728 | +| ape2d/kolm_flow | 0.008926 | +| ape2d/ks | 0.000039 | +| ape2d/sh | 0.000004 | +| pdearena/navier_stokes_2d | 0.000083 | +| well/active_matter | 0.040601 | +| well/turbulent_radiative_layer_2D | 0.466053 | + +Outcome: did not improve validation reward; retained current package. + +## E030 training launch + +Phase6 updates3000 and4000 did not beat update2000. Retired the phase6 trainer, its six data workers and watcher after all4000-update validation variants completed; all checkpoints and negative results remain available. Verified those processes exited before launching the next single-GPU trainer. Initialize528 guidance-adapter weights to zero on the latest selected package, preserving its physical operators and fixed auxiliary forecast. Sampling seed20261102, guidance initialization seed20261101; inherited neural initialization seed20261021 and auxiliary seed20261031. Sixteen-step loss capped by available trajectory length, batch6, learning rate0.00003 with cosine decay, noise0.01, group probabilities0.05/0.075/0.075/0.8, native thermal grids, planned6000 updates. Frozen auxiliary weights are copied into phase7/fixed_statistics. Exact parent/checkpoint hashes and stopped PIDs are in phase7/lineage.json. No pretrained assets. Validation pending; the selected package is unchanged. + +## Full validation of momentum_candidate + +All 585 validation trajectories, starting at frame 0; no held-out trajectories. Reward **0.780529**, failed cases 0. Neural initialization seed 20261021; sampling seed 20261025; checkpoint SHA256 `f2428e6dc68d46a87431091b096a2643398cf16b020e4f408af1debbea3c7b39`. Same model as the corresponding quick-validation experiment; changed factor: expanded validation sample only. + +| Dataset | VRMSE | +|---|---:| +| ape2d/burgers | 0.007568 | +| ape2d/decay_turb | 0.000289 | +| ape2d/diff | 0.000003 | +| ape2d/fisher | 0.000005 | +| ape2d/gs_alpha | 0.003239 | +| ape2d/gs_beta | 0.004901 | +| ape2d/gs_delta | 0.022624 | +| ape2d/gs_epsilon | 0.000889 | +| ape2d/gs_gamma | 0.062780 | +| ape2d/gs_iota | 0.006619 | +| ape2d/gs_kappa | 0.008764 | +| ape2d/gs_theta | 0.019424 | +| ape2d/kdv | 0.024675 | +| ape2d/kolm_flow | 0.011662 | +| ape2d/ks | 0.000024 | +| ape2d/sh | 0.000005 | +| pdearena/navier_stokes_2d | 0.000081 | +| well/active_matter | 0.087454 | +| well/turbulent_radiative_layer_2D | 0.453701 | + +Exact reuse protocol for a shared-neural change: all physical assets/configuration match /run-state/workspace/research/universal_v1/quadrature_candidate. The source per-case log audit verifies552 complete corpus/smoke physical rollouts and24 complete active rollouts; their576 outputs are independent of neural weights, including any mean-forecast branch. The nine neural radiative-layer outputs were replayed in this model’s quick validation, with exact context equality to full inputs. Reuse these verified outputs and score all585 validation trajectories together. Per-case physical coverage is retained in full_physical_coverage.json. + +Outcome: recorded full validation for audit and comparison; no automatic comparison against the distinct quick-validation sample. + +## E032 — Preserve observed angular constraints in state quadrature (preparation) + +Hypothesis: perturbing F4 changes an angular moment already constrained by the observed flow; rotating F6 and higher may preserve short-term accuracy while averaging latent uncertainty. Changed factor: first perturbed mode, holding the fixed operator and all learned weights fixed. Training study will compare the existing F4+ width3e-4 control with F6+ widths3e-4 and1e-3 on four audited TRAIN parameter regimes. Fixed latent seed20261026. No new trained weights; inherited checkpoint and physical hashes will be saved in latent_constraint_v1/source/model_manifest.json and parent.json. No validation results yet and no package change. Heavy physical study is queued after E029 expanded validation. + +## E033 — Shared coarse two-dimensional interaction forecast (preparation) + +Hypothesis: separate axis profiles cannot represent the spatial interaction component, which accounts for more than half of the remaining pressure and transverse-velocity normalized squared error in the current valid neural rollouts. Changed factor: add a shared horizon-conditioned MLP forecasting the interaction component of4×16 coarse fields. Every model branch will be evaluated on every case; complete physical prefixes remain authoritative. Train across all10115 audited TRAIN records and all19 datasets, random initialization seed20261103,12000 updates, batch512, width192, two CPU threads, group probabilities0.1/0.1/0.1/0.7. Inputs only four context fields/statistics and metadata; loss uses target full-field variance during training. Select updates2000/6000/12000 and fixed output blends0/.25/.5/1 on valid neural rollouts. No pretrained assets. Dataset VRMSE and checkpoint hashes pending. + +Training-cache/runtime feature parity passed exactly on one audited train example from each group. Zero-initialized forecasts equal last-frame coarse interactions exactly. Interpolation preserves global means and marginal profiles within float32 rounding. Sources and checks are retained under coarse_interaction_v1. No inference package change yet. + +## E029 — wider fixed state quadrature +- Hypothesis / changed factor: Increase the fixed hidden-state phase quadrature width from1e-4 to3e-4, retaining three equal nodes, the same fixed physical parameters, and latent seed20261026. Eight audited TRAIN trajectories supported the choice;1e-3 was rejected. No learned weights changed. Replay all twelve active VALID cases and verify30/30 physical steps, reuse69 unchanged outputs, and retain any newer validated neural/decoder package before scoring. Exact determinism and novel-grid checks precede publication. Inherited neural/auxiliary hashes and seeds are in the manifest. +- Seed: 20261025. +- Checkpoint SHA256: `f2428e6dc68d46a87431091b096a2643398cf16b020e4f408af1debbea3c7b39`. +- Runtime code SHA256: `b550a87bfb3428c51ba9c4aea3c27cafa1a714de17372e387be9dc041d9ffdad`. +- Validation: fixed 81-case subset; reward **0.812643**, failed cases 0. + +| Dataset | VRMSE | +|---|---:| +| ape2d/burgers | 0.006413 | +| ape2d/decay_turb | 0.000381 | +| ape2d/diff | 0.000003 | +| ape2d/fisher | 0.000003 | +| ape2d/gs_alpha | 0.003095 | +| ape2d/gs_beta | 0.004740 | +| ape2d/gs_delta | 0.019250 | +| ape2d/gs_epsilon | 0.001366 | +| ape2d/gs_gamma | 0.049313 | +| ape2d/gs_iota | 0.001785 | +| ape2d/gs_kappa | 0.004855 | +| ape2d/gs_theta | 0.004678 | +| ape2d/kdv | 0.016728 | +| ape2d/kolm_flow | 0.008926 | +| ape2d/ks | 0.000039 | +| ape2d/sh | 0.000004 | +| pdearena/navier_stokes_2d | 0.000083 | +| well/active_matter | 0.039040 | +| well/turbulent_radiative_layer_2D | 0.453701 | + +Outcome: improvement; published atomically. + +## E034 — late-checkpoint parameter averaging +- Hypothesis / changed factor: Equal parameter average of phase6 updates2000/3000/4000, a single predeclared candidate to reduce late-training optimization variation. No new optimization or data fitting; all three checkpoints were trained together across all19 datasets, initialization seed20261021 and sampling seed20261025. Accumulate in float64 and return original parameter dtype. Same shared averaged weights apply to every case. Preserve current fixed physical operators and shared auxiliary decoders. Source training checkpoint hashes and equal coefficients are in model_manifest.json and weight_average_v1/lineage.json. Replay nine neural valid cases, reuse72 complete physical outputs, and check exact determinism and novel grids if improved. +- Seed: 20261025. +- Checkpoint SHA256: `fd0a824960ba9ea91ca6de3b25c8030d2a0c665bfe08910dcd5dae25fcbb8ff7`. +- Runtime code SHA256: `b550a87bfb3428c51ba9c4aea3c27cafa1a714de17372e387be9dc041d9ffdad`. +- Validation: fixed 81-case subset; reward **0.812766**, failed cases 0. + +| Dataset | VRMSE | +|---|---:| +| ape2d/burgers | 0.006413 | +| ape2d/decay_turb | 0.000381 | +| ape2d/diff | 0.000003 | +| ape2d/fisher | 0.000003 | +| ape2d/gs_alpha | 0.003095 | +| ape2d/gs_beta | 0.004740 | +| ape2d/gs_delta | 0.019250 | +| ape2d/gs_epsilon | 0.001366 | +| ape2d/gs_gamma | 0.049313 | +| ape2d/gs_iota | 0.001785 | +| ape2d/gs_kappa | 0.004855 | +| ape2d/gs_theta | 0.004678 | +| ape2d/kdv | 0.016728 | +| ape2d/kolm_flow | 0.008926 | +| ape2d/ks | 0.000039 | +| ape2d/sh | 0.000004 | +| pdearena/navier_stokes_2d | 0.000083 | +| well/active_matter | 0.039040 | +| well/turbulent_radiative_layer_2D | 0.452162 | + +Outcome: improvement; published atomically. + +## E033a — coarse interaction checkpoint and blend selection + +Same shared branch trained across all19 datasets, random seed20261103. Changed factors: training checkpoint and fixed output blend. All nine neural validation trajectories; physical outputs are unchanged. Each checkpoint is identified by its training-file SHA256 below. Full source and training configuration are in coarse_interaction_v1/phase1/source and config.json. + +| Update | Blend | Radiative-layer VRMSE | Checkpoint SHA256 | +|---|---:|---:|---| +| 2000 | 0.0 | 0.45216160 | `547715dd80dc733986dc756fe92d96fed0f68926438f1a80ffb2a99c987b8488` | +| 2000 | 0.25 | 0.45186873 | `547715dd80dc733986dc756fe92d96fed0f68926438f1a80ffb2a99c987b8488` | +| 2000 | 0.5 | 0.45240534 | `547715dd80dc733986dc756fe92d96fed0f68926438f1a80ffb2a99c987b8488` | +| 2000 | 1.0 | 0.45590097 | `547715dd80dc733986dc756fe92d96fed0f68926438f1a80ffb2a99c987b8488` | +| 6000 | 0.0 | 0.45216160 | `4998f5dd3904a32be09f01f715a28acaa9b4c548c64a6bc9146659691f7c09c1` | +| 6000 | 0.25 | 0.45148496 | `4998f5dd3904a32be09f01f715a28acaa9b4c548c64a6bc9146659691f7c09c1` | +| 6000 | 0.5 | 0.45166160 | `4998f5dd3904a32be09f01f715a28acaa9b4c548c64a6bc9146659691f7c09c1` | +| 6000 | 1.0 | 0.45455921 | `4998f5dd3904a32be09f01f715a28acaa9b4c548c64a6bc9146659691f7c09c1` | +| 12000 | 0.0 | 0.45216160 | `6c23c212f450cc9ddfdfda94aa0f524f76c0ef33f5374e26004914cc321d06e4` | +| 12000 | 0.25 | 0.45151015 | `6c23c212f450cc9ddfdfda94aa0f524f76c0ef33f5374e26004914cc321d06e4` | +| 12000 | 0.5 | 0.45176523 | `6c23c212f450cc9ddfdfda94aa0f524f76c0ef33f5374e26004914cc321d06e4` | +| 12000 | 1.0 | 0.45496820 | `6c23c212f450cc9ddfdfda94aa0f524f76c0ef33f5374e26004914cc321d06e4` | + +Unchanged validation datasets for every analytical ablation: + +| Dataset | VRMSE | +|---|---:| +| ape2d/burgers | 0.00641268 | +| ape2d/decay_turb | 0.00038142 | +| ape2d/diff | 0.00000260 | +| ape2d/fisher | 0.00000341 | +| ape2d/gs_alpha | 0.00309470 | +| ape2d/gs_beta | 0.00474027 | +| ape2d/gs_delta | 0.01924967 | +| ape2d/gs_epsilon | 0.00136617 | +| ape2d/gs_gamma | 0.04931292 | +| ape2d/gs_iota | 0.00178479 | +| ape2d/gs_kappa | 0.00485456 | +| ape2d/gs_theta | 0.00467797 | +| ape2d/kdv | 0.01672801 | +| ape2d/kolm_flow | 0.00892557 | +| ape2d/ks | 0.00003913 | +| ape2d/sh | 0.00000371 | +| pdearena/navier_stokes_2d | 0.00008349 | +| well/active_matter | 0.03904003 | + +Outcome: proceed to complete package replay. + +## E035 — Periodic translation augmentation for the coarse branch (preparation) + +Hypothesis: a dense coarse-field predictor should see translated versions of periodic patterns during training. Changed factor: random whole-cell shifts along metadata-declared periodic axes, applied identically to all four context grids and the target. Keep architecture, initialization seed20261103, training sample sequence,12000 updates and all optimizer settings from E033. Use a separate augmentation RNG seed20261104. Train across all19 datasets on two CPU threads; no additional GPU trainer. Marginal means and variances are invariant to these cell permutations. Compare the replacement branch on the current shared neural parent with its previous coarse correction disabled, then replay the full proposed package. Validation results and checkpoint hashes pending. + +## E033 — shared coarse interaction forecast, composite replay +- Hypothesis / changed factor: Add one shared coarse interaction forecast branch, trained from random seed20261103 on all10115 audited training records and all19 datasets. Two CPU threads,12000updates, batch512, width192, selected update6000 and fixed blend0.25. Four context coarse fields, means, variances, metadata and horizon predict the two-dimensional interaction component at4 by16 resolution. The fixed correction preserves existing spatial means and marginal profiles; every branch is evaluated on every case, while complete physical prefixes remain authoritative. Replay nine neural valid cases, reuse72 unchanged full physical outputs, and check exact neural/active/diffusion/novel-grid determinism before publication. All checkpoint/blend results including negative ablations appear in E033a. Training and packaged checkpoint hashes are in model_manifest.json. No pretrained assets or inference-time fitting. +- Seed: 20261025. +- Checkpoint SHA256: `fd0a824960ba9ea91ca6de3b25c8030d2a0c665bfe08910dcd5dae25fcbb8ff7`. +- Runtime code SHA256: `ead6921e9fcb8924118472a881e78c2e0cf57f1a3b23d848b9ddaadfa36bc4ab`. +- Validation: fixed 81-case subset; reward **0.812821**, failed cases 0. + +| Dataset | VRMSE | +|---|---:| +| ape2d/burgers | 0.006413 | +| ape2d/decay_turb | 0.000381 | +| ape2d/diff | 0.000003 | +| ape2d/fisher | 0.000003 | +| ape2d/gs_alpha | 0.003095 | +| ape2d/gs_beta | 0.004740 | +| ape2d/gs_delta | 0.019250 | +| ape2d/gs_epsilon | 0.001366 | +| ape2d/gs_gamma | 0.049313 | +| ape2d/gs_iota | 0.001785 | +| ape2d/gs_kappa | 0.004855 | +| ape2d/gs_theta | 0.004678 | +| ape2d/kdv | 0.016728 | +| ape2d/kolm_flow | 0.008926 | +| ape2d/ks | 0.000039 | +| ape2d/sh | 0.000004 | +| pdearena/navier_stokes_2d | 0.000083 | +| well/active_matter | 0.039040 | +| well/turbulent_radiative_layer_2D | 0.451485 | + +Outcome: improvement; published atomically. + +## E035a — coarse interaction checkpoint and blend selection + +Same shared branch trained across all19 datasets, random seed20261103. Changed training factor: random coarse-cell translations on periodic axes with augmentation seed20261104, preserving initialization seed20261103 and the training sample sequence. Selection factors: checkpoint and fixed output blend. All nine neural validation trajectories; physical outputs are unchanged. Each checkpoint is identified by its training-file SHA256 below. Full source and training configuration are in coarse_equivariant_v1/phase1/source and config.json. + +| Update | Blend | Radiative-layer VRMSE | Checkpoint SHA256 | +|---|---:|---:|---| +| 2000 | 0.0 | 0.45216160 | `f7eccd5c589dddd1f05e1be14378e442c89524323bc4c2e1ed4fd6584b61c456` | +| 2000 | 0.25 | 0.45326987 | `f7eccd5c589dddd1f05e1be14378e442c89524323bc4c2e1ed4fd6584b61c456` | +| 2000 | 0.5 | 0.45515343 | `f7eccd5c589dddd1f05e1be14378e442c89524323bc4c2e1ed4fd6584b61c456` | +| 2000 | 1.0 | 0.46107193 | `f7eccd5c589dddd1f05e1be14378e442c89524323bc4c2e1ed4fd6584b61c456` | +| 6000 | 0.0 | 0.45216160 | `7b7d3f8e517702b18a518497fdab3648b02b01940b79111045de2e1393114044` | +| 6000 | 0.25 | 0.45202987 | `7b7d3f8e517702b18a518497fdab3648b02b01940b79111045de2e1393114044` | +| 6000 | 0.5 | 0.45258554 | `7b7d3f8e517702b18a518497fdab3648b02b01940b79111045de2e1393114044` | +| 6000 | 1.0 | 0.45570121 | `7b7d3f8e517702b18a518497fdab3648b02b01940b79111045de2e1393114044` | +| 12000 | 0.0 | 0.45216160 | `d45b11f7789c5250563751c49b12a63b80f8c8efddfd3c543e4af006eb2f8601` | +| 12000 | 0.25 | 0.45188915 | `d45b11f7789c5250563751c49b12a63b80f8c8efddfd3c543e4af006eb2f8601` | +| 12000 | 0.5 | 0.45231514 | `d45b11f7789c5250563751c49b12a63b80f8c8efddfd3c543e4af006eb2f8601` | +| 12000 | 1.0 | 0.45521523 | `d45b11f7789c5250563751c49b12a63b80f8c8efddfd3c543e4af006eb2f8601` | + +Unchanged validation datasets for every analytical ablation: + +| Dataset | VRMSE | +|---|---:| +| ape2d/burgers | 0.00641268 | +| ape2d/decay_turb | 0.00038142 | +| ape2d/diff | 0.00000260 | +| ape2d/fisher | 0.00000341 | +| ape2d/gs_alpha | 0.00309470 | +| ape2d/gs_beta | 0.00474027 | +| ape2d/gs_delta | 0.01924967 | +| ape2d/gs_epsilon | 0.00136617 | +| ape2d/gs_gamma | 0.04931292 | +| ape2d/gs_iota | 0.00178479 | +| ape2d/gs_kappa | 0.00485456 | +| ape2d/gs_theta | 0.00467797 | +| ape2d/kdv | 0.01672801 | +| ape2d/kolm_flow | 0.00892557 | +| ape2d/ks | 0.00003913 | +| ape2d/sh | 0.00000371 | +| pdearena/navier_stokes_2d | 0.00008349 | +| well/active_matter | 0.03904003 | + +Outcome: proceed to complete package replay. + +## E030 — learned coarse-statistic guidance, update 1000, shrink +- Hypothesis / changed factor: Train one shared guided operator from the validation-selected phase6 parent. Add528 zero-initialized stem weights that consume normalized future coarse mean/profile fields from the frozen shared auxiliary model. All forecasts of these guide fields use only the original four context frames and metadata. Sixteen-step fully backpropagated loss, capped at ten Arena steps; batch6, learning rate0.00003 cosine, native thermal grids, noise0.01, group probabilities0.05/0.075/0.075/0.8. Sampling seed20261102; new guidance initialization seed20261101, inherited main initialization20261021 and auxiliary seed20261031. Parent hashes in phase7/lineage.json. Fixed profile shrinkage 0.75; statistical output corrections enabled=True, while learned guidance remains active. Rerun nine neural validation cases and reuse72 complete physical outputs documented in physical_cache_source.json. No pretrained assets or inference-time fitting. +- Seed: 20261102. +- Checkpoint SHA256: `1ecd27a33702b3ea517ebae81477612153fd68e0043448960fb16c98ac3b12a1`. +- Runtime code SHA256: `240df3b587dc919b7d002c7fbcc51ab99b3510a1cedd49f0008c6e7a52b82764`. +- Validation: fixed 81-case subset; reward **0.812394**, failed cases 0. + +| Dataset | VRMSE | +|---|---:| +| ape2d/burgers | 0.006413 | +| ape2d/decay_turb | 0.000381 | +| ape2d/diff | 0.000003 | +| ape2d/fisher | 0.000003 | +| ape2d/gs_alpha | 0.003095 | +| ape2d/gs_beta | 0.004740 | +| ape2d/gs_delta | 0.019250 | +| ape2d/gs_epsilon | 0.001366 | +| ape2d/gs_gamma | 0.049313 | +| ape2d/gs_iota | 0.001785 | +| ape2d/gs_kappa | 0.004855 | +| ape2d/gs_theta | 0.004678 | +| ape2d/kdv | 0.016728 | +| ape2d/kolm_flow | 0.008926 | +| ape2d/ks | 0.000039 | +| ape2d/sh | 0.000004 | +| pdearena/navier_stokes_2d | 0.000083 | +| well/active_matter | 0.039040 | +| well/turbulent_radiative_layer_2D | 0.456839 | + +Outcome: did not improve validation reward; retained current package. + +## E035 — shared coarse interaction forecast, composite replay +- Hypothesis / changed factor: Replace the shared coarse interaction forecast with one trained using periodic-axis translations, augmentation seed20261104, retaining random initialization seed20261103 on all10115 audited training records and all19 datasets. Two CPU threads,12000updates, batch512, width192, selected update12000 and fixed blend0.25. Four context coarse fields, means, variances, metadata and horizon predict the two-dimensional interaction component at4 by16 resolution. The fixed correction preserves existing spatial means and marginal profiles; every branch is evaluated on every case, while complete physical prefixes remain authoritative. Replay nine neural valid cases, reuse72 unchanged full physical outputs, and check exact neural/active/diffusion/novel-grid determinism before publication. All checkpoint/blend results including negative ablations appear in E035a. Training and packaged checkpoint hashes are in model_manifest.json. No pretrained assets or inference-time fitting. +- Seed: 20261025. +- Checkpoint SHA256: `fd0a824960ba9ea91ca6de3b25c8030d2a0c665bfe08910dcd5dae25fcbb8ff7`. +- Runtime code SHA256: `7d340568043fdd29cfb0382ba3c1065e35f9172396a7f37b5a0809dedecf9f16`. +- Validation: fixed 81-case subset; reward **0.812788**, failed cases 0. + +| Dataset | VRMSE | +|---|---:| +| ape2d/burgers | 0.006413 | +| ape2d/decay_turb | 0.000381 | +| ape2d/diff | 0.000003 | +| ape2d/fisher | 0.000003 | +| ape2d/gs_alpha | 0.003095 | +| ape2d/gs_beta | 0.004740 | +| ape2d/gs_delta | 0.019250 | +| ape2d/gs_epsilon | 0.001366 | +| ape2d/gs_gamma | 0.049313 | +| ape2d/gs_iota | 0.001785 | +| ape2d/gs_kappa | 0.004855 | +| ape2d/gs_theta | 0.004678 | +| ape2d/kdv | 0.016728 | +| ape2d/kolm_flow | 0.008926 | +| ape2d/ks | 0.000039 | +| ape2d/sh | 0.000004 | +| pdearena/navier_stokes_2d | 0.000083 | +| well/active_matter | 0.039040 | +| well/turbulent_radiative_layer_2D | 0.451889 | + +Outcome: did not improve validation reward; retained current package. + +## E030 — learned coarse-statistic guidance, update 1000, no_shrink +- Hypothesis / changed factor: Train one shared guided operator from the validation-selected phase6 parent. Add528 zero-initialized stem weights that consume normalized future coarse mean/profile fields from the frozen shared auxiliary model. All forecasts of these guide fields use only the original four context frames and metadata. Sixteen-step fully backpropagated loss, capped at ten Arena steps; batch6, learning rate0.00003 cosine, native thermal grids, noise0.01, group probabilities0.05/0.075/0.075/0.8. Sampling seed20261102; new guidance initialization seed20261101, inherited main initialization20261021 and auxiliary seed20261031. Parent hashes in phase7/lineage.json. Fixed profile shrinkage 0.0; statistical output corrections enabled=True, while learned guidance remains active. Rerun nine neural validation cases and reuse72 complete physical outputs documented in physical_cache_source.json. No pretrained assets or inference-time fitting. +- Seed: 20261102. +- Checkpoint SHA256: `1ecd27a33702b3ea517ebae81477612153fd68e0043448960fb16c98ac3b12a1`. +- Runtime code SHA256: `34cea33fb726b0029c2c1734a94ceee72bd4e73bbf17e80cc9bc95a3db954165`. +- Validation: fixed 81-case subset; reward **0.811915**, failed cases 0. + +| Dataset | VRMSE | +|---|---:| +| ape2d/burgers | 0.006413 | +| ape2d/decay_turb | 0.000381 | +| ape2d/diff | 0.000003 | +| ape2d/fisher | 0.000003 | +| ape2d/gs_alpha | 0.003095 | +| ape2d/gs_beta | 0.004740 | +| ape2d/gs_delta | 0.019250 | +| ape2d/gs_epsilon | 0.001366 | +| ape2d/gs_gamma | 0.049313 | +| ape2d/gs_iota | 0.001785 | +| ape2d/gs_kappa | 0.004855 | +| ape2d/gs_theta | 0.004678 | +| ape2d/kdv | 0.016728 | +| ape2d/kolm_flow | 0.008926 | +| ape2d/ks | 0.000039 | +| ape2d/sh | 0.000004 | +| pdearena/navier_stokes_2d | 0.000083 | +| well/active_matter | 0.039040 | +| well/turbulent_radiative_layer_2D | 0.462924 | + +Outcome: did not improve validation reward; retained current package. + +## E030 — learned coarse-statistic guidance, update 1000, no_statistics +- Hypothesis / changed factor: Train one shared guided operator from the validation-selected phase6 parent. Add528 zero-initialized stem weights that consume normalized future coarse mean/profile fields from the frozen shared auxiliary model. All forecasts of these guide fields use only the original four context frames and metadata. Sixteen-step fully backpropagated loss, capped at ten Arena steps; batch6, learning rate0.00003 cosine, native thermal grids, noise0.01, group probabilities0.05/0.075/0.075/0.8. Sampling seed20261102; new guidance initialization seed20261101, inherited main initialization20261021 and auxiliary seed20261031. Parent hashes in phase7/lineage.json. Fixed profile shrinkage 0.75; statistical output corrections enabled=False, while learned guidance remains active. Rerun nine neural validation cases and reuse72 complete physical outputs documented in physical_cache_source.json. No pretrained assets or inference-time fitting. +- Seed: 20261102. +- Checkpoint SHA256: `1ecd27a33702b3ea517ebae81477612153fd68e0043448960fb16c98ac3b12a1`. +- Runtime code SHA256: `d52a0fb2cbf3e4000004b0c088c4c1143ac393ce9c9432f1cc68270ac19d5778`. +- Validation: fixed 81-case subset; reward **0.811492**, failed cases 0. + +| Dataset | VRMSE | +|---|---:| +| ape2d/burgers | 0.006413 | +| ape2d/decay_turb | 0.000381 | +| ape2d/diff | 0.000003 | +| ape2d/fisher | 0.000003 | +| ape2d/gs_alpha | 0.003095 | +| ape2d/gs_beta | 0.004740 | +| ape2d/gs_delta | 0.019250 | +| ape2d/gs_epsilon | 0.001366 | +| ape2d/gs_gamma | 0.049313 | +| ape2d/gs_iota | 0.001785 | +| ape2d/gs_kappa | 0.004855 | +| ape2d/gs_theta | 0.004678 | +| ape2d/kdv | 0.016728 | +| ape2d/kolm_flow | 0.008926 | +| ape2d/ks | 0.000039 | +| ape2d/sh | 0.000004 | +| pdearena/navier_stokes_2d | 0.000083 | +| well/active_matter | 0.039040 | +| well/turbulent_radiative_layer_2D | 0.468370 | + +Outcome: did not improve validation reward; retained current package. + +## E036 — Cross-channel covariance features with continuation control (preparation) + +Hypothesis: spatial density/pressure correlations and other channel interactions contain dynamical information absent from separate means, variances and marginal profiles. Extend the selected E026 universal mean/profile branch with92928 zero-initialized covariance projection weights. Both a frozen-zero control and a learned-covariance variant continue from the same session-trained checkpoint, using identical samples and sampling seed20261105,6000 updates, batch512, learning rate0.0001 cosine, all19 datasets and two CPU threads each. Inherited random initialization seed20261031. Only difference between variants: whether covariance projection weights can learn. Four-frame context covariances use centered float64 accumulation, normalized by context channel scales. + +Exact parent-output parity passed on one audited TRAIN context from each group. Cache/runtime covariance differences were zero except1.06e-22 in one active-matter element. The cache contains only audited10115 TRAIN records; membership was checked before reading. Compare updates1000/3000/6000 by full neural runtime replay with the selected parent’s fixed output blends. Dataset VRMSE and checkpoint hashes pending. No inference parameter fitting and no pretrained assets. Sources, checks and logs: covariance_statistics_v1. + +## E036a — controlled statistical continuation and covariance feature comparison + +Continue the selected E026 shared auxiliary checkpoint with identical training samples, optimizer schedule and seed20261105 for6000 updates. Inherited random initialization seed20261031. Both variants add a zero-initialized covariance projection; control freezes it at zero, covariance learns it jointly. Added92928 weights. All19 datasets trained together, two CPU threads per variant, batch512, learning rate0.0001 cosine, existing mean/profile loss0.25/0.75. Four-frame spatial cross-channel covariances are normalized by context scales. Fixed parent decoder blends retained; every candidate is replayed through the full neural runtime, including learned guidance if present. No pretrained assets or inference-time fitting. + +| Variant | Update | Radiative-layer VRMSE | Quick81 reward | Training checkpoint SHA256 | +|---|---:|---:|---:|---| +| control | 1000 | 0.45146565 | 0.81282209 | `1c547715b94da883224d53fc40a4cc53362a65e59b78328ebb0debc00b7fca73` | +| control | 3000 | 0.45149569 | 0.81281968 | `8b0afaf1338754dccff24b1c7fd292b8b285fd665f7f003514b51403fadb99d9` | +| control | 6000 | 0.45166733 | 0.81280593 | `428e1327e4a4e51ffe0504f9ac9a2179f5c9a6e3c8883981687ab6e45fa45ea2` | +| covariance | 1000 | 0.45160459 | 0.81281096 | `d74d3af566e3c640d1209359df40ec59a9d7209fd9ed169e5186856e534807ef` | +| covariance | 3000 | 0.45153791 | 0.81281630 | `c7414bd840c80574dee726dacf7f41a28277a262da7e4663e779fe4cff50849d` | +| covariance | 6000 | 0.45171225 | 0.81280233 | `1544b181c5f74e3348bd67fd88f1f8154d5110aabf1c8ad62b721a32a60df690` | + +The following unchanged dataset metrics apply to every candidate, reusing complete physical prefixes from the documented parent: + +| Dataset | VRMSE | +|---|---:| +| ape2d/burgers | 0.00641268 | +| ape2d/decay_turb | 0.00038142 | +| ape2d/diff | 0.00000260 | +| ape2d/fisher | 0.00000341 | +| ape2d/gs_alpha | 0.00309470 | +| ape2d/gs_beta | 0.00474027 | +| ape2d/gs_delta | 0.01924967 | +| ape2d/gs_epsilon | 0.00136617 | +| ape2d/gs_gamma | 0.04931292 | +| ape2d/gs_iota | 0.00178479 | +| ape2d/gs_kappa | 0.00485456 | +| ape2d/gs_theta | 0.00467797 | +| ape2d/kdv | 0.01672801 | +| ape2d/kolm_flow | 0.00892557 | +| ape2d/ks | 0.00003913 | +| ape2d/sh | 0.00000371 | +| pdearena/navier_stokes_2d | 0.00008349 | +| well/active_matter | 0.03904003 | + +Outcome: select the best complete-package result for contract checks and comparison against the current published package. All regressions remain recorded above. + +## E036 — shared channel-covariance statistics +- Hypothesis / changed factor: Controlled continuation of the shared statistical branch, selected modecontrol update1000. Start from session-trained E026, add92928 zero-initialized covariance projection weights, and compare freezing them against learning them with the same seed20261105 and sample sequence. All19 datasets trained together for6000updates at learning rate0.0001; inherited initialization seed20261031. Only the original four context frames supply channel covariances, means, variances and profiles. Same branch evaluated on every case. Replay all nine neural validation cases for each of six checkpoint/variant pairs, with current fixed decoder blends; reuse72 complete physical outputs. All results, seeds and hashes are documented in E036a and the manifest. Exact neural/novel-grid and smoke/diffusion checks precede a winning publication. +- Seed: 20261025. +- Checkpoint SHA256: `fd0a824960ba9ea91ca6de3b25c8030d2a0c665bfe08910dcd5dae25fcbb8ff7`. +- Runtime code SHA256: `254c11b3fd56624d3b695e25f7d980c48e04d399b76ef8111ce158e26fcaf483`. +- Validation: fixed 81-case subset; reward **0.812822**, failed cases 0. + +| Dataset | VRMSE | +|---|---:| +| ape2d/burgers | 0.006413 | +| ape2d/decay_turb | 0.000381 | +| ape2d/diff | 0.000003 | +| ape2d/fisher | 0.000003 | +| ape2d/gs_alpha | 0.003095 | +| ape2d/gs_beta | 0.004740 | +| ape2d/gs_delta | 0.019250 | +| ape2d/gs_epsilon | 0.001366 | +| ape2d/gs_gamma | 0.049313 | +| ape2d/gs_iota | 0.001785 | +| ape2d/gs_kappa | 0.004855 | +| ape2d/gs_theta | 0.004678 | +| ape2d/kdv | 0.016728 | +| ape2d/kolm_flow | 0.008926 | +| ape2d/ks | 0.000039 | +| ape2d/sh | 0.000004 | +| pdearena/navier_stokes_2d | 0.000083 | +| well/active_matter | 0.039040 | +| well/turbulent_radiative_layer_2D | 0.451466 | + +Outcome: improvement; published atomically. + +## E036b — covariance hypothesis rejected by the matched control + +At every paired checkpoint, learned covariance features scored worse than the frozen-zero control: update1000 control0.451465647 vs covariance0.451604591;3000 control0.451495692 vs covariance0.451537907;6000 control0.451667333 vs covariance0.451712249 on radiative-layer valid VRMSE. The feature hypothesis is rejected. The control’s1000-update continuation has only a tiny improvement over the prior0.451484957 and was selected after exact neural/unknown/smoke/diffusion checks. Its covariance projection remains identically zero; no gain is attributed to the new features. Other dataset VRMSE and all checkpoint hashes are listed in E036a. No separate specialist models are used. + +## E037 — Resolved continuity feasibility diagnostic (preparation) + +Hypothesis: a fixed conservative density transport may explain or reduce residual density error. First test a second-order MUSCL/minmod, SSP-RK2 continuity update using temporally interpolated velocities on three audited TRAIN trajectories with low/medium/high cooling time. X periodic, Y open; metadata grid spacing/time, maximum summed Courant number0.4. Future TRAIN velocities are used only as an oracle feasibility diagnostic, never as an inference input or proposed package. No random seed or learned checkpoint; validation per dataset not evaluated. Results and source retained in continuity_v1. Proceed to forecast-velocity tests only if this diagnostic supports the operator. + +## E037a — continuity feasibility result: reject direct transport + +Using true future velocities from TRAIN trajectories only, the fixed conservative density update gives density-channel VRMSE: + +| Cooling time | Density VRMSE | +|---|---:| +| 0.03 | 0.16781393 | +| 0.32 | 0.18198222 | +| 3.16 | 0.41145309 | + +The high-cooling-time case remains inaccurate even with oracle velocities, so no forecast-velocity candidate or validation tuning is pursued. Additional TRAIN differential diagnostics found weak continuity alignment: correlations0.20–0.30 over early frames and0.37–0.54 over the full window. Swapping velocity components did not repair it. Fitted diagnostic scalars were not deployed. These results do not distinguish temporal sampling, numerical discretization and unresolved dynamics as causes. No package operator change; no learned checkpoint or random seed; other datasets were not evaluated. + +## E038 — complete rollout training preparation + +Hypothesis: matching the full scored horizon reduces the training/inference rollout gap. Prepare up to30 autoregressive steps, capped by corpus26/Arena10 available frames. Three microbatches of two accumulate gradients into effective batch6, freeing each graph before the next to fit one H100. Keep existing log1p variance-normalized loss, learning rate0.00003, noise0.01, group probabilities0.05/0.075/0.075/0.8 and25% initial-window sampling. Sampling seed20261106,4000 planned optimizer updates. Preserve whichever shared architecture and complete package is selected at launch. + +Queued transition policy: after all phase7/update3000 variants finish, move on if phase7 has supplied no selected main checkpoint; otherwise allow phase7 to complete6000 updates. Stop the previous trainer and workers and verify exit before starting phase8. No second GPU trainer is running. The new trainer supports both guided and unguided selected architectures. CPU guidance/runtime parity passed on an audited train window and its periodic translation, including covariance-capable statistical modules. No optimizer step or new model checkpoint has been produced yet. Sources: full_rollout_v1 and launch_phase8.py/watch_phase8.py. + +## Full validation of quadrature_wide_candidate + +All 585 validation trajectories, starting at frame 0; no held-out trajectories. Reward **0.779384**, failed cases 0. Neural initialization seed 20261021; sampling seed 20261025; checkpoint SHA256 `f2428e6dc68d46a87431091b096a2643398cf16b020e4f408af1debbea3c7b39`. Same model as the corresponding quick-validation experiment; changed factor: expanded validation sample only. + +| Dataset | VRMSE | +|---|---:| +| ape2d/burgers | 0.007568 | +| ape2d/decay_turb | 0.000289 | +| ape2d/diff | 0.000003 | +| ape2d/fisher | 0.000005 | +| ape2d/gs_alpha | 0.003239 | +| ape2d/gs_beta | 0.004901 | +| ape2d/gs_delta | 0.022624 | +| ape2d/gs_epsilon | 0.000889 | +| ape2d/gs_gamma | 0.062780 | +| ape2d/gs_iota | 0.006619 | +| ape2d/gs_kappa | 0.008764 | +| ape2d/gs_theta | 0.019424 | +| ape2d/kdv | 0.024675 | +| ape2d/kolm_flow | 0.011662 | +| ape2d/ks | 0.000024 | +| ape2d/sh | 0.000005 | +| pdearena/navier_stokes_2d | 0.000081 | +| well/active_matter | 0.090265 | +| well/turbulent_radiative_layer_2D | 0.453701 | + +Expanded fixed state quadrature from12 to all24 active validation trajectories. Replayed the missing12, reused12 quick outputs only after exact context equality, and verified30/30 common physical steps for every active case. The552 corpus/smoke outputs are reused from global2000 full validation after exact physical asset/configuration equality checks and complete physical coverage. The nine neural outputs come from this exact package’s quick validation with matching inputs. All585 cases scored together; no held-out trajectories or inference caches. + +Outcome: recorded full validation for audit and comparison; no automatic comparison against the distinct quick-validation sample. + +E038 preparation check detail: the initial combined training-batch/horizon statistical call differed from separate inference calls by up to1.53e-5 in float32 physical units. No model was trained or published with that new trainer. Evaluating each case with the same horizon-batch shape as inference removed the rounding difference; the repeated two-case TRAIN check now has exact maximum difference0.0 for means and profiles. Evidence: full_rollout_v1/guidance_checks.json. + +## Full validation of weight_average_candidate + +All 585 validation trajectories, starting at frame 0; no held-out trajectories. Reward **0.779507**, failed cases 0. Neural initialization seed 20261021; sampling seed 20261025; checkpoint SHA256 `fd0a824960ba9ea91ca6de3b25c8030d2a0c665bfe08910dcd5dae25fcbb8ff7`. Same model as the corresponding quick-validation experiment; changed factor: expanded validation sample only. + +| Dataset | VRMSE | +|---|---:| +| ape2d/burgers | 0.007568 | +| ape2d/decay_turb | 0.000289 | +| ape2d/diff | 0.000003 | +| ape2d/fisher | 0.000005 | +| ape2d/gs_alpha | 0.003239 | +| ape2d/gs_beta | 0.004901 | +| ape2d/gs_delta | 0.022624 | +| ape2d/gs_epsilon | 0.000889 | +| ape2d/gs_gamma | 0.062780 | +| ape2d/gs_iota | 0.006619 | +| ape2d/gs_kappa | 0.008764 | +| ape2d/gs_theta | 0.019424 | +| ape2d/kdv | 0.024675 | +| ape2d/kolm_flow | 0.011662 | +| ape2d/ks | 0.000024 | +| ape2d/sh | 0.000005 | +| pdearena/navier_stokes_2d | 0.000081 | +| well/active_matter | 0.090265 | +| well/turbulent_radiative_layer_2D | 0.452162 | + +Exact reuse protocol for a shared-neural change: all physical assets/configuration match /run-state/workspace/research/universal_v1/quadrature_wide_candidate. The source per-case log audit verifies552 complete corpus/smoke physical rollouts and24 complete active rollouts; their576 outputs are independent of neural weights, including any mean-forecast branch. The nine neural radiative-layer outputs were replayed in this model’s quick validation, with exact context equality to full inputs. Reuse these verified outputs and score all585 validation trajectories together. Per-case physical coverage is retained in full_physical_coverage.json. + +Outcome: recorded full validation for audit and comparison; no automatic comparison against the distinct quick-validation sample. + +## Full validation of coarse_interaction_candidate + +All 585 validation trajectories, starting at frame 0; no held-out trajectories. Reward **0.779561**, failed cases 0. Neural initialization seed 20261021; sampling seed 20261025; checkpoint SHA256 `fd0a824960ba9ea91ca6de3b25c8030d2a0c665bfe08910dcd5dae25fcbb8ff7`. Same model as the corresponding quick-validation experiment; changed factor: expanded validation sample only. + +| Dataset | VRMSE | +|---|---:| +| ape2d/burgers | 0.007568 | +| ape2d/decay_turb | 0.000289 | +| ape2d/diff | 0.000003 | +| ape2d/fisher | 0.000005 | +| ape2d/gs_alpha | 0.003239 | +| ape2d/gs_beta | 0.004901 | +| ape2d/gs_delta | 0.022624 | +| ape2d/gs_epsilon | 0.000889 | +| ape2d/gs_gamma | 0.062780 | +| ape2d/gs_iota | 0.006619 | +| ape2d/gs_kappa | 0.008764 | +| ape2d/gs_theta | 0.019424 | +| ape2d/kdv | 0.024675 | +| ape2d/kolm_flow | 0.011662 | +| ape2d/ks | 0.000024 | +| ape2d/sh | 0.000005 | +| pdearena/navier_stokes_2d | 0.000081 | +| well/active_matter | 0.090265 | +| well/turbulent_radiative_layer_2D | 0.451485 | + +Exact reuse protocol for a shared-neural change: all physical assets/configuration match /run-state/workspace/research/universal_v1/quadrature_wide_candidate. The source per-case log audit verifies552 complete corpus/smoke physical rollouts and24 complete active rollouts; their576 outputs are independent of neural weights, including any mean-forecast branch. The nine neural radiative-layer outputs were replayed in this model’s quick validation, with exact context equality to full inputs. Reuse these verified outputs and score all585 validation trajectories together. Per-case physical coverage is retained in full_physical_coverage.json. + +Outcome: recorded full validation for audit and comparison; no automatic comparison against the distinct quick-validation sample. + +## Full validation of control_001000 + +All 585 validation trajectories, starting at frame 0; no held-out trajectories. Reward **0.779562**, failed cases 0. Neural initialization seed 20261021; sampling seed 20261025; checkpoint SHA256 `fd0a824960ba9ea91ca6de3b25c8030d2a0c665bfe08910dcd5dae25fcbb8ff7`. Same model as the corresponding quick-validation experiment; changed factor: expanded validation sample only. + +| Dataset | VRMSE | +|---|---:| +| ape2d/burgers | 0.007568 | +| ape2d/decay_turb | 0.000289 | +| ape2d/diff | 0.000003 | +| ape2d/fisher | 0.000005 | +| ape2d/gs_alpha | 0.003239 | +| ape2d/gs_beta | 0.004901 | +| ape2d/gs_delta | 0.022624 | +| ape2d/gs_epsilon | 0.000889 | +| ape2d/gs_gamma | 0.062780 | +| ape2d/gs_iota | 0.006619 | +| ape2d/gs_kappa | 0.008764 | +| ape2d/gs_theta | 0.019424 | +| ape2d/kdv | 0.024675 | +| ape2d/kolm_flow | 0.011662 | +| ape2d/ks | 0.000024 | +| ape2d/sh | 0.000005 | +| pdearena/navier_stokes_2d | 0.000081 | +| well/active_matter | 0.090265 | +| well/turbulent_radiative_layer_2D | 0.451466 | + +Exact reuse protocol for a shared-neural change: all physical assets/configuration match /run-state/workspace/research/universal_v1/quadrature_wide_candidate. The source per-case log audit verifies552 complete corpus/smoke physical rollouts and24 complete active rollouts; their576 outputs are independent of neural weights, including any mean-forecast branch. The nine neural radiative-layer outputs were replayed in this model’s quick validation, with exact context equality to full inputs. Reuse these verified outputs and score all585 validation trajectories together. Per-case physical coverage is retained in full_physical_coverage.json. + +Outcome: recorded full validation for audit and comparison; no automatic comparison against the distinct quick-validation sample. + +## E029c — restore narrow quadrature after full validation +- Hypothesis / changed factor: The larger VALID cohort reverses E029: width3e-4 activeVRMSE0.090264899 versus width1e-4 0.087454288 across all24 trajectories, despite improving the first12. Restore width1e-4 while preserving the current averaged main weights and all selected auxiliary branches. No retraining or new random parameters; fixed latent seed20261026. Exact physical source/config parity and complete576-prefix coverage justify reuse of the previously validated narrow physical outputs; nine neural outputs are unchanged, with exact quick/full context equality. All runtime assets remain self-contained. Select using the full585 reward rather than the misleading quick81 ranking; full group metrics and provenance are retained. +- Seed: 20261025. +- Checkpoint SHA256: `fd0a824960ba9ea91ca6de3b25c8030d2a0c665bfe08910dcd5dae25fcbb8ff7`. +- Runtime code SHA256: `81a0ca9ff1e18280e3f4ad44b69ab7cf2d0588dabff10f45b147f4b4049c852b`. +- Validation: fixed 81-case subset; reward **0.811403**, failed cases 0. + +| Dataset | VRMSE | +|---|---:| +| ape2d/burgers | 0.006413 | +| ape2d/decay_turb | 0.000381 | +| ape2d/diff | 0.000003 | +| ape2d/fisher | 0.000003 | +| ape2d/gs_alpha | 0.003095 | +| ape2d/gs_beta | 0.004740 | +| ape2d/gs_delta | 0.019250 | +| ape2d/gs_epsilon | 0.001366 | +| ape2d/gs_gamma | 0.049313 | +| ape2d/gs_iota | 0.001785 | +| ape2d/gs_kappa | 0.004855 | +| ape2d/gs_theta | 0.004678 | +| ape2d/kdv | 0.016728 | +| ape2d/kolm_flow | 0.008926 | +| ape2d/ks | 0.000039 | +| ape2d/sh | 0.000004 | +| pdearena/navier_stokes_2d | 0.000083 | +| well/active_matter | 0.040601 | +| well/turbulent_radiative_layer_2D | 0.451466 | + +Selection basis: full585 physical-operator comparison: candidate0.78070730, current0.77956248 + +Outcome: improvement; published atomically. + +## Full validation of quadrature_revert_candidate + +All 585 validation trajectories, starting at frame 0; no held-out trajectories. Reward **0.780707**, failed cases 0. Neural initialization seed 20261021; sampling seed 20261025; checkpoint SHA256 `fd0a824960ba9ea91ca6de3b25c8030d2a0c665bfe08910dcd5dae25fcbb8ff7`. Same model as the corresponding quick-validation experiment; changed factor: expanded validation sample only. + +| Dataset | VRMSE | +|---|---:| +| ape2d/burgers | 0.007568 | +| ape2d/decay_turb | 0.000289 | +| ape2d/diff | 0.000003 | +| ape2d/fisher | 0.000005 | +| ape2d/gs_alpha | 0.003239 | +| ape2d/gs_beta | 0.004901 | +| ape2d/gs_delta | 0.022624 | +| ape2d/gs_epsilon | 0.000889 | +| ape2d/gs_gamma | 0.062780 | +| ape2d/gs_iota | 0.006619 | +| ape2d/gs_kappa | 0.008764 | +| ape2d/gs_theta | 0.019424 | +| ape2d/kdv | 0.024675 | +| ape2d/kolm_flow | 0.011662 | +| ape2d/ks | 0.000024 | +| ape2d/sh | 0.000005 | +| pdearena/navier_stokes_2d | 0.000081 | +| well/active_matter | 0.087454 | +| well/turbulent_radiative_layer_2D | 0.451466 | + +Restore width1e-4 after all24 active VALID trajectories reversed the first12 ranking. Exact physical source/configuration equality with quadrature_candidate proves all576 complete physical outputs reusable. Copy24 narrower active outputs plus unchanged552 corpus/Arena outputs. Preserve all current main/auxiliary weights, code and neural output settings; copy their nine neural predictions only after quick/full context equality. No inference cache is packaged. Selection uses the larger585-cohort result, explicitly overriding the misleading81-case subset ranking. + +Outcome: recorded full validation for audit and comparison; no automatic comparison against the distinct quick-validation sample. + +Selection-policy update after E029c: future physical-operator changes require full585 reports for both candidate and current model before record.py can publish them. Neural-only changes with identical physical assets/configuration may use the81-case comparison, since its nine radiative-layer cases are the entire valid pool and the physical outputs remain fixed. The active-state study E032 must compare against restored width1e-4 as well as its repeated wider control, and must validate all24 active cases before any publication. + +## E030 — learned coarse-statistic guidance, update 2000, shrink +- Hypothesis / changed factor: Train one shared guided operator from the validation-selected phase6 parent. Add528 zero-initialized stem weights that consume normalized future coarse mean/profile fields from the frozen shared auxiliary model. All forecasts of these guide fields use only the original four context frames and metadata. Sixteen-step fully backpropagated loss, capped at ten Arena steps; batch6, learning rate0.00003 cosine, native thermal grids, noise0.01, group probabilities0.05/0.075/0.075/0.8. Sampling seed20261102; new guidance initialization seed20261101, inherited main initialization20261021 and auxiliary seed20261031. Parent hashes in phase7/lineage.json. Fixed profile shrinkage 0.75; statistical output corrections enabled=True, while learned guidance remains active. Rerun nine neural validation cases and reuse72 complete physical outputs documented in physical_cache_source.json. No pretrained assets or inference-time fitting. +- Seed: 20261102. +- Checkpoint SHA256: `c7289b09d8f0531dd577ba65498292c6ab5b865887d4830e1d044c021ccc41d7`. +- Runtime code SHA256: `f2909b2ac6992e7c5328bfb609461f7733e7f9feba6bb41605dfed8d9fba67b5`. +- Validation: fixed 81-case subset; reward **0.810702**, failed cases 0. + +| Dataset | VRMSE | +|---|---:| +| ape2d/burgers | 0.006413 | +| ape2d/decay_turb | 0.000381 | +| ape2d/diff | 0.000003 | +| ape2d/fisher | 0.000003 | +| ape2d/gs_alpha | 0.003095 | +| ape2d/gs_beta | 0.004740 | +| ape2d/gs_delta | 0.019250 | +| ape2d/gs_epsilon | 0.001366 | +| ape2d/gs_gamma | 0.049313 | +| ape2d/gs_iota | 0.001785 | +| ape2d/gs_kappa | 0.004855 | +| ape2d/gs_theta | 0.004678 | +| ape2d/kdv | 0.016728 | +| ape2d/kolm_flow | 0.008926 | +| ape2d/ks | 0.000039 | +| ape2d/sh | 0.000004 | +| pdearena/navier_stokes_2d | 0.000083 | +| well/active_matter | 0.040601 | +| well/turbulent_radiative_layer_2D | 0.460297 | + +Selection basis: same physical operators; fixed81-case neural comparison + +Outcome: did not improve validation reward; retained current package. + +## E030 — learned coarse-statistic guidance, update 2000, no_shrink +- Hypothesis / changed factor: Train one shared guided operator from the validation-selected phase6 parent. Add528 zero-initialized stem weights that consume normalized future coarse mean/profile fields from the frozen shared auxiliary model. All forecasts of these guide fields use only the original four context frames and metadata. Sixteen-step fully backpropagated loss, capped at ten Arena steps; batch6, learning rate0.00003 cosine, native thermal grids, noise0.01, group probabilities0.05/0.075/0.075/0.8. Sampling seed20261102; new guidance initialization seed20261101, inherited main initialization20261021 and auxiliary seed20261031. Parent hashes in phase7/lineage.json. Fixed profile shrinkage 0.0; statistical output corrections enabled=True, while learned guidance remains active. Rerun nine neural validation cases and reuse72 complete physical outputs documented in physical_cache_source.json. No pretrained assets or inference-time fitting. +- Seed: 20261102. +- Checkpoint SHA256: `c7289b09d8f0531dd577ba65498292c6ab5b865887d4830e1d044c021ccc41d7`. +- Runtime code SHA256: `6671cf5bf2c01b1a1d198b389bf3a10df15cd3a08319580a934432fce2caa979`. +- Validation: fixed 81-case subset; reward **0.810151**, failed cases 0. + +| Dataset | VRMSE | +|---|---:| +| ape2d/burgers | 0.006413 | +| ape2d/decay_turb | 0.000381 | +| ape2d/diff | 0.000003 | +| ape2d/fisher | 0.000003 | +| ape2d/gs_alpha | 0.003095 | +| ape2d/gs_beta | 0.004740 | +| ape2d/gs_delta | 0.019250 | +| ape2d/gs_epsilon | 0.001366 | +| ape2d/gs_gamma | 0.049313 | +| ape2d/gs_iota | 0.001785 | +| ape2d/gs_kappa | 0.004855 | +| ape2d/gs_theta | 0.004678 | +| ape2d/kdv | 0.016728 | +| ape2d/kolm_flow | 0.008926 | +| ape2d/ks | 0.000039 | +| ape2d/sh | 0.000004 | +| pdearena/navier_stokes_2d | 0.000083 | +| well/active_matter | 0.040601 | +| well/turbulent_radiative_layer_2D | 0.467359 | + +Selection basis: same physical operators; fixed81-case neural comparison + +Outcome: did not improve validation reward; retained current package. + +## E030 — learned coarse-statistic guidance, update 2000, no_statistics +- Hypothesis / changed factor: Train one shared guided operator from the validation-selected phase6 parent. Add528 zero-initialized stem weights that consume normalized future coarse mean/profile fields from the frozen shared auxiliary model. All forecasts of these guide fields use only the original four context frames and metadata. Sixteen-step fully backpropagated loss, capped at ten Arena steps; batch6, learning rate0.00003 cosine, native thermal grids, noise0.01, group probabilities0.05/0.075/0.075/0.8. Sampling seed20261102; new guidance initialization seed20261101, inherited main initialization20261021 and auxiliary seed20261031. Parent hashes in phase7/lineage.json. Fixed profile shrinkage 0.75; statistical output corrections enabled=False, while learned guidance remains active. Rerun nine neural validation cases and reuse72 complete physical outputs documented in physical_cache_source.json. No pretrained assets or inference-time fitting. +- Seed: 20261102. +- Checkpoint SHA256: `c7289b09d8f0531dd577ba65498292c6ab5b865887d4830e1d044c021ccc41d7`. +- Runtime code SHA256: `8770d29e341f163d118460a6dfc5a5153ff09a1456fbb4b16399d8b1883e0443`. +- Validation: fixed 81-case subset; reward **0.810022**, failed cases 0. + +| Dataset | VRMSE | +|---|---:| +| ape2d/burgers | 0.006413 | +| ape2d/decay_turb | 0.000381 | +| ape2d/diff | 0.000003 | +| ape2d/fisher | 0.000003 | +| ape2d/gs_alpha | 0.003095 | +| ape2d/gs_beta | 0.004740 | +| ape2d/gs_delta | 0.019250 | +| ape2d/gs_epsilon | 0.001366 | +| ape2d/gs_gamma | 0.049313 | +| ape2d/gs_iota | 0.001785 | +| ape2d/gs_kappa | 0.004855 | +| ape2d/gs_theta | 0.004678 | +| ape2d/kdv | 0.016728 | +| ape2d/kolm_flow | 0.008926 | +| ape2d/ks | 0.000039 | +| ape2d/sh | 0.000004 | +| pdearena/navier_stokes_2d | 0.000083 | +| well/active_matter | 0.040601 | +| well/turbulent_radiative_layer_2D | 0.469027 | + +Selection basis: same physical operators; fixed81-case neural comparison + +Outcome: did not improve validation reward; retained current package. + +## E039 — equal averaging across the guidance extension +- Hypothesis / changed factor: Equal parameter average of the current selected shared main model and phase7/update1000, the better individual guided checkpoint so far. Extend the unguided parent with528 zero guide weights before averaging, preserving its function; accumulate in float64 and return original dtypes. This remains a single shared network evaluated on every case. No new optimization, pretrained assets or inference-time fitting. Source checkpoint hashes, equal coefficients and zero extension are in the manifest and mixed_average_v1/lineage.json. Inherited main initialization20261021, phase6 sampling20261025, guidance initialization20261101 and phase7 sampling20261102. Keep all selected physical operators and auxiliary branches. Replay nine neural valid cases, reuse72 complete physical outputs, and check exact neural/novel-grid determinism before publication. +- Seed: 20261102. +- Checkpoint SHA256: `e4d1863c759fba48fd588f3e382c94733af1d529db1753d4f095d0134df7d643`. +- Runtime code SHA256: `d6ba1f84a29f2a2e52dbc9debda8f6a703fc3a12bb687fbeb6b69b8adb9b68c3`. +- Validation: fixed 81-case subset; reward **0.811432**, failed cases 0. + +| Dataset | VRMSE | +|---|---:| +| ape2d/burgers | 0.006413 | +| ape2d/decay_turb | 0.000381 | +| ape2d/diff | 0.000003 | +| ape2d/fisher | 0.000003 | +| ape2d/gs_alpha | 0.003095 | +| ape2d/gs_beta | 0.004740 | +| ape2d/gs_delta | 0.019250 | +| ape2d/gs_epsilon | 0.001366 | +| ape2d/gs_gamma | 0.049313 | +| ape2d/gs_iota | 0.001785 | +| ape2d/gs_kappa | 0.004855 | +| ape2d/gs_theta | 0.004678 | +| ape2d/kdv | 0.016728 | +| ape2d/kolm_flow | 0.008926 | +| ape2d/ks | 0.000039 | +| ape2d/sh | 0.000004 | +| pdearena/navier_stokes_2d | 0.000083 | +| well/active_matter | 0.040601 | +| well/turbulent_radiative_layer_2D | 0.451106 | + +Selection basis: same physical operators; fixed81-case neural comparison + +Outcome: improvement; published atomically. + +## Full validation of mixed_average_candidate + +All 585 validation trajectories, starting at frame 0; no held-out trajectories. Reward **0.780736**, failed cases 0. Neural initialization seed 20261021; sampling seed 20261102; checkpoint SHA256 `e4d1863c759fba48fd588f3e382c94733af1d529db1753d4f095d0134df7d643`. Same model as the corresponding quick-validation experiment; changed factor: expanded validation sample only. + +| Dataset | VRMSE | +|---|---:| +| ape2d/burgers | 0.007568 | +| ape2d/decay_turb | 0.000289 | +| ape2d/diff | 0.000003 | +| ape2d/fisher | 0.000005 | +| ape2d/gs_alpha | 0.003239 | +| ape2d/gs_beta | 0.004901 | +| ape2d/gs_delta | 0.022624 | +| ape2d/gs_epsilon | 0.000889 | +| ape2d/gs_gamma | 0.062780 | +| ape2d/gs_iota | 0.006619 | +| ape2d/gs_kappa | 0.008764 | +| ape2d/gs_theta | 0.019424 | +| ape2d/kdv | 0.024675 | +| ape2d/kolm_flow | 0.011662 | +| ape2d/ks | 0.000024 | +| ape2d/sh | 0.000005 | +| pdearena/navier_stokes_2d | 0.000081 | +| well/active_matter | 0.087454 | +| well/turbulent_radiative_layer_2D | 0.451106 | + +Exact reuse protocol for a shared-neural change: all physical assets/configuration match /run-state/workspace/research/universal_v1/quadrature_revert_candidate. The source per-case log audit verifies552 complete corpus/smoke physical rollouts and24 complete active rollouts; their576 outputs are independent of neural weights, including any mean-forecast branch. The nine neural radiative-layer outputs were replayed in this model’s quick validation, with exact context equality to full inputs. Reuse these verified outputs and score all585 validation trajectories together. Per-case physical coverage is retained in full_physical_coverage.json. + +Outcome: recorded full validation for audit and comparison; no automatic comparison against the distinct quick-validation sample. + +## E040 — Dispersion-scaled hidden-state quadrature on fresh training trajectories + +Hypothesis: when the observed alignment|F2|/c approaches one, higher angular moments become tightly constrained, so fixed-amplitude hidden phase perturbations overstate uncertainty. Multiply an F6-and-higher perturbation field by1-|F2|/c, preserving F0,F2 and the flow-constrained F4. This is a fixed state computation; no parameters are fitted at inference. Training-input inspection found median alignment0.94/0.967/0.981/0.989 for representative zeta9/11/15/17 states, supporting a test of this constraint. + +Pilot uses the second audited TRAIN trajectory in the zeta9/alpha-3 and zeta17/alpha-5 pools, distinct from previous first-trajectory pilots. Rerun the current F4+width1e-4 baseline, F6+constant3e-4 control, and dispersion-scaled F6+base widths0.003/0.01. Three equal state nodes, latent seed20261026, unchanged kinetic parameters. Queue after E032 so only one heavy active-state study runs at once alongside the single neural GPU trainer. No new learned checkpoint or package change; validation per dataset pending. Any proposed physical change must subsequently pass all24 active validation cases and the full585 publication gate. Source and future results: uncertainty_cone_v1. + +## E032a — F6-only training pilot completed + +Four audited first TRAIN trajectories, fixed latent seed20261026 and unchanged physical source/configuration. Exact source hash/config/seed and trajectory membership match the earlier narrow baseline study. No new learned checkpoint. + +| Training parameters | First perturbed angular mode | Width | Active VRMSE | +|---|---:|---:|---:| +| [1, -1] | F4 |0.0001| 0.00162011 | +| [1, -1] | F4 | 0.0003 | 0.00162016 | +| [1, -1] | F6 | 0.0003 | 0.00162014 | +| [1, -1] | F6 | 0.001 | 0.00162015 | +| [9, -3] | F4 |0.0001| 0.00258179 | +| [9, -3] | F4 | 0.0003 | 0.00410363 | +| [9, -3] | F6 | 0.0003 | 0.00296343 | +| [9, -3] | F6 | 0.001 | 0.01561814 | +| [15, -4] | F4 |0.0001| 0.26059940 | +| [15, -4] | F4 | 0.0003 | 0.24752071 | +| [15, -4] | F6 | 0.0003 | 0.25210917 | +| [15, -4] | F6 | 0.001 | 0.23472451 | +| [17, -5] | F4 |0.0001| 0.45577160 | +| [17, -5] | F4 | 0.0003 | 0.42649895 | +| [17, -5] | F6 | 0.0003 | 0.43343046 | +| [17, -5] | F6 | 0.001 | 0.42344326 | + +All variants completed30/30 physical steps. Exploratory four-case means: {"narrow_baseline_mean": 0.18014322529779747, "candidate_means": {"(2, 0.0003)": 0.16993586576427333, "(3, 0.0003)": 0.17253080147202127, "(3, 0.001)": 0.16885151350288652}, "scope": "four first TRAIN trajectories only; no validation selection"} + +Outcome: both F6-only widths improve this small TRAIN mean relative to narrow F4, but the moderate zeta9 case worsens, especially at width0.001. These four trajectories overrepresent strong-activity regimes and cannot justify publication after E029’s cohort reversal. No validation dataset was evaluated for this operator. E040 tests fresh second training trajectories and a dispersion-scaled perturbation; any later physical proposal must pass all24 active VALID trajectories and full585 selection. + +## E030 — learned coarse-statistic guidance, update 3000, shrink +- Hypothesis / changed factor: Train one shared guided operator from the validation-selected phase6 parent. Add528 zero-initialized stem weights that consume normalized future coarse mean/profile fields from the frozen shared auxiliary model. All forecasts of these guide fields use only the original four context frames and metadata. Sixteen-step fully backpropagated loss, capped at ten Arena steps; batch6, learning rate0.00003 cosine, native thermal grids, noise0.01, group probabilities0.05/0.075/0.075/0.8. Sampling seed20261102; new guidance initialization seed20261101, inherited main initialization20261021 and auxiliary seed20261031. Parent hashes in phase7/lineage.json. Fixed profile shrinkage 0.75; statistical output corrections enabled=True, while learned guidance remains active. Rerun nine neural validation cases and reuse72 complete physical outputs documented in physical_cache_source.json. No pretrained assets or inference-time fitting. +- Seed: 20261102. +- Checkpoint SHA256: `9914b50a288baa532bf558ada319048667c41f2a3163f8c7a9177432c2373431`. +- Runtime code SHA256: `f2909b2ac6992e7c5328bfb609461f7733e7f9feba6bb41605dfed8d9fba67b5`. +- Validation: fixed 81-case subset; reward **0.811484**, failed cases 0. + +| Dataset | VRMSE | +|---|---:| +| ape2d/burgers | 0.006413 | +| ape2d/decay_turb | 0.000381 | +| ape2d/diff | 0.000003 | +| ape2d/fisher | 0.000003 | +| ape2d/gs_alpha | 0.003095 | +| ape2d/gs_beta | 0.004740 | +| ape2d/gs_delta | 0.019250 | +| ape2d/gs_epsilon | 0.001366 | +| ape2d/gs_gamma | 0.049313 | +| ape2d/gs_iota | 0.001785 | +| ape2d/gs_kappa | 0.004855 | +| ape2d/gs_theta | 0.004678 | +| ape2d/kdv | 0.016728 | +| ape2d/kolm_flow | 0.008926 | +| ape2d/ks | 0.000039 | +| ape2d/sh | 0.000004 | +| pdearena/navier_stokes_2d | 0.000083 | +| well/active_matter | 0.040601 | +| well/turbulent_radiative_layer_2D | 0.450464 | + +Selection basis: same physical operators; fixed81-case neural comparison + +Outcome: improvement; published atomically. + +## E041 — fixed periodic translation average of the shared coarse branch + +Hypothesis: averaging the coarse MLP over four cyclic translations on each periodic coarse axis reduces phase sensitivity. Use the SAME selected E033/update6000 weights, with four periodic-x rotations for thermal cases and up to sixteen combinations when both axes are periodic; never translate across a nonperiodic boundary. Mean/profile and main neural branches are unchanged. No new training, parameters, or random seed; inherited coarse initialization20261103. Changed selection factors are only group averaging and fixed output blend. Pin E039 as parent, disable its previous coarse output correction, replay all nine neural valid trajectories, then evaluate the exact quadratic error of each linear correction using the official unbiased variance. This is validation-only selection. + +Main checkpoint SHA256 `e4d1863c759fba48fd588f3e382c94733af1d529db1753d4f095d0134df7d643`; coarse packaged checkpoint SHA256 `ad9a9996912c63eaaed7aa01423bc8598c9a8c966915b277ab64ce1774027dd3`. Exact native/coarse periodic equivariance checks passed on all nine thermal contexts within floating point tolerance. Original single-branch analytical VRMSE agrees with official package scoring to8e-11. + +| Coarse computation | Blend | Radiative-layer VRMSE | +|---|---:|---:| +| single | 0.0 | 0.45183754 | +| single | 0.25 | 0.45110587 | +| single | 0.5 | 0.45123235 | +| single | 1.0 | 0.45404672 | +| orbit | 0.0 | 0.45183754 | +| orbit | 0.25 | 0.45266324 | +| orbit | 0.5 | 0.45440332 | +| orbit | 1.0 | 0.46051732 | + +Other validation datasets are unchanged in every variant: + +| Dataset | VRMSE | +|---|---:| +| ape2d/burgers | 0.00641268 | +| ape2d/decay_turb | 0.00038142 | +| ape2d/diff | 0.00000260 | +| ape2d/fisher | 0.00000341 | +| ape2d/gs_alpha | 0.00309470 | +| ape2d/gs_beta | 0.00474027 | +| ape2d/gs_delta | 0.01924967 | +| ape2d/gs_epsilon | 0.00136617 | +| ape2d/gs_gamma | 0.04931292 | +| ape2d/gs_iota | 0.00178479 | +| ape2d/gs_kappa | 0.00485456 | +| ape2d/gs_theta | 0.00467797 | +| ape2d/kdv | 0.01672801 | +| ape2d/kolm_flow | 0.00892557 | +| ape2d/ks | 0.00003913 | +| ape2d/sh | 0.00000371 | +| pdearena/navier_stokes_2d | 0.00008349 | +| well/active_matter | 0.04060092 | + +Outcome: reject periodic averaging. Every nonzero orbit blend is worse than both the current correction and the uncorrected parent. No candidate is published. This tests the inference projection of existing weights, not whether a jointly trained equivariant architecture can help. Full source, parent hashes, all per-case/channel results and equivariance checks are in coarse_orbit_v1. + +## E030 — learned coarse-statistic guidance, update 3000, no_shrink +- Hypothesis / changed factor: Train one shared guided operator from the validation-selected phase6 parent. Add528 zero-initialized stem weights that consume normalized future coarse mean/profile fields from the frozen shared auxiliary model. All forecasts of these guide fields use only the original four context frames and metadata. Sixteen-step fully backpropagated loss, capped at ten Arena steps; batch6, learning rate0.00003 cosine, native thermal grids, noise0.01, group probabilities0.05/0.075/0.075/0.8. Sampling seed20261102; new guidance initialization seed20261101, inherited main initialization20261021 and auxiliary seed20261031. Parent hashes in phase7/lineage.json. Fixed profile shrinkage 0.0; statistical output corrections enabled=True, while learned guidance remains active. Rerun nine neural validation cases and reuse72 complete physical outputs documented in physical_cache_source.json. No pretrained assets or inference-time fitting. +- Seed: 20261102. +- Checkpoint SHA256: `9914b50a288baa532bf558ada319048667c41f2a3163f8c7a9177432c2373431`. +- Runtime code SHA256: `6671cf5bf2c01b1a1d198b389bf3a10df15cd3a08319580a934432fce2caa979`. +- Validation: fixed 81-case subset; reward **0.811423**, failed cases 0. + +| Dataset | VRMSE | +|---|---:| +| ape2d/burgers | 0.006413 | +| ape2d/decay_turb | 0.000381 | +| ape2d/diff | 0.000003 | +| ape2d/fisher | 0.000003 | +| ape2d/gs_alpha | 0.003095 | +| ape2d/gs_beta | 0.004740 | +| ape2d/gs_delta | 0.019250 | +| ape2d/gs_epsilon | 0.001366 | +| ape2d/gs_gamma | 0.049313 | +| ape2d/gs_iota | 0.001785 | +| ape2d/gs_kappa | 0.004855 | +| ape2d/gs_theta | 0.004678 | +| ape2d/kdv | 0.016728 | +| ape2d/kolm_flow | 0.008926 | +| ape2d/ks | 0.000039 | +| ape2d/sh | 0.000004 | +| pdearena/navier_stokes_2d | 0.000083 | +| well/active_matter | 0.040601 | +| well/turbulent_radiative_layer_2D | 0.451222 | + +Selection basis: same physical operators; fixed81-case neural comparison + +Outcome: did not improve validation reward; retained current package. + +## E030 — learned coarse-statistic guidance, update 3000, no_statistics +- Hypothesis / changed factor: Train one shared guided operator from the validation-selected phase6 parent. Add528 zero-initialized stem weights that consume normalized future coarse mean/profile fields from the frozen shared auxiliary model. All forecasts of these guide fields use only the original four context frames and metadata. Sixteen-step fully backpropagated loss, capped at ten Arena steps; batch6, learning rate0.00003 cosine, native thermal grids, noise0.01, group probabilities0.05/0.075/0.075/0.8. Sampling seed20261102; new guidance initialization seed20261101, inherited main initialization20261021 and auxiliary seed20261031. Parent hashes in phase7/lineage.json. Fixed profile shrinkage 0.75; statistical output corrections enabled=False, while learned guidance remains active. Rerun nine neural validation cases and reuse72 complete physical outputs documented in physical_cache_source.json. No pretrained assets or inference-time fitting. +- Seed: 20261102. +- Checkpoint SHA256: `9914b50a288baa532bf558ada319048667c41f2a3163f8c7a9177432c2373431`. +- Runtime code SHA256: `8770d29e341f163d118460a6dfc5a5153ff09a1456fbb4b16399d8b1883e0443`. +- Validation: fixed 81-case subset; reward **0.810998**, failed cases 0. + +| Dataset | VRMSE | +|---|---:| +| ape2d/burgers | 0.006413 | +| ape2d/decay_turb | 0.000381 | +| ape2d/diff | 0.000003 | +| ape2d/fisher | 0.000003 | +| ape2d/gs_alpha | 0.003095 | +| ape2d/gs_beta | 0.004740 | +| ape2d/gs_delta | 0.019250 | +| ape2d/gs_epsilon | 0.001366 | +| ape2d/gs_gamma | 0.049313 | +| ape2d/gs_iota | 0.001785 | +| ape2d/gs_kappa | 0.004855 | +| ape2d/gs_theta | 0.004678 | +| ape2d/kdv | 0.016728 | +| ape2d/kolm_flow | 0.008926 | +| ape2d/ks | 0.000039 | +| ape2d/sh | 0.000004 | +| pdearena/navier_stokes_2d | 0.000083 | +| well/active_matter | 0.040601 | +| well/turbulent_radiative_layer_2D | 0.456544 | + +Selection basis: same physical operators; fixed81-case neural comparison + +Outcome: did not improve validation reward; retained current package. + +## Full validation of eval003000_shrink + +All 585 validation trajectories, starting at frame 0; no held-out trajectories. Reward **0.780788**, failed cases 0. Neural initialization seed 20261021; sampling seed 20261102; checkpoint SHA256 `9914b50a288baa532bf558ada319048667c41f2a3163f8c7a9177432c2373431`. Same model as the corresponding quick-validation experiment; changed factor: expanded validation sample only. + +| Dataset | VRMSE | +|---|---:| +| ape2d/burgers | 0.007568 | +| ape2d/decay_turb | 0.000289 | +| ape2d/diff | 0.000003 | +| ape2d/fisher | 0.000005 | +| ape2d/gs_alpha | 0.003239 | +| ape2d/gs_beta | 0.004901 | +| ape2d/gs_delta | 0.022624 | +| ape2d/gs_epsilon | 0.000889 | +| ape2d/gs_gamma | 0.062780 | +| ape2d/gs_iota | 0.006619 | +| ape2d/gs_kappa | 0.008764 | +| ape2d/gs_theta | 0.019424 | +| ape2d/kdv | 0.024675 | +| ape2d/kolm_flow | 0.011662 | +| ape2d/ks | 0.000024 | +| ape2d/sh | 0.000005 | +| pdearena/navier_stokes_2d | 0.000081 | +| well/active_matter | 0.087454 | +| well/turbulent_radiative_layer_2D | 0.450464 | + +Exact reuse protocol for a shared-neural change: all physical assets/configuration match /run-state/workspace/research/universal_v1/quadrature_revert_candidate. The source per-case log audit verifies552 complete corpus/smoke physical rollouts and24 complete active rollouts; their576 outputs are independent of neural weights, including any mean-forecast branch. The nine neural radiative-layer outputs were replayed in this model’s quick validation, with exact context equality to full inputs. Reuse these verified outputs and score all585 validation trajectories together. Per-case physical coverage is retained in full_physical_coverage.json. + +Outcome: recorded full validation for audit and comparison; no automatic comparison against the distinct quick-validation sample. + +## E042 — orthogonal radiative-layer error diagnostic + +Analyze the selected guided update3000, with no model change, on nine audited TRAIN rollouts and all nine thermal VALID rollouts. Decompose each error exactly into global mean, two axis profiles, and two-dimensional interaction. Unbiased target variance normalization; components sum to total squared error within1e-10. Source/results and parent hash are in error_components_v1. Inherited main seed20261021, guide seed20261101, sampling20261102; checkpoint SHA256 `9914b50a288baa532bf558ada319048667c41f2a3163f8c7a9177432c2373431`. + +| Cohort | Channel | VRMSE | Mean error share | X profile | Y profile | Interaction | +|---|---|---:|---:|---:|---:|---:| +| train9 | density | 0.159511 | 0.001 | 0.037 | 0.082 | 0.880 | +| train9 | pressure | 0.849566 | 0.139 | 0.023 | 0.193 | 0.645 | +| train9 | velocity_0 | 0.184589 | 0.014 | 0.010 | 0.290 | 0.686 | +| train9 | velocity_1 | 0.485618 | 0.030 | 0.111 | 0.050 | 0.808 | +| valid9 | density | 0.180323 | 0.001 | 0.035 | 0.087 | 0.877 | +| valid9 | pressure | 0.899158 | 0.229 | 0.021 | 0.231 | 0.519 | +| valid9 | velocity_0 | 0.207556 | 0.015 | 0.015 | 0.277 | 0.694 | +| valid9 | velocity_1 | 0.514820 | 0.039 | 0.096 | 0.059 | 0.807 | + +Outcome: most squared error is in the two-dimensional interaction component. Pressure also has material mean/profile error, especially in validation. This supports the planned complete-rollout training and cautions that auxiliary mean-only refinements cannot solve the dominant error. No model or inference parameter changed. Other dataset validation metrics remain those of E030/update3000 shrink. + +## E043 — hidden angular-moment consistency diagnostic (preparation) + +Hypothesis: replacing observed F0/F2 and flow-constrained F4 can leave the retained higher angular moments inconsistent with any nonnegative orientation distribution. Inspect the positive-semidefinite Toeplitz moment condition on fixed spatial subsamples of two second TRAIN trajectories, zeta9/alpha-3 and zeta17/alpha-5. Test a fixed Dykstra state projection between nonnegative128-bin doubled-angle densities and the affine first-three-moment constraint,32 or128 passes. Preserve encoded F0/F2/F4 exactly and measure the necessary PSD condition, hidden-moment change and remaining negative mass before considering rollout experiments. No parameters are optimized or trained; it is a fixed state constraint layer. No new checkpoint or validation results. Source/model/config hashes will be pinned in positive_moment_v1/parent.json. Queue after E040 so only one heavy physical study runs alongside the sole neural trainer. An initial launch named inspect.py shadowed Python’s inspect module and failed before computation; renamed analyze_state.py and relaunched. + +## E040a — dispersion-scaled pilot results + +Fresh second TRAIN trajectories; fixed latent seed20261026 and identical kinetic parameters. All variants completed30/30 physical steps. Source/config hashes are in uncertainty_cone_v1/parent.json. No new learned checkpoint; no validation datasets evaluated. + +| Zeta,alpha | First mode | Base width | Dispersion scaling | Active VRMSE | +|---|---|---:|---|---:| +| [9, -3] | F4 | 0.0001 | False | 0.00571887 | +| [9, -3] | F6 | 0.0003 | False | 0.00578518 | +| [9, -3] | F6 | 0.003 | True | 0.00579862 | +| [9, -3] | F6 | 0.01 | True | 0.00923840 | +| [17, -5] | F4 | 0.0001 | False | 0.73280036 | +| [17, -5] | F6 | 0.0003 | False | 0.70843041 | +| [17, -5] | F6 | 0.003 | True | 0.73443890 | +| [17, -5] | F6 | 0.01 | True | 0.70559788 | + +Outcome: the smaller dispersion-scaled width worsens both cases; the larger improves the strongly active case but worsens the moderate case by62%. Its paired mean0.357418 is also slightly worse than constant F6+width3e-4 at0.357108, versus narrow baseline0.369260. Thus dispersion scaling does not solve the moderate-regime regression and is not advanced to validation. Constant F6+ remains an exploratory alternative, but the present evidence does not justify another physical publication. The next diagnostic examines actual moment consistency rather than another width schedule. + +## E043a — moment consistency inspection and rollout pilot + +Inspect4096 fixed spatial points from each of two audited second TRAIN trajectories. Eigenvalue diagnostics initially used complex64; one highly aligned batch did not converge, so diagnostics were rerun in complex128. Physical computation and projection remain float32. No training or new checkpoint. + +| Parameters | Projection passes | Minimum normalized Toeplitz eigenvalue | Fraction below -1e-5 | Hidden relative RMS change | +|---|---:|---:|---:|---:| +| [9, -3] | 0 | -0.018840 | 0.085205 | 0 | +| [9, -3] | 32 | 0.000002 | 0.000000 | 0.000340 | +| [9, -3] | 128 | 0.000002 | 0.000000 | 0.000340 | +| [17, -5] | 0 | -0.415949 | 0.953613 | 0 | +| [17, -5] | 32 | -0.018204 | 0.800537 | 0.018390 | +| [17, -5] | 128 | -0.012869 | 0.705078 | 0.018852 | + +Outcome: inconsistency is measurable, especially in the strongly active state.128 passes reduce the mean negative minimum eigenvalue from0.08443 to0.000800 while preserving F0/F2/F4 exactly. Residual violations remain: the layer improves consistency but does not certify exact positivity after a finite number of passes. Start a two-case full30 TRAIN rollout pilot with128 fixed passes on each of the three initial quadrature nodes. Keep current width1e-4, seed20261026 and all physical parameters. Baselines are reused from E040 only after exact source/config/seed/trajectory parity assertions. This is a state transformation with a fixed pass count, not fitting model parameters. Pilot validation per dataset pending; any physical publication must later pass all24 active VALID and full585 comparison. + +## E044 — shared statistical objective preparation + +Hypothesis: separate pointwise absolute losses for global means and profile bins do not optimize field VRMSE. Test the exact normalized RMSE of a piecewise-constant additive mean/axis-profile reconstruction. Orthogonal decomposition adds mean-error squared, centered axis-profile error squared, and unresolved target spatial variance before the square root. Future target statistics appear only in the training loss; all inference features remain four-frame context and metadata. A native-grid TRAIN reconstruction check matched the sufficient-statistic formula within2.8e-14. + +Matched control and new objective both resume the selected E036/control1000 auxiliary weights, preserving544587 parameters and the frozen zero covariance projection. All10115 audited TRAIN records and all19 datasets, seed20261108, same sample sequence, batch512,6000 updates, learning rate0.0001 cosine, two CPU threads each. No GPU trainer is added. Save1000/3000/6000; evaluate all six complete packages with fixed decoder blends and the same main-model parent. Inherited random initialization20261031; parent manifest and weights copied to statistic_objective_v1 with hashes in each training config. Validation per dataset pending; no package change. + +## E043b — consistency projection pilot and TRAIN expansion + +128 fixed passes,128 angular bins, current three-node width1e-4 and seed20261026. No learned parameter changes or new checkpoints. Both cases completed30/30 physical steps; early12-step error improved in the strongly active case, but long-horizon aggregate improvement is small. + +| Training parameters | Baseline VRMSE | Projected VRMSE | +|---|---:|---:| +| [9, -3] | 0.00571887 | 0.00592186 | +| [17, -5] | 0.73280036 | 0.72618914 | + +Outcome: mixed pilot, with a small mean improvement and a moderate-regime regression. Expand paired TRAIN tests to zeta1/alpha-1,5/-4,11/-4,15/-4 before any validation. Use the second training trajectory where available;11/-4 has exactly one training trajectory, so use only that permitted trajectory0. Both baseline and projected nodes are rerun on each context. Pool bounds are asserted before reading. Combined study will cover six parameter regimes; no physical publication based on the two-case pilot. Validation per dataset remains pending. + +## E044a — matched continuation and reconstructed-field objective comparison + +Continue the selected E036/control1000 shared auxiliary weights with identical samples, optimizer schedule and seed20261108 for6000 updates. Inherited random initialization seed20261031. No new parameters; covariance projection stays frozen at zero in both variants. All19 datasets trained together, two CPU threads per variant, batch512, learning rate0.0001 cosine. Control retains smooth absolute mean/profile loss0.25/0.75. Field objective uses VRMSE of a piecewise-constant additive reconstruction from predicted global means and sixteen-bin axis profiles, including unresolved target variance inside the square root. The analytical objective matched explicit TRAIN field reconstruction within2.8e-14. Fixed parent decoder blends retained; every candidate is replayed through the complete neural runtime, including guide values. No pretrained assets or inference-time fitting. + +| Variant | Update | Radiative-layer VRMSE | Quick81 reward | Training checkpoint SHA256 | +|---|---:|---:|---:|---| +| control | 1000 | 0.45090301 | 0.81144841 | `1910418f3394b026abf31ee21ff7bd05c78b791cc65cad8051b3174c775762ad` | +| control | 3000 | 0.45086799 | 0.81145122 | `2f82749ebc5ad7bf045621462de93b7ba8df476ebbbe38f48af81728ed7b5f74` | +| control | 6000 | 0.45057396 | 0.81147483 | `7860e8464d4ba66e31f6abcf74afec49bce8542ffed82fcb16ec5fc0cf64886d` | +| field | 1000 | 0.45046986 | 0.81148320 | `89cab23fc7018265a91990b16d5a6aeb0f785c9628bd7ffccafe17d6a500f9f2` | +| field | 3000 | 0.45074759 | 0.81146089 | `c452dd5fcfd80fec1df3e008d05495cd516c7f20ee2a7dbede0b8fc8f1fbe7b4` | +| field | 6000 | 0.45012636 | 0.81151080 | `e268751b6d0d1fa8cfafb6c8b3c61cbe7b926ea08c4468c69ed1ef767b08a9ce` | + +The following unchanged dataset metrics apply to every candidate, reusing complete physical prefixes from the documented parent: + +| Dataset | VRMSE | +|---|---:| +| ape2d/burgers | 0.00641268 | +| ape2d/decay_turb | 0.00038142 | +| ape2d/diff | 0.00000260 | +| ape2d/fisher | 0.00000341 | +| ape2d/gs_alpha | 0.00309470 | +| ape2d/gs_beta | 0.00474027 | +| ape2d/gs_delta | 0.01924967 | +| ape2d/gs_epsilon | 0.00136617 | +| ape2d/gs_gamma | 0.04931292 | +| ape2d/gs_iota | 0.00178479 | +| ape2d/gs_kappa | 0.00485456 | +| ape2d/gs_theta | 0.00467797 | +| ape2d/kdv | 0.01672801 | +| ape2d/kolm_flow | 0.00892557 | +| ape2d/ks | 0.00003913 | +| ape2d/sh | 0.00000371 | +| pdearena/navier_stokes_2d | 0.00008349 | +| well/active_matter | 0.04060092 | + +Outcome: select the best complete-package result for contract checks and comparison against the current published package. All regressions remain recorded above. + +## E044 — shared statistics objective, composite replay +- Hypothesis / changed factor: Controlled continuation of the shared statistical branch, selected modefield update6000. Start from session-trained E036/control1000 with no new parameters, and compare existing smooth absolute objective against reconstructed-field VRMSE using the same seed20261108 and sample sequence. All19 datasets trained together for6000updates at learning rate0.0001; inherited initialization seed20261031. Only the original four context frames supply means, variances and profiles. The unused covariance projection remains frozen at zero. Same branch evaluated on every case. Replay all nine neural validation cases for each of six checkpoint/variant pairs, with current fixed decoder blends; reuse72 complete physical outputs. All results, seeds and hashes are documented in E044a and the manifest. Exact neural/novel-grid and smoke/diffusion checks precede a winning publication. +- Seed: 20261102. +- Checkpoint SHA256: `9914b50a288baa532bf558ada319048667c41f2a3163f8c7a9177432c2373431`. +- Runtime code SHA256: `2f545d9f81f9b609775cc0073d181a99b24fcfdbd823aaf70c0997a445b0c366`. +- Validation: fixed 81-case subset; reward **0.811511**, failed cases 0. + +| Dataset | VRMSE | +|---|---:| +| ape2d/burgers | 0.006413 | +| ape2d/decay_turb | 0.000381 | +| ape2d/diff | 0.000003 | +| ape2d/fisher | 0.000003 | +| ape2d/gs_alpha | 0.003095 | +| ape2d/gs_beta | 0.004740 | +| ape2d/gs_delta | 0.019250 | +| ape2d/gs_epsilon | 0.001366 | +| ape2d/gs_gamma | 0.049313 | +| ape2d/gs_iota | 0.001785 | +| ape2d/gs_kappa | 0.004855 | +| ape2d/gs_theta | 0.004678 | +| ape2d/kdv | 0.016728 | +| ape2d/kolm_flow | 0.008926 | +| ape2d/ks | 0.000039 | +| ape2d/sh | 0.000004 | +| pdearena/navier_stokes_2d | 0.000083 | +| well/active_matter | 0.040601 | +| well/turbulent_radiative_layer_2D | 0.450126 | + +Selection basis: same physical operators; fixed81-case neural comparison + +Outcome: improvement; published atomically. + +## E045 — guided late-checkpoint averaging preparation + +Predeclare one equal parameter average of phase7 updates4000/5000/6000, before those checkpoints are selected. This tests whether averaging late optimization noise helps the guided shared model, as earlier phase6 averaging did. Accumulate in float64, restore original dtypes, preserve current physical/auxiliary components and replay the complete model on all nine thermal valid trajectories. No new optimization, parameters or inference ensemble; same resulting weights for every case. Inherited main initialization20261021, guide initialization20261101 and phase7 sampling20261102. Source checkpoint hashes will be in guided_average_v1/lineage.json. + +The queued phase8 launcher will evaluate this single candidate after the full phase7 schedule and individual checkpoint selection, before freezing its starting model. Restarted only the waiting launcher; the sole GPU trainer and its workers were not interrupted. Full585 derivation and determinism checks will accompany a winning average. Validation per dataset pending. + +## Full validation of field_006000 + +All 585 validation trajectories, starting at frame 0; no held-out trajectories. Reward **0.780815**, failed cases 0. Neural initialization seed 20261021; sampling seed 20261102; checkpoint SHA256 `9914b50a288baa532bf558ada319048667c41f2a3163f8c7a9177432c2373431`. Same model as the corresponding quick-validation experiment; changed factor: expanded validation sample only. + +| Dataset | VRMSE | +|---|---:| +| ape2d/burgers | 0.007568 | +| ape2d/decay_turb | 0.000289 | +| ape2d/diff | 0.000003 | +| ape2d/fisher | 0.000005 | +| ape2d/gs_alpha | 0.003239 | +| ape2d/gs_beta | 0.004901 | +| ape2d/gs_delta | 0.022624 | +| ape2d/gs_epsilon | 0.000889 | +| ape2d/gs_gamma | 0.062780 | +| ape2d/gs_iota | 0.006619 | +| ape2d/gs_kappa | 0.008764 | +| ape2d/gs_theta | 0.019424 | +| ape2d/kdv | 0.024675 | +| ape2d/kolm_flow | 0.011662 | +| ape2d/ks | 0.000024 | +| ape2d/sh | 0.000005 | +| pdearena/navier_stokes_2d | 0.000081 | +| well/active_matter | 0.087454 | +| well/turbulent_radiative_layer_2D | 0.450126 | + +Exact reuse protocol for a shared-neural change: all physical assets/configuration match /run-state/workspace/research/universal_v1/quadrature_revert_candidate. The source per-case log audit verifies552 complete corpus/smoke physical rollouts and24 complete active rollouts; their576 outputs are independent of neural weights, including any mean-forecast branch. The nine neural radiative-layer outputs were replayed in this model’s quick validation, with exact context equality to full inputs. Reuse these verified outputs and score all585 validation trajectories together. Per-case physical coverage is retained in full_physical_coverage.json. + +Outcome: recorded full validation for audit and comparison; no automatic comparison against the distinct quick-validation sample. + +## E030 — learned coarse-statistic guidance, update 4000, shrink +- Hypothesis / changed factor: Train one shared guided operator from the validation-selected phase6 parent. Add528 zero-initialized stem weights that consume normalized future coarse mean/profile fields from the frozen shared auxiliary model. All forecasts of these guide fields use only the original four context frames and metadata. Sixteen-step fully backpropagated loss, capped at ten Arena steps; batch6, learning rate0.00003 cosine, native thermal grids, noise0.01, group probabilities0.05/0.075/0.075/0.8. Sampling seed20261102; new guidance initialization seed20261101, inherited main initialization20261021 and auxiliary seed20261031. Parent hashes in phase7/lineage.json. Fixed profile shrinkage 0.75; statistical output corrections enabled=True, while learned guidance remains active. Rerun nine neural validation cases and reuse72 complete physical outputs documented in physical_cache_source.json. No pretrained assets or inference-time fitting. +- Seed: 20261102. +- Checkpoint SHA256: `03bf730a0e9a89e88f6a8256b9b0b63ce8e4d42aa0e4acf69969ab2e1f8e203d`. +- Runtime code SHA256: `2f545d9f81f9b609775cc0073d181a99b24fcfdbd823aaf70c0997a445b0c366`. +- Validation: fixed 81-case subset; reward **0.811518**, failed cases 0. + +| Dataset | VRMSE | +|---|---:| +| ape2d/burgers | 0.006413 | +| ape2d/decay_turb | 0.000381 | +| ape2d/diff | 0.000003 | +| ape2d/fisher | 0.000003 | +| ape2d/gs_alpha | 0.003095 | +| ape2d/gs_beta | 0.004740 | +| ape2d/gs_delta | 0.019250 | +| ape2d/gs_epsilon | 0.001366 | +| ape2d/gs_gamma | 0.049313 | +| ape2d/gs_iota | 0.001785 | +| ape2d/gs_kappa | 0.004855 | +| ape2d/gs_theta | 0.004678 | +| ape2d/kdv | 0.016728 | +| ape2d/kolm_flow | 0.008926 | +| ape2d/ks | 0.000039 | +| ape2d/sh | 0.000004 | +| pdearena/navier_stokes_2d | 0.000083 | +| well/active_matter | 0.040601 | +| well/turbulent_radiative_layer_2D | 0.450032 | + +Selection basis: same physical operators; fixed81-case neural comparison + +Outcome: improvement; published atomically. + +## E030 — learned coarse-statistic guidance, update 4000, no_shrink +- Hypothesis / changed factor: Train one shared guided operator from the validation-selected phase6 parent. Add528 zero-initialized stem weights that consume normalized future coarse mean/profile fields from the frozen shared auxiliary model. All forecasts of these guide fields use only the original four context frames and metadata. Sixteen-step fully backpropagated loss, capped at ten Arena steps; batch6, learning rate0.00003 cosine, native thermal grids, noise0.01, group probabilities0.05/0.075/0.075/0.8. Sampling seed20261102; new guidance initialization seed20261101, inherited main initialization20261021 and auxiliary seed20261031. Parent hashes in phase7/lineage.json. Fixed profile shrinkage 0.0; statistical output corrections enabled=True, while learned guidance remains active. Rerun nine neural validation cases and reuse72 complete physical outputs documented in physical_cache_source.json. No pretrained assets or inference-time fitting. +- Seed: 20261102. +- Checkpoint SHA256: `03bf730a0e9a89e88f6a8256b9b0b63ce8e4d42aa0e4acf69969ab2e1f8e203d`. +- Runtime code SHA256: `121b5a37b6db742769502c11e350f3490338916078a76e88a98511a363f1b6a6`. +- Validation: fixed 81-case subset; reward **0.811379**, failed cases 0. + +| Dataset | VRMSE | +|---|---:| +| ape2d/burgers | 0.006413 | +| ape2d/decay_turb | 0.000381 | +| ape2d/diff | 0.000003 | +| ape2d/fisher | 0.000003 | +| ape2d/gs_alpha | 0.003095 | +| ape2d/gs_beta | 0.004740 | +| ape2d/gs_delta | 0.019250 | +| ape2d/gs_epsilon | 0.001366 | +| ape2d/gs_gamma | 0.049313 | +| ape2d/gs_iota | 0.001785 | +| ape2d/gs_kappa | 0.004855 | +| ape2d/gs_theta | 0.004678 | +| ape2d/kdv | 0.016728 | +| ape2d/kolm_flow | 0.008926 | +| ape2d/ks | 0.000039 | +| ape2d/sh | 0.000004 | +| pdearena/navier_stokes_2d | 0.000083 | +| well/active_matter | 0.040601 | +| well/turbulent_radiative_layer_2D | 0.451770 | + +Selection basis: same physical operators; fixed81-case neural comparison + +Outcome: did not improve validation reward; retained current package. + +## E030 — learned coarse-statistic guidance, update 4000, no_statistics +- Hypothesis / changed factor: Train one shared guided operator from the validation-selected phase6 parent. Add528 zero-initialized stem weights that consume normalized future coarse mean/profile fields from the frozen shared auxiliary model. All forecasts of these guide fields use only the original four context frames and metadata. Sixteen-step fully backpropagated loss, capped at ten Arena steps; batch6, learning rate0.00003 cosine, native thermal grids, noise0.01, group probabilities0.05/0.075/0.075/0.8. Sampling seed20261102; new guidance initialization seed20261101, inherited main initialization20261021 and auxiliary seed20261031. Parent hashes in phase7/lineage.json. Fixed profile shrinkage 0.75; statistical output corrections enabled=False, while learned guidance remains active. Rerun nine neural validation cases and reuse72 complete physical outputs documented in physical_cache_source.json. No pretrained assets or inference-time fitting. +- Seed: 20261102. +- Checkpoint SHA256: `03bf730a0e9a89e88f6a8256b9b0b63ce8e4d42aa0e4acf69969ab2e1f8e203d`. +- Runtime code SHA256: `75cf5b74461f47b5b43d9822e62c9cacfb24c8e0bd5dec4431759c9e2257b146`. +- Validation: fixed 81-case subset; reward **0.810911**, failed cases 0. + +| Dataset | VRMSE | +|---|---:| +| ape2d/burgers | 0.006413 | +| ape2d/decay_turb | 0.000381 | +| ape2d/diff | 0.000003 | +| ape2d/fisher | 0.000003 | +| ape2d/gs_alpha | 0.003095 | +| ape2d/gs_beta | 0.004740 | +| ape2d/gs_delta | 0.019250 | +| ape2d/gs_epsilon | 0.001366 | +| ape2d/gs_gamma | 0.049313 | +| ape2d/gs_iota | 0.001785 | +| ape2d/gs_kappa | 0.004855 | +| ape2d/gs_theta | 0.004678 | +| ape2d/kdv | 0.016728 | +| ape2d/kolm_flow | 0.008926 | +| ape2d/ks | 0.000039 | +| ape2d/sh | 0.000004 | +| pdearena/navier_stokes_2d | 0.000083 | +| well/active_matter | 0.040601 | +| well/turbulent_radiative_layer_2D | 0.457652 | + +Selection basis: same physical operators; fixed81-case neural comparison + +Outcome: did not improve validation reward; retained current package. + +## E046 — joint auxiliary field objective preparation + +Hypothesis: couple the universal mean/profile and coarse interaction branches through the VRMSE of their combined reconstructed field, instead of optimizing each branch’s component loss independently. The target’s unresolved variance belongs inside the same square root. With16-bin marginal profiles and a4x16 zero-marginal interaction grid, these components are orthogonal; sufficient-statistic loss agrees with explicit native TRAIN reconstruction within3.6e-14. Future target statistics are used only in training loss. + +Both variants continue the selected E044 mean/profile and E033 coarse weights with no new parameters, identical seed20261109/sample sequence,6000 updates, batch512, learning rate0.0001 cosine and two CPU threads each. Train all10115 authorized records across all19 datasets. The independent control sums the two selected component objectives; the joint variant uses reconstructed-field VRMSE. Freeze the unused covariance projection at zero. Inherited mean/coarse initialization seeds20261031/20261103; parent weights and manifests are pinned in joint_statistics_v1. Evaluate all1000/3000/6000 checkpoints through the complete model with fixed blends. No extra GPU trainer, pretrained weights or inference-time fitting. Validation per dataset pending. + +## Full validation of eval004000_shrink + +All 585 validation trajectories, starting at frame 0; no held-out trajectories. Reward **0.780822**, failed cases 0. Neural initialization seed 20261021; sampling seed 20261102; checkpoint SHA256 `03bf730a0e9a89e88f6a8256b9b0b63ce8e4d42aa0e4acf69969ab2e1f8e203d`. Same model as the corresponding quick-validation experiment; changed factor: expanded validation sample only. + +| Dataset | VRMSE | +|---|---:| +| ape2d/burgers | 0.007568 | +| ape2d/decay_turb | 0.000289 | +| ape2d/diff | 0.000003 | +| ape2d/fisher | 0.000005 | +| ape2d/gs_alpha | 0.003239 | +| ape2d/gs_beta | 0.004901 | +| ape2d/gs_delta | 0.022624 | +| ape2d/gs_epsilon | 0.000889 | +| ape2d/gs_gamma | 0.062780 | +| ape2d/gs_iota | 0.006619 | +| ape2d/gs_kappa | 0.008764 | +| ape2d/gs_theta | 0.019424 | +| ape2d/kdv | 0.024675 | +| ape2d/kolm_flow | 0.011662 | +| ape2d/ks | 0.000024 | +| ape2d/sh | 0.000005 | +| pdearena/navier_stokes_2d | 0.000081 | +| well/active_matter | 0.087454 | +| well/turbulent_radiative_layer_2D | 0.450032 | + +Exact reuse protocol for a shared-neural change: all physical assets/configuration match /run-state/workspace/research/universal_v1/quadrature_revert_candidate. The source per-case log audit verifies552 complete corpus/smoke physical rollouts and24 complete active rollouts; their576 outputs are independent of neural weights, including any mean-forecast branch. The nine neural radiative-layer outputs were replayed in this model’s quick validation, with exact context equality to full inputs. Reuse these verified outputs and score all585 validation trajectories together. Per-case physical coverage is retained in full_physical_coverage.json. + +Outcome: recorded full validation for audit and comparison; no automatic comparison against the distinct quick-validation sample. + +## E047 — capacity expansion preparation + +Hypothesis for a later training stage: the shared main model has insufficient capacity for the dominant two-dimensional thermal structure. Prepare a width48-to96 conversion while preserving its initial function. Duplicate every learned feature channel, divide outgoing pair weights by two, and add tiny zero-sum outgoing pair perturbations so identical activations retain the same sum but training gradients can break symmetry. Keep the Fourier latent width and metadata embedding fixed. No new pretrained assets; all original parameters were trained from scratch in this session. Perturbation seed20261110, relative RMS scale0.01. + +Main parameter count grows from3066627 to9526707; auxiliary branches remain unchanged. This is a preparation check only: no wider optimizer run or validation targets, and no package change. Checkpoint parent SHA256 `03bf730a0e9a89e88f6a8256b9b0b63ce8e4d42aa0e4acf69969ab2e1f8e203d`. On four audited TRAIN contexts resized to32x64, comparing the exact same guided forward computation: + +| Dataset | Normalized RMS difference | Normalized maximum difference | +|---|---:|---:| +| ape2d/burgers | 5.731e-08 | 3.858e-07 | +| pdearena/navier_stokes_2d | 1.460e-07 | 7.728e-07 | +| well/active_matter | 5.009e-07 | 1.366e-05 | +| well/turbulent_radiative_layer_2D | 5.590e-07 | 3.958e-06 | + +Outcome: numerical parity and symmetry-breaking checks passed. Conversion source and audit are in wider_v1. Consider this after the existing complete-rollout experiment has been selected; no second GPU trainer is launched. A prospective full-horizon wider run would use microbatch1 and accumulation6 to fit the single H100. Validation per dataset pending. + +## E046a — independent and joint auxiliary field-objective comparison + +Continue both selected universal auxiliary branches, E044 mean/profile and E033 coarse interaction, with identical samples, optimizer schedule and seed20261109 for6000 updates. Inherited initialization seeds20261031/20261103. No new parameters; covariance projection stays frozen at zero. All19 datasets, two CPU threads per variant, batch512, learning rate0.0001 cosine. Independent control sums the selected mean/profile field objective and coarse interaction objective. Joint loss is the VRMSE of the combined mean,16-bin profiles and4x16 interaction reconstruction, including unresolved target variance inside the square root. The analytical objective matches explicit TRAIN reconstruction within3.6e-14. Fixed decoder blends retained; every candidate is replayed through the complete neural runtime, including guidance. No pretrained assets or inference-time fitting. + +| Variant | Update | Radiative-layer VRMSE | Quick81 reward | Training checkpoint SHA256 | +|---|---:|---:|---:|---| +| independent | 1000 | 0.45021534 | 0.81150365 | `dc0556f9fb9aa536df9483542500ad6b24b5d7c47f00fa7172f289d9fbc97f02` | +| independent | 3000 | 0.45030356 | 0.81149656 | `c58996befc6158c232310086006748f118c0ff8c4d0a45336d3406fe643de2f4` | +| independent | 6000 | 0.45048595 | 0.81148190 | `18abbb2e719fae79306aa632d8959db9c48a723c8d9a734c63e9ed4725d6d081` | +| joint | 1000 | 0.45019307 | 0.81150544 | `07d8f4abfe8c48bd06e8275a1cdcb2c37482eb799c8640ad22d19aef4b8afe27` | +| joint | 3000 | 0.45004713 | 0.81151717 | `d0c87d21a0ae94fb1f09006de9151fb1a032a754825203c808619c1ed1b3a91e` | +| joint | 6000 | 0.45012994 | 0.81151051 | `c4874c7c4cb379999df2147349c74e9cc0226964ebfd34fa465ac592a863716b` | + +The following unchanged dataset metrics apply to every candidate, reusing complete physical prefixes from the documented parent: + +| Dataset | VRMSE | +|---|---:| +| ape2d/burgers | 0.00641268 | +| ape2d/decay_turb | 0.00038142 | +| ape2d/diff | 0.00000260 | +| ape2d/fisher | 0.00000341 | +| ape2d/gs_alpha | 0.00309470 | +| ape2d/gs_beta | 0.00474027 | +| ape2d/gs_delta | 0.01924967 | +| ape2d/gs_epsilon | 0.00136617 | +| ape2d/gs_gamma | 0.04931292 | +| ape2d/gs_iota | 0.00178479 | +| ape2d/gs_kappa | 0.00485456 | +| ape2d/gs_theta | 0.00467797 | +| ape2d/kdv | 0.01672801 | +| ape2d/kolm_flow | 0.00892557 | +| ape2d/ks | 0.00003913 | +| ape2d/sh | 0.00000371 | +| pdearena/navier_stokes_2d | 0.00008349 | +| well/active_matter | 0.04060092 | + +Outcome: select the best complete-package result for contract checks and comparison against the current published package. All regressions remain recorded above. + +## E046 — joint auxiliary objective, composite replay +- Hypothesis / changed factor: Controlled continuation of both shared auxiliary branches, selected modejoint update3000. Start from session-trained E044 and E033 weights with no new parameters; compare independent component objectives against joint reconstructed-field VRMSE using the same seed20261109 and sample sequence. All19 datasets trained together for6000updates at learning rate0.0001; inherited initialization seeds20261031/20261103. Only the original four context frames supply means, variances, profiles and coarse fields. The unused covariance projection stays frozen at zero. Both branches evaluated on every case. Replay all nine neural validation cases for each of six checkpoint/variant pairs, with current fixed decoder blends; reuse72 complete physical outputs. All results, seeds and hashes are documented in E046a and the manifest. Exact neural/novel-grid and smoke/diffusion checks precede a winning publication. +- Seed: 20261102. +- Checkpoint SHA256: `03bf730a0e9a89e88f6a8256b9b0b63ce8e4d42aa0e4acf69969ab2e1f8e203d`. +- Runtime code SHA256: `073eec78a834161996e478502f0debca7ebd4e1ea4b27dabfed049fa079d01c2`. +- Validation: fixed 81-case subset; reward **0.811517**, failed cases 0. + +| Dataset | VRMSE | +|---|---:| +| ape2d/burgers | 0.006413 | +| ape2d/decay_turb | 0.000381 | +| ape2d/diff | 0.000003 | +| ape2d/fisher | 0.000003 | +| ape2d/gs_alpha | 0.003095 | +| ape2d/gs_beta | 0.004740 | +| ape2d/gs_delta | 0.019250 | +| ape2d/gs_epsilon | 0.001366 | +| ape2d/gs_gamma | 0.049313 | +| ape2d/gs_iota | 0.001785 | +| ape2d/gs_kappa | 0.004855 | +| ape2d/gs_theta | 0.004678 | +| ape2d/kdv | 0.016728 | +| ape2d/kolm_flow | 0.008926 | +| ape2d/ks | 0.000039 | +| ape2d/sh | 0.000004 | +| pdearena/navier_stokes_2d | 0.000083 | +| well/active_matter | 0.040601 | +| well/turbulent_radiative_layer_2D | 0.450047 | + +Selection basis: same physical operators; fixed81-case neural comparison + +Outcome: did not improve validation reward; retained current package. + +## E043c — six-regime TRAIN result and full validation launch + +Same fixed128-pass/128-bin projection, three uncertainty nodes at width1e-4, latent seed20261026 and unchanged physical parameters. All six regimes and both variants completed30/30 physical steps. No new learned checkpoint. + +| Training parameters | Trajectory | Baseline VRMSE | Projected VRMSE | +|---|---:|---:|---:| +| [1, -1] | 1 | 0.00068666 | 0.00068664 | +| [5, -4] | 1 | 0.09479659 | 0.09478904 | +| [9, -3] | 1 | 0.00571887 | 0.00592186 | +| [11, -4] | 0 | 0.08358849 | 0.08178639 | +| [15, -4] | 1 | 0.25770625 | 0.24436744 | +| [17, -5] | 1 | 0.73280036 | 0.72618914 | + +Six-case mean 0.19588287 to 0.19229008. Outcome: five improvements, one moderate-case regression; advance this single fixed operator to all24 active VALID trajectories. This cohort includes the sole permitted11/-4 training trajectory, never another trajectory from that pool. + +The full candidate is assembled under universal_v1/moment_consistency_candidate and is not yet published. After complete physical-prefix audits, retain the latest selected shared neural/auxiliary weights, reuse exactly matching non-active outputs, and score all585 VALID trajectories. Quick81 is recorded only for continuity; physical selection requires both complete585 reports. Exact active/novel-grid repeat checks precede selection. The recorder now logs a candidate as ineligible rather than aborting a watcher if a concurrent physical change makes its full report missing; this does not relax the full-cohort gate. + +## E046b — joint objective result + +The joint objective beats its independent continuation control at all three paired checkpoints, but its best complete-package thermal VRMSE0.45004713 is slightly worse than the selected main-update4000 package at0.45003150. Both branches retained their parameter counts and shared all19 training sources; seed20261109, inherited initializations20261031/20261103. All candidate checkpoint hashes and per-dataset metrics are in E046a. Outcome: no deployment improvement, so retain the selected E044 mean/profile and E033 coarse weights. + +## E048a — all72 thermal TRAIN blend comparison + +Frozen weights and guide forecasts; no new optimizer or randomness. Replay four-frame starts from all72 authorized thermal TRAIN trajectories. Compare nine predeclared mean/profile output blends, preserving coarse blend0.25, momentum pressure0.05 and profile shrinkage0.75. Recompute the complete postprocessing composition for every pair. Float32 GPU training metric uses the unbiased spatial variance and1e-7 epsilon; official float64 scoring is reserved for VALID selection. Source/main/auxiliary hashes and all train memberships are in statistic_blend_v1. + +| Mean blend | Profile blend | Training VRMSE | +|---|---:|---:| +| 0.25 | 0.0 | 0.41026571 | +| 0.25 | 0.25 | 0.40976740 | +| 0.25 | 0.5 | 0.41185432 | +| 0.5 | 0.0 | 0.40688651 | +| 0.5 | 0.25 | 0.40625567 | +| 0.5 | 0.5 | 0.40822653 | +| 0.75 | 0.0 | 0.40535528 | +| 0.75 | 0.25 | 0.40459570 | +| 0.75 | 0.5 | 0.40644322 | + +Outcome: freeze the best TRAIN pair before validation. No dataset VALID metrics from this training comparison; complete-package VALID replay follows. + +## E048 — statistical output-blend calibration preparation + +Hypothesis: the selected E044 statistical objective changes the best fixed output blend, while coefficients are inherited from earlier auxiliary weights. Freeze all weights and replay all72 authorized native thermal TRAIN trajectories from their first four frames. Compare the nine fixed pairs mean blend0.25/0.5/0.75 and profile blend0/0.25/0.5, retaining momentum pressure0.05, coarse interaction0.25 and profile shrinkage0.75. Learned guidance still consumes the same complete statistical forecasts; only output mixing is changed. No new optimization or random parameters. Every candidate uses the same coefficients on every case, while complete physical prefixes stay unchanged. + +Pin parent hashes and train memberships in statistic_blend_v1; select the pair on TRAIN, then replay a complete package on all nine thermal VALID trajectories and use official scoring. All trial TRAIN metrics will be recorded, including regressions. Runtime branches and inherited initialization/sampling seeds remain the selected ones. Validation per dataset pending. + +## E048 — TRAIN-calibrated statistical output blends +- Hypothesis / changed factor: Freeze a mean blend of0.75 and profile blend of0.25 selected from nine predeclared pairs on all72 thermal TRAIN trajectories. No new optimization, parameters or randomness. Apply the same coefficients to every case; complete physical prefixes are unchanged. Preserve the selected shared neural and auxiliary weights, other decoder coefficients and all physical operators. Training postprocessing includes momentum and coarse interactions; guide forecasts remain unchanged. Replay all nine thermal VALID trajectories, reuse72 complete physical outputs, and check exact neural/novel-grid determinism before a winning publication. Inherited seeds and checkpoint hashes remain in the manifest; all TRAIN blends including negative results are in E048a. +- Seed: 20261102. +- Checkpoint SHA256: `03bf730a0e9a89e88f6a8256b9b0b63ce8e4d42aa0e4acf69969ab2e1f8e203d`. +- Runtime code SHA256: `42557d933161b5f8313e9a85910c461b98d0f7671bba8f4d14f50c30ff84d08a`. +- Validation: fixed 81-case subset; reward **0.811229**, failed cases 0. + +| Dataset | VRMSE | +|---|---:| +| ape2d/burgers | 0.006413 | +| ape2d/decay_turb | 0.000381 | +| ape2d/diff | 0.000003 | +| ape2d/fisher | 0.000003 | +| ape2d/gs_alpha | 0.003095 | +| ape2d/gs_beta | 0.004740 | +| ape2d/gs_delta | 0.019250 | +| ape2d/gs_epsilon | 0.001366 | +| ape2d/gs_gamma | 0.049313 | +| ape2d/gs_iota | 0.001785 | +| ape2d/gs_kappa | 0.004855 | +| ape2d/gs_theta | 0.004678 | +| ape2d/kdv | 0.016728 | +| ape2d/kolm_flow | 0.008926 | +| ape2d/ks | 0.000039 | +| ape2d/sh | 0.000004 | +| pdearena/navier_stokes_2d | 0.000083 | +| well/active_matter | 0.040601 | +| well/turbulent_radiative_layer_2D | 0.453646 | + +Selection basis: same physical operators; fixed81-case neural comparison + +Outcome: did not improve validation reward; retained current package. + +## E030 — learned coarse-statistic guidance, update 5000, shrink +- Hypothesis / changed factor: Train one shared guided operator from the validation-selected phase6 parent. Add528 zero-initialized stem weights that consume normalized future coarse mean/profile fields from the frozen shared auxiliary model. All forecasts of these guide fields use only the original four context frames and metadata. Sixteen-step fully backpropagated loss, capped at ten Arena steps; batch6, learning rate0.00003 cosine, native thermal grids, noise0.01, group probabilities0.05/0.075/0.075/0.8. Sampling seed20261102; new guidance initialization seed20261101, inherited main initialization20261021 and auxiliary seed20261031. Parent hashes in phase7/lineage.json. Fixed profile shrinkage 0.75; statistical output corrections enabled=True, while learned guidance remains active. Rerun nine neural validation cases and reuse72 complete physical outputs documented in physical_cache_source.json. No pretrained assets or inference-time fitting. +- Seed: 20261102. +- Checkpoint SHA256: `be9baea226e3e322affe6cc1ab9240dc6ac8cb0624581989261ca4c01bdb31df`. +- Runtime code SHA256: `2f545d9f81f9b609775cc0073d181a99b24fcfdbd823aaf70c0997a445b0c366`. +- Validation: fixed 81-case subset; reward **0.811460**, failed cases 0. + +| Dataset | VRMSE | +|---|---:| +| ape2d/burgers | 0.006413 | +| ape2d/decay_turb | 0.000381 | +| ape2d/diff | 0.000003 | +| ape2d/fisher | 0.000003 | +| ape2d/gs_alpha | 0.003095 | +| ape2d/gs_beta | 0.004740 | +| ape2d/gs_delta | 0.019250 | +| ape2d/gs_epsilon | 0.001366 | +| ape2d/gs_gamma | 0.049313 | +| ape2d/gs_iota | 0.001785 | +| ape2d/gs_kappa | 0.004855 | +| ape2d/gs_theta | 0.004678 | +| ape2d/kdv | 0.016728 | +| ape2d/kolm_flow | 0.008926 | +| ape2d/ks | 0.000039 | +| ape2d/sh | 0.000004 | +| pdearena/navier_stokes_2d | 0.000083 | +| well/active_matter | 0.040601 | +| well/turbulent_radiative_layer_2D | 0.450762 | + +Selection basis: same physical operators; fixed81-case neural comparison + +Outcome: did not improve validation reward; retained current package. + +## E030 — learned coarse-statistic guidance, update 5000, no_shrink +- Hypothesis / changed factor: Train one shared guided operator from the validation-selected phase6 parent. Add528 zero-initialized stem weights that consume normalized future coarse mean/profile fields from the frozen shared auxiliary model. All forecasts of these guide fields use only the original four context frames and metadata. Sixteen-step fully backpropagated loss, capped at ten Arena steps; batch6, learning rate0.00003 cosine, native thermal grids, noise0.01, group probabilities0.05/0.075/0.075/0.8. Sampling seed20261102; new guidance initialization seed20261101, inherited main initialization20261021 and auxiliary seed20261031. Parent hashes in phase7/lineage.json. Fixed profile shrinkage 0.0; statistical output corrections enabled=True, while learned guidance remains active. Rerun nine neural validation cases and reuse72 complete physical outputs documented in physical_cache_source.json. No pretrained assets or inference-time fitting. +- Seed: 20261102. +- Checkpoint SHA256: `be9baea226e3e322affe6cc1ab9240dc6ac8cb0624581989261ca4c01bdb31df`. +- Runtime code SHA256: `121b5a37b6db742769502c11e350f3490338916078a76e88a98511a363f1b6a6`. +- Validation: fixed 81-case subset; reward **0.811340**, failed cases 0. + +| Dataset | VRMSE | +|---|---:| +| ape2d/burgers | 0.006413 | +| ape2d/decay_turb | 0.000381 | +| ape2d/diff | 0.000003 | +| ape2d/fisher | 0.000003 | +| ape2d/gs_alpha | 0.003095 | +| ape2d/gs_beta | 0.004740 | +| ape2d/gs_delta | 0.019250 | +| ape2d/gs_epsilon | 0.001366 | +| ape2d/gs_gamma | 0.049313 | +| ape2d/gs_iota | 0.001785 | +| ape2d/gs_kappa | 0.004855 | +| ape2d/gs_theta | 0.004678 | +| ape2d/kdv | 0.016728 | +| ape2d/kolm_flow | 0.008926 | +| ape2d/ks | 0.000039 | +| ape2d/sh | 0.000004 | +| pdearena/navier_stokes_2d | 0.000083 | +| well/active_matter | 0.040601 | +| well/turbulent_radiative_layer_2D | 0.452252 | + +Selection basis: same physical operators; fixed81-case neural comparison + +Outcome: did not improve validation reward; retained current package. + +## E030 — learned coarse-statistic guidance, update 5000, no_statistics +- Hypothesis / changed factor: Train one shared guided operator from the validation-selected phase6 parent. Add528 zero-initialized stem weights that consume normalized future coarse mean/profile fields from the frozen shared auxiliary model. All forecasts of these guide fields use only the original four context frames and metadata. Sixteen-step fully backpropagated loss, capped at ten Arena steps; batch6, learning rate0.00003 cosine, native thermal grids, noise0.01, group probabilities0.05/0.075/0.075/0.8. Sampling seed20261102; new guidance initialization seed20261101, inherited main initialization20261021 and auxiliary seed20261031. Parent hashes in phase7/lineage.json. Fixed profile shrinkage 0.75; statistical output corrections enabled=False, while learned guidance remains active. Rerun nine neural validation cases and reuse72 complete physical outputs documented in physical_cache_source.json. No pretrained assets or inference-time fitting. +- Seed: 20261102. +- Checkpoint SHA256: `be9baea226e3e322affe6cc1ab9240dc6ac8cb0624581989261ca4c01bdb31df`. +- Runtime code SHA256: `75cf5b74461f47b5b43d9822e62c9cacfb24c8e0bd5dec4431759c9e2257b146`. +- Validation: fixed 81-case subset; reward **0.810686**, failed cases 0. + +| Dataset | VRMSE | +|---|---:| +| ape2d/burgers | 0.006413 | +| ape2d/decay_turb | 0.000381 | +| ape2d/diff | 0.000003 | +| ape2d/fisher | 0.000003 | +| ape2d/gs_alpha | 0.003095 | +| ape2d/gs_beta | 0.004740 | +| ape2d/gs_delta | 0.019250 | +| ape2d/gs_epsilon | 0.001366 | +| ape2d/gs_gamma | 0.049313 | +| ape2d/gs_iota | 0.001785 | +| ape2d/gs_kappa | 0.004855 | +| ape2d/gs_theta | 0.004678 | +| ape2d/kdv | 0.016728 | +| ape2d/kolm_flow | 0.008926 | +| ape2d/ks | 0.000039 | +| ape2d/sh | 0.000004 | +| pdearena/navier_stokes_2d | 0.000083 | +| well/active_matter | 0.040601 | +| well/turbulent_radiative_layer_2D | 0.460509 | + +Selection basis: same physical operators; fixed81-case neural comparison + +Outcome: did not improve validation reward; retained current package. + +## E048b — stronger TRAIN-selected mean correction did not transfer + +Across all72 TRAIN starts, raising mean blend0.5 to0.75 at profile blend0.25 improves VRMSE0.40625567 to0.40459570. Official VALID replay reverses the ordering:0.45003150 to0.45364634. Outcome: reject the stronger correction and keep mean blend0.5. Do not extend the blend range based on the TRAIN boundary optimum after this generalization failure. Candidate runtime/main/auxiliary hashes and all VALID dataset scores appear in E048. + +## E049 — periodic profile augmentation preparation + +Hypothesis: the statistical branch can overfit the absolute phase of periodic input profiles, even though global means should be translation invariant. Continue the selected E044 field/update6000 weights with independent cyclic16-bin shifts on periodic axes, applying each shift consistently to all context and target profiles. No shifts across nonperiodic boundaries; scalar means, variances and metadata remain unchanged. Compare a matched unaugmented continuation with the same sample sequence and training objective. + +All10115 TRAIN records/all19 datasets,6000 updates, batch512, learning rate0.0001 cosine, sample seed20261112 and separate augmentation seed20261113. Inherited random initialization20261031, no new parameters, covariance projection frozenzero. Two CPU threads per variant, no new GPU trainer. Evaluate1000/3000/6000 checkpoints through the complete shared model at the current fixed blends. Parent weights and manifests are pinned in statistic_equivariance_v1. Validation per dataset pending. This tests the statistical branch; E035’s negative coarse-interaction augmentation result remains recorded separately. + +## E049a — matched periodic profile augmentation comparison + +Continue the selected E044 field-objective shared auxiliary weights with identical samples and seed20261112 for6000 updates. Both variants use reconstructed-field VRMSE, all19 datasets, batch512, learning rate0.0001 cosine and two CPU threads. Periodic variant draws independent cyclic16-bin translations for every sample and permitted axis, applying the same shift to all four context profiles and target profile. Boundary flags prevent nonperiodic translations. Means and variances are invariant. A separate augmentation RNG seed20261113 preserves the control sample sequence. No new parameters; covariance projection remains frozen zero. Inherited initialization20261031. Every checkpoint is replayed through the full shared runtime with fixed output blends. + +| Variant | Update | Radiative-layer VRMSE | Quick81 reward | Training checkpoint SHA256 | +|---|---:|---:|---:|---| +| control | 1000 | 0.44992150 | 0.81152728 | `188e99a71c87407c6f35cb609325ca9807fec7c0d2243afe40b78ca0ccbe8263` | +| control | 3000 | 0.45038680 | 0.81148987 | `2ff5eea5a56d37c54eea94c39a0f860c1999647170fb1209e7daeb3d63bf698a` | +| control | 6000 | 0.44983144 | 0.81153452 | `eb835253e42b001bcf4dfd54029a78393ebf06e129d800868e452ff41447932f` | +| periodic | 1000 | 0.44948206 | 0.81156264 | `7c0852420e06132d6ab7fd50062a31e74d7a64becb1b1509d69967c651a415d4` | +| periodic | 3000 | 0.45248557 | 0.81132161 | `fab8ed8a88e876695f79950e5f33c68c628694e0f9e83f5bccb0396cf4e5515b` | +| periodic | 6000 | 0.45235439 | 0.81133211 | `0e8da17aa1b513005c5e5837d77ad1e71fd3b6bb1a35315ef4a760d9880783f1` | + +The following unchanged dataset metrics apply to every candidate, reusing complete physical prefixes from the documented parent: + +| Dataset | VRMSE | +|---|---:| +| ape2d/burgers | 0.00641268 | +| ape2d/decay_turb | 0.00038142 | +| ape2d/diff | 0.00000260 | +| ape2d/fisher | 0.00000341 | +| ape2d/gs_alpha | 0.00309470 | +| ape2d/gs_beta | 0.00474027 | +| ape2d/gs_delta | 0.01924967 | +| ape2d/gs_epsilon | 0.00136617 | +| ape2d/gs_gamma | 0.04931292 | +| ape2d/gs_iota | 0.00178479 | +| ape2d/gs_kappa | 0.00485456 | +| ape2d/gs_theta | 0.00467797 | +| ape2d/kdv | 0.01672801 | +| ape2d/kolm_flow | 0.00892557 | +| ape2d/ks | 0.00003913 | +| ape2d/sh | 0.00000371 | +| pdearena/navier_stokes_2d | 0.00008349 | +| well/active_matter | 0.04060092 | + +Outcome: select the best complete-package result for contract checks and comparison against the current published package. All regressions remain recorded above. + +## E049 — shared profile translation augmentation +- Hypothesis / changed factor: Controlled continuation of the shared statistical branch, selected modeperiodic update1000. Start from session-trained E044 field/update6000 with no new parameters; compare periodic profile translations against a matched continuation with the same seed20261112 and sample sequence. Augmentation seed20261113 is separate. All19 datasets trained together for6000updates at learning rate0.0001; inherited initialization seed20261031. Only the original four context frames supply means, variances and profiles. The unused covariance projection remains frozen at zero. Same branch evaluated on every case. Replay all nine neural validation cases for each of six checkpoint/variant pairs, with current fixed decoder blends; reuse72 complete physical outputs. All results, seeds and hashes are documented in E049a and the manifest. Exact neural/novel-grid and smoke/diffusion checks precede a winning publication. +- Seed: 20261102. +- Checkpoint SHA256: `03bf730a0e9a89e88f6a8256b9b0b63ce8e4d42aa0e4acf69969ab2e1f8e203d`. +- Runtime code SHA256: `bde67d792a2cc2cd64656ca21dfe1fbfdd653c2560d5376370cc304b090daf51`. +- Validation: fixed 81-case subset; reward **0.811563**, failed cases 0. + +| Dataset | VRMSE | +|---|---:| +| ape2d/burgers | 0.006413 | +| ape2d/decay_turb | 0.000381 | +| ape2d/diff | 0.000003 | +| ape2d/fisher | 0.000003 | +| ape2d/gs_alpha | 0.003095 | +| ape2d/gs_beta | 0.004740 | +| ape2d/gs_delta | 0.019250 | +| ape2d/gs_epsilon | 0.001366 | +| ape2d/gs_gamma | 0.049313 | +| ape2d/gs_iota | 0.001785 | +| ape2d/gs_kappa | 0.004855 | +| ape2d/gs_theta | 0.004678 | +| ape2d/kdv | 0.016728 | +| ape2d/kolm_flow | 0.008926 | +| ape2d/ks | 0.000039 | +| ape2d/sh | 0.000004 | +| pdearena/navier_stokes_2d | 0.000083 | +| well/active_matter | 0.040601 | +| well/turbulent_radiative_layer_2D | 0.449482 | + +Selection basis: same physical operators; fixed81-case neural comparison + +Outcome: improvement; published atomically. + +## Full validation of periodic_001000 + +All 585 validation trajectories, starting at frame 0; no held-out trajectories. Reward **0.780867**, failed cases 0. Neural initialization seed 20261021; sampling seed 20261102; checkpoint SHA256 `03bf730a0e9a89e88f6a8256b9b0b63ce8e4d42aa0e4acf69969ab2e1f8e203d`. Same model as the corresponding quick-validation experiment; changed factor: expanded validation sample only. + +| Dataset | VRMSE | +|---|---:| +| ape2d/burgers | 0.007568 | +| ape2d/decay_turb | 0.000289 | +| ape2d/diff | 0.000003 | +| ape2d/fisher | 0.000005 | +| ape2d/gs_alpha | 0.003239 | +| ape2d/gs_beta | 0.004901 | +| ape2d/gs_delta | 0.022624 | +| ape2d/gs_epsilon | 0.000889 | +| ape2d/gs_gamma | 0.062780 | +| ape2d/gs_iota | 0.006619 | +| ape2d/gs_kappa | 0.008764 | +| ape2d/gs_theta | 0.019424 | +| ape2d/kdv | 0.024675 | +| ape2d/kolm_flow | 0.011662 | +| ape2d/ks | 0.000024 | +| ape2d/sh | 0.000005 | +| pdearena/navier_stokes_2d | 0.000081 | +| well/active_matter | 0.087454 | +| well/turbulent_radiative_layer_2D | 0.449482 | + +Exact reuse protocol for a shared-neural change: all physical assets/configuration match /run-state/workspace/research/universal_v1/quadrature_revert_candidate. The source per-case log audit verifies552 complete corpus/smoke physical rollouts and24 complete active rollouts; their576 outputs are independent of neural weights, including any mean-forecast branch. The nine neural radiative-layer outputs were replayed in this model’s quick validation, with exact context equality to full inputs. Reuse these verified outputs and score all585 validation trajectories together. Per-case physical coverage is retained in full_physical_coverage.json. + +Outcome: recorded full validation for audit and comparison; no automatic comparison against the distinct quick-validation sample. + +## E050 — synthetic hidden-moment supervision feasibility pilot + +Hypothesis: known latent angular states from independently generated trajectories could supervise a future hidden-state head on the same shared neural body. Begin with a CPU-only feasibility pilot, not model training:32x32 spatial grid,32 even angular modes,128 initial doubled-angle bins, four burn-in steps, four observed context frames and three future frames. Construct fresh smooth positive mixtures of two von Mises angular distributions with concentration and orientation fields from independent filtered random noise. Seeds20261115/20261116, zeta9/alpha-3 and17/-5, L10,dt0.25. Use the independently implemented Fourier Smoluchowski/Stokes solver already developed in this session; do not use benchmark generator code or initial-condition seeds. + +Store complete known angular moments and observed fields, then measure the existing fixed four-frame encoder’s latent error and first forecast error. Source/config/file hashes will be in synthetic_latent_v1. Generated source declaration: synthetic:own Fourier Smoluchowski-Stokes solver; fresh smooth positive doubled-angle mixtures, seeds20261115-20261116,32x32 pilot. No generated trajectory is used by current weights, so the published sources_used list remains unchanged. Any future training use must declare the synthetic source, use the same shared all-dataset model and preserve the no-specialist rule. No new checkpoint or VALID results; outcome pending. + +## E050a — synthetic pilot numerical failure and revised initialization + +The first32x32, broad-orientation pilot became non-finite before producing a complete stored trajectory. No synthetic data entered training or the published package. Preserve its exact script, manifest and log as synthetic_latent_v1/pilot_failed_v0.*. Hypothesis: sharp spatial variations of high angular moments were underresolved on the small grid; this is not yet a confirmed diagnosis. Retry at64x64 with lower spatial bandwidth: phase amplitude0.25 instead of1.2, noise cutoff1.5 instead of2.5, concentration amplitude0.05 instead of0.15 and smoother mixture variation. Preserve the independent seeds, angular discretization and physical parameters. This tests generator feasibility, not surrogate validation. No learned checkpoint or VALID metrics. The revised generated-source description is stored in manifest.json and must be declared if any generated data is later used in training. + +## E050b — isolate synthetic numerical instability + +The64x64 smoother pilot also became non-finite before a complete sample. Archive its exact script/manifest/log as pilot_failed_v1.*. A spatially homogeneous positive-mixture control on16x16 remains finite through eight stored steps, with concentration1 and alignment converging to0.99438. Thus the angular-only CPU evolution works in this control; the spatially varying failure remains unresolved. Real TRAIN metadata confirms dt0.25, so the pilot did not use a mistaken stored interval. Retry the smoother initialization at128x128 with per-frame finite/concentration/alignment diagnostics. No synthetic samples have entered training or the package. No new checkpoint or VALID result. + +## E050c — synthetic pilot rejected for moment-bound violations + +The128x128 smoother pilot remains finite longer, but max|F2|/c grows from0.9954 after burn-in to1.0083,1.0275 and above1.07 in subsequent frames. This violates the necessary positive-distribution moment bound, so finite values alone are not sufficient for a training teacher. Stop the pilot and mark its manifest REJECTED; any generated NPZ files are quarantined in rejected_numerics. No synthetic data entered any optimizer, checkpoint or published sources_used list. + +The homogeneous angular control remains stable, suggesting that the unresolved issue involves spatially varying evolution. Resolution alone has not yet produced an acceptable teacher; do not treat this as a successful synthetic source. Future work would need a converged or positivity-preserving generator and quality checks before dataset expansion. No new learned checkpoint or VALID metrics; published model unchanged. + +## E030 — learned coarse-statistic guidance, update 6000, shrink +- Hypothesis / changed factor: Train one shared guided operator from the validation-selected phase6 parent. Add528 zero-initialized stem weights that consume normalized future coarse mean/profile fields from the frozen shared auxiliary model. All forecasts of these guide fields use only the original four context frames and metadata. Sixteen-step fully backpropagated loss, capped at ten Arena steps; batch6, learning rate0.00003 cosine, native thermal grids, noise0.01, group probabilities0.05/0.075/0.075/0.8. Sampling seed20261102; new guidance initialization seed20261101, inherited main initialization20261021 and auxiliary seed20261031. Parent hashes in phase7/lineage.json. Fixed profile shrinkage 0.75; statistical output corrections enabled=True, while learned guidance remains active. Rerun nine neural validation cases and reuse72 complete physical outputs documented in physical_cache_source.json. No pretrained assets or inference-time fitting. +- Seed: 20261102. +- Checkpoint SHA256: `aecbe81ff548ff47d33b279f85e7f07f1b4f661ba72ecdff211f278994a63956`. +- Runtime code SHA256: `bde67d792a2cc2cd64656ca21dfe1fbfdd653c2560d5376370cc304b090daf51`. +- Validation: fixed 81-case subset; reward **0.811543**, failed cases 0. + +| Dataset | VRMSE | +|---|---:| +| ape2d/burgers | 0.006413 | +| ape2d/decay_turb | 0.000381 | +| ape2d/diff | 0.000003 | +| ape2d/fisher | 0.000003 | +| ape2d/gs_alpha | 0.003095 | +| ape2d/gs_beta | 0.004740 | +| ape2d/gs_delta | 0.019250 | +| ape2d/gs_epsilon | 0.001366 | +| ape2d/gs_gamma | 0.049313 | +| ape2d/gs_iota | 0.001785 | +| ape2d/gs_kappa | 0.004855 | +| ape2d/gs_theta | 0.004678 | +| ape2d/kdv | 0.016728 | +| ape2d/kolm_flow | 0.008926 | +| ape2d/ks | 0.000039 | +| ape2d/sh | 0.000004 | +| pdearena/navier_stokes_2d | 0.000083 | +| well/active_matter | 0.040601 | +| well/turbulent_radiative_layer_2D | 0.449726 | + +Selection basis: same physical operators; fixed81-case neural comparison + +Outcome: did not improve validation reward; retained current package. + +## E030 — learned coarse-statistic guidance, update 6000, no_shrink +- Hypothesis / changed factor: Train one shared guided operator from the validation-selected phase6 parent. Add528 zero-initialized stem weights that consume normalized future coarse mean/profile fields from the frozen shared auxiliary model. All forecasts of these guide fields use only the original four context frames and metadata. Sixteen-step fully backpropagated loss, capped at ten Arena steps; batch6, learning rate0.00003 cosine, native thermal grids, noise0.01, group probabilities0.05/0.075/0.075/0.8. Sampling seed20261102; new guidance initialization seed20261101, inherited main initialization20261021 and auxiliary seed20261031. Parent hashes in phase7/lineage.json. Fixed profile shrinkage 0.0; statistical output corrections enabled=True, while learned guidance remains active. Rerun nine neural validation cases and reuse72 complete physical outputs documented in physical_cache_source.json. No pretrained assets or inference-time fitting. +- Seed: 20261102. +- Checkpoint SHA256: `aecbe81ff548ff47d33b279f85e7f07f1b4f661ba72ecdff211f278994a63956`. +- Runtime code SHA256: `b02fbeefa500eb903647f72467e049c24b9d82207ed900d3de67d77b1a5e81de`. +- Validation: fixed 81-case subset; reward **0.811400**, failed cases 0. + +| Dataset | VRMSE | +|---|---:| +| ape2d/burgers | 0.006413 | +| ape2d/decay_turb | 0.000381 | +| ape2d/diff | 0.000003 | +| ape2d/fisher | 0.000003 | +| ape2d/gs_alpha | 0.003095 | +| ape2d/gs_beta | 0.004740 | +| ape2d/gs_delta | 0.019250 | +| ape2d/gs_epsilon | 0.001366 | +| ape2d/gs_gamma | 0.049313 | +| ape2d/gs_iota | 0.001785 | +| ape2d/gs_kappa | 0.004855 | +| ape2d/gs_theta | 0.004678 | +| ape2d/kdv | 0.016728 | +| ape2d/kolm_flow | 0.008926 | +| ape2d/ks | 0.000039 | +| ape2d/sh | 0.000004 | +| pdearena/navier_stokes_2d | 0.000083 | +| well/active_matter | 0.040601 | +| well/turbulent_radiative_layer_2D | 0.451508 | + +Selection basis: same physical operators; fixed81-case neural comparison + +Outcome: did not improve validation reward; retained current package. + +## E030 — learned coarse-statistic guidance, update 6000, no_statistics +- Hypothesis / changed factor: Train one shared guided operator from the validation-selected phase6 parent. Add528 zero-initialized stem weights that consume normalized future coarse mean/profile fields from the frozen shared auxiliary model. All forecasts of these guide fields use only the original four context frames and metadata. Sixteen-step fully backpropagated loss, capped at ten Arena steps; batch6, learning rate0.00003 cosine, native thermal grids, noise0.01, group probabilities0.05/0.075/0.075/0.8. Sampling seed20261102; new guidance initialization seed20261101, inherited main initialization20261021 and auxiliary seed20261031. Parent hashes in phase7/lineage.json. Fixed profile shrinkage 0.75; statistical output corrections enabled=False, while learned guidance remains active. Rerun nine neural validation cases and reuse72 complete physical outputs documented in physical_cache_source.json. No pretrained assets or inference-time fitting. +- Seed: 20261102. +- Checkpoint SHA256: `aecbe81ff548ff47d33b279f85e7f07f1b4f661ba72ecdff211f278994a63956`. +- Runtime code SHA256: `54e4d7c0dbee2ada00505f657b8d9bc6993085410464ff02a4f98f6c8aac8186`. +- Validation: fixed 81-case subset; reward **0.810944**, failed cases 0. + +| Dataset | VRMSE | +|---|---:| +| ape2d/burgers | 0.006413 | +| ape2d/decay_turb | 0.000381 | +| ape2d/diff | 0.000003 | +| ape2d/fisher | 0.000003 | +| ape2d/gs_alpha | 0.003095 | +| ape2d/gs_beta | 0.004740 | +| ape2d/gs_delta | 0.019250 | +| ape2d/gs_epsilon | 0.001366 | +| ape2d/gs_gamma | 0.049313 | +| ape2d/gs_iota | 0.001785 | +| ape2d/gs_kappa | 0.004855 | +| ape2d/gs_theta | 0.004678 | +| ape2d/kdv | 0.016728 | +| ape2d/kolm_flow | 0.008926 | +| ape2d/ks | 0.000039 | +| ape2d/sh | 0.000004 | +| pdearena/navier_stokes_2d | 0.000083 | +| well/active_matter | 0.040601 | +| well/turbulent_radiative_layer_2D | 0.457234 | + +Selection basis: same physical operators; fixed81-case neural comparison + +Outcome: did not improve validation reward; retained current package. + +## E045 — late guided checkpoint average +- Hypothesis / changed factor: Equal parameter average of phase7 updates4000/5000/6000, a single predeclared candidate to reduce late-training optimization variation. No new optimization or data fitting; all three checkpoints were trained together across all19 datasets, initialization seed20261021, guidance extension seed20261101 and sampling seed20261102. Accumulate in float64 and return original parameter dtype. Same shared averaged weights apply to every case. Preserve current fixed physical operators and shared auxiliary decoders. Source training checkpoint hashes and equal coefficients are in model_manifest.json and guided_average_v1/lineage.json. Replay nine neural valid cases, reuse72 complete physical outputs, and check exact determinism and novel grids if improved. +- Seed: 20261102. +- Checkpoint SHA256: `5969f2d0a3b0b95aadcafc9aeff5cc3f0432348b6ce5518e79b96925b2ad10fe`. +- Runtime code SHA256: `bde67d792a2cc2cd64656ca21dfe1fbfdd653c2560d5376370cc304b090daf51`. +- Validation: fixed 81-case subset; reward **0.811593**, failed cases 0. + +| Dataset | VRMSE | +|---|---:| +| ape2d/burgers | 0.006413 | +| ape2d/decay_turb | 0.000381 | +| ape2d/diff | 0.000003 | +| ape2d/fisher | 0.000003 | +| ape2d/gs_alpha | 0.003095 | +| ape2d/gs_beta | 0.004740 | +| ape2d/gs_delta | 0.019250 | +| ape2d/gs_epsilon | 0.001366 | +| ape2d/gs_gamma | 0.049313 | +| ape2d/gs_iota | 0.001785 | +| ape2d/gs_kappa | 0.004855 | +| ape2d/gs_theta | 0.004678 | +| ape2d/kdv | 0.016728 | +| ape2d/kolm_flow | 0.008926 | +| ape2d/ks | 0.000039 | +| ape2d/sh | 0.000004 | +| pdearena/navier_stokes_2d | 0.000083 | +| well/active_matter | 0.040601 | +| well/turbulent_radiative_layer_2D | 0.449111 | + +Selection basis: same physical operators; fixed81-case neural comparison + +Outcome: improvement; published atomically. + +## Full validation of late_average + +All 585 validation trajectories, starting at frame 0; no held-out trajectories. Reward **0.780897**, failed cases 0. Neural initialization seed 20261021; sampling seed 20261102; checkpoint SHA256 `5969f2d0a3b0b95aadcafc9aeff5cc3f0432348b6ce5518e79b96925b2ad10fe`. Same model as the corresponding quick-validation experiment; changed factor: expanded validation sample only. + +| Dataset | VRMSE | +|---|---:| +| ape2d/burgers | 0.007568 | +| ape2d/decay_turb | 0.000289 | +| ape2d/diff | 0.000003 | +| ape2d/fisher | 0.000005 | +| ape2d/gs_alpha | 0.003239 | +| ape2d/gs_beta | 0.004901 | +| ape2d/gs_delta | 0.022624 | +| ape2d/gs_epsilon | 0.000889 | +| ape2d/gs_gamma | 0.062780 | +| ape2d/gs_iota | 0.006619 | +| ape2d/gs_kappa | 0.008764 | +| ape2d/gs_theta | 0.019424 | +| ape2d/kdv | 0.024675 | +| ape2d/kolm_flow | 0.011662 | +| ape2d/ks | 0.000024 | +| ape2d/sh | 0.000005 | +| pdearena/navier_stokes_2d | 0.000081 | +| well/active_matter | 0.087454 | +| well/turbulent_radiative_layer_2D | 0.449111 | + +Exact reuse protocol for a shared-neural change: all physical assets/configuration match /run-state/workspace/research/universal_v1/quadrature_revert_candidate. The source per-case log audit verifies552 complete corpus/smoke physical rollouts and24 complete active rollouts; their576 outputs are independent of neural weights, including any mean-forecast branch. The nine neural radiative-layer outputs were replayed in this model’s quick validation, with exact context equality to full inputs. Reuse these verified outputs and score all585 validation trajectories together. Per-case physical coverage is retained in full_physical_coverage.json. + +Outcome: recorded full validation for audit and comparison; no automatic comparison against the distinct quick-validation sample. + +## E038 complete-rollout training launch + +Completed the full learned-guidance schedule after it produced a selected checkpoint. Retired the previous trainer/workers/watcher and verified process exit before launching the next single-GPU trainer. Preserve the latest selected architecture, main parameters, fixed physical operators and auxiliary branches. Train complete available rollout windows:26 corpus,30 Well,10 Arena. Three microbatches of two accumulate to effective batch6; each microbatch graph is freed before the next, fitting one H100. Sampling seed20261106,4000 planned updates, learning rate0.00003 cosine, noise0.01 and group probabilities0.05/0.075/0.075/0.8. Dataset sampling and25% initial-window probability are unchanged. No new architecture parameters; exact inherited seeds and checkpoint hashes are in phase8/lineage.json. Validation pending. + +## E051 — positive angular-density output projection preparation + +Hypothesis motivated by the rejected synthetic pilot: finite angular moments can drift outside the positive-distribution set during numerical evolution, not only during the context encoder. Test a fixed output-step projection on real TRAIN trajectories: reconstruct a128-bin angular density, clip negative values, renormalize to the current predicted concentration, and retain the first33 Fourier moments before decoding. Preserve the entire observed-context encoder and existing initial quadrature. This may add numerical diffusion; positivity alone is not evidence of forecast accuracy. + +Queue after E043 full24/585 validation so only one heavy physical study runs at once. Pin the then-selected physical operator/configuration, and rerun paired baseline/projected30-step forecasts on the second permitted TRAIN trajectories for zeta9/alpha-3 and17/-5. Inherit the selected latent seed and all physical parameters. No learned parameters, checkpoint, synthetic training or inference-time fitting. Only advance if real TRAIN target errors support expansion. Source/provenance/results in positive_step_v1; validation per dataset pending. + +## E052 — spatial error scale diagnosis + +Use the frozen E042 parent (phase7/update3000) and its existing matched nine TRAIN and nine VALID rollouts. Decompose error into the orthogonal blockwise two-dimensional interaction projection at4x16,8x32,16x64,32x128 and64x192. Float64 orthogonality error below1e-10. These target-derived oracle corrections are diagnostic bounds only and never enter a package, optimizer, or model selection as candidate predictions. No new parameters, seed or checkpoint. Full results and parent hash: error_scales_v1/results.json. + +For4x16, TRAIN squared-error fractions by density/pressure/vx/vy are11.5%/10.9%/16.9%/22.8%; for8x32,31.4%/28.3%/35.5%/45.7%. VALID shows the same resolution trend. TRAIN oracle residual VRMSE is0.38930 at4x16 and0.34205 at8x32 versus actual0.41982. VALID diagnostic values0.42018 and0.37229 versus actual0.45046. Outcome: coarse spatial resolution is a measurable capacity constraint; test a modest8x32 branch before larger grids. + +## E053 — matched coarse-resolution continuation preparation + +Compare the existing4x16 interaction forecaster against8x32, with the same width192, all19 TRAIN datasets, initial-context probability0.5, group probabilities0.1/0.1/0.1/0.7, batch512,6000 updates, learning rate0.0001 cosine and seed20261117. Both inherit the session-trained E033/update6000 weights (initialization seed20261103). The fine model lifts input weights by averaging each2x2 group and repeats output weights; its pooled prediction initially matches the parent, while finer input detail persists. Parameters787808 versus2817440. Keep the original interaction loss and fixed0.25 decoder blend to isolate resolution/capacity. Compare updates1000/3000/6000 through the same complete runtime on all nine thermal VALID trajectories. The same branch is applied to every case. + +All10115 TRAIN records were re-audited against split.json before an8x32 float64-accumulated cache was built. No held-out records or synthetic data. The initial strict float32 conversion check failed at normalized max2.88e-5 on active matter before training. An independent float64 check verifies the conversion algebra to5.03e-14; float32 accumulation differences are recorded (normalized RMS at most6.26e-6). The check now requires both float64 algebra parity and bounded float32 roundoff, and passes on four TRAIN groups. No weights were trained before those checks. Checkpoint hashes and all validation outcomes will be appended after training. + +## Full validation of moment_consistency_candidate + +All 585 validation trajectories, starting at frame 0; no held-out trajectories. Reward **0.780325**, failed cases 0. Neural initialization seed 20261021; sampling seed 20261102; checkpoint SHA256 `5969f2d0a3b0b95aadcafc9aeff5cc3f0432348b6ce5518e79b96925b2ad10fe`. Same model as the corresponding quick-validation experiment; changed factor: expanded validation sample only. + +| Dataset | VRMSE | +|---|---:| +| ape2d/burgers | 0.007568 | +| ape2d/decay_turb | 0.000289 | +| ape2d/diff | 0.000003 | +| ape2d/fisher | 0.000005 | +| ape2d/gs_alpha | 0.003239 | +| ape2d/gs_beta | 0.004901 | +| ape2d/gs_delta | 0.022624 | +| ape2d/gs_epsilon | 0.000889 | +| ape2d/gs_gamma | 0.062780 | +| ape2d/gs_iota | 0.006619 | +| ape2d/gs_kappa | 0.008764 | +| ape2d/gs_theta | 0.019424 | +| ape2d/kdv | 0.024675 | +| ape2d/kolm_flow | 0.011662 | +| ape2d/ks | 0.000024 | +| ape2d/sh | 0.000005 | +| pdearena/navier_stokes_2d | 0.000081 | +| well/active_matter | 0.088847 | +| well/turbulent_radiative_layer_2D | 0.449111 | + +Replayed all24 active VALID trajectories with the fixed128-pass moment consistency projection; every case uses30/30 physical steps. Reused552 complete corpus/smoke outputs and nine neural outputs from the selected full585 parent after exact unaffected asset/configuration parity. Rebased concurrent shared-neural progress without changing any of the24 complete kinetic outputs. Quick81 outputs are a strict subset with exact input and metadata equality. No held-out cases or inference-time data caches. + +Outcome: recorded full validation for audit and comparison; no automatic comparison against the distinct quick-validation sample. + +## E043 — fixed hidden-moment consistency, full-cohort selection +- Hypothesis / changed factor: Add128 fixed Dykstra state-projection passes at128 doubled-angle bins to each initial active quadrature node. Preserve encoded F0,F2,F4 exactly; retain current width1e-4, seed20261026 and all physical parameters. No new learned parameters or inference-time fitting. Six audited TRAIN regimes improved mean VRMSE0.19588287 to0.19229008, with one moderate regression. Replay all24 active VALID trajectories before selection; all30/30 physical steps. Retain current shared-neural progress and score all585 valid trajectories. Compare full585 rewards against the current package, not the smaller active subset. Per-dataset results, complete physical coverage, source hashes and repeat checks are retained. +- Seed: 20261102. +- Checkpoint SHA256: `5969f2d0a3b0b95aadcafc9aeff5cc3f0432348b6ce5518e79b96925b2ad10fe`. +- Runtime code SHA256: `287aee6dbc146c522445ebdd14036cb9d00433aa8d7ebe61ef2e2665a73d502a`. +- Validation: fixed 81-case subset; reward **0.812815**, failed cases 0. + +| Dataset | VRMSE | +|---|---:| +| ape2d/burgers | 0.006413 | +| ape2d/decay_turb | 0.000381 | +| ape2d/diff | 0.000003 | +| ape2d/fisher | 0.000003 | +| ape2d/gs_alpha | 0.003095 | +| ape2d/gs_beta | 0.004740 | +| ape2d/gs_delta | 0.019250 | +| ape2d/gs_epsilon | 0.001366 | +| ape2d/gs_gamma | 0.049313 | +| ape2d/gs_iota | 0.001785 | +| ape2d/gs_kappa | 0.004855 | +| ape2d/gs_theta | 0.004678 | +| ape2d/kdv | 0.016728 | +| ape2d/kolm_flow | 0.008926 | +| ape2d/ks | 0.000039 | +| ape2d/sh | 0.000004 | +| pdearena/navier_stokes_2d | 0.000083 | +| well/active_matter | 0.039252 | +| well/turbulent_radiative_layer_2D | 0.449111 | + +Selection basis: full585 physical-operator comparison: candidate0.78032472, current0.78089659 + +Outcome: did not improve validation reward; retained current package. + +## E054 — initial-context sampling preparation + +Hypothesis: statistical training windows should match the scored first-four-frame task more closely. Compare the current50percent initial-context sampling against100percent initial contexts, resuming the selected E049/periodic1000 shared head. Both arms use reconstructed-field VRMSE, no further translation augmentation, all19 TRAIN datasets, seed20261118, batch512,6000updates and learning rate0.0001 cosine. Preserve sample-index/random-number draws; only the rule choosing temporal start changes. No new parameters, frozen-zero covariance projection. CPU training only; full-runtime validation is queued after E053 completes so all six candidates share the then-selected parent. Validate1000/3000/6000 and retain all regressions, hashes and per-dataset results. No synthetic data or held-out targets. + +## E043d — full-cohort projection hypothesis rejected + +The fixed128-pass initial hidden-moment projection improves quick12 active VRMSE0.04060092 to0.03925196 but worsens all24 active VALID trajectories0.08745429 to0.08884714. All30-step physical prefixes complete and exact active/unknown repeat checks pass. Full585 selection correctly rejects the change despite the quick reward improvement. Keep the unprojected narrow1e-4 operator and current averaged neural weights. Full dataset scores and hashes are recorded in E043 and the full-validation entry. E051 positive future-output-step study now runs against this retained parent, TRAIN only. + +## E047b — capacity experiment queued after full-rollout training + +Prepare width48 to96 main-network continuation using the checked E047 conversion. Phase9 waits for phase8/update4000 validation and normal exit of its trainer, workers, launcher and watcher. Then repeat conversion checks on the actually selected parent, freeze its selected auxiliary guides, and run the sole next GPU trainer for2000updates: microbatch1 times6, full30-step rollouts, learning rate0.00003, sampling seed20261119, new zero-sum pair perturbation seed20261110. No new optimizer has started yet. A changed selected auxiliary guide, if any, will be documented as an additional changed factor. All physics/auxiliary inference assets remain inherited; validate1000 and2000 with the existing decoder variants. Files: launch_phase9.py,watch_phase9.py,wider_v1. + +## E055 — synthetic numerical convergence diagnosis + +The rejected E050 spatial pilot does not establish whether spatial bandwidth or angular truncation caused its moment-bound violations. Test a freshly specified, much smoother positive angular-mixture field at spatial32 and64, angular modes32 and64, with the same continuous initial field and fresh independent seed20261120. Phase amplitude0.05, mixture amplitude0.02, concentration amplitude0.01, parameters9/-3 and17/-5, four stored advances of0.25. Monitor finite values, concentration positivity, all retained moment bounds, first9-moment Toeplitz eigenvalues and low-moment convergence against spatial64/angular64. This CPU-only diagnostic writes no training examples, has no learned parameters and uses no real trajectory targets. No outputs may enter any optimizer. Results will determine whether further synthetic teacher work is justified; published sources_used remains unchanged. + +## E053a — matched interaction-grid resolution comparison + +Continue the session-trained E033 interaction branch, comparing its4x16 grid with8x32 lifted initialization. Both variants use identical TRAIN samples and seed20261117,6000 updates, batch512,learning rate0.0001 cosine,all19 datasets and two CPU threads. Keep the original interaction objective and fixed0.25 decoder blend. Fine-grid branch has2817440 parameters versus787808 in control; pooled initialization matches parent in float64 to5.03e-14. No synthetic or held-out data. Every checkpoint is replayed through the complete shared runtime. + +| Variant | Update | Radiative-layer VRMSE | Quick81 reward | Training checkpoint SHA256 | +|---|---:|---:|---:|---| +| control | 1000 | 0.44916459 | 0.81158821 | `7d5c4aab7e7ca6a99be462e961727dc1fbf664e8ef7bcec30368ccfc7573ab9f` | +| control | 3000 | 0.44914566 | 0.81158974 | `0699bced7df85b544d2729aefc358db29ffdbd75213109ab7f67f9fea2cdaafc` | +| control | 6000 | 0.44913370 | 0.81159070 | `a3ee94d8a7784d70e1e5fae13ae8bf9a8ad49558a3c598e012d64c3adebb12e5` | +| fine | 1000 | 0.45124607 | 0.81142089 | `817aa7c53b04e7c5aeedf1540279712131c8ddc84bd2560a9f859f6f0219dd1c` | +| fine | 3000 | 0.45125512 | 0.81142016 | `139bca5da618d59c5cca657194bc4554bcd08c4b7487ecc123cb5f534ab1967d` | +| fine | 6000 | 0.45100125 | 0.81144053 | `89b008c8b5749b16db607dfe3d9c172fc76199bbca21301bc1909013e2c2388a` | + +The following unchanged dataset metrics apply to every candidate, reusing complete physical prefixes from the documented parent: + +| Dataset | VRMSE | +|---|---:| +| ape2d/burgers | 0.00641268 | +| ape2d/decay_turb | 0.00038142 | +| ape2d/diff | 0.00000260 | +| ape2d/fisher | 0.00000341 | +| ape2d/gs_alpha | 0.00309470 | +| ape2d/gs_beta | 0.00474027 | +| ape2d/gs_delta | 0.01924967 | +| ape2d/gs_epsilon | 0.00136617 | +| ape2d/gs_gamma | 0.04931292 | +| ape2d/gs_iota | 0.00178479 | +| ape2d/gs_kappa | 0.00485456 | +| ape2d/gs_theta | 0.00467797 | +| ape2d/kdv | 0.01672801 | +| ape2d/kolm_flow | 0.00892557 | +| ape2d/ks | 0.00003913 | +| ape2d/sh | 0.00000371 | +| pdearena/navier_stokes_2d | 0.00008349 | +| well/active_matter | 0.04060092 | + +Outcome: select the best complete-package result for contract checks and comparison against the current published package. All regressions remain recorded above. + +## E053 — shared interaction-grid resolution +- Hypothesis / changed factor: Matched continuation of the shared interaction forecaster, selected modecontrol update6000. Compare4x16 control against8x32 grid with lifted initialization from session-trained E033/update6000. Both train across all19 datasets with identical sample sequence, seed20261117,6000updates,batch512,learning rate0.0001 cosine. Keep original interaction loss and fixed0.25 correction blend. No new synthetic data or pretrained assets. Same branch runs on every case; correction preserves global means and axis profiles and leaves complete physical prefixes authoritative. Six complete-runtime checkpoint replays on all9 neural VALID trajectories; reuse72 physically complete outputs after unchanged physical assets. All per-dataset metrics and checkpoint hashes are recorded in E053a. Exact neural/unknown and smoke/diffusion repeat checks precede winning publication. +- Seed: 20261102. +- Checkpoint SHA256: `5969f2d0a3b0b95aadcafc9aeff5cc3f0432348b6ce5518e79b96925b2ad10fe`. +- Runtime code SHA256: `51f53a4b3cb8001dba008fb6ed6df6c76291794f83d0ce0000d9871c35ac0505`. +- Validation: fixed 81-case subset; reward **0.811591**, failed cases 0. + +| Dataset | VRMSE | +|---|---:| +| ape2d/burgers | 0.006413 | +| ape2d/decay_turb | 0.000381 | +| ape2d/diff | 0.000003 | +| ape2d/fisher | 0.000003 | +| ape2d/gs_alpha | 0.003095 | +| ape2d/gs_beta | 0.004740 | +| ape2d/gs_delta | 0.019250 | +| ape2d/gs_epsilon | 0.001366 | +| ape2d/gs_gamma | 0.049313 | +| ape2d/gs_iota | 0.001785 | +| ape2d/gs_kappa | 0.004855 | +| ape2d/gs_theta | 0.004678 | +| ape2d/kdv | 0.016728 | +| ape2d/kolm_flow | 0.008926 | +| ape2d/ks | 0.000039 | +| ape2d/sh | 0.000004 | +| pdearena/navier_stokes_2d | 0.000083 | +| well/active_matter | 0.040601 | +| well/turbulent_radiative_layer_2D | 0.449134 | + +Selection basis: same physical operators; fixed81-case neural comparison + +Outcome: did not improve validation reward; retained current package. + +## E051a — positive future-step projection rejected on TRAIN + +Both paired TRAIN rollouts use all30 physical steps. At9/-3, clipping and renormalizing angular density after every future stored advance worsens VRMSE0.0057188724 to0.0174041912. At17/-5 it worsens0.7328003645 to0.7953209877. The constraint adds bias despite enforcing nonnegative sampled angular density. Outcome: reject without VALID replay; no package change. Protocol/source hashes and step/channel errors are in positive_step_v1. No learned parameters or new random seed; inherit narrow quadrature seed20261026. + +## E055a — synthetic convergence remains inadequate + +All eight short diagnostic runs remain finite. At9/-3, spatial64/angular64 ends with minimum first9-moment Toeplitz eigenvalue about-3.69e-6; spatial64/angular32 differs in low moments by RMS0.000595. At17/-5 even spatial64/angular64 reaches a retained-moment/concentration ratio1.2968 and minimum eigenvalue-1.3238. Spatial32/angular32,32/angular64 and64/angular32 differ from that still-inadequate reference by low-moment RMS0.5498,0.3836 and0.3845. Increasing only angular resolution is insufficient. Outcome: no converged teacher for the strong regime; no synthetic examples were generated or used in training. Do not interpret the highest-resolution run as ground truth. Exact numerical diagnostics/source/seed are retained in synthetic_convergence_v1. + +## E056 — boundary-aware convolutional profile residual preparation + +Hypothesis: shared local profile filters generalize better than position-specific dense weights. Append a width64,three-block1D convolutional residual to the selected16-bin statistical forecaster. Share weights across axes, condition on metadata/horizon and global input statistics, use periodic/replicated padding from boundary flags, and include coordinates only on nonperiodic axes. Center each output profile residual to preserve its mean. Add145675 parameters (statistical branch544587 to690262); zero output head preserves the parent's initial predictions exactly. Nonzero-head periodic-equivariance checks on four TRAIN groups pass below1.5e-9 normalized difference. Only the new residual is claimed equivariant. + +Queue matched base continuation and joint adapter training after E054 selection, using its latest shared statistical weights and inherited initial-context sampling probability. Seed20261121 initializes the new parameters and fixes identical sample draws;6000updates,batch512,learning rate0.0001 cosine,field-VRMSE objective,all19 TRAIN datasets. No new augmentation or synthetic data; unused covariance projection stays frozen zero. Compare1000/3000/6000 in the full shared runtime including guide forecasts, fixed decoder blends, and all9 thermal VALID trajectories. Record all per-dataset results and hashes before selection. + +## E054a — matched initial-context sampling comparison + +Continue the selected E049/periodic1000 shared statistical branch with matched50percent versus100percent initial-context sampling. Both use reconstructed-field VRMSE, identical sample draws and seed20261118,6000 updates,batch512,learning rate0.0001 cosine,all19 datasets and two CPU threads. No translations in either arm. No new parameters; unused covariance projection remains frozen zero. Every checkpoint is replayed through the same complete shared runtime, including its guidance role. + +| Variant | Update | Radiative-layer VRMSE | Quick81 reward | Training checkpoint SHA256 | +|---|---:|---:|---:|---| +| control | 1000 | 0.45097503 | 0.81144263 | `0e9088487c92cddb4f19c2ef776da9246bb29789a0d38f0f74b9f32e12f9ba44` | +| control | 3000 | 0.45026510 | 0.81149965 | `e2ef0a745c815bf85b0b5ac6a9ff0003fe50b16f20d43a4e2f0ff700c0ce0cfd` | +| control | 6000 | 0.44998706 | 0.81152200 | `444f5a222242457a02d36ad4e031556e518e24cd3cde3705637bc9972a34b7a6` | +| initial | 1000 | 0.45074985 | 0.81146071 | `a0fda8671f0a7606c0b60ead02a981af730f838500e4ce47b5726da466224fe1` | +| initial | 3000 | 0.45098953 | 0.81144147 | `49d0fb586dc86cc9282d88b2509e9be9cce4c8f0b7821017c80804c2332c6020` | +| initial | 6000 | 0.45044719 | 0.81148502 | `9d00e762d03479761f3aac676b74820d67170615c09d9ed852984146cf5a24f3` | + +The following unchanged dataset metrics apply to every candidate, reusing complete physical prefixes from the documented parent: + +| Dataset | VRMSE | +|---|---:| +| ape2d/burgers | 0.00641268 | +| ape2d/decay_turb | 0.00038142 | +| ape2d/diff | 0.00000260 | +| ape2d/fisher | 0.00000341 | +| ape2d/gs_alpha | 0.00309470 | +| ape2d/gs_beta | 0.00474027 | +| ape2d/gs_delta | 0.01924967 | +| ape2d/gs_epsilon | 0.00136617 | +| ape2d/gs_gamma | 0.04931292 | +| ape2d/gs_iota | 0.00178479 | +| ape2d/gs_kappa | 0.00485456 | +| ape2d/gs_theta | 0.00467797 | +| ape2d/kdv | 0.01672801 | +| ape2d/kolm_flow | 0.00892557 | +| ape2d/ks | 0.00003913 | +| ape2d/sh | 0.00000371 | +| pdearena/navier_stokes_2d | 0.00008349 | +| well/active_matter | 0.04060092 | + +Outcome: select the best complete-package result for contract checks and comparison against the current published package. All regressions remain recorded above. + +## E054 — first-four-frame training distribution +- Hypothesis / changed factor: Matched initial-context sampling comparison, selected modecontrol update6000. Both arms resume E049/periodic1000 with reconstructed-field objective, all19 datasets, seed20261118,6000updates,batch512,learning rate0.0001 cosine. Control chooses frame0 with probability0.5 plus incidental random starts; initial arm always uses the first four frames. No periodic augmentation or new parameters in either arm. Covariance projection remains frozen zero. All six candidates use the same complete runtime and fixed decoder blends; guidance consumes original context only. Replay all nine neural VALID trajectories, reuse72 unchanged complete physical outputs; record all metrics and hashes in E054a. Exact neural/unknown and smoke/diffusion repeats precede winning publication. +- Seed: 20261102. +- Checkpoint SHA256: `5969f2d0a3b0b95aadcafc9aeff5cc3f0432348b6ce5518e79b96925b2ad10fe`. +- Runtime code SHA256: `47c46b77e41a6426199d670eae5da4f25a6578fbfb5d70ba15bb998919ecf632`. +- Validation: fixed 81-case subset; reward **0.811522**, failed cases 0. + +| Dataset | VRMSE | +|---|---:| +| ape2d/burgers | 0.006413 | +| ape2d/decay_turb | 0.000381 | +| ape2d/diff | 0.000003 | +| ape2d/fisher | 0.000003 | +| ape2d/gs_alpha | 0.003095 | +| ape2d/gs_beta | 0.004740 | +| ape2d/gs_delta | 0.019250 | +| ape2d/gs_epsilon | 0.001366 | +| ape2d/gs_gamma | 0.049313 | +| ape2d/gs_iota | 0.001785 | +| ape2d/gs_kappa | 0.004855 | +| ape2d/gs_theta | 0.004678 | +| ape2d/kdv | 0.016728 | +| ape2d/kolm_flow | 0.008926 | +| ape2d/ks | 0.000039 | +| ape2d/sh | 0.000004 | +| pdearena/navier_stokes_2d | 0.000083 | +| well/active_matter | 0.040601 | +| well/turbulent_radiative_layer_2D | 0.449987 | + +Selection basis: same physical operators; fixed81-case neural comparison + +Outcome: did not improve validation reward; retained current package. + +## E053b and E054b — no deployment improvement + +E053 finer dense8x32 forecasts worsen VALID at every saved update. Best fine result0.45100125 at6000, versus matched4x16 control0.44913370 and selected parent0.44911052. Retain the original E0334x16 branch. A target-error projection shows representational opportunity but does not establish that these fine modes are predictable by a dense forecast head. + +E054 all-first-context training also fails to improve deployment. At updates1000/3000/6000, control VRMSE0.45097503/0.45026510/0.44998706; first-context variant0.45074985/0.45098953/0.45044719. All are worse than selected0.44911052. Retain50percent initial-context sampling and the E049 head. Full per-dataset tables and hashes appear in each experiment's comparison entry; no package weights changed. + +## E057 — shared convolutional interaction forecaster preparation + +Hypothesis: local spatial weight sharing is a better inductive bias than a dense8x32 mapping. Train a159675-parameter shared forecaster from random initialization seed20261122, with width48,five conditioned depthwise blocks,periodic/replicated padding from metadata, coordinates only on nonperiodic axes and a zero output head. Inputs are four8x32 grids plus means/variances/metadata/horizon. All19 TRAIN datasets; batch128,12000updates,learning rate0.0003 cosine,two CPU threads,original interaction loss,50percent initial contexts. Fixed decoder blend0.25. Compare2000/6000/12000 through the complete then-selected shared runtime. Architecture, parameter count, initialization and optimization budget differ from E053; do not attribute differences to convolution alone. + +The first nonzero-head periodic-shift check failed by2.70e-5 normalized error from float32 interaction-centering cancellation on nearly homogeneous fields. Double-precision accumulation in that projection resolves the issue: all periodic checks on four TRAIN groups are now exact, initial predictions equal interaction persistence exactly, and backward checks have finite nonzero output-head gradients. No optimizer ran before these checks. No pretrained or synthetic assets, and no held-out targets. Source/checks in coarse_convolution_v1; pending validation and checkpoint hashes will be recorded. + +## E057b — CPU throughput allocation + +An isolated forward/backward benchmark on artificial tensors, with no optimizer or training data, measured median step times0.411/0.205/0.136seconds at2/4/8 CPU threads. The preliminary E057 run had only a few hundred updates and no saved checkpoint. Retire that CPU process only, preserve its exact configuration/source/log under pilot_two_threads, and restart from the same random initialization seed20261122 with8threads. This remains within the22-CPU allocation alongside the main GPU trainer, its six workers and the two-thread profile experiment. The published model and GPU optimizer are untouched. The final training config explicitly records8threads; no preliminary result enters model selection. Future validation description should use this actual thread count. + +## E058 — fixed context model-defect extrapolation pilot + +Current full corpus VRMSE0.01084193 is dominated by Gray–Scott gamma0.06278, KdV0.02468 and Gray–Scott delta0.02262. Hypothesis: one-step solver discrepancies within the supplied context reveal a persistent numerical-model bias. On the first two authorized TRAIN trajectories of gamma,delta andKdV, independently compute each observed transition's residual x[j+1]-P(x[j]) with the existing selected operator. Average the three residuals with fixed weights0.25/0.25/0.5, and compare the unchanged physical rollout with output correction strength0.25 or1 multiplied by forecast step. No inference parameters are fitted; only the fixed input-state calculation changes. No random seed or learned checkpoint, no synthetic data. Store full26-step TRAIN errors and diagnostic alignment of the context residual with future errors; those target-derived alignments are never inference coefficients. No VALID or package candidate yet. Source hashes/configuration and exact trajectory membership are in context_defect_v1. + +## E058a — fixed model-defect extrapolation rejected + +| TRAIN family | Trajectory | Unchanged | Strength0.25 | Strength1.0 | +|---|---:|---:|---:|---:| +| ape2d/gs_gamma | 0 | 0.029922720 | 0.029934172 | 0.030060413 | +| ape2d/gs_gamma | 1 | 0.085883125 | 0.085890967 | 0.085974602 | +| ape2d/gs_delta | 0 | 0.013151899 | 0.013155781 | 0.013236184 | +| ape2d/gs_delta | 1 | 0.012910574 | 0.012918597 | 0.013015623 | +| ape2d/kdv | 0 | 0.000014622 | 0.000014187 | 0.000014296 | +| ape2d/kdv | 1 | 0.021805965 | 0.023939122 | 0.044701402 | + +Both nonzero strengths worsen all four Gray–Scott cases and the nontrivial KdV case. The nearly exact KdV case changes by less than5e-7. Outcome: reject persistent output-defect extrapolation; do not run validation or alter the package. Context residuals do not supply a useful fixed spatial bias under this formula. Full time/channel errors and target-dependent diagnostic alignments are retained, never used as inference coefficients. No learned checkpoint or seed. + +## E059 — differentiable hidden-state learning feasibility + +The synthetic teacher remains unfit, so investigate whether future TRAIN observations could instead supervise a hidden-state head through the fixed physical dynamics. This is preparation only: no new neural head or optimizer exists yet. Check state derivatives of the independently implemented angular-moment kernel on a small artificial16x16,M8 state, seed20261124. Compare ordinary autograd, substep activation recomputation, and a central finite directional derivative in double precision. No real targets or synthetic training examples. The published TorchScript forward kernel fails under autograd with a complex-to-double overflow before producing a gradient; preserve that failure, then test the identical arithmetic as ordinary Python functions with decorators removed. No published runtime changes. Only if this works should a joint all-dataset neural/state training design be considered; inference would retain fixed parameters and use only four frames. + +## E056a — matched profile-convolution comparison + +Compare matched continuation against a shared1D convolutional residual on16-bin profiles. Both resume the selected parent after E054, share sample sequence and seed20261121,field-VRMSE objective,6000updates,batch512,learning rate0.0001 cosine and all19 TRAIN datasets. Inherit the selected initial-context sampling probability. The residual adds145675 parameters (total statistical branch690262), uses boundary-aware padding and a zero output head. Parent-output parity is exact before training; nonzero residual periodic-equivariance checks pass below1.5e-9 normalized error. The inherited MLP is not claimed equivariant. Every checkpoint uses the complete runtime, including guidance. + +| Variant | Update | Radiative-layer VRMSE | Quick81 reward | Training checkpoint SHA256 | +|---|---:|---:|---:|---| +| control | 1000 | 0.45067359 | 0.81146683 | `eebebf08b139686eb72c688525ab18059b71d54d829ac94f7c62fc0101ce2ecd` | +| control | 3000 | 0.45074070 | 0.81146144 | `bd984e3b48d1f654ae7a6c4a4de0ccc1bda640abb059ced00534603a983f4cb0` | +| control | 6000 | 0.45057447 | 0.81147479 | `b86ccce3ee5a613314ee1fc44c7cf616ea62c48381920b612818b4a276ae4690` | +| convolution | 1000 | 0.45016542 | 0.81150766 | `e35737f2dbde15fcf806e35042b26b2e4e25f70e52b3fc0ae5160682366fd1d2` | +| convolution | 3000 | 0.45075162 | 0.81146057 | `27c73cbbeb60b4b0254a2ebbbf08be5bb0bb9a9d82e21011cea5452591c64a25` | +| convolution | 6000 | 0.45079751 | 0.81145688 | `d121fbad6fe2edf06d186304b086e460da7089f821113d05b0cab10207e55bab` | + +The following unchanged dataset metrics apply to every candidate, reusing complete physical prefixes from the documented parent: + +| Dataset | VRMSE | +|---|---:| +| ape2d/burgers | 0.00641268 | +| ape2d/decay_turb | 0.00038142 | +| ape2d/diff | 0.00000260 | +| ape2d/fisher | 0.00000341 | +| ape2d/gs_alpha | 0.00309470 | +| ape2d/gs_beta | 0.00474027 | +| ape2d/gs_delta | 0.01924967 | +| ape2d/gs_epsilon | 0.00136617 | +| ape2d/gs_gamma | 0.04931292 | +| ape2d/gs_iota | 0.00178479 | +| ape2d/gs_kappa | 0.00485456 | +| ape2d/gs_theta | 0.00467797 | +| ape2d/kdv | 0.01672801 | +| ape2d/kolm_flow | 0.00892557 | +| ape2d/ks | 0.00003913 | +| ape2d/sh | 0.00000371 | +| pdearena/navier_stokes_2d | 0.00008349 | +| well/active_matter | 0.04060092 | + +Outcome: select the best complete-package result for contract checks and comparison against the current published package. All regressions remain recorded above. + +## E056 — shared convolutional profile residual +- Hypothesis / changed factor: Matched shared-profile convolution study, selected modeconvolution update1000. Both arms resume the selected statistical parent after E054 with field-VRMSE objective, identical samples, seed20261121,6000updates,batch512,learning rate0.0001 cosine,all19 datasets and inherited initial-context probability. Convolution variant adds145675 parameters through a width64,three-block residual with metadata/horizon conditioning and boundary-aware padding. Output head starts at zero, preserving the parent exactly; the nonzero residual is equivariant on periodic axes. No new mean-output branch or pretrained assets; unused covariance projection remains frozen zero. All six candidates are tested through the complete shared runtime with fixed decoder blends and guidance from original context only. Replay all9 neural VALID trajectories and reuse72 complete unchanged physical outputs. All metrics and hashes are recorded in E056a. Exact neural/unknown and smoke/diffusion repeat checks precede winning publication. +- Seed: 20261102. +- Checkpoint SHA256: `5969f2d0a3b0b95aadcafc9aeff5cc3f0432348b6ce5518e79b96925b2ad10fe`. +- Runtime code SHA256: `20f6453e9ad2a9b45a022443f03e8cdc8184b992d395c1d3c69566f69a789f1d`. +- Validation: fixed 81-case subset; reward **0.811508**, failed cases 0. + +| Dataset | VRMSE | +|---|---:| +| ape2d/burgers | 0.006413 | +| ape2d/decay_turb | 0.000381 | +| ape2d/diff | 0.000003 | +| ape2d/fisher | 0.000003 | +| ape2d/gs_alpha | 0.003095 | +| ape2d/gs_beta | 0.004740 | +| ape2d/gs_delta | 0.019250 | +| ape2d/gs_epsilon | 0.001366 | +| ape2d/gs_gamma | 0.049313 | +| ape2d/gs_iota | 0.001785 | +| ape2d/gs_kappa | 0.004855 | +| ape2d/gs_theta | 0.004678 | +| ape2d/kdv | 0.016728 | +| ape2d/kolm_flow | 0.008926 | +| ape2d/ks | 0.000039 | +| ape2d/sh | 0.000004 | +| pdearena/navier_stokes_2d | 0.000083 | +| well/active_matter | 0.040601 | +| well/turbulent_radiative_layer_2D | 0.450165 | + +Selection basis: same physical operators; fixed81-case neural comparison + +Outcome: did not improve validation reward; retained current package. + +## E038 — complete-rollout autoregressive training, update 1000, shrink +- Hypothesis / changed factor: Train the selected shared architecture on full rollout windows, capped at26 corpus,30 Well and10 Arena steps. Three microbatches of two accumulate to effective batch6, limiting memory on the single H100. Learning rate0.00003 cosine, native thermal grids, noise0.01, group probabilities0.05/0.075/0.075/0.8; sampling seed20261106. Exact selected parent, inherited seeds and fixed auxiliary hashes are in phase8/lineage.json. If the parent has learned guidance, its fixed statistics use only the original four context frames and metadata. Profile shrinkage 0.75; mean/profile output corrections enabled=True; the selected coarse interaction correction is retained. Rerun nine neural validation cases and reuse72 complete physical outputs documented in physical_cache_source.json. No pretrained assets or inference-time fitting. +- Seed: 20261106. +- Checkpoint SHA256: `d74b5240df075970d9951637f684d5865e953c3cfccd5629de6c2b491307a18c`. +- Runtime code SHA256: `bde67d792a2cc2cd64656ca21dfe1fbfdd653c2560d5376370cc304b090daf51`. +- Validation: fixed 81-case subset; reward **0.810513**, failed cases 0. + +| Dataset | VRMSE | +|---|---:| +| ape2d/burgers | 0.006413 | +| ape2d/decay_turb | 0.000381 | +| ape2d/diff | 0.000003 | +| ape2d/fisher | 0.000003 | +| ape2d/gs_alpha | 0.003095 | +| ape2d/gs_beta | 0.004740 | +| ape2d/gs_delta | 0.019250 | +| ape2d/gs_epsilon | 0.001366 | +| ape2d/gs_gamma | 0.049313 | +| ape2d/gs_iota | 0.001785 | +| ape2d/gs_kappa | 0.004855 | +| ape2d/gs_theta | 0.004678 | +| ape2d/kdv | 0.016728 | +| ape2d/kolm_flow | 0.008926 | +| ape2d/ks | 0.000039 | +| ape2d/sh | 0.000004 | +| pdearena/navier_stokes_2d | 0.000083 | +| well/active_matter | 0.040601 | +| well/turbulent_radiative_layer_2D | 0.462711 | + +Selection basis: same physical operators; fixed81-case neural comparison + +Outcome: did not improve validation reward; retained current package. + +## E038 — complete-rollout autoregressive training, update 1000, no_shrink +- Hypothesis / changed factor: Train the selected shared architecture on full rollout windows, capped at26 corpus,30 Well and10 Arena steps. Three microbatches of two accumulate to effective batch6, limiting memory on the single H100. Learning rate0.00003 cosine, native thermal grids, noise0.01, group probabilities0.05/0.075/0.075/0.8; sampling seed20261106. Exact selected parent, inherited seeds and fixed auxiliary hashes are in phase8/lineage.json. If the parent has learned guidance, its fixed statistics use only the original four context frames and metadata. Profile shrinkage 0.0; mean/profile output corrections enabled=True; the selected coarse interaction correction is retained. Rerun nine neural validation cases and reuse72 complete physical outputs documented in physical_cache_source.json. No pretrained assets or inference-time fitting. +- Seed: 20261106. +- Checkpoint SHA256: `d74b5240df075970d9951637f684d5865e953c3cfccd5629de6c2b491307a18c`. +- Runtime code SHA256: `b02fbeefa500eb903647f72467e049c24b9d82207ed900d3de67d77b1a5e81de`. +- Validation: fixed 81-case subset; reward **0.810489**, failed cases 0. + +| Dataset | VRMSE | +|---|---:| +| ape2d/burgers | 0.006413 | +| ape2d/decay_turb | 0.000381 | +| ape2d/diff | 0.000003 | +| ape2d/fisher | 0.000003 | +| ape2d/gs_alpha | 0.003095 | +| ape2d/gs_beta | 0.004740 | +| ape2d/gs_delta | 0.019250 | +| ape2d/gs_epsilon | 0.001366 | +| ape2d/gs_gamma | 0.049313 | +| ape2d/gs_iota | 0.001785 | +| ape2d/gs_kappa | 0.004855 | +| ape2d/gs_theta | 0.004678 | +| ape2d/kdv | 0.016728 | +| ape2d/kolm_flow | 0.008926 | +| ape2d/ks | 0.000039 | +| ape2d/sh | 0.000004 | +| pdearena/navier_stokes_2d | 0.000083 | +| well/active_matter | 0.040601 | +| well/turbulent_radiative_layer_2D | 0.463020 | + +Selection basis: same physical operators; fixed81-case neural comparison + +Outcome: did not improve validation reward; retained current package. + +## E038 — complete-rollout autoregressive training, update 1000, mean_profile_off +- Hypothesis / changed factor: Train the selected shared architecture on full rollout windows, capped at26 corpus,30 Well and10 Arena steps. Three microbatches of two accumulate to effective batch6, limiting memory on the single H100. Learning rate0.00003 cosine, native thermal grids, noise0.01, group probabilities0.05/0.075/0.075/0.8; sampling seed20261106. Exact selected parent, inherited seeds and fixed auxiliary hashes are in phase8/lineage.json. If the parent has learned guidance, its fixed statistics use only the original four context frames and metadata. Profile shrinkage 0.75; mean/profile output corrections enabled=False; the selected coarse interaction correction is retained. Rerun nine neural validation cases and reuse72 complete physical outputs documented in physical_cache_source.json. No pretrained assets or inference-time fitting. +- Seed: 20261106. +- Checkpoint SHA256: `d74b5240df075970d9951637f684d5865e953c3cfccd5629de6c2b491307a18c`. +- Runtime code SHA256: `54e4d7c0dbee2ada00505f657b8d9bc6993085410464ff02a4f98f6c8aac8186`. +- Validation: fixed 81-case subset; reward **0.809958**, failed cases 0. + +| Dataset | VRMSE | +|---|---:| +| ape2d/burgers | 0.006413 | +| ape2d/decay_turb | 0.000381 | +| ape2d/diff | 0.000003 | +| ape2d/fisher | 0.000003 | +| ape2d/gs_alpha | 0.003095 | +| ape2d/gs_beta | 0.004740 | +| ape2d/gs_delta | 0.019250 | +| ape2d/gs_epsilon | 0.001366 | +| ape2d/gs_gamma | 0.049313 | +| ape2d/gs_iota | 0.001785 | +| ape2d/gs_kappa | 0.004855 | +| ape2d/gs_theta | 0.004678 | +| ape2d/kdv | 0.016728 | +| ape2d/kolm_flow | 0.008926 | +| ape2d/ks | 0.000039 | +| ape2d/sh | 0.000004 | +| pdearena/navier_stokes_2d | 0.000083 | +| well/active_matter | 0.040601 | +| well/turbulent_radiative_layer_2D | 0.469864 | + +Selection basis: same physical operators; fixed81-case neural comparison + +Outcome: did not improve validation reward; retained current package. + +## E056b — convolutional profile residual did not improve deployment + +The added residual beats its matched control at update1000 (0.45016542 versus0.45067359), but regresses at3000/6000 and never beats the selected0.44911052. Best control0.45057447, best convolution0.45016542. Reject all six candidates; keep the E049 statistical branch. All VALID dataset metrics, seeds and checkpoint hashes remain in E056a. No package weight changes. + +## E059a — physical state gradients and recomputation verified + +Removing only TorchScript decorators resolves the autograd failure while preserving the physical arithmetic. On the16x16,M8,double-precision artificial state, directional autograd and finite differences agree to relative7.17e-8; ordinary and recomputed values/gradients agree exactly. No optimizer or training examples. + +Native256,M32 measurements use authorized TRAIN trajectories only and no optimizer. On9/-3 trajectory1, one stored step (96 substeps) matches the published center-node forecast exactly, yields finite gradient norm9.79e-8, uses2.067GiB peak allocated memory and takes7.48seconds forward/backward. On17/-5 trajectory1, four stored steps (176 substeps each) also match exactly, give finite gradient norm9.51e-6, use7.182GiB and take42.45seconds. Timings share the H100 with main training and are feasibility measurements, not isolated benchmarks. Activation recomputation uses blocks of two internal steps. Seeds20261124/20261125; exact source hashes/reports in differentiable_latent_v1. The kernel operates only on physical state; no inference-time optimizer is proposed. + +## E060 — joint hidden-state head preparation + +Hypothesis: real future TRAIN observations can supervise a missing angular-state correction through differentiable dynamics, avoiding the rejected synthetic teacher. Add a zero-initialized two-channel head to the same shared neural backbone; pool its output to16x16. It is computed on every forward pass for every dataset. The planned physical interpretation is a bounded correction of F6, with all model parameters fixed during inference. Main parameters3066627 to3066725 at width48 (98 added parameters); seed20261126, all added values initially zero. Main-output parity and finite state-head gradients are checked on four TRAIN groups. No optimizer or joint training has started. + +Cache all175 active TRAIN trajectories' first four frames, four future LABEL frames, and the fixed encoded center state/streamfunction. The encoder consumes only frames0..3; future observations are labels and never state inputs. Copy and hash the current independently implemented encoder and Bingham table; audit every trajectory against train pools. These are derived real training data, not synthetic trajectories or pretrained assets. Future joint training must retain the ordinary all19-dataset loss on the same shared backbone; do not train or switch to a separate active-only checkpoint. Any inference implementation must pass zero-head parity and full24-active/full585 selection before publication. Cache and preparation code live in latent_state_v1; physical source changes require rechecking cache compatibility. + +## E057a — convolutional interaction forecaster comparison + +Train a new shared convolutional8x32 interaction forecaster from random initialization seed20261122: width48,five conditioned depthwise blocks,batch128,12000updates,learning rate0.0003 cosine,all19 TRAIN datasets and eight CPU threads. Unlike the dense8x32 branch of E053, spatial weights are shared and periodic axes have exact convolutional translation symmetry up to roundoff. Preserve original interaction loss and0.25 output blend. Interaction centering uses float64 accumulation to avoid cancellation in nearly homogeneous channels. This architecture comparison also changes parameter count and optimization budget; no causal attribution to convolution alone is claimed. Every checkpoint uses the complete then-selected runtime. + +| Variant | Update | Radiative-layer VRMSE | Quick81 reward | Training checkpoint SHA256 | +|---|---:|---:|---:|---| +| convolution | 2000 | 0.45403915 | 0.81119756 | `98bad765a7bf75c82d06de5833b76fbe30547ee350bc0209b745eace764ca440` | +| convolution | 6000 | 0.45272777 | 0.81130225 | `a2be891cce5aed99e77e404c42f01c59e56aec4b1e51dafc5f93d38fe03c1f68` | +| convolution | 12000 | 0.45190796 | 0.81136784 | `86922705fe4342ed6808e256078e6e399563feba021564b51a06ebe3eefddb4b` | + +The following unchanged dataset metrics apply to every candidate, reusing complete physical prefixes from the documented parent: + +| Dataset | VRMSE | +|---|---:| +| ape2d/burgers | 0.00641268 | +| ape2d/decay_turb | 0.00038142 | +| ape2d/diff | 0.00000260 | +| ape2d/fisher | 0.00000341 | +| ape2d/gs_alpha | 0.00309470 | +| ape2d/gs_beta | 0.00474027 | +| ape2d/gs_delta | 0.01924967 | +| ape2d/gs_epsilon | 0.00136617 | +| ape2d/gs_gamma | 0.04931292 | +| ape2d/gs_iota | 0.00178479 | +| ape2d/gs_kappa | 0.00485456 | +| ape2d/gs_theta | 0.00467797 | +| ape2d/kdv | 0.01672801 | +| ape2d/kolm_flow | 0.00892557 | +| ape2d/ks | 0.00003913 | +| ape2d/sh | 0.00000371 | +| pdearena/navier_stokes_2d | 0.00008349 | +| well/active_matter | 0.04060092 | + +Outcome: select the best complete-package result for contract checks and comparison against the current published package. All regressions remain recorded above. + +## E057 — shared convolutional interaction forecast +- Hypothesis / changed factor: Shared convolutional8x32 interaction forecaster, selected update12000. Train from random initialization seed20261122 on all19 datasets,12000updates,batch128,learning rate0.0003 cosine. Width48,five boundary-aware depthwise blocks,metadata/horizon conditioning and zero-initialized output. Spatial weights are shared; coordinates are zero on periodic axes. Float64 interaction centering fixes a pre-training cancellation-check failure. Keep original interaction loss and fixed0.25 correction blend; compare2000/6000/12000 through the complete shared runtime. All9 neural VALID trajectories replayed;72 unchanged complete physical outputs reused. No pretrained or synthetic assets; same weights applied to every case. Complete metrics, seeds and hashes are in E057a. Exact neural/unknown and smoke/diffusion repeats precede winning publication. +- Seed: 20261102. +- Checkpoint SHA256: `5969f2d0a3b0b95aadcafc9aeff5cc3f0432348b6ce5518e79b96925b2ad10fe`. +- Runtime code SHA256: `29efdb1c6552e403f41ff128b035428478610a65682dc88ed4f728e704910aac`. +- Validation: fixed 81-case subset; reward **0.811368**, failed cases 0. + +| Dataset | VRMSE | +|---|---:| +| ape2d/burgers | 0.006413 | +| ape2d/decay_turb | 0.000381 | +| ape2d/diff | 0.000003 | +| ape2d/fisher | 0.000003 | +| ape2d/gs_alpha | 0.003095 | +| ape2d/gs_beta | 0.004740 | +| ape2d/gs_delta | 0.019250 | +| ape2d/gs_epsilon | 0.001366 | +| ape2d/gs_gamma | 0.049313 | +| ape2d/gs_iota | 0.001785 | +| ape2d/gs_kappa | 0.004855 | +| ape2d/gs_theta | 0.004678 | +| ape2d/kdv | 0.016728 | +| ape2d/kolm_flow | 0.008926 | +| ape2d/ks | 0.000039 | +| ape2d/sh | 0.000004 | +| pdearena/navier_stokes_2d | 0.000083 | +| well/active_matter | 0.040601 | +| well/turbulent_radiative_layer_2D | 0.451908 | + +Selection basis: same physical operators; fixed81-case neural comparison + +Outcome: did not improve validation reward; retained current package. + +## E060a joint state-head preparation and validation dependency audit + +Hypothesis: infer a bounded F6 hidden-moment correction from the same shared backbone, jointly trained on all19 datasets and a differentiable physical loss, to address active-matter hidden-state uncertainty. Added98 zero parameters at width48, seed20261126; unpublished zero prototype main SHA256 `284e981ce16e71afa2ad060ed8189863dd96c60aea0a1bb6a93c00c7861ae10f`. Native nonzero-coefficient parity seed20261128: two-step runtime/training normalized RMS difference 2.6434134e-06, maxabsolute 1.1920929e-07; periodic shift normalized RMS 1.5527538e-06. All six zero-head serving checks are bit exact: TRAIN examples from four groups plus independently constructed2-channel7x11 and13-channel129x177 grids. One joint main/physical dry run used seed20261127,2 main steps and1 physical step, then verified every parameter unchanged; no optimizer step or trained checkpoint. All175 active TRAIN trajectories cached with only first4 frames in encoder and next4 frames as labels. Cache records include membership and SHA256; no synthetic or pretrained data. + +Validation VRMSE per dataset: not evaluated; this was an implementation/gradient check with no trained candidate. Outcome: gradient, runtime, translation, cache and unchanged-parameter checks passed. Fixed-state-head dependencies now include neural/guide weights and serving configuration: changing weights correctly invalidates active-output reuse. New full validation controller replays all24 active plus9 thermal cases, with only552 complete unchanged corpus/smoke outputs reused after exact dependency audit. A deliberate solver mutation is rejected. Queue actual joint2000-update training after phase9 normal exit, with updates1000/2000 compared on all585 VALID trajectories. The selected package remains E045/E049/E033; no model change from this preparation. + +## E061 — fixed spatial interaction filtering + +Hypothesis: small-scale forecast detail may be unreliable. Compare fixed boundary-aware Gaussian filtering of only the two-dimensional interaction, preserving global means and both marginal profiles. Radius grows with sqrt(horizon/30), scales with native short-axis resolution, and uses even extension on nonperiodic axes. Four predeclared radii0/1/2/4 cells on a128-cell short axis. Nine audited TRAIN trajectories, all cooling regimes, same selected E045/E049/E033 package; no learned weights or new seed. Main SHA256 `5969f2d0a3b0b95aadcafc9aeff5cc3f0432348b6ce5518e79b96925b2ad10fe`; filter SHA256 `bdc3ee90c5d898a085456ab95b02e6dbd3a35cb7bd49774655312c3aeb0add00`. + +| Radius | TRAIN VRMSE | +|---|---:| +| 0 | 0.409199345 | +| 1 | 0.409320762 | +| 2 | 0.410080575 | +| 4 | 0.413902060 | + +An initial profile-parity check used a fixed normalized tolerance and failed on a nearly constant pressure field. Preserve the original centered interaction in float64 and test profile changes against the analytic float32 output-rounding bound; all nine pass, along with periodic translation RMS checks. Initial failed log is retained. Outcome: all nonzero filters regress; reject before VALID evaluation. Validation VRMSE by dataset: not evaluated; other TRAIN datasets not evaluated for this fixed-decoder pilot. No package runtime change. + +## E062 — periodic translation averaging diagnostic + +Hypothesis: averaging the same complete neural forecast under periodic translations reduces U-net stride-phase and boundary-alignment errors. Pin the current selected package and replay nine audited thermal TRAIN trajectories for shifts0/2/4/6/32/64/96 native x cells. Compare the single forecast, equal four sub-stride translations and equal four quarter-domain translations after exact inverse shifts. Every member uses identical learned weights, context-only guide forecasts and decoder coefficients. No parameter training, new seed or target-dependent inference transform. Only TRAIN targets select whether a portable complete-model candidate is warranted; VALID results pending. Main checkpoint inherited from E061, with exact parent and memberships in translation_average_v1. + +## E062a — translation averaging TRAIN and thermal VALID result + +Same shared checkpoint SHA256 `5969f2d0a3b0b95aadcafc9aeff5cc3f0432348b6ce5518e79b96925b2ad10fe`; no new parameters or random seed. Nine audited TRAIN trajectories; all future targets remain loss/score inputs only. + +| Fixed rule | TRAIN VRMSE | +|---|---:| +| single | 0.409199345 | +| substride_four | 0.408299870 | +| quarter_domain_four | 0.415312758 | + +Select sub-stride translations0/2/4/6 cells at128-cell x resolution, then scale those fractions to other grids. The complete shared model applies to every member and case; nonperiodic-x boundaries yield identity members with shared computations. Nine thermal VALID trajectories improve **0.449110525 to 0.446880629**, zero failures. Other validation datasets pending. This is an intermediate result, not sufficient for publication: all576 physical VALID cases are being replayed, checking every distinct member’s complete prefix. Full585 comparison, latest-neural rebase and exact repeat checks remain required. Config key translation_ensemble now invalidates physical cache reuse across untranslated/translated packages. Source package and logs are retained under translation_average_v1/candidate. + +## E063 — matched hidden-unit dropout preparation + +Hypothesis: the shared statistical branch overfits during continuation, as multiple recent experiments preferred early checkpoints. Compare control against training-only dropout0.1 after each of the three hidden SiLU activations. Both start from selected E049/periodic1000, packaged auxiliary SHA256 `41c6fb40a84c8bbc5ff6d59967f47edd293f5f3c2f631611f9e732299ba756ca`;544587 parameters, no architecture or inference change. Sample seed20261130, maskseed20261131,6000updates,batch512,LR0.0001 cosine, reconstructed-field VRMSE objective, all10115 TRAIN records/all19 datasets,50percent initial contexts, no new spatial augmentation. Covariance projection stays frozenzero. Each arm uses two CPU threads and identical NumPy sample draws. Forward hooks disappear from the serialized model; pre-training eval parity must be exact on a TRAIN example from each group, and only dropout training values may change. Compare1000/3000/6000 through the same complete serving runtime and nine thermal VALID trajectories. Per-dataset VRMSE/hashes pending; no model publication from preparation. + +## E064 — final nonnegative support preparation + +Hypothesis: later statistical corrections undo the early nonnegative density constraint. Nine audited TRAIN rollouts contain negative density in0.8–8percent of predicted pixels, with minima between-1.1 and-2.7; their corresponding target density is nonnegative everywhere. Project only supplied fields named density or concentration to zero or above, after every correction and the final translation average. Pressure and velocity are unchanged. No new parameters, fitted bounds or random seed; same rule for every case. Main parent SHA256 `5969f2d0a3b0b95aadcafc9aeff5cc3f0432348b6ce5518e79b96925b2ad10fe`. MeanTRAIN VRMSE 0.409199345→0.409183765; every step/channel is nonworsening. This is a small consistency gain, not a major accuracy result. + +Queue validation after E062 finishes its full-cohort decision. Use the latest selected parent, apply the identical final unary projection to all585 validated predictions, and verify exact fresh-serving equality on all9 thermal cases. Record per-case source hashes/changed counts, then full585 score plus active/smoke/unknown repeat checks before any winning publication. This derived validation output is a development-only audit; the package applies the projection directly to its own predictions and never reads a cache. Metadata/config key final_nonnegative_fields is a physical dependency, requiring full585 comparison. Any win updates only phase8/9 inference templates and their physical caches; queued phase10 inherits the selected parent at its later launch. Validation per dataset pending. + +## E063a — matched statistical-dropout results + +Continue selected shared mean/profile weights with control versus dropout0.1 after all three hidden SiLU activations, training only. Same architecture/544587 parameters and deterministic inference; hooks are absent from packaged runtime. Seed20261130 fixes identical all19-dataset sample draws, dropoutseed20261131,6000updates,batch512,LR0.0001 cosine,field-VRMSE loss,50percent initial contexts, no periodic augmentation in either arm. Frozen zero covariance projection. Eval parity is exact in both arms before training; dropout changes only training values. + +| Arm | Update | Thermal VALID VRMSE | Quick81 reward | Training checkpoint SHA256 | +|---|---:|---:|---:|---| +| control | 1000 | 0.450102517 | 0.811512720 | `f637840f08e08a3d12d867b4acd9bf59ec443c3bfe3415f0ff0e9983d8bf2b20` | +| control | 3000 | 0.450255515 | 0.811500420 | `d5c71f8fb270a990525db29c62d48ed20ef5946aa6f7087be2c48c8d57d8a928` | +| control | 6000 | 0.450153693 | 0.811508605 | `9875e3b166fe5ae352c897c42bfb709d0c643a859128c5c1d642c2ce4c2f2965` | +| dropout | 1000 | 0.449423886 | 0.811567327 | `6dce1289d5445255f4fbfab170e142d51b2b338372b27ab4790e80244860d140` | +| dropout | 3000 | 0.448526125 | 0.811639695 | `0b60fa6fc224a6c6ba8f0a079d4b21d92a40b40c3201203588c88b03ecf435be` | +| dropout | 6000 | 0.448237033 | 0.811663029 | `f55c11a895d7276342e3e3461bf50d34a5e7d5bddfe3a11db4e1f8946c67ceb2` | + +All candidates reuse the same complete physical outputs from the documented nonlatent parent; the following dataset metrics apply to every row: + +| Dataset | VALID VRMSE | +|---|---:| +| ape2d/burgers | 0.006412678 | +| ape2d/decay_turb | 0.000381422 | +| ape2d/diff | 0.000002603 | +| ape2d/fisher | 0.000003406 | +| ape2d/gs_alpha | 0.003094704 | +| ape2d/gs_beta | 0.004740266 | +| ape2d/gs_delta | 0.019249670 | +| ape2d/gs_epsilon | 0.001366170 | +| ape2d/gs_gamma | 0.049312925 | +| ape2d/gs_iota | 0.001784790 | +| ape2d/gs_kappa | 0.004854561 | +| ape2d/gs_theta | 0.004677970 | +| ape2d/kdv | 0.016728012 | +| ape2d/kolm_flow | 0.008925566 | +| ape2d/ks | 0.000039134 | +| ape2d/sh | 0.000003711 | +| pdearena/navier_stokes_2d | 0.000083487 | +| well/active_matter | 0.040600924 | + +Outcome: best complete-package candidate proceeds to comparison with the current selection; all negative checkpoints remain recorded. + +## E063 — shared statistical-branch regularization +- Hypothesis / changed factor: Matched hidden-unit dropout comparison, selecteddropout update6000. Both arms resume selected shared statistics with all19 TRAIN datasets, sample seed20261130,6000updates,batch512, LR0.0001 cosine and reconstructed-field VRMSE. The changed factor is dropout0.1 after three hidden SiLUs; maskseed20261131. Inference uses the unchanged deterministic architecture and all shared weights on every case. Initialcontext probability0.5, no additional augmentation, covariance projection frozen zero. All six complete-package checkpoints and per-dataset scores/hashes recorded in E063a. Nine thermal VALID trajectories replayed; unchanged complete physical outputs reused from a nonlatent parent. Neural/unknown and smoke/diffusion repeat checks precede a winning publication. +- Seed: 20261102. +- Checkpoint SHA256: `5969f2d0a3b0b95aadcafc9aeff5cc3f0432348b6ce5518e79b96925b2ad10fe`. +- Runtime code SHA256: `d785c2fb9e59ac1456cb7226d7908cc8c81ba6c9540d72ab84dfe31ccc1e4c9c`. +- Validation: fixed 81-case subset; reward **0.811663**, failed cases 0. + +| Dataset | VRMSE | +|---|---:| +| ape2d/burgers | 0.006413 | +| ape2d/decay_turb | 0.000381 | +| ape2d/diff | 0.000003 | +| ape2d/fisher | 0.000003 | +| ape2d/gs_alpha | 0.003095 | +| ape2d/gs_beta | 0.004740 | +| ape2d/gs_delta | 0.019250 | +| ape2d/gs_epsilon | 0.001366 | +| ape2d/gs_gamma | 0.049313 | +| ape2d/gs_iota | 0.001785 | +| ape2d/gs_kappa | 0.004855 | +| ape2d/gs_theta | 0.004678 | +| ape2d/kdv | 0.016728 | +| ape2d/kolm_flow | 0.008926 | +| ape2d/ks | 0.000039 | +| ape2d/sh | 0.000004 | +| pdearena/navier_stokes_2d | 0.000083 | +| well/active_matter | 0.040601 | +| well/turbulent_radiative_layer_2D | 0.448237 | + +Selection basis: same physical operators; fixed81-case neural comparison + +Outcome: improvement; published atomically. + +## Full validation of dropout_006000 + +All 585 validation trajectories, starting at frame 0; no held-out trajectories. Reward **0.780967**, failed cases 0. Neural initialization seed 20261021; sampling seed 20261102; checkpoint SHA256 `5969f2d0a3b0b95aadcafc9aeff5cc3f0432348b6ce5518e79b96925b2ad10fe`. Same model as the corresponding quick-validation experiment; changed factor: expanded validation sample only. + +| Dataset | VRMSE | +|---|---:| +| ape2d/burgers | 0.007568 | +| ape2d/decay_turb | 0.000289 | +| ape2d/diff | 0.000003 | +| ape2d/fisher | 0.000005 | +| ape2d/gs_alpha | 0.003239 | +| ape2d/gs_beta | 0.004901 | +| ape2d/gs_delta | 0.022624 | +| ape2d/gs_epsilon | 0.000889 | +| ape2d/gs_gamma | 0.062780 | +| ape2d/gs_iota | 0.006619 | +| ape2d/gs_kappa | 0.008764 | +| ape2d/gs_theta | 0.019424 | +| ape2d/kdv | 0.024675 | +| ape2d/kolm_flow | 0.011662 | +| ape2d/ks | 0.000024 | +| ape2d/sh | 0.000005 | +| pdearena/navier_stokes_2d | 0.000081 | +| well/active_matter | 0.087454 | +| well/turbulent_radiative_layer_2D | 0.448237 | + +Exact reuse protocol for a shared-neural change: all physical assets/configuration match /run-state/workspace/research/universal_v1/phase7/late_average. The source per-case log audit verifies552 complete corpus/smoke physical rollouts and24 complete active rollouts; all576 outputs have unchanged dependencies. For a shared latent-state head, those dependencies include neural weights, guide assets, postprocessing and serving configuration; neural-weight changes cannot reuse these active predictions. The nine neural radiative-layer outputs were replayed in this model’s quick validation, with exact context equality to full inputs. Reuse these verified outputs and score all585 validation trajectories together. Per-case physical coverage is retained in full_physical_coverage.json. + +Outcome: recorded full validation for audit and comparison; no automatic comparison against the distinct quick-validation sample. + +## E038 — complete-rollout autoregressive training, update 2000, shrink +- Hypothesis / changed factor: Train the selected shared architecture on full rollout windows, capped at26 corpus,30 Well and10 Arena steps. Three microbatches of two accumulate to effective batch6, limiting memory on the single H100. Learning rate0.00003 cosine, native thermal grids, noise0.01, group probabilities0.05/0.075/0.075/0.8; sampling seed20261106. Exact selected parent, inherited seeds and fixed auxiliary hashes are in phase8/lineage.json. If the parent has learned guidance, its fixed statistics use only the original four context frames and metadata. Profile shrinkage 0.75; mean/profile output corrections enabled=True; the selected coarse interaction correction is retained. Rerun nine neural validation cases and reuse72 complete physical outputs documented in physical_cache_source.json. No pretrained assets or inference-time fitting. +- Seed: 20261106. +- Checkpoint SHA256: `3bc98551d692db80aef859172eb31ef406e68b1b07e0d0e31d6a17ccbb2b9b67`. +- Runtime code SHA256: `d785c2fb9e59ac1456cb7226d7908cc8c81ba6c9540d72ab84dfe31ccc1e4c9c`. +- Validation: fixed 81-case subset; reward **0.811531**, failed cases 0. + +| Dataset | VRMSE | +|---|---:| +| ape2d/burgers | 0.006413 | +| ape2d/decay_turb | 0.000381 | +| ape2d/diff | 0.000003 | +| ape2d/fisher | 0.000003 | +| ape2d/gs_alpha | 0.003095 | +| ape2d/gs_beta | 0.004740 | +| ape2d/gs_delta | 0.019250 | +| ape2d/gs_epsilon | 0.001366 | +| ape2d/gs_gamma | 0.049313 | +| ape2d/gs_iota | 0.001785 | +| ape2d/gs_kappa | 0.004855 | +| ape2d/gs_theta | 0.004678 | +| ape2d/kdv | 0.016728 | +| ape2d/kolm_flow | 0.008926 | +| ape2d/ks | 0.000039 | +| ape2d/sh | 0.000004 | +| pdearena/navier_stokes_2d | 0.000083 | +| well/active_matter | 0.040601 | +| well/turbulent_radiative_layer_2D | 0.449874 | + +Selection basis: same physical operators; fixed81-case neural comparison + +Outcome: did not improve validation reward; retained current package. + +## E038 — complete-rollout autoregressive training, update 2000, no_shrink +- Hypothesis / changed factor: Train the selected shared architecture on full rollout windows, capped at26 corpus,30 Well and10 Arena steps. Three microbatches of two accumulate to effective batch6, limiting memory on the single H100. Learning rate0.00003 cosine, native thermal grids, noise0.01, group probabilities0.05/0.075/0.075/0.8; sampling seed20261106. Exact selected parent, inherited seeds and fixed auxiliary hashes are in phase8/lineage.json. If the parent has learned guidance, its fixed statistics use only the original four context frames and metadata. Profile shrinkage 0.0; mean/profile output corrections enabled=True; the selected coarse interaction correction is retained. Rerun nine neural validation cases and reuse72 complete physical outputs documented in physical_cache_source.json. No pretrained assets or inference-time fitting. +- Seed: 20261106. +- Checkpoint SHA256: `3bc98551d692db80aef859172eb31ef406e68b1b07e0d0e31d6a17ccbb2b9b67`. +- Runtime code SHA256: `d204d651c7534e1c9a73ab251b0073a771ecf14d28c0d1eaed92180edabe461a`. +- Validation: fixed 81-case subset; reward **0.811936**, failed cases 0. + +| Dataset | VRMSE | +|---|---:| +| ape2d/burgers | 0.006413 | +| ape2d/decay_turb | 0.000381 | +| ape2d/diff | 0.000003 | +| ape2d/fisher | 0.000003 | +| ape2d/gs_alpha | 0.003095 | +| ape2d/gs_beta | 0.004740 | +| ape2d/gs_delta | 0.019250 | +| ape2d/gs_epsilon | 0.001366 | +| ape2d/gs_gamma | 0.049313 | +| ape2d/gs_iota | 0.001785 | +| ape2d/gs_kappa | 0.004855 | +| ape2d/gs_theta | 0.004678 | +| ape2d/kdv | 0.016728 | +| ape2d/kolm_flow | 0.008926 | +| ape2d/ks | 0.000039 | +| ape2d/sh | 0.000004 | +| pdearena/navier_stokes_2d | 0.000083 | +| well/active_matter | 0.040601 | +| well/turbulent_radiative_layer_2D | 0.444868 | + +Selection basis: same physical operators; fixed81-case neural comparison + +Outcome: improvement; published atomically. + +## E038 — complete-rollout autoregressive training, update 2000, mean_profile_off +- Hypothesis / changed factor: Train the selected shared architecture on full rollout windows, capped at26 corpus,30 Well and10 Arena steps. Three microbatches of two accumulate to effective batch6, limiting memory on the single H100. Learning rate0.00003 cosine, native thermal grids, noise0.01, group probabilities0.05/0.075/0.075/0.8; sampling seed20261106. Exact selected parent, inherited seeds and fixed auxiliary hashes are in phase8/lineage.json. If the parent has learned guidance, its fixed statistics use only the original four context frames and metadata. Profile shrinkage 0.75; mean/profile output corrections enabled=False; the selected coarse interaction correction is retained. Rerun nine neural validation cases and reuse72 complete physical outputs documented in physical_cache_source.json. No pretrained assets or inference-time fitting. +- Seed: 20261106. +- Checkpoint SHA256: `3bc98551d692db80aef859172eb31ef406e68b1b07e0d0e31d6a17ccbb2b9b67`. +- Runtime code SHA256: `09804b2a1e385fe55ab3b71dafffee0e269adb29510d3191768963335fa5332a`. +- Validation: fixed 81-case subset; reward **0.811277**, failed cases 0. + +| Dataset | VRMSE | +|---|---:| +| ape2d/burgers | 0.006413 | +| ape2d/decay_turb | 0.000381 | +| ape2d/diff | 0.000003 | +| ape2d/fisher | 0.000003 | +| ape2d/gs_alpha | 0.003095 | +| ape2d/gs_beta | 0.004740 | +| ape2d/gs_delta | 0.019250 | +| ape2d/gs_epsilon | 0.001366 | +| ape2d/gs_gamma | 0.049313 | +| ape2d/gs_iota | 0.001785 | +| ape2d/gs_kappa | 0.004855 | +| ape2d/gs_theta | 0.004678 | +| ape2d/kdv | 0.016728 | +| ape2d/kolm_flow | 0.008926 | +| ape2d/ks | 0.000039 | +| ape2d/sh | 0.000004 | +| pdearena/navier_stokes_2d | 0.000083 | +| well/active_matter | 0.040601 | +| well/turbulent_radiative_layer_2D | 0.453042 | + +Selection basis: same physical operators; fixed81-case neural comparison + +Outcome: did not improve validation reward; retained current package. + +## E065 — exact official-score reuse + +Infrastructure hypothesis: repeated reads of unchanged physical targets dominate CPU validation time. Use official per-case scores only after a separate input/prediction-dependency or byte-equality audit, and extract the unchanged aggregation tail of evaluation/score.py through its Python AST. Every changed case is still scored by the official scorer. Preserve its case order, failures, per-channel/step/window results, dataset means, group means and log-band reward; record scorer, source-report, index and reuse-proof hashes alongside each derived report. No training, parameters, seed or model change. + +Checks in score_report_checks.json reconstruct the existing E045 quick81 and full585 reports with complete dictionary equality, then reproduce the independently scored E063/control1000 quick81 report exactly by combining72 unchanged physical case scores with9 freshly scored thermal cases. Full585 reward remains0.7808965854886851 for E045; every dataset metric is unchanged exactly. Outcome: adopt exact report reuse in future neural full-cohort derivations and the queued E060/E064 controllers. Existing E062 full physical replay still scores its changed physical predictions normally. This is a development efficiency change; no validation artifact is read by inference. + +## E066 — late full-rollout parameter average preparation + +Predeclare one equal parameter average of phase8 updates2000/3000/4000 before3000 and4000 exist. Test whether averaging late optimization variation retains the gain from full30-step training. Use float64 accumulation and restore original dtypes; same resulting single shared network on every case, no new parameters, optimization, seed or runtime ensemble. All three checkpoints train on all19 datasets with samplingseed20261106 and the same frozen guide. At evaluation preserve the then-selected shared auxiliary weights, decoder and fixed operators, and record all source hashes. Score all9 thermal VALID cases officially, reuse72 verified complete physical cases through exact official aggregation, and require neural/unknown repeat checks before a win. Any selected average gets a full585 report. The queued width96 launcher now waits for this experiment after phase8 exits, then widens the latest selected parent. Validation metrics pending. + +## Full validation of eval002000_no_shrink + +All 585 validation trajectories, starting at frame 0; no held-out trajectories. Reward **0.781240**, failed cases 0. Neural initialization seed 20261021; sampling seed 20261106; checkpoint SHA256 `3bc98551d692db80aef859172eb31ef406e68b1b07e0d0e31d6a17ccbb2b9b67`. Same model as the corresponding quick-validation experiment; changed factor: expanded validation sample only. + +| Dataset | VRMSE | +|---|---:| +| ape2d/burgers | 0.007568 | +| ape2d/decay_turb | 0.000289 | +| ape2d/diff | 0.000003 | +| ape2d/fisher | 0.000005 | +| ape2d/gs_alpha | 0.003239 | +| ape2d/gs_beta | 0.004901 | +| ape2d/gs_delta | 0.022624 | +| ape2d/gs_epsilon | 0.000889 | +| ape2d/gs_gamma | 0.062780 | +| ape2d/gs_iota | 0.006619 | +| ape2d/gs_kappa | 0.008764 | +| ape2d/gs_theta | 0.019424 | +| ape2d/kdv | 0.024675 | +| ape2d/kolm_flow | 0.011662 | +| ape2d/ks | 0.000024 | +| ape2d/sh | 0.000005 | +| pdearena/navier_stokes_2d | 0.000081 | +| well/active_matter | 0.087454 | +| well/turbulent_radiative_layer_2D | 0.444868 | + +Exact reuse protocol for a shared-neural change: all physical assets/configuration match /run-state/workspace/research/universal_v1/phase7/late_average. The source per-case log audit verifies552 complete corpus/smoke physical rollouts and24 complete active rollouts; all576 outputs have unchanged dependencies. For a shared latent-state head, those dependencies include neural weights, guide assets, postprocessing and serving configuration; neural-weight changes cannot reuse these active predictions. The nine neural radiative-layer outputs were replayed with exact context/metadata equality to full inputs and freshly scored with the official scorer. Reaggregate their official per-case scores and the576 audited unchanged per-case scores using the exact aggregation code extracted from the official scorer. Report provenance includes scorer/source-report hashes and the reuse audit. All585 prediction files are retained. This avoids rereading unchanged targets without approximating the metric. + +Outcome: recorded full validation for audit and comparison; no automatic comparison against the distinct quick-validation sample. + +## E067 — dropout and periodic augmentation preparation + +Hypothesis: periodic profile augmentation may complement the regularization that made E063 improve through6000updates. Continue selected E063/dropout6000 auxiliary SHA256 `4109196a3aea07aa24c1e1c1d0ea958e6ff3c2fb160260672ec242b44fefc740` in two matched arms: dropout0.1 alone versus dropout0.1 plus independent cyclic profile-bin shifts on periodic axes. Same544587 parameters/runtime architecture and frozenzero covariance projection, all10115 TRAIN records/all19 datasets,50percent initial contexts,field-VRMSE objective,batch512,12000updates,LR0.00005 cosine, two CPU threads each. Sample seed20261201, matched dropout masksseed20261202, separate augmentationseed20261203; both arms draw identical data and dropout masks. Training-only hooks vanish from inference, whose initial output parity must be exact on examples from all four groups. Compare2000/6000/12000 using the same selected main/decoder parent, with official scoring of all9 changed thermal VALID cases and exact aggregation of72 audited unchanged physical case scores. Record all per-dataset metrics/hashes; repeat checks and full585 reporting precede completion of any winning model publication. No synthetic or pretrained assets. Validation pending. + +## E067a — matched dropout and periodic-augmentation results + +Continue selected E063/dropout6000 shared mean/profile weights with dropout alone versus dropout plus cyclic profile translations on periodic axes. Same architecture/544587 parameters and deterministic inference; hooks are absent from packaged runtime. Seed20261201 fixes identical all19-dataset sample draws, dropoutseed20261202, augmentationseed20261203,12000updates,batch512,LR0.00005 cosine,field-VRMSE loss,50percent initial contexts. Both arms use dropout0.1 after all three hidden SiLUs. Frozen zero covariance projection. Eval parity is exact before training. Only nine changed thermal cases are freshly scored; the exact official aggregation code combines72 audited unchanged physical case scores. + +| Arm | Update | Thermal VALID VRMSE | Quick81 reward | Training checkpoint SHA256 | +|---|---:|---:|---:|---| +| dropout | 2000 | 0.444632291 | 0.811955257 | `76f53498712ea942cb053730ed5387873d09cbb1d0099301b74921537f80f5c4` | +| dropout | 6000 | 0.444318958 | 0.811980770 | `8014c4ef2f46b38e0a44715812a9fa08f687419f2fb378a99428a87d87228740` | +| dropout | 12000 | 0.444360818 | 0.811977360 | `ff257d32d992ff7e2834aedd6b3dda8161bc1d0549d8382c132d38995fb4c045` | +| periodic | 2000 | 0.444454130 | 0.811969761 | `12612e8c70024ffb2823011af96271da9daf92338c02e1461ae859214e8a6de7` | +| periodic | 6000 | 0.444025853 | 0.812004652 | `af45d346835da4722967c22962323bc096b4fbbd9171a79d46a49717ce44abe9` | +| periodic | 12000 | 0.444350963 | 0.811978163 | `93d2ce4daa8c2063b90551244670046cb60513d426306ee4523b480b9cf131f7` | + +All candidates reuse the same complete physical outputs from the documented nonlatent parent; the following dataset metrics apply to every row: + +| Dataset | VALID VRMSE | +|---|---:| +| ape2d/burgers | 0.006412678 | +| ape2d/decay_turb | 0.000381422 | +| ape2d/diff | 0.000002603 | +| ape2d/fisher | 0.000003406 | +| ape2d/gs_alpha | 0.003094704 | +| ape2d/gs_beta | 0.004740266 | +| ape2d/gs_delta | 0.019249670 | +| ape2d/gs_epsilon | 0.001366170 | +| ape2d/gs_gamma | 0.049312925 | +| ape2d/gs_iota | 0.001784790 | +| ape2d/gs_kappa | 0.004854561 | +| ape2d/gs_theta | 0.004677970 | +| ape2d/kdv | 0.016728012 | +| ape2d/kolm_flow | 0.008925566 | +| ape2d/ks | 0.000039134 | +| ape2d/sh | 0.000003711 | +| pdearena/navier_stokes_2d | 0.000083487 | +| well/active_matter | 0.040600924 | + +Outcome: best complete-package candidate proceeds to comparison with the current selection; all negative checkpoints remain recorded. + +## E067 — dropout with periodic profile augmentation +- Hypothesis / changed factor: Matched dropout/periodic-augmentation continuation, selectedperiodic update6000. Both arms resume E063/dropout6000 with all19 TRAIN datasets, sample seed20261201,12000updates,batch512, LR0.00005 cosine and reconstructed-field VRMSE. Both use dropout0.1 after three SiLUs, maskseed20261202. Changed factor: independent circular translations of context and target profiles on periodic axes, seed20261203. Initialcontext probability0.5; covariance projection frozenzero. Inference uses the same deterministic shared weights on every case. All six per-dataset scores and checkpoint hashes recorded in E067a. Nine changed thermal VALID cases are freshly scored with the official scorer;72 complete physical case scores are reused after dependency checks and reaggregated with the exact official aggregation code. Neural/unknown and smoke/diffusion repeats precede any winning publication. +- Seed: 20261106. +- Checkpoint SHA256: `3bc98551d692db80aef859172eb31ef406e68b1b07e0d0e31d6a17ccbb2b9b67`. +- Runtime code SHA256: `764101bac331d2c72f49db82ff94744d0f1bc6f03d78942af9532914e3b5e3b1`. +- Validation: fixed 81-case subset; reward **0.812005**, failed cases 0. + +| Dataset | VRMSE | +|---|---:| +| ape2d/burgers | 0.006413 | +| ape2d/decay_turb | 0.000381 | +| ape2d/diff | 0.000003 | +| ape2d/fisher | 0.000003 | +| ape2d/gs_alpha | 0.003095 | +| ape2d/gs_beta | 0.004740 | +| ape2d/gs_delta | 0.019250 | +| ape2d/gs_epsilon | 0.001366 | +| ape2d/gs_gamma | 0.049313 | +| ape2d/gs_iota | 0.001785 | +| ape2d/gs_kappa | 0.004855 | +| ape2d/gs_theta | 0.004678 | +| ape2d/kdv | 0.016728 | +| ape2d/kolm_flow | 0.008926 | +| ape2d/ks | 0.000039 | +| ape2d/sh | 0.000004 | +| pdearena/navier_stokes_2d | 0.000083 | +| well/active_matter | 0.040601 | +| well/turbulent_radiative_layer_2D | 0.444026 | + +Selection basis: same physical operators; fixed81-case neural comparison + +Outcome: improvement; published atomically. + +## Full validation of periodic_006000 + +All 585 validation trajectories, starting at frame 0; no held-out trajectories. Reward **0.781309**, failed cases 0. Neural initialization seed 20261021; sampling seed 20261106; checkpoint SHA256 `3bc98551d692db80aef859172eb31ef406e68b1b07e0d0e31d6a17ccbb2b9b67`. Same model as the corresponding quick-validation experiment; changed factor: expanded validation sample only. + +| Dataset | VRMSE | +|---|---:| +| ape2d/burgers | 0.007568 | +| ape2d/decay_turb | 0.000289 | +| ape2d/diff | 0.000003 | +| ape2d/fisher | 0.000005 | +| ape2d/gs_alpha | 0.003239 | +| ape2d/gs_beta | 0.004901 | +| ape2d/gs_delta | 0.022624 | +| ape2d/gs_epsilon | 0.000889 | +| ape2d/gs_gamma | 0.062780 | +| ape2d/gs_iota | 0.006619 | +| ape2d/gs_kappa | 0.008764 | +| ape2d/gs_theta | 0.019424 | +| ape2d/kdv | 0.024675 | +| ape2d/kolm_flow | 0.011662 | +| ape2d/ks | 0.000024 | +| ape2d/sh | 0.000005 | +| pdearena/navier_stokes_2d | 0.000081 | +| well/active_matter | 0.087454 | +| well/turbulent_radiative_layer_2D | 0.444026 | + +Exact reuse protocol for a shared-neural change: all physical assets/configuration match /run-state/workspace/research/universal_v1/phase8/eval002000_no_shrink. The source per-case log audit verifies552 complete corpus/smoke physical rollouts and24 complete active rollouts; all576 outputs have unchanged dependencies. For a shared latent-state head, those dependencies include neural weights, guide assets, postprocessing and serving configuration; neural-weight changes cannot reuse these active predictions. The nine neural radiative-layer outputs were replayed with exact context/metadata equality to full inputs and freshly scored with the official scorer. Reaggregate their official per-case scores and the576 audited unchanged per-case scores using the exact aggregation code extracted from the official scorer. Report provenance includes scorer/source-report hashes and the reuse audit. All585 prediction files are retained. This avoids rereading unchanged targets without approximating the metric. + +Outcome: recorded full validation for audit and comparison; no automatic comparison against the distinct quick-validation sample. + +## E068 — per-step neural translation averaging rejected on TRAIN + +Hypothesis: average the same neural update across four periodic-X translations at every autoregressive step, sharing the original fixed guide forecasts, to reduce stride artifacts. Changed factor: shifts0,2/128,4/128,6/128 of the working grid; inverse-shift and float64 average before each feedback step. Nonperiodic axes use identity; duplicate shifts are shared. All weights and physical updates are unchanged. This differs from E062 complete-rollout averaging. No new training seed or parameters; diagnostic seed20261206 is used only for a temporary nonzero latent-head implementation check. + +Parent main checkpoint SHA256 `3bc98551d692db80aef859172eb31ef406e68b1b07e0d0e31d6a17ccbb2b9b67`; shared statistics SHA256 `af0cfd6fa137519bbd329075b23c87c3332e79aba584b7de4027c0b613b2af9a`. Runtime helper SHA256 `f750bfadb4c458bdd5b192615b6fd1365983a44e0f37055ad2632cf445c66f65`. Nine audited thermal TRAIN trajectories, first four context frames and30 forecast steps: VRMSE 0.395806216047 to 0.396866427992. Six complete-package shape/finiteness checks passed; outputs for the TRAIN diffusion/smoke/active cases and two constructed nonperiodic novel cases were unchanged exactly. Unit checks verified nonperiodic identity, canonical unshifted latent output, unchanged parameters and removal of temporary guide hooks. + +VALID VRMSE per dataset: not evaluated; rejected at the TRAIN diagnostic. No publication or changes to active controllers. Full per-case/channel/step results are in step_average_v1/train_results.json. + +## E069 — matched shared coarse-branch dropout preparation + +Hypothesis: the successful E063 statistical-branch regularizer may also improve the coarse spatial interaction forecast. Continue the selected E033/update6000 coarse weights in two matched arms, no dropout versus dropout0.1 after all three hidden SiLUs. Same787808 parameters,4x16 grid and deterministic inference code; no periodic augmentation or changes to mean/profile weights. Train all19 datasets, sample seed20261207, independent dropout seed20261208,6000updates,batch512, LR0.0001 cosine, original normalized coarse-interaction loss,50percent initial contexts, two CPU threads per arm. Evaluate checkpoints1000/3000/6000 through one pinned complete selected package, retain blend0.25; all dataset metrics and hashes will be recorded. Eval identity and train stochasticity are checked before optimization. + +Parent coarse checkpoint SHA256 `ad9a9996912c63eaaed7aa01423bc8598c9a8c966915b277ab64ce1774027dd3`; inherited random initialization seed20261103. No pretrained assets. VALID VRMSE pending. + +## E070 — native active-state precision diagnostic preparation + +Hypothesis: accumulated roundoff in the fixed hidden-state encoder and moment integration contributes to long-horizon phase error. Changed factor: float64/complex128 context, wave numbers, state, coefficient table and integration versus the current float32/complex64 path. Same physics, M32/native256, timestep, six Stokes iterations, observer, fixed narrow1e-4 three-node quadrature and seed20261026; no new learned parameters or optimization. Compare six predeclared TRAIN regimes(1,-1),(3,-2),(5,-4),(9,-3),(15,-4),(17,-5), taking the third authorized TRAIN trajectory in each file,30 future steps from four observations. Return float32 predictions before scoring. + +CPU32-grid implementation checks reproduce the original float32 path exactly and confirm finite float64 dynamics. Full native TRAIN diagnostic is queued behind E062 full validation and E064 final-projection validation on the only H100. No VALID candidate or publication is authorized by this diagnostic alone; if promising, encoder-cache and latent-kernel compatibility must be handled before any later integration. + +Parent kinetic SHA256 `cf75e10045f053d2774594b2423dfbf1c11fcbcbf9852849ab7f6c700bc18f7f`; candidate kinetic SHA256 `5db556077cf42a9bcb931ce2cb5aaf51d99c8039b30206712ce3df5e32deeb07`. Checkpoint unchanged from E067; VALID VRMSE pending/not evaluated. + +## E069a — matched coarse-branch dropout results + +Continue selected E033/update6000 coarse interaction weights with no dropout versus dropout0.1 after three hidden SiLUs. Same architecture/787808 parameters and deterministic inference; hooks are absent from packaged runtime. Seed20261207 fixes identical all19-dataset sample draws, dropoutseed20261208,6000updates,batch512,LR0.0001 cosine, original variance-normalized interaction objective,50percent initial contexts. No periodic augmentation. Eval parity is exact before training. Only nine changed thermal cases are freshly scored; the exact official aggregation code combines72 audited unchanged physical case scores. + +| Arm | Update | Thermal VALID VRMSE | Quick81 reward | Training checkpoint SHA256 | +|---|---:|---:|---:|---| +| control | 1000 | 0.444104319 | 0.811998257 | `34d62b9722631e3cd31f88bdf6b7efd7eb6809290dd515128c7456da64da7b5b` | +| control | 3000 | 0.444124794 | 0.811996588 | `c7ced6518bc26fd5ee40809a368a1fa40ccb3a8ebd911f75480daa439718aeec` | +| control | 6000 | 0.444098716 | 0.811998714 | `98141a1a650f0beae40b61d2257fdfc670a24188157af32f07558e9d179f67d4` | +| dropout | 1000 | 0.444112960 | 0.811997553 | `55b16cf95f778d3e7da1d9007abd6ba957ccf84d0935a2a334c3abe2db44164e` | +| dropout | 3000 | 0.444178125 | 0.811992243 | `17e3a8e48e130d6a95d97f768233fd55b843ec15b02480e56164c6792e1f871c` | +| dropout | 6000 | 0.444201102 | 0.811990371 | `6e931f30c9eb43ff2436a8e9bcafbc8c4219139381083f3d5726ab248eeaed74` | + +All candidates reuse the same complete physical outputs from the documented nonlatent parent; the following dataset metrics apply to every row: + +| Dataset | VALID VRMSE | +|---|---:| +| ape2d/burgers | 0.006412678 | +| ape2d/decay_turb | 0.000381422 | +| ape2d/diff | 0.000002603 | +| ape2d/fisher | 0.000003406 | +| ape2d/gs_alpha | 0.003094704 | +| ape2d/gs_beta | 0.004740266 | +| ape2d/gs_delta | 0.019249670 | +| ape2d/gs_epsilon | 0.001366170 | +| ape2d/gs_gamma | 0.049312925 | +| ape2d/gs_iota | 0.001784790 | +| ape2d/gs_kappa | 0.004854561 | +| ape2d/gs_theta | 0.004677970 | +| ape2d/kdv | 0.016728012 | +| ape2d/kolm_flow | 0.008925566 | +| ape2d/ks | 0.000039134 | +| ape2d/sh | 0.000003711 | +| pdearena/navier_stokes_2d | 0.000083487 | +| well/active_matter | 0.040600924 | + +Outcome: best complete-package candidate proceeds to comparison with the current selection; all negative checkpoints remain recorded. + +## E069 — shared coarse-branch dropout +- Hypothesis / changed factor: Matched coarse-branch dropout continuation, selectedcontrol update6000. Both arms resume E033/update6000 with all19 TRAIN datasets, sample seed20261207,6000updates,batch512, LR0.0001 cosine and the original normalized coarse interaction objective. Changed factor: dropout0.1 after three hidden SiLUs, maskseed20261208, versus a control with no dropout. Initialcontext probability0.5, no periodic augmentation. Same787808 parameters, deterministic runtime. All six per-dataset scores and checkpoint hashes recorded in E069a. Nine changed thermal VALID cases are freshly scored;72 complete physical case scores reused only after exact dependency/coverage audit. Neural/unknown and smoke/diffusion repeats precede any winning publication. +- Seed: 20261106. +- Checkpoint SHA256: `3bc98551d692db80aef859172eb31ef406e68b1b07e0d0e31d6a17ccbb2b9b67`. +- Runtime code SHA256: `63776e7964b71f5ec9dc1ca059f11e51ace2dfaf79e139d027f9147a1e7dc1eb`. +- Validation: fixed 81-case subset; reward **0.811999**, failed cases 0. + +| Dataset | VRMSE | +|---|---:| +| ape2d/burgers | 0.006413 | +| ape2d/decay_turb | 0.000381 | +| ape2d/diff | 0.000003 | +| ape2d/fisher | 0.000003 | +| ape2d/gs_alpha | 0.003095 | +| ape2d/gs_beta | 0.004740 | +| ape2d/gs_delta | 0.019250 | +| ape2d/gs_epsilon | 0.001366 | +| ape2d/gs_gamma | 0.049313 | +| ape2d/gs_iota | 0.001785 | +| ape2d/gs_kappa | 0.004855 | +| ape2d/gs_theta | 0.004678 | +| ape2d/kdv | 0.016728 | +| ape2d/kolm_flow | 0.008926 | +| ape2d/ks | 0.000039 | +| ape2d/sh | 0.000004 | +| pdearena/navier_stokes_2d | 0.000083 | +| well/active_matter | 0.040601 | +| well/turbulent_radiative_layer_2D | 0.444099 | + +Selection basis: same physical operators; fixed81-case neural comparison + +Outcome: did not improve validation reward; retained current package. + +## E071 — rollout objective gradient diagnosis + +Hypothesis: the current log1p normalized squared loss and the benchmark VRMSE emphasize channels differently, which may explain remaining neural errors. Fixed phase8/update2000 main checkpoint with its immutable original phase8 TRAIN statistical guides. Compare gradients of the current objective and a smoothed exact VRMSE objective on six audited TRAIN trajectories: third trajectory at thermal cooling times0.03,0.32,3.16, and third Fisher/smoke/active records. Use first four frames, full30/26/10 horizon, no input noise; no optimizer or parameter update. Diagnostic seed20261209. Compute total gradient norm/cosine and, for thermal cases, per-channel gradient norms and mutual cosines. This is a training-objective diagnosis, not a serving-score or physical-operator comparison. VALID per-dataset metrics not evaluated; weights remain unchanged. + +Main checkpoint SHA256 `3bc98551d692db80aef859172eb31ef406e68b1b07e0d0e31d6a17ccbb2b9b67`; study source SHA256 `45dab7fea0f7848cf870277ac043a3cec19bb656bec80501bdb7998762c0c26a`. Results pending in objective_gradient_v1/results.json. + +## E071a — objective gradient result + +No optimizer ran and all shared-network parameters were verified bitwise unchanged. The following are TRAIN neural-objective diagnostics, not package validation scores; the physical branch is intentionally absent. Same main checkpoint and fixed guide hashes as E071. + +| TRAIN case | Log-loss gradient norm | VRMSE gradient norm | Gradient cosine | +|---|---:|---:|---:| +| well/turbulent_radiative_layer_2D tcool=0.03 | 4.135567 | 4.754782 | 0.972133 | +| well/turbulent_radiative_layer_2D tcool=0.32 | 8.674965 | 10.694219 | 0.984043 | +| well/turbulent_radiative_layer_2D tcool=3.16 | 10.710047 | 12.229944 | 0.984117 | +| ape2d/fisher | 43.078826 | 65.607155 | 0.999756 | +| pdearena/navier_stokes_2d | 3.224614 | 3.841176 | 0.987786 | +| well/active_matter | 25.649524 | 34.562863 | 0.997298 | + +Thermal channel gradients mostly have small or positive mutual cosines; pressure dominates at low/mid cooling time, while the second velocity component dominates the high-cooling-time example. VRMSE increases density/first-velocity gradient magnitudes, but its total direction is strongly aligned with the existing loss on these examples. Fisher and active examples have larger gradient norms despite moderate mean loss; this motivates investigating gradient balance separately if capacity/latent-state trials plateau. Outcome: no objective change queued from this six-case diagnostic; current capacity and physical-state experiments remain the next main training runs. Peak allocated GPU memory30.30GiB for the diagnostic due to two consecutive retained graphs, still within the singleH100 budget alongside running work. No VALID evaluation, new checkpoint or publication. + +## E072 — physical reflection augmentation preparation + +Hypothesis: reflection symmetry can regularize shared mean/profile forecasts beyond periodic shifts and dropout. Continue E067/periodic6000 in matched control/reflection arms. All19 TRAIN datasets,544587 parameters, frozen-zero covariance projection,12000updates,batch512,LR0.00005 cosine, reconstructed-field VRMSE,50percent initial contexts, two CPU threads each. Both arms use dropout0.1 after three SiLUs and periodic profile-bin shifts. Sample seed20261210, dropoutseed20261211, reflectionseed20261212, shiftseed20261213. Only changed training factor: with probability0.5, reflect the first spatial axis and apply polar-vector, rank-two tensor and vorticity-pseudoscalar signs. Means/profile components change sign consistently; variances are invariant. Apply only to audited reflection-symmetric collocated PDEs with periodicX. KdV odd derivatives, forced Kolmogorov forcing and staggered-grid Arena are excluded; they remain part of shared training without this augmentation. + +Native-field versus profile-transform checks on all19 TRAIN dataset examples give normalized discrepancies below3e-16; applying the transformation twice is exact. Independent corpus update checks give relative discrepancies at most4e-7. The active-moment RHS symmetry holds to4.3e-16 in float64 for the resolved2/3 band. The raw32-grid downsampling had a2.37e-5 error in both float32 and float64, identifying a Nyquist-derivative ambiguity rather than roundoff; filtering resolved modes removes it. These diagnostic filters do not change training arrays or serving. Initial CPU JIT optimization failure is retained and resolved using the runtime’s existing optimized_execution(False) convention. All failed diagnostic logs and gated trainer startups are retained; no optimizer ran before the physics-check gate passed. No architecture or inference-transformation changes. Evaluate updates2000/6000/12000 through one pinned complete package, recording every dataset score and checkpoint hash. + +Parent shared statistics SHA256 `af0cfd6fa137519bbd329075b23c87c3332e79aba584b7de4027c0b613b2af9a`; inherited initialization seed20261031. No pretrained assets. VALID VRMSE pending. + +## E073 — reflection-average TRAIN diagnostic preparation + +Hypothesis: projecting the reflection-augmented statistics forecaster onto reflection-equivariant outputs may reduce residual asymmetry. Fix the E072 reflection/update12000 checkpoint before its VALID results; average original and inverse-reflected mean/profile predictions using the same branch weights. No new parameters, seed or training. Evaluate the additive-field VRMSE criterion on all72 thermal TRAIN trajectories, context0..3 and horizons1..30. This criterion includes unresolved target interaction variance and is not a complete surrogate score. If it improves, require a complete TRAIN rollout comparison before any VALID candidate; otherwise stop this line. No inference implementation or publication is part of this initial diagnostic. Checkpoint hash and outcome pending. + +## E072a — matched horizontal-reflection results + +Continue selected E067/periodic6000 shared mean/profile weights with the same dropout and periodic shifts in both arms; add horizontal reflection only in the experimental arm. All19 TRAIN datasets,544587 parameters, covariance projection frozen zero. Sample seed20261210, maskseed20261211, reflectionseed20261212, periodicshiftseed20261213,12000updates,batch512,LR0.00005 cosine, field-VRMSE objective,50percent initial contexts. Reflection probability0.5 for eligible collocated equations with periodicX; transform scalar/vector/tensor fields and spatial profiles consistently. Exclude KdV, forced Kolmogorov and staggered Arena. Same deterministic runtime and decoder blends. Field/profile and independent fixed-PDE symmetry checks passed before training. Nine changed VALID cases freshly scored plus72 audited unchanged physical case scores. + +| Arm | Update | Thermal VALID VRMSE | Quick81 reward | Training checkpoint SHA256 | +|---|---:|---:|---:|---| +| control | 2000 | 0.444315900 | 0.811981019 | `912a88895dda9a7d7f17f40eae2fc29eb600ae0f79bb87e1d9c2265c99bef4aa` | +| control | 6000 | 0.445454090 | 0.811888427 | `e10240f8bf97e528f6638be278ae056b6e4979d875bddf86e1e88a6ce1586d97` | +| control | 12000 | 0.444812734 | 0.811940572 | `8b93e822b99478d90fe325ce1735f6cfefe8296bc46e98b0df6850790463db94` | +| reflection | 2000 | 0.443882243 | 0.812016359 | `22a571ef85c56dd0afc88c58affb0a413e5b0faeffea004d69d487f8927d1e8a` | +| reflection | 6000 | 0.445341933 | 0.811897541 | `ee0ea35e8737073b61b0b770e6ca2ab349e0e0f22931e7406bf860f14ea9900f` | +| reflection | 12000 | 0.444827306 | 0.811939387 | `34be550fe47dc5a305604113f10a42ebd923119f55c01b7396d1882a0de6f1c9` | + +All candidates reuse the same complete physical outputs from the documented nonlatent parent; the following dataset metrics apply to every row: + +| Dataset | VALID VRMSE | +|---|---:| +| ape2d/burgers | 0.006412678 | +| ape2d/decay_turb | 0.000381422 | +| ape2d/diff | 0.000002603 | +| ape2d/fisher | 0.000003406 | +| ape2d/gs_alpha | 0.003094704 | +| ape2d/gs_beta | 0.004740266 | +| ape2d/gs_delta | 0.019249670 | +| ape2d/gs_epsilon | 0.001366170 | +| ape2d/gs_gamma | 0.049312925 | +| ape2d/gs_iota | 0.001784790 | +| ape2d/gs_kappa | 0.004854561 | +| ape2d/gs_theta | 0.004677970 | +| ape2d/kdv | 0.016728012 | +| ape2d/kolm_flow | 0.008925566 | +| ape2d/ks | 0.000039134 | +| ape2d/sh | 0.000003711 | +| pdearena/navier_stokes_2d | 0.000083487 | +| well/active_matter | 0.040600924 | + +Outcome: best complete-package candidate proceeds to comparison with the current selection; all negative checkpoints remain recorded. + +## E072 — shared statistics reflection augmentation +- Hypothesis / changed factor: Matched physical-reflection augmentation, selectedreflection update2000. Continue E067/periodic6000 shared mean/profile weights, all19 TRAIN datasets, sample seed20261210, 12000updates,batch512,LR0.00005 cosine, field-VRMSE and50percent initial contexts. Both arms use dropout0.1 after three SiLUs(maskseed20261211) and periodic profile translations(shiftseed20261213). Changed factor: horizontal reflection with probability0.5(seed20261212), reversing X-profile bins and polar/tensor component signs, for eligible reflection-symmetric collocated equations. Exclude KdV, forced Kolmogorov and staggered Arena. Same544587 parameters and deterministic runtime. All six candidate per-dataset scores/checkpoint hashes recorded in E072a; official9-case scores plus audited72-case reuse; neural/unknown and smoke/diffusion repeats precede any winning publication. +- Seed: 20261106. +- Checkpoint SHA256: `3bc98551d692db80aef859172eb31ef406e68b1b07e0d0e31d6a17ccbb2b9b67`. +- Runtime code SHA256: `8c28c764c772da156dc303635aee26bf2bbfc6d555ad2c846c69a8754f0c72c7`. +- Validation: fixed 81-case subset; reward **0.812016**, failed cases 0. + +| Dataset | VRMSE | +|---|---:| +| ape2d/burgers | 0.006413 | +| ape2d/decay_turb | 0.000381 | +| ape2d/diff | 0.000003 | +| ape2d/fisher | 0.000003 | +| ape2d/gs_alpha | 0.003095 | +| ape2d/gs_beta | 0.004740 | +| ape2d/gs_delta | 0.019250 | +| ape2d/gs_epsilon | 0.001366 | +| ape2d/gs_gamma | 0.049313 | +| ape2d/gs_iota | 0.001785 | +| ape2d/gs_kappa | 0.004855 | +| ape2d/gs_theta | 0.004678 | +| ape2d/kdv | 0.016728 | +| ape2d/kolm_flow | 0.008926 | +| ape2d/ks | 0.000039 | +| ape2d/sh | 0.000004 | +| pdearena/navier_stokes_2d | 0.000083 | +| well/active_matter | 0.040601 | +| well/turbulent_radiative_layer_2D | 0.443882 | + +Selection basis: same physical operators; fixed81-case neural comparison + +Outcome: improvement; published atomically. + +## Full validation of reflection_002000 + +All 585 validation trajectories, starting at frame 0; no held-out trajectories. Reward **0.781320**, failed cases 0. Neural initialization seed 20261021; sampling seed 20261106; checkpoint SHA256 `3bc98551d692db80aef859172eb31ef406e68b1b07e0d0e31d6a17ccbb2b9b67`. Same model as the corresponding quick-validation experiment; changed factor: expanded validation sample only. + +| Dataset | VRMSE | +|---|---:| +| ape2d/burgers | 0.007568 | +| ape2d/decay_turb | 0.000289 | +| ape2d/diff | 0.000003 | +| ape2d/fisher | 0.000005 | +| ape2d/gs_alpha | 0.003239 | +| ape2d/gs_beta | 0.004901 | +| ape2d/gs_delta | 0.022624 | +| ape2d/gs_epsilon | 0.000889 | +| ape2d/gs_gamma | 0.062780 | +| ape2d/gs_iota | 0.006619 | +| ape2d/gs_kappa | 0.008764 | +| ape2d/gs_theta | 0.019424 | +| ape2d/kdv | 0.024675 | +| ape2d/kolm_flow | 0.011662 | +| ape2d/ks | 0.000024 | +| ape2d/sh | 0.000005 | +| pdearena/navier_stokes_2d | 0.000081 | +| well/active_matter | 0.087454 | +| well/turbulent_radiative_layer_2D | 0.443882 | + +Exact reuse protocol for a shared-neural change: all physical assets/configuration match /run-state/workspace/research/dropout_augmentation_v1/validation/periodic_006000. The source per-case log audit verifies552 complete corpus/smoke physical rollouts and24 complete active rollouts; all576 outputs have unchanged dependencies. For a shared latent-state head, those dependencies include neural weights, guide assets, postprocessing and serving configuration; neural-weight changes cannot reuse these active predictions. The nine neural radiative-layer outputs were replayed with exact context/metadata equality to full inputs and freshly scored with the official scorer. Reaggregate their official per-case scores and the576 audited unchanged per-case scores using the exact aggregation code extracted from the official scorer. Report provenance includes scorer/source-report hashes and the reuse audit. All585 prediction files are retained. This avoids rereading unchanged targets without approximating the metric. + +Outcome: recorded full validation for audit and comparison; no automatic comparison against the distinct quick-validation sample. + +## E073a — reflection averaging rejected on TRAIN + +Fixed E072/reflection12000 checkpoint, SHA256 `34be550fe47dc5a305604113f10a42ebd923119f55c01b7396d1882a0de6f1c9`. On all72 audited thermal TRAIN trajectories, the reconstructed additive-field criterion worsens from0.5565570787423186 to0.558363237314754. Same weights, no new seed or parameters. Outcome: reject at the TRAIN screen; no full-rollout candidate, VALID scores or publication. Full per-case/channel results retained in reflection_statistics_v1/equivariance/results.json. + +## E074 — complete neural translation average with one physical branch + +Hypothesis: complete translated neural forecasts may retain E062’s thermal benefit while avoiding repeated physical computation or physical-output changes. Use the same four periodic-X shifts0,2/128,4/128,6/128 and shared neural/auxiliary weights for every case; average inverse-translated complete neural forecasts. Compute the physical branch once from the canonical supplied context and retain its returned prefix exactly after averaging. Identity duplicates share computation. No new parameters, seed or optimizer. This differs from E068, which averaged each autoregressive neural step, and E062, which recomputes and averages full physical forecasts. + +Assemble an unpublished portable package from the current selection, check canonical physical equality on TRAIN diffusion/smoke/active examples and unknown-schema behavior, then replay nine audited thermal TRAIN trajectories. Save all case/channel/step metrics. If promising, defer any validation or publication until E062/E064 decisions complete, avoiding composition with their running installers. VALID per-dataset VRMSE not yet evaluated; parent/checkpoint hashes will be pinned by the study. + +## E074a — canonical-physics neural translation average rejected + +Complete-package parity checks preserve the TRAIN diffusion, smoke and active physical predictions exactly; both constructed nonperiodic novel schemas are also unchanged, finite and correctly shaped. On nine full thermal TRAIN rollouts using the latest E072 guides, parentVRMSE0.3969341901511231 becomes0.39740124346328004. No new parameters or seed. Main checkpoint SHA256 `3bc98551d692db80aef859172eb31ef406e68b1b07e0d0e31d6a17ccbb2b9b67`; shared statistics SHA256 `3b423a0afbb46bafc914d62daaf8611a1b30ae424b8c517d846cbb93d4d6578c`. Outcome: reject at the TRAIN screen, no VALID candidate or publication. The implementation remains an unpublished efficiency alternative; no running controllers or physical caches changed. E062’s already-running full-physical ensemble study continues because it has a distinct physical effect. + +## E075 — periodic shared-statistics projection diagnostic + +Hypothesis: the periodic-augmentation-trained statistical branch still depends on an arbitrary profile-bin origin. Average the same branch over all16 cyclic shifts of its periodicX context profile, undoing the shift of each predicted X profile before averaging. Global means, variances and Y profiles retain their original geometric meaning. No new weights, seed or tuned coefficient. Pin current selected shared-statistics weights and evaluate the additive-field criterion on all72 authorized thermal TRAIN trajectories, first four frames and horizons1..30. This is distinct from whole-neural and whole-physical translation ensembles: only the statistical forecasts change. If promising, require a complete TRAIN rollout comparison before any VALID candidate. No inference package or publication in this diagnostic. + +Pinned branch SHA256 `3b423a0afbb46bafc914d62daaf8611a1b30ae424b8c517d846cbb93d4d6578c`. VALID per-dataset scores not evaluated. + +## E038 — complete-rollout autoregressive training, update 3000, shrink +- Hypothesis / changed factor: Train the selected shared architecture on full rollout windows, capped at26 corpus,30 Well and10 Arena steps. Three microbatches of two accumulate to effective batch6, limiting memory on the single H100. Learning rate0.00003 cosine, native thermal grids, noise0.01, group probabilities0.05/0.075/0.075/0.8; sampling seed20261106. Exact selected parent, inherited seeds and fixed auxiliary hashes are in phase8/lineage.json. If the parent has learned guidance, its fixed statistics use only the original four context frames and metadata. Profile shrinkage 0.75; mean/profile output corrections enabled=True; the selected coarse interaction correction is retained. Rerun nine neural validation cases and reuse72 complete physical outputs documented in physical_cache_source.json. No pretrained assets or inference-time fitting. +- Seed: 20261106. +- Checkpoint SHA256: `7556bb5478ee29099305209db7baebc83fc388b44a726f5a769f3152b1c54a03`. +- Runtime code SHA256: `ce7a2dd1166720a647fcb4df3ca2c263e4268a99d95afdb6a4ced5bf79c0be75`. +- Validation: fixed 81-case subset; reward **0.811955**, failed cases 0. + +| Dataset | VRMSE | +|---|---:| +| ape2d/burgers | 0.006413 | +| ape2d/decay_turb | 0.000381 | +| ape2d/diff | 0.000003 | +| ape2d/fisher | 0.000003 | +| ape2d/gs_alpha | 0.003095 | +| ape2d/gs_beta | 0.004740 | +| ape2d/gs_delta | 0.019250 | +| ape2d/gs_epsilon | 0.001366 | +| ape2d/gs_gamma | 0.049313 | +| ape2d/gs_iota | 0.001785 | +| ape2d/gs_kappa | 0.004855 | +| ape2d/gs_theta | 0.004678 | +| ape2d/kdv | 0.016728 | +| ape2d/kolm_flow | 0.008926 | +| ape2d/ks | 0.000039 | +| ape2d/sh | 0.000004 | +| pdearena/navier_stokes_2d | 0.000083 | +| well/active_matter | 0.040601 | +| well/turbulent_radiative_layer_2D | 0.444636 | + +Selection basis: same physical operators; fixed81-case neural comparison + +Outcome: did not improve validation reward; retained current package. + +## E038 — complete-rollout autoregressive training, update 3000, no_shrink +- Hypothesis / changed factor: Train the selected shared architecture on full rollout windows, capped at26 corpus,30 Well and10 Arena steps. Three microbatches of two accumulate to effective batch6, limiting memory on the single H100. Learning rate0.00003 cosine, native thermal grids, noise0.01, group probabilities0.05/0.075/0.075/0.8; sampling seed20261106. Exact selected parent, inherited seeds and fixed auxiliary hashes are in phase8/lineage.json. If the parent has learned guidance, its fixed statistics use only the original four context frames and metadata. Profile shrinkage 0.0; mean/profile output corrections enabled=True; the selected coarse interaction correction is retained. Rerun nine neural validation cases and reuse72 complete physical outputs documented in physical_cache_source.json. No pretrained assets or inference-time fitting. +- Seed: 20261106. +- Checkpoint SHA256: `7556bb5478ee29099305209db7baebc83fc388b44a726f5a769f3152b1c54a03`. +- Runtime code SHA256: `8c28c764c772da156dc303635aee26bf2bbfc6d555ad2c846c69a8754f0c72c7`. +- Validation: fixed 81-case subset; reward **0.812259**, failed cases 0. + +| Dataset | VRMSE | +|---|---:| +| ape2d/burgers | 0.006413 | +| ape2d/decay_turb | 0.000381 | +| ape2d/diff | 0.000003 | +| ape2d/fisher | 0.000003 | +| ape2d/gs_alpha | 0.003095 | +| ape2d/gs_beta | 0.004740 | +| ape2d/gs_delta | 0.019250 | +| ape2d/gs_epsilon | 0.001366 | +| ape2d/gs_gamma | 0.049313 | +| ape2d/gs_iota | 0.001785 | +| ape2d/gs_kappa | 0.004855 | +| ape2d/gs_theta | 0.004678 | +| ape2d/kdv | 0.016728 | +| ape2d/kolm_flow | 0.008926 | +| ape2d/ks | 0.000039 | +| ape2d/sh | 0.000004 | +| pdearena/navier_stokes_2d | 0.000083 | +| well/active_matter | 0.040601 | +| well/turbulent_radiative_layer_2D | 0.440919 | + +Selection basis: same physical operators; fixed81-case neural comparison + +Outcome: improvement; published atomically. + +## E038 — complete-rollout autoregressive training, update 3000, mean_profile_off +- Hypothesis / changed factor: Train the selected shared architecture on full rollout windows, capped at26 corpus,30 Well and10 Arena steps. Three microbatches of two accumulate to effective batch6, limiting memory on the single H100. Learning rate0.00003 cosine, native thermal grids, noise0.01, group probabilities0.05/0.075/0.075/0.8; sampling seed20261106. Exact selected parent, inherited seeds and fixed auxiliary hashes are in phase8/lineage.json. If the parent has learned guidance, its fixed statistics use only the original four context frames and metadata. Profile shrinkage 0.75; mean/profile output corrections enabled=False; the selected coarse interaction correction is retained. Rerun nine neural validation cases and reuse72 complete physical outputs documented in physical_cache_source.json. No pretrained assets or inference-time fitting. +- Seed: 20261106. +- Checkpoint SHA256: `7556bb5478ee29099305209db7baebc83fc388b44a726f5a769f3152b1c54a03`. +- Runtime code SHA256: `78e4e4f6e621bb62774c334b02d6c5cd2ba6f87b70fb017ecc097896fc112369`. +- Validation: fixed 81-case subset; reward **0.811775**, failed cases 0. + +| Dataset | VRMSE | +|---|---:| +| ape2d/burgers | 0.006413 | +| ape2d/decay_turb | 0.000381 | +| ape2d/diff | 0.000003 | +| ape2d/fisher | 0.000003 | +| ape2d/gs_alpha | 0.003095 | +| ape2d/gs_beta | 0.004740 | +| ape2d/gs_delta | 0.019250 | +| ape2d/gs_epsilon | 0.001366 | +| ape2d/gs_gamma | 0.049313 | +| ape2d/gs_iota | 0.001785 | +| ape2d/gs_kappa | 0.004855 | +| ape2d/gs_theta | 0.004678 | +| ape2d/kdv | 0.016728 | +| ape2d/kolm_flow | 0.008926 | +| ape2d/ks | 0.000039 | +| ape2d/sh | 0.000004 | +| pdearena/navier_stokes_2d | 0.000083 | +| well/active_matter | 0.040601 | +| well/turbulent_radiative_layer_2D | 0.446849 | + +Selection basis: same physical operators; fixed81-case neural comparison + +Outcome: did not improve validation reward; retained current package. + +## E075a — periodic statistical projection rejected on TRAIN + +On all72 thermal TRAIN trajectories, the selected branch’s additive-field criterion worsens from0.5598388719889853 to0.5639645279281669 after averaging all16 cyclic X-profile shifts. Pinned mean checkpoint SHA256 `3b423a0afbb46bafc914d62daaf8611a1b30ae424b8c517d846cbb93d4d6578c`. No new parameters or seed. Outcome: reject at this TRAIN screen; no full surrogate rollout candidate, VALID results or publication. All per-case/channel results retained in periodic_statistics_v1/results.json. + +## E076 — main-network reflection sampler preparation + +Prepared a training-only whole-window version of the E072 reflection augmentation for a later shared-backbone experiment. Same audited PDE eligibility and scalar/vector/tensor signs. A separate reflection RNG preserves the original group, trajectory, start-frame and periodic-shift sample sequence exactly. Optional flag defaults off. Sampler test seed20261215, reflectionseed20261216:80 TRAIN windows across all four groups,31 reflected; disabled path, metadata/sample sequence, and whole-window transform/involution checks are exact. Every one of10115 source records passes TRAIN membership audit. No GPU trainer, new checkpoint, VALID candidate or publication was launched. + +Potential next experiment after the queued capacity and state-head trials: matched control and reflection continuations from the same selected parent. Preserve physical state-head supervision if that parent has a trained latent head. No launcher or fixed training budget has been committed; choose those after the current trials report. Implementation and checks are in reflection_main_v1. + +## Full validation of eval003000_no_shrink + +All 585 validation trajectories, starting at frame 0; no held-out trajectories. Reward **0.781563**, failed cases 0. Neural initialization seed 20261021; sampling seed 20261106; checkpoint SHA256 `7556bb5478ee29099305209db7baebc83fc388b44a726f5a769f3152b1c54a03`. Same model as the corresponding quick-validation experiment; changed factor: expanded validation sample only. + +| Dataset | VRMSE | +|---|---:| +| ape2d/burgers | 0.007568 | +| ape2d/decay_turb | 0.000289 | +| ape2d/diff | 0.000003 | +| ape2d/fisher | 0.000005 | +| ape2d/gs_alpha | 0.003239 | +| ape2d/gs_beta | 0.004901 | +| ape2d/gs_delta | 0.022624 | +| ape2d/gs_epsilon | 0.000889 | +| ape2d/gs_gamma | 0.062780 | +| ape2d/gs_iota | 0.006619 | +| ape2d/gs_kappa | 0.008764 | +| ape2d/gs_theta | 0.019424 | +| ape2d/kdv | 0.024675 | +| ape2d/kolm_flow | 0.011662 | +| ape2d/ks | 0.000024 | +| ape2d/sh | 0.000005 | +| pdearena/navier_stokes_2d | 0.000081 | +| well/active_matter | 0.087454 | +| well/turbulent_radiative_layer_2D | 0.440919 | + +Exact reuse protocol for a shared-neural change: all physical assets/configuration match /run-state/workspace/research/reflection_statistics_v1/validation/reflection_002000. The source per-case log audit verifies552 complete corpus/smoke physical rollouts and24 complete active rollouts; all576 outputs have unchanged dependencies. For a shared latent-state head, those dependencies include neural weights, guide assets, postprocessing and serving configuration; neural-weight changes cannot reuse these active predictions. The nine neural radiative-layer outputs were replayed with exact context/metadata equality to full inputs and freshly scored with the official scorer. Reaggregate their official per-case scores and the576 audited unchanged per-case scores using the exact aggregation code extracted from the official scorer. Report provenance includes scorer/source-report hashes and the reuse audit. All585 prediction files are retained. This avoids rereading unchanged targets without approximating the metric. + +Outcome: recorded full validation for audit and comparison; no automatic comparison against the distinct quick-validation sample. + +## E077 — compiled-backbone throughput diagnostic + +Hypothesis: compiling the shared autoregressive backbone may reduce training time on the single H100. This is a no-optimizer, no-weight-update diagnostic on one audited TRAIN trajectory (thermal tcool0.32, trajectory2), batch1 and two autoregressive steps, BF16 autocast. Seed20261217. Pinned main checkpoint SHA256 `7556bb5478ee29099305209db7baebc83fc388b44a726f5a769f3152b1c54a03`, guide SHA256 `3b423a0afbb46bafc914d62daaf8611a1b30ae424b8c517d846cbb93d4d6578c`. Compare eager and default fullgraph torch.compile outputs, gradients, and interleaved CUDA-event timings. All model parameters must remain unchanged. No VALID results or publication candidate; one shape/two steps cannot establish suitability for training. + +Initial attempt failed before compiled timing due to an invalid cross-device cache rename in Triton. Failure log retained as compile_main_v1/initial_cross_device_failure.log. Retried with both Inductor and Triton caches on local /tmp storage. This changes diagnostic cache placement only; ongoing training and serving remain eager. + +## E077a — full compilation unsupported; mixed compilation diagnostic + +The second cache placement attempt also failed: this environment rejects cross-directory file rename even under /tmp. A development-only Triton cache class now writes a unique temporary file adjacent to its destination, preserving atomic same-directory replacement. Cache bytes/group checks passed. This does not modify installed libraries or the serving package. Both filesystem failure logs are retained. + +With the cache fixed, full-graph compilation fails during backward with a ComplexFloat-to-Float stride error in the global Fourier mixer. No optimizer or new weights were created. A third computational variant compiles the surrounding network while explicitly retaining the global Fourier mixer in eager mode (fullgraph=False); all other protocol choices, TRAIN example and selected checkpoints remain fixed. Numerical and speed results pending in compile_main_v1/mixed. Validation VRMSE: not evaluated; no inference/training adoption. + +## Paired analysis of E038 updates 2,000 and 3,000 + +Using identical E072 auxiliary weights and the no-shrink decoder, the nine thermal VALID trajectories improve by a mean VRMSE -0.0029633274994067538; five of nine improve. The gain concentrates in middle rollout steps; the last six steps regress on average. Descriptive paired bootstrap seed20261218,20,000 resamples gives a 95percent interval [-0.009792993346356565, 0.0033186238294739545] for the mean difference. With one trajectory per cooling regime, this is empirical variation within the observed pool, not established uncertainty for unseen regimes. No selection rule or model change. Official reports and hashes, per-channel/step differences and standalone plots are retained in phase8/analysis003000. E066 equal checkpoint averaging was already declared before update3,000. + +## E078 — non-Gaussian statistic feature screen + +Hypothesis: per-channel skewness and kurtosis reveal thermal mixing information absent from separate means, variances and axis profiles. CPU-only diagnostic on all72 audited thermal TRAIN trajectories, contextframes0..3 and mean/profile targets4..33. Pinned current mean checkpoint SHA256 `3b423a0afbb46bafc914d62daaf8611a1b30ae424b8c517d846cbb93d4d6578c`. Compare matched linear residual probes using existing normalized statistical features versus those features plus clipped standardized third/fourth spatial moments. Fixed ridge penalty100, eight stratified folds (one trajectory per cooling regime per fold), seed20261219; feature standardization uses fold-training rows only. No hyperparameter search. + +The fixed parent already trained on these trajectories; only probe corrections are cross-fitted. This is a feature screen, not an estimate of validation performance or a deployable specialist. No full surrogate training, new shared checkpoint, VALID evaluation or publication. A positive result would require training one shared branch across all19 datasets and full-package validation. Protocol/source and results retained in moment_features_v1. + +## E078a — moment feature screen rejected + +The parent additive-field TRAIN criterion is0.5598388813998767. Cross-fitted residual probes worsen it to0.5697928408169022 with existing features and0.5697874929134444 with added skewness/kurtosis. Normalized mean-only error is0.0930144262474265 for the parent,0.11150019876098338 for control and0.11139854203664112 for moments. The added moments have negligible benefit over control and neither probe improves the parent. Reject this feature screen; no full shared-model training, new checkpoint, VALID evaluation or inference integration. All72 records pass TRAIN membership; parent parameters remain exactly unchanged. Seed20261219, fixed penalty100, parent mean SHA256 `3b423a0afbb46bafc914d62daaf8611a1b30ae424b8c517d846cbb93d4d6578c`. Full per-record/channel values and cross-fitted predictions retained in moment_features_v1/results.json and arrays.npz. + +## E077b — mixed compilation scheduler failure + +Excluding the Fourier mixer from compilation passes the earlier complex-operation boundary but fails in the compiler fusion scheduler with AssertionError4 versus512. Failure log retained as compile_main_v1/mixed.log. A conservative diagnostic disables the compiler’s mixed-order reduction fusion option while retaining the same eager Fourier boundary. This changes compiler optimization only, with identical inputs, checkpoints and no optimizer. Results pending in compile_main_v1/conservative. No change to ongoing training or serving. + +## E077c — conservative compilation throughput result + +With the global Fourier mixer eager and mixed-order reduction fusion disabled, the no-update two-step thermal TRAIN test completes. Eager loss0.0855544135 versus compiled0.0855036378; normalized output RMS difference0.00456819, relative gradient difference0.03222236, all finite, every parameter unchanged. Compilation99.23seconds; six interleaved timing pairs give median1.6251times speedup (roughly75–80ms eager versus46–49ms compiled). Peak allocated1.16GiB. This is one width48 shape/two steps on a shared H100, not sufficient for adoption. All failures and results retained. + +## E079 — full-rollout width96 compilation screen + +Extend E077’s conservative compiler setup to the queued width96 architecture and all19 TRAIN datasets. Pin current main SHA256 `7556bb5478ee29099305209db7baebc83fc388b44a726f5a769f3152b1c54a03` and guide `3b423a0afbb46bafc914d62daaf8611a1b30ae424b8c517d846cbb93d4d6578c`; use the existing function-preserving channel duplication with seed20261110/noise0.01. No optimizer steps. One third authorized TRAIN record per dataset, initial four frames, batch1, full26/10/30 corpus/Arena/Well horizons, BF16, input noise0.01 seed20261220. Compare full predictions, gradients, losses and two interleaved timing pairs. Predeclare numerical screen: relative loss difference<1percent, normalized output RMS<0.05, relative gradient norm difference<0.1, gradient cosine>0.99, finite outputs/gradients and unchanged parameters. Record all datasets regardless of screen outcome. Training/serving remain unchanged while this runs; any later adoption is a separate logged execution change and requires actual-parent checks. No VALID scores or publication candidate. + +## E080 — preserve eager low-precision casts in compilation + +E079’s first full30-step thermal case has1.7237times throughput, relative loss difference0.0017755, normalized output RMS0.0158855, gradient cosine0.9962419, but relative gradient difference0.1027377 exceeds its predeclared0.1 limit. This fails that numerical-equivalence screen; it is not a validation-performance result. Leave E079 running for all19 outcomes. + +Hypothesis: Inductor’s documented elimination of intermediate BF16 downcast/upcast pairs accounts for much of the accumulated difference. Repeat the same full19-dataset width96 no-update suite with emulate_precision_casts=True, which preserves those eager rounding points and associated floating-point fusion behavior. All seeds, inputs, checkpoint values, other compiler settings and numerical thresholds remain fixed. Assert widened parameter tensors exactly match E079. Queue after E079 completes to stay within one H100; no optimizer, training adoption, VALID score or package change. Both source versions and cache helper hashes retained. + +## E081 — neural inference precision TRAIN screen + +Hypothesis: accumulated BF16 rounding contributes to neural rollout error. Compare the same complete selected surrogate with neural autocast enabled versus disabled (float32 inputs and weights under existing backend defaults). No parameter, guide, decoder or physical-operator changes; no new seed. Pinned main SHA256 `7556bb5478ee29099305209db7baebc83fc388b44a726f5a769f3152b1c54a03`, guide `3b423a0afbb46bafc914d62daaf8611a1b30ae424b8c517d846cbb93d4d6578c`. Require exact unchanged outputs for the small TRAIN diffusion/Arena/active physical cases, finite outputs on thermal and two novel schemas, and exact repeated candidate outputs. Then compare the same nine audited thermal TRAIN continuations across all30 steps. Reject without VALID evaluation if their mean does not improve. No compiler inference, test-time fitting or extra model member. Validation VRMSE per dataset: pending/not evaluated. Source and checks retained in neural_precision_v1. + +## E079a — full-horizon compiler screen rejects adoption + +All19 TRAIN cases complete, outputs/gradients finite, every parameter unchanged. Median throughput ratio2.1216438618488094. Seven cases fail the predeclared numerical screen; Gray–Scott delta has relative gradient difference0.7038 and cosine0.8733. No optimizer, VALID score or training/serving adoption. Widened diagnostic checkpoint SHA256 `d6256e2b679c7237aa5751cc1ec8c18f278fb8e87b50b8dba225e0e4ff7064c0`. Seeds and source hashes remain in the E079 protocol. + +| Dataset | Normalized output RMS difference | Relative gradient difference | Relative loss difference | Speedup | Screen | +|---|---:|---:|---:|---:|---| +| well/turbulent_radiative_layer_2D | 0.015885 | 0.102738 | 0.001776 | 1.724 | fail | +| ape2d/diff | 0.003026 | 0.138812 | 0.028866 | 2.223 | fail | +| ape2d/burgers | 0.004920 | 0.053860 | 0.003987 | 1.914 | pass | +| pdearena/navier_stokes_2d | 0.002232 | 0.016548 | 0.000549 | 1.533 | pass | +| well/active_matter | 0.221067 | 0.054861 | 0.003199 | 1.985 | fail | +| ape2d/decay_turb | 0.002556 | 0.011180 | 0.004082 | 1.988 | pass | +| ape2d/fisher | 0.011552 | 0.083745 | 0.035292 | 2.196 | fail | +| ape2d/gs_alpha | 0.011394 | 0.037654 | 0.000057 | 2.122 | pass | +| ape2d/gs_beta | 0.008843 | 0.013001 | 0.001582 | 2.009 | pass | +| ape2d/gs_delta | 0.054145 | 0.703820 | 0.002044 | 2.091 | fail | +| ape2d/gs_epsilon | 0.005628 | 0.035144 | 0.000983 | 2.137 | pass | +| ape2d/gs_gamma | 0.004126 | 0.014093 | 0.000090 | 2.138 | pass | +| ape2d/gs_iota | 0.025078 | 0.046624 | 0.004819 | 2.119 | pass | +| ape2d/gs_kappa | 0.017761 | 0.103080 | 0.001799 | 2.221 | fail | +| ape2d/gs_theta | 0.039929 | 0.166120 | 0.004075 | 2.107 | fail | +| ape2d/kdv | 0.004689 | 0.085845 | 0.000537 | 2.157 | pass | +| ape2d/kolm_flow | 0.008747 | 0.034871 | 0.000087 | 2.175 | pass | +| ape2d/ks | 0.007982 | 0.032241 | 0.001332 | 2.219 | pass | +| ape2d/sh | 0.048194 | 0.018184 | 0.001603 | 2.203 | pass | + +Diagnostic detail: float32 reduction of the long gradient vectors yielded a cosine slightly above1 for one case. This does not affect the seven failures, which also violate other limits. E080 computes gradient norms/dots in CPU float64 after backward to remove this measurement roundoff; model arithmetic is unaffected. E079’s original measurements/source are retained. The compiler’s own graph compilation/autotuning preserves RNG state; E080 uses the same input-noise seed and record sequence. + +## E081 — shared neural inference precision +- Hypothesis / changed factor: Disable neural BF16 autocast for the same shared weights and original four-frame inputs, retaining float32 inputs/weights under existing backend defaults. No new parameters or seed; all physical and auxiliary arithmetic unchanged. Nine audited thermal TRAIN rollouts improve0.3858202574 to0.3850654613. Six TRAIN/novel schema smoke cases are finite and exactly repeatable; diffusion, Arena and active physical outputs remain exactly unchanged. Freshly score all9 thermal VALID cases; reuse72 audited complete physical predictions for quick81. If selected, derive full585 from the same complete576 physical prefixes, with all inputs/metadata and dependencies audited. No compiler inference, specialist checkpoint, pretrained assets or inference-time fitting. +- Seed: 20261106. +- Checkpoint SHA256: `7556bb5478ee29099305209db7baebc83fc388b44a726f5a769f3152b1c54a03`. +- Runtime code SHA256: `37fcf15c33b676f512d9ac6a0b051787d5ca4a3e92f4f30cc065acf409af0516`. +- Validation: fixed 81-case subset; reward **0.812211**, failed cases 0. + +| Dataset | VRMSE | +|---|---:| +| ape2d/burgers | 0.006413 | +| ape2d/decay_turb | 0.000381 | +| ape2d/diff | 0.000003 | +| ape2d/fisher | 0.000003 | +| ape2d/gs_alpha | 0.003095 | +| ape2d/gs_beta | 0.004740 | +| ape2d/gs_delta | 0.019250 | +| ape2d/gs_epsilon | 0.001366 | +| ape2d/gs_gamma | 0.049313 | +| ape2d/gs_iota | 0.001785 | +| ape2d/gs_kappa | 0.004855 | +| ape2d/gs_theta | 0.004678 | +| ape2d/kdv | 0.016728 | +| ape2d/kolm_flow | 0.008926 | +| ape2d/ks | 0.000039 | +| ape2d/sh | 0.000004 | +| pdearena/navier_stokes_2d | 0.000083 | +| well/active_matter | 0.040601 | +| well/turbulent_radiative_layer_2D | 0.441505 | + +Selection basis: same physical operators; fixed81-case neural comparison + +Outcome: did not improve validation reward; retained current package. + +## E081a — inference precision improvement does not transfer to VALID + +The nine thermal TRAIN rollouts improve0.3858202573790942 to0.38506546133427394 with autocast disabled. All six TRAIN/novel schema smoke outputs are finite and exactly repeatable; complete diffusion, Arena and active physical predictions are bitwise unchanged, and all three learned checkpoints are identical. However, all nine thermal VALID trajectories worsen0.4409189158885829 to0.441504742943192. Quick81 reward0.8122107255146385 versus selected0.8122587790567208, zero failed cases. The preceding E081 record contains all per-dataset VALID scores and checkpoint/runtime hashes. Reject; no inference-template, training or selected-package precision change. No full585 derivation needed for this negative neural-only candidate. + +Compatibility preparation generalized the queued latent-head installer to recognize either the original autocast expression or the optional model flag. Its source-normalization check matches each parent exactly after removing only the latent-head plumbing; existing behavior is unchanged. This optional flag remains absent from the selected package. No latent training code or physical-cache dependency rule changed. + +## E080a — rounding preservation helps but does not pass globally + +All19 no-update TRAIN cases finish, every output/gradient finite, parameters unchanged. Median speedup2.061026698990928. Sixteen pass the unchanged numerical screen. Active fails normalized output RMS; Gray–Scott delta and theta fail gradient limits. Global compiler adoption is rejected. Thermal relative gradient difference falls from0.10274 to0.05615, and diffusion from0.13881 to0.00296. CPU float64 gradient reductions remove the earlier cosine roundoff. The unavailable CUDA toolkit libdevice caused a documented fallback to bundled Triton libdevice; warnings retained. + +| Dataset | Output RMS difference | Relative gradient difference | Relative loss difference | Speedup | Screen | +|---|---:|---:|---:|---:|---| +| well/turbulent_radiative_layer_2D | 0.009919 | 0.056153 | 0.000303 | 1.929 | pass | +| ape2d/diff | 0.000848 | 0.002965 | 0.000774 | 2.130 | pass | +| ape2d/burgers | 0.001804 | 0.005764 | 0.000360 | 2.115 | pass | +| pdearena/navier_stokes_2d | 0.001830 | 0.029056 | 0.000454 | 1.666 | pass | +| well/active_matter | 0.117604 | 0.006451 | 0.000787 | 2.061 | fail | +| ape2d/decay_turb | 0.001009 | 0.004750 | 0.000505 | 2.023 | pass | +| ape2d/fisher | 0.002030 | 0.005293 | 0.001402 | 2.000 | pass | +| ape2d/gs_alpha | 0.010585 | 0.028301 | 0.000003 | 2.047 | pass | +| ape2d/gs_beta | 0.004780 | 0.005609 | 0.000096 | 1.882 | pass | +| ape2d/gs_delta | 0.036557 | 0.333432 | 0.000618 | 1.940 | fail | +| ape2d/gs_epsilon | 0.004138 | 0.013351 | 0.000090 | 2.039 | pass | +| ape2d/gs_gamma | 0.002936 | 0.006737 | 0.000069 | 2.103 | pass | +| ape2d/gs_iota | 0.024890 | 0.036554 | 0.000194 | 2.075 | pass | +| ape2d/gs_kappa | 0.012319 | 0.042181 | 0.000277 | 2.244 | pass | +| ape2d/gs_theta | 0.048089 | 0.349601 | 0.002550 | 2.223 | fail | +| ape2d/kdv | 0.001916 | 0.004853 | 0.000018 | 1.999 | pass | +| ape2d/kolm_flow | 0.002239 | 0.007663 | 0.000143 | 2.095 | pass | +| ape2d/ks | 0.004062 | 0.008440 | 0.000067 | 2.141 | pass | +| ape2d/sh | 0.028627 | 0.010698 | 0.001178 | 2.179 | pass | + +## E082 — geometry-restricted compilation screen + +Hypothesis: the expensive128x384 rectangular geometry can be accelerated while unsupported tensor geometries retain eager execution of the same shared parameter set. No dataset-name routing or separate checkpoint. This is a narrower execution scope, not a relaxation of E079/E080 thresholds. Test all nine pre-existing audited thermal TRAIN diagnostic trajectories, one per cooling regime, batch1/full30 steps, width96, the same3k main and E072 guide, BF16 with eager Fourier mixer and preserved precision casts. Use a dedicated CUDA input-noise generator seed20261220 and hash every noisy context. All nine must satisfy the original output/loss/gradient thresholds before considering an actual-parent preflight. All other geometries would remain eager; inference remains unchanged. No optimizer, VALID score, new trained model or current training change. Source/protocol/weights/hashes under compile_main_v1/thermal_suite. + +## E082a — rectangular compiler scope also rejected + +All nine full30-step thermal TRAIN numerical screens complete, finite outputs/gradients and unchanged parameters; median speedup1.6945201049195608. Seven pass. Cooling0.06 has relative gradient difference0.21023584;0.32 has0.12336355, both above the unchanged0.1 limit. Reject this restricted execution scope. No compiler wrapper, wider-training flag, actual-parent preflight or serving change was installed. All queued trainers remain eager. Source, context hashes and complete per-case metrics retained in compile_main_v1/thermal_suite. + +## E083 — offline TRAIN hidden-state fitting diagnostic + +Hypothesis: the planned boundedF6 correction can improve active-matter continuation when given a useful state estimate. Before judging whether the shared head can learn that estimate, fit its512 coefficient values directly offline for one audited TRAIN trajectory (zeta9,alpha−3,trajectory2). Initialize at zero;20 Adam updates atLR0.1, seed20261222, using only the first4 future TRAIN frames in the same differentiable physical loss as the queued head. Keep scale0.01,alignment cubic factor and16x16 grid fixed. Evaluate the fixed update20 on a full30-step TRAIN physical rollout with the original three-node quadrature, and report fitsteps1–4 and unusedsteps5–30 separately. No checkpoint/hyperparameter search, no neural weight updates. + +These coefficients use TRAIN targets and are diagnostic only: they cannot be packaged or used for inference cases. This is a local fitting study on one trajectory, not a proved optimum or evidence that four observed frames predict the correction. No VALID/held-out data, synthetic training data, deployment candidate or benchmark reward. Encoder/split/membership and the selected cache-record hash are audited before reading labels; protocol, sources, hashes and coefficients stay under latent_oracle_v1. + +## E038 — complete-rollout autoregressive training, update 4000, shrink +- Hypothesis / changed factor: Train the selected shared architecture on full rollout windows, capped at26 corpus,30 Well and10 Arena steps. Three microbatches of two accumulate to effective batch6, limiting memory on the single H100. Learning rate0.00003 cosine, native thermal grids, noise0.01, group probabilities0.05/0.075/0.075/0.8; sampling seed20261106. Exact selected parent, inherited seeds and fixed auxiliary hashes are in phase8/lineage.json. If the parent has learned guidance, its fixed statistics use only the original four context frames and metadata. Profile shrinkage 0.75; mean/profile output corrections enabled=True; the selected coarse interaction correction is retained. Rerun nine neural validation cases and reuse72 complete physical outputs documented in physical_cache_source.json. No pretrained assets or inference-time fitting. +- Seed: 20261106. +- Checkpoint SHA256: `e98efa15fa411007efbc795a658a28a5074f1f2b818913d00c43a42299afebb5`. +- Runtime code SHA256: `ce7a2dd1166720a647fcb4df3ca2c263e4268a99d95afdb6a4ced5bf79c0be75`. +- Validation: fixed 81-case subset; reward **0.811685**, failed cases 0. + +| Dataset | VRMSE | +|---|---:| +| ape2d/burgers | 0.006413 | +| ape2d/decay_turb | 0.000381 | +| ape2d/diff | 0.000003 | +| ape2d/fisher | 0.000003 | +| ape2d/gs_alpha | 0.003095 | +| ape2d/gs_beta | 0.004740 | +| ape2d/gs_delta | 0.019250 | +| ape2d/gs_epsilon | 0.001366 | +| ape2d/gs_gamma | 0.049313 | +| ape2d/gs_iota | 0.001785 | +| ape2d/gs_kappa | 0.004855 | +| ape2d/gs_theta | 0.004678 | +| ape2d/kdv | 0.016728 | +| ape2d/kolm_flow | 0.008926 | +| ape2d/ks | 0.000039 | +| ape2d/sh | 0.000004 | +| pdearena/navier_stokes_2d | 0.000083 | +| well/active_matter | 0.040601 | +| well/turbulent_radiative_layer_2D | 0.447969 | + +Selection basis: same physical operators; fixed81-case neural comparison + +Outcome: did not improve validation reward; retained current package. + +## E083a — offline hidden-state fit result + +Fixed update20 reduces the four-step fitting loss from 0.000517013482749 to 0.000413423113059. Both native30-step physical rollouts complete. The target-fitted state regresses full30 TRAIN VRMSE: 0.00892846228338 to 0.0142502669091. Fit steps1–4: 0.000504987527507 to 0.000399531632118; unused steps5–30: 0.0102243814766 to 0.0163811492594 (delta +0.00615676778282). The fit uses the center state; these forecasts retain the original three-node quadrature. + +Only512 direct coefficients were optimized, seed20261222,20fixed Adam updates atLR0.1. No shared surrogate or learned state-head parameters changed. Diagnostic coefficient SHA256 `bbdfe8fe89ccb014b019e6778ad6b462fa5f7e0f0d39a34f0447e938d19c0d1a`. This one-trajectory local fit is not a proved optimum and does not show that four observed frames predict the correction. No VALID score for any dataset, no held-out access, no deployment candidate or publication of coefficients. Full results, per-step/channel scores, sources and figures are in latent_oracle_v1. The queued shared-head protocol is unchanged. + +## E038 — complete-rollout autoregressive training, update 4000, no_shrink +- Hypothesis / changed factor: Train the selected shared architecture on full rollout windows, capped at26 corpus,30 Well and10 Arena steps. Three microbatches of two accumulate to effective batch6, limiting memory on the single H100. Learning rate0.00003 cosine, native thermal grids, noise0.01, group probabilities0.05/0.075/0.075/0.8; sampling seed20261106. Exact selected parent, inherited seeds and fixed auxiliary hashes are in phase8/lineage.json. If the parent has learned guidance, its fixed statistics use only the original four context frames and metadata. Profile shrinkage 0.0; mean/profile output corrections enabled=True; the selected coarse interaction correction is retained. Rerun nine neural validation cases and reuse72 complete physical outputs documented in physical_cache_source.json. No pretrained assets or inference-time fitting. +- Seed: 20261106. +- Checkpoint SHA256: `e98efa15fa411007efbc795a658a28a5074f1f2b818913d00c43a42299afebb5`. +- Runtime code SHA256: `8c28c764c772da156dc303635aee26bf2bbfc6d555ad2c846c69a8754f0c72c7`. +- Validation: fixed 81-case subset; reward **0.811915**, failed cases 0. + +| Dataset | VRMSE | +|---|---:| +| ape2d/burgers | 0.006413 | +| ape2d/decay_turb | 0.000381 | +| ape2d/diff | 0.000003 | +| ape2d/fisher | 0.000003 | +| ape2d/gs_alpha | 0.003095 | +| ape2d/gs_beta | 0.004740 | +| ape2d/gs_delta | 0.019250 | +| ape2d/gs_epsilon | 0.001366 | +| ape2d/gs_gamma | 0.049313 | +| ape2d/gs_iota | 0.001785 | +| ape2d/gs_kappa | 0.004855 | +| ape2d/gs_theta | 0.004678 | +| ape2d/kdv | 0.016728 | +| ape2d/kolm_flow | 0.008926 | +| ape2d/ks | 0.000039 | +| ape2d/sh | 0.000004 | +| pdearena/navier_stokes_2d | 0.000083 | +| well/active_matter | 0.040601 | +| well/turbulent_radiative_layer_2D | 0.445123 | + +Selection basis: same physical operators; fixed81-case neural comparison + +Outcome: did not improve validation reward; retained current package. + +## E038 — complete-rollout autoregressive training, update 4000, mean_profile_off +- Hypothesis / changed factor: Train the selected shared architecture on full rollout windows, capped at26 corpus,30 Well and10 Arena steps. Three microbatches of two accumulate to effective batch6, limiting memory on the single H100. Learning rate0.00003 cosine, native thermal grids, noise0.01, group probabilities0.05/0.075/0.075/0.8; sampling seed20261106. Exact selected parent, inherited seeds and fixed auxiliary hashes are in phase8/lineage.json. If the parent has learned guidance, its fixed statistics use only the original four context frames and metadata. Profile shrinkage 0.75; mean/profile output corrections enabled=False; the selected coarse interaction correction is retained. Rerun nine neural validation cases and reuse72 complete physical outputs documented in physical_cache_source.json. No pretrained assets or inference-time fitting. +- Seed: 20261106. +- Checkpoint SHA256: `e98efa15fa411007efbc795a658a28a5074f1f2b818913d00c43a42299afebb5`. +- Runtime code SHA256: `78e4e4f6e621bb62774c334b02d6c5cd2ba6f87b70fb017ecc097896fc112369`. +- Validation: fixed 81-case subset; reward **0.811251**, failed cases 0. + +| Dataset | VRMSE | +|---|---:| +| ape2d/burgers | 0.006413 | +| ape2d/decay_turb | 0.000381 | +| ape2d/diff | 0.000003 | +| ape2d/fisher | 0.000003 | +| ape2d/gs_alpha | 0.003095 | +| ape2d/gs_beta | 0.004740 | +| ape2d/gs_delta | 0.019250 | +| ape2d/gs_epsilon | 0.001366 | +| ape2d/gs_gamma | 0.049313 | +| ape2d/gs_iota | 0.001785 | +| ape2d/gs_kappa | 0.004855 | +| ape2d/gs_theta | 0.004678 | +| ape2d/kdv | 0.016728 | +| ape2d/kolm_flow | 0.008926 | +| ape2d/ks | 0.000039 | +| ape2d/sh | 0.000004 | +| pdearena/navier_stokes_2d | 0.000083 | +| well/active_matter | 0.040601 | +| well/turbulent_radiative_layer_2D | 0.453363 | + +Selection basis: same physical operators; fixed81-case neural comparison + +Outcome: did not improve validation reward; retained current package. + +## E066 — late full-rollout parameter average +- Hypothesis / changed factor: Equal parameter average of phase8 updates2000/3000/4000, predeclared before3000/4000 exist. All three checkpoints share full30-step autoregressive training on all19 datasets, sample seed20261106, initialization inherited from this session’s scratch-trained lineage. Float64 accumulation restored to original dtypes. No new training, parameters, random seed or inference ensemble. Preserve the selected shared auxiliary guides, decoder settings and physical operators at evaluation time. Source hashes and equal coefficients in lineage.json and the manifest. Replay and officially score all9 thermal VALID cases; reuse72 complete physical cases after dependency/coverage checks, aggregate using the exact official code, and require neural/unknown repeats on a win. +- Seed: 20261106. +- Checkpoint SHA256: `1f24abcc814d6b2fff9a530b350ee4d8cffc8c80cb9374bfee6509c02ae0bd61`. +- Runtime code SHA256: `8c28c764c772da156dc303635aee26bf2bbfc6d555ad2c846c69a8754f0c72c7`. +- Validation: fixed 81-case subset; reward **0.812311**, failed cases 0. + +| Dataset | VRMSE | +|---|---:| +| ape2d/burgers | 0.006413 | +| ape2d/decay_turb | 0.000381 | +| ape2d/diff | 0.000003 | +| ape2d/fisher | 0.000003 | +| ape2d/gs_alpha | 0.003095 | +| ape2d/gs_beta | 0.004740 | +| ape2d/gs_delta | 0.019250 | +| ape2d/gs_epsilon | 0.001366 | +| ape2d/gs_gamma | 0.049313 | +| ape2d/gs_iota | 0.001785 | +| ape2d/gs_kappa | 0.004855 | +| ape2d/gs_theta | 0.004678 | +| ape2d/kdv | 0.016728 | +| ape2d/kolm_flow | 0.008926 | +| ape2d/ks | 0.000039 | +| ape2d/sh | 0.000004 | +| pdearena/navier_stokes_2d | 0.000083 | +| well/active_matter | 0.040601 | +| well/turbulent_radiative_layer_2D | 0.440282 | + +Selection basis: same physical operators; fixed81-case neural comparison + +Outcome: improvement; published atomically. + +## E084 — short versus long hidden-state gradient diagnosis + +E083 improves its four fitted TRAIN steps but regresses its full30 rollout. On the same audited TRAIN9/−3 trajectory2, compute exact autograd derivatives at zero2x16x16 correction for the original stabilized VRMSE atsteps1–4 and5–30. Same native256/M32/6Stokes dynamics,scale0.01,center state,seed20261223; no optimizer or shared-network change. Check exactforecastprefix, finite gradients and unchanged coefficients. Report float64 gradient cosine/norms and local derivatives along the already fixed E083update20. This single-trajectory local diagnosis is not a VALID score, finite-update guarantee or shared-head learnability test. No deployment candidate; queuedheadprotocol unchanged. Sources/protocol pinned in latent_horizon_v1. + +## Full validation of late_average + +All 585 validation trajectories, starting at frame 0; no held-out trajectories. Reward **0.781615**, failed cases 0. Neural initialization seed 20261021; sampling seed 20261106; checkpoint SHA256 `1f24abcc814d6b2fff9a530b350ee4d8cffc8c80cb9374bfee6509c02ae0bd61`. Same model as the corresponding quick-validation experiment; changed factor: expanded validation sample only. + +| Dataset | VRMSE | +|---|---:| +| ape2d/burgers | 0.007568 | +| ape2d/decay_turb | 0.000289 | +| ape2d/diff | 0.000003 | +| ape2d/fisher | 0.000005 | +| ape2d/gs_alpha | 0.003239 | +| ape2d/gs_beta | 0.004901 | +| ape2d/gs_delta | 0.022624 | +| ape2d/gs_epsilon | 0.000889 | +| ape2d/gs_gamma | 0.062780 | +| ape2d/gs_iota | 0.006619 | +| ape2d/gs_kappa | 0.008764 | +| ape2d/gs_theta | 0.019424 | +| ape2d/kdv | 0.024675 | +| ape2d/kolm_flow | 0.011662 | +| ape2d/ks | 0.000024 | +| ape2d/sh | 0.000005 | +| pdearena/navier_stokes_2d | 0.000081 | +| well/active_matter | 0.087454 | +| well/turbulent_radiative_layer_2D | 0.440282 | + +Exact reuse protocol for a shared-neural change: all physical assets/configuration match /run-state/workspace/research/universal_v1/phase7/late_average. The source per-case log audit verifies552 complete corpus/smoke physical rollouts and24 complete active rollouts; all576 outputs have unchanged dependencies. For a shared latent-state head, those dependencies include neural weights, guide assets, postprocessing and serving configuration; neural-weight changes cannot reuse these active predictions. The nine neural radiative-layer outputs were replayed with exact context/metadata equality to full inputs and freshly scored with the official scorer. Reaggregate their official per-case scores and the576 audited unchanged per-case scores using the exact aggregation code extracted from the official scorer. Report provenance includes scorer/source-report hashes and the reuse audit. All585 prediction files are retained. This avoids rereading unchanged targets without approximating the metric. + +Outcome: recorded full validation for audit and comparison; no automatic comparison against the distinct quick-validation sample. + +## E047 wider main-model training launch + +Grow the selected shared main network from width48 to96, preserving the initial function within documented float32 roundoff. Initialize only from session-trained weights, duplicate channels and split outgoing weights, with zero-sum symmetry-breaking noise0.01 seed20261110. Main parameters3066627 to9526707. Six microbatches of one accumulate effectivebatch6, full30-step unroll with26/10 corpus/Arena caps, learning rate0.00003 cosine, noise0.01, group probabilities0.05/0.075/0.075/0.8, sampling seed20261119,2000updates. Start only after phase8 trainer/workers/watcher exit. Freeze selected auxiliary guides; exact parent and hashes in phase9/lineage.json. Validation pending. + +## E084a — early and late state-gradient result + +The two objectives have nearly orthogonal gradients at zero correction: cosine0.0044190691758825215; late/early gradient norm ratio439.77179892533485. Thus this example does not show opposed local gradients. Along the fixed E083update20, the early and late local directional derivatives are both negative (-0.0002630996148348695,-0.026207977598443843), despite the finite-update long forecast regression. A local derivative does not predict such a finite correction through these sensitive dynamics; the differentiable center-state objective also differs from three-node serving. Exactprefix and unchangedcoefficients checks pass, gradientsfinite; native30backwardpeak25.916GiB,~209.6s onsharedGPU. GradientSHA256 `d4447147baf8c3887331525bce2bcc9892d433aadbea8af781de9e7d54c54b96`. No newweights/VALIDmetrics/servingchange; shared-headprotocolremainsunchanged. + +## E085 — initial versus later TRAIN windows + +Hypothesis: the current0.25 initial-window sampling probability may misallocate updates when all evaluation contexts start at frame0. Pin selected late-average mainSHA256 `1f24abcc814d6b2fff9a530b350ee4d8cffc8c80cb9374bfee6509c02ae0bd61` and complete sharedpackage, with no training. Replay the same nine thermal TRAIN trajectories, one per cooling regime, from start0,midpoint33,and lastpossible67 with30-step horizons. Fresh TRAIN reads must exactly equal nativecached frames; compute the official channel/stepVRMSE formula, clamp10, and summarize positions/channels/horizons. Fixedservingseed0, nooptimizer,newparameters,VALIDorheldoutaccess. This descriptive comparison does not by itself identify an optimal sampling distribution. Results pending in window_position_v1. + +## E085a — later TRAIN windows are harder + +The fixed selected complete model scores initial/middle/late TRAIN windowVRMSE 0.383153984741939/0.5268689325498044/0.5673285633357836. Both later windows are worse than initial in all nine cooling regimes. Everychannelmean error increases; full per-case/channel/step and targetvariance diagnostics retained. Fresh reads equal nativecache; weights/runtime unchanged. This does not show that later training is harmful or identify an optimal sampling fraction, but motivates a matched initial-context sampling trial. No VALID scores, optimizer or deployment change. + +## E086 — shared-statistics initial-context sampling + +Continue the selected E072reflection2000 mean/profile weights in matched CPUarms: initialcontext probability0.5control versus0.9experimental. All19TRAINdatasets,544587parameters,6000updates,batch512,LR0.00005cosine. Both retain fieldVRMSE, dropout0.1, periodicprofiletranslations, eligiblehorizontalreflection0.5 and frozenzero covarianceprojection. Seeds sampling20261224/dropout20261225/periodic20261226/reflection20261227. Inherited scratchseed20261031; parentmeanSHA256 `3b423a0afbb46bafc914d62daaf8611a1b30ae424b8c517d846cbb93d4d6578c`. Record and random-number draws are matched; the threshold changes starts and can change actualhorizons near trajectoryends. Save1000/3000/6000 and evaluate allsix complete sharedpackages with unchanged decoder coefficients; no separately trained dataset model. No synthetic/pretrained assets or inference-time fitting. Existing model/reflection checks inherited byte-for-byte; matched-mask/rate sanitycheck passes beforelaunch. Full protocol/source hashes in initial_statistics_v1. Validation pending. + +## E085b — main-network initial-context sampler preparation + +Prepared an independent initial-window override for a future matched shared-backbone trial. Probability2/3 raises the explicit initialpolicy0.25→0.75 while preserving the original group, trajectory, baseline-start and periodic-shift draw sequence exactly; defaultdisabled path is bitwise identical. Seeds sampling20261228/override20261229. On80 real TRAIN windows acrossall4groups, 20 starts change; initial counts [48, 68]. Every input/target window equals the corresponding source slice and periodic shift, all10115records pass TRAINmembership audit. Sourcehashes andchecks in initial_main_v1. No trainer, checkpoint, VALID candidate, inferencechange or newtrainingbudget launched. Any future continuation must retain selected learned-state supervision if present. + +## E086a — matched initial-context sampling results + +Same selected E072reflection2000 auxiliary parent; all19 TRAIN datasets,6000 updates, batch512,LR0.00005 cosine,544587 parameters, fieldVRMSE, dropout0.1, periodic shifts and eligible reflection0.5 in both arms. Initialcontext probability0.5control versus0.9experimental. Sampling/dropout/periodic/reflection seeds20261224/25/26/27; all initialization descends from session scratchseed20261031. No runtime or decoder change. All changed nine thermalVALID cases freshly scored,72 complete physical cases reused after audit. + +| Arm | Update | Thermal VALID VRMSE | Quick81 reward | Training checkpoint SHA256 | +|---|---:|---:|---:|---| +| control | 1000 | 0.441333924574 | 0.812224730617 | `e9ff2ada10e23fb88676116911caa31f67ac4b9d3ed3c77b424562061c12bfff` | +| control | 3000 | 0.440927499736 | 0.81225807449 | `812686f8fe10216a5be371ce873cbfd8b2d9fb899da002cda6bb8f79a41a29cd` | +| control | 6000 | 0.440568632754 | 0.812287542186 | `9ee5bfc4d2ac7614d9c583e68f85a77334069381a1a671fdb2713b6b1b558ed8` | +| initial | 1000 | 0.441076006654 | 0.812245887136 | `132fa6ba8ac417fb72d0698711b0610a47c046aecdefd45fec7aca090450c549` | +| initial | 3000 | 0.441032874694 | 0.812249426376 | `0aadf69afa3921665de281060066478689123b718d07a58bbc791e0ed12d57b0` | +| initial | 6000 | 0.441308067539 | 0.812226851063 | `47e9174f904ae06d491b9496104bb4dc17a80ea9c89fa64bddc3111152baa876` | + +Unchanged dataset metrics for every candidate: + +| Dataset | VALID VRMSE | +|---|---:| +| ape2d/burgers | 0.00641267771349 | +| ape2d/decay_turb | 0.000381421944384 | +| ape2d/diff | 2.60304291901e-06 | +| ape2d/fisher | 3.40589902092e-06 | +| ape2d/gs_alpha | 0.00309470353535 | +| ape2d/gs_beta | 0.0047402657863 | +| ape2d/gs_delta | 0.0192496697308 | +| ape2d/gs_epsilon | 0.00136617003054 | +| ape2d/gs_gamma | 0.0493129245648 | +| ape2d/gs_iota | 0.00178478978776 | +| ape2d/gs_kappa | 0.00485456077448 | +| ape2d/gs_theta | 0.00467797007751 | +| ape2d/kdv | 0.0167280115129 | +| ape2d/kolm_flow | 0.00892556562073 | +| ape2d/ks | 3.91337424002e-05 | +| ape2d/sh | 3.71134325297e-06 | +| pdearena/navier_stokes_2d | 8.34867076885e-05 | +| well/active_matter | 0.0406009242797 | + +Compare the best complete-package candidate with the current selection; retain every negative result. + +## Full validation of control_006000 + +All 585 validation trajectories, starting at frame 0; no held-out trajectories. Reward **0.781592**, failed cases 0. Neural initialization seed 20261021; sampling seed 20261106; checkpoint SHA256 `1f24abcc814d6b2fff9a530b350ee4d8cffc8c80cb9374bfee6509c02ae0bd61`. Same model as the corresponding quick-validation experiment; changed factor: expanded validation sample only. + +| Dataset | VRMSE | +|---|---:| +| ape2d/burgers | 0.007568 | +| ape2d/decay_turb | 0.000289 | +| ape2d/diff | 0.000003 | +| ape2d/fisher | 0.000005 | +| ape2d/gs_alpha | 0.003239 | +| ape2d/gs_beta | 0.004901 | +| ape2d/gs_delta | 0.022624 | +| ape2d/gs_epsilon | 0.000889 | +| ape2d/gs_gamma | 0.062780 | +| ape2d/gs_iota | 0.006619 | +| ape2d/gs_kappa | 0.008764 | +| ape2d/gs_theta | 0.019424 | +| ape2d/kdv | 0.024675 | +| ape2d/kolm_flow | 0.011662 | +| ape2d/ks | 0.000024 | +| ape2d/sh | 0.000005 | +| pdearena/navier_stokes_2d | 0.000081 | +| well/active_matter | 0.087454 | +| well/turbulent_radiative_layer_2D | 0.440569 | + +Exact reuse protocol for a shared-neural change: all physical assets/configuration match /run-state/workspace/research/universal_v1/phase8/late_average. The source per-case log audit verifies552 complete corpus/smoke physical rollouts and24 complete active rollouts; all576 outputs have unchanged dependencies. For a shared latent-state head, those dependencies include neural weights, guide assets, postprocessing and serving configuration; neural-weight changes cannot reuse these active predictions. The nine neural radiative-layer outputs were replayed with exact context/metadata equality to full inputs and freshly scored with the official scorer. Reaggregate their official per-case scores and the576 audited unchanged per-case scores using the exact aggregation code extracted from the official scorer. Report provenance includes scorer/source-report hashes and the reuse audit. All585 prediction files are retained. This avoids rereading unchanged targets without approximating the metric. + +Outcome: recorded full validation for audit and comparison; no automatic comparison against the distinct quick-validation sample. + +## E086 — initial-context statistical training +- Hypothesis / changed factor: Matched shared-statistics initial-context sampling, selectedcontrol update6000. Continue selected E072reflection2000 weights across all19 TRAIN datasets, 6000updates,batch512,LR0.00005 cosine; sample/dropout/periodic/reflection seeds20261224/25/26/27. Changed factorinitial probability0.5 versus0.9; both arms retain dropout0.1, periodic shifts, eligible reflection0.5 and reconstructed-field VRMSE. Same544587 parameters, frozenzero covariance projection and deterministic inference on every case. Full per-dataset results and hashes for allsix candidates are in E086a. Nine fresh officialVALID scores and audited unchanged physical outputs; full585 report and neural/unknown/smoke/diffusion repeat checks precede publication. No pretrained or synthetic assets, no inference fitting. +- Seed: 20261106. +- Checkpoint SHA256: `1f24abcc814d6b2fff9a530b350ee4d8cffc8c80cb9374bfee6509c02ae0bd61`. +- Runtime code SHA256: `73bd86b52f8a18af91dc0a0e2752c7076c9bfae1bb414a471e5ff65d2f0a53c0`. +- Validation: fixed 81-case subset; reward **0.812288**, failed cases 0. + +| Dataset | VRMSE | +|---|---:| +| ape2d/burgers | 0.006413 | +| ape2d/decay_turb | 0.000381 | +| ape2d/diff | 0.000003 | +| ape2d/fisher | 0.000003 | +| ape2d/gs_alpha | 0.003095 | +| ape2d/gs_beta | 0.004740 | +| ape2d/gs_delta | 0.019250 | +| ape2d/gs_epsilon | 0.001366 | +| ape2d/gs_gamma | 0.049313 | +| ape2d/gs_iota | 0.001785 | +| ape2d/gs_kappa | 0.004855 | +| ape2d/gs_theta | 0.004678 | +| ape2d/kdv | 0.016728 | +| ape2d/kolm_flow | 0.008926 | +| ape2d/ks | 0.000039 | +| ape2d/sh | 0.000004 | +| pdearena/navier_stokes_2d | 0.000083 | +| well/active_matter | 0.040601 | +| well/turbulent_radiative_layer_2D | 0.440569 | + +Selection basis: same physical operators; fixed81-case neural comparison + +Outcome: did not improve validation reward; retained current package. + +## E086b — initial-context statistical weighting rejected + +Allsix complete-package candidates regress relative to selected thermalVRMSE0.4402820249420574. The best is control6000 at0.4405686327535333, full585reward0.7815915571085751,zero failures. Initial90percent improves its matchedcontrol at1000 only, and loses at3000/6000; finalcontrol0.440568632754 versusinitial0.441308067539. Reject the increased initial-context weighting for this auxiliary branch. No inference-template, running-training guide or selectedweight change. This does not decide the separate, untrained main-network sampling hypothesis. All per-dataset scores/checkpoint hashes and negative fullreport remain retained. + +## E070a — native CUDA precision preflight + +On one audited TRAIN context at native256/M32, two physical steps with the original three-node quadrature, the new float32 path exactly matches the pinned original physical operator onGPU. Float64 captures its CUDAgraph, returns finite float64 forecasts fromcomplex128 state and differs fromfloat32 by maximumabsolute4.2149330314877886e-07. All three complete2/2steps. No targets were read and no optimizer ran; this is implementation evidence, not an accuracy result. Both precision modes generate the same float32 white quadrature noise from the existing fixedseed, then filter/integrate at their selected precision. No kinetic-source modification. The six-regime/full30 TRAIN diagnostic remains queued afterE062/E064; original E067 physical parent/configuration stays pinned. Nativechecks/audit in precision_active_v1/cuda_checks.json. + +## E087 — conservative density transport feasibility + +Hypothesis: use the continuity equation to improve the shared thermal forecast density. Independent finite-volume MC reconstruction/HeunRK2,CFL0.4,native128x384,supplieddomainextent,periodicX/openYreplicatedghosts,linear velocity interpolation. Compare selected modeldensity against transport driven by its forecast velocities and an oracle driven by knownTRAINfuture velocities on the same nine audited initial TRAIN windows fromE085. The oracle is diagnostic only and must never be packaged or evaluated onVALID/heldout cases. No blend/grid/CFLsearch, no optimizer/newlearnedparameters; parentmainSHA256 `1f24abcc814d6b2fff9a530b350ee4d8cffc8c80cb9374bfee6509c02ae0bd61`. Report density and full4channelcompositeVRMSE. Manufactured periodic advection errors32/64/128 are0.000354954/0.000101952/0.000030071; periodicmass preservedto1e-13, constantfield exact withopenboundaries, positivity and CUDAgraph/eager/repeat exactness pass (checkseed20261230). These manufactured checks are not synthetic trainingdata. Source/protocol/hashes in density_transport_v1; no VALID candidate or runtime change. + +## E087a — native continuity replacement rejected + +Allnine TRAIN pilots complete. Original densityVRMSE0.14801000442843196 versusforecast-velocity transport0.4597758131612161 andTRAINoraclevelocity transport0.2766399596436549. Fourchannelcomposite0.383153984741939→0.46109543692513505 (oracle0.41531147354574477). Reject direct replacement beforeVALID. No pretrainedassets,newweights or servingchanges; oraclepredictions remain TRAIN-only artifacts. The oracle itself is worse than the learned density, so velocity forecast error alone does not explain failure. + +A follow-up convention/conservation diagnosis computes centered continuity balances on the same TRAINframes0–33, with fixed4x4/8x8 pooling, identity versus swapped velocity assignments and diagnostic least-squares flux coefficients. Also inspect globalmass change versus open-boundary massflux. No fitted coefficient will be deployed from this diagnostic, and coarse temporal sampling can bias it. Protocol/sourcehash in balance_protocol.json; results pending. + +## E087b — TRAIN continuity convention diagnosis + +Fixed identity velocity assignment has relativebalanceRMS residual0.86244 at4x4 pooling and0.48944 at8x8, versus swappedcomponents3.26722/3.00647. Thus a component swap is not supported. Fitted identity coefficients change from[0.62582,0.52606] at4x4 to[0.95757,0.83357] at8x8; the fitted8x8 residual remains0.47774. This scale dependence does not identify a uniform time correction. Globalmass/boundaryflux coefficient varies0.17–0.96 across coolingregimes, with weak late-cooling masschange signals. Keep the suppliedconventions and reject the current directdensitytransport candidate. Temporal undersampling, unresolvedflux correlations and spatialdiscretization remain plausible causes; this diagnostic cannot separate them. No coefficient, optimizer, VALIDscore, checkpoint or servingchange. Fullcase metrics and exactmethod in balance_results.json. + +## E066a — paired average description + +The selected equal2k/3k/4k average improves six of nine thermalVALID cases relative to update3000; overallVRMSE0.440918915889→0.440282024942. Its final6step mean improves0.00658671154 while middlehorizons regress. All four comparisons have byte-identical configuration, meanweights and coarseweights; reporthashes and standalonePNG/SVG in full_average_v1/paired_analysis.json andpaired_average. This is descriptive on nineVALID trajectories, with no fitting or alteredselectionrule. + +## E088 — wider checkpoint average predeclaration + +Predeclare one equal parameter average of phase9 updates1000/2000 before either sourcecheckpoint exists. Float64 accumulation restored tooriginaldtypes; samewidth96/all19TRAIN lineage andseed20261119, no newparameters/training/seed/inferenceensemble. Compare the same three already-established decoder settings as individualphase9 checkpoints: shrink0.75,no_shrink0,and mean/profile correctionsdisabled. Lockedphase9inference template/completephysicalcache; ninefreshthermalVALID scores plus72auditedphysicalcases,full585derivation andexactneural/unfamiliarrepeatchecks beforewinningpublication. Thewaiting phase9watcher is restarted before anycheckpoint exists toappend thiscomparison after itsoriginal2kvalidation; the alreadyqueued phase10launcher waitsforwatchernormalexit, so it will use the finalselectedparent. Maintrainer, source, optimizer, frozen guides andphase10trainingprotocol unchanged. Sources/protocol in full_average_v1/wider_protocol.json andwider_sources.json. Validation pending. + +## E089 — native-grid residual preparation and full-rollout resource check + +Hypothesis: the inherited strided U-net limits local spatial dynamics; add a native-grid width64 residual with eight metadata-conditioned depthwise5x5 blocks, dilation1/2/4/8 repeated twice, and zero final projection. Same normalized four-frame features before stride padding and guide injection; same weights on every case. Adds372363 randomly initialized parameters, initialization/check seed20261231. Only this new branch is checkpointed during training. Inherited complete model is not claimed translation equivariant. No optimizer updates, trained candidate or VALID comparison yet. + +Four audited TRAIN contexts (all four groups, resized32x48) preserve inherited outputs exactly. An optional nonzero latent-state head also preserves output and state coefficients exactly. Nonzero branch periodic shifts are exact in double precision on7x11/31x47/9x13 grids; arbitrary small periodic and replicated boundaries remain finite. Checkpoint recomputation matches eager outputs and all gradients exactly; gradient reaches stem and final depthwise block. Sources and context/checkpoint hashes in native_residual_v1/checks.json. Parent mainSHA1f24abcc814d6b2fff9a530b350ee4d8cffc8c80cb9374bfee6509c02ae0bd61. + +Native128x384 TRAIN tcool0.03 trajectory0 full30 forward/backward at width96 with phase9initialSHA81445375f8d162239675f5b5e061b2bcd6678f81eae9c468e2de04d7544f9ea8, frozenE072guides and checkseed20270101: original and extended outputs/loss are bit-exact (loss0.172014117241), all gradients finite, nonzero newheadgradient0.208984375, inherited parameters unchanged. Peakallocated28.3834→28.9053GiB; peakreserved29.3164→29.8320GiB. SharedGPU timings7.39/7.22seconds are not an isolated speed comparison. Zero newhead means newinteriorgradients are correctlyzero at initialization. No VALID/held-out targets, optimizer, publication or queued training. Actual continuation must retain physical-head supervision if that architecture is selected. + +## E089a — spatial error bands limit the fine-detail hypothesis + +Descriptive decomposition of the nine previously audited E085 initial TRAIN rollouts, fixedE066 mainSHA1f24abcc814d6b2fff9a530b350ee4d8cffc8c80cb9374bfee6509c02ae0bd61. PeriodicX Fourier and even-extension cosineY, bands in maxabsolute cycles/cell; ParsevalnormalizedMSE agrees within1e-12. No optimization, new randomness, VALID or prediction transformation. Errorenergy: mean8.97percent,wavelength>32cells48.84percent,16–32cells31.25percent,8–16cells7.94percent,4–8cells1.75percent,2–4cells1.26percent. Thus only3.01percent lies at wavelengths8cells or below. Oracle removal of that TRAINtarget-dependent error reducesVRMSE0.383153985→0.374927869; removing all wavelengths16orbelow gives0.351265132. These are descriptive oracles, never inference operations. Bands add in normalizedMSE, notVRMSE. The result weakens a fine-detail-only explanation; any native residual benefit would need broader scales too. Its receptivefield123cells permits that but this does not show learnability. No training protocol or queue added. Per-channel/step energies, source/prediction/targethashes andPNG/SVG figure in native_residual_v1/error_bands.*. + +## Full validation of candidate + +All 585 validation trajectories, starting at frame 0; no held-out trajectories. Reward **0.781818**, failed cases 0. Neural initialization seed 20261021; sampling seed 20261106; checkpoint SHA256 `1f24abcc814d6b2fff9a530b350ee4d8cffc8c80cb9374bfee6509c02ae0bd61`. Same model as the corresponding quick-validation experiment; changed factor: expanded validation sample only. + +| Dataset | VRMSE | +|---|---:| +| ape2d/burgers | 0.007568 | +| ape2d/decay_turb | 0.000289 | +| ape2d/diff | 0.000003 | +| ape2d/fisher | 0.000005 | +| ape2d/gs_alpha | 0.003239 | +| ape2d/gs_beta | 0.004901 | +| ape2d/gs_delta | 0.022624 | +| ape2d/gs_epsilon | 0.000889 | +| ape2d/gs_gamma | 0.062780 | +| ape2d/gs_iota | 0.006619 | +| ape2d/gs_kappa | 0.008764 | +| ape2d/gs_theta | 0.019424 | +| ape2d/kdv | 0.024675 | +| ape2d/kolm_flow | 0.011662 | +| ape2d/ks | 0.000024 | +| ape2d/sh | 0.000005 | +| pdearena/navier_stokes_2d | 0.000081 | +| well/active_matter | 0.087494 | +| well/turbulent_radiative_layer_2D | 0.437624 | + +Replayed all576 physical VALID cases under the same four-member translation rule; all distinct member prefixes are complete, audited in translation_member_coverage.json. Member weights are identical and every member applies to every case; identity duplicates share computation. Replayed all9 thermal VALID cases after retaining the latest selected shared neural/guide weights. Physical modules/configuration are identical to the original ensemble replay and outputs are independent of neural weights only because every member has a complete physical prefix. Quick81 inputs/metadata match their full585 counterparts exactly. Compare full585 rewards, with active/neural/smoke/unknown repeat checks before any winning publication. No held-out data or test-time fitting. + +Outcome: recorded full validation for audit and comparison; no automatic comparison against the distinct quick-validation sample. + +## E062 — fixed shared-model translation average, full cohort +- Hypothesis / changed factor: Same complete surrogate averaged over four fixed periodic-x translations, fractions0/2/4/6 of128 cells; identity for nonperiodic-x boundaries and shared computation for duplicate members. No new parameters or seed; same learned weights applied to all four members and every case. Select the fixed shift rule on nine audited TRAIN trajectories:0.40919935 to0.40829987; quarter-domain translations regress to0.41531276. Initial nine-case thermal VALID improves0.44911052 to0.44688063. Replay all576 physical VALID cases, requiring every distinct member to complete its physical prefix; preserve later selected neural improvements and rerun all9 thermal cases before full585 comparison. Exact member coverage, source package and rebases retained. No pretrained assets, synthetic data, dataset specialist checkpoint or inference-time training. +- Seed: 20261106. +- Checkpoint SHA256: `1f24abcc814d6b2fff9a530b350ee4d8cffc8c80cb9374bfee6509c02ae0bd61`. +- Runtime code SHA256: `5aefab0263a8789ffb9c221d50ba13fc27c59ceceb5d284e6fd58f0a04d54301`. +- Validation: fixed 81-case subset; reward **0.812595**, failed cases 0. + +| Dataset | VRMSE | +|---|---:| +| ape2d/burgers | 0.006413 | +| ape2d/decay_turb | 0.000381 | +| ape2d/diff | 0.000003 | +| ape2d/fisher | 0.000003 | +| ape2d/gs_alpha | 0.003095 | +| ape2d/gs_beta | 0.004740 | +| ape2d/gs_delta | 0.019250 | +| ape2d/gs_epsilon | 0.001366 | +| ape2d/gs_gamma | 0.049313 | +| ape2d/gs_iota | 0.001785 | +| ape2d/gs_kappa | 0.004855 | +| ape2d/gs_theta | 0.004678 | +| ape2d/kdv | 0.016728 | +| ape2d/kolm_flow | 0.008926 | +| ape2d/ks | 0.000033 | +| ape2d/sh | 0.000004 | +| pdearena/navier_stokes_2d | 0.000083 | +| well/active_matter | 0.040528 | +| well/turbulent_radiative_layer_2D | 0.437624 | + +Selection basis: full585 physical-operator comparison: candidate0.78181788, current0.78161511 + +Outcome: improvement; published atomically. + +## E087c — small complementary continuity blend + +A poor standalone transport forecast may still have complementary error. On the same nine initial TRAIN cases and fixedE066 checkpoint, fit a single convex density blend in[0,1] using only E087forecast-velocity predictions (never oraclefuturevelocities). All endpointchannel-stepVRMSEs are below10, so the meanVRMSE is convex; derivative bisection givesalpha0.01344492073972926. DensityVRMSE0.148010004428→0.147888832664; leave-one-cooling-regime-out fits/evaluations give0.147916682547. The derivative atzero is−0.0180187542072. No newnetworkparameters or randomseed. This is a very small TRAINgain, not a validation result. Coefficient, quadraticstatistics, allsource/target/predictionhashes and fullcrossfitresults in density_transport_v1/blend_results.json; no oracleprediction files read by this study. + +## E087d — additional TRAIN confirmation predeclaration + +Freeze the nine-case fittedalpha exactly, without refitting, and evaluate the other63 authorized thermalTRAINtrajectories (all72 minus the nine calibrationrecords). Retain pinnedE066 complete model and guides from window_position_v1/package; no translationensemble or positivityrebase during this diagnostic. Read nativeframes0–33 from authorizedTRAIN sources, require byteidentity with cachednativearrays, supply onlyframes0–3 to the model, and transport density with its own forecast velocities. Source, parenthashes, and fullmembershipaudit in density_transport_v1/additional_train/protocol.json and audit.json. No optimizer/newseed/VALID data. All63 are already in backboneTRAIN, so this only checks the blend beyond its calibration subset. Results pending; no servingcandidate or queue modification. + +## E087d result — fixed blend confirms on63 additional TRAIN trajectories + +Alpha remains0.01344492073972926 from the originalnine calibrationrecords. On the other63 initialTRAIN trajectories, densityVRMSE0.154377421716→0.154178949505, fullfour-channelVRMSE0.379773997608→0.379724379556;52/63casesimprove. Freshnativeinputs/targets matchcachedTRAINwindows exactly. No coefficient refitting, optimizer, newseed, oraclevelocities or VALID data. Allrollouts/sources/targethashaudit under density_transport_v1/additional_train. This remains a very small effect. + +## E087e — fixed density-blend validation predeclaration + +Assemble the fixed blend after the complete current shared forecast and any final support projection. Eligibility depends only on density/pressure/velocity0/velocity1 fields, periodic-X/open-Y boundaries and validspacing/time metadata; notdatasetname. Same independentMC/Heuncontinuity/CFL0.4 with a1024-substep workcap and deterministic unchanged-forecast fallback. It consumes only suppliedcontext and modelvelocities. Packagedoperator matches savedTRAINforecast-velocity arithmetic exactly, leavesotherchannels andineligible/empty/workcappedcasesexact, and preservesconstantdensity/determinism on7x11CPUgrid. Initialpreflight log/source archived after removal of a redundant always-true assertion; cleanedcheck rerun passes, finalsourcehashes in density_blend_v1/checks.json. No change to solverarithmetic. + +Queue one full585comparison afterE064normalcompletion: ninefresh eligibleVALID forecasts; reuse576parentpredictions only after eachinputmetadatafailseligibility and allinheritedassets/config/source matchexcepttheisolated finaltransform call. Exactofficialaggregation and neural/novelrepeatchecksbeforewin. Newoperatorasset/config invalidate genericphysical-cache reuse; this explicitmetadataaudit supplies the proof for this comparison. Ifselected, updatephase8/9templates/cachesunderlocks. Optionalasset equality added tofuturelatentnonactiveaudit; physicalkernel, encodedcache, maintrainers andphase10protocol unchanged. Sources/protocol in density_blend_v1/protocol.json. Validation pending. + +## Full validation of candidate + +All 585 validation trajectories, starting at frame 0; no held-out trajectories. Reward **0.781820**, failed cases 0. Neural initialization seed 20261021; sampling seed 20261106; checkpoint SHA256 `1f24abcc814d6b2fff9a530b350ee4d8cffc8c80cb9374bfee6509c02ae0bd61`. Same model as the corresponding quick-validation experiment; changed factor: expanded validation sample only. + +| Dataset | VRMSE | +|---|---:| +| ape2d/burgers | 0.007568 | +| ape2d/decay_turb | 0.000289 | +| ape2d/diff | 0.000003 | +| ape2d/fisher | 0.000005 | +| ape2d/gs_alpha | 0.003239 | +| ape2d/gs_beta | 0.004901 | +| ape2d/gs_delta | 0.022624 | +| ape2d/gs_epsilon | 0.000889 | +| ape2d/gs_gamma | 0.062780 | +| ape2d/gs_iota | 0.006619 | +| ape2d/gs_kappa | 0.008764 | +| ape2d/gs_theta | 0.019424 | +| ape2d/kdv | 0.024675 | +| ape2d/kolm_flow | 0.011662 | +| ape2d/ks | 0.000024 | +| ape2d/sh | 0.000005 | +| pdearena/navier_stokes_2d | 0.000081 | +| well/active_matter | 0.087494 | +| well/turbulent_radiative_layer_2D | 0.437602 | + +Applied the exact final unary nonnegativity projection to all585 previously validated parent predictions, using only supplied field names. The projection occurs after the full model, all corrections and any translation average, so no dynamics are approximated or recomputed differently. Source prediction hashes and per-case changed counts are in projection_audit.json. Freshly score every changed case with the official scorer, reuse per-case scores only for byte-identical copied predictions, and aggregate all585 using the exact official aggregation code; provenance and scorer/report hashes are retained. Replayed all9 thermal VALID cases through the assembled package and verified bit-exact equality to projected outputs; active/smoke/diffusion and unfamiliar-schema repeat checks precede a winning publication. Quick81 input/metadata equality verified. The model itself reads only supplied context and package assets. No held-out trajectories. + +Outcome: recorded full validation for audit and comparison; no automatic comparison against the distinct quick-validation sample. + +## E064 — final physical-support projection +- Hypothesis / changed factor: Final nonnegativity projection for density and concentration, selected by supplied field names, after complete forecasts and any translation average. No new parameters or seed. On nine audited TRAIN rollouts, statistical corrections had introduced negative density in0.8–8percent of pixels despite an earlier clamp; all corresponding targets are nonnegative. Fixed zero projection reduces meanTRAIN VRMSE0.40919935 to0.40918377. Transform all585 parent VALID predictions exactly, record changed counts/source hashes, replay all9 thermal cases and require bit-exact transformed/serving parity. Full585 selection plus active/smoke/unknown repeats. No tuning of the zero bound, pretrained assets or inference-time fitting. +- Seed: 20261106. +- Checkpoint SHA256: `1f24abcc814d6b2fff9a530b350ee4d8cffc8c80cb9374bfee6509c02ae0bd61`. +- Runtime code SHA256: `992e25d838bbd7bfe4db95013b7790eca11b4fab518ca1b24b637b276a33c0da`. +- Validation: fixed 81-case subset; reward **0.812597**, failed cases 0. + +| Dataset | VRMSE | +|---|---:| +| ape2d/burgers | 0.006413 | +| ape2d/decay_turb | 0.000381 | +| ape2d/diff | 0.000003 | +| ape2d/fisher | 0.000003 | +| ape2d/gs_alpha | 0.003095 | +| ape2d/gs_beta | 0.004740 | +| ape2d/gs_delta | 0.019250 | +| ape2d/gs_epsilon | 0.001366 | +| ape2d/gs_gamma | 0.049313 | +| ape2d/gs_iota | 0.001785 | +| ape2d/gs_kappa | 0.004855 | +| ape2d/gs_theta | 0.004678 | +| ape2d/kdv | 0.016728 | +| ape2d/kolm_flow | 0.008926 | +| ape2d/ks | 0.000033 | +| ape2d/sh | 0.000004 | +| pdearena/navier_stokes_2d | 0.000083 | +| well/active_matter | 0.040528 | +| well/turbulent_radiative_layer_2D | 0.437602 | + +Selection basis: full585 physical-operator comparison: candidate0.78181972, current0.78181788 + +Outcome: improvement; published atomically. + +## E089b — portable native-residual prototype + +Assemble the zero-output branch on the selectedE062 four-translation package; no inference plumbing or inheritedweights changed. Fullmodel parameters4771385 (372363added), newbranchinitializationseed20261231, prototypecheckpointSHA28060c09084349af3d6cfb9c189732445b28f0a411bfde620b4209267564857a. Allruntimecode is embedded inmodel.py; no research-directory dependency at inference. Prototypeonly, no optimizer or publication. Repeat complete-package parent/zero parity onfour freshly audited TRAINcontexts (allfourgroups, includingstrongactive17/-5) andtwo independent unfamiliar2/13-channel grids, contextonly/no targets. Existingnovelsseed20261126. Resultpending undernative_residual_v1/prototype/parity; prototype notselected. + +## E090 — extend immutable state-encoder TRAIN labels to30 steps + +E083short-horizon hidden-stateoracle regression andE084 near-orthogonal early/lategradients motivate preparing longer supervision. For all175 authorizedactiveTRAIN records, readnativeframes0–33 and require byte-exactagreement with existingfourcontextframes andfirstfourlabels, matchingmetadata and completeTRAINmembership. Keep all existing encodedstates, originalcache, physicalkernel andqueuedphase10protocol untouched. Store30 futureframes only as labels in separate latent_full_targets_v1; no recomputation of state fromtargets. Recordeverybase/target/contexthash andmarkcomplete onlyafterall175. Nonewseed, modelparameters, optimizer, VALID data or inferenceasset. This enables a later separatelydeclared full/sampledhorizonloss experiment; it does notqueueone. Preparationrunning; protocol/sourcehashes in latent_full_targets_v1/protocol.json. + +## Full validation of attempt0 + +All 585 validation trajectories, starting at frame 0; no held-out trajectories. Reward **0.781821**, failed cases 0. Neural initialization seed 20261021; sampling seed 20261106; checkpoint SHA256 `1f24abcc814d6b2fff9a530b350ee4d8cffc8c80cb9374bfee6509c02ae0bd61`. Same model as the corresponding quick-validation experiment; changed factor: expanded validation sample only. + +| Dataset | VRMSE | +|---|---:| +| ape2d/burgers | 0.007568 | +| ape2d/decay_turb | 0.000289 | +| ape2d/diff | 0.000003 | +| ape2d/fisher | 0.000005 | +| ape2d/gs_alpha | 0.003239 | +| ape2d/gs_beta | 0.004901 | +| ape2d/gs_delta | 0.022624 | +| ape2d/gs_epsilon | 0.000889 | +| ape2d/gs_gamma | 0.062780 | +| ape2d/gs_iota | 0.006619 | +| ape2d/gs_kappa | 0.008764 | +| ape2d/gs_theta | 0.019424 | +| ape2d/kdv | 0.024675 | +| ape2d/kolm_flow | 0.011662 | +| ape2d/ks | 0.000024 | +| ape2d/sh | 0.000005 | +| pdearena/navier_stokes_2d | 0.000081 | +| well/active_matter | 0.087494 | +| well/turbulent_radiative_layer_2D | 0.437585 | + +Replayed all9 eligible thermal VALID trajectories through the complete assembled package. Reused576 parent predictions and official per-case scores only after identical parent weights, all existing runtime assets/configuration, exact serving-source equality after removing the single new transform call, and false metadata eligibility for every reused case. This is a final transform; it cannot alter earlier state evolution. Input/prediction hashes and eligibility proof are retained. The exact official aggregation combines585 cases; quick81 input/meta equality is audited. A single coefficient fit on nine TRAIN trajectories was confirmed unchanged on63 more TRAIN cases. Only forecast velocities are used; no oracle velocities, held-out data or inference-time fitting. + +Outcome: recorded full validation for audit and comparison; no automatic comparison against the distinct quick-validation sample. + +## E087e — small fixed continuity blend +- Hypothesis / changed factor: Fixed density continuity blendalpha0.01344492073972926, independently implemented MC finite-volume reconstruction/HeunRK2/CFL0.4, applied after the complete forecast and any nonnegative projection. Supplied field/boundary metadata determines eligibility. Uses only last context density/velocity and model forecast velocities. Fit one coefficient on nine TRAIN cases (densityVRMSE0.148010004428 to0.147888832664), leave-one-regime-out0.147916682547, then freeze on other63TRAIN:0.154377421716 to0.154178949505,52/63improve. No new network parameters or seed. Fresh nine VALID rollouts plus576 exactly audited ineligible parent outputs and full585 comparison; exact neural/novel-grid repeats before any improvement. No oracle future velocities, pretrained weights or inference-time fitting. +- Seed: 20261106. +- Checkpoint SHA256: `1f24abcc814d6b2fff9a530b350ee4d8cffc8c80cb9374bfee6509c02ae0bd61`. +- Runtime code SHA256: `7ff7479a422972cabedba1416898450cb254160c6ccdd66d7ec789be9d2e517c`. +- Validation: fixed 81-case subset; reward **0.812598**, failed cases 0. + +| Dataset | VRMSE | +|---|---:| +| ape2d/burgers | 0.006413 | +| ape2d/decay_turb | 0.000381 | +| ape2d/diff | 0.000003 | +| ape2d/fisher | 0.000003 | +| ape2d/gs_alpha | 0.003095 | +| ape2d/gs_beta | 0.004740 | +| ape2d/gs_delta | 0.019250 | +| ape2d/gs_epsilon | 0.001366 | +| ape2d/gs_gamma | 0.049313 | +| ape2d/gs_iota | 0.001785 | +| ape2d/gs_kappa | 0.004855 | +| ape2d/gs_theta | 0.004678 | +| ape2d/kdv | 0.016728 | +| ape2d/kolm_flow | 0.008926 | +| ape2d/ks | 0.000033 | +| ape2d/sh | 0.000004 | +| pdearena/navier_stokes_2d | 0.000083 | +| well/active_matter | 0.040528 | +| well/turbulent_radiative_layer_2D | 0.437585 | + +Selection basis: full585 physical-operator comparison: candidate0.78182111, current0.78181972 + +Outcome: improvement; published atomically. + +## E089b result — full portable prototype parity + +Allsix complete-package checks are exact: four TRAINcontexts spanningallfourgroups (strongactive17/-5 included), plusindependent unfamiliar2-channel7x11 and13-channel129x177 inputs. Threeforecaststeps forTRAIN/twofornovels; allfinitefloat32 andexpectedshapes. Compare against E062four-translation parent withsameall-case memberrule. ProtoSHA28060c09084349af3d6cfb9c189732445b28f0a411bfde620b4209267564857a; branchseed20261231. No newtargets, training, VALID or publication. Exactinputs/read-onlymembershipaudit andchecks retained undernative_residual_v1/prototype. + +## E090 result — all175 longer TRAIN targets prepared + +Completed175 native30-step label files,15138838400bytes,82.55seconds CPU/wall preparation. Everyrecord matches fullTRAINmembership; freshfourcontextframes andfirstfourtargets matchimmutableexistingcache exactly, metadataequal,allfinitefloat32. Originalencodedstates andcachemetadata unchanged; eachbase/context/targetSHA recorded. No newencoderstate, GPUoptimizer, VALID data or inferredhiddenstate fromfuturetargets. Completion/manifest inlatent_full_targets_v1. No queuedtrainingprotocol change. + +## E091 — nested physical activation recomputation + +Hypothesis: wrappingeachfullstoredframe in an outer activationcheckpoint, while retaining originaltwo-substep checkpoints inside, can reduce full30-gradientmemory without changing mathematics. Copyunchangedphysicalkernel andloss source; only insertouterrecomputation. No optimizer, pretrainedassets, inferencechange, main/state-headtrainingchange or VALID data. Seed20270103, zero2x16x16F6coefficients, fixedscale.01 andsamecenterstateobjective. Stages: strong17/-5 TRAINtrajectory2 fourstepsoriginalvsnested, requireexactoutputs/loss andgradientrelativeL2<1e-5; moderate9/-3 trajectory2 nested30 vsE084stored weightedfullgradient (relativeL2<1e-4,lossdifference<5e-8); thenstrong30finite-gradient/prefix/memorycheck. Use auditedE090targets andoriginalencodedstates, nofitting. SharedH100timings notisolatedthroughput. Source/protocol undernested_physics_v1; results pending. + +Initialpreparation looked for the Binghamtable at the wrongdirectory; thefirststudy exited beforephysicalevaluation becauseits sourcehashmanifest was absent. Bothfailedsource/log retained. Correctedpreparation copies theexistingzero-prototype table and verifiesits SHA againsttheimmutableencoder manifest. Numericalloss/kernel/targets unchanged. + +## E089c — isolated matched continuation plumbing + +Prepare isolated control/native-residual training sources froma suppliedparent, retaining originalall-dataset windows, guidance, objectiveandoptimizer; ifa futureparenthas a latenthead, retainitsoriginalphysical supervision source. Do notchange thecurrentphase9/phase10 trainer/source. Reseedmainnoise afterarchitectureconstruction; deterministicno-update dryrun only. Runone fullpipeline backwarditeration ineach nonlatentarm, seed20270104,two microbatchesofone,twosteps,noise.01,uniformgroups. Bothdrawsame active/thermal datasets andhorizons andhaveexactloss0.05352762434631586. Everyparameter unchanged, nooptimizerstep/checkpoint. Nativebranchheadcontributesnewgradients as expected; gradnormcontrol.324292868376/native.335362970829. Peak1.119/1.679GiB; timingsare sharedGPU. All10115indexrecords freshlyverifiedTRAIN. Sources/checks/audit in native_residual_v1/matched_preflight. ParentSHA1f24abcc..., prototypeSHA28060c09... . Noactualtrainingprotocol/queue/VALID comparison; latentpath stillneedsitsownactual-parent numericalgate beforefuturetraining. + +## E091 result — long physical gradients fit with nested recomputation + +Allstagespass. StrongTRAIN17/-5trajectory2 fourstep outputs/loss/gradients arebit-exact;peak7.0738716→2.7079763GiB. Moderate9/-3trajectory2 full30 nestedgradient relativeL2 versusE084weightedearly/late reference3.6428751e-6;lossdifference5.5879354e-10. Nested30peak2.6898851GiB,loss.00904015265405,gradnorm.248568729. Strong17/-5full30finite,prefixexact,loss.637867689133,gradnorm.042030938,peak3.3442583GiB. SharedGPU timesstrong4old53.66s/nested67.59s,moderate30nested278.12s,strong30nested512.83s; notisolatedspeedcomparison. Parametersunchanged; nooptimizer/training/servingchange. Outputtensorhashes andchecks in nested_physics_v1/results.json. Phase10physicalsource andfour-step protocol remainunchanged. + +## E092 — full30 TRAIN hidden-state oracle predeclaration + +Testwhether fullhorizon supervision can improvea boundedF6correction instrongTRAIN17/-5trajectory2. Optimize512zero2x16x16statecoefficients for exactlythreeAdamupdates,LR.01,seed20270105,usingall30futureTRAINframes andthe unchangedcenterphysicalVRMSE objective/floor/clamp. Fixedupdate3, no LRsearch/checkpointselection. Firstupdate reusesthe verified E091zero-state adjoint atidentical kernel/loss/context/state/target/precision, withsourceandtensorhashaudit; subsequentgradients arefreshnestedrecomputation. Evaluatezeroandfixedupdate3usingcanonicalthree-node1e-4quadratureseed20261026,full30; missingphysicalframes score10. This is offline statefittingonly: futureTRAINlabels enterloss, notthecontextencoder. Coefficients MUST NEVERbe deployed or usedonVALID/held-out/inferencecases. Sharedmodelparameters andpublishedpackage unchanged; nolearnabilityclaim fromoneoracle. E090longtargets usedonlyforTRAINloss. Sources/protocol in latent_full_oracle_v1. Results pending. + +## E047 — shared main-model capacity growth, update 1000, shrink +- Hypothesis / changed factor: Grow the selected shared main network from width48 to96 using function-preserving channel duplication and zero-sum outgoing-pair perturbations, seed20261110. Main parameters3066627 to9526707. Sampling seed20261119,2000updates, six microbatches of one,effectivebatch6,full30-step rollout with corpus26/Arena10 caps. Learning rate0.00003 cosine,noise0.01,all19 TRAIN datasets and unchanged group sampling. Exact parent and frozen guide hashes are in phase9/lineage.json. Profile shrinkage0.75,mean/profile corrections=True; retain selected coarse branch and fixed physical operators. Rerun all9 neural valid cases and reuse72 complete physical outputs from the documented cache. No pretrained assets or inference-time fitting. +- Seed: 20261119. +- Checkpoint SHA256: `8a2c2218ffa70f7d1e24000d95311d6930caf4f901bee88a01fab2c2f0911f65`. +- Runtime code SHA256: `23d0dedfbed9f1689b7ef7afe1f96fa0c848612f4f748e1c3c6c3148263dc39e`. +- Validation: fixed 81-case subset; reward **0.811817**, failed cases 0. + +| Dataset | VRMSE | +|---|---:| +| ape2d/burgers | 0.006413 | +| ape2d/decay_turb | 0.000381 | +| ape2d/diff | 0.000003 | +| ape2d/fisher | 0.000003 | +| ape2d/gs_alpha | 0.003095 | +| ape2d/gs_beta | 0.004740 | +| ape2d/gs_delta | 0.019250 | +| ape2d/gs_epsilon | 0.001366 | +| ape2d/gs_gamma | 0.049313 | +| ape2d/gs_iota | 0.001785 | +| ape2d/gs_kappa | 0.004855 | +| ape2d/gs_theta | 0.004678 | +| ape2d/kdv | 0.016728 | +| ape2d/kolm_flow | 0.008926 | +| ape2d/ks | 0.000033 | +| ape2d/sh | 0.000004 | +| pdearena/navier_stokes_2d | 0.000083 | +| well/active_matter | 0.040528 | +| well/turbulent_radiative_layer_2D | 0.447136 | + +Selection basis: same physical operators; fixed81-case neural comparison + +Outcome: did not improve validation reward; retained current package. + +## E070 result — numerical precision has a small, mixed TRAIN effect + +All six predeclared native256/M32 TRAIN pairs complete all30 steps. Mean VRMSE float32 0.213677023714 versus float64 0.213597271491, a 0.0373% relative reduction; five improve, zeta5/alpha-4 worsens from0.140238355616 to0.140473912097. Strong17/-5 changes0.630049141475 to0.629725532087. Summed shared-GPU elapsed times604.37/892.89 seconds are descriptive and not an isolated throughput comparison. Identical float32 quadrature draws, seed20261026, original E067 physical parent/config, no optimizer or new learned checkpoint. New kernelSHA5db556077cf42a9bcb931ce2cb5aaf51d99c8039b30206712ce3df5e32deeb07; all paired predictions and hashes are retained in precision_active_v1. Outcome: small TRAIN-only gain, insufficient to prioritize a costly full active VALID replay and encoder-cache migration. Do not integrate or silently replace the physical kernel; selected serving and immutable state cache remain unchanged. No validation VRMSE or publication candidate from this diagnostic. + +## E047 — shared main-model capacity growth, update 1000, no_shrink +- Hypothesis / changed factor: Grow the selected shared main network from width48 to96 using function-preserving channel duplication and zero-sum outgoing-pair perturbations, seed20261110. Main parameters3066627 to9526707. Sampling seed20261119,2000updates, six microbatches of one,effectivebatch6,full30-step rollout with corpus26/Arena10 caps. Learning rate0.00003 cosine,noise0.01,all19 TRAIN datasets and unchanged group sampling. Exact parent and frozen guide hashes are in phase9/lineage.json. Profile shrinkage0.0,mean/profile corrections=True; retain selected coarse branch and fixed physical operators. Rerun all9 neural valid cases and reuse72 complete physical outputs from the documented cache. No pretrained assets or inference-time fitting. +- Seed: 20261119. +- Checkpoint SHA256: `8a2c2218ffa70f7d1e24000d95311d6930caf4f901bee88a01fab2c2f0911f65`. +- Runtime code SHA256: `4e136bbd12f7c8a1eafb85b580f07be76ce2f7e3d9d76cb8223d745f780e4d7f`. +- Validation: fixed 81-case subset; reward **0.812315**, failed cases 0. + +| Dataset | VRMSE | +|---|---:| +| ape2d/burgers | 0.006413 | +| ape2d/decay_turb | 0.000381 | +| ape2d/diff | 0.000003 | +| ape2d/fisher | 0.000003 | +| ape2d/gs_alpha | 0.003095 | +| ape2d/gs_beta | 0.004740 | +| ape2d/gs_delta | 0.019250 | +| ape2d/gs_epsilon | 0.001366 | +| ape2d/gs_gamma | 0.049313 | +| ape2d/gs_iota | 0.001785 | +| ape2d/gs_kappa | 0.004855 | +| ape2d/gs_theta | 0.004678 | +| ape2d/kdv | 0.016728 | +| ape2d/kolm_flow | 0.008926 | +| ape2d/ks | 0.000033 | +| ape2d/sh | 0.000004 | +| pdearena/navier_stokes_2d | 0.000083 | +| well/active_matter | 0.040528 | +| well/turbulent_radiative_layer_2D | 0.441021 | + +Selection basis: same physical operators; fixed81-case neural comparison + +Outcome: did not improve validation reward; retained current package. + +## E093 — shared-head projection of early and full physical adjoints + +Before choosing longer shared-head supervision, compare how four-step and30-step coefficient derivatives project into the actual zero neural head. Reuse audited E084/E091 state adjoints on moderate9/-3 and strong17/-5 TRAIN trajectory2; selected E066 width48 mainSHA1f24abcc814d6b2fff9a530b350ee4d8cffc8c80cb9374bfee6509c02ae0bd61 and E072 guide, seed20270106. Same native context to128 pooled neural input, original BF16/guidance, no noise or shift. No solver rerun, optimizer, new labels or VALID. Check input/state/adjoint hashes, zero coefficients, finite gradients, exactly zero backbone state-loss gradient at the zero head and unchanged parameters. Report gradient norms/cosines before and after the98-parameter head projection. This is a local TRAIN derivative diagnostic, not a learnability or finite-update claim. Phase10 protocol unchanged. Sources/protocol under head_gradient_v1; results pending. + +## E047 — shared main-model capacity growth, update 1000, mean_profile_off +- Hypothesis / changed factor: Grow the selected shared main network from width48 to96 using function-preserving channel duplication and zero-sum outgoing-pair perturbations, seed20261110. Main parameters3066627 to9526707. Sampling seed20261119,2000updates, six microbatches of one,effectivebatch6,full30-step rollout with corpus26/Arena10 caps. Learning rate0.00003 cosine,noise0.01,all19 TRAIN datasets and unchanged group sampling. Exact parent and frozen guide hashes are in phase9/lineage.json. Profile shrinkage0.75,mean/profile corrections=False; retain selected coarse branch and fixed physical operators. Rerun all9 neural valid cases and reuse72 complete physical outputs from the documented cache. No pretrained assets or inference-time fitting. +- Seed: 20261119. +- Checkpoint SHA256: `8a2c2218ffa70f7d1e24000d95311d6930caf4f901bee88a01fab2c2f0911f65`. +- Runtime code SHA256: `0065691a81aba7508e657e8c8e368ff199594f9ae5937d21fd8f23795c529c5d`. +- Validation: fixed 81-case subset; reward **0.811825**, failed cases 0. + +| Dataset | VRMSE | +|---|---:| +| ape2d/burgers | 0.006413 | +| ape2d/decay_turb | 0.000381 | +| ape2d/diff | 0.000003 | +| ape2d/fisher | 0.000003 | +| ape2d/gs_alpha | 0.003095 | +| ape2d/gs_beta | 0.004740 | +| ape2d/gs_delta | 0.019250 | +| ape2d/gs_epsilon | 0.001366 | +| ape2d/gs_gamma | 0.049313 | +| ape2d/gs_iota | 0.001785 | +| ape2d/gs_kappa | 0.004855 | +| ape2d/gs_theta | 0.004678 | +| ape2d/kdv | 0.016728 | +| ape2d/kolm_flow | 0.008926 | +| ape2d/ks | 0.000033 | +| ape2d/sh | 0.000004 | +| pdearena/navier_stokes_2d | 0.000083 | +| well/active_matter | 0.040528 | +| well/turbulent_radiative_layer_2D | 0.447035 | + +Selection basis: same physical operators; fixed81-case neural comparison + +Outcome: did not improve validation reward; retained current package. + +## E093 result — long-horizon differences survive the shared-head projection + + +No optimizer or parameters changed. Both TRAIN examples have finite98-parameter head gradients and exactly zero backbone state-loss gradient at the zero head. + +moderate: coefficient early/full cosine0.004768404, full/early normratio381.1359; projected shared-head cosine0.085773849, normratio271.6535, early/full norms0.011110632/3.018242141. + +strong: coefficient early/full cosine0.354147787, full/early normratio23.1967; projected shared-head cosine0.303358347, normratio26.6474, early/full norms0.019149241/0.510276769. + +Seed20270106; selected E066 mainSHA1f24abcc..., fixed E072 guide. Projected-gradientSHA697c494a297f3dc1cc4b6a04df53f6ed34ee6b43b0411e4c84f590bc51f0da3b. The moderate example remains weakly aligned, so the short objective does not become a good local proxy merely by restricting updates to the head. Both examples remain positively aligned; do not call them conflicting/opposed. These are two unshifted TRAIN states at zero correction, not a finite-update or learnability result. No VALID metrics, deployable checkpoint, or phase10 protocol change. Full audit in head_gradient_v1/results.json. + +## E094 — isolated longer physical-supervision plumbing + +Prepare a separate trainer supporting30-step TRAIN labels and E091 nested activation recomputation, with configurable replacement of some scheduled short physical losses by longer losses. Original phase10 source, objective and queue remain unchanged; no new optimizer is scheduled. Seed20270107 for one no-update matched preflight: selected E066 backbone plus zero head, original versus nested source, two main microbatches with two forecast steps and one two-step physical loss, same records/noise/shifts and optimizer disabled. Recheck all175 base and30-label hashes/TRAIN memberships, exact old-label prefixes, unchanged context/state objects, and every8/every64 cadence arithmetic. Audit all10115 main TRAIN index records. Require exact main/physical losses and gradient-norm relative difference below1e-6. Actual-parent full30 neural backward/resource gate remains required before any future optimizer. This prepares capability only; no chosen long-horizon continuation protocol or VALID comparison. Sources/protocol in long_state_training_v1. + +## E094 preflight — loss parity passes, gradient-norm gate fails + +Both one-iteration dryruns have exact mainloss0.037365127354860306 and physicalloss0.0031871255487203598, same records/horizons/shifts and unchanged parameters. Gradientnorm control0.50008505582809448, nested0.5000419020652771; relative difference8.62928462e-05 exceeds the predeclared1e-6 gate. Preserve failed source/logs and do not adopt the trainer. Diagnose with two repeat original runs under original training backend flags, followed by original/nested runs under deterministic convolution flags; save full gradients before clipping. No optimizer/phase10 changes. Do not relax the gate or attribute this to backend nondeterminism without the comparisons. Sources/protocol under long_state_training_v1. + +## E095 — CUDA graph training feasibility without compiler fusion + +Test fixed-shape full30 neural forward/backward capture as a possible way to reduce launch overhead. This is separate from previously rejected torch.compile studies and does not modify any running trainer. Selected width48 E066 main, E072 guides; two authorized native thermal TRAIN initialwindows (tcool.03/.32 trajectory2), seed20270108, inputnoise.01 generated once outside capture, deterministic convolution flags. PyTorch make_graphed_callables requires AMP caching disabled: first measure default cache-enabled versus disabled eager losses/forecasts/gradients explicitly, then compare graph with cache-disabled eager. Require exact final forecasts and gradient relativeL2<1e-6 for both contexts and a fixed live head-bias perturbation; restore weights afterward. No optimizer, trained checkpoint, VALID or serving change. Capture warmup3; any shared timing is not an isolated throughput claim. Launch after E092 and E094 diagnosis complete. Sources/protocol in cuda_graph_training_v1. + +## E094 diagnosis — controlled recomputation gradients are exact + +Under cudnn.benchmark=False and cudnn.deterministic=True, original/nested sources have bit-exact mainloss0.037385668605566025, physicalloss0.00318712554872036, every parameter gradient, and gradientnorm0.5000669360160828. Peak memory2.258983 to1.850681GiB. Two repeated original runs under the original training flags differ in their full gradients by relativeL2 5.88977e-6 (primarily stem weights), even though their reported gradientnorms agree. The deterministic convolution choice also shifts the main forward loss relative to the original flags, so these are explicit numerical factors. Initial nondeterministic preflight failure remains recorded; controlled comparison isolates nested recomputation successfully. All175 long targets pass hash/membership/old-prefix/context-state checks and all10115 main records are TRAIN. No optimizer, VALID, serving or queued phase10 change. Preparation complete, but actual-parent full30 backward/resource gate remains required. Actual source hashes for all isolated arms are in source_provenance.json; stale inherited manifests in copied control/instrumented folders are preserved separately and replaced with truthful local source manifests. + +## E092 result — fixed three-update full-horizon TRAIN state fit + +All three declared Adam updates complete (LR.01, seed20270105, exactly512 direct coefficients; no checkpoint/LR search). Center-state objective 0.637867689133 to 0.628882646561. The fixed update3 improves the canonical three-node full30 TRAIN rollout: 0.630049141475 to 0.621326571054; completed physical steps zero/update3=30/30 out of30. Missing frames retain their predeclared score10. Coefficient SHA256 `2cf669cefd9adffd25dbebd582ef2a7fe40bb7ccf0e62c7274090cc1316ac05e`. No shared neural weights changed. The immutable E091 initial zero adjoint was reused exactly for update1; later gradients were fresh nested recomputation. Recorded peak3.183126GiB, cumulative three-update shared time775.33s; not isolated throughput. Full per-step/channel scores, source/context/target hashes and PNG/SVG are in latent_full_oracle_v1. + +This uses all30 future labels of one authorized TRAIN trajectory (zeta17/alpha-5, trajectory2), so the fitted coefficients are an oracle diagnostic and MUST NEVER enter inference or VALID/held-out cases. Unlike E083's short-horizon fit on a different moderate trajectory, the objective matches the full horizon here; that cross-case contrast is not a controlled causal comparison. It motivates testing longer shared supervision but does not establish four-frame learnability or generalization. No validation metrics, deployable checkpoint, selected-package change or automatic new training queue. + +## E095a result and E095b numerical follow-up + +Original capture fails before replay because the model constructs a CPU boolean coordinate mask and copies it to CUDA inside forward, which CUDA graph capture forbids for unpinned CPU memory. No optimizer or training/serving change. Eager full30 AMP cache enabled/disabled forecasts and losses are exact on both TRAIN cases, but full-gradient relativeL2 differences are0.007809954731 and0.004939142117. Thus disabling AMP caching is a real numerical training factor, not silently interchangeable execution. Source/results retained in cuda_graph_training_v1. + +Follow up in isolated cuda_graph_training_v2: replace only the boundary-coordinate boolean tensor copy with the same GPU scalar multiplications. Require both full30 eager forecasts and every parameter gradient to be bit-exact to the original source before attempting capture again. Same inputs/noise/seed20270108, deterministic convolution flags, cache-disabled graph/eager comparison and live parameter change gate. No compiler, optimizer, validation or running-source modifications. Any eventual acceleration adoption requires a separately evaluated training experiment because of the measured AMP-cache difference. + +## E095b result and E095c constant-buffer follow-up + +The scalar-multiplication rewrite preserves the first full30 TRAIN final forecast exactly but fails the stricter all-gradient bit-equality check before capture. The assertion-only check did not save a difference magnitude, so none is inferred. No optimizer or capture; source/log/failure record remain in cuda_graph_training_v2. + +Try the narrower transformation in cuda_graph_training_v3: preallocate the four exact boolean boundary masks as a nonpersistent model buffer outside forward, then retain the original tensor multiplication and views. No new trainable parameters or random draws. Same two TRAIN inputs, seed20270108 and unchanged bit-exact eager source gate; save comparison magnitudes before assertions. Graph parity still compares cache-disabled eager only, with the separate AMP-cache training factor disclosed. Running trainers/serving unchanged. + +## E095c result and E095d repeatability diagnosis + +Preallocating the coordinate mask also preserves the full30 final TRAIN forecast exactly, but the first all-gradient comparison differs by relativeL2 0.008851873054 and maxabsolute0.00634765625, so capture is not attempted. Record the failure without weakening the exact source gate. + +Before attributing this to coordinate arithmetic, test repeatability in cuda_graph_training_v4 with CUBLAS_WORKSPACE_CONFIG=:4096:8 and torch.use_deterministic_algorithms(True), in addition to deterministic convolution flags. Compare three repetitions of one original model instance and a second original instance on the same TRAIN input, then retain the original constant-buffer/capture gates. Same inputs/noise/seed20270108, no optimizer or running-source changes. If an operation lacks a deterministic implementation, record that failure. The original AMP-cache difference remains a separate training factor. + +## E095d result — full deterministic training capture is exact + +With deterministic algorithms and fixed cuBLAS workspace, all same-instance repetitions, a new original instance, and the constant-buffer source comparison are bit-exact in forecasts and every gradient. CUDA capture succeeds (8.04s shared setup); both full30 TRAIN inputs and a live head-bias perturbation match cache-disabled eager forecasts/gradients exactly. Weights restored, no optimizer. Capture sourceSHA35ca8df418fb99daf68b83de6695a205289e56c1419e5cc3738142cc6398505d. AMP-cache enabled/disabled gradient differences remain0.00418496/0.00472504 despite exact forecasts. Strict eager calls about1.89–2.07s and graph1.48–1.54s shared, but these backend settings are slower than the earlier ordinary eager measurements; no speed/adoption claim. The reported~0.21GiB replay allocated metric excludes retained private-pool memory and MUST NOT be represented as the training memory footprint. + +## E095e — ordinary-backend capture characterization + +Use the source rewrite already proved in E095d, with the original benchmark-enabled, nondeterministic backend settings. Record default-backend gradient variability rather than requiring it to be bit-exact before capture. Keep original exact graph-gate result as a separate reported metric; no relaxed claim of equivalence. Same two TRAIN inputs/noise/seed20270108, cache-disabled graph and eager paths, live parameter check, then six alternating eager/graph timing pairs. Record capture peak and reserved memory to include graph-pool retention. Shared timings are not isolated throughput. No optimizer, running trainer, serving, VALID or queue change. Sources/protocol under cuda_graph_training_v5. + +## E095e input-alias diagnosis and E095f correction + +Ordinary-backend capture runs, but the paired timing check revealed an input alias: PyTorch uses supplied sample tensors as mutable static graph storage, so replaying case1 overwrote the stored argument0 tensors. The initial graph comparisons each used the correct case, but the later timing pairs inadvertently used case1 for both positions. Do not report them as a two-context throughput test. This is an isolated diagnostic; input files and running trainers are untouched. + +In cuda_graph_training_v6, clone dedicated capture samples before capture, retain CPU snapshots of every original argument tensor, require all originals unchanged, and assert each paired timing loss equals that case's original eager reference. Same data/noise/seed20270108, numerical and live-parameter checks, ordinary backend, cache-disabled paths, six alternating pairs. No optimizer or adoption. Preserve prior source/results and the alias diagnosis. + +## E095f result — input-safe capture and measured default-backend variability + +Dedicated capture samples preserve every original input tensor exactly. Each of six alternating timing pairs uses its intended TRAIN context and reproduces the corresponding eager loss exactly. Mean shared times eager0.867567504s versus graph0.646542220s (25.48% less); this is a paired exploratory shared-GPU result, not isolated throughput. Capture setup3.8835s, peakallocated15.48786GiB, peakreserved31.88086GiB, retainedreserved16.03320GiB after capture. The private pool is explicitly accounted for. + +Forecasts remain bit-exact. Graph/eager gradient relativeL2 differences case0=2.1885e-10,case1=0.00713708,live-bias-change=0.00125385, so the strict original1e-6 gradient gate FAILS under ordinary nondeterministic backend settings. This is not numerical equivalence to the current trainer. E095d's fully deterministic exact proof remains valid, and AMP-cache plus backend changes remain explicit training factors. No optimizer, trained checkpoint, VALID, serving or running-source changes. Source/result hashes and all negative iterations are retained. Future training needs a separate accumulation/optimizer/unused-head preflight and validation. + +## E096 — mixed eager/graph joint-optimizer preflight + +Before any future graph training, implement a training-only scalar rollout wrapper with dedicated capture inputs and allow_unused_input=True for the zero state head. Compare exactly two disposable optimizer updates in an eager arm and an arm using graph thermal30 plus eager fallback for other schemas. Selected E066 width48 main plus zero98-parameter latent head, seed20270109, fully deterministic backend and AMP caching disabled in both arms. Each update accumulates four TRAIN groups (thermal30; corpus/Arena/active2), then strong17/-5 trajectory2 physical2 loss at native256 with nested recomputation. Step2 reverses main microbatch order and uses the second thermal context. AdamW LR3e-5/head3e-4,beta.9/.95,weightdecay1e-4,clip1. Require exact corresponding losses and gradient/updated-parameter relativeL2<1e-6, finite gradients, no main-loss gradient for the unused state head, and original inputs unchanged. Record all context membership/source and disposable checkpoint hashes. This is a numerical pipeline check, not a model-selection run; NEVER publish these two-update diagnostic checkpoints. No running source, queued phase10 or serving change. Sources/protocol in training_graph_v1. + +## E096 initial failure — unsupported deterministic pooling backward + +The first eager arm stops at its first physical backward, before any optimizer update: PyTorch reports that adaptive_avg_pool2d_backward_cuda has no deterministic implementation. Preserve the original helper, generated model and log. This does not affect the running phase9 or queued phase10 source. + +For divisible-by16 state-head grids, test an explicit disjoint-block derivative while calling the exact original adaptive pooling in forward. Each input belongs to one output bin, so the backward needs only replication and division, with no atomic accumulation. Other shapes retain the original implementation. Predeclare exact forward and gradient comparisons on random nonzero1x2x128x128 and1x2x128x384 inputs/adjoints, seed20270110. Only if both pass, rerun the original two-update E096 protocol with seed20270109 and every original gate. No numerical threshold relaxation, changed trainable parameters, serving update or new training queue. + +## E096 pooling derivative check + +The square128x128 case is exact initially, but rectangular gradients differ by one rounding step (maximum9.3132257e-10 in the declared check). A sequential scalar-division attempt also fails exactness; preserve both sources and results. Elementwise probes identify the original arithmetic: device-tensor division by block width, then block height. Python scalar division can instead multiply by a rounded reciprocal. Match the original order and device division explicitly. With seed20270110, original forwards and gradients now match bit-exactly on128x128,128x384 and additional160x240/112x176 grids, including non-power-of-two block sizes. No tolerance change. Restart the original E096 two-update joint-optimizer preflight; no running trainer, serving source or queue changed. + +## E097 — shared coarse attention preparation + +Thermal TRAIN error-band analysis places most normalized error at large spatial scales, while earlier local convolutional auxiliary forecasts did not improve deployment. Test content-dependent attention between all64 sites of the existing4x16 coarse field. The proposed shared branch has four blocks of width128 with four attention heads, metadata/time conditioning, boundary-aware relative position bias, absolute coordinates only on nonperiodic axes, and a zero output head. It predicts the same interaction component and retains the existing mean/profile-preserving decoder. New random seed20270111; all19 datasets use the existing audited10115 TRAIN statistic/grid records, no pretrained assets. + +Preparation only: check zero-head persistence, padded/unpadded feature equality with a nonzero head, periodic translation equivariance, finite gradients, and CPU batch resource requirements before declaring the training schedule. No baseline retraining, new optimizer, VALID evaluation or selected-package change yet. Architecture and pinned metadata source are in coarse_attention_v1. + +## E096 result — joint optimizer and accumulation checks pass + +Both declared disposable updates pass with bit-exact corresponding losses, every gradient, and every updated parameter under the strict cache-disabled backend. Each update combines all four TRAIN groups, captured thermal30 and eager fallbacks, then the physical state loss; the second changes microbatch order and uses a nonzero learned head. All original inputs remain unchanged. Physical loss0.00743609434 then0.00741805416; head maximum weight0.000299999 then0.000577064. Eager/graph saved diagnostic SHA256 `5ba4b7d7acb45c788d1f6e5dcd0f17c2d9072d8c45012eb90f071015bfe24895` / `4a5339b585aae679d59dec43a44634087b37ff0dba0b792efc1ad369a872bf4b`; serialized files differ by name but their parameter tensors are exactly equal. These are test artifacts, NEVER deployment candidates. Final sources, initial failures and exact pooling-derivative checks are retained in training_graph_v1. No running trainer, phase10 protocol or serving change. + +## E097 CPU training launch + +The shared coarse attention model passes zero-head persistence and exact padded/unpadded feature checks on four TRAIN groups. With nonzero output weights and relative-position biases, periodic translation errors are below2.1e-15 in double precision; all tested gradients are finite. Parameter count846459. On four CPU threads, batch512 forward/backward takes0.79–0.97s in the preflight, with peak process RSS2.20GiB. All10115 TRAIN records and both cache index hashes are audited. + +Launch12000 updates from random initialization seed20270111, batch512, four CPU threads, AdamW LR0.0003 with100-update warmup and cosine decay to10%, weight decay0.0001, gradient clipping1. Preserve the original coarse interaction objective, TRAIN groups0.1/0.1/0.1/0.7, initial-context probability0.5 and horizon sampling. Check the first100-update pipeline artifact; select only among updates2000/6000/12000 using the fixed existing output blend0.25. This architecture trial also changes parameter count, seed and optimization settings; no isolated causal claim about attention alone. Replay the complete runtime on all9 thermal VALID cases; physical reuse must pass dependency/input/coverage audits, with active replay if required by a selected latent-state parent. Full585 comparison and exact repeated predictions precede any publication. No pretrained or synthetic training assets, held-out data, baseline retraining or changes to the running main trainer. Training source/protocol in coarse_attention_v1; validation pending. + +## E097 pipeline result + +The fixed100-update artifact (training SHA256 `7a941365c389515dc1436523a2abd083a1d961fec6cc4cb51c7a14cf3bc08098`) passes complete-package shape, float32, finiteness and exact repeated-output checks on four authorized TRAIN contexts and two unfamiliar shapes/channels. Corpus diffusion, Arena and active predictions are exactly equal to the parent on these checks. The thermal and unfamiliar predictions change as expected. Source/input hashes and exact TRAIN membership are retained in coarse_attention_v1/prototype. The isolated physical-reuse audit accepts this coarse-only change and rejects a deliberately altered mean-branch weight. This artifact is a plumbing check only, never a selection candidate; no VALID targets were read. The controller is running and waits for declared updates2000/6000/12000. Frozen source hashes cover package assembly, proof and validation; no running main or state-head protocol changes. + +## E098 — temporal hidden-moment observation TRAIN pilot + +Hypothesis: the existing fixed Stokes observer’s F4 innovations across the three supplied context transitions reveal part of the missing F6 state. Use the analytic frozen-flow coupling d(rhs_F4)/dF6=2i(A-iB), multiplied by metadata dt, in a fixed pointwise ridge inverse. Smooth the inferred correction with Gaussian lengthL/32; compare fixed gains0,0.1,1, with increment magnitude bounded by0.01c and final |F6|<=c. Apply after each of the existing three context observations. This is an approximate local interval model: F4 innovation can also reflect closure, integration and observation error, so improvement is not assumed. No model parameters are fitted or changed during inference. + +Before future-label diagnostics, require exact zero-gain native encoder states/streamfunctions at all three transitions and agreement of the analytic coupling with the full physical RHS in double precision. Preflight random seed20270112; original quadrature seed20261026. Then compare canonical three-node, full30 TRAIN rollouts on the third authorized trajectories of moderate9/-3 and strong17/-5. The two nonzero gains are declared before results. Shared neural weights, all other physical settings, and ongoing training protocols remain unchanged. No VALID/held-out data or training optimizer. Source/protocol hashes and pinned parent are in temporal_moment_v1; this diagnostic is not automatically deployed. + +## E098 preflight result + +Zero-gain physical state and streamfunction are bit-exact to the pinned parent at all three context observations. The analytic F6-to-F4 frozen-flow coupling agrees with the original RHS expressions to relativeL24.03e-14 in double precision. The first double check encountered a TorchScript complex128 conversion overflow; its source/log are retained. The corrected check executes the exact original flow/RHS AST with only JIT decorators removed, leaving the candidate/runtime float32 scripted kernel and scientific threshold unchanged. No future frames were read during this preflight. Proceed with the declared two-regime, three-gain, full30 TRAIN diagnostic; no optimizer or deployment. + +## E099 — grouped physical CUDA graph feasibility + +Hypothesis: grouping four existing internal active-fluid steps into one graph launch reduces host overhead while preserving the same ordered operations. Isolated kernel copy retains the single-step graph for remainder steps; no compiler, floating-point precision change or learned parameters. Queue after phase9’s final checkpoint. On audited cached TRAIN9/-3 and17/-5 trajectory2 states, run three alternating-order pairs of30 stored intervals with graph groups1/4. Require bit-exact complex physical states and streamfunctions at every interval. Report shared-H100 timing plus capture and reserved-memory costs; no isolated throughput claim. No new seed, optimizer, future-label reads or validation. This diagnostic does not change the immutable encoder, any running/queued trainer, or the package. Source hashes and pinned parent in kinetic_graph_batch_v1. + +## E047 — shared main-model capacity growth, update 2000, shrink +- Hypothesis / changed factor: Grow the selected shared main network from width48 to96 using function-preserving channel duplication and zero-sum outgoing-pair perturbations, seed20261110. Main parameters3066627 to9526707. Sampling seed20261119,2000updates, six microbatches of one,effectivebatch6,full30-step rollout with corpus26/Arena10 caps. Learning rate0.00003 cosine,noise0.01,all19 TRAIN datasets and unchanged group sampling. Exact parent and frozen guide hashes are in phase9/lineage.json. Profile shrinkage0.75,mean/profile corrections=True; retain selected coarse branch and fixed physical operators. Rerun all9 neural valid cases and reuse72 complete physical outputs from the documented cache. No pretrained assets or inference-time fitting. +- Seed: 20261119. +- Checkpoint SHA256: `0c9c49ae6a7da1fbae8d3f21d94b26311467ba1fd991b59877c872973f1a6c23`. +- Runtime code SHA256: `23d0dedfbed9f1689b7ef7afe1f96fa0c848612f4f748e1c3c6c3148263dc39e`. +- Validation: fixed 81-case subset; reward **0.811890**, failed cases 0. + +| Dataset | VRMSE | +|---|---:| +| ape2d/burgers | 0.006413 | +| ape2d/decay_turb | 0.000381 | +| ape2d/diff | 0.000003 | +| ape2d/fisher | 0.000003 | +| ape2d/gs_alpha | 0.003095 | +| ape2d/gs_beta | 0.004740 | +| ape2d/gs_delta | 0.019250 | +| ape2d/gs_epsilon | 0.001366 | +| ape2d/gs_gamma | 0.049313 | +| ape2d/gs_iota | 0.001785 | +| ape2d/gs_kappa | 0.004855 | +| ape2d/gs_theta | 0.004678 | +| ape2d/kdv | 0.016728 | +| ape2d/kolm_flow | 0.008926 | +| ape2d/ks | 0.000033 | +| ape2d/sh | 0.000004 | +| pdearena/navier_stokes_2d | 0.000083 | +| well/active_matter | 0.040528 | +| well/turbulent_radiative_layer_2D | 0.446230 | + +Selection basis: same physical operators; fixed81-case neural comparison + +Outcome: did not improve validation reward; retained current package. + +## Full validation of attention_002000 + +All 585 validation trajectories, starting at frame 0; no held-out trajectories. Reward **0.781820**, failed cases 0. Neural initialization seed 20261021; sampling seed 20261106; checkpoint SHA256 `1f24abcc814d6b2fff9a530b350ee4d8cffc8c80cb9374bfee6509c02ae0bd61`. Same model as the corresponding quick-validation experiment; changed factor: expanded validation sample only. + +| Dataset | VRMSE | +|---|---:| +| ape2d/burgers | 0.007568 | +| ape2d/decay_turb | 0.000289 | +| ape2d/diff | 0.000003 | +| ape2d/fisher | 0.000005 | +| ape2d/gs_alpha | 0.003239 | +| ape2d/gs_beta | 0.004901 | +| ape2d/gs_delta | 0.022624 | +| ape2d/gs_epsilon | 0.000889 | +| ape2d/gs_gamma | 0.062780 | +| ape2d/gs_iota | 0.006619 | +| ape2d/gs_kappa | 0.008764 | +| ape2d/gs_theta | 0.019424 | +| ape2d/kdv | 0.024675 | +| ape2d/kolm_flow | 0.011662 | +| ape2d/ks | 0.000024 | +| ape2d/sh | 0.000005 | +| pdearena/navier_stokes_2d | 0.000081 | +| well/active_matter | 0.087494 | +| well/turbulent_radiative_layer_2D | 0.437601 | + +Exact reuse protocol for a shared-neural change: all physical assets/configuration match /run-state/workspace/research/density_blend_v1/attempt0. The source per-case log audit verifies552 complete corpus/smoke physical rollouts and24 complete active rollouts; all576 outputs have unchanged dependencies. For a shared latent-state head, those dependencies include neural weights, guide assets, postprocessing and serving configuration; neural-weight changes cannot reuse these active predictions. The nine neural radiative-layer outputs were replayed with exact context/metadata equality to full inputs and freshly scored with the official scorer. Reaggregate their official per-case scores and the576 audited unchanged per-case scores using the exact aggregation code extracted from the official scorer. Report provenance includes scorer/source-report hashes and the reuse audit. All585 prediction files are retained. This avoids rereading unchanged targets without approximating the metric. + +Outcome: recorded full validation for audit and comparison; no automatic comparison against the distinct quick-validation sample. + +## E097 — shared coarse attention, update 2000 +- Hypothesis / changed factor: Shared4x16 coarse attention, update2000, auxiliary initialization/sampling seed20270111. Four blocks, width128, four heads, metadata/time conditioning and boundary-aware relative bias;846459 parameters. Train from scratch on all19 datasets and10115 audited TRAIN records,12000 updates,batch512,four CPU threads, AdamW LR0.0003,100-update warmup and cosine decay, original interaction objective and fixed blend0.25. Training checkpointSHA256 9eff14b2e22ebc44d0548fee2f0ad828434a58b7d1a73dd6be4561fa0c945cb3. Every case evaluates the same shared branch. Candidate inherits the documented current parent; all nine thermal VALID rollouts are fresh, physical reuse follows dependency/input/coverage audits, and latent parents trigger fresh24-active replay with audited552 nonactive reuse. Full585 reports and exact neural/active/Arena/unfamiliar repeat checks precede a win. This architecture comparison also changes parameter count, seed and optimization settings. No pretrained assets, held-out data or inference-time fitting. Active training jobs retain their declared templates. +- Seed: 20261106. +- Checkpoint SHA256: `1f24abcc814d6b2fff9a530b350ee4d8cffc8c80cb9374bfee6509c02ae0bd61`. +- Runtime code SHA256: `2aa5cd215e197a3ea997568a47b7f745d61a928522938f7f7607bbe220a6f289`. +- Validation: fixed 81-case subset; reward **0.812597**, failed cases 0. + +| Dataset | VRMSE | +|---|---:| +| ape2d/burgers | 0.006413 | +| ape2d/decay_turb | 0.000381 | +| ape2d/diff | 0.000003 | +| ape2d/fisher | 0.000003 | +| ape2d/gs_alpha | 0.003095 | +| ape2d/gs_beta | 0.004740 | +| ape2d/gs_delta | 0.019250 | +| ape2d/gs_epsilon | 0.001366 | +| ape2d/gs_gamma | 0.049313 | +| ape2d/gs_iota | 0.001785 | +| ape2d/gs_kappa | 0.004855 | +| ape2d/gs_theta | 0.004678 | +| ape2d/kdv | 0.016728 | +| ape2d/kolm_flow | 0.008926 | +| ape2d/ks | 0.000033 | +| ape2d/sh | 0.000004 | +| pdearena/navier_stokes_2d | 0.000083 | +| well/active_matter | 0.040528 | +| well/turbulent_radiative_layer_2D | 0.437601 | + +Selection basis: same physical operators; fixed81-case neural comparison + +Outcome: did not improve validation reward; retained current package. + +## E047 — shared main-model capacity growth, update 2000, no_shrink +- Hypothesis / changed factor: Grow the selected shared main network from width48 to96 using function-preserving channel duplication and zero-sum outgoing-pair perturbations, seed20261110. Main parameters3066627 to9526707. Sampling seed20261119,2000updates, six microbatches of one,effectivebatch6,full30-step rollout with corpus26/Arena10 caps. Learning rate0.00003 cosine,noise0.01,all19 TRAIN datasets and unchanged group sampling. Exact parent and frozen guide hashes are in phase9/lineage.json. Profile shrinkage0.0,mean/profile corrections=True; retain selected coarse branch and fixed physical operators. Rerun all9 neural valid cases and reuse72 complete physical outputs from the documented cache. No pretrained assets or inference-time fitting. +- Seed: 20261119. +- Checkpoint SHA256: `0c9c49ae6a7da1fbae8d3f21d94b26311467ba1fd991b59877c872973f1a6c23`. +- Runtime code SHA256: `4e136bbd12f7c8a1eafb85b580f07be76ce2f7e3d9d76cb8223d745f780e4d7f`. +- Validation: fixed 81-case subset; reward **0.812364**, failed cases 0. + +| Dataset | VRMSE | +|---|---:| +| ape2d/burgers | 0.006413 | +| ape2d/decay_turb | 0.000381 | +| ape2d/diff | 0.000003 | +| ape2d/fisher | 0.000003 | +| ape2d/gs_alpha | 0.003095 | +| ape2d/gs_beta | 0.004740 | +| ape2d/gs_delta | 0.019250 | +| ape2d/gs_epsilon | 0.001366 | +| ape2d/gs_gamma | 0.049313 | +| ape2d/gs_iota | 0.001785 | +| ape2d/gs_kappa | 0.004855 | +| ape2d/gs_theta | 0.004678 | +| ape2d/kdv | 0.016728 | +| ape2d/kolm_flow | 0.008926 | +| ape2d/ks | 0.000033 | +| ape2d/sh | 0.000004 | +| pdearena/navier_stokes_2d | 0.000083 | +| well/active_matter | 0.040528 | +| well/turbulent_radiative_layer_2D | 0.440425 | + +Selection basis: same physical operators; fixed81-case neural comparison + +Outcome: did not improve validation reward; retained current package. + +## E100 — cross-group neural gradient diagnosis + +E071 found Fisher/active neural gradient norms substantially larger than thermal examples, but did not measure cross-group alignment. Hypothesis: nominal group probabilities need not reflect actual update influence, and nonthermal gradients may interfere with thermal prediction. Pin selected main SHA256 `1f24abcc814d6b2fff9a530b350ee4d8cffc8c80cb9374bfee6509c02ae0bd61` and guide `3b423a0afbb46bafc914d62daaf8611a1b30ae424b8c517d846cbb93d4d6578c`. Inspect37 deterministic TRAIN examples: fourth trajectories for all16 corpus families, Arena, active17/-5, and all9 thermal cooling regimes at start0; repeat the10 Well cases at start34. Full26/10/30 horizons, current log1p normalized squared loss, batch1, no input noise, seed20270113, controlled convolution flags. No physical branch or optimizer. + +Save every flattened gradient, per-example norms/cosines, sample group means, and projections of the existing0.05/0.075/0.075/0.8 mixture onto the thermal mean gradient. Compare only diagnostically with unit-normalized per-example gradients. Require finite gradients and unchanged parameters. This finite sample does not estimate the whole training distribution or establish a balancing method’s validation benefit. Queue behind the E098 TRAIN pilot; no running/queued trainer changes, new model candidate, VALID or held-out use. Source/protocol and TRAIN memberships in group_gradient_v1. + +## E047 — shared main-model capacity growth, update 2000, mean_profile_off +- Hypothesis / changed factor: Grow the selected shared main network from width48 to96 using function-preserving channel duplication and zero-sum outgoing-pair perturbations, seed20261110. Main parameters3066627 to9526707. Sampling seed20261119,2000updates, six microbatches of one,effectivebatch6,full30-step rollout with corpus26/Arena10 caps. Learning rate0.00003 cosine,noise0.01,all19 TRAIN datasets and unchanged group sampling. Exact parent and frozen guide hashes are in phase9/lineage.json. Profile shrinkage0.75,mean/profile corrections=False; retain selected coarse branch and fixed physical operators. Rerun all9 neural valid cases and reuse72 complete physical outputs from the documented cache. No pretrained assets or inference-time fitting. +- Seed: 20261119. +- Checkpoint SHA256: `0c9c49ae6a7da1fbae8d3f21d94b26311467ba1fd991b59877c872973f1a6c23`. +- Runtime code SHA256: `0065691a81aba7508e657e8c8e368ff199594f9ae5937d21fd8f23795c529c5d`. +- Validation: fixed 81-case subset; reward **0.811554**, failed cases 0. + +| Dataset | VRMSE | +|---|---:| +| ape2d/burgers | 0.006413 | +| ape2d/decay_turb | 0.000381 | +| ape2d/diff | 0.000003 | +| ape2d/fisher | 0.000003 | +| ape2d/gs_alpha | 0.003095 | +| ape2d/gs_beta | 0.004740 | +| ape2d/gs_delta | 0.019250 | +| ape2d/gs_epsilon | 0.001366 | +| ape2d/gs_gamma | 0.049313 | +| ape2d/gs_iota | 0.001785 | +| ape2d/gs_kappa | 0.004855 | +| ape2d/gs_theta | 0.004678 | +| ape2d/kdv | 0.016728 | +| ape2d/kolm_flow | 0.008926 | +| ape2d/ks | 0.000033 | +| ape2d/sh | 0.000004 | +| pdearena/navier_stokes_2d | 0.000083 | +| well/active_matter | 0.040528 | +| well/turbulent_radiative_layer_2D | 0.450399 | + +Selection basis: same physical operators; fixed81-case neural comparison + +Outcome: did not improve validation reward; retained current package. + +## E088 — wider checkpoint average, shrink +- Hypothesis / changed factor: Predeclared equal parameter average of phase9 updates1000/2000, variantshrink. Declared before either checkpoint existed. Same width96 shared model and all19 TRAIN datasets, samplingseed20261119, inherited scratch-trained initialization; float64 averaging restored to original dtypes. No new parameters, training, random seed or inference ensemble. Three decoder settings match the existing phase9 comparison: profile shrinkage0.75,mean/profile output corrections=True. Use the locked phase9 inference template and audited complete physical cache; freshly replay/officially score nine thermalVALID cases, reuse72 unchanged physical case scores, derive full585 and require exact neural/unfamiliar repeats on a win. No pretrained or synthetic assets and no inference-time fitting. +- Seed: 20261119. +- Checkpoint SHA256: `8e2ba25ce733a307eeb5d8c3dc397ac32ebaac64218ce63c1d84e8c0739a2d14`. +- Runtime code SHA256: `23d0dedfbed9f1689b7ef7afe1f96fa0c848612f4f748e1c3c6c3148263dc39e`. +- Validation: fixed 81-case subset; reward **0.811971**, failed cases 0. + +| Dataset | VRMSE | +|---|---:| +| ape2d/burgers | 0.006413 | +| ape2d/decay_turb | 0.000381 | +| ape2d/diff | 0.000003 | +| ape2d/fisher | 0.000003 | +| ape2d/gs_alpha | 0.003095 | +| ape2d/gs_beta | 0.004740 | +| ape2d/gs_delta | 0.019250 | +| ape2d/gs_epsilon | 0.001366 | +| ape2d/gs_gamma | 0.049313 | +| ape2d/gs_iota | 0.001785 | +| ape2d/gs_kappa | 0.004855 | +| ape2d/gs_theta | 0.004678 | +| ape2d/kdv | 0.016728 | +| ape2d/kolm_flow | 0.008926 | +| ape2d/ks | 0.000033 | +| ape2d/sh | 0.000004 | +| pdearena/navier_stokes_2d | 0.000083 | +| well/active_matter | 0.040528 | +| well/turbulent_radiative_layer_2D | 0.445238 | + +Selection basis: same physical operators; fixed81-case neural comparison + +Outcome: did not improve validation reward; retained current package. + +## E047 final individual checkpoint analysis + +Width96/update2000 with the unchanged no-shrink decoder gives thermalVALID0.440425400628 versus selected width48/E0660.437585061919. 4/9 cases improve. Mean per-channel changes (candidate minus selected): {'density': -0.00183693175437736, 'pressure': 0.012341972627327748, 'velocity_0': 0.00020684648425119598, 'velocity_1': 0.0006494674825490401}. The final6-step mean worsens by0.012671631; the middle7-step window improves0.003426289. All configuration values except width, serving model source, guide/coarse weights, physical kernel and density adapter are byte-identical. This describes the full wider-training protocol, not an isolated causal effect of capacity. All three2k decoder variants failed selection; the already-declared1k/2k parameter average remains pending. Paired report hashes, all per-case/time/channel values and standalonePNG/SVG are in phase9/analysis002000. No new fitting or selection rule. + +## E088 — wider checkpoint average, no_shrink +- Hypothesis / changed factor: Predeclared equal parameter average of phase9 updates1000/2000, variantno_shrink. Declared before either checkpoint existed. Same width96 shared model and all19 TRAIN datasets, samplingseed20261119, inherited scratch-trained initialization; float64 averaging restored to original dtypes. No new parameters, training, random seed or inference ensemble. Three decoder settings match the existing phase9 comparison: profile shrinkage0.0,mean/profile output corrections=True. Use the locked phase9 inference template and audited complete physical cache; freshly replay/officially score nine thermalVALID cases, reuse72 unchanged physical case scores, derive full585 and require exact neural/unfamiliar repeats on a win. No pretrained or synthetic assets and no inference-time fitting. +- Seed: 20261119. +- Checkpoint SHA256: `8e2ba25ce733a307eeb5d8c3dc397ac32ebaac64218ce63c1d84e8c0739a2d14`. +- Runtime code SHA256: `4e136bbd12f7c8a1eafb85b580f07be76ce2f7e3d9d76cb8223d745f780e4d7f`. +- Validation: fixed 81-case subset; reward **0.812537**, failed cases 0. + +| Dataset | VRMSE | +|---|---:| +| ape2d/burgers | 0.006413 | +| ape2d/decay_turb | 0.000381 | +| ape2d/diff | 0.000003 | +| ape2d/fisher | 0.000003 | +| ape2d/gs_alpha | 0.003095 | +| ape2d/gs_beta | 0.004740 | +| ape2d/gs_delta | 0.019250 | +| ape2d/gs_epsilon | 0.001366 | +| ape2d/gs_gamma | 0.049313 | +| ape2d/gs_iota | 0.001785 | +| ape2d/gs_kappa | 0.004855 | +| ape2d/gs_theta | 0.004678 | +| ape2d/kdv | 0.016728 | +| ape2d/kolm_flow | 0.008926 | +| ape2d/ks | 0.000033 | +| ape2d/sh | 0.000004 | +| pdearena/navier_stokes_2d | 0.000083 | +| well/active_matter | 0.040528 | +| well/turbulent_radiative_layer_2D | 0.438327 | + +Selection basis: same physical operators; fixed81-case neural comparison + +Outcome: did not improve validation reward; retained current package. + +## E088 — wider checkpoint average, mean_profile_off +- Hypothesis / changed factor: Predeclared equal parameter average of phase9 updates1000/2000, variantmean_profile_off. Declared before either checkpoint existed. Same width96 shared model and all19 TRAIN datasets, samplingseed20261119, inherited scratch-trained initialization; float64 averaging restored to original dtypes. No new parameters, training, random seed or inference ensemble. Three decoder settings match the existing phase9 comparison: profile shrinkage0.75,mean/profile output corrections=False. Use the locked phase9 inference template and audited complete physical cache; freshly replay/officially score nine thermalVALID cases, reuse72 unchanged physical case scores, derive full585 and require exact neural/unfamiliar repeats on a win. No pretrained or synthetic assets and no inference-time fitting. +- Seed: 20261119. +- Checkpoint SHA256: `8e2ba25ce733a307eeb5d8c3dc397ac32ebaac64218ce63c1d84e8c0739a2d14`. +- Runtime code SHA256: `0065691a81aba7508e657e8c8e368ff199594f9ae5937d21fd8f23795c529c5d`. +- Validation: fixed 81-case subset; reward **0.811844**, failed cases 0. + +| Dataset | VRMSE | +|---|---:| +| ape2d/burgers | 0.006413 | +| ape2d/decay_turb | 0.000381 | +| ape2d/diff | 0.000003 | +| ape2d/fisher | 0.000003 | +| ape2d/gs_alpha | 0.003095 | +| ape2d/gs_beta | 0.004740 | +| ape2d/gs_delta | 0.019250 | +| ape2d/gs_epsilon | 0.001366 | +| ape2d/gs_gamma | 0.049313 | +| ape2d/gs_iota | 0.001785 | +| ape2d/gs_kappa | 0.004855 | +| ape2d/gs_theta | 0.004678 | +| ape2d/kdv | 0.016728 | +| ape2d/kolm_flow | 0.008926 | +| ape2d/ks | 0.000033 | +| ape2d/sh | 0.000004 | +| pdearena/navier_stokes_2d | 0.000083 | +| well/active_matter | 0.040528 | +| well/turbulent_radiative_layer_2D | 0.446795 | + +Selection basis: same physical operators; fixed81-case neural comparison + +Outcome: did not improve validation reward; retained current package. + +## E101 — fixed shared-model output-average TRAIN pilot + +The wider2k model has mixed per-case/channel errors despite a worse mean validation score. Hypothesis: its forecast errors may complement the selected width48 model. Before any validation ensemble comparison or portable implementation, replay both complete pinned packages on the nine initial thermal TRAIN windows used in E085. Compare each member and the fixed equal0.5 output average, computed in float64 then cast float32 and scored with the official scorer. No alpha fitting or sweep, new weights or random seed. All configuration except width and all serving/auxiliary/physical sources match exactly. Parent SHA256 `1f24abcc814d6b2fff9a530b350ee4d8cffc8c80cb9374bfee6509c02ae0bd61`; wider SHA256 `0c9c49ae6a7da1fbae8d3f21d94b26311467ba1fd991b59877c872973f1a6c23`. + +Queue behind E100; source/protocol and frozen package copies in output_ensemble_v1. A positive pilot would still require a portable implementation in which every member applies to every case, strict checks for any shared identical physical work, complete VALID comparison and repeat checks. No per-dataset checkpoint switching, incomplete-prefix shortcut, current package change or alteration to queued state-head training. Validation metrics not evaluated for this hypothesis yet. + +## E098 TRAIN pilot result + +Canonical three-node, full30 forecasts; same pinned physical parent, fixed observer gains and quadrature seed20261026. No shared parameters or training optimizer. + +| TRAIN regime | Gain0 | Gain0.1 | Gain1 | +|---|---:|---:|---:| +| 9.0/-3.0, trajectory2 | 0.008928462283 | 0.008840420770 | 0.011601164090 | +| 17.0/-5.0, trajectory2 | 0.630049141475 | 0.629604972778 | 0.627294747476 | + +Mean TRAIN VRMSE: gain0.0=0.319488801879, gain0.1=0.319222696774, gain1.0=0.319447955783. Complete per-step/channel errors, context-innovation magnitudes, prediction hashes and standalone PNG/SVG are retained in temporal_moment_v1. These two trajectories do not establish generalization; no VALID comparison, complete translated-runtime claim or publication candidate. Result SHA256 `59e9f3e2a600cd4fe9eefe67d22a2993e8b2e1fbd48ff211677ea56bfa2bed48`. + +## E098b — frozen temporal-observer TRAIN confirmation + +Gain0.1 improves both declared pilot cases and reduces their mean0.319488801879 to0.319222696774 (0.0833percent relative). Gain1 worsens the moderate case and only narrowly improves the two-case mean. Freeze gain0.1 with all other observer settings unchanged, and predeclare six fresh fourth TRAIN trajectories at zeta/alpha1/-1,3/-2,5/-4,9/-3,15/-4,17/-5. Compare gain0 and0.1 using full30 canonical three-node rollouts; no refitting or new settings. Source files/table are byte-identical to the checked E098 implementation. Original and corrected preflight hashes are now explicitly distinguished in E098 assessment.json; its earlier version is preserved. + +Queue behind E099. No new seed, shared checkpoint, optimizer, VALID evaluation or automatic deployment; this small pilot effect needs confirmation across regimes. Pinned original parent and source proof in temporal_moment_confirm_v1. The current/queued state-head encoder and training protocol remain unchanged. + +## E100 result — unit normalization is not supported by this sample + +All37 full-horizon TRAIN gradients are finite and all shared parameters remain bit-identical. Initial-window mean gradient norms for corpus/Arena/active/thermal are10.9542/2.7600/14.4719/3.1536. Their cosines with the thermal mean are-0.08161/+0.08644/+0.03962/1. The weighted signed projections of nonthermal groups onto the thermal direction are-0.04470/+0.01789/+0.04301, versus+2.52291 from thermal. Large nonthermal magnitudes therefore do not imply large opposition in this sample. + +The nominal weighted-mixture cosine to the thermal mean is0.903095; unit-normalizing each example gives0.899671. On the start34 Well-only sample, those values are0.921436 and0.728220. The latter renormalizes the two available group probabilities and is not an all-group estimate. Outcome: no balancing change queued from this diagnostic. Small finite batch1/no-noise TRAIN samples do not establish population behavior or validation impact. Raw gradient SHA256 `0870d2be686c114ae9c79b94a8ee9b8761100688bed09397b980ecd5b2ca20fa`; all rows,37x37 cosine matrix and source/main/guide hashes retained in group_gradient_v1. Seed20270113, no optimizer, VALID, new checkpoint or inference change. + +## E060 joint state-head training launch + +Initialize a two-channel16x16 F6 state head at zero on the selected shared width48 backbone, adding98 parameters. Apply it to every case and use only its first four-frame pass for physical hidden-state inference. Jointly optimize the all19-dataset autoregressive loss and a four-step differentiable physical VRMSE loss every8 updates; one parameter set, no specialist checkpoint. Draw physical TRAIN examples uniformly by parameter file, then trajectory, with even periodic shifts; all175 cache records have verified TRAIN membership and SHA256. Fixed correction0.01*c*(abs(F2)/c)^3*tanh(head), unchanged three-node quadrature. Train2000 updates, effectivebatch6, full30-step main rollout, LR0.00003 cosine, headLR10x, physicalweight1, samplingseed20261127/physicalseed20261128, zero-initseed20261126. No synthetic or pretrained assets. Selected parent, frozen guide, source and cache hashes are in phase10/lineage.json. Repeated six-case zero-head serving parity passed on the actual launch parent. Validate updates1000/2000 using all585 VALID cases, replaying all24 active and9 thermal cases. Validation pending. + +## E098b membership correction before data reads + +The original fourth-trajectory selector failed its TRAIN membership assertion before reading any frames. Inspection of TRAIN pools shows the zeta1/-1 file has only three authorized trajectories. A subsequent attempt to form a fourth entry from the union of TRAIN intervals also failed before any frame read; the provisional disjoint-interval hypothesis was incorrect. Both sources/logs are retained. Pin and audit all six choices before relaunch: {'1/-1': 1, '3/-2': 3, '5/-4': 3, '9/-3': 3, '15/-4': 3, '17/-5': 3}. Use the fourth authorized trajectory where available and the second for zeta1/-1. All six are new to this observer hypothesis; no excluded targets, predictions or scores were accessed. The only changed factor is the declared confirmation cohort selector, made before outcomes; observer gain0.1 and numerical settings stay fixed. Selection audit/protocol are in temporal_moment_confirm_v1. + +## E099 result — exact grouping, no demonstrated throughput gain + +Every physical state and streamfunction is bit-exact over all180 paired stored intervals across two TRAIN states and three alternating-order30-step repetitions. Mean shared integration times (single/group4) are33.1102/37.5483s at96 internal substeps, 62.4672/59.8771s at176 internal substeps. Five of six pairs favor single-step launches; the final strong-case pair reverses direction as concurrent work changes. Outcome: numerical feasibility passes, but no consistent speed gain is established, so no adoption. + +These timings include state clones and omit output decoding; they are not isolated or complete-rollout throughput. Reserved allocator memory after constructing both operators is0.682GiB, versus0.340GiB after the first; this is process-local and not total device use. The cached TRAIN files also deserialize their old target tensors, which the check never accesses or uses—clarifying the preparation’s shorthand “no future-label reads.” Source/protocol/raw timings and result SHA256 `35236a6c01d14f37ac50f9997c4a153457150857d6242843b9b54bb6ce2f4d90` are retained in kinetic_graph_batch_v1. No optimizer, VALID, encoder, training or serving change. + +## E101 TRAIN result and portable ensemble preparation + +Fresh nine-case TRAIN thermal VRMSE: selectedwidth48=0.381542788307, width96/2k=0.376278064086, fixed0.5 outputaverage=0.375775414370. Both individual members and the average are scored with the official scorer, zero failures. The copied diagnostic truth files initially omitted the scorer-required fields attribute; scoring stopped before the first case. Copy that attribute from each matching supplied context into local truth copies, verify every target value unchanged and the stored average exactly equal to the declared formula, then rescore the already-generated predictions. Failed logs/source and scorer_metadata_correction.json are retained; no prediction or scientific setting changed. + +Proceed to portable implementation with exactly these two fixed checkpoints and equal coefficients. Both complete shared models execute on every case, every distinct translation and every channel chunk. Each keeps its independent neural recurrence, statistical corrections, final support projection and continuity blend before output averaging. Share only identical fixed solver step results and kinetic continuations scoped to one case/translation/chunk. On a non-finite physical step each member retains its own neural fallback; partial prefixes are not treated as complete. Guides/coarse weights are shared by both members. No latent-head models are accepted by this assembler. + +Require exact equality to the average of independently executed original packages on four TRAIN groups and two unfamiliar channel/grid cases, exact repeats, and an explicit partial-solver/channel-chunk check. Source-controlled transform and cache helper hashes in output_ensemble_v1/package_source_hashes.json. Fresh thermal VALID comparison and complete physical-reuse audit remain required before any selection; no VALID ensemble scores have been computed yet. Current state-head training remains on its declared single-model template. Future training builders must explicitly handle an ensemble parent before use. + +## E101 validation gate preparation + +The generic physical-dependency checker now treats physical_cache.py and model_ensemble configuration as physical dependencies; an ensemble cannot silently use the ordinary neural-only reuse path. A focused check confirms both changes are detected and identical packages still pass. For any latent-head runtime, extra ensemble weights are also conservatively included. The record helper hashes both added runtime assets and describes two complete shared members in README; unchanged single-model packages retain their prior behavior. + +The E101 controller waits for exact six-context package parity and then uses an isolated pinned-source proof: first-member weights/config match the reference, the entire serving source equals the reviewed deterministic transform, the second checkpoint/helper hashes match, no latent head exists, and only576 fully covered physical outputs may be reused. A deliberately changed ensemble coefficient must be rejected. Replay all9 thermal VALID cases through the actual package and also verify exact equality to the fixed independent-member average. Reaggregate official scores for585cases, preserve all predictions/provenance, and require exact neural/active/Arena/unfamiliar repeats before a full-score win. No ordinary audit is weakened and no partial physical prefix is reused. Controller/source hashes retained in output_ensemble_v1. + +## E101 portable parity result + +All four TRAIN-group contexts and both unfamiliar7x11/129x177 contexts (including13channels) are float32, finite, correctly shaped, exactly equal to the float64-accumulated average of independently executed original packages, and exactly repeatable. The partial-solver check with1/13channels also preserves each member’s distinct fallback exactly while halving physical step calls. Total learned parameters13,925,729, including one shared1,332,395-parameter guide/coarse set; both main backbones run on every case. Final predictSHA256 `a90fb248d84e8e1b27fb0d629cc6447509a8c233201f541fdf2a8b8d8a629ba7` and physical-cacheSHA256 `f5caf34dcfc52c37bd155420114054924200196833e6431e21ef62599cc37b24`. Six-context audit and source hashes retained in output_ensemble_v1/prototype. Fresh thermal/full585 validation is now running; no model publication from this correctness check alone. + +## Full validation of validation + +All 585 validation trajectories, starting at frame 0; no held-out trajectories. Reward **0.781879**, failed cases 0. Neural initialization seed 20261021; sampling seed 20261106; checkpoint SHA256 `1f24abcc814d6b2fff9a530b350ee4d8cffc8c80cb9374bfee6509c02ae0bd61`. Same model as the corresponding quick-validation experiment; changed factor: expanded validation sample only. + +| Dataset | VRMSE | +|---|---:| +| ape2d/burgers | 0.007568 | +| ape2d/decay_turb | 0.000289 | +| ape2d/diff | 0.000003 | +| ape2d/fisher | 0.000005 | +| ape2d/gs_alpha | 0.003239 | +| ape2d/gs_beta | 0.004901 | +| ape2d/gs_delta | 0.022624 | +| ape2d/gs_epsilon | 0.000889 | +| ape2d/gs_gamma | 0.062780 | +| ape2d/gs_iota | 0.006619 | +| ape2d/gs_kappa | 0.008764 | +| ape2d/gs_theta | 0.019424 | +| ape2d/kdv | 0.024675 | +| ape2d/kolm_flow | 0.011662 | +| ape2d/ks | 0.000024 | +| ape2d/sh | 0.000005 | +| pdearena/navier_stokes_2d | 0.000081 | +| well/active_matter | 0.087494 | +| well/turbulent_radiative_layer_2D | 0.436891 | + +Nine fresh complete thermal VALID rollouts, exactly equal to the declared half-and-half independent member average. Reuse576 complete physical outputs only under the pinned-source ensemble proof in full_reuse_audit.json: identical fixed physical inputs, no latent head, exact recording/replay, all translations complete, identical final transforms and equal average. No incomplete physical prefix reused. Official nine-case scores plus unchanged576 official case scores are reaggregated by exact scorer code; all585 prediction files retained. Full585 comparison and exact complete-package repeats precede publication. + +Outcome: recorded full validation for audit and comparison; no automatic comparison against the distinct quick-validation sample. + +## E098b confirmation result + +Fixed gain0.1 versus unchanged gain0, six audited TRAIN trajectories, original canonical three-node physical settings and seed20261026. + +| TRAIN regime | Trajectory | Gain0 | Gain0.1 | +|---|---:|---:|---:| +| 1.0/-1.0 | 1 | 0.000686656862 | 0.000739129935 | +| 3.0/-2.0 | 3 | 0.005778065039 | 0.007371151402 | +| 5.0/-4.0 | 3 | 0.237885609992 | 0.239844936852 | +| 9.0/-3.0 | 3 | 0.007429069662 | 0.007360796030 | +| 15.0/-4.0 | 3 | 0.215661111139 | 0.215589949334 | +| 17.0/-5.0 | 3 | 0.572184448172 | 0.572194334429 | + +Mean0.173270826811 to0.173850049664, 2/6 improve. Frozen gain does not improve this confirmation mean. Do not deploy or validate this unmodified setting. All12 physical rollouts complete30steps. Low-coupling cases produce much larger inferred F6 increments and frequent amplitude limiting, suggesting insufficient regularization of weak observations. No model parameters, held-out data, VALID or inference package changed. Raw result SHA256 `ac54ba99f39d4bb4bae5f7a01e42402fa24fe70efaecf34ae806759e4d06590f`; full per-step/channel errors, innovation magnitudes and prediction hashes retained in temporal_moment_confirm_v1. + +## E102 — absolute observability ridge for the fixed context observer + +E098b’s frozen gain0.1 worsens the six-regime mean0.173270826811 to0.173850049664, with2/6 improvements. In weak-coupling regimes, the relative ridge yields large inferred F6 changes and frequent clipping. Change one factor: raise the fixed ridge floor from1e-8 to0.01, keeping gain0.1, relative ridge0.01, smoothing and all bounds unchanged. For dimensionless interval couplingH and lambda>=0.01, |H|/(|H|²+lambda)<=5, so gain0.1 limits pointwise inverse noise amplification to0.5 before smoothing/state bounds. No dataset-name or parameter-regime gating. + +Test exactly the same six audited TRAIN confirmation records with this one declared floor; no sweep, new seed, learned weights, optimizer, VALID or automatic deployment. Preserve original baselines. For a case whose three original ridge values already exceed0.01, the only changed clamp is inactive throughout encoding; verify unchanged kernel, exact source substitution, context/prediction hashes and recomputed score before reusing that identical prediction. Otherwise replay the complete30-step canonical three-node operator. Queue after the E101 ensemble validation/repeat/publication gate, prioritizing completion of that package. Source/protocol in regularized_moment_v1. + +## E101 — fixed two-member shared-model output average +- Hypothesis / changed factor: Equal output average of selected width48/E066 and width96/phase9 update2000 no-shrink, fixed0.5 before TRAIN pilot and VALID comparison. Both complete shared models execute every case, translation and channel chunk, with independent neural recurrence and per-member final corrections. Identical guides and physical computations are shared only within a case. Complete TRAIN/unfamiliar averages, repeatability and partial-prefix/chunk fallback are exact. Main seeds20261021 and extension20261110/training20261119; both checkpoint hashes in manifest. No new optimization, pretrained assets or inference-time fitting. All nine thermal VALID outputs fresh and exact to independently generated member averages;576 complete physical outputs reused only after pinned source/configuration/coverage/input proof. Full585 comparison plus exact repeat checks precede a win. The active state-head trainer retains its original single-model template. +- Seed: 20261106. +- Checkpoint SHA256: `1f24abcc814d6b2fff9a530b350ee4d8cffc8c80cb9374bfee6509c02ae0bd61`. +- Runtime code SHA256: `087b1a80f5bdd055700c84312cca54cc5773ad4f9a4d5fb39a9d3b5f98a1c633`. +- Validation: fixed 81-case subset; reward **0.812656**, failed cases 0. + +| Dataset | VRMSE | +|---|---:| +| ape2d/burgers | 0.006413 | +| ape2d/decay_turb | 0.000381 | +| ape2d/diff | 0.000003 | +| ape2d/fisher | 0.000003 | +| ape2d/gs_alpha | 0.003095 | +| ape2d/gs_beta | 0.004740 | +| ape2d/gs_delta | 0.019250 | +| ape2d/gs_epsilon | 0.001366 | +| ape2d/gs_gamma | 0.049313 | +| ape2d/gs_iota | 0.001785 | +| ape2d/gs_kappa | 0.004855 | +| ape2d/gs_theta | 0.004678 | +| ape2d/kdv | 0.016728 | +| ape2d/kolm_flow | 0.008926 | +| ape2d/ks | 0.000033 | +| ape2d/sh | 0.000004 | +| pdearena/navier_stokes_2d | 0.000083 | +| well/active_matter | 0.040528 | +| well/turbulent_radiative_layer_2D | 0.436891 | + +Selection basis: full585 physical-operator comparison: candidate0.78187855, current0.78182111 + +Outcome: improvement; published atomically. + +## E103 — shared ensemble weight calibration + +Hypothesis: one TRAIN-calibrated global output coefficient may improve the fixed E101 half-and-half ensemble. Pin both original scratch-trained members and all guides/corrections, width48 main SHA256 `1f24abcc814d6b2fff9a530b350ee4d8cffc8c80cb9374bfee6509c02ae0bd61`, width96 main SHA256 `0c9c49ae6a7da1fbae8d3f21d94b26311467ba1fd991b59877c872973f1a6c23`. Fit one scalar across all30 steps and four channels on the original nine initial thermal TRAIN trajectories using exact VRMSE derivative bisection in [0,1]; first verify neither endpoint reaches the cap. Leave one cooling regime out to check scalar generalization against fixed0.5. Only if fitted and crossfit means improve, freeze the nine-case coefficient and confirm on all other63 thermal TRAIN trajectories, with no refitting. These cases were available to backbone training but are independent of the scalar fit. Every model still executes every case; no dataset-specific coefficient or inference-time fitting. No new seed, network weights, synthetic or pretrained assets. No VALID or submission change yet. Protocol/source hashes in ensemble_blend_v1; outcome pending. + +## Full validation of attention_006000 + +All 585 validation trajectories, starting at frame 0; no held-out trajectories. Reward **0.781861**, failed cases 0. Neural initialization seed 20261021; sampling seed 20261106; checkpoint SHA256 `1f24abcc814d6b2fff9a530b350ee4d8cffc8c80cb9374bfee6509c02ae0bd61`. Same model as the corresponding quick-validation experiment; changed factor: expanded validation sample only. + +| Dataset | VRMSE | +|---|---:| +| ape2d/burgers | 0.007568 | +| ape2d/decay_turb | 0.000289 | +| ape2d/diff | 0.000003 | +| ape2d/fisher | 0.000005 | +| ape2d/gs_alpha | 0.003239 | +| ape2d/gs_beta | 0.004901 | +| ape2d/gs_delta | 0.022624 | +| ape2d/gs_epsilon | 0.000889 | +| ape2d/gs_gamma | 0.062780 | +| ape2d/gs_iota | 0.006619 | +| ape2d/gs_kappa | 0.008764 | +| ape2d/gs_theta | 0.019424 | +| ape2d/kdv | 0.024675 | +| ape2d/kolm_flow | 0.011662 | +| ape2d/ks | 0.000024 | +| ape2d/sh | 0.000005 | +| pdearena/navier_stokes_2d | 0.000081 | +| well/active_matter | 0.087494 | +| well/turbulent_radiative_layer_2D | 0.437105 | + +Exact reuse protocol for a shared-neural change: all physical assets/configuration match /run-state/workspace/research/output_ensemble_v1/validation. The source per-case log audit verifies552 complete corpus/smoke physical rollouts and24 complete active rollouts; all576 outputs have unchanged dependencies. For a shared latent-state head, those dependencies include neural weights, guide assets, postprocessing and serving configuration; neural-weight changes cannot reuse these active predictions. The nine neural radiative-layer outputs were replayed with exact context/metadata equality to full inputs and freshly scored with the official scorer. Reaggregate their official per-case scores and the576 audited unchanged per-case scores using the exact aggregation code extracted from the official scorer. Report provenance includes scorer/source-report hashes and the reuse audit. All585 prediction files are retained. This avoids rereading unchanged targets without approximating the metric. + +Outcome: recorded full validation for audit and comparison; no automatic comparison against the distinct quick-validation sample. + +## E097 — shared coarse attention, update 6000 +- Hypothesis / changed factor: Shared4x16 coarse attention, update6000, auxiliary initialization/sampling seed20270111. Four blocks, width128, four heads, metadata/time conditioning and boundary-aware relative bias;846459 parameters. Train from scratch on all19 datasets and10115 audited TRAIN records,12000 updates,batch512,four CPU threads, AdamW LR0.0003,100-update warmup and cosine decay, original interaction objective and fixed blend0.25. Training checkpointSHA256 5ed620a41088acd76b0b8ed619ad7656d975a6a44ab6f643070fb9278c69a07c. Every case evaluates the same shared branch. Candidate inherits the documented current parent; all nine thermal VALID rollouts are fresh, physical reuse follows dependency/input/coverage audits, and latent parents trigger fresh24-active replay with audited552 nonactive reuse. Full585 reports and exact neural/active/Arena/unfamiliar repeat checks precede a win. This architecture comparison also changes parameter count, seed and optimization settings. No pretrained assets, held-out data or inference-time fitting. Active training jobs retain their declared templates. +- Seed: 20261106. +- Checkpoint SHA256: `1f24abcc814d6b2fff9a530b350ee4d8cffc8c80cb9374bfee6509c02ae0bd61`. +- Runtime code SHA256: `3fc609f00c3eb08eb740026a939322330b55b21a404c8b49c7eb4a0c202a9762`. +- Validation: fixed 81-case subset; reward **0.812638**, failed cases 0. + +| Dataset | VRMSE | +|---|---:| +| ape2d/burgers | 0.006413 | +| ape2d/decay_turb | 0.000381 | +| ape2d/diff | 0.000003 | +| ape2d/fisher | 0.000003 | +| ape2d/gs_alpha | 0.003095 | +| ape2d/gs_beta | 0.004740 | +| ape2d/gs_delta | 0.019250 | +| ape2d/gs_epsilon | 0.001366 | +| ape2d/gs_gamma | 0.049313 | +| ape2d/gs_iota | 0.001785 | +| ape2d/gs_kappa | 0.004855 | +| ape2d/gs_theta | 0.004678 | +| ape2d/kdv | 0.016728 | +| ape2d/kolm_flow | 0.008926 | +| ape2d/ks | 0.000033 | +| ape2d/sh | 0.000004 | +| pdearena/navier_stokes_2d | 0.000083 | +| well/active_matter | 0.040528 | +| well/turbulent_radiative_layer_2D | 0.437105 | + +Selection basis: same physical operators; fixed81-case neural comparison + +Outcome: did not improve validation reward; retained current package. + +## E102 fixed-floor TRAIN result + +Only the observer ridge floor changes from 1e-8 to 0.01. Gain 0.1, relative ridge 0.01, smoothing, bounds and original quadrature seed 20261026 remain fixed. No learned checkpoint or optimizer. + +| TRAIN regime | Trajectory | Unchanged | Previous observer | Floor 0.01 | Exact reuse | +|---|---:|---:|---:|---:|---| +| 1.0/-1.0 | 1 | 0.000686656862 | 0.000739129935 | 0.000688046529 | False | +| 3.0/-2.0 | 3 | 0.005778065039 | 0.007371151402 | 0.005766271618 | False | +| 5.0/-4.0 | 3 | 0.237885609992 | 0.239844936852 | 0.241874032464 | False | +| 9.0/-3.0 | 3 | 0.007429069662 | 0.007360796030 | 0.007371246335 | False | +| 15.0/-4.0 | 3 | 0.215661111139 | 0.215589949334 | 0.215589949334 | True | +| 17.0/-5.0 | 3 | 0.572184448172 | 0.572194334429 | 0.572194334429 | True | + +Mean unchanged 0.173270826811, previous observer 0.173850049664, regularized observer 0.173913980118; 3/6 improve versus unchanged. Does not improve this TRAIN cohort mean; reject the fixed setting. These six TRAIN cases motivated the regularization change. They are not independent confirmation or VALID. No optimizer or new checkpoint. All forecasts complete 30 steps. Reuse is allowed only where all three original ridge values exceed the new floor, with source, context, prediction and exact recomputed score checks. Result SHA256 `1b7893058762c9e217596119e1b4b3055af7af10564019c5b116e2c66db34304`. No VALID scores or inference change. + +## E103 calibration result and frozen confirmation + +Nine TRAIN trajectories: fixed0.5 VRMSE 0.375775414587, fitted weight 0.7107390279678207 on the width96 member gives 0.375209351537, leave-one-cooling-regime-out mean 0.375388709017. Both declared gates pass. Scalar coefficient is now frozen; queued confirmation generates fresh complete predictions from both original E101 members on all other63 thermal TRAIN trajectories, then scores equal and fitted averages using the official float32 contract. No future values enter inference and no coefficient is refitted. Fixed inherited checkpoint hashes and fit SHA256 `7fa357fde954825d121410ea6ff340126e7438e75fb53a922bd0f69830089c74` retained. Confirmation is queued after E102 to limit GPU contention; main training remains unchanged. No VALID or deployment change. + +## E104 — complete-output reflection pilot + +Hypothesis: fixed horizontal reflection averaging may reduce orientation-dependent errors in the complete shared forecast. Pin E101 two-member package and its equal output coefficients, all runtime weights and corrections. For collocated [density,pressure,velocity_0,velocity_1] with periodicX/openY, reverse X and horizontal velocity, forecast from the four transformed context frames, then undo the reflection and average with the original full forecast at fixed0.5. Other metadata schemas would use identity; no dataset-name checkpoint routing. Each branch retains the complete original four-translation recurrence and final corrections. No new parameters, random seed or coefficient fitting. First use the original nine audited initial TRAIN trajectories, checking exact reflection involution and all source/input hashes. Positive pilot requires fixed-rule confirmation on the other63 TRAIN trajectories before VALID. Queue after E103 confirmation; no deployed model changes. Runtime/source hashes and protocol in reflection_output_v1. + +## E103 frozen-weight confirmation result + +All63 other initial thermal TRAIN trajectories, freshly audited against split membership and native caches, with complete float32 predictions from both pinned E101 members. Original training initialization/extension seeds retained; no new seed or neural checkpoint. Width96 weight 0.7107390279678207, frozen before confirmation. Official mean VRMSE: width48 0.376180351468, width96 0.374600858275, equal average 0.373317513623, fitted average 0.373352777188; 30/63 improve over equal averaging. Frozen coefficient fails confirmation; reject this weight without a VALID trial. These63 trajectories were available to backbone training, but excluded from the scalar fit. No refitting, VALID scores or deployment change. Full per-case results/predictions and hashes retained; result SHA256 `7d0ffbdd7f08a509474fd0999971c6d7f8f2a9870965cf752b8778604e387472`. + +## E104 reflection pilot result + +Original nine audited initial thermal TRAIN trajectories, pinned E101 two-member package and fixed reflection weight0.5, no fitted coefficients or new seeds/weights. Complete forecast original VRMSE 0.375775414370, reflected-and-transformed-back forecast 0.759461122154, average 0.516054711734; 0/9 improve. Reflection average fails the TRAIN pilot; reject this setting. Exact transform involution, component signs, input membership and runtime hashes verified. No VALID or serving change. Result SHA256 `9d0905283e6a52677a59fe2be5ee148afc11fe1c77e15d6ec795fa76e2a78795`, all predictions and official reports retained in reflection_output_v1. + +## E105 — full-horizon unresolved Gray–Scott context state + +Earlier fine-grid context assimilation measured only three forecast steps and found near-identical errors. Test whether retaining the unresolved state matters over the full26-step continuation. Use eight TRAIN trajectories, third/fourth authorized records for gamma,delta,alpha,theta. Keep the exact current double-precision2x-grid, ETDRK2,dtmax0.25, observation filter and solver coefficients. Variant initializes from supplied context0, advances each of three observed intervals, and replaces only the resolved deconvolved modes with context1/2/3, preserving unresolved modes. Baseline resets from context3 as currently deployed. No fitting, clipping, new parameters or seed. Fixed projections must reconstruct each supplied observation within1e-11 times field scale and leave inputs unchanged. Score all26steps of both canonical physical variants; this pilot omits translation averaging and neural work. Positive mean is necessary before broader TRAIN confirmation and a complete VALID package. No future frames enter initialization, no held-out or VALID reads, no inference change. Protocol, exact TRAIN cohort and original source hashes in gs_context_long_v1. + +## E105 full-horizon result + +Eight TRAIN physical comparisons: reset mean 0.03417093699225, retained-context mean 0.03417048656099; 4/8 improve. All16 rollouts complete26steps, all inputs unchanged, maximum observation reconstruction error 1.67e-15. Mixed and negligible full26-step effect:4/8 improve and the mean improves by0.00132%. Keep the simpler current operator; no further confirmation or VALID candidate. No new weights or seed, VALID scores or inference change. Result SHA256 `505482a10dda203085b57f7ded8f951cf8ab6c1fefd208160103f3023247de2e`; per-family/per-step results and predictions retained in gs_context_long_v1. + +## E106 — matched main reflection training + +E104 shows severe orientation sensitivity: original TRAIN9 VRMSE0.375775 versus reflected0.759461, fixed averaging0.516055. Test training augmentation, not the rejected inference average. Pin the current no-latent E101 parent for two matched first-member continuations, even if an independent experiment later becomes selected. Both begin from identical E066 width48 weights; keep width96 second member, E072 guide, E033 coarse branch, physical operators, four translations, equal output averaging and final corrections fixed. Both members execute every inference case. Train all19 datasets for1000 updates per arm, sequential control then reflection after the phase10 trainer exits normally. Batch2x3/full30(corpus26/Arena10),LR3e-5 originalAdamW/cosine,noise0.01,groups.05/.075/.075/.8. Same sampling/noise seed20270118 and independent reflection RNG20270119; only eligible whole-window horizontal reflection0.5 differs, using the already verified E076 sampler. No inference reflection is added. Inherited scratch initialization seed20261021; no pretrained or synthetic assets. + +Before queue activation require actual-parent full30 neural backward checks for both arms with finite gradients, bit-unchanged parameters and zero optimizer updates, plus exact initial-state/second-member package identity and correct13925729parameter/member-hash accounting. A private ensemble-aware installer avoids the known generic replacement-helper limitation. Freshly audit all10115 TRAIN records before optimization. Evaluate all four declared checkpoints at500/1000 through the complete pinned two-member package, replaying nine thermal VALID cases and auditing576 unchanged complete physical outputs. Full585comparison is against the actual current selected package, including any newer learned-state winner. Winning neural changes require exact three thermal and two novel-schema repeats; physical source/configuration/results remain proven unchanged. Phase10 is untouched. Sources/protocol in reflection_training_v1; preparation and validation pending. + +## E106 full-rollout preflight result + +Actual E101 first-member weights pass full30-step native thermal forward/backward in both control and reflection arms. Control loss0.22673711, gradient norm13.13635; reflection loss0.62737024, gradient norm18.01826. All gradients finite and every model parameter bit-unchanged; zero optimizer updates. Each process peaks at30.0204GiB, and the shared H100 remains within80GB. The private package installer preserves every initial parameter and the second-member bytes, reports13925729parameters and updates member0hash correctly; physical dependency audit reports no changes. Source snapshots and preflight checks retained. Controller and validator are queued behind phase10 normal trainer completion; no new main optimizer has started. + +## E107 — late spatial-convergence screen + +Hypothesis: earlier three-step Gray–Scott convergence tests may miss high frequencies generated later. Change only the internal grid from2x to4x in the current double ETDRK2/dtmax0.25 operator; reset from context3 as currently deployed. Use all eight E105 TRAIN trajectories and all26 forecast steps. Reuse2x controls only after exact source, context, target, prediction hashes and recomputed scores agree; fresh4x forecasts and late Parseval-weighted high-frequency energy are recorded. No new weights, seed, parameter fit, context-retention layer, neural/translation averaging, VALID or serving change. Any positive effect must justify expanded TRAIN confirmation and runtime cost before integration. Concurrent H100 timings are descriptive, not an isolated speed or inference-budget claim. Protocol/source hashes in gs_resolution_long_v1. + +## E107 full-horizon resolution result + +Eight TRAIN trajectories:2x VRMSE 0.03417093699225,4x 0.03416989803292; 5/8 improve. Five of eight improve, but mean benefit0.00304% is negligible relative to added cost. Retain2x; no expanded confirmation or VALID candidate. At step26, the largest fluctuation-energy fraction above the2x nonlinear cutoff is 8.022e-13. This indicates negligible unresolved spatial energy in these predicted trajectories, not agreement of the PDE model with truth. All26 forecasts complete, exact prior-control reuse audit passes. No new seed/checkpoint, VALID or serving change. Result SHA256 `1caeee2cf93686ceebdc63b0d020cd2ae443f0cb874da6fc8ef582d828b6dcdd`. + +## E108 — frozen-density acoustic profile + +Hypothesis: unresolved temporal sampling of vertical acoustic motion contributes to pressure-profile error. From the supplied last two frames, form X-mean pressure and vertical-velocity increments, freeze the last density profile, and propagate linear acoustics p_t=-K*v_y, (rho0*v)_t=-p_y with K=(5/3)*last mean pressure. Use nativeY Rusanov finite volumes, SSPRK2/CFL0.4 and zero incoming acoustic characteristics at both open boundaries. Sum propagated increments onto the last pressure profile; no future fields enter this calculation. Fixed gamma, numerics, initialization and boundary rule; no sweep. + +Test one scalar convex correction to only the centeredY pressure profile of E101, preserving pressuremean, interaction and allotherchannels. Fit on the originalnine TRAIN trajectories with the exact clamped pressure VRMSE objective, predeclared1001-point scalar grid then48 local ternary refinements. Leave-one-cooling-regime-out check must also improve before coefficient freeze and confirmation on the other63TRAIN trajectories. All are authorizedTRAIN; no VALID used. First require manufactured-wave convergence/open-boundary escape and exactzero-increment persistence; these are checks, not synthetic training. CPU1thread, no new randomseed or networkweights, no separately trained dataset model, no inference-time fitting. Prototype is not deployed. Protocol/source hashes in acoustic_profile_v1. + +## E108 acoustic-profile result + +Manufactured-wave relativeL2 errors0.117684 at128cells and0.064057 at256cells; outgoing pulse relative norm6.97e-26 after escape, zero-increment persistence exact. These numerical checks pass without training data or optimizer. On allnine authorized TRAIN trajectories, the global scalar optimum is exactly0. Baseline and fitted pressure VRMSE both0.795080431354; leave-one-cooling-regime-out0.795080431354. Global TRAIN scalar optimum is zero: reject this acoustic profile correction. No confirmation or VALID. No further coefficient, gamma or boundary sweep, checkpoint or inference change. Raw full-profile replacement results, directions and protocol are retained, SHA256 `42385fb19741494ea8d7c222e21a3f60b646c80756d0214bcf1497715593e212`. + +## E109 — zero-residual bottleneck attention preparation + +Hypothesis: content-dependent global mixing at the coarsest shared U-net grid may improve long-range pressure/field interactions beyond the existing input-only diagonal Fourier mixer. Add one optional four-head attention residual at width288 (native thermal16x48tokens), LayerNorm/QKV/SDPA with no dropout, and an exactly zero output projection.332352newparameters, initializationseed20270126. Existing boundary-aware coordinates/features are retained; no extra position encoding. Only the first E101member is extended; the frozen96member retains its exact original architecture via optional constructorflagFalse. All members execute every case. + +Use a forked CPU generator for the newparameters, preserving original CPU and CUDA sampling/noise RNG sequences. Pin the same no-latent E101 parent as E106. If zero-function, realTRAIN/novel-shape, repeatability, full30backward/resource and complete-physical-reuse checks pass, train one1000-update candidate with E106control’s exact no-augmentation seed20270118/sampling/optimizer schedule and reuse its500/1000 control checkpoints, avoiding redundant control training. Proposed candidate runs after bothE106arms; full585 comparisons againstactualcurrentbest, with freshthermal predictions and rigorously audited physical reuse. No new optimizer or queue yet; no pretrained/synthetic assets, VALID or deployment change. Protocol and sources in bottleneck_attention_v1. + +## E109 conditional training queue + +The optional branch is prepared with332352newparameters (firstmember3398979,total14258081). Original base parameter values and CPUconstructorRNG state are exact; all new output-projection weights are zero. The second member retains its original architecture and checkpoint. The private source audit permits only the reviewed neural constructor/optional residual changes and unchanged complete physical work, never partial prefixes. Actual six-caseTRAIN/unknown parity, repeated forecasts and full30backward checks are still running. + +Queue one1000-update no-augmentation attention continuation only after those gates pass and bothE106arms finish. Reuse E106control at500/1000, with exact same parent, data sampler, seed20270118, batch2x3/full30, learning rate, noise, optimizer and schedule. At launch freshly verify all10115TRAIN memberships, immutable source hashes, actual E106control configuration, identical guides and second-member bytes. Independently initialized attention parameters useCPU seed20270126 without consuming CUDA noise RNG. No new optimizer is running yet. All9thermalVALID forecasts will be fresh per checkpoint,576 complete physical outputs require the restricted source proof plus input/coverage audit, and full585selection compares the actual current best. No changes to phase10, E106 or deployed inference. Launch/validation/source snapshots in bottleneck_attention_v1. + +## E109 zero-residual preflight result + +All six complete package predictions (four audited TRAIN groups plus two unfamiliar schemas, including13channels and odd grids) exactly equal the E101parent and an independent repeat. Original CPU and CUDA constructor RNG states are preserved; the frozen96member loads its exact original architecture/state. Firstmember3398979parameters, fullensemble14258081. Full30native thermal backward has identical initial forward loss0.2267371118068695 to E106control, finite gradients, bit-unchanged parameters and zero optimizer updates; peak30.190510GiB. Total gradient norm13.13464737 is not a gradient-parity test because the parameter set differs and ordinary convolution backward is not strictly deterministic. No optimizer-equivalence claim. The reviewed constructor-only serving change and unchanged physical assets/configuration pass the restricted complete-prefix reuse proof. Preflight result SHA256 `fffb9b83a0ab2844641175ea79be36d725c18de28fb2e19d608c32b662f4c8f0`. Controller/validator remain queued behind E106 completion; no new optimizer or VALID trial yet. + +## E110 — full-horizon shared-state backward resource check +- Hypothesis / changed factor: Nested recomputation permits a full30 physical loss to backpropagate through the actual jointly trained shared neural state head alongside a full30 native thermal objective on one H100. This isolated no-update check combines one full30 native thermal batch2 backward with one full30 nested physical backward through the actual phase10/update1000 state head. No source, optimizer or cadence in the active run changes. +- Seed: 20270118. All10115 TRAIN memberships and all175 physical base/target hashes checked before loading the selected TRAIN labels; physical stress case is zeta17/alpha-5 trajectory2. +- Checkpoint SHA256: `0fc425a0cf92a0d25cc8beae5b2cb291cef63f56f6c17c7f9ebd84342e06848d`. This is an existing session-trained candidate used for feasibility, not a new selected checkpoint. +- Validation VRMSE per dataset: not run; no VALID or held-out data used. +- Acceptance: finite combined/head gradients, nonzero head gradient, peak allocation below40GiB, all parameters bitwise unchanged. Zero optimizer updates; no training queue created. A future parent and matched training comparison remain undecided. +- Outcome: prepared; resource/gradient check pending. Sources and protocol retained in `long_joint_preflight_v1`. + +## E111 — fixed short-horizon tangent decoder TRAIN screen +- Hypothesis / changed factor: A fixed short-horizon tangent decoder from the four input frames may reduce initial forecast error before the learned long-horizon forecast takes over. Only complete neural-output decoder: fixed four-frame slope(-3*x0-x1+x2+3*x3)/10, last-frame anchor, convex weight .5*exp(-(k-1)/3) at forecast step k=1..K. Tangent density/concentration projected nonnegative. No fitted coefficients or sweeps. +- Pin E101 main hashes `1f24abcc814d6b2fff9a530b350ee4d8cffc8c80cb9374bfee6509c02ae0bd61` and `0c9c49ae6a7da1fbae8d3f21d94b26311467ba1fd991b59877c872973f1a6c23`; all runtime assets hashed. No new seed or weights; inherited scratch initialization lineage. +- Original9 TRAIN pilot, then only if positive confirm the unchanged rule on other63 TRAIN trajectories, all with exact cache/input/target audits and complete float32 official-formula VRMSE. No coefficient fit, sweep, VALID or held-out data. +- A positive screen is not deployable by itself: it requires a generic neural-output decoder preserving physical prefixes, complete runtime parity, full585/current-best comparison and repeated predictions. Both shared ensemble members continue to execute every case. +- Validation VRMSE per dataset: not run. Outcome: screen pending. Decoder SHA256 `01dd101db8582c1b1a8fbb88e2e5cc5c0acc729c2aa7b99949c8dfd85f6846d6`; source/protocol retained in tangent_decoder_v1. + +## E111 fixed tangent TRAIN result + +Nine initial TRAIN trajectories, no fitted coefficients or new weights/seeds. Complete E101 mean VRMSE 0.37577541437035 → 0.41652274850307 with the fixed four-frame tangent decoder; 0/9 improve. First-step mean error rises0.214869→0.428722, and all four channel means worsen. The TRAIN pilot fails; reject this rule without63-case confirmation, portable implementation or VALID. This does not establish that all learned temporal corrections fail. All inputs/targets exactly match authorized native TRAIN caches; repeated outputs exact and baseline official-formula difference<1e-15. Parent checkpoint hashes unchanged. Result SHA256 `2ca8df7b09cd549f5499f411cf257e1f30d8adc688964bd30b8efffe1e231c01`; no submission behavior change. + +## Full validation of attention_012000 + +All 585 validation trajectories, starting at frame 0; no held-out trajectories. Reward **0.781839**, failed cases 0. Neural initialization seed 20261021; sampling seed 20261106; checkpoint SHA256 `1f24abcc814d6b2fff9a530b350ee4d8cffc8c80cb9374bfee6509c02ae0bd61`. Same model as the corresponding quick-validation experiment; changed factor: expanded validation sample only. + +| Dataset | VRMSE | +|---|---:| +| ape2d/burgers | 0.007568 | +| ape2d/decay_turb | 0.000289 | +| ape2d/diff | 0.000003 | +| ape2d/fisher | 0.000005 | +| ape2d/gs_alpha | 0.003239 | +| ape2d/gs_beta | 0.004901 | +| ape2d/gs_delta | 0.022624 | +| ape2d/gs_epsilon | 0.000889 | +| ape2d/gs_gamma | 0.062780 | +| ape2d/gs_iota | 0.006619 | +| ape2d/gs_kappa | 0.008764 | +| ape2d/gs_theta | 0.019424 | +| ape2d/kdv | 0.024675 | +| ape2d/kolm_flow | 0.011662 | +| ape2d/ks | 0.000024 | +| ape2d/sh | 0.000005 | +| pdearena/navier_stokes_2d | 0.000081 | +| well/active_matter | 0.087494 | +| well/turbulent_radiative_layer_2D | 0.437374 | + +Exact reuse protocol for a shared-neural change: all physical assets/configuration match /run-state/workspace/research/output_ensemble_v1/validation. The source per-case log audit verifies552 complete corpus/smoke physical rollouts and24 complete active rollouts; all576 outputs have unchanged dependencies. For a shared latent-state head, those dependencies include neural weights, guide assets, postprocessing and serving configuration; neural-weight changes cannot reuse these active predictions. The nine neural radiative-layer outputs were replayed with exact context/metadata equality to full inputs and freshly scored with the official scorer. Reaggregate their official per-case scores and the576 audited unchanged per-case scores using the exact aggregation code extracted from the official scorer. Report provenance includes scorer/source-report hashes and the reuse audit. All585 prediction files are retained. This avoids rereading unchanged targets without approximating the metric. + +Outcome: recorded full validation for audit and comparison; no automatic comparison against the distinct quick-validation sample. + +## E097 — shared coarse attention, update 12000 +- Hypothesis / changed factor: Shared4x16 coarse attention, update12000, auxiliary initialization/sampling seed20270111. Four blocks, width128, four heads, metadata/time conditioning and boundary-aware relative bias;846459 parameters. Train from scratch on all19 datasets and10115 audited TRAIN records,12000 updates,batch512,four CPU threads, AdamW LR0.0003,100-update warmup and cosine decay, original interaction objective and fixed blend0.25. Training checkpointSHA256 3dc787950f3010c2e2ba43802d28cbb79d06d8155598347f01883aeb1a8ef675. Every case evaluates the same shared branch. Candidate inherits the documented current parent; all nine thermal VALID rollouts are fresh, physical reuse follows dependency/input/coverage audits, and latent parents trigger fresh24-active replay with audited552 nonactive reuse. Full585 reports and exact neural/active/Arena/unfamiliar repeat checks precede a win. This architecture comparison also changes parameter count, seed and optimization settings. No pretrained assets, held-out data or inference-time fitting. Active training jobs retain their declared templates. +- Seed: 20261106. +- Checkpoint SHA256: `1f24abcc814d6b2fff9a530b350ee4d8cffc8c80cb9374bfee6509c02ae0bd61`. +- Runtime code SHA256: `e747ba2901a6388c86c04a5883c6ecbb37d403058989cc125802e1bb2e1b263a`. +- Validation: fixed 81-case subset; reward **0.812616**, failed cases 0. + +| Dataset | VRMSE | +|---|---:| +| ape2d/burgers | 0.006413 | +| ape2d/decay_turb | 0.000381 | +| ape2d/diff | 0.000003 | +| ape2d/fisher | 0.000003 | +| ape2d/gs_alpha | 0.003095 | +| ape2d/gs_beta | 0.004740 | +| ape2d/gs_delta | 0.019250 | +| ape2d/gs_epsilon | 0.001366 | +| ape2d/gs_gamma | 0.049313 | +| ape2d/gs_iota | 0.001785 | +| ape2d/gs_kappa | 0.004855 | +| ape2d/gs_theta | 0.004678 | +| ape2d/kdv | 0.016728 | +| ape2d/kolm_flow | 0.008926 | +| ape2d/ks | 0.000033 | +| ape2d/sh | 0.000004 | +| pdearena/navier_stokes_2d | 0.000083 | +| well/active_matter | 0.040528 | +| well/turbulent_radiative_layer_2D | 0.437374 | + +Selection basis: same physical operators; fixed81-case neural comparison + +Outcome: did not improve validation reward; retained current package. + +## E112 — matched shared profile attention + +Content-dependent global coupling between profile locations may improve broad thermal structure beyond the flat shared mean/profile MLP. Pin E101 for matched control and attention continuations of its common E072 mean/profile checkpoint SHA256 `3b423a0afbb46bafc914d62daaf8611a1b30ae424b8c517d846cbb93d4d6578c`. Both complete neural ensemble members keep their weights and share this auxiliary on every case. Add two width96/four-head attention blocks over32 profile tokens, four normalized context profiles/allchannels per token, axis identity/nonperiodic positions, conditioning on the existing192-wide context/metadata/time hidden feature. Mean/profile output projections start at zero. New230710parameters; auxiliary775297, complete ensemble14156439 for the candidate. Control disables/freezes the same zero branch during training and strips it at packaging. + +Sequential CPU-only6000updates per arm,4threads,batch512,AdamW5e-5 cosine to10%,original reconstructed-field VRMSE, groups.1/.1/.1/.7,initialwindow.5,existing dropout.1/periodic augmentation/eligible reflection.5 for both. Sampling/dropout/reflection/periodic seeds20270202/03/04/05; newattention initialization20270206 in a CPU-only RNG fork. Inherited random initialization20261031; no pretrained or synthetic assets. All10115TRAIN memberships freshly audited. Only the attention residual differs between the matched arms. + +CPU and CUDA preflight outputs exactly match the parent across four groups and unknown IDs with1/4/11channels; constructor CPU RNG unchanged, all original weights exact, finite nonzero adapter gradients(.3136894/.3136899), all parameters bitwise unchanged, zero optimizer updates. Fixed decoder blends remain. Select only2k/6k: fresh9thermal VALID plus576 complete unchanged physical outputs under explicit source/config/input/coverage proof; full585 comparison against actual current best and exact neural/unknown repeats before a win. Pinned no-latent parent even if independent experiments later win. Validation VRMSE per dataset pending; training now authorized by the passed preflight. Sources/protocol/checks retained in profile_attention_v1. + +## E110 full-horizon shared-state backward result + +Actual phase10/update1000 shared weights, seed20270118, one full30native thermal batch2 and strong17/-5 TRAINtrajectory2 physical30 loss. All10115TRAIN memberships and175physical base/target hashes pass. Main loss0.23039406538, physical loss0.638578653336; main gradient norm17.561602, physical norm0.672068321 (head0.66953244), cosine0.000317889077. All gradients finite, head nonzero, every parameter bitwise unchanged; zero optimizer updates. Peak30.0204GiB. Main/physical elapsed24.88/574.36s while sharing the H100, not an isolated throughput measurement. + +Full30 joint backward is feasible at these trained weights. This is not a validation/generalization result and does not select a model or queue a longer-supervision trainer. A future parent/cadence/matched objective comparison still needs declaration. Active phase10 protocol unchanged. No VALID or new checkpoint. Result SHA256 `bbbec107d32b948b098314003ec684a1253ad0743713ab24be668eae43fadc39`; source/model/target provenance and all checks retained. + +## Full validation of control_002000 + +All 585 validation trajectories, starting at frame 0; no held-out trajectories. Reward **0.781821**, failed cases 0. Neural initialization seed 20261021; sampling seed 20261106; checkpoint SHA256 `1f24abcc814d6b2fff9a530b350ee4d8cffc8c80cb9374bfee6509c02ae0bd61`. Same model as the corresponding quick-validation experiment; changed factor: expanded validation sample only. + +| Dataset | VRMSE | +|---|---:| +| ape2d/burgers | 0.007568 | +| ape2d/decay_turb | 0.000289 | +| ape2d/diff | 0.000003 | +| ape2d/fisher | 0.000005 | +| ape2d/gs_alpha | 0.003239 | +| ape2d/gs_beta | 0.004901 | +| ape2d/gs_delta | 0.022624 | +| ape2d/gs_epsilon | 0.000889 | +| ape2d/gs_gamma | 0.062780 | +| ape2d/gs_iota | 0.006619 | +| ape2d/gs_kappa | 0.008764 | +| ape2d/gs_theta | 0.019424 | +| ape2d/kdv | 0.024675 | +| ape2d/kolm_flow | 0.011662 | +| ape2d/ks | 0.000024 | +| ape2d/sh | 0.000005 | +| pdearena/navier_stokes_2d | 0.000081 | +| well/active_matter | 0.087494 | +| well/turbulent_radiative_layer_2D | 0.437589 | + +Exact reuse protocol for a shared-neural change: all physical assets/configuration match /run-state/workspace/research/output_ensemble_v1/validation. The source per-case log audit verifies552 complete corpus/smoke physical rollouts and24 complete active rollouts; all576 outputs have unchanged dependencies. For a shared latent-state head, those dependencies include neural weights, guide assets, postprocessing and serving configuration; neural-weight changes cannot reuse these active predictions. The nine neural radiative-layer outputs were replayed with exact context/metadata equality to full inputs and freshly scored with the official scorer. Reaggregate their official per-case scores and the576 audited unchanged per-case scores using the exact aggregation code extracted from the official scorer. Report provenance includes scorer/source-report hashes and the reuse audit. All585 prediction files are retained. This avoids rereading unchanged targets without approximating the metric. + +Outcome: recorded full validation for audit and comparison; no automatic comparison against the distinct quick-validation sample. + +## E112 — shared profile attention control, update 2000 +- Hypothesis / changed factor: Matched shared mean/profile continuation control,update2000/6000, pinned E101 complete ensemble. All19 datasets/10115TRAIN records, CPU4threads,batch512,AdamW5e-5cosine,original reconstructed-field VRMSE, groups.1/.1/.1/.7,initialwindow.5,dropout.1,periodic augmentation and eligible reflection.5 in both arms. Sampling/dropout/reflection/periodic seeds20270202/20270203/20270204/20270205; new attention seed20270206. Only the candidate trains two width96/four-head blocks over32 profile tokens, conditioned on the existing context/metadata/time hidden feature, with zero initial mean/profile projections. Control freezes/disables that residual and strips it from the runtime. Both ensemble members share this same statistical model on every case; main checkpoints, all corrections and output blends stay fixed. Training checkpointSHA256 8bb06dc5e23e41950fc4cd630151154ad4d932fa27b8c0902a5dc62e62dc7018, packaged auxiliarySHA256 1a116d5fe60af4b21b1a63b9c447127a42b3d90ab7ed69af6afcf910523c9b2e. Fresh9thermal VALID predictions plus576 audited complete unchanged physical outputs; full585 compare to actual current best. Exact neural/unfamiliar repeats before a win. No pretrained/synthetic assets, held-out data or inference-time fitting. +- Seed: 20261106. +- Checkpoint SHA256: `1f24abcc814d6b2fff9a530b350ee4d8cffc8c80cb9374bfee6509c02ae0bd61`. +- Runtime code SHA256: `dc47ce38f0a90e6b4ba86fef0b281b9865673558f14ca90ec9bda1565c6d9caa`. +- Validation: fixed 81-case subset; reward **0.812598**, failed cases 0. + +| Dataset | VRMSE | +|---|---:| +| ape2d/burgers | 0.006413 | +| ape2d/decay_turb | 0.000381 | +| ape2d/diff | 0.000003 | +| ape2d/fisher | 0.000003 | +| ape2d/gs_alpha | 0.003095 | +| ape2d/gs_beta | 0.004740 | +| ape2d/gs_delta | 0.019250 | +| ape2d/gs_epsilon | 0.001366 | +| ape2d/gs_gamma | 0.049313 | +| ape2d/gs_iota | 0.001785 | +| ape2d/gs_kappa | 0.004855 | +| ape2d/gs_theta | 0.004678 | +| ape2d/kdv | 0.016728 | +| ape2d/kolm_flow | 0.008926 | +| ape2d/ks | 0.000033 | +| ape2d/sh | 0.000004 | +| pdearena/navier_stokes_2d | 0.000083 | +| well/active_matter | 0.040528 | +| well/turbulent_radiative_layer_2D | 0.437589 | + +Selection basis: same physical operators; fixed81-case neural comparison + +Outcome: did not improve validation reward; retained current package. + +## Full validation of control_006000 + +All 585 validation trajectories, starting at frame 0; no held-out trajectories. Reward **0.781829**, failed cases 0. Neural initialization seed 20261021; sampling seed 20261106; checkpoint SHA256 `1f24abcc814d6b2fff9a530b350ee4d8cffc8c80cb9374bfee6509c02ae0bd61`. Same model as the corresponding quick-validation experiment; changed factor: expanded validation sample only. + +| Dataset | VRMSE | +|---|---:| +| ape2d/burgers | 0.007568 | +| ape2d/decay_turb | 0.000289 | +| ape2d/diff | 0.000003 | +| ape2d/fisher | 0.000005 | +| ape2d/gs_alpha | 0.003239 | +| ape2d/gs_beta | 0.004901 | +| ape2d/gs_delta | 0.022624 | +| ape2d/gs_epsilon | 0.000889 | +| ape2d/gs_gamma | 0.062780 | +| ape2d/gs_iota | 0.006619 | +| ape2d/gs_kappa | 0.008764 | +| ape2d/gs_theta | 0.019424 | +| ape2d/kdv | 0.024675 | +| ape2d/kolm_flow | 0.011662 | +| ape2d/ks | 0.000024 | +| ape2d/sh | 0.000005 | +| pdearena/navier_stokes_2d | 0.000081 | +| well/active_matter | 0.087494 | +| well/turbulent_radiative_layer_2D | 0.437486 | + +Exact reuse protocol for a shared-neural change: all physical assets/configuration match /run-state/workspace/research/output_ensemble_v1/validation. The source per-case log audit verifies552 complete corpus/smoke physical rollouts and24 complete active rollouts; all576 outputs have unchanged dependencies. For a shared latent-state head, those dependencies include neural weights, guide assets, postprocessing and serving configuration; neural-weight changes cannot reuse these active predictions. The nine neural radiative-layer outputs were replayed with exact context/metadata equality to full inputs and freshly scored with the official scorer. Reaggregate their official per-case scores and the576 audited unchanged per-case scores using the exact aggregation code extracted from the official scorer. Report provenance includes scorer/source-report hashes and the reuse audit. All585 prediction files are retained. This avoids rereading unchanged targets without approximating the metric. + +Outcome: recorded full validation for audit and comparison; no automatic comparison against the distinct quick-validation sample. + +## E112 — shared profile attention control, update 6000 +- Hypothesis / changed factor: Matched shared mean/profile continuation control,update6000/6000, pinned E101 complete ensemble. All19 datasets/10115TRAIN records, CPU4threads,batch512,AdamW5e-5cosine,original reconstructed-field VRMSE, groups.1/.1/.1/.7,initialwindow.5,dropout.1,periodic augmentation and eligible reflection.5 in both arms. Sampling/dropout/reflection/periodic seeds20270202/20270203/20270204/20270205; new attention seed20270206. Only the candidate trains two width96/four-head blocks over32 profile tokens, conditioned on the existing context/metadata/time hidden feature, with zero initial mean/profile projections. Control freezes/disables that residual and strips it from the runtime. Both ensemble members share this same statistical model on every case; main checkpoints, all corrections and output blends stay fixed. Training checkpointSHA256 de4c90fb94df0ab9882b4a083fbecab081665d3870ceca6f29efa20ffd9b764b, packaged auxiliarySHA256 e02e6de6b0f086b34b6837711acdd6e401e398d44df465e7558f22d41f893ffc. Fresh9thermal VALID predictions plus576 audited complete unchanged physical outputs; full585 compare to actual current best. Exact neural/unfamiliar repeats before a win. No pretrained/synthetic assets, held-out data or inference-time fitting. +- Seed: 20261106. +- Checkpoint SHA256: `1f24abcc814d6b2fff9a530b350ee4d8cffc8c80cb9374bfee6509c02ae0bd61`. +- Runtime code SHA256: `2c7dcde60e8480183ccc816be93899dfd8a0b7cceecbdc6a7d2721757d7b2547`. +- Validation: fixed 81-case subset; reward **0.812606**, failed cases 0. + +| Dataset | VRMSE | +|---|---:| +| ape2d/burgers | 0.006413 | +| ape2d/decay_turb | 0.000381 | +| ape2d/diff | 0.000003 | +| ape2d/fisher | 0.000003 | +| ape2d/gs_alpha | 0.003095 | +| ape2d/gs_beta | 0.004740 | +| ape2d/gs_delta | 0.019250 | +| ape2d/gs_epsilon | 0.001366 | +| ape2d/gs_gamma | 0.049313 | +| ape2d/gs_iota | 0.001785 | +| ape2d/gs_kappa | 0.004855 | +| ape2d/gs_theta | 0.004678 | +| ape2d/kdv | 0.016728 | +| ape2d/kolm_flow | 0.008926 | +| ape2d/ks | 0.000033 | +| ape2d/sh | 0.000004 | +| pdearena/navier_stokes_2d | 0.000083 | +| well/active_matter | 0.040528 | +| well/turbulent_radiative_layer_2D | 0.437486 | + +Selection basis: same physical operators; fixed81-case neural comparison + +Outcome: did not improve validation reward; retained current package. + +## Full validation of attention_002000 + +All 585 validation trajectories, starting at frame 0; no held-out trajectories. Reward **0.781846**, failed cases 0. Neural initialization seed 20261021; sampling seed 20261106; checkpoint SHA256 `1f24abcc814d6b2fff9a530b350ee4d8cffc8c80cb9374bfee6509c02ae0bd61`. Same model as the corresponding quick-validation experiment; changed factor: expanded validation sample only. + +| Dataset | VRMSE | +|---|---:| +| ape2d/burgers | 0.007568 | +| ape2d/decay_turb | 0.000289 | +| ape2d/diff | 0.000003 | +| ape2d/fisher | 0.000005 | +| ape2d/gs_alpha | 0.003239 | +| ape2d/gs_beta | 0.004901 | +| ape2d/gs_delta | 0.022624 | +| ape2d/gs_epsilon | 0.000889 | +| ape2d/gs_gamma | 0.062780 | +| ape2d/gs_iota | 0.006619 | +| ape2d/gs_kappa | 0.008764 | +| ape2d/gs_theta | 0.019424 | +| ape2d/kdv | 0.024675 | +| ape2d/kolm_flow | 0.011662 | +| ape2d/ks | 0.000024 | +| ape2d/sh | 0.000005 | +| pdearena/navier_stokes_2d | 0.000081 | +| well/active_matter | 0.087494 | +| well/turbulent_radiative_layer_2D | 0.437289 | + +Exact reuse protocol for a shared-neural change: all physical assets/configuration match /run-state/workspace/research/output_ensemble_v1/validation. The source per-case log audit verifies552 complete corpus/smoke physical rollouts and24 complete active rollouts; all576 outputs have unchanged dependencies. For a shared latent-state head, those dependencies include neural weights, guide assets, postprocessing and serving configuration; neural-weight changes cannot reuse these active predictions. The nine neural radiative-layer outputs were replayed with exact context/metadata equality to full inputs and freshly scored with the official scorer. Reaggregate their official per-case scores and the576 audited unchanged per-case scores using the exact aggregation code extracted from the official scorer. Report provenance includes scorer/source-report hashes and the reuse audit. All585 prediction files are retained. This avoids rereading unchanged targets without approximating the metric. + +Outcome: recorded full validation for audit and comparison; no automatic comparison against the distinct quick-validation sample. + +## E112 — shared profile attention attention, update 2000 +- Hypothesis / changed factor: Matched shared mean/profile continuation attention,update2000/6000, pinned E101 complete ensemble. All19 datasets/10115TRAIN records, CPU4threads,batch512,AdamW5e-5cosine,original reconstructed-field VRMSE, groups.1/.1/.1/.7,initialwindow.5,dropout.1,periodic augmentation and eligible reflection.5 in both arms. Sampling/dropout/reflection/periodic seeds20270202/20270203/20270204/20270205; new attention seed20270206. Only the candidate trains two width96/four-head blocks over32 profile tokens, conditioned on the existing context/metadata/time hidden feature, with zero initial mean/profile projections. Control freezes/disables that residual and strips it from the runtime. Both ensemble members share this same statistical model on every case; main checkpoints, all corrections and output blends stay fixed. Training checkpointSHA256 fb30b4dede1335c91a8611ef9022496f5ae62499a15096a7d8d455731d908db3, packaged auxiliarySHA256 550d3ce23a8ad45d9b1ae88118056ba2d2e0a5d31074ada1d59989102f671ef4. Fresh9thermal VALID predictions plus576 audited complete unchanged physical outputs; full585 compare to actual current best. Exact neural/unfamiliar repeats before a win. No pretrained/synthetic assets, held-out data or inference-time fitting. +- Seed: 20261106. +- Checkpoint SHA256: `1f24abcc814d6b2fff9a530b350ee4d8cffc8c80cb9374bfee6509c02ae0bd61`. +- Runtime code SHA256: `2c1ef4e9ec67af7732f53a15b339ec40386c518854a83027c5f84f6ccb73f2a0`. +- Validation: fixed 81-case subset; reward **0.812623**, failed cases 0. + +| Dataset | VRMSE | +|---|---:| +| ape2d/burgers | 0.006413 | +| ape2d/decay_turb | 0.000381 | +| ape2d/diff | 0.000003 | +| ape2d/fisher | 0.000003 | +| ape2d/gs_alpha | 0.003095 | +| ape2d/gs_beta | 0.004740 | +| ape2d/gs_delta | 0.019250 | +| ape2d/gs_epsilon | 0.001366 | +| ape2d/gs_gamma | 0.049313 | +| ape2d/gs_iota | 0.001785 | +| ape2d/gs_kappa | 0.004855 | +| ape2d/gs_theta | 0.004678 | +| ape2d/kdv | 0.016728 | +| ape2d/kolm_flow | 0.008926 | +| ape2d/ks | 0.000033 | +| ape2d/sh | 0.000004 | +| pdearena/navier_stokes_2d | 0.000083 | +| well/active_matter | 0.040528 | +| well/turbulent_radiative_layer_2D | 0.437289 | + +Selection basis: same physical operators; fixed81-case neural comparison + +Outcome: did not improve validation reward; retained current package. + +## E112 portable zero-residual result + +Both control/candidate auxiliary installers preserve every original weight and both main checkpoint bytes, with correct total counts13925729/14156439 and no physical dependency change. Complete zero-initialized attention package exactly matches the pinned E101 reference and independent repeated execution on all six TRAIN/unfamiliar cases, covering four groups and unfamiliar13-channel input. All original TRAIN input hashes and memberships freshly checked. Only zero-step diagnostic auxiliary artifacts were created; they are not selection candidates. New initialization seed20270206; inherited main/mean hashes unchanged. No VALID used by this check. Result SHA256 `462ae4538bee1375ce74d469d6e220aa7d04d62ad9a6fde559fc4d1ed9845098`; portable_preflight retains source/input/install/forecast evidence. + +## Full validation of attention_006000 + +All 585 validation trajectories, starting at frame 0; no held-out trajectories. Reward **0.781839**, failed cases 0. Neural initialization seed 20261021; sampling seed 20261106; checkpoint SHA256 `1f24abcc814d6b2fff9a530b350ee4d8cffc8c80cb9374bfee6509c02ae0bd61`. Same model as the corresponding quick-validation experiment; changed factor: expanded validation sample only. + +| Dataset | VRMSE | +|---|---:| +| ape2d/burgers | 0.007568 | +| ape2d/decay_turb | 0.000289 | +| ape2d/diff | 0.000003 | +| ape2d/fisher | 0.000005 | +| ape2d/gs_alpha | 0.003239 | +| ape2d/gs_beta | 0.004901 | +| ape2d/gs_delta | 0.022624 | +| ape2d/gs_epsilon | 0.000889 | +| ape2d/gs_gamma | 0.062780 | +| ape2d/gs_iota | 0.006619 | +| ape2d/gs_kappa | 0.008764 | +| ape2d/gs_theta | 0.019424 | +| ape2d/kdv | 0.024675 | +| ape2d/kolm_flow | 0.011662 | +| ape2d/ks | 0.000024 | +| ape2d/sh | 0.000005 | +| pdearena/navier_stokes_2d | 0.000081 | +| well/active_matter | 0.087494 | +| well/turbulent_radiative_layer_2D | 0.437366 | + +Exact reuse protocol for a shared-neural change: all physical assets/configuration match /run-state/workspace/research/output_ensemble_v1/validation. The source per-case log audit verifies552 complete corpus/smoke physical rollouts and24 complete active rollouts; all576 outputs have unchanged dependencies. For a shared latent-state head, those dependencies include neural weights, guide assets, postprocessing and serving configuration; neural-weight changes cannot reuse these active predictions. The nine neural radiative-layer outputs were replayed with exact context/metadata equality to full inputs and freshly scored with the official scorer. Reaggregate their official per-case scores and the576 audited unchanged per-case scores using the exact aggregation code extracted from the official scorer. Report provenance includes scorer/source-report hashes and the reuse audit. All585 prediction files are retained. This avoids rereading unchanged targets without approximating the metric. + +Outcome: recorded full validation for audit and comparison; no automatic comparison against the distinct quick-validation sample. + +## E112 — shared profile attention attention, update 6000 +- Hypothesis / changed factor: Matched shared mean/profile continuation attention,update6000/6000, pinned E101 complete ensemble. All19 datasets/10115TRAIN records, CPU4threads,batch512,AdamW5e-5cosine,original reconstructed-field VRMSE, groups.1/.1/.1/.7,initialwindow.5,dropout.1,periodic augmentation and eligible reflection.5 in both arms. Sampling/dropout/reflection/periodic seeds20270202/20270203/20270204/20270205; new attention seed20270206. Only the candidate trains two width96/four-head blocks over32 profile tokens, conditioned on the existing context/metadata/time hidden feature, with zero initial mean/profile projections. Control freezes/disables that residual and strips it from the runtime. Both ensemble members share this same statistical model on every case; main checkpoints, all corrections and output blends stay fixed. Training checkpointSHA256 ac7e91bb740cf31ef3ef08ce6ee18cb3337fd2b1d0612f23bfa88d8121440702, packaged auxiliarySHA256 4d8a39551be249c0f0ba21986f01186904729238b31807e3a345378a04b3339d. Fresh9thermal VALID predictions plus576 audited complete unchanged physical outputs; full585 compare to actual current best. Exact neural/unfamiliar repeats before a win. No pretrained/synthetic assets, held-out data or inference-time fitting. +- Seed: 20261106. +- Checkpoint SHA256: `1f24abcc814d6b2fff9a530b350ee4d8cffc8c80cb9374bfee6509c02ae0bd61`. +- Runtime code SHA256: `9736877bbdec75c0beedc9495ef18bac9633770f9cd7c10f3605d251053dce4e`. +- Validation: fixed 81-case subset; reward **0.812616**, failed cases 0. + +| Dataset | VRMSE | +|---|---:| +| ape2d/burgers | 0.006413 | +| ape2d/decay_turb | 0.000381 | +| ape2d/diff | 0.000003 | +| ape2d/fisher | 0.000003 | +| ape2d/gs_alpha | 0.003095 | +| ape2d/gs_beta | 0.004740 | +| ape2d/gs_delta | 0.019250 | +| ape2d/gs_epsilon | 0.001366 | +| ape2d/gs_gamma | 0.049313 | +| ape2d/gs_iota | 0.001785 | +| ape2d/gs_kappa | 0.004855 | +| ape2d/gs_theta | 0.004678 | +| ape2d/kdv | 0.016728 | +| ape2d/kolm_flow | 0.008926 | +| ape2d/ks | 0.000033 | +| ape2d/sh | 0.000004 | +| pdearena/navier_stokes_2d | 0.000083 | +| well/active_matter | 0.040528 | +| well/turbulent_radiative_layer_2D | 0.437366 | + +Selection basis: same physical operators; fixed81-case neural comparison + +Outcome: did not improve validation reward; retained current package. + +## E112 descriptive auxiliary versus complete-rollout analysis + +All9 thermal VALID cases, no fitting or model selection in this analysis. The auxiliary-only field uses canonical unshifted context statistics and its predicted mean/axis profiles; complete rollout scores include both neural members, translations and all corrections. These are distinct computations. Exact native target interaction floor for axis-additive reconstruction is0.45076384; this diagnostic target projection is never used at inference. + +| Candidate | Auxiliary field VRMSE | Mean normalized absolute error | Profile normalized RMS error | Complete thermal VRMSE | +|---|---:|---:|---:|---:| +| parent | 0.5616377 | 0.12494179 | 0.25973191 | 0.43689118 | +| control_002000 | 0.56244575 | 0.12616602 | 0.25977492 | 0.4375891 | +| control_006000 | 0.56214908 | 0.1256348 | 0.26012361 | 0.4374858 | +| attention_002000 | 0.56039406 | 0.12682445 | 0.25474187 | 0.43728877 | +| attention_006000 | 0.55920671 | 0.12373633 | 0.25365633 | 0.43736645 | + +All checkpoint hashes, per-case/per-step values and standalone PNG/SVG retained in profile_attention_v1/analysis. This comparison does not establish a causal mechanism for the complete rollout. + +## E113 — separate recurrent guidance from final statistics + +E112 final attention improves standalone VALID profiles(.2597319→.2536563 normalizedRMS) and auxiliary field reconstruction(.5616377→.5592067), but its complete thermal rollout regresses(.4368912→.4373665). Hypothesis: changing the guide seen by the frozen recurrent backbone can offset decoder gains. Use exactly E112 attention6000 for final mean/profile corrections while restoring original E072 guidance inside every autoregressive step. No checkpoint/blend sweep or new optimizer. Both shared statistics models and both main members execute every case/translation/channel chunk, with no dataset-name checkpoint routing. All physical operators, main weights and remaining corrections/blends stay fixed. + +Guide SHA256 `3b423a0afbb46bafc914d62daaf8611a1b30ae424b8c517d846cbb93d4d6578c`, decoder SHA256 `4d8a39551be249c0f0ba21986f01186904729238b31807e3a345378a04b3339d`; inherited E112 initialization20270206/training20270202 and original session-trained main/E072 lineage, no new random weights or pretrained assets. Total14701026parameters. Exact source transform and a zero-decoder complete TRAIN/unfamiliar parent-parity check precede new inference. Expanded latent dependency guard now detects either guidance_model.py or guidance_weights.pt changes; equal/deliberately changed temporary fixtures pass. This adds conservative dependencies and does not permit any new reuse. + +First replay joint E112 and decoupled E113 complete packages on original9 initial thermal TRAIN windows against exact cached E101, all membership/input/target/baseline-average audits fresh. Only if the fixed candidate mean improves E101, confirm it unchanged on the other63TRAIN trajectories; no refitting. These trajectories were available to the model/auxiliary training. No VALID before both gates pass; a later win requires restricted complete-physics reuse proof, full585/current-best comparison and exact neural/unfamiliar repeats. No zero-step diagnostic checkpoint may be deployed. Validation VRMSE per dataset pending; preparation complete and preflight/TRAIN study pending. Sources/protocol retained in decoupled_statistics_v1. + +## E114 — late Gray-Scott temporal convergence + +Small temporal errors may accumulate over a complete26-step Gray-Scott forecast despite earlier short-horizon convergence. Change only the fixed internal maximumtime step.25→.125 of the existing double ETDRK2/2xgrid operator. Reuse audited E105 reset controls on the same eight TRAIN trajectories and all26steps; exact source/context/target/prediction/recomputed-score proof precedes reuse. No context retention, space-grid change, neural/translation averaging, new seed/weights, parameter fit or VALID. Gate for broaderTRAINconfirmation: at least0.1%mean relative reduction and5/8improving cases; no timestep sweep. Parent main/solver hashes unchanged, with runtime config factor declared above. Shared-H100 timings are descriptive; any complete-package cost still needs assessment before adoption. Validation VRMSE per dataset not run. Outcome pending, protocol/sources retained in gs_time_long_v1. + +## E114 full-horizon temporal result + +All8TRAIN cases worsen when the fixed maxstep is halved: mean VRMSE 0.03417093699225→0.040213565006868 (17.684%higher),0/8 improve. The declared gate fails; retain maxdt.25, no timestep sweep, broader confirmation or VALID. Finite full26outputs, exact source/context/target/prediction/recomputed-score control reuse checks pass. No new weights or seed. Initial launch had a Python keyword SyntaxError before any data/model reads; original source/log archived, syntaxonlyfix recompiled, scientificprotocol/gatesunchanged. Result SHA256 `5b99f51cf8c45ebb97e7053cdad70c8cfc85b3d385c5326706139bde24581c82`; all predictions and provenance retained in gs_time_long_v1. + +## E113 conditional validation controller + +The fixed candidate may enter VALID only after exact zero-decoder parent parity and both original9/other63TRAIN mean-improvement gates. The controller exits without reading VALID if either gate fails. A passing candidate gets9fresh thermal forecasts,576completephysicaloutputs only under exact source/config/input/coverage proof, full585 comparison to current best and exact trained neural/unfamiliar repeats before publication. Guides/decoder/mainweights/blends remain exactly frozen from preparation; no new search or optimization. Controller source hashes retained. + +## E115 — occasional full-horizon shared-state supervision + +Hypothesis: full30 physical supervision may improve late active dynamics unconstrained by four-step state loss. Match the existing phase10/E060 control exactly at initialization, guide, sampler/noise/physical draws and optimizer: initialSHA256 `1a082bab4c1db8eae9a5c0fb6fa8cec159de67ba2e7ec9b9b7abe800844c8989`, guideSHA256 `3b423a0afbb46bafc914d62daaf8611a1b30ae424b8c517d846cbb93d4d6578c`, zeroheadseed20261126, trainingseed20261127/physical20261128,2000updates,batch2x3,full30,LR3e-5/head10x,noise.01,groups.05/.075/.075/.8. Change only physical objective horizon every64th main update:31full30 losses replace short4, other219physical losses stay4, every8 cadence/weight1 unchanged. Reuse the existing short-loss control; do not train it again. No synthetic/pretrained assets. + +Nested activation recomputation has already passed controlled original-short gradient parity and full30 joint backward through the trained shared model(E110,30.0204GiB). Initial parameters exactly match both originalphase10 and earlier E094zero-head checks; model/loss/kernel source is identical to E110. No new GPU preflight was needed for unchanged graph shapes/architecture. Fresh10115TRAIN memberships and all175long/base hashes pass; every existing phase10 physical file/trajectory/even-shift draw matches the deterministic candidate schedule. The31 long draws span21parameter files. All runtime/template assets and fixed guide remain the original single-model state-head architecture; no ensemble or selected-parent rebasing. + +Queue only after E106/E109 main training and phase10 full validation finish normally; one main GPU optimizer at a time. Several additional training hours expected. Save1k for recovery/audit only; select only final2k with fresh24active+9thermal VALID and552strictly audited unchanged corpus/Arena outputs. Compare complete585 against actual current best and matched phase10/update2000; exact active/neural/unfamiliar repeats before a win. Validation VRMSE per dataset and trained checkpoint hash pending. Protocol/source/lineage/long-target audits and physical schedule retained in long_state_supervision_v1. + +## E100b — initial versus later thermal gradient alignment + +Reuse the immutable37-gradient E100 artifact; verify its SHA256, parent/guide hashes and allTRAIN memberships. Compare matching9thermal trajectories atstarts0/34, full30batch1/no noise, seed20270113; no new gradient evaluation or optimizer. Hypothesis: later windows may locally oppose the initial-window objective. Initial/later mean gradient norms3.153638/3.8079253, cosine0.05323798, later projection on the initial mean divided by initial norm²=0.064283298. 3/9 paired initial/later cosines are negative. This local smallTRAINsample does not determine an optimal sampling probability or finite-update/VALID effect. No new sampler training queued by this analysis. All paired losses/norms/cosines and artifact hashes retained in group_gradient_v1/temporal_alignment. No VALID or new checkpoint. + +## E113 fixed guidance/decoder TRAIN result + +Exact zero-decoder complete parent parity passes on all six TRAIN/unfamiliar cases, with strict reviewed source and runtime-asset proofs. Pilot9 official complete VRMSE: baseline 0.37577541437035, joint 0.37480059414003, candidate 0.37483030273231; 6/9 improve over E101. Frozen other63TRAIN confirmation: baseline 0.37331751362258, candidate 0.37219334454229; 49/63 improve. Both TRAIN gates pass; candidate may enter the declared full585 VALID comparison. No new seeds/weights or coefficient fitting, no held-out access. All inputs and targets exactly match authorized native TRAIN caches; cached E101 predictions exactly equal the fixed independent-member average and reproduce official scores. Pilot result SHA256 `e79eb05c3f9d572bbda805728cf27d9eac8c637d89833fbf9b6ecb4cde6f6a20`. Confirmation SHA256 `ac56d3fdfdbb92d70b7faa179d7cc383a8a2b01ddc470e7295d967b2578bec8a`. All source/input/prediction/audit artifacts retained in decoupled_statistics_v1. + +## Full validation of validation + +All 585 validation trajectories, starting at frame 0; no held-out trajectories. Reward **0.781845**, failed cases 0. Neural initialization seed 20261021; sampling seed 20261106; checkpoint SHA256 `1f24abcc814d6b2fff9a530b350ee4d8cffc8c80cb9374bfee6509c02ae0bd61`. Same model as the corresponding quick-validation experiment; changed factor: expanded validation sample only. + +| Dataset | VRMSE | +|---|---:| +| ape2d/burgers | 0.007568 | +| ape2d/decay_turb | 0.000289 | +| ape2d/diff | 0.000003 | +| ape2d/fisher | 0.000005 | +| ape2d/gs_alpha | 0.003239 | +| ape2d/gs_beta | 0.004901 | +| ape2d/gs_delta | 0.022624 | +| ape2d/gs_epsilon | 0.000889 | +| ape2d/gs_gamma | 0.062780 | +| ape2d/gs_iota | 0.006619 | +| ape2d/gs_kappa | 0.008764 | +| ape2d/gs_theta | 0.019424 | +| ape2d/kdv | 0.024675 | +| ape2d/kolm_flow | 0.011662 | +| ape2d/ks | 0.000024 | +| ape2d/sh | 0.000005 | +| pdearena/navier_stokes_2d | 0.000081 | +| well/active_matter | 0.087494 | +| well/turbulent_radiative_layer_2D | 0.437292 | + +Exact reuse protocol for a shared-neural change: all physical assets/configuration match /run-state/workspace/research/output_ensemble_v1/validation. The source per-case log audit verifies552 complete corpus/smoke physical rollouts and24 complete active rollouts; all576 outputs have unchanged dependencies. For a shared latent-state head, those dependencies include neural weights, guide assets, postprocessing and serving configuration; neural-weight changes cannot reuse these active predictions. The nine neural radiative-layer outputs were replayed with exact context/metadata equality to full inputs and freshly scored with the official scorer. Reaggregate their official per-case scores and the576 audited unchanged per-case scores using the exact aggregation code extracted from the official scorer. Report provenance includes scorer/source-report hashes and the reuse audit. All585 prediction files are retained. This avoids rereading unchanged targets without approximating the metric. + +Outcome: recorded full validation for audit and comparison; no automatic comparison against the distinct quick-validation sample. + +## E113 — original recurrent guide with attention final decoder +- Hypothesis / changed factor: Keep the original E072 shared statistical guidance inside each autoregressive step, while using exactly E112attention6000 for the final mean/profile decoder. Both shared statistical models and both main members execute every case/translation/channel chunk. All main checkpoints, physical operators, output coefficients and remaining corrections are fixed. Inherited E112newparameterseed20270206/training20270202; no new optimizer, coefficient fit, synthetic or pretrained asset. GuideSHA256 3b423a0afbb46bafc914d62daaf8611a1b30ae424b8c517d846cbb93d4d6578c, decoderSHA256 4d8a39551be249c0f0ba21986f01186904729238b31807e3a345378a04b3339d, total14701026parameters. Frozen complete architecture passed original9TRAIN and other63TRAIN mean-VRMSE gates without refitting. Exact zero-decoder six-case TRAIN/unfamiliar parent parity and restricted source/asset proof passed. Fresh all9thermal VALID predictions plus576 fully covered unchanged physical outputs with input/source/config/coverage audits; full585 compare against actual current best and exact trained neural/unfamiliar repeats before a win. No held-out access or inference-time fitting. +- Seed: 20261106. +- Checkpoint SHA256: `1f24abcc814d6b2fff9a530b350ee4d8cffc8c80cb9374bfee6509c02ae0bd61`. +- Runtime code SHA256: `a7cd48983ca9f17bdbb7333cad44f4791838fe77a2316eca374be234bcbbd7e2`. +- Validation: fixed 81-case subset; reward **0.812623**, failed cases 0. + +| Dataset | VRMSE | +|---|---:| +| ape2d/burgers | 0.006413 | +| ape2d/decay_turb | 0.000381 | +| ape2d/diff | 0.000003 | +| ape2d/fisher | 0.000003 | +| ape2d/gs_alpha | 0.003095 | +| ape2d/gs_beta | 0.004740 | +| ape2d/gs_delta | 0.019250 | +| ape2d/gs_epsilon | 0.001366 | +| ape2d/gs_gamma | 0.049313 | +| ape2d/gs_iota | 0.001785 | +| ape2d/gs_kappa | 0.004855 | +| ape2d/gs_theta | 0.004678 | +| ape2d/kdv | 0.016728 | +| ape2d/kolm_flow | 0.008926 | +| ape2d/ks | 0.000033 | +| ape2d/sh | 0.000004 | +| pdearena/navier_stokes_2d | 0.000083 | +| well/active_matter | 0.040528 | +| well/turbulent_radiative_layer_2D | 0.437292 | + +Selection basis: same physical operators; fixed81-case neural comparison + +Outcome: did not improve validation reward; retained current package. + +## E116 — locked hidden-feature dropout preparation + +Hypothesis: training regularization may improve the shared autoregressive member without injecting different random forcing at each forecast step. Only changed factor: dropout0.1 on the hidden GELU features in all14 CNext blocks, independent per example/channel, shared spatially and locked for every step of each microbatch. New independent mask seed20270211; sampling/noise20270118 and unused reflection RNG20270119 exactly match E106 control. Reuse that control; train only one1000-update no-reflection candidate after E115, full30/batch2x3/AdamW LR3e-5/noise.01/groups.05/.075/.075/.8. Pinned E101 width48 first member is trained; width96 and E072/E033 guides remain fixed. Inference has no masks, hooks, new parameters or code changes. Parent first SHA256 `1f24abcc814d6b2fff9a530b350ee4d8cffc8c80cb9374bfee6509c02ae0bd61`; same initial artifact as E106 `956092907d8d7d163de708e1be1c6fa7e5b369bbdc6954dc48178acf351efbc0`. Validate500/1000 on all9 thermal cases fresh, audit576 complete unchanged physical predictions, and compare full585 against current selection and matched control; repeat neural/unfamiliar inference before a win. Preflight used zero optimizer updates. Import-order failure before model/data access was fixed and archived. The original cross-process equality-to-historical-loss gate failed. An untouched E106 check-only rerun also differs from its historical loss under unchanged cuDNN benchmarkTrue. Direct constructor/mask global RNG checks and same-process complete30 forecasts with disabled hooks versus removed hooks are exact. Thus control parity is established directly without assuming cross-process kernel-choice reproducibility. No training hyperparameter, data, mask rule, inference arithmetic or selected checkpoint changed. The original failed preflight and untouched control rerun are retained; no optimizer updates occurred. Native B2/full30 control loss0.22610411047935486, grad13.41086483001709, peak30.020408153533936GiB; all gradients finite and parameters bit unchanged. Native B2/full30 dropout loss0.42838016152381897, grad19.64864158630371, peak29.972065925598145GiB; all gradients finite and parameters bit unchanged. All14 masks preserve identity across30 uses, global CPU/CUDA RNG is unchanged, eval/disabled paths exact, and new windows receive new masks. Validation per-dataset VRMSE: not yet applicable; training queued only after successful preflight. No pretrained/synthetic assets or held-out access. Preflight result SHA256 `0b3e68be1e806ba10c6da1a74423cd6ac4f2c72dc8d709f5eb1234a399a1e207`. + +## E117 — current ensemble error diagnosis + +All72 initial thermal TRAIN and9 initial thermal VALID trajectories, with fresh pool/native-input/native-target/official-score audits and exact TRAIN equal-member identity. Reuse cached E101 complete forecasts; no new inference, seed, coefficient fit, optimizer or selection. First member SHA256 `1f24abcc814d6b2fff9a530b350ee4d8cffc8c80cb9374bfee6509c02ae0bd61`, second `0c9c49ae6a7da1fbae8d3f21d94b26311467ba1fd991b59877c872973f1a6c23`. Exact float64 squared-error decomposition into mean, X profile, Y profile and interaction sums within1e-10. Overall TRAIN VRMSE 0.373624751216; VALID 0.436891175623. Other dataset metrics remain the selected E101 values. + +| Channel | TRAIN VRMSE | VALID VRMSE | TRAIN mean / X / Y / interaction shares | VALID shares | +|---|---:|---:|---|---| +| density | 0.15033264 | 0.17460174 | 0.0029 / 0.0265 / 0.0823 / 0.8883 | 0.0025 / 0.0302 / 0.0812 / 0.8862 | +| pressure | 0.76348992 | 0.88917316 | 0.1004 / 0.0243 / 0.1886 / 0.6868 | 0.2213 / 0.0206 / 0.2372 / 0.5209 | +| velocity_0 | 0.17302387 | 0.20265762 | 0.0128 / 0.0122 / 0.2134 / 0.7615 | 0.0152 / 0.0140 / 0.2498 / 0.7210 | +| velocity_1 | 0.40765257 | 0.48113218 | 0.0330 / 0.0783 / 0.0506 / 0.8381 | 0.0460 / 0.0852 / 0.0647 / 0.8041 | + +First-step errors are close across cohorts. Pressure VRMSE in steps13–30 is0.8539627 TRAIN versus1.0294060 VALID; the gap emerges during rollout. Mean plus Y-profile errors account for45.8473% of VALID pressure squared error versus28.8944% TRAIN. Mean pressure spatial-std ratio is0.5930 TRAIN /0.5866 VALID; centered spatial correlation0.6518 /0.5544. Reduced predicted variance is not by itself evidence that an amplitude increase would improve accuracy. All nine cooling regimes occur in both pools, and VALID is worse than its corresponding TRAIN mean in each regime; there is only one VALID trajectory per regime. This descriptive comparison supports investigating long-rollout generalization; it does not identify a causal mechanism or an optimal new parameter. Per-step/per-case metrics, hashes and viewed standalone PNG/SVG retained in ensemble_error_v1. Result SHA256 `5ac7251b77e04cdcfac28041cdad68d0e9a99b1eb79c3a72283a49aa0c7627db`. + +## E118 — persistent coarse feature memory preparation + +Hypothesis: a persistent feature memory may improve later rollout generalization beyond the four-frame state window. The E117 diagnosis motivates the late forecast question but does not prove missing memory is its cause. Only changed factor: a96-wide GRUCell per coarsest-grid location in first E101member, with LayerNorm288/inputLinear288to96/SiLU/GRU/outputLinear96to288. Output projection starts at zero;111840newparameters, initializationseed20270212 in an isolated CPU RNG fork. Original parameter values/order and CPU/CUDA noise RNG must remain unchanged. Memory is explicit local forecast state, zero at every case/translation/channelchunk/trainingmicrobatch and carried without detaching through all autoregressive steps. There is no inference-time parameter fitting. Both complete sharedmembers execute everycase; second96member andE072/E033guides stayfixed. Reuse E106 no-reflection control with identical seed20270118/sampler/noise/full30batch2x3/AdamW LR3e-5/schedule. If all preflight gates pass, train only one1000-update candidate after E116; select500/1000 throughfresh9thermal+strict576completephysicsreuse/full585currentbest+matchedcontrol/repeats. Required gates: original/secondweightidentity, constructorRNG, real temporal sensitivity/earlier-featuregradients, sixTRAIN/unfamiliar completezero-parent/repeatparity, full30B2finitebackward/nonzerooutputgrad/unchangedparameters/peakunder40GiB, strictsourceproof and correctpackageaccounting. Initial artifactSHA256 `28df2cb464ee1bacbe28dfe39a3097dc37104dccf64d6dcc19ec8111c700657b`, initialpackagedmain `adb5c975f045099677a9e8dbe7694d1e6c7d2a9c73edc18792360426550857dc`, completeensemble14037569parameters. These initial weights are a diagnostic prototype, never a selected candidate. Validation per-dataset VRMSE pending; no optimizer/VALID/queue until gatespass. No pretrained/synthetic assets. Protocol/source retained in temporal_memory_v1. + +## E119 — fixed temporal forecast filter TRAIN screen + +Hypothesis: centered temporal averaging may remove model-generated variation complementary to existing spatial/member averages. Pin E101 both members/guides/corrections; firstSHA256 `1f24abcc814d6b2fff9a530b350ee4d8cffc8c80cb9374bfee6509c02ae0bd61`, second `0c9c49ae6a7da1fbae8d3f21d94b26311467ba1fd991b59877c872973f1a6c23`. Onlychangedfactor: fixed0.25previous+0.5current+0.25next after the complete forecast, using last supplied context as previous forstep1, leaving the finalstep unchanged. All future values in this filter are the model’s own predictions. No fitted coefficients, extra inference, optimizer, newseed or sweep. Metadata eligibility is the four density/pressure/velocityfields withperiodicX/openY, independent ofdatasetname. Pilot original9initialTRAIN; require>=0.1%relative meanVRMSE gain and>=5/9improved. Ifpass, freeze and confirmother63TRAIN withsame>=0.1%/32of63gates, nofit. Only afterbothgatesmayportable/full585VALID/repeatchecksbeconsidered. Baselinecache/memberidentity/nativecontext/target/membership/officialscoreaudited. Validation per-dataset VRMSE not applicable yet; no model deployment. No synthetic/pretrained assets. Source/protocol in temporal_filter_v1. + +## E119 fixed temporal filter TRAIN result + +pilot 9TRAIN: officialVRMSE 0.37577541437035->0.40033387295036, 0/9improve, relativegain-6.53541%; gate fails. Reject this fixedfilter; no VALID or deploymentchange. No refitting, alternativekernel/sweep, newcheckpoint/seed/optimizer. Exactconstant/lineartrajectory checks and allTRAINaudits pass. ResultSHA256 `2d7e31e6e40b60073cb39b51f2a2e8952105b351a98d5085ba6f89673300fb3f`. + +## E118 temporal memory preflight result + +All six complete TRAIN/unfamiliar forecasts (including13channels and odd grids) equal E101 and an independent repeat exactly. Constructor CPU/CUDA RNG and strict second-member architecture/state are unchanged. A nonzero diagnostic memory output has real temporal sensitivity and nonzero gradient1.2679772964929725e-07 to earlier input features; diagnostic weights are not saved or deployed. Native thermalB2/full30 backward loss0.22639204561710358, totalgrad13.770532608032227, clipped memoryoutputgrad0.002742402022704482; all gradients finite/parameters bitunchanged/zerooptimizerupdates, peak30.22698402404785GiB. Original eager training may differ across processes under cuDNN benchmarkTrue; no historical trainingloss equality claim. Serving parity/repeats are exact. Strict complete-physical dependency/source proof and all10115TRAIN membership/indexhash checks pass. Privateinstaller preserves allinitialweights and secondmemberbytes, updatesmemberhash and14037569parametercount correctly. One1000-update memory arm may now queue after E116, with unchanged declared hyperparameters and reused E106control. No optimizer has started yet. Preflight SHA256 `6dd67de1ec87681b40bcfea9e103f32273c64090befb772f9c676e4ccf09e86d`. + +## E120 — Fourier horizon features in the shared guide + +Hypothesis: four sine/cosine frequency pairs may represent oscillatory future means/profiles better than the current six slowly varying time features. Onlychangedfactor:1536zero-initialized parameters project sin/cos(2*pi*[1,2,4,8]*horizon/30) into the first192-wide guide hidden feature. No new RNG draws or initializationseed; original parameters and constructorRNG remainexact. Same E101/E072 guideparentSHA256 `3b423a0afbb46bafc914d62daaf8611a1b30ae424b8c517d846cbb93d4d6578c`; bothmainmembers and allotherauxiliaries/corrections/blends fixed. Reuse completed E112control at2k/6k. Trainonlyone6kCPUcandidate withsame originalweights,seed20270202/dropout03/reflection04/periodic05,4threads,batch512,AdamW5e-5cosine,groups.1/.1/.1/.7,initial.5,dropout.1,periodicshift/eligible reflection.5 andfieldVRMSEobjective acrossall19datasets. Gate optimization on CPU/CUDA4group+unknown1/4/11zerooutput/oldweight/RNG/finitegradient/no-update checks and portablezero sixTRAIN/unknownparent/repeatparity+correctinstallation. Then select2k/6k usingfresh9thermalVALID,576completephysical only understrictsource/config/input/coverageproof,full585currentbest+matchedcontrolcomparison,neural/unfamiliar repeatsbeforewin. Auxiliary546123/fullensemble13927265parameters. No new optimizer yet; validation per-datasetVRMSE pending. No pretrained/synthetic/held-out assets or inference-time fitting. Protocol/source in fourier_time_v1. + +## E120 Fourier-time preflight result + +All10115TRAINmemberships audited. CPU/CUDA outputs exactly match the parent acrossfourgroups andunknown1/4/11channels, originalweights andconstructorRNG exact, finite nonzero newprojectiongradients and parameters unchanged withzerooptimizerupdates. Adaptergradientnorms 0.03553203221735819, 0.035531076354147706. Complete sixTRAIN/unfamiliar forecasts, including13channels/oddgrids, equal the E101parent and independentrepeat exactly. Installer preserves bothmainweightfiles and alloriginalauxiliaryparameters, reports546123auxiliary/13927265totalparameters and correcthashes. One6kCPUcandidate may now start under the declared protocol, reusingE112control; no inference or deploymentchange from this preflight. Portable resultSHA256 `02c86614018de53ddc37597fbbcea3e072f200105a899648c4f8e1e7d2a2dba7`. + +## Full validation of fourier_002000 + +All 585 validation trajectories, starting at frame 0; no held-out trajectories. Reward **0.781833**, failed cases 0. Neural initialization seed 20261021; sampling seed 20261106; checkpoint SHA256 `1f24abcc814d6b2fff9a530b350ee4d8cffc8c80cb9374bfee6509c02ae0bd61`. Same model as the corresponding quick-validation experiment; changed factor: expanded validation sample only. + +| Dataset | VRMSE | +|---|---:| +| ape2d/burgers | 0.007568 | +| ape2d/decay_turb | 0.000289 | +| ape2d/diff | 0.000003 | +| ape2d/fisher | 0.000005 | +| ape2d/gs_alpha | 0.003239 | +| ape2d/gs_beta | 0.004901 | +| ape2d/gs_delta | 0.022624 | +| ape2d/gs_epsilon | 0.000889 | +| ape2d/gs_gamma | 0.062780 | +| ape2d/gs_iota | 0.006619 | +| ape2d/gs_kappa | 0.008764 | +| ape2d/gs_theta | 0.019424 | +| ape2d/kdv | 0.024675 | +| ape2d/kolm_flow | 0.011662 | +| ape2d/ks | 0.000024 | +| ape2d/sh | 0.000005 | +| pdearena/navier_stokes_2d | 0.000081 | +| well/active_matter | 0.087494 | +| well/turbulent_radiative_layer_2D | 0.437447 | + +Exact reuse protocol for a shared-neural change: all physical assets/configuration match /run-state/workspace/research/output_ensemble_v1/validation. The source per-case log audit verifies552 complete corpus/smoke physical rollouts and24 complete active rollouts; all576 outputs have unchanged dependencies. For a shared latent-state head, those dependencies include neural weights, guide assets, postprocessing and serving configuration; neural-weight changes cannot reuse these active predictions. The nine neural radiative-layer outputs were replayed with exact context/metadata equality to full inputs and freshly scored with the official scorer. Reaggregate their official per-case scores and the576 audited unchanged per-case scores using the exact aggregation code extracted from the official scorer. Report provenance includes scorer/source-report hashes and the reuse audit. All585 prediction files are retained. This avoids rereading unchanged targets without approximating the metric. + +Outcome: recorded full validation for audit and comparison; no automatic comparison against the distinct quick-validation sample. + +## E120 — shared Fourier horizon features, update 2000 +- Hypothesis / changed factor: Fourier horizon features in shared mean/profile guide,update2000/6000,pinned E101 ensemble. Only new1536zero-initialized parameters project sin/cos(2*pi*[1,2,4,8]*horizon/30) into first192-wide hidden feature. No RNG draws for new initialization; original six time features and all output blends fixed. Reuse E112control: identical original guide weights,all19datasets/10115TRAINrecords,CPU4threads,batch512,AdamW5e-5cosine, reconstructed-field VRMSE,groups.1/.1/.1/.7,initial.5,dropout.1,periodic augmentation/reflection.5. Seeds sampling/dropout/reflection/periodic20270202/20270203/20270204/20270205; no redundant control training. Both complete mainmembers and everycase share the same statistical branch; other weights/corrections fixed. Training checkpointSHA256 a35b1e6adaf7b6163a43e57ab539e5e8adcf0ceb6630f70c85e9350ff9cae2eb, auxiliarySHA256 7271cfa191cf089c3dd2782362842cd69ff9262d53a01e39312ff47f0f602f33. Matched control full585reward 0.7818207793704589; candidate 0.7818325706365746. Fresh9thermalVALID+576audited complete unchanged physical outputs; full585 compared to actual current best. Exact neural/unfamiliar repeats beforewin. No pretrained/synthetic assets,held-out data or inference-time fitting. +- Seed: 20261106. +- Checkpoint SHA256: `1f24abcc814d6b2fff9a530b350ee4d8cffc8c80cb9374bfee6509c02ae0bd61`. +- Runtime code SHA256: `eaf972cd97209ad2db2ef63638d41a054adbe37540ce2cfc95134d8dc9b717d1`. +- Validation: fixed 81-case subset; reward **0.812610**, failed cases 0. + +| Dataset | VRMSE | +|---|---:| +| ape2d/burgers | 0.006413 | +| ape2d/decay_turb | 0.000381 | +| ape2d/diff | 0.000003 | +| ape2d/fisher | 0.000003 | +| ape2d/gs_alpha | 0.003095 | +| ape2d/gs_beta | 0.004740 | +| ape2d/gs_delta | 0.019250 | +| ape2d/gs_epsilon | 0.001366 | +| ape2d/gs_gamma | 0.049313 | +| ape2d/gs_iota | 0.001785 | +| ape2d/gs_kappa | 0.004855 | +| ape2d/gs_theta | 0.004678 | +| ape2d/kdv | 0.016728 | +| ape2d/kolm_flow | 0.008926 | +| ape2d/ks | 0.000033 | +| ape2d/sh | 0.000004 | +| pdearena/navier_stokes_2d | 0.000083 | +| well/active_matter | 0.040528 | +| well/turbulent_radiative_layer_2D | 0.437447 | + +Selection basis: same physical operators; fixed81-case neural comparison + +Outcome: did not improve validation reward; retained current package. + +## Full validation of fourier_006000 + +All 585 validation trajectories, starting at frame 0; no held-out trajectories. Reward **0.781851**, failed cases 0. Neural initialization seed 20261021; sampling seed 20261106; checkpoint SHA256 `1f24abcc814d6b2fff9a530b350ee4d8cffc8c80cb9374bfee6509c02ae0bd61`. Same model as the corresponding quick-validation experiment; changed factor: expanded validation sample only. + +| Dataset | VRMSE | +|---|---:| +| ape2d/burgers | 0.007568 | +| ape2d/decay_turb | 0.000289 | +| ape2d/diff | 0.000003 | +| ape2d/fisher | 0.000005 | +| ape2d/gs_alpha | 0.003239 | +| ape2d/gs_beta | 0.004901 | +| ape2d/gs_delta | 0.022624 | +| ape2d/gs_epsilon | 0.000889 | +| ape2d/gs_gamma | 0.062780 | +| ape2d/gs_iota | 0.006619 | +| ape2d/gs_kappa | 0.008764 | +| ape2d/gs_theta | 0.019424 | +| ape2d/kdv | 0.024675 | +| ape2d/kolm_flow | 0.011662 | +| ape2d/ks | 0.000024 | +| ape2d/sh | 0.000005 | +| pdearena/navier_stokes_2d | 0.000081 | +| well/active_matter | 0.087494 | +| well/turbulent_radiative_layer_2D | 0.437226 | + +Exact reuse protocol for a shared-neural change: all physical assets/configuration match /run-state/workspace/research/output_ensemble_v1/validation. The source per-case log audit verifies552 complete corpus/smoke physical rollouts and24 complete active rollouts; all576 outputs have unchanged dependencies. For a shared latent-state head, those dependencies include neural weights, guide assets, postprocessing and serving configuration; neural-weight changes cannot reuse these active predictions. The nine neural radiative-layer outputs were replayed with exact context/metadata equality to full inputs and freshly scored with the official scorer. Reaggregate their official per-case scores and the576 audited unchanged per-case scores using the exact aggregation code extracted from the official scorer. Report provenance includes scorer/source-report hashes and the reuse audit. All585 prediction files are retained. This avoids rereading unchanged targets without approximating the metric. + +Outcome: recorded full validation for audit and comparison; no automatic comparison against the distinct quick-validation sample. + +## E120 — shared Fourier horizon features, update 6000 +- Hypothesis / changed factor: Fourier horizon features in shared mean/profile guide,update6000/6000,pinned E101 ensemble. Only new1536zero-initialized parameters project sin/cos(2*pi*[1,2,4,8]*horizon/30) into first192-wide hidden feature. No RNG draws for new initialization; original six time features and all output blends fixed. Reuse E112control: identical original guide weights,all19datasets/10115TRAINrecords,CPU4threads,batch512,AdamW5e-5cosine, reconstructed-field VRMSE,groups.1/.1/.1/.7,initial.5,dropout.1,periodic augmentation/reflection.5. Seeds sampling/dropout/reflection/periodic20270202/20270203/20270204/20270205; no redundant control training. Both complete mainmembers and everycase share the same statistical branch; other weights/corrections fixed. Training checkpointSHA256 877cfd8ec306851d96688e857f6f3fef936c1bb3149b80ca11ef05ab89d86a3b, auxiliarySHA256 4c2095c6079a9fb0314412fb91d36d3582f4e2eec8f4bcb081829c8a55c501b7. Matched control full585reward 0.7818293241563412; candidate 0.7818508202363947. Fresh9thermalVALID+576audited complete unchanged physical outputs; full585 compared to actual current best. Exact neural/unfamiliar repeats beforewin. No pretrained/synthetic assets,held-out data or inference-time fitting. +- Seed: 20261106. +- Checkpoint SHA256: `1f24abcc814d6b2fff9a530b350ee4d8cffc8c80cb9374bfee6509c02ae0bd61`. +- Runtime code SHA256: `3b927b764ec5f2b644596bc4e8f190000abe902934223131e5fe1a9b3999df85`. +- Validation: fixed 81-case subset; reward **0.812628**, failed cases 0. + +| Dataset | VRMSE | +|---|---:| +| ape2d/burgers | 0.006413 | +| ape2d/decay_turb | 0.000381 | +| ape2d/diff | 0.000003 | +| ape2d/fisher | 0.000003 | +| ape2d/gs_alpha | 0.003095 | +| ape2d/gs_beta | 0.004740 | +| ape2d/gs_delta | 0.019250 | +| ape2d/gs_epsilon | 0.001366 | +| ape2d/gs_gamma | 0.049313 | +| ape2d/gs_iota | 0.001785 | +| ape2d/gs_kappa | 0.004855 | +| ape2d/gs_theta | 0.004678 | +| ape2d/kdv | 0.016728 | +| ape2d/kolm_flow | 0.008926 | +| ape2d/ks | 0.000033 | +| ape2d/sh | 0.000004 | +| pdearena/navier_stokes_2d | 0.000083 | +| well/active_matter | 0.040528 | +| well/turbulent_radiative_layer_2D | 0.437226 | + +Selection basis: same physical operators; fixed81-case neural comparison + +Outcome: did not improve validation reward; retained current package. + +## E120 descriptive auxiliary versus complete-rollout analysis + +All9 thermal VALID cases, no fitting or model selection in this analysis. The auxiliary-only field uses canonical unshifted context statistics and its predicted mean/axis profiles; complete rollout scores include both neural members, translations and all corrections. These are distinct computations. Exact native target interaction floor for axis-additive reconstruction is0.45076384; this diagnostic target projection is never used at inference. + +| Candidate | Auxiliary field VRMSE | Mean normalized absolute error | Profile normalized RMS error | Complete thermal VRMSE | +|---|---:|---:|---:|---:| +| parent | 0.5616377 | 0.12494179 | 0.25973191 | 0.43689118 | +| control_002000 | 0.56244575 | 0.12616602 | 0.25977492 | 0.4375891 | +| control_006000 | 0.56214908 | 0.1256348 | 0.26012361 | 0.4374858 | +| fourier_002000 | 0.56245266 | 0.12564692 | 0.26028531 | 0.43744656 | +| fourier_006000 | 0.56229385 | 0.1249025 | 0.26081413 | 0.43722603 | + +All checkpoint hashes, per-case/per-step values and standalone PNG/SVG retained in fourier_time_v1/analysis. This comparison does not establish a causal mechanism for the complete rollout. + +## E121 — extra neural grid-phase TRAIN screen + +Hypothesis: an extra outer periodic translation may reduce grid-phase error left by the current even-phase neural ensemble. Pin E101 firstSHA256 `1f24abcc814d6b2fff9a530b350ee4d8cffc8c80cb9374bfee6509c02ae0bd61`, second `0c9c49ae6a7da1fbae8d3f21d94b26311467ba1fd991b59877c872973f1a6c23`,allguides/corrections. Fixed candidate: average original complete forecast with inverse-shifted forecast from context shiftedround(X/128) alongperiodicX. No coefficient/shift sweep, optimizer, newseed or weights. Original innerfourtranslations unchanged. Pilot9initialthermalTRAIN,require>=0.1%relativegain and5/9improved; onlyifpassconfirmother63samefixedrule,>=0.1%/32of63gates,no refit. Thermalcaseshavezerophysicalcoverage, explicitly checked fromsuppliedmetadata. A futureportablecandidate mustpreserve the original E101physicalprefix exactly (includingitsfourphysicaltranslations) andaddonlyanotherneuralview, with everysharedmember appliedeverycase. No extra physicalintegration intended; partialprefix/chunk/source/determinism checks andfull585VALID remain mandatorybeforedeployment. Validation per-datasetVRMSE notapplicableyet. No pretrained/synthetic assets orheld-out access. Protocol/source in extra_phase_v1. + +## E121 extra neural phase TRAIN result + +pilot 9TRAIN: officialVRMSE 0.37577541437035->0.37544769497592, 6/9improve, relativegain0.0872115%; gate fails. Reject this fixed extra view; no VALID or deploymentchange. No refit, shift/kernel sweep,newweights/seed/optimizer. Pool/native/member/score/inverse-transform/no-physical-eligibility audits pass. ResultSHA256 `fb6c1a55e64582bad2c01b271aa7d165b297603ff9b96529abe88d8d9d87f10c`. + +## E122 — batched physical quadrature feasibility + +Hypothesis: integrate the three independent angular-state quadrature nodes together to reduce GPU launches. Only a leading node axis and per-node indexing/reductions change; original arithmetic, six flow iterations, substeps, decoder, seed20261026 and quadrature amplitude0.0001 remain fixed. Pin E101 mainSHA256 `1f24abcc814d6b2fff9a530b350ee4d8cffc8c80cb9374bfee6509c02ae0bd61`, second `0c9c49ae6a7da1fbae8d3f21d94b26311467ba1fd991b59877c872973f1a6c23`, kernel `cf75e10045f053d2774594b2423dfbf1c11fcbcbf9852849ab7f6c700bc18f7f`. + +Use only immutable audited TRAIN encoded states at zeta9/alpha-3 and zeta17/alpha-5, trajectory2 each. Require bit-exact initial transforms, flow and RHS, then all node states/streamfunctions/decoded outputs/guards/averages at every step of four intervals on both cases. Only if both pass, compare three alternating-order paired30-step runs on each. Reject this throughput-only change on any numerical mismatch; do not tune tolerances. For further development require >=10% median speed gain on both cases and faster batching in5/6 pairs. Shared H100 timings include state clones and decoding, not full-package throughput. No optimizer, new seed, new weights, VALID per-dataset scores or deployment. Cached files deserialize old TRAIN targets that this diagnostic does not access. Protocol and source hashes in quadrature_batch_v1. + +## E122 quadrature batching result + +Numerical gate fails; timing gate not passed. TRAIN zeta9/alpha-3/trajectory2 primitive differences {}; completed 1 paired runs. Median speed gains [], faster pairs 0/6 (only meaningful after numerical gate). Do not adopt or expand this throughput-only change. No tolerance adjustment, optimizer, new weights, VALID per-dataset scores or deployment. ResultSHA256 `bbbf542087fbe01ca9fb16985aa2dc6ea93b20c483abc234df17c787a5c7fa08`. + +## E123 — matched initial-window sampling preparation + +Hypothesis: allocating more main-network updates to initial windows may improve frame-zero forecast generalization. E085/E100b establish different window difficulty and nearly orthogonal initial/later gradients, not an optimal probability. Only changed factor is an independent2/3 frame-zero override after the original baseline start draw, increasing the explicit initial policy0.25 to0.75; uniform starts can also equal0. All original group/trajectory/baseline-start/periodic-shift/reflection RNG streams and noise RNG stay unchanged. Override seed20270213. Reuse E106 no-reflection control500/1000, same pinned E101 first48/fixed96/E072/E033, sampling/noise20270118, unusedreflection20270119, full30(corpus26/Arena10)batch2x3,LR3e-5/AdamW/schedule/noise0.01/groups.05/.075/.075/.8. No new parameters or inference code. Both complete members run every case. One1000-update arm queues after E118 only after80-window sampler/raw-source/RNG checks, all10115TRAIN memberships, unchanged installer/runtime and actual-parent nativeB2/full30 finite backward with unchanged weights/zero updates. Validate500/1000 with fresh9thermal+strict576completephysicsreuse/full585currentbest+matchedcontrol/repeats. Initial artifactSHA256 `956092907d8d7d163de708e1be1c6fa7e5b369bbdc6954dc48178acf351efbc0`, first `1f24abcc814d6b2fff9a530b350ee4d8cffc8c80cb9374bfee6509c02ae0bd61`, second `0c9c49ae6a7da1fbae8d3f21d94b26311467ba1fd991b59877c872973f1a6c23`. No optimizer or VALID result yet, no pretrained/synthetic assets or held-out access. Protocol/source in initial_sampling_v1; earlier E085b preparation remains untrained. + +E122 numerical detail: primitive FFT/flow/RHS checks all pass on the first TRAIN state, but decoded node output differs by7.7486038208e-7 at step1 and3.5464763641e-6 at step4; fixed average differs by4.1723251343e-7 and1.1622905731e-6 respectively. All values are finite and guards agree. This fails the predeclared exactness gate; the second case and30-step/timing expansion are not run. The four-step shared-device timings15.4593s sequential/10.4418s batch are not used to accept a numerically changed implementation. No source/tolerance/serving changes follow. + +## E123 initial-window sampling preflight result + +All10115TRAIN memberships pass. On80real windows across all four groups, disabled override equals untouched E106 exactly; candidate inputs/targets equal native slices/shifts and preserve every original group/trajectory/start/shift/reflection draw. Initial counts[31, 68], changed starts37; global Python/NumPy/Torch RNG unchanged. Native thermalB2/full30 backward loss0.19188666343688965, grad8.966861724853516, peak30.020387172698975GiB; all gradients finite, all parameters bit-unchanged, zero optimizer updates. Installer/runtime/second-member bytes and first state remain exact, memberhash correct,13925729 totalparameters. One1000-update arm now eligible to queue after E118, fixed protocol and reused E106control. No new trainer has started. Preflight resultSHA256 `44c23f25e5ef57b163ef7c86f86d18a3b3225d0641b85ac80c700adb34c92312`. + +## E124 — matched main VRMSE objective preparation + +Hypothesis: replacing the main log1p normalized squared error with the scored normalized RMSE may improve rollout reward because these objectives weight channel/step errors differently. Only changed factor: sqrt(MSE/(unbiased spatial targetvariance+1e-7)+1e-12), clamped at10 per channel/step before equal averaging. The fixed smoothing differs from exact VRMSE by at most1e-6 and gives finite derivatives at zero; no smoothing/loss sweep. Reuse E106 no-reflection control500/1000, same pinned E101 first48/fixed96/E072/E033, sample/noise20270118,unusedreflection20270119,initialpolicy0.25,full30(corpus26/Arena10)batch2x3,LR3e-5/AdamW/schedule/noise0.01/groups.05/.075/.075/.8. No new parameters, sampling changes, RNG draws or inference code. Both complete members run every case. One1000-update arm queues after E123 only after9auditedTRAIN official-score/native-target checks, zero/saturated finite gradients, unchanged disabled loss/RNG/model/sampler,all10115TRAIN memberships, correct ensemble installer and actual-parent nativeB2/full30 finite backward with unchanged weights/zero updates/peakunder40GiB. Validate500/1000 fresh9thermal+strict576completephysicsreuse/full585currentbest+matchedcontrol/repeats. Initial artifactSHA256 `956092907d8d7d163de708e1be1c6fa7e5b369bbdc6954dc48178acf351efbc0`, first `1f24abcc814d6b2fff9a530b350ee4d8cffc8c80cb9374bfee6509c02ae0bd61`, second `0c9c49ae6a7da1fbae8d3f21d94b26311467ba1fd991b59877c872973f1a6c23`. No optimizer or VALID result yet, no pretrained/synthetic assets or held-out access. Protocol/source in score_objective_v1. + +## E124 main VRMSE objective preflight result + +All10115TRAIN memberships pass;9audited native TRAIN target/context pairs match source slices. Training objective versus official cached forecast VRMSE differs by at most2.639444218743847e-12; disabled objective equals original exactly. Zero/saturated gradients are finite and zero, ordinary gradient positive; loss consumes no RNG. Native thermalB2/full30 backward loss0.44385552406311035, grad14.14299201965332, peak30.020387172698975GiB; all gradients finite, parameters bit-unchanged, zero optimizer updates. Original sampler/model/guidance sources, serving runtime, second member and initial main state remain exact. Privateinstaller memberhash/count13925729 correct. One1000-update arm may now queue after E123, same declared protocol and reused E106control. Preflight resultSHA256 `6cc37d1dac0c1e3eb7af73c33e05ac2a1d0408403aa373b70ab05386dae9c8b1`. + +## E125 — independent-stream physical quadrature feasibility + +Hypothesis: three independent CUDA streams can overlap original single-node physical kernels without the changed FFT/reduction shapes of E122. Only scheduling changes: three private original operators, unchanged kernelSHA256 `cf75e10045f053d2774594b2423dfbf1c11fcbcbf9852849ab7f6c700bc18f7f`, fixed quadrature1e-4/seed20261026/config. Pin E101 first `1f24abcc814d6b2fff9a530b350ee4d8cffc8c80cb9374bfee6509c02ae0bd61`, second `0c9c49ae6a7da1fbae8d3f21d94b26311467ba1fd991b59877c872973f1a6c23`; no new weights. + +Audit immutable TRAIN9/-3/trajectory2 and17/-5/trajectory2 encoded states. Require every node state, streamfunction, decoded field, guard decision and fixed-order average bit-exact/finite after each of four stored steps on both. Stop on mismatch, no tolerance change. Only if both pass, compare three alternating-order paired30-step runs per case with the same exactness gate. Further development requires>=10% median speed gain on each case and concurrent faster in5/6 pairs. Shared H100 timings include clones/decoding, exclude setup/context/neural work, and are not isolated throughput. Guards are compared after timing; a portable guarded rollout may synchronize more often. No optimizer, VALID per-dataset scores, held-out reads or deployment. Cached TRAIN targets deserialize but are not accessed. Protocol/source in quadrature_streams_v1. + +## E126 — symmetric moving-frame TRAIN screen + +Hypothesis: averaging small moving-coordinate-frame views may reduce shared neural forecast sensitivity. Pin E101 firstSHA256 `1f24abcc814d6b2fff9a530b350ee4d8cffc8c80cb9374bfee6509c02ae0bd61`, second `0c9c49ae6a7da1fbae8d3f21d94b26311467ba1fd991b59877c872973f1a6c23`, allguides/corrections/innertranslations. For supplied density/pressure/velocity fields with periodicX/openY, use sign±1: contextframe k rolls bysign*k Xcells and velocity_0 gains sign*Lx/(X*dt); inverse predictions use k4..33. Average original,+1,-1 completeforecasts equally in float64 thenfloat32, no coefficient fitting. + +Pilot9initialTRAIN requires>=0.1%relative gain and5/9improved; onlyifpassconfirmother63samefixedrule with>=0.1%/32of63. Check source/native/member/officialscore/metadata eligibility and exact integer inversion; velocity float32 roundtrip tolerance2eps*max(1,abs velocity,abs boost). Manufactured time-index/sign check is not training data. WaitE125 completion before fresh inference. No newweights/seed/optimizer/VALID. A futureportable candidate wouldpreserve original completephysicalprefix andaddonlyneural views, with unchanged sharedmodels on everycase and full585/repeat/source checks; noneisimplementedyet. Protocol/source in moving_frame_v1. + +E126 implementation correction before inference: audit JSON serialization rejected a NumPy float32 tolerance. Preserve the failed source/log/hash manifest and all prepared inputs/package under failed_serialization names; cast only the already computed tolerance to Python float. Its numerical value, transformed inputs, model, seed, gates and weights are unchanged. No forecast or score was produced before failure. Restart the same declared pilot, still waiting for E125 before GPU inference. + +## Full validation of control_000500 + +All 585 validation trajectories, starting at frame 0; no held-out trajectories. Reward **0.781841**, failed cases 0. Neural initialization seed 20261021; sampling seed 20270118; checkpoint SHA256 `a086fbfc38f5f997f3a6ffa7b8a8f89206d1958a07290f1c9b43e16fb6b10aa5`. Same model as the corresponding quick-validation experiment; changed factor: expanded validation sample only. + +| Dataset | VRMSE | +|---|---:| +| ape2d/burgers | 0.007568 | +| ape2d/decay_turb | 0.000289 | +| ape2d/diff | 0.000003 | +| ape2d/fisher | 0.000005 | +| ape2d/gs_alpha | 0.003239 | +| ape2d/gs_beta | 0.004901 | +| ape2d/gs_delta | 0.022624 | +| ape2d/gs_epsilon | 0.000889 | +| ape2d/gs_gamma | 0.062780 | +| ape2d/gs_iota | 0.006619 | +| ape2d/gs_kappa | 0.008764 | +| ape2d/gs_theta | 0.019424 | +| ape2d/kdv | 0.024675 | +| ape2d/kolm_flow | 0.011662 | +| ape2d/ks | 0.000024 | +| ape2d/sh | 0.000005 | +| pdearena/navier_stokes_2d | 0.000081 | +| well/active_matter | 0.087494 | +| well/turbulent_radiative_layer_2D | 0.437347 | + +Exact reuse protocol for a shared-neural change: all physical assets/configuration match /run-state/workspace/research/output_ensemble_v1/validation. The source per-case log audit verifies552 complete corpus/smoke physical rollouts and24 complete active rollouts; all576 outputs have unchanged dependencies. For a shared latent-state head, those dependencies include neural weights, guide assets, postprocessing and serving configuration; neural-weight changes cannot reuse these active predictions. The nine neural radiative-layer outputs were replayed with exact context/metadata equality to full inputs and freshly scored with the official scorer. Reaggregate their official per-case scores and the576 audited unchanged per-case scores using the exact aggregation code extracted from the official scorer. Report provenance includes scorer/source-report hashes and the reuse audit. All585 prediction files are retained. This avoids rereading unchanged targets without approximating the metric. + +Outcome: recorded full validation for audit and comparison; no automatic comparison against the distinct quick-validation sample. + +## E106 — main reflection control, update 500 +- Hypothesis / changed factor: Matched first-member continuation arm control, update500/1000, sampling/noise seed20270118 and independent reflection RNG20270119. Pinned E101 parent for both arms, width48 main trained on all19 datasets, fixed width96 member and E072/E033 guides. Only whole-window eligible horizontal reflection0.5 differs between arms; control consumes the same independent RNG without transforming. Full30 rollout (corpus26/Arena10),batch2x3,AdamW LR3e-5 cosine,noise0.01,groups.05/.075/.075/.8. Both complete members run every case with unchanged equal output weights, physics, translations and final corrections. No latent head in this pinned-parent experiment; no changes to phase10. Training checkpointSHA256 32e69aa36f35f8fc0dc51519c4719a213330b14b23e32e35f0006ce46abb7429, packaged first memberSHA256 a086fbfc38f5f997f3a6ffa7b8a8f89206d1958a07290f1c9b43e16fb6b10aa5. All9 changed thermal VALID forecasts fresh;576 complete physical predictions reused after unchanged source/config/input/coverage audit. Compare full585 against the actual current selected package; exact neural/unknown repeat checks precede a win. No pretrained or synthetic assets, held-out data or parameter fitting at inference. +- Seed: 20261106. +- Checkpoint SHA256: `a086fbfc38f5f997f3a6ffa7b8a8f89206d1958a07290f1c9b43e16fb6b10aa5`. +- Runtime code SHA256: `087b1a80f5bdd055700c84312cca54cc5773ad4f9a4d5fb39a9d3b5f98a1c633`. +- Validation: fixed 81-case subset; reward **0.812618**, failed cases 0. + +| Dataset | VRMSE | +|---|---:| +| ape2d/burgers | 0.006413 | +| ape2d/decay_turb | 0.000381 | +| ape2d/diff | 0.000003 | +| ape2d/fisher | 0.000003 | +| ape2d/gs_alpha | 0.003095 | +| ape2d/gs_beta | 0.004740 | +| ape2d/gs_delta | 0.019250 | +| ape2d/gs_epsilon | 0.001366 | +| ape2d/gs_gamma | 0.049313 | +| ape2d/gs_iota | 0.001785 | +| ape2d/gs_kappa | 0.004855 | +| ape2d/gs_theta | 0.004678 | +| ape2d/kdv | 0.016728 | +| ape2d/kolm_flow | 0.008926 | +| ape2d/ks | 0.000033 | +| ape2d/sh | 0.000004 | +| pdearena/navier_stokes_2d | 0.000083 | +| well/active_matter | 0.040528 | +| well/turbulent_radiative_layer_2D | 0.437347 | + +Selection basis: same physical operators; fixed81-case neural comparison + +Outcome: did not improve validation reward; retained current package. + +## E106 control descriptive paired analysis, update500 + +Thermal VRMSE: E101 parent0.4368911756234454, matched control0.43734695742255775, candidate0.43734695742255775. Candidate improves0/9 versus control and4/9 versus parent. Late steps13–30: control0.5258797683704173, candidate0.5258797683704173. Other576 official case results match E101 exactly. Descriptive only after full585 scoring/selection; no fit/new optimizer or model change. Nine thermal trajectories limit generalization claims. Per-case/channel/horizon results and unviewed standalone figures in matched_main_analysis_v1/reflection_training_v1_control_000500. CheckpointSHA256 `a086fbfc38f5f997f3a6ffa7b8a8f89206d1958a07290f1c9b43e16fb6b10aa5`, analysisSHA256 `23d63916472b8cb4a983524178891fb469ee699872f32ef6ee98a31c056b6605`. + +E106 control500 figure inspected:4/9 thermal cases improve versus E101; densityVRMSE0.17460174->0.17439273, pressure0.88917316->0.88966110, vx0.20265762->0.20312290, vy0.48113218->0.48221110. Steps1–5 rise0.26740730->0.26821558,6–12 rise0.32764430->0.33049928,13–30 fall0.52645492->0.52587977. Overall thermal0.4368911756->0.4373469574 andfullreward0.7818785482->0.7818408118, zero failures; E101 retained. Descriptive only; these small mixed changes do not establish why continuation failed. PNG/SVG now viewed. + +## E127 — context-conditioned damped modes in the shared guide + +Hypothesis: context-dependent frequencies and damping may predict broad temporal evolution better than fixed horizon features. E120 fixed-frequency results were negative; this tests the complete conditional decoder, not an isolated capacity-matched frequency claim. Add41760parameters: reuse original first guide layer with six zero time inputs for context; Linear192to96 yields32amplitudes/frequencyshifts/decays. Amplitudes tanh, basefrequencies2**linspace(-2,3,32) cycles/30steps modulatedbyexp(0.5*tanh(f)), positive decaysoftplus(d)+0.05. Dampedcosine-minus-one andsine features feedzero64to363output(no bias), added tooriginal normalizedmean/profile delta before its existinghorizon/30factor. Isolated CPU default-generator seed20270214 preserves originalCPU/CUDARNG/weights. Extra module has no dropout; originalthreeSiLU dropoutdraws unchanged. Auxiliary586347/fullensemble13967489parameters. Reuse E112control2k/6k andE072parentSHA3b423a0afbb46bafc914d62daaf8611a1b30ae424b8c517d846cbb93d4d6578c. One6kCPUarm,4threads,batch512,AdamW5e-5cosine,all19datasets/groups.1/.1/.1/.7,initial.5,fieldVRMSE,dropout.1/reflection.5/periodicaugmentation; seeds20270202/03/04/05. Both E101 mainmembers andotherweights/blendsfixed,guidecomputed everycase/member. Before optimizer require CPU/CUDA4group+unknown1/4/11zero-parent/RNG/oldweight/nonzerograd/unchangedparameter checks; an unsaved nonzero probe must showcontext/time dependence andhorizon0identity; sixcompleteTRAIN/unknown13channel/oddgridparent/repeatparity andcorrectinstaller. Select2k/6k viafresh9thermal+strict576completephysicsreuse/full585currentbest+matchedcontrol/repeats. No optimizer/VALID yet, no pretrained/synthetic assets orheld-out access. Protocol/source in context_modes_v1. + +## E127 conditional-modal preflight result + +All10115TRAIN memberships pass. CPU/CUDA zerooutputs equalparent acrossfourgroups andunknown1/4/11channels; originalweights andCPU/CUDAconstructorRNG exact. Nonzero unsavedprobe hascontext/horizondependence andexactzeroathorizon0. Newoutputgradientnorms 0.06172472836282498, 0.06172468270231952; allgradientsfinite,parametersunchanged,0optimizerupdates. Six completeTRAIN/unfamiliar forecasts including13channels/oddgrids equalE101parent andindependentrepeat exactly. Installerpreservesbothmainweights andalloriginalauxiliaryparameters,586347auxiliary/13967489totalparameters/correcthashes. One6kCPUarm is now eligible underfixedprotocol/reusedE112control. No selectedruntimechange. Portable resultSHA256 `5642a75cdc4630d0d5cb9dbdf174f5239c0ebc4bca24dc291627a75ffd553db5`. + +## Full validation of modal_002000 + +All 585 validation trajectories, starting at frame 0; no held-out trajectories. Reward **0.781848**, failed cases 0. Neural initialization seed 20261021; sampling seed 20261106; checkpoint SHA256 `1f24abcc814d6b2fff9a530b350ee4d8cffc8c80cb9374bfee6509c02ae0bd61`. Same model as the corresponding quick-validation experiment; changed factor: expanded validation sample only. + +| Dataset | VRMSE | +|---|---:| +| ape2d/burgers | 0.007568 | +| ape2d/decay_turb | 0.000289 | +| ape2d/diff | 0.000003 | +| ape2d/fisher | 0.000005 | +| ape2d/gs_alpha | 0.003239 | +| ape2d/gs_beta | 0.004901 | +| ape2d/gs_delta | 0.022624 | +| ape2d/gs_epsilon | 0.000889 | +| ape2d/gs_gamma | 0.062780 | +| ape2d/gs_iota | 0.006619 | +| ape2d/gs_kappa | 0.008764 | +| ape2d/gs_theta | 0.019424 | +| ape2d/kdv | 0.024675 | +| ape2d/kolm_flow | 0.011662 | +| ape2d/ks | 0.000024 | +| ape2d/sh | 0.000005 | +| pdearena/navier_stokes_2d | 0.000081 | +| well/active_matter | 0.087494 | +| well/turbulent_radiative_layer_2D | 0.437264 | + +Exact reuse protocol for a shared-neural change: all physical assets/configuration match /run-state/workspace/research/output_ensemble_v1/validation. The source per-case log audit verifies552 complete corpus/smoke physical rollouts and24 complete active rollouts; all576 outputs have unchanged dependencies. For a shared latent-state head, those dependencies include neural weights, guide assets, postprocessing and serving configuration; neural-weight changes cannot reuse these active predictions. The nine neural radiative-layer outputs were replayed with exact context/metadata equality to full inputs and freshly scored with the official scorer. Reaggregate their official per-case scores and the576 audited unchanged per-case scores using the exact aggregation code extracted from the official scorer. Report provenance includes scorer/source-report hashes and the reuse audit. All585 prediction files are retained. This avoids rereading unchanged targets without approximating the metric. + +Outcome: recorded full validation for audit and comparison; no automatic comparison against the distinct quick-validation sample. + +## E127 — context-conditioned guide modes, update 2000 +- Hypothesis / changed factor: Context-conditioned damped modes in shared guide,update2000/6000,pinned E101 ensemble. Add41760 parameters:32 context-conditioned amplitudes/frequencies/decays and a zero-initialized64-to363 output decoder. Isolated CPU seed20270214 preserves original CPU/CUDA RNG; reuse the first feature layer at zero time for conditioning. Original six time features/blends fixed. Reuse E112control: identical original guide weights,all19datasets/10115TRAINrecords,CPU4threads,batch512,AdamW5e-5cosine, reconstructed-field VRMSE,groups.1/.1/.1/.7,initial.5,dropout.1,periodic augmentation/reflection.5. Seeds sampling/dropout/reflection/periodic20270202/20270203/20270204/20270205; no redundant control training. Both complete mainmembers and everycase share the same statistical branch; other weights/corrections fixed. Training checkpointSHA256 13720a28f5783e427e78d190e4cfbad9cbe0c16a7bd2f657636565236df1f09d, auxiliarySHA256 5a6fc2a917512a417c900dcaa3cab61dcbeefa0702a5d62f5c4f6cbfd6779643. Matched control full585reward 0.7818207793704589; candidate 0.7818476782097061. Fresh9thermalVALID+576audited complete unchanged physical outputs; full585 compared to actual current best. Exact neural/unfamiliar repeats beforewin. No pretrained/synthetic assets,held-out data or inference-time fitting. +- Seed: 20261106. +- Checkpoint SHA256: `1f24abcc814d6b2fff9a530b350ee4d8cffc8c80cb9374bfee6509c02ae0bd61`. +- Runtime code SHA256: `fab2828eb9909050da2250ef346ef5dacf8814a4df00057f52dde118c7083bd7`. +- Validation: fixed 81-case subset; reward **0.812625**, failed cases 0. + +| Dataset | VRMSE | +|---|---:| +| ape2d/burgers | 0.006413 | +| ape2d/decay_turb | 0.000381 | +| ape2d/diff | 0.000003 | +| ape2d/fisher | 0.000003 | +| ape2d/gs_alpha | 0.003095 | +| ape2d/gs_beta | 0.004740 | +| ape2d/gs_delta | 0.019250 | +| ape2d/gs_epsilon | 0.001366 | +| ape2d/gs_gamma | 0.049313 | +| ape2d/gs_iota | 0.001785 | +| ape2d/gs_kappa | 0.004855 | +| ape2d/gs_theta | 0.004678 | +| ape2d/kdv | 0.016728 | +| ape2d/kolm_flow | 0.008926 | +| ape2d/ks | 0.000033 | +| ape2d/sh | 0.000004 | +| pdearena/navier_stokes_2d | 0.000083 | +| well/active_matter | 0.040528 | +| well/turbulent_radiative_layer_2D | 0.437264 | + +Selection basis: same physical operators; fixed81-case neural comparison + +Outcome: did not improve validation reward; retained current package. + +## Full validation of modal_006000 + +All 585 validation trajectories, starting at frame 0; no held-out trajectories. Reward **0.781843**, failed cases 0. Neural initialization seed 20261021; sampling seed 20261106; checkpoint SHA256 `1f24abcc814d6b2fff9a530b350ee4d8cffc8c80cb9374bfee6509c02ae0bd61`. Same model as the corresponding quick-validation experiment; changed factor: expanded validation sample only. + +| Dataset | VRMSE | +|---|---:| +| ape2d/burgers | 0.007568 | +| ape2d/decay_turb | 0.000289 | +| ape2d/diff | 0.000003 | +| ape2d/fisher | 0.000005 | +| ape2d/gs_alpha | 0.003239 | +| ape2d/gs_beta | 0.004901 | +| ape2d/gs_delta | 0.022624 | +| ape2d/gs_epsilon | 0.000889 | +| ape2d/gs_gamma | 0.062780 | +| ape2d/gs_iota | 0.006619 | +| ape2d/gs_kappa | 0.008764 | +| ape2d/gs_theta | 0.019424 | +| ape2d/kdv | 0.024675 | +| ape2d/kolm_flow | 0.011662 | +| ape2d/ks | 0.000024 | +| ape2d/sh | 0.000005 | +| pdearena/navier_stokes_2d | 0.000081 | +| well/active_matter | 0.087494 | +| well/turbulent_radiative_layer_2D | 0.437317 | + +Exact reuse protocol for a shared-neural change: all physical assets/configuration match /run-state/workspace/research/output_ensemble_v1/validation. The source per-case log audit verifies552 complete corpus/smoke physical rollouts and24 complete active rollouts; all576 outputs have unchanged dependencies. For a shared latent-state head, those dependencies include neural weights, guide assets, postprocessing and serving configuration; neural-weight changes cannot reuse these active predictions. The nine neural radiative-layer outputs were replayed with exact context/metadata equality to full inputs and freshly scored with the official scorer. Reaggregate their official per-case scores and the576 audited unchanged per-case scores using the exact aggregation code extracted from the official scorer. Report provenance includes scorer/source-report hashes and the reuse audit. All585 prediction files are retained. This avoids rereading unchanged targets without approximating the metric. + +Outcome: recorded full validation for audit and comparison; no automatic comparison against the distinct quick-validation sample. + +## E127 — context-conditioned guide modes, update 6000 +- Hypothesis / changed factor: Context-conditioned damped modes in shared guide,update6000/6000,pinned E101 ensemble. Add41760 parameters:32 context-conditioned amplitudes/frequencies/decays and a zero-initialized64-to363 output decoder. Isolated CPU seed20270214 preserves original CPU/CUDA RNG; reuse the first feature layer at zero time for conditioning. Original six time features/blends fixed. Reuse E112control: identical original guide weights,all19datasets/10115TRAINrecords,CPU4threads,batch512,AdamW5e-5cosine, reconstructed-field VRMSE,groups.1/.1/.1/.7,initial.5,dropout.1,periodic augmentation/reflection.5. Seeds sampling/dropout/reflection/periodic20270202/20270203/20270204/20270205; no redundant control training. Both complete mainmembers and everycase share the same statistical branch; other weights/corrections fixed. Training checkpointSHA256 ceeb818fc48f9cd173f6b6a15e11050e214bde49c182f27d28621242ebc5ff93, auxiliarySHA256 833d46bd76767f424bada214848b1f525c55fb38137d21ac02d24fa40a7044f4. Matched control full585reward 0.7818293241563412; candidate 0.7818432887454752. Fresh9thermalVALID+576audited complete unchanged physical outputs; full585 compared to actual current best. Exact neural/unfamiliar repeats beforewin. No pretrained/synthetic assets,held-out data or inference-time fitting. +- Seed: 20261106. +- Checkpoint SHA256: `1f24abcc814d6b2fff9a530b350ee4d8cffc8c80cb9374bfee6509c02ae0bd61`. +- Runtime code SHA256: `4fed78da43711bed8edfda60eecfdf9e01dd65ae6ce4c9cf3e1fde924c65e35f`. +- Validation: fixed 81-case subset; reward **0.812620**, failed cases 0. + +| Dataset | VRMSE | +|---|---:| +| ape2d/burgers | 0.006413 | +| ape2d/decay_turb | 0.000381 | +| ape2d/diff | 0.000003 | +| ape2d/fisher | 0.000003 | +| ape2d/gs_alpha | 0.003095 | +| ape2d/gs_beta | 0.004740 | +| ape2d/gs_delta | 0.019250 | +| ape2d/gs_epsilon | 0.001366 | +| ape2d/gs_gamma | 0.049313 | +| ape2d/gs_iota | 0.001785 | +| ape2d/gs_kappa | 0.004855 | +| ape2d/gs_theta | 0.004678 | +| ape2d/kdv | 0.016728 | +| ape2d/kolm_flow | 0.008926 | +| ape2d/ks | 0.000033 | +| ape2d/sh | 0.000004 | +| pdearena/navier_stokes_2d | 0.000083 | +| well/active_matter | 0.040528 | +| well/turbulent_radiative_layer_2D | 0.437317 | + +Selection basis: same physical operators; fixed81-case neural comparison + +Outcome: did not improve validation reward; retained current package. + +## E127 descriptive auxiliary versus complete-rollout analysis + +All9 thermal VALID cases, no fitting or model selection in this analysis. The auxiliary-only field uses canonical unshifted context statistics and its predicted mean/axis profiles; complete rollout scores include both neural members, translations and all corrections. These are distinct computations. Exact native target interaction floor for axis-additive reconstruction is0.45076384; this diagnostic target projection is never used at inference. + +| Candidate | Auxiliary field VRMSE | Mean normalized absolute error | Profile normalized RMS error | Complete thermal VRMSE | +|---|---:|---:|---:|---:| +| parent | 0.5616377 | 0.12494179 | 0.25973191 | 0.43689118 | +| control_002000 | 0.56244575 | 0.12616602 | 0.25977492 | 0.4375891 | +| control_006000 | 0.56214908 | 0.1256348 | 0.26012361 | 0.4374858 | +| modal_002000 | 0.56177743 | 0.12524239 | 0.25910797 | 0.43726399 | +| modal_006000 | 0.56154999 | 0.12426852 | 0.25932932 | 0.43731703 | + +All checkpoint hashes, per-case/per-step values and standalone PNG/SVG retained in context_modes_v1/analysis. This comparison does not establish a causal mechanism for the complete rollout. + +## E125 independent-stream quadrature result + +Numerical gate passes, timing gate passes. TRAIN{'zeta': 9, 'alpha': -3, 'trajectory': 2}: 4paired runs, maximum differences{'state': 0.0, 'psi': 0.0, 'decoded': 0.0, 'average': 0.0}. TRAIN{'zeta': 17, 'alpha': -5, 'trajectory': 2}: 4paired runs, maximum differences{'state': 0.0, 'psi': 0.0, 'decoded': 0.0, 'average': 0.0}. Median speed gains[0.2869366333359454, 0.20713581208897716], faster pairs6/6, shared H100/incomplete-package timing. Portable/full585/repeat/source checks still required before any selection. No optimizer, new weights, VALID scores or serving changes. ResultSHA256 `02e80c9d2b52946d2f75dc3a141a3361dc630c095b6e220668b49876858510ce`. + +## E128 — shared initial context encoder with fixed two-member rollouts + +A common initial context encoder from the all19 joint-state model may retain its active improvement while the fixed E101 members retain thermal accuracy. Changed factor: Add fixed context-encoder component evaluated every case, distinct translation and channel chunk; common state consumed by both fixed E101 members. Fixed encoder checkpoint SHA256 `0fc425a0cf92a0d25cc8beae5b2cb291cef63f56f6c17c7f9ebd84342e06848d`, seed20261127/physical20261128, update1000; both E101 main members and E072/E033 guides/coefficients unchanged. Total16992454 parameters. No new training, seed, synthetic or pretrained assets. Initial source/config audit restricts potential reuse to552 complete corpus/smoke cases; new context model/weight assets are included in the conservative latent dependency guard with mutation fixtures passing. Preflight and fresh33/full585 validation pending; no score or runtime claim. Protocol in shared_state_ensemble_v1/protocol.json. + +## E126 moving-frame TRAIN result + +pilot 9TRAIN: officialVRMSE 0.3757754143703486->0.43018241452106953, 0/9improve, relativegain-14.478594945304124%; gate fails. Reject this fixed view ensemble; no VALID or deployment change. Native/member/score/metadata/inverse-transform checks pass. No refit, transform/weight sweep, optimizer, newweights/seed or synthetic training. ResultSHA256 `4172a00636e713052d47f6cf0e9abdc25248ee43f15cea725dbc20d516b34865`. + +## E129 — guarded portable stream scheduling prototype + +E125 exact independent-stream scheduling may retain its benefit with real per-step guards, context encoding and learned shared initial state. Schedule original3single-node operators on3privateCUDAstreams; check original guard for each node each step and return common valid prefix. Original arithmetic, encoding, quadrature seed/scale, models and coefficients fixed. Fixed E128 common encoder SHA 0fc425a0cf92a0d25cc8beae5b2cb291cef63f56f6c17c7f9ebd84342e06848d; no new optimizer or seed. Gate: Fourstep bothTRAINcases then3alternating-order30step pairs percase; exact complete guarded operator outputs/prefixes, finite, including original learned context coefficients. Atleast10percent median gain each case and5of6wins including constructor/context/guards/decoding, sharedGPU timings only; exact portable package/repeat checks still required before deployment. No validation or deployment yet; sources/protocol in guarded_streams_v1. + +## E128 complete-package preflight + +Strict load and parameter counts pass: main48=3066627, main96=9526707, common context encoder=3066725, total16992454 including fixed guides. Six TRAIN/unfamiliar cases including13channels/oddgrids match the fixed E101 outputs off active matter and fixed phase10/1k outputs on active matter, with exact independent repeats. Partial spectral and kinetic prefixes preserve each member’s separate neural fallback exactly; physical work and initial context encoding are shared once per case/distinct shift/channel chunk, and case resets pass. No optimizer updates. Preflight SHA256 `d29ce9346a6a3c9fc5370d3f6596c5f0d8dd690080957fda25215f34274afdcf`. Fresh33/full585 validation starts under the fixed E128 protocol. + +## Full validation of eval001000 + +All 585 validation trajectories, starting at frame 0; no held-out trajectories. Reward **0.782451**, failed cases 0. Neural initialization seed 20261021; sampling seed 20261127; checkpoint SHA256 `0fc425a0cf92a0d25cc8beae5b2cb291cef63f56f6c17c7f9ebd84342e06848d`. Same model as the corresponding quick-validation experiment; changed factor: expanded validation sample only. + +| Dataset | VRMSE | +|---|---:| +| ape2d/burgers | 0.007568 | +| ape2d/decay_turb | 0.000289 | +| ape2d/diff | 0.000003 | +| ape2d/fisher | 0.000005 | +| ape2d/gs_alpha | 0.003239 | +| ape2d/gs_beta | 0.004901 | +| ape2d/gs_delta | 0.022624 | +| ape2d/gs_epsilon | 0.000889 | +| ape2d/gs_gamma | 0.062780 | +| ape2d/gs_iota | 0.006619 | +| ape2d/gs_kappa | 0.008764 | +| ape2d/gs_theta | 0.019424 | +| ape2d/kdv | 0.024675 | +| ape2d/kolm_flow | 0.011662 | +| ape2d/ks | 0.000024 | +| ape2d/sh | 0.000005 | +| pdearena/navier_stokes_2d | 0.000081 | +| well/active_matter | 0.085238 | +| well/turbulent_radiative_layer_2D | 0.441418 | + +Replayed and officially scored all24 active and all9 thermal VALID trajectories with this checkpoint. 24/24 active cases have a complete30-step physical prefix; any remainder is the same model’s neural fallback. Reused552 complete corpus/smoke outputs and their official per-case scores only after exact unaffected module/configuration comparison and serving-source normalization of the isolated latent-head plumbing. Per-case input/output hashes and solver coverage are in reuse_audit.json. The exact official aggregation code reassembles all585 case scores, with source-report/scorer hashes beside each report. Neural weights and guides affect active hidden-state inference, so no active output was reused. The quick81 report is an exact input/metadata-matched subset of these585 predictions. Selection requires full585 reports for candidate and current package. No held-out trajectories. + +Outcome: recorded full validation for audit and comparison; no automatic comparison against the distinct quick-validation sample. + +## E060 — joint hidden-state learning, update 1000 +- Hypothesis / changed factor: Joint shared-backbone/state-head training update1000/2000. Zero-initseed20261126, main samplingseed20261127 and physicalsamplingseed20261128. All19-dataset autoregressive objective, effectivebatch6/full30-step rollout plus native four-step differentiable moment-dynamics VRMSE every8 updates. Physical examples uniformly sample TRAIN parameter files then trajectories with even periodic shifts; all175 cache memberships and hashes audited. Same shared head computed for every case; bounded F6 correction0.01*c*(abs(F2)/c)^3*tanh(head), no parameter fitting at inference. HeadLR10x mainLR0.00003 cosine; fixed selected guides and unchanged three-node quadrature. Replay all24 active and9 thermal VALID trajectories for this checkpoint; reuse552 complete corpus/smoke predictions only after unaffected module/configuration/serving-source audit. Full585 comparison is mandatory; quick81 scores are logged only as the exact subset. No synthetic or pretrained assets. Exact active, neural and unfamiliar-schema repeat checks precede any winning publication. +- Seed: 20261127. +- Checkpoint SHA256: `0fc425a0cf92a0d25cc8beae5b2cb291cef63f56f6c17c7f9ebd84342e06848d`. +- Runtime code SHA256: `9616372e912d369c5aafd4fdf9d22e0b41d14da1de950142164f6d27ea064c39`. +- Validation: fixed 81-case subset; reward **0.813120**, failed cases 0. + +| Dataset | VRMSE | +|---|---:| +| ape2d/burgers | 0.006413 | +| ape2d/decay_turb | 0.000381 | +| ape2d/diff | 0.000003 | +| ape2d/fisher | 0.000003 | +| ape2d/gs_alpha | 0.003095 | +| ape2d/gs_beta | 0.004740 | +| ape2d/gs_delta | 0.019250 | +| ape2d/gs_epsilon | 0.001366 | +| ape2d/gs_gamma | 0.049313 | +| ape2d/gs_iota | 0.001785 | +| ape2d/gs_kappa | 0.004855 | +| ape2d/gs_theta | 0.004678 | +| ape2d/kdv | 0.016728 | +| ape2d/kolm_flow | 0.008926 | +| ape2d/ks | 0.000033 | +| ape2d/sh | 0.000004 | +| pdearena/navier_stokes_2d | 0.000083 | +| well/active_matter | 0.039602 | +| well/turbulent_radiative_layer_2D | 0.441418 | + +Selection basis: full585 physical-operator comparison: candidate0.78245076, current0.78187855 + +Outcome: improvement; published atomically. + +## E060 update1000 post-selection diagnostics + +Descriptive comparison to fixed E101:10/24 active trajectories improve, with benefits concentrated in harder/late continuations; all11 channel means improve. Active1-5 VRMSE.00220891734->.00219634689,6-12 .01257176304->.01240822077,13-30 .14032084538->.13662839389. Some regimes regress, including one zeta11/alpha-4 trajectory by.00911094 while another improves by.01554060; no parameter-specific adjustment is fitted. Thermal3/9improve, mean.43689117562->.44141826880;all4channelmeans worsen, velocity1 most. E101 versus joint-state model differs in joint training/head addition and presence of the second neural member, so no isolated capacity claim. Figure viewed; all24+9paired details in phase10/analysis001000/results.json SHA256 `7165bd5a12a15df8174126c7e956d4d4811452d0022bcc51ed1d63dbd3300d5f`. E128 separately tests the fixed common encoder plus original ensemble. + +## E130 — fixed statistical-decoder training loss + +Training the raw forecast while serving its fixed statistical correction may allocate gradients poorly. Scoring the corrected prediction may improve complete rollouts, while raw state remains the recurrent input. Original log1p normalized squared loss on the exact differentiable mean/profile correction at existing .5/.25 weights. Guides remain frozen and use the same original noisy context. No extra RNG or parameters. Coarse/momentum/density/support corrections remain outside this loss; no claim of full serving alignment. Same pinned E101 first48/fixed96/E072/E033 as reused E106 control500/1000; sample/noise20270118, unusedreflection20270119, full30(corpus26/Arena10), batch2x3, LR3e-5/originalAdamW/schedule/noise.01/groups.05/.075/.075/.8, initialpolicy.25. One1000step arm queues after E124 only after exact serving/disabled/RNG/gradient/source/TRAIN-membership/installer and nativeB2/full30 finite backward checks. Fresh9thermal+strict576completephysics/full585currentbest+matchedcontrol/repeats before any win. InitialartifactSHA256 `956092907d8d7d163de708e1be1c6fa7e5b369bbdc6954dc48178acf351efbc0`. Initial preparation stopped on an overbroad source-replacement assertion before tests, training or inference; archived files/log retained, replaced with three exact text matches and rerun. Scientific protocol unchanged. No optimizer/VALID result or serving changes yet, no new/pretrained/synthetic weights or held-out access. Protocol/source in statistical_loss_v1. + +## E130 statistical-decoder loss preflight + +All10115TRAIN memberships pass. Nine native TRAIN contexts/cached forecast arrays have exact serving-transform values, disabled raw identity, unchanged raw forecasts, finite nonzero raw gradients, frozen guide parameters and no RNG draws. Manufactured1/4/11channel, odd17x19 and all four boundary-pair combinations have expected constant-mode derivative.5 and directional derivative agreement. Native thermalB2/full30 backward loss0.2239142656326294, grad5.719268798828125, peak30.129805088043213GiB; all gradients finite, weights bit-unchanged, zero optimizer updates. Original sampler/model/guidance sources, serving runtime, second member and initial main state remain exact; privateinstaller memberhash/count13925729 correct. Fixed one1000-update arm may queue after E124, with reused E106control. PreflightSHA256 `6ac191b35f524cd9917b2605c17a4f4ba70494a641431c858a9b45410f233c5f`. + +## Full validation of control_001000 + +All 585 validation trajectories, starting at frame 0; no held-out trajectories. Reward **0.781999**, failed cases 0. Neural initialization seed 20261021; sampling seed 20270118; checkpoint SHA256 `9c14c8231f5e209ac3cae69d51d666b24525839d23f7d1e928c019a32b143fc1`. Same model as the corresponding quick-validation experiment; changed factor: expanded validation sample only. + +| Dataset | VRMSE | +|---|---:| +| ape2d/burgers | 0.007568 | +| ape2d/decay_turb | 0.000289 | +| ape2d/diff | 0.000003 | +| ape2d/fisher | 0.000005 | +| ape2d/gs_alpha | 0.003239 | +| ape2d/gs_beta | 0.004901 | +| ape2d/gs_delta | 0.022624 | +| ape2d/gs_epsilon | 0.000889 | +| ape2d/gs_gamma | 0.062780 | +| ape2d/gs_iota | 0.006619 | +| ape2d/gs_kappa | 0.008764 | +| ape2d/gs_theta | 0.019424 | +| ape2d/kdv | 0.024675 | +| ape2d/kolm_flow | 0.011662 | +| ape2d/ks | 0.000024 | +| ape2d/sh | 0.000005 | +| pdearena/navier_stokes_2d | 0.000081 | +| well/active_matter | 0.087494 | +| well/turbulent_radiative_layer_2D | 0.435436 | + +Exact reuse protocol for a shared-neural change: all physical assets/configuration match /run-state/workspace/research/output_ensemble_v1/validation. The source per-case log audit verifies552 complete corpus/smoke physical rollouts and24 complete active rollouts; all576 outputs have unchanged dependencies. For a shared latent-state head, those dependencies include neural weights, guide assets, postprocessing and serving configuration; neural-weight changes cannot reuse these active predictions. The nine neural radiative-layer outputs were replayed with exact context/metadata equality to full inputs and freshly scored with the official scorer. Reaggregate their official per-case scores and the576 audited unchanged per-case scores using the exact aggregation code extracted from the official scorer. Report provenance includes scorer/source-report hashes and the reuse audit. All585 prediction files are retained. This avoids rereading unchanged targets without approximating the metric. + +Outcome: recorded full validation for audit and comparison; no automatic comparison against the distinct quick-validation sample. + +## E106 — main reflection control, update 1000 +- Hypothesis / changed factor: Matched first-member continuation arm control, update1000/1000, sampling/noise seed20270118 and independent reflection RNG20270119. Pinned E101 parent for both arms, width48 main trained on all19 datasets, fixed width96 member and E072/E033 guides. Only whole-window eligible horizontal reflection0.5 differs between arms; control consumes the same independent RNG without transforming. Full30 rollout (corpus26/Arena10),batch2x3,AdamW LR3e-5 cosine,noise0.01,groups.05/.075/.075/.8. Both complete members run every case with unchanged equal output weights, physics, translations and final corrections. No latent head in this pinned-parent experiment; no changes to phase10. Training checkpointSHA256 ba75026cdd225fededa3ec66d29b3461b4a155c6d6537eddbc3a318316bab8e6, packaged first memberSHA256 9c14c8231f5e209ac3cae69d51d666b24525839d23f7d1e928c019a32b143fc1. All9 changed thermal VALID forecasts fresh;576 complete physical predictions reused after unchanged source/config/input/coverage audit. Compare full585 against the actual current selected package; exact neural/unknown repeat checks precede a win. No pretrained or synthetic assets, held-out data or parameter fitting at inference. +- Seed: 20261106. +- Checkpoint SHA256: `9c14c8231f5e209ac3cae69d51d666b24525839d23f7d1e928c019a32b143fc1`. +- Runtime code SHA256: `087b1a80f5bdd055700c84312cca54cc5773ad4f9a4d5fb39a9d3b5f98a1c633`. +- Validation: fixed 81-case subset; reward **0.812776**, failed cases 0. + +| Dataset | VRMSE | +|---|---:| +| ape2d/burgers | 0.006413 | +| ape2d/decay_turb | 0.000381 | +| ape2d/diff | 0.000003 | +| ape2d/fisher | 0.000003 | +| ape2d/gs_alpha | 0.003095 | +| ape2d/gs_beta | 0.004740 | +| ape2d/gs_delta | 0.019250 | +| ape2d/gs_epsilon | 0.001366 | +| ape2d/gs_gamma | 0.049313 | +| ape2d/gs_iota | 0.001785 | +| ape2d/gs_kappa | 0.004855 | +| ape2d/gs_theta | 0.004678 | +| ape2d/kdv | 0.016728 | +| ape2d/kolm_flow | 0.008926 | +| ape2d/ks | 0.000033 | +| ape2d/sh | 0.000004 | +| pdearena/navier_stokes_2d | 0.000083 | +| well/active_matter | 0.040528 | +| well/turbulent_radiative_layer_2D | 0.435436 | + +Selection basis: full585 physical-operator comparison: candidate0.78199933, current0.78245076 + +Outcome: did not improve validation reward; retained current package. + +## E106 control descriptive paired analysis, update1000 + +Thermal VRMSE: E101 parent0.4368911756234454, matched control0.4354355289580768, candidate0.4354355289580768. Candidate improves0/9 versus control and5/9 versus parent. Late steps13–30: control0.524151309630233, candidate0.524151309630233. Other576 official case results match E101 exactly. Descriptive only after full585 scoring/selection; no fit/new optimizer or model change. Nine thermal trajectories limit generalization claims. Per-case/channel/horizon results and unviewed standalone figures in matched_main_analysis_v1/reflection_training_v1_control_001000. CheckpointSHA256 `9c14c8231f5e209ac3cae69d51d666b24525839d23f7d1e928c019a32b143fc1`, analysisSHA256 `3c398f093de3c41ee4d9425feba6d50916099e1712e0d0b65f54143baf3ddbdb`. + +## E131 — continued shared rollouts with the fixed context encoder + +E106control1000 improves all four mean thermal channel errors and5of9cases, but lacks the new physical context encoder. Compose its continued shared rollout weights with the fixed E128 encoder to retain both improvements. Only E128 first-member weights replaced by E106control1000; second member, shared context encoder, E072/E033 guides, all source/config/blends and physical operators fixed. Every component still runs everycase. Firstmain SHA256 `9c14c8231f5e209ac3cae69d51d666b24525839d23f7d1e928c019a32b143fc1`, all19 continuation seed20270118/update1000; common encoder seed20261127/physical20261128/update1000, same E128 weights. No new optimization or seed. Wait for completed E128 fresh33/full585 and preflight. Fresh9thermal,576reuse only after private exact all-assets-except-mainweights equality and per-case complete-prefix/input/outputhash proof. Separate fixed encoder and guide run before main recurrence, so complete physical values do not consume changed main weights. No generic latent dependency guard relaxation. Full585/currentbest and exact neural/unfamiliar repeats before any win. Preflight/validation pending; no selectedruntimechange. Protocol in continued_state_ensemble_v1. + +## E131 composition preflight + +Six TRAIN/unfamiliar cases including13channels/oddgrids exactly match the declared continued-rollout computations off active matter and fixed E128 state computation on active matter. Independent repeats are exact. All runtime assets/configuration except the first main weights are byte-identical to E128, including separate encoder and both guides; parameter count16992454 and main checkpointSHA9c14c8231f5e209ac3cae69d51d666b24525839d23f7d1e928c019a32b143fc1 pass. No optimizer updates. Generic latent guard unchanged; a private complete-prefix proof is required for any reuse. PreflightSHA256 `ec1a45869c6406972c149fb06a4e0ba9041286bd92918dc5895797e16951db7a`. Wait for E128 full validation before fresh9/full585 comparison. + +## E060 TRAIN hidden-state magnitude diagnostic + +All175 audited TRAIN initial contexts and encoded initial states, canonical translation; no future target tensors accessed, no VALID fitting, optimizer or model change. Both1k/2k coefficients have0fraction |tanh|>.95. Raw absolute maxima.37600556/.43086243, mean raw absolute.03551412/.03631537; mean correctionRMS/concentration.0002474264/.0002452351. Mean1k/2k coefficientcosine.83007219. No evidence that output saturation limits these checkpoints, so retain fixed.01scale while declared longer-horizon supervision proceeds. Two-k packagedmainSHA `f05bcc0fd3bc3d8be547758d7eadec4fcb3f80215c86fdf33dbedba983bb5edd` differs from its optimizer-inclusive artifact hash. Figure viewed; resultSHA256 `443e8e2a2747b885989367b48093672aec9eeb6a42a4aaee371a733bf013610a`, sourceSHA `afb0be5f64ced053aa48380dc81473b42c354dd8c5abe67eded61eba4088a361`. + +## E129 conditional full-validation protocol + +After all original prototype timing/numerical gates and portable gates pass, run fresh24active+9thermal VALID and reconstruct full585 with an exact transitive552complete corpus/smoke reuse proof. Every fresh output must exactly match the declared original computation. Independent full physical/neural/unfamiliar repeats precede a win. Strict reward improvements use the standard recorder. A scheduling-only tie may be published only under the ledger lock when all585 per-case scores are identical, the current package is exactly the same encoder/main/guide model with sequential quadrature, all asset/config/source checks pass, and the fixed TRAIN timing and full-repeat gates pass. Higher reward always takes precedence. No whole-package/isolated speed claim, new parameters, fitting or seed. validation_protocol.json records this policy before full validation. Original prototype protocol/source hashes remain unchanged. + +## E132 — unresolved Gray–Scott state quadrature + +Unresolved initial spatial detail may contribute to late Gray-Scott error; fixed symmetric initial-state quadrature could reduce the conditional rollout error. Three fine-grid initial states: original and plus/minus unresolved noise. Per-channel amplitude equals RMS of the last deconvolved native frame in the outer spectral band(max axis frequency>=1/4). Noise contains only frequencies strictly above native Nyquist and within original fine-grid dealias mask, so it is in the observation nullspace. No fitted multiplier. Original solver arithmetic/configuration fixed (double,2xgrid,ETDRK2,maxdt.25). Own latent-noise seed20270220, fixed three equal nodes; no new learned weights or fitting. Pilot4: >=0.1% mean relative gain and3/4wins; only ifpass confirmfixed16:>=0.1% meanrelativegain and9/16wins. No amplitude/seed sweep or refit. Stop on a failed gate. Native TRAIN gamma/delta offsets0/1 pilot, then all8families offsets2/3 only ifgatepasses. Explicit initial-state path must reproduce original26-step output bitexactly and perturbations must vanish in the observation map to1e-12relative. Canonical physical-only diagnostic; complete-package/source/translation/repeat/fullVALID validation required before any future deployment. No pretrained/synthetic training assets or held-out access. Protocol/source in gs_uncertainty_v1. + +## E132 unresolved Gray–Scott state quadrature result + +Fixed pilot: {"baseline": 0.03546707955481508, "quadrature": 0.03547146759721941, "improved_cases": 2, "relative_improvement": -0.00012372155980729235, "passed": false}. Confirmation: null. Failed the declared TRAIN gate; no further validation or deployment. Original zero-state rollout is bit-exact, perturbations are below1e-12 in the observation map, native inputs/targets and TRAIN memberships audited. No fitting, amplitude/seed sweep, learned weights or synthetic training. Canonical physical-only study, not a whole-package result. ResultSHA256 `f194bf04dcdece44018bf255322644e736377fd4c13cd63b80cd6ad2c0d0c22d`. + +## E133 standard exponential midpoint integrator — frozen TRAIN screen + +Hypothesis: the current Gray–Scott discretization error depends on the second-order exponential stage choice; earlier time-step refinement worsened long forecasts. Change only c=1→c=1/2 in the order2 Gray–Scott substep, retain .25 internal step, double precision, 2x grid, finite observation filter, all coefficients and context3 initialization. Reuse eight E105 controls only after exact source/context/target/prediction/score audits; same gamma,delta,alpha,theta TRAIN offsets2/3, all26steps. Gate≥0.1% mean reduction and5/8wins before broader TRAIN confirmation. First require manufactured constant reaction ODE convergence order1.8–2.2 at .5/.25/.125 and unaffected PDE branches exact. Diagnostic seed20270221, otherwise deterministic/no seed; no new parameters, pretrained/synthetic training, VALID or held-out access. Canonical physical study only. Fixed protocol and source hashes in gs_midpoint_v1; selected mainSHA256 `0fc425a0cf92a0d25cc8beae5b2cb291cef63f56f6c17c7f9ebd84342e06848d`. No new per-dataset validation scores; outcome pending. + +## E133 Gray–Scott exponential midpoint TRAIN result + +{"control": 0.03417093699224983, "candidate": 0.03954175381269178, "relative_improvement": -0.15717499410859245, "improved_cases": 0, "confirmation_gate": false}. Failed the prespecified TRAIN gate; no broader confirmation, VALID or deployment. Control source, native TRAIN membership/context/target/prediction and recomputed scores all match E105 exactly. Standard exponential midpoint c=1/2 is the only changed factor; same .25 step, double precision and 2x grid. Manufactured reaction ODE confirms second-order convergence; unaffected branches exact. No fitting, new weights, synthetic training or held-out access. Seed none (manufactured diagnostic only20270221). Canonical physical-only comparison, no new per-dataset VALID scores. ResultsSHA256 `d5ddaf878e775d5319e12440540a0348a165d19a5a1eae8b1e714ae05c4c177b`; inherited mainSHA256 `0fc425a0cf92a0d25cc8beae5b2cb291cef63f56f6c17c7f9ebd84342e06848d`. + +## E129 guarded-stream prototype result + +Numerical gate True; timing gate True; median gains [0.24676188909594993, 0.32197048783840504], wins 6/6. Shared H100, includes physical constructor/graph setup, four-frame physical encoding, learned-state injection, per-step guards and decoding; excludes common neural encoder and full package translations/rollouts. Manufactured nonfinite/positive/moment guards, differing node prefix lengths, failed context and disabled path are exact. No optimizer, validation or deployment. Portable full-package checks and full585 comparison remain required. ResultSHA256 `a0865ab58fb3ed97127ebd29f0f60b482ee70139d835675caae95ae01adc0602`. + +## E134 wider member continuation — frozen protocol + +Pin E131 first48continued weights, fixed separate phase10/1k encoder and existing96 second member. Continue only the96 member for1000 updates on all19 TRAIN datasets, sample/noise seed20270222, full30 horizons, B1×6, LR3e-5, original AdamW/schedule/noise.01/groupweights.05/.075/.075/.8/initialprobability.25. Checkpoints500/1000 only; fixed E072 guide, no new augmentation, architecture, decoder or parameters. This is a continuation trial, not a matched width ablation. Native full30 no-update backward, all10115 TRAIN memberships and strict package/reuse mutation checks required before entering the sole-optimizer queue after E130. Fresh9 thermal VALID;576 complete physical cases reusable only under separate unchanged encoder/source/input/prefix proof after E131 finishes. Compare full585 to actual current best; exact neural/unfamiliar repeats before publication. No pretrained/synthetic training or held-out access. Initial secondSHA256 `0c9c49ae6a7da1fbae8d3f21d94b26311467ba1fd991b59877c872973f1a6c23`, firstSHA256 `9c14c8231f5e209ac3cae69d51d666b24525839d23f7d1e928c019a32b143fc1`, encoderSHA256 `0fc425a0cf92a0d25cc8beae5b2cb291cef63f56f6c17c7f9ebd84342e06848d`. No new per-dataset validation scores; preflight and training pending. Frozen source/protocol in wider_continuation_v1. + +## E134 actual wider-parent preflight passed + +Native128x384 TRAIN batch1/full30 loss0.21412253379821777, gradient norm14.239951133728027, peak28.343935012817383GiB; all gradients finite and every parameter unchanged, zero optimizer updates. All10115 TRAIN memberships and initial second parameter serialization exact; first model, separate state encoder, guides, runtime sources and configuration remain byte-identical. Eleven deliberate dependency mutations rejected. PreflightSHA256 `c51ed09b006802d68ddcc1fef2fd631d1a544836ace402c847e4333c6667f5a5`; initial artifactSHA256 `a76b06ac4e2b627b1a24f5c2cd18993e00133d39e7c21f96bf7ffc1caf548930`. No new per-dataset validation scores. One1000-update all19dataset arm remains queued after E130; fresh9/full585/current-best selection at500/1000. + +## E129 guarded-stream portable preflight + +All six TRAIN/unfamiliar cases including13channels/oddgrids exactly match the fixed E128 parent and independent repeats. Real CPU uniform-state fallback also matches the original sequential physical operator exactly; this is diagnostic input only, not synthetic training. Strict asset/config audit permits only the appended kinetic scheduling subclass and its enable flag; all neural/encoder/guide weights and code are identical. No parameters or optimizer updates added. Fresh all24 active VALID/full585/current-best and complete repeat checks remain required before any adoption. PreflightSHA256 `149a4248b7367fbf8fba2e19c039b8ab9deb7d5305965c911b3c76cf8c65c61f`. + +## E135 effective Gray–Scott step calibration — fixed TRAIN protocol + +Finer time steps and the alternative midpoint stage both worsened full26 TRAIN forecasts. Test prediction-error calibration of one fixed numerical step, without claiming improved integration accuracy. Five predeclared values.2/.225/.25/.275/.3, current.25 included; minimum mean on eight audited E105 TRAIN gamma/delta/alpha/theta offsets2/3, gate≥.1%relative gain and5/8wins. Preserve exact double2x-grid/full-stage ETDRK2, all coefficients, context3 initialization and observation map. Reuse.25 controls only after exact source/context/target/prediction/score audit. No grid expansion even if a boundary wins. Only if fitpasses, confirm the same scalar on16disjoint TRAIN trajectories, offsets4/5 ofall8GSfamilies, gate≥.1%relative gain and9/16wins, no refit. One numerical hyperparameter, no learned weights, seed or synthetic training. No VALID/held-out access; canonicalphysical study only. Both gates must pass before portable/complete-package/fullVALID/translation/repeat checks. MainSHA256 `0fc425a0cf92a0d25cc8beae5b2cb291cef63f56f6c17c7f9ebd84342e06848d`; source/protocol in gs_step_calibration_v1. No new per-dataset validation scores; outcome pending. + +## E135 conditional portable and full-validation gates prepared + +Only if the fixed fit and disjoint16TRAIN gates both pass: assemble the pinned phase10/1k package with exactly one configuration scalar changed. All model weights/source and otherconfig stay byte-identical. Nine complete TRAIN/unfamiliar contexts (three nativeGray-Scott, four existingTRAINgroups, two unknown13channel/oddgrid) must have finite correct shapes/exact repeats; all six non-Gray-Scott outputs must equal the parent. Six deliberate source/config mutations must be rejected. Then replay all176 Gray-Scott VALID cases with everytranslation. The409 unaffected outputs may reuse only through exact assets/config, pinned source proof thatgs_dt is read only in Gray-Scott constructor, suppliedmetadata exclusions, and input/output hashes/finite shape checks. This includes unchanged neural cases; generic guard remains conservative. Official full585/current-best selection plus fine-physics/unknown independent repeats before atomic publication. No new weights, fitting or held-out access. Allgate source hashes frozen separately before anyvalidation. + +## E135 effective Gray–Scott step calibration TRAIN result + +Fixed fit: {"means": {"0.2": 0.03915862705480342, "0.225": 0.035305174708624244, "0.25": 0.03417093699224983, "0.275": 0.032043870325495674, "0.3": 0.028760373847461974}, "selected_step": 0.3, "improved_cases": 7, "relative_improvement": 0.15833815578469515, "passed": true}. Disjoint confirmation: {"baseline": 0.0173681774328391, "candidate": 0.012282066516128131, "improved_cases": 12, "relative_improvement": 0.29284079670295976, "passed": true}. Both declared TRAIN gates passed; portable/source/full-VALID/repeat checks remain required before selection. All five fixed candidates retained, no boundary expansion or refitting on confirmation. Original controls/source/native inputs/targets/prediction hashes/scores exactly audited. One numerical hyperparameter, no new learned weights, seed, synthetic training or held-out access. Not an improved numerical-accuracy claim. No new per-dataset VALID scores. ResultsSHA256 `8212907045dca01e17b05d08e554211574bb49260b846891473d2003c310852e`; inherited mainSHA256 `0fc425a0cf92a0d25cc8beae5b2cb291cef63f56f6c17c7f9ebd84342e06848d`. + +## E135 descriptive TRAIN calibration analysis + +Disjoint confirmation family changes (candidate minus baseline VRMSE): {"ape2d/gs_alpha": -0.0008795930974711715, "ape2d/gs_beta": -0.0002792762809185143, "ape2d/gs_delta": -5.015477708922127e-05, "ape2d/gs_epsilon": -2.0801833857257528e-05, "ape2d/gs_gamma": -0.03738565409926984, "ape2d/gs_iota": 0.0008729878648211118, "ape2d/gs_kappa": -0.001388894167644223, "ape2d/gs_theta": -0.0015575009422586269}. Full calibration curve and confirmation per-family/horizon plots saved as standalone PNG/SVG in gs_step_calibration_v1/analysis. Figures initially unviewed. This reads already completed TRAIN metrics only; no refit, new optimizer or validation choice. AnalysisSHA256 `60a2dbc415e5e32070b57acf6d41a3ce0172ca0eb0af6398fc5456e2bfca07bf`. + +## E135 TRAIN figure inspection + +Viewed gs_step_calibration_v1/analysis/training_comparison.png. Confirmation12/16cases improve and mean.01736817743→.01228206652 (29.2841%reduction). Seven ofeight familymeans improve, with most absolute gain in gamma; iota worsens. Gains occur mainly after step10. The boundary winner.3 staysfixed and the search is not expanded. Both original TRAIN gates pass; this remains canonicalphysical TRAIN evidence. Portable nine-case/repeat checks are running before anyVALID. No new per-dataset validation score or selected modelchange. + +## Full validation of reflection_000500 + +All 585 validation trajectories, starting at frame 0; no held-out trajectories. Reward **0.781748**, failed cases 0. Neural initialization seed 20261021; sampling seed 20270118; checkpoint SHA256 `6f6bfa911bdd53cce4715591d96dec1e8c835f789eab8eea055fd94747a1009f`. Same model as the corresponding quick-validation experiment; changed factor: expanded validation sample only. + +| Dataset | VRMSE | +|---|---:| +| ape2d/burgers | 0.007568 | +| ape2d/decay_turb | 0.000289 | +| ape2d/diff | 0.000003 | +| ape2d/fisher | 0.000005 | +| ape2d/gs_alpha | 0.003239 | +| ape2d/gs_beta | 0.004901 | +| ape2d/gs_delta | 0.022624 | +| ape2d/gs_epsilon | 0.000889 | +| ape2d/gs_gamma | 0.062780 | +| ape2d/gs_iota | 0.006619 | +| ape2d/gs_kappa | 0.008764 | +| ape2d/gs_theta | 0.019424 | +| ape2d/kdv | 0.024675 | +| ape2d/kolm_flow | 0.011662 | +| ape2d/ks | 0.000024 | +| ape2d/sh | 0.000005 | +| pdearena/navier_stokes_2d | 0.000081 | +| well/active_matter | 0.087494 | +| well/turbulent_radiative_layer_2D | 0.438464 | + +Exact reuse protocol for a shared-neural change: all physical assets/configuration match /run-state/workspace/research/output_ensemble_v1/validation. The source per-case log audit verifies552 complete corpus/smoke physical rollouts and24 complete active rollouts; all576 outputs have unchanged dependencies. For a shared latent-state head, those dependencies include neural weights, guide assets, postprocessing and serving configuration; neural-weight changes cannot reuse these active predictions. The nine neural radiative-layer outputs were replayed with exact context/metadata equality to full inputs and freshly scored with the official scorer. Reaggregate their official per-case scores and the576 audited unchanged per-case scores using the exact aggregation code extracted from the official scorer. Report provenance includes scorer/source-report hashes and the reuse audit. All585 prediction files are retained. This avoids rereading unchanged targets without approximating the metric. + +Outcome: recorded full validation for audit and comparison; no automatic comparison against the distinct quick-validation sample. + +## E106 — main reflection reflection, update 500 +- Hypothesis / changed factor: Matched first-member continuation arm reflection, update500/1000, sampling/noise seed20270118 and independent reflection RNG20270119. Pinned E101 parent for both arms, width48 main trained on all19 datasets, fixed width96 member and E072/E033 guides. Only whole-window eligible horizontal reflection0.5 differs between arms; control consumes the same independent RNG without transforming. Full30 rollout (corpus26/Arena10),batch2x3,AdamW LR3e-5 cosine,noise0.01,groups.05/.075/.075/.8. Both complete members run every case with unchanged equal output weights, physics, translations and final corrections. No latent head in this pinned-parent experiment; no changes to phase10. Training checkpointSHA256 173133a54bce811014115a5c18d4d9c2d86c3e56de3b14f11b2e099d4612c197, packaged first memberSHA256 6f6bfa911bdd53cce4715591d96dec1e8c835f789eab8eea055fd94747a1009f. All9 changed thermal VALID forecasts fresh;576 complete physical predictions reused after unchanged source/config/input/coverage audit. Compare full585 against the actual current selected package; exact neural/unknown repeat checks precede a win. No pretrained or synthetic assets, held-out data or parameter fitting at inference. +- Seed: 20261106. +- Checkpoint SHA256: `6f6bfa911bdd53cce4715591d96dec1e8c835f789eab8eea055fd94747a1009f`. +- Runtime code SHA256: `087b1a80f5bdd055700c84312cca54cc5773ad4f9a4d5fb39a9d3b5f98a1c633`. +- Validation: fixed 81-case subset; reward **0.812526**, failed cases 0. + +| Dataset | VRMSE | +|---|---:| +| ape2d/burgers | 0.006413 | +| ape2d/decay_turb | 0.000381 | +| ape2d/diff | 0.000003 | +| ape2d/fisher | 0.000003 | +| ape2d/gs_alpha | 0.003095 | +| ape2d/gs_beta | 0.004740 | +| ape2d/gs_delta | 0.019250 | +| ape2d/gs_epsilon | 0.001366 | +| ape2d/gs_gamma | 0.049313 | +| ape2d/gs_iota | 0.001785 | +| ape2d/gs_kappa | 0.004855 | +| ape2d/gs_theta | 0.004678 | +| ape2d/kdv | 0.016728 | +| ape2d/kolm_flow | 0.008926 | +| ape2d/ks | 0.000033 | +| ape2d/sh | 0.000004 | +| pdearena/navier_stokes_2d | 0.000083 | +| well/active_matter | 0.040528 | +| well/turbulent_radiative_layer_2D | 0.438464 | + +Selection basis: full585 physical-operator comparison: candidate0.78174849, current0.78245076 + +Outcome: did not improve validation reward; retained current package. + +## E106 reflection descriptive paired analysis, update500 + +Thermal VRMSE: E101 parent0.4368911756234454, matched control0.43734695742255775, candidate0.4384640890480074. Candidate improves4/9 versus control and5/9 versus parent. Late steps13–30: control0.5258797683704173, candidate0.5278449489792204. Other576 official case results match E101 exactly. Descriptive only after full585 scoring/selection; no fit/new optimizer or model change. Nine thermal trajectories limit generalization claims. Per-case/channel/horizon results and unviewed standalone figures in matched_main_analysis_v1/reflection_training_v1_reflection_000500. CheckpointSHA256 `6f6bfa911bdd53cce4715591d96dec1e8c835f789eab8eea055fd94747a1009f`, analysisSHA256 `ce8057afeabeae4417b500f3223d2aa8f71d233011de73dd565d8b222e526ab0`. + +## E136 spatial variance profiles — feature feasibility + +Hypothesis: within-bin spatial variance may locate fluctuations absent from global variance and marginal mean profiles. First implement observation-only16-bin population variances along both axes, float64centered accumulation/float32storage, and test exactconstantzero/directbin semantics/signedreflection/periodic-bintranslations includingoddandtinyegrids. Diagnosticseed20270223; manufacturedfields are checks only, not synthetictraining. Afterchecks, extract all10115 audited TRAIN cache records with2CPUworkers, exactmembership/index/sourcearray/derivedfeaturehashes; samecachegridsasoriginalmean/profiletraining, nativethermal128x384, someotherfamiliescoarsened. No VALID/held-out data. Proposedlatermodel iszero-output sharedfeatureprojection/all19datasetcontinuation, but noarchitecture/training/selectionprotocoloroptimizerlaunchedyet. ExistingE072meanSHA256 `3b423a0afbb46bafc914d62daaf8611a1b30ae424b8c517d846cbb93d4d6578c` unchanged. No new per-dataset validation scores. Source/cacheprotocol in variance_profile_v1. + +## E106 reflection500 paired figure inspection + +Viewed matched_main_analysis_v1/reflection_training_v1_reflection_000500/paired.png. ThermalVRMSE.43846408905 versus matchedcontrol.43734695742 andE101.43689117562;4/9cases improve vscontrol. Density/vxmeanerror improve slightly, pressure/vy worsen; late13–30 .52784494898 versus.52587976837. Full585reward.78174848508,zero failures, allother576case scores exact. MainSHA256 `6f6bfa911bdd53cce4715591d96dec1e8c835f789eab8eea055fd94747a1009f`. This checkpoint remainsunselected; planned1000updatearm continues unchanged. + +## E136 variance-feature implementation checks + +Five manufactured1/4/11channel cases includingnative128x384,odd17x19andtiny7x11 pass directwithin-bin populationvariance, signedreflection and periodicwhole-bintranslation checks. Constantsgiveexactzero; NumPyTRAINcache andTorchserving extractorsagree within2e-6 ofeachchannel globalvariance (observed errors infeature_checks.json). No benchmark data were read bychecks; seed20270223, no synthetictraining or optimizer. FeaturecheckSHA256 `f825cfae802f2f090e824e8ff7c5b2d196f4ac98b4f3c88bfdda3b41b5197680`. TwoCPUworker extraction now starts fromall10115auditedTRAINcache records; futuremodel/trainingprotocolstillunimplemented. NoVALIDscore or selectedmodelchange. + +## E136 TRAIN variance-feature cache complete + +All10115 TRAIN record identities, nonnegative finite derived values, per-record array hashes and unusedpaddingzeros verified. Thirty-eight real four-frame contexts (initial and final eligible windows in eachof19datasets) match the Torchserving extractor within2e-6 ofper-channel globalvariance. Extraction used2CPUworkers and79.0504790309351seconds. Existing statistical-training grids retained, native thermal128x384; no native-variance parity claim for other downsampled families. CacheSHA256 `d640948acf9a5ea56930a3d512ff69f4891ae4b0b7f9046984fbbc35e3fd4e50`, checkSHA256 `4a78197280b1d904f3a0b5faee2bf5716eaebf74aa0310435f8976ad6f33efb7`. No model modifications, optimizer updates or VALID scores yet; this is feature/data feasibility only. + +## E135 portable preflight + +Nine full-package TRAIN/unfamiliar cases pass finite/shape and exact repeat checks; all six non-Gray-Scott cases exactly match the pinned parent, including13channels/oddgrids. Three native Gray-Scott TRAIN contexts use the calibrated fixed step. Six deliberate dependency/configuration mutations rejected. Only spectral_options.gs_dt changes, every runtime asset and learned parameter is identical. Supplied metadata must exclude Gray Scott before any VALID reuse. Generic conservative dependency guard unchanged. No VALID targets or new optimization; preflightSHA256 `c3137eabd4c748a60f2e7eb487b14ffe8c868092f800fbc06bb43c13120620df`. Fresh all Gray-Scott VALID plus exact unaffected reuse/full585/current-best and repeat gates remain required. + +## E135 validation cohort bookkeeping correction + +The metadata-selected cohort contains72 Gray-Scott VALID cases and513 others, not the expected176/409. The initial validator stopped on that count assertion before anyinference, prediction files orscores. The scientific predicate is unchanged: replayeverycase withsuppliedpde="Gray Scott" andprove allother computations unchanged. Only count assertions, their descriptions and corresponding source hashes corrected; originalsource/log/protocols andfailedrun retained under validation_failed_case_count. TRAIN-selectedstep.3, allweights/config, bothTRAINgates andnine portableparity/repeatchecks unchanged. Actualfamilycounts10/10/8/10/10/8/8/8 in count_correction.json, no held-out access. Restart fresh all72Gray-Scott VALID plus strict513unchanged/full585/current-best/repeat selection. + +## E136 zero-initialized variance-feature projection prepared + +Add270336 exact-zero weights into the existing E072 shared mean/profile network firstpreactivation: fourobservedframes of16-bin localvariances, log1pnormalized byexistingcontextscale squared, padded to11channels. NoextraRNGdraw; missingfeaturesretainoldpath. Observation-only helper expands acrosshorizons, everycaseuses sameweights. Intended guidecount814923; nooptimizer, portablecandidateorVALIDyet. ParentmeanSHA256 `3b423a0afbb46bafc914d62daaf8611a1b30ae424b8c517d846cbb93d4d6578c`, diagnosticseed20270223; newparametersarezeros. Architecture/sourceprotocol frozen in variance_profile_v1/architecture_protocol.json beforezero/gradientchecks. All10115TRAIN variance-cachechecks already pass;38contexts includeinitialandlastfourobservations only (no futureforecast implied). + +## E136 model-level zero/gradient checks passed; portable gate prepared + +CPUandCUDAforecasts exactly matchE072 acrossfourTRAINgroups andthreeunknown1/4/11channel odd/tinycontexts (14comparisons). Originalweights/constructorCPU RNG and missing-feature path exact; new270336weights remainzero, finite nonzero projectiongradientnorm265.8154602 underan unnormalized diagnosticloss. No optimizerupdates orforecast-accuracyclaim. Guide814923parameters; completeE101package14196065. CheckSHA256 `c9bcc939559161b851347102c4d4f3e84c73ac68e8640faa2a27f1eb31f836d7`. Privateinstaller/preflightpackage nowprepared to test six completeTRAIN/unfamiliar forecasts andindependentrepeats againstcached E101 afterfreshsource/input audits. Bothmain checkpoints/coarseguide/sourcefixed; onlyshared meanmodel/weights+variancehelper/configflagchange. Zero artifacts arediagnostics, notselectioncandidates. Futuretrainingprotocolstillpending. + +## E136 — context variance profiles: checks passed, matched CPU continuation started + +Hypothesis: variance within each spatial marginal bin supplies information about fluctuations that global variance and mean profiles omit. The common statistical guide adds a zero-initialized projection of four-frame, channel-normalized log variance profiles into its existing first hidden layer. This adds 270,336 parameters; guide total 814,923, complete pinned E101 ensemble total 14,196,065. The guide is evaluated for every case. Parent auxiliary SHA256 `3b423a0afbb46bafc914d62daaf8611a1b30ae424b8c517d846cbb93d4d6578c`. No pretrained assets or synthetic training. + +All 10,115 TRAIN cache records align with the original statistics. Model checks preserve original weights, constructor RNG and CPU/GPU forecasts at initialization. The actual old/new sampling code produces identical common tensors and NumPy/Torch RNG states for four batches of 512. Thirty-two transformed raw TRAIN contexts agree with the variance cache, using only the four context frames. A real 512-example training batch, including dropout, matches the original forecast and dropout RNG exactly at zero initialization; loss 0.72818171978, new projection gradient norm 0.0681299523782, finite gradients, no updates in these checks. Complete packaged predictions and repeats match the parent for all six TRAIN/unknown inputs, including 13-channel chunking and odd grids. The narrow no-latent physical reuse proof passes and rejects 13 deliberate runtime/config mutations. + +One CPU run, 6,000 updates, four threads, batch 512, AdamW 5e-5 with the original cosine schedule, all 19 datasets, original reconstructed-field objective. Sampling/dropout/reflection/periodic seeds 20270202/20270203/20270204/20270205; groups .1/.1/.1/.7, initial-context probability .5, dropout .1, eligible reflection .5. Reuse existing E112 controls without retraining. Validate fixed 2,000/6,000 checkpoints with nine fresh thermal rollouts and 576 proved complete unchanged physical outputs, aggregate all 585 and compare with the current selected package. New guide features would affect learned physical encoders in later packages; this proof applies only to the pinned E101 no-latent parent. + +Protocol SHA256 `01436fcd2fcbec6e21aea27a441c623fe7b4baa40882f278feb94f494bfe380a`; sampler checks `f12df910d1cc9bef380be10d6820e646957449b4cbe3e6c081046e618f702023`; portable checks `4493fbaf2e5f2c4c4e07c0bc5ae984043e06bc61209e40fc8591d2776716d0d9`; reuse checks `68962c759ee9b904d584e8da41e78f931ba6639c61a6bac9f3abcf3ce1a2a07d`. VALID VRMSE: pending. Outcome: checks passed; one candidate optimizer launched. No selection result yet. + +Conservative infrastructure change: `variance_features.py` is now included in latent runtime dependency detection and package code hashing. Three equal/changed/missing-helper fixtures pass; this broadens dependency detection and does not relax the shared latent-state guard. Selected model parameters remain unchanged. + +## Full validation of variance_002000 + +All 585 validation trajectories, starting at frame 0; no held-out trajectories. Reward **0.781787**, failed cases 0. Neural initialization seed 20261021; sampling seed 20261106; checkpoint SHA256 `1f24abcc814d6b2fff9a530b350ee4d8cffc8c80cb9374bfee6509c02ae0bd61`. Same model as the corresponding quick-validation experiment; changed factor: expanded validation sample only. + +| Dataset | VRMSE | +|---|---:| +| ape2d/burgers | 0.007568 | +| ape2d/decay_turb | 0.000289 | +| ape2d/diff | 0.000003 | +| ape2d/fisher | 0.000005 | +| ape2d/gs_alpha | 0.003239 | +| ape2d/gs_beta | 0.004901 | +| ape2d/gs_delta | 0.022624 | +| ape2d/gs_epsilon | 0.000889 | +| ape2d/gs_gamma | 0.062780 | +| ape2d/gs_iota | 0.006619 | +| ape2d/gs_kappa | 0.008764 | +| ape2d/gs_theta | 0.019424 | +| ape2d/kdv | 0.024675 | +| ape2d/kolm_flow | 0.011662 | +| ape2d/ks | 0.000024 | +| ape2d/sh | 0.000005 | +| pdearena/navier_stokes_2d | 0.000081 | +| well/active_matter | 0.087494 | +| well/turbulent_radiative_layer_2D | 0.437996 | + +Exact reuse protocol for a shared-neural change: all physical assets/configuration match /run-state/workspace/research/output_ensemble_v1/validation. The source per-case log audit verifies552 complete corpus/smoke physical rollouts and24 complete active rollouts; all576 outputs have unchanged dependencies. For a shared latent-state head, those dependencies include neural weights, guide assets, postprocessing and serving configuration; neural-weight changes cannot reuse these active predictions. The nine neural radiative-layer outputs were replayed with exact context/metadata equality to full inputs and freshly scored with the official scorer. Reaggregate their official per-case scores and the576 audited unchanged per-case scores using the exact aggregation code extracted from the official scorer. Report provenance includes scorer/source-report hashes and the reuse audit. All585 prediction files are retained. This avoids rereading unchanged targets without approximating the metric. + +Outcome: recorded full validation for audit and comparison; no automatic comparison against the distinct quick-validation sample. + +## E136 — context variance profiles, update 2000 +- Hypothesis / changed factor: E136 shared variance-profile continuation, update2000/6000, pinned E101 complete ensemble. All19 datasets/10115TRAIN records, CPU4threads,batch512,AdamW5e-5cosine,original reconstructed-field VRMSE, groups.1/.1/.1/.7,initialwindow.5,dropout.1,periodic augmentation and eligible reflection.5. Sampling/dropout/reflection/periodic seeds20270202/20270203/20270204/20270205; exact-zero new projection consumes no RNG. Only added input is within-bin population variance in16 bins of each spatial marginal from the four context frames, log1p normalized by the existing channel scale squared and projected into the first hidden preactivation. New270336 parameters, guide814923,total14196065; both ensemble members share this same guide on every case. Original sampler/targets/augmentation/dropout RNG checked exact,32 transformed raw contexts match cached features, fullbatch zero-init outputs exact with finite nonzero new gradient. Prior E112 control2k/6k reused without retraining. Training checkpointSHA256 062fb078e36d08c26384c515e5ef80f22ede5f44e606e967641e55042bef958d, packaged auxiliarySHA256 86488179ddf3735520254e5bf7b8a041f6e45a561a2da897093900a1b3dc7153. Matched control thermalVRMSE 0.437589102766; candidate 0.437996273823. Fresh9thermal VALID predictions plus576 audited complete unchanged physical outputs; full585 compare to actual current best. Exact neural/unfamiliar repeats before a win. No pretrained/synthetic assets, held-out data or inference-time fitting. +- Seed: 20261106. +- Checkpoint SHA256: `1f24abcc814d6b2fff9a530b350ee4d8cffc8c80cb9374bfee6509c02ae0bd61`. +- Runtime code SHA256: `ee2d7dabd97fe7dfcf29434c81399300253977f99b67413b9f06e40d76dc21e5`. +- Validation: fixed 81-case subset; reward **0.812564**, failed cases 0. + +| Dataset | VRMSE | +|---|---:| +| ape2d/burgers | 0.006413 | +| ape2d/decay_turb | 0.000381 | +| ape2d/diff | 0.000003 | +| ape2d/fisher | 0.000003 | +| ape2d/gs_alpha | 0.003095 | +| ape2d/gs_beta | 0.004740 | +| ape2d/gs_delta | 0.019250 | +| ape2d/gs_epsilon | 0.001366 | +| ape2d/gs_gamma | 0.049313 | +| ape2d/gs_iota | 0.001785 | +| ape2d/gs_kappa | 0.004855 | +| ape2d/gs_theta | 0.004678 | +| ape2d/kdv | 0.016728 | +| ape2d/kolm_flow | 0.008926 | +| ape2d/ks | 0.000033 | +| ape2d/sh | 0.000004 | +| pdearena/navier_stokes_2d | 0.000083 | +| well/active_matter | 0.040528 | +| well/turbulent_radiative_layer_2D | 0.437996 | + +Selection basis: full585 physical-operator comparison: candidate0.78178712, current0.78245076 + +Outcome: did not improve validation reward; retained current package. + +## E137 — fixed composition of validated components: frozen integration protocol + +Hypothesis: preserve independently measured improvements by composing E131's continued two-member neural rollout and fixed common context encoder, E135's TRAIN-selected Gray-Scott step 0.3, and E129's numerically exact CUDA-stream scheduling. No new optimization, fitted coefficient, seed or parameter; 16,992,454 total parameters. First rollout SHA256 `9c14c8231f5e209ac3cae69d51d666b24525839d23f7d1e928c019a32b143fc1` (continuation seed 20270118), encoder SHA256 `0fc425a0cf92a0d25cc8beae5b2cb291cef63f56f6c17c7f9ebd84342e06848d` (sampling/physical seeds 20261127/20261128, update 1000), second member and E072/E033 guides fixed. Every learned component serves every case; metadata selects declared physical equations only. + +Preflight: nine TRAIN/unknown contexts must exactly match the declared component outputs and independent repeats, including odd grids and 13-channel chunking. Fourteen deliberate runtime/config mutations must be rejected. Full validation waits for E131, E135 and E129 full585 studies to finish without failures. Require E135 corpus improvement, E131 thermal improvement over E101 and E129/E131 active equality; otherwise skip this composition. + +Then freshly replay all 72 Gray-Scott trajectories and require exact E135 outputs and complete prefixes for both members. Reuse the other 513 outputs only after strict input/source/config/metadata proof; for all 24 active cases require unchanged independent encoder/guide/physical computation, complete prefixes and equality with E129's freshly validated raw stream outputs. Generic dependency guards remain unchanged. Aggregate all 585, compare to the actual current selected package, and require independent active/neural/fine/unfamiliar repeats before a win. Shared-GPU operator timings do not establish isolated whole-package throughput. + +Protocol SHA256 `9f2b75917b51d618c3183e2a51e0086516da492f6aff87ef3798223b69f945a8`. VALID VRMSE: pending. Outcome: integration checks launched; component validation and full comparison pending. No pretrained or synthetic training assets, held-out access or inference fitting. + +## Full validation of variance_006000 + +All 585 validation trajectories, starting at frame 0; no held-out trajectories. Reward **0.781820**, failed cases 0. Neural initialization seed 20261021; sampling seed 20261106; checkpoint SHA256 `1f24abcc814d6b2fff9a530b350ee4d8cffc8c80cb9374bfee6509c02ae0bd61`. Same model as the corresponding quick-validation experiment; changed factor: expanded validation sample only. + +| Dataset | VRMSE | +|---|---:| +| ape2d/burgers | 0.007568 | +| ape2d/decay_turb | 0.000289 | +| ape2d/diff | 0.000003 | +| ape2d/fisher | 0.000005 | +| ape2d/gs_alpha | 0.003239 | +| ape2d/gs_beta | 0.004901 | +| ape2d/gs_delta | 0.022624 | +| ape2d/gs_epsilon | 0.000889 | +| ape2d/gs_gamma | 0.062780 | +| ape2d/gs_iota | 0.006619 | +| ape2d/gs_kappa | 0.008764 | +| ape2d/gs_theta | 0.019424 | +| ape2d/kdv | 0.024675 | +| ape2d/kolm_flow | 0.011662 | +| ape2d/ks | 0.000024 | +| ape2d/sh | 0.000005 | +| pdearena/navier_stokes_2d | 0.000081 | +| well/active_matter | 0.087494 | +| well/turbulent_radiative_layer_2D | 0.437596 | + +Exact reuse protocol for a shared-neural change: all physical assets/configuration match /run-state/workspace/research/output_ensemble_v1/validation. The source per-case log audit verifies552 complete corpus/smoke physical rollouts and24 complete active rollouts; all576 outputs have unchanged dependencies. For a shared latent-state head, those dependencies include neural weights, guide assets, postprocessing and serving configuration; neural-weight changes cannot reuse these active predictions. The nine neural radiative-layer outputs were replayed with exact context/metadata equality to full inputs and freshly scored with the official scorer. Reaggregate their official per-case scores and the576 audited unchanged per-case scores using the exact aggregation code extracted from the official scorer. Report provenance includes scorer/source-report hashes and the reuse audit. All585 prediction files are retained. This avoids rereading unchanged targets without approximating the metric. + +Outcome: recorded full validation for audit and comparison; no automatic comparison against the distinct quick-validation sample. + +## E136 — context variance profiles, update 6000 +- Hypothesis / changed factor: E136 shared variance-profile continuation, update6000/6000, pinned E101 complete ensemble. All19 datasets/10115TRAIN records, CPU4threads,batch512,AdamW5e-5cosine,original reconstructed-field VRMSE, groups.1/.1/.1/.7,initialwindow.5,dropout.1,periodic augmentation and eligible reflection.5. Sampling/dropout/reflection/periodic seeds20270202/20270203/20270204/20270205; exact-zero new projection consumes no RNG. Only added input is within-bin population variance in16 bins of each spatial marginal from the four context frames, log1p normalized by the existing channel scale squared and projected into the first hidden preactivation. New270336 parameters, guide814923,total14196065; both ensemble members share this same guide on every case. Original sampler/targets/augmentation/dropout RNG checked exact,32 transformed raw contexts match cached features, fullbatch zero-init outputs exact with finite nonzero new gradient. Prior E112 control2k/6k reused without retraining. Training checkpointSHA256 9ecd5e48769b217e2a9478bd67ed822fc53e88ba7b8e47acb36cba8f9546d174, packaged auxiliarySHA256 ba68d4709d26cfd7fb3b914b23491ecdc65f35467d9c1572d43448c071ca5f86. Matched control thermalVRMSE 0.437485799667; candidate 0.43759625065. Fresh9thermal VALID predictions plus576 audited complete unchanged physical outputs; full585 compare to actual current best. Exact neural/unfamiliar repeats before a win. No pretrained/synthetic assets, held-out data or inference-time fitting. +- Seed: 20261106. +- Checkpoint SHA256: `1f24abcc814d6b2fff9a530b350ee4d8cffc8c80cb9374bfee6509c02ae0bd61`. +- Runtime code SHA256: `346af420ca4a5f7aa77c5faebacef4022f5aba818362ee9e8e1c3e6a56a110b6`. +- Validation: fixed 81-case subset; reward **0.812597**, failed cases 0. + +| Dataset | VRMSE | +|---|---:| +| ape2d/burgers | 0.006413 | +| ape2d/decay_turb | 0.000381 | +| ape2d/diff | 0.000003 | +| ape2d/fisher | 0.000003 | +| ape2d/gs_alpha | 0.003095 | +| ape2d/gs_beta | 0.004740 | +| ape2d/gs_delta | 0.019250 | +| ape2d/gs_epsilon | 0.001366 | +| ape2d/gs_gamma | 0.049313 | +| ape2d/gs_iota | 0.001785 | +| ape2d/gs_kappa | 0.004855 | +| ape2d/gs_theta | 0.004678 | +| ape2d/kdv | 0.016728 | +| ape2d/kolm_flow | 0.008926 | +| ape2d/ks | 0.000033 | +| ape2d/sh | 0.000004 | +| pdearena/navier_stokes_2d | 0.000083 | +| well/active_matter | 0.040528 | +| well/turbulent_radiative_layer_2D | 0.437596 | + +Selection basis: full585 physical-operator comparison: candidate0.78182019, current0.78245076 + +Outcome: did not improve validation reward; retained current package. + +## E136 descriptive auxiliary versus complete-rollout analysis + +All9 thermal VALID cases, no fitting or model selection in this analysis. The auxiliary-only field uses canonical unshifted context statistics and its predicted mean/axis profiles; complete rollout scores include both neural members, translations and all corrections. These are distinct computations. Exact native target interaction floor for axis-additive reconstruction is0.45076384; this diagnostic target projection is never used at inference. + +| Candidate | Auxiliary field VRMSE | Mean normalized absolute error | Profile normalized RMS error | Complete thermal VRMSE | +|---|---:|---:|---:|---:| +| parent | 0.5616377 | 0.12494179 | 0.25973191 | 0.43689118 | +| control_002000 | 0.56244575 | 0.12616602 | 0.25977492 | 0.4375891 | +| control_006000 | 0.56214908 | 0.1256348 | 0.26012361 | 0.4374858 | +| variance_002000 | 0.56414655 | 0.12748084 | 0.2608401 | 0.43799627 | +| variance_006000 | 0.56184655 | 0.12436264 | 0.26013145 | 0.43759625 | + +All checkpoint hashes, per-case/per-step values and standalone PNG/SVG retained in variance_profile_v1/analysis. This comparison does not establish a causal mechanism for the complete rollout. + +## E136 paired figure inspected — negative at both fixed checkpoints + +Viewed variance_profile_v1/analysis/comparison.png. At 2,000 updates, complete thermal VRMSE is 0.437996273823 versus matched control 0.437589102766; at 6,000 it is 0.437596250650 versus 0.437485799667. Full585 rewards are 0.781787119574 and 0.781820188203, with zero failures and other 576 official case scores unchanged. Neither checkpoint is selected. Auxiliary checkpoint SHA256 values: 2k `86488179ddf3735520254e5bf7b8a041f6e45a561a2da897093900a1b3dc7153`, 6k `ba68d4709d26cfd7fb3b914b23491ecdc65f35467d9c1572d43448c071ca5f86`. + +The 6k auxiliary forecast has slightly lower normalized mean error than its control (0.124362642931 versus 0.125634797667), while profile error is essentially unchanged and full-rollout accuracy is worse. Canonical auxiliary-only statistics and translated, corrected neural rollouts are different computations; this descriptive observation does not establish a causal mechanism. No further feature tuning or optimizer was launched under this experiment. Analysis SHA256 `3ae84fd04830b604cf1483ce605d27372603f7d9945e5acc3cab662fe664e405`. + +## E138 — fixed Gaussian phase quadrature: TRAIN protocol + +Hypothesis: a Gaussian three-node rule may better integrate hidden phase uncertainty at the same simulation count and phase variance. Replace phase offsets 0,-1,+1 with equal weights by 0,-sqrt(2),+sqrt(2) with weights 2/3,1/6,1/6. Base scale 1e-4 and latent seed 20261026 remain fixed. Mean zero and variance 2/3 times the squared phase field are unchanged before the F4 physical constraint projection; the fourth moment changes to the Gaussian value. No claim of equal state covariance after projection. Three original node kernels, context observation, learned F6 initialization and guards are unchanged. No new weights, fitted hyperparameters, optimizer or seed. + +Fixed common encoder SHA256 `0fc425a0cf92a0d25cc8beae5b2cb291cef63f56f6c17c7f9ebd84342e06848d` and E072 guide SHA256 `3b423a0afbb46bafc914d62daaf8611a1b30ae424b8c517d846cbb93d4d6578c`. Four TRAIN pilot regimes at trajectory3: (zeta,alpha)=(5,-4),(9,-3),(15,-4),(17,-5). Require all full30 prefixes, >=0.1% mean relative improvement and 3/4 wins. Only then confirm the fixed rule on eight disjoint TRAIN trajectories with >=0.1% mean relative improvement and 5/8 wins. No scale/weight/seed search or confirmation refit. The heavy study waits for E129 full validation and E137 integration checks. If positive, portable CPU/GPU implementation and fresh all24 active/full585 validation remain required; this CUDA-only study module is not an inference candidate. + +Before the pilot began, inspection found the existing encoded cache holds only four future frames. The waiting study controller was stopped, target loading changed to native authorized TRAIN read_window(0,4,30), and source/protocol re-frozen. Original study/protocol are archived in gaussian_quadrature_v1/before_native_target_fix. Numerical/context-only checks use unchanged runtime source. Full native windows must match the cached four context and first four target frames for all12 cases before the study starts. Scientific cases, gates, seeds and numerical rule did not change; zero pilot scores had been computed. Final protocol SHA256 `7a39321aa6eb6e0699a5030bdfa3650f56a5e6f5951769ca466edbb7576e8283`. + +VALID VRMSE: not evaluated. Outcome: numerical checks and native target audits running; TRAIN study queued. No pretrained/synthetic training assets or held-out access. + +## E137 complete integration preflight passed + +Nine TRAIN/unknown predictions and independent repeats exactly match the declared E131/E135 component references, including13-channel chunking and odd grids. Fourteen deliberate model/encoder/guide/physics/cache/config mutations rejected. All original learned assets fixed; only the fixed GS step and stream scheduling differ from E131. No optimizer or VALID score. Preflight SHA256 `42a06c658fc253dad870082dbae2145380600199c6816236c57157eaa8f68c86`. Full validation still waits for completed E131/E135/E129 reports and the predeclared component gates. + +## E139 — final pressure-mean calibration: fixed TRAIN protocol + +Hypothesis: one final pressure-mean coefficient may improve the balance between the current complete neural forecast and the existing shared statistical guide. The defined operation is pressure += gamma * (context-guide pressure mean minus current pressure mean), after the complete ensemble output. The guide mean averages the same four periodic translations. All recurrent models, guide weights, physical states and other corrections stay fixed; no separately trained specialist. In real arithmetic, centered pressure and every other field are unchanged. The operation uses the supplied field name, not dataset-name routing. + +Pin E101 and the E072 guide. Fit one coefficient on the predeclared grid [-1,-.5,0,.5,1] using the original nine thermal TRAIN trajectories, with exact pool/native-input/native-target/two-member/official-score audits. Require >=0.1% complete mean VRMSE reduction and5/9 wins. Only then confirm the same coefficient on the other63 TRAIN trajectories with >=0.1% reduction and35/63 wins; no grid expansion or refit. Zero coefficient and unsupported fields return the original prediction exactly. This is exact application of the defined final correction to cached complete forecasts, not a claim to reconstruct an internal decoder change. + +No new learned weights, optimizer, seed or synthetic training. One fitted scalar hyperparameter; inherited first/second main SHA256 1f24abcc814d6b2fff9a530b350ee4d8cffc8c80cb9374bfee6509c02ae0bd61 / 0c9c49ae6a7da1fbae8d3f21d94b26311467ba1fd991b59877c872973f1a6c23, guide3b423a0afbb46bafc914d62daaf8611a1b30ae424b8c517d846cbb93d4d6578c. Every parent runtime asset and weight is pinned. A positive result still requires complete package integration/repeat checks and fresh thermal/full585/current-best validation before deployment. VALID VRMSE: not evaluated. Outcome: TRAIN study starting. + +Protocol SHA256 `775418f675edfb0f486bc0d894840f14192131d51dea429b33bcf6d37999d0c7`. Initial preparation was tightened to pin all parent runtime sources before any study execution; previous unused preparation files are archived. No held-out access. + +## E139 final pressure-mean TRAIN calibration result + +Fixed grid[-1,-.5,0,.5,1], one global coefficient, unchanged common E072 guide/E101 mainmembers. Pilot9 {"means": {"-1.0": 0.37141002648023924, "-0.5": 0.3726854243035475, "0.0": 0.37577541437034867, "0.5": 0.38050239602685704, "1.0": 0.38660956017763315}, "selected_weight": -1.0, "relative_improvement": 0.011617013043346907, "improved_cases": 9, "passed": true}. Disjoint63 confirmation {"baseline": 0.37331751362257565, "candidate": 0.3690329713390565, "relative_improvement": 0.011476938871533445, "improved_cases": 59, "passed": true}. TRAIN gates pass; portable integration and complete VALID/current-best comparison remain required. No new learned checkpoint, optimizer, seed, synthetic training or held-out access. Exact context-only translated guide mean is blended into final pressure mean, preserving centered pressure and every other field. Result SHA256 `cb21bac95b90827de0240408a1232a114ee173822227908087f1ab829cab3ba0`. + +## Full validation of validation + +All 585 validation trajectories, starting at frame 0; no held-out trajectories. Reward **0.784547**, failed cases 0. Neural initialization seed 20261021; sampling seed 20261127; checkpoint SHA256 `0fc425a0cf92a0d25cc8beae5b2cb291cef63f56f6c17c7f9ebd84342e06848d`. Same model as the corresponding quick-validation experiment; changed factor: expanded validation sample only. + +| Dataset | VRMSE | +|---|---:| +| ape2d/burgers | 0.007568 | +| ape2d/decay_turb | 0.000289 | +| ape2d/diff | 0.000003 | +| ape2d/fisher | 0.000005 | +| ape2d/gs_alpha | 0.002513 | +| ape2d/gs_beta | 0.004854 | +| ape2d/gs_delta | 0.020917 | +| ape2d/gs_epsilon | 0.000797 | +| ape2d/gs_gamma | 0.058842 | +| ape2d/gs_iota | 0.007195 | +| ape2d/gs_kappa | 0.007586 | +| ape2d/gs_theta | 0.016771 | +| ape2d/kdv | 0.024675 | +| ape2d/kolm_flow | 0.011662 | +| ape2d/ks | 0.000024 | +| ape2d/sh | 0.000005 | +| pdearena/navier_stokes_2d | 0.000081 | +| well/active_matter | 0.085238 | +| well/turbulent_radiative_layer_2D | 0.441418 | + +All72 Gray-Scott VALID cases freshly replayed and officially scored, including every translation. Reuse513 other complete outputs only under exact source/weights/all-other-config equality, pinned constructor-branch proof, supplied non-Gray-Scott metadata, input/output hashes and finite shape checks. No generic physical-dependency guard relaxation. Official aggregation reconstructs full585 and exact quick81 subset; candidate/current comparison uses full585. No held-out data. Full per-member physical coverage retained; incomplete prefixes keep the original shared neural fallback. + +Outcome: recorded full validation for audit and comparison; no automatic comparison against the distinct quick-validation sample. + +## E135 — fixed TRAIN-calibrated Gray-Scott time step +- Hypothesis / changed factor: Calibrate one fixed Gray-Scott internal maximum step from the predeclared TRAIN grid.2/.225/.25/.275/.3; selected 0.3. Eight full26 TRAIN fitting cases and16disjoint all8family confirmation cases pass the frozen mean/win gates. No search expansion or confirmation refit, seed none, no new learned parameters/synthetic/pretrained assets. This fits prediction error and does not claim greater integration accuracy. All main/encoder/guide weights and runtime source byte-identical to phase10/1k; only spectral_options.gs_dt changes. Nine complete TRAIN/unfamiliar package tests, exact repeats and six dependency mutation rejections pass. Fresh all72 Gray-Scott VALID, strict supplied-metadata/source/config/input/output proof for513 unaffected outputs, full585/current-best comparison, fine-solver and unfamiliar-schema exact repeats before a win. Inherited mainSHA256 0fc425a0cf92a0d25cc8beae5b2cb291cef63f56f6c17c7f9ebd84342e06848d; calibration resultSHA256 8212907045dca01e17b05d08e554211574bb49260b846891473d2003c310852e. +- Seed: 20261127. +- Checkpoint SHA256: `0fc425a0cf92a0d25cc8beae5b2cb291cef63f56f6c17c7f9ebd84342e06848d`. +- Runtime code SHA256: `840887221f243c21b828cc3c7e282709362225e38987c7ea1b1d11e537e3492b`. +- Validation: fixed 81-case subset; reward **0.813120**, failed cases 0. + +| Dataset | VRMSE | +|---|---:| +| ape2d/burgers | 0.006413 | +| ape2d/decay_turb | 0.000381 | +| ape2d/diff | 0.000003 | +| ape2d/fisher | 0.000003 | +| ape2d/gs_alpha | 0.002284 | +| ape2d/gs_beta | 0.004791 | +| ape2d/gs_delta | 0.018960 | +| ape2d/gs_epsilon | 0.001476 | +| ape2d/gs_gamma | 0.045697 | +| ape2d/gs_iota | 0.002137 | +| ape2d/gs_kappa | 0.004346 | +| ape2d/gs_theta | 0.006949 | +| ape2d/kdv | 0.016728 | +| ape2d/kolm_flow | 0.008926 | +| ape2d/ks | 0.000033 | +| ape2d/sh | 0.000004 | +| pdearena/navier_stokes_2d | 0.000083 | +| well/active_matter | 0.039602 | +| well/turbulent_radiative_layer_2D | 0.441418 | + +Selection basis: full585 physical-operator comparison: candidate0.78454738, current0.78245076 + +Outcome: improvement; published atomically. + +## E135 complete VALID paired analysis + +All 72 Gray-Scott trajectories after fixed TRAIN calibration and full585 scoring; no refitting. Improved 52/72 trajectories. Other 513 official per-case results are exactly unchanged. Reward 0.7824507635072699 to 0.7845473822353738. + +| Family | Cases | Parent VRMSE | Candidate VRMSE | Improved cases | +|---|---:|---:|---:|---:| +| ape2d/gs_alpha | 10 | 0.003239470926 | 0.002513303142 | 9 | +| ape2d/gs_beta | 10 | 0.004900608852 | 0.004854421919 | 6 | +| ape2d/gs_delta | 8 | 0.02262397876 | 0.02091693326 | 6 | +| ape2d/gs_epsilon | 10 | 0.0008891234764 | 0.0007965845394 | 8 | +| ape2d/gs_gamma | 10 | 0.06277952464 | 0.05884239369 | 9 | +| ape2d/gs_iota | 8 | 0.006618927853 | 0.007194923287 | 1 | +| ape2d/gs_kappa | 8 | 0.008764232315 | 0.007586426945 | 8 | +| ape2d/gs_theta | 8 | 0.01942369397 | 0.01677068312 | 5 | + +Per-step data and standalone PNG/SVG in gs_step_calibration_v1/valid_analysis. This is prediction-error calibration, not a numerical accuracy claim. Analysis SHA256 `330b4f33dee5945ff023c1073d7b5a21bf06b1002a76666c265192d4e28b855c`. Figure still requires visual inspection. + +## E135 publication and paired figure inspection + +Published `/workspace/submission` atomically after full585 comparison and exact fine-solver/unfamiliar repeat checks. Full reward **0.7845473822353738**; zero failures. Corpus VRMSE **0.010231659948693987**, Arena **0.00008114316907195506**, active **0.08523834565974923**, thermal **0.44141826880132506**. Main checkpoint SHA256 `0fc425a0cf92a0d25cc8beae5b2cb291cef63f56f6c17c7f9ebd84342e06848d` unchanged; only fixed GS maximum step .25→.3. Confirmed published package hashes match the selected package. + +Viewed valid_analysis/paired.png. Improved52/72 GS trajectories and seven of eight family means; iota worsens (.00661892785→.00719492329), matching the TRAIN caution. Other513 per-case results exactly unchanged. This calibration improves prediction error and is not a numerical-accuracy claim. No family-specific step tuning follows this result. Analysis SHA256 `330b4f33dee5945ff023c1073d7b5a21bf06b1002a76666c265192d4e28b855c`. + +## E138 numerical and native-target gates passed + +Both moderate and strong TRAIN four-step tests have exact disabled-original, enabled-repeat and zero-spread equality, finite complete prefixes. Gaussian phase moments are (1,0,2/3,0,4/3) to floating precision. All12 planned native full30 TRAIN windows match the existing four context and first four target cache frames. No future targets enter the context-only numerical checks. Runtime source and scientific pilot/confirmation gates remain fixed; heavy study waits for E129 full validation. Checks SHA256 `b1d35c649d35de170920e4a67e7984e62e5fdd8b6e8d0ffef5094245f52eb17c`, native target checks `7b282af0ab75dd557e6d3df098e22cbdc9538cc5d52f3357641c886813c72fa4`. No VALID or model publication. + +## E139 complete postprocessor integration and TRAIN figure inspection + +Fixed coefficient -1 passes9/9 fitting cases and59/63 disjoint confirmation cases. Viewed train_analysis/comparison.png: all nine confirmation cooling-regime means improve, with smaller gains at high cooling time. Other channel metrics remain exactly unchanged. No grid expansion or refit. + +Five fresh complete package predictions and repeats exactly match the defined final correction, including actual TRAIN thermal and unknown2/13-channel pressure-bearing grids. Three fresh zero-coefficient controls exactly match the original package. Three physical-schema helper calls return the original array before any model call; strict normalized-source/all-assets/config proof establishes their complete computation is unchanged. Eight deliberate mutations rejected, and CPU helper repeats pass on both unfamiliar pressure-bearing grids. Preflight SHA256 `56ae969e3871872a070f42623943e02499c8d3fd4616c10b511d97f7f2c4ce1c`. Fresh9 thermal/full585 validation now running; no selection result yet. Validation protocol SHA256 `504028aa439de7f04b2a858b05ef07e7bb47011e38ed46491d6f7a8c9f84ecba`. + +Conservative bookkeeping: final `pressure_mean.py` and `config.final_pressure_mean` now count as physical-output dependencies for both latent and non-latent parents. Equal, changed, missing helper and changed-coefficient fixtures pass in both modes. Runtime code hashing includes the helper. This broadens detection; E139 uses its narrow supplied-field/source proof and never weakens the shared guard. No runtime model weights changed through this infrastructure update. + +## Full validation of validation + +All 585 validation trajectories, starting at frame 0; no held-out trajectories. Reward **0.781724**, failed cases 0. Neural initialization seed 20261021; sampling seed 20261106; checkpoint SHA256 `1f24abcc814d6b2fff9a530b350ee4d8cffc8c80cb9374bfee6509c02ae0bd61`. Same model as the corresponding quick-validation experiment; changed factor: expanded validation sample only. + +| Dataset | VRMSE | +|---|---:| +| ape2d/burgers | 0.007568 | +| ape2d/decay_turb | 0.000289 | +| ape2d/diff | 0.000003 | +| ape2d/fisher | 0.000005 | +| ape2d/gs_alpha | 0.003239 | +| ape2d/gs_beta | 0.004901 | +| ape2d/gs_delta | 0.022624 | +| ape2d/gs_epsilon | 0.000889 | +| ape2d/gs_gamma | 0.062780 | +| ape2d/gs_iota | 0.006619 | +| ape2d/gs_kappa | 0.008764 | +| ape2d/gs_theta | 0.019424 | +| ape2d/kdv | 0.024675 | +| ape2d/kolm_flow | 0.011662 | +| ape2d/ks | 0.000024 | +| ape2d/sh | 0.000005 | +| pdearena/navier_stokes_2d | 0.000081 | +| well/active_matter | 0.087494 | +| well/turbulent_radiative_layer_2D | 0.438758 | + +All9 pressure-bearing thermal cases freshly replayed through the complete two-member model and final correction, then officially scored. Other576 exact outputs reused only under normalized-serving-source/all-assets/all-other-config proof and supplied field metadata excluding the final helper, with canonical input/output hashes and original complete-prefix provenance. No generic latent guard relaxation. Full585 official aggregation and exact quick81 subset. TRAIN-only fixed scalar; no validation refit or held-out data. + +Outcome: recorded full validation for audit and comparison; no automatic comparison against the distinct quick-validation sample. + +## E139 — fixed final pressure-mean correction +- Hypothesis / changed factor: E139 fixed final pressure-mean coefficient -1.0 selected from frozen TRAIN grid[-1,-.5,0,.5,1]. Pilot9 improved9/9 and1.1617percent; disjoint63 confirmation59/63 and1.1477percent, no refit. Final pressure += coefficient*(original shared guide translated pressure mean-current complete prediction pressure mean). Same E101 two neural members/E072guide and all physical/recurrence/correction settings. No new learned weights, optimizer or seed; one fitted scalar. Five fresh complete TRAIN/unknown-pressure outputs and repeats equal the defined correction; three fresh zero controls exact, three metadata-excluded physical identities proved, CPU unknown2/13channel helper repeats exact,8mutationsrejected. All9thermalVALID fresh;576 exact unchanged metadata-excluded outputs under strict source/config/input/output proof. Full585 current-best comparison and independent neural/unfamiliar repeats before win. No pretrained/synthetic assets,held-out data or inference-time fitting. TRAIN resultSHA256 cb21bac95b90827de0240408a1232a114ee173822227908087f1ab829cab3ba0. +- Seed: 20261106. +- Checkpoint SHA256: `1f24abcc814d6b2fff9a530b350ee4d8cffc8c80cb9374bfee6509c02ae0bd61`. +- Runtime code SHA256: `597a4b0740540f31a9b4750409963368a7a99b8ad6f7139410d6009be405172a`. +- Validation: fixed 81-case subset; reward **0.812501**, failed cases 0. + +| Dataset | VRMSE | +|---|---:| +| ape2d/burgers | 0.006413 | +| ape2d/decay_turb | 0.000381 | +| ape2d/diff | 0.000003 | +| ape2d/fisher | 0.000003 | +| ape2d/gs_alpha | 0.003095 | +| ape2d/gs_beta | 0.004740 | +| ape2d/gs_delta | 0.019250 | +| ape2d/gs_epsilon | 0.001366 | +| ape2d/gs_gamma | 0.049313 | +| ape2d/gs_iota | 0.001785 | +| ape2d/gs_kappa | 0.004855 | +| ape2d/gs_theta | 0.004678 | +| ape2d/kdv | 0.016728 | +| ape2d/kolm_flow | 0.008926 | +| ape2d/ks | 0.000033 | +| ape2d/sh | 0.000004 | +| pdearena/navier_stokes_2d | 0.000083 | +| well/active_matter | 0.040528 | +| well/turbulent_radiative_layer_2D | 0.438758 | + +Selection basis: full585 physical-operator comparison: candidate0.78172426, current0.78454738 + +Outcome: did not improve validation reward; retained current package. + +## E139 complete VALID paired analysis + +Thermal VRMSE 0.4368911756234454 to 0.4387576534910825, improved6/9 trajectories. Other576 per-case results and all other three thermal channel metrics exactly unchanged. Pressure VRMSE 0.8891731622585028 to 0.8966390737290513. No refitting or additional coefficient search. Paired standalone PNG/SVG in pressure_mean_v1/valid_analysis; figure awaits visual inspection. Analysis SHA256 `4557898dd4175b87a1f236523f44e291f4a98884db1334c08d08609a8faafb0f`. + +## E139 VALID figure inspected — TRAIN gain did not transfer + +Viewed pressure_mean_v1/valid_analysis/paired.png. Full585 reward 0.7817242621282966, zero failures, thermal VRMSE 0.4387576534910825 versus E101 0.4368911756234454. Pressure VRMSE 0.8966390737290513 versus 0.8891731622585028; all three other thermal channel metrics and all576 other case scores exactly unchanged. Six of nine thermal trajectories improve, but the three intermediate-cooling cases worsen enough to increase the mean. Early1–5 and6–12 windows improve, while late13–30 worsens0.526454923673→0.531439431559. The9/9 fitting and59/63 confirmation gains did not generalize to this VALID cohort. + +Outcome: not selected. Stop this calibration line; no coefficient-grid expansion, cooling-specific tuning, or transfer of the rejected coefficient into a new parent. Published E135 remains unchanged. The standalone figure, per-case/channel/horizon comparison, all hashes and failed hypothesis remain recorded. No pretrained/synthetic training assets or held-out data. + +Analysis SHA256 `4557898dd4175b87a1f236523f44e291f4a98884db1334c08d08609a8faafb0f`. + +## Full validation of reflection_001000 + +All 585 validation trajectories, starting at frame 0; no held-out trajectories. Reward **0.781877**, failed cases 0. Neural initialization seed 20261021; sampling seed 20270118; checkpoint SHA256 `42a9da8bbff30e22ba2902b77153b7b8cf817fa71046d48ad4010c657b7a4270`. Same model as the corresponding quick-validation experiment; changed factor: expanded validation sample only. + +| Dataset | VRMSE | +|---|---:| +| ape2d/burgers | 0.007568 | +| ape2d/decay_turb | 0.000289 | +| ape2d/diff | 0.000003 | +| ape2d/fisher | 0.000005 | +| ape2d/gs_alpha | 0.003239 | +| ape2d/gs_beta | 0.004901 | +| ape2d/gs_delta | 0.022624 | +| ape2d/gs_epsilon | 0.000889 | +| ape2d/gs_gamma | 0.062780 | +| ape2d/gs_iota | 0.006619 | +| ape2d/gs_kappa | 0.008764 | +| ape2d/gs_theta | 0.019424 | +| ape2d/kdv | 0.024675 | +| ape2d/kolm_flow | 0.011662 | +| ape2d/ks | 0.000024 | +| ape2d/sh | 0.000005 | +| pdearena/navier_stokes_2d | 0.000081 | +| well/active_matter | 0.087494 | +| well/turbulent_radiative_layer_2D | 0.436904 | + +Exact reuse protocol for a shared-neural change: all physical assets/configuration match /run-state/workspace/research/output_ensemble_v1/validation. The source per-case log audit verifies552 complete corpus/smoke physical rollouts and24 complete active rollouts; all576 outputs have unchanged dependencies. For a shared latent-state head, those dependencies include neural weights, guide assets, postprocessing and serving configuration; neural-weight changes cannot reuse these active predictions. The nine neural radiative-layer outputs were replayed with exact context/metadata equality to full inputs and freshly scored with the official scorer. Reaggregate their official per-case scores and the576 audited unchanged per-case scores using the exact aggregation code extracted from the official scorer. Report provenance includes scorer/source-report hashes and the reuse audit. All585 prediction files are retained. This avoids rereading unchanged targets without approximating the metric. + +Outcome: recorded full validation for audit and comparison; no automatic comparison against the distinct quick-validation sample. + +## E106 — main reflection reflection, update 1000 +- Hypothesis / changed factor: Matched first-member continuation arm reflection, update1000/1000, sampling/noise seed20270118 and independent reflection RNG20270119. Pinned E101 parent for both arms, width48 main trained on all19 datasets, fixed width96 member and E072/E033 guides. Only whole-window eligible horizontal reflection0.5 differs between arms; control consumes the same independent RNG without transforming. Full30 rollout (corpus26/Arena10),batch2x3,AdamW LR3e-5 cosine,noise0.01,groups.05/.075/.075/.8. Both complete members run every case with unchanged equal output weights, physics, translations and final corrections. No latent head in this pinned-parent experiment; no changes to phase10. Training checkpointSHA256 7d6c09af5559dc598a41faf82c9d396967d800f75e60bc2e245bc39e72751783, packaged first memberSHA256 42a9da8bbff30e22ba2902b77153b7b8cf817fa71046d48ad4010c657b7a4270. All9 changed thermal VALID forecasts fresh;576 complete physical predictions reused after unchanged source/config/input/coverage audit. Compare full585 against the actual current selected package; exact neural/unknown repeat checks precede a win. No pretrained or synthetic assets, held-out data or parameter fitting at inference. +- Seed: 20261106. +- Checkpoint SHA256: `42a9da8bbff30e22ba2902b77153b7b8cf817fa71046d48ad4010c657b7a4270`. +- Runtime code SHA256: `087b1a80f5bdd055700c84312cca54cc5773ad4f9a4d5fb39a9d3b5f98a1c633`. +- Validation: fixed 81-case subset; reward **0.812655**, failed cases 0. + +| Dataset | VRMSE | +|---|---:| +| ape2d/burgers | 0.006413 | +| ape2d/decay_turb | 0.000381 | +| ape2d/diff | 0.000003 | +| ape2d/fisher | 0.000003 | +| ape2d/gs_alpha | 0.003095 | +| ape2d/gs_beta | 0.004740 | +| ape2d/gs_delta | 0.019250 | +| ape2d/gs_epsilon | 0.001366 | +| ape2d/gs_gamma | 0.049313 | +| ape2d/gs_iota | 0.001785 | +| ape2d/gs_kappa | 0.004855 | +| ape2d/gs_theta | 0.004678 | +| ape2d/kdv | 0.016728 | +| ape2d/kolm_flow | 0.008926 | +| ape2d/ks | 0.000033 | +| ape2d/sh | 0.000004 | +| pdearena/navier_stokes_2d | 0.000083 | +| well/active_matter | 0.040528 | +| well/turbulent_radiative_layer_2D | 0.436904 | + +Selection basis: full585 physical-operator comparison: candidate0.78187749, current0.78454738 + +Outcome: did not improve validation reward; retained current package. + +## E106 reflection descriptive paired analysis, update1000 + +Thermal VRMSE: E101 parent0.4368911756234454, matched control0.4354355289580768, candidate0.43690389089980264. Candidate improves4/9 versus control and5/9 versus parent. Late steps13–30: control0.524151309630233, candidate0.5255424185387431. Other576 official case results match E101 exactly. Descriptive only after full585 scoring/selection; no fit/new optimizer or model change. Nine thermal trajectories limit generalization claims. Per-case/channel/horizon results and unviewed standalone figures in matched_main_analysis_v1/reflection_training_v1_reflection_001000. CheckpointSHA256 `42a9da8bbff30e22ba2902b77153b7b8cf817fa71046d48ad4010c657b7a4270`, analysisSHA256 `030b9059ce9bf004b3e22706676bbacdad9ca59639f8463c580ae72007014b96`. + +E106 reflection1000 paired figure inspected: candidate thermal VRMSE0.43690389089980264 versus matched control0.4354355289580768,4/9 case improvements; density, pressure and velocity_1 means worse, velocity_0 slightly better. Late13–30 error0.5255424185387431 versus0.524151309630233. The fixed1000-update experiment is complete and negative; retain control1000 for independently checked component composition. No new fit or validation choice. Figure matched_main_analysis_v1/reflection_training_v1_reflection_001000/paired.png and SVG visually inspected. Checkpoint42a9da8bbff30e22ba2902b77153b7b8cf817fa71046d48ad4010c657b7a4270. + +## E140 — fixed two-axis translation geometry: TRAIN protocol + +Hypothesis: four shifts spanning both periodic axes may reduce residual alignment and hidden-phase sampling error at the same four-member cost. Known homogeneous equations with both periodic boundary pairs use (0,0),(2/128,0),(0,2/128),(2/128,2/128) scaled and rounded to native cells; all other equations retain original X shifts0,2/128,4/128,6/128. Forced Kolmogorov has spatially fixed Y forcing and is explicitly excluded; unknown equations retain the original rule. Same learned components on every case, no dataset-name model routing. +Pin the E137 preflight common1kencoder SHA2560fc425a0cf92a0d25cc8beae5b2cb291cef63f56f6c17c7f9ebd84342e06848d, E072guide SHA2563b423a0afbb46bafc914d62daaf8611a1b30ae424b8c517d846cbb93d4d6578c and original three-node/E129stream operator, phase scale1e-4 and seed20261026. No new parameters, optimization, seed or coefficient fitting. CPU60fixtures pass original arithmetic/rounding/inverse/forced/nonperiodic/unknown checks, including tiny/odd grids and13channels. Native moderate/strong two-step independent repeats run before full30 TRAIN pilot4; require all prefixes complete, >=0.1percent mean gain and3/4wins. Only ifpass, fixed disjoint8 confirmation requires>=0.1percent and5/8wins without refit. Six unique shifts supply two four-member averages; the two identical members share exact computation. Native TRAIN context/targets and membership audited; targets never enter forecasts. +Queued behind E138 and the three current active validation replays on the single H100. Physical-only screen; a positive result still requires portable full-model integration, changed homogeneous corpus/active VALID fresh, strict unaffected-source proof, full585/current-best comparison and exact repeats. No held-out/pretrained/synthetic data. No VALID scores or publication for this experiment yet. Protocol SHA256 `9b9b6ca8d195b0800f05dbd4cee69b5a9a4d30d2a136dd7ee37980838546e074`. + +## E141 — local covariance feature screen: fixed TRAIN protocol + +CPU-only fixed linear residual feature screen: off-diagonal within-bin cross-channel population covariances over16bins along both axes, four context frames, divided by existing context-scale products then asinh. Generic11channel padding, fixed geometry; no targets in features. Original E078 eight stratified TRAIN folds/seed20261219, same ridge100 and fold-training-only standardization, original parent and control predictions reused exactly. No new seed/optimizer or shared-model weights. All72native thermal TRAIN records; E072guide SHA2563b423a0afbb46bafc914d62daaf8611a1b30ae424b8c517d846cbb93d4d6578c. Require>=0.1percent reduction in both mean-only and additive-field errors versus better parent/control and40/72parentwins; otherwise stop without shared training or VALID. This parent already trained on these records; only probe corrections are cross-fitted, so no validation/generalization claim. Feature numerical checks and exact cached-parent/control/membership audits precede interpretation. No held-out/pretrained/synthetic data; not a deployable specialist. Protocol SHA256 `682acd6d2ede1e16450f098f3dd582963877094ff33d9c3ab93cd255d0052211`. + +## E141 local covariance feature screen — negative + +All72 TRAIN memberships, context/scale/cache audits, exact parent predictions/control scores and numerical feature checks pass. Fixed8fold/ridge100 cross-fitted covariance probe has mean error0.11234186533843409 and additive-field VRMSE0.5701878256581123; original parent0.0930144262474265/0.5598388813998767, control probe0.11150019876098338/0.5697928408169022. Only11/72case field errors improve over parent; mean and field gates both fail. Figure comparison.png/SVG visually inspected: all8fold mean field differences worsen versus parent. ParentE072 checkpoint3b423a0afbb46bafc914d62daaf8611a1b30ae424b8c517d846cbb93d4d6578c remains unchanged. Seed20261219/folds reused; no optimizer/new shared checkpoint or VALID score. Reject without further feature tuning or shared-model training. This is a TRAIN residual-feature screen, not a validation estimate. Result SHA256 `37877a55a020d9a1170c86210aa94fbbe212a5c9a97758d983d28569ca4439af`. + +## Thermal context support audit — descriptive, no model change + +Reused completed E101/E117 scores and the exact authorized first-four-frame input files; no new future field tensors loaded. All81pool memberships/input hashes pass; all72TRAIN descriptors reproduce E078 exactly. Original591features,467nonconstant standardized dimensions fromTRAIN only; fixed8PC fit explains80.6902percentTRAIN descriptor variance. No new seed, optimizer, model-selection factor or checkpoint. Median same-regime nearest-TRAIN RMS distance:TRAIN1.0615247348310224,VALID1.072414071489795; medianVALID distance relative to same-regimeTRAIN median1.0158689300281973. Two of9VALID distances exceed all8same-regimeTRAIN leave-one-out distances. Median8PCresidual RMS .3793342319364752/.4783114012485053. Existing E101 thermal errors .3736247512160474TRAIN/.43689117562344537VALID. +Viewed context_support.png/SVG: VALID points occupy broadly similar descriptor support; nearest-context distance gives little descriptive support to a simple input-outlier explanation of the error gap. This does not exclude shift in other features or establish any causal error mechanism. There are8TRAIN versus1VALID trajectories per cooling regime and unequal nearest-neighbor candidate counts(7versus8); PCA2visualization is only a projection. No new fitting/predictor/VALID experiment follows. E101firstmainSHA1f24abcc814d6b2fff9a530b350ee4d8cffc8c80cb9374bfee6509c02ae0bd61,second0c9c49ae6a7da1fbae8d3f21d94b26311467ba1fd991b59877c872973f1a6c23; selectedE135unchanged. ResultsSHA256 `0b7dd9203a9770cd78e90456eb50511f8a0d2652869ecc148e14d6c7164fed57`. + +## E142 — fixed initial-state checkpoint average: TRAIN protocol + +Freeze one equal parameter average of joint-state updates1000and2000 before the2kfullVALID report completes. Float64 accumulation then originalfloat32; same3066725parameter shared encoder architecture. Weights:1kSHA256 `0fc425a0cf92a0d25cc8beae5b2cb291cef63f56f6c17c7f9ebd84342e06848d`,2k `f05bcc0fd3bc3d8be547758d7eadec4fcb3f80215c86fdf33dbedba983bb5edd`,average `7a20829372a9d62773bf59090fdf7bfd9397bfc186419def4b790468bf9b8779`. Original architecture/statekeys/3066725values and self-average exactness pass; all averaged tensors finite. Inherited sampling/physical-training seeds20261127/20261128, fixedquadrature20261026. No new seed, optimizer, coefficientsweep or parametercount increase. Same E072guide/originalthree-nodequad/E129streams. Every learned component remains shared across all19datasets/everycase. +Queue behind E140, after independent two-step moderate/strong repeats for each of1k/2k/average. Fixed4TRAIN full30 pilot requires>=0.1percent mean gain over the BETTER control mean and3/4wins versus1k; conditional disjoint8confirmation requires>=0.1percent overbettercontrol and5/8wins versus1k. No refit/expansion; stop on failure. Native TRAIN context/metadata/targets and membership audited. This is a canonical physical screen; positive results still require complete portable integration, all24activeVALIDfresh, strict unchanged-dependency proof/full585/currentbest/repeats. No held-out/pretrained/synthetic assets. ProtocolSHA256 `3aba9a657ddf3974bdfe7471cbebcf398533c7889806dbd808070ea335eaa98a`. VALID per-dataset scores pending/not evaluated. + +E109 training health through250updates: all11logged dataset/horizon lists match E106control, finite gradients and30.2175GiBpeakGPU. Mean logged minibatch loss.2815413782090852 versuscontrol.27974870439731714. First logged aggregate losses.21646680434544882/.21627711753050485; training usescuDNNautotuning and these are descriptive acrossprocesses, not exact parity or validation measurements. Existing strict zero-function/portable preflight checks remain the parity evidence. No change to fixed1000updates/checkpoints500and1000 or selection. SnapshotSHA256 `17187eb0bc6bf3a8f672c15dd9c1c6f2ea7a2d51dc69c15819ff84a3bea466d9`. + +## Portable runtime audit preparation + +Freeze eight native TRAIN initial contexts spanning diffusion, Gray-Scott, forced Navier-Stokes, Arena, two cooling times and moderate/strong active matter. Read exactlyfourcontextframes; no futurefields. Request26/10/30nativehorizons and three reordered independent repeats. At next60-second naturalGPUidleperiod, copy the actually selected completepackage underledgerlock; pollGPUprocessgroups throughoutbothpasses. An overlappingjob invalidates the timing attempt and only the auditprocess is stopped; other research is never paused. Wholepackage initialization/I/O included; observed8+3sample doesnotproveallverifiercohorts/unseengridsfit4h. Four-hour auditdeadline, contractfile/shape/finite/repeatchecks, no modelselection or optimizer changes. No newseed/pretrained/syntheticassets. ProtocolSHA256 `0e91fc7262fbc50c968e2687c2af389f2044e4aba530df0f1b306524e18c1635`. Timing results pending. + +## E143 — local-orientation state basis: no-update TRAIN diagnostic + +Hypothesis: expressing the coarseF6correction in the local nematic frame may expose fine-scale angular phase without increasing the16x16coefficientgrid. Same fixed1kencoder/E072guide and original physical4steptrainingloss, sourcebytes unchanged. Native coefficientleaf exactly preserves the existing forward; its gradient, divided by the known tanhderivative, describes an additive zero-branch tangent. Compare original versus unitaryrotationq=exp(3i*arg(F2)); amplitudeenvelope .01*c*alignment^3 unchanged. Measure coefficient-space gradientenergy captured by the16x16realFourierinterpolation subspace. This is a localrepresentation screen, not forecast performance or full-network gradient analysis. +CPUmanufactured chainrule agrees within2.220446049250313e-16; unitgradientnorm, projectionidempotence/orthogonality andbroadbandodd/rectangular checks pass. Positive/reverseplane-wavefixtures correctly produce capture0→1and1→0. Fixed6TRAIN(zeta,alpha)=(5,-4),(7,-5),(9,-3),(13,-4),(15,-4),(17,-5),trajectory2; initialcontext0..3 and4futureTRAINtargets. Require medianratio>=1.1,medianfractiongain>=.05,and5/6gains to motivate a future separatelydeclared sharedall19trainingexperiment. No newseed,optimizer,trainedparameters,VALIDscore,synthetictraining/pretrainedassetsorinferencechange. QueueafterE142. EncoderSHA2560fc425a0cf92a0d25cc8beae5b2cb291cef63f56f6c17c7f9ebd84342e06848d; protocolSHA256 `a9f4a714d71440627c8415923928810433883e8ed92b07a8ab2d52a5822dc2f0`. + +## Full validation of attention_000500 + +All 585 validation trajectories, starting at frame 0; no held-out trajectories. Reward **0.781947**, failed cases 0. Neural initialization seed 20261021; sampling seed 20270118; checkpoint SHA256 `1b20af668222e58915c8d7c17acc31660c5d4d920b3ab89a51c2fa86822260dd`. Same model as the corresponding quick-validation experiment; changed factor: expanded validation sample only. + +| Dataset | VRMSE | +|---|---:| +| ape2d/burgers | 0.007568 | +| ape2d/decay_turb | 0.000289 | +| ape2d/diff | 0.000003 | +| ape2d/fisher | 0.000005 | +| ape2d/gs_alpha | 0.003239 | +| ape2d/gs_beta | 0.004901 | +| ape2d/gs_delta | 0.022624 | +| ape2d/gs_epsilon | 0.000889 | +| ape2d/gs_gamma | 0.062780 | +| ape2d/gs_iota | 0.006619 | +| ape2d/gs_kappa | 0.008764 | +| ape2d/gs_theta | 0.019424 | +| ape2d/kdv | 0.024675 | +| ape2d/kolm_flow | 0.011662 | +| ape2d/ks | 0.000024 | +| ape2d/sh | 0.000005 | +| pdearena/navier_stokes_2d | 0.000081 | +| well/active_matter | 0.087494 | +| well/turbulent_radiative_layer_2D | 0.436065 | + +Exact reuse protocol for a shared-neural change: all physical assets/configuration match /run-state/workspace/research/output_ensemble_v1/validation. The source per-case log audit verifies552 complete corpus/smoke physical rollouts and24 complete active rollouts; all576 outputs have unchanged dependencies. For a shared latent-state head, those dependencies include neural weights, guide assets, postprocessing and serving configuration; neural-weight changes cannot reuse these active predictions. The nine neural radiative-layer outputs were replayed with exact context/metadata equality to full inputs and freshly scored with the official scorer. Reaggregate their official per-case scores and the576 audited unchanged per-case scores using the exact aggregation code extracted from the official scorer. Report provenance includes scorer/source-report hashes and the reuse audit. All585 prediction files are retained. This avoids rereading unchanged targets without approximating the metric. + +Outcome: recorded full validation for audit and comparison; no automatic comparison against the distinct quick-validation sample. + +## E109 — shared bottleneck attention, update 500 +- Hypothesis / changed factor: Four-head bottleneck attention in first shared ensemble member, update500/1000;332352 new parameters, initializationseed20270126. Pinned E101 parent and frozen width96 second member/guides. Both complete members execute every case. Matched E106 control uses identical seed20270118, no augmentation, data draws, full30batch2x3,noise.01,AdamW3e-5 and schedule. New parameter initialization preserves CPU/CUDA noise RNG; exact zero-output realTRAIN/unknown parity and repeats precede training. No latent head, inference reflection, pretrained or synthetic assets. Training checkpointSHA256 3b72968a298a51e607db3367f6447cf86e3c82aa20123f24e516cec63b342248, packaged mainSHA256 1b20af668222e58915c8d7c17acc31660c5d4d920b3ab89a51c2fa86822260dd. Fresh all9 thermal VALID forecasts, restricted source/config/input/complete-coverage proof for576 physical reuses. Full585 comparison against actual current best; exact neural/novel repeats precede publication. E106control checkpoints provide the matched architecture comparison; no redundant control training. +- Seed: 20261106. +- Checkpoint SHA256: `1b20af668222e58915c8d7c17acc31660c5d4d920b3ab89a51c2fa86822260dd`. +- Runtime code SHA256: `03cff6f1d5d413fe4d0a139ae4ffc52dcf812b6350bd426c6c98323bbad2abbe`. +- Validation: fixed 81-case subset; reward **0.812724**, failed cases 0. + +| Dataset | VRMSE | +|---|---:| +| ape2d/burgers | 0.006413 | +| ape2d/decay_turb | 0.000381 | +| ape2d/diff | 0.000003 | +| ape2d/fisher | 0.000003 | +| ape2d/gs_alpha | 0.003095 | +| ape2d/gs_beta | 0.004740 | +| ape2d/gs_delta | 0.019250 | +| ape2d/gs_epsilon | 0.001366 | +| ape2d/gs_gamma | 0.049313 | +| ape2d/gs_iota | 0.001785 | +| ape2d/gs_kappa | 0.004855 | +| ape2d/gs_theta | 0.004678 | +| ape2d/kdv | 0.016728 | +| ape2d/kolm_flow | 0.008926 | +| ape2d/ks | 0.000033 | +| ape2d/sh | 0.000004 | +| pdearena/navier_stokes_2d | 0.000083 | +| well/active_matter | 0.040528 | +| well/turbulent_radiative_layer_2D | 0.436065 | + +Selection basis: full585 physical-operator comparison: candidate0.78194706, current0.78454738 + +Outcome: did not improve validation reward; retained current package. + +## E109 attention descriptive paired analysis, update500 + +Thermal VRMSE: E101 parent0.4368911756234454, matched control0.43734695742255775, candidate0.436064850045667. Candidate improves5/9 versus control and4/9 versus parent. Late steps13–30: control0.5258797683704173, candidate0.5246089409605037. Other576 official case results match E101 exactly. Descriptive only after full585 scoring/selection; no fit/new optimizer or model change. Nine thermal trajectories limit generalization claims. Per-case/channel/horizon results and unviewed standalone figures in matched_main_analysis_v1/bottleneck_attention_v1_attention_000500. CheckpointSHA256 `1b20af668222e58915c8d7c17acc31660c5d4d920b3ab89a51c2fa86822260dd`, analysisSHA256 `7c0f231b9439ba2cba75bfd778c5c953ce45b81d3a07212bc717a53b46c65509`. + +## E109 attention500 figure inspected — matched improvement, current thermal component still stronger + +Viewed paired.png/SVG. ThermalVRMSE .436064850045667 versus matched500control .43734695742255775 and E101 .4368911756234454; all4channelmeans improve versus matchedcontrol,5/9casewins(4/9versusE101). Late13–30 .5246089409605037 versuscontrol .5258797683704173; earlyandmiddlewindowsalsoimprove. Full585reward .7819470641568945,0failures, allother576case scores exact. PackagedmainSHA256 `1b20af668222e58915c8d7c17acc31660c5d4d920b3ab89a51c2fa86822260dd`, trainingartifact `3b72968a298a51e607db3367f6447cf86e3c82aa20123f24e516cec63b342248`. No publication: currentE135fullreward .7845473822353738 remainsbetter, and E106control1000 thermal .4354355289580768 remains the strongest thermal component. Fixed attention1000 continuation proceeds unchanged; this9-trajectory result is descriptive and doesnotestablish unseen-regime improvement. + +## E144 — explicit forecast-age conditioning: frozen protocol + +Hypothesis: explicit steps since the supplied context may help the shared neural recurrence handle accumulated prediction error. The existing four-frame state and time-conditioned guide may already suffice; no gain is assumed. Add768 exact-zero parameters to the first shared member: bias-free4to192 projection of [tau,tau²,sin(pi*tau),cos(pi*tau)-1], tau=k/(k+30), k=1..K, into the existing metadata embedding. Features are bounded, deterministic, horizon-independent, and local to each case/shift/channel chunk. No persistent state or new RNG. Original parameters, fixed96 member and E072/E033 guides remain exact; every member still runs every case. + +Pin E101/E106 parent and reuse E106 control500/1000. After E134 finishes, one1000-update all19TRAIN arm, seed20270118/unused reflection20270119, B2×3/full30, LR3e-5/noise.01/groups.05/.075/.075/.8/initial.25, original AdamW/schedule, no reflection. Require constructor/loop/gradient/RNG/mutation checks, six full TRAIN/unknown zero-function serving predictions and repeats, all10115 memberships, actual nativeB2/full30 no-update backward before queue activation. Fresh9thermal/strict576 complete physical reuse/full585 against current selected model and matched control, exact neural/unknown repeats before a win. No pretrained/synthetic assets or held-out data. Preflight and validation scores pending. + +Initial mainSHA256 `d370ba04b2bb7f97455a60c856b8863e5a351b9f2fd3446cfd2ecffe4bd41c5b`, initial artifactSHA256 `468c040487755cad4e5ba371bbea779f9b94a7cbcb41e15d652a79fc6d1b7e51`, protocolSHA256 `c90492b3b3e45b8123568cb48b64fd0a0c74c2aae9b55b93bf8d70c3e62dbf17`, ensemble parameters13926497. + +## Packaging documentation maintenance — forecast age and common state encoder + +The generated README now describes the optional E144 relative-lead projection. Its no-learned-physical-head sentence is emitted only when both integrated latent head and separate common state encoder are absent, avoiding a contradiction in upcoming E128/E131/E137 packages. This changes documentation generation only; inference assets, model parameters, validation decisions and the selected package runtime are unchanged. No new optimizer or data access. + +## E144 forecast-age preflight result and queue activation + +All six complete TRAIN/unfamiliar predictions exactly match E101 and independent repeats. Original/second states and CPU/CUDA constructor RNG are unchanged; zero age projection consumes no RNG. Bounded feature, nonzero output sensitivity and gradient checks pass. Nine extra lifecycle fixtures cover odd/small grids,13-channel chunks, periodic/mixed/wall boundaries and four nonzero-translation cases; step reset, horizon prefix and inverse averaging are exact. Eight deliberate source/asset/config mutations are rejected by the restricted complete-physical-output proof. Initial package installation preserves every tensor and the correct13,926,497 total count. + +Actual native128x384 B2/full30 no-update backward: {"step": 1, "datasets": ["well/turbulent_radiative_layer_2D"], "horizons": [30], "loss": 0.22610411047935486, "grad_norm": 13.412335395812988, "lr": 2.99999370813237e-07, "elapsed_s": 32.2, "peak_gpu_gib": 30.02040433883667, "all_gradients_finite": true, "parameters_unchanged": true, "age_projection_gradient": 0.014803577214479446}. All10115 TRAIN memberships rechecked. This is not an optimizer update or an accuracy result. Activate the fixed1000-update arm behind E134; reuse matched E106500/1000 without retraining. Fresh9/strict576/full585/current-best and repeat gates remain unchanged. Future paired figures require inspection. + +PreflightSHA256 `e58f3059c8f6187d1f934808ea4189a3add502620729c94f0374d9c1e4a90f59`, extra lifecycleSHA256 `c7ca6859957c24ddf90be4362c3ab2601573baad2bc88752c9cacf54ad92a1ce`, unchanged protocolSHA256 `c90492b3b3e45b8123568cb48b64fd0a0c74c2aae9b55b93bf8d70c3e62dbf17`. Initial main d370ba04b2bb7f97455a60c856b8863e5a351b9f2fd3446cfd2ecffe4bd41c5b; no new seed/pretrained/synthetic training or held-out access. + +## Descriptive validation deletion sensitivity — superseded initial corpus aggregation + +The corpus row in this first diagnostic pooled cases incorrectly; the corrected equal-dataset calculation is recorded below. Official model scores and selection were unaffected. + +Read only four frozen comparisons from previously completed full585 official reports: E109500 versus matched E106500 thermal, E1061000 versus E101 thermal, E0601000 versus E101 active, and E135 versus E0601000 corpus. Recompute each affected group after omitting each of its trajectories in turn. Fixed model reports, no new data or training, seed none. Ranges are deterministic cohort sensitivity, not confidence intervals or an unseen-regime estimate; no change to selection or schedules. + +Attention500 vs control500: full mean VRMSE gain0.0012821073768907608; omission range[0.0001979952029498369, 0.0020660899749060588]; positive9/9. + +Continuation1000 vs E101: full mean VRMSE gain0.0014556466653685954; omission range[0.0007295559879603522, 0.0019574397917418024]; positive9/9. + +State encoder1000 vs E101: full mean VRMSE gain0.002255725837827706; omission range[0.00128226759222104, 0.0027499286441990045]; positive24/24. + +Gray-Scott step .3 vs .25: full mean VRMSE gain0.00024919084157521386; omission range[0.00018491071285306715, 0.0002692115021344103]; positive352/352. + +Standalone sensitivity PNG/SVG awaits visual inspection. ResultSHA256 `e219ac6bed74990250db70b1ddffbc5cee77a9602506264ab9f158b316d13ce2`. No model or validation-decision change. + +## Descriptive validation deletion sensitivity + +Corrected aggregation supersedes the initial diagnostic, which incorrectly pooled352corpus trajectories rather than averaging16dataset means equally. Initial source/protocol/results/figures are archived in superseded_pooled_corpus. Official model validation, score reports and selection were always unchanged; only this new descriptive calculation was wrong. + +Read only four frozen comparisons from previously completed full585 official reports: E109500 versus matched E106500 thermal, E1061000 versus E101 thermal, E0601000 versus E101 active, and E135 versus E0601000 corpus. Recompute each affected group after omitting each of its trajectories in turn, changing its own dataset denominator while retaining equal dataset weights. All full group means and reward contributions now assert equality to official reports. Fixed model reports, no new data or training, seed none. Ranges are deterministic cohort sensitivity, not confidence intervals or an unseen-regime estimate; no change to selection or schedules. + +Attention500 vs control500: full mean VRMSE gain0.0012821073768907731; omission range[0.00019799520294982997, 0.0020660899749060935]; positive9/9. + +Continuation1000 vs E101: full mean VRMSE gain0.0014556466653686262; omission range[0.000729555987960373, 0.0019574397917417885]; positive9/9. + +State encoder1000 vs E101: full mean VRMSE gain0.002255725837827696; omission range[0.0012822675922210397, 0.0027499286441989984]; positive24/24. + +Gray-Scott step .3 vs .25: full mean VRMSE gain0.0006102431799316372; omission range[0.00043025652654558703, 0.0006944491786683698]; positive352/352. + +Standalone sensitivity PNG/SVG awaits visual inspection. ResultSHA256 `5600213b21e40aa4b0d8f288cdc4246b46fb32ff8dff4968f5dc8e77a3a447f1`. No model or validation-decision change. + +## Validation deletion sensitivity — corrected figure inspected + +Viewed validation_sensitivity_v1/sensitivity.png. All four affected-group gains remain positive after deleting any one trajectory: attention500/control500 thermal9/9, control1000/E101 thermal9/9, stateencoder1000/E101 active24/24, and GSstep.3/.25 corpus352/352. Full relative gains are0.2932percent,0.3332percent,2.5781percent and5.6286percent respectively. The largest attention-case gain accounts for86.27percent of its net gain, so the average improvement is still concentrated. This is descriptive within the current validation pool, not statistical significance or an estimate of held-out performance. No model/selection/schedule change. Corrected corpus aggregation matches the official equal mean of16dataset means, and all full group means/reward contributions assert parity with official reports. + +Corrected resultSHA256 `5600213b21e40aa4b0d8f288cdc4246b46fb32ff8dff4968f5dc8e77a3a447f1`, protocolSHA256 `9f763e75fdf54a11e5ec4d58c073f3dfe45ccd1df9e2318c3ef8836879c4d271`. Initial calculation/source/plots are retained in superseded_pooled_corpus. + +## E145 — cooling-distribution feature screen: frozen TRAIN protocol + +Hypothesis: the distribution of pressure/density ratio may expose mixing information relevant to radiative cooling. For each supplied frame use32fixed log10(P/rho) hat bins over-4..2, endpoint clipping, volume averages and rho²/(context_density_scale²*tcool)-weighted averages, thenasinh. Total256features; field/positive-tcool eligibility, no dataset-name routing. This is a physical descriptor hypothesis, not a recovered cooling-law claim. Fixed positive floors1e-8/contextscale1e-3. + +Use the same72native thermal TRAIN initial contexts and cached30-step mean/profile targets as E078; all memberships and exact parent/control outputs/statistics rechecked. Append to original591features and use the same8stratified folds(seed20261219),ridge100,fold-training-only standardization/clamp8. No coefficient/feature-grid search. Require>=.1percent gain in BOTH normalized-mean and additive-field error over the better original parent/control, plus40/72case wins; otherwise stop without joint-model training or VALID. Parent already trained on these TRAIN trajectories: only the linear residual probes are cross-fitted, so this is not a validation estimate or deployable specialist. A positive screen only motivates separate all19 shared training. + +Numerical checks before data: partitions/weighted sums, field and spatial permutations, tiny/odd grids, constants, endpoints and missing-field zeros. Newseednone,optimizerupdates0, no pretrained/synthetic training or held-out data. ParentguideSHA256 `3b423a0afbb46bafc914d62daaf8611a1b30ae424b8c517d846cbb93d4d6578c`; protocolSHA256 `5304fbc9b0c4e59cbe54c175a1631a97292f78e36f3c5e82d426e3f91b1d639c`. Results pending. + +## E145 cooling-distribution TRAIN probe — negative, figure inspected + +All numerical feature checks,72native TRAIN memberships/context-scale/cache/parent-control score equalities pass. With fixed E078 folds/seed20261219/ridge100, the256extra cooling-distribution features yield normalized-mean error0.11132040093996384 and additive-field VRMSE0.5698022925104544. Original parent0.0930144262474265/0.5598388813998767; matched controlprobe0.11150019876098338/0.5697928408169022. The candidate wins13/72 against parent; every fold mean field error is worse. It fails both declared gain gates and the40/72win gate. + +Viewed cooling_features_v1/comparison.png. Stop this feature line: no coefficient/bin/ridge sweep, shared-model training, VALID evaluation or deployment. This negative fixed linear-probe screen does not establish that every nonlinear use of cooling descriptors is uninformative. Parent trained on these TRAIN trajectories; only the probe is cross-fitted. All model parameters remain unchanged,0optimizer updates/no new random seed. ParentguideSHA256 `3b423a0afbb46bafc914d62daaf8611a1b30ae424b8c517d846cbb93d4d6578c`, resultSHA256 `09846e02201475bcab72257c3e905d3df3562df709ba851706f854d7e1f94956`, protocolSHA256 `5304fbc9b0c4e59cbe54c175a1631a97292f78e36f3c5e82d426e3f91b1d639c`. No pretrained/synthetic training or held-out access. + +## E146 — eight-substep CUDA replay grouping: mechanism screen + +Hypothesis: capture8consecutive launches of the original single-substep CUDA graph into one outer graph, then use original replays for the remainder, reducing host launch overhead while preserving numerical arithmetic and frame-level guards. Fixedchunk8, no size sweep. First require exact pointwise and complex-FFT manufactured states for1/7/8/9/16/17substeps over4frames and2independent resets. No RNG, trajectory reads, optimizer or model parameters. This stage is not a physical-operator or timing result. + +Only if supported, prepare an isolated opt-in physical prototype from E129; retain original module byteprefix/CPU/disabled/absentgraph/failure fallback. Heavy numerical/timing study waits E143completion and a separately frozen physical-source protocol. Fixed moderate9/-3 and strong17/-5TRAIN,allstate/psi/decode/guards/commonprefix/average/repeat bitexact; three alternating full30 pairs each,>=10percent median speedgainboth and5/6wins including setup. No tolerance relaxation. Portable/freshchangedVALID/full585/currentbest/repeats remain future gates. No pretrained/synthetic training or held-out access. Prototype notimplemented yet. ProtocolSHA256 `0e2394c439750bbf449b10e4ff43ecebbc0f00a7f19bd5e527aed0b7cb0549eb`. + +## E146 nested replay-capture mechanism — unsupported, closed + +The original single-step pointwise graph captures successfully, but calling original.replay() inside outer torch.cuda.graph capture raises CUDA cudaErrorStreamCaptureUnsupported: operation not permitted when stream is capturing. Outer capture_end then reports cudaErrorStreamCaptureInvalidated. A second identical run only added stage/full exception-chain logging to identify the original error; it confirms failure at nested_replay_capture_pointwise. Initial opaque-error source/protocol/result/log are archived in initial_opaque_capture_error. No arithmetic, chunk factor, numerical gate or timing threshold was changed. + +Stop this nested-replay mechanism. No actual physical prototype, trajectory read, optimizer, timing claim, VALID result or deployment. The complex-FFT stage was not reached. No running source or selected package runtime changed, and other GPU jobs continue normally. A direct recapture of several original arithmetic steps would be a different future mechanism and is not implemented by this experiment. Final resultSHA256 `1e03e221700dffd76e0070c0e2ab9f29f0bc03967c383f9255b75b1c3872134c`, revised logging-only protocolSHA256 `8a83c7fc46caf8fbedfd54cadb3edfd88c6af4386c817f10c8a0f48c911b3b9a`. + +## E147 — direct eight-body CUDA graph capture: mechanism screen + +Hypothesis: capture8identical original single-substep arithmetic bodies directly into one graph, reducing host launches without changing operations or stored-frame guards. This is a distinct mechanism after E146 nested replay was rejected by CUDA. Fixedchunk8/no sweep, original graph for remainder. First compare pointwise/complex-FFT manufactured state evolution with the original graph at1/7/8/9/16/17substeps,4frames,2resets; exact/finite states required. No RNG,optimizer,trajectory reads or physical prototype yet. + +Onlyifpass, freeze separate E129-derived physical source and original-prefix/fallback proof before actualTRAIN checks. Preserveintegrate(args,1) and v/psi copies verbatim. Heavy studywaitsE143complete; moderate9/-3,strong17/-5,fixed1kencoder/E072,allstate/guard/commonprefix/repeat equivalence. Three alternating full30timing pairs each including setup, >=10percent median gainboth and5/6wins, no tolerance/size search. Portable/freshchangedVALID/full585/currentbest/repeats remain future gates. No pretrained/synthetic training or held-out access. ProtocolSHA256 `ef3bea696fa1d24ce6f705a7671ade0443fd5c28593177fcd39aa22ac2552efb`. + +## E147 direct eight-body capture — manufactured mechanism passes + +All12checks pass: pointwise and complex-FFT states,1/7/8/9/16/17substeps per frame,4frames and2independent resets, graph of8original arithmetic bodies plus original remainder. Every v/psi state is finite and bit-exact to individual original graph replays. No nested graph launch, RNG, trajectory read, optimizer or physical-operator code. No speed or whole-package claim. Physical-source preparation and actualstate/guard/memory/timing gates remain pending under the frozen E147 plan; existing GPU queues unchanged. ResultSHA256 `b459ad593c15297148c0b1cd8924a3c88ef4189a959a3782809eb146f10113a8`, protocolSHA256 `ef3bea696fa1d24ce6f705a7671ade0443fd5c28593177fcd39aa22ac2552efb`. + +## E147 physical prototype — source frozen, study queued + +Exact E129 kinetic module byteprefix and original integrate(args,1)/v-copy/psi-copy body preserved; opt-in appended implementation captures8original bodies directly. Original advance retained forCPU/disabled/absentgraph/capturefailure; buffers restored after warmup/capture, originalchildgraph retained for remainder. Shared1kencoder0fc425a0cf92a0d25cc8beae5b2cb291cef63f56f6c17c7f9ebd84342e06848d/E072guide fixed. No running source or submissionruntime changed. + +Study waits E143completion. FixedTRAIN9/-3and17/-5trajectory2: rootcontext advances and all3node v/psi/decoded/guards traced at4and30steps, exact averages/commonprefix required. CPUuniform fallback, disabled4step, and injected partial-capture RuntimeError must restorebuffers and original4step output. Limit measured processGPUallocation20GiB. Then3alternating-order full30pairs percase, all outputs exactto independent numerical30step run;>=10percent median gainboth and5/6wins. No chunk/tolerance sweep. Shared single H100. Timed region includes physicalconstructor/original and groupedgraphsetup/four-frame physicalcontextencoding/learned-state injection/guards/decoding and final GPU synchronization. Common frozen neuralcontextencoder, outputCPUcopy, tensor inspection and wholepackage translations/neuralrollouts/I/O are outside timing. Not isolated wholepackage throughput or a4hour verifier guarantee. + +No optimizer/newweights/accuracy score/VALID/deployment; alltarget supervision absent fromthisstudy. Positiveperformance would stillneed portable/freshchangedVALID/full585/currentbest/repeats. PhysicalprotocolSHA256 `109cc70511d11c0ec7bfd544b501a30d551a739d7bc1d0d10403aca9b6e125d0`, candidatekineticSHA256 `011f64ec6f37d38cac8111fec547f82012e28623f023e3be46db2a764eeb509b`. Actual physical checks have not started. Futurecomparisonfigures requireinspection. + +## E148 — raw ensemble training objective: frozen protocol + +Hypothesis: the first shared member can learn useful complementary corrections when its loss sees the equal raw average with the fixed second member. Keep separate raw autoregressive recurrences and the same noisy initial context/fixed E072 guidance. Only the first48 receives gradients; second96 is frozen/eval under no_grad. Use ((y1.double()+y2.double())*.5).float() and the original log1p normalized MSE/target-unbiased variance+1e-7. Mean/profile/coarse/momentum/density/support corrections and physical overrides remain outside the loss; this is not complete serving-loss parity. + +Reuse E106 no-reflection500/1000 controls, initial E101 weights, all19 TRAIN datasets, sampler/noise seed20270118 and unused reflection RNG20270119. No new RNG or parameters; total13925729, first3066627. One1000-update arm, saves500/1000, B2x3/full30, LR3e-5/original AdamW/schedule/noise.01/groups.05/.075/.075/.8/initial.25. Serving code/config/weights architecture unchanged. Before training require CPU algebra/RNG/frozen-state/recurrence checks, all10115 memberships, initial-runtime equality, native B2/full30 finite backward with zero updates and peakunder40GiB. Training waits BOTH E144training completion AND isolated runtime_audit_v1 completion. Existing jobs and physical queue unchanged. + +Fresh9 thermal VALID plus576 complete physical forecasts only under strict unchanged source/config/input/coverage proof; full585 compare actual current selection and matched controls, with neural/unknown exact repeats before a win. No pretrained/synthetic training or held-out access. Initial artifactSHA256 `956092907d8d7d163de708e1be1c6fa7e5b369bbdc6954dc48178acf351efbc0`, fixed secondSHA256 `0c9c49ae6a7da1fbae8d3f21d94b26311467ba1fd991b59877c872973f1a6c23`, protocolSHA256 `dac26831f7255ce33bd47d25a6ab0f5c9232bf1836f4485d1e7347b4b9548ba5`. Preflight and training pending; no score assumed. + +## E148 raw ensemble objective — preflight passed, queued + +All10115 TRAIN memberships/source hashes pass. Frozen96 loader preserves CPU/CUDA RNG and exact weights/no gradients. Three CPU average/half-gradient/disabled-identity fixtures and two actual48/96 unknown-metadata recurrence/reset/prefix fixtures pass. Initial package main tensors and every runtime code/config/asset are exact to E101; no inference change, total13925729 parameters. Native thermal B2/full30 backward loss0.22219108045101166, first gradient norm7.158137321472168, process peak30.31121253967285GiB. Both model states unchanged, all gradients finite, frozen gradients absent,0optimizer updates. Shared-GPU check elapsed41s is not isolated throughput. + +One1000-update arm now queued after BOTH E144training and isolated runtime audit complete. Reuse E106 matched controls; seed20270118/unusedreflection20270119, all training settings frozen. Fresh9/strict576 reuse/full585/currentbest and exact repeat gates unchanged. Raw ensemble objective excludes other serving corrections. No validation result or selection change. PreflightSHA256 `22264100b555e4078d2f2933e2ce1e77384dfe9680d01ef7ce0bb481d11156a3`, objectivechecksSHA256 `953262bc9cf1fe8b3475da1acd7571e36a2559b1559b68f270970096500ac67c`, initialartifactSHA256 `956092907d8d7d163de708e1be1c6fa7e5b369bbdc6954dc48178acf351efbc0`. + +## Full validation of attention_001000 + +All 585 validation trajectories, starting at frame 0; no held-out trajectories. Reward **0.781986**, failed cases 0. Neural initialization seed 20261021; sampling seed 20270118; checkpoint SHA256 `e11da6592fb9d41699ba8d4a7ae769fb70d8439a36a99eaf33f49b40d527d6ca`. Same model as the corresponding quick-validation experiment; changed factor: expanded validation sample only. + +| Dataset | VRMSE | +|---|---:| +| ape2d/burgers | 0.007568 | +| ape2d/decay_turb | 0.000289 | +| ape2d/diff | 0.000003 | +| ape2d/fisher | 0.000005 | +| ape2d/gs_alpha | 0.003239 | +| ape2d/gs_beta | 0.004901 | +| ape2d/gs_delta | 0.022624 | +| ape2d/gs_epsilon | 0.000889 | +| ape2d/gs_gamma | 0.062780 | +| ape2d/gs_iota | 0.006619 | +| ape2d/gs_kappa | 0.008764 | +| ape2d/gs_theta | 0.019424 | +| ape2d/kdv | 0.024675 | +| ape2d/kolm_flow | 0.011662 | +| ape2d/ks | 0.000024 | +| ape2d/sh | 0.000005 | +| pdearena/navier_stokes_2d | 0.000081 | +| well/active_matter | 0.087494 | +| well/turbulent_radiative_layer_2D | 0.435592 | + +Exact reuse protocol for a shared-neural change: all physical assets/configuration match /run-state/workspace/research/output_ensemble_v1/validation. The source per-case log audit verifies552 complete corpus/smoke physical rollouts and24 complete active rollouts; all576 outputs have unchanged dependencies. For a shared latent-state head, those dependencies include neural weights, guide assets, postprocessing and serving configuration; neural-weight changes cannot reuse these active predictions. The nine neural radiative-layer outputs were replayed with exact context/metadata equality to full inputs and freshly scored with the official scorer. Reaggregate their official per-case scores and the576 audited unchanged per-case scores using the exact aggregation code extracted from the official scorer. Report provenance includes scorer/source-report hashes and the reuse audit. All585 prediction files are retained. This avoids rereading unchanged targets without approximating the metric. + +Outcome: recorded full validation for audit and comparison; no automatic comparison against the distinct quick-validation sample. + +## E109 — shared bottleneck attention, update 1000 +- Hypothesis / changed factor: Four-head bottleneck attention in first shared ensemble member, update1000/1000;332352 new parameters, initializationseed20270126. Pinned E101 parent and frozen width96 second member/guides. Both complete members execute every case. Matched E106 control uses identical seed20270118, no augmentation, data draws, full30batch2x3,noise.01,AdamW3e-5 and schedule. New parameter initialization preserves CPU/CUDA noise RNG; exact zero-output realTRAIN/unknown parity and repeats precede training. No latent head, inference reflection, pretrained or synthetic assets. Training checkpointSHA256 37b94b1d739dad144e5ea8209bd7425bd217a87ea35eface18144de357296cb4, packaged mainSHA256 e11da6592fb9d41699ba8d4a7ae769fb70d8439a36a99eaf33f49b40d527d6ca. Fresh all9 thermal VALID forecasts, restricted source/config/input/complete-coverage proof for576 physical reuses. Full585 comparison against actual current best; exact neural/novel repeats precede publication. E106control checkpoints provide the matched architecture comparison; no redundant control training. +- Seed: 20261106. +- Checkpoint SHA256: `e11da6592fb9d41699ba8d4a7ae769fb70d8439a36a99eaf33f49b40d527d6ca`. +- Runtime code SHA256: `03cff6f1d5d413fe4d0a139ae4ffc52dcf812b6350bd426c6c98323bbad2abbe`. +- Validation: fixed 81-case subset; reward **0.812763**, failed cases 0. + +| Dataset | VRMSE | +|---|---:| +| ape2d/burgers | 0.006413 | +| ape2d/decay_turb | 0.000381 | +| ape2d/diff | 0.000003 | +| ape2d/fisher | 0.000003 | +| ape2d/gs_alpha | 0.003095 | +| ape2d/gs_beta | 0.004740 | +| ape2d/gs_delta | 0.019250 | +| ape2d/gs_epsilon | 0.001366 | +| ape2d/gs_gamma | 0.049313 | +| ape2d/gs_iota | 0.001785 | +| ape2d/gs_kappa | 0.004855 | +| ape2d/gs_theta | 0.004678 | +| ape2d/kdv | 0.016728 | +| ape2d/kolm_flow | 0.008926 | +| ape2d/ks | 0.000033 | +| ape2d/sh | 0.000004 | +| pdearena/navier_stokes_2d | 0.000083 | +| well/active_matter | 0.040528 | +| well/turbulent_radiative_layer_2D | 0.435592 | + +Selection basis: full585 physical-operator comparison: candidate0.78198629, current0.78454738 + +Outcome: did not improve validation reward; retained current package. + +## E109 attention descriptive paired analysis, update1000 + +Thermal VRMSE: E101 parent0.4368911756234454, matched control0.4354355289580768, candidate0.4355924533333811. Candidate improves3/9 versus control and6/9 versus parent. Late steps13–30: control0.524151309630233, candidate0.5244114530561426. Other576 official case results match E101 exactly. Descriptive only after full585 scoring/selection; no fit/new optimizer or model change. Nine thermal trajectories limit generalization claims. Per-case/channel/horizon results and unviewed standalone figures in matched_main_analysis_v1/bottleneck_attention_v1_attention_001000. CheckpointSHA256 `e11da6592fb9d41699ba8d4a7ae769fb70d8439a36a99eaf33f49b40d527d6ca`, analysisSHA256 `7090e2e73d4eef8f4fe0d4752ea4c517dd1efe1db5ae82c057a21ed381117d53`. + +## E109 attention1000 — paired figure inspected, line closed + +Viewed matched_main_analysis_v1/bottleneck_attention_v1_attention_001000/paired.png. Final thermal VRMSE0.4355924533333811 versus matched E106control1000 0.4354355289580768 and E101 0.4368911756234454. Candidate improves3/9 versus control and6/9 versus E101; density and velocity0 improve slightly versus control, while pressure and velocity1 worsen. Late13–30 mean0.5244114530561426 versus0.524151309630233. All576 other case results exact, zero failures; full585 reward0.7819862919789422 versus matchedcontrol0.7819993323925672. + +The500 attention checkpoint beat its500 control, but both attention checkpoints remain behind the best1000 no-attention continuation. Close this fixed attention trial without adoption, extra updates or hyperparameter sweep. No claim that all attention architectures fail; nine validation trajectories and small differences limit generalization conclusions. Selected E135 reward0.7845473822353738 unchanged; E131/E137 retain frozen9c14 control weights. Sampling/noise seed20270118, new CPU initialization seed20270126, full1000updates completed. MainSHA256 `e11da6592fb9d41699ba8d4a7ae769fb70d8439a36a99eaf33f49b40d527d6ca`, trainingartifactSHA256 `37b94b1d739dad144e5ea8209bd7425bd217a87ea35eface18144de357296cb4`, pairedanalysisSHA256 `7090e2e73d4eef8f4fe0d4752ea4c517dd1efe1db5ae82c057a21ed381117d53`. + +## E149 — fused active-moment RHS: manufactured arithmetic screen + +Hypothesis: fuse pointwise convection/angular coupling into oneGPUkernel while preserving every arithmetic result. FFTs/Stokes flow/integration unchanged. Fixed Triton BLOCK256/warps4,no autotune; disable cross-operation fusion, use explicit fma inside c10 complex product expressions only. Six manufacturedcomplex64/float32 fixtures cover3/7/33modes,8²/17x19/64x96/256²grids,zeta5/9/17/1.3,scales1e-8..1e4; separate localCPU seed20270302. Compare to exact original TorchScript pointwise expression with physical fuser settings, requiring value AND int32bit equality, repeat, finiteness and unchanged inputs. Stop on first mismatch, no tolerance or block sweep. + +No trajectory/target read, optimizer, weights, physicalprototype, timing or VALID. Existing queues/submissionruntime unchanged. Onlyifpass would a separately frozen portablephysicalprototype be prepared, with actualstate/guard/fallback/memory/timing checks queued after E147. No deployment without freshchangedVALID/full585/currentbest/repeats. Same-directory atomic cache helper copied from E077, no installedlibrary changes. ProtocolSHA256 `3de0c39e12fae60b2121466070f36114a8bdcda5fe6fb0484c902731b8c3810b`, kernelSHA256 `35bd675f1d22c5231b828bb9c0359a68970d8e90452f4dde191b13700a0d0034`. Outcome pending. + +## E149 harness execution-context correction + +First run failed before Triton invocation or comparison: TorchScript complex-constant RuntimeError(value cannot be converted to type double without overflow). The harness omitted the original physical caller’s torch.jit.optimized_execution(False) wrapper. Archived original harness/protocol/result/log in initial_jit_execution_error; add that exact context only and retry. Kernel bytes,fixtures,seed and exact-equality gates unchanged. No numerical outcome or timing yet. RevisedprotocolSHA256 `39392bf08f194173a5c723deba0893ebb628d72110d36e0abcc8da7037ae3852`. + +## E149 fused pointwise arithmetic — all manufactured checks pass + +After matching the original TorchScript execution context, all6fixtures pass exact value AND int32bit equality to original scripted arithmetic, independent repeats, finiteness and unchanged inputs. Eager/reference-script results also match. Coverage3/7/33modes,grids8²/17x19/64x96/256²,zeta5/9/17/1.3,scale1e-8..1e4; localCPU seed20270302. Largestfixture2162688complex entries, allzero difference. Original candidatekernel source unchanged. Triton uses its bundled libdevice because toolkit libdevice is unavailable; warning retained, no installedlibrary modification. + +This establishes pointwise arithmetic only, not fullphysicaloperator equivalence or runtime. No trajectory/target reads, optimizer, modelchange, VALID or deployment. Nextprepare opt-in E129 integration with custom-op dispatch and CPU/disabled fallback, freeze source before actualphysicalchecks, and retain declared wait after E147completion. ResultSHA256 `3375aaf5d9185ce473f96b739b5383514a9d7cb20b7701266d42eb948ca62e0a`, protocolSHA256 `39392bf08f194173a5c723deba0893ebb628d72110d36e0abcc8da7037ae3852`, kernelSHA256 `35bd675f1d22c5231b828bb9c0359a68970d8e90452f4dde191b13700a0d0034`. + +## E149 solver integration and graph dispatch — prepared, physical study queued + +ManufacturedCPU/CUDA TorchScript custom-op dispatch matches original int32bits. CUDA3independent inputresets times4graph replays each are exact; dispatch counts{'fused_cuda': 5, 'fallback_cuda': 0, 'cpu': 1}prove the fused path. Both complete physical modules import successfully. No trajectories or optimizer. Initialsourcepath mistake stopped preparation before files/forecasts and is archived in initial_source_path_error; corrected to pinned E129portable_preflight/package. + +Prepared an opt-in fused_moment_rhs integrator. Original whole flow/RHS/integrate functions preserved; four scoped edits plus newscriptedfunctions/customop are exactly reversible to E129source. Disabled/CPU/unavailable backend selects the original integrator; unsupportedCUDA dtype/stride uses originalpointwisefallback. Privatequadrature nodes receive the same option. Kernelbytes remain the6fixture-verified version. + +Frozen physical study waits E147complete. Fixedmoderate9/-3,strong17/-5 TRAINtrajectory2, common1kencoder/E072 unchanged. Rootcontext/3node statespsi/output int32bits, guards/commonprefix/repeats at4and30steps mustmatch; CPU/disabled/injectedunavailablefallback checks; no CUDAfallback allowed in fused runs. Then3alternating full30timingpairs each, >=10percent median speedgainboth and5/6wins, processallocationunder20GiB. Shared single H100. Includes physicalconstructor/CUDAgraphsetup/four-frame physicalcontextencoding/learned-state injection/guards/decode/final sync. Triton kernels are already compiled by preceding numerical checks; cold numerical constructor time is logged separately. Excludes common neuralcontextencoder, CPUcopies, inspection and wholepackage translations/neuralrollouts/I/O. Not isolated fullpackage throughput or a4hour guarantee. Positive result still requires portable/freshchangedVALID/full585/currentbest/repeats. No accuracy/latencyresult yet. Futurephysicalcomparisonfigures require viewing. + +PhysicalprotocolSHA256 `369689b6c311ce84c9a4dbc1036d1020afd8f99b514f9b57dc0a96ef34558f23`, candidatekineticSHA256 `8ddd84aedf2b9ba0ad44e8110a45b0ddcb163115837c0b00edbcb93fbf57bad7`, dispatchresultSHA256 `0c4adf8fc0c49ca093ba547981a8fcbd7f89bcc98eee2e3f686012b3d6199900`. + +## Selected package documentation — inactive shrinkage removed + +The selected config has neural_regularization.profile_mix=0, so its README should not describe an active horizon-dependent profile-shrinkage transform. Removed that obsolete paragraph and restricted the future README generator to a nonzero effective profile_mix (respecting the regularizer’s0.75 default when unspecified). The separate nonnegative-output description remains accurate. Documentation only: all runtimecode/config/weights/manifest hashes and all predictions/scores/selection remain unchanged. + +## Physical dependency audit — optional kernel assets protected + +Added kernel.py,fused_ops.py,pointwise_reference.py,adjacent_cache.py to conservative physical-dependency and runtime-hash accounting before any E149 package exists. Addition,bytechange or removal of any asset forces fresh physical validation; identical or jointly absent files retain previous behavior. Also recognize initial_state_encoder directly if a future package omits the legacy latent_state flag. Existing E128/E131/E137 retain both flags, so current comparisons are unchanged. Five encoder/runtime mutation cases and wholeconfig mutation reject; selected selfcomparison and E148initial pair still pass; E131first-main change still flagged conservatively and requires its existing private proof. No cache rule was relaxed, no rawdata/prediction/model/selection change. CheckresultSHA256 `c03ac41f3d488e96415ae9293261cb719cca4915271ec7d175607718b184e2e1`. + +## Package README — direct validation summary + +Added the existing full585 validation reward, failure count, fourgroup VRMSE and maincheckpoint hash directly to the selected README and future record.py generated READMEs. Values are read from the already completed official report; corpus aggregation is explicitly the equal mean of16 dataset means. Documentation only, no new inference, scoring, selection or runtime/manifest hash change. + +## Full validation of validation + +All 585 validation trajectories, starting at frame 0; no held-out trajectories. Reward **0.782824**, failed cases 0. Neural initialization seed 20261021; sampling seed 20261106; checkpoint SHA256 `1f24abcc814d6b2fff9a530b350ee4d8cffc8c80cb9374bfee6509c02ae0bd61`. Same model as the corresponding quick-validation experiment; changed factor: expanded validation sample only. + +| Dataset | VRMSE | +|---|---:| +| ape2d/burgers | 0.007568 | +| ape2d/decay_turb | 0.000289 | +| ape2d/diff | 0.000003 | +| ape2d/fisher | 0.000005 | +| ape2d/gs_alpha | 0.003239 | +| ape2d/gs_beta | 0.004901 | +| ape2d/gs_delta | 0.022624 | +| ape2d/gs_epsilon | 0.000889 | +| ape2d/gs_gamma | 0.062780 | +| ape2d/gs_iota | 0.006619 | +| ape2d/gs_kappa | 0.008764 | +| ape2d/gs_theta | 0.019424 | +| ape2d/kdv | 0.024675 | +| ape2d/kolm_flow | 0.011662 | +| ape2d/ks | 0.000024 | +| ape2d/sh | 0.000005 | +| pdearena/navier_stokes_2d | 0.000081 | +| well/active_matter | 0.085238 | +| well/turbulent_radiative_layer_2D | 0.436891 | + +Replayed and officially scored all24 active and all9 thermal VALID trajectories with this checkpoint. 24/24 active cases have a complete30-step physical prefix; any remainder is the same model’s neural fallback. Reused552 complete corpus/smoke outputs and their official per-case scores only after exact unaffected module/configuration comparison and exact transitive serving-source audits of the common-context encoder/model-loading/cache extensions and isolated kinetic scheduling subclass. Per-case input/output hashes and solver coverage are in reuse_audit.json. The exact official aggregation code reassembles all585 case scores, with source-report/scorer hashes beside each report. The common context-encoder weights and its fixed guide affect active hidden-state inference, so no active output was reused. The quick81 report is an exact input/metadata-matched subset of these585 predictions. Selection requires full585 reports for candidate and current package. No held-out trajectories. + +Outcome: recorded full validation for audit and comparison; no automatic comparison against the distinct quick-validation sample. + +## E129 — guarded independent-stream quadrature +- Hypothesis / changed factor: E129 fixed E128 common encoder and complete two-member ensemble with independent-stream physical quadrature. No new learned parameters, optimizer, seed or numerical arithmetic. Original context/latent initialization, three single-node kernels, per-step finite/positive/moment guards, common valid prefix and ordered average retained. Original sequential CPU/disabled path remains. All prototype outputs and prefixes exact for two TRAIN regimes/four-step screens/three alternating-order30-step pairs each; fixed timing gate at least10% median gain in each regime and5/6wins passed. Timing includes constructor, physical context, guards and decoding on the shared H100, excluding neural/whole-package work. Six complete TRAIN/unfamiliar13channel/oddgrid forecasts and repeats exact. Fresh33 active/thermal VALID outputs exactly match their declared original reference computations; 552 complete corpus/smoke outputs reused only through the two exact transitive source/config/input/coverage audits. Full585/current-best comparison; independent full physical/neural/unfamiliar repeats before an accuracy win or exact scheduling tie. Higher reward takes precedence. A separate locked check may publish an equal-score scheduling improvement only when all585 per-case scores are identical, the current runtime is exactly the same model with sequential quadrature, and all repeat checks pass. No pretrained/synthetic assets or held-out data. +- Seed: 20261106. +- Checkpoint SHA256: `1f24abcc814d6b2fff9a530b350ee4d8cffc8c80cb9374bfee6509c02ae0bd61`. +- Runtime code SHA256: `014865502d4c34ffbf44554b9d41f0546356bc3bc3f72d2f41c0063806b787be`. +- Validation: fixed 81-case subset; reward **0.813493**, failed cases 0. + +| Dataset | VRMSE | +|---|---:| +| ape2d/burgers | 0.006413 | +| ape2d/decay_turb | 0.000381 | +| ape2d/diff | 0.000003 | +| ape2d/fisher | 0.000003 | +| ape2d/gs_alpha | 0.003095 | +| ape2d/gs_beta | 0.004740 | +| ape2d/gs_delta | 0.019250 | +| ape2d/gs_epsilon | 0.001366 | +| ape2d/gs_gamma | 0.049313 | +| ape2d/gs_iota | 0.001785 | +| ape2d/gs_kappa | 0.004855 | +| ape2d/gs_theta | 0.004678 | +| ape2d/kdv | 0.016728 | +| ape2d/kolm_flow | 0.008926 | +| ape2d/ks | 0.000033 | +| ape2d/sh | 0.000004 | +| pdearena/navier_stokes_2d | 0.000083 | +| well/active_matter | 0.039602 | +| well/turbulent_radiative_layer_2D | 0.436891 | + +Selection basis: full585 physical-operator comparison: candidate0.78282385, current0.78454738 + +Outcome: did not improve validation reward; retained current package. + +## E129 completed validation — reviewed for component reuse + +Full585 reward0.782823849365577, zero failures; quick81 reward0.8134928937892318. Groups: corpus0.010841903128625624,Arena0.00008114316907195506,active0.08523834565974923,thermal0.4368911756234454. All33 fresh active/thermal predictions exactly match the declared original reference computations; all24active rollouts and both member paths have complete30-step physical prefixes. Other552 outputs retain the strict unchanged-computation reuse proof. CompositionchecksSHA256 `8011ebc11b5edc37c3f4fcc66ecdca9ae218315f99ee4109690234ad3a5b3d0e`, fullreportSHA256 `46eaf3173e00dd43a899c9c5af57a83308fb8c9fac386c0fdabac049a0f27c42`. + +The scheduling change passes its numerical validation and the earlier fixed TRAIN timing gates. It does not replace the higher-reward E135 selection0.7845473822353738. Keep this validated performance component for the already frozen E137 composition; E128/E131 and E137 remaining gates are still required. E138 Gaussianquadrature TRAIN pilot has now started after the declared completion marker. No new inference-budget claim or model change. + +## E150 — boundary transport and pressure-work features: frozen TRAIN screen + +Hypothesis: boundary-cell transport and volume pressure-work information may improve broad thermal statistics beyond16-bin axis profiles. Fixed56features: percontextframe mean normalizedkinetic energy, mean P*dt*divu, and outward density/pressure/kinetic transport at eachof4faces. Onlyopenfaces contribute; wall/periodicfluxfeatureszero. Use cell-center values, contextstd density/pressure andRMSspeed scales floored1e-3, dt/domain factors, signedasinh; centralperiodic/one-sided-edge derivatives, singletonzero. Metadatafield eligibility, no dataset-name routing or gamma/cooling-law assumption. These are descriptors, not exact boundary fluxes or an energy-balance solver. + +Same72native thermal TRAIN initialcontexts and cached30step statistics, original591features, E078eightfold seed20261219/ridge100/fold-training-only standardization/clamp8. Require>=.1percent gain in BOTH normalizedmean and additive-field error overbetterparent/control, plus40/72wins. Otherwise stopwithoutsharedtraining/VALID orfeature/ridge sweep. Onlyprobes arecross-fitted; parenttrainedtheseTRAINcases. Positiveonlymotivatesseparateall19jointtraining, no specialistdeployment. No optimizer/newseed/pretrained/synthetictraining/heldout access. Numericalfeature/context/cache/membership/control checks before scoring. ParentguideSHA256 `3b423a0afbb46bafc914d62daaf8611a1b30ae424b8c517d846cbb93d4d6578c`, protocolSHA256 `cc0384cf31e5112466def4a22ff2265b13e296ce2f84a5e464f09346f5a5832f`. + +## E150 boundary transport/work TRAIN screen — negative, figure inspected + +Allfeature invariance/manufacturedwork checks,72native TRAIN memberships/context-cache/parent-control exactness checks pass. Fixed56extra features with E078eightfold seed20261219/ridge100 yield normalizedmean error0.11164230493932131 and additive-field VRMSE0.5698691034569473. Originalparent0.0930144262474265/0.5598388813998767; matchedcontrolprobe0.11150019876098338/0.5697928408169022. Candidate improves13/72 against parent; all8fold means worsen. Fails bothdeclared gain gates and40win gate. + +Viewed boundary_flux_features_v1/comparison.png. Close this fixed feature line: no feature/ridge sweep, sharedmodeltraining, VALID or deployment. This does not establish that every nonlinear use of boundary transport is uninformative. ParenttrainedtheseTRAINtrajectories; only linearprobes arecross-fitted. No optimizer/newseed/modelparameter change. ParentguideSHA256 `3b423a0afbb46bafc914d62daaf8611a1b30ae424b8c517d846cbb93d4d6578c`, resultSHA256 `bece92da391a43352f956b297d43d7bd8fa2438997ef590e53fcabf92549fc2e`, protocolSHA256 `cc0384cf31e5112466def4a22ff2265b13e296ce2f84a5e464f09346f5a5832f`. No pretrained/synthetictraining or heldoutaccess. + +## Full validation of eval002000 + +All 585 validation trajectories, starting at frame 0; no held-out trajectories. Reward **0.782672**, failed cases 0. Neural initialization seed 20261021; sampling seed 20261127; checkpoint SHA256 `f05bcc0fd3bc3d8be547758d7eadec4fcb3f80215c86fdf33dbedba983bb5edd`. Same model as the corresponding quick-validation experiment; changed factor: expanded validation sample only. + +| Dataset | VRMSE | +|---|---:| +| ape2d/burgers | 0.007568 | +| ape2d/decay_turb | 0.000289 | +| ape2d/diff | 0.000003 | +| ape2d/fisher | 0.000005 | +| ape2d/gs_alpha | 0.003239 | +| ape2d/gs_beta | 0.004901 | +| ape2d/gs_delta | 0.022624 | +| ape2d/gs_epsilon | 0.000889 | +| ape2d/gs_gamma | 0.062780 | +| ape2d/gs_iota | 0.006619 | +| ape2d/gs_kappa | 0.008764 | +| ape2d/gs_theta | 0.019424 | +| ape2d/kdv | 0.024675 | +| ape2d/kolm_flow | 0.011662 | +| ape2d/ks | 0.000024 | +| ape2d/sh | 0.000005 | +| pdearena/navier_stokes_2d | 0.000081 | +| well/active_matter | 0.085957 | +| well/turbulent_radiative_layer_2D | 0.435061 | + +Replayed and officially scored all24 active and all9 thermal VALID trajectories with this checkpoint. 24/24 active cases have a complete30-step physical prefix; any remainder is the same model’s neural fallback. Reused552 complete corpus/smoke outputs and their official per-case scores only after exact unaffected module/configuration comparison and serving-source normalization of the isolated latent-head plumbing. Per-case input/output hashes and solver coverage are in reuse_audit.json. The exact official aggregation code reassembles all585 case scores, with source-report/scorer hashes beside each report. Neural weights and guides affect active hidden-state inference, so no active output was reused. The quick81 report is an exact input/metadata-matched subset of these585 predictions. Selection requires full585 reports for candidate and current package. No held-out trajectories. + +Outcome: recorded full validation for audit and comparison; no automatic comparison against the distinct quick-validation sample. + +## E060 — joint hidden-state learning, update 2000 +- Hypothesis / changed factor: Joint shared-backbone/state-head training update2000/2000. Zero-initseed20261126, main samplingseed20261127 and physicalsamplingseed20261128. All19-dataset autoregressive objective, effectivebatch6/full30-step rollout plus native four-step differentiable moment-dynamics VRMSE every8 updates. Physical examples uniformly sample TRAIN parameter files then trajectories with even periodic shifts; all175 cache memberships and hashes audited. Same shared head computed for every case; bounded F6 correction0.01*c*(abs(F2)/c)^3*tanh(head), no parameter fitting at inference. HeadLR10x mainLR0.00003 cosine; fixed selected guides and unchanged three-node quadrature. Replay all24 active and9 thermal VALID trajectories for this checkpoint; reuse552 complete corpus/smoke predictions only after unaffected module/configuration/serving-source audit. Full585 comparison is mandatory; quick81 scores are logged only as the exact subset. No synthetic or pretrained assets. Exact active, neural and unfamiliar-schema repeat checks precede any winning publication. +- Seed: 20261127. +- Checkpoint SHA256: `f05bcc0fd3bc3d8be547758d7eadec4fcb3f80215c86fdf33dbedba983bb5edd`. +- Runtime code SHA256: `9616372e912d369c5aafd4fdf9d22e0b41d14da1de950142164f6d27ea064c39`. +- Validation: fixed 81-case subset; reward **0.813207**, failed cases 0. + +| Dataset | VRMSE | +|---|---:| +| ape2d/burgers | 0.006413 | +| ape2d/decay_turb | 0.000381 | +| ape2d/diff | 0.000003 | +| ape2d/fisher | 0.000003 | +| ape2d/gs_alpha | 0.003095 | +| ape2d/gs_beta | 0.004740 | +| ape2d/gs_delta | 0.019250 | +| ape2d/gs_epsilon | 0.001366 | +| ape2d/gs_gamma | 0.049313 | +| ape2d/gs_iota | 0.001785 | +| ape2d/gs_kappa | 0.004855 | +| ape2d/gs_theta | 0.004678 | +| ape2d/kdv | 0.016728 | +| ape2d/kolm_flow | 0.008926 | +| ape2d/ks | 0.000033 | +| ape2d/sh | 0.000004 | +| pdearena/navier_stokes_2d | 0.000083 | +| well/active_matter | 0.040083 | +| well/turbulent_radiative_layer_2D | 0.435061 | + +Selection basis: full585 physical-operator comparison: candidate0.78267183, current0.78454738 + +Outcome: did not improve validation reward; retained current package. + +## E138 Gaussian phase quadrature TRAIN result + +Fixed three-point Gaussian rule, same phase-offset mean and variance as equal-node control before constraints; seed20261026/scale1e-4, fixed common1kencoder and guide. Pilot {"complete": true, "baseline": 0.25917132096878226, "gaussian": 0.25926963094741645, "improved_cases": 0, "relative_improvement": -0.0003793242950906361, "passed": false}. Confirmation null. Declared TRAIN gate fails; stop this hypothesis without VALID or deployment. No new weights, optimizer, fitted hyperparameter, synthetic training or held-out access. Result SHA256 `fd3aad9ba03164be0ae550a152d934b136ecfa0866c1a82b653c613e2bfd51e1`. + +## E138 descriptive TRAIN paired analysis + +pilot: physical VRMSE0.25917132096878226 to0.25926963094741645, 0/4 wins. No parameter fit or selection beyond the frozen study gates. Standalone paired PNG/SVG in phase_geometry_analysis_v1/gaussian_quadrature_v1 await visual inspection. Analysis SHA256 `5b92142593172e8573528c89d924f1bf2d57bbf0b0f48eb261794422947c4e68`. + +## Full validation of validation + +All 585 validation trajectories, starting at frame 0; no held-out trajectories. Reward **0.782824**, failed cases 0. Neural initialization seed 20261021; sampling seed 20261106; checkpoint SHA256 `1f24abcc814d6b2fff9a530b350ee4d8cffc8c80cb9374bfee6509c02ae0bd61`. Same model as the corresponding quick-validation experiment; changed factor: expanded validation sample only. + +| Dataset | VRMSE | +|---|---:| +| ape2d/burgers | 0.007568 | +| ape2d/decay_turb | 0.000289 | +| ape2d/diff | 0.000003 | +| ape2d/fisher | 0.000005 | +| ape2d/gs_alpha | 0.003239 | +| ape2d/gs_beta | 0.004901 | +| ape2d/gs_delta | 0.022624 | +| ape2d/gs_epsilon | 0.000889 | +| ape2d/gs_gamma | 0.062780 | +| ape2d/gs_iota | 0.006619 | +| ape2d/gs_kappa | 0.008764 | +| ape2d/gs_theta | 0.019424 | +| ape2d/kdv | 0.024675 | +| ape2d/kolm_flow | 0.011662 | +| ape2d/ks | 0.000024 | +| ape2d/sh | 0.000005 | +| pdearena/navier_stokes_2d | 0.000081 | +| well/active_matter | 0.085238 | +| well/turbulent_radiative_layer_2D | 0.436891 | + +Replayed and officially scored all24 active and all9 thermal VALID trajectories with this checkpoint. 24/24 active cases have a complete30-step physical prefix; any remainder is the same model’s neural fallback. Reused552 complete corpus/smoke outputs and their official per-case scores only after exact unaffected module/configuration comparison and serving-source normalization of the isolated common-context encoder, model-loading and cache extensions. Per-case input/output hashes and solver coverage are in reuse_audit.json. The exact official aggregation code reassembles all585 case scores, with source-report/scorer hashes beside each report. The common context-encoder weights and its fixed guide affect active hidden-state inference, so no active output was reused. The quick81 report is an exact input/metadata-matched subset of these585 predictions. Selection requires full585 reports for candidate and current package. No held-out trajectories. + +Outcome: recorded full validation for audit and comparison; no automatic comparison against the distinct quick-validation sample. + +## E128 — common context encoder with fixed shared rollouts +- Hypothesis / changed factor: Fixed E101 two-member autoregressive ensemble plus one shared context encoder from the all19 jointly trained phase10 update1000 backbone/head, SHA 0fc425a0cf92a0d25cc8beae5b2cb291cef63f56f6c17c7f9ebd84342e06848d. Encoder training seed20261127/physical20261128; no new fitting or seed. Entire encoder runs every case/distinct translation/channel chunk, sharing identical context work across both fixed main members. Each member retains its own recurrence and fallback; full outputs average equally. Both fixed E072/E033 guides and original physical quadrature remain unchanged. Six TRAIN/unfamiliar13channel/oddgrid composition and repeat checks, strict parameter/assets/lineage, partial-prefix and cache-scope checks pass. Fresh inference and official scores for all24 active plus9 thermal, strict unaffected-source/config/input/coverage audit for552 complete corpus/smoke outputs, exact full585 aggregation/current-best comparison. All33 fresh outputs also exactly match their declared fixed reference computations. Independent physical/neural/unfamiliar repeat checks precede a winning publication. 16992454parameters, pretrained_assets empty, no synthetic or held-out data, no CUDA stream scheduling change. +- Seed: 20261106. +- Checkpoint SHA256: `1f24abcc814d6b2fff9a530b350ee4d8cffc8c80cb9374bfee6509c02ae0bd61`. +- Runtime code SHA256: `64f017b6fc68c11d3d67b08f8e96251db30b69b34db1ecade1323a5f847d5eef`. +- Validation: fixed 81-case subset; reward **0.813493**, failed cases 0. + +| Dataset | VRMSE | +|---|---:| +| ape2d/burgers | 0.006413 | +| ape2d/decay_turb | 0.000381 | +| ape2d/diff | 0.000003 | +| ape2d/fisher | 0.000003 | +| ape2d/gs_alpha | 0.003095 | +| ape2d/gs_beta | 0.004740 | +| ape2d/gs_delta | 0.019250 | +| ape2d/gs_epsilon | 0.001366 | +| ape2d/gs_gamma | 0.049313 | +| ape2d/gs_iota | 0.001785 | +| ape2d/gs_kappa | 0.004855 | +| ape2d/gs_theta | 0.004678 | +| ape2d/kdv | 0.016728 | +| ape2d/kolm_flow | 0.008926 | +| ape2d/ks | 0.000033 | +| ape2d/sh | 0.000004 | +| pdearena/navier_stokes_2d | 0.000083 | +| well/active_matter | 0.039602 | +| well/turbulent_radiative_layer_2D | 0.436891 | + +Selection basis: full585 physical-operator comparison: candidate0.78282385, current0.78454738 + +Outcome: did not improve validation reward; retained current package. + +## Full validation of validation + +All 585 validation trajectories, starting at frame 0; no held-out trajectories. Reward **0.782945**, failed cases 0. Neural initialization seed 20261021; sampling seed 20270118; checkpoint SHA256 `9c14c8231f5e209ac3cae69d51d666b24525839d23f7d1e928c019a32b143fc1`. Same model as the corresponding quick-validation experiment; changed factor: expanded validation sample only. + +| Dataset | VRMSE | +|---|---:| +| ape2d/burgers | 0.007568 | +| ape2d/decay_turb | 0.000289 | +| ape2d/diff | 0.000003 | +| ape2d/fisher | 0.000005 | +| ape2d/gs_alpha | 0.003239 | +| ape2d/gs_beta | 0.004901 | +| ape2d/gs_delta | 0.022624 | +| ape2d/gs_epsilon | 0.000889 | +| ape2d/gs_gamma | 0.062780 | +| ape2d/gs_iota | 0.006619 | +| ape2d/gs_kappa | 0.008764 | +| ape2d/gs_theta | 0.019424 | +| ape2d/kdv | 0.024675 | +| ape2d/kolm_flow | 0.011662 | +| ape2d/ks | 0.000024 | +| ape2d/sh | 0.000005 | +| pdearena/navier_stokes_2d | 0.000081 | +| well/active_matter | 0.085238 | +| well/turbulent_radiative_layer_2D | 0.435436 | + +Fresh official scores for all9 thermal VALID trajectories. Reused576 complete physical outputs only after exact all-runtime-assets/config equality except first recurrent weights, unchanged independent context encoder/guide and serving-source proof, input/output hashes, and full per-case prefix coverage. Generic conservative latent dependency guard remains unchanged. Any incomplete prefix would require fresh inference. Fresh thermal outputs also exactly match the declared continued-rollout reference. Official scorer aggregation reassembles585 cases; quick81 is the exact input/metadata-matched subset. No held-out access. + +Outcome: recorded full validation for audit and comparison; no automatic comparison against the distinct quick-validation sample. + +## E131 — continued shared rollouts with fixed state encoder +- Hypothesis / changed factor: Fixed E128 common context encoder and two-member model, replacing only the first rollout weights with E106control1000 SHA9c14c8231f5e209ac3cae69d51d666b24525839d23f7d1e928c019a32b143fc1. Main continuation seed20270118; common encoder seed20261127/physical20261128/update1000 fixed. No new optimization, seed or runtime code/config changes. All components apply everycase; first/second neural recurrence and fallbacks remain separate. Six TRAIN/unfamiliar13channel/oddgrid composition and repeat checks pass. After E128 fresh33/full585 validation completed, fresh9thermal outputs exactly match the continued-rollout reference; 576 complete physical outputs reused under strict all-assets-except-mainweights/input/hash/coverage proof because the independent context encoder and its guide are unchanged. No generic latent guard relaxation; incomplete prefixes would always need fresh replay. Official full585/current-best comparison and independent neural/unfamiliar repeats before publication. 16992454parameters; pretrained_assets empty, no synthetic or held-out data. +- Seed: 20270118. +- Checkpoint SHA256: `9c14c8231f5e209ac3cae69d51d666b24525839d23f7d1e928c019a32b143fc1`. +- Runtime code SHA256: `64f017b6fc68c11d3d67b08f8e96251db30b69b34db1ecade1323a5f847d5eef`. +- Validation: fixed 81-case subset; reward **0.813614**, failed cases 0. + +| Dataset | VRMSE | +|---|---:| +| ape2d/burgers | 0.006413 | +| ape2d/decay_turb | 0.000381 | +| ape2d/diff | 0.000003 | +| ape2d/fisher | 0.000003 | +| ape2d/gs_alpha | 0.003095 | +| ape2d/gs_beta | 0.004740 | +| ape2d/gs_delta | 0.019250 | +| ape2d/gs_epsilon | 0.001366 | +| ape2d/gs_gamma | 0.049313 | +| ape2d/gs_iota | 0.001785 | +| ape2d/gs_kappa | 0.004855 | +| ape2d/gs_theta | 0.004678 | +| ape2d/kdv | 0.016728 | +| ape2d/kolm_flow | 0.008926 | +| ape2d/ks | 0.000033 | +| ape2d/sh | 0.000004 | +| pdearena/navier_stokes_2d | 0.000083 | +| well/active_matter | 0.039602 | +| well/turbulent_radiative_layer_2D | 0.435436 | + +Selection basis: full585 physical-operator comparison: candidate0.78294463, current0.78454738 + +Outcome: did not improve validation reward; retained current package. + +## E151 fixed single-rollout composition prepared + +Hypothesis: retain the E0602k recurrent model (thermal VALID VRMSE0.4350606727655739) and E0601k independent common context encoder (active0.08523834565974923), with E135 GS step.3/E129 exact streams. Every learned component applies to everycase; globally remove the96width member. Export removes only98 unused main-head parameters, with source/tensor/forward/serving proof required. Parameters7465747; no new training, fit or seed; inherited joint TRAIN seed20261127/physical20261128. Original2k checkpointSHA `f05bcc0fd3bc3d8be547758d7eadec4fcb3f80215c86fdf33dbedba983bb5edd`; exported checkpointSHA `1d4d7fdf378298ee1a7435c66d9bc91d8d1ac64ebe2309ba3eb6e4d38fdd0975`. EncoderSHA `0fc425a0cf92a0d25cc8beae5b2cb291cef63f56f6c17c7f9ebd84342e06848d`. Fresh9thermal/full585/current-best selection and all repeats required;576 complete-physical reuse only after pinned privateproof. E137 remains unchanged. E151 validation pending, no claimed score or publication. ProtocolSHA `9fe5bb3fa632eeb5cb11b621cbd4cbc13e8e66a90048d451a020540bb53d5bdf`. + +## E0602k and E138 figures inspected + +Actually viewed phase10/analysis002000/paired.png and phase_geometry_analysis_v1/gaussian_quadrature_v1/paired.png. The2k model improves7/9 thermal cases relative to E101, principally pressure; density worsens slightly. Active12/24 improve versus E101, while its aggregate0.08595728921216839 is worse than the1k encoder0.08523834565974923; retain1k context encoder. E138 Gaussian quadrature worsens4/4 fixed TRAIN pilot cases:0.25917132096878226 to0.25926963094741645, no confirmation/VALID/tuning; close this line. Neither plot establishes significance or held-out performance. + +## E152 fixed wider averaging prepared + +Hypothesis: the new E0602k main may benefit from the original96width shared member at the existing fixed0.5 complete-output weight. New experiment, not a rebase of E151 or a retry of the rejected E103 fitted coefficient. Offline TRAIN9pilot (>=0.1% mean gain and5/9wins) then63disjoint confirmation (>=0.1% and36/63) only if positive; no fitting, newseed, optimizer or weight sweep. Both source models trained across all19 datasets. MainexportSHA `1d4d7fdf378298ee1a7435c66d9bc91d8d1ac64ebe2309ba3eb6e4d38fdd0975`; secondSHA `0c9c49ae6a7da1fbae8d3f21d94b26311467ba1fd991b59877c872973f1a6c23`. Wait E151validationcomplete. Cached wider predictions have pinned package/audit hashes; fresh single-model TRAIN predictions and native input/target cache checks. Positive screen still requires actual two-member serving parity with both members everycase, full585 VALID/current-best/repeats. Validation pending; not a publishable candidate yet. ProtocolSHA `1d23234788a237757642e73f9db28b222ac1c40846cab811491fabf44f5b9e5f`. + +## E151 complete serving preflight + +Nine TRAIN/unfamiliar cases, including a native30-step thermal rollout and13channel oddgrid, exactly match the declared2k neural or E137 complete-physical computations. Reordered independent repeats are exact. Six guided/unguided CPU backbone fixtures exactly match the original2k model after removing only its98 unused latent-head parameters. All recurrent tensors retain values/shapes/dtypes;17 deliberate source, asset and configuration mutations are rejected. The same1k encoder and2k recurrent backbone apply everycase. Total7465747parameters, no new training or fitting. Preflight SHA256 `bde97e6149d5df6c7af7f989a03540632cf4a24715bbedc8a5c4653f6add55a7`. Full585/current-best selection waits for completed E137. + +## E060 completed1k versus2k diagnostic and plot label correction + +The24 active VALID trajectories span16 distinct supplied parameter regimes. Existing phase10 paired plots now label each bar as a trajectory; their resultJSON files, predictions, scores and official trajectory weighting are unchanged. From1k to2k, active13/24 improve but mean worsens0.08523834565974923→0.08595728921216839; late13–30 mean0.13662839388898274→0.13781698466037234. Thermal7/9 improve, mean0.44141826880132506→0.4350606727655739; late13–30 mean0.5314881592302662→0.5230036988744771. New phase10/update_comparison/paired.png and SVG await inspection. No parameter fitting, significance claim or change to the already-running E115 matched long-loss protocol. AnalysisSHA `6bf08f1bc7670e0e3c9f966c348b66ce7cb99b57185433be10f60fc88bb8257e`. + +## E060 checkpoint comparison figure inspected + +Actually viewed phase10/update_comparison/paired.png. The aggregate1k-to2k active degradation is concentrated in later steps and several trajectories, despite13/24 case improvements. Thermal improvement is largest late. Repeated active parameter regimes can contain trajectories with opposite checkpoint changes. The24-trajectory/16-regime labels and official trajectory averaging are explicit. No selection rule or training protocol changed from this descriptive comparison. + +## E153 conservative thermal energy diagnostic prepared + +Hypothesis: an energy-source residual is useful only if the same coarse stored-frame approximation explains source-free mass and momentum. Nine original TRAIN trajectories0..33, fixedgamma5/3, native conservative cell-face fluxes/openY centers/periodicX, two-step centeredtime derivative and trapezoidalfluxaverage; native and8x8weakresiduals. No coefficient, coolinglaw, boundary, gamma or resolution sweep. Require median weakrelative residual<=.25 for eachmass/momentum and medianpositiveglobalsourcefraction<=.1 before considering a later constitutive study. Numerical/source/membership/cachechecks first. No randomseed, neural training, checkpoint, newinference, synthetictraining or VALID. This is distinct from the rejected E108 acoustic forecast and E150 contextfeatureprobe. ProtocolSHA `ca6e8fd65f0aaf9f1b8ef0dc6a72c764842c32474dced7e666b3b61d61917ff6`. + +## E153 conservative thermal energy feasibility result + +Nine authorized TRAIN trajectories, frames0–33. Median conservative8×8 residual ratios (mass,Xmomentum,Ymomentum,energy):[0.2550079396658762, 0.33984171530759627, 0.43014631234598083, 0.925721829340236]; median positive global energy-source fraction0.0. Frozen simple-cooling identification gate passed=False. Uniform-state, known heating and periodic transport refinement checks pass; inputs/targets exactly match authorized native TRAIN caches. Gamma5/3 is a fixed working assumption, not an identified fact. No coefficient, cooling function, boundary rule or model was fitted; no optimizer, seed, checkpoint or VALID result. Withhold local cooling-law identification from this approximation; mass/momentum/energy assumptions do not pass the predeclared joint gate. No parameter or discretization sweep from this result. Comparison.png/SVG await visual inspection. Source/result provenance retained; resultSHA `9fee742fa35a4c45e89fca12638ef33490802e3bcb3a0c0bc0655bc69cd3e515`. + +## E153 figure inspected and fixed route closed + +Actually viewed thermal_energy_budget_v1/comparison.png. Median mass/Xmomentum/Ymomentum relative residuals0.25500794/0.33984172/0.43014631 exceed the0.25 gate; global energy-source residual is negative throughout the sampled windows. The sign alone is insufficient to identify a local cooling law from this approximation. No gamma, boundary, temporal or spatial sweep, no new model/VALID. This does not reject all thermal physics approaches. ResultSHA9fee742fa35a4c45e89fca12638ef33490802e3bcb3a0c0bc0655bc69cd3e515. + +## E115 pre-long-loss numerical variability audit + +Compared existing control/candidate logs before the first changed horizon at step64. Initial checkpoint and model/dataset/guide/kernel sources match; logged datasets/horizons/LR and all seven physical file/trajectory/even-shift draws match. Main losses at steps1/25/50 differ by[1.8586715062496317e-05, -1.5313426653534856e-05, 8.62727562586374e-05]. At step1, control0.28950010736783344 versus candidate0.28951869408289593, before any physical backward. Both trainers inherit cudnn.benchmark=True; autotuned numerical variation is possible, not isolated as a proven cause. Nested physical activation recomputation was also declared and short-gradient checked before launch. The comparison is matched in intended configuration, not an identical floating-point training trajectory or replicated causal estimate. No baseline/control retraining, mid-run numerical change or inference change. Serving deterministic flags and independent exact repeat gates remain in force. AuditSHA `df320c1d8423d04e5d3fe755a7670d1dda5c56b1217d303087d63014fbf2b6be`. + +## Full validation of validation + +All 585 validation trajectories, starting at frame 0; no held-out trajectories. Reward **0.785041**, failed cases 0. Neural initialization seed 20261021; sampling seed 20270118; checkpoint SHA256 `9c14c8231f5e209ac3cae69d51d666b24525839d23f7d1e928c019a32b143fc1`. Same model as the corresponding quick-validation experiment; changed factor: expanded validation sample only. + +| Dataset | VRMSE | +|---|---:| +| ape2d/burgers | 0.007568 | +| ape2d/decay_turb | 0.000289 | +| ape2d/diff | 0.000003 | +| ape2d/fisher | 0.000005 | +| ape2d/gs_alpha | 0.002513 | +| ape2d/gs_beta | 0.004854 | +| ape2d/gs_delta | 0.020917 | +| ape2d/gs_epsilon | 0.000797 | +| ape2d/gs_gamma | 0.058842 | +| ape2d/gs_iota | 0.007195 | +| ape2d/gs_kappa | 0.007586 | +| ape2d/gs_theta | 0.016771 | +| ape2d/kdv | 0.024675 | +| ape2d/kolm_flow | 0.011662 | +| ape2d/ks | 0.000024 | +| ape2d/sh | 0.000005 | +| pdearena/navier_stokes_2d | 0.000081 | +| well/active_matter | 0.085238 | +| well/turbulent_radiative_layer_2D | 0.435436 | + +Fixed E131+E135+E129 composition after each component full585 validation. All72 Gray-Scott outputs freshly replayed and officially scored; both recurrent members have complete physical prefixes and every prediction exactly matches E135. Other513 reused from E131 only after exact nonactive computation proof or fixed independent encoder/complete physical overwrite plus raw-output equality with completed E129 stream validation, and input/output/source/metadata hashes. No global dependency guard relaxation. Full585 exact scorer aggregation, quick81 exact subset, current-best selection. Independent active/neural/fine/unfamiliar repeats before any win. No held-out data or new fitting. + +Outcome: recorded full validation for audit and comparison; no automatic comparison against the distinct quick-validation sample. + +## E137 — validated physical and neural composition +- Hypothesis / changed factor: E137 fixed composition of E131 continued two-member rollout and independent shared state encoder, E135 TRAIN-calibrated Gray-Scott step.3, and E129 exact independent-stream physical quadrature. No new learned parameters, optimizer, seed or fitting. All learned components apply everycase; total16992454. Mainseed20270118/checkpoint9c14c8231f5e209ac3cae69d51d666b24525839d23f7d1e928c019a32b143fc1, encoderseed20261127/physical20261128/update1000. All three component full585 validations and fixed gates completed before composition validation. Nine TRAIN/unfamiliar composition/repeat cases and14 deliberate mutation rejections pass. Fresh72GS forecasts exact E135 with full prefixes for bothmembers;513 others reused only under narrow source/input/metadata/complete-prefix proofs, including24 active raw predictions exactly equal to completed E129. Full585/current-best selection and independent active/neural/fine/unfamiliar repeats before win. Shared-GPU operator stream timing does not establish isolated whole-package speed. No pretrained/synthetic assets or held-out access. +- Seed: 20270118. +- Checkpoint SHA256: `9c14c8231f5e209ac3cae69d51d666b24525839d23f7d1e928c019a32b143fc1`. +- Runtime code SHA256: `6b885f329742a1b5a2714ad75c5056f9bbf6eba2e4683e35be7b133d715feda4`. +- Validation: fixed 81-case subset; reward **0.813614**, failed cases 0. + +| Dataset | VRMSE | +|---|---:| +| ape2d/burgers | 0.006413 | +| ape2d/decay_turb | 0.000381 | +| ape2d/diff | 0.000003 | +| ape2d/fisher | 0.000003 | +| ape2d/gs_alpha | 0.002284 | +| ape2d/gs_beta | 0.004791 | +| ape2d/gs_delta | 0.018960 | +| ape2d/gs_epsilon | 0.001476 | +| ape2d/gs_gamma | 0.045697 | +| ape2d/gs_iota | 0.002137 | +| ape2d/gs_kappa | 0.004346 | +| ape2d/gs_theta | 0.006949 | +| ape2d/kdv | 0.016728 | +| ape2d/kolm_flow | 0.008926 | +| ape2d/ks | 0.000033 | +| ape2d/sh | 0.000004 | +| pdearena/navier_stokes_2d | 0.000083 | +| well/active_matter | 0.039602 | +| well/turbulent_radiative_layer_2D | 0.435436 | + +Selection basis: full585 physical-operator comparison: candidate0.78504125, current0.78454738 + +Outcome: improvement; published atomically. + +## E140 two-axis translation geometry TRAIN result + +Fixed four-member2x2 rule on known spatially homogeneous, doubly periodic equations. Same shared encoder/guide and three-node physical quadrature, seed20261026; no new weights, seed or fitted coefficient. Pilot {"baseline": 0.25877150713433295, "two_axes": 0.258610000577753, "wins": 3, "relative_improvement": 0.0006241280516872585, "complete": true, "passed": false}; confirmation null. TRAIN gate failed; stop without VALID or deployment. Result SHA256 `7d6326a0715ce560b2abef104ad93764c069d1c56dc6081b1f0fcdf919bd9a94`. No held-out or synthetic/pretrained training assets. + +## E140 descriptive TRAIN paired analysis + +pilot: physical VRMSE0.25877150713433295 to0.258610000577753, 3/4 wins. No parameter fit or selection beyond the frozen study gates. Standalone paired PNG/SVG in phase_geometry_analysis_v1/translation_geometry_v1 await visual inspection. Analysis SHA256 `536c50a4c7ddf3c62bc59bea87c6188788db639ed56f60843ace0a627e38bbb1`. + +## E140 figure inspected and fixed geometry line closed + +Actually viewed phase_geometry_analysis_v1/translation_geometry_v1/paired.png. The four TRAIN pilots improve mean0.25877150713433295→0.258610000577753 with3/4wins, a0.06241280516872585percent relative gain below the predeclared0.1percent gate. Aggregate channel changes are small; the moderate second case worsens. No confirmation, alternate translation geometry, VALID or inference change. ResultSHA `7d6326a0715ce560b2abef104ad93764c069d1c56dc6081b1f0fcdf919bd9a94`; analysisSHA `536c50a4c7ddf3c62bc59bea87c6188788db639ed56f60843ace0a627e38bbb1`. The original four X translations remain selected. E142 fixed state-weight average study proceeds next. + +## Full validation of validation + +All 585 validation trajectories, starting at frame 0; no held-out trajectories. Reward **0.785072**, failed cases 0. Neural initialization seed 20261021; sampling seed 20261127; checkpoint SHA256 `1d4d7fdf378298ee1a7435c66d9bc91d8d1ac64ebe2309ba3eb6e4d38fdd0975`. Same model as the corresponding quick-validation experiment; changed factor: expanded validation sample only. + +| Dataset | VRMSE | +|---|---:| +| ape2d/burgers | 0.007568 | +| ape2d/decay_turb | 0.000289 | +| ape2d/diff | 0.000003 | +| ape2d/fisher | 0.000005 | +| ape2d/gs_alpha | 0.002513 | +| ape2d/gs_beta | 0.004854 | +| ape2d/gs_delta | 0.020917 | +| ape2d/gs_epsilon | 0.000797 | +| ape2d/gs_gamma | 0.058842 | +| ape2d/gs_iota | 0.007195 | +| ape2d/gs_kappa | 0.007586 | +| ape2d/gs_theta | 0.016771 | +| ape2d/kdv | 0.024675 | +| ape2d/kolm_flow | 0.011662 | +| ape2d/ks | 0.000024 | +| ape2d/sh | 0.000005 | +| pdearena/navier_stokes_2d | 0.000081 | +| well/active_matter | 0.085238 | +| well/turbulent_radiative_layer_2D | 0.435061 | + +Fixed E151 composition: one2k autoregressive backbone and one1k common context encoder, both applied to everycase, with E135 GS step and E129 stream scheduling. The second recurrent member is globally removed and98 unused main-head parameters are stripped under exact source/tensor/forward proof. Nine thermal predictions freshly replayed and officially scored; all exactly equal the original2k model. Other576 complete physical outputs reused only under a private pinned source/config/asset/input/hash/coverage proof: same independent encoder and guide, identical physical updates and corrections, and averaging identical float32 physical outputs equals the sole member. Generic latent guard unchanged. Full585 official aggregation, quick81 exact subset and independent physical/neural/fine/unfamiliar repeats before publication. No held-out access or new fitting. + +Outcome: recorded full validation for audit and comparison; no automatic comparison against the distinct quick-validation sample. + +## E151 — single rollout with fixed common state +- Hypothesis / changed factor: Fixed E151 composition uses the E0602k main backbone and separate E0601k common context encoder, E135 GS step.3 and E129 stream scheduling. One recurrent member and one encoder execute everycase; the96width member is removed globally. Only98 unused main-head parameters are stripped, with exact source/tensor/forward proof. 7465747parameters; no new optimization, training seed or hyperparameter fit. Main/encoder joint all19 TRAIN seed20261127, physical sampling20261128; guides fixed. Nine TRAIN/unfamiliar serving checks include native30-step thermal and13channels/oddgrid, reordered exact repeats, six backbone fixtures and17 rejected mutations. Fresh9thermal predictions exactly equal original2k;576 complete physical outputs reused from completed E137 under strict private source/config/assets/inputs/coverage proof, with no generic guard relaxation. Full585/current-best selection and physical/neural/fine/unfamiliar repeat checks before publication. Fewer neural passes is a structural change; shared-GPU timings do not prove the4h verifier budget. No pretrained/synthetic assets or held-out access. +- Seed: 20261127. +- Checkpoint SHA256: `1d4d7fdf378298ee1a7435c66d9bc91d8d1ac64ebe2309ba3eb6e4d38fdd0975`. +- Runtime code SHA256: `558070967d452848d17d3fa3003c61dd935d87c7feb9209d9c0a21fc47e99846`. +- Validation: fixed 81-case subset; reward **0.813645**, failed cases 0. + +| Dataset | VRMSE | +|---|---:| +| ape2d/burgers | 0.006413 | +| ape2d/decay_turb | 0.000381 | +| ape2d/diff | 0.000003 | +| ape2d/fisher | 0.000003 | +| ape2d/gs_alpha | 0.002284 | +| ape2d/gs_beta | 0.004791 | +| ape2d/gs_delta | 0.018960 | +| ape2d/gs_epsilon | 0.001476 | +| ape2d/gs_gamma | 0.045697 | +| ape2d/gs_iota | 0.002137 | +| ape2d/gs_kappa | 0.004346 | +| ape2d/gs_theta | 0.006949 | +| ape2d/kdv | 0.016728 | +| ape2d/kolm_flow | 0.008926 | +| ape2d/ks | 0.000033 | +| ape2d/sh | 0.000004 | +| pdearena/navier_stokes_2d | 0.000083 | +| well/active_matter | 0.039602 | +| well/turbulent_radiative_layer_2D | 0.435061 | + +Selection basis: full585 physical-operator comparison: candidate0.78507242, current0.78504125 + +Outcome: improvement; published atomically. + +## E151 descriptive completed-validation comparison + +Against the fixed E137 composition, thermal improvements on5/9 cases. The unchanged physical groups and changed thermal continuation are shown alongside E135. This is a component-selection comparison with distinct training histories, not an isolated capacity or training-effect claim. Standalone single_rollout_state_v1/analysis/paired.png and SVG await visual inspection. Analysis SHA256 `98acfe4984698ba0d91e2412da63031934594e828bb9f655ed58f640af2e9651`. No fitting or further selection from this diagnostic. + +## E152 fixed wider averaging TRAIN result + +pilot: single0.37370677492893045 to fixed equal blend0.3732861453855093, 4/9 wins; frozen gate passed=False. No fitting, optimizer update or new seed; inherited main seed20261127 and original wider lineage. Cached wider predictions and fresh2k-main predictions use only authorized TRAIN contexts; all targets match native TRAIN caches. MainSHA `1d4d7fdf378298ee1a7435c66d9bc91d8d1ac64ebe2309ba3eb6e4d38fdd0975`; secondSHA `0c9c49ae6a7da1fbae8d3f21d94b26311467ba1fd991b59877c872973f1a6c23`. ResultSHA `311a1fd9cd185be9565ef7aab1117d5c3b5163ca9b3e10634374d7eaca1082a1`. Gate failed: close this fixed blend line, no coefficient sweep or VALID. Standalone comparison.png/SVG await visual inspection. Validation VRMSE: not evaluated. + +## E151 and E152 figure inspection and publication audit + +E151 analysis/paired.png was visually inspected: the complete single-rollout composition improves five of nine thermal validation cases against E137, from mean VRMSE 0.4354355289580768 to 0.4350606727655739; the other groups are unchanged. Distinct training histories prevent interpreting this as an isolated capacity effect. Full585 report SHA256 `01a33dc10155a3c9ab1d4e05367a50ddbc3d1234962affc4065b1d052bc19afb`, reward 0.7850724219084871, zero failures; quick81 reward 0.8136448476040381. All fifteen required serving checks passed with exact repeats before publication. The selected package has 7,465,747 parameters. Reduced parameters and neural passes do not establish isolated four-hour verifier throughput. + +E152 comparison.png was visually inspected: fixed equal averaging has almost overlapping mean time curves, with four improvements and five regressions among the nine predeclared TRAIN cases. Mean VRMSE 0.37370677492893045 to 0.3732861453855093; relative gain 0.11255603902314594 percent passes the magnitude threshold but four wins fail the required five. The line remains closed; no larger confirmation, coefficient sweep or validation. Result SHA256 `311a1fd9cd185be9565ef7aab1117d5c3b5163ca9b3e10634374d7eaca1082a1`. No new fitting, optimizer, seed or runtime change in this audit. + +## E142 fixed initial-state checkpoint average TRAIN result + +Equal1k/2k parameter average, float64 accumulation then original dtype; no fitting, new optimizer or seed. Same common shared encoder architecture/E072guide/original physical three-node quadrature. Pilot {"complete": true, "means": {"one_k": 0.25917132096878226, "two_k": 0.2579143958151823, "average": 0.2581752004851584}, "gain_over_better_control": -0.0010112063312783144, "wins_over_one_k": 4, "passed": false}; confirmation null. Fixed TRAIN gate failed; stop without VALID or deployment. Averaged encoder SHA256 `7a20829372a9d62773bf59090fdf7bfd9397bfc186419def4b790468bf9b8779`, result SHA256 `e3003bf23d778646da46b2185a09ccc2ee1206e345fdc49610776e35f61728b6`. Standalone figure, when complete prefixes permit, awaits visual inspection. + +## E154 shared neural inference CUDA graph preparation + +Hypothesis: one-step CUDA graph reuse may reduce inference launch overhead with exact outputs under unchanged serving flags/BF16 AMP caching. Only two reversible source edits preallocate the same boundary masks; no trainable parameter change. Twelve CPU guided/unguided fixtures and exact state_dict/source-recovery checks pass. Dedicated graph inputs, returned-output clones, two-entry LRU, and eager CPU/disabled/capture-failure fallback. GPU numerical, memory, native TRAIN context-only full-horizon and paired timing checks are frozen in protocol and queued after E149 physical_complete. Require exact outputs, zero unexpected fallback, allocated/reserved each below12GiB, then10 percent median gain on both thermal contexts and5/6 timing wins. Shared timing is not end-to-end or isolated throughput. No optimizer, future labels, VALID or selected-runtime change; fixtureseed20270304, inherited main trainingseed20261127. Main SHA256 `1d4d7fdf378298ee1a7435c66d9bc91d8d1ac64ebe2309ba3eb6e4d38fdd0975`, protocolSHA256 `d37bca359a78d19a867138d1f658b5c92aa355b8680dea76b517d00e6acdb5d7`, CPUresultSHA256 `b722ec24f0affe6c94ccac7d5ccc6b673d7086f5ad34a6e2305f39b3b9f30830`. Validation VRMSE: not evaluated. + +## E142 figure inspection and closure + +Visually inspected state_average_v1/comparison.png. Equal1k/2k encoder averaging improves all four pilot TRAIN cases over1k, but only one over2k. Mean VRMSE1k0.25917132096878226,2k0.2579143958151823,average0.2581752004851584: average is0.10112063312783144 percent worse than the better control. The fixed better-control gate fails; no eight-case confirmation, VALID, coefficient sweep or deployment. ResultSHA256 `e3003bf23d778646da46b2185a09ccc2ee1206e345fdc49610776e35f61728b6`. No new optimizer, seed or selected-runtime change. + +## E143 local-orientation state basis: TRAIN gradient diagnostic + +Median rotated/fixed-coordinate coarse gradient-energy capture ratio1.453940009823297; median fraction gain0.2581791862767652; improved6/6. Fixed diagnostic gate promising=True. Original two-step forwards exact; same frozen1kencoder and physical4-step loss, native coefficient leaf only. No optimizer, fitted correction, inference branch, VALID result or model selection. A positive gradient screen only motivates a separate jointly trained all-dataset architecture experiment. Figure comparison.png/SVG awaits inspection. EncoderSHA256 `0fc425a0cf92a0d25cc8beae5b2cb291cef63f56f6c17c7f9ebd84342e06848d`, resultSHA256 `0b64ba4e65c0dc5b6586c8f9484a8bf97d99f48edd25e06dfff8cc9fb66ba872`. + +## E143 visual inspection and interpretation + +Visually inspected rotating_state_basis_v1/comparison.png. All six fixed TRAIN cases improve coarse-space gradient-energy capture under the local exp(3i arg F2) basis: median rotated/fixed ratio1.453940009823297, median absolute fraction gain0.2581791862767652. The declared6-case diagnostic gate passes. This is a local coefficient-space gradient projection around the trained1k state, not forecast improvement, a full-network gradient comparison or evidence of four-frame learnability. The prospective zero-head restart changes the coefficient representation and retains the same maximal radial amplitude envelope; it does not preserve separate global real/imaginary component bounds. ResultSHA256 `0b64ba4e65c0dc5b6586c8f9484a8bf97d99f48edd25e06dfff8cc9fb66ba872`. No optimizer, fitted state, VALID or selected-runtime change. The predeclared conditional follow-up will receive a separate preparation/training protocol after this positive diagnostic. + +## E155 local-orientation shared-state training preparation + +After positive E143, restart from the exact E060 zero-head initial checkpoint. Change only the physical F6 coefficient basis to exp(3i arg F2) times the existing complex tanh coefficient, with phase1 at zero F2. Same98-parameter head,16x16grid,.01scale/cubic-alignment envelope and maximal radial bound; separate global real/imaginary component bounds rotate. Same helper in training and sequential/streamed serving. All10115 TRAIN memberships,175 encoded-cache file hashes,250 physical file/trajectory/shift draws and original source recovery verified. CPU float32/64 zero/norm/spin6/adjoint checks pass. No optimizer yet. GPU/portable/dry-run8 gates queued after E154; actual2000 joint updates follow E148 and the natural-idle runtime audit. Seeds20261127/28, B2x3, full30 main, physical4/every8, LR3e-5/head10x, original sampler/guide/noise/optimizer/backend. Do not mix in E115 long supervision or assume bitwise training replication. Select1000/2000 as common encoder components with fixed E151 main/guides, all components every case. Fresh24active each, strict561nonactive proof/full585 current-best and all required exact repeats. InitialSHA256 `1a082bab4c1db8eae9a5c0fb6fa8cec159de67ba2e7ec9b9b7abe800844c8989`, protocolSHA256 `ca992cd72d82f380c41b99e9144162bfaf1364e1915b5a15700f2b894c11b855`, CPUresultSHA256 `eca08644df77f42a3fa3682a02bcff00e351ba5b323ceedc6f05555717f657c6`. Validation VRMSE: pending. + +## E154/E155 dependency-guard infrastructure audit + +Generic physical dependency checking now includes state_basis.py; latent-runtime checking includes graph_forward.py. Explicit addition/change/removal fixtures detect each new asset (state basis with and without latent configuration, graph helper with latent configuration). Identical/absent assets preserve previous behavior. Runtime-code hashes also include these assets when present; selected E151 contains neither, so its runtime hash/code/weights are unchanged. Fixture resultSHA256 `a1673d9254a95dc186b616b26acb604973d36c1341899ed9f3c1785ddbdfb5f0`. README generation describes the new basis only for an actual E155 package. This infrastructure change does not authorize reuse of changed active forecasts or relax the generic guard. + +## E147 direct body graph grouping: physical TRAIN result + +FailureNone; timing gateFalse, median gains[-0.01319981365137981, 0.03317961380921194], wins3/6. Completed numerical pairs4 and timing pairs6. Shared single H100. Timed region includes physicalconstructor/original and groupedgraphsetup/four-frame physicalcontextencoding/learned-state injection/guards/decoding and final GPU synchronization. Common frozen neuralcontextencoder, outputCPUcopy, tensor inspection and wholepackage translations/neuralrollouts/I/O are outside timing. Not isolated wholepackage throughput or a4hour verifier guarantee. No optimizer, accuracy selection or validation. Portable/freshchangedVALID/full585/currentbest/repeats remain required before any adoption. If timings completed, comparison PNG/SVG awaits visual inspection. ResultSHA256 `7df855d9dbc3ed9d5ee6eb520f7cb7e4dbe488f7de7eda0a90cccafed182a2fb`. + +## E147 figure inspection and closure + +Visually inspected graph_body_chunk_v1/comparison.png. All4/30-step state, streamfunction, output and guard comparisons on both native TRAIN cases are exact, as are CPU, disabled and injected partial-capture-failure fallbacks. All six timing forecasts also exactly match independent numerical references. Nevertheless, three of six timing pairs improve: median reduction is -0.01319981365137981 for9/-3 and0.03317961380921194 for17/-5, below the fixed10 percent in both regimes and five-win criterion. Numerical peak2.586573600769043GiB includes retained traces; timed peak0.8002634048461914GiB does not. Timing includes physical setup/context/state/guards/decode/synchronization but excludes common neural encoding, CPU output copies and complete serving work, on a shared H100. This is not isolated throughput or a four-hour proof. ResultSHA256 `7df855d9dbc3ed9d5ee6eb520f7cb7e4dbe488f7de7eda0a90cccafed182a2fb`. Close this fixed eight-body graph trial: no chunk-size sweep, portable integration, VALID or deployment. No optimizer/new seed or checkpoint change. E149 remains an independent fused-RHS experiment; a combined E147/E149 candidate is not justified by this result. + +## E143 existing-gradient maps and interpretation + +Generated and visually inspected gradient_maps.png/SVG from the first and last predeclared TRAIN gradient artifacts, with a common color scale for all four panels within each case. All source array hashes match the frozen E143 result. The strong-case rotated imaginary component shows broader coherent patterns, consistent with the quantitative16x16 capture increase. Across all six existing arrays, the local imaginary coordinate carries gradient-energy fractions0.8684222481,0.9004533255,0.9603744559,0.9612565229,0.9654311109,0.9704561418. This coordinate is tangent to the local F2-cubed reference, not necessarily to the encoded F6 itself; dominance is a local sensitivity finding, not proof of the optimal correction or future accuracy. No new trajectory reads, gradient computation, fitting, optimizer or selection. The two-channel E155 protocol is unchanged; no phase-only head trial is inferred. Descriptive resultSHA256 `9e6d0425f2f4edf4874b2912ec224c9742e86aec3c098fa817ae861894abfb9f`. E155/INTERPRETATION.md records the basis algebra, radial-bound distinction and fallback/control limitations without altering frozen sources. + +## E149 conditional portable execution criteria + +After both30-step numerical checks and only the first timing pair, documented the conditional next stage in fused_moment_rhs_v1/FUTURE.md (SHA256 `b356e7b13ec2a4fabf66f7eff0fec030b49f62a5df6806d4fd03070a0c9c6d12`). Original six-pair physical gate remains unchanged and pending. Only a pass permits a separately frozen portable trial, queued after E155 preflight. Two complete-package paired cohorts of fixed moderate/strong TRAIN contexts, reversed model/case orders, cold subprocess timing with initialization/compilation/allcomponents/translations/I/O; require>=10 percent gain in both totals and exact predictions. Fresh24active VALID must equal parent bits;561 strict nonactive reuse/full585 equal reward/zero failures/all serving repeats. Equal-accuracy publication is allowed only as an explicitly documented execution improvement if the selected runtime still equals the pinned parent; never replace a higher-reward current model. No portable source, new experiment ID, training, VALID replay or serving change yet. E147 remains closed and is not part of this conditional design. + +## E149 fused moment RHS: physical TRAIN result + +FailureNone; timing gateTrue, median gains[0.23656711773887665, 0.23264035126139002], wins6/6. Completed numerical pairs4 and timing pairs6. Shared single H100. Includes physicalconstructor/CUDAgraphsetup/four-frame physicalcontextencoding/learned-state injection/guards/decode/final sync. Triton kernels are already compiled by preceding numerical checks; cold numerical constructor time is logged separately. Excludes common neuralcontextencoder, CPUcopies, inspection and wholepackage translations/neuralrollouts/I/O. Not isolated fullpackage throughput or a4hour guarantee. No optimizer, accuracy selection or validation. Portable/freshchangedVALID/full585/currentbest/repeats remain required before any adoption. If timings completed, comparison PNG/SVG awaits visual inspection. ResultSHA256 `803828285c0e3a1cc85a676af0c89bb6e0821c02985296edcc673586d2163d81`. + +## E154 neural inference CUDA graph result + +Result {"passed": true, "numerical": true, "median_fraction_gains": {"timing-04": 0.44604358822584866, "timing-05": 0.24548276696280058}, "timing_wins": 6, "peak_allocated_gib": 0.9089288711547852, "peak_reserved_gib": 1.181640625, "checkpoint_sha256": "1d4d7fdf378298ee1a7435c66d9bc91d8d1ac64ebe2309ba3eb6e4d38fdd0975", "optimizer_updates": 0, "seed": 20270304, "validation": false, "scope": "No targets. Unchanged pure-neural autoregression/guidance only; no physical overwrite, final correction, I/O, model initialization or capture cost in warm timing. Shared H100, no isolated/end-to-end/four-hour claim."}. Positive mechanism screen only; portable actual-component/unknown/repeat parity, full585 exact comparison and end-to-end timing still required. No optimizer, future labels, VALID or selected runtime change. ResultSHA256 `cdef02b9c26e323aaaddc1ac32e26162a928816278e78629cce7270d2d4de377`. Any generated comparison.png/SVG awaits visual inspection. + +## E149 physical figure inspection and positive execution screen + +Visually inspected fused_moment_rhs_v1/physical_comparison.png. All four native TRAIN4/30-step state, streamfunction, decoded-output and guard checks are bit-exact; CPU uniform, disabled and injected unavailable-backend fallbacks match. Six of six physical timing pairs improve, with median reductions0.23656711773887665 for9/-3 and0.23264035126139002 for17/-5, passing the fixed10percent both+5/6 gate. Fused CUDA dispatch count480, fallback CUDA0. Numerical peak2.5865736GiB and timed peak.8002634GiB; cold numerical constructor compilation is logged separately. Timing is shared-H100 physical execution, excluding neural context encoding, CPU copies and full-package work; not isolated throughput or a four-hour guarantee. ResultSHA256 `803828285c0e3a1cc85a676af0c89bb6e0821c02985296edcc673586d2163d81`. No new model weights, optimizer, seed or VALID result. Proceed to the separately frozen portable/full-package/full585 criteria already documented in FUTURE.md, after E155 preflight. No E147 grouping. + +## E154 neural graph figure inspection and positive execution screen + +Visually inspected neural_inference_graph_v1/comparison.png. Twelve guided/unguided CUDA fixtures, changed arguments, immutable inputs/returned outputs, capacity/eviction and fallback checks pass; all eight native TRAIN context-only full26/10/30 pure-neural rollouts and independent repeats are bit-exact. No unexpected CUDA fallback. All six warm timing pairs improve; median reductions0.44604358822584866 and0.24548276696280058 on the two thermal contexts. The first context varies substantially across pairs (one only about4percent), so these are shared-GPU exploratory timings, not steady isolated throughput. Peak allocated.9089288711547852GiB, reserved1.181640625GiB. MainSHA1d4d7fdf378298ee1a7435c66d9bc91d8d1ac64ebe2309ba3eb6e4d38fdd0975; fixtureseed20270304,0updates, no targets or VALID. ResultSHA256 `cdef02b9c26e323aaaddc1ac32e26162a928816278e78629cce7270d2d4de377`; numericalSHA256 `4beb43b4e7ad2a7e9f57741539e8853138d61dcf1143321c8467ab2d977608ca`. Retain this component pending complete-package integration/timing and validation; the physical fusion follow-up has priority. No publication from warm neural timing alone. + +## E155 oriented-basis preflight + +Two native TRAIN physical4-step zero-head forwards exactly match the original; adjoint rotation errors [3.805384096722264e-08, 3.538490744858791e-08]. New shared-head gradient is finite/nonzero and every weight unchanged. CPU uniform and sequential/streamed zero-head parity pass. Eight actual trainer dry-run iterations include the new physical backward with no optimizer update/checkpoint; finite main/physical gradients and whole-process peak below40GiB. Nine complete TRAIN/unknown portable checks and reversed repeats exact, eight nonactive predictions exact with the nonzero original1k encoder, and14 asset/config mutations rejected. No VALID or new trained checkpoint. PreflightSHA256 `93b364c4ca4ee6fdcd40ed3c6c2e5e68448fe721c14bb08d1ceb2d5aa5299759`. The main trial remains queued behind E148 and the isolated runtime audit. + +## E156 portable fusion protocol and CPU preparation + +Fixed E151 weights/main/common encoder/guides; only E149 exact pointwise fusion enabled. Prior component gate passed. No E147 grouping or E154 neural graph. 55 runtime change/removal/addition fixtures rejected; reversible kinetic source proof passes. No GPU work before E155 preflight completes. Two cold-process original/fused native TRAIN cohort pairs, reversed model/case order on pair2; require exact float32 bits and at least10percent reduction in BOTH totals, without repeats or threshold changes. Then fresh24 active VALID equality, strict561 unchanged nonactive proof, official585 equality/zero failures and15 repeat checks. Publish an execution improvement only if selected runtime still equals E151; never overwrite a newer model. No optimizer/new seed/VALID yet. MainSHA `1d4d7fdf378298ee1a7435c66d9bc91d8d1ac64ebe2309ba3eb6e4d38fdd0975`; protocolSHA `5348619786ff18eb2cc43d9c55150d6314388628099de9ba20f325d6764c29d5`; CPUchecksSHA `9f2a2f610e3b18f0a12afac75af6b0b0bd8c2a8894f5421508e531f5ba6601bd`. + +## E154 conditional portable follow-up criteria + +After E156 completes or closes, consider a separately pinned actual-selected-package trial only if its recurrent signature supports the exact graph transformation. No candidate, experiment ID or additional GPU work reserved. Preserve every learned asset and any independently selected physical execution change. Fixed two TRAIN thermal full30 cold-process cohort pairs, reversed model/case order in pair2, exact output bits and at least10percent BOTH gate, no timing sweep. Then fresh33 active/thermal VALID equality, strict552 complete-prefix proof, identical official585 report and15 serving repeats. Publish only as an execution improvement with unchanged accuracy if the selected parent remains unchanged. Full criteriaSHA `61afa1930d62d2a5bd968f2475be31a7c83bcec386da32dac0fe1a62c6c5a358`. + +## E156 portable fusion preflight + +Nine pinned TRAIN/unknown complete outputs equal E151 at every float32 bit; reversed-case independent repeats exact. CPU uniform/unknown and native CUDA disabled/unavailable/sequential checks pass. Cold compilation succeeds in fresh writable temporary caches. All learned assets unchanged; no optimizer/new seed or VALID. Full-package timing gate remains pending. PreflightSHA `2ef68b7a8b4cda7d27d0594a12456d53b870cfe1d4ea542f080866aa0c65379f`. + +## E115 update704 training-log stability audit and figure inspection + +Descriptive CPU-only audit of already-recorded log prefixes, no targets read or training/selection changes. All88 physical draw keys match the original control;77 short4 and11 substituted long30 losses, all finite. Every logged main dataset/horizon/LR tuple matches. Peak30.054165GiB. Matched short-loss median candidate/control ratio1.0000974611157836, lower25/77; this is not validation evidence or a causal significance test. Main curves are mostly similar, with visible differences including the control spike near500; the known pre-long numerical drift remains unisolated. Long-loss values span different regimes/draws and horizons, so connecting them does not establish a learning trend and they must not be compared directly with the control4-step values. Visually inspected progress0704/comparison.png. Initial diagnostic incorrectly expected a horizon field in old log rows; preserved source/error, then verified archived control config physical_steps=4/physical_every=8. No training code, gates or optimizer flags changed. ResultSHA `7e22c937eba1d7046353c6b5dcb19d90d830c8a090314102c6a39e1ffa2e8ffa`. Final2k remains the only E115 selection checkpoint. + +## E156 complete-package fusion timing + +Exactly two predeclared cold original/fused subprocess cohort pairs, reversing model/case order on pair2. Both native TRAIN contexts use full30, all shared components and translations; initialization/first compilation/I/O included. All forecast float32 bits and reordered repeats match. Relative reductions [0.2220669926201304, 0.23138175879302791]; fixed at least10percent BOTH gate passed=True. Shared H100 measurements; not isolated throughput or a four-hour guarantee. ResultSHA `2f021fd5c31ccbfd38546c6a72c6aca75f3984813b6c3f97a3119888129d1f7b`. No new weights/seed/VALID. Proceed to the frozen full585 equality gate. Generated comparison.png/SVG await visual inspection. + +## E156 complete timing figure inspection + +Visually inspected timing/comparison.png. Both frozen complete two-case cold-process pairs pass: original642.895199456 to fused500.129395943seconds (22.2066993percent), then reversed-order original647.619855825 to fused497.772434555seconds (23.1381759percent). Every float32 forecast bit and independent reordered repeat equals the original, including full30 at both native TRAIN regimes and all translations. Empty per-process Triton caches prove first compilation is included. Shared-H100 timings; no isolated throughput or four-hour guarantee. Read-only resource observations began partway through the first parent cohort and are descriptive only. No extra repetitions, altered gate, seed, optimizer or accuracy claim. Timing resultSHA `2f021fd5c31ccbfd38546c6a72c6aca75f3984813b6c3f97a3119888129d1f7b`. Fresh24 active VALID replay has begun;561 nonactive reuse is protected by the frozen exact dependency/input/metadata proof. Full585 report equality, zero failures and15 serving repeats are still required before speed-only selection, and the actually selected runtime must still equal pinned E151. + +## E115 audit-only midpoint checkpoint + +The declared1,000-update save passes a CPU-only integrity audit: all3,066,725 model parameters finite with original shapes/dtypes, archived training sources exact, and all125 physical draws match the frozen schedule (15 full30,110 short4). CheckpointSHA `a1cdd491fab8ea3b07562a7395116ddf47fc0487017726e14caadc63c94e9007`; auditSHA `40e90e1ab93f2ce66220e1b8db3616f027215eef7087569edcdaa221b81bccbc`. No VALID evaluation, deployment package, additional optimizer step or selection. Original seeds/flags/schedule remain unchanged and training continues toward the sole2,000-update selection checkpoint. + +## E156 complete validation and execution selection + +Changed factor: exact pointwise CUDA fusion only. All weights and training lineage fixed;0 optimizer updates/new seeds. Main checkpointSHA `1d4d7fdf378298ee1a7435c66d9bc91d8d1ac64ebe2309ba3eb6e4d38fdd0975`; common encoderSHA `0fc425a0cf92a0d25cc8beae5b2cb291cef63f56f6c17c7f9ebd84342e06848d`; protocolSHA `5348619786ff18eb2cc43d9c55150d6314388628099de9ba20f325d6764c29d5`; validation checksSHA `c0fff77823c3832a39c1edab82b2855c9f802607a1365d709a6fd2ae3a5f8638`. Fresh24 active forecasts exactly equal the pinned parent at every float32 bit; strict561 nonactive reuse, complete585 official report equality and15 serving repeats pass. Full reward 0.7850724219084871, failed0; accuracy unchanged. Cold-process TRAIN paired reductions [0.2220669926201304, 0.23138175879302791] pass the fixed gate; shared H100, no isolated four-hour guarantee. + +| Dataset | Full VALID VRMSE | +|---|---:| +| ape2d/burgers | 0.0075675356854 | +| ape2d/decay_turb | 0.000288901618749 | +| ape2d/diff | 2.51784077127e-06 | +| ape2d/fisher | 5.45119100602e-06 | +| ape2d/gs_alpha | 0.00251330314197 | +| ape2d/gs_beta | 0.00485442191926 | +| ape2d/gs_delta | 0.0209169332632 | +| ape2d/gs_epsilon | 0.000796584539428 | +| ape2d/gs_gamma | 0.0588423936929 | +| ape2d/gs_iota | 0.00719492328713 | +| ape2d/gs_kappa | 0.00758642694505 | +| ape2d/gs_theta | 0.016770683122 | +| ape2d/kdv | 0.0246752780929 | +| ape2d/kolm_flow | 0.0116622870804 | +| ape2d/ks | 2.35692808315e-05 | +| ape2d/sh | 5.34847814421e-06 | +| pdearena/navier_stokes_2d | 8.1143169072e-05 | +| well/active_matter | 0.0852383456597 | +| well/turbulent_radiative_layer_2D | 0.435060672766 | + +Outcome: Published atomically as an execution improvement with unchanged accuracy; current runtime still exactly matched E151. + +## E157 portable neural graph protocol and CPU preparation + +Pinned actual selected E156, preserving its exact physical fusion. Only E154 boundary buffer and bounded common recurrent forward execution change; all weights, complete encoder, guides and corrections unchanged. 57 runtime change/removal/addition rejection fixtures plus reversible source, state dictionary, constructor RNG and12 CPU numerical fixtures pass. Fixed11 TRAIN/unknown portable and reversed repeats, CUDA ownership/fallback checks, then two complete-process thermal TRAIN pairs with original/graph order reversed on pair2. Require exact bits and10percent reduction in BOTH totals; no timing/threshold sweep. Only then fresh33 VALID, strict552 complete physical reuse, exact585/81 reports and15 repeats. No optimizer or new training seed; fixtureseed20270304. Validation VRMSE not evaluated. MainSHA `1d4d7fdf378298ee1a7435c66d9bc91d8d1ac64ebe2309ba3eb6e4d38fdd0975`; protocolSHA `be089dbf32e780b76e2f32c40b9615615cd4cf53229508107d3e54a2da223777`; CPUchecksSHA `30a6ab44d37f30ccf276b468d884ccc60c345afa7b42500e948a3435d3dbcefd`. + +## E115 final analysis plan prepared before final checkpoint + +Reporting only: after the declared final2k validation finishes, compare its official585 report to the original phase10/update2000 control, including all19 datasets, four groups, active24/thermal9 paired cases, forecast steps, windows and channels. Fixed2x3 figure; no new target reads, rollouts, optimizer or selection. Main initialSHA `1a082bab4c1db8eae9a5c0fb6fa8cec159de67ba2e7ec9b9b7abe800844c8989`; seeds20261127/28. The pre-long audit found numerical differences before the changed objective, so retain single-seed/matched-intent limitations and do not claim exact replication or pure causal significance. Final VALID VRMSE/checkpoint pending. Analysis protocolSHA `c0cc48a1022e9b33a9c4bb2b84474f01136df17546cf30714b97bfd9c11c3744`. + +## E157 read-only resource observation + +Started a five-second read-only GPU-process/training-log observer during portable preflight, before either timed thermal cohort. Auxiliary sourceSHA `8389fffd9d018d84fc026aa78ca88d4a2f7d1cd5ada4470789c0580e363c1991`; observations at portable_neural_graph_v1/resource_observations.jsonl. Excluded from numerical/timing gates, model runtime and frozen scientific source set. It records shared-GPU context only and does not pause jobs, repeat timings, change thresholds or establish isolated throughput. No new optimizer, seed, forecast or validation score. + +## E158 cached physical training/serving path audit preparation + +Hypothesis: complete center-training and three-node-serving forecasts can diverge late despite the same zero F6 correction. Fixed CPU-only comparison of already saved E091/E092 TRAIN17/-5trajectory2 forecasts and existing TRAIN targets. No solver call, optimizer, new seed, shared model weights, VALID or inference change. All artifact/source/split hashes pinned; zero coefficient checkpointSHA `8096320feb7b8173c3d56e56c9b3549822a33275599eb923fdb52735bbb4a299`; inherited quadratureseed20261026. Report all30 steps, fixed windows,11 channels and output-loss gradients only. These combine quadrature/projection/numerical differences, omit the physical Jacobian and do not isolate a causal parameter-gradient effect. No automatic follow-up or selection. ProtocolSHA `cccfc711c4ca3b3f28929eca633402ba967fb685ff65792071e5cc94d1875953`. + +## E158 cached physical path comparison + +CPU-only comparison of preexisting E091 center and E092 three-node forecasts at the same zero F6 correction, TRAIN17/-5trajectory2; no new solver call, optimizer, seed, VALID or deployment. Zero coefficientSHA `8096320feb7b8173c3d56e56c9b3549822a33275599eb923fdb52735bbb4a299`; resultSHA `da42bd920bad17c8bb5f3fa034a3a49b73984241165d803a3471ebe63798a083`. Full metrics {"center_vrmse": 0.6378675321422501, "served_vrmse": 0.6300491414751046, "normalized_prediction_gap": 0.04287769331290783, "gap_over_center_error": 0.06722037280829295, "output_loss_gradient_cosine": 0.9985478497141316, "output_loss_gradient_relative_l2": 0.05389156299444189}; late13–30 {"center_vrmse": 0.9825383157001353, "served_vrmse": 0.9695099684607854, "normalized_prediction_gap": 0.0713955673300826, "gap_over_center_error": 0.07266441032297827, "output_loss_gradient_cosine": 0.9983697176801547, "output_loss_gradient_relative_l2": 0.05710135409556365}. + +One previously used TRAIN trajectory and zero correction, not the current learned encoder. Differences combine the complete training/serving paths, including three-node quadrature, repeated F4 projection and small numerical path differences; cannot attribute them to quadrature alone. Output-loss gradients exclude the physical Jacobian and do not establish coefficient/network-gradient alignment. No causal, generalization or performance claim, no automatic GPU/training follow-up. Oracle-fitted coefficients are not used and must never be deployed. Fixed comparison.png/SVG await visual inspection. No new training or GPU study is triggered by this descriptive result. + +## E158 cached path figure inspected — descriptive audit closed + +Viewed cached_physical_path_v1/comparison.png. Same zero correction and TRAIN17/-5trajectory2: center VRMSE0.6378675321, serving0.6300491415; normalized forecast gap0.0428776933 overall and0.0713955673 late13–30. Curves diverge mostly near the end, with final-step normalized gap 0.33138473814784436. Output-loss gradient cosine0.99854785 overall,0.99836972 late, and 0.9918687504102256 at finalstep. Mean output-gradient relativeL2.05389156. Derivative formula matches CPU autograd. This combines quadrature/projection/numerical effects at zero correction; it excludes the physical Jacobian and current learned encoder. No conclusion about coefficient/network-gradient alignment or benefit of a three-node training loss. No new GPU study, optimizer, gate change, VALID or serving change; current E115/E155 protocols remain frozen. ResultSHA `da42bd920bad17c8bb5f3fa034a3a49b73984241165d803a3471ebe63798a083`. + +## E157 portable neural graph preflight + +All11 pinned TRAIN/unknown complete outputs and reversed independent repeats equal E156 at every float32 bit, including native active full30 and thermal full30. Two CPU unknown outputs equal fresh CPU parent, including13-channel odd input. Twelve CUDA guided/unguided changed-argument/ownership/eviction fixtures, disabled and controlled pre-capture fallback pass; no unexpected portable CUDA fallback. Physical fusion compiled in fresh caches. No optimizer/new seed/VALID. Full-process timing gate pending. PreflightSHA `068240f53b7ed43d3d7ab6da252d31d2697f1ef2f4bc68942b88659b1081eb3d`. + +## E157 complete-package neural graph timing + +Exactly two predeclared cold original/graph subprocess cohort pairs, reversing model/case order on pair2. Both native TRAIN contexts use full30, all shared components and translations; initialization/first compilation/I/O included. All forecast float32 bits and reordered repeats match. Relative reductions [-0.0067790479105265256, -0.003691814139768823]; fixed at least10percent BOTH gate passed=False. Shared H100 measurements; not isolated throughput or a four-hour guarantee. ResultSHA `20d80c4d3dc01faadce7bd328a1e08cb15048ff0be3ecb53fad59128c2a99fbb`. No new weights/seed/VALID. Close this integration line without VALID or timing-repeat/threshold sweep; retain E156. Generated comparison.png/SVG await visual inspection. + +## E157 complete-process graph figure inspected — line closed + +Viewed portable_neural_graph_v1/timing/comparison.png. All11 complete TRAIN/unknown forecasts and reversed repeats are bit-exact to E156, including both native active30 and thermal30. All12 CPU/CUDA guided/unguided changed-argument/ownership/eviction checks, disabled and controlled pre-capture failure fallback,2 CPU portable unknown cases and57 runtime mutation fixtures pass. No unexpected graph fallback;429 replays per portable cohort. PreflightSHA `068240f53b7ed43d3d7ab6da252d31d2697f1ef2f4bc68942b88659b1081eb3d`. + +Both fixed cold two-thermal-case process pairs FAIL the10percent speed gate: parent9.061849649s vs graph9.123280362s (-0.6779048percent reduction), reversed pair parent9.635354292s vs graph9.670926229s (-0.3691814percent). All outputs and reordered repeats bit-exact. SharedH100 timings, initialization/capture/all components/translations/I/O included; no isolated throughput or four-hour claim. Component warm gains did not translate into a complete-process gain in this sample; no causal attribution to a specific overhead. TimingresultSHA `20d80c4d3dc01faadce7bd328a1e08cb15048ff0be3ecb53fad59128c2a99fbb`. + +Outcome: CLOSED without VALID, publication, extra timing repeats or threshold/granularity sweep. Selected E156 remains unchanged. Main checkpointSHA `1d4d7fdf378298ee1a7435c66d9bc91d8d1ac64ebe2309ba3eb6e4d38fdd0975`; encoderSHA `0fc425a0cf92a0d25cc8beae5b2cb291cef63f56f6c17c7f9ebd84342e06848d`; inherited trainingseed20261127, fixtureseed20270304,0new optimizer updates. Validation VRMSE: not evaluated for E157. + +## E159 fixed TRAIN thermal serving profile preparation + +Hypothesis: non-neural stages or initialization may explain E157 warm/complete timing difference. Instrument exactly one native TRAIN thermal timing04 full30 process with the actually selected E156 assets, no numerical edits. CPU/CUDA record_function ranges for common main/encoder, guides and corrections; no stack/shape/memory tracing. Require all120 recurrent calls,4common encoders,1density correction and exact output bits to the cached uninstrumented E156 prediction. No future frames, optimizer, new seed, repeated timing, VALID, speed gate or publication. Shared/instrumented durations are attribution only; CUDA-graph mapping may be incomplete. MainSHA `1d4d7fdf378298ee1a7435c66d9bc91d8d1ac64ebe2309ba3eb6e4d38fdd0975`; protocolSHA `90a9d80db02b28743621e2907064a060f251d294e252cee67cbebfe2726163e8`. + +## E159 profiler schema failure and reporting correction + +Original profiled TRAIN forecast completed and is bit-exact to E156. Reporting then failed because this PyTorch2.14 profiler returns separate CPU and CUDA annotation rows with the same name; an8-element CUDA schema probe confirms both. The expected10 stages had been counted across both device types. Original source/protocol/log/prediction preserved in initial_stage_count_failure. Report CPU ranges and CUDA annotations separately; keep the original10 CPU stage/count assertions and save unverified events before them. No numerical/source-wrapper order/model/gate change. One replacement instrumented run is required because the first exception occurred before saving event records; not a speed repetition or tuning. CorrectionSHA `e62ceef73b455259aec057e42171675c39fe108ae5cab6889d2aeeaf82599fce`; amendedprotocolSHA `afa5022c00aec5fe049072f48c29c033209aef6963841ce8f7003b0c0e9ed834`. No optimizer/VALID or publication. + +## E159 instrumented thermal serving profile + +One pinned TRAIN timing04 full30 process with exact E156 assets and call-only profiler wrappers; all120 recurrent forwards,4complete context encoders and1density correction executed. Every prediction bit equals the pinned uninstrumented E156 forecast. No optimizer, new seed, future fields, VALID or model change. MainSHA `1d4d7fdf378298ee1a7435c66d9bc91d8d1ac64ebe2309ba3eb6e4d38fdd0975`; resultSHA `b9f50404386263bc0af4a26cf022fb88ec39ea1f7aa423be91019f6935d397a5`. Largest CPU scopes: [{"name": "pde_stage::density_transport", "count": 1, "device_type": "DeviceType.CPU", "user_annotation": true, "cpu_total_us": 2291622.654, "cpu_self_us": 7631.723000008147, "device_total_us": 4541.28200000152, "device_self_us": 0.0, "cuda_annotation_total_us": 2307694.018}, {"name": "pde_stage::recurrent_model", "count": 120, "device_type": "DeviceType.CPU", "user_annotation": true, "cpu_total_us": 1235929.634000001, "cpu_self_us": 194993.9419999998, "device_total_us": 373445.1250000042, "device_self_us": 0.0, "cuda_annotation_total_us": 1212860.309999994}, {"name": "pde_stage::context_encoder", "count": 4, "device_type": "DeviceType.CPU", "user_annotation": true, "cpu_total_us": 416218.65599999996, "cpu_self_us": 9430.757999999449, "device_total_us": 13657.76499999559, "device_self_us": 0.0, "cuda_annotation_total_us": 417509.08600000024}]. + +CPU ranges include host launch/synchronization time, not pure CPU compute. Device ranges may underattribute CUDA graph replay or overlap. No additive wall-time decomposition, projected speedup, selection or threshold fitting from one contended instrumented case. Generated comparison.png/SVG await inspection. No automatic optimization or selection from this diagnostic. + +## E159 profile figure inspected — density transport dominates this instrumented case + +Viewed thermal_stage_profile_v1/comparison.png. All120 recurrent calls,4common encoders,1density correction and10 distinct CPU stage annotations verified; forecast uint32 bits exactly equal E156. CPU annotation durations: density2.291622654s, recurrent1.235929634s, encoder.416218656s, statisticsforecast.282319773s. CUDA annotations give2.307694018/1.212860310/.417509086/.281834525s respectively. These include waits/queueing/instrumentation and are not additive isolated compute times or projected speedups. Standard child-kernel attribution severely undercounts density graph replay, so keep device annotation ranges separately. + +Execution accounting corrected explicitly: TWO instrumented forecasts total, first completed with exact output but failed report schema assertion; second produced the report. One tiny8-element GPU schema probe also ran. Initial sources/protocol/log/output and pre-accounting report preserved. No model, optimizer, seed, future-field or VALID change. Revised resultSHA `c36947470dd3d22f76464f5b7fa5c54bb9ba429caab579aa31b20a0c75b3a590`; successful-profile-only originalSHA `b9f50404386263bc0af4a26cf022fb88ec39ea1f7aa423be91019f6935d397a5`; traceSHA `b901f5f73cdc67414dcd35616e246016cc1dc4553b89af47b90f1bfda81bc419`. This motivates a separate exact density-RHS component study, not automatic publication. + +## E160 density finite-volume RHS fusion preparation + +Hypothesis: fuse density MC limiter/flux/divergence memory passes identified by E159 profiling; original integration, CFL, blend and guards remain outside this initial arithmetic study. Pin actual selected E156. Fixed BLOCK256/fourwarps/no autotune/implicit FMA. Exactly84 manufactured float32 fixtures span1x1/tiny/odd/native grids, all4 boundary pairs, constant/positive/signed density and velocities; require every output bit, including signed zero, equal the original eager RHS. Fixtureseed20270305; no optimizer/trajectory/future labels/VALID or selected change. MainSHA `1d4d7fdf378298ee1a7435c66d9bc91d8d1ac64ebe2309ba3eb6e4d38fdd0975`; protocolSHA `a09bb016e495443a3a48d545e50292987a4d2fc59d304f890913677e492f374f`. Later component/portable timing and exact full585 gates are conditional and separately frozen in FUTURE.md; no automatic integration/publication. + +## E160 exact scalar reciprocal correction + +Initial manufactured fixture26 (7x1,open/open,positive density) failed5 float32 values, maxdifference9.536743e-7. All failed source/protocol/log/arrays are preserved in initial_arithmetic_failure. Direct scalar probe proves PyTorch division by Python.13 uses float32(1/.13)=7.692307472229004; initial kernel used1/float32(.13)=7.692307949066162. The saved unscaled reference RHS multiplied by the former matches every expected bit; the latter does not. Correct only this scalar-precision order and rerun the unchanged84 fixtures/seed20270305/exact-bit gate/BLOCK256/fourwarps/noFMA. Clarify documentation: manufactured eager-reference and candidate both executeCUDA; CPU fallback is a later stage. No trajectory/timing/optimizer/VALID or selected-runtime change. DiagnosisSHA `320420bad6e4572571af2031c50e29606e1625f1d173e7cbd5245d314414b8cc`; amendedprotocolSHA `9e34554fd2a08f22e26220617ede021222e0c516f676644adb38732f52757434`; kernelSHA `d85648d53ec4063510e2174723d98e7eb5fdfed8009da0492dde541e393125c1`. + +## E160 density component protocol and CPU preparation + +All84 manufactured CUDA-reference/fused RHS fixtures pass bit-exact after the archived scalar reciprocal correction. Integrate an opt-in fused_rhs flag with8 reversible edits; retain original RHS/integrator/CFL/guards/blend. CPU two-frame forecast/settings exactly equal parent; no parameter change. Fixed CUDA fallback/graph/numerical gates precede native TRAIN timing04/05 full30 transported-density comparisons using only input last density and cached E156 predicted velocities. No future targets. Only after parity, exactly3 alternating component timing pairs percase, opposite first order forcase2; require10percent median gain BOTH,5/6wins, exact outputs and allocated/reserved<12GiB. Warm-compiled shared component timing excludes the rest of serving; no automatic portable/VALID/publication. Fixtureseed20270305,0optimizer. ComponentprotocolSHA `5450e7b0ef5534a1a7801c9704aa2f26dea0f6883421dd5988336a97c341d903`; CPUchecksSHA `8794e4cb3d4eb27c0ae70a85d4dcfbec5786e8f05a30a1f4acc39f51b49860a8`; kernelSHA `d85648d53ec4063510e2174723d98e7eb5fdfed8009da0492dde541e393125c1`. + +## E160 density component result + +Both native TRAIN full30 transported tensors/settings/guards exact; captured/eager RK2, CPU/disabled/unsupported/unavailable and controlled pre-capture failure checks pass. All6 timing outputs exact. Median component reductions {"timing-04": 0.8642488237453693, "timing-05": 0.9228542307199489}, pairedwins 6/6, peak {"allocated_gib": 0.0662236213684082, "reserved_gib": 0.09765625}. Fixed gate passed=True. Warm-compiled component call including graph construction/warmups/capture, full30 integration/guards/stack and CPU output copy; input transfer excluded. Shared H100; no portable/isolated/four-hour claim. No optimizer/future targets/VALID or selected change. ResultSHA `5826eba2fad0314cc8c61d317ff9a2611f1a83b5fe641338b01b4f855856e6f8`; checkpoint unchanged at `1d4d7fdf378298ee1a7435c66d9bc91d8d1ac64ebe2309ba3eb6e4d38fdd0975`. Generated component_comparison.png/SVG awaits inspection. A separate portable protocol is required before any publication. + +## E160 density component figure inspected — exact component gate passes + +Viewed fused_density_rhs_v1/component_comparison.png. All84 manufactured RHS fixtures pass after the archived scalar-reciprocal arithmetic correction. Reversible8-edit integration, CPU forecast, CUDA float64/strided/requires-grad/unavailable fallbacks, disabled execution, controlled pre-capture failure and8captured/eager RK2 fixtures pass. Both native TRAIN timing04/05 full30 transported-density tensors/settings/guards are bit-exact; inputs unchanged. All6 timing pairs improve, median reductions86.4248824percent and92.2854231percent. Peak allocated.0662236GiB/reserved.09765625GiB. These are warm-compiled component durations including graph setup/integration/outputcopy, sharedH100; no whole-package or isolated runtime claim. No optimizer/future labels/VALID/newweights. ComponentresultSHA `5826eba2fad0314cc8c61d317ff9a2611f1a83b5fe641338b01b4f855856e6f8`; numericalSHA `9fc99d3ad277ee32baceb627eae9cc314f674d08cfae4aef2fbeef17493355a3`; candidatedensitySHA `f666632bf477490a0c2379635e26f166c3ea989cf1738a0a5aab37444b1c7de0`. Proceed only via separately frozen portable/fullprocess/full585 criteria in FUTURE.md; selected E156 unchanged. + +## E161 portable density fusion protocol and CPU preparation + +Pinned selected E156; only E160 exact density RHS and two helpers/opt-in flag change. 59 exhaustive runtime change/removal/addition fixtures and source-recovery proof pass; all576 intended reuses have supplied density-ineligible metadata and complete physical prefixes. Fixed10 TRAIN/unknown plus reverse/threeCPU/fallback checks precede two cold native thermal TRAIN pairs, both >=10percent and exact bits. Only then fresh9thermal plus strict576 reuse, exact585/81 and15 repeats, under-lock selected-parent equality. No optimizer/new seed/VALID; fixtureseed20270305. MainSHA `1d4d7fdf378298ee1a7435c66d9bc91d8d1ac64ebe2309ba3eb6e4d38fdd0975`; protocolSHA `14262215deb82433482a9706a6065bae3b18f64ca1fe56d35bf707d2e606792a`; CPUchecksSHA `d753ca8c526ea9cbeb0c22c6198d41c69c1f6cfd7afb4e1f88185784a6e3c4aa`. + +## E161 dependency registration and read-only resource context + +Generic physical dependencies and recorded runtime hashes now explicitly include density_kernel.py and density_fusion.py. Six addition/change/removal rejection fixtures pass; existing latent dependency rules remain strict. AuditSHA `79babce42fcd744ec81d7e112b0e0cfbcf014c089c39393370166395ae6dc4f4`. E161 also has an auxiliary five-second read-only GPU-process/E115-log observer, begun before timing; it labels the tracked directory and training-complete status, and does not pause jobs or affect gates. ObserverSHA `e0ceb3cadbd937752e4e45eefb39f50731e8aa260e111de57698ffd224c443b5`. No new optimizer, seed, prediction, VALID or selected-runtime change from this infrastructure update. + +## E161 portable density fusion preflight + +All10 complete TRAIN/unknown forecasts and reverse-order repeats equal pinned E156 at every float32 bit; native thermal full30 included. ThreeCPU unfamiliar outputs exact, including density-eligible manufactured context and13channel odd input. Actual-package enabled/disabled/unavailable/float64/strided/pre-capture-failure checks pass; fresh writable-cache compilation succeeds. No optimizer/new seed/VALID. Full-process gate pending. PreflightSHA `ac5b3183650603fb5ad486a0ab2f71e85175b8a053128ee8de0fc1a4f8068c4e`. + +## E161 complete-package density fusion timing + +Exactly two predeclared cold original/fused subprocess cohort pairs, reversing model/case order on pair2. Both native TRAIN contexts use full30, all shared components and translations; initialization/first compilation/I/O included. All forecast float32 bits and reordered repeats match. Relative reductions [0.07624851981789338, 0.2393525169673546]; fixed at least10percent BOTH gate passed=False. Shared H100 measurements; not isolated throughput or a four-hour guarantee. ResultSHA `57cf424ed95050ebfd502530edf01c4b8f252aeeaaf5e7f3ef08a954a62f4823`. No new weights/seed/VALID. Close this integration line without VALID or timing-repeat/threshold sweep; retain E156. Generated comparison.png/SVG await visual inspection. + +## E161 timing figure inspected — portable density fusion closed + +Viewed portable_density_fusion_v1/timing/comparison.png. Two cold complete-package cohort pairs: parent8.806496330s versus fused8.135014020s (7.62485198percent), then reversed fused7.185786959s versus parent9.446934512s (23.93525170percent). All forecast uint32 bits and reordered repeats equal. The fixed10percent BOTH gate fails; no additional timing repeats, threshold changes, VALID or publication. E156 remains selected, mainSHA `1d4d7fdf378298ee1a7435c66d9bc91d8d1ac64ebe2309ba3eb6e4d38fdd0975`; unchanged validation means corpus.010231659948693987, Arena.00008114316907195506, active.08523834565974923, thermal.4350606727655739, fullreward.7850724219084871. E161 has no validation scores of its own. Preflight10complete TRAIN/unknown and reverse outputs,3CPU unknowns and actual-package fallbacks passed; preflightSHA `ac5b3183650603fb5ad486a0ab2f71e85175b8a053128ee8de0fc1a4f8068c4e`, timingSHA `57cf424ed95050ebfd502530edf01c4b8f252aeeaaf5e7f3ef08a954a62f4823`. No new optimizer/seed; manufactured fixtureseed20270305. Shared-H100 measurements are not isolated throughput or a four-hour guarantee. Positive component results remain documented separately, without a whole-package speed claim. + +## E162 conditional E115 component integration plan frozen + +Before E115 final2k VALID is available, pin actual E156 and freeze one conditional composition: replace the common encoder globally only if E115 active VALID mean strictly improves E156; replace the common recurrent backbone globally only if E115 thermal mean strictly improves E156. If neither improves, close without new forecasts. These are selection diagnostics of global roles, never dataset-name checkpoint routing: both components always execute on every case/translation/chunk. At most one composition; unchanged guides/configuration/GSdt.3/selected physical fusion/scheduling, no new optimizer or training seed. Parent mainSHA `1d4d7fdf378298ee1a7435c66d9bc91d8d1ac64ebe2309ba3eb6e4d38fdd0975`, encoderSHA `0fc425a0cf92a0d25cc8beae5b2cb291cef63f56f6c17c7f9ebd84342e06848d`; existing seeds20261127/28. A positive decision requires separately frozen source/export/mutation and CPU/CUDA/portable/reverse checks, fresh33 VALID plus strict552 complete physical reuse, full585/81 official reports and15 bit-exact serving repeats, strict improvement against actual current selection under ledger lock before atomic publication. No midpoint selection, coefficient sweep or new model now. Preserve single-seed/pre-objective numerical-confound limitations; this is VALID selection, not independent evaluation. PlanSHA `4fdcff92ecd37963dc11fb0afb0e5f8e3516c7de325eab6f49567aeca3c16e60`; protocolSHA `64926fd136854faea9db63fba58e1e106f3a34f2b5d0a197e2eb0aeb4e45906e`. Final E115 VRMSE and checkpoint are pending. + +## E163 offline recurrence reset diagnostic frozen + +Hypothesis: distinguish conditional learned-update error from recurrent accumulation on the fixed nine E152 pilot thermal TRAIN cases. Exactly free, truth resets every8, and truth resets every1 step; original four-frame guide/encoder/corrections and clock unchanged. External research hooks only, no serving edits or target assets in packages. All9 native input/target memberships/cache equalities audited. E156 versus cached E152 differs only in unreachable active-matter fusion. Require free complete forecasts bit-exact to E152,120 main calls and0/12/116 resets percase, all raw first steps exact, finite ordinary HDF5, official TRAIN scoring and fixed2x3 figure. No threshold sweep, optimizer/new seed/VALID/publication or automatic training. Future TRAIN observations make reset modes nondeployable and not a generalization estimate or upper bound. MainSHA `1d4d7fdf378298ee1a7435c66d9bc91d8d1ac64ebe2309ba3eb6e4d38fdd0975`; protocolSHA `73c3706efa9c451d3de63a58044cda8821c9f1195577a21e7c57abb0703c1394`. Existing optimizer queue unchanged. + +## E115 final training completed; final-only validation started + +All2000 joint updates finished; the original validator confirms250 physical draws exactly match the frozen schedule, including31 full30 and219 short4 losses. Final logged loss.20666572948296866, gradientnorm4.017029762268066, peakallocated30.0541653633GiB; shared-runelapsed18487.4s is not isolated throughput. Final long loss at1984 uses TRAINzeta5/alpha-3trajectory2, loss.017687873914837837. TrainingartifactSHA `56c803838cc277e38cf7017a1101a3aa4a2b83091885ecc062c51eed5b46079e`; exportedcomplete-modelSHA `6f925ff20fa90086feda94ff7d72d6a336fa1f8a87aba1aec9062021d4c824c5`. Existing seeds20261127/28, no flag or schedule change. Final2k fresh33 plus strict552/full585 validation is running; all9 thermal forecasts finished, active forecasts remain. No final validation score or selection yet. E116 locked dropout has started as the next sole optimizer; E115 now performs inference only. E115 reporting and conditional E162 integration remain pending the completed official report. The pre-objective numerical-confound and single-seed limitations are unchanged. + +## E163 offline recurrence reset diagnostic + +Fixed nine native thermal TRAIN contexts, full30, unchanged E156 weights and all shared serving components. Offline truth windows injected only in the recurrent input; guides and final corrections retain the original context. Free-mode final forecasts equal cached E152 at every float32 bit; all raw first steps exact. All120 forwards/case and0/12/116 resets audited. free: {"raw": {"vrmse": 0.3685351388542453, "wins_vs_free": 0}, "final": {"vrmse": 0.37370677492893045, "wins_vs_free": 0}}. reset8: {"raw": {"vrmse": 0.347811889954773, "wins_vs_free": 7}, "final": {"vrmse": 0.348213748720693, "wins_vs_free": 9}}. reset1: {"raw": {"vrmse": 0.247845121281301, "wins_vs_free": 9}, "final": {"vrmse": 0.2587992549459829, "wins_vs_free": 9}}. MainSHA `1d4d7fdf378298ee1a7435c66d9bc91d8d1ac64ebe2309ba3eb6e4d38fdd0975`; resultSHA `e2c2b539aad09bd70f3893000cc2e6870427f833fa78ee540dad3b4ecbd22abf`. No optimizer/new seed/VALID or publication. TRAIN observations beyond the initial context are injected offline. Model already trained on these trajectories. Not valid inference, an upper bound, a causal decomposition or an independent generalization estimate. Guides remain based on the original context; final corrections can couple steps. No automatic selection or training. Figure comparison.png/SVG awaits inspection. + +## E163 reset-storage bug found and corrected; initial reset8 result invalid + +The initial pre-hook replaced only the model argument; predict_member retained its previous local ctx, so subsequent steps carried three stale states. The reported reset8 .3482137487 result does not implement the declared persistent four-frame reset and must not be interpreted. Archive all27 initial TRAIN forecasts, reports, figure, sources/protocol/logs in initial_reset_state_failure. No package, optimizer or E115 validation was affected. A tiny six-step CPU fixture using the actual packaged predict_member reproduces the wrong history under argument replacement and proves exact carried history after in-place ctx.copy_. Correct only that storage semantics and require0/12/112 next-call carried-history checks percase in addition to original120calls and0/12/116resets. Rerun the unchanged three modes and numerical gates; no interval/threshold/parameter search. Accounting:27 archived plus27 planned corrected TRAIN forecasts, two tiny manufactured CPU recurrence checks. CorrectionSHA `704cb5decb7f099b5e849c69358f85632df02ffe9dae12d77ef2ed68c6f50bc6`; fixtureSHA `e769710877984466d3bcedee140c8cff0a2453754ff10cdce06c1ff0fd8216f9`; amendedprotocolSHA `2c5e3fcaa2dc24cb66d8217cb60fbb52c75af8d80f6a81717e831caa4ba74aec`. No VALID/modelselection; all weights and existing seeds unchanged. + +## Operator pause recovery — checkpoints and published package audited + +All previous container processes were confirmed ended; one H10080GB available. No credentials inspected. All30 published files exactly equal selected E156, pretrained_assets empty,7465747parameters/fourcontextframes. E115 finaltraining56c803838cc277e38cf7017a1101a3aa4a2b83091885ecc062c51eed5b46079e and exported6f925ff20fa90086feda94ff7d72d6a336fa1f8a87aba1aec9062021d4c824c5 preserved. Audit11 complete fresh VALID forecasts against original input/output hashes and finished log records; resume remaining22, retaining552 original strictly audited physical reuses and all original scoring/selection/contract gates. Interrupted logs preserved; combined log seconds are process-local. E116 has75 logged updates but no recoverable checkpoint; archive its directory and restart unchanged initial/seeds/schedule after runtime audit, with unlogged lost progress unknown and no claim of bitwise recovery. Corrected E163free/reset8 are complete and hashed; reset1 had0completeforecasts, so resume only that mode and original scoring/figures. No modelselection or scientific threshold changes. Current natural GPU idle permits the original eight-context isolated runtime audit before restarting GPU work. Recovery snapshotSHA `aa4a17e674428a775a7088d8863e48eca7b00b6bbe8a0b5a58049aeb6b4e6409`; E115 resumeplanSHA `b03f3b33f85edee99f92fb7bbc0029351168b4548fe92c303c4f7a6d45e60f0d`. E115/E163 recovery source wrappers leave their frozen source files unchanged. + +## Recovery execution queue restored + +Recovery supervisor waits for the already frozen isolated runtime audit to finish without failure and with3exact repeats. It then resumes22 E115 forecasts with original final-only scoring/selection, resumes only E163reset1, restores E115 reporting/E162 decision and the unchanged oneoptimizer E116->E118->E123->E124->E130->E134->E144->E148->E155 queue plus original validators/analyses. E116 restart uses its original source, initialcheckpoint,seed20270118/dropoutseed20270211,1000updates/500and1000selection. All lost run artifacts remain archived; numerical duplication is not asserted because originalbackendbenchmark=True. Recovery codeSHA manifest `330d84298f04162ead990d2f1d929f1d81ab76eebe2a4f5d337673f2fd36f3a2`. No new research candidate, scientific gate, pretrained asset or held-out access. + +## E164 local increment diagnostic plan frozen + +CPU-only analysis after corrected E163completes: same9TRAIN trajectories, no new forecasts. Compare rawreset1 with true-current persistence; reproduce official channel/step/case VRMSE, then normalized predicted/true increment RMS and direction cosine, whole and spatiallycentered. Exact squared-error decomposition into globalmean/Xprofile/Yprofile/interaction is separate from clampedVRMSE. Fixed2x3figure; no coefficientfit, threshold, optimizer/newseed/VALID/modelselection or automatictraining. MainSHA `1d4d7fdf378298ee1a7435c66d9bc91d8d1ac64ebe2309ba3eb6e4d38fdd0975`; protocolSHA `1461affda8353e3cbf2e30553a50402e781a56e7abfc5d1fc7d6f5cb2bb6b4c6`. This is descriptive TRAIN evidence with futuretruth and originalcontextguides, not independent generalization or an upper bound. + +## Isolated single-H100 portable runtime audit + +Eight frozen TRAIN initial contexts, native horizons26corpus/30Well/10Arena, plus three reordered independent repeats. Other GPU work was never paused;60seconds of empty GPU process list before start and continuous process-group monitoring throughout inference. Interfered attempts were discarded. Main run291.0086226349813seconds; repeat run183.37543821998406seconds; total audit475.02011833898723seconds. Exact repeated cases3; failureNone. Sample timing does not establish the duration of all possible verifier cohorts or unfamiliar grids. No future targets, optimizer or parameter changes. CheckpointSHA256 `1d4d7fdf378298ee1a7435c66d9bc91d8d1ac64ebe2309ba3eb6e4d38fdd0975`, resultSHA256 `f62c7f5d80a0c2e4ba7c27e5b3e0277f32cd8975175ade3bfc23a71bb8a58319`. + +## Isolated runtime audit reviewed after operator recovery + +Reviewed attempt_0001: all8native TRAIN context-only forecasts are ordinary finite float32 HDF5; threeindependent reordered repeats match arraySHA256 exactly. Firstprocess291.008622635s, repeat183.375438220s, total475.020118339s; bothreturncode0, noforeignGPUprocesses. Selected E156 runtime/main1d4d7fdf378298ee1a7435c66d9bc91d8d1ac64ebe2309ba3eb6e4d38fdd0975,7465747parameters, noaccuracychange. ResultSHA `f62c7f5d80a0c2e4ba7c27e5b3e0277f32cd8975175ade3bfc23a71bb8a58319`. This is an isolated sample including initialization/I/O, not proof of everyverifiercohort or unseen grid. The process-free recovery interval enabled the audit without pausing any activejob. Recovery supervisor then restored26original controllers/analyses; oneoptimizer E116, E115remaining22VALID and E163remainingmodeinference. No new optimizerhyperparameters, seed, validationselection or modelpublication from timing. + +## E163 offline recurrence reset diagnostic + +Fixed nine native thermal TRAIN contexts, full30, unchanged E156 weights and all shared serving components. Offline truth windows injected only in the recurrent input; guides and final corrections retain the original context. Free-mode final forecasts equal cached E152 at every float32 bit; all raw first steps exact. All120 forwards/case,0/12/116 resets and0/12/112 subsequent carried-history checks audited. Initial argument-only reset failed persistent-storage semantics and its27 forecasts are archived;27 corrected forecasts reported,54 new forecasts total. free: {"raw": {"vrmse": 0.3685351388542453, "wins_vs_free": 0}, "final": {"vrmse": 0.37370677492893045, "wins_vs_free": 0}}. reset8: {"raw": {"vrmse": 0.3274760114691512, "wins_vs_free": 9}, "final": {"vrmse": 0.33393661496754434, "wins_vs_free": 9}}. reset1: {"raw": {"vrmse": 0.247845121281301, "wins_vs_free": 9}, "final": {"vrmse": 0.2587992549459829, "wins_vs_free": 9}}. MainSHA `1d4d7fdf378298ee1a7435c66d9bc91d8d1ac64ebe2309ba3eb6e4d38fdd0975`; resultSHA `66798d4c514bacbeec9bd907af89f62be11642c434fda9f6305aab736dbcacc1`. No optimizer/new seed/VALID or publication. TRAIN observations beyond the initial context are injected offline. Model already trained on these trajectories. Not valid inference, an upper bound, a causal decomposition or an independent generalization estimate. Guides remain based on the original context; final corrections can couple steps. No automatic selection or training. Figure comparison.png/SVG awaits inspection. + +## E164 local increment quality on existing TRAIN diagnostics + +No new forecasts, optimizer, seed, fitting or VALID. All9 memberships/input/target hashes and E163 rawreset1 official per-case/channel/step scores verified. {"local_persistence": {"vrmse": 0.5682877233919544, "by_step": [0.6240166496088915, 0.651581905428965, 0.6263321644588823, 0.6382162790164164, 0.5790000481626191, 0.5480711905214392, 0.53095650706778, 0.5019186761725025, 0.514750211580865, 0.49165244500930755, 0.5250776830995242, 0.5475786965805867, 0.5619153069092581, 0.5983988485619736, 0.5826744397853453, 0.5726048672576862, 0.5605362943541422, 0.5370354671627605, 0.5434749260686584, 0.5741582525746982, 0.5706186419080077, 0.5627920967757704, 0.5831032217113195, 0.5557554637735583, 0.6070789441418409, 0.5787840757876346, 0.5474434383289623, 0.5806195868733101, 0.5841952219426131, 0.5682901511333172], "by_channel": {"density": 0.2185126805917594, "pressure": 1.250749262458938, "velocity_0": 0.1744104091228992, "velocity_1": 0.6294785413942211}, "windows": {"steps_1_5": 0.6238294093351548, "steps_6_12": 0.522857915718858, "steps_13_30": 0.5705266247250476}}, "reset1_raw": {"vrmse": 0.247845121281301, "by_step": [0.21443829766927927, 0.2367561946144892, 0.2375265512415075, 0.2421889422402379, 0.2251141868426353, 0.2218966405468864, 0.2198377902052737, 0.20931038580585984, 0.22263559582229428, 0.2181326061930529, 0.23000530070517827, 0.23322219154884546, 0.2450567382655388, 0.26948351424623535, 0.24602837389305554, 0.253259631315522, 0.24885262993762286, 0.25461488602205085, 0.25901316347477316, 0.2528070482892101, 0.26599424847860775, 0.2634748406859578, 0.27657505509260943, 0.262121455535983, 0.2745080496949148, 0.26619569485170835, 0.26739772642974735, 0.2710537060480911, 0.2767437179794336, 0.2711084747624288], "by_channel": {"density": 0.0831947113003988, "pressure": 0.5844677526252021, "velocity_0": 0.09901632359983205, "velocity_1": 0.22470169759977104}, "windows": {"steps_1_5": 0.2312048345216298, "steps_6_12": 0.22214864440391296, "steps_13_30": 0.2624604975001939}}}. Learned-update wins versus true-current persistence: 9/9. MainSHA `1d4d7fdf378298ee1a7435c66d9bc91d8d1ac64ebe2309ba3eb6e4d38fdd0975`; resultSHA `424f8701505aa3f0e3dcfcdee9cc230e0bff02e8d55baecc095cbec71c707e88`. Descriptive TRAIN analysis with future truth windows and original-context guides; trained trajectories, not independent generalization or an upper bound. No fitted scalar or automatic training/selection. Fixed comparison.png/SVG await inspection. + +## E163 corrected truth-reset figures inspected; diagnostic complete + +Viewed recurrence_reset_diagnostic_v1/comparison.png. All9corrected modes pass originalreferencebit checks,rawfirststepidentity,120recurrentcalls and0/12/116resets with0/12/112carriedhistorychecks. Rawmeans free.3685351388542453,reset8.3274760114691512,reset1.247845121281301; finalmeans.37370677492893045/.33393661496754434/.2587992549459829. Bothresetmodesimproveall9cases inrawandfinal; late13–30raw.43221605895930737/.3709413754675762/.2624604975001939. Correctedreset8figure shows error drops followingtruewindowresets,thenrenewedgrowth. Pressure remainslargesterror withreset1raw.584467752625202. This is TRAINfuture-observation diagnostics with originalcontextguides,notdeployable/inference/independentgeneralization/upperbound/causalproof. Noautomatictrainingorselection. Original27argument-onlybugforecastsarchived;27correctedforecastscomplete,54totalcomplete; operatorpauseinterruptedreset1with0completeoutputs anditresumedonce. TwoactualpackagedtinyCPUchecks documented separately. MainSHA `1d4d7fdf378298ee1a7435c66d9bc91d8d1ac64ebe2309ba3eb6e4d38fdd0975`; resultSHA `66798d4c514bacbeec9bd907af89f62be11642c434fda9f6305aab736dbcacc1`; correctedprotocolSHA `2c5e3fcaa2dc24cb66d8217cb60fbb52c75af8d80f6a81717e831caa4ba74aec`. Nooptimizer/newseed/VALID/modelchange. + +## E164 local increment figure inspected; useful learned updates with residual spatial error + +Viewed local_increment_diagnostic_v1/comparison.png. All9TRAIN memberships/hashes and rawreset1officialscores reproduce, squared-errorcomponents reconstruct within2.220446049250313e-16. TruecurrentpersistenceVRMSE.5682877233919544 versuslearnedrawreset1.247845121281301,9/9wins; pressure1.250749262458938 versus.5844677526252021. CompleteincrementRMSratios density/pressure/vx/vy .8753881/.8758612/.7753659/.9147094, directioncosines.9247417/.8830986/.7938898/.9358489. Spatiallycenteredvaluesaresimilar. Residualinteractionsharessquarederror95.44/75.98/83.68/77.88percent;pressuremean5.392percent,Yprofile16.048percent. These aredescriptivenormalizedenergies,notadditiveclampedVRMSE shares or a fitted scalarcorrection. Evidence confirms learnedlocaldynamicswhileleavingbothupdateerrorandrecurrenceaccumulation; noautomaticoptimizer, guidechange, coefficientsearchorselection. MainSHA `1d4d7fdf378298ee1a7435c66d9bc91d8d1ac64ebe2309ba3eb6e4d38fdd0975`; resultSHA `424f8701505aa3f0e3dcfcdee9cc230e0bff02e8d55baecc095cbec71c707e88`; protocolSHA `1461affda8353e3cbf2e30553a50402e781a56e7abfc5d1fc7d6f5cb2bb6b4c6`. No new forecasts/seed/VALID; TRAINtruthwindows andpriortraining preclude generalization/causalclaims. + +## E165 local/recurrent gradient diagnostic frozen + +Following E163/E164, measure fixedweight fullparameter-gradient agreement between original30step autoregression and30teacherforced one-step losses on the same9nativeTRAIN initialcases. Original log1pnormalizedMSE, originalcontextguidance,canonicaluntranslatedmainpath,evaluation/contiguousservinglayout/BF16/deterministiccuDNNbenchmarkFalse,noinputnoise. Require everygradientforward bit equal toactualpackagedpredict_memberrawreference, local29resets/28carriedhistorychecks, finite gradients/nonzeronorms,allweightsunchanged and ownallocated/reserved<24GiB.18references+18gradientrollouts;0optimizer/VALID/newtrainingseed,constructorseed0asoriginalserving. Reportfull/head/othergradientcosines/norms,dotproducts,losses andfixed1x3figure; no fittedmixingcoefficient, performancegate, automatictraining or selection. SharedH100 withoneexistingoptimizer; no timingclaim. MainSHA `1d4d7fdf378298ee1a7435c66d9bc91d8d1ac64ebe2309ba3eb6e4d38fdd0975`; protocolSHA `1ec7a17c9f1eae7c80996917a4e8df5f6b9df40d0e93eb2399c3e3a1767d2d3e`. This local canonicalTRAIN diagnostic differsfromnoisyaugmentedtraining andcorrectedtranslatedserving; alignmentdoesnotprovelearning/generalizationbenefit. + +## E165 final report serialization corrected without rerunning gradients + +All9cases and18reference-versus-gradient forward comparisons completed; every numerical/gradient/memory/unchangedweight gate passed and partial.json contains allrows. FinalJSONwrite failed because summing NumPybool yieldedint64, unsupported byjson. Archive originalsource/protocol/log/failure/partial; convert onlypositive_cosines to Pythonint. CPU-only finish_report.py executes the original reportingtail from exactsavedpartial; no newGPUrollout/backward/repetition/tuning. PartialSHA `62e1d642b7f99cc1907275a902532b267211abc22a1b743675c0b4dae6a6905e`; initialprotocolSHA `1ec7a17c9f1eae7c80996917a4e8df5f6b9df40d0e93eb2399c3e3a1767d2d3e`; amendedprotocolSHA `e504e8f0abef66eb2a0eda960d70dc4043af8284607f8bdfffb22f98613cf0e5`. Allweights and selection unchanged. + +## E165 CPU report wrapper import correction + +The serialization fix produced the saved report and figure, then the CPU-only reporting wrapper lacked sys when reaching ledger publication. Archive wrapper/log/report/figure/protocol in initial_report_failure/finish_missing_import; add onlyimportsys and complete the same reportingtail again. No model execution, gradient recomputation, scientific gate or score change. AmendedprotocolSHA `50e8f746526e2e5221fea18af06c2631ab567c40f0eb0b902b10162f0bf71abf`; all9comparisonpartialSHA `62e1d642b7f99cc1907275a902532b267211abc22a1b743675c0b4dae6a6905e` unchanged. + +## E165 local versus recurrent gradient diagnostic + +All9TRAIN memberships/inputs/targets verified; all18canonical30step gradient forwards bit-exact to actual packaged predict_member observer references, with local29resets/28carrychecks. Allweights unchanged, gradients finite and ownpeak allocated/reserved below24GiB. Positive full-gradient cosines 5/9, median 0.010322377731406259. MainSHA `1d4d7fdf378298ee1a7435c66d9bc91d8d1ac64ebe2309ba3eb6e4d38fdd0975`; resultSHA `c75dbb44eebe6328cebafd21a61533edd64327625d631f3a0c0164295ccb95f9`. Canonical untranslated raw main path, deterministic serving layout/BF16, no input noise or final corrections. Existing nine TRAIN cases. Local gradient alignment does not prove improved training or generalization. No fitted mixing coefficient or automatic training/selection. Figure comparison.png/SVG awaits inspection. + +## E165 gradient figure inspected; diagnostic complete + +Viewed local_rollout_gradient_v1/comparison.png. Full-gradient cosines are positive in5/9cases and negative in4/9, median0.010322377731406259, range[-0.08798489895898955,0.20344960427267456]. Local/full-rollout gradient norm ratios range0.014261325451433559 to0.045299983864277284. Near-orthogonal and mixed-sign directions do not justify automatically adding the local objective, and do not prove that it cannot help after training. All18 differentiated raw30step forwards equal their18 actual-packaged no-gradient references at every float32 bit; local29resets/28carrychecks, unchanged weights and finite gradients pass. Ownpeakallocated15.216082096099854GiB/reserved15.82421875GiB, below24GiB.36canonicalrawrollouts total, no complete corrected-package forecasts, optimizer, newtrainingseed or VALID. MainSHA `1d4d7fdf378298ee1a7435c66d9bc91d8d1ac64ebe2309ba3eb6e4d38fdd0975`; resultSHA `c75dbb44eebe6328cebafd21a61533edd64327625d631f3a0c0164295ccb95f9`; finalprotocolSHA `50e8f746526e2e5221fea18af06c2631ab567c40f0eb0b902b10162f0bf71abf`. Two reporting-only errors (NumPyint64 serialization, missing sys import in the CPU wrapper) are archived and resolved using saved nine-case partialSHA `62e1d642b7f99cc1907275a902532b267211abc22a1b743675c0b4dae6a6905e`; no GPU reruns. Canonical raw serving-layout/eval/BF16/benchmarkFalse and no inputnoise differ from noisy augmented training and corrected translated serving. TRAIN-selected previously trained trajectories; no independent generalization, causal, or mixed-objective performance claim. Selected E156 unchanged: corpus.010231659948693987,Arena.00008114316907195506,active.08523834565974923,thermal.4350606727655739,fullreward.7850724219084871. E165 has no validation results of its own. + +## E166 identical-forward gradient path diagnostic frozen + +Following E165, separate changed visited states from gradient propagation through recurrence. Same9native thermalTRAIN contexts, actualE156headlessmain1d4d, unchanged completeencoder/guidance. Comparefull30backprop with historydetachedbeforeeveryforward; identicaloriginalcontextguides/log1pnormalizedMSE/servinglayout/eval/BF16/benchmarkFalse/noinputnoise. CPUanalytic recurrencefixture passes. Requireactualpackagedreference/E165arrayhash and bothgradientforwards exactbits, exactloss, E165full/head/othernormswithin1e-6relative/1e-10absolute,29vs0gradientcarryinghistories, finitegradients/unchangedweights/ownallocatedandreserved<24GiB.9references+18differentiatedrawrollouts, full/directgradientvectorssaved, fixed1x3figuremustview. Nooptimizer,newtrainingseed,VALID,coefficient/truncation-lengthsweep, completecorrectedpackageforecasts orautomatictraining/selection. Existingoneoptimizerqueueunchanged. MainSHA `1d4d7fdf378298ee1a7435c66d9bc91d8d1ac64ebe2309ba3eb6e4d38fdd0975`; protocolSHA `9adee6ddf09acdfb3a274163d8c6aba72dfbf5cd4c639202d8e9e18d746daf40`. This is local numerical decomposition atfixedweights, not a generalization or truncationtraining performance estimate. + +## E166 first-case gradient reproduction gate failed + +The first TRAINcase completed one actualpackagedreference andtwo differentiatedfull30rawrollouts; allforwardbits/referenceSHA/scalarloss/memory/finitegradient checks passed before thefull-gradientnorm comparison failed its unchanged1e-6relative/1e-10absolute gate. No latercases ran, nooptimizer/VALID/parameterchange. The first implementation checked historicalnorms before saving gradientvectors, so failednormvalues were not retained; do not invent their magnitude. Originalsource/protocol/logs/fixture/order/failurearchived ininitial_gradient_reproduction_failure. Plan a fixed first-case diagnosis to distinguish implementation effects from backward reproducibility; do not relax the gate or interpret the direct/full result. InitialprotocolSHA `9adee6ddf09acdfb3a274163d8c6aba72dfbf5cd4c639202d8e9e18d746daf40`; mainSHA `1d4d7fdf378298ee1a7435c66d9bc91d8d1ac64ebe2309ba3eb6e4d38fdd0975`. E165 forward reproducibility remains established; its backwardrepeatability was nottested. + +## E166 fixed first-case reproduction diagnosis frozen + +Exactly five firstcasefull-gradient subprocesses: literalE165loop twice underoriginalflags, literalE166full-loop once, then oneofeachwithtorch.use_deterministic_algorithms(True) andCUBLAS_WORKSPACE_CONFIG=:4096:8. Eachretainsitsactualpackagedno-gradreference, allforward/losschecks andsourcehashes; narrowfirstcase/firstmode/capture-only execution savesfullgradientsbeforeanynormgate. Tenadditionalrawrollouts,0optimizer/VALID/newtrainingseed. Stopsifstrictkernelsunsupported; noadditionalrepeats or changedmain-study thresholds. Comparecompletegradientvectors/norms/maxdiff/cosine; noattributiontobackendnondeterminismbeforeevidence. DiagnosisprotocolSHA `d3582e05a2c3d7418f48077395e0727147887328e2909a108616fc53193dffe5`. Initialfailed3rawrolloutsaccountedseparately; selectedpackage/runtime/trainerunchanged. + +## E166 reproduction probe source matcher corrected + +Two literalE165full-gradient runs completed with identical forecast/loss but different gradientnorms5.290332057444688 versus5.283389211379123; their complete vectors retained. The next E166probe source matcher found both the analyticfixture andmainmode-loop header and stopped before model initialization. Archive sources/protocol/logs and require followingmodel.zero_grad in the matcher. Resume onlythree prescribed remaining runs; preserve originaltwo JSON/NPZ/log hashes. No numericalthresholds, modelsource, weights orscientificquestion changed. Initialfourdiagnosticrawrollouts preserved, no rerun. AmendeddiagnosisprotocolSHA `89a6b3af3d07b91f85601663566dbb0b857637151f9b3a359da4c411648816cf`. Original same-code backwardrepeatability already fails despite deterministiccuDNN; completegradientandstrictcontrolcomparison pending, no specifickernelattribution yet. + +## E166 closed after numerical reproduction failures + +The unchanged1e-6relative/1e-10absolute historicalgradientnorm gate failed onfirstcase; no9casegradientpathresult. Two literalE165repeats keep everyforwardbit/loss exact yet norms5.290332057444688 versus5.283389211379123, completegradientrelativeL2 0.004560516528461055, cosine 0.9999904494615138. Newloopnorm5.300638707065036,relativeL2versusfirst 0.007118511541079532; thisdoesnotprove implementationgradientidentity. Strictdeterministicalgorithms+CUBLASworkspace produce differentrawSHA andloss.17184384167194366 versus.17195580899715424; finalstrictprobe stopsathistoricalforwardgate beforegradient. No gate relaxed orfurtherGPUrerun;12completerawrollouts total(initial3+diagnostic9), one source-matcher failurebeforemodelinitialization,0optimizer/newseed/VALID. E165backwardvaluesareoneexecution,notbitwiserepeatability; no specifickernelattribution. Main1d4dunchanged, selectedE156reward.7850724219084871 andall19datasetmeansunchanged. FailureSummarySHA `85ed99e814092af925ccfebe8c3f6e8ae9cc20a04f5ad31bcad661a40e0529be`. CPU-only failurefigure awaitsinspection. Originalstudy/protocol/allfailuresretained; noautomatictruncatedtraining. + +## E166 failure figure inspected; line closed + +Viewed recurrence_gradient_path_v1/failure_comparison.png. Originalsame-code gradientvectorrepeatdifference0.456051652846105percent withcosine.9999904494615119, versusnewloopdifference.7118511541079525percent withcosine.9999766067223308. These observations do not meet the frozen reproduction gate or establishimplementationequivalence; no completednine-casepathstudy. Strictmodechangesforwardvaluesandloss, so cannotrepairthehistoricalreferencewithout changingthenumericalexperiment. All12rawrollouts, archivedsource-matcherfailure, originalweights/forwardchecks andscopearein failure_summarySHA `85ed99e814092af925ccfebe8c3f6e8ae9cc20a04f5ad31bcad661a40e0529be`. No furtherGPUruns, trainingqueuechange, VALID orpublicationcandidate fromthisline. E165gradientstatistics remain one-executiondescriptions, notbitwisereproduciblederivatives. Servingdeterminism andselectedE156validationunchanged. + +## E167 fixed recurrent parameter average frozen + +TestoneequalE0601k/2krecurrentbackboneparameteraverage, float64thenfloat32; commoncomplete1kencoder/guides/allE156runtimefixed. ThisdiffersfromE142encoder-onlyaveraging. Exact98unusedheadremoval,strictsamearchitecture/tensororder/shapes/dtypes,self-averagebits/finitevalues/selected2kidentity pass; total7465747parameters. Allmodelrolesstillruneverycase. Fixed9nativeTRAINpilot, freshthreeendpoints/average full30forecasts(27),selected2kexactcachedE163free; gate>=.1percentmeanVRMSEgainoverBETTERendpointaggregate and5/9winsvsselected2k. Onlyifpass, other63TRAINfreshallthree(189),samegain/36wins. No coefficient/checkpoint sweep,newoptimizer/seed orVALID; existingseeds20261127/28. Laterpositive requiresportablechecks,strict576physicalreuseproof,fresh9/full585/81/15repeats,currentbestunderlock. MainaverageSHA `32a05c9d030f04d0f2d56164bf94bde0088287c12a17327da08450cd7db0abe9`; endpoint1kheadlessSHA `c0c0a94dbb99d5029b0d71994e6a8b26f4edb938cc989e4f637b46743b2841d1`; selected2kSHA `1d4d7fdf378298ee1a7435c66d9bc91d8d1ac64ebe2309ba3eb6e4d38fdd0975`; protocolSHA `68a2a1732fa9e7d2ae5bac8f5f09e22b6445fd55d15c37447c43d6bc71d88ae1`. TheseTRAINtrajectorieswereavailabletotraining,notindependentgeneralization. Existingoptimizerqueueunchanged. + +## E168 positive-support diagnostic frozen + +CPU-onlysame9E163TRAINcachedfree raw/final andtargets. Auditpool/input-target/predictionhashes/fields/nativegrids; reproduceofficialcase/stepscoreswithin1e-12. Countdensity/pressurenegativepixels andminima bycase/step. Describeonlyalgebraicfinalpressurezero projection, no fittedbound/blend orrecurrentclamp; iftargetpressureallnonnegative verifyper-pixelsquarederror nonincrease. Noautomaticcandidate/VALID/optimizer/newseed/inference; fixed2x2figuremustview. MainSHA `1d4d7fdf378298ee1a7435c66d9bc91d8d1ac64ebe2309ba3eb6e4d38fdd0975`; protocolSHA `add5d9b00ef38dea46b5795de67879f23f24f202c0d2ae8a1c7e8a737f1fb244`. ExistingtrainedTRAINdata, notindependentgeneralization. + +## E168 cached TRAIN support diagnostic result + +All9memberships/input-target/predictionhashes andofficialraw/finalcase-stepscores reproducewithin1e-12. {"density": {"target": {"minimum": 0.8086128234863281, "mean_negative_fraction": 0.0}, "raw": {"minimum": -23.096092224121094, "mean_negative_fraction": 0.04810127917631173}, "final": {"minimum": 0.0028306699823588133, "mean_negative_fraction": 0.0}}, "pressure": {"target": {"minimum": 0.43619856238365173, "mean_negative_fraction": 0.0}, "raw": {"minimum": 0.8468204140663147, "mean_negative_fraction": 0.0}, "final": {"minimum": 0.8517957925796509, "mean_negative_fraction": 0.0}}}. Finalpressurezeroprojectionchanges 0pixels; finalmeanVRMSE 0.3737067749289304 to 0.3737067749289304, targetpressurenonnegative=True. No newforecasts/optimizer/seed/VALID/parameterfit. MainSHA `1d4d7fdf378298ee1a7435c66d9bc91d8d1ac64ebe2309ba3eb6e4d38fdd0975`; resultSHA `1b70802e7b9ee1dd818ae2193186b882150c96c4e3ee4a7603ad09e4aabe7f63`. Descriptive cached TRAIN support check. Final pressure projection is algebraic only, not a recurrent clamp or deployable candidate. No automatic training, validation or selection. Fixed2x2figureawaitsinspection. + +## E167 recurrent parameter average TRAIN result + +Fixedequal1k/2kmainparameters, unchangedcomplete1kencoder/guides/allE156runtime,7465747parameters. {"pilot": {"cases": 9, "means": {"one_k": 0.3851455902782683, "two_k": 0.37370677492893045, "average": 0.37714592519176804}, "better_endpoint_mean": 0.37370677492893045, "relative_gain": -0.00920280415973627, "wins_vs_two_k": 0, "passed": false, "reports": {"one_k": "daec73a822a184f7d8c13c6e3e7239b512fc87dbe540e944fc4491d44da74c02", "two_k": "0c79b0c15cbd82294ae4980bd1d38127006ff0a63b7cd60d31851d698a3b0e61", "average": "209d35291f0dde4ebb37e257fd3825b9365f603cdda4340d564d65e28d65855b"}}}. Allmemberships/nativeinput-targetbits/metadata/runtimehashes/ordinaryfiniteoutputs verified; freshpilot2koutputs bitexactE163free. Nooptimizer/newseed/coefficientfit/VALID. AverageSHA `32a05c9d030f04d0f2d56164bf94bde0088287c12a17327da08450cd7db0abe9`; resultSHA `546429ca0ea861c83a626fee7d48ef45bf19d619f30054935a3e352339d1f3a1`. FrozenTRAINgatefails; closewithoutconfirmationifpilotfailed, noVALID/coefficientsearch/publication. Fixedcomparisonfigureawaitsinspection. Fixed recurrent parameter average on already-trained TRAIN trajectories; no independent generalization or automatic publication. + +## E168 support figure inspected; pressure projection is inert + +Viewed positive_support_diagnostic_v1/comparison.png. NineTRAIN targets density/pressure strictlypositive(minima.8086128235/.4361985624). Cachedrawpredictiondensity isnegativeinmean4.8101279176percentofpixels,minimum-23.0960922241;finaldensitynonnegative,min.00283067. Raw/finalpressurebothnonnegative,min.8468204141/.8517957926; finalpressureprojectionchanges0pixelsandVRMSEstays.3737067749289304. Rawhereisthefloat64averageofinverse-shiftedfourneuralviews,castfloat32beforecorrections,notallindividualrecurrentstates. Anegativeaveragedvalueimpliesanegativecomponentview; lackofaveragenegativeswouldnotruleoutindividualnegatives. Nozero-pressureprojectioncandidateorVALID. Recurrenceprojectionwouldchangefutureinputsandrequiresaseparateexperiment. ResultSHA `1b70802e7b9ee1dd818ae2193186b882150c96c4e3ee4a7603ad09e4aabe7f63`; no newforecasts/optimizer/seed/parameters. DescriptivepreviouslytrainedTRAINdata,notindependentgeneralization. + +## E167 recurrent weight-average figure inspected; rejected + +Viewed recurrent_weight_average_v1/comparison.png. Pilot9TRAINmeans1k.3851455902782683,selected2k.37370677492893045,equalparameteraverage.37714592519176804. Averageworsensall9casesversus2k,0/9wins,relativegain-.00920280415973627; failsfixed.1percent/5win gate. No63confirmation,coefficient/checkpointsweep,VALIDorpublication. All27completepackageforecastsordinaryfinite, all9fresh2kforecastsbitexactcachedE163free; allnativecache/membership/metadata/tensor/sourceproofspass. AverageSHA `32a05c9d030f04d0f2d56164bf94bde0088287c12a17327da08450cd7db0abe9`; resultSHA `546429ca0ea861c83a626fee7d48ef45bf19d619f30054935a3e352339d1f3a1`; protocolSHA `68a2a1732fa9e7d2ae5bac8f5f09e22b6445fd55d15c37447c43d6bc71d88ae1`. Nooptimizer/newtrainingseed, inherited20261127/28; nofittedcoefficient. SelectedE156 unchanged,fullreward.7850724219084871; E167hasnoVALIDscores. TRAINscreen isnotindependentgeneralization. + +## E169 recurrent support screen frozen + +E168negative rawdensitymotivatesfixedzero projectionofsupplieddensity/concentration afterfinitefallback,beforephysicaloverrideandfeedback. No pressurechange,weights/guides/encoder/config/othercodechange; arbitrarychannelchunkoffsetcorrectwithoutalteringphysicalmetadata. CPUactualpredict_memberfixtures(1/4/13/23channels,tiny/odd,negative/unnamed/nonfinite,history/repeats,complete/partialphysicaloverride)mustpassbeforedata. Pilot9TRAINfull30freshcandidate+exactfreshE167parentreuse,>=.1percentmeanVRMSEgain and5/9wins;conditionalother63freshparent/candidate,samegain36wins. No bounds/blendsweep,newoptimizer/seed/VALID; positive stillrequiresfullportable/reuseproof/full585/currentbest/repeats. MainSHA `1d4d7fdf378298ee1a7435c66d9bc91d8d1ac64ebe2309ba3eb6e4d38fdd0975`; candidatepredictSHA `9a9b09f0d05be5747989264e589b61b102a92da4f51ac3f50d537c116d3a9a56`; protocolSHA `a151bf98274b3e9d3987e1faceba76b46ad309119b1187b2f272b24e0cefd4d1`. Inheritedseeds20261127/28; previouslytrainedTRAINdata,notindependentgeneralization. No automaticpublication. + +## E169 manufactured recurrence checks pass + +Actualparent/candidatepredict_member pass8CPUmanufacturedfixtures and2physicaloverridefixtures:1/4/13/23channels,odd/tinygrids,unsupportedpressure/fields,nonfinitefallback,exactrepeatandnext-historyvalues. Completephysicaloverrideexact;partial2stepprefixexactandremainingneuraldensityclampedwithoutchangingpressure.28top-levelmanufacturedfunctioncalls(countingrepeats/controls),0realtrajectoryforecasts orsynthetictraining. Allruntimeassetsotherthanpredict.py/config/weightsunchanged,sourceequalfrozenfour-edittransform. ChecksSHA `2078b19aa36a83cdf800faf2d2c58920134c0a72b10006f1a98af3cf3a4d70ae`; protocolSHA `a151bf98274b3e9d3987e1faceba76b46ad309119b1187b2f272b24e0cefd4d1`. Proceedfixed9TRAINcandidate; actualcomplete-modelportability andrealphysicalreuseproofremainconditional,notassertedbytoychecks. + +## E169 recurrent support TRAIN result + +Fixedzero density/concentration projection beforefeedback andphysicaloverride; allweights/commonencoder/guides/otherE156runtimefixed. {"pilot": {"cases": 9, "means": {"parent": 0.37370677492893045, "candidate": 0.3744375635215354}, "parent_mean": 0.37370677492893045, "relative_gain": -0.0019555133640376866, "wins_vs_parent": 3, "passed": false, "reports": {"parent": "0c79b0c15cbd82294ae4980bd1d38127006ff0a63b7cd60d31851d698a3b0e61", "candidate": "78edd12c5dd7fdbbb2872989a7e9824813f96bb39896a27f64b38abf5bbbd013"}}}. Allmembership/nativeinput-targetbits/metadata/runtimehashes/ordinaryfiniteoutputs pass; pilotparentreusedonlyfromfreshE167two_k underexactsource/hash/scoreproof. Nooptimizer/newseed/fittedbound/VALID. MainSHA `1d4d7fdf378298ee1a7435c66d9bc91d8d1ac64ebe2309ba3eb6e4d38fdd0975`; resultSHA `39d020476f134e69d5c745e94d6ef5238cf4e44d5bf36f986d4bc21f2c3ba2cd`. FixedTRAINgatefails; closewithoutadditionalbounds/smoothing/VALID. Fixedcomparisonfigureawaitsinspection. Fixed recurrent support on previously trained TRAIN trajectories; no independent generalization or automatic publication. + +## E169 recurrence-support figure inspected; rejected + +Viewed recurrent_support_v1/comparison.png. Fixedzero density/concentration support beforefeedback changescompleteTRAINmean .37370677492893045 to .3744375635215354,relativegain-.0019555133640376866,3/9wins. Frozen.1percent/5winpilotgatefails; no63confirmation,otherbounds,smoothing,VALIDorpublication. Ninefreshcandidateforecasts, ninefreshE167parentoutputsreusedonlyunderexactruntime/input/target/ordinaryHDF/hash/scorereproductionproof. Model1d4d/encoder0fc/allguides/config/physicalcodeunchanged;onlypredict.py differs(candidate9a9b09f0d05be5747989264e589b61b102a92da4f51ac3f50d537c116d3a9a56).28manufacturedCPUtop-levelfunctionchecksseparatefromrealforecasts, includingcorrectchunkoffsets andphysicalprefixoverride. Checks2078b19aa36a83cdf800faf2d2c58920134c0a72b10006f1a98af3cf3a4d70ae; resultSHA `39d020476f134e69d5c745e94d6ef5238cf4e44d5bf36f986d4bc21f2c3ba2cd`; protocola151bf98274b3e9d3987e1faceba76b46ad309119b1187b2f272b24e0cefd4d1. Nooptimizer/newtrainingseed/VALID. Positivefinalsupportdoesnotimplypositivefeedbackimprovesalreadylearnedrecurrence. E156selectedvalidationremains.7850724219084871. + +## E170 main-queue component assessment frozen + +Originalmain-onlyvalidatorsretainolderphysicalparents,whichcanmaskacommonglobalrecurrentimprovement. Beforeanynewfullreport,freezeE116/E118/E123/E124/E130/E134/E144/E148assessment: waitbothdeclared500/1000reportsrecorded,choosefailure-freelowestthermal(mean),earlierstepontie. Snapshotactualcurrentselectedruntime/report;onlyifstrictlybetterthermaljustifyonecompositionperexperiment(max8), otherwiseclose. Nooriginaltrainer/validatorchanges, newforecast, optimizer, seed ortarget-arrayreads. Apositiveassessmentrequiresseparatelyfrozenimplementation/source/tensor/dependency/mutationproof, exactchosenneuralandcurrentphysicalTRAINforwards,allmembers/allroleseverycase,unknown/chunk/CPU/reorder,thenfreshaffectedVALID/full585/81/15repeats/currentbestunderlockbeforeatomicpublish. No datasetcheckpoint routing, approximate reuse, automaticintegration or composedscoreclaim. ProtocolSHA `f9c42260da509b1d130324707f1c4a75c79ad03ee55cca29a71eecb6de56d58c`. E115/E162/E155remainseparate; existingtrainingseedspreserved. + +## Full validation of dropout_000500 + +All 585 validation trajectories, starting at frame 0; no held-out trajectories. Reward **0.781017**, failed cases 0. Neural initialization seed 20261021; sampling seed 20270118; checkpoint SHA256 `a5c093f1897e1140584dc792b5c14eb0db218f8a64e49fdeeb878941f1c4f38c`. Same model as the corresponding quick-validation experiment; changed factor: expanded validation sample only. + +| Dataset | VRMSE | +|---|---:| +| ape2d/burgers | 0.007568 | +| ape2d/decay_turb | 0.000289 | +| ape2d/diff | 0.000003 | +| ape2d/fisher | 0.000005 | +| ape2d/gs_alpha | 0.003239 | +| ape2d/gs_beta | 0.004901 | +| ape2d/gs_delta | 0.022624 | +| ape2d/gs_epsilon | 0.000889 | +| ape2d/gs_gamma | 0.062780 | +| ape2d/gs_iota | 0.006619 | +| ape2d/gs_kappa | 0.008764 | +| ape2d/gs_theta | 0.019424 | +| ape2d/kdv | 0.024675 | +| ape2d/kolm_flow | 0.011662 | +| ape2d/ks | 0.000024 | +| ape2d/sh | 0.000005 | +| pdearena/navier_stokes_2d | 0.000081 | +| well/active_matter | 0.087494 | +| well/turbulent_radiative_layer_2D | 0.447420 | + +Exact reuse protocol for a shared-neural change: all physical assets/configuration match /run-state/workspace/research/output_ensemble_v1/validation. The source per-case log audit verifies552 complete corpus/smoke physical rollouts and24 complete active rollouts; all576 outputs have unchanged dependencies. For a shared latent-state head, those dependencies include neural weights, guide assets, postprocessing and serving configuration; neural-weight changes cannot reuse these active predictions. The nine neural radiative-layer outputs were replayed with exact context/metadata equality to full inputs and freshly scored with the official scorer. Reaggregate their official per-case scores and the576 audited unchanged per-case scores using the exact aggregation code extracted from the official scorer. Report provenance includes scorer/source-report hashes and the reuse audit. All585 prediction files are retained. This avoids rereading unchanged targets without approximating the metric. + +Outcome: recorded full validation for audit and comparison; no automatic comparison against the distinct quick-validation sample. + +## E116 — locked hidden-feature dropout, update 500 +- Hypothesis / changed factor: Rollout-locked hidden-feature dropout0.1 continuation, update500/1000, sampling/noise seed20270118, independent dropout seed20270211. Same pinned E101 initial checkpoint, no-reflection sampler, optimizer and schedule as the reused E106 control. One mask per example and hidden channel in each of14 CNext MLPs, shared across space and fixed for the entire microbatch rollout. Masks and hooks exist only in training; no new parameters or inference code. Full30 rollout (corpus26/Arena10),batch2x3,AdamW LR3e-5 cosine,noise0.01,groups.05/.075/.075/.8. First width48 main trained across all19datasets; fixed width96 second member and E072/E033 auxiliary models. Both complete members execute every case, with unchanged equal output averaging, physics, translations and corrections. Training checkpointSHA256 a6f1cc2df868694455bf3ff33575b4446db53256e921d23d24b35b20e2a0003c, packaged mainSHA256 a5c093f1897e1140584dc792b5c14eb0db218f8a64e49fdeeb878941f1c4f38c. Matched E106 control full585 reward 0.7818408117655686; candidate 0.7810167296055324. All9 thermal VALID forecasts fresh and576 complete physical forecasts reused after unchanged source/config/input/coverage audit. Full585 compared to actual current selection; neural/unfamiliar exact repeat checks before a win. No pretrained or synthetic assets, held-out data or inference-time fitting. +- Seed: 20261106. +- Checkpoint SHA256: `a5c093f1897e1140584dc792b5c14eb0db218f8a64e49fdeeb878941f1c4f38c`. +- Runtime code SHA256: `087b1a80f5bdd055700c84312cca54cc5773ad4f9a4d5fb39a9d3b5f98a1c633`. +- Validation: fixed 81-case subset; reward **0.811794**, failed cases 0. + +| Dataset | VRMSE | +|---|---:| +| ape2d/burgers | 0.006413 | +| ape2d/decay_turb | 0.000381 | +| ape2d/diff | 0.000003 | +| ape2d/fisher | 0.000003 | +| ape2d/gs_alpha | 0.003095 | +| ape2d/gs_beta | 0.004740 | +| ape2d/gs_delta | 0.019250 | +| ape2d/gs_epsilon | 0.001366 | +| ape2d/gs_gamma | 0.049313 | +| ape2d/gs_iota | 0.001785 | +| ape2d/gs_kappa | 0.004855 | +| ape2d/gs_theta | 0.004678 | +| ape2d/kdv | 0.016728 | +| ape2d/kolm_flow | 0.008926 | +| ape2d/ks | 0.000033 | +| ape2d/sh | 0.000004 | +| pdearena/navier_stokes_2d | 0.000083 | +| well/active_matter | 0.040528 | +| well/turbulent_radiative_layer_2D | 0.447420 | + +Selection basis: full585 physical-operator comparison: candidate0.78101673, current0.78507242 + +Outcome: did not improve validation reward; retained current package. + +## E171 dropout error analysis protocol frozen + +FororiginalE116500/1000wait.recorded, compareexistingfull585reportswithsame-stepE106controlandpinnedE156. Verifyidenticalcase/datasetsets, nine30stepthermalmeans; recordall19means/reward/failures,thermalcases/steps/channels/windows andfixed2x2figureeach. Alsoobservedloggeddataset/horizonlists/loss/gradientnormthroughcheckpoint; logcomparisondoesnotprovecompletesamplerequality orcausalreplication. OriginalbenchmarkTrue/single-seed/interruptedrestartlimitationspreserved.0newforecast,target-arrayreads,optimizer,newseed orchangedselectionrule. ProtocolSHA `1d21fa6506f214cdf521d522c843684e68f1d3b55380c2c7880d72f703dbb04b`; E116500reportexistsatfreeze=True. Inspecteachfigurewhenready. + +## E171 dropout update500 error analysis + +Originalfull585case/datasetsets andthermalstep/case/groupaggregationsmatch. Thermalmeans {"dropout": 0.44741969296940476, "matched_control": 0.4373469574225578, "selected_E156": 0.43506067276557386}, candidatewinsversusmatchedcontrol3/9. {"logged_dataset_horizon_lists_equal": true, "arms": {"dropout": {"records": 21, "last_step": 500, "mean_logged_loss": 0.40233198778023793, "median_logged_grad_norm": 5.633608818054199}, "matched_control": {"records": 21, "last_step": 500, "mean_logged_loss": 0.2629036704699198, "median_logged_grad_norm": 5.462710857391357}}, "scope": "Only logged batches; different dropout masks/objective and original benchmarkTrue. Interrupted E116 restarted unchanged; no bitwise or causal replication claim."} MainSHA `a5c093f1897e1140584dc792b5c14eb0db218f8a64e49fdeeb878941f1c4f38c`; analysisSHA `4a8c1e0bc37655faf1a3a23d019ff8f5a0b2c65d4cf8b4f8831a87b8d0b1f9a0`. Report-only:0newforecasts/target-arrayreads/optimizer/seed. No changedselectionrule. Fixed2x2figureawaitsinspection. + +## E171 dropout500 figure inspected; E116 midpoint not selected + +Viewed locked_dropout_analysis_v1/step000500/comparison.png. Candidatefull585reward.7810167296055324,0failures;thermal.44741969296940476 versusmatchedcontrol.4373469574225578 andselectedE156.4350606727655739.3/9winsvscontrol;all4channelmeansandall3windowsworsen. Largestchannelgapsvy.5045564137vs.4822110952 andpressure.9062541120vs.8896611049;6–12window.3484875212vs.3304992841.21loggeddataset/horizonsequencesmatchexactly;loggedmeanloss.40233199vs.26290367 reflectsdropoutchangedtrainingobjective,notgeneralizationproof. MainSHA `a5c093f1897e1140584dc792b5c14eb0db218f8a64e49fdeeb878941f1c4f38c`; analysisSHA `4a8c1e0bc37655faf1a3a23d019ff8f5a0b2c65d4cf8b4f8831a87b8d0b1f9a0`. No additionalforecasts/targetreads/optimizer/seedorselectionchanges; original1000updatetrainingcontinues, finalcheckpointstillpending. OriginalbenchmarkTrue/single-seed/restartlimitationsremain; figurecomparisonisdescriptive. E171protocolwasfrozenafter500fullreportfileexisted(asrecorded),beforethisanalysisreadout; no prospective500analysisclaim. E156packageaccuracy/runtimeunchanged. + +## E172 joint recurrent-guidance continuation plan frozen + +PinE156main1d4d/commonencoder0fc/guides. Copyexisting544587parametermean/profileMLP forrecurrentguidanceonly; jointlytraincopy+headlessmain,keepoldguideforphysicalencoder/finaldecoder andallotherrolesfixed. Everyroleeverycase/translation/chunk;no datasetcheckpoint routing. Keepcopiedcovarianceprojectionfrozenexactzero. Candidateexpected8010334parameters,actualcounts/parity/gradient/resource/source/dependency/export/validatorcheckspending. One1000-updatearm afterE155onlyifpreflightpasses:seed20270310,all19TRAIN/native/B2x3/full30,LR3e-5bothroles,warm100/cosine15percent/AdamW(.9,.95)WD1e-4/clip1/noise.01/initial.25/groups.05/.075/.075/.8. Originalrawlog1pvariance-normalizedloss differentiatedthroughguidanceandrecurrence,noauxiliarylossweight. Selectdeclared500/1000withfreshaffectedVALID/full585/81/15repeats/currentbestunderlock; strictphysicalreuseproofmustkeeporiginalencoder-guidancepath. Nooptimizerqueuedyet. Extraoptimization/newseedmakearchitecturecontinuationnotisolatedcausalablation. PlanSHA `1760dec9e1aaccef976148cfa993839a9371bb81d1194fc7f5583cc507669e6a`; planprotocolSHA `f745f72ef26b74d099009049aa33224c767a748399f557d59d685308b7edfc4d`. No newVALID/weights or selectedruntimechange. + +## Recovery 2026-10-22 07:12 UTC — second operator credential pause + +Allpreviousprocessesended; no credentials inspected. Remainingresearchtime75115seconds at recovery. Selected E156 runtime/checkpointassets identical in selectedpackage/submission; full585reward.7850724219084871,corpus.010231659948693987,Arena.00008114316907195506,active.08523834565974923,thermal.4350606727655739 unchanged. E115 retains17completefresh outputs (original11 plus6 fromfirstrecovery) and552strict reusedoutputs; replayonlyremaining16active, preservingoriginal33-case coverage/scoring/checks/selection. Completeinput/output/packagehashes pinned. E116 checkpoint500 andoptimizer intactSHA a6f1cc2df868694455bf3ff33575b4446db53256e921d23d24b35b20e2a0003c; lastlogged750unsaved, interruptedlogsarchived. Restore500model/optimizer, replay1500originalmicrobatch sampler/noise/dropout draws withoutforward/backward/optimizer, check21logged dataset/horizon signatures, thenoriginal501–1000schedule. Originalsampling20270118/dropout20270211 seeds, sources,500/1000selection fixed. No bitwise CUDA training continuation claim. Restored27unfinished controllers/watchers; onlyoneoptimizer canrun. Original8TRAIN+3repeat runtimeaudit retained forunchangedimage/package. Prelaunchbroad RNG audit incorrectlyincludedconstructorrandomness, fixed toforward-method check beforeanyjob; archivedfailure/nooptimizerupdates. RecoveryprotocolSHA cdb4575459b8d7b4b4f7eaf1c3ff434a467fcddf30a6c9aac7dcc0f16321332d. No E163–169 reruns. E172 CPU implementationchecks proceedseparately; no optimizer queued yet. + +## E172 joint recurrent guidance — CPU and native backward preflight + +Planunchanged, no optimizer updates/VALID/new synthetictraining. CPUanalytic derivative792 exact; four authorizedTRAINcontexts×B1/B2 mean/profile feature/output bits exact originalguidance atnative26/10/30 horizons. Deepcopy leavesRNGunchanged andstorageindependent. Temporarynewguidebiasperturbation changesrawneuralforecast while originalencoder-guidance andfinaldecoder-statistic tensors staybitexact; weightsrestored. 35 protectedasset/state/config mutations rejected, initialexporttensorsexact, actualcompletecount8010334. Conservativegeneric dependencyguardnow includesrecurrent_guidance_weights.pt; no reuse relaxation. CPUchecksSHA `2f197f7193e31b02f7c3ca856f7a7ef703b325ca62aac79d0a465fc57c3307a2`. Actualtrainingcode native128x384,30steps,B2×3,seed20270310/noise.01/originalgroups, workers0fordrycheckonly: allthree thermal; loss.22300987939039865,combinedgrad5.162849426269531,newguidegrad.03746383637189865,peakallocated30.022948265075684GiB/reserved30.8984375GiB. Finitegradients, allbody/newguide/oldguideweightsunchanged, covariatesfrozenzero, nooptimizerstep. BackwardcheckSHA `073600d12b6e3e8e56f2b8fbc218bfac7333ed2fde2fb782840a7674ac8406aa`. Completeportable11caseCUDA equality,6reordered,3CPUparent/candidate pairs underway; pinned8TRAINnativeparentforecasts reusedonlyunderasset/input/arrayhash proof, nofuturetargets. Validator/exporter/controller/fixederroranalysis drafts implemented; finalprotocolfreezeandqueue stillpending, selectedE156unchanged. Secondrecovery E116 draw replay completed33.2724seconds withall1500microbatches/21loggedsignatures matched andweights/optimizerstep500unchanged; resumedupdate525logged. No bitwiseCUDAcontinuation claim. + +## Recovery 2026-10-23 02:45 UTC — third operator credential pause + +Alloldprocessesended;0GPUprocessesverified before restart. Remainingresearch74128secondsat recovery; no credentials inspected. SelectedE156 package/assets exact andunchanged: reward.7850724219084871, main1d4d7fdf378298ee1a7435c66d9bc91d8d1ac64ebe2309ba3eb6e4d38fdd0975. E115 retains18completefresh and552completephysical, only15remainingactive replay; exacthashes/nativeprefixes retained. E172retains7initialCUDA+3parentunknowncompleteforecasts, resumesremaining4initialCUDAthenoriginal6reordered/6CPU; frozen26forecastprotocolunchanged, partialunfinishedactive translationsarchived. E116 lastlogged650unsaved; retained500checkpoint/optimizerSHA a6f1cc2df868694455bf3ff33575b4446db53256e921d23d24b35b20e2a0003c. Replayoriginal1500stochasticmicrobatchdraws withoutforward/backward/optimizer, then501..1000. Addatomicrecovery.pt every25updates withmodel/optimizer/globalanddropoutRNG plusconsumedmicrobatchcount; operationalresilienceonly, neveradditionalVALIDselection. Originalsource/seeds/loss/schedule unchanged; transformedrecoverywrapperfrozen, no bitwiseCUDAtrainingclaim. Restored29unfinished jobs includingE172portable/finishcontroller, exactlyoneoptimizer. No duplicatecompletedbaseline/diagnostic/500VALID work. RecoveryprotocolSHA `b950c5e9493154e47e974df13d9aa24668fc044d1265965e630c5a7e946a2e51`. No modelscorechange; allperdatasetE156scores retained. + +## E173 finite physical-prefix execution — CPU checks and fixed study + +Newexecutionhypothesis: firstmaincall retainedeverycase/translation/chunk, laterneuralcalls skippedonlywhen overwrittenbyfinitephysicalstep; samehistoryandfallback. Onlypredict.py source-order change, allweights/config/solver/guide/encoder unchangedE156. 42manufacturedactualpredict_memberCPUfixtures (98topcalls) cover0..5prefixes/nosolver/firstfailure/midfailure/nonfiniteneural/1,13,23channels/tiny/downsample/sharedrecord-replay. Alloutputs/history/callcounts bitexact; maincallsperchunk min(5,max(1,6-prefix)) (PLANshorthandmissedupperclampforprefix0, ERRATArecordsprosecorrection; codefixtureunchanged). CPUchecksSHA `7344c3a737555210bd28a4765f7128fd5a788f0628dffc95001b5523f01a5e0f`. Nativeprospective8CUDA+8reverse+3CPU equality thenexactlytwofourcasecoldpairs diff/GSgamma/Kolm/Arena,reversearms/casespair2,>=10percentgainBOTH.35newcompleteforecasts; strict11cachedparentreferences; waitE172portablecompletefirst. StudyplanSHA `507c82516f3e0203a35755affbaede8bc0e966346448fb50de57b7cb9b6e2fc2`. Nofuturetargets/optimizer/newseed/VALID/automaticpublication; noaccuracyclaim. Sharedtimingsnotisolated4hproof. Positive needsseparatefullVALIDintegrationand15repeats; selectedE156unchanged. + +## E173 reporting preparation correction and recovery autosave verified + +Before any E173nativeforecast or timing, staticSyntaxWarning identified missingstringconcatenation inresult-note expression. Originalwaitingstudyterminated, sourcecorrected, oldsource/plan/logarchived inpreforecast_reporting_fix; nooptimizer/forecasts/results/gatechanges. CorrectedstudyplanSHA `4220eb5b8d148ff659fb48943e7e91a250faefabb1bef1680df580bef7917bb5`; studywaitsE172portablecompletion. E116thirdrecovery replays1500drawsin35.8021seconds, all21loggedsignatures match; recovered525 model/optimizer and1575consumedmicrobatches saved atomically inrecovery.pt withallrequiredRNGstates andfiniteparameters. Operationalcheckpoint verified, no extraVALIDselection; original500/1000only. + +## E174 alternating free/local-window continuation — concept frozen + +E163truepastresetbenefits andE164usefullocalincrements motivate prospective mixedtraining; E165local/fullgradients descriptiveoneexecution, E166backwardrepeatabilitylimits retained. PinactualE156body/encoder/guides, no newservingarchitecture/weightslots. Oddoptimizerupdates originalfullautoregression; evenupdates replaceonlyk>0historybyfour precedingtrueTRAINframes, same30loss terms/originalrawlog1p normalizedMSE. k0sameinitialnoise; fixedguidecomputedONCEoriginalnoisycontext, originalhorizonindices. No extraRNGdraws/weight/gradientscale/inferenceresets. 1000updates/500eachmode, seed20270311, sameB2x3/native/all19groups/LR3e-5/noise.01/AdamW/clip/cos; only500/1000VALID. Additionaloptimization/newseed confoundcausalattribution; no newmatchedcontrol. Operationalrecoverycheckpoints25updates notVALIDeligible. RequiredCPUhistory/guide/disabledidentity andtwozero-update nativeB2full30backward gates, portableexport/reuseproof/validator freeze beforequeueafterE172. Fresh9+strict576/full585/81/15repeats/currentbestatomicpublish onlyonwin. PlanprotocolSHA `ee67f4edb87d050b8759d3206c1f61ea5f98ab36d61e11e0d7a86e5364495de9`. Implementation/preflightpending, no newoptimizer/forecasts/VALID. Allroles everycase; originalmain1d4d7fdf378298ee1a7435c66d9bc91d8d1ac64ebe2309ba3eb6e4d38fdd0975; selectedunchanged. + +## E172 portable prefix parser correction before remaining checks + +All eleven initial CUDA outputs matched the pinned parent bit-for-bit. The prefix assertion then failed at Arena because string-set parsing counted leading-space zero and zero as different shifts; actual single unique shift has complete10/10 physical coverage. Original source/protocol and failure retained. Supplemental correction parses integers, with four manufactured parser checks, retains14 hashed completed forecasts, and runs only remaining6reordered+6CPU forecasts. No model/input/output/cohort/numerical-gate change. Correction protocol SHA `bb0f91b3d768c6943cec40577a3d2105fe4b3ef87c81053a2369c6bf84ad081f`. VALID remains pending; selected E156 unchanged. + +## E174 mixed-window objective preflight complete and queued + +Frozen one1000-update continuation from selected E156 main, seed20270311; only main3066627 parameters train, complete7465747. Odd updates use free recurrence; even updates true preceding TRAIN windows; guidance once from original noisy four frames. Exactly500updates each. All10115TRAIN/all19datasets, originalgroupweights/native thermal/B2x3/full30/noise.01/LR3e-5/AdamW/globalclip1. Extraoptimization/newseed confound causal attribution. CPU70future-causality checks/disabled-mode bitidentity/guide timing passed; actualnative backwards use same original sampled two128x384thermal plus one128x128active microbatch (PLAN wording clarified in ERRATA), allB2/full30, nooptimizer. Free loss.2839115560/grad6.0639286041/allocated30.02039GiB/reserved30.90039; local loss.0756732095/grad.1038939357/allocated28.96799/reserved29.99609. Fixedguides/allweights unchanged; exact0/87resets. No CUDA-gradient reproducibility claim. Initialruntime assets byte-identical toE156, actualCPU neural/encoder paths and manufactured physical replacement checked, all33mutations rejected, genericreuse guard remainsconservative. Serving model remains autoregressive. ProtocolSHA `0f967cdbc1eee4da33c047b7b2796071ca0e47db3180298091f4451107641a86`; preflightSHA `54ceb9b581dff024b4700c6a2ccbb81270ac4e38beffd9d265de7edd709fbe52`; initialSHA `b48850048cedf4c7c76ea64f5ebe0556790ab5ac2d7ddbde1f43178aafd77107`. Originalimport-only freeze failed because queue.py shadowed stdlib queue; controller renamed supervise.py before freeze, archived, no model calculations in failure. Threecontrollers now wait E172 optimization; no second optimizer. Operationalautosave every25 never VALID-selected; only500/1000 checkpoints, fresh9thermal+strict576/full585/81/15exactrepeats before actualcurrent-best atomic publication. VALIDVRMSE pending; selectedE156 unchanged. + +## E175 hidden-harmonic physical sensitivity protocol frozen + +Hypothesis: unobserved F8 may provide an additional useful shared state coordinate beyond existing F6. Six fixed E143 TRAIN cases5/-4,7/-5,9/-3,13/-4,15/-4,17/-5 trajectory2; original four-step physical kernel/loss, selected fixed1kencoder/E072 guidance. One original fresh4stepreference and one full-initial-state-leaf adjoint percase; exact within-case forward/lossbits, finitegradients, unchangedstates, allocated/reserved each<16GiB. No historical gradient-repeatability claim. Fixed coefficient tangents .01*c*alignment^m and localphase exp(i*m*arg(F2)); report F6/F8/F10/F12 norms and16x16 Fourier projected energy, with F10/F12 descriptiveonly. F8 positive only if median projectednorm/F6>=.25 and >=.1 in5/6; no alternate harmonic selection/scale sweep/automatictraining. Exact originalsource recovery/complexadjoint/rotation/zeroalignment/projection CPUchecks pass; all175TRAIN memberships andsixcachehashes audited. Wait E173 fixedtiming completion. No optimizer,newseed,fitting,VALID/inferencechange; local sensitivity is not admissible finite-state or learning/accuracy proof. ProtocolSHA `5f4af0ab4184220341587e9453ebf70a7dee3a18fa5965a35c5390cb1902caad`; CPUchecksSHA `a09bf235d41c9809e23c77238dd814380ed838db8f3ace787e8d53034a940675`. No validationVRMSE; selectedE156 unchanged. + +## E172 complete preflight and queued joint-guidance continuation + +Initialcomplete11CUDAforecasts matchpinnedE156 exactly (8nativeTRAIN26/10/30 and3unfamiliar,including13/23channelsandtiny/oddgrids); sixindependent reorderedCUDArepeats andthreeCPUparent/candidatepairs bitexact. Allsixnativephysicalcases completeeverytranslation. 26newcompleteforecasts+8strictcachedparent; nofuturetargets/optimizerupdates. CPUanalytic/path/mutation/export checks andnativeB2x3/full30backward passed, finite nonzero guidegradient andunchangedweights, peakallocated30.02295/reserved30.89844GiB. Total8010334parameters,3518286trainable, covariatesfrozenzero. All10115TRAIN memberships audited. Completeexporter/validator/analysis/source/initialcheckpoint and576physicalreferencehashes frozenbeforequeue. ProtocolSHA `da94b1bea5d063f1a653f8394ac562834e7f13e30c9bbb91f8ed25ebab28058b`, preflightSHA `58e91215a155d9b927482045b49fb95e8e441baf0bfd8d743c59e434c72b1e9d`. One1000updatecontinuation queuesafterE155 withseed20270310/originalfull30B2x3/noise.01/rawlog1p normalizedMSE/LR3e-5bothroles. Mainanddedicatedguide trainjointly;originalguidefixedforphysicalencoder/finaldecoder,everyroleeverycase. Additionaloptimization/newseed confoundcausalattribution. Only500/1000VALID;fresh9+strict576/full585/81,15exactservingchecks beforeactual-current-best atomicselection. ValidationVRMSEpending; selectedpackageunchanged. + +## E173 finite physical-prefix native numerical/timing result + +Originalweights/config/guides/encoder/physicaloperators unchanged; firstmaincall everycase/translation/chunk retained. Later overwrittenneuralcalls omittedonlyforfinitephysicalsteps; originalfallbackhistory retained. 42manufacturedCPUfixtures pass;8completeTRAIN/unfamiliarCUDA outputs,8reorderedrepeats,3CPUcases and16timingforecasts allbitexactparent. Exactlytwocoldmixedfourcase pairs reversearms/cases; relativereductions[0.10013056348974947, 0.11435173754244887], fixed10percentBOTHgate passed=True. Main1d4d7fdf378298ee1a7435c66d9bc91d8d1ac64ebe2309ba3eb6e4d38fdd0975; resultSHA `104855a02561dcbd8bc67fab13e27dd56b8909d4a75786c50900793a5fd82243`. One separatelyfrozen fullVALID integration justified; notyetimplemented/published. Nooptimizer/newseed/targets/heldout; sharedtimingnotisolated/fourhourproof. Figureawaitsinspection. + +## Operational recovery saves for the waiting training queue + +After three operator pauses, add atomic recovery.pt every25 completed updates to the nine waiting studies E118/E123/E124/E130/E134/E144/E148/E155/E172. Original scientific sources, launchers, protocols, arguments, optimizer schedules and selected500/1000(orE1551k/2k) checkpoints remain unchanged. Separate runtime driver inserts only a post-step snapshot; exact source removal recovers each original trainer. Saves model/optimizer/globalCPU+allCUDA/Python/NumPy RNG, consumedmicrobatches, independentphysical RNG where present and E172 dedicatedguide. Actual executedsource and operationalmetadata archived in each run; originalsource archive remains labelledoriginal. Two manufacturedCPU80-update AdamW arms gave everyloss/finalmodel/guide/globalandphysicalRNG bitexact, captures25/50/75checked. No baseline/researchmodel training or CUDA trajectory-repeatability claim. Original nine WAITING launcher processes replaced after verifying no training_started markers; activeE116 and allvalidators/analyzers untouched. New supervisor session82981, operational_autosave_v1/jobs.json authoritative. ProtocolSHA `11d861eb49390290c09ce31d8bbc6032db7c1619eb35ea5c6b4336ef24f32073`; checksSHA `b35592ae9c181a5bb16ed44d3900dba14d214b81fc2f3ca53909b53057a3670e`. Recovery artifacts never VALIDeligible. Future resume must rebuild/skip original DataLoader draws then restore saved states; automaticresume notimplemented. E174 already has equivalent saves. + +## E173 timing figure inspected; separate full-validation integration justified + +Viewed comparison.png: original48.409258s versuscandidate43.562012s, andcandidate42.911193s versusoriginal48.451733s. Relativegains10.013056% and11.435174%; first exceeds the fixed10% threshold by only0.013056percentagepoints. All35newforecasts exactoutputbits, fixedreverse-order repetitions/CPUchecks pass. Shared-H100 timings are not an isolated or four-hour verifier guarantee; no extra timing pair/thresholdchange. ResultSHA `104855a02561dcbd8bc67fab13e27dd56b8909d4a75786c50900793a5fd82243`. Prepare one separatelyfrozen E176 fullVALID integration with fresh552corpus/Arena and strict33unchanged Well cases, official585/81,15exactrepeats and actualparent eligibility. No modelweights/seed/optimizer/accuracy claim or currentpublication yet. + +## E176 finite physical-prefix full validation protocol frozen + +Following fixed E173 positive timing/bit-parity gate, pin exactcandidate andselectedE156parent. No weights/parameters/seed/optimizer change. Exact serving-source transform and29 protectedasset/extra/missing-file mutations pass; all585reference input/prediction hashes pinned,33Well metadata showboth solvereligibilitypredicatesfalse. For these33 the no-solver loop and all other commonencoder/kinetic/correction code are unchanged; use strictcachedoutputs. Replayall552corpus/ArenaVALID, requireeveryfloat32bit equalparent and everydistincttranslation completephysicalprefix. Officialfresh552scores+strict33/full585/81, allprimarycase/dataset/groupmetrics exact,15deterministicphysical/neural/fine/unknown repeats. Publishonlyunderledgerlockifactualselectedruntime still equalsparent andsamefullscore; noaccuracyregression forspeed. Noadditionaltimingpairs/tolerancerelaxation; firstE173gainonly10.013056%. ProtocolSHA `b629156f09863a3f1215875df0124880608f809ab790830cb0751b134fa53d16`; checksSHA `e5bd21328d2a12f33e90bb75a12c19868bffd49c54607ad4fe563c1ebcd7ff24`. Main1d4d7fdf378298ee1a7435c66d9bc91d8d1ac64ebe2309ba3eb6e4d38fdd0975; VALIDpending, currentpackageunchanged. + +## E175 hidden-harmonic TRAIN adjoint result + +Six fixed authorized TRAIN cases, original physical4-step loss/kernel, selected fixed1kencoder/E072 guide. Twelve fresh4-step forecasts; every within-case original/state-leaf forward and loss bitexact, states unchanged and finite gradients. F8 projected/F6 median0.6663922016577337; >=.1 in6/6; fixedgatepromising=True. F10/F12 descriptive only; no alternate harmonic search, optimizer, newseed, fitting, VALID or deployment. ResultSHA `593556d47333975121f9852a1704d7c9c2aa26ab0390280a1332e60f6deb843c`; encoderSHA `0fc425a0cf92a0d25cc8beae5b2cb291cef63f56f6c17c7f9ebd84342e06848d`. Local4-step center-state coefficient sensitivities only, not finite-state admissibility, learnability, full-network gradients or30-step accuracy. No historical gradient-repeatability claim. A separately frozen shared architecture study may be considered; no automatictraining. Figure awaits visual inspection. + +## E175 hidden-harmonic figure inspected; F8 sensitivity supports a separate shared-head trial + +Allsix fixedTRAIN cases passed freshoriginal/state-leaf4step forward/lossbitparity, finitegradients and unchangedstates; peakallocated7.18666/reserved7.88477GiB. F8 projectedgradient/F6 ratios .370943,.569558,.649132,.683652,.687025,.695465, median.6663922017,6/6above.1. F8 16x16 capture .737502–.847061; localimaginaryenergy .843349–.955619. Viewed comparison.png: F8 stays materially sensitive in this local4stepobjective; F10/F12 decrease and remain descriptive, no alternateharmonic selection. ResultSHA `593556d47333975121f9852a1704d7c9c2aa26ab0390280a1332e60f6deb843c`. No fit, optimizer, VALID, finite-state/learnability/30stepaccuracy claim, or CUDAhistoricalgradientreproducibility claim. A separatelyfrozen all19 sharedencoder extension will be specified before any new model training; selectedE156 unchanged. + +## E177 additional shared F8 head — concept protocol frozen + +Following E175 positive local sensitivity, specify one new2-channel1x1/16x16 shared encoder head,98zero parameters. Startselected1kencoder with originalF6 unchanged; add .01*c*alignment^4*exp(4iargF2)*complex(tanh newhead) toF8 using shared training/sequential/stream helper. KeepF6 two-channel Fourier resampling separately for exactzero parity. Everyhead/commonrole executes everycase; servingfixedE1562kmain/guides, complete7465845parameters. One1000-update all19 joint continuation seed20270314/physical20270315, originalfull30B2x3/noise.01/groups/rawmainloss/physical4every8/LR3e-5/head10/globalclip1, afterE174 and allown gates. Newseed/extraoptimization/architecture confound causalattribution; no newmatchedcontrol, no E155rotation/E115longloss combination. Only500/1000selected; fresh24active+strict561/full585/81/15repeats/actualcurrentbest. CPU/nativegrad/portable/export/mutation/source gates required beforequeue; operational25save required. PlanprotocolSHA `8c86a2b635dc944e7b8123045113b49b0d678e90a50eb96393168e696c055b51`. Implementationpending, nooptimizer/VALID/currentpublication; E175 sensitivity is not forecast or learnability proof. + +## Full validation of dropout_001000 + +All 585 validation trajectories, starting at frame 0; no held-out trajectories. Reward **0.781067**, failed cases 0. Neural initialization seed 20261021; sampling seed 20270118; checkpoint SHA256 `dc1f2ed59fd900b70015af23085b00b4bb2474f9256360b634cde57c4cf52cbd`. Same model as the corresponding quick-validation experiment; changed factor: expanded validation sample only. + +| Dataset | VRMSE | +|---|---:| +| ape2d/burgers | 0.007568 | +| ape2d/decay_turb | 0.000289 | +| ape2d/diff | 0.000003 | +| ape2d/fisher | 0.000005 | +| ape2d/gs_alpha | 0.003239 | +| ape2d/gs_beta | 0.004901 | +| ape2d/gs_delta | 0.022624 | +| ape2d/gs_epsilon | 0.000889 | +| ape2d/gs_gamma | 0.062780 | +| ape2d/gs_iota | 0.006619 | +| ape2d/gs_kappa | 0.008764 | +| ape2d/gs_theta | 0.019424 | +| ape2d/kdv | 0.024675 | +| ape2d/kolm_flow | 0.011662 | +| ape2d/ks | 0.000024 | +| ape2d/sh | 0.000005 | +| pdearena/navier_stokes_2d | 0.000081 | +| well/active_matter | 0.087494 | +| well/turbulent_radiative_layer_2D | 0.446803 | + +Exact reuse protocol for a shared-neural change: all physical assets/configuration match /run-state/workspace/research/output_ensemble_v1/validation. The source per-case log audit verifies552 complete corpus/smoke physical rollouts and24 complete active rollouts; all576 outputs have unchanged dependencies. For a shared latent-state head, those dependencies include neural weights, guide assets, postprocessing and serving configuration; neural-weight changes cannot reuse these active predictions. The nine neural radiative-layer outputs were replayed with exact context/metadata equality to full inputs and freshly scored with the official scorer. Reaggregate their official per-case scores and the576 audited unchanged per-case scores using the exact aggregation code extracted from the official scorer. Report provenance includes scorer/source-report hashes and the reuse audit. All585 prediction files are retained. This avoids rereading unchanged targets without approximating the metric. + +Outcome: recorded full validation for audit and comparison; no automatic comparison against the distinct quick-validation sample. + +## E116 — locked hidden-feature dropout, update 1000 +- Hypothesis / changed factor: Rollout-locked hidden-feature dropout0.1 continuation, update1000/1000, sampling/noise seed20270118, independent dropout seed20270211. Same pinned E101 initial checkpoint, no-reflection sampler, optimizer and schedule as the reused E106 control. One mask per example and hidden channel in each of14 CNext MLPs, shared across space and fixed for the entire microbatch rollout. Masks and hooks exist only in training; no new parameters or inference code. Full30 rollout (corpus26/Arena10),batch2x3,AdamW LR3e-5 cosine,noise0.01,groups.05/.075/.075/.8. First width48 main trained across all19datasets; fixed width96 second member and E072/E033 auxiliary models. Both complete members execute every case, with unchanged equal output averaging, physics, translations and corrections. Training checkpointSHA256 c8800ed89d01ec82d558b17b8e1a04a0dda461513eefc742ba178f049955ef93, packaged mainSHA256 dc1f2ed59fd900b70015af23085b00b4bb2474f9256360b634cde57c4cf52cbd. Matched E106 control full585 reward 0.7819993323925672; candidate 0.7810666698887865. All9 thermal VALID forecasts fresh and576 complete physical forecasts reused after unchanged source/config/input/coverage audit. Full585 compared to actual current selection; neural/unfamiliar exact repeat checks before a win. No pretrained or synthetic assets, held-out data or inference-time fitting. +- Seed: 20261106. +- Checkpoint SHA256: `dc1f2ed59fd900b70015af23085b00b4bb2474f9256360b634cde57c4cf52cbd`. +- Runtime code SHA256: `087b1a80f5bdd055700c84312cca54cc5773ad4f9a4d5fb39a9d3b5f98a1c633`. +- Validation: fixed 81-case subset; reward **0.811844**, failed cases 0. + +| Dataset | VRMSE | +|---|---:| +| ape2d/burgers | 0.006413 | +| ape2d/decay_turb | 0.000381 | +| ape2d/diff | 0.000003 | +| ape2d/fisher | 0.000003 | +| ape2d/gs_alpha | 0.003095 | +| ape2d/gs_beta | 0.004740 | +| ape2d/gs_delta | 0.019250 | +| ape2d/gs_epsilon | 0.001366 | +| ape2d/gs_gamma | 0.049313 | +| ape2d/gs_iota | 0.001785 | +| ape2d/gs_kappa | 0.004855 | +| ape2d/gs_theta | 0.004678 | +| ape2d/kdv | 0.016728 | +| ape2d/kolm_flow | 0.008926 | +| ape2d/ks | 0.000033 | +| ape2d/sh | 0.000004 | +| pdearena/navier_stokes_2d | 0.000083 | +| well/active_matter | 0.040528 | +| well/turbulent_radiative_layer_2D | 0.446803 | + +Selection basis: full585 physical-operator comparison: candidate0.78106667, current0.78507242 + +Outcome: did not improve validation reward; retained current package. + +## E170 E116 recurrent-role assessment + +Bothdeclared500/1000full585reportsrecorded. Choosefailure-free lowestthermalVALID,earlierstepontie: 1000,thermal0.44680272385425757 versusactualselected0.4350606727655739. Integrationjustified=False. Originalfullpackages/reportsandall19means/checkpointhashes retainedindecisionSHA `da825ee48cd925a7ea9c30c1af77e8c18a000ae3d7794b33a9fb51463c510b46`. Closeassessmentwithoutnewforecasts ormodelchanges. Nooptimizer/newseed/target-arrayreads; no checkpoint routing bydataset. Sourcecompatibility/completeall-caseexecution/exactforward/reuseproof/full585/currentbest/15repeatsremainmandatory. Existing VALID selection only. No composed score, model or runtime compatibility has yet been demonstrated. + +## E171 dropout update1000 error analysis + +Originalfull585case/datasetsets andthermalstep/case/groupaggregationsmatch. Thermalmeans {"dropout": 0.44680272385425746, "matched_control": 0.4354355289580768, "selected_E156": 0.43506067276557386}, candidatewinsversusmatchedcontrol2/9. {"logged_dataset_horizon_lists_equal": true, "arms": {"dropout": {"records": 41, "last_step": 1000, "mean_logged_loss": 0.3777109449956475, "median_logged_grad_norm": 4.625056743621826}, "matched_control": {"records": 41, "last_step": 1000, "mean_logged_loss": 0.2538111650846838, "median_logged_grad_norm": 5.084646701812744}}, "scope": "Only logged batches; different dropout masks/objective and original benchmarkTrue. E116 first pause restarted initial weights; second pause resumed saved500 model/optimizer with original sampler/noise/dropout draw replay. No bitwise or causal replication claim."} MainSHA `dc1f2ed59fd900b70015af23085b00b4bb2474f9256360b634cde57c4cf52cbd`; analysisSHA `6814a1c1a4b921045856a833c2f04fb3aa8006ef5e50070379923d0621df9d01`. Report-only:0newforecasts/target-arrayreads/optimizer/seed. No changedselectionrule. Fixed2x2figureawaitsinspection. + +## E171 final dropout analysis viewed; E116 closed negative; live operational snapshots verified + +E116 update1000 full585 reward0.7810666698887865, zero failures; thermal VRMSE0.44680272385425757 versus matched E106 control0.4354355289580768 and selected E1560.4350606727655739. Corpus0.010841903128625624, Arena0.00008114316907195506, active0.08749407149757693. FinalmainSHA256 dc1f2ed59fd900b70015af23085b00b4bb2474f9256360b634cde57c4cf52cbd; fullreportSHA256408514a6a40c0a727a85c7b0df7f0903f2b81cc701b0abf14a679b154dceb820. Fixed E171 channel/horizon/case figure inspected:2/9wins versus control, all4channel/all3windowmeans worse. E170 chooses1k but rejects component integration; both declared checkpoints finished, no new dropout sweep. E118 memory run started automatically after E116. Its first operational snapshot at25updates/75microbatches has192 optimizer states allstep25, finite3178467parameter model, correct global CPU/CUDA/Python/NumPy RNG, original config and original/executed source hashes. SnapshotSHA256 fe6212de0f567dee339cc95a51238966a872713bbebb204a18731ab3add431d1; operational recovery only, never additional VALID selection. + +## E178 fixed short/full F8 gradient diagnostic preparation + +E175 measured4-step sensitivity, while E177 addsF8 using the original4-step physicalobjective. Freeze exactlytwo priorTRAINcases9/-3 and17/-5,trajectory2, originalcontext/noise0/shift0, E177initialencoder75058736d6c1de9162ea22450c212cc6c9bbd95fafe75c048d02b95597468ff1 andfixedE072guide/horizon1. NewF8zero,CartesianF6unchanged,32moments/256grid/iterations6/noquadrature. Compare4/30step coefficientgradients, eachonefreshno-gradreferenceplusgradientforward:8forecasts/4backwards/0updates. All175TRAINmemberships andselected2base/30targethashes checked; targetfirst4prefixmustmatch at runtime. Requirefreshforward/lossbitidentity,finite nonzeroF6/F8gradients, unchangedweights/coefficients, ownallocated/reserved<40GiB. Reportcosines/norms/dotsdescriptively; positive dotmeansonlyinfinitesimalshortdescenthelpslonglocally. No threshold/cohort/seed/harmonicsearch,VALID,optimizer orautomaticE177change. BenchmarkFalse/deterministicTrueencoder; nohistoricalgradientnormgate. WaitE177preflight.complete beforeGPU. ProtocolSHA256 13355d075afc60de267f9c254e91ee575a4ab0ed5cd42614ca4b1d76cf0d18be. No pretrained/synthetic/heldout/inferencefit. Resultsandfixedfigurepending. + +## E177 common F8 encoder queued after complete preflight + +Positive E175 motivated one98parameter sharedF8head and one1000update continuation from fixedselected1kencoder, withfixedE156main/guides. Bothheads everycase. F6Cartesianunchanged; F8quartic-alignment/localspin8increment, notgeneralrealizabilityprojection. CPUsource/algebra/RNG/oldoutput/mutationchecks, actualnativeB2x3+physical4backward/nonzeroF8gradient, actualzero/nonzerophysical4checks and20portableforecasts with14strictparentreferences allpass. Nooptimizerduringpreflight. Mainseed20270314/physical20270315, originalall19/native/full30/groups/noise.01/LR3e-5/head10/physical4every8; extraoptimization/newseed/architectureconfounded. Soleoptimizer afterE174;500/1konlyVALID,fresh24active+strict561/full585/81/15bitexactrepeats/currentbestatomic. Operational25updatesnapshots only. Manifestexport explicitly separates fixedmain/oldencoder/newhead lineage. InitialSHA25675058736d6c1de9162ea22450c212cc6c9bbd95fafe75c048d02b95597468ff1; protocolSHA25611932f30aa21c00d02bee9e048cbf500711290c78b0fbfce9e2bd7ce4e391fc4; preflightSHA2566ebc75688baac3d220076cac951bf3d67b315dce8157d1c345cac76654c603c5. VALID pending; pretrained_assets empty. + +## E179 queued main-model report analysis frozen + +Fixed report-only analysis of E118/E123/E124/E130/E134/E144/E148 declared500/1000 results, after original full585 recording. Same-step E106 controls except E134 uses fixed E131 starting package; E156 is a selected reference. Pinned reference case/channel/step aggregation checks pass. Fixed four-panel figures, all19 dataset means, paired nine-case thermal/channel/window errors, logged-batch context, original seeds and package weight hashes will be retained. No target-array reads, new forecasts, optimizer, seed or changed selection rule. Original E170 assessment unchanged. ProtocolSHA `22ae196b9447d14a063a5d7f7941c969f22f7acbc57c5687be395362d3b26eeb`. Each figure requires inspection. + +## E178 closed incomplete after second-case memory failure + +Original eight-forward/four-backward plan could not finish: seven complete physical forecasts, three completed coefficient backwards, and one incomplete gradient forward. zeta9/alpha-3/traj2 F8 short/long cosine0.1710580073174945, norm ratio462.72441736144015, locally positive dot; first-case checks pass. zeta17/alpha-5/traj2 four-step loss0.014424803666770458 and backward pass; 30-step gradient forward hit CUDA OOM at40.11GiB allocated,44.39GiB process, exceeding original own<40GiB gate. No second-case long gradient, no two-case conclusion, and final all-weight equality check was not reached. Sources, traceback, partial gradients and logs retained; no retry or changed gate. E177 training protocol/queue unchanged. Zero optimizer updates, new seeds or VALID. Failure resultSHA `52ad6798cad163ea5a8b89c62405c1b4be82cfab6bf1d45b0a0c571253ec2081`. CPU-only partial/failure figure awaits inspection. + +## E178 partial failure figure inspected; diagnostic closed + +Viewed the incomplete-study figure. The first fixed TRAIN case has weak positive short/full coefficient-gradient alignment for both F6 and F8; both long/short norm ratios are about460. The second case is explicitly marked unavailable after the30-step gradient-forward OOM. Expanded the norm-ratio log axis to1–1000 for honest visual comparison; original figure and reporting-only renderer hashes retained. No rerun, new gradient, changed memory gate, two-case conclusion or E177 protocol change. Full failure evidence remains in failure_results.json; original study is closed incomplete. + +## Full validation of memory_000500 + +All 585 validation trajectories, starting at frame 0; no held-out trajectories. Reward **0.781843**, failed cases 0. Neural initialization seed 20261021; sampling seed 20270118; checkpoint SHA256 `6a06d5deac662047af932cf44f74f9f4ba0b67d7ac36efb2cd2343ce73047706`. Same model as the corresponding quick-validation experiment; changed factor: expanded validation sample only. + +| Dataset | VRMSE | +|---|---:| +| ape2d/burgers | 0.007568 | +| ape2d/decay_turb | 0.000289 | +| ape2d/diff | 0.000003 | +| ape2d/fisher | 0.000005 | +| ape2d/gs_alpha | 0.003239 | +| ape2d/gs_beta | 0.004901 | +| ape2d/gs_delta | 0.022624 | +| ape2d/gs_epsilon | 0.000889 | +| ape2d/gs_gamma | 0.062780 | +| ape2d/gs_iota | 0.006619 | +| ape2d/gs_kappa | 0.008764 | +| ape2d/gs_theta | 0.019424 | +| ape2d/kdv | 0.024675 | +| ape2d/kolm_flow | 0.011662 | +| ape2d/ks | 0.000024 | +| ape2d/sh | 0.000005 | +| pdearena/navier_stokes_2d | 0.000081 | +| well/active_matter | 0.087494 | +| well/turbulent_radiative_layer_2D | 0.437326 | + +Exact reuse protocol for a shared-neural change: all physical assets/configuration match /run-state/workspace/research/output_ensemble_v1/validation. The source per-case log audit verifies552 complete corpus/smoke physical rollouts and24 complete active rollouts; all576 outputs have unchanged dependencies. For a shared latent-state head, those dependencies include neural weights, guide assets, postprocessing and serving configuration; neural-weight changes cannot reuse these active predictions. The nine neural radiative-layer outputs were replayed with exact context/metadata equality to full inputs and freshly scored with the official scorer. Reaggregate their official per-case scores and the576 audited unchanged per-case scores using the exact aggregation code extracted from the official scorer. Report provenance includes scorer/source-report hashes and the reuse audit. All585 prediction files are retained. This avoids rereading unchanged targets without approximating the metric. + +Outcome: recorded full validation for audit and comparison; no automatic comparison against the distinct quick-validation sample. + +## E118 — shared coarse temporal memory, update 500 +- Hypothesis / changed factor: Persistent96-wide coarse-grid GRU memory in first shared member, update500/1000;111840 new parameters, initializationseed20270212. LayerNorm/inputprojection/SiLU/GRU/initiallyzerooutputprojection at each coarsest feature location. Memory is a local forecast state reset per case/translation/channel chunk and training microbatch, carried without detaching through all rollout steps. Pinned E101 parent, fixed width96 second member and E072/E033 guides. Both complete members execute every case with fixed parameters. Matched E106 no-reflection control: same seed20270118,sampler,noise.01,full30batch2x3,AdamW3e-5 and schedule; no redundant control training. Constructor CPU/CUDA RNG preserved; exact zero-output completeTRAIN/unknown parity and repeats plus full30 backward preflight precede training. Training checkpointSHA256 1e0a61389828e3196b28fa4b726df2b88f895567c38afe9bcdac45a55a9a1e29, packaged mainSHA256 6a06d5deac662047af932cf44f74f9f4ba0b67d7ac36efb2cd2343ce73047706. Full585 matched control reward 0.7818408117655686, candidate 0.7818425461046286. Fresh all9thermal VALID;576completephysical outputs reused only after restricted runtime/source/config/input/coverage proof. Full585 against actual current selection; neural/unfamiliar exact repeats before any win. No pretrained/synthetic assets, held-out access or parameter fitting during inference. +- Seed: 20261106. +- Checkpoint SHA256: `6a06d5deac662047af932cf44f74f9f4ba0b67d7ac36efb2cd2343ce73047706`. +- Runtime code SHA256: `adcd6829956da516c253a2abe802777ae03fddbdef0be15694560944d5e78847`. +- Validation: fixed 81-case subset; reward **0.812620**, failed cases 0. + +| Dataset | VRMSE | +|---|---:| +| ape2d/burgers | 0.006413 | +| ape2d/decay_turb | 0.000381 | +| ape2d/diff | 0.000003 | +| ape2d/fisher | 0.000003 | +| ape2d/gs_alpha | 0.003095 | +| ape2d/gs_beta | 0.004740 | +| ape2d/gs_delta | 0.019250 | +| ape2d/gs_epsilon | 0.001366 | +| ape2d/gs_gamma | 0.049313 | +| ape2d/gs_iota | 0.001785 | +| ape2d/gs_kappa | 0.004855 | +| ape2d/gs_theta | 0.004678 | +| ape2d/kdv | 0.016728 | +| ape2d/kolm_flow | 0.008926 | +| ape2d/ks | 0.000033 | +| ape2d/sh | 0.000004 | +| pdearena/navier_stokes_2d | 0.000083 | +| well/active_matter | 0.040528 | +| well/turbulent_radiative_layer_2D | 0.437326 | + +Selection basis: full585 physical-operator comparison: candidate0.78184255, current0.78507242 + +Outcome: did not improve validation reward; retained current package. + +## E179 E118 update500 error analysis + +Existing full585 case and dataset sets match; thermal case/channel/step aggregations agree. Means {"candidate": 0.43732599957662266, "comparison": 0.43734695742255775, "selected_E156": 0.4350606727655739}; wins versus E106 matched control 500 4/9. Single-seed continuation; original benchmarkTrue backend. Logged batches do not prove identical full sampling or CUDA trajectories. Sampling seed 20270118; package weight hashes {"coarse_weights.pt": "ad9a9996912c63eaaed7aa01423bc8598c9a8c966915b277ab64ce1774027dd3", "ensemble_weights.pt": "0c9c49ae6a7da1fbae8d3f21d94b26311467ba1fd991b59877c872973f1a6c23", "mean_weights.pt": "3b423a0afbb46bafc914d62daaf8611a1b30ae424b8c517d846cbb93d4d6578c", "weights.pt": "6a06d5deac662047af932cf44f74f9f4ba0b67d7ac36efb2cd2343ce73047706"}. All19 dataset VRMSE values, logs and comparisons in resultSHA `804d8f18058a2c7b01c7b91d6e1079106cd04361a18e30ee4ab40b0df7329873`. Zero new forecasts, target-array reads, optimizer updates or seeds. Original selection unchanged. Figure awaits inspection. + +## E179 E118 midpoint figure inspected; no selection change + +E118 update500 thermal0.43732599957662266 versus matched E106 control0.43734695742255775 and selected E1560.4350606727655739. Four of nine paired cases improve. Both velocity channels and steps1–5/6–12 slightly improve against the control, while density, pressure and steps13–30 worsen. The tiny aggregate difference does not establish a useful memory gain. Full585 reward0.7818425461046286, zero failures; main checkpointSHA6a06d5deac662047af932cf44f74f9f4ba0b67d7ac36efb2cd2343ce73047706. Logged21 dataset/horizon signatures match; this does not prove CUDA trajectory replication. Figure inspected; original1000-update run and E170 final component assessment continue unchanged. + +## Operational recovery readiness: live E118 snapshot audited on CPU + +Added a read-only nine-study recovery artifact auditor and a recovery-order guide without modifying any frozen trainer, launcher or scientific protocol. Live E118 update600 snapshot contains finite3178467 model values,192 Adam states all at600, original scheduled learning rate,1800 consumed microbatches and CPU/CUDA/Python/NumPy RNG states. Configuration and original/executed source hashes match; no CUDA initialization, training or extra VALID selection. SnapshotSHA `db47f47c82e41ca0878269601ff46186835ae9d00282b36229612ccad92bb1b4`; auditorSHA `6cea3d12390eff0eed006db81940665f3e4aca12355731e5d7bae05807095427`. Preserve per-parameter counters for physical heads, restore E172 recurrent guide, and replay DataLoader batches before restoring global/physical RNG on a later pause. This is serialization/provenance checking, not proof of a resumed CUDA trajectory; no automatic resume was enabled. + +## E180 later-queue global-component assessment frozen + +Frozen before all eight original reports from E155/E172/E174/E177. Wait both declared checkpoints; choose lowest failure-free active-matter VRMSE for complete E155/E177 encoder bundles or thermal VRMSE for complete E172/E174 recurrent bundles, earlier step on an exact tie. Compare strictly with actual selected package under lock; at most one separately frozen composition per study if positive. Preserve complete architectures, all members/coefficients/guide and latent-basis roles on every case; no dataset-dependent inference routing. Any composition still needs exact compatibility/portable/mutation checks, fresh33 Well plus strict552 physical prefixes, full585/exact81/15 serving repeats and actual-current strict reward improvement. Otherwise close without new forecasts. Original training/queue/validators/E170/E162 unchanged; no optimizer, new seed, target-array read or automatic integration. ProtocolSHA `6491c948a698b9e3ef5c80e75f7eaa4039dba72d16f8f6f3a9d55d9333d325a1`. + +## E181 separate bounded-memory strong-case gradient protocol frozen + +E178 remains closed incomplete after its block-only checkpoint policy exceeded40GiB. New study changes only activation retention to the established E115 outer-frame checkpoint body, preserving the original physical computations and F6/F8 parameterization. Exactly one previously audited TRAIN case17/-5/trajectory2, same E177 initial75058736... and fixed E072 guide horizon1, no noise/shift. Four physical forwards/three backwards: fresh original/nested4-step exact output/loss bits plus per-head gradient relativeL2<=2e-6; original30 no-grad reference versus nested30 backward exact output/loss bits. Unchanged own allocated/reserved<40GiB gate, finite nonzero gradients, unchanged coefficients/model/guide. No threshold relaxation, extra cohort, optimizer/new seed/VALID or automatic training change. All175 TRAIN memberships and selected cache/target hashes pass; source replacement reverses exactly and matches the established frame body. Wait E176.complete before GPU work. ProtocolSHA `9b4958172b344a312dfceaa198bb3ac343de99a8b3ac5bbd2499a9c5640066a3`. Descriptive single-case coefficient alignment only; inspect standalone figure if complete. + +## E176 full validation of finite physical-prefix execution + +One exact E173 execution change, no model/parameter/seed/optimizer change; mainSHA `1d4d7fdf378298ee1a7435c66d9bc91d8d1ac64ebe2309ba3eb6e4d38fdd0975`. All552 corpus/Arena VALID cases freshly replayed and all distinct translations report complete physical prefixes. Only33 solver-ineligible Well outputs reused under strict metadata/source/runtime/input/output hashes. Every585 float32 prediction and all primary scores exactly equal E156;15 deterministic serving checks pass. Original fixed TRAIN cold pairs saved10.013056% and11.435174%; first narrowly clears10%; sharedH100 not isolated/four-hour proof. Fullreward 0.7850724219084871, quick0.8136448476040381, failed0. ReportSHA `01a33dc10155a3c9ab1d4e05367a50ddbc3d1234962affc4065b1d052bc19afb`; predictorSHA `c23165a934a87607a7e242c0d098b375303ae8a594fa068d27b7d3cfa4b23dff`. + +| Dataset | Full VALID VRMSE | +|---|---:| +| ape2d/burgers | 0.0075675356854 | +| ape2d/decay_turb | 0.000288901618749 | +| ape2d/diff | 2.51784077127e-06 | +| ape2d/fisher | 5.45119100602e-06 | +| ape2d/gs_alpha | 0.00251330314197 | +| ape2d/gs_beta | 0.00485442191926 | +| ape2d/gs_delta | 0.0209169332632 | +| ape2d/gs_epsilon | 0.000796584539428 | +| ape2d/gs_gamma | 0.0588423936929 | +| ape2d/gs_iota | 0.00719492328713 | +| ape2d/gs_kappa | 0.00758642694505 | +| ape2d/gs_theta | 0.016770683122 | +| ape2d/kdv | 0.0246752780929 | +| ape2d/kolm_flow | 0.0116622870804 | +| ape2d/ks | 2.35692808315e-05 | +| ape2d/sh | 5.34847814421e-06 | +| pdearena/navier_stokes_2d | 8.1143169072e-05 | +| well/active_matter | 0.0852383456597 | +| well/turbulent_radiative_layer_2D | 0.435060672766 | + +Outcome: Published exact faster execution atomically; actual current parent still E156. + +## Full validation of memory_001000 + +All 585 validation trajectories, starting at frame 0; no held-out trajectories. Reward **0.782013**, failed cases 0. Neural initialization seed 20261021; sampling seed 20270118; checkpoint SHA256 `a30800a66bdf8462d4842d038885d1fc2684d249bb7d2baae0873ee1fbba71bf`. Same model as the corresponding quick-validation experiment; changed factor: expanded validation sample only. + +| Dataset | VRMSE | +|---|---:| +| ape2d/burgers | 0.007568 | +| ape2d/decay_turb | 0.000289 | +| ape2d/diff | 0.000003 | +| ape2d/fisher | 0.000005 | +| ape2d/gs_alpha | 0.003239 | +| ape2d/gs_beta | 0.004901 | +| ape2d/gs_delta | 0.022624 | +| ape2d/gs_epsilon | 0.000889 | +| ape2d/gs_gamma | 0.062780 | +| ape2d/gs_iota | 0.006619 | +| ape2d/gs_kappa | 0.008764 | +| ape2d/gs_theta | 0.019424 | +| ape2d/kdv | 0.024675 | +| ape2d/kolm_flow | 0.011662 | +| ape2d/ks | 0.000024 | +| ape2d/sh | 0.000005 | +| pdearena/navier_stokes_2d | 0.000081 | +| well/active_matter | 0.087494 | +| well/turbulent_radiative_layer_2D | 0.435275 | + +Exact reuse protocol for a shared-neural change: all physical assets/configuration match /run-state/workspace/research/output_ensemble_v1/validation. The source per-case log audit verifies552 complete corpus/smoke physical rollouts and24 complete active rollouts; all576 outputs have unchanged dependencies. For a shared latent-state head, those dependencies include neural weights, guide assets, postprocessing and serving configuration; neural-weight changes cannot reuse these active predictions. The nine neural radiative-layer outputs were replayed with exact context/metadata equality to full inputs and freshly scored with the official scorer. Reaggregate their official per-case scores and the576 audited unchanged per-case scores using the exact aggregation code extracted from the official scorer. Report provenance includes scorer/source-report hashes and the reuse audit. All585 prediction files are retained. This avoids rereading unchanged targets without approximating the metric. + +Outcome: recorded full validation for audit and comparison; no automatic comparison against the distinct quick-validation sample. + +## E118 — shared coarse temporal memory, update 1000 +- Hypothesis / changed factor: Persistent96-wide coarse-grid GRU memory in first shared member, update1000/1000;111840 new parameters, initializationseed20270212. LayerNorm/inputprojection/SiLU/GRU/initiallyzerooutputprojection at each coarsest feature location. Memory is a local forecast state reset per case/translation/channel chunk and training microbatch, carried without detaching through all rollout steps. Pinned E101 parent, fixed width96 second member and E072/E033 guides. Both complete members execute every case with fixed parameters. Matched E106 no-reflection control: same seed20270118,sampler,noise.01,full30batch2x3,AdamW3e-5 and schedule; no redundant control training. Constructor CPU/CUDA RNG preserved; exact zero-output completeTRAIN/unknown parity and repeats plus full30 backward preflight precede training. Training checkpointSHA256 f46224326dd3072565e100dcc17ea16f546a9d1864612c055b2e8775462306f9, packaged mainSHA256 a30800a66bdf8462d4842d038885d1fc2684d249bb7d2baae0873ee1fbba71bf. Full585 matched control reward 0.7819993323925672, candidate 0.7820126409478906. Fresh all9thermal VALID;576completephysical outputs reused only after restricted runtime/source/config/input/coverage proof. Full585 against actual current selection; neural/unfamiliar exact repeats before any win. No pretrained/synthetic assets, held-out access or parameter fitting during inference. +- Seed: 20261106. +- Checkpoint SHA256: `a30800a66bdf8462d4842d038885d1fc2684d249bb7d2baae0873ee1fbba71bf`. +- Runtime code SHA256: `adcd6829956da516c253a2abe802777ae03fddbdef0be15694560944d5e78847`. +- Validation: fixed 81-case subset; reward **0.812790**, failed cases 0. + +| Dataset | VRMSE | +|---|---:| +| ape2d/burgers | 0.006413 | +| ape2d/decay_turb | 0.000381 | +| ape2d/diff | 0.000003 | +| ape2d/fisher | 0.000003 | +| ape2d/gs_alpha | 0.003095 | +| ape2d/gs_beta | 0.004740 | +| ape2d/gs_delta | 0.019250 | +| ape2d/gs_epsilon | 0.001366 | +| ape2d/gs_gamma | 0.049313 | +| ape2d/gs_iota | 0.001785 | +| ape2d/gs_kappa | 0.004855 | +| ape2d/gs_theta | 0.004678 | +| ape2d/kdv | 0.016728 | +| ape2d/kolm_flow | 0.008926 | +| ape2d/ks | 0.000033 | +| ape2d/sh | 0.000004 | +| pdearena/navier_stokes_2d | 0.000083 | +| well/active_matter | 0.040528 | +| well/turbulent_radiative_layer_2D | 0.435275 | + +Selection basis: full585 physical-operator comparison: candidate0.78201264, current0.78507242 + +Outcome: did not improve validation reward; retained current package. + +## E170 E118 recurrent-role assessment + +Bothdeclared500/1000full585reportsrecorded. Choosefailure-free lowestthermalVALID,earlierstepontie: 1000,thermal0.4352754361353226 versusactualselected0.4350606727655739. Integrationjustified=False. Originalfullpackages/reportsandall19means/checkpointhashes retainedindecisionSHA `8d09d07f2d3d708a3b3d7ffeaef8c50bd7468f351d32369656196829140892fc`. Closeassessmentwithoutnewforecasts ormodelchanges. Nooptimizer/newseed/target-arrayreads; no checkpoint routing bydataset. Sourcecompatibility/completeall-caseexecution/exactforward/reuseproof/full585/currentbest/15repeatsremainmandatory. Existing VALID selection only. No composed score, model or runtime compatibility has yet been demonstrated. + +## E179 E118 update1000 error analysis + +Existing full585 case and dataset sets match; thermal case/channel/step aggregations agree. Means {"candidate": 0.4352754361353226, "comparison": 0.4354355289580768, "selected_E156": 0.4350606727655739}; wins versus E106 matched control 1000 3/9. Single-seed continuation; original benchmarkTrue backend. Logged batches do not prove identical full sampling or CUDA trajectories. Sampling seed 20270118; package weight hashes {"coarse_weights.pt": "ad9a9996912c63eaaed7aa01423bc8598c9a8c966915b277ab64ce1774027dd3", "ensemble_weights.pt": "0c9c49ae6a7da1fbae8d3f21d94b26311467ba1fd991b59877c872973f1a6c23", "mean_weights.pt": "3b423a0afbb46bafc914d62daaf8611a1b30ae424b8c517d846cbb93d4d6578c", "weights.pt": "a30800a66bdf8462d4842d038885d1fc2684d249bb7d2baae0873ee1fbba71bf"}. All19 dataset VRMSE values, logs and comparisons in resultSHA `a0eb47a31fe3a7feedfe1bf30c9136e25fd1783363c7a6133115ad537da26750`. Zero new forecasts, target-array reads, optimizer updates or seeds. Original selection unchanged. Figure awaits inspection. + +## E181 memory-bounded strong-case F8 coefficient gradients + +One fixed TRAIN zeta17/alpha-5/trajectory2 case. Only outer frame activation checkpointing added using the established E115 frame body; original E178 remains closed incomplete. Four physical forwards and three backwards; fresh short original/nested output and loss bits exact, short per-head gradient relativeL2<=2e-6, long original no-grad/nested bits exact. Every operation allocated/reserved peak<40GiB; model/guide/coefficients unchanged, no optimizer or fitting. {"F6": {"short_norm": 0.0018094310855270382, "long_norm": 0.056491985963638754, "cosine": 0.2691854435165591, "dot_product": 2.7515693356968973e-05, "long_over_short_norm": 31.220855226538884, "long_gradient_projection_on_short_over_short_norm2": 8.404199761122152, "short_descent_locally_reduces_long_loss": true}, "F8": {"short_norm": 0.001581358367260457, "long_norm": 0.053021603401522975, "cosine": 0.22750737834145734, "dot_product": 1.9075619177558495e-05, "long_over_short_norm": 33.52915094974805, "long_gradient_projection_on_short_over_short_norm2": 7.628129230592163, "short_descent_locally_reduces_long_loss": true}}. One fixed TRAIN case and local coefficient gradients only; no finite-step, network-gradient, learnability or generalization claim. E178 remains closed incomplete; E177 training protocol unchanged. ResultSHA `cc6472150fc60d1c9aba71cc68fad9cc197703e8663893cf32f74332735de515`. No VALID, new seed, target cohort or E177 protocol change. Figure awaits inspection. + +## E179 E118 final paired figure reviewed / line closed + +E118 update1000 full585 reward0.7820126409478906, zero failures; thermal0.4352754361353226 versus matched E1061000 control0.4354355289580768 and selected E176/E1560.4350606727655739. Three of nine case wins; density and both velocity channels improve slightly versus control, pressure worsens; first two windows slightly worsen while steps13–30 improve. Figure inspected. E170 rejects integration under its frozen rule; no memory-width or coefficient sweep. Training seed20270118, memory initialization20270212. Final serving checkpointSHA `a30800a66bdf8462d4842d038885d1fc2684d249bb7d2baae0873ee1fbba71bf`; reportSHA `0153a6c603ee02a6d02867f3bcac4a274cedf494b3df0b9200a2182a9369df3a`. All19 dataset means and complete matched/control/selected evidence in queued_model_analysis_v1/E118/step001000/results.json; no new forecasts or optimizer updates. + +## E181 bounded-memory gradient diagnostic complete / figure reviewed + +One fixed TRAIN active case17/-5/trajectory2; exactly four physical forwards, three backwards, zero optimizer updates, no new seed/VALID. Nested outer-frame checkpoints preserve fresh4-step outputs/loss and F6/F8 gradients exactly (relativeL2=0 each). Nested30 output/loss bits exactly equal fresh original no-grad reference, loss0.6385933756828308, finite gradient norm0.07747667282819748; own peak allocated3.3243050575256348/reserved3.607421875GiB, below unchanged40GiB gates. F6 short/long cosine0.2691854435165591 and norm ratio31.220855226538884; F8 cosine0.22750737834145734 and norm ratio33.52915094974805. All weights/coefficients unchanged. Figure inspected. ResultSHA `cc6472150fc60d1c9aba71cc68fad9cc197703e8663893cf32f74332735de515`; arraysSHA `261d70b84fe0742fdbd941ea46b95af8957f0bb94bda33883878f0e3e87f7469`; initial checkpoint75058736d6c1de9162ea22450c212cc6c9bbd95fafe75c048d02b95597468ff1. This establishes numerical/memory feasibility and local coefficient sensitivity only, not finite-step improvement, network learnability or generalization. E178 remains closed incomplete under original memory policy; E177 protocol unchanged. + +## Full validation of validation + +All 585 validation trajectories, starting at frame 0; no held-out trajectories. Reward **0.781484**, failed cases 0. Neural initialization seed 20261021; sampling seed 20261127; checkpoint SHA256 `6f925ff20fa90086feda94ff7d72d6a336fa1f8a87aba1aec9062021d4c824c5`. Same model as the corresponding quick-validation experiment; changed factor: expanded validation sample only. + +| Dataset | VRMSE | +|---|---:| +| ape2d/burgers | 0.007568 | +| ape2d/decay_turb | 0.000289 | +| ape2d/diff | 0.000003 | +| ape2d/fisher | 0.000005 | +| ape2d/gs_alpha | 0.003239 | +| ape2d/gs_beta | 0.004901 | +| ape2d/gs_delta | 0.022624 | +| ape2d/gs_epsilon | 0.000889 | +| ape2d/gs_gamma | 0.062780 | +| ape2d/gs_iota | 0.006619 | +| ape2d/gs_kappa | 0.008764 | +| ape2d/gs_theta | 0.019424 | +| ape2d/kdv | 0.024675 | +| ape2d/kolm_flow | 0.011662 | +| ape2d/ks | 0.000024 | +| ape2d/sh | 0.000005 | +| pdearena/navier_stokes_2d | 0.000081 | +| well/active_matter | 0.088710 | +| well/turbulent_radiative_layer_2D | 0.435625 | + +Replayed and officially scored all24 active and all9 thermal VALID trajectories with this checkpoint. 24/24 active cases have a complete30-step physical prefix; any remainder is the same model’s neural fallback. Reused552 complete corpus/smoke outputs and their official per-case scores only after exact unaffected module/configuration comparison and serving-source normalization of the isolated latent-head plumbing. Per-case input/output hashes and solver coverage are in reuse_audit.json. The exact official aggregation code reassembles all585 case scores, with source-report/scorer hashes beside each report. Neural weights and guides affect active hidden-state inference, so no active output was reused. The quick81 report is an exact input/metadata-matched subset of these585 predictions. Selection requires full585 reports for candidate and current package. No held-out trajectories. + +Outcome: recorded full validation for audit and comparison; no automatic comparison against the distinct quick-validation sample. + +## E115 — occasional full30 shared-state supervision +- Hypothesis / changed factor: Matched E060/phase10 single shared-backbone/state-head experiment, final2000 only. Exact same zero initial checkpoint, E072 guide, all19-dataset sampling/noise seed20261127 and physical draws seed20261128, batch2x3/full30,AdamW3e-5cosine/headLR10x,noise.01,groups.05/.075/.075/.8. Only replace the physical4-step loss every64th main update by the full30-step loss:31long and219short, weight1. Nested recomputation passes controlled short-gradient parity; actual trained shared-model full30 backward passed below31GiB. All175TRAIN full-target/base hashes audited, initial model exactly the original control and every physical draw/horizon verified. No redundant control training, no1000-step VALID selection, no new inference architecture, ensemble, solver coefficients or guide changes. InitialSHA256 1a082bab4c1db8eae9a5c0fb6fa8cec159de67ba2e7ec9b9b7abe800844c8989; final trainingSHA256 56c803838cc277e38cf7017a1101a3aa4a2b83091885ecc062c51eed5b46079e. Fresh24active+9thermal VALID and552 strictly audited complete corpus/Arena outputs; full585 compare against actual current best and original phase10/update2000. Exact active/neural/unfamiliar repeats before a win. No pretrained/synthetic assets, held-out access or inference-time fitting. +- Seed: 20261127. +- Checkpoint SHA256: `6f925ff20fa90086feda94ff7d72d6a336fa1f8a87aba1aec9062021d4c824c5`. +- Runtime code SHA256: `9616372e912d369c5aafd4fdf9d22e0b41d14da1de950142164f6d27ea064c39`. +- Validation: fixed 81-case subset; reward **0.813598**, failed cases 0. + +| Dataset | VRMSE | +|---|---:| +| ape2d/burgers | 0.006413 | +| ape2d/decay_turb | 0.000381 | +| ape2d/diff | 0.000003 | +| ape2d/fisher | 0.000003 | +| ape2d/gs_alpha | 0.003095 | +| ape2d/gs_beta | 0.004740 | +| ape2d/gs_delta | 0.019250 | +| ape2d/gs_epsilon | 0.001366 | +| ape2d/gs_gamma | 0.049313 | +| ape2d/gs_iota | 0.001785 | +| ape2d/gs_kappa | 0.004855 | +| ape2d/gs_theta | 0.004678 | +| ape2d/kdv | 0.016728 | +| ape2d/kolm_flow | 0.008926 | +| ape2d/ks | 0.000033 | +| ape2d/sh | 0.000004 | +| pdearena/navier_stokes_2d | 0.000083 | +| well/active_matter | 0.039601 | +| well/turbulent_radiative_layer_2D | 0.435625 | + +Selection basis: full585 physical-operator comparison: candidate0.78148402, current0.78507242 + +Outcome: did not improve validation reward; retained current package. + +## E162 conditional E115 component decision + +Frozen before final E115 validation. {"encoder": {"dataset": "well/active_matter", "parent_vrmse": 0.08523834565974923, "e115_vrmse": 0.08871016144447019}, "recurrent": {"dataset": "well/turbulent_radiative_layer_2D", "parent_vrmse": 0.4350606727655739, "e115_vrmse": 0.43562509932136007}}. Replace roles: {"encoder": false, "recurrent": false}. Neither role passes. Close without new forecasts, VALID, coefficient search or publication. DecisionSHA `023fc0bcc9352672309c39291bc84ccc9703aaa14cd4a49b9ad680f56561cc75`; E115 checkpointSHA `6f925ff20fa90086feda94ff7d72d6a336fa1f8a87aba1aec9062021d4c824c5`. Existing training seeds20261127/28, no new optimizer or fitting. No component is routed by dataset at inference. + +## E115 final matched-control error decomposition + +Reporting only, no optimizer/new rollouts/target reads/selection changes; trainingseed20261127 and physicalseed20261128. Main checkpointSHA `6f925ff20fa90086feda94ff7d72d6a336fa1f8a87aba1aec9062021d4c824c5`; resultSHA `ec91ccd282607e455f218999019f57067006c3c15fe38781355344740c94e0bf`. Candidate full585 reward 0.7814840177778974 versus original2k control 0.7826718282830862; failed 0. +well/active_matter: mean 0.08595728921216839 -> 0.08871016144447019, 11/24 paired wins; late13–30 {'candidate': 0.14226113522719694, 'control': 0.13781698466037234}. +well/turbulent_radiative_layer_2D: mean 0.4350606727655739 -> 0.43562509932136007, 2/9 paired wins; late13–30 {'candidate': 0.5241764551099732, 'control': 0.5230036988744772}. + +All19 dataset/group values, paired cases, steps and channels recorded. Intended matched configuration, single training seed. Pre-long numerical differences were observed before changed objective; not bitwise replication or a pure causal/significance claim. Generated fixed comparison.png/SVG await visual inspection. Any composition with a newer package requires a separate protocol and affected validation. + +## E182 context-noise gradient sensitivity frozen + +Pin E176 complete parent/main1d4d7fdf and all runtime assets; nine existing native thermal TRAIN initialcases, exact input/target hashes and membership. Four fixed arms cleanA/cleanB/noiseA/noiseB, private CUDA seeds20270317+i/20270417+i, original .01 context-std scale and frozen guide recomputed from each context. Fresh cleanrepeat measures backward variability; no historical gradient gate. Exactly72raw30step forwards/36backs/0updates, actual packaged observer forward bit parity, cleanrepeat bits exact, finite/nonzero gradients, weights unchanged, ownallocated/reserved<24GiB. Save full gradients before comparisons; report local loss/gradient/rollout sensitivity and standalone figure. No VALID, amplitude search, inferred clean-training benefit or queue change. ProtocolSHA `0f8a63cd71b6a88b11ea668a862df0271ca3ed856b2ab291c27ed44947aecfa0`. Existing E123 remains sole optimizer; no pretrained/synthetic/heldout access. + +## E115 final figure reviewed; E162 closed without integration + +E115 final2000 full585reward0.7814840177778974,0failed, versus original2kcontrol0.7826718282830862 and selectedE1760.7850724219084871. Active24 VRMSE0.08871016144447019 versus originalcontrol0.08595728921216839 and selected0.08523834565974923;11/24casewins but all11channelmeans and all3horizonwindows worse. Thermal9 VRMSE0.43562509932136007 versus originalcontrol/selected0.4350606727655739;2/9wins; early/middlewindows improve slightly, steps13–30 worsen. All six panels inspected. Maincheckpoint6f925ff20fa90086feda94ff7d72d6a336fa1f8a87aba1aec9062021d4c824c5, trainingartifact56c803838cc277e38cf7017a1101a3aa4a2b83091885ecc062c51eed5b46079e; report251f4ea164946af1026e85695c57c4c9fbaa5ce03b85983c88fc2e6375cc9aa7, analysisec91ccd282607e455f218999019f57067006c3c15fe38781355344740c94e0bf. Seeds20261127/28,250physicaldraws31long219short. Pre-objective numerical differences and single-seed limits prevent a pure causal attribution. E162 frozenroledecision rejects bothroles and closes; no candidate assembly or integration forecast. Draftsources remain unused. Existingall19datasetmeans recorded by originalvalidator. + +## E182 context-noise gradient diagnostic + +All72 raw forward references/gradient paths and36 backwards pass; nine fixed native TRAIN initialcases, two .01-scale private Gaussian contexts plus fresh cleanrepeat. All weights unchanged, ownpeaksunder24GiB. Median relativegradient differences {"clean_repeat": 2.2053195698906397e-10, "noiseA": 0.09581018845571096, "noiseB": 0.16692365325664865, "between_noise": 0.13684199838373018, "noise_mean": 0.11060395274030556}, median cosine clean/noisemean 0.9973730248435868. MainSHA `1d4d7fdf378298ee1a7435c66d9bc91d8d1ac64ebe2309ba3eb6e4d38fdd0975`; resultSHA `9cf17a2b6d4763919ca6f69e48d111c4eaa2d53f18632d7bced5e33f7ecb3b14`. Fixed TRAIN-only local sensitivity, two noise draws, fresh clean gradient-repeat control; no automatic training or validation. No generalization or clean-training benefit claim. Figure awaits inspection. + +## E182 context-noise figure inspected; no clean-training trial opened + +All nine fixed TRAIN cases complete,72rawforwards/36backwards/zerooptimizer. Median clean-vs-mean-of-two-noisy gradient cosine0.9973730248435868; median relativegradientdifference0.11060395274030556, range0.0512977–0.6010142. One case cosine0.8470419; other eight>=0.9883642. Clean-repeat relativegradvariation ranges4.4e-11–0.0106124 despite all forwardbits exact, consistent with a backward-reproducibility caveat. Losschanges are small/mixed (-0.0006692 to+0.0003904); rawforecastchanges normalizedbytargetstd0.0095463–0.0163657. Figure inspected; this fixed sample doesnotestablish that removingnoise improvestraining. Close without amplitude/seed sweep or new clean-context optimizer. Main1d4d7fdf378298ee1a7435c66d9bc91d8d1ac64ebe2309ba3eb6e4d38fdd0975; resultSHA `9cf17a2b6d4763919ca6f69e48d111c4eaa2d53f18632d7bced5e33f7ecb3b14`; diagnostic noise seeds20270317+i/20270417+i, no newtrainingseed. Frozen trainingqueue unchanged. + +## E183 shared learned displacement concept frozen + +Add one98parameter zero-initialized2D displacement head to the selected E176 common recurrent model. Bounded8pixel tanh displacement samples the normalized last frame with periodic wrap/open clamp; subtract the identical zero-displacement sampler to preserve exact parent output at initialization, then add original residual. Samefieldallchannels, stateless/allcases, fixed sharedencoder/guides/physics. Architecture is motivated by E164spatialinteractionerror but no transport-causality claim. One1000-update all19TRAIN full30 B2x3 continuation, seed20270319, originalLR3e-5/noise.01/groups/optimizer, afterE177 only if complete CPU/source/nativebackward/export/mutation/20portable gates pass. Total7465845parameters. Only500/1k fresh9thermal+strict576/full585/81/15repeats/currentbestatomic; no bound/seed/coefficient sweep or automaticcomposition. ConceptprotocolSHA `173bd53b93b4a8d3b577937ac049990b47bbef6ad455dc68cc9cb65296d5eacc`. Implementation pending, no new optimizer/VALID; pretrained_assets empty. + +## E183 native preflight sampler configuration corrected before forwards + +No model forward/backward or optimizer ran: original sampler rejects zero probabilities at construction. Use positive1e-12 nonthermal weights in this native thermal no-update fixture; require observed3thermal full30. Scientific training groups unchanged. Numerical/resource gates unchanged. Initial failure/source/config retained in preflight/initial_sampler_rejection. CorrectionSHA `276e67280bdc76a1275541cf13db578ffb6580563224202419cec4b77043dedd`; originalprotocol `a0991ede17dc43a83063f0044151ce9f05df8b1bd309b46076ff3dd991386cc2`, corrected `f2a9beead0ad0aedbdd2f5f39e1bfa5639a98ee237bc27d8eadaeac957321117`. CPUzero-head and60export/mutation checks alreadypass and are not rerun; no training or selected-model change. + +## E183 CPU/native backward/export preflight passed; portable checks next + +All20 manufacturedboundary/interpolationfixtures and6guided/unguidedzero-headCPUoutputs pass; source exactlyreversible, constructoroldweights/globalRNG exact, nonzeroheadgradient24.8691. Actualtrainer3native thermalB2/full30 no-update microbatches: {"loss": 0.23196467757225037, "grad_norm": 11.924323081970215, "displacement_grad_norm": 9.539711952209473, "peak_gpu_gib": 30.472424030303955, "peak_reserved_gib": 31.267578125}. Allmain/guideweightsunchanged.60export/source/key/shape/dtype/finite/mutationrejections; actualnonzeroheadchangesneural output whilefixedencoderandfinitephysicaloutput remainexact, partialphysicalfallbackhistory/maincalls correct. InitialSHA `8c8b7044338976d2211b12c1b61b895d97fded170eb7a3b556e8d3e92a7b5cbc`; backwardSHA `f9dfe0bfd8315bd85aca85e904483d169964d3f054b73f403c2bea9d11ae6502`. Samplerzero-probability constructionfailure retained/correctedbeforeanyforward; originaltraininggroups/architecture/gatesunchanged. Proceedfixed20portableforecasts/14strictparentreferences after sourcefreeze; nooptimizerorVALIDyet. + +## Full validation of initial_000500 + +All 585 validation trajectories, starting at frame 0; no held-out trajectories. Reward **0.781942**, failed cases 0. Neural initialization seed 20261021; sampling seed 20270118; checkpoint SHA256 `8b09e4b06c8db92eced4caa1ee7c8acfa70cc2766582f50375b5775296170308`. Same model as the corresponding quick-validation experiment; changed factor: expanded validation sample only. + +| Dataset | VRMSE | +|---|---:| +| ape2d/burgers | 0.007568 | +| ape2d/decay_turb | 0.000289 | +| ape2d/diff | 0.000003 | +| ape2d/fisher | 0.000005 | +| ape2d/gs_alpha | 0.003239 | +| ape2d/gs_beta | 0.004901 | +| ape2d/gs_delta | 0.022624 | +| ape2d/gs_epsilon | 0.000889 | +| ape2d/gs_gamma | 0.062780 | +| ape2d/gs_iota | 0.006619 | +| ape2d/gs_kappa | 0.008764 | +| ape2d/gs_theta | 0.019424 | +| ape2d/kdv | 0.024675 | +| ape2d/kolm_flow | 0.011662 | +| ape2d/ks | 0.000024 | +| ape2d/sh | 0.000005 | +| pdearena/navier_stokes_2d | 0.000081 | +| well/active_matter | 0.087494 | +| well/turbulent_radiative_layer_2D | 0.436131 | + +Exact reuse protocol for a shared-neural change: all physical assets/configuration match /run-state/workspace/research/output_ensemble_v1/validation. The source per-case log audit verifies552 complete corpus/smoke physical rollouts and24 complete active rollouts; all576 outputs have unchanged dependencies. For a shared latent-state head, those dependencies include neural weights, guide assets, postprocessing and serving configuration; neural-weight changes cannot reuse these active predictions. The nine neural radiative-layer outputs were replayed with exact context/metadata equality to full inputs and freshly scored with the official scorer. Reaggregate their official per-case scores and the576 audited unchanged per-case scores using the exact aggregation code extracted from the official scorer. Report provenance includes scorer/source-report hashes and the reuse audit. All585 prediction files are retained. This avoids rereading unchanged targets without approximating the metric. + +Outcome: recorded full validation for audit and comparison; no automatic comparison against the distinct quick-validation sample. + +## E123 — initial-window sampling, update 500 +- Hypothesis / changed factor: Explicit frame-zero training policy0.75 continuation, update500/1000, sampling/noise seed20270118, independent start-override seed20270213. Same pinned E101 initial checkpoint, no-reflection sampler, optimizer and schedule as the reused E106 control. An independent probability2/3 override selects frame0 after the original baseline start draw; all original group/trajectory/start/shift/reflection RNG streams are preserved. Only the training window start can change; no new parameters or inference code. Full30 rollout (corpus26/Arena10),batch2x3,AdamW LR3e-5 cosine,noise0.01,groups.05/.075/.075/.8. First width48 main trained across all19datasets; fixed width96 second member and E072/E033 auxiliary models. Both complete members execute every case, with unchanged equal output averaging, physics, translations and corrections. Training checkpointSHA256 56df4b935c4e9a301cad6da01afbf6b4bfb8cb9bb7e7271a308956b9ccaa5eb7, packaged mainSHA256 8b09e4b06c8db92eced4caa1ee7c8acfa70cc2766582f50375b5775296170308. Matched E106 control full585 reward 0.7818408117655686; candidate 0.7819416107499212. All9 thermal VALID forecasts fresh and576 complete physical forecasts reused after unchanged source/config/input/coverage audit. Full585 compared to actual current selection; neural/unfamiliar exact repeat checks before a win. No pretrained or synthetic assets, held-out data or inference-time fitting. +- Seed: 20261106. +- Checkpoint SHA256: `8b09e4b06c8db92eced4caa1ee7c8acfa70cc2766582f50375b5775296170308`. +- Runtime code SHA256: `087b1a80f5bdd055700c84312cca54cc5773ad4f9a4d5fb39a9d3b5f98a1c633`. +- Validation: fixed 81-case subset; reward **0.812719**, failed cases 0. + +| Dataset | VRMSE | +|---|---:| +| ape2d/burgers | 0.006413 | +| ape2d/decay_turb | 0.000381 | +| ape2d/diff | 0.000003 | +| ape2d/fisher | 0.000003 | +| ape2d/gs_alpha | 0.003095 | +| ape2d/gs_beta | 0.004740 | +| ape2d/gs_delta | 0.019250 | +| ape2d/gs_epsilon | 0.001366 | +| ape2d/gs_gamma | 0.049313 | +| ape2d/gs_iota | 0.001785 | +| ape2d/gs_kappa | 0.004855 | +| ape2d/gs_theta | 0.004678 | +| ape2d/kdv | 0.016728 | +| ape2d/kolm_flow | 0.008926 | +| ape2d/ks | 0.000033 | +| ape2d/sh | 0.000004 | +| pdearena/navier_stokes_2d | 0.000083 | +| well/active_matter | 0.040528 | +| well/turbulent_radiative_layer_2D | 0.436131 | + +Selection basis: full585 physical-operator comparison: candidate0.78194161, current0.78507242 + +Outcome: did not improve validation reward; retained current package. + +## E179 E123 update500 error analysis + +Existing full585 case and dataset sets match; thermal case/channel/step aggregations agree. Means {"candidate": 0.4361305626448577, "comparison": 0.43734695742255775, "selected_E156": 0.4350606727655739}; wins versus E106 matched control 500 5/9. Single-seed continuation; original benchmarkTrue backend. Logged batches do not prove identical full sampling or CUDA trajectories. Sampling or objective differs, so logged loss values are not equivalent objectives. Sampling seed 20270118; package weight hashes {"coarse_weights.pt": "ad9a9996912c63eaaed7aa01423bc8598c9a8c966915b277ab64ce1774027dd3", "ensemble_weights.pt": "0c9c49ae6a7da1fbae8d3f21d94b26311467ba1fd991b59877c872973f1a6c23", "mean_weights.pt": "3b423a0afbb46bafc914d62daaf8611a1b30ae424b8c517d846cbb93d4d6578c", "weights.pt": "8b09e4b06c8db92eced4caa1ee7c8acfa70cc2766582f50375b5775296170308"}. All19 dataset VRMSE values, logs and comparisons in resultSHA `d157d12efa8d76251874f14ecf205befcc69814fca5a547d24336b07574d9b88`. Zero new forecasts, target-array reads, optimizer updates or seeds. Original selection unchanged. Figure awaits inspection. + +## E179 E123 midpoint paired figure inspected + +E123500 full585reward0.7819416107499212,0failed; thermal0.4361305626448577 versus matchedE1065000.43734695742255775 and selectedE176/E1560.4350606727655739. Five of nine controlwins; allthreehorizonwindows improve slightly versus control. Pressure.8836057 versus.8896611 and vx improve, density andvy worsen; selectedstillbetter overall. Figure inspected. Seed20270118, independentinitialoverride20270213. MainSHA `8b09e4b06c8db92eced4caa1ee7c8acfa70cc2766582f50375b5775296170308`; reportSHA `555fdebf3922e6e46b6e642bd4a72c35816898cdb5d8bea6d48e62dc26f3af5b`. Original1000updatetraining/E170wait-both rule unchanged; no newcoefficient/seed/VALIDcheckpoint. All19means retained in originalvalidator/analysis. + +## E183 inherited manifest provenance clarified before final freeze + +Metadata review found inheritedtop-level E151composition/fixedmain and E176all585bit-equality records that could be read as E183 claims. Preserve originalmanifest in preflight/manifest_before_role_correction.json; move historicaltraining/composition/timing/validation records under explicit inherited_parent_provenance, identify new98parameterhead/actualparentcheckpoint/currenttrainingstep, and distinguish unchangedphysicalimplementation from historicalparentmeasurements. New export.py wraps the alreadychecked exporter and modifies only manifestmetadata; initial correction verifiedall28runtimeassets byte-identical. Frozen architecture/numerical package helper/trainer/CPU/export/portable source and all weights unchanged; zero newforwards/optimizer. CorrectionSHA `45927ea1d895e0c45d85692951d4d1e114adbe31bb965d4e26893a611697d554`. Waitingqueuecontroller briefly SIGSTOP duringreview; training andportableinference stayedrunning. Final validator/freezer binds the metadatawrapper before any scientifictraining orselection. + +## E183 shared displacement continuation queued after all preflight gates + +One98parameter zero-initialized common displacement head, exact parentzerooutputs; independentbilinear/boundary/RNG/source checks, actualnative B2x3full30backward,60exportmutations/partialfallbackhistory and20completeportableforecasts/14strictparentrefs allpass. All11initialCUDA parentbits exact,6reordered/3CPUexact. One1000-update all19TRAIN continuation afterE177, seed20270319, original full30/noise.01/LR3e-5/groups/optimizer, main3066725 trainable, complete7465845. Only500/1k fresh9thermal+strict576/full585/81/15exactchecks/currentbestatomic. Operational25snapshots neverextraVALID. InitialSHA `8c8b7044338976d2211b12c1b61b895d97fded170eb7a3b556e8d3e92a7b5cbc`; protocolSHA `d17366aa3948f4147b76122c4525ebd7c1acaa9dd65fe2edad5cdf2465bd2d0b`; preflightSHA `e778a61ffb6e77626e570ac85bfb8fad8bf1666ee247b82c39606d7326a66822`. No optimizer yet, newseed/architecture/extraoptimization confounded; no heldout/pretrained/inferencefitting. + +## E184 TRAIN context-increment precision audit frozen + +Data/arithmetic only: all72thermal TRAIN trajectories plus first3/index-order records fromeachother18datasets, initial andmidtrajectory four-framecontexts,252total. Recheckall10115TRAINmemberships andpinselectedcontextbytes. Originalfloat32lastframe-mean/populationstdnormalization; compare consecutiveincrements afterseparateBF16framerounding vsBF16roundingofFP32increments. PerchannelL2/cosine/lostnonzeros plusanalytic .01noise scale, equalcontext/channel summaries andstandalonefigure. Independentintegerties-even fixtureseed20270320; no newtrainingseed, modelforward/gradient/optimizer/VALID orautomaticarchitecturedecision. Main1d4d7fdf; protocolSHA d94f9a9e7d0e924fa56d9e8802b9fcb16d820835a2796a15674b77fc609ee2d0. Originalqueue/publicweightsunchanged. + +## E184 context precision audit complete; figure reviewed + +All252TRAIN-only contexts/19datasets pass source/hash/membership, independentBF16ties-even andnormalization checks;0forecasts/gradients/optimizer/CUDA. Thermalinitial frame-rounding incrementrelativeL2 median.0066699943,max.0271012348; latermedian.0049824327,max.0280317528. Directincrementrounding medians~.00166. Initialdensity median68.6884%nonzero incrementslostbut only1.7756%relativeL2, indicatingmanytinychanges; pressuremedianrelativeL2.0018244. Analyticfixedstandardization .01noise/incrementRMSinitialmedian.039918/later.029245, not actualnoisytrainingoutcomes. Otherdataset summaries retained; largestdatasetmedianlaterdiff.1125043. Fourpanelsinspected; no modelperformance claim, precision/stemoptimizer orqueuechange. Main1d4d7fdf; resultSHA 12c179b27154c2222ec49956931e7f073253c50d6fabdc59ccbdc3cdc28f165b;fixtureseed20270320,newtrainingseednone. Closeaudit; selectedE176unchanged. + +## E185 cached physical-adjoint encoder pullbacks frozen + +Reuse onlycompleted E178TRAIN9/-3/trajectory2 andE181TRAIN17/-5/trajectory2 exactcoefficient/4step/30stepgradients, sameE177initial75058736 andE072guide. No newphysicalforecasts ornewtargetarrays. Exactly16encoderforwards/14VJPs, short/long combined/F6/F8 plusfreshlongrepeat; bitexactcachedcoefficients required beforeupstreamderivatives. Nativecontext/pooling2/guideh1/no-noise/no-shift/eval/BF16/channelslast/benchmarkFalse/deterministicTrue. Pinallsource/hash/TRAINmembership; finitegradients,zero unusedoutput-head andzeroF8-onlybodygradient atzerohead,weightsunchanged,ownallocated/reserved<6GiB. Recordfullparametergradients,head/bodyalignment,norms,repeatvariability/additivitydefect; inspectfigure. Nooptimizer/newseed/VALID/finite-update/generalizationclaim/automaticqueuechange. OriginalE178resourcefailure remainsclosedincomplete. ProtocolSHA 2b6d384cb85c04ca967ba3a551cbf0c56427306ddaacb830acfdbdec467428bc. + +## E185 encoder horizon pullbacks complete; figure reviewed + +TwofixedTRAINcases,16encoderforwards/14VJPs/0newphysicalrollouts/0updates. Alloperatingpointcoefficientfloat32bits exactcachedE178/E181; ownGPU<.3GiB,unusedoutput-head gradientszero,F8-onlysharedbodyzeroatheadinitialization,allweightsunchanged. Moderate/strong: F8headshort-longcosines -.17851723/-.71589916 despitepositivecoefficientcosines; F6head+.04967596/+.20746015;body+.33685755/+.20181719;completeparametergradient-.01537943/-.20504787. Long/shorttotalnormratios364.466/26.22084. FreshrepeatrelativeL2<=2.72e-12,combined-vs-summedheadpullbackdefect<=4.48e-12. Threepanelsinspected. These are localunpreconditioned sensitivitiesononlytwoTRAINexamples,notAdamdirections/finite-step/generalizationguarantees; originalE177protocolunchanged. Initial75058736;resultSHA d4aa6b6f71b392a0a8afd14283b36a3ccb76d71a6684f4c6b845893821493b21; no newseed/VALID/targetcohort. + +## E186 matched F8 long-horizon preflight frozen + +E185 twoTRAINexamples showshort/fullF8parametergradientopposition; prepareoneE177matched1000updatearm, sameinitial75058736/seeds20270314+15/guide/all19nativeB2x3/full30/noise.01/groups/optimizer. Onlyreplacephysical4with30every64 (15long110short),checkedE181nestedframeactivationretention. E115F6-onlynegative remainsclosed; E177unchanged. Initialcomplete runtimeallassets EXACT E177checkedtemplate, reusepinned20portable+14parent/export/dependencyproof,no newportableforecast. Freshactualtrainer no-updateB2x3native/full30 plusfull30physicalfirstE177draw; bothheadgradsfinite/nonzero/unchangedweights/own<40GiB,175longlabelsfullyhashed. QueueafterE183onlyifallpass;500/1kfresh24active+strict561/full585/81/15repeats/currentbest. No newtrainingseed orpretrained/synthetic/heldout. PlanSHA ef84ead76344a4ae519a3c7a97629bcf624ef1a6829f8cdd5541c334c8f50c87;preflightSHA 891a2b88ea6fa6ab25d0ee1bfc72d56c3cc6b8b3c6c34c498a8d962a5f3c9804. + +## Full validation of initial_001000 + +All 585 validation trajectories, starting at frame 0; no held-out trajectories. Reward **0.782110**, failed cases 0. Neural initialization seed 20261021; sampling seed 20270118; checkpoint SHA256 `a63829d38bef16f84f7e25faf5297b9f3b62afc401c396d5011d3bb89c500d5b`. Same model as the corresponding quick-validation experiment; changed factor: expanded validation sample only. + +| Dataset | VRMSE | +|---|---:| +| ape2d/burgers | 0.007568 | +| ape2d/decay_turb | 0.000289 | +| ape2d/diff | 0.000003 | +| ape2d/fisher | 0.000005 | +| ape2d/gs_alpha | 0.003239 | +| ape2d/gs_beta | 0.004901 | +| ape2d/gs_delta | 0.022624 | +| ape2d/gs_epsilon | 0.000889 | +| ape2d/gs_gamma | 0.062780 | +| ape2d/gs_iota | 0.006619 | +| ape2d/gs_kappa | 0.008764 | +| ape2d/gs_theta | 0.019424 | +| ape2d/kdv | 0.024675 | +| ape2d/kolm_flow | 0.011662 | +| ape2d/ks | 0.000024 | +| ape2d/sh | 0.000005 | +| pdearena/navier_stokes_2d | 0.000081 | +| well/active_matter | 0.087494 | +| well/turbulent_radiative_layer_2D | 0.434101 | + +Exact reuse protocol for a shared-neural change: all physical assets/configuration match /run-state/workspace/research/output_ensemble_v1/validation. The source per-case log audit verifies552 complete corpus/smoke physical rollouts and24 complete active rollouts; all576 outputs have unchanged dependencies. For a shared latent-state head, those dependencies include neural weights, guide assets, postprocessing and serving configuration; neural-weight changes cannot reuse these active predictions. The nine neural radiative-layer outputs were replayed with exact context/metadata equality to full inputs and freshly scored with the official scorer. Reaggregate their official per-case scores and the576 audited unchanged per-case scores using the exact aggregation code extracted from the official scorer. Report provenance includes scorer/source-report hashes and the reuse audit. All585 prediction files are retained. This avoids rereading unchanged targets without approximating the metric. + +Outcome: recorded full validation for audit and comparison; no automatic comparison against the distinct quick-validation sample. + +## E123 — initial-window sampling, update 1000 +- Hypothesis / changed factor: Explicit frame-zero training policy0.75 continuation, update1000/1000, sampling/noise seed20270118, independent start-override seed20270213. Same pinned E101 initial checkpoint, no-reflection sampler, optimizer and schedule as the reused E106 control. An independent probability2/3 override selects frame0 after the original baseline start draw; all original group/trajectory/start/shift/reflection RNG streams are preserved. Only the training window start can change; no new parameters or inference code. Full30 rollout (corpus26/Arena10),batch2x3,AdamW LR3e-5 cosine,noise0.01,groups.05/.075/.075/.8. First width48 main trained across all19datasets; fixed width96 second member and E072/E033 auxiliary models. Both complete members execute every case, with unchanged equal output averaging, physics, translations and corrections. Training checkpointSHA256 c6f9418e07128f2da75f308ff7b1d1f2930d41562d8903110c1066f4a87dfb1b, packaged mainSHA256 a63829d38bef16f84f7e25faf5297b9f3b62afc401c396d5011d3bb89c500d5b. Matched E106 control full585 reward 0.7819993323925672; candidate 0.7821104175855939. All9 thermal VALID forecasts fresh and576 complete physical forecasts reused after unchanged source/config/input/coverage audit. Full585 compared to actual current selection; neural/unfamiliar exact repeat checks before a win. No pretrained or synthetic assets, held-out data or inference-time fitting. +- Seed: 20261106. +- Checkpoint SHA256: `a63829d38bef16f84f7e25faf5297b9f3b62afc401c396d5011d3bb89c500d5b`. +- Runtime code SHA256: `087b1a80f5bdd055700c84312cca54cc5773ad4f9a4d5fb39a9d3b5f98a1c633`. +- Validation: fixed 81-case subset; reward **0.812888**, failed cases 0. + +| Dataset | VRMSE | +|---|---:| +| ape2d/burgers | 0.006413 | +| ape2d/decay_turb | 0.000381 | +| ape2d/diff | 0.000003 | +| ape2d/fisher | 0.000003 | +| ape2d/gs_alpha | 0.003095 | +| ape2d/gs_beta | 0.004740 | +| ape2d/gs_delta | 0.019250 | +| ape2d/gs_epsilon | 0.001366 | +| ape2d/gs_gamma | 0.049313 | +| ape2d/gs_iota | 0.001785 | +| ape2d/gs_kappa | 0.004855 | +| ape2d/gs_theta | 0.004678 | +| ape2d/kdv | 0.016728 | +| ape2d/kolm_flow | 0.008926 | +| ape2d/ks | 0.000033 | +| ape2d/sh | 0.000004 | +| pdearena/navier_stokes_2d | 0.000083 | +| well/active_matter | 0.040528 | +| well/turbulent_radiative_layer_2D | 0.434101 | + +Selection basis: full585 physical-operator comparison: candidate0.78211042, current0.78507242 + +Outcome: did not improve validation reward; retained current package. + +## E170 E123 recurrent-role assessment + +Bothdeclared500/1000full585reportsrecorded. Choosefailure-free lowestthermalVALID,earlierstepontie: 1000,thermal0.43410105338056476 versusactualselected0.4350606727655739. Integrationjustified=True. Originalfullpackages/reportsandall19means/checkpointhashes retainedindecisionSHA `9be42ec9a077323b13a3bd227dc9feca40edb0c212795042523b3d7ce38f4fbc`. Onecompositionmaynowbeseparatelyimplemented/frozen/checked; no newforecastorpublicationyet. Nooptimizer/newseed/target-arrayreads; no checkpoint routing bydataset. Sourcecompatibility/completeall-caseexecution/exactforward/reuseproof/full585/currentbest/15repeatsremainmandatory. Existing VALID selection only. No composed score, model or runtime compatibility has yet been demonstrated. + +## E179 E123 update1000 error analysis + +Existing full585 case and dataset sets match; thermal case/channel/step aggregations agree. Means {"candidate": 0.43410105338056476, "comparison": 0.4354355289580768, "selected_E156": 0.4350606727655739}; wins versus E106 matched control 1000 5/9. Single-seed continuation; original benchmarkTrue backend. Logged batches do not prove identical full sampling or CUDA trajectories. Sampling or objective differs, so logged loss values are not equivalent objectives. Sampling seed 20270118; package weight hashes {"coarse_weights.pt": "ad9a9996912c63eaaed7aa01423bc8598c9a8c966915b277ab64ce1774027dd3", "ensemble_weights.pt": "0c9c49ae6a7da1fbae8d3f21d94b26311467ba1fd991b59877c872973f1a6c23", "mean_weights.pt": "3b423a0afbb46bafc914d62daaf8611a1b30ae424b8c517d846cbb93d4d6578c", "weights.pt": "a63829d38bef16f84f7e25faf5297b9f3b62afc401c396d5011d3bb89c500d5b"}. All19 dataset VRMSE values, logs and comparisons in resultSHA `0d97868544fb7536f8f7c3a07c9808b3337db0df703a0499abf5b5520bbc5664`. Zero new forecasts, target-array reads, optimizer updates or seeds. Original selection unchanged. Figure awaits inspection. + +## E123 final initial-window result; E179 figure reviewed + +Final1000 completesfull585reward.7821104175855939/0failed;thermal.43410105338056476 versusmatchedE1061k.4354355289580768 andselectedE176.4350606727655739.5/9casewinsversusmatchedcontrol,all4channels/all3windowsimprove. Againstselectedpressureworsens.8821298160->.8856319571 whiledensity/velocitiesimprove. Maina63829d38bef16f84f7e25faf5297b9f3b62afc401c396d5011d3bb89c500d5b, fixedsecond0c9c49ae6a7da1fbae8d3f21d94b26311467ba1fd991b59877c872973f1a6c23;report2a0d980d31c7aaac40f05faba721c48226f27721f9d7c3be54456b617ead9c79. Seeds20270118/override20270213. FourpanelsVIEWED;E170bothreportgatechooses1000andjustifiesone separatelyfrozen completeensembleintegration withcurrentphysics. No composedscore/publicationyet. E124scoreobjectiveisnowsoleoptimizer. + +## E187 complete E123/current-physics composition preflight frozen + +E170positivebothsnapshotgatechoosesE1231kthermal.43410105338056476 vsE176.4350606727655739. PreserveCOMPLETEwidth48a63829d3 +width960c9c49ae ensemble/equalfloat64avg/per-membercorrections/everycase. RetainE176commonencoder0fc425a0/guides/GS.3/fusion/streams/statelessfiniteprefix.16992454parameters, nooptimizer/newseed. Exactpredictor source derivedfrombothparents; allunchangedassets/tensorspinned; manifesthistoricalrolesseparated.42manufacturedtwomemberfull/failingprefix/tiny/odd/chunkfixtures passbitexactoutputs/fallbackhistories/firstmaincalls/sharedencoder; 32protectedmutationsrejected. PlanSHA 7b57a00aec15d395076e00abd5660caad45c9e4fa1eece69b7fbaccf8ff3ba46;CPUchecksSHA d2b76e365bb0142a326c8e4bf11607e60133699ff84d0c3846b1795c65cad0b7. Now28completeportableforecasts (5chosenneuralrefs+11candidate+6reverse+3chosenCPU+3candidateCPU),6strictphysicalrefs; bothmembers/allphysicalprefixes andoriginalneuraloutputbitsequalrequired. Thenfresh9thermal+strict576/full585/81/15exactrepeats/currentbestatomic. No composedscore/publicationyet; originalseeds20270118/override20270213/encoder20261127+28. + +## E186 matched F8 occasional-long arm queued after preflight + +Same E17775058736 initialization/seeds20270314+15/all19nativefull30/B2x3/noise.01/groups/LR3e-5/head10/optimizer,125physicaldrawsexactmatched.15physical30lossesreplace4every64,110shortunchanged; establishednestedactivationretention. Completeinitialruntime assets exactE177: pinned20portable/14parent/export/dependency/CPUunknownproof reused. FreshactualnativeB2x3 plusfull30physicalbackward passesfinitebothheads/unchangedweights/guide/own<40GiB/all175longlabelhashes. Nooptimizerbeforequeue. Exactly1000afterE183,only500/1kfresh24active+strict561/full585/81/15exactrepeats/actualcurrentbestatomic;25recoveryonly. E185localconflictmotivatesbutdoesnotprovegeneralization; E115F6-onlynegative/E177unchanged. ProtocolSHA 78fe4e5bd68a1db67b0b4176430b7fd3ca25b0bb61bcecec58f5d10c76cac711;checksSHA 748263d903de00e367113fafe648f18f129cabc6d0e906ccff2674680f8f8d2d. + +## E124 first operational recovery snapshot audited + +Read-onlyCPU single-openFD serialization/provenance audit atstep175,525consumedmicrobatches,all183Adamstatesstep175/finite3066627parameters/RNG/source/config/originalLR pass. CheckpointSHA bbfdda127b457690df8850673d8ed3df76cd2d327f07a56cec47581c53a1027b. NoCUDA/globalRNGchange/live-trainerinterruption/optimizer/extraVALIDselection. ThisisnotactualresumptionorbitwiseCUDAcontinuationproof. OriginalE124protocol/seed20270118 remainsunchanged. + +## E187 initial complete composition forecasts exact + +All11nativeTRAIN/unknownCUDAforecasts bitexact declared reference:5freshchosenE123thermal/unknown and6strictselectedphysical. Bothcompletelearnedmembers,everydistincttranslation; all42physicalprefixes completeacross6cases. Source/weights remainfrozen. InitialchecksSHA 941d59c4f04b67948d31f8650fa6f7e7fa9c30aa360b74b0c02137e9407bf6cb. Independentreordered6andCPU3+3 stillrunning, thenoriginalfresh9thermal/full585/15repeats needed. No composedscore/publicationyet; nooptimizer/newseed. + +## Full validation of score_000500 + +All 585 validation trajectories, starting at frame 0; no held-out trajectories. Reward **0.781932**, failed cases 0. Neural initialization seed 20261021; sampling seed 20270118; checkpoint SHA256 `9035764e0aeddc8b09117405df4cff8c99dc18486170f15fd28245084c34be9c`. Same model as the corresponding quick-validation experiment; changed factor: expanded validation sample only. + +| Dataset | VRMSE | +|---|---:| +| ape2d/burgers | 0.007568 | +| ape2d/decay_turb | 0.000289 | +| ape2d/diff | 0.000003 | +| ape2d/fisher | 0.000005 | +| ape2d/gs_alpha | 0.003239 | +| ape2d/gs_beta | 0.004901 | +| ape2d/gs_delta | 0.022624 | +| ape2d/gs_epsilon | 0.000889 | +| ape2d/gs_gamma | 0.062780 | +| ape2d/gs_iota | 0.006619 | +| ape2d/gs_kappa | 0.008764 | +| ape2d/gs_theta | 0.019424 | +| ape2d/kdv | 0.024675 | +| ape2d/kolm_flow | 0.011662 | +| ape2d/ks | 0.000024 | +| ape2d/sh | 0.000005 | +| pdearena/navier_stokes_2d | 0.000081 | +| well/active_matter | 0.087494 | +| well/turbulent_radiative_layer_2D | 0.436246 | + +Exact reuse protocol for a shared-neural change: all physical assets/configuration match /run-state/workspace/research/output_ensemble_v1/validation. The source per-case log audit verifies552 complete corpus/smoke physical rollouts and24 complete active rollouts; all576 outputs have unchanged dependencies. For a shared latent-state head, those dependencies include neural weights, guide assets, postprocessing and serving configuration; neural-weight changes cannot reuse these active predictions. The nine neural radiative-layer outputs were replayed with exact context/metadata equality to full inputs and freshly scored with the official scorer. Reaggregate their official per-case scores and the576 audited unchanged per-case scores using the exact aggregation code extracted from the official scorer. Report provenance includes scorer/source-report hashes and the reuse audit. All585 prediction files are retained. This avoids rereading unchanged targets without approximating the metric. + +Outcome: recorded full validation for audit and comparison; no automatic comparison against the distinct quick-validation sample. + +## E124 — main VRMSE objective, update 500 +- Hypothesis / changed factor: Clamped normalized RMSE objective continuation, update500/1000, sampling/noise seed20270118, unchanged unused reflection RNG20270119. Same pinned E101 initial checkpoint, no-reflection sampler, optimizer and schedule as the reused E106 control. Replace log1p(MSE/variance) with sqrt(MSE/variance+1e-12), clamped at10 per channel/step then averaged. Target unbiased spatial variance plus1e-7 remains unchanged. Only the training loss changes; no new parameters, RNG draws, sampling or inference code. Full30 rollout (corpus26/Arena10),batch2x3,AdamW LR3e-5 cosine,noise0.01,groups.05/.075/.075/.8. First width48 main trained across all19datasets; fixed width96 second member and E072/E033 auxiliary models. Both complete members execute every case, with unchanged equal output averaging, physics, translations and corrections. Training checkpointSHA256 744d10b6b42bfd5493ad829c470ea58d9f5f3deccbdc0c82ff6a67610b5609ed, packaged mainSHA256 9035764e0aeddc8b09117405df4cff8c99dc18486170f15fd28245084c34be9c. Matched E106 control full585 reward 0.7818408117655686; candidate 0.7819320693518983. All9 thermal VALID forecasts fresh and576 complete physical forecasts reused after unchanged source/config/input/coverage audit. Full585 compared to actual current selection; neural/unfamiliar exact repeat checks before a win. No pretrained or synthetic assets, held-out data or inference-time fitting. +- Seed: 20261106. +- Checkpoint SHA256: `9035764e0aeddc8b09117405df4cff8c99dc18486170f15fd28245084c34be9c`. +- Runtime code SHA256: `087b1a80f5bdd055700c84312cca54cc5773ad4f9a4d5fb39a9d3b5f98a1c633`. +- Validation: fixed 81-case subset; reward **0.812709**, failed cases 0. + +| Dataset | VRMSE | +|---|---:| +| ape2d/burgers | 0.006413 | +| ape2d/decay_turb | 0.000381 | +| ape2d/diff | 0.000003 | +| ape2d/fisher | 0.000003 | +| ape2d/gs_alpha | 0.003095 | +| ape2d/gs_beta | 0.004740 | +| ape2d/gs_delta | 0.019250 | +| ape2d/gs_epsilon | 0.001366 | +| ape2d/gs_gamma | 0.049313 | +| ape2d/gs_iota | 0.001785 | +| ape2d/gs_kappa | 0.004855 | +| ape2d/gs_theta | 0.004678 | +| ape2d/kdv | 0.016728 | +| ape2d/kolm_flow | 0.008926 | +| ape2d/ks | 0.000033 | +| ape2d/sh | 0.000004 | +| pdearena/navier_stokes_2d | 0.000083 | +| well/active_matter | 0.040528 | +| well/turbulent_radiative_layer_2D | 0.436246 | + +Selection basis: full585 physical-operator comparison: candidate0.78193207, current0.78507242 + +Outcome: did not improve validation reward; retained current package. + +## E179 E124 update500 error analysis + +Existing full585 case and dataset sets match; thermal case/channel/step aggregations agree. Means {"candidate": 0.436245558640859, "comparison": 0.43734695742255775, "selected_E156": 0.4350606727655739}; wins versus E106 matched control 500 5/9. Single-seed continuation; original benchmarkTrue backend. Logged batches do not prove identical full sampling or CUDA trajectories. Sampling or objective differs, so logged loss values are not equivalent objectives. Sampling seed 20270118; package weight hashes {"coarse_weights.pt": "ad9a9996912c63eaaed7aa01423bc8598c9a8c966915b277ab64ce1774027dd3", "ensemble_weights.pt": "0c9c49ae6a7da1fbae8d3f21d94b26311467ba1fd991b59877c872973f1a6c23", "mean_weights.pt": "3b423a0afbb46bafc914d62daaf8611a1b30ae424b8c517d846cbb93d4d6578c", "weights.pt": "9035764e0aeddc8b09117405df4cff8c99dc18486170f15fd28245084c34be9c"}. All19 dataset VRMSE values, logs and comparisons in resultSHA `3ae6935fec04953998baa363301109c12028b241f18be307356352634f70107b`. Zero new forecasts, target-array reads, optimizer updates or seeds. Original selection unchanged. Figure awaits inspection. + +## E179 E124 midpoint paired figure inspected + +E124 score-objective update500 full585reward0.7819320693518983,0failed; thermal0.436245558640859 versus matched E106500control0.43734695742255775 and E1760.4350606727655739. Five of nine control case wins, density and both velocities improve, pressure worsens; all three windows improve versus matched control. Four panels visually inspected. MainSHA9035764e0aeddc8b09117405df4cff8c99dc18486170f15fd28245084c34be9c; analysisSHA3ae6935fec04953998baa363301109c12028b241f18be307356352634f70107b. Seed20270118; loss values incomparable across different objectives. Original1000update continuation and both-report E170 gate unchanged; no additional fitting, forecasts or checkpoint selection. + +## Standalone recovery auditors prepared without training interruption + +Separate CPU-only auditor supports E174/E177/E183/E186 native snapshots. Four manufactured schemas pass and78 model/optimizer/counter/LR/RNG/provenance corruption mutations are rejected. Checks exact parameter-group order, absolute body/head counters, original parsed configuration, copied source and fixed guide hashes; E177/E186 physical PCG64 metadata-only replay preserves every8draws and E186every64long horizon. No target-array reads, CUDA, forward/backward or optimizer updates; manufacturedfixtures are not trained checkpoints. First-real-snapshot watcher running; actual receipts pending. No DataLoader replay/resumption/bitwiseCUDA claim. ProtocolSHA75193d5d662e913623348c9a94d754e1bbf773bef5ff6882f49fae5f51ebfe54;checksSHAf9d6b830f9937019607a96aced096890f6f6d3cb83a9abf2585363d13bfa4c9a. Original scientific protocols and queued trainers unchanged. + +## E187 complete initial-window ensemble composition + +E187 one E170-authorized composition. CompleteE1231kwidth48/96 ensemble, bothmodels/equalfloat64complete-outputavg/everycase; E176commonencoder/guides/GS.3/fusion/streams/statelessprefix retained. 16992454parameters,nooptimizer/newseed. Maina63829d3,second0c9c49ae,encoder0fc425a0; inheritedsampling20270118/override20270213,encoder20261127+28. Bidirectionalexactsource/assets/tensors,42CPUtwo-memberprefixfixtures/allprotectedmutations,28portableforecasts/6strictphysicalrefs passed. Freshall9thermaloutputsbitexactchosenlearner;576strictphysicalsource/metadata/hash/alltranslationprefixreuse; officialfull585/81 and15exactindependentrepeats beforewin. MainSHA `a63829d38bef16f84f7e25faf5297b9f3b62afc401c396d5011d3bb89c500d5b`, secondSHA `0c9c49ae6a7da1fbae8d3f21d94b26311467ba1fd991b59877c872973f1a6c23`, encoderSHA `0fc425a0cf92a0d25cc8beae5b2cb291cef63f56f6c17c7f9ebd84342e06848d`, protocolSHA `4d007dc0a4b5580f0274a080925ce6bf17121c7e96c93c5cb026d6e013b08a17`, reportSHA `928fe8f97f4dba699f6aa361eaba1524fa78de3a9ca763fcce52439b32b35a1a`. Fullreward0.7851523375253472,0failed,quick0.8137247632208982. + +| Dataset | Full VALID VRMSE | +|---|---:| +| ape2d/burgers | 0.0075675356854 | +| ape2d/decay_turb | 0.000288901618749 | +| ape2d/diff | 2.51784077127e-06 | +| ape2d/fisher | 5.45119100602e-06 | +| ape2d/gs_alpha | 0.00251330314197 | +| ape2d/gs_beta | 0.00485442191926 | +| ape2d/gs_delta | 0.0209169332632 | +| ape2d/gs_epsilon | 0.000796584539428 | +| ape2d/gs_gamma | 0.0588423936929 | +| ape2d/gs_iota | 0.00719492328713 | +| ape2d/gs_kappa | 0.00758642694505 | +| ape2d/gs_theta | 0.016770683122 | +| ape2d/kdv | 0.0246752780929 | +| ape2d/kolm_flow | 0.0116622870804 | +| ape2d/ks | 2.35692808315e-05 | +| ape2d/sh | 5.34847814421e-06 | +| pdearena/navier_stokes_2d | 8.1143169072e-05 | +| well/active_matter | 0.0852383456597 | +| well/turbulent_radiative_layer_2D | 0.434101053381 | + +Outcome: Improved actual current full585 reward; published atomically. + +## E187 complete composition descriptive analysis + +Thermalpairedwins5/9 againstE176. Allfourchannels/thirtyforecaststeps/threewindows/all19datasetmeans recorded; fresh9bitexactoriginalE123 outputs. Descriptiveonly,noadditionalfittingorselection. ResultSHA b4c657bda5f4e0684ca9ef8011248e010379338b20e12ecaf21bd62f1b6aa61d. Figure awaits inspection. + +## E187 published composition figure inspected + +Full585reward0.7851523375253472 versus E1760.7850724219084871,0failed; quick81reward0.8137247632208982. Thermal0.43410105338056476 versus0.4350606727655739;5/9pairedwins, allthreewindowsimprove slightly, density/velocities improve andpressure0.8821298160->0.8856319571 worsens. Corpus0.010231659948693987,Arena0.00008114316907195506,active0.08523834565974923 unchanged by strict576physicalreuse. Fresh9thermal outputs bitexact E123chosenensemble andall15independentrepeats exact. Bothwidth48/96complete members/equalF64average/everycase plusfixedcommonencoder/guides retained,16992454parameters. Runtimeassets ofsubmission verified equal selected package; pretrained_assets empty. ReportSHA928fe8f97f4dba699f6aa361eaba1524fa78de3a9ca763fcce52439b32b35a1a;analysisSHAb4c657bda5f4e0684ca9ef8011248e010379338b20e12ecaf21bd62f1b6aa61d. Fourpanels visually inspected. E170 E123onecomposition consumed; no furtherblend/memberdrop variant. + +## E188 normalization-gradient diagnostic frozen / CPU checks passed + +Hypothesis: gradients through rolling mean/std materially change full30 learning direction. Fixed E123first shared width48member a63829d38bef16f84f7e25faf5297b9f3b62afc401c396d5011d3bb89c500d5b andfixedguide3b423a0a, same9nativeinitialTRAINcontexts. Original numericalnormalizers vsdetachedmean/std, twofreshrepeats each pluslocaltruehistory; exactforward/loss equality required onfourARarms.54rawtrajectories/45backwards/zerooptimizer,newtrainingseednone,constructor0. Complete/head/othergradients andlocalalignment descriptiveonly; no automaticcandidate or claim originalcorrectderivativeiswrong. SixCPUfixtures tiny/odd/1,4,11channels/guided+unguided passsource-reversal/state/RNG/allforwardbits andindependentexplicitfrozen-normalizer parameter/inputgradientbitidentity. Initialdoublefixturefailedparentfloat32spectraldtypebeforefirstcompletedforward; failurearchive/amendment retained andfixedtoactualsupportedfloat32, exactgatesunchanged. ProtocolSHA4d6d3e3a8955edf34cff5c6e72b66b809d44e7310a26bdf4f4bcc36aeec24c74;CPUchecksSHAa8ce784339d95b9b652478afeb479ae5cf481f26eb2238fd6fa1ca7368172878. E18715repeatscomplete, so no-updateGPUstudy maystart; ownallocated/reserved<24GiB,oneoptimizerremains E124. No VALID/heldout/inferencepackagechanges. + +## E188 isolated guide import corrected before native forwards + +Diagnostic isolated original module under unique name, while unchanged mean_model imports model constants. First launch failedbeforemodelconstruction/nativeforward/backward. Archived originalstudy/source/protocol/failure/log; registeralreadyloaded original module as model, thenimportguide. No tensor arithmetic, weights, cases, arms or numericalgates changed. SixCPUchecks reused underunchangedmodel/checksourcehashes andretainedpriorprotocol. NewprotocolSHA558b9589d5b6da4a751fa50387b2e6e9cee66b34001e3bdb2e57da803157f165;amendmentSHA83a759883dc7f81564bf4496f9b8648a194ef2e6d952d3648e6e0b1419b99062. No optimizer/VALID/selection effect; diagnosticrelaunched. + +## E188 normalization-gradient diagnostic complete + +Nine TRAIN cases,54 raw forward trajectories/45backwards/zerooptimizer. Original/detached forwardbits and losses exact; fresh backward repeats characterize numerical variability. Median path relativegradientchange0.5693139798084067, cosine0.8272674237671698; local-alignment difference median0.01695225610223096, improves6/9. Allmain/guideweights unchanged, ownpeaksunder24GiB. MainSHAa63829d38bef16f84f7e25faf5297b9f3b62afc401c396d5011d3bb89c500d5b;resultSHA7ccfb2ce4eb21ded5a50814f74fb0a5234615179f8a7f6fca194bc818c2e4324. Single shared member diagnostic only; local direction is not an optimum, and no training/generalization benefit is established. No automatic candidate. Figure awaits inspection. + +## E188 normalization-gradient figure inspected / diagnostic closed + +All9TRAINcases/54rawtrajectories/45backs complete,0optimizer,allweights unchanged. FourARarmsforwardbits/lossesexact. Median path relativegradientL2 .5693139798084067/cosine .8272674237671698; percasecosines.6309133–.9471584, normratios.874542–2.156356. Effect exceeds freshrepeatvariation (maxrelative .0096897). Local-gradient alignment changes median+.0169522561, improves6/9 but absolute alignmentsremain nearzero ornegative. Largest ownallocated/reserved15.84765625GiB<24. FourpanelsVIEWED. Interpretation: normalizationderivatives materially affectlearningdirections, but thisdiagnostic doesnotestablishthat biaseddetachmentimprovestraining/generalization; localobjectiveisnotanoptimum. Closewithoutnewoptimizer, detachvariantorhyperparametersweep. Maina63829d3;resultSHA7ccfb2ce4eb21ded5a50814f74fb0a5234615179f8a7f6fca194bc818c2e4324; no newtrainingseed. SelectedE187unchanged. + +## E189 matched all-initial-window follow-up plan frozen + +Positive E123 policy.75 motivated oneendpointfollow-up: independentoverride2/3→1, everyTRAINwindow starts0. SameoriginalE123/E106initial956092907d8d7d163de708e1be1c6fa7e5b369bbdc6954dc48178acf351efbc0, seeds20270118/unusedreflection20270119/override20270213, all19/nativefull30/B2x3/noise.01/LR3e-5/groups/optimizer/1000updates/5001kselection. TrainingcodeidenticalE123 exceptpostoptimizeratomic25recovery. CompleteE187runtime/fixedsecond/commonencoder/guides retained,everyroleeverycase,16992454parameters,onlyfirstweightsreplace. Preflight480realwindows/sixworkerstreams/originaldraws/native0slices,32exportmutations,3actualnativebackwardmicrobatches/0updates/allocated+reserved<40GiB. QueueafterE186onlyifchecks/finalprotocolpass. Fresh9thermal+strict576explicitderivedcoverage/full585/81/15exactrepeats/currentbestatomic. MatchedE123/E106thermalcomparisons,one-seedlimitation. No broaderprobability/seed/blendsweep. PlanSHA803730b762ec76a41cd140a9ba4e24a18dcd8779dc29de2bfba8dba68e73fc36. Nooptimizer/VALIDyet;pretrained_assets empty. + +## Full validation of score_001000 + +All 585 validation trajectories, starting at frame 0; no held-out trajectories. Reward **0.782069**, failed cases 0. Neural initialization seed 20261021; sampling seed 20270118; checkpoint SHA256 `ddde02118c0d61298abc00232ce659685a800b879ca8f3c2da1eb0afc4150792`. Same model as the corresponding quick-validation experiment; changed factor: expanded validation sample only. + +| Dataset | VRMSE | +|---|---:| +| ape2d/burgers | 0.007568 | +| ape2d/decay_turb | 0.000289 | +| ape2d/diff | 0.000003 | +| ape2d/fisher | 0.000005 | +| ape2d/gs_alpha | 0.003239 | +| ape2d/gs_beta | 0.004901 | +| ape2d/gs_delta | 0.022624 | +| ape2d/gs_epsilon | 0.000889 | +| ape2d/gs_gamma | 0.062780 | +| ape2d/gs_iota | 0.006619 | +| ape2d/gs_kappa | 0.008764 | +| ape2d/gs_theta | 0.019424 | +| ape2d/kdv | 0.024675 | +| ape2d/kolm_flow | 0.011662 | +| ape2d/ks | 0.000024 | +| ape2d/sh | 0.000005 | +| pdearena/navier_stokes_2d | 0.000081 | +| well/active_matter | 0.087494 | +| well/turbulent_radiative_layer_2D | 0.434602 | + +Exact reuse protocol for a shared-neural change: all physical assets/configuration match /run-state/workspace/research/output_ensemble_v1/validation. The source per-case log audit verifies552 complete corpus/smoke physical rollouts and24 complete active rollouts; all576 outputs have unchanged dependencies. For a shared latent-state head, those dependencies include neural weights, guide assets, postprocessing and serving configuration; neural-weight changes cannot reuse these active predictions. The nine neural radiative-layer outputs were replayed with exact context/metadata equality to full inputs and freshly scored with the official scorer. Reaggregate their official per-case scores and the576 audited unchanged per-case scores using the exact aggregation code extracted from the official scorer. Report provenance includes scorer/source-report hashes and the reuse audit. All585 prediction files are retained. This avoids rereading unchanged targets without approximating the metric. + +Outcome: recorded full validation for audit and comparison; no automatic comparison against the distinct quick-validation sample. + +## E124 — main VRMSE objective, update 1000 +- Hypothesis / changed factor: Clamped normalized RMSE objective continuation, update1000/1000, sampling/noise seed20270118, unchanged unused reflection RNG20270119. Same pinned E101 initial checkpoint, no-reflection sampler, optimizer and schedule as the reused E106 control. Replace log1p(MSE/variance) with sqrt(MSE/variance+1e-12), clamped at10 per channel/step then averaged. Target unbiased spatial variance plus1e-7 remains unchanged. Only the training loss changes; no new parameters, RNG draws, sampling or inference code. Full30 rollout (corpus26/Arena10),batch2x3,AdamW LR3e-5 cosine,noise0.01,groups.05/.075/.075/.8. First width48 main trained across all19datasets; fixed width96 second member and E072/E033 auxiliary models. Both complete members execute every case, with unchanged equal output averaging, physics, translations and corrections. Training checkpointSHA256 21f2091a51dc18767f883f50e1fcdc83a2ce3f64ef84521bc71dbe4828c1966e, packaged mainSHA256 ddde02118c0d61298abc00232ce659685a800b879ca8f3c2da1eb0afc4150792. Matched E106 control full585 reward 0.7819993323925672; candidate 0.7820686794882096. All9 thermal VALID forecasts fresh and576 complete physical forecasts reused after unchanged source/config/input/coverage audit. Full585 compared to actual current selection; neural/unfamiliar exact repeat checks before a win. No pretrained or synthetic assets, held-out data or inference-time fitting. +- Seed: 20261106. +- Checkpoint SHA256: `ddde02118c0d61298abc00232ce659685a800b879ca8f3c2da1eb0afc4150792`. +- Runtime code SHA256: `087b1a80f5bdd055700c84312cca54cc5773ad4f9a4d5fb39a9d3b5f98a1c633`. +- Validation: fixed 81-case subset; reward **0.812846**, failed cases 0. + +| Dataset | VRMSE | +|---|---:| +| ape2d/burgers | 0.006413 | +| ape2d/decay_turb | 0.000381 | +| ape2d/diff | 0.000003 | +| ape2d/fisher | 0.000003 | +| ape2d/gs_alpha | 0.003095 | +| ape2d/gs_beta | 0.004740 | +| ape2d/gs_delta | 0.019250 | +| ape2d/gs_epsilon | 0.001366 | +| ape2d/gs_gamma | 0.049313 | +| ape2d/gs_iota | 0.001785 | +| ape2d/gs_kappa | 0.004855 | +| ape2d/gs_theta | 0.004678 | +| ape2d/kdv | 0.016728 | +| ape2d/kolm_flow | 0.008926 | +| ape2d/ks | 0.000033 | +| ape2d/sh | 0.000004 | +| pdearena/navier_stokes_2d | 0.000083 | +| well/active_matter | 0.040528 | +| well/turbulent_radiative_layer_2D | 0.434602 | + +Selection basis: full585 physical-operator comparison: candidate0.78206868, current0.78515234 + +Outcome: did not improve validation reward; retained current package. + +## E170 E124 recurrent-role assessment + +Bothdeclared500/1000full585reportsrecorded. Choosefailure-free lowestthermalVALID,earlierstepontie: 1000,thermal0.43460197626779956 versusactualselected0.43410105338056476. Integrationjustified=False. Originalfullpackages/reportsandall19means/checkpointhashes retainedindecisionSHA `bacec2af706ab87061c24dd28ba54908bc7753d5f4183e6d482c1be568af6524`. Closeassessmentwithoutnewforecasts ormodelchanges. Nooptimizer/newseed/target-arrayreads; no checkpoint routing bydataset. Sourcecompatibility/completeall-caseexecution/exactforward/reuseproof/full585/currentbest/15repeatsremainmandatory. Existing VALID selection only. No composed score, model or runtime compatibility has yet been demonstrated. + +## E179 E124 update1000 error analysis + +Existing full585 case and dataset sets match; thermal case/channel/step aggregations agree. Means {"candidate": 0.43460197626779956, "comparison": 0.4354355289580768, "selected_E156": 0.4350606727655739}; wins versus E106 matched control 1000 6/9. Single-seed continuation; original benchmarkTrue backend. Logged batches do not prove identical full sampling or CUDA trajectories. Sampling or objective differs, so logged loss values are not equivalent objectives. Sampling seed 20270118; package weight hashes {"coarse_weights.pt": "ad9a9996912c63eaaed7aa01423bc8598c9a8c966915b277ab64ce1774027dd3", "ensemble_weights.pt": "0c9c49ae6a7da1fbae8d3f21d94b26311467ba1fd991b59877c872973f1a6c23", "mean_weights.pt": "3b423a0afbb46bafc914d62daaf8611a1b30ae424b8c517d846cbb93d4d6578c", "weights.pt": "ddde02118c0d61298abc00232ce659685a800b879ca8f3c2da1eb0afc4150792"}. All19 dataset VRMSE values, logs and comparisons in resultSHA `9d85a77de089774eeec1288ff228268d83c1e327639362976d39ac563144df35`. Zero new forecasts, target-array reads, optimizer updates or seeds. Original selection unchanged. Figure awaits inspection. + +## E189 all-initial matched continuation queued after preflight + +480realTRAINwindows/sixworkerstreams/unchangedoriginaldraws+metadata/exactframe0native slices pass;32protectedexportmutations andoriginalE123initialtensorparity pass. Actual3microbatchB2nativefull30backward,0updates/finitegradients/unchangedweights/ownallocated+reserved<40GiB. Runtimearchitecture/all27fixedassets identicalE187,firstmember onlytrainable. SameE123initial/seeds/settings,one changed override2/3→1. All19datasets,1000updates/5001konly,afterE186. Fresh9thermal+strict576explicitderivedcoverage/official585+81/15exactrepeatsbeforewin/actualcurrentatomic;allmembers/encoder/guides everycase,16992454parameters. Operational25snapshots only; no pretrained/heldout/synthetic/inferencetraining. ProtocolSHAa3f117e5c704d17bb7a3cfab6768c4b1af11eaad5af63614746f89909725bd44;preflightSHA2dfd72c9e885c38877ec5c60ddda06e3e7bbd09feb4ac648888212eb74e8a301;initialSHA956092907d8d7d163de708e1be1c6fa7e5b369bbdc6954dc48178acf351efbc0. NooptimizerorVALIDyet. + +## E179 E124 final figure inspected / replacement gate closed + +E1241kfull585reward0.7820686794882096/0failed,thermal0.43460197626779956 versusmatchedE1061k0.4354355289580768,6/9wins/allfourchannels/allthreewindowsbetter. ItalsoimprovesoldE176thermal0.43506067 butisbehindactualselectedE1870.43410105338056476. E170both-reportgate snapshotstheactualE187andrejectsreplacement; no composition. FourpanelsVIEWED,originalmainlossvaluesnotcomparableacrossobjectives. MainSHA ddde02118c0d61298abc00232ce659685a800b879ca8f3c2da1eb0afc4150792;reportSHA98b9cedb9ab4205c6b1ca735f7b40f27bf7e815e79f14b60d438f33d1c07854b;analysisSHA9d85a77de089774eeec1288ff228268d83c1e327639362976d39ac563144df35. Seeds20270118/unusedreflection20270119;2644.7straining,peak30.039622GiB. E130nowsoleoptimizer. Noadditionalcheckpoint/seed/inferenceblendsearch. + +## E130 first operational recovery snapshot audited + +CPU serialization audit passed at update 75 / 225 consumed microbatches: all183 model tensors/3066627elements and all183 Adam states have expected shapes/dtypes/finite values/counter75; original absolute LR, copied source, initial checkpoint, CPU/Python/NumPy RNG and one saved CUDA RNG verified. No CUDA initialized, no model/training state modified and no new VALID selection. This is serialization/provenance evidence, not a resumed DataLoader/CUDA trajectory demonstration. CheckpointSHA256 e8bdbf57a08b6f04f63187440f3d91519c30e42416db43d236a62ac4af7bc7f1; receiptSHA256 94d1ba3bd622cee1ab7f8f82ecdcc07dd63708f69ad94e0020bc0f71c327c95d. Training continues under original E130 frozen protocol, seed20270118; only500/1000 selection. + +## E190 sole missing matched factorial cell frozen before preflight + +E123 initial-window policy andE124 scored objective each improved both checkpoints againstmatchedE106. One new1000-update combination tests whethergains combine; same95609290initial/seed20270118/override20270213/settings asE123, exactE124clampedVRMSEloss added. OriginalE124replacementline remainsclosed;no inferenceblending/probability/loss/seed sweep. Two-parent exacttrainerrecovery alreadypasses; sampler/objectiveproofs reusedbyhash, freshcombinednative3microbatchbackward andexportgatespending. CurrentcompleteE187runtime/allmembersfixedexceptfirstweights, all19nativefull30/B2x3/noise.01/LR3e-5/groupsunchanged; only5001kselection/fresh9thermal+strict576/full585/81/15exactrepeats/currentbestatomic. QueueafterE189 onlyafterallgates. PlanSHA256 22380412625c99230ed0ae2159cf9f7ca9ea221f4664e9e2cf1c333d714caa64. Nooptimizer/newVALIDyet. + +## E190 matched initial-window x scored-objective combination queued after preflight + +Exact two-parent trainer source proof passed: removeobjective+operationalhook recoversE123; removesampling+hook recoversE124. Reused480windowE123sampler and9TRAINobjectivechecks byexactsource/receipthashes, notnewdraws.32protectedexportmutations andoriginalE123initialtensorparity pass. Actual3microbatchB2nativefull30backward,0updates/finitegradients/unchangedweights/ownallocated+reserved<40GiB. Runtimearchitecture/all27fixedassets identicalE187,firstmember onlytrainable. SameE123initial/seeds/settings/override2/3, addexactE124clampedVRMSEloss. Completeone2x2factorialcell, noextra probability/loss/seed/ensemble sweep;E124replacementremainsclosed. All19datasets,1000updates/5001konly,afterE189. Fresh9thermal+strict576explicitderivedcoverage/official585+81/15exactrepeatsbeforewin/actualcurrentatomic;allmembers/encoder/guides everycase,16992454parameters. Operational25snapshots only; no pretrained/heldout/synthetic/inferencetraining. ProtocolSHAb33e03ec850621d9acd9ef382e12c32047c353fc4c5dc9a54be4e8d0839b94e4;preflightSHAbd1a9e97175bf5bc6ee56f0050461a7da8f035ac42aba84e3929a4d46bd4f732;initialSHA956092907d8d7d163de708e1be1c6fa7e5b369bbdc6954dc48178acf351efbc0. NooptimizerorVALIDyet. + +## E191 omitted member-decoder derivatives frozen + +Reuse nineE188cachedsingle-member/translation0rawTRAINforecasts fromselecteda638weights. Compare raw, E130meanprofile andexactwithin-memberregularize/statistics/momentum/coarse derivatives onCPU; selectedpressure/profile shrink0. Raw-fieldgradients inphysical/context-scaledcoordinates plus pressurecross-channelenergy; no neuralparametergradient/generalization/fullservingclaim. Excludes finaltranslation/membercombination/densitytransport. SixmanufacturedexactCPU/finite/directionalchecks first; nativeCPUexactforwardgates;18fixedguidecalls/36rawfieldbackwards/0neuralrollouts/0optimizer/noVALID. ProtocolSHA7c985ed5d2e7d616aa54621af935bb31759dd1a1a599a1f554ea6065ef355f3f. Noautomatictrainingcandidate; fixedfigureinspectionrequired. + +## E191 member-decoder output-gradient diagnostic complete + +Nine existingE188single-translationrawTRAINforecasts, no newneuralrollout/optimizer/VALID. Sixmanufacturedfixtures/18arms exactCPUvalues+directionalchecks; allnativearms originalCPUforwardbits exact, inputs/raw/guideweights unchanged. Originalmean/coarsefixedCPUguidecalls18; raw-fieldbackwards36. Membervsstatistics medians{"physical": {"cosine": 0.9457723644731245, "relative_difference": 0.32899203558937207, "norm_ratio": 0.9893573109261709}, "context_scaled": {"cosine": 0.8416089662306113, "relative_difference": 0.5998754631212686, "norm_ratio": 1.1026764350862972}};meanVRMSE{"raw": 0.3674478560351246, "statistics": 0.3736126332269716, "member_decoder": 0.37267413219065726}. Output-space only, notneuralparametergradients; excludes finaltranslation/memberaveraging/densitytransport. MainSHAa63829d38bef16f84f7e25faf5297b9f3b62afc401c396d5011d3bb89c500d5b;resultSHAaa6180741531d67df914f48acc4a26e46504f4a7619ef529f40117599237b429. Noautomaticcandidate. Figure awaits inspection. + +## E191 decoder derivative figure inspected / output diagnostic complete + +Viewed allfourpanels. Relative tostatistics-only, within-memberdecoder changes context-scaled raw-outputgradient bymedian0.5998754631 withcosine0.8416089662; physical-coordinate medianchange0.3289920356/cosine0.9457723645. Statistics/raw comparison is0.2091350170/cosine0.9793176875. Pressure-only gradient sends20.80–37.67percent ofcontext-scaled squaredgradientenergy intodensity/velocities, throughfixedmomentumcoupling. MeanTRAINsingletranslationVRMSE raw0.3674478560/statistics0.3736126332/member0.3726741322: corrected values are notbetterthanraw ontheseTRAINexamples, so thisdoesnotjustifyremovingvalidatedcorrections orclaiminggeneralizationgain. AllnativeCPUvaluebitsandweights unchanged,0neuralrollouts0updates. Source/receipt/gradients retained; resultSHA aa6180741531d67df914f48acc4a26e46504f4a7619ef529f40117599237b429. Thisoutput-space diagnostic iscomplete; anyparameterpullback requiresa separatelyfrozenprotocol, no trainingcandidate opened. + +## E192 cached decoder-adjoint parameter pullback frozen + +E191outputgradientdifference motivates a separate no-update neuralJacobianprojection. NineexistingTRAINcontexts, sameE123a638main/3b423guide;9freshGPUrawrollouts mustmatchallE188outputbits beforederivatives. ThreeE191CPUoutputadjoints eachreceiveA/BVJP onretainedgraph:54backs0updates, fixedorder/constructorseed0/BF16/benchmarkFalse/deterministicTrue. All/head/other/per-layergradientcomparisons andfreshrepeatvariation; ownallocated/reserved24GiBcap, no numerical/resource retries. CPUdecoderobjective/omittedfinalensemble+transportscope unchanged; notfullGPUservinglossoroptimizer/generalizationclaim. Noautomatictrainingcandidate;E130VALIDpending. ProtocolSHA 39654ee377e302f1244ce9b77dae0affc64c52fe96ac9125287dc6ea937feb17. + +## E192 decoder adjoint parameter pullback complete + +NinefreshsinglememberTRAINrawforwards allE188bits exact,54pairedparameterVJPs/0updates; originalweightsandguide/RNGunchanged. Mediancomparisons{"statistics_vs_raw": {"cosine": 0.9285150100143436, "norm_ratio": 0.9367826992783953, "relative_difference": 0.37129492649458495}, "member_vs_statistics": {"cosine": 0.9971702979563981, "norm_ratio": 0.9595697895038636, "relative_difference": 0.08093898384959329}, "member_vs_raw": {"cosine": 0.9207250384465698, "norm_ratio": 0.8748945263009216, "relative_difference": 0.3911597462712111}};maxrepeatrelative0.009622834452660605. FrozenCPUdecoderadjoints throughGPUautorecurrence, notfullGPUservingloss; nooptimizer/generalizationclaim orautomaticcandidate. MainSHAa63829d38bef16f84f7e25faf5297b9f3b62afc401c396d5011d3bb89c500d5b;resultSHAcc5c09a9371bbdc11d737f400c5bc6ef8cfaa2c2bd962d5c8d41e6db23bff572. Figure awaits inspection. + +## E192 parameter pullback figure inspected / decoder follow-up closed + +Viewedfourpanels. NeuralJacobian largely suppressesE191additionaldecoderchange: member/statistics parametergradientcosinemedian0.9971703(range0.974301–0.998738),medianrelativeL2change0.080939 andnormratio0.959570, versusoutputscaledchange0.599875. LargesttwoTRAINcasesretainrelative0.289626/0.181975; effectsabovefreshrepeat(max0.0096228, minimumeffect/repeat8.4168), but directionsremainstronglyaligned. Statistics/rawparametercomparisonmediancos0.928515/rel0.371295, consistentwithE130alreadytestingthelargerchange. All9newrawrollouts E188bits exact,54VJPs/0updates,weights/RNGunchanged,peakown15.92578125GiB. ResultSHA cc5c09a9371bbdc11d737f400c5bc6ef8cfaa2c2bd962d5c8d41e6db23bff572. Closewithoutfull-memberdecodedtraining candidate; no optimizer/gain/generalizationclaim. E130original5001kVALID remainsdecisionbasis. + +## E193 tail-queue global composition assessment frozen + +WaitALL eightoriginal500/1kfull585reports fromE183/E186/E189/E190. Selectcomplete recurrentbundle fromE183/E189/E190 plusfixedE187/current, and indivisiblecommonencoder+F6F8basis fromE186 plusfixedE187/current;strictgroupgain/current-firstties,0newtargets/forecasts/optimizer. Thispreservesbestknowncomplement ifanewfullpackage tradesitoff. AtmostONEfutureseparatecomposition, neverdatasetcheckpointswitching/memberdrop/coefficientsearch; completecompatibility/fallback/portable/fresh33Well+strict552/full585/81/15exactrepeats/currentatomic required. Existingvalidatorsunchanged. InitialpreparationfoundE183selected_steps vsotherselect_only schema, correctedbothformatsbeforeprotocolfreeze/reportselection;originalfailure/referencecopies retained. Reference585/19/4groupmath andasset/manifestchecks pass. ProtocolSHA bee3226e1a6c18f70a25b37b8d56d256d9772b9f1ee0d6a4821e4ff1927d1029;preflightSHA 37592d05b2c0b77787e3a99662e1cda7b71441b74fc85edc6436f12b1d4f4ac4. NoassemblyorVALIDyet. + +## Full validation of decoded_000500 + +All 585 validation trajectories, starting at frame 0; no held-out trajectories. Reward **0.781733**, failed cases 0. Neural initialization seed 20261021; sampling seed 20270118; checkpoint SHA256 `7f66db83a534b6f0b98a024c0663006220b94c7851e0b16c257f70c66dff60ed`. Same model as the corresponding quick-validation experiment; changed factor: expanded validation sample only. + +| Dataset | VRMSE | +|---|---:| +| ape2d/burgers | 0.007568 | +| ape2d/decay_turb | 0.000289 | +| ape2d/diff | 0.000003 | +| ape2d/fisher | 0.000005 | +| ape2d/gs_alpha | 0.003239 | +| ape2d/gs_beta | 0.004901 | +| ape2d/gs_delta | 0.022624 | +| ape2d/gs_epsilon | 0.000889 | +| ape2d/gs_gamma | 0.062780 | +| ape2d/gs_iota | 0.006619 | +| ape2d/gs_kappa | 0.008764 | +| ape2d/gs_theta | 0.019424 | +| ape2d/kdv | 0.024675 | +| ape2d/kolm_flow | 0.011662 | +| ape2d/ks | 0.000024 | +| ape2d/sh | 0.000005 | +| pdearena/navier_stokes_2d | 0.000081 | +| well/active_matter | 0.087494 | +| well/turbulent_radiative_layer_2D | 0.438654 | + +Exact reuse protocol for a shared-neural change: all physical assets/configuration match /run-state/workspace/research/output_ensemble_v1/validation. The source per-case log audit verifies552 complete corpus/smoke physical rollouts and24 complete active rollouts; all576 outputs have unchanged dependencies. For a shared latent-state head, those dependencies include neural weights, guide assets, postprocessing and serving configuration; neural-weight changes cannot reuse these active predictions. The nine neural radiative-layer outputs were replayed with exact context/metadata equality to full inputs and freshly scored with the official scorer. Reaggregate their official per-case scores and the576 audited unchanged per-case scores using the exact aggregation code extracted from the official scorer. Report provenance includes scorer/source-report hashes and the reuse audit. All585 prediction files are retained. This avoids rereading unchanged targets without approximating the metric. + +Outcome: recorded full validation for audit and comparison; no automatic comparison against the distinct quick-validation sample. + +## E130 — fixed statistical-decoder loss, update 500 +- Hypothesis / changed factor: Fixed statistical-decoder loss continuation, update500/1000, sampling/noise seed20270118, unchanged unused reflection RNG20270119. Same pinned E101 initial checkpoint, no-reflection sampler, optimizer and schedule as the reused E106 control. Keep original log1p(MSE/variance) but evaluate it after the exact fixed mean/profile correction (.5/.25), with gradients through that correction. Raw predictions still populate the recurrent context. This is a partial serving-alignment test; coarse/momentum/density/support corrections are not in the loss. Only the training loss changes; no new parameters, RNG draws, sampling or inference code. Full30 rollout (corpus26/Arena10),batch2x3,AdamW LR3e-5 cosine,noise0.01,groups.05/.075/.075/.8. First width48 main trained across all19datasets; fixed width96 second member and E072/E033 auxiliary models. Both complete members execute every case, with unchanged equal output averaging, physics, translations and corrections. Training checkpointSHA256 394930f6bd9ab67dd65a48f60154e97af67030f099f5a101df52db6ecc1340f8, packaged mainSHA256 7f66db83a534b6f0b98a024c0663006220b94c7851e0b16c257f70c66dff60ed. Matched E106 control full585 reward 0.7818408117655686; candidate 0.781732783654932. All9 thermal VALID forecasts fresh and576 complete physical forecasts reused after unchanged source/config/input/coverage audit. Full585 compared to actual current selection; neural/unfamiliar exact repeat checks before a win. No pretrained or synthetic assets, held-out data or inference-time fitting. +- Seed: 20261106. +- Checkpoint SHA256: `7f66db83a534b6f0b98a024c0663006220b94c7851e0b16c257f70c66dff60ed`. +- Runtime code SHA256: `087b1a80f5bdd055700c84312cca54cc5773ad4f9a4d5fb39a9d3b5f98a1c633`. +- Validation: fixed 81-case subset; reward **0.812510**, failed cases 0. + +| Dataset | VRMSE | +|---|---:| +| ape2d/burgers | 0.006413 | +| ape2d/decay_turb | 0.000381 | +| ape2d/diff | 0.000003 | +| ape2d/fisher | 0.000003 | +| ape2d/gs_alpha | 0.003095 | +| ape2d/gs_beta | 0.004740 | +| ape2d/gs_delta | 0.019250 | +| ape2d/gs_epsilon | 0.001366 | +| ape2d/gs_gamma | 0.049313 | +| ape2d/gs_iota | 0.001785 | +| ape2d/gs_kappa | 0.004855 | +| ape2d/gs_theta | 0.004678 | +| ape2d/kdv | 0.016728 | +| ape2d/kolm_flow | 0.008926 | +| ape2d/ks | 0.000033 | +| ape2d/sh | 0.000004 | +| pdearena/navier_stokes_2d | 0.000083 | +| well/active_matter | 0.040528 | +| well/turbulent_radiative_layer_2D | 0.438654 | + +Selection basis: full585 physical-operator comparison: candidate0.78173278, current0.78515234 + +Outcome: did not improve validation reward; retained current package. + +## E130 statistical decoder loss descriptive paired analysis, update500 + +Thermal VRMSE: E101 parent0.4368911756234454, matched control0.43734695742255775, candidate0.43865435644140927. Candidate improves5/9 versus control and5/9 versus parent. Late steps13–30: control0.5258797683704173, candidate0.5278811497766851. Other576 official case results match E101 exactly. Descriptive only after full585 scoring/selection; no fit/new optimizer or model change. Nine thermal trajectories limit generalization claims. Per-case/channel/horizon results and unviewed standalone figures in statistical_loss_analysis_v1/statistical_loss_v1_decoded_000500. CheckpointSHA256 `7f66db83a534b6f0b98a024c0663006220b94c7851e0b16c257f70c66dff60ed`, analysisSHA256 `f6d16069032de82f028ec00fa831f32cab0434102d710412eae207c4aeb13ccc`. + +## E179 E130 update500 error analysis + +Existing full585 case and dataset sets match; thermal case/channel/step aggregations agree. Means {"candidate": 0.43865435644140927, "comparison": 0.43734695742255775, "selected_E156": 0.4350606727655739}; wins versus E106 matched control 500 5/9. Single-seed continuation; original benchmarkTrue backend. Logged batches do not prove identical full sampling or CUDA trajectories. Sampling or objective differs, so logged loss values are not equivalent objectives. Sampling seed 20270118; package weight hashes {"coarse_weights.pt": "ad9a9996912c63eaaed7aa01423bc8598c9a8c966915b277ab64ce1774027dd3", "ensemble_weights.pt": "0c9c49ae6a7da1fbae8d3f21d94b26311467ba1fd991b59877c872973f1a6c23", "mean_weights.pt": "3b423a0afbb46bafc914d62daaf8611a1b30ae424b8c517d846cbb93d4d6578c", "weights.pt": "7f66db83a534b6f0b98a024c0663006220b94c7851e0b16c257f70c66dff60ed"}. All19 dataset VRMSE values, logs and comparisons in resultSHA `fdc5ffb80aaa35a45ed1d3fc854b452fd03dacb6616bd954b012c7be21938395`. Zero new forecasts, target-array reads, optimizer updates or seeds. Original selection unchanged. Figure awaits inspection. + +## E179 E130 midpoint figure inspected + +Viewed allfourpanels. E130500thermal0.43865435644140927 vs matchedE1065000.43734695742255775/currentE1870.43410105338056476;full585reward0.781732783654932/0failed.5/9pairedwins butlargerlow-cooling lossesdominate;densityimproves,pressureandbothvelocitiesworsen;allthreewindowsworse. MainSHA7f66db83a534b6f0b98a024c0663006220b94c7851e0b16c257f70c66dff60ed;reportSHA7ddd04f7094493f0488f2fda556da76a960f8a6cc9dd8aa9bd48533e87d7540f;analysisSHAfdc5ffb80aaa35a45ed1d3fc854b452fd03dacb6616bd954b012c7be21938395. Original1000update run continues;E170waitsBOTHreports/currentbest. No midpointcomposition, extra checkpointor lossvariant. + +## E194 cached coefficient-bandwidth screen frozen + +Use existingE143/E175sixTRAINnative256coefficientadjoints; no trajectory/target/forward/newgradient/optimizer readsorcomputations. ExactoriginalFourierresample extractedwithoutsolver,16vs32only. PrimaryE143CartesianF6zeroadditivebasis;orientedF6/F8descriptiveonly. Checkmode/Nyquistfixtures/projectionalgebra/baseline16capture; gate medianextraenergy>=.10 and5of6>=.05 before anytrainingconsideration. Noresolution/threshold/basissweeporautomaticcandidate; fixedfigureinspection. Encoder0fc425a0...,protocolSHA 1558a8474202f9ff5730741e63d2f3bda1699baf7ed5aac87a0e9075b9a6f7ce. + +## E194 cached hidden-state spatial bandwidth result + +SixexistingTRAINadjointartifacts,exactFourierresampling/no solverimported. Sixmanufacturedmode/Nyquistfixtures andnativeprojectionidempotence/orthogonality/nesting/bandidentity pass;historical16capturewithin1e-9. PrimaryCartesianF6medianextra32gridenergy0.31744225791726793;cases>=.05 6/6;predeclaredrepresentationgate=True. F6oriented/F8orienteddescriptiveonly. Allarrays/RNGunchanged,0newtrajectory/target/forward/adjoint/optimizer/VALID. Localfoursteprepresentation, notlearnability/full30gain; noautomaticcandidate. EncoderSHA0fc425a0cf92a0d25cc8beae5b2cb291cef63f56f6c17c7f9ebd84342e06848d;resultSHAd6d3a5b4e7cda7431d6c29dea4ab608851cd084d1efaa003389375a03e093e40. Figure awaits inspection. + +## E194 spatial bandwidth figure inspected / primary screen positive + +Viewedfourpanels. Fixed16to32CartesianF6 space adds26.44–37.13percent ofnativegradientenergy, median31.7442258percent,all6above5percent andpredeclaredgatepasses.16capture.4904–.6965 vs32capture.8100–.9609; fine/coarseprojectednormratios.6161–.8702. OrientedF6/F8descriptivegainsalso positive butdidnotselecttheprimarybasis. ExactcachedsixTRAIN4stepadjoints/projectionidentities/0newforwards/0updates;resultSHA d6d3a5b4e7cda7431d6c29dea4ab608851cd084d1efaa003389375a03e093e40. Thisisfreelyvaryingcoefficientspace; learnedsharedheadmaynotreachit. A separatezeroheadfeatureprojectiondiagnostic isjustifiedbeforeanytraining; nooptimizerorresolution/basissweepopened. + +## E195 zero fine-head feature pullback frozen + +E194primarybandwidthgate positive; testactualfixedE0601kencoderfeatures beforetraining. SixoriginalE143TRAINcontextcaches/cachednativeCartesianF6adjoints, sameoriginalguide. Hypotheticalzero96weight1x1nobiashead: coarse16 vsfine32minus16projectionbeforetanh, independentadditiveCartesianF6field.12encoderforwards/24pairedVJPs, exactfreshhooked/unhookedoutputs andinitialF6zeroincrementbits, zerobackbonegrad, weights/RNGunchanged,own8GiBcap. Manufacturedzero/finite-difference/constantfeaturechecks first. No physicalforecast/targetevaluation/optimizer/VALID. Gate medianfine/coarse96weightnorm>=.10 and5of6>=.05; noalternativegate/basis/head/resolution. Thisiszeroheadreachability, notoldtrainedhead/Adam/learnability/full30. ProtocolSHA 42679f38e0fd1b6f3061d10a18a29029ec0a0ecdfb9c9b35493e4cb5e81f4451. + +## E195 fine-residual shared-head pullback result + +SixsameTRAINcontexts/cachedCartesianF6adjoints,12encoderforwards/24paired96weightVJPs/0newphysicalforecasts/0targetevaluations/0updates. Freshhooked/unhookedencoderoutputs/coefficientbits exact; zeroaddedF6/initialstatebits exact,encodergradientzero,weights/RNGunchanged. Medianfine/coarsezeroheadnorm0.18191711175381345;cases>=.05 6/6;gate=True;crosscasecoherence{"coarse": 0.460003855709971, "fine": 0.5043026967622084}. Hypotheticalzeroadditiveheads, nottrained98parameterhead/Adam/full30/generalization. ResultSHA5704326e36a9b978a3a0971eae5fab832872e93a786fb82875b7dfc2166a806f. Noautomatictraining; figure awaits inspection. + +## E195 fine-head feature figure inspected / screen positive + +Viewedallfourpanels. Fine/coarsehypotheticalzero96weightheadnormratios[.0963577,.1336594,.1923620,.3941922,.2051658,.1714722],median.1819171118 and6of6>.05;fixedgatepasses. Meanvectornormratio.1883973037;coherencecoarse.4600038557/fine.5043026968. Cross-mapcosines−.3407to+.1717 compareindependentheadparameterizations, notconflictingupdatesofonehead. A/Bheadgradientsallbitexact(relative0;logplotdisplayfloor1e-12). Peakown.30859375GiB,12encoderforwards24VJPs0physicalsolves0targetevaluations0updates;zeroaddedstate/encoderreferencebitsandbackbonegradientzero pass,weights/RNGunchanged. ResultSHA5704326e36a9b978a3a0971eae5fab832872e93a786fb82875b7dfc2166a806f. Evidenceis4stepTRAINonly. Existing30stepadjointsare16-grid andcannotrecovernewfineband; a separateboundednative4/30adjointdiagnostic onmoderate/strongTRAINcases canaddress this beforetraining. Nooptimizeropened. + +## E196 full-horizon fine-band diagnostic frozen + +Following positive E194/E195, freeze two previously audited TRAIN contexts zeta9/alpha-3 and zeta17/alpha-5, trajectory2; same original1k encoder/guide and native Cartesian F6. Exact E115 nested source plus reversible optionalzero nativeleaf; eight physical forecasts/four nativeadjoints at4/30steps, fourencoderforwards/16zero96weightheadVJPs. Fresh reference output/loss bits must match; ownallocated/reserved<12GiB/no retries. Exact previous head/resamplegeometry reusedbyhash/AST. Gate BOTH30stepcases extra16-to32nativeenergy>=.05 and fine/coarseheadnorm>=.05. No optimizer/VALID/automatictraining; existing singleoptimizerqueue unchanged. ProtocolSHA ecb6d55f8ff9b6e59ba1ae8a7de6be7f49273c2ff9f9513bd243c54e40ea3292. Saved queue timings roughly40-50ksec plus validation from~59kremaining; estimate only, revisit actual throughput before another optimizer. + +## Operational one-GPU queue priority amendment + +Historical training averages imply roughly14hours pending and active24-casevalidation previously4234.6seconds whileGPUshared; costs cannot simplybeadded but original40-50kestimate understated validation uncertainty. Prioritize shorter neural trials: E134→E144→E148→E172→E174→E183→E189→E190→E155→E177→E186. Six verifiedwaitinglauncherPIDs only stoppedSIGTERM(-15), nochild/no trainingstarted; activeE134untouched. Exactreversible in-memory predecessor/provenance substitutions, original scientific files/protocols/weights/seeds/data/trainingcommands/stepcounts/checkpointselection/preflights unchanged. E155/E172original25snapshotwrapper preserved; allvalidators/analyses/auditorscontinue. Noadditionaloptimizerqueued. ProtocolSHA3c9bf4230b4b181b0f1adc277d771de1948a9d01ea1049269b474a5f291e4166, fullsource/processreceipts inqueue_priority_20261023_0700. Originalsupervisor−15reports expected for replacedwaitingcontrollers only; no manufacturedcompletionmarkers/no bitwiseCUDAcontinuationclaim. + +## Full validation of decoded_001000 + +All 585 validation trajectories, starting at frame 0; no held-out trajectories. Reward **0.781956**, failed cases 0. Neural initialization seed 20261021; sampling seed 20270118; checkpoint SHA256 `540659f28608049e021faa0d18202585b5e0666b870f33836ef3f6b7eb2821d1`. Same model as the corresponding quick-validation experiment; changed factor: expanded validation sample only. + +| Dataset | VRMSE | +|---|---:| +| ape2d/burgers | 0.007568 | +| ape2d/decay_turb | 0.000289 | +| ape2d/diff | 0.000003 | +| ape2d/fisher | 0.000005 | +| ape2d/gs_alpha | 0.003239 | +| ape2d/gs_beta | 0.004901 | +| ape2d/gs_delta | 0.022624 | +| ape2d/gs_epsilon | 0.000889 | +| ape2d/gs_gamma | 0.062780 | +| ape2d/gs_iota | 0.006619 | +| ape2d/gs_kappa | 0.008764 | +| ape2d/gs_theta | 0.019424 | +| ape2d/kdv | 0.024675 | +| ape2d/kolm_flow | 0.011662 | +| ape2d/ks | 0.000024 | +| ape2d/sh | 0.000005 | +| pdearena/navier_stokes_2d | 0.000081 | +| well/active_matter | 0.087494 | +| well/turbulent_radiative_layer_2D | 0.435958 | + +Exact reuse protocol for a shared-neural change: all physical assets/configuration match /run-state/workspace/research/output_ensemble_v1/validation. The source per-case log audit verifies552 complete corpus/smoke physical rollouts and24 complete active rollouts; all576 outputs have unchanged dependencies. For a shared latent-state head, those dependencies include neural weights, guide assets, postprocessing and serving configuration; neural-weight changes cannot reuse these active predictions. The nine neural radiative-layer outputs were replayed with exact context/metadata equality to full inputs and freshly scored with the official scorer. Reaggregate their official per-case scores and the576 audited unchanged per-case scores using the exact aggregation code extracted from the official scorer. Report provenance includes scorer/source-report hashes and the reuse audit. All585 prediction files are retained. This avoids rereading unchanged targets without approximating the metric. + +Outcome: recorded full validation for audit and comparison; no automatic comparison against the distinct quick-validation sample. + +## E130 — fixed statistical-decoder loss, update 1000 +- Hypothesis / changed factor: Fixed statistical-decoder loss continuation, update1000/1000, sampling/noise seed20270118, unchanged unused reflection RNG20270119. Same pinned E101 initial checkpoint, no-reflection sampler, optimizer and schedule as the reused E106 control. Keep original log1p(MSE/variance) but evaluate it after the exact fixed mean/profile correction (.5/.25), with gradients through that correction. Raw predictions still populate the recurrent context. This is a partial serving-alignment test; coarse/momentum/density/support corrections are not in the loss. Only the training loss changes; no new parameters, RNG draws, sampling or inference code. Full30 rollout (corpus26/Arena10),batch2x3,AdamW LR3e-5 cosine,noise0.01,groups.05/.075/.075/.8. First width48 main trained across all19datasets; fixed width96 second member and E072/E033 auxiliary models. Both complete members execute every case, with unchanged equal output averaging, physics, translations and corrections. Training checkpointSHA256 dce6a67b228fbccb0c0f97e42a1f0668a0eefef0a172d91620d932f62270c2b8, packaged mainSHA256 540659f28608049e021faa0d18202585b5e0666b870f33836ef3f6b7eb2821d1. Matched E106 control full585 reward 0.7819993323925672; candidate 0.7819559520213716. All9 thermal VALID forecasts fresh and576 complete physical forecasts reused after unchanged source/config/input/coverage audit. Full585 compared to actual current selection; neural/unfamiliar exact repeat checks before a win. No pretrained or synthetic assets, held-out data or inference-time fitting. +- Seed: 20261106. +- Checkpoint SHA256: `540659f28608049e021faa0d18202585b5e0666b870f33836ef3f6b7eb2821d1`. +- Runtime code SHA256: `087b1a80f5bdd055700c84312cca54cc5773ad4f9a4d5fb39a9d3b5f98a1c633`. +- Validation: fixed 81-case subset; reward **0.812733**, failed cases 0. + +| Dataset | VRMSE | +|---|---:| +| ape2d/burgers | 0.006413 | +| ape2d/decay_turb | 0.000381 | +| ape2d/diff | 0.000003 | +| ape2d/fisher | 0.000003 | +| ape2d/gs_alpha | 0.003095 | +| ape2d/gs_beta | 0.004740 | +| ape2d/gs_delta | 0.019250 | +| ape2d/gs_epsilon | 0.001366 | +| ape2d/gs_gamma | 0.049313 | +| ape2d/gs_iota | 0.001785 | +| ape2d/gs_kappa | 0.004855 | +| ape2d/gs_theta | 0.004678 | +| ape2d/kdv | 0.016728 | +| ape2d/kolm_flow | 0.008926 | +| ape2d/ks | 0.000033 | +| ape2d/sh | 0.000004 | +| pdearena/navier_stokes_2d | 0.000083 | +| well/active_matter | 0.040528 | +| well/turbulent_radiative_layer_2D | 0.435958 | + +Selection basis: full585 physical-operator comparison: candidate0.78195595, current0.78515234 + +Outcome: did not improve validation reward; retained current package. + +## E179 E130 update1000 error analysis + +Existing full585 case and dataset sets match; thermal case/channel/step aggregations agree. Means {"candidate": 0.4359577740520106, "comparison": 0.4354355289580768, "selected_E156": 0.4350606727655739}; wins versus E106 matched control 1000 4/9. Single-seed continuation; original benchmarkTrue backend. Logged batches do not prove identical full sampling or CUDA trajectories. Sampling or objective differs, so logged loss values are not equivalent objectives. Sampling seed 20270118; package weight hashes {"coarse_weights.pt": "ad9a9996912c63eaaed7aa01423bc8598c9a8c966915b277ab64ce1774027dd3", "ensemble_weights.pt": "0c9c49ae6a7da1fbae8d3f21d94b26311467ba1fd991b59877c872973f1a6c23", "mean_weights.pt": "3b423a0afbb46bafc914d62daaf8611a1b30ae424b8c517d846cbb93d4d6578c", "weights.pt": "540659f28608049e021faa0d18202585b5e0666b870f33836ef3f6b7eb2821d1"}. All19 dataset VRMSE values, logs and comparisons in resultSHA `f4abc27132d904682319536d0bd72315443909b70a818e1c8454ab74a2c1189f`. Zero new forecasts, target-array reads, optimizer updates or seeds. Original selection unchanged. Figure awaits inspection. + +## E170 E130 recurrent-role assessment + +Bothdeclared500/1000full585reportsrecorded. Choosefailure-free lowestthermalVALID,earlierstepontie: 1000,thermal0.4359577740520106 versusactualselected0.43410105338056476. Integrationjustified=False. Originalfullpackages/reportsandall19means/checkpointhashes retainedindecisionSHA `7f1d7ab8e728c7c9367287fdb9bb40c0466bbb96dbd2689cd45cb237c5d7b664`. Closeassessmentwithoutnewforecasts ormodelchanges. Nooptimizer/newseed/target-arrayreads; no checkpoint routing bydataset. Sourcecompatibility/completeall-caseexecution/exactforward/reuseproof/full585/currentbest/15repeatsremainmandatory. Existing VALID selection only. No composed score, model or runtime compatibility has yet been demonstrated. + +## E130 statistical decoder loss descriptive paired analysis, update1000 + +Thermal VRMSE: E101 parent0.4368911756234454, matched control0.4354355289580768, candidate0.4359577740520106. Candidate improves4/9 versus control and6/9 versus parent. Late steps13–30: control0.524151309630233, candidate0.5251588687585094. Other576 official case results match E101 exactly. Descriptive only after full585 scoring/selection; no fit/new optimizer or model change. Nine thermal trajectories limit generalization claims. Per-case/channel/horizon results and unviewed standalone figures in statistical_loss_analysis_v1/statistical_loss_v1_decoded_001000. CheckpointSHA256 `540659f28608049e021faa0d18202585b5e0666b870f33836ef3f6b7eb2821d1`, analysisSHA256 `707cee4129012744abcff304b9305bcab7f81cef54fda647d837a8c4d6d1ef92`. + +## E130 decoded-loss final result inspected; line closed + +Original1000updates complete2181.4s/peak30.138951GiB; seed20270118. Full585reward.7819559520213716/0failed/thermal.4359577740520106 vsE106matched.4354355289580768/currentE187.43410105338056476. FourpanelsVIEWED:4/9wins; density.17349457498633317/pressure.891425577680721/vx.2013562864910988/vy.4775546570498894. Other3channels improve matchedcontrol butpressureworsens;windows.2678182620216933/.32668318197124024/.5251588687585093,lateworseoffsetssmallinitial/middlegains. Both500/1knegative; E170integrationfalse/currentE187retained. Main540659f28608049e021faa0d18202585b5e0666b870f33836ef3f6b7eb2821d1;fullreport01794e051709c24d5500a08678bda6889555ea65538bb94fddafe0748bf6e5e3;analysisSHAf4abc27132d904682319536d0bd72315443909b70a818e1c8454ab74a2c1189f. Noextra checkpoint/seed/objective variant or composition. + +## E134 first operational snapshot CPU audit + +Actualwidercontinuation snapshot atstep25 passed stable-fileCPU audit: 150consumedmicrobatches, optimizerstates183 counters{'25': 183}, original/globalLR/source/weightfinite/RNGschema checks. CheckpointSHAc63de06510afed4115bd498dc753cd1a37ddba4e5717ca5ac1e46850a168d743;receiptSHA1cafdf8b1377d24bb2bebfc55e2ec2c021932233bc8be47c528ab4b089eeaac6. Original1000updates/5001kselectionunchanged. NoCUDA initialized, trainerinterruption, resumed-trajectorytest or newvalidationcheckpoint. + +## E197 continued-member combination rule frozen before wider VALID + +E134 hasno500/1000VALIDreportsyet. WaitBOTHoriginalreports, choosefinitefailurefreelowthermal/earlierstepontie, requirestrictgainoverE131ownparent.4354355289580768. E123firstmemberfactoralreadypositiveE187.43410105338056476. Ifsecondfactorpositive, atmostONEseparatecomposition fixedE187complete48a63829d3 +chosencomplete96member; E187encoder/guides/runtime/allcaseexecution/equalF64weights unchanged. No newoptimizer/seed/checkpoint/memberweightsearch/partialtensor/routing. Do not additionallycomposeE170E134wholebundle; itsreport-onlydecisionremains. Noassumptiongainsadd. Onlyreportwatchernow; laterbothfigures/architecture/source/tensor/mutation/portable/CPU/fresh9thermal/strict576derivedprovenance/585+81/15exactrepeats/actualcurrentatomicrequired. No fallbacktoothercheckpointafterfailure. ProtocolSHA bed9551ef10f64ee1425d2b76fde5fc3bc84e170dca2d89a3629a63c61dcb43d; inheritedseed20270222/E12320270118+20270213, selectedE187fixedruntime. No candidate assembled. + +## E196 fine spatial sensitivity over full physical rollouts + +TwofixedTRAINcases/fourand30steps/8freshphysicalforwards/4nativeadjoints/4encoderforwards/16headVJPs/0updates. Freshzero-extra/originalpredictionandlossbitsexact,weights/RNGunchanged. Gate=True;longextraenergy=[0.33037022739440636, 0.3492458698777176];longfine/coarseheadnorm=[0.20616729156440167, 0.24968453543401803]. Two fixed TRAIN cases, local zero-residual native/head sensitivities; no fitting/Adam/learnability/validation claim. ResultSHA 9d4fb3bfe70acfb1e0a75a992fa67c15b054c300b015b1a30b557713ae91d3eb. Figure awaits inspection; no automatic training. + +## E196 full-horizon fine-head figure inspected; positive diagnostic + +All8physicalforwards/4nativeadjoints/4encoderforwards/16pairedheadVJPs complete;0updates,allfreshzero-extra/referenceforecastandlossbitsexact,weights/RNGunchanged. Maxallocated3.328549385/reserved3.609375GiB. FourpanelsVIEWED:30stepnative16-to32extraenergy.3303702274/.3492458699;fine/coarse96weightnorm.2061672916/.2496845354, bothpredeclaredgatespass. Native4/30cos.1343377094/.1986005760,coarsehead.0501802370/.2040880688,finehead.5213906200/.2140459503; pairedheadrepeatsexact. Fresh4historicalgradientrel~2.5e-8descriptiveonly; nooldgradientidentitygate. ResultSHA9d4fb3bfe70acfb1e0a75a992fa67c15b054c300b015b1a30b557713ae91d3eb/checksfe363a291bc50df6ca0895120a9bcd62a21cd36b3eb66c8907b8ac9ff49c67fa. LocaltwoTRAINcases only/noAdam/learnability/VALIDclaim. PositivefinearchitecturefollowupDEFERREDforresourcebudget, nooptimizerqueued/nofinetuningprotocolyet; currentqueue/selectedE187unchanged. + +## E198 cached shared-gradient direction screen frozen + +AfterE196positivefullhorizonlocalreachability, testfixedunweightedmeanofall6originalE1954step96weightheadgradientsagainstBOTHcachedE19630stepgradients. Soleprimaryfine-mapgatebothdotproducts>0; coarsemapdescriptive, owncase/otherfivecontributionsshowoverlap. No normalizedreweighting/Adam/fittedstep/caseorresolutionselection; no model/solverforward/targetevaluation/CUDA/optimizer/newseed. Case/source/model/cache/arrayidentitiespinned; prior4gradientcomparisononlydescriptive. ProtocolSHA1ac2eb7e0e30b09156fb0f04c2fbcb0fb2768bbd58809b7faf53e9614d78514d. Localfirst-orderzerohead/overlappingTRAINonly/nofiniteupdateorVALIDclaim; budgetdeferralunchanged. + +## E198 cached cross-case fine-head direction result + +Oneunweightedmeanof6E195short96weightgradientsvs2E196full30gradients; noforward/targetevaluation/optimizer/GPU. Fineboth-dot-positive=True;mean/longcos=[0.27258975497257093, 0.3439894174728254];otherfivecontributions=[0.00011971904893925965, 4.946696034480169e-05]. Cached local zero-head first-order geometry; overlapping TRAIN cases; no finite Adam/generalization/validation claim. ResultSHA4d2411ec75cb18b06415e7eb88608990edbb35a328b6dc91e4adaa75099f98d5. Figureawaitsinspection; existingresourcebudgetdeferralunchanged. + +## E198 cross-case figure inspected; supports a small frozen-body fine-head trial + +FourpanelsVIEWED. Fine6case arithmeticmean/longgradientcos+.27258975497257093/+.3439894174728254, bothprimarydotspositive; otherfivecontributions+.00011971904893925965/+.00004946696034480169 (4of5positiveeach). Coarsehypotheticalzero96headmeancos-.0070126555/-.1168554647; nottheoldtrained98headandnotacauseclaimforpriortrainingfailures. Ownlongcasesoverlapthe6shortcases;localzeroheadgradients/noAdam/learnability/VALIDclaim. ResultSHA4d2411ec75cb18b06415e7eb88608990edbb35a328b6dc91e4adaa75099f98d5. NoGPU/forecasts/targets/optimizer/newseed. PreparingE199small96weightfine-onlytrialwithalloldencoderweightsfrozen,125physicaldraws/originalheadLRschedule/onefinalcheckpoint; ONLYaftercompletepreflight couldprioritizeitbymovingunstartedE155laterratherthanincreasingnear-termGPUqueue. Noqueuechangeoroptimizerlaunchyet. + +## E199 fixed-body fine-state head preparation started + +PlanSHA18170afe6a583cebf3ad539fdc2d7c09920127f4b0c9c86e7370252bdcba28d0. PincompleteE1872members/commonencoder0fc/guides. Add96zero no-bias48to2fine32head; preserveeveryoldencoder tensorandcoarse16coefficientsvia4x32packing, separateoriginal2channelFFT. Filter32minus16beforetanh,additionalCartesianF6. Onlynewheadtrainable,complete16992550/encoder3066821parameters.125physical4updates, EXACTE177PCG20270315file/trajectory/even-shiftdraws reconstructedfromE186metadata; allhorizons4. Servingcontiguous/BF16/30-stepguidestatfeaturescachedfrom4contextonly; oldbodyfrozenmeansmainARlossderivativefineheadzero. OriginalheadLRatvirtualstep8*j,total1000/warm100/cos15floor,AdamW(.9,.95)/WD1e-4/clip1;headzeroconstructor20270314. ONLYfinal125eligibleVALID;recoveryevery5notselection. Newphaseconfoundsdeclared/notmatchedE177effect. CPUbuildpassesreversiblesources/oldconstructortensors+RNG/oldtrainedtensors/all175TRAINmembership/resampleAST/exact125draws. Initialartifact9a47d02bb0f3fcd75e343f242e522bbb838e4cb2a5eb2948d48df9d472bc1044;zeroencoder0ce4c8f03d7220a729b7b2e4bf0984fdea9eb3f88b120f383bcebb70a1bf517b;drawschedule0ca64d2107c98acb4ed04a2323b8612950cce7902c007c637ac00034b2b87884. CPU/portable/nativegradient/cache/fullfreeze/validator/controllerchecksremain; NOoptimizerorqueuechange. Onlyifallpass, separateverifiedoperationalamendmentafterE190 E199→E177→E186→E155, leavingoriginalE155intactbutlater. Fresh24active+strict561/585+81/15serving/currentatomicrequired;atmostonefutureglobalcomponentcompositionifactivegainhiddenbynewercomplement. + +## Full validation of step000500 + +All 585 validation trajectories, starting at frame 0; no held-out trajectories. Reward **0.782530**, failed cases 0. Neural initialization seed 20261021; sampling seed 20270118; checkpoint SHA256 `9c14c8231f5e209ac3cae69d51d666b24525839d23f7d1e928c019a32b143fc1`. Same model as the corresponding quick-validation experiment; changed factor: expanded validation sample only. + +| Dataset | VRMSE | +|---|---:| +| ape2d/burgers | 0.007568 | +| ape2d/decay_turb | 0.000289 | +| ape2d/diff | 0.000003 | +| ape2d/fisher | 0.000005 | +| ape2d/gs_alpha | 0.003239 | +| ape2d/gs_beta | 0.004901 | +| ape2d/gs_delta | 0.022624 | +| ape2d/gs_epsilon | 0.000889 | +| ape2d/gs_gamma | 0.062780 | +| ape2d/gs_iota | 0.006619 | +| ape2d/gs_kappa | 0.008764 | +| ape2d/gs_theta | 0.019424 | +| ape2d/kdv | 0.024675 | +| ape2d/kolm_flow | 0.011662 | +| ape2d/ks | 0.000024 | +| ape2d/sh | 0.000005 | +| pdearena/navier_stokes_2d | 0.000081 | +| well/active_matter | 0.085238 | +| well/turbulent_radiative_layer_2D | 0.440448 | + +All9 thermal VALID trajectories freshly inferred and officially scored. Reuse576 complete physical outputs only after exact runtime/config/first-model/encoder/guide equality, input/output hashes and complete prefix coverage against E131. Only ensemble_weights.pt changed. Generic latent dependency guard unchanged; incomplete prefixes require fresh inference. Full585 and quick81 official aggregation, no held-out data. + +Outcome: recorded full validation for audit and comparison; no automatic comparison against the distinct quick-validation sample. + +## E134 — wider shared member continuation update500 +- Hypothesis / changed factor: Continue the fixed E131 wider96 shared member alone for1000 updates; select declared500/1000 checkpoints. All19 TRAIN datasets; sampling/noise seed20270222, B1x6 accumulation, full30 horizons, LR3e-5, AdamW(.9,.95)/WD1e-4/clip1, warm100/cosine15%, inputnoise.01, initial-window probability.25, groupweights.05/.075/.075/.8. This is a continuation comparison, not a matched width ablation. First48 rollout member, separate context encoder, guides, all runtime sources/config and equal output averaging remain fixed; every component executes everycase. Native full30 backward, all10115 TRAIN memberships, strict shape/dtype/finite serialization, eleven dependency-mutation rejections pass. No new parameters, pretrained or synthetic training assets. Fresh9 thermal VALID plus576 complete physical cases under the exact private independent-encoder/prefix/input/hash proof. Full585 comparison against fixed E131 and actual current best, independent neural and unfamiliar repeats before any publication. Trained second checkpointSHA256 8eef49928c3abad6bdcb5483d7a5f3c0c4e3cc40233c1358acbb75459508fe93; artifactSHA256 31c24894beeb0e64bc958db3faf97cfa1f0a0b7a55237e75e69cba514802fda1; evaluated step500. +- Seed: 20270118. +- Checkpoint SHA256: `9c14c8231f5e209ac3cae69d51d666b24525839d23f7d1e928c019a32b143fc1`. +- Runtime code SHA256: `47d5f3442d6009dfda563e4c571747b1ac5235f1c0412e3b3438ae84cc33affe`. +- Validation: fixed 81-case subset; reward **0.813199**, failed cases 0. + +| Dataset | VRMSE | +|---|---:| +| ape2d/burgers | 0.006413 | +| ape2d/decay_turb | 0.000381 | +| ape2d/diff | 0.000003 | +| ape2d/fisher | 0.000003 | +| ape2d/gs_alpha | 0.003095 | +| ape2d/gs_beta | 0.004740 | +| ape2d/gs_delta | 0.019250 | +| ape2d/gs_epsilon | 0.001366 | +| ape2d/gs_gamma | 0.049313 | +| ape2d/gs_iota | 0.001785 | +| ape2d/gs_kappa | 0.004855 | +| ape2d/gs_theta | 0.004678 | +| ape2d/kdv | 0.016728 | +| ape2d/kolm_flow | 0.008926 | +| ape2d/ks | 0.000033 | +| ape2d/sh | 0.000004 | +| pdearena/navier_stokes_2d | 0.000083 | +| well/active_matter | 0.039602 | +| well/turbulent_radiative_layer_2D | 0.440448 | + +Selection basis: full585 physical-operator comparison: candidate0.78253036, current0.78515234 + +Outcome: did not improve validation reward; retained current package. + +## E179 E134 update500 error analysis + +Existing full585 case and dataset sets match; thermal case/channel/step aggregations agree. Means {"candidate": 0.44044848236658285, "comparison": 0.4354355289580768, "selected_E156": 0.4350606727655739}; wins versus E131 starting package 2/9. Single-seed continuation; original benchmarkTrue backend. Logged batches do not prove identical full sampling or CUDA trajectories. This is continuation from E131 with another seed and batch layout, not a matched width ablation. Sampling seed 20270222; package weight hashes {"coarse_weights.pt": "ad9a9996912c63eaaed7aa01423bc8598c9a8c966915b277ab64ce1774027dd3", "ensemble_weights.pt": "8eef49928c3abad6bdcb5483d7a5f3c0c4e3cc40233c1358acbb75459508fe93", "mean_weights.pt": "3b423a0afbb46bafc914d62daaf8611a1b30ae424b8c517d846cbb93d4d6578c", "state_encoder_weights.pt": "0fc425a0cf92a0d25cc8beae5b2cb291cef63f56f6c17c7f9ebd84342e06848d", "weights.pt": "9c14c8231f5e209ac3cae69d51d666b24525839d23f7d1e928c019a32b143fc1"}. All19 dataset VRMSE values, logs and comparisons in resultSHA `b3b9c560e229b7222a9dddb41a2f70a70164fb657770f18543a4655c2d552f2d`. Zero new forecasts, target-array reads, optimizer updates or seeds. Original selection unchanged. Figure awaits inspection. + +## E134 update500 analysis viewed; E199 CPU preparation correction + +E134seed20270222 original500checkpoint:thermal0.44044848236658285 vs E131start0.4354355289580768/currentE1870.43410105338056476,2/9wins/all4channels/all3windowsworse. Full585reward0.782530362280073/0failed;secondweights8eef49928c3abad6bdcb5483d7a5f3c0c4e3cc40233c1358acbb75459508fe93;report3fc9dda00b569beae4751e6f9a84ad123db0b874fca58506038255c06baffd74;analysisb3b9c560e229b7222a9dddb41a2f70a70164fb657770f18543a4655c2d552f2d. Four panels viewed. Original1000stillruns;E197waitsboth, no interim composition. E199CPU fixture failure archived initial_cpu_scope_failure/: default fork_rng initializedCUDA althoughCPU RNG exact; explicitdevices=[]/CPU-generator seeding corrects fixture only, allruntime/model/gatesunchanged. Corrected6encoder/geometry/36protectedmutationchecks pass withCUDAuninitialized/weightsRNGunchanged/0updates. CPUprotocolbad1764bef32b3eafe53548903eb43061417942290c823aedde5c58f16c1f43d;CPUchecks6706b9a6d675161c00349ea92e813fad6064c59259e1b3aa523188ed702143f6. Portable20newforecasts pending;nooptimizerqueued/queueunchanged. + +## E199 fixed-body fine head queued after complete preflight + +Positive E194-E198 TRAIN gradient evidence motivated one96weight zeroConv48to2 fine32-minus16 CartesianF6 head; all old encoder/body/coarse-F6 tensors and both completeE187 recurrentmembers/guides fixed. Allmembers/head everycase/translation/chunk, no dataset checkpoint dispatch. 125physical4 headupdates only, sameE177 file/trajectory/shifts PCG20270315; zeroheadconstructor20270314; originalheadLRatvirtual8*j/1000/warm100/cos15percent/AdamW(.9,.95)/WD1e-4/clip1. Onlyfinal125VALID; every5snapshots operationalonly, fullsource/cache/schedule/model/Adam/RNG recoveryschema and independentfirstactualCPUaudit. No mainloss because headderivativeexact0. Serving-consistent contiguousBF16autocast/guide30; cachedactualBF16headinput fromnativeF32residualfeatures, all125fullforecast/coarse/headreconstructionbits exact andnonzeroheadweight-VJP bits exact. CPU6encoderfixtures/36protectedmutations;20portablecompleteforecasts/14strictreferences/reorder/CPUunknown/allmembers exact. Firstscheduledphysical4backward loss0.005663426127284765/headgrad0.0030904177110642195/allocated2.702186107635498/reserved2.9765625GiB/62.56sharedseconds, zeroheadreference lossbits exact, only96gradients, allweightsRNGunchanged/0updates;20manufacturedrecoverycorruptionsrejected. Initialartifact9a47d02bb0f3fcd75e343f242e522bbb838e4cb2a5eb2948d48df9d472bc1044; zeroencoder0ce4c8f03d7220a729b7b2e4bf0984fdea9eb3f88b120f383bcebb70a1bf517b; protocolf231690af34981bcd7954bdfac7644ffed532e34e9d1a0c2a629f15d7f4005c9; portable2b1f3d4d65dd37f0dca20c272f76c7e3fb483e6942dd3de677cac53b15ee7b56; featurechecksbbb4428071915bd2719ee518113c55ee720f06f34c196467fd101a4d29d8f00f; nativechecksb81ae9f1a000110116cb4e17907c6948b8913aa9ae4e18f922f78b7d6b619433. Complete16992550parameters/96trainable. Fresh24active+strict561/full585/equal16corpus/81/15bitexactrepeats/current-underlock/atomicpublish. Preserve552derivedE187prefixes versus24freshactive logs. Single-seed capacity/frozenbody/executionconfounds; no causal or full30generalizationclaim. Preparationfailures archived: CPUfork_rng initializedCUDA(scope corrected only), thencacheassumedfeaturealreadyBF16(explicitexacthead-autocastinputcast+nonzeroVJPproof; no runtime or numericalgate change). Featureamendmentfb46adb783e80df907ac29464e34a55dde03b173dd3ef854a5ac61f1ee2ec475. Alloldscientificprotocols unchanged; two verifiedWAITINGcontrollers12922E155/12924E177 replaced, activeE134untouched. Newqueue E134→E144→E148→E172→E174→E183→E189→E190→E199→E177→E186→E155; operationalprotocol58a1a8e78356d967c430804f25721f80c818238a08d1366752c346ce256c0fa9. Solverworkstilldominates; prioritizefocusedtrial/F8 beforeunstarted2000steporientation; E1551k/2kselectionintactlast, unfinishedifoperatorbudgetends. VALID pending; no pretrained/synthetic/heldout/inferencefitting. + +## E200 analytic fine-head preconditioning geometry + +CPUonly sixexistingE195short96weightfinegradients/twoE196longgradients; noCUDA/forward/targetread/optimizer/parameterupdate/newseed. OriginalE198mean exactlyreproduced; fixednormclip1/RMSnormalizedmean/meanidealizedfirstAdamdirection,eps1e-8, allsix andown-short-caseexcluded. Bothrescaledmapspositiveonbothlongcasesinbothscopes=True; Cached local zero-head TRAIN geometry. Analytic first-step summaries, not actual E199updates, fusedCUDA equivalence, momentum trajectory, finite optimization or independent generalization. E199frozenplan unchanged. FixedencoderSHA0fc425a0cf92a0d25cc8beae5b2cb291cef63f56f6c17c7f9ebd84342e06848d; protocolSHA78a29314a5adc6832e0908a36675b7713c64430c349d504016963efab6437420; resultSHA3f2dc5c15bd7578e14879f34cd05cb5b8c561487efd0d9567c1ffd441460a71a. Figure requires viewing. No VALID candidate; no optimizer addition or E199change. + +## E200 figure inspected; analytic preconditioning line closed + +Both fixedrescaledmaps retainpositive30stepdots withall6 andownshortcaseexcluded. All6meanfirstAdamcos0.32621110749472004/0.4053942245849649 versusraw0.27258975497257093/0.3439894174728254; leaveownout0.20621237624795968/0.37952619560334855 versusraw0.1918217645832976/0.28458625523261133. RMSmeanall6cos0.3016508530280004/0.42878415956775134;leaveownout0.22173775147003733/0.38296554295020835. All6norms<1, clippinginactive. Per-caserescalingchangescanbenegative; aggregatealignmentpositive. FourpanelsVIEWED. No CUDA/model/targetread/optimizer/weight/seed/VALIDcandidate. Cachedlocalzeroheadanalyticdirections, notactualfusedAdamtrajectory orindependentgeneralization. E199source/schedule/optimizer/selection remainunchanged; noadditionaloptimizer/variant. ProtocolSHA78a29314a5adc6832e0908a36675b7713c64430c349d504016963efab6437420; resultSHA3f2dc5c15bd7578e14879f34cd05cb5b8c561487efd0d9567c1ffd441460a71a. + +## Full validation of step001000 + +All 585 validation trajectories, starting at frame 0; no held-out trajectories. Reward **0.783039**, failed cases 0. Neural initialization seed 20261021; sampling seed 20270118; checkpoint SHA256 `9c14c8231f5e209ac3cae69d51d666b24525839d23f7d1e928c019a32b143fc1`. Same model as the corresponding quick-validation experiment; changed factor: expanded validation sample only. + +| Dataset | VRMSE | +|---|---:| +| ape2d/burgers | 0.007568 | +| ape2d/decay_turb | 0.000289 | +| ape2d/diff | 0.000003 | +| ape2d/fisher | 0.000005 | +| ape2d/gs_alpha | 0.003239 | +| ape2d/gs_beta | 0.004901 | +| ape2d/gs_delta | 0.022624 | +| ape2d/gs_epsilon | 0.000889 | +| ape2d/gs_gamma | 0.062780 | +| ape2d/gs_iota | 0.006619 | +| ape2d/gs_kappa | 0.008764 | +| ape2d/gs_theta | 0.019424 | +| ape2d/kdv | 0.024675 | +| ape2d/kolm_flow | 0.011662 | +| ape2d/ks | 0.000024 | +| ape2d/sh | 0.000005 | +| pdearena/navier_stokes_2d | 0.000081 | +| well/active_matter | 0.085238 | +| well/turbulent_radiative_layer_2D | 0.434305 | + +All9 thermal VALID trajectories freshly inferred and officially scored. Reuse576 complete physical outputs only after exact runtime/config/first-model/encoder/guide equality, input/output hashes and complete prefix coverage against E131. Only ensemble_weights.pt changed. Generic latent dependency guard unchanged; incomplete prefixes require fresh inference. Full585 and quick81 official aggregation, no held-out data. + +Outcome: recorded full validation for audit and comparison; no automatic comparison against the distinct quick-validation sample. + +## E134 — wider shared member continuation update1000 +- Hypothesis / changed factor: Continue the fixed E131 wider96 shared member alone for1000 updates; select declared500/1000 checkpoints. All19 TRAIN datasets; sampling/noise seed20270222, B1x6 accumulation, full30 horizons, LR3e-5, AdamW(.9,.95)/WD1e-4/clip1, warm100/cosine15%, inputnoise.01, initial-window probability.25, groupweights.05/.075/.075/.8. This is a continuation comparison, not a matched width ablation. First48 rollout member, separate context encoder, guides, all runtime sources/config and equal output averaging remain fixed; every component executes everycase. Native full30 backward, all10115 TRAIN memberships, strict shape/dtype/finite serialization, eleven dependency-mutation rejections pass. No new parameters, pretrained or synthetic training assets. Fresh9 thermal VALID plus576 complete physical cases under the exact private independent-encoder/prefix/input/hash proof. Full585 comparison against fixed E131 and actual current best, independent neural and unfamiliar repeats before any publication. Trained second checkpointSHA256 168a9ca26e8ec7c8c80c94f4f3c90118c4ec927d4408eac83cd2c1b692b634f5; artifactSHA256 463d6e39e95ce93244b570486dec1009dd9545090c1c49de41e4d7e6064ec9e6; evaluated step1000. +- Seed: 20270118. +- Checkpoint SHA256: `9c14c8231f5e209ac3cae69d51d666b24525839d23f7d1e928c019a32b143fc1`. +- Runtime code SHA256: `1fe3fe5b103a9fb4637d28487cc39679edd563a1d45bf383b7ba6c5e6d9e2fed`. +- Validation: fixed 81-case subset; reward **0.813708**, failed cases 0. + +| Dataset | VRMSE | +|---|---:| +| ape2d/burgers | 0.006413 | +| ape2d/decay_turb | 0.000381 | +| ape2d/diff | 0.000003 | +| ape2d/fisher | 0.000003 | +| ape2d/gs_alpha | 0.003095 | +| ape2d/gs_beta | 0.004740 | +| ape2d/gs_delta | 0.019250 | +| ape2d/gs_epsilon | 0.001366 | +| ape2d/gs_gamma | 0.049313 | +| ape2d/gs_iota | 0.001785 | +| ape2d/gs_kappa | 0.004855 | +| ape2d/gs_theta | 0.004678 | +| ape2d/kdv | 0.016728 | +| ape2d/kolm_flow | 0.008926 | +| ape2d/ks | 0.000033 | +| ape2d/sh | 0.000004 | +| pdearena/navier_stokes_2d | 0.000083 | +| well/active_matter | 0.039602 | +| well/turbulent_radiative_layer_2D | 0.434305 | + +Selection basis: full585 physical-operator comparison: candidate0.78303876, current0.78515234 + +Outcome: did not improve validation reward; retained current package. + +## E170 E134 recurrent-role assessment + +Bothdeclared500/1000full585reportsrecorded. Choosefailure-free lowestthermalVALID,earlierstepontie: 1000,thermal0.4343045218848444 versusactualselected0.43410105338056476. Integrationjustified=False. Originalfullpackages/reportsandall19means/checkpointhashes retainedindecisionSHA `55504ce34d80a7224671480f410fb759331571a7104ae04af059d4db030e7f52`. Closeassessmentwithoutnewforecasts ormodelchanges. Nooptimizer/newseed/target-arrayreads; no checkpoint routing bydataset. Sourcecompatibility/completeall-caseexecution/exactforward/reuseproof/full585/currentbest/15repeatsremainmandatory. Existing VALID selection only. No composed score, model or runtime compatibility has yet been demonstrated. + +## E197 independently continued member combination assessment + +BothoriginalE134500/1000reports available; chosenstep1000/thermal0.4343045218848444 versusfixedE131 0.4354355289580768; first-memberfactoralreadypositiveE187 0.43410105338056476. OnefixedE187first+chosenCOMPLETEE134secondcompositionjustified=True. Noassembly/GPU/targets/optimizer/newseed; noadditivegainclaim. E170E134assessmentretained but no second composition underthatline. DecisionSHAb14a7b13cdb2086acce2ccf54bfa187d29b2246f82d7c433daf8af83e3a11c01. Report-only conditional selection; no combined score or compatibility claim. + +## E179 E134 update1000 error analysis + +Existing full585 case and dataset sets match; thermal case/channel/step aggregations agree. Means {"candidate": 0.4343045218848444, "comparison": 0.4354355289580768, "selected_E156": 0.4350606727655739}; wins versus E131 starting package 4/9. Single-seed continuation; original benchmarkTrue backend. Logged batches do not prove identical full sampling or CUDA trajectories. This is continuation from E131 with another seed and batch layout, not a matched width ablation. Sampling seed 20270222; package weight hashes {"coarse_weights.pt": "ad9a9996912c63eaaed7aa01423bc8598c9a8c966915b277ab64ce1774027dd3", "ensemble_weights.pt": "168a9ca26e8ec7c8c80c94f4f3c90118c4ec927d4408eac83cd2c1b692b634f5", "mean_weights.pt": "3b423a0afbb46bafc914d62daaf8611a1b30ae424b8c517d846cbb93d4d6578c", "state_encoder_weights.pt": "0fc425a0cf92a0d25cc8beae5b2cb291cef63f56f6c17c7f9ebd84342e06848d", "weights.pt": "9c14c8231f5e209ac3cae69d51d666b24525839d23f7d1e928c019a32b143fc1"}. All19 dataset VRMSE values, logs and comparisons in resultSHA `9e284332b105ec802fa8dd2a4ca708fea205972b943360d8873cdfb3ba7defac`. Zero new forecasts, target-array reads, optimizer updates or seeds. Original selection unchanged. Figure awaits inspection. + +## E134 final checkpoint and E197 paired-member gate + +E134 finished 1000 updates (seed 20270222, 4570.7 s, peak 28.416 GiB). Full585 reward 0.7830387595075627, zero failures; thermal VRMSE 0.4343045218848444 versus its E131 parent 0.4354355289580768 and selected E187 0.43410105338056476. Four of nine thermal cases improve against E131; pressure/vx and late window improve, density/vy and early/middle worsen. Both E179 figures have been viewed. Second checkpoint SHA `168a9ca26e8ec7c8c80c94f4f3c90118c4ec927d4408eac83cd2c1b692b634f5`; full report SHA `c6a747954be75972a9b43137c3dc7f3af2449f157a05f504923aff3937c4b6ad`. E197 frozen before either E134 report selected update1000 and passes its own-parent gate. Exactly one E201 combination with complete selected E187 first member is now justified; no additional E170 whole-bundle composition, checkpoint substitution or coefficient search. No new fitting or seed in E201. E144 is the sole optimizer; its actual update25 snapshot passed the CPU serialization/provenance audit (75 microbatches, all184 Adam states at25, correct source/LR/RNG, no CUDA initialized), receipt SHA `f919460217f29e24c23e7693cc3153100eda28642063c598a2adb299195ba535`. This is not a resumed-CUDA trajectory claim. Selected submission remains E187. + +## E201 paired complete-member composition frozen and running + +E197 permitted exactly one new combination after both E134 reports and viewed figures. E201 uses complete E187 first a63829d3 and complete E134 second168a9ca2 with all27other runtime assets byte exact E187, 16992454parameters, fixed equal complete-output averaging on every case. Plan protocol SHA `5ea3a05d6036fffaa1fb5f2692d04602fd940331b2e3bb27512fc6f31ebbadd6`; inherited E187 manufactured prefix proof by exact source, fresh strict constructor/tensor and35 runtime/schema/manifest mutation rejections passed, CPU check SHA `f5ec3a294325f05f1e36ad2bfeedaca0973f7146fd9fadd227ac70d24b3bf455`. No new training seed, optimizer or target reads in preflight. Fresh11CUDA+6reordered+two3caseCPU passes (23complete forecasts) are running; require exact six physical parent outputs, finite new neural outputs and exact independent repeats before any VALID. Planned sole fresh9thermal/strict576derived/official585+81/15exactchecks-before-win/actual-current atomic selection. One draft-generation assertion caught an overly broad text replacement before any file write or model work; no numerical or selection rule changed. Selected E187 remains unchanged. + +## E202 two-process replay scheduling frozen + +Operational orchestration experiment only: unchanged complete E187 runtime on every case, two independent processes assigned by input-index parity. CPU fixtures passed empty/single/five/reversed/failed-child/package-rename identity tests, ordinary HDF outputs and cleanup; no learned model forwards. ProtocolSHA `529b74f3a18a41739cec9093e86c7a7eaa08f9fa783c9ae4f5d4aa9f03d5ea56`, CPUchecksSHA `a59f9c8583a01d03c79a0d25de4c33c0881ab746dc7f23da5cbe44e59081dce9`. Native study waits for E201 pipeline completion or failure, then20portable/reorder/CPU forecasts and exactlytwo cold timing pairs (8full30active TRAIN forecasts), serial→parallel thenparallel→serial with reversed input order, empty private Triton cache eacharm. All28outputs must bitmatch frozen TRAIN-only references and both timing reductions must be at least10percent. One shared H100/one unchanged optimizer; no targets, optimizer, new seed, accuracy claim or automatic change to frozen validators/submission. Negative closes this worker-count line. Positive only permits a separately recorded operational amendment. + +## E203 paired-member report interaction frozen before E201 VALID + +Four fixed cells: E131 old48/old96, E187 continued48/old96, E1341000 old48/continued96, soleE201 continued48/continued96. Exact whole-member/common thermal source and guide checks plus exact E173 source transform established. Historical encoder sharing prose differs; initial strict assertion caught this before protocol creation or report analysis. Original source/log/plan archived; source AST and exact remaining encoder settings show the difference is an unused human description, retained in provenance. No model or selection changes. ProtocolSHA `00c6afdfefd2ef5af279fe9e0734289ebb6424755818e3d67e65141179fa295f`, amendmentSHA `9a0414216250c47b38262edf8bd11913b5ec3d52fd46c2296cbde5663b59ca73`. After E201 recorded, report-only9case/4channel/30step/3window conditional effects, nonlinear VRMSE interaction and all9leave-one-case-out means; no target arrays, forecasts, fitting, seed, covariance/MSE/significance claim or further candidate authorization. Both upcoming figures must be viewed. + +## Full validation of age_000500 + +All 585 validation trajectories, starting at frame 0; no held-out trajectories. Reward **0.781918**, failed cases 0. Neural initialization seed 20261021; sampling seed 20270118; checkpoint SHA256 `367f7b8f58987be27cca314844e4521a1da2b17e47a6fa2ee54092810e1be56b`. Same model as the corresponding quick-validation experiment; changed factor: expanded validation sample only. + +| Dataset | VRMSE | +|---|---:| +| ape2d/burgers | 0.007568 | +| ape2d/decay_turb | 0.000289 | +| ape2d/diff | 0.000003 | +| ape2d/fisher | 0.000005 | +| ape2d/gs_alpha | 0.003239 | +| ape2d/gs_beta | 0.004901 | +| ape2d/gs_delta | 0.022624 | +| ape2d/gs_epsilon | 0.000889 | +| ape2d/gs_gamma | 0.062780 | +| ape2d/gs_iota | 0.006619 | +| ape2d/gs_kappa | 0.008764 | +| ape2d/gs_theta | 0.019424 | +| ape2d/kdv | 0.024675 | +| ape2d/kolm_flow | 0.011662 | +| ape2d/ks | 0.000024 | +| ape2d/sh | 0.000005 | +| pdearena/navier_stokes_2d | 0.000081 | +| well/active_matter | 0.087494 | +| well/turbulent_radiative_layer_2D | 0.436413 | + +Exact reuse protocol for a shared-neural change: all physical assets/configuration match /run-state/workspace/research/output_ensemble_v1/validation. The source per-case log audit verifies552 complete corpus/smoke physical rollouts and24 complete active rollouts; all576 outputs have unchanged dependencies. For a shared latent-state head, those dependencies include neural weights, guide assets, postprocessing and serving configuration; neural-weight changes cannot reuse these active predictions. The nine neural radiative-layer outputs were replayed with exact context/metadata equality to full inputs and freshly scored with the official scorer. Reaggregate their official per-case scores and the576 audited unchanged per-case scores using the exact aggregation code extracted from the official scorer. Report provenance includes scorer/source-report hashes and the reuse audit. All585 prediction files are retained. This avoids rereading unchanged targets without approximating the metric. + +Outcome: recorded full validation for audit and comparison; no automatic comparison against the distinct quick-validation sample. + +## E144 — explicit forecast-age conditioning, update 500 +- Hypothesis / changed factor: Explicit relative-lead feature projection in first shared member, update500/1000;768 new parameters initialized at exact zero without RNG. tau=k/(k+30), features[tau,tau^2,sin(pi*tau),cos(pi*tau)-1], bias-free4to192 projection added to metadata embedding. k=1..K is local to each case/translation/channel chunk or training microbatch, independent of requested horizon; no persistent inference state. Pinned E101 parent, fixed width96 second member and E072/E033 guides. Both complete members execute every case with fixed parameters. Matched E106 no-reflection control: same seed20270118,sampler,noise.01,full30batch2x3,AdamW3e-5 and schedule; no redundant control training. Constructor CPU/CUDA RNG preserved; exact zero-output completeTRAIN/unknown parity and repeats plus full30 backward preflight precede training. Training checkpointSHA256 e875243f461b679b255c213af39ecaa4baccb92303bf4462f03f1e7559501fed, packaged mainSHA256 367f7b8f58987be27cca314844e4521a1da2b17e47a6fa2ee54092810e1be56b. Full585 matched control reward 0.7818408117655686, candidate 0.7819181624492646. Fresh all9thermal VALID;576completephysical outputs reused only after restricted runtime/source/config/input/coverage proof. Full585 against actual current selection; neural/unfamiliar exact repeats before any win. No pretrained/synthetic assets, held-out access or parameter fitting during inference. +- Seed: 20261106. +- Checkpoint SHA256: `367f7b8f58987be27cca314844e4521a1da2b17e47a6fa2ee54092810e1be56b`. +- Runtime code SHA256: `88bb5fb5e72b0ecbb92a6529ccd741b64551cbf0501ca231290b16f77d77bb45`. +- Validation: fixed 81-case subset; reward **0.812695**, failed cases 0. + +| Dataset | VRMSE | +|---|---:| +| ape2d/burgers | 0.006413 | +| ape2d/decay_turb | 0.000381 | +| ape2d/diff | 0.000003 | +| ape2d/fisher | 0.000003 | +| ape2d/gs_alpha | 0.003095 | +| ape2d/gs_beta | 0.004740 | +| ape2d/gs_delta | 0.019250 | +| ape2d/gs_epsilon | 0.001366 | +| ape2d/gs_gamma | 0.049313 | +| ape2d/gs_iota | 0.001785 | +| ape2d/gs_kappa | 0.004855 | +| ape2d/gs_theta | 0.004678 | +| ape2d/kdv | 0.016728 | +| ape2d/kolm_flow | 0.008926 | +| ape2d/ks | 0.000033 | +| ape2d/sh | 0.000004 | +| pdearena/navier_stokes_2d | 0.000083 | +| well/active_matter | 0.040528 | +| well/turbulent_radiative_layer_2D | 0.436413 | + +Selection basis: full585 physical-operator comparison: candidate0.78191816, current0.78515234 + +Outcome: did not improve validation reward; retained current package. + +## E179 E144 update500 error analysis + +Existing full585 case and dataset sets match; thermal case/channel/step aggregations agree. Means {"candidate": 0.43641322340848643, "comparison": 0.43734695742255775, "selected_E156": 0.4350606727655739}; wins versus E106 matched control 500 5/9. Single-seed continuation; original benchmarkTrue backend. Logged batches do not prove identical full sampling or CUDA trajectories. Sampling seed 20270118; package weight hashes {"coarse_weights.pt": "ad9a9996912c63eaaed7aa01423bc8598c9a8c966915b277ab64ce1774027dd3", "ensemble_weights.pt": "0c9c49ae6a7da1fbae8d3f21d94b26311467ba1fd991b59877c872973f1a6c23", "mean_weights.pt": "3b423a0afbb46bafc914d62daaf8611a1b30ae424b8c517d846cbb93d4d6578c", "weights.pt": "367f7b8f58987be27cca314844e4521a1da2b17e47a6fa2ee54092810e1be56b"}. All19 dataset VRMSE values, logs and comparisons in resultSHA `d3464291a8c4b544fd6a4c156f6a0fda112a7288cdf400c48d9c19b2cf5d2769`. Zero new forecasts, target-array reads, optimizer updates or seeds. Original selection unchanged. Figure awaits inspection. + +## E144 forecast age descriptive paired analysis, update500 + +Thermal VRMSE: E101 parent0.4368911756234454, matched control0.43734695742255775, candidate0.43641322340848643. Candidate improves5/9 versus control and5/9 versus parent. Late steps13–30: control0.5258797683704173, candidate0.5248500826719878. Other576 official case results match E101 exactly. Descriptive only after full585 scoring/selection; no fit/new optimizer or model change. Nine thermal trajectories limit generalization claims. Per-case/channel/horizon results and unviewed standalone figures in rollout_age_analysis_v1/rollout_age_v1_age_000500. CheckpointSHA256 `367f7b8f58987be27cca314844e4521a1da2b17e47a6fa2ee54092810e1be56b`, analysisSHA256 `3cee707d35c5550293a674f7edd21ea3711ac13f5c638fe1c0b5bfa824fcc374`. + +## E144 update500 descriptive review + +Forecast-age conditioning at original declared update500 (seed20270118) gives thermal VRMSE0.43641322340848643 versus matched E1065000.43734695742255775, full585reward0.7819181624492646/0failures. Five of nine matched cases improve; vx/vy improve, pressure is nearly unchanged/slightly better, density slightly worse; all three windows improve. All four figure panels viewed. MainSHA `367f7b8f58987be27cca314844e4521a1da2b17e47a6fa2ee54092810e1be56b`, reportSHA `0584a685256ca1f2727dabaaf7a700fb65e4b7fc25af08d16ab34097c681b03f`, analysisSHA `d3464291a8c4b544fd6a4c156f6a0fda112a7288cdf400c48d9c19b2cf5d2769`. Original whole package retains older physical components. Current selected E187 thermal0.43410105338056476 and E201 scored-but-not-yet-published0.43290299066505145 are better. Continue original1000updates; E170 decision waits both reports, with no extra checkpoint, new seed or immediate composition. Single-seed benchmarkTrue comparison does not prove identical CUDA trajectories. + +## E201 paired complete-member composition + +E201 one E197-authorized complete paired-member composition: fixed E187 width48 plus E134 update1000 width96, equal complete-output weights .5/.5 on every case. No optimizer or new seed; original first seed20270118/override20270213 and second20270222. Only ensemble_weights.pt changes; all27other runtime assets and allguides/commonencoder/physics byte exact E187. Fresh9thermal/strict576explicitderivedcoverage/official585+81/15exactrepeatsbeforewin; genericguardunchanged reports ensemble_weights.pt, private complete-prefix proof retained. First SHA `a63829d38bef16f84f7e25faf5297b9f3b62afc401c396d5011d3bb89c500d5b`, second SHA `168a9ca26e8ec7c8c80c94f4f3c90118c4ec927d4408eac83cd2c1b692b634f5`, report SHA `e50d2daa264148dec849069c9c587c5a7e74213ff6ee3adf72f39132f016272b`, protocol SHA `b5fb138d79ca955f54590f9fed2f8a56447544b847fb5e330b8dcf763f147c46`. Full reward 0.7852523586577114, zero failures, quick reward 0.8138247843532623. + +| Dataset | Full VALID VRMSE | +|---|---:| +| ape2d/burgers | 0.0075675356854 | +| ape2d/decay_turb | 0.000288901618749 | +| ape2d/diff | 2.51784077127e-06 | +| ape2d/fisher | 5.45119100602e-06 | +| ape2d/gs_alpha | 0.00251330314197 | +| ape2d/gs_beta | 0.00485442191926 | +| ape2d/gs_delta | 0.0209169332632 | +| ape2d/gs_epsilon | 0.000796584539428 | +| ape2d/gs_gamma | 0.0588423936929 | +| ape2d/gs_iota | 0.00719492328713 | +| ape2d/gs_kappa | 0.00758642694505 | +| ape2d/gs_theta | 0.016770683122 | +| ape2d/kdv | 0.0246752780929 | +| ape2d/kolm_flow | 0.0116622870804 | +| ape2d/ks | 2.35692808315e-05 | +| ape2d/sh | 5.34847814421e-06 | +| pdearena/navier_stokes_2d | 8.1143169072e-05 | +| well/active_matter | 0.0852383456597 | +| well/turbulent_radiative_layer_2D | 0.432902990665 | + +Outcome: Improved actual current full585 reward; published atomically. + +## E201 complete paired-member descriptive analysis + +Thermalpairedwins5/9 against E187. Allfourchannels/thirtyforecaststeps/threewindows/all19datasetmeans recorded; all9 combined thermal predictions are fresh, no parent equality claim. Descriptiveonly,noadditionalfittingorselection. ResultSHA cb04fa4246578c0d3424e5b88eb270579f992915e8df4cc3c3ebd3d00ab0863c. Figure awaits inspection. + +## E203 fixed paired-member interaction analysis + +Four cells E131/E187/E1341000/E201 were pinned before E201 VALID. Thermal means {'00': 0.4354355289580768, '10': 0.43410105338056476, '01': 0.4343045218848444, '11': 0.43290299066505145}; second-member mean effects old/new companion -0.001131007073232425/-0.0011980627155132534, metric interaction -6.705564228082834e-05, conditional wins 5/9. All9 leave-one-case-out means [-0.0021354022590031885, -0.0011280466614928542, 2.5282841182187876e-05, -0.0009182106414472244, -0.001979560365905339, -0.0016085267498285594, -4.1301910283703114e-05, -0.001649360235442432, -0.0013474384573981674]. This is nonlinear report-metric interaction, not raw MSE/error covariance, significance or matched training ablation. No new forecasts, target arrays, optimizer, seed or selection. ResultSHA `fb2af8c462fbb1766d08c26a2888833d6935ccfac6168d6f4746254269b72fdc`, protocolSHA `00c6afdfefd2ef5af279fe9e0734289ebb6424755818e3d67e65141179fa295f`. Figure awaits viewing. + +## E201 publication verified and E203 figures inspected + +E201 published after all15 independent exact serving checks: full585reward0.7852523586577114 vsE1870.7851523375253472, zero failures, quick81reward0.8138247843532623. Thermal0.43290299066505145, corpus0.010231659948693987/Arena0.00008114316907195506/active0.08523834565974923 unchanged. All28 submission runtime assets checked exact and pretrained_assets empty,16992454parameters. Complete first a63829d38bef16f84f7e25faf5297b9f3b62afc401c396d5011d3bb89c500d5b and second168a9ca26e8ec7c8c80c94f4f3c90118c4ec927d4408eac83cd2c1b692b634f5. ReportSHA `e50d2daa264148dec849069c9c587c5a7e74213ff6ee3adf72f39132f016272b`, manifestSHA `659863eebd7f8283b09cf881fb38fe81fb7f4d3efe932a1048ba6c13db4e0c28`, analysisSHA `cb04fa4246578c0d3424e5b88eb270579f992915e8df4cc3c3ebd3d00ab0863c`. E201 and E203 figures viewed. Five of nine thermal cases improve; pressure/vx and late window improve, density/vy and early/middle worsen. E203 conditional second-member effect -0.0011980627155132534 versus original -0.001131007073232425, nonlinear metric interaction -0.00006705564228082834; gain ratio1.059288437594986. Eight of nine leave-one-case-out mean effects improve, one is+0.000025282841182187876; not a significance/robustness guarantee. E203 resultSHA `fb2af8c462fbb1766d08c26a2888833d6935ccfac6168d6f4746254269b72fdc`. E197 sole composition consumed; no alternative E134 checkpoint or coefficients. Both lines closed. E202 now runs its frozen unchanged-model scheduling study; E144 continues toward1000. + +## E204 prospective initial-member pairing rule frozen + +After E201 publication and viewed E203 four-cell analysis, before any E189/E190 VALID output, freeze one report-only pairing rule. Wait all4original500/1000 reports; require exact old96/all27other E187 runtime assets, identical585cases/19datasets and finite zero-failure scores. Choose lowest eligible thermal mean (ties E187, E189, E190, earlierstep); require strict improvement over E1870.43410105338056476. If positive, at mostONE separately frozen full combination of chosen complete48 and E201 complete96, allotherE201 assets fixed/everymember everycase. Future23portable-style checks,9freshthermal/576strictDERIVED physical/official585+81/15exactrepeats/actualcurrentunderlock atomic required; no thermal numerical reuse, coefficients, new seeds, optimizer, alternate first member or extra composition if newer physics masks the gain. E148/E172/E174/E183/E144 are not additional candidates. E193 unchanged; it may see any published result only through its existing actual-current arm. ProtocolSHA `53cda43d46d4bb650927a410f69baac89c1d49208c2d3fb466dc234c723d9a9c`. E203 effect is small/single-seed/9cases with one non-improving leave-one-out mean; fresh combination measurement remains mandatory. + +## E205 cached four-cell field interaction frozen + +Follow E203 nonlinear-metric result with exact normalized squared-error algebra on the same four completed packages E131/E187/E1341000/E201 and all nine thermal VALID trajectories. Before arrays: complete runtime/report/input/target/prediction hashes pinned; member-pair asset identity and prior E117 native-context/target audit verified; two deterministic manufactured additive/nonadditive projection identities pass. CPU-only36 existing predictions and9 existing targets, no forecasts/optimizer/new seed/fitted weights/candidate. Decompose mean/X/Y/2D error, the two correction directions and nonadditive final-output residual. No member-error-covariance, training-causality or significance claim. E204 and all selection rules unchanged. ProtocolSHA `a8cdfe7b10690e22564a87a52ce1b34655b954f20b255d31b70457368ce8b21f`. Figure required before closing. + +## E205 completed cached member-update field analysis + +CPU-only nine authorized thermal VALID targets and36 existing complete forecasts, frozen before array reads. All input/target hashes match E117 native audit; all official per-step/channel/case scores reproduced. Orthogonal mean/X/Y/interaction and quadratic four-cell identities passed. Per-channel update cosines [-0.10146970477828218, -0.05595181147023781, -0.049537020164502524, 0.03125594920340056]; normalized MSE interaction [-0.00011749693622100217, -0.0005886795339244365, -4.888520106389965e-05, 0.0002624871081043714]. No new forecasts, optimizer, seed, fitted coefficient or selection change. E204 unchanged. ResultSHA `acab41ca72fba685da7636e23e8d064b03da88e4cf3bd53fb37422707c452f6e`; protocolSHA `a8cdfe7b10690e22564a87a52ce1b34655b954f20b255d31b70457368ce8b21f`. Figure awaits inspection; field algebra does not establish training synergy or generalization. + +## Full validation of age_001000 + +All 585 validation trajectories, starting at frame 0; no held-out trajectories. Reward **0.781998**, failed cases 0. Neural initialization seed 20261021; sampling seed 20270118; checkpoint SHA256 `8025f88027af9fde41e9d31d42f80b84bdb7baa8db3acefb9a80078927c4ff7f`. Same model as the corresponding quick-validation experiment; changed factor: expanded validation sample only. + +| Dataset | VRMSE | +|---|---:| +| ape2d/burgers | 0.007568 | +| ape2d/decay_turb | 0.000289 | +| ape2d/diff | 0.000003 | +| ape2d/fisher | 0.000005 | +| ape2d/gs_alpha | 0.003239 | +| ape2d/gs_beta | 0.004901 | +| ape2d/gs_delta | 0.022624 | +| ape2d/gs_epsilon | 0.000889 | +| ape2d/gs_gamma | 0.062780 | +| ape2d/gs_iota | 0.006619 | +| ape2d/gs_kappa | 0.008764 | +| ape2d/gs_theta | 0.019424 | +| ape2d/kdv | 0.024675 | +| ape2d/kolm_flow | 0.011662 | +| ape2d/ks | 0.000024 | +| ape2d/sh | 0.000005 | +| pdearena/navier_stokes_2d | 0.000081 | +| well/active_matter | 0.087494 | +| well/turbulent_radiative_layer_2D | 0.435456 | + +Exact reuse protocol for a shared-neural change: all physical assets/configuration match /run-state/workspace/research/output_ensemble_v1/validation. The source per-case log audit verifies552 complete corpus/smoke physical rollouts and24 complete active rollouts; all576 outputs have unchanged dependencies. For a shared latent-state head, those dependencies include neural weights, guide assets, postprocessing and serving configuration; neural-weight changes cannot reuse these active predictions. The nine neural radiative-layer outputs were replayed with exact context/metadata equality to full inputs and freshly scored with the official scorer. Reaggregate their official per-case scores and the576 audited unchanged per-case scores using the exact aggregation code extracted from the official scorer. Report provenance includes scorer/source-report hashes and the reuse audit. All585 prediction files are retained. This avoids rereading unchanged targets without approximating the metric. + +Outcome: recorded full validation for audit and comparison; no automatic comparison against the distinct quick-validation sample. + +## E144 — explicit forecast-age conditioning, update 1000 +- Hypothesis / changed factor: Explicit relative-lead feature projection in first shared member, update1000/1000;768 new parameters initialized at exact zero without RNG. tau=k/(k+30), features[tau,tau^2,sin(pi*tau),cos(pi*tau)-1], bias-free4to192 projection added to metadata embedding. k=1..K is local to each case/translation/channel chunk or training microbatch, independent of requested horizon; no persistent inference state. Pinned E101 parent, fixed width96 second member and E072/E033 guides. Both complete members execute every case with fixed parameters. Matched E106 no-reflection control: same seed20270118,sampler,noise.01,full30batch2x3,AdamW3e-5 and schedule; no redundant control training. Constructor CPU/CUDA RNG preserved; exact zero-output completeTRAIN/unknown parity and repeats plus full30 backward preflight precede training. Training checkpointSHA256 e0e888831aaeaa7b0aeb49747901b21abea7c19e160546ff0eece855914e8aea, packaged mainSHA256 8025f88027af9fde41e9d31d42f80b84bdb7baa8db3acefb9a80078927c4ff7f. Full585 matched control reward 0.7819993323925672, candidate 0.7819976582673484. Fresh all9thermal VALID;576completephysical outputs reused only after restricted runtime/source/config/input/coverage proof. Full585 against actual current selection; neural/unfamiliar exact repeats before any win. No pretrained/synthetic assets, held-out access or parameter fitting during inference. +- Seed: 20261106. +- Checkpoint SHA256: `8025f88027af9fde41e9d31d42f80b84bdb7baa8db3acefb9a80078927c4ff7f`. +- Runtime code SHA256: `88bb5fb5e72b0ecbb92a6529ccd741b64551cbf0501ca231290b16f77d77bb45`. +- Validation: fixed 81-case subset; reward **0.812775**, failed cases 0. + +| Dataset | VRMSE | +|---|---:| +| ape2d/burgers | 0.006413 | +| ape2d/decay_turb | 0.000381 | +| ape2d/diff | 0.000003 | +| ape2d/fisher | 0.000003 | +| ape2d/gs_alpha | 0.003095 | +| ape2d/gs_beta | 0.004740 | +| ape2d/gs_delta | 0.019250 | +| ape2d/gs_epsilon | 0.001366 | +| ape2d/gs_gamma | 0.049313 | +| ape2d/gs_iota | 0.001785 | +| ape2d/gs_kappa | 0.004855 | +| ape2d/gs_theta | 0.004678 | +| ape2d/kdv | 0.016728 | +| ape2d/kolm_flow | 0.008926 | +| ape2d/ks | 0.000033 | +| ape2d/sh | 0.000004 | +| pdearena/navier_stokes_2d | 0.000083 | +| well/active_matter | 0.040528 | +| well/turbulent_radiative_layer_2D | 0.435456 | + +Selection basis: full585 physical-operator comparison: candidate0.78199766, current0.78525236 + +Outcome: did not improve validation reward; retained current package. + +## E144 forecast age descriptive paired analysis, update1000 + +Thermal VRMSE: E101 parent0.4368911756234454, matched control0.4354355289580768, candidate0.4354556717088929. Candidate improves4/9 versus control and4/9 versus parent. Late steps13–30: control0.524151309630233, candidate0.5242097646867664. Other576 official case results match E101 exactly. Descriptive only after full585 scoring/selection; no fit/new optimizer or model change. Nine thermal trajectories limit generalization claims. Per-case/channel/horizon results and unviewed standalone figures in rollout_age_analysis_v1/rollout_age_v1_age_001000. CheckpointSHA256 `8025f88027af9fde41e9d31d42f80b84bdb7baa8db3acefb9a80078927c4ff7f`, analysisSHA256 `7cf93079ce470b07132174be5af873658525c2f45458b16991620c5a36a98bdb`. + +## E179 E144 update1000 error analysis + +Existing full585 case and dataset sets match; thermal case/channel/step aggregations agree. Means {"candidate": 0.4354556717088929, "comparison": 0.4354355289580768, "selected_E156": 0.4350606727655739}; wins versus E106 matched control 1000 4/9. Single-seed continuation; original benchmarkTrue backend. Logged batches do not prove identical full sampling or CUDA trajectories. Sampling seed 20270118; package weight hashes {"coarse_weights.pt": "ad9a9996912c63eaaed7aa01423bc8598c9a8c966915b277ab64ce1774027dd3", "ensemble_weights.pt": "0c9c49ae6a7da1fbae8d3f21d94b26311467ba1fd991b59877c872973f1a6c23", "mean_weights.pt": "3b423a0afbb46bafc914d62daaf8611a1b30ae424b8c517d846cbb93d4d6578c", "weights.pt": "8025f88027af9fde41e9d31d42f80b84bdb7baa8db3acefb9a80078927c4ff7f"}. All19 dataset VRMSE values, logs and comparisons in resultSHA `bc2678c5d3f78533a00c0cafb046743cc226cc342ccf97bc6867bba7e1240d9b`. Zero new forecasts, target-array reads, optimizer updates or seeds. Original selection unchanged. Figure awaits inspection. + +## E170 E144 recurrent-role assessment + +Bothdeclared500/1000full585reportsrecorded. Choosefailure-free lowestthermalVALID,earlierstepontie: 1000,thermal0.4354556717088929 versusactualselected0.43290299066505145. Integrationjustified=False. Originalfullpackages/reportsandall19means/checkpointhashes retainedindecisionSHA `484a1368c49399822448fe8caf79ade8c5d295e7e23e4f060a8e1faedf87b541`. Closeassessmentwithoutnewforecasts ormodelchanges. Nooptimizer/newseed/target-arrayreads; no checkpoint routing bydataset. Sourcecompatibility/completeall-caseexecution/exactforward/reuseproof/full585/currentbest/15repeatsremainmandatory. Existing VALID selection only. No composed score, model or runtime compatibility has yet been demonstrated. + +## E205 field interaction figure inspected; descriptive line closed + +Viewed four panels and corrected only missing legend font glyphs in separate comparison_ascii PNG/SVG; original frozen source/results/figures retained with presentation_receipt.json. Complete field updates have channel cosines -0.1014697/-0.0559518/-0.0495370/+0.0312559, weakly opposed except vy. Overall normalized MSE interaction -0.00012314364077624167 is almost entirely the correction cross term -0.00012314265927002073; nonadditive squared norm 1.3754545762103854e-11 and cross -9.952607644634422e-10 are negligible. Max algebra residual4.07e-16, no clamped step/channels. E201 minus E131 normalized MSE changes density+0.00020825/pressure-0.01533643/vx-0.00092376/vy-0.00203043. Current pressure mean+Y-profile fraction45.19846percent; 2D52.71388percent. This remains a small nine-case descriptive result, not significance or member-error covariance. No additional candidate or coefficient/seed/optimizer, E204 unchanged. ResultSHA `acab41ca72fba685da7636e23e8d064b03da88e4cf3bd53fb37422707c452f6e`; presentationSHA `475506606ccd661aac31a44fe97bca2533d0666befb373974e1e6245b489ec61`. + +## E144 final forecast-age result viewed; replacement gate closed + +Original1000updates complete3133.1s/peak30.03964853GiB, seed20270118. Full585reward0.7819976582673484/zero failures; thermal0.4354556717088929 versus matchedE1061000 0.4354355289580768 and actual selectedE2010.43290299066505145. Four of nine cases improve; density/vx/vy improve but pressure worsens. Early/late windows slightly worse and middle slightly better. Both original500/1000 figures viewed; 500 had a control improvement but neither passes actual-current gate. E170selected1000/integrationfalse; no composition, extra checkpoint, new seed or age variant. MainSHA `8025f88027af9fde41e9d31d42f80b84bdb7baa8db3acefb9a80078927c4ff7f`; reportSHA `d29ff111083637573609876e916c983009426e471070af2fbdbd88184619a1e2`; analysisSHA `bc2678c5d3f78533a00c0cafb046743cc226cc342ccf97bc6867bba7e1240d9b`. Single-seed benchmarkTrue comparison does not prove identical CUDA trajectories. Stateless explicit rollout age was implemented correctly; its final validation gain was not demonstrated. E148 now sole optimizer; selectedE201 retained. + +## E148 first operational recovery snapshot audited + +CPU-only audit of the actual update25 snapshot passed:75 consumed microbatches, all183 Adam states at25,3066627 model parameters, original absolute learning rates/source hashes, CPU/Python/NumPy RNG roundtrips and one saved CUDA RNG. No CUDA initialization or global/training state mutation by auditor, no additional validation selection. This is serialization/provenance evidence, not a resumed CUDA trajectory claim. CheckpointSHA `0f425b1a0e03e21520f2d135cd6fd92558e00d45acb3c187f95fe8e5245e7329`; receiptSHA `8a641619a30c28940c6303a0ec278b1d1a1ebad2d9e56fb77f2bd2b66bd22df5`. + +## Operational queue priority: E199 immediately after E148 + +Preserve every original scientific source/protocol, initial, seed, command, data schedule, training length, recovery and selection gate. Only three verified unstarted/no-child waiting launchers were replaced: PID32467E199,12923E172,32329E177; SIGTERM receipts saved, activeE148 untouched. New waits E199afterE148, E172afterE199, E177afterE190; all other waits unchanged. Remaining queue E148→E199→E172→E174→E183→E189→E190→E177→E186→E155. E199 already preflighted125-update96weight trial gets an earlier active-matter result; no new optimizer or scientific variant. E148first100 observed639.4shared seconds, not an isolated forecast. New controllers35501/35502/35503 live and waiting; E172 original autosave wrapper preserved; E199/E177 native recovery unchanged. ProtocolSHA `300b3319ba7982fe61a0aaddb3a038c7668f762f311fc146b47fe3252eb3234c`; stopreceiptSHA `3aef860091aa56c153423f97318b682f40834fb2b8d0abc3a7dae56ed61baa64`. Old supervisors retain expected-15 launch statuses; E199 original supervisor may eventually assert because that waiting launch was deliberately replaced, while its validation/analysis/audit children continue unchanged. E155 remains intact at tail; unfinished if budget ends first. E202 timing/validators/submission model unchanged. + +## E202 passive resource interpretation frozen before final serial timing + +The prospective operational interpretation is now implemented as a CPU-only watcher. Preserve the original four timing arms and both10percent gates; no replay repetition, training extension, new optimizer or selection. After the final E202 serial arm, passively read exactly the next100updates starting at the next logged25multiple, with10second GPU process observations; report overlap rather than changing the window. This uses existing authorized E148 updates only. Compare raw same-trainer progress and a descriptive saved-time scheduling estimate, explicitly limited by boundary logging and random batch workload; no causal throughput guarantee or automatic validator/serving adoption. ProtocolSHA `aae9f35d17b9f24d29b3263ed234fce6e36fea77f0f783c9d4e7f3e093c63b4a`; watcher session11270. + +## E202 fixed two-process replay orchestration result + +Frozen E187 unchanged complete model; two workers by input-index parity. All28fresh complete TRAIN/unknown forecasts bitexact references;20portable and8timed. Fixed two-pair wall reductions [0.1362440154883935, 0.16060254573475818], minimum10percent EACH; passed=True. No optimizer, new training seed, target reads, VALID or submission/runtime modification. ResultSHA `6b088a5060978d3ba1622386d5bd7b12cc964f602cfa6890b0b042f22e3525a2`, protocolSHA `529b74f3a18a41739cec9093e86c7a7eaa08f9fa783c9ae4f5d4aa9f03d5ea56`. Shared-GPU observation only; figure awaits inspection. A separately documented operational amendment may be considered. + +## E202 timing figure inspected; both fixed speed gates passed + +All28 fresh complete TRAIN/unknown predictions matched frozen E187 references bit-for-bit:20portable/reordered/CPU and8timed. Four cold complete-process times509.89424899/440.42420903/444.39121327/529.41691806s give13.62440155percent and16.06025457percent reductions, both above fixed10percent gates. Six CPU orchestration fixtures passed. Figure viewed and allpipeline stages/session80897 exited0. This is a shared-H100 latency observation; first serial pair crossedE144→E148. Pair1parallel E148logged75→150 versus serial150→275, with25-step boundary granularity and differing batches. The previously frozen passive watcher now observes ordinaryE148updates300→400 to contextualize scheduling tradeoff, without extending/repeating training or replay. No validator, model or serving change adopted. ResultSHA `6b088a5060978d3ba1622386d5bd7b12cc964f602cfa6890b0b042f22e3525a2`; originalprotocol529b74f3a18a41739cec9093e86c7a7eaa08f9fa783c9ae4f5d4aa9f03d5ea56. No new optimizer/seed/target reads; selectedE201 unchanged. + +## E202 resource comparison viewed; serial validation retained + +Positive fixed replay gates13.6244percent/16.0603percent and all28bitexact outputs remain unchanged. Passive originalE148updates300→400 took264.5s (0.37807183updates/s); all33ten-second GPU samples showed only originaltrainer34729. Reversedpair parallel logged75updates/444.3912s (0.16877021/s) versus serial125/529.4169s (0.23610881/s). Parallel saved85.0257s, but had50fewer loggedupdates; passive-rate saved-time estimate recovers32.1458updates, net-17.8542 with logging-only bounds[-65.85417588054429, 30.14582411945571]. Different sampled batches, coarse boundaries and point process sampling preclude a causal efficiency claim. Figure viewed; passivewatchsession11270 exited0. Retain original serial validation in the currentqueue; no validator/serving/model changed, no extra timing replay/worker count or new optimizer. This is a positive latency study with adoption declined, not a failed speed gate. Passive resultSHA `453411ce6d598b1c1bad53fce9e5e35652f170f48370b28984e6770ffe5d5b59`; operationaldecisionSHA `037243b1042acc5a2187c12bc998fe677e274ba173a03d232b70d24b7913f29b`. SelectedE201 unchanged. + +## Full validation of ensemble_000500 + +All 585 validation trajectories, starting at frame 0; no held-out trajectories. Reward **0.781887**, failed cases 0. Neural initialization seed 20261021; sampling seed 20270118; checkpoint SHA256 `067acb3b2645274e1c5a07c610d1587e3030d3f9db70beaf4a17c107a51d5666`. Same model as the corresponding quick-validation experiment; changed factor: expanded validation sample only. + +| Dataset | VRMSE | +|---|---:| +| ape2d/burgers | 0.007568 | +| ape2d/decay_turb | 0.000289 | +| ape2d/diff | 0.000003 | +| ape2d/fisher | 0.000005 | +| ape2d/gs_alpha | 0.003239 | +| ape2d/gs_beta | 0.004901 | +| ape2d/gs_delta | 0.022624 | +| ape2d/gs_epsilon | 0.000889 | +| ape2d/gs_gamma | 0.062780 | +| ape2d/gs_iota | 0.006619 | +| ape2d/gs_kappa | 0.008764 | +| ape2d/gs_theta | 0.019424 | +| ape2d/kdv | 0.024675 | +| ape2d/kolm_flow | 0.011662 | +| ape2d/ks | 0.000024 | +| ape2d/sh | 0.000005 | +| pdearena/navier_stokes_2d | 0.000081 | +| well/active_matter | 0.087494 | +| well/turbulent_radiative_layer_2D | 0.436787 | + +Exact reuse protocol for a shared-neural change: all physical assets/configuration match /run-state/workspace/research/output_ensemble_v1/validation. The source per-case log audit verifies552 complete corpus/smoke physical rollouts and24 complete active rollouts; all576 outputs have unchanged dependencies. For a shared latent-state head, those dependencies include neural weights, guide assets, postprocessing and serving configuration; neural-weight changes cannot reuse these active predictions. The nine neural radiative-layer outputs were replayed with exact context/metadata equality to full inputs and freshly scored with the official scorer. Reaggregate their official per-case scores and the576 audited unchanged per-case scores using the exact aggregation code extracted from the official scorer. Report provenance includes scorer/source-report hashes and the reuse audit. All585 prediction files are retained. This avoids rereading unchanged targets without approximating the metric. + +Outcome: recorded full validation for audit and comparison; no automatic comparison against the distinct quick-validation sample. + +## E148 — raw ensemble objective, update 500 +- Hypothesis / changed factor: Frozen-second raw-ensemble objective continuation, update500/1000, sampling/noise seed20270118, unchanged unused reflection RNG20270119. Same pinned E101 initial checkpoint, no-reflection sampler, optimizer and schedule as the reused E106 control. Retain log1p normalized MSE but evaluate the equal raw average of trainable48 and frozen96 forecasts, with independent recurrences and common fixed guidance. Target unbiased spatial variance plus1e-7 remains unchanged. Other serving corrections remain outside this loss. Only the training objective changes; frozen second runs under no_grad/eval and only first parameters enter the optimizer. No new parameters, RNG draws, sampling or inference code. Full30 rollout (corpus26/Arena10),batch2x3,AdamW LR3e-5 cosine,noise0.01,groups.05/.075/.075/.8. First width48 main trained across all19datasets; fixed width96 second member and E072/E033 auxiliary models. Both complete members execute every case, with unchanged equal output averaging, physics, translations and corrections. Training checkpointSHA256 9791f606a1438de64a902df08f202f4f5bd2fd470a2dde7601fabd8df6aa11f7, packaged mainSHA256 067acb3b2645274e1c5a07c610d1587e3030d3f9db70beaf4a17c107a51d5666. Matched E106 control full585 reward 0.7818408117655686; candidate 0.7818871487484542. All9 thermal VALID forecasts fresh and576 complete physical forecasts reused after unchanged source/config/input/coverage audit. Full585 compared to actual current selection; neural/unfamiliar exact repeat checks before a win. No pretrained or synthetic assets, held-out data or inference-time fitting. +- Seed: 20261106. +- Checkpoint SHA256: `067acb3b2645274e1c5a07c610d1587e3030d3f9db70beaf4a17c107a51d5666`. +- Runtime code SHA256: `087b1a80f5bdd055700c84312cca54cc5773ad4f9a4d5fb39a9d3b5f98a1c633`. +- Validation: fixed 81-case subset; reward **0.812664**, failed cases 0. + +| Dataset | VRMSE | +|---|---:| +| ape2d/burgers | 0.006413 | +| ape2d/decay_turb | 0.000381 | +| ape2d/diff | 0.000003 | +| ape2d/fisher | 0.000003 | +| ape2d/gs_alpha | 0.003095 | +| ape2d/gs_beta | 0.004740 | +| ape2d/gs_delta | 0.019250 | +| ape2d/gs_epsilon | 0.001366 | +| ape2d/gs_gamma | 0.049313 | +| ape2d/gs_iota | 0.001785 | +| ape2d/gs_kappa | 0.004855 | +| ape2d/gs_theta | 0.004678 | +| ape2d/kdv | 0.016728 | +| ape2d/kolm_flow | 0.008926 | +| ape2d/ks | 0.000033 | +| ape2d/sh | 0.000004 | +| pdearena/navier_stokes_2d | 0.000083 | +| well/active_matter | 0.040528 | +| well/turbulent_radiative_layer_2D | 0.436787 | + +Selection basis: full585 physical-operator comparison: candidate0.78188715, current0.78525236 + +Outcome: did not improve validation reward; retained current package. + +## E148 raw ensemble objective descriptive paired analysis, update500 + +Thermal VRMSE: E101 parent0.4368911756234454, matched control0.43734695742255775, candidate0.4367873637380803. Candidate improves4/9 versus control and3/9 versus parent. Late steps13–30: control0.5258797683704173, candidate0.5238894164371808. Other576 official case results match E101 exactly. Descriptive only after full585 scoring/selection; no fit/new optimizer or model change. Nine thermal trajectories limit generalization claims. Per-case/channel/horizon results and unviewed standalone figures in ensemble_objective_analysis_v1/ensemble_objective_v1_ensemble_000500. CheckpointSHA256 `067acb3b2645274e1c5a07c610d1587e3030d3f9db70beaf4a17c107a51d5666`, analysisSHA256 `71f145f1c6acda230cc17998000e80e1cb3093dc6ec963dbee5d1cb615684571`. + +## E179 E148 update500 error analysis + +Existing full585 case and dataset sets match; thermal case/channel/step aggregations agree. Means {"candidate": 0.4367873637380803, "comparison": 0.43734695742255775, "selected_E156": 0.4350606727655739}; wins versus E106 matched control 500 4/9. Single-seed continuation; original benchmarkTrue backend. Logged batches do not prove identical full sampling or CUDA trajectories. Sampling or objective differs, so logged loss values are not equivalent objectives. Sampling seed 20270118; package weight hashes {"coarse_weights.pt": "ad9a9996912c63eaaed7aa01423bc8598c9a8c966915b277ab64ce1774027dd3", "ensemble_weights.pt": "0c9c49ae6a7da1fbae8d3f21d94b26311467ba1fd991b59877c872973f1a6c23", "mean_weights.pt": "3b423a0afbb46bafc914d62daaf8611a1b30ae424b8c517d846cbb93d4d6578c", "weights.pt": "067acb3b2645274e1c5a07c610d1587e3030d3f9db70beaf4a17c107a51d5666"}. All19 dataset VRMSE values, logs and comparisons in resultSHA `2a0bbcf625533293ebd22a04f7177e2ee3b59c9a6163fca98f1a26ee731747e7`. Zero new forecasts, target-array reads, optimizer updates or seeds. Original selection unchanged. Figure awaits inspection. + +## E148 update500 ensemble-objective breakdown viewed + +Original declared midpoint500, seed20270118, full585reward0.7818871487484542/zero failures. Thermal0.4367873637380803 improves matchedE1065000.43734695742255775, but remains above actual selectedE2010.43290299066505145. Four of nine cases improve. Pressure improves0.88966110494→0.88310824215; vx essentially unchanged/slightly better, density andvy worsen. Early andmiddle windows worsen, late improves0.52587976837→0.52388941644. Allfour figure panels viewed. MainSHA `067acb3b2645274e1c5a07c610d1587e3030d3f9db70beaf4a17c107a51d5666`; reportSHA `7e977745278971446608a65f0e93522fbc307e90ff4d4cd38f35abcbdd1b75c0`; analysisSHA `2a0bbcf625533293ebd22a04f7177e2ee3b59c9a6163fca98f1a26ee731747e7`. Original1000updates continue; E170 waits both original reports before any current-best component decision. No midpoint composition, added checkpoint, seed, coefficient or optimizer variant. + +## Full validation of ensemble_001000 + +All 585 validation trajectories, starting at frame 0; no held-out trajectories. Reward **0.782121**, failed cases 0. Neural initialization seed 20261021; sampling seed 20270118; checkpoint SHA256 `adf99890f91cf6371d3d369468c3c4f9e8ad53bcabd4d371cc339d195ab2ad55`. Same model as the corresponding quick-validation experiment; changed factor: expanded validation sample only. + +| Dataset | VRMSE | +|---|---:| +| ape2d/burgers | 0.007568 | +| ape2d/decay_turb | 0.000289 | +| ape2d/diff | 0.000003 | +| ape2d/fisher | 0.000005 | +| ape2d/gs_alpha | 0.003239 | +| ape2d/gs_beta | 0.004901 | +| ape2d/gs_delta | 0.022624 | +| ape2d/gs_epsilon | 0.000889 | +| ape2d/gs_gamma | 0.062780 | +| ape2d/gs_iota | 0.006619 | +| ape2d/gs_kappa | 0.008764 | +| ape2d/gs_theta | 0.019424 | +| ape2d/kdv | 0.024675 | +| ape2d/kolm_flow | 0.011662 | +| ape2d/ks | 0.000024 | +| ape2d/sh | 0.000005 | +| pdearena/navier_stokes_2d | 0.000081 | +| well/active_matter | 0.087494 | +| well/turbulent_radiative_layer_2D | 0.433968 | + +Exact reuse protocol for a shared-neural change: all physical assets/configuration match /run-state/workspace/research/output_ensemble_v1/validation. The source per-case log audit verifies552 complete corpus/smoke physical rollouts and24 complete active rollouts; all576 outputs have unchanged dependencies. For a shared latent-state head, those dependencies include neural weights, guide assets, postprocessing and serving configuration; neural-weight changes cannot reuse these active predictions. The nine neural radiative-layer outputs were replayed with exact context/metadata equality to full inputs and freshly scored with the official scorer. Reaggregate their official per-case scores and the576 audited unchanged per-case scores using the exact aggregation code extracted from the official scorer. Report provenance includes scorer/source-report hashes and the reuse audit. All585 prediction files are retained. This avoids rereading unchanged targets without approximating the metric. + +Outcome: recorded full validation for audit and comparison; no automatic comparison against the distinct quick-validation sample. + +## E148 — raw ensemble objective, update 1000 +- Hypothesis / changed factor: Frozen-second raw-ensemble objective continuation, update1000/1000, sampling/noise seed20270118, unchanged unused reflection RNG20270119. Same pinned E101 initial checkpoint, no-reflection sampler, optimizer and schedule as the reused E106 control. Retain log1p normalized MSE but evaluate the equal raw average of trainable48 and frozen96 forecasts, with independent recurrences and common fixed guidance. Target unbiased spatial variance plus1e-7 remains unchanged. Other serving corrections remain outside this loss. Only the training objective changes; frozen second runs under no_grad/eval and only first parameters enter the optimizer. No new parameters, RNG draws, sampling or inference code. Full30 rollout (corpus26/Arena10),batch2x3,AdamW LR3e-5 cosine,noise0.01,groups.05/.075/.075/.8. First width48 main trained across all19datasets; fixed width96 second member and E072/E033 auxiliary models. Both complete members execute every case, with unchanged equal output averaging, physics, translations and corrections. Training checkpointSHA256 6caaf18d442bb10c47a45a74c5c7c88677e8bfb3c1cc8ff428ae3b43c5b20b03, packaged mainSHA256 adf99890f91cf6371d3d369468c3c4f9e8ad53bcabd4d371cc339d195ab2ad55. Matched E106 control full585 reward 0.7819993323925672; candidate 0.7821214989514897. All9 thermal VALID forecasts fresh and576 complete physical forecasts reused after unchanged source/config/input/coverage audit. Full585 compared to actual current selection; neural/unfamiliar exact repeat checks before a win. No pretrained or synthetic assets, held-out data or inference-time fitting. +- Seed: 20261106. +- Checkpoint SHA256: `adf99890f91cf6371d3d369468c3c4f9e8ad53bcabd4d371cc339d195ab2ad55`. +- Runtime code SHA256: `087b1a80f5bdd055700c84312cca54cc5773ad4f9a4d5fb39a9d3b5f98a1c633`. +- Validation: fixed 81-case subset; reward **0.812899**, failed cases 0. + +| Dataset | VRMSE | +|---|---:| +| ape2d/burgers | 0.006413 | +| ape2d/decay_turb | 0.000381 | +| ape2d/diff | 0.000003 | +| ape2d/fisher | 0.000003 | +| ape2d/gs_alpha | 0.003095 | +| ape2d/gs_beta | 0.004740 | +| ape2d/gs_delta | 0.019250 | +| ape2d/gs_epsilon | 0.001366 | +| ape2d/gs_gamma | 0.049313 | +| ape2d/gs_iota | 0.001785 | +| ape2d/gs_kappa | 0.004855 | +| ape2d/gs_theta | 0.004678 | +| ape2d/kdv | 0.016728 | +| ape2d/kolm_flow | 0.008926 | +| ape2d/ks | 0.000033 | +| ape2d/sh | 0.000004 | +| pdearena/navier_stokes_2d | 0.000083 | +| well/active_matter | 0.040528 | +| well/turbulent_radiative_layer_2D | 0.433968 | + +Selection basis: full585 physical-operator comparison: candidate0.78212150, current0.78525236 + +Outcome: did not improve validation reward; retained current package. + +## E170 E148 recurrent-role assessment + +Bothdeclared500/1000full585reportsrecorded. Choosefailure-free lowestthermalVALID,earlierstepontie: 1000,thermal0.433968156562429 versusactualselected0.43290299066505145. Integrationjustified=False. Originalfullpackages/reportsandall19means/checkpointhashes retainedindecisionSHA `695bf0415d1a42762cb7b836135385659c1f2abc201ff082046b098ce85b5472`. Closeassessmentwithoutnewforecasts ormodelchanges. Nooptimizer/newseed/target-arrayreads; no checkpoint routing bydataset. Sourcecompatibility/completeall-caseexecution/exactforward/reuseproof/full585/currentbest/15repeatsremainmandatory. Existing VALID selection only. No composed score, model or runtime compatibility has yet been demonstrated. + +## E179 E148 update1000 error analysis + +Existing full585 case and dataset sets match; thermal case/channel/step aggregations agree. Means {"candidate": 0.433968156562429, "comparison": 0.4354355289580768, "selected_E156": 0.4350606727655739}; wins versus E106 matched control 1000 6/9. Single-seed continuation; original benchmarkTrue backend. Logged batches do not prove identical full sampling or CUDA trajectories. Sampling or objective differs, so logged loss values are not equivalent objectives. Sampling seed 20270118; package weight hashes {"coarse_weights.pt": "ad9a9996912c63eaaed7aa01423bc8598c9a8c966915b277ab64ce1774027dd3", "ensemble_weights.pt": "0c9c49ae6a7da1fbae8d3f21d94b26311467ba1fd991b59877c872973f1a6c23", "mean_weights.pt": "3b423a0afbb46bafc914d62daaf8611a1b30ae424b8c517d846cbb93d4d6578c", "weights.pt": "adf99890f91cf6371d3d369468c3c4f9e8ad53bcabd4d371cc339d195ab2ad55"}. All19 dataset VRMSE values, logs and comparisons in resultSHA `86ed9cfaa48d3b36412c22dd8f79dded44c7d09b126cede14d933b18f7292d01`. Zero new forecasts, target-array reads, optimizer updates or seeds. Original selection unchanged. Figure awaits inspection. + +## E148 raw ensemble objective descriptive paired analysis, update1000 + +Thermal VRMSE: E101 parent0.4368911756234454, matched control0.4354355289580768, candidate0.433968156562429. Candidate improves6/9 versus control and8/9 versus parent. Late steps13–30: control0.524151309630233, candidate0.5211663615432642. Other576 official case results match E101 exactly. Descriptive only after full585 scoring/selection; no fit/new optimizer or model change. Nine thermal trajectories limit generalization claims. Per-case/channel/horizon results and unviewed standalone figures in ensemble_objective_analysis_v1/ensemble_objective_v1_ensemble_001000. CheckpointSHA256 `adf99890f91cf6371d3d369468c3c4f9e8ad53bcabd4d371cc339d195ab2ad55`, analysisSHA256 `232142c51c44ea6859eaac812ceb03a6a8061d5e63b1c754a6716cfef45cb6bc`. + +## E148 final ensemble-objective result viewed; current-model gate closed + +Original1000updates complete3418.4s/peak30.37449503GiB, seed20270118; no new training seed. Full585reward0.7821214989514897/zero failures, thermal0.433968156562429 versus matchedE1061000 0.4354355289580768 and selectedE2010.43290299066505145. Six of nine matched cases improve. Pressure0.88191582686 andvx0.20088687313 improve; density0.17386389117 andvy0.47920603509 slightly worsen. Early/middle windows0.26865573/0.32782451 worse, late0.52116636 better. Both500/1000 figures viewed. E170selected1000/integrationfalse; retain E201 with no extra checkpoint, coefficient, seed, new96 pairing or objective variant. Midpoint/source review was read-only; no composition assembled. MainSHA `adf99890f91cf6371d3d369468c3c4f9e8ad53bcabd4d371cc339d195ab2ad55`; reportSHA `8f8d0b75a8485cae94e2a730407bb77928cabac1f9bfabe70f9527825ed8f0b9`; analysisSHA `86ed9cfaa48d3b36412c22dd8f79dded44c7d09b126cede14d933b18f7292d01`. E199 now sole optimizer, first actual loss0.005663426127284765 andgrad0.0030904177110642195 exactly matched original preflight; first update53.32s/peak2.704GiB. First5-state CPU recovery audit pending. + +## E199 first actual five-update recovery audit passed + +Actual step5/virtual40 CPU audit passed:96 trainable weights,2 Adam moment tensors, every old encoder tensor and source/cache hash exact, RNG schema valid, stable-open checkpoint SHA `7ae1dcccefcaa1b636929c211bd2d318d91f28c625b6a50d99abcb93637acfb6`. Receipt SHA `23c49a144a917091d0d0ca7d4e7009f9c6c052de89c8ad447eb352dd04dbb4bd`. CUDA was not initialized and no resumed CUDA training trajectory was tested. Original125-update experiment continues; no intermediate VALID selection or change to seeds, schedule, source, objective or optimizer. E201 remains selected. + +## E206 cached TRAIN joint-moment audit frozen + +Hypothesis: individually bounded F6 corrections may violate necessary joint Toeplitz positivity. Compare all125 fixed E199 draws before/after the original E187 coarse F6 correction, matrices3/4/5, thresholds1e-6/1e-3; no evolving E199 head. Manufactured angular-measure, impossible-moment, phase/scaling and eigensolver/bound checks passed. CPU only, zero new forecasts/updates/seeds/VALID selection; authorized cache labels deserialize but are unused. Sources, inputs and TRAIN membership pinned in protocolSHA `acf920618dddffaf005a7c3d85d2507a932f17343b6763af31b2b34fdb65cb4f`. E201 remains selected; this diagnostic cannot alter any queued scientific protocol. + +## E206 cached TRAIN joint-moment diagnostic complete + +125 fixed draws /87 unique TRAIN trajectories, original E187 coarse F6 only. Equal-draw normalized eigenvalue < -0.001 fractions before/after: {"3": {"before": 0.0, "after": 0.0}, "4": {"before": 0.0172161865234375, "after": 0.017193115234375}, "5": {"before": 0.0625926513671875, "after": 0.0663853759765625}}. No new forecasts, optimizer, seeds, VALID selection, candidate or changes to queued trials. CPU only; authorized TRAIN labels deserialized but unused; source/input hashes and RNG intact. ResultSHA `362002b4fb23cd85388e3c548f9958f1caab9d6ecfaef51e9ffde1ba117f5f0c`; fixed encoderSHA `0fc425a0cf92a0d25cc8beae5b2cb291cef63f56f6c17c7f9ebd84342e06848d`. Necessary PSD constraints only for cached center-state moments up toF8. CPU float64 audit of stored float32 values; no full41moment admissibility, quadrature, forecast performance, causality or independence claim. Figure awaits inspection; no automatic constraint or follow-up. + +## E206 joint-moment audit viewed and closed + +All125 fixed draws/87 unique TRAIN trajectories completed in133.413s CPU; no GPU, forecast, optimizer or new seed. Figure viewed. At normalized eigenvalue<-0.001, 3x3 violation fraction0; 4x4before0.0172161865234375/after0.017193115234375; 5x5before0.0625926513671875/after0.0663853759765625. Most violations are inherited; original learned F6 repairs and introduces some sites, with almost zero net change through F6 and a modest increase through F8. F6 material violations occur in40/125 draws, F8 in47/125; repeated draws are not independent. Maximum float32-vs-float64 normalized F6 difference4.2646e-8; 5x5Frobenius bound8.5293e-8, well below the reporting thresholds. Discarded concentration imaginary part<=1.463e-8 relative. Necessary low-order center-state conditions do not prove full41moment admissibility or forecast benefit of any projection. Close this descriptive audit with no automatic constraint, solver or queued-trial change. ResultSHA `362002b4fb23cd85388e3c548f9958f1caab9d6ecfaef51e9ffde1ba117f5f0c`; checksSHA `3679202f24557108b02827b3a7ddc0da82980c1b9036eb8a3eae3692ee432f97`; fixed encoder0fc425a0cf92a0d25cc8beae5b2cb291cef63f56f6c17c7f9ebd84342e06848d. E201 remains selected, validation unchanged. + +## E207 prospective winning-branch fine composition frozen + +Before E199 final125 checkpoint/VALID, pin exactly one possible whole E199 encoder/helper plus whole E201 recurrent bundle. This distinct branch requires original E199 published=true and strict active improvement, E201 strict thermal improvement, and hypothetical complete reward above actual current. It is mutually exclusive with original E199 nonwinning-branch allowance; original sources/rules and all other queued experiments unchanged. No optimizer, new seed, alternate head/checkpoint/coefficient, inference or target reads. ProtocolSHA `1d2dfee5b351988962ecdeadf718b7727efcb296e1b21a6cebc1ee94e1fe9233`. Wait final figure-view marker; positive result still requires separately frozen full compatibility/portable/fresh24+strict561/585+81/15 exact checks/current-lock atomic validation. No automatic assembly. + +## Read-only physical-sharing review: optimization already present + +Inspected selected E201 predict.py/physical_cache.py/config.json. share_physical_work is already true: both complete recurrent members use one per-case/translation/channel-chunk tape for common encoder, kinetic forecasts and spectral/Arena states. There is no additional duplicate physical solve to remove across these members. No new experiment ID, candidate, GPU timing, forecast, optimizer or seed; the active full-history neural skip remains the separate previously deferred idea. Source reviewSHA `6f80321aa7b2b351242182335cd3933d67af21126586ba32b9189ee7740f30f3`. E199 continues unchanged; selected E201 remains intact. + +## E199 training complete; final-only validation running + +Original125 fixed physical4 updates completed normally in3633.78494s, seeds20270314/20270315, peakallocated2.70401669GiB/reserved3.009765625GiB. All125 draw logs and final optimizer/source/cache/RNG schema passed; every old encoder tensor remains bitexact and only96 fine-head weights trained. Final headnorm0.02296899445/max0.00564458407. CheckpointSHA `00f8d2629bfa3a8442e6d2ac3a679d6aec26e37fc09ff0be60f2b12f13cf8a05`; exported complete encoderSHA `223e47cfc9f1acaa40d5153dc12daea13def7822c37b8865f7f91b84f1dbb8bd`. Final-only validation has begun:561 strict unchanged-output records audited,24active trajectories will be fresh. No validation result or performance claim yet. E172 started as the sole next optimizer under unchanged0918 queue; first native update finite, guide gradient0.06805499643. E201 remains selected. E199 original/E207 mutually exclusive composition rules await final scores and figure inspection. + +## E172 first actual recovery audit passed + +CPU audit of original update25 recovery passed:75 consumed microbatches, all192 Adam parameter states at25, model3066627 elements and recurrent guide544587 elements finite with matching schema/source/LR/RNG. The guide has451659 trainable parameters plus92928 explicitly frozen zero covariate parameters, as pinned in the original protocol; total trainable3518286. CheckpointSHA `2c2f1d84f6f4ff080940c6a558ff2a676dd80d99d20f45a447d4e2a0e0f23e33`; receiptSHA `d84918bc19a3714eefa4aee8a016ef3e0b362dfbb895b6d62134bea1e5b48178`. CPU serialization audit only, no CUDA initialization or resumed-trajectory claim, no additional validation checkpoint. Original1000-update run continues, selection only500/1000. E199 final-only validation running; E201 unchanged. + +## E208 final fine-head amplitude diagnostic frozen + +After original E199125 training and before its VALID score, inspect all125 cached TRAIN feature draws using one explicitly defined CPU quantized affine reference. Question: does the learned output survive the fine-band filter and remain unsaturated? Exact final checkpoint/encoder, inputs, split and helper sources pinned. Zero/constant/single-channel mathematical fixtures passed. No encoder/recurrent/physical forecasts, target evaluation, GPU, optimizer, new seed or candidate selection. This reference is not CPU/CUDA serving bit parity. ProtocolSHA `4d80301911141cb408bf16b04332123f217eb8c45fec97f0c72230103e70d660`; finalencoderSHA `223e47cfc9f1acaa40d5153dc12daea13def7822c37b8865f7f91b84f1dbb8bd`. No automatic scale, architecture, learning-rate, checkpoint or training extension. Original selection/queue unchanged. + +## E208 final fine-head amplitude diagnostic complete + +125 cached TRAIN head-reference evaluations, no encoder/recurrent/PDE forecast, GPU, target evaluation, optimizer, new seed or selection. Median retained preactivation energy=0.12410852949838462; median fine/original increment norm=0.3861076877982937; max fine preactivation=0.15805375220988999; minimum fine tanh derivative=0.9754292309986965. ResultSHA `c703b2eb395ead0dfdb16b400a700f1265bdfb484d7bc00ed8c2a10df1edad17`; finalencoderSHA `223e47cfc9f1acaa40d5153dc12daea13def7822c37b8865f7f91b84f1dbb8bd`. BF16 weights/features, F64 affine accumulation, BF16 output, F32 pooling, F64 spatial/state algebra; no serving bit-parity claim. Descriptive TRAIN activations only; repeated draws are not independent; no forecast or generalization conclusion. Figure awaits inspection; no automatic amplitude/training/architecture extension. E199 VALID decision remains pending or governed solely by its original rule. + +## E208 final-head amplitude figure viewed; diagnostic closed + +All125 cached TRAIN reference evaluations completed in16.2023s CPU. Final125 encoderSHA `223e47cfc9f1acaa40d5153dc12daea13def7822c37b8865f7f91b84f1dbb8bd` and all source/input/RNG hashes unchanged; zero new encoder/recurrent/PDE forecasts, targets, GPU, optimizer, seed or validation candidate. Four panels viewed. Median retained preactivation energy0.1241085295 (range0.00490995–0.31131568); median additional/original F6 increment norm0.3861076878 (range0.06621–0.74849). Maximum fine preactivation0.1580537522, minimum tanh derivative0.9754292310, no component above absolute1 or3; median relative tanh nonlinearity0.0004112586. Median post-tanh coarse16 energy fraction1.08317e-8; the concentration/alignment envelope still mixes spatial modes, so final state increments are not strictly bandlimited. Median old/new increment cosine-0.0117961. This explicitly defined quantized affine/F64 algebra reference is not a CPU/CUDA serving-bit claim and provides no forecast-performance conclusion. No saturation bottleneck in this reference; no automatic scale/LR/resolution/basis/checkpoint/optimizer extension. ResultSHA `c703b2eb395ead0dfdb16b400a700f1265bdfb484d7bc00ed8c2a10df1edad17`; protocolSHA `4d80301911141cb408bf16b04332123f217eb8c45fec97f0c72230103e70d660`; checksSHA `121344811354364fad3160b2a5e1149a4db5340b04a6fc1a869c0324ce466e2f`. Validation not run for this diagnostic; E199 final replay pending and selectedE201 full585 metrics unchanged. + +## Storage recovery,2026-10-23 + +Operator storage recovery: all old processes ended; restored E201 package runtime assets exactly match its selected585-case package (reward0.7852523586577114, no pretrained assets). E172 actual latest completed recovery is275, SHA 5c492ab9f1aa7dc8706e1e289a50d8148741627f2166239a0a666b374eea0b4f. Original275 log row did not persist; retained logs end250 and no metrics fabricated. CPU schema audit SHA 01a63fcaf656ce755ad913d13707e276c19b48fa57387a27092cabfe9e468f19;825 original six-worker microbatches replayed with0forward/backward/updates, all11 retained dataset/horizon signatures match. Complete model/guide/192Adam states and CPU/CUDA/Python/NumPy RNG restored exactly; resumed276through original1000 with original500/1000 selection and absoluteLR. Restoration receiptSHA 9b717ee5ae890233822206b50b0fc1cea75ea965860ca457590b140347438acf, recoveryprotocolSHA cac62c0eec759c0f1267cf48d7a8131e088da2732d95a6798ff4fdf774b0b5cb. Sparse signatures and cudnn benchmark selection do not establish bitwise resumedCUDAtrajectory. E199 final125 training/checkpoint preserved; no retraining. Six complete activeVALID forecasts retained only after full2member4translation30/30 logs, ordinaryfiniteF32 outputs and exact input/runtime/outputhashes. Remaining18 resumed unchanged. E199 recoveryprotocolSHA 1a1d2fecef68ffce84bbeafee384e2f9df8f6c626cff10a186271b30db201e30; all original585/81/15repeats/currentlockatomic gates and552derived+24fresh provenance unchanged. Original remaining order E172→E174→E183→E189→E190→E177→E186→E155 restored with exactlyoneoptimizer; queueprotocolSHA bb3119b111dcd63756b0e0f7257701e0c9ad4a1f200507c990b968461a2faa61. OriginalCPUwatchers resumed; E204 and first-recovery watcher skiponly one-time prospective preparation under hash-pinned operational derivations. No new scientific experiment/seed/checkpoint/source change. NextunusedE209. All original budget use remainscharged; storage pause invalidates oldwallclock deadline, external budget authoritative. Credentials not inspected. + +## E172 post-recovery snapshot integrity + +E172 first post-recovery operational snapshot audited at update300: all192Adam counters, complete model/guide/config/source/RNG and original absoluteLR pass. CheckpointSHA `ef38d5b46600004e363f757e61944f92a3207370c456605619f755541644f6ca`, receiptSHA `1273ee2b918403c2b406ad25343c9a427dbb583b5530580d4988be66671db492`. Resumed update logs report elapsed time since restoration, not total original+resumed training time; old logs remain archived. No new VALID checkpoint, scientific change or bitwise CUDA continuation claim. + +## E172 joint recurrent guidance, update500 + +E172 jointly trained recurrent guide and backbone, continuation500/1000; seed20270310. Newguide544587total/451659trainable parameters; covariance92928 frozenzero. Complete8010334parameters; everyroleeverycase. Originalguide still supplies physicalencoder/finaldecoder; allphysicalassets, corrections, translations andcoarseguide fixedE156. All10115TRAIN/all19datasets, native thermal, B2x3/full30, noise.01, LR3e-5 bothroles, globalclip1, originalrawlog1p normalizedMSE. Extraoptimization/newseed confound attribution; no matchedcontrol/newpretrainedweights. TrainingSHA `44f86927adbb382d081f409892a8761cd3afe311104227c554f5e62a82e35507`, mainSHA `814e457cbae780b2f1de77b53c6b2766b499a457af99b9ba6af6bf9f75489e4d`, newguideSHA `6892c62c0a07d5c28986dbf0c9d4d85316db7fee6ab1007f0172df582f397414`. Fresh9thermal plus576completephysical reuse under exactsource/config/asset/path/mutation/nativeforward/input/hash/coverage proof. Official585scores andexact81subset;15bitexact servingchecks beforepublication. No held-out data or inference-time fitting. Fullreward 0.7849419442253848, failed0; quick0.8135143699209357. + +| Dataset | Full VALID VRMSE | +|---|---:| +| ape2d/burgers | 0.0075675356854 | +| ape2d/decay_turb | 0.000288901618749 | +| ape2d/diff | 2.51784077127e-06 | +| ape2d/fisher | 5.45119100602e-06 | +| ape2d/gs_alpha | 0.00251330314197 | +| ape2d/gs_beta | 0.00485442191926 | +| ape2d/gs_delta | 0.0209169332632 | +| ape2d/gs_epsilon | 0.000796584539428 | +| ape2d/gs_gamma | 0.0588423936929 | +| ape2d/gs_iota | 0.00719492328713 | +| ape2d/gs_kappa | 0.00758642694505 | +| ape2d/gs_theta | 0.016770683122 | +| ape2d/kdv | 0.0246752780929 | +| ape2d/kolm_flow | 0.0116622870804 | +| ape2d/ks | 2.35692808315e-05 | +| ape2d/sh | 5.34847814421e-06 | +| pdearena/navier_stokes_2d | 8.1143169072e-05 | +| well/active_matter | 0.0852383456597 | +| well/turbulent_radiative_layer_2D | 0.436631998052 | + +Outcome: Noimprovement; retainedcurrentpackage. + +## E172 update500 fixed error comparison + +Existingfull585reports only; thermalparent0.43506067276557386, candidate0.43663199805215924, wins4/9. All19means/mainandguidehashes inresultSHA `cef195940276b3b452c691051271962879487e0c8123f3c116cfabcc3f865676`. Fourchannels/threefixedhorizonwindows; no newforecasts/targets/fit. Architectureplusadditionaloptimization/newseed confounds causal attribution. Figure generated and awaits visual inspection. + +## E172 midpoint result viewed after recovery + +E172500 full585reward0.7849419442253848, zero failures; thermal0.4366319980521593 versus fixedE156parent0.4350606727655739 and actualselectedE2010.43290299066505145. Four of9pairedwins. All4channelmeans and3fixedwindowmeans slightly worse thanparent; finalsteps improve but middleforecast worsens. Fourpanelfigure VIEWED. MainSHA 814e457cbae780b2f1de77b53c6b2766b499a457af99b9ba6af6bf9f75489e4d, recurrentguideSHA 6892c62c0a07d5c28986dbf0c9d4d85316db7fee6ab1007f0172df582f397414, reportSHA 8020cb24bdbfdd9fd3031a87ca73f33f0e09578973c0c65ca6fd7e7b648fd9c7, analysisSHA cef195940276b3b452c691051271962879487e0c8123f3c116cfabcc3f865676. No publication or midpointcomposition; original1000-update schedule continues. Addedarchitecture/optimization/seed and operationalCUDArestart confound causal attribution; no alternative seed/checkpoint/guidevariant. E180 waits bothdeclaredreports. E199validationongoing; E201selectedunchanged. + +## E172 training complete; original queue handed off to E174 + +E172 original1000updates completed normally after restoration275→276. FinalcheckpointSHA 5ece8555ca97917c43719aeb9cd8db7cb5e611d302c7cdca2ea050cce77fb3e9; resumed-segment elapsed2368.8s (NOT total training time); peakallocated30.056687831878662GiB/reserved31.35546875GiB in resumed segment. Final loss.2204109579, guidegrad.034101598 finite. Original500 result negative/viewed; final1000fresh9thermal validation nowpending/running, withstrict576/final585 andactualcurrent selection. E180 waits bothreports; no earlyclosure/composition. E174 mixed_window_objective_v1 nowsoleoptimizer under unchanged seed20270311/1000updates/select5001000/native30/B2x3/odd-free-even-true-history protocol. RemainingE174→E183→E189→E190→E177→E186→E155. E199 retains6complete outputs and has8additionalcomplete=14/24; runtime continues, nofinalscoreyet. SelectedE201reward0.7852523586577114 unchanged. NextunusedE209. + +## E172 joint recurrent guidance, update1000 + +E172 jointly trained recurrent guide and backbone, continuation1000/1000; seed20270310. Newguide544587total/451659trainable parameters; covariance92928 frozenzero. Complete8010334parameters; everyroleeverycase. Originalguide still supplies physicalencoder/finaldecoder; allphysicalassets, corrections, translations andcoarseguide fixedE156. All10115TRAIN/all19datasets, native thermal, B2x3/full30, noise.01, LR3e-5 bothroles, globalclip1, originalrawlog1p normalizedMSE. Extraoptimization/newseed confound attribution; no matchedcontrol/newpretrainedweights. TrainingSHA `5ece8555ca97917c43719aeb9cd8db7cb5e611d302c7cdca2ea050cce77fb3e9`, mainSHA `7de9691c6ef44afabf2f04ea8105ba32541791670dddf66db28a465c1af06383`, newguideSHA `dc33f04585cc9a655b3561541ba2096d2c14d7972876bad05ff661d0dbe7bd07`. Fresh9thermal plus576completephysical reuse under exactsource/config/asset/path/mutation/nativeforward/input/hash/coverage proof. Official585scores andexact81subset;15bitexact servingchecks beforepublication. No held-out data or inference-time fitting. Fullreward 0.7850037779842199, failed0; quick0.8135762036797709. + +| Dataset | Full VALID VRMSE | +|---|---:| +| ape2d/burgers | 0.0075675356854 | +| ape2d/decay_turb | 0.000288901618749 | +| ape2d/diff | 2.51784077127e-06 | +| ape2d/fisher | 5.45119100602e-06 | +| ape2d/gs_alpha | 0.00251330314197 | +| ape2d/gs_beta | 0.00485442191926 | +| ape2d/gs_delta | 0.0209169332632 | +| ape2d/gs_epsilon | 0.000796584539428 | +| ape2d/gs_gamma | 0.0588423936929 | +| ape2d/gs_iota | 0.00719492328713 | +| ape2d/gs_kappa | 0.00758642694505 | +| ape2d/gs_theta | 0.016770683122 | +| ape2d/kdv | 0.0246752780929 | +| ape2d/kolm_flow | 0.0116622870804 | +| ape2d/ks | 2.35692808315e-05 | +| ape2d/sh | 5.34847814421e-06 | +| pdearena/navier_stokes_2d | 8.1143169072e-05 | +| well/active_matter | 0.0852383456597 | +| well/turbulent_radiative_layer_2D | 0.435886636148 | + +Outcome: Noimprovement; retainedcurrentpackage. + +## E180 E172 global-component assessment + +Both original declared full585 reports recorded. Global bundle: complete common recurrent model plus jointly trained recurrent guide. Choose lowest failure-free diagnostic VRMSE, earlier step on an exact tie: 1000, value 0.43588663614777645 versus actual selected 0.43290299066505145. Integration justified=False. Original training seeds [20270310]; all19 dataset values and runtime/checkpoint hashes retained in decisionSHA `11ca923b892e883e2607be5e75a7a5eb08e49c2266681a9ef5fc1b2f2c33e54f`. Close this assessment without new forecasts or model changes. No new optimizer, seed, target-array reads or dataset-dependent checkpoint routing. Complete compatibility, fresh33 Well/strict552/full585/81/15 repeats and actual-current atomic selection remain required. + +## E172 update1000 fixed error comparison + +Existingfull585reports only; thermalparent0.43506067276557386, candidate0.4358866361477765, wins6/9. All19means/mainandguidehashes inresultSHA `13c4be6c745dcba9fc77fcfb8832c7f598d711b0cf7d1626d84bf895a3bd10bb`. Fourchannels/threefixedhorizonwindows; no newforecasts/targets/fit. Architectureplusadditionaloptimization/newseed confounds causal attribution. Figure generated and awaits visual inspection. + +## E172 final result reviewed and line closed + +E1721000 full585reward0.7850037779842199, zero failures; thermal0.43588663614777645 vs fixedparent0.4350606727655739 and selectedE2010.43290299066505145. Six of9pairedwins; larger regressions outweigh wins. Density slightlybetter, pressure/vx/vy worse; middle6–12windowbetter, early1–5 andlate13–30 worse. Both500/1000fourpanelfigures VIEWED. MainSHA 7de9691c6ef44afabf2f04ea8105ba32541791670dddf66db28a465c1af06383, guideSHA dc33f04585cc9a655b3561541ba2096d2c14d7972876bad05ff661d0dbe7bd07, reportSHA 5aa3925d1eebf37530c840a36ca44a83dbe33f69588eb3ee8a680e46524dcd41, analysisSHA 13c4be6c745dcba9fc77fcfb8832c7f598d711b0cf7d1626d84bf895a3bd10bb. E180 selected1000/integrationfalse, decisionSHA 11ca923b892e883e2607be5e75a7a5eb08e49c2266681a9ef5fc1b2f2c33e54f. CLOSED: no extra guidevariant/composition/seed/checkpoint. Original scientificsource/config intact; recorded275restoration does not prove bitwise CUDAcontinuation. E174 nowsoleoptimizer; E199freshactiveVALID15/24 ongoing. SelectedE201unchanged, nextunusedE209. + +## mixed_window_objective_v1 first standalone recovery snapshot audited + +Read-only CPU audit passed at step25, checkpointSHAf99e23e111b2d451770b21a2175223d813beb4d0ef483f46aa32f5cc9edc9c34; complete model/Adam/source/config/RNG/consumed-batch provenance and absolute schedule pass. Physical sampler state is replayed from metadata where present. ReceiptSHAaa4ce280f2a47950d78e2d2865fc89f89e3d601b201c4e6619e5500fc43f761a. No new optimization, forecast, CUDA initialization, validation selection or live interruption; serialization only, not a resumed CUDA trajectory or DataLoader replay proof. + +## E199 final125 fine-head trial + +E199 one fixed-body fine-head trial,125physical4updates, final125onlyeligible. Added96zeroConv48to2 weights; all old encoder/body/F6 tensors and bothE187 recurrentmembers/guides fixed. Fine32interpolation minus16projection beforetanh; CartesianF6 envelope.01*c*alignment^3, no generalrealizabilityclaim. Same125physicalfile/trajectory/shifts asE177, seed20270315; headconstructor20270314. OriginalheadLRatvirtual8*j/1000/warm100/cos15percent/AdamW(.9,.95)/WD1e-4/clip1. Cachedexactserving-contextBF16features, contiguous/deterministic/guide30; mainlossderivativehead0 omitted. Capacity/frozenbody/execution changes mean no matchedtrainingtrajectoryclaim. SixCPUfixtures/36mutations,20completeportableforecasts/14strictreferences,125featureparities and oneactualphysicalbackward/20recoverycorruptions passed. Fresh24active/strict561fixedothers; official585/81 and15exactrepeats beforewin. CheckpointSHA `00f8d2629bfa3a8442e6d2ac3a679d6aec26e37fc09ff0be60f2b12f13cf8a05`, encoderSHA `223e47cfc9f1acaa40d5153dc12daea13def7822c37b8865f7f91b84f1dbb8bd`, protocolSHA `f231690af34981bcd7954bdfac7644ffed532e34e9d1a0c2a629f15d7f4005c9`, reportSHA `33ace79951fb53c04acb71643bd5942068e959ba7e90fd3da11568494bcbc36e`. Fullreward0.7850328063141331,failed0,quick0.8136044573369492. No pretrained/synthetic/heldout/inferencefitting. + +| Dataset | Full VALID VRMSE | +|---|---:| +| ape2d/burgers | 0.0075675356854 | +| ape2d/decay_turb | 0.000288901618749 | +| ape2d/diff | 2.51784077127e-06 | +| ape2d/fisher | 5.45119100602e-06 | +| ape2d/gs_alpha | 0.00251330314197 | +| ape2d/gs_beta | 0.00485442191926 | +| ape2d/gs_delta | 0.0209169332632 | +| ape2d/gs_epsilon | 0.000796584539428 | +| ape2d/gs_gamma | 0.0588423936929 | +| ape2d/gs_iota | 0.00719492328713 | +| ape2d/gs_kappa | 0.00758642694505 | +| ape2d/gs_theta | 0.016770683122 | +| ape2d/kdv | 0.0246752780929 | +| ape2d/kolm_flow | 0.0116622870804 | +| ape2d/ks | 2.35692808315e-05 | +| ape2d/sh | 5.34847814421e-06 | +| pdearena/navier_stokes_2d | 8.1143169072e-05 | +| well/active_matter | 0.0855203336757 | +| well/turbulent_radiative_layer_2D | 0.434101053381 | + +Outcome: No complete-score improvement; retained current package. + +## E199 final-only fine-head analysis ready + +24active VALID wins12/24; all11channel/30step/3window/all19datasetmeans recorded. AnalysisSHA6fa5c6cb15195ea14d1225148dd4b6c80e04c5472dc8c4e70eb43685d9870007. Figure requires viewing. Conditional ONE complete global composition eligibility=False; no automatic assembly/optimizer/checkpoint/seed extension. Single-seed capacity/frozen-body/execution confounds, no causal/generalization claim beyond VALID. + +## E199 final-only fine-head result reviewed and closed + +E199 final125 full585reward0.7850328063141331, zero failures; active0.08552033367566118 versus fixedE187/currentE2010.08523834565974923. Twelve of24pairedwins. Early1–5 mean.002196346886→.002193604580 andmiddle6–12 .012408220766→.012380758419 improve slightly; late13–30 .136628393889→.137109815469 worsens anddominates. All11channelmeans slightlyworse. Fourpanelfigure VIEWED. FinalcheckpointSHA00f8d2629bfa3a8442e6d2ac3a679d6aec26e37fc09ff0be60f2b12f13cf8a05; encoderSHA223e47cfc9f1acaa40d5153dc12daea13def7822c37b8865f7f91b84f1dbb8bd; fullreportSHA 33ace79951fb53c04acb71643bd5942068e959ba7e90fd3da11568494bcbc36e; analysisSHA 6fa5c6cb15195ea14d1225148dd4b6c80e04c5472dc8c4e70eb43685d9870007. All24active fresh execution provenance complete:6retained exacthash outputs and18resumed, all192member/translation kineticprefixes30/30. Original552derivedphysical +9unchangedthermal proof preserved; official585/81 valid. RecoveryauditSHA 958ab91551192b7b4b8bf06024dcc63a97bc621e22a43d33e544a9b19ccbe7b8. No publication and no additional15repeatforecasts because strictcomplete-score gatefails. Originalconditionalcomposition=false; ROOT.figure_viewed nowreleasesE207negativebranchassessment. CLOSED: no new finehead/seed/checkpoint/LR/amplitude/basis/resolution/long-supervision followup. PriorE208unsaturatedreference andE196positiveTRAINgradientcosines didnotestablishVALIDbenefit. E174 remainssoleoptimizer (~375); remainingqueue unchanged. SelectedE201reward0.7852523586577114 unchanged. NextunusedE209. + +## E207 prospective fine winner composition decision + +Gates {"original_E199_published": false, "active_strictly_improved": false, "recurrent_strictly_improved": true, "all_original_reports_failure_free": true, "hypothetical_reward_above_actual_current": false}; integration justified=False. Hypothetical UNVERIFIED composition arithmetic reward=0.7851328274464973 versus actual current=0.7852523586577114. No new inference, optimizer, seed, checkpoint selection or source change. DecisionSHA `aa4636d54edd217fe50628db9312f1638b55979f3ec57fa55d108d18dee4341e`. Close this branch. Original E199 nonwinning allowance, if eligible, is separate and unchanged; no two fine compositions. + +## E174 mixed-window objective, update500 + +E174 alternating free/local TRAIN windows, continuation500/1000; seed20270311. Odd updates free recurrence, even updates true preceding TRAIN windows; fixed guidance computed once from original noisy context. Only main3066627 parameters train; complete7465747parameters, serving code/config/encoder/guides/physics byte-identical to E156. All10115TRAIN/all19datasets, native thermal, B2x3/full30, noise.01, LR3e-5, globalclip1, rawlog1p normalizedMSE. Extraoptimization/newseed confound attribution; no matchedcontrol/newpretrainedweights. TrainingSHA `98261553cf38bfc05133dc384b7eaf6c9827410406ff2485ae0c09c295c08da7`, mainSHA `6ac7e486c230ebff36ac7d7b6fd15b71fac1d09b85ee2a8f52850e68e20423ee`. Fresh9thermal plus576completephysical reuse under exactsource/config/assets/path/mutation/input/hash/coverage proof. Official585scores andexact81subset;15bitexact servingchecks beforepublication. No held-out data or inference-time fitting. Fullreward 0.7840360589952746, failed0; quick0.8126084846908255. + +| Dataset | Full VALID VRMSE | +|---|---:| +| ape2d/burgers | 0.0075675356854 | +| ape2d/decay_turb | 0.000288901618749 | +| ape2d/diff | 2.51784077127e-06 | +| ape2d/fisher | 5.45119100602e-06 | +| ape2d/gs_alpha | 0.00251330314197 | +| ape2d/gs_beta | 0.00485442191926 | +| ape2d/gs_delta | 0.0209169332632 | +| ape2d/gs_epsilon | 0.000796584539428 | +| ape2d/gs_gamma | 0.0588423936929 | +| ape2d/gs_iota | 0.00719492328713 | +| ape2d/gs_kappa | 0.00758642694505 | +| ape2d/gs_theta | 0.016770683122 | +| ape2d/kdv | 0.0246752780929 | +| ape2d/kolm_flow | 0.0116622870804 | +| ape2d/ks | 2.35692808315e-05 | +| ape2d/sh | 5.34847814421e-06 | +| pdearena/navier_stokes_2d | 8.1143169072e-05 | +| well/active_matter | 0.0852383456597 | +| well/turbulent_radiative_layer_2D | 0.447699059507 | + +Outcome: Noimprovement; retainedcurrentpackage. + +## E174 update500 fixed error comparison + +Existingfull585reports only; thermalparent0.43506067276557386, candidate0.4476990595070393, wins0/9. All19means/mainhash inresultSHA `1da0b34d57c2fbaf5b02c1021d5a14840f9a0978ed2d7b83908dbd219050c296`. Fourchannels/threefixedhorizonwindows; no newforecasts/targets/fit. Trainingobjectiveplusadditionaloptimization/newseed confounds causal attribution. Figure generated and awaits visual inspection. + +## E174 midpoint result reviewed + +E174500 full585reward0.7840360589952746/zero failures; thermal0.44769905950703925 versus fixedE156parent0.4350606727655739 and selectedE2010.43290299066505145. Zero of9pairedwins. All4channels and3fixedwindows worsen; late13–30 .5230036989→.5403042133. Pressure.8821298160→.9024315676; vy.4804525687→.5010224759. Fourpanelfigure VIEWED. MainSHA 6ac7e486c230ebff36ac7d7b6fd15b71fac1d09b85ee2a8f52850e68e20423ee, reportSHA 574ea1d36e1be6cb8ab028126c2c6d4381c9d2573886d6a89431ce390fa4512f, analysisSHA 1da0b34d57c2fbaf5b02c1021d5a14840f9a0978ed2d7b83908dbd219050c296. No publication or midpointcomposition/mixture retuning; original1000schedule/seed20270311 remainsunchanged andE180waits bothreports. E174 firstactual25CPUrecoveryreceipt aa4ce280f2a47950d78e2d2865fc89f89e3d601b201c4e6619e5500fc43f761a/checkpointf99e23e111b2d451770b21a2175223d813beb4d0ef483f46aa32f5cc9edc9c34:183Adamstates25,75microbatches, next26local, source/LR/RNGschema pass/noCUDA. E172/E199/E207 allcomplete/viewed/closed; E201 remainsselected. NextunusedE209. + +## E174 mixed-window objective, update1000 + +E174 alternating free/local TRAIN windows, continuation1000/1000; seed20270311. Odd updates free recurrence, even updates true preceding TRAIN windows; fixed guidance computed once from original noisy context. Only main3066627 parameters train; complete7465747parameters, serving code/config/encoder/guides/physics byte-identical to E156. All10115TRAIN/all19datasets, native thermal, B2x3/full30, noise.01, LR3e-5, globalclip1, rawlog1p normalizedMSE. Extraoptimization/newseed confound attribution; no matchedcontrol/newpretrainedweights. TrainingSHA `68f137fb7db6ec177989a014e8bafb8ac52e89bb0ce24c7001708e91bfe0bc67`, mainSHA `acfd45f1baea89296d85cea8b6ded72fb601378afcc77a9357b82ecda5633967`. Fresh9thermal plus576completephysical reuse under exactsource/config/assets/path/mutation/input/hash/coverage proof. Official585scores andexact81subset;15bitexact servingchecks beforepublication. No held-out data or inference-time fitting. Fullreward 0.7845531551918905, failed0; quick0.8131255808874415. + +| Dataset | Full VALID VRMSE | +|---|---:| +| ape2d/burgers | 0.0075675356854 | +| ape2d/decay_turb | 0.000288901618749 | +| ape2d/diff | 2.51784077127e-06 | +| ape2d/fisher | 5.45119100602e-06 | +| ape2d/gs_alpha | 0.00251330314197 | +| ape2d/gs_beta | 0.00485442191926 | +| ape2d/gs_delta | 0.0209169332632 | +| ape2d/gs_epsilon | 0.000796584539428 | +| ape2d/gs_gamma | 0.0588423936929 | +| ape2d/gs_iota | 0.00719492328713 | +| ape2d/gs_kappa | 0.00758642694505 | +| ape2d/gs_theta | 0.016770683122 | +| ape2d/kdv | 0.0246752780929 | +| ape2d/kolm_flow | 0.0116622870804 | +| ape2d/ks | 2.35692808315e-05 | +| ape2d/sh | 5.34847814421e-06 | +| pdearena/navier_stokes_2d | 8.1143169072e-05 | +| well/active_matter | 0.0852383456597 | +| well/turbulent_radiative_layer_2D | 0.441347862604 | + +Outcome: Noimprovement; retainedcurrentpackage. + +## E180 E174 global-component assessment + +Both original declared full585 reports recorded. Global bundle: complete common recurrent serving model and original guide roles. Choose lowest failure-free diagnostic VRMSE, earlier step on an exact tie: 1000, value 0.4413478626042501 versus actual selected 0.43290299066505145. Integration justified=False. Original training seeds [20270311]; all19 dataset values and runtime/checkpoint hashes retained in decisionSHA `b6fd6f7b42949834e406f027115656f226e2474369fcaf5e859d66208662e6a9`. Close this assessment without new forecasts or model changes. No new optimizer, seed, target-array reads or dataset-dependent checkpoint routing. Complete compatibility, fresh33 Well/strict552/full585/81/15 repeats and actual-current atomic selection remain required. + +## E174 update1000 fixed error comparison + +Existingfull585reports only; thermalparent0.43506067276557386, candidate0.4413478626042502, wins1/9. All19means/mainhash inresultSHA `c78fe618e92dcf7f5a6ede1b7f9d33ea19d2185b65aebff4d13a5b58620ce884`. Fourchannels/threefixedhorizonwindows; no newforecasts/targets/fit. Trainingobjectiveplusadditionaloptimization/newseed confounds causal attribution. Figure generated and awaits visual inspection. + +## E174 final result reviewed and closed; E183 active + +E174 update1000: full585 reward0.7845531551918905, zero failures. Thermal VRMSE0.4413478626042501 versus fixed parent0.4350606727655739 and selected E2010.43290299066505145. One of9 paired wins. All four channel means and three fixed windows are worse; late13–30 rises from0.5230036989 to0.5314251477. Improved over own midpoint0.4476990595, but no parent/current gain. Both four-panel figures VIEWED. MainSHA acfd45f1baea89296d85cea8b6ded72fb601378afcc77a9357b82ecda5633967, reportSHA 0a07f356f8c13d890388e9e9710a1a2f82f80a1da7255dcb1d90602a7bf99016, analysisSHA c78fe618e92dcf7f5a6ede1b7f9d33ea19d2185b65aebff4d13a5b58620ce884. Final training checkpointSHA68f137fb7db6ec177989a014e8bafb8ac52e89bb0ce24c7001708e91bfe0bc67. All1000 updates completed in2410.1s, peak allocated30.02038717GiB/reserved31.451171875GiB; original seed20270311 and odd-free/even-local schedule preserved. E180 chose1000, integration=false; decisionSHA b6fd6f7b42949834e406f027115656f226e2474369fcaf5e859d66208662e6a9. CLOSED: no mixture-fraction/reset/seed/checkpoint variant or composition. E183 learned_displacement_v1 is now the sole optimizer under the frozen0700 priority wrapper afterE174; original seed20270319,1000updates, selection500/1000. Added98 zero-initialized48-to2 weights; displacement8*tanh with exact zero-reference bilinear subtraction. All original global model roles preserved. First actual update loss0.2689418942, gradient2.95047593, displacement gradient1.83559394, all finite; allocated30.46877813GiB/reserved31.04296875GiB. TrainerPID2795 at launch; verify identity before action. First25 native CPU recovery audit pending. Remaining order E183→E189→E190→E177→E186→E155. E172/E174/E199/E207 closed. Selected E201 reward0.7852523586577114 unchanged. Next unused experiment E209. + +## learned_displacement_v1 first standalone recovery snapshot audited + +Read-only CPU audit passed at step25, checkpointSHAa9e5c089866d5033f3c6787cdcf84c5774188f9e2784cd7eca3715f98c777aef; complete model/Adam/source/config/RNG/consumed-batch provenance and absolute schedule pass. Physical sampler state is replayed from metadata where present. ReceiptSHAc2c9dc928bd19d21101e7b5e478ce5cc5161b09e87d8eb68e37ec43301816ecf. No new optimization, forecast, CUDA initialization, validation selection or live interruption; serialization only, not a resumed CUDA trajectory or DataLoader replay proof. + +## E209 final fine correction moment-impact diagnostic frozen + +After the negative E199 final result, test its effect on cached TRAIN necessary moment conditions. Same125draws, fixedE208CPUreferencecoefficients andE206baseline maps,3/4/5matrices, thresholds1e-6/1e-3. Material descriptive criterion: both4/5 pooled bad fractions increase by more than0.001 at threshold-0.001. Manufactured checks pass before native arrays; all sources/state/coefficients/maps/split/finalcheckpoint pinned in protocolSHA 9b7265d0e25a3c3c8b4744b4a46946726f62b64a0d6c03296a0355848ca09561. No encoder/head/PDE forecasts, targets evaluated, CUDA, optimizer, newseed, validation selection or candidate. TRAIN labels may deserialize but are unused. CPUreference and truncated center conditions cannot establish serving parity, full realizability or the cause of VALID degradation. No automatic constraint, fine-head extension or queued-protocol change. + +## E209 CPU fine-moment impact diagnostic complete + +125fixed TRAIN draws; no head/encoder/PDE evaluations or targets. Material-increase criterion=False. Pooled negative fractions at threshold-0.001: {"3": {"before": 0.0, "after": 0.0}, "4": {"before": 0.017193115234375, "after": 0.0172437744140625}, "5": {"before": 0.0663853759765625, "after": 0.0670938720703125}}. Baseline cached maps bitexact=True; source/input/RNG unchanged, noCUDA. ResultSHA cf741639404cdff4ae47cdfd26c844b2f3d295b835695eb71ed4b84ef323d62d. Post-outcome CPU reference, necessary truncated center-state conditions only; not full41moment realizability, forecast causation, an independent-sample statistical test or a projection benefit. Figure awaits viewing. No automatic model, projection, fine-head extension, optimizer or queued-protocol change. + +## E209 moment-impact result viewed and diagnostic closed + +E209 complete in131.33419017s CPU,125draws/87TRAINtrajectories, no new head/encoder/PDE forecasts/targets/optimizer/seed/CUDA. Tool session15357 polled exit0. All375 reconstructed E206 baseline eigenvalue maps are BITEXACT; input/source/globalRNG unchanged. Fourpanel figure VIEWED. At eigenvalue threshold-0.001,3x3fraction remains0;4x4 fraction0.017193115234375→0.0172437744140625 (delta0.0000506591796875);5x5 fraction0.0663853759765625→0.0670938720703125 (delta0.00070849609375). Predeclared material criterion requires BOTH changes>0.001, so FALSE.5x5newlynegative0.00319091796875/repaired0.002482421875; largest per-draw increase0.00895690918, decrease-0.00112915039. Negative eigenvalue mass4x4 .00007213307823→.00007223930570;5x5 .00020192874315→.00020305520515. Max normalizedF6 float32 state-arithmetic discrepancy8.32877644e-8/max5x5Frobenius bound1.66575529e-7. Protocol9b7265d0e25a3c3c8b4744b4a46946726f62b64a0d6c03296a0355848ca09561; checks59459f9351d3fcd674f0a7a2bc51fb7ca4c113c25614f4c2c7349b025778a425; resultcf741639404cdff4ae47cdfd26c844b2f3d295b835695eb71ed4b84ef323d62d. Post-outcome CPU-reference necessary truncated center conditions only; not full41moment realizability/serving parity/forecast causation. Small aggregate worsening doesnotruleout sensitivities; per-draw heterogeneity retained. CLOSED: no automaticconstraint/projection/fineheadvariant/training/queuechange. E183soleoptimizer continues; E201selectedunchanged. NextunusedE210. + +## E210 cached conditional/free error scales frozen + +E210 conditional_error_scales_v1 frozen before trajectory-array analysis. CPU-only corrected E163 cached free/reset8/reset1 raw forecasts on the same nine TRAIN trajectories, all30steps/fourchannels. Fixed orthonormal Fourier-X/cosine-Y bands DC,>=64,32-64,16-32,8-16,4-8,<4 native cells; summary strictly <16. Joint mean/X/Y/interaction accounting, official score and first-step bit reproduction, all45arrayfile hashes/metadata/membership pinned. All18 manufactured known-energy/component/band/inverse/Parseval checks pass. ProtocolSHA d4957c74fb5c318527ea880ace5112144a3961d8f297aa57de98f6dff34fc84c; checksSHA e809090e299f3591e7304b5f6e9883d15f842829796f173af949274e9f6771ee. No new forecasts/GPU/optimizer/seed/VALID/filter/architecture/candidate or queue change; different-history error comparison is descriptive, not causal/independent generalization. E183 sole optimizer; E201 selected. Next unused E211. + +## E210 cached conditional/free error scales complete + +Nine authorized TRAIN trajectories, corrected E163 free/reset8/reset1 raw outputs, all30steps/fourchannels. All27 official per-case/channel/step scores reproduced; first-step bits exact; E164 component sums reproduced. Fixed Fourier-X/cosine-Y analysis, inverse-grid-cell radial bands, no physical boundary inference. Fine(<16cell) fractions free=[0.37071677655708907, 0.12394559981426483, 0.17456903630560955, 0.15171098513543044], reset1=[0.7700668618401059, 0.2020943755076601, 0.38287141259244406, 0.3397009078285776]; reset1/free normalized energy ratios=[0.3097319535462549, 0.5668611044923847, 0.36358356905205796, 0.3174630860978098]. ProtocolSHA d4957c74fb5c318527ea880ace5112144a3961d8f297aa57de98f6dff34fc84c; resultSHA 9e86287b148eb7056991409c97c24f184973187aeced2506874d5a37218929f1. Previously trained TRAIN trajectories, truth-history diagnostics, original-context guides. Orthogonal analysis basis, not imposed physical boundaries. Different-history errors are not an additive or causal recurrence decomposition. No automatic filter, architecture, loss, optimizer or candidate. Figure awaits inspection. No new forecasts/GPU/optimizer/seed/VALID; E183 and queue unchanged. + +## E210 conditional/free scale figure inspected; diagnostic closed + +E210 complete in47.911012203s CPU; session82281 polled exit0. All six panels VIEWED. Cached corrected E163 nine TRAIN/free/reset8/reset1, 27 raw forecasts/all30steps/fourchannels; no new forecasts/GPU/optimizer/seed/VALID. All per-case/channel/step scores reproduce (max1.66533454e-16); first-step bits exact. Spectral Parseval maxrelative3.92303469e-15 and E164 component reproduction8.95509849e-16. Fine(<16 native cell) energy fractions free→reset1: density.3707167766→.7700668618, pressure.1239455998→.2020943755, vx.1745690363→.3828714126, vy.1517109851→.3397009078. Higher in all4channels/all9 pooled cases; reset1/free total energy ratios [.3097319535,.5668611045,.3635835691,.3174630861]. Interaction-only reset1 fine fractions [.7863482994,.2577784044,.4261962642,.4260855841]. This supports a descriptive scale shift, while pressure remains mostly at wavelengths>=16; no generic higher-resolution benefit established. Different histories/original-context guides/trained trajectories prevent causal or independent-generalization claims. Orthogonal Fourier-X/cosine-Y basis does not impose physical boundary conditions. ProtocolSHA d4957c74fb5c318527ea880ace5112144a3961d8f297aa57de98f6dff34fc84c; resultSHA 9e86287b148eb7056991409c97c24f184973187aeced2506874d5a37218929f1. CLOSED, no automatic filter/resolution/loss/optimizer/candidate or queuechange. E183 continues original500/1000; selectedE201 unchanged. NextunusedE211. + +## E183 learned displacement residual, update500 + +E183 shared learned spatial displacement, continuation500/1000; seed20270319. One zero-initialized98parameter common2D displacement head, bounded8pixels with tanh and zero-reference-subtracted bilinear transport; original free recurrence and fixed guidance. Only main3066725 parameters train; complete7465845parameters, only common main model/helper/weights change; all other runtime/config/encoder/guides/physics byte-identical to E176. All10115TRAIN/all19datasets, native thermal, B2x3/full30, noise.01, LR3e-5, globalclip1, rawlog1p normalizedMSE. Extraoptimization/newseed confound attribution; no matchedcontrol/newpretrainedweights. TrainingSHA `638ca57397c45920d21f30724a80e27d4f2ecce57c455b58333d4f21a6d819fc`, mainSHA `6c05eed942a5a92960e71384051404a0de0c4eb33cef8d86c3449b40b43b110f`. Fresh9thermal plus576completephysical reuse under exactsource/config/assets/path/mutation/input/hash/coverage proof. Official585scores andexact81subset;15bitexact servingchecks beforepublication. No held-out data or inference-time fitting. Fullreward 0.7839957304908455, failed0; quick0.8125681561863964. + +| Dataset | Full VALID VRMSE | +|---|---:| +| ape2d/burgers | 0.0075675356854 | +| ape2d/decay_turb | 0.000288901618749 | +| ape2d/diff | 2.51784077127e-06 | +| ape2d/fisher | 5.45119100602e-06 | +| ape2d/gs_alpha | 0.00251330314197 | +| ape2d/gs_beta | 0.00485442191926 | +| ape2d/gs_delta | 0.0209169332632 | +| ape2d/gs_epsilon | 0.000796584539428 | +| ape2d/gs_gamma | 0.0588423936929 | +| ape2d/gs_iota | 0.00719492328713 | +| ape2d/gs_kappa | 0.00758642694505 | +| ape2d/gs_theta | 0.016770683122 | +| ape2d/kdv | 0.0246752780929 | +| ape2d/kolm_flow | 0.0116622870804 | +| ape2d/ks | 2.35692808315e-05 | +| ape2d/sh | 5.34847814421e-06 | +| pdearena/navier_stokes_2d | 8.1143169072e-05 | +| well/active_matter | 0.0852383456597 | +| well/turbulent_radiative_layer_2D | 0.448198216577 | + +Outcome: Noimprovement; retainedcurrentpackage. + +## E183 update500 fixed error comparison + +Existingfull585reports only; thermalparent0.43506067276557386, candidate0.4481982165771867, wins2/9. All19means/mainhash inresultSHA `8e46b772b7af6d84ec77e631b15b3095c31c0d6d4a8ea7f2f73022d750367f2b`. Fourchannels/threefixedhorizonwindows; no newforecasts/targets/fit. Architectureplusadditionaloptimization/newseed confounds causal attribution. Figure generated and awaits visual inspection. + +## E183 displacement midpoint result reviewed + +E183 update500 full585reward0.7839957304908455/zero failures; thermal0.44819821657718667 versus fixedE176parent0.4350606727655739 and selectedE2010.43290299066505145.2/9pairedwins. All4channels andall3windows worse; late13-30 .5230036988744772→.5405208243737069. Fourpanel figure VIEWED. MainSHA 6c05eed942a5a92960e71384051404a0de0c4eb33cef8d86c3449b40b43b110f; trainingSHA 638ca57397c45920d21f30724a80e27d4f2ecce57c455b58333d4f21a6d819fc; reportSHA c38a6730fe24c392f90d8ae5ee2bd7bfaadf0809c92778ed26b92ff95c0c6ac5; analysisSHA 8e46b772b7af6d84ec77e631b15b3095c31c0d6d4a8ea7f2f73022d750367f2b. No publication; original1000-update seed20270319/architecture/bound/optimizer continues unchanged. E193 waits all originalreports; no midpoint composition or new displacement variant. E210complete/viewed/closed; E201selectedunchanged. E211 reserved for CPU-only Schur F6 feasibility, not yet frozen; prior E043 full-moment projection VALIDnegative must remain explicit. + +## E211 minimal F6 Schur-disk feasibility frozen + +E211 schur_f6_feasibility_v1 frozen before native state comparison. CPU-only125 existing E206 TRAIN draws/87trajectories, same old coarse F6/common encoder as E201; no new E199finehead. Minimal F6 Schur-disk Euclidean projection preserving allothermoments, float64 and original-F32-input/cast-F32 numerical representations, fixed analytic guards. Known-mixture/independent2x2solve/phase/scaling/insideidentity/invalidfallback/idempotence/otherbits checks passed. Fixedgate native validT4mineig>=-1e-6,>=90percent reduction badT4(-.001),<=.001 skippedfraction, T5badfraction increase<=.001. Require375cached E206 eigenmaps bitexact before interpretation. ProtocolSHA 6dea3628ad4102a861be9d5dfb987979ee0de79748aaf9f6dc165fe3ab0ade76; checksSHA 17bd58802b0843b314503c352af82d5a735263fc2a88e2450554df7c421845b0. Prior E043 full128-pass projection worsened activeVALID.08745429→.08884714 and remainsrejected; thisdiagnostic doesnotreopenit orE199. No neural/PDEforecast/targetevaluation/CUDA/optimizer/newseed/VALID/serving change; labels maydeserialize unused. No automaticfollowup: numerical gatecouldonlymotivate a separatelyfrozen TRAIN screen. E183soleoptimizer/queueunchanged, E201selected. NextunusedE212. + +## E211 minimal F6 feasibility diagnostic complete + +125 cached TRAIN draws/87trajectories; all375 E206 baseline maps bitexact, all other moments unchanged. Numerical feasibility gate=False; components={"valid_site_T4_numerical": true, "T4_reduction": true, "fallback_fraction": false, "T5_no_material_worsening": false}. T4 below-.001 relative reduction=0.9362632681316341; T5 fraction change=0.009316772460937497; skipped=0.0059571533203125; native valid T4 minimum=-2.0645098050490508e-08. CPU center-state necessary T4 constraint only, fixed old encoder/coarse F6. No full41-moment/quadrature/serving/forecast or generalization guarantee. Old E043/E199 remain rejected. No automatic followup or model change. ResultSHA 90544ceb77a8f482bd98f9b36de7f4d228090400cecf916f3a62469a7673c897. No forecasts/targets evaluated/CUDA/optimizer/seed/VALID; figure awaits inspection. + +## E211 minimal F6 feasibility figure viewed; gate failed and line closed + +E211 COMPLETE/VIEWED/CLOSED; session4271 polledexit0.261.095185387s CPU,125cachedTRAINdraws/87trajectories, no head/neural/PDEforecast/targetevaluation/CUDA/optimizer/seed/VALID. All375E206baseline eigenmaps bitexact; othermomentbits/input/source/RNG unchanged. MinimalF6projection numerical gateFALSE: validT4mineig-2.064509805e-8 passes-1e-6 andbadT4(-.001) .0171929931640625→.0010958251953125 gives93.6263268percentrepair, butskippedfraction.0059571533203125 exceeds.001 andT5badfraction.0663851318359375→.075701904296875 increases.009316772460937497>.001. ReferencevalidT4min-4.975107391e-11; maxT4F32roundingbound6.024945888e-8. Changed13.00501709percent ofsites; maxF6increment/c .09816695600352551. Thisrepairsone necessarycondition whileworseningthenext; no fullmoment/quadrature/serving/forecastbenefit established. FourpanelsVIEWED. ProtocolSHA 6dea3628ad4102a861be9d5dfb987979ee0de79748aaf9f6dc165fe3ab0ade76; checksSHA 17bd58802b0843b314503c352af82d5a735263fc2a88e2450554df7c421845b0; resultSHA 90544ceb77a8f482bd98f9b36de7f4d228090400cecf916f3a62469a7673c897. CLOSED: no projectedforecast/candidate, guardthreshold/basis/amplitude/highermoment extension. PriorE043fullprojection andE199finehead remainrejected. E183soleoptimizer continuing original1k; E201selectedunchanged. NextunusedE212. + +## E183 learned displacement residual, update1000 + +E183 shared learned spatial displacement, continuation1000/1000; seed20270319. One zero-initialized98parameter common2D displacement head, bounded8pixels with tanh and zero-reference-subtracted bilinear transport; original free recurrence and fixed guidance. Only main3066725 parameters train; complete7465845parameters, only common main model/helper/weights change; all other runtime/config/encoder/guides/physics byte-identical to E176. All10115TRAIN/all19datasets, native thermal, B2x3/full30, noise.01, LR3e-5, globalclip1, rawlog1p normalizedMSE. Extraoptimization/newseed confound attribution; no matchedcontrol/newpretrainedweights. TrainingSHA `d474a0895dd1b7a00587e13cd6c70b3c9ed76b4344ca4001091e8570e922bc52`, mainSHA `185ed8689d8de40d46ca15c15add9295a7fb0dec3628691dd48d9e7ec589150f`. Fresh9thermal plus576completephysical reuse under exactsource/config/assets/path/mutation/input/hash/coverage proof. Official585scores andexact81subset;15bitexact servingchecks beforepublication. No held-out data or inference-time fitting. Fullreward 0.7847771430410273, failed0; quick0.8133495687365783. + +| Dataset | Full VALID VRMSE | +|---|---:| +| ape2d/burgers | 0.0075675356854 | +| ape2d/decay_turb | 0.000288901618749 | +| ape2d/diff | 2.51784077127e-06 | +| ape2d/fisher | 5.45119100602e-06 | +| ape2d/gs_alpha | 0.00251330314197 | +| ape2d/gs_beta | 0.00485442191926 | +| ape2d/gs_delta | 0.0209169332632 | +| ape2d/gs_epsilon | 0.000796584539428 | +| ape2d/gs_gamma | 0.0588423936929 | +| ape2d/gs_iota | 0.00719492328713 | +| ape2d/gs_kappa | 0.00758642694505 | +| ape2d/gs_theta | 0.016770683122 | +| ape2d/kdv | 0.0246752780929 | +| ape2d/kolm_flow | 0.0116622870804 | +| ape2d/ks | 2.35692808315e-05 | +| ape2d/sh | 5.34847814421e-06 | +| pdearena/navier_stokes_2d | 8.1143169072e-05 | +| well/active_matter | 0.0852383456597 | +| well/turbulent_radiative_layer_2D | 0.438624790207 | + +Outcome: Noimprovement; retainedcurrentpackage. + +## E183 update1000 fixed error comparison + +Existingfull585reports only; thermalparent0.43506067276557386, candidate0.4386247902070656, wins2/9. All19means/mainhash inresultSHA `33254ab9729695f10c36a96fa95153409c5a4b04a0233ff6d77ffda141304e87`. Fourchannels/threefixedhorizonwindows; no newforecasts/targets/fit. Architectureplusadditionaloptimization/newseed confounds causal attribution. Figure generated and awaits visual inspection. + +## E189 first operational recovery snapshot audited + +Complete first-member model/Adam/config/source/RNG/microbatch/absoluteLR checks pass at step25,checkpointSHAe66d5cfc84aa79e42e924a83d3a806f781efff8595dba22abd5d62294158af7f;receiptSHAc80d392b5e8eaa07472d9e11a9f8b1c7e10e7079e93ffb35e67aed0538cf7493. Originalinitial/override RNG streams require DataLoader replay before restore; no live interruption/resume/CUDA or additional VALID selection. + +## E183 final displacement result reviewed; trial closed + +E183 completed all 1,000 updates in 2,094.9 seconds, peak allocated30.5009179115GiB/reserved31.615234375GiB. Final full585 reward0.7847771430410273, zero failures; thermal VRMSE0.4386247902070656 versus E176 parent0.4350606727655739 and selected E2010.43290299066505145. Two of nine paired wins; all four channel means and all three fixed windows worsen. Late13-30 is0.5276621138659001 versus0.5230036988744772. Both500/1000 figures VIEWED. MainSHA 185ed8689d8de40d46ca15c15add9295a7fb0dec3628691dd48d9e7ec589150f; trainingSHA d474a0895dd1b7a00587e13cd6c70b3c9ed76b4344ca4001091e8570e922bc52; reportSHA 3a37a4a23c03691f5292b3708b6a8fd5b5a08ba273b8d80a45b9f5f647ef0c88; analysisSHA 33254ab9729695f10c36a96fa95153409c5a4b04a0233ff6d77ffda141304e87. No publication. Close this displacement architecture trial without bound/interpolation/seed/checkpoint variants. E193 retains the original reports and waits the remaining declared experiments; no new composition. E189 all_initial_sampling_v1 is now the sole optimizer, original seed20270118/override20270213,1,000updates/select5001000. Remaining order E189→E190→E177→E186→E155. E201 remains selected. + +## E212 cross-equation gradient audit frozen + +E212 cross_equation_gradient_v1 frozen before trajectory-array calculations. Pin E201 first a638 backbone and fixed3b423 guide; actual training cache grids, raw log1p normalized-MSE objective, original channels-last/BF16/benchmarkTrue settings. Exactly63TRAIN initial records:9thermal (one per file) and3per other dataset by frozen identity hash.126fresh B1 raw rollouts/126backwards/0updates with paired identical contexts; constructor0/private noise20270330+i at original.01. All10115 memberships/cache hashes and28runtime assets pinned. Require paired forward/loss bits, finite gradients, unchanged weights/globalRNG, own allocated/reserved<24GiB; no retry on failed gate. Compare four weighted group directions and all19 datasets; prospective evidence gate allrepeatrelative<=.05,>=8/9positive thermal-LOO opposition, median>=.05. No Adam/clipped-update or generalization claim, no automatic optimizer/model/VALID change. Wait E183 .validated (now satisfied). ProtocolSHA 65b7a692835642ff376400748cb9879b0bc0984da01cb8dacfe8a45a2fa1bd59; checksSHA 972bbc99b69e3f3c7bc3b5346fa84b8b521282f0d9e260cbc4f7363e409cdacb. Preparation session45928 polledexit0. E189 remains sole optimizer. Next unused E213. + +## E212 cross-equation raw-backbone gradient audit complete + +63 authorized TRAIN initial records/all19datasets,126rawrollouts/126backwards/0updates; allweights/inputs/source/globalRNG unchanged. Paired forward/loss bits exact. Evidence gate=False; {"paired_backward_variation": true, "leave_one_out_positive": true, "leave_one_out_magnitude": false}. Weighted opposition={'value': 0.017401634811319042, 'defined': True, 'numerator': 0.18979461416814267, 'denominator': 10.90671170990723}; LOOmedian=0.0162931157110089, positive=9/9; maxrepeatrelative=0.017800653273979127. Sparse TRAIN initial-window raw-backbone gradient sample; not complete serving loss, random-window distribution, Adam/clipped update, causal/generalization benefit or automatic optimizer trial. ResultSHA 84feeb585e49e766bf10e76ed44a833fd6914e190ea1f6152420f522310f43dc. Figure awaits inspection; no VALID or selected-model change. + +## E212 cross-equation gradient figure viewed; evidence gate below threshold + +E212 completed in198.322787805 seconds; tool session58615 polled exit0. All four plot panels VIEWED.63 authorized TRAIN initial records across19datasets,126rawforward/backward pairs total126rollouts and126backwards, zero optimizer updates. All paired forward/loss bits exact; weights/input/source/globalRNG unchanged. Maximum paired relative gradient difference0.017800653274 passes.05; peak own GPU allocated15.264035702GiB/reserved15.779296875GiB. Weighted nonthermal opposition r0.0174016348113; all9thermal-LOO values positive (range.0143195003–.0197557278), median.0162931157110 below fixed.05. Evidence gateFALSE on magnitude. Group thermal cosines: corpus-.00431782124,Arena-.07963944046,active-.05154753508. Combined weighted gradient versus weighted thermal: cosine.9634448467, relative difference.2737863793; this includes orthogonal directions, not just opposition. Head r.0269388593 versus other-parameter r.00153333706. Sparse previously trained initial-window sample; not actual Adam/clipped updates or a generalization result. ProtocolSHA 65b7a692835642ff376400748cb9879b0bc0984da01cb8dacfe8a45a2fa1bd59; checksSHA 972bbc99b69e3f3c7bc3b5346fa84b8b521282f0d9e260cbc4f7363e409cdacb; resultSHA 84feeb585e49e766bf10e76ed44a833fd6914e190ea1f6152420f522310f43dc. CLOSED without gradient-surgery, loss/group-weight/noise/case-selection variants or optimizer trial. E189 remains sole optimizer (latest200); original remaining queue and E193/E204 assessment rules unchanged. E201 selected reward0.7852523586577114 unchanged. Next unused E213. + +## E213 quadrature objective gradient diagnostic frozen + +Frozen before native-array and derivative work: E201 fixed encoder0fc425a0 and guide3b423a0a; exactly two previously audited TRAIN contexts z9/a-3/t2 and z17/a-5/t2; original differentiable physical source with reversible optional node transform. Arms legacy, existing serving F4 projected center, existing three-node mean, each4/30steps. Fixed seed20261026/phase1e-4; no change to serving.60nodeforecasts/24coefficientadjoints/24actual98parameterheadVJPs/0updates; paired forward/loss bit equality, finite nonzero adjoints, fixed weights/RNG; own allocated/reserved<24GiB. Strong17/-5 full30 quadrature-versus-projected cosine<.9 and relL2>.2 at coefficient/head, effects>10timesrepeat, all full30 repeats<=.05. Projection effect separated.81CPU manufactured node value/derivative fixtures passed with private RNG and no CUDA/trajectory-array reads. No retry, optimizer, VALID, candidate or automatic followup; E043/E211/E199 remain closed. ProtocolSHA a7650000c32f0504cc1c65c5e1e7b3dfbee41ddda0ae1c1551019867235b5010; checksSHA 204de1cd3bad88df0b5b1979e77dce04ac219fea998c475de0a9d8d8ab82751c. E189 sole optimizer; original remaining queue unchanged. + +## E189 all-initial sampling update500 + +E189 all-initial TRAIN sampling, update500; same E123initial/settings/seeds20270118/20270119/20270213, override2/3→1 only. Complete E187two-member runtime with fixed commonencoder/guides/physics; everyroleeverycase,16992454parameters. Fresh9thermal/strict576explicitderivedcoverage/official585+81/15exactrepeatsbeforewin; genericguardunchangedreportsweights, private complete-prefix dependency proof retained. CheckpointSHA `e3908bb3804eb6e4cf2c0f48fbea2fabac2dee05cb6abc72f6711c019b2aaf47`, servingmainSHA `89eca987cd9c950fe779d077bfeeab856e940e8374f46559f8d91c953c4c073d`, reportSHA `d2740e6e4f1596c074c98ce06de9f460d92ffbf1281c0b6d5d933dfae8617f6e`, protocolSHA `a3f117e5c704d17bb7a3cfab6768c4b1af11eaad5af63614746f89909725bd44`. Fullreward0.7849720519791848,0failed,quick0.8135444776747358. + +| Dataset | Full VALID VRMSE | +|---|---:| +| ape2d/burgers | 0.0075675356854 | +| ape2d/decay_turb | 0.000288901618749 | +| ape2d/diff | 2.51784077127e-06 | +| ape2d/fisher | 5.45119100602e-06 | +| ape2d/gs_alpha | 0.00251330314197 | +| ape2d/gs_beta | 0.00485442191926 | +| ape2d/gs_delta | 0.0209169332632 | +| ape2d/gs_epsilon | 0.000796584539428 | +| ape2d/gs_gamma | 0.0588423936929 | +| ape2d/gs_iota | 0.00719492328713 | +| ape2d/gs_kappa | 0.00758642694505 | +| ape2d/gs_theta | 0.016770683122 | +| ape2d/kdv | 0.0246752780929 | +| ape2d/kolm_flow | 0.0116622870804 | +| ape2d/ks | 2.35692808315e-05 | +| ape2d/sh | 5.34847814421e-06 | +| pdearena/navier_stokes_2d | 8.1143169072e-05 | +| well/active_matter | 0.0852383456597 | +| well/turbulent_radiative_layer_2D | 0.436268911456 | + +Outcome: Did not improve actual current full585 reward; selected package retained. + +## E189 update500 matched window-sampling analysis + +Original thermal reports only; means{"E189 all initial": 0.4362689114564764, "Selected E187": 0.43410105338056476, "E123": 0.4361305626448577, "E106": 0.43734695742255775};pairedwinsvsE123 5/9. All19datasetmeans/channels/steps/windows and report hashes retained. Single-seed matchedfactor, no additional fitting/forecast/selection. MainSHA89eca987cd9c950fe779d077bfeeab856e940e8374f46559f8d91c953c4c073d;analysisSHA6f55389acfe1ec77de7f26808b3aeb8057d55e2da609ae4cc4b97310139270a7. Figure awaits inspection. + +## E189 midpoint matched sampling figure inspected + +E189500 full585 reward0.7849720519791848/zero failures; thermal0.4362689114564764 versus matched E1235000.4361305626448577, fixedE1870.43410105338056476 and selectedE2010.43290299066505145. Five of9pairedwins versus matchedE123, but mean slightly worse. Density/vy and early/middle windows improve versusE123; pressure/vx andlate13-30 worsen (0.5245634294276021→0.5258380447126908). All four figure panels VIEWED. MainSHA89eca987cd9c950fe779d077bfeeab856e940e8374f46559f8d91c953c4c073d; trainingSHAe3908bb3804eb6e4cf2c0f48fbea2fabac2dee05cb6abc72f6711c019b2aaf47; reportSHAd2740e6e4f1596c074c98ce06de9f460d92ffbf1281c0b6d5d933dfae8617f6e; analysisSHA6f55389acfe1ec77de7f26808b3aeb8057d55e2da609ae4cc4b97310139270a7. Original1000schedule/seed and E193/E204 gates unchanged; no midpoint composition or sampling retuning. E213 zero-update derivative diagnostic running session18401; E189 sole optimizer. E201 remains selected. + +## E214 profile-resolution ceiling frozen + +E214 frozen before native field arrays: exactly corrected E163 nine initial free raw TRAIN forecasts,30steps/fourchannels, all source/input/target/forecast hashes and memberships pinned. No model/solver/GPU/optimizer/seed/VALID. Compare target-informed error projections onto centered16 and48-knot interpolated X/Y spaces and unrestricted centered profiles, preserving mean and2D interaction. Fixed48 refinement has factor3 nested16 knots and8-cell Y spacing; no resolution sweep. Ten manufactured geometry fixtures on1/7/31/128/384 and both boundary conventions passed rank/nesting/literal interpolation/idempotence/orthogonality<=1e-12; RNG unchanged. Require official score reproduction, explicit-versus-energy MSE and invariance<=1e-10. Opportunity gate pooled16→48 relativeVRMSEgain>=1%, at least7/9cases>=1%, pressure>=2%. Capacity ceiling only, no predictable/deployable coefficient or automatic training claim. Older raw TRAIN outputs are not current E201 complete serving. Four-panel figure mandatory. ProtocolSHA e6795157d191aa8fe7002aa847d2cef0612608d421c0c8e78dde5fe2c3163bc9; checksSHA 60b5ed12305ee2140b94ea24031de68b65def79702476ca0c3fb9c1e2fce4a7d. E213/E189/originalqueue unchanged; E201 selected. + +## E214 profile-resolution ceiling complete + +Nine corrected E163 free raw TRAIN forecasts; no new model/solver/GPU/optimizer/seed/VALID. Nested centered16→48-knot interpolation spaces; target-informed orthogonal projection only. Official scores reproduced; per-step/channel monotonicity, mean/interaction invariance and explicit/energy MSE checks passed. Pooled oracle16→48 gain=0.023922455767885244; pressure gain=0.028617237413642905; cases>=1%=9/9; capacity opportunity gate=True. ResultSHA 2df739b49f71a2e3dda791766cb5450ae65d88076b9eac881f192f6f9d8546fc. Offline target-informed linear projection of older raw TRAIN errors; no coefficient is deployable, no learning or E201 serving/generalization benefit is established. Mean and 2D interactions held fixed. No automatic training/candidate. Figure awaits inspection. + +## E214 profile ceiling figure inspected; capacity opportunity only + +E214 COMPLETE/VIEWED/CLOSED, session11988 exit0, CPU6.736889685s. All9official raw TRAIN case/channel/step scores reproduced (max1.6653e-16); projection/mean/interaction/MSE checks max1.3811e-15; all source/input/RNG unchanged. Target-informed residual VRMSE raw0.368535138854→oracle160.342653586300→oracle480.334456471038→unrestricted-profile0.332904975939. Nested16→48 ceiling gain2.3922455768%, all9cases>1% (1.7443–3.0245%), pressure2.8617237414%; fixed representation-opportunity gateTRUE. Mean and2D interaction fixed. This is a ceiling on older E163 raw TRAIN errors, not achievable learning gain, E201 serving accuracy or independent generalization. No new forecast/GPU/optimizer/seed/VALID or automatic candidate. Protocol e6795157d191aa8fe7002aa847d2cef0612608d421c0c8e78dde5fe2c3163bc9; checks60b5ed12305ee2140b94ea24031de68b65def79702476ca0c3fb9c1e2fce4a7d; result2df739b49f71a2e3dda791766cb5450ae65d88076b9eac881f192f6f9d8546fc. E213 ongoing (firstcase4step all paired bits exact; quad/center coefficientcos.9999963/headcos.9999951 descriptive only; full30 required), E189 soleoptimizer. E201 selectedunchanged. NextunusedE215. + +## E215 context-only fine-profile persistence frozen + +E215 fixed fine-profile persistence screen frozen before native fields. E214 positive representation ceiling motivates one context-only reference: unchanged E163 nine audited initial free raw TRAIN forecasts plus.25*(P48-P16)(lastcontextprofile-predictedprofile) on bothaxes/allchannels/30steps, F64addition thenF32cast. Old16component/mean/2Dinteraction preserved beforecasting. Targets only score and describe cross-term; no new forecast/GPU/optimizer/seed/VALID/current-package candidate.16manufacturedshape/boundaryfixtures passed idempotence/orthogonality/mean/interaction/zero/magnitude/sign/inputRNG/deterministicF32 checks. Prospective gate pooledrelativeVRMSEgain>=.1% and>=5/9wins; no strength/resolution/time/axis/channel/frame sweep. Positive allows only separately frozen current-model TRAIN confirmation; negative closes persistence rule. ProtocolSHA 85915a4caccc8335a99e599073ae142f6f143c9e06bfef35ee8e32c8c1a3fb7e; checksSHA 371aaaafcf80eef1d2b0e35137d6a6af1bdd0395fd530824eea7da4b7acfc587. E213 and E189/remainingqueue unchanged; E201 selected. + +## E215 fixed fine-profile persistence screen complete + +Nine audited initial TRAIN cached raw rollouts; single fixed strength.25 and48-minus16 profile space; target used only for scoring. VRMSE [0.36853513885424527, 0.3739555913117158]; relative gain=-0.014708102121068845; wins=0/9; screen=False. ResultSHA 321f94c348c1e8a67879f4f9073fd78fcccd7aa2f8b11d75ac550a0233950d5f. One fixed context-only CPU correction on older cached raw TRAIN forecasts; no E201 complete-serving or generalization benefit established; no automatic candidate. Figure awaits inspection. No strength/resolution/extrapolation/axis/channel retuning. + +## E215 fine-profile persistence figure inspected; rule rejected + +E215 COMPLETE/VIEWED/CLOSED negative, session30161 exit0, CPU3.689298224s. Nine audited initial TRAIN raw rollouts, fixed.25 context-only48-minus16 profile correction. ActualF32 VRMSE0.36853513885424527→0.3739555913117158, relative gain-1.4708102121%,0/9wins, gateFALSE. Density/pressure/vx worsen, vy tinyimprovement; all3fixedwindows worsen. Pressure cross-term sum-.9129561536 is overwhelmed by correctionpower8.3503950851; no coefficient fitting follows. Cross-term identity max6.32458e-16; F32MSEchange/raw atmost1.54956e-7; all source/input/RNG unchanged. Protocol85915a4caccc8335a99e599073ae142f6f143c9e06bfef35ee8e32c8c1a3fb7e; checks371aaaafcf80eef1d2b0e35137d6a6af1bdd0395fd530824eea7da4b7acfc587; result321f94c348c1e8a67879f4f9073fd78fcccd7aa2f8b11d75ac550a0233950d5f. No current-model confirmation, VALID, publication or strength/resolution/extrapolation/axis/channel/frame variant. E214capacity ceiling does not imply persistence or a learned forecast generalizes. E213 ongoing; E189 soleoptimizer latest725. E201 remains selected. NextunusedE216. + +## E216 audited finer-profile TRAIN features frozen + +E216 feature-extraction preparation frozen before native arrays: all10115unique authorizedTRAINrecords from pinned index27427edb; exactE136source-array hashes required. Store per-frame/channel F64 globalmean/populationvariance/fullX/fullY marginal profiles, no resampling/projection/model/fit/forecast/optimizer/GPU/seed/VALID. Native thermal128x384; otheractualtrainingcachegrids may becoarsened. Onlyfuturefourcontextentries may beinputs; laterentries TRAINlabels.20manufacturedzero/constant/separable/broadband fixtures on tiny/odd/nativegrids pass independentTorchF64/perfeature2e-12/meanidentities/unchangedinputRNG/noCUDA.2CPUworkers×1thread, chunk16; eachrecordordinarynpy+source/outputhash+atomicreceipt. Requireall10115sourcehashes and19datasetrepresentativeTorchchecks. Anticipated1,280,826,576featurebytes. Noarchitecture/training/selection automatically follows; E214ceiling andE215negativepersistence bothretained. ProtocolSHA 556e5a044957a3ff28d7047317809b2fcf55aa0f4dd4bda2b60f3b81cc9c9134; checksSHA 5617db6fe86877aa03391854b37d6c49201ba24417821940ce211572b8e377a2. E213ongoing; E189soleoptimizer~800; originalremainingqueue and E201selected unchanged. + +## E217 learned fine-profile prototype, manufactured checks only + +E217 is IN PREPARATION ONLY, not frozen/training: fine_profile_learning_v1/CONCEPT.md and fine_profile.py implement a251616parameter shared64-wide/four-block conditioned1D48-profile forecaster. Manufactured-only checks passed in0.1774s CPU: tengeometrycases, fourtiny/odd/native/channel-count model cases, auxiliaryzero-headpersistence, disabled/matched/nonfiniteguard/repeatbits, finite nonzero headbackward, weights/globalRNG unchanged, no nativefields/CUDA/optimizer. SourceSHA7a8e03c56c6d55b87fb5158f9cf43167d9426b7558208012e0cbb177ab45171a. Proposedall19CPU6000/select2k6k, fixedextra48-minus16 profileloss/correction. Needs complete E216cache, fullprospective source/config/sampler/recovery/native/portable/selectionfreeze before any update. Plannedresource use, not launched: after E213 terminates and is recorded, one4thread CPU-only auxiliarytrainer may run alongside originalONEGPUtrainer, never CUDA; earlierGPUqueue/scientificsources unchanged. This prospective use of spareCPU avoids holding the newsmallmodel behind allremainingGPUjobs. Pinoneactualselectedruntimeparent before anynewVALIDresult. No automaticcandidate or claim of improvement. E213 session18401 ongoing; E216 session16433 extracting; E189solecurrentoptimizer925. E201 selected unchanged. NextunusedE218 after reservingE217inpreparation. + +## E189 full training finished; E190 original trial active + +E189 original1000updates completed normally; elapsed2570.5s with shared-GPU diagnostic/validation contention, peakallocated30.0396223068GiB, finite final loss.153191939/grad2.532360792. FinaltrainingcheckpointSHA 401126dedf48d2f9b80747d74ebda434a1672930d3febe9ee2a4a65f60f8a74d. Final1000validation pending;500negative/viewed. No earlyclosure or midpointcomposition: E193/E204 waitalloriginalreports. E190 initial_score_objective_v1 is nowsoleGPUoptimizer under original1000/select5001000 matched missingfactorial protocolb33e03ec850621d9acd9ef382e12c32047c353fc4c5dc9a54be4e8d0839b94e4. Actual25recoveryauditpending. RemainingGPUqueueE190→E177→E186→E155. E213zero-updatediagnostic session18401ongoing; E216twoCPUworkerextraction session16433past8250/10115. E217onlymanufacturedprototype/concept, notfrozen/train; do notlaunchbeforeE213recorded andfullprotocolcomplete. E201 selectedreward.7852523586577114 unchanged. + +## E189 all-initial sampling update1000 + +E189 all-initial TRAIN sampling, update1000; same E123initial/settings/seeds20270118/20270119/20270213, override2/3→1 only. Complete E187two-member runtime with fixed commonencoder/guides/physics; everyroleeverycase,16992454parameters. Fresh9thermal/strict576explicitderivedcoverage/official585+81/15exactrepeatsbeforewin; genericguardunchangedreportsweights, private complete-prefix dependency proof retained. CheckpointSHA `401126dedf48d2f9b80747d74ebda434a1672930d3febe9ee2a4a65f60f8a74d`, servingmainSHA `926d8c320579f0ddaf0e8a1476e5752cc619b4e2fafcd168a67ade8bfb3e7a4f`, reportSHA `4559e0bc2c95982f82d984853889a0da377144f5f1afdcc0c5dfce01d08d6409`, protocolSHA `a3f117e5c704d17bb7a3cfab6768c4b1af11eaad5af63614746f89909725bd44`. Fullreward0.7851256195021777,0failed,quick0.8136980451977287. + +| Dataset | Full VALID VRMSE | +|---|---:| +| ape2d/burgers | 0.0075675356854 | +| ape2d/decay_turb | 0.000288901618749 | +| ape2d/diff | 2.51784077127e-06 | +| ape2d/fisher | 5.45119100602e-06 | +| ape2d/gs_alpha | 0.00251330314197 | +| ape2d/gs_beta | 0.00485442191926 | +| ape2d/gs_delta | 0.0209169332632 | +| ape2d/gs_epsilon | 0.000796584539428 | +| ape2d/gs_gamma | 0.0588423936929 | +| ape2d/gs_iota | 0.00719492328713 | +| ape2d/gs_kappa | 0.00758642694505 | +| ape2d/gs_theta | 0.016770683122 | +| ape2d/kdv | 0.0246752780929 | +| ape2d/kolm_flow | 0.0116622870804 | +| ape2d/ks | 2.35692808315e-05 | +| ape2d/sh | 5.34847814421e-06 | +| pdearena/navier_stokes_2d | 8.1143169072e-05 | +| well/active_matter | 0.0852383456597 | +| well/turbulent_radiative_layer_2D | 0.434421645184 | + +Outcome: Did not improve actual current full585 reward; selected package retained. + +## E216 native marginal TRAIN feature cache complete + +All10115records/19datasets extracted with2CPUworkers, no model/GPU/optimizer/seed/VALID. All E136 source-array hashes reproduced; finitefloat64 features, marginalmean identities,19independentTorchCPU representative checks pass. ResultSHA 97604e422179eae26a0ba15b0935f0a9c57856414e0159539a2cecd3871329b2; recordsSHA 89db093d1e22afb961a4d6ff705a7777ffca443e0af0f72cdd13e40f011db058. Actual TRAIN cache grids; native thermal128x384, other sources may be coarsened. Four context entries only for future inference; later frames are TRAIN labels. No architecture, trained predictor, forecast benefit or automatic training. + +## E189 update1000 matched window-sampling analysis + +Original thermal reports only; means{"E189 all initial": 0.434421645184004, "Selected E187": 0.43410105338056476, "E123": 0.43410105338056476, "E106": 0.4354355289580768};pairedwinsvsE123 5/9. All19datasetmeans/channels/steps/windows and report hashes retained. Single-seed matchedfactor, no additional fitting/forecast/selection. MainSHA926d8c320579f0ddaf0e8a1476e5752cc619b4e2fafcd168a67ade8bfb3e7a4f;analysisSHAfc17bbc9a5c590900d629b1f25385b1eca37dd7a9829f71ccf74ccb29d706670. Figure awaits inspection. + +## E190 first operational recovery snapshot audited + +Complete first-member model/Adam/config/source/RNG/microbatch/absoluteLR checks pass at step25,checkpointSHAcbde02c25d423f124369d2557a9c2e55bdc9fe3cd3e12688c372fd36dc2973f6;receiptSHAa25f2b128e31ee38b8abbd8b9fd4b47ed2ed7df65c2f932e5f7f39a99dfcb284. Originalinitial/override RNG streams require DataLoader replay before restore; no live interruption/resume/CUDA or additional VALID selection. + +## E189 final all-initial sampling figure inspected; trial closed + +E189 COMPLETE/VIEWED/CLOSED negative. Original1000 training2570.5s; full585 reward0.7851256195021777,zero failures; thermal0.434421645184004 versus matchedE123/fixedE1870.43410105338056476 and selectedE2010.43290299066505145. Five of9case wins, density/early1-5/middle6-12 improve but pressure/vx/vy andlate13-30 worsen (.522896540123→.523854455522). Both500/1000figures VIEWED. Finalmain926d8c320579f0ddaf0e8a1476e5752cc619b4e2fafcd168a67ade8bfb3e7a4f; training401126dedf48d2f9b80747d74ebda434a1672930d3febe9ee2a4a65f60f8a74d; report4559e0bc2c95982f82d984853889a0da377144f5f1afdcc0c5dfce01d08d6409; analysisfc17bbc9a5c590900d629b1f25385b1eca37dd7a9829f71ccf74ccb29d706670. No publication or further sampling/seed/checkpoint variants. E193/E204 keep original reports; E204 still waits bothE190reports and cannotcompose a nonimproving E189firstmember. E190 soleGPUoptimizer, remainingqueueE190→E177→E186→E155unchanged; E201 selected. + +## E216 completed feature audit; learned experiment still in preparation + +E216 feature preparation COMPLETE, session16433 polledexit0,661.171342849s/2CPUworkers×1thread. All10115TRAINsource-array hashes exactly matchE136 audits;19independent TorchCPU representatives pass (maximum1.53169712919e-16) andmarginalmean identitymax1.91461253925e-16.1,280,826,576F64featurebytes acrossordinary per-recordnpy files plusatomic receipts. All originalindex/source/outputhashes retained; recordsSHA89db093d1e22afb961a4d6ff705a7777ffca443e0af0f72cdd13e40f011db058; resultSHA97604e422179eae26a0ba15b0935f0a9c57856414e0159539a2cecd3871329b2; protocol556e5a044957a3ff28d7047317809b2fcf55aa0f4dd4bda2b60f3b81cc9c9134; checks5617db6fe86877aa03391854b37d6c49201ba24417821940ce211572b8e377a2. FormatT,C,[mean,populationvariance,XmarginalH,YmarginalW],actualtrainingcachegrids; thermalnative128x384,otherfamiliesmaybecoarsened. No model/CUDA/optimizer/seed/VALID/newforecasts; only fourcontextentries maybeinputs, laterframes TRAINlabels. E217 fine_profile_learning_v1 remainsINPREPARATION: CONCEPT expandedwithexactproposedsampler/recovery/actual-parentselection; fine_profile.py manufacturedchecked251616params, noTRAINmodelcalculationsyet. Need fullfrozenprotocol/nativechecks beforeCPUtraining, andwaitE213terminated/recorded. E213session18401stillrunning; E190soleoptimizer. NextunusedE218afterE217reserved. + +## E190 first real recovery checkpoint audited + +E190 actual25 CPU recovery audit PASSED:75microbatches,183model/Adamstatesall25,3066627parameters,originalLR/parameterorder/source/RNGschema pass. Checkpointcbde02c25d423f124369d2557a9c2e55bdc9fe3cd3e12688c372fd36dc2973f6; receiptSHAa25f2b128e31ee38b8abbd8b9fd4b47ed2ed7df65c2f932e5f7f39a99dfcb284; schema d99a5267e8bef327d68c2a6cefd91ce1086bd9546ef2c7f640684098472fa490. CPUserialization only, no actualrestore/DataLoaderreplay/CUDAtrajectoryproof. TrainerPID6727 (verifyidentitybeforeaction), workers6737/6741/6745/6749/6753/6757. E190soleoptimizer; remainingE177/E186/E155 unchanged. + +## E217 learned fine-profile forecast: prospective pre-native freeze + +One new shared251616-parameter48-knot/four-block1D CNN, bothaxes/all19datasets, initialized from scratch. E214 supplied only a representation ceiling; E215 persistence failed and remains closed. Train one CPU6000-update arm, select2000/6000 only; B128,AdamW3e-4,warm100/cosine15%,seeds20270401/02/03,groups.1/.1/.1/.7,initialoverride.5. Fixed.25 final extra-profile correction with D=(I-P16)B48; no other serving weights change. PlanSHA `826133a7197af5974fae9f0f8f26b83de79bb679192f4700411b23f419513834`; initializationSHA `18815aacff1d3d5859a0e14b54955a390d3663b8dcf5a650164e1b5e7651ebf5`. Manufactured-only checks passed; exact sources/sampler/feature inputs now frozen before native model work. Next gate is19-dataset CPUfeatureparity and one native128x384B128h30 backward with0updates. Optimizer must wait until E213 terminates and is recorded, then uses4CPUthreads/noCUDA beside the unchanged singleGPUqueue. Full recovery snapshots25 and independent actual25 audit required. Same actual selected complete parent pinned before any new VALID; both checkpoints require portable/source/coverage gates, fresh9thermal+strict576proof or freshaffectedphysicalcases,585/81officialscores and15exactrepeats before strict actual-current rewardwin/atomicpublication. No scientific retry, parameter sweep, automatic composition, pretrained assets or synthetic training. Submission runtime remains E201. + +## E217 native preflight passed; CPU optimizer gated behind E213 + +All10115audited TRAINfeature records transformed;19representatives maximumfloat64relativeerror 4.991827180027022e-16, normalizedfloat32coefficients exact. Native128x384B128h30: loss0.09401080826691113, headgradient0.06030568107962608, peakRSS1.2090530395507812GiB, elapsed9.904179331031628s; weights/globalRNG/sources unchanged,0optimizerupdates,noCUDA. FinaltrainingprotocolSHA `49a1f42d4e4d9891972022d010c270ceb267055d820c3ef89b8064ab794f317b`, nativechecksSHA `cfaaf7f2067d46139eef5db3449f60bbac03be2e0b0b1f4d385988a32e77f1cc`, derivedfeatureSHA `77b76fdcc0ec1bece0e13e58423e4d85e7767c27e66f5fdfa89b226285590920`. No forecast-improvement inference. CPUlaunch and first25recoveryauditor wait; originalGPUqueue unchanged. Runtime/portable/validation sources still being implemented under the frozen selection rules; no newVALID. + +## E217 parent pinned and manufactured runtime integration passed + +Actual globally selected E201 pinned once under ledgerlock before any newVALID; parentfullreward0.7852523586577114, sameparentfor2k/6k. PinSHA `f26c25684a281365c6a1194e9140a7131eaf627b6f5d4bd3b65f8209c9a322ef`. Onlypredict/config additive insertions plus fine_profile.py/fine_weights.pt; alloldlearned/physicalassetsbyteexact,17244070completeparameters. RuntimeCPUprotocolSHA `9950b1628f3031954a37162bc9c9ed9c5c45e207a0441301085f8d050df1c996`; checksSHA `04881469d8a9a4dbc60a9366d69f16e8b65c4daa1451965bb55342af34377702`:96manufactured two-member fixtures cover disabled/enabledcorrection, finite/failing Spectral/Arena-style prefixes, kineticprefix0..5,unknownchannelsup23,tiny/rectangular/coarsenedgrids,nonfinitefallback. Parentphysicalprefixbits/recurrenthistoriesexact; disabledorindependentlycomputedcorrectedsuffixexact; fineheadcalled2timesperchunk/sharedencoderonce. No native arrays/GPU/optimizerupdates; freshactualtrained portable checks still required. Generic dependency guard will correctly report predict/config changes, so reuse requires separateexactsource/allprefix/provenanceproof; never claim freshphysicalexecution from derived evidence. + +## E217 runtime and validation pipeline frozen + +Runtime protocol SHA `691ed32eeffa8d93e82e844aa528f1a83d0a53614cf169c3fd37225d2281a067`. Fixed pinned E201 parent, same for2000/6000; exact reversible code insertions, all old assets fixed. Generic guard correctly reports predict.py and config.json shared-state changes; separate96-fixture proof plus576 complete-prefix/input/source hashes establish derived physical reuse, preserving E201→E187→E176. Each trained checkpoint still requires23 fresh portable forecasts (11CUDA,6reordered,3CPUtwice), all fine-component call counts,9freshthermal/585and81officialreports, figure inspection, then15exactchecks before strict actual-current rewardwin. Later runtime sources pinned before any newVALID. At each new GPU validation stage, earlier already-produced queue checkpoints receive priority; no original controller or scientific source changes. CPU trainer still waits E213 termination/recording. No new forecasts or optimizer updates from this freeze; submission runtime remains E201. + +## E190 initial-window VRMSE training update500 + +E190 initial-window x scored-objective factorial combination, update500; same E123initial/settings/seeds20270118/20270119/20270213 andoverride2/3; exactE124VRMSEloss. Complete E187two-member runtime with fixed commonencoder/guides/physics; everyroleeverycase,16992454parameters. Fresh9thermal/strict576explicitderivedcoverage/official585+81/15exactrepeatsbeforewin; genericguardunchangedreportsweights, private complete-prefix dependency proof retained. CheckpointSHA `44719246aacc4ffda8f853ed9b8b6527de1d2485f9904a3b7eef600483927660`, servingmainSHA `c84fe8fc0be87e6d4424ac04f6b957fe2c896d725d50575422e0d6b06bf53026`, reportSHA `e0490c9d206b0ceb95c465bfdb5f679b078e54a349c03489f5fab3a90a7fd56e`, protocolSHA `b33e03ec850621d9acd9ef382e12c32047c353fc4c5dc9a54be4e8d0839b94e4`. Fullreward0.7849096086113537,0failed,quick0.8134820343069047. + +| Dataset | Full VALID VRMSE | +|---|---:| +| ape2d/burgers | 0.0075675356854 | +| ape2d/decay_turb | 0.000288901618749 | +| ape2d/diff | 2.51784077127e-06 | +| ape2d/fisher | 5.45119100602e-06 | +| ape2d/gs_alpha | 0.00251330314197 | +| ape2d/gs_beta | 0.00485442191926 | +| ape2d/gs_delta | 0.0209169332632 | +| ape2d/gs_epsilon | 0.000796584539428 | +| ape2d/gs_gamma | 0.0588423936929 | +| ape2d/gs_iota | 0.00719492328713 | +| ape2d/gs_kappa | 0.00758642694505 | +| ape2d/gs_theta | 0.016770683122 | +| ape2d/kdv | 0.0246752780929 | +| ape2d/kolm_flow | 0.0116622870804 | +| ape2d/ks | 2.35692808315e-05 | +| ape2d/sh | 5.34847814421e-06 | +| pdearena/navier_stokes_2d | 8.1143169072e-05 | +| well/active_matter | 0.0852383456597 | +| well/turbulent_radiative_layer_2D | 0.437022288241 | + +Outcome: Did not improve actual current full585 reward; selected package retained. + +## E190 update500 matched factorial analysis + +Original thermal reports only; means{"E190 combination": 0.4370222882413651, "Selected E187": 0.43410105338056476, "E123": 0.4361305626448577, "E124": 0.436245558640859, "E106": 0.43734695742255775};pairedwinsvsE123 5/9; interaction(E190-E123-E124+E106) 0.0019931243782060903. All19datasetmeans/channels/steps/windows and report hashes retained. Single-seed matched factorial combination, no additional fitting/forecast/selection. MainSHAc84fe8fc0be87e6d4424ac04f6b957fe2c896d725d50575422e0d6b06bf53026;analysisSHAec18584191453e9c09ece9a34a086934b065e36a76f0e6b87544f9c3d4777b06. Figure awaits inspection. + +## E190 update500 figure inspected; original1000 run continues + +All four panels VIEWED. Thermal VRMSE 0.4370222882413651 versus matched E123 0.4361305626448577, matched E124 0.436245558640859, matched E106 0.43734695742255775 and actual selected E2010.43290299066505145. Five of9 wins versus each matched E123/E124; pressure is worse than E123 while density/vx/vy improve. Early1–5 improves, middle6–12 andlate13–30 worsen versus both E123/E124. Descriptive factorial interaction 0.0019931243782060903 is positive (worse than additive gains), with one large trajectory contribution; no replication/significance claim. Full585 reward 0.7849096086113537,zero failures, no publication. MainSHA `c84fe8fc0be87e6d4424ac04f6b957fe2c896d725d50575422e0d6b06bf53026`, trainingSHA `44719246aacc4ffda8f853ed9b8b6527de1d2485f9904a3b7eef600483927660`, reportSHA `e0490c9d206b0ceb95c465bfdb5f679b078e54a349c03489f5fab3a90a7fd56e`, analysisSHA `ec18584191453e9c09ece9a34a086934b065e36a76f0e6b87544f9c3d4777b06`. Seeds20270118/19/20270213 and original1000schedule unchanged. E193/E204 still wait all declared reports; no midpoint composition, objective or sampling variants. + +## E218 prospective fine/physical component assessment frozen before E217 VALID + +Separate report-only hypothesis: a globally fixed E217 neural bundle may improve thermal error while a separately improved physical bundle wins overall. Frozen before any E217VALID; protocolSHA `e05448dea159c3dce40d862bb0061e55d4dd4c403753069b78265e67ed777234`. Wait bothE2172000/6000 reports/figures, allE190/E177/E186/E155 declared validations, and resolved E180four-role/E193/E204 decisions and any justified integration (operational receipt with decision/resolution hashes). Choose lowestthermal among pinnedE201 and bothE217, tiesparentthenearlier. Require strictthermalgain over parent AND actual globally selected package pinned underlock, and a strict hypotheticalfullrewardgain. Zero new forecasts/targets/optimizer/seeds/automaticassembly. At most ONE separately frozen complete integration, if justified: wholechosenE217 neuralbundle plus actualcurrent completephysical/commonencoderbundle, eachgloballyappliedeverycase. Exactguide/source/schema/fallback/portablecompatibility still mandatory; thenfresh33Well+strict552/official58581/inspectedfigure/15exactchecks/currentlockatomic. No assumedcombinedscore, alternative donor/step/blend or pretrained assets. E217 originalprotocol and allclosedlines unchanged. No assessment launched while prerequisites incomplete; nextunusedE219. + +## E190 original training complete; E177 begins + +E190 original1000 updates completed normally in 2875.0 shared-GPU seconds; final loss 0.3836272458235423, gradientnorm 3.784407615661621, peakallocated 30.03962230682373GiB. FinaltrainingSHA `e7f3a8e2ff3a6b75ff541ba184a09dcc42b6aa6b1ca16482a4016aa8290687a6`. Final validation is underway;500negative/viewed, no earlyclosure or parameter changes. E177 eighth_state_training_v1 now sole GPU optimizer, original seeds20270314/15 and1000/select5001000 schedule; original actual25 recovery audit pending. RemainingqueueE177→E186→E155 unchanged. E213 still zero-update diagnostic; E217 CPUlaunch gated behind its actual termination/recording. No publication from training completion alone. + +## E190 initial-window VRMSE training update1000 + +E190 initial-window x scored-objective factorial combination, update1000; same E123initial/settings/seeds20270118/20270119/20270213 andoverride2/3; exactE124VRMSEloss. Complete E187two-member runtime with fixed commonencoder/guides/physics; everyroleeverycase,16992454parameters. Fresh9thermal/strict576explicitderivedcoverage/official585+81/15exactrepeatsbeforewin; genericguardunchangedreportsweights, private complete-prefix dependency proof retained. CheckpointSHA `e7f3a8e2ff3a6b75ff541ba184a09dcc42b6aa6b1ca16482a4016aa8290687a6`, servingmainSHA `be24a5792a0410c17c925c11032bc754106608586fa42194d207a5c2a8251f21`, reportSHA `b708f4576ed92a775458174971eda09c0ae385a52ca9f8d25b77b21d2d5c19c4`, protocolSHA `b33e03ec850621d9acd9ef382e12c32047c353fc4c5dc9a54be4e8d0839b94e4`. Fullreward0.7852400176649507,0failed,quick0.8138124433605016. + +| Dataset | Full VALID VRMSE | +|---|---:| +| ape2d/burgers | 0.0075675356854 | +| ape2d/decay_turb | 0.000288901618749 | +| ape2d/diff | 2.51784077127e-06 | +| ape2d/fisher | 5.45119100602e-06 | +| ape2d/gs_alpha | 0.00251330314197 | +| ape2d/gs_beta | 0.00485442191926 | +| ape2d/gs_delta | 0.0209169332632 | +| ape2d/gs_epsilon | 0.000796584539428 | +| ape2d/gs_gamma | 0.0588423936929 | +| ape2d/gs_iota | 0.00719492328713 | +| ape2d/gs_kappa | 0.00758642694505 | +| ape2d/gs_theta | 0.016770683122 | +| ape2d/kdv | 0.0246752780929 | +| ape2d/kolm_flow | 0.0116622870804 | +| ape2d/ks | 2.35692808315e-05 | +| ape2d/sh | 5.34847814421e-06 | +| pdearena/navier_stokes_2d | 8.1143169072e-05 | +| well/active_matter | 0.0852383456597 | +| well/turbulent_radiative_layer_2D | 0.433050633259 | + +Outcome: Did not improve actual current full585 reward; selected package retained. + +## E190 update1000 matched factorial analysis + +Original thermal reports only; means{"E190 combination": 0.43305063325889925, "Selected E187": 0.43410105338056476, "E123": 0.43410105338056476, "E124": 0.43460197626779956, "E106": 0.4354355289580768};pairedwinsvsE123 8/9; interaction(E190-E123-E124+E106) -0.00021686743138826792. All19datasetmeans/channels/steps/windows and report hashes retained. Single-seed matched factorial combination, no additional fitting/forecast/selection. MainSHAbe24a5792a0410c17c925c11032bc754106608586fa42194d207a5c2a8251f21;analysisSHA8b49f72acb22efa876d41fdb18b013ed34fb17c51bf08fdf53643019217cf4f1. Figure awaits inspection. + +## E204 prospective initial-member pairing decision + +Original4reports E189/E190500/1000 complete. Best eligible=('E190', 1000, 0.43305063325889925), old96 control thermal0.43410105338056476; integration justified=True. Fixed complete96 SHA `168a9ca26e8ec7c8c80c94f4f3c90118c4ec927d4408eac83cd2c1b692b634f5`. No new forecasts, targets, optimizer, seed, fitted coefficient or current-package modification. DecisionSHA `052cd07bf1bd75255f8b4e39fb27fbe0e2bec1615ac06f03490b79a8680b42cc`, protocolSHA `53cda43d46d4bb650927a410f69baac89c1d49208c2d3fb466dc234c723d9a9c`. At most one separately frozen full combination with complete chosen48 and fixed E201parent, allmembers everycase/fresh9+strict576/585+81/15checks/currentlock atomic. Both chosen original figures must be viewed before assembly. + +## E190 final figure inspected; original trial closed and E204 gate positive + +E1901000 thermal 0.43305063325889925 versus matchedE123/E187.43410105338056476, E124.43460197626779956 and currentE201.43290299066505145. Eightof9winsvsE123,6of9vsE124; allfourchannels andthreewindows improve versusboth. Descriptiveinteraction(E190-E123-E124+E106) -0.00021686743138826792 is negative; single-seed/no significanceclaim. Full585 reward 0.7852400176649507,zero failures, no publication. MainSHA `be24a5792a0410c17c925c11032bc754106608586fa42194d207a5c2a8251f21`, trainingSHA `e7f3a8e2ff3a6b75ff541ba184a09dcc42b6aa6b1ca16482a4016aa8290687a6`, reportSHA `b708f4576ed92a775458174971eda09c0ae385a52ca9f8d25b77b21d2d5c19c4`, analysisSHA `8b49f72acb22efa876d41fdb18b013ed34fb17c51bf08fdf53643019217cf4f1`. BothfiguresVIEWED; originalrunclosed without newseed/objective/sampling/checkpoint variants. FrozenE204 selected this1000firstmember and permitsatmostONE pairing withfixedE201second168a9ca; decisionSHA `052cd07bf1bd75255f8b4e39fb27fbe0e2bec1615ac06f03490b79a8680b42cc`. E219 reserved for that separately source-frozen complete pairing, requiringexactassets/schema/portable/fresh9+strict576derived/58581/15checks/currentlockatomic. No combined score yet. E217 stays onitsoriginalpinnedE201parent; E177soleGPUoptimizer/E213diagnostic continue. + +## eighth_state_training_v1 first standalone recovery snapshot audited + +Read-only CPU audit passed at step25, checkpointSHAe4b2413a604d02d4496110407331b02cf1a24bb91ce63903345c84229d3a9ef0; complete model/Adam/source/config/RNG/consumed-batch provenance and absolute schedule pass. Physical sampler state is replayed from metadata where present. ReceiptSHAd5cde8c4ecc9092dd6f60f0dffebb0ec1db6fec226e7f5ec15394ca0a3ffdac2. No new optimization, forecast, CUDA initialization, validation selection or live interruption; serialization only, not a resumed CUDA trajectory or DataLoader replay proof. + +## E219 sole E204-authorized pairing source freeze + +One complete pairing only: selectedE1901000 width48 first be24a5792a0410c17c925c11032bc754106608586fa42194d207a5c2a8251f21 withfixedE201 width96 second168a9ca26e8ec7c8c80c94f4f3c90118c4ec927d4408eac83cd2c1b692b634f5. ExactE201code/config/27otherassets,16992454parameters,equalF64completeoutputs.5/.5everycase, commonphysicalworkshared. Nooptimizer/newseed; inheritedfirst20270118/override20270213/second20270222. BothoriginalE190figuresviewed beforeassembly. PlanSHA `12f0e65e02bc17f03a9a426c7c2328304124df4c650be417878b48a3fd7ad2cd`; positiveassessmentSHA `052cd07bf1bd75255f8b4e39fb27fbe0e2bec1615ac06f03490b79a8680b42cc`. CPUconstructor/schema/35protectedmutationchecks and inherited42sourceprefixfixtures precede23freshportableforecasts; then freeze strict576derived E201→E187→E176 coverage, fresh9thermal/official58581/15exactbeforestrictactualcurrentwin/atomicpublication. Onepairedresultfigure required; no alternative checkpoints/weights/follow-up compositions. E217parentremainsitsoriginalE201snapshot. E177singleGPUoptimizer/E213zero-updatediagnostic unchanged; nextunusedE220. + +## E177 first actual recovery state audited; E219 CPU gates passed + +E177 actual25 snapshot:75microbatches,3066823trainable-modelparameters/187modeltensors,183Adamstatesat25 and4physicalheadstatesat3,threephysicaldraws/no30-stepdraws. Learningrates/parameterorder/source/input/RNGschema pass. CheckpointSHA `e4b2413a604d02d4496110407331b02cf1a24bb91ce63903345c84229d3a9ef0`, receiptSHA `d5cde8c4ecc9092dd6f60f0dffebb0ec1db6fec226e7f5ec15394ca0a3ffdac2`, auditprotocol75193d5d662e913623348c9a94d754e1bbf773bef5ff6882f49fae5f51ebfe54. CPUserialization only; CUDA RNG structure checked, no DataLoaderreplay or actual resumedCUDAtrajectory claim. E219 constructor/schema/all35protectedmutations pass, sourcepredictbyteexactE201, inherited42prefixfixtures explicitlyhistorical. CPUchecksSHA `855b24b4337c32f81080df8f18ab3fff8de260b1a3171760558f757d0e26edd9`; CPUprotocolSHA `3077694a1171a6e47e75cf76442640d573d1350e1bbd6aa9859029395864a686`. Fresh23portableforecasts underway; no E219VALID or combinedscore yet. + +## E219 paired complete-member composition + +E219 one E204-authorized complete paired-member composition: E190 update1000 width48 plus fixed E201 width96, equal complete-output weights .5/.5 on every case. No optimizer or new seed; original first seed20270118/override20270213 and second20270222. Only weights.pt changes; all27other runtime assets and allguides/commonencoder/physics byte exact E201. Fresh9thermal/strict576explicitderivedcoverage/official585+81/15exactrepeatsbeforewin; genericguardunchanged reports weights.pt, private complete-prefix proof retained. First SHA `be24a5792a0410c17c925c11032bc754106608586fa42194d207a5c2a8251f21`, second SHA `168a9ca26e8ec7c8c80c94f4f3c90118c4ec927d4408eac83cd2c1b692b634f5`, report SHA `c78c121f604d7e19c938d2688c718878672ceddd1562e8ee3f0acccbfd9b4393`, protocol SHA `fb02b0a0dd58bca13c1d9232e9f8e89442a0d677d3ed59d09ab70e6eb23e2322`. Full reward 0.7853266802017315, zero failures, quick reward 0.8138991058972824. + +| Dataset | Full VALID VRMSE | +|---|---:| +| ape2d/burgers | 0.0075675356854 | +| ape2d/decay_turb | 0.000288901618749 | +| ape2d/diff | 2.51784077127e-06 | +| ape2d/fisher | 5.45119100602e-06 | +| ape2d/gs_alpha | 0.00251330314197 | +| ape2d/gs_beta | 0.00485442191926 | +| ape2d/gs_delta | 0.0209169332632 | +| ape2d/gs_epsilon | 0.000796584539428 | +| ape2d/gs_gamma | 0.0588423936929 | +| ape2d/gs_iota | 0.00719492328713 | +| ape2d/gs_kappa | 0.00758642694505 | +| ape2d/gs_theta | 0.016770683122 | +| ape2d/kdv | 0.0246752780929 | +| ape2d/kolm_flow | 0.0116622870804 | +| ape2d/ks | 2.35692808315e-05 | +| ape2d/sh | 5.34847814421e-06 | +| pdearena/navier_stokes_2d | 8.1143169072e-05 | +| well/active_matter | 0.0852383456597 | +| well/turbulent_radiative_layer_2D | 0.432014901868 | + +Outcome: Improved actual current full585 reward; published atomically. + +## E219 complete paired-member descriptive analysis + +Thermalpairedwins8/9 against E201. Allfourchannels/thirtyforecaststeps/threewindows/all19datasetmeans recorded; all9 combined thermal predictions are fresh, no parent equality claim. Descriptiveonly,noadditionalfittingorselection. ResultSHA c718f80f664dd09889d46df000f74269316f21633641547dbad0e2537e424a64. Figure awaits inspection. + +## E219 figure inspected; strongest validated member pairing published + +All four descriptive panels inspected. E219 full585 reward 0.7853266802017315, zero failed cases; thermal VRMSE 0.43201490186846536 versus E201 0.43290299066505145. Eight of nine paired trajectories improve. Density/pressure/vx/vy [0.17249489979861143, 0.8791014546735221, 0.19937918189566306, 0.47708407110606466]; windows1-5/6-12/13-30 [0.2664625765983279, 0.32531505742050976, 0.5194960428399308]. Pressure slightly worsens, other three channels and all windows improve. All 23 portable forecasts and 15 exact contract checks passed. Report SHA c78c121f604d7e19c938d2688c718878672ceddd1562e8ee3f0acccbfd9b4393; analysis SHA c718f80f664dd09889d46df000f74269316f21633641547dbad0e2537e424a64; manifest SHA bcbe60e9b96ef767fe30818b3165c87ef200e9719489ffbec3718a06950ee261; protocol SHA fb02b0a0dd58bca13c1d9232e9f8e89442a0d677d3ed59d09ab70e6eb23e2322; first member SHA be24a5792a0410c17c925c11032bc754106608586fa42194d207a5c2a8251f21; second member SHA 168a9ca26e8ec7c8c80c94f4f3c90118c4ec927d4408eac83cd2c1b692b634f5. Same 16,992,454 parameters and all other E201 runtime assets, equal complete-output averaging on every case, no new seed or optimizer. All19 dataset means retained in report/analysis. Strict576 reuse preserves derived E219→E201→E187→E176 provenance; fresh9 thermal, no false fresh physical coverage claim. Published atomically after actual-current comparison. E204 sole candidate consumed; no alternative composition. E217 keeps its previously pinned E201 parent. + +## E213 fixed quadrature versus center physical gradients + +Two audited TRAIN cases; original source and E201 encoder0fc425a0/guide3b423a0a fixed. Three arms,4/30steps,60nodeforecasts/24coefficientadjoints/24headVJPs/0updates. All predictions/losses paired bits exact and weights/globalRNG unchanged. Evidence gate=False; repeat gate=True; strong30={"coefficient": {"first_norm": 0.05669268271974151, "second_norm": 0.045878795799502436, "norm_ratio": 0.8092542740710087, "cosine": 0.9699854192503212, "relative_difference": 0.291483768797564, "absolute_difference": 0.016524996822394784, "larger_repeat_absolute_difference": 0.0, "effect_over_repeat": null, "repeat_zero": true, "effect_over_ten_repeats": true}, "head": {"first_norm": 0.6696673158887966, "second_norm": 0.5086746032732233, "norm_ratio": 0.7595929967077752, "cosine": 0.976735183804514, "relative_difference": 0.3051870084645111, "absolute_difference": 0.20437376480256056, "larger_repeat_absolute_difference": 0.0, "effect_over_repeat": null, "repeat_zero": true, "effect_over_ten_repeats": true}}. ResultSHA 8d504db58133fe14386589549d193ab7992a94b773eedd6bc20aad97d0682645. Local derivatives at two previously trained states. Existing node rule inside the original physical map; no complete serving parity, Adam update or generalization claim. No automatic optimizer or candidate. Figure awaits inspection. + +## E213 complete and viewed: quadrature directional gate negative + +Complete and all six panels inspected. Frozen evidence gate FALSE, repeat gate TRUE. Strong17/-5 trajectory2 at30 steps: quadrature versus projected-center coefficient cosine 0.9699854192503212, relative L2 0.291483768797564, norm ratio 0.8092542740710087; actual98parameter head cosine 0.976735183804514, relative L2 0.3051870084645111, norm ratio 0.7595929967077752. Both relative differences exceed0.2 and effects exceed repeat error, but neither cosine meets the frozen<0.9 directional criterion. All coefficient and head paired-repeat differences are exactly zero. Existing F4 operation separately changes coefficient/head by relative 0.013524523235079834/0.011213305134349077, with cosines 0.999909268138432/0.9999379084956667. All moderate-case and4step controls retained. Sixty node forecasts,24 coefficient adjoints,24 actual-head VJPs,4 encoder forwards,0 optimizer updates; 8386.514875214023 shared-GPU seconds, peak allocated/reserved 4.809025287628174/5.220703125GiB. Result SHA 8d504db58133fe14386589549d193ab7992a94b773eedd6bc20aad97d0682645; figure SHA 79ec5ae0045453f2115d39144d3f8604b84a2dd43029054e847bc0e442b1833f; protocol SHA a7650000c32f0504cc1c65c5e1e7b3dfbee41ddda0ae1c1551019867235b5010; checks SHA 204de1cd3bad88df0b5b1979e77dce04ac219fea998c475de0a9d8d8ab82751c. Weights/inputs/globalRNG unchanged. Two fixed TRAIN states and a partial physical-training map; no complete-serving or generalization claim. Close this direction without a sampled-node diagnostic, objective optimizer, amplitude/basis/case/threshold variant or VALID forecast. E217 was independently frozen and may now start its CPU-only training after this record. + +## E217 actual update25 CPU recovery audit passed + +Actual first CPU training snapshot passed the frozen recovery audit:25 batches/3200 examples,251616 model parameters,52 model tensors and52 Adam states with counters25; original source/data/derived-feature/schedule/RNG and next sampled batch preview checks pass. Checkpoint SHA 8c7f1ab400c66a4da0f691f76a6ca08f7dd9ef9b6677dd9286178242b6ac486f; receipt SHA 7a9c4aef139e6b1fe7a15fbb4e72f44a1bbfd5973fa88a6c9bdeab624cd50d7a; protocol SHA 49a1f42d4e4d9891972022d010c270ceb267055d820c3ef89b8064ab794f317b; initial SHA18815aacff1d3d5859a0e14b54955a390d3663b8dcf5a650164e1b5e7651ebf5. Seeds20270401/02/03, CPU4threads, CUDA never initialized. The audit applied0 updates and proves CPU serialization/provenance, not an actual interruption/restoration training trajectory. Original6000-update training is now active with recovery every25 and selection only2000/6000. E217 retains its frozen E201 parent; E219 remains the selected complete package. Earlier produced original GPU checkpoints retain validation priority. + +## E217 original CPU training complete; two declared checkpoints await validation + +Original6000-update shared profile CNN training completed normally in 456.7511575760436 seconds on4 CPU threads, peak RSS 1.3491783142089844GiB; CUDA never initialized. No resumed updates, extra seed or schedule extension. Initial/sampling/dropout seeds20270401/02/03;251616 parameters; all19 authorized TRAIN datasets. Declared2000/6000 checkpoint SHAs {"2000": "46378594076aeb88c9c8727eab09c45861965f26937d5b27f2adbf73af6020e9", "6000": "04ba1cbc9a839d91706f7c31546036f0fc2db83f55ed682bd24966deec05b3f7"}. Final full recovery snapshot retained at6000; actual25 serialization/source/RNG audit already passed. Training result SHA 2287c5da63eebda5a10680f13f64151fba14fb8786907e4680eb8811c6c00104; protocol SHA 49a1f42d4e4d9891972022d010c270ceb267055d820c3ef89b8064ab794f317b. Both VALID evaluations remain pending behind ready original E177500; training completion is not a validation improvement or selection. Pinned E201 runtime parent remains unchanged for both evaluations; selected E219 package remains published. No additional optimizer or candidate is implied. + +## E177 original training complete; E186 matched long-supervision trial active + +Original1000-update F6+F8 common-encoder training completed normally in 6586.6 shared-GPU seconds, peak allocation 30.075754165649414GiB. Final raw loss 0.17132377127806345, physical loss 0.000862238637637347, gradient norm 2.510158061981201;125 physical draws are logged. Training checkpoint SHAs {"500": "563c4bcaa957e5c9ccdf3ebff5220297abb9f8cab8f8ab39203803583081772a", "1000": "6c26bf09fa1b84f040acabdcf09a90451445d6c26f9d3e98046f9ebfe94a2f44"}. Initial75058736d6c1de9162ea22450c212cc6c9bbd95fafe75c048d02b95597468ff1; seeds20270314/20270315; frozen protocol11932f30aa21c00d02bee9e048cbf500711290c78b0fbfce9e2bd7ce4e391fc4. Both declared VALID reports and figures remain pending; update500 has14/24 fresh active forecasts complete and update1000 is queued. No validation improvement or publication follows from training completion. E186 now occupies the sole GPU optimizer slot, initialized from its already pinned identical E177 initial checkpoint and original seeds, with the predeclared15 long30-step draws replacing4-step draws in the matched1000-update schedule. Actual25 recovery audit pending. E217 original6000CPU training is complete and its validation still yields priority to ready original checkpoints. E219 remains published. + +## eighth_long_supervision_v1 first standalone recovery snapshot audited + +Read-only CPU audit passed at step25, checkpointSHAfa1c9f10a76611026a8b625c5d5b6dc84c1d5de803c579cd921c5edf605c3db8; complete model/Adam/source/config/RNG/consumed-batch provenance and absolute schedule pass. Physical sampler state is replayed from metadata where present. ReceiptSHA4d4a159a40a0a947d043a0f6e383b70dcf94e5e9c8316c99d33ea41bb08a7b46. No new optimization, forecast, CUDA initialization, validation selection or live interruption; serialization only, not a resumed CUDA trajectory or DataLoader replay proof. + +## E220 prospective preservation of the complete E219 neural bundle + +Prospective report-only hypothesis: a later complete-package win can replace the stronger E219 neural bundle because older E180/E193 reference lists predate it. Preserve exactly the complete E219 bundle as one fixed historical reference, globally applied to every case/member/chunk/translation. Frozen after E219's recorded full585/23portable/15exact/viewed result, before any full selected E177/E186/E155/E217 score; E177 partial VALID forecasts were already underway. No partial scores or targets used. Protocol SHA 8185ae3fedb849db2c2a2daeed3d664a79ceffd29a2db30b42a6baf826e43032; source hashes pinned in that protocol. Fixed E219 full reward0.7853266802017315, thermal0.43201490186846536, corpus0.010231659948693987, Arena0.00008114316907195506, active0.08523834565974923; all19 dataset means remain in reference report SHA c78c121f604d7e19c938d2688c718878672ceddd1562e8ee3f0acccbfd9b4393. First member SHA be24a5792a0410c17c925c11032bc754106608586fa42194d207a5c2a8251f21; second 168a9ca26e8ec7c8c80c94f4f3c90118c4ec927d4408eac83cd2c1b692b634f5;16992454 reference parameters, pretrained[]. No new seed, optimizer, model/solver forward, target-array read, candidate assembly or VALID run. Source compilation and reference/manifest/portable/repeat/hash checks passed; no assessment process launched. Wait all original reports/figures and seven resolved E180/E193/E204/E218 decisions, then pin actual current once. Strict fixed-E219 thermal improvement and strict hypothetical full reward improvement permit at most ONE separately frozen whole-bundle composition with current complete physics/encoder; no alternate checkpoints, member pairing, guide, coefficient, partial heads or donor. Complete compatibility/all-case/fallback/portable proofs, fresh33Well/strict552/full585/81/inspectedfigures/15exact/actual-current atomic gates remain mandatory. Otherwise close without forecasts. Existing protocols, E217's pinned E201 parent and E204's consumed pairing remain unchanged. + +## E177 common F8 encoder, update500 + +E177 additional shared F8 head, continuation500/1000 from selected E0601k encoder. Mainseed20270314/physical20270315;98newzero parameters, complete7465845. Bothheads everycase/translation/chunk. Original CartesianF6 unchanged, F8 localspin8/quartic envelope; separate originalF6 FFT batch andsharedhelper. All10115TRAIN/all19datasets,175physicalcache, originalgroups/native/full30B2x3/noise.01/LR3e-5/head10x/globalclip1/rawlog1p+physical4every8. FixedE156 recurrentmain/guides; commonencoder body/F6/F8 jointlytrained. Extraoptimization/newseed/architecture confounded, no matchedcausalclaim. Fresh24active+strict561nonactive/full585+exact81,15bitexact checks beforewin. TrainingSHA `563c4bcaa957e5c9ccdf3ebff5220297abb9f8cab8f8ab39203803583081772a`, encoderSHA `69519c28c0670b486ac1c40e400f9301c4ab0a3ce706ddf5f7305d0ed6655d00`, protocolSHA `11932f30aa21c00d02bee9e048cbf500711290c78b0fbfce9e2bd7ce4e391fc4`. Fullreward0.7857754894282877, zero/failed0, quick0.8143247741406394. No pretrained/synthetic/heldout/inferencefitting. + +| Dataset | Full VALID VRMSE | +|---|---:| +| ape2d/burgers | 0.0075675356854 | +| ape2d/decay_turb | 0.000288901618749 | +| ape2d/diff | 2.51784077127e-06 | +| ape2d/fisher | 5.45119100602e-06 | +| ape2d/gs_alpha | 0.00251330314197 | +| ape2d/gs_beta | 0.00485442191926 | +| ape2d/gs_delta | 0.0209169332632 | +| ape2d/gs_epsilon | 0.000796584539428 | +| ape2d/gs_gamma | 0.0588423936929 | +| ape2d/gs_iota | 0.00719492328713 | +| ape2d/gs_kappa | 0.00758642694505 | +| ape2d/gs_theta | 0.016770683122 | +| ape2d/kdv | 0.0246752780929 | +| ape2d/kolm_flow | 0.0116622870804 | +| ape2d/ks | 2.35692808315e-05 | +| ape2d/sh | 5.34847814421e-06 | +| pdearena/navier_stokes_2d | 8.1143169072e-05 | +| well/active_matter | 0.0835984455091 | +| well/turbulent_radiative_layer_2D | 0.435060672766 | + +Outcome: Improved actual current full585 reward; published atomically. + +## E177 update500 descriptive analysis + +Common F6+F8 encoder wins16/24 versus frozen E156 parent. All11channel,30step,threewindow means and pairedcases recorded; no additional selection/fitting or causal inference. AnalysisSHA25694cd70380a8edf58e4296f0f6adea6aac854b5df73675256b642d99a0c21b5e8. Fixed analysis/step000500/comparison.png awaits visual inspection. + +## E177 checkpoint500 published: active improvement, thermal tradeoff, figure inspected + +Original E177 checkpoint500 is the new selected whole package, full585 reward0.7857754894282877 / quick81 reward0.8143247741406394, zero failures,15/15 Float32 bit-exact repeat checks. Active VRMSE0.08359844550911509 versus prior selected E2190.08523834565974923 (1.923899% lower); thermal0.4350606727655739 versus E2190.43201490186846536 (0.705015% worse). Corpus0.010231659948693987 and Arena0.00008114316907195506 unchanged. Package has7465845 parameters, pretrained_assets=[], fixed common encoder and main applied under the existing contract. Publication was atomic after the15 checks; no new selection/forecast call in this record. + +Actually inspected all four panels in analysis/step000500/comparison.png. Against frozen E177 F6 parent,16/24 active cases improve and all11 channel means improve. Windows1–5:0.002196346885626889→0.0022093404423646334;6–12:0.012408220766093193→0.012445039014714129;13–30:0.13662839388898274→0.13387729944214613. Early/middle slightly worsen; later gains drive the mean. New head, further training and new seed are confounded; no isolated-head causality or significance claim. Original500/1000 selection schedule remains;1000 full validation is underway. E177 line remains open until both declared reports and figures. + +Full reportSHA ecc5f141aea3806dd48222fdc79e31f297c1e623713c7f4a44e9359ddf2526c6; analysisSHA94cd70380a8edf58e4296f0f6adea6aac854b5df73675256b642d99a0c21b5e8; manifestSHA25ab0f8435eb597d3b75e9f304fc70c429cdc8b779b11096c8b44490a1a3334e. IMPORTANT hash-role correction: best.json checkpointSHA1d4d7fdf378298ee1a7435c66d9bc91d8d1ac64ebe2309ba3eb6e4d38fdd0975 is fixed MAIN weights.pt, not the encoder. Actual encoder state_encoder_weights.pt SHA69519c28c0670b486ac1c40e400f9301c4ab0a3ce706ddf5f7305d0ed6655d00; training500 artifactSHA563c4bcaa957e5c9ccdf3ebff5220297abb9f8cab8f8ab39203803583081772a. Seeds20270314/20270315; original protocol11932f30aa21c00d02bee9e048cbf500711290c78b0fbfce9e2bd7ce4e391fc4. + +## E177 original checkpoint parameter audit, descriptive and closed + +CPU-only descriptive audit of original E177 initial/500/1000 artifacts, source frozen before reading parameter values; both fixed figure panels actually viewed. No data/targets, forward, gradient, CUDA, optimizer update, extra checkpoint/seed, selection or runtime change. All source artifacts unchanged and schemas/finite values/3066823 parameters verified. Four exhaustive groups: F6head98, F8head98, neural-output-head539, sharedfeatures3066088. At500, F6 relative L2 change0.7885665261396326 (cosine0.8190243625947811), F8 absolute L2 norm0.020827008590523076 from exactzero, sharedfeatures relative change0.0017834680438248692, outputhead0.008066852486479646. At1000, the corresponding F6relative0.7129334231720889/F8norm0.023644428399723038/sharedrelative0.0019493556233479146/outputrelative0.007789981377738499. These parameter metrics cannot identify functional importance or attribute validation gain to F8; the existing F6 head and shared features also changed. F8 initial-relative change and cosine remain null, not epsilon-normalized. Saved Adam step counts183at500+4at62 and183at1000+4at125 agree with the original every8 physical schedule; this is serialization evidence, not an actual resume proof. + +Audit protocolSHAfe78b62f07832e23e853f7318bcadd1045459427026709ef683c4ea0efbdcfcb; resultSHAb05b04b6af6f33c4ca7cac5699e338308f8fc2ca3bbf570f1e75c4fb60be24dd; figureSHA3a01fafd7efd2d7184406730aa3b62fe21ba16ccfd037df41f3747f48b7fbe94. Artifact hashes and all12 group comparisons retained in eighth_state_training_v1/checkpoint_audit/results.json. Descriptive audit closed; original E1771000 validation continues. This does not authorize a parameter ablation, head-only variant or new optimizer. Next unused experimentID remains E221. + +## E186 original checkpoint500 retained; first validation underway + +Original E186 long-supervision run reached declared checkpoint500 in4571.6 shared-GPU seconds, retaining original1000-update budget and500/1000 validation selection. Training artifactSHAef2fd0cae3b7657dc363cdfeb8bf6c0869e6f68b61a83a4e05aa5ecd8b6f5b6d; assembled common encoderSHA580cdfaa38f4d5d394621dbe97f9f17b6aaea9554b67539c7fab7bda5f55010f; fixed mainSHA1d4d7fdf378298ee1a7435c66d9bc91d8d1ac64ebe2309ba3eb6e4d38fdd0975. Training checkpoint is model/optimizer/step/config only; every25-step recovery.pt separately preserves recovery state. CPU deserialization verified step500, finite3066823 model parameters and unchanged artifact hash without CUDA or updates; not an actual resumed-training test. Through500 there are62 physical draws,7long30-step and55short4-step, exactly the original schedule. Raw training loss0.20631924271583557, gradient norm3.933293104171753, LR1.725e-5; training loss is not validation. Peak allocated30.075754165649414/reserved31.814453125GiB. + +Seeds20270314/20270315, initial75058736d6c1de9162ea22450c212cc6c9bbd95fafe75c048d02b95597468ff1, original protocol78fe4e5bd68a1db67b0b4176430b7fd3ca25b0bb61bcecec58f5d10c76cac711 unchanged. The existing validator has assembled7465845-parameter package and started the prescribed fresh24 active replay plus strict561 nonactive reuse. No E186 full VALID score yet, no candidate selected or published; the actual-current E177500 package remains. Training continues toward1000; E1771000 validation also continues. E217 remains pinnedE201 and waits earlier ready validations. No extra optimizer/checkpoint/seed or new experimentID. + +## E177 common F8 encoder, update1000 + +E177 additional shared F8 head, continuation1000/1000 from selected E0601k encoder. Mainseed20270314/physical20270315;98newzero parameters, complete7465845. Bothheads everycase/translation/chunk. Original CartesianF6 unchanged, F8 localspin8/quartic envelope; separate originalF6 FFT batch andsharedhelper. All10115TRAIN/all19datasets,175physicalcache, originalgroups/native/full30B2x3/noise.01/LR3e-5/head10x/globalclip1/rawlog1p+physical4every8. FixedE156 recurrentmain/guides; commonencoder body/F6/F8 jointlytrained. Extraoptimization/newseed/architecture confounded, no matchedcausalclaim. Fresh24active+strict561nonactive/full585+exact81,15bitexact checks beforewin. TrainingSHA `6c26bf09fa1b84f040acabdcf09a90451445d6c26f9d3e98046f9ebfe94a2f44`, encoderSHA `e5d00d1e79d7e8d2b63f8a19f106a1e40f299f4308a6563cd84dc1768321ebbf`, protocolSHA `11932f30aa21c00d02bee9e048cbf500711290c78b0fbfce9e2bd7ce4e391fc4`. Fullreward0.7859050316432782, zero/failed0, quick0.81499809045841. No pretrained/synthetic/heldout/inferencefitting. + +| Dataset | Full VALID VRMSE | +|---|---:| +| ape2d/burgers | 0.0075675356854 | +| ape2d/decay_turb | 0.000288901618749 | +| ape2d/diff | 2.51784077127e-06 | +| ape2d/fisher | 5.45119100602e-06 | +| ape2d/gs_alpha | 0.00251330314197 | +| ape2d/gs_beta | 0.00485442191926 | +| ape2d/gs_delta | 0.0209169332632 | +| ape2d/gs_epsilon | 0.000796584539428 | +| ape2d/gs_gamma | 0.0588423936929 | +| ape2d/gs_iota | 0.00719492328713 | +| ape2d/gs_kappa | 0.00758642694505 | +| ape2d/gs_theta | 0.016770683122 | +| ape2d/kdv | 0.0246752780929 | +| ape2d/kolm_flow | 0.0116622870804 | +| ape2d/ks | 2.35692808315e-05 | +| ape2d/sh | 5.34847814421e-06 | +| pdearena/navier_stokes_2d | 8.1143169072e-05 | +| well/active_matter | 0.0832997494905 | +| well/turbulent_radiative_layer_2D | 0.435060672766 | + +Outcome: Improved actual current full585 reward; published atomically. + +## E180 E177 global-component assessment + +Both original declared full585 reports recorded. Global bundle: complete common F6/F8 encoder and its state interpretation. Choose lowest failure-free diagnostic VRMSE, earlier step on an exact tie: 1000, value 0.08329974949050398 versus actual selected 0.08329974949050398. Integration justified=False. Original training seeds [20270314, 20270315]; all19 dataset values and runtime/checkpoint hashes retained in decisionSHA `dd2d767384f45a85c8850af9c4f5e3e766ab1a8612fb484dceae558d4b862c3d`. Close this assessment without new forecasts or model changes. No new optimizer, seed, target-array reads or dataset-dependent checkpoint routing. Complete compatibility, fresh33 Well/strict552/full585/81/15 repeats and actual-current atomic selection remain required. + +## E177 update1000 descriptive analysis + +Common F6+F8 encoder wins17/24 versus frozen E156 parent. All11channel,30step,threewindow means and pairedcases recorded; no additional selection/fitting or causal inference. AnalysisSHA2566fbacaedd8b5611ba6ca81024a5c3ea8807ca5a9e0149640f2697eac34b142b9. Fixed analysis/step001000/comparison.png awaits visual inspection. + +## E177 final checkpoint1000 published and original study complete + +Both original E177 checkpoints are now fully recorded and all8 figure panels actually inspected. Checkpoint1000 wins the declared full585 selection and is atomically published: full reward0.7859050316432782, quick810.81499809045841, zero failed cases,15/15 independent Float32 bit-exact checks. Active VRMSE0.08329974949050398; thermal0.4350606727655739, corpus0.010231659948693987, Arena0.00008114316907195506. The other561 per-case report rows are identical to checkpoint500. Complete parameters7465845; pretrained_assets=[]; seeds20270314/20270315; original protocol11932f30aa21c00d02bee9e048cbf500711290c78b0fbfce9e2bd7ce4e391fc4. Training1000 artifactSHA6c26bf09fa1b84f040acabdcf09a90451445d6c26f9d3e98046f9ebfe94a2f44; mainSHA1d4d7fdf378298ee1a7435c66d9bc91d8d1ac64ebe2309ba3eb6e4d38fdd0975 (best.json checkpoint means main, NOT encoder); actual common encoderSHAe5d00d1e79d7e8d2b63f8a19f106a1e40f299f4308a6563cd84dc1768321ebbf. + +All four final plots actually viewed. Versus frozen F6 parent0.08523834565974923, update1000 wins17/24 trajectories and improves every one of11channel means and all3rollout windows. This is a jointly continued backbone/F6/new-F8 experiment with a new sampling seed, not a causal F8-only ablation or significance claim. Versus checkpoint5000.08359844550911509, update1000 wins12/24 trajectories, improves10/11channel means; concentration slightly worsens0.03860735098471859→0.038714180652029216. All windows improve:1–5 from0.002209340442364633→0.0021949019321292115;6–12 from0.012445039014714127→0.012365516509921617;13–30 from0.13387729944214616→0.133414408860279. Thus the extra500 updates produce a modest, mixed trajectory-level gain, not uniform case improvement. Original thermal tradeoff versus preserved E2190.43201490186846536 remains. + +Full reportSHAdcb9f3bc2af0eecab7ea997cbfd8db3dcbe6d011965c8b63d3c1387466ed5b8a; manifestSHA322c440b7917707c7a0bca18e2b28010f4d7d1e6200d8b99400c419c7bc3f2b5; final analysisSHA6fbacaedd8b5611ba6ca81024a5c3ea8807ca5a9e0149640f2697eac34b142b9; viewed figureSHAdc28b8d28599904cb2c28053b55480736c828cb321ac31a6729e9d60d77b711c. Cross-checkpoint report-only summarySHA7c49d5d5c57d6cf008a367b61ec541ae99825a82a6a716d2eb489b4f5be3988d retains all11channels,all3windows,all24paired values and source hashes, with no new inference or target arrays. + +Original E177 arm closes after its prescribed1000 updates and two declared checkpoints; no extra seed/checkpoint/update is added. E180/E177 assessment chose1000 but requires no extra composition because actual-current active VRMSE already equals it; integration_justified=false, decisionSHAdd2d767384f45a85c8850af9c4f5e3e766ab1a8612fb484dceae558d4b862c3d, negative assessment closure recorded. This does not negate the positive E177 validation result or alter the separately frozen E186/E155/E193/E218/E220 work. E186 original training/500validation continue. E217 remains pinnedE201. Next unused experimentID E221. + +## E186 common F8 encoder, update500 + +E186 occasional long supervision, continuation500/1000 from exact E177 initial encoder. Mainseed20270314/physical20270315;98newzero parameters, complete7465845. Bothheads everycase/translation/chunk. Original CartesianF6 unchanged, F8 localspin8/quartic envelope; separate originalF6 FFT batch andsharedhelper. All10115TRAIN/all19datasets,175physicalcache, originalgroups/native/full30B2x3/noise.01/LR3e-5/head10x/globalclip1/rawlog1p+physicalevery8:30stepsat64multiples,4otherwise,15long/110short total. FixedE156 recurrentmain/guides; commonencoder body/F6/F8 jointlytrained. MatchedE177 initialization/seed/data/optimizer; only15physicalhorizonsreplace4with30, plus checkednestedrecomputation. Single-seed numericalexecution limits causal attribution. Fresh24active+strict561nonactive/full585+exact81,15bitexact checks beforewin. TrainingSHA `ef2fd0cae3b7657dc363cdfeb8bf6c0869e6f68b61a83a4e05aa5ecd8b6f5b6d`, encoderSHA `580cdfaa38f4d5d394621dbe97f9f17b6aaea9554b67539c7fab7bda5f55010f`, protocolSHA `78fe4e5bd68a1db67b0b4176430b7fd3ca25b0bb61bcecec58f5d10c76cac711`. Fullreward0.7845923157819877, zero/failed0, quick0.8144278937286894. No pretrained/synthetic/heldout/inferencefitting. + +| Dataset | Full VALID VRMSE | +|---|---:| +| ape2d/burgers | 0.0075675356854 | +| ape2d/decay_turb | 0.000288901618749 | +| ape2d/diff | 2.51784077127e-06 | +| ape2d/fisher | 5.45119100602e-06 | +| ape2d/gs_alpha | 0.00251330314197 | +| ape2d/gs_beta | 0.00485442191926 | +| ape2d/gs_delta | 0.0209169332632 | +| ape2d/gs_epsilon | 0.000796584539428 | +| ape2d/gs_gamma | 0.0588423936929 | +| ape2d/gs_iota | 0.00719492328713 | +| ape2d/gs_kappa | 0.00758642694505 | +| ape2d/gs_theta | 0.016770683122 | +| ape2d/kdv | 0.0246752780929 | +| ape2d/kolm_flow | 0.0116622870804 | +| ape2d/ks | 2.35692808315e-05 | +| ape2d/sh | 5.34847814421e-06 | +| pdearena/navier_stokes_2d | 8.1143169072e-05 | +| well/active_matter | 0.0863766359101 | +| well/turbulent_radiative_layer_2D | 0.435060672766 | + +Outcome: No complete-score improvement; retained current package. + +## E186 update500 matched descriptive analysis + +24active VALID paired wins6 againstsame-stepE177, 13 againstfixedparent. All11channel/30step/threewindow/all19datasetmeans recorded. No newforecasts/optimization/selection; intendedmatchedseeds/config, nestednumericalexecution/singleseedlimitcausality. AnalysisSHA 319586ec393bae420e2614963edae39acd5eecda478ef9cc15c1026c1c8e77fe. Figure ready; must visually inspect. + +## E186 checkpoint500 negative, all matched-comparison plots inspected + +First original E186 checkpoint500 is a negative validation result: full585 reward0.7845923157819877, quick810.8144278937286894, zero failures, active0.08637663591014771 versus same-step E1775000.08359844550911509 (3.3232560535% worse), original F6 parent0.08523834565974923, and actual-current E17710000.08329974949050398. Thermal0.4350606727655739/corpus0.010231659948693987/Arena0.00008114316907195506 unchanged. Full-current selection failed; no publication and0additional serving repeats, accurately recorded in selection.json. Note quick81 exceeds matched E1775000.8143247741406394 even while full585 worsens, reinforcing why the original full585 gate controls selection. + +Actually inspected all4 panels in analysis/step000500/comparison.png. Paired wins6/24 versus E177500 and13/24 versus original F6 parent, with all11channel means worse than BOTH references. Windows against matched control:1–5 0.0022093404423646334→0.0022322484314916844;6–12 0.012445039014714129→0.01271603304572769;13–30 0.13387729944214613→0.13839586687927105. Larger late-step errors and several sizeable trajectory regressions dominate the pooled score. Intended matched initialization/seeds/config, one seed and changed nested numerical execution limit causal attribution; no significance claim. Do not close the original E186 arm before its required1000 report/figure. No new checkpoint, schedule, seed or horizon variation follows this half-run result. + +Original seeds20270314/20270315, protocol78fe4e5bd68a1db67b0b4176430b7fd3ca25b0bb61bcecec58f5d10c76cac711. Training500 artifactSHAef2fd0cae3b7657dc363cdfeb8bf6c0869e6f68b61a83a4e05aa5ecd8b6f5b6d; encoderSHA580cdfaa38f4d5d394621dbe97f9f17b6aaea9554b67539c7fab7bda5f55010f; mainSHA1d4d7fdf378298ee1a7435c66d9bc91d8d1ac64ebe2309ba3eb6e4d38fdd0975. Full reportSHAae1600b421e885ac6ef4be759b62eed6c67fca04afdb96f44c26baa9d3d27448; manifestSHA9effe9b75e2e2412ea26f48f1014cc1faa8621d5dba3ef977e16f061e31ae34f; analysisSHA319586ec393bae420e2614963edae39acd5eecda478ef9cc15c1026c1c8e77fe; viewed figureSHAd4794b5b267724a5c7c536200599a6443f5b531a2ab36505afe4324228647e91. All19 dataset values retained in the original report/ledger. Last planned30-step physical draw960 completed217.9082477092743sec/loss0.013129426166415215; training continues remainingupdates to1000. E217 portable GPU checks have started under original validator7666, still pinnedE201. E155 remains queued next after E186. + +## 2026-10-24 recovery records: E186 completion, E155 audit, E220 path correction and E221 freeze + +E186 completed its original 1,000 updates in 10,154.6 shared-GPU seconds. Final raw loss 0.17124707996845245, physical loss 0.001095162471756339, gradient norm 3.0691542625427246; peak allocated/reserved 30.075754165649414/31.814453125 GiB. Seeds 20270314/20270315 and original protocol 78fe4e5bd68a1db67b0b4176430b7fd3ca25b0bb61bcecec58f5d10c76cac711 are unchanged. All 125 physical draws exactly match the frozen step/file/trajectory/shift/horizon schedule: 15 long and 110 short, all losses finite. Completion receipt SHA 5098478fb54b551603de9628b7954bd3ba73fe79cec79f2838c940232fd3f321. Training checkpoint SHA 893859ff290593175fd55c6ab6e865d806b064631ce84c39de691718e659ed05; exported encoder SHA 713050fd318e1ea1681dd3807bbe597edb63497ed3926e4ec6772cea69b69e67. Final full585 validation remains pending; no publication follows training completion. E186500 remains the recorded negative result; do not close the original study before the 1000 report and actual figure inspection. + +E155 started its original 2,000-update run after E186 training ended. Its actual first25 recovery snapshot passed the CPU serialization/provenance audit: 75 consumed microbatches, 3,066,725 parameters in185 tensors, 183 Adam states at25 and two head states at3, source/data/shape/dtype/finiteness/global-schedule/RNG checks passed. Snapshot SHA 6e8530f2ec9ce13c185c2fa9b71a261fb115d012fe827f1a3efb2096ac33d996; receipt SHA e9ea1c6c3bea583bbcdd6b25965612f35bc93b10c2a72aeb9fdcc5077b2c7596. Original initial SHA 1a082bab4c1db8eae9a5c0fb6fa8cec159de67ba2e7ec9b9b7abe800844c8989, seeds20261127/28 and protocol ca992cd72d82f380c41b99e9144162bfaf1364e1915b5a15700f2b894c11b855 unchanged. This CPU audit does not demonstrate a resumed CUDA trajectory or DataLoader replay. E155 validation folders are validation/001000 and002000, with analysis/001000/paired.png and002000/paired.png. The original first25 watcher completed normally; do not restart it. + +E220 operational path-schema correction: original frozen assess.py used step-prefixed validation folders for E155, although E155 writes unprefixed six-digit folders. The figure paths were already correct. Original PLAN/prepare/assess/protocol remain byte unchanged. A pinned wrapper replaces exactly one directory expression in memory, verifies exact reversibility and the reviewable corrected source, and retains every scientific cohort, donor, threshold and outcome rule. Amendment SHA be60a41ed060509d9961184bf06992117f24831d33dfe9aa8cb2df42e9a89256; runner SHA 670dd9eab573df8475215b5805e558378ec67ccfe88b000be833ff204ec2fa19; corrected source SHA e09b7a2eee7b022fe9fa33f9fab8eb5c55a2ee349d89e3f1a0b7f32007f265c8. Eight path fixtures and check-only passed; no assessment or model work ran. Initial preparation failed on an over-specific literal source assertion before amendment writes; the actual equivalent percent-format source was then checked, as recorded in the amendment. Original prepare had the same E155 absence-path issue, but actual unprefixed reports were absent at both freezes, so the unseen-score boundary did not change. When all prerequisites resolve, run preserved_neural_assessment_v1/run_assessment.py, not the original assess.py directly. + +E221 hypothesis and frozen rule: a later complete neural-model win may replace the currently stronger E1771000 physical bundle with an older encoder. Preserve exactly the complete validated E1771000 physical bundle as one fixed reference, complementary to E220's fixed E219 neural reference. Protocol SHA 71a1a997ddc6b10fab41e9c57f44b3b78083e0293a0c57e7f84d6df747b70132. PLAN/prepare/assess/protocol are frozen read-only; reference package and full585 report were pinned under the ledger lock. This freeze follows known E177500/1000 and negative E186500 results, before E1861000, both E155 and both E217 full reports. E217 portability was underway. No new seed, forecast, target-array read, gradient, optimizer, candidate assembly or assessment has run. + +E221 waits all original reports and inspected figures plus eight resolved E180/E193/E204/E218/E220 assessment/integration receipts. At one later decision it pins the actual selected complete package/report, requiring the same585 unique VALID cases,19 datasets,4 groups, finite zero-failure results, pretrained_assets=[], context4 and reward at least the fixed E1771000 reference. Only if fixed-reference active VRMSE is strictly better, and replacing all three physical groups (corpus, Arena, active) in the current summary strictly improves hypothetical reward, may it justify at most one separately frozen composition: the entire actual-current neural bundle with the entire fixed E1771000 physical bundle, globally applied. No alternate donor, checkpoint, head splice, basis, amplitude, pairing or solver parameter. Exact component/helper/guide compatibility, complete/partial-prefix and raw-history checks, all-member coverage and CPU/CUDA portability precede fresh33Well validation plus strict552 corpus/Arena reuse from the fixed physical reference (or fresh uncertain cases), truthful coverage provenance, official585/81 reports, inspected figures and15 exact repeats. Publication still requires a strict gain against actual current under lock. Incompatibility or a failed gate closes the single opportunity; no automatic integration. Earlier rules remain unchanged. E221 validation VRMSE is pending/not applicable to this report-only freeze, with no new checkpoint. + +Current strongest remains E1771000, full585 reward0.7859050316432782 and quick81 reward0.81499809045841, zero failures and15 exact repeats. E217 remains pinnedE201 and in portability; no new optimizer beyond the original E155 run is queued. Next unused experiment ID E222. Continuous research remains active. + +## E222 temporal error-scale diagnostic frozen + +Hypothesis: true-history pressure error has a larger fast temporal fraction (period shorter than4stored frames) than free-rollout error; distinguish temporal damping from slowly varying error using the existing corrected E163 raw forecasts. Same9authorized TRAIN initialcases/all30steps/fourchannels/free-reset8-reset1; no new model calls, forecasts, CUDA, fitting, gradient, optimizer, seed or validation. Float64 orthonormal temporal DCT-II, fixed DC/>=8/4–8/<4frame-period bands, orthogonal spatial mean/X/Y/interaction accounting. Scorer-normalized errors and separately constant-context-scale target/prediction/cross powers; all27official score and E210energy reproduction gates fixed. All17deterministic analytic odd/even/native fixtures passed before native field arrays;62source/input provenance hashes pinned. ProtocolSHA fc1dbddb5a6d55f3ce4244588ecc6e2cce069fa43d68a46b89588c85cf3cf8c1; original mainSHA1d4d7fdf378298ee1a7435c66d9bc91d8d1ac64ebe2309ba3eb6e4d38fdd0975. TwoCPUthreads/noCUDA, originalGPUqueue unchanged. Descriptive previously trained TRAIN diagnostic, not significance, causal history decomposition, independent generalization, sampling identifiability or an automatic filter/loss/architecture experiment. No new checkpoint or per-dataset VALID result; fixed six-panel figure required. NextunusedID E223. + +## E222 cached temporal error accounting complete + +Nine original authorized TRAIN cases, same corrected E163 free/reset8/reset1 raw outputs,30steps/fourchannels. All27 official scores, first-step bits and E210 energies reproduce. Fast(<4 stored-frame period) normalized error fractions free=[0.29240620509452275, 0.4080462969159162, 0.14103753233614008, 0.22026567666000782], reset1=[0.5509494675507753, 0.47695061182955345, 0.4468122226445168, 0.45653230526527533]. ProtocolSHA fc1dbddb5a6d55f3ce4244588ecc6e2cce069fa43d68a46b89588c85cf3cf8c1; resultSHA 7365b91b0d06bdae1d9d27bf244b2e31fd14cd53845685e9f9a9b67a17424eee; mainSHA 1d4d7fdf378298ee1a7435c66d9bc91d8d1ac64ebe2309ba3eb6e4d38fdd0975. Previously trained TRAIN trajectories and future-history diagnostics with original context guides. Finite-window DCT accounting is not stationarity, temporal identifiability, irreducible error, significance, independent generalization or a causal history decomposition. Per-step variance scaling can modulate frequencies; constant context-scale accounting is retained separately. No automatic filter, loss, architecture, optimizer or candidate. Figure awaits actual inspection; no new validation per-dataset scores or checkpoint. + +## E222 temporal error figure inspected and descriptive study closed + +E222 completed in11.247486597974785 CPU seconds with two threads; tool session27713 exited0. All six figure panels actually viewed. Same corrected E163 nine TRAIN cases and27 cached raw forecasts, no new model/solver calls, targets outside TRAIN, CUDA, gradients, updates, seed, validation or candidate. All27 official scores/first-step bits/E210 energy totals reproduce; maximum Parseval relative3.3162334006892945e-15, cross-product identity1.845108166425062e-12, E210energy2.873844636693861e-15. ProtocolSHAfc1dbddb5a6d55f3ce4244588ecc6e2cce069fa43d68a46b89588c85cf3cf8c1; resultSHA7365b91b0d06bdae1d9d27bf244b2e31fd14cd53845685e9f9a9b67a17424eee; figureSHAdb63da6aa0c729a13622ec2f38a72eed6ac2059e871ebd5c5589fac6e06b1863. MainSHA1d4d7fdf378298ee1a7435c66d9bc91d8d1ac64ebe2309ba3eb6e4d38fdd0975 unchanged. + +Scorer-normalized fast temporal error fractions (period<4stored frames), free→reset1: density.2924062051→.5509494676; pressure.4080462969→.4769506118; vx.1410375323→.4468122226; vy.2202656767→.4565323053. Constant-context-scale pressure fractions.3435635571→.4822074358 show the same direction while differing quantitatively, as expected from per-step target-variance modulation. Dynamic prediction/target RMS, free→reset1: [.7479772467,.8035332338,.7252808811,.8009632214]→[.9012099635,.9212631878,.8723641422,.9344552597]; dynamic cosine [.7181421590,.8662046162,.7629116997,.8446417403]→[.9175082662,.9341884400,.9102606281,.9526904944]. These are descriptions of different supplied histories on previously trained trajectories, not causal recurrence components, temporal information limits or proof that amplitude correction improves forecasts. + +Pressure fast-fraction increase occurs in 8/9 paired TRAIN cases. Absolute normalized fast-error energy ratios reset1/free by channel are [0.5835945062609316, 0.6625835172466512, 1.1518464618197823, 0.6579879204537725]. Thus a larger error fraction does not imply larger absolute fast error. Both fast and slow errors remain; no filter, band/threshold sweep, loss, architecture, new optimizer or candidate is authorized automatically. Descriptive study CLOSED. A separate prospective hypothesis is required for any subsequent model change. Current E1771000 full585 reward0.7859050316432782 remains selected. NextunusedID E223. + +## E223 temporal-increment objective frozen before native preflight + +New prospective hypothesis: fixed0.25 normalized consecutive-forecast increment loss, added to the exact E190 clamped fieldVRMSE objective, can improve predictable temporal variation. All19TRAIN, sameE190initial/sampler/noise/fullfree30/B2x3/LR3e-5/1000updates/select5001000, seeds20270118/20270119/privateoverride20270213, explicitinitialprobability.75. Both prediction arguments remain in the autoregressive gradient graph; no first-context boundary term, no single-step auxiliary, average adjacent targetvariances+1e-7, sqrtfloor1e-12/clamp10, no frequencyfilter or channelweight. No coefficient/horizon/seed/checkpoint/sampler sweep. E222 is descriptive and closed; this is a separate experiment, with no reopening of failed filtering/localhistory/memory/acoustic/displacement/statistics lines. + +Fixed complete E219runtime parent, onlyfirstmainweightschange; second96/commonencoder/allguides/solvers/corrections byteexact. E219 contains the matched E1901000firstmember andsamefixedsecondmember;500comparison is interim-versus-endpoint,1000intendedmatchedsingle-seed, numericalexecutionmaydiffer. Complete16992454/trainable3066627parameters. InitialSHA956092907d8d7d163de708e1be1c6fa7e5b369bbdc6954dc48178acf351efbc0; pre-native planSHA5a65ebbea67548ded31731fde5d1593b466989e2dc56782d139fb24c2f5aa66d; analyticchecksSHAa6ef2b22e3f9c27d73f2c3ed5d6d0b23942f9b1dc805bfd71469c5dc602495be. Eight CPU float32/64 streamed/full-sequence value-gradient fixtures, both temporal gradients, zero/constant/saturation, single-step and disabled parity pass without native fields/CUDA/updates/RNGchanges. Exact reversible trainer source edits and unchanged guide/model/data/oldobjective pins retained. + +Next one native3microbatch full30 no-update backward, unchangedweights/finitegradients/ownGPUallocated-reserved<40GiB; protectedasset/schema mutationtests and reused exact E219architectureportability proof. No optimizer until all gatespass andoriginalE1552000ends. Originalvalidators unchanged;E223validation waits originalE186/E155/E217completion and its separately frozen E224assessment. Fresh9thermal+strict576 DERIVED E219→E201→E187→E176,official585/81/all19/actualfigures/15exactbeforestrictcurrentatomicwin. Checkpoint and VALID results pending; no candidate publication or additional learnedparameter yet. E224 reserved for the single conditional report-only component assessment; nextunreservedID E225. + +## E223 native preflight passed and queued; E224 frozen; E2172000 portability passed + +E223 native preflight PASSED:3actual TRAIN microbatches (thermal,thermal,fisher), horizons30/30/26, zero optimizer updates, all gradients finite and parameters unchanged. Raw combined loss0.43366756041844684, gradientnorm13.816215515136719,52.9sharedGPUseconds; own peakallocated30.06634283065796GiB/reserved30.91796875GiB, both below40. All32protectedasset/schema corruption fixtures rejected; exact initialexport and unchanged27runtimeassets pass. Existing E219architecture portability explicitly reused by hash, not presented as fresh new-weight forecasts. InitialSHA956092907d8d7d163de708e1be1c6fa7e5b369bbdc6954dc48178acf351efbc0. Pre-native planSHA5a65ebbea67548ded31731fde5d1593b466989e2dc56782d139fb24c2f5aa66d; preflightSHAf0fea2ec09d278fc77402a1e5e57cfe6148986180d8ecc823d049a37256e8c1e; full training/runtime protocolSHA2fbd50295ac04ad7fbef87a07d22df5113124c0e493f8250eb6767958be623a5; recovery schemaSHAfada8661c30a8e3d764236b8cb87c790496fc5e4386e64ddde6aeb8c6254c324. All original initialization/seeds/sampler/noise/optimizer1000/select5001000 fixed; only the quarter-strength consecutive-forecast increment term is added. Complete16992454/trainable3066627parameters; no extra model parameters, pretrained or synthetic assets. E223 is now authorized in the single-optimizer queue AFTER originalE1552000, not started in parallel. First25CPUrecovery audit remains pending. No E223 VALID scores or trained checkpoint yet. + +E224 is FROZEN before any E223 optimizer or VALID: protocolSHAb0e93dfccb647707c8aa0202005313fd1fe7b5adab32343a00533d0511d05ef6. Report-only rule, no assessment, donor pin, model assembly or forecast executed. Wait original E177/E186/E155/E217 reports/figures and nine resolved prior assessments/integrations (E180four,E193,E204,E218,E220,E221). Manual pin.py then snapshots one actual selected complete physical reference under the ledger lock BEFORE any E223validation folder/forecast exists, with full585reward>=knownE1771000. Only this completed pin writes E223/.assessment_frozen to release its validator; the marker means rule frozen AND prevalidation reference pinned. E223 training can proceed earlier, but keeps its fixed E219runtime parent. No changes to earlier rules or E217's pinned E201parent. + +After both original E223reports/figures, manual E224assess.py chooses lowerthermal500/1000, earlier on ties. It must strictly beat fixed E219thermal and be no worse than actualcurrentthermal. Exactly two whole physical donors are eligible: that single prevalidation snapshot and actualcurrent at decision. Choose larger SUM of the three physical-group mapped rewards (corpus,Arena,active), tiecurrent; never select per-group assets. A strict hypothetical totalrewardgain permits at mostONE separately frozen integration of the entire chosen E223neural bundle and entire chosen physical bundle. This also preserves the earlier physics if E223's whole-package win restores older physics. No hypothetical score is claimed as observed. Exact source/config/tensor/guide/control-forward/prefix/history/all-member/CPU-CUDA-unknown-chunk-reorder portability must precede fresh33Well+strict552fromchosenphysicalreference orfreshuncertain; truthfulcoverage,official585/81/all19/actualfigures/15exact andstrictcurrentunderlockatomicpublication stillrequired. Failure closes without alternative donor/checkpoint/blend. No new optimizer fromE224. Operational prior receipt has nine entries, and positive recorded integrations additionally identify an existing actual figure-view marker. NextunusedID E225. + +E217 checkpoint2000 completed all23portable forecasts:6physical outputs bitexact toE201,6reordered CUDArepeats and3CPUrepeats exact, allcase/member/chunk/fine-branch execution verified. Portable receiptSHAc914aaeef906f4e1eb56bdce93bf942a5259dd1034e6668a83e74621eed8c4f7; fine servingweightsSHAfeba1f54ab748a2eaa794930f7bf14c3dd3441e4dff2d1dc9bdea1e47218e18e (distinct from training artifact46378594...). CUDA stages702.516203357+585.655015713sharedseconds; CPUstages3.871022123+3.618728515wallseconds (the original generic receipt field is namedshared_gpu_seconds even forCPU stages). It now waits originalE1861000 before fresh9thermal VALID. No fullE217score yet, no publication. Currentstrongest E1771000 fullreward0.7859050316432782 remains selected with15exact/allfiguresviewed. E1861000replay andE155training continue. Continuousresearch remainsactive. + +## E225 boundary-localization diagnostic frozen + +New descriptive hypothesis: reset1 pressure interaction squared-error energy per cell is greater in the outer1/8Y at each open boundary (25percent ofnative384columns) than in the remaining interior. Compare direct totalerror and true-increment energy to separate an errorhotspot from stronger underlying variation. Same nine authorized TRAINinitialcases, correctedE163free/reset8/reset1rawforecasts and30targets; no new model/solver forward, CUDA, fitting, gradient, optimizer, seed, VALID or candidate. Fixed boundary-distance bands1/32,1/16,1/8,1/4,1/2, population-cell weighting/unbiasedtargetvariance+1e-7; globally orthogonal interaction residual but no false within-band additivecomponent claim. Reproduce27officialscores/firststepbits/E210totalandinteractionenergies. All24deterministicanalytic odd/even/native/tinyempty-band fixtures passed before nativearraystudy. ProtocolSHAaf118233f85f7df68115a35482b9f881226b2450eac87edb6575b8016a51ad52; originalmainSHA1d4d7fdf378298ee1a7435c66d9bc91d8d1ac64ebe2309ba3eb6e4d38fdd0975. TwoCPUthreads/noCUDA; sixfixedplots required. PreviouslytrainedTRAIN andtruehistorydiagnostic, not significance/causalboundarydefect/generalization. No automaticpadding/loss/architecture/projection/training; E150/E153remainclosed and E223frozenobjectivewhollyunchanged. Newcheckpoint/perdatasetVALID notapplicable. NextunusedID E226. + +## E225 cached boundary localization complete + +Nine original authorized TRAIN cases/all30steps/fourchannels;27correctedE163 cachedrawforecasts. No newforward/CUDA/optimizer/seed/VALID. Primary reset1 pressure interaction outer-eighth/interior meanenergy ratio 0.5340482462275411. ProtocolSHAaf118233f85f7df68115a35482b9f881226b2450eac87edb6575b8016a51ad52;resultSHAf19c0cb3b35bb35d64a531d5be71312870fcd4e5a0be81a88de2d190d0b6a6ec;mainSHA1d4d7fdf378298ee1a7435c66d9bc91d8d1ac64ebe2309ba3eb6e4d38fdd0975. Previously trained TRAIN trajectories and future-history diagnostics, original-context guides. Error localization is not proof of a boundary-condition defect or causal history effect. Spatial components are orthogonal globally, not in each band. No significance, independent generalization or automatic padding/loss/architecture/projection/training. E223 remains unchanged. Six-panel figure awaits actual inspection; no new per-dataset VALID result or checkpoint. + +## E225 boundary-localization figure inspected; primary hypothesis unsupported + +E225 completed its numerical accounting in7.4673178840312175 CPU seconds; tool session60220 exited0. All six figure panels actually VIEWED. Frozen primary hypothesis is not supported: reset1 pressure interaction outer-eighth/interior mean squared energy per cell ratio0.5340482462275411, below1. Pressure total-error ratio0.5218398024558847, versus true-pressure-increment ratio0.989760498102248. Error is more concentrated in the interior in the pooled result, while pressure increments are approximately uniform between these regions. This is not a universal claim:3/9 individual trajectories have pressure-interaction outer/interior ratios above1 in each of free/reset8/reset1; all case values remain recorded, with no subgroup or boundary-width retuning. + +Outer/interior total-error ratios, density/pressure/vx/vy: free[.03541644797,.77038722365,.11837410402,.19357802083], reset1[.04131991933,.52183980246,.10597007775,.27402223397]. Interaction ratios free[.04059005080,.78521226398,.12809515356,.20955673309], reset1[.04663234424,.53404824623,.13013817395,.21528300522]. Target-increment ratios[.002819724931,.989760498102,.138909183640,.569128851998]. Distinct scales and spatial variation preclude treating these ratios as proof of causal padding behavior. Globally orthogonal spatial components do not add within individual boundary bands. + +All27 original correctedE163 raw TRAIN scores and first-step bits reproduce. Maximum officialscore error1.6653345369377348e-16, weightedband reconstruction1.7012013121799152e-15, E210total3.0915282022928774e-15, interaction2.9732293035278957e-15. ProtocolSHAaf118233f85f7df68115a35482b9f881226b2450eac87edb6575b8016a51ad52; resultSHAf19c0cb3b35bb35d64a531d5be71312870fcd4e5a0be81a88de2d190d0b6a6ec; figureSHAcc3bbefd9a27ce01d9551d547ce5f7015f5d868cefd816ad2902bf186bdaac4f. Original mainSHA1d4d7fdf378298ee1a7435c66d9bc91d8d1ac64ebe2309ba3eb6e4d38fdd0975. No new model/solver forecast, CUDA, gradient, optimizer, seed, validation or candidate. Previously trained TRAIN/true-history/originalguides, no significance/independent-generalization/causal-boundary claim. CLOSED: no automatic padding, boundary loss, region/channel/subgroup sweep, architecture or projection experiment. E150/E153 remain closed and E223 is unchanged. NextunusedID E226. + +Current strongest remains E1771000 full585reward0.7859050316432782/quick0.81499809045841, zero failures/15exact/allfiguresviewed. E1861000finalreplay continues; E155 soleoptimizer continues original2000/select10002000; E2172000portable23 passed and waits earlierE186 beforefresh9thermal. E223 is fullyfrozen/queued afterE155, controllers13551/13552/13553 waitnormally; protocol2fbd50295ac04ad7fbef87a07d22df5113124c0e493f8250eb6767958be623a5. E224protocolb0e93dfccb647707c8aa0202005313fd1fe7b5adab32343a00533d0511d05ef6 is frozen only; NOprevalidationdonor pin/assessment/integration yet. E223validator cannot start until manualE224pin afterallninepriorresolutions writes .assessment_frozen. See0551notes forfullE223/E224details,0536forE186completion/E155first25/E220pathfix/E221,0542forE222closure. assessment_status.py reportsread-onlyready/missing records withoutmanufacturingreceipts; storage_status.py --brief givesliveprogress. Continue originalqueues and research; nofinalhandoff/goalcompletion. + +## E226 raw material-state sign diagnostic frozen + +The E012 decoder already clips density after raw autoregression; this diagnostic concerns later E163 raw feedback states, not another output clipping selection. Exactly nine corrected TRAIN contexts/27cachedfree-reset8-reset1 predictions/all30steps; same pinned E225/E210 provenance and original checkpoint. Eight analytic F32/F64 fixtures passed before native reads. Count negative/zero density and pressure, target/context signs, pooled normalized-error fractions at negative cells; fixed output-only zero clipping counterfactual with no recurrence feedback. Sole primary descriptive criterion >=1percent of free normalized error with nonnegative context/targets, both channels reported. No threshold/channel/case search, CUDA/newforward/optimizer/seed/VALID or automatic model extension. ProtocolSHAe3618621ced38319333459a67c9d0228703c64eb8238060859c9ed0fdb19683e;checksSHA1c24b0f405a8198e09a45aa69d1e4cad4b8b33fdfc2c0b3bc87546bc4a331d4f. E223 and original queues unchanged; figure inspection and closure required. + +## E226 cached raw-state sign audit complete + +Nine originalTRAIN cases/27cachedrawforecasts/all30steps. No newforward/CUDA/optimizer/seed/VALID. Free negative-cell normalized-error fractions density/pressure=[0.007084753270580478, 0.0];onepercentcriterion=[False, False]. ProtocolSHAe3618621ced38319333459a67c9d0228703c64eb8238060859c9ed0fdb19683e;resultSHA7e57152a3f4dff02f7a1a532937427d0b2bc3899872ac54fc946926815a6d09a;mainSHA1d4d7fdf378298ee1a7435c66d9bc91d8d1ac64ebe2309ba3eb6e4d38fdd0975. Cached previously trained TRAIN raw states. Output-only fixed clipping is not recurrent clipping or complete serving. No causal, independent-generalization or significance claim; no automatic model/projection/loss/training extension. E223 unchanged. Four-panel figure awaits inspection. + +## E226 sign diagnostic inspected and closed + +All four panels VIEWED;17.046366419sCPU,8analyticfixtures,0newforecasts/CUDA/optimizer/seed/VALID. All27officialrawTRAINscores reproduce to1.66533453694e-16 andfirststepbits exact. Context/targets strictlypositive: density minima.968878924847/.808612823486,pressure.800684094429/.436198562384. No negative pressure in anymode. Free densitynegativecellfraction4.8101279percent butpooled normalized-errorfraction0.708475327percent, belowfrozen1percent. Reset8/reset1 density fractions1.6103765/2.6238607percent aredescriptive,notalternativeprimarygates. Free totalrawVRMSE.36853513885424527 tofixedoutputclip.36844369610788996; density.14387758831025171 to.14351181732483023. Rawminimumdensity free/reset8/reset1 -23.0960922/-29.1181889/-38.0404549; theseisolatedvaluesdonotestablishcausalrecurrencefailure. E012alreadyclipsdensityafterrawrollout; thiscounterfactualdoesnotfeedclippedhistory/applycompletedecoder. ProtocolSHAe3618621ced38319333459a67c9d0228703c64eb8238060859c9ed0fdb19683e;resultSHA7e57152a3f4dff02f7a1a532937427d0b2bc3899872ac54fc946926815a6d09a;figureSHA07e71385cbe7c0e36334b6c39b0daf6d540292d1f29de90e0e3dd6654ae1ed3e;mainSHA1d4d7fdf378298ee1a7435c66d9bc91d8d1ac64ebe2309ba3eb6e4d38fdd0975. CLOSEDnegativeprimarycriterionbothchannels; noautomaticpositivity/normalization/clipping/loss/architecture/threshold/casevariant. E223 unchanged. NextunusedE227. + +## E227 independent spectral capacity preparation frozen + +E047 widened convolutional features while retaining E016 latent24 mixer. New hypothesis: one additional independent parallel24 spectral mixer on identical pre-mixer stem/guide features, exact existing modes32x96/even extension/metadata gains, zero output, privateCPUinit20270410 restoringRNG. +306552parameters, intended3373179trainable/17299006complete. OptionalFalse preserves fixed96member andcommonencoder. FixedentireE219runtime, exactE190initial/sampler/fieldVRMSE/seeds20270118/19/20270213; noE223incrementloss. Intendedone1000run/select5001k AFTERE223originaltraining, onlyifCPUzero/defaultfunction/oldtensor/gradient/RNG andnative3microbatch all-stepF32bitexact/finite/no-update/ownallocated+reserved<40GiBgatespass. All10115TRAINmemberships19datasets checked; sixoriginalE190TRAINcachefilespinnedbeforearraycalculations. ProtocolSHA3f28d7d29292f4bca28af4d5bfe388412fad22389c28dc21815dfd1cbe2db90b. No nativearrays/modelcheck/optimizer/VALID/candidate yet. Failurecloseswithoutwidth/modes/threshold/precisionretry. Fullruntime/recovery/portable/physicalpreservationrulemustbefrozenbeforetraining/validation; inheritedE219physicsnotreplaceableasparent. Newcapacitysingle-seedexecutionconfoundexplicit,nomatchedsignificanceclaim. Originalqueuesunchanged. + +## E227 CPU initialization passed; native trace serialization correction + +18CPUguided/unguided1/4/11channelperiodic/mixed/openfixtures passfloat32bitsold/default/extra-zerohead; alloldinitialtensors exact,+306552params,constructor/globalCPU+NumPyRNG unchanged/noCUDA. Addedoutputweight/biasgradnorms.09380040568/.1406393205,allotheraddedgradsexact0. InitialSHA1d0deecdc9790191ca1708e23263ac1f4af2886de4866400a1cf0b3ef095c331;CPUchecksSHAa0d7369f7175af7091122d8fba571732bb8a36c22999b0a5abbbc48692940d75. Firstnativeattempt exited1 before anyforecast/backward/noise/guide on stricttrace tuple-versus-JSON-list representation; actualsamplepathstrings matchpinnedindex. Frozenoriginalsource/protocol retained; operationalwrapperchangesexactlyonetracecomparisonbyJSONroundtrip,6serializationfixturesand48value-mutantrejections pass. No numerical/resource/modelgate was evaluated or relaxed, no native rollout/optimizer update fromfailedattempt. AmendmentSHA17ee44c609bec7c85b3f6b9223ab8dceb9fc5346f73ded9f1c452836be7e594b;failedlogSHA8b12a2b4322544dc1bf54391df64d964bba1af0939c6528a9a0911be8eb4ba28. Rerun same prescribedcheckwithwrapper,notanarchitecture/thresholdretry. + +## E227 native spectral-capacity initialization/resource gate passed + +Correctedtrace-onlywrapper completed original3TRAINmicrobatches thermal/thermal/fisher,full30/30/26horizons;3control+3expandedrawforecasts/3backwards/0updates. EveryinitialF32forecaststepandfieldlossbitexact; rawlosses.392042964697/.384101420641/.296240836382. Addedoutputheadgradientnonzero,otheraddedgradientszero,allgradientsfinite/allweightsexact/globalpairedforwardRNG unchanged. Ownpeakallocated31.9269351959GiB/reserved32.80859375GiB<40,67.238209476sharedGPUseconds. InitialSHA1d0deecdc9790191ca1708e23263ac1f4af2886de4866400a1cf0b3ef095c331;CPUchecksSHAa0d7369f7175af7091122d8fba571732bb8a36c22999b0a5abbbc48692940d75;nativechecksSHAd3b5dfbe77722db0066fcd7dd6e61ec42bb672f28867b973890b0ad99956e8d1;protocolSHA3f28d7d29292f4bca28af4d5bfe388412fad22389c28dc21815dfd1cbe2db90b. Thisiszero-headpreparation,nottrainedweight/generalization/complete-servingparity. Continuefixedruntime/export/mutation/portable/recoverygatesbeforequeuingtheoriginal1000updateexperimentafterE223. No optimizer/VALID/candidatepublicationyet;E155remainssoloptimizer/E186finalreplaycontinues. + +## E227 complete runtime source gate passed; portable checks queued + +35protectedruntime/config/manifest/expanded-tensor mutations rejected; initialexpandedexportexact,3373179firstmember/17299006completeparameters. ExactE219members/guides/commonF6encoder/physics preserved; onlymodel.py/firstweights/predictfirstconstructor/configextra_global differ, allother24assets exact. Genericdependencyguardstillreportsallfourchanges; no guardrelaxation. Original42sourceprefix/historyfixtures inherited only underexactpredict_member/predict source andsingleconstructor edit; newwhole-servingparitynotclaimed. RuntimechecksSHAace3b5671ae386d4114cb7bb7c558c448763974bda87d43c96a8b281aa288ab3;runtimeprotocolSHAa0999a56052d992b5d9d5150722786f7e4b8c2e598d26e7437e9117782829eda. Fixed23freshportableforecastsqueuedAFTERoriginalE186bothcheckpoints, sixphysicalE219references/CUDAreorder/threeCPUunknownrepeats/allmembers. NoTRAINoptimizerorVALIDyet. Engineering setup failures retained:readonlymodelcopy preventedprivate mutation;archive renameEXDEV, prematureexistingtemplate rerun. Finalcheckerstrictlyauditsunchangedtemplate andusesseparatewritablemutationfixture;nosafety/numericalgatechange. Failure receiptSHAff7eba47054ca8c095e7e1642ae7c74031aa26df1ca726322ca1b539443eedef. Fulltraining/recovery/physicalpreservationfreeze stillpending;E223andoriginalsunchanged. + +## E227 complete training source plan frozen before optimizer + +SourceplanSHA2fd321710e5fc21f4dd07f792d69f950bfed2b74a970742eb887beafe572949d. ExactE190trainer reversedproof: only optional extra-global flag andconstructor argument; loss/sampler/all19/seeds/schedule unchanged. E223 operational writer retainsfirst25 recovery. Completecandidate3373179first+fixedremaining=17299006params,extra306552 privateinit20270410. Original1000/select5001k only, afterE223original1000, noincrementloss. At eachtrainedsnapshot add6freshCPUunknownforecasts (3cases+independent reversedorder) tocheckactualnonzeroexpandedweights, thenfresh9thermal/strict576/58581/fig15exact/currentatomic. NoextraCPUtarget/modelselection; privateprefixproofaccountsall4genericguardchanges. Portablecontroller15209waitsoriginalE186; nofullprotocol/recoveryfreeze, optimizercontroller, training_started, orE227VALID yet. Fullfreeze.py mustrunonlyafterportable23passes; separate E228 physicalpreservationrule+prevalidationpin stillrequired beforeVALID. E224/E223rulesunchanged. + +## E186 common F8 encoder, update1000 + +E186 occasional long supervision, continuation1000/1000 from exact E177 initial encoder. Mainseed20270314/physical20270315;98newzero parameters, complete7465845. Bothheads everycase/translation/chunk. Original CartesianF6 unchanged, F8 localspin8/quartic envelope; separate originalF6 FFT batch andsharedhelper. All10115TRAIN/all19datasets,175physicalcache, originalgroups/native/full30B2x3/noise.01/LR3e-5/head10x/globalclip1/rawlog1p+physicalevery8:30stepsat64multiples,4otherwise,15long/110short total. FixedE156 recurrentmain/guides; commonencoder body/F6/F8 jointlytrained. MatchedE177 initialization/seed/data/optimizer; only15physicalhorizonsreplace4with30, plus checkednestedrecomputation. Single-seed numericalexecution limits causal attribution. Fresh24active+strict561nonactive/full585+exact81,15bitexact checks beforewin. TrainingSHA `893859ff290593175fd55c6ab6e865d806b064631ce84c39de691718e659ed05`, encoderSHA `713050fd318e1ea1681dd3807bbe597edb63497ed3926e4ec6772cea69b69e67`, protocolSHA `78fe4e5bd68a1db67b0b4176430b7fd3ca25b0bb61bcecec58f5d10c76cac711`. Fullreward0.7847346337854629, zero/failed0, quick0.8139428674318907. No pretrained/synthetic/heldout/inferencefitting. + +| Dataset | Full VALID VRMSE | +|---|---:| +| ape2d/burgers | 0.0075675356854 | +| ape2d/decay_turb | 0.000288901618749 | +| ape2d/diff | 2.51784077127e-06 | +| ape2d/fisher | 5.45119100602e-06 | +| ape2d/gs_alpha | 0.00251330314197 | +| ape2d/gs_beta | 0.00485442191926 | +| ape2d/gs_delta | 0.0209169332632 | +| ape2d/gs_epsilon | 0.000796584539428 | +| ape2d/gs_gamma | 0.0588423936929 | +| ape2d/gs_iota | 0.00719492328713 | +| ape2d/gs_kappa | 0.00758642694505 | +| ape2d/gs_theta | 0.016770683122 | +| ape2d/kdv | 0.0246752780929 | +| ape2d/kolm_flow | 0.0116622870804 | +| ape2d/ks | 2.35692808315e-05 | +| ape2d/sh | 5.34847814421e-06 | +| pdearena/navier_stokes_2d | 8.1143169072e-05 | +| well/active_matter | 0.0860376361158 | +| well/turbulent_radiative_layer_2D | 0.435060672766 | + +Outcome: No complete-score improvement; retained current package. + +## E193 final-queue complete-bundle assessment + +All eight original5001k reports recorded. Chosen globalbundles{"recurrent": "E190:1000", "encoder": "Actual current"};strictimprovements{"recurrent": true, "encoder": false};integrationjustified=True. Currentfullreward0.7859050316432782;hypotheticalUNVALIDATEDgroupcomposition0.7860726273997417. Noassembledcandidate/inference/optimizer/targetarrayreads. Completeallmembers/guides andencoder+basisfixedglobally,notdatasetcheckpointswitching. AtmostONEseparatecomposition requirescompletecompatibility/portable/fallback/fresh33Well+strict552/full585/81/15exactrepeats/currentbestatomic. DecisionSHA05b3bd3b8349985d2843d6dd2f20ac88870f3a1fd38556a4ddcb43ebc3e2c1fb. + +## E186 update1000 matched descriptive analysis + +24active VALID paired wins8 againstsame-stepE177, 13 againstfixedparent. All11channel/30step/threewindow/all19datasetmeans recorded. No newforecasts/optimization/selection; intendedmatchedseeds/config, nestednumericalexecution/singleseedlimitcausality. AnalysisSHA 1f065cc61aa205d418b230524f7e9ec78adfbebdedd50759c665f9c06a31b3bd. Figure ready; must visually inspect. + +## E186 final checkpoint inspected; longer-supervision trial closed + +Both prescribed checkpoints are now evaluated and all plots inspected. At update1000, full585 reward is0.7847346337854629, quick81 reward0.8139428674318907, zero failures. Active VRMSE0.08603763611575549 is 3.286788546181185 percent worse than same-step E177/current0.08329974949050398 and worse than the fixed F6 parent0.08523834565974923. Only8/24cases improve against E177;13/24against the F6 parent. All11channelmeans and all3windows worsen against both references. Windows1–5/6–12/13–30 are0.00223296494373047/0.01269668922670665/0.1378381907870592. Othergroups unchanged: corpus0.010231659948693987,Arena0.00008114316907195506,thermal0.4350606727655739. Fresh24active rollouts took4825.7sharedGPU seconds;561complete predictions reused under frozen dependency proof. No publication and zero additional serving-repeat forecasts, because selection failed. Original1000updates/5001000selection and15long+110short physical draws completed; no extra checkpoint, seed, horizon or supervision variant. Intended matched single-seed comparison retains nested numerical execution caveat. TrainingSHA893859ff290593175fd55c6ab6e865d806b064631ce84c39de691718e659ed05;encoderSHA713050fd318e1ea1681dd3807bbe597edb63497ed3926e4ec6772cea69b69e67;reportSHA6a3b6cb6c8213ab9fbe687a601738163cd35d5ea628e9857bf660d3d56c2aceb;analysisSHA1f065cc61aa205d418b230524f7e9ec78adfbebdedd50759c665f9c06a31b3bd;figureSHA6244e0aed2817afc04ae832fac2bde563aa166df7fc59a3a7c1891456aa016cb;manifestSHAb21a28521a206b1ba10806d29a21fb69857c4dde4ee5d1d14eb1e7b4938646a4. E1771000 remains selected. E193 report-only rule separately permits one whole E1901000 neural/currentphysical composition, still unassembled and unvalidated. + +## E217 update2000 figure inspected + +All four panels viewed. Full585 reward0.7852607650201255 with zero failures; thermal VRMSE0.43280244920377975 versus pinned E2010.43290299066505145, a small0.023225 percent relative reduction with3/9case wins. Density,pressure andvelocity1 means improve;velocity0 worsens. Early1–5 worsens0.267276730878366 to0.26746248396205;middle6–12 improves0.3257920609020994 to0.3257571100992919;late13–30 improves0.5205645355136123 to0.520358960311561. This does not exceed selected full reward0.7859050316432782 or retained E219 thermal0.43201490186846536. Othergroups remain fixedE201:active0.08523834565974923,corpus0.010231659948693987,Arena0.00008114316907195506. Fresh9thermal replay107.8sharedGPU seconds plus576strictly derived complete physical predictions. Fine servingweightsSHAfeba1f54ab748a2eaa794930f7bf14c3dd3441e4dff2d1dc9bdea1e47218e18e;training2000SHA46378594076aeb88c9c8727eab09c45861965f26937d5b27f2adbf73af6020e9;reportSHA4dffb88d7f3ca84ad1a39da5ea4be50123f09a37cde9905aac87ce603abcb58c;analysisSHAec27295b6404a855818bf2d5050d5ad1bc4f550edce82d91dc08b01480c630ea;figureSHAf50630683781365711745812ad70bb801b12b8191a396982de372f5912837578. The figure marker now releases original selection and6000 portability/validation. No early component choice, coefficient change, additional checkpoint or seed. Original6000 training already completed; its declared final evaluation remains required. + +## E217 learned fine-profile forecast update 2000 + +E217 from-scratch shared fine-profile forecast, update 2000; initialization/sampling/dropout seeds 20270401/20270402/20270403. Fixed 48-knot extra modes, 0.25 correction, same pinned E201 parent for both declared checkpoints. All old weights/physics exact; 17,244,070 complete parameters. Fresh 23 portable forecasts and 9 thermal VALID outputs; 576 physical outputs reused with explicit exact-source and complete-prefix proof preserving E201→E187→E176 derived provenance. Official full585/81 aggregation, inspected channel/window/case figure, and 15 exact repeats before any winning publication. Training checkpoint SHA `46378594076aeb88c9c8727eab09c45861965f26937d5b27f2adbf73af6020e9`, fine weights SHA `feba1f54ab748a2eaa794930f7bf14c3dd3441e4dff2d1dc9bdea1e47218e18e`, report SHA `4dffb88d7f3ca84ad1a39da5ea4be50123f09a37cde9905aac87ce603abcb58c`, runtime protocol SHA `691ed32eeffa8d93e82e844aa528f1a83d0a53614cf169c3fd37225d2281a067`. Full reward 0.7852607650201255; quick reward 0.8138331907156765; failed cases 0; thermal paired wins 3/9. + +| Dataset | Full VALID VRMSE | +|---|---:| +| ape2d/burgers | 0.0075675356854 | +| ape2d/decay_turb | 0.000288901618749 | +| ape2d/diff | 2.51784077127e-06 | +| ape2d/fisher | 5.45119100602e-06 | +| ape2d/gs_alpha | 0.00251330314197 | +| ape2d/gs_beta | 0.00485442191926 | +| ape2d/gs_delta | 0.0209169332632 | +| ape2d/gs_epsilon | 0.000796584539428 | +| ape2d/gs_gamma | 0.0588423936929 | +| ape2d/gs_iota | 0.00719492328713 | +| ape2d/gs_kappa | 0.00758642694505 | +| ape2d/gs_theta | 0.016770683122 | +| ape2d/kdv | 0.0246752780929 | +| ape2d/kolm_flow | 0.0116622870804 | +| ape2d/ks | 2.35692808315e-05 | +| ape2d/sh | 5.34847814421e-06 | +| pdearena/navier_stokes_2d | 8.1143169072e-05 | +| well/active_matter | 0.0852383456597 | +| well/turbulent_radiative_layer_2D | 0.432802449204 | + +Outcome: No actual-current full585 improvement; selected package retained. + +## E229 prospective complete E193 bundle composition + +Single E193-authorized composition, selected after all eight original reports and actual figure inspections. Preserve both complete E1901000 width48/original width96 members with equal0.5/0.5 outputs and all shared guides. Copy the complete E1771000 F6/F8 physical bundle (encoder code/weights, kinetic code and state basis); no member replacement by E219, optimizer, new training seed, alternate merge or coefficient. Exact pre-assembly snapshot/source protocol SHA 2454b779c0859f3f1782a74efbd87ee5a5a6b6d42fc403bdd1fb3316c2d9b3af. Expected16992552parameters; no pretrained assets. CPU strict tensor/interface/mutation checks first. Portable eight TRAIN+three unknown inputs; active TRAIN horizon4 with fresh F8 controls, all other native horizons. This is not full30 active evidence. Mandatory all33 fresh Well full30 outputs must bitmatch selected component references; strict552 corpus/Arena reuse only under input/source/output and derived two-member prefix proof. Official585/81, all19 datasets, actual four-panel figure inspection and15independent exact serving repeats before strict actual-current atomic publication. Hypothetical reward0.7860726273997417 is unvalidated. No candidate assembled or forecast yet; existing E155/E217/E227 work retains GPU priority. + +## E229 CPU compatibility passed and sole composition queued + +CPU strict complete tensor loads/count16992552, one manufactured mixed-boundary encoder forward, global CPU RNG preservation and34protected mutations passed; no CUDA/optimizer/complete forecast used in CPU checks. CPU receipt SHA65f5555a630053275e7dab55541fcae70f959b6a46c3f30a8caa4fc1b954041b. Static source audit finds the latent value only consumed inside the active kinetic guard;42inherited exact-source prefix/fallback fixtures are explicitly not fresh changed-runtime parity. Portable pipeline source frozen before any candidate GPU forecasts:10fresh component controls+23candidate forecasts, four cached corpus/Arena physical references, active preflight K4 only. Waits already running E227portable and E217final original validation; then portable/final protocol/fresh33full30parity/strict552/official58581/actualfigure/15exact/currentatomic. No new training seed, variants, target-informed correction or publication claim. + +## E227 complete preparation passed; original spectral-capacity trial queued + +All 23 fresh portable forecasts passed: 11 CUDA, 6 reordered CUDA and 3 CPU unknown cases repeated independently. Six complete physical outputs match the fixed E219 references bit for bit; all members and translations were verified. Changed first-member neural outputs are finite; they are not claimed equal to the trained parent. Portable receipt SHA cfdddb471db3c8c7bdf9056b98e1d36e4a6aba76f4e904d5302e381d76c75887, protocol SHA bbc5955a937b15b7f748c5da263deca2e3f9f5800541b652bb796ff1b10f76e9. Shared GPU wall times 799.1424 and 779.9816 seconds; CPU times 4.0775 and 3.8154 seconds, not isolated throughput. Full training protocol SHA acaab3963f469c1e6683b205f4c0e8e3c3f1689a0b8e0caf746633d24de0941e; recovery schema SHA 87075da67c0a9167f4ba8b22a7e90c7ca294622cb3a7335a0f240535f8ca81e2. Exactly one 1000-update run, checkpoints 500/1000 only, after the original E223 training. Exact E190 initial weights, sampler, field VRMSE and seeds 20270118/20270119/20270213; one new zero-output spectral mixer initialized with private seed 20270410. Added 306552 parameters; 3373179 trainable and 17299006 complete. Fixed E219 second member, guides, encoder and physical operators. No optimizer update yet. Strict fresh9/derived576 validation, actual figure inspection, trained CPU reorder checks and 15 exact serving repeats before any current-best publication. Existing native setup/operational amendments remain recorded; numerical gates were not relaxed. + +## E228 prospective physical-component preservation rule frozen + +Rule protocol SHA 49e150dcdb035a466c60e916ad1ffeb10e9793ac57f439b22098b9054e0badc2. No donor snapshot, model, forecasts, target arrays, optimizer or new seed. Before ANY E227 validation, all original E177/E186/E155/E217/E223 reports and actual figures plus ten prior assessment resolutions are required; pin the actual selected complete package once. Only that completed pin writes E227 .assessment_frozen, which is currently absent. After the two declared E227 checkpoints, select the better thermal score with the earlier checkpoint on a tie; it must beat fixed E219 and not exceed actual-current thermal error. Choose one whole physical donor between that prevalidation snapshot and actual current by the sum of the three physical-group rewards, keeping current on a tie. A strict hypothetical full-score gain permits at most one separately frozen whole-bundle composition with fresh33 Well, strict552 reuse, official585/81, inspected figures and 15 exact serving checks before publication. This rule does not itself establish a combined score. E224 and all earlier rules remain unchanged. + +## E230 prospective learned fine-profile information diagnostic + +CPU-only descriptive analysis, frozen before native array reads. Use the same nine audited initial thermal TRAIN contexts and old E163 raw forecasts as E214/E215; these are not complete E201/E217 outputs or independent test trajectories. Evaluate only the already-trained E217 checkpoints 2000 and 6000, with 18 calls to the unmodified four-frame fine-profile forecaster and no full model/solver rollouts. Measure normalized error in D=P48-P16, learned versus true change alignment/norms, and the fixed 0.25 correction's error capture on historical raw predictions. Keep all cases, steps, channels, axes and fixed rollout windows. No coefficient, checkpoint, architecture, horizon or seed choice; no optimizer, CUDA, VALID or automatic follow-up. Original training seeds 20270401/20270402/20270403. Geometry and six manufactured cross-term/0.4375 oracle-energy identities passed before field reads. Protocol SHA 3f3a3de856c07caf1ffe5ab4ba3a6e9f3d07bf1bc9a2edd82e923b7cf07a7b6c; training/fine checkpoint hashes [{"step": 2000, "package": "/run-state/workspace/research/fine_profile_learning_v1/validation/step002000/package", "training_checkpoint": "/run-state/workspace/research/fine_profile_learning_v1/run/step002000.pt", "training_sha256": "46378594076aeb88c9c8727eab09c45861965f26937d5b27f2adbf73af6020e9", "fine_weights_sha256": "feba1f54ab748a2eaa794930f7bf14c3dd3441e4dff2d1dc9bdea1e47218e18e"}, {"step": 6000, "package": "/run-state/workspace/research/fine_profile_learning_v1/validation/step006000/package", "training_checkpoint": "/run-state/workspace/research/fine_profile_learning_v1/run/step006000.pt", "training_sha256": "04ba1cbc9a839d91706f7c31546036f0fc2db83f55ed682bd24966deec05b3f7", "fine_weights_sha256": "59298260335cc26e5d716dcae028042f6e09261932539d205f4e5dd7cf1ac4fe"}]. All existing candidates and selection rules unchanged; four-panel result must be inspected before closure. + +## E230 learned fine-profile information diagnostic complete + +Exactly 18 CPU fine-profile forecasts from the fixed E217 updates 2000/6000 on E214's nine audited TRAIN contexts, plus fixed 0.25 offline corrections of the older E163 raw forecasts. No full runtime rollouts, CUDA, optimizer, new training seed, VALID or candidate selection. Fine-band normalized MSE (zero,persistence,raw,2000,6000): [0.016195519441464058, 0.13764861267238793, 0.009048608237634842, 0.012154232154759756, 0.011244349222070809]; historical raw/corrected VRMSE: [0.36853513885424527, 0.3687221469426662, 0.36862641541041974]; pooled extra-oracle energy recovery: [-0.012138988768419784, -0.0059351824292239955]. Model/geometry/inputs/RNG and analytic cross-term checks passed. Result SHA 217023e200bd26367d02837ea430d1591f709e21a041909c462d326305c22de8. Descriptive TRAIN-only learned profiles and fixed0.25 postprocessing of OLD E163 raw forecasts. Not complete E217 serving outputs, not independent generalization, no candidate choice or automatic follow-up. Four-panel figure awaits actual inspection. + +## E230 inspected TRAIN diagnostic: information learned, no pooled correction gain + +All four panels actually inspected. Fine-space normalized MSE: zero 0.016195519441464058, context persistence 0.13764861267238793, old raw 0.009048608237634842, learned2000 0.012154232154759756, learned6000 0.011244349222070809. The 6000 profile error is 24.266063098007407% above the old raw forecast, despite improving on persistence and zero. Every channel has larger fine-profile MSE than raw at both checkpoints. Fixed 0.25 postprocessing changes historical raw pooled VRMSE 0.36853513885424527 to 0.3687221469426662 / 0.36862641541041974; only 2/9 strict case wins for each. Extra-oracle normalized squared-error capture is negative: [-0.012138988768419784, -0.0059351824292239955]. Density and vertical velocity improve at6000 while pressure and horizontal velocity worsen; early window improves but middle/late worsen at6000. Learned changes have high alignment in several channels, which does not establish accurate future profiles or additional information beyond the raw prediction. This is old raw TRAIN postprocessing, not E217 serving/generalization or a reason to change its frozen validation. Exactly18 CPU profile forwards, no complete rollouts/optimizer/CUDA/new training seed, elapsed5.900719403s. Protocol SHA 3f3a3de856c07caf1ffe5ab4ba3a6e9f3d07bf1bc9a2edd82e923b7cf07a7b6c, result SHA 217023e200bd26367d02837ea430d1591f709e21a041909c462d326305c22de8, figure SHA 3512e7a4f3a4bdef506df48b42d457b096db075574b3f289a5e85356bb00a06a, arrays SHA fd25675b6026cf7100062a8787119e07088adc38f52c67fa48694b1e9fe5f0f0. Closed without automatic scale, horizon, loss, checkpoint or architecture variants. VALID VRMSE per dataset is not applicable to this diagnostic. + +## E231 shared quadratic feature preparation frozen + +Prospective architecture experiment: all66 unordered last-frame normalized-channel products, including squares, feed one zero-initialized bias-free66-to48 projection before the existing guidance/spectral stem. Original linear path and all original tensors retained. Added3168 parameters,3069795 first-member and16995622 complete. Optional flag defaults false; every member and common encoder applies to every case. ExactE190 initial artifact and fieldVRMSE/sampler/seeds20270118/20270119/20270213, private new-module seed20270411, one1000-update run/select5001000 after originalE227. Fixed wholeE219 runtime parent; noE223 increment loss orE227 extra spectral module. Preparation protocolSHA21e4bf354c6f440b8778d01fc0f19d3b225dd433da5e7fbd69a03f2c50a122db pins all10115 TRAIN memberships, six native sampled records and source/asset hashes before native arrays. CPU product identities/zero-function/RNG/gradient checks then original three paired native full30/30/26 no-update backward checks, exact initial outputs and own allocated/reserved<40GiB required. No sweep or numerical/resource threshold retry. Complete runtime/portable/recovery and separateE232 prevalidation physical-preservation rule remain to be implemented before any optimizer/VALID. No new candidate score or publication; existing queues unchanged. + +## E231 native and runtime preparation passed; portable replay queued + +One fixed quadratic-feature architecture passed18CPU fixtures plus3 independent pair-product/zero-padding/scaling identities. Default/zero-added outputs and all old tensors exactly preserved; globalCPU RNG unchanged. InitialSHAfde4eb423151682caefd29222c717aa6910b4c5e355d8f040b1fe0a082dd1489;CPUreceiptSHAf388043748422441ddb992a67692386fd7d6b8fda134b17c55cc97922c674fbd. Native originalE190 TRAIN microbatches thermal/thermal/fisher at30/30/26:3control+3new complete rollouts and3backwards,zero optimizer updates. Every within-run F32 forecast and loss bitexact; losses.39176326990127563/.38388141989707947/.29624083638191223. Finite new-weight gradient afterclip.15857650221693814;all weights/pairedforwardRNG unchanged. NativeSHA9bf1dd44f438a20aaa920685b5fe11e55a2ebeda53040ff4f7d5f3e550d453e3;peakallocated31.82821798324585/reserved32.826171875GiB<40;56.901171563sharedGPU seconds. No cross-run CUDA gradient or timing equivalence claim. Complete runtime35mutationrejections,24unchanged protectedassets,all5 learnedrole tensor counts andstrictgeneric4dependencyguard passed. RuntimechecksSHAe9c9c7799f410286151126f3190e514f19de06125e179845caee2cd38e43c985;runtimeprotocolSHAe6c48718eb8a4f506da72f1d24f70e7d3d82ca369237178de1d58f4d2801fb27;sourceplanSHA18aff725cb61433a6d0568b3b1f415493d495caf86cf3094e29725e76fc7463f. Portablecontroller17839 waits originalE229 recorded composition before23forecasts. No new optimizer/fulltrainingprotocol/VALID yet; intendedsingle1000 afterE227/select5001000 unchanged. E232 preservation-rule sources prepared andcompilechecked,11genuine prior resolutionsincludingE228 required, but no rulefreeze/donor pin yet. Fullportable/recovery/trainingfreeze andE232rule stillrequired. SelectedE177 unchanged. + +## E233 prospective trained F8-head contribution diagnostic + +Fixed E1771000 complete serving model versus exactly its latent_head8 weight and bias set to zero, with all other tensors/sources/config/guides/solvers/quadrature/translations unchanged. Six originalE143/E175 TRAIN cases5/-4,7/-5,9/-3,13/-4,15/-4,17/-5,trajectory2/context0..3/full30;all175TRAIN memberships andsixE090context/target hashes pinned before native arrays. Exactly12fresh complete forecasts, including all four translations and original three-node quadrature; retain physical-prefix lengths and unchanged neural-fallback usage. Primary descriptive ablated-minus-control pooledVRMSE, all6cases/11channels/30steps/threewindows andfour-panelfigure. CPUzerohead/main/F6/RNG/tensorchecks first. QueueafterE231portable;no optimizer/newtrainingseed/VALID/modelselection/publication/automaticfollowup. This measures contribution at fixed trained weights on seen TRAIN cases; co-adaptation prevents a causal training-benefit or independent-generalization claim. OriginalE177seeds20270314/15 andquad20261026. EncoderSHAe5d00d1e79d7e8d2b63f8a19f106a1e40f299f4308a6563cd84dc1768321ebbf;protocolSHA3be90ed2a77dd6041e7e987b44f669e644182c6cfed567f986c6d325ae57be01. VALID VRMSE per dataset is not applicable; no new score yet. + +## E233 CPU ablation checks passed and complete TRAIN replay queued + +E23318CPUfixtures pass: original main output andF6 coefficients bitexact, ablatedF8 exactlyzero andoriginalF8 nonzero;both outputheadtensorszeroed,allother tensors/source/config unchanged. Complete7465845parameters,globalCPU RNG preserved,allgradientsNone,noCUDA/optimizer. CPUreceiptSHA728bea495934a9c443c0b080f834898d9e8e803c3e1471241a2b6d255c3316ac;ablationencoderSHAbc82fe7d29c6bc12fdb69e3120e08f746976c27e77b46f3e61ae422b840c07b4. SixoriginalE143/E175TRAIN contexts/30targets stagedonlyfromauditedE090cache;4framecontextbytes and4targetprefixbits exact;all175TRAIN memberships verified. RuntimeprotocolSHA71e89ebde3c2e8475c70fe7cb45a633a41a40e3d6b5b0c323279a2c15975a3c1 pinsallpackage/input/truth hashes beforeforecasts. Controller18175 waits E231portablecomplete;exactly12complete30stepforecasts/allfourtranslations/threequadraturenodes,controlthenreversed-orderzerohead. Physical-prefixlengthsandunchangedfallbackusagewillberecorded. NoVALID/candidatechoice/publication/automaticF10ortrainingfollowup. NextunusedE234; no matchedcontinuation or higherharmonicstudycreated. + +## E234 manufactured flow-null F4 coordinate protocol + +Frozen before numeric fixtures. Six prescribed periodic float64 CPU states, two threads, no random seed, native data, CUDA, learned weights, optimizer or VALID. Compare one fixed 64-iteration unregularized CG projection against dense SVD and the unchanged E177 Stokes flow at exact manufactured fixed points. A global normalization bounds the F4 increment by 1% of existing necessary-disc slack. This is neither joint realizability nor forecast evidence. No automatic native/training/VALID route or solver/tolerance/amplitude/fixture variants. Protocol SHA `bf739ff01acc192f4464b42ebace5f0d035ab4bfe320f411e2879c8fdbb88904`. Checkpoint and per-dataset validation VRMSE: not applicable; selected E177 package retained. + +## E234 manufactured flow-null coordinate rejected; figures inspected + +All four panels inspected: first-application null residual, unchanged manufactured flow, retained coordinate magnitude, and positive necessary F4-disc slack. Also inspected every scalar gate: repeated CG projection fails idempotence in all six fixtures, relative changes 0.00456037 to 5.97036 versus the frozen 1e-7 limit. First-application CG agrees with dense SVD within 2.33e-14 and retains 55.72-69.48% of input norm; flow change stays below 5.88e-16. These successful first-application checks do not override the failure near an already-null input. Numerical nullspace contamination is a possible explanation, not separately established here. Exact proposal rejected and closed; no tolerance/solver/ridge/amplitude/fixture retries or automatic native/training/VALID extension. Manufactured float64 CPU only, 0.185 numerical seconds, no seed, CUDA, trajectories, learned weights, optimizer or forecasts. Checkpoint and per-dataset VALID VRMSE not applicable. Results SHA `2495fb2f021ab480dab9534f406ae60de7e9d869cc752e64eb17b8f501bce247`; figure SHA `bfae738d56c6ecdd00efc69bf628320bce961f88a95f2af1976f37d4b56b2b5d`; arrays SHA `f21d5c5572cd154fbd781485b7026ca49970cdbfe20e50ac50d338ff9a571dc6`; protocol SHA `bf739ff01acc192f4464b42ebace5f0d035ab4bfe320f411e2879c8fdbb88904`. + +## Full validation of 001000 + +All 585 validation trajectories, starting at frame 0; no held-out trajectories. Reward **0.784631**, failed cases 0. Neural initialization seed 20261021; sampling seed 20261127; checkpoint SHA256 `1d4d7fdf378298ee1a7435c66d9bc91d8d1ac64ebe2309ba3eb6e4d38fdd0975`. Same model as the corresponding quick-validation experiment; changed factor: expanded validation sample only. + +| Dataset | VRMSE | +|---|---:| +| ape2d/burgers | 0.007568 | +| ape2d/decay_turb | 0.000289 | +| ape2d/diff | 0.000003 | +| ape2d/fisher | 0.000005 | +| ape2d/gs_alpha | 0.002513 | +| ape2d/gs_beta | 0.004854 | +| ape2d/gs_delta | 0.020917 | +| ape2d/gs_epsilon | 0.000797 | +| ape2d/gs_gamma | 0.058842 | +| ape2d/gs_iota | 0.007195 | +| ape2d/gs_kappa | 0.007586 | +| ape2d/gs_theta | 0.016771 | +| ape2d/kdv | 0.024675 | +| ape2d/kolm_flow | 0.011662 | +| ape2d/ks | 0.000024 | +| ape2d/sh | 0.000005 | +| pdearena/navier_stokes_2d | 0.000081 | +| well/active_matter | 0.086284 | +| well/turbulent_radiative_layer_2D | 0.435061 | + +E155 common-encoder orientation trial, fixed E151 recurrent model and guides for every case. All24 active VALID forecasts freshly replayed/scored;561 nonactive outputs reused only under pinned source/config/asset/input/eligibility proof, with552 complete physical prefixes and9 identical neural paths. Common encoder code has no RNG or mutations of other components and its coefficient output is unused on every reused path. Generic latent dependency guard stays strict. Full585 official equal-dataset corpus aggregation and exact81 subset. Compare current best and existing Cartesian control at the same training update; original nondeterministic training flags prevent a bitwise replication claim. Physical/neural/fine/unknown repeats precede any winning publication. No held-out access. + +Outcome: recorded full validation for audit and comparison; no automatic comparison against the distinct quick-validation sample. + +## E155 — local-orientation common encoder, update1000 +- Hypothesis / changed factor: E155 fixed local-orientation trial at1000 joint updates. Exact E060 zero-head initial checkpoint, seed20261127/physical20261128, sameall19 sampler/B2x3/full30/noise.01/LR3e-5/head10x/AdamW/originalblockrecompute andphysical4/every8. Only coefficientbasis changes toexp(3iargF2), samehead/grid/maximalradialenvelope; no amplitude or phase sweep. Fixed E151 recurrent main and guides with the new common encoder applied everycase/shift/chunk, total7465747parameters. Matched intended training settings, not bitwise replication/statisticalcausalproof. Fresh24active+strict561nonactive/full585currentbest and matchedCartesiancheckpoint. Zero-head/gradient/dryrun/portable/unknown/mutation gates passed; exact serving repeats before a win. TrainingartifactSHA256 de24a6606ab6703fe3ca6ab09e9529e691bb019a30ee0eb8372d1e744bbf852d; encoderSHA256 4bff28dd4146b129b3542cecd5eb4eaa767020462664373edb2b1f013939b526; protocolSHA256 ca992cd72d82f380c41b99e9144162bfaf1364e1915b5a15700f2b894c11b855. No pretrained/syntheticassets, heldoutaccess or inference-timefitting. +- Seed: 20261127. +- Checkpoint SHA256: `1d4d7fdf378298ee1a7435c66d9bc91d8d1ac64ebe2309ba3eb6e4d38fdd0975`. +- Runtime code SHA256: `06b17c8a053b38b02aa1f2411f69db82887dd6662a64116575e8e6b76bf1be75`. +- Validation: fixed 81-case subset; reward **0.815395**, failed cases 0. + +| Dataset | VRMSE | +|---|---:| +| ape2d/burgers | 0.006413 | +| ape2d/decay_turb | 0.000381 | +| ape2d/diff | 0.000003 | +| ape2d/fisher | 0.000003 | +| ape2d/gs_alpha | 0.002284 | +| ape2d/gs_beta | 0.004791 | +| ape2d/gs_delta | 0.018960 | +| ape2d/gs_epsilon | 0.001476 | +| ape2d/gs_gamma | 0.045697 | +| ape2d/gs_iota | 0.002137 | +| ape2d/gs_kappa | 0.004346 | +| ape2d/gs_theta | 0.006949 | +| ape2d/kdv | 0.016728 | +| ape2d/kolm_flow | 0.008926 | +| ape2d/ks | 0.000033 | +| ape2d/sh | 0.000004 | +| pdearena/navier_stokes_2d | 0.000083 | +| well/active_matter | 0.037732 | +| well/turbulent_radiative_layer_2D | 0.435061 | + +Selection basis: full585 physical-operator comparison: candidate0.78463100, current0.78590503 + +Outcome: did not improve validation reward; retained current package. + +## E155 update1000 descriptive validation analysis + +Improved12/24 versus fixed E151 state and12/24 versus matched-update Cartesian control. Twenty-four trajectories span16 regimes. No fitting/new selection or statistical significance claim. AnalysisSHA256 `596c0d015a446ae3a45ffb115b86b9e5d87fa56354cdc6be4a3de2d3595c8fd4`. Standalone analysis/001000/paired.png and SVG await visual inspection. + +## E155 update1000 figure inspected; matched active error worsens + +Both E155 update1000 panels actually inspected: 30-step mean active error and all24 paired differences. Full585 reward 0.7846309981783915, quick81 0.8153952715926611, zero failures. Active VRMSE 0.08628436293625576 versus matched Cartesian 0.08523834565974923 (1.227168% worse), with12/24 paired wins. Actual selected E177 active error remains 0.08329974949050398. Most differences are small, with a few larger positive and negative case changes; the oriented mean curve is slightly worse late. Candidate windows1-5/6-12/13-30: [0.0022030676764104133, 0.012531054818633303, 0.13832212033195487]. The matched whole-package reward is not a controlled full-score comparison because its other components differ; the matched active component is the intended comparison. Fresh24 active forecasts, four translations each, shared elapsed5562.9s;561 other outputs retain the original exact-source proofs. No selected-model change and no repeats were required for this losing candidate. The original2000 checkpoint remains pending; do not close or extend the original trial. Training SHA `de24a6606ab6703fe3ca6ab09e9529e691bb019a30ee0eb8372d1e744bbf852d`; encoder SHA `4bff28dd4146b129b3542cecd5eb4eaa767020462664373edb2b1f013939b526`; full report SHA `fb057f43b452e0d916bc9f01b50012c1c8ddc3faa6ab73174bea3f9d747d13d8`; analysis SHA `596c0d015a446ae3a45ffb115b86b9e5d87fa56354cdc6be4a3de2d3595c8fd4`; figure SHA `ca9ce839e3d95596d01dc6afa2d76fd2bd50c59450cb1c838cd503f9c4152273`. + +## E217 update6000 figures inspected; original trial complete without selected-model gain + +All four E217 update6000 panels actually inspected: complete30-step mean curve, nine paired case deltas, all four channels and all three windows. Thermal VRMSE 0.4327450660670212 versus fixed E201 0.43290299066505145, a 0.036480% reduction;6/9 cases improve. Density, pressure and vertical velocity improve; horizontal velocity worsens. All three mean windows improve slightly, with curves nearly overlapping. Windows parent [0.267276730878366, 0.3257920609020994, 0.5205645355136123] -> candidate [0.26724665722250973, 0.3257310690375168, 0.5203334007019705]. Full585 reward 0.785265563751419, quick81 0.81383798944697, zero failures, fresh9 thermal outputs in53.5shared seconds and strict576 unchanged physical reuse. Still below selected E177 full reward0.7859050316432782 and retained E219 thermal0.43201490186846536. No actual-current publication gain; original checkpoints2000/6000 now both inspected. The original validator will finish recording and close this trial. The separately frozen E218 assessment remains pending genuine earlier resolutions, with no premature donor choice or integration. No amplitude, fine-resolution, objective, architecture, seed or checkpoint extension. Training SHA `04ba1cbc9a839d91706f7c31546036f0fc2db83f55ed682bd24966deec05b3f7`; fine weights SHA `59298260335cc26e5d716dcae028042f6e09261932539d205f4e5dd7cf1ac4fe`; report SHA `ee6794b68368585a3ee0316a7976832103585e0ba21a8b63d459000d33e4d4c0`; analysis SHA `3e8806109fdf8b5dd3161787b597b18a50911d7ecff2bc015c9a8fbe401beba9`; figure SHA `988dd2c1e4e67ddcefad2b4ca6422102272e2d947fe1ef66f3957c464012cc78`. + +## E217 learned fine-profile forecast update 6000 + +E217 from-scratch shared fine-profile forecast, update 6000; initialization/sampling/dropout seeds 20270401/20270402/20270403. Fixed 48-knot extra modes, 0.25 correction, same pinned E201 parent for both declared checkpoints. All old weights/physics exact; 17,244,070 complete parameters. Fresh 23 portable forecasts and 9 thermal VALID outputs; 576 physical outputs reused with explicit exact-source and complete-prefix proof preserving E201→E187→E176 derived provenance. Official full585/81 aggregation, inspected channel/window/case figure, and 15 exact repeats before any winning publication. Training checkpoint SHA `04ba1cbc9a839d91706f7c31546036f0fc2db83f55ed682bd24966deec05b3f7`, fine weights SHA `59298260335cc26e5d716dcae028042f6e09261932539d205f4e5dd7cf1ac4fe`, report SHA `ee6794b68368585a3ee0316a7976832103585e0ba21a8b63d459000d33e4d4c0`, runtime protocol SHA `691ed32eeffa8d93e82e844aa528f1a83d0a53614cf169c3fd37225d2281a067`. Full reward 0.785265563751419; quick reward 0.81383798944697; failed cases 0; thermal paired wins 6/9. + +| Dataset | Full VALID VRMSE | +|---|---:| +| ape2d/burgers | 0.0075675356854 | +| ape2d/decay_turb | 0.000288901618749 | +| ape2d/diff | 2.51784077127e-06 | +| ape2d/fisher | 5.45119100602e-06 | +| ape2d/gs_alpha | 0.00251330314197 | +| ape2d/gs_beta | 0.00485442191926 | +| ape2d/gs_delta | 0.0209169332632 | +| ape2d/gs_epsilon | 0.000796584539428 | +| ape2d/gs_gamma | 0.0588423936929 | +| ape2d/gs_iota | 0.00719492328713 | +| ape2d/gs_kappa | 0.00758642694505 | +| ape2d/gs_theta | 0.016770683122 | +| ape2d/kdv | 0.0246752780929 | +| ape2d/kolm_flow | 0.0116622870804 | +| ape2d/ks | 2.35692808315e-05 | +| ape2d/sh | 5.34847814421e-06 | +| pdearena/navier_stokes_2d | 8.1143169072e-05 | +| well/active_matter | 0.0852383456597 | +| well/turbulent_radiative_layer_2D | 0.432745066067 | + +Outcome: No actual-current full585 improvement; selected package retained. + +## E235 shared learned transport preparation frozen + +Hypothesis: a learned local backtrace offers an additional representation of moving structures alongside the additive field residual. Only a shared two-output zero-initialized decoder head is added,98 parameters; fixed4*tanh grid-cell displacement, explicit bilinear sampling with existing periodic/wall conventions, normalized last frame and original residual retained. Same exact E190 initial, original field loss/all19/native30 B2x3/sampler/noise/optimizer/seeds20270118/19/20270213, complete fixed E219 runtime. Private new-head CPU seed20270412 preserves old RNG. One proposed1000-update run after original E231,500/1000 only, conditional on CPU identities, exact native initial forward/resource checks, complete portable/source/recovery gates and a separately frozen E236 pre-VALID preservation rule. No new optimizer, native arrays or VALID yet; this is independent of closed global moving-frame and F4-nullspace proposals. Preparation protocol SHA `2a5b366f0f9361d3f667416820307681107e79eb9b748adc173362c09e4456de`; source SHA `9e7d2b2d30496184dc67d8696be824a45714830ab4172f1d3308199ef67140af`; original initialization SHA `956092907d8d7d163de708e1be1c6fa7e5b369bbdc6954dc48178acf351efbc0`. Checkpoint and per-dataset candidate VRMSE pending; selected E177 retained. No pretrained/synthetic assets or held-out access. + +## E223 first operational recovery snapshot audited + +Complete first-member model/Adam/config/source/RNG/microbatch/absoluteLR checks pass at step25,checkpointSHAfde9c0bef70765c1686e8651a022a63a26ac59d68f7e83007642645c60b19509;receiptSHA731cf1f855d47a66da2a06c95b14b4b410eb1ad821491d4464a0a91474ff9c86. Originalinitial/override RNG streams require DataLoader replay before restore; no live interruption/resume/CUDA or additional VALID selection. + +## E231 prospective recovery count corrected without changing original sources + +Reading actual initialization tensors exposed a bookkeeping error before full freeze or training: base E190 has183 state tensors and the single quadratic weight makes184, not183. All original values, total3069795 parameters, CPU/native/runtime tests and original source plan remain unchanged. Original freeze.py and TRAINING.md are retained; the narrow run_freeze.py wrapper verifies the original hashes and changes only the false count assertion plus truthful provenance fields. Use run_freeze.py after the original23 portable checks finish. No numerical, portable, optimizer or VALID rerun; no gate relaxation. Amendment SHA `95dad1e2678c6cb80e642bd65aa241e5d95cd1f5adeb0ec4ef33f59c0119f357`; corrected source SHA `94548b1f4ba3617c780b02bbc0b5e5b2ac03ad7a9ec300f94d36d358764d09a4`; runner SHA `bf1d94146ef25e1393827a0f06fb801a34c1fd45397fbe6787bd9c6fdac8de9a`. + +## E235 native/runtime preparation passed; complete portable checks queued + +18 zero-head/default CPU fixtures and4 independent transport identities/derivative fixtures passed, preserving original tensors/RNG and exact initial outputs. The prescribed six-record TRAIN native check completed three paired30/30/26 control/candidate rollouts and three backward calls, zero updates; every F32 step and loss matched within each paired execution. Losses [0.39143842458724976, 0.38398677110671997, 0.29624083638191223]; finite new-head gradients; total preclip norm 14.188984870910645. Peak allocated/reserved {'allocated_gib': 30.772429943084717, 'reserved_gib': 31.416015625}, elapsed 65.57460140797775 shared seconds; no isolated throughput or cross-experiment numerical-equivalence claim. 35 protected runtime mutation rejections and all five learned-role counts passed; inherited42 prefix/history fixtures remain inherited source evidence, not fresh altered-runtime replay. The correct model count is185 tensors (183 original plus head weight/bias),3066725 first/16992552 complete parameters; corrected before E235 source-plan freeze. A setup regeneration encountered the read-only inherited operational.py; the generator now verifies its identical bytes instead of overwriting. No numeric test failed or was retried. Runtime protocol SHA `1f28f14034437fa33397d4cef7695c5d8b6b510fea323d6c46794f82ad156a6f`; source plan SHA `b7a214240f8f7897eb6a1a549dd0b0911317489b89365d70bb5bffa8d179a315`; native SHA `4ec88ac4790c15b55a57345f4931517c670ca9d14c86db9564fd8cfc75ebf4f5`; CPU SHA `f7ff5b209e2a84087881eab6e80a992b041ee744fd3834f0887ad7acf4b61fde`; runtime checks SHA `5d63f0ee7a13894b451c35b698a78bd654559decdd7276baec2718b3ef39aaec`; initial SHA `8c575bd2a5087a8fe309440286399efebd5fbbe0b947f2cd7480393093e31836`. Portable controller 19282 waits E233 numerical completion. No full protocol, optimizer or VALID yet. E236 report-only sources are prepared with12 genuine prerequisite resolutions; no rule freeze or donor pin. Candidate per-dataset VRMSE pending; E177 remains selected. + +## E229 complete portable component checks passed + +The single E193-authorized whole-bundle composition completed10 fresh component controls and23 candidate forecasts, plus4 source-proven complete corpus/Arena references. All11 first CUDA candidate outputs equal the selected component arrays bit for bit;6 reordered CUDA cases and3 unknown CPU cases independently repeated also pass, including13/23-channel and minimal/odd shapes. Two complete members/all translations are evidenced. Active preflight is4steps only and is not full30 evidence. Full24active/9thermal bit parity remains required in the forthcoming fresh33 VALID replay. No optimizer, changed assets or scientific retries. Checks SHA `e4908606b5f26f5c7c5c4f38653da2da38ca7bd533e78f2680cf00d80539d331`; portable protocol SHA `749bd55c422bd8a5920cc0b2078d1adb8b11315fe527f87dc5be4f811478e91d`. The original controller is freezing the full source/coverage protocol and will start validation. Hypothetical reward0.7860726273997417 remains unvalidated; E177 remains selected. + +## E235/E236 withdrawn after detecting duplicate closed E183 architecture + +A full reread of learned_displacement_v1/PLAN.md and its recorded500/1000 results shows E183 already used the same98-parameter final-decoder two-component bilinear transport head. E235 changed the displacement bound8to4, sampler implementation and training setup; the earlier characterization as a new independent architecture was incorrect. E183 closed with thermal0.4386247902070656 versus fixed parent0.4350606727655739,2/9wins and all channels/windows worse, and explicitly disallowed bound/interpolation/seed variants. E235 is withdrawn now, before any optimizer, portable forecast or VALID. Successful CPU/native/export preparation is retained truthfully (three paired native rollout/backward fixtures, zero updates); it is not a performance result. E236 prepared-only rule is also withdrawn without full protocol, donor pin or assessment. Portable controller19282 and original dispatch supervisor19388 were verified waiting with no children and terminated. Original E231 scientific plans and its tensor-count amendment remain unchanged; replacement supervisor 19615 dispatches ONLY E231 after its original portable gate. Withdrawal SHA `8e0a290b317f256152cdcb563b625d2eba42fb835e9c61a9066ed3a9dbc9539c`; E183 protocol SHA `d17366aa3948f4147b76122c4525ebd7c1acaa9dd65fe2edad5cdf2465bd2d0b`; E183 final report SHA `3a37a4a23c03691f5292b3708b6a8fd5b5a08ba273b8d80a45b9f5f647ef0c88`; replacement queue protocol SHA `386bc26cac9600e786cd5b5cd259e5f3a798c7c2f53ca2c381193fb1d1074e7d`. No alternate transport trial, new checkpoints, changed thresholds or inferred score. E177 remains selected. + +## Research-plan index added after duplicate-proposal withdrawal + +experiment_index.py builds a read-only searchable index of182 root-level study plans/protocols and their actual status markers, without trajectories, learned tensors, forecasts or fitting. Query shared transport displacement returns withdrawn E235 and closed E183 first. Before another proposal, read matching original plans and final results in full; the index is not exhaustive of early ledger-only experiments. Source SHA `f8da65e0cd499bd38e32511cf590f4cc547e186a224534d535248a2b3d360e8c`; current index in research/EXPERIMENT_INDEX.md and JSON. This is operational navigation only, with no model selection or scientific result. E235/E236 remain withdrawn; E231-only replacement supervisor19615 remains active. diff --git a/shared/package-files/8a/8a376ce9e6864618f371371ace9b0fdb83ddb38201d9a4074ecb06d8fb0e280f/tail_log.py b/shared/package-files/8a/8a376ce9e6864618f371371ace9b0fdb83ddb38201d9a4074ecb06d8fb0e280f/tail_log.py new file mode 100644 index 0000000000000000000000000000000000000000..8c2538bd1a839b8f13f7797abedfd4f08090da61 --- /dev/null +++ b/shared/package-files/8a/8a376ce9e6864618f371371ace9b0fdb83ddb38201d9a4074ecb06d8fb0e280f/tail_log.py @@ -0,0 +1,143 @@ +#!/usr/bin/env python3 + +# Copyright (c) Facebook, Inc. and its affiliates. +# All rights reserved. +# +# This source code is licensed under the BSD-style license found in the +# LICENSE file in the root directory of this source tree. + +import logging +import os +import time +from concurrent.futures.thread import ThreadPoolExecutor +from threading import Event +from typing import Dict, TextIO + + +log = logging.getLogger(__name__) + + +def tail_logfile( + header: str, file: str, dst: TextIO, finished: Event, interval_sec: float +): + + while not os.path.exists(file): + if finished.is_set(): + return + time.sleep(interval_sec) + + with open(file, "r") as fp: + while True: + line = fp.readline() + + if line: + dst.write(f"{header}{line}") + else: # reached EOF + if finished.is_set(): + # log line producer is finished + break + else: + # log line producer is still going + # wait for a bit before looping again + time.sleep(interval_sec) + + +class TailLog: + """ + Tails the given log files. The log files do not have to exist when the + ``start()`` method is called. The tail-er will gracefully wait until the + log files are created by the producer and will tail the contents of the + log files until the ``stop()`` method is called. + + .. warning:: ``TailLog`` will wait indefinitely for the log file to be created! + + Each log file's line will be suffixed with a header of the form: ``[{name}{idx}]:``, + where the ``name`` is user-provided and ``idx`` is the index of the log file + in the ``log_files`` mapping. + + Usage: + + :: + + log_files = {0: "/tmp/0_stdout.log", 1: "/tmp/1_stdout.log"} + tailer = TailLog("trainer", log_files, sys.stdout).start() + # actually run the trainers to produce 0_stdout.log and 1_stdout.log + run_trainers() + tailer.stop() + + # once run_trainers() start writing the ##_stdout.log files + # the tailer will print to sys.stdout: + # >>> [trainer0]:log_line1 + # >>> [trainer1]:log_line1 + # >>> [trainer0]:log_line2 + # >>> [trainer0]:log_line3 + # >>> [trainer1]:log_line2 + + .. note:: Due to buffering log lines between files may not necessarily + be printed out in order. You should configure your application's + logger to suffix each log line with a proper timestamp. + + """ + + def __init__( + self, + name: str, + log_files: Dict[int, str], + dst: TextIO, + interval_sec: float = 0.1, + ): + n = len(log_files) + self._threadpool = None + if n > 0: + self._threadpool = ThreadPoolExecutor( + max_workers=n, + thread_name_prefix=f"{self.__class__.__qualname__}_{name}", + ) + + self._name = name + self._dst = dst + self._log_files = log_files + self._finished_events: Dict[int, Event] = { + local_rank: Event() for local_rank in log_files.keys() + } + self._futs = [] + self._interval_sec = interval_sec + self._stopped = False + + def start(self) -> "TailLog": + if not self._threadpool: + return self + + for local_rank, file in self._log_files.items(): + self._futs.append( + self._threadpool.submit( + tail_logfile, + header=f"[{self._name}{local_rank}]:", + file=file, + dst=self._dst, + finished=self._finished_events[local_rank], + interval_sec=self._interval_sec, + ) + ) + return self + + def stop(self) -> None: + for finished in self._finished_events.values(): + finished.set() + + for local_rank, f in enumerate(self._futs): + try: + f.result() + except Exception as e: + log.error( + f"error in log tailor for {self._name}{local_rank}." + f" {e.__class__.__qualname__}: {e}", + ) + + if self._threadpool: + self._threadpool.shutdown(wait=True) + + self._stopped = True + + def stopped(self) -> bool: + return self._stopped diff --git a/shared/package-files/8a/8a38effe7e466f76847fb69d936c2388b09532e366b807e6566f90a3fb824150/__init__.py b/shared/package-files/8a/8a38effe7e466f76847fb69d936c2388b09532e366b807e6566f90a3fb824150/__init__.py new file mode 100644 index 0000000000000000000000000000000000000000..758fcd7c447ebe84e3c169fc5e398acbe4908ca7 --- /dev/null +++ b/shared/package-files/8a/8a38effe7e466f76847fb69d936c2388b09532e366b807e6566f90a3fb824150/__init__.py @@ -0,0 +1,406 @@ +import copy +import dataclasses +import functools +import io +import json +import os +import re +import sys +import types +import warnings +import weakref +import zipfile +from collections import OrderedDict +from contextlib import contextmanager + +from typing import Any, Callable, Dict, List, Optional, Tuple, Union +from unittest.mock import patch + +import sympy + +import torch +import torch._dynamo +import torch.fx +import torch.utils._pytree as pytree + +from torch._decomp import core_aten_decompositions, get_decompositions +from torch._dispatch.python import enable_python_dispatcher +from torch._dynamo.exc import UserError, UserErrorType +from torch._dynamo.source import ConstantSource +from torch._export.passes.collect_tracepoints_pass import CollectTracepointsPass +from torch._functorch.aot_autograd import aot_export_module, GraphSignature +from torch._functorch.eager_transforms import functionalize +from torch._guards import detect_fake_mode +from torch._inductor import config +from torch._ops import OpOverload +from torch._subclasses.fake_tensor import FakeTensor, FakeTensorMode +from torch._subclasses.functional_tensor import FunctionalTensor +from torch._utils_internal import log_export_usage +from torch.export._tree_utils import reorder_kwargs +from torch.export._unlift import _create_stateful_graph_module +from torch.export.dynamic_shapes import ( + _process_constraints, + _process_dynamic_shapes, + Constraint, + dims, + dynamic_dim, +) +from torch.export.exported_program import ( + _disable_prexisiting_fake_mode, + ExportedProgram, + ModuleCallEntry, + ModuleCallSignature, +) +from torch.export.graph_signature import ( + _sig_to_specs, + ArgumentSpec, + ConstantArgument, + ExportGraphSignature, + InputKind, + InputSpec, + OutputKind, + OutputSpec, + SymIntArgument, + TensorArgument, +) +from torch.fx import traceback as fx_traceback +from torch.fx._compatibility import compatibility +from torch.fx.experimental.proxy_tensor import make_fx, maybe_disable_fake_tensor_mode +from torch.fx.experimental.symbolic_shapes import ( + ConstraintViolationError, + GuardOnDataDependentSymNode, + ShapeEnv, + StrictMinMaxConstraint, +) +from torch.fx.graph import _PyTreeCodeGen, _PyTreeInfo +from torch.utils._sympy.value_ranges import ValueRangeError, ValueRanges + +from .passes.add_runtime_assertions_for_constraints_pass import ( + _AddRuntimeAssertionsForInlineConstraintsPass, +) +from .wrappers import _wrap_submodules + + +@dataclasses.dataclass +class ExportDynamoConfig: + """ + Manage Export-specific configurations of Dynamo. + """ + allow_rnn: bool = True + + +@compatibility(is_backward_compatible=False) +def capture_pre_autograd_graph( + f: torch.nn.Module, + args: Tuple[Any], + kwargs: Optional[Dict[str, Any]] = None, + dynamic_shapes: Optional[Union[Dict[str, Any], Tuple[Any]]] = None, +) -> torch.nn.Module: + """ + A helper function that is intended to trace a module before any pre-autograd + decomposition is run. The produced module will be "non-functional" and + composed of aten operators. Later this API will be deleted in favor of more general + torch.export API. + + Args: + f: nn.Module to be traced + + args: example positional inputs. + + kwargs: optional example keyword inputs. + + dynamic_shapes: Should either be: + 1) a dict from argument names of ``f`` to their dynamic shape specifications, + 2) a tuple that specifies dynamic shape specifications for each input in original order. + If you are specifying dynamism on keyword args, you will need to pass them in the order that + is defined in the original function signature. + + The dynamic shape of a tensor argument can be specified as either + (1) a dict from dynamic dimension indices to :func:`Dim` types, where it is + not required to include static dimension indices in this dict, but when they are, + they should be mapped to None; or (2) a tuple / list of :func:`Dim` types or None, + where the :func:`Dim` types correspond to dynamic dimensions, and static dimensions + are denoted by None. Arguments that are dicts or tuples / lists of tensors are + recursively specified by using mappings or sequences of contained specifications. + + Returns: + An nn.Module containing the traced method. + + """ + from torch.export._trace import _convert_input_to_fake, DEFAULT_EXPORT_DYNAMO_CONFIG + from torch.export.dynamic_shapes import _process_dynamic_shapes + + log_export_usage(event="export.private_api", flags={"capture_pre_autograd_graph"}) + + assert isinstance(f, torch.nn.Module), "Expected an nn.Module instance." + + if kwargs is None: + kwargs = {} + + constraints = _process_dynamic_shapes(f, args, kwargs, dynamic_shapes) + + # Do not decompose dropout for exported models, because in eval mode the dropout + # op disappears from the graph, which makes it difficult to switch to train mode. + # See https://github.com/pytorch/pytorch/pull/115258#issuecomment-1900755832. + decomp_table = { + op: op.decompose + for op in FunctionalTensor.maybe_aliasing_or_mutating_ops + if op != torch.ops.aten.dropout.default + } + with torch._dynamo.config.patch(dataclasses.asdict(DEFAULT_EXPORT_DYNAMO_CONFIG)): + m = torch._dynamo.export( + f, + constraints=constraints, + assume_static_by_default=True, + tracing_mode="symbolic", + decomposition_table=decomp_table, + pre_dispatch=True, + aten_graph=True, + _log_export_usage=False, + )( + *args, + **kwargs, + )[0] + + _, _, _, fake_mode = _convert_input_to_fake(m, args, kwargs) + + m.meta["inline_constraints"] = { + k: v + for k, v in fake_mode.shape_env.var_to_range.items() + if re.match(r"^[if]\d+$", str(k)) + } + + if isinstance(f, torch.nn.Module): + from torch.export._trace import _restore_state_dict + _restore_state_dict(f, m) + + flat_args, _ = pytree.tree_flatten((args, kwargs or {})) + range_constraints = _process_constraints(fake_mode, m, 0, flat_args) + + module = _create_stateful_graph_module( + m, + range_constraints=range_constraints, + ) + + error_message = \ + """ + Calling train() or eval() is not supported for exported models. + Alternatively, you may override these methods to do custom user behavior as follows: + + def _my_train(self, mode: bool = True): + ... + + def _my_eval(self): + ... + + model.train = types.MethodType(_my_train, model) + model.eval = types.MethodType(_my_eval, model) + """ + + def _train(self, mode: bool = True): + raise NotImplementedError(error_message) + + def _eval(self, mode: bool = True): + raise NotImplementedError(error_message) + + module.train = types.MethodType(_train, module) # type: ignore[method-assign] + module.eval = types.MethodType(_eval, module) # type: ignore[method-assign] + return module + + +def save( + ep: ExportedProgram, + f: Union[str, os.PathLike, io.BytesIO], + *, + extra_files: Optional[Dict[str, Any]] = None, + opset_version: Optional[Dict[str, int]] = None, +) -> None: + if not isinstance(ep, ExportedProgram): + raise TypeError(f"save() expects an ExportedProgram but got {type(ep)}") + + from .serde.serialize import serialize, SerializedArtifact + from .serde.schema import SCHEMA_VERSION + artifact: SerializedArtifact = serialize(ep, opset_version) + + if isinstance(f, (str, os.PathLike)): + f = os.fspath(f) + + with zipfile.ZipFile(f, 'w') as zipf: + # Save every field the SerializedArtifact to a file + assert isinstance(artifact.exported_program, bytes) + zipf.writestr("serialized_exported_program.json", artifact.exported_program) + zipf.writestr("serialized_state_dict.pt", artifact.state_dict) + zipf.writestr("serialized_constants.pt", artifact.constants) + + zipf.writestr('version', ".".join(map(str, SCHEMA_VERSION))) + + # Add extra files if provided + if extra_files: + for extra_file_name, content in extra_files.items(): + encoded_content = content.encode('utf-8') + zipf.writestr(f"extra_files/{extra_file_name}", encoded_content) + + +def load( + f: Union[str, os.PathLike, io.BytesIO], + *, + extra_files: Optional[Dict[str, Any]] = None, + expected_opset_version: Optional[Dict[str, int]] = None, +) -> ExportedProgram: + if isinstance(f, (str, os.PathLike)): + f = os.fspath(f) + + extra_files = extra_files or {} + + with zipfile.ZipFile(f, 'r') as zipf: + # Check the version + version = zipf.read('version').decode().split('.') + from .serde.schema import SCHEMA_VERSION + + assert len(version) == len(SCHEMA_VERSION) + if version[0] != str(SCHEMA_VERSION[0]): + raise RuntimeError( + f"Serialized version {version} does not match our current " + f"schema version {SCHEMA_VERSION}." + ) + + from .serde.serialize import deserialize, SerializedArtifact + + # Load serialized_ep and serialized_state_dict from the zip file + + serialized_exported_program: Optional[bytes] = None + serialized_state_dict: Optional[bytes] = None + serialized_constants: Optional[bytes] = None + + for file_info in zipf.infolist(): + file_content = zipf.read(file_info.filename) + + if file_info.filename == "serialized_exported_program.json": + serialized_exported_program = file_content + elif file_info.filename == "serialized_state_dict.json": + warnings.warn("This version of file is deprecated") + serialized_state_dict = file_content + elif file_info.filename == "serialized_constants.json": + warnings.warn("This version of file is deprecated") + serialized_constants = file_content + elif file_info.filename == "serialized_state_dict.pt": + serialized_state_dict = file_content + elif file_info.filename == "serialized_constants.pt": + serialized_constants = file_content + elif file_info.filename.startswith("extra_files"): + filename = file_info.filename.split("/", 1)[1] + extra_files[filename] = file_content.decode('utf-8') + + assert serialized_exported_program is not None + assert serialized_state_dict is not None + assert serialized_constants is not None + artifact: SerializedArtifact = SerializedArtifact( + serialized_exported_program, + serialized_state_dict, + serialized_constants, + ) + + # Deserialize ExportedProgram + ep = deserialize(artifact, expected_opset_version) + + return ep + + +def aot_compile( + f: Callable, + args: Tuple[Any], + kwargs: Optional[Dict[str, Any]] = None, + *, + dynamic_shapes: Optional[Dict[str, Any]] = None, + options: Optional[Dict[str, Any]] = None, + remove_runtime_assertions: bool = False, + disable_constraint_solver: bool = False, +) -> str: + """ + Note: this function is not stable yet + + Traces either an nn.Module's forward function or just a callable with PyTorch + operations inside, generates executable cpp code from the program, and returns + the path to the generated shared library + + Args: + f: the `nn.Module` or callable to trace. + + args: example positional inputs. + + kwargs: optional example keyword inputs. + + dynamic_shapes: Should either be: + 1) a dict from argument names of ``f`` to their dynamic shape specifications, + 2) a tuple that specifies dynamic shape specifications for each input in original order. + If you are specifying dynamism on keyword args, you will need to pass them in the order that + is defined in the original function signature. + + The dynamic shape of a tensor argument can be specified as either + (1) a dict from dynamic dimension indices to :func:`Dim` types, where it is + not required to include static dimension indices in this dict, but when they are, + they should be mapped to None; or (2) a tuple / list of :func:`Dim` types or None, + where the :func:`Dim` types correspond to dynamic dimensions, and static dimensions + are denoted by None. Arguments that are dicts or tuples / lists of tensors are + recursively specified by using mappings or sequences of contained specifications. + + options: A dictionary of options to control inductor + + disable_constraint_solver: Whether the dim constraint solver must be disabled. + + Returns: + Path to the generated shared library + """ + from torch.export._trace import _export_to_torch_ir + from torch._inductor.decomposition import select_decomp_table + + constraints = _process_dynamic_shapes(f, args, kwargs, dynamic_shapes) + + if config.is_predispatch: + gm = torch.export._trace._export(f, args, kwargs, constraints, pre_dispatch=True).module() + else: + # We want to export to Torch IR here to utilize the pre_grad passes in + # inductor, which run on Torch IR. + gm = _export_to_torch_ir( + f, + args, + kwargs, + constraints, + disable_constraint_solver=disable_constraint_solver, + # Disabling this flag, because instead we can rely on the mapping + # dynamo_flat_name_to_original_fqn which is coming from Dynamo. + restore_fqn=False, + ) + flat_example_inputs = pytree.arg_tree_leaves(*args, **(kwargs or {})) + + with torch.no_grad(): + so_path = torch._inductor.aot_compile(gm, flat_example_inputs, options) # type: ignore[arg-type] + + return so_path + +def aot_load(so_path: str, device: str) -> Callable: + """ + Loads a shared library generated by aot_compile and returns a callable + + Args: + so_path: Path to the shared library + + Returns: + A callable + """ + if device == "cpu": + runner = torch._C._aoti.AOTIModelContainerRunnerCpu(so_path, 1) # type: ignore[call-arg] + elif device == "cuda" or device.startswith("cuda:"): + runner = torch._C._aoti.AOTIModelContainerRunnerCuda(so_path, 1, device) # type: ignore[assignment, call-arg] + else: + raise RuntimeError("Unsupported device " + device) + + def optimized(*args, **kwargs): + call_spec = runner.get_call_spec() # type: ignore[attr-defined] + in_spec = pytree.treespec_loads(call_spec[0]) + out_spec = pytree.treespec_loads(call_spec[1]) + flat_inputs = pytree.tree_flatten((args, reorder_kwargs(kwargs, in_spec)))[0] + flat_outputs = runner.run(flat_inputs) # type: ignore[attr-defined] + return pytree.tree_unflatten(flat_outputs, out_spec) + + return optimized diff --git a/shared/package-files/8a/8a3a6338dcc818d084b721c365ab95025f761d82419157fb7b8bdd12a3121ca9/_fused_adamw_compositeexplicitautograd_dispatch.h b/shared/package-files/8a/8a3a6338dcc818d084b721c365ab95025f761d82419157fb7b8bdd12a3121ca9/_fused_adamw_compositeexplicitautograd_dispatch.h new file mode 100644 index 0000000000000000000000000000000000000000..c5ad41b10890d56b9c0a0b642d675c5ade57a761 --- /dev/null +++ b/shared/package-files/8a/8a3a6338dcc818d084b721c365ab95025f761d82419157fb7b8bdd12a3121ca9/_fused_adamw_compositeexplicitautograd_dispatch.h @@ -0,0 +1,28 @@ +#pragma once +// @generated by torchgen/gen.py from DispatchKeyFunction.h + +// NB: The implementing C++ file is RegisterDispatchKey.cpp + +// The only #includes we need are for custom classes that have defaults in the C++ API +#include +#include +#include + +// Forward declarations of any types needed in the operator signatures. +// We can't directly include these classes because it will cause circular include dependencies. +// This file is included by TensorBody.h, which defines the Tensor class. +#include + +namespace at { + +namespace compositeexplicitautograd { + +TORCH_API ::std::tuple<::std::vector,::std::vector,::std::vector,::std::vector,::std::vector> _fused_adamw(at::TensorList self, at::TensorList grads, at::TensorList exp_avgs, at::TensorList exp_avg_sqs, at::TensorList max_exp_avg_sqs, at::TensorList state_steps, double lr, double beta1, double beta2, double weight_decay, double eps, bool amsgrad, bool maximize, const c10::optional & grad_scale={}, const c10::optional & found_inf={}); +TORCH_API void _fused_adamw_out(at::TensorList out, at::TensorList self, at::TensorList grads, at::TensorList exp_avgs, at::TensorList exp_avg_sqs, at::TensorList max_exp_avg_sqs, at::TensorList state_steps, double lr, double beta1, double beta2, double weight_decay, double eps, bool amsgrad, bool maximize, const c10::optional & grad_scale={}, const c10::optional & found_inf={}); +TORCH_API void _fused_adamw_outf(at::TensorList self, at::TensorList grads, at::TensorList exp_avgs, at::TensorList exp_avg_sqs, at::TensorList max_exp_avg_sqs, at::TensorList state_steps, double lr, double beta1, double beta2, double weight_decay, double eps, bool amsgrad, bool maximize, const c10::optional & grad_scale, const c10::optional & found_inf, at::TensorList out); +TORCH_API ::std::tuple<::std::vector,::std::vector,::std::vector,::std::vector,::std::vector> _fused_adamw(at::TensorList self, at::TensorList grads, at::TensorList exp_avgs, at::TensorList exp_avg_sqs, at::TensorList max_exp_avg_sqs, at::TensorList state_steps, const at::Tensor & lr, double beta1, double beta2, double weight_decay, double eps, bool amsgrad, bool maximize, const c10::optional & grad_scale={}, const c10::optional & found_inf={}); +TORCH_API void _fused_adamw_out(at::TensorList out, at::TensorList self, at::TensorList grads, at::TensorList exp_avgs, at::TensorList exp_avg_sqs, at::TensorList max_exp_avg_sqs, at::TensorList state_steps, const at::Tensor & lr, double beta1, double beta2, double weight_decay, double eps, bool amsgrad, bool maximize, const c10::optional & grad_scale={}, const c10::optional & found_inf={}); +TORCH_API void _fused_adamw_outf(at::TensorList self, at::TensorList grads, at::TensorList exp_avgs, at::TensorList exp_avg_sqs, at::TensorList max_exp_avg_sqs, at::TensorList state_steps, const at::Tensor & lr, double beta1, double beta2, double weight_decay, double eps, bool amsgrad, bool maximize, const c10::optional & grad_scale, const c10::optional & found_inf, at::TensorList out); + +} // namespace compositeexplicitautograd +} // namespace at diff --git a/shared/package-files/8a/8a3faf4651a378d753956fa93aab5afd5d20b844d33dc91264394812269c69c0/sym_stride_native.h b/shared/package-files/8a/8a3faf4651a378d753956fa93aab5afd5d20b844d33dc91264394812269c69c0/sym_stride_native.h new file mode 100644 index 0000000000000000000000000000000000000000..b99f10a97326177f3bdcf0cee807d97491f1845f --- /dev/null +++ b/shared/package-files/8a/8a3faf4651a378d753956fa93aab5afd5d20b844d33dc91264394812269c69c0/sym_stride_native.h @@ -0,0 +1,21 @@ +#pragma once + +// @generated by torchgen/gen.py from NativeFunction.h + +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include + + +namespace at { +namespace native { +TORCH_API c10::SymInt sym_stride(const at::Tensor & self, int64_t dim); +} // namespace native +} // namespace at diff --git a/shared/package-files/8a/8a3fc693920fe4ecf037dcde07b3639474bd723e984a10534355b0a19904c9bd/top_operators_github_usage.py b/shared/package-files/8a/8a3fc693920fe4ecf037dcde07b3639474bd723e984a10534355b0a19904c9bd/top_operators_github_usage.py new file mode 100644 index 0000000000000000000000000000000000000000..12e87e60f6befd0399b1ffb634f83f53588d436b --- /dev/null +++ b/shared/package-files/8a/8a3fc693920fe4ecf037dcde07b3639474bd723e984a10534355b0a19904c9bd/top_operators_github_usage.py @@ -0,0 +1,625 @@ +# mypy: ignore-errors + +""" +From https://docs.google.com/spreadsheets/d/12R3nCOLskxPYjjiNkdqy4OdQ65eQp_htebXGODsjSeA/edit#gid=0 +Try to keep this list in sync with that. +""" +top_torch = [ + ("t", 6837449), + ("tensor", 585786), + ("mode", 462182), + ("cat", 394818), + ("max", 368038), + ("zeros", 329495), + ("load", 327756), + ("no_grad", 294694), + ("save", 265130), + ("from_numpy", 243063), + ("manual_seed", 165044), + ("ones", 153696), + ("randn", 150796), + ("stack", 133358), + ("sum", 130772), + ("arange", 98087), + ("rand", 94715), + ("mean", 88546), + ("exp", 73883), + ("zeros_like", 72831), + ("min", 72248), + ("sigmoid", 66798), + ("log", 62135), + ("matmul", 47811), + ("clamp", 45304), + ("sqrt", 44911), + ("abs", 43535), + ("tanh", 42793), + ("empty", 40311), + ("argmax", 38435), + ("bmm", 33984), + ("pow", 33571), + ("norm", 31125), + ("mm", 30995), + ("is_tensor", 29546), + ("ones_like", 29512), + ("nonzero", 28681), + ("full", 28373), + ("unsqueeze", 27911), + ("where", 26585), + ("randperm", 26450), + ("eye", 24342), + ("mul", 23236), + ("topk", 22537), + ("as_tensor", 21967), + ("sort", 21412), + ("squeeze", 20863), + ("randint", 20771), + ("linspace", 20041), + ("add", 19201), + ("transpose", 18663), + ("split", 18325), + ("gather", 17904), + ("set_grad_enabled", 16013), + ("sin", 15669), + ("cos", 15562), + ("div", 15513), + ("index_select", 14866), + ("multinomial", 14331), + ("flatten", 14267), + ("isnan", 14170), + ("randn_like", 13096), + ("eq", 12680), + ("einsum", 12480), + ("round", 12367), + ("floor", 11628), + ("allclose", 11000), + ("reshape", 10605), + ("diag", 10167), + ("chunk", 9581), + ("std", 9379), + ("set_default_tensor_type", 9281), + ("triu", 8559), + ("meshgrid", 8292), + ("set_num_threads", 8126), + ("unique", 7964), + ("full_like", 7780), + ("tril", 7538), + ("dot", 7275), + ("sign", 6943), + ("equal", 6916), + ("normal", 6750), + ("cumsum", 6556), + ("dist", 6058), + ("isfinite", 6030), + ("gt", 5935), + ("set_printoptions", 5888), + ("range", 5491), + ("empty_like", 5351), + ("flip", 5342), + ("masked_select", 5341), + ("bernoulli", 5262), + ("atan", 5253), + ("var", 5247), + ("prod", 5200), + ("erf", 5088), + ("inverse", 5072), + ("addmm", 4854), + ("logsumexp", 4582), + ("fft", 4436), + ("lt", 4421), + ("log2", 4316), + ("enable_grad", 4238), + ("rand_like", 4187), + ("argsort", 3972), + ("seed", 3932), + ("mv", 3547), + ("ger", 3309), + ("ge", 3248), + ("atan2", 3210), + ("ceil", 3202), + ("ne", 3075), + ("bincount", 3063), + ("acos", 3055), + ("rsqrt", 3031), + ("svd", 3029), + ("numel", 3003), + ("log1p", 2840), + ("unbind", 2808), + ("le", 2714), + ("isinf", 2707), + ("cross", 2646), + ("set_default_dtype", 2536), + ("argmin", 2535), + ("sparse_coo_tensor", 2489), + ("log10", 2304), + ("kthvalue", 2192), + ("set_rng_state", 2158), + ("get_rng_state", 1996), + ("get_default_dtype", 1879), + ("det", 1868), + ("qr", 1864), + ("histc", 1852), + ("symeig", 1832), + ("trace", 1801), + ("median", 1795), + ("addcmul", 1751), + ("remainder", 1717), + ("baddbmm", 1693), + ("lgamma", 1665), + ("repeat_interleave", 1598), + ("fmod", 1576), + ("reciprocal", 1575), + ("tan", 1560), + ("initial_seed", 1532), + ("take", 1529), + ("stft", 1487), + ("get_num_threads", 1477), + ("real", 1459), + ("cholesky", 1406), + ("quantize_per_tensor", 1392), + ("diag_embed", 1364), + ("lerp", 1363), + ("asin", 1345), + ("eig", 1333), + ("trunc", 1290), + ("diagonal", 1287), + ("cosh", 1279), + ("rfft", 1269), + ("cumprod", 1260), + ("addr", 1211), + ("roll", 1198), + ("narrow", 1188), + ("digamma", 1172), + ("square", 1163), + ("sinh", 1131), + ("logspace", 1084), + ("broadcast_tensors", 1070), + ("irfft", 1013), + ("frac", 997), + ("hann_window", 994), + ("solve", 989), + ("logdet", 977), + ("expm1", 968), + ("cdist", 946), + ("addmv", 903), + ("randint_like", 888), + ("tensordot", 888), + ("ifft", 877), + ("true_divide", 854), + ("erfinv", 830), + ("addcdiv", 819), + ("addbmm", 813), + ("renorm", 781), + ("pinverse", 753), + ("isclose", 740), + ("erfc", 729), + ("is_storage", 725), + ("triangular_solve", 723), + ("rot90", 709), + ("logical_not", 686), + ("geqrf", 681), + ("slogdet", 677), + ("lu", 665), + ("hamming_window", 659), + ("orgqr", 651), + ("ormqr", 622), + ("is_floating_point", 602), + ("diagflat", 562), + ("cholesky_solve", 559), + ("tril_indices", 552), + ("chain_matmul", 551), + ("triu_indices", 548), + ("angle", 522), + ("poisson", 505), + ("matrix_power", 485), + ("unique_consecutive", 471), + ("quantize_per_channel", 465), + ("std_mean", 458), + ("bartlett_window", 447), + ("var_mean", 428), + ("lstsq", 421), + ("logical_and", 419), + ("mvlgamma", 411), + ("blackman_window", 400), + ("bitwise_not", 395), + ("cholesky_inverse", 388), + ("as_strided", 384), + ("floor_divide", 353), + ("cartesian_prod", 321), + ("lu_solve", 317), + ("set_flush_denormal", 310), + ("empty_strided", 283), + ("logical_xor", 282), + ("polygamma", 282), + ("logical_or", 280), + ("set_num_interop_threads", 278), + ("combinations", 274), + ("trapz", 270), + ("matrix_rank", 260), + ("lu_unpack", 255), + ("result_type", 244), + ("conj", 231), + ("cummax", 230), + ("lobpcg", 229), + ("bitwise_xor", 217), + ("promote_types", 213), + ("get_num_interop_threads", 211), + ("cummin", 205), + ("bitwise_and", 198), + ("dequantize", 192), + ("bitwise_or", 191), + ("imag", 191), + ("can_cast", 184), + ("istft", 180), + ("compiled_with_cxx11_abi", 159), + ("is_complex", 151), + ("block_diag", 136), + ("pca_lowrank", 124), + ("absolute", 122), + ("svd_lowrank", 108), + ("neg", 2), +] + +top_nn_functional = [ + ("nn.functional.softmax", 10522), + ("nn.functional.relu", 8572), + ("nn.functional.interpolate", 7277), + ("nn.functional.pad", 5207), + ("nn.functional.log_softmax", 4699), + ("nn.functional.normalize", 2338), + ("nn.functional.cross_entropy", 2083), + ("nn.functional.grid_sample", 1970), + ("nn.functional.one_hot", 1967), + ("nn.functional.mse_loss", 1920), + ("nn.functional.conv2d", 1593), + ("nn.functional.dropout", 1516), + ("nn.functional.softplus", 1385), + ("nn.functional.sigmoid", 1128), + ("nn.functional.linear", 1036), + ("nn.functional.gelu", 930), + ("nn.functional.avg_pool2d", 899), + ("nn.functional.max_pool2d", 876), + ("nn.functional.nll_loss", 863), + ("nn.functional.embedding", 737), + ("nn.functional.tanh", 664), + ("nn.functional.leaky_relu", 640), + ("nn.functional.adaptive_avg_pool2d", 633), + ("nn.functional.cosine_similarity", 627), + ("nn.functional.unfold", 609), + ("nn.functional.conv1d", 596), + ("nn.functional.binary_cross_entropy_with_logits", 591), + ("nn.functional.l1_loss", 571), + ("nn.functional.binary_cross_entropy", 492), + ("nn.functional.elu", 416), + ("nn.functional.batch_norm", 413), + ("nn.functional.upsample", 413), + ("nn.functional.fold", 305), + ("nn.functional.affine_grid", 298), + ("nn.functional.max_pool1d", 297), + ("nn.functional.torch", 294), + ("nn.functional.threshold", 263), + ("nn.functional.smooth_l1_loss", 262), + ("nn.functional.pairwise_distance", 253), + ("nn.functional.logsigmoid", 243), + ("nn.functional.adaptive_max_pool2d", 235), + ("nn.functional.relu6", 213), + ("nn.functional.pixel_shuffle", 209), + ("nn.functional.avg_pool3d", 203), + ("nn.functional.bilinear", 203), + ("nn.functional.conv_transpose2d", 201), + ("nn.functional.gumbel_softmax", 197), + ("nn.functional.max_unpool2d", 196), + ("nn.functional.kl_div", 191), + ("nn.functional.hardtanh", 189), + ("nn.functional.ctc_loss", 185), + ("nn.functional.layer_norm", 178), + ("nn.functional.conv3d", 172), + ("nn.functional.max_unpool3d", 167), + ("nn.functional.hardshrink", 165), + ("nn.functional.hardswish", 156), + ("nn.functional.selu", 156), + ("nn.functional.glu", 155), + ("nn.functional.assert_int_or_pair", 150), + ("nn.functional.hardsigmoid", 146), + ("nn.functional.upsample_bilinear", 146), + ("nn.functional.max_pool3d", 140), + ("nn.functional.adaptive_avg_pool3d", 139), + ("nn.functional.instance_norm", 124), + ("nn.functional.embedding_bag", 122), + ("nn.functional.upsample_nearest", 110), + ("nn.functional.avg_pool1d", 105), + ("nn.functional.prelu", 102), + ("nn.functional.celu", 92), + ("nn.functional.dropout2d", 86), + ("nn.functional.hinge_embedding_loss", 82), + ("nn.functional.softsign", 81), + ("nn.functional.max_unpool1d", 74), + ("nn.functional.silu", 74), + ("nn.functional.softshrink", 70), + ("nn.functional.leaky_relu_", 68), + ("nn.functional.softmin", 67), + ("nn.functional.channel_shuffle", 66), + ("nn.functional.multilabel_margin_loss", 66), + ("nn.functional.dropout3d", 65), + ("nn.functional.multi_margin_loss", 65), + ("nn.functional.lp_pool2d", 64), + ("nn.functional.conv_transpose1d", 62), + ("nn.functional.triplet_margin_loss", 62), + ("nn.functional.tanhshrink", 61), + ("nn.functional.adaptive_max_pool1d", 59), + ("nn.functional.cosine_embedding_loss", 58), + ("nn.functional.multi_head_attention_forward", 58), + ("nn.functional.max_pool1d_with_indices", 53), + ("nn.functional.poisson_nll_loss", 53), + ("nn.functional.margin_ranking_loss", 52), + ("nn.functional.soft_margin_loss", 52), + ("nn.functional.adaptive_max_pool3d", 51), + ("nn.functional.group_norm", 51), + ("nn.functional.local_response_norm", 51), + ("nn.functional.multilabel_soft_margin_loss", 51), + ("nn.functional.relu_", 50), + ("nn.functional.alpha_dropout", 49), + ("nn.functional.feature_alpha_dropout", 49), + ("nn.functional.lp_pool1d", 49), + ("nn.functional.adaptive_max_pool1d_with_indices", 48), + ("nn.functional.adaptive_max_pool2d_with_indices", 48), + ("nn.functional.adaptive_max_pool3d_with_indices", 48), + ("nn.functional.fractional_max_pool2d", 48), + ("nn.functional.fractional_max_pool2d_with_indices", 48), + ("nn.functional.fractional_max_pool3d", 48), + ("nn.functional.fractional_max_pool3d_with_indices", 48), + ("nn.functional.max_pool2d_with_indices", 48), + ("nn.functional.max_pool3d_with_indices", 48), + ("nn.functional.handle_torch_function", 47), + ("nn.functional.has_torch_function", 47), + ("nn.functional.adaptive_avg_pool1d", 43), + ("nn.functional.pdist", 43), + ("nn.functional.rrelu_", 37), + ("nn.functional.elu_", 34), + ("nn.functional.boolean_dispatch", 33), + ("nn.functional.hardtanh_", 26), + ("nn.functional.triplet_margin_with_distance_loss", 23), + ("nn.functional.selu_", 20), + ("nn.functional.pixel_unshuffle", 19), + ("nn.functional.conv_transpose3d", 18), + ("nn.functional.gaussian_nll_loss", 15), + ("nn.functional.has_torch_function_unary", 15), + ("nn.functional.has_torch_function_variadic", 15), + ("nn.functional.celu_", 13), + ("nn.functional.huber_loss", 7), + ("nn.functional.mish", 4), + ("nn.functional.threshold_", 3), + ("nn.functional.grad", 2), + ("nn.functional.conv_tbc", 1), + ("nn.functional.math", 1), +] + +top_nn_module = [ + ("nn.Module", 927129, None), + ("nn.Linear", 530688, "nn.functional.linear"), + ("nn.Sequential", 384968, None), + ("nn.Conv2d", 383320, "nn.functional.conv2d"), + ("nn.ReLU", 318877, "nn.functional.relu"), + ("nn.BatchNorm2d", 233265, "nn.functional.batch_norm"), + ("nn.Dropout", 179268, "nn.functional.dropout"), + ("nn.ModuleList", 171225, None), + ("nn.Parameter", 153291, None), + ("nn.CrossEntropyLoss", 152696, "nn.functional.cross_entropy"), + ("nn.MaxPool2d", 138619, "nn.functional.max_pool2d"), + ("nn.Embedding", 111844, "nn.functional.embedding"), + ("nn.DataParallel", 104238, None), + ("nn.MSELoss", 82954, "nn.functional.mse_loss"), + ("nn.Sigmoid", 75810, "nn.functional.sigmoid"), + ("nn.LeakyReLU", 65632, "nn.functional.leaky_relu"), + ("nn.BatchNorm1d", 65374, "nn.functional.batch_norm"), + ("nn.Softmax", 65114, "nn.functional.softmax"), + ("nn.Tanh", 59445, "nn.functional.tanh"), + ("nn.AdaptiveAvgPool2d", 59071, "nn.functional.adaptive_avg_pool2d"), + ("nn.AvgPool2d", 58377, "nn.functional.avg_pool2d"), + ("nn.ConvTranspose2d", 57524, "nn.functional.conv_transpose2d"), + ("nn.LSTM", 57411, None), + ("nn.Conv1d", 41108, "nn.functional.conv1d"), + ("nn.LayerNorm", 36089, "nn.functional.layer_norm"), + ("nn.BCELoss", 34005, "nn.functional.binary_cross_entropy"), + ("nn.Upsample", 32527, "nn.functional.interpolate"), + ("nn.BCEWithLogitsLoss", 29944, "nn.functional.binary_cross_entropy_with_logits"), + ("nn.GRU", 25421, None), + ("nn.Dropout2d", 23512, "nn.functional.dropout2d"), + ("nn.LogSoftmax", 22897, "nn.functional.log_softmax"), + ("nn.L1Loss", 22778, "nn.functional.l1_loss"), + ("nn.GroupNorm", 22183, "nn.functional.group_norm"), + ("nn.NLLLoss", 21751, "nn.functional.nll_loss"), + ("nn.Conv3d", 20874, "nn.functional.conv3d"), + ("nn.Identity", 17911, None), + ("nn.InstanceNorm2d", 16426, "nn.functional.instance_norm"), + ("nn.BatchNorm3d", 16378, "nn.functional.batch_norm"), + ("nn.PReLU", 13472, "nn.functional.prelu"), + ("nn.ReLU6", 12622, "nn.functional.relu6"), + ("nn.ELU", 12508, "nn.functional.elu"), + ("nn.LSTMCell", 10885, None), + ("nn.Flatten", 10384, "torch.flatten"), + ("nn.ModuleDict", 10255, None), + ("nn.ReflectionPad2d", 9954, "nn.functional.pad"), + ("nn.MaxPool3d", 9526, "nn.functional.max_pool3d"), + ("nn.MaxPool1d", 9154, "nn.functional.max_pool1d"), + ("nn.RNN", 9154, None), + ("nn.ZeroPad2d", 8847, "nn.functional.pad"), + ("nn.ParameterList", 7702, None), + ("nn.SyncBatchNorm", 6814, None), + ("nn.PixelShuffle", 6571, "nn.functional.pixel_shuffle"), + ("nn.SmoothL1Loss", 6517, "nn.functional.smooth_l1_loss"), + ("nn.Hardswish", 6458, "nn.functional.hardswish"), + ("nn.AdaptiveMaxPool2d", 6071, "nn.functional.adaptive_max_pool2d"), + ("nn.SELU", 6043, "nn.functional.selu"), + ("nn.ConvTranspose3d", 6039, "nn.functional.conv_transpose3d"), + ("nn.GRUCell", 5840, None), + ("nn.ReplicationPad2d", 5600, "nn.functional.pad"), + ("nn.KLDivLoss", 5541, "nn.functional.kl_div"), + ("nn.ConvTranspose1d", 5183, "nn.functional.conv_transpose1d"), + ("nn.Softplus", 5120, "nn.functional.softplus"), + ("nn.SiLU", 4895, "nn.functional.silu"), + ("nn.AvgPool3d", 4523, "nn.functional.avg_pool3d"), + ("nn.CosineSimilarity", 4058, "nn.functional.cosine_similarity"), + ("nn.GELU", 3932, "nn.functional.gelu"), + ("nn.UpsamplingBilinear2d", 3673, "nn.functional.interpolate"), + ("nn.InstanceNorm1d", 3658, "nn.functional.instance_norm"), + ("nn.Transformer", 3604, None), + ("nn.MultiheadAttention", 3435, "nn.functional.multi_head_attention_forward"), + ("nn.AvgPool1d", 3195, "nn.functional.avg_pool1d"), + ("nn.Dropout3d", 2964, "nn.functional.dropout3d"), + ("nn.AdaptiveAvgPool3d", 2915, "nn.functional.adaptive_avg_pool3d"), + ("nn.InstanceNorm3d", 2893, "nn.functional.instance_norm"), + ("nn.Hardtanh", 2613, "nn.functional.hardtanh"), + ("nn.MarginRankingLoss", 2568, "nn.functional.margin_ranking_loss"), + ("nn.GLU", 2526, "nn.functional.glu"), + ("nn.AdaptiveAvgPool1d", 2481, "nn.functional.adaptive_avg_pool1d"), + ("nn.EmbeddingBag", 2344, "nn.functional.embedding_bag"), + ("nn.TransformerEncoderLayer", 2292, None), + ("nn.TransformerEncoder", 2091, None), + ("nn.MaxUnpool2d", 2031, "nn.functional.max_unpool2d"), + ("nn.UpsamplingNearest2d", 2004, "nn.functional.interpolate"), + ("nn.ConstantPad1d", 1904, "nn.functional.pad"), + ("nn.ConstantPad2d", 1791, "nn.functional.pad"), + ("nn.CTCLoss", 1789, "nn.functional.ctc_loss"), + ("nn.AdaptiveMaxPool1d", 1713, "nn.functional.adaptive_max_pool1d"), + ("nn.AdaptiveLogSoftmaxWithLoss", 1665, None), + ("nn.Bilinear", 1664, "nn.functional.bilinear"), + ("nn.RNNCell", 1653, None), + ("nn.MultiLabelSoftMarginLoss", 1624, "nn.functional.multilabel_soft_margin_loss"), + ("nn.Unfold", 1452, "nn.functional.unfold"), + ("nn.RReLU", 1431, "nn.functional.rrelu"), + ("nn.CosineEmbeddingLoss", 1357, "nn.functional.cosine_embedding_loss"), + ("nn.LocalResponseNorm", 1331, "nn.functional.local_response_norm"), + ("nn.Softmax2d", 1300, "nn.functional.softmax"), + ("nn.PairwiseDistance", 1241, "nn.functional.pairwise_distance"), + ("nn.LogSigmoid", 1235, "nn.functional.logsigmoid"), + ("nn.TripletMarginLoss", 1230, "nn.functional.triplet_margin_loss"), + ("nn.RNNBase", 1133, None), + ("nn.Threshold", 1043, "nn.functional.threshold"), + ("nn.AdaptiveMaxPool3d", 1025, "nn.functional.adaptive_max_pool3d"), + ("nn.CELU", 1018, "nn.functional.celu"), + ("nn.NLLLoss2d", 966, "nn.functional.nll_loss"), + ("nn.Softsign", 877, "nn.functional.softsign"), + ("nn.ReplicationPad1d", 862, "nn.functional.pad"), + ("nn.SoftMarginLoss", 856, "nn.functional.soft_margin_loss"), + ("nn.ParameterDict", 742, None), + ("nn.ReflectionPad1d", 731, "nn.functional.pad"), + ("nn.Softshrink", 713, "nn.functional.softshrink"), + ("nn.AlphaDropout", 710, "nn.functional.alpha_dropout"), + ("nn.Tanhshrink", 681, "nn.functional.tanhshrink"), + ("nn.PoissonNLLLoss", 676, "nn.functional.poisson_nll_loss"), + ("nn.MaxUnpool3d", 660, "nn.functional.max_unpool3d"), + ("nn.Fold", 630, "nn.functional.fold"), + ("nn.MultiMarginLoss", 622, "nn.functional.multi_margin_loss"), + ("nn.TransformerDecoderLayer", 614, None), + ("nn.TransformerDecoder", 607, None), + ("nn.Hardshrink", 592, "nn.functional.hardshrink"), + ("nn.ConstantPad3d", 582, "nn.functional.pad"), + ("nn.MultiLabelMarginLoss", 580, "nn.functional.multilabel_margin_loss"), + ("nn.LPPool2d", 550, "nn.functional.lp_pool2d"), + ("nn.Softmin", 537, "nn.functional.softmin"), + ("nn.MaxUnpool1d", 518, "nn.functional.max_unpool1d"), + ("nn.FractionalMaxPool2d", 484, "nn.functional.fractional_max_pool2d"), + ("nn.Hardsigmoid", 477, "nn.functional.hardsigmoid"), + ("nn.ReplicationPad3d", 470, "nn.functional.pad"), + ("nn.HingeEmbeddingLoss", 442, "nn.functional.hinge_embedding_loss"), + ("nn.LPPool1d", 386, "nn.functional.lp_pool1d"), + ("nn.FractionalMaxPool3d", 252, "nn.functional.fractional_max_pool3d"), + ("nn.Container", 217, None), + ("nn.Unflatten", 206, "nn.functional.unflatten"), + ("nn.FeatureAlphaDropout", 136, "nn.functional.feature_alpha_dropout"), + ("nn.TripletMarginWithDistanceLoss", 107, "nn.functional.triplet_margin_with_distance_loss"), + ("nn.ChannelShuffle", 90, "nn.functional.channel_shuffle"), + ("nn.RNNCellBase", 88, None), + ("nn.LazyLinear", 81, "nn.functional.linear"), + ("nn.UninitializedParameter", 60, None), + ("nn.CrossMapLRN2d", 59, None), + ("nn.GaussianNLLLoss", 55, "nn.functional.gaussian_nll_loss"), + ("nn.PixelUnshuffle", 45, "nn.functional.pixel_unshuffle"), + ("nn.Mish", 31, "nn.functional.mish"), + ("nn.ReflectionPad3d", 22, "nn.functional.pad"), + ("nn.HuberLoss", 18, "nn.functional.huber_loss"), + ("nn.LazyConv2d", 15, None), + ("nn.LazyConv1d", 9, None), + ("nn.LazyConv3d", 8, None), + ("nn.LazyConvTranspose1d", 8, None), + ("nn.LazyConvTranspose2d", 8, None), + ("nn.LazyConvTranspose3d", 8, None), + ("nn.LazyBatchNorm1d", 3, None), + ("nn.LazyBatchNorm2d", 3, None), + ("nn.LazyBatchNorm3d", 3, None), + ("nn.UninitializedBuffer", 3, None), +] + +# No rankings because these are a little hard to get rankings for +method_only_ops = [ + 'bfloat16', + 'bool', + 'byte', + 'char', + 'contiguous', + 'cpu', + 'cuda', + 'detach', + 'double', + 'expand', + 'expand_as', + 'float', + 'get_device', + 'half', + 'hardshrink', + 'index_add', + 'index_copy', + 'index_fill', + 'index_put', + 'int', + 'is_contiguous', + 'is_pinned', + 'is_set_to', + 'is_shared', + 'is_signed', + 'item', + 'long', + 'masked_scatter', + 'masked_fill', + 'narrow_copy', + 'numpy', + 'pin_memory', + 'repeat', + 'reshape_as', + 'select', + 'short', + 'storage_offset', + 'sum_to_size', + 'to', + 'to_mkldnn', + 'tolist', + 'type', + 'type_as', + 'unfold', + 'view', + 'view_as', +] + + +def get_nn_functional_top_list(): + top_nn_functional_ = dict(top_nn_functional) + for _, count, functional_name in top_nn_module: + if functional_name is None: + continue + if functional_name == 'torch.flatten': + continue + if functional_name not in top_nn_functional_: + top_nn_functional_[functional_name] = count + else: + top_nn_functional_[functional_name] += count + + top_nn_functional_ = list(top_nn_functional_.items()) + top_nn_functional_.sort(key=lambda x: x[1], reverse=True) + return top_nn_functional_ + + +usage_count = {} +for k, v in get_nn_functional_top_list(): + usage_count[k] = v +for k, v in top_torch: + usage_count[k] = v diff --git a/shared/package-files/8a/8a461e41a15ecf0aec0f0401f0dca5947cf3872cbdf1c8f86154b54e7fb00839/convolution_backward_overrideable_ops.h b/shared/package-files/8a/8a461e41a15ecf0aec0f0401f0dca5947cf3872cbdf1c8f86154b54e7fb00839/convolution_backward_overrideable_ops.h new file mode 100644 index 0000000000000000000000000000000000000000..cdfe14ef8202905e85f96862186029c4a6870aa4 --- /dev/null +++ b/shared/package-files/8a/8a461e41a15ecf0aec0f0401f0dca5947cf3872cbdf1c8f86154b54e7fb00839/convolution_backward_overrideable_ops.h @@ -0,0 +1,39 @@ +#pragma once + +// @generated by torchgen/gen.py from Operator.h + +#include +#include + +// Forward declarations of any types needed in the operator signatures. +// We can't directly include these classes because it will cause circular include dependencies. +// This file is included by TensorBody.h, which defines the Tensor class. +#include + +namespace at { +namespace _ops { + + +struct TORCH_API convolution_backward_overrideable { + using schema = ::std::tuple (const at::Tensor &, const at::Tensor &, const at::Tensor &, c10::SymIntArrayRef, c10::SymIntArrayRef, c10::SymIntArrayRef, bool, c10::SymIntArrayRef, c10::SymInt, ::std::array); + using ptr_schema = schema*; + // See Note [static constexpr char* members for windows NVCC] + STATIC_CONSTEXPR_STR_INL_EXCEPT_WIN_CUDA(name, "aten::convolution_backward_overrideable") + STATIC_CONSTEXPR_STR_INL_EXCEPT_WIN_CUDA(overload_name, "") + STATIC_CONSTEXPR_STR_INL_EXCEPT_WIN_CUDA(schema_str, "convolution_backward_overrideable(Tensor grad_output, Tensor input, Tensor weight, SymInt[] stride, SymInt[] padding, SymInt[] dilation, bool transposed, SymInt[] output_padding, SymInt groups, bool[3] output_mask) -> (Tensor grad_input, Tensor grad_weight, Tensor grad_bias)") + static ::std::tuple call(const at::Tensor & grad_output, const at::Tensor & input, const at::Tensor & weight, c10::SymIntArrayRef stride, c10::SymIntArrayRef padding, c10::SymIntArrayRef dilation, bool transposed, c10::SymIntArrayRef output_padding, c10::SymInt groups, ::std::array output_mask); + static ::std::tuple redispatch(c10::DispatchKeySet dispatchKeySet, const at::Tensor & grad_output, const at::Tensor & input, const at::Tensor & weight, c10::SymIntArrayRef stride, c10::SymIntArrayRef padding, c10::SymIntArrayRef dilation, bool transposed, c10::SymIntArrayRef output_padding, c10::SymInt groups, ::std::array output_mask); +}; + +struct TORCH_API convolution_backward_overrideable_out { + using schema = ::std::tuple (const at::Tensor &, const at::Tensor &, const at::Tensor &, c10::SymIntArrayRef, c10::SymIntArrayRef, c10::SymIntArrayRef, bool, c10::SymIntArrayRef, c10::SymInt, ::std::array, at::Tensor &, at::Tensor &, at::Tensor &); + using ptr_schema = schema*; + // See Note [static constexpr char* members for windows NVCC] + STATIC_CONSTEXPR_STR_INL_EXCEPT_WIN_CUDA(name, "aten::convolution_backward_overrideable") + STATIC_CONSTEXPR_STR_INL_EXCEPT_WIN_CUDA(overload_name, "out") + STATIC_CONSTEXPR_STR_INL_EXCEPT_WIN_CUDA(schema_str, "convolution_backward_overrideable.out(Tensor grad_output, Tensor input, Tensor weight, SymInt[] stride, SymInt[] padding, SymInt[] dilation, bool transposed, SymInt[] output_padding, SymInt groups, bool[3] output_mask, *, Tensor(a!) out0, Tensor(b!) out1, Tensor(c!) out2) -> (Tensor(a!), Tensor(b!), Tensor(c!))") + static ::std::tuple call(const at::Tensor & grad_output, const at::Tensor & input, const at::Tensor & weight, c10::SymIntArrayRef stride, c10::SymIntArrayRef padding, c10::SymIntArrayRef dilation, bool transposed, c10::SymIntArrayRef output_padding, c10::SymInt groups, ::std::array output_mask, at::Tensor & out0, at::Tensor & out1, at::Tensor & out2); + static ::std::tuple redispatch(c10::DispatchKeySet dispatchKeySet, const at::Tensor & grad_output, const at::Tensor & input, const at::Tensor & weight, c10::SymIntArrayRef stride, c10::SymIntArrayRef padding, c10::SymIntArrayRef dilation, bool transposed, c10::SymIntArrayRef output_padding, c10::SymInt groups, ::std::array output_mask, at::Tensor & out0, at::Tensor & out1, at::Tensor & out2); +}; + +}} // namespace at::_ops diff --git a/shared/package-files/8a/8a475efd5fd711d481a9a19de6d12b88dff0cd81cb8135ffcd5b65b062c7bf04/top_level.txt b/shared/package-files/8a/8a475efd5fd711d481a9a19de6d12b88dff0cd81cb8135ffcd5b65b062c7bf04/top_level.txt new file mode 100644 index 0000000000000000000000000000000000000000..0e0933171d3eb977bbc6911eec27b9c0ba289500 --- /dev/null +++ b/shared/package-files/8a/8a475efd5fd711d481a9a19de6d12b88dff0cd81cb8135ffcd5b65b062c7bf04/top_level.txt @@ -0,0 +1 @@ +distro diff --git a/shared/package-files/8a/8a5973d2c62e2cbf2520f2b44e4a2ee9d2f455c93f0f45bfdeb4533af1584664/Arizona b/shared/package-files/8a/8a5973d2c62e2cbf2520f2b44e4a2ee9d2f455c93f0f45bfdeb4533af1584664/Arizona new file mode 100644 index 0000000000000000000000000000000000000000..ab37e845566aa95659b7b85be0051d0c67a7e53a Binary files /dev/null and b/shared/package-files/8a/8a5973d2c62e2cbf2520f2b44e4a2ee9d2f455c93f0f45bfdeb4533af1584664/Arizona differ diff --git a/shared/package-files/8a/8a5973d2c62e2cbf2520f2b44e4a2ee9d2f455c93f0f45bfdeb4533af1584664/Creston b/shared/package-files/8a/8a5973d2c62e2cbf2520f2b44e4a2ee9d2f455c93f0f45bfdeb4533af1584664/Creston new file mode 100644 index 0000000000000000000000000000000000000000..ab37e845566aa95659b7b85be0051d0c67a7e53a Binary files /dev/null and b/shared/package-files/8a/8a5973d2c62e2cbf2520f2b44e4a2ee9d2f455c93f0f45bfdeb4533af1584664/Creston differ diff --git a/shared/package-files/8a/8a59788742e42ff8030f69ecfba61854238ad79a1eea8b1b9ed6d75d76e0b66d/d410-7b-w b/shared/package-files/8a/8a59788742e42ff8030f69ecfba61854238ad79a1eea8b1b9ed6d75d76e0b66d/d410-7b-w new file mode 100644 index 0000000000000000000000000000000000000000..c88667c82a878203f3ca06401106a6fadce5fd60 Binary files /dev/null and b/shared/package-files/8a/8a59788742e42ff8030f69ecfba61854238ad79a1eea8b1b9ed6d75d76e0b66d/d410-7b-w differ diff --git a/shared/package-files/8a/8a59788742e42ff8030f69ecfba61854238ad79a1eea8b1b9ed6d75d76e0b66d/d411-7b-w b/shared/package-files/8a/8a59788742e42ff8030f69ecfba61854238ad79a1eea8b1b9ed6d75d76e0b66d/d411-7b-w new file mode 100644 index 0000000000000000000000000000000000000000..c88667c82a878203f3ca06401106a6fadce5fd60 Binary files /dev/null and b/shared/package-files/8a/8a59788742e42ff8030f69ecfba61854238ad79a1eea8b1b9ed6d75d76e0b66d/d411-7b-w differ diff --git a/shared/package-files/8a/8a59788742e42ff8030f69ecfba61854238ad79a1eea8b1b9ed6d75d76e0b66d/d460-7b-w b/shared/package-files/8a/8a59788742e42ff8030f69ecfba61854238ad79a1eea8b1b9ed6d75d76e0b66d/d460-7b-w new file mode 100644 index 0000000000000000000000000000000000000000..c88667c82a878203f3ca06401106a6fadce5fd60 Binary files /dev/null and b/shared/package-files/8a/8a59788742e42ff8030f69ecfba61854238ad79a1eea8b1b9ed6d75d76e0b66d/d460-7b-w differ diff --git a/shared/package-files/8a/8a59788742e42ff8030f69ecfba61854238ad79a1eea8b1b9ed6d75d76e0b66d/d461-7b-w b/shared/package-files/8a/8a59788742e42ff8030f69ecfba61854238ad79a1eea8b1b9ed6d75d76e0b66d/d461-7b-w new file mode 100644 index 0000000000000000000000000000000000000000..c88667c82a878203f3ca06401106a6fadce5fd60 Binary files /dev/null and b/shared/package-files/8a/8a59788742e42ff8030f69ecfba61854238ad79a1eea8b1b9ed6d75d76e0b66d/d461-7b-w differ diff --git a/shared/package-files/8a/8a5a6b911be7f8dd578e9b5223fd19c148deba890ffb997ae2e2a3441a74931c/Marquesas b/shared/package-files/8a/8a5a6b911be7f8dd578e9b5223fd19c148deba890ffb997ae2e2a3441a74931c/Marquesas new file mode 100644 index 0000000000000000000000000000000000000000..6ea24b72cd9552c973510d1c17ace66fd35e1cc5 Binary files /dev/null and b/shared/package-files/8a/8a5a6b911be7f8dd578e9b5223fd19c148deba890ffb997ae2e2a3441a74931c/Marquesas differ diff --git a/shared/package-files/8a/8a6067c289abe41af9efa561e5ecab4b618af56d182c0ef77fc32ca0380bb4b6/copy_ops.h b/shared/package-files/8a/8a6067c289abe41af9efa561e5ecab4b618af56d182c0ef77fc32ca0380bb4b6/copy_ops.h new file mode 100644 index 0000000000000000000000000000000000000000..6cfe461037e3fc7c4ae56277edb182c78879e65b --- /dev/null +++ b/shared/package-files/8a/8a6067c289abe41af9efa561e5ecab4b618af56d182c0ef77fc32ca0380bb4b6/copy_ops.h @@ -0,0 +1,50 @@ +#pragma once + +// @generated by torchgen/gen.py from Operator.h + +#include +#include + +// Forward declarations of any types needed in the operator signatures. +// We can't directly include these classes because it will cause circular include dependencies. +// This file is included by TensorBody.h, which defines the Tensor class. +#include + +namespace at { +namespace _ops { + + +struct TORCH_API copy { + using schema = at::Tensor (const at::Tensor &, const at::Tensor &, bool); + using ptr_schema = schema*; + // See Note [static constexpr char* members for windows NVCC] + STATIC_CONSTEXPR_STR_INL_EXCEPT_WIN_CUDA(name, "aten::copy") + STATIC_CONSTEXPR_STR_INL_EXCEPT_WIN_CUDA(overload_name, "") + STATIC_CONSTEXPR_STR_INL_EXCEPT_WIN_CUDA(schema_str, "copy(Tensor self, Tensor src, bool non_blocking=False) -> Tensor") + static at::Tensor call(const at::Tensor & self, const at::Tensor & src, bool non_blocking); + static at::Tensor redispatch(c10::DispatchKeySet dispatchKeySet, const at::Tensor & self, const at::Tensor & src, bool non_blocking); +}; + +struct TORCH_API copy_ { + using schema = at::Tensor & (at::Tensor &, const at::Tensor &, bool); + using ptr_schema = schema*; + // See Note [static constexpr char* members for windows NVCC] + STATIC_CONSTEXPR_STR_INL_EXCEPT_WIN_CUDA(name, "aten::copy_") + STATIC_CONSTEXPR_STR_INL_EXCEPT_WIN_CUDA(overload_name, "") + STATIC_CONSTEXPR_STR_INL_EXCEPT_WIN_CUDA(schema_str, "copy_(Tensor(a!) self, Tensor src, bool non_blocking=False) -> Tensor(a!)") + static at::Tensor & call(at::Tensor & self, const at::Tensor & src, bool non_blocking); + static at::Tensor & redispatch(c10::DispatchKeySet dispatchKeySet, at::Tensor & self, const at::Tensor & src, bool non_blocking); +}; + +struct TORCH_API copy_out { + using schema = at::Tensor & (const at::Tensor &, const at::Tensor &, bool, at::Tensor &); + using ptr_schema = schema*; + // See Note [static constexpr char* members for windows NVCC] + STATIC_CONSTEXPR_STR_INL_EXCEPT_WIN_CUDA(name, "aten::copy") + STATIC_CONSTEXPR_STR_INL_EXCEPT_WIN_CUDA(overload_name, "out") + STATIC_CONSTEXPR_STR_INL_EXCEPT_WIN_CUDA(schema_str, "copy.out(Tensor self, Tensor src, bool non_blocking=False, *, Tensor(a!) out) -> Tensor(a!)") + static at::Tensor & call(const at::Tensor & self, const at::Tensor & src, bool non_blocking, at::Tensor & out); + static at::Tensor & redispatch(c10::DispatchKeySet dispatchKeySet, const at::Tensor & self, const at::Tensor & src, bool non_blocking, at::Tensor & out); +}; + +}} // namespace at::_ops diff --git a/shared/package-files/8a/8a61a1720d11cb032c14d3184eaa7aae55f0d8764220095af120bf9fdda00aa1/bignum-dtoa.h b/shared/package-files/8a/8a61a1720d11cb032c14d3184eaa7aae55f0d8764220095af120bf9fdda00aa1/bignum-dtoa.h new file mode 100644 index 0000000000000000000000000000000000000000..f56239e8e88956a319aca3ec25fa48e0db4d6547 --- /dev/null +++ b/shared/package-files/8a/8a61a1720d11cb032c14d3184eaa7aae55f0d8764220095af120bf9fdda00aa1/bignum-dtoa.h @@ -0,0 +1,86 @@ +// Copyright 2010 the V8 project authors. All rights reserved. +// Redistribution and use in source and binary forms, with or without +// modification, are permitted provided that the following conditions are +// met: +// +// * Redistributions of source code must retain the above copyright +// notice, this list of conditions and the following disclaimer. +// * Redistributions in binary form must reproduce the above +// copyright notice, this list of conditions and the following +// disclaimer in the documentation and/or other materials provided +// with the distribution. +// * Neither the name of Google Inc. nor the names of its +// contributors may be used to endorse or promote products derived +// from this software without specific prior written permission. +// +// THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS +// "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT +// LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR +// A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT +// OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, +// SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT +// LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, +// DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY +// THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT +// (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE +// OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. + +#ifndef DOUBLE_CONVERSION_BIGNUM_DTOA_H_ +#define DOUBLE_CONVERSION_BIGNUM_DTOA_H_ + +#include "utils.h" + +namespace arrow_vendored { +namespace double_conversion { + +enum BignumDtoaMode { + // Return the shortest correct representation. + // For example the output of 0.299999999999999988897 is (the less accurate but + // correct) 0.3. + BIGNUM_DTOA_SHORTEST, + // Same as BIGNUM_DTOA_SHORTEST but for single-precision floats. + BIGNUM_DTOA_SHORTEST_SINGLE, + // Return a fixed number of digits after the decimal point. + // For instance fixed(0.1, 4) becomes 0.1000 + // If the input number is big, the output will be big. + BIGNUM_DTOA_FIXED, + // Return a fixed number of digits, no matter what the exponent is. + BIGNUM_DTOA_PRECISION +}; + +// Converts the given double 'v' to ascii. +// The result should be interpreted as buffer * 10^(point-length). +// The buffer will be null-terminated. +// +// The input v must be > 0 and different from NaN, and Infinity. +// +// The output depends on the given mode: +// - SHORTEST: produce the least amount of digits for which the internal +// identity requirement is still satisfied. If the digits are printed +// (together with the correct exponent) then reading this number will give +// 'v' again. The buffer will choose the representation that is closest to +// 'v'. If there are two at the same distance, than the number is round up. +// In this mode the 'requested_digits' parameter is ignored. +// - FIXED: produces digits necessary to print a given number with +// 'requested_digits' digits after the decimal point. The produced digits +// might be too short in which case the caller has to fill the gaps with '0's. +// Example: toFixed(0.001, 5) is allowed to return buffer="1", point=-2. +// Halfway cases are rounded up. The call toFixed(0.15, 2) thus returns +// buffer="2", point=0. +// Note: the length of the returned buffer has no meaning wrt the significance +// of its digits. That is, just because it contains '0's does not mean that +// any other digit would not satisfy the internal identity requirement. +// - PRECISION: produces 'requested_digits' where the first digit is not '0'. +// Even though the length of produced digits usually equals +// 'requested_digits', the function is allowed to return fewer digits, in +// which case the caller has to fill the missing digits with '0's. +// Halfway cases are again rounded up. +// 'BignumDtoa' expects the given buffer to be big enough to hold all digits +// and a terminating null-character. +void BignumDtoa(double v, BignumDtoaMode mode, int requested_digits, + Vector buffer, int* length, int* point); + +} // namespace double_conversion +} // namespace arrow_vendored + +#endif // DOUBLE_CONVERSION_BIGNUM_DTOA_H_ diff --git a/shared/package-files/8a/8a626abfb0c588f0d7b32bbb86fcc8735d70791240450cbcb5a26232c5172aa7/fake_tensor.py b/shared/package-files/8a/8a626abfb0c588f0d7b32bbb86fcc8735d70791240450cbcb5a26232c5172aa7/fake_tensor.py new file mode 100644 index 0000000000000000000000000000000000000000..08007dcfdd11fcee715b8a0c24ff103e672bd2cb --- /dev/null +++ b/shared/package-files/8a/8a626abfb0c588f0d7b32bbb86fcc8735d70791240450cbcb5a26232c5172aa7/fake_tensor.py @@ -0,0 +1,1819 @@ +# mypy: ignore-errors + +import contextlib +import functools +import logging +import os +import traceback +import weakref +from collections import defaultdict +from dataclasses import dataclass +from typing import Any, Dict, List, Optional, Tuple, Type, TYPE_CHECKING, TypeVar +from weakref import ReferenceType + +import torch +import torch._custom_op +import torch._logging +from torch._C._functorch import is_functorch_wrapped_tensor + +from torch._guards import Source +from torch._ops import OpOverload +from torch._prims_common import suggest_memory_format +from torch._subclasses.meta_utils import ( + assert_eq, + assert_metadata_eq, + is_sparse_any, + is_sparse_compressed, + MetaConverter, +) +from torch._utils import render_call +from torch.fx.operator_schemas import normalize_function +from torch.multiprocessing.reductions import StorageWeakRef +from torch.overrides import TorchFunctionMode +from torch.utils._mode_utils import no_dispatch +from torch.utils._python_dispatch import ( + is_traceable_wrapper_subclass, + TorchDispatchMode, +) + +from torch.utils._pytree import PyTree, tree_map +from torch.utils._stats import count +from torch.utils.weak import WeakIdRef + +if TYPE_CHECKING: + from torch.fx.experimental.symbolic_shapes import ShapeEnv + +DimList = List + +log = logging.getLogger(__name__) + +# TODO: Hack to unblock https://github.com/pytorch/pytorch/pull/108186 +# Proper fix tracked by https://github.com/pytorch/pytorch/issues/120105 +try: + not_implemented_log = torch._logging.getArtifactLogger(__name__, "not_implemented") +except ValueError as e: + if "'not_implemented' not registered" in str(e): + import logging as not_implemented_log + else: + raise e + +pytree = torch.utils._pytree +T = TypeVar("T") +TensorWeakRef = Any + +aten = torch._ops.ops.aten + +CONSTANT_NUMEL_LIMIT = 1 + +RECURSION_COUNT = 0 + + +# Small helper that increments recursion count, and +# resets it when the object goes out of scope. Useful +# if you don't want to increase indentation which is +# what a context manager would do. +class IncrementRecursionCount: + def __init__(self): + global RECURSION_COUNT + RECURSION_COUNT += 1 + + def __del__(self): + global RECURSION_COUNT + RECURSION_COUNT -= 1 + + +@dataclass +class UnsupportedFakeTensorException(RuntimeError): + reason: str + + +@dataclass +class DynamicOutputShapeException(RuntimeError): + func: OpOverload + + +@dataclass +class DataDependentOutputException(RuntimeError): + func: OpOverload + + +@dataclass +class UnsupportedOperatorException(RuntimeError): + func: OpOverload + + +def ordered_set(*items): + return dict.fromkeys(items, True) + + +@contextlib.contextmanager +def unset_fake_temporarily(): + old = torch._C._unset_dispatch_mode(torch._C._TorchDispatchModeKey.FAKE) + try: + yield old + finally: + if old is not None: + torch._C._set_dispatch_mode(old) + + +def is_fake(x): + if isinstance(x, FakeTensor): + return True + if is_traceable_wrapper_subclass(x): + attrs, _ = type(x).__tensor_flatten__(x) + flattened_tensors = [getattr(x, attr) for attr in attrs] + # need to recurse because we could have nested subclasses + all_fake = all(is_fake(x) for x in flattened_tensors) + any_fake = any(is_fake(x) for x in flattened_tensors) + assert all_fake == any_fake, "got mixed fake and real tensors!" + return all_fake + elif isinstance(x, torch.Tensor) and torch._is_functional_tensor(x): + reapply_views = torch._C._functionalization_reapply_views_tls() + unwrapped = torch._C._functorch._unwrap_functional_tensor(x, reapply_views) + return is_fake(unwrapped) + elif isinstance(x, torch.Tensor) and is_functorch_wrapped_tensor(x): + unwrapped = torch._C._functorch.get_unwrapped(x) + return is_fake(unwrapped) + return False + + +def maybe_get_fake_mode(t): + if isinstance(t, FakeTensor): + return t.fake_mode + if is_traceable_wrapper_subclass(t): + inner_tensor_names, _ = t.__tensor_flatten__() + modes = [ + maybe_get_fake_mode(getattr(t, t_name)) for t_name in inner_tensor_names + ] + m = modes[0] + assert all(m is x for x in modes) + return m + elif isinstance(t, torch.Tensor) and torch._is_functional_tensor(t): + reapply_views = torch._C._functionalization_reapply_views_tls() + unwrapped = torch._C._functorch._unwrap_functional_tensor(t, reapply_views) + return maybe_get_fake_mode(unwrapped) + elif isinstance(t, torch.Tensor) and is_functorch_wrapped_tensor(t): + unwrapped = torch._C._functorch.get_unwrapped(t) + return maybe_get_fake_mode(unwrapped) + return None + + +@functools.lru_cache(None) +def get_schema_info(func): + return torch._C._SchemaInfo(func._schema) # type: ignore[attr-defined] + + +# many of the decompositions registered to torch/_prims do not at the moment model +# aliasing or strides, so as an incremental step, just enable the decompositions in +# torch/_decomp/decompositions.py. +# decomps are used for aot autograd tracing so we would like to unify on their +# implementation and add additional testing to them +@functools.lru_cache(None) +def torch_decomp_decompositions(func): + from torch._decomp import decomposition_table + + decompositions = torch._decomp.decompositions + # Note that the function in the decomposition table might be + # different from the one in the module because of the difference + # in out handling in aten API and torch public API + return decomposition_table[func].__module__.startswith( + "torch._decomp" + ) and decomposition_table[func].__name__ in dir(decompositions) + + +def tree_flatten_only(ty: Type[T], tree: PyTree): + flat_vals = pytree.tree_leaves(tree) + return [elem for elem in flat_vals if isinstance(elem, ty)] + + +# Similar to `MetaConverter`, this is a class for converting +# multiple tensors into fake tensors which share the same view/storage +# structure. Like `MetaConverter`, it uses `WeakIdRef` to +# hold a weak reference for all memoized tensors. +class FakeTensorConverter: + @property + def tensor_memo(self): + return self.meta_converter.tensor_memo + + meta_converter: MetaConverter + constant_storage_mapping: Dict[StorageWeakRef, List[ReferenceType]] + + def __init__(self): + self.meta_converter = MetaConverter() + + # map from to storage to corresponding constant tensors + self.constant_storage_mapping = {} + + def add_constant_storage_mapping(self, fake_tensor): + # when you have a constant, aliased tensor: + # const_tensor.add_(torch.rand([1])) + # all aliases of it must become no longer const + assert isinstance(fake_tensor, FakeTensor) and fake_tensor.constant is not None + weak_st = StorageWeakRef(fake_tensor.constant._typed_storage()) + + # we need a map from a weak storage to all of its corresponding + # constant tensors. python doesn't have the weak value equivalent + # of defaultdict(list), so we are using a WeakValueDictionary as one + if weak_st not in self.constant_storage_mapping: + self.constant_storage_mapping[weak_st] = [] + self.constant_storage_mapping[weak_st].append(weakref.ref(fake_tensor)) + + def invalidate_constant_aliases(self, tensor): + assert not isinstance(tensor, FakeTensor) + + weak_st = StorageWeakRef(tensor._typed_storage()) + if weak_st not in self.constant_storage_mapping: + return + + for weak_tensor_ref in self.constant_storage_mapping[weak_st]: + ten = weak_tensor_ref() + if ten is not None: + ten._fix_weakref() + ten.constant = None + + del self.constant_storage_mapping[weak_st] + + def _get_memo(self, t): + if WeakIdRef(t) in self.tensor_memo: + out = self.tensor_memo[WeakIdRef(t)] + out._fix_weakref() + return out + return None + + def set_tensor_memo(self, t, v): + th = WeakIdRef(t) + + # hold a weak ref to self, otherwise it will be kept alive + # by the del_ten closure + self_weak_ref = weakref.ref(self) + + def del_ten(): + self_ref = self_weak_ref() + if self_ref is None: + return + # on shutdown, th may not be in memo + self_ref.tensor_memo.pop(th, None) + + weakref.finalize(t, del_ten) + self.tensor_memo[th] = v + + def from_real_tensor( + self, + fake_mode, + t, + make_constant=False, + shape_env=None, + *, + source=None, + symbolic_context=None, + memoized_only=False, + ): + # see note [Tensor Fakification and Symbol Caching] + if not symbolic_context and not source and shape_env: + if tracing_context := torch._guards.TracingContext.try_get(): + if t in tracing_context.tensor_to_context: + symbolic_context = tracing_context.tensor_to_context[t] + source = symbolic_context.tensor_source + + maybe_memo = self._get_memo(t) + if maybe_memo is not None: + return maybe_memo + if memoized_only: + return None + existing_device = t.device + # not yet supported in metatensors + if t.is_quantized: + raise UnsupportedFakeTensorException("quantized nyi in meta tensors") + if type(t) is torch.nn.Parameter: + assert not make_constant + + def mk_fake_tensor(make_meta_t): + # NB: don't use in_kernel_invocation_manager. to + # ensure FakeTensor can internally do constant computation + # as necessary. Invocation manager is "more correct" as + # it works for more operators in make_meta_t, but + # invariant is that make_meta_t only calls factories + # for which it is not strictly necessary to use the + # invocation manager (I think!) + with no_dispatch(): + return FakeTensor( + fake_mode, + make_meta_t(), + existing_device, + constant=t if make_constant else None, + ) + + out = self.meta_converter( + t, + shape_env=shape_env, + callback=mk_fake_tensor, + source=source, + symbolic_context=symbolic_context, + ) + if out is NotImplemented: + raise UnsupportedFakeTensorException("meta converter nyi") + if make_constant: + self.add_constant_storage_mapping(out) + # NB: meta_converter set the memo + return out + + # If you specify the device, it MUST be a meta tensor. + def from_meta_and_device(self, fake_mode, t, device): + assert ( + t.device.type == "meta" + ), f"tensor's device must be `meta`, got {t.device.type} instead" + maybe_memo = self._get_memo(t) + if maybe_memo is not None: + return maybe_memo + out = FakeTensor(fake_mode, t, device) + self.set_tensor_memo(t, out) + return out + + # You can have a real tensor that you need to convert into a fake tensor. + # If you have a meta tensor already, call from_meta_and_device. + # + # You're allowed to pass a meta tensor to be turned into a fake + # tensor; although an odd thing to do, this can occur if you're doing + # cross ref testing and the inner test is already operating on meta tensors. + def __call__( + self, + fake_mode, + t, + *, + make_constant=False, + shape_env=None, + source=None, + symbolic_context=None, + memoized_only=False, + ): + return self.from_real_tensor( + fake_mode, + t, + make_constant, + shape_env=shape_env, + source=source, + symbolic_context=symbolic_context, + memoized_only=memoized_only, + ) + + +@functools.lru_cache(None) +def init_cuda_context(): + # Backward will error with cuda Fake Tensors if no cuda tensors have been initialized first + if torch.cuda.is_available(): + torch.empty(1, device="cuda") if torch.version.hip is None else torch.zeros( + 1, device="cuda" + ) + + +@contextlib.contextmanager +def in_kernel_invocation_manager(fake_mode): + # See: note [Fake Tensor Dispatch Keys] + prev_in_kernel = fake_mode.in_kernel_invocation + meta_in_tls = torch._C._meta_in_tls_dispatch_include() + assert meta_in_tls == prev_in_kernel, f"{meta_in_tls}, {prev_in_kernel}" + + guard = torch._C._DisableTorchDispatch() # type: ignore[attr-defined] + fake_mode.in_kernel_invocation = True + torch._C._set_meta_in_tls_dispatch_include(True) + try: + yield + finally: + fake_mode.in_kernel_invocation = prev_in_kernel + torch._C._set_meta_in_tls_dispatch_include(prev_in_kernel) + del guard + + +# Return if the function allows Python numbers to bind to Tensors +def should_allow_numbers_as_tensors(func: OpOverload): + return torch._C._should_allow_numbers_as_tensors( + func.name().split("::")[-1].split(".")[0] + ) + + +class FakeTensorConfig: + debug = os.environ.get("TORCH_FAKE_TENSOR_DEBUG", "0") == "1" + + +class FakeTensor(torch.Tensor): + """ + Meta tensors give you the ability to run PyTorch code without having to + actually do computation through tensors allocated on a `meta` device. + Because the device is `meta`, meta tensors do not model device propagation. + FakeTensor extends MetaTensors to also carry an additional `fake_device` + which tracks devices that would have been used. + """ + + fake_device: torch.device + fake_mode: "FakeTensorMode" + constant: Optional[torch.Tensor] + + # This memorizes the unbacked SymInt representing the number of nonzero + # elements in this tensor. This is helpful if you do something like + # x[mask] and y[mask]; mask.nonzero() gets repeatedly called and should + # give a consistent unbacked SymInt. It needs to be invalidated in the + # same way constant is. + # TODO: Generalize this as needed, e.g., into a trie of memos + _nonzero_memo: Optional[torch.SymInt] + _nonzero_memo_vc: Optional[int] + + # Indicates to our torch_dispatch dispatching infra that + # this is an "infra" mode with lower dispatching precedence. + _mode_key = torch._C._TorchDispatchModeKey.FAKE + + @property + def nonzero_memo(self): + if self._nonzero_memo is None: + return None + # Version counter based tracking isn't 100% sound but it's close + # enough + if self._nonzero_memo_vc != self._version: + self._nonzero_memo = None + return None + return self._nonzero_memo + + @property + def device(self): + if self.fake_mode.in_kernel_invocation: + return torch.device("meta") + else: + return self.fake_device + + # Note: [Fake Tensor Dispatch Keys] + # In order to model the behavior of device-specific autocast + # and autograd logic, we update the dispatch keys of FakeTensors + # to reflect their fake device. This includes the BackendComponent + # (DispatchKey::Meta -> DispatchKey::CUDA), and also the BackendComponent + # related Autocast and Autograd keys. __torch__dispatch__ sits below + # Autocast and Autograd, and is only invoked when we are at the + # kernel for the BackendComponent. Then, we add Meta to the + # thread-local dispatch include set to hit the meta kernel + # instead of the kernel of the BackendComponent for the fake device. + # The `device_for_backend_keys` does that below + # NOTE: this probably will not do the right thing for backends + # that have dispatch keys which are higher than the "meta" key: + # https://github.com/pytorch/pytorch/blob/main/c10/core/DispatchKey.h#L189 + + # We don't support named tensors; graph break + @property + def names(self): + raise UnsupportedFakeTensorException( + "torch.compile doesn't support named tensors" + ) + + @staticmethod + def __new__(cls, fake_mode, elem, device, constant=None): + self = torch.Tensor._make_subclass( + cls, + elem, + elem.requires_grad, + dispatch_device=True, + device_for_backend_keys=device, + ) + + assert elem.device.type == "meta", elem.device.type + device = device if isinstance(device, torch.device) else torch.device(device) + # NB: it is fine, if a little confusing, for device to be meta + # (we are faking a meta tensor in that case). However, it often + # indicates some sort of confusion (e.g., you accidentally passed + # in a meta tensor when you should have passed in the real tensor). + # So by default we disallow meta, and if you are working in a situation + # where it is helpful (e.g., crossref testing) you can turn it back + # on + if not fake_mode.allow_meta: + assert device.type != "meta" + # normalize device. + if device.type == "cuda": + init_cuda_context() + + if ( + device.type + in ["cuda", "hpu", "xpu", torch._C._get_privateuse1_backend_name()] + and device.index is None + ): + device = torch.device( + f"{device.type}:{getattr(torch, device.type).current_device()}" + ) + self.fake_device = device # type: ignore[attr-defined] + self.fake_mode = fake_mode # type: ignore[attr-defined] + self.constant = constant # type: ignore[attr-defined] + self._nonzero_memo = None # type: ignore[attr-defined] + self._nonzero_memo_vc = None # type: ignore[attr-defined] + + if FakeTensorConfig.debug: + import traceback + + self._debug_trace = traceback.extract_stack() # type: ignore[attr-defined] + return self + + # In some circumstances, a conventional torch.Tensor constructor + # will get rewritten to call into FakeTensor. We must provide an + # __init__ method that can accept the Python interpreters initialization + # in such a situation; we must also be able to handle direct fake + # tensor construction via FakeTensor(). + # + # In particular, the __init__ call will look funny in the following case: + # + # with FakeTensorMode(): + # x = torch.Tensor([1, 2, 3]) + # + # this desugars into: + # + # with FakeTensorMode(): + # x = torch.Tensor.__new__([1, 2, 3]) + # # NB: x is a fake tensor, because of the mode! + # x.__init__([1, 2, 3]) # not the normal fake tensor args! + # + def __init__(self, *args, **kwargs): + super().__init__() + + @staticmethod + def from_tensor(t, fake_mode): + return fake_mode.from_tensor(t) + + @classmethod + @count + def __torch_dispatch__(cls, func, types, args=(), kwargs=None): + # need to handle here to avoid infinite recursion + # see [in_kernel_invocation] + if func == torch.ops.prim.device.default: + assert len(args) == 1 and isinstance(args[0], FakeTensor) + if args[0].fake_mode.in_kernel_invocation: + return torch.device("meta") + else: + return args[0].fake_device + + # Because fake mode can return NotImplemented (if it sees a subclass + # it doesn't know how to deal with), this test here is important + # because the next dispatch after a fake mode will attempt to use + # subclasses of tensors to dispatch, and any FakeTensor arguments + # will be considered eligible. + unrecognized_types = [ + t for t in types if not issubclass(t, FakeTensor) and t is not torch.Tensor + ] + if unrecognized_types: + not_implemented_log.debug( + "FakeTensor unrecognized subclass(es): %s", unrecognized_types + ) + return NotImplemented + + fake_mode = None + for arg in pytree.arg_tree_leaves(*args, **kwargs): + if isinstance(arg, FakeTensor): + fake_mode = arg.fake_mode + break + + assert fake_mode is not None + + # If the fake mode is already active, don't try to reapply it! + # NotImplemented is the right thing to return here, because the + # typical situation this can occur is if ProxyTensorMode returned a + # NotImplemented because of a not implemented subclass; we may have + # unluckily attempted to hit FakeTensor's dispatch first, + # NotImplemented lets us keep chaining until we find the actual + # subclass + maybe_cur_fake_mode = torch._C._get_dispatch_mode( + torch._C._TorchDispatchModeKey.FAKE + ) + if maybe_cur_fake_mode: + not_implemented_log.debug( + "FakeTensor mode already active: %s in %s", + fake_mode, + maybe_cur_fake_mode, + ) + return NotImplemented + + with fake_mode: # type: ignore[attr-defined] + return func(*args, **kwargs) + + @staticmethod + def _find_common_device(func, flat_args) -> Tuple[torch.device, bool]: + # Returns: (common_device, has_scalar_only_inputs) + + # cpu - zero-dim tensors can be called in cuda kernels, + # so overwrite the common_device if it the only existing + # device comes from a cpu zero-dim tensor + common_device = None + has_scalar_only_inputs = False + is_cpu_zero_dim = None + + def cpu_zero_dim(t): + return t.device.type == "cpu" and t.dim() == 0 + + def merge_devices(t): + nonlocal common_device + nonlocal is_cpu_zero_dim + if not isinstance(t, FakeTensor): + return + + if common_device is None: + common_device = t.device + is_cpu_zero_dim = cpu_zero_dim(t) + return + + t_is_cpu_zero_dim = cpu_zero_dim(t) + if t.device == common_device: + if is_cpu_zero_dim: + is_cpu_zero_dim = t_is_cpu_zero_dim + return + + # mismatching devices ! + # if current tensor is cpu 0 dim, defer to existing device + if t_is_cpu_zero_dim: + return + + # current device is from cpu 0 dim tensor, overwrite + if is_cpu_zero_dim: + common_device = t.device + is_cpu_zero_dim = t_is_cpu_zero_dim + return + + # mismatching devices of non-zero dim tensors, throw + # This might be valid behavior and need to be explicitly modeled, e.g. reshape_as + raise RuntimeError( + f"Unhandled FakeTensor Device Propagation for {func}, found two different devices {common_device}, {t.device}" + ) + + for arg in flat_args: + merge_devices(arg) + + # some functions that allow Python numbers to bind to Tensors + # if we have failed to find a device, and we're running one of these operators, + # we must have scalar only inputs + if should_allow_numbers_as_tensors(func) and common_device is None: + # ops with scalar only inputs always have result on cpu + has_scalar_only_inputs = True + common_device = torch.device("cpu") + + assert common_device is not None, f"Could not find common device for {func}" + + return common_device, has_scalar_only_inputs + + # We must handle tolist in a special way for FakeTensors here in the case + # where tolist is called from torch dispatch for tensor subclasses. + # Ordinarily, if a program calls .tolist compiling still works because there is + # special handling in dynamo, but for tensor subclasses if .tolist is called + # inside torch dispatch, the .tolist call may be directly on a FakeTensor. + # This would result in an error since wrapper subclasses don't have storage. + # To avoid this, we handle the FakeTensor case by (1) specializing on the size + # of the tensor to create the output Python list, and (2) creating unbacked + # symints for each element of the list. + def tolist(self): + assert self.dim() == 1, "NYI for higher dims" + shape_env = self.fake_mode.shape_env + out = [] + # Specialize on the length of the list + for _ in range(self.shape[0]): + s = shape_env.create_unbacked_symint() + # max value? + torch._constrain_as_size(s, min=2) + out.append(s) + return out + + +@dataclass(frozen=True) +class TensorMetadata: + """ + The Tensor metadata relevant to hashing FakeTensors when caching. + """ + + dtype: torch.dtype + shape: torch.Size + stride: Tuple[Any, ...] + device: torch.device + layout: torch.layout + memory_format: Optional[torch.memory_format] + storage_offset: int + requires_grad: bool + is_quantized: bool + is_conj: bool + is_neg: bool + is_inference: bool + is_sparse: bool # read: is sparse COO + is_coalesced: Optional[bool] + dense_dim: Optional[int] + sparse_dim: Optional[int] + + +def extract_tensor_metadata(t: torch.Tensor) -> "TensorMetadata": + """ + Extract the TensorMetadata of a tensor. + """ + memory_format = suggest_memory_format(t) + if is_sparse_any(t) or not t.is_contiguous(memory_format=memory_format): + memory_format = None + + return TensorMetadata( + dtype=t.dtype, + shape=t.shape, + stride=t.stride() if t.layout == torch.strided else (), + device=t.device, + layout=t.layout, + memory_format=memory_format, + storage_offset=t.storage_offset(), + requires_grad=t.requires_grad, + is_quantized=t.is_quantized, + is_conj=t.is_conj(), + is_neg=t.is_neg(), + is_inference=t.is_inference(), + is_sparse=t.is_sparse, + is_coalesced=t.is_coalesced() if t.is_sparse else None, + dense_dim=t.dense_dim() if t.is_sparse else None, + sparse_dim=t.sparse_dim() if t.is_sparse else None, + ) + + +@dataclass(frozen=True) +class _ShapeEnvSettings: + """ + Encapsulates all shape env settings that could potentially affect + FakeTensor dispatch. Used when creating dispatch cache keys. + """ + + allow_scalar_outputs: bool + allow_dynamic_output_shape_ops: bool + assume_static_by_default: bool + specialize_zero_one: bool + duck_shape: bool + + def __init__(self, env: "ShapeEnv"): + # Initialize this way because the class is frozen (to enable hashing): + object.__setattr__(self, "allow_scalar_outputs", env.allow_scalar_outputs) + object.__setattr__( + self, "allow_dynamic_output_shape_ops", env.allow_dynamic_output_shape_ops + ) + object.__setattr__( + self, "assume_static_by_default", env.assume_static_by_default + ) + object.__setattr__(self, "specialize_zero_one", env.specialize_zero_one) + object.__setattr__(self, "duck_shape", env.duck_shape) + + +class _DispatchCacheKey(list): + """ + Key for the FakeTensor dispatch cache. Inspired by (copied from) + _HashedSeq from the functools.lru_cache implementation. + """ + + __slots__ = "hashvalue" # noqa: PLC0205 + + def __init__(self, tup, hash=hash): + self[:] = tup + self.hashvalue = hash(tup) + + def __hash__(self): + return self.hashvalue + + +@dataclass(frozen=True) +class _DispatchCacheEntry: + """ + Entry type for the FakeTensor dispatch cache. Accounts for two possibilities: + 1) The op is inplace, and a hit means we need to alias the argument at a given + index. 2) We need to synthesize a new FakeTensor given tensor metadata. For view + ops, we further capture the index of the arg to alias. + """ + + inplace_idx: Optional[int] = None + metadata: Optional[TensorMetadata] = None + view_idx: Optional[int] = None + + +@dataclass(frozen=True) +class _BypassDispatchCache(Exception): + """ + Signals cases that should skip FakeTensor caching. + """ + + reason: str + + +@dataclass(frozen=True) +class DispatchCacheInfo: + """ + Information about the state of the FakeTensor dispatch cache. + """ + + hits: int + misses: int + bypasses: Dict[str, int] + size: int + + +# We keep one instantiation of `fake_tensor_converter` active +# for the duration of `with FakeTensorMode()`. +# This allows accurate storage aliasing across invocation of +# different operators. While this will keep all freshly allocated +# tensors alive during `FakeTensorMode`, there will no be no +# new allocations of Tensors which have non-meta storage so +# memory should not significantly increase. + + +class FakeTensorMode(TorchDispatchMode): + cache: Dict[_DispatchCacheKey, _DispatchCacheEntry] = {} + cache_hits: int = 0 + cache_misses: int = 0 + cache_bypasses = defaultdict(int) + + def __init__( + self, + *, + allow_fallback_kernels=True, + allow_non_fake_inputs=False, + shape_env=None, + static_shapes=None, + ): + log.debug("create_mode 0x%x", id(self)) + self.allow_fallback_kernels = allow_fallback_kernels + self.fake_tensor_converter = FakeTensorConverter() + if static_shapes is not None: + self.static_shapes = static_shapes + else: + self.static_shapes = shape_env is None + + import torch._dynamo.config + import torch._functorch.config + + self.allow_meta = torch._functorch.config.fake_tensor_allow_meta + self.cache_enabled = torch._dynamo.config.fake_tensor_cache_enabled + self.cache_crosscheck_enabled = ( + torch._dynamo.config.fake_tensor_cache_crosscheck_enabled + ) + + # A flag that controls, whether we want to invoke ops on mix of + # real weights/global variables and fake inputs + self.allow_non_fake_inputs = allow_non_fake_inputs + + # [in_kernel_invocation] + # when FakeTensor is invoked in user code, .device should return + # the fake_device of the tensor so that code such as as `if x.is_cuda` + # or torch.zeros([10, 10], device=x.device) continues to execute as if + # the FakeTensor were real. However, within kernel execution, we return + # the `Meta` device because all computation within the kernels should + # behave as if the Tensors are on meta devices. Kernels should allocate + # new tensors on meta devices, and checks like `is_meta` should return true. + # within python refs, we always return the real device by defining + # the device property + self.in_kernel_invocation = False + + # True if we enter'ed and actually enabled fake tensor mode, + # false if it was a no-op. Not thread safe but neither is + # in_kernel_invocation + # If another fake mode was already active when we enter, we also stash it here. + # That way when we exit, we know to re-enable the previous fake mode. + self.enter_stack: List[Tuple[bool, Optional[FakeTensorMode]]] = [] + + self.shape_env = shape_env + + self.stack = "".join(traceback.format_stack()) + + # Indicates to our torch_dispatch dispatching infra that + # this is an "infra" mode with lower dispatching precedence. + self._mode_key = torch._C._TorchDispatchModeKey.FAKE + + # Typically, there is only one fake tensor mode and you test for it by + # doing an isinstance test. However, in some situations, there might be + # TWO fake tensor modes. The canonical example of this is exporting + # a fake model: there is an outer fake mode created by the user, and + # an inner fake mode created by Dynamo. The two phase process is required + # because the outer fake mode typically won't have a ShapeEnv, even if + # the user is interested in exporting with dynamic shapes (so the inner + # fake mode will actually have a ShapeEnv and swap in symbolic sizes.) + # + # In this case, it's insufficient to test only one FakeTensor: you need + # to distinguish between our fake tensor and other fake tensors. That's + # what this function does. + def is_our_fake(self, t): + return isinstance(t, FakeTensor) and t.fake_mode is self + + @count + def __torch_dispatch__(self, func, types, args=(), kwargs=None): + # FakeTensorMode should not be set when we're inside of it. + assert ( + torch._C._get_dispatch_mode(torch._C._TorchDispatchModeKey.FAKE) is None + ), func + try: + return self.dispatch(func, types, args, kwargs) + except TypeError: + log.exception("fake tensor raised TypeError") + raise + + # No-op if FakeTensorMode is already in use + def __enter__(self): + maybe_prev_fake_mode = torch._C._unset_dispatch_mode(self._mode_key) + if self is not maybe_prev_fake_mode: + self.enter_stack.append((True, maybe_prev_fake_mode)) + return super().__enter__() + else: + # no-op (still need to re-set the fake mode though since we unset it) + torch._C._set_dispatch_mode(self) + self.enter_stack.append((False, None)) + return self + + def __exit__(self, a, b, c): + live, maybe_prev_fake_mode = self.enter_stack.pop() + if live: + out = super().__exit__(a, b, c) + # Re-enable the previous fake mode, if there was one. + if maybe_prev_fake_mode is not None: + torch._C._set_dispatch_mode(maybe_prev_fake_mode) + + @classmethod + def cache_info(cls) -> DispatchCacheInfo: + """ + Query the state of the dispatch cache. + """ + return DispatchCacheInfo( + FakeTensorMode.cache_hits, + FakeTensorMode.cache_misses, + dict(FakeTensorMode.cache_bypasses), + len(FakeTensorMode.cache), + ) + + @classmethod + def cache_clear(cls): + """ + Clear the dispatch cache. + """ + cls.cache_hits = 0 + cls.cache_misses = 0 + cls.cache_bypasses.clear() + cls.cache.clear() + + def _cached_dispatch_impl( + self, + func: OpOverload, + types: Tuple[Any, ...], + args: Tuple[Any, ...], + kwargs: Dict[str, Any], + ): + """ + Lookup a cache entry for the given arguments. If none exists, dispatch + and cache the result (if the result is eligible for caching). + """ + output = unassigned = object() + try: + key = self._cache_key(func, args, kwargs) + entry = FakeTensorMode.cache.get(key, None) + if entry is not None: + output = self._output_from_cache_entry(entry, func, args) + FakeTensorMode.cache_hits += 1 + if self.cache_crosscheck_enabled: + # For debugging / testing: Validate that the output synthesized + # from the cache matches the output created by normal dispatch. + self._crosscheck_cache_output(output, func, types, args, kwargs) + else: + output = self._dispatch_impl(func, types, args, kwargs) + entry = self._make_cache_entry(key, func, args, kwargs, output) + FakeTensorMode.cache[key] = entry + FakeTensorMode.cache_misses += 1 + except _BypassDispatchCache as e: + FakeTensorMode.cache_bypasses[e.reason] += 1 + + if output is unassigned: + output = self._dispatch_impl(func, types, args, kwargs) + + return output + + def _cache_key( + self, + func: OpOverload, + args: Tuple[Any, ...], + kwargs: Dict[str, Any], + ) -> _DispatchCacheKey: + """ + Create a cache key given the dispatch args. Raises _BypassDispatchCache + for any situation that precludes caching. + """ + # Avoid caching for any ops that would require a more sophisticated + # caching implementation, e.g., data dependent ops or ops that modify + # the inputs. + if torch.Tag.data_dependent_output in func.tags: + raise _BypassDispatchCache("data dependent output") + + if torch.Tag.dynamic_output_shape in func.tags: + raise _BypassDispatchCache("dynamic output shape") + + if torch.Tag.inplace_view in func.tags: + raise _BypassDispatchCache("inplace view") + + if func == aten._unsafe_view.default: + raise _BypassDispatchCache("unsafe view") + + if func in self.lift_fns: + raise _BypassDispatchCache("lift") + + if not torch._library.utils.is_builtin(func): + raise _BypassDispatchCache("non-builtin") + + # In order to handle storage aliasing, we need to establish the alias + # for any view op on a cache hit. But CompositeImplicitAutograd ops may + # or may not alias the input, so just punt on caching these. + if func.is_view and torch._C._dispatch_has_kernel_for_dispatch_key( + func.name(), torch._C.DispatchKey.CompositeImplicitAutograd + ): + raise _BypassDispatchCache("CompositeImplicitAutograd") + + key_values = ( + func, + # Translate any FakeTensor args to metadata. + self._prep_args_for_hash(args) if args else (), + self._prep_args_for_hash(kwargs) if kwargs else (), + # Capture the default_dtype mode since that can affect the output tensor, + # e.g., when operating on constant float values. + torch.get_default_dtype(), + # Capture the current device to support, e.g., cache tensor creation, + # where there isn't necessarily a tensor to take the device from. + torch._C._get_default_device(), + # We want to create tensors from cached metadata only when the inference + # mode is the same. + torch.is_inference_mode_enabled(), + # Shape env settings could affect behavior. One example seen in the wild: + # Disasllowing dynamic shapes can introduce a DynamicOutputShapeException + # where it wasn't seen on a previous instance of the same op. + _ShapeEnvSettings(self.shape_env) if self.shape_env else None, + ) + return _DispatchCacheKey(key_values) + + def _prep_args_for_hash(self, args: Any) -> Any: + """ + Translate the provided args into a form suitable for caching at FakeTensor + dispatch, i.e., convert unhashable types like lists & dicts into tuples and + convert FakeTensors into metadata. Raises _BypassDispatchCache to signal + unsupported cases that should bypass caching. + """ + if isinstance(args, dict): + args = list(args.keys()) + list(args.values()) + + result = [] + for arg in args: + if isinstance(arg, FakeTensor): + if not self.is_our_fake(arg): + raise _BypassDispatchCache("not our fake") + if arg._has_symbolic_sizes_strides: + raise _BypassDispatchCache("symbolic shape") + if arg.constant is not None: + raise _BypassDispatchCache("constant attribute") + if arg.is_sparse: + raise _BypassDispatchCache("sparse tensor") + if is_sparse_compressed(arg): + raise _BypassDispatchCache("sparse compressed tensor") + result.append(extract_tensor_metadata(arg)) + elif isinstance(arg, torch.Tensor): + raise _BypassDispatchCache("non-fake tensor") + elif isinstance(arg, (torch.SymBool, torch.SymInt, torch.SymFloat)): + raise _BypassDispatchCache("symbolic shape") + elif isinstance(arg, (list, tuple, dict)): + result.extend(self._prep_args_for_hash(arg)) + else: + # It's important to capture the type of the arg since, e.g., 1 and 1.0 + # hash to the same value, but can produce different dtypes for the + # output tensor. + result.append((type(arg), arg)) + + return tuple(result) + + def _make_cache_entry( + self, + key: _DispatchCacheKey, + func: OpOverload, + args: Tuple[Any, ...], + kwargs: Dict[str, Any], + output: FakeTensor, + ) -> _DispatchCacheEntry: + """ + Make a cache entry object for the given 'output' Tensor. Raises + _BypassDispatchCache if the output tensor has characteristics that + prevent caching it. + """ + # Some ops return tuples of Tensors, but it's rare, so avoid + # the complexity of caching other types. + if not isinstance(output, FakeTensor): + raise _BypassDispatchCache("non-FakeTensor output") + + # Avoid caching FakeTensors with constants attached since those + # can be invalidated. + if output.constant is not None: + raise _BypassDispatchCache("constant attribute") + + # TODO: support caching sparse outputs? + if output.is_sparse: + raise _BypassDispatchCache("sparse output") + + if is_sparse_compressed(output): + raise _BypassDispatchCache("sparse compressed output") + + # Can an in-place op really reference a kwarg? If so, then we need + # to extend the implementation to handle it. + for kval in kwargs.values(): + if id(kval) == id(output): + raise _BypassDispatchCache("kwarg aliases output") + + # If this is an in-place op, the entry records which input arg is aliased. + for idx in range(len(args)): + if id(args[idx]) == id(output): + return _DispatchCacheEntry( + inplace_idx=idx, metadata=None, view_idx=None + ) + + # Otherwise, create an entry that records the output tensor's metadata. + view_idx = None + if func.is_view: + idxs = [i for i, t in enumerate(args) if isinstance(t, torch.Tensor)] + assert len(idxs) == 1 + view_idx = idxs[0] + + metadata = extract_tensor_metadata(output) + entry = _DispatchCacheEntry( + inplace_idx=None, metadata=metadata, view_idx=view_idx + ) + + # N.B.: Some checks for bypassing the cache would be performed on the + # output tensor synthesized from the cached metadata. As an optimization, + # we can synthesize a tensor here and do the checks on that instance. + # This approach keeps the (more frequent) cache-hit path as lightweight + # as possible. + synth_output = self._output_from_cache_entry(entry, func, args) + + # Make sure the dispatch_key_set from the synthesized output tensor will + # be the same. + synth_key_set = torch._C._dispatch_key_set(synth_output) + key_set = torch._C._dispatch_key_set(output) + if synth_key_set != key_set: + raise _BypassDispatchCache("dispatch_key_set mismatch") + + return entry + + def _output_from_cache_entry( + self, entry: _DispatchCacheEntry, func: OpOverload, args: Tuple[Any, ...] + ) -> FakeTensor: + """ + Create a new FakeTensor from the cache entry. + """ + if entry.inplace_idx is not None: + # This is an in-place op; return the aliased arg. + return args[entry.inplace_idx] + + # Synthesize a new FakeTensor with the cached metadata. + metadata = entry.metadata + assert not metadata.is_sparse + + empty = torch.empty_strided( + metadata.shape, + metadata.stride, + dtype=metadata.dtype, + layout=metadata.layout, + device="meta", + requires_grad=metadata.requires_grad, + ) + + if metadata.is_conj: + torch._C._set_conj(empty, True) + if metadata.is_neg: + torch._C._set_neg(empty, True) + + if func.is_view: + # For view ops, the storage should be the same as the tensor input. + storage = args[entry.view_idx].untyped_storage() + with in_kernel_invocation_manager(self): + empty.set_( + storage, metadata.storage_offset, metadata.shape, metadata.stride + ) + elif metadata.storage_offset != 0: + storage = empty.untyped_storage() + with in_kernel_invocation_manager(self): + empty.set_( + storage, metadata.storage_offset, metadata.shape, metadata.stride + ) + + return FakeTensor(self, empty, metadata.device) + + def _crosscheck_cache_output( + self, + output: FakeTensor, + func: OpOverload, + types: Tuple[Any, ...], + args: Tuple[Any, ...], + kwargs: Dict[str, Any], + ): + """ + Helper to validate that the output synthesized from the cache matches + the output created by normal dispatch. + """ + try: + true_output = self._dispatch_impl(func, types, args, kwargs) + except Exception as e: + raise RuntimeError( + f"FakeTensor cache crosscheck failure: func={func}, " + f"args={args}, kwargs={kwargs}: Dispatch raised={e}" + ) from e + try: + assert_metadata_eq(assert_eq, true_output, output) + except Exception as e: + raise RuntimeError( + f"FakeTensor cache crosscheck failure: func={func}, " + f"args={args}, kwargs={kwargs}" + ) from e + + def dispatch(self, func, types, args=(), kwargs=None): + kwargs = kwargs or {} + with no_dispatch(): + log.debug("%s %s %s", func, args, kwargs) + + if func in _DISPATCH_META_HANDLERS: + return _DISPATCH_META_HANDLERS[func](args) + + if log.getEffectiveLevel() <= logging.DEBUG: + log.debug( + "%sFakeTensorMode.__torch_dispatch__: %s", " " * RECURSION_COUNT, func + ) + # NOTE: incr is intentionally unused for a RAII pattern + incr = IncrementRecursionCount() + + # Some attribute queries that can be serviced directly + # See Note [is_coalesced is dispatched] + if func in _DISPATCH_HANDLE_DIRECTLY: + # NB: no_dispatch is ok here too, this func is very simple + with in_kernel_invocation_manager(self): + return func(*args, **kwargs) + + if self.cache_enabled: + return self._cached_dispatch_impl(func, types, args, kwargs) + else: + return self._dispatch_impl(func, types, args, kwargs) + + def _dispatch_impl(self, func, types, args, kwargs): + flat_args, args_spec = pytree.tree_flatten((args, kwargs)) + + flat_arg_fake_tensors = [ + t for t in flat_args if isinstance(t, FakeTensor) and self.is_our_fake(t) + ] + has_symbolic_sizes = any( + i._has_symbolic_sizes_strides for i in flat_arg_fake_tensors + ) or any(isinstance(a, torch.SymInt) for a in flat_args) + + converter = self.fake_tensor_converter + + def maybe_to_constant(t): + if isinstance(t, FakeTensor) and self.is_our_fake(t): + return t.constant + else: + return t + + # To constant propagate through these functions: + # 1, If this is a lift due to a torch.tensor call, + # the input tensor is guaranteed to be a + # constant, so we keep a copy of the original argument along so + # we can query it if we're asked to item() it at some later point. + # (Note that you can always call a lift fn manually, so we do + # have to check if there are any fake tensors!) + # 2, Some functions that allow Python numbers to bind to Tensors, e.g, torch.div + if (func in self.lift_fns and not flat_arg_fake_tensors) or ( + should_allow_numbers_as_tensors(func) + and not has_symbolic_sizes + and not flat_arg_fake_tensors + ): + assert all( + t.constant is not None for t in flat_arg_fake_tensors + ), f"{func} should not have fake inputs without constants" + const_flat_args = [maybe_to_constant(a) for a in flat_args] + const_args, const_kwargs = pytree.tree_unflatten(const_flat_args, args_spec) + out = func(*const_args, **const_kwargs) + if type(out) is torch.Tensor and self.may_turn_const(out): + # NB: not in_kernel_invocation_manager because we're doing real + # compute here + # NB: no_dispatch() here is VERY DANGEROUS (like, segfault + # dangerous) if this is actually a wrapper subclass tensor, + # therefore the exact type test above + with no_dispatch(): + out = out.clone() + return converter(self, out, make_constant=True) + + # See [subclass inputs] below + # NB: If you're seeing a mysterious infinite loop involving fake + # tensor, it might be related to this line. Though I'm not sure + # how you'll know to read this comment, as this line won't show up + # in the stack trace. + unrecognized_types = self.check_for_subclass(flat_args) + if unrecognized_types: + not_implemented_log.debug( + "FakeTensorMode unrecognized subclass(es): %s", unrecognized_types + ) + return NotImplemented + + # if we are in the dispatch mode, we will enter this function even if the inputs + # are not FakeTensors. For now, throw if any non-Fake Tensor inputs + # and just support constructors. + + # this is generated from torch.tensor(), which does not use the + # dispatcher, to allow wrapper subclasses to wrap the new tensor + if func in self.lift_fns: + assert len(kwargs) == 0 and len(args) == 1, f"{args} {kwargs}" + + if type(args[0]) is torch.Tensor: + return converter(self, args[0]) + + # Recompute flat_arg_fake_tensors here again in case some of the inputs + # were real tensors and fakified in validate_and_convert_non_fake_tensors + (flat_args, flat_arg_fake_tensors) = self.validate_and_convert_non_fake_tensors( + func, converter, flat_args, args_spec + ) + del args, kwargs # Invalidated + + # The current constant handling only support tracing systems + # (aot autograd, torchdynamo) where each operation is run consecutively. + # Because each operation is run in order, we can trace out and support + # sequences like: x = torch.tensor(0.); y = x.add_(1) + # Whenver a constant is written to but with inputs that cannot be evaluated + # statically, such as random_(), we invalidate all constants that alias the input + # We will rely on functionalization for use of fake tensors constants as persistent + # objects on an FX Graph. + + # We dispatch size/stride/numel on the FakeTensor not its constant, so bail on inplace_view + all_constant = all(e.constant is not None for e in flat_arg_fake_tensors) + if ( + torch.Tag.nondeterministic_seeded not in func.tags + and torch.Tag.inplace_view not in func.tags + and all_constant + and len(flat_arg_fake_tensors) != 0 + and not has_symbolic_sizes + ): + const_flat_args = [maybe_to_constant(a) for a in flat_args] + const_args, const_kwargs = pytree.tree_unflatten(const_flat_args, args_spec) + + # NB: not in_kernel_invocation_manager(self) as we want to do REAL + # compute + with no_dispatch(): + out = func(*const_args, **const_kwargs) + + flat_out = pytree.tree_leaves(out) + flat_out_tensors = [t for t in flat_out if isinstance(t, torch.Tensor)] + all_constant = all(self.may_turn_const(t) for t in flat_out_tensors) + + if all_constant: + return pytree.tree_map_only( + torch.Tensor, + lambda t: converter(self, t, make_constant=True), + out, + ) + + # we weren't able to turn outputs to constants, + # so invalidate all constants that might be aliases of the outputs + for ten in flat_out_tensors: + converter.invalidate_constant_aliases(ten) + + # we are falling through to running non constant tensors, any input constant that + # is written to must be invalidated + args, kwargs = pytree.tree_unflatten(flat_args, args_spec) + self.invalidate_written_to_constants(func, flat_arg_fake_tensors, args, kwargs) + + # Try for fastpath + if has_symbolic_sizes: + fast_impl = get_fast_op_impls().get(func) + if fast_impl is not None: + return fast_impl(self, *args, **kwargs) + + # If there's a Python meta, prefer that over the decomposition + from torch._decomp import meta_table as meta_table + + if func not in meta_table and not self.cpp_meta_supports_symint(func): + from torch._decomp import decomposition_table + + # Prefer Python decompositions over C++ ones + if func in decomposition_table and ( + has_symbolic_sizes + or ( + # TODO: Remove these exclusions, so that we can remove + # this leg entirely + torch_decomp_decompositions(func) + and all(not e.is_sparse for e in flat_arg_fake_tensors) + ) + ): + with self: + return decomposition_table[func](*args, **kwargs) + + with self: + # Decomposes CompositeImplicitAutograd ops + r = func.decompose(*args, **kwargs) + if r is not NotImplemented: + return r + + # prims already wrap FakeTensor inputs to FakeTensor outputs + # and do device logic, we dont need do anything but run them + # and ensure that Meta kernels are dispatched to (see) + # Fake Tensor Dispatch Keys + # TODO - we should be use the prim aten impl + # TODO - fix prims complex ops + if ( + "prims::" in func._schema.name + and hasattr(func, "prim_meta_impl") + and not stride_incorrect_op(func) + ): + with self: + return func.prim_meta_impl(*args, **kwargs) + + # Users can register FakeTensor rules for custom operators + # Call them if they exist. + maybe_abstract_impl = torch._library.simple_registry.singleton.find( + func.name() + ).abstract_impl.kernel + if maybe_abstract_impl: + ctx = torch._library.abstract_impl.AbstractImplCtx(self.shape_env, func) + with torch._library.abstract_impl.set_ctx_getter(lambda: ctx), self: + result = maybe_abstract_impl(*args, **kwargs) + return result + + # special handling for funcs registered through `register_op_impl`, + # e.g., manipulating args on constructor calls to construct meta tensors + # and then afterwards wrapping them to a FakeTensor + for run_impl_check, op_impl in op_implementations_checks: + if run_impl_check(func): + op_impl_out = op_impl(self, func, *args, **kwargs) + if op_impl_out != NotImplemented: + return op_impl_out + + def maybe_run_unsafe_fallback(error=None): + # We infer the meta of a custom ops that return None to just + # return None. custom ops are not allowed to mutate metadata + # of their inputs, so this is safe. + if can_generate_trivial_abstract_impl(func): + return None + # no meta kernel registered, fallback to kernel for the device + if has_symbolic_sizes or not self.can_run_unsafe_fallback(func): + raise UnsupportedOperatorException(func) + if error is None: + error = UnsupportedOperatorException(func) + return run_fallback_kernel(self, func, flat_args, args_spec, error) + + # Optimization: If there is no Meta kernel, it takes a surprisingly long + # amount of time to catch the NotImplementedError, so we check it here. + if not has_meta(func): + return maybe_run_unsafe_fallback() + + # run kernel registered to meta for func, which include + # python meta registrations, prims, decomps, and c++ meta fns (structured kernels) + # It's possible that the kernel will return NotImplementedError + try: + with in_kernel_invocation_manager(self): + r = func(*args, **kwargs) + except NotImplementedError as not_implemented_error: + return maybe_run_unsafe_fallback(not_implemented_error) + + return self.wrap_meta_outputs_with_default_device_logic( + r, func, flat_args, device=kwargs.get("device") + ) + + # WARNING: DO NOT add any additional namespaces/operators here if they refer to operators + # outside of the pytorch/pytorch library! Any pre-existing things here + # are either in the pytorch/pytorch library or have been grandfathered in. + # The fallback does not always work and MAY CRASH and emit unreadable error messages + # so it should not be allowed by default. + _can_run_unsafe_fallback_allowed_namespaces = ordered_set( + "debugprims", + "prims", + "aten", + "xla", + "vision", + "torchtext", + "torchaudio", + "quantized", + ) + + def can_run_unsafe_fallback(self, func: OpOverload): + if not self.allow_fallback_kernels: + return False + # It's OK to try the fallback for built-in ops (e.g. aten, prims) + # because we control and test these but the fallback leads to unexpected behavior + # in user-defined custom ops + return ( + func.namespace in self._can_run_unsafe_fallback_allowed_namespaces + or func.name() == "fbgemm::gmm" + ) + + # [subclass inputs] + # Suppose we enable fake tensor mode. This means that fake tensor + # mode will run first. But what if we do an operation that + # involves a tensor subclass that will desugar into normal tensor + # operations? Without returning NotImplemented, fake tensor mode will run first, + # decide that a conversion was made (since there was a non fake + # tensor argument), and report an error that converting non + # fake tensor is not supported. What we actually wanted to happen + # was to give the subclass a chance to figure out what it wants to + # before erroring out. Returning NotImplemented here allows this. + def check_for_subclass(self, flat_args): + def check(x): + return ( + isinstance(x, torch.Tensor) + and not isinstance(x, FakeTensor) + and type(x) is not torch.Tensor + and type(x) is not torch.nn.Parameter + ) + + return [type(x) for x in flat_args if check(x)] + + def validate_and_convert_non_fake_tensors( + self, func, converter, flat_args, args_spec + ): + """ + Checks if the list of tensors are fake tensors. + If not, try to convert them to fake tensors. + Returns the original args, kwargs, and a flattened list of (args, kwargs) that are fake tensors. + """ + flat_arg_fake_tensors = [] + + def validate(x): + if not isinstance(x, torch.Tensor): + return x + + nonlocal flat_arg_fake_tensors + if not self.is_our_fake(x): + if torch.Tag.inplace_view in func.tags: + args, kwargs = pytree.tree_unflatten(flat_args, args_spec) + raise Exception( + f"Can't call metadata mutating ops on non-Fake Tensor inputs. Found in {render_call(func, args, kwargs)}" + ) + if not self.allow_non_fake_inputs: + if isinstance(x, FakeTensor) and x.fake_mode is not self: + raise AssertionError("Mixing fake modes NYI") + args, kwargs = pytree.tree_unflatten(flat_args, args_spec) + raise Exception( + f"Please convert all Tensors to FakeTensors first or instantiate FakeTensorMode " + f"with 'allow_non_fake_inputs'. Found in {render_call(func, args, kwargs)}" + ) + + x = converter(self, x) + + flat_arg_fake_tensors.append(x) + return x + + validated_args = [validate(a) for a in flat_args] + return validated_args, flat_arg_fake_tensors + + def wrap_meta_outputs_with_default_device_logic(self, r, func, flat_args, device): + converter = self.fake_tensor_converter + + # Lazily initialized, in case there are no tensor returns + common_device = None + has_scalar_only_inputs = False + + def wrap(e): + nonlocal common_device + nonlocal has_scalar_only_inputs + + if isinstance(e, torch.Tensor) and common_device is None: + ( + common_device, + has_scalar_only_inputs, + ) = FakeTensor._find_common_device(func, flat_args) + + if self.is_our_fake(e): + torch._check( + e.device == common_device, + lambda: f"FakeTensor is wrapped to wrong device, found {e.device}, expected {common_device}", + ) + + if ( + isinstance(e, torch.Tensor) + and not self.is_our_fake(e) + and converter is not None + ): + if has_scalar_only_inputs: + # Under FakeTensorMode, op accepts scalar only inputs, such as aten.add/sub/mul/div, + # returns a real scalar tensor on CPU. See TensorMeta() in _prims/__init__.py for details. + # We thus directly convert real tensor to fake tensor. + return converter(self, e) + else: + return converter.from_meta_and_device( + self, e, device or common_device + ) + else: + return e + + return tree_map(wrap, r) + + _cpp_meta_supports_symint = ordered_set( + aten.empty.memory_format, + aten.empty_strided.default, + aten.as_strided_scatter.default, + aten.as_strided.default, + aten.as_strided_.default, + aten.zeros.default, + aten.detach.default, + aten.view_as_real.default, + aten.view_as_complex.default, + aten.set_.source_Storage_storage_offset, + aten._sparse_coo_tensor_with_dims_and_tensors.default, + ) + + def cpp_meta_supports_symint(self, func): + if torch.Tag.view_copy in func.tags: + return True + return func in self._cpp_meta_supports_symint + + lift_fns = ordered_set(aten.lift_fresh.default, aten.lift_fresh_copy.default) + + def may_turn_const(self, t): + return ( + t.numel() <= CONSTANT_NUMEL_LIMIT + and not t.is_sparse + and not self.is_our_fake(t) + and not t.device.type == "meta" + ) + + def invalidate_written_to_constants( + self, func, flat_arg_fake_tensors, args, kwargs + ): + any_constant = any(e.constant is not None for e in flat_arg_fake_tensors) + schema_info = get_schema_info(func) + if any_constant and schema_info.is_mutable(): + _, new_kwargs = normalize_function( + func, args=args, kwargs=kwargs, normalize_to_only_use_kwargs=True + ) + for k, v in new_kwargs.items(): + k = k if (k != "input" or schema_info.has_argument(k)) else "self" + if ( + self.is_our_fake(v) + and schema_info.is_mutable(k) + and v.constant is not None + ): + self.fake_tensor_converter.invalidate_constant_aliases(v.constant) + + def from_tensor( + self, + tensor, + *, + static_shapes=None, + source: Optional[Source] = None, + symbolic_context=None, + # Setting this flag will force FakeTensorMode to return `None` if attempting to convert a tensor we have not + # seen before. + memoized_only=False, + ): + shape_env = self.shape_env + if static_shapes is None: + static_shapes = self.static_shapes + if static_shapes: + assert ( + symbolic_context is None + ), "cannot set both static_shapes and symbolic_context" + shape_env = None + # see note [Tensor Fakification and Symbol Caching] + if not symbolic_context and not source and not static_shapes: + if tracing_context := torch._guards.TracingContext.try_get(): + if tensor in tracing_context.tensor_to_context: + symbolic_context = tracing_context.tensor_to_context[tensor] + source = symbolic_context.tensor_source + return self.fake_tensor_converter( + self, + tensor, + shape_env=shape_env, + source=source, + symbolic_context=symbolic_context, + memoized_only=memoized_only, + ) + + +# NB: returns fake tensors +def run_fallback_kernel( + fake_mode, func, flat_args, args_spec, orig_not_implemented_exception +): + # these should all be supported, just to be safe + # avoid fallback for operators which inplace modify metadata + # because the input fake tensors would be umodified + if torch.Tag.inplace_view in func.tags: + raise orig_not_implemented_exception + + inp_impls = {} + + # Don't use in_kernel_invocation_manager(fake_mode) as we want to do + # REAL compute (not with meta device) + with no_dispatch(): + + def to_real_tensor(e): + if fake_mode.is_our_fake(e): + out = torch.zeros_like(e, device=e.fake_device) + if e.is_sparse: + out._coalesced_(e.is_coalesced()) + inp_impls[id(out)] = e + return out + return e + + flat_args = [to_real_tensor(a) for a in flat_args] + args, kwargs = pytree.tree_unflatten(flat_args, args_spec) + + r = func(*args, **kwargs) + + tensor_impls = set() + storages = set() + + for e in flat_args: + if isinstance(e, torch.Tensor): + if not e.is_sparse: + storages.add(e._typed_storage()._cdata) + + # TODO: also check metadata change on inputs + # proper aliasing/metadata relationship between outputs and inputs will + # not be set up, bc of conversion to device, unless we can reuse an + # input impl + + def map_out(e): + if id(e) not in inp_impls and ( + isinstance(e, torch.Tensor) + and not e.is_sparse + and e._typed_storage()._cdata in storages + ): + raise orig_not_implemented_exception + + if isinstance(e, torch.Tensor): + if id(e) in inp_impls: + return inp_impls[id(e)] + else: + return fake_mode.fake_tensor_converter(fake_mode, e) + else: + return e + + return pytree.tree_map(map_out, r) + + +def can_generate_trivial_abstract_impl(op: torch._ops.OpOverload) -> bool: + assert isinstance(op, torch._ops.OpOverload) + if torch._library.utils.is_builtin(op): + # We control the built-ins. These may (in rare cases) + # do input metadata mutation (which we have banned on custom ops) + return False + schema = op._schema + # It's suspicious if the op is not mutable but returns nothing, so we return False out of an abundance of caution + if not schema.is_mutable: + return False + if len(schema.returns) > 0: + return False + # If the op returns nothing, then it has a trivial abstract impl. + return True + + +# Just for use to allow copying a module to fake tensors, +# does not apply elsewhere +class FakeCopyMode(TorchFunctionMode): + def __init__(self, fake_mode): + self.fake_mode = fake_mode + + def __torch_function__(self, func, types, args=(), kwargs=None): + kwargs = kwargs if kwargs else {} + + # clone will get called in Parameter deepcopy + if func == torch._C.TensorBase.clone: + return func( + self.fake_mode.from_tensor(args[0], static_shapes=True), **kwargs + ) + elif func == torch.Tensor.__deepcopy__: + assert len(args) == 2 and len(kwargs) == 0 + tensor, memo = args + + if id(tensor) in memo: + return memo[id(tensor)] + + out = self.fake_mode.from_tensor(tensor, static_shapes=True) + memo[id(tensor)] = out + return out + else: + with torch._C.DisableTorchFunctionSubclass(): + return func(*args, **kwargs) + + +def _device_handler(args): + # NB: Don't use is_our_fake, just serve the fake information + # as is. Notice we don't use 'self'; we use args[0].fake_mode + # because they may not be the same. It would also be possible + # to return NotImplemented here, in which case the FakeTensor + # handler on args[0] would handle it, but we're being nice and + # short-circuiting quickly. + assert len(args) == 1 and isinstance(args[0], FakeTensor) + if args[0].fake_mode.in_kernel_invocation: + return torch.device("meta") + else: + return args[0].fake_device + + +_DISPATCH_META_HANDLERS = { + torch.ops.prim.device.default: _device_handler, + torch.ops.aten.size.default: lambda args: tuple(int(s) for s in args[0].size()), + torch.ops.aten.stride.default: lambda args: tuple(int(s) for s in args[0].stride()), + torch.ops.aten.storage_offset.default: lambda args: int(args[0].storage_offset()), +} + +_DISPATCH_HANDLE_DIRECTLY = ordered_set( + torch.ops.aten.is_coalesced.default, + torch.ops.aten.dense_dim.default, + torch.ops.aten.sparse_dim.default, +) + +from torch._subclasses.fake_impls import ( # noqa: F401 + _device_not_kwarg_ops, # noqa: F401 + _is_tensor_constructor, # noqa: F401 + _like_tensor_constructors, # noqa: F401 + contains_tensor_types, # noqa: F401 + get_fast_op_impls, + has_meta, + op_implementations_checks, + stride_incorrect_op, +) diff --git a/shared/package-files/8a/8a65cd4ab44112e1433a097daee7ce8600047995f3289f13d758bb001c06a553/__init__.py b/shared/package-files/8a/8a65cd4ab44112e1433a097daee7ce8600047995f3289f13d758bb001c06a553/__init__.py new file mode 100644 index 0000000000000000000000000000000000000000..a8fa5d78994f65a134620a11971afeb855b0c9e1 --- /dev/null +++ b/shared/package-files/8a/8a65cd4ab44112e1433a097daee7ce8600047995f3289f13d758bb001c06a553/__init__.py @@ -0,0 +1,210 @@ +# Copyright (c) 2017-present, Gregory Szorc +# All rights reserved. +# +# This software may be modified and distributed under the terms +# of the BSD license. See the LICENSE file for details. + +"""Python interface to the Zstandard (zstd) compression library.""" + +from __future__ import absolute_import, unicode_literals + +# This module serves 2 roles: +# +# 1) Export the C or CFFI "backend" through a central module. +# 2) Implement additional functionality built on top of C or CFFI backend. + +import builtins +import io +import os +import platform + +from typing import ByteString + +# Some Python implementations don't support C extensions. That's why we have +# a CFFI implementation in the first place. The code here import one of our +# "backends" then re-exports the symbols from this module. For convenience, +# we support falling back to the CFFI backend if the C extension can't be +# imported. But for performance reasons, we only do this on unknown Python +# implementation. Notably, for CPython we require the C extension by default. +# Because someone will inevitably want special behavior, the behavior is +# configurable via an environment variable. A potentially better way to handle +# this is to import a special ``__importpolicy__`` module or something +# defining a variable and `setup.py` could write the file with whatever +# policy was specified at build time. Until someone needs it, we go with +# the hacky but simple environment variable approach. +_module_policy = os.environ.get("PYTHON_ZSTANDARD_IMPORT_POLICY", "default") + +if _module_policy == "default": + if platform.python_implementation() in ("CPython",): + from .backend_c import * # type: ignore + + backend = "cext" + elif platform.python_implementation() in ("PyPy",): + from .backend_cffi import * # type: ignore + + backend = "cffi" + else: + try: + from .backend_c import * + + backend = "cext" + except ImportError: + from .backend_cffi import * + + backend = "cffi" +elif _module_policy == "cffi_fallback": + try: + from .backend_c import * + + backend = "cext" + except ImportError: + from .backend_cffi import * + + backend = "cffi" +elif _module_policy == "rust": + from .backend_rust import * # type: ignore + + backend = "rust" +elif _module_policy == "cext": + from .backend_c import * + + backend = "cext" +elif _module_policy == "cffi": + from .backend_cffi import * + + backend = "cffi" +else: + raise ImportError( + "unknown module import policy: %s; use default, cffi_fallback, " + "cext, or cffi" % _module_policy + ) + +# Keep this in sync with python-zstandard.h, rust-ext/src/lib.rs, and debian/changelog. +__version__ = "0.19.0" + +_MODE_CLOSED = 0 +_MODE_READ = 1 +_MODE_WRITE = 2 + + +def open( + filename, + mode="rb", + cctx=None, + dctx=None, + encoding=None, + errors=None, + newline=None, + closefd=None, +): + """Create a file object with zstd (de)compression. + + The object returned from this function will be a + :py:class:`ZstdDecompressionReader` if opened for reading in binary mode, + a :py:class:`ZstdCompressionWriter` if opened for writing in binary mode, + or an ``io.TextIOWrapper`` if opened for reading or writing in text mode. + + :param filename: + ``bytes``, ``str``, or ``os.PathLike`` defining a file to open or a + file object (with a ``read()`` or ``write()`` method). + :param mode: + ``str`` File open mode. Accepts any of the open modes recognized by + ``open()``. + :param cctx: + ``ZstdCompressor`` to use for compression. If not specified and file + is opened for writing, the default ``ZstdCompressor`` will be used. + :param dctx: + ``ZstdDecompressor`` to use for decompression. If not specified and file + is opened for reading, the default ``ZstdDecompressor`` will be used. + :param encoding: + ``str`` that defines text encoding to use when file is opened in text + mode. + :param errors: + ``str`` defining text encoding error handling mode. + :param newline: + ``str`` defining newline to use in text mode. + :param closefd: + ``bool`` whether to close the file when the returned object is closed. + Only used if a file object is passed. If a filename is specified, the + opened file is always closed when the returned object is closed. + """ + normalized_mode = mode.replace("t", "") + + if normalized_mode in ("r", "rb"): + dctx = dctx or ZstdDecompressor() + open_mode = "r" + raw_open_mode = "rb" + elif normalized_mode in ("w", "wb", "a", "ab", "x", "xb"): + cctx = cctx or ZstdCompressor() + open_mode = "w" + raw_open_mode = normalized_mode + if not raw_open_mode.endswith("b"): + raw_open_mode = raw_open_mode + "b" + else: + raise ValueError("Invalid mode: {!r}".format(mode)) + + if hasattr(os, "PathLike"): + types = (str, bytes, os.PathLike) + else: + types = (str, bytes) + + if isinstance(filename, types): # type: ignore + inner_fh = builtins.open(filename, raw_open_mode) + closefd = True + elif hasattr(filename, "read") or hasattr(filename, "write"): + inner_fh = filename + closefd = bool(closefd) + else: + raise TypeError( + "filename must be a str, bytes, file or PathLike object" + ) + + if open_mode == "r": + fh = dctx.stream_reader(inner_fh, closefd=closefd) + elif open_mode == "w": + fh = cctx.stream_writer(inner_fh, closefd=closefd) + else: + raise RuntimeError("logic error in zstandard.open() handling open mode") + + if "b" not in normalized_mode: + return io.TextIOWrapper( + fh, encoding=encoding, errors=errors, newline=newline + ) + else: + return fh + + +def compress(data: ByteString, level: int = 3) -> bytes: + """Compress source data using the zstd compression format. + + This performs one-shot compression using basic/default compression + settings. + + This method is provided for convenience and is equivalent to calling + ``ZstdCompressor(level=level).compress(data)``. + + If you find yourself calling this function in a tight loop, + performance will be greater if you construct a single ``ZstdCompressor`` + and repeatedly call ``compress()`` on it. + """ + cctx = ZstdCompressor(level=level) + + return cctx.compress(data) + + +def decompress(data: ByteString, max_output_size: int = 0) -> bytes: + """Decompress a zstd frame into its original data. + + This performs one-shot decompression using basic/default compression + settings. + + This method is provided for convenience and is equivalent to calling + ``ZstdDecompressor().decompress(data, max_output_size=max_output_size)``. + + If you find yourself calling this function in a tight loop, performance + will be greater if you construct a single ``ZstdDecompressor`` and + repeatedly call ``decompress()`` on it. + """ + dctx = ZstdDecompressor() + + return dctx.decompress(data, max_output_size=max_output_size) diff --git a/shared/package-files/8a/8a6d784ae638a577ea607bdde146a6412493897b0af0638fec66bee70f97445b/test_copy.py b/shared/package-files/8a/8a6d784ae638a577ea607bdde146a6412493897b0af0638fec66bee70f97445b/test_copy.py new file mode 100644 index 0000000000000000000000000000000000000000..23dbe85075916dbb901afdcf8267c8877db3b3f8 --- /dev/null +++ b/shared/package-files/8a/8a6d784ae638a577ea607bdde146a6412493897b0af0638fec66bee70f97445b/test_copy.py @@ -0,0 +1,91 @@ +import numpy as np +import pytest + +from pandas import ( + Series, + Timestamp, +) +import pandas._testing as tm + + +class TestCopy: + @pytest.mark.parametrize("deep", ["default", None, False, True]) + def test_copy(self, deep, using_copy_on_write, warn_copy_on_write): + ser = Series(np.arange(10), dtype="float64") + + # default deep is True + if deep == "default": + ser2 = ser.copy() + else: + ser2 = ser.copy(deep=deep) + + if using_copy_on_write: + # INFO(CoW) a shallow copy doesn't yet copy the data + # but parent will not be modified (CoW) + if deep is None or deep is False: + assert np.may_share_memory(ser.values, ser2.values) + else: + assert not np.may_share_memory(ser.values, ser2.values) + + with tm.assert_cow_warning(warn_copy_on_write and deep is False): + ser2[::2] = np.nan + + if deep is not False or using_copy_on_write: + # Did not modify original Series + assert np.isnan(ser2[0]) + assert not np.isnan(ser[0]) + else: + # we DID modify the original Series + assert np.isnan(ser2[0]) + assert np.isnan(ser[0]) + + @pytest.mark.filterwarnings("ignore:Setting a value on a view:FutureWarning") + @pytest.mark.parametrize("deep", ["default", None, False, True]) + def test_copy_tzaware(self, deep, using_copy_on_write): + # GH#11794 + # copy of tz-aware + expected = Series([Timestamp("2012/01/01", tz="UTC")]) + expected2 = Series([Timestamp("1999/01/01", tz="UTC")]) + + ser = Series([Timestamp("2012/01/01", tz="UTC")]) + + if deep == "default": + ser2 = ser.copy() + else: + ser2 = ser.copy(deep=deep) + + if using_copy_on_write: + # INFO(CoW) a shallow copy doesn't yet copy the data + # but parent will not be modified (CoW) + if deep is None or deep is False: + assert np.may_share_memory(ser.values, ser2.values) + else: + assert not np.may_share_memory(ser.values, ser2.values) + + ser2[0] = Timestamp("1999/01/01", tz="UTC") + + # default deep is True + if deep is not False or using_copy_on_write: + # Did not modify original Series + tm.assert_series_equal(ser2, expected2) + tm.assert_series_equal(ser, expected) + else: + # we DID modify the original Series + tm.assert_series_equal(ser2, expected2) + tm.assert_series_equal(ser, expected2) + + def test_copy_name(self, datetime_series): + result = datetime_series.copy() + assert result.name == datetime_series.name + + def test_copy_index_name_checking(self, datetime_series): + # don't want to be able to modify the index stored elsewhere after + # making a copy + + datetime_series.index.name = None + assert datetime_series.index.name is None + assert datetime_series is datetime_series + + cp = datetime_series.copy() + cp.index.name = "foo" + assert datetime_series.index.name is None diff --git a/shared/package-files/8a/8a7397c2e2ad8cabf5cff7a588f65222a8d2b7ac21b6ec613de1b56298d4fc14/Pontianak b/shared/package-files/8a/8a7397c2e2ad8cabf5cff7a588f65222a8d2b7ac21b6ec613de1b56298d4fc14/Pontianak new file mode 100644 index 0000000000000000000000000000000000000000..12ce24cbeae404efe6921081d21289be452ff88d Binary files /dev/null and b/shared/package-files/8a/8a7397c2e2ad8cabf5cff7a588f65222a8d2b7ac21b6ec613de1b56298d4fc14/Pontianak differ diff --git a/shared/package-files/8a/8a749d44a0c0fb59966c3d92d9693535199646679f898c79610c493068a6933e/enums.pyi b/shared/package-files/8a/8a749d44a0c0fb59966c3d92d9693535199646679f898c79610c493068a6933e/enums.pyi new file mode 100644 index 0000000000000000000000000000000000000000..08116f112432996e5d164a2cb84d85f28a2d4ee2 --- /dev/null +++ b/shared/package-files/8a/8a749d44a0c0fb59966c3d92d9693535199646679f898c79610c493068a6933e/enums.pyi @@ -0,0 +1,39 @@ +class InputState(object): + PURE_ASCII: int + ESC_ASCII: int + HIGH_BYTE: int + +class LanguageFilter(object): + CHINESE_SIMPLIFIED: int + CHINESE_TRADITIONAL: int + JAPANESE: int + KOREAN: int + NON_CJK: int + ALL: int + CHINESE: int + CJK: int + +class ProbingState(object): + DETECTING: int + FOUND_IT: int + NOT_ME: int + +class MachineState(object): + START: int + ERROR: int + ITS_ME: int + +class SequenceLikelihood(object): + NEGATIVE: int + UNLIKELY: int + LIKELY: int + POSITIVE: int + @classmethod + def get_num_categories(cls) -> int: ... + +class CharacterCategory(object): + UNDEFINED: int + LINE_BREAK: int + SYMBOL: int + DIGIT: int + CONTROL: int diff --git a/shared/package-files/8a/8a7e3a991bb1daefe7d5abf44fa86b5588a1b1771027512935e10230f3afcf54/floats.py b/shared/package-files/8a/8a7e3a991bb1daefe7d5abf44fa86b5588a1b1771027512935e10230f3afcf54/floats.py new file mode 100644 index 0000000000000000000000000000000000000000..6c4210e997b7ddd768c5e591ba34cc072cf04fb9 --- /dev/null +++ b/shared/package-files/8a/8a7e3a991bb1daefe7d5abf44fa86b5588a1b1771027512935e10230f3afcf54/floats.py @@ -0,0 +1,165 @@ +# This file is part of Hypothesis, which may be found at +# https://github.com/HypothesisWorks/hypothesis/ +# +# Copyright the Hypothesis Authors. +# Individual contributors are listed in AUTHORS.rst and the git log. +# +# This Source Code Form is subject to the terms of the Mozilla Public License, +# v. 2.0. If a copy of the MPL was not distributed with this file, You can +# obtain one at https://mozilla.org/MPL/2.0/. + +import math +import struct +from sys import float_info +from typing import Callable, Optional, SupportsFloat + +# Format codes for (int, float) sized types, used for byte-wise casts. +# See https://docs.python.org/3/library/struct.html#format-characters +STRUCT_FORMATS = { + 16: ("!H", "!e"), + 32: ("!I", "!f"), + 64: ("!Q", "!d"), +} + + +def reinterpret_bits(x, from_, to): + return struct.unpack(to, struct.pack(from_, x))[0] + + +def float_of(x, width): + assert width in (16, 32, 64) + if width == 64: + return float(x) + elif width == 32: + return reinterpret_bits(float(x), "!f", "!f") + else: + return reinterpret_bits(float(x), "!e", "!e") + + +def is_negative(x: SupportsFloat) -> bool: + try: + return math.copysign(1.0, x) < 0 + except TypeError: + raise TypeError( + f"Expected float but got {x!r} of type {type(x).__name__}" + ) from None + + +def count_between_floats(x, y, width=64): + assert x <= y + if is_negative(x): + if is_negative(y): + return float_to_int(x, width) - float_to_int(y, width) + 1 + else: + return count_between_floats(x, -0.0, width) + count_between_floats( + 0.0, y, width + ) + else: + assert not is_negative(y) + return float_to_int(y, width) - float_to_int(x, width) + 1 + + +def float_to_int(value, width=64): + fmt_int, fmt_flt = STRUCT_FORMATS[width] + return reinterpret_bits(value, fmt_flt, fmt_int) + + +def int_to_float(value, width=64): + fmt_int, fmt_flt = STRUCT_FORMATS[width] + return reinterpret_bits(value, fmt_int, fmt_flt) + + +def next_up(value, width=64): + """Return the first float larger than finite `val` - IEEE 754's `nextUp`. + + From https://stackoverflow.com/a/10426033, with thanks to Mark Dickinson. + """ + assert isinstance(value, float), f"{value!r} of type {type(value)}" + if math.isnan(value) or (math.isinf(value) and value > 0): + return value + if value == 0.0 and is_negative(value): + return 0.0 + fmt_int, fmt_flt = STRUCT_FORMATS[width] + # Note: n is signed; float_to_int returns unsigned + fmt_int = fmt_int.lower() + n = reinterpret_bits(value, fmt_flt, fmt_int) + if n >= 0: + n += 1 + else: + n -= 1 + return reinterpret_bits(n, fmt_int, fmt_flt) + + +def next_down(value, width=64): + return -next_up(-value, width) + + +def next_down_normal(value, width, allow_subnormal): + value = next_down(value, width) + if (not allow_subnormal) and 0 < abs(value) < width_smallest_normals[width]: + return 0.0 if value > 0 else -width_smallest_normals[width] + return value + + +def next_up_normal(value, width, allow_subnormal): + return -next_down_normal(-value, width, allow_subnormal) + + +# Smallest positive non-zero numbers that is fully representable by an +# IEEE-754 float, calculated with the width's associated minimum exponent. +# Values from https://en.wikipedia.org/wiki/IEEE_754#Basic_and_interchange_formats +width_smallest_normals = { + 16: 2 ** -(2 ** (5 - 1) - 2), + 32: 2 ** -(2 ** (8 - 1) - 2), + 64: 2 ** -(2 ** (11 - 1) - 2), +} +assert width_smallest_normals[64] == float_info.min + + +def make_float_clamper( + min_float: float = 0.0, + max_float: float = math.inf, + *, + allow_zero: bool = False, # Allows +0.0 (even if minfloat > 0) +) -> Optional[Callable[[float], float]]: + """ + Return a function that clamps positive floats into the given bounds. + + Returns None when no values are allowed (min > max and zero is not allowed). + """ + if max_float < min_float: + if allow_zero: + min_float = max_float = 0.0 + else: + return None + + range_size = min(max_float - min_float, float_info.max) + mantissa_mask = (1 << 52) - 1 + + def float_clamper(float_val: float) -> float: + if min_float <= float_val <= max_float: + return float_val + if float_val == 0.0 and allow_zero: + return float_val + # Outside bounds; pick a new value, sampled from the allowed range, + # using the mantissa bits. + mant = float_to_int(float_val) & mantissa_mask + float_val = min_float + range_size * (mant / mantissa_mask) + # Re-enforce the bounds (just in case of floating point arithmetic error) + return max(min_float, min(max_float, float_val)) + + return float_clamper + + +def sign_aware_lte(x: float, y: float) -> bool: + """Less-than-or-equals, but strictly orders -0.0 and 0.0""" + if x == 0.0 == y: + return math.copysign(1.0, x) <= math.copysign(1.0, y) + else: + return x <= y + + +SMALLEST_SUBNORMAL = next_up(0.0) +SIGNALING_NAN = int_to_float(0x7FF8_0000_0000_0001) # nonzero mantissa +assert math.isnan(SIGNALING_NAN) +assert math.copysign(1, SIGNALING_NAN) == 1 diff --git a/shared/package-files/8a/8a7ea5835a70700835374f0c03795076bde59e6dbe6a8532dc1466e988ff3814/test_degree_seq.py b/shared/package-files/8a/8a7ea5835a70700835374f0c03795076bde59e6dbe6a8532dc1466e988ff3814/test_degree_seq.py new file mode 100644 index 0000000000000000000000000000000000000000..39ed59a5f32270242b8d069c57229d3e10ba7f43 --- /dev/null +++ b/shared/package-files/8a/8a7ea5835a70700835374f0c03795076bde59e6dbe6a8532dc1466e988ff3814/test_degree_seq.py @@ -0,0 +1,230 @@ +import pytest + +import networkx as nx + + +class TestConfigurationModel: + """Unit tests for the :func:`~networkx.configuration_model` + function. + + """ + + def test_empty_degree_sequence(self): + """Tests that an empty degree sequence yields the null graph.""" + G = nx.configuration_model([]) + assert len(G) == 0 + + def test_degree_zero(self): + """Tests that a degree sequence of all zeros yields the empty + graph. + + """ + G = nx.configuration_model([0, 0, 0]) + assert len(G) == 3 + assert G.number_of_edges() == 0 + + def test_degree_sequence(self): + """Tests that the degree sequence of the generated graph matches + the input degree sequence. + + """ + deg_seq = [5, 3, 3, 3, 3, 2, 2, 2, 1, 1, 1] + G = nx.configuration_model(deg_seq, seed=12345678) + assert sorted((d for n, d in G.degree()), reverse=True) == [ + 5, + 3, + 3, + 3, + 3, + 2, + 2, + 2, + 1, + 1, + 1, + ] + assert sorted((d for n, d in G.degree(range(len(deg_seq)))), reverse=True) == [ + 5, + 3, + 3, + 3, + 3, + 2, + 2, + 2, + 1, + 1, + 1, + ] + + def test_random_seed(self): + """Tests that each call with the same random seed generates the + same graph. + + """ + deg_seq = [3] * 12 + G1 = nx.configuration_model(deg_seq, seed=1000) + G2 = nx.configuration_model(deg_seq, seed=1000) + assert nx.is_isomorphic(G1, G2) + G1 = nx.configuration_model(deg_seq, seed=10) + G2 = nx.configuration_model(deg_seq, seed=10) + assert nx.is_isomorphic(G1, G2) + + def test_directed_disallowed(self): + """Tests that attempting to create a configuration model graph + using a directed graph yields an exception. + + """ + with pytest.raises(nx.NetworkXNotImplemented): + nx.configuration_model([], create_using=nx.DiGraph()) + + def test_odd_degree_sum(self): + """Tests that a degree sequence whose sum is odd yields an + exception. + + """ + with pytest.raises(nx.NetworkXError): + nx.configuration_model([1, 2]) + + +def test_directed_configuration_raise_unequal(): + with pytest.raises(nx.NetworkXError): + zin = [5, 3, 3, 3, 3, 2, 2, 2, 1, 1] + zout = [5, 3, 3, 3, 3, 2, 2, 2, 1, 2] + nx.directed_configuration_model(zin, zout) + + +def test_directed_configuration_model(): + G = nx.directed_configuration_model([], [], seed=0) + assert len(G) == 0 + + +def test_simple_directed_configuration_model(): + G = nx.directed_configuration_model([1, 1], [1, 1], seed=0) + assert len(G) == 2 + + +def test_expected_degree_graph_empty(): + # empty graph has empty degree sequence + deg_seq = [] + G = nx.expected_degree_graph(deg_seq) + assert dict(G.degree()) == {} + + +def test_expected_degree_graph(): + # test that fixed seed delivers the same graph + deg_seq = [3, 3, 3, 3, 3, 3, 3, 3, 3, 3, 3, 3] + G1 = nx.expected_degree_graph(deg_seq, seed=1000) + assert len(G1) == 12 + + G2 = nx.expected_degree_graph(deg_seq, seed=1000) + assert nx.is_isomorphic(G1, G2) + + G1 = nx.expected_degree_graph(deg_seq, seed=10) + G2 = nx.expected_degree_graph(deg_seq, seed=10) + assert nx.is_isomorphic(G1, G2) + + +def test_expected_degree_graph_selfloops(): + deg_seq = [3, 3, 3, 3, 3, 3, 3, 3, 3, 3, 3, 3] + G1 = nx.expected_degree_graph(deg_seq, seed=1000, selfloops=False) + G2 = nx.expected_degree_graph(deg_seq, seed=1000, selfloops=False) + assert nx.is_isomorphic(G1, G2) + assert len(G1) == 12 + + +def test_expected_degree_graph_skew(): + deg_seq = [10, 2, 2, 2, 2] + G1 = nx.expected_degree_graph(deg_seq, seed=1000) + G2 = nx.expected_degree_graph(deg_seq, seed=1000) + assert nx.is_isomorphic(G1, G2) + assert len(G1) == 5 + + +def test_havel_hakimi_construction(): + G = nx.havel_hakimi_graph([]) + assert len(G) == 0 + + z = [1000, 3, 3, 3, 3, 2, 2, 2, 1, 1, 1] + pytest.raises(nx.NetworkXError, nx.havel_hakimi_graph, z) + z = ["A", 3, 3, 3, 3, 2, 2, 2, 1, 1, 1] + pytest.raises(nx.NetworkXError, nx.havel_hakimi_graph, z) + + z = [5, 4, 3, 3, 3, 2, 2, 2] + G = nx.havel_hakimi_graph(z) + G = nx.configuration_model(z) + z = [6, 5, 4, 4, 2, 1, 1, 1] + pytest.raises(nx.NetworkXError, nx.havel_hakimi_graph, z) + + z = [10, 3, 3, 3, 3, 2, 2, 2, 2, 2, 2] + + G = nx.havel_hakimi_graph(z) + + pytest.raises(nx.NetworkXError, nx.havel_hakimi_graph, z, create_using=nx.DiGraph()) + + +def test_directed_havel_hakimi(): + # Test range of valid directed degree sequences + n, r = 100, 10 + p = 1.0 / r + for i in range(r): + G1 = nx.erdos_renyi_graph(n, p * (i + 1), None, True) + din1 = [d for n, d in G1.in_degree()] + dout1 = [d for n, d in G1.out_degree()] + G2 = nx.directed_havel_hakimi_graph(din1, dout1) + din2 = [d for n, d in G2.in_degree()] + dout2 = [d for n, d in G2.out_degree()] + assert sorted(din1) == sorted(din2) + assert sorted(dout1) == sorted(dout2) + + # Test non-graphical sequence + dout = [1000, 3, 3, 3, 3, 2, 2, 2, 1, 1, 1] + din = [103, 102, 102, 102, 102, 102, 102, 102, 102, 102] + pytest.raises(nx.exception.NetworkXError, nx.directed_havel_hakimi_graph, din, dout) + # Test valid sequences + dout = [1, 1, 1, 1, 1, 2, 2, 2, 3, 4] + din = [2, 2, 2, 2, 2, 2, 2, 2, 0, 2] + G2 = nx.directed_havel_hakimi_graph(din, dout) + dout2 = (d for n, d in G2.out_degree()) + din2 = (d for n, d in G2.in_degree()) + assert sorted(dout) == sorted(dout2) + assert sorted(din) == sorted(din2) + # Test unequal sums + din = [2, 2, 2, 2, 2, 2, 2, 2, 2, 2] + pytest.raises(nx.exception.NetworkXError, nx.directed_havel_hakimi_graph, din, dout) + # Test for negative values + din = [2, 2, 2, 2, 2, 2, 2, 2, 2, 2, -2] + pytest.raises(nx.exception.NetworkXError, nx.directed_havel_hakimi_graph, din, dout) + + +def test_degree_sequence_tree(): + z = [1, 1, 1, 1, 1, 2, 2, 2, 3, 4] + G = nx.degree_sequence_tree(z) + assert len(G) == len(z) + assert len(list(G.edges())) == sum(z) / 2 + + pytest.raises( + nx.NetworkXError, nx.degree_sequence_tree, z, create_using=nx.DiGraph() + ) + + z = [1, 1, 1, 1, 1, 1, 2, 2, 2, 3, 4] + pytest.raises(nx.NetworkXError, nx.degree_sequence_tree, z) + + +def test_random_degree_sequence_graph(): + d = [1, 2, 2, 3] + G = nx.random_degree_sequence_graph(d, seed=42) + assert d == sorted(d for n, d in G.degree()) + + +def test_random_degree_sequence_graph_raise(): + z = [1, 1, 1, 1, 1, 1, 2, 2, 2, 3, 4] + pytest.raises(nx.NetworkXUnfeasible, nx.random_degree_sequence_graph, z) + + +def test_random_degree_sequence_large(): + G1 = nx.fast_gnp_random_graph(100, 0.1, seed=42) + d1 = (d for n, d in G1.degree()) + G2 = nx.random_degree_sequence_graph(d1, seed=42) + d2 = (d for n, d in G2.degree()) + assert sorted(d1) == sorted(d2) diff --git a/shared/package-files/8a/8a81de1eb5b009635a5d7d629c798755b96f73885a3bb017b230a9dc67d6bf1d/exceptions.py b/shared/package-files/8a/8a81de1eb5b009635a5d7d629c798755b96f73885a3bb017b230a9dc67d6bf1d/exceptions.py new file mode 100644 index 0000000000000000000000000000000000000000..082ebe8f221d4e7e980e4d321c0a0c5da033b124 --- /dev/null +++ b/shared/package-files/8a/8a81de1eb5b009635a5d7d629c798755b96f73885a3bb017b230a9dc67d6bf1d/exceptions.py @@ -0,0 +1,166 @@ +import typing as t + +if t.TYPE_CHECKING: + from .runtime import Undefined + + +class TemplateError(Exception): + """Baseclass for all template errors.""" + + def __init__(self, message: t.Optional[str] = None) -> None: + super().__init__(message) + + @property + def message(self) -> t.Optional[str]: + return self.args[0] if self.args else None + + +class TemplateNotFound(IOError, LookupError, TemplateError): + """Raised if a template does not exist. + + .. versionchanged:: 2.11 + If the given name is :class:`Undefined` and no message was + provided, an :exc:`UndefinedError` is raised. + """ + + # Silence the Python warning about message being deprecated since + # it's not valid here. + message: t.Optional[str] = None + + def __init__( + self, + name: t.Optional[t.Union[str, "Undefined"]], + message: t.Optional[str] = None, + ) -> None: + IOError.__init__(self, name) + + if message is None: + from .runtime import Undefined + + if isinstance(name, Undefined): + name._fail_with_undefined_error() + + message = name + + self.message = message + self.name = name + self.templates = [name] + + def __str__(self) -> str: + return str(self.message) + + +class TemplatesNotFound(TemplateNotFound): + """Like :class:`TemplateNotFound` but raised if multiple templates + are selected. This is a subclass of :class:`TemplateNotFound` + exception, so just catching the base exception will catch both. + + .. versionchanged:: 2.11 + If a name in the list of names is :class:`Undefined`, a message + about it being undefined is shown rather than the empty string. + + .. versionadded:: 2.2 + """ + + def __init__( + self, + names: t.Sequence[t.Union[str, "Undefined"]] = (), + message: t.Optional[str] = None, + ) -> None: + if message is None: + from .runtime import Undefined + + parts = [] + + for name in names: + if isinstance(name, Undefined): + parts.append(name._undefined_message) + else: + parts.append(name) + + parts_str = ", ".join(map(str, parts)) + message = f"none of the templates given were found: {parts_str}" + + super().__init__(names[-1] if names else None, message) + self.templates = list(names) + + +class TemplateSyntaxError(TemplateError): + """Raised to tell the user that there is a problem with the template.""" + + def __init__( + self, + message: str, + lineno: int, + name: t.Optional[str] = None, + filename: t.Optional[str] = None, + ) -> None: + super().__init__(message) + self.lineno = lineno + self.name = name + self.filename = filename + self.source: t.Optional[str] = None + + # this is set to True if the debug.translate_syntax_error + # function translated the syntax error into a new traceback + self.translated = False + + def __str__(self) -> str: + # for translated errors we only return the message + if self.translated: + return t.cast(str, self.message) + + # otherwise attach some stuff + location = f"line {self.lineno}" + name = self.filename or self.name + if name: + location = f'File "{name}", {location}' + lines = [t.cast(str, self.message), " " + location] + + # if the source is set, add the line to the output + if self.source is not None: + try: + line = self.source.splitlines()[self.lineno - 1] + except IndexError: + pass + else: + lines.append(" " + line.strip()) + + return "\n".join(lines) + + def __reduce__(self): # type: ignore + # https://bugs.python.org/issue1692335 Exceptions that take + # multiple required arguments have problems with pickling. + # Without this, raises TypeError: __init__() missing 1 required + # positional argument: 'lineno' + return self.__class__, (self.message, self.lineno, self.name, self.filename) + + +class TemplateAssertionError(TemplateSyntaxError): + """Like a template syntax error, but covers cases where something in the + template caused an error at compile time that wasn't necessarily caused + by a syntax error. However it's a direct subclass of + :exc:`TemplateSyntaxError` and has the same attributes. + """ + + +class TemplateRuntimeError(TemplateError): + """A generic runtime error in the template engine. Under some situations + Jinja may raise this exception. + """ + + +class UndefinedError(TemplateRuntimeError): + """Raised if a template tries to operate on :class:`Undefined`.""" + + +class SecurityError(TemplateRuntimeError): + """Raised if a template tries to do something insecure if the + sandbox is enabled. + """ + + +class FilterArgumentError(TemplateRuntimeError): + """This error is raised if a filter was called with inappropriate + arguments + """ diff --git a/shared/package-files/8a/8a8624a32ae6a8659365b8155f4c720f2fb301fa0d824efffa1146464affbc89/markov_switching.py b/shared/package-files/8a/8a8624a32ae6a8659365b8155f4c720f2fb301fa0d824efffa1146464affbc89/markov_switching.py new file mode 100644 index 0000000000000000000000000000000000000000..e0ae656eb19f7ec71bc87543eefbc187c87ef51e --- /dev/null +++ b/shared/package-files/8a/8a8624a32ae6a8659365b8155f4c720f2fb301fa0d824efffa1146464affbc89/markov_switching.py @@ -0,0 +1,2407 @@ +""" +Markov switching models + +Author: Chad Fulton +License: BSD-3 +""" + +import warnings + +import numpy as np +import pandas as pd +from scipy.special import logsumexp + +from statsmodels.base.data import PandasData +import statsmodels.base.wrapper as wrap +from statsmodels.tools._decorators import cache_readonly +from statsmodels.tools.eval_measures import aic, bic, hqic +from statsmodels.tools.numdiff import approx_fprime_cs, approx_hess_cs +from statsmodels.tools.rng_qrng import check_random_state +from statsmodels.tools.sm_exceptions import EstimationWarning +from statsmodels.tools.tools import Bunch, pinv_extended +import statsmodels.tsa.base.tsa_model as tsbase +from statsmodels.tsa.regime_switching._hamilton_filter import ( + chamilton_filter_log, + dhamilton_filter_log, + shamilton_filter_log, + zhamilton_filter_log, +) +from statsmodels.tsa.regime_switching._kim_smoother import ( + ckim_smoother_log, + dkim_smoother_log, + skim_smoother_log, + zkim_smoother_log, +) +from statsmodels.tsa.statespace.tools import ( + _safe_cond, + find_best_blas_type, + prepare_exog, +) + +prefix_hamilton_filter_log_map = { + "s": shamilton_filter_log, + "d": dhamilton_filter_log, + "c": chamilton_filter_log, + "z": zhamilton_filter_log, +} + +prefix_kim_smoother_log_map = { + "s": skim_smoother_log, + "d": dkim_smoother_log, + "c": ckim_smoother_log, + "z": zkim_smoother_log, +} + + +def _logistic(x): + """Note that this is not a vectorized function""" + x = np.array(x) + # np.exp(x) / (1 + np.exp(x)) + if x.ndim == 0: + y = np.reshape(x, (1, 1, 1)) + # np.exp(x[i]) / (1 + np.sum(np.exp(x[:]))) + elif x.ndim == 1: + y = np.reshape(x, (len(x), 1, 1)) + # np.exp(x[i,t]) / (1 + np.sum(np.exp(x[:,t]))) + elif x.ndim == 2: + y = np.reshape(x, (x.shape[0], 1, x.shape[1])) + # np.exp(x[i,j,t]) / (1 + np.sum(np.exp(x[:,j,t]))) + elif x.ndim == 3: + y = x + else: + raise NotImplementedError + + tmp = np.c_[np.zeros((y.shape[-1], y.shape[1], 1)), y.T].T + evaluated = np.reshape(np.exp(y - logsumexp(tmp, axis=0)), x.shape) + + return evaluated + + +def _partials_logistic(x): + """Note that this is not a vectorized function""" + tmp = _logistic(x) + + # k + if tmp.ndim == 0: + return tmp - tmp**2 + # k x k + elif tmp.ndim == 1: + partials = np.diag(tmp - tmp**2) + # k x k x t + elif tmp.ndim == 2: + partials = [np.diag(tmp[:, t] - tmp[:, t] ** 2) for t in range(tmp.shape[1])] + shape = tmp.shape[1], tmp.shape[0], tmp.shape[0] + partials = np.concatenate(partials).reshape(shape).transpose((1, 2, 0)) + # k x k x j x t + else: + partials = [ + [np.diag(tmp[:, j, t] - tmp[:, j, t] ** 2) for t in range(tmp.shape[2])] + for j in range(tmp.shape[1]) + ] + shape = tmp.shape[1], tmp.shape[2], tmp.shape[0], tmp.shape[0] + partials = np.concatenate(partials).reshape(shape).transpose((2, 3, 0, 1)) + + for i in range(tmp.shape[0]): + for j in range(i): + partials[i, j, ...] = -tmp[i, ...] * tmp[j, ...] + partials[j, i, ...] = partials[i, j, ...] + return partials + + +def cy_hamilton_filter_log( + initial_probabilities, regime_transition, conditional_loglikelihoods, model_order +): + """ + Hamilton filter in log space using Cython inner loop + + Parameters + ---------- + initial_probabilities : ndarray + Array of initial probabilities, shaped (k_regimes,) giving the + distribution of the regime process at time t = -order where order + is a nonnegative integer. + regime_transition : ndarray + Matrix of regime transition probabilities, shaped either + (k_regimes, k_regimes, 1) or if there are time-varying transition + probabilities (k_regimes, k_regimes, nobs + order). Entry [i, j, + t] contains the probability of moving from j at time t-1 to i at + time t, so each matrix regime_transition[:, :, t] should be left + stochastic. The first order entries and initial_probabilities are + used to produce the initial joint distribution of dimension order + + 1 at time t=0. + conditional_loglikelihoods : ndarray + Array of loglikelihoods conditional on the last `order+1` regimes, + shaped (k_regimes,)*(order + 1) + (nobs,). + model_order : int + The order of the model, used to determine the appropriate subset + of the `regime_transition` array to use in the recursions (which + may differ from the order implied by the shape of + `conditional_loglikelihoods`). + + Returns + ------- + filtered_marginal_probabilities : ndarray + Array containing Pr[S_t=s_t | Y_t] - the probability of being in each + regime conditional on time t information. Shaped (k_regimes, nobs). + predicted_joint_probabilities : ndarray + Array containing Pr[S_t=s_t, ..., S_{t-order}=s_{t-order} | Y_{t-1}] - + the joint probability of the current and previous `order` periods + being in each combination of regimes conditional on time t-1 + information. Shaped (k_regimes,) * (order + 1) + (nobs,). + joint_loglikelihoods : ndarray + Array of loglikelihoods condition on time t information, + shaped (nobs,). + filtered_joint_probabilities : ndarray + Array containing Pr[S_t=s_t, ..., S_{t-order}=s_{t-order} | Y_{t}] - + the joint probability of the current and previous `order` periods + being in each combination of regimes conditional on time t + information. Shaped (k_regimes,) * (order + 1) + (nobs,). + """ + + # Dimensions + k_regimes = len(initial_probabilities) + nobs = conditional_loglikelihoods.shape[-1] + order = conditional_loglikelihoods.ndim - 2 + dtype = conditional_loglikelihoods.dtype + + # Check for compatible shapes. + incompatible_shapes = ( + regime_transition.shape[-1] not in (1, nobs + model_order) + or regime_transition.shape[:2] != (k_regimes, k_regimes) + or conditional_loglikelihoods.shape[0] != k_regimes + ) + if incompatible_shapes: + raise ValueError("Arguments do not have compatible shapes") + + # Convert to log space + initial_probabilities = np.log(initial_probabilities) + regime_transition = np.log(np.maximum(regime_transition, 1e-20)) + + # Storage + # Pr[S_t = s_t | Y_t] + filtered_marginal_probabilities = np.zeros((k_regimes, nobs), dtype=dtype) + # Pr[S_t = s_t, ... S_{t-r} = s_{t-r} | Y_{t-1}] + # Has k_regimes^(order+1) elements + predicted_joint_probabilities = np.zeros( + (k_regimes,) * (order + 1) + (nobs,), dtype=dtype + ) + # log(f(y_t | Y_{t-1})) + joint_loglikelihoods = np.zeros((nobs,), dtype) + # Pr[S_t = s_t, ... S_{t-r+1} = s_{t-r+1} | Y_t] + # Has k_regimes^order elements + filtered_joint_probabilities = np.zeros( + (k_regimes,) * (order + 1) + (nobs + 1,), dtype=dtype + ) + + # Initial probabilities + filtered_marginal_probabilities[:, 0] = initial_probabilities + tmp = np.copy(initial_probabilities) + shape = (k_regimes, k_regimes) + transition_t = 0 + for i in range(order): + if regime_transition.shape[-1] > 1: + transition_t = i + tmp = np.reshape(regime_transition[..., transition_t], shape + (1,) * i) + tmp + filtered_joint_probabilities[..., 0] = tmp + + # Get appropriate subset of transition matrix + if regime_transition.shape[-1] > 1: + regime_transition = regime_transition[..., model_order:] + + # Run Cython filter iterations + prefix, dtype, _ = find_best_blas_type( + ( + regime_transition, + conditional_loglikelihoods, + joint_loglikelihoods, + predicted_joint_probabilities, + filtered_joint_probabilities, + ) + ) + func = prefix_hamilton_filter_log_map[prefix] + func( + nobs, + k_regimes, + order, + regime_transition, + conditional_loglikelihoods.reshape(k_regimes ** (order + 1), nobs), + joint_loglikelihoods, + predicted_joint_probabilities.reshape(k_regimes ** (order + 1), nobs), + filtered_joint_probabilities.reshape(k_regimes ** (order + 1), nobs + 1), + ) + + # Save log versions for smoother + predicted_joint_probabilities_log = predicted_joint_probabilities + filtered_joint_probabilities_log = filtered_joint_probabilities + + # Convert out of log scale + predicted_joint_probabilities = np.exp(predicted_joint_probabilities) + filtered_joint_probabilities = np.exp(filtered_joint_probabilities) + + # S_t | t + filtered_marginal_probabilities = filtered_joint_probabilities[..., 1:] + for _ in range(1, filtered_marginal_probabilities.ndim - 1): + filtered_marginal_probabilities = np.sum( + filtered_marginal_probabilities, axis=-2 + ) + + return ( + filtered_marginal_probabilities, + predicted_joint_probabilities, + joint_loglikelihoods, + filtered_joint_probabilities[..., 1:], + predicted_joint_probabilities_log, + filtered_joint_probabilities_log[..., 1:], + ) + + +def cy_kim_smoother_log( + regime_transition, predicted_joint_probabilities, filtered_joint_probabilities +): + """ + Kim smoother in log space using Cython inner loop + + Parameters + ---------- + regime_transition : ndarray + Matrix of regime transition probabilities, shaped either + (k_regimes, k_regimes, 1) or if there are time-varying transition + probabilities (k_regimes, k_regimes, nobs). + predicted_joint_probabilities : ndarray + Array containing Pr[S_t=s_t, ..., S_{t-order}=s_{t-order} | Y_{t-1}] - + the joint probability of the current and previous `order` periods + being in each combination of regimes conditional on time t-1 + information. Shaped (k_regimes,) * (order + 1) + (nobs,). + filtered_joint_probabilities : ndarray + Array containing Pr[S_t=s_t, ..., S_{t-order}=s_{t-order} | Y_{t}] - + the joint probability of the current and previous `order` periods + being in each combination of regimes conditional on time t + information. Shaped (k_regimes,) * (order + 1) + (nobs,). + + Returns + ------- + smoothed_joint_probabilities : ndarray + Array containing Pr[S_t=s_t, ..., S_{t-order}=s_{t-order} | Y_T] - + the joint probability of the current and previous `order` periods + being in each combination of regimes conditional on all information. + Shaped (k_regimes,) * (order + 1) + (nobs,). + smoothed_marginal_probabilities : ndarray + Array containing Pr[S_t=s_t | Y_T] - the probability of being in each + regime conditional on all information. Shaped (k_regimes, nobs). + """ + + # Dimensions + k_regimes = filtered_joint_probabilities.shape[0] + nobs = filtered_joint_probabilities.shape[-1] + order = filtered_joint_probabilities.ndim - 2 + dtype = filtered_joint_probabilities.dtype + + # Storage + smoothed_joint_probabilities = np.zeros( + (k_regimes,) * (order + 1) + (nobs,), dtype=dtype + ) + + # Get appropriate subset of transition matrix + if regime_transition.shape[-1] == nobs + order: + regime_transition = regime_transition[..., order:] + + # Convert to log space + regime_transition = np.log(np.maximum(regime_transition, 1e-20)) + + # Run Cython smoother iterations + prefix, dtype, _ = find_best_blas_type( + (regime_transition, predicted_joint_probabilities, filtered_joint_probabilities) + ) + func = prefix_kim_smoother_log_map[prefix] + func( + nobs, + k_regimes, + order, + regime_transition, + predicted_joint_probabilities.reshape(k_regimes ** (order + 1), nobs), + filtered_joint_probabilities.reshape(k_regimes ** (order + 1), nobs), + smoothed_joint_probabilities.reshape(k_regimes ** (order + 1), nobs), + ) + + # Convert back from log space + smoothed_joint_probabilities = np.exp(smoothed_joint_probabilities) + + # Get smoothed marginal probabilities S_t | T by integrating out + # S_{t-k+1}, S_{t-k+2}, ..., S_{t-1} + smoothed_marginal_probabilities = smoothed_joint_probabilities + for _ in range(1, smoothed_marginal_probabilities.ndim - 1): + smoothed_marginal_probabilities = np.sum( + smoothed_marginal_probabilities, axis=-2 + ) + + return smoothed_joint_probabilities, smoothed_marginal_probabilities + + +class MarkovSwitchingParams: + """ + Class to hold parameters in Markov switching models + + Parameters + ---------- + k_regimes : int + The number of regimes between which parameters may switch. + + Notes + ----- + + The purpose is to allow selecting parameter indexes / slices based on + parameter type, regime number, or both. + + Parameters are lexicographically ordered in the following way: + + 1. Named type string (e.g., "autoregressive") + 2. Number (e.g., the first autoregressive parameter, then the second) + 3. Regime (if applicable) + + Parameter blocks are set using dictionary setter notation where the key + is the named type string and the value is a list of boolean values + indicating whether a given parameter is switching or not. + + For example, consider the following code: + + parameters = MarkovSwitchingParams(k_regimes=2) + parameters['regime_transition'] = [1,1] + parameters['exog'] = [0, 1] + + This implies the model has 7 parameters: 4 "regime_transition"-related + parameters (2 parameters that each switch according to regimes) and 3 + "exog"-related parameters (1 parameter that does not switch, and one 1 that + does). + + The order of parameters is then: + + 1. The first "regime_transition" parameter, regime 0 + 2. The first "regime_transition" parameter, regime 1 + 3. The second "regime_transition" parameter, regime 1 + 4. The second "regime_transition" parameter, regime 1 + 5. The first "exog" parameter + 6. The second "exog" parameter, regime 0 + 7. The second "exog" parameter, regime 1 + + Retrieving indexes / slices is done through dictionary getter notation. + There are three options for the dictionary key: + + - Regime number (zero-indexed) + - Named type string (e.g., "autoregressive") + - Regime number and named type string + + In the above example, consider the following getters: + + >>> parameters[0] + array([0, 2, 4, 6]) + >>> parameters[1] + array([1, 3, 5, 6]) + >>> parameters['exog'] + slice(4, 7, None) + >>> parameters[0, 'exog'] + [4, 6] + >>> parameters[1, 'exog'] + [4, 7] + + Notice that in the last two examples, both lists of indexes include 4. + That's because that is the index of the non-switching first "exog" + parameter, which should be selected regardless of the regime. + + In addition to the getter, the `k_parameters` attribute is a dict + with the named type strings as the keys. It can be used to get the total + number of parameters of each type: + + >>> parameters.k_parameters['regime_transition'] + 4 + >>> parameters.k_parameters['exog'] + 3 + """ + + def __init__(self, k_regimes): + self.k_regimes = k_regimes + + self.k_params = 0 + self.k_parameters = {} + self.switching = {} + self.slices_purpose = {} + self.relative_index_regime_purpose = [{} for i in range(self.k_regimes)] + self.index_regime_purpose = [{} for i in range(self.k_regimes)] + self.index_regime = [[] for i in range(self.k_regimes)] + + def __getitem__(self, key): + _type = type(key) + + # Get a slice for a block of parameters by purpose + if _type is str: + return self.slices_purpose[key] + # Get a slice for a block of parameters by regime + elif _type is int: + return self.index_regime[key] + elif _type is tuple: + if not len(key) == 2: + raise IndexError("Invalid index") + if type(key[1]) is str and type(key[0]) is int: + return self.index_regime_purpose[key[0]][key[1]] + elif type(key[0]) is str and type(key[1]) is int: + return self.index_regime_purpose[key[1]][key[0]] + else: + raise IndexError("Invalid index") + else: + raise IndexError("Invalid index") + + def __setitem__(self, key, value): + _type = type(key) + + if _type is str: + value = np.array(value, dtype=bool, ndmin=1) + k_params = self.k_params + self.k_parameters[key] = value.size + np.sum(value) * (self.k_regimes - 1) + self.k_params += self.k_parameters[key] + self.switching[key] = value + self.slices_purpose[key] = np.s_[k_params : self.k_params] + + for j in range(self.k_regimes): + self.relative_index_regime_purpose[j][key] = [] + self.index_regime_purpose[j][key] = [] + + offset = 0 + for i in range(value.size): + switching = value[i] + for j in range(self.k_regimes): + # Non-switching parameters + if not switching: + self.relative_index_regime_purpose[j][key].append(offset) + # Switching parameters + else: + self.relative_index_regime_purpose[j][key].append(offset + j) + offset += 1 if not switching else self.k_regimes + + for j in range(self.k_regimes): + offset = 0 + indices = [] + for k, v in self.relative_index_regime_purpose[j].items(): + abs_v = (np.r_[v] + offset).tolist() + self.index_regime_purpose[j][k] = abs_v + indices.append(abs_v) + offset += self.k_parameters[k] + self.index_regime[j] = np.concatenate(indices).astype(int) + else: + raise IndexError("Invalid index") + + +class MarkovSwitching(tsbase.TimeSeriesModel): + """ + First-order k-regime Markov switching model + + Parameters + ---------- + endog : array_like + The endogenous variable. + k_regimes : int + The number of regimes. + order : int, optional + The order of the model describes the dependence of the likelihood on + previous regimes. This depends on the model in question and should be + set appropriately by subclasses. + exog_tvtp : array_like, optional + Array of exogenous or lagged variables to use in calculating + time-varying transition probabilities (TVTP). TVTP is only used if this + variable is provided. If an intercept is desired, a column of ones must + be explicitly included in this array. + exog : array_like, optional + Array of exogenous regressors, shaped nobs x k. + dates : array_like, optional + An array-like object of datetime objects. If a pandas object is given + for endog or exog, it is assumed to have a DateIndex. + freq : str, optional + The frequency of the time-series. A Pandas offset or 'B', 'D', 'W', + 'M', 'A', or 'Q'. This is optional if dates are given. + missing : str, optional + Available options are 'none', 'drop', and 'raise'. If 'none', no nan + checking is done. If 'drop', any observations with nans are dropped. + If 'raise', an error is raised. Default is 'none'. + + Notes + ----- + This model is new and API stability is not guaranteed, although changes + will be made in a backwards compatible way if possible. + + References + ---------- + Kim, Chang-Jin, and Charles R. Nelson. 1999. + "State-Space Models with Regime Switching: + Classical and Gibbs-Sampling Approaches with Applications". + MIT Press Books. The MIT Press. + """ + + def __init__( + self, + endog, + k_regimes, + order=0, + exog_tvtp=None, + exog=None, + dates=None, + freq=None, + missing="none", + ): + + # Properties + self.k_regimes = k_regimes + self.tvtp = exog_tvtp is not None + # The order of the model may be overridden in subclasses + self.order = order + + # Exogenous data + # TODO add checks for exog_tvtp consistent shape and indices + self.k_tvtp, self.exog_tvtp = prepare_exog(exog_tvtp) + + # Initialize the base model + super().__init__(endog, exog, dates=dates, freq=freq, missing=missing) + + # Dimensions + self.nobs = self.endog.shape[0] + + # Sanity checks + if self.endog.ndim > 1 and self.endog.shape[1] > 1: + raise ValueError("Must have univariate endogenous data.") + if self.k_regimes < 2: + raise ValueError("Markov switching models must have at least two regimes.") + if not (self.exog_tvtp is None or self.exog_tvtp.shape[0] == self.nobs): + raise ValueError( + "Time-varying transition probabilities exogenous" + " array must have the same number of observations" + " as the endogenous array." + ) + + # Parameters + self.parameters = MarkovSwitchingParams(self.k_regimes) + k_transition = self.k_regimes - 1 + if self.tvtp: + k_transition *= self.k_tvtp + self.parameters["regime_transition"] = [1] * k_transition + + # Internal model properties: default is steady-state initialization + self._initialization = "steady-state" + self._initial_probabilities = None + + @property + def k_params(self): + """(int) Number of parameters in the model""" + return self.parameters.k_params + + def initialize_steady_state(self): + """ + Set initialization of regime probabilities to be steady-state values + + Notes + ----- + Only valid if there are not time-varying transition probabilities. + """ + if self.tvtp: + raise ValueError( + "Cannot use steady-state initialization when" + " the regime transition matrix is time-varying." + ) + + self._initialization = "steady-state" + self._initial_probabilities = None + + def initialize_known(self, probabilities, tol=1e-8): + """ + Set initialization of regime probabilities to use known values + + Parameters + ---------- + probabilities : array_like + Array of initial probabilities for each regime, of shape + (k_regimes,). Must sum to one. + tol : float, optional + The tolerance to use when checking that `probabilities` sums to + one. Default is 1e-8. + """ + self._initialization = "known" + probabilities = np.array(probabilities, ndmin=1) + if not probabilities.shape == (self.k_regimes,): + raise ValueError( + "Initial probabilities must be a vector of shape (k_regimes,)." + ) + if not np.abs(np.sum(probabilities) - 1) < tol: + raise ValueError("Initial probabilities vector must sum to one.") + self._initial_probabilities = probabilities + + def initial_probabilities(self, params, regime_transition=None): + """ + Retrieve initial probabilities + + Parameters + ---------- + params : array_like + Parameters at which to create the initial probabilities. + regime_transition : ndarray, optional + The regime transition matrix. If not provided, calculated using + the parameters `params`. + + Returns + ------- + initial_probabilities : ndarray + Array of initial probabilities, shaped (k_regimes,). + """ + params = np.array(params, ndmin=1) + if self._initialization == "steady-state": + if regime_transition is None: + regime_transition = self.regime_transition_matrix(params) + if regime_transition.ndim == 3: + regime_transition = regime_transition[..., 0] + m = regime_transition.shape[0] + A = np.c_[(np.eye(m) - regime_transition).T, np.ones(m)].T + try: + probabilities = np.linalg.pinv(A)[:, -1] + except np.linalg.LinAlgError as exc: + raise RuntimeError( + "Steady-state probabilities could not be constructed." + ) from exc + elif self._initialization == "known": + probabilities = self._initial_probabilities + else: + raise RuntimeError("Invalid initialization method selected.") + + # Slightly bound probabilities away from zero (for filters in log + # space) + probabilities = np.maximum(probabilities, 1e-20) + + return probabilities + + def _regime_transition_matrix_tvtp(self, params, exog_tvtp=None): + if exog_tvtp is None: + exog_tvtp = self.exog_tvtp + nobs = len(exog_tvtp) + + regime_transition_matrix = np.zeros( + (self.k_regimes, self.k_regimes, nobs), + dtype=np.promote_types(np.float64, params.dtype), + ) + + # Compute the predicted values from the regression + for i in range(self.k_regimes): + coeffs = params[self.parameters[i, "regime_transition"]] + regime_transition_matrix[:-1, i, :] = np.dot( + exog_tvtp, np.reshape(coeffs, (self.k_regimes - 1, self.k_tvtp)).T + ).T + + # Perform the logistic transformation + tmp = np.c_[ + np.zeros((nobs, self.k_regimes, 1)), regime_transition_matrix[:-1, :, :].T + ].T + regime_transition_matrix[:-1, :, :] = np.exp( + regime_transition_matrix[:-1, :, :] - logsumexp(tmp, axis=0) + ) + + # Compute the last column of the transition matrix + regime_transition_matrix[-1, :, :] = 1 - np.sum( + regime_transition_matrix[:-1, :, :], axis=0 + ) + + return regime_transition_matrix + + def regime_transition_matrix(self, params, exog_tvtp=None): + """ + Construct the left-stochastic transition matrix + + Parameters + ---------- + params : array_like + Array of parameters at which to construct the transition matrix. + exog_tvtp : array_like, optional + Array of exogenous or lagged variables to use in calculating + time-varying transition probabilities. If not provided, + `self.exog_tvtp` is used. + + Returns + ------- + regime_transition_matrix : ndarray + Matrix of regime transition probabilities. + + Notes + ----- + This matrix will either be shaped (k_regimes, k_regimes, 1) or if there + are time-varying transition probabilities, it will be shaped + (k_regimes, k_regimes, nobs). + + The (i,j)th element of this matrix is the probability of transitioning + from regime j to regime i; thus the previous regime is represented in a + column and the next regime is represented by a row. + + It is left-stochastic, meaning that each column sums to one (because + it is certain that from one regime (j) you will transition to *some + other regime*). + """ + params = np.array(params, ndmin=1) + if not self.tvtp: + regime_transition_matrix = np.zeros( + (self.k_regimes, self.k_regimes, 1), + dtype=np.promote_types(np.float64, params.dtype), + ) + regime_transition_matrix[:-1, :, 0] = np.reshape( + params[self.parameters["regime_transition"]], + (self.k_regimes - 1, self.k_regimes), + ) + regime_transition_matrix[-1, :, 0] = 1 - np.sum( + regime_transition_matrix[:-1, :, 0], axis=0 + ) + else: + regime_transition_matrix = self._regime_transition_matrix_tvtp( + params, exog_tvtp + ) + + return regime_transition_matrix + + def predict( + self, params, start=None, end=None, probabilities=None, conditional=False + ): + """ + In-sample prediction and out-of-sample forecasting + + Parameters + ---------- + params : array_like + Parameters at which to form predictions + start : int, str, or datetime, optional + Zero-indexed observation number at which to start forecasting, + i.e., the first forecast is start. Can also be a date string to + parse or a datetime type. Default is the zeroth observation. + end : int, str, or datetime, optional + Zero-indexed observation number at which to end forecasting, i.e., + the last forecast is end. Can also be a date string to + parse or a datetime type. However, if the dates index does not + have a fixed frequency, end must be an integer index if you + want out of sample prediction. Default is the last observation in + the sample. + probabilities : str or array_like, optional + Specifies the weighting probabilities used in constructing the + prediction as a weighted average. If a string, can be 'predicted', + 'filtered', or 'smoothed'. Otherwise can be an array of + probabilities to use. Default is smoothed. + conditional : bool or int, optional + Whether or not to return predictions conditional on current or + past regimes. If False, returns a single vector of weighted + predictions. If True or 1, returns predictions conditional on the + current regime. For larger integers, returns predictions + conditional on the current regime and some number of past regimes. + + Returns + ------- + predict : ndarray + Array of out of in-sample predictions and / or out-of-sample + forecasts. + """ + if start is None: + start = self._index[0] + + # Handle start, end + start, end, out_of_sample, prediction_index = self._get_prediction_index( + start, end + ) + + if out_of_sample > 0: + raise NotImplementedError + + # Perform in-sample prediction + predict = self.predict_conditional(params) + squeezed = np.squeeze(predict) + + # Check if we need to do weighted averaging + if squeezed.ndim - 1 > conditional: + # Determine in-sample weighting probabilities + if probabilities is None or probabilities == "smoothed": + results = self.smooth(params, return_raw=True) + probabilities = results.smoothed_joint_probabilities + elif probabilities == "filtered": + results = self.filter(params, return_raw=True) + probabilities = results.filtered_joint_probabilities + elif probabilities == "predicted": + results = self.filter(params, return_raw=True) + probabilities = results.predicted_joint_probabilities + + # Compute weighted average + predict = predict * probabilities + for _ in range(predict.ndim - 1 - int(conditional)): + predict = np.sum(predict, axis=-2) + else: + predict = squeezed + + return predict[start : end + out_of_sample + 1] + + def predict_conditional(self, params): + """ + In-sample prediction, conditional on the current, and possibly past, + regimes + + Parameters + ---------- + params : array_like + Array of parameters at which to perform prediction. + + Returns + ------- + predict : ndarray + Array of predictions conditional on current, and possibly past, + regimes + """ + raise NotImplementedError + + def _conditional_loglikelihoods(self, params): + """ + Compute likelihoods conditional on the current period's regime (and + the last self.order periods' regimes if self.order > 0). + + Must be implemented in subclasses. + """ + raise NotImplementedError + + def _filter(self, params, regime_transition=None): + # Get the regime transition matrix if not provided + if regime_transition is None: + regime_transition = self.regime_transition_matrix(params) + # Get the initial probabilities + initial_probabilities = self.initial_probabilities(params, regime_transition) + + # Compute the conditional likelihoods + conditional_loglikelihoods = self._conditional_loglikelihoods(params) + + # Apply the filter + return ( + regime_transition, + initial_probabilities, + conditional_loglikelihoods, + ) + cy_hamilton_filter_log( + initial_probabilities, + regime_transition, + conditional_loglikelihoods, + self.order, + ) + + def filter( + self, + params, + transformed=True, + cov_type=None, + cov_kwds=None, + return_raw=False, + results_class=None, + results_wrapper_class=None, + ): + """ + Apply the Hamilton filter + + Parameters + ---------- + params : array_like + Array of parameters at which to perform filtering. + transformed : bool, optional + Whether or not `params` is already transformed. Default is True. + cov_type : str, optional + See `fit` for a description of covariance matrix types + for results object. + cov_kwds : dict, optional + See `fit` for a description of required keywords for alternative + covariance estimators + return_raw : bool, optional + Whether or not to return only the raw Hamilton filter output or a + full results object. Default is to return a full results object. + results_class : type, optional + A results class to instantiate rather than + `MarkovSwitchingResults`. Usually only used internally by + subclasses. + results_wrapper_class : type, optional + A results wrapper class to instantiate rather than + `MarkovSwitchingResults`. Usually only used internally by + subclasses. + + Returns + ------- + MarkovSwitchingResults + """ + params = np.array(params, ndmin=1) + + if not transformed: + params = self.transform_params(params) + + # Save the parameter names + self.data.param_names = self.param_names + + # Get the result + names = [ + "regime_transition", + "initial_probabilities", + "conditional_loglikelihoods", + "filtered_marginal_probabilities", + "predicted_joint_probabilities", + "joint_loglikelihoods", + "filtered_joint_probabilities", + "predicted_joint_probabilities_log", + "filtered_joint_probabilities_log", + ] + result = HamiltonFilterResults( + self, Bunch(**dict(zip(names, self._filter(params), strict=True))) + ) + + # Wrap in a results object + return self._wrap_results( + params, + result, + return_raw, + cov_type, + cov_kwds, + results_class, + results_wrapper_class, + ) + + def _smooth( + self, + params, + predicted_joint_probabilities_log, + filtered_joint_probabilities_log, + regime_transition=None, + ): + # Get the regime transition matrix + if regime_transition is None: + regime_transition = self.regime_transition_matrix(params) + + # Apply the smoother + return cy_kim_smoother_log( + regime_transition, + predicted_joint_probabilities_log, + filtered_joint_probabilities_log, + ) + + @property + def _res_classes(self): + return {"fit": (MarkovSwitchingResults, MarkovSwitchingResultsWrapper)} + + def _wrap_results( + self, + params, + result, + return_raw, + cov_type=None, + cov_kwds=None, + results_class=None, + wrapper_class=None, + ): + if not return_raw: + # Wrap in a results object + result_kwargs = {} + if cov_type is not None: + result_kwargs["cov_type"] = cov_type + if cov_kwds is not None: + result_kwargs["cov_kwds"] = cov_kwds + + if results_class is None: + results_class = self._res_classes["fit"][0] + if wrapper_class is None: + wrapper_class = self._res_classes["fit"][1] + + res = results_class(self, params, result, **result_kwargs) + result = wrapper_class(res) + return result + + def smooth( + self, + params, + transformed=True, + cov_type=None, + cov_kwds=None, + return_raw=False, + results_class=None, + results_wrapper_class=None, + ): + """ + Apply the Kim smoother and Hamilton filter + + Parameters + ---------- + params : array_like + Array of parameters at which to perform filtering. + transformed : bool, optional + Whether or not `params` is already transformed. Default is True. + cov_type : str, optional + See `fit` for a description of covariance matrix types + for results object. + cov_kwds : dict, optional + See `fit` for a description of required keywords for alternative + covariance estimators + return_raw : bool, optional + Whether or not to return only the raw Hamilton filter output or a + full results object. Default is to return a full results object. + results_class : type, optional + A results class to instantiate rather than + `MarkovSwitchingResults`. Usually only used internally by + subclasses. + results_wrapper_class : type, optional + A results wrapper class to instantiate rather than + `MarkovSwitchingResults`. Usually only used internally by + subclasses. + + Returns + ------- + MarkovSwitchingResults + """ + params = np.array(params, ndmin=1) + + if not transformed: + params = self.transform_params(params) + + # Save the parameter names + self.data.param_names = self.param_names + + # Hamilton filter + # TODO add option to filter to return logged values so that we do not + # need to re-log them for smoother + names = [ + "regime_transition", + "initial_probabilities", + "conditional_loglikelihoods", + "filtered_marginal_probabilities", + "predicted_joint_probabilities", + "joint_loglikelihoods", + "filtered_joint_probabilities", + "predicted_joint_probabilities_log", + "filtered_joint_probabilities_log", + ] + result = Bunch(**dict(zip(names, self._filter(params), strict=True))) + + # Kim smoother + out = self._smooth( + params, + result.predicted_joint_probabilities_log, + result.filtered_joint_probabilities_log, + ) + result["smoothed_joint_probabilities"] = out[0] + result["smoothed_marginal_probabilities"] = out[1] + result = KimSmootherResults(self, result) + + # Wrap in a results object + return self._wrap_results( + params, + result, + return_raw, + cov_type, + cov_kwds, + results_class, + results_wrapper_class, + ) + + def loglikeobs(self, params, transformed=True): + """ + Loglikelihood evaluation for each period + + Parameters + ---------- + params : array_like + Array of parameters at which to evaluate the loglikelihood + function. + transformed : bool, optional + Whether or not `params` is already transformed. Default is True. + """ + params = np.array(params, ndmin=1) + + if not transformed: + params = self.transform_params(params) + + results = self._filter(params) + + return results[5] + + def loglike(self, params, transformed=True): + """ + Loglikelihood evaluation + + Parameters + ---------- + params : array_like + Array of parameters at which to evaluate the loglikelihood + function. + transformed : bool, optional + Whether or not `params` is already transformed. Default is True. + """ + return np.sum(self.loglikeobs(params, transformed)) + + def score(self, params, transformed=True): + """ + Compute the score function at params + + Parameters + ---------- + params : array_like + Array of parameters at which to evaluate the score + function. + transformed : bool, optional + Whether or not `params` is already transformed. Default is True. + """ + params = np.array(params, ndmin=1) + + return approx_fprime_cs(params, self.loglike, args=(transformed,)) + + def score_obs(self, params, transformed=True): + """ + Compute the score per observation, evaluated at params + + Parameters + ---------- + params : array_like + Array of parameters at which to evaluate the score + function. + transformed : bool, optional + Whether or not `params` is already transformed. Default is True. + """ + params = np.array(params, ndmin=1) + + return approx_fprime_cs(params, self.loglikeobs, args=(transformed,)) + + def hessian(self, params, transformed=True): + """ + Hessian matrix of the likelihood function, evaluated at the given + parameters + + Parameters + ---------- + params : array_like + Array of parameters at which to evaluate the Hessian + function. + transformed : bool, optional + Whether or not `params` is already transformed. Default is True. + """ + params = np.array(params, ndmin=1) + + return approx_hess_cs(params, self.loglike, args=(transformed,)) + + def fit( + self, + start_params=None, + transformed=True, + cov_type="approx", + cov_kwds=None, + method="bfgs", + maxiter=100, + full_output=1, + disp=0, + callback=None, + return_params=False, + em_iter=5, + search_reps=0, + search_iter=5, + search_scale=1.0, + rng=None, + **kwargs, + ): + """ + Fits the model by maximum likelihood via Hamilton filter + + Parameters + ---------- + start_params : array_like, optional + Initial guess of the solution for the loglikelihood maximization. + If None, the default is given by Model.start_params. + transformed : bool, optional + Whether or not `start_params` is already transformed. Default is + True. + cov_type : str, optional + The type of covariance matrix estimator to use. Can be one of + 'approx', 'opg', 'robust', or 'none'. Default is 'approx'. + cov_kwds : dict, optional + Keywords for alternative covariance estimators + method : str, optional + The `method` determines which solver from `scipy.optimize` + is used, and it can be chosen from among the following strings: + + - 'newton' for Newton-Raphson, 'nm' for Nelder-Mead + - 'bfgs' for Broyden-Fletcher-Goldfarb-Shanno (BFGS) + - 'lbfgs' for limited-memory BFGS with optional box constraints + - 'powell' for modified Powell's method + - 'cg' for conjugate gradient + - 'ncg' for Newton-conjugate gradient + - 'basinhopping' for global basin-hopping solver + + The explicit arguments in `fit` are passed to the solver, + with the exception of the basin-hopping solver. Each + solver has several optional arguments that are not the same across + solvers. See the notes section below (or scipy.optimize) for the + available arguments and for the list of explicit arguments that the + basin-hopping solver supports. + maxiter : int, optional + The maximum number of iterations to perform. + full_output : bool, optional + Set to True to have all available output in the Results object's + mle_retvals attribute. The output is dependent on the solver. + See LikelihoodModelResults notes section for more information. + disp : bool, optional + Set to True to print convergence messages. + callback : callable callback(xk), optional + Called after each iteration, as callback(xk), where xk is the + current parameter vector. + return_params : bool, optional + Whether or not to return only the array of maximizing parameters. + Default is False. + em_iter : int, optional + Number of initial EM iteration steps used to improve starting + parameters. + search_reps : int, optional + Number of randomly drawn search parameters that are drawn around + `start_params` to try and improve starting parameters. Default is + 0. + search_iter : int, optional + Number of initial EM iteration steps used to improve each of the + search parameter repetitions. + search_scale : float or array_like, optional + Scale of variates for random start parameter search. + rng : int, array_like of int, numpy.random.Generator, or numpy.random.RandomState, optional + If `rng` is None, a new ``Generator`` is created using fresh + entropy from the operating system. If `rng` is an int or array + of ints, a new ``Generator`` is created, seeded with `rng`. If + `rng` is already a ``Generator`` or ``RandomState`` instance, + that instance is used. + **kwargs + Additional keyword arguments to pass to the optimizer. + + Returns + ------- + MarkovSwitchingResults + """ + + if start_params is None: + start_params = self.start_params + transformed = True + else: + start_params = np.array(start_params, ndmin=1) + + # Random search for better start parameters + if search_reps > 0: + start_params = self._start_params_search( + search_reps, + start_params=start_params, + transformed=transformed, + em_iter=search_iter, + scale=search_scale, + rng=rng, + ) + transformed = True + + # Get better start params through EM algorithm + if em_iter and not self.tvtp: + start_params = self._fit_em( + start_params, + transformed=transformed, + maxiter=em_iter, + tolerance=0, + return_params=True, + ) + transformed = True + + if transformed: + start_params = self.untransform_params(start_params) + + # Maximum likelihood estimation by scoring + fargs = (False,) + mlefit = super().fit( + start_params, + method=method, + fargs=fargs, + maxiter=maxiter, + full_output=full_output, + disp=disp, + callback=callback, + skip_hessian=True, + **kwargs, + ) + + # Just return the fitted parameters if requested + if return_params: + result = self.transform_params(mlefit.params) + # Otherwise construct the results class if desired + else: + result = self.smooth( + mlefit.params, transformed=False, cov_type=cov_type, cov_kwds=cov_kwds + ) + + result.mlefit = mlefit + result.mle_retvals = mlefit.mle_retvals + result.mle_settings = mlefit.mle_settings + + return result + + def _fit_em( + self, + start_params=None, + transformed=True, + cov_type="none", + cov_kwds=None, + maxiter=50, + tolerance=1e-6, + full_output=True, + return_params=False, + **kwargs, + ): + """ + Fits the model using the Expectation-Maximization (EM) algorithm + + Parameters + ---------- + start_params : array_like, optional + Initial guess of the solution for the loglikelihood maximization. + If None, the default is given by `start_params`. + transformed : bool, optional + Whether or not `start_params` is already transformed. Default is + True. + cov_type : str, optional + The type of covariance matrix estimator to use. Can be one of + 'approx', 'opg', 'robust', or 'none'. Default is 'none'. + cov_kwds : dict, optional + Keywords for alternative covariance estimators + maxiter : int, optional + The maximum number of iterations to perform. + tolerance : float, optional + The iteration stops when the difference between subsequent + loglikelihood values is less than this tolerance. + full_output : bool, optional + Set to True to have all available output in the Results object's + mle_retvals attribute. This includes all intermediate values for + parameters and loglikelihood values + return_params : bool, optional + Whether or not to return only the array of maximizing parameters. + Default is False. + **kwargs + Additional keyword arguments to pass to the optimizer. + + Returns + ------- + MarkovSwitchingResults + + Notes + ----- + This is a private method for finding good starting parameters for MLE + by scoring. It has not been tested for a thoroughly correct EM + implementation in all cases. It does not support TVTP transition + probabilities. + """ + + if start_params is None: + start_params = self.start_params + transformed = True + else: + start_params = np.array(start_params, ndmin=1) + + if not transformed: + start_params = self.transform_params(start_params) + + # Perform expectation-maximization + llf = [] + params = [start_params] + i = 0 + delta = 0 + while i < maxiter and (i < 2 or (delta > tolerance)): + out = self._em_iteration(params[-1]) + llf.append(out[0].llf) + params.append(out[1]) + if i > 0: + delta = 2 * (llf[-1] - llf[-2]) / np.abs(llf[-1] + llf[-2]) + i += 1 + + # Just return the fitted parameters if requested + if return_params: + result = params[-1] + # Otherwise construct the results class if desired + else: + result = self.filter( + params[-1], transformed=True, cov_type=cov_type, cov_kwds=cov_kwds + ) + + # Save the output + if full_output: + em_retvals = Bunch(params=np.array(params), llf=np.array(llf), iter=i) + em_settings = Bunch(tolerance=tolerance, maxiter=maxiter) + else: + em_retvals = None + em_settings = None + + result.mle_retvals = em_retvals + result.mle_settings = em_settings + + return result + + def _em_iteration(self, params0): + """ + EM iteration + + Notes + ----- + The EM iteration in this base class only performs the EM step for + non-TVTP transition probabilities. + """ + params1 = np.zeros( + params0.shape, dtype=np.promote_types(np.float64, params0.dtype) + ) + + # Smooth at the given parameters + result = self.smooth(params0, transformed=True, return_raw=True) + + # The EM with TVTP is not yet supported, just return the previous + # iteration parameters + if self.tvtp: + params1[self.parameters["regime_transition"]] = params0[ + self.parameters["regime_transition"] + ] + else: + regime_transition = self._em_regime_transition(result) + for i in range(self.k_regimes): + params1[self.parameters[i, "regime_transition"]] = regime_transition[i] + + return result, params1 + + def _em_regime_transition(self, result): + """EM step for regime transition probabilities""" + + # Marginalize the smoothed joint probabilities to just S_t, S_{t-1} | T + tmp = result.smoothed_joint_probabilities + for _ in range(tmp.ndim - 3): + tmp = np.sum(tmp, -2) + smoothed_joint_probabilities = tmp + + # Transition parameters (recall we're not yet supporting TVTP here) + k_transition = len(self.parameters[0, "regime_transition"]) + regime_transition = np.zeros((self.k_regimes, k_transition)) + for i in range(self.k_regimes): # S_{t_1} + for j in range(self.k_regimes - 1): # S_t + regime_transition[i, j] = np.sum( + smoothed_joint_probabilities[j, i] + ) / np.sum(result.smoothed_marginal_probabilities[i]) + + # It may be the case that due to rounding error this estimates + # transition probabilities that sum to greater than one. If so, + # re-scale the probabilities and warn the user that something + # is not quite right + delta = np.sum(regime_transition[i]) - 1 + if delta > 0: + warnings.warn( + "Invalid regime transition probabilities" + " estimated in EM iteration; probabilities have" + " been re-scaled to continue estimation.", + EstimationWarning, + stacklevel=2, + ) + regime_transition[i] /= 1 + delta + 1e-6 + + return regime_transition + + def _start_params_search( + self, + reps, + start_params=None, + transformed=True, + em_iter=5, + scale=1.0, + rng=None, + ): + """ + Search for starting parameters as random permutations of a vector + + Parameters + ---------- + reps : int + Number of random permutations to try. + start_params : array_like, optional + Starting parameter vector. If not given, class-level start + parameters are used. + transformed : bool, optional + If `start_params` was provided, whether or not those parameters + are already transformed. Default is True. + em_iter : int, optional + Number of EM iterations to apply to each random permutation. + scale : float or array_like, optional + Scale of variates for random start parameter search. Can be given + as an array of length equal to the number of parameters or as a + single scalar. + rng : int, array_like of int, numpy.random.Generator, or numpy.random.RandomState, optional + If `rng` is None, a new ``Generator`` is created using fresh + entropy from the operating system. If `rng` is an int or array + of ints, a new ``Generator`` is created, seeded with `rng`. If + `rng` is already a ``Generator`` or ``RandomState`` instance, + that instance is used. + + Notes + ----- + This is a private method for finding good starting parameters for MLE + by scoring, where the defaults have been set heuristically. + """ + if start_params is None: + start_params = self.start_params + transformed = True + else: + start_params = np.array(start_params, ndmin=1) + + # Random search is over untransformed space + if transformed: + start_params = self.untransform_params(start_params) + + # Construct the standard deviations + scale = np.array(scale, ndmin=1) + if scale.size == 1: + scale = np.ones(self.k_params) * scale + if not scale.size == self.k_params: + raise ValueError( + "Scale of variates for random start" + " parameter search must be given for each" + " parameter or as a single scalar." + ) + + # Construct the random variates + variates = np.zeros((reps, self.k_params)) + rng = check_random_state(rng) + for i in range(self.k_params): + variates[:, i] = scale[i] * rng.uniform(-0.5, 0.5, size=reps) + + llf = self.loglike(start_params, transformed=False) + params = start_params + for i in range(reps): + with warnings.catch_warnings(): + warnings.simplefilter("ignore") + + try: + proposed_params = self._fit_em( + start_params + variates[i], + transformed=False, + maxiter=em_iter, + return_params=True, + ) + proposed_llf = self.loglike(proposed_params) + + if proposed_llf > llf: + llf = proposed_llf + params = self.untransform_params(proposed_params) + except Exception: # FIXME: catch something specific + pass + + # Return transformed parameters + return self.transform_params(params) + + @property + def start_params(self): + """(array) Starting parameters for maximum likelihood estimation""" + params = np.zeros(self.k_params, dtype=np.float64) + + # Transition probabilities + if self.tvtp: + params[self.parameters["regime_transition"]] = 0.0 + else: + params[self.parameters["regime_transition"]] = 1.0 / self.k_regimes + + return params + + @property + def param_names(self): + """ + (list of str) List of human readable parameter names (for parameters + actually included in the model) + """ + param_names = np.zeros(self.k_params, dtype=object) + + # Transition probabilities + if self.tvtp: + # TODO add support for exog_tvtp_names + param_names[self.parameters["regime_transition"]] = [ + f"p[{j:d}->{i:d}].tvtp{k:d}" + for i in range(self.k_regimes - 1) + for k in range(self.k_tvtp) + for j in range(self.k_regimes) + ] + else: + param_names[self.parameters["regime_transition"]] = [ + f"p[{j:d}->{i:d}]" + for i in range(self.k_regimes - 1) + for j in range(self.k_regimes) + ] + + return param_names.tolist() + + def transform_params(self, unconstrained): + """ + Transform unconstrained parameters used by the optimizer to constrained + parameters used in likelihood evaluation + + Parameters + ---------- + unconstrained : array_like + Array of unconstrained parameters used by the optimizer, to be + transformed. + + Returns + ------- + constrained : ndarray + Array of constrained parameters which may be used in likelihood + evaluation. + + Notes + ----- + In the base class, this only transforms the transition-probability- + related parameters. + """ + constrained = np.array(unconstrained, copy=True) + constrained = constrained.astype( + np.promote_types(np.float64, constrained.dtype) + ) + + # Nothing to do for transition probabilities if TVTP + if self.tvtp: + constrained[self.parameters["regime_transition"]] = unconstrained[ + self.parameters["regime_transition"] + ] + # Otherwise do logistic transformation + else: + # Transition probabilities + for i in range(self.k_regimes): + tmp1 = unconstrained[self.parameters[i, "regime_transition"]] + tmp2 = np.r_[0, tmp1] + constrained[self.parameters[i, "regime_transition"]] = np.exp( + tmp1 - logsumexp(tmp2) + ) + + # Do not do anything for the rest of the parameters + + return constrained + + def _untransform_logistic(self, unconstrained, constrained): + """ + Function to allow using a numerical root-finder to reverse the + logistic transform. + """ + resid = np.zeros(unconstrained.shape, dtype=unconstrained.dtype) + exp = np.exp(unconstrained) + sum_exp = np.sum(exp) + for i in range(len(unconstrained)): + resid[i] = ( + unconstrained[i] + - np.log(1 + sum_exp - exp[i]) + + np.log(1 / constrained[i] - 1) + ) + return resid + + def untransform_params(self, constrained): + """ + Transform constrained parameters used in likelihood evaluation + to unconstrained parameters used by the optimizer + + Parameters + ---------- + constrained : array_like + Array of constrained parameters used in likelihood evaluation, to + be transformed. + + Returns + ------- + unconstrained : ndarray + Array of unconstrained parameters used by the optimizer. + + Notes + ----- + In the base class, this only untransforms the transition-probability- + related parameters. + """ + unconstrained = np.array(constrained, copy=True) + unconstrained = unconstrained.astype( + np.promote_types(np.float64, unconstrained.dtype) + ) + + # Nothing to do for transition probabilities if TVTP + if self.tvtp: + unconstrained[self.parameters["regime_transition"]] = constrained[ + self.parameters["regime_transition"] + ] + # Otherwise reverse logistic transformation + else: + for i in range(self.k_regimes): + s = self.parameters[i, "regime_transition"] + if self.k_regimes == 2: + unconstrained[s] = -np.log(1.0 / constrained[s] - 1) + else: + from scipy.optimize import root + + out = root( + self._untransform_logistic, + np.zeros(unconstrained[s].shape, unconstrained.dtype), + args=(constrained[s],), + ) + if not out["success"]: + raise ValueError("Could not untransform parameters.") + unconstrained[s] = out["x"] + + # Do not do anything for the rest of the parameters + + return unconstrained + + +class HamiltonFilterResults: + """ + Results from applying the Hamilton filter to a Markov switching model + + Parameters + ---------- + model : MarkovSwitching instance + The fitted Markov switching model. + result : Bunch + A Bunch object containing the raw Hamilton filter output, including + `regime_transition`, `initial_probabilities`, + `conditional_loglikelihoods`, `predicted_joint_probabilities`, + `filtered_marginal_probabilities`, `filtered_joint_probabilities`, + and `joint_loglikelihoods`. + + Attributes + ---------- + nobs : int + Number of observations. + k_regimes : int + The number of unobserved regimes. + regime_transition : ndarray + The regime transition matrix. + initialization : str + Initialization method for regime probabilities. + initial_probabilities : ndarray + Initial regime probabilities + conditional_loglikelihoods : ndarray + The loglikelihood values at each time period, conditional on regime. + predicted_joint_probabilities : ndarray + Predicted joint probabilities at each time period. + filtered_marginal_probabilities : ndarray + Filtered marginal probabilities at each time period. + filtered_joint_probabilities : ndarray + Filtered joint probabilities at each time period. + joint_loglikelihoods : ndarray + The likelihood values at each time period. + llf_obs : ndarray + The loglikelihood values at each time period. + """ + + def __init__(self, model, result): + + self.model = model + + self.nobs = model.nobs + self.order = model.order + self.k_regimes = model.k_regimes + + attributes = [ + "regime_transition", + "initial_probabilities", + "conditional_loglikelihoods", + "predicted_joint_probabilities", + "filtered_marginal_probabilities", + "filtered_joint_probabilities", + "joint_loglikelihoods", + ] + for name in attributes: + setattr(self, name, getattr(result, name)) + + self.initialization = model._initialization + self.llf_obs = self.joint_loglikelihoods + self.llf = np.sum(self.llf_obs) + + # Subset transition if necessary (e.g., for Markov autoregression) + if self.regime_transition.shape[-1] > 1 and self.order > 0: + self.regime_transition = self.regime_transition[..., self.order :] + + # Cache for predicted marginal probabilities + self._predicted_marginal_probabilities = None + + @property + def predicted_marginal_probabilities(self): + if self._predicted_marginal_probabilities is None: + self._predicted_marginal_probabilities = self.predicted_joint_probabilities + for _ in range(self._predicted_marginal_probabilities.ndim - 2): + self._predicted_marginal_probabilities = np.sum( + self._predicted_marginal_probabilities, axis=-2 + ) + return self._predicted_marginal_probabilities + + @property + def expected_durations(self): + """ + (array) Expected duration of a regime, possibly time-varying. + """ + # It is possible that we will have a degenerate system, so that there + # is no possibility of transitioning to a different state. In that + # case, we do want the expected duration of one state to be np.inf, + # and the expected duration of the other states to be np.nan + diag = np.diagonal(self.regime_transition) + expected_durations = np.zeros_like(diag) + degenerate = np.any(diag == 1, axis=1) + + # For non-degenerate states, use the usual computation + expected_durations[~degenerate] = 1 / (1 - diag[~degenerate]) + + # For degenerate states, everything is np.nan, except for the one + # state that is np.inf. + expected_durations[degenerate] = np.nan + expected_durations[diag == 1] = np.inf + + return expected_durations.squeeze() + + +class KimSmootherResults(HamiltonFilterResults): + """ + Results from applying the Kim smoother to a Markov switching model. + + Parameters + ---------- + model : MarkovSwitching instance + The model object. + result : dict + A dictionary containing two keys: 'smoothed_joint_probabilities' and + 'smoothed_marginal_probabilities'. + + Attributes + ---------- + nobs : int + Number of observations. + k_regimes : int + The number of unobserved regimes. + smoothed_joint_probabilities : ndarray + Smoothed joint probabilities at each time period. + smoothed_marginal_probabilities : ndarray + Smoothed marginal probabilities at each time period. + """ + + def __init__(self, model, result): + super().__init__(model, result) + + attributes = ["smoothed_joint_probabilities", "smoothed_marginal_probabilities"] + + for name in attributes: + setattr(self, name, getattr(result, name)) + + +class MarkovSwitchingResults(tsbase.TimeSeriesModelResults): + r""" + Class to hold results from fitting a Markov switching model + + Parameters + ---------- + model : MarkovSwitching instance + The fitted model instance + params : ndarray + Fitted parameters + filter_results : HamiltonFilterResults or KimSmootherResults instance + The underlying filter and, optionally, smoother output + cov_type : str, optional + The type of covariance matrix estimator to use. Can be one of 'approx', + 'opg', 'robust', or 'none'. + + Attributes + ---------- + model : Model instance + A reference to the model that was fit. + filter_results : HamiltonFilterResults or KimSmootherResults instance + The underlying filter and, optionally, smoother output + nobs : float + The number of observations used to fit the model. + params : ndarray + The parameters of the model. + scale : float + This is currently set to 1.0 and not used by the model or its results. + """ + + use_t = False + + def __init__(self, model, params, results, cov_type="opg", cov_kwds=None, **kwargs): + self.data = model.data + + tsbase.TimeSeriesModelResults.__init__( + self, model, params, normalized_cov_params=None, scale=1.0 + ) + + # Save the filter / smoother output + self.filter_results = results + if isinstance(results, KimSmootherResults): + self.smoother_results = results + else: + self.smoother_results = None + + # Dimensions + self.nobs = model.nobs + self.order = model.order + self.k_regimes = model.k_regimes + + # Setup covariance matrix notes dictionary + if not hasattr(self, "cov_kwds"): + self.cov_kwds = {} + self.cov_type = cov_type + + # Setup the cache + self._cache = {} + + # Handle covariance matrix calculation + if cov_kwds is None: + cov_kwds = {} + self._cov_approx_complex_step = cov_kwds.pop("approx_complex_step", True) + self._cov_approx_centered = cov_kwds.pop("approx_centered", False) + try: + self._rank = None + self._get_robustcov_results(cov_type=cov_type, use_self=True, **cov_kwds) + except np.linalg.LinAlgError: + self._rank = 0 + k_params = len(self.params) + self.cov_params_default = np.zeros((k_params, k_params)) * np.nan + self.cov_kwds["cov_type"] = ( + "Covariance matrix could not be calculated: singular." + " information matrix." + ) + + # Copy over arrays + attributes = [ + "regime_transition", + "initial_probabilities", + "conditional_loglikelihoods", + "predicted_marginal_probabilities", + "predicted_joint_probabilities", + "filtered_marginal_probabilities", + "filtered_joint_probabilities", + "joint_loglikelihoods", + "expected_durations", + ] + for name in attributes: + setattr(self, name, getattr(self.filter_results, name)) + + attributes = ["smoothed_joint_probabilities", "smoothed_marginal_probabilities"] + for name in attributes: + if self.smoother_results is not None: + setattr(self, name, getattr(self.smoother_results, name)) + else: + setattr(self, name, None) + + # Reshape some arrays to long-format + self.predicted_marginal_probabilities = self.predicted_marginal_probabilities.T + self.filtered_marginal_probabilities = self.filtered_marginal_probabilities.T + if self.smoother_results is not None: + self.smoothed_marginal_probabilities = ( + self.smoothed_marginal_probabilities.T + ) + + # Make into Pandas arrays if using Pandas data + if isinstance(self.data, PandasData): + index = self.data.row_labels + if self.expected_durations.ndim > 1: + self.expected_durations = pd.DataFrame( + self.expected_durations, index=index + ) + self.predicted_marginal_probabilities = pd.DataFrame( + self.predicted_marginal_probabilities, index=index + ) + self.filtered_marginal_probabilities = pd.DataFrame( + self.filtered_marginal_probabilities, index=index + ) + if self.smoother_results is not None: + self.smoothed_marginal_probabilities = pd.DataFrame( + self.smoothed_marginal_probabilities, index=index + ) + + def _get_robustcov_results(self, cov_type="opg", **kwargs): + from statsmodels.base.covtype import descriptions + + use_self = kwargs.pop("use_self", False) + if use_self: + res = self + else: + raise NotImplementedError + res = self.__class__( + self.model, + self.params, + normalized_cov_params=self.normalized_cov_params, + scale=self.scale, + ) + + # Set the new covariance type + res.cov_type = cov_type + res.cov_kwds = {} + + approx_type_str = "complex-step" + + # Calculate the new covariance matrix + k_params = len(self.params) + if k_params == 0: + res.cov_params_default = np.zeros((0, 0)) + res._rank = 0 + res.cov_kwds["description"] = "No parameters estimated." + elif cov_type == "custom": + res.cov_type = kwargs["custom_cov_type"] + res.cov_params_default = kwargs["custom_cov_params"] + res.cov_kwds["description"] = kwargs["custom_description"] + res._rank = np.linalg.matrix_rank(res.cov_params_default) + elif cov_type == "none": + res.cov_params_default = np.zeros((k_params, k_params)) * np.nan + res._rank = np.nan + res.cov_kwds["description"] = descriptions["none"] + elif self.cov_type == "approx": + res.cov_params_default = res.cov_params_approx + res.cov_kwds["description"] = descriptions["approx"].format( + approx_type=approx_type_str + ) + elif self.cov_type == "opg": + res.cov_params_default = res.cov_params_opg + res.cov_kwds["description"] = descriptions["OPG"].format( + approx_type=approx_type_str + ) + elif self.cov_type == "robust": + res.cov_params_default = res.cov_params_robust + res.cov_kwds["description"] = descriptions["robust"].format( + approx_type=approx_type_str + ) + else: + raise NotImplementedError("Invalid covariance matrix type.") + + return res + + @cache_readonly + def aic(self): + """ + (float) Akaike Information Criterion + """ + # return -2*self.llf + 2*self.params.shape[0] + return aic(self.llf, self.nobs, self.params.shape[0]) + + @cache_readonly + def bic(self): + """ + (float) Bayes Information Criterion + """ + # return -2*self.llf + self.params.shape[0]*np.log(self.nobs) + return bic(self.llf, self.nobs, self.params.shape[0]) + + @cache_readonly + def cov_params_approx(self): + """ + (array) The variance / covariance matrix. Computed using the numerical + Hessian approximated by complex step or finite differences methods. + """ + evaluated_hessian = self.model.hessian(self.params, transformed=True) + neg_cov, singular_values = pinv_extended(evaluated_hessian) + + if self._rank is None: + self._rank = np.linalg.matrix_rank(np.diag(singular_values)) + + return -neg_cov + + @cache_readonly + def cov_params_opg(self): + """ + (array) The variance / covariance matrix. Computed using the outer + product of gradients method. + """ + score_obs = self.model.score_obs(self.params, transformed=True).T + cov_params, singular_values = pinv_extended(np.inner(score_obs, score_obs)) + + if self._rank is None: + self._rank = np.linalg.matrix_rank(np.diag(singular_values)) + + return cov_params + + @cache_readonly + def cov_params_robust(self): + """ + (array) The QMLE variance / covariance matrix. Computed using the + numerical Hessian as the evaluated hessian. + """ + cov_opg = self.cov_params_opg + evaluated_hessian = self.model.hessian(self.params, transformed=True) + cov_params, singular_values = pinv_extended( + np.dot(np.dot(evaluated_hessian, cov_opg), evaluated_hessian) + ) + + if self._rank is None: + self._rank = np.linalg.matrix_rank(np.diag(singular_values)) + + return cov_params + + @cache_readonly + def fittedvalues(self): + """ + (array) The predicted values of the model. An (nobs x k_endog) array. + """ + return self.model.predict(self.params) + + @cache_readonly + def hqic(self): + """ + (float) Hannan-Quinn Information Criterion + """ + # return -2*self.llf + 2*np.log(np.log(self.nobs))*self.params.shape[0] + return hqic(self.llf, self.nobs, self.params.shape[0]) + + @cache_readonly + def llf_obs(self): + """ + (float) The value of the log-likelihood function evaluated at `params`. + """ + return self.model.loglikeobs(self.params) + + @cache_readonly + def llf(self): + """ + (float) The value of the log-likelihood function evaluated at `params`. + """ + return self.model.loglike(self.params) + + @cache_readonly + def resid(self): + """ + (array) The model residuals. An (nobs x k_endog) array. + """ + return self.model.endog - self.fittedvalues + + @property + def joint_likelihoods(self): + return np.exp(self.joint_loglikelihoods) + + def predict(self, start=None, end=None, probabilities=None, conditional=False): + """ + In-sample prediction and out-of-sample forecasting + + Parameters + ---------- + start : int, str, or datetime, optional + Zero-indexed observation number at which to start forecasting, + i.e., the first forecast is start. Can also be a date string to + parse or a datetime type. Default is the zeroth observation. + end : int, str, or datetime, optional + Zero-indexed observation number at which to end forecasting, i.e., + the last forecast is end. Can also be a date string to + parse or a datetime type. However, if the dates index does not + have a fixed frequency, end must be an integer index if you + want out of sample prediction. Default is the last observation in + the sample. + probabilities : str or array_like, optional + Specifies the weighting probabilities used in constructing the + prediction as a weighted average. If a string, can be 'predicted', + 'filtered', or 'smoothed'. Otherwise can be an array of + probabilities to use. Default is smoothed. + conditional : bool or int, optional + Whether or not to return predictions conditional on current or + past regimes. If False, returns a single vector of weighted + predictions. If True or 1, returns predictions conditional on the + current regime. For larger integers, returns predictions + conditional on the current regime and some number of past regimes. + + Returns + ------- + predict : ndarray + Array of out of in-sample predictions and / or out-of-sample + forecasts. An (npredict x k_endog) array. + """ + return self.model.predict( + self.params, + start=start, + end=end, + probabilities=probabilities, + conditional=conditional, + ) + + def forecast(self, steps=1, **kwargs): + """ + Out-of-sample forecasts + + Parameters + ---------- + steps : int, str, or datetime, optional + If an integer, the number of steps to forecast from the end of the + sample. Can also be a date string to parse or a datetime type. + However, if the dates index does not have a fixed frequency, steps + must be an integer. Default is 1. + **kwargs + Additional arguments may be required for forecasting beyond the end + of the sample. See `FilterResults.predict` for more details. + + Returns + ------- + forecast : ndarray + Array of out of sample forecasts. A (steps x k_endog) array. + """ + raise NotImplementedError + + def summary( + self, alpha=0.05, start=None, title=None, model_name=None, display_params=True + ): + """ + Summarize the Model + + Parameters + ---------- + alpha : float, optional + Significance level for the confidence intervals. Default is 0.05. + start : int, optional + Integer of the start observation. Default is 0. + title : str, optional + The title of the summary table. + model_name : str or list of str, optional + The name of the model used. Default is to use model class name. + display_params : bool, optional + Whether or not to display tables of estimated parameters. Default + is True. Usually only used internally. + + Returns + ------- + summary : Summary instance + This holds the summary table and text, which can be printed or + converted to various output formats. + + See Also + -------- + statsmodels.iolib.summary.Summary + """ + from statsmodels.iolib.summary import Summary + + # Model specification results + model = self.model + if title is None: + title = "Markov Switching Model Results" + + if start is None: + start = 0 + if self.data.dates is not None: + dates = self.data.dates + d = dates[start] + sample = [f"{d.month:02d}-{d.day:02d}-{d.year:02d}"] + d = dates[-1] + sample += ["- " + f"{d.month:02d}-{d.day:02d}-{d.year:02d}"] + else: + sample = [str(start), " - " + str(self.model.nobs)] + + # Standardize the model name as a list of str + if model_name is None: + model_name = model.__class__.__name__ + + # Create the tables + if not isinstance(model_name, list): + model_name = [model_name] + + top_left = [("Dep. Variable:", None), ("Model:", [model_name[0]])] + top_left.extend( + ("", ["+ " + model_name[i]]) for i in range(1, len(model_name)) + ) + top_left += [ + ("Date:", None), + ("Time:", None), + ("Sample:", [sample[0]]), + ("", [sample[1]]), + ] + + top_right = [ + ("No. Observations:", [self.model.nobs]), + ("Log Likelihood", [f"{self.llf:#5.3f}"]), + ("AIC", [f"{self.aic:#5.3f}"]), + ("BIC", [f"{self.bic:#5.3f}"]), + ("HQIC", [f"{self.hqic:#5.3f}"]), + ] + + if hasattr(self, "cov_type"): + top_left.append(("Covariance Type:", [self.cov_type])) + + summary = Summary() + summary.add_table_2cols(self, gleft=top_left, gright=top_right, title=title) + + # Make parameters tables for each regime + import re + + from statsmodels.iolib.summary import summary_params + + def make_table(self, mask, title, strip_end=True): + res = ( + self, + self.params[mask], + self.bse[mask], + self.tvalues[mask], + self.pvalues[mask], + self.conf_int(alpha)[mask], + ) + + param_names = [ + re.sub(r"\[\d+\]$", "", name) + for name in np.array(self.data.param_names)[mask].tolist() + ] + + return summary_params( + res, + yname=None, + xname=param_names, + alpha=alpha, + use_t=False, + title=title, + ) + + params = model.parameters + regime_masks = [[] for i in range(model.k_regimes)] + other_masks = {} + for key, switching in params.switching.items(): + k_params = len(switching) + if key == "regime_transition": + continue + other_masks[key] = [] + + for i in range(k_params): + if switching[i]: + for j in range(self.k_regimes): + regime_masks[j].append(params[j, key][i]) + else: + other_masks[key].append(params[0, key][i]) + + for i in range(self.k_regimes): + mask = regime_masks[i] + if len(mask) > 0: + table = make_table(self, mask, f"Regime {i:d} parameters") + summary.tables.append(table) + + mask = [] + for _mask in other_masks.values(): + mask.extend(_mask) + if len(mask) > 0: + table = make_table(self, mask, "Non-switching parameters") + summary.tables.append(table) + + # Transition parameters + mask = params["regime_transition"] + table = make_table(self, mask, "Regime transition parameters") + summary.tables.append(table) + + # Add warnings/notes, added to text format only + etext = [] + if hasattr(self, "cov_type") and "description" in self.cov_kwds: + etext.append(self.cov_kwds["description"]) + + if self._rank < len(self.params): + etext.append( + "Covariance matrix is singular or near-singular," + f" with condition number {_safe_cond(self.cov_params()):6.3g}. Standard errors may be" + " unstable." + ) + + if etext: + etext = [f"[{i + 1}] {text}" for i, text in enumerate(etext)] + etext.insert(0, "Warnings:") + summary.add_extra_txt(etext) + + return summary + + +class MarkovSwitchingResultsWrapper(wrap.ResultsWrapper): + _attrs = { + "cov_params_approx": "cov", + "cov_params_default": "cov", + "cov_params_opg": "cov", + "cov_params_robust": "cov", + } + _wrap_attrs = wrap.union_dicts(tsbase.TimeSeriesResultsWrapper._wrap_attrs, _attrs) + _methods = { + "forecast": "dates", + } + _wrap_methods = wrap.union_dicts( + tsbase.TimeSeriesResultsWrapper._wrap_methods, _methods + ) + + +wrap.populate_wrapper(MarkovSwitchingResultsWrapper, MarkovSwitchingResults) diff --git a/shared/package-files/8a/8a895917f30ec964606126be4ac0f875fe669f214ad7cceb20223be34496a137/umath-validation-set-tanh.csv b/shared/package-files/8a/8a895917f30ec964606126be4ac0f875fe669f214ad7cceb20223be34496a137/umath-validation-set-tanh.csv new file mode 100644 index 0000000000000000000000000000000000000000..9e3ddc60ffa683f01139870d31de5cb61c2cbc2e --- /dev/null +++ b/shared/package-files/8a/8a895917f30ec964606126be4ac0f875fe669f214ad7cceb20223be34496a137/umath-validation-set-tanh.csv @@ -0,0 +1,1429 @@ +dtype,input,output,ulperrortol +np.float32,0xbe26ebb0,0xbe25752f,2 +np.float32,0xbe22ecc0,0xbe219054,2 +np.float32,0x8010a6b3,0x8010a6b3,2 +np.float32,0x3135da,0x3135da,2 +np.float32,0xbe982afc,0xbe93d727,2 +np.float32,0x16a51f,0x16a51f,2 +np.float32,0x491e56,0x491e56,2 +np.float32,0x4bf7ca,0x4bf7ca,2 +np.float32,0x3eebc21c,0x3edc65b2,2 +np.float32,0x80155c94,0x80155c94,2 +np.float32,0x3e14f626,0x3e13eb6a,2 +np.float32,0x801a238f,0x801a238f,2 +np.float32,0xbde33a80,0xbde24cf9,2 +np.float32,0xbef8439c,0xbee67a51,2 +np.float32,0x7f60d0a5,0x3f800000,2 +np.float32,0x190ee3,0x190ee3,2 +np.float32,0x80759113,0x80759113,2 +np.float32,0x800afa9f,0x800afa9f,2 +np.float32,0x7110cf,0x7110cf,2 +np.float32,0x3cf709f0,0x3cf6f6c6,2 +np.float32,0x3ef58da4,0x3ee44fa7,2 +np.float32,0xbf220ff2,0xbf0f662c,2 +np.float32,0xfd888078,0xbf800000,2 +np.float32,0xbe324734,0xbe307f9b,2 +np.float32,0x3eb5cb4f,0x3eae8560,2 +np.float32,0xbf7e7d02,0xbf425493,2 +np.float32,0x3ddcdcf0,0x3ddc02c2,2 +np.float32,0x8026d27a,0x8026d27a,2 +np.float32,0x3d4c0fb1,0x3d4be484,2 +np.float32,0xbf27d2c9,0xbf134d7c,2 +np.float32,0x8029ff80,0x8029ff80,2 +np.float32,0x7f046d2c,0x3f800000,2 +np.float32,0x13f94b,0x13f94b,2 +np.float32,0x7f4ff922,0x3f800000,2 +np.float32,0x3f4ea2ed,0x3f2b03e4,2 +np.float32,0x3e7211f0,0x3e6da8cf,2 +np.float32,0x7f39d0cf,0x3f800000,2 +np.float32,0xfee57fc6,0xbf800000,2 +np.float32,0xff6fb326,0xbf800000,2 +np.float32,0xff800000,0xbf800000,2 +np.float32,0x3f0437a4,0x3ef32fcd,2 +np.float32,0xff546d1e,0xbf800000,2 +np.float32,0x3eb5645b,0x3eae2a5c,2 +np.float32,0x3f08a6e5,0x3ef9ff8f,2 +np.float32,0x80800000,0x80800000,2 +np.float32,0x7f3413da,0x3f800000,2 +np.float32,0xfd760140,0xbf800000,2 +np.float32,0x7f3ad24a,0x3f800000,2 +np.float32,0xbf56e812,0xbf2f7f14,2 +np.float32,0xbece0338,0xbec3920a,2 +np.float32,0xbeede54a,0xbede22ae,2 +np.float32,0x7eaeb215,0x3f800000,2 +np.float32,0x3c213c00,0x3c213aab,2 +np.float32,0x7eaac217,0x3f800000,2 +np.float32,0xbf2f740e,0xbf1851a6,2 +np.float32,0x7f6ca5b8,0x3f800000,2 +np.float32,0xff42ce95,0xbf800000,2 +np.float32,0x802e4189,0x802e4189,2 +np.float32,0x80000001,0x80000001,2 +np.float32,0xbf31f298,0xbf19ebbe,2 +np.float32,0x3dcb0e6c,0x3dca64c1,2 +np.float32,0xbf29599c,0xbf145204,2 +np.float32,0x2e33f2,0x2e33f2,2 +np.float32,0x1c11e7,0x1c11e7,2 +np.float32,0x3f3b188d,0x3f1fa302,2 +np.float32,0x113300,0x113300,2 +np.float32,0x8054589e,0x8054589e,2 +np.float32,0x2a9e69,0x2a9e69,2 +np.float32,0xff513af7,0xbf800000,2 +np.float32,0x7f2e987a,0x3f800000,2 +np.float32,0x807cd426,0x807cd426,2 +np.float32,0x7f0dc4e4,0x3f800000,2 +np.float32,0x7e7c0d56,0x3f800000,2 +np.float32,0x5cb076,0x5cb076,2 +np.float32,0x80576426,0x80576426,2 +np.float32,0xff616222,0xbf800000,2 +np.float32,0xbf7accb5,0xbf40c005,2 +np.float32,0xfe4118c8,0xbf800000,2 +np.float32,0x804b9327,0x804b9327,2 +np.float32,0x3ed2b428,0x3ec79026,2 +np.float32,0x3f4a048f,0x3f286d41,2 +np.float32,0x800000,0x800000,2 +np.float32,0x7efceb9f,0x3f800000,2 +np.float32,0xbf5fe2d3,0xbf34246f,2 +np.float32,0x807e086a,0x807e086a,2 +np.float32,0x7ef5e856,0x3f800000,2 +np.float32,0xfc546f00,0xbf800000,2 +np.float32,0x3a65b890,0x3a65b88c,2 +np.float32,0x800cfa70,0x800cfa70,2 +np.float32,0x80672ea7,0x80672ea7,2 +np.float32,0x3f2bf3f2,0x3f160a12,2 +np.float32,0xbf0ab67e,0xbefd2004,2 +np.float32,0x3f2a0bb4,0x3f14c824,2 +np.float32,0xbeff5374,0xbeec12d7,2 +np.float32,0xbf221b58,0xbf0f6dff,2 +np.float32,0x7cc1f3,0x7cc1f3,2 +np.float32,0x7f234e3c,0x3f800000,2 +np.float32,0x3f60ff10,0x3f34b37d,2 +np.float32,0xbdd957f0,0xbdd887fe,2 +np.float32,0x801ce048,0x801ce048,2 +np.float32,0x7f3a8f76,0x3f800000,2 +np.float32,0xfdd13d08,0xbf800000,2 +np.float32,0x3e9af4a4,0x3e966445,2 +np.float32,0x1e55f3,0x1e55f3,2 +np.float32,0x327905,0x327905,2 +np.float32,0xbf03cf0b,0xbef28dad,2 +np.float32,0x3f0223d3,0x3eeff4f4,2 +np.float32,0xfdd96ff8,0xbf800000,2 +np.float32,0x428db8,0x428db8,2 +np.float32,0xbd74a200,0xbd7457a5,2 +np.float32,0x2a63a3,0x2a63a3,2 +np.float32,0x7e8aa9d7,0x3f800000,2 +np.float32,0x7f50b810,0x3f800000,2 +np.float32,0xbce5ec80,0xbce5dd0d,2 +np.float32,0x54711,0x54711,2 +np.float32,0x8074212a,0x8074212a,2 +np.float32,0xbf13d0ec,0xbf0551b5,2 +np.float32,0x80217f89,0x80217f89,2 +np.float32,0x3f300824,0x3f18b12f,2 +np.float32,0x7d252462,0x3f800000,2 +np.float32,0x807a154c,0x807a154c,2 +np.float32,0x8064d4b9,0x8064d4b9,2 +np.float32,0x804543b4,0x804543b4,2 +np.float32,0x4c269e,0x4c269e,2 +np.float32,0xff39823b,0xbf800000,2 +np.float32,0x3f5040b1,0x3f2be80b,2 +np.float32,0xbf7028c1,0xbf3bfee5,2 +np.float32,0x3e94eb78,0x3e90db93,2 +np.float32,0x3ccc1b40,0x3ccc1071,2 +np.float32,0xbe8796f0,0xbe8481a1,2 +np.float32,0xfc767bc0,0xbf800000,2 +np.float32,0xbdd81ed0,0xbdd75259,2 +np.float32,0xbed31bfc,0xbec7e82d,2 +np.float32,0xbf350a9e,0xbf1be1c6,2 +np.float32,0x33d41f,0x33d41f,2 +np.float32,0x3f73e076,0x3f3db0b5,2 +np.float32,0x3f800000,0x3f42f7d6,2 +np.float32,0xfee27c14,0xbf800000,2 +np.float32,0x7f6e4388,0x3f800000,2 +np.float32,0x4ea19b,0x4ea19b,2 +np.float32,0xff2d75f2,0xbf800000,2 +np.float32,0x7ee225ca,0x3f800000,2 +np.float32,0x3f31cb4b,0x3f19d2a4,2 +np.float32,0x80554a9d,0x80554a9d,2 +np.float32,0x3f4d57fa,0x3f2a4c03,2 +np.float32,0x3eac6a88,0x3ea62e72,2 +np.float32,0x773520,0x773520,2 +np.float32,0x8079c20a,0x8079c20a,2 +np.float32,0xfeb1eb94,0xbf800000,2 +np.float32,0xfe8d81c0,0xbf800000,2 +np.float32,0xfeed6902,0xbf800000,2 +np.float32,0x8066bb65,0x8066bb65,2 +np.float32,0x7f800000,0x3f800000,2 +np.float32,0x1,0x1,2 +np.float32,0x3f2c66a4,0x3f16554a,2 +np.float32,0x3cd231,0x3cd231,2 +np.float32,0x3e932a64,0x3e8f3e0c,2 +np.float32,0xbf3ab1c3,0xbf1f6420,2 +np.float32,0xbc902b20,0xbc902751,2 +np.float32,0x7dac0a5b,0x3f800000,2 +np.float32,0x3f2b7e06,0x3f15bc93,2 +np.float32,0x75de0,0x75de0,2 +np.float32,0x8020b7bc,0x8020b7bc,2 +np.float32,0x3f257cda,0x3f11bb6b,2 +np.float32,0x807480e5,0x807480e5,2 +np.float32,0xfe00d758,0xbf800000,2 +np.float32,0xbd9b54e0,0xbd9b08cd,2 +np.float32,0x4dfbe3,0x4dfbe3,2 +np.float32,0xff645788,0xbf800000,2 +np.float32,0xbe92c80a,0xbe8ee360,2 +np.float32,0x3eb9b400,0x3eb1f77c,2 +np.float32,0xff20b69c,0xbf800000,2 +np.float32,0x623c28,0x623c28,2 +np.float32,0xff235748,0xbf800000,2 +np.float32,0xbf3bbc56,0xbf2006f3,2 +np.float32,0x7e6f78b1,0x3f800000,2 +np.float32,0x7e1584e9,0x3f800000,2 +np.float32,0xff463423,0xbf800000,2 +np.float32,0x8002861e,0x8002861e,2 +np.float32,0xbf0491d8,0xbef3bb6a,2 +np.float32,0x7ea3bc17,0x3f800000,2 +np.float32,0xbedde7ea,0xbed0fb49,2 +np.float32,0xbf4bac48,0xbf295c8b,2 +np.float32,0xff28e276,0xbf800000,2 +np.float32,0x7e8f3bf5,0x3f800000,2 +np.float32,0xbf0a4a73,0xbefc7c9d,2 +np.float32,0x7ec5bd96,0x3f800000,2 +np.float32,0xbf4c22e8,0xbf299f2c,2 +np.float32,0x3e3970a0,0x3e377064,2 +np.float32,0x3ecb1118,0x3ec10c88,2 +np.float32,0xff548a7a,0xbf800000,2 +np.float32,0xfe8ec550,0xbf800000,2 +np.float32,0x3e158985,0x3e147bb2,2 +np.float32,0x7eb79ad7,0x3f800000,2 +np.float32,0xbe811384,0xbe7cd1ab,2 +np.float32,0xbdc4b9e8,0xbdc41f94,2 +np.float32,0xe0fd5,0xe0fd5,2 +np.float32,0x3f2485f2,0x3f11142b,2 +np.float32,0xfdd3c3d8,0xbf800000,2 +np.float32,0xfe8458e6,0xbf800000,2 +np.float32,0x3f06e398,0x3ef74dd8,2 +np.float32,0xff4752cf,0xbf800000,2 +np.float32,0x6998e3,0x6998e3,2 +np.float32,0x626751,0x626751,2 +np.float32,0x806631d6,0x806631d6,2 +np.float32,0xbf0c3cf4,0xbeff6c54,2 +np.float32,0x802860f8,0x802860f8,2 +np.float32,0xff2952cb,0xbf800000,2 +np.float32,0xff31d40b,0xbf800000,2 +np.float32,0x7c389473,0x3f800000,2 +np.float32,0x3dcd2f1b,0x3dcc8010,2 +np.float32,0x3d70c29f,0x3d707bbc,2 +np.float32,0x3f6bd386,0x3f39f979,2 +np.float32,0x1efec9,0x1efec9,2 +np.float32,0x3f675518,0x3f37d338,2 +np.float32,0x5fdbe3,0x5fdbe3,2 +np.float32,0x5d684e,0x5d684e,2 +np.float32,0xbedfe748,0xbed2a4c7,2 +np.float32,0x3f0cb07a,0x3f000cdc,2 +np.float32,0xbf77151e,0xbf3f1f5d,2 +np.float32,0x7f038ea0,0x3f800000,2 +np.float32,0x3ea91be9,0x3ea3376f,2 +np.float32,0xbdf20738,0xbdf0e861,2 +np.float32,0x807ea380,0x807ea380,2 +np.float32,0x2760ca,0x2760ca,2 +np.float32,0x7f20a544,0x3f800000,2 +np.float32,0x76ed83,0x76ed83,2 +np.float32,0x15a441,0x15a441,2 +np.float32,0x74c76d,0x74c76d,2 +np.float32,0xff3d5c2a,0xbf800000,2 +np.float32,0x7f6a76a6,0x3f800000,2 +np.float32,0x3eb87067,0x3eb0dabe,2 +np.float32,0xbf515cfa,0xbf2c83af,2 +np.float32,0xbdececc0,0xbdebdf9d,2 +np.float32,0x7f51b7c2,0x3f800000,2 +np.float32,0x3eb867ac,0x3eb0d30d,2 +np.float32,0xff50fd84,0xbf800000,2 +np.float32,0x806945e9,0x806945e9,2 +np.float32,0x298eed,0x298eed,2 +np.float32,0x441f53,0x441f53,2 +np.float32,0x8066d4b0,0x8066d4b0,2 +np.float32,0x3f6a479c,0x3f393dae,2 +np.float32,0xbf6ce2a7,0xbf3a7921,2 +np.float32,0x8064c3cf,0x8064c3cf,2 +np.float32,0xbf2d8146,0xbf170dfd,2 +np.float32,0x3b0e82,0x3b0e82,2 +np.float32,0xbea97574,0xbea387dc,2 +np.float32,0x67ad15,0x67ad15,2 +np.float32,0xbf68478f,0xbf38485a,2 +np.float32,0xff6f593b,0xbf800000,2 +np.float32,0xbeda26f2,0xbecdd806,2 +np.float32,0xbd216d50,0xbd2157ee,2 +np.float32,0x7a8544db,0x3f800000,2 +np.float32,0x801df20b,0x801df20b,2 +np.float32,0xbe14ba24,0xbe13b0a8,2 +np.float32,0xfdc6d8a8,0xbf800000,2 +np.float32,0x1d6b49,0x1d6b49,2 +np.float32,0x7f5ff1b8,0x3f800000,2 +np.float32,0x3f75e032,0x3f3e9625,2 +np.float32,0x7f2c5687,0x3f800000,2 +np.float32,0x3d95fb6c,0x3d95b6ee,2 +np.float32,0xbea515e4,0xbe9f97c8,2 +np.float32,0x7f2b2cd7,0x3f800000,2 +np.float32,0x3f076f7a,0x3ef8241e,2 +np.float32,0x5178ca,0x5178ca,2 +np.float32,0xbeb5976a,0xbeae5781,2 +np.float32,0x3e3c3563,0x3e3a1e13,2 +np.float32,0xbd208530,0xbd20702a,2 +np.float32,0x3eb03b04,0x3ea995ef,2 +np.float32,0x17fb9c,0x17fb9c,2 +np.float32,0xfca68e40,0xbf800000,2 +np.float32,0xbf5e7433,0xbf336a9f,2 +np.float32,0xff5b8d3d,0xbf800000,2 +np.float32,0x8003121d,0x8003121d,2 +np.float32,0xbe6dd344,0xbe69a3b0,2 +np.float32,0x67cc4,0x67cc4,2 +np.float32,0x9b01d,0x9b01d,2 +np.float32,0x127c13,0x127c13,2 +np.float32,0xfea5e3d6,0xbf800000,2 +np.float32,0xbdf5c610,0xbdf499c1,2 +np.float32,0x3aff4c00,0x3aff4beb,2 +np.float32,0x3b00afd0,0x3b00afc5,2 +np.float32,0x479618,0x479618,2 +np.float32,0x801cbd05,0x801cbd05,2 +np.float32,0x3ec9249f,0x3ebf6579,2 +np.float32,0x3535c4,0x3535c4,2 +np.float32,0xbeb4f662,0xbeadc915,2 +np.float32,0x8006fda6,0x8006fda6,2 +np.float32,0xbf4f3097,0xbf2b5239,2 +np.float32,0xbf3cb9a8,0xbf20a0e9,2 +np.float32,0x32ced0,0x32ced0,2 +np.float32,0x7ea34e76,0x3f800000,2 +np.float32,0x80063046,0x80063046,2 +np.float32,0x80727e8b,0x80727e8b,2 +np.float32,0xfd6b5780,0xbf800000,2 +np.float32,0x80109815,0x80109815,2 +np.float32,0xfdcc8a78,0xbf800000,2 +np.float32,0x81562,0x81562,2 +np.float32,0x803dfacc,0x803dfacc,2 +np.float32,0xbe204318,0xbe1ef75f,2 +np.float32,0xbf745d34,0xbf3de8e2,2 +np.float32,0xff13fdcc,0xbf800000,2 +np.float32,0x7f75ba8c,0x3f800000,2 +np.float32,0x806c04b4,0x806c04b4,2 +np.float32,0x3ec61ca6,0x3ebcc877,2 +np.float32,0xbeaea984,0xbea8301f,2 +np.float32,0xbf4dcd0e,0xbf2a8d34,2 +np.float32,0x802a01d3,0x802a01d3,2 +np.float32,0xbf747be5,0xbf3df6ad,2 +np.float32,0xbf75cbd2,0xbf3e8d0f,2 +np.float32,0x7db86576,0x3f800000,2 +np.float32,0xff49a2c3,0xbf800000,2 +np.float32,0xbedc5314,0xbecfa978,2 +np.float32,0x8078877b,0x8078877b,2 +np.float32,0xbead4824,0xbea6f499,2 +np.float32,0xbf3926e3,0xbf1e716c,2 +np.float32,0x807f4a1c,0x807f4a1c,2 +np.float32,0x7f2cd8fd,0x3f800000,2 +np.float32,0x806cfcca,0x806cfcca,2 +np.float32,0xff1aa048,0xbf800000,2 +np.float32,0x7eb9ea08,0x3f800000,2 +np.float32,0xbf1034bc,0xbf02ab3a,2 +np.float32,0xbd087830,0xbd086b44,2 +np.float32,0x7e071034,0x3f800000,2 +np.float32,0xbefcc9de,0xbeea122f,2 +np.float32,0x80796d7a,0x80796d7a,2 +np.float32,0x33ce46,0x33ce46,2 +np.float32,0x8074a783,0x8074a783,2 +np.float32,0xbe95a56a,0xbe918691,2 +np.float32,0xbf2ff3f4,0xbf18a42d,2 +np.float32,0x1633e9,0x1633e9,2 +np.float32,0x7f0f104b,0x3f800000,2 +np.float32,0xbf800000,0xbf42f7d6,2 +np.float32,0x3d2cd6,0x3d2cd6,2 +np.float32,0xfed43e16,0xbf800000,2 +np.float32,0x3ee6faec,0x3ed87d2c,2 +np.float32,0x3f2c32d0,0x3f163352,2 +np.float32,0xff4290c0,0xbf800000,2 +np.float32,0xbf66500e,0xbf37546a,2 +np.float32,0x7dfb8fe3,0x3f800000,2 +np.float32,0x3f20ba5d,0x3f0e7b16,2 +np.float32,0xff30c7ae,0xbf800000,2 +np.float32,0x1728a4,0x1728a4,2 +np.float32,0x340d82,0x340d82,2 +np.float32,0xff7870b7,0xbf800000,2 +np.float32,0xbeac6ac4,0xbea62ea7,2 +np.float32,0xbef936fc,0xbee73c36,2 +np.float32,0x3ec7e12c,0x3ebe4ef8,2 +np.float32,0x80673488,0x80673488,2 +np.float32,0xfdf14c90,0xbf800000,2 +np.float32,0x3f182568,0x3f08726e,2 +np.float32,0x7ed7dcd0,0x3f800000,2 +np.float32,0x3de4da34,0x3de3e790,2 +np.float32,0xff7fffff,0xbf800000,2 +np.float32,0x4ff90c,0x4ff90c,2 +np.float32,0x3efb0d1c,0x3ee8b1d6,2 +np.float32,0xbf66e952,0xbf379ef4,2 +np.float32,0xba9dc,0xba9dc,2 +np.float32,0xff67c766,0xbf800000,2 +np.float32,0x7f1ffc29,0x3f800000,2 +np.float32,0x3f51c906,0x3f2cbe99,2 +np.float32,0x3f2e5792,0x3f179968,2 +np.float32,0x3ecb9750,0x3ec17fa0,2 +np.float32,0x7f3fcefc,0x3f800000,2 +np.float32,0xbe4e30fc,0xbe4b72f9,2 +np.float32,0x7e9bc4ce,0x3f800000,2 +np.float32,0x7e70aa1f,0x3f800000,2 +np.float32,0x14c6e9,0x14c6e9,2 +np.float32,0xbcf327c0,0xbcf3157a,2 +np.float32,0xff1fd204,0xbf800000,2 +np.float32,0x7d934a03,0x3f800000,2 +np.float32,0x8028bf1e,0x8028bf1e,2 +np.float32,0x7f0800b7,0x3f800000,2 +np.float32,0xfe04825c,0xbf800000,2 +np.float32,0x807210ac,0x807210ac,2 +np.float32,0x3f7faf7c,0x3f42d5fd,2 +np.float32,0x3e04a543,0x3e03e899,2 +np.float32,0x3e98ea15,0x3e94863e,2 +np.float32,0x3d2a2e48,0x3d2a153b,2 +np.float32,0x7fa00000,0x7fe00000,2 +np.float32,0x20a488,0x20a488,2 +np.float32,0x3f6ba86a,0x3f39e51a,2 +np.float32,0x0,0x0,2 +np.float32,0x3e892ddd,0x3e85fcfe,2 +np.float32,0x3e2da627,0x3e2c00e0,2 +np.float32,0xff000a50,0xbf800000,2 +np.float32,0x3eb749f4,0x3eafd739,2 +np.float32,0x8024c0ae,0x8024c0ae,2 +np.float32,0xfc8f3b40,0xbf800000,2 +np.float32,0xbf685fc7,0xbf385405,2 +np.float32,0x3f1510e6,0x3f063a4f,2 +np.float32,0x3f68e8ad,0x3f3895d8,2 +np.float32,0x3dba8608,0x3dba0271,2 +np.float32,0xbf16ea10,0xbf079017,2 +np.float32,0xb3928,0xb3928,2 +np.float32,0xfe447c00,0xbf800000,2 +np.float32,0x3db9cd57,0x3db94b45,2 +np.float32,0x803b66b0,0x803b66b0,2 +np.float32,0x805b5e02,0x805b5e02,2 +np.float32,0x7ec93f61,0x3f800000,2 +np.float32,0x8005a126,0x8005a126,2 +np.float32,0x6d8888,0x6d8888,2 +np.float32,0x3e21b7de,0x3e206314,2 +np.float32,0xbec9c31e,0xbebfedc2,2 +np.float32,0xbea88aa8,0xbea2b4e5,2 +np.float32,0x3d8fc310,0x3d8f86bb,2 +np.float32,0xbf3cc68a,0xbf20a8b8,2 +np.float32,0x432690,0x432690,2 +np.float32,0xbe51d514,0xbe4ef1a3,2 +np.float32,0xbcda6d20,0xbcda5fe1,2 +np.float32,0xfe24e458,0xbf800000,2 +np.float32,0xfedc8c14,0xbf800000,2 +np.float32,0x7f7e9bd4,0x3f800000,2 +np.float32,0x3ebcc880,0x3eb4ab44,2 +np.float32,0xbe0aa490,0xbe09cd44,2 +np.float32,0x3dc9158c,0x3dc870c3,2 +np.float32,0x3e5c319e,0x3e58dc90,2 +np.float32,0x1d4527,0x1d4527,2 +np.float32,0x2dbf5,0x2dbf5,2 +np.float32,0xbf1f121f,0xbf0d5534,2 +np.float32,0x7e3e9ab5,0x3f800000,2 +np.float32,0x7f74b5c1,0x3f800000,2 +np.float32,0xbf6321ba,0xbf35c42b,2 +np.float32,0xbe5c7488,0xbe591c79,2 +np.float32,0x7e7b02cd,0x3f800000,2 +np.float32,0xfe7cbfa4,0xbf800000,2 +np.float32,0xbeace360,0xbea69a86,2 +np.float32,0x7e149b00,0x3f800000,2 +np.float32,0xbf61a700,0xbf35079a,2 +np.float32,0x7eb592a7,0x3f800000,2 +np.float32,0x3f2105e6,0x3f0eaf30,2 +np.float32,0xfd997a88,0xbf800000,2 +np.float32,0xff5d093b,0xbf800000,2 +np.float32,0x63aede,0x63aede,2 +np.float32,0x6907ee,0x6907ee,2 +np.float32,0xbf7578ee,0xbf3e680f,2 +np.float32,0xfea971e8,0xbf800000,2 +np.float32,0x3f21d0f5,0x3f0f3aed,2 +np.float32,0x3a50e2,0x3a50e2,2 +np.float32,0x7f0f5b1e,0x3f800000,2 +np.float32,0x805b9765,0x805b9765,2 +np.float32,0xbe764ab8,0xbe71a664,2 +np.float32,0x3eafac7f,0x3ea91701,2 +np.float32,0x807f4130,0x807f4130,2 +np.float32,0x7c5f31,0x7c5f31,2 +np.float32,0xbdbe0e30,0xbdbd8300,2 +np.float32,0x7ecfe4e0,0x3f800000,2 +np.float32,0xff7cb628,0xbf800000,2 +np.float32,0xff1842bc,0xbf800000,2 +np.float32,0xfd4163c0,0xbf800000,2 +np.float32,0x800e11f7,0x800e11f7,2 +np.float32,0x7f3adec8,0x3f800000,2 +np.float32,0x7f597514,0x3f800000,2 +np.float32,0xbe986e14,0xbe9414a4,2 +np.float32,0x800fa9d7,0x800fa9d7,2 +np.float32,0xff5b79c4,0xbf800000,2 +np.float32,0x80070565,0x80070565,2 +np.float32,0xbee5628e,0xbed72d60,2 +np.float32,0x3f438ef2,0x3f24b3ca,2 +np.float32,0xcda91,0xcda91,2 +np.float32,0x7e64151a,0x3f800000,2 +np.float32,0xbe95d584,0xbe91b2c7,2 +np.float32,0x8022c2a1,0x8022c2a1,2 +np.float32,0x7e7097bf,0x3f800000,2 +np.float32,0x80139035,0x80139035,2 +np.float32,0x804de2cb,0x804de2cb,2 +np.float32,0xfde5d178,0xbf800000,2 +np.float32,0x6d238,0x6d238,2 +np.float32,0x807abedc,0x807abedc,2 +np.float32,0x3f450a12,0x3f259129,2 +np.float32,0x3ef1c120,0x3ee141f2,2 +np.float32,0xfeb64dae,0xbf800000,2 +np.float32,0x8001732c,0x8001732c,2 +np.float32,0x3f76062e,0x3f3ea711,2 +np.float32,0x3eddd550,0x3ed0ebc8,2 +np.float32,0xff5ca1d4,0xbf800000,2 +np.float32,0xbf49dc5e,0xbf285673,2 +np.float32,0x7e9e5438,0x3f800000,2 +np.float32,0x7e83625e,0x3f800000,2 +np.float32,0x3f5dc41c,0x3f3310da,2 +np.float32,0x3f583efa,0x3f30342f,2 +np.float32,0xbe26bf88,0xbe254a2d,2 +np.float32,0xff1e0beb,0xbf800000,2 +np.float32,0xbe2244c8,0xbe20ec86,2 +np.float32,0xff0b1630,0xbf800000,2 +np.float32,0xff338dd6,0xbf800000,2 +np.float32,0x3eafc22c,0x3ea92a51,2 +np.float32,0x800ea07f,0x800ea07f,2 +np.float32,0x3f46f006,0x3f26aa7e,2 +np.float32,0x3e5f57cd,0x3e5bde16,2 +np.float32,0xbf1b2d8e,0xbf0a9a93,2 +np.float32,0xfeacdbe0,0xbf800000,2 +np.float32,0x7e5ea4bc,0x3f800000,2 +np.float32,0xbf51cbe2,0xbf2cc027,2 +np.float32,0x8073644c,0x8073644c,2 +np.float32,0xff2d6bfe,0xbf800000,2 +np.float32,0x3f65f0f6,0x3f37260a,2 +np.float32,0xff4b37a6,0xbf800000,2 +np.float32,0x712df7,0x712df7,2 +np.float32,0x7f71ef17,0x3f800000,2 +np.float32,0x8042245c,0x8042245c,2 +np.float32,0x3e5dde7b,0x3e5a760d,2 +np.float32,0x8069317d,0x8069317d,2 +np.float32,0x807932dd,0x807932dd,2 +np.float32,0x802f847e,0x802f847e,2 +np.float32,0x7e9300,0x7e9300,2 +np.float32,0x8040b4ab,0x8040b4ab,2 +np.float32,0xff76ef8e,0xbf800000,2 +np.float32,0x4aae3a,0x4aae3a,2 +np.float32,0x8058de73,0x8058de73,2 +np.float32,0x7e4d58c0,0x3f800000,2 +np.float32,0x3d811b30,0x3d80ef79,2 +np.float32,0x7ec952cc,0x3f800000,2 +np.float32,0xfe162b1c,0xbf800000,2 +np.float32,0x3f0f1187,0x3f01d367,2 +np.float32,0xbf2f3458,0xbf182878,2 +np.float32,0x5ceb14,0x5ceb14,2 +np.float32,0xbec29476,0xbeb9b939,2 +np.float32,0x3e71f943,0x3e6d9176,2 +np.float32,0x3ededefc,0x3ed1c909,2 +np.float32,0x805df6ac,0x805df6ac,2 +np.float32,0x3e5ae2c8,0x3e579ca8,2 +np.float32,0x3f6ad2c3,0x3f397fdf,2 +np.float32,0x7d5f94d3,0x3f800000,2 +np.float32,0xbeec7fe4,0xbedd0037,2 +np.float32,0x3f645304,0x3f365b0d,2 +np.float32,0xbf69a087,0xbf38edef,2 +np.float32,0x8025102e,0x8025102e,2 +np.float32,0x800db486,0x800db486,2 +np.float32,0x4df6c7,0x4df6c7,2 +np.float32,0x806d8cdd,0x806d8cdd,2 +np.float32,0x7f0c78cc,0x3f800000,2 +np.float32,0x7e1cf70b,0x3f800000,2 +np.float32,0x3e0ae570,0x3e0a0cf7,2 +np.float32,0x80176ef8,0x80176ef8,2 +np.float32,0x3f38b60c,0x3f1e2bbb,2 +np.float32,0x3d3071e0,0x3d3055f5,2 +np.float32,0x3ebfcfdd,0x3eb750a9,2 +np.float32,0xfe2cdec0,0xbf800000,2 +np.float32,0x7eeb2eed,0x3f800000,2 +np.float32,0x8026c904,0x8026c904,2 +np.float32,0xbec79bde,0xbebe133a,2 +np.float32,0xbf7dfab6,0xbf421d47,2 +np.float32,0x805b3cfd,0x805b3cfd,2 +np.float32,0xfdfcfb68,0xbf800000,2 +np.float32,0xbd537ec0,0xbd534eaf,2 +np.float32,0x52ce73,0x52ce73,2 +np.float32,0xfeac6ea6,0xbf800000,2 +np.float32,0x3f2c2990,0x3f162d41,2 +np.float32,0x3e3354e0,0x3e318539,2 +np.float32,0x802db22b,0x802db22b,2 +np.float32,0x7f0faa83,0x3f800000,2 +np.float32,0x7f10e161,0x3f800000,2 +np.float32,0x7f165c60,0x3f800000,2 +np.float32,0xbf5a756f,0xbf315c82,2 +np.float32,0x7f5a4b68,0x3f800000,2 +np.float32,0xbd77fbf0,0xbd77ae7c,2 +np.float32,0x65d83c,0x65d83c,2 +np.float32,0x3e5f28,0x3e5f28,2 +np.float32,0x8040ec92,0x8040ec92,2 +np.float32,0xbf2b41a6,0xbf1594d5,2 +np.float32,0x7f2f88f1,0x3f800000,2 +np.float32,0xfdb64ab8,0xbf800000,2 +np.float32,0xbf7a3ff1,0xbf4082f5,2 +np.float32,0x1948fc,0x1948fc,2 +np.float32,0x802c1039,0x802c1039,2 +np.float32,0x80119274,0x80119274,2 +np.float32,0x7e885d7b,0x3f800000,2 +np.float32,0xfaf6a,0xfaf6a,2 +np.float32,0x3eba28c4,0x3eb25e1d,2 +np.float32,0x3e4df370,0x3e4b37da,2 +np.float32,0xbf19eff6,0xbf09b97d,2 +np.float32,0xbeddd3c6,0xbed0ea7f,2 +np.float32,0xff6fc971,0xbf800000,2 +np.float32,0x7e93de29,0x3f800000,2 +np.float32,0x3eb12332,0x3eaa6485,2 +np.float32,0x3eb7c6e4,0x3eb04563,2 +np.float32,0x4a67ee,0x4a67ee,2 +np.float32,0xff1cafde,0xbf800000,2 +np.float32,0x3f5e2812,0x3f3343da,2 +np.float32,0x3f060e04,0x3ef605d4,2 +np.float32,0x3e9027d8,0x3e8c76a6,2 +np.float32,0xe2d33,0xe2d33,2 +np.float32,0xff4c94fc,0xbf800000,2 +np.float32,0xbf574908,0xbf2fb26b,2 +np.float32,0xbf786c08,0xbf3fb68e,2 +np.float32,0x8011ecab,0x8011ecab,2 +np.float32,0xbf061c6a,0xbef61bfa,2 +np.float32,0x7eea5f9d,0x3f800000,2 +np.float32,0x3ea2e19c,0x3e9d99a5,2 +np.float32,0x8071550c,0x8071550c,2 +np.float32,0x41c70b,0x41c70b,2 +np.float32,0x80291fc8,0x80291fc8,2 +np.float32,0x43b1ec,0x43b1ec,2 +np.float32,0x32f5a,0x32f5a,2 +np.float32,0xbe9310ec,0xbe8f2692,2 +np.float32,0x7f75f6bf,0x3f800000,2 +np.float32,0x3e6642a6,0x3e6274d2,2 +np.float32,0x3ecb88e0,0x3ec1733f,2 +np.float32,0x804011b6,0x804011b6,2 +np.float32,0x80629cca,0x80629cca,2 +np.float32,0x8016b914,0x8016b914,2 +np.float32,0xbdd05fc0,0xbdcfa870,2 +np.float32,0x807b824d,0x807b824d,2 +np.float32,0xfeec2576,0xbf800000,2 +np.float32,0xbf54bf22,0xbf2e584c,2 +np.float32,0xbf185eb0,0xbf089b6b,2 +np.float32,0xfbc09480,0xbf800000,2 +np.float32,0x3f413054,0x3f234e25,2 +np.float32,0x7e9e32b8,0x3f800000,2 +np.float32,0x266296,0x266296,2 +np.float32,0x460284,0x460284,2 +np.float32,0x3eb0b056,0x3ea9fe5a,2 +np.float32,0x1a7be5,0x1a7be5,2 +np.float32,0x7f099895,0x3f800000,2 +np.float32,0x3f3614f0,0x3f1c88ef,2 +np.float32,0x7e757dc2,0x3f800000,2 +np.float32,0x801fc91e,0x801fc91e,2 +np.float32,0x3f5ce37d,0x3f329ddb,2 +np.float32,0x3e664d70,0x3e627f15,2 +np.float32,0xbf38ed78,0xbf1e4dfa,2 +np.float32,0xbf5c563d,0xbf325543,2 +np.float32,0xbe91cc54,0xbe8dfb24,2 +np.float32,0x3d767fbe,0x3d7633ac,2 +np.float32,0xbf6aeb40,0xbf398b7f,2 +np.float32,0x7f40508b,0x3f800000,2 +np.float32,0x2650df,0x2650df,2 +np.float32,0xbe8cea3c,0xbe897628,2 +np.float32,0x80515af8,0x80515af8,2 +np.float32,0x7f423986,0x3f800000,2 +np.float32,0xbdf250e8,0xbdf1310c,2 +np.float32,0xfe89288a,0xbf800000,2 +np.float32,0x397b3b,0x397b3b,2 +np.float32,0x7e5e91b0,0x3f800000,2 +np.float32,0x6866e2,0x6866e2,2 +np.float32,0x7f4d8877,0x3f800000,2 +np.float32,0x3e6c4a21,0x3e682ee3,2 +np.float32,0xfc3d5980,0xbf800000,2 +np.float32,0x7eae2cd0,0x3f800000,2 +np.float32,0xbf241222,0xbf10c579,2 +np.float32,0xfebc02de,0xbf800000,2 +np.float32,0xff6e0645,0xbf800000,2 +np.float32,0x802030b6,0x802030b6,2 +np.float32,0x7ef9a441,0x3f800000,2 +np.float32,0x3fcf9f,0x3fcf9f,2 +np.float32,0xbf0ccf13,0xbf0023cc,2 +np.float32,0xfefee688,0xbf800000,2 +np.float32,0xbf6c8e0c,0xbf3a5160,2 +np.float32,0xfe749c28,0xbf800000,2 +np.float32,0x7f7fffff,0x3f800000,2 +np.float32,0x58c1a0,0x58c1a0,2 +np.float32,0x3f2de0a1,0x3f174c17,2 +np.float32,0xbf5f7138,0xbf33eb03,2 +np.float32,0x3da15270,0x3da0fd3c,2 +np.float32,0x3da66560,0x3da607e4,2 +np.float32,0xbf306f9a,0xbf18f3c6,2 +np.float32,0x3e81a4de,0x3e7de293,2 +np.float32,0xbebb5fb8,0xbeb36f1a,2 +np.float32,0x14bf64,0x14bf64,2 +np.float32,0xbeac46c6,0xbea60e73,2 +np.float32,0xbdcdf210,0xbdcd4111,2 +np.float32,0x3f7e3cd9,0x3f42395e,2 +np.float32,0xbc4be640,0xbc4be38e,2 +np.float32,0xff5f53b4,0xbf800000,2 +np.float32,0xbf1315ae,0xbf04c90b,2 +np.float32,0x80000000,0x80000000,2 +np.float32,0xbf6a4149,0xbf393aaa,2 +np.float32,0x3f66b8ee,0x3f378772,2 +np.float32,0xff29293e,0xbf800000,2 +np.float32,0xbcc989c0,0xbcc97f58,2 +np.float32,0xbd9a1b70,0xbd99d125,2 +np.float32,0xfef353cc,0xbf800000,2 +np.float32,0xbdc30cf0,0xbdc27683,2 +np.float32,0xfdfd6768,0xbf800000,2 +np.float32,0x7ebac44c,0x3f800000,2 +np.float32,0xff453cd6,0xbf800000,2 +np.float32,0x3ef07720,0x3ee03787,2 +np.float32,0x80219c14,0x80219c14,2 +np.float32,0x805553a8,0x805553a8,2 +np.float32,0x80703928,0x80703928,2 +np.float32,0xff16d3a7,0xbf800000,2 +np.float32,0x3f1472bc,0x3f05c77b,2 +np.float32,0x3eeea37a,0x3edebcf9,2 +np.float32,0x3db801e6,0x3db7838d,2 +np.float32,0x800870d2,0x800870d2,2 +np.float32,0xbea1172c,0xbe9bfa32,2 +np.float32,0x3f1f5e7c,0x3f0d8a42,2 +np.float32,0x123cdb,0x123cdb,2 +np.float32,0x7f6e6b06,0x3f800000,2 +np.float32,0x3ed80573,0x3ecc0def,2 +np.float32,0xfea31b82,0xbf800000,2 +np.float32,0x6744e0,0x6744e0,2 +np.float32,0x695e8b,0x695e8b,2 +np.float32,0xbee3888a,0xbed5a67d,2 +np.float32,0x7f64bc2a,0x3f800000,2 +np.float32,0x7f204244,0x3f800000,2 +np.float32,0x7f647102,0x3f800000,2 +np.float32,0x3dd8ebc0,0x3dd81d03,2 +np.float32,0x801e7ab1,0x801e7ab1,2 +np.float32,0x7d034b56,0x3f800000,2 +np.float32,0x7fc00000,0x7fc00000,2 +np.float32,0x80194193,0x80194193,2 +np.float32,0xfe31c8d4,0xbf800000,2 +np.float32,0x7fc0c4,0x7fc0c4,2 +np.float32,0xd95bf,0xd95bf,2 +np.float32,0x7e4f991d,0x3f800000,2 +np.float32,0x7fc563,0x7fc563,2 +np.float32,0xbe3fcccc,0xbe3d968a,2 +np.float32,0xfdaaa1c8,0xbf800000,2 +np.float32,0xbf48e449,0xbf27c949,2 +np.float32,0x3eb6c584,0x3eaf625e,2 +np.float32,0xbea35a74,0xbe9e0702,2 +np.float32,0x3eeab47a,0x3edb89d5,2 +np.float32,0xbed99556,0xbecd5de5,2 +np.float64,0xbfb94a81e0329500,0xbfb935867ba761fe,2 +np.float64,0xbfec132f1678265e,0xbfe6900eb097abc3,2 +np.float64,0x5685ea72ad0be,0x5685ea72ad0be,2 +np.float64,0xbfd74d3169ae9a62,0xbfd652e09b9daf32,2 +np.float64,0xbfe28df53d651bea,0xbfe0b8a7f50ab433,2 +np.float64,0x0,0x0,2 +np.float64,0xbfed912738bb224e,0xbfe749e3732831ae,2 +np.float64,0x7fcc6faed838df5d,0x3ff0000000000000,2 +np.float64,0xbfe95fe9a432bfd3,0xbfe51f6349919910,2 +np.float64,0xbfc4d5900b29ab20,0xbfc4a6f496179b8b,2 +np.float64,0xbfcd6025033ac04c,0xbfccded7b34b49b0,2 +np.float64,0xbfdfa655b43f4cac,0xbfdd4ca1e5bb9db8,2 +np.float64,0xe7ea5c7fcfd4c,0xe7ea5c7fcfd4c,2 +np.float64,0xffa5449ca42a8940,0xbff0000000000000,2 +np.float64,0xffe63294c1ac6529,0xbff0000000000000,2 +np.float64,0x7feb9cbae7f73975,0x3ff0000000000000,2 +np.float64,0x800eb07c3e3d60f9,0x800eb07c3e3d60f9,2 +np.float64,0x3fc95777e932aef0,0x3fc9040391e20c00,2 +np.float64,0x800736052dee6c0b,0x800736052dee6c0b,2 +np.float64,0x3fe9ae4afd335c96,0x3fe54b569bab45c7,2 +np.float64,0x7fee4c94217c9927,0x3ff0000000000000,2 +np.float64,0x80094b594bd296b3,0x80094b594bd296b3,2 +np.float64,0xffe5adbcee6b5b7a,0xbff0000000000000,2 +np.float64,0x3fecb8eab47971d5,0x3fe6e236be6f27e9,2 +np.float64,0x44956914892ae,0x44956914892ae,2 +np.float64,0xbfe3bd18ef677a32,0xbfe190bf1e07200c,2 +np.float64,0x800104e5b46209cc,0x800104e5b46209cc,2 +np.float64,0x8008fbcecf71f79e,0x8008fbcecf71f79e,2 +np.float64,0x800f0a46a0be148d,0x800f0a46a0be148d,2 +np.float64,0x7fe657a0702caf40,0x3ff0000000000000,2 +np.float64,0xffd3ff1a9027fe36,0xbff0000000000000,2 +np.float64,0x3fe78bc87bef1790,0x3fe40d2e63aaf029,2 +np.float64,0x7feeabdc4c7d57b8,0x3ff0000000000000,2 +np.float64,0xbfabd28d8437a520,0xbfabcb8ce03a0e56,2 +np.float64,0xbfddc3a133bb8742,0xbfdbc9fdb2594451,2 +np.float64,0x7fec911565b9222a,0x3ff0000000000000,2 +np.float64,0x71302604e2605,0x71302604e2605,2 +np.float64,0xee919d2bdd234,0xee919d2bdd234,2 +np.float64,0xbfc04fcff3209fa0,0xbfc0395a739a2ce4,2 +np.float64,0xffe4668a36e8cd14,0xbff0000000000000,2 +np.float64,0xbfeeafeebefd5fde,0xbfe7cd5f3d61a3ec,2 +np.float64,0x7fddb34219bb6683,0x3ff0000000000000,2 +np.float64,0xbfd2cac6cba5958e,0xbfd24520abb2ff36,2 +np.float64,0xbfb857e49630afc8,0xbfb8452d5064dec2,2 +np.float64,0x3fd2dbf90b25b7f2,0x3fd254eaf48484c2,2 +np.float64,0x800af65c94f5ecba,0x800af65c94f5ecba,2 +np.float64,0xa0eef4bf41ddf,0xa0eef4bf41ddf,2 +np.float64,0xffd8e0a4adb1c14a,0xbff0000000000000,2 +np.float64,0xffe858f6e870b1ed,0xbff0000000000000,2 +np.float64,0x3f94c2c308298580,0x3f94c208a4bb006d,2 +np.float64,0xffb45f0d7428be18,0xbff0000000000000,2 +np.float64,0x800ed4f43dbda9e9,0x800ed4f43dbda9e9,2 +np.float64,0x8002dd697e85bad4,0x8002dd697e85bad4,2 +np.float64,0x787ceab2f0f9e,0x787ceab2f0f9e,2 +np.float64,0xbfdff5fcc2bfebfa,0xbfdd8b736b128589,2 +np.float64,0x7fdb2b4294365684,0x3ff0000000000000,2 +np.float64,0xffe711e5e92e23cc,0xbff0000000000000,2 +np.float64,0x800b1c93f1163928,0x800b1c93f1163928,2 +np.float64,0x7fc524d2f22a49a5,0x3ff0000000000000,2 +np.float64,0x7fc88013b5310026,0x3ff0000000000000,2 +np.float64,0x3fe1a910c5e35222,0x3fe00fd779ebaa2a,2 +np.float64,0xbfb57ec9ca2afd90,0xbfb571e47ecb9335,2 +np.float64,0x7fd7594b20aeb295,0x3ff0000000000000,2 +np.float64,0x7fba4641ca348c83,0x3ff0000000000000,2 +np.float64,0xffe61393706c2726,0xbff0000000000000,2 +np.float64,0x7fd54f3c7baa9e78,0x3ff0000000000000,2 +np.float64,0xffe65ffb12ecbff6,0xbff0000000000000,2 +np.float64,0xbfba3b0376347608,0xbfba239cbbbd1b11,2 +np.float64,0x800200886d640112,0x800200886d640112,2 +np.float64,0xbfecf0ba4679e174,0xbfe6fd59de44a3ec,2 +np.float64,0xffe5c57e122b8afc,0xbff0000000000000,2 +np.float64,0x7fdaad0143355a02,0x3ff0000000000000,2 +np.float64,0x46ab32c08d567,0x46ab32c08d567,2 +np.float64,0x7ff8000000000000,0x7ff8000000000000,2 +np.float64,0xbfda7980fdb4f302,0xbfd90fa9c8066109,2 +np.float64,0x3fe237703c646ee0,0x3fe07969f8d8805a,2 +np.float64,0x8000e9fcfc21d3fb,0x8000e9fcfc21d3fb,2 +np.float64,0xbfdfe6e958bfcdd2,0xbfdd7f952fe87770,2 +np.float64,0xbd7baf217af8,0xbd7baf217af8,2 +np.float64,0xbfceba9e4b3d753c,0xbfce26e54359869a,2 +np.float64,0xb95a2caf72b46,0xb95a2caf72b46,2 +np.float64,0x3fb407e25a280fc5,0x3fb3fd71e457b628,2 +np.float64,0xa1da09d943b41,0xa1da09d943b41,2 +np.float64,0xbfe9c7271cf38e4e,0xbfe559296b471738,2 +np.float64,0x3fefae6170ff5cc3,0x3fe83c70ba82f0e1,2 +np.float64,0x7fe7375348ae6ea6,0x3ff0000000000000,2 +np.float64,0xffe18c9cc6e31939,0xbff0000000000000,2 +np.float64,0x800483d13a6907a3,0x800483d13a6907a3,2 +np.float64,0x7fe772a18caee542,0x3ff0000000000000,2 +np.float64,0xffefff64e7bffec9,0xbff0000000000000,2 +np.float64,0x7fcffc31113ff861,0x3ff0000000000000,2 +np.float64,0x3fd91e067e323c0d,0x3fd7e70bf365a7b3,2 +np.float64,0xb0a6673d614cd,0xb0a6673d614cd,2 +np.float64,0xffef9a297e3f3452,0xbff0000000000000,2 +np.float64,0xffe87cc15e70f982,0xbff0000000000000,2 +np.float64,0xffefd6ad8e7fad5a,0xbff0000000000000,2 +np.float64,0x7fe3aaa3a8a75546,0x3ff0000000000000,2 +np.float64,0xddab0341bb561,0xddab0341bb561,2 +np.float64,0x3fe996d6d7332dae,0x3fe53e3ed5be2922,2 +np.float64,0x3fdbe66a18b7ccd4,0x3fda41e6053c1512,2 +np.float64,0x8914775d1228f,0x8914775d1228f,2 +np.float64,0x3fe44621d4688c44,0x3fe1ef9c7225f8bd,2 +np.float64,0xffab29a2a4365340,0xbff0000000000000,2 +np.float64,0xffc8d4a0c431a940,0xbff0000000000000,2 +np.float64,0xbfd426e085284dc2,0xbfd382e2a9617b87,2 +np.float64,0xbfd3b0a525a7614a,0xbfd3176856faccf1,2 +np.float64,0x80036dedcb06dbdc,0x80036dedcb06dbdc,2 +np.float64,0x3feb13823b762704,0x3fe60ca3facdb696,2 +np.float64,0x3fd7246b7bae48d8,0x3fd62f08afded155,2 +np.float64,0x1,0x1,2 +np.float64,0x3fe8ade4b9715bc9,0x3fe4b97cc1387d27,2 +np.float64,0x3fdf2dbec53e5b7e,0x3fdcecfeee33de95,2 +np.float64,0x3fe4292bf9685258,0x3fe1dbb5a6704090,2 +np.float64,0xbfd21acbb8243598,0xbfd1a2ff42174cae,2 +np.float64,0xdd0d2d01ba1a6,0xdd0d2d01ba1a6,2 +np.float64,0x3fa3f3d2f427e7a0,0x3fa3f13d6f101555,2 +np.float64,0x7fdabf4aceb57e95,0x3ff0000000000000,2 +np.float64,0xd4d9e39ba9b3d,0xd4d9e39ba9b3d,2 +np.float64,0xffec773396f8ee66,0xbff0000000000000,2 +np.float64,0x3fa88cc79031198f,0x3fa887f7ade722ba,2 +np.float64,0xffe63a92066c7524,0xbff0000000000000,2 +np.float64,0xbfcf514e2e3ea29c,0xbfceb510e99aaa19,2 +np.float64,0x9d78c19d3af18,0x9d78c19d3af18,2 +np.float64,0x7fdd748bfbbae917,0x3ff0000000000000,2 +np.float64,0xffb3594c4626b298,0xbff0000000000000,2 +np.float64,0x80068ce5b32d19cc,0x80068ce5b32d19cc,2 +np.float64,0x3fec63d60e78c7ac,0x3fe6b85536e44217,2 +np.float64,0x80080bad4dd0175b,0x80080bad4dd0175b,2 +np.float64,0xbfec6807baf8d010,0xbfe6ba69740f9687,2 +np.float64,0x7fedbae0bbfb75c0,0x3ff0000000000000,2 +np.float64,0x8001cb7aa3c396f6,0x8001cb7aa3c396f6,2 +np.float64,0x7fe1f1f03563e3df,0x3ff0000000000000,2 +np.float64,0x7fd83d3978307a72,0x3ff0000000000000,2 +np.float64,0xbfc05ffe9d20bffc,0xbfc049464e3f0af2,2 +np.float64,0xfe6e053ffcdc1,0xfe6e053ffcdc1,2 +np.float64,0xbfd3bdf39d277be8,0xbfd32386edf12726,2 +np.float64,0x800f41b27bde8365,0x800f41b27bde8365,2 +np.float64,0xbfe2c98390e59307,0xbfe0e3c9260fe798,2 +np.float64,0xffdd6206bcbac40e,0xbff0000000000000,2 +np.float64,0x67f35ef4cfe6c,0x67f35ef4cfe6c,2 +np.float64,0x800337e02ae66fc1,0x800337e02ae66fc1,2 +np.float64,0x3fe0ff70afe1fee1,0x3fdf1f46434330df,2 +np.float64,0x3fd7e0a1df2fc144,0x3fd6d3f82c8031e4,2 +np.float64,0x8008da5cd1b1b4ba,0x8008da5cd1b1b4ba,2 +np.float64,0x80065ec9e4ccbd95,0x80065ec9e4ccbd95,2 +np.float64,0x3fe1d1e559a3a3cb,0x3fe02e4f146aa1ab,2 +np.float64,0x7feb7d2f0836fa5d,0x3ff0000000000000,2 +np.float64,0xbfcb33ce9736679c,0xbfcaccd431b205bb,2 +np.float64,0x800e6d0adf5cda16,0x800e6d0adf5cda16,2 +np.float64,0x7fe46f272ca8de4d,0x3ff0000000000000,2 +np.float64,0x4fdfc73e9fbfa,0x4fdfc73e9fbfa,2 +np.float64,0x800958a13112b143,0x800958a13112b143,2 +np.float64,0xbfea01f877f403f1,0xbfe579a541594247,2 +np.float64,0xeefaf599ddf5f,0xeefaf599ddf5f,2 +np.float64,0x80038766c5e70ece,0x80038766c5e70ece,2 +np.float64,0x7fd31bc28ba63784,0x3ff0000000000000,2 +np.float64,0xbfe4df77eee9bef0,0xbfe257abe7083b77,2 +np.float64,0x7fe6790c78acf218,0x3ff0000000000000,2 +np.float64,0xffe7c66884af8cd0,0xbff0000000000000,2 +np.float64,0x800115e36f422bc8,0x800115e36f422bc8,2 +np.float64,0x3fc601945d2c0329,0x3fc5cab917bb20bc,2 +np.float64,0x3fd6ac9546ad592b,0x3fd5c55437ec3508,2 +np.float64,0xa7bd59294f7ab,0xa7bd59294f7ab,2 +np.float64,0x8005c26c8b8b84da,0x8005c26c8b8b84da,2 +np.float64,0x8257501704aea,0x8257501704aea,2 +np.float64,0x5b12aae0b6256,0x5b12aae0b6256,2 +np.float64,0x800232fe02c465fd,0x800232fe02c465fd,2 +np.float64,0x800dae28f85b5c52,0x800dae28f85b5c52,2 +np.float64,0x3fdade1ac135bc36,0x3fd964a2000ace25,2 +np.float64,0x3fed72ca04fae594,0x3fe73b9170d809f9,2 +np.float64,0x7fc6397e2b2c72fb,0x3ff0000000000000,2 +np.float64,0x3fe1f5296d23ea53,0x3fe048802d17621e,2 +np.float64,0xffe05544b920aa89,0xbff0000000000000,2 +np.float64,0xbfdb2e1588365c2c,0xbfd9a7e4113c713e,2 +np.float64,0xbfed6a06fa3ad40e,0xbfe7376be60535f8,2 +np.float64,0xbfe31dcaf5e63b96,0xbfe120417c46cac1,2 +np.float64,0xbfb7ed67ae2fdad0,0xbfb7dba14af33b00,2 +np.float64,0xffd32bb7eb265770,0xbff0000000000000,2 +np.float64,0x80039877b04730f0,0x80039877b04730f0,2 +np.float64,0x3f832e5630265cac,0x3f832e316f47f218,2 +np.float64,0xffe7fa7f732ff4fe,0xbff0000000000000,2 +np.float64,0x9649b87f2c937,0x9649b87f2c937,2 +np.float64,0xffaee447183dc890,0xbff0000000000000,2 +np.float64,0x7fe4e02dd869c05b,0x3ff0000000000000,2 +np.float64,0x3fe1d35e7463a6bd,0x3fe02f67bd21e86e,2 +np.float64,0xffe57f40fe2afe82,0xbff0000000000000,2 +np.float64,0xbfea1362b93426c6,0xbfe5833421dba8fc,2 +np.float64,0xffe9c689fe338d13,0xbff0000000000000,2 +np.float64,0xffc592dd102b25bc,0xbff0000000000000,2 +np.float64,0x3fd283c7aba5078f,0x3fd203d61d1398c3,2 +np.float64,0x8001d6820243ad05,0x8001d6820243ad05,2 +np.float64,0x3fe0ad5991e15ab4,0x3fdea14ef0d47fbd,2 +np.float64,0x3fe3916f2ee722de,0x3fe1722684a9ffb1,2 +np.float64,0xffef9e54e03f3ca9,0xbff0000000000000,2 +np.float64,0x7fe864faebb0c9f5,0x3ff0000000000000,2 +np.float64,0xbfed3587c3fa6b10,0xbfe71e7112df8a68,2 +np.float64,0xbfdd9efc643b3df8,0xbfdbac3a16caf208,2 +np.float64,0xbfd5ac08feab5812,0xbfd4e14575a6e41b,2 +np.float64,0xffda90fae6b521f6,0xbff0000000000000,2 +np.float64,0x8001380ecf22701e,0x8001380ecf22701e,2 +np.float64,0x7fed266fa5fa4cde,0x3ff0000000000000,2 +np.float64,0xffec6c0ac3b8d815,0xbff0000000000000,2 +np.float64,0x3fe7de43c32fbc88,0x3fe43ef62821a5a6,2 +np.float64,0x800bf4ffc357ea00,0x800bf4ffc357ea00,2 +np.float64,0x3fe125c975624b93,0x3fdf59b2de3eff5d,2 +np.float64,0x8004714c1028e299,0x8004714c1028e299,2 +np.float64,0x3fef1bfbf5fe37f8,0x3fe7fd2ba1b63c8a,2 +np.float64,0x800cae15c3195c2c,0x800cae15c3195c2c,2 +np.float64,0x7fde708e083ce11b,0x3ff0000000000000,2 +np.float64,0x7fbcee5df639dcbb,0x3ff0000000000000,2 +np.float64,0x800b1467141628cf,0x800b1467141628cf,2 +np.float64,0x3fe525e0d36a4bc2,0x3fe286b6e59e30f5,2 +np.float64,0xffe987f8b8330ff1,0xbff0000000000000,2 +np.float64,0x7e0a8284fc151,0x7e0a8284fc151,2 +np.float64,0x8006f982442df305,0x8006f982442df305,2 +np.float64,0xbfd75a3cb62eb47a,0xbfd65e54cee981c9,2 +np.float64,0x258e91104b1d3,0x258e91104b1d3,2 +np.float64,0xbfecd0056779a00b,0xbfe6ed7ae97fff1b,2 +np.float64,0x7fc3a4f9122749f1,0x3ff0000000000000,2 +np.float64,0x6e2b1024dc563,0x6e2b1024dc563,2 +np.float64,0x800d575ad4daaeb6,0x800d575ad4daaeb6,2 +np.float64,0xbfceafb1073d5f64,0xbfce1c93023d8414,2 +np.float64,0xffe895cb5f312b96,0xbff0000000000000,2 +np.float64,0x7fe7811ed4ef023d,0x3ff0000000000000,2 +np.float64,0xbfd93f952f327f2a,0xbfd803e6b5576b99,2 +np.float64,0xffdd883a3fbb1074,0xbff0000000000000,2 +np.float64,0x7fee5624eefcac49,0x3ff0000000000000,2 +np.float64,0xbfe264bb2624c976,0xbfe09a9b7cc896e7,2 +np.float64,0xffef14b417be2967,0xbff0000000000000,2 +np.float64,0xbfecbd0d94397a1b,0xbfe6e43bef852d9f,2 +np.float64,0xbfe20d9e4ba41b3c,0xbfe05a98e05846d9,2 +np.float64,0x10000000000000,0x10000000000000,2 +np.float64,0x7fefde93f7bfbd27,0x3ff0000000000000,2 +np.float64,0x80076b9e232ed73d,0x80076b9e232ed73d,2 +np.float64,0xbfe80df52c701bea,0xbfe45b754b433792,2 +np.float64,0x7fe3b5a637676b4b,0x3ff0000000000000,2 +np.float64,0x2c81d14c5903b,0x2c81d14c5903b,2 +np.float64,0x80038945c767128c,0x80038945c767128c,2 +np.float64,0xffeebaf544bd75ea,0xbff0000000000000,2 +np.float64,0xffdb1867d2b630d0,0xbff0000000000000,2 +np.float64,0x3fe3376eaee66ede,0x3fe13285579763d8,2 +np.float64,0xffddf65ca43becba,0xbff0000000000000,2 +np.float64,0xffec8e3e04791c7b,0xbff0000000000000,2 +np.float64,0x80064f4bde2c9e98,0x80064f4bde2c9e98,2 +np.float64,0x7fe534a085ea6940,0x3ff0000000000000,2 +np.float64,0xbfcbabe31d3757c8,0xbfcb3f8e70adf7e7,2 +np.float64,0xbfe45ca11e28b942,0xbfe1ff04515ef809,2 +np.float64,0x65f4df02cbe9d,0x65f4df02cbe9d,2 +np.float64,0xb08b0cbb61162,0xb08b0cbb61162,2 +np.float64,0x3feae2e8b975c5d1,0x3fe5f302b5e8eda2,2 +np.float64,0x7fcf277ff93e4eff,0x3ff0000000000000,2 +np.float64,0x80010999c4821334,0x80010999c4821334,2 +np.float64,0xbfd7f65911afecb2,0xbfd6e6e9cd098f8b,2 +np.float64,0x800e0560ec3c0ac2,0x800e0560ec3c0ac2,2 +np.float64,0x7fec4152ba3882a4,0x3ff0000000000000,2 +np.float64,0xbfb5c77cd42b8ef8,0xbfb5ba1336084908,2 +np.float64,0x457ff1b68afff,0x457ff1b68afff,2 +np.float64,0x5323ec56a647e,0x5323ec56a647e,2 +np.float64,0xbfeed16cf8bda2da,0xbfe7dc49fc9ae549,2 +np.float64,0xffe8446106b088c1,0xbff0000000000000,2 +np.float64,0xffb93cd13c3279a0,0xbff0000000000000,2 +np.float64,0x7fe515c2aeea2b84,0x3ff0000000000000,2 +np.float64,0x80099df83f933bf1,0x80099df83f933bf1,2 +np.float64,0x7fb3a375562746ea,0x3ff0000000000000,2 +np.float64,0x7fcd7efa243afdf3,0x3ff0000000000000,2 +np.float64,0xffe40cddb12819bb,0xbff0000000000000,2 +np.float64,0x8008b68eecd16d1e,0x8008b68eecd16d1e,2 +np.float64,0x2aec688055d8e,0x2aec688055d8e,2 +np.float64,0xffe23750bc646ea1,0xbff0000000000000,2 +np.float64,0x5adacf60b5b7,0x5adacf60b5b7,2 +np.float64,0x7fefb29b1cbf6535,0x3ff0000000000000,2 +np.float64,0xbfeadbf90175b7f2,0xbfe5ef55e2194794,2 +np.float64,0xeaad2885d55a5,0xeaad2885d55a5,2 +np.float64,0xffd7939fba2f2740,0xbff0000000000000,2 +np.float64,0x3fd187ea3aa30fd4,0x3fd11af023472386,2 +np.float64,0xbf6eb579c03d6b00,0xbf6eb57052f47019,2 +np.float64,0x3fefb67b3bff6cf6,0x3fe83fe4499969ac,2 +np.float64,0xbfe5183aacea3076,0xbfe27da1aa0b61a0,2 +np.float64,0xbfb83e47a2307c90,0xbfb82bcb0e12db42,2 +np.float64,0x80088849b1b11094,0x80088849b1b11094,2 +np.float64,0x800ceeed7399dddb,0x800ceeed7399dddb,2 +np.float64,0x80097cd90892f9b2,0x80097cd90892f9b2,2 +np.float64,0x7ec73feefd8e9,0x7ec73feefd8e9,2 +np.float64,0x7fe3291de5a6523b,0x3ff0000000000000,2 +np.float64,0xbfd537086daa6e10,0xbfd4787af5f60653,2 +np.float64,0x800e8ed4455d1da9,0x800e8ed4455d1da9,2 +np.float64,0x800ef8d19cbdf1a3,0x800ef8d19cbdf1a3,2 +np.float64,0x800dc4fa3a5b89f5,0x800dc4fa3a5b89f5,2 +np.float64,0xaa8b85cd55171,0xaa8b85cd55171,2 +np.float64,0xffd67a5f40acf4be,0xbff0000000000000,2 +np.float64,0xbfb7496db22e92d8,0xbfb7390a48130861,2 +np.float64,0x3fd86a8e7ab0d51d,0x3fd74bfba0f72616,2 +np.float64,0xffb7f5b7fc2feb70,0xbff0000000000000,2 +np.float64,0xbfea0960a7f412c1,0xbfe57db6d0ff4191,2 +np.float64,0x375f4fc26ebeb,0x375f4fc26ebeb,2 +np.float64,0x800c537e70b8a6fd,0x800c537e70b8a6fd,2 +np.float64,0x800b3f4506d67e8a,0x800b3f4506d67e8a,2 +np.float64,0x7fe61f2d592c3e5a,0x3ff0000000000000,2 +np.float64,0xffefffffffffffff,0xbff0000000000000,2 +np.float64,0x8005d0bb84eba178,0x8005d0bb84eba178,2 +np.float64,0x800c78b0ec18f162,0x800c78b0ec18f162,2 +np.float64,0xbfc42cccfb285998,0xbfc4027392f66b0d,2 +np.float64,0x3fd8fdc73fb1fb8e,0x3fd7cb46f928153f,2 +np.float64,0x800c71754298e2eb,0x800c71754298e2eb,2 +np.float64,0x3fe4aa7a96a954f5,0x3fe233f5d3bc1352,2 +np.float64,0x7fd53841f6aa7083,0x3ff0000000000000,2 +np.float64,0x3fd0a887b8a15110,0x3fd04ac3b9c0d1ca,2 +np.float64,0x8007b8e164cf71c4,0x8007b8e164cf71c4,2 +np.float64,0xbfddc35c66bb86b8,0xbfdbc9c5dddfb014,2 +np.float64,0x6a3756fed46eb,0x6a3756fed46eb,2 +np.float64,0xffd3dcd05527b9a0,0xbff0000000000000,2 +np.float64,0xbfd7dc75632fb8ea,0xbfd6d0538b340a98,2 +np.float64,0x17501f822ea05,0x17501f822ea05,2 +np.float64,0xbfe1f98b99a3f317,0xbfe04bbf8f8b6cb3,2 +np.float64,0x66ea65d2cdd4d,0x66ea65d2cdd4d,2 +np.float64,0xbfd12241e2224484,0xbfd0bc62f46ea5e1,2 +np.float64,0x3fed6e6fb3fadcdf,0x3fe7398249097285,2 +np.float64,0x3fe0b5ebeba16bd8,0x3fdeae84b3000a47,2 +np.float64,0x66d1bce8cda38,0x66d1bce8cda38,2 +np.float64,0x3fdd728db3bae51b,0x3fdb880f28c52713,2 +np.float64,0xffb45dbe5228bb80,0xbff0000000000000,2 +np.float64,0x1ff8990c3ff14,0x1ff8990c3ff14,2 +np.float64,0x800a68e8f294d1d2,0x800a68e8f294d1d2,2 +np.float64,0xbfe4d08b84a9a117,0xbfe24da40bff6be7,2 +np.float64,0x3fe0177f0ee02efe,0x3fddb83c5971df51,2 +np.float64,0xffc56893692ad128,0xbff0000000000000,2 +np.float64,0x51b44f6aa368b,0x51b44f6aa368b,2 +np.float64,0x2258ff4e44b21,0x2258ff4e44b21,2 +np.float64,0x3fe913649e7226c9,0x3fe4f3f119530f53,2 +np.float64,0xffe3767df766ecfc,0xbff0000000000000,2 +np.float64,0xbfe62ae12fec55c2,0xbfe33108f1f22a94,2 +np.float64,0x7fb6a6308e2d4c60,0x3ff0000000000000,2 +np.float64,0xbfe00f2085e01e41,0xbfddab19b6fc77d1,2 +np.float64,0x3fb66447dc2cc890,0x3fb655b4f46844f0,2 +np.float64,0x3fd80238f6b00470,0x3fd6f143be1617d6,2 +np.float64,0xbfd05bfeb3a0b7fe,0xbfd0031ab3455e15,2 +np.float64,0xffc3a50351274a08,0xbff0000000000000,2 +np.float64,0xffd8f4241cb1e848,0xbff0000000000000,2 +np.float64,0xbfca72a88c34e550,0xbfca13ebe85f2aca,2 +np.float64,0x3fd47d683ba8fad0,0x3fd3d13f1176ed8c,2 +np.float64,0x3fb6418e642c831d,0x3fb6333ebe479ff2,2 +np.float64,0x800fde8e023fbd1c,0x800fde8e023fbd1c,2 +np.float64,0x8001fb01e323f605,0x8001fb01e323f605,2 +np.float64,0x3febb21ff9f76440,0x3fe65ed788d52fee,2 +np.float64,0x3fe47553ffe8eaa8,0x3fe20fe01f853603,2 +np.float64,0x7fca20b3f9344167,0x3ff0000000000000,2 +np.float64,0x3fe704f4ec6e09ea,0x3fe3ba7277201805,2 +np.float64,0xf864359df0c87,0xf864359df0c87,2 +np.float64,0x4d96b01c9b2d7,0x4d96b01c9b2d7,2 +np.float64,0x3fe8a09fe9f14140,0x3fe4b1c6a2d2e095,2 +np.float64,0xffc46c61b228d8c4,0xbff0000000000000,2 +np.float64,0x3fe680a837ed0150,0x3fe3679d6eeb6485,2 +np.float64,0xbfecedc20f39db84,0xbfe6fbe9ee978bf6,2 +np.float64,0x3fb2314eae24629d,0x3fb2297ba6d55d2d,2 +np.float64,0x3fe9f0b8e7b3e172,0x3fe57026eae36db3,2 +np.float64,0x80097a132ed2f427,0x80097a132ed2f427,2 +np.float64,0x800ae5a41955cb49,0x800ae5a41955cb49,2 +np.float64,0xbfd7527279aea4e4,0xbfd6577de356e1bd,2 +np.float64,0x3fe27d3e01e4fa7c,0x3fe0ac7dd96f9179,2 +np.float64,0x7fedd8cb01bbb195,0x3ff0000000000000,2 +np.float64,0x78f8695af1f0e,0x78f8695af1f0e,2 +np.float64,0x800d2d0e927a5a1d,0x800d2d0e927a5a1d,2 +np.float64,0xffe74b46fb2e968e,0xbff0000000000000,2 +np.float64,0xbfdd12d4c8ba25aa,0xbfdb39dae49e1c10,2 +np.float64,0xbfd6c14710ad828e,0xbfd5d79ef5a8d921,2 +np.float64,0x921f4e55243ea,0x921f4e55243ea,2 +np.float64,0x800b4e4c80969c99,0x800b4e4c80969c99,2 +np.float64,0x7fe08c6ab7e118d4,0x3ff0000000000000,2 +np.float64,0xbfed290014fa5200,0xbfe71871f7e859ed,2 +np.float64,0x8008c1d5c59183ac,0x8008c1d5c59183ac,2 +np.float64,0x3fd339e68c2673cd,0x3fd2aaff3f165a9d,2 +np.float64,0xbfdd20d8113a41b0,0xbfdb4553ea2cb2fb,2 +np.float64,0x3fe52a25deea544c,0x3fe2898d5bf4442c,2 +np.float64,0x498602d4930c1,0x498602d4930c1,2 +np.float64,0x3fd8c450113188a0,0x3fd799b0b2a6c43c,2 +np.float64,0xbfd72bc2f2ae5786,0xbfd6357e15ba7f70,2 +np.float64,0xbfd076188ea0ec32,0xbfd01b8fce44d1af,2 +np.float64,0x9aace1713559c,0x9aace1713559c,2 +np.float64,0x8008a730e8914e62,0x8008a730e8914e62,2 +np.float64,0x7fe9e9a3d833d347,0x3ff0000000000000,2 +np.float64,0x800d3a0d69da741b,0x800d3a0d69da741b,2 +np.float64,0xbfe3e28a29e7c514,0xbfe1aad7643a2d19,2 +np.float64,0x7fe9894c71331298,0x3ff0000000000000,2 +np.float64,0xbfe7c6acb5ef8d5a,0xbfe430c9e258ce62,2 +np.float64,0xffb5a520a62b4a40,0xbff0000000000000,2 +np.float64,0x7fc02109ae204212,0x3ff0000000000000,2 +np.float64,0xb5c58f196b8b2,0xb5c58f196b8b2,2 +np.float64,0x3feb4ee82e769dd0,0x3fe62bae9a39d8b1,2 +np.float64,0x3fec5c3cf278b87a,0x3fe6b49000f12441,2 +np.float64,0x81f64b8103eca,0x81f64b8103eca,2 +np.float64,0xbfeab00d73f5601b,0xbfe5d7f755ab73d9,2 +np.float64,0x3fd016bf28a02d7e,0x3fcf843ea23bcd3c,2 +np.float64,0xbfa1db617423b6c0,0xbfa1d9872ddeb5a8,2 +np.float64,0x3fe83c879d70790f,0x3fe4771502d8f012,2 +np.float64,0x6b267586d64cf,0x6b267586d64cf,2 +np.float64,0x3fc91b6d3f3236d8,0x3fc8ca3eb4da25a9,2 +np.float64,0x7fd4e3f8f3a9c7f1,0x3ff0000000000000,2 +np.float64,0x800a75899214eb14,0x800a75899214eb14,2 +np.float64,0x7fdb1f2e07b63e5b,0x3ff0000000000000,2 +np.float64,0xffe7805a11ef00b4,0xbff0000000000000,2 +np.float64,0x3fc8e1b88a31c371,0x3fc892af45330818,2 +np.float64,0xbfe809fe447013fc,0xbfe45918f07da4d9,2 +np.float64,0xbfeb9d7f2ab73afe,0xbfe65446bfddc792,2 +np.float64,0x3fb47f0a5c28fe15,0x3fb473db9113e880,2 +np.float64,0x800a17ae3cb42f5d,0x800a17ae3cb42f5d,2 +np.float64,0xf5540945eaa81,0xf5540945eaa81,2 +np.float64,0xbfe577fc26aaeff8,0xbfe2bcfbf2cf69ff,2 +np.float64,0xbfb99b3e06333680,0xbfb98577b88e0515,2 +np.float64,0x7fd9290391b25206,0x3ff0000000000000,2 +np.float64,0x7fe1aa62ffa354c5,0x3ff0000000000000,2 +np.float64,0x7b0189a0f604,0x7b0189a0f604,2 +np.float64,0x3f9000ed602001db,0x3f900097fe168105,2 +np.float64,0x3fd576128d2aec25,0x3fd4b1002c92286f,2 +np.float64,0xffecc98ece79931d,0xbff0000000000000,2 +np.float64,0x800a1736c7f42e6e,0x800a1736c7f42e6e,2 +np.float64,0xbfed947548bb28eb,0xbfe74b71479ae739,2 +np.float64,0xa45c032148b9,0xa45c032148b9,2 +np.float64,0xbfc13d011c227a04,0xbfc1228447de5e9f,2 +np.float64,0xffed8baa6ebb1754,0xbff0000000000000,2 +np.float64,0x800ea2de243d45bc,0x800ea2de243d45bc,2 +np.float64,0x8001396be52272d9,0x8001396be52272d9,2 +np.float64,0xd018d1cda031a,0xd018d1cda031a,2 +np.float64,0x7fe1fece1fe3fd9b,0x3ff0000000000000,2 +np.float64,0x8009ac484c135891,0x8009ac484c135891,2 +np.float64,0x3fc560ad132ac15a,0x3fc52e5a9479f08e,2 +np.float64,0x3fd6f80ebe2df01d,0x3fd607f70ce8e3f4,2 +np.float64,0xbfd3e69e82a7cd3e,0xbfd34887c2a40699,2 +np.float64,0x3fe232d9baa465b3,0x3fe0760a822ada0c,2 +np.float64,0x3fe769bbc6eed378,0x3fe3f872680f6631,2 +np.float64,0xffe63dbd952c7b7a,0xbff0000000000000,2 +np.float64,0x4e0c00da9c181,0x4e0c00da9c181,2 +np.float64,0xffeae4d89735c9b0,0xbff0000000000000,2 +np.float64,0x3fe030bcbb606179,0x3fdddfc66660bfce,2 +np.float64,0x7fe35ca40d66b947,0x3ff0000000000000,2 +np.float64,0xbfd45bd66628b7ac,0xbfd3b2e04bfe7866,2 +np.float64,0x3fd1f0be2323e17c,0x3fd17c1c340d7a48,2 +np.float64,0x3fd7123b6cae2478,0x3fd61f0675aa9ae1,2 +np.float64,0xbfe918a377723147,0xbfe4f6efe66f5714,2 +np.float64,0x7fc400356f28006a,0x3ff0000000000000,2 +np.float64,0x7fd2dead70a5bd5a,0x3ff0000000000000,2 +np.float64,0xffe9c28f81f3851e,0xbff0000000000000,2 +np.float64,0x3fd09b1ec7a1363e,0x3fd03e3894320140,2 +np.float64,0x7fe6e80c646dd018,0x3ff0000000000000,2 +np.float64,0x7fec3760a4786ec0,0x3ff0000000000000,2 +np.float64,0x309eb6ee613d8,0x309eb6ee613d8,2 +np.float64,0x800731cb0ece6397,0x800731cb0ece6397,2 +np.float64,0xbfdb0c553db618aa,0xbfd98b8a4680ee60,2 +np.float64,0x3fd603a52eac074c,0x3fd52f6b53de7455,2 +np.float64,0x9ecb821b3d971,0x9ecb821b3d971,2 +np.float64,0x3feb7d64dc36faca,0x3fe643c2754bb7f4,2 +np.float64,0xffeb94825ef72904,0xbff0000000000000,2 +np.float64,0x24267418484cf,0x24267418484cf,2 +np.float64,0xbfa6b2fbac2d65f0,0xbfa6af2dca5bfa6f,2 +np.float64,0x8010000000000000,0x8010000000000000,2 +np.float64,0xffe6873978ed0e72,0xbff0000000000000,2 +np.float64,0x800447934ba88f27,0x800447934ba88f27,2 +np.float64,0x3fef305f09fe60be,0x3fe806156b8ca47c,2 +np.float64,0xffd441c697a8838e,0xbff0000000000000,2 +np.float64,0xbfa7684f6c2ed0a0,0xbfa764238d34830c,2 +np.float64,0xffb2c976142592f0,0xbff0000000000000,2 +np.float64,0xbfcc9d1585393a2c,0xbfcc25756bcbca1f,2 +np.float64,0xbfd477bb1ba8ef76,0xbfd3cc1d2114e77e,2 +np.float64,0xbfed1559983a2ab3,0xbfe70f03afd994ee,2 +np.float64,0xbfeb51139036a227,0xbfe62ccf56bc7fff,2 +np.float64,0x7d802890fb006,0x7d802890fb006,2 +np.float64,0x800e00af777c015f,0x800e00af777c015f,2 +np.float64,0x800647ce128c8f9d,0x800647ce128c8f9d,2 +np.float64,0x800a26da91d44db6,0x800a26da91d44db6,2 +np.float64,0x3fdc727eddb8e4fe,0x3fdab5fd9db630b3,2 +np.float64,0x7fd06def2ba0dbdd,0x3ff0000000000000,2 +np.float64,0xffe23678c4a46cf1,0xbff0000000000000,2 +np.float64,0xbfe7198e42ee331c,0xbfe3c7326c9c7553,2 +np.float64,0xffae465f3c3c8cc0,0xbff0000000000000,2 +np.float64,0xff9aea7c5035d500,0xbff0000000000000,2 +np.float64,0xbfeae49c0f35c938,0xbfe5f3e9326cb08b,2 +np.float64,0x3f9a16f300342de6,0x3f9a1581212be50f,2 +np.float64,0x8d99e2c31b33d,0x8d99e2c31b33d,2 +np.float64,0xffd58af253ab15e4,0xbff0000000000000,2 +np.float64,0xbfd205cd25a40b9a,0xbfd18f97155f8b25,2 +np.float64,0xbfebe839bbf7d074,0xbfe67a6024e8fefe,2 +np.float64,0xbfe4fb3595a9f66b,0xbfe26a42f99819ea,2 +np.float64,0x800e867c739d0cf9,0x800e867c739d0cf9,2 +np.float64,0x8bc4274f17885,0x8bc4274f17885,2 +np.float64,0xaec8914b5d912,0xaec8914b5d912,2 +np.float64,0x7fd1d64473a3ac88,0x3ff0000000000000,2 +np.float64,0xbfe6d6f69cedaded,0xbfe39dd61bc7e23e,2 +np.float64,0x7fed05039d7a0a06,0x3ff0000000000000,2 +np.float64,0xbfc40eab0f281d58,0xbfc3e50d14b79265,2 +np.float64,0x45179aec8a2f4,0x45179aec8a2f4,2 +np.float64,0xbfe717e362ee2fc7,0xbfe3c62a95b07d13,2 +np.float64,0xbfe5b8df0d6b71be,0xbfe2e76c7ec5013d,2 +np.float64,0x5c67ba6eb8cf8,0x5c67ba6eb8cf8,2 +np.float64,0xbfda72ce4cb4e59c,0xbfd909fdc7ecfe20,2 +np.float64,0x7fdf59a1e2beb343,0x3ff0000000000000,2 +np.float64,0xc4f7897f89ef1,0xc4f7897f89ef1,2 +np.float64,0x8fcd0a351f9a2,0x8fcd0a351f9a2,2 +np.float64,0x3fb161761022c2ec,0x3fb15aa31c464de2,2 +np.float64,0x8008a985be71530c,0x8008a985be71530c,2 +np.float64,0x3fca4ddb5e349bb7,0x3fc9f0a3b60e49c6,2 +np.float64,0x7fcc10a2d9382145,0x3ff0000000000000,2 +np.float64,0x78902b3af1206,0x78902b3af1206,2 +np.float64,0x7fe1e2765f23c4ec,0x3ff0000000000000,2 +np.float64,0xc1d288cf83a51,0xc1d288cf83a51,2 +np.float64,0x7fe8af692bb15ed1,0x3ff0000000000000,2 +np.float64,0x80057d90fb8afb23,0x80057d90fb8afb23,2 +np.float64,0x3fdc136b8fb826d8,0x3fda6749582b2115,2 +np.float64,0x800ec8ea477d91d5,0x800ec8ea477d91d5,2 +np.float64,0x4c0f4796981ea,0x4c0f4796981ea,2 +np.float64,0xec34c4a5d8699,0xec34c4a5d8699,2 +np.float64,0x7fce343dfb3c687b,0x3ff0000000000000,2 +np.float64,0xbfc95a98a332b530,0xbfc90705b2cc2fec,2 +np.float64,0x800d118e1dba231c,0x800d118e1dba231c,2 +np.float64,0x3fd354f310a6a9e8,0x3fd2c3bb90054154,2 +np.float64,0xbfdac0d4fab581aa,0xbfd94bf37424928e,2 +np.float64,0x3fe7f5391fefea72,0x3fe44cb49d51985b,2 +np.float64,0xd4c3c329a9879,0xd4c3c329a9879,2 +np.float64,0x3fc53977692a72f0,0x3fc50835d85c9ed1,2 +np.float64,0xbfd6989538ad312a,0xbfd5b3a2c08511fe,2 +np.float64,0xbfe329f2906653e5,0xbfe128ec1525a1c0,2 +np.float64,0x7ff0000000000000,0x3ff0000000000000,2 +np.float64,0xbfea57c90974af92,0xbfe5a87b04aa3116,2 +np.float64,0x7fdfba94043f7527,0x3ff0000000000000,2 +np.float64,0x3feedabddafdb57c,0x3fe7e06c0661978d,2 +np.float64,0x4bd9f3b697b3f,0x4bd9f3b697b3f,2 +np.float64,0x3fdd15bbfc3a2b78,0x3fdb3c3b8d070f7e,2 +np.float64,0x3fbd89ccd23b13a0,0x3fbd686b825cff80,2 +np.float64,0x7ff4000000000000,0x7ffc000000000000,2 +np.float64,0x3f9baa8928375512,0x3f9ba8d01ddd5300,2 +np.float64,0x4a3ebdf2947d8,0x4a3ebdf2947d8,2 +np.float64,0x3fe698d5c06d31ac,0x3fe376dff48312c8,2 +np.float64,0xffd5323df12a647c,0xbff0000000000000,2 +np.float64,0xffea7f111174fe22,0xbff0000000000000,2 +np.float64,0x3feb4656a9b68cad,0x3fe627392eb2156f,2 +np.float64,0x7fc1260e9c224c1c,0x3ff0000000000000,2 +np.float64,0x80056e45e5eadc8d,0x80056e45e5eadc8d,2 +np.float64,0x7fd0958ef6a12b1d,0x3ff0000000000000,2 +np.float64,0x8001f85664e3f0ae,0x8001f85664e3f0ae,2 +np.float64,0x3fe553853beaa70a,0x3fe2a4f5e7c83558,2 +np.float64,0xbfeb33ce6276679d,0xbfe61d8ec9e5ff8c,2 +np.float64,0xbfd1b24e21a3649c,0xbfd14245df6065e9,2 +np.float64,0x3fe286fc40650df9,0x3fe0b395c8059429,2 +np.float64,0xffed378058fa6f00,0xbff0000000000000,2 +np.float64,0xbfd0c4a2d7a18946,0xbfd06509a434d6a0,2 +np.float64,0xbfea31d581f463ab,0xbfe593d976139f94,2 +np.float64,0xbfe0705c85e0e0b9,0xbfde42efa978eb0c,2 +np.float64,0xe4c4c339c9899,0xe4c4c339c9899,2 +np.float64,0x3fd68befa9ad17df,0x3fd5a870b3f1f83e,2 +np.float64,0x8000000000000001,0x8000000000000001,2 +np.float64,0x3fe294256965284b,0x3fe0bd271e22d86b,2 +np.float64,0x8005327a862a64f6,0x8005327a862a64f6,2 +np.float64,0xbfdb8155ce3702ac,0xbfd9ed9ef97920f8,2 +np.float64,0xbff0000000000000,0xbfe85efab514f394,2 +np.float64,0xffe66988f1ecd312,0xbff0000000000000,2 +np.float64,0x3fb178a85e22f150,0x3fb171b9fbf95f1d,2 +np.float64,0x7f829b900025371f,0x3ff0000000000000,2 +np.float64,0x8000000000000000,0x8000000000000000,2 +np.float64,0x8006cb77f60d96f1,0x8006cb77f60d96f1,2 +np.float64,0x3fe0c5d53aa18baa,0x3fdec7012ab92b42,2 +np.float64,0x77266426ee4cd,0x77266426ee4cd,2 +np.float64,0xbfec95f468392be9,0xbfe6d11428f60136,2 +np.float64,0x3fedbf532dfb7ea6,0x3fe75f8436dd1d58,2 +np.float64,0x8002fadd3f85f5bb,0x8002fadd3f85f5bb,2 +np.float64,0xbfefebaa8d3fd755,0xbfe8566c6aa90fba,2 +np.float64,0xffc7dd2b712fba58,0xbff0000000000000,2 +np.float64,0x7fe5d3a6e8aba74d,0x3ff0000000000000,2 +np.float64,0x2da061525b40d,0x2da061525b40d,2 +np.float64,0x7fcb9b9953373732,0x3ff0000000000000,2 +np.float64,0x2ca2f6fc59460,0x2ca2f6fc59460,2 +np.float64,0xffeb84b05af70960,0xbff0000000000000,2 +np.float64,0xffe551e86c6aa3d0,0xbff0000000000000,2 +np.float64,0xbfdb311311366226,0xbfd9aa6688faafb9,2 +np.float64,0xbfd4f3875629e70e,0xbfd43bcd73534c66,2 +np.float64,0x7fe95666f932accd,0x3ff0000000000000,2 +np.float64,0x3fc73dfb482e7bf7,0x3fc6fd70c20ebf60,2 +np.float64,0x800cd9e40939b3c8,0x800cd9e40939b3c8,2 +np.float64,0x3fb0c9fa422193f0,0x3fb0c3d38879a2ac,2 +np.float64,0xffd59a38372b3470,0xbff0000000000000,2 +np.float64,0x3fa8320ef4306420,0x3fa82d739e937d35,2 +np.float64,0x3fd517f16caa2fe4,0x3fd45c8de1e93b37,2 +np.float64,0xaed921655db24,0xaed921655db24,2 +np.float64,0x93478fb9268f2,0x93478fb9268f2,2 +np.float64,0x1615e28a2c2bd,0x1615e28a2c2bd,2 +np.float64,0xbfead23010f5a460,0xbfe5ea24d5d8f820,2 +np.float64,0x774a6070ee94d,0x774a6070ee94d,2 +np.float64,0x3fdf5874bd3eb0e9,0x3fdd0ef121dd915c,2 +np.float64,0x8004b25f53a964bf,0x8004b25f53a964bf,2 +np.float64,0xbfddacdd2ebb59ba,0xbfdbb78198fab36b,2 +np.float64,0x8008a3acf271475a,0x8008a3acf271475a,2 +np.float64,0xbfdb537c8736a6fa,0xbfd9c741038bb8f0,2 +np.float64,0xbfe56a133f6ad426,0xbfe2b3d5b8d259a1,2 +np.float64,0xffda1db531343b6a,0xbff0000000000000,2 +np.float64,0x3fcbe05f3a37c0be,0x3fcb71a54a64ddfb,2 +np.float64,0x7fe1ccaa7da39954,0x3ff0000000000000,2 +np.float64,0x3faeadd8343d5bb0,0x3faea475608860e6,2 +np.float64,0x3fe662ba1c2cc574,0x3fe354a6176e90df,2 +np.float64,0xffe4d49f4e69a93e,0xbff0000000000000,2 +np.float64,0xbfeadbc424f5b788,0xbfe5ef39dbe66343,2 +np.float64,0x99cf66f1339ed,0x99cf66f1339ed,2 +np.float64,0x33af77a2675f0,0x33af77a2675f0,2 +np.float64,0x7fec7b32ecf8f665,0x3ff0000000000000,2 +np.float64,0xffef3e44993e7c88,0xbff0000000000000,2 +np.float64,0xffe8f8ceac31f19c,0xbff0000000000000,2 +np.float64,0x7fe0d15b6da1a2b6,0x3ff0000000000000,2 +np.float64,0x4ba795c2974f3,0x4ba795c2974f3,2 +np.float64,0x3fe361aa37a6c354,0x3fe15079021d6b15,2 +np.float64,0xffe709714f6e12e2,0xbff0000000000000,2 +np.float64,0xffe7ea6a872fd4d4,0xbff0000000000000,2 +np.float64,0xffdb9441c8b72884,0xbff0000000000000,2 +np.float64,0xffd5e11ae9abc236,0xbff0000000000000,2 +np.float64,0xffe092a08b612540,0xbff0000000000000,2 +np.float64,0x3fe1f27e1ca3e4fc,0x3fe04685b5131207,2 +np.float64,0xbfe71ce1bdee39c4,0xbfe3c940809a7081,2 +np.float64,0xffe8c3aa68318754,0xbff0000000000000,2 +np.float64,0x800d4e2919da9c52,0x800d4e2919da9c52,2 +np.float64,0x7fe6c8bca76d9178,0x3ff0000000000000,2 +np.float64,0x7fced8751e3db0e9,0x3ff0000000000000,2 +np.float64,0xd61d0c8bac3a2,0xd61d0c8bac3a2,2 +np.float64,0x3fec57732938aee6,0x3fe6b22f15f38352,2 +np.float64,0xff9251cc7024a3a0,0xbff0000000000000,2 +np.float64,0xf4a68cb9e94d2,0xf4a68cb9e94d2,2 +np.float64,0x3feed76703bdaece,0x3fe7def0fc9a080c,2 +np.float64,0xbfe8971ff7712e40,0xbfe4ac3eb8ebff07,2 +np.float64,0x3fe4825f682904bf,0x3fe218c1952fe67d,2 +np.float64,0xbfd60f7698ac1eee,0xbfd539f0979b4b0c,2 +np.float64,0x3fcf0845993e1088,0x3fce7032f7180144,2 +np.float64,0x7fc83443f3306887,0x3ff0000000000000,2 +np.float64,0x3fe93123ae726247,0x3fe504e4fc437e89,2 +np.float64,0x3fbf9eb8363f3d70,0x3fbf75cdfa6828d5,2 +np.float64,0xbf8b45e5d0368bc0,0xbf8b457c29dfe1a9,2 +np.float64,0x8006c2853d0d850b,0x8006c2853d0d850b,2 +np.float64,0xffef26e25ffe4dc4,0xbff0000000000000,2 +np.float64,0x7fefffffffffffff,0x3ff0000000000000,2 +np.float64,0xbfde98f2c2bd31e6,0xbfdc761bfab1c4cb,2 +np.float64,0xffb725e6222e4bd0,0xbff0000000000000,2 +np.float64,0x800c63ead5d8c7d6,0x800c63ead5d8c7d6,2 +np.float64,0x3fea087e95f410fd,0x3fe57d3ab440706c,2 +np.float64,0xbfdf9f8a603f3f14,0xbfdd4742d77dfa57,2 +np.float64,0xfff0000000000000,0xbff0000000000000,2 +np.float64,0xbfcdc0841d3b8108,0xbfcd3a401debba9a,2 +np.float64,0x800f0c8f4f7e191f,0x800f0c8f4f7e191f,2 +np.float64,0x800ba6e75fd74dcf,0x800ba6e75fd74dcf,2 +np.float64,0x7fee4927e8bc924f,0x3ff0000000000000,2 +np.float64,0x3fadf141903be283,0x3fade8878d9d3551,2 +np.float64,0x3efb1a267df64,0x3efb1a267df64,2 +np.float64,0xffebf55f22b7eabe,0xbff0000000000000,2 +np.float64,0x7fbe8045663d008a,0x3ff0000000000000,2 +np.float64,0x3fefc0129f7f8026,0x3fe843f8b7d6cf38,2 +np.float64,0xbfe846b420f08d68,0xbfe47d1709e43937,2 +np.float64,0x7fe8e87043f1d0e0,0x3ff0000000000000,2 +np.float64,0x3fcfb718453f6e31,0x3fcf14ecee7b32b4,2 +np.float64,0x7fe4306b71a860d6,0x3ff0000000000000,2 +np.float64,0x7fee08459f7c108a,0x3ff0000000000000,2 +np.float64,0x3fed705165fae0a3,0x3fe73a66369c5700,2 +np.float64,0x7fd0e63f4da1cc7e,0x3ff0000000000000,2 +np.float64,0xffd1a40c2ea34818,0xbff0000000000000,2 +np.float64,0xbfa369795c26d2f0,0xbfa36718218d46b3,2 +np.float64,0xef70b9f5dee17,0xef70b9f5dee17,2 +np.float64,0x3fb50a0a6e2a1410,0x3fb4fdf27724560a,2 +np.float64,0x7fe30a0f6166141e,0x3ff0000000000000,2 +np.float64,0xbfd7b3ca7daf6794,0xbfd6accb81032b2d,2 +np.float64,0x3fc21dceb3243b9d,0x3fc1ff15d5d277a3,2 +np.float64,0x3fe483e445a907c9,0x3fe219ca0e269552,2 +np.float64,0x3fb2b1e2a22563c0,0x3fb2a96554900eaf,2 +np.float64,0x4b1ff6409641,0x4b1ff6409641,2 +np.float64,0xbfd92eabc9b25d58,0xbfd7f55d7776d64e,2 +np.float64,0x8003b8604c8770c1,0x8003b8604c8770c1,2 +np.float64,0x800d20a9df1a4154,0x800d20a9df1a4154,2 +np.float64,0xecf8a535d9f15,0xecf8a535d9f15,2 +np.float64,0x3fe92d15bab25a2b,0x3fe50296aa15ae85,2 +np.float64,0x800239c205a47385,0x800239c205a47385,2 +np.float64,0x3fc48664a9290cc8,0x3fc459d126320ef6,2 +np.float64,0x3fe7620625eec40c,0x3fe3f3bcbee3e8c6,2 +np.float64,0x3fd242ff4ca48600,0x3fd1c81ed7a971c8,2 +np.float64,0xbfe39bafcfa73760,0xbfe17959c7a279db,2 +np.float64,0x7fdcd2567239a4ac,0x3ff0000000000000,2 +np.float64,0x3fe5f2f292ebe5e6,0x3fe30d12f05e2752,2 +np.float64,0x7fda3819d1347033,0x3ff0000000000000,2 +np.float64,0xffca5b4d4334b69c,0xbff0000000000000,2 +np.float64,0xb8a2b7cd71457,0xb8a2b7cd71457,2 +np.float64,0x3fee689603fcd12c,0x3fe7ad4ace26d6dd,2 +np.float64,0x7fe26541a564ca82,0x3ff0000000000000,2 +np.float64,0x3fe6912ee66d225e,0x3fe3720d242c4d82,2 +np.float64,0xffe6580c75ecb018,0xbff0000000000000,2 +np.float64,0x7fe01a3370603466,0x3ff0000000000000,2 +np.float64,0xffe84e3f84b09c7e,0xbff0000000000000,2 +np.float64,0x3ff0000000000000,0x3fe85efab514f394,2 +np.float64,0x3fe214d4266429a8,0x3fe05fec03a3c247,2 +np.float64,0x3fd00aec5da015d8,0x3fcf6e070ad4ad62,2 +np.float64,0x800aac8631f5590d,0x800aac8631f5590d,2 +np.float64,0xbfe7c4f5f76f89ec,0xbfe42fc1c57b4a13,2 +np.float64,0xaf146c7d5e28e,0xaf146c7d5e28e,2 +np.float64,0xbfe57188b66ae312,0xbfe2b8be4615ef75,2 +np.float64,0xffef8cb8e1ff1971,0xbff0000000000000,2 +np.float64,0x8001daf8aa63b5f2,0x8001daf8aa63b5f2,2 +np.float64,0x3fdddcc339bbb986,0x3fdbde5f3783538b,2 +np.float64,0xdd8c92c3bb193,0xdd8c92c3bb193,2 +np.float64,0xbfe861a148f0c342,0xbfe48cf1d228a336,2 +np.float64,0xffe260a32e24c146,0xbff0000000000000,2 +np.float64,0x1f7474b43ee8f,0x1f7474b43ee8f,2 +np.float64,0x3fe81dbd89703b7c,0x3fe464d78df92b7b,2 +np.float64,0x7fed0101177a0201,0x3ff0000000000000,2 +np.float64,0x7fd8b419a8316832,0x3ff0000000000000,2 +np.float64,0x3fe93debccf27bd8,0x3fe50c27727917f0,2 +np.float64,0xe5ead05bcbd5a,0xe5ead05bcbd5a,2 +np.float64,0xbfebbbc4cff7778a,0xbfe663c4ca003bbf,2 +np.float64,0xbfea343eb474687e,0xbfe59529f73ea151,2 +np.float64,0x3fbe74a5963ce94b,0x3fbe50123ed05d8d,2 +np.float64,0x3fd31d3a5d263a75,0x3fd290c026cb38a5,2 +np.float64,0xbfd79908acaf3212,0xbfd695620e31c3c6,2 +np.float64,0xbfc26a350324d46c,0xbfc249f335f3e465,2 +np.float64,0xbfac38d5583871b0,0xbfac31866d12a45e,2 +np.float64,0x3fe40cea672819d5,0x3fe1c83754e72c92,2 +np.float64,0xbfa74770642e8ee0,0xbfa74355fcf67332,2 +np.float64,0x7fc60942d32c1285,0x3ff0000000000000,2 diff --git a/shared/package-files/8a/8a8b652e6c8fc32195a408ded7d15b003b28b7c0770bd43450464122d9145a21/mviewbuf.c b/shared/package-files/8a/8a8b652e6c8fc32195a408ded7d15b003b28b7c0770bd43450464122d9145a21/mviewbuf.c new file mode 100644 index 0000000000000000000000000000000000000000..d977e1d68d78c2d9e6d6b56eec2e23fe6d00ed16 --- /dev/null +++ b/shared/package-files/8a/8a8b652e6c8fc32195a408ded7d15b003b28b7c0770bd43450464122d9145a21/mviewbuf.c @@ -0,0 +1,389 @@ +#include "_pymodule.h" + +static int get_writable_buffer(PyObject* obj, Py_buffer *buf, int force) +{ + Py_buffer read_buf; + int flags = PyBUF_ND|PyBUF_STRIDES|PyBUF_FORMAT; + int ret; + + /* Attempt to get a writable buffer */ + if (!PyObject_GetBuffer(obj, buf, flags|PyBUF_WRITABLE)) + return 0; + if (!force) + return -1; + + /* Make a writable buffer from a read-only buffer */ + PyErr_Clear(); + if(-1 == PyObject_GetBuffer(obj, &read_buf, flags)) + return -1; + ret = PyBuffer_FillInfo(buf, NULL, read_buf.buf, read_buf.len, 0, + flags|PyBUF_WRITABLE); + PyBuffer_Release(&read_buf); + return ret; +} + +static int get_readonly_buffer(PyObject* obj, Py_buffer *buf) +{ + int flags = PyBUF_ND|PyBUF_STRIDES|PyBUF_FORMAT; + + return PyObject_GetBuffer(obj, buf, flags); +} + + +static void free_buffer(Py_buffer * buf) +{ + PyBuffer_Release(buf); +} + +/** + * Return a pointer to the data of a writable buffer from obj. If only a + * read-only buffer is available and force is True, a read-write buffer based on + * the read-only buffer is obtained. Note that this may have some surprising + * effects on buffers which expect the data from their read-only buffer not to + * be modified. + */ +static PyObject* +memoryview_get_buffer(PyObject *self, PyObject *args){ + PyObject *obj = NULL; + int force = 0; + int readonly = 0; + PyObject *ret = NULL; + Py_buffer buf; + + if (!PyArg_ParseTuple(args, "O|ii", &obj, &force, &readonly)) + return NULL; + + if (readonly) { + if (get_readonly_buffer(obj, &buf)) + return NULL; + } else { + if (get_writable_buffer(obj, &buf, force)) + return NULL; + } + + ret = PyLong_FromVoidPtr(buf.buf); + free_buffer(&buf); + return ret; +} + +/** + * Gets a half-open range [start, end) which contains the array data + * Modified from numpy/core/src/multiarray/array_assign.c + */ +static PyObject* +get_extents(Py_ssize_t *shape, Py_ssize_t *strides, int ndim, + Py_ssize_t itemsize, Py_ssize_t ptr) +{ + Py_ssize_t start, end; + int idim; + Py_ssize_t *dimensions = shape; + PyObject *ret = NULL; + + if (ndim < 0 ){ + PyErr_SetString(PyExc_ValueError, "buffer ndim < 0"); + return NULL; + } + + if (!dimensions) { + if (ndim == 0) { + start = end = ptr; + end += itemsize; + return Py_BuildValue("nn", start, end); + } + PyErr_SetString(PyExc_ValueError, "buffer shape is not defined"); + return NULL; + } + + if (!strides) { + PyErr_SetString(PyExc_ValueError, "buffer strides is not defined"); + return NULL; + } + + /* Calculate with a closed range [start, end] */ + start = end = ptr; + for (idim = 0; idim < ndim; ++idim) { + Py_ssize_t stride = strides[idim], dim = dimensions[idim]; + /* If the array size is zero, return an empty range */ + if (dim == 0) { + start = end = ptr; + ret = Py_BuildValue("nn", start, end); + break; + } + /* Expand either upwards or downwards depending on stride */ + else { + if (stride > 0) { + end += stride * (dim - 1); + } + else if (stride < 0) { + start += stride * (dim - 1); + } + } + } + + if (!ret) { + /* Return a half-open range */ + Py_ssize_t out_start = start; + Py_ssize_t out_end = end + itemsize; + + ret = Py_BuildValue("nn", out_start, out_end); + } + + return ret; +} + +static PyObject* +memoryview_get_extents(PyObject *self, PyObject *args) +{ + PyObject *obj = NULL; + PyObject *ret = NULL; + Py_buffer b; + if (!PyArg_ParseTuple(args, "O", &obj)) + return NULL; + + if (get_readonly_buffer(obj, &b)) + return NULL; + + ret = get_extents(b.shape, b.strides, b.ndim, b.itemsize, + (Py_ssize_t)b.buf); + free_buffer(&b); + return ret; +} + +static PyObject* +memoryview_get_extents_info(PyObject *self, PyObject *args) +{ + int i; + Py_ssize_t *shape_ary = NULL; + Py_ssize_t *strides_ary = NULL; + PyObject *shape_tuple = NULL; + PyObject *strides_tuple = NULL; + PyObject *shape = NULL, *strides = NULL; + Py_ssize_t itemsize = 0; + int ndim = 0; + PyObject* res = NULL; + + if (!PyArg_ParseTuple(args, "OOin", &shape, &strides, &ndim, &itemsize)) + goto cleanup; + + if (ndim < 0) { + PyErr_SetString(PyExc_ValueError, "ndim is negative"); + goto cleanup; + } + + if (itemsize <= 0) { + PyErr_SetString(PyExc_ValueError, "ndim <= 0"); + goto cleanup; + } + + shape_ary = malloc(sizeof(Py_ssize_t) * ndim + 1); + strides_ary = malloc(sizeof(Py_ssize_t) * ndim + 1); + + shape_tuple = PySequence_Fast(shape, "shape is not a sequence"); + if (!shape_tuple) goto cleanup; + + for (i = 0; i < ndim; ++i) { + shape_ary[i] = PyNumber_AsSsize_t( + PySequence_Fast_GET_ITEM(shape_tuple, i), + PyExc_OverflowError); + } + + strides_tuple = PySequence_Fast(strides, "strides is not a sequence"); + if (!strides_tuple) goto cleanup; + + for (i = 0; i < ndim; ++i) { + strides_ary[i] = PyNumber_AsSsize_t( + PySequence_Fast_GET_ITEM(strides_tuple, i), + PyExc_OverflowError); + } + + res = get_extents(shape_ary, strides_ary, ndim, itemsize, 0); +cleanup: + free(shape_ary); + free(strides_ary); + Py_XDECREF(shape_tuple); + Py_XDECREF(strides_tuple); + return res; +} + + +/* new type to expose buffer interface */ +typedef struct { + PyObject_HEAD + /* Type-specific fields go here. */ +} MemAllocObject; + + +static int +get_bufinfo(PyObject *self, Py_ssize_t *psize, void **pptr) +{ + PyObject *buflen = NULL; + PyObject *bufptr = NULL; + Py_ssize_t size = 0; + void* ptr = NULL; + int ret = -1; + + buflen = PyObject_GetAttrString(self, "_buflen_"); + if (!buflen) goto cleanup; + + bufptr = PyObject_GetAttrString(self, "_bufptr_"); + if (!bufptr) goto cleanup; + + size = PyNumber_AsSsize_t(buflen, PyExc_OverflowError); + if (size == -1 && PyErr_Occurred()) goto cleanup; + else if (size < 0) { + PyErr_SetString(PyExc_ValueError, "negative buffer size"); + goto cleanup; + } + + ptr = PyLong_AsVoidPtr(PyNumber_Long(bufptr)); + if (PyErr_Occurred()) + goto cleanup; + else if (!ptr) { + PyErr_SetString(PyExc_ValueError, "null buffer pointer"); + goto cleanup; + } + + *psize = size; + *pptr = ptr; + ret = 0; +cleanup: + Py_XDECREF(buflen); + Py_XDECREF(bufptr); + return ret; +} + + +static int +MemAllocObject_getbuffer(PyObject *self, Py_buffer *view, int flags) +{ + Py_ssize_t size = 0; + void *ptr = 0; + int readonly; + + if(-1 == get_bufinfo(self, &size, &ptr)) + return -1; + + readonly = (PyBUF_WRITABLE & flags) != PyBUF_WRITABLE; + + /* fill buffer */ + if (-1 == PyBuffer_FillInfo(view, self, (void*)ptr, size, readonly, flags)) + return -1; + + return 0; +} + +static void +MemAllocObject_releasebuffer(PyObject *self, Py_buffer *view) +{ + /* Do nothing */ +} + +static PyBufferProcs MemAlloc_as_buffer = { + MemAllocObject_getbuffer, + MemAllocObject_releasebuffer, +}; + + +static PyTypeObject MemAllocType = { + PyVarObject_HEAD_INIT(NULL, 0) + "mviewbuf.MemAlloc", /* tp_name */ + sizeof(MemAllocObject), /* tp_basicsize */ + 0, /* tp_itemsize */ + 0, /* tp_dealloc */ + 0, /* tp_vectorcall_offset */ + 0, /* tp_getattr */ + 0, /* tp_setattr */ + 0, /* tp_as_async */ + 0, /* tp_repr */ + 0, /* tp_as_number */ + 0, /* tp_as_sequence */ + 0, /* tp_as_mapping */ + 0, /* tp_hash */ + 0, /* tp_call */ + 0, /* tp_str */ + 0, /* tp_getattro */ + 0, /* tp_setattro */ + &MemAlloc_as_buffer, /* tp_as_buffer */ + (Py_TPFLAGS_DEFAULT| Py_TPFLAGS_BASETYPE), /* tp_flags */ + 0, /* tp_doc */ + 0, /* tp_traverse */ + 0, /* tp_clear */ + 0, /* tp_richcompare */ + 0, /* tp_weaklistoffset */ + 0, /* tp_iter */ + 0, /* tp_iternext */ + 0, /* tp_methods */ + 0, /* tp_members */ + 0, /* tp_getset */ + 0, /* tp_base */ + 0, /* tp_dict */ + 0, /* tp_descr_get */ + 0, /* tp_descr_set */ + 0, /* tp_dictoffset */ + 0, /* tp_init */ + 0, /* tp_alloc */ + 0, /* tp_new */ + 0, /* tp_free */ + 0, /* tp_is_gc */ + 0, /* tp_bases */ + 0, /* tp_mro */ + 0, /* tp_cache */ + 0, /* tp_subclasses */ + 0, /* tp_weaklist */ + 0, /* tp_del */ + 0, /* tp_version_tag */ + 0, /* tp_finalize */ + 0, /* tp_vectorcall */ +#if (PY_MAJOR_VERSION == 3) && (PY_MINOR_VERSION >= 12) +/* This was introduced first in 3.12 + * https://github.com/python/cpython/issues/91051 + */ + 0, /* tp_watched */ +#endif +#if (PY_MAJOR_VERSION == 3) && (PY_MINOR_VERSION >= 13) +/* This was introduced in 3.13 + * https://github.com/python/cpython/pull/114900 + */ + 0, /* tp_versions_used */ +#endif + +/* WARNING: Do not remove this, only modify it! It is a version guard to + * act as a reminder to update this struct on Python version update! */ +#if (PY_MAJOR_VERSION == 3) +#if ! (NB_SUPPORTED_PYTHON_MINOR) +#error "Python minor version is not supported." +#endif +#else +#error "Python major version is not supported." +#endif +/* END WARNING*/ +}; + + +static PyMethodDef core_methods[] = { +#define declmethod(func) { #func , ( PyCFunction )func , METH_VARARGS , NULL } + declmethod(memoryview_get_buffer), + declmethod(memoryview_get_extents), + declmethod(memoryview_get_extents_info), + { NULL }, +#undef declmethod +}; + + +MOD_INIT(mviewbuf) { + PyObject *module; + MOD_DEF(module, "mviewbuf", "No docs", core_methods) + if (module == NULL) + return MOD_ERROR_VAL; + + MemAllocType.tp_new = PyType_GenericNew; + if (PyType_Ready(&MemAllocType) < 0){ + return MOD_ERROR_VAL; + } + + Py_INCREF(&MemAllocType); + PyModule_AddObject(module, "MemAlloc", (PyObject*)&MemAllocType); + + return MOD_SUCCESS_VAL(module); +} + diff --git a/shared/package-files/8a/8a8c80716c6f14ba88d7755ecd6cc281000027934980d9fcb0371d5a8971ac58/context.py b/shared/package-files/8a/8a8c80716c6f14ba88d7755ecd6cc281000027934980d9fcb0371d5a8971ac58/context.py new file mode 100644 index 0000000000000000000000000000000000000000..5bc6b99412810e9dab5a365465bd13c04c8f9eda --- /dev/null +++ b/shared/package-files/8a/8a8c80716c6f14ba88d7755ecd6cc281000027934980d9fcb0371d5a8971ac58/context.py @@ -0,0 +1,499 @@ +from abc import abstractmethod +from contextlib import contextmanager +from pathlib import Path +from typing import Optional + +from parso.tree import search_ancestor +from parso.python.tree import Name + +from jedi.inference.filters import ParserTreeFilter, MergedFilter, \ + GlobalNameFilter +from jedi.inference.names import AnonymousParamName, TreeNameDefinition +from jedi.inference.base_value import NO_VALUES, ValueSet +from jedi.parser_utils import get_parent_scope +from jedi import debug +from jedi import parser_utils + + +class AbstractContext: + # Must be defined: inference_state and tree_node and parent_context as an attribute/property + + def __init__(self, inference_state): + self.inference_state = inference_state + self.predefined_names = {} + + @abstractmethod + def get_filters(self, until_position=None, origin_scope=None): + raise NotImplementedError + + def goto(self, name_or_str, position): + from jedi.inference import finder + filters = _get_global_filters_for_name( + self, name_or_str if isinstance(name_or_str, Name) else None, position, + ) + names = finder.filter_name(filters, name_or_str) + debug.dbg('context.goto %s in (%s): %s', name_or_str, self, names) + return names + + def py__getattribute__(self, name_or_str, name_context=None, position=None, + analysis_errors=True): + """ + :param position: Position of the last statement -> tuple of line, column + """ + if name_context is None: + name_context = self + names = self.goto(name_or_str, position) + + string_name = name_or_str.value if isinstance(name_or_str, Name) else name_or_str + + # This paragraph is currently needed for proper branch type inference + # (static analysis). + found_predefined_types = None + if self.predefined_names and isinstance(name_or_str, Name): + node = name_or_str + while node is not None and not parser_utils.is_scope(node): + node = node.parent + if node.type in ("if_stmt", "for_stmt", "comp_for", 'sync_comp_for'): + try: + name_dict = self.predefined_names[node] + types = name_dict[string_name] + except KeyError: + continue + else: + found_predefined_types = types + break + if found_predefined_types is not None and names: + from jedi.inference import flow_analysis + check = flow_analysis.reachability_check( + context=self, + value_scope=self.tree_node, + node=name_or_str, + ) + if check is flow_analysis.UNREACHABLE: + values = NO_VALUES + else: + values = found_predefined_types + else: + values = ValueSet.from_sets(name.infer() for name in names) + + if not names and not values and analysis_errors: + if isinstance(name_or_str, Name): + from jedi.inference import analysis + message = ("NameError: name '%s' is not defined." % string_name) + analysis.add(name_context, 'name-error', name_or_str, message) + + debug.dbg('context.names_to_types: %s -> %s', names, values) + if values: + return values + return self._check_for_additional_knowledge(name_or_str, name_context, position) + + def _check_for_additional_knowledge(self, name_or_str, name_context, position): + name_context = name_context or self + # Add isinstance and other if/assert knowledge. + if isinstance(name_or_str, Name) and not name_context.is_instance(): + flow_scope = name_or_str + base_nodes = [name_context.tree_node] + + if any(b.type in ('comp_for', 'sync_comp_for') for b in base_nodes): + return NO_VALUES + from jedi.inference.finder import check_flow_information + while True: + flow_scope = get_parent_scope(flow_scope, include_flows=True) + n = check_flow_information(name_context, flow_scope, + name_or_str, position) + if n is not None: + return n + if flow_scope in base_nodes: + break + return NO_VALUES + + def get_root_context(self): + parent_context = self.parent_context + if parent_context is None: + return self + return parent_context.get_root_context() + + def is_module(self): + return False + + def is_builtins_module(self): + return False + + def is_class(self): + return False + + def is_stub(self): + return False + + def is_instance(self): + return False + + def is_compiled(self): + return False + + def is_bound_method(self): + return False + + @abstractmethod + def py__name__(self): + raise NotImplementedError + + def get_value(self): + raise NotImplementedError + + @property + def name(self): + return None + + def get_qualified_names(self): + return () + + def py__doc__(self): + return '' + + @contextmanager + def predefine_names(self, flow_scope, dct): + predefined = self.predefined_names + predefined[flow_scope] = dct + try: + yield + finally: + del predefined[flow_scope] + + +class ValueContext(AbstractContext): + """ + Should be defined, otherwise the API returns empty types. + """ + def __init__(self, value): + super().__init__(value.inference_state) + self._value = value + + @property + def tree_node(self): + return self._value.tree_node + + @property + def parent_context(self): + return self._value.parent_context + + def is_module(self): + return self._value.is_module() + + def is_builtins_module(self): + return self._value == self.inference_state.builtins_module + + def is_class(self): + return self._value.is_class() + + def is_stub(self): + return self._value.is_stub() + + def is_instance(self): + return self._value.is_instance() + + def is_compiled(self): + return self._value.is_compiled() + + def is_bound_method(self): + return self._value.is_bound_method() + + def py__name__(self): + return self._value.py__name__() + + @property + def name(self): + return self._value.name + + def get_qualified_names(self): + return self._value.get_qualified_names() + + def py__doc__(self): + return self._value.py__doc__() + + def get_value(self): + return self._value + + def __repr__(self): + return '%s(%s)' % (self.__class__.__name__, self._value) + + +class TreeContextMixin: + def infer_node(self, node): + from jedi.inference.syntax_tree import infer_node + return infer_node(self, node) + + def create_value(self, node): + from jedi.inference import value + + if node == self.tree_node: + assert self.is_module() + return self.get_value() + + parent_context = self.create_context(node) + + if node.type in ('funcdef', 'lambdef'): + func = value.FunctionValue.from_context(parent_context, node) + if parent_context.is_class(): + class_value = parent_context.parent_context.create_value(parent_context.tree_node) + instance = value.AnonymousInstance( + self.inference_state, parent_context.parent_context, class_value) + func = value.BoundMethod( + instance=instance, + class_context=class_value.as_context(), + function=func + ) + return func + elif node.type == 'classdef': + return value.ClassValue(self.inference_state, parent_context, node) + else: + raise NotImplementedError("Probably shouldn't happen: %s" % node) + + def create_context(self, node): + def from_scope_node(scope_node, is_nested=True): + if scope_node == self.tree_node: + return self + + if scope_node.type in ('funcdef', 'lambdef', 'classdef'): + return self.create_value(scope_node).as_context() + elif scope_node.type in ('comp_for', 'sync_comp_for'): + parent_context = from_scope_node(parent_scope(scope_node.parent)) + if node.start_pos >= scope_node.children[-1].start_pos: + return parent_context + return CompForContext(parent_context, scope_node) + raise Exception("There's a scope that was not managed: %s" % scope_node) + + def parent_scope(node): + while True: + node = node.parent + + if parser_utils.is_scope(node): + return node + elif node.type in ('argument', 'testlist_comp'): + if node.children[1].type in ('comp_for', 'sync_comp_for'): + return node.children[1] + elif node.type == 'dictorsetmaker': + for n in node.children[1:4]: + # In dictionaries it can be pretty much anything. + if n.type in ('comp_for', 'sync_comp_for'): + return n + + scope_node = parent_scope(node) + if scope_node.type in ('funcdef', 'classdef'): + colon = scope_node.children[scope_node.children.index(':')] + if node.start_pos < colon.start_pos: + parent = node.parent + if not (parent.type == 'param' and parent.name == node): + scope_node = parent_scope(scope_node) + return from_scope_node(scope_node, is_nested=True) + + def create_name(self, tree_name): + definition = tree_name.get_definition() + if definition and definition.type == 'param' and definition.name == tree_name: + funcdef = search_ancestor(definition, 'funcdef', 'lambdef') + func = self.create_value(funcdef) + return AnonymousParamName(func, tree_name) + else: + context = self.create_context(tree_name) + return TreeNameDefinition(context, tree_name) + + +class FunctionContext(TreeContextMixin, ValueContext): + def get_filters(self, until_position=None, origin_scope=None): + yield ParserTreeFilter( + self.inference_state, + parent_context=self, + until_position=until_position, + origin_scope=origin_scope + ) + + +class ModuleContext(TreeContextMixin, ValueContext): + def py__file__(self) -> Optional[Path]: + return self._value.py__file__() # type: ignore[no-any-return] + + def get_filters(self, until_position=None, origin_scope=None): + filters = self._value.get_filters(origin_scope) + # Skip the first filter and replace it. + next(filters, None) + yield MergedFilter( + ParserTreeFilter( + parent_context=self, + until_position=until_position, + origin_scope=origin_scope + ), + self.get_global_filter(), + ) + yield from filters + + def get_global_filter(self): + return GlobalNameFilter(self) + + @property + def string_names(self): + return self._value.string_names + + @property + def code_lines(self): + return self._value.code_lines + + def get_value(self): + """ + This is the only function that converts a context back to a value. + This is necessary for stub -> python conversion and vice versa. However + this method shouldn't be moved to AbstractContext. + """ + return self._value + + +class NamespaceContext(TreeContextMixin, ValueContext): + def get_filters(self, until_position=None, origin_scope=None): + return self._value.get_filters() + + def get_value(self): + return self._value + + @property + def string_names(self): + return self._value.string_names + + def py__file__(self) -> Optional[Path]: + return self._value.py__file__() # type: ignore[no-any-return] + + +class ClassContext(TreeContextMixin, ValueContext): + def get_filters(self, until_position=None, origin_scope=None): + yield self.get_global_filter(until_position, origin_scope) + + def get_global_filter(self, until_position=None, origin_scope=None): + return ParserTreeFilter( + parent_context=self, + until_position=until_position, + origin_scope=origin_scope + ) + + +class CompForContext(TreeContextMixin, AbstractContext): + def __init__(self, parent_context, comp_for): + super().__init__(parent_context.inference_state) + self.tree_node = comp_for + self.parent_context = parent_context + + def get_filters(self, until_position=None, origin_scope=None): + yield ParserTreeFilter(self) + + def get_value(self): + return None + + def py__name__(self): + return '' + + def __repr__(self): + return '%s(%s)' % (self.__class__.__name__, self.tree_node) + + +class CompiledContext(ValueContext): + def get_filters(self, until_position=None, origin_scope=None): + return self._value.get_filters() + + +class CompiledModuleContext(CompiledContext): + code_lines = None + + def get_value(self): + return self._value + + @property + def string_names(self): + return self._value.string_names + + def py__file__(self) -> Optional[Path]: + return self._value.py__file__() # type: ignore[no-any-return] + + +def _get_global_filters_for_name(context, name_or_none, position): + # For functions and classes the defaults don't belong to the + # function and get inferred in the value before the function. So + # make sure to exclude the function/class name. + if name_or_none is not None: + ancestor = search_ancestor(name_or_none, 'funcdef', 'classdef', 'lambdef') + lambdef = None + if ancestor == 'lambdef': + # For lambdas it's even more complicated since parts will + # be inferred later. + lambdef = ancestor + ancestor = search_ancestor(name_or_none, 'funcdef', 'classdef') + if ancestor is not None: + colon = ancestor.children[-2] + if position is not None and position < colon.start_pos: + if lambdef is None or position < lambdef.children[-2].start_pos: + position = ancestor.start_pos + + return get_global_filters(context, position, name_or_none) + + +def get_global_filters(context, until_position, origin_scope): + """ + Returns all filters in order of priority for name resolution. + + For global name lookups. The filters will handle name resolution + themselves, but here we gather possible filters downwards. + + >>> from jedi import Script + >>> script = Script(''' + ... x = ['a', 'b', 'c'] + ... def func(): + ... y = None + ... ''') + >>> module_node = script._module_node + >>> scope = next(module_node.iter_funcdefs()) + >>> scope + + >>> context = script._get_module_context().create_context(scope) + >>> filters = list(get_global_filters(context, (4, 0), None)) + + First we get the names from the function scope. + + >>> print(filters[0]) # doctest: +ELLIPSIS + MergedFilter(, ) + >>> sorted(str(n) for n in filters[0].values()) # doctest: +NORMALIZE_WHITESPACE + ['', + ''] + >>> filters[0]._filters[0]._until_position + (4, 0) + >>> filters[0]._filters[1]._until_position + + Then it yields the names from one level "lower". In this example, this is + the module scope (including globals). + As a side note, you can see, that the position in the filter is None on the + globals filter, because there the whole module is searched. + + >>> list(filters[1].values()) # package modules -> Also empty. + [] + >>> sorted(name.string_name for name in filters[2].values()) # Module attributes + ['__doc__', '__name__', '__package__'] + + Finally, it yields the builtin filter, if `include_builtin` is + true (default). + + >>> list(filters[3].values()) # doctest: +ELLIPSIS + [...] + """ + base_context = context + from jedi.inference.value.function import BaseFunctionExecutionContext + while context is not None: + # Names in methods cannot be resolved within the class. + yield from context.get_filters( + until_position=until_position, + origin_scope=origin_scope + ) + if isinstance(context, (BaseFunctionExecutionContext, ModuleContext)): + # The position should be reset if the current scope is a function. + until_position = None + + context = context.parent_context + + b = next(base_context.inference_state.builtins_module.get_filters(), None) + assert b is not None + # Add builtins to the global scope. + yield b diff --git a/shared/package-files/8a/8a96ecc12e5348dbf0f653bfead37eec4f2bb834b91db303ba67e8c6be61d07d/_datasets_pair.pyx.tp b/shared/package-files/8a/8a96ecc12e5348dbf0f653bfead37eec4f2bb834b91db303ba67e8c6be61d07d/_datasets_pair.pyx.tp new file mode 100644 index 0000000000000000000000000000000000000000..2c3ca44047145e98ca4b446a85db87b1c2ecd2c2 --- /dev/null +++ b/shared/package-files/8a/8a96ecc12e5348dbf0f653bfead37eec4f2bb834b91db303ba67e8c6be61d07d/_datasets_pair.pyx.tp @@ -0,0 +1,406 @@ +import copy + +{{py: + +implementation_specific_values = [ + # Values are the following ones: + # + # name_suffix, INPUT_DTYPE_t, INPUT_DTYPE + ('64', 'DistanceMetric64', 'float64_t', 'np.float64'), + ('32', 'DistanceMetric32', 'float32_t', 'np.float32') +] + +}} +import numpy as np + +from cython cimport final + +from ...utils._typedefs cimport float64_t, float32_t, intp_t + +from scipy.sparse import issparse, csr_matrix + +{{for name_suffix, DistanceMetric, INPUT_DTYPE_t, INPUT_DTYPE in implementation_specific_values}} + +cdef class DatasetsPair{{name_suffix}}: + """Abstract class which wraps a pair of datasets (X, Y). + + This class allows computing distances between a single pair of rows of + of X and Y at a time given the pair of their indices (i, j). This class is + specialized for each metric thanks to the :func:`get_for` factory classmethod. + + The handling of parallelization over chunks to compute the distances + and aggregation for several rows at a time is done in dedicated + subclasses of :class:`BaseDistancesReductionDispatcher` that in-turn rely on + subclasses of :class:`DatasetsPair` for each pair of rows in the data. The + goal is to make it possible to decouple the generic parallelization and + aggregation logic from metric-specific computation as much as possible. + + X and Y can be stored as C-contiguous np.ndarrays or CSR matrices + in subclasses. + + This class avoids the overhead of dispatching distance computations + to :class:`sklearn.metrics.DistanceMetric` based on the physical + representation of the vectors (sparse vs. dense). It makes use of + cython.final to remove the overhead of dispatching method calls. + + Parameters + ---------- + distance_metric: {{DistanceMetric}} + The distance metric responsible for computing distances + between two vectors of (X, Y). + """ + + @classmethod + def get_for( + cls, + X, + Y, + metric="euclidean", + dict metric_kwargs=None, + ) -> DatasetsPair{{name_suffix}}: + """Return the DatasetsPair implementation for the given arguments. + + Parameters + ---------- + X : {ndarray, sparse matrix} of shape (n_samples_X, n_features) + Input data. + If provided as a ndarray, it must be C-contiguous. + If provided as a sparse matrix, it must be in CSR format. + + Y : {ndarray, sparse matrix} of shape (n_samples_Y, n_features) + Input data. + If provided as a ndarray, it must be C-contiguous. + If provided as a sparse matrix, it must be in CSR format. + + metric : str or DistanceMetric object, default='euclidean' + The distance metric to compute between rows of X and Y. + The default metric is a fast implementation of the Euclidean + metric. For a list of available metrics, see the documentation + of :class:`~sklearn.metrics.DistanceMetric`. + + metric_kwargs : dict, default=None + Keyword arguments to pass to specified metric function. + + Returns + ------- + datasets_pair: DatasetsPair{{name_suffix}} + The suited DatasetsPair{{name_suffix}} implementation. + """ + # X_norm_squared and Y_norm_squared might be propagated + # down to DatasetsPairs via metrics_kwargs when the Euclidean + # specialisations can't be used. + # To prevent X_norm_squared and Y_norm_squared to be passed + # down to DistanceMetrics (whose constructors would raise + # a RuntimeError), we pop them here. + if metric_kwargs is not None: + # Copying metric_kwargs not to pop "X_norm_squared" + # and "Y_norm_squared" where they are used + metric_kwargs = copy.copy(metric_kwargs) + metric_kwargs.pop("X_norm_squared", None) + metric_kwargs.pop("Y_norm_squared", None) + cdef: + {{DistanceMetric}} distance_metric = DistanceMetric.get_metric( + metric, + {{INPUT_DTYPE}}, + **(metric_kwargs or {}) + ) + + # Metric-specific checks that do not replace nor duplicate `check_array`. + distance_metric._validate_data(X) + distance_metric._validate_data(Y) + + X_is_sparse = issparse(X) + Y_is_sparse = issparse(Y) + + if not X_is_sparse and not Y_is_sparse: + return DenseDenseDatasetsPair{{name_suffix}}(X, Y, distance_metric) + + if X_is_sparse and Y_is_sparse: + return SparseSparseDatasetsPair{{name_suffix}}(X, Y, distance_metric) + + if X_is_sparse and not Y_is_sparse: + return SparseDenseDatasetsPair{{name_suffix}}(X, Y, distance_metric) + + return DenseSparseDatasetsPair{{name_suffix}}(X, Y, distance_metric) + + @classmethod + def unpack_csr_matrix(cls, X: csr_matrix): + """Ensure that the CSR matrix is indexed with np.int32.""" + X_data = np.asarray(X.data, dtype={{INPUT_DTYPE}}) + X_indices = np.asarray(X.indices, dtype=np.int32) + X_indptr = np.asarray(X.indptr, dtype=np.int32) + return X_data, X_indices, X_indptr + + def __init__(self, {{DistanceMetric}} distance_metric, intp_t n_features): + self.distance_metric = distance_metric + self.n_features = n_features + + cdef intp_t n_samples_X(self) noexcept nogil: + """Number of samples in X.""" + # This is a abstract method. + # This _must_ always be overwritten in subclasses. + # TODO: add "with gil: raise" here when supporting Cython 3.0 + return -999 + + cdef intp_t n_samples_Y(self) noexcept nogil: + """Number of samples in Y.""" + # This is a abstract method. + # This _must_ always be overwritten in subclasses. + # TODO: add "with gil: raise" here when supporting Cython 3.0 + return -999 + + cdef float64_t surrogate_dist(self, intp_t i, intp_t j) noexcept nogil: + return self.dist(i, j) + + cdef float64_t dist(self, intp_t i, intp_t j) noexcept nogil: + # This is a abstract method. + # This _must_ always be overwritten in subclasses. + # TODO: add "with gil: raise" here when supporting Cython 3.0 + return -1 + +@final +cdef class DenseDenseDatasetsPair{{name_suffix}}(DatasetsPair{{name_suffix}}): + """Compute distances between row vectors of two arrays. + + Parameters + ---------- + X: ndarray of shape (n_samples_X, n_features) + Rows represent vectors. Must be C-contiguous. + + Y: ndarray of shape (n_samples_Y, n_features) + Rows represent vectors. Must be C-contiguous. + + distance_metric: DistanceMetric + The distance metric responsible for computing distances + between two row vectors of (X, Y). + """ + + def __init__( + self, + const {{INPUT_DTYPE_t}}[:, ::1] X, + const {{INPUT_DTYPE_t}}[:, ::1] Y, + {{DistanceMetric}} distance_metric, + ): + super().__init__(distance_metric, n_features=X.shape[1]) + # Arrays have already been checked + self.X = X + self.Y = Y + + @final + cdef intp_t n_samples_X(self) noexcept nogil: + return self.X.shape[0] + + @final + cdef intp_t n_samples_Y(self) noexcept nogil: + return self.Y.shape[0] + + @final + cdef float64_t surrogate_dist(self, intp_t i, intp_t j) noexcept nogil: + return self.distance_metric.rdist(&self.X[i, 0], &self.Y[j, 0], self.n_features) + + @final + cdef float64_t dist(self, intp_t i, intp_t j) noexcept nogil: + return self.distance_metric.dist(&self.X[i, 0], &self.Y[j, 0], self.n_features) + + +@final +cdef class SparseSparseDatasetsPair{{name_suffix}}(DatasetsPair{{name_suffix}}): + """Compute distances between vectors of two CSR matrices. + + Parameters + ---------- + X: sparse matrix of shape (n_samples_X, n_features) + Rows represent vectors. Must be in CSR format. + + Y: sparse matrix of shape (n_samples_Y, n_features) + Rows represent vectors. Must be in CSR format. + + distance_metric: DistanceMetric + The distance metric responsible for computing distances + between two vectors of (X, Y). + """ + + def __init__(self, X, Y, {{DistanceMetric}} distance_metric): + super().__init__(distance_metric, n_features=X.shape[1]) + + self.X_data, self.X_indices, self.X_indptr = self.unpack_csr_matrix(X) + self.Y_data, self.Y_indices, self.Y_indptr = self.unpack_csr_matrix(Y) + + @final + cdef intp_t n_samples_X(self) noexcept nogil: + return self.X_indptr.shape[0] - 1 + + @final + cdef intp_t n_samples_Y(self) noexcept nogil: + return self.Y_indptr.shape[0] - 1 + + @final + cdef float64_t surrogate_dist(self, intp_t i, intp_t j) noexcept nogil: + return self.distance_metric.rdist_csr( + x1_data=&self.X_data[0], + x1_indices=&self.X_indices[0], + x2_data=&self.Y_data[0], + x2_indices=&self.Y_indices[0], + x1_start=self.X_indptr[i], + x1_end=self.X_indptr[i + 1], + x2_start=self.Y_indptr[j], + x2_end=self.Y_indptr[j + 1], + size=self.n_features, + ) + + @final + cdef float64_t dist(self, intp_t i, intp_t j) noexcept nogil: + return self.distance_metric.dist_csr( + x1_data=&self.X_data[0], + x1_indices=&self.X_indices[0], + x2_data=&self.Y_data[0], + x2_indices=&self.Y_indices[0], + x1_start=self.X_indptr[i], + x1_end=self.X_indptr[i + 1], + x2_start=self.Y_indptr[j], + x2_end=self.Y_indptr[j + 1], + size=self.n_features, + ) + + +@final +cdef class SparseDenseDatasetsPair{{name_suffix}}(DatasetsPair{{name_suffix}}): + """Compute distances between vectors of a CSR matrix and a dense array. + + Parameters + ---------- + X: sparse matrix of shape (n_samples_X, n_features) + Rows represent vectors. Must be in CSR format. + + Y: ndarray of shape (n_samples_Y, n_features) + Rows represent vectors. Must be C-contiguous. + + distance_metric: DistanceMetric + The distance metric responsible for computing distances + between two vectors of (X, Y). + """ + + def __init__(self, X, Y, {{DistanceMetric}} distance_metric): + super().__init__(distance_metric, n_features=X.shape[1]) + + self.X_data, self.X_indices, self.X_indptr = self.unpack_csr_matrix(X) + + # We support the sparse-dense case by using the sparse-sparse interfaces + # of `DistanceMetric` (namely `DistanceMetric.{dist_csr,rdist_csr}`) to + # avoid introducing a new complex set of interfaces. In this case, we + # need to convert `Y` (the dense array) into a CSR matrix. + # + # Here we motive using another simpler CSR representation to use for `Y`. + # + # If we were to use the usual CSR representation for `Y`, storing all + # the columns indices in `indices` would have required allocating an + # array of n_samples × n_features elements with repeated contiguous + # integers from 0 to n_features - 1. This would have been very wasteful + # from a memory point of view. This alternative representation just uses + # the necessary amount of information needed and only necessitates + # shifting the address of `data` before calling the CSR × CSR routines. + # + # In this representation: + # + # - the `data` array is the original dense array, `Y`, whose first + # element's address is shifted before calling the CSR × CSR routine + # + # - the `indices` array is a single row of `n_features` elements: + # + # [0, 1, ..., n_features-1] + # + # - the `indptr` array is not materialised as the indices pointers' + # offset is constant (the offset equals `n_features`). Moreover, as + # `data` is shifted, constant `start` and `end` indices pointers + # respectively equalling 0 and n_features are used. + + # Y array already has been checked here + self.n_Y = Y.shape[0] + self.Y_data = np.ravel(Y) + self.Y_indices = np.arange(self.n_features, dtype=np.int32) + + @final + cdef intp_t n_samples_X(self) noexcept nogil: + return self.X_indptr.shape[0] - 1 + + @final + cdef intp_t n_samples_Y(self) noexcept nogil: + return self.n_Y + + @final + cdef float64_t surrogate_dist(self, intp_t i, intp_t j) noexcept nogil: + return self.distance_metric.rdist_csr( + x1_data=&self.X_data[0], + x1_indices=&self.X_indices[0], + # Increment the data pointer such that x2_start=0 is aligned with the + # j-th row + x2_data=&self.Y_data[0] + j * self.n_features, + x2_indices=&self.Y_indices[0], + x1_start=self.X_indptr[i], + x1_end=self.X_indptr[i + 1], + x2_start=0, + x2_end=self.n_features, + size=self.n_features, + ) + + @final + cdef float64_t dist(self, intp_t i, intp_t j) noexcept nogil: + + return self.distance_metric.dist_csr( + x1_data=&self.X_data[0], + x1_indices=&self.X_indices[0], + # Increment the data pointer such that x2_start=0 is aligned with the + # j-th row + x2_data=&self.Y_data[0] + j * self.n_features, + x2_indices=&self.Y_indices[0], + x1_start=self.X_indptr[i], + x1_end=self.X_indptr[i + 1], + x2_start=0, + x2_end=self.n_features, + size=self.n_features, + ) + + +@final +cdef class DenseSparseDatasetsPair{{name_suffix}}(DatasetsPair{{name_suffix}}): + """Compute distances between vectors of a dense array and a CSR matrix. + + Parameters + ---------- + X: ndarray of shape (n_samples_X, n_features) + Rows represent vectors. Must be C-contiguous. + + Y: sparse matrix of shape (n_samples_Y, n_features) + Rows represent vectors. Must be in CSR format. + + distance_metric: DistanceMetric + The distance metric responsible for computing distances + between two vectors of (X, Y). + """ + + def __init__(self, X, Y, {{DistanceMetric}} distance_metric): + super().__init__(distance_metric, n_features=X.shape[1]) + # Swapping arguments on the constructor + self.datasets_pair = SparseDenseDatasetsPair{{name_suffix}}(Y, X, distance_metric) + + @final + cdef intp_t n_samples_X(self) noexcept nogil: + # Swapping interface + return self.datasets_pair.n_samples_Y() + + @final + cdef intp_t n_samples_Y(self) noexcept nogil: + # Swapping interface + return self.datasets_pair.n_samples_X() + + @final + cdef float64_t surrogate_dist(self, intp_t i, intp_t j) noexcept nogil: + # Swapping arguments on the same interface + return self.datasets_pair.surrogate_dist(j, i) + + @final + cdef float64_t dist(self, intp_t i, intp_t j) noexcept nogil: + # Swapping arguments on the same interface + return self.datasets_pair.dist(j, i) + +{{endfor}} diff --git a/shared/package-files/8a/8a9847a680dcd923f6a28084611c6d78c9db390ef3fc4ad0eb0d848249af36e2/quantization_patterns.py b/shared/package-files/8a/8a9847a680dcd923f6a28084611c6d78c9db390ef3fc4ad0eb0d848249af36e2/quantization_patterns.py new file mode 100644 index 0000000000000000000000000000000000000000..34ee88a4713c5d7016d8a50193555b6ec7c3dfe2 --- /dev/null +++ b/shared/package-files/8a/8a9847a680dcd923f6a28084611c6d78c9db390ef3fc4ad0eb0d848249af36e2/quantization_patterns.py @@ -0,0 +1,47 @@ +# flake8: noqa: F401 +r""" +This file is in the process of migration to `torch/ao/quantization`, and +is kept here for compatibility while the migration process is ongoing. +If you are adding a new entry/functionality, please, add it to the +appropriate files under `torch/ao/quantization/fx/`, while adding an import statement +here. +""" +from torch.ao.quantization.fx.quantize_handler import ( + BatchNormQuantizeHandler, + BinaryOpQuantizeHandler, + CatQuantizeHandler, + ConvReluQuantizeHandler, + CopyNodeQuantizeHandler, + CustomModuleQuantizeHandler, + DefaultNodeQuantizeHandler, + EmbeddingQuantizeHandler, + FixedQParamsOpQuantizeHandler, + GeneralTensorShapeOpQuantizeHandler, + LinearReLUQuantizeHandler, + QuantizeHandler, + RNNDynamicQuantizeHandler, + StandaloneModuleQuantizeHandler, +) + +QuantizeHandler.__module__ = "torch.ao.quantization.fx.quantization_patterns" +BinaryOpQuantizeHandler.__module__ = "torch.ao.quantization.fx.quantization_patterns" +CatQuantizeHandler.__module__ = "torch.ao.quantization.fx.quantization_patterns" +ConvReluQuantizeHandler.__module__ = "torch.ao.quantization.fx.quantization_patterns" +LinearReLUQuantizeHandler.__module__ = "torch.ao.quantization.fx.quantization_patterns" +BatchNormQuantizeHandler.__module__ = "torch.ao.quantization.fx.quantization_patterns" +EmbeddingQuantizeHandler.__module__ = "torch.ao.quantization.fx.quantization_patterns" +RNNDynamicQuantizeHandler.__module__ = "torch.ao.quantization.fx.quantization_patterns" +DefaultNodeQuantizeHandler.__module__ = "torch.ao.quantization.fx.quantization_patterns" +FixedQParamsOpQuantizeHandler.__module__ = ( + "torch.ao.quantization.fx.quantization_patterns" +) +CopyNodeQuantizeHandler.__module__ = "torch.ao.quantization.fx.quantization_patterns" +CustomModuleQuantizeHandler.__module__ = ( + "torch.ao.quantization.fx.quantization_patterns" +) +GeneralTensorShapeOpQuantizeHandler.__module__ = ( + "torch.ao.quantization.fx.quantization_patterns" +) +StandaloneModuleQuantizeHandler.__module__ = ( + "torch.ao.quantization.fx.quantization_patterns" +) diff --git a/shared/package-files/8a/8a98661ade1fa18a7ea076cadd92d6def6e5a1f2dbf3780d9c7639d3a1d2e68f/Exceptions.h b/shared/package-files/8a/8a98661ade1fa18a7ea076cadd92d6def6e5a1f2dbf3780d9c7639d3a1d2e68f/Exceptions.h new file mode 100644 index 0000000000000000000000000000000000000000..f5f0a4785b1cf2d43fcefb03c7039e3be5643636 --- /dev/null +++ b/shared/package-files/8a/8a98661ade1fa18a7ea076cadd92d6def6e5a1f2dbf3780d9c7639d3a1d2e68f/Exceptions.h @@ -0,0 +1,41 @@ +#pragma once + +#include +#include +#include +#include + +namespace at { namespace native { + +class miopen_exception : public std::runtime_error { +public: + miopenStatus_t status; + miopen_exception(miopenStatus_t status, const char* msg) + : std::runtime_error(msg) + , status(status) {} + miopen_exception(miopenStatus_t status, const std::string& msg) + : std::runtime_error(msg) + , status(status) {} +}; + +inline void MIOPEN_CHECK(miopenStatus_t status) +{ + if (status != miopenStatusSuccess) { + if (status == miopenStatusNotImplemented) { + throw miopen_exception(status, std::string(miopenGetErrorString(status)) + + ". This error may appear if you passed in a non-contiguous input."); + } + throw miopen_exception(status, miopenGetErrorString(status)); + } +} + +inline void HIP_CHECK(hipError_t error) +{ + if (error != hipSuccess) { + std::string msg("HIP error: "); + msg += hipGetErrorString(error); + throw std::runtime_error(msg); + } +} + +}} // namespace at::native diff --git a/shared/package-files/8a/8a9b51bb10104a2f0ddd25534102cddda5bee9fd1b6db82086ebcebe65451db8/_thnn_fused_lstm_cell.h b/shared/package-files/8a/8a9b51bb10104a2f0ddd25534102cddda5bee9fd1b6db82086ebcebe65451db8/_thnn_fused_lstm_cell.h new file mode 100644 index 0000000000000000000000000000000000000000..0dda2fecb5f01cbdfb500a8525c03d0797db894f --- /dev/null +++ b/shared/package-files/8a/8a9b51bb10104a2f0ddd25534102cddda5bee9fd1b6db82086ebcebe65451db8/_thnn_fused_lstm_cell.h @@ -0,0 +1,39 @@ +#pragma once + +// @generated by torchgen/gen.py from Function.h + +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include + + + +#include + +namespace at { + + +// aten::_thnn_fused_lstm_cell(Tensor input_gates, Tensor hidden_gates, Tensor cx, Tensor? input_bias=None, Tensor? hidden_bias=None) -> (Tensor, Tensor, Tensor) +inline ::std::tuple _thnn_fused_lstm_cell(const at::Tensor & input_gates, const at::Tensor & hidden_gates, const at::Tensor & cx, const c10::optional & input_bias={}, const c10::optional & hidden_bias={}) { + return at::_ops::_thnn_fused_lstm_cell::call(input_gates, hidden_gates, cx, input_bias, hidden_bias); +} + +// aten::_thnn_fused_lstm_cell.out(Tensor input_gates, Tensor hidden_gates, Tensor cx, Tensor? input_bias=None, Tensor? hidden_bias=None, *, Tensor(a!) out0, Tensor(b!) out1, Tensor(c!) out2) -> (Tensor(a!), Tensor(b!), Tensor(c!)) +inline ::std::tuple _thnn_fused_lstm_cell_out(at::Tensor & out0, at::Tensor & out1, at::Tensor & out2, const at::Tensor & input_gates, const at::Tensor & hidden_gates, const at::Tensor & cx, const c10::optional & input_bias={}, const c10::optional & hidden_bias={}) { + return at::_ops::_thnn_fused_lstm_cell_out::call(input_gates, hidden_gates, cx, input_bias, hidden_bias, out0, out1, out2); +} +// aten::_thnn_fused_lstm_cell.out(Tensor input_gates, Tensor hidden_gates, Tensor cx, Tensor? input_bias=None, Tensor? hidden_bias=None, *, Tensor(a!) out0, Tensor(b!) out1, Tensor(c!) out2) -> (Tensor(a!), Tensor(b!), Tensor(c!)) +inline ::std::tuple _thnn_fused_lstm_cell_outf(const at::Tensor & input_gates, const at::Tensor & hidden_gates, const at::Tensor & cx, const c10::optional & input_bias, const c10::optional & hidden_bias, at::Tensor & out0, at::Tensor & out1, at::Tensor & out2) { + return at::_ops::_thnn_fused_lstm_cell_out::call(input_gates, hidden_gates, cx, input_bias, hidden_bias, out0, out1, out2); +} + +} diff --git a/shared/package-files/8a/8a9da7a895c8271dfc45fb3bddeaa3852734dec66f405b8bc233a928a6ae1444/_foreach_erf_native.h b/shared/package-files/8a/8a9da7a895c8271dfc45fb3bddeaa3852734dec66f405b8bc233a928a6ae1444/_foreach_erf_native.h new file mode 100644 index 0000000000000000000000000000000000000000..3a9aad18502813383630cb11c819f11464f09615 --- /dev/null +++ b/shared/package-files/8a/8a9da7a895c8271dfc45fb3bddeaa3852734dec66f405b8bc233a928a6ae1444/_foreach_erf_native.h @@ -0,0 +1,25 @@ +#pragma once + +// @generated by torchgen/gen.py from NativeFunction.h + +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include + + +namespace at { +namespace native { +TORCH_API void _foreach_erf_out(at::TensorList self, at::TensorList out); +TORCH_API ::std::vector foreach_tensor_erf_slow(at::TensorList self); +TORCH_API void foreach_tensor_erf_slow_(at::TensorList self); +TORCH_API ::std::vector foreach_tensor_erf_cuda(at::TensorList self); +TORCH_API void foreach_tensor_erf_cuda_(at::TensorList self); +} // namespace native +} // namespace at diff --git a/shared/package-files/8a/8a9f1197a95ada1732be8815d4f2228ac90c05d4af7435fd1464380a10e3ca17/test_fixers.py b/shared/package-files/8a/8a9f1197a95ada1732be8815d4f2228ac90c05d4af7435fd1464380a10e3ca17/test_fixers.py new file mode 100644 index 0000000000000000000000000000000000000000..121ebe68e5402ba29b94a2ca122eb272a6cac3e3 --- /dev/null +++ b/shared/package-files/8a/8a9f1197a95ada1732be8815d4f2228ac90c05d4af7435fd1464380a10e3ca17/test_fixers.py @@ -0,0 +1,4649 @@ +""" Test suite for the fixer modules """ + +# Python imports +import os +from itertools import chain +from operator import itemgetter + +# Local imports +from lib2to3 import pygram, fixer_util +from lib2to3.tests import support + + +class FixerTestCase(support.TestCase): + + # Other test cases can subclass this class and replace "fixer_pkg" with + # their own. + def setUp(self, fix_list=None, fixer_pkg="lib2to3", options=None): + if fix_list is None: + fix_list = [self.fixer] + self.refactor = support.get_refactorer(fixer_pkg, fix_list, options) + self.fixer_log = [] + self.filename = "" + + for fixer in chain(self.refactor.pre_order, + self.refactor.post_order): + fixer.log = self.fixer_log + + def _check(self, before, after): + before = support.reformat(before) + after = support.reformat(after) + tree = self.refactor.refactor_string(before, self.filename) + self.assertEqual(after, str(tree)) + return tree + + def check(self, before, after, ignore_warnings=False): + tree = self._check(before, after) + self.assertTrue(tree.was_changed) + if not ignore_warnings: + self.assertEqual(self.fixer_log, []) + + def warns(self, before, after, message, unchanged=False): + tree = self._check(before, after) + self.assertIn(message, "".join(self.fixer_log)) + if not unchanged: + self.assertTrue(tree.was_changed) + + def warns_unchanged(self, before, message): + self.warns(before, before, message, unchanged=True) + + def unchanged(self, before, ignore_warnings=False): + self._check(before, before) + if not ignore_warnings: + self.assertEqual(self.fixer_log, []) + + def assert_runs_after(self, *names): + fixes = [self.fixer] + fixes.extend(names) + r = support.get_refactorer("lib2to3", fixes) + (pre, post) = r.get_fixers() + n = "fix_" + self.fixer + if post and post[-1].__class__.__module__.endswith(n): + # We're the last fixer to run + return + if pre and pre[-1].__class__.__module__.endswith(n) and not post: + # We're the last in pre and post is empty + return + self.fail("Fixer run order (%s) is incorrect; %s should be last."\ + %(", ".join([x.__class__.__module__ for x in (pre+post)]), n)) + +class Test_ne(FixerTestCase): + fixer = "ne" + + def test_basic(self): + b = """if x <> y: + pass""" + + a = """if x != y: + pass""" + self.check(b, a) + + def test_no_spaces(self): + b = """if x<>y: + pass""" + + a = """if x!=y: + pass""" + self.check(b, a) + + def test_chained(self): + b = """if x<>y<>z: + pass""" + + a = """if x!=y!=z: + pass""" + self.check(b, a) + +class Test_has_key(FixerTestCase): + fixer = "has_key" + + def test_1(self): + b = """x = d.has_key("x") or d.has_key("y")""" + a = """x = "x" in d or "y" in d""" + self.check(b, a) + + def test_2(self): + b = """x = a.b.c.d.has_key("x") ** 3""" + a = """x = ("x" in a.b.c.d) ** 3""" + self.check(b, a) + + def test_3(self): + b = """x = a.b.has_key(1 + 2).__repr__()""" + a = """x = (1 + 2 in a.b).__repr__()""" + self.check(b, a) + + def test_4(self): + b = """x = a.b.has_key(1 + 2).__repr__() ** -3 ** 4""" + a = """x = (1 + 2 in a.b).__repr__() ** -3 ** 4""" + self.check(b, a) + + def test_5(self): + b = """x = a.has_key(f or g)""" + a = """x = (f or g) in a""" + self.check(b, a) + + def test_6(self): + b = """x = a + b.has_key(c)""" + a = """x = a + (c in b)""" + self.check(b, a) + + def test_7(self): + b = """x = a.has_key(lambda: 12)""" + a = """x = (lambda: 12) in a""" + self.check(b, a) + + def test_8(self): + b = """x = a.has_key(a for a in b)""" + a = """x = (a for a in b) in a""" + self.check(b, a) + + def test_9(self): + b = """if not a.has_key(b): pass""" + a = """if b not in a: pass""" + self.check(b, a) + + def test_10(self): + b = """if not a.has_key(b).__repr__(): pass""" + a = """if not (b in a).__repr__(): pass""" + self.check(b, a) + + def test_11(self): + b = """if not a.has_key(b) ** 2: pass""" + a = """if not (b in a) ** 2: pass""" + self.check(b, a) + +class Test_apply(FixerTestCase): + fixer = "apply" + + def test_1(self): + b = """x = apply(f, g + h)""" + a = """x = f(*g + h)""" + self.check(b, a) + + def test_2(self): + b = """y = apply(f, g, h)""" + a = """y = f(*g, **h)""" + self.check(b, a) + + def test_3(self): + b = """z = apply(fs[0], g or h, h or g)""" + a = """z = fs[0](*g or h, **h or g)""" + self.check(b, a) + + def test_4(self): + b = """apply(f, (x, y) + t)""" + a = """f(*(x, y) + t)""" + self.check(b, a) + + def test_5(self): + b = """apply(f, args,)""" + a = """f(*args)""" + self.check(b, a) + + def test_6(self): + b = """apply(f, args, kwds,)""" + a = """f(*args, **kwds)""" + self.check(b, a) + + # Test that complex functions are parenthesized + + def test_complex_1(self): + b = """x = apply(f+g, args)""" + a = """x = (f+g)(*args)""" + self.check(b, a) + + def test_complex_2(self): + b = """x = apply(f*g, args)""" + a = """x = (f*g)(*args)""" + self.check(b, a) + + def test_complex_3(self): + b = """x = apply(f**g, args)""" + a = """x = (f**g)(*args)""" + self.check(b, a) + + # But dotted names etc. not + + def test_dotted_name(self): + b = """x = apply(f.g, args)""" + a = """x = f.g(*args)""" + self.check(b, a) + + def test_subscript(self): + b = """x = apply(f[x], args)""" + a = """x = f[x](*args)""" + self.check(b, a) + + def test_call(self): + b = """x = apply(f(), args)""" + a = """x = f()(*args)""" + self.check(b, a) + + # Extreme case + def test_extreme(self): + b = """x = apply(a.b.c.d.e.f, args, kwds)""" + a = """x = a.b.c.d.e.f(*args, **kwds)""" + self.check(b, a) + + # XXX Comments in weird places still get lost + def test_weird_comments(self): + b = """apply( # foo + f, # bar + args)""" + a = """f(*args)""" + self.check(b, a) + + # These should *not* be touched + + def test_unchanged_1(self): + s = """apply()""" + self.unchanged(s) + + def test_unchanged_2(self): + s = """apply(f)""" + self.unchanged(s) + + def test_unchanged_3(self): + s = """apply(f,)""" + self.unchanged(s) + + def test_unchanged_4(self): + s = """apply(f, args, kwds, extras)""" + self.unchanged(s) + + def test_unchanged_5(self): + s = """apply(f, *args, **kwds)""" + self.unchanged(s) + + def test_unchanged_6(self): + s = """apply(f, *args)""" + self.unchanged(s) + + def test_unchanged_6b(self): + s = """apply(f, **kwds)""" + self.unchanged(s) + + def test_unchanged_7(self): + s = """apply(func=f, args=args, kwds=kwds)""" + self.unchanged(s) + + def test_unchanged_8(self): + s = """apply(f, args=args, kwds=kwds)""" + self.unchanged(s) + + def test_unchanged_9(self): + s = """apply(f, args, kwds=kwds)""" + self.unchanged(s) + + def test_space_1(self): + a = """apply( f, args, kwds)""" + b = """f(*args, **kwds)""" + self.check(a, b) + + def test_space_2(self): + a = """apply( f ,args,kwds )""" + b = """f(*args, **kwds)""" + self.check(a, b) + +class Test_reload(FixerTestCase): + fixer = "reload" + + def test(self): + b = """reload(a)""" + a = """import importlib\nimportlib.reload(a)""" + self.check(b, a) + + def test_comment(self): + b = """reload( a ) # comment""" + a = """import importlib\nimportlib.reload( a ) # comment""" + self.check(b, a) + + # PEP 8 comments + b = """reload( a ) # comment""" + a = """import importlib\nimportlib.reload( a ) # comment""" + self.check(b, a) + + def test_space(self): + b = """reload( a )""" + a = """import importlib\nimportlib.reload( a )""" + self.check(b, a) + + b = """reload( a)""" + a = """import importlib\nimportlib.reload( a)""" + self.check(b, a) + + b = """reload(a )""" + a = """import importlib\nimportlib.reload(a )""" + self.check(b, a) + + def test_unchanged(self): + s = """reload(a=1)""" + self.unchanged(s) + + s = """reload(f, g)""" + self.unchanged(s) + + s = """reload(f, *h)""" + self.unchanged(s) + + s = """reload(f, *h, **i)""" + self.unchanged(s) + + s = """reload(f, **i)""" + self.unchanged(s) + + s = """reload(*h, **i)""" + self.unchanged(s) + + s = """reload(*h)""" + self.unchanged(s) + + s = """reload(**i)""" + self.unchanged(s) + + s = """reload()""" + self.unchanged(s) + +class Test_intern(FixerTestCase): + fixer = "intern" + + def test_prefix_preservation(self): + b = """x = intern( a )""" + a = """import sys\nx = sys.intern( a )""" + self.check(b, a) + + b = """y = intern("b" # test + )""" + a = """import sys\ny = sys.intern("b" # test + )""" + self.check(b, a) + + b = """z = intern(a+b+c.d, )""" + a = """import sys\nz = sys.intern(a+b+c.d, )""" + self.check(b, a) + + def test(self): + b = """x = intern(a)""" + a = """import sys\nx = sys.intern(a)""" + self.check(b, a) + + b = """z = intern(a+b+c.d,)""" + a = """import sys\nz = sys.intern(a+b+c.d,)""" + self.check(b, a) + + b = """intern("y%s" % 5).replace("y", "")""" + a = """import sys\nsys.intern("y%s" % 5).replace("y", "")""" + self.check(b, a) + + # These should not be refactored + + def test_unchanged(self): + s = """intern(a=1)""" + self.unchanged(s) + + s = """intern(f, g)""" + self.unchanged(s) + + s = """intern(*h)""" + self.unchanged(s) + + s = """intern(**i)""" + self.unchanged(s) + + s = """intern()""" + self.unchanged(s) + +class Test_reduce(FixerTestCase): + fixer = "reduce" + + def test_simple_call(self): + b = "reduce(a, b, c)" + a = "from functools import reduce\nreduce(a, b, c)" + self.check(b, a) + + def test_bug_7253(self): + # fix_tuple_params was being bad and orphaning nodes in the tree. + b = "def x(arg): reduce(sum, [])" + a = "from functools import reduce\ndef x(arg): reduce(sum, [])" + self.check(b, a) + + def test_call_with_lambda(self): + b = "reduce(lambda x, y: x + y, seq)" + a = "from functools import reduce\nreduce(lambda x, y: x + y, seq)" + self.check(b, a) + + def test_unchanged(self): + s = "reduce(a)" + self.unchanged(s) + + s = "reduce(a, b=42)" + self.unchanged(s) + + s = "reduce(a, b, c, d)" + self.unchanged(s) + + s = "reduce(**c)" + self.unchanged(s) + + s = "reduce()" + self.unchanged(s) + +class Test_print(FixerTestCase): + fixer = "print" + + def test_prefix_preservation(self): + b = """print 1, 1+1, 1+1+1""" + a = """print(1, 1+1, 1+1+1)""" + self.check(b, a) + + def test_idempotency(self): + s = """print()""" + self.unchanged(s) + + s = """print('')""" + self.unchanged(s) + + def test_idempotency_print_as_function(self): + self.refactor.driver.grammar = pygram.python_grammar_no_print_statement + s = """print(1, 1+1, 1+1+1)""" + self.unchanged(s) + + s = """print()""" + self.unchanged(s) + + s = """print('')""" + self.unchanged(s) + + def test_1(self): + b = """print 1, 1+1, 1+1+1""" + a = """print(1, 1+1, 1+1+1)""" + self.check(b, a) + + def test_2(self): + b = """print 1, 2""" + a = """print(1, 2)""" + self.check(b, a) + + def test_3(self): + b = """print""" + a = """print()""" + self.check(b, a) + + def test_4(self): + # from bug 3000 + b = """print whatever; print""" + a = """print(whatever); print()""" + self.check(b, a) + + def test_5(self): + b = """print; print whatever;""" + a = """print(); print(whatever);""" + self.check(b, a) + + def test_tuple(self): + b = """print (a, b, c)""" + a = """print((a, b, c))""" + self.check(b, a) + + # trailing commas + + def test_trailing_comma_1(self): + b = """print 1, 2, 3,""" + a = """print(1, 2, 3, end=' ')""" + self.check(b, a) + + def test_trailing_comma_2(self): + b = """print 1, 2,""" + a = """print(1, 2, end=' ')""" + self.check(b, a) + + def test_trailing_comma_3(self): + b = """print 1,""" + a = """print(1, end=' ')""" + self.check(b, a) + + # >> stuff + + def test_vargs_without_trailing_comma(self): + b = """print >>sys.stderr, 1, 2, 3""" + a = """print(1, 2, 3, file=sys.stderr)""" + self.check(b, a) + + def test_with_trailing_comma(self): + b = """print >>sys.stderr, 1, 2,""" + a = """print(1, 2, end=' ', file=sys.stderr)""" + self.check(b, a) + + def test_no_trailing_comma(self): + b = """print >>sys.stderr, 1+1""" + a = """print(1+1, file=sys.stderr)""" + self.check(b, a) + + def test_spaces_before_file(self): + b = """print >> sys.stderr""" + a = """print(file=sys.stderr)""" + self.check(b, a) + + def test_with_future_print_function(self): + s = "from __future__ import print_function\n" \ + "print('Hai!', end=' ')" + self.unchanged(s) + + b = "print 'Hello, world!'" + a = "print('Hello, world!')" + self.check(b, a) + + +class Test_exec(FixerTestCase): + fixer = "exec" + + def test_prefix_preservation(self): + b = """ exec code in ns1, ns2""" + a = """ exec(code, ns1, ns2)""" + self.check(b, a) + + def test_basic(self): + b = """exec code""" + a = """exec(code)""" + self.check(b, a) + + def test_with_globals(self): + b = """exec code in ns""" + a = """exec(code, ns)""" + self.check(b, a) + + def test_with_globals_locals(self): + b = """exec code in ns1, ns2""" + a = """exec(code, ns1, ns2)""" + self.check(b, a) + + def test_complex_1(self): + b = """exec (a.b()) in ns""" + a = """exec((a.b()), ns)""" + self.check(b, a) + + def test_complex_2(self): + b = """exec a.b() + c in ns""" + a = """exec(a.b() + c, ns)""" + self.check(b, a) + + # These should not be touched + + def test_unchanged_1(self): + s = """exec(code)""" + self.unchanged(s) + + def test_unchanged_2(self): + s = """exec (code)""" + self.unchanged(s) + + def test_unchanged_3(self): + s = """exec(code, ns)""" + self.unchanged(s) + + def test_unchanged_4(self): + s = """exec(code, ns1, ns2)""" + self.unchanged(s) + +class Test_repr(FixerTestCase): + fixer = "repr" + + def test_prefix_preservation(self): + b = """x = `1 + 2`""" + a = """x = repr(1 + 2)""" + self.check(b, a) + + def test_simple_1(self): + b = """x = `1 + 2`""" + a = """x = repr(1 + 2)""" + self.check(b, a) + + def test_simple_2(self): + b = """y = `x`""" + a = """y = repr(x)""" + self.check(b, a) + + def test_complex(self): + b = """z = `y`.__repr__()""" + a = """z = repr(y).__repr__()""" + self.check(b, a) + + def test_tuple(self): + b = """x = `1, 2, 3`""" + a = """x = repr((1, 2, 3))""" + self.check(b, a) + + def test_nested(self): + b = """x = `1 + `2``""" + a = """x = repr(1 + repr(2))""" + self.check(b, a) + + def test_nested_tuples(self): + b = """x = `1, 2 + `3, 4``""" + a = """x = repr((1, 2 + repr((3, 4))))""" + self.check(b, a) + +class Test_except(FixerTestCase): + fixer = "except" + + def test_prefix_preservation(self): + b = """ + try: + pass + except (RuntimeError, ImportError), e: + pass""" + a = """ + try: + pass + except (RuntimeError, ImportError) as e: + pass""" + self.check(b, a) + + def test_simple(self): + b = """ + try: + pass + except Foo, e: + pass""" + a = """ + try: + pass + except Foo as e: + pass""" + self.check(b, a) + + def test_simple_no_space_before_target(self): + b = """ + try: + pass + except Foo,e: + pass""" + a = """ + try: + pass + except Foo as e: + pass""" + self.check(b, a) + + def test_tuple_unpack(self): + b = """ + def foo(): + try: + pass + except Exception, (f, e): + pass + except ImportError, e: + pass""" + + a = """ + def foo(): + try: + pass + except Exception as xxx_todo_changeme: + (f, e) = xxx_todo_changeme.args + pass + except ImportError as e: + pass""" + self.check(b, a) + + def test_multi_class(self): + b = """ + try: + pass + except (RuntimeError, ImportError), e: + pass""" + + a = """ + try: + pass + except (RuntimeError, ImportError) as e: + pass""" + self.check(b, a) + + def test_list_unpack(self): + b = """ + try: + pass + except Exception, [a, b]: + pass""" + + a = """ + try: + pass + except Exception as xxx_todo_changeme: + [a, b] = xxx_todo_changeme.args + pass""" + self.check(b, a) + + def test_weird_target_1(self): + b = """ + try: + pass + except Exception, d[5]: + pass""" + + a = """ + try: + pass + except Exception as xxx_todo_changeme: + d[5] = xxx_todo_changeme + pass""" + self.check(b, a) + + def test_weird_target_2(self): + b = """ + try: + pass + except Exception, a.foo: + pass""" + + a = """ + try: + pass + except Exception as xxx_todo_changeme: + a.foo = xxx_todo_changeme + pass""" + self.check(b, a) + + def test_weird_target_3(self): + b = """ + try: + pass + except Exception, a().foo: + pass""" + + a = """ + try: + pass + except Exception as xxx_todo_changeme: + a().foo = xxx_todo_changeme + pass""" + self.check(b, a) + + def test_bare_except(self): + b = """ + try: + pass + except Exception, a: + pass + except: + pass""" + + a = """ + try: + pass + except Exception as a: + pass + except: + pass""" + self.check(b, a) + + def test_bare_except_and_else_finally(self): + b = """ + try: + pass + except Exception, a: + pass + except: + pass + else: + pass + finally: + pass""" + + a = """ + try: + pass + except Exception as a: + pass + except: + pass + else: + pass + finally: + pass""" + self.check(b, a) + + def test_multi_fixed_excepts_before_bare_except(self): + b = """ + try: + pass + except TypeError, b: + pass + except Exception, a: + pass + except: + pass""" + + a = """ + try: + pass + except TypeError as b: + pass + except Exception as a: + pass + except: + pass""" + self.check(b, a) + + def test_one_line_suites(self): + b = """ + try: raise TypeError + except TypeError, e: + pass + """ + a = """ + try: raise TypeError + except TypeError as e: + pass + """ + self.check(b, a) + b = """ + try: + raise TypeError + except TypeError, e: pass + """ + a = """ + try: + raise TypeError + except TypeError as e: pass + """ + self.check(b, a) + b = """ + try: raise TypeError + except TypeError, e: pass + """ + a = """ + try: raise TypeError + except TypeError as e: pass + """ + self.check(b, a) + b = """ + try: raise TypeError + except TypeError, e: pass + else: function() + finally: done() + """ + a = """ + try: raise TypeError + except TypeError as e: pass + else: function() + finally: done() + """ + self.check(b, a) + + # These should not be touched: + + def test_unchanged_1(self): + s = """ + try: + pass + except: + pass""" + self.unchanged(s) + + def test_unchanged_2(self): + s = """ + try: + pass + except Exception: + pass""" + self.unchanged(s) + + def test_unchanged_3(self): + s = """ + try: + pass + except (Exception, SystemExit): + pass""" + self.unchanged(s) + +class Test_raise(FixerTestCase): + fixer = "raise" + + def test_basic(self): + b = """raise Exception, 5""" + a = """raise Exception(5)""" + self.check(b, a) + + def test_prefix_preservation(self): + b = """raise Exception,5""" + a = """raise Exception(5)""" + self.check(b, a) + + b = """raise Exception, 5""" + a = """raise Exception(5)""" + self.check(b, a) + + def test_with_comments(self): + b = """raise Exception, 5 # foo""" + a = """raise Exception(5) # foo""" + self.check(b, a) + + b = """raise E, (5, 6) % (a, b) # foo""" + a = """raise E((5, 6) % (a, b)) # foo""" + self.check(b, a) + + b = """def foo(): + raise Exception, 5, 6 # foo""" + a = """def foo(): + raise Exception(5).with_traceback(6) # foo""" + self.check(b, a) + + def test_None_value(self): + b = """raise Exception(5), None, tb""" + a = """raise Exception(5).with_traceback(tb)""" + self.check(b, a) + + def test_tuple_value(self): + b = """raise Exception, (5, 6, 7)""" + a = """raise Exception(5, 6, 7)""" + self.check(b, a) + + def test_tuple_detection(self): + b = """raise E, (5, 6) % (a, b)""" + a = """raise E((5, 6) % (a, b))""" + self.check(b, a) + + def test_tuple_exc_1(self): + b = """raise (((E1, E2), E3), E4), V""" + a = """raise E1(V)""" + self.check(b, a) + + def test_tuple_exc_2(self): + b = """raise (E1, (E2, E3), E4), V""" + a = """raise E1(V)""" + self.check(b, a) + + # These should produce a warning + + def test_string_exc(self): + s = """raise 'foo'""" + self.warns_unchanged(s, "Python 3 does not support string exceptions") + + def test_string_exc_val(self): + s = """raise "foo", 5""" + self.warns_unchanged(s, "Python 3 does not support string exceptions") + + def test_string_exc_val_tb(self): + s = """raise "foo", 5, 6""" + self.warns_unchanged(s, "Python 3 does not support string exceptions") + + # These should result in traceback-assignment + + def test_tb_1(self): + b = """def foo(): + raise Exception, 5, 6""" + a = """def foo(): + raise Exception(5).with_traceback(6)""" + self.check(b, a) + + def test_tb_2(self): + b = """def foo(): + a = 5 + raise Exception, 5, 6 + b = 6""" + a = """def foo(): + a = 5 + raise Exception(5).with_traceback(6) + b = 6""" + self.check(b, a) + + def test_tb_3(self): + b = """def foo(): + raise Exception,5,6""" + a = """def foo(): + raise Exception(5).with_traceback(6)""" + self.check(b, a) + + def test_tb_4(self): + b = """def foo(): + a = 5 + raise Exception,5,6 + b = 6""" + a = """def foo(): + a = 5 + raise Exception(5).with_traceback(6) + b = 6""" + self.check(b, a) + + def test_tb_5(self): + b = """def foo(): + raise Exception, (5, 6, 7), 6""" + a = """def foo(): + raise Exception(5, 6, 7).with_traceback(6)""" + self.check(b, a) + + def test_tb_6(self): + b = """def foo(): + a = 5 + raise Exception, (5, 6, 7), 6 + b = 6""" + a = """def foo(): + a = 5 + raise Exception(5, 6, 7).with_traceback(6) + b = 6""" + self.check(b, a) + +class Test_throw(FixerTestCase): + fixer = "throw" + + def test_1(self): + b = """g.throw(Exception, 5)""" + a = """g.throw(Exception(5))""" + self.check(b, a) + + def test_2(self): + b = """g.throw(Exception,5)""" + a = """g.throw(Exception(5))""" + self.check(b, a) + + def test_3(self): + b = """g.throw(Exception, (5, 6, 7))""" + a = """g.throw(Exception(5, 6, 7))""" + self.check(b, a) + + def test_4(self): + b = """5 + g.throw(Exception, 5)""" + a = """5 + g.throw(Exception(5))""" + self.check(b, a) + + # These should produce warnings + + def test_warn_1(self): + s = """g.throw("foo")""" + self.warns_unchanged(s, "Python 3 does not support string exceptions") + + def test_warn_2(self): + s = """g.throw("foo", 5)""" + self.warns_unchanged(s, "Python 3 does not support string exceptions") + + def test_warn_3(self): + s = """g.throw("foo", 5, 6)""" + self.warns_unchanged(s, "Python 3 does not support string exceptions") + + # These should not be touched + + def test_untouched_1(self): + s = """g.throw(Exception)""" + self.unchanged(s) + + def test_untouched_2(self): + s = """g.throw(Exception(5, 6))""" + self.unchanged(s) + + def test_untouched_3(self): + s = """5 + g.throw(Exception(5, 6))""" + self.unchanged(s) + + # These should result in traceback-assignment + + def test_tb_1(self): + b = """def foo(): + g.throw(Exception, 5, 6)""" + a = """def foo(): + g.throw(Exception(5).with_traceback(6))""" + self.check(b, a) + + def test_tb_2(self): + b = """def foo(): + a = 5 + g.throw(Exception, 5, 6) + b = 6""" + a = """def foo(): + a = 5 + g.throw(Exception(5).with_traceback(6)) + b = 6""" + self.check(b, a) + + def test_tb_3(self): + b = """def foo(): + g.throw(Exception,5,6)""" + a = """def foo(): + g.throw(Exception(5).with_traceback(6))""" + self.check(b, a) + + def test_tb_4(self): + b = """def foo(): + a = 5 + g.throw(Exception,5,6) + b = 6""" + a = """def foo(): + a = 5 + g.throw(Exception(5).with_traceback(6)) + b = 6""" + self.check(b, a) + + def test_tb_5(self): + b = """def foo(): + g.throw(Exception, (5, 6, 7), 6)""" + a = """def foo(): + g.throw(Exception(5, 6, 7).with_traceback(6))""" + self.check(b, a) + + def test_tb_6(self): + b = """def foo(): + a = 5 + g.throw(Exception, (5, 6, 7), 6) + b = 6""" + a = """def foo(): + a = 5 + g.throw(Exception(5, 6, 7).with_traceback(6)) + b = 6""" + self.check(b, a) + + def test_tb_7(self): + b = """def foo(): + a + g.throw(Exception, 5, 6)""" + a = """def foo(): + a + g.throw(Exception(5).with_traceback(6))""" + self.check(b, a) + + def test_tb_8(self): + b = """def foo(): + a = 5 + a + g.throw(Exception, 5, 6) + b = 6""" + a = """def foo(): + a = 5 + a + g.throw(Exception(5).with_traceback(6)) + b = 6""" + self.check(b, a) + +class Test_long(FixerTestCase): + fixer = "long" + + def test_1(self): + b = """x = long(x)""" + a = """x = int(x)""" + self.check(b, a) + + def test_2(self): + b = """y = isinstance(x, long)""" + a = """y = isinstance(x, int)""" + self.check(b, a) + + def test_3(self): + b = """z = type(x) in (int, long)""" + a = """z = type(x) in (int, int)""" + self.check(b, a) + + def test_unchanged(self): + s = """long = True""" + self.unchanged(s) + + s = """s.long = True""" + self.unchanged(s) + + s = """def long(): pass""" + self.unchanged(s) + + s = """class long(): pass""" + self.unchanged(s) + + s = """def f(long): pass""" + self.unchanged(s) + + s = """def f(g, long): pass""" + self.unchanged(s) + + s = """def f(x, long=True): pass""" + self.unchanged(s) + + def test_prefix_preservation(self): + b = """x = long( x )""" + a = """x = int( x )""" + self.check(b, a) + + +class Test_execfile(FixerTestCase): + fixer = "execfile" + + def test_conversion(self): + b = """execfile("fn")""" + a = """exec(compile(open("fn", "rb").read(), "fn", 'exec'))""" + self.check(b, a) + + b = """execfile("fn", glob)""" + a = """exec(compile(open("fn", "rb").read(), "fn", 'exec'), glob)""" + self.check(b, a) + + b = """execfile("fn", glob, loc)""" + a = """exec(compile(open("fn", "rb").read(), "fn", 'exec'), glob, loc)""" + self.check(b, a) + + b = """execfile("fn", globals=glob)""" + a = """exec(compile(open("fn", "rb").read(), "fn", 'exec'), globals=glob)""" + self.check(b, a) + + b = """execfile("fn", locals=loc)""" + a = """exec(compile(open("fn", "rb").read(), "fn", 'exec'), locals=loc)""" + self.check(b, a) + + b = """execfile("fn", globals=glob, locals=loc)""" + a = """exec(compile(open("fn", "rb").read(), "fn", 'exec'), globals=glob, locals=loc)""" + self.check(b, a) + + def test_spacing(self): + b = """execfile( "fn" )""" + a = """exec(compile(open( "fn", "rb" ).read(), "fn", 'exec'))""" + self.check(b, a) + + b = """execfile("fn", globals = glob)""" + a = """exec(compile(open("fn", "rb").read(), "fn", 'exec'), globals = glob)""" + self.check(b, a) + + +class Test_isinstance(FixerTestCase): + fixer = "isinstance" + + def test_remove_multiple_items(self): + b = """isinstance(x, (int, int, int))""" + a = """isinstance(x, int)""" + self.check(b, a) + + b = """isinstance(x, (int, float, int, int, float))""" + a = """isinstance(x, (int, float))""" + self.check(b, a) + + b = """isinstance(x, (int, float, int, int, float, str))""" + a = """isinstance(x, (int, float, str))""" + self.check(b, a) + + b = """isinstance(foo() + bar(), (x(), y(), x(), int, int))""" + a = """isinstance(foo() + bar(), (x(), y(), x(), int))""" + self.check(b, a) + + def test_prefix_preservation(self): + b = """if isinstance( foo(), ( bar, bar, baz )) : pass""" + a = """if isinstance( foo(), ( bar, baz )) : pass""" + self.check(b, a) + + def test_unchanged(self): + self.unchanged("isinstance(x, (str, int))") + +class Test_dict(FixerTestCase): + fixer = "dict" + + def test_prefix_preservation(self): + b = "if d. keys ( ) : pass" + a = "if list(d. keys ( )) : pass" + self.check(b, a) + + b = "if d. items ( ) : pass" + a = "if list(d. items ( )) : pass" + self.check(b, a) + + b = "if d. iterkeys ( ) : pass" + a = "if iter(d. keys ( )) : pass" + self.check(b, a) + + b = "[i for i in d. iterkeys( ) ]" + a = "[i for i in d. keys( ) ]" + self.check(b, a) + + b = "if d. viewkeys ( ) : pass" + a = "if d. keys ( ) : pass" + self.check(b, a) + + b = "[i for i in d. viewkeys( ) ]" + a = "[i for i in d. keys( ) ]" + self.check(b, a) + + def test_trailing_comment(self): + b = "d.keys() # foo" + a = "list(d.keys()) # foo" + self.check(b, a) + + b = "d.items() # foo" + a = "list(d.items()) # foo" + self.check(b, a) + + b = "d.iterkeys() # foo" + a = "iter(d.keys()) # foo" + self.check(b, a) + + b = """[i for i in d.iterkeys() # foo + ]""" + a = """[i for i in d.keys() # foo + ]""" + self.check(b, a) + + b = """[i for i in d.iterkeys() # foo + ]""" + a = """[i for i in d.keys() # foo + ]""" + self.check(b, a) + + b = "d.viewitems() # foo" + a = "d.items() # foo" + self.check(b, a) + + def test_unchanged(self): + for wrapper in fixer_util.consuming_calls: + s = "s = %s(d.keys())" % wrapper + self.unchanged(s) + + s = "s = %s(d.values())" % wrapper + self.unchanged(s) + + s = "s = %s(d.items())" % wrapper + self.unchanged(s) + + def test_01(self): + b = "d.keys()" + a = "list(d.keys())" + self.check(b, a) + + b = "a[0].foo().keys()" + a = "list(a[0].foo().keys())" + self.check(b, a) + + def test_02(self): + b = "d.items()" + a = "list(d.items())" + self.check(b, a) + + def test_03(self): + b = "d.values()" + a = "list(d.values())" + self.check(b, a) + + def test_04(self): + b = "d.iterkeys()" + a = "iter(d.keys())" + self.check(b, a) + + def test_05(self): + b = "d.iteritems()" + a = "iter(d.items())" + self.check(b, a) + + def test_06(self): + b = "d.itervalues()" + a = "iter(d.values())" + self.check(b, a) + + def test_07(self): + s = "list(d.keys())" + self.unchanged(s) + + def test_08(self): + s = "sorted(d.keys())" + self.unchanged(s) + + def test_09(self): + b = "iter(d.keys())" + a = "iter(list(d.keys()))" + self.check(b, a) + + def test_10(self): + b = "foo(d.keys())" + a = "foo(list(d.keys()))" + self.check(b, a) + + def test_11(self): + b = "for i in d.keys(): print i" + a = "for i in list(d.keys()): print i" + self.check(b, a) + + def test_12(self): + b = "for i in d.iterkeys(): print i" + a = "for i in d.keys(): print i" + self.check(b, a) + + def test_13(self): + b = "[i for i in d.keys()]" + a = "[i for i in list(d.keys())]" + self.check(b, a) + + def test_14(self): + b = "[i for i in d.iterkeys()]" + a = "[i for i in d.keys()]" + self.check(b, a) + + def test_15(self): + b = "(i for i in d.keys())" + a = "(i for i in list(d.keys()))" + self.check(b, a) + + def test_16(self): + b = "(i for i in d.iterkeys())" + a = "(i for i in d.keys())" + self.check(b, a) + + def test_17(self): + b = "iter(d.iterkeys())" + a = "iter(d.keys())" + self.check(b, a) + + def test_18(self): + b = "list(d.iterkeys())" + a = "list(d.keys())" + self.check(b, a) + + def test_19(self): + b = "sorted(d.iterkeys())" + a = "sorted(d.keys())" + self.check(b, a) + + def test_20(self): + b = "foo(d.iterkeys())" + a = "foo(iter(d.keys()))" + self.check(b, a) + + def test_21(self): + b = "print h.iterkeys().next()" + a = "print iter(h.keys()).next()" + self.check(b, a) + + def test_22(self): + b = "print h.keys()[0]" + a = "print list(h.keys())[0]" + self.check(b, a) + + def test_23(self): + b = "print list(h.iterkeys().next())" + a = "print list(iter(h.keys()).next())" + self.check(b, a) + + def test_24(self): + b = "for x in h.keys()[0]: print x" + a = "for x in list(h.keys())[0]: print x" + self.check(b, a) + + def test_25(self): + b = "d.viewkeys()" + a = "d.keys()" + self.check(b, a) + + def test_26(self): + b = "d.viewitems()" + a = "d.items()" + self.check(b, a) + + def test_27(self): + b = "d.viewvalues()" + a = "d.values()" + self.check(b, a) + + def test_28(self): + b = "[i for i in d.viewkeys()]" + a = "[i for i in d.keys()]" + self.check(b, a) + + def test_29(self): + b = "(i for i in d.viewkeys())" + a = "(i for i in d.keys())" + self.check(b, a) + + def test_30(self): + b = "iter(d.viewkeys())" + a = "iter(d.keys())" + self.check(b, a) + + def test_31(self): + b = "list(d.viewkeys())" + a = "list(d.keys())" + self.check(b, a) + + def test_32(self): + b = "sorted(d.viewkeys())" + a = "sorted(d.keys())" + self.check(b, a) + +class Test_xrange(FixerTestCase): + fixer = "xrange" + + def test_prefix_preservation(self): + b = """x = xrange( 10 )""" + a = """x = range( 10 )""" + self.check(b, a) + + b = """x = xrange( 1 , 10 )""" + a = """x = range( 1 , 10 )""" + self.check(b, a) + + b = """x = xrange( 0 , 10 , 2 )""" + a = """x = range( 0 , 10 , 2 )""" + self.check(b, a) + + def test_single_arg(self): + b = """x = xrange(10)""" + a = """x = range(10)""" + self.check(b, a) + + def test_two_args(self): + b = """x = xrange(1, 10)""" + a = """x = range(1, 10)""" + self.check(b, a) + + def test_three_args(self): + b = """x = xrange(0, 10, 2)""" + a = """x = range(0, 10, 2)""" + self.check(b, a) + + def test_wrap_in_list(self): + b = """x = range(10, 3, 9)""" + a = """x = list(range(10, 3, 9))""" + self.check(b, a) + + b = """x = foo(range(10, 3, 9))""" + a = """x = foo(list(range(10, 3, 9)))""" + self.check(b, a) + + b = """x = range(10, 3, 9) + [4]""" + a = """x = list(range(10, 3, 9)) + [4]""" + self.check(b, a) + + b = """x = range(10)[::-1]""" + a = """x = list(range(10))[::-1]""" + self.check(b, a) + + b = """x = range(10) [3]""" + a = """x = list(range(10)) [3]""" + self.check(b, a) + + def test_xrange_in_for(self): + b = """for i in xrange(10):\n j=i""" + a = """for i in range(10):\n j=i""" + self.check(b, a) + + b = """[i for i in xrange(10)]""" + a = """[i for i in range(10)]""" + self.check(b, a) + + def test_range_in_for(self): + self.unchanged("for i in range(10): pass") + self.unchanged("[i for i in range(10)]") + + def test_in_contains_test(self): + self.unchanged("x in range(10, 3, 9)") + + def test_in_consuming_context(self): + for call in fixer_util.consuming_calls: + self.unchanged("a = %s(range(10))" % call) + +class Test_xrange_with_reduce(FixerTestCase): + + def setUp(self): + super(Test_xrange_with_reduce, self).setUp(["xrange", "reduce"]) + + def test_double_transform(self): + b = """reduce(x, xrange(5))""" + a = """from functools import reduce +reduce(x, range(5))""" + self.check(b, a) + +class Test_raw_input(FixerTestCase): + fixer = "raw_input" + + def test_prefix_preservation(self): + b = """x = raw_input( )""" + a = """x = input( )""" + self.check(b, a) + + b = """x = raw_input( '' )""" + a = """x = input( '' )""" + self.check(b, a) + + def test_1(self): + b = """x = raw_input()""" + a = """x = input()""" + self.check(b, a) + + def test_2(self): + b = """x = raw_input('')""" + a = """x = input('')""" + self.check(b, a) + + def test_3(self): + b = """x = raw_input('prompt')""" + a = """x = input('prompt')""" + self.check(b, a) + + def test_4(self): + b = """x = raw_input(foo(a) + 6)""" + a = """x = input(foo(a) + 6)""" + self.check(b, a) + + def test_5(self): + b = """x = raw_input(invite).split()""" + a = """x = input(invite).split()""" + self.check(b, a) + + def test_6(self): + b = """x = raw_input(invite) . split ()""" + a = """x = input(invite) . split ()""" + self.check(b, a) + + def test_8(self): + b = "x = int(raw_input())" + a = "x = int(input())" + self.check(b, a) + +class Test_funcattrs(FixerTestCase): + fixer = "funcattrs" + + attrs = ["closure", "doc", "name", "defaults", "code", "globals", "dict"] + + def test(self): + for attr in self.attrs: + b = "a.func_%s" % attr + a = "a.__%s__" % attr + self.check(b, a) + + b = "self.foo.func_%s.foo_bar" % attr + a = "self.foo.__%s__.foo_bar" % attr + self.check(b, a) + + def test_unchanged(self): + for attr in self.attrs: + s = "foo(func_%s + 5)" % attr + self.unchanged(s) + + s = "f(foo.__%s__)" % attr + self.unchanged(s) + + s = "f(foo.__%s__.foo)" % attr + self.unchanged(s) + +class Test_xreadlines(FixerTestCase): + fixer = "xreadlines" + + def test_call(self): + b = "for x in f.xreadlines(): pass" + a = "for x in f: pass" + self.check(b, a) + + b = "for x in foo().xreadlines(): pass" + a = "for x in foo(): pass" + self.check(b, a) + + b = "for x in (5 + foo()).xreadlines(): pass" + a = "for x in (5 + foo()): pass" + self.check(b, a) + + def test_attr_ref(self): + b = "foo(f.xreadlines + 5)" + a = "foo(f.__iter__ + 5)" + self.check(b, a) + + b = "foo(f().xreadlines + 5)" + a = "foo(f().__iter__ + 5)" + self.check(b, a) + + b = "foo((5 + f()).xreadlines + 5)" + a = "foo((5 + f()).__iter__ + 5)" + self.check(b, a) + + def test_unchanged(self): + s = "for x in f.xreadlines(5): pass" + self.unchanged(s) + + s = "for x in f.xreadlines(k=5): pass" + self.unchanged(s) + + s = "for x in f.xreadlines(*k, **v): pass" + self.unchanged(s) + + s = "foo(xreadlines)" + self.unchanged(s) + + +class ImportsFixerTests: + + def test_import_module(self): + for old, new in self.modules.items(): + b = "import %s" % old + a = "import %s" % new + self.check(b, a) + + b = "import foo, %s, bar" % old + a = "import foo, %s, bar" % new + self.check(b, a) + + def test_import_from(self): + for old, new in self.modules.items(): + b = "from %s import foo" % old + a = "from %s import foo" % new + self.check(b, a) + + b = "from %s import foo, bar" % old + a = "from %s import foo, bar" % new + self.check(b, a) + + b = "from %s import (yes, no)" % old + a = "from %s import (yes, no)" % new + self.check(b, a) + + def test_import_module_as(self): + for old, new in self.modules.items(): + b = "import %s as foo_bar" % old + a = "import %s as foo_bar" % new + self.check(b, a) + + b = "import %s as foo_bar" % old + a = "import %s as foo_bar" % new + self.check(b, a) + + def test_import_from_as(self): + for old, new in self.modules.items(): + b = "from %s import foo as bar" % old + a = "from %s import foo as bar" % new + self.check(b, a) + + def test_star(self): + for old, new in self.modules.items(): + b = "from %s import *" % old + a = "from %s import *" % new + self.check(b, a) + + def test_import_module_usage(self): + for old, new in self.modules.items(): + b = """ + import %s + foo(%s.bar) + """ % (old, old) + a = """ + import %s + foo(%s.bar) + """ % (new, new) + self.check(b, a) + + b = """ + from %s import x + %s = 23 + """ % (old, old) + a = """ + from %s import x + %s = 23 + """ % (new, old) + self.check(b, a) + + s = """ + def f(): + %s.method() + """ % (old,) + self.unchanged(s) + + # test nested usage + b = """ + import %s + %s.bar(%s.foo) + """ % (old, old, old) + a = """ + import %s + %s.bar(%s.foo) + """ % (new, new, new) + self.check(b, a) + + b = """ + import %s + x.%s + """ % (old, old) + a = """ + import %s + x.%s + """ % (new, old) + self.check(b, a) + + +class Test_imports(FixerTestCase, ImportsFixerTests): + fixer = "imports" + from ..fixes.fix_imports import MAPPING as modules + + def test_multiple_imports(self): + b = """import urlparse, cStringIO""" + a = """import urllib.parse, io""" + self.check(b, a) + + def test_multiple_imports_as(self): + b = """ + import copy_reg as bar, HTMLParser as foo, urlparse + s = urlparse.spam(bar.foo()) + """ + a = """ + import copyreg as bar, html.parser as foo, urllib.parse + s = urllib.parse.spam(bar.foo()) + """ + self.check(b, a) + + +class Test_imports2(FixerTestCase, ImportsFixerTests): + fixer = "imports2" + from ..fixes.fix_imports2 import MAPPING as modules + + +class Test_imports_fixer_order(FixerTestCase, ImportsFixerTests): + + def setUp(self): + super(Test_imports_fixer_order, self).setUp(['imports', 'imports2']) + from ..fixes.fix_imports2 import MAPPING as mapping2 + self.modules = mapping2.copy() + from ..fixes.fix_imports import MAPPING as mapping1 + for key in ('dbhash', 'dumbdbm', 'dbm', 'gdbm'): + self.modules[key] = mapping1[key] + + def test_after_local_imports_refactoring(self): + for fix in ("imports", "imports2"): + self.fixer = fix + self.assert_runs_after("import") + + +class Test_urllib(FixerTestCase): + fixer = "urllib" + from ..fixes.fix_urllib import MAPPING as modules + + def test_import_module(self): + for old, changes in self.modules.items(): + b = "import %s" % old + a = "import %s" % ", ".join(map(itemgetter(0), changes)) + self.check(b, a) + + def test_import_from(self): + for old, changes in self.modules.items(): + all_members = [] + for new, members in changes: + for member in members: + all_members.append(member) + b = "from %s import %s" % (old, member) + a = "from %s import %s" % (new, member) + self.check(b, a) + + s = "from foo import %s" % member + self.unchanged(s) + + b = "from %s import %s" % (old, ", ".join(members)) + a = "from %s import %s" % (new, ", ".join(members)) + self.check(b, a) + + s = "from foo import %s" % ", ".join(members) + self.unchanged(s) + + # test the breaking of a module into multiple replacements + b = "from %s import %s" % (old, ", ".join(all_members)) + a = "\n".join(["from %s import %s" % (new, ", ".join(members)) + for (new, members) in changes]) + self.check(b, a) + + def test_import_module_as(self): + for old in self.modules: + s = "import %s as foo" % old + self.warns_unchanged(s, "This module is now multiple modules") + + def test_import_from_as(self): + for old, changes in self.modules.items(): + for new, members in changes: + for member in members: + b = "from %s import %s as foo_bar" % (old, member) + a = "from %s import %s as foo_bar" % (new, member) + self.check(b, a) + b = "from %s import %s as blah, %s" % (old, member, member) + a = "from %s import %s as blah, %s" % (new, member, member) + self.check(b, a) + + def test_star(self): + for old in self.modules: + s = "from %s import *" % old + self.warns_unchanged(s, "Cannot handle star imports") + + def test_indented(self): + b = """ +def foo(): + from urllib import urlencode, urlopen +""" + a = """ +def foo(): + from urllib.parse import urlencode + from urllib.request import urlopen +""" + self.check(b, a) + + b = """ +def foo(): + other() + from urllib import urlencode, urlopen +""" + a = """ +def foo(): + other() + from urllib.parse import urlencode + from urllib.request import urlopen +""" + self.check(b, a) + + def test_single_import(self): + b = "from urllib import getproxies" + a = "from urllib.request import getproxies" + + self.check(b, a) + + def test_import_module_usage(self): + for old, changes in self.modules.items(): + for new, members in changes: + for member in members: + new_import = ", ".join([n for (n, mems) + in self.modules[old]]) + b = """ + import %s + foo(%s.%s) + """ % (old, old, member) + a = """ + import %s + foo(%s.%s) + """ % (new_import, new, member) + self.check(b, a) + b = """ + import %s + %s.%s(%s.%s) + """ % (old, old, member, old, member) + a = """ + import %s + %s.%s(%s.%s) + """ % (new_import, new, member, new, member) + self.check(b, a) + + +class Test_input(FixerTestCase): + fixer = "input" + + def test_prefix_preservation(self): + b = """x = input( )""" + a = """x = eval(input( ))""" + self.check(b, a) + + b = """x = input( '' )""" + a = """x = eval(input( '' ))""" + self.check(b, a) + + def test_trailing_comment(self): + b = """x = input() # foo""" + a = """x = eval(input()) # foo""" + self.check(b, a) + + def test_idempotency(self): + s = """x = eval(input())""" + self.unchanged(s) + + s = """x = eval(input(''))""" + self.unchanged(s) + + s = """x = eval(input(foo(5) + 9))""" + self.unchanged(s) + + def test_1(self): + b = """x = input()""" + a = """x = eval(input())""" + self.check(b, a) + + def test_2(self): + b = """x = input('')""" + a = """x = eval(input(''))""" + self.check(b, a) + + def test_3(self): + b = """x = input('prompt')""" + a = """x = eval(input('prompt'))""" + self.check(b, a) + + def test_4(self): + b = """x = input(foo(5) + 9)""" + a = """x = eval(input(foo(5) + 9))""" + self.check(b, a) + +class Test_tuple_params(FixerTestCase): + fixer = "tuple_params" + + def test_unchanged_1(self): + s = """def foo(): pass""" + self.unchanged(s) + + def test_unchanged_2(self): + s = """def foo(a, b, c): pass""" + self.unchanged(s) + + def test_unchanged_3(self): + s = """def foo(a=3, b=4, c=5): pass""" + self.unchanged(s) + + def test_1(self): + b = """ + def foo(((a, b), c)): + x = 5""" + + a = """ + def foo(xxx_todo_changeme): + ((a, b), c) = xxx_todo_changeme + x = 5""" + self.check(b, a) + + def test_2(self): + b = """ + def foo(((a, b), c), d): + x = 5""" + + a = """ + def foo(xxx_todo_changeme, d): + ((a, b), c) = xxx_todo_changeme + x = 5""" + self.check(b, a) + + def test_3(self): + b = """ + def foo(((a, b), c), d) -> e: + x = 5""" + + a = """ + def foo(xxx_todo_changeme, d) -> e: + ((a, b), c) = xxx_todo_changeme + x = 5""" + self.check(b, a) + + def test_semicolon(self): + b = """ + def foo(((a, b), c)): x = 5; y = 7""" + + a = """ + def foo(xxx_todo_changeme): ((a, b), c) = xxx_todo_changeme; x = 5; y = 7""" + self.check(b, a) + + def test_keywords(self): + b = """ + def foo(((a, b), c), d, e=5) -> z: + x = 5""" + + a = """ + def foo(xxx_todo_changeme, d, e=5) -> z: + ((a, b), c) = xxx_todo_changeme + x = 5""" + self.check(b, a) + + def test_varargs(self): + b = """ + def foo(((a, b), c), d, *vargs, **kwargs) -> z: + x = 5""" + + a = """ + def foo(xxx_todo_changeme, d, *vargs, **kwargs) -> z: + ((a, b), c) = xxx_todo_changeme + x = 5""" + self.check(b, a) + + def test_multi_1(self): + b = """ + def foo(((a, b), c), (d, e, f)) -> z: + x = 5""" + + a = """ + def foo(xxx_todo_changeme, xxx_todo_changeme1) -> z: + ((a, b), c) = xxx_todo_changeme + (d, e, f) = xxx_todo_changeme1 + x = 5""" + self.check(b, a) + + def test_multi_2(self): + b = """ + def foo(x, ((a, b), c), d, (e, f, g), y) -> z: + x = 5""" + + a = """ + def foo(x, xxx_todo_changeme, d, xxx_todo_changeme1, y) -> z: + ((a, b), c) = xxx_todo_changeme + (e, f, g) = xxx_todo_changeme1 + x = 5""" + self.check(b, a) + + def test_docstring(self): + b = """ + def foo(((a, b), c), (d, e, f)) -> z: + "foo foo foo foo" + x = 5""" + + a = """ + def foo(xxx_todo_changeme, xxx_todo_changeme1) -> z: + "foo foo foo foo" + ((a, b), c) = xxx_todo_changeme + (d, e, f) = xxx_todo_changeme1 + x = 5""" + self.check(b, a) + + def test_lambda_no_change(self): + s = """lambda x: x + 5""" + self.unchanged(s) + + def test_lambda_parens_single_arg(self): + b = """lambda (x): x + 5""" + a = """lambda x: x + 5""" + self.check(b, a) + + b = """lambda(x): x + 5""" + a = """lambda x: x + 5""" + self.check(b, a) + + b = """lambda ((((x)))): x + 5""" + a = """lambda x: x + 5""" + self.check(b, a) + + b = """lambda((((x)))): x + 5""" + a = """lambda x: x + 5""" + self.check(b, a) + + def test_lambda_simple(self): + b = """lambda (x, y): x + f(y)""" + a = """lambda x_y: x_y[0] + f(x_y[1])""" + self.check(b, a) + + b = """lambda(x, y): x + f(y)""" + a = """lambda x_y: x_y[0] + f(x_y[1])""" + self.check(b, a) + + b = """lambda (((x, y))): x + f(y)""" + a = """lambda x_y: x_y[0] + f(x_y[1])""" + self.check(b, a) + + b = """lambda(((x, y))): x + f(y)""" + a = """lambda x_y: x_y[0] + f(x_y[1])""" + self.check(b, a) + + def test_lambda_one_tuple(self): + b = """lambda (x,): x + f(x)""" + a = """lambda x1: x1[0] + f(x1[0])""" + self.check(b, a) + + b = """lambda (((x,))): x + f(x)""" + a = """lambda x1: x1[0] + f(x1[0])""" + self.check(b, a) + + def test_lambda_simple_multi_use(self): + b = """lambda (x, y): x + x + f(x) + x""" + a = """lambda x_y: x_y[0] + x_y[0] + f(x_y[0]) + x_y[0]""" + self.check(b, a) + + def test_lambda_simple_reverse(self): + b = """lambda (x, y): y + x""" + a = """lambda x_y: x_y[1] + x_y[0]""" + self.check(b, a) + + def test_lambda_nested(self): + b = """lambda (x, (y, z)): x + y + z""" + a = """lambda x_y_z: x_y_z[0] + x_y_z[1][0] + x_y_z[1][1]""" + self.check(b, a) + + b = """lambda (((x, (y, z)))): x + y + z""" + a = """lambda x_y_z: x_y_z[0] + x_y_z[1][0] + x_y_z[1][1]""" + self.check(b, a) + + def test_lambda_nested_multi_use(self): + b = """lambda (x, (y, z)): x + y + f(y)""" + a = """lambda x_y_z: x_y_z[0] + x_y_z[1][0] + f(x_y_z[1][0])""" + self.check(b, a) + +class Test_methodattrs(FixerTestCase): + fixer = "methodattrs" + + attrs = ["func", "self", "class"] + + def test(self): + for attr in self.attrs: + b = "a.im_%s" % attr + if attr == "class": + a = "a.__self__.__class__" + else: + a = "a.__%s__" % attr + self.check(b, a) + + b = "self.foo.im_%s.foo_bar" % attr + if attr == "class": + a = "self.foo.__self__.__class__.foo_bar" + else: + a = "self.foo.__%s__.foo_bar" % attr + self.check(b, a) + + def test_unchanged(self): + for attr in self.attrs: + s = "foo(im_%s + 5)" % attr + self.unchanged(s) + + s = "f(foo.__%s__)" % attr + self.unchanged(s) + + s = "f(foo.__%s__.foo)" % attr + self.unchanged(s) + +class Test_next(FixerTestCase): + fixer = "next" + + def test_1(self): + b = """it.next()""" + a = """next(it)""" + self.check(b, a) + + def test_2(self): + b = """a.b.c.d.next()""" + a = """next(a.b.c.d)""" + self.check(b, a) + + def test_3(self): + b = """(a + b).next()""" + a = """next((a + b))""" + self.check(b, a) + + def test_4(self): + b = """a().next()""" + a = """next(a())""" + self.check(b, a) + + def test_5(self): + b = """a().next() + b""" + a = """next(a()) + b""" + self.check(b, a) + + def test_6(self): + b = """c( a().next() + b)""" + a = """c( next(a()) + b)""" + self.check(b, a) + + def test_prefix_preservation_1(self): + b = """ + for a in b: + foo(a) + a.next() + """ + a = """ + for a in b: + foo(a) + next(a) + """ + self.check(b, a) + + def test_prefix_preservation_2(self): + b = """ + for a in b: + foo(a) # abc + # def + a.next() + """ + a = """ + for a in b: + foo(a) # abc + # def + next(a) + """ + self.check(b, a) + + def test_prefix_preservation_3(self): + b = """ + next = 5 + for a in b: + foo(a) + a.next() + """ + a = """ + next = 5 + for a in b: + foo(a) + a.__next__() + """ + self.check(b, a, ignore_warnings=True) + + def test_prefix_preservation_4(self): + b = """ + next = 5 + for a in b: + foo(a) # abc + # def + a.next() + """ + a = """ + next = 5 + for a in b: + foo(a) # abc + # def + a.__next__() + """ + self.check(b, a, ignore_warnings=True) + + def test_prefix_preservation_5(self): + b = """ + next = 5 + for a in b: + foo(foo(a), # abc + a.next()) + """ + a = """ + next = 5 + for a in b: + foo(foo(a), # abc + a.__next__()) + """ + self.check(b, a, ignore_warnings=True) + + def test_prefix_preservation_6(self): + b = """ + for a in b: + foo(foo(a), # abc + a.next()) + """ + a = """ + for a in b: + foo(foo(a), # abc + next(a)) + """ + self.check(b, a) + + def test_method_1(self): + b = """ + class A: + def next(self): + pass + """ + a = """ + class A: + def __next__(self): + pass + """ + self.check(b, a) + + def test_method_2(self): + b = """ + class A(object): + def next(self): + pass + """ + a = """ + class A(object): + def __next__(self): + pass + """ + self.check(b, a) + + def test_method_3(self): + b = """ + class A: + def next(x): + pass + """ + a = """ + class A: + def __next__(x): + pass + """ + self.check(b, a) + + def test_method_4(self): + b = """ + class A: + def __init__(self, foo): + self.foo = foo + + def next(self): + pass + + def __iter__(self): + return self + """ + a = """ + class A: + def __init__(self, foo): + self.foo = foo + + def __next__(self): + pass + + def __iter__(self): + return self + """ + self.check(b, a) + + def test_method_unchanged(self): + s = """ + class A: + def next(self, a, b): + pass + """ + self.unchanged(s) + + def test_shadowing_assign_simple(self): + s = """ + next = foo + + class A: + def next(self, a, b): + pass + """ + self.warns_unchanged(s, "Calls to builtin next() possibly shadowed") + + def test_shadowing_assign_tuple_1(self): + s = """ + (next, a) = foo + + class A: + def next(self, a, b): + pass + """ + self.warns_unchanged(s, "Calls to builtin next() possibly shadowed") + + def test_shadowing_assign_tuple_2(self): + s = """ + (a, (b, (next, c)), a) = foo + + class A: + def next(self, a, b): + pass + """ + self.warns_unchanged(s, "Calls to builtin next() possibly shadowed") + + def test_shadowing_assign_list_1(self): + s = """ + [next, a] = foo + + class A: + def next(self, a, b): + pass + """ + self.warns_unchanged(s, "Calls to builtin next() possibly shadowed") + + def test_shadowing_assign_list_2(self): + s = """ + [a, [b, [next, c]], a] = foo + + class A: + def next(self, a, b): + pass + """ + self.warns_unchanged(s, "Calls to builtin next() possibly shadowed") + + def test_builtin_assign(self): + s = """ + def foo(): + __builtin__.next = foo + + class A: + def next(self, a, b): + pass + """ + self.warns_unchanged(s, "Calls to builtin next() possibly shadowed") + + def test_builtin_assign_in_tuple(self): + s = """ + def foo(): + (a, __builtin__.next) = foo + + class A: + def next(self, a, b): + pass + """ + self.warns_unchanged(s, "Calls to builtin next() possibly shadowed") + + def test_builtin_assign_in_list(self): + s = """ + def foo(): + [a, __builtin__.next] = foo + + class A: + def next(self, a, b): + pass + """ + self.warns_unchanged(s, "Calls to builtin next() possibly shadowed") + + def test_assign_to_next(self): + s = """ + def foo(): + A.next = foo + + class A: + def next(self, a, b): + pass + """ + self.unchanged(s) + + def test_assign_to_next_in_tuple(self): + s = """ + def foo(): + (a, A.next) = foo + + class A: + def next(self, a, b): + pass + """ + self.unchanged(s) + + def test_assign_to_next_in_list(self): + s = """ + def foo(): + [a, A.next] = foo + + class A: + def next(self, a, b): + pass + """ + self.unchanged(s) + + def test_shadowing_import_1(self): + s = """ + import foo.bar as next + + class A: + def next(self, a, b): + pass + """ + self.warns_unchanged(s, "Calls to builtin next() possibly shadowed") + + def test_shadowing_import_2(self): + s = """ + import bar, bar.foo as next + + class A: + def next(self, a, b): + pass + """ + self.warns_unchanged(s, "Calls to builtin next() possibly shadowed") + + def test_shadowing_import_3(self): + s = """ + import bar, bar.foo as next, baz + + class A: + def next(self, a, b): + pass + """ + self.warns_unchanged(s, "Calls to builtin next() possibly shadowed") + + def test_shadowing_import_from_1(self): + s = """ + from x import next + + class A: + def next(self, a, b): + pass + """ + self.warns_unchanged(s, "Calls to builtin next() possibly shadowed") + + def test_shadowing_import_from_2(self): + s = """ + from x.a import next + + class A: + def next(self, a, b): + pass + """ + self.warns_unchanged(s, "Calls to builtin next() possibly shadowed") + + def test_shadowing_import_from_3(self): + s = """ + from x import a, next, b + + class A: + def next(self, a, b): + pass + """ + self.warns_unchanged(s, "Calls to builtin next() possibly shadowed") + + def test_shadowing_import_from_4(self): + s = """ + from x.a import a, next, b + + class A: + def next(self, a, b): + pass + """ + self.warns_unchanged(s, "Calls to builtin next() possibly shadowed") + + def test_shadowing_funcdef_1(self): + s = """ + def next(a): + pass + + class A: + def next(self, a, b): + pass + """ + self.warns_unchanged(s, "Calls to builtin next() possibly shadowed") + + def test_shadowing_funcdef_2(self): + b = """ + def next(a): + pass + + class A: + def next(self): + pass + + it.next() + """ + a = """ + def next(a): + pass + + class A: + def __next__(self): + pass + + it.__next__() + """ + self.warns(b, a, "Calls to builtin next() possibly shadowed") + + def test_shadowing_global_1(self): + s = """ + def f(): + global next + next = 5 + """ + self.warns_unchanged(s, "Calls to builtin next() possibly shadowed") + + def test_shadowing_global_2(self): + s = """ + def f(): + global a, next, b + next = 5 + """ + self.warns_unchanged(s, "Calls to builtin next() possibly shadowed") + + def test_shadowing_for_simple(self): + s = """ + for next in it(): + pass + + b = 5 + c = 6 + """ + self.warns_unchanged(s, "Calls to builtin next() possibly shadowed") + + def test_shadowing_for_tuple_1(self): + s = """ + for next, b in it(): + pass + + b = 5 + c = 6 + """ + self.warns_unchanged(s, "Calls to builtin next() possibly shadowed") + + def test_shadowing_for_tuple_2(self): + s = """ + for a, (next, c), b in it(): + pass + + b = 5 + c = 6 + """ + self.warns_unchanged(s, "Calls to builtin next() possibly shadowed") + + def test_noncall_access_1(self): + b = """gnext = g.next""" + a = """gnext = g.__next__""" + self.check(b, a) + + def test_noncall_access_2(self): + b = """f(g.next + 5)""" + a = """f(g.__next__ + 5)""" + self.check(b, a) + + def test_noncall_access_3(self): + b = """f(g().next + 5)""" + a = """f(g().__next__ + 5)""" + self.check(b, a) + +class Test_nonzero(FixerTestCase): + fixer = "nonzero" + + def test_1(self): + b = """ + class A: + def __nonzero__(self): + pass + """ + a = """ + class A: + def __bool__(self): + pass + """ + self.check(b, a) + + def test_2(self): + b = """ + class A(object): + def __nonzero__(self): + pass + """ + a = """ + class A(object): + def __bool__(self): + pass + """ + self.check(b, a) + + def test_unchanged_1(self): + s = """ + class A(object): + def __bool__(self): + pass + """ + self.unchanged(s) + + def test_unchanged_2(self): + s = """ + class A(object): + def __nonzero__(self, a): + pass + """ + self.unchanged(s) + + def test_unchanged_func(self): + s = """ + def __nonzero__(self): + pass + """ + self.unchanged(s) + +class Test_numliterals(FixerTestCase): + fixer = "numliterals" + + def test_octal_1(self): + b = """0755""" + a = """0o755""" + self.check(b, a) + + def test_long_int_1(self): + b = """a = 12L""" + a = """a = 12""" + self.check(b, a) + + def test_long_int_2(self): + b = """a = 12l""" + a = """a = 12""" + self.check(b, a) + + def test_long_hex(self): + b = """b = 0x12l""" + a = """b = 0x12""" + self.check(b, a) + + def test_comments_and_spacing(self): + b = """b = 0x12L""" + a = """b = 0x12""" + self.check(b, a) + + b = """b = 0755 # spam""" + a = """b = 0o755 # spam""" + self.check(b, a) + + def test_unchanged_int(self): + s = """5""" + self.unchanged(s) + + def test_unchanged_float(self): + s = """5.0""" + self.unchanged(s) + + def test_unchanged_octal(self): + s = """0o755""" + self.unchanged(s) + + def test_unchanged_hex(self): + s = """0xABC""" + self.unchanged(s) + + def test_unchanged_exp(self): + s = """5.0e10""" + self.unchanged(s) + + def test_unchanged_complex_int(self): + s = """5 + 4j""" + self.unchanged(s) + + def test_unchanged_complex_float(self): + s = """5.4 + 4.9j""" + self.unchanged(s) + + def test_unchanged_complex_bare(self): + s = """4j""" + self.unchanged(s) + s = """4.4j""" + self.unchanged(s) + +class Test_renames(FixerTestCase): + fixer = "renames" + + modules = {"sys": ("maxint", "maxsize"), + } + + def test_import_from(self): + for mod, (old, new) in list(self.modules.items()): + b = "from %s import %s" % (mod, old) + a = "from %s import %s" % (mod, new) + self.check(b, a) + + s = "from foo import %s" % old + self.unchanged(s) + + def test_import_from_as(self): + for mod, (old, new) in list(self.modules.items()): + b = "from %s import %s as foo_bar" % (mod, old) + a = "from %s import %s as foo_bar" % (mod, new) + self.check(b, a) + + def test_import_module_usage(self): + for mod, (old, new) in list(self.modules.items()): + b = """ + import %s + foo(%s, %s.%s) + """ % (mod, mod, mod, old) + a = """ + import %s + foo(%s, %s.%s) + """ % (mod, mod, mod, new) + self.check(b, a) + + def XXX_test_from_import_usage(self): + # not implemented yet + for mod, (old, new) in list(self.modules.items()): + b = """ + from %s import %s + foo(%s, %s) + """ % (mod, old, mod, old) + a = """ + from %s import %s + foo(%s, %s) + """ % (mod, new, mod, new) + self.check(b, a) + +class Test_unicode(FixerTestCase): + fixer = "unicode" + + def test_whitespace(self): + b = """unicode( x)""" + a = """str( x)""" + self.check(b, a) + + b = """ unicode(x )""" + a = """ str(x )""" + self.check(b, a) + + b = """ u'h'""" + a = """ 'h'""" + self.check(b, a) + + def test_unicode_call(self): + b = """unicode(x, y, z)""" + a = """str(x, y, z)""" + self.check(b, a) + + def test_unichr(self): + b = """unichr(u'h')""" + a = """chr('h')""" + self.check(b, a) + + def test_unicode_literal_1(self): + b = '''u"x"''' + a = '''"x"''' + self.check(b, a) + + def test_unicode_literal_2(self): + b = """ur'x'""" + a = """r'x'""" + self.check(b, a) + + def test_unicode_literal_3(self): + b = """UR'''x''' """ + a = """R'''x''' """ + self.check(b, a) + + def test_native_literal_escape_u(self): + b = r"""'\\\u20ac\U0001d121\\u20ac'""" + a = r"""'\\\\u20ac\\U0001d121\\u20ac'""" + self.check(b, a) + + b = r"""r'\\\u20ac\U0001d121\\u20ac'""" + a = r"""r'\\\u20ac\U0001d121\\u20ac'""" + self.check(b, a) + + def test_bytes_literal_escape_u(self): + b = r"""b'\\\u20ac\U0001d121\\u20ac'""" + a = r"""b'\\\u20ac\U0001d121\\u20ac'""" + self.check(b, a) + + b = r"""br'\\\u20ac\U0001d121\\u20ac'""" + a = r"""br'\\\u20ac\U0001d121\\u20ac'""" + self.check(b, a) + + def test_unicode_literal_escape_u(self): + b = r"""u'\\\u20ac\U0001d121\\u20ac'""" + a = r"""'\\\u20ac\U0001d121\\u20ac'""" + self.check(b, a) + + b = r"""ur'\\\u20ac\U0001d121\\u20ac'""" + a = r"""r'\\\u20ac\U0001d121\\u20ac'""" + self.check(b, a) + + def test_native_unicode_literal_escape_u(self): + f = 'from __future__ import unicode_literals\n' + b = f + r"""'\\\u20ac\U0001d121\\u20ac'""" + a = f + r"""'\\\u20ac\U0001d121\\u20ac'""" + self.check(b, a) + + b = f + r"""r'\\\u20ac\U0001d121\\u20ac'""" + a = f + r"""r'\\\u20ac\U0001d121\\u20ac'""" + self.check(b, a) + + +class Test_filter(FixerTestCase): + fixer = "filter" + + def test_prefix_preservation(self): + b = """x = filter( foo, 'abc' )""" + a = """x = list(filter( foo, 'abc' ))""" + self.check(b, a) + + b = """x = filter( None , 'abc' )""" + a = """x = [_f for _f in 'abc' if _f]""" + self.check(b, a) + + def test_filter_basic(self): + b = """x = filter(None, 'abc')""" + a = """x = [_f for _f in 'abc' if _f]""" + self.check(b, a) + + b = """x = len(filter(f, 'abc'))""" + a = """x = len(list(filter(f, 'abc')))""" + self.check(b, a) + + b = """x = filter(lambda x: x%2 == 0, range(10))""" + a = """x = [x for x in range(10) if x%2 == 0]""" + self.check(b, a) + + # Note the parens around x + b = """x = filter(lambda (x): x%2 == 0, range(10))""" + a = """x = [x for x in range(10) if x%2 == 0]""" + self.check(b, a) + + # bpo-38871 + b = """filter(lambda x: True if x > 2 else False, [1, 2, 3])""" + a = """[x for x in [1, 2, 3] if (True if x > 2 else False)]""" + self.check(b, a) + + def test_filter_trailers(self): + b = """x = filter(None, 'abc')[0]""" + a = """x = [_f for _f in 'abc' if _f][0]""" + self.check(b, a) + + b = """x = len(filter(f, 'abc')[0])""" + a = """x = len(list(filter(f, 'abc'))[0])""" + self.check(b, a) + + b = """x = filter(lambda x: x%2 == 0, range(10))[0]""" + a = """x = [x for x in range(10) if x%2 == 0][0]""" + self.check(b, a) + + # Note the parens around x + b = """x = filter(lambda (x): x%2 == 0, range(10))[0]""" + a = """x = [x for x in range(10) if x%2 == 0][0]""" + self.check(b, a) + + def test_filter_nochange(self): + a = """b.join(filter(f, 'abc'))""" + self.unchanged(a) + a = """(a + foo(5)).join(filter(f, 'abc'))""" + self.unchanged(a) + a = """iter(filter(f, 'abc'))""" + self.unchanged(a) + a = """list(filter(f, 'abc'))""" + self.unchanged(a) + a = """list(filter(f, 'abc'))[0]""" + self.unchanged(a) + a = """set(filter(f, 'abc'))""" + self.unchanged(a) + a = """set(filter(f, 'abc')).pop()""" + self.unchanged(a) + a = """tuple(filter(f, 'abc'))""" + self.unchanged(a) + a = """any(filter(f, 'abc'))""" + self.unchanged(a) + a = """all(filter(f, 'abc'))""" + self.unchanged(a) + a = """sum(filter(f, 'abc'))""" + self.unchanged(a) + a = """sorted(filter(f, 'abc'))""" + self.unchanged(a) + a = """sorted(filter(f, 'abc'), key=blah)""" + self.unchanged(a) + a = """sorted(filter(f, 'abc'), key=blah)[0]""" + self.unchanged(a) + a = """enumerate(filter(f, 'abc'))""" + self.unchanged(a) + a = """enumerate(filter(f, 'abc'), start=1)""" + self.unchanged(a) + a = """for i in filter(f, 'abc'): pass""" + self.unchanged(a) + a = """[x for x in filter(f, 'abc')]""" + self.unchanged(a) + a = """(x for x in filter(f, 'abc'))""" + self.unchanged(a) + + def test_future_builtins(self): + a = "from future_builtins import spam, filter; filter(f, 'ham')" + self.unchanged(a) + + b = """from future_builtins import spam; x = filter(f, 'abc')""" + a = """from future_builtins import spam; x = list(filter(f, 'abc'))""" + self.check(b, a) + + a = "from future_builtins import *; filter(f, 'ham')" + self.unchanged(a) + +class Test_map(FixerTestCase): + fixer = "map" + + def check(self, b, a): + self.unchanged("from future_builtins import map; " + b, a) + super(Test_map, self).check(b, a) + + def test_prefix_preservation(self): + b = """x = map( f, 'abc' )""" + a = """x = list(map( f, 'abc' ))""" + self.check(b, a) + + def test_map_trailers(self): + b = """x = map(f, 'abc')[0]""" + a = """x = list(map(f, 'abc'))[0]""" + self.check(b, a) + + b = """x = map(None, l)[0]""" + a = """x = list(l)[0]""" + self.check(b, a) + + b = """x = map(lambda x:x, l)[0]""" + a = """x = [x for x in l][0]""" + self.check(b, a) + + b = """x = map(f, 'abc')[0][1]""" + a = """x = list(map(f, 'abc'))[0][1]""" + self.check(b, a) + + def test_trailing_comment(self): + b = """x = map(f, 'abc') # foo""" + a = """x = list(map(f, 'abc')) # foo""" + self.check(b, a) + + def test_None_with_multiple_arguments(self): + s = """x = map(None, a, b, c)""" + self.warns_unchanged(s, "cannot convert map(None, ...) with " + "multiple arguments") + + def test_map_basic(self): + b = """x = map(f, 'abc')""" + a = """x = list(map(f, 'abc'))""" + self.check(b, a) + + b = """x = len(map(f, 'abc', 'def'))""" + a = """x = len(list(map(f, 'abc', 'def')))""" + self.check(b, a) + + b = """x = map(None, 'abc')""" + a = """x = list('abc')""" + self.check(b, a) + + b = """x = map(lambda x: x+1, range(4))""" + a = """x = [x+1 for x in range(4)]""" + self.check(b, a) + + # Note the parens around x + b = """x = map(lambda (x): x+1, range(4))""" + a = """x = [x+1 for x in range(4)]""" + self.check(b, a) + + b = """ + foo() + # foo + map(f, x) + """ + a = """ + foo() + # foo + list(map(f, x)) + """ + self.warns(b, a, "You should use a for loop here") + + def test_map_nochange(self): + a = """b.join(map(f, 'abc'))""" + self.unchanged(a) + a = """(a + foo(5)).join(map(f, 'abc'))""" + self.unchanged(a) + a = """iter(map(f, 'abc'))""" + self.unchanged(a) + a = """list(map(f, 'abc'))""" + self.unchanged(a) + a = """list(map(f, 'abc'))[0]""" + self.unchanged(a) + a = """set(map(f, 'abc'))""" + self.unchanged(a) + a = """set(map(f, 'abc')).pop()""" + self.unchanged(a) + a = """tuple(map(f, 'abc'))""" + self.unchanged(a) + a = """any(map(f, 'abc'))""" + self.unchanged(a) + a = """all(map(f, 'abc'))""" + self.unchanged(a) + a = """sum(map(f, 'abc'))""" + self.unchanged(a) + a = """sorted(map(f, 'abc'))""" + self.unchanged(a) + a = """sorted(map(f, 'abc'), key=blah)""" + self.unchanged(a) + a = """sorted(map(f, 'abc'), key=blah)[0]""" + self.unchanged(a) + a = """enumerate(map(f, 'abc'))""" + self.unchanged(a) + a = """enumerate(map(f, 'abc'), start=1)""" + self.unchanged(a) + a = """for i in map(f, 'abc'): pass""" + self.unchanged(a) + a = """[x for x in map(f, 'abc')]""" + self.unchanged(a) + a = """(x for x in map(f, 'abc'))""" + self.unchanged(a) + + def test_future_builtins(self): + a = "from future_builtins import spam, map, eggs; map(f, 'ham')" + self.unchanged(a) + + b = """from future_builtins import spam, eggs; x = map(f, 'abc')""" + a = """from future_builtins import spam, eggs; x = list(map(f, 'abc'))""" + self.check(b, a) + + a = "from future_builtins import *; map(f, 'ham')" + self.unchanged(a) + +class Test_zip(FixerTestCase): + fixer = "zip" + + def check(self, b, a): + self.unchanged("from future_builtins import zip; " + b, a) + super(Test_zip, self).check(b, a) + + def test_zip_basic(self): + b = """x = zip()""" + a = """x = list(zip())""" + self.check(b, a) + + b = """x = zip(a, b, c)""" + a = """x = list(zip(a, b, c))""" + self.check(b, a) + + b = """x = len(zip(a, b))""" + a = """x = len(list(zip(a, b)))""" + self.check(b, a) + + def test_zip_trailers(self): + b = """x = zip(a, b, c)[0]""" + a = """x = list(zip(a, b, c))[0]""" + self.check(b, a) + + b = """x = zip(a, b, c)[0][1]""" + a = """x = list(zip(a, b, c))[0][1]""" + self.check(b, a) + + def test_zip_nochange(self): + a = """b.join(zip(a, b))""" + self.unchanged(a) + a = """(a + foo(5)).join(zip(a, b))""" + self.unchanged(a) + a = """iter(zip(a, b))""" + self.unchanged(a) + a = """list(zip(a, b))""" + self.unchanged(a) + a = """list(zip(a, b))[0]""" + self.unchanged(a) + a = """set(zip(a, b))""" + self.unchanged(a) + a = """set(zip(a, b)).pop()""" + self.unchanged(a) + a = """tuple(zip(a, b))""" + self.unchanged(a) + a = """any(zip(a, b))""" + self.unchanged(a) + a = """all(zip(a, b))""" + self.unchanged(a) + a = """sum(zip(a, b))""" + self.unchanged(a) + a = """sorted(zip(a, b))""" + self.unchanged(a) + a = """sorted(zip(a, b), key=blah)""" + self.unchanged(a) + a = """sorted(zip(a, b), key=blah)[0]""" + self.unchanged(a) + a = """enumerate(zip(a, b))""" + self.unchanged(a) + a = """enumerate(zip(a, b), start=1)""" + self.unchanged(a) + a = """for i in zip(a, b): pass""" + self.unchanged(a) + a = """[x for x in zip(a, b)]""" + self.unchanged(a) + a = """(x for x in zip(a, b))""" + self.unchanged(a) + + def test_future_builtins(self): + a = "from future_builtins import spam, zip, eggs; zip(a, b)" + self.unchanged(a) + + b = """from future_builtins import spam, eggs; x = zip(a, b)""" + a = """from future_builtins import spam, eggs; x = list(zip(a, b))""" + self.check(b, a) + + a = "from future_builtins import *; zip(a, b)" + self.unchanged(a) + +class Test_standarderror(FixerTestCase): + fixer = "standarderror" + + def test(self): + b = """x = StandardError()""" + a = """x = Exception()""" + self.check(b, a) + + b = """x = StandardError(a, b, c)""" + a = """x = Exception(a, b, c)""" + self.check(b, a) + + b = """f(2 + StandardError(a, b, c))""" + a = """f(2 + Exception(a, b, c))""" + self.check(b, a) + +class Test_types(FixerTestCase): + fixer = "types" + + def test_basic_types_convert(self): + b = """types.StringType""" + a = """bytes""" + self.check(b, a) + + b = """types.DictType""" + a = """dict""" + self.check(b, a) + + b = """types . IntType""" + a = """int""" + self.check(b, a) + + b = """types.ListType""" + a = """list""" + self.check(b, a) + + b = """types.LongType""" + a = """int""" + self.check(b, a) + + b = """types.NoneType""" + a = """type(None)""" + self.check(b, a) + + b = "types.StringTypes" + a = "(str,)" + self.check(b, a) + +class Test_idioms(FixerTestCase): + fixer = "idioms" + + def test_while(self): + b = """while 1: foo()""" + a = """while True: foo()""" + self.check(b, a) + + b = """while 1: foo()""" + a = """while True: foo()""" + self.check(b, a) + + b = """ + while 1: + foo() + """ + a = """ + while True: + foo() + """ + self.check(b, a) + + def test_while_unchanged(self): + s = """while 11: foo()""" + self.unchanged(s) + + s = """while 0: foo()""" + self.unchanged(s) + + s = """while foo(): foo()""" + self.unchanged(s) + + s = """while []: foo()""" + self.unchanged(s) + + def test_eq_simple(self): + b = """type(x) == T""" + a = """isinstance(x, T)""" + self.check(b, a) + + b = """if type(x) == T: pass""" + a = """if isinstance(x, T): pass""" + self.check(b, a) + + def test_eq_reverse(self): + b = """T == type(x)""" + a = """isinstance(x, T)""" + self.check(b, a) + + b = """if T == type(x): pass""" + a = """if isinstance(x, T): pass""" + self.check(b, a) + + def test_eq_expression(self): + b = """type(x+y) == d.get('T')""" + a = """isinstance(x+y, d.get('T'))""" + self.check(b, a) + + b = """type( x + y) == d.get('T')""" + a = """isinstance(x + y, d.get('T'))""" + self.check(b, a) + + def test_is_simple(self): + b = """type(x) is T""" + a = """isinstance(x, T)""" + self.check(b, a) + + b = """if type(x) is T: pass""" + a = """if isinstance(x, T): pass""" + self.check(b, a) + + def test_is_reverse(self): + b = """T is type(x)""" + a = """isinstance(x, T)""" + self.check(b, a) + + b = """if T is type(x): pass""" + a = """if isinstance(x, T): pass""" + self.check(b, a) + + def test_is_expression(self): + b = """type(x+y) is d.get('T')""" + a = """isinstance(x+y, d.get('T'))""" + self.check(b, a) + + b = """type( x + y) is d.get('T')""" + a = """isinstance(x + y, d.get('T'))""" + self.check(b, a) + + def test_is_not_simple(self): + b = """type(x) is not T""" + a = """not isinstance(x, T)""" + self.check(b, a) + + b = """if type(x) is not T: pass""" + a = """if not isinstance(x, T): pass""" + self.check(b, a) + + def test_is_not_reverse(self): + b = """T is not type(x)""" + a = """not isinstance(x, T)""" + self.check(b, a) + + b = """if T is not type(x): pass""" + a = """if not isinstance(x, T): pass""" + self.check(b, a) + + def test_is_not_expression(self): + b = """type(x+y) is not d.get('T')""" + a = """not isinstance(x+y, d.get('T'))""" + self.check(b, a) + + b = """type( x + y) is not d.get('T')""" + a = """not isinstance(x + y, d.get('T'))""" + self.check(b, a) + + def test_ne_simple(self): + b = """type(x) != T""" + a = """not isinstance(x, T)""" + self.check(b, a) + + b = """if type(x) != T: pass""" + a = """if not isinstance(x, T): pass""" + self.check(b, a) + + def test_ne_reverse(self): + b = """T != type(x)""" + a = """not isinstance(x, T)""" + self.check(b, a) + + b = """if T != type(x): pass""" + a = """if not isinstance(x, T): pass""" + self.check(b, a) + + def test_ne_expression(self): + b = """type(x+y) != d.get('T')""" + a = """not isinstance(x+y, d.get('T'))""" + self.check(b, a) + + b = """type( x + y) != d.get('T')""" + a = """not isinstance(x + y, d.get('T'))""" + self.check(b, a) + + def test_type_unchanged(self): + a = """type(x).__name__""" + self.unchanged(a) + + def test_sort_list_call(self): + b = """ + v = list(t) + v.sort() + foo(v) + """ + a = """ + v = sorted(t) + foo(v) + """ + self.check(b, a) + + b = """ + v = list(foo(b) + d) + v.sort() + foo(v) + """ + a = """ + v = sorted(foo(b) + d) + foo(v) + """ + self.check(b, a) + + b = """ + while x: + v = list(t) + v.sort() + foo(v) + """ + a = """ + while x: + v = sorted(t) + foo(v) + """ + self.check(b, a) + + b = """ + v = list(t) + # foo + v.sort() + foo(v) + """ + a = """ + v = sorted(t) + # foo + foo(v) + """ + self.check(b, a) + + b = r""" + v = list( t) + v.sort() + foo(v) + """ + a = r""" + v = sorted( t) + foo(v) + """ + self.check(b, a) + + b = r""" + try: + m = list(s) + m.sort() + except: pass + """ + + a = r""" + try: + m = sorted(s) + except: pass + """ + self.check(b, a) + + b = r""" + try: + m = list(s) + # foo + m.sort() + except: pass + """ + + a = r""" + try: + m = sorted(s) + # foo + except: pass + """ + self.check(b, a) + + b = r""" + m = list(s) + # more comments + m.sort()""" + + a = r""" + m = sorted(s) + # more comments""" + self.check(b, a) + + def test_sort_simple_expr(self): + b = """ + v = t + v.sort() + foo(v) + """ + a = """ + v = sorted(t) + foo(v) + """ + self.check(b, a) + + b = """ + v = foo(b) + v.sort() + foo(v) + """ + a = """ + v = sorted(foo(b)) + foo(v) + """ + self.check(b, a) + + b = """ + v = b.keys() + v.sort() + foo(v) + """ + a = """ + v = sorted(b.keys()) + foo(v) + """ + self.check(b, a) + + b = """ + v = foo(b) + d + v.sort() + foo(v) + """ + a = """ + v = sorted(foo(b) + d) + foo(v) + """ + self.check(b, a) + + b = """ + while x: + v = t + v.sort() + foo(v) + """ + a = """ + while x: + v = sorted(t) + foo(v) + """ + self.check(b, a) + + b = """ + v = t + # foo + v.sort() + foo(v) + """ + a = """ + v = sorted(t) + # foo + foo(v) + """ + self.check(b, a) + + b = r""" + v = t + v.sort() + foo(v) + """ + a = r""" + v = sorted(t) + foo(v) + """ + self.check(b, a) + + def test_sort_unchanged(self): + s = """ + v = list(t) + w.sort() + foo(w) + """ + self.unchanged(s) + + s = """ + v = list(t) + v.sort(u) + foo(v) + """ + self.unchanged(s) + +class Test_basestring(FixerTestCase): + fixer = "basestring" + + def test_basestring(self): + b = """isinstance(x, basestring)""" + a = """isinstance(x, str)""" + self.check(b, a) + +class Test_buffer(FixerTestCase): + fixer = "buffer" + + def test_buffer(self): + b = """x = buffer(y)""" + a = """x = memoryview(y)""" + self.check(b, a) + + def test_slicing(self): + b = """buffer(y)[4:5]""" + a = """memoryview(y)[4:5]""" + self.check(b, a) + +class Test_future(FixerTestCase): + fixer = "future" + + def test_future(self): + b = """from __future__ import braces""" + a = """""" + self.check(b, a) + + b = """# comment\nfrom __future__ import braces""" + a = """# comment\n""" + self.check(b, a) + + b = """from __future__ import braces\n# comment""" + a = """\n# comment""" + self.check(b, a) + + def test_run_order(self): + self.assert_runs_after('print') + +class Test_itertools(FixerTestCase): + fixer = "itertools" + + def checkall(self, before, after): + # Because we need to check with and without the itertools prefix + # and on each of the three functions, these loops make it all + # much easier + for i in ('itertools.', ''): + for f in ('map', 'filter', 'zip'): + b = before %(i+'i'+f) + a = after %(f) + self.check(b, a) + + def test_0(self): + # A simple example -- test_1 covers exactly the same thing, + # but it's not quite as clear. + b = "itertools.izip(a, b)" + a = "zip(a, b)" + self.check(b, a) + + def test_1(self): + b = """%s(f, a)""" + a = """%s(f, a)""" + self.checkall(b, a) + + def test_qualified(self): + b = """itertools.ifilterfalse(a, b)""" + a = """itertools.filterfalse(a, b)""" + self.check(b, a) + + b = """itertools.izip_longest(a, b)""" + a = """itertools.zip_longest(a, b)""" + self.check(b, a) + + def test_2(self): + b = """ifilterfalse(a, b)""" + a = """filterfalse(a, b)""" + self.check(b, a) + + b = """izip_longest(a, b)""" + a = """zip_longest(a, b)""" + self.check(b, a) + + def test_space_1(self): + b = """ %s(f, a)""" + a = """ %s(f, a)""" + self.checkall(b, a) + + def test_space_2(self): + b = """ itertools.ifilterfalse(a, b)""" + a = """ itertools.filterfalse(a, b)""" + self.check(b, a) + + b = """ itertools.izip_longest(a, b)""" + a = """ itertools.zip_longest(a, b)""" + self.check(b, a) + + def test_run_order(self): + self.assert_runs_after('map', 'zip', 'filter') + + +class Test_itertools_imports(FixerTestCase): + fixer = 'itertools_imports' + + def test_reduced(self): + b = "from itertools import imap, izip, foo" + a = "from itertools import foo" + self.check(b, a) + + b = "from itertools import bar, imap, izip, foo" + a = "from itertools import bar, foo" + self.check(b, a) + + b = "from itertools import chain, imap, izip" + a = "from itertools import chain" + self.check(b, a) + + def test_comments(self): + b = "#foo\nfrom itertools import imap, izip" + a = "#foo\n" + self.check(b, a) + + def test_none(self): + b = "from itertools import imap, izip" + a = "" + self.check(b, a) + + b = "from itertools import izip" + a = "" + self.check(b, a) + + def test_import_as(self): + b = "from itertools import izip, bar as bang, imap" + a = "from itertools import bar as bang" + self.check(b, a) + + b = "from itertools import izip as _zip, imap, bar" + a = "from itertools import bar" + self.check(b, a) + + b = "from itertools import imap as _map" + a = "" + self.check(b, a) + + b = "from itertools import imap as _map, izip as _zip" + a = "" + self.check(b, a) + + s = "from itertools import bar as bang" + self.unchanged(s) + + def test_ifilter_and_zip_longest(self): + for name in "filterfalse", "zip_longest": + b = "from itertools import i%s" % (name,) + a = "from itertools import %s" % (name,) + self.check(b, a) + + b = "from itertools import imap, i%s, foo" % (name,) + a = "from itertools import %s, foo" % (name,) + self.check(b, a) + + b = "from itertools import bar, i%s, foo" % (name,) + a = "from itertools import bar, %s, foo" % (name,) + self.check(b, a) + + def test_import_star(self): + s = "from itertools import *" + self.unchanged(s) + + + def test_unchanged(self): + s = "from itertools import foo" + self.unchanged(s) + + +class Test_import(FixerTestCase): + fixer = "import" + + def setUp(self): + super(Test_import, self).setUp() + # Need to replace fix_import's exists method + # so we can check that it's doing the right thing + self.files_checked = [] + self.present_files = set() + self.always_exists = True + def fake_exists(name): + self.files_checked.append(name) + return self.always_exists or (name in self.present_files) + + from lib2to3.fixes import fix_import + fix_import.exists = fake_exists + + def tearDown(self): + from lib2to3.fixes import fix_import + fix_import.exists = os.path.exists + + def check_both(self, b, a): + self.always_exists = True + super(Test_import, self).check(b, a) + self.always_exists = False + super(Test_import, self).unchanged(b) + + def test_files_checked(self): + def p(path): + # Takes a unix path and returns a path with correct separators + return os.path.pathsep.join(path.split("/")) + + self.always_exists = False + self.present_files = set(['__init__.py']) + expected_extensions = ('.py', os.path.sep, '.pyc', '.so', '.sl', '.pyd') + names_to_test = (p("/spam/eggs.py"), "ni.py", p("../../shrubbery.py")) + + for name in names_to_test: + self.files_checked = [] + self.filename = name + self.unchanged("import jam") + + if os.path.dirname(name): + name = os.path.dirname(name) + '/jam' + else: + name = 'jam' + expected_checks = set(name + ext for ext in expected_extensions) + expected_checks.add("__init__.py") + + self.assertEqual(set(self.files_checked), expected_checks) + + def test_not_in_package(self): + s = "import bar" + self.always_exists = False + self.present_files = set(["bar.py"]) + self.unchanged(s) + + def test_with_absolute_import_enabled(self): + s = "from __future__ import absolute_import\nimport bar" + self.always_exists = False + self.present_files = set(["__init__.py", "bar.py"]) + self.unchanged(s) + + def test_in_package(self): + b = "import bar" + a = "from . import bar" + self.always_exists = False + self.present_files = set(["__init__.py", "bar.py"]) + self.check(b, a) + + def test_import_from_package(self): + b = "import bar" + a = "from . import bar" + self.always_exists = False + self.present_files = set(["__init__.py", "bar" + os.path.sep]) + self.check(b, a) + + def test_already_relative_import(self): + s = "from . import bar" + self.unchanged(s) + + def test_comments_and_indent(self): + b = "import bar # Foo" + a = "from . import bar # Foo" + self.check(b, a) + + def test_from(self): + b = "from foo import bar, baz" + a = "from .foo import bar, baz" + self.check_both(b, a) + + b = "from foo import bar" + a = "from .foo import bar" + self.check_both(b, a) + + b = "from foo import (bar, baz)" + a = "from .foo import (bar, baz)" + self.check_both(b, a) + + def test_dotted_from(self): + b = "from green.eggs import ham" + a = "from .green.eggs import ham" + self.check_both(b, a) + + def test_from_as(self): + b = "from green.eggs import ham as spam" + a = "from .green.eggs import ham as spam" + self.check_both(b, a) + + def test_import(self): + b = "import foo" + a = "from . import foo" + self.check_both(b, a) + + b = "import foo, bar" + a = "from . import foo, bar" + self.check_both(b, a) + + b = "import foo, bar, x" + a = "from . import foo, bar, x" + self.check_both(b, a) + + b = "import x, y, z" + a = "from . import x, y, z" + self.check_both(b, a) + + def test_import_as(self): + b = "import foo as x" + a = "from . import foo as x" + self.check_both(b, a) + + b = "import a as b, b as c, c as d" + a = "from . import a as b, b as c, c as d" + self.check_both(b, a) + + def test_local_and_absolute(self): + self.always_exists = False + self.present_files = set(["foo.py", "__init__.py"]) + + s = "import foo, bar" + self.warns_unchanged(s, "absolute and local imports together") + + def test_dotted_import(self): + b = "import foo.bar" + a = "from . import foo.bar" + self.check_both(b, a) + + def test_dotted_import_as(self): + b = "import foo.bar as bang" + a = "from . import foo.bar as bang" + self.check_both(b, a) + + def test_prefix(self): + b = """ + # prefix + import foo.bar + """ + a = """ + # prefix + from . import foo.bar + """ + self.check_both(b, a) + + +class Test_set_literal(FixerTestCase): + + fixer = "set_literal" + + def test_basic(self): + b = """set([1, 2, 3])""" + a = """{1, 2, 3}""" + self.check(b, a) + + b = """set((1, 2, 3))""" + a = """{1, 2, 3}""" + self.check(b, a) + + b = """set((1,))""" + a = """{1}""" + self.check(b, a) + + b = """set([1])""" + self.check(b, a) + + b = """set((a, b))""" + a = """{a, b}""" + self.check(b, a) + + b = """set([a, b])""" + self.check(b, a) + + b = """set((a*234, f(args=23)))""" + a = """{a*234, f(args=23)}""" + self.check(b, a) + + b = """set([a*23, f(23)])""" + a = """{a*23, f(23)}""" + self.check(b, a) + + b = """set([a-234**23])""" + a = """{a-234**23}""" + self.check(b, a) + + def test_listcomps(self): + b = """set([x for x in y])""" + a = """{x for x in y}""" + self.check(b, a) + + b = """set([x for x in y if x == m])""" + a = """{x for x in y if x == m}""" + self.check(b, a) + + b = """set([x for x in y for a in b])""" + a = """{x for x in y for a in b}""" + self.check(b, a) + + b = """set([f(x) - 23 for x in y])""" + a = """{f(x) - 23 for x in y}""" + self.check(b, a) + + def test_whitespace(self): + b = """set( [1, 2])""" + a = """{1, 2}""" + self.check(b, a) + + b = """set([1 , 2])""" + a = """{1 , 2}""" + self.check(b, a) + + b = """set([ 1 ])""" + a = """{ 1 }""" + self.check(b, a) + + b = """set( [1] )""" + a = """{1}""" + self.check(b, a) + + b = """set([ 1, 2 ])""" + a = """{ 1, 2 }""" + self.check(b, a) + + b = """set([x for x in y ])""" + a = """{x for x in y }""" + self.check(b, a) + + b = """set( + [1, 2] + ) + """ + a = """{1, 2}\n""" + self.check(b, a) + + def test_comments(self): + b = """set((1, 2)) # Hi""" + a = """{1, 2} # Hi""" + self.check(b, a) + + # This isn't optimal behavior, but the fixer is optional. + b = """ + # Foo + set( # Bar + (1, 2) + ) + """ + a = """ + # Foo + {1, 2} + """ + self.check(b, a) + + def test_unchanged(self): + s = """set()""" + self.unchanged(s) + + s = """set(a)""" + self.unchanged(s) + + s = """set(a, b, c)""" + self.unchanged(s) + + # Don't transform generators because they might have to be lazy. + s = """set(x for x in y)""" + self.unchanged(s) + + s = """set(x for x in y if z)""" + self.unchanged(s) + + s = """set(a*823-23**2 + f(23))""" + self.unchanged(s) + + +class Test_sys_exc(FixerTestCase): + fixer = "sys_exc" + + def test_0(self): + b = "sys.exc_type" + a = "sys.exc_info()[0]" + self.check(b, a) + + def test_1(self): + b = "sys.exc_value" + a = "sys.exc_info()[1]" + self.check(b, a) + + def test_2(self): + b = "sys.exc_traceback" + a = "sys.exc_info()[2]" + self.check(b, a) + + def test_3(self): + b = "sys.exc_type # Foo" + a = "sys.exc_info()[0] # Foo" + self.check(b, a) + + def test_4(self): + b = "sys. exc_type" + a = "sys. exc_info()[0]" + self.check(b, a) + + def test_5(self): + b = "sys .exc_type" + a = "sys .exc_info()[0]" + self.check(b, a) + + +class Test_paren(FixerTestCase): + fixer = "paren" + + def test_0(self): + b = """[i for i in 1, 2 ]""" + a = """[i for i in (1, 2) ]""" + self.check(b, a) + + def test_1(self): + b = """[i for i in 1, 2, ]""" + a = """[i for i in (1, 2,) ]""" + self.check(b, a) + + def test_2(self): + b = """[i for i in 1, 2 ]""" + a = """[i for i in (1, 2) ]""" + self.check(b, a) + + def test_3(self): + b = """[i for i in 1, 2 if i]""" + a = """[i for i in (1, 2) if i]""" + self.check(b, a) + + def test_4(self): + b = """[i for i in 1, 2 ]""" + a = """[i for i in (1, 2) ]""" + self.check(b, a) + + def test_5(self): + b = """(i for i in 1, 2)""" + a = """(i for i in (1, 2))""" + self.check(b, a) + + def test_6(self): + b = """(i for i in 1 ,2 if i)""" + a = """(i for i in (1 ,2) if i)""" + self.check(b, a) + + def test_unchanged_0(self): + s = """[i for i in (1, 2)]""" + self.unchanged(s) + + def test_unchanged_1(self): + s = """[i for i in foo()]""" + self.unchanged(s) + + def test_unchanged_2(self): + s = """[i for i in (1, 2) if nothing]""" + self.unchanged(s) + + def test_unchanged_3(self): + s = """(i for i in (1, 2))""" + self.unchanged(s) + + def test_unchanged_4(self): + s = """[i for i in m]""" + self.unchanged(s) + +class Test_metaclass(FixerTestCase): + + fixer = 'metaclass' + + def test_unchanged(self): + self.unchanged("class X(): pass") + self.unchanged("class X(object): pass") + self.unchanged("class X(object1, object2): pass") + self.unchanged("class X(object1, object2, object3): pass") + self.unchanged("class X(metaclass=Meta): pass") + self.unchanged("class X(b, arg=23, metclass=Meta): pass") + self.unchanged("class X(b, arg=23, metaclass=Meta, other=42): pass") + + s = """ + class X: + def __metaclass__(self): pass + """ + self.unchanged(s) + + s = """ + class X: + a[23] = 74 + """ + self.unchanged(s) + + def test_comments(self): + b = """ + class X: + # hi + __metaclass__ = AppleMeta + """ + a = """ + class X(metaclass=AppleMeta): + # hi + pass + """ + self.check(b, a) + + b = """ + class X: + __metaclass__ = Meta + # Bedtime! + """ + a = """ + class X(metaclass=Meta): + pass + # Bedtime! + """ + self.check(b, a) + + def test_meta(self): + # no-parent class, odd body + b = """ + class X(): + __metaclass__ = Q + pass + """ + a = """ + class X(metaclass=Q): + pass + """ + self.check(b, a) + + # one parent class, no body + b = """class X(object): __metaclass__ = Q""" + a = """class X(object, metaclass=Q): pass""" + self.check(b, a) + + + # one parent, simple body + b = """ + class X(object): + __metaclass__ = Meta + bar = 7 + """ + a = """ + class X(object, metaclass=Meta): + bar = 7 + """ + self.check(b, a) + + b = """ + class X: + __metaclass__ = Meta; x = 4; g = 23 + """ + a = """ + class X(metaclass=Meta): + x = 4; g = 23 + """ + self.check(b, a) + + # one parent, simple body, __metaclass__ last + b = """ + class X(object): + bar = 7 + __metaclass__ = Meta + """ + a = """ + class X(object, metaclass=Meta): + bar = 7 + """ + self.check(b, a) + + # redefining __metaclass__ + b = """ + class X(): + __metaclass__ = A + __metaclass__ = B + bar = 7 + """ + a = """ + class X(metaclass=B): + bar = 7 + """ + self.check(b, a) + + # multiple inheritance, simple body + b = """ + class X(clsA, clsB): + __metaclass__ = Meta + bar = 7 + """ + a = """ + class X(clsA, clsB, metaclass=Meta): + bar = 7 + """ + self.check(b, a) + + # keywords in the class statement + b = """class m(a, arg=23): __metaclass__ = Meta""" + a = """class m(a, arg=23, metaclass=Meta): pass""" + self.check(b, a) + + b = """ + class X(expression(2 + 4)): + __metaclass__ = Meta + """ + a = """ + class X(expression(2 + 4), metaclass=Meta): + pass + """ + self.check(b, a) + + b = """ + class X(expression(2 + 4), x**4): + __metaclass__ = Meta + """ + a = """ + class X(expression(2 + 4), x**4, metaclass=Meta): + pass + """ + self.check(b, a) + + b = """ + class X: + __metaclass__ = Meta + save.py = 23 + """ + a = """ + class X(metaclass=Meta): + save.py = 23 + """ + self.check(b, a) + + +class Test_getcwdu(FixerTestCase): + + fixer = 'getcwdu' + + def test_basic(self): + b = """os.getcwdu""" + a = """os.getcwd""" + self.check(b, a) + + b = """os.getcwdu()""" + a = """os.getcwd()""" + self.check(b, a) + + b = """meth = os.getcwdu""" + a = """meth = os.getcwd""" + self.check(b, a) + + b = """os.getcwdu(args)""" + a = """os.getcwd(args)""" + self.check(b, a) + + def test_comment(self): + b = """os.getcwdu() # Foo""" + a = """os.getcwd() # Foo""" + self.check(b, a) + + def test_unchanged(self): + s = """os.getcwd()""" + self.unchanged(s) + + s = """getcwdu()""" + self.unchanged(s) + + s = """os.getcwdb()""" + self.unchanged(s) + + def test_indentation(self): + b = """ + if 1: + os.getcwdu() + """ + a = """ + if 1: + os.getcwd() + """ + self.check(b, a) + + def test_multilation(self): + b = """os .getcwdu()""" + a = """os .getcwd()""" + self.check(b, a) + + b = """os. getcwdu""" + a = """os. getcwd""" + self.check(b, a) + + b = """os.getcwdu ( )""" + a = """os.getcwd ( )""" + self.check(b, a) + + +class Test_operator(FixerTestCase): + + fixer = "operator" + + def test_operator_isCallable(self): + b = "operator.isCallable(x)" + a = "callable(x)" + self.check(b, a) + + def test_operator_sequenceIncludes(self): + b = "operator.sequenceIncludes(x, y)" + a = "operator.contains(x, y)" + self.check(b, a) + + b = "operator .sequenceIncludes(x, y)" + a = "operator .contains(x, y)" + self.check(b, a) + + b = "operator. sequenceIncludes(x, y)" + a = "operator. contains(x, y)" + self.check(b, a) + + def test_operator_isSequenceType(self): + b = "operator.isSequenceType(x)" + a = "import collections.abc\nisinstance(x, collections.abc.Sequence)" + self.check(b, a) + + def test_operator_isMappingType(self): + b = "operator.isMappingType(x)" + a = "import collections.abc\nisinstance(x, collections.abc.Mapping)" + self.check(b, a) + + def test_operator_isNumberType(self): + b = "operator.isNumberType(x)" + a = "import numbers\nisinstance(x, numbers.Number)" + self.check(b, a) + + def test_operator_repeat(self): + b = "operator.repeat(x, n)" + a = "operator.mul(x, n)" + self.check(b, a) + + b = "operator .repeat(x, n)" + a = "operator .mul(x, n)" + self.check(b, a) + + b = "operator. repeat(x, n)" + a = "operator. mul(x, n)" + self.check(b, a) + + def test_operator_irepeat(self): + b = "operator.irepeat(x, n)" + a = "operator.imul(x, n)" + self.check(b, a) + + b = "operator .irepeat(x, n)" + a = "operator .imul(x, n)" + self.check(b, a) + + b = "operator. irepeat(x, n)" + a = "operator. imul(x, n)" + self.check(b, a) + + def test_bare_isCallable(self): + s = "isCallable(x)" + t = "You should use 'callable(x)' here." + self.warns_unchanged(s, t) + + def test_bare_sequenceIncludes(self): + s = "sequenceIncludes(x, y)" + t = "You should use 'operator.contains(x, y)' here." + self.warns_unchanged(s, t) + + def test_bare_operator_isSequenceType(self): + s = "isSequenceType(z)" + t = "You should use 'isinstance(z, collections.abc.Sequence)' here." + self.warns_unchanged(s, t) + + def test_bare_operator_isMappingType(self): + s = "isMappingType(x)" + t = "You should use 'isinstance(x, collections.abc.Mapping)' here." + self.warns_unchanged(s, t) + + def test_bare_operator_isNumberType(self): + s = "isNumberType(y)" + t = "You should use 'isinstance(y, numbers.Number)' here." + self.warns_unchanged(s, t) + + def test_bare_operator_repeat(self): + s = "repeat(x, n)" + t = "You should use 'operator.mul(x, n)' here." + self.warns_unchanged(s, t) + + def test_bare_operator_irepeat(self): + s = "irepeat(y, 187)" + t = "You should use 'operator.imul(y, 187)' here." + self.warns_unchanged(s, t) + + +class Test_exitfunc(FixerTestCase): + + fixer = "exitfunc" + + def test_simple(self): + b = """ + import sys + sys.exitfunc = my_atexit + """ + a = """ + import sys + import atexit + atexit.register(my_atexit) + """ + self.check(b, a) + + def test_names_import(self): + b = """ + import sys, crumbs + sys.exitfunc = my_func + """ + a = """ + import sys, crumbs, atexit + atexit.register(my_func) + """ + self.check(b, a) + + def test_complex_expression(self): + b = """ + import sys + sys.exitfunc = do(d)/a()+complex(f=23, g=23)*expression + """ + a = """ + import sys + import atexit + atexit.register(do(d)/a()+complex(f=23, g=23)*expression) + """ + self.check(b, a) + + def test_comments(self): + b = """ + import sys # Foo + sys.exitfunc = f # Blah + """ + a = """ + import sys + import atexit # Foo + atexit.register(f) # Blah + """ + self.check(b, a) + + b = """ + import apples, sys, crumbs, larry # Pleasant comments + sys.exitfunc = func + """ + a = """ + import apples, sys, crumbs, larry, atexit # Pleasant comments + atexit.register(func) + """ + self.check(b, a) + + def test_in_a_function(self): + b = """ + import sys + def f(): + sys.exitfunc = func + """ + a = """ + import sys + import atexit + def f(): + atexit.register(func) + """ + self.check(b, a) + + def test_no_sys_import(self): + b = """sys.exitfunc = f""" + a = """atexit.register(f)""" + msg = ("Can't find sys import; Please add an atexit import at the " + "top of your file.") + self.warns(b, a, msg) + + + def test_unchanged(self): + s = """f(sys.exitfunc)""" + self.unchanged(s) + + +class Test_asserts(FixerTestCase): + + fixer = "asserts" + + def test_deprecated_names(self): + tests = [ + ('self.assert_(True)', 'self.assertTrue(True)'), + ('self.assertEquals(2, 2)', 'self.assertEqual(2, 2)'), + ('self.assertNotEquals(2, 3)', 'self.assertNotEqual(2, 3)'), + ('self.assertAlmostEquals(2, 3)', 'self.assertAlmostEqual(2, 3)'), + ('self.assertNotAlmostEquals(2, 8)', 'self.assertNotAlmostEqual(2, 8)'), + ('self.failUnlessEqual(2, 2)', 'self.assertEqual(2, 2)'), + ('self.failIfEqual(2, 3)', 'self.assertNotEqual(2, 3)'), + ('self.failUnlessAlmostEqual(2, 3)', 'self.assertAlmostEqual(2, 3)'), + ('self.failIfAlmostEqual(2, 8)', 'self.assertNotAlmostEqual(2, 8)'), + ('self.failUnless(True)', 'self.assertTrue(True)'), + ('self.failUnlessRaises(foo)', 'self.assertRaises(foo)'), + ('self.failIf(False)', 'self.assertFalse(False)'), + ] + for b, a in tests: + self.check(b, a) + + def test_variants(self): + b = 'eq = self.assertEquals' + a = 'eq = self.assertEqual' + self.check(b, a) + b = 'self.assertEquals(2, 3, msg="fail")' + a = 'self.assertEqual(2, 3, msg="fail")' + self.check(b, a) + b = 'self.assertEquals(2, 3, msg="fail") # foo' + a = 'self.assertEqual(2, 3, msg="fail") # foo' + self.check(b, a) + b = 'self.assertEquals (2, 3)' + a = 'self.assertEqual (2, 3)' + self.check(b, a) + b = ' self.assertEquals (2, 3)' + a = ' self.assertEqual (2, 3)' + self.check(b, a) + b = 'with self.failUnlessRaises(Explosion): explode()' + a = 'with self.assertRaises(Explosion): explode()' + self.check(b, a) + b = 'with self.failUnlessRaises(Explosion) as cm: explode()' + a = 'with self.assertRaises(Explosion) as cm: explode()' + self.check(b, a) + + def test_unchanged(self): + self.unchanged('self.assertEqualsOnSaturday') + self.unchanged('self.assertEqualsOnSaturday(3, 5)') diff --git a/shared/package-files/8a/8aa679f9842c415d3cb6451cecbf34e917a8a7ab60b8b1567fbd32485e9b7b46/__init__.py b/shared/package-files/8a/8aa679f9842c415d3cb6451cecbf34e917a8a7ab60b8b1567fbd32485e9b7b46/__init__.py new file mode 100644 index 0000000000000000000000000000000000000000..96c6b88c112038356a91c89273e38e24344b0aed --- /dev/null +++ b/shared/package-files/8a/8aa679f9842c415d3cb6451cecbf34e917a8a7ab60b8b1567fbd32485e9b7b46/__init__.py @@ -0,0 +1,18 @@ +from typing import List, Optional + +from pip._internal.utils import _log + +# init_logging() must be called before any call to logging.getLogger() +# which happens at import of most modules. +_log.init_logging() + + +def main(args: (Optional[List[str]]) = None) -> int: + """This is preserved for old console scripts that may still be referencing + it. + + For additional details, see https://github.com/pypa/pip/issues/7498. + """ + from pip._internal.utils.entrypoints import _wrapper + + return _wrapper(args) diff --git a/shared/package-files/8a/8aad55401bf22a988d6beb148eeb563782909cc7d38b12dd41620f6c05f01356/resize_as_sparse_ops.h b/shared/package-files/8a/8aad55401bf22a988d6beb148eeb563782909cc7d38b12dd41620f6c05f01356/resize_as_sparse_ops.h new file mode 100644 index 0000000000000000000000000000000000000000..64cf9ef5fdf98128ce33ddc0e7c2b9453217da2d --- /dev/null +++ b/shared/package-files/8a/8aad55401bf22a988d6beb148eeb563782909cc7d38b12dd41620f6c05f01356/resize_as_sparse_ops.h @@ -0,0 +1,50 @@ +#pragma once + +// @generated by torchgen/gen.py from Operator.h + +#include +#include + +// Forward declarations of any types needed in the operator signatures. +// We can't directly include these classes because it will cause circular include dependencies. +// This file is included by TensorBody.h, which defines the Tensor class. +#include + +namespace at { +namespace _ops { + + +struct TORCH_API resize_as_sparse_ { + using schema = const at::Tensor & (const at::Tensor &, const at::Tensor &); + using ptr_schema = schema*; + // See Note [static constexpr char* members for windows NVCC] + STATIC_CONSTEXPR_STR_INL_EXCEPT_WIN_CUDA(name, "aten::resize_as_sparse_") + STATIC_CONSTEXPR_STR_INL_EXCEPT_WIN_CUDA(overload_name, "") + STATIC_CONSTEXPR_STR_INL_EXCEPT_WIN_CUDA(schema_str, "resize_as_sparse_(Tensor(a!) self, Tensor the_template) -> Tensor(a!)") + static const at::Tensor & call(const at::Tensor & self, const at::Tensor & the_template); + static const at::Tensor & redispatch(c10::DispatchKeySet dispatchKeySet, const at::Tensor & self, const at::Tensor & the_template); +}; + +struct TORCH_API resize_as_sparse_out { + using schema = const at::Tensor & (const at::Tensor &, const at::Tensor &, const at::Tensor &); + using ptr_schema = schema*; + // See Note [static constexpr char* members for windows NVCC] + STATIC_CONSTEXPR_STR_INL_EXCEPT_WIN_CUDA(name, "aten::resize_as_sparse") + STATIC_CONSTEXPR_STR_INL_EXCEPT_WIN_CUDA(overload_name, "out") + STATIC_CONSTEXPR_STR_INL_EXCEPT_WIN_CUDA(schema_str, "resize_as_sparse.out(Tensor self, Tensor the_template, *, Tensor(a!) out) -> Tensor(a!)") + static const at::Tensor & call(const at::Tensor & self, const at::Tensor & the_template, const at::Tensor & out); + static const at::Tensor & redispatch(c10::DispatchKeySet dispatchKeySet, const at::Tensor & self, const at::Tensor & the_template, const at::Tensor & out); +}; + +struct TORCH_API resize_as_sparse { + using schema = at::Tensor (const at::Tensor &, const at::Tensor &); + using ptr_schema = schema*; + // See Note [static constexpr char* members for windows NVCC] + STATIC_CONSTEXPR_STR_INL_EXCEPT_WIN_CUDA(name, "aten::resize_as_sparse") + STATIC_CONSTEXPR_STR_INL_EXCEPT_WIN_CUDA(overload_name, "") + STATIC_CONSTEXPR_STR_INL_EXCEPT_WIN_CUDA(schema_str, "resize_as_sparse(Tensor self, Tensor the_template) -> Tensor") + static at::Tensor call(const at::Tensor & self, const at::Tensor & the_template); + static at::Tensor redispatch(c10::DispatchKeySet dispatchKeySet, const at::Tensor & self, const at::Tensor & the_template); +}; + +}} // namespace at::_ops diff --git a/shared/package-files/8a/8ab1110dc54bec1e60f37e7799defd84caa0893869055ff1e70b63d0d3fe2c61/rand.h b/shared/package-files/8a/8ab1110dc54bec1e60f37e7799defd84caa0893869055ff1e70b63d0d3fe2c61/rand.h new file mode 100644 index 0000000000000000000000000000000000000000..e01f0fd64c0619ee6eb21db74bd89e42688603e8 --- /dev/null +++ b/shared/package-files/8a/8ab1110dc54bec1e60f37e7799defd84caa0893869055ff1e70b63d0d3fe2c61/rand.h @@ -0,0 +1,377 @@ +#pragma once + +// @generated by torchgen/gen.py from Function.h + +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include + + + +#include + +namespace at { + + +// aten::rand.names(SymInt[] size, *, Dimname[]? names, ScalarType? dtype=None, Layout? layout=None, Device? device=None, bool? pin_memory=None) -> Tensor +inline at::Tensor rand(at::IntArrayRef size, c10::optional names, at::TensorOptions options={}) { + return at::_ops::rand_names::call(c10::fromIntArrayRefSlow(size), names, c10::optTypeMetaToScalarType(options.dtype_opt()), options.layout_opt(), options.device_opt(), options.pinned_memory_opt()); +} +namespace symint { + template ::value>> + at::Tensor rand(at::IntArrayRef size, c10::optional names, at::TensorOptions options={}) { + return at::_ops::rand_names::call(c10::fromIntArrayRefSlow(size), names, c10::optTypeMetaToScalarType(options.dtype_opt()), options.layout_opt(), options.device_opt(), options.pinned_memory_opt()); + } +} + +// aten::rand.names(SymInt[] size, *, Dimname[]? names, ScalarType? dtype=None, Layout? layout=None, Device? device=None, bool? pin_memory=None) -> Tensor +inline at::Tensor rand(at::IntArrayRef size, c10::optional names, c10::optional dtype, c10::optional layout, c10::optional device, c10::optional pin_memory) { + return at::_ops::rand_names::call(c10::fromIntArrayRefSlow(size), names, dtype, layout, device, pin_memory); +} +namespace symint { + template ::value>> + at::Tensor rand(at::IntArrayRef size, c10::optional names, c10::optional dtype, c10::optional layout, c10::optional device, c10::optional pin_memory) { + return at::_ops::rand_names::call(c10::fromIntArrayRefSlow(size), names, dtype, layout, device, pin_memory); + } +} + +// aten::rand.names(SymInt[] size, *, Dimname[]? names, ScalarType? dtype=None, Layout? layout=None, Device? device=None, bool? pin_memory=None) -> Tensor +inline at::Tensor rand_symint(c10::SymIntArrayRef size, c10::optional names, at::TensorOptions options={}) { + return at::_ops::rand_names::call(size, names, c10::optTypeMetaToScalarType(options.dtype_opt()), options.layout_opt(), options.device_opt(), options.pinned_memory_opt()); +} +namespace symint { + template ::value>> + at::Tensor rand(c10::SymIntArrayRef size, c10::optional names, at::TensorOptions options={}) { + return at::_ops::rand_names::call(size, names, c10::optTypeMetaToScalarType(options.dtype_opt()), options.layout_opt(), options.device_opt(), options.pinned_memory_opt()); + } +} + +// aten::rand.names(SymInt[] size, *, Dimname[]? names, ScalarType? dtype=None, Layout? layout=None, Device? device=None, bool? pin_memory=None) -> Tensor +inline at::Tensor rand_symint(c10::SymIntArrayRef size, c10::optional names, c10::optional dtype, c10::optional layout, c10::optional device, c10::optional pin_memory) { + return at::_ops::rand_names::call(size, names, dtype, layout, device, pin_memory); +} +namespace symint { + template ::value>> + at::Tensor rand(c10::SymIntArrayRef size, c10::optional names, c10::optional dtype, c10::optional layout, c10::optional device, c10::optional pin_memory) { + return at::_ops::rand_names::call(size, names, dtype, layout, device, pin_memory); + } +} + +// aten::rand.generator_with_names(SymInt[] size, *, Generator? generator, Dimname[]? names, ScalarType? dtype=None, Layout? layout=None, Device? device=None, bool? pin_memory=None) -> Tensor +inline at::Tensor rand(at::IntArrayRef size, c10::optional generator, c10::optional names, at::TensorOptions options={}) { + return at::_ops::rand_generator_with_names::call(c10::fromIntArrayRefSlow(size), generator, names, c10::optTypeMetaToScalarType(options.dtype_opt()), options.layout_opt(), options.device_opt(), options.pinned_memory_opt()); +} +namespace symint { + template ::value>> + at::Tensor rand(at::IntArrayRef size, c10::optional generator, c10::optional names, at::TensorOptions options={}) { + return at::_ops::rand_generator_with_names::call(c10::fromIntArrayRefSlow(size), generator, names, c10::optTypeMetaToScalarType(options.dtype_opt()), options.layout_opt(), options.device_opt(), options.pinned_memory_opt()); + } +} + +// aten::rand.generator_with_names(SymInt[] size, *, Generator? generator, Dimname[]? names, ScalarType? dtype=None, Layout? layout=None, Device? device=None, bool? pin_memory=None) -> Tensor +inline at::Tensor rand(at::IntArrayRef size, c10::optional generator, c10::optional names, c10::optional dtype, c10::optional layout, c10::optional device, c10::optional pin_memory) { + return at::_ops::rand_generator_with_names::call(c10::fromIntArrayRefSlow(size), generator, names, dtype, layout, device, pin_memory); +} +namespace symint { + template ::value>> + at::Tensor rand(at::IntArrayRef size, c10::optional generator, c10::optional names, c10::optional dtype, c10::optional layout, c10::optional device, c10::optional pin_memory) { + return at::_ops::rand_generator_with_names::call(c10::fromIntArrayRefSlow(size), generator, names, dtype, layout, device, pin_memory); + } +} + +// aten::rand.generator_with_names(SymInt[] size, *, Generator? generator, Dimname[]? names, ScalarType? dtype=None, Layout? layout=None, Device? device=None, bool? pin_memory=None) -> Tensor +inline at::Tensor rand_symint(c10::SymIntArrayRef size, c10::optional generator, c10::optional names, at::TensorOptions options={}) { + return at::_ops::rand_generator_with_names::call(size, generator, names, c10::optTypeMetaToScalarType(options.dtype_opt()), options.layout_opt(), options.device_opt(), options.pinned_memory_opt()); +} +namespace symint { + template ::value>> + at::Tensor rand(c10::SymIntArrayRef size, c10::optional generator, c10::optional names, at::TensorOptions options={}) { + return at::_ops::rand_generator_with_names::call(size, generator, names, c10::optTypeMetaToScalarType(options.dtype_opt()), options.layout_opt(), options.device_opt(), options.pinned_memory_opt()); + } +} + +// aten::rand.generator_with_names(SymInt[] size, *, Generator? generator, Dimname[]? names, ScalarType? dtype=None, Layout? layout=None, Device? device=None, bool? pin_memory=None) -> Tensor +inline at::Tensor rand_symint(c10::SymIntArrayRef size, c10::optional generator, c10::optional names, c10::optional dtype, c10::optional layout, c10::optional device, c10::optional pin_memory) { + return at::_ops::rand_generator_with_names::call(size, generator, names, dtype, layout, device, pin_memory); +} +namespace symint { + template ::value>> + at::Tensor rand(c10::SymIntArrayRef size, c10::optional generator, c10::optional names, c10::optional dtype, c10::optional layout, c10::optional device, c10::optional pin_memory) { + return at::_ops::rand_generator_with_names::call(size, generator, names, dtype, layout, device, pin_memory); + } +} + +// aten::rand(SymInt[] size, *, ScalarType? dtype=None, Layout? layout=None, Device? device=None, bool? pin_memory=None) -> Tensor +inline at::Tensor rand(at::IntArrayRef size, at::TensorOptions options={}) { + return at::_ops::rand::call(c10::fromIntArrayRefSlow(size), c10::optTypeMetaToScalarType(options.dtype_opt()), options.layout_opt(), options.device_opt(), options.pinned_memory_opt()); +} +namespace symint { + template ::value>> + at::Tensor rand(at::IntArrayRef size, at::TensorOptions options={}) { + return at::_ops::rand::call(c10::fromIntArrayRefSlow(size), c10::optTypeMetaToScalarType(options.dtype_opt()), options.layout_opt(), options.device_opt(), options.pinned_memory_opt()); + } +} + +// aten::rand(SymInt[] size, *, ScalarType? dtype=None, Layout? layout=None, Device? device=None, bool? pin_memory=None) -> Tensor +inline at::Tensor rand(at::IntArrayRef size, c10::optional dtype, c10::optional layout, c10::optional device, c10::optional pin_memory) { + return at::_ops::rand::call(c10::fromIntArrayRefSlow(size), dtype, layout, device, pin_memory); +} +namespace symint { + template ::value>> + at::Tensor rand(at::IntArrayRef size, c10::optional dtype, c10::optional layout, c10::optional device, c10::optional pin_memory) { + return at::_ops::rand::call(c10::fromIntArrayRefSlow(size), dtype, layout, device, pin_memory); + } +} + +// aten::rand(SymInt[] size, *, ScalarType? dtype=None, Layout? layout=None, Device? device=None, bool? pin_memory=None) -> Tensor +inline at::Tensor rand_symint(c10::SymIntArrayRef size, at::TensorOptions options={}) { + return at::_ops::rand::call(size, c10::optTypeMetaToScalarType(options.dtype_opt()), options.layout_opt(), options.device_opt(), options.pinned_memory_opt()); +} +namespace symint { + template ::value>> + at::Tensor rand(c10::SymIntArrayRef size, at::TensorOptions options={}) { + return at::_ops::rand::call(size, c10::optTypeMetaToScalarType(options.dtype_opt()), options.layout_opt(), options.device_opt(), options.pinned_memory_opt()); + } +} + +// aten::rand(SymInt[] size, *, ScalarType? dtype=None, Layout? layout=None, Device? device=None, bool? pin_memory=None) -> Tensor +inline at::Tensor rand_symint(c10::SymIntArrayRef size, c10::optional dtype, c10::optional layout, c10::optional device, c10::optional pin_memory) { + return at::_ops::rand::call(size, dtype, layout, device, pin_memory); +} +namespace symint { + template ::value>> + at::Tensor rand(c10::SymIntArrayRef size, c10::optional dtype, c10::optional layout, c10::optional device, c10::optional pin_memory) { + return at::_ops::rand::call(size, dtype, layout, device, pin_memory); + } +} + +// aten::rand.generator(SymInt[] size, *, Generator? generator, ScalarType? dtype=None, Layout? layout=None, Device? device=None, bool? pin_memory=None) -> Tensor +inline at::Tensor rand(at::IntArrayRef size, c10::optional generator, at::TensorOptions options={}) { + return at::_ops::rand_generator::call(c10::fromIntArrayRefSlow(size), generator, c10::optTypeMetaToScalarType(options.dtype_opt()), options.layout_opt(), options.device_opt(), options.pinned_memory_opt()); +} +namespace symint { + template ::value>> + at::Tensor rand(at::IntArrayRef size, c10::optional generator, at::TensorOptions options={}) { + return at::_ops::rand_generator::call(c10::fromIntArrayRefSlow(size), generator, c10::optTypeMetaToScalarType(options.dtype_opt()), options.layout_opt(), options.device_opt(), options.pinned_memory_opt()); + } +} + +// aten::rand.generator(SymInt[] size, *, Generator? generator, ScalarType? dtype=None, Layout? layout=None, Device? device=None, bool? pin_memory=None) -> Tensor +inline at::Tensor rand(at::IntArrayRef size, c10::optional generator, c10::optional dtype, c10::optional layout, c10::optional device, c10::optional pin_memory) { + return at::_ops::rand_generator::call(c10::fromIntArrayRefSlow(size), generator, dtype, layout, device, pin_memory); +} +namespace symint { + template ::value>> + at::Tensor rand(at::IntArrayRef size, c10::optional generator, c10::optional dtype, c10::optional layout, c10::optional device, c10::optional pin_memory) { + return at::_ops::rand_generator::call(c10::fromIntArrayRefSlow(size), generator, dtype, layout, device, pin_memory); + } +} + +// aten::rand.generator(SymInt[] size, *, Generator? generator, ScalarType? dtype=None, Layout? layout=None, Device? device=None, bool? pin_memory=None) -> Tensor +inline at::Tensor rand_symint(c10::SymIntArrayRef size, c10::optional generator, at::TensorOptions options={}) { + return at::_ops::rand_generator::call(size, generator, c10::optTypeMetaToScalarType(options.dtype_opt()), options.layout_opt(), options.device_opt(), options.pinned_memory_opt()); +} +namespace symint { + template ::value>> + at::Tensor rand(c10::SymIntArrayRef size, c10::optional generator, at::TensorOptions options={}) { + return at::_ops::rand_generator::call(size, generator, c10::optTypeMetaToScalarType(options.dtype_opt()), options.layout_opt(), options.device_opt(), options.pinned_memory_opt()); + } +} + +// aten::rand.generator(SymInt[] size, *, Generator? generator, ScalarType? dtype=None, Layout? layout=None, Device? device=None, bool? pin_memory=None) -> Tensor +inline at::Tensor rand_symint(c10::SymIntArrayRef size, c10::optional generator, c10::optional dtype, c10::optional layout, c10::optional device, c10::optional pin_memory) { + return at::_ops::rand_generator::call(size, generator, dtype, layout, device, pin_memory); +} +namespace symint { + template ::value>> + at::Tensor rand(c10::SymIntArrayRef size, c10::optional generator, c10::optional dtype, c10::optional layout, c10::optional device, c10::optional pin_memory) { + return at::_ops::rand_generator::call(size, generator, dtype, layout, device, pin_memory); + } +} + +// aten::rand.out(SymInt[] size, *, Tensor(a!) out) -> Tensor(a!) +inline at::Tensor & rand_out(at::Tensor & out, at::IntArrayRef size) { + return at::_ops::rand_out::call(c10::fromIntArrayRefSlow(size), out); +} +namespace symint { + template ::value>> + at::Tensor & rand_out(at::Tensor & out, at::IntArrayRef size) { + return at::_ops::rand_out::call(c10::fromIntArrayRefSlow(size), out); + } +} + +// aten::rand.out(SymInt[] size, *, Tensor(a!) out) -> Tensor(a!) +inline at::Tensor & rand_outf(at::IntArrayRef size, at::Tensor & out) { + return at::_ops::rand_out::call(c10::fromIntArrayRefSlow(size), out); +} +namespace symint { + template ::value>> + at::Tensor & rand_outf(at::IntArrayRef size, at::Tensor & out) { + return at::_ops::rand_out::call(c10::fromIntArrayRefSlow(size), out); + } +} + +// aten::rand.out(SymInt[] size, *, Tensor(a!) out) -> Tensor(a!) +inline at::Tensor & rand_symint_out(at::Tensor & out, c10::SymIntArrayRef size) { + return at::_ops::rand_out::call(size, out); +} +namespace symint { + template ::value>> + at::Tensor & rand_out(at::Tensor & out, c10::SymIntArrayRef size) { + return at::_ops::rand_out::call(size, out); + } +} + +// aten::rand.out(SymInt[] size, *, Tensor(a!) out) -> Tensor(a!) +inline at::Tensor & rand_symint_outf(c10::SymIntArrayRef size, at::Tensor & out) { + return at::_ops::rand_out::call(size, out); +} +namespace symint { + template ::value>> + at::Tensor & rand_outf(c10::SymIntArrayRef size, at::Tensor & out) { + return at::_ops::rand_out::call(size, out); + } +} + +// aten::rand.generator_out(SymInt[] size, *, Generator? generator, Tensor(a!) out) -> Tensor(a!) +inline at::Tensor & rand_out(at::Tensor & out, at::IntArrayRef size, c10::optional generator) { + return at::_ops::rand_generator_out::call(c10::fromIntArrayRefSlow(size), generator, out); +} +namespace symint { + template ::value>> + at::Tensor & rand_out(at::Tensor & out, at::IntArrayRef size, c10::optional generator) { + return at::_ops::rand_generator_out::call(c10::fromIntArrayRefSlow(size), generator, out); + } +} + +// aten::rand.generator_out(SymInt[] size, *, Generator? generator, Tensor(a!) out) -> Tensor(a!) +inline at::Tensor & rand_outf(at::IntArrayRef size, c10::optional generator, at::Tensor & out) { + return at::_ops::rand_generator_out::call(c10::fromIntArrayRefSlow(size), generator, out); +} +namespace symint { + template ::value>> + at::Tensor & rand_outf(at::IntArrayRef size, c10::optional generator, at::Tensor & out) { + return at::_ops::rand_generator_out::call(c10::fromIntArrayRefSlow(size), generator, out); + } +} + +// aten::rand.generator_out(SymInt[] size, *, Generator? generator, Tensor(a!) out) -> Tensor(a!) +inline at::Tensor & rand_symint_out(at::Tensor & out, c10::SymIntArrayRef size, c10::optional generator) { + return at::_ops::rand_generator_out::call(size, generator, out); +} +namespace symint { + template ::value>> + at::Tensor & rand_out(at::Tensor & out, c10::SymIntArrayRef size, c10::optional generator) { + return at::_ops::rand_generator_out::call(size, generator, out); + } +} + +// aten::rand.generator_out(SymInt[] size, *, Generator? generator, Tensor(a!) out) -> Tensor(a!) +inline at::Tensor & rand_symint_outf(c10::SymIntArrayRef size, c10::optional generator, at::Tensor & out) { + return at::_ops::rand_generator_out::call(size, generator, out); +} +namespace symint { + template ::value>> + at::Tensor & rand_outf(c10::SymIntArrayRef size, c10::optional generator, at::Tensor & out) { + return at::_ops::rand_generator_out::call(size, generator, out); + } +} + +// aten::rand.names_out(SymInt[] size, *, Dimname[]? names, Tensor(a!) out) -> Tensor(a!) +inline at::Tensor & rand_out(at::Tensor & out, at::IntArrayRef size, c10::optional names) { + return at::_ops::rand_names_out::call(c10::fromIntArrayRefSlow(size), names, out); +} +namespace symint { + template ::value>> + at::Tensor & rand_out(at::Tensor & out, at::IntArrayRef size, c10::optional names) { + return at::_ops::rand_names_out::call(c10::fromIntArrayRefSlow(size), names, out); + } +} + +// aten::rand.names_out(SymInt[] size, *, Dimname[]? names, Tensor(a!) out) -> Tensor(a!) +inline at::Tensor & rand_outf(at::IntArrayRef size, c10::optional names, at::Tensor & out) { + return at::_ops::rand_names_out::call(c10::fromIntArrayRefSlow(size), names, out); +} +namespace symint { + template ::value>> + at::Tensor & rand_outf(at::IntArrayRef size, c10::optional names, at::Tensor & out) { + return at::_ops::rand_names_out::call(c10::fromIntArrayRefSlow(size), names, out); + } +} + +// aten::rand.names_out(SymInt[] size, *, Dimname[]? names, Tensor(a!) out) -> Tensor(a!) +inline at::Tensor & rand_symint_out(at::Tensor & out, c10::SymIntArrayRef size, c10::optional names) { + return at::_ops::rand_names_out::call(size, names, out); +} +namespace symint { + template ::value>> + at::Tensor & rand_out(at::Tensor & out, c10::SymIntArrayRef size, c10::optional names) { + return at::_ops::rand_names_out::call(size, names, out); + } +} + +// aten::rand.names_out(SymInt[] size, *, Dimname[]? names, Tensor(a!) out) -> Tensor(a!) +inline at::Tensor & rand_symint_outf(c10::SymIntArrayRef size, c10::optional names, at::Tensor & out) { + return at::_ops::rand_names_out::call(size, names, out); +} +namespace symint { + template ::value>> + at::Tensor & rand_outf(c10::SymIntArrayRef size, c10::optional names, at::Tensor & out) { + return at::_ops::rand_names_out::call(size, names, out); + } +} + +// aten::rand.generator_with_names_out(SymInt[] size, *, Generator? generator, Dimname[]? names, Tensor(a!) out) -> Tensor(a!) +inline at::Tensor & rand_out(at::Tensor & out, at::IntArrayRef size, c10::optional generator, c10::optional names) { + return at::_ops::rand_generator_with_names_out::call(c10::fromIntArrayRefSlow(size), generator, names, out); +} +namespace symint { + template ::value>> + at::Tensor & rand_out(at::Tensor & out, at::IntArrayRef size, c10::optional generator, c10::optional names) { + return at::_ops::rand_generator_with_names_out::call(c10::fromIntArrayRefSlow(size), generator, names, out); + } +} + +// aten::rand.generator_with_names_out(SymInt[] size, *, Generator? generator, Dimname[]? names, Tensor(a!) out) -> Tensor(a!) +inline at::Tensor & rand_outf(at::IntArrayRef size, c10::optional generator, c10::optional names, at::Tensor & out) { + return at::_ops::rand_generator_with_names_out::call(c10::fromIntArrayRefSlow(size), generator, names, out); +} +namespace symint { + template ::value>> + at::Tensor & rand_outf(at::IntArrayRef size, c10::optional generator, c10::optional names, at::Tensor & out) { + return at::_ops::rand_generator_with_names_out::call(c10::fromIntArrayRefSlow(size), generator, names, out); + } +} + +// aten::rand.generator_with_names_out(SymInt[] size, *, Generator? generator, Dimname[]? names, Tensor(a!) out) -> Tensor(a!) +inline at::Tensor & rand_symint_out(at::Tensor & out, c10::SymIntArrayRef size, c10::optional generator, c10::optional names) { + return at::_ops::rand_generator_with_names_out::call(size, generator, names, out); +} +namespace symint { + template ::value>> + at::Tensor & rand_out(at::Tensor & out, c10::SymIntArrayRef size, c10::optional generator, c10::optional names) { + return at::_ops::rand_generator_with_names_out::call(size, generator, names, out); + } +} + +// aten::rand.generator_with_names_out(SymInt[] size, *, Generator? generator, Dimname[]? names, Tensor(a!) out) -> Tensor(a!) +inline at::Tensor & rand_symint_outf(c10::SymIntArrayRef size, c10::optional generator, c10::optional names, at::Tensor & out) { + return at::_ops::rand_generator_with_names_out::call(size, generator, names, out); +} +namespace symint { + template ::value>> + at::Tensor & rand_outf(c10::SymIntArrayRef size, c10::optional generator, c10::optional names, at::Tensor & out) { + return at::_ops::rand_generator_with_names_out::call(size, generator, names, out); + } +} + +} diff --git a/shared/package-files/8a/8ab4cffe3d49a12f9b3d73dd1cd38ea19910eab7481e7f205e67ab185c0170e6/rsqrt_native.h b/shared/package-files/8a/8ab4cffe3d49a12f9b3d73dd1cd38ea19910eab7481e7f205e67ab185c0170e6/rsqrt_native.h new file mode 100644 index 0000000000000000000000000000000000000000..11544287b35d17defec854b95e08f0a1c34b767e --- /dev/null +++ b/shared/package-files/8a/8ab4cffe3d49a12f9b3d73dd1cd38ea19910eab7481e7f205e67ab185c0170e6/rsqrt_native.h @@ -0,0 +1,23 @@ +#pragma once + +// @generated by torchgen/gen.py from NativeFunction.h + +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include + +namespace at { +namespace native { +struct TORCH_API structured_rsqrt_out : public at::meta::structured_rsqrt { +void impl(const at::Tensor & self, const at::Tensor & out); +}; +} // namespace native +} // namespace at diff --git a/shared/package-files/8a/8ab560e06f1f884e9b28034fc04ee5691fdb435b366a35ced530b1cf5f96f429/softplus_backward_cpu_dispatch.h b/shared/package-files/8a/8ab560e06f1f884e9b28034fc04ee5691fdb435b366a35ced530b1cf5f96f429/softplus_backward_cpu_dispatch.h new file mode 100644 index 0000000000000000000000000000000000000000..b4824333ef112b5ac7643569e435d406e15172dc --- /dev/null +++ b/shared/package-files/8a/8ab560e06f1f884e9b28034fc04ee5691fdb435b366a35ced530b1cf5f96f429/softplus_backward_cpu_dispatch.h @@ -0,0 +1,25 @@ +#pragma once +// @generated by torchgen/gen.py from DispatchKeyFunction.h + +// NB: The implementing C++ file is RegisterDispatchKey.cpp + +// The only #includes we need are for custom classes that have defaults in the C++ API +#include +#include +#include + +// Forward declarations of any types needed in the operator signatures. +// We can't directly include these classes because it will cause circular include dependencies. +// This file is included by TensorBody.h, which defines the Tensor class. +#include + +namespace at { + +namespace cpu { + +TORCH_API at::Tensor softplus_backward(const at::Tensor & grad_output, const at::Tensor & self, const at::Scalar & beta, const at::Scalar & threshold); +TORCH_API at::Tensor & softplus_backward_out(at::Tensor & grad_input, const at::Tensor & grad_output, const at::Tensor & self, const at::Scalar & beta, const at::Scalar & threshold); +TORCH_API at::Tensor & softplus_backward_outf(const at::Tensor & grad_output, const at::Tensor & self, const at::Scalar & beta, const at::Scalar & threshold, at::Tensor & grad_input); + +} // namespace cpu +} // namespace at diff --git a/shared/package-files/8a/8ab5ff9c30fe05760e6da76ebbfbe13ded45df5c6680bdfae1d48e693fce55ca/Malta b/shared/package-files/8a/8ab5ff9c30fe05760e6da76ebbfbe13ded45df5c6680bdfae1d48e693fce55ca/Malta new file mode 100644 index 0000000000000000000000000000000000000000..27539c2243ff2c6be1fe890995485be2df39bf77 Binary files /dev/null and b/shared/package-files/8a/8ab5ff9c30fe05760e6da76ebbfbe13ded45df5c6680bdfae1d48e693fce55ca/Malta differ diff --git a/shared/package-files/8a/8ab720f190ee39ccbe55b3ebd231dc047081e5fc994530e69e829b0dd2d68978/dstack.h b/shared/package-files/8a/8ab720f190ee39ccbe55b3ebd231dc047081e5fc994530e69e829b0dd2d68978/dstack.h new file mode 100644 index 0000000000000000000000000000000000000000..7d8763a9e099dd2be9ba2267348b81093d5d2eff --- /dev/null +++ b/shared/package-files/8a/8ab720f190ee39ccbe55b3ebd231dc047081e5fc994530e69e829b0dd2d68978/dstack.h @@ -0,0 +1,39 @@ +#pragma once + +// @generated by torchgen/gen.py from Function.h + +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include + + + +#include + +namespace at { + + +// aten::dstack(Tensor[] tensors) -> Tensor +inline at::Tensor dstack(at::TensorList tensors) { + return at::_ops::dstack::call(tensors); +} + +// aten::dstack.out(Tensor[] tensors, *, Tensor(a!) out) -> Tensor(a!) +inline at::Tensor & dstack_out(at::Tensor & out, at::TensorList tensors) { + return at::_ops::dstack_out::call(tensors, out); +} +// aten::dstack.out(Tensor[] tensors, *, Tensor(a!) out) -> Tensor(a!) +inline at::Tensor & dstack_outf(at::TensorList tensors, at::Tensor & out) { + return at::_ops::dstack_out::call(tensors, out); +} + +} diff --git a/shared/package-files/8a/8abcdeabc45cda6985daccb6431779c2e71605f2e0b185105f064ce29d29b381/python-3.10.pc b/shared/package-files/8a/8abcdeabc45cda6985daccb6431779c2e71605f2e0b185105f064ce29d29b381/python-3.10.pc new file mode 100644 index 0000000000000000000000000000000000000000..eee3ac5aa4230dc83053beeb12799e3f614da9fd --- /dev/null +++ b/shared/package-files/8a/8abcdeabc45cda6985daccb6431779c2e71605f2e0b185105f064ce29d29b381/python-3.10.pc @@ -0,0 +1,13 @@ +# See: man pkg-config +prefix=/opt/conda +exec_prefix=${prefix} +libdir=${exec_prefix}/lib +includedir=${prefix}/include + +Name: Python +Description: Build a C extension for Python +Requires: +Version: 3.10 +Libs.private: -lcrypt -lpthread -ldl -lutil -lm +Libs: +Cflags: -I${includedir}/python3.10 diff --git a/shared/package-files/8a/8abcdeabc45cda6985daccb6431779c2e71605f2e0b185105f064ce29d29b381/python3.pc b/shared/package-files/8a/8abcdeabc45cda6985daccb6431779c2e71605f2e0b185105f064ce29d29b381/python3.pc new file mode 100644 index 0000000000000000000000000000000000000000..eee3ac5aa4230dc83053beeb12799e3f614da9fd --- /dev/null +++ b/shared/package-files/8a/8abcdeabc45cda6985daccb6431779c2e71605f2e0b185105f064ce29d29b381/python3.pc @@ -0,0 +1,13 @@ +# See: man pkg-config +prefix=/opt/conda +exec_prefix=${prefix} +libdir=${exec_prefix}/lib +includedir=${prefix}/include + +Name: Python +Description: Build a C extension for Python +Requires: +Version: 3.10 +Libs.private: -lcrypt -lpthread -ldl -lutil -lm +Libs: +Cflags: -I${includedir}/python3.10 diff --git a/shared/package-files/8a/8abfb289af04b27a9f069f4cbe9182dd63f6c10690010ce53c6e3c891ea5e3e1/base.py b/shared/package-files/8a/8abfb289af04b27a9f069f4cbe9182dd63f6c10690010ce53c6e3c891ea5e3e1/base.py new file mode 100644 index 0000000000000000000000000000000000000000..316c86d152db32048f4de154ead0ec8fc76ec027 --- /dev/null +++ b/shared/package-files/8a/8abfb289af04b27a9f069f4cbe9182dd63f6c10690010ce53c6e3c891ea5e3e1/base.py @@ -0,0 +1,266 @@ +from __future__ import annotations + +import abc +from typing import ( + TYPE_CHECKING, + Callable, + Literal, +) + +from pandas._libs import lib + +if TYPE_CHECKING: + from collections.abc import Sequence + import re + + from pandas._typing import Scalar + + from pandas import Series + + +class BaseStringArrayMethods(abc.ABC): + """ + Base class for extension arrays implementing string methods. + + This is where our ExtensionArrays can override the implementation of + Series.str.. We don't expect this to work with + 3rd-party extension arrays. + + * User calls Series.str. + * pandas extracts the extension array from the Series + * pandas calls ``extension_array._str_(*args, **kwargs)`` + * pandas wraps the result, to return to the user. + + See :ref:`Series.str` for the docstring of each method. + """ + + def _str_getitem(self, key): + if isinstance(key, slice): + return self._str_slice(start=key.start, stop=key.stop, step=key.step) + else: + return self._str_get(key) + + @abc.abstractmethod + def _str_count(self, pat, flags: int = 0): + pass + + @abc.abstractmethod + def _str_pad( + self, + width: int, + side: Literal["left", "right", "both"] = "left", + fillchar: str = " ", + ): + pass + + @abc.abstractmethod + def _str_contains( + self, pat, case: bool = True, flags: int = 0, na=None, regex: bool = True + ): + pass + + @abc.abstractmethod + def _str_startswith(self, pat, na=None): + pass + + @abc.abstractmethod + def _str_endswith(self, pat, na=None): + pass + + @abc.abstractmethod + def _str_replace( + self, + pat: str | re.Pattern, + repl: str | Callable, + n: int = -1, + case: bool = True, + flags: int = 0, + regex: bool = True, + ): + pass + + @abc.abstractmethod + def _str_repeat(self, repeats: int | Sequence[int]): + pass + + @abc.abstractmethod + def _str_match( + self, + pat: str, + case: bool = True, + flags: int = 0, + na: Scalar | lib.NoDefault = lib.no_default, + ): + pass + + @abc.abstractmethod + def _str_fullmatch( + self, + pat: str | re.Pattern, + case: bool = True, + flags: int = 0, + na: Scalar | lib.NoDefault = lib.no_default, + ): + pass + + @abc.abstractmethod + def _str_encode(self, encoding, errors: str = "strict"): + pass + + @abc.abstractmethod + def _str_find(self, sub, start: int = 0, end=None): + pass + + @abc.abstractmethod + def _str_rfind(self, sub, start: int = 0, end=None): + pass + + @abc.abstractmethod + def _str_findall(self, pat, flags: int = 0): + pass + + @abc.abstractmethod + def _str_get(self, i): + pass + + @abc.abstractmethod + def _str_index(self, sub, start: int = 0, end=None): + pass + + @abc.abstractmethod + def _str_rindex(self, sub, start: int = 0, end=None): + pass + + @abc.abstractmethod + def _str_join(self, sep: str): + pass + + @abc.abstractmethod + def _str_partition(self, sep: str, expand): + pass + + @abc.abstractmethod + def _str_rpartition(self, sep: str, expand): + pass + + @abc.abstractmethod + def _str_len(self): + pass + + @abc.abstractmethod + def _str_slice(self, start=None, stop=None, step=None): + pass + + @abc.abstractmethod + def _str_slice_replace(self, start=None, stop=None, repl=None): + pass + + @abc.abstractmethod + def _str_translate(self, table): + pass + + @abc.abstractmethod + def _str_wrap(self, width: int, **kwargs): + pass + + @abc.abstractmethod + def _str_get_dummies(self, sep: str = "|"): + pass + + @abc.abstractmethod + def _str_isalnum(self): + pass + + @abc.abstractmethod + def _str_isalpha(self): + pass + + @abc.abstractmethod + def _str_isdecimal(self): + pass + + @abc.abstractmethod + def _str_isdigit(self): + pass + + @abc.abstractmethod + def _str_islower(self): + pass + + @abc.abstractmethod + def _str_isnumeric(self): + pass + + @abc.abstractmethod + def _str_isspace(self): + pass + + @abc.abstractmethod + def _str_istitle(self): + pass + + @abc.abstractmethod + def _str_isupper(self): + pass + + @abc.abstractmethod + def _str_capitalize(self): + pass + + @abc.abstractmethod + def _str_casefold(self): + pass + + @abc.abstractmethod + def _str_title(self): + pass + + @abc.abstractmethod + def _str_swapcase(self): + pass + + @abc.abstractmethod + def _str_lower(self): + pass + + @abc.abstractmethod + def _str_upper(self): + pass + + @abc.abstractmethod + def _str_normalize(self, form): + pass + + @abc.abstractmethod + def _str_strip(self, to_strip=None): + pass + + @abc.abstractmethod + def _str_lstrip(self, to_strip=None): + pass + + @abc.abstractmethod + def _str_rstrip(self, to_strip=None): + pass + + @abc.abstractmethod + def _str_removeprefix(self, prefix: str) -> Series: + pass + + @abc.abstractmethod + def _str_removesuffix(self, suffix: str) -> Series: + pass + + @abc.abstractmethod + def _str_split( + self, pat=None, n=-1, expand: bool = False, regex: bool | None = None + ): + pass + + @abc.abstractmethod + def _str_rsplit(self, pat=None, n=-1): + pass + + @abc.abstractmethod + def _str_extract(self, pat: str, flags: int = 0, expand: bool = True): + pass diff --git a/shared/package-files/8a/8ac237e7e826ec7aa7d908a793984fd571d6961e766b9bf02a111d5bf091be21/cpu_avx512_icl.c b/shared/package-files/8a/8ac237e7e826ec7aa7d908a793984fd571d6961e766b9bf02a111d5bf091be21/cpu_avx512_icl.c new file mode 100644 index 0000000000000000000000000000000000000000..3cf44d73164b6a80eca5f23f699bd00dba1f623e --- /dev/null +++ b/shared/package-files/8a/8ac237e7e826ec7aa7d908a793984fd571d6961e766b9bf02a111d5bf091be21/cpu_avx512_icl.c @@ -0,0 +1,26 @@ +#if defined(DETECT_FEATURES) && defined(__INTEL_COMPILER) + /* + * Unlike GCC and CLANG, Intel Compiler exposes all supported intrinsics, + * whether or not the build options for those features are specified. + * Therefore, we must test #definitions of CPU features when option native/host + * is enabled via `--cpu-baseline` or through env var `CFLAGS` otherwise + * the test will be broken and leads to enable all possible features. + */ + #if !defined(__AVX512VPOPCNTDQ__) || !defined(__AVX512BITALG__) || !defined(__AVX512VPOPCNTDQ__) + #error "HOST/ARCH doesn't support IceLake AVX512 features" + #endif +#endif + +#include + +int main(int argc, char **argv) +{ + __m512i a = _mm512_loadu_si512((const __m512i*)argv[argc-1]); + /* VBMI2 */ + a = _mm512_shrdv_epi64(a, a, _mm512_setzero_si512()); + /* BITLAG */ + a = _mm512_popcnt_epi8(a); + /* VPOPCNTDQ */ + a = _mm512_popcnt_epi64(a); + return _mm_cvtsi128_si32(_mm512_castsi512_si128(a)); +} diff --git a/shared/package-files/8a/8aca1eb3bc10955e068e20408044b57aefe10c9e59ecd9f5783228faf2530676/tensor.h b/shared/package-files/8a/8aca1eb3bc10955e068e20408044b57aefe10c9e59ecd9f5783228faf2530676/tensor.h new file mode 100644 index 0000000000000000000000000000000000000000..2f72b7ef02637983d35f5049bdb6d1bd613cd2bd --- /dev/null +++ b/shared/package-files/8a/8aca1eb3bc10955e068e20408044b57aefe10c9e59ecd9f5783228faf2530676/tensor.h @@ -0,0 +1,30 @@ +#pragma once +#include +#include + +namespace at { + +// These functions are defined in ATen/Utils.cpp. +#define TENSOR(T, S) \ + TORCH_API Tensor tensor(ArrayRef values, const TensorOptions& options); \ + inline Tensor tensor( \ + std::initializer_list values, const TensorOptions& options) { \ + return at::tensor(ArrayRef(values), options); \ + } \ + inline Tensor tensor(T value, const TensorOptions& options) { \ + return at::tensor(ArrayRef(value), options); \ + } \ + inline Tensor tensor(ArrayRef values) { \ + return at::tensor(std::move(values), at::dtype(k##S)); \ + } \ + inline Tensor tensor(std::initializer_list values) { \ + return at::tensor(ArrayRef(values)); \ + } \ + inline Tensor tensor(T value) { \ + return at::tensor(ArrayRef(value)); \ + } +AT_FORALL_SCALAR_TYPES_AND3(Bool, Half, BFloat16, TENSOR) +AT_FORALL_COMPLEX_TYPES(TENSOR) +#undef TENSOR + +} // namespace at diff --git a/shared/package-files/8a/8acd980519759e51eb89690fc9d7287d879ed6e6f2ef31751e0ee5a3bd509560/EXPERIMENTS.md b/shared/package-files/8a/8acd980519759e51eb89690fc9d7287d879ed6e6f2ef31751e0ee5a3bd509560/EXPERIMENTS.md new file mode 100644 index 0000000000000000000000000000000000000000..201a07621bb6528d54a47adb085474d39a1e05f4 --- /dev/null +++ b/shared/package-files/8a/8acd980519759e51eb89690fc9d7287d879ed6e6f2ef31751e0ee5a3bd509560/EXPERIMENTS.md @@ -0,0 +1,10420 @@ +# Experiments + +All learned weights are initialized here from scratch. Validation windows are used only for selection and diagnostics. Screen evaluations span all 97 configurations, sampling at most 192 instances per configuration with seed 2026 and recomputing Seasonal Naive on exactly that subset. Full validation uses the supplied reference. Neither scale is the held-out reward scale. + +## E0: contract bootstrap +- Hypothesis: maintain a runnable package while training the first candidate. +- Changed factor: none; provided Seasonal Naive formula, with no learned parameters. +- Seed: deterministic. Measured compute: no training. +- Checkpoint hash: not applicable. +- Outcome: provisional package published with atomic directory exchange. + +## E1: direct long-horizon quantile forecasting +- Hypothesis: a direct horizon objective and explicit seasonal context features reduce long-horizon median drift and the underestimation of uncertainty from short-patch autoregression. +- Changed factors relative to the supplied baseline: 6,758,720-parameter encoder/decoder (4 encoder and 3 decoder layers, width 256), 32-point patches, variable 512–4096-point context, direct 32/128/512/1024-step objectives, monotone nine-quantile head. Context features contain recent levels, fixed damped slope and four-cycle primary/secondary seasonal averages; all weights are globally fixed at inference. +- Corpus: all 95 mounted allow-listed directories, deterministic source-capped sample totaling 958,745,103 points / 3.835 GB and 357,789 series. Shortest retained series: 16 points. At most eight shuffled shards per source, up to approximately 24M points/source. Series exceeding 131,072 points are cropped at a random position. Packing took under two minutes on six workers. +- Mixture: directory weight proportional to capped points^0.25, climate multiplier 0.35, low-frequency competition-source multiplier 3. Synthetic proportion 20%. Exact logic is in provenance/data.py. +- Synthetic generator: newly generated damped trends, Fourier seasonality, AR noise, intermittent demand and changepoints. No downloaded synthetic assets. +- Training seed: 17. AdamW 3e-4, batch 128, 400-step warmup, cosine decay, bf16, one H100. Run planned for 12,000 steps with snapshots every 1,000 steps. +- Control: randomly initialized model with zero output projection (fixed seasonal mixture and fixed initial interval widths) saved at step 0 to distinguish learning from the forecasting prior. +- Completed 12,000 steps in 349.9 seconds on one H100. Measured group skills, checkpoint hashes and outcomes are recorded below. + +## Known limits and next decisions +- This first run jointly changes the architecture and objective; it does not isolate their individual causal contributions. +- The initial corpus pack samples shuffled shards but takes early Arrow record batches within each selected shard. Later runs should test a wider source sample if validation plateaus. +- 10-second daily seasonality exceeds the 4,096-point encoder window. Longer fixed context summaries are a planned ablation after initial diagnostics. + +## E1 control, step 0, screening +- Checkpoint SHA-256: `81be0f24c44a558e29dffcabb4ac15ae3c944e1afe2860851683d155f920ec2f`. +- Evaluation: 97 configurations, 9473 instances, 0 failed configurations; 7.037512302398682 seconds. +- Overall skill 0.000921; relative MASE 1.194471; relative WQL 0.835649. +- term skill: long=0.0466, medium=0.0284, short=-0.0280. +- domain skill: Econ/Fin=-1.0735, Energy=-0.1019, Healthcare=-0.0966, Nature=0.2991, Sales=0.3167, Transport=0.2140, Web/CloudOps=-0.1294. +- frequency skill: A=-0.6469, D=0.1541, H=0.1205, M=-0.3393, Q=-0.5490, S=-2.2691, T=0.1079, W=-0.0412. +- variates skill: multivariate=0.0528, univariate=-0.0424. +- Outcome: Untrained seasonal-mixture prior barely exceeds Seasonal Naive overall and fails badly on 10-second and low-frequency configurations. + +## E1 step 1000, seed 17, screening +- Checkpoint SHA-256: `ebdd9eaa223c2bb6e38b8faec6f465a227fcd735b654a26f3b617a757addb0d3`. +- Evaluation: 97 configurations, 9473 instances, 0 failed configurations; 6.581991195678711 seconds. +- Overall skill 0.210443; relative MASE 0.932765; relative WQL 0.668336. +- term skill: long=0.2339, medium=0.2517, short=0.1848. +- domain skill: Econ/Fin=-0.1600, Energy=0.0730, Healthcare=-0.0312, Nature=0.3679, Sales=0.2919, Transport=0.3892, Web/CloudOps=0.2547. +- frequency skill: A=0.3078, D=0.2651, H=0.3157, M=-0.3962, Q=0.0682, S=-0.6697, T=0.2839, W=0.0983. +- variates skill: multivariate=0.2140, univariate=0.2076. +- Outcome: Improves the control by 0.2095 screening skill after about 34 seconds on one H100. Selected for first neural publication and full validation. + +## E1 step 1000, full validation +- Checkpoint SHA-256: `see model_manifest.json`. +- Evaluation: 97 configurations, 151170 instances, 0 failed configurations; not separately timed seconds. +- Overall skill 0.206132; relative MASE 0.931220; relative WQL 0.676774. +- term skill: long=0.2265, medium=0.2444, short=0.1829. +- domain skill: Econ/Fin=-0.1543, Energy=0.0590, Healthcare=-0.0112, Nature=0.3688, Sales=0.3043, Transport=0.3878, Web/CloudOps=0.2461. +- frequency skill: A=0.2746, D=0.2676, H=0.3116, M=-0.3493, Q=0.0397, S=-0.6697, T=0.2712, W=0.1025. +- variates skill: multivariate=0.2097, univariate=0.2033. +- Outcome: Full 151,170-instance validation skill 0.2061, with no failed configurations. Package inference took 29.5 seconds while training shared the sole GPU. First neural publication verified. + +## E1 step 2000, screening +- Checkpoint SHA-256: `a513ac4f03aceb93a860d5e5eca70010c0101fdea794df4a9a8ae472647fb9c9`. +- Evaluation: 97 configurations, 9473 instances, 0 failed configurations; 5.98806357383728 seconds. +- Overall skill 0.249671; relative MASE 0.890745; relative WQL 0.632048. +- term skill: long=0.2727, medium=0.2872, short=0.2257. +- domain skill: Econ/Fin=-0.0533, Energy=0.1151, Healthcare=0.1665, Nature=0.4084, Sales=0.2984, Transport=0.3867, Web/CloudOps=0.2855. +- frequency skill: A=0.3280, D=0.2894, H=0.3291, M=-0.1483, Q=0.1703, S=-0.4627, T=0.3239, W=0.1185. +- variates skill: multivariate=0.2588, univariate=0.2423. +- Outcome: Improves screening skill to 0.2497 after 66.8 seconds of training; candidate for replacement. + +## E1 step 3000, screening +- Checkpoint SHA-256: `74da538d2365426496a12c965c0c0cdc1d3962a798bd2e2c5fed950c1f663f30`. +- Evaluation: 97 configurations, 9473 instances, 0 failed configurations; 6.051600933074951 seconds. +- Overall skill 0.246085; relative MASE 0.894210; relative WQL 0.635631. +- term skill: long=0.2835, medium=0.2774, short=0.2187. +- domain skill: Econ/Fin=-0.1111, Energy=0.1198, Healthcare=-0.0532, Nature=0.3956, Sales=0.3188, Transport=0.4123, Web/CloudOps=0.3004. +- frequency skill: A=0.3478, D=0.2585, H=0.3298, M=-0.3174, Q=0.1517, S=-0.6889, T=0.3620, W=0.1126. +- variates skill: multivariate=0.2552, univariate=0.2388. +- Outcome: Slight regression to 0.2461 relative to step 2000. Negative checkpoint-selection result; not selected. + +## E2 fixed longer-history feature ablation, step 2000 seed 17 +- Checkpoint SHA-256: `25ac85db67c041c92870e2ea2e8b198bb768f5c5ed64f42b78d6ec207ffe3a18`. +- Evaluation: 97 configurations, 9473 instances, 0 failed configurations; 6.066685438156128 seconds. +- Overall skill 0.249089; relative MASE 0.890661; relative WQL 0.633088. +- term skill: long=0.2741, medium=0.2855, short=0.2248. +- domain skill: Econ/Fin=-0.0532, Energy=0.1146, Healthcare=0.1651, Nature=0.4048, Sales=0.2986, Transport=0.3880, Web/CloudOps=0.2859. +- frequency skill: A=0.3273, D=0.2892, H=0.3291, M=-0.1495, Q=0.1705, S=-0.4627, T=0.3228, W=0.1166. +- variates skill: multivariate=0.2572, univariate=0.2426. +- Outcome: No training. Changed only history available to seasonal summaries from 4,096 to 16,384 points, with the encoder unchanged. Skill decreased 0.24967 to 0.24909. Rejected. Validation 10-second histories are shorter than one daily cycle, so additional history cannot supply that feature. + +## E1 step 4000, screening +- Checkpoint SHA-256: `f1b4e5f798688a56a693daf799fa21e69ec21c9c1710cae8dafbdb833c9ee069`. +- Evaluation: 97 configurations, 9473 instances, 0 failed configurations; 5.961170196533203 seconds. +- Overall skill 0.266471; relative MASE 0.874789; relative WQL 0.615080. +- term skill: long=0.2537, medium=0.2846, short=0.2643. +- domain skill: Econ/Fin=-0.0360, Energy=0.1306, Healthcare=0.1810, Nature=0.3894, Sales=0.3301, Transport=0.4253, Web/CloudOps=0.3121. +- frequency skill: A=0.3647, D=0.2978, H=0.3375, M=-0.0981, Q=0.1458, S=-0.2890, T=0.3375, W=0.1196. +- variates skill: multivariate=0.2648, univariate=0.2678. +- Outcome: Best ungated checkpoint so far; improved short-horizon performance, with some long-horizon regression. + +## E1 step 6000, screening +- Checkpoint SHA-256: `f38cdb1b49938007c20bdfdfa7c4fc7d7aba6516192f388f37088891411eab7f`. +- Evaluation: 97 configurations, 9473 instances, 0 failed configurations; 6.802650451660156 seconds. +- Overall skill 0.258313; relative MASE 0.878300; relative WQL 0.626324. +- term skill: long=0.2951, medium=0.3035, short=0.2254. +- domain skill: Econ/Fin=-0.0599, Energy=0.1417, Healthcare=0.2750, Nature=0.3683, Sales=0.3181, Transport=0.4116, Web/CloudOps=0.2761. +- frequency skill: A=0.3490, D=0.2962, H=0.3475, M=-0.0679, Q=0.1442, S=-0.6390, T=0.3416, W=0.0785. +- variates skill: multivariate=0.2482, univariate=0.2662. +- Outcome: Overall regression relative to step 4000 despite improvement on medium and long horizons. Not selected by overall skill. + +## E3 seasonal confidence gate, step 4000 seed 17 +- Checkpoint SHA-256: `f1b4e5f798688a56a693daf799fa21e69ec21c9c1710cae8dafbdb833c9ee069`. +- Evaluation: 97 configurations, 9473 instances, 0 failed configurations; 9.475942373275757 seconds. +- Overall skill 0.301779; relative MASE 0.827721; relative WQL 0.588981. +- term skill: long=0.3338, medium=0.3656, short=0.2627. +- domain skill: Econ/Fin=-0.0087, Energy=0.1326, Healthcare=0.1954, Nature=0.3891, Sales=0.3285, Transport=0.4242, Web/CloudOps=0.4509. +- frequency skill: A=0.3647, D=0.2945, H=0.3455, M=-0.0632, Q=0.1395, S=0.3700, T=0.3389, W=0.1159. +- variates skill: multivariate=0.3379, univariate=0.2716. +- Outcome: No additional training. Fixed gate: weight=clip(1 - mean squared seasonal difference / (0.25 * context variance), 0, 0.98). Blend neural quantiles with a last-four-cycle seasonal mean and Gaussian intervals based on seasonal differences. Each instance uses only its own context; no optimized or adapted parameters. Skill increases 0.26647 to 0.30178; selected for full validation. + +## E3 step 4000 gate, full validation +- Checkpoint SHA-256: `see model_manifest.json`. +- Evaluation: 97 configurations, 151170 instances, 0 failed configurations; not separately timed seconds. +- Overall skill 0.296168; relative MASE 0.830141; relative WQL 0.596742. +- term skill: long=0.3262, medium=0.3621, short=0.2569. +- domain skill: Econ/Fin=-0.0444, Energy=0.1210, Healthcare=0.2106, Nature=0.3890, Sales=0.3389, Transport=0.4244, Web/CloudOps=0.4426. +- frequency skill: A=0.2806, D=0.2946, H=0.3404, M=-0.0364, Q=0.1048, S=0.3700, T=0.3291, W=0.1093. +- variates skill: multivariate=0.3332, univariate=0.2652. +- Outcome: Selected and published. Full validation skill 0.296168 versus 0.206132 for the initial neural package; no failures. Full inference took 39.8 seconds while sharing one GPU with training. This is validation skill, not a held-out reward claim. + +## E1 step 8000, seed 17, ungated screening +- Checkpoint SHA-256: `ebbae91cb50acf1b1436fcbcdce1637195dd6e5006580d3d8e94a4e102aed0ad`. +- Evaluation: 97 configurations, 9473 instances, 0 failed configurations; 5.500704050064087 seconds. +- Overall skill 0.276275; relative MASE 0.864160; relative WQL 0.606113. +- term skill: long=0.2954, medium=0.3094, short=0.2557. +- domain skill: Econ/Fin=-0.0085, Energy=0.1522, Healthcare=0.1826, Nature=0.3866, Sales=0.3192, Transport=0.4212, Web/CloudOps=0.3315. +- frequency skill: A=0.3679, D=0.3262, H=0.3533, M=-0.2016, Q=0.1316, S=-0.4192, T=0.3605, W=0.1103. +- variates skill: multivariate=0.2735, univariate=0.2785. +- Outcome: Included in final checkpoint selection; compare to weight-averaged result below. + +## E1 step 8000, seed 17, gated screening +- Checkpoint SHA-256: `ebbae91cb50acf1b1436fcbcdce1637195dd6e5006580d3d8e94a4e102aed0ad`. +- Evaluation: 97 configurations, 9473 instances, 0 failed configurations; 6.228765964508057 seconds. +- Overall skill 0.312772; relative MASE 0.813977; relative WQL 0.580216. +- term skill: long=0.3671, medium=0.3752, short=0.2645. +- domain skill: Econ/Fin=-0.0003, Energy=0.1512, Healthcare=0.1999, Nature=0.3863, Sales=0.3176, Transport=0.4184, Web/CloudOps=0.4791. +- frequency skill: A=0.3679, D=0.3227, H=0.3559, M=-0.1576, Q=0.1357, S=0.3651, T=0.3604, W=0.1062. +- variates skill: multivariate=0.3530, univariate=0.2790. +- Outcome: Included in final checkpoint selection; compare to weight-averaged result below. + +## E1 step 10000, seed 17, ungated screening +- Checkpoint SHA-256: `3845afb6035396030b9a5182037287db092814d68caa4c96a7c415eb1d3b3a0a`. +- Evaluation: 97 configurations, 9473 instances, 0 failed configurations; 6.094600439071655 seconds. +- Overall skill 0.285838; relative MASE 0.855761; relative WQL 0.595993. +- term skill: long=0.2974, medium=0.3249, short=0.2658. +- domain skill: Econ/Fin=0.0083, Energy=0.1537, Healthcare=0.1904, Nature=0.3858, Sales=0.3164, Transport=0.4217, Web/CloudOps=0.3674. +- frequency skill: A=0.3494, D=0.3058, H=0.3594, M=-0.1439, Q=0.1128, S=-0.2516, T=0.3685, W=0.1234. +- variates skill: multivariate=0.2917, univariate=0.2812. +- Outcome: Included in final checkpoint selection; compare to weight-averaged result below. + +## E1 step 10000, seed 17, gated screening +- Checkpoint SHA-256: `3845afb6035396030b9a5182037287db092814d68caa4c96a7c415eb1d3b3a0a`. +- Evaluation: 97 configurations, 9473 instances, 0 failed configurations; 7.704133749008179 seconds. +- Overall skill 0.317743; relative MASE 0.805746; relative WQL 0.577695. +- term skill: long=0.3656, medium=0.3815, short=0.2718. +- domain skill: Econ/Fin=0.0087, Energy=0.1540, Healthcare=0.2110, Nature=0.3855, Sales=0.3148, Transport=0.4194, Web/CloudOps=0.4916. +- frequency skill: A=0.3494, D=0.3033, H=0.3612, M=-0.1027, Q=0.1231, S=0.3756, T=0.3699, W=0.1199. +- variates skill: multivariate=0.3600, univariate=0.2821. +- Outcome: Included in final checkpoint selection; compare to weight-averaged result below. + +## E1 step 12000, seed 17, ungated screening +- Checkpoint SHA-256: `629130a69f89561219b286c1e805d89b8b4662fce0e4b75e731e8764d9066e98`. +- Evaluation: 97 configurations, 9473 instances, 0 failed configurations; 5.807793855667114 seconds. +- Overall skill 0.284471; relative MASE 0.856118; relative WQL 0.598027. +- term skill: long=0.2877, medium=0.3155, short=0.2710. +- domain skill: Econ/Fin=0.0294, Energy=0.1544, Healthcare=0.2252, Nature=0.3903, Sales=0.3151, Transport=0.4273, Web/CloudOps=0.3413. +- frequency skill: A=0.3430, D=0.3172, H=0.3585, M=-0.1807, Q=0.1231, S=-0.2708, T=0.3565, W=0.1685. +- variates skill: multivariate=0.2854, univariate=0.2837. +- Outcome: Included in final checkpoint selection; compare to weight-averaged result below. + +## E1 step 12000, seed 17, gated screening +- Checkpoint SHA-256: `629130a69f89561219b286c1e805d89b8b4662fce0e4b75e731e8764d9066e98`. +- Evaluation: 97 configurations, 9473 instances, 0 failed configurations; 7.750269889831543 seconds. +- Overall skill 0.315453; relative MASE 0.812477; relative WQL 0.576760. +- term skill: long=0.3585, medium=0.3794, short=0.2715. +- domain skill: Econ/Fin=0.0081, Energy=0.1534, Healthcare=0.2414, Nature=0.3899, Sales=0.3136, Transport=0.4251, Web/CloudOps=0.4722. +- frequency skill: A=0.3430, D=0.3141, H=0.3577, M=-0.1400, Q=0.1249, S=0.3722, T=0.3572, W=0.1641. +- variates skill: multivariate=0.3552, univariate=0.2820. +- Outcome: Included in final checkpoint selection; compare to weight-averaged result below. + +## E4 stochastic weight average, seed 17, gated screening +- Checkpoint SHA-256: `a346a09ba0b8d196b58acc22a76f7944109b2bba04ea2b7cf7566de24aa2d8db`. +- Evaluation: 97 configurations, 9473 instances, 0 failed configurations; 7.737564325332642 seconds. +- Overall skill 0.320612; relative MASE 0.803931; relative WQL 0.574139. +- term skill: long=0.3654, medium=0.3823, short=0.2769. +- domain skill: Econ/Fin=0.0210, Energy=0.1663, Healthcare=0.2341, Nature=0.3839, Sales=0.3192, Transport=0.4246, Web/CloudOps=0.4812. +- frequency skill: A=0.3645, D=0.3114, H=0.3584, M=-0.0937, Q=0.1411, S=0.3729, T=0.3725, W=0.1398. +- variates skill: multivariate=0.3557, univariate=0.2913. +- Outcome: Arithmetic weight average of steps 8000, 9000, 10000, 11000 and 12000. Total underlying training 349.9 seconds on one H100 for 12,000 steps / 1,536,000 windows. Averaging uses no validation labels or training updates. Screening skill 0.320612 exceeds the best individual checkpoint 0.317743; selected for full validation. + +## E3 confidence and quantile-width sweep +- Fixed global settings, selected only on validation; no model updates. Seed and checkpoint: E1 step 8000, seed 17. +- Measured CPU time: 10.7 seconds. The original threshold 0.25 and width multiplier 1.0 won; no tuned change was adopted. +- (variance threshold, width multiplier) (0.25, 1.0): skill 0.312772; term skills {'short': 0.2645319168347662, 'medium': 0.37524061562171485, 'long': 0.36711552655262625}. +- (variance threshold, width multiplier) (0.5, 1.0): skill 0.311338; term skills {'short': 0.26128183571880415, 'medium': 0.3766834137570718, 'long': 0.36686872500364487}. +- (variance threshold, width multiplier) (0.25, 0.75): skill 0.310114; term skills {'short': 0.26357949467631236, 'medium': 0.3710044838302994, 'long': 0.36223509497654094}. +- (variance threshold, width multiplier) (0.1, 1.0): skill 0.309380; term skills {'short': 0.2645827018541862, 'medium': 0.3687788042390393, 'long': 0.3590704635989247}. +- (variance threshold, width multiplier) (0.25, 1.25): skill 0.308716; term skills {'short': 0.25806263726485956, 'medium': 0.3732424245969126, 'long': 0.3664492202082874}. +- (variance threshold, width multiplier) (0.5, 0.75): skill 0.308480; term skills {'short': 0.2599791649373039, 'medium': 0.3724274186615034, 'long': 0.36196930941343286}. +- (variance threshold, width multiplier) (0.5, 1.25): skill 0.307830; term skills {'short': 0.25575126666422066, 'medium': 0.3747816871597687, 'long': 0.3663051398261168}. +- (variance threshold, width multiplier) (0.1, 0.75): skill 0.306923; term skills {'short': 0.26386190560263856, 'medium': 0.3650190620286501, 'long': 0.35398875275507513}. +- (variance threshold, width multiplier) (0.1, 1.25): skill 0.305043; term skills {'short': 0.2579337472130613, 'medium': 0.36611831669487493, 'long': 0.3583403545682865}. +- (variance threshold, width multiplier) (1.0, 1.0): skill 0.300332; term skills {'short': 0.24300377373135085, 'medium': 0.37515035650362993, 'long': 0.3625716315021771}. +- (variance threshold, width multiplier) (1.0, 0.75): skill 0.297470; term skills {'short': 0.24163138399697548, 'medium': 0.37101264403024414, 'long': 0.3577626408389879}. +- (variance threshold, width multiplier) (1.0, 1.25): skill 0.296900; term skills {'short': 0.23759298244372884, 'medium': 0.3732464838258517, 'long': 0.3619922948184182}. +- (variance threshold, width multiplier) (0.0, 1.0): skill 0.276275; term skills {'short': 0.25565045294773825, 'medium': 0.30935443355536374, 'long': 0.29541709470756516}. +- (variance threshold, width multiplier) (0.0, 0.75): skill 0.274035; term skills {'short': 0.2552205537396286, 'medium': 0.30589300644316675, 'long': 0.289930620063797}. +- (variance threshold, width multiplier) (0.0, 1.25): skill 0.271354; term skills {'short': 0.2486798921582145, 'medium': 0.30569315727356094, 'long': 0.29429049771287774}. + +## E5 capacity and exponential averaging +- Hypothesis: increased capacity reduces residual errors after direct-horizon training; exponential weight averaging reduces checkpoint noise. +- Changed factors: width 512, six encoder and four decoder layers, 37,002,816 parameters; 24,000-step schedule at 2e-4; seed 23. Same source sample, mixture, synthetic generator, batch 128 and horizon distribution as E1. Training-only EMA decay min(0.999, 1-1/(step+1)). +- Completed on the sole H100; raw and EMA snapshots were evaluated across all 97 configurations. No causal claim isolates size from seed/schedule changes. + +## E4 averaged small model, full validation +- Checkpoint SHA-256: `see model_manifest.json`. +- Evaluation: 97 configurations, 151170 instances, 0 failed configurations; not separately timed seconds. +- Overall skill 0.315325; relative MASE 0.806359; relative WQL 0.581354. +- term skill: long=0.3584, medium=0.3790, short=0.2715. +- domain skill: Econ/Fin=-0.0034, Energy=0.1557, Healthcare=0.2457, Nature=0.3833, Sales=0.3308, Transport=0.4241, Web/CloudOps=0.4729. +- frequency skill: A=0.2978, D=0.3142, H=0.3526, M=-0.0698, Q=0.1192, S=0.3729, T=0.3632, W=0.1318. +- variates skill: multivariate=0.3509, univariate=0.2856. +- Outcome: Full validation skill 0.315325, relative MASE 0.806359 and relative WQL 0.581354, all 97 configurations valid. Inference took 37.2 seconds while sharing one H100 with training. Selected over the step-4000 gated package. + +## E6 sign symmetry, averaged small model, seed 17 +- Checkpoint SHA-256: `a346a09ba0b8d196b58acc22a76f7944109b2bba04ea2b7cf7566de24aa2d8db`. +- Evaluation: 97 configurations, 9473 instances, 0 failed configurations; 7.13059401512146 seconds. +- Overall skill 0.328463; relative MASE 0.794174; relative WQL 0.567837. +- term skill: long=0.3740, medium=0.3863, short=0.2861. +- domain skill: Econ/Fin=0.0049, Energy=0.1627, Healthcare=0.2543, Nature=0.3978, Sales=0.3314, Transport=0.4439, Web/CloudOps=0.4889. +- frequency skill: A=0.2986, D=0.3191, H=0.3677, M=-0.0077, Q=0.1661, S=0.3711, T=0.3792, W=0.1244. +- variates skill: multivariate=0.3628, univariate=0.2998. +- Outcome: No additional training. Average the forecasts from x and negated x with quantile order reversed, then apply positivity and the same fixed seasonal gate. Screening skill rises 0.320612 to 0.328463. Hypothesis: sign symmetry reduces finite-sample neural bias. Selected for full validation. + +## E6 sign symmetry, averaged small model, full validation +- Checkpoint SHA-256: `see model_manifest.json`. +- Evaluation: 97 configurations, 151170 instances, 0 failed configurations; not separately timed seconds. +- Overall skill 0.323978; relative MASE 0.795773; relative WQL 0.574292. +- term skill: long=0.3666, medium=0.3832, short=0.2823. +- domain skill: Econ/Fin=-0.0072, Energy=0.1517, Healthcare=0.2646, Nature=0.3974, Sales=0.3433, Transport=0.4439, Web/CloudOps=0.4816. +- frequency skill: A=0.2459, D=0.3222, H=0.3623, M=0.0177, Q=0.1587, S=0.3711, T=0.3705, W=0.1158. +- variates skill: multivariate=0.3586, univariate=0.2951. +- Outcome: Full validation skill 0.323978 versus 0.315325 without sign symmetry. Relative MASE 0.795773, relative WQL 0.574292, zero failed configurations, 42.3 seconds of inference. Selected for atomic publication. + +## E7 coarse temporal resolution at inference, small averaged model +- Checkpoint SHA-256: `a346a09ba0b8d196b58acc22a76f7944109b2bba04ea2b7cf7566de24aa2d8db`. +- Evaluation: 97 configurations, 9473 instances, 0 failed configurations; 8.896855354309082 seconds. +- Overall skill 0.320862; relative MASE 0.803289; relative WQL 0.574174. +- term skill: long=0.3616, medium=0.3660, short=0.2861. +- domain skill: Econ/Fin=0.0049, Energy=0.1601, Healthcare=0.2543, Nature=0.4043, Sales=0.3314, Transport=0.4281, Web/CloudOps=0.4698. +- frequency skill: A=0.2986, D=0.3191, H=0.3444, M=-0.0077, Q=0.1661, S=0.3686, T=0.3804, W=0.1244. +- variates skill: multivariate=0.3567, univariate=0.2909. +- Outcome: Negative result: for horizons >=400, average the sign-symmetric prediction with a four-step-aggregated prediction from the same weights, then apply the unchanged seasonal gate. Screening skill falls from 0.328463 to 0.320862, so this is rejected. No training or fitted context parameters. + +## E8 median and predictable-series loss weighting +- Hypothesis: optimizing median error explicitly and weighting by context seasonal error aligns pretraining with MASE and quantile loss. +- Initial weights: E4 averaged small model, trained here from random initialization; no external pretrained assets. +- Changed factor: loss = mean over valid steps of 0.5 times mean pinball loss plus 0.25 times absolute median error, weighted per instance by clip(1/(0.25 + normalized context seasonal absolute difference), 0.25, 4). Weights are normalized across the batch. Training-only calculation; inference model unchanged. +- Seed 31, batch 256, 6,000 steps, AdamW 1e-4 with 400-step warmup and cosine decay, same source sample and synthetic generator. EMA as E5. +- Compute: 272.9 seconds elapsed on the sole H100, shared concurrently with E5. Underlying initial pretraining used 349.9 seconds. + +## E8 step 1000, seed 31, symmetric screening +- Checkpoint SHA-256: `e7cb5c4b4f04ba1ca873bc725f5e4345874520a96cbd3f079e4f631fd3c46d50`. +- Evaluation: 97 configurations, 9473 instances, 0 failed configurations; 7.978966474533081 seconds. +- Overall skill 0.331642; relative MASE 0.791898; relative WQL 0.564091. +- term skill: long=0.3735, medium=0.3891, short=0.2910. +- domain skill: Econ/Fin=-0.0197, Energy=0.1668, Healthcare=0.2894, Nature=0.4040, Sales=0.3301, Transport=0.4439, Web/CloudOps=0.4906. +- frequency skill: A=0.2646, D=0.3158, H=0.3714, M=0.0669, Q=0.1387, S=0.3726, T=0.3764, W=0.1424. +- variates skill: multivariate=0.3652, univariate=0.3036. +- Outcome: EMA at 6000 is best overall and selected for full validation; raw checkpoints show greater variance. + +## E8 ema 1000, seed 31, symmetric screening +- Checkpoint SHA-256: `dab309aff5a3a28936391b84b3ebd9d5dfc208e53c1e1602e4f5c599e3004c33`. +- Evaluation: 97 configurations, 9473 instances, 0 failed configurations; 8.16230034828186 seconds. +- Overall skill 0.332263; relative MASE 0.790121; relative WQL 0.564310. +- term skill: long=0.3745, medium=0.3873, short=0.2925. +- domain skill: Econ/Fin=0.0051, Energy=0.1638, Healthcare=0.2952, Nature=0.4011, Sales=0.3311, Transport=0.4450, Web/CloudOps=0.4919. +- frequency skill: A=0.3239, D=0.3220, H=0.3698, M=0.0488, Q=0.1636, S=0.3751, T=0.3783, W=0.1317. +- variates skill: multivariate=0.3653, univariate=0.3047. +- Outcome: EMA at 6000 is best overall and selected for full validation; raw checkpoints show greater variance. + +## E8 step 2000, seed 31, symmetric screening +- Checkpoint SHA-256: `111cf52c0662c60aebb44355135a65675a09d898995deeb4dd2f8f2b66339a0f`. +- Evaluation: 97 configurations, 9473 instances, 0 failed configurations; 9.85259199142456 seconds. +- Overall skill 0.326318; relative MASE 0.796087; relative WQL 0.570097. +- term skill: long=0.3658, medium=0.3826, short=0.2873. +- domain skill: Econ/Fin=-0.0159, Energy=0.1477, Healthcare=0.3155, Nature=0.4038, Sales=0.3247, Transport=0.4419, Web/CloudOps=0.4862. +- frequency skill: A=0.2949, D=0.3163, H=0.3678, M=0.0654, Q=0.1519, S=0.3722, T=0.3655, W=0.1286. +- variates skill: multivariate=0.3573, univariate=0.3006. +- Outcome: EMA at 6000 is best overall and selected for full validation; raw checkpoints show greater variance. + +## E8 ema 2000, seed 31, symmetric screening +- Checkpoint SHA-256: `5fa525d923b4af5949f2415cf0ad0b325dae7623f07aae06b3131bdbda08c209`. +- Evaluation: 97 configurations, 9473 instances, 0 failed configurations; 14.634822130203247 seconds. +- Overall skill 0.332843; relative MASE 0.789360; relative WQL 0.563874. +- term skill: long=0.3745, medium=0.3875, short=0.2936. +- domain skill: Econ/Fin=0.0007, Energy=0.1627, Healthcare=0.3135, Nature=0.4026, Sales=0.3309, Transport=0.4452, Web/CloudOps=0.4913. +- frequency skill: A=0.3152, D=0.3249, H=0.3696, M=0.0640, Q=0.1700, S=0.3757, T=0.3784, W=0.1261. +- variates skill: multivariate=0.3645, univariate=0.3065. +- Outcome: EMA at 6000 is best overall and selected for full validation; raw checkpoints show greater variance. + +## E8 step 4000, seed 31, symmetric screening +- Checkpoint SHA-256: `8ce9867a6005c28005b32d163254c088279f2a46febeadc433b403aeffc29066`. +- Evaluation: 97 configurations, 9473 instances, 0 failed configurations; 20.403828620910645 seconds. +- Overall skill 0.333292; relative MASE 0.789778; relative WQL 0.562816. +- term skill: long=0.3723, medium=0.3857, short=0.2961. +- domain skill: Econ/Fin=-0.0157, Energy=0.1603, Healthcare=0.3279, Nature=0.4080, Sales=0.3286, Transport=0.4450, Web/CloudOps=0.4921. +- frequency skill: A=0.2821, D=0.3254, H=0.3697, M=0.0826, Q=0.1490, S=0.3718, T=0.3810, W=0.1182. +- variates skill: multivariate=0.3645, univariate=0.3073. +- Outcome: EMA at 6000 is best overall and selected for full validation; raw checkpoints show greater variance. + +## E8 ema 4000, seed 31, symmetric screening +- Checkpoint SHA-256: `e61535b34efac923328f1dd464f5ab8ab05913438f86125d8b933f1b166281d9`. +- Evaluation: 97 configurations, 9473 instances, 0 failed configurations; 10.288180112838745 seconds. +- Overall skill 0.334221; relative MASE 0.787768; relative WQL 0.562681. +- term skill: long=0.3735, medium=0.3879, short=0.2964. +- domain skill: Econ/Fin=-0.0016, Energy=0.1638, Healthcare=0.3235, Nature=0.4037, Sales=0.3295, Transport=0.4477, Web/CloudOps=0.4916. +- frequency skill: A=0.3041, D=0.3326, H=0.3704, M=0.0629, Q=0.1674, S=0.3746, T=0.3813, W=0.1128. +- variates skill: multivariate=0.3653, univariate=0.3084. +- Outcome: EMA at 6000 is best overall and selected for full validation; raw checkpoints show greater variance. + +## E8 step 6000, seed 31, symmetric screening +- Checkpoint SHA-256: `15833e7668d9cd11ed55a4820b4700d71c6f734415d11490c7e8beb654abfa12`. +- Evaluation: 97 configurations, 9473 instances, 0 failed configurations; 21.2668559551239 seconds. +- Overall skill 0.334430; relative MASE 0.788174; relative WQL 0.562038. +- term skill: long=0.3762, medium=0.3886, short=0.2953. +- domain skill: Econ/Fin=-0.0108, Energy=0.1611, Healthcare=0.3518, Nature=0.4037, Sales=0.3298, Transport=0.4457, Web/CloudOps=0.4924. +- frequency skill: A=0.2760, D=0.3360, H=0.3690, M=0.0736, Q=0.1605, S=0.3759, T=0.3813, W=0.1132. +- variates skill: multivariate=0.3660, univariate=0.3081. +- Outcome: EMA at 6000 is best overall and selected for full validation; raw checkpoints show greater variance. + +## E8 ema 6000, seed 31, symmetric screening +- Checkpoint SHA-256: `70a3768d667df75f0d6565e831cdca8cf7c179c8546252e5902f7b7ec68ab7aa`. +- Evaluation: 97 configurations, 9473 instances, 0 failed configurations; 11.340764284133911 seconds. +- Overall skill 0.335038; relative MASE 0.787307; relative WQL 0.561630. +- term skill: long=0.3762, medium=0.3878, short=0.2968. +- domain skill: Econ/Fin=-0.0053, Energy=0.1637, Healthcare=0.3401, Nature=0.4031, Sales=0.3292, Transport=0.4464, Web/CloudOps=0.4934. +- frequency skill: A=0.2894, D=0.3329, H=0.3693, M=0.0767, Q=0.1622, S=0.3763, T=0.3828, W=0.1162. +- variates skill: multivariate=0.3659, univariate=0.3094. +- Outcome: EMA at 6000 is best overall and selected for full validation; raw checkpoints show greater variance. + +## E9 neural context 512 for horizons <=128, seed 17 +- Checkpoint SHA-256: `a346a09ba0b8d196b58acc22a76f7944109b2bba04ea2b7cf7566de24aa2d8db`. +- Evaluation: 97 configurations, 9473 instances, 0 failed configurations; 10.416622161865234 seconds. +- Overall skill 0.320871; relative MASE 0.803968; relative WQL 0.573675. +- term skill: long=0.3740, medium=0.3863, short=0.2718. +- domain skill: Econ/Fin=0.0457, Energy=0.1466, Healthcare=0.2113, Nature=0.3887, Sales=0.3285, Transport=0.4330, Web/CloudOps=0.4911. +- frequency skill: A=0.2986, D=0.2904, H=0.3587, M=-0.0099, Q=0.1658, S=0.3756, T=0.3687, W=0.1716. +- variates skill: multivariate=0.3665, univariate=0.2822. +- Outcome: Only the neural input is shortened; the seasonal confidence gate retains 4096 points. 512 loses skill; 1024/2048 improve by less than 0.001 over the control. Not adopted pending a larger effect. + +## E9 neural context 1024 for horizons <=128, seed 17 +- Checkpoint SHA-256: `a346a09ba0b8d196b58acc22a76f7944109b2bba04ea2b7cf7566de24aa2d8db`. +- Evaluation: 97 configurations, 9473 instances, 0 failed configurations; 19.072535276412964 seconds. +- Overall skill 0.329251; relative MASE 0.796444; relative WQL 0.564891. +- term skill: long=0.3740, medium=0.3863, short=0.2876. +- domain skill: Econ/Fin=0.0323, Energy=0.1629, Healthcare=0.1832, Nature=0.3978, Sales=0.3361, Transport=0.4415, Web/CloudOps=0.4998. +- frequency skill: A=0.2986, D=0.3031, H=0.3649, M=-0.0077, Q=0.1661, S=0.3761, T=0.3907, W=0.1240. +- variates skill: multivariate=0.3738, univariate=0.2915. +- Outcome: Only the neural input is shortened; the seasonal confidence gate retains 4096 points. 512 loses skill; 1024/2048 improve by less than 0.001 over the control. Not adopted pending a larger effect. + +## E9 neural context 2048 for horizons <=128, seed 17 +- Checkpoint SHA-256: `a346a09ba0b8d196b58acc22a76f7944109b2bba04ea2b7cf7566de24aa2d8db`. +- Evaluation: 97 configurations, 9473 instances, 0 failed configurations; 9.426023244857788 seconds. +- Overall skill 0.329063; relative MASE 0.794285; relative WQL 0.566744. +- term skill: long=0.3740, medium=0.3863, short=0.2872. +- domain skill: Econ/Fin=0.0227, Energy=0.1628, Healthcare=0.2235, Nature=0.3975, Sales=0.3314, Transport=0.4448, Web/CloudOps=0.4931. +- frequency skill: A=0.2986, D=0.3154, H=0.3656, M=-0.0077, Q=0.1661, S=0.3738, T=0.3847, W=0.1224. +- variates skill: multivariate=0.3651, univariate=0.2989. +- Outcome: Only the neural input is shortened; the seasonal confidence gate retains 4096 points. 512 loses skill; 1024/2048 improve by less than 0.001 over the control. Not adopted pending a larger effect. + +## E10 fixed 50/50 ensemble diagnostic +- Checkpoint SHA-256: `see model_manifest.json`. +- Evaluation: 97 configurations, 9473 instances, 0 failed configurations; 4.082070589065552 seconds. +- Overall skill 0.332712; relative MASE 0.791350; relative WQL 0.562676. +- term skill: long=0.3746, medium=0.3901, short=0.2921. +- domain skill: Econ/Fin=-0.0029, Energy=0.1641, Healthcare=0.3036, Nature=0.4055, Sales=0.3288, Transport=0.4500, Web/CloudOps=0.4870. +- frequency skill: A=0.2971, D=0.3243, H=0.3712, M=0.0353, Q=0.1843, S=0.3742, T=0.3778, W=0.1385. +- variates skill: multivariate=0.3658, univariate=0.3052. +- Outcome: Average of E8 EMA4000 and E5 EMA12000, both with sign symmetry and the same fixed seasonal gate. Skill 0.332712 is below E8 alone (0.334221). Rejected for now; both members would forecast every instance. + +## E8 EMA6000, full validation +- Checkpoint SHA-256: `see model_manifest.json`. +- Evaluation: 97 configurations, 151170 instances, 0 failed configurations; not separately timed seconds. +- Overall skill 0.330109; relative MASE 0.789610; relative WQL 0.568323. +- term skill: long=0.3687, medium=0.3851, short=0.2920. +- domain skill: Econ/Fin=-0.0223, Energy=0.1525, Healthcare=0.3475, Nature=0.4024, Sales=0.3415, Transport=0.4461, Web/CloudOps=0.4860. +- frequency skill: A=0.2370, D=0.3358, H=0.3639, M=0.0960, Q=0.1447, S=0.3763, T=0.3738, W=0.1061. +- variates skill: multivariate=0.3616, univariate=0.3039. +- Outcome: Full validation skill 0.330109, relative MASE 0.789610, relative WQL 0.568323, zero failed configurations. Inference took 48.1 seconds while sharing the one H100. Improves the previous published 0.323978 and is selected for atomic publication. + +## E11 matched corpus-coverage experiment +- Hypothesis: broader source coverage improves generalization after the initial model has plateaued. +- Expanded sample: 95 directories, 1,032,415 series, 5,653,290,832 points (22.613 GB), versus 357,789 series and 958,745,103 points (3.835 GB). Per-source cap rises from 24M to 192M points, Arrow record batches are shuffled within each selected shard, and the per-series crop cap rises from 131,072 to 1,048,576. The same deterministic directory-hash seeds and at most eight sampled shards per directory are used. +- Two matched continuations start from E8 EMA6000: original sample control and expanded sample. Both use seed 41, batch 256, the E8 loss, 6,000 steps, AdamW 1e-4 and the same schedule/EMA. Training uses only corpus/synthetic data. +- Runs share the single H100 with E5; CPU threads are limited to three per new trainer. Completed matched runs: control 363.4 s, expanded 364.8 s; the expanded corpus did not improve either matched checkpoint. Detailed results are below. + +## E12 fixed continuity correction +- Hypothesis: a direct-horizon head can miss the immediate level of a smooth history, and a small decaying correction should reduce short-horizon error. No training or context fitting. E8 EMA6000 weights, seed 31. +- Fixed formula: ratio=mean(square(first differences))/variance over the last 512 points; w=clip(1-ratio/0.5,0,0.95); bias=w*(last value + median of the last eight differences - first forecast median). Add bias*exp(-step/tau) to each quantile, then retain the existing positivity rule. Skip sparse missing-value differences. +- Initial diagnostic needed a missing-value guard; invalid intermediate scores were discarded. A positivity-lookback mismatch in the probe was also corrected so tau=0 exactly reproduces the control. +- CPU sweep took 6.0 seconds; final verified control and all candidate scores follow. Tau 24 selected for package/full validation. +- tau=0: skill 0.335038, relative MASE 0.787307, relative WQL 0.561630, group skills {'term': {'short': 0.2967927346774093, 'medium': 0.38776799350809343, 'long': 0.37616349665047677}, 'domain': {'Econ/Fin': -0.005273788909573085, 'Energy': 0.16374587322817125, 'Healthcare': 0.34007707190705616, 'Nature': 0.4030815329292825, 'Sales': 0.32924485226314826, 'Transport': 0.4464324047455728, 'Web/CloudOps': 0.4934311796492926}, 'freq': {'A-DEC': 0.2893784388532201, 'Q-DEC': 0.16218093798601307, 'M': 0.07665328507242941, 'W-SUN': -0.31450314757766273, 'D': 0.332876404786148, 'H': 0.3693479345200832, '15T': 0.14228566862247327, 'W-FRI': 0.032405497411887585, '10T': 0.4887742379514316, 'W-TUE': 0.309664207244038, 'W-THU': 0.14794979612329628, 'W-WED': 0.29198895648742507, '5T': 0.5120305409377247, '10S': 0.3762720731817548}}. +- tau=2: skill 0.337508, relative MASE 0.783332, relative WQL 0.560293, group skills {'term': {'short': 0.30112159439110886, 'medium': 0.3882128168958763, 'long': 0.3763449044348186}, 'domain': {'Econ/Fin': 0.012010642573481944, 'Energy': 0.1687336419481582, 'Healthcare': 0.33847751009406857, 'Nature': 0.4038059435050727, 'Sales': 0.32920024652725177, 'Transport': 0.4463400575252827, 'Web/CloudOps': 0.4950030531002031}, 'freq': {'A-DEC': 0.2973561434987757, 'Q-DEC': 0.17698071591831765, 'M': 0.07233297868059718, 'W-SUN': -0.2582996069171355, 'D': 0.3346112879714367, 'H': 0.36855118351366944, '15T': 0.14569114456054433, 'W-FRI': 0.021432593572035197, '10T': 0.5064176027092252, 'W-TUE': 0.3132256284193611, 'W-THU': 0.1516542652623164, 'W-WED': 0.29198895648742507, '5T': 0.5121886153783087, '10S': 0.38181456512243606}}. +- tau=8: skill 0.339730, relative MASE 0.781190, relative WQL 0.558067, group skills {'term': {'short': 0.30468677533784194, 'medium': 0.3890128603479147, 'long': 0.3768542253336602}, 'domain': {'Econ/Fin': 0.04357586882889164, 'Energy': 0.17060177779549268, 'Healthcare': 0.3292576172809155, 'Nature': 0.4040895491577191, 'Sales': 0.32915095007230155, 'Transport': 0.4455718893158739, 'Web/CloudOps': 0.498582535356759}, 'freq': {'A-DEC': 0.30427943534005153, 'Q-DEC': 0.18739632573970566, 'M': 0.05811644843967234, 'W-SUN': -0.14993519310493708, 'D': 0.33691177813304396, 'H': 0.36800946318922256, '15T': 0.15562275067857723, 'W-FRI': 0.015293948848938421, '10T': 0.5022238811405833, 'W-TUE': 0.308852394109824, 'W-THU': 0.16531962754891327, 'W-WED': 0.29198895648742507, '5T': 0.5124270255950129, '10S': 0.3959332124123227}}. +- tau=24: skill 0.341604, relative MASE 0.780976, relative WQL 0.555056, group skills {'term': {'short': 0.30735425505077896, 'medium': 0.38984232067302926, 'long': 0.37791322023985785}, 'domain': {'Econ/Fin': 0.07789629542475163, 'Energy': 0.16814859423491146, 'Healthcare': 0.32219860777640197, 'Nature': 0.4027938268275436, 'Sales': 0.32911299366848257, 'Transport': 0.4440214473788372, 'Web/CloudOps': 0.505502554697025}, 'freq': {'A-DEC': 0.30701454754159097, 'Q-DEC': 0.18894276751813088, 'M': 0.04173508991923269, 'W-SUN': -0.06710914169849702, 'D': 0.33891978173454174, 'H': 0.36806701600948255, '15T': 0.16691265843751302, 'W-FRI': 0.011149977535114819, '10T': 0.48062823437029445, 'W-TUE': 0.3054618645258299, 'W-THU': 0.17135723270801106, 'W-WED': 0.29198895648742507, '5T': 0.5128629288387704, '10S': 0.42606586812368186}}. +- tau=64: skill 0.340824, relative MASE 0.783313, relative WQL 0.554713, group skills {'term': {'short': 0.3064164746371565, 'medium': 0.38779908004530583, 'long': 0.3787937309532532}, 'domain': {'Econ/Fin': 0.09969949435020342, 'Energy': 0.15974598777640392, 'Healthcare': 0.3189527251466179, 'Nature': 0.4009254556920715, 'Sales': 0.32909545704191134, 'Transport': 0.44166143132149305, 'Web/CloudOps': 0.5103628293774518}, 'freq': {'A-DEC': 0.3079352359976604, 'Q-DEC': 0.18879190434187287, 'M': 0.03049481695615497, 'W-SUN': -0.03231570437562303, 'D': 0.33992332397958547, 'H': 0.36593420410508737, '15T': 0.1654947222236236, 'W-FRI': 0.009213828856730832, '10T': 0.46016772262416383, 'W-TUE': 0.3040006089982843, 'W-THU': 0.17343046632698478, 'W-WED': 0.29198895648742507, '5T': 0.5128850832828526, '10S': 0.4486615108502494}}. +- tau=128: skill 0.338292, relative MASE 0.786639, relative WQL 0.556618, group skills {'term': {'short': 0.3043668884529205, 'medium': 0.38176748757743373, 'long': 0.37868472074438897}, 'domain': {'Econ/Fin': 0.10637792737302931, 'Energy': 0.1531270206619928, 'Healthcare': 0.31816668045459984, 'Nature': 0.39985518410953147, 'Sales': 0.3290895550941987, 'Transport': 0.4399018505526925, 'Web/CloudOps': 0.5082609219137205}, 'freq': {'A-DEC': 0.3082114553822066, 'Q-DEC': 0.1886335736447592, 'M': 0.026327746733658897, 'W-SUN': -0.021307580325764297, 'D': 0.34025742210101806, 'H': 0.3625439077766571, '15T': 0.1628300810039216, 'W-FRI': 0.00856370190545519, '10T': 0.4513327819863723, 'W-TUE': 0.30351149262807786, 'W-THU': 0.1740816133131421, 'W-WED': 0.29198895648742507, '5T': 0.512369368619311, '10S': 0.44352723463256316}}. + +## E12 continuity prior, full validation +- Checkpoint SHA-256: `see model_manifest.json`. +- Evaluation: 97 configurations, 151170 instances, 0 failed configurations; not separately timed seconds. +- Overall skill 0.336914; relative MASE 0.783869; relative WQL 0.560914. +- term skill: long=0.3705, medium=0.3876, short=0.3028. +- domain skill: Econ/Fin=0.0580, Energy=0.1590, Healthcare=0.3286, Nature=0.4018, Sales=0.3415, Transport=0.4438, Web/CloudOps=0.4980. +- frequency skill: A=0.2499, D=0.3408, H=0.3619, M=0.0606, Q=0.1682, S=0.4261, T=0.3809, W=0.1368. +- variates skill: multivariate=0.3731, univariate=0.3066. +- Outcome: Full validation skill 0.336914 versus 0.330109 without the correction, relative MASE 0.783869 and relative WQL 0.560914; zero failures. Package inference took 69.8 seconds while three trainers shared the sole H100. Selected for atomic publication. + +## E11 corpus_control_ema1000 +- Checkpoint SHA-256: `f81bf26e2a17265332fdb3b29204d140703d7c3e9d9abdd7e3297715a7b1153a`. +- Evaluation: 97 configurations, 9473 instances, 0 failed configurations; 10.393452167510986 seconds. +- Overall skill 0.335216; relative MASE 0.787169; relative WQL 0.561427. +- term skill: long=0.3757, medium=0.3878, short=0.2973. +- domain skill: Econ/Fin=-0.0001, Energy=0.1627, Healthcare=0.3427, Nature=0.4053, Sales=0.3297, Transport=0.4460, Web/CloudOps=0.4926. +- frequency skill: A=0.3085, D=0.3314, H=0.3702, M=0.0765, Q=0.1659, S=0.3764, T=0.3820, W=0.1191. +- variates skill: multivariate=0.3656, univariate=0.3100. +- Outcome: Matched comparison: original sample control stays near the parent model; expanded corpus is consistently slightly worse. Neither continuation is selected. Compute: control 363.4 s, expanded 364.8 s elapsed while sharing one H100. + +## E11 corpus_control_ema3000 +- Checkpoint SHA-256: `c72daec0504f6082965d689dd9a9f1a7005ac0d9694fb8d4de3d2622db9d615b`. +- Evaluation: 97 configurations, 9473 instances, 0 failed configurations; 10.011096715927124 seconds. +- Overall skill 0.334832; relative MASE 0.787218; relative WQL 0.562040. +- term skill: long=0.3765, medium=0.3877, short=0.2963. +- domain skill: Econ/Fin=0.0014, Energy=0.1632, Healthcare=0.3213, Nature=0.4049, Sales=0.3317, Transport=0.4468, Web/CloudOps=0.4939. +- frequency skill: A=0.2922, D=0.3214, H=0.3695, M=0.0723, Q=0.1640, S=0.3781, T=0.3850, W=0.1283. +- variates skill: multivariate=0.3670, univariate=0.3081. +- Outcome: Matched comparison: original sample control stays near the parent model; expanded corpus is consistently slightly worse. Neither continuation is selected. Compute: control 363.4 s, expanded 364.8 s elapsed while sharing one H100. + +## E11 corpus_control_ema6000 +- Checkpoint SHA-256: `fa23c895ff4926b3d0df6d15267718a1dda41ad9386abbfef1306becb262da1c`. +- Evaluation: 97 configurations, 9473 instances, 0 failed configurations; 7.355180501937866 seconds. +- Overall skill 0.334809; relative MASE 0.788444; relative WQL 0.561205. +- term skill: long=0.3770, medium=0.3879, short=0.2960. +- domain skill: Econ/Fin=-0.0139, Energy=0.1615, Healthcare=0.3361, Nature=0.4053, Sales=0.3305, Transport=0.4466, Web/CloudOps=0.4951. +- frequency skill: A=0.2945, D=0.3215, H=0.3707, M=0.0639, Q=0.1501, S=0.3778, T=0.3855, W=0.1254. +- variates skill: multivariate=0.3680, univariate=0.3071. +- Outcome: Matched comparison: original sample control stays near the parent model; expanded corpus is consistently slightly worse. Neither continuation is selected. Compute: control 363.4 s, expanded 364.8 s elapsed while sharing one H100. + +## E11 corpus_expanded_ema1000 +- Checkpoint SHA-256: `8c0f66d7a2377fa37b4d3358c89ae9b5786a6f5f0223b1480fb7a0b20b17ebc8`. +- Evaluation: 97 configurations, 9473 instances, 0 failed configurations; 10.571230411529541 seconds. +- Overall skill 0.333782; relative MASE 0.789135; relative WQL 0.562448. +- term skill: long=0.3749, medium=0.3867, short=0.2955. +- domain skill: Econ/Fin=-0.0143, Energy=0.1614, Healthcare=0.3302, Nature=0.4029, Sales=0.3292, Transport=0.4472, Web/CloudOps=0.4938. +- frequency skill: A=0.2932, D=0.3308, H=0.3695, M=0.0696, Q=0.1628, S=0.3754, T=0.3818, W=0.1103. +- variates skill: multivariate=0.3653, univariate=0.3075. +- Outcome: Matched comparison: original sample control stays near the parent model; expanded corpus is consistently slightly worse. Neither continuation is selected. Compute: control 363.4 s, expanded 364.8 s elapsed while sharing one H100. + +## E11 corpus_expanded_ema3000 +- Checkpoint SHA-256: `51586b5ce1a426dc2f3adf42aba9599b731b62ab316159dafe681e77317015a2`. +- Evaluation: 97 configurations, 9473 instances, 0 failed configurations; 10.598361253738403 seconds. +- Overall skill 0.333836; relative MASE 0.789352; relative WQL 0.562201. +- term skill: long=0.3750, medium=0.3869, short=0.2954. +- domain skill: Econ/Fin=-0.0087, Energy=0.1631, Healthcare=0.3250, Nature=0.4036, Sales=0.3303, Transport=0.4468, Web/CloudOps=0.4922. +- frequency skill: A=0.3132, D=0.3259, H=0.3690, M=0.0696, Q=0.1693, S=0.3752, T=0.3829, W=0.1162. +- variates skill: multivariate=0.3659, univariate=0.3071. +- Outcome: Matched comparison: original sample control stays near the parent model; expanded corpus is consistently slightly worse. Neither continuation is selected. Compute: control 363.4 s, expanded 364.8 s elapsed while sharing one H100. + +## E11 corpus_expanded_ema6000 +- Checkpoint SHA-256: `b82b9da6afa6b7ec864a5c4f9829a2a68b29f0923d0c556a998b9d79623d9ba9`. +- Evaluation: 97 configurations, 9473 instances, 0 failed configurations; 7.799206972122192 seconds. +- Overall skill 0.333432; relative MASE 0.790380; relative WQL 0.562151. +- term skill: long=0.3759, medium=0.3881, short=0.2938. +- domain skill: Econ/Fin=-0.0272, Energy=0.1621, Healthcare=0.3299, Nature=0.4047, Sales=0.3298, Transport=0.4459, Web/CloudOps=0.4936. +- frequency skill: A=0.3024, D=0.3227, H=0.3691, M=0.0639, Q=0.1574, S=0.3794, T=0.3834, W=0.1166. +- variates skill: multivariate=0.3662, univariate=0.3061. +- Outcome: Matched comparison: original sample control stays near the parent model; expanded corpus is consistently slightly worse. Neither continuation is selected. Compute: control 363.4 s, expanded 364.8 s elapsed while sharing one H100. + +## E5 direct_large_ema12000_gate +- Checkpoint SHA-256: `202e23ba9d7560bf2bd67a609d024449facabdfd338c9268bc013ff6b613168f`. +- Evaluation: 97 configurations, 9473 instances, 0 failed configurations; 11.02167820930481 seconds. +- Overall skill 0.314336; relative MASE 0.813757; relative WQL 0.577734. +- term skill: long=0.3670, medium=0.3868, short=0.2623. +- domain skill: Econ/Fin=-0.0160, Energy=0.1404, Healthcare=0.2477, Nature=0.3897, Sales=0.3170, Transport=0.4355, Web/CloudOps=0.4760. +- frequency skill: A=0.3627, D=0.3141, H=0.3649, M=-0.1520, Q=0.1593, S=0.3730, T=0.3518, W=0.1342. +- variates skill: multivariate=0.3564, univariate=0.2788. +- Outcome: 37M capacity run from random initialization; seed 23. Final run: 24,000 steps / 3,072,000 windows in 1073.9 s elapsed on the sole H100, shared with other experiments. Most checkpoints lag the small model; EMA reduces checkpoint variance. Final raw checkpoint is stronger than final EMA in gated inference, so it will receive a full inference-rule comparison. + +## E5 direct_large_ema16000_gate +- Checkpoint SHA-256: `8ba1220059af5a85180b3ad740402a48b2d38172598510da796339378e529a73`. +- Evaluation: 97 configurations, 9473 instances, 0 failed configurations; 9.176010131835938 seconds. +- Overall skill 0.322612; relative MASE 0.806599; relative WQL 0.568877. +- term skill: long=0.3668, medium=0.3875, short=0.2777. +- domain skill: Econ/Fin=0.0042, Energy=0.1444, Healthcare=0.3056, Nature=0.3937, Sales=0.3266, Transport=0.4361, Web/CloudOps=0.4847. +- frequency skill: A=0.3573, D=0.3049, H=0.3646, M=-0.0462, Q=0.1603, S=0.3803, T=0.3607, W=0.1797. +- variates skill: multivariate=0.3644, univariate=0.2874. +- Outcome: 37M capacity run from random initialization; seed 23. Final run: 24,000 steps / 3,072,000 windows in 1073.9 s elapsed on the sole H100, shared with other experiments. Most checkpoints lag the small model; EMA reduces checkpoint variance. Final raw checkpoint is stronger than final EMA in gated inference, so it will receive a full inference-rule comparison. + +## E5 direct_large_ema20000_gate +- Checkpoint SHA-256: `1ec9d54fa1270442b0023da3f7fc23f5fa5291e58210a55f63878983afccc606`. +- Evaluation: 97 configurations, 9473 instances, 0 failed configurations; 11.57221269607544 seconds. +- Overall skill 0.324943; relative MASE 0.805088; relative WQL 0.566028. +- term skill: long=0.3666, medium=0.3878, short=0.2821. +- domain skill: Econ/Fin=0.0218, Energy=0.1439, Healthcare=0.2912, Nature=0.4039, Sales=0.3250, Transport=0.4352, Web/CloudOps=0.4880. +- frequency skill: A=0.3533, D=0.3058, H=0.3660, M=-0.0485, Q=0.1544, S=0.3756, T=0.3665, W=0.1840. +- variates skill: multivariate=0.3678, univariate=0.2887. +- Outcome: 37M capacity run from random initialization; seed 23. Final run: 24,000 steps / 3,072,000 windows in 1073.9 s elapsed on the sole H100, shared with other experiments. Most checkpoints lag the small model; EMA reduces checkpoint variance. Final raw checkpoint is stronger than final EMA in gated inference, so it will receive a full inference-rule comparison. + +## E5 direct_large_ema2000_gate +- Checkpoint SHA-256: `bea7fbebdc754a6cef068a4b835e644d896305e928b4a63974c731874dc49028`. +- Evaluation: 97 configurations, 9473 instances, 0 failed configurations; 7.918560028076172 seconds. +- Overall skill 0.279056; relative MASE 0.848285; relative WQL 0.612718. +- term skill: long=0.3485, medium=0.3540, short=0.2185. +- domain skill: Econ/Fin=-0.0871, Energy=0.1232, Healthcare=0.1986, Nature=0.3855, Sales=0.3094, Transport=0.3731, Web/CloudOps=0.4269. +- frequency skill: A=0.3054, D=0.2729, H=0.3360, M=-0.1424, Q=0.1034, S=0.3706, T=0.2968, W=0.1303. +- variates skill: multivariate=0.3283, univariate=0.2373. +- Outcome: 37M capacity run from random initialization; seed 23. Final run: 24,000 steps / 3,072,000 windows in 1073.9 s elapsed on the sole H100, shared with other experiments. Most checkpoints lag the small model; EMA reduces checkpoint variance. Final raw checkpoint is stronger than final EMA in gated inference, so it will receive a full inference-rule comparison. + +## E5 direct_large_ema24000_gate +- Checkpoint SHA-256: `e5bb7f70c0adbf61b4292cfc40a419e6757854a255ef0c47d3d47c7f2d68b7a2`. +- Evaluation: 97 configurations, 9473 instances, 0 failed configurations; 8.641167879104614 seconds. +- Overall skill 0.323234; relative MASE 0.806197; relative WQL 0.568114. +- term skill: long=0.3665, medium=0.3864, short=0.2795. +- domain skill: Econ/Fin=0.0385, Energy=0.1492, Healthcare=0.2588, Nature=0.4037, Sales=0.3217, Transport=0.4347, Web/CloudOps=0.4807. +- frequency skill: A=0.3645, D=0.3062, H=0.3653, M=-0.0563, Q=0.1548, S=0.3766, T=0.3656, W=0.1664. +- variates skill: multivariate=0.3653, univariate=0.2877. +- Outcome: 37M capacity run from random initialization; seed 23. Final run: 24,000 steps / 3,072,000 windows in 1073.9 s elapsed on the sole H100, shared with other experiments. Most checkpoints lag the small model; EMA reduces checkpoint variance. Final raw checkpoint is stronger than final EMA in gated inference, so it will receive a full inference-rule comparison. + +## E5 direct_large_ema4000_gate +- Checkpoint SHA-256: `2f45a9ce8bed8e0e3ebe37ba98ac36ab8b9a630a615856760f46c0763fa78b5c`. +- Evaluation: 97 configurations, 9473 instances, 0 failed configurations; 8.853939056396484 seconds. +- Overall skill 0.296679; relative MASE 0.830007; relative WQL 0.595971. +- term skill: long=0.3569, medium=0.3692, short=0.2413. +- domain skill: Econ/Fin=-0.0411, Energy=0.1331, Healthcare=0.1511, Nature=0.3889, Sales=0.3253, Transport=0.4031, Web/CloudOps=0.4590. +- frequency skill: A=0.3534, D=0.2760, H=0.3509, M=-0.1255, Q=0.1495, S=0.3734, T=0.3314, W=0.1185. +- variates skill: multivariate=0.3480, univariate=0.2530. +- Outcome: 37M capacity run from random initialization; seed 23. Final run: 24,000 steps / 3,072,000 windows in 1073.9 s elapsed on the sole H100, shared with other experiments. Most checkpoints lag the small model; EMA reduces checkpoint variance. Final raw checkpoint is stronger than final EMA in gated inference, so it will receive a full inference-rule comparison. + +## E5 direct_large_ema8000_gate +- Checkpoint SHA-256: `1b15662821b8c7a20d973f548dacabd237f470ffd1c75457c0b92011d3f0cc88`. +- Evaluation: 97 configurations, 9473 instances, 0 failed configurations; 9.06697702407837 seconds. +- Overall skill 0.310188; relative MASE 0.816631; relative WQL 0.582688. +- term skill: long=0.3619, medium=0.3788, short=0.2604. +- domain skill: Econ/Fin=-0.0143, Energy=0.1404, Healthcare=0.2015, Nature=0.3934, Sales=0.3255, Transport=0.4210, Web/CloudOps=0.4744. +- frequency skill: A=0.3680, D=0.2929, H=0.3581, M=-0.0609, Q=0.1607, S=0.3679, T=0.3513, W=0.1178. +- variates skill: multivariate=0.3533, univariate=0.2739. +- Outcome: 37M capacity run from random initialization; seed 23. Final run: 24,000 steps / 3,072,000 windows in 1073.9 s elapsed on the sole H100, shared with other experiments. Most checkpoints lag the small model; EMA reduces checkpoint variance. Final raw checkpoint is stronger than final EMA in gated inference, so it will receive a full inference-rule comparison. + +## E5 direct_large_step12000_gate +- Checkpoint SHA-256: `8788d76e331dcd9cca1d6dab37db34b4c8b1257fc83da49b532c11643cd0ebfa`. +- Evaluation: 97 configurations, 9473 instances, 0 failed configurations; 14.492464065551758 seconds. +- Overall skill 0.304901; relative MASE 0.821804; relative WQL 0.587930. +- term skill: long=0.3555, medium=0.3694, short=0.2575. +- domain skill: Econ/Fin=-0.0110, Energy=0.1063, Healthcare=0.2456, Nature=0.3830, Sales=0.2991, Transport=0.4416, Web/CloudOps=0.4763. +- frequency skill: A=0.3131, D=0.3025, H=0.3517, M=-0.0499, Q=0.1271, S=0.3821, T=0.3324, W=0.1350. +- variates skill: multivariate=0.3451, univariate=0.2712. +- Outcome: 37M capacity run from random initialization; seed 23. Final run: 24,000 steps / 3,072,000 windows in 1073.9 s elapsed on the sole H100, shared with other experiments. Most checkpoints lag the small model; EMA reduces checkpoint variance. Final raw checkpoint is stronger than final EMA in gated inference, so it will receive a full inference-rule comparison. + +## E5 direct_large_step16000_gate +- Checkpoint SHA-256: `beb43e784be8db8ee5ec14e83fa9c68f7ce897790441453eb6d72cceedb80650`. +- Evaluation: 97 configurations, 9473 instances, 0 failed configurations; 9.434912919998169 seconds. +- Overall skill 0.311197; relative MASE 0.820659; relative WQL 0.578132. +- term skill: long=0.3577, medium=0.3731, short=0.2667. +- domain skill: Econ/Fin=-0.0270, Energy=0.1289, Healthcare=0.2653, Nature=0.3904, Sales=0.3264, Transport=0.4341, Web/CloudOps=0.4732. +- frequency skill: A=0.3445, D=0.2986, H=0.3593, M=-0.0768, Q=0.1596, S=0.3715, T=0.3463, W=0.1472. +- variates skill: multivariate=0.3513, univariate=0.2775. +- Outcome: 37M capacity run from random initialization; seed 23. Final run: 24,000 steps / 3,072,000 windows in 1073.9 s elapsed on the sole H100, shared with other experiments. Most checkpoints lag the small model; EMA reduces checkpoint variance. Final raw checkpoint is stronger than final EMA in gated inference, so it will receive a full inference-rule comparison. + +## E5 direct_large_step20000_gate +- Checkpoint SHA-256: `9332e5088244bd4a2a1ad5b6470a108ebaa6bc387a525202f6bf954d9796b1a6`. +- Evaluation: 97 configurations, 9473 instances, 0 failed configurations; 11.937657117843628 seconds. +- Overall skill 0.319529; relative MASE 0.811224; relative WQL 0.570793. +- term skill: long=0.3661, medium=0.3842, short=0.2737. +- domain skill: Econ/Fin=0.0113, Energy=0.1395, Healthcare=0.3332, Nature=0.3983, Sales=0.3058, Transport=0.4236, Web/CloudOps=0.4804. +- frequency skill: A=0.3483, D=0.3114, H=0.3599, M=-0.0666, Q=0.1435, S=0.3671, T=0.3551, W=0.1967. +- variates skill: multivariate=0.3633, univariate=0.2825. +- Outcome: 37M capacity run from random initialization; seed 23. Final run: 24,000 steps / 3,072,000 windows in 1073.9 s elapsed on the sole H100, shared with other experiments. Most checkpoints lag the small model; EMA reduces checkpoint variance. Final raw checkpoint is stronger than final EMA in gated inference, so it will receive a full inference-rule comparison. + +## E5 direct_large_step2000_gate +- Checkpoint SHA-256: `f16c3270e2d4adafc8dbc1416687932a81b040bed29ad21887f7f8953437ba86`. +- Evaluation: 97 configurations, 9473 instances, 0 failed configurations; 8.376563549041748 seconds. +- Overall skill 0.284757; relative MASE 0.840864; relative WQL 0.608389. +- term skill: long=0.3356, medium=0.3611, short=0.2319. +- domain skill: Econ/Fin=-0.0840, Energy=0.1152, Healthcare=0.2242, Nature=0.3840, Sales=0.3264, Transport=0.3898, Web/CloudOps=0.4386. +- frequency skill: A=0.2579, D=0.2746, H=0.3418, M=-0.0497, Q=0.1253, S=0.3787, T=0.2935, W=0.1458. +- variates skill: multivariate=0.3309, univariate=0.2458. +- Outcome: 37M capacity run from random initialization; seed 23. Final run: 24,000 steps / 3,072,000 windows in 1073.9 s elapsed on the sole H100, shared with other experiments. Most checkpoints lag the small model; EMA reduces checkpoint variance. Final raw checkpoint is stronger than final EMA in gated inference, so it will receive a full inference-rule comparison. + +## E5 direct_large_step24000_gate +- Checkpoint SHA-256: `b7e4f38aebcd2cf38ce484edaad8d19851317fb3b8df485e2faa0d0423cbcb48`. +- Evaluation: 97 configurations, 9473 instances, 0 failed configurations; 7.831688165664673 seconds. +- Overall skill 0.326279; relative MASE 0.802486; relative WQL 0.565617. +- term skill: long=0.3671, medium=0.3874, short=0.2845. +- domain skill: Econ/Fin=0.0453, Energy=0.1487, Healthcare=0.3262, Nature=0.4087, Sales=0.3234, Transport=0.4251, Web/CloudOps=0.4821. +- frequency skill: A=0.3544, D=0.3106, H=0.3612, M=-0.0014, Q=0.1548, S=0.3765, T=0.3668, W=0.1910. +- variates skill: multivariate=0.3662, univariate=0.2927. +- Outcome: 37M capacity run from random initialization; seed 23. Final run: 24,000 steps / 3,072,000 windows in 1073.9 s elapsed on the sole H100, shared with other experiments. Most checkpoints lag the small model; EMA reduces checkpoint variance. Final raw checkpoint is stronger than final EMA in gated inference, so it will receive a full inference-rule comparison. + +## E5 direct_large_step4000_gate +- Checkpoint SHA-256: `a085c48b8bac06dba51118942d58b632dfc8fd934455232b2f1f7c7329f1ae76`. +- Evaluation: 97 configurations, 9473 instances, 0 failed configurations; 8.682147979736328 seconds. +- Overall skill 0.291006; relative MASE 0.830831; relative WQL 0.605023. +- term skill: long=0.3451, medium=0.3504, short=0.2444. +- domain skill: Econ/Fin=-0.0403, Energy=0.0877, Healthcare=0.2367, Nature=0.3707, Sales=0.3185, Transport=0.4275, Web/CloudOps=0.4638. +- frequency skill: A=0.2862, D=0.2949, H=0.3327, M=-0.1134, Q=0.1567, S=0.3705, T=0.3243, W=0.1248. +- variates skill: multivariate=0.3352, univariate=0.2538. +- Outcome: 37M capacity run from random initialization; seed 23. Final run: 24,000 steps / 3,072,000 windows in 1073.9 s elapsed on the sole H100, shared with other experiments. Most checkpoints lag the small model; EMA reduces checkpoint variance. Final raw checkpoint is stronger than final EMA in gated inference, so it will receive a full inference-rule comparison. + +## E5 direct_large_step8000_gate +- Checkpoint SHA-256: `7c0ca8d6f3023ecefc12818560b9bac64e044102cb27d478978c48ce82276c38`. +- Evaluation: 97 configurations, 9473 instances, 0 failed configurations; 8.785595417022705 seconds. +- Overall skill 0.307945; relative MASE 0.812528; relative WQL 0.589444. +- term skill: long=0.3650, medium=0.3688, short=0.2592. +- domain skill: Econ/Fin=-0.0843, Energy=0.1539, Healthcare=0.1762, Nature=0.3845, Sales=0.3220, Transport=0.4223, Web/CloudOps=0.4730. +- frequency skill: A=0.3235, D=0.2684, H=0.3578, M=-0.0688, Q=0.1156, S=0.3591, T=0.3615, W=0.1148. +- variates skill: multivariate=0.3471, univariate=0.2751. +- Outcome: 37M capacity run from random initialization; seed 23. Final run: 24,000 steps / 3,072,000 windows in 1073.9 s elapsed on the sole H100, shared with other experiments. Most checkpoints lag the small model; EMA reduces checkpoint variance. Final raw checkpoint is stronger than final EMA in gated inference, so it will receive a full inference-rule comparison. + +## E13/E14 matched large-model continuations +- Parent: raw E5 step 24000 (random-init pretraining here, seed 23), selected after final gated and sign-symmetric/continuity comparisons. +- Three runs share seed 43, batch 256, 6,000 steps, AdamW 8e-5 with 400-step warmup/cosine decay, the original packed sample, and the E8 median/seasonal-error-weighted objective. All use EMA. GPU: the one H100; three CPU threads per trainer. +- large_loss: unchanged synthetic generator, control for applying E8 loss to the larger model. +- large_synth: replace half of the 20% synthetic windows with newly generated integrated colored innovations, stochastic local-linear trends with level shifts, or sharp periodic pulses with slowly drifting amplitude. Generator is in large_synth/data.py; no external synthetic assets. +- large_sign: independently negate each sampled context and target with probability 0.5. Context seasonal scales are sign-invariant. Data RNG is shared with augmentation, so later draws diverge from the control despite the matched seed; this is a single-seed comparison. +- All inference rules remain fixed (sign symmetry, seasonal confidence gate and 24-step continuity). Results pending. + +## E15 final-checkpoint ensemble +- Hypothesis: the differently trained small and large models have complementary median and distribution errors. Fixed equal weights, both members forecast every instance. E8 EMA6000 (seed31 continuation of seed17) plus E5 raw24000 (seed23). Same fixed inference rules applied separately before averaging. +- Cached prediction diagnostic skill 0.344733 exceeds the small model 0.341604 and large model 0.343219. Actual bundled inference and full validation are required before publication. + +## E15 actual bundled ensemble screening +- Checkpoint SHA-256: `91cb9b3fc2422fc376ecab7813213a7156b6baee963da620f06e82f1aaeaea39`. +- Evaluation: 97 configurations, 9473 instances, 0 failed configurations; 21.611496925354004 seconds. +- Overall skill 0.344715; relative MASE 0.780210; relative WQL 0.550363. +- term skill: long=0.3780, medium=0.3928, short=0.3118. +- domain skill: Econ/Fin=0.0849, Energy=0.1725, Healthcare=0.3305, Nature=0.4119, Sales=0.3307, Transport=0.4448, Web/CloudOps=0.5036. +- frequency skill: A=0.2873, D=0.3348, H=0.3699, M=0.0563, Q=0.1938, S=0.4258, T=0.3912, W=0.1713. +- variates skill: multivariate=0.3825, univariate=0.3130. +- Outcome: Actual package inference skill 0.344715, within 0.000019 of cached averaging; zero failures. The difference comes from numerical batching. Full package inference remains required. + +## E15 bundled ensemble, full validation +- Checkpoint SHA-256: `91cb9b3fc2422fc376ecab7813213a7156b6baee963da620f06e82f1aaeaea39`. +- Evaluation: 97 configurations, 151170 instances, 0 failed configurations; not separately timed seconds. +- Overall skill 0.340239; relative MASE 0.782773; relative WQL 0.556081. +- term skill: long=0.3706, medium=0.3906, short=0.3076. +- domain skill: Econ/Fin=0.0668, Energy=0.1633, Healthcare=0.3369, Nature=0.4112, Sales=0.3436, Transport=0.4446, Web/CloudOps=0.4963. +- frequency skill: A=0.2315, D=0.3371, H=0.3638, M=0.0773, Q=0.1704, S=0.4258, T=0.3837, W=0.1660. +- variates skill: multivariate=0.3783, univariate=0.3083. +- Outcome: Full skill 0.340239, relative MASE 0.782773, relative WQL 0.556081, zero failed configurations. Improves the previous published 0.336914. Relocated package inference took 119.3 seconds while three 37M trainers shared the sole H100. Repeated example calls were bitwise identical, finite and monotone. Selected for atomic publication. + +## E16 earlier-window diagnostic +- Hypothesis: a second cutoff reveals whether gains on single-series configurations are stable over time. +- Constructed the immediately preceding nonoverlapping window from each selected validation context (never used for training). All 97 configurations remain; short histories with fewer than H+8 points are omitted. Seasonal-error scales use the available capped prefix and Seasonal Naive is recomputed on that same input, so these are diagnostic scores on a separate scale. +- The small E8 EMA6000 model improves from 0.308552 without continuity to 0.314127 with it. The large parent scores 0.312321; the first sign-augmented checkpoint scores 0.312240. Thus continuity is supported at both cutoffs, while the first sign-augmentation gain does not yet repeat on the earlier cutoff. No weights or rules are adapted on the diagnostic contexts. + +## Full-validation checkpoint identity audit +- valid-report-1000.json: `ebdd9eaa223c2bb6e38b8faec6f465a227fcd735b654a26f3b617a757addb0d3`, skill 0.206132. +- valid-report-4000-gate.json: `f1b4e5f798688a56a693daf799fa21e69ec21c9c1710cae8dafbdb833c9ee069`, skill 0.296168. +- valid-report-swa-gate.json: `a346a09ba0b8d196b58acc22a76f7944109b2bba04ea2b7cf7566de24aa2d8db`, skill 0.315325. +- valid-report-symmetric.json: `a346a09ba0b8d196b58acc22a76f7944109b2bba04ea2b7cf7566de24aa2d8db`, skill 0.323978. +- valid-report-objective.json: `70a3768d667df75f0d6565e831cdca8cf7c179c8546252e5902f7b7ec68ab7aa`, skill 0.330109. +- valid-report-continuity.json: `70a3768d667df75f0d6565e831cdca8cf7c179c8546252e5902f7b7ec68ab7aa`, skill 0.336914. +- valid-report-ensemble.json: `91cb9b3fc2422fc376ecab7813213a7156b6baee963da620f06e82f1aaeaea39`, skill 0.340239. + +## E13/E14 large_loss_ema1000_continuity +- Checkpoint SHA-256: `872c92ee27b0d63f310b7be7434ffe3d5342b19a42d48fefd0a468b87501b28e`. +- Evaluation: 97 configurations, 9473 instances, 0 failed configurations; 14.880280256271362 seconds. +- Overall skill 0.342546; relative MASE 0.782779; relative WQL 0.552194. +- term skill: long=0.3792, medium=0.3907, short=0.3082. +- domain skill: Econ/Fin=0.0879, Energy=0.1741, Healthcare=0.2781, Nature=0.4155, Sales=0.3277, Transport=0.4454, Web/CloudOps=0.5007. +- frequency skill: A=0.2788, D=0.3141, H=0.3715, M=0.0511, Q=0.1869, S=0.4248, T=0.3925, W=0.1774. +- variates skill: multivariate=0.3827, univariate=0.3087. +- Outcome: Matched large-model continuation. Final EMA6000: sign augmentation wins (0.349298) over revised-loss control (0.346864) and richer synthetic generator (0.343184). Compute: control 618.3 s, synthetic 613.1 s, sign 617.9 s elapsed while sharing one H100. + +## E13/E14 large_loss_ema3000_continuity +- Checkpoint SHA-256: `18c2788192e4028dd45255512b1c4bcddf12a50eb813e34fa0987b8949d75f15`. +- Evaluation: 97 configurations, 9473 instances, 0 failed configurations; 14.631194829940796 seconds. +- Overall skill 0.345993; relative MASE 0.778768; relative WQL 0.549233. +- term skill: long=0.3793, medium=0.3902, short=0.3147. +- domain skill: Econ/Fin=0.0850, Energy=0.1714, Healthcare=0.3423, Nature=0.4181, Sales=0.3281, Transport=0.4479, Web/CloudOps=0.5015. +- frequency skill: A=0.2956, D=0.3232, H=0.3727, M=0.0705, Q=0.1917, S=0.4274, T=0.3904, W=0.1972. +- variates skill: multivariate=0.3829, univariate=0.3150. +- Outcome: Matched large-model continuation. Final EMA6000: sign augmentation wins (0.349298) over revised-loss control (0.346864) and richer synthetic generator (0.343184). Compute: control 618.3 s, synthetic 613.1 s, sign 617.9 s elapsed while sharing one H100. + +## E13/E14 large_loss_ema6000_continuity +- Checkpoint SHA-256: `f5c7327b365832e8bd2d1b7b01e61c334f5bf620f5cae5f4d45feef2041090e8`. +- Evaluation: 97 configurations, 9473 instances, 0 failed configurations; 9.797317266464233 seconds. +- Overall skill 0.346864; relative MASE 0.778052; relative WQL 0.548275. +- term skill: long=0.3803, medium=0.3907, short=0.3157. +- domain skill: Econ/Fin=0.0848, Energy=0.1765, Healthcare=0.3460, Nature=0.4171, Sales=0.3275, Transport=0.4491, Web/CloudOps=0.4990. +- frequency skill: A=0.2988, D=0.3201, H=0.3724, M=0.0715, Q=0.1909, S=0.4236, T=0.3942, W=0.2029. +- variates skill: multivariate=0.3831, univariate=0.3165. +- Outcome: Matched large-model continuation. Final EMA6000: sign augmentation wins (0.349298) over revised-loss control (0.346864) and richer synthetic generator (0.343184). Compute: control 618.3 s, synthetic 613.1 s, sign 617.9 s elapsed while sharing one H100. + +## E13/E14 large_sign_ema1000_continuity +- Checkpoint SHA-256: `393950048f9d0487869b7aa5e6bd01e7ea1715dba16b1367ee8be353eac7f408`. +- Evaluation: 97 configurations, 9473 instances, 0 failed configurations; 14.772316932678223 seconds. +- Overall skill 0.347448; relative MASE 0.776694; relative WQL 0.548252. +- term skill: long=0.3829, medium=0.3908, short=0.3157. +- domain skill: Econ/Fin=0.0975, Energy=0.1743, Healthcare=0.3647, Nature=0.4116, Sales=0.3348, Transport=0.4489, Web/CloudOps=0.5001. +- frequency skill: A=0.3764, D=0.3250, H=0.3728, M=0.0605, Q=0.1918, S=0.4294, T=0.3920, W=0.1973. +- variates skill: multivariate=0.3811, univariate=0.3193. +- Outcome: Matched large-model continuation. Final EMA6000: sign augmentation wins (0.349298) over revised-loss control (0.346864) and richer synthetic generator (0.343184). Compute: control 618.3 s, synthetic 613.1 s, sign 617.9 s elapsed while sharing one H100. + +## E13/E14 large_sign_ema3000_continuity +- Checkpoint SHA-256: `24a38240b540c1311317103b880d4be47e17b7de883f535ef95977a3acc596dd`. +- Evaluation: 97 configurations, 9473 instances, 0 failed configurations; 14.933598279953003 seconds. +- Overall skill 0.348060; relative MASE 0.775887; relative WQL 0.547794. +- term skill: long=0.3822, medium=0.3909, short=0.3171. +- domain skill: Econ/Fin=0.1095, Energy=0.1761, Healthcare=0.3575, Nature=0.4106, Sales=0.3331, Transport=0.4503, Web/CloudOps=0.5000. +- frequency skill: A=0.3842, D=0.3252, H=0.3741, M=0.0510, Q=0.1966, S=0.4324, T=0.3901, W=0.2089. +- variates skill: multivariate=0.3815, univariate=0.3201. +- Outcome: Matched large-model continuation. Final EMA6000: sign augmentation wins (0.349298) over revised-loss control (0.346864) and richer synthetic generator (0.343184). Compute: control 618.3 s, synthetic 613.1 s, sign 617.9 s elapsed while sharing one H100. + +## E13/E14 large_sign_ema6000_continuity +- Checkpoint SHA-256: `96c9d350412c076594f4cc026aaf7396eacc45478f3d402c5d60dcf85dce8547`. +- Evaluation: 97 configurations, 9473 instances, 0 failed configurations; 9.297121286392212 seconds. +- Overall skill 0.349298; relative MASE 0.774499; relative WQL 0.546694. +- term skill: long=0.3853, medium=0.3928, short=0.3172. +- domain skill: Econ/Fin=0.1160, Energy=0.1799, Healthcare=0.3608, Nature=0.4057, Sales=0.3338, Transport=0.4511, Web/CloudOps=0.5017. +- frequency skill: A=0.3836, D=0.3247, H=0.3752, M=0.0334, Q=0.1968, S=0.4300, T=0.3937, W=0.2168. +- variates skill: multivariate=0.3827, univariate=0.3214. +- Outcome: Matched large-model continuation. Final EMA6000: sign augmentation wins (0.349298) over revised-loss control (0.346864) and richer synthetic generator (0.343184). Compute: control 618.3 s, synthetic 613.1 s, sign 617.9 s elapsed while sharing one H100. + +## E13/E14 large_synth_ema1000_continuity +- Checkpoint SHA-256: `c04fc8cad141754a2cb540b636cc3ac7744554cc85e201b4b291e777b2aee196`. +- Evaluation: 97 configurations, 9473 instances, 0 failed configurations; 15.066582441329956 seconds. +- Overall skill 0.343871; relative MASE 0.781301; relative WQL 0.551010. +- term skill: long=0.3732, medium=0.3938, short=0.3118. +- domain skill: Econ/Fin=0.1001, Energy=0.1746, Healthcare=0.2638, Nature=0.4169, Sales=0.3281, Transport=0.4461, Web/CloudOps=0.5042. +- frequency skill: A=0.3050, D=0.3243, H=0.3716, M=-0.0066, Q=0.1903, S=0.4298, T=0.3943, W=0.1851. +- variates skill: multivariate=0.3847, univariate=0.3094. +- Outcome: Matched large-model continuation. Final EMA6000: sign augmentation wins (0.349298) over revised-loss control (0.346864) and richer synthetic generator (0.343184). Compute: control 618.3 s, synthetic 613.1 s, sign 617.9 s elapsed while sharing one H100. + +## E13/E14 large_synth_ema3000_continuity +- Checkpoint SHA-256: `aa73bdf3e3b2d44e69c716f2dc788789949b96d69f4cd92c2b0169bfd4dc89ce`. +- Evaluation: 97 configurations, 9473 instances, 0 failed configurations; 14.854033946990967 seconds. +- Overall skill 0.343138; relative MASE 0.782085; relative WQL 0.551689. +- term skill: long=0.3690, medium=0.3946, short=0.3119. +- domain skill: Econ/Fin=0.1103, Energy=0.1771, Healthcare=0.2214, Nature=0.4199, Sales=0.3279, Transport=0.4472, Web/CloudOps=0.5016. +- frequency skill: A=0.2856, D=0.3228, H=0.3725, M=0.0162, Q=0.1940, S=0.4277, T=0.3929, W=0.1727. +- variates skill: multivariate=0.3849, univariate=0.3079. +- Outcome: Matched large-model continuation. Final EMA6000: sign augmentation wins (0.349298) over revised-loss control (0.346864) and richer synthetic generator (0.343184). Compute: control 618.3 s, synthetic 613.1 s, sign 617.9 s elapsed while sharing one H100. + +## E13/E14 large_synth_ema6000_continuity +- Checkpoint SHA-256: `f23469b8d187d0304e0accdc424ddd2233ed87dd77b97500176eec73644e0591`. +- Evaluation: 97 configurations, 9473 instances, 0 failed configurations; 9.708917140960693 seconds. +- Overall skill 0.343184; relative MASE 0.781828; relative WQL 0.551793. +- term skill: long=0.3706, medium=0.3947, short=0.3112. +- domain skill: Econ/Fin=0.1127, Energy=0.1747, Healthcare=0.2160, Nature=0.4195, Sales=0.3267, Transport=0.4485, Web/CloudOps=0.5041. +- frequency skill: A=0.2764, D=0.3186, H=0.3736, M=0.0181, Q=0.1970, S=0.4302, T=0.3934, W=0.1723. +- variates skill: multivariate=0.3851, univariate=0.3077. +- Outcome: Matched large-model continuation. Final EMA6000: sign augmentation wins (0.349298) over revised-loss control (0.346864) and richer synthetic generator (0.343184). Compute: control 618.3 s, synthetic 613.1 s, sign 617.9 s elapsed while sharing one H100. + +## E16 earlier-window diagnostic large_loss6000 +- Checkpoint SHA-256: `f5c7327b365832e8bd2d1b7b01e61c334f5bf620f5cae5f4d45feef2041090e8`. +- Evaluation: 97 configurations, 9330 instances, 0 failed configurations; 9.924073696136475 seconds. +- Overall skill 0.311219; relative MASE 0.824887; relative WQL 0.575132. +- term skill: long=0.3825, medium=0.3465, short=0.2673. +- domain skill: Econ/Fin=0.1171, Energy=0.2168, Healthcare=0.3670, Nature=0.3256, Sales=0.3803, Transport=0.3468, Web/CloudOps=0.4260. +- frequency skill: A=0.2543, D=0.3358, H=0.3410, M=0.1505, Q=0.2187, S=0.3402, T=0.3096, W=0.2343. +- variates skill: multivariate=0.3301, univariate=0.2958. +- Outcome: Model selection only. Seasonal Naive is recomputed on the earlier cutoff and capped-history scale. Final sign augmentation improves both main and earlier cutoffs; the richer synthetic generator does not beat its control. No diagnostic labels enter training. + +## E16 earlier-window diagnostic large_parent +- Checkpoint SHA-256: `b7e4f38aebcd2cf38ce484edaad8d19851317fb3b8df485e2faa0d0423cbcb48`. +- Evaluation: 97 configurations, 9330 instances, 0 failed configurations; 15.111237525939941 seconds. +- Overall skill 0.312321; relative MASE 0.824141; relative WQL 0.573812. +- term skill: long=0.3880, medium=0.3443, short=0.2678. +- domain skill: Econ/Fin=0.1255, Energy=0.2150, Healthcare=0.3460, Nature=0.3326, Sales=0.3821, Transport=0.3403, Web/CloudOps=0.4349. +- frequency skill: A=0.2124, D=0.3388, H=0.3399, M=0.1428, Q=0.2091, S=0.3387, T=0.3160, W=0.2326. +- variates skill: multivariate=0.3359, univariate=0.2930. +- Outcome: Model selection only. Seasonal Naive is recomputed on the earlier cutoff and capped-history scale. Final sign augmentation improves both main and earlier cutoffs; the richer synthetic generator does not beat its control. No diagnostic labels enter training. + +## E16 earlier-window diagnostic large_sign1000 +- Checkpoint SHA-256: `393950048f9d0487869b7aa5e6bd01e7ea1715dba16b1367ee8be353eac7f408`. +- Evaluation: 97 configurations, 9330 instances, 0 failed configurations; 14.428916931152344 seconds. +- Overall skill 0.312240; relative MASE 0.821151; relative WQL 0.576037. +- term skill: long=0.3855, medium=0.3437, short=0.2691. +- domain skill: Econ/Fin=0.1296, Energy=0.2106, Healthcare=0.3560, Nature=0.3340, Sales=0.3905, Transport=0.3466, Web/CloudOps=0.4302. +- frequency skill: A=0.3161, D=0.3390, H=0.3442, M=0.1574, Q=0.2111, S=0.3426, T=0.3054, W=0.2304. +- variates skill: multivariate=0.3287, univariate=0.2988. +- Outcome: Model selection only. Seasonal Naive is recomputed on the earlier cutoff and capped-history scale. Final sign augmentation improves both main and earlier cutoffs; the richer synthetic generator does not beat its control. No diagnostic labels enter training. + +## E16 earlier-window diagnostic large_sign6000 +- Checkpoint SHA-256: `96c9d350412c076594f4cc026aaf7396eacc45478f3d402c5d60dcf85dce8547`. +- Evaluation: 97 configurations, 9330 instances, 0 failed configurations; 9.61752462387085 seconds. +- Overall skill 0.318367; relative MASE 0.813893; relative WQL 0.570866. +- term skill: long=0.3826, medium=0.3453, short=0.2811. +- domain skill: Econ/Fin=0.1456, Energy=0.2164, Healthcare=0.3902, Nature=0.3427, Sales=0.3912, Transport=0.3501, Web/CloudOps=0.4291. +- frequency skill: A=0.3181, D=0.3498, H=0.3477, M=0.1673, Q=0.2198, S=0.3427, T=0.3048, W=0.2686. +- variates skill: multivariate=0.3320, univariate=0.3073. +- Outcome: Model selection only. Seasonal Naive is recomputed on the earlier cutoff and capped-history scale. Final sign augmentation improves both main and earlier cutoffs; the richer synthetic generator does not beat its control. No diagnostic labels enter training. + +## E16 earlier-window diagnostic large_synth6000 +- Checkpoint SHA-256: `f23469b8d187d0304e0accdc424ddd2233ed87dd77b97500176eec73644e0591`. +- Evaluation: 97 configurations, 9330 instances, 0 failed configurations; 9.829549789428711 seconds. +- Overall skill 0.311804; relative MASE 0.824530; relative WQL 0.574404. +- term skill: long=0.3704, medium=0.3520, short=0.2715. +- domain skill: Econ/Fin=0.1602, Energy=0.2091, Healthcare=0.3496, Nature=0.3283, Sales=0.3808, Transport=0.3477, Web/CloudOps=0.4301. +- frequency skill: A=0.2270, D=0.3331, H=0.3416, M=0.1436, Q=0.2168, S=0.3434, T=0.3110, W=0.2438. +- variates skill: multivariate=0.3289, univariate=0.2979. +- Outcome: Model selection only. Seasonal Naive is recomputed on the earlier cutoff and capped-history scale. Final sign augmentation improves both main and earlier cutoffs; the richer synthetic generator does not beat its control. No diagnostic labels enter training. + +## E16 earlier-window diagnostic small_continuity +- Checkpoint SHA-256: `70a3768d667df75f0d6565e831cdca8cf7c179c8546252e5902f7b7ec68ab7aa`. +- Evaluation: 97 configurations, 9330 instances, 0 failed configurations; 12.578126668930054 seconds. +- Overall skill 0.314127; relative MASE 0.818301; relative WQL 0.574876. +- term skill: long=0.3797, medium=0.3430, short=0.2755. +- domain skill: Econ/Fin=0.1152, Energy=0.2137, Healthcare=0.3801, Nature=0.3283, Sales=0.3845, Transport=0.3460, Web/CloudOps=0.4366. +- frequency skill: A=0.2537, D=0.3362, H=0.3448, M=0.1858, Q=0.2208, S=0.3366, T=0.3083, W=0.2433. +- variates skill: multivariate=0.3331, univariate=0.2986. +- Outcome: Model selection only. Seasonal Naive is recomputed on the earlier cutoff and capped-history scale. Final sign augmentation improves both main and earlier cutoffs; the richer synthetic generator does not beat its control. No diagnostic labels enter training. + +## E16 earlier-window diagnostic small_no_continuity +- Checkpoint SHA-256: `70a3768d667df75f0d6565e831cdca8cf7c179c8546252e5902f7b7ec68ab7aa`. +- Evaluation: 97 configurations, 9330 instances, 0 failed configurations; 11.378507137298584 seconds. +- Overall skill 0.308552; relative MASE 0.826361; relative WQL 0.578561. +- term skill: long=0.3803, medium=0.3416, short=0.2654. +- domain skill: Econ/Fin=0.0571, Energy=0.2115, Healthcare=0.3152, Nature=0.3257, Sales=0.3845, Transport=0.3471, Web/CloudOps=0.4427. +- frequency skill: A=0.2363, D=0.3288, H=0.3546, M=0.1261, Q=0.1813, S=0.3403, T=0.3019, W=0.2031. +- variates skill: multivariate=0.3334, univariate=0.2881. +- Outcome: Model selection only. Seasonal Naive is recomputed on the earlier cutoff and capped-history scale. Final sign augmentation improves both main and earlier cutoffs; the richer synthetic generator does not beat its control. No diagnostic labels enter training. + +## E14 final sign-augmented single model, full validation +- Checkpoint SHA-256: `96c9d350412c076594f4cc026aaf7396eacc45478f3d402c5d60dcf85dce8547`. +- Evaluation: 97 configurations, 151170 instances, 0 failed configurations; not separately timed seconds. +- Overall skill 0.344508; relative MASE 0.777383; relative WQL 0.552713. +- term skill: long=0.3776, medium=0.3912, short=0.3123. +- domain skill: Econ/Fin=0.0926, Energy=0.1707, Healthcare=0.3648, Nature=0.4053, Sales=0.3446, Transport=0.4514, Web/CloudOps=0.4943. +- frequency skill: A=0.2937, D=0.3275, H=0.3694, M=0.0521, Q=0.1776, S=0.4300, T=0.3859, W=0.2124. +- variates skill: multivariate=0.3784, univariate=0.3162. +- Outcome: Full skill 0.344508, relative MASE 0.777383, relative WQL 0.552713, zero failures. Outperforms the published two-model ensemble (0.340239) and also improves the earlier-cutoff diagnostic. Full inference 57.2 s. Relocated repeated example calls are bitwise deterministic, finite and monotone. Selected for atomic publication. + +## E18 remove symmetric inference after sign-augmented training +- Checkpoint SHA-256: `96c9d350412c076594f4cc026aaf7396eacc45478f3d402c5d60dcf85dce8547`. +- Evaluation: 97 configurations, 9473 instances, 0 failed configurations; 13.020774841308594 seconds. +- Overall skill 0.345482; relative MASE 0.778014; relative WQL 0.550625. +- term skill: long=0.3817, medium=0.3909, short=0.3125. +- domain skill: Econ/Fin=0.1197, Energy=0.1784, Healthcare=0.3304, Nature=0.4074, Sales=0.3304, Transport=0.4474, Web/CloudOps=0.4960. +- frequency skill: A=0.3782, D=0.3248, H=0.3710, M=0.0198, Q=0.1916, S=0.4321, T=0.3889, W=0.2113. +- variates skill: multivariate=0.3767, univariate=0.3195. +- Outcome: Negative result: removing the x/-x average lowers screening skill from 0.349298 to 0.345482 despite sign-augmented training. We retain symmetric inference; the speed saving is not needed for the contract budget. + +## E17 16-point projection conversion before continuation +- Checkpoint SHA-256: `d69531bfde5bf801e7f36c515bf15fd0cae0bd84f7d1479d35f4a7b67f26b508`. +- Evaluation: 97 configurations, 9473 instances, 0 failed configurations; 17.147535800933838 seconds. +- Overall skill 0.341987; relative MASE 0.782323; relative WQL 0.553456. +- term skill: long=0.3765, medium=0.3855, short=0.3105. +- domain skill: Econ/Fin=0.0851, Energy=0.1664, Healthcare=0.3542, Nature=0.4067, Sales=0.3482, Transport=0.4386, Web/CloudOps=0.4996. +- frequency skill: A=0.2894, D=0.3469, H=0.3634, M=-0.0442, Q=0.1930, S=0.4414, T=0.3853, W=0.1987. +- variates skill: multivariate=0.3808, univariate=0.3093. +- Outcome: Conversion of our own E14 EMA6000 checkpoint loses screening skill from 0.349298 to 0.341987 before updates. Input/query projection halves are folded by summation, constant-feature activation preserved, first 16 output rows retained, and physical sine positions remain in 32-point units. No external weights. Continuation is needed. + +## E17 matched patch-resolution continuation +- Hypothesis: finer patches improve short-horizon detail and align common seasonal periods more closely without shortening context. +- Control: 32-point patches, 37,002,816 parameters; treatment: 16-point patches, 36,764,960 parameters, initialized by conversion of the same owned parent E14 EMA6000. Only patch projections and positional spacing change. Physical position units remain 32 points; metadata horizon is floored at 32 to preserve short-horizon conditioning. +- Both use the same window stream: seed47, batch256, 6000steps, AdamW8e-5, same sign-augmented sampler and median/seasonal-error-weighted loss/EMA. Context remains4096, maximum output1024. One H100 shared between runs. +- Conversion code: patch16/convert.py. The converted checkpoint retains its parent hash and conversion description. Training and runtime require the model in patch16/model.py, copied to patch16_inference/model.py. Results pending final matched checkpoints. + +## E17 patch16_trial_ema1000 +- Checkpoint SHA-256: `396a7e827e8ddd068535f96f590e710f1931818c4e0b4cc589648bf68c830ba1`. +- Evaluation: 97 configurations, 9473 instances, 0 failed configurations; 14.109450101852417 seconds. +- Overall skill 0.348957; relative MASE 0.771301; relative WQL 0.549536. +- term skill: long=0.3832, medium=0.3926, short=0.3175. +- domain skill: Econ/Fin=0.0969, Energy=0.1735, Healthcare=0.3953, Nature=0.4077, Sales=0.3495, Transport=0.4526, Web/CloudOps=0.4982. +- frequency skill: A=0.3699, D=0.3389, H=0.3688, M=0.0874, Q=0.1860, S=0.4381, T=0.3905, W=0.1934. +- variates skill: multivariate=0.3799, univariate=0.3232. +- Outcome: Matched seed47/window-stream comparison. Final patch16 skill 0.351398 exceeds patch32 0.350171, mainly through median error. Compute: control447.6s, patch16 563.2s, sharing one H100. Earlier-cutoff and full-package validation are pending before selection. + +## E17 patch16_trial_ema3000 +- Checkpoint SHA-256: `aad4bb2f079c957b1c2a064fc245e660bd9992bf0a01b57c9a48b0d33a44436e`. +- Evaluation: 97 configurations, 9473 instances, 0 failed configurations; 13.450159549713135 seconds. +- Overall skill 0.348611; relative MASE 0.772343; relative WQL 0.549378. +- term skill: long=0.3843, medium=0.3974, short=0.3144. +- domain skill: Econ/Fin=0.1014, Energy=0.1753, Healthcare=0.3863, Nature=0.4037, Sales=0.3479, Transport=0.4516, Web/CloudOps=0.4997. +- frequency skill: A=0.3647, D=0.3298, H=0.3718, M=0.0756, Q=0.1866, S=0.4393, T=0.3930, W=0.1879. +- variates skill: multivariate=0.3823, univariate=0.3204. +- Outcome: Matched seed47/window-stream comparison. Final patch16 skill 0.351398 exceeds patch32 0.350171, mainly through median error. Compute: control447.6s, patch16 563.2s, sharing one H100. Earlier-cutoff and full-package validation are pending before selection. + +## E17 patch16_trial_ema6000 +- Checkpoint SHA-256: `0ff54447074e0271d2e331c7d3e6e9e0fdd73353e4d8cef0175ff627385f71c3`. +- Evaluation: 97 configurations, 9473 instances, 0 failed configurations; 10.25124716758728 seconds. +- Overall skill 0.351398; relative MASE 0.770359; relative WQL 0.546090. +- term skill: long=0.3847, medium=0.3993, short=0.3185. +- domain skill: Econ/Fin=0.1048, Energy=0.1768, Healthcare=0.3969, Nature=0.4061, Sales=0.3499, Transport=0.4528, Web/CloudOps=0.5033. +- frequency skill: A=0.3673, D=0.3318, H=0.3738, M=0.0802, Q=0.1913, S=0.4391, T=0.3969, W=0.1924. +- variates skill: multivariate=0.3843, univariate=0.3240. +- Outcome: Matched seed47/window-stream comparison. Final patch16 skill 0.351398 exceeds patch32 0.350171, mainly through median error. Compute: control447.6s, patch16 563.2s, sharing one H100. Earlier-cutoff and full-package validation are pending before selection. + +## E17 patch32_control_ema1000 +- Checkpoint SHA-256: `56edd93dd7e80399be57a359574b2fb89eba843fa1ddf01f1d3f3a2d9c2fd73b`. +- Evaluation: 97 configurations, 9473 instances, 0 failed configurations; 12.499926567077637 seconds. +- Overall skill 0.347764; relative MASE 0.775926; relative WQL 0.548263. +- term skill: long=0.3840, medium=0.3930, short=0.3148. +- domain skill: Econ/Fin=0.1090, Energy=0.1783, Healthcare=0.3531, Nature=0.4057, Sales=0.3333, Transport=0.4508, Web/CloudOps=0.5005. +- frequency skill: A=0.3826, D=0.3190, H=0.3738, M=0.0404, Q=0.1937, S=0.4305, T=0.3927, W=0.2146. +- variates skill: multivariate=0.3815, univariate=0.3196. +- Outcome: Matched seed47/window-stream comparison. Final patch16 skill 0.351398 exceeds patch32 0.350171, mainly through median error. Compute: control447.6s, patch16 563.2s, sharing one H100. Earlier-cutoff and full-package validation are pending before selection. + +## E17 patch32_control_ema3000 +- Checkpoint SHA-256: `fe46ac478011854b20eeba3bbde42023f299e2d8544d223f046be0e234ae7c6e`. +- Evaluation: 97 configurations, 9473 instances, 0 failed configurations; 15.177376747131348 seconds. +- Overall skill 0.349507; relative MASE 0.774280; relative WQL 0.546496. +- term skill: long=0.3853, medium=0.3964, short=0.3160. +- domain skill: Econ/Fin=0.1062, Energy=0.1803, Healthcare=0.3631, Nature=0.4048, Sales=0.3322, Transport=0.4510, Web/CloudOps=0.5041. +- frequency skill: A=0.3765, D=0.3187, H=0.3755, M=0.0515, Q=0.1928, S=0.4362, T=0.3953, W=0.2095. +- variates skill: multivariate=0.3848, univariate=0.3199. +- Outcome: Matched seed47/window-stream comparison. Final patch16 skill 0.351398 exceeds patch32 0.350171, mainly through median error. Compute: control447.6s, patch16 563.2s, sharing one H100. Earlier-cutoff and full-package validation are pending before selection. + +## E17 patch32_control_ema6000 +- Checkpoint SHA-256: `3ee55007ebabdc41a5bbb6553dcd0c4b86e90b717dd1cff758d2318f538c0929`. +- Evaluation: 97 configurations, 9473 instances, 0 failed configurations; 9.685351848602295 seconds. +- Overall skill 0.350171; relative MASE 0.774332; relative WQL 0.545345. +- term skill: long=0.3851, medium=0.3971, short=0.3171. +- domain skill: Econ/Fin=0.1122, Energy=0.1816, Healthcare=0.3633, Nature=0.4023, Sales=0.3323, Transport=0.4516, Web/CloudOps=0.5054. +- frequency skill: A=0.3791, D=0.3172, H=0.3768, M=0.0518, Q=0.1910, S=0.4349, T=0.3964, W=0.2119. +- variates skill: multivariate=0.3854, univariate=0.3207. +- Outcome: Matched seed47/window-stream comparison. Final patch16 skill 0.351398 exceeds patch32 0.350171, mainly through median error. Compute: control447.6s, patch16 563.2s, sharing one H100. Earlier-cutoff and full-package validation are pending before selection. + +## E19 prefix-consistent direct decoder +- Hypothesis: requested total horizon should not change predictions of the same first steps. The context-only probe compared H48 versus H720 after all inference rules; mean absolute median-prefix differences were 0.0059–0.0582 context standard deviations across six sampled configurations (prefix_probe.json). +- Change: future-query self-attention becomes causal and the total-horizon metadata feature is replaced by its constant training-mixture mean. Forecasts remain direct and parallel; no generated output is fed back. Encoder/cross attention and all data/loss settings stay unchanged. +- Seed47, batch256, 6000steps, same original E14 EMA6000 parent and sampled-window stream as E17 patch32_control. Reuse that completed control instead of repeating it. Only the new decoder variant trains. Runtime/model: prefix_consistent/model.py, copied into prefix_inference. +- Results pending. + +## E17 patch16, full validation +- Checkpoint SHA-256: `0ff54447074e0271d2e331c7d3e6e9e0fdd73353e4d8cef0175ff627385f71c3`. +- Evaluation: 97 configurations, 151170 instances, 0 failed configurations; not separately timed seconds. +- Overall skill 0.346729; relative MASE 0.773486; relative WQL 0.551739. +- term skill: long=0.3768, medium=0.3979, short=0.3138. +- domain skill: Econ/Fin=0.0839, Energy=0.1675, Healthcare=0.4022, Nature=0.4059, Sales=0.3593, Transport=0.4530, Web/CloudOps=0.4957. +- frequency skill: A=0.2818, D=0.3356, H=0.3684, M=0.0967, Q=0.1741, S=0.4391, T=0.3887, W=0.1870. +- variates skill: multivariate=0.3799, univariate=0.3190. +- Outcome: Full skill 0.346729, relative MASE 0.773486 and relative WQL 0.551739, zero failures; improves the previous published 0.344508. Inference 57.5 seconds. Earlier-window skill 0.322486 versus control 0.319021. Relocated repeated example outputs are bitwise identical, finite and monotone. Initial assembly failed on a symlinked lineage path, was never published, and was rebuilt after canonicalizing paths; the missing-output score from that failed pipeline is discarded. + +## E19 prefix_consistent_ema1000 +- Checkpoint SHA-256: `aa797f3356c30e1859821bd807202298774b8d44b59b8325cc73956796a83b21`. +- Evaluation: 97 configurations, 9473 instances, 0 failed configurations; 10.920389413833618 seconds. +- Overall skill 0.347132; relative MASE 0.775797; relative WQL 0.549418. +- term skill: long=0.3820, medium=0.3928, short=0.3146. +- domain skill: Econ/Fin=0.1091, Energy=0.1769, Healthcare=0.3709, Nature=0.4082, Sales=0.3333, Transport=0.4492, Web/CloudOps=0.4954. +- frequency skill: A=0.3824, D=0.3200, H=0.3727, M=0.0361, Q=0.1918, S=0.4265, T=0.3902, W=0.2278. +- variates skill: multivariate=0.3798, univariate=0.3199. +- Outcome: Final skill 0.349313 is below the reused matched patch32 control (0.350171). This training recipe does not improve the score; not selected. Training elapsed 288.9 seconds on one H100. + +## E19 prefix_consistent_ema3000 +- Checkpoint SHA-256: `11094f18080cd31f38a7f33d1df852adc957d9f1705653360b21e790e55b6648`. +- Evaluation: 97 configurations, 9473 instances, 0 failed configurations; 10.28545594215393 seconds. +- Overall skill 0.348148; relative MASE 0.775101; relative WQL 0.548201. +- term skill: long=0.3814, medium=0.3951, short=0.3158. +- domain skill: Econ/Fin=0.1060, Energy=0.1786, Healthcare=0.3758, Nature=0.4101, Sales=0.3323, Transport=0.4489, Web/CloudOps=0.4963. +- frequency skill: A=0.3799, D=0.3215, H=0.3735, M=0.0487, Q=0.1876, S=0.4294, T=0.3915, W=0.2202. +- variates skill: multivariate=0.3812, univariate=0.3206. +- Outcome: Final skill 0.349313 is below the reused matched patch32 control (0.350171). This training recipe does not improve the score; not selected. Training elapsed 288.9 seconds on one H100. + +## E19 prefix_consistent_ema6000 +- Checkpoint SHA-256: `2572d0401c85966c3936b3feed906dee4206ca403a778c2356406aca57988ef7`. +- Evaluation: 97 configurations, 9473 instances, 0 failed configurations; 9.322679996490479 seconds. +- Overall skill 0.349313; relative MASE 0.774658; relative WQL 0.546555. +- term skill: long=0.3800, medium=0.3960, short=0.3181. +- domain skill: Econ/Fin=0.1130, Energy=0.1774, Healthcare=0.3765, Nature=0.4114, Sales=0.3328, Transport=0.4502, Web/CloudOps=0.4987. +- frequency skill: A=0.3795, D=0.3224, H=0.3737, M=0.0589, Q=0.1895, S=0.4294, T=0.3930, W=0.2214. +- variates skill: multivariate=0.3825, univariate=0.3216. +- Outcome: Final skill 0.349313 is below the reused matched patch32 control (0.350171). This training recipe does not improve the score; not selected. Training elapsed 288.9 seconds on one H100. + +## E20: learned cross-variable adapter on the frozen E17 backbone +Hypothesis: a jointly trained attention layer can exploit synchronized channels, especially on multivariate energy and weather series. Only a new 1.05M-parameter axial attention adapter is optimized; every backbone weight is frozen. Adapter output starts at zero, and univariate contexts bypass it exactly. Attention is confined to the channels of one instance. Context rows are grouped by whole instance in inference. +Training: seed 53, 6,000 steps, 32 groups per batch, 2/3/4/8 variates, learning rate 2e-4 with 200-step warmup, AdamW, same median/quantile seasonal-scaled objective as E17, EMA. Joint pack has 334,868,547 aligned observations from 26 allow-listed directories. Thirty percent locally generated multivariate series use mixtures of latent seasonal/AR drivers with random channel lags, optional integrated noise, and observation noise. Channel signs/scales and missing observations are augmented. No validation observations are used by training. The new adapter is zero-initialized so step 0 supplies an inference grouping control. + +## E21: longer context at inference, without retraining +Hypothesis: the encoder can benefit from histories longer than its 4,096-point training maximum. Hold E17 weights and all rules fixed and compare 8,192/16,384-point context caps with the current 4,096-point cap on all 97 screen configurations. This is a selection diagnostic, not adaptation; checkpoint tensor values are unchanged. + +## E22: function-preserving depth expansion +Hypothesis: more learned capacity can improve the persistent energy and economic errors. Expand E17 from 6 encoder/4 decoder layers to 12 encoder/8 decoder layers, 72,499,488 parameters. Keep original blocks at even positions and insert random blocks with zero attention and feedforward output projections at odd positions. The initial enlarged model produces bitwise identical quantiles in a synthetic bf16 forward check. Conversion seed 59; both the expanded model and a continued 36.8M control will use seed 59, identical sampled windows, sign augmentation, revised seasonal-scaled median/quantile loss, and 24,000 AdamW steps, batch 256, learning rate 8e-5. Data remains packed_sample from 95 allowed sources plus the original local generator. GPU jobs share the single H100 if overlapping; elapsed training-process seconds will be reported. + +## E21 untrained 8192 context cap +- Checkpoint SHA-256: `4cdcd096105c711926d1be912debeecf2999cc4e70389385ea60e516a211d035`. +- Evaluation: 97 configurations, 9473 instances, 0 failed configurations; 11.263309001922607 seconds. +- Overall skill 0.350147; relative MASE 0.769937; relative WQL 0.548498. +- term skill: long=0.3906, medium=0.3940, short=0.3160. +- domain skill: Econ/Fin=0.1042, Energy=0.1740, Healthcare=0.4046, Nature=0.3925, Sales=0.3499, Transport=0.4581, Web/CloudOps=0.5047. +- frequency skill: A=0.3673, D=0.3338, H=0.3751, M=0.0802, Q=0.1913, S=0.4410, T=0.3905, W=0.1924. +- variates skill: multivariate=0.3814, univariate=0.3241. +- Outcome: Screen skill 0.350147 is below the 4096-point parent 0.351398. Not selected. + +## E21 untrained 16384 context cap +- Checkpoint SHA-256: `a7504466f8d21bf752f3d99c32927a57cd63d0af5d5f15618ef4e8e1bdbeeb47`. +- Evaluation: 97 configurations, 9473 instances, 0 failed configurations; 14.697236776351929 seconds. +- Overall skill 0.347052; relative MASE 0.771167; relative WQL 0.552852. +- term skill: long=0.3936, medium=0.3900, short=0.3107. +- domain skill: Econ/Fin=0.1042, Energy=0.1694, Healthcare=0.4046, Nature=0.3838, Sales=0.3499, Transport=0.4577, Web/CloudOps=0.5032. +- frequency skill: A=0.3673, D=0.3345, H=0.3752, M=0.0802, Q=0.1913, S=0.4410, T=0.3807, W=0.1924. +- variates skill: multivariate=0.3779, univariate=0.3214. +- Outcome: Below the 4096-point parent; longer context needs training and is not selected. + +## E23: fixed local-level diffusion prior (negative result) +Hypothesis: smooth series might benefit from a decaying blend with their last value and random-walk intervals. Keep E17 forecasts fixed, estimate RMS consecutive differences from the last 512 context points, and blend Gaussian last-value forecasts with weight capped at 0.8, active only where squared-difference/context-variance ratio is below 0.05. Sweep decay 24/96/384 steps; no training, no fitting, no new random seed. All variants substantially regress on the 97-configuration screen, so none is adopted. Probe elapsed 5.3 CPU seconds. Parent checkpoint SHA-256: 0ff54447074e0271d2e331c7d3e6e9e0fdd73353e4d8cef0175ff627385f71c3. +- Decay 0: skill 0.3513976241007074; term skills {"short": 0.3185422008330211, "medium": 0.3993234467710519, "long": 0.38466658538687104}; domain skills {"Econ/Fin": 0.1047749678551001, "Energy": 0.17678999618615132, "Healthcare": 0.3968888878939394, "Nature": 0.4060764075001204, "Sales": 0.349917064856452, "Transport": 0.4527521728604965, "Web/CloudOps": 0.50332745421581}. +- Decay 24: skill 0.34165742688714285; term skills {"short": 0.30882663252618237, "medium": 0.38422047231265555, "long": 0.3803807240673608}; domain skills {"Econ/Fin": 0.09820862504146799, "Energy": 0.14638236482304767, "Healthcare": 0.3994101685341417, "Nature": 0.4097541459355638, "Sales": 0.34991701707454004, "Transport": 0.45281938688271317, "Web/CloudOps": 0.49437598362265067}. +- Decay 96: skill 0.3235906270632306; term skills {"short": 0.30736381494165377, "medium": 0.31870169010171356, "long": 0.3688721255257502}; domain skills {"Econ/Fin": 0.09505897302445243, "Energy": 0.1285464282539771, "Healthcare": 0.3977611664977332, "Nature": 0.41574057336372194, "Sales": 0.34991700862256025, "Transport": 0.45284743770041946, "Web/CloudOps": 0.43886394048274135}. +- Decay 384: skill 0.28712372958270105; term skills {"short": 0.30561653681994894, "medium": 0.2119589494208397, "long": 0.3091633781775974}; domain skills {"Econ/Fin": 0.09383616546291695, "Energy": 0.10801096739511007, "Healthcare": 0.3957240300486188, "Nature": 0.4179314810204363, "Sales": 0.3499170061816316, "Transport": 0.4526991548827556, "Web/CloudOps": 0.3016411139705769}. + +## E20 joint adapter full validation +- Checkpoint SHA-256: `88beaafe52bd88300ebd46afc3a0d950246c280c738ac52367203d6c776a3053`. +- Evaluation: 97 configurations, 151170 instances, 0 failed configurations; not separately timed seconds. +- Overall skill 0.348181; relative MASE 0.773070; relative WQL 0.549586. +- term skill: long=0.3789, medium=0.3973, short=0.3159. +- domain skill: Econ/Fin=0.0839, Energy=0.1670, Healthcare=0.4022, Nature=0.4151, Sales=0.3593, Transport=0.4530, Web/CloudOps=0.4958. +- frequency skill: A=0.2818, D=0.3370, H=0.3714, M=0.0967, Q=0.1741, S=0.4354, T=0.3901, W=0.1878. +- variates skill: multivariate=0.3830, univariate=0.3190. +- Outcome: Full validation improves from 0.346729 to 0.348181 with no failures. Main screen improves from 0.351398 to 0.352838, but the earlier-window diagnostic regresses from 0.322486 to 0.321225. Selected on the task full validation metric, with this temporal limitation recorded. Training 157.8 process seconds on the single shared H100; full inference 63.7 seconds excluding startup. Frozen backbone equality, within-instance isolation, and repeated relocated example determinism verified. + +## E20 joint adapter screen +- Checkpoint SHA-256: `88beaafe52bd88300ebd46afc3a0d950246c280c738ac52367203d6c776a3053`. +- Evaluation: 97 configurations, 9473 instances, 0 failed configurations; 15.721086978912354 seconds. +- Overall skill 0.352838; relative MASE 0.769945; relative WQL 0.543959. +- term skill: long=0.3868, medium=0.3987, short=0.3205. +- domain skill: Econ/Fin=0.1048, Energy=0.1763, Healthcare=0.3969, Nature=0.4152, Sales=0.3499, Transport=0.4528, Web/CloudOps=0.5034. +- frequency skill: A=0.3673, D=0.3332, H=0.3768, M=0.0802, Q=0.1913, S=0.4354, T=0.3982, W=0.1932. +- variates skill: multivariate=0.3874, univariate=0.3240. +- Outcome: The added adapter improves weather forecasts most; some ETT and cloud configurations regress. Original univariate forecasts are unchanged. + +## E20 joint adapter earlier-window diagnostic +- Checkpoint SHA-256: `88beaafe52bd88300ebd46afc3a0d950246c280c738ac52367203d6c776a3053`. +- Evaluation: 97 configurations, 9330 instances, 0 failed configurations; 16.06979727745056 seconds. +- Overall skill 0.321225; relative MASE 0.812345; relative WQL 0.567168. +- term skill: long=0.3839, medium=0.3520, short=0.2830. +- domain skill: Econ/Fin=0.1423, Energy=0.2143, Healthcare=0.3841, Nature=0.3485, Sales=0.3968, Transport=0.3596, Web/CloudOps=0.4341. +- frequency skill: A=0.3026, D=0.3536, H=0.3503, M=0.1681, Q=0.2189, S=0.3405, T=0.3157, W=0.2466. +- variates skill: multivariate=0.3338, univariate=0.3110. +- Outcome: Temporal diagnostic regression; this limits confidence in the small primary-validation gain. + +## E24: seasonal-template recency +Hypothesis: averaging the last four cycles induces bias when level or amplitude changes. Compare fixed 4/2/1-cycle means, four-cycle mean shifted to the latest cycle mean, and exponentially weighted four-cycle mean. The rest of the E17 forecaster and all confidence thresholds are fixed. Validation only; no parameter fitting. Centering improves the main screen 0.351398 to 0.353163 but decreases the earlier-window diagnostic 0.322486 to 0.321979. Other variants show larger temporal disagreement. Detailed per-configuration and group results remain in research/seasonal_recency/{screen,backcast}.json. Probe runtime: 15.3 and 15.0 CPU seconds. No variant published yet. + +## E25: learned recency features +Hypothesis: adding level and amplitude change features to future queries lets the model learn when seasonal recency matters, instead of imposing a uniform template rule. Add a zero-initialized 32,768-parameter query projection receiving, for each of the two periods, latest-cycle minus four-cycle mean and the phase template times the latest/four-cycle standard deviation ratio minus one. Ratios are clipped to [0.5,2]; features require three observed cycles. Existing query and median heads stay structurally unchanged. Starting function is preserved; all weights are then trained. Same seed 59, parent E17, 24,000-step learning-rate schedule, batch 256 and identical sampler stream as E22's 36.8M control. Checkpoints every 3,000 steps; an unpromising trial can be stopped early. No validation data is used by training. + +## E26: second earlier-cutoff diagnostic +Create a second nonoverlapping diagnostic window by removing another forecast horizon from E16 inputs. All observations remain within supplied validation histories and are never passed to trainers. 94 configurations and 8,934 instances have usable normalizers; Seasonal Naive and seasonal-error normalizers are recomputed for these prefixes. This diagnostic has its own scale and cannot be compared directly to primary validation or held-out reward. Purpose: assess temporal stability of the adapter and recency changes after the first earlier diagnostic disagreed with primary validation. + +E26 eligibility correction: SZ_TAXI long has exactly one seasonal period (96 points) left, so its prefix seasonal error is undefined. It is excluded from this diagnostic, alongside two configurations with insufficient context. An initial reference attempt detected the undefined metric; no candidate was selected on that invalid draft. + +E26 paired comparison on the 94 common configurations: adapter minus parent mean log geometric error by cutoff = [-0.0023015101916589752, 0.0019472848873323858, 0.0034041402255075566]. Positive means worse; the three-cutoff mean is 0.0010166383070603225. The adapter improves primary full validation but regresses on both earlier cutoffs, so its apparent gain is not temporally robust. + +E24 complete recency-rule ablation; parent checkpoint SHA-256 0ff54447074e0271d2e331c7d3e6e9e0fdd73353e4d8cef0175ff627385f71c3. No training, no random seed; model weights unchanged. + +screen diagnostic, 15.3 CPU seconds total: +- (4, 'mean'): skill 0.3513976241007074; group skills {"term": {"short": 0.3185422008330211, "medium": 0.3993234467710519, "long": 0.38466658538687104}, "domain": {"Econ/Fin": 0.1047749678551001, "Energy": 0.17678999618615132, "Healthcare": 0.3968888878939394, "Nature": 0.4060764075001204, "Sales": 0.349917064856452, "Transport": 0.4527521728604965, "Web/CloudOps": 0.50332745421581}, "freq": {"A-DEC": 0.3672744916070976, "Q-DEC": 0.19127390925064935, "M": 0.08024694183722458, "W-SUN": 0.035758619864346475, "D": 0.3318015817783623, "H": 0.37383534533108864, "15T": 0.1940857197364374, "W-FRI": -0.03678057554518466, "10T": 0.4946120106982924, "W-TUE": 0.552193186183172, "W-THU": 0.16944597286444163, "W-WED": 0.3192454708946336, "5T": 0.5069054537063827, "10S": 0.43906058031696027}} +- (2, 'mean'): skill 0.3515869592249251; group skills {"term": {"short": 0.31946055343361235, "medium": 0.395564454113736, "long": 0.3871567716641673}, "domain": {"Econ/Fin": 0.12253197026836216, "Energy": 0.18298948886090993, "Healthcare": 0.39741811166060514, "Nature": 0.40643913101885387, "Sales": 0.34900834734187824, "Transport": 0.45646747263938636, "Web/CloudOps": 0.4921796292797348}, "freq": {"A-DEC": 0.3672744916070976, "Q-DEC": 0.19172301173815798, "M": 0.07891640026491331, "W-SUN": 0.04042355013060539, "D": 0.3321769544067552, "H": 0.38073675441614074, "15T": 0.20117188206554237, "W-FRI": -0.03695866316509533, "10T": 0.49452343668884957, "W-TUE": 0.552193186183172, "W-THU": 0.16944597286444163, "W-WED": 0.3192454708946336, "5T": 0.5070472862431538, "10S": 0.3973951356554515}} +- (1, 'mean'): skill 0.3435908999493934; group skills {"term": {"short": 0.3116909988543801, "medium": 0.38160533975903543, "long": 0.384670295110323}, "domain": {"Econ/Fin": 0.13426770743669836, "Energy": 0.18216526583305703, "Healthcare": 0.40167072012279914, "Nature": 0.4064404130881688, "Sales": 0.3492754711813856, "Transport": 0.4589127441324581, "Web/CloudOps": 0.45693278131755455}, "freq": {"A-DEC": 0.3672744916070976, "Q-DEC": 0.19143020771042418, "M": 0.08285832779020297, "W-SUN": 0.04327272071755062, "D": 0.33288417189993846, "H": 0.38267829909706397, "15T": 0.19937252608994493, "W-FRI": -0.037004579119138015, "10T": 0.4945270610078465, "W-TUE": 0.552193186183172, "W-THU": 0.16944597286444163, "W-WED": 0.3192454708946336, "5T": 0.5067187989779461, "10S": 0.25271387987938276}} +- (4, 'centered'): skill 0.3531633226160329; group skills {"term": {"short": 0.3207293873053654, "medium": 0.3969450585806461, "long": 0.38964518179731034}, "domain": {"Econ/Fin": 0.12636396756466373, "Energy": 0.1800705780909143, "Healthcare": 0.3992839589819721, "Nature": 0.40602447440489264, "Sales": 0.34961552641405835, "Transport": 0.45585497734478375, "Web/CloudOps": 0.5005422814848317}, "freq": {"A-DEC": 0.3672744916070976, "Q-DEC": 0.19175192579993316, "M": 0.07909511983098594, "W-SUN": 0.042408325150654624, "D": 0.33302767036606196, "H": 0.37896395394765425, "15T": 0.19862358212653608, "W-FRI": -0.03667482636982777, "10T": 0.49458872561779677, "W-TUE": 0.552193186183172, "W-THU": 0.16944597286444163, "W-WED": 0.3192454708946336, "5T": 0.5067600572208003, "10S": 0.43120160792893125}} +- (4, 'exponential'): skill 0.3506285650976836; group skills {"term": {"short": 0.31758444696147214, "medium": 0.39583120771209657, "long": 0.38712405721550214}, "domain": {"Econ/Fin": 0.11941316839573946, "Energy": 0.1820733009344513, "Healthcare": 0.39881728965443064, "Nature": 0.4063573767251085, "Sales": 0.3492900874450249, "Transport": 0.45600364485060096, "Web/CloudOps": 0.4900268042948257}, "freq": {"A-DEC": 0.3672744916070976, "Q-DEC": 0.19155754727480623, "M": 0.08126365276376935, "W-SUN": 0.0395554234837493, "D": 0.3321922474298862, "H": 0.3798686284876259, "15T": 0.19972610305133176, "W-FRI": -0.036894372612062964, "10T": 0.49455551047271673, "W-TUE": 0.552193186183172, "W-THU": 0.16944597286444163, "W-WED": 0.3192454708946336, "5T": 0.507021365412977, "10S": 0.38828731350299905}} + +backcast diagnostic, 15.0 CPU seconds total: +- (4, 'mean'): skill 0.3224855500998881; group skills {"term": {"short": 0.2849500928667269, "medium": 0.35106641415497664, "long": 0.3858074289185036}, "domain": {"Econ/Fin": 0.14231294402320693, "Energy": 0.22033739564654398, "Healthcare": 0.38413791496286065, "Nature": 0.34419561689971845, "Sales": 0.3968014140531252, "Transport": 0.35961999575754544, "Web/CloudOps": 0.43501924471773445}, "freq": {"A-DEC": 0.30258726538887626, "Q-DEC": 0.21891811984740894, "M": 0.16812726492063224, "W-SUN": -0.010729530876487425, "D": 0.35222355718445886, "H": 0.3519096502404674, "15T": 0.2228803711964017, "W-FRI": 0.24958026063282224, "10T": 0.28160966000223076, "W-TUE": 0.5071080326855618, "W-THU": 0.17681316314370377, "W-WED": 0.3400228795320346, "5T": 0.41752089397176684, "10S": 0.3420520567149261}} +- (2, 'mean'): skill 0.31641087380554034; group skills {"term": {"short": 0.2768742380592605, "medium": 0.34943272384716806, "long": 0.38006754913357355}, "domain": {"Econ/Fin": 0.1588024863579226, "Energy": 0.21997369353201524, "Healthcare": 0.371350308865825, "Nature": 0.34524192786763674, "Sales": 0.3968014140531252, "Transport": 0.3617399277122316, "Web/CloudOps": 0.4078808317401613}, "freq": {"A-DEC": 0.30258726538887626, "Q-DEC": 0.21832950345882607, "M": 0.1660037727174999, "W-SUN": -0.006617407115359519, "D": 0.3510532765644364, "H": 0.35322947177285846, "15T": 0.2251426669096147, "W-FRI": 0.2495544318494044, "10T": 0.28154255982923526, "W-TUE": 0.5071080326855618, "W-THU": 0.17681316314370377, "W-WED": 0.3400228795320346, "5T": 0.417584870977882, "10S": 0.23197125321775225}} +- (1, 'mean'): skill 0.31723500000228033; group skills {"term": {"short": 0.28111182113787236, "medium": 0.34369676593720844, "long": 0.3794207668157681}, "domain": {"Econ/Fin": 0.16484876593565279, "Energy": 0.2163334841815111, "Healthcare": 0.34937996041769215, "Nature": 0.3461425603980003, "Sales": 0.3968014140531252, "Transport": 0.36432827783243815, "Web/CloudOps": 0.4170717985814322}, "freq": {"A-DEC": 0.30258726538887626, "Q-DEC": 0.21811526606513132, "M": 0.17155750755784438, "W-SUN": -0.004083126467642861, "D": 0.34319459279654896, "H": 0.35193709208671076, "15T": 0.22385514627514524, "W-FRI": 0.249535867076202, "10T": 0.28142605167103807, "W-TUE": 0.5071080326855618, "W-THU": 0.17681316314370377, "W-WED": 0.3400228795320346, "5T": 0.41764726501313276, "10S": 0.27470089184112967}} +- (4, 'centered'): skill 0.3219793532222529; group skills {"term": {"short": 0.28513766744425706, "medium": 0.34881946541915476, "long": 0.3853894132385529}, "domain": {"Econ/Fin": 0.15718749322076342, "Energy": 0.220305778786681, "Healthcare": 0.3623301744180454, "Nature": 0.34528108993797224, "Sales": 0.3968014140531252, "Transport": 0.3641900819387449, "Web/CloudOps": 0.4312095523303556}, "freq": {"A-DEC": 0.30258726538887626, "Q-DEC": 0.21945119732749618, "M": 0.17114892410654747, "W-SUN": -0.005425657907346837, "D": 0.3478712397506638, "H": 0.3538545808265424, "15T": 0.22504062323947938, "W-FRI": 0.24955455634324242, "10T": 0.28170410454547445, "W-TUE": 0.5071080326855618, "W-THU": 0.17681316314370377, "W-WED": 0.3400228795320346, "5T": 0.4176757195719526, "10S": 0.32801909847059685}} +- (4, 'exponential'): skill 0.3212088988374776; group skills {"term": {"short": 0.282531844032045, "medium": 0.3501930275891618, "long": 0.386723067036399}, "domain": {"Econ/Fin": 0.15471014663681715, "Energy": 0.22088089450488246, "Healthcare": 0.3714910427574707, "Nature": 0.3450102784118355, "Sales": 0.3968014140531252, "Transport": 0.3619509561390626, "Web/CloudOps": 0.4275124121699033}, "freq": {"A-DEC": 0.30258726538887626, "Q-DEC": 0.21855293965122158, "M": 0.16975398671452624, "W-SUN": -0.007489648663621784, "D": 0.3494275697398366, "H": 0.3534238823299253, "15T": 0.22624199923728783, "W-FRI": 0.24956090397954467, "10T": 0.28154140034619046, "W-TUE": 0.5071080326855618, "W-THU": 0.17681316314370377, "W-WED": 0.3400228795320346, "5T": 0.4176567607348064, "10S": 0.31322950674661665}} + +backcast2 diagnostic, 11.3 CPU seconds total: +- (4, 'mean'): skill 0.3455098962011296; group skills {"term": {"short": 0.3290580626564209, "medium": 0.3700339540817553, "long": 0.36380280474970406}, "domain": {"Econ/Fin": 0.08514981056677962, "Energy": 0.22004402556428637, "Healthcare": 0.34077993948093876, "Nature": 0.45181894051147786, "Sales": 0.5552026876860963, "Transport": 0.4089471064366391, "Web/CloudOps": 0.4235634025112891}, "freq": {"A-DEC": 0.33512027886093443, "Q-DEC": 0.14846418792970395, "M": 0.1666731962215917, "W-SUN": 0.04822698344798482, "D": 0.4221052975732391, "H": 0.37954447462865715, "15T": 0.09066258444282005, "W-FRI": 0.10650868616967224, "10T": 0.4524242293365175, "W-TUE": 0.0831470254212826, "W-THU": 0.26812593887733527, "W-WED": 0.5394413576371667, "5T": 0.45460956828782484, "10S": 0.2830610169711695}} +- (2, 'mean'): skill 0.34268288377692957; group skills {"term": {"short": 0.3260103214844039, "medium": 0.3650713522346687, "long": 0.36394907927583375}, "domain": {"Econ/Fin": 0.10626345560515471, "Energy": 0.21855508043330296, "Healthcare": 0.33494058443346464, "Nature": 0.45181894051147786, "Sales": 0.5552026876860963, "Transport": 0.41262361590216645, "Web/CloudOps": 0.40733619806789245}, "freq": {"A-DEC": 0.33512027886093443, "Q-DEC": 0.14853117890045908, "M": 0.15637649692786237, "W-SUN": 0.05109649829750129, "D": 0.4226979938774772, "H": 0.3810140667041473, "15T": 0.10084524164002151, "W-FRI": 0.10650868616967224, "10T": 0.4522402959584214, "W-TUE": 0.0831470254212826, "W-THU": 0.26812593887733527, "W-WED": 0.5394413576371667, "5T": 0.45675628129488266, "10S": 0.20569731261667445}} +- (1, 'mean'): skill 0.3445039461555758; group skills {"term": {"short": 0.332077466515454, "medium": 0.3668808106296455, "long": 0.3542531601492346}, "domain": {"Econ/Fin": 0.10936035558443968, "Energy": 0.21764038800605967, "Healthcare": 0.3307656098951277, "Nature": 0.45181894051147786, "Sales": 0.5552026876860963, "Transport": 0.41137296882664487, "Web/CloudOps": 0.4178001938815905}, "freq": {"A-DEC": 0.33512027886093443, "Q-DEC": 0.14899214852623166, "M": 0.14771341656467907, "W-SUN": 0.05292218751297184, "D": 0.42303155789223856, "H": 0.3788342098211268, "15T": 0.10485120143271387, "W-FRI": 0.10650868616967224, "10T": 0.45177551404888616, "W-TUE": 0.0831470254212826, "W-THU": 0.26812593887733527, "W-WED": 0.5394413576371667, "5T": 0.4576208051300459, "10S": 0.24855961647506852}} +- (4, 'centered'): skill 0.34598093527842033; group skills {"term": {"short": 0.3300325159298324, "medium": 0.3728154676891604, "long": 0.3603198134443867}, "domain": {"Econ/Fin": 0.10766883532595528, "Energy": 0.21948028584715717, "Healthcare": 0.3411805258187349, "Nature": 0.45181894051147786, "Sales": 0.5552026876860963, "Transport": 0.41219265214646406, "Web/CloudOps": 0.4193348965687418}, "freq": {"A-DEC": 0.33512027886093443, "Q-DEC": 0.14770244416717793, "M": 0.16665926477245963, "W-SUN": 0.05081321100071179, "D": 0.4226895384052014, "H": 0.3801908053318377, "15T": 0.10067740700220107, "W-FRI": 0.10650868616967224, "10T": 0.45281662963561176, "W-TUE": 0.0831470254212826, "W-THU": 0.26812593887733527, "W-WED": 0.5394413576371667, "5T": 0.4517952090885672, "10S": 0.27767832330559383}} +- (4, 'exponential'): skill 0.3469706591030196; group skills {"term": {"short": 0.330791312305022, "medium": 0.3720978115862891, "long": 0.36385111952680094}, "domain": {"Econ/Fin": 0.1001234277395946, "Energy": 0.2202025077634595, "Healthcare": 0.336380045647639, "Nature": 0.45181894051147786, "Sales": 0.5552026876860963, "Transport": 0.41155494383831315, "Web/CloudOps": 0.4258605737282435}, "freq": {"A-DEC": 0.33512027886093443, "Q-DEC": 0.1486686416475177, "M": 0.15834250660686766, "W-SUN": 0.05058427650785369, "D": 0.42264469285933903, "H": 0.38114337578655855, "15T": 0.10061532381315941, "W-FRI": 0.10650868616967224, "10T": 0.4522176935148189, "W-TUE": 0.0831470254212826, "W-THU": 0.26812593887733527, "W-WED": 0.5394413576371667, "5T": 0.45594734272112136, "10S": 0.2839470264038111}} + +Centered four-cycle templates improve primary full validation and the second earlier diagnostic, while slightly reducing the first earlier diagnostic. They replace the joint adapter package: full validation 0.348797 versus adapter 0.348181, with better temporal stability. The joint adapter remains an archived experiment after worsening on both earlier cutoffs. + +## E24 centered seasonal template full validation +- Checkpoint SHA-256: `0ff54447074e0271d2e331c7d3e6e9e0fdd73353e4d8cef0175ff627385f71c3`. +- Evaluation: 97 configurations, 151170 instances, 0 failed configurations; not separately timed seconds. +- Overall skill 0.348797; relative MASE 0.771273; relative WQL 0.549826. +- term skill: long=0.3827, medium=0.3957, short=0.3161. +- domain skill: Econ/Fin=0.1051, Energy=0.1719, Healthcare=0.4042, Nature=0.4059, Sales=0.3592, Transport=0.4561, Web/CloudOps=0.4931. +- frequency skill: A=0.2818, D=0.3368, H=0.3739, M=0.0954, Q=0.1765, S=0.4312, T=0.3905, W=0.1880. +- variates skill: multivariate=0.3783, univariate=0.3243. +- Outcome: Published. Same 36,764,960 learned parameters as E17; fixed seasonal template now preserves four-cycle shape while aligning its mean to the latest cycle. Full validation 0.348797 with zero failures; screen 0.353163; earlier diagnostics 0.321979 and 0.345981. Full inference 79.6 seconds while three training processes shared the one H100. Repeated relocated examples bitwise identical, finite, monotone. + +## E27: quantile width calibration diagnostic +Hypothesis: the changed training objective and sign-averaged forecasts may change interval calibration relative to the early E3 width sweep. Hold current E24 medians fixed and compare global width multipliers 0.75, 1.0 and 1.25, preserving positivity and monotone deciles. No training or new random seed. Evaluate primary full validation and both earlier diagnostics; retain the same multiplier for every instance and horizon if adopted. Record per-configuration decile coverage to distinguish interval calibration from point-forecast errors. + +## E28: stronger seasonal-error scaling in the training loss +Hypothesis: the existing floor 0.25 and maximum weight 4 underweight highly predictable series, whose small seasonal-error denominators make small biases costly in MASE. Change only this loss factor to floor 0.05 and maximum weight 20. The weight is derived from training contexts only; no validation observations enter gradients. Same E17 parent, seed 59, batch 256, sampled windows, 8e-5 learning rate and 24,000-step schedule as E22 control. Assess at 3,000 and 6,000 steps before deciding whether to continue. No architecture or inference changes. All training processes use the same single H100. + +E27 completed: global interval-width calibration is unchanged. The 1.0 multiplier wins on all three cutoffs; 0.75 and 1.25 are rejected. Parent checkpoint SHA-256: 0ff54447074e0271d2e331c7d3e6e9e0fdd73353e4d8cef0175ff627385f71c3. + +full, 21.961196422576904 CPU seconds: +- Width 0.75: skill 0.3452164549545038; group skills {"term": {"short": 0.313465550024141, "medium": 0.3915340298847654, "long": 0.37755696642578507}, "domain": {"Econ/Fin": 0.10580171688867446, "Energy": 0.16637482564763484, "Healthcare": 0.40914268073244664, "Nature": 0.4019524649941506, "Sales": 0.3530144630644825, "Transport": 0.4556672339606386, "Web/CloudOps": 0.4876214368641769}, "freq": {"A-DEC": 0.28725493449470174, "Q-DEC": 0.1801084712445944, "M": 0.11175276948966328, "W-SUN": 0.0323370845377442, "D": 0.3312199981338694, "H": 0.3695069715804825, "15T": 0.18168253390246492, "W-FRI": -0.056487631535321325, "10T": 0.49352637886384465, "W-TUE": 0.5378585205934543, "W-THU": 0.18433827097062172, "W-WED": 0.31349093490925006, "5T": 0.49222999321979144, "10S": 0.42390324244202104}} +- Width 1.0: skill 0.3487966789303172; group skills {"term": {"short": 0.3161336626027256, "medium": 0.3956796502512826, "long": 0.38269594016340247}, "domain": {"Econ/Fin": 0.10510484967413847, "Energy": 0.171919600185363, "Healthcare": 0.4042072222593659, "Nature": 0.40589812140398485, "Sales": 0.3591878025853771, "Transport": 0.4560779320618533, "Web/CloudOps": 0.4931146707071308}, "freq": {"A-DEC": 0.2818339423423022, "Q-DEC": 0.17653014662394806, "M": 0.09542703722254098, "W-SUN": 0.028486795465021086, "D": 0.336759380183841, "H": 0.3739148859162613, "15T": 0.18778774397400844, "W-FRI": -0.055524607369072276, "10T": 0.49458872561912703, "W-TUE": 0.552193186183172, "W-THU": 0.16944597281618878, "W-WED": 0.3192454710115562, "5T": 0.4977061545271937, "10S": 0.431201607928979}} +- Width 1.25: skill 0.34610650213535965; group skills {"term": {"short": 0.31181715347067873, "medium": 0.39425414652966917, "long": 0.3825681229603841}, "domain": {"Econ/Fin": 0.09501414185590251, "Energy": 0.17012785606235192, "Healthcare": 0.3929707629727902, "Nature": 0.4039288459201795, "Sales": 0.3578978997303499, "Transport": 0.4512528387663022, "Web/CloudOps": 0.49362461046923467}, "freq": {"A-DEC": 0.2690929347470029, "Q-DEC": 0.16432266959209074, "M": 0.07072014222773326, "W-SUN": 0.01173769854460438, "D": 0.3347121204957273, "H": 0.37299271990393135, "15T": 0.18526873151735845, "W-FRI": -0.07163417179692866, "10T": 0.49168735086319126, "W-TUE": 0.562370097705067, "W-THU": 0.14458649403408286, "W-WED": 0.32018515385552937, "5T": 0.4992200637780666, "10S": 0.43174911263031324}} + +backcast, 8.311058759689331 CPU seconds: +- Width 0.75: skill 0.31957721298205577; group skills {"term": {"short": 0.2849135227503923, "medium": 0.3430617259135954, "long": 0.3812505435660858}, "domain": {"Econ/Fin": 0.16020201234615272, "Energy": 0.21754177729190793, "Healthcare": 0.3694068614617043, "Nature": 0.3429441402339167, "Sales": 0.39134717268523767, "Transport": 0.36216325202164235, "Web/CloudOps": 0.42635659392097536}, "freq": {"A-DEC": 0.3052930254291859, "Q-DEC": 0.22988988761857532, "M": 0.17459013453754524, "W-SUN": 0.007398260950902569, "D": 0.3450062706602839, "H": 0.3480315684129901, "15T": 0.22233620685464417, "W-FRI": 0.30096387619142784, "10T": 0.27185481492835484, "W-TUE": 0.5329255178801061, "W-THU": 0.18370602390723068, "W-WED": 0.33814381573585706, "5T": 0.40916267988319677, "10S": 0.3313031636056427}} +- Width 1.0: skill 0.3219793532184254; group skills {"term": {"short": 0.28513766744059266, "medium": 0.34881946541549136, "long": 0.3853894132342357}, "domain": {"Econ/Fin": 0.15718749322715975, "Energy": 0.22030577879293345, "Healthcare": 0.3623301744205766, "Nature": 0.34528108990726747, "Sales": 0.39680141405427904, "Transport": 0.36419008193684854, "Web/CloudOps": 0.431209552326686}, "freq": {"A-DEC": 0.30258726544387415, "Q-DEC": 0.2194511972962907, "M": 0.1711489239900802, "W-SUN": -0.005425657920283156, "D": 0.3478712397620801, "H": 0.35385458082566135, "15T": 0.22504062321275653, "W-FRI": 0.24955455634173984, "10T": 0.2817041045341433, "W-TUE": 0.5071080326855618, "W-THU": 0.17681316324492524, "W-WED": 0.3400228795175667, "5T": 0.41767571957575267, "10S": 0.32801909847013033}} +- Width 1.25: skill 0.31790201775956073; group skills {"term": {"short": 0.2784084543186459, "medium": 0.34919365386981416, "long": 0.38309258280714664}, "domain": {"Econ/Fin": 0.14485063305112178, "Energy": 0.2160406174537144, "Healthcare": 0.34843021568184673, "Nature": 0.3414042631923321, "Sales": 0.3949701602051685, "Transport": 0.36064559654919026, "Web/CloudOps": 0.43041506837139865}, "freq": {"A-DEC": 0.289217486212048, "Q-DEC": 0.20086669955100855, "M": 0.15692994437261798, "W-SUN": -0.02840754711998872, "D": 0.34384490006115054, "H": 0.35403896763656184, "15T": 0.21854779190662021, "W-FRI": 0.19508006514698906, "10T": 0.2864956555409153, "W-TUE": 0.4740288982750931, "W-THU": 0.15896541765809558, "W-WED": 0.3390816757566152, "5T": 0.42177642249121394, "10S": 0.3165112734495428}} + +backcast2, 8.009549379348755 CPU seconds: +- Width 0.75: skill 0.34409820450993134; group skills {"term": {"short": 0.3290162458924437, "medium": 0.3688383955368778, "long": 0.3584446274583232}, "domain": {"Econ/Fin": 0.1059670159637679, "Energy": 0.2168683811981844, "Healthcare": 0.3413880194250112, "Nature": 0.45062953387079285, "Sales": 0.5547232267111362, "Transport": 0.4100430663915112, "Web/CloudOps": 0.41729590695067253}, "freq": {"A-DEC": 0.34005157942217423, "Q-DEC": 0.1412869592685284, "M": 0.16881189749680703, "W-SUN": 0.047625092062016594, "D": 0.4231522928214516, "H": 0.37698957063440086, "15T": 0.0904235813541534, "W-FRI": 0.11812283700385673, "10T": 0.44881967454327965, "W-TUE": 0.07442882063540968, "W-THU": 0.2788710322691663, "W-WED": 0.5437864115591705, "5T": 0.444848784038935, "10S": 0.2913075712082248}} +- Width 1.0: skill 0.34598093529199403; group skills {"term": {"short": 0.33003251595401095, "medium": 0.3728154676872124, "long": 0.3603198134466531}, "domain": {"Econ/Fin": 0.10766883533558247, "Energy": 0.2194802858514432, "Healthcare": 0.34118052581938385, "Nature": 0.4518189405691444, "Sales": 0.5552026877071643, "Transport": 0.4121926521487488, "Web/CloudOps": 0.41933489656663536}, "freq": {"A-DEC": 0.33512027884784024, "Q-DEC": 0.14770244414049571, "M": 0.16665926486843274, "W-SUN": 0.05081321100210512, "D": 0.42268953844805357, "H": 0.3801908053296258, "15T": 0.10067740700216166, "W-FRI": 0.10650868616810949, "10T": 0.45281662963431724, "W-TUE": 0.0831470254212826, "W-THU": 0.2681259389949434, "W-WED": 0.5394413576971099, "5T": 0.45179520908580906, "10S": 0.2776783233055614}} +- Width 1.25: skill 0.3413902485820186; group skills {"term": {"short": 0.32419069585401805, "medium": 0.37023913422459476, "long": 0.35685627734091574}, "domain": {"Econ/Fin": 0.09962820431101826, "Energy": 0.21472017584206793, "Healthcare": 0.3337184668053308, "Nature": 0.44788650255350915, "Sales": 0.5519703061689909, "Transport": 0.4091113202517557, "Web/CloudOps": 0.41471225075769447}, "freq": {"A-DEC": 0.3220090566072281, "Q-DEC": 0.14689640454759956, "M": 0.15748943073554222, "W-SUN": 0.043428818988100804, "D": 0.4159786673838306, "H": 0.3773278172245832, "15T": 0.1020767647441726, "W-FRI": 0.08603022609757915, "10T": 0.45227993224331775, "W-TUE": 0.07815927778447074, "W-THU": 0.25035502046342106, "W-WED": 0.53163473233605, "5T": 0.4537783408350755, "10S": 0.2545513618912605}} + +Decile coverage uses <=, so ties at zero contribute excess lower-tail coverage on intermittent nonnegative series. Coverage alone is not evidence for changing intervals; the proper quantile loss favors the existing widths. + +## E22 control 3000-step checkpoint +- Checkpoint SHA-256: `8fcb7dd923c415a0a93261be09f4b29a73674bc6188f33afb50130d615643715`. +- Evaluation: 97 configurations, 9473 instances, 0 failed configurations; 16.52501678466797 seconds. +- Overall skill 0.350784; relative MASE 0.771331; relative WQL 0.546434. +- term skill: long=0.3855, medium=0.3992, short=0.3171. +- domain skill: Econ/Fin=0.1025, Energy=0.1770, Healthcare=0.3901, Nature=0.4076, Sales=0.3484, Transport=0.4531, Web/CloudOps=0.5016. +- frequency skill: A=0.3699, D=0.3270, H=0.3752, M=0.0777, Q=0.1894, S=0.4382, T=0.3953, W=0.1970. +- variates skill: multivariate=0.3839, univariate=0.3232. +- Outcome: Matched continuation control; primary screen 0.350784. Continuing training. + +## E22 control 6000-step checkpoint +- Checkpoint SHA-256: `ae199bb31299e77f3035e227d61bf9b41fa84ae4eb9825f4d5d2bc7aef813934`. +- Evaluation: 97 configurations, 9473 instances, 0 failed configurations; 15.943427324295044 seconds. +- Overall skill 0.352399; relative MASE 0.769997; relative WQL 0.544661. +- term skill: long=0.3861, medium=0.4001, short=0.3195. +- domain skill: Econ/Fin=0.1064, Energy=0.1818, Healthcare=0.3888, Nature=0.4095, Sales=0.3482, Transport=0.4533, Web/CloudOps=0.5013. +- frequency skill: A=0.3691, D=0.3297, H=0.3767, M=0.0899, Q=0.1951, S=0.4372, T=0.3967, W=0.1945. +- variates skill: multivariate=0.3861, univariate=0.3242. +- Outcome: Screen 0.352399; 869.5 elapsed training-process seconds through this checkpoint on shared single H100. Continuing training. + +## E22 expanded depth 3000-step checkpoint +- Checkpoint SHA-256: `606808eaa8f41a4d8ffd7a336639c197cdb656b462d7b74cda0425a9c7b7ab88`. +- Evaluation: 97 configurations, 9473 instances, 0 failed configurations; 23.74061632156372 seconds. +- Overall skill 0.349903; relative MASE 0.771470; relative WQL 0.547820. +- term skill: long=0.3846, medium=0.3995, short=0.3157. +- domain skill: Econ/Fin=0.1036, Energy=0.1753, Healthcare=0.3821, Nature=0.4103, Sales=0.3478, Transport=0.4524, Web/CloudOps=0.5003. +- frequency skill: A=0.3697, D=0.3271, H=0.3737, M=0.0851, Q=0.1912, S=0.4378, T=0.3939, W=0.1942. +- variates skill: multivariate=0.3823, univariate=0.3229. +- Outcome: Screen 0.349903 versus matched control 0.350784. 768.0 elapsed training-process seconds. Continuing to assess a longer run. + +## E25 learned recency 3000-step checkpoint +- Checkpoint SHA-256: `ff6465dac03192cfc5f8837d8c6ab9524b0fb81c1a73867ff6e08aaf83a53398`. +- Evaluation: 97 configurations, 9473 instances, 0 failed configurations; 18.54782772064209 seconds. +- Overall skill 0.351702; relative MASE 0.770454; relative WQL 0.545509. +- term skill: long=0.3852, medium=0.3988, short=0.3191. +- domain skill: Econ/Fin=0.1014, Energy=0.1767, Healthcare=0.4078, Nature=0.4093, Sales=0.3476, Transport=0.4541, Web/CloudOps=0.5002. +- frequency skill: A=0.3707, D=0.3341, H=0.3745, M=0.0812, Q=0.1898, S=0.4360, T=0.3954, W=0.1980. +- variates skill: multivariate=0.3834, univariate=0.3253. +- Outcome: Screen 0.351702 versus matched control 0.350784. 510.3 elapsed training-process seconds. This is a modest early improvement; further checkpoints and temporal diagnostics remain. + +## E22 control 6000 with centered seasonal template, full validation +- Checkpoint SHA-256: `ae199bb31299e77f3035e227d61bf9b41fa84ae4eb9825f4d5d2bc7aef813934`. +- Evaluation: 97 configurations, 151170 instances, 0 failed configurations; not separately timed seconds. +- Overall skill 0.349953; relative MASE 0.770650; relative WQL 0.548317. +- term skill: long=0.3842, medium=0.3966, short=0.3172. +- domain skill: Econ/Fin=0.1065, Energy=0.1770, Healthcare=0.3987, Nature=0.4093, Sales=0.3570, Transport=0.4567, Web/CloudOps=0.4912. +- frequency skill: A=0.2855, D=0.3349, H=0.3766, M=0.1068, Q=0.1785, S=0.4296, T=0.3905, W=0.1906. +- variates skill: multivariate=0.3802, univariate=0.3248. +- Outcome: Published: full validation 0.349953 versus previous 0.348797, with zero failures. Earlier diagnostics improve to 0.322147 and 0.348634 from 0.321979 and 0.345981. Full inference took 98.8 seconds while four training processes shared the one H100. Repeated relocated example checks passed. Training continues beyond this milestone. + +## E22 control 6000 centered, earlier diagnostic +- Checkpoint SHA-256: `ae199bb31299e77f3035e227d61bf9b41fa84ae4eb9825f4d5d2bc7aef813934`. +- Evaluation: 97 configurations, 9330 instances, 0 failed configurations; 21.958669662475586 seconds. +- Overall skill 0.322147; relative MASE 0.812166; relative WQL 0.565752. +- term skill: long=0.3872, medium=0.3503, short=0.2840. +- domain skill: Econ/Fin=0.1531, Energy=0.2205, Healthcare=0.3579, Nature=0.3475, Sales=0.3966, Transport=0.3647, Web/CloudOps=0.4317. +- frequency skill: A=0.3153, D=0.3426, H=0.3545, M=0.1663, Q=0.2129, S=0.3286, T=0.3204, W=0.2542. +- variates skill: multivariate=0.3358, univariate=0.3111. +- Outcome: Small improvement over the preceding package. + +## E22 control 6000 centered, second earlier diagnostic +- Checkpoint SHA-256: `ae199bb31299e77f3035e227d61bf9b41fa84ae4eb9825f4d5d2bc7aef813934`. +- Evaluation: 94 configurations, 8934 instances, 0 failed configurations; 21.61665678024292 seconds. +- Overall skill 0.348634; relative MASE 0.779607; relative WQL 0.544220. +- term skill: long=0.3637, medium=0.3753, short=0.3325. +- domain skill: Econ/Fin=0.1024, Energy=0.2199, Healthcare=0.3508, Nature=0.4590, Sales=0.5576, Transport=0.4153, Web/CloudOps=0.4205. +- frequency skill: A=0.3380, D=0.4233, H=0.3833, M=0.1690, Q=0.1387, S=0.2800, T=0.3398, W=0.2426. +- variates skill: multivariate=0.3512, univariate=0.3465. +- Outcome: Improvement over the preceding package. + +## E29: coarse memory of older context (prepared) +Hypothesis: a separately trained memory can extract useful information from points 4,097–16,384 without changing the frozen backbone’s treatment of its recent 4,096 points. Older observations are normalized using the recent window and averaged in groups of four, then encoded by two extra blocks. A zero-output cross-attention projection adds this memory to recent encoder states. Initial function is preserved; recent seasonal and continuity rules remain unchanged. The added embedding and two encoder blocks start from copies of our own trained weights, and the cross-attention output starts at zero. No external weights. Total 44,401,952 parameters; 7,636,992 trainable. Eight-step batch-16 smoke run on allowed packed_sample with seed 67 produced finite weights and updated only the history module. Full training has not started. + +## E30: seasonal amplitude alignment +Hypothesis: four-cycle shape averaging also lags changes in seasonal amplitude. Starting from E24 centered templates, scale their deviations around the mean to the latest cycle standard deviation, correcting both variance estimates for observation noise inferred from seasonal differences. Scale ratio is clipped to [0.5,2], and amplitude alignment requires at least 75% finite observations in the latest cycle. All thresholds, intervals, learned weights and confidence gates remain fixed. Compare centered versus aligned templates on three diagnostic cutoffs using cached E17 raw forecasts; no training or new random seed. + +E30 initial amplitude-alignment results, parent checkpoint SHA-256 0ff54447074e0271d2e331c7d3e6e9e0fdd73353e4d8cef0175ff627385f71c3: + +screen, 7.7 CPU seconds total: +- (4, 'centered'): skill 0.3531633226160329; group skills {"term": {"short": 0.3207293873053654, "medium": 0.3969450585806461, "long": 0.38964518179731034}, "domain": {"Econ/Fin": 0.12636396756466373, "Energy": 0.1800705780909143, "Healthcare": 0.3992839589819721, "Nature": 0.40602447440489264, "Sales": 0.34961552641405835, "Transport": 0.45585497734478375, "Web/CloudOps": 0.5005422814848317}, "freq": {"A-DEC": 0.3672744916070976, "Q-DEC": 0.19175192579993316, "M": 0.07909511983098594, "W-SUN": 0.042408325150654624, "D": 0.33302767036606196, "H": 0.37896395394765425, "15T": 0.19862358212653608, "W-FRI": -0.03667482636982777, "10T": 0.49458872561779677, "W-TUE": 0.552193186183172, "W-THU": 0.16944597286444163, "W-WED": 0.3192454708946336, "5T": 0.5067600572208003, "10S": 0.43120160792893125}} +- (4, 'aligned'): skill 0.35398462796791796; group skills {"term": {"short": 0.3217411363550048, "medium": 0.39832598201137914, "long": 0.3894451118078128}, "domain": {"Econ/Fin": 0.128986533479437, "Energy": 0.1846259909517678, "Healthcare": 0.3989632452392111, "Nature": 0.40602447440489264, "Sales": 0.34961552641405835, "Transport": 0.45834957050423264, "Web/CloudOps": 0.4970505147956361}, "freq": {"A-DEC": 0.3672744916070976, "Q-DEC": 0.1913923357266032, "M": 0.07925704481777684, "W-SUN": 0.04248196090218248, "D": 0.332866037279251, "H": 0.38330094783509405, "15T": 0.20143473054459382, "W-FRI": -0.036466297970424444, "10T": 0.49454418004359824, "W-TUE": 0.552193186183172, "W-THU": 0.16944597286444163, "W-WED": 0.3192454708946336, "5T": 0.506404214769247, "10S": 0.4192979394083295}} + +backcast, 8.3 CPU seconds total: +- (4, 'centered'): skill 0.3219793532222529; group skills {"term": {"short": 0.28513766744425706, "medium": 0.34881946541915476, "long": 0.3853894132385529}, "domain": {"Econ/Fin": 0.15718749322076342, "Energy": 0.220305778786681, "Healthcare": 0.3623301744180454, "Nature": 0.34528108993797224, "Sales": 0.3968014140531252, "Transport": 0.3641900819387449, "Web/CloudOps": 0.4312095523303556}, "freq": {"A-DEC": 0.30258726538887626, "Q-DEC": 0.21945119732749618, "M": 0.17114892410654747, "W-SUN": -0.005425657907346837, "D": 0.3478712397506638, "H": 0.3538545808265424, "15T": 0.22504062323947938, "W-FRI": 0.24955455634324242, "10T": 0.28170410454547445, "W-TUE": 0.5071080326855618, "W-THU": 0.17681316314370377, "W-WED": 0.3400228795320346, "5T": 0.4176757195719526, "10S": 0.32801909847059685}} +- (4, 'aligned'): skill 0.32199923078598136; group skills {"term": {"short": 0.2839405542344856, "medium": 0.34882959423473925, "long": 0.38815021409803896}, "domain": {"Econ/Fin": 0.15740802100053652, "Energy": 0.21807242823144724, "Healthcare": 0.36213507616373974, "Nature": 0.3461350653810715, "Sales": 0.3968014140531252, "Transport": 0.3649195243648111, "Web/CloudOps": 0.4328434979914423}, "freq": {"A-DEC": 0.30258726538887626, "Q-DEC": 0.2183391142623865, "M": 0.1754893176389558, "W-SUN": -0.004377726385369485, "D": 0.3466775300728464, "H": 0.3524837610290207, "15T": 0.2254592175464284, "W-FRI": 0.24954835437149747, "10T": 0.2817431568124176, "W-TUE": 0.5071080326855618, "W-THU": 0.17681316314370377, "W-WED": 0.3400228795320346, "5T": 0.41754999889925704, "10S": 0.3353593007357636}} + +backcast2, 9.4 CPU seconds total: +- (4, 'centered'): skill 0.34598093527842033; group skills {"term": {"short": 0.3300325159298324, "medium": 0.3728154676891604, "long": 0.3603198134443867}, "domain": {"Econ/Fin": 0.10766883532595528, "Energy": 0.21948028584715717, "Healthcare": 0.3411805258187349, "Nature": 0.45181894051147786, "Sales": 0.5552026876860963, "Transport": 0.41219265214646406, "Web/CloudOps": 0.4193348965687418}, "freq": {"A-DEC": 0.33512027886093443, "Q-DEC": 0.14770244416717793, "M": 0.16665926477245963, "W-SUN": 0.05081321100071179, "D": 0.4226895384052014, "H": 0.3801908053318377, "15T": 0.10067740700220107, "W-FRI": 0.10650868616967224, "10T": 0.45281662963561176, "W-TUE": 0.0831470254212826, "W-THU": 0.26812593887733527, "W-WED": 0.5394413576371667, "5T": 0.4517952090885672, "10S": 0.27767832330559383}} +- (4, 'aligned'): skill 0.3467340001955017; group skills {"term": {"short": 0.3300823793890595, "medium": 0.3753689052243039, "long": 0.36094597324048516}, "domain": {"Econ/Fin": 0.10766542601267182, "Energy": 0.22063331078456605, "Healthcare": 0.33410091914860696, "Nature": 0.45181894051147786, "Sales": 0.5552026876860963, "Transport": 0.4141243473009397, "Web/CloudOps": 0.42142071217676347}, "freq": {"A-DEC": 0.33512027886093443, "Q-DEC": 0.14888883016351762, "M": 0.15492673811864788, "W-SUN": 0.05041601533475526, "D": 0.4227650502464607, "H": 0.38160118363487416, "15T": 0.10559542335780892, "W-FRI": 0.10650868616967224, "10T": 0.4528840561650268, "W-TUE": 0.0831470254212826, "W-THU": 0.26812593887733527, "W-WED": 0.5394413576371667, "5T": 0.45189525302575095, "10S": 0.2812440461970862}} + +The new rule improves all three aggregate diagnostics on the E17 weights. A complete package evaluation with the newer E22 control weights is in progress before adoption. + +E29 zero-initialization verification: all 97 screen configurations exactly reproduce the E17 centered runtime skill 0.3531633226160329. Evaluation 21.35 seconds on the shared H100. The eight-step smoke changed the history output projection by 1.4182e-5 maximum while all frozen backbone weights remained bitwise equal and all weights finite. + +## E25 learned recency 6000-step checkpoint +- Checkpoint SHA-256: `dbbc4ff247028db1f339846b58c16c74d41a4a7b87e6a834988d95ee04c16734`. +- Evaluation: 97 configurations, 9473 instances, 0 failed configurations; 19.591322422027588 seconds. +- Overall skill 0.352851; relative MASE 0.769426; relative WQL 0.544305. +- term skill: long=0.3876, medium=0.3997, short=0.3198. +- domain skill: Econ/Fin=0.1086, Energy=0.1828, Healthcare=0.3943, Nature=0.4120, Sales=0.3475, Transport=0.4545, Web/CloudOps=0.4982. +- frequency skill: A=0.3715, D=0.3323, H=0.3775, M=0.0905, Q=0.1942, S=0.4343, T=0.3965, W=0.1950. +- variates skill: multivariate=0.3855, univariate=0.3256. +- Outcome: Screen 0.352851 versus matched control 0.352399; modest improvement persists. Temporal diagnostics and later checkpoints remain. + +## E30 amplitude aligned template, full validation +- Checkpoint SHA-256: `ae199bb31299e77f3035e227d61bf9b41fa84ae4eb9825f4d5d2bc7aef813934`. +- Evaluation: 97 configurations, 151170 instances, 0 failed configurations; not separately timed seconds. +- Overall skill 0.350837; relative MASE 0.770162; relative WQL 0.547174. +- term skill: long=0.3846, medium=0.3975, short=0.3183. +- domain skill: Econ/Fin=0.1090, Energy=0.1818, Healthcare=0.3984, Nature=0.4093, Sales=0.3570, Transport=0.4592, Web/CloudOps=0.4877. +- frequency skill: A=0.2855, D=0.3348, H=0.3812, M=0.1070, Q=0.1786, S=0.4173, T=0.3911, W=0.1906. +- variates skill: multivariate=0.3791, univariate=0.3274. +- Outcome: Published. With the E22 control 6000-step weights, full validation improves 0.349953 to 0.350837, first earlier diagnostic 0.322147 to 0.322219, and second earlier diagnostic 0.348634 to 0.349310. No failures; deterministic relocated example checks passed. Full inference 96.8 seconds while sharing the one H100 with four training processes. All template changes are fixed formulas; learned parameters remain unchanged. + +## E30 aligned template first earlier diagnostic +- Checkpoint SHA-256: `ae199bb31299e77f3035e227d61bf9b41fa84ae4eb9825f4d5d2bc7aef813934`. +- Evaluation: 97 configurations, 9330 instances, 0 failed configurations; 20.561070680618286 seconds. +- Overall skill 0.322219; relative MASE 0.811128; relative WQL 0.566355. +- term skill: long=0.3898, medium=0.3504, short=0.2830. +- domain skill: Econ/Fin=0.1533, Energy=0.2182, Healthcare=0.3588, Nature=0.3483, Sales=0.3966, Transport=0.3655, Web/CloudOps=0.4333. +- frequency skill: A=0.3153, D=0.3418, H=0.3532, M=0.1706, Q=0.2117, S=0.3358, T=0.3205, W=0.2543. +- variates skill: multivariate=0.3369, univariate=0.3103. +- Outcome: Small improvement over centered templates. + +## E30 aligned template second earlier diagnostic +- Checkpoint SHA-256: `ae199bb31299e77f3035e227d61bf9b41fa84ae4eb9825f4d5d2bc7aef813934`. +- Evaluation: 94 configurations, 8934 instances, 0 failed configurations; 20.08868408203125 seconds. +- Overall skill 0.349310; relative MASE 0.778190; relative WQL 0.544080. +- term skill: long=0.3643, medium=0.3777, short=0.3325. +- domain skill: Econ/Fin=0.1024, Energy=0.2210, Healthcare=0.3434, Nature=0.4590, Sales=0.5576, Transport=0.4172, Web/CloudOps=0.4224. +- frequency skill: A=0.3380, D=0.4234, H=0.3847, M=0.1568, Q=0.1399, S=0.2828, T=0.3413, W=0.2426. +- variates skill: multivariate=0.3522, univariate=0.3470. +- Outcome: Improvement over centered templates. + +## E28 stronger seasonal loss 3000-step checkpoint +- Checkpoint SHA-256: `a514371332282d8ff1cf42e0c2127683e6bb95bfb98c1a6df6332c604d72c865`. +- Evaluation: 97 configurations, 9473 instances, 0 failed configurations; 20.41924524307251 seconds. +- Overall skill 0.350569; relative MASE 0.771378; relative WQL 0.546763. +- term skill: long=0.3829, medium=0.3988, short=0.3180. +- domain skill: Econ/Fin=0.1028, Energy=0.1748, Healthcare=0.4041, Nature=0.4086, Sales=0.3488, Transport=0.4526, Web/CloudOps=0.4996. +- frequency skill: A=0.3725, D=0.3288, H=0.3734, M=0.0932, Q=0.1901, S=0.4387, T=0.3933, W=0.1988. +- variates skill: multivariate=0.3818, univariate=0.3246. +- Outcome: Screen 0.350569 versus matched control 0.350784. No gain at this checkpoint; continue to 6000 steps before deciding. + +E29 full trial started from the E22 control 6000-step backbone, seed 67, batch 64, 6,000 steps, learning rate 2e-4 with 200-step warmup and cosine decay. Only the 7.64M history-memory parameters train. Batch size is reduced to fit concurrent experiments on the one H100. Context lengths 8,192/16,384 with probabilities 0.4/0.6; horizon mixture remains 32/128/512/1024. Inference uses the current amplitude-aligned seasonal rule on the recent 4,096 points, so the additional history affects only the learned memory. The parent differs from the newly published E25 branch; zero-step evaluation supplies the exact matched control. + +## E25 learned recency 6000 with aligned templates, full validation +- Checkpoint SHA-256: `dbbc4ff247028db1f339846b58c16c74d41a4a7b87e6a834988d95ee04c16734`. +- Evaluation: 97 configurations, 151170 instances, 0 failed configurations; not separately timed seconds. +- Overall skill 0.351407; relative MASE 0.769733; relative WQL 0.546517. +- term skill: long=0.3860, medium=0.3973, short=0.3189. +- domain skill: Econ/Fin=0.1113, Energy=0.1828, Healthcare=0.4050, Nature=0.4118, Sales=0.3571, Transport=0.4604, Web/CloudOps=0.4845. +- frequency skill: A=0.2870, D=0.3384, H=0.3819, M=0.1083, Q=0.1800, S=0.4144, T=0.3909, W=0.1904. +- variates skill: multivariate=0.3786, univariate=0.3289. +- Outcome: Published. Full validation 0.351407 versus preceding 0.350837; earlier diagnostics 0.323269 and 0.350071 versus 0.322219 and 0.349310. No failures; repeated relocated examples are bitwise identical, finite and monotone. Total 36,797,728 parameters. Full inference 96.7 seconds while the one H100 was shared with training. Training continues. + +## E25 recency 6000 aligned first earlier diagnostic +- Checkpoint SHA-256: `dbbc4ff247028db1f339846b58c16c74d41a4a7b87e6a834988d95ee04c16734`. +- Evaluation: 97 configurations, 9330 instances, 0 failed configurations; 20.321524143218994 seconds. +- Overall skill 0.323269; relative MASE 0.809492; relative WQL 0.565744. +- term skill: long=0.3896, medium=0.3509, short=0.2848. +- domain skill: Econ/Fin=0.1588, Energy=0.2200, Healthcare=0.3660, Nature=0.3488, Sales=0.3987, Transport=0.3659, Web/CloudOps=0.4318. +- frequency skill: A=0.3196, D=0.3433, H=0.3536, M=0.1780, Q=0.2165, S=0.3305, T=0.3218, W=0.2570. +- variates skill: multivariate=0.3369, univariate=0.3122. +- Outcome: Improves the matched continued model with the same aligned-template runtime. + +## E25 recency 6000 aligned second earlier diagnostic +- Checkpoint SHA-256: `dbbc4ff247028db1f339846b58c16c74d41a4a7b87e6a834988d95ee04c16734`. +- Evaluation: 94 configurations, 8934 instances, 0 failed configurations; 20.002116203308105 seconds. +- Overall skill 0.350071; relative MASE 0.777410; relative WQL 0.543353. +- term skill: long=0.3631, medium=0.3788, short=0.3338. +- domain skill: Econ/Fin=0.1067, Energy=0.2234, Healthcare=0.3529, Nature=0.4590, Sales=0.5596, Transport=0.4165, Web/CloudOps=0.4198. +- frequency skill: A=0.3409, D=0.4269, H=0.3856, M=0.1584, Q=0.1427, S=0.2730, T=0.3428, W=0.2398. +- variates skill: multivariate=0.3525, univariate=0.3481. +- Outcome: Improves the matched continued model with the same aligned-template runtime. + +E22 depth trial pruned after two matched comparisons: 3000-step skill 0.349903 versus control 0.350784, and 6000-step skill 0.351873 versus control 0.352399. The 6000-step checkpoint cost 1961.8 elapsed training-process seconds, versus 869.5 for the control under different shared-GPU contention. The planned 24,000 steps were not completed. This establishes no benefit at the tested budgets, not that greater depth can never help. Saved checkpoints remain available. Stop receipt: [{"pid": 4519, "kind": "training", "elapsed_seconds": 2108}, {"pid": 4914, "kind": "watcher", "elapsed_seconds": 1723}]. + +## E22 expanded depth 6000-step checkpoint +- Checkpoint SHA-256: `a1efd06cff13f7f47559d83d37ea63f6bc65692df49fd2bfe039502d33978632`. +- Evaluation: 97 configurations, 9473 instances, 0 failed configurations; 29.713934898376465 seconds. +- Overall skill 0.351873; relative MASE 0.770476; relative WQL 0.545206. +- term skill: long=0.3864, medium=0.4005, short=0.3182. +- domain skill: Econ/Fin=0.1070, Energy=0.1815, Healthcare=0.3779, Nature=0.4133, Sales=0.3487, Transport=0.4524, Web/CloudOps=0.4999. +- frequency skill: A=0.3690, D=0.3292, H=0.3764, M=0.0873, Q=0.1951, S=0.4370, T=0.3963, W=0.1928. +- variates skill: multivariate=0.3859, univariate=0.3234. +- Outcome: Below the matched 36.8M control for the second comparison. Stop this trial and retain its checkpoints; prioritize the smaller learned-feature and history-memory experiments on one H100. + +## E31: stochastic seasonal amplitude in synthetic pretraining (prepared) +Hypothesis: the original generator has constant Fourier amplitudes, whereas the added recency features describe changing amplitudes. Modulate the seasonal component in half of synthetic draws by a positive AR log-amplitude with time constant 100–10,000, stationary log standard deviation 0.05–0.4 and log-value clipping [-2,2]. The modulation is applied before trends, observation noise, missing values and intermittence. A separate RNG seed = main seed + 100003 preserves all source selection, corpus windows, horizon/context choices and original generator random draws relative to E25. Planned seed 59 and E17 initialization allow comparison with existing E25 checkpoints without retraining a control. No training started yet. + +## E29 history memory 1000-step checkpoint +- Checkpoint SHA-256: `a3bdc3a7525ed869d48fc1ce2b54785bb82aa64573e3b3d8a0de98df10680af3`. +- Evaluation: 97 configurations, 9473 instances, 0 failed configurations; 23.969539165496826 seconds. +- Overall skill 0.355846; relative MASE 0.766420; relative WQL 0.541393. +- term skill: long=0.3920, medium=0.3994, short=0.3237. +- domain skill: Econ/Fin=0.1304, Energy=0.1908, Healthcare=0.3939, Nature=0.4095, Sales=0.3479, Transport=0.4592, Web/CloudOps=0.4963. +- frequency skill: A=0.3691, D=0.3317, H=0.3867, M=0.0892, Q=0.1952, S=0.4178, T=0.4001, W=0.1953. +- variates skill: multivariate=0.3846, univariate=0.3320. +- Outcome: Improves the matched zero-step screen score 0.354979. Elapsed training-process time 104.3 seconds on the shared single H100. Temporal diagnostics determine whether the gain transfers across cutoffs. + +## E29 history memory 3000-step checkpoint +- Checkpoint SHA-256: `81b1e8dfae60e87a20a2f0ff6d3464a608c8b86624cfc3383ca29441e9f1fd92`. +- Evaluation: 97 configurations, 9473 instances, 0 failed configurations; 20.785941123962402 seconds. +- Overall skill 0.356376; relative MASE 0.765914; relative WQL 0.540860. +- term skill: long=0.3932, medium=0.3995, short=0.3240. +- domain skill: Econ/Fin=0.1306, Energy=0.1923, Healthcare=0.3934, Nature=0.4102, Sales=0.3479, Transport=0.4591, Web/CloudOps=0.4965. +- frequency skill: A=0.3691, D=0.3318, H=0.3878, M=0.0892, Q=0.1952, S=0.4179, T=0.4005, W=0.1953. +- variates skill: multivariate=0.3854, univariate=0.3323. +- Outcome: Improves the matched zero-step screen score 0.354979. Elapsed training-process time 283.3 seconds on the shared single H100. Temporal diagnostics determine whether the gain transfers across cutoffs. + +E31 training started: seed 59, batch 256, 24,000-step schedule, learning rate 8e-5, E17 initialization, same query-feature architecture as E25. Tests verified that all corpus-only rows are identical to E25 and that the main RNG states remain identical after both corpus-only and synthetic-only batches; 11 of 32 synthetic test rows changed. The independent modulation stream is seed 100062. Evaluate at 3000/6000 steps before extending this trial. + +## E22 control 12000 with aligned templates, full validation +- Checkpoint SHA-256: `69e01d3fbc013287a1e63346e7cefbbe82acfb98f7d446459d52c931515bd8a8`. +- Evaluation: 97 configurations, 151170 instances, 0 failed configurations; not separately timed seconds. +- Overall skill 0.355096; relative MASE 0.766848; relative WQL 0.542351. +- term skill: long=0.3891, medium=0.3999, short=0.3233. +- domain skill: Econ/Fin=0.1147, Energy=0.1853, Healthcare=0.3958, Nature=0.4163, Sales=0.3582, Transport=0.4612, Web/CloudOps=0.4938. +- frequency skill: A=0.2887, D=0.3392, H=0.3848, M=0.1131, Q=0.1870, S=0.4202, T=0.3967, W=0.1906. +- variates skill: multivariate=0.3845, univariate=0.3307. +- Outcome: Published. Full validation 0.355096 versus preceding E25-6000 package 0.351407, first earlier diagnostic 0.325963 versus 0.323269, and second earlier diagnostic 0.352462 versus 0.350071. No failures; repeated relocated examples are bitwise identical, finite and monotone. Full inference 98.8 seconds under shared H100 contention. The matched E25-12000 checkpoint is still training. + +## E22 control12000 aligned first earlier diagnostic +- Checkpoint SHA-256: `69e01d3fbc013287a1e63346e7cefbbe82acfb98f7d446459d52c931515bd8a8`. +- Evaluation: 97 configurations, 9330 instances, 0 failed configurations; 22.49058723449707 seconds. +- Overall skill 0.325963; relative MASE 0.809373; relative WQL 0.561330. +- term skill: long=0.3895, medium=0.3521, short=0.2893. +- domain skill: Econ/Fin=0.1619, Energy=0.2209, Healthcare=0.3713, Nature=0.3541, Sales=0.3962, Transport=0.3666, Web/CloudOps=0.4365. +- frequency skill: A=0.3123, D=0.3490, H=0.3551, M=0.1691, Q=0.2293, S=0.3380, T=0.3258, W=0.2557. +- variates skill: multivariate=0.3406, univariate=0.3141. +- Outcome: Improves the preceding package. + +## E22 control12000 aligned second earlier diagnostic +- Checkpoint SHA-256: `69e01d3fbc013287a1e63346e7cefbbe82acfb98f7d446459d52c931515bd8a8`. +- Evaluation: 94 configurations, 8934 instances, 0 failed configurations; 21.788399934768677 seconds. +- Overall skill 0.352462; relative MASE 0.775936; relative WQL 0.540386. +- term skill: long=0.3649, medium=0.3793, short=0.3372. +- domain skill: Econ/Fin=0.1068, Energy=0.2227, Healthcare=0.3661, Nature=0.4623, Sales=0.5608, Transport=0.4167, Web/CloudOps=0.4248. +- frequency skill: A=0.3383, D=0.4276, H=0.3860, M=0.1616, Q=0.1520, S=0.2793, T=0.3458, W=0.2493. +- variates skill: multivariate=0.3545, univariate=0.3508. +- Outcome: Improves the preceding package. + +## E32: transfer the learned history memory to the improved backbone +Hypothesis: the frozen history memory learns useful features that remain compatible with a later continuation of the same backbone architecture. Combine E29 history-memory tensors at 6000 steps with every backbone tensor from E22 control at 12000 steps. This is a deterministic combination of our own trained assets, with no new training and no external weights. Both parent checkpoint hashes and full training lineages are retained. The publication utility now traverses both parent branches and declares all their sources and generator seeds. Compare to the E22-12000 aligned-template runtime across three cutoffs before adoption. + +## E29 history memory 6000-step screen +- Checkpoint SHA-256: `5c3b98e648e31f0d2aa61a150700be8147ba2638c975510fc15bdb311531cf43`. +- Evaluation: 97 configurations, 9473 instances, 0 failed configurations; 43.3264684677124 seconds. +- Overall skill 0.357127; relative MASE 0.765099; relative WQL 0.540174. +- term skill: long=0.3941, medium=0.3993, short=0.3251. +- domain skill: Econ/Fin=0.1303, Energy=0.1925, Healthcare=0.3999, Nature=0.4104, Sales=0.3479, Transport=0.4597, Web/CloudOps=0.4973. +- frequency skill: A=0.3691, D=0.3342, H=0.3893, M=0.0892, Q=0.1952, S=0.4179, T=0.4002, W=0.1953. +- variates skill: multivariate=0.3861, univariate=0.3331. +- Outcome: Screen 0.357127 versus zero-step 0.354979. Training completed in 531.4 process seconds on the shared single H100. First earlier diagnostic regresses while the second improves; do not publish standalone without broader evidence. + +## E29 history memory first earlier diagnostic +- Checkpoint SHA-256: `5c3b98e648e31f0d2aa61a150700be8147ba2638c975510fc15bdb311531cf43`. +- Evaluation: 97 configurations, 9330 instances, 0 failed configurations; 22.55209970474243 seconds. +- Overall skill 0.321189; relative MASE 0.812469; relative WQL 0.567141. +- term skill: long=0.3883, medium=0.3470, short=0.2831. +- domain skill: Econ/Fin=0.1541, Energy=0.2165, Healthcare=0.3555, Nature=0.3461, Sales=0.3966, Transport=0.3649, Web/CloudOps=0.4336. +- frequency skill: A=0.3153, D=0.3408, H=0.3550, M=0.1706, Q=0.2117, S=0.3336, T=0.3162, W=0.2543. +- variates skill: multivariate=0.3353, univariate=0.3098. +- Outcome: Regresses from the matched parent 0.322219 to 0.321189. + +## E29 history memory second earlier diagnostic +- Checkpoint SHA-256: `5c3b98e648e31f0d2aa61a150700be8147ba2638c975510fc15bdb311531cf43`. +- Evaluation: 94 configurations, 8934 instances, 0 failed configurations; 22.82407259941101 seconds. +- Overall skill 0.350315; relative MASE 0.776760; relative WQL 0.543398. +- term skill: long=0.3664, medium=0.3780, short=0.3334. +- domain skill: Econ/Fin=0.1037, Energy=0.2222, Healthcare=0.3446, Nature=0.4601, Sales=0.5576, Transport=0.4171, Web/CloudOps=0.4239. +- frequency skill: A=0.3380, D=0.4241, H=0.3857, M=0.1568, Q=0.1399, S=0.2820, T=0.3431, W=0.2426. +- variates skill: multivariate=0.3544, univariate=0.3470. +- Outcome: Improves from the matched parent 0.349310 to 0.350315. + +## E28 stronger seasonal loss 6000-step checkpoint +- Checkpoint SHA-256: `6208c74c3a6902d0410708741fd3ee609649e28732e5d5ee2696169685768e9b`. +- Evaluation: 97 configurations, 9473 instances, 0 failed configurations; 19.053489208221436 seconds. +- Overall skill 0.352533; relative MASE 0.769384; relative WQL 0.544869. +- term skill: long=0.3857, medium=0.3986, short=0.3205. +- domain skill: Econ/Fin=0.1093, Energy=0.1807, Healthcare=0.4083, Nature=0.4098, Sales=0.3497, Transport=0.4525, Web/CloudOps=0.4985. +- frequency skill: A=0.3742, D=0.3386, H=0.3743, M=0.0874, Q=0.1946, S=0.4388, T=0.3951, W=0.1953. +- variates skill: multivariate=0.3844, univariate=0.3260. +- Outcome: Screen 0.352533 versus matched control 0.352399; first earlier diagnostic 0.322419 versus control 0.322598. Differences are small and inconsistent; continue to the 12000-step comparison. Training time through 6000: 1375.1 process seconds. + +## E22 pruned depth model earlier diagnostic +- Checkpoint SHA-256: `a1efd06cff13f7f47559d83d37ea63f6bc65692df49fd2bfe039502d33978632`. +- Evaluation: 97 configurations, 9330 instances, 0 failed configurations; 29.58867907524109 seconds. +- Overall skill 0.322537; relative MASE 0.811436; relative WQL 0.565609. +- term skill: long=0.3876, medium=0.3519, short=0.2839. +- domain skill: Econ/Fin=0.1430, Energy=0.2205, Healthcare=0.3835, Nature=0.3473, Sales=0.3985, Transport=0.3592, Web/CloudOps=0.4331. +- frequency skill: A=0.3156, D=0.3515, H=0.3521, M=0.1655, Q=0.2142, S=0.3417, T=0.3184, W=0.2490. +- variates skill: multivariate=0.3364, univariate=0.3113. +- Outcome: Score 0.322537 versus matched control 0.322598, confirming no useful advantage in the tested budgets. + +## E33: global quantile ensemble of the newer backbone and transferred memory +Hypothesis: averaging the unmodified E22-12000 forecasts with E32 reduces the history memory’s temporal instability. Compare fixed backbone weights 0.25/0.5/0.75, with the complementary weight on the memory model, across all three diagnostics. Both members must forecast every instance in any deployed package. This is a cached-output diagnostic first, with no training or per-dataset choice. Actual package inference and full validation remain required before publication. + +## E32 transferred history memory screen +- Checkpoint SHA-256: `c5a6d1fa7f637f2fa36f9176d66f39a71f8f3c8c84fef8098ec03a88a59f68e7`. +- Evaluation: 97 configurations, 9473 instances, 0 failed configurations; 24.279379844665527 seconds. +- Overall skill 0.361285; relative MASE 0.762270; relative WQL 0.535186. +- term skill: long=0.3979, medium=0.4009, short=0.3306. +- domain skill: Econ/Fin=0.1354, Energy=0.1960, Healthcare=0.4004, Nature=0.4175, Sales=0.3496, Transport=0.4614, Web/CloudOps=0.5026. +- frequency skill: A=0.3746, D=0.3390, H=0.3931, M=0.0951, Q=0.1983, S=0.4210, T=0.4049, W=0.1967. +- variates skill: multivariate=0.3911, univariate=0.3365. +- Outcome: Main-screen gain persists on the newer backbone, but the first earlier diagnostic remains below its matched control. Not published standalone. + +## E32 transferred history memory first earlier +- Checkpoint SHA-256: `c5a6d1fa7f637f2fa36f9176d66f39a71f8f3c8c84fef8098ec03a88a59f68e7`. +- Evaluation: 97 configurations, 9330 instances, 0 failed configurations; 24.01271629333496 seconds. +- Overall skill 0.324581; relative MASE 0.811091; relative WQL 0.562442. +- term skill: long=0.3866, medium=0.3491, short=0.2893. +- domain skill: Econ/Fin=0.1617, Energy=0.2185, Healthcare=0.3678, Nature=0.3513, Sales=0.3962, Transport=0.3659, Web/CloudOps=0.4368. +- frequency skill: A=0.3123, D=0.3475, H=0.3561, M=0.1691, Q=0.2293, S=0.3357, T=0.3214, W=0.2557. +- variates skill: multivariate=0.3385, univariate=0.3133. +- Outcome: Main-screen gain persists on the newer backbone, but the first earlier diagnostic remains below its matched control. Not published standalone. + +## E32 transferred history memory second earlier +- Checkpoint SHA-256: `c5a6d1fa7f637f2fa36f9176d66f39a71f8f3c8c84fef8098ec03a88a59f68e7`. +- Evaluation: 94 configurations, 8934 instances, 0 failed configurations; 23.5328631401062 seconds. +- Overall skill 0.352606; relative MASE 0.775583; relative WQL 0.540391. +- term skill: long=0.3677, medium=0.3779, short=0.3370. +- domain skill: Econ/Fin=0.1079, Energy=0.2224, Healthcare=0.3668, Nature=0.4615, Sales=0.5608, Transport=0.4165, Web/CloudOps=0.4263. +- frequency skill: A=0.3383, D=0.4283, H=0.3855, M=0.1616, Q=0.1520, S=0.2804, T=0.3462, W=0.2493. +- variates skill: multivariate=0.3553, univariate=0.3504. +- Outcome: Main-screen gain persists on the newer backbone, but the first earlier diagnostic remains below its matched control. Not published standalone. + +E33 cached ensemble results. Neither member required new training. Backbone weights 0.25/0.5/0.75 apply globally to every instance; complementary weight is on E32. All tested mixtures retain a small first-earlier-cutoff regression. No ensemble is published yet; the simpler backbone continuations are still improving. +- screen, base weight 0.25: skill 0.3609597107729168; elapsed 31.589441299438477 CPU seconds; groups {"term": {"long": {"n_configs": 21, "rel_mase_gmean": 0.7485062013261629, "rel_wql_gmean": 0.48497053192140965}, "medium": {"n_configs": 21, "rel_mase_gmean": 0.7187220659985801, "rel_wql_gmean": 0.49872959388387217}, "short": {"n_configs": 55, "rel_mase_gmean": 0.7854775479522941, "rel_wql_gmean": 0.5715754588019885}}, "domain": {"Econ/Fin": {"n_configs": 6, "rel_mase_gmean": 0.8766794111084217, "rel_wql_gmean": 0.8521904674160014}, "Energy": {"n_configs": 32, "rel_mase_gmean": 0.9458381742339477, "rel_wql_gmean": 0.6841214470602749}, "Healthcare": {"n_configs": 5, "rel_mase_gmean": 0.6357518097122528, "rel_wql_gmean": 0.5708050606184818}, "Nature": {"n_configs": 15, "rel_mase_gmean": 0.8296139742081163, "rel_wql_gmean": 0.40898901267743815}, "Sales": {"n_configs": 4, "rel_mase_gmean": 0.8283216000359614, "rel_wql_gmean": 0.510813353500822}, "Transport": {"n_configs": 15, "rel_mase_gmean": 0.6491485866452709, "rel_wql_gmean": 0.4469444592152844}, "Web/CloudOps": {"n_configs": 20, "rel_mase_gmean": 0.564775788716386, "rel_wql_gmean": 0.4386209893190716}}, "frequency": {"A": {"n_configs": 1, "rel_mase_gmean": 0.6092189862308618, "rel_wql_gmean": 0.6444119562488515}, "D": {"n_configs": 15, "rel_mase_gmean": 0.7923969772018941, "rel_wql_gmean": 0.5529928138595462}, "H": {"n_configs": 31, "rel_mase_gmean": 0.7344815207835862, "rel_wql_gmean": 0.502366984331498}, "M": {"n_configs": 5, "rel_mase_gmean": 0.9818087731317099, "rel_wql_gmean": 0.8332936324629011}, "Q": {"n_configs": 1, "rel_mase_gmean": 0.7734447483921444, "rel_wql_gmean": 0.8291183442517216}, "S": {"n_configs": 6, "rel_mase_gmean": 0.662205210700223, "rel_wql_gmean": 0.5065947056042907}, "T": {"n_configs": 30, "rel_mase_gmean": 0.7321702800096546, "rel_wql_gmean": 0.4836230433794967}, "W": {"n_configs": 8, "rel_mase_gmean": 0.9308497588724332, "rel_wql_gmean": 0.6931956959471695}}, "variates": {"multivariate": {"n_configs": 43, "rel_mase_gmean": 0.7176036435313308, "rel_wql_gmean": 0.5172069567399432}, "univariate": {"n_configs": 54, "rel_mase_gmean": 0.800284652420953, "rel_wql_gmean": 0.5506355529979893}}} +- screen, base weight 0.5: skill 0.36051700538130327; elapsed 1.6923091411590576 CPU seconds; groups {"term": {"long": {"n_configs": 21, "rel_mase_gmean": 0.7491443694259866, "rel_wql_gmean": 0.48552116951145263}, "medium": {"n_configs": 21, "rel_mase_gmean": 0.717943946501363, "rel_wql_gmean": 0.49885742655549165}, "short": {"n_configs": 55, "rel_mase_gmean": 0.7862261945539069, "rel_wql_gmean": 0.572174296426093}}, "domain": {"Econ/Fin": {"n_configs": 6, "rel_mase_gmean": 0.8767314570553127, "rel_wql_gmean": 0.8518426772129285}, "Energy": {"n_configs": 32, "rel_mase_gmean": 0.9464868100785462, "rel_wql_gmean": 0.6847020626617584}, "Healthcare": {"n_configs": 5, "rel_mase_gmean": 0.6391927294627128, "rel_wql_gmean": 0.5728774819722747}, "Nature": {"n_configs": 15, "rel_mase_gmean": 0.8288486290328975, "rel_wql_gmean": 0.4095777628918776}, "Sales": {"n_configs": 4, "rel_mase_gmean": 0.828359895013336, "rel_wql_gmean": 0.5108331535102516}, "Transport": {"n_configs": 15, "rel_mase_gmean": 0.6492097960109925, "rel_wql_gmean": 0.44703510569395916}, "Web/CloudOps": {"n_configs": 20, "rel_mase_gmean": 0.5650725913141991, "rel_wql_gmean": 0.43904253902223594}}, "frequency": {"A": {"n_configs": 1, "rel_mase_gmean": 0.6107048585981317, "rel_wql_gmean": 0.6453081988530746}, "D": {"n_configs": 15, "rel_mase_gmean": 0.7937577174837149, "rel_wql_gmean": 0.5536527716998109}, "H": {"n_configs": 31, "rel_mase_gmean": 0.7349129886012886, "rel_wql_gmean": 0.5033244078192418}, "M": {"n_configs": 5, "rel_mase_gmean": 0.9816729369571708, "rel_wql_gmean": 0.83284954955612}, "Q": {"n_configs": 1, "rel_mase_gmean": 0.7729642350253297, "rel_wql_gmean": 0.8282079386900584}, "S": {"n_configs": 6, "rel_mase_gmean": 0.6624714487276662, "rel_wql_gmean": 0.5067064419332115}, "T": {"n_configs": 30, "rel_mase_gmean": 0.732172046143732, "rel_wql_gmean": 0.4837994768895142}, "W": {"n_configs": 8, "rel_mase_gmean": 0.930849298960232, "rel_wql_gmean": 0.6931955559830537}}, "variates": {"multivariate": {"n_configs": 43, "rel_mase_gmean": 0.717793296521423, "rel_wql_gmean": 0.5179713349770367}, "univariate": {"n_configs": 54, "rel_mase_gmean": 0.8008210552601016, "rel_wql_gmean": 0.5508732181941426}}} +- screen, base weight 0.75: skill 0.3599500839851063; elapsed 1.4231245517730713 CPU seconds; groups {"term": {"long": {"n_configs": 21, "rel_mase_gmean": 0.750042489425022, "rel_wql_gmean": 0.48623104748726004}, "medium": {"n_configs": 21, "rel_mase_gmean": 0.7173897864210821, "rel_wql_gmean": 0.4991516788000004}, "short": {"n_configs": 55, "rel_mase_gmean": 0.78703598003334, "rel_wql_gmean": 0.5728330044823371}}, "domain": {"Econ/Fin": {"n_configs": 6, "rel_mase_gmean": 0.8768876674480677, "rel_wql_gmean": 0.8515997053654789}, "Energy": {"n_configs": 32, "rel_mase_gmean": 0.9473562016160542, "rel_wql_gmean": 0.6855548779843715}, "Healthcare": {"n_configs": 5, "rel_mase_gmean": 0.642561102977203, "rel_wql_gmean": 0.5749859696863521}, "Nature": {"n_configs": 15, "rel_mase_gmean": 0.8285232450849535, "rel_wql_gmean": 0.4102456883415478}, "Sales": {"n_configs": 4, "rel_mase_gmean": 0.8284086809446388, "rel_wql_gmean": 0.5108547074028001}, "Transport": {"n_configs": 15, "rel_mase_gmean": 0.6493066620546145, "rel_wql_gmean": 0.44715612803391697}, "Web/CloudOps": {"n_configs": 20, "rel_mase_gmean": 0.5654188677782281, "rel_wql_gmean": 0.4395078746093791}}, "frequency": {"A": {"n_configs": 1, "rel_mase_gmean": 0.6122299433463864, "rel_wql_gmean": 0.6462324836335608}, "D": {"n_configs": 15, "rel_mase_gmean": 0.7950974689907988, "rel_wql_gmean": 0.5543319910897211}, "H": {"n_configs": 31, "rel_mase_gmean": 0.735615332675693, "rel_wql_gmean": 0.5044620646385107}, "M": {"n_configs": 5, "rel_mase_gmean": 0.9815783490405571, "rel_wql_gmean": 0.832453381029195}, "Q": {"n_configs": 1, "rel_mase_gmean": 0.7726561980040161, "rel_wql_gmean": 0.8274692503440843}, "S": {"n_configs": 6, "rel_mase_gmean": 0.6627478709382408, "rel_wql_gmean": 0.5068543440740843}, "T": {"n_configs": 30, "rel_mase_gmean": 0.7323316854508894, "rel_wql_gmean": 0.4840907541003884}, "W": {"n_configs": 8, "rel_mase_gmean": 0.9308491431521891, "rel_wql_gmean": 0.6931954208513348}}, "variates": {"multivariate": {"n_configs": 43, "rel_mase_gmean": 0.7182293746317306, "rel_wql_gmean": 0.5189159515589695}, "univariate": {"n_configs": 54, "rel_mase_gmean": 0.8014062938450294, "rel_wql_gmean": 0.5511589238591919}}} +- backcast, base weight 0.25: skill 0.32516390659459127; elapsed 25.728330373764038 CPU seconds; groups {"term": {"long": {"n_configs": 21, "rel_mase_gmean": 0.7877573688004119, "rel_wql_gmean": 0.4757505244331779}, "medium": {"n_configs": 21, "rel_mase_gmean": 0.7777646324659491, "rel_wql_gmean": 0.5427449141803178}, "short": {"n_configs": 55, "rel_mase_gmean": 0.8320626409877416, "rel_wql_gmean": 0.6069233027764227}}, "domain": {"Econ/Fin": {"n_configs": 6, "rel_mase_gmean": 0.8731645869233648, "rel_wql_gmean": 0.8046317212772931}, "Energy": {"n_configs": 32, "rel_mase_gmean": 0.9000885899955989, "rel_wql_gmean": 0.6764463826118567}, "Healthcare": {"n_configs": 5, "rel_mase_gmean": 0.6763673902063786, "rel_wql_gmean": 0.5893498915999001}, "Nature": {"n_configs": 15, "rel_mase_gmean": 0.9498042213778831, "rel_wql_gmean": 0.44171639005646535}, "Sales": {"n_configs": 4, "rel_mase_gmean": 0.7353166304138659, "rel_wql_gmean": 0.495785420303292}, "Transport": {"n_configs": 15, "rel_mase_gmean": 0.7449699119735571, "rel_wql_gmean": 0.5393127533664154}, "Web/CloudOps": {"n_configs": 20, "rel_mase_gmean": 0.6755793289890412, "rel_wql_gmean": 0.4696226318380198}}, "frequency": {"A": {"n_configs": 1, "rel_mase_gmean": 0.651838123897038, "rel_wql_gmean": 0.7256129506047462}, "D": {"n_configs": 15, "rel_mase_gmean": 0.8480816283629858, "rel_wql_gmean": 0.5013822816935581}, "H": {"n_configs": 31, "rel_mase_gmean": 0.7872906478235149, "rel_wql_gmean": 0.5262643957494131}, "M": {"n_configs": 5, "rel_mase_gmean": 0.867272967035772, "rel_wql_gmean": 0.7959646950903766}, "Q": {"n_configs": 1, "rel_mase_gmean": 0.7634980658181472, "rel_wql_gmean": 0.7778879435047819}, "S": {"n_configs": 6, "rel_mase_gmean": 0.8611665698543136, "rel_wql_gmean": 0.5114505986034271}, "T": {"n_configs": 30, "rel_mase_gmean": 0.7774300159704559, "rel_wql_gmean": 0.5898942963102115}, "W": {"n_configs": 8, "rel_mase_gmean": 0.921455165311994, "rel_wql_gmean": 0.6011456983078217}}, "variates": {"multivariate": {"n_configs": 43, "rel_mase_gmean": 0.8054278932888852, "rel_wql_gmean": 0.5417010935787644}, "univariate": {"n_configs": 54, "rel_mase_gmean": 0.8142697614393413, "rel_wql_gmean": 0.5786920991268066}}} +- backcast, base weight 0.5: skill 0.3255906425540577; elapsed 7.025062561035156 CPU seconds; groups {"term": {"long": {"n_configs": 21, "rel_mase_gmean": 0.7868531100085023, "rel_wql_gmean": 0.47494194797983313}, "medium": {"n_configs": 21, "rel_mase_gmean": 0.7767176724724971, "rel_wql_gmean": 0.5419949281040547}, "short": {"n_configs": 55, "rel_mase_gmean": 0.8318845792654018, "rel_wql_gmean": 0.606991975463184}}, "domain": {"Econ/Fin": {"n_configs": 6, "rel_mase_gmean": 0.8731690390439605, "rel_wql_gmean": 0.8045484945388448}, "Energy": {"n_configs": 32, "rel_mase_gmean": 0.8993476870381677, "rel_wql_gmean": 0.6755669234996251}, "Healthcare": {"n_configs": 5, "rel_mase_gmean": 0.6753662260274707, "rel_wql_gmean": 0.5885861458424224}, "Nature": {"n_configs": 15, "rel_mase_gmean": 0.9483032085189914, "rel_wql_gmean": 0.441350380267718}, "Sales": {"n_configs": 4, "rel_mase_gmean": 0.7353166304138659, "rel_wql_gmean": 0.495785420303292}, "Transport": {"n_configs": 15, "rel_mase_gmean": 0.7446948865024733, "rel_wql_gmean": 0.5392154113246899}, "Web/CloudOps": {"n_configs": 20, "rel_mase_gmean": 0.6755391890283506, "rel_wql_gmean": 0.469748030722515}}, "frequency": {"A": {"n_configs": 1, "rel_mase_gmean": 0.651838123897038, "rel_wql_gmean": 0.7256129506047462}, "D": {"n_configs": 15, "rel_mase_gmean": 0.8475410369158077, "rel_wql_gmean": 0.5011421156521402}, "H": {"n_configs": 31, "rel_mase_gmean": 0.7875436876281503, "rel_wql_gmean": 0.5262880067026078}, "M": {"n_configs": 5, "rel_mase_gmean": 0.867272967035772, "rel_wql_gmean": 0.7959646950903766}, "Q": {"n_configs": 1, "rel_mase_gmean": 0.7634980658181472, "rel_wql_gmean": 0.7778879435047819}, "S": {"n_configs": 6, "rel_mase_gmean": 0.8607773505813321, "rel_wql_gmean": 0.5107840537486803}, "T": {"n_configs": 30, "rel_mase_gmean": 0.7758285204666452, "rel_wql_gmean": 0.5890117516972101}, "W": {"n_configs": 8, "rel_mase_gmean": 0.921455165311994, "rel_wql_gmean": 0.6011456983078217}}, "variates": {"multivariate": {"n_configs": 43, "rel_mase_gmean": 0.8047280897548712, "rel_wql_gmean": 0.5410867356076619}, "univariate": {"n_configs": 54, "rel_mase_gmean": 0.8138657265706295, "rel_wql_gmean": 0.5785877053648649}}} +- backcast, base weight 0.75: skill 0.32585558132181525; elapsed 1.4801208972930908 CPU seconds; groups {"term": {"long": {"n_configs": 21, "rel_mase_gmean": 0.7864118030472989, "rel_wql_gmean": 0.47433966987370835}, "medium": {"n_configs": 21, "rel_mase_gmean": 0.7760856247602924, "rel_wql_gmean": 0.541419709057465}, "short": {"n_configs": 55, "rel_mase_gmean": 0.8317549187410698, "rel_wql_gmean": 0.6071042148592315}}, "domain": {"Econ/Fin": {"n_configs": 6, "rel_mase_gmean": 0.8731809073153128, "rel_wql_gmean": 0.8044818649657144}, "Energy": {"n_configs": 32, "rel_mase_gmean": 0.8991776752660365, "rel_wql_gmean": 0.6750015559883032}, "Healthcare": {"n_configs": 5, "rel_mase_gmean": 0.6743591342425898, "rel_wql_gmean": 0.5878184243392145}, "Nature": {"n_configs": 15, "rel_mase_gmean": 0.9471433052106504, "rel_wql_gmean": 0.4410648488568812}, "Sales": {"n_configs": 4, "rel_mase_gmean": 0.7353166304138659, "rel_wql_gmean": 0.495785420303292}, "Transport": {"n_configs": 15, "rel_mase_gmean": 0.744443044974495, "rel_wql_gmean": 0.5391442286013897}, "Web/CloudOps": {"n_configs": 20, "rel_mase_gmean": 0.6755193180086204, "rel_wql_gmean": 0.46990600477296696}}, "frequency": {"A": {"n_configs": 1, "rel_mase_gmean": 0.651838123897038, "rel_wql_gmean": 0.7256129506047462}, "D": {"n_configs": 15, "rel_mase_gmean": 0.8470002930114933, "rel_wql_gmean": 0.5009052086170435}, "H": {"n_configs": 31, "rel_mase_gmean": 0.7882647172004155, "rel_wql_gmean": 0.5264910423859007}, "M": {"n_configs": 5, "rel_mase_gmean": 0.867272967035772, "rel_wql_gmean": 0.7959646950903766}, "Q": {"n_configs": 1, "rel_mase_gmean": 0.7634980658181472, "rel_wql_gmean": 0.7778879435047819}, "S": {"n_configs": 6, "rel_mase_gmean": 0.8604064218762162, "rel_wql_gmean": 0.5101551146076984}, "T": {"n_configs": 30, "rel_mase_gmean": 0.774442079728573, "rel_wql_gmean": 0.5883004763096262}, "W": {"n_configs": 8, "rel_mase_gmean": 0.921455165311994, "rel_wql_gmean": 0.6011456983078217}}, "variates": {"multivariate": {"n_configs": 43, "rel_mase_gmean": 0.8044577867215783, "rel_wql_gmean": 0.5406785466562373}, "univariate": {"n_configs": 54, "rel_mase_gmean": 0.8135190933822734, "rel_wql_gmean": 0.5785199260327762}}} +- backcast2, base weight 0.25: skill 0.35287154434047796; elapsed 32.718568563461304 CPU seconds; groups {"term": {"long": {"n_configs": 19, "rel_mase_gmean": 0.7953937401265897, "rel_wql_gmean": 0.5030106493089533}, "medium": {"n_configs": 21, "rel_mase_gmean": 0.7678643593783896, "rel_wql_gmean": 0.5028055430553253}, "short": {"n_configs": 54, "rel_mase_gmean": 0.7711270557942318, "rel_wql_gmean": 0.5695813024863108}}, "domain": {"Econ/Fin": {"n_configs": 6, "rel_mase_gmean": 0.8805482364783594, "rel_wql_gmean": 0.9042209924611244}, "Energy": {"n_configs": 32, "rel_mase_gmean": 0.9117289903338895, "rel_wql_gmean": 0.6620020860753241}, "Healthcare": {"n_configs": 5, "rel_mase_gmean": 0.6839866145665877, "rel_wql_gmean": 0.5864976160474622}, "Nature": {"n_configs": 15, "rel_mase_gmean": 0.7748252117778318, "rel_wql_gmean": 0.3733068662798137}, "Sales": {"n_configs": 3, "rel_mase_gmean": 0.5489740065972382, "rel_wql_gmean": 0.3513233844778427}, "Transport": {"n_configs": 14, "rel_mase_gmean": 0.6725766506204502, "rel_wql_gmean": 0.5061420572217049}, "Web/CloudOps": {"n_configs": 19, "rel_mase_gmean": 0.6870083960785978, "rel_wql_gmean": 0.4794994231705838}}, "frequency": {"A": {"n_configs": 1, "rel_mase_gmean": 0.5819327138083403, "rel_wql_gmean": 0.7523849571908706}, "D": {"n_configs": 15, "rel_mase_gmean": 0.7299533930809837, "rel_wql_gmean": 0.4479740157977664}, "H": {"n_configs": 30, "rel_mase_gmean": 0.7604275957811419, "rel_wql_gmean": 0.4953118153144008}, "M": {"n_configs": 4, "rel_mase_gmean": 0.8158365215321529, "rel_wql_gmean": 0.8615342594759124}, "Q": {"n_configs": 1, "rel_mase_gmean": 0.8252565936089924, "rel_wql_gmean": 0.8713357271735944}, "S": {"n_configs": 6, "rel_mase_gmean": 0.9122753788008492, "rel_wql_gmean": 0.5679295721865012}, "T": {"n_configs": 29, "rel_mase_gmean": 0.7657639848982667, "rel_wql_gmean": 0.5579672183603664}, "W": {"n_configs": 8, "rel_mase_gmean": 0.8655383325021186, "rel_wql_gmean": 0.6510826830966135}}, "variates": {"multivariate": {"n_configs": 42, "rel_mase_gmean": 0.7902445203946336, "rel_wql_gmean": 0.5253027568920817}, "univariate": {"n_configs": 52, "rel_mase_gmean": 0.7633236727962595, "rel_wql_gmean": 0.5525218103974238}}} +- backcast2, base weight 0.5: skill 0.35293362223391267; elapsed 1.2891087532043457 CPU seconds; groups {"term": {"long": {"n_configs": 19, "rel_mase_gmean": 0.795490811324907, "rel_wql_gmean": 0.5038189345476245}, "medium": {"n_configs": 21, "rel_mase_gmean": 0.7674326315874551, "rel_wql_gmean": 0.5023119643797436}, "short": {"n_configs": 54, "rel_mase_gmean": 0.7711829671563578, "rel_wql_gmean": 0.5693457082014003}}, "domain": {"Econ/Fin": {"n_configs": 6, "rel_mase_gmean": 0.8808378054392396, "rel_wql_gmean": 0.9044589957290904}, "Energy": {"n_configs": 32, "rel_mase_gmean": 0.9113735276107076, "rel_wql_gmean": 0.6617472008949459}, "Healthcare": {"n_configs": 5, "rel_mase_gmean": 0.6842243004747667, "rel_wql_gmean": 0.5865985548061023}, "Nature": {"n_configs": 15, "rel_mase_gmean": 0.7748130011917327, "rel_wql_gmean": 0.37282859138217267}, "Sales": {"n_configs": 3, "rel_mase_gmean": 0.5489740065972382, "rel_wql_gmean": 0.3513233844778427}, "Transport": {"n_configs": 14, "rel_mase_gmean": 0.6724189210776539, "rel_wql_gmean": 0.5061490326925873}, "Web/CloudOps": {"n_configs": 19, "rel_mase_gmean": 0.6872511298933153, "rel_wql_gmean": 0.47991505019019964}}, "frequency": {"A": {"n_configs": 1, "rel_mase_gmean": 0.5819327138083403, "rel_wql_gmean": 0.7523849571908706}, "D": {"n_configs": 15, "rel_mase_gmean": 0.7301681468376378, "rel_wql_gmean": 0.4481185117970856}, "H": {"n_configs": 30, "rel_mase_gmean": 0.7599867700948899, "rel_wql_gmean": 0.49504239452481336}, "M": {"n_configs": 4, "rel_mase_gmean": 0.8158365215321529, "rel_wql_gmean": 0.8615342594759124}, "Q": {"n_configs": 1, "rel_mase_gmean": 0.8252565936089924, "rel_wql_gmean": 0.8713357271735944}, "S": {"n_configs": 6, "rel_mase_gmean": 0.9125454167444352, "rel_wql_gmean": 0.5681445429462755}, "T": {"n_configs": 29, "rel_mase_gmean": 0.7659127026855528, "rel_wql_gmean": 0.5579048015053354}, "W": {"n_configs": 8, "rel_mase_gmean": 0.8655383325021186, "rel_wql_gmean": 0.6510826830966135}}, "variates": {"multivariate": {"n_configs": 42, "rel_mase_gmean": 0.7903908108689007, "rel_wql_gmean": 0.5252368408110905}, "univariate": {"n_configs": 52, "rel_mase_gmean": 0.7631277150357363, "rel_wql_gmean": 0.5524454383766455}}} +- backcast2, base weight 0.75: skill 0.35279424558075034; elapsed 1.3640234470367432 CPU seconds; groups {"term": {"long": {"n_configs": 19, "rel_mase_gmean": 0.7960013691972241, "rel_wql_gmean": 0.5048538794748333}, "medium": {"n_configs": 21, "rel_mase_gmean": 0.7673586435302413, "rel_wql_gmean": 0.5020153819167671}, "short": {"n_configs": 54, "rel_mase_gmean": 0.7714553413789935, "rel_wql_gmean": 0.5691840862467166}}, "domain": {"Econ/Fin": {"n_configs": 6, "rel_mase_gmean": 0.881145657719554, "rel_wql_gmean": 0.9047199305925011}, "Energy": {"n_configs": 32, "rel_mase_gmean": 0.9115950570456508, "rel_wql_gmean": 0.6618010993808187}, "Healthcare": {"n_configs": 5, "rel_mase_gmean": 0.6844817312954508, "rel_wql_gmean": 0.5867080808867043}, "Nature": {"n_configs": 15, "rel_mase_gmean": 0.7754005359113609, "rel_wql_gmean": 0.3724980616976047}, "Sales": {"n_configs": 3, "rel_mase_gmean": 0.5489740065972382, "rel_wql_gmean": 0.3513233844778427}, "Transport": {"n_configs": 14, "rel_mase_gmean": 0.672286131185056, "rel_wql_gmean": 0.506183419259456}, "Web/CloudOps": {"n_configs": 19, "rel_mase_gmean": 0.6875722190026725, "rel_wql_gmean": 0.48037847185063465}}, "frequency": {"A": {"n_configs": 1, "rel_mase_gmean": 0.5819327138083403, "rel_wql_gmean": 0.7523849571908706}, "D": {"n_configs": 15, "rel_mase_gmean": 0.730395963063022, "rel_wql_gmean": 0.4482700955304752}, "H": {"n_configs": 30, "rel_mase_gmean": 0.7602248518219639, "rel_wql_gmean": 0.4950255629831832}, "M": {"n_configs": 4, "rel_mase_gmean": 0.8158365215321529, "rel_wql_gmean": 0.8615342594759124}, "Q": {"n_configs": 1, "rel_mase_gmean": 0.8252565936089924, "rel_wql_gmean": 0.8713357271735944}, "S": {"n_configs": 6, "rel_mase_gmean": 0.9128726300303336, "rel_wql_gmean": 0.5684332751933325}, "T": {"n_configs": 29, "rel_mase_gmean": 0.7662563237934747, "rel_wql_gmean": 0.5579847239947101}, "W": {"n_configs": 8, "rel_mase_gmean": 0.8655383325021186, "rel_wql_gmean": 0.6510826830966135}}, "variates": {"multivariate": {"n_configs": 42, "rel_mase_gmean": 0.7911061856256687, "rel_wql_gmean": 0.5254140703891469}, "univariate": {"n_configs": 52, "rel_mase_gmean": 0.7629991415479856, "rel_wql_gmean": 0.5524144817860636}}} + +## E34: multivariate attention with end-to-end pretraining and univariate rehearsal +Hypothesis: E20’s frozen backbone could not fully learn how to interpret cross-channel signals. Start from E22 control at 12000, add the same zero-output cross-variable attention layer, and train all 37,816,096 parameters. Three quarters of batches use the original 95-source univariate sampler, batch 128; one quarter use synchronized multivariate records, 32 groups with 2/3/4/8 channels. Six thousand steps, learning rate 4e-5 with 200-step warmup and cosine decay; main seed 73, independent joint-sampler seed 10073. Use only packed_sample and packed_joint and their local generators. This changes the training mixture and trainable parameter set together; it is a candidate method comparison, not a claim that either factor alone causes any gain. Zero-step output is the matched inference control. No validation observations enter gradients. + +## E25 learned recency 12000 with aligned templates, full validation +- Checkpoint SHA-256: `8ccb6870a025e1097331a3a288b1183741a413f3460fbf3352d0c589c6a4394c`. +- Evaluation: 97 configurations, 151170 instances, 0 failed configurations; not separately timed seconds. +- Overall skill 0.355628; relative MASE 0.765858; relative WQL 0.542156. +- term skill: long=0.3899, medium=0.4001, short=0.3239. +- domain skill: Econ/Fin=0.1162, Energy=0.1854, Healthcare=0.4030, Nature=0.4169, Sales=0.3571, Transport=0.4622, Web/CloudOps=0.4930. +- frequency skill: A=0.2912, D=0.3393, H=0.3859, M=0.1107, Q=0.1840, S=0.4221, T=0.3964, W=0.1942. +- variates skill: multivariate=0.3851, univariate=0.3311. +- Outcome: Published. Full validation 0.355628 versus matched E22-12000 package 0.355096; earlier diagnostics 0.327844 and 0.354561 versus 0.325963 and 0.352462. No failures. Repeated relocated examples are bitwise identical, finite and monotone. This extends the recency-feature benefit to a third matched training checkpoint. + +## E25 recency12000 first earlier diagnostic +- Checkpoint SHA-256: `8ccb6870a025e1097331a3a288b1183741a413f3460fbf3352d0c589c6a4394c`. +- Evaluation: 97 configurations, 9330 instances, 0 failed configurations; 21.109707355499268 seconds. +- Overall skill 0.327844; relative MASE 0.806911; relative WQL 0.559904. +- term skill: long=0.3932, medium=0.3529, short=0.2909. +- domain skill: Econ/Fin=0.1636, Energy=0.2224, Healthcare=0.3816, Nature=0.3533, Sales=0.3955, Transport=0.3666, Web/CloudOps=0.4404. +- frequency skill: A=0.3134, D=0.3502, H=0.3567, M=0.1636, Q=0.2250, S=0.3402, T=0.3276, W=0.2656. +- variates skill: multivariate=0.3437, univariate=0.3150. +- Outcome: Improves the matched control. + +## E25 recency12000 second earlier diagnostic +- Checkpoint SHA-256: `8ccb6870a025e1097331a3a288b1183741a413f3460fbf3352d0c589c6a4394c`. +- Evaluation: 94 configurations, 8934 instances, 0 failed configurations; 20.91800332069397 seconds. +- Overall skill 0.354561; relative MASE 0.773267; relative WQL 0.538742. +- term skill: long=0.3642, medium=0.3828, short=0.3397. +- domain skill: Econ/Fin=0.1095, Energy=0.2259, Healthcare=0.3738, Nature=0.4621, Sales=0.5594, Transport=0.4168, Web/CloudOps=0.4281. +- frequency skill: A=0.3385, D=0.4319, H=0.3875, M=0.1660, Q=0.1478, S=0.2841, T=0.3480, W=0.2461. +- variates skill: multivariate=0.3588, univariate=0.3511. +- Outcome: Improves the matched control. + +Measured continuation compute (elapsed training-process seconds, shared single H100; these are not additive dedicated GPU-seconds): +- depth36_control, step 1000: 124.8 seconds. +- depth36_control, step 3000: 365.5 seconds. +- depth36_control, step 6000: 869.5 seconds. +- depth36_control, step 12000: 2211.3 seconds. +- recency_features, step 1000: 168.9 seconds. +- recency_features, step 3000: 510.3 seconds. +- recency_features, step 6000: 1158.7 seconds. +- recency_features, step 12000: 2481.6 seconds. +- strong_loss, step 1000: 224.1 seconds. +- strong_loss, step 3000: 672.8 seconds. +- strong_loss, step 6000: 1375.1 seconds. +- amplitude_synth, step 1000: 227.1 seconds. +- amplitude_synth, step 3000: 678.7 seconds. +- joint_rehearsal, step 1000: 172.6 seconds. + +## E35: explicit local trend increments in future queries (prepared) +Hypothesis: the original damped trend feature clips normalized slopes at 0.03 per step, suppressing trends in short annual and quarterly contexts. Add two zero-initialized query features from differences of adjacent 4-point and 16-point means, extrapolated to each future step and softly capped at 3 context standard deviations. Each mean needs at least half its observations and at least two finite values. This is a fixed context calculation, not a fitted per-instance model. A separate 16,384-parameter query projection preserves the existing recency projection and all pretrained-in-this-workspace tensors. Planned E17 initialization, seed 59, batch 256 and 24,000-step schedule match E25 exactly; no new synthetic generator. Training not yet started. + +E28 stopped after the 12000-step comparison. Screen 0.355930 is below matched control 0.356664; earlier checkpoints gave small inconsistent differences. Training through 12000 took 2731.8 process seconds on the shared H100. Checkpoints are retained, but the stronger seasonal-error weighting is not adopted. + +## E28 stronger seasonal loss 12000-step checkpoint +- Checkpoint SHA-256: `9f67f75960a568c9bc42fdb2ec99c8852bb5136ae869b7f63ac3fd6aeb359aab`. +- Evaluation: 97 configurations, 9473 instances, 0 failed configurations; 21.34673237800598 seconds. +- Overall skill 0.355930; relative MASE 0.766619; relative WQL 0.541111. +- term skill: long=0.3886, medium=0.4019, short=0.3241. +- domain skill: Econ/Fin=0.1123, Energy=0.1843, Healthcare=0.4078, Nature=0.4143, Sales=0.3492, Transport=0.4532, Web/CloudOps=0.5040. +- frequency skill: A=0.3801, D=0.3350, H=0.3784, M=0.1213, Q=0.1929, S=0.4399, T=0.3989, W=0.1948. +- variates skill: multivariate=0.3880, univariate=0.3292. +- Outcome: Below matched control; stop this branch after three comparisons without a consistent advantage. + +E35 training started with the planned matched seed 59, batch 256, learning rate 8e-5 and 24000-step schedule, replacing E28 GPU work. A synthetic forward check verified bitwise equality at zero projection, and backward propagation produced finite nonzero gradients for the new trend projection. No additional training source or generator is introduced. + +## E31 synthetic amplitude 3000-step screen +- Checkpoint SHA-256: `6f3e68f1b70e9cde6872473dc4d834c16195e72656ba974eb39d48413a10af63`. +- Evaluation: 97 configurations, 9473 instances, 0 failed configurations; 22.430498361587524 seconds. +- Overall skill 0.352625; relative MASE 0.768870; relative WQL 0.545079. +- term skill: long=0.3854, medium=0.3995, short=0.3204. +- domain skill: Econ/Fin=0.1023, Energy=0.1772, Healthcare=0.4136, Nature=0.4097, Sales=0.3467, Transport=0.4530, Web/CloudOps=0.5025. +- frequency skill: A=0.3691, D=0.3356, H=0.3748, M=0.0875, Q=0.1887, S=0.4366, T=0.3965, W=0.1978. +- variates skill: multivariate=0.3840, univariate=0.3265. +- Outcome: Improves matched E25-3000 screen from 0.351702 to 0.352625. First earlier diagnostic improves 0.321665 to 0.322014. Keep training to assess persistence. + +## E34 joint rehearsal 1000-step screen +- Checkpoint SHA-256: `394f2003a6c00cdcb0f2b944d1e9cc8ae4f7aca9e513bf46dbb1f8a2489c8670`. +- Evaluation: 97 configurations, 9473 instances, 0 failed configurations; 23.026655912399292 seconds. +- Overall skill 0.360583; relative MASE 0.762757; relative WQL 0.536022. +- term skill: long=0.3975, medium=0.4014, short=0.3292. +- domain skill: Econ/Fin=0.1394, Energy=0.1926, Healthcare=0.3956, Nature=0.4177, Sales=0.3466, Transport=0.4620, Web/CloudOps=0.5034. +- frequency skill: A=0.3785, D=0.3382, H=0.3903, M=0.0963, Q=0.1994, S=0.4210, T=0.4059, W=0.1960. +- variates skill: multivariate=0.3895, univariate=0.3366. +- Outcome: Improves matched zero-step control on main screen and both earlier diagnostics. Later checkpoints are needed before selecting a package. + +## E34 joint rehearsal 3000-step screen +- Checkpoint SHA-256: `6dd1560fb4d63eae0fa8d414252b55329371e397cee44dcff4c656ff3e2f3416`. +- Evaluation: 97 configurations, 9473 instances, 0 failed configurations; 22.9136745929718 seconds. +- Overall skill 0.358556; relative MASE 0.764675; relative WQL 0.538072. +- term skill: long=0.3976, medium=0.4016, short=0.3253. +- domain skill: Econ/Fin=0.1364, Energy=0.1912, Healthcare=0.3737, Nature=0.4189, Sales=0.3465, Transport=0.4616, Web/CloudOps=0.5016. +- frequency skill: A=0.3793, D=0.3315, H=0.3904, M=0.0787, Q=0.2012, S=0.4202, T=0.4046, W=0.1966. +- variates skill: multivariate=0.3887, univariate=0.3335. +- Outcome: Screen falls below the zero-step control after the earlier gain; do not publish this checkpoint. Continue to the planned 6000-step endpoint to assess the lower learning rate. + +## E36: equal-weight control and recency ensemble +Hypothesis: averaging two strong continuations reduces differences across validation cutoffs. Compare a fixed 50/50 quantile average of E25 recency12000 and E22 control18000, each forecasting every instance with the aligned seasonal rule. No training or new data; no dataset-specific selection. Screen and both earlier diagnostics are computed from cached forecasts before constructing a runtime package. + +## E37: fixed zero-mass projection +Hypothesis: small positive forecasts on histories with an observed mass at exactly zero cause disproportionate median error. Diagnostic candidates snap nonnegative quantiles below 0, 0.001, 0.005 or 0.02 context standard deviations to zero, only when the recent4096 history is nonnegative and contains at least4 zeros comprising at least10% of observed points. All thresholds are fixed globally; no per-instance fitting. Test the same four candidates at all three validation cutoffs using E25 recency12000 aligned outputs. No training and no extra data. + +E37 initial sweep: threshold0.02 improved screen 0.359868→0.360509, first earlier0.327844→0.328180 and second earlier0.354561→0.354943. Smaller nonzero thresholds gave smaller gains. Build and fully evaluate the0.02 runtime. A separate follow-up will compare0.05 and0.1 to assess whether the original upper endpoint truncated the useful range; no additional fitted parameters. + +## E38: broader packed corpus for the 36.8M recency model (prepared) +Hypothesis: the earlier negative corpus-expansion result at6.7M parameters may not hold for the larger, more-trained model. Compare packed_sample (0.959B points) with packed_expanded (5.653B points), initializing both from E25 recency12000. Keep source mixture weights calculated from packed_sample in both arms, isolating broader series and crop coverage from source-reweighting. Seed79, batch256, learning rate5e-5, 12000-step schedule, saves every3000, same architecture/loss/window mixture/synthetic generator. Each arm uses two Torch CPU threads. Training will start after current jobs release GPU capacity. No new corpus directories or generators. + +E37 wider sweep: thresholds0.02/0.05/0.1 gave screen0.360509/0.362121/0.364736, earlier1 0.328180/0.328643/0.329276, earlier2 0.354943/0.355475/0.356263. All three improve with the larger threshold. A final bracket at0.1/0.2/0.4/0.8 will locate an interior useful range before full runtime selection. + +## E39: bounded quantiles during pretraining (prepared) +Hypothesis: the current continuous output head incurs small positive errors on genuinely zero-valued futures. Extend the existing nonnegativity heuristic symmetrically inside the training forward pass: histories entirely nonnegative clamp normalized output quantiles at standardized zero; entirely nonpositive histories clamp above at zero. This lets pinball loss learn exact boundary probability mass through negative latent quantiles, rather than requiring exact equality of a continuous prediction. No additional model parameters. Match E38 packed_sample control: own E25 recency12000 initialization, seed79, batch256, LR5e-5, 12000 steps, original source mixture and generator. Training not yet started; this is separate from the fixed E37 inference projection. + +E37 final bracket selected threshold0.4: screen/earlier1/earlier2 =0.370559/0.330696/0.357884, versus parent0.359868/0.327844/0.354561. Threshold0.8 regresses to0.364344/0.327637/0.350745, providing an interior optimum common to all three cutoffs. No finer sweep is planned. Assemble and fully evaluate threshold0.4 before publication. + +E36 equal-weight blend gives screen0.361191, earlier1 0.328179, earlier2 0.354067. The main screen remains below control18000 alone (0.361735), and second earlier remains below recency12000 (0.354561). Not selected; no ensemble runtime is published. + +E38 packed_sample control started with the planned seed79 and schedule after E34 completed. A sampler check confirmed bitwise equality with the original sampler and identical source probabilities for both packed corpora. The expanded arm remains prepared, awaiting GPU capacity. + +## E22 control18000 full validation with aligned seasonal rule +- Checkpoint SHA-256: `b7bbb7473a317145235c133492a0d743a90a01ff252577a4c8a4651db008a138`. +- Evaluation: 97 configurations, 151170 instances, 0 failed configurations; not separately timed seconds. +- Overall skill 0.357537; relative MASE 0.764724; relative WQL 0.539749. +- term skill: long=0.3898, medium=0.4009, short=0.3270. +- domain skill: Econ/Fin=0.1117, Energy=0.1855, Healthcare=0.4146, Nature=0.4204, Sales=0.3566, Transport=0.4642, Web/CloudOps=0.4949. +- frequency skill: A=0.2833, D=0.3419, H=0.3872, M=0.1236, Q=0.1877, S=0.4206, T=0.3976, W=0.1997. +- variates skill: multivariate=0.3862, univariate=0.3338. +- Outcome: Improves full validation to0.357537; first and second earlier0.327746/0.352885 remain slightly below published recency12000. Candidate retained while matched recency18000 is evaluated. + +## E31 amplitude synthetic 6000-step screen +- Checkpoint SHA-256: `7fe2746b237fb2699c2d8c812595666df0888cde656498043e01847bb552c783`. +- Evaluation: 97 configurations, 9473 instances, 0 failed configurations; 21.376917362213135 seconds. +- Overall skill 0.355543; relative MASE 0.766576; relative WQL 0.541792. +- term skill: long=0.3869, medium=0.3997, short=0.3251. +- domain skill: Econ/Fin=0.1054, Energy=0.1826, Healthcare=0.4173, Nature=0.4166, Sales=0.3471, Transport=0.4535, Web/CloudOps=0.5020. +- frequency skill: A=0.3700, D=0.3444, H=0.3777, M=0.0986, Q=0.1941, S=0.4367, T=0.3980, W=0.1929. +- variates skill: multivariate=0.3869, univariate=0.3294. +- Outcome: Screen0.355543 improves matched E25-6000 0.352851. First earlier0.324002 is effectively tied with matched0.324008; second earlier0.349572 improves matched0.349098. Continue to12000. + +## E34 joint rehearsal 6000-step screen +- Checkpoint SHA-256: `44aa5f702a58845a427ad76818631e808362b7dc236a3648232db47d621db219`. +- Evaluation: 97 configurations, 9473 instances, 0 failed configurations; 21.278470993041992 seconds. +- Overall skill 0.360025; relative MASE 0.763498; relative WQL 0.536437. +- term skill: long=0.3986, medium=0.4027, short=0.3272. +- domain skill: Econ/Fin=0.1375, Energy=0.1934, Healthcare=0.3748, Nature=0.4209, Sales=0.3465, Transport=0.4619, Web/CloudOps=0.5031. +- frequency skill: A=0.3720, D=0.3320, H=0.3916, M=0.0873, Q=0.1998, S=0.4184, T=0.4071, W=0.1973. +- variates skill: multivariate=0.3917, univariate=0.3337. +- Outcome: Final screen0.360025 improves parent0.359242 but is below the1000-step peak0.360583. Evaluate both earlier cutoffs; do not publish solely from the small screen gain. + +E34 completed6000 steps in1049.5 training-process seconds. Earlier1/earlier2 =0.326344/0.350746: first improves parent0.325963, second regresses from0.352462. The1000-step checkpoint remains the better joint candidate, but neither is selected over the stronger recency model. All weights are archived. + +## E37 threshold0.02 full package validation +- Checkpoint SHA-256: `8ccb6870a025e1097331a3a288b1183741a413f3460fbf3352d0c589c6a4394c`. +- Evaluation: 97 configurations, 151170 instances, 0 failed configurations; not separately timed seconds. +- Overall skill 0.356254; relative MASE 0.764978; relative WQL 0.541726. +- term skill: long=0.3904, medium=0.4005, short=0.3246. +- domain skill: Econ/Fin=0.1162, Energy=0.1871, Healthcare=0.4030, Nature=0.4175, Sales=0.3571, Transport=0.4622, Web/CloudOps=0.4933. +- frequency skill: A=0.2912, D=0.3393, H=0.3863, M=0.1108, Q=0.1840, S=0.4221, T=0.3979, W=0.1942. +- variates skill: multivariate=0.3855, univariate=0.3320. +- Outcome: Full skill0.356254 improves parent0.355628 with zero failed configurations. Repeated relocated examples are bitwise identical, finite and monotone. Temporarily published while the larger, consistently better threshold0.4 completes full validation. + +## E40: zero-mass projection with empirical phase probability +E37 helps solar and several zero-heavy channels but slightly hurts some sales and cloud series. Hypothesis: a quantile should be snapped only when the observed zero probability supports its level. Keep threshold0.4 fixed; compare unrestricted E37, global observed zero fraction, and phase-specific zero frequencies from the last4 or8 primary seasonal cycles. For phase estimates with at least3 observations use (zero_count+0.5)/(count+1), otherwise the global fraction. Only levels at or below that zero probability are eligible. All rules are fixed context formulas, applied independently per variate. Compare cached E25 recency12000 forecasts on all three cutoffs; no training. + +E37 final selection: use the18,000-step recency checkpoint with threshold0.4. Full validation0.370171 exceeds12,000-step+0.4 at0.366390; earlier1 improves0.330696→0.332400, while earlier2 decreases0.357884→0.356697. The three-cutoff mean improves, and all three exceed the previously published12,000-step+0.02 package. Prefer the newer checkpoint for its full-validation and first-earlier gains; retain the second-earlier regression as a limitation. Both candidate packages passed repeated relocated example inference, with exact equality, finite outputs and monotone quantiles. +- Measured depth36_control step18000: 3529.7 elapsed training-process seconds on the shared single H100. +- Measured recency_features step18000: 4008.8 elapsed training-process seconds on the shared single H100. +- Measured amplitude_synth step6000: 1498.1 elapsed training-process seconds on the shared single H100. +- Measured joint_rehearsal step6000: 1049.5 elapsed training-process seconds on the shared single H100. + +## E37 threshold0.4 on recency12000 full validation +- Checkpoint SHA-256: `8ccb6870a025e1097331a3a288b1183741a413f3460fbf3352d0c589c6a4394c`. +- Evaluation: 97 configurations, 151170 instances, 0 failed configurations; not separately timed seconds. +- Overall skill 0.366390; relative MASE 0.754640; relative WQL 0.531990. +- term skill: long=0.3917, medium=0.4037, short=0.3414. +- domain skill: Econ/Fin=0.1162, Energy=0.2258, Healthcare=0.4030, Nature=0.4203, Sales=0.3559, Transport=0.4622, Web/CloudOps=0.4911. +- frequency skill: A=0.2912, D=0.3374, H=0.3884, M=0.1159, Q=0.1840, S=0.4221, T=0.4262, W=0.1943. +- variates skill: multivariate=0.3853, univariate=0.3509. +- Outcome: Full0.366390, earlier1 0.330696, earlier2 0.357884. Clear improvement over the same checkpoint without zero projection. Superseded by the18000-step candidate on full validation and average across cutoffs. + +## E25 plus E37 recency18000 threshold0.4 full validation +- Checkpoint SHA-256: `f6d2c41a690159a5b9c2034be45718c408a30b0d34d9607c9a768b9926781bbd`. +- Evaluation: 97 configurations, 151170 instances, 0 failed configurations; not separately timed seconds. +- Overall skill 0.370171; relative MASE 0.750532; relative WQL 0.528537. +- term skill: long=0.3932, medium=0.4057, short=0.3469. +- domain skill: Econ/Fin=0.1099, Energy=0.2275, Healthcare=0.4340, Nature=0.4253, Sales=0.3541, Transport=0.4653, Web/CloudOps=0.4932. +- frequency skill: A=0.2819, D=0.3468, H=0.3906, M=0.1220, Q=0.1866, S=0.4218, T=0.4285, W=0.2054. +- variates skill: multivariate=0.3878, univariate=0.3558. +- Outcome: Published atomically. Full skill0.370171; earlier1 0.332400 and earlier2 0.356697. All97 configurations and151170 instances scored, zero failures. Actual package repeated examples are bitwise deterministic, finite and monotone; full inference118.1 seconds under concurrent training. + +## Published recency18000 zero0.4 first earlier diagnostic +- Checkpoint SHA-256: `f6d2c41a690159a5b9c2034be45718c408a30b0d34d9607c9a768b9926781bbd`. +- Evaluation: 97 configurations, 9330 instances, 0 failed configurations; 24.86830711364746 seconds. +- Overall skill 0.332400; relative MASE 0.801955; relative WQL 0.555755. +- term skill: long=0.3980, medium=0.3574, short=0.2953. +- domain skill: Econ/Fin=0.1526, Energy=0.2268, Healthcare=0.3995, Nature=0.3561, Sales=0.3986, Transport=0.3699, Web/CloudOps=0.4472. +- frequency skill: A=0.2996, D=0.3516, H=0.3643, M=0.1721, Q=0.2330, S=0.3397, T=0.3325, W=0.2660. +- variates skill: multivariate=0.3492, univariate=0.3187. +- Outcome: Improves the previous published package and the12000-step zero0.4 candidate. + +## Published recency18000 zero0.4 second earlier diagnostic +- Checkpoint SHA-256: `f6d2c41a690159a5b9c2034be45718c408a30b0d34d9607c9a768b9926781bbd`. +- Evaluation: 94 configurations, 8934 instances, 0 failed configurations; 24.40335988998413 seconds. +- Overall skill 0.356697; relative MASE 0.773731; relative WQL 0.534862. +- term skill: long=0.3657, medium=0.3874, short=0.3411. +- domain skill: Econ/Fin=0.1045, Energy=0.2331, Healthcare=0.3610, Nature=0.4656, Sales=0.5516, Transport=0.4179, Web/CloudOps=0.4303. +- frequency skill: A=0.3474, D=0.4275, H=0.3891, M=0.1599, Q=0.1548, S=0.2798, T=0.3574, W=0.2434. +- variates skill: multivariate=0.3611, univariate=0.3531. +- Outcome: Improves the previous published package; slightly below the12000-step zero0.4 candidate. + +## E37 complete diagnostic sweep receipts +All use the own recency12000 checkpoint SHA-256 `8ccb6870a025e1097331a3a288b1183741a413f3460fbf3352d0c589c6a4394c`; no training, fixed inference seed0. Compute below is CPU diagnostic elapsed time, not GPU training time. + +zero_mass, screen: 4.03 seconds. +- Setting 0.0: skill 0.359868; term short=0.3284, medium=0.4016, long=0.3960; domain Econ/Fin=0.1374, Energy=0.1931, Healthcare=0.3970, Nature=0.4170, Sales=0.3479, Transport=0.4621, Web/CloudOps=0.5005. +- Setting 0.001: skill 0.359874; term short=0.3284, medium=0.4016, long=0.3960; domain Econ/Fin=0.1374, Energy=0.1931, Healthcare=0.3970, Nature=0.4170, Sales=0.3479, Transport=0.4621, Web/CloudOps=0.5005. +- Setting 0.005: skill 0.359953; term short=0.3285, medium=0.4017, long=0.3961; domain Econ/Fin=0.1374, Energy=0.1933, Healthcare=0.3970, Nature=0.4171, Sales=0.3479, Transport=0.4621, Web/CloudOps=0.5006. +- Setting 0.02: skill 0.360509; term short=0.3292, medium=0.4020, long=0.3966; domain Econ/Fin=0.1374, Energy=0.1948, Healthcare=0.3970, Nature=0.4176, Sales=0.3480, Transport=0.4621, Web/CloudOps=0.5008. + +zero_mass, backcast: 3.65 seconds. +- Setting 0.0: skill 0.327844; term short=0.2909, medium=0.3529, long=0.3932; domain Econ/Fin=0.1636, Energy=0.2224, Healthcare=0.3816, Nature=0.3533, Sales=0.3955, Transport=0.3666, Web/CloudOps=0.4404. +- Setting 0.001: skill 0.327849; term short=0.2909, medium=0.3529, long=0.3932; domain Econ/Fin=0.1636, Energy=0.2224, Healthcare=0.3816, Nature=0.3533, Sales=0.3955, Transport=0.3666, Web/CloudOps=0.4404. +- Setting 0.005: skill 0.327890; term short=0.2909, medium=0.3529, long=0.3933; domain Econ/Fin=0.1636, Energy=0.2225, Healthcare=0.3816, Nature=0.3534, Sales=0.3955, Transport=0.3666, Web/CloudOps=0.4404. +- Setting 0.02: skill 0.328180; term short=0.2912, medium=0.3532, long=0.3937; domain Econ/Fin=0.1636, Energy=0.2229, Healthcare=0.3816, Nature=0.3537, Sales=0.3955, Transport=0.3666, Web/CloudOps=0.4409. + +zero_mass, backcast2: 3.62 seconds. +- Setting 0.0: skill 0.354561; term short=0.3397, medium=0.3828, long=0.3642; domain Econ/Fin=0.1095, Energy=0.2259, Healthcare=0.3738, Nature=0.4621, Sales=0.5594, Transport=0.4168, Web/CloudOps=0.4281. +- Setting 0.001: skill 0.354567; term short=0.3397, medium=0.3828, long=0.3642; domain Econ/Fin=0.1095, Energy=0.2259, Healthcare=0.3738, Nature=0.4621, Sales=0.5594, Transport=0.4168, Web/CloudOps=0.4282. +- Setting 0.005: skill 0.354631; term short=0.3398, medium=0.3829, long=0.3643; domain Econ/Fin=0.1095, Energy=0.2260, Healthcare=0.3738, Nature=0.4622, Sales=0.5594, Transport=0.4168, Web/CloudOps=0.4282. +- Setting 0.02: skill 0.354943; term short=0.3400, medium=0.3834, long=0.3646; domain Econ/Fin=0.1095, Energy=0.2266, Healthcare=0.3738, Nature=0.4627, Sales=0.5594, Transport=0.4168, Web/CloudOps=0.4283. + +zero_mass_wide, screen: 3.91 seconds. +- Setting 0.0: skill 0.359868; term short=0.3284, medium=0.4016, long=0.3960; domain Econ/Fin=0.1374, Energy=0.1931, Healthcare=0.3970, Nature=0.4170, Sales=0.3479, Transport=0.4621, Web/CloudOps=0.5005. +- Setting 0.02: skill 0.360509; term short=0.3292, medium=0.4020, long=0.3966; domain Econ/Fin=0.1374, Energy=0.1948, Healthcare=0.3970, Nature=0.4176, Sales=0.3480, Transport=0.4621, Web/CloudOps=0.5008. +- Setting 0.05: skill 0.362121; term short=0.3316, medium=0.4026, long=0.3972; domain Econ/Fin=0.1374, Energy=0.1998, Healthcare=0.3970, Nature=0.4186, Sales=0.3483, Transport=0.4621, Web/CloudOps=0.5012. +- Setting 0.1: skill 0.364736; term short=0.3357, medium=0.4036, long=0.3981; domain Econ/Fin=0.1374, Energy=0.2086, Healthcare=0.3970, Nature=0.4195, Sales=0.3487, Transport=0.4621, Web/CloudOps=0.5017. + +zero_mass_wide, backcast: 3.55 seconds. +- Setting 0.0: skill 0.327844; term short=0.2909, medium=0.3529, long=0.3932; domain Econ/Fin=0.1636, Energy=0.2224, Healthcare=0.3816, Nature=0.3533, Sales=0.3955, Transport=0.3666, Web/CloudOps=0.4404. +- Setting 0.02: skill 0.328180; term short=0.2912, medium=0.3532, long=0.3937; domain Econ/Fin=0.1636, Energy=0.2229, Healthcare=0.3816, Nature=0.3537, Sales=0.3955, Transport=0.3666, Web/CloudOps=0.4409. +- Setting 0.05: skill 0.328643; term short=0.2914, medium=0.3540, long=0.3942; domain Econ/Fin=0.1636, Energy=0.2235, Healthcare=0.3816, Nature=0.3546, Sales=0.3957, Transport=0.3666, Web/CloudOps=0.4415. +- Setting 0.1: skill 0.329276; term short=0.2917, medium=0.3550, long=0.3953; domain Econ/Fin=0.1636, Energy=0.2243, Healthcare=0.3816, Nature=0.3553, Sales=0.3959, Transport=0.3666, Web/CloudOps=0.4426. + +zero_mass_wide, backcast2: 3.53 seconds. +- Setting 0.0: skill 0.354561; term short=0.3397, medium=0.3828, long=0.3642; domain Econ/Fin=0.1095, Energy=0.2259, Healthcare=0.3738, Nature=0.4621, Sales=0.5594, Transport=0.4168, Web/CloudOps=0.4281. +- Setting 0.02: skill 0.354943; term short=0.3400, medium=0.3834, long=0.3646; domain Econ/Fin=0.1095, Energy=0.2266, Healthcare=0.3738, Nature=0.4627, Sales=0.5594, Transport=0.4168, Web/CloudOps=0.4283. +- Setting 0.05: skill 0.355475; term short=0.3406, medium=0.3840, long=0.3651; domain Econ/Fin=0.1095, Energy=0.2278, Healthcare=0.3738, Nature=0.4637, Sales=0.5595, Transport=0.4168, Web/CloudOps=0.4284. +- Setting 0.1: skill 0.356263; term short=0.3413, medium=0.3849, long=0.3660; domain Econ/Fin=0.1095, Energy=0.2295, Healthcare=0.3738, Nature=0.4650, Sales=0.5595, Transport=0.4168, Web/CloudOps=0.4287. + +zero_mass_range, screen: 3.63 seconds. +- Setting 0.1: skill 0.364736; term short=0.3357, medium=0.4036, long=0.3981; domain Econ/Fin=0.1374, Energy=0.2086, Healthcare=0.3970, Nature=0.4195, Sales=0.3487, Transport=0.4621, Web/CloudOps=0.5017. +- Setting 0.2: skill 0.368575; term short=0.3420, medium=0.4046, long=0.3988; domain Econ/Fin=0.1374, Energy=0.2225, Healthcare=0.3970, Nature=0.4210, Sales=0.3475, Transport=0.4621, Web/CloudOps=0.5015. +- Setting 0.4: skill 0.370559; term short=0.3458, medium=0.4052, long=0.3979; domain Econ/Fin=0.1374, Energy=0.2332, Healthcare=0.3970, Nature=0.4205, Sales=0.3463, Transport=0.4621, Web/CloudOps=0.4986. +- Setting 0.8: skill 0.364344; term short=0.3385, medium=0.4008, long=0.3925; domain Econ/Fin=0.1374, Energy=0.2220, Healthcare=0.3970, Nature=0.4198, Sales=0.3444, Transport=0.4621, Web/CloudOps=0.4869. + +zero_mass_range, backcast: 3.50 seconds. +- Setting 0.1: skill 0.329276; term short=0.2917, medium=0.3550, long=0.3953; domain Econ/Fin=0.1636, Energy=0.2243, Healthcare=0.3816, Nature=0.3553, Sales=0.3959, Transport=0.3666, Web/CloudOps=0.4426. +- Setting 0.2: skill 0.330173; term short=0.2923, medium=0.3563, long=0.3966; domain Econ/Fin=0.1636, Energy=0.2253, Healthcare=0.3816, Nature=0.3560, Sales=0.3970, Transport=0.3666, Web/CloudOps=0.4444. +- Setting 0.4: skill 0.330696; term short=0.2928, medium=0.3550, long=0.3988; domain Econ/Fin=0.1636, Energy=0.2247, Healthcare=0.3816, Nature=0.3559, Sales=0.3972, Transport=0.3666, Web/CloudOps=0.4472. +- Setting 0.8: skill 0.327637; term short=0.2916, medium=0.3471, long=0.3961; domain Econ/Fin=0.1636, Energy=0.2180, Healthcare=0.3815, Nature=0.3525, Sales=0.3939, Transport=0.3666, Web/CloudOps=0.4454. + +zero_mass_range, backcast2: 3.39 seconds. +- Setting 0.1: skill 0.356263; term short=0.3413, medium=0.3849, long=0.3660; domain Econ/Fin=0.1095, Energy=0.2295, Healthcare=0.3738, Nature=0.4650, Sales=0.5595, Transport=0.4168, Web/CloudOps=0.4287. +- Setting 0.2: skill 0.357389; term short=0.3423, medium=0.3862, long=0.3671; domain Econ/Fin=0.1095, Energy=0.2319, Healthcare=0.3738, Nature=0.4665, Sales=0.5592, Transport=0.4168, Web/CloudOps=0.4293. +- Setting 0.4: skill 0.357884; term short=0.3425, medium=0.3883, long=0.3665; domain Econ/Fin=0.1095, Energy=0.2327, Healthcare=0.3738, Nature=0.4661, Sales=0.5573, Transport=0.4168, Web/CloudOps=0.4312. +- Setting 0.8: skill 0.350745; term short=0.3358, medium=0.3808, long=0.3588; domain Econ/Fin=0.1095, Energy=0.2213, Healthcare=0.3737, Nature=0.4523, Sales=0.5499, Transport=0.4168, Web/CloudOps=0.4272. + +zero_phase, screen: 4.24 seconds. +- Setting None: skill 0.370559; term short=0.3458, medium=0.4052, long=0.3979; domain Econ/Fin=0.1374, Energy=0.2332, Healthcare=0.3970, Nature=0.4205, Sales=0.3463, Transport=0.4621, Web/CloudOps=0.4986. +- Setting 0: skill 0.367375; term short=0.3412, medium=0.4029, long=0.3972; domain Econ/Fin=0.1374, Energy=0.2196, Healthcare=0.3970, Nature=0.4183, Sales=0.3529, Transport=0.4621, Web/CloudOps=0.5008. +- Setting 4: skill 0.369637; term short=0.3443, medium=0.4040, long=0.3986; domain Econ/Fin=0.1374, Energy=0.2277, Healthcare=0.3970, Nature=0.4202, Sales=0.3515, Transport=0.4621, Web/CloudOps=0.5001. +- Setting 8: skill 0.369822; term short=0.3448, medium=0.4037, long=0.3986; domain Econ/Fin=0.1374, Energy=0.2278, Healthcare=0.3970, Nature=0.4202, Sales=0.3518, Transport=0.4621, Web/CloudOps=0.5007. + +zero_phase, backcast: 4.22 seconds. +- Setting None: skill 0.330696; term short=0.2928, medium=0.3550, long=0.3988; domain Econ/Fin=0.1636, Energy=0.2247, Healthcare=0.3816, Nature=0.3559, Sales=0.3972, Transport=0.3666, Web/CloudOps=0.4472. +- Setting 0: skill 0.328679; term short=0.2917, medium=0.3538, long=0.3940; domain Econ/Fin=0.1636, Energy=0.2231, Healthcare=0.3816, Nature=0.3547, Sales=0.4001, Transport=0.3666, Web/CloudOps=0.4412. +- Setting 4: skill 0.329503; term short=0.2920, medium=0.3549, long=0.3957; domain Econ/Fin=0.1636, Energy=0.2254, Healthcare=0.3816, Nature=0.3555, Sales=0.3995, Transport=0.3666, Web/CloudOps=0.4415. +- Setting 8: skill 0.329633; term short=0.2921, medium=0.3549, long=0.3960; domain Econ/Fin=0.1636, Energy=0.2252, Healthcare=0.3816, Nature=0.3555, Sales=0.4003, Transport=0.3666, Web/CloudOps=0.4420. + +zero_phase, backcast2: 3.98 seconds. +- Setting None: skill 0.357884; term short=0.3425, medium=0.3883, long=0.3665; domain Econ/Fin=0.1095, Energy=0.2327, Healthcare=0.3738, Nature=0.4661, Sales=0.5573, Transport=0.4168, Web/CloudOps=0.4312. +- Setting 0: skill 0.355941; term short=0.3416, medium=0.3833, long=0.3653; domain Econ/Fin=0.1095, Energy=0.2288, Healthcare=0.3738, Nature=0.4641, Sales=0.5605, Transport=0.4168, Web/CloudOps=0.4286. +- Setting 4: skill 0.357313; term short=0.3424, medium=0.3856, long=0.3670; domain Econ/Fin=0.1095, Energy=0.2321, Healthcare=0.3738, Nature=0.4661, Sales=0.5605, Transport=0.4168, Web/CloudOps=0.4289. +- Setting 8: skill 0.357230; term short=0.3422, medium=0.3858, long=0.3672; domain Econ/Fin=0.1095, Energy=0.2314, Healthcare=0.3738, Nature=0.4664, Sales=0.5608, Transport=0.4168, Web/CloudOps=0.4291. + +E40 outcome: unrestricted E37 threshold0.4 beats all global/phase-probability guards on every cutoff. Phase4 gives0.369637/0.329503/0.357313; phase8 gives0.369822/0.329633/0.357230; unrestricted gives0.370559/0.330696/0.357884. Do not add the probability guard. + +E36 component checkpoint hashes: recency12000 `8ccb6870a025e1097331a3a288b1183741a413f3460fbf3352d0c589c6a4394c`; control18000 `b7bbb7473a317145235c133492a0d743a90a01ff252577a4c8a4651db008a138`. These were cached diagnostic blends only, without additional training. + +## E41: learned zero-probability classifier with a frozen backbone +Hypothesis: a classifier trained on allowed windows can make the zero projection conditional on future zero probability more accurately than the empirical guards rejected in E40. Freeze E25 recency18000 and train only a small MLP on decoder representations, global zero fraction, two four-cycle phase zero frequencies and absolute normalized median forecast. The classifier receives BCE loss for exact-zero futures only on sign-homogeneous contexts containing at least4 zeros and10% zeros. At inference, average probabilities from both sign orientations and allow the existing threshold0.4 projection only for quantile levels at or below that probability. Every instance passes through the same backbone and classifier. Bias5 initialization makes probability0.993 and preserves E37 forecasts. Own packed_sample and unchanged synthetic generator; seed83, batch128, LR2e-4, 6000-step schedule, one Torch CPU thread. This adds no external data and trains no backbone parameters. + +## E35 explicit trend inputs 3000-step screen +- Checkpoint SHA-256: `17d346dde232341672545210839ea10fc6e147d6e1d65d2457497d790fc652f6`. +- Evaluation: 97 configurations, 9473 instances, 0 failed configurations; 23.317448616027832 seconds. +- Overall skill 0.351994; relative MASE 0.770114; relative WQL 0.545259. +- term skill: long=0.3848, medium=0.3991, short=0.3197. +- domain skill: Econ/Fin=0.1029, Energy=0.1770, Healthcare=0.4091, Nature=0.4082, Sales=0.3492, Transport=0.4538, Web/CloudOps=0.5011. +- frequency skill: A=0.3685, D=0.3335, H=0.3745, M=0.0901, Q=0.1894, S=0.4379, T=0.3955, W=0.1971. +- variates skill: multivariate=0.3833, univariate=0.3260. +- Outcome: Small improvement over matched E25: screen0.351994 versus0.351702, first earlier0.321829 versus0.321665. Continue to6000 to determine whether this persists. + +E35 training through3000 took850.6 elapsed process seconds on the shared H100. + +## E42: match training decoder horizons to available labels (prepared) +Hypothesis: short pretraining series supply fewer finite future labels than the requested32/128/512/1024 horizon, yet the current decoder sees every requested future token and receives that larger horizon in its metadata. During training only, infer each row's available horizon as its last finite target position, rounded up to the patch boundary; use that length for horizon metadata and mask unused future tokens as self-attention keys in every decoder layer. The label mask and loss remain unchanged. At inference the full requested horizon is used exactly as before, with no new inputs or fitting. Match E38 packed_sample control: own recency12000 initialization, seed79, batch256, LR5e-5, 12000 steps, unchanged sampler. No new model parameters or data. Planned to begin after the small frozen classifier releases memory; GPU evaluations are serialized to bound peak memory. + +E38 expanded corpus arm training started at 2026-10-22T04:02:57Z, after the preceding trainer exited with its final checkpoint. Settings are unchanged from the declared comparison. + +E41 initialization check: all original backbone tensors match the parent bitwise. With identical screen batches, every quantile in all97 configurations is bitwise equal to the parent; maximum difference0. The parent direct-screen score is0.374499664. The cached subset of full-validation predictions scores0.374469795 because batch composition and padding differ slightly; matched direct evaluations are used for E41 comparisons. The classifier has75,920 trainable parameters; total36,873,648. At1000/3000 steps, screen0.373402/0.374243 remains below the unchanged parent. Continue to the planned6000-step endpoint. + +E42 data diagnostic (only packed pretraining data, seed79, 640 windows per requested horizon): H32: 6.4% partial futures, mean available31.0; H128: 14.5% partial futures, mean available117.9; H512: 16.7% partial futures, mean available456.8; H1024: 19.2% partial futures, mean available886.4. CPU elapsed 0.93 seconds. A forward check verified bitwise unchanged ordinary inference and agreement within5.4e-7 between a padded masked short target and an actual short-horizon call. + +E35 first three cutoff comparisons at3000 steps: screen0.351994 versus matched0.351702; earlier1 0.321829 versus0.321665; earlier2 0.346465 versus0.346396. All gains are small; keep the6000-step comparison before drawing an architectural conclusion. + +## E22 depth36 control final24000-step screen +- Checkpoint SHA-256: `d60cdc55e693df0caf601ded61031be859ee027b0da46585586a3c6a3b5276ba`. +- Evaluation: 97 configurations, 9473 instances, 0 failed configurations; 22.044859170913696 seconds. +- Overall skill 0.359867; relative MASE 0.762956; relative WQL 0.537082. +- term skill: long=0.3922, medium=0.4034, short=0.3293. +- domain skill: Econ/Fin=0.1126, Energy=0.1866, Healthcare=0.4038, Nature=0.4208, Sales=0.3464, Transport=0.4583, Web/CloudOps=0.5101. +- frequency skill: A=0.3718, D=0.3396, H=0.3822, M=0.0911, Q=0.1974, S=0.4422, T=0.4054, W=0.2072. +- variates skill: multivariate=0.3956, univariate=0.3299. +- Outcome: Final mean-template screen0.359867 improves its18000-step0.359224 but remains below E25 recency18000 at0.361265. Finished5206.4 elapsed training-process seconds; no new package selected. GPU capacity transferred to E38 expanded corpus arm. + +E42 partial target horizons training started at 2026-10-22T04:06:37Z, after the preceding trainer exited with its final checkpoint. Settings are unchanged from the declared comparison. + +## E43: recheck fixed prior strengths on the stronger backbone +Hypothesis: the seasonal and continuity corrections selected on earlier models may be too strong after continued pretraining. Cache uncorrected symmetric neural forecasts from E25 recency18000, then compare all nine combinations of seasonal blend strength0/0.5/1 and continuity blend strength0/0.5/1. The candidate seasonal forecast is the existing aligned rule; partial strength interpolates it with the neural forecast. Continuity strength similarly interpolates the existing tau24 correction with its input. Keep the selected zero-mass threshold0.4 fixed and apply it last. Use the same global settings on all three cutoffs. No training or new data; inference seed0. + +## E41 frozen zero classifier3000-step screen +- Checkpoint SHA-256: `08b5cc376746c87331cee4628ec56126adf48076aa08ffd2f2bd3f74427d4d96`. +- Evaluation: 97 configurations, 9473 instances, 0 failed configurations; 27.868639707565308 seconds. +- Overall skill 0.374243; relative MASE 0.746287; relative WQL 0.524694. +- term skill: long=0.3998, medium=0.4060, short=0.3515. +- domain skill: Econ/Fin=0.1332, Energy=0.2307, Healthcare=0.4319, Nature=0.4244, Sales=0.3502, Transport=0.4650, Web/CloudOps=0.5035. +- frequency skill: A=0.3692, D=0.3463, H=0.3950, M=0.1023, Q=0.2006, S=0.4218, T=0.4344, W=0.2127. +- variates skill: multivariate=0.3931, univariate=0.3588. +- Outcome: Screen0.374243 is below unchanged parent0.374500. Earlier1 0.331330 versus0.332400; earlier2 0.356106 versus0.356697. The classifier repairs some sales and cloud errors but gives back more solar improvement; no package change. + +## E44: training-consistent trend summary on short contexts +Code review found that the original trend basis chooses its averaging width from padded tensor width: min(128,max(4,c//4)). Training always pads to at least512, making this width128, whereas short inference batches often select smaller widths. This also makes the fixed trend summary sensitive to batch padding. Test a globally fixed128-point width at inference, preserving the exact formula used throughout training. It uses only each row's observed values; other features and all selected corrections remain unchanged. No new parameters, training or data. Compare the recency18000 checkpoint on the screen and both earlier windows before selecting a package. + +E44 first diagnostic launch failed before producing a forecast: a source-edit comment accidentally hid the adjacent recent-mean assignment. Corrected the assignment and restarted all three diagnostics; no failed output was scored or published. + +## E41 frozen zero classifier final6000-step screen +- Checkpoint SHA-256: `9dcf4fa821ca636b648447e0516258a3da7056b5e98ec944d0251c73e5ae3006`. +- Evaluation: 97 configurations, 9473 instances, 0 failed configurations; 27.14689803123474 seconds. +- Overall skill 0.374576; relative MASE 0.746312; relative WQL 0.524117. +- term skill: long=0.3999, medium=0.4061, short=0.3520. +- domain skill: Econ/Fin=0.1332, Energy=0.2315, Healthcare=0.4319, Nature=0.4249, Sales=0.3502, Transport=0.4650, Web/CloudOps=0.5037. +- frequency skill: A=0.3692, D=0.3465, H=0.3951, M=0.1017, Q=0.2006, S=0.4218, T=0.4353, W=0.2127. +- variates skill: multivariate=0.3934, univariate=0.3592. +- Outcome: Final screen0.374576 versus unchanged parent0.374500 is nearly tied. Both earlier cutoffs regress:0.331200 versus0.332400 and0.356162 versus0.356697. Do not select this classifier; retain fixed zero projection. Training took559.8 process seconds; backbone stayed frozen. + +## E43 complete prior-strength comparison +Checkpoint SHA-256 `f6d2c41a690159a5b9c2034be45718c408a30b0d34d9607c9a768b9926781bbd`; fixed inference seed0; no training. + +screen: 10.68 CPU diagnostic seconds. +- Seasonal0.0, continuity0.0: skill0.352854; term short=0.3372, medium=0.3820, long=0.3635; domain Econ/Fin=0.0649, Energy=0.2249, Healthcare=0.3918, Nature=0.4305, Sales=0.3458, Transport=0.4676, Web/CloudOps=0.4394. +- Seasonal0.0, continuity0.5: skill0.358015; term short=0.3463, medium=0.3820, long=0.3639; domain Econ/Fin=0.1059, Energy=0.2325, Healthcare=0.4145, Nature=0.4284, Sales=0.3457, Transport=0.4662, Web/CloudOps=0.4421. +- Seasonal0.0, continuity1.0: skill0.358419; term short=0.3472, medium=0.3814, long=0.3642; domain Econ/Fin=0.1280, Energy=0.2289, Healthcare=0.4280, Nature=0.4258, Sales=0.3457, Transport=0.4637, Web/CloudOps=0.4444. +- Seasonal0.5, continuity0.0: skill0.361594; term short=0.3390, medium=0.3982, long=0.3816; domain Econ/Fin=0.0723, Energy=0.2304, Healthcare=0.3951, Nature=0.4304, Sales=0.3450, Transport=0.4683, Web/CloudOps=0.4668. +- Seasonal0.5, continuity0.5: skill0.367185; term short=0.3491, medium=0.3978, long=0.3823; domain Econ/Fin=0.1132, Energy=0.2381, Healthcare=0.4171, Nature=0.4282, Sales=0.3449, Transport=0.4670, Web/CloudOps=0.4713. +- Seasonal0.5, continuity1.0: skill0.367831; term short=0.3505, medium=0.3970, long=0.3826; domain Econ/Fin=0.1347, Energy=0.2340, Healthcare=0.4301, Nature=0.4256, Sales=0.3449, Transport=0.4647, Web/CloudOps=0.4751. +- Seasonal1.0, continuity0.0: skill0.366912; term short=0.3385, medium=0.4065, long=0.3980; domain Econ/Fin=0.0640, Energy=0.2315, Healthcare=0.3974, Nature=0.4301, Sales=0.3440, Transport=0.4682, Web/CloudOps=0.4881. +- Seasonal1.0, continuity0.5: skill0.373401; term short=0.3497, medium=0.4072, long=0.3989; domain Econ/Fin=0.1094, Energy=0.2393, Healthcare=0.4192, Nature=0.4280, Sales=0.3439, Transport=0.4672, Web/CloudOps=0.4952. +- Seasonal1.0, continuity1.0: skill0.374500; term short=0.3517, medium=0.4069, long=0.3994; domain Econ/Fin=0.1332, Energy=0.2347, Healthcare=0.4319, Nature=0.4254, Sales=0.3438, Transport=0.4650, Web/CloudOps=0.5007. + +backcast: 11.26 CPU diagnostic seconds. +- Seasonal0.0, continuity0.0: skill0.307142; term short=0.2826, medium=0.3351, long=0.3410; domain Econ/Fin=0.1076, Energy=0.2255, Healthcare=0.3430, Nature=0.3552, Sales=0.3986, Transport=0.3768, Web/CloudOps=0.3599. +- Seasonal0.0, continuity0.5: skill0.312170; term short=0.2916, medium=0.3354, long=0.3411; domain Econ/Fin=0.1400, Energy=0.2277, Healthcare=0.3844, Nature=0.3556, Sales=0.3986, Transport=0.3764, Web/CloudOps=0.3620. +- Seasonal0.0, continuity1.0: skill0.314938; term short=0.2967, medium=0.3353, long=0.3409; domain Econ/Fin=0.1539, Energy=0.2269, Healthcare=0.4209, Nature=0.3555, Sales=0.3986, Transport=0.3753, Web/CloudOps=0.3636. +- Seasonal0.5, continuity0.0: skill0.318715; term short=0.2868, medium=0.3483, long=0.3683; domain Econ/Fin=0.1210, Energy=0.2277, Healthcare=0.3359, Nature=0.3556, Sales=0.3986, Transport=0.3747, Web/CloudOps=0.4076. +- Seasonal0.5, continuity0.5: skill0.323130; term short=0.2948, medium=0.3486, long=0.3682; domain Econ/Fin=0.1519, Energy=0.2300, Healthcare=0.3781, Nature=0.3560, Sales=0.3986, Transport=0.3744, Web/CloudOps=0.4072. +- Seasonal0.5, continuity1.0: skill0.325194; term short=0.2988, medium=0.3485, long=0.3679; domain Econ/Fin=0.1645, Energy=0.2291, Healthcare=0.4163, Nature=0.3559, Sales=0.3986, Transport=0.3733, Web/CloudOps=0.4059. +- Seasonal1.0, continuity0.0: skill0.326613; term short=0.2844, medium=0.3570, long=0.3986; domain Econ/Fin=0.1011, Energy=0.2252, Healthcare=0.3156, Nature=0.3558, Sales=0.3986, Transport=0.3713, Web/CloudOps=0.4530. +- Seasonal1.0, continuity0.5: skill0.330837; term short=0.2922, medium=0.3575, long=0.3984; domain Econ/Fin=0.1366, Energy=0.2277, Healthcare=0.3596, Nature=0.3563, Sales=0.3986, Transport=0.3710, Web/CloudOps=0.4510. +- Seasonal1.0, continuity1.0: skill0.332400; term short=0.2953, medium=0.3574, long=0.3980; domain Econ/Fin=0.1526, Energy=0.2268, Healthcare=0.3995, Nature=0.3561, Sales=0.3986, Transport=0.3699, Web/CloudOps=0.4472. + +backcast2: 10.77 CPU diagnostic seconds. +- Seasonal0.0, continuity0.0: skill0.342833; term short=0.3444, medium=0.3372, long=0.3447; domain Econ/Fin=0.0850, Energy=0.2421, Healthcare=0.3909, Nature=0.4651, Sales=0.5517, Transport=0.4200, Web/CloudOps=0.3492. +- Seasonal0.0, continuity0.5: skill0.343238; term short=0.3448, medium=0.3374, long=0.3451; domain Econ/Fin=0.1046, Energy=0.2395, Healthcare=0.3778, Nature=0.4655, Sales=0.5516, Transport=0.4195, Web/CloudOps=0.3541. +- Seasonal0.0, continuity1.0: skill0.341670; term short=0.3421, medium=0.3372, long=0.3453; domain Econ/Fin=0.1096, Energy=0.2345, Healthcare=0.3641, Nature=0.4656, Sales=0.5516, Transport=0.4183, Web/CloudOps=0.3571. +- Seasonal0.5, continuity0.0: skill0.353176; term short=0.3476, medium=0.3630, long=0.3580; domain Econ/Fin=0.0889, Energy=0.2454, Healthcare=0.3896, Nature=0.4651, Sales=0.5517, Transport=0.4202, Web/CloudOps=0.3933. +- Seasonal0.5, continuity0.5: skill0.353075; term short=0.3473, medium=0.3630, long=0.3584; domain Econ/Fin=0.1076, Energy=0.2421, Healthcare=0.3764, Nature=0.4655, Sales=0.5516, Transport=0.4198, Web/CloudOps=0.3966. +- Seasonal0.5, continuity1.0: skill0.350860; term short=0.3435, medium=0.3626, long=0.3584; domain Econ/Fin=0.1107, Energy=0.2362, Healthcare=0.3627, Nature=0.4656, Sales=0.5516, Transport=0.4185, Web/CloudOps=0.3980. +- Seasonal1.0, continuity0.0: skill0.359824; term short=0.3464, medium=0.3881, long=0.3655; domain Econ/Fin=0.0796, Energy=0.2431, Healthcare=0.3878, Nature=0.4651, Sales=0.5517, Transport=0.4196, Web/CloudOps=0.4291. +- Seasonal1.0, continuity0.5: skill0.359396; term short=0.3456, medium=0.3880, long=0.3658; domain Econ/Fin=0.1008, Energy=0.2396, Healthcare=0.3747, Nature=0.4655, Sales=0.5516, Transport=0.4192, Web/CloudOps=0.4307. +- Seasonal1.0, continuity1.0: skill0.356697; term short=0.3411, medium=0.3874, long=0.3657; domain Econ/Fin=0.1045, Energy=0.2331, Healthcare=0.3610, Nature=0.4656, Sales=0.5516, Transport=0.4179, Web/CloudOps=0.4303. + +E43 outcome: retain both corrections at full strength. Seasonal full strength wins at every cutoff. Full continuity wins the main screen and first earlier cutoff; removing or weakening it helps the second earlier cutoff. Half continuity has essentially the same three-cutoff average but lowers the main screen, so the current rule is retained. This confirms that the fixed corrections still contribute after additional pretraining. + +E39 pre-launch correction: require at least one strictly positive or negative observed value before imposing the corresponding training bound. All-zero contexts otherwise satisfy both signs and would force every quantile to zero. Such contexts retain the original unconstrained training forward pass; the existing final nonnegative inference projection remains unchanged. This correction was made before E39 training started. + +E44 selected: full validation0.371267 versus previous0.370171; matched direct screen0.375386 versus0.374500; earlier1 0.333401 versus0.332400; earlier2 0.357015 versus0.356697. All improve. Full package inference took116.2 seconds under concurrent training, with97 configurations and151170 instances, zero failures and no quantile crossings. Repeated relocated examples are bitwise identical. With the actual trained model, adding left padding to histories of lengths8/16/40 changes raw forecasts by at most3.82e-6 in float32, consistent with numerical reduction differences. The averaging width is now independent of batch padding and matches all pretraining context lengths. No training or parameter changes were needed. + +## E44 fixed128 trend summary full package validation +- Checkpoint SHA-256: `f6d2c41a690159a5b9c2034be45718c408a30b0d34d9607c9a768b9926781bbd`. +- Evaluation: 97 configurations, 151170 instances, 0 failed configurations; not separately timed seconds. +- Overall skill 0.371267; relative MASE 0.749824; relative WQL 0.527198. +- term skill: long=0.3932, medium=0.4057, short=0.3489. +- domain skill: Econ/Fin=0.1097, Energy=0.2283, Healthcare=0.4445, Nature=0.4270, Sales=0.3536, Transport=0.4653, Web/CloudOps=0.4932. +- frequency skill: A=0.2900, D=0.3545, H=0.3906, M=0.1144, Q=0.1842, S=0.4218, T=0.4285, W=0.2081. +- variates skill: multivariate=0.3889, univariate=0.3569. +- Outcome: Published atomically. Full0.371267, screen0.375386, first earlier0.333401, second earlier0.357015. All improve over the previous package; repeated relocated inference is bitwise deterministic and all151170 instances score successfully. + +## E44 first earlier diagnostic +- Checkpoint SHA-256: `f6d2c41a690159a5b9c2034be45718c408a30b0d34d9607c9a768b9926781bbd`. +- Evaluation: 97 configurations, 9330 instances, 0 failed configurations; 24.190837860107422 seconds. +- Overall skill 0.333401; relative MASE 0.800857; relative WQL 0.554849. +- term skill: long=0.3980, medium=0.3574, short=0.2971. +- domain skill: Econ/Fin=0.1546, Energy=0.2269, Healthcare=0.4152, Nature=0.3561, Sales=0.3982, Transport=0.3697, Web/CloudOps=0.4472. +- frequency skill: A=0.3057, D=0.3535, H=0.3642, M=0.1858, Q=0.2322, S=0.3397, T=0.3325, W=0.2671. +- variates skill: multivariate=0.3493, univariate=0.3205. +- Outcome: Improves the preceding published package. + +## E44 second earlier diagnostic +- Checkpoint SHA-256: `f6d2c41a690159a5b9c2034be45718c408a30b0d34d9607c9a768b9926781bbd`. +- Evaluation: 94 configurations, 8934 instances, 0 failed configurations; 24.125259160995483 seconds. +- Overall skill 0.357015; relative MASE 0.773709; relative WQL 0.534347. +- term skill: long=0.3657, medium=0.3874, short=0.3417. +- domain skill: Econ/Fin=0.1037, Energy=0.2341, Healthcare=0.3586, Nature=0.4669, Sales=0.5519, Transport=0.4175, Web/CloudOps=0.4304. +- frequency skill: A=0.3474, D=0.4297, H=0.3890, M=0.1482, Q=0.1491, S=0.2798, T=0.3574, W=0.2484. +- variates skill: multivariate=0.3619, univariate=0.3530. +- Outcome: Improves the preceding published package. + +E35 follow-up: compare both6000-step models again with the now-selected E44 fixed128 basis and E37 zero0.4 rule. The old adaptive-width basis may interact with the new learned short-trend features, so this paired diagnostic will check whether their small gain changes once training/inference formulas agree. No retraining or new thresholds. + +## E31 amplitude synthetic12000-step screen +- Checkpoint SHA-256: `88d6ebecc5342e428b803fcb60af38cafa8f94383976621f3f200abee9b2eb0e`. +- Evaluation: 97 configurations, 9473 instances, 0 failed configurations; 25.205806970596313 seconds. +- Overall skill 0.358165; relative MASE 0.764973; relative WQL 0.538519. +- term skill: long=0.3902, medium=0.4022, short=0.3275. +- domain skill: Econ/Fin=0.1122, Energy=0.1848, Healthcare=0.3959, Nature=0.4185, Sales=0.3479, Transport=0.4568, Web/CloudOps=0.5094. +- frequency skill: A=0.3775, D=0.3345, H=0.3814, M=0.0974, Q=0.1993, S=0.4416, T=0.4040, W=0.1998. +- variates skill: multivariate=0.3933, univariate=0.3287. +- Outcome: Mean-template screen0.358165 remains above matched E25-12000 0.357241, after gains at3000 and6000. The advantage is smaller than at6000; continue to18000 and24000 before selecting a new package. + +## E35 explicit trend6000-step screen +- Checkpoint SHA-256: `2ad3f9148954d7b3a16365ec529767cc3a0803b4488c7a475838725497c13565`. +- Evaluation: 97 configurations, 9473 instances, 0 failed configurations; 25.423240423202515 seconds. +- Overall skill 0.353152; relative MASE 0.769279; relative WQL 0.543902. +- term skill: long=0.3873, medium=0.3990, short=0.3208. +- domain skill: Econ/Fin=0.1103, Energy=0.1816, Healthcare=0.3998, Nature=0.4115, Sales=0.3496, Transport=0.4548, Web/CloudOps=0.4989. +- frequency skill: A=0.3705, D=0.3396, H=0.3769, M=0.0764, Q=0.1986, S=0.4369, T=0.3960, W=0.1933. +- variates skill: multivariate=0.3851, univariate=0.3265. +- Outcome: Mean-template screen0.353152 versus matched E25 0.352851; earlier1 0.323894 versus0.324008; earlier2 0.349429 versus0.349098. With all selected fixed rules, screen0.366300 versus matched0.366032. The effect remains small; retain checkpoints and compare at12000. + +amplitude_synth through12000: 3311.5 elapsed training-process seconds on the shared H100. + +trend_features through6000: 1795.6 elapsed training-process seconds on the shared H100. + +E39 bounded quantiles training started at 2026-10-22T04:19:57Z, after the preceding trainer exited with its final checkpoint. Settings are unchanged from the declared comparison. + +## E25 recency final24000-step matched mean-template screen +- Checkpoint SHA-256: `1530fbb577a87ca4eb39da83d6fee9b8ee5bc924202e021e3a7b56493112f564`. +- Evaluation: 97 configurations, 9473 instances, 0 failed configurations; 24.549001216888428 seconds. +- Overall skill 0.361808; relative MASE 0.760201; relative WQL 0.535765. +- term skill: long=0.3930, medium=0.4043, short=0.3321. +- domain skill: Econ/Fin=0.1144, Energy=0.1875, Healthcare=0.4304, Nature=0.4242, Sales=0.3432, Transport=0.4595, Web/CloudOps=0.5080. +- frequency skill: A=0.3731, D=0.3487, H=0.3832, M=0.0957, Q=0.1965, S=0.4423, T=0.4054, W=0.2079. +- variates skill: multivariate=0.3953, univariate=0.3338. +- Outcome: Final screen0.361808 versus matched E22-24000 0.359867. The learned recency features improve the matched comparison at every evaluated checkpoint. Completed5879.4 elapsed training-process seconds; full validation with selected fixed rules is pending. + +## E38 expanded corpus3000-step screen +- Checkpoint SHA-256: `13cb3d2a222cd09f622eff3fe1657c4aebe2b1f2ca22a226462ecd0bb2c94026`. +- Evaluation: 97 configurations, 9473 instances, 0 failed configurations; 23.664713144302368 seconds. +- Overall skill 0.358667; relative MASE 0.763557; relative WQL 0.538674. +- term skill: long=0.3925, medium=0.4038, short=0.3268. +- domain skill: Econ/Fin=0.1145, Energy=0.1852, Healthcare=0.4021, Nature=0.4196, Sales=0.3470, Transport=0.4576, Web/CloudOps=0.5080. +- frequency skill: A=0.3749, D=0.3373, H=0.3835, M=0.0979, Q=0.1983, S=0.4405, T=0.4029, W=0.1974. +- variates skill: multivariate=0.3933, univariate=0.3297. +- Outcome: Screen0.358667 versus matched packed_sample control0.358802: nearly tied. Broader corpus coverage has not yet provided a clear advantage. Continue to6000 and12000; source probabilities remain fixed to the original mixture. + +## E38 packed_sample control6000-step screen +- Checkpoint SHA-256: `3b6a1f25cef4ecafcb7bde8ee9faf1cbe4c68a0c2fbb9594ce26eb3c222f3720`. +- Evaluation: 97 configurations, 9473 instances, 0 failed configurations; 25.290119647979736 seconds. +- Overall skill 0.358628; relative MASE 0.763471; relative WQL 0.538799. +- term skill: long=0.3894, medium=0.4025, short=0.3286. +- domain skill: Econ/Fin=0.1093, Energy=0.1839, Healthcare=0.4157, Nature=0.4245, Sales=0.3451, Transport=0.4579, Web/CloudOps=0.5041. +- frequency skill: A=0.3762, D=0.3427, H=0.3805, M=0.1014, Q=0.1966, S=0.4404, T=0.4018, W=0.2035. +- variates skill: multivariate=0.3910, univariate=0.3316. +- Outcome: Screen0.358628 versus this restart at3000 0.358802. This restart has not surpassed uninterrupted E25 continuation. Retain as the matched control for corpus coverage, bounded quantiles and partial target horizons; assess after learning-rate decay. + +## E45: average late recency checkpoints +Hypothesis: uniform parameter averaging of the same training trajectory can reduce checkpoint variation without adding inference cost. Average own E25 EMA checkpoints at18000/21000/24000 in FP32, retaining their shared configuration. This is one model with fixed averaged weights; every parent was trained here from the same random-initialization lineage, seed59. No additional data or gradient updates. Use the selected aligned seasonal rule, continuity, zero0.4 and fixed128 trend basis. Evaluate all three cutoffs before building a full candidate. The averaging script and every parent hash are preserved. + +E25 final24000-step package selected: full0.371479 versus18000-step0.371267; direct screen0.375502 versus0.375386; first earlier0.334180 versus0.333401; second earlier0.358275 versus0.357015. All improve. Full inference126.1 seconds under concurrent training;97 configurations,151170 instances, zero failures and no quantile crossings. Repeated relocated examples are bitwise identical, finite and monotone. Fixed rules are unchanged from E44. + +E45 outcome: the uniform18000/21000/24000 EMA average scores0.375408/0.333912/0.358081 on the three cutoffs, below the final24000 checkpoint at0.375502/0.334180/0.358275 on every cutoff. Not selected; no full package evaluation. No training compute; parameter averaging was not separately timed, and individual diagnostic evaluation times are recorded below. + +## E25 final24000-step package with selected fixed rules +- Checkpoint SHA-256: `1530fbb577a87ca4eb39da83d6fee9b8ee5bc924202e021e3a7b56493112f564`. +- Evaluation: 97 configurations, 151170 instances, 0 failed configurations; not separately timed seconds. +- Overall skill 0.371479; relative MASE 0.748783; relative WQL 0.527575. +- term skill: long=0.3935, medium=0.4057, short=0.3491. +- domain skill: Econ/Fin=0.1165, Energy=0.2279, Healthcare=0.4442, Nature=0.4287, Sales=0.3521, Transport=0.4652, Web/CloudOps=0.4925. +- frequency skill: A=0.2919, D=0.3570, H=0.3902, M=0.1164, Q=0.1836, S=0.4232, T=0.4289, W=0.2028. +- variates skill: multivariate=0.3893, univariate=0.3569. +- Outcome: Published atomically. Full0.371479, screen0.375502, earlier1 0.334180, earlier2 0.358275. All improve over the preceding18000-step package. All151170 instances score; repeated relocated examples are bitwise deterministic, finite and monotone. + +## Published recency24000 first earlier diagnostic +- Checkpoint SHA-256: `1530fbb577a87ca4eb39da83d6fee9b8ee5bc924202e021e3a7b56493112f564`. +- Evaluation: 97 configurations, 9330 instances, 0 failed configurations; 24.669825792312622 seconds. +- Overall skill 0.334180; relative MASE 0.799611; relative WQL 0.554415. +- term skill: long=0.3968, medium=0.3571, short=0.2993. +- domain skill: Econ/Fin=0.1593, Energy=0.2277, Healthcare=0.4063, Nature=0.3608, Sales=0.3980, Transport=0.3712, Web/CloudOps=0.4466. +- frequency skill: A=0.3097, D=0.3512, H=0.3634, M=0.1820, Q=0.2352, S=0.3426, T=0.3343, W=0.2771. +- variates skill: multivariate=0.3511, univariate=0.3204. +- Outcome: Improves the preceding package. + +## Published recency24000 second earlier diagnostic +- Checkpoint SHA-256: `1530fbb577a87ca4eb39da83d6fee9b8ee5bc924202e021e3a7b56493112f564`. +- Evaluation: 94 configurations, 8934 instances, 0 failed configurations; 25.378834009170532 seconds. +- Overall skill 0.358275; relative MASE 0.771140; relative WQL 0.534029. +- term skill: long=0.3653, medium=0.3854, short=0.3449. +- domain skill: Econ/Fin=0.1098, Energy=0.2362, Healthcare=0.3503, Nature=0.4701, Sales=0.5516, Transport=0.4194, Web/CloudOps=0.4299. +- frequency skill: A=0.3501, D=0.4315, H=0.3891, M=0.1569, Q=0.1519, S=0.2833, T=0.3571, W=0.2551. +- variates skill: multivariate=0.3625, univariate=0.3548. +- Outcome: Improves the preceding package. + +## E45 averaged late EMA screen +- Checkpoint SHA-256: `9b3541cfc195324574d22e27a8e3ac38edf7408712372933c645c892f39fa746`. +- Evaluation: 97 configurations, 9473 instances, 0 failed configurations; 25.790673971176147 seconds. +- Overall skill 0.375408; relative MASE 0.746595; relative WQL 0.522527. +- term skill: long=0.3999, medium=0.4064, short=0.3534. +- domain skill: Econ/Fin=0.1379, Energy=0.2352, Healthcare=0.4383, Nature=0.4274, Sales=0.3404, Transport=0.4653, Web/CloudOps=0.5004. +- frequency skill: A=0.3761, D=0.3516, H=0.3953, M=0.0934, Q=0.2004, S=0.4222, T=0.4355, W=0.2141. +- variates skill: multivariate=0.3931, univariate=0.3610. +- Outcome: Below the final24000 checkpoint on all three cutoffs; not selected. + +## E42 partial target horizons3000-step screen +- Checkpoint SHA-256: `fce955a709ee54429c943e3962df49055444d5a15453865a01e4883614425917`. +- Evaluation: 97 configurations, 9473 instances, 0 failed configurations; 25.083299160003662 seconds. +- Overall skill 0.358812; relative MASE 0.763592; relative WQL 0.538405. +- term skill: long=0.3907, medium=0.4016, short=0.3287. +- domain skill: Econ/Fin=0.1123, Energy=0.1842, Healthcare=0.4163, Nature=0.4220, Sales=0.3469, Transport=0.4589, Web/CloudOps=0.5047. +- frequency skill: A=0.3754, D=0.3440, H=0.3817, M=0.1026, Q=0.1980, S=0.4409, T=0.3995, W=0.2076. +- variates skill: multivariate=0.3908, univariate=0.3321. +- Outcome: Screen0.358812 versus matched control0.358802 is effectively tied. Gains in annual, quarterly, monthly and weekly groups are offset by minute-frequency losses. Continue to6000 and12000 to assess persistence. + +## E46: use forecast slopes for the fixed continuity correction +A per-channel diagnostic found that several ETT2 short-horizon forecasts underreact to a rebound after the latest trough: truth rises about1.1–1.9 context standard deviations in multiple channels, while the model rises only0.6–0.9. The current continuity anchor extrapolates the previous eight differences and may continue the old direction across a turn. Keep the smoothness gate, tau24, seasonal rule and zero0.4 fixed; compare past8 (current), zero slope, first forecast difference, and median of the first eight forecast differences. These are fixed transformations, with no fitting. Reuse the E25-18000 raw forecast caches for a paired diagnostic on all three cutoffs; their old short-context trend basis is unchanged within this comparison. Any selected variant must transfer to the latest fixed128 package before publication. + +## E47: frozen-backbone confidence-query projection (prepared) +Hypothesis: fixed lag-difference statistics provide information about local noise and seasonal repeatability that the decoder may otherwise infer inefficiently from raw patches. Add a zero-initialized linear projection of six log-scaled normalized statistics: MAE and RMS difference at lag1 over512 points, and at each of the two frequency-derived periods over at most8 cycles. Fewer than8 valid pairs use neutral defaults1 and sqrt(2). The3072 new parameters affect decoder queries; freeze the complete E25 recency24000 backbone. Train with the original weighted quantile/median loss after averaging both sign orientations, matching inference. Own packed_sample and unchanged local generator, seed89, planned6000 steps atLR2e-4. Choose batch64 or32 after measuring maximum-shape memory, keeping the six existing trainers and serialized evaluations within the one H100. No new training data. + +E47 memory check at batch64 (paired batch128), context4096 and horizon1024 used1134.4 MiB peak allocated and1160.0 MiB peak reserved Torch memory. Gradients were finite; no optimizer update or checkpoint was made from the random fixture. Start the planned6000-step run at batch64 with only3072 trainable parameters. + +## E46 complete slope comparison +No training; checkpoint SHA-256 `f6d2c41a690159a5b9c2034be45718c408a30b0d34d9607c9a768b9926781bbd`; fixed inference seed0. + +screen: 9.50 CPU diagnostic seconds. +- past8: skill0.374500; term short=0.3517, medium=0.4069, long=0.3994; domain Econ/Fin=0.1332, Energy=0.2347, Healthcare=0.4319, Nature=0.4254, Sales=0.3438, Transport=0.4650, Web/CloudOps=0.5007; freq A-DEC=0.3692, Q-DEC=0.2006, M=0.1023, W-SUN=0.0521, D=0.3442, H=0.3953, 15T=0.2125, W-FRI=-0.0051, 10T=0.6138, W-TUE=0.5773, W-THU=0.1903, W-WED=0.3133, 5T=0.5112, 10S=0.4218. +- none: skill0.370718; term short=0.3457, medium=0.4054, long=0.3986; domain Econ/Fin=0.1111, Energy=0.2246, Healthcare=0.4321, Nature=0.4266, Sales=0.3438, Transport=0.4648, Web/CloudOps=0.4996; freq A-DEC=0.3202, Q-DEC=0.1821, M=0.1025, W-SUN=0.0486, D=0.3438, H=0.3946, 15T=0.2087, W-FRI=0.0306, 10T=0.5876, W-TUE=0.5831, W-THU=0.1779, W-WED=0.3133, 5T=0.5117, 10S=0.4176. +- future1: skill0.374205; term short=0.3511, medium=0.4072, long=0.3991; domain Econ/Fin=0.1137, Energy=0.2347, Healthcare=0.4268, Nature=0.4274, Sales=0.3439, Transport=0.4665, Web/CloudOps=0.5017; freq A-DEC=0.3598, Q-DEC=0.1662, M=0.1001, W-SUN=0.0181, D=0.3420, H=0.3984, 15T=0.2072, W-FRI=0.0122, 10T=0.6164, W-TUE=0.5675, W-THU=0.1755, W-WED=0.3133, 5T=0.5109, 10S=0.4256. +- future8: skill0.373161; term short=0.3495, medium=0.4067, long=0.3990; domain Econ/Fin=0.1251, Energy=0.2298, Healthcare=0.4305, Nature=0.4272, Sales=0.3439, Transport=0.4643, Web/CloudOps=0.5016; freq A-DEC=0.3602, Q-DEC=0.1852, M=0.1008, W-SUN=0.0383, D=0.3439, H=0.3960, 15T=0.2096, W-FRI=-0.0017, 10T=0.6059, W-TUE=0.5789, W-THU=0.1738, W-WED=0.3133, 5T=0.5112, 10S=0.4252. + +backcast: 9.40 CPU diagnostic seconds. +- past8: skill0.332400; term short=0.2953, medium=0.3574, long=0.3980; domain Econ/Fin=0.1526, Energy=0.2268, Healthcare=0.3995, Nature=0.3561, Sales=0.3986, Transport=0.3699, Web/CloudOps=0.4472; freq A-DEC=0.2996, Q-DEC=0.2330, M=0.1721, W-SUN=-0.0043, D=0.3516, H=0.3643, 15T=0.2254, W-FRI=0.2597, 10T=0.3130, W-TUE=0.5335, W-THU=0.2049, W-WED=0.3474, 5T=0.4329, 10S=0.3397. +- none: skill0.329297; term short=0.2895, medium=0.3574, long=0.3980; domain Econ/Fin=0.1286, Energy=0.2253, Healthcare=0.3653, Nature=0.3586, Sales=0.3986, Transport=0.3702, Web/CloudOps=0.4470; freq A-DEC=0.2562, Q-DEC=0.2285, M=0.1591, W-SUN=-0.0090, D=0.3530, H=0.3630, 15T=0.2276, W-FRI=0.2653, 10T=0.3102, W-TUE=0.4340, W-THU=0.1790, W-WED=0.3474, 5T=0.4328, 10S=0.3392. +- future1: skill0.331443; term short=0.2936, medium=0.3572, long=0.3981; domain Econ/Fin=0.1560, Energy=0.2259, Healthcare=0.3803, Nature=0.3573, Sales=0.3986, Transport=0.3708, Web/CloudOps=0.4467; freq A-DEC=0.2946, Q-DEC=0.2075, M=0.1779, W-SUN=-0.0420, D=0.3531, H=0.3699, 15T=0.2218, W-FRI=0.2626, 10T=0.3062, W-TUE=0.4321, W-THU=0.1844, W-WED=0.3474, 5T=0.4320, 10S=0.3387. +- future8: skill0.330724; term short=0.2923, medium=0.3572, long=0.3980; domain Econ/Fin=0.1495, Energy=0.2260, Healthcare=0.3767, Nature=0.3568, Sales=0.3986, Transport=0.3706, Web/CloudOps=0.4462; freq A-DEC=0.2971, Q-DEC=0.2312, M=0.1706, W-SUN=-0.0239, D=0.3528, H=0.3662, 15T=0.2272, W-FRI=0.2646, 10T=0.3066, W-TUE=0.4419, W-THU=0.1812, W-WED=0.3474, 5T=0.4320, 10S=0.3363. + +backcast2: 9.16 CPU diagnostic seconds. +- past8: skill0.356697; term short=0.3411, medium=0.3874, long=0.3657; domain Econ/Fin=0.1045, Energy=0.2331, Healthcare=0.3610, Nature=0.4656, Sales=0.5516, Transport=0.4179, Web/CloudOps=0.4303; freq A-DEC=0.3474, Q-DEC=0.1548, M=0.1599, W-SUN=0.0316, D=0.4275, H=0.3891, 15T=0.1072, W-FRI=0.1243, 10T=0.4930, W-TUE=0.0782, W-THU=0.3037, W-WED=0.5352, 5T=0.4648, 10S=0.2798. +- none: skill0.356132; term short=0.3406, medium=0.3873, long=0.3643; domain Econ/Fin=0.0852, Energy=0.2311, Healthcare=0.3675, Nature=0.4661, Sales=0.5516, Transport=0.4189, Web/CloudOps=0.4316; freq A-DEC=0.3237, Q-DEC=0.1547, M=0.1618, W-SUN=0.0515, D=0.4258, H=0.3870, 15T=0.1053, W-FRI=0.1317, 10T=0.4935, W-TUE=0.1348, W-THU=0.2945, W-WED=0.5352, 5T=0.4648, 10S=0.2854. +- future1: skill0.355261; term short=0.3386, medium=0.3872, long=0.3657; domain Econ/Fin=0.1174, Energy=0.2356, Healthcare=0.3303, Nature=0.4652, Sales=0.5516, Transport=0.4184, Web/CloudOps=0.4253; freq A-DEC=0.3497, Q-DEC=0.1386, M=0.1530, W-SUN=0.0379, D=0.4238, H=0.3954, 15T=0.1038, W-FRI=0.1264, 10T=0.4929, W-TUE=-0.1191, W-THU=0.2956, W-WED=0.5352, 5T=0.4644, 10S=0.2668. +- future8: skill0.355137; term short=0.3386, medium=0.3873, long=0.3650; domain Econ/Fin=0.1032, Energy=0.2310, Healthcare=0.3342, Nature=0.4659, Sales=0.5516, Transport=0.4189, Web/CloudOps=0.4316; freq A-DEC=0.3492, Q-DEC=0.1479, M=0.1571, W-SUN=0.0462, D=0.4251, H=0.3890, 15T=0.1053, W-FRI=0.1264, 10T=0.4931, W-TUE=-0.1021, W-THU=0.2982, W-WED=0.5352, 5T=0.4643, 10S=0.2886. + +E46 outcome: retain the existing past-eight-difference slope. It beats zero slope and both forecast-derived slopes on every cutoff. The local turning-point explanation does not justify changing the global correction. + +## E48: phase diffusion in synthetic seasonal series (queued) +Hypothesis: varying seasonal phase teaches the model when distant cycles should lose confidence, complementing E31's amplitude variation. Keep E31 unchanged except that half of synthetic calls add a Brownian phase to each Fourier period, shared across its harmonics. Draw one-cycle fundamental correlation log-uniformly from 0.90 to 0.999, with increment standard deviation sqrt(-2 log(correlation) / period). Phase RNG seed is 200062, independent of sampler seed 59 and amplitude seed 100062. Real corpus windows, frequency choices, all original generator draws, and amplitude draws remain matched to E31. A data-only check of 256 rows at each synthetic fraction 0, 0.2 and 1 verified equal original and amplitude RNG states; all corpus-only arrays were bitwise equal, and every finite output stayed finite (8.30 CPU seconds). No validation labels are used in this generator or training. + +Initialize from our E17 patch16 EMA6000; same E25 architecture, batch 256, LR 8e-5, 24000-step cosine schedule, seed 59, save every 3000. Compare to cached E31 at matched checkpoints and three cutoffs before publication. Queue after E38 control completes 12000, retaining at most six heavy trainers on the one H100. Directory phase_synth contains code and sampler_check.json; generator must be declared separately in sources_used if selected. + +## E49: uncertainty shape in the fixed seasonal correction +Hypothesis: rare seasonal jumps inflate Gaussian RMS intervals in otherwise regular series. Keep the selected seasonal median, confidence gate, continuity correction and zero projection fixed; compare Gaussian RMS intervals with centered empirical seasonal-difference quantiles and Gaussian MAD intervals. All widths use the same sqrt((1+1/cycles)/2) averaging correction. Empirical residual median is subtracted so the median forecast is unchanged. These are fixed context formulas, with no optimization. Reuse E25-18000 raw caches for an inexpensive paired test across three cutoffs; transfer any consistent improvement to the current E25-24000 fixed128 runtime before publication. No training and no new sources. + +## E38 expanded-corpus 6000-step screen +- Checkpoint SHA-256: `6f0068b79fbc501fb1ec9a76c88d91ceb9ffca46096900c18f5157a19784678f`. +- Evaluation: 97 configurations, 9473 instances, 0 failed configurations; 25.27088236808777 seconds. +- Overall skill 0.358532; relative MASE 0.764393; relative WQL 0.538311. +- term skill: long=0.3918, medium=0.4028, short=0.3272. +- domain skill: Econ/Fin=0.1142, Energy=0.1855, Healthcare=0.3972, Nature=0.4197, Sales=0.3475, Transport=0.4581, Web/CloudOps=0.5080. +- frequency skill: A=0.3713, D=0.3310, H=0.3829, M=0.1077, Q=0.2043, S=0.4384, T=0.4038, W=0.2044. +- variates skill: multivariate=0.3933, univariate=0.3295. +- Outcome: Skill 0.358532 versus matched control 0.358628: near tie, with no demonstrated benefit from the larger packed corpus. Continue to 12000. + +## E39 bounded quantiles 3000-step screen +- Checkpoint SHA-256: `3932f19e396a2ec597a047116ad2e4b680a0e7c9638472434388843bd358b4c7`. +- Evaluation: 97 configurations, 9473 instances, 0 failed configurations; 25.178418159484863 seconds. +- Overall skill 0.358466; relative MASE 0.764176; relative WQL 0.538575. +- term skill: long=0.3917, medium=0.4021, short=0.3274. +- domain skill: Econ/Fin=0.1098, Energy=0.1842, Healthcare=0.4143, Nature=0.4191, Sales=0.3505, Transport=0.4583, Web/CloudOps=0.5059. +- frequency skill: A=0.3753, D=0.3428, H=0.3828, M=0.0891, Q=0.1957, S=0.4411, T=0.4011, W=0.1992. +- variates skill: multivariate=0.3924, univariate=0.3301. +- Outcome: Skill 0.358466 versus control 0.358802: a small regression. Continue to 6000 before selection. + +## E35 trend-query features 12000-step screen +- Checkpoint SHA-256: `269be0627257c53343aac6d0609231865bd112be7e01944d966624160150d4a8`. +- Evaluation: 97 configurations, 9473 instances, 0 failed configurations; 27.890631914138794 seconds. +- Overall skill 0.357547; relative MASE 0.765787; relative WQL 0.538983. +- term skill: long=0.3905, medium=0.4007, short=0.3268. +- domain skill: Econ/Fin=0.1107, Energy=0.1852, Healthcare=0.4068, Nature=0.4159, Sales=0.3502, Transport=0.4572, Web/CloudOps=0.5058. +- frequency skill: A=0.3786, D=0.3384, H=0.3803, M=0.0973, Q=0.2012, S=0.4413, T=0.4010, W=0.2023. +- variates skill: multivariate=0.3916, univariate=0.3291. +- Outcome: Skill 0.357547 versus recency control 0.357241: another small gain. Matched earlier-cutoff checks are running. + +## E31 amplitude variation 18000-step screen +- Checkpoint SHA-256: `f0d8484d5f1bee554939ffbe769b95e42ba94e0739db7c680fac1c9a132f8f43`. +- Evaluation: 97 configurations, 9473 instances, 0 failed configurations; 28.11006808280945 seconds. +- Overall skill 0.361640; relative MASE 0.761418; relative WQL 0.535190. +- term skill: long=0.3939, medium=0.4045, short=0.3314. +- domain skill: Econ/Fin=0.1093, Energy=0.1877, Healthcare=0.4199, Nature=0.4206, Sales=0.3451, Transport=0.4594, Web/CloudOps=0.5124. +- frequency skill: A=0.3693, D=0.3400, H=0.3834, M=0.0980, Q=0.2014, S=0.4419, T=0.4075, W=0.2126. +- variates skill: multivariate=0.3966, univariate=0.3324. +- Outcome: Skill 0.361640 versus recency control 0.361265: a small gain persists. Transfer to the current fixed inference rules on three cutoffs before selection. + +## E42 paired comparison: large_corpus_control 6000, screen +- Checkpoint SHA-256: `3b6a1f25cef4ecafcb7bde8ee9faf1cbe4c68a0c2fbb9594ce26eb3c222f3720`. +- Evaluation: 97 configurations, 9473 instances, 0 failed configurations; 25.290119647979736 seconds. +- Overall skill 0.358628; relative MASE 0.763471; relative WQL 0.538799. +- term skill: long=0.3894, medium=0.4025, short=0.3286. +- domain skill: Econ/Fin=0.1093, Energy=0.1839, Healthcare=0.4157, Nature=0.4245, Sales=0.3451, Transport=0.4579, Web/CloudOps=0.5041. +- frequency skill: A=0.3762, D=0.3427, H=0.3805, M=0.1014, Q=0.1966, S=0.4404, T=0.4018, W=0.2035. +- variates skill: multivariate=0.3910, univariate=0.3316. +- Outcome: Matched seed 79, same parent and data stream. This isolates training with per-row available target horizons; assess the three cutoffs jointly. + +## E42 paired comparison: partial_targets 6000, screen +- Checkpoint SHA-256: `67562486b099a350da53c3caa5ff0932fe7fecdfe72c1879b064b2a9bb173dfb`. +- Evaluation: 97 configurations, 9473 instances, 0 failed configurations; 25.865007400512695 seconds. +- Overall skill 0.359222; relative MASE 0.762879; relative WQL 0.538220. +- term skill: long=0.3896, medium=0.4026, short=0.3295. +- domain skill: Econ/Fin=0.1138, Energy=0.1865, Healthcare=0.4140, Nature=0.4258, Sales=0.3420, Transport=0.4581, Web/CloudOps=0.5030. +- frequency skill: A=0.3767, D=0.3422, H=0.3805, M=0.1063, Q=0.1975, S=0.4407, T=0.4017, W=0.2108. +- variates skill: multivariate=0.3906, univariate=0.3331. +- Outcome: Matched seed 79, same parent and data stream. This isolates training with per-row available target horizons; assess the three cutoffs jointly. + +## E42 paired comparison: large_corpus_control 6000, backcast +- Checkpoint SHA-256: `3b6a1f25cef4ecafcb7bde8ee9faf1cbe4c68a0c2fbb9594ce26eb3c222f3720`. +- Evaluation: 97 configurations, 9330 instances, 0 failed configurations; 27.584256172180176 seconds. +- Overall skill 0.329632; relative MASE 0.806661; relative WQL 0.557102. +- term skill: long=0.3889, medium=0.3561, short=0.2948. +- domain skill: Econ/Fin=0.1442, Energy=0.2289, Healthcare=0.4117, Nature=0.3487, Sales=0.3954, Transport=0.3632, Web/CloudOps=0.4421. +- frequency skill: A=0.3117, D=0.3564, H=0.3572, M=0.1570, Q=0.2265, S=0.3417, T=0.3299, W=0.2668. +- variates skill: multivariate=0.3466, univariate=0.3158. +- Outcome: Matched seed 79, same parent and data stream. This isolates training with per-row available target horizons; assess the three cutoffs jointly. + +## E42 paired comparison: partial_targets 6000, backcast +- Checkpoint SHA-256: `67562486b099a350da53c3caa5ff0932fe7fecdfe72c1879b064b2a9bb173dfb`. +- Evaluation: 97 configurations, 9330 instances, 0 failed configurations; 27.306365728378296 seconds. +- Overall skill 0.330300; relative MASE 0.806062; relative WQL 0.556406. +- term skill: long=0.3903, medium=0.3564, short=0.2953. +- domain skill: Econ/Fin=0.1490, Energy=0.2297, Healthcare=0.4089, Nature=0.3480, Sales=0.3970, Transport=0.3635, Web/CloudOps=0.4436. +- frequency skill: A=0.3192, D=0.3533, H=0.3582, M=0.1614, Q=0.2265, S=0.3433, T=0.3300, W=0.2726. +- variates skill: multivariate=0.3477, univariate=0.3161. +- Outcome: Matched seed 79, same parent and data stream. This isolates training with per-row available target horizons; assess the three cutoffs jointly. + +## E42 paired comparison: large_corpus_control 6000, backcast2 +- Checkpoint SHA-256: `3b6a1f25cef4ecafcb7bde8ee9faf1cbe4c68a0c2fbb9594ce26eb3c222f3720`. +- Evaluation: 94 configurations, 8934 instances, 0 failed configurations; 26.882598161697388 seconds. +- Overall skill 0.352570; relative MASE 0.776245; relative WQL 0.539992. +- term skill: long=0.3679, medium=0.3749, short=0.3381. +- domain skill: Econ/Fin=0.0867, Energy=0.2280, Healthcare=0.3674, Nature=0.4604, Sales=0.5586, Transport=0.4130, Web/CloudOps=0.4272. +- frequency skill: A=0.3401, D=0.4293, H=0.3864, M=0.1768, Q=0.1515, S=0.2810, T=0.3448, W=0.2406. +- variates skill: multivariate=0.3588, univariate=0.3475. +- Outcome: Matched seed 79, same parent and data stream. This isolates training with per-row available target horizons; assess the three cutoffs jointly. + +## E42 paired comparison: partial_targets 6000, backcast2 +- Checkpoint SHA-256: `67562486b099a350da53c3caa5ff0932fe7fecdfe72c1879b064b2a9bb173dfb`. +- Evaluation: 94 configurations, 8934 instances, 0 failed configurations; 27.302276849746704 seconds. +- Overall skill 0.352901; relative MASE 0.775671; relative WQL 0.539838. +- term skill: long=0.3689, medium=0.3760, short=0.3379. +- domain skill: Econ/Fin=0.0894, Energy=0.2294, Healthcare=0.3710, Nature=0.4595, Sales=0.5574, Transport=0.4132, Web/CloudOps=0.4264. +- frequency skill: A=0.3430, D=0.4260, H=0.3868, M=0.1778, Q=0.1500, S=0.2820, T=0.3450, W=0.2490. +- variates skill: multivariate=0.3587, univariate=0.3482. +- Outcome: Matched seed 79, same parent and data stream. This isolates training with per-row available target horizons; assess the three cutoffs jointly. + +## E49 complete seasonal interval comparison +No training; inference seed 0. Own E25-18000 checkpoint SHA-256 f6d2c41a690159a5b9c2034be45718c408a30b0d34d9607c9a768b9926781bbd. + +screen: 12.53 CPU diagnostic seconds. +- gaussian: skill 0.374500; term: short=0.3517, medium=0.4069, long=0.3994; domain: Econ/Fin=0.1332, Energy=0.2347, Healthcare=0.4319, Nature=0.4254, Sales=0.3438, Transport=0.4650, Web/CloudOps=0.5007; freq: A-DEC=0.3692, Q-DEC=0.2006, M=0.1023, W-SUN=0.0521, D=0.3442, H=0.3953, 15T=0.2125, W-FRI=-0.0051, 10T=0.6138, W-TUE=0.5773, W-THU=0.1903, W-WED=0.3133, 5T=0.5112, 10S=0.4218. +- empirical: skill 0.374034; term: short=0.3515, medium=0.4062, long=0.3984; domain: Econ/Fin=0.1322, Energy=0.2332, Healthcare=0.4326, Nature=0.4254, Sales=0.3438, Transport=0.4650, Web/CloudOps=0.5005; freq: A-DEC=0.3692, Q-DEC=0.2007, M=0.1029, W-SUN=0.0515, D=0.3443, H=0.3941, 15T=0.2120, W-FRI=-0.0051, 10T=0.6138, W-TUE=0.5773, W-THU=0.1903, W-WED=0.3133, 5T=0.5112, 10S=0.4208. +- mad: skill 0.373768; term: short=0.3513, medium=0.4061, long=0.3979; domain: Econ/Fin=0.1328, Energy=0.2325, Healthcare=0.4325, Nature=0.4254, Sales=0.3438, Transport=0.4649, Web/CloudOps=0.5001; freq: A-DEC=0.3692, Q-DEC=0.2007, M=0.1027, W-SUN=0.0515, D=0.3444, H=0.3938, 15T=0.2115, W-FRI=-0.0051, 10T=0.6138, W-TUE=0.5773, W-THU=0.1903, W-WED=0.3133, 5T=0.5112, 10S=0.4194. + +backcast: 12.04 CPU diagnostic seconds. +- gaussian: skill 0.332400; term: short=0.2953, medium=0.3574, long=0.3980; domain: Econ/Fin=0.1526, Energy=0.2268, Healthcare=0.3995, Nature=0.3561, Sales=0.3986, Transport=0.3699, Web/CloudOps=0.4472; freq: A-DEC=0.2996, Q-DEC=0.2330, M=0.1721, W-SUN=-0.0043, D=0.3516, H=0.3643, 15T=0.2254, W-FRI=0.2597, 10T=0.3130, W-TUE=0.5335, W-THU=0.2049, W-WED=0.3474, 5T=0.4329, 10S=0.3397. +- empirical: skill 0.332227; term: short=0.2954, medium=0.3563, long=0.3981; domain: Econ/Fin=0.1521, Energy=0.2257, Healthcare=0.3995, Nature=0.3558, Sales=0.3986, Transport=0.3697, Web/CloudOps=0.4482; freq: A-DEC=0.2996, Q-DEC=0.2331, M=0.1717, W-SUN=-0.0053, D=0.3516, H=0.3630, 15T=0.2257, W-FRI=0.2597, 10T=0.3130, W-TUE=0.5335, W-THU=0.2049, W-WED=0.3474, 5T=0.4330, 10S=0.3436. +- mad: skill 0.331760; term: short=0.2949, medium=0.3559, long=0.3977; domain: Econ/Fin=0.1517, Energy=0.2248, Healthcare=0.3984, Nature=0.3554, Sales=0.3986, Transport=0.3696, Web/CloudOps=0.4480; freq: A-DEC=0.2996, Q-DEC=0.2330, M=0.1720, W-SUN=-0.0052, D=0.3511, H=0.3620, 15T=0.2253, W-FRI=0.2597, 10T=0.3129, W-TUE=0.5335, W-THU=0.2049, W-WED=0.3474, 5T=0.4330, 10S=0.3430. + +backcast2: 10.81 CPU diagnostic seconds. +- gaussian: skill 0.356697; term: short=0.3411, medium=0.3874, long=0.3657; domain: Econ/Fin=0.1045, Energy=0.2331, Healthcare=0.3610, Nature=0.4656, Sales=0.5516, Transport=0.4179, Web/CloudOps=0.4303; freq: A-DEC=0.3474, Q-DEC=0.1548, M=0.1599, W-SUN=0.0316, D=0.4275, H=0.3891, 15T=0.1072, W-FRI=0.1243, 10T=0.4930, W-TUE=0.0782, W-THU=0.3037, W-WED=0.5352, 5T=0.4648, 10S=0.2798. +- empirical: skill 0.356537; term: short=0.3408, medium=0.3876, long=0.3655; domain: Econ/Fin=0.1035, Energy=0.2316, Healthcare=0.3619, Nature=0.4656, Sales=0.5516, Transport=0.4178, Web/CloudOps=0.4315; freq: A-DEC=0.3474, Q-DEC=0.1549, M=0.1602, W-SUN=0.0311, D=0.4277, H=0.3876, 15T=0.1075, W-FRI=0.1243, 10T=0.4929, W-TUE=0.0782, W-THU=0.3037, W-WED=0.5352, 5T=0.4648, 10S=0.2846. +- mad: skill 0.356717; term: short=0.3409, medium=0.3871, long=0.3665; domain: Econ/Fin=0.1039, Energy=0.2307, Healthcare=0.3619, Nature=0.4656, Sales=0.5516, Transport=0.4176, Web/CloudOps=0.4335; freq: A-DEC=0.3474, Q-DEC=0.1549, M=0.1602, W-SUN=0.0312, D=0.4278, H=0.3869, 15T=0.1072, W-FRI=0.1243, 10T=0.4929, W-TUE=0.0782, W-THU=0.3037, W-WED=0.5352, 5T=0.4648, 10S=0.2923. + +Outcome: retain Gaussian RMS intervals. Centered empirical intervals lose at all three cutoffs. MAD loses on the main and first earlier cutoff, with only a negligible second-earlier gain. Median MASE is exactly unchanged for every setting as intended. No transfer or package change. + +## E35 matched 12000 comparison: recency_features, screen +- Checkpoint SHA-256: `8ccb6870a025e1097331a3a288b1183741a413f3460fbf3352d0c589c6a4394c`. +- Evaluation: 97 configurations, 9473 instances, 0 failed configurations; 20.589985609054565 seconds. +- Overall skill 0.357241; relative MASE 0.765658; relative WQL 0.539588. +- term skill: long=0.3912, medium=0.4026, short=0.3252. +- domain skill: Econ/Fin=0.1133, Energy=0.1855, Healthcare=0.3939, Nature=0.4171, Sales=0.3483, Transport=0.4566, Web/CloudOps=0.5065. +- frequency skill: A=0.3781, D=0.3343, H=0.3817, M=0.0906, Q=0.1961, S=0.4411, T=0.4020, W=0.1998. +- variates skill: multivariate=0.3920, univariate=0.3281. +- Outcome: Trend features gain slightly on the main screen but lose on both earlier cutoffs. Stop this branch; its extra features are not selected. + +## E35 matched 12000 comparison: trend_features, screen +- Checkpoint SHA-256: `269be0627257c53343aac6d0609231865bd112be7e01944d966624160150d4a8`. +- Evaluation: 97 configurations, 9473 instances, 0 failed configurations; 27.890631914138794 seconds. +- Overall skill 0.357547; relative MASE 0.765787; relative WQL 0.538983. +- term skill: long=0.3905, medium=0.4007, short=0.3268. +- domain skill: Econ/Fin=0.1107, Energy=0.1852, Healthcare=0.4068, Nature=0.4159, Sales=0.3502, Transport=0.4572, Web/CloudOps=0.5058. +- frequency skill: A=0.3786, D=0.3384, H=0.3803, M=0.0973, Q=0.2012, S=0.4413, T=0.4010, W=0.2023. +- variates skill: multivariate=0.3916, univariate=0.3291. +- Outcome: Trend features gain slightly on the main screen but lose on both earlier cutoffs. Stop this branch; its extra features are not selected. + +## E35 matched 12000 comparison: recency_features, backcast +- Checkpoint SHA-256: `8ccb6870a025e1097331a3a288b1183741a413f3460fbf3352d0c589c6a4394c`. +- Evaluation: 97 configurations, 9330 instances, 0 failed configurations; 27.742298364639282 seconds. +- Overall skill 0.328112; relative MASE 0.807765; relative WQL 0.558868. +- term skill: long=0.3899, medium=0.3548, short=0.2920. +- domain skill: Econ/Fin=0.1488, Energy=0.2248, Healthcare=0.4036, Nature=0.3514, Sales=0.3955, Transport=0.3613, Web/CloudOps=0.4413. +- frequency skill: A=0.3134, D=0.3558, H=0.3562, M=0.1567, Q=0.2256, S=0.3420, T=0.3267, W=0.2651. +- variates skill: multivariate=0.3435, univariate=0.3156. +- Outcome: Trend features gain slightly on the main screen but lose on both earlier cutoffs. Stop this branch; its extra features are not selected. + +## E35 matched 12000 comparison: trend_features, backcast +- Checkpoint SHA-256: `269be0627257c53343aac6d0609231865bd112be7e01944d966624160150d4a8`. +- Evaluation: 97 configurations, 9330 instances, 0 failed configurations; 27.06494641304016 seconds. +- Overall skill 0.327724; relative MASE 0.808759; relative WQL 0.558826. +- term skill: long=0.3886, medium=0.3555, short=0.2916. +- domain skill: Econ/Fin=0.1436, Energy=0.2247, Healthcare=0.3984, Nature=0.3522, Sales=0.3952, Transport=0.3621, Web/CloudOps=0.4411. +- frequency skill: A=0.3149, D=0.3546, H=0.3559, M=0.1602, Q=0.2281, S=0.3419, T=0.3284, W=0.2545. +- variates skill: multivariate=0.3441, univariate=0.3144. +- Outcome: Trend features gain slightly on the main screen but lose on both earlier cutoffs. Stop this branch; its extra features are not selected. + +## E35 matched 12000 comparison: recency_features, backcast2 +- Checkpoint SHA-256: `8ccb6870a025e1097331a3a288b1183741a413f3460fbf3352d0c589c6a4394c`. +- Evaluation: 94 configurations, 8934 instances, 0 failed configurations; 27.009191036224365 seconds. +- Overall skill 0.353202; relative MASE 0.774939; relative WQL 0.539846. +- term skill: long=0.3671, medium=0.3766, short=0.3388. +- domain skill: Econ/Fin=0.0874, Energy=0.2254, Healthcare=0.3808, Nature=0.4621, Sales=0.5594, Transport=0.4116, Web/CloudOps=0.4293. +- frequency skill: A=0.3385, D=0.4312, H=0.3856, M=0.1786, Q=0.1474, S=0.2819, T=0.3451, W=0.2459. +- variates skill: multivariate=0.3594, univariate=0.3481. +- Outcome: Trend features gain slightly on the main screen but lose on both earlier cutoffs. Stop this branch; its extra features are not selected. + +## E35 matched 12000 comparison: trend_features, backcast2 +- Checkpoint SHA-256: `269be0627257c53343aac6d0609231865bd112be7e01944d966624160150d4a8`. +- Evaluation: 94 configurations, 8934 instances, 0 failed configurations; 26.192188262939453 seconds. +- Overall skill 0.353075; relative MASE 0.775525; relative WQL 0.539650. +- term skill: long=0.3664, medium=0.3761, short=0.3391. +- domain skill: Econ/Fin=0.0837, Energy=0.2262, Healthcare=0.3801, Nature=0.4640, Sales=0.5598, Transport=0.4112, Web/CloudOps=0.4272. +- frequency skill: A=0.3402, D=0.4277, H=0.3854, M=0.1847, Q=0.1490, S=0.2774, T=0.3477, W=0.2433. +- variates skill: multivariate=0.3593, univariate=0.3480. +- Outcome: Trend features gain slightly on the main screen but lose on both earlier cutoffs. Stop this branch; its extra features are not selected. + +## E50: paired-sign loss for a frozen-backbone output head +Hypothesis: training against the averaged positive/negative forecasts used at inference can improve calibration over separately scoring the two orientations. Both arms initialize from our selected E25-24000 checkpoint with fixed128 trend features and freeze every parameter except the existing 147744-parameter output head. Both forward the same context and its sign reflection, consuming identical seed97 data windows. Control scores each orientation independently; candidate averages the two normalized forecasts before the original weighted quantile/median loss. This isolates the loss rather than data augmentation or forward compute. Same packed_sample, original local generator and independent sign augmentation, batch64, LR5e-5, 6000-step cosine schedule, save1000. No new data, no validation training, no parameter additions. + +A maximum-shape random fixture (paired batch128, context4096, horizon1024) verified finite gradients and measured peak Torch allocation697 MiB for the individual-loss control and729 MiB for the paired-loss candidate, with822 MiB reserved in each. No optimizer update or checkpoint was made from the fixture. Start the control after the rejected E35 trainer exits; start the paired arm after E47 finishes, keeping to one H100. The same fixed runtime evaluates both. + +E50 head_control training started at 2026-10-22T04:52:57Z, after the preceding trainer exited with its final checkpoint. Settings are unchanged from the declared comparison. + +E50 head_paired training started at 2026-10-22T04:53:18Z, after the preceding trainer exited with its final checkpoint. Settings are unchanged from the declared comparison. + +E35 stopped cleanly at step 13309, with 4327.0 elapsed process seconds at the stop request. Final checkpoint SHA-256 `be7cce34037750ef56be8a183b68af46dc2deec184ad228cd4c60ab91b51eb48`. The last validation was the paired 12000-step comparison above; the stop checkpoint was saved for provenance, not selected. + +## E31 amplitude 18000 with selected fixed rules, screen +- Checkpoint SHA-256: `f0d8484d5f1bee554939ffbe769b95e42ba94e0739db7c680fac1c9a132f8f43`. +- Evaluation: 97 configurations, 9473 instances, 0 failed configurations; 27.18380904197693 seconds. +- Overall skill 0.375271; relative MASE 0.747344; relative WQL 0.522231. +- term skill: long=0.4000, medium=0.4069, short=0.3529. +- domain skill: Econ/Fin=0.1337, Energy=0.2361, Healthcare=0.4224, Nature=0.4258, Sales=0.3419, Transport=0.4649, Web/CloudOps=0.5043. +- frequency skill: A=0.3721, D=0.3448, H=0.3951, M=0.0876, Q=0.2019, S=0.4223, T=0.4386, W=0.2158. +- variates skill: multivariate=0.3950, univariate=0.3591. +- Outcome: The earlier mean-template screening gain does not transfer to the selected aligned/zero0.4/fixed128 runtime: below recency18000 at every cutoff. Do not publish; finish the planned 24000 for a matched late comparison. + +## E31 amplitude 18000 with selected fixed rules, backcast +- Checkpoint SHA-256: `f0d8484d5f1bee554939ffbe769b95e42ba94e0739db7c680fac1c9a132f8f43`. +- Evaluation: 97 configurations, 9330 instances, 0 failed configurations; 27.348726511001587 seconds. +- Overall skill 0.333200; relative MASE 0.800924; relative WQL 0.555137. +- term skill: long=0.3941, medium=0.3576, short=0.2985. +- domain skill: Econ/Fin=0.1568, Energy=0.2260, Healthcare=0.4100, Nature=0.3583, Sales=0.3987, Transport=0.3697, Web/CloudOps=0.4467. +- frequency skill: A=0.3095, D=0.3534, H=0.3637, M=0.1993, Q=0.2273, S=0.3378, T=0.3326, W=0.2601. +- variates skill: multivariate=0.3488, univariate=0.3205. +- Outcome: The earlier mean-template screening gain does not transfer to the selected aligned/zero0.4/fixed128 runtime: below recency18000 at every cutoff. Do not publish; finish the planned 24000 for a matched late comparison. + +## E31 amplitude 18000 with selected fixed rules, backcast2 +- Checkpoint SHA-256: `f0d8484d5f1bee554939ffbe769b95e42ba94e0739db7c680fac1c9a132f8f43`. +- Evaluation: 94 configurations, 8934 instances, 0 failed configurations; 27.135295629501343 seconds. +- Overall skill 0.356896; relative MASE 0.774845; relative WQL 0.533762. +- term skill: long=0.3678, medium=0.3811, short=0.3433. +- domain skill: Econ/Fin=0.1063, Energy=0.2350, Healthcare=0.3543, Nature=0.4630, Sales=0.5538, Transport=0.4181, Web/CloudOps=0.4317. +- frequency skill: A=0.3487, D=0.4308, H=0.3887, M=0.1298, Q=0.1454, S=0.2825, T=0.3581, W=0.2487. +- variates skill: multivariate=0.3617, univariate=0.3530. +- Outcome: The earlier mean-template screening gain does not transfer to the selected aligned/zero0.4/fixed128 runtime: below recency18000 at every cutoff. Do not publish; finish the planned 24000 for a matched late comparison. + +## E51: last optimizer weights versus EMA weights +The late E25 EMA checkpoints continue to improve, and averaging older EMA checkpoints regressed in E45. Check whether the final optimizer iterate is ahead of its lagging EMA or instead suffers from update noise. No training or inference-rule change: evaluate step024000 against the selected ema024000 with the identical fixed128/aligned/zero0.4 runtime. Only transfer to earlier cutoffs and full validation if the main screen improves. Both candidates have the same seed59 training lineage. + +## E47 confidence projection 1000-step screen +- Checkpoint SHA-256: `b2df8695413e53c7d62ec8f265affc31a43ca26e7b99b50e0a75f47782b95bfe`. +- Evaluation: 97 configurations, 9473 instances, 0 failed configurations; 27.31796908378601 seconds. +- Overall skill 0.375491; relative MASE 0.746025; relative WQL 0.522786. +- term skill: long=0.3994, medium=0.4067, short=0.3536. +- domain skill: Econ/Fin=0.1396, Energy=0.2349, Healthcare=0.4370, Nature=0.4288, Sales=0.3397, Transport=0.4653, Web/CloudOps=0.5002. +- frequency skill: A=0.3765, D=0.3531, H=0.3948, M=0.0934, Q=0.1985, S=0.4235, T=0.4361, W=0.2100. +- variates skill: multivariate=0.3936, univariate=0.3607. +- Outcome: Backbone unchanged. Earlier checkpoints essentially tied; the 6000-step checkpoint gains 0.000291 over the parent. Earlier-cutoff checks are pending before any selection. + +## E47 confidence projection 3000-step screen +- Checkpoint SHA-256: `653081261875b023a5d8dea02c999762fa8a2a4601ce7b6ad3b55559172290ab`. +- Evaluation: 97 configurations, 9473 instances, 0 failed configurations; 28.364450693130493 seconds. +- Overall skill 0.375482; relative MASE 0.745987; relative WQL 0.522828. +- term skill: long=0.3995, medium=0.4066, short=0.3536. +- domain skill: Econ/Fin=0.1394, Energy=0.2348, Healthcare=0.4379, Nature=0.4283, Sales=0.3403, Transport=0.4653, Web/CloudOps=0.5004. +- frequency skill: A=0.3762, D=0.3534, H=0.3949, M=0.0912, Q=0.1983, S=0.4238, T=0.4362, W=0.2092. +- variates skill: multivariate=0.3937, univariate=0.3606. +- Outcome: Backbone unchanged. Earlier checkpoints essentially tied; the 6000-step checkpoint gains 0.000291 over the parent. Earlier-cutoff checks are pending before any selection. + +## E47 confidence projection 6000-step screen +- Checkpoint SHA-256: `0bad97e8994aac49ea173443db0a4fa8d72d33f9eb9e2660f06de75f7f1403eb`. +- Evaluation: 97 configurations, 9473 instances, 0 failed configurations; 26.593000650405884 seconds. +- Overall skill 0.375793; relative MASE 0.745649; relative WQL 0.522544. +- term skill: long=0.3998, medium=0.4067, short=0.3540. +- domain skill: Econ/Fin=0.1396, Energy=0.2348, Healthcare=0.4406, Nature=0.4284, Sales=0.3399, Transport=0.4658, Web/CloudOps=0.5006. +- frequency skill: A=0.3762, D=0.3542, H=0.3951, M=0.0954, Q=0.1982, S=0.4239, T=0.4362, W=0.2090. +- variates skill: multivariate=0.3937, univariate=0.3611. +- Outcome: Backbone unchanged. Earlier checkpoints essentially tied; the 6000-step checkpoint gains 0.000291 over the parent. Earlier-cutoff checks are pending before any selection. + +E47 completed 6000 steps in 818.8 elapsed training-loop seconds on the shared H100. Every original model tensor is bitwise equal to the frozen E25-24000 parent; only the 3072 confidence-projection parameters changed. + +E48 phase_synth training started at 2026-10-22T04:54:48Z, after the preceding trainer exited with its final checkpoint. Settings are unchanged from the declared comparison. + +## E51 final optimizer iterate, screen +- Checkpoint SHA-256: `32b70d0e88532fb98746ea032c10be587383d80ed7b0951b41f778a39c9dc68b`. +- Evaluation: 97 configurations, 9473 instances, 0 failed configurations; 26.315549850463867 seconds. +- Overall skill 0.374536; relative MASE 0.746570; relative WQL 0.524003. +- term skill: long=0.3980, medium=0.4073, short=0.3522. +- domain skill: Econ/Fin=0.1389, Energy=0.2328, Healthcare=0.4348, Nature=0.4279, Sales=0.3409, Transport=0.4652, Web/CloudOps=0.4998. +- frequency skill: A=0.3701, D=0.3497, H=0.3936, M=0.0914, Q=0.1977, S=0.4222, T=0.4369, W=0.2087. +- variates skill: multivariate=0.3931, univariate=0.3594. +- Outcome: Skill 0.374536 is below the selected EMA24000 skill 0.375502. Retain EMA weights; no earlier-window or full evaluation is needed. + +## E39 bounded quantiles 6000-step screen +- Checkpoint SHA-256: `4af38aa561df4d38c1f6df090f8a5dc364c38786eb2ab38933646d827cbe7669`. +- Evaluation: 97 configurations, 9473 instances, 0 failed configurations; 25.320833683013916 seconds. +- Overall skill 0.357854; relative MASE 0.764623; relative WQL 0.539287. +- term skill: long=0.3907, medium=0.4019, short=0.3268. +- domain skill: Econ/Fin=0.1103, Energy=0.1849, Healthcare=0.4072, Nature=0.4203, Sales=0.3470, Transport=0.4571, Web/CloudOps=0.5050. +- frequency skill: A=0.3756, D=0.3402, H=0.3810, M=0.0920, Q=0.1957, S=0.4423, T=0.4023, W=0.1961. +- variates skill: multivariate=0.3917, univariate=0.3295. +- Outcome: Skill 0.357854 is below matched control 0.358628, following a smaller 3000-step regression. Stop this branch; retain the current inference-only positivity projection. + +## E52: varied requested horizons during partial-target training +E42's correct per-row horizon conditioning improves all three cutoffs at 6000 steps. Hypothesis: exposing the decoder to intermediate requested horizons will also reduce mismatch between four fixed training horizon lengths and arbitrary inference lengths. Match E42's parent E25-12000, seed79, packed_sample, source probabilities, batch256, LR5e-5 and 12000-step schedule. Keep half the sampled target windows unchanged; for the other half, independently choose a prefix length uniformly from one-quarter to the full batch horizon, rounded upward to a 16-step patch boundary. Mask only later training labels. The existing E42 loss masks unused future tokens and sets each row's horizon metadata. Corpus contexts and periods, original generator and sampler random draws remain unchanged. Independent horizon RNG seed300082. + +A data-only check at all four horizon sizes verified identical context/period arrays and exact preservation of every retained target value (0.66 CPU seconds). No validation labels enter training. No new model parameters or inference behavior; this is a training-window augmentation. Start after rejected E39 exits and compare against cached E42 at 3000/6000/12000. + +E52 horizon_jitter training started at 2026-10-22T04:56:42Z, after the preceding trainer exited with its final checkpoint. Settings are unchanged from the declared comparison. + +## E47 confidence projection 6000, backcast +- Checkpoint SHA-256: `0bad97e8994aac49ea173443db0a4fa8d72d33f9eb9e2660f06de75f7f1403eb`. +- Evaluation: 97 configurations, 9330 instances, 0 failed configurations; 25.725136041641235 seconds. +- Overall skill 0.334126; relative MASE 0.799732; relative WQL 0.554420. +- term skill: long=0.3968, medium=0.3571, short=0.2992. +- domain skill: Econ/Fin=0.1592, Energy=0.2275, Healthcare=0.4065, Nature=0.3605, Sales=0.3971, Transport=0.3716, Web/CloudOps=0.4467. +- frequency skill: A=0.3079, D=0.3510, H=0.3635, M=0.1810, Q=0.2346, S=0.3430, T=0.3344, W=0.2764. +- variates skill: multivariate=0.3510, univariate=0.3204. +- Outcome: Main screen gains 0.000291; first earlier cutoff loses only 0.000054; second earlier cutoff gains 0.000224. Proceed to full validation before deciding whether to replace the package. + +## E47 confidence projection 6000, backcast2 +- Checkpoint SHA-256: `0bad97e8994aac49ea173443db0a4fa8d72d33f9eb9e2660f06de75f7f1403eb`. +- Evaluation: 94 configurations, 8934 instances, 0 failed configurations; 24.6521155834198 seconds. +- Overall skill 0.358499; relative MASE 0.770987; relative WQL 0.533762. +- term skill: long=0.3652, medium=0.3856, short=0.3452. +- domain skill: Econ/Fin=0.1095, Energy=0.2361, Healthcare=0.3507, Nature=0.4706, Sales=0.5514, Transport=0.4202, Web/CloudOps=0.4300. +- frequency skill: A=0.3495, D=0.4316, H=0.3891, M=0.1571, Q=0.1507, S=0.2825, T=0.3576, W=0.2564. +- variates skill: multivariate=0.3624, univariate=0.3553. +- Outcome: Main screen gains 0.000291; first earlier cutoff loses only 0.000054; second earlier cutoff gains 0.000224. Proceed to full validation before deciding whether to replace the package. + +E39 stopped cleanly at step 6298, with 2199.0 elapsed process seconds at the stop request. Final checkpoint SHA-256 `d1018a12abdb14c369ba55a561c3091bbc7dc4b25337345a0af68aa15e9afec2`. This stop checkpoint was retained for provenance and was not selected. + +## E53: within-cycle variance for seasonal confidence +Hypothesis: total variance over up to eight cycles can be dominated by a long trend, artificially lowering the seasonal-difference/variance ratio and assigning high seasonal confidence even to a nonseasonal ramp. Change only the gate denominator to pooled within-cycle variance, subtracting each cycle's finite-observation mean before pooling squared deviations. Compare the existing global variance and this within-cycle variance, with the selected aligned template, Gaussian RMS intervals, continuity and zero0.4 unchanged. Use cached E25-18000 forecasts across three cutoffs; no training, optimization or new source data. A selected formula must transfer to the current checkpoint and fixed128 runtime before publication. + +## E47 confidence projection 6000, exact full package validation +- Checkpoint SHA-256: `0bad97e8994aac49ea173443db0a4fa8d72d33f9eb9e2660f06de75f7f1403eb`. +- Evaluation: 97 configurations, 151170 instances, 0 failed configurations; not separately timed seconds. +- Overall skill 0.371766; relative MASE 0.748576; relative WQL 0.527239. +- term skill: long=0.3937, medium=0.4056, short=0.3496. +- domain skill: Econ/Fin=0.1167, Energy=0.2278, Healthcare=0.4464, Nature=0.4283, Sales=0.3521, Transport=0.4660, Web/CloudOps=0.4929. +- frequency skill: A=0.2915, D=0.3581, H=0.3903, M=0.1171, Q=0.1834, S=0.4239, T=0.4292, W=0.2017. +- variates skill: multivariate=0.3895, univariate=0.3573. +- Outcome: Selected for publication: skill 0.371766 versus 0.371479 for the previous package; relative MASE 0.748576 and WQL 0.527239. All 97 configurations and 151170 instances passed, with no quantile crossings. Actual package inference took 140.57 seconds on the one H100 while five heavy training runs and two head-only runs shared it. Relocation/determinism checks precede the atomic replacement. + +## E53 complete seasonal variance comparison +No training; inference seed 0. E25-18000 checkpoint SHA-256 f6d2c41a690159a5b9c2034be45718c408a30b0d34d9607c9a768b9926781bbd. + +screen: 8.50 CPU diagnostic seconds. +- global: skill 0.374500; term: short=0.3517, medium=0.4069, long=0.3994; domain: Econ/Fin=0.1332, Energy=0.2347, Healthcare=0.4319, Nature=0.4254, Sales=0.3438, Transport=0.4650, Web/CloudOps=0.5007; freq: A-DEC=0.3692, Q-DEC=0.2006, M=0.1023, W-SUN=0.0521, D=0.3442, H=0.3953, 15T=0.2125, W-FRI=-0.0051, 10T=0.6138, W-TUE=0.5773, W-THU=0.1903, W-WED=0.3133, 5T=0.5112, 10S=0.4218. +- within_cycle: skill 0.374386; term: short=0.3515, medium=0.4068, long=0.3994; domain: Econ/Fin=0.1320, Energy=0.2346, Healthcare=0.4305, Nature=0.4254, Sales=0.3450, Transport=0.4650, Web/CloudOps=0.5007; freq: A-DEC=0.3692, Q-DEC=0.2024, M=0.1005, W-SUN=0.0487, D=0.3444, H=0.3951, 15T=0.2124, W-FRI=-0.0050, 10T=0.6139, W-TUE=0.5773, W-THU=0.1903, W-WED=0.3133, 5T=0.5112, 10S=0.4218. + +backcast: 8.12 CPU diagnostic seconds. +- global: skill 0.332400; term: short=0.2953, medium=0.3574, long=0.3980; domain: Econ/Fin=0.1526, Energy=0.2268, Healthcare=0.3995, Nature=0.3561, Sales=0.3986, Transport=0.3699, Web/CloudOps=0.4472; freq: A-DEC=0.2996, Q-DEC=0.2330, M=0.1721, W-SUN=-0.0043, D=0.3516, H=0.3643, 15T=0.2254, W-FRI=0.2597, 10T=0.3130, W-TUE=0.5335, W-THU=0.2049, W-WED=0.3474, 5T=0.4329, 10S=0.3397. +- within_cycle: skill 0.332143; term: short=0.2948, medium=0.3575, long=0.3979; domain: Econ/Fin=0.1529, Energy=0.2266, Healthcare=0.3952, Nature=0.3561, Sales=0.3986, Transport=0.3704, Web/CloudOps=0.4471; freq: A-DEC=0.2996, Q-DEC=0.2353, M=0.1665, W-SUN=-0.0082, D=0.3519, H=0.3640, 15T=0.2255, W-FRI=0.2597, 10T=0.3130, W-TUE=0.5335, W-THU=0.2049, W-WED=0.3474, 5T=0.4329, 10S=0.3396. + +backcast2: 7.99 CPU diagnostic seconds. +- global: skill 0.356697; term: short=0.3411, medium=0.3874, long=0.3657; domain: Econ/Fin=0.1045, Energy=0.2331, Healthcare=0.3610, Nature=0.4656, Sales=0.5516, Transport=0.4179, Web/CloudOps=0.4303; freq: A-DEC=0.3474, Q-DEC=0.1548, M=0.1599, W-SUN=0.0316, D=0.4275, H=0.3891, 15T=0.1072, W-FRI=0.1243, 10T=0.4930, W-TUE=0.0782, W-THU=0.3037, W-WED=0.5352, 5T=0.4648, 10S=0.2798. +- within_cycle: skill 0.356794; term: short=0.3414, medium=0.3873, long=0.3654; domain: Econ/Fin=0.1040, Energy=0.2329, Healthcare=0.3653, Nature=0.4656, Sales=0.5516, Transport=0.4179, Web/CloudOps=0.4301; freq: A-DEC=0.3474, Q-DEC=0.1544, M=0.1677, W-SUN=0.0298, D=0.4273, H=0.3891, 15T=0.1064, W-FRI=0.1243, 10T=0.4930, W-TUE=0.0782, W-THU=0.3037, W-WED=0.5352, 5T=0.4647, 10S=0.2791. + +Outcome: retain total history variance. Within-cycle variance loses on the main and first earlier cutoff, with only a small second-earlier gain. The trend-related failure mode does not justify changing the global formula. + +E47 relocation and determinism passed: the candidate and a separately copied package in a fresh /tmp directory produced bitwise identical, finite, monotone quantiles for univariate daily, univariate hourly and multivariate medium-horizon examples. Both ran with /tmp as the working directory. Publish the complete candidate atomically after these checks. + +## E54: train the full model with longer raw context +E21's untrained extension and E29's frozen, coarsened history memory did not provide consistent gains. Hypothesis: adapting all existing parameters to raw 8192-point histories can use older cycles without the mismatch of an untrained extension or lossy extra memory. Two matched arms initialize from our E25-24000 EMA, with identical model size, original loss, seed101, packed_sample, source probabilities, batch128, LR3e-5 and 12000-step schedule. The sampler draws context sizes512/1024/2048/8192 with probabilities0.1/0.15/0.35/0.4 in both arms. The control then keeps only the last4096 points; the candidate keeps8192. Future labels and sampler RNG are matched exactly, including synthetic draws and aggregation. Both train every model parameter. This comparison changes only the retained raw history. + +At inference, positivity and the fixed seasonal rule continue to inspect only the recent4096 observations; continuity and zero projection retain their existing lookbacks. The candidate's neural encoder and normalization use up to8192. No external weights or new source data are introduced; the parameter count is unchanged. New generator/sign-augmentation seed101 must be declared if selected. Maximum-shape batch128/context8192/horizon1024 memory check, including allocated placeholders for Adam moments and EMA, measured9960 MiB peak allocated and10530 MiB reserved, with finite gradients in4.37 seconds. No optimizer update or checkpoint came from this random fixture. Queue the control after E50 head_control completes; queue the longer-context arm after E38 expanded corpus completes, preserving the one-H100 allocation. + +E54 data check passed in3.26 CPU seconds: all four sampled context sizes produced identical future labels, period metadata, overlapping recent history and sampler RNG states between the two arms. + +E54 long_context_control training started at 2026-10-22T05:04:35Z, after the preceding trainer exited with its final checkpoint. Settings are unchanged from the declared comparison. + +## E55: transfer the matched partial-target training difference +E42's 6000-step checkpoint improves all three cutoffs over its exact seed/data/initialization-matched E38 control, but both restarted trajectories began from an older E25 checkpoint. Hypothesis: the parameter difference between these matched runs isolates a useful training correction that can transfer to the selected later model. Form one fixed model with weights = current E47 confidence6000 + E42 partial6000 - E38 control6000 for their common backbone tensors, leaving the confidence projection unchanged. Use coefficient1 with no grid search. This is a deterministic composition of our own trained weights, with all three parent hashes recorded. No new training or data, and one model forecasts every instance. Evaluate the main screen first; if promising, require earlier-cutoff and exact full-package checks. + +## E50 head_control 1000-step screen +- Checkpoint SHA-256: `a88f59494b256bf95addea9f00fa7b631cd67dc762228f523d95eec8047a05d8`. +- Evaluation: 97 configurations, 9473 instances, 0 failed configurations; 26.136118412017822 seconds. +- Overall skill 0.375630; relative MASE 0.745780; relative WQL 0.522726. +- term skill: long=0.3996, medium=0.4068, short=0.3537. +- domain skill: Econ/Fin=0.1403, Energy=0.2347, Healthcare=0.4405, Nature=0.4291, Sales=0.3396, Transport=0.4656, Web/CloudOps=0.4997. +- frequency skill: A=0.3779, D=0.3539, H=0.3951, M=0.0943, Q=0.1980, S=0.4231, T=0.4359, W=0.2102. +- variates skill: multivariate=0.3935, univariate=0.3610. +- Outcome: Small gains at1000 are lost at3000 and6000. Paired loss trails the matched individual-loss control at the later checkpoints; neither arm surpasses the selected confidence model. No package replacement. + +## E50 head_control 3000-step screen +- Checkpoint SHA-256: `75b9f4860e4c4345f2cedb6eb2f9ffe5c9e65aede03a314c72b20b1e8a1f7aaf`. +- Evaluation: 97 configurations, 9473 instances, 0 failed configurations; 27.069400310516357 seconds. +- Overall skill 0.375411; relative MASE 0.746024; relative WQL 0.522921. +- term skill: long=0.3996, medium=0.4066, short=0.3534. +- domain skill: Econ/Fin=0.1387, Energy=0.2345, Healthcare=0.4401, Nature=0.4293, Sales=0.3399, Transport=0.4650, Web/CloudOps=0.4996. +- frequency skill: A=0.3759, D=0.3533, H=0.3949, M=0.0963, Q=0.1980, S=0.4231, T=0.4355, W=0.2102. +- variates skill: multivariate=0.3933, univariate=0.3608. +- Outcome: Small gains at1000 are lost at3000 and6000. Paired loss trails the matched individual-loss control at the later checkpoints; neither arm surpasses the selected confidence model. No package replacement. + +## E50 head_control 6000-step screen +- Checkpoint SHA-256: `dd8fc459f097a0bc0c7cb133473130aa32e1dc520fd7f03ff50dc26366d1122e`. +- Evaluation: 97 configurations, 9473 instances, 0 failed configurations; 24.82920217514038 seconds. +- Overall skill 0.375304; relative MASE 0.746102; relative WQL 0.523045. +- term skill: long=0.3996, medium=0.4065, short=0.3532. +- domain skill: Econ/Fin=0.1404, Energy=0.2343, Healthcare=0.4375, Nature=0.4291, Sales=0.3402, Transport=0.4652, Web/CloudOps=0.4997. +- frequency skill: A=0.3770, D=0.3531, H=0.3950, M=0.0965, Q=0.1987, S=0.4230, T=0.4355, W=0.2086. +- variates skill: multivariate=0.3931, univariate=0.3607. +- Outcome: Small gains at1000 are lost at3000 and6000. Paired loss trails the matched individual-loss control at the later checkpoints; neither arm surpasses the selected confidence model. No package replacement. + +E50 head_control completed6000 steps in 685.6 elapsed training-loop seconds. Every non-head tensor remains bitwise equal to the E25-24000 parent. + +## E50 head_paired 1000-step screen +- Checkpoint SHA-256: `337e19aac481543a8ba78bd837f00c8a714315313e665b1b5a038d009a905a2a`. +- Evaluation: 97 configurations, 9473 instances, 0 failed configurations; 25.40800166130066 seconds. +- Overall skill 0.375721; relative MASE 0.745631; relative WQL 0.522677. +- term skill: long=0.3997, medium=0.4067, short=0.3539. +- domain skill: Econ/Fin=0.1403, Energy=0.2344, Healthcare=0.4425, Nature=0.4292, Sales=0.3396, Transport=0.4658, Web/CloudOps=0.4998. +- frequency skill: A=0.3786, D=0.3544, H=0.3951, M=0.0952, Q=0.1978, S=0.4234, T=0.4358, W=0.2099. +- variates skill: multivariate=0.3935, univariate=0.3612. +- Outcome: Small gains at1000 are lost at3000 and6000. Paired loss trails the matched individual-loss control at the later checkpoints; neither arm surpasses the selected confidence model. No package replacement. + +## E50 head_paired 3000-step screen +- Checkpoint SHA-256: `1043bbd666890cb730f2931875860ed661f54bae5236a7c93bbbe03764487222`. +- Evaluation: 97 configurations, 9473 instances, 0 failed configurations; 27.516828536987305 seconds. +- Overall skill 0.375342; relative MASE 0.746117; relative WQL 0.522970. +- term skill: long=0.3997, medium=0.4065, short=0.3533. +- domain skill: Econ/Fin=0.1387, Energy=0.2340, Healthcare=0.4415, Nature=0.4295, Sales=0.3399, Transport=0.4651, Web/CloudOps=0.4994. +- frequency skill: A=0.3750, D=0.3534, H=0.3947, M=0.0981, Q=0.1978, S=0.4235, T=0.4353, W=0.2097. +- variates skill: multivariate=0.3930, univariate=0.3609. +- Outcome: Small gains at1000 are lost at3000 and6000. Paired loss trails the matched individual-loss control at the later checkpoints; neither arm surpasses the selected confidence model. No package replacement. + +## E50 head_paired 6000-step screen +- Checkpoint SHA-256: `8aacc5fadfa1a9d214aeba0cd1f39bde9aaf038b9ee2a487dafa57b9e904479e`. +- Evaluation: 97 configurations, 9473 instances, 0 failed configurations; 25.942206621170044 seconds. +- Overall skill 0.375234; relative MASE 0.746235; relative WQL 0.523068. +- term skill: long=0.3997, medium=0.4064, short=0.3531. +- domain skill: Econ/Fin=0.1405, Energy=0.2337, Healthcare=0.4385, Nature=0.4294, Sales=0.3403, Transport=0.4654, Web/CloudOps=0.4995. +- frequency skill: A=0.3760, D=0.3533, H=0.3947, M=0.0981, Q=0.1988, S=0.4234, T=0.4354, W=0.2077. +- variates skill: multivariate=0.3928, univariate=0.3609. +- Outcome: Small gains at1000 are lost at3000 and6000. Paired loss trails the matched individual-loss control at the later checkpoints; neither arm surpasses the selected confidence model. No package replacement. + +E50 head_paired completed6000 steps in 687.3 elapsed training-loop seconds. Every non-head tensor remains bitwise equal to the E25-24000 parent. + +## E38 original corpus control12000, matched screening +- Checkpoint SHA-256: `7f9ba5e01ac59c51a3b63d3067b442e23e15d0abc51ddbcccdd04d6083ae4add`. +- Evaluation: 97 configurations, 9473 instances, 0 failed configurations; 26.037413597106934 seconds. +- Overall skill 0.360533; relative MASE 0.761352; relative WQL 0.537094. +- term skill: long=0.3910, medium=0.4047, short=0.3305. +- domain skill: Econ/Fin=0.1118, Energy=0.1871, Healthcare=0.4084, Nature=0.4251, Sales=0.3445, Transport=0.4588, Web/CloudOps=0.5084. +- frequency skill: A=0.3744, D=0.3432, H=0.3820, M=0.0997, Q=0.1999, S=0.4419, T=0.4062, W=0.2010. +- variates skill: multivariate=0.3952, univariate=0.3315. +- Outcome: The restarted control improves over its12000-step parent but remains below uninterrupted E25-24000. Retain as the paired reference for corpus expansion and partial-target training. + +## E38 original corpus control12000, selected fixed inference rules +- Checkpoint SHA-256: `7f9ba5e01ac59c51a3b63d3067b442e23e15d0abc51ddbcccdd04d6083ae4add`. +- Evaluation: 97 configurations, 9473 instances, 0 failed configurations; 25.83461022377014 seconds. +- Overall skill 0.373819; relative MASE 0.747477; relative WQL 0.524569. +- term skill: long=0.3971, medium=0.4072, short=0.3512. +- domain skill: Econ/Fin=0.1366, Energy=0.2343, Healthcare=0.4105, Nature=0.4297, Sales=0.3412, Transport=0.4642, Web/CloudOps=0.5006. +- frequency skill: A=0.3777, D=0.3471, H=0.3939, M=0.0915, Q=0.2002, S=0.4231, T=0.4362, W=0.2036. +- variates skill: multivariate=0.3936, univariate=0.3576. +- Outcome: The restarted control improves over its12000-step parent but remains below uninterrupted E25-24000. Retain as the paired reference for corpus expansion and partial-target training. + +E38 original-corpus control completed12000 steps in 3967.3 elapsed training-loop seconds. E48 phase_synth replaced it on the same H100 after completion. + +## E55 matched partial-target weight difference, screen +- Checkpoint SHA-256: `031411940fdebc895e3cf681512924f680e7feaccdfbda46f85890397fe20bd0`. +- Evaluation: 97 configurations, 9473 instances, 0 failed configurations; 26.02963423728943 seconds. +- Overall skill 0.375848; relative MASE 0.745876; relative WQL 0.522292. +- term skill: long=0.3998, medium=0.4069, short=0.3540. +- domain skill: Econ/Fin=0.1449, Energy=0.2367, Healthcare=0.4308, Nature=0.4298, Sales=0.3356, Transport=0.4655, Web/CloudOps=0.5000. +- frequency skill: A=0.3786, D=0.3503, H=0.3960, M=0.1012, Q=0.2008, S=0.4236, T=0.4351, W=0.2163. +- variates skill: multivariate=0.3939, univariate=0.3611. +- Outcome: Skill 0.375848 is only 0.000056 above the selected E47 model. Check both earlier cutoffs before a full-package evaluation; no replacement yet. + +## E56: bounded influence of difficult training windows +Hypothesis: a linear average of normalized window losses gives unusually difficult or abruptly changing futures too much influence, while the benchmark aggregates relative configuration errors geometrically. Keep the original per-window weighted quantile/median loss and context-only seasonal weights, but replace each window loss L by 0.25*log1p(L/0.25) before averaging. The derivative is bounded by1 and declines for difficult windows; this is a robust surrogate, not a claim to exactly optimize benchmark skill. The scale0.25 is fixed in advance, with no sweep. + +Match E38 original-corpus control exactly: parent E25-12000, seed79, packed_sample, source weights, batch256, LR5e-5, 12000-step schedule and save3000. No new source data, architecture or inference rule. Queue after E42 completes12000, then compare against cached control checkpoints and earlier cutoffs. The loss scale is saved in training arguments. + +## E55 transferred partial-target update, backcast +- Checkpoint SHA-256: `031411940fdebc895e3cf681512924f680e7feaccdfbda46f85890397fe20bd0`. +- Evaluation: 97 configurations, 9330 instances, 0 failed configurations; 24.927225589752197 seconds. +- Overall skill 0.335000; relative MASE 0.798832; relative WQL 0.553589. +- term skill: long=0.3978, medium=0.3567, short=0.3005. +- domain skill: Econ/Fin=0.1675, Energy=0.2279, Healthcare=0.4021, Nature=0.3600, Sales=0.3983, Transport=0.3718, Web/CloudOps=0.4491. +- frequency skill: A=0.3286, D=0.3484, H=0.3640, M=0.1855, Q=0.2333, S=0.3447, T=0.3347, W=0.2831. +- variates skill: multivariate=0.3522, univariate=0.3210. +- Outcome: Mixed transfer: main +0.000056, first earlier +0.000874, second earlier -0.000595 versus E47. Keep the published package. Revisit the same coefficient with the final12000-step matched checkpoints; no full-package test of this6000-step composition. + +## E55 transferred partial-target update, backcast2 +- Checkpoint SHA-256: `031411940fdebc895e3cf681512924f680e7feaccdfbda46f85890397fe20bd0`. +- Evaluation: 94 configurations, 8934 instances, 0 failed configurations; 23.91679048538208 seconds. +- Overall skill 0.357904; relative MASE 0.771656; relative WQL 0.534289. +- term skill: long=0.3649, medium=0.3860, short=0.3441. +- domain skill: Econ/Fin=0.1130, Energy=0.2354, Healthcare=0.3520, Nature=0.4680, Sales=0.5482, Transport=0.4200, Web/CloudOps=0.4303. +- frequency skill: A=0.3535, D=0.4265, H=0.3897, M=0.1535, Q=0.1485, S=0.2805, T=0.3574, W=0.2617. +- variates skill: multivariate=0.3618, univariate=0.3547. +- Outcome: Mixed transfer: main +0.000056, first earlier +0.000874, second earlier -0.000595 versus E47. Keep the published package. Revisit the same coefficient with the final12000-step matched checkpoints; no full-package test of this6000-step composition. + +E54 long_context_8192 training started at 2026-10-22T05:11:31Z, after the preceding trainer exited with its final checkpoint. Settings are unchanged from the declared comparison. + +## E38 expanded corpus final12000, matched screen +- Checkpoint SHA-256: `8aa07643add22cc1f8e45c069d19ff54bda8c0853c8e7076eb5923467942327b`. +- Evaluation: 97 configurations, 9473 instances, 0 failed configurations; 23.707714796066284 seconds. +- Overall skill 0.359331; relative MASE 0.763140; relative WQL 0.537852. +- term skill: long=0.3931, medium=0.4039, short=0.3277. +- domain skill: Econ/Fin=0.1164, Energy=0.1854, Healthcare=0.3936, Nature=0.4242, Sales=0.3431, Transport=0.4578, Web/CloudOps=0.5093. +- frequency skill: A=0.3748, D=0.3312, H=0.3834, M=0.1029, Q=0.2013, S=0.4405, T=0.4056, W=0.2056. +- variates skill: multivariate=0.3951, univariate=0.3293. +- Outcome: Skill 0.359331 versus matched original-corpus control0.360533. The early near tie becomes a final regression. Do not select the expanded corpus for the current model; retain all packed data and receipts for future experiments. + +E38 expanded-corpus arm completed12000 steps in 4098.4 elapsed training-loop seconds. E54 long_context_8192 started after its process exited on the same H100. + +## E48 synthetic phase diffusion3000, matched screen +- Checkpoint SHA-256: `06c74c2540e7fd208186a407ae6c38fcdeafe5e152887e1d7642d65c18084e64`. +- Evaluation: 97 configurations, 9473 instances, 0 failed configurations; 25.34250235557556 seconds. +- Overall skill 0.353459; relative MASE 0.767933; relative WQL 0.544338. +- term skill: long=0.3849, medium=0.3994, short=0.3222. +- domain skill: Econ/Fin=0.1025, Energy=0.1767, Healthcare=0.4158, Nature=0.4111, Sales=0.3476, Transport=0.4532, Web/CloudOps=0.5044. +- frequency skill: A=0.3736, D=0.3385, H=0.3748, M=0.0857, Q=0.1907, S=0.4365, T=0.3973, W=0.1999. +- variates skill: multivariate=0.3856, univariate=0.3267. +- Outcome: Skill0.353459 versus amplitude-only E31 score0.352625 at the same step/seed/data stream. Earlier-cutoff checks are pending; continue the trial. + +E56 log_window_loss training started at 2026-10-22T05:14:05Z, after the preceding trainer exited with its final checkpoint. Settings are unchanged from the declared comparison. + +## E57: period-relative phase projections with a frozen backbone +Hypothesis: encoder and future-query attention can use seasonal history more efficiently when supplied explicit relative phase for each frequency-derived period, rather than having to reconstruct it from generic position embeddings and scalar period metadata. Add zero-initialized linear projections of per-point sine/cosine phase for the two periods to context patches and future-query patches. Positions are relative to the forecast origin; periods below2 yield zero features, and missing context positions are masked. There are65536 new parameters, with no calendar dates or dataset identifiers. + +Initialize from the selected E47 confidence6000 package; freeze every existing parameter, including the confidence projection. Train only the two phase projections on packed_sample and the unchanged local synthetic/sign generator, seed107, paired-sign weighted quantile/median loss, batch64, LR2e-4, 6000-step cosine schedule, save1000. Confirm zero-initialization equivalence and maximum-shape memory before starting alongside the six existing trainers on the one H100. No new source data. + +E57 checks passed: the zero-initialized model is bitwise equal to the parent on mixed-frequency, partially missing CPU contexts. Maximum-shape paired batch128/context4096/horizon1024 used3647 MiB peak allocated and3920 MiB reserved, including EMA and optimizer-state placeholders, with finite gradients in1.20 seconds. No optimizer update or checkpoint came from these fixtures. Start batch64 as planned; train only65536 projection parameters. + +## E52 varied requested horizons3000, matched screen +- Checkpoint SHA-256: `ef30f8bd58927ec0a18dc5c68a7b18c0d8066c0b3ff6dbe31b6fec82af26eb0c`. +- Evaluation: 97 configurations, 9473 instances, 0 failed configurations; 25.744144678115845 seconds. +- Overall skill 0.359510; relative MASE 0.763513; relative WQL 0.537290. +- term skill: long=0.3912, medium=0.4026, short=0.3294. +- domain skill: Econ/Fin=0.1112, Energy=0.1841, Healthcare=0.4177, Nature=0.4232, Sales=0.3464, Transport=0.4589, Web/CloudOps=0.5065. +- frequency skill: A=0.3765, D=0.3429, H=0.3831, M=0.1035, Q=0.1995, S=0.4418, T=0.4003, W=0.2081. +- variates skill: multivariate=0.3922, univariate=0.3323. +- Outcome: Skill0.359510 versus E42 partial-target control0.358812. The gain is promising; matched earlier-cutoff evaluations are queued. + +## E48 matched3000 comparison: amplitude_synth, backcast +- Checkpoint SHA-256: `6f3e68f1b70e9cde6872473dc4d834c16195e72656ba974eb39d48413a10af63`. +- Evaluation: 97 configurations, 9330 instances, 0 failed configurations; 23.832332372665405 seconds. +- Overall skill 0.322014; relative MASE 0.811414; relative WQL 0.566499. +- term skill: long=0.3860, medium=0.3513, short=0.2839. +- domain skill: Econ/Fin=0.1393, Energy=0.2195, Healthcare=0.3717, Nature=0.3475, Sales=0.3988, Transport=0.3598, Web/CloudOps=0.4348. +- frequency skill: A=0.3171, D=0.3485, H=0.3526, M=0.1707, Q=0.2099, S=0.3414, T=0.3170, W=0.2493. +- variates skill: multivariate=0.3360, univariate=0.3107. +- Outcome: Phase diffusion gains at all three cutoffs at3000: main+0.000834, earlier1+0.000612, earlier2+0.000501. Continue to6000 and later matched checkpoints. + +## E48 matched3000 comparison: phase_synth, backcast +- Checkpoint SHA-256: `06c74c2540e7fd208186a407ae6c38fcdeafe5e152887e1d7642d65c18084e64`. +- Evaluation: 97 configurations, 9330 instances, 0 failed configurations; 25.44191288948059 seconds. +- Overall skill 0.322626; relative MASE 0.811284; relative WQL 0.565567. +- term skill: long=0.3871, medium=0.3526, short=0.2840. +- domain skill: Econ/Fin=0.1401, Energy=0.2216, Healthcare=0.3676, Nature=0.3459, Sales=0.3983, Transport=0.3597, Web/CloudOps=0.4368. +- frequency skill: A=0.3175, D=0.3449, H=0.3527, M=0.1680, Q=0.2099, S=0.3428, T=0.3207, W=0.2496. +- variates skill: multivariate=0.3385, univariate=0.3097. +- Outcome: Phase diffusion gains at all three cutoffs at3000: main+0.000834, earlier1+0.000612, earlier2+0.000501. Continue to6000 and later matched checkpoints. + +## E48 matched3000 comparison: amplitude_synth, backcast2 +- Checkpoint SHA-256: `6f3e68f1b70e9cde6872473dc4d834c16195e72656ba974eb39d48413a10af63`. +- Evaluation: 94 configurations, 8934 instances, 0 failed configurations; 27.063983917236328 seconds. +- Overall skill 0.346071; relative MASE 0.781652; relative WQL 0.547076. +- term skill: long=0.3649, medium=0.3705, short=0.3294. +- domain skill: Econ/Fin=0.0773, Energy=0.2205, Healthcare=0.3375, Nature=0.4551, Sales=0.5561, Transport=0.4102, Web/CloudOps=0.4240. +- frequency skill: A=0.3378, D=0.4197, H=0.3812, M=0.1601, Q=0.1370, S=0.2856, T=0.3361, W=0.2413. +- variates skill: multivariate=0.3528, univariate=0.3406. +- Outcome: Phase diffusion gains at all three cutoffs at3000: main+0.000834, earlier1+0.000612, earlier2+0.000501. Continue to6000 and later matched checkpoints. + +## E48 matched3000 comparison: phase_synth, backcast2 +- Checkpoint SHA-256: `06c74c2540e7fd208186a407ae6c38fcdeafe5e152887e1d7642d65c18084e64`. +- Evaluation: 94 configurations, 8934 instances, 0 failed configurations; 26.462491750717163 seconds. +- Overall skill 0.346572; relative MASE 0.781891; relative WQL 0.546071. +- term skill: long=0.3645, medium=0.3710, short=0.3303. +- domain skill: Econ/Fin=0.0768, Energy=0.2203, Healthcare=0.3341, Nature=0.4562, Sales=0.5562, Transport=0.4104, Web/CloudOps=0.4261. +- frequency skill: A=0.3370, D=0.4191, H=0.3813, M=0.1474, Q=0.1380, S=0.2827, T=0.3397, W=0.2426. +- variates skill: multivariate=0.3544, univariate=0.3402. +- Outcome: Phase diffusion gains at all three cutoffs at3000: main+0.000834, earlier1+0.000612, earlier2+0.000501. Continue to6000 and later matched checkpoints. + +## E42 final12000, matched mean-template screen +- Checkpoint SHA-256: `a0ef29e85d0cf01677a6a58e4a9f91b077073c4af95f85234eec2ddc223f4837`. +- Evaluation: 97 configurations, 9473 instances, 0 failed configurations; 25.56895399093628 seconds. +- Overall skill 0.361108; relative MASE 0.761463; relative WQL 0.536050. +- term skill: long=0.3906, medium=0.4043, short=0.3319. +- domain skill: Econ/Fin=0.1096, Energy=0.1895, Healthcare=0.4193, Nature=0.4256, Sales=0.3404, Transport=0.4593, Web/CloudOps=0.5063. +- frequency skill: A=0.3721, D=0.3420, H=0.3825, M=0.1108, Q=0.1995, S=0.4420, T=0.4045, W=0.2122. +- variates skill: multivariate=0.3937, univariate=0.3339. +- Outcome: The partial-target change still improves over its matched original-corpus control. The direct model remains below the published later E25/E47 lineage. Earlier-cutoff checks and the prespecified final-checkpoint weight-difference transfer are pending. + +## E42 final12000, selected fixed inference rules +- Checkpoint SHA-256: `a0ef29e85d0cf01677a6a58e4a9f91b077073c4af95f85234eec2ddc223f4837`. +- Evaluation: 97 configurations, 9473 instances, 0 failed configurations; 27.01974844932556 seconds. +- Overall skill 0.374349; relative MASE 0.747467; relative WQL 0.523688. +- term skill: long=0.3969, medium=0.4067, short=0.3525. +- domain skill: Econ/Fin=0.1345, Energy=0.2359, Healthcare=0.4230, Nature=0.4302, Sales=0.3371, Transport=0.4647, Web/CloudOps=0.4986. +- frequency skill: A=0.3753, D=0.3458, H=0.3943, M=0.1064, Q=0.1999, S=0.4233, T=0.4344, W=0.2143. +- variates skill: multivariate=0.3921, univariate=0.3599. +- Outcome: The partial-target change still improves over its matched original-corpus control. The direct model remains below the published later E25/E47 lineage. Earlier-cutoff checks and the prespecified final-checkpoint weight-difference transfer are pending. + +E42 completed12000 steps in 4034.2 elapsed training-loop seconds. E56 replaced it on the same H100. + +## E52 matched3000 comparison: partial_targets, backcast +- Checkpoint SHA-256: `fce955a709ee54429c943e3962df49055444d5a15453865a01e4883614425917`. +- Evaluation: 97 configurations, 9330 instances, 0 failed configurations; 25.31913948059082 seconds. +- Overall skill 0.329377; relative MASE 0.806571; relative WQL 0.557590. +- term skill: long=0.3896, medium=0.3560, short=0.2940. +- domain skill: Econ/Fin=0.1487, Energy=0.2246, Healthcare=0.4210, Nature=0.3485, Sales=0.3987, Transport=0.3621, Web/CloudOps=0.4433. +- frequency skill: A=0.3183, D=0.3586, H=0.3563, M=0.1681, Q=0.2258, S=0.3434, T=0.3271, W=0.2657. +- variates skill: multivariate=0.3451, univariate=0.3166. +- Outcome: Horizon jitter gains main+0.000697 and earlier2+0.000423, but loses earlier1 by0.000300. Continue to6000 to assess whether the effect persists; no package change. + +## E52 matched3000 comparison: horizon_jitter, backcast +- Checkpoint SHA-256: `ef30f8bd58927ec0a18dc5c68a7b18c0d8066c0b3ff6dbe31b6fec82af26eb0c`. +- Evaluation: 97 configurations, 9330 instances, 0 failed configurations; 27.87836766242981 seconds. +- Overall skill 0.329077; relative MASE 0.807099; relative WQL 0.557723. +- term skill: long=0.3896, medium=0.3557, short=0.2936. +- domain skill: Econ/Fin=0.1451, Energy=0.2244, Healthcare=0.4181, Nature=0.3490, Sales=0.3989, Transport=0.3628, Web/CloudOps=0.4429. +- frequency skill: A=0.3192, D=0.3567, H=0.3569, M=0.1660, Q=0.2272, S=0.3431, T=0.3263, W=0.2674. +- variates skill: multivariate=0.3446, univariate=0.3165. +- Outcome: Horizon jitter gains main+0.000697 and earlier2+0.000423, but loses earlier1 by0.000300. Continue to6000 to assess whether the effect persists; no package change. + +## E52 matched3000 comparison: partial_targets, backcast2 +- Checkpoint SHA-256: `fce955a709ee54429c943e3962df49055444d5a15453865a01e4883614425917`. +- Evaluation: 94 configurations, 8934 instances, 0 failed configurations; 27.110735416412354 seconds. +- Overall skill 0.352022; relative MASE 0.776423; relative WQL 0.540782. +- term skill: long=0.3678, medium=0.3760, short=0.3367. +- domain skill: Econ/Fin=0.0867, Energy=0.2248, Healthcare=0.3701, Nature=0.4601, Sales=0.5593, Transport=0.4130, Web/CloudOps=0.4281. +- frequency skill: A=0.3418, D=0.4285, H=0.3860, M=0.1767, Q=0.1499, S=0.2821, T=0.3437, W=0.2407. +- variates skill: multivariate=0.3578, univariate=0.3473. +- Outcome: Horizon jitter gains main+0.000697 and earlier2+0.000423, but loses earlier1 by0.000300. Continue to6000 to assess whether the effect persists; no package change. + +## E52 matched3000 comparison: horizon_jitter, backcast2 +- Checkpoint SHA-256: `ef30f8bd58927ec0a18dc5c68a7b18c0d8066c0b3ff6dbe31b6fec82af26eb0c`. +- Evaluation: 94 configurations, 8934 instances, 0 failed configurations; 26.243326425552368 seconds. +- Overall skill 0.352445; relative MASE 0.776496; relative WQL 0.540026. +- term skill: long=0.3678, medium=0.3759, short=0.3375. +- domain skill: Econ/Fin=0.0824, Energy=0.2247, Healthcare=0.3724, Nature=0.4606, Sales=0.5600, Transport=0.4138, Web/CloudOps=0.4293. +- frequency skill: A=0.3405, D=0.4280, H=0.3865, M=0.1811, Q=0.1490, S=0.2826, T=0.3439, W=0.2424. +- variates skill: multivariate=0.3585, univariate=0.3475. +- Outcome: Horizon jitter gains main+0.000697 and earlier2+0.000423, but loses earlier1 by0.000300. Continue to6000 to assess whether the effect persists; no package change. + +## E57 period-relative phase projection, initial screen +- Checkpoint SHA-256: `275e6d68dda364b71999bf311a8ce7acf09ae4fb4642b8e07c404dd1bd9849ca`. +- Evaluation: 97 configurations, 9473 instances, 0 failed configurations; 29.636561393737793 seconds. +- Overall skill 0.375793; relative MASE 0.745649; relative WQL 0.522544. +- term skill: long=0.3998, medium=0.4067, short=0.3540. +- domain skill: Econ/Fin=0.1396, Energy=0.2348, Healthcare=0.4406, Nature=0.4284, Sales=0.3399, Transport=0.4658, Web/CloudOps=0.5006. +- frequency skill: A=0.3762, D=0.3542, H=0.3951, M=0.0954, Q=0.1982, S=0.4239, T=0.4362, W=0.2090. +- variates skill: multivariate=0.3937, univariate=0.3611. +- Outcome: Exactly equal to the E47 parent score0.3757929301726527, validating the zero-initialized runtime before training. + +## E55 final12000 matched training difference, screen +- Checkpoint SHA-256: `721d1029284ea6f36d4c6f169eb001382a97a2848953fad84e3e62fb5a222802`. +- Evaluation: 97 configurations, 9473 instances, 0 failed configurations; 28.509355783462524 seconds. +- Overall skill 0.375956; relative MASE 0.746201; relative WQL 0.521885. +- term skill: long=0.3991, medium=0.4059, short=0.3549. +- domain skill: Econ/Fin=0.1387, Energy=0.2371, Healthcare=0.4442, Nature=0.4287, Sales=0.3348, Transport=0.4657, Web/CloudOps=0.4989. +- frequency skill: A=0.3739, D=0.3506, H=0.3961, M=0.1054, Q=0.1984, S=0.4235, T=0.4345, W=0.2191. +- variates skill: multivariate=0.3928, univariate=0.3622. +- Outcome: Skill0.375956 versus selected E47 score0.375793. This is a larger screen gain than the6000-step difference; evaluate both earlier cutoffs before selecting. + +## E57 period-relative phase projections1000, screen +- Checkpoint SHA-256: `2deeff17c98c6993f9da1713c973fe0f803358a717c021e81438cdf203ae5f51`. +- Evaluation: 97 configurations, 9473 instances, 0 failed configurations; 29.055758476257324 seconds. +- Overall skill 0.375590; relative MASE 0.745958; relative WQL 0.522667. +- term skill: long=0.3989, medium=0.4062, short=0.3542. +- domain skill: Econ/Fin=0.1398, Energy=0.2354, Healthcare=0.4399, Nature=0.4278, Sales=0.3393, Transport=0.4661, Web/CloudOps=0.4996. +- frequency skill: A=0.3762, D=0.3549, H=0.3950, M=0.0942, Q=0.1970, S=0.4219, T=0.4359, W=0.2092. +- variates skill: multivariate=0.3933, univariate=0.3612. +- Outcome: Skill0.375590 is slightly below the parent0.375793. Continue to3000/6000 to assess whether training recovers, as the previous confidence projection did late in its schedule. + +## E42 final12000 matched comparison: large_corpus_control, backcast +- Checkpoint SHA-256: `7f9ba5e01ac59c51a3b63d3067b442e23e15d0abc51ddbcccdd04d6083ae4add`. +- Evaluation: 97 configurations, 9330 instances, 0 failed configurations; 27.9762020111084 seconds. +- Overall skill 0.330213; relative MASE 0.806120; relative WQL 0.556510. +- term skill: long=0.3888, medium=0.3557, short=0.2960. +- domain skill: Econ/Fin=0.1456, Energy=0.2279, Healthcare=0.4182, Nature=0.3493, Sales=0.3975, Transport=0.3647, Web/CloudOps=0.4422. +- frequency skill: A=0.2987, D=0.3583, H=0.3572, M=0.1590, Q=0.2332, S=0.3409, T=0.3303, W=0.2690. +- variates skill: multivariate=0.3460, univariate=0.3174. +- Outcome: Final partial-target model gains main+0.000575 and earlier1+0.000861, but loses earlier2 by0.000358. Direct model remains below the published later lineage. + +## E42 final12000 matched comparison: partial_targets, backcast +- Checkpoint SHA-256: `a0ef29e85d0cf01677a6a58e4a9f91b077073c4af95f85234eec2ddc223f4837`. +- Evaluation: 97 configurations, 9330 instances, 0 failed configurations; 27.47197651863098 seconds. +- Overall skill 0.331074; relative MASE 0.805060; relative WQL 0.555811. +- term skill: long=0.3901, medium=0.3561, short=0.2969. +- domain skill: Econ/Fin=0.1467, Energy=0.2289, Healthcare=0.4192, Nature=0.3505, Sales=0.3984, Transport=0.3646, Web/CloudOps=0.4431. +- frequency skill: A=0.3115, D=0.3560, H=0.3581, M=0.1677, Q=0.2337, S=0.3423, T=0.3297, W=0.2763. +- variates skill: multivariate=0.3468, univariate=0.3183. +- Outcome: Final partial-target model gains main+0.000575 and earlier1+0.000861, but loses earlier2 by0.000358. Direct model remains below the published later lineage. + +## E55 final12000 transferred difference, backcast +- Checkpoint SHA-256: `721d1029284ea6f36d4c6f169eb001382a97a2848953fad84e3e62fb5a222802`. +- Evaluation: 97 configurations, 9330 instances, 0 failed configurations; 26.976391792297363 seconds. +- Overall skill 0.335609; relative MASE 0.797954; relative WQL 0.553184. +- term skill: long=0.3979, medium=0.3572, short=0.3014. +- domain skill: Econ/Fin=0.1631, Energy=0.2288, Healthcare=0.4091, Nature=0.3616, Sales=0.3971, Transport=0.3715, Web/CloudOps=0.4491. +- frequency skill: A=0.3254, D=0.3493, H=0.3647, M=0.1918, Q=0.2328, S=0.3430, T=0.3345, W=0.2857. +- variates skill: multivariate=0.3525, univariate=0.3218. +- Outcome: Transfer gains main+0.000163 and earlier1+0.001483, but loses earlier2 by0.001028. Average gain across the three cutoffs is positive; run exact full validation before deciding whether to publish this tradeoff. + +## E42 final12000 matched comparison: large_corpus_control, backcast2 +- Checkpoint SHA-256: `7f9ba5e01ac59c51a3b63d3067b442e23e15d0abc51ddbcccdd04d6083ae4add`. +- Evaluation: 94 configurations, 8934 instances, 0 failed configurations; 26.495740175247192 seconds. +- Overall skill 0.353454; relative MASE 0.776299; relative WQL 0.538480. +- term skill: long=0.3687, medium=0.3751, short=0.3393. +- domain skill: Econ/Fin=0.0914, Energy=0.2288, Healthcare=0.3664, Nature=0.4591, Sales=0.5548, Transport=0.4142, Web/CloudOps=0.4303. +- frequency skill: A=0.3473, D=0.4293, H=0.3865, M=0.1743, Q=0.1540, S=0.2821, T=0.3466, W=0.2433. +- variates skill: multivariate=0.3605, univariate=0.3477. +- Outcome: Final partial-target model gains main+0.000575 and earlier1+0.000861, but loses earlier2 by0.000358. Direct model remains below the published later lineage. + +## E42 final12000 matched comparison: partial_targets, backcast2 +- Checkpoint SHA-256: `a0ef29e85d0cf01677a6a58e4a9f91b077073c4af95f85234eec2ddc223f4837`. +- Evaluation: 94 configurations, 8934 instances, 0 failed configurations; 27.049270629882812 seconds. +- Overall skill 0.353096; relative MASE 0.776739; relative WQL 0.538771. +- term skill: long=0.3692, medium=0.3760, short=0.3381. +- domain skill: Econ/Fin=0.0920, Energy=0.2294, Healthcare=0.3671, Nature=0.4574, Sales=0.5540, Transport=0.4141, Web/CloudOps=0.4294. +- frequency skill: A=0.3519, D=0.4253, H=0.3874, M=0.1772, Q=0.1555, S=0.2805, T=0.3464, W=0.2443. +- variates skill: multivariate=0.3599, univariate=0.3476. +- Outcome: Final partial-target model gains main+0.000575 and earlier1+0.000861, but loses earlier2 by0.000358. Direct model remains below the published later lineage. + +## E55 final12000 transferred difference, backcast2 +- Checkpoint SHA-256: `721d1029284ea6f36d4c6f169eb001382a97a2848953fad84e3e62fb5a222802`. +- Evaluation: 94 configurations, 8934 instances, 0 failed configurations; 26.92556405067444 seconds. +- Overall skill 0.357472; relative MASE 0.772231; relative WQL 0.534610. +- term skill: long=0.3642, medium=0.3858, short=0.3437. +- domain skill: Econ/Fin=0.1127, Energy=0.2350, Healthcare=0.3474, Nature=0.4678, Sales=0.5489, Transport=0.4199, Web/CloudOps=0.4300. +- frequency skill: A=0.3556, D=0.4262, H=0.3901, M=0.1532, Q=0.1527, S=0.2796, T=0.3567, W=0.2577. +- variates skill: multivariate=0.3616, univariate=0.3541. +- Outcome: Transfer gains main+0.000163 and earlier1+0.001483, but loses earlier2 by0.001028. Average gain across the three cutoffs is positive; run exact full validation before deciding whether to publish this tradeoff. + +E31 amplitude-varying synthetic run completed24000 steps in7471.1 elapsed training-loop seconds on the shared H100. Final checkpoint is being checked with the selected fixed inference rules at all three cutoffs. + +## E58: increase width from our own trained model (preparing) +Repeated continuations of the36.8M model show diminishing gains. Hypothesis: more capacity can improve learning from the allowed corpus after a function-preserving initialization, given a sufficiently long matched schedule. Widen the selected E47 model from d512/heads8 to d1024/heads16, retaining enc6/dec4 and patch16. Duplicate hidden representations; duplicate input columns with weights divided by2; duplicate output rows. Preserve attention K/V grouping, repeat layernorm vectors, and repeat the original512-dimensional positional vector. Verify the unperturbed conversion on fixed synthetic fixtures. Then add independently seeded1%-of-tensor-standard-deviation noise to matrix weights to break duplicated-neuron symmetry, measuring the resulting prediction change. This is an initialization derived only from our own trained weights. + +A matched original-width control will use the same parent, data windows, seed113 and original sign-augmented loss. Proposed batch128, LR3e-5 and24000-step schedule are subject to a maximum-shape memory check after E31 releases its training slot. For widened matrices with duplicated input columns, use half the base learning rate and twice the weight decay to retain comparable initial functional update/decay scales; other parameters use the original rate. These settings and any necessary memory-driven batch adjustment will be recorded before training. No external weights or data. + +## E55 final12000 transferred update, exact full package validation +- Checkpoint SHA-256: `721d1029284ea6f36d4c6f169eb001382a97a2848953fad84e3e62fb5a222802`. +- Evaluation: 97 configurations, 151170 instances, 0 failed configurations; not separately timed seconds. +- Overall skill 0.372143; relative MASE 0.748865; relative WQL 0.526402. +- term skill: long=0.3930, medium=0.4049, short=0.3509. +- domain skill: Econ/Fin=0.1163, Energy=0.2302, Healthcare=0.4510, Nature=0.4286, Sales=0.3487, Transport=0.4659, Web/CloudOps=0.4912. +- frequency skill: A=0.2931, D=0.3551, H=0.3913, M=0.1284, Q=0.1851, S=0.4235, T=0.4275, W=0.2120. +- variates skill: multivariate=0.3885, univariate=0.3588. +- Outcome: Select for publication after relocation and determinism checks. Full skill0.372143 improves on E47 score0.371766. All97 configurations and151170 instances passed, with no quantile crossings; actual inference123.68 seconds. Earlier temporal diagnostics retain a tradeoff: first earlier cutoff+0.001483, second earlier cutoff-0.001028. The mean gain across the main and two earlier screens is positive; this is validation selection, not a held-out reward claim. + +E58 conversion produced 146477344 parameters. Maximum normalized-quantile difference before noise was 0.000001669; after the fixed1% matrix noise it was 0.018048. Conversion took 2.38 CPU seconds. Parent hash and noise seed113 are recorded in wide_capacity_initial.pt.json. + +Maximum-shape memory checks, including optimizer moments and EMA placeholders, used13326 MiB reserved at batch128 and10708 MiB at batch96; both had finite gradients. Choose batch96 for both arms to preserve evaluation headroom. Increase the planned schedule from24000 to32000 steps so the planned number of windows remains3072000 per arm. Save/evaluate4000,8000,16000,24000,32000. Base LR3e-5, seed113, unchanged context/horizon mixture and packed_sample. Wider-matrix LR multiplier0.5 and decay multiplier2 remain as declared. Start the wide arm now that E31 has exited; queue the original-width control after E57 completes. Research and package inference use batch64 for both widths to keep memory comparable. + +E55 relocation/determinism checks passed: the candidate and a separate fresh /tmp copy, both launched from /tmp, produced bitwise identical finite monotone quantiles for daily, hourly and multivariate medium-horizon examples. Publish the complete model/report/manifest/provenance/log bundle atomically. + +## E59: equal-weight ensemble of complementary training variants +The final E31 amplitude-varying model improves both earlier cutoffs over its recency24000 control, while its main fixed-rule screen is lower. The selected E55 transfer has the opposite second-earlier tradeoff. Hypothesis: an equal-weight average can reduce these differences. Reuse cached quantiles for E55 partial_delta12k and E31 amplitude24000, with both members forecasting every instance. Test only the fixed50/50 average, with and without applying the selected zero0.4 projection once more after averaging; averaging two zero-projected forecasts can otherwise introduce small positive values. No weight sweep or training. If promising, build and validate the actual two-member runtime before publication. + +## E31 final24000 with selected fixed rules, screen +- Checkpoint SHA-256: `ecab9102fc11909555044c67dffda85280e06a375f1733351c7e9a39bf2ce9bb`. +- Evaluation: 97 configurations, 9473 instances, 0 failed configurations; 23.934752464294434 seconds. +- Overall skill 0.375166; relative MASE 0.746944; relative WQL 0.522686. +- term skill: long=0.3998, medium=0.4070, short=0.3527. +- domain skill: Econ/Fin=0.1414, Energy=0.2355, Healthcare=0.4087, Nature=0.4266, Sales=0.3412, Transport=0.4655, Web/CloudOps=0.5053. +- frequency skill: A=0.3762, D=0.3445, H=0.3950, M=0.0900, Q=0.2023, S=0.4234, T=0.4389, W=0.2104. +- variates skill: multivariate=0.3958, univariate=0.3582. +- Outcome: Relative to E25 recency24000: main-0.000336, earlier1+0.000565, earlier2+0.000635. Do not replace the main package with this model alone. Test the prespecified equal-weight blend with the selected E55 model. + +## E31 final24000 with selected fixed rules, backcast +- Checkpoint SHA-256: `ecab9102fc11909555044c67dffda85280e06a375f1733351c7e9a39bf2ce9bb`. +- Evaluation: 97 configurations, 9330 instances, 0 failed configurations; 23.675416946411133 seconds. +- Overall skill 0.334745; relative MASE 0.799254; relative WQL 0.553722. +- term skill: long=0.3965, medium=0.3574, short=0.3003. +- domain skill: Econ/Fin=0.1603, Energy=0.2277, Healthcare=0.4000, Nature=0.3619, Sales=0.3979, Transport=0.3709, Web/CloudOps=0.4497. +- frequency skill: A=0.3115, D=0.3485, H=0.3643, M=0.1990, Q=0.2289, S=0.3403, T=0.3365, W=0.2702. +- variates skill: multivariate=0.3522, univariate=0.3205. +- Outcome: Relative to E25 recency24000: main-0.000336, earlier1+0.000565, earlier2+0.000635. Do not replace the main package with this model alone. Test the prespecified equal-weight blend with the selected E55 model. + +## E31 final24000 with selected fixed rules, backcast2 +- Checkpoint SHA-256: `ecab9102fc11909555044c67dffda85280e06a375f1733351c7e9a39bf2ce9bb`. +- Evaluation: 94 configurations, 8934 instances, 0 failed configurations; 24.473368406295776 seconds. +- Overall skill 0.358910; relative MASE 0.771616; relative WQL 0.532644. +- term skill: long=0.3672, medium=0.3833, short=0.3462. +- domain skill: Econ/Fin=0.1126, Energy=0.2349, Healthcare=0.3493, Nature=0.4705, Sales=0.5536, Transport=0.4202, Web/CloudOps=0.4327. +- frequency skill: A=0.3556, D=0.4300, H=0.3901, M=0.1370, Q=0.1497, S=0.2870, T=0.3573, W=0.2669. +- variates skill: multivariate=0.3623, univariate=0.3562. +- Outcome: Relative to E25 recency24000: main-0.000336, earlier1+0.000565, earlier2+0.000635. Do not replace the main package with this model alone. Test the prespecified equal-weight blend with the selected E55 model. + +## E59 cached equal-weight comparison +No training; fixed inference seed0 and ensemble weight0.5 for each member. Member weights: selected E55 partial_delta12k SHA-256 721d1029284ea6f36d4c6f169eb001382a97a2848953fad84e3e62fb5a222802; amplitude24000 hash is recorded in its matched reports. + +screen: 2.65 CPU diagnostic seconds. +- average: skill 0.376116; term: short=0.3545, medium=0.4069, long=0.3997; domain: Econ/Fin=0.1408, Energy=0.2367, Healthcare=0.4304, Nature=0.4279, Sales=0.3385, Transport=0.4658, Web/CloudOps=0.5025; freq: A-DEC=0.3755, Q-DEC=0.2008, M=0.0994, W-SUN=0.0865, D=0.3491, H=0.3958, 15T=0.2143, W-FRI=-0.0164, 10T=0.6125, W-TUE=0.5565, W-THU=0.2049, W-WED=0.3155, 5T=0.5141, 10S=0.4235. +- average_then_zero: skill 0.376000; term: short=0.3545, medium=0.4068, long=0.3994; domain: Econ/Fin=0.1408, Energy=0.2367, Healthcare=0.4304, Nature=0.4277, Sales=0.3386, Transport=0.4658, Web/CloudOps=0.5021; freq: A-DEC=0.3755, Q-DEC=0.2008, M=0.0999, W-SUN=0.0865, D=0.3489, H=0.3957, 15T=0.2143, W-FRI=-0.0164, 10T=0.6124, W-TUE=0.5565, W-THU=0.2049, W-WED=0.3154, 5T=0.5138, 10S=0.4235. + +backcast: 2.59 CPU diagnostic seconds. +- average: skill 0.335702; term: short=0.3015, medium=0.3577, long=0.3976; domain: Econ/Fin=0.1625, Energy=0.2286, Healthcare=0.4066, Nature=0.3622, Sales=0.3978, Transport=0.3714, Web/CloudOps=0.4500; freq: A-DEC=0.3193, Q-DEC=0.2313, M=0.1979, W-SUN=0.0360, D=0.3493, H=0.3648, 15T=0.2260, W-FRI=0.2606, 10T=0.3193, W-TUE=0.5296, W-THU=0.2330, W-WED=0.3440, 5T=0.4376, 10S=0.3419. +- average_then_zero: skill 0.335612; term: short=0.3014, medium=0.3575, long=0.3976; domain: Econ/Fin=0.1625, Energy=0.2286, Healthcare=0.4066, Nature=0.3619, Sales=0.3980, Transport=0.3714, Web/CloudOps=0.4498; freq: A-DEC=0.3193, Q-DEC=0.2313, M=0.1983, W-SUN=0.0360, D=0.3491, H=0.3648, 15T=0.2260, W-FRI=0.2606, 10T=0.3188, W-TUE=0.5296, W-THU=0.2330, W-WED=0.3440, 5T=0.4372, 10S=0.3419. + +backcast2: 2.43 CPU diagnostic seconds. +- average: skill 0.358667; term: short=0.3455, medium=0.3850, long=0.3661; domain: Econ/Fin=0.1134, Energy=0.2353, Healthcare=0.3493, Nature=0.4696, Sales=0.5519, Transport=0.4203, Web/CloudOps=0.4320; freq: A-DEC=0.3562, Q-DEC=0.1515, M=0.1452, W-SUN=0.0558, D=0.4288, H=0.3904, 15T=0.1044, W-FRI=0.1452, 10T=0.4937, W-TUE=0.1018, W-THU=0.3276, W-WED=0.5366, 5T=0.4664, 10S=0.2839. +- average_then_zero: skill 0.358497; term: short=0.3453, medium=0.3849, long=0.3659; domain: Econ/Fin=0.1134, Energy=0.2352, Healthcare=0.3493, Nature=0.4693, Sales=0.5513, Transport=0.4203, Web/CloudOps=0.4318; freq: A-DEC=0.3562, Q-DEC=0.1515, M=0.1452, W-SUN=0.0558, D=0.4286, H=0.3904, 15T=0.1044, W-FRI=0.1452, 10T=0.4927, W-TUE=0.1018, W-THU=0.3276, W-WED=0.5364, 5T=0.4661, 10S=0.2839. + +Outcome: plain averaging wins all three cutoffs over the selected single model. Reapplying the zero projection after averaging is worse at every cutoff. Build the actual two-member package and verify cached/runtime agreement, full validation and relocation before publication. + +E58 wide_capacity_control training started at 2026-10-22T05:35:38Z, after the preceding trainer exited with its final checkpoint. Settings are unchanged from the declared comparison. + +E59 actual two-member runtime produced bitwise identical quantiles to the cached plain50/50 average for every point in all97 main-screen configurations. Its screening skill is0.37611643951533646, matching the probe exactly. Proceed to actual full-package inference and scoring. + +## E57 period-relative phase projections3000, screen +- Checkpoint SHA-256: `740fed81313fbb2dc2060173ae11ed120d6cca9600620cd1c9d9331ccac699e5`. +- Evaluation: 97 configurations, 9473 instances, 0 failed configurations; 26.340542793273926 seconds. +- Overall skill 0.375400; relative MASE 0.745694; relative WQL 0.523171. +- term skill: long=0.3995, medium=0.4066, short=0.3534. +- domain skill: Econ/Fin=0.1392, Energy=0.2355, Healthcare=0.4394, Nature=0.4265, Sales=0.3394, Transport=0.4660, Web/CloudOps=0.4999. +- frequency skill: A=0.3762, D=0.3544, H=0.3946, M=0.0943, Q=0.1976, S=0.4227, T=0.4359, W=0.2085. +- variates skill: multivariate=0.3928, univariate=0.3611. +- Outcome: The6000-step score0.375840 is only0.000047 above its E47 parent, after earlier regressions. Existing model tensors remain bitwise unchanged. Check earlier cutoffs before selecting any use of these projections. + +## E57 period-relative phase projections6000, screen +- Checkpoint SHA-256: `956fb0c541a5ae81aaccd7b059143720c5b55d0c030df0162d2eae0736701832`. +- Evaluation: 97 configurations, 9473 instances, 0 failed configurations; 29.05087399482727 seconds. +- Overall skill 0.375840; relative MASE 0.745321; relative WQL 0.522695. +- term skill: long=0.3997, medium=0.4065, short=0.3542. +- domain skill: Econ/Fin=0.1396, Energy=0.2356, Healthcare=0.4472, Nature=0.4272, Sales=0.3377, Transport=0.4655, Web/CloudOps=0.4998. +- frequency skill: A=0.3762, D=0.3562, H=0.3947, M=0.0979, Q=0.1989, S=0.4232, T=0.4357, W=0.2089. +- variates skill: multivariate=0.3935, univariate=0.3614. +- Outcome: The6000-step score0.375840 is only0.000047 above its E47 parent, after earlier regressions. Existing model tensors remain bitwise unchanged. Check earlier cutoffs before selecting any use of these projections. + +E57 completed6000 steps in1147.4 elapsed training-loop seconds. Every pre-existing tensor is bitwise equal to the E47 parent; only the65536 phase-projection parameters changed. E58 original-width control started after this process exited. + +## E58 widened initialization, main screen at batch64 +- Checkpoint SHA-256: `495eed9e1a09379b3cbcdadbee447d2c519a2cff8239c0756cf94f49f8a1b55e`. +- Evaluation: 97 configurations, 9473 instances, 0 failed configurations; 43.54188299179077 seconds. +- Overall skill 0.375710; relative MASE 0.745704; relative WQL 0.522645. +- term skill: long=0.3998, medium=0.4067, short=0.3538. +- domain skill: Econ/Fin=0.1394, Energy=0.2348, Healthcare=0.4397, Nature=0.4283, Sales=0.3400, Transport=0.4658, Web/CloudOps=0.5006. +- frequency skill: A=0.3762, D=0.3540, H=0.3951, M=0.0946, Q=0.1984, S=0.4240, T=0.4362, W=0.2087. +- variates skill: multivariate=0.3937, univariate=0.3610. +- Outcome: Initial score0.375710 remains close to the original model before any larger-model training. The matched original-width initialization at the same inference batch size is being checked. + +## E56 log window loss3000, matched screen +- Checkpoint SHA-256: `14dd06fb6dff3c336f5aa26b8525d7ccb921a80b3e7be4d22b285584c14ff3bd`. +- Evaluation: 97 configurations, 9473 instances, 0 failed configurations; 28.476420640945435 seconds. +- Overall skill 0.357135; relative MASE 0.765561; relative WQL 0.539835. +- term skill: long=0.3893, medium=0.3998, short=0.3270. +- domain skill: Econ/Fin=0.1142, Energy=0.1808, Healthcare=0.3930, Nature=0.4235, Sales=0.3538, Transport=0.4615, Web/CloudOps=0.5024. +- frequency skill: A=0.3804, D=0.3293, H=0.3825, M=0.1125, Q=0.2032, S=0.4413, T=0.3984, W=0.2094. +- variates skill: multivariate=0.3893, univariate=0.3303. +- Outcome: Score0.357135 regresses versus original-loss control0.358802. Continue to6000 before deciding whether to stop this objective. + +## E48 phase diffusion6000, matched screen +- Checkpoint SHA-256: `8d6371333e936bbfc2aa746819bfd0cedd392f873ce79c1d6f729b205c3f0b87`. +- Evaluation: 97 configurations, 9473 instances, 0 failed configurations; 26.55935049057007 seconds. +- Overall skill 0.356225; relative MASE 0.765189; relative WQL 0.541626. +- term skill: long=0.3862, medium=0.3999, short=0.3266. +- domain skill: Econ/Fin=0.1072, Energy=0.1811, Healthcare=0.4144, Nature=0.4178, Sales=0.3484, Transport=0.4543, Web/CloudOps=0.5048. +- frequency skill: A=0.3702, D=0.3423, H=0.3775, M=0.0903, Q=0.1971, S=0.4361, T=0.4007, W=0.2000. +- variates skill: multivariate=0.3887, univariate=0.3292. +- Outcome: Score0.356225 versus amplitude-only0.355543: the main gain persists at6000. Earlier cutoffs are being evaluated. + +## E52 varied requested horizons6000, matched screen +- Checkpoint SHA-256: `1276edf6f471ab96e61e61ead3cb813a58a4cadfac530d2c190072d9b211c182`. +- Evaluation: 97 configurations, 9473 instances, 0 failed configurations; 27.603736400604248 seconds. +- Overall skill 0.359683; relative MASE 0.762743; relative WQL 0.537542. +- term skill: long=0.3900, medium=0.4024, short=0.3303. +- domain skill: Econ/Fin=0.1129, Energy=0.1876, Healthcare=0.4160, Nature=0.4253, Sales=0.3425, Transport=0.4576, Web/CloudOps=0.5040. +- frequency skill: A=0.3774, D=0.3429, H=0.3812, M=0.1107, Q=0.1984, S=0.4413, T=0.4021, W=0.2071. +- variates skill: multivariate=0.3915, univariate=0.3332. +- Outcome: Score0.359683 versus E42 partial-target control0.359222: a smaller main gain persists. Check both earlier cutoffs. + +## E54 original-context control6000, screen +- Checkpoint SHA-256: `14d964cb2b828f8e81c8b656b33da583b2f5fb48a3f003d043ba7c0b88cd3137`. +- Evaluation: 97 configurations, 9473 instances, 0 failed configurations; 25.69702458381653 seconds. +- Overall skill 0.374515; relative MASE 0.746663; relative WQL 0.523973. +- term skill: long=0.3995, medium=0.4071, short=0.3516. +- domain skill: Econ/Fin=0.1381, Energy=0.2362, Healthcare=0.4110, Nature=0.4291, Sales=0.3380, Transport=0.4658, Web/CloudOps=0.5007. +- frequency skill: A=0.3757, D=0.3496, H=0.3960, M=0.0674, Q=0.2005, S=0.4225, T=0.4371, W=0.2070. +- variates skill: multivariate=0.3945, univariate=0.3581. +- Outcome: Fresh continuation is below the E25 parent. Keep as the matched source-window/seed reference for the8192-context arm. + +## E48 matched6000 comparison: amplitude_synth, backcast +- Checkpoint SHA-256: `7fe2746b237fb2699c2d8c812595666df0888cde656498043e01847bb552c783`. +- Evaluation: 97 configurations, 9330 instances, 0 failed configurations; 21.44511580467224 seconds. +- Overall skill 0.324002; relative MASE 0.810229; relative WQL 0.564005. +- term skill: long=0.3880, medium=0.3521, short=0.2864. +- domain skill: Econ/Fin=0.1415, Energy=0.2210, Healthcare=0.3855, Nature=0.3485, Sales=0.3980, Transport=0.3607, Web/CloudOps=0.4366. +- frequency skill: A=0.3171, D=0.3509, H=0.3541, M=0.1703, Q=0.2160, S=0.3413, T=0.3204, W=0.2494. +- variates skill: multivariate=0.3381, univariate=0.3126. +- Outcome: Phase diffusion retains a main gain but loses about0.0011 at both earlier cutoffs. The earlier3000-step gains did not persist. Stop this branch; it is not selected. + +## E48 matched6000 comparison: phase_synth, backcast +- Checkpoint SHA-256: `8d6371333e936bbfc2aa746819bfd0cedd392f873ce79c1d6f729b205c3f0b87`. +- Evaluation: 97 configurations, 9330 instances, 0 failed configurations; 26.959611415863037 seconds. +- Overall skill 0.322903; relative MASE 0.811500; relative WQL 0.564954. +- term skill: long=0.3870, medium=0.3532, short=0.2843. +- domain skill: Econ/Fin=0.1406, Energy=0.2220, Healthcare=0.3697, Nature=0.3497, Sales=0.3989, Transport=0.3583, Web/CloudOps=0.4353. +- frequency skill: A=0.3141, D=0.3444, H=0.3533, M=0.1676, Q=0.2139, S=0.3417, T=0.3204, W=0.2546. +- variates skill: multivariate=0.3382, univariate=0.3105. +- Outcome: Phase diffusion retains a main gain but loses about0.0011 at both earlier cutoffs. The earlier3000-step gains did not persist. Stop this branch; it is not selected. + +## E48 matched6000 comparison: amplitude_synth, backcast2 +- Checkpoint SHA-256: `7fe2746b237fb2699c2d8c812595666df0888cde656498043e01847bb552c783`. +- Evaluation: 94 configurations, 8934 instances, 0 failed configurations; 20.365211486816406 seconds. +- Overall skill 0.349572; relative MASE 0.778615; relative WQL 0.543345. +- term skill: long=0.3660, medium=0.3724, short=0.3345. +- domain skill: Econ/Fin=0.0821, Energy=0.2234, Healthcare=0.3611, Nature=0.4581, Sales=0.5590, Transport=0.4121, Web/CloudOps=0.4247. +- frequency skill: A=0.3403, D=0.4277, H=0.3841, M=0.1545, Q=0.1409, S=0.2820, T=0.3394, W=0.2470. +- variates skill: multivariate=0.3548, univariate=0.3453. +- Outcome: Phase diffusion retains a main gain but loses about0.0011 at both earlier cutoffs. The earlier3000-step gains did not persist. Stop this branch; it is not selected. + +## E48 matched6000 comparison: phase_synth, backcast2 +- Checkpoint SHA-256: `8d6371333e936bbfc2aa746819bfd0cedd392f873ce79c1d6f729b205c3f0b87`. +- Evaluation: 94 configurations, 8934 instances, 0 failed configurations; 25.906906366348267 seconds. +- Overall skill 0.348439; relative MASE 0.780846; relative WQL 0.543682. +- term skill: long=0.3636, medium=0.3707, short=0.3341. +- domain skill: Econ/Fin=0.0817, Energy=0.2219, Healthcare=0.3552, Nature=0.4580, Sales=0.5591, Transport=0.4110, Web/CloudOps=0.4239. +- frequency skill: A=0.3402, D=0.4247, H=0.3827, M=0.1524, Q=0.1420, S=0.2780, T=0.3407, W=0.2441. +- variates skill: multivariate=0.3541, univariate=0.3439. +- Outcome: Phase diffusion retains a main gain but loses about0.0011 at both earlier cutoffs. The earlier3000-step gains did not persist. Stop this branch; it is not selected. + +## E59 equal-weight two-member ensemble, exact full package validation +- Checkpoint SHA-256: `a5f575ec44defbc0ca0c4aeb29618bbcc0e09f726985851eee4027ea698cfadd`. +- Evaluation: 97 configurations, 151170 instances, 0 failed configurations; not separately timed seconds. +- Overall skill 0.372254; relative MASE 0.748754; relative WQL 0.526294. +- term skill: long=0.3937, medium=0.4059, short=0.3504. +- domain skill: Econ/Fin=0.1179, Energy=0.2297, Healthcare=0.4376, Nature=0.4278, Sales=0.3512, Transport=0.4661, Web/CloudOps=0.4950. +- frequency skill: A=0.2917, D=0.3537, H=0.3910, M=0.1216, Q=0.1860, S=0.4235, T=0.4302, W=0.2080. +- variates skill: multivariate=0.3905, univariate=0.3573. +- Outcome: Select after relocation/determinism checks: full skill0.372254 versus single-model0.372143; relative MASE0.748754 and WQL0.526294. All97 configurations and151170 instances passed with no quantile crossings. Actual package inference234.68 seconds while training shared the one H100. Main screening and both earlier cutoffs improve; every member forecasts every instance with fixed equal weights. + +E48 stopped cleanly at step7631, after 2736.0 elapsed process seconds at the stop request. Final checkpoint SHA-256 `702c419a404c2aad31011fb824ace504576f5e74244fc4228229fdfb2d970a9a`. The stop checkpoint is retained for provenance and is not selected. + +E59 relocation/determinism passed: the two-member candidate and a separate /tmp copy, both launched from /tmp, produced bitwise identical finite monotone forecasts on daily, hourly and multivariate medium-horizon examples. The complete two-member package is ready for atomic publication. + +## E57 phase projections final6000, backcast +- Checkpoint SHA-256: `956fb0c541a5ae81aaccd7b059143720c5b55d0c030df0162d2eae0736701832`. +- Evaluation: 97 configurations, 9330 instances, 0 failed configurations; 25.856826066970825 seconds. +- Overall skill 0.333418; relative MASE 0.800235; relative WQL 0.555251. +- term skill: long=0.3968, medium=0.3558, short=0.2984. +- domain skill: Econ/Fin=0.1603, Energy=0.2271, Healthcare=0.4058, Nature=0.3594, Sales=0.3943, Transport=0.3716, Web/CloudOps=0.4455. +- frequency skill: A=0.3079, D=0.3513, H=0.3638, M=0.1776, Q=0.2354, S=0.3427, T=0.3327, W=0.2745. +- variates skill: multivariate=0.3498, univariate=0.3201. +- Outcome: Reject this feature addition: main gain0.000047 is offset by earlier1 loss0.000708 and earlier2 loss0.000030 versus the frozen E47 parent. No package change from this branch. + +## E52 varied requested horizons6000, backcast +- Checkpoint SHA-256: `1276edf6f471ab96e61e61ead3cb813a58a4cadfac530d2c190072d9b211c182`. +- Evaluation: 97 configurations, 9330 instances, 0 failed configurations; 24.876362562179565 seconds. +- Overall skill 0.330107; relative MASE 0.806559; relative WQL 0.556384. +- term skill: long=0.3900, medium=0.3554, short=0.2954. +- domain skill: Econ/Fin=0.1459, Energy=0.2294, Healthcare=0.4132, Nature=0.3489, Sales=0.3970, Transport=0.3634, Web/CloudOps=0.4423. +- frequency skill: A=0.3187, D=0.3539, H=0.3583, M=0.1613, Q=0.2281, S=0.3442, T=0.3292, W=0.2708. +- variates skill: multivariate=0.3469, univariate=0.3164. +- Outcome: Relative to E42 partial-target control6000: main+0.000461, earlier1-0.000193, earlier2+0.000278. Continue to the final12000 checkpoint; a small positive average effect persists. + +## E57 phase projections final6000, backcast2 +- Checkpoint SHA-256: `956fb0c541a5ae81aaccd7b059143720c5b55d0c030df0162d2eae0736701832`. +- Evaluation: 94 configurations, 8934 instances, 0 failed configurations; 25.712015867233276 seconds. +- Overall skill 0.358470; relative MASE 0.770691; relative WQL 0.534015. +- term skill: long=0.3646, medium=0.3858, short=0.3453. +- domain skill: Econ/Fin=0.1102, Energy=0.2363, Healthcare=0.3561, Nature=0.4700, Sales=0.5508, Transport=0.4205, Web/CloudOps=0.4287. +- frequency skill: A=0.3495, D=0.4331, H=0.3891, M=0.1593, Q=0.1505, S=0.2824, T=0.3568, W=0.2548. +- variates skill: multivariate=0.3620, univariate=0.3556. +- Outcome: Reject this feature addition: main gain0.000047 is offset by earlier1 loss0.000708 and earlier2 loss0.000030 versus the frozen E47 parent. No package change from this branch. + +## E52 varied requested horizons6000, backcast2 +- Checkpoint SHA-256: `1276edf6f471ab96e61e61ead3cb813a58a4cadfac530d2c190072d9b211c182`. +- Evaluation: 94 configurations, 8934 instances, 0 failed configurations; 24.18545150756836 seconds. +- Overall skill 0.353179; relative MASE 0.775830; relative WQL 0.539265. +- term skill: long=0.3689, medium=0.3764, short=0.3382. +- domain skill: Econ/Fin=0.0847, Energy=0.2293, Healthcare=0.3759, Nature=0.4588, Sales=0.5595, Transport=0.4134, Web/CloudOps=0.4274. +- frequency skill: A=0.3432, D=0.4263, H=0.3869, M=0.1771, Q=0.1489, S=0.2829, T=0.3454, W=0.2495. +- variates skill: multivariate=0.3591, univariate=0.3484. +- Outcome: Relative to E42 partial-target control6000: main+0.000461, earlier1-0.000193, earlier2+0.000278. Continue to the final12000 checkpoint; a small positive average effect persists. + +## E60 filtered shared drivers for a frozen cross-channel adapter +Hypothesis: earlier joint adapters saw lagged shared latent drivers but no channel-specific response filtering. A synthetic fast driver and a smoothed response may better represent thermal and energy relationships. Compare original joint generation against causal exponential filtering of half the channels in half the synthetic groups. Filtering time constant is log-uniform from1 to316 steps, applied before observation noise with256 warmup points and stationary initial level. Real windows, latent drivers, coefficients, noise, signs and scales use matched main RNG draws. +- Parent: own E55 partial_delta12k checkpoint, SHA-256721d1029284ea6f36d4c6f169eb001382a97a2848953fad84e3e62fb5a222802. All original weights frozen. Add the previously tested zero-output cross-channel attention adapter (1051136 parameters). Every instance is forecast; one-channel inputs have the identity adapter. +- Data: the26 allow-listed sources in packed_joint plus the original locally generated multivariate latent-driver generator. Synthetic fraction0.30. Candidate adds the declared filtered-response generator. No validation input or labels enter training. +- Matched seed137; independent filter seed400140. Groups16, channels2/3/4/8 with probabilities0.4/0.2/0.2/0.2; contexts512/1024/2048/4096 and horizons32/128/512/1024 follow the original joint sampler. Paired-sign loss in both arms, AdamW LR0.0002,6000 steps, save1000/3000/6000 for diagnostics. One shared H100; training elapsed time will be recorded separately for each arm. +- Selection: compare all97 configurations and both earlier cutoffs against the frozen parent and matched control. First verify sampler matching, identity initialization and maximum-shape memory without optimizer updates. No outcome yet. + +## E56 logarithmic window loss3000 +- Checkpoint SHA-256: `14dd06fb6dff3c336f5aa26b8525d7ccb921a80b3e7be4d22b285584c14ff3bd`. +- Evaluation: 97 configurations, 9473 instances, 0 failed configurations; 28.476420640945435 seconds. +- Overall skill 0.357135; relative MASE 0.765561; relative WQL 0.539835. +- term skill: long=0.3893, medium=0.3998, short=0.3270. +- domain skill: Econ/Fin=0.1142, Energy=0.1808, Healthcare=0.3930, Nature=0.4235, Sales=0.3538, Transport=0.4615, Web/CloudOps=0.5024. +- frequency skill: A=0.3804, D=0.3293, H=0.3825, M=0.1125, Q=0.2032, S=0.4413, T=0.3984, W=0.2094. +- variates skill: multivariate=0.3893, univariate=0.3303. +- Outcome: Below matched control; the loss transformation is not selected. + +## E56 logarithmic window loss6000 +- Checkpoint SHA-256: `3346c86c6ce73e739fdd2a286b7cd4c1dab7430f6ee1ea8056b8db4943c48d66`. +- Evaluation: 97 configurations, 9473 instances, 0 failed configurations; 21.688469886779785 seconds. +- Overall skill 0.357689; relative MASE 0.764496; relative WQL 0.539655. +- term skill: long=0.3904, medium=0.4011, short=0.3270. +- domain skill: Econ/Fin=0.1167, Energy=0.1822, Healthcare=0.3871, Nature=0.4260, Sales=0.3525, Transport=0.4624, Web/CloudOps=0.5018. +- frequency skill: A=0.3766, D=0.3301, H=0.3834, M=0.1073, Q=0.2061, S=0.4406, T=0.3995, W=0.2098. +- variates skill: multivariate=0.3901, univariate=0.3306. +- Outcome: Skill0.357689 versus matched control0.358628; second regression. Stop and retain existing linear window loss. + +## E54 recent4096 matched control final12000 +- Checkpoint SHA-256: `372edd6a03da9f577992a9cf6363b26efe7b11b35fc3aed2d50868566efd0c71`. +- Evaluation: 97 configurations, 9473 instances, 0 failed configurations; 23.02079463005066 seconds. +- Overall skill 0.375764; relative MASE 0.744880; relative WQL 0.523131. +- term skill: long=0.4000, medium=0.4083, short=0.3532. +- domain skill: Econ/Fin=0.1410, Energy=0.2368, Healthcare=0.4240, Nature=0.4300, Sales=0.3368, Transport=0.4653, Web/CloudOps=0.5016. +- frequency skill: A=0.3753, D=0.3535, H=0.3960, M=0.0712, Q=0.2025, S=0.4230, T=0.4374, W=0.2130. +- variates skill: multivariate=0.3961, univariate=0.3591. +- Outcome: Finished12000 steps in2491.2 training-loop seconds. Small gain over frozen parent; await the8192 arm before interpretation. + +## E58 widened146M first4000 +- Checkpoint SHA-256: `a8e3dbf8f591804fb3ac6c72ac632dd9e18038e4da7f195208e56f85f41ecd29`. +- Evaluation: 97 configurations, 9473 instances, 0 failed configurations; 34.12893605232239 seconds. +- Overall skill 0.374121; relative MASE 0.747837; relative WQL 0.523810. +- term skill: long=0.3989, medium=0.4070, short=0.3512. +- domain skill: Econ/Fin=0.1400, Energy=0.2366, Healthcare=0.4144, Nature=0.4278, Sales=0.3414, Transport=0.4641, Web/CloudOps=0.4992. +- frequency skill: A=0.3730, D=0.3465, H=0.3947, M=0.0955, Q=0.1987, S=0.4198, T=0.4367, W=0.2046. +- variates skill: multivariate=0.3940, univariate=0.3578. +- Outcome: Ahead of matched37M control by0.000510, but below initial checkpoint. Continue the prespecified longer capacity comparison. + +## E58 matched37M first4000 +- Checkpoint SHA-256: `65969ac2e314e6103c326ab0fe1c550d53a285833d9f983e1c1cdff0d7fb66b3`. +- Evaluation: 97 configurations, 9473 instances, 0 failed configurations; 23.00419569015503 seconds. +- Overall skill 0.373612; relative MASE 0.748644; relative WQL 0.524097. +- term skill: long=0.3990, medium=0.4070, short=0.3502. +- domain skill: Econ/Fin=0.1392, Energy=0.2363, Healthcare=0.4121, Nature=0.4272, Sales=0.3410, Transport=0.4638, Web/CloudOps=0.4989. +- frequency skill: A=0.3725, D=0.3451, H=0.3948, M=0.0947, Q=0.1985, S=0.4190, T=0.4363, W=0.2034. +- variates skill: multivariate=0.3937, univariate=0.3572. +- Outcome: Below starting checkpoint; matched capacity comparison continues. + +E56 stop receipt: {"stopped_utc": "2026-10-22T05:53:09.078048+00:00", "reason": "Main screen below matched E38 control at both3000 and6000; prune negative branch.", "final_checkpoint": "/workspace/research/runs/log_window_loss/ema006767.pt", "final_checkpoint_sha256": "ec25440f0d11ac776874679e366255ce9cf54138f2e6802efba22bc88157d06c", "final_step": 6767, "elapsed_training_process_seconds": null} + +E56 measured training-process elapsed time was2298.259 seconds (the previous receipt field was null because the reader used the wrong key; corrected in log_window_loss_stop_receipt.json). + +E60 checks passed: { + "cpu_check_seconds": 1.9617000540019944, + "changed_synthetic_context_values": 21054, + "identity_matches_parent_bitwise": true, + "main_and_filter_rng_matched": true, + "real_windows_unchanged": true, + "optimizer_updates": 0, + "gpu_fixture_seconds": 1.0786702629411593, + "allocated_mib": 2625.63525390625, + "reserved_mib": 3872.0, + "parameters": 37851936, + "trainable_parameters": 1051136, + "loss": 0.3574138879776001 +} +Both arms now start on the shared H100. No optimizer updates occurred during fixtures. + +## E61 log-uniform autoregressive memory in synthetic windows +Hypothesis: the original AR coefficient uniform0.2..0.995 overwhelmingly supplies rapidly decorrelating noise. Energy and short-horizon electricity remain weak across cutoffs; slow stochastic level variation may be missing. Change only the AR coefficient draw to phi=exp(-1/tau), log10(tau) uniform0..4. Keep the existing zero initial state and sqrt(1-phi^2) innovation normalization. All Fourier seasons, trends, changepoints, intermittency, observation-noise draws, synthetic fraction and real-window draws remain matched. +- Matched reference is the already completed E42 partial_targets run; do not retrain it. Same own E25 recency12000 initialization, seed79, packed_sample95-source corpus, B256, AdamW LR0.00005,12000 steps, saves3000/6000/12000. The E42 handling of partially observed targets is unchanged. +- Source declaration if selected: original local generator plus the modified log-uniform AR-time-constant generator, seed79. No new external data or pretrained assets. +- Scheduled after E52 releases its H100 allocation. Validate main screening and both earlier cutoffs against E42 at matched steps, then consider a matched parameter-difference transfer only if the learned effect is useful. No outcome yet. + +E61 sampler checks passed: {"cpu_seconds": 4.961035819957033, "main_rng_matched": true, "real_windows_unchanged": true, "periods_and_missing_masks_unchanged": true, "changed_synthetic_context_values": 31554, "optimizer_updates": 0} + +## E60 joint_filtered_control_ema0 +- Checkpoint SHA-256: `3a7e46a74247ccf366c4e2b950fe1e1cc3625c52f7db1f6fdebab261d1d66ae8`. +- Evaluation: 97 configurations, 9473 instances, 0 failed configurations; 24.121415376663208 seconds. +- Overall skill 0.375956; relative MASE 0.746201; relative WQL 0.521885. +- term skill: long=0.3991, medium=0.4059, short=0.3549. +- domain skill: Econ/Fin=0.1387, Energy=0.2371, Healthcare=0.4442, Nature=0.4287, Sales=0.3348, Transport=0.4657, Web/CloudOps=0.4989. +- frequency skill: A=0.3739, D=0.3506, H=0.3961, M=0.1054, Q=0.1984, S=0.4235, T=0.4345, W=0.2191. +- variates skill: multivariate=0.3928, univariate=0.3622. +- Outcome: Initial identity is exact. At1000 both adapters show a small main-screen improvement; filtered versus control difference0.000043 is inconclusive. Continue to matched3000/6000 and earlier-cutoff diagnostics. + +## E60 joint_filtered_control_ema1000 +- Checkpoint SHA-256: `8f3493cddbf6579a69ed813b056f8a16110f6309d7589016703b68022bef205c`. +- Evaluation: 97 configurations, 9473 instances, 0 failed configurations; 26.04537320137024 seconds. +- Overall skill 0.376238; relative MASE 0.745929; relative WQL 0.521603. +- term skill: long=0.4000, medium=0.4050, short=0.3554. +- domain skill: Econ/Fin=0.1387, Energy=0.2375, Healthcare=0.4442, Nature=0.4301, Sales=0.3348, Transport=0.4657, Web/CloudOps=0.4986. +- frequency skill: A=0.3739, D=0.3521, H=0.3962, M=0.1054, Q=0.1984, S=0.4213, T=0.4350, W=0.2191. +- variates skill: multivariate=0.3934, univariate=0.3622. +- Outcome: Initial identity is exact. At1000 both adapters show a small main-screen improvement; filtered versus control difference0.000043 is inconclusive. Continue to matched3000/6000 and earlier-cutoff diagnostics. + +## E60 joint_filtered_candidate_ema1000 +- Checkpoint SHA-256: `444ffa52005a89ef409a284a2a952d82da7f760e17f1ea865f118b1bb878fec5`. +- Evaluation: 97 configurations, 9473 instances, 0 failed configurations; 25.930442571640015 seconds. +- Overall skill 0.376281; relative MASE 0.745845; relative WQL 0.521590. +- term skill: long=0.4002, medium=0.4050, short=0.3554. +- domain skill: Econ/Fin=0.1387, Energy=0.2376, Healthcare=0.4442, Nature=0.4299, Sales=0.3348, Transport=0.4657, Web/CloudOps=0.4988. +- frequency skill: A=0.3739, D=0.3524, H=0.3961, M=0.1054, Q=0.1984, S=0.4208, T=0.4351, W=0.2191. +- variates skill: multivariate=0.3935, univariate=0.3622. +- Outcome: Initial identity is exact. At1000 both adapters show a small main-screen improvement; filtered versus control difference0.000043 is inconclusive. Continue to matched3000/6000 and earlier-cutoff diagnostics. + +## E58 matched37M at8000 +- Checkpoint SHA-256: `2e8a53df1226d34548c14d2f6aa29531e9562825e077658040ad03cf1584e407`. +- Evaluation: 97 configurations, 9473 instances, 0 failed configurations; 26.826340913772583 seconds. +- Overall skill 0.374665; relative MASE 0.746940; relative WQL 0.523529. +- term skill: long=0.3997, medium=0.4070, short=0.3518. +- domain skill: Econ/Fin=0.1410, Energy=0.2366, Healthcare=0.4123, Nature=0.4301, Sales=0.3395, Transport=0.4651, Web/CloudOps=0.4997. +- frequency skill: A=0.3794, D=0.3492, H=0.3961, M=0.0913, Q=0.2022, S=0.4225, T=0.4363, W=0.2001. +- variates skill: multivariate=0.3935, univariate=0.3592. +- Outcome: Recovered from the4000-step dip but remains below its parent. Await the matched146M checkpoint. + +## E31 amplitude synthesis final24000 with original mean-template runtime +- Checkpoint SHA-256: `ecab9102fc11909555044c67dffda85280e06a375f1733351c7e9a39bf2ce9bb`. +- Evaluation: 97 configurations, 9473 instances, 0 failed configurations; 24.28603458404541 seconds. +- Overall skill 0.361862; relative MASE 0.761019; relative WQL 0.535099. +- term skill: long=0.3937, medium=0.4047, short=0.3318. +- domain skill: Econ/Fin=0.1167, Energy=0.1881, Healthcare=0.4079, Nature=0.4215, Sales=0.3445, Transport=0.4600, Web/CloudOps=0.5131. +- frequency skill: A=0.3736, D=0.3413, H=0.3832, M=0.0977, Q=0.2001, S=0.4426, T=0.4085, W=0.2080. +- variates skill: multivariate=0.3973, univariate=0.3321. +- Outcome: Finished24000 steps in7471.1 training-loop seconds. Original-rule screening score slightly exceeds matched E25; current-rule and ensemble comparisons are recorded separately. This checkpoint is member1 of E59. + +## E60 joint_filtered_control_ema3000 +- Checkpoint SHA-256: `97b73dfac1a108dd79b419bef760ae281f25de78496cf982297bcd6c46f2bf3b`. +- Evaluation: 97 configurations, 9473 instances, 0 failed configurations; 25.558463096618652 seconds. +- Overall skill 0.376364; relative MASE 0.746340; relative WQL 0.521106. +- term skill: long=0.4004, medium=0.4033, short=0.3562. +- domain skill: Econ/Fin=0.1387, Energy=0.2353, Healthcare=0.4442, Nature=0.4338, Sales=0.3348, Transport=0.4657, Web/CloudOps=0.4989. +- frequency skill: A=0.3739, D=0.3535, H=0.3966, M=0.1054, Q=0.1984, S=0.4217, T=0.4342, W=0.2193. +- variates skill: multivariate=0.3937, univariate=0.3622. +- Outcome: Both remain ahead of the frozen parent on the main screen. Unfiltered control now leads by 0.000084; earlier-cutoff evaluations are running. Continue both to 6000 as specified. + +## E60 joint_filtered_candidate_ema3000 +- Checkpoint SHA-256: `c37a8eddae4fc7419ea3ae0a28efc99dd6346e84f2d1807b5b6cb4013eeb2699`. +- Evaluation: 97 configurations, 9473 instances, 0 failed configurations; 25.436699151992798 seconds. +- Overall skill 0.376280; relative MASE 0.746320; relative WQL 0.521261. +- term skill: long=0.4005, medium=0.4035, short=0.3559. +- domain skill: Econ/Fin=0.1387, Energy=0.2352, Healthcare=0.4442, Nature=0.4324, Sales=0.3348, Transport=0.4657, Web/CloudOps=0.4997. +- frequency skill: A=0.3739, D=0.3528, H=0.3961, M=0.1054, Q=0.1984, S=0.4201, T=0.4351, W=0.2193. +- variates skill: multivariate=0.3935, univariate=0.3622. +- Outcome: Both remain ahead of the frozen parent on the main screen. Unfiltered control now leads by 0.000084; earlier-cutoff evaluations are running. Continue both to 6000 as specified. + +## E62 matched horizon-training correction transferred to the selected backbone +Hypothesis: E52's varied requested horizons may add to E42's partial-target correction when transferred to the later E47 backbone. Repeat the successful E55 matched-difference method with the E52 final checkpoint: E47 confidence6000 + E52 horizon_jitter12000 - E38 control12000. Coefficient is fixed at 1.0, with no sweep. This is equivalently the E55 backbone plus the E52-minus-E42 horizon-training difference, apart from floating-point order. Confidence projection remains unchanged. All three parents originate from our own random initialization and permitted sources. +- No new training or data. CPU merge records parent hashes and elapsed time; the candidate will use the current fixed inference rules. +- Compare the main screen and both earlier cutoffs against E55 and the current E59 package before any full validation or publication. A single main-screen gain is insufficient. No outcome yet. + +E61 long_memory_synth training started at 2026-10-22T06:01:39Z, after the preceding trainer exited with its final checkpoint. Settings are unchanged from the declared comparison. + +## E60 joint_filtered_control at3000, backcast_evals +- Checkpoint SHA-256: `97b73dfac1a108dd79b419bef760ae281f25de78496cf982297bcd6c46f2bf3b`. +- Evaluation: 97 configurations, 9330 instances, 0 failed configurations; 25.748270750045776 seconds. +- Overall skill 0.334618; relative MASE 0.799261; relative WQL 0.553928. +- term skill: long=0.3961, medium=0.3571, short=0.3004. +- domain skill: Econ/Fin=0.1631, Energy=0.2278, Healthcare=0.4091, Nature=0.3620, Sales=0.3971, Transport=0.3715, Web/CloudOps=0.4461. +- frequency skill: A=0.3254, D=0.3492, H=0.3639, M=0.1918, Q=0.2328, S=0.3399, T=0.3325, W=0.2872. +- variates skill: multivariate=0.3503, univariate=0.3218. +- Outcome: Reject the adapter branch: both earlier cutoffs regress against E55, by more than the main-screen gain. Filtering does not fix this failure. Prune both runs before their planned6000 endpoint; retain stop checkpoints for provenance. + +## E60 joint_filtered_control at3000, backcast2_evals +- Checkpoint SHA-256: `97b73dfac1a108dd79b419bef760ae281f25de78496cf982297bcd6c46f2bf3b`. +- Evaluation: 94 configurations, 8934 instances, 0 failed configurations; 23.68830132484436 seconds. +- Overall skill 0.355826; relative MASE 0.774983; relative WQL 0.535445. +- term skill: long=0.3630, medium=0.3845, short=0.3417. +- domain skill: Econ/Fin=0.1127, Energy=0.2316, Healthcare=0.3474, Nature=0.4679, Sales=0.5489, Transport=0.4199, Web/CloudOps=0.4270. +- frequency skill: A=0.3556, D=0.4260, H=0.3879, M=0.1532, Q=0.1527, S=0.2768, T=0.3543, W=0.2578. +- variates skill: multivariate=0.3579, univariate=0.3541. +- Outcome: Reject the adapter branch: both earlier cutoffs regress against E55, by more than the main-screen gain. Filtering does not fix this failure. Prune both runs before their planned6000 endpoint; retain stop checkpoints for provenance. + +## E60 joint_filtered_candidate at3000, backcast_evals +- Checkpoint SHA-256: `c37a8eddae4fc7419ea3ae0a28efc99dd6346e84f2d1807b5b6cb4013eeb2699`. +- Evaluation: 97 configurations, 9330 instances, 0 failed configurations; 24.67229199409485 seconds. +- Overall skill 0.334545; relative MASE 0.799017; relative WQL 0.554218. +- term skill: long=0.3960, medium=0.3575, short=0.3001. +- domain skill: Econ/Fin=0.1631, Energy=0.2272, Healthcare=0.4091, Nature=0.3627, Sales=0.3971, Transport=0.3715, Web/CloudOps=0.4460. +- frequency skill: A=0.3254, D=0.3486, H=0.3640, M=0.1918, Q=0.2328, S=0.3383, T=0.3328, W=0.2870. +- variates skill: multivariate=0.3502, univariate=0.3218. +- Outcome: Reject the adapter branch: both earlier cutoffs regress against E55, by more than the main-screen gain. Filtering does not fix this failure. Prune both runs before their planned6000 endpoint; retain stop checkpoints for provenance. + +## E60 joint_filtered_candidate at3000, backcast2_evals +- Checkpoint SHA-256: `c37a8eddae4fc7419ea3ae0a28efc99dd6346e84f2d1807b5b6cb4013eeb2699`. +- Evaluation: 94 configurations, 8934 instances, 0 failed configurations; 24.532593488693237 seconds. +- Overall skill 0.356065; relative MASE 0.774672; relative WQL 0.535261. +- term skill: long=0.3639, medium=0.3845, short=0.3418. +- domain skill: Econ/Fin=0.1127, Energy=0.2321, Healthcare=0.3474, Nature=0.4679, Sales=0.5489, Transport=0.4199, Web/CloudOps=0.4274. +- frequency skill: A=0.3556, D=0.4256, H=0.3883, M=0.1532, Q=0.1527, S=0.2764, T=0.3550, W=0.2576. +- variates skill: multivariate=0.3584, univariate=0.3541. +- Outcome: Reject the adapter branch: both earlier cutoffs regress against E55, by more than the main-screen gain. Filtering does not fix this failure. Prune both runs before their planned6000 endpoint; retain stop checkpoints for provenance. + +## E63 corpus expansion at 146M capacity +Hypothesis: E38's larger packed corpus did not improve the 37M model over 12,000 continuation steps, but a larger model with a longer schedule may benefit from the additional diversity. Add one matched data arm to E58: the same 146M initialization and optimization, using packed_expanded instead of packed_sample. The already-running E58 146M arm is the control; it is not retrained. +- Both packs contain the same 95 allow-listed directories. Source probabilities are read from packed_sample in both arms, so this changes within-source diversity rather than source balance. The expanded pack contains 5,653,290,832 points versus 958,745,103 in the control. No new generator or external source. +- Same own wide_capacity_initial checkpoint, seed 113, B96, 32,000 steps, base LR 0.00003, matched width-dependent AdamW groups, independently sign-augmented loss and EMA. Same runtime and batch64 for validation. All parameters train. +- First verify that the new loader reproduces the control's sampler exactly when given the control pack, and that expanded source probabilities match. The model and maximum tensor shapes are unchanged from the measured E58 memory fixture. +- Start after E60 adapter jobs stop. Compare checkpoints at 4000/8000/16000/24000/32000; evaluate earlier cutoffs before selection. This explicitly tests the interaction of corpus diversity and capacity, rather than repeating the small-model data comparison. No outcome yet. + +E63 checks passed: {"cpu_seconds": 6.780377898016013, "control_sampler_bitwise_equal": true, "source_probabilities_identical": true, "optimizer_updates": 0, "initial_checkpoint_sha256": "c3d41b52987eb033dcc60b4cd59e13e8adb75e319fe5f5bc043296faaac04849"} + +E60 joint_filtered_control stopped: {"final_step": 4691, "final_checkpoint": "/workspace/research/runs/joint_filtered_control/ema004691.pt", "checkpoint_sha256": "8d48a377b49cfd980a973aa9505565a537ed69c27c621ccf39b19d5787fb720b", "last_logged_training_seconds": 592.3, "last_logged_step": 4650, "all_original_tensors_bitwise_unchanged": true, "reason": "Both earlier cutoffs regress at3000 by more than the main gain; negative branch pruned."} + +E60 joint_filtered_candidate stopped: {"final_step": 4648, "final_checkpoint": "/workspace/research/runs/joint_filtered_candidate/ema004648.pt", "checkpoint_sha256": "1574e71b8877b5620a5929a55df22347c9475184194dec37ccb38c0eb71ed9c8", "last_logged_training_seconds": 590.2, "last_logged_step": 4600, "all_original_tensors_bitwise_unchanged": true, "reason": "Both earlier cutoffs regress at3000 by more than the main gain; negative branch pruned."} + +## E52 varied requested horizons final12000 +- Checkpoint SHA-256: `830179d763916a1065fc615d2c5e22f4a3b5b19390dde707ab0f057e13cadff6`. +- Evaluation: 97 configurations, 9473 instances, 0 failed configurations; 23.63369631767273 seconds. +- Overall skill 0.362379; relative MASE 0.760035; relative WQL 0.534923. +- term skill: long=0.3913, medium=0.4055, short=0.3334. +- domain skill: Econ/Fin=0.1099, Energy=0.1916, Healthcare=0.4150, Nature=0.4272, Sales=0.3410, Transport=0.4599, Web/CloudOps=0.5083. +- frequency skill: A=0.3715, D=0.3433, H=0.3828, M=0.1086, Q=0.1994, S=0.4416, T=0.4075, W=0.2138. +- variates skill: multivariate=0.3960, univariate=0.3343. +- Outcome: Completed in3887.5 training-loop seconds (3897.218 process seconds). Main improves versus matched E42; inspect both earlier cutoffs and E62 transfer. + +## E52 final12000 first earlier cutoff +- Checkpoint SHA-256: `830179d763916a1065fc615d2c5e22f4a3b5b19390dde707ab0f057e13cadff6`. +- Evaluation: 97 configurations, 9330 instances, 0 failed configurations; 19.096883296966553 seconds. +- Overall skill 0.331566; relative MASE 0.804478; relative WQL 0.555396. +- term skill: long=0.3906, medium=0.3563, short=0.2975. +- domain skill: Econ/Fin=0.1463, Energy=0.2302, Healthcare=0.4120, Nature=0.3520, Sales=0.3984, Transport=0.3650, Web/CloudOps=0.4442. +- frequency skill: A=0.3138, D=0.3562, H=0.3588, M=0.1622, Q=0.2341, S=0.3415, T=0.3316, W=0.2747. +- variates skill: multivariate=0.3480, univariate=0.3182. +- Outcome: Improves over E42 by0.000492. + +## E52 final12000 second earlier cutoff +- Checkpoint SHA-256: `830179d763916a1065fc615d2c5e22f4a3b5b19390dde707ab0f057e13cadff6`. +- Evaluation: 94 configurations, 8934 instances, 0 failed configurations; 18.59932589530945 seconds. +- Overall skill 0.353232; relative MASE 0.776549; relative WQL 0.538676. +- term skill: long=0.3692, medium=0.3768, short=0.3380. +- domain skill: Econ/Fin=0.0898, Energy=0.2297, Healthcare=0.3632, Nature=0.4567, Sales=0.5538, Transport=0.4144, Web/CloudOps=0.4314. +- frequency skill: A=0.3506, D=0.4238, H=0.3876, M=0.1727, Q=0.1527, S=0.2824, T=0.3479, W=0.2436. +- variates skill: multivariate=0.3614, univariate=0.3466. +- Outcome: Improves over E42 by0.000136. The final horizon variation treatment improves all three matched screening windows. + +## E62 transferred horizon correction main screen +- Checkpoint SHA-256: `22c08571978be31ba57368eb983089a40a44d56d4ae5e17da41afd2a761a258c`. +- Evaluation: 97 configurations, 9473 instances, 0 failed configurations; 23.18038821220398 seconds. +- Overall skill 0.377343; relative MASE 0.744367; relative WQL 0.520847. +- term skill: long=0.3993, medium=0.4068, short=0.3570. +- domain skill: Econ/Fin=0.1398, Energy=0.2376, Healthcare=0.4513, Nature=0.4321, Sales=0.3339, Transport=0.4661, Web/CloudOps=0.4995. +- frequency skill: A=0.3721, D=0.3559, H=0.3958, M=0.1049, Q=0.1994, S=0.4226, T=0.4360, W=0.2230. +- variates skill: multivariate=0.3942, univariate=0.3636. +- Outcome: Main gain0.001387 over E55. CPU composition1.266 seconds; await both earlier-cutoff checks before full validation. + +## E62 transferred horizon correction first earlier cutoff +- Checkpoint SHA-256: `22c08571978be31ba57368eb983089a40a44d56d4ae5e17da41afd2a761a258c`. +- Evaluation: 97 configurations, 9330 instances, 0 failed configurations; 22.59067988395691 seconds. +- Overall skill 0.336227; relative MASE 0.797258; relative WQL 0.552638. +- term skill: long=0.3980, medium=0.3585, short=0.3020. +- domain skill: Econ/Fin=0.1632, Energy=0.2299, Healthcare=0.4035, Nature=0.3641, Sales=0.3973, Transport=0.3720, Web/CloudOps=0.4497. +- frequency skill: A=0.3264, D=0.3494, H=0.3653, M=0.1894, Q=0.2332, S=0.3419, T=0.3364, W=0.2851. +- variates skill: multivariate=0.3539, univariate=0.3218. +- Outcome: Improves over E55 by0.000618 and current E59 ensemble by0.000525; second earlier cutoff pending. + +## E64 replace the horizon-corrected member in the fixed equal-weight ensemble +Hypothesis: E62 improves all three windows against E55, but the current E59 ensemble remains stronger at the second earlier cutoff. Replace only member0 of E59 with E62 and retain the amplitude-trained member1, applying the same equal quantile average after each member's fixed rules. No new weights, training, blend coefficient or postprocessing is introduced. Every member still forecasts every instance. +- Use cached forecasts first on the main screen and both earlier cutoffs. Compare the candidate ensemble with E62 alone and E59. Validate the actual package if the composition offers a useful improvement. + +## E62 transferred horizon correction second earlier cutoff +- Checkpoint SHA-256: `22c08571978be31ba57368eb983089a40a44d56d4ae5e17da41afd2a761a258c`. +- Evaluation: 94 configurations, 8934 instances, 0 failed configurations; 21.85834312438965 seconds. +- Overall skill 0.357693; relative MASE 0.772232; relative WQL 0.534241. +- term skill: long=0.3647, medium=0.3858, short=0.3439. +- domain skill: Econ/Fin=0.1095, Energy=0.2360, Healthcare=0.3457, Nature=0.4673, Sales=0.5494, Transport=0.4200, Web/CloudOps=0.4312. +- frequency skill: A=0.3533, D=0.4246, H=0.3905, M=0.1533, Q=0.1508, S=0.2809, T=0.3574, W=0.2594. +- variates skill: multivariate=0.3632, univariate=0.3532. +- Outcome: Improves over E55 by0.000222. All three screening windows improve against the single-model parent; E59 still leads at this cutoff. Proceed to full validation and the fixed E64 ensemble comparison. + +E64 member checkpoint hashes: 22c08571978be31ba57368eb983089a40a44d56d4ae5e17da41afd2a761a258c, ecab9102fc11909555044c67dffda85280e06a375f1733351c7e9a39bf2ce9bb. + +E64 cached screen: skill 0.376788946; relative MASE 0.745126449; relative WQL 0.521243098; CPU elapsed 4.12 seconds. Group skill: {"term": {"short": 0.3554964007817075, "medium": 0.4073693459600539, "long": 0.3998307241854733}, "domain": {"Econ/Fin": 0.14130300023652653, "Energy": 0.2369496172656066, "Healthcare": 0.4331271903068751, "Nature": 0.4295973732895463, "Sales": 0.3381125790990753, "Transport": 0.4660477929672022, "Web/CloudOps": 0.5028903628931379}, "freq": {"A-DEC": 0.37465521703273497, "Q-DEC": 0.20133386157730448, "M": 0.09799796329514798, "W-SUN": 0.09310304137899561, "D": 0.35177652554445227, "H": 0.39569724381500315, "15T": 0.21510285937582785, "W-FRI": -0.01717810068114023, "10T": 0.6134978939570246, "W-TUE": 0.5590219029222432, "W-THU": 0.20713023925638596, "W-WED": 0.3147893218102069, "5T": 0.5146554293758923, "10S": 0.42304338912946016}}. + +E64 cached backcast: skill 0.336038010; relative MASE 0.797789283; relative WQL 0.552583914; CPU elapsed 3.90 seconds. Group skill: {"term": {"short": 0.3017705847743448, "medium": 0.3583628431586988, "long": 0.3977762964359516}, "domain": {"Econ/Fin": 0.16247452271830498, "Energy": 0.22924210402608347, "Healthcare": 0.4037429866174578, "Nature": 0.3634291235876055, "Sales": 0.3979195783227222, "Transport": 0.3717322673047254, "Web/CloudOps": 0.45027750430374125}, "freq": {"A-DEC": 0.31962125220900417, "Q-DEC": 0.23151630865404227, "M": 0.19676862244049742, "W-SUN": 0.04104954385433246, "D": 0.3494141749986718, "H": 0.36512969667883677, "15T": 0.22647340624655954, "W-FRI": 0.26044659511767176, "10T": 0.3206375756185784, "W-TUE": 0.5251272756681418, "W-THU": 0.23336875275806457, "W-WED": 0.34380336710053805, "5T": 0.4388723441407405, "10S": 0.34124569112919356}}. + +E64 cached backcast2: skill 0.358773194; relative MASE 0.771487726; relative WQL 0.532959635; CPU elapsed 3.84 seconds. Group skill: {"term": {"short": 0.3455453575305818, "medium": 0.3850562697420571, "long": 0.3662794409758179}, "domain": {"Econ/Fin": 0.11178929070509958, "Energy": 0.2358139051710867, "Healthcare": 0.3485087569088834, "Nature": 0.46931745466541086, "Sales": 0.5520970513032182, "Transport": 0.4203697870790297, "Web/CloudOps": 0.4324624263189104}, "freq": {"A-DEC": 0.3552674881858966, "Q-DEC": 0.15052699940899794, "M": 0.14543941174604302, "W-SUN": 0.05780563284435891, "D": 0.4280091613762501, "H": 0.39053406736994467, "15T": 0.10558086695082369, "W-FRI": 0.14677601366514947, "10T": 0.4931102944101511, "W-TUE": 0.10259191794259981, "W-THU": 0.32777977287160787, "W-WED": 0.5368109233756173, "5T": 0.46691593361082795, "10S": 0.2842010268357835}}. + +E64 improves over current E59 on all three cutoffs. Versus E62 alone, it trails on the main screen and first earlier cutoff but gains at the second. Both complete packages will receive full validation; the current root remains E59 until that comparison and determinism checks finish. + +E64 actual package matches the cached equal-weight composition bitwise for every quantile in all 97 screening configurations. Proceed to exact full-package validation. + +## E65 recent normalization with an 8192-point encoder context +Hypothesis: adding older history changes the normalization reference as well as supplying extra observations. E54's final8192 model scores0.375118 versus its matched4096 control0.375764. Test whether retaining the recent4096 mean and standard deviation makes older context easier to use. The encoder still receives all8192 points; every point and future target uses the recent reference frame. If the recent segment has no finite observations, fall back to the full available context. +- Change only normalization. Same E54 initialization from own recency24000, seed101, matched packed_sample windows, B128, LR0.00003,12000 steps, maximum context8192 and sample context8192. Contexts of at most4096 retain the original formula. Fixed inference corrections still see only4096 observations. The existing E54 long-context run is the control. No new sources or generators. +- Training-data diagnostic: 256 real allowed-corpus windows, seed151;101 had sufficient older and recent history. Full/recent standard-deviation ratio p10/p50/p90 was0.932/1.003/1.255; absolute mean shift in recent standard deviations was0.0068/0.0512/0.4089. This motivates testing the frame, without establishing it as the cause of the regression. Diagnostic CPU time1.90 seconds; no validation data used. +- Verify exact equivalence for contexts at most4096 and finite fallback behavior before launch. Check main screens at3000/6000/12000 and earlier cutoffs before selection. No outcome yet. + +E65 checks passed: {"cpu_seconds": 0.7186618210980669, "short_context_normalization_bitwise_equal": true, "short_context_forecast_bitwise_equal": true, "recent_reference_and_empty_recent_fallback_verified": true, "all_missing_finite": true, "optimizer_updates": 0} + +## E62 exact full-package validation +- Checkpoint SHA-256: `22c08571978be31ba57368eb983089a40a44d56d4ae5e17da41afd2a761a258c`. +- Evaluation: 97 configurations, 151170 instances, 0 failed configurations; not separately timed seconds. +- Overall skill 0.373420; relative MASE 0.747096; relative WQL 0.525505. +- term skill: long=0.3931, medium=0.4057, short=0.3528. +- domain skill: Econ/Fin=0.1173, Energy=0.2305, Healthcare=0.4574, Nature=0.4321, Sales=0.3479, Transport=0.4663, Web/CloudOps=0.4919. +- frequency skill: A=0.2918, D=0.3600, H=0.3910, M=0.1281, Q=0.1853, S=0.4226, T=0.4289, W=0.2156. +- variates skill: multivariate=0.3899, univariate=0.3600. +- Outcome: Full skill0.373420 versus E59 published0.372254. All97 configurations and151170 instances pass; no quantile crossings. Actual inference116.659 seconds. Await E64 full comparison and relocation/determinism before choosing the next publication. + +## E54 context8192 final12000 +- Checkpoint SHA-256: `90a1a9da78714594078b3cafd32b1812d633f5d6bf85ba8bfa60d09fbc3ebd38`. +- Evaluation: 97 configurations, 9473 instances, 0 failed configurations; 25.50181746482849 seconds. +- Overall skill 0.375118; relative MASE 0.744591; relative WQL 0.524419. +- term skill: long=0.4042, medium=0.4057, short=0.3513. +- domain skill: Econ/Fin=0.1426, Energy=0.2337, Healthcare=0.4381, Nature=0.4222, Sales=0.3378, Transport=0.4707, Web/CloudOps=0.5001. +- frequency skill: A=0.3749, D=0.3573, H=0.3955, M=0.0779, Q=0.2010, S=0.4259, T=0.4332, W=0.2127. +- variates skill: multivariate=0.3910, univariate=0.3622. +- Outcome: Finished in3285.3 training-loop seconds (3296.255 process seconds). Main skill0.375118 remains below matched4096 control0.375764. Do not select this checkpoint; E65 isolates the normalization-frame hypothesis. + +## E58 widened146M at8000 +- Checkpoint SHA-256: `822fdf9f16fb741ab5e23728ad13cac2838a70ad4cfa23a191c9373294a6b4d5`. +- Evaluation: 97 configurations, 9473 instances, 0 failed configurations; 33.286028146743774 seconds. +- Overall skill 0.374330; relative MASE 0.747410; relative WQL 0.523759. +- term skill: long=0.3993, medium=0.4074, short=0.3512. +- domain skill: Econ/Fin=0.1416, Energy=0.2364, Healthcare=0.4073, Nature=0.4301, Sales=0.3397, Transport=0.4652, Web/CloudOps=0.4995. +- frequency skill: A=0.3799, D=0.3459, H=0.3958, M=0.0911, Q=0.2002, S=0.4225, T=0.4364, W=0.2039. +- variates skill: multivariate=0.3933, univariate=0.3588. +- Outcome: Main skill0.374330 versus matched37M0.374665, reversing the small4000-step advantage. Both remain below initialization. Continue the prespecified32000-step capacity comparison; no capacity conclusion or package change yet. + +## E64 exact full-package validation after operator recovery +- Checkpoint SHA-256: `35306ec57b81c42e8fbdfab14adc96293400eee0dbd808fadbb3c973f9ff427e`. +- Evaluation: 97 configurations, 151170 instances, 0 failed configurations; not separately timed seconds. +- Overall skill 0.372871; relative MASE 0.747913; relative WQL 0.525850. +- term skill: long=0.3938, medium=0.4063, short=0.3513. +- domain skill: Econ/Fin=0.1184, Energy=0.2299, Healthcare=0.4400, Nature=0.4295, Sales=0.3508, Transport=0.4663, Web/CloudOps=0.4954. +- frequency skill: A=0.2911, D=0.3562, H=0.3909, M=0.1203, Q=0.1862, S=0.4230, T=0.4309, W=0.2097. +- variates skill: multivariate=0.3912, univariate=0.3579. +- Outcome: Full skill0.372871 beats E59 but trails E62 single0.373420. Both pass relocation/determinism. Select E62 single, retaining E64 as a replayable alternative. E64 full inference79.236 seconds on an otherwise idle H100; do not compare that timing directly with concurrent-training measurements. + +## Operator interruption and recovery, 2026-10-22 +All previous container processes were confirmed ended; the H100 was idle. No credentials were inspected. Completed reports and atomic checkpoints were retained. E64 full validation was rerun because no completed report survived. Both E62 and E64 passed asset hashes and independent relocation: [ + { + "package": "/run-state/workspace/research/candidate-horizon-delta12k", + "checkpoint_sha256": "22c08571978be31ba57368eb983089a40a44d56d4ae5e17da41afd2a761a258c", + "configurations": 3, + "bitwise_equal_after_relocation": true, + "finite_and_monotone": true, + "seconds": 6.016964558046311 + }, + { + "package": "/run-state/workspace/research/candidate-horizon-ensemble", + "checkpoint_sha256": "35306ec57b81c42e8fbdfab14adc96293400eee0dbd808fadbb3c973f9ff427e", + "configurations": 3, + "bitwise_equal_after_relocation": true, + "finite_and_monotone": true, + "seconds": 6.803807514021173 + } +] + + +Publication decision: E62 single has the highest exact full-validation skill among replayed candidates (0.373419858), improves all three screening cutoffs versus E55, and wins the main screen and first earlier cutoff against E64. E64 retains a second-earlier-cutoff advantage but is lower on full validation. Publish E62 with complete runtime, all own-checkpoint lineage, generator code, pinned requirements, this experiment log and the full report. Scores remain on the validation scale, not the held-out reward scale. + +## E66 matched recovery of interrupted research runs +The operator interruption ended all trainers. E58 146M had step/EMA8000, while its37M control also had12000; neither had Adam or sampler state. Both arms restart from their own step8000 and EMA8000, preserving a common comparison point. Fresh AdamW and a shared new sampler seed179 begin at global step8001, with400-step rewarmup and the original cosine schedule through32000. This is a documented matched continuation, not an exact resumption of the old optimizer trajectory. Existing control12000 is retained but is not the recovered comparison control. +- E63 expanded146M had only initialization saved, so it restarts from its own initial checkpoint with original seed113. It will receive the identical optimizer/stream reset at global8000 to match E58 recovery. E61 slow-memory and E65 recent normalization had no completed checkpoints, so they restart from their declared parent, original seeds and settings. No baseline or completed scientific comparison is retrained. +- New driver saves weights, EMA, optimizer, CPU/CUDA RNG, sampler and batch RNG states, and the prefetched next batch atomically every1000 steps. Independent interrupted/continuous fixture: {"seed": 191, "steps": 4, "batch": 2, "fixture_parameters": 164384, "purpose": "recovery fixture only; never selected", "maximum_model_difference": 1.2101430968414206e-14, "maximum_ema_difference": 2.4147350785597155e-15, "maximum_optimizer_difference": 7.095019016745141e-16, "rng_and_prefetched_batch_bitwise_equal": true, "note": "Complete state restored; GPU training replay differs by floating-point roundoff, so training replay is not claimed bitwise identical. Package inference checks are separately bitwise."}. Four optimizer updates per fixture path used only permitted data; fixture weights are never candidates. +- Work lost after the last usable checkpoints: E58 large at least800 steps, control at least1550 beyond its latest12000 (the matched restart also intentionally returns to8000); E63 at least1700; E61 at least2150; E65 at least300. Last logged elapsed times before interruption:2432.6,2101.5,388.0,542.2,71.8 seconds respectively. These are concurrent process times, not summed exclusive GPU time. + +## E67 end-to-end paired-sign training on the selected horizon-corrected model +Hypothesis: E50 updated only the output head and did not sustain a paired-loss gain. The full encoder/decoder may be able to learn complementary sign-orientation forecasts when optimized through the exact neural average used in inference. Compare two full-model continuations from own E62: both forward x and -x, but the control scores each orientation separately while the candidate scores their ordered-quantile average. This changes the loss, not the sampled windows, number of forward passes, architecture or inference. +- Both arms retain E52 random requested-horizon prefixes and E42 partial-target future-key masking, now integrated with the selected confidence features. At inference the requested horizon is fully available and the forward pass must remain bitwise identical at initialization to E62. +- Own parent horizon_delta12k.pt (SHA-25622c08571978be31ba57368eb983089a40a44d56d4ae5e17da41afd2a761a258c); seed197, independent horizon seed300200, packed_sample95 allowed sources and the same local generator, B64 distinct windows /128 signed rows, LR0.00002,12000 steps, all parameters train. Same warmup400 and cosine schedule. Every runtime member forecasts every instance; no validation data are used for gradients. +- Check initialization identity, paired-loss sign symmetry and the independence of unused future tokens. Measure maximum-shape memory before launch. Compare main and both earlier cutoffs; a main-only gain is insufficient. Complete recovery state includes both sampler RNGs. No outcome yet. + +E67 checks passed: { + "cpu_seconds": 3.4358641319558956, + "initial_forecast_bitwise_parent": true, + "unused_future_tokens_do_not_change_requested_prefix": true, + "paired_loss_sign_symmetric": true, + "matched_sampler_main_and_horizon_rng": true, + "gpu_fixture_seconds": 3.137407455011271, + "allocated_mib": 5783.81689453125, + "reserved_mib": 6266.0, + "optimizer_updates": 0 +}. Current allocated/reserved process footprint fits both additional paired arms within the single80GB H100. Each new arm uses about6.3GiB reserved at maximum shape. + +## E68 fixed upward quantile-level shift +Hypothesis: E62 coverage diagnostics show upper-tail underprediction in several groups, while lower-tail excess inclusive coverage is largely due to ties at exact zero. Test one globally fixed quantile-function shift from level p to p+0.025, linearly interpolating between adjacent predicted deciles and extrapolating the uppermost interval. This is equivalent to75% of q(p)+25% of q(p+0.1), with upper-end linear extrapolation. It shifts the median as well as intervals. No dataset-specific parameters, context optimization, new training or weight fitting. +- Apply after the existing fixed rules. Monotonicity and nonnegative quantiles for nonnegative histories are preserved by upward interpolation/extrapolation. Compare only unchanged and the predeclared+0.025 setting on the main screen and both earlier cutoffs. No coefficient sweep. +- Descriptive coverage files horizon_delta_calibration_bounds.json and calibration_diagnostic.py retain strict/inclusive tie bounds. Parent weights SHA-25622c08571978be31ba57368eb983089a40a44d56d4ae5e17da41afd2a761a258c. No outcome yet. + +E68 screen, CPU elapsed2.34 seconds: +- unchanged: skill0.377343216, relative MASE0.744366865, relative WQL0.520847298; group skill {"term": {"short": 0.35695456496017197, "medium": 0.4068421174843613, "long": 0.3992704749750494}, "domain": {"Econ/Fin": 0.1398359119561744, "Energy": 0.23759505750828103, "Healthcare": 0.4512562626750727, "Nature": 0.4321373180939323, "Sales": 0.33393397659338675, "Transport": 0.46608088355848554, "Web/CloudOps": 0.49950488336015364}, "freq": {"A-DEC": 0.37212708500173697, "Q-DEC": 0.19935115627243538, "M": 0.10494660003314427, "W-SUN": 0.09001322152715163, "D": 0.355915177294738, "H": 0.39579077444245214, "15T": 0.214120657226064, "W-FRI": -0.015604695485733178, "10T": 0.6146535484250835, "W-TUE": 0.5792731324380282, "W-THU": 0.21095087378926547, "W-WED": 0.3154347093297968, "5T": 0.5103163560669302, "10S": 0.42256110774455713}}. +- shift_up_0025: skill0.376908525, relative MASE0.742757759, relative WQL0.522704720; group skill {"term": {"short": 0.3566597008609087, "medium": 0.404403536500499, "long": 0.4005186267241073}, "domain": {"Econ/Fin": 0.14287974364263867, "Energy": 0.23414603173384185, "Healthcare": 0.43949354133666974, "Nature": 0.4298630701436009, "Sales": 0.32658918319903174, "Transport": 0.470151191104459, "Web/CloudOps": 0.5032582354135502}, "freq": {"A-DEC": 0.380333567897149, "Q-DEC": 0.20181706747540706, "M": 0.08925268144424381, "W-SUN": 0.07477217948655135, "D": 0.35474663372376547, "H": 0.3940149463382252, "15T": 0.21958831724211048, "W-FRI": -0.0580596428780249, "10T": 0.6129399194069542, "W-TUE": 0.5699015681127257, "W-THU": 0.21136203731846115, "W-WED": 0.3102694893262884, "5T": 0.5147323912192434, "10S": 0.4303777414462714}}. + +E68 backcast, CPU elapsed2.34 seconds: +- unchanged: skill0.336227035, relative MASE0.797257690, relative WQL0.552637565; group skill {"term": {"short": 0.3019534316321959, "medium": 0.35847999416902554, "long": 0.3980452217736976}, "domain": {"Econ/Fin": 0.16321936365108436, "Energy": 0.22989895953120598, "Healthcare": 0.4035339334978575, "Nature": 0.3640809439324144, "Sales": 0.39727796653561065, "Transport": 0.37202575172526886, "Web/CloudOps": 0.4496899590670599}, "freq": {"A-DEC": 0.32642568966436736, "Q-DEC": 0.23316387018660967, "M": 0.18942546327646903, "W-SUN": 0.03722616253430944, "D": 0.3493567465552936, "H": 0.3653486861566616, "15T": 0.22544143675041628, "W-FRI": 0.2612228517292393, "10T": 0.32002639781339237, "W-TUE": 0.5369423215086733, "W-THU": 0.24695593621438172, "W-WED": 0.34366857690318564, "5T": 0.43841920169431536, "10S": 0.34189056734107803}}. +- shift_up_0025: skill0.333181127, relative MASE0.800191338, relative WQL0.555676359; group skill {"term": {"short": 0.30012284957976143, "medium": 0.3563718754867885, "long": 0.3913827408796766}, "domain": {"Econ/Fin": 0.16216091726465265, "Energy": 0.22830088335034404, "Healthcare": 0.4226177811841181, "Nature": 0.3541417493195709, "Sales": 0.38842247511482564, "Transport": 0.3660239875770892, "Web/CloudOps": 0.4469561601104274}, "freq": {"A-DEC": 0.3265608246880194, "Q-DEC": 0.22474554051269913, "M": 0.18267190809841738, "W-SUN": 0.03302751086137623, "D": 0.35103471245845674, "H": 0.36176195029219793, "15T": 0.21821690985575604, "W-FRI": 0.25908813449545354, "10T": 0.3119130318041733, "W-TUE": 0.5410511096762922, "W-THU": 0.24171213296902283, "W-WED": 0.34305917574568634, "5T": 0.43719448871859334, "10S": 0.33922568556395327}}. + +E68 backcast2, CPU elapsed2.31 seconds: +- unchanged: skill0.357693384, relative MASE0.772231694, relative WQL0.534240944; group skill {"term": {"short": 0.34387576099815587, "medium": 0.38579809375160923, "long": 0.36474587566145333}, "domain": {"Econ/Fin": 0.10948663145426041, "Energy": 0.23595983020029976, "Healthcare": 0.3456833197210143, "Nature": 0.4672524394882832, "Sales": 0.5493882044206345, "Transport": 0.4200285125423293, "Web/CloudOps": 0.4311910731987415}, "freq": {"A-DEC": 0.3532937085689807, "Q-DEC": 0.15079546315571057, "M": 0.15334987951579737, "W-SUN": 0.053222430353438654, "D": 0.42461678912892176, "H": 0.39045164404809307, "15T": 0.1063009642103484, "W-FRI": 0.14702837959358672, "10T": 0.4925745835795794, "W-TUE": 0.10051793538767262, "W-THU": 0.31968494040001116, "W-WED": 0.5361596335033245, "5T": 0.4655530740312157, "10S": 0.280869499353007}}. +- shift_up_0025: skill0.352929872, relative MASE0.775985000, relative WQL0.539571964; group skill {"term": {"short": 0.3397486152051552, "medium": 0.38072074318949967, "long": 0.3585956199908913}, "domain": {"Econ/Fin": 0.10581887733310036, "Energy": 0.23338234809030112, "Healthcare": 0.3418028155977272, "Nature": 0.4611553878945821, "Sales": 0.543948848409417, "Transport": 0.4138948091247504, "Web/CloudOps": 0.42581951888726777}, "freq": {"A-DEC": 0.3525707634011239, "Q-DEC": 0.14006676676474916, "M": 0.14537682622646142, "W-SUN": 0.05718515322639861, "D": 0.42470757896302946, "H": 0.38580382383546696, "15T": 0.0967294266428953, "W-FRI": 0.16016050379952163, "10T": 0.4943536981461871, "W-TUE": 0.05512451342569891, "W-THU": 0.29480125149705005, "W-WED": 0.5302395339818361, "5T": 0.4614399225720033, "10S": 0.2693556274034984}}. + +E68 rejected: the fixed upward quantile shift loses on all three windows, including -0.00305 and -0.00476 at the earlier cutoffs. Main median MASE improves slightly but WQL worsens. Descriptive coverage imbalance does not justify a global quantile shift. Retain E62 quantiles unchanged; no further coefficient sweep. + +## E69 persistent stochastic volatility in synthetic training windows — prepared, not launched +Hypothesis: the local generator changes seasonal amplitude in E31 but its observation-noise scale stays constant throughout a window. Teach conditional uncertainty under persistent volatility by multiplying the Gaussian/AR noise component by an independent positive log-OU curve in half of synthetic windows. Leave signal, AR coefficient, observation-noise draws, real windows and the main RNG unchanged. +- Proposed matched reference: completed E42 partial-target training. Same own recency12000 parent, seed79, packed_sample, B256, LR0.00005,12000 steps and original schedule. Only the noise envelope differs; no architecture or inference change. +- Independent generator seed500082; log time constant uniform1.5..3.5 (about32..3162 steps), log standard deviation uniform0.1..0.8, stationary Gaussian initial log state, exp(logcurve-0.5*sd^2), log envelope clipped[-2.5,2.5]. Synthetic fraction remains0.2, so roughly10% of all windows receive the new envelope. +- Verify real-window and main-RNG equality before launch. Queue only when a GPU allocation is released; no training has started. Final selection requires main and both earlier-cutoff evidence. + +E69 preparation checks: {"cpu_seconds": 4.379837638000026, "main_rng_matched": true, "real_windows_unchanged": true, "periods_and_missing_masks_unchanged": true, "changed_synthetic_context_values": 52057, "optimizer_updates": 0} + +## E67 full_paired_control at1000 +- Checkpoint SHA-256: `0aa7ece151109e13af73e7ca2d6b75baa95e67898a6273a081ed38e92cfc63cd`. +- Evaluation: 97 configurations, 9473 instances, 0 failed configurations; 26.88213801383972 seconds. +- Overall skill 0.376434; relative MASE 0.745243; relative WQL 0.521755. +- term skill: long=0.3984, medium=0.4065, short=0.3558. +- domain skill: Econ/Fin=0.1332, Energy=0.2361, Healthcare=0.4573, Nature=0.4305, Sales=0.3351, Transport=0.4660, Web/CloudOps=0.4983. +- frequency skill: A=0.3675, D=0.3539, H=0.3948, M=0.1051, Q=0.1982, S=0.4219, T=0.4350, W=0.2252. +- variates skill: multivariate=0.3925, univariate=0.3634. +- Outcome: Paired objective leads the matched individual-orientation control by0.000426, but both trail the frozen E62 parent0.377343. Continue to3000 before interpreting the early optimization drop. + +## E67 full_paired_candidate at1000 +- Checkpoint SHA-256: `256329643ba1d7074386d227f4dafd6bdbf0faca5bf2280a60be51ddf2ad90ee`. +- Evaluation: 97 configurations, 9473 instances, 0 failed configurations; 26.336730480194092 seconds. +- Overall skill 0.376860; relative MASE 0.744723; relative WQL 0.521407. +- term skill: long=0.3991, medium=0.4063, short=0.3564. +- domain skill: Econ/Fin=0.1316, Energy=0.2364, Healthcare=0.4620, Nature=0.4301, Sales=0.3350, Transport=0.4669, Web/CloudOps=0.4985. +- frequency skill: A=0.3655, D=0.3560, H=0.3951, M=0.1058, Q=0.1980, S=0.4230, T=0.4348, W=0.2256. +- variates skill: multivariate=0.3926, univariate=0.3640. +- Outcome: Paired objective leads the matched individual-orientation control by0.000426, but both trail the frozen E62 parent0.377343. Continue to3000 before interpreting the early optimization drop. + +Additional historical diagnostic: valid_backcast3 contains93 configurations and8812 instances, derived only from existing validation histories. This cutoff was not used in earlier selection. Compare E62 and its E55 predecessor, plus the fixed amplitude ensemble option; all outputs are selection/diagnostics only. Scales use capped prefixes and its own Seasonal Naive baseline. + +## Previously unused third earlier cutoff: horizon_delta12k +- Checkpoint SHA-256: `22c08571978be31ba57368eb983089a40a44d56d4ae5e17da41afd2a761a258c`. +- Evaluation: 93 configurations, 8812 instances, 0 failed configurations; 25.37537980079651 seconds. +- Overall skill 0.387789; relative MASE 0.738165; relative WQL 0.507749. +- term skill: long=0.3944, medium=0.3602, short=0.3954. +- domain skill: Econ/Fin=0.1725, Energy=0.3191, Healthcare=0.2442, Nature=0.5053, Sales=0.3990, Transport=0.5060, Web/CloudOps=0.3880. +- frequency skill: A=0.3565, D=0.4418, H=0.4032, M=0.1118, Q=0.2628, S=0.2833, T=0.4297, W=0.2606. +- variates skill: multivariate=0.3722, univariate=0.3998. +- Outcome: 93 configurations and8812 instances have enough remaining history. E62 retains a small0.000124 gain over E55 here; amplitude-only is lower. Scores are diagnostic and have their own Seasonal Naive reference. Retain the published E62 while checking the fixed ensemble combinations. + +## Previously unused third earlier cutoff: partial_delta12k +- Checkpoint SHA-256: `721d1029284ea6f36d4c6f169eb001382a97a2848953fad84e3e62fb5a222802`. +- Evaluation: 93 configurations, 8812 instances, 0 failed configurations; 25.088595867156982 seconds. +- Overall skill 0.387664; relative MASE 0.738315; relative WQL 0.507852. +- term skill: long=0.3943, medium=0.3601, short=0.3953. +- domain skill: Econ/Fin=0.1728, Energy=0.3188, Healthcare=0.2482, Nature=0.5065, Sales=0.3984, Transport=0.5041, Web/CloudOps=0.3876. +- frequency skill: A=0.3519, D=0.4408, H=0.4034, M=0.1157, Q=0.2629, S=0.2853, T=0.4287, W=0.2628. +- variates skill: multivariate=0.3721, univariate=0.3997. +- Outcome: 93 configurations and8812 instances have enough remaining history. E62 retains a small0.000124 gain over E55 here; amplitude-only is lower. Scores are diagnostic and have their own Seasonal Naive reference. Retain the published E62 while checking the fixed ensemble combinations. + +## Previously unused third earlier cutoff: amplitude_fixed_ema24000 +- Checkpoint SHA-256: `ecab9102fc11909555044c67dffda85280e06a375f1733351c7e9a39bf2ce9bb`. +- Evaluation: 93 configurations, 8812 instances, 0 failed configurations; 24.98914361000061 seconds. +- Overall skill 0.386555; relative MASE 0.740761; relative WQL 0.508011. +- term skill: long=0.3906, medium=0.3617, short=0.3941. +- domain skill: Econ/Fin=0.1763, Energy=0.3186, Healthcare=0.2144, Nature=0.5055, Sales=0.3950, Transport=0.5054, Web/CloudOps=0.3892. +- frequency skill: A=0.3670, D=0.4397, H=0.4032, M=0.1018, Q=0.2609, S=0.2818, T=0.4298, W=0.2517. +- variates skill: multivariate=0.3715, univariate=0.3982. +- Outcome: 93 configurations and8812 instances have enough remaining history. E62 retains a small0.000124 gain over E55 here; amplitude-only is lower. Scores are diagnostic and have their own Seasonal Naive reference. Retain the published E62 while checking the fixed ensemble combinations. + +Third earlier cutoff, fixed horizon+amplitude ensemble: skill0.387712467, relative MASE0.738747107, relative WQL0.507475454; CPU1.61 seconds; group skill {"term": {"short": 0.3954701763614715, "medium": 0.36122355126648487, "long": 0.39279890497296066}, "domain": {"Econ/Fin": 0.1751736307959596, "Energy": 0.31921698125326037, "Healthcare": 0.23298033105692906, "Nature": 0.5060089627880903, "Sales": 0.3975145877969797, "Transport": 0.5058849307923443, "Web/CloudOps": 0.3889682376441502}, "freq": {"A-DEC": 0.3624040337196054, "Q-DEC": 0.2624518143609271, "M": 0.10707417310085743, "W-SUN": 0.1583361093273692, "D": 0.4418985852875217, "H": 0.403440739007801, "15T": 0.2601635557329961, "W-FRI": 0.014090974305712378, "10T": 0.6023775368816131, "W-TUE": 0.24266767576389037, "W-THU": 0.3814500446358562, "W-WED": 0.36993536616236844, "5T": 0.4629495965892555, "10S": 0.28289459770032044}}. + +Third earlier cutoff, fixed partial+amplitude ensemble: skill0.387583102, relative MASE0.738907219, relative WQL0.507579906; CPU1.63 seconds; group skill {"term": {"short": 0.39530402146176624, "medium": 0.36114921433277336, "long": 0.39271964935249504}, "domain": {"Econ/Fin": 0.17527256907786126, "Energy": 0.31900374729462777, "Healthcare": 0.23531552352603602, "Nature": 0.5063494545833882, "Sales": 0.3972024195554572, "Transport": 0.5049447049689553, "Web/CloudOps": 0.3887045854899489}, "freq": {"A-DEC": 0.36012619804016577, "Q-DEC": 0.2622822707122595, "M": 0.10906468169471106, "W-SUN": 0.15682778156902044, "D": 0.44126848409451547, "H": 0.4035052878161369, "15T": 0.26032721770481526, "W-FRI": 0.011894162492874005, "10T": 0.6016201297891219, "W-TUE": 0.2491326450741952, "W-THU": 0.38350286292612645, "W-WED": 0.3695417432322957, "5T": 0.4619676858363392, "10S": 0.2838781358710065}}. + +The new historical check does not overturn the publication: E62 beats E55 individually at this fourth available window, while the fixed ensemble comparison remains a documented alternative. Full validation and main screening still favor the published single model. + +## E70 training-only compiler throughput diagnostic +Hypothesis: operator/kernel overhead limits the many small transformer operations on one H100. Benchmark torch.compile on the existing own E62 model and unpaired training loss, using64 permitted pretraining windows of context2048/horizon512, seed223. No optimizer updates; no validation examples; no compiler change to the published runtime. Compare eager and compiled loss, gradient direction and absolute differences, then alternate20-step forward/backward timing blocks three times under the existing shared-GPU load. Compilation uses two CPU workers. Any numerical or performance difference is recorded before considering a separate training experiment. No outcome yet. + +## E58/E66 recovered37M control at global12000 +- Checkpoint SHA-256: `5341c5600f5fd3f82a33a9a756ce30ee980973e90c0163455ea2ce545601b051`. +- Evaluation: 97 configurations, 9473 instances, 0 failed configurations; 29.337642669677734 seconds. +- Overall skill 0.374083; relative MASE 0.747749; relative WQL 0.523935. +- term skill: long=0.3989, medium=0.4070, short=0.3511. +- domain skill: Econ/Fin=0.1395, Energy=0.2360, Healthcare=0.4006, Nature=0.4331, Sales=0.3401, Transport=0.4656, Web/CloudOps=0.4984. +- frequency skill: A=0.3744, D=0.3455, H=0.3952, M=0.0891, Q=0.1999, S=0.4216, T=0.4369, W=0.2041. +- variates skill: multivariate=0.3932, univariate=0.3585. +- Outcome: Skill0.374083, below its own8000 EMA0.374665 and initial parent0.375793. First4000 updates after the documented optimizer reset; await the matched146M result. Training losses over shared steps9550..10500 are nearly equal: large0.345200, control0.345264. + +## E67 full_paired_control at3000 +- Checkpoint SHA-256: `c98f8d82047e6e0ecd00f144307623afdd581ee6624d880063f810d090e1a473`. +- Evaluation: 97 configurations, 9473 instances, 0 failed configurations; 27.129313945770264 seconds. +- Overall skill 0.378018; relative MASE 0.743740; relative WQL 0.520156. +- term skill: long=0.4008, medium=0.4068, short=0.3576. +- domain skill: Econ/Fin=0.1354, Energy=0.2381, Healthcare=0.4531, Nature=0.4314, Sales=0.3329, Transport=0.4660, Web/CloudOps=0.5026. +- frequency skill: A=0.3720, D=0.3538, H=0.3970, M=0.1035, Q=0.1971, S=0.4224, T=0.4379, W=0.2235. +- variates skill: multivariate=0.3959, univariate=0.3634. +- Outcome: Both exceed the E62 main screen0.377343. Paired0.378318 leads control0.378018; check both earlier cutoffs before selection. Training continues toward6000. + +## E67 full_paired_candidate at3000 +- Checkpoint SHA-256: `2a19ebe0d41c1a18feaba318041795be4d268ce890162a5035e6fc6bf1844238`. +- Evaluation: 97 configurations, 9473 instances, 0 failed configurations; 26.954200506210327 seconds. +- Overall skill 0.378318; relative MASE 0.743356; relative WQL 0.519924. +- term skill: long=0.4020, medium=0.4066, short=0.3577. +- domain skill: Econ/Fin=0.1339, Energy=0.2391, Healthcare=0.4511, Nature=0.4303, Sales=0.3325, Transport=0.4661, Web/CloudOps=0.5042. +- frequency skill: A=0.3674, D=0.3531, H=0.3978, M=0.1030, Q=0.1972, S=0.4232, T=0.4383, W=0.2236. +- variates skill: multivariate=0.3969, univariate=0.3631. +- Outcome: Both exceed the E62 main screen0.377343. Paired0.378318 leads control0.378018; check both earlier cutoffs before selection. Training continues toward6000. + +## E67 full_paired_control_ema3000 evals +- Checkpoint SHA-256: `c98f8d82047e6e0ecd00f144307623afdd581ee6624d880063f810d090e1a473`. +- Evaluation: 97 configurations, 9473 instances, 0 failed configurations; 27.129313945770264 seconds. +- Overall skill 0.378018; relative MASE 0.743740; relative WQL 0.520156. +- term skill: long=0.4008, medium=0.4068, short=0.3576. +- domain skill: Econ/Fin=0.1354, Energy=0.2381, Healthcare=0.4531, Nature=0.4314, Sales=0.3329, Transport=0.4660, Web/CloudOps=0.5026. +- frequency skill: A=0.3720, D=0.3538, H=0.3970, M=0.1035, Q=0.1971, S=0.4224, T=0.4379, W=0.2235. +- variates skill: multivariate=0.3959, univariate=0.3634. +- Outcome: Matched whole-model sign-loss comparison; all parameters train, seed 197. Main screen improves; earlier cutoffs are mixed. Complete package validation follows. + +## E67 full_paired_control_ema3000 backcast_evals +- Checkpoint SHA-256: `c98f8d82047e6e0ecd00f144307623afdd581ee6624d880063f810d090e1a473`. +- Evaluation: 97 configurations, 9330 instances, 0 failed configurations; 26.22196912765503 seconds. +- Overall skill 0.336172; relative MASE 0.797227; relative WQL 0.552750. +- term skill: long=0.3984, medium=0.3579, short=0.3019. +- domain skill: Econ/Fin=0.1591, Energy=0.2292, Healthcare=0.4105, Nature=0.3647, Sales=0.3944, Transport=0.3718, Web/CloudOps=0.4497. +- frequency skill: A=0.3173, D=0.3530, H=0.3656, M=0.1894, Q=0.2304, S=0.3411, T=0.3359, W=0.2800. +- variates skill: multivariate=0.3535, univariate=0.3220. +- Outcome: Matched whole-model sign-loss comparison; all parameters train, seed 197. Main screen improves; earlier cutoffs are mixed. Complete package validation follows. + +## E67 full_paired_control_ema3000 backcast2_evals +- Checkpoint SHA-256: `c98f8d82047e6e0ecd00f144307623afdd581ee6624d880063f810d090e1a473`. +- Evaluation: 94 configurations, 8934 instances, 0 failed configurations; 26.114278316497803 seconds. +- Overall skill 0.357963; relative MASE 0.772252; relative WQL 0.533779. +- term skill: long=0.3643, medium=0.3867, short=0.3442. +- domain skill: Econ/Fin=0.1073, Energy=0.2363, Healthcare=0.3529, Nature=0.4659, Sales=0.5494, Transport=0.4196, Web/CloudOps=0.4322. +- frequency skill: A=0.3515, D=0.4255, H=0.3911, M=0.1494, Q=0.1504, S=0.2817, T=0.3589, W=0.2528. +- variates skill: multivariate=0.3643, univariate=0.3528. +- Outcome: Matched whole-model sign-loss comparison; all parameters train, seed 197. Main screen improves; earlier cutoffs are mixed. Complete package validation follows. + +## E67 full_paired_candidate_ema3000 evals +- Checkpoint SHA-256: `2a19ebe0d41c1a18feaba318041795be4d268ce890162a5035e6fc6bf1844238`. +- Evaluation: 97 configurations, 9473 instances, 0 failed configurations; 26.954200506210327 seconds. +- Overall skill 0.378318; relative MASE 0.743356; relative WQL 0.519924. +- term skill: long=0.4020, medium=0.4066, short=0.3577. +- domain skill: Econ/Fin=0.1339, Energy=0.2391, Healthcare=0.4511, Nature=0.4303, Sales=0.3325, Transport=0.4661, Web/CloudOps=0.5042. +- frequency skill: A=0.3674, D=0.3531, H=0.3978, M=0.1030, Q=0.1972, S=0.4232, T=0.4383, W=0.2236. +- variates skill: multivariate=0.3969, univariate=0.3631. +- Outcome: Matched whole-model sign-loss comparison; all parameters train, seed 197. Main screen improves; earlier cutoffs are mixed. Complete package validation follows. + +## E67 full_paired_candidate_ema3000 backcast_evals +- Checkpoint SHA-256: `2a19ebe0d41c1a18feaba318041795be4d268ce890162a5035e6fc6bf1844238`. +- Evaluation: 97 configurations, 9330 instances, 0 failed configurations; 26.824409246444702 seconds. +- Overall skill 0.335739; relative MASE 0.797824; relative WQL 0.553058. +- term skill: long=0.3982, medium=0.3579, short=0.3012. +- domain skill: Econ/Fin=0.1554, Energy=0.2283, Healthcare=0.4138, Nature=0.3640, Sales=0.3938, Transport=0.3730, Web/CloudOps=0.4488. +- frequency skill: A=0.3126, D=0.3515, H=0.3664, M=0.1838, Q=0.2305, S=0.3411, T=0.3345, W=0.2832. +- variates skill: multivariate=0.3522, univariate=0.3223. +- Outcome: Matched whole-model sign-loss comparison; all parameters train, seed 197. Main screen improves; earlier cutoffs are mixed. Complete package validation follows. + +## E67 full_paired_candidate_ema3000 backcast2_evals +- Checkpoint SHA-256: `2a19ebe0d41c1a18feaba318041795be4d268ce890162a5035e6fc6bf1844238`. +- Evaluation: 94 configurations, 8934 instances, 0 failed configurations; 26.085822582244873 seconds. +- Overall skill 0.358235; relative MASE 0.771602; relative WQL 0.533775. +- term skill: long=0.3637, medium=0.3876, short=0.3445. +- domain skill: Econ/Fin=0.1066, Energy=0.2361, Healthcare=0.3468, Nature=0.4694, Sales=0.5483, Transport=0.4212, Web/CloudOps=0.4313. +- frequency skill: A=0.3537, D=0.4237, H=0.3911, M=0.1509, Q=0.1498, S=0.2809, T=0.3593, W=0.2593. +- variates skill: multivariate=0.3635, univariate=0.3540. +- Outcome: Matched whole-model sign-loss comparison; all parameters train, seed 197. Main screen improves; earlier cutoffs are mixed. Complete package validation follows. + +## long_memory_synth_recovery_ema3000 +- Checkpoint SHA-256: `c8d675cce3857f6c065a231ccbd4f2dfb76c6c49236da051d13b450287006a6f`. +- Evaluation: 97 configurations, 9473 instances, 0 failed configurations; 25.661465406417847 seconds. +- Overall skill 0.360588; relative MASE 0.761649; relative WQL 0.536793. +- term skill: long=0.3910, medium=0.4017, short=0.3318. +- domain skill: Econ/Fin=0.1155, Energy=0.1829, Healthcare=0.4341, Nature=0.4242, Sales=0.3463, Transport=0.4592, Web/CloudOps=0.5066. +- frequency skill: A=0.3750, D=0.3500, H=0.3816, M=0.1111, Q=0.2000, S=0.4415, T=0.4013, W=0.2067. +- variates skill: multivariate=0.3919, univariate=0.3345. +- Outcome: E61 slower synthetic AR dynamics; seed79; improves main screen over matched E42 at3000 steps. Continue and check earlier cutoffs. + +## recent_normalization_recovery_ema3000 +- Checkpoint SHA-256: `a55a5681f52782a142f44595f69d5aef59579fa7f64124c72b9de918189d8ff9`. +- Evaluation: 97 configurations, 9473 instances, 0 failed configurations; 33.14950752258301 seconds. +- Overall skill 0.373434; relative MASE 0.747021; relative WQL 0.525533. +- term skill: long=0.3987, medium=0.4024, short=0.3519. +- domain skill: Econ/Fin=0.1428, Energy=0.2320, Healthcare=0.4255, Nature=0.4235, Sales=0.3398, Transport=0.4701, Web/CloudOps=0.4974. +- frequency skill: A=0.3847, D=0.3515, H=0.3961, M=0.0795, Q=0.2007, S=0.4234, T=0.4320, W=0.2036. +- variates skill: multivariate=0.3889, univariate=0.3609. +- Outcome: E65 recent4096 normalization with8192 context; seed101; improves matched E54 3000-step long-context result .372681. Continue. + +### E70 compiler cache infrastructure diagnostic +Both the default and /tmp Triton caches reject child-directory-to-parent os.replace with EXDEV. Same-parent replacement succeeds. A local SiblingFileCacheManager preserves Triton keys and group formats while writing unique same-parent temporary files. Byte, text, overwrite and group fixtures passed (initial fixture used an invalid nonhex key; corrected before accepting the fixture). No installed library files, model parameters, optimizer state or inference runtime were changed. Retrying the identical training-only compile benchmark; no optimizer updates. + +### E70 fixed-shape compiler benchmark outcome +Seed223, B64, C2048, H512, own E62 checkpoint 22c08571978be31ba57368eb983089a40a44d56d4ae5e17da41afd2a761a258c; no optimizer updates and only allowed training windows. Compilation 51.065s; total benchmark 80.009s. Alternating three blocks: eager mean0.119890s versus compiled mean0.064745s, speedup1.852. Loss0.228576794 vs0.228607744; gradient cosine0.998925465, maximum absolute gradient difference0.000610351562. bf16 arithmetic differs slightly; this is not bitwise training equivalence. Other experiments shared the H100. Variable-shape compatibility is being checked before use in training; published inference is unchanged. + +## E71 finer eight-point patches — prepared, not launched +Hypothesis: E17 benefited from32→16-point patches, and the current model still has short-horizon energy errors. Test16→8-point patches while preserving physical position units and all attention/MLP/confidence parameters. Fold the two halves of context, query and recency input projections by summation and keep the first8 output rows, as in the earlier resolution experiment. This is an own-weight initialization, not an exact function-preserving conversion. Initialize from E62, use seed197/B64/LR2e-5/12000 steps with paired sign loss, and compare to the already-running E67 paired16-point arm. Keep the identical sampler and its16-point random-prefix rounding; only model patch resolution changes. CPU fixtures and initial evaluation precede training. No additional data or synthetic generator. Waiting for training memory to become available. + +E70 variable-shape follow-up: torch.compile(dynamic=True, fullgraph=True) failed in the installed PyTorch tensorification pass: TensorReferenceAnalysis lacks python_mod. No optimizer updates occurred. Test static shape specialization with a64-graph cache limit instead, preserving the existing16 context/horizon combinations. Dynamic failure log: compiler_variable_shapes.log. + +## E72 convex mixtures of training windows — prepared, not launched +Hypothesis: interpolating real dynamics can expand effective corpus diversity and regularize the forecast mapping beyond drawing additional series. On25% of sampled rows, choose a different row with the same two periods, normalize the donor using context-only mean/std into the primary context units, then combine context and future separately with a Beta(2,2) coefficient. Missing positions use mask intersection; require8 common observed context points and1 common future label. Both real and existing locally synthetic rows are eligible. Independent seed600200 preserves the main corpus/generator stream and requested-horizon stream. Planned own E62 initialization, seed197, paired loss, B64, LR2e-5,12000 steps, identical E67 paired control settings. No inference changes. Fixtures: {"cpu_seconds": 2.7141120220185257, "seed": 197, "mixture_seed": 600200, "rows": 192, "changed_context_rows": 43, "main_and_horizon_rng_matched": true, "changing_labels_does_not_change_contexts": true, "finite_masks_respected": true, "optimizer_updates": 0}. Await training allocation. + +### E58 symmetry diagnostic +Seed239, four allowed training windows, no optimizer updates, CPU5.262225491984282s. At global12000, duplicate-stream encoder5 activations differ by only0.001181 relative RMS, versus0.001124 at initialization. Sampled duplicate-row matrix cosines remain0.99987–0.99997. The nearly redundant streams weaken the interpretation that this experiment tested useful extra capacity. Full measurements: wide_capacity_symmetry_diagnostic.json. No current weights changed. + +## E73 independently initialized extra feature stream — prepared, not launched +Hypothesis: widening by near-identical copies keeps the extra neurons redundant. Build a146,477,344-parameter model with the original512 features and a separate randomly initialized512-feature stream. Inherited linear maps occupy their original blocks; new internal maps are independently random; cross-stream maps and new output-head columns start at zero. Layer normalization operates on each512-feature group separately so the parent function survives initialization. All maps, including cross-stream connections, will train. This changes initialization and normalization grouping relative to E58. Conversion seed241; own E47 parent. Same training seed113, B96, LR3e-5,32000-step schedule and optimizer/sampler reset at8000 with seed179 as the completed/recovered small control. Use unit LR multipliers because original columns are no longer duplicated or divided. No new data or generator. Conversion fixture: {"method": "independent random feature stream with block-diagonal inherited projections, zero cross-stream projections and zero new output columns; separate512-feature layer normalization", "parent_sha256": "0bad97e8994aac49ea173443db0a4fa8d72d33f9eb9e2660f06de75f7f1403eb", "random_initialization_seed": 241, "fixture_max_abs_difference": 1.6689300537109375e-06, "new_stream_activation": {"relative_rms_difference": 1.4169212579727173}, "learning_rate_multipliers": "one for every parameter", "checkpoint_sha256": "d164d8b12223032b23948d0dcb17389d10f8e739a30a1ade5f677d2a948e965b", "parameters": 146477344, "cpu_seconds": 2.802320774004329, "optimizer_updates": 0}. Initial screen and gradient checks precede training. + +### E70 static shape specialization outcome +All four tested context/horizon shapes compiled and produced finite gradients; returning to2048/512 reused graph1, with four unique graphs total. Loss differences remained below0.00007. First calls took47.33,38.52,51.27,46.47 seconds; steady forward/backward speedups ranged1.60–1.94 under shared load. Complete result compiler_static_shapes_result.json, elapsed208.31172983598663s. Static specialization is usable, but16 training shapes incur compilation cost and bf16 arithmetic changes; existing active training runs remain eager. + +## E58/E66 recovered146M at global12000 +- Checkpoint SHA-256: `3d39cb54e80093bf97c2d95eda6bd30fefa65ec47b33ba70838dc881321e31ea`. +- Evaluation: 97 configurations, 9473 instances, 0 failed configurations; 41.74531269073486 seconds. +- Overall skill 0.373963; relative MASE 0.747878; relative WQL 0.524045. +- term skill: long=0.3982, medium=0.4082, short=0.3507. +- domain skill: Econ/Fin=0.1409, Energy=0.2357, Healthcare=0.3980, Nature=0.4325, Sales=0.3406, Transport=0.4658, Web/CloudOps=0.4987. +- frequency skill: A=0.3756, D=0.3419, H=0.3949, M=0.0902, Q=0.1997, S=0.4220, T=0.4377, W=0.2068. +- variates skill: multivariate=0.3930, univariate=0.3584. +- Outcome: Diagnostic checkpoint; training continues. See experiment hypothesis and matched controls above. + +## E63 expanded corpus at146M first4000 +- Checkpoint SHA-256: `c89939a906b619e3d119a26d2edf1b567ff902930ca78b3e58cdce5903ed3077`. +- Evaluation: 97 configurations, 9473 instances, 0 failed configurations; 41.43943977355957 seconds. +- Overall skill 0.373186; relative MASE 0.749492; relative WQL 0.524216. +- term skill: long=0.3994, medium=0.4061, short=0.3496. +- domain skill: Econ/Fin=0.1406, Energy=0.2371, Healthcare=0.4020, Nature=0.4224, Sales=0.3395, Transport=0.4650, Web/CloudOps=0.5007. +- frequency skill: A=0.3699, D=0.3383, H=0.3939, M=0.1020, Q=0.2066, S=0.4209, T=0.4379, W=0.2018. +- variates skill: multivariate=0.3928, univariate=0.3571. +- Outcome: Diagnostic checkpoint; training continues. See experiment hypothesis and matched controls above. + +## E61 slow AR3000 first earlier cutoff +- Checkpoint SHA-256: `c8d675cce3857f6c065a231ccbd4f2dfb76c6c49236da051d13b450287006a6f`. +- Evaluation: 97 configurations, 9330 instances, 0 failed configurations; 26.004189491271973 seconds. +- Overall skill 0.329626; relative MASE 0.805342; relative WQL 0.558025. +- term skill: long=0.3886, medium=0.3565, short=0.2947. +- domain skill: Econ/Fin=0.1530, Energy=0.2229, Healthcare=0.4151, Nature=0.3515, Sales=0.3980, Transport=0.3624, Web/CloudOps=0.4448. +- frequency skill: A=0.3216, D=0.3548, H=0.3555, M=0.1730, Q=0.2272, S=0.3450, T=0.3293, W=0.2673. +- variates skill: multivariate=0.3459, univariate=0.3164. +- Outcome: Diagnostic checkpoint; training continues. See experiment hypothesis and matched controls above. + +## E61 slow AR3000 second earlier cutoff +- Checkpoint SHA-256: `c8d675cce3857f6c065a231ccbd4f2dfb76c6c49236da051d13b450287006a6f`. +- Evaluation: 94 configurations, 8934 instances, 0 failed configurations; 25.961536407470703 seconds. +- Overall skill 0.353271; relative MASE 0.774762; relative WQL 0.539854. +- term skill: long=0.3691, medium=0.3752, short=0.3388. +- domain skill: Econ/Fin=0.0921, Energy=0.2250, Healthcare=0.3726, Nature=0.4619, Sales=0.5589, Transport=0.4127, Web/CloudOps=0.4305. +- frequency skill: A=0.3401, D=0.4317, H=0.3862, M=0.1746, Q=0.1512, S=0.2822, T=0.3452, W=0.2437. +- variates skill: multivariate=0.3595, univariate=0.3482. +- Outcome: Diagnostic checkpoint; training continues. See experiment hypothesis and matched controls above. + +## E67 paired3000 third earlier cutoff +- Checkpoint SHA-256: `2a19ebe0d41c1a18feaba318041795be4d268ce890162a5035e6fc6bf1844238`. +- Evaluation: 93 configurations, 8812 instances, 0 failed configurations; 26.884973287582397 seconds. +- Overall skill 0.389069; relative MASE 0.736752; relative WQL 0.506597. +- term skill: long=0.3965, medium=0.3605, short=0.3968. +- domain skill: Econ/Fin=0.1707, Energy=0.3208, Healthcare=0.2592, Nature=0.5054, Sales=0.3991, Transport=0.5053, Web/CloudOps=0.3895. +- frequency skill: A=0.3624, D=0.4436, H=0.4039, M=0.1198, Q=0.2578, S=0.2862, T=0.4305, W=0.2611. +- variates skill: multivariate=0.3741, univariate=0.4006. +- Outcome: Diagnostic checkpoint; training continues. See experiment hypothesis and matched controls above. + +## E67 candidate3000 complete package validation +- Checkpoint SHA-256: `2a19ebe0d41c1a18feaba318041795be4d268ce890162a5035e6fc6bf1844238`. +- Evaluation: 97 configurations, 151170 instances, 0 failed configurations; not separately timed seconds. +- Overall skill 0.374401; relative MASE 0.746075; relative WQL 0.524578. +- term skill: long=0.3961, medium=0.4055, short=0.3534. +- domain skill: Econ/Fin=0.1115, Energy=0.2320, Healthcare=0.4573, Nature=0.4303, Sales=0.3470, Transport=0.4663, Web/CloudOps=0.4964. +- frequency skill: A=0.2888, D=0.3569, H=0.3930, M=0.1278, Q=0.1823, S=0.4232, T=0.4312, W=0.2160. +- variates skill: multivariate=0.3926, univariate=0.3596. +- Outcome: Full public-package validation. Training seed197, B64 distinct windows with both signs, LR2e-5;3000-step checkpoint at687.5s of training-loop elapsed time on the shared single H100. Exact public inference 129.863s. Paired candidate wins full validation and main screen; it improves earlier cutoffs2/3 versus E62, but loses0.000488 on cutoff1. Control full skill0.374180 versus paired0.374401. Select paired3000 with this temporal tradeoff recorded; training continues. + +## E67 control3000 complete package validation +- Checkpoint SHA-256: `c98f8d82047e6e0ecd00f144307623afdd581ee6624d880063f810d090e1a473`. +- Evaluation: 97 configurations, 151170 instances, 0 failed configurations; not separately timed seconds. +- Overall skill 0.374180; relative MASE 0.746358; relative WQL 0.524749. +- term skill: long=0.3948, medium=0.4057, short=0.3535. +- domain skill: Econ/Fin=0.1134, Energy=0.2311, Healthcare=0.4600, Nature=0.4313, Sales=0.3473, Transport=0.4663, Web/CloudOps=0.4949. +- frequency skill: A=0.2923, D=0.3579, H=0.3922, M=0.1281, Q=0.1825, S=0.4224, T=0.4308, W=0.2163. +- variates skill: multivariate=0.3915, univariate=0.3600. +- Outcome: Full public-package validation. Training seed197, B64 distinct windows with both signs, LR2e-5;3000-step checkpoint at687.5s of training-loop elapsed time on the shared single H100. Exact public inference 131.546s. Paired candidate wins full validation and main screen; it improves earlier cutoffs2/3 versus E62, but loses0.000488 on cutoff1. Control full skill0.374180 versus paired0.374401. Select paired3000 with this temporal tradeoff recorded; training continues. + +E67 publication decision: paired3000 checkpoint2a19ebe0d41c1a18feaba318041795be4d268ce890162a5035e6fc6bf1844238, full0.3744010291; main0.3783180328; earlier cutoffs0.3357387876/0.3582353306/0.3890690875. Relative to published E62, full gain0.000981171, main gain0.000974817, earlier changes-0.000488248/+0.000541947/+0.001280498. All97 full configurations and151170 instances pass with no quantile crossings. Three example configurations are bitwise equal after independent relocation; runtime/weight hashes verified. The published inference remains eager. + +## E74 equal ensemble of E62 and its paired3000 continuation +Hypothesis: fixed forecast averaging can retain the parent's stronger first earlier cutoff while preserving gains from paired-sign training. Test exactly one equal-weight quantile mean after each model's existing fixed rules, without a weight sweep or additional zero projection. Both models would forecast every instance. Reuse cached predictions for screening; no training, new seed or source. Evaluate main and all three earlier cutoffs, then full validation only if promising; an actual packaged replay remains required before publication. Members: E62 hash22c08571978be31ba57368eb983089a40a44d56d4ae5e17da41afd2a761a258c, E67 hash2a19ebe0d41c1a18feaba318041795be4d268ce890162a5035e6fc6bf1844238. + +## full_paired_control_ema6000 +- Checkpoint SHA-256: `4517cc18d0d7b022c728a208b53bb0088fcefe249246640d26e688ba800cf84c`. +- Evaluation: 97 configurations, 9473 instances, 0 failed configurations; 27.108938932418823 seconds. +- Overall skill 0.377544; relative MASE 0.744699; relative WQL 0.520279. +- term skill: long=0.3999, medium=0.4077, short=0.3567. +- domain skill: Econ/Fin=0.1294, Energy=0.2391, Healthcare=0.4588, Nature=0.4300, Sales=0.3396, Transport=0.4652, Web/CloudOps=0.4999. +- frequency skill: A=0.3728, D=0.3542, H=0.3955, M=0.1113, Q=0.1942, S=0.4228, T=0.4360, W=0.2279. +- variates skill: multivariate=0.3946, univariate=0.3636. +- Outcome: Paired6000 main improves to0.378455; matched control0.377544. Graft initialization reproduces parent0.375793 within numerical precision. Earlier paired diagnostics and future training determine selection. + +## full_paired_candidate_ema6000 +- Checkpoint SHA-256: `b797a18346b75d6cc1f541b56f880cd43055890f86b872bb37425b1c92609e71`. +- Evaluation: 97 configurations, 9473 instances, 0 failed configurations; 26.94004225730896 seconds. +- Overall skill 0.378455; relative MASE 0.743557; relative WQL 0.519554. +- term skill: long=0.4019, medium=0.4071, short=0.3578. +- domain skill: Econ/Fin=0.1262, Energy=0.2397, Healthcare=0.4622, Nature=0.4291, Sales=0.3379, Transport=0.4657, Web/CloudOps=0.5030. +- frequency skill: A=0.3687, D=0.3544, H=0.3962, M=0.1031, Q=0.1932, S=0.4249, T=0.4385, W=0.2281. +- variates skill: multivariate=0.3972, univariate=0.3631. +- Outcome: Paired6000 main improves to0.378455; matched control0.377544. Graft initialization reproduces parent0.375793 within numerical precision. Earlier paired diagnostics and future training determine selection. + +## wide_graft_initial +- Checkpoint SHA-256: `d164d8b12223032b23948d0dcb17389d10f8e739a30a1ade5f677d2a948e965b`. +- Evaluation: 97 configurations, 9473 instances, 0 failed configurations; 44.365342140197754 seconds. +- Overall skill 0.375793; relative MASE 0.745650; relative WQL 0.522544. +- term skill: long=0.3998, medium=0.4067, short=0.3540. +- domain skill: Econ/Fin=0.1396, Energy=0.2348, Healthcare=0.4405, Nature=0.4284, Sales=0.3399, Transport=0.4658, Web/CloudOps=0.5006. +- frequency skill: A=0.3762, D=0.3542, H=0.3951, M=0.0953, Q=0.1981, S=0.4239, T=0.4362, W=0.2089. +- variates skill: multivariate=0.3938, univariate=0.3611. +- Outcome: Paired6000 main improves to0.378455; matched control0.377544. Graft initialization reproduces parent0.375793 within numerical precision. Earlier paired diagnostics and future training determine selection. + +E74 valid_screen: skill0.37807862274263027, relativeMASE0.7436448167242383, relativeWQL0.5201222287724669, CPU0.8619319740100764s; group skills {"term": {"short": 0.35759494914169054, "medium": 0.40699311016073325, "long": 0.40082709768107416}, "domain": {"Econ/Fin": 0.1373283443599086, "Energy": 0.23867787085456083, "Healthcare": 0.4514094815443358, "Nature": 0.4314394439880541, "Sales": 0.3334613777872122, "Transport": 0.46623492569656166, "Web/CloudOps": 0.5020547204722161}, "freq": {"A-DEC": 0.3700186215632586, "Q-DEC": 0.1986150873665018, "M": 0.10412662722790622, "W-SUN": 0.07901894069086524, "D": 0.35481222927845457, "H": 0.39699199743484126, "15T": 0.21413878856050306, "W-FRI": -0.0023901912492456656, "10T": 0.615926427622083, "W-TUE": 0.5812846025030445, "W-THU": 0.20706119312963223, "W-WED": 0.31744777723871154, "5T": 0.5126119145163621, "10S": 0.4229238092063159}}. + +E74 valid_backcast: skill0.3362925418425802, relativeMASE0.7972981372266922, relativeWQL0.552500463058947, CPU0.8971402349998243s; group skills {"term": {"short": 0.30190782919949666, "medium": 0.35857372233263296, "long": 0.3983345998796374}, "domain": {"Econ/Fin": 0.15970397473963605, "Energy": 0.22932627079926182, "Healthcare": 0.40921062898616656, "Nature": 0.3642338798926953, "Sales": 0.395796512384459, "Transport": 0.3726773780449273, "Web/CloudOps": 0.4497268240013762}, "freq": {"A-DEC": 0.31984516176318767, "Q-DEC": 0.23213469399614717, "M": 0.1867528733976035, "W-SUN": 0.027286458584816375, "D": 0.35084294376677716, "H": 0.36615049422003554, "15T": 0.22473053922570885, "W-FRI": 0.2587886969661052, "10T": 0.3198607928100037, "W-TUE": 0.5430562436146349, "W-THU": 0.24609593870252322, "W-WED": 0.3423884364810911, "5T": 0.4378462658914031, "10S": 0.34158786712809996}}. + +E74 valid_backcast2: skill0.3582180334801286, relativeMASE0.771690389912856, relativeWQL0.5337426744378997, CPU0.6840074959909543s; group skills {"term": {"short": 0.3444537095616398, "medium": 0.3869421164002306, "long": 0.36441392284164364}, "domain": {"Econ/Fin": 0.10841961881158191, "Energy": 0.2363021419988357, "Healthcare": 0.34644304914503876, "Nature": 0.4685938042819019, "Sales": 0.5492137665291525, "Transport": 0.4207857629370483, "Web/CloudOps": 0.4314575495135424}, "freq": {"A-DEC": 0.3538974701075839, "Q-DEC": 0.1504553008739551, "M": 0.15220470977886436, "W-SUN": 0.04613015348540839, "D": 0.42446352745465865, "H": 0.39096253798739566, "15T": 0.10670219795421398, "W-FRI": 0.14873972396574198, "10T": 0.4961638002828159, "W-TUE": 0.08195477095370607, "W-THU": 0.32491052813791066, "W-WED": 0.5372312006064026, "5T": 0.46600691242017644, "10S": 0.28101678592852175}}. + +E74 valid_backcast3: skill0.38866584889169165, relativeMASE0.7372042201081582, relativeWQL0.506955107034635, CPU0.6765452020335943s; group skills {"term": {"short": 0.39634584808261863, "medium": 0.36050403977747736, "long": 0.39564160116149116}, "domain": {"Econ/Fin": 0.17218827750208232, "Energy": 0.32018031275863146, "Healthcare": 0.251739940360198, "Nature": 0.505730039991936, "Sales": 0.3992528233665873, "Transport": 0.5057485203797758, "Web/CloudOps": 0.38900692766706535}, "freq": {"A-DEC": 0.35992280976221613, "Q-DEC": 0.2607290890980446, "M": 0.1158596568834448, "W-SUN": 0.14646809588021303, "D": 0.4430503070010823, "H": 0.40373923909167875, "15T": 0.26167249262649306, "W-FRI": 0.026229112650416053, "10T": 0.6033044583572338, "W-TUE": 0.2614261172432897, "W-THU": 0.3805020665242401, "W-WED": 0.37420834670061953, "5T": 0.4617999415682724, "10S": 0.28494980458180186}}. + +E74 fixed ensemble recovers cutoff1 but is below the paired member on main and cutoffs2/3. Check cached full validation before deciding; no mixture coefficient tuning. + +E73 gradient fixture: {"cpu_seconds": 3.0038612950011156, "seed": 251, "allowed_training_windows": 2, "loss": 0.6392828226089478, "initial_gradients": {"head_new_columns": 1.3039275407791138, "encoder0_new_to_old_attention": 0.16236796975135803, "decoder3_new_to_old_ff": 0.3286978602409363}, "all_gradients_finite": true, "optimizer_updates": 0}. All gradients finite, with nonzero gradient to new output columns and new-to-old attention/feedforward maps at initialization. + +## E67 paired6000 backcast_evals +- Checkpoint SHA-256: `b797a18346b75d6cc1f541b56f880cd43055890f86b872bb37425b1c92609e71`. +- Evaluation: 97 configurations, 9330 instances, 0 failed configurations; 27.112698793411255 seconds. +- Overall skill 0.335119; relative MASE 0.798971; relative WQL 0.553296. +- term skill: long=0.3996, medium=0.3567, short=0.2999. +- domain skill: Econ/Fin=0.1484, Energy=0.2276, Healthcare=0.4122, Nature=0.3651, Sales=0.3962, Transport=0.3724, Web/CloudOps=0.4480. +- frequency skill: A=0.3127, D=0.3525, H=0.3668, M=0.1712, Q=0.2359, S=0.3414, T=0.3328, W=0.2844. +- variates skill: multivariate=0.3517, univariate=0.3216. +- Outcome: Compared with paired3000, cutoff1 loses0.000620 and cutoff2 gains0.001211. Main gains0.000137. Complete package validation and third earlier cutoff follow; keep paired3000 published meanwhile. + +## E67 paired6000 backcast2_evals +- Checkpoint SHA-256: `b797a18346b75d6cc1f541b56f880cd43055890f86b872bb37425b1c92609e71`. +- Evaluation: 94 configurations, 8934 instances, 0 failed configurations; 25.65610408782959 seconds. +- Overall skill 0.359446; relative MASE 0.769629; relative WQL 0.533126. +- term skill: long=0.3637, medium=0.3914, short=0.3451. +- domain skill: Econ/Fin=0.0947, Energy=0.2369, Healthcare=0.3640, Nature=0.4722, Sales=0.5483, Transport=0.4203, Web/CloudOps=0.4322. +- frequency skill: A=0.3460, D=0.4239, H=0.3913, M=0.1623, Q=0.1478, S=0.2801, T=0.3609, W=0.2646. +- variates skill: multivariate=0.3635, univariate=0.3561. +- Outcome: Compared with paired3000, cutoff1 loses0.000620 and cutoff2 gains0.001211. Main gains0.000137. Complete package validation and third earlier cutoff follow; keep paired3000 published meanwhile. + +E74 cached full validation: skill0.37416157579966614, relativeMASE0.7463637996830615, relativeWQL0.5247758979895311, CPU1.7625104649923742s; group skills {"term": {"short": 0.35339006443372445, "medium": 0.4058776358425863, "long": 0.39478447597143573}, "domain": {"Econ/Fin": 0.1148260686606345, "Energy": 0.2315840307823489, "Healthcare": 0.45764579718017184, "Nature": 0.4314211475708052, "Sales": 0.3476654519885174, "Transport": 0.46645466438647154, "Web/CloudOps": 0.49435858431787905}, "freq": {"A-DEC": 0.2905258409636121, "Q-DEC": 0.18415390225031736, "M": 0.12808227393650784, "W-SUN": 0.042170378733840996, "D": 0.3587361531705563, "H": 0.39218267210684865, "15T": 0.20355479619501637, "W-FRI": -0.021429381368383904, "10T": 0.615926427622083, "W-TUE": 0.5812846025030445, "W-THU": 0.20706119312963223, "W-WED": 0.31744777723871154, "5T": 0.5037733014006005, "10S": 0.4229238092063159}}. Below paired3000 skill0.374401 by0.000239. Reject: the first earlier-cutoff benefit does not outweigh lower full/main/other-earlier scores. No ensemble package is published and no weight sweep follows. + +E71 initial8-point model main screen0.3622169411 versus E62 parent0.3773432163; conversion intentionally changes function. CPU fixture0.9008s verifies constant-input projection folding, unchanged inherited tensors, finite/ordered forecasts at6/18/720/900 steps. Training recovery must justify this initialization cost. + +E58/E63 resource decision fixed before the next results: at global16000, stop the near-duplicate width trial if it remains below both its E47 parent and the matched small control; preserve a complete recovery checkpoint. At8000, assess expanded-corpus146M against its same-width original-corpus8000. Prioritize the independent-stream E73 initialization when a large training slot is released. Existing runs retain eager arithmetic. + +## E67 paired6000 exact full package +- Checkpoint SHA-256: `b797a18346b75d6cc1f541b56f880cd43055890f86b872bb37425b1c92609e71`. +- Evaluation: 97 configurations, 151170 instances, 0 failed configurations; not separately timed seconds. +- Overall skill 0.374279; relative MASE 0.746472; relative WQL 0.524502. +- term skill: long=0.3958, medium=0.4059, short=0.3532. +- domain skill: Econ/Fin=0.1029, Energy=0.2327, Healthcare=0.4651, Nature=0.4291, Sales=0.3514, Transport=0.4660, Web/CloudOps=0.4952. +- frequency skill: A=0.2886, D=0.3570, H=0.3913, M=0.1264, Q=0.1824, S=0.4249, T=0.4314, W=0.2203. +- variates skill: multivariate=0.3928, univariate=0.3591. +- Outcome: Paired6000 full0.374279 is below published3000 full0.374401 despite main/earlier2/earlier3 gains; retain3000 while training continues. Recent normalization6000 improves matched long-context baseline0.373979 and slightly exceeds4096 control0.374515; continue to12000. + +## E67 paired6000 third earlier cutoff +- Checkpoint SHA-256: `b797a18346b75d6cc1f541b56f880cd43055890f86b872bb37425b1c92609e71`. +- Evaluation: 93 configurations, 8812 instances, 0 failed configurations; 25.89822793006897 seconds. +- Overall skill 0.389533; relative MASE 0.736193; relative WQL 0.506212. +- term skill: long=0.3966, medium=0.3607, short=0.3974. +- domain skill: Econ/Fin=0.1634, Energy=0.3178, Healthcare=0.2808, Nature=0.5081, Sales=0.3977, Transport=0.5055, Web/CloudOps=0.3908. +- frequency skill: A=0.3558, D=0.4451, H=0.4045, M=0.1415, Q=0.2554, S=0.2895, T=0.4276, W=0.2643. +- variates skill: multivariate=0.3722, univariate=0.4028. +- Outcome: Paired6000 full0.374279 is below published3000 full0.374401 despite main/earlier2/earlier3 gains; retain3000 while training continues. Recent normalization6000 improves matched long-context baseline0.373979 and slightly exceeds4096 control0.374515; continue to12000. + +## E65 recent normalization6000 +- Checkpoint SHA-256: `1c5bc9b814879a43941f6e59b6d2024152ec9db43014e2b4431195e52366f1ea`. +- Evaluation: 97 configurations, 9473 instances, 0 failed configurations; 34.534422874450684 seconds. +- Overall skill 0.374709; relative MASE 0.745557; relative WQL 0.524426. +- term skill: long=0.4014, medium=0.4044, short=0.3523. +- domain skill: Econ/Fin=0.1384, Energy=0.2354, Healthcare=0.4238, Nature=0.4264, Sales=0.3389, Transport=0.4711, Web/CloudOps=0.4974. +- frequency skill: A=0.3756, D=0.3531, H=0.3970, M=0.0716, Q=0.2013, S=0.4239, T=0.4343, W=0.2078. +- variates skill: multivariate=0.3915, univariate=0.3610. +- Outcome: Paired6000 full0.374279 is below published3000 full0.374401 despite main/earlier2/earlier3 gains; retain3000 while training continues. Recent normalization6000 improves matched long-context baseline0.373979 and slightly exceeds4096 control0.374515; continue to12000. + +E67 paired6000 full public inference131.433437s on the shared single H100; all97 configurations and151170 instances passed. The original3k publication remains selected by full validation, with the temporal tradeoff documented. + +## E75 training loss after fixed inference transformations — prepared, not launched +Hypothesis: paired training aligns sign averaging but still scores raw neural forecasts, whereas inference changes them with seasonal and continuity priors and exact-zero projection. Compute the same fixed context statistics without model gradients, then apply the transforms differentiably to forecasts before the existing normalized median/quantile loss. Gradients include the continuity correction's dependence on the first forecast; zero/positivity thresholds remain fixed and piecewise differentiable. The target transform and seasonal loss weight stay unchanged. Planned E62 initialization, seed197, paired loss, B64, LR2e-5,12000 steps, identical data stream to E67 paired. No new data/generator and no inference changes. CPU implementation comparison: {"cpu_seconds": 0.11522011604392901, "seed": 263, "fixtures": [{"context": 8, "horizon": 6, "maximum_absolute_difference": 0.0, "finite_gradients": true}, {"context": 64, "horizon": 18, "maximum_absolute_difference": 2.384185791015625e-07, "finite_gradients": true}, {"context": 512, "horizon": 128, "maximum_absolute_difference": 1.1920928955078125e-06, "finite_gradients": true}, {"context": 4096, "horizon": 900, "maximum_absolute_difference": 7.152557373046875e-07, "finite_gradients": true}], "optimizer_updates": 0}. Fixture agreement is numerical, not bitwise, because training computes context statistics in float64. Await a training slot and one allowed-window end-to-end gradient check. + +## E61 slow AR6000 evals +- Checkpoint SHA-256: `fea5b5290a3a9be5618eaeaf67e918e4f677d5be908d562040ce4bdfeb549bd9`. +- Evaluation: 97 configurations, 9473 instances, 0 failed configurations; 26.034730434417725 seconds. +- Overall skill 0.361281; relative MASE 0.760333; relative WQL 0.536557. +- term skill: long=0.3915, medium=0.4029, short=0.3324. +- domain skill: Econ/Fin=0.1215, Energy=0.1845, Healthcare=0.4313, Nature=0.4272, Sales=0.3429, Transport=0.4577, Web/CloudOps=0.5068. +- frequency skill: A=0.3788, D=0.3481, H=0.3812, M=0.1116, Q=0.2006, S=0.4421, T=0.4034, W=0.2113. +- variates skill: multivariate=0.3930, univariate=0.3349. +- Outcome: Main skill0.361281 exceeds matched partial-target0.359222. Compare both earlier windows with E42; continue to12000. + +## E61 slow AR6000 backcast_evals +- Checkpoint SHA-256: `fea5b5290a3a9be5618eaeaf67e918e4f677d5be908d562040ce4bdfeb549bd9`. +- Evaluation: 97 configurations, 9330 instances, 0 failed configurations; 25.68802785873413 seconds. +- Overall skill 0.331040; relative MASE 0.803953; relative WQL 0.556635. +- term skill: long=0.3886, medium=0.3569, short=0.2972. +- domain skill: Econ/Fin=0.1588, Energy=0.2277, Healthcare=0.4061, Nature=0.3526, Sales=0.3967, Transport=0.3629, Web/CloudOps=0.4452. +- frequency skill: A=0.3244, D=0.3518, H=0.3577, M=0.1682, Q=0.2306, S=0.3442, T=0.3314, W=0.2762. +- variates skill: multivariate=0.3484, univariate=0.3169. +- Outcome: Main skill0.361281 exceeds matched partial-target0.359222. Compare both earlier windows with E42; continue to12000. + +## E61 slow AR6000 backcast2_evals +- Checkpoint SHA-256: `fea5b5290a3a9be5618eaeaf67e918e4f677d5be908d562040ce4bdfeb549bd9`. +- Evaluation: 94 configurations, 8934 instances, 0 failed configurations; 25.468894004821777 seconds. +- Overall skill 0.354097; relative MASE 0.774005; relative WQL 0.539002. +- term skill: long=0.3704, medium=0.3752, short=0.3398. +- domain skill: Econ/Fin=0.0990, Energy=0.2275, Healthcare=0.3686, Nature=0.4617, Sales=0.5571, Transport=0.4131, Web/CloudOps=0.4308. +- frequency skill: A=0.3441, D=0.4303, H=0.3862, M=0.1683, Q=0.1512, S=0.2846, T=0.3470, W=0.2514. +- variates skill: multivariate=0.3602, univariate=0.3491. +- Outcome: Main skill0.361281 exceeds matched partial-target0.359222. Compare both earlier windows with E42; continue to12000. + +E73 compiler fixture: {"seed": 271, "batch": 16, "context": 512, "horizon": 128, "eager_loss": 0.2625328004360199, "compiled_loss": 0.26252102851867676, "gradient_cosine": 0.9994836559992685, "maximum_gradient_difference": 0.003173828125, "compile_and_gradient_comparison_seconds": 65.4888255270198, "total_seconds": 66.77216628700262, "optimizer_updates": 0, "source": "allowed packed_sample and own generator"}. Static compilation is numerically close, not bitwise; use it for the32k-step independent-stream trial to amortize the16 shape compilations. This implementation difference from the existing eager small control is explicit. Loss formula, sampler, optimizer and schedule stay fixed. + +E75 allowed-window end-to-end fixture: {"cpu_seconds": 2.641128608956933, "seed": 269, "allowed_training_and_own_synthetic_windows": 8, "loss": 0.2808418869972229, "gradient_norm": 0.18120726943016052, "all_gradients_finite": true, "optimizer_updates": 0}. No optimizer updates. + +E69 is now queued after the slow-AR trainer PID980 exits with ema012000.pt, using its declared eager settings and the same allocation. Queue receipt volatility_synth_queue.json and watcher watch_volatility_synth.log identify the run. No E69 training has started yet. + +E71 maximum-shape GPU fixture: {"seed": 277, "batch": 64, "signed_rows": 128, "context": 4096, "horizon": 1024, "optimizer_updates": 0, "loss": 0.2055814117193222, "seconds": 10.965134899015538, "peak_allocated_mib": 10373.298828125, "peak_reserved_mib": 10992.0}. Passed without optimizer updates. Queue after both E67 trainers finish12000, so its larger working set reuses their combined allocation. + +E75 queued after E65 recent-normalization finishes12000. Both new queues require the predecessor final EMA before starting, and use the declared eager settings. E72 mixup remains prepared only; E73 awaits the prespecified width checkpoint decision. + +## E76 transfer the matched slow-AR6000 correction +E61 improves the main and both earlier cutoffs at6000 versus E42. Hypothesis: this learned synthetic-dynamics correction also helps the selected paired3000 model. Form exactly base(E67 paired3000)+candidate(E61 slowAR6000)-control(E42 partial6000), coefficient1.0 on matching tensors; keep the base confidence projection unchanged. All three checkpoints were trained here on declared sources. No coefficient sweep, new training, data or inference changes. Compare the main and earlier screens before full replay. + +## E76 slow-AR correction evals +- Checkpoint SHA-256: `8562cb05319ed04fdd8544a1af80bf1688ba55284e59b4689aa646e34e38a105`. +- Evaluation: 97 configurations, 9473 instances, 0 failed configurations; 26.135655403137207 seconds. +- Overall skill 0.379721; relative MASE 0.741564; relative WQL 0.518831. +- term skill: long=0.4036, medium=0.4064, short=0.3597. +- domain skill: Econ/Fin=0.1442, Energy=0.2362, Healthcare=0.4597, Nature=0.4330, Sales=0.3350, Transport=0.4655, Web/CloudOps=0.5071. +- frequency skill: A=0.3715, D=0.3604, H=0.3974, M=0.0968, Q=0.1987, S=0.4260, T=0.4397, W=0.2230. +- variates skill: multivariate=0.3981, univariate=0.3647. +- Outcome: Fixed coefficient1.0 matched own-model correction improves all three screens over paired3000. Full public-package validation and the third earlier cutoff follow before publication. No additional optimization. + +## E76 slow-AR correction backcast_evals +- Checkpoint SHA-256: `8562cb05319ed04fdd8544a1af80bf1688ba55284e59b4689aa646e34e38a105`. +- Evaluation: 97 configurations, 9330 instances, 0 failed configurations; 25.913641452789307 seconds. +- Overall skill 0.336781; relative MASE 0.795517; relative WQL 0.552923. +- term skill: long=0.3965, medium=0.3587, short=0.3036. +- domain skill: Econ/Fin=0.1684, Energy=0.2257, Healthcare=0.4092, Nature=0.3689, Sales=0.3927, Transport=0.3721, Web/CloudOps=0.4520. +- frequency skill: A=0.3199, D=0.3498, H=0.3654, M=0.1876, Q=0.2323, S=0.3437, T=0.3374, W=0.2878. +- variates skill: multivariate=0.3539, univariate=0.3228. +- Outcome: Fixed coefficient1.0 matched own-model correction improves all three screens over paired3000. Full public-package validation and the third earlier cutoff follow before publication. No additional optimization. + +## E76 slow-AR correction backcast2_evals +- Checkpoint SHA-256: `8562cb05319ed04fdd8544a1af80bf1688ba55284e59b4689aa646e34e38a105`. +- Evaluation: 94 configurations, 8934 instances, 0 failed configurations; 25.258840799331665 seconds. +- Overall skill 0.360577; relative MASE 0.768980; relative WQL 0.531693. +- term skill: long=0.3677, medium=0.3876, short=0.3472. +- domain skill: Econ/Fin=0.1192, Energy=0.2354, Healthcare=0.3433, Nature=0.4736, Sales=0.5465, Transport=0.4203, Web/CloudOps=0.4380. +- frequency skill: A=0.3515, D=0.4289, H=0.3897, M=0.1383, Q=0.1499, S=0.2861, T=0.3643, W=0.2654. +- variates skill: multivariate=0.3674, univariate=0.3550. +- Outcome: Fixed coefficient1.0 matched own-model correction improves all three screens over paired3000. Full public-package validation and the third earlier cutoff follow before publication. No additional optimization. + +E76 CPU composition receipt: {"method": "matched training delta", "formula": "base + candidate - control", "coefficient": 1.0, "parent_hashes": {"/workspace/research/runs/full_paired_candidate/ema003000.pt": "2a19ebe0d41c1a18feaba318041795be4d268ce890162a5035e6fc6bf1844238", "/workspace/research/runs/long_memory_synth_recovery/ema006000.pt": "fea5b5290a3a9be5618eaeaf67e918e4f677d5be908d562040ce4bdfeb549bd9", "/workspace/research/runs/partial_targets/ema006000.pt": "67562486b099a350da53c3caa5ff0932fe7fecdfe72c1879b064b2a9bb173dfb"}, "seconds": 1.1477709169848822}. + +## E77 slow-AR synthesis during full paired-sign training — prepared, not launched +E61's matched correction transfers favorably to the selected model on three screens. Hypothesis: training the confidence/horizon-aware model directly with the same slow-AR prior can improve on composing an older-backbone correction. Reuse E67's exact E62 initialization, seed197, B64, LR2e-5,12000-step schedule, paired-sign loss and independent horizon RNG300200. Change only synthetic AR phi fromU(.2,.995) toexp(-10**(-U(0,4))), preserving the main RNG calls and zero initial state. This yields time constants log-uniform1..10000 and keeps innovation variance normalized as before. Compare to the already-computed E67 paired control. No inference change, new corpus or validation training. Prioritize after a training allocation is released; E72 mixup remains an unlaunched alternative. + +## E76 slow-AR correction third earlier cutoff +- Checkpoint SHA-256: `8562cb05319ed04fdd8544a1af80bf1688ba55284e59b4689aa646e34e38a105`. +- Evaluation: 93 configurations, 8812 instances, 0 failed configurations; 25.890827178955078 seconds. +- Overall skill 0.389281; relative MASE 0.737064; relative WQL 0.506031. +- term skill: long=0.3949, medium=0.3619, short=0.3971. +- domain skill: Econ/Fin=0.1812, Energy=0.3198, Healthcare=0.2311, Nature=0.5053, Sales=0.3996, Transport=0.5073, Web/CloudOps=0.3940. +- frequency skill: A=0.3622, D=0.4457, H=0.4032, M=0.1047, Q=0.2602, S=0.2878, T=0.4313, W=0.2630. +- variates skill: multivariate=0.3743, univariate=0.4008. +- Outcome: Publish E76: full0.375612 improves paired3000 full0.374401; main0.379721 and earlier0.336781/0.360577/0.389281 all improve. All97 configurations and151170 instances pass; zero crossings. Fixed coefficient1.0 composition of own trained checkpoints; no additional training. + +## E76 slow-AR correction full package validation +- Checkpoint SHA-256: `8562cb05319ed04fdd8544a1af80bf1688ba55284e59b4689aa646e34e38a105`. +- Evaluation: 97 configurations, 151170 instances, 0 failed configurations; not separately timed seconds. +- Overall skill 0.375612; relative MASE 0.744415; relative WQL 0.523713. +- term skill: long=0.3976, medium=0.4054, short=0.3551. +- domain skill: Econ/Fin=0.1204, Energy=0.2291, Healthcare=0.4651, Nature=0.4330, Sales=0.3487, Transport=0.4658, Web/CloudOps=0.4992. +- frequency skill: A=0.2896, D=0.3638, H=0.3924, M=0.1218, Q=0.1820, S=0.4260, T=0.4325, W=0.2151. +- variates skill: multivariate=0.3936, univariate=0.3609. +- Outcome: Publish E76: full0.375612 improves paired3000 full0.374401; main0.379721 and earlier0.336781/0.360577/0.389281 all improve. All97 configurations and151170 instances pass; zero crossings. Fixed coefficient1.0 composition of own trained checkpoints; no additional training. + +E76 published checkpoint SHA2568562cb05319ed04fdd8544a1af80bf1688ba55284e59b4689aa646e34e38a105. Public full inference132.224730s on the shared H100. Relocation fixture15.725434s: three example configurations, bitwise identical, finite and monotone; all runtime/weight hashes verified. The checker initially ran before candidate assembly completed and was restarted after the package existed; the infrastructure error log is retained separately. No inference runtime change. + +E77 sampler fixture: {"seed": 197, "main_and_horizon_rng_matched": true, "real_windows_bitwise_equal": true, "changed_synthetic_context_values": 37211, "cpu_seconds": 4.491440053971019, "optimizer_updates": 0}. Prepared only; no optimizer updates or launch yet. + +## wide_capacity_146m_recovery_ema16000 +- Checkpoint SHA-256: `ad4960e948e64ecf25ec3be4cdc50bae6c7076d15cd7470b028f6ac703bb1081`. +- Evaluation: 97 configurations, 9473 instances, 0 failed configurations; 40.720494747161865 seconds. +- Overall skill 0.375817; relative MASE 0.745785; relative WQL 0.522408. +- term skill: long=0.3987, medium=0.4075, short=0.3541. +- domain skill: Econ/Fin=0.1398, Energy=0.2372, Healthcare=0.4246, Nature=0.4298, Sales=0.3438, Transport=0.4655, Web/CloudOps=0.5003. +- frequency skill: A=0.3787, D=0.3494, H=0.3971, M=0.0940, Q=0.1979, S=0.4232, T=0.4362, W=0.2114. +- variates skill: multivariate=0.3941, univariate=0.3609. +- Outcome: Original-corpus146M at16000 reaches0.375817, above its E47 parent0.375793 and matched small control0.375510: retain the planned continuation. Expanded corpus at8000 scores0.374266 versus original-corpus8000 .374330, an essentially tied result after a worse4000 checkpoint. Stop the expanded branch, preserve full recovery state, and prioritize an initialization that actually diversifies features. This is inconclusive for data scaling, not proof that expanded data is harmful. + +## wide_corpus_expanded_recovery_ema8000 +- Checkpoint SHA-256: `fbab74444b04d805cc04ec612964fcad5e66766d55c3f566a8dc870328ca4493`. +- Evaluation: 97 configurations, 9473 instances, 0 failed configurations; 40.68104600906372 seconds. +- Overall skill 0.374266; relative MASE 0.747150; relative WQL 0.524049. +- term skill: long=0.4008, medium=0.4075, short=0.3504. +- domain skill: Econ/Fin=0.1428, Energy=0.2366, Healthcare=0.4040, Nature=0.4268, Sales=0.3397, Transport=0.4655, Web/CloudOps=0.5014. +- frequency skill: A=0.3790, D=0.3421, H=0.3958, M=0.1065, Q=0.2072, S=0.4225, T=0.4375, W=0.1966. +- variates skill: multivariate=0.3942, univariate=0.3579. +- Outcome: Original-corpus146M at16000 reaches0.375817, above its E47 parent0.375793 and matched small control0.375510: retain the planned continuation. Expanded corpus at8000 scores0.374266 versus original-corpus8000 .374330, an essentially tied result after a worse4000 checkpoint. Stop the expanded branch, preserve full recovery state, and prioritize an initialization that actually diversifies features. This is inconclusive for data scaling, not proof that expanded data is harmful. + +E63 stop requested after8000 evaluation. No validation gain justifies continuing the nearly duplicated-width expanded-data arm while E73 is ready; the complete recovery state will allow later continuation. E73 takes that allocation with seed113/B96/LR3e-5/32000, reset at8000 toseed179, and static compiled loss. Its separate feature-group normalization and independent stream are the research changes; compiler numerical differences were measured explicitly. + +E75 maximum-shape bf16 GPU fixture: {"seed": 281, "batch": 64, "context": 4096, "horizon": 1024, "optimizer_updates": 0, "loss": 0.22305740416049957, "seconds": 10.91669597796863, "peak_allocated_mib": 5362.6640625, "peak_reserved_mib": 5694.0}. All model gradients finite; no optimizer updates. + +E73 independent feature stream with static compilation, seed113 training started at 2026-10-22T07:07:01Z, after the preceding trainer exited with its final checkpoint. Settings are unchanged from the declared comparison. + +E71 eight-point patches, seed197 training started at 2026-10-22T07:08:06Z, after the preceding trainer exited with its final checkpoint. Settings are unchanged from the declared comparison. + +E63 stop receipt: {"experiment": "E63 expanded146M stopped", "step": 8501, "training_loop_seconds": 2892.9847088330425, "checkpoint_sha256": "1d578f0a2278a3a4ad7011e24957797dde52c70b7e2c6f8b369aaf8227ac7133", "ema": "/workspace/research/runs/wide_corpus_expanded_recovery/ema008501.pt", "complete_recovery": "/workspace/research/runs/wide_corpus_expanded_recovery/recovery.pt", "selection_checkpoint_step": 8000, "selection_skill": 0.3742660744379728, "outcome": "Essentially tied with original-corpus same-width8000 .3743298586; prioritize independent stream. Data scaling remains inconclusive."}. + +## E67 full_paired_control final12000 +- Checkpoint SHA-256: `b79cfdeefa1b2b20af89c8484a447dc96bfdd31234f2b08346468c8d9ece62bd`. +- Evaluation: 97 configurations, 9473 instances, 0 failed configurations; 20.30943751335144 seconds. +- Overall skill 0.377243; relative MASE 0.745277; relative WQL 0.520379. +- term skill: long=0.4013, medium=0.4067, short=0.3560. +- domain skill: Econ/Fin=0.1346, Energy=0.2365, Healthcare=0.4485, Nature=0.4306, Sales=0.3336, Transport=0.4666, Web/CloudOps=0.5025. +- frequency skill: A=0.3681, D=0.3525, H=0.3948, M=0.1073, Q=0.2012, S=0.4245, T=0.4384, W=0.2186. +- variates skill: multivariate=0.3950, univariate=0.3628. +- Outcome: Seed197/B64/LR2e-5; final12000 is worse than the selected paired3000 and its published slow-AR correction. No publication. Matched control and candidate complete; no baseline rerun. + +## E67 full_paired_candidate final12000 +- Checkpoint SHA-256: `26d529aeaaee4484b0b4375fdc379779b08b38ac5077f0147587421f4f5fc8b0`. +- Evaluation: 97 configurations, 9473 instances, 0 failed configurations; 21.91175127029419 seconds. +- Overall skill 0.377427; relative MASE 0.744720; relative WQL 0.520460. +- term skill: long=0.4032, medium=0.4055, short=0.3560. +- domain skill: Econ/Fin=0.1326, Energy=0.2359, Healthcare=0.4464, Nature=0.4299, Sales=0.3326, Transport=0.4667, Web/CloudOps=0.5051. +- frequency skill: A=0.3614, D=0.3505, H=0.3948, M=0.1036, Q=0.1986, S=0.4251, T=0.4404, W=0.2181. +- variates skill: multivariate=0.3963, univariate=0.3620. +- Outcome: Seed197/B64/LR2e-5; final12000 is worse than the selected paired3000 and its published slow-AR correction. No publication. Matched control and candidate complete; no baseline rerun. + +E67 complete measured training loop times on the shared H100: individual control2794.8358459s; paired candidate2794.8673859s. These are overlapping wall times, not additive exclusive GPU seconds. + +## Operator recovery2 — 2026-10-22 +The operator reports152594 research seconds remaining; all old processes ended. Published E76 verified SHA2568562cb05319ed04fdd8544a1af80bf1688ba55284e59b4689aa646e34e38a105 and full validation0.3756123475. Resume complete optimizer/EMA/RNG/prefetched-batch checkpoints: E58/E66 wide17000 and control23000, E61 slowAR8000, E65 recent normalization9000. Their prior last logged steps17200/23750/8450/9600 represent at least200/750/450/600 unsaved updates discarded. Original phase logs remain intact, latest elapsed3043.3/3041.0/3037.0/3034.3s respectively. E73 graft had no checkpoint or logged50-step interval; E71 patch8 reached200/63.0s with no checkpoint. Restart both from saved own initialization with unchanged seeds. Compiler caches were absent after recovery, so E73 recompiles static shapes. E63 remains stopped; E67 remains complete. Phase commands/PIDs/timing are recorded in recovery2_launch_receipt.json and *_recovery2.log; queued E69/E75/E77 retain predeclared settings. + +## E78 multiple persistent scales in synthetic residuals — prepared, not launched +Hypothesis: the slow-AR improvement reflects missing persistent residual dynamics, but a single decay rate per synthetic sequence cannot represent fast variation superimposed on slow level changes. Compare four independent OU components to E77's one component. Keep the original component and main RNG draws; add three components with log-uniform time constants1..10000 from an independent RNG seed700200, then divide their sum by2 to preserve asymptotic stationary variance. All components retain zero initial state, isolating multiple scales from initialization. Other synthetic structure,20% synthetic fraction, real windows, horizon augmentation, architecture and loss remain unchanged. ParentE62, seed197/B64/LR2e-5/12000, paired-sign loss, main/horizon RNG identical to E77. This generator uses no external data. Prepare and check on allowed training windows; launch only after a suitable allocation is released. + +E78 sampler fixture passed: { "seed": 197, "extra_seed": 700200, "real_windows_bitwise_equal": 211, "synthetic_windows": 45, "changed_context_values": 26747, "main_and_horizon_rng_matched": true, "finite_masks_and_periods_matched": true, "cpu_seconds": 4.07623768504709, "optimizer_updates": 0 }; prepared only, no optimizer updates. + +## E58/E66 recovered37M control24000 +- Checkpoint SHA-256: `0a77157c454bf7a913b41493f052666ed1cfce3d65206b6c969fb8d95e6314a7`. +- Evaluation: 97 configurations, 9473 instances, 0 failed configurations; 25.700880765914917 seconds. +- Overall skill 0.375681; relative MASE 0.745320; relative WQL 0.522962. +- term skill: long=0.4008, medium=0.4066, short=0.3534. +- domain skill: Econ/Fin=0.1417, Energy=0.2348, Healthcare=0.4210, Nature=0.4300, Sales=0.3397, Transport=0.4677, Web/CloudOps=0.5018. +- frequency skill: A=0.3784, D=0.3533, H=0.3961, M=0.0763, Q=0.2029, S=0.4222, T=0.4370, W=0.2113. +- variates skill: multivariate=0.3953, univariate=0.3596. +- Outcome: Seed113, matched reset at8000 toseed179. Skill0.375681 remains slightly below E47parent0.375793; continue the predeclared schedule to32000. E58large24000 is pending. + +## E79 fresh pretraining at37M and146M — prepared, not launched +Hypothesis: duplicating a mature smaller representation and continuing at a small learning rate limits the useful benefit of capacity. Test distinct random initializations under one matched modern recipe. Both arms use the same direct encoder/decoder architecture (patch16,6encoder/4decoder blocks, recency/confidence inputs and partial-target masks); widths512/1024 with8/16heads are the only architectural difference. Every tensor is initialized here with seed307; no parent weights. Both use packed_sample,20% own synthetic windows, the proven slow-AR time-constant prior1..10000, independent horizon-prefix augmentation seed300310, paired-sign objective, seed307 sampling, batch48 distinct/96signed rows, AdamW LR2e-4,400-step warmup and96000-step cosine schedule, EMA. Both use the same static compiled loss after a numerical/memory fixture. Save every1000; screen4000/8000/16000/24000/48000/72000/96000, with earlier cutoffs for promising candidates. This is a matched width comparison within the new recipe; comparisons to the old published lineage are model-selection comparisons, not clean causal claims about width. Reuse no released or baseline weights. Launch only after existing allocations release. The extended schedule supplies4.608M distinct sampled windows per arm; stop a clearly unpromising branch when its checkpoints establish that result. + +## E71 patch8 first1000 +- Checkpoint SHA-256: `67648eaef1f0a4fe5a7c5526f25c2c8724735720463d99250e814632841f9ada`. +- Evaluation: 97 configurations, 9473 instances, 0 failed configurations; 32.271108627319336 seconds. +- Overall skill 0.374708; relative MASE 0.748109; relative WQL 0.522638. +- term skill: long=0.3990, medium=0.3996, short=0.3553. +- domain skill: Econ/Fin=0.1322, Energy=0.2323, Healthcare=0.4676, Nature=0.4328, Sales=0.3481, Transport=0.4583, Web/CloudOps=0.4952. +- frequency skill: A=0.3712, D=0.3577, H=0.3912, M=0.0847, Q=0.1944, S=0.4235, T=0.4328, W=0.2289. +- variates skill: multivariate=0.3876, univariate=0.3643. +- Outcome: Seed197/B64/LR2e-5; recovers most of the conversion loss, from initial0.362217 to0.374708. Still below matched patch16 paired1000 at0.376860 and parentE62 at0.377343; continue to3000/6000 before a decision. + +E79 initial checkpoint receipts: [ { "path": "/workspace/research/random_capacity_512_initial.pt", "sha256": "19da01694123fcb13df815689ca66460d0da596bd31dfabfabb08dda6f7801e4", "parameters": 36800800, "seed": 307, "cpu_seconds": 0.5544250560924411, "optimizer_updates": 0 }, { "path": "/workspace/research/random_capacity_1024_initial.pt", "sha256": "c9693619ca6277c26fef3b2bde37ff6796bec97b3af9f94588bbc5ddd329ec90", "parameters": 146477344, "seed": 307, "cpu_seconds": 2.0617611361667514, "optimizer_updates": 0 } ] + +E79 width512 fixture: { "width": 512, "initialization_seed": 307, "fixture_seed": 313, "optimizer_updates": 0, "maximum_shape_memory": { "batch": 48, "signed_rows": 96, "context": 4096, "horizon": 1024, "loss": 0.6031821966171265, "peak_allocated_mib": 4520.62451171875, "peak_reserved_mib": 4784.0 }, "eager_loss": 0.3412420153617859, "compiled_loss": 0.3412419855594635, "gradient_cosine": 0.9999952735476323, "max_gradient_difference": 4.57763671875e-05, "compile_comparison_seconds": 53.98739787377417, "total_seconds": 63.50496790325269, "source": "allowed packed_sample and own synthetic generator only" } + +E79 width1024 fixture: { "width": 1024, "initialization_seed": 307, "fixture_seed": 313, "optimizer_updates": 0, "maximum_shape_memory": { "batch": 48, "signed_rows": 96, "context": 4096, "horizon": 1024, "loss": 0.6031821966171265, "peak_allocated_mib": 10162.86376953125, "peak_reserved_mib": 10694.0 }, "eager_loss": 0.3412420153617859, "compiled_loss": 0.3412419855594635, "gradient_cosine": 0.9999932382274589, "max_gradient_difference": 6.103515625e-05, "compile_comparison_seconds": 62.02263342216611, "total_seconds": 72.94260076899081, "source": "allowed packed_sample and own synthetic generator only" } + +E79 both arms are queued after E58wide and E71patch8 release their allocations; their complete recovery files must exist. Queue receipts random_capacity_512_queue.json and random_capacity_1024_queue.json preserve exact commands. Both use B48/96000/seed307/static compilation. No training has started. Compiler caches are backed up under research/compiler_cache_backup and can be restored to the same /tmp paths after another recovery. + +postloss started 2026-10-22T07:27:21.677278+00:00 after recent_normalization_recovery completed. Original predeclared settings and seed retained. + +## Operator recovery3 — 2026-10-23 +Operator reports151596 research seconds remaining; all prior processes ended. Submission E76 hash verified unchanged. Resume complete state at wide20000/control28000/slowAR10000/patch8 2000. Last logged steps20100/28400/10850/2700 imply at least100/400/850/700 discarded unsaved updates; phase2 elapsed768.6/769.5/767.8/770.0s. Graft reached100 updates/722.7s without checkpoint; restart own seed113 initialization, restored compiler caches (13.8722s). Recent normalization completed12000 with final phase training loop708.0175s; do not retrain. Volatility/paired-slowAR and fresh-width queues restored with new dependencies. Postloss reached200/43.0s with nonfinite losses, no checkpoint; numerical diagnosis precedes restarting. Prior phase logs retained; no credential access. + +E75 numerical failure diagnosed on allowed-corpus step53, seed197, without optimizer updates: one row has context magnitude2.2842e18 and float32 variance accumulation overflow, yielding infinite normalization scale. The normalized neural output is finite, but conversion to raw units produces nonfinite values. Context postprocessing statistics themselves remain finite. Add a float64 fallback only on rows with nonfinite mean/scale; ordinary-row arithmetic remains bitwise unchanged. Restart this experiment from E62 after regression checks; no affected checkpoint will be selected. This correction is part of this comparison and will be retained in its inference runtime if selected. + +## E65 recent normalization final12000 +- Checkpoint SHA-256: `1fea846895698d0e33384a63e228b17de602d03154e41ad0c81d5cc060ed182f`. +- Evaluation: 97 configurations, 9473 instances, 0 failed configurations; 31.676968097686768 seconds. +- Overall skill 0.375806; relative MASE 0.744151; relative WQL 0.523574. +- term skill: long=0.4022, medium=0.4055, short=0.3535. +- domain skill: Econ/Fin=0.1427, Energy=0.2348, Healthcare=0.4380, Nature=0.4255, Sales=0.3383, Transport=0.4706, Web/CloudOps=0.4994. +- frequency skill: A=0.3754, D=0.3572, H=0.3959, M=0.0785, Q=0.2042, S=0.4248, T=0.4352, W=0.2109. +- variates skill: multivariate=0.3924, univariate=0.3622. +- Outcome: Seed101/B128/LR3e-5. Main0.375806 narrowly exceeds4096-control0.375764 and8192-full-normalization0.375118; evaluate earlier windows against both matched controls. Final resumed phase708.0175 training-loop seconds; prior interrupted phases are retained separately. + +E75 numerical regression passed: ordinary rows bitwise original; observed overflowing row now finite loss2.6841469 and all gradients finite,7.0381s,0optimizer updates. Fixed-parent replay of250original training batches found no nonfinite postprocessed forecasts in21.9482s. Restarted seed197/B64/LR2e-5/12000 from E62. Future validation uses postloss_inference with the same overflow fallback. The first earlier-control evaluation launch used the old trend summary runtime by mistake and was cancelled; corrected comparisons are named long_context_control_fixed128_ema12000. No selection uses the cancelled diagnostic. + +E76 descriptive paired full-validation comparison against E67paired3000: improvement0.0012113184,51/97configurations improve. Resampling dataset-directory clusters (28keys, seed317,5000draws) gives skill-delta percentiles[-0.0006681,0.0012221,0.0031907]. The range crosses zero and adaptive validation reuse prevents a held-out significance claim. Retain E76 based on measured full/earlier scores, while recognizing this is a small improvement. Largest gains include us_births daily and bizitobs_l2c short; ETT2 minute short worsens. Full per-configuration log-error differences retained in slow_ar_delta6k_comparison.json. + +## E80 matched control for the overflow correction — prepared +E75 needs a numerical fallback for rare overflowing training rows. To isolate its postprocessing-aware objective, prepare a control with exactly the same fallback but the original E67 paired-sign loss. ParentE62,seed197,B64,LR2e-5,12000steps, matching data/horizon RNG. No other inference or training change. This is a newly required numerical control, not a baseline rerun. + +## E81 equal ensemble of E76 and recent-normalization12000 +The longer-history candidate has a stronger second earlier cutoff but lower main/first-earlier performance than E76. Test whether averaging their postprocessed quantiles reduces complementary errors. Fixed equal weights; every member must forecast every instance if packaged. Compare cached main and both earlier predictions first. No coefficient sweep, new fitting, data or training. Reject unless the diagnostic tradeoff justifies full public-package replay. + +E80 overflow-only paired control queued alongside fresh-capacity arms after the old wide/patch8 allocations release. E78 multiscale-AR queued after postloss releases its allocation. Both use declared seed197/B64/LR2e-5/12000 settings; every command is retained in its queue receipt. Neither has started. + +## E65 matched comparison recent_normalization_recovery backcast_evals +- Checkpoint SHA-256: `1fea846895698d0e33384a63e228b17de602d03154e41ad0c81d5cc060ed182f`. +- Evaluation: 97 configurations, 9330 instances, 0 failed configurations; 23.444558143615723 seconds. +- Overall skill 0.335105; relative MASE 0.796743; relative WQL 0.554866. +- term skill: long=0.4010, medium=0.3564, short=0.2994. +- domain skill: Econ/Fin=0.1646, Energy=0.2213, Healthcare=0.4212, Nature=0.3540, Sales=0.3970, Transport=0.3770, Web/CloudOps=0.4538. +- frequency skill: A=0.3179, D=0.3541, H=0.3610, M=0.1841, Q=0.2288, S=0.3371, T=0.3395, W=0.2758. +- variates skill: multivariate=0.3510, univariate=0.3221. +- Outcome: Recent normalization main0.375806/earlier0.335105/0.361614; full-normalization8192 main0.375118/earlier0.335778/0.361619;4096control main0.375764/earlier0.335548/0.359190. Temporal tradeoff, no single-member publication. Test complementary equal ensemble with E76 as declared E81. + +## E65 matched comparison recent_normalization_recovery backcast2_evals +- Checkpoint SHA-256: `1fea846895698d0e33384a63e228b17de602d03154e41ad0c81d5cc060ed182f`. +- Evaluation: 94 configurations, 8934 instances, 0 failed configurations; 23.86247205734253 seconds. +- Overall skill 0.361614; relative MASE 0.766245; relative WQL 0.531861. +- term skill: long=0.3676, medium=0.3942, short=0.3463. +- domain skill: Econ/Fin=0.1074, Energy=0.2351, Healthcare=0.3566, Nature=0.4647, Sales=0.5547, Transport=0.4203, Web/CloudOps=0.4480. +- frequency skill: A=0.3496, D=0.4310, H=0.3890, M=0.1517, Q=0.1448, S=0.2876, T=0.3677, W=0.2567. +- variates skill: multivariate=0.3709, univariate=0.3540. +- Outcome: Recent normalization main0.375806/earlier0.335105/0.361614; full-normalization8192 main0.375118/earlier0.335778/0.361619;4096control main0.375764/earlier0.335548/0.359190. Temporal tradeoff, no single-member publication. Test complementary equal ensemble with E76 as declared E81. + +## E65 matched comparison long_context_control_fixed128 backcast_evals +- Checkpoint SHA-256: `372edd6a03da9f577992a9cf6363b26efe7b11b35fc3aed2d50868566efd0c71`. +- Evaluation: 97 configurations, 9330 instances, 0 failed configurations; 21.399088382720947 seconds. +- Overall skill 0.335548; relative MASE 0.797825; relative WQL 0.553375. +- term skill: long=0.3998, medium=0.3578, short=0.3002. +- domain skill: Econ/Fin=0.1618, Energy=0.2279, Healthcare=0.4256, Nature=0.3575, Sales=0.3966, Transport=0.3721, Web/CloudOps=0.4487. +- frequency skill: A=0.3187, D=0.3539, H=0.3656, M=0.1845, Q=0.2285, S=0.3427, T=0.3351, W=0.2751. +- variates skill: multivariate=0.3528, univariate=0.3215. +- Outcome: Recent normalization main0.375806/earlier0.335105/0.361614; full-normalization8192 main0.375118/earlier0.335778/0.361619;4096control main0.375764/earlier0.335548/0.359190. Temporal tradeoff, no single-member publication. Test complementary equal ensemble with E76 as declared E81. + +## E65 matched comparison long_context_control_fixed128 backcast2_evals +- Checkpoint SHA-256: `372edd6a03da9f577992a9cf6363b26efe7b11b35fc3aed2d50868566efd0c71`. +- Evaluation: 94 configurations, 8934 instances, 0 failed configurations; 21.050649642944336 seconds. +- Overall skill 0.359190; relative MASE 0.769269; relative WQL 0.533801. +- term skill: long=0.3663, medium=0.3893, short=0.3445. +- domain skill: Econ/Fin=0.1046, Energy=0.2371, Healthcare=0.3554, Nature=0.4689, Sales=0.5535, Transport=0.4194, Web/CloudOps=0.4333. +- frequency skill: A=0.3493, D=0.4307, H=0.3894, M=0.1531, Q=0.1429, S=0.2835, T=0.3601, W=0.2577. +- variates skill: multivariate=0.3643, univariate=0.3551. +- Outcome: Recent normalization main0.375806/earlier0.335105/0.361614; full-normalization8192 main0.375118/earlier0.335778/0.361619;4096control main0.375764/earlier0.335548/0.359190. Temporal tradeoff, no single-member publication. Test complementary equal ensemble with E76 as declared E81. + +## E65 matched comparison long_context_8192 backcast_evals +- Checkpoint SHA-256: `90a1a9da78714594078b3cafd32b1812d633f5d6bf85ba8bfa60d09fbc3ebd38`. +- Evaluation: 97 configurations, 9330 instances, 0 failed configurations; 24.02571153640747 seconds. +- Overall skill 0.335778; relative MASE 0.796740; relative WQL 0.553746. +- term skill: long=0.4000, medium=0.3562, short=0.3012. +- domain skill: Econ/Fin=0.1625, Energy=0.2211, Healthcare=0.4240, Nature=0.3584, Sales=0.3963, Transport=0.3783, Web/CloudOps=0.4528. +- frequency skill: A=0.3183, D=0.3550, H=0.3608, M=0.1825, Q=0.2283, S=0.3383, T=0.3410, W=0.2775. +- variates skill: multivariate=0.3516, univariate=0.3229. +- Outcome: Recent normalization main0.375806/earlier0.335105/0.361614; full-normalization8192 main0.375118/earlier0.335778/0.361619;4096control main0.375764/earlier0.335548/0.359190. Temporal tradeoff, no single-member publication. Test complementary equal ensemble with E76 as declared E81. + +## E65 matched comparison long_context_8192 backcast2_evals +- Checkpoint SHA-256: `90a1a9da78714594078b3cafd32b1812d633f5d6bf85ba8bfa60d09fbc3ebd38`. +- Evaluation: 94 configurations, 8934 instances, 0 failed configurations; 24.033729791641235 seconds. +- Overall skill 0.361619; relative MASE 0.766647; relative WQL 0.531576. +- term skill: long=0.3678, medium=0.3937, short=0.3464. +- domain skill: Econ/Fin=0.1060, Energy=0.2331, Healthcare=0.3615, Nature=0.4677, Sales=0.5540, Transport=0.4209, Web/CloudOps=0.4469. +- frequency skill: A=0.3484, D=0.4320, H=0.3875, M=0.1537, Q=0.1444, S=0.2887, T=0.3679, W=0.2592. +- variates skill: multivariate=0.3695, univariate=0.3552. +- Outcome: Recent normalization main0.375806/earlier0.335105/0.361614; full-normalization8192 main0.375118/earlier0.335778/0.361619;4096control main0.375764/earlier0.335548/0.359190. Temporal tradeoff, no single-member publication. Test complementary equal ensemble with E76 as declared E81. + +E81 main: {"composition": "equal quantile mean after each member applies its own fixed rules", "skill_score": 0.3792404374337234, "rel_mase_gmean": 0.7413362113099933, "rel_wql_gmean": 0.5197944315124549, "groups": {"term": {"short": 0.3580501678473965, "medium": 0.4075051608812147, "long": 0.40436165270683755}, "domain": {"Econ/Fin": 0.14514965737880325, "Energy": 0.23693703384364162, "Healthcare": 0.4508892358362413, "Nature": 0.43068317186356664, "Sales": 0.3372290847442204, "Transport": 0.46921029381701185, "Web/CloudOps": 0.5049832577126345}, "freq": {"A-DEC": 0.3741084316720569, "Q-DEC": 0.2032048606604645, "M": 0.09063626527124269, "W-SUN": 0.11024985736894433, "D": 0.35966521985300126, "H": 0.39764382964309264, "15T": 0.21216406035245483, "W-FRI": -0.006517286299776881, "10T": 0.6144670200764979, "W-TUE": 0.5505379760713061, "W-THU": 0.20290227669295913, "W-WED": 0.3148429295780334, "5T": 0.5200294927472697, "10S": 0.42580083885860065}}, "cpu_seconds": 1.3077636559028178, "members": ["/workspace/research/evals/slow_ar_delta6k", "/workspace/research/evals/recent_normalization_recovery_ema12000"], "selection_only": true} + +E81 backcast: {"composition": "equal quantile mean after each member applies its own fixed rules", "skill_score": 0.3372609628923202, "rel_mase_gmean": 0.7949387478174683, "rel_wql_gmean": 0.5525243706037937, "groups": {"term": {"short": 0.30267748548708406, "medium": 0.3587870572492281, "long": 0.4004504376989413}, "domain": {"Econ/Fin": 0.16791580188275335, "Energy": 0.2249147271500851, "Healthcare": 0.41565091499514417, "Nature": 0.36337531871749584, "Sales": 0.3953576986774914, "Transport": 0.37558039099633533, "Web/CloudOps": 0.45422426929296467}, "freq": {"A-DEC": 0.3198896505754395, "Q-DEC": 0.2324966250821987, "M": 0.1868807358115966, "W-SUN": 0.05675657061089712, "D": 0.35253814976953, "H": 0.3643205260222693, "15T": 0.2214260132321374, "W-FRI": 0.25870400902354673, "10T": 0.32373236597235966, "W-TUE": 0.534873854215015, "W-THU": 0.23833675077582528, "W-WED": 0.34309889609685684, "5T": 0.44852116184278545, "10S": 0.34093317446682636}}, "cpu_seconds": 0.9129793490283191, "members": ["/workspace/research/backcast_evals/slow_ar_delta6k", "/workspace/research/backcast_evals/recent_normalization_recovery_ema12000"], "selection_only": true} + +E81 backcast2: {"composition": "equal quantile mean after each member applies its own fixed rules", "skill_score": 0.36253066634723885, "rel_mase_gmean": 0.7663699578325764, "rel_wql_gmean": 0.5302493230514544, "groups": {"term": {"short": 0.3479807306166687, "medium": 0.39255912185019026, "long": 0.3693846383480154}, "domain": {"Econ/Fin": 0.1149608358698847, "Energy": 0.23668310113177404, "Healthcare": 0.35088547046370666, "Nature": 0.47069187269468127, "Sales": 0.5515284168852219, "Transport": 0.42149224872299274, "Web/CloudOps": 0.44469672192663035}, "freq": {"A-DEC": 0.3516200787127538, "Q-DEC": 0.14815814613753098, "M": 0.1464874832493296, "W-SUN": 0.06348262953040695, "D": 0.4307487103712574, "H": 0.3906466140437964, "15T": 0.10333300498128906, "W-FRI": 0.155407323458577, "10T": 0.5012397694349602, "W-TUE": 0.09030520980227696, "W-THU": 0.32093855640615543, "W-WED": 0.5365268550523004, "5T": 0.4842228628098807, "10S": 0.2879093531003366}}, "cpu_seconds": 0.9467690440360457, "members": ["/workspace/research/backcast2_evals/slow_ar_delta6k", "/workspace/research/backcast2_evals/recent_normalization_recovery_ema12000"], "selection_only": true} + +E81 actual candidate hash500fdde392c269ef1a6830477580bc7890b711824097ac711885bf0220e657cb,73,598,528parameters, contains original4096 E76 and recent-normalized8192 E65. Full package replay and relocation verification started. Candidate-only, submission unchanged. + +## E71 patch8 at3000 +- Checkpoint SHA-256: `5be1ccd5e5539619e4f5ff221a4088437e7267ceb34928015a0348187e4a575e`. +- Evaluation: 97 configurations, 9473 instances, 0 failed configurations; 28.875902891159058 seconds. +- Overall skill 0.378312; relative MASE 0.744947; relative WQL 0.518823. +- term skill: long=0.4027, medium=0.4023, short=0.3592. +- domain skill: Econ/Fin=0.1391, Energy=0.2401, Healthcare=0.4515, Nature=0.4387, Sales=0.3471, Transport=0.4584, Web/CloudOps=0.4997. +- frequency skill: A=0.3807, D=0.3546, H=0.3955, M=0.0952, Q=0.1935, S=0.4235, T=0.4386, W=0.2325. +- variates skill: multivariate=0.3942, univariate=0.3653. +- Outcome: Seed197, interrupted then full-state resumed at2000. Main0.378312 essentially matches E67paired16-point3000 at0.378318. Continue to6000; no publication on this near tie. + +Recovery-frequency change verified on the tiny permitted-data fixture: { "maximum_model_difference": 1.5543122344752192e-15, "maximum_ema_difference": 3.0531133177191805e-16, "batch_rng_equal": true, "sampler_rng_equal": true, "seconds": 29.735046536196023, "selection_checkpoint_every": 4, "recovery_checkpoint_every": 2, "fixture_only": true }; increasing recovery-state saves preserves the sampler stream and model/EMA up to measured GPU roundoff. Newly launched jobs default to complete-state saves every250steps, while selection weights remain every1000. Already-running processes retain their original code/schedule. + +## E82 final slow-AR correction transfer — predeclared comparison +When E61 completes12000, replace the6000-step correction with its12000-step counterpart: E67paired3000 + E61slowAR12000 - E42partial12000, coefficient1.0, confidence-only tensor retained from base. This is the already-planned final matched comparison, not addition on top of E76. No coefficient sweep or further training. Check all four screening cutoffs, then full public package only if justified. slow_ar_final_comparison.py executes the fixed composition and screens after the atomic EMA exists. + +## E81 equal long-history ensemble full package +- Checkpoint SHA-256: `500fdde392c269ef1a6830477580bc7890b711824097ac711885bf0220e657cb`. +- Evaluation: 97 configurations, 151170 instances, 0 failed configurations; not separately timed seconds. +- Overall skill 0.375233; relative MASE 0.744322; relative WQL 0.524415. +- term skill: long=0.3984, medium=0.4064, short=0.3536. +- domain skill: Econ/Fin=0.1215, Energy=0.2298, Healthcare=0.4558, Nature=0.4307, Sales=0.3504, Transport=0.4695, Web/CloudOps=0.4976. +- frequency skill: A=0.2913, D=0.3631, H=0.3929, M=0.1149, Q=0.1839, S=0.4258, T=0.4330, W=0.2096. +- variates skill: multivariate=0.3929, univariate=0.3608. +- Outcome: Reject for publication: full0.375233 is below selected E76 0.375612, despite first/second-earlier gains. All97configs/151170instances valid, zero crossings. Public inference213.940586s on shared H100. No coefficient sweep; retain singleton E76. + +volatility_synth started 2026-10-23T02:55:46.196186+00:00 after long_memory_synth_recovery completed. Original predeclared settings and seed retained. + +## E75 corrected postloss first1000 +- Checkpoint SHA-256: `d33a29e773434d2f0faf2bc85b73151354dcb98bedc83f28c44e776835310afa`. +- Evaluation: 97 configurations, 9473 instances, 0 failed configurations; 22.844736576080322 seconds. +- Overall skill 0.376671; relative MASE 0.745163; relative WQL 0.521416. +- term skill: long=0.3992, medium=0.4062, short=0.3560. +- domain skill: Econ/Fin=0.1257, Energy=0.2385, Healthcare=0.4569, Nature=0.4304, Sales=0.3363, Transport=0.4666, Web/CloudOps=0.4975. +- frequency skill: A=0.3694, D=0.3556, H=0.3962, M=0.0824, Q=0.1976, S=0.4232, T=0.4357, W=0.2250. +- variates skill: multivariate=0.3926, univariate=0.3637. +- Outcome: Finite training after the verified normalization fallback. Main0.376671 is slightly below E67paired1000 at0.376860; continue to3000/6000, with newly queued overflow-only E80 control needed to isolate the objective. + +paired_long_memory started 2026-10-23T02:56:31.210459+00:00 after wide_capacity_control_recovery completed. Original predeclared settings and seed retained. + +## E61 slowAR final12000 +- Checkpoint SHA-256: `c27613689514c4d0cd008f3f5e6bf35a14d2ff170c3786820981e52c373de10e`. +- Evaluation: 97 configurations, 9473 instances, 0 failed configurations; 23.156561374664307 seconds. +- Overall skill 0.362914; relative MASE 0.759071; relative WQL 0.534704. +- term skill: long=0.3926, medium=0.4046, short=0.3342. +- domain skill: Econ/Fin=0.1187, Energy=0.1874, Healthcare=0.4331, Nature=0.4271, Sales=0.3429, Transport=0.4595, Web/CloudOps=0.5091. +- frequency skill: A=0.3722, D=0.3472, H=0.3824, M=0.1132, Q=0.2021, S=0.4423, T=0.4070, W=0.2137. +- variates skill: multivariate=0.3958, univariate=0.3355. +- Outcome: Seed79; main0.362914 improves matched E42partial12000 at0.361108. Completed final resumed phase569.4896 training-loop seconds; prior interrupted phase logs retained. E82 transfers the final matched correction to selected paired3000, compared with the already published6000 correction. + +E75 overflow source replay identifies bitcoin_with_missing (seed197,step53,row37), with daily periods7/365 and observed values from6.0e11 to2.28e18. These scales can be legitimate crypto quantities; no data-cleaning or filtering rule is inferred. Source diagnostic0.9295CPU seconds, no optimizer updates. The numerical fallback addresses the representation range. + +E81 relocated package checks passed: three example configurations bitwise equal, finite and monotone,21.2942s. Third-earlier cached ensemble0.389488 slightly exceeds E76 0.389281, but main/full remain lower, so the publication decision remains rejection. The long-history member alone scores0.386764 at this third cutoff. + +## E58/E66 recovered37M control final32000 +- Checkpoint SHA-256: `570983ddd4f6d8e136906f1669798d938ecd93738da55f624afc5b25606249bb`. +- Evaluation: 97 configurations, 9473 instances, 0 failed configurations; 26.769165754318237 seconds. +- Overall skill 0.375305; relative MASE 0.746308; relative WQL 0.522900. +- term skill: long=0.3997, medium=0.4059, short=0.3535. +- domain skill: Econ/Fin=0.1400, Energy=0.2324, Healthcare=0.4362, Nature=0.4284, Sales=0.3384, Transport=0.4676, Web/CloudOps=0.5011. +- frequency skill: A=0.3825, D=0.3508, H=0.3940, M=0.0846, Q=0.2029, S=0.4232, T=0.4370, W=0.2159. +- variates skill: multivariate=0.3936, univariate=0.3604. +- Outcome: Final0.375305 below E47parent0.375793 and own24000 at0.375681. Final resumed phase616.7562 training-loop seconds; prior phase logs retained. No publication. Its allocation now trains E77pairedslowAR. + +E61 final12k EMA hashc27613689514c4d0cd008f3f5e6bf35a14d2ff170c3786820981e52c373de10e. Last resumed phase569.4895656s; phase2 reached10850 in767.8s, phase1 reached8450 in3037.0s, original pre-recovery attempt reached2150 in542.2s. These are overlapping process elapsed times, with discarded unsaved updates counted as spent compute; not exclusive GPU seconds. E65 final resumed phase708.0175s, prior phases3034.3s and71.8s. + +## E82 slowAR final correction evals +- Checkpoint SHA-256: `f74bea6307738c331bd53618fde99f32238a72a0a85beb941f51446054e95c4c`. +- Evaluation: 97 configurations, 9473 instances, 0 failed configurations; 23.064879655838013 seconds. +- Overall skill 0.379181; relative MASE 0.741695; relative WQL 0.519643. +- term skill: long=0.4028, medium=0.4057, short=0.3593. +- domain skill: Econ/Fin=0.1465, Energy=0.2342, Healthcare=0.4607, Nature=0.4319, Sales=0.3354, Transport=0.4660, Web/CloudOps=0.5068. +- frequency skill: A=0.3720, D=0.3593, H=0.3969, M=0.1007, Q=0.1994, S=0.4227, T=0.4390, W=0.2245. +- variates skill: multivariate=0.3977, univariate=0.3640. +- Outcome: Reject replacement of E76: final correction main0.379181/earlier0.336511/0.360111 loses three screens to6000 correction0.379721/0.336781/0.360577. Third-earlier improves0.389784 versus0.389281. Fixed coefficient1; no further sweep or full replay justified by this tradeoff. Retain E76. + +## E82 slowAR final correction backcast_evals +- Checkpoint SHA-256: `f74bea6307738c331bd53618fde99f32238a72a0a85beb941f51446054e95c4c`. +- Evaluation: 97 configurations, 9330 instances, 0 failed configurations; 24.045677423477173 seconds. +- Overall skill 0.336511; relative MASE 0.796069; relative WQL 0.552989. +- term skill: long=0.3975, medium=0.3593, short=0.3024. +- domain skill: Econ/Fin=0.1707, Energy=0.2251, Healthcare=0.4072, Nature=0.3664, Sales=0.3935, Transport=0.3727, Web/CloudOps=0.4527. +- frequency skill: A=0.3195, D=0.3490, H=0.3653, M=0.1930, Q=0.2358, S=0.3419, T=0.3374, W=0.2844. +- variates skill: multivariate=0.3537, univariate=0.3225. +- Outcome: Reject replacement of E76: final correction main0.379181/earlier0.336511/0.360111 loses three screens to6000 correction0.379721/0.336781/0.360577. Third-earlier improves0.389784 versus0.389281. Fixed coefficient1; no further sweep or full replay justified by this tradeoff. Retain E76. + +## E82 slowAR final correction backcast2_evals +- Checkpoint SHA-256: `f74bea6307738c331bd53618fde99f32238a72a0a85beb941f51446054e95c4c`. +- Evaluation: 94 configurations, 8934 instances, 0 failed configurations; 23.12555480003357 seconds. +- Overall skill 0.360111; relative MASE 0.768417; relative WQL 0.532858. +- term skill: long=0.3671, medium=0.3887, short=0.3461. +- domain skill: Econ/Fin=0.1203, Energy=0.2346, Healthcare=0.3518, Nature=0.4695, Sales=0.5471, Transport=0.4199, Web/CloudOps=0.4385. +- frequency skill: A=0.3524, D=0.4264, H=0.3900, M=0.1434, Q=0.1516, S=0.2859, T=0.3636, W=0.2642. +- variates skill: multivariate=0.3674, univariate=0.3541. +- Outcome: Reject replacement of E76: final correction main0.379181/earlier0.336511/0.360111 loses three screens to6000 correction0.379721/0.336781/0.360577. Third-earlier improves0.389784 versus0.389281. Fixed coefficient1; no further sweep or full replay justified by this tradeoff. Retain E76. + +## E82 slowAR final correction backcast3_evals +- Checkpoint SHA-256: `f74bea6307738c331bd53618fde99f32238a72a0a85beb941f51446054e95c4c`. +- Evaluation: 93 configurations, 8812 instances, 0 failed configurations; 23.64928960800171 seconds. +- Overall skill 0.389784; relative MASE 0.736377; relative WQL 0.505671. +- term skill: long=0.3953, medium=0.3617, short=0.3980. +- domain skill: Econ/Fin=0.1860, Energy=0.3200, Healthcare=0.2362, Nature=0.5068, Sales=0.3992, Transport=0.5052, Web/CloudOps=0.3945. +- frequency skill: A=0.3688, D=0.4453, H=0.4034, M=0.1130, Q=0.2642, S=0.2924, T=0.4309, W=0.2637. +- variates skill: multivariate=0.3749, univariate=0.4013. +- Outcome: Reject replacement of E76: final correction main0.379181/earlier0.336511/0.360111 loses three screens to6000 correction0.379721/0.336781/0.360577. Third-earlier improves0.389784 versus0.389281. Fixed coefficient1; no further sweep or full replay justified by this tradeoff. Retain E76. + +E82 composition receipt: {"method": "matched training delta", "formula": "base + candidate - control", "coefficient": 1.0, "parent_hashes": {"/workspace/research/runs/full_paired_candidate/ema003000.pt": "2a19ebe0d41c1a18feaba318041795be4d268ce890162a5035e6fc6bf1844238", "/workspace/research/runs/long_memory_synth_recovery/ema012000.pt": "c27613689514c4d0cd008f3f5e6bf35a14d2ff170c3786820981e52c373de10e", "/workspace/research/runs/partial_targets/ema012000.pt": "a0ef29e85d0cf01677a6a58e4a9f91b077073c4af95f85234eec2ddc223f4837"}, "seconds": 1.2579920410644263} + +## E61 slowAR final12k backcast_evals +- Checkpoint SHA-256: `c27613689514c4d0cd008f3f5e6bf35a14d2ff170c3786820981e52c373de10e`. +- Evaluation: 97 configurations, 9330 instances, 0 failed configurations; 23.161132097244263 seconds. +- Overall skill 0.332462; relative MASE 0.802575; relative WQL 0.555221. +- term skill: long=0.3889, medium=0.3582, short=0.2991. +- domain skill: Econ/Fin=0.1592, Energy=0.2274, Healthcare=0.4159, Nature=0.3553, Sales=0.3990, Transport=0.3647, Web/CloudOps=0.4455. +- frequency skill: A=0.3164, D=0.3542, H=0.3581, M=0.1781, Q=0.2386, S=0.3429, T=0.3325, W=0.2793. +- variates skill: multivariate=0.3483, univariate=0.3196. +- Outcome: Final direct slow-AR improves E42partial12k on both earlier cutoffs:0.332462 versus0.331074 and0.354079 versus0.353096. Matched synthetic-prior benefit survives the full schedule, while transferring its final delta is weaker than transferring6000 at the selected backbone. + +## E61 slowAR final12k backcast2_evals +- Checkpoint SHA-256: `c27613689514c4d0cd008f3f5e6bf35a14d2ff170c3786820981e52c373de10e`. +- Evaluation: 94 configurations, 8934 instances, 0 failed configurations; 22.80446219444275 seconds. +- Overall skill 0.354079; relative MASE 0.774604; relative WQL 0.538615. +- term skill: long=0.3715, medium=0.3752, short=0.3393. +- domain skill: Econ/Fin=0.1039, Energy=0.2274, Healthcare=0.3615, Nature=0.4600, Sales=0.5536, Transport=0.4138, Web/CloudOps=0.4332. +- frequency skill: A=0.3506, D=0.4274, H=0.3872, M=0.1661, Q=0.1581, S=0.2852, T=0.3480, W=0.2482. +- variates skill: multivariate=0.3615, univariate=0.3480. +- Outcome: Final direct slow-AR improves E42partial12k on both earlier cutoffs:0.332462 versus0.331074 and0.354079 versus0.353096. Matched synthetic-prior benefit survives the full schedule, while transferring its final delta is weaker than transferring6000 at the selected backbone. + +E73 usage diagnostic on8allowed-corpus windows,seed337,C512,H128,5.8388CPU seconds,0optimizer updates: initial added-head contribution is zero; atEMA2000 its output RMS is0.00924times the inherited head contribution. Cross-stream query-weight norm rises from0 to0.01672times within-stream norm; head-input streams remain distinct (relative RMS difference1.4274). Distinct features are being used, but this alone does not establish validation improvement. Full receipt wide_graft_usage2k.json includes hashes. + +## E75 corrected postloss3000 +- Checkpoint SHA-256: `82c785d40998e155a20290c9965c346c26cd397fa0f3cf36278377ad2aed5c7d`. +- Evaluation: 97 configurations, 9473 instances, 0 failed configurations; 24.580218076705933 seconds. +- Overall skill 0.378814; relative MASE 0.742602; relative WQL 0.519622. +- term skill: long=0.4027, medium=0.4070, short=0.3582. +- domain skill: Econ/Fin=0.1222, Energy=0.2441, Healthcare=0.4509, Nature=0.4321, Sales=0.3355, Transport=0.4650, Web/CloudOps=0.5021. +- frequency skill: A=0.3710, D=0.3521, H=0.4006, M=0.0768, Q=0.1947, S=0.4220, T=0.4401, W=0.2249. +- variates skill: multivariate=0.3963, univariate=0.3645. +- Outcome: Main0.378814 exceeds original E67paired3000 at0.378318, but remains below selected E76 at0.379721. Check earlier cutoffs; numerical-only control E80 remains queued, so causal attribution to postprocessing loss is provisional. + +## E83 combine postprocessing-aware3000 with the selected slow-AR6000 correction +E75 improves the original paired3000 main screen, while E76 demonstrates that the matched slow-AR6000 correction transfers across cutoffs. Test a fixed composition: E75postloss3000 + E61slowAR6000 - E42partial6000. Keep E75 confidence parameters, its verified overflow fallback and all inference rules. Coefficient1.0, no sweep; evaluate all four screening cutoffs before full replay/publication. This is a predictive composition test; E80 is still needed to separate the numerical correction from the postprocessing-aware loss. No additional training or validation gradients. + +## E77 pairedslowAR first1000 +- Checkpoint SHA-256: `278af3b837eee9032d80e20e70dc9155bd1f272983232826f16ff9df95547846`. +- Evaluation: 97 configurations, 9473 instances, 0 failed configurations; 24.467870473861694 seconds. +- Overall skill 0.377046; relative MASE 0.744404; relative WQL 0.521319. +- term skill: long=0.3994, medium=0.4062, short=0.3566. +- domain skill: Econ/Fin=0.1382, Energy=0.2363, Healthcare=0.4530, Nature=0.4321, Sales=0.3345, Transport=0.4673, Web/CloudOps=0.4987. +- frequency skill: A=0.3685, D=0.3562, H=0.3951, M=0.1012, Q=0.1989, S=0.4234, T=0.4360, W=0.2232. +- variates skill: multivariate=0.3931, univariate=0.3639. +- Outcome: Seed197/B64/LR2e-5; main0.377046 slightly exceeds original paired1000 at0.376860. Early checkpoint only; continue matched3000/6000/12000 comparison. + +## E75 postloss3000 backcast_evals +- Checkpoint SHA-256: `82c785d40998e155a20290c9965c346c26cd397fa0f3cf36278377ad2aed5c7d`. +- Evaluation: 97 configurations, 9330 instances, 0 failed configurations; 24.485270261764526 seconds. +- Overall skill 0.333947; relative MASE 0.800204; relative WQL 0.554393. +- term skill: long=0.3971, medium=0.3587, short=0.2981. +- domain skill: Econ/Fin=0.1484, Energy=0.2303, Healthcare=0.3976, Nature=0.3612, Sales=0.3967, Transport=0.3722, Web/CloudOps=0.4461. +- frequency skill: A=0.3136, D=0.3467, H=0.3696, M=0.1659, Q=0.2280, S=0.3365, T=0.3319, W=0.2801. +- variates skill: multivariate=0.3510, univariate=0.3200. +- Outcome: Both earlier cutoffs regress against original E67paired3000:0.333947 versus0.335739 and0.357605 versus0.358235, exceeding the main gain. Prune corrected postloss continuation, preserve complete recovery and checkpoints, and release its allocation to E78multiscale. E83 composition screening continues; E80 numerical-only control remains needed for attribution. + +## E75 postloss3000 backcast2_evals +- Checkpoint SHA-256: `82c785d40998e155a20290c9965c346c26cd397fa0f3cf36278377ad2aed5c7d`. +- Evaluation: 94 configurations, 8934 instances, 0 failed configurations; 23.475824117660522 seconds. +- Overall skill 0.357605; relative MASE 0.772196; relative WQL 0.534413. +- term skill: long=0.3631, medium=0.3873, short=0.3437. +- domain skill: Econ/Fin=0.1041, Energy=0.2395, Healthcare=0.3227, Nature=0.4712, Sales=0.5519, Transport=0.4212, Web/CloudOps=0.4278. +- frequency skill: A=0.3532, D=0.4162, H=0.3932, M=0.1558, Q=0.1493, S=0.2753, T=0.3604, W=0.2566. +- variates skill: multivariate=0.3621, univariate=0.3540. +- Outcome: Both earlier cutoffs regress against original E67paired3000:0.333947 versus0.335739 and0.357605 versus0.358235, exceeding the main gain. Prune corrected postloss continuation, preserve complete recovery and checkpoints, and release its allocation to E78multiscale. E83 composition screening continues; E80 numerical-only control remains needed for attribution. + +multiscale_ar seed197 training started at 2026-10-23T03:01:47Z, after the preceding trainer exited with its final checkpoint. Settings are unchanged from the declared comparison. + +E75 stop receipt: {"experiment": "E75 corrected postloss stopped", "step": 3653, "checkpoint_sha256": "760314a6d65350417c4a58e32eb21cebaac953dc83820d300a4b6b24b0977cb1", "weights": "/workspace/research/runs/postloss/ema003653.pt", "recovery": "/workspace/research/runs/postloss/recovery.pt", "training_loop_final_record": {"completed_step": 3653, "training_process_loop_seconds": 799.9150489440653}, "process_receipt": {"command": ["python3", "/workspace/research/recovery/train.py", "--code-dir", "/workspace/research/postloss", "--packed", "/workspace/research/packed_sample", "--source-weights-from", "/workspace/research/packed_sample", "--out", "/workspace/research/runs/postloss", "--initialize-from", "/workspace/research/horizon_delta12k.pt", "--steps", "12000", "--batch", "64", "--lr", "2e-05", "--seed", "197", "--stop-file", "/workspace/research/postloss.stop", "--loss-mode", "paired"], "status": "complete", "pid": 1280, "log": "/workspace/research/postloss_recovery3.log", "started_utc": "2026-10-23T02:48:16Z", "note": "Restart own E62 initialization after verified float32 variance-overflow correction; original seed and recipe unchanged.", "returncode": 0, "process_seconds": 810.3138020890765}, "outcome": "Both earlier3000 cutoffs regress; E83 saved-checkpoint composition remains in screening, E80 numerical control queued."} + +## E83 postloss+slowAR evals +- Checkpoint SHA-256: `0ae7875b49b99a44c295dc2b8243327aeacadc25b2354988abb2c37250359a49`. +- Evaluation: 97 configurations, 9473 instances, 0 failed configurations; 23.666229724884033 seconds. +- Overall skill 0.380251; relative MASE 0.741085; relative WQL 0.518280. +- term skill: long=0.4038, medium=0.4070, short=0.3603. +- domain skill: Econ/Fin=0.1348, Energy=0.2414, Healthcare=0.4552, Nature=0.4344, Sales=0.3382, Transport=0.4643, Web/CloudOps=0.5059. +- frequency skill: A=0.3743, D=0.3567, H=0.4003, M=0.0763, Q=0.1987, S=0.4254, T=0.4419, W=0.2242. +- variates skill: multivariate=0.3980, univariate=0.3658. +- Outcome: Main0.380251 improves selectedE76 0.379721, while all earlier scores0.335421/0.360099/0.389069 are below E76 0.336781/0.360577/0.389281. Complete public full validation to check whether the main gain extends beyond the capped screen; report the temporal regressions explicitly. No publication yet. + +## E83 postloss+slowAR backcast_evals +- Checkpoint SHA-256: `0ae7875b49b99a44c295dc2b8243327aeacadc25b2354988abb2c37250359a49`. +- Evaluation: 97 configurations, 9330 instances, 0 failed configurations; 23.061537742614746 seconds. +- Overall skill 0.335421; relative MASE 0.797508; relative WQL 0.553807. +- term skill: long=0.3950, medium=0.3597, short=0.3013. +- domain skill: Econ/Fin=0.1640, Energy=0.2281, Healthcare=0.3974, Nature=0.3657, Sales=0.3962, Transport=0.3713, Web/CloudOps=0.4494. +- frequency skill: A=0.3211, D=0.3463, H=0.3688, M=0.1723, Q=0.2313, S=0.3404, T=0.3344, W=0.2853. +- variates skill: multivariate=0.3526, univariate=0.3214. +- Outcome: Main0.380251 improves selectedE76 0.379721, while all earlier scores0.335421/0.360099/0.389069 are below E76 0.336781/0.360577/0.389281. Complete public full validation to check whether the main gain extends beyond the capped screen; report the temporal regressions explicitly. No publication yet. + +## E83 postloss+slowAR backcast2_evals +- Checkpoint SHA-256: `0ae7875b49b99a44c295dc2b8243327aeacadc25b2354988abb2c37250359a49`. +- Evaluation: 94 configurations, 8934 instances, 0 failed configurations; 23.91576099395752 seconds. +- Overall skill 0.360099; relative MASE 0.769700; relative WQL 0.531990. +- term skill: long=0.3671, medium=0.3869, short=0.3468. +- domain skill: Econ/Fin=0.1196, Energy=0.2390, Healthcare=0.3200, Nature=0.4758, Sales=0.5509, Transport=0.4203, Web/CloudOps=0.4338. +- frequency skill: A=0.3513, D=0.4228, H=0.3920, M=0.1454, Q=0.1495, S=0.2810, T=0.3646, W=0.2628. +- variates skill: multivariate=0.3658, univariate=0.3555. +- Outcome: Main0.380251 improves selectedE76 0.379721, while all earlier scores0.335421/0.360099/0.389069 are below E76 0.336781/0.360577/0.389281. Complete public full validation to check whether the main gain extends beyond the capped screen; report the temporal regressions explicitly. No publication yet. + +## E83 postloss+slowAR backcast3_evals +- Checkpoint SHA-256: `0ae7875b49b99a44c295dc2b8243327aeacadc25b2354988abb2c37250359a49`. +- Evaluation: 93 configurations, 8812 instances, 0 failed configurations; 23.31220841407776 seconds. +- Overall skill 0.389069; relative MASE 0.739022; relative WQL 0.505041. +- term skill: long=0.3936, medium=0.3628, short=0.3969. +- domain skill: Econ/Fin=0.1785, Energy=0.3245, Healthcare=0.2109, Nature=0.5039, Sales=0.4010, Transport=0.5082, Web/CloudOps=0.3908. +- frequency skill: A=0.3606, D=0.4409, H=0.4062, M=0.1151, Q=0.2596, S=0.2759, T=0.4323, W=0.2589. +- variates skill: multivariate=0.3734, univariate=0.4011. +- Outcome: Main0.380251 improves selectedE76 0.379721, while all earlier scores0.335421/0.360099/0.389069 are below E76 0.336781/0.360577/0.389281. Complete public full validation to check whether the main gain extends beyond the capped screen; report the temporal regressions explicitly. No publication yet. + +E83 CPU composition receipt: {"method": "matched training delta", "formula": "base + candidate - control", "coefficient": 1.0, "parent_hashes": {"/workspace/research/runs/postloss/ema003000.pt": "82c785d40998e155a20290c9965c346c26cd397fa0f3cf36278377ad2aed5c7d", "/workspace/research/runs/long_memory_synth_recovery/ema006000.pt": "fea5b5290a3a9be5618eaeaf67e918e4f677d5be908d562040ce4bdfeb549bd9", "/workspace/research/runs/partial_targets/ema006000.pt": "67562486b099a350da53c3caa5ff0932fe7fecdfe72c1879b064b2a9bb173dfb"}, "seconds": 1.0092943429481238} + +## E83 postprocessing-aware3000 plus slowAR6000 full public-package replay +- Checkpoint SHA-256: `0ae7875b49b99a44c295dc2b8243327aeacadc25b2354988abb2c37250359a49`. +- Evaluation: 97 configurations, 151170 instances, 0 failed configurations; not separately timed seconds. +- Overall skill 0.376131; relative MASE 0.743936; relative WQL 0.523180. +- term skill: long=0.3978, medium=0.4059, short=0.3557. +- domain skill: Econ/Fin=0.1127, Energy=0.2338, Healthcare=0.4604, Nature=0.4345, Sales=0.3517, Transport=0.4644, Web/CloudOps=0.4981. +- frequency skill: A=0.2909, D=0.3608, H=0.3952, M=0.1011, Q=0.1844, S=0.4254, T=0.4346, W=0.2165. +- variates skill: multivariate=0.3936, univariate=0.3619. +- Outcome: Publish as best full primary validation: skill0.376130733 versus E76 0.375612348; relMASE0.743936224 and relWQL0.523180415, 97 configurations/151170 instances, zero failures. Public inference120.396952s; independent relocation14.861885s gave bitwise equal finite ordered forecasts on three examples. All three earlier cutoffs regress versus E76, so this is a narrow primary-validation selection, not evidence of broad temporal improvement. Keep E76 as the more stable rollback. No training in this composition; coefficient1.0 fixed, source training seeds197/79; hashes and parent compute above. E80 numerical-only control remains queued. + +E83 descriptive cluster comparison: {"candidate": "/workspace/research/valid-report-postloss-slow-ar.json", "parent": "/workspace/research/valid-report-slow-ar-delta6k.json", "candidate_hash": "0ae7875b49b99a44c295dc2b8243327aeacadc25b2354988abb2c37250359a49", "parent_hash": "8562cb05319ed04fdd8544a1af80bf1688ba55284e59b4689aa646e34e38a105", "skill_difference": 0.0005183850211532004, "n_configs": 97, "n_dataset_clusters": 28, "improved_configs": 51, "bootstrap_seed": 317, "bootstrap_samples": 5000, "dataset_cluster_delta_percentiles": {"p025": -0.0027720070621055277, "p50": 0.0002985771391603165, "p975": 0.004193731829011101}, "note": "Descriptive resampling only. Adaptive validation selection and reused windows prevent treating this as a held-out significance test."} + +## E58/E66 recovered146M at global24000 +- Checkpoint SHA-256: `8f9a786a85c8fcd3d4aaba9e5651a68b6f2df74d5cdc0e30907a4293dd297492`. +- Evaluation: 97 configurations, 9473 instances, 0 failed configurations; 37.02190327644348 seconds. +- Overall skill 0.375978; relative MASE 0.744657; relative WQL 0.522931. +- term skill: long=0.4006, medium=0.4073, short=0.3537. +- domain skill: Econ/Fin=0.1411, Energy=0.2353, Healthcare=0.4235, Nature=0.4300, Sales=0.3398, Transport=0.4674, Web/CloudOps=0.5021. +- frequency skill: A=0.3775, D=0.3521, H=0.3962, M=0.0785, Q=0.2030, S=0.4233, T=0.4372, W=0.2148. +- variates skill: multivariate=0.3957, univariate=0.3598. +- Outcome: Matched 37M control24000 is0.375680951 and original E47parent0.375792930. Widened model0.375977511 is modestly higher; continue planned32000, no publication against stronger E83. Seed113 then recovery reset179, batch96, baseLR3e-5; complete recovery retained. + +## E73 independent feature stream first4000 +- Checkpoint SHA-256: `c16f146c285d9e5c8c9ae60e54af3d9d1dae3f48e1cf2104e37676062df8ad5e`. +- Evaluation: 97 configurations, 9473 instances, 0 failed configurations; 40.91307091712952 seconds. +- Overall skill 0.372085; relative MASE 0.750057; relative WQL 0.525664. +- term skill: long=0.3976, medium=0.4060, short=0.3484. +- domain skill: Econ/Fin=0.1401, Energy=0.2348, Healthcare=0.4070, Nature=0.4248, Sales=0.3416, Transport=0.4634, Web/CloudOps=0.4971. +- frequency skill: A=0.3733, D=0.3439, H=0.3937, M=0.0971, Q=0.1987, S=0.4185, T=0.4336, W=0.2014. +- variates skill: multivariate=0.3914, univariate=0.3563. +- Outcome: Main0.372084568 regresses versus own function-preserving initialization0.375792503 and original-width parent. New-stream usage was nonzero at2000; use planned8000 to distinguish transient feature learning from persistent degradation. Seed113/B96/LR3e-5, compiled static loss; no publication. + +## E78 multiscale AR first1000 +- Checkpoint SHA-256: `a3c57dba6318728692a87990bf652a9a8469fa4fb24bf925e79a6f72510936d3`. +- Evaluation: 97 configurations, 9473 instances, 0 failed configurations; 24.617778062820435 seconds. +- Overall skill 0.377072; relative MASE 0.744319; relative WQL 0.521335. +- term skill: long=0.3993, medium=0.4061, short=0.3568. +- domain skill: Econ/Fin=0.1341, Energy=0.2362, Healthcare=0.4612, Nature=0.4310, Sales=0.3345, Transport=0.4671, Web/CloudOps=0.4985. +- frequency skill: A=0.3662, D=0.3563, H=0.3950, M=0.1046, Q=0.1987, S=0.4232, T=0.4355, W=0.2248. +- variates skill: multivariate=0.3928, univariate=0.3643. +- Outcome: Main0.377071682 is effectively tied with E77 single slowAR1000 at0.377046018 and above E67 original AR1000 at0.376859515. Early checkpoint, continue matched3000/6000/12000. Seed197, extraRNG700200, B64/LR2e-5, unchanged corpus and main/horizon RNG. + +## E84 daily and weekly aggregation of permitted real series +Hypothesis: the original two/four-fold aggregation rarely exposes coarse energy and other dynamics. On20% of real rows, independently consider a daily or weekly block average of the same allowed series at the original cutoff. Only exact integral frequency ratios are used; require8 context blocks and1 future block. Select equally among eligible daily/weekly choices. Finite-value averages use float64 sums and disjoint past/future blocks. Context and target can be shorter than requested and remain masked; periods become[7,365] or[52,1]. All original sampling/random draws and original local synthetic windows remain unchanged; extra RNGseed900200. Planned own E62 initialization, seed197, paired B64, LR2e-5/12000steps match E67. This tests coarser real-series augmentation, not additional external data. Queue after E77 to stay within one H100. +Training-only fixture: {"seed": 197, "aggregation_seed": 900200, "diagnostic_shapes_seed": 331, "cpu_seconds": 3.8464299628976732, "rows": 4096, "aggregated_rows": 459, "main_and_horizon_rng_matched": true, "nonaggregated_rows_bitwise_equal": true, "changing_future_does_not_change_context": true, "before_period_counts": {"(24, 168)": 932, "(1440, 10080)": 160, "(288, 2016)": 805, "(12, 1)": 214, "(48, 336)": 249, "(4, 1)": 235, "(7, 365)": 513, "(96, 672)": 244, "(52, 1)": 148, "(144, 1008)": 149, "(2, 91)": 5, "(1, 1)": 153, "(900, 21600)": 23, "(360, 8640)": 73, "(4, 28)": 54, "(12, 84)": 30, "(720, 5040)": 14, "(6, 42)": 24, "(360, 2520)": 7, "(450, 10800)": 3, "(72, 504)": 51, "(4, 182)": 6, "(36, 252)": 3, "(1, 7)": 1}, "after_period_counts": {"(52, 1)": 352, "(1440, 10080)": 131, "(288, 2016)": 692, "(12, 1)": 214, "(48, 336)": 231, "(4, 1)": 235, "(7, 365)": 704, "(96, 672)": 223, "(24, 168)": 778, "(1, 1)": 153, "(900, 21600)": 23, "(360, 8640)": 73, "(144, 1008)": 133, "(4, 28)": 38, "(12, 84)": 26, "(720, 5040)": 10, "(360, 2520)": 6, "(450, 10800)": 3, "(72, 504)": 41, "(2, 91)": 3, "(4, 182)": 6, "(36, 252)": 3, "(6, 42)": 17, "(1, 7)": 1}, "factor_counts": {"168": 73, "288": 97, "2016": 37, "7": 66, "1440": 26, "24": 90, "48": 14, "96": 20, "28": 12, "144": 4, "336": 6, "4": 4, "10080": 8, "1008": 1, "672": 1}, "aggregated_context_percentiles": [8.0, 48.0, 4096.0], "aggregated_target_percentiles": [1.0, 60.0, 1024.0], "optimizer_updates": 0} + +## E71 patch8 at6000 +- Checkpoint SHA-256: `308389b7217c080af9eb185559d4ee3cafa0f3e0f8c4dd8f5526b68198c89988`. +- Evaluation: 97 configurations, 9473 instances, 0 failed configurations; 32.29093050956726 seconds. +- Overall skill 0.381179; relative MASE 0.741215; relative WQL 0.516638. +- term skill: long=0.4036, medium=0.4049, short=0.3630. +- domain skill: Econ/Fin=0.1328, Energy=0.2446, Healthcare=0.4760, Nature=0.4387, Sales=0.3481, Transport=0.4598, Web/CloudOps=0.5005. +- frequency skill: A=0.3764, D=0.3587, H=0.3961, M=0.1191, Q=0.1895, S=0.4235, T=0.4409, W=0.2396. +- variates skill: multivariate=0.3970, univariate=0.3683. +- Outcome: Main0.381178739 exceeds matched E67paired6000 0.378455389 and selected E83main0.380250568. Test all three earlier cutoffs and full public replay before publication. Architecture change only; seed197/B64/LR2e-5; checkpoints resumed with full optimizer and RNG state. + +## E77 paired slowAR at3000 +- Checkpoint SHA-256: `0691cb2a1f55203c949dcdd159bc9da17d56a3cccbba57fa2c61a9f74b769376`. +- Evaluation: 97 configurations, 9473 instances, 0 failed configurations; 24.542114734649658 seconds. +- Overall skill 0.378238; relative MASE 0.743200; relative WQL 0.520166. +- term skill: long=0.4019, medium=0.4056, short=0.3580. +- domain skill: Econ/Fin=0.1408, Energy=0.2382, Healthcare=0.4444, Nature=0.4319, Sales=0.3325, Transport=0.4662, Web/CloudOps=0.5040. +- frequency skill: A=0.3686, D=0.3549, H=0.3971, M=0.0926, Q=0.1967, S=0.4234, T=0.4392, W=0.2222. +- variates skill: multivariate=0.3972, univariate=0.3627. +- Outcome: Main0.378238485 is slightly below original E67paired3000 0.378318033; continue planned6000 before choosing. Seed197/B64/LR2e-5, main and requested-horizon sampling matched. + +## E85 transfer the slow-AR correction to the finer-patch model +E71patch8 at6000 improves the main screen and first earlier cutoff. E76 previously showed a matched slow-AR6000 correction improves all four cutoffs on patch16. Test one fixed composition: patch8_6000 + fold16to8(slowAR6000 - partial6000), where the linear fold is exactly E71 initialization: sum projection halves, retain first8 output positions, other tensors unchanged. Confidence parameters remain those of patch8. This is a transfer hypothesis, not exact function preservation. Coefficient1 with no sweep, original inference rules, all four cutoffs before full replay/publication. No new optimizer updates or random draws; original training seeds197 and79. Script patch8_delta/merge.py and all parent hashes retained. + +## E86 learn the added feature stream while freezing inherited parameters — prepared +E73 at4000 underperforms its function-preserving starting model despite using the new stream. Hypothesis: a low-rate update of every parameter disturbs the mature function while learning the random additions too slowly. Reuse exactly E73 independent-stream initialization, but protect all36,800,800 inherited entries and train the109,676,544 new/cross-stream entries atLR2e-4 for8000steps. Original seed113/B96/source/context/horizon/loss unchanged. This changes trainable scope and learning rate together and is a method comparison, not a one-factor causal attribution. Gradient entries for protected blocks are zeroed before clipping; inherited values are restored after AdamW to cancel its weight decay. References reconstruct from the saved checkpoint on resume. All outputs still come from one146M model; inference has no adaptation or freezing machinery. Await E73next8000 before allocation. +Fixture on6 allowed-corpus windows, discarded copy only: {"cpu_seconds": 8.51362281711772, "seed": 347, "optimizer_updates_on_discarded_fixture_copy": 3, "allowed_corpus_windows": 6, "protected_parameters": 36800800, "trainable_parameters": 109676544, "all_inherited_parameters_bitwise_equal_to_parent": true, "recovery_reference_reconstruction_equal": true, "new_head_max_change": 0.0006009560311213136, "losses": [0.3154084384441376, 0.5418640375137329, 3.4678804874420166], "selection_checkpoint_written": false} + +## E71 patch8 at6000 first earlier +- Checkpoint SHA-256: `308389b7217c080af9eb185559d4ee3cafa0f3e0f8c4dd8f5526b68198c89988`. +- Evaluation: 97 configurations, 9330 instances, 0 failed configurations; 31.848629474639893 seconds. +- Overall skill 0.337263; relative MASE 0.796725; relative WQL 0.551283. +- term skill: long=0.4004, medium=0.3547, short=0.3044. +- domain skill: Econ/Fin=0.1652, Energy=0.2281, Healthcare=0.4272, Nature=0.3699, Sales=0.4068, Transport=0.3692, Web/CloudOps=0.4462. +- frequency skill: A=0.3305, D=0.3545, H=0.3635, M=0.2050, Q=0.2352, S=0.3470, T=0.3351, W=0.2877. +- variates skill: multivariate=0.3553, univariate=0.3226. +- Outcome: Earlier skills0.337262777/0.360619944/0.384512704. First two exceed E83 and E76; third regresses materially against both, including E83 0.389069333. Record this temporal tradeoff. Full primary validation0.377160271 exceeds E83 0.376130733. + +## E71 patch8 at6000 second earlier +- Checkpoint SHA-256: `308389b7217c080af9eb185559d4ee3cafa0f3e0f8c4dd8f5526b68198c89988`. +- Evaluation: 94 configurations, 8934 instances, 0 failed configurations; 30.961294412612915 seconds. +- Overall skill 0.360620; relative MASE 0.769294; relative WQL 0.531405. +- term skill: long=0.3643, medium=0.3909, short=0.3471. +- domain skill: Econ/Fin=0.1073, Energy=0.2373, Healthcare=0.3614, Nature=0.4729, Sales=0.5535, Transport=0.4233, Web/CloudOps=0.4312. +- frequency skill: A=0.3265, D=0.4302, H=0.3900, M=0.1513, Q=0.1529, S=0.2830, T=0.3613, W=0.2737. +- variates skill: multivariate=0.3599, univariate=0.3612. +- Outcome: Earlier skills0.337262777/0.360619944/0.384512704. First two exceed E83 and E76; third regresses materially against both, including E83 0.389069333. Record this temporal tradeoff. Full primary validation0.377160271 exceeds E83 0.376130733. + +## E71 patch8 at6000 third earlier +- Checkpoint SHA-256: `308389b7217c080af9eb185559d4ee3cafa0f3e0f8c4dd8f5526b68198c89988`. +- Evaluation: 93 configurations, 8812 instances, 0 failed configurations; 30.769143104553223 seconds. +- Overall skill 0.384513; relative MASE 0.743664; relative WQL 0.509403. +- term skill: long=0.3930, medium=0.3668, short=0.3880. +- domain skill: Econ/Fin=0.1775, Energy=0.3064, Healthcare=0.2392, Nature=0.5093, Sales=0.3974, Transport=0.5038, Web/CloudOps=0.3894. +- frequency skill: A=0.3445, D=0.4405, H=0.4005, M=0.1373, Q=0.2471, S=0.2972, T=0.4240, W=0.2382. +- variates skill: multivariate=0.3641, univariate=0.4002. +- Outcome: Earlier skills0.337262777/0.360619944/0.384512704. First two exceed E83 and E76; third regresses materially against both, including E83 0.389069333. Record this temporal tradeoff. Full primary validation0.377160271 exceeds E83 0.376130733. + +## E71 patch8 at6000 full public-package replay +- Checkpoint SHA-256: `308389b7217c080af9eb185559d4ee3cafa0f3e0f8c4dd8f5526b68198c89988`. +- Evaluation: 97 configurations, 151170 instances, 0 failed configurations; not separately timed seconds. +- Overall skill 0.377160; relative MASE 0.744341; relative WQL 0.521172. +- term skill: long=0.3977, medium=0.4038, short=0.3585. +- domain skill: Econ/Fin=0.1125, Energy=0.2381, Healthcare=0.4791, Nature=0.4387, Sales=0.3613, Transport=0.4600, Web/CloudOps=0.4920. +- frequency skill: A=0.2981, D=0.3626, H=0.3904, M=0.1423, Q=0.1804, S=0.4235, T=0.4341, W=0.2328. +- variates skill: multivariate=0.3923, univariate=0.3649. +- Outcome: Publish strongest full primary candidate: skill0.377160271, relMASE0.744340532 and relWQL0.521171845; 97 configurations/151170 instances and zero failures. Inference149.631765s under shared H100; relocation14.860671s, three configurations bitwise equal, finite and ordered. Earlier cutoffs1/2 improve but cutoff3 falls to0.384512704 from E83 0.389069333. This selection is based on primary full validation, with a material earlier-window tradeoff. Seed197/B64/LR2e-5; model36,665,488 parameters. Training continues to12000; E85slowAR transfer currently lowers main skill. + +E71 descriptive full comparison: {"candidate": "/workspace/research/valid-report-patch8-6k.json", "parent": "/workspace/research/valid-report-postloss-slow-ar.json", "candidate_hash": "308389b7217c080af9eb185559d4ee3cafa0f3e0f8c4dd8f5526b68198c89988", "parent_hash": "0ae7875b49b99a44c295dc2b8243327aeacadc25b2354988abb2c37250359a49", "skill_difference": 0.001029538022933929, "n_configs": 97, "n_dataset_clusters": 28, "improved_configs": 51, "bootstrap_seed": 317, "bootstrap_samples": 5000, "dataset_cluster_delta_percentiles": {"p025": -0.0037342410536253257, "p50": 0.0011012262742491896, "p975": 0.005930261648940039}, "note": "Descriptive resampling only. Adaptive validation selection and reused windows prevent treating this as a held-out significance test."} + +## E87 equal ensemble of postloss+slowAR and patch8_6000 +E71 improves full and first two earlier scores but regresses on the third. Its per-configuration differences against E83 run in both directions. Test a single predeclared equal average of their final quantiles, every member on every instance, to reduce these disagreements. No coefficient sweep or per-dataset rules; no additional training. Screen all four cutoffs with cached forecasts, then require a complete public-package replay if promising. Member hashes0ae7875b49b99a44c295dc2b8243327aeacadc25b2354988abb2c37250359a49 and308389b7217c080af9eb185559d4ee3cafa0f3e0f8c4dd8f5526b68198c89988. + +E87 cached valid_screen: {"composition": "equal quantile mean after each member applies its own fixed rules", "skill_score": 0.38368555666405846, "rel_mase_gmean": 0.7380746260326486, "rel_wql_gmean": 0.5146410398989778, "groups": {"term": {"short": 0.36538266249250273, "medium": 0.4082837973759923, "long": 0.4054283252594051}, "domain": {"Econ/Fin": 0.13784772212566998, "Energy": 0.24686600590076013, "Healthcare": 0.4744445530216731, "Nature": 0.43858582844670857, "Sales": 0.34499044135263635, "Transport": 0.4641713711179224, "Web/CloudOps": 0.504852655777996}, "freq": {"A-DEC": 0.37872174128763647, "Q-DEC": 0.19576783224250183, "M": 0.10352329460914667, "W-SUN": 0.0815487165237122, "D": 0.3619759620437517, "H": 0.40136898241411867, "15T": 0.21618729924976976, "W-FRI": 0.0005727425187482815, "10T": 0.6270627319464949, "W-TUE": 0.6195479435809044, "W-THU": 0.20656160899192244, "W-WED": 0.3284622519828829, "5T": 0.5178170596317864, "10S": 0.4250896621077831}}, "cpu_seconds": 0.8467225290369242, "members": ["/workspace/research/evals/postloss_slow_ar_delta6k", "/workspace/research/evals/patch8_ema6000"], "selection_only": true} + +E87 cached valid_backcast: {"composition": "equal quantile mean after each member applies its own fixed rules", "skill_score": 0.33897078175106665, "rel_mase_gmean": 0.7947425391953629, "rel_wql_gmean": 0.549812808335635, "groups": {"term": {"short": 0.30566345086890123, "medium": 0.3596853813715456, "long": 0.4000253823922667}, "domain": {"Econ/Fin": 0.16860733481230095, "Energy": 0.23127409233361262, "Healthcare": 0.41508771848830917, "Nature": 0.3697364579642294, "Sales": 0.40314036211800997, "Transport": 0.3731226096810256, "Web/CloudOps": 0.44992972632456585}, "freq": {"A-DEC": 0.32848231511958337, "Q-DEC": 0.23562309290129158, "M": 0.19041732638938724, "W-SUN": 0.025351943698138202, "D": 0.3534437856481293, "H": 0.3688302027123801, "15T": 0.22312808413257845, "W-FRI": 0.2396493514491056, "10T": 0.3237622247956604, "W-TUE": 0.5543034150109358, "W-THU": 0.2604484095221261, "W-WED": 0.35736004737028026, "5T": 0.4409641017446271, "10S": 0.3450492950879055}}, "cpu_seconds": 0.7932982260826975, "members": ["/workspace/research/backcast_evals/postloss_slow_ar_delta6k", "/workspace/research/backcast_evals/patch8_ema6000"], "selection_only": true} + +E87 cached valid_backcast2: {"composition": "equal quantile mean after each member applies its own fixed rules", "skill_score": 0.36315845377936284, "rel_mase_gmean": 0.7669826024462578, "rel_wql_gmean": 0.5287827307935709, "groups": {"term": {"short": 0.3500710560941004, "medium": 0.39152062222827344, "long": 0.36789234736191556}, "domain": {"Econ/Fin": 0.11764473029610945, "Energy": 0.2411172995160572, "Healthcare": 0.3456990033484809, "Nature": 0.4766227701429041, "Sales": 0.5542499449658524, "Transport": 0.4240681895536792, "Web/CloudOps": 0.43520532523252287}, "freq": {"A-DEC": 0.3426922609629939, "Q-DEC": 0.15231664461723582, "M": 0.15186824306557356, "W-SUN": 0.05088825731569291, "D": 0.4296455306851713, "H": 0.39379373998466227, "15T": 0.10856607437428756, "W-FRI": 0.14720063917754334, "10T": 0.5085351252790775, "W-TUE": 0.07220161720253104, "W-THU": 0.3450882445488662, "W-WED": 0.5601701661454508, "5T": 0.47180636145224786, "10S": 0.2848018841721206}}, "cpu_seconds": 0.8004084089770913, "members": ["/workspace/research/backcast2_evals/postloss_slow_ar_delta6k", "/workspace/research/backcast2_evals/patch8_ema6000"], "selection_only": true} + +E87 cached valid_backcast3: {"composition": "equal quantile mean after each member applies its own fixed rules", "skill_score": 0.3893067316884232, "rel_mase_gmean": 0.7388677045007551, "rel_wql_gmean": 0.5047537816165226, "groups": {"term": {"short": 0.3954965650939142, "medium": 0.3665319698411411, "long": 0.3951340525388045}, "domain": {"Econ/Fin": 0.18260879016430553, "Energy": 0.31821834617690903, "Healthcare": 0.23007490883688486, "Nature": 0.5085775372702099, "Sales": 0.40095301819850215, "Transport": 0.5083874509785007, "Web/CloudOps": 0.39193111101214995}, "freq": {"A-DEC": 0.3560016768547195, "Q-DEC": 0.2553722438340734, "M": 0.12861913252670398, "W-SUN": 0.15123578049216402, "D": 0.44398634475249976, "H": 0.40571804459976457, "15T": 0.25382261362712966, "W-FRI": 0.03470000993227129, "10T": 0.6063950584074473, "W-TUE": 0.24994144625076442, "W-THU": 0.35649129369337096, "W-WED": 0.3788996637883131, "5T": 0.4648714119960353, "10S": 0.2886025572123534}}, "cpu_seconds": 0.7890921849757433, "members": ["/workspace/research/backcast3_evals/postloss_slow_ar_delta6k", "/workspace/research/backcast3_evals/patch8_ema6000"], "selection_only": true} + +E87 cached equal ensemble improves all four cutoffs over both members:0.383686/0.338971/0.363158/0.389307. Assemble exact per-member model code and start full public-package validation. No coefficient search or new optimization. + +## E88 matched late slow-AR continuation of patch8 — prepared +E71patch8 improves primary validation, while mapping the E61slowAR weight correction onto it lowers the main screen. Test direct training instead: preserve E71 complete model/EMA/AdamW/RNG/prefetched-batch state exactly at8000, then continue to12000 with only the synthetic AR coefficient law changed fromU(.2,.995) toexp(-10**(-U(0,4))). Reuse the already verified E77 data implementation and E71 model. All corpus windows, signs, horizon prefixes, batch64, seed197, original LR2e-5 cosine schedule and optimizer state stay matched. The saved prefetched batch is consumed once unchanged, so the changed generator starts with the following batch. No new random initialization, external data or validation training. Queue after E69 volatility releases its memory. Compare the unchanged E71 final12000 and the candidate; screen9000/12000 and earlier cutoffs for promising results. + +## E85 patch8 slowAR correction evals +- Checkpoint SHA-256: `7047bf350ed55e595b47c5f8e0b1712429d049d00967b5b126d1cd039b1c7ba4`. +- Evaluation: 97 configurations, 9473 instances, 0 failed configurations; 32.3618426322937 seconds. +- Overall skill 0.379635; relative MASE 0.743623; relative WQL 0.517537. +- term skill: long=0.4040, medium=0.4057, short=0.3597. +- domain skill: Econ/Fin=0.1422, Energy=0.2420, Healthcare=0.4441, Nature=0.4393, Sales=0.3494, Transport=0.4592, Web/CloudOps=0.5028. +- frequency skill: A=0.3775, D=0.3606, H=0.3953, M=0.0567, Q=0.1914, S=0.4261, T=0.4427, W=0.2368. +- variates skill: multivariate=0.3979, univariate=0.3647. +- Outcome: Reject for primary selection: patch8 slowAR transfer main0.379634840 is below patch8 parent0.381178739; earlier1/2 improve to0.339492623/0.363603669, but earlier3 slightly regresses to0.384319115 versus0.384512704. This transfer trades main performance for earlier1/2 and does not dominate. No full replay; E88 tests direct training on slowAR instead. Fixed coefficient1, CPU composition1.039392s, no optimization. + +## E85 patch8 slowAR correction backcast_evals +- Checkpoint SHA-256: `7047bf350ed55e595b47c5f8e0b1712429d049d00967b5b126d1cd039b1c7ba4`. +- Evaluation: 97 configurations, 9330 instances, 0 failed configurations; 32.34789538383484 seconds. +- Overall skill 0.339493; relative MASE 0.792721; relative WQL 0.550345. +- term skill: long=0.4006, medium=0.3577, short=0.3072. +- domain skill: Econ/Fin=0.1745, Energy=0.2254, Healthcare=0.4254, Nature=0.3780, Sales=0.4071, Transport=0.3673, Web/CloudOps=0.4527. +- frequency skill: A=0.3339, D=0.3537, H=0.3634, M=0.2145, Q=0.2368, S=0.3480, T=0.3408, W=0.2893. +- variates skill: multivariate=0.3590, univariate=0.3235. +- Outcome: Reject for primary selection: patch8 slowAR transfer main0.379634840 is below patch8 parent0.381178739; earlier1/2 improve to0.339492623/0.363603669, but earlier3 slightly regresses to0.384319115 versus0.384512704. This transfer trades main performance for earlier1/2 and does not dominate. No full replay; E88 tests direct training on slowAR instead. Fixed coefficient1, CPU composition1.039392s, no optimization. + +## E85 patch8 slowAR correction backcast2_evals +- Checkpoint SHA-256: `7047bf350ed55e595b47c5f8e0b1712429d049d00967b5b126d1cd039b1c7ba4`. +- Evaluation: 94 configurations, 8934 instances, 0 failed configurations; 31.240530729293823 seconds. +- Overall skill 0.363604; relative MASE 0.765287; relative WQL 0.529214. +- term skill: long=0.3689, medium=0.3919, short=0.3503. +- domain skill: Econ/Fin=0.1175, Energy=0.2366, Healthcare=0.3619, Nature=0.4770, Sales=0.5513, Transport=0.4209, Web/CloudOps=0.4416. +- frequency skill: A=0.3278, D=0.4365, H=0.3885, M=0.1369, Q=0.1530, S=0.2924, T=0.3673, W=0.2792. +- variates skill: multivariate=0.3657, univariate=0.3619. +- Outcome: Reject for primary selection: patch8 slowAR transfer main0.379634840 is below patch8 parent0.381178739; earlier1/2 improve to0.339492623/0.363603669, but earlier3 slightly regresses to0.384319115 versus0.384512704. This transfer trades main performance for earlier1/2 and does not dominate. No full replay; E88 tests direct training on slowAR instead. Fixed coefficient1, CPU composition1.039392s, no optimization. + +## E85 patch8 slowAR correction backcast3_evals +- Checkpoint SHA-256: `7047bf350ed55e595b47c5f8e0b1712429d049d00967b5b126d1cd039b1c7ba4`. +- Evaluation: 93 configurations, 8812 instances, 0 failed configurations; 30.950783491134644 seconds. +- Overall skill 0.384319; relative MASE 0.743701; relative WQL 0.509698. +- term skill: long=0.3926, medium=0.3666, short=0.3878. +- domain skill: Econ/Fin=0.1844, Energy=0.3057, Healthcare=0.2112, Nature=0.5108, Sales=0.3977, Transport=0.5024, Web/CloudOps=0.3936. +- frequency skill: A=0.3446, D=0.4387, H=0.3996, M=0.1104, Q=0.2522, S=0.2976, T=0.4263, W=0.2439. +- variates skill: multivariate=0.3656, univariate=0.3987. +- Outcome: Reject for primary selection: patch8 slowAR transfer main0.379634840 is below patch8 parent0.381178739; earlier1/2 improve to0.339492623/0.363603669, but earlier3 slightly regresses to0.384319115 versus0.384512704. This transfer trades main performance for earlier1/2 and does not dominate. No full replay; E88 tests direct training on slowAR instead. Fixed coefficient1, CPU composition1.039392s, no optimization. + +## E69 stochastic volatility first3000 +- Checkpoint SHA-256: `f68cd2d694ecf03ff038c6a2f49657eb2f211f213d68c7dec3ed5cc0c5592c5c`. +- Evaluation: 97 configurations, 9473 instances, 0 failed configurations; 23.498825311660767 seconds. +- Overall skill 0.359482; relative MASE 0.763227; relative WQL 0.537539. +- term skill: long=0.3909, medium=0.4022, short=0.3296. +- domain skill: Econ/Fin=0.1126, Energy=0.1841, Healthcare=0.4243, Nature=0.4229, Sales=0.3462, Transport=0.4587, Web/CloudOps=0.5052. +- frequency skill: A=0.3751, D=0.3459, H=0.3825, M=0.1061, Q=0.1992, S=0.4403, T=0.3990, W=0.2102. +- variates skill: multivariate=0.3912, univariate=0.3331. +- Outcome: Main0.359481571 exceeds matched E42partial3000 0.358812323, while E61slowAR3000 was0.360587999. Continue6000 to assess persistence before transfer or earlier-window selection. Seed79/B256/LR5e-5, independent generatorRNG500082, same real windows. + +## E78 multiscale AR at3000 +- Checkpoint SHA-256: `185d1a3d5d32a3cad539fb3a83bf98ae06a56606a35bafaf8deecd75c8b496d1`. +- Evaluation: 97 configurations, 9473 instances, 0 failed configurations; 24.39926815032959 seconds. +- Overall skill 0.378048; relative MASE 0.743609; relative WQL 0.520198. +- term skill: long=0.4028, medium=0.4059, short=0.3572. +- domain skill: Econ/Fin=0.1377, Energy=0.2383, Healthcare=0.4460, Nature=0.4316, Sales=0.3318, Transport=0.4664, Web/CloudOps=0.5035. +- frequency skill: A=0.3675, D=0.3526, H=0.3972, M=0.1004, Q=0.1981, S=0.4242, T=0.4386, W=0.2228. +- variates skill: multivariate=0.3966, univariate=0.3629. +- Outcome: Main0.378048480 is slightly below E77single slowAR3000 0.378238485 and E67original AR3000 0.378318033. Continue planned6000; no publication or evidence of a gain yet. Seed197/B64/LR2e-5, extraRNG700200, main/horizon draws matched. + +E85 exact composition receipt: { + "method": "matched training delta with fixed linear patch conversion", + "formula": "patch8_base + fold16to8(slowAR6000 - partial6000)", + "coefficient": 1.0, + "mapping": "sum input/query/recency halves; take first8 output positions; other tensors unchanged", + "exact_function_preservation": false, + "parent_hashes": { + "/workspace/research/runs/patch8/ema006000.pt": "308389b7217c080af9eb185559d4ee3cafa0f3e0f8c4dd8f5526b68198c89988", + "/workspace/research/runs/long_memory_synth_recovery/ema006000.pt": "fea5b5290a3a9be5618eaeaf67e918e4f677d5be908d562040ce4bdfeb549bd9", + "/workspace/research/runs/partial_targets/ema006000.pt": "67562486b099a350da53c3caa5ff0932fe7fecdfe72c1879b064b2a9bb173dfb" + }, + "seconds": 1.0393919900525361, + "checkpoint_sha256": "7047bf350ed55e595b47c5f8e0b1712429d049d00967b5b126d1cd039b1c7ba4", + "optimizer_updates": 0 +} + +Measured checkpoint compute through current selection milestones: +```json +{ + "E71 patch8 selected6000": { + "phase_log": "patch8_recovery3.log", + "checkpoint_loop_record": { + "step": 6000, + "loss": 0.27341755777597426, + "seconds": 1302.8, + "lr": 1.2000000000000002e-05, + "grad_norm": 0.12276209145784378, + "context": 2048, + "horizon": 512 + }, + "prior_interrupted_logged_seconds": { + "initial_unsaved_attempt": 63.0, + "recovery2_last_logged2700_resumed_from2000": 770.0 + }, + "total_logged_process_loop_seconds_including_repeated_work": 2135.8 + }, + "E58 recoveredwide24000": { + "phase_log": "wide_capacity_146m_recovery_recovery3.log", + "checkpoint_loop_record": { + "step": 24000, + "loss": 0.3451157429814339, + "seconds": 1117.3, + "lr": 9.51471862576143e-06, + "grad_norm": 0.31578314304351807, + "context": 2048, + "horizon": 1024 + } + }, + "E73 graft4000": { + "phase_log": "wide_graft_recovery3.log", + "checkpoint_loop_record": { + "step": 4000, + "loss": 0.34949749410152436, + "seconds": 1146.4, + "lr": 2.908655439013544e-05, + "grad_norm": 0.47331908345222473, + "context": 1024, + "horizon": 1024 + } + }, + "E69 volatility3000": { + "phase_log": "volatility_synth_recovery3.log", + "checkpoint_loop_record": { + "step": 3000, + "loss": 0.33109228551387787, + "seconds": 977.8, + "lr": 4.4142135623730954e-05, + "grad_norm": 0.13540834188461304, + "context": 2048, + "horizon": 1024 + } + }, + "E77 pairedslowAR3000": { + "phase_log": "paired_long_memory_recovery3.log", + "checkpoint_loop_record": { + "step": 3000, + "loss": 0.31684702143073085, + "seconds": 624.8, + "lr": 1.765685424949238e-05, + "grad_norm": 1.3133997917175293, + "context": 2048, + "horizon": 1024 + } + }, + "E78 multiscale3000": { + "phase_log": "multiscale_ar_train.log", + "checkpoint_loop_record": { + "step": 3000, + "loss": 0.3144953328371048, + "seconds": 637.3, + "lr": 1.765685424949238e-05, + "grad_norm": 1.2501322031021118, + "context": 2048, + "horizon": 1024 + } + }, + "note": "These are concurrent training-process loop measurements on the one H100, not exclusive GPU seconds. Prefix records exclude startup and may exclude unlogged tails before operator interruption. Earlier parent training is recorded separately in the lineage experiments." +} +``` + +E88 launcher correction: naming the launcher queue.py shadowed Python standard-library queue during Torch import, causing a circular-import failure before snapshotting or training. Renamed it launch.py and restarted while E71recovery8000 was still present. Also renamed the E84launcher to avoid the same import hazard in future sampler checks. Existing E84 queued process is unchanged. No optimizer updates or validation results were affected. + +E88 preserved complete exact8000 state: { + "snapshot": "/workspace/research/patch8_recovery008000.pt", + "step": 8000, + "sha256": "2fa4b6f18df4a5f2eed7e1bc153f8f5e3755584305569db42e047f3b1312f5d5", + "snapshot_process_seconds_including_wait": 2.3576558139175177, + "prefetched_batch_preserved": true +} + +## E87 equal patch16/patch8 ensemble complete public-package replay +- Checkpoint SHA-256: `65e5698c0ee4fe1e9ae0607db6ef56c573aa4b82ec009b63ea1a861e4aec741d`. +- Evaluation: 97 configurations, 151170 instances, 0 failed configurations; not separately timed seconds. +- Overall skill 0.379630; relative MASE 0.741025; relative WQL 0.519360. +- term skill: long=0.3995, medium=0.4072, short=0.3609. +- domain skill: Econ/Fin=0.1168, Energy=0.2399, Healthcare=0.4788, Nature=0.4386, Sales=0.3583, Transport=0.4643, Web/CloudOps=0.4967. +- frequency skill: A=0.2977, D=0.3660, H=0.3960, M=0.1275, Q=0.1843, S=0.4251, T=0.4366, W=0.2280. +- variates skill: multivariate=0.3954, univariate=0.3668. +- Outcome: Publish strongest replayable candidate: full skill0.379629893, relMASE0.741025239, relWQL0.519360272; 97 configurations/151170 instances, zero failures. Both members forecast every instance with fixed .5/.5 weights, total73,466,288 parameters. Full inference229.446591s on the shared H100, relocation22.524727s with bitwise-equal finite ordered forecasts on3 examples. Actual package quantiles are bitwise equal to the independent member average on electricity hourly short, solar minute short and ETT2hourly long. Cached diagnostic skill0.383685557/0.338970782/0.363158454/0.389306732 exceeds each member at all four cutoffs. No additional training or coefficient sweep; member training seeds/compute recorded above. + +E87 composition verification: { + "cpu_seconds": 0.016339811962097883, + "comparisons": [ + { + "config_id": "electricity__H__short", + "shape": [ + 370, + 1, + 9, + 48 + ], + "bitwise_equal_to_fixed_member_average": true, + "max_abs_difference": 0.0, + "max_scaled_difference": 0.0 + }, + { + "config_id": "solar__T__short", + "shape": [ + 137, + 1, + 9, + 48 + ], + "bitwise_equal_to_fixed_member_average": true, + "max_abs_difference": 0.0, + "max_scaled_difference": 0.0 + }, + { + "config_id": "ett2__H__long", + "shape": [ + 1, + 7, + 9, + 720 + ], + "bitwise_equal_to_fixed_member_average": true, + "max_abs_difference": 0.0, + "max_scaled_difference": 0.0 + } + ], + "no_new_inference_or_training": true +} + +E87 descriptive cluster comparison: {"candidate": "/workspace/research/valid-report-mixed-patch-ensemble.json", "parent": "/workspace/research/valid-report-patch8-6k.json", "candidate_hash": "65e5698c0ee4fe1e9ae0607db6ef56c573aa4b82ec009b63ea1a861e4aec741d", "parent_hash": "308389b7217c080af9eb185559d4ee3cafa0f3e0f8c4dd8f5526b68198c89988", "skill_difference": 0.002469622689308837, "n_configs": 97, "n_dataset_clusters": 28, "improved_configs": 53, "bootstrap_seed": 317, "bootstrap_samples": 5000, "dataset_cluster_delta_percentiles": {"p025": 0.0003627411169234291, "p50": 0.002411418344102745, "p975": 0.004671754347801495}, "note": "Descriptive resampling only. Adaptive validation selection and reused windows prevent treating this as a held-out significance test."} + +## E77 paired slowAR at6000 +- Checkpoint SHA-256: `d471571ef423a63db1ab1b70922d691c31df6099238b1d2e53cb0b48b343a353`. +- Evaluation: 97 configurations, 9473 instances, 0 failed configurations; 24.37148094177246 seconds. +- Overall skill 0.378677; relative MASE 0.743065; relative WQL 0.519526. +- term skill: long=0.4020, medium=0.4060, short=0.3586. +- domain skill: Econ/Fin=0.1354, Energy=0.2384, Healthcare=0.4567, Nature=0.4305, Sales=0.3378, Transport=0.4664, Web/CloudOps=0.5036. +- frequency skill: A=0.3690, D=0.3556, H=0.3958, M=0.1000, Q=0.1944, S=0.4250, T=0.4395, W=0.2269. +- variates skill: multivariate=0.3981, univariate=0.3628. +- Outcome: Main0.378677489 modestly exceeds matched E67paired6000 0.378455389, after3000 was slightly behind. Continue planned12000 and check three earlier cutoffs; this remains below selected individual E71 and ensemble E87. Seed197/B64/LR2e-5, same real-window and requested-horizon RNG. + +## E73 independent stream at8000, prune continuation +- Checkpoint SHA-256: `c75d9f9ceae94e22370c2cc8ce4aac6ca83f5474d32e9ca3c571d5aa381d8d4a`. +- Evaluation: 97 configurations, 9473 instances, 0 failed configurations; 41.07528495788574 seconds. +- Overall skill 0.373597; relative MASE 0.747769; relative WQL 0.524735. +- term skill: long=0.3982, medium=0.4061, short=0.3509. +- domain skill: Econ/Fin=0.1426, Energy=0.2349, Healthcare=0.4024, Nature=0.4298, Sales=0.3401, Transport=0.4643, Web/CloudOps=0.4998. +- frequency skill: A=0.3809, D=0.3443, H=0.3950, M=0.0990, Q=0.2037, S=0.4221, T=0.4345, W=0.2060. +- variates skill: multivariate=0.3921, univariate=0.3585. +- Outcome: Main0.373596872 recovers from4000 0.372084568 but remains below its function-preserving start0.375792503 and matched original-width parent. Prune after this second negative checkpoint to prioritize E86 frozen-inherited higher-rate training; this does not establish that further E73 training could never recover. Checkpoint8000 training loop2058.7s this recovery plus722.7s logged in the prior interrupted attempt; complete stop receipt follows. Seed113/B96/LR3e-5, compiled static loss; resetseed179 occurred at8001 while waiting for evaluation. + +E86 frozen inherited stream seed113 training started at 2026-10-23T03:23:23Z, after the preceding trainer exited with its final checkpoint. Settings are unchanged from the declared comparison. + +E73 stop receipt: {"experiment": "E73 stopped after negative8000", "final_loop": {"completed_step": 8683, "training_process_loop_seconds": 2219.4671748820692}, "checkpoint": "/workspace/research/runs/wide_graft/ema008683.pt", "sha256": "36c21e4662c5c6e07cd3c2a34ecba515bc986d29deaef5e1856e6950c30e7db7", "complete_recovery": "/workspace/research/runs/wide_graft/recovery.pt"} + +## E77 paired slowAR6000 backcast_evals +- Checkpoint SHA-256: `d471571ef423a63db1ab1b70922d691c31df6099238b1d2e53cb0b48b343a353`. +- Evaluation: 97 configurations, 9330 instances, 0 failed configurations; 24.434251308441162 seconds. +- Overall skill 0.337098; relative MASE 0.795494; relative WQL 0.552410. +- term skill: long=0.3992, medium=0.3581, short=0.3032. +- domain skill: Econ/Fin=0.1599, Energy=0.2277, Healthcare=0.4115, Nature=0.3693, Sales=0.3963, Transport=0.3724, Web/CloudOps=0.4511. +- frequency skill: A=0.3147, D=0.3511, H=0.3673, M=0.1858, Q=0.2368, S=0.3433, T=0.3357, W=0.2891. +- variates skill: multivariate=0.3547, univariate=0.3227. +- Outcome: Earlier0.337098369/0.360407088/0.389754840 each exceeds matched E67paired6000 0.335118632/0.359446144/0.389533029, with main0.378677489 also above0.378455389. Supports slower synthetic AR dynamics in the actual paired objective. Continue12000 and queued E88 patch8 continuation; selected E87ensemble remains stronger on primary validation. + +## E77 paired slowAR6000 backcast2_evals +- Checkpoint SHA-256: `d471571ef423a63db1ab1b70922d691c31df6099238b1d2e53cb0b48b343a353`. +- Evaluation: 94 configurations, 8934 instances, 0 failed configurations; 23.03375768661499 seconds. +- Overall skill 0.360407; relative MASE 0.768163; relative WQL 0.532542. +- term skill: long=0.3654, medium=0.3912, short=0.3462. +- domain skill: Econ/Fin=0.1057, Energy=0.2366, Healthcare=0.3597, Nature=0.4721, Sales=0.5486, Transport=0.4198, Web/CloudOps=0.4360. +- frequency skill: A=0.3457, D=0.4251, H=0.3918, M=0.1564, Q=0.1512, S=0.2811, T=0.3637, W=0.2618. +- variates skill: multivariate=0.3657, univariate=0.3561. +- Outcome: Earlier0.337098369/0.360407088/0.389754840 each exceeds matched E67paired6000 0.335118632/0.359446144/0.389533029, with main0.378677489 also above0.378455389. Supports slower synthetic AR dynamics in the actual paired objective. Continue12000 and queued E88 patch8 continuation; selected E87ensemble remains stronger on primary validation. + +## E77 paired slowAR6000 backcast3_evals +- Checkpoint SHA-256: `d471571ef423a63db1ab1b70922d691c31df6099238b1d2e53cb0b48b343a353`. +- Evaluation: 93 configurations, 8812 instances, 0 failed configurations; 21.342447519302368 seconds. +- Overall skill 0.389755; relative MASE 0.736028; relative WQL 0.505958. +- term skill: long=0.3958, medium=0.3615, short=0.3978. +- domain skill: Econ/Fin=0.1734, Energy=0.3172, Healthcare=0.2610, Nature=0.5086, Sales=0.3982, Transport=0.5051, Web/CloudOps=0.3947. +- frequency skill: A=0.3572, D=0.4437, H=0.4041, M=0.1316, Q=0.2594, S=0.2895, T=0.4297, W=0.2664. +- variates skill: multivariate=0.3731, univariate=0.4026. +- Outcome: Earlier0.337098369/0.360407088/0.389754840 each exceeds matched E67paired6000 0.335118632/0.359446144/0.389533029, with main0.378677489 also above0.378455389. Supports slower synthetic AR dynamics in the actual paired objective. Continue12000 and queued E88 patch8 continuation; selected E87ensemble remains stronger on primary validation. + +## E89 matched patch4 versus patch8 continuation — prepared +E71 finer patches improved primary full validation. Test another halving of patch length. Both arms initialize from own E71EMA6000, with candidate applying the same fixed linear fold8to4 and first4 output rows. Positions preserve physical time units. Candidate starts functionally different, so record its zero-step screen. Width512/heads8/6encoder/4decoder/context4096/horizon1024 unchanged. New matched sampling seed401, B32 distinct/64signed, paired loss, LR2e-5/12000steps and fresh AdamW/EMA. Both use original synthetic generator and the same source and horizon-prefix streams; horizon truncation remains rounded16 in both to isolate model patch length. Candidate versus control changes patch length, while comparisons against E71 are method selections with a new optimizer/batch/seed. Measure maximum-shape memory before queuing both arms after E78 and E86 release their allocations. Screen1000/3000/6000/12000; earlier windows and full package replay for promising candidates. No external data or weights. + +## E89 patch4 zero-step conversion +- Checkpoint SHA-256: `60a834e264452f3acddfdf191115c6af7ce6e972d959909bf701bac5517420ed`. +- Evaluation: 97 configurations, 9473 instances, 0 failed configurations; 52.6757493019104 seconds. +- Overall skill 0.370553; relative MASE 0.752738; relative WQL 0.526349. +- term skill: long=0.3989, medium=0.3945, short=0.3498. +- domain skill: Econ/Fin=0.1324, Energy=0.2289, Healthcare=0.4183, Nature=0.4394, Sales=0.3492, Transport=0.4525, Web/CloudOps=0.4931. +- frequency skill: A=0.3342, D=0.3388, H=0.3842, M=0.1611, Q=0.1857, S=0.4158, T=0.4284, W=0.2377. +- variates skill: multivariate=0.3847, univariate=0.3590. +- Outcome: Initial screen0.370553128 is below source E71patch8_6000 0.381178739, as expected from a non-function-preserving patch fold. This is the baseline before new training, not an improvement. Candidate/control maximum-shape checks are finite and fit: reserved11376/6224MiB including EMA and AdamW moment storage. Both B32/seed401 arms are queued after E78 and E86. + +E89 patch4_initial.json: { + "method": "sum input/query/recency halves and keep first4 output rows; same physical position coordinates", + "exact_function_preservation": false, + "parent_sha256": "308389b7217c080af9eb185559d4ee3cafa0f3e0f8c4dd8f5526b68198c89988", + "checkpoint_sha256": "60a834e264452f3acddfdf191115c6af7ce6e972d959909bf701bac5517420ed", + "parameters": 36597832, + "cpu_seconds": 0.6177915919106454, + "optimizer_updates": 0 +} + +E89 patch4_memory_check.json: { + "seed": 401, + "batch": 32, + "signed_rows": 64, + "patch": 4, + "context": 4096, + "horizon": 1024, + "EMA_and_AdamW_moment_storage_present": true, + "optimizer_updates": 0, + "loss": 0.2863434851169586, + "seconds": 10.160149822942913, + "peak_allocated_mib": 10789.2275390625, + "peak_reserved_mib": 11376.0 +} + +E89 patch4_control_memory_check.json: { + "seed": 401, + "batch": 32, + "signed_rows": 64, + "patch": 8, + "context": 4096, + "horizon": 1024, + "EMA_and_AdamW_moment_storage_present": true, + "optimizer_updates": 0, + "loss": 0.30326029658317566, + "seconds": 10.05252459505573, + "peak_allocated_mib": 5778.71923828125, + "peak_reserved_mib": 6224.0 +} + +E89 candidate and control queued after PIDs2497(E78) and3946(E86), with their complete recovery files required; inferred total memory replaces those two allocations while preserving evaluation headroom. + +## E86 protected inherited stream first1000 +- Checkpoint SHA-256: `048d9f14388ad2409cd2a3f0b352d5fc1b8525f2e1e5e196707a36fe84a193bc`. +- Evaluation: 97 configurations, 9473 instances, 0 failed configurations; 41.35012197494507 seconds. +- Overall skill 0.372364; relative MASE 0.749500; relative WQL 0.525586. +- term skill: long=0.3978, medium=0.4046, short=0.3494. +- domain skill: Econ/Fin=0.1443, Energy=0.2339, Healthcare=0.4085, Nature=0.4257, Sales=0.3367, Transport=0.4639, Web/CloudOps=0.4980. +- frequency skill: A=0.3876, D=0.3511, H=0.3944, M=0.0661, Q=0.1958, S=0.4208, T=0.4323, W=0.2051. +- variates skill: multivariate=0.3906, univariate=0.3575. +- Outcome: Main0.372363971 is below own initialization0.375792503. Higher-rate added/cross-stream learning still changes predictions despite protecting inherited tensors. Continue predeclared3000 comparison before deciding. Seed113/B96/LR2e-4, compiled loss, 36,800,800 inherited parameters protected and109,676,544 new/cross-stream parameters train. + +## E78 multiscale AR at6000 +- Checkpoint SHA-256: `d517ab35a8bdaeb1b0d14d4fb1879a984cedec0663bc09e3a602497facbcf473`. +- Evaluation: 97 configurations, 9473 instances, 0 failed configurations; 21.888899564743042 seconds. +- Overall skill 0.378668; relative MASE 0.743166; relative WQL 0.519472. +- term skill: long=0.4027, medium=0.4063, short=0.3582. +- domain skill: Econ/Fin=0.1300, Energy=0.2384, Healthcare=0.4669, Nature=0.4301, Sales=0.3370, Transport=0.4663, Web/CloudOps=0.5026. +- frequency skill: A=0.3680, D=0.3559, H=0.3959, M=0.1037, Q=0.1941, S=0.4255, T=0.4387, W=0.2279. +- variates skill: multivariate=0.3972, univariate=0.3635. +- Outcome: Main0.378667589 is effectively tied with E77single slowAR6000 0.378677489; both slightly exceed original E67paired6000 0.378455389. No demonstrated gain from adding AR components. Continue planned12000 endpoint; no publication. + +## E69 stochastic volatility at6000 +- Checkpoint SHA-256: `1161e76a6d17ace780f0bf63d6961a2ea28a4036ee5a29ee78b9e9897e7661ee`. +- Evaluation: 97 configurations, 9473 instances, 0 failed configurations; 23.00778031349182 seconds. +- Overall skill 0.359792; relative MASE 0.762404; relative WQL 0.537598. +- term skill: long=0.3895, medium=0.4029, short=0.3305. +- domain skill: Econ/Fin=0.1133, Energy=0.1860, Healthcare=0.4240, Nature=0.4263, Sales=0.3419, Transport=0.4578, Web/CloudOps=0.5034. +- frequency skill: A=0.3769, D=0.3446, H=0.3811, M=0.1104, Q=0.1982, S=0.4402, T=0.4011, W=0.2124. +- variates skill: multivariate=0.3908, univariate=0.3340. +- Outcome: Main0.359791528 exceeds matched E42partial6000 0.359221833; E61slowAR6000 remains stronger at0.361281186. Check the first two earlier cutoffs to decide whether the volatility gain generalizes. Seed79/B256/LR5e-5, extraRNG500082; full continuation is planned12000. + +E86 actual GPU-trained EMA1000 preservation audit: { + "checkpoint": "/workspace/research/runs/wide_graft_frozen/ema001000.pt", + "step": 1000, + "cpu_seconds": 1.7478242949582636, + "inherited_parameters": 36800800, + "inherited_bitwise_equal_to_E47": true, + "changed_added_or_cross_stream_parameters": 109676526, + "optimizer_updates": 0 +} + +## E69 volatility6000 backcast_evals +- Checkpoint SHA-256: `1161e76a6d17ace780f0bf63d6961a2ea28a4036ee5a29ee78b9e9897e7661ee`. +- Evaluation: 97 configurations, 9330 instances, 0 failed configurations; 22.790717124938965 seconds. +- Overall skill 0.330896; relative MASE 0.805425; relative WQL 0.555856. +- term skill: long=0.3909, medium=0.3566, short=0.2960. +- domain skill: Econ/Fin=0.1469, Energy=0.2301, Healthcare=0.4125, Nature=0.3497, Sales=0.3988, Transport=0.3637, Web/CloudOps=0.4436. +- frequency skill: A=0.3198, D=0.3550, H=0.3590, M=0.1648, Q=0.2278, S=0.3421, T=0.3294, W=0.2744. +- variates skill: multivariate=0.3479, univariate=0.3170. +- Outcome: Main0.359791528 and earlier1 0.330895782 improve matched E42partial6000 0.359221833/0.330299984; earlier2 0.352505400 is below control0.352900879. Mixed temporal evidence, so no transfer or publication. Finish predeclared12000 before deciding; E88 remains queued after this allocation. + +## E69 volatility6000 backcast2_evals +- Checkpoint SHA-256: `1161e76a6d17ace780f0bf63d6961a2ea28a4036ee5a29ee78b9e9897e7661ee`. +- Evaluation: 94 configurations, 8934 instances, 0 failed configurations; 22.497740983963013 seconds. +- Overall skill 0.352505; relative MASE 0.776021; relative WQL 0.540255. +- term skill: long=0.3678, medium=0.3769, short=0.3372. +- domain skill: Econ/Fin=0.0890, Energy=0.2282, Healthcare=0.3738, Nature=0.4582, Sales=0.5585, Transport=0.4133, Web/CloudOps=0.4263. +- frequency skill: A=0.3446, D=0.4275, H=0.3868, M=0.1756, Q=0.1499, S=0.2802, T=0.3442, W=0.2458. +- variates skill: multivariate=0.3580, univariate=0.3481. +- Outcome: Main0.359791528 and earlier1 0.330895782 improve matched E42partial6000 0.359221833/0.330299984; earlier2 0.352505400 is below control0.352900879. Mixed temporal evidence, so no transfer or publication. Finish predeclared12000 before deciding; E88 remains queued after this allocation. + +## E86 protected inherited stream at3000 +- Checkpoint SHA-256: `45ac18a80765f03bca329ccef8d4c81f39fae8cb3f555e4e261b9a38c5fd253f`. +- Evaluation: 97 configurations, 9473 instances, 0 failed configurations; 41.0149462223053 seconds. +- Overall skill 0.373573; relative MASE 0.748714; relative WQL 0.524113. +- term skill: long=0.3985, medium=0.4063, short=0.3506. +- domain skill: Econ/Fin=0.1401, Energy=0.2337, Healthcare=0.4215, Nature=0.4251, Sales=0.3422, Transport=0.4636, Web/CloudOps=0.5006. +- frequency skill: A=0.3797, D=0.3460, H=0.3949, M=0.0960, Q=0.1979, S=0.4211, T=0.4348, W=0.2041. +- variates skill: multivariate=0.3931, univariate=0.3576. +- Outcome: Main0.373573070 improves from1000 0.372363971 and reaches roughly E73unrestricted8000 0.373596872 in fewer updates, but still trails the starting model0.375792503. Continue planned6000/8000 to test recovery. This compares different trainable scopes and learning rates together. Actual EMA1000 audit showed all36,800,800 inherited entries bitwise unchanged; added connections can still change the inherited stream activations. + +E84 coarse aggregation seed197 training started at 2026-10-23T03:37:37Z, after the preceding trainer exited with its final checkpoint. Settings are unchanged from the declared comparison. + +## E77 paired slowAR final12000 +- Checkpoint SHA-256: `61cdf64f284aaa5bd97be010a29178d8b6dc796af35898d9b0ea2a76dce7dd0e`. +- Evaluation: 97 configurations, 9473 instances, 0 failed configurations; 23.205326557159424 seconds. +- Overall skill 0.377696; relative MASE 0.743749; relative WQL 0.520690. +- term skill: long=0.4033, medium=0.4049, short=0.3568. +- domain skill: Econ/Fin=0.1435, Energy=0.2349, Healthcare=0.4451, Nature=0.4300, Sales=0.3324, Transport=0.4672, Web/CloudOps=0.5053. +- frequency skill: A=0.3634, D=0.3546, H=0.3953, M=0.0987, Q=0.2009, S=0.4254, T=0.4404, W=0.2126. +- variates skill: multivariate=0.3967, univariate=0.3621. +- Outcome: Final main0.377696007 exceeds matched E67paired12000 0.377427077 but is below its own6000 checkpoint0.378677489; retain6000 for the method comparison. Training completed12000 in2453.330776 process-loop seconds on the shared H100, seed197/B64/LR2e-5. E84coarse aggregation started after this trainer exited. No publication against stronger E87ensemble. + +overflow_control seed197 training started at 2026-10-23T03:43:42Z, after the preceding trainer exited with its final checkpoint. Settings are unchanged from the declared comparison. + +## E90 training loss scale for daily and weekly windows — prepared +The task metadata confirms daily and weekly MASE uses lag1, while the current training weight uses the first modeled seasonal period,7/52. Hypothesis: matching this scale improves coarse-frequency forecasting. Change only the lag used by the context seasonal-MAE loss weight for exact period pairs[7,365] and[52,1] to1; all other periods, weighting formula, forecasts and inference rules remain unchanged. Match E80overflow-only control: own E62 initialization, seed197/B64/paired loss/LR2e-5/12000steps, same original sampler and horizon RNG, verified float64 overflow fallback in both. Compare against E80, not the older normalization implementation. No generator or training source change. Queue after E84 releases its allocation. + +E79 fresh512 seed307 training started at 2026-10-23T03:43:44Z, after the preceding trainer exited with its final checkpoint. Settings are unchanged from the declared comparison. + +E79 fresh1024 seed307 training started at 2026-10-23T03:43:44Z, after the preceding trainer exited with its final checkpoint. Settings are unchanged from the declared comparison. + +E79 fresh512 seed307 training started at 2026-10-23T03:43:56Z, after the preceding trainer exited with its final checkpoint. Settings are unchanged from the declared comparison. + +E79 fresh1024 seed307 training started at 2026-10-23T03:43:56Z, after the preceding trainer exited with its final checkpoint. Settings are unchanged from the declared comparison. + +E79 fresh1024 seed307 training started at 2026-10-23T03:43:57Z, after the preceding trainer exited with its final checkpoint. Settings are unchanged from the declared comparison. + +E79 fresh512 seed307 training started at 2026-10-23T03:43:57Z, after the preceding trainer exited with its final checkpoint. Settings are unchanged from the declared comparison. + +E79 fresh512 seed307 training started at 2026-10-23T03:44:10Z, after the preceding trainer exited with its final checkpoint. Settings are unchanged from the declared comparison. + +E79 fresh1024 seed307 training started at 2026-10-23T03:44:10Z, after the preceding trainer exited with its final checkpoint. Settings are unchanged from the declared comparison. + +E79 fresh512 seed307 training started at 2026-10-23T03:44:11Z, after the preceding trainer exited with its final checkpoint. Settings are unchanged from the declared comparison. + +E79 fresh1024 seed307 training started at 2026-10-23T03:44:11Z, after the preceding trainer exited with its final checkpoint. Settings are unchanged from the declared comparison. + +E79 fresh512 seed307 training started at 2026-10-23T03:44:12Z, after the preceding trainer exited with its final checkpoint. Settings are unchanged from the declared comparison. + +E79 fresh1024 seed307 training started at 2026-10-23T03:44:12Z, after the preceding trainer exited with its final checkpoint. Settings are unchanged from the declared comparison. + +E79 fresh1024 seed307 training started at 2026-10-23T03:44:12Z, after the preceding trainer exited with its final checkpoint. Settings are unchanged from the declared comparison. + +E79 fresh512 seed307 training started at 2026-10-23T03:44:12Z, after the preceding trainer exited with its final checkpoint. Settings are unchanged from the declared comparison. + +E79 fresh1024 seed307 training started at 2026-10-23T03:44:24Z, after the preceding trainer exited with its final checkpoint. Settings are unchanged from the declared comparison. + +E79 fresh512 seed307 training started at 2026-10-23T03:44:24Z, after the preceding trainer exited with its final checkpoint. Settings are unchanged from the declared comparison. + +E79 fresh512 seed307 training started at 2026-10-23T03:44:25Z, after the preceding trainer exited with its final checkpoint. Settings are unchanged from the declared comparison. + +E79 fresh1024 seed307 training started at 2026-10-23T03:44:25Z, after the preceding trainer exited with its final checkpoint. Settings are unchanged from the declared comparison. + +E79 fresh512 seed307 training started at 2026-10-23T03:44:26Z, after the preceding trainer exited with its final checkpoint. Settings are unchanged from the declared comparison. + +E79 fresh1024 seed307 training started at 2026-10-23T03:44:26Z, after the preceding trainer exited with its final checkpoint. Settings are unchanged from the declared comparison. + +E79 fresh512 seed307 training started at 2026-10-23T03:44:26Z, after the preceding trainer exited with its final checkpoint. Settings are unchanged from the declared comparison. + +E79 fresh1024 seed307 training started at 2026-10-23T03:44:26Z, after the preceding trainer exited with its final checkpoint. Settings are unchanged from the declared comparison. + +E79 fresh512 seed307 training started at 2026-10-23T03:44:27Z, after the preceding trainer exited with its final checkpoint. Settings are unchanged from the declared comparison. + +E79 fresh1024 seed307 training started at 2026-10-23T03:44:27Z, after the preceding trainer exited with its final checkpoint. Settings are unchanged from the declared comparison. + +E79 fresh512 seed307 training started at 2026-10-23T03:44:27Z, after the preceding trainer exited with its final checkpoint. Settings are unchanged from the declared comparison. + +E79 fresh1024 seed307 training started at 2026-10-23T03:44:27Z, after the preceding trainer exited with its final checkpoint. Settings are unchanged from the declared comparison. + +E79 fresh512 seed307 training started at 2026-10-23T03:44:28Z, after the preceding trainer exited with its final checkpoint. Settings are unchanged from the declared comparison. + +E79 fresh1024 seed307 training started at 2026-10-23T03:44:28Z, after the preceding trainer exited with its final checkpoint. Settings are unchanged from the declared comparison. + +E79 fresh512 seed307 training started at 2026-10-23T03:44:28Z, after the preceding trainer exited with its final checkpoint. Settings are unchanged from the declared comparison. + +E79 fresh1024 seed307 training started at 2026-10-23T03:44:28Z, after the preceding trainer exited with its final checkpoint. Settings are unchanged from the declared comparison. + +E79 fresh512 seed307 training started at 2026-10-23T03:44:39Z, after the preceding trainer exited with its final checkpoint. Settings are unchanged from the declared comparison. + +E79 fresh1024 seed307 training started at 2026-10-23T03:44:39Z, after the preceding trainer exited with its final checkpoint. Settings are unchanged from the declared comparison. + +E79 fresh1024 seed307 training started at 2026-10-23T03:44:41Z, after the preceding trainer exited with its final checkpoint. Settings are unchanged from the declared comparison. + +E79 fresh512 seed307 training started at 2026-10-23T03:44:41Z, after the preceding trainer exited with its final checkpoint. Settings are unchanged from the declared comparison. + +E79 fresh1024 seed307 training started at 2026-10-23T03:44:41Z, after the preceding trainer exited with its final checkpoint. Settings are unchanged from the declared comparison. + +E79 fresh512 seed307 training started at 2026-10-23T03:44:41Z, after the preceding trainer exited with its final checkpoint. Settings are unchanged from the declared comparison. + +E79 fresh1024 seed307 training started at 2026-10-23T03:44:42Z, after the preceding trainer exited with its final checkpoint. Settings are unchanged from the declared comparison. + +E79 fresh512 seed307 training started at 2026-10-23T03:44:42Z, after the preceding trainer exited with its final checkpoint. Settings are unchanged from the declared comparison. + +E79 fresh1024 seed307 training started at 2026-10-23T03:44:45Z, after the preceding trainer exited with its final checkpoint. Settings are unchanged from the declared comparison. + +E79 fresh512 seed307 training started at 2026-10-23T03:44:45Z, after the preceding trainer exited with its final checkpoint. Settings are unchanged from the declared comparison. + +E79 fresh512 seed307 training started at 2026-10-23T03:44:46Z, after the preceding trainer exited with its final checkpoint. Settings are unchanged from the declared comparison. + +E79 fresh1024 seed307 training started at 2026-10-23T03:44:46Z, after the preceding trainer exited with its final checkpoint. Settings are unchanged from the declared comparison. + +E79 fresh512 seed307 training started at 2026-10-23T03:44:50Z, after the preceding trainer exited with its final checkpoint. Settings are unchanged from the declared comparison. + +E79 fresh1024 seed307 training started at 2026-10-23T03:44:50Z, after the preceding trainer exited with its final checkpoint. Settings are unchanged from the declared comparison. + +E79 fresh512 seed307 training started at 2026-10-23T03:44:50Z, after the preceding trainer exited with its final checkpoint. Settings are unchanged from the declared comparison. + +E79 fresh1024 seed307 training started at 2026-10-23T03:44:50Z, after the preceding trainer exited with its final checkpoint. Settings are unchanged from the declared comparison. + +E79 fresh512 seed307 training started at 2026-10-23T03:44:50Z, after the preceding trainer exited with its final checkpoint. Settings are unchanged from the declared comparison. + +E79 fresh1024 seed307 training started at 2026-10-23T03:44:50Z, after the preceding trainer exited with its final checkpoint. Settings are unchanged from the declared comparison. + +E79 fresh1024 seed307 training started at 2026-10-23T03:44:51Z, after the preceding trainer exited with its final checkpoint. Settings are unchanged from the declared comparison. + +E79 fresh512 seed307 training started at 2026-10-23T03:44:51Z, after the preceding trainer exited with its final checkpoint. Settings are unchanged from the declared comparison. + +## E79 startup failure and clean matched restart +{ + "started_utc": "2026-10-23T03:43:44Z", + "cleanup_utc": "2026-10-23T03:47:40.492921+00:00", + "cause": "legacy random_capacity/queue.py shadowed stdlib queue inside compiler workers and launched recursive duplicate E79 trainers; OOM then closed pool errors", + "saved_checkpoints": 0, + "discarded_partial_optimizer_updates": "not recoverable from interleaved/overwritten logs; no model selected", + "established_trainers_affected": false, + "terminated_related_processes": 50, + "remedy": "rename and guard launchers; exclusive output-directory and receipt locks; clean fresh restart", + "numerical_recipe_correction": "both fresh arms now include previously verified float64 statistics fallback only for nonfinite float32 mean/scale; initial weights/seeds/source streams unchanged" +} +The incident interval is wall time on the sole shared H100; duplicate per-process compute cannot be reconstructed exactly because legacy launchers reused log paths. Original failed logs and receipts are retained. No valid E79 checkpoint exists from this attempt. The updated numerical normalization is shared by both fresh widths; width remains the only difference between their recipes. + +E79 corrected-normalization fixture: {"normalization_overflow_fallback": true, "width": 512, "initialization_seed": 307, "fixture_seed": 313, "optimizer_updates": 0, "maximum_shape_memory": {"batch": 48, "signed_rows": 96, "context": 4096, "horizon": 1024, "loss": 0.6031821966171265, "peak_allocated_mib": 4521.12451171875, "peak_reserved_mib": 4784.0}, "eager_loss": 0.3412420153617859, "compiled_loss": 0.3412419855594635, "gradient_cosine": 0.9999952735476323, "max_gradient_difference": 4.57763671875e-05, "compile_comparison_seconds": 43.313792017987, "total_seconds": 50.912394708022475, "source": "allowed packed_sample and own synthetic generator only"} + +E90 fixture and queue: { + "seed": 419, + "cpu_seconds": 1.048940374981612, + "forward_bitwise_unchanged": true, + "hourly_monthly_loss_bitwise_unchanged": true, + "mixed_loss_before": 0.4770006537437439, + "mixed_loss_after": 0.4904267191886902, + "all_gradients_finite": true, + "optimizer_updates": 0, + "diagnostic_input": "four locally generated random/smooth contexts; never used in selected weights" +} +Queued after E84(PID4254), using E80 as the matched control. + +E79 duplicate-output guard fixture: { + "duplicate_rejected_before_model_loading": true, + "optimizer_updates": 0, + "cpu_seconds": 1.6497254162095487 +} +With the training code directory on the import path, queue now resolves to the Python standard library. No queue.py/torch.py/multiprocessing.py/concurrent.py shadow files remain under research. + +E79 corrected-normalization fixture: {"normalization_overflow_fallback": true, "width": 1024, "initialization_seed": 307, "fixture_seed": 313, "optimizer_updates": 0, "maximum_shape_memory": {"batch": 48, "signed_rows": 96, "context": 4096, "horizon": 1024, "loss": 0.6031821966171265, "peak_allocated_mib": 10162.86376953125, "peak_reserved_mib": 10696.0}, "eager_loss": 0.3412420153617859, "compiled_loss": 0.3412419855594635, "gradient_cosine": 0.9999932382274589, "max_gradient_difference": 6.103515625e-05, "compile_comparison_seconds": 40.99431764590554, "total_seconds": 49.15364895504899, "source": "allowed packed_sample and own synthetic generator only"} + +E79 fresh1024 seed307 training started at 2026-10-23T03:50:34Z, after the preceding trainer exited with its final checkpoint. Settings are unchanged from the declared comparison. + +E79 fresh512 seed307 training started at 2026-10-23T03:50:34Z, after the preceding trainer exited with its final checkpoint. Settings are unchanged from the declared comparison. + +E89 patch4_candidate seed401 training started at 2026-10-23T03:50:45Z, after the preceding trainer exited with its final checkpoint. Settings are unchanged from the declared comparison. + +E89 patch4_control seed401 training started at 2026-10-23T03:50:45Z, after the preceding trainer exited with its final checkpoint. Settings are unchanged from the declared comparison. + +## E58/E66 widened146M final32000 +- Checkpoint SHA-256: `ecbb1f28a9bced1c7ecc078593908435320a618cde23bf034719b92b14c12b96`. +- Evaluation: 97 configurations, 9473 instances, 0 failed configurations; 26.13470983505249 seconds. +- Overall skill 0.375306; relative MASE 0.746016; relative WQL 0.523103. +- term skill: long=0.3994, medium=0.4059, short=0.3536. +- domain skill: Econ/Fin=0.1403, Energy=0.2325, Healthcare=0.4376, Nature=0.4286, Sales=0.3380, Transport=0.4675, Web/CloudOps=0.5006. +- frequency skill: A=0.3821, D=0.3507, H=0.3942, M=0.0875, Q=0.2028, S=0.4235, T=0.4362, W=0.2179. +- variates skill: multivariate=0.3934, univariate=0.3605. +- Outcome: Final0.375305635 is effectively identical to matched37Mcontrol0.375304864 and below own E47parent0.375792930. The small24000 advantage did not persist. This rejects a benefit from this duplicated-width continuation, not from fresh larger pretraining. Final recovery3 loop3443.875463s; previous phases recorded separately; seed113/reset179/B96/LR3e-5. E79 tests fresh capacity instead. + +## E86 protected inherited stream at6000 +- Checkpoint SHA-256: `73dfe63b77e9f981fec42ceff6b2c9ec8b69e887c6d1d42830629c729c989625`. +- Evaluation: 97 configurations, 9473 instances, 0 failed configurations; 30.87101984024048 seconds. +- Overall skill 0.373645; relative MASE 0.748615; relative WQL 0.524061. +- term skill: long=0.3977, medium=0.4063, short=0.3511. +- domain skill: Econ/Fin=0.1394, Energy=0.2337, Healthcare=0.4357, Nature=0.4267, Sales=0.3377, Transport=0.4634, Web/CloudOps=0.4976. +- frequency skill: A=0.3780, D=0.3487, H=0.3934, M=0.1091, Q=0.2016, S=0.4221, T=0.4332, W=0.2062. +- variates skill: multivariate=0.3912, univariate=0.3593. +- Outcome: Main0.373645290 barely improves3000 0.373573070 and remains below starting model0.375792503. Finish planned8000, then release allocation to E89. Seed113/B96/LR2e-4; no publication. + +## E84 coarse-data first1000 +- Checkpoint SHA-256: `207329fa0c16814d1fa72b3683219761f5ca3b692fa7059730f76c3fe0e93712`. +- Evaluation: 97 configurations, 9473 instances, 0 failed configurations; 24.292750597000122 seconds. +- Overall skill 0.377433; relative MASE 0.744088; relative WQL 0.520892. +- term skill: long=0.4001, medium=0.4067, short=0.3569. +- domain skill: Econ/Fin=0.1311, Energy=0.2365, Healthcare=0.4620, Nature=0.4308, Sales=0.3347, Transport=0.4671, Web/CloudOps=0.5002. +- frequency skill: A=0.3669, D=0.3545, H=0.3965, M=0.1063, Q=0.1974, S=0.4228, T=0.4351, W=0.2289. +- variates skill: multivariate=0.3942, univariate=0.3638. +- Outcome: Main0.377433346 exceeds matched E67paired1000 0.376859515. Early evidence only; same seed197/B64/LR2e-5, independent aggregationRNG900200; no inference changes. + +## E84 coarse-data at3000 +- Checkpoint SHA-256: `75b4b41869254617288521d3c0c3539c9d60c6cad6b259b6ff166d1c9fd78c29`. +- Evaluation: 97 configurations, 9473 instances, 0 failed configurations; 18.35591197013855 seconds. +- Overall skill 0.378023; relative MASE 0.743608; relative WQL 0.520241. +- term skill: long=0.4019, medium=0.4064, short=0.3573. +- domain skill: Econ/Fin=0.1364, Energy=0.2363, Healthcare=0.4484, Nature=0.4319, Sales=0.3319, Transport=0.4672, Web/CloudOps=0.5044. +- frequency skill: A=0.3677, D=0.3514, H=0.3990, M=0.1053, Q=0.1979, S=0.4219, T=0.4378, W=0.2193. +- variates skill: multivariate=0.3966, univariate=0.3628. +- Outcome: Main0.378023141 is slightly below matched E67paired3000 0.378318033 after the first1000 gain. Continue6000/12000 and inspect frequency groups; no consistent gain yet. + +## E80 overflow-only control first1000 +- Checkpoint SHA-256: `fb64456ba0c2ebef979b8525274132618fe542f67e7193036e4a013de6629f5c`. +- Evaluation: 97 configurations, 9473 instances, 0 failed configurations; 18.763219356536865 seconds. +- Overall skill 0.376804; relative MASE 0.744768; relative WQL 0.521468. +- term skill: long=0.3990, medium=0.4062, short=0.3563. +- domain skill: Econ/Fin=0.1319, Energy=0.2364, Healthcare=0.4621, Nature=0.4300, Sales=0.3347, Transport=0.4668, Web/CloudOps=0.4982. +- frequency skill: A=0.3657, D=0.3559, H=0.3950, M=0.1061, Q=0.1979, S=0.4228, T=0.4347, W=0.2257. +- variates skill: multivariate=0.3925, univariate=0.3640. +- Outcome: Main0.376804394 is effectively tied with original E67paired1000 0.376859515, and slightly above E75postloss1000 0.376670711. Numerical correction alone has not shown a predictive gain yet. Continue matched3000/6000/12000. + +## E78 multiscale AR final12000 +- Checkpoint SHA-256: `a9b6f03e211513684787db1d518696925351987e524cb969c3d3a184afde6f25`. +- Evaluation: 97 configurations, 9473 instances, 0 failed configurations; 18.768662929534912 seconds. +- Overall skill 0.377173; relative MASE 0.744921; relative WQL 0.520745. +- term skill: long=0.4032, medium=0.4047, short=0.3559. +- domain skill: Econ/Fin=0.1376, Energy=0.2351, Healthcare=0.4499, Nature=0.4288, Sales=0.3321, Transport=0.4667, Web/CloudOps=0.5043. +- frequency skill: A=0.3628, D=0.3520, H=0.3946, M=0.1047, Q=0.2008, S=0.4249, T=0.4400, W=0.2136. +- variates skill: multivariate=0.3959, univariate=0.3619. +- Outcome: Final0.377172928 is below matched E77single slowAR12000 0.377696007 and original E67paired12000 0.377427077. At6000 it nearly tied single slowAR; no gain from extra components. Completed planned endpoint; retain negative result and release this allocation for queued E89 after E86 finishes. + +E88 patch8 late slowAR seed197 training started at 2026-10-23T03:55:05Z, after the preceding trainer exited with its final checkpoint. Settings are unchanged from the declared comparison. + +## E86 protected inherited stream final8000 +- Checkpoint SHA-256: `8c868d08f583249ae38cd9173b7f19c530825dda785fe66011be60d3e1a6b2f4`. +- Evaluation: 97 configurations, 9473 instances, 0 failed configurations; 30.288848638534546 seconds. +- Overall skill 0.373894; relative MASE 0.748106; relative WQL 0.524001. +- term skill: long=0.3986, medium=0.4065, short=0.3511. +- domain skill: Econ/Fin=0.1434, Energy=0.2349, Healthcare=0.4214, Nature=0.4283, Sales=0.3364, Transport=0.4640, Web/CloudOps=0.4986. +- frequency skill: A=0.3812, D=0.3459, H=0.3944, M=0.1025, Q=0.2000, S=0.4216, T=0.4346, W=0.2079. +- variates skill: multivariate=0.3920, univariate=0.3591. +- Outcome: Final0.373894042 remains below its own initialization0.375792503. Protecting inherited tensors while training additions at a higher rate improved recovery speed but did not improve the forecast model. Completed8000 in1625.057884loopseconds on the shared H100. Effective protected/trainable counts36,800,800/109,676,544; seed113/B96/LR2e-4. Released allocation to E89; retain as negative result. + +## E80 overflow-only control at3000 +- Checkpoint SHA-256: `2084f1888f8d9e5afe2c740769ea2b4167086cdd62dfb4014bc3a338c00d4c12`. +- Evaluation: 97 configurations, 9473 instances, 0 failed configurations; 22.62967348098755 seconds. +- Overall skill 0.378664; relative MASE 0.743020; relative WQL 0.519581. +- term skill: long=0.4024, medium=0.4069, short=0.3581. +- domain skill: Econ/Fin=0.1345, Energy=0.2391, Healthcare=0.4537, Nature=0.4314, Sales=0.3327, Transport=0.4661, Web/CloudOps=0.5041. +- frequency skill: A=0.3682, D=0.3548, H=0.3976, M=0.1042, Q=0.1968, S=0.4234, T=0.4386, W=0.2234. +- variates skill: multivariate=0.3971, univariate=0.3636. +- Outcome: Main0.378663825 exceeds original E67paired3000 0.378318033 and nearly matches E75postloss3000 0.378813891. Most of the earlier raw main gain may come from the numerical correction rather than the postprocessing-aware loss. Check earlier cutoffs using the same overflow-safe runtime before attributing the remaining difference. Same seed197/B64/LR2e-5. + +## E84 coarse data at6000 +- Checkpoint SHA-256: `79cce8767ec35ed8ba6045957f2ef4147adb8fe312b03c50dc20ae635255926f`. +- Evaluation: 97 configurations, 9473 instances, 0 failed configurations; 22.568254947662354 seconds. +- Overall skill 0.378304; relative MASE 0.743340; relative WQL 0.519958. +- term skill: long=0.4018, medium=0.4073, short=0.3574. +- domain skill: Econ/Fin=0.1325, Energy=0.2353, Healthcare=0.4579, Nature=0.4332, Sales=0.3368, Transport=0.4657, Web/CloudOps=0.5045. +- frequency skill: A=0.3681, D=0.3543, H=0.3963, M=0.1037, Q=0.1944, S=0.4243, T=0.4385, W=0.2257. +- variates skill: multivariate=0.3970, univariate=0.3630. +- Outcome: Main0.378304411 remains slightly below matched E67paired6000 0.378455389. Continue planned12000, then assess overall/frequency behavior; no consistent aggregate gain yet. Seed197/B64/LR2e-5, same base/source/horizon streams apart from independent coarse aggregation. + +## E89 patch8 matched control first1000 +- Checkpoint SHA-256: `ebf6cd1845311b149118beb13364892445388f124e9f706bffe7a317ab97b762`. +- Evaluation: 97 configurations, 9473 instances, 0 failed configurations; 29.399544715881348 seconds. +- Overall skill 0.380274; relative MASE 0.743092; relative WQL 0.516841. +- term skill: long=0.4036, medium=0.4039, short=0.3617. +- domain skill: Econ/Fin=0.1303, Energy=0.2425, Healthcare=0.4624, Nature=0.4416, Sales=0.3473, Transport=0.4610, Web/CloudOps=0.5001. +- frequency skill: A=0.3689, D=0.3561, H=0.3952, M=0.1038, Q=0.1908, S=0.4222, T=0.4419, W=0.2419. +- variates skill: multivariate=0.3965, univariate=0.3670. +- Outcome: Control0.380274173 is below its shared starting E71patch8_6000 0.381178739. The patch4 candidate is still approaching1000. Fresh AdamW/EMA, seed401/B32/LR2e-5; wait for the matched comparison. + +Completed process loop receipts: E71 recovery3 final12000=3333.747876572s (earlier interrupted prefixes separately logged); E78 final12000=2448.526446433s; E86 final8000=1625.057883863s. All overlapped other training on the one H100 and are not exclusive GPU times. + +## E71 patch8 final12000 +- Checkpoint SHA-256: `313d035b782188253ecd27c0da37030b397b82e4fa596f3a944994be3f1d203f`. +- Evaluation: 97 configurations, 9473 instances, 0 failed configurations; 28.39552927017212 seconds. +- Overall skill 0.379468; relative MASE 0.743587; relative WQL 0.517842. +- term skill: long=0.4043, medium=0.4042, short=0.3599. +- domain skill: Econ/Fin=0.1408, Energy=0.2402, Healthcare=0.4302, Nature=0.4416, Sales=0.3430, Transport=0.4619, Web/CloudOps=0.5048. +- frequency skill: A=0.3766, D=0.3605, H=0.3949, M=0.0689, Q=0.1914, S=0.4241, T=0.4445, W=0.2231. +- variates skill: multivariate=0.3987, univariate=0.3637. +- Outcome: Final main0.379467684 is below selected6000 0.381178739. Retain6000 as published ensemble member. Seed197/B64/LR2e-5; recovery3 loop3333.747877s, previous recovery phases recorded separately; no further continuation in this run. + +## E69 volatility final12000 +- Checkpoint SHA-256: `adddab6f07cb65843a1356ee2a3b36985fd56ecacc6fdb7703c465b0cfe21f5a`. +- Evaluation: 97 configurations, 9473 instances, 0 failed configurations; 18.7578706741333 seconds. +- Overall skill 0.360846; relative MASE 0.761644; relative WQL 0.536363. +- term skill: long=0.3901, medium=0.4048, short=0.3314. +- domain skill: Econ/Fin=0.1094, Energy=0.1887, Healthcare=0.4132, Nature=0.4274, Sales=0.3422, Transport=0.4584, Web/CloudOps=0.5066. +- frequency skill: A=0.3708, D=0.3402, H=0.3826, M=0.1173, Q=0.1994, S=0.4419, T=0.4041, W=0.2107. +- variates skill: multivariate=0.3938, univariate=0.3333. +- Outcome: Final main0.360845700 is below matched E42partial12000 0.361108160. Earlier6000 diagnostics were mixed. The early main gain did not persist; no transfer or publication. Seed79/B256/LR5e-5; final recovery3 loop3542.503298s. Released allocation to E88. + +## E89 patch4 candidate first1000 +- Checkpoint SHA-256: `a0b4f56f9b3bbf26a94ee72a8f3487c1fb42c009c79ccb8fcef8538ffdb96e7f`. +- Evaluation: 97 configurations, 9473 instances, 0 failed configurations; 47.17473244667053 seconds. +- Overall skill 0.378251; relative MASE 0.744567; relative WQL 0.519191. +- term skill: long=0.4036, medium=0.4019, short=0.3589. +- domain skill: Econ/Fin=0.1342, Energy=0.2339, Healthcare=0.4544, Nature=0.4415, Sales=0.3520, Transport=0.4631, Web/CloudOps=0.5002. +- frequency skill: A=0.3613, D=0.3424, H=0.3929, M=0.1696, Q=0.1890, S=0.4219, T=0.4368, W=0.2442. +- variates skill: multivariate=0.3925, univariate=0.3667. +- Outcome: Main0.378250742 improves folded initialization0.370553128 but trails matched patch8control1000 0.380274173 and shared original patch8parent0.381178739. Continue planned comparison; seed401/B32/LR2e-5. + +## E80 overflow-only3000 earlier cutoff1 +- Checkpoint SHA-256: `2084f1888f8d9e5afe2c740769ea2b4167086cdd62dfb4014bc3a338c00d4c12`. +- Evaluation: 97 configurations, 9330 instances, 0 failed configurations; 22.02164888381958 seconds. +- Overall skill 0.336120; relative MASE 0.797369; relative WQL 0.552739. +- term skill: long=0.3981, medium=0.3582, short=0.3019. +- domain skill: Econ/Fin=0.1557, Energy=0.2287, Healthcare=0.4162, Nature=0.3643, Sales=0.3941, Transport=0.3729, Web/CloudOps=0.4489. +- frequency skill: A=0.3135, D=0.3521, H=0.3666, M=0.1852, Q=0.2300, S=0.3411, T=0.3348, W=0.2843. +- variates skill: multivariate=0.3527, univariate=0.3226. +- Outcome: Earlier0.336119626 exceeds E75postloss0.333946620 and original E67paired0.335738788. Numerical fix alone is a better base here; seed197/B64/LR2e-5, no extra optimization. + +## E80 overflow-only3000 earlier cutoff2 +- Checkpoint SHA-256: `2084f1888f8d9e5afe2c740769ea2b4167086cdd62dfb4014bc3a338c00d4c12`. +- Evaluation: 94 configurations, 8934 instances, 0 failed configurations; 21.807528972625732 seconds. +- Overall skill 0.358235; relative MASE 0.771665; relative WQL 0.533732. +- term skill: long=0.3635, medium=0.3875, short=0.3446. +- domain skill: Econ/Fin=0.1067, Energy=0.2360, Healthcare=0.3485, Nature=0.4691, Sales=0.5486, Transport=0.4210, Web/CloudOps=0.4314. +- frequency skill: A=0.3545, D=0.4236, H=0.3910, M=0.1500, Q=0.1497, S=0.2812, T=0.3593, W=0.2599. +- variates skill: multivariate=0.3633, univariate=0.3541. +- Outcome: Earlier0.358234785 exceeds E75postloss0.357604589 and essentially ties original E67paired0.358235331. Main and first two earlier cutoffs warrant one fixed slowAR delta composition; no validation gradients. + +## E80 overflow-only3000 earlier cutoff3 +- Checkpoint SHA-256: `2084f1888f8d9e5afe2c740769ea2b4167086cdd62dfb4014bc3a338c00d4c12`. +- Evaluation: 93 configurations, 8812 instances, 0 failed configurations; 21.630401849746704 seconds. +- Overall skill 0.388792; relative MASE 0.737171; relative WQL 0.506769. +- term skill: long=0.3965, medium=0.3607, short=0.3962. +- domain skill: Econ/Fin=0.1707, Energy=0.3203, Healthcare=0.2577, Nature=0.5049, Sales=0.3995, Transport=0.5052, Web/CloudOps=0.3898. +- frequency skill: A=0.3632, D=0.4429, H=0.4039, M=0.1158, Q=0.2578, S=0.2865, T=0.4303, W=0.2614. +- variates skill: multivariate=0.3742, univariate=0.4001. +- Outcome: Earlier0.388791691 is slightly below original E67paired0.389069088. Numerical correction does not improve every cutoff. Keep all outcomes; assess one predeclared fixed composition across all four cutoffs. + +## E91 predeclared overflow-safe base plus slow-AR correction +Hypothesis: the overflow-only E80 paired3000 base retains the useful numerical correction without E75 postprocessing-aware objective regressions, while the independently matched E61 slowAR6000 minus E42partial6000 correction retains its previous benefit. Apply exactly one coefficient1 composition: E80paired3000 + E61slowAR6000 - E42partial6000. No coefficient sweep, no additional optimizer updates, no validation targets used in weight construction. All three parents were trained on allowed corpus/synthetic data from our own scratch lineage. Base seed197/B64/LR2e-5; matched delta parents seed79/B256/LR5e-5. Use the exact postloss_inference overflow-safe model with unchanged fixed inference rules. Evaluate all four established cutoffs, and only then consider equal-weight ensemble replacement with E71patch8_6000 and a full public-contract replay. + +## E80 overflow-only control at6000 +- Checkpoint SHA-256: `b19875c52ed5024383fb69ccc48cb07a5629ad8011abf134c7dcfcdc50fae2af`. +- Evaluation: 97 configurations, 9473 instances, 0 failed configurations; 22.57701802253723 seconds. +- Overall skill 0.378289; relative MASE 0.743925; relative WQL 0.519575. +- term skill: long=0.4014, medium=0.4069, short=0.3578. +- domain skill: Econ/Fin=0.1256, Energy=0.2394, Healthcare=0.4638, Nature=0.4293, Sales=0.3386, Transport=0.4657, Web/CloudOps=0.5023. +- frequency skill: A=0.3687, D=0.3551, H=0.3958, M=0.1068, Q=0.1918, S=0.4249, T=0.4380, W=0.2268. +- variates skill: multivariate=0.3966, univariate=0.3633. +- Outcome: Main0.378288765 is below its3000 0.378663825 and matched original E67paired6000 0.378455389. The numerical correction is required for rare finite overflows but its forecasting gain is not monotonic. Continue planned12000; seed197/B64/LR2e-5. + +## E89 patch8 matched control at3000 +- Checkpoint SHA-256: `9083c6be954ec65ec6248801e719d6f182cd3d12bf116f8fc5fc4796675141c4`. +- Evaluation: 97 configurations, 9473 instances, 0 failed configurations; 33.57180857658386 seconds. +- Overall skill 0.378946; relative MASE 0.744701; relative WQL 0.517938. +- term skill: long=0.4043, medium=0.4024, short=0.3597. +- domain skill: Econ/Fin=0.1384, Energy=0.2401, Healthcare=0.4325, Nature=0.4444, Sales=0.3407, Transport=0.4620, Web/CloudOps=0.5013. +- frequency skill: A=0.3736, D=0.3524, H=0.3933, M=0.0834, Q=0.1970, S=0.4232, T=0.4439, W=0.2376. +- variates skill: multivariate=0.3975, univariate=0.3638. +- Outcome: Control0.378945686 is below first1000 and original selected6000 parent. Continue matched patch4 comparison; seed401/B32/LR2e-5. + +## E88 late slowAR first9000 +- Checkpoint SHA-256: `fbd4b0d4f29fb162929a3cf9cd4bb0ae264a2e15d860519e0fc08fa314b6820d`. +- Evaluation: 97 configurations, 9473 instances, 0 failed configurations; 30.04508352279663 seconds. +- Overall skill 0.380434; relative MASE 0.741856; relative WQL 0.517434. +- term skill: long=0.4054, medium=0.4044, short=0.3611. +- domain skill: Econ/Fin=0.1423, Energy=0.2409, Healthcare=0.4434, Nature=0.4404, Sales=0.3436, Transport=0.4625, Web/CloudOps=0.5050. +- frequency skill: A=0.3803, D=0.3586, H=0.3955, M=0.0778, Q=0.1920, S=0.4256, T=0.4443, W=0.2331. +- variates skill: multivariate=0.3993, univariate=0.3650. +- Outcome: Main0.380434469 exceeds original E71final12000 but is below selected E71earlier6000. Evaluate the exact original9000 checkpoint before attributing a gain to the late AR change. Resume8000 preserved optimizer/EMA/allRNG/prefetched batch; seed197/B64/global12kLRschedule. + +## E91 overflow-safe plus slowAR valid_screen +- Checkpoint SHA-256: `59b90e76823bd4b339c7b5d290c7afbdca9d1ba81848760aa5f80ee941cdd089`. +- Evaluation: 97 configurations, 9473 instances, 0 failed configurations; 26.561925172805786 seconds. +- Overall skill 0.379922; relative MASE 0.741449; relative WQL 0.518575. +- term skill: long=0.4039, medium=0.4067, short=0.3598. +- domain skill: Econ/Fin=0.1450, Energy=0.2359, Healthcare=0.4601, Nature=0.4339, Sales=0.3351, Transport=0.4657, Web/CloudOps=0.5073. +- frequency skill: A=0.3727, D=0.3616, H=0.3973, M=0.0940, Q=0.1982, S=0.4264, T=0.4400, W=0.2228. +- variates skill: multivariate=0.3984, univariate=0.3648. +- Outcome: Fixed coefficient1 composition; zero optimizer updates, merge CPU1.173140s. Main0.379921968 is slightly below E83main0.380250568, but all three earlier cutoffs improve E83. Next compare one fixed equal ensemble with selected E71patch8_6000 across all four cutoffs; validation selection only. + +## E91 overflow-safe plus slowAR valid_backcast +- Checkpoint SHA-256: `59b90e76823bd4b339c7b5d290c7afbdca9d1ba81848760aa5f80ee941cdd089`. +- Evaluation: 97 configurations, 9330 instances, 0 failed configurations; 26.259706020355225 seconds. +- Overall skill 0.337178; relative MASE 0.795032; relative WQL 0.552597. +- term skill: long=0.3962, medium=0.3594, short=0.3042. +- domain skill: Econ/Fin=0.1688, Energy=0.2262, Healthcare=0.4114, Nature=0.3695, Sales=0.3929, Transport=0.3721, Web/CloudOps=0.4520. +- frequency skill: A=0.3205, D=0.3501, H=0.3656, M=0.1901, Q=0.2319, S=0.3439, T=0.3378, W=0.2886. +- variates skill: multivariate=0.3544, univariate=0.3232. +- Outcome: Fixed coefficient1 composition; zero optimizer updates, merge CPU1.173140s. Main0.379921968 is slightly below E83main0.380250568, but all three earlier cutoffs improve E83. Next compare one fixed equal ensemble with selected E71patch8_6000 across all four cutoffs; validation selection only. + +## E91 overflow-safe plus slowAR valid_backcast2 +- Checkpoint SHA-256: `59b90e76823bd4b339c7b5d290c7afbdca9d1ba81848760aa5f80ee941cdd089`. +- Evaluation: 94 configurations, 8934 instances, 0 failed configurations; 25.369709968566895 seconds. +- Overall skill 0.360453; relative MASE 0.769235; relative WQL 0.531723. +- term skill: long=0.3677, medium=0.3870, short=0.3472. +- domain skill: Econ/Fin=0.1196, Energy=0.2351, Healthcare=0.3437, Nature=0.4735, Sales=0.5473, Transport=0.4202, Web/CloudOps=0.4377. +- frequency skill: A=0.3522, D=0.4289, H=0.3897, M=0.1376, Q=0.1497, S=0.2867, T=0.3638, W=0.2656. +- variates skill: multivariate=0.3670, univariate=0.3551. +- Outcome: Fixed coefficient1 composition; zero optimizer updates, merge CPU1.173140s. Main0.379921968 is slightly below E83main0.380250568, but all three earlier cutoffs improve E83. Next compare one fixed equal ensemble with selected E71patch8_6000 across all four cutoffs; validation selection only. + +## E91 overflow-safe plus slowAR valid_backcast3 +- Checkpoint SHA-256: `59b90e76823bd4b339c7b5d290c7afbdca9d1ba81848760aa5f80ee941cdd089`. +- Evaluation: 93 configurations, 8812 instances, 0 failed configurations; 25.158844232559204 seconds. +- Overall skill 0.389176; relative MASE 0.737055; relative WQL 0.506212. +- term skill: long=0.3949, medium=0.3621, short=0.3969. +- domain skill: Econ/Fin=0.1809, Energy=0.3196, Healthcare=0.2279, Nature=0.5059, Sales=0.4000, Transport=0.5071, Web/CloudOps=0.3940. +- frequency skill: A=0.3624, D=0.4461, H=0.4034, M=0.1001, Q=0.2604, S=0.2871, T=0.4311, W=0.2634. +- variates skill: multivariate=0.3742, univariate=0.4008. +- Outcome: Fixed coefficient1 composition; zero optimizer updates, merge CPU1.173140s. Main0.379921968 is slightly below E83main0.380250568, but all three earlier cutoffs improve E83. Next compare one fixed equal ensemble with selected E71patch8_6000 across all four cutoffs; validation selection only. + +## E92 robust normalization — prepared, not launched +Hypothesis: rare large history observations dominate the current mean/RMS scale and compress typical dynamics. Change only the context normalization to winsorized statistics: center a clipping interval on the finite-value median, radius6 times the mean absolute deviation from that median; estimate mean and standard deviation of the clipped history in float64, retain the existing relative scale floor, and normalize the original history with the existing ±30 bound. This uses a mean absolute deviation, rather than median deviation, to retain scale for intermittent series. All-missing and constant histories use the same safe count/floor conventions. No future observations enter normalization. Initialize own E62 checkpoint; seed197/B64/LR2e-5/12000 paired steps, same original corpus/synthetic/horizon streams as E80overflow-only control. No new parameters, sources, or synthetic generator. A separate runtime will use identical robust statistics. Check finite outputs/gradients, affine and sign behavior, and unchanged loss machinery on locally generated fixtures before launch. Queue only after E80 releases its allocation. + +### E91 fixed ensemble outcome — retain E87 +[ + { + "cutoff": "valid_screen", + "candidate": 0.38295755880742377, + "published": 0.38368555666405846, + "cpu_seconds": 0.7978230791632086, + "groups": { + "term": { + "short": 0.3641412739810047, + "medium": 0.4081748699742944, + "long": 0.4053387686104565 + }, + "domain": { + "Econ/Fin": 0.14196055084083636, + "Energy": 0.2436181245717931, + "Healthcare": 0.47044789997945524, + "Nature": 0.43843771854824554, + "Sales": 0.3435316624897278, + "Transport": 0.4646935796341666, + "Web/CloudOps": 0.50560991569805 + }, + "freq": { + "A-DEC": 0.37806371948108464, + "Q-DEC": 0.1953743898001734, + "M": 0.10835758037283183, + "W-SUN": 0.09200217288388479, + "D": 0.36288028663668526, + "H": 0.39989339265058577, + "15T": 0.21574107475831517, + "W-FRI": 0.00590529614346913, + "10T": 0.6203515795555475, + "W-TUE": 0.5998659430846229, + "W-THU": 0.20928566575491192, + "W-WED": 0.32755565821641586, + "5T": 0.5196292524760446, + "10S": 0.4253796526525012 + } + } + }, + { + "cutoff": "valid_backcast", + "candidate": 0.33965252002132096, + "published": 0.33897078175106665, + "cpu_seconds": 0.8413949671667069, + "groups": { + "term": { + "short": 0.30682882244621934, + "medium": 0.3594584814302525, + "long": 0.4004578178388881 + }, + "domain": { + "Econ/Fin": 0.17015181674919277, + "Energy": 0.23013645693798135, + "Healthcare": 0.4218451623665679, + "Nature": 0.3716837571447873, + "Sales": 0.4016515190787069, + "Transport": 0.3732465934225949, + "Web/CloudOps": 0.450994086374909 + }, + "freq": { + "A-DEC": 0.3282816505284657, + "Q-DEC": 0.23566016127363243, + "M": 0.19914077895872262, + "W-SUN": 0.03865936211094867, + "D": 0.355074708701307, + "H": 0.36721923281513913, + "15T": 0.22292257615547317, + "W-FRI": 0.23702394178468034, + "10T": 0.32706954225689555, + "W-TUE": 0.5531057781818784, + "W-THU": 0.26381006300655674, + "W-WED": 0.35364720411869544, + "5T": 0.44270238618668056, + "10S": 0.34631632390506784 + } + } + }, + { + "cutoff": "valid_backcast2", + "candidate": 0.36318271604290864, + "published": 0.36315845377936284, + "cpu_seconds": 0.7982894480228424, + "groups": { + "term": { + "short": 0.3500873123601329, + "medium": 0.39140163998387134, + "long": 0.3681031208336688 + }, + "domain": { + "Econ/Fin": 0.11631521324076821, + "Energy": 0.23897422330833784, + "Healthcare": 0.3563145060249002, + "Nature": 0.4759919302878802, + "Sales": 0.5526652479550637, + "Transport": 0.42387192299481313, + "Web/CloudOps": 0.436824697056448 + }, + "freq": { + "A-DEC": 0.34293470421447503, + "Q-DEC": 0.15231508648525816, + "M": 0.14735330101758526, + "W-SUN": 0.05191699540908579, + "D": 0.4322785270529358, + "H": 0.39262772604483, + "15T": 0.10591962461225035, + "W-FRI": 0.14794480975291435, + "10T": 0.5077330623307716, + "W-TUE": 0.09268217269468071, + "W-THU": 0.34555097504792365, + "W-WED": 0.5579990641356007, + "5T": 0.4724634827891697, + "10S": 0.2869202644785588 + } + } + }, + { + "cutoff": "valid_backcast3", + "candidate": 0.3889402057921222, + "published": 0.3893067316884232, + "cpu_seconds": 1.0883019380271435, + "groups": { + "term": { + "short": 0.3948070762587602, + "medium": 0.36614080286851436, + "long": 0.3957100819716167 + }, + "domain": { + "Econ/Fin": 0.18258306326920215, + "Energy": 0.3151836976978215, + "Healthcare": 0.23576266671317847, + "Nature": 0.5094192054942891, + "Sales": 0.4006642315236326, + "Transport": 0.5077376839877803, + "Web/CloudOps": 0.39340413209496183 + }, + "freq": { + "A-DEC": 0.3560985343152149, + "Q-DEC": 0.25541091598546395, + "M": 0.11989423475215888, + "W-SUN": 0.15976888148282853, + "D": 0.4460752118885134, + "H": 0.40415283128676627, + "15T": 0.2542013440411708, + "W-FRI": 0.03652589348537405, + "10T": 0.6009630559934178, + "W-TUE": 0.25771359383581927, + "W-THU": 0.35674611651454924, + "W-WED": 0.37808927325032227, + "5T": 0.4654632139858025, + "10S": 0.29366540153879894 + } + } + } +] +The E91/E71 equal ensemble loses main0.382957559 versus E870.383685557 and third earlier0.388940206 versus0.389306732. First earlier improves0.339652520 versus0.338970782; second is effectively tied0.363182716 versus0.363158454. No consistent replacement gain; retain E87 and do not spend a full replay. E91 checkpoint SHA59b90e76823bd4b339c7b5d290c7afbdca9d1ba81848760aa5f80ee941cdd089, coefficient1, no optimization. The postloss-related earlier regressions were real, but removing that objective does not improve the selected equal ensemble overall. + +E92 CPU fixture passed: finite outputs/gradients, ordered quantiles, midpoint-median sign symmetry, affine behavior on nonconstant rows, eight own-generated contexts, seed431, zero updates,1.487883s. GPU autocast fixture queued. + +## E88 exact original patch8 control at9000 +- Checkpoint SHA-256: `342436626bc9219f068c118aefbe6ffb106f91e9f88acb01a9ee704cdfb7aa6b`. +- Evaluation: 97 configurations, 9473 instances, 0 failed configurations; 34.10145950317383 seconds. +- Overall skill 0.380329; relative MASE 0.741988; relative WQL 0.517518. +- term skill: long=0.4051, medium=0.4042, short=0.3611. +- domain skill: Econ/Fin=0.1410, Energy=0.2410, Healthcare=0.4471, Nature=0.4399, Sales=0.3435, Transport=0.4623, Web/CloudOps=0.5043. +- frequency skill: A=0.3807, D=0.3585, H=0.3953, M=0.0838, Q=0.1923, S=0.4254, T=0.4436, W=0.2332. +- variates skill: multivariate=0.3986, univariate=0.3654. +- Outcome: Original9000 main0.380329158 versus E88late slowAR9000 0.380434469, a small0.000105310 gain after1000 changed steps. Both below original selected6000 0.381178739; continue exact final12000 comparison. One failed evaluator invocation used a nonexistent path and did no inference; rerun with full_paired_inference succeeded. + +E92 GPU bf16 paired-gradient fixture passed, seed433,8.773601s, zero optimizer updates. Queue behind E80PID4371; unchanged declared12k schedule. + +Provenance hardening for E88: publisher now includes the immutable external recovery008000 snapshot as a lineage parent and records its hash/step, in addition to the original initialization. This preserves the original8000-step recipe before the late slowAR change. Mutable within-run recovery files remain excluded to avoid self-referencing lineage; no training state or weights changed. + +## Permitted-sampler coverage diagnostic, seed449 +Independent E79sampler audit generated48000 windows in4.262272CPU seconds, zero optimizer updates, no validation data read, active training streams untouched. Full source probabilities and finite-history/target summaries are sampler_coverage_audit.json. Monthly[12,1] accounts for5.1104% of rows: medianfinitecontext43, medianfinitetarget57,42.68%histories below32. Quarterly[4,1] accounts for5.2792%: mediancontext33,target46,47.95%histories below32. Weekly[52,1] accounts for3.8188%: mediancontext51,target82,30.44%histories below32. Current synthetic-period list contains no[52,1]weekly case. These are training-distribution diagnostics, not performance evidence; context and target marginal medians do not imply every row has that ratio. Original sampler20%synthetic/randomC-H recipe preserved. + +## E79 fresh37M first4000 +- Checkpoint SHA-256: `dc04a05abefdb903497a3311e7eac289ccdeae75db0ada66d02e05e431ba4f1a`. +- Evaluation: 97 configurations, 9473 instances, 0 failed configurations; 29.426799774169922 seconds. +- Overall skill 0.341862; relative MASE 0.775670; relative WQL 0.558415. +- term skill: long=0.3667, medium=0.3845, short=0.3148. +- domain skill: Econ/Fin=0.1118, Energy=0.2099, Healthcare=0.3250, Nature=0.4095, Sales=0.3041, Transport=0.4280, Web/CloudOps=0.4683. +- frequency skill: A=0.3520, D=0.3280, H=0.3608, M=-0.0493, Q=0.1682, S=0.4263, T=0.3918, W=0.2320. +- variates skill: multivariate=0.3630, univariate=0.3246. +- Outcome: Fresh random seed307/B48/LR2e-4/96000 static-compiled paired training, original random initialization hash19da01694123fcb13df815689ca66460d0da596bd31dfabfabb08dda6f7801e4. Main0.341861940 is below the published mature lineage but a promising early learning curve. Wait for the matched146M4000 result and planned8000/16000 checkpoints. Both arms share the corrected float64 overflow fallback and slowAR generator. Startup failures and discarded work were recorded separately; no baseline weights used. + +## E89 patch4 candidate at3000 +- Checkpoint SHA-256: `87fcd88001d63389726ff55885ef09933f912034662816cf2080d2f08a041542`. +- Evaluation: 97 configurations, 9473 instances, 0 failed configurations; 58.48912262916565 seconds. +- Overall skill 0.379843; relative MASE 0.742829; relative WQL 0.517743. +- term skill: long=0.4040, medium=0.4031, short=0.3611. +- domain skill: Econ/Fin=0.1466, Energy=0.2356, Healthcare=0.4515, Nature=0.4449, Sales=0.3476, Transport=0.4665, Web/CloudOps=0.4992. +- frequency skill: A=0.3695, D=0.3423, H=0.3937, M=0.1494, Q=0.2020, S=0.4211, T=0.4409, W=0.2524. +- variates skill: multivariate=0.3948, univariate=0.3676. +- Outcome: Candidate main0.379842915 now exceeds matched patch8control3000 0.378945686 by0.000897230, though below selected starting parent0.381178739. Monthly skill0.1494 and weekly0.2524 are encouraging; daily0.3423 remains weak. Continue the declared6000/12000 comparisons before considering ensemble complementarity. Seed401/B32/LR2e-5; same original generator and matched fresh optimizer. + +E90 daily-weekly loss scale seed197 training started at 2026-10-23T04:12:55Z, after the preceding trainer exited with its final checkpoint. Settings are unchanged from the declared comparison. + +## E93 patch8 encoder with patch4 forecast blocks — prepared +Hypothesis: E89patch4 improves monthly/weekly behavior by refining forecast blocks; part of the gain may survive with the cheaper patch8 encoder. Decouple input and output patch sizes, keeping input8 and output4. Initialize exactly from own E71patch8 EMA6000: retain all encoder/input tensors, fold query/recency halves and keep the first4 head rows as in E89. No function-preservation claim for output4; input8/output8 must reproduce the old implementation exactly. All other training settings match E89: seed401/B32/LR2e-5/12000 paired steps, original normalization and synthetic generator, horizonRNG300404, fresh optimizer/EMA. Compare with existing E89patch8control and fullpatch4 at1000/3000/6000/12000. No new data/generator or external weights. Queue after E88 releases its allocation, after equivalence and maximum-shape CUDA checks. + +## E84 coarse aggregation final12000 +- Checkpoint SHA-256: `bb3e1d1ef6b57ad9517e69c5f3c4fd5caac6e4fd0f50fa9273df2cd2b13b8a70`. +- Evaluation: 97 configurations, 9473 instances, 0 failed configurations; 25.56629729270935 seconds. +- Overall skill 0.377144; relative MASE 0.744785; relative WQL 0.520888. +- term skill: long=0.4036, medium=0.4057, short=0.3553. +- domain skill: Econ/Fin=0.1335, Energy=0.2339, Healthcare=0.4474, Nature=0.4322, Sales=0.3330, Transport=0.4658, Web/CloudOps=0.5048. +- frequency skill: A=0.3623, D=0.3529, H=0.3953, M=0.1038, Q=0.1971, S=0.4244, T=0.4404, W=0.2071. +- variates skill: multivariate=0.3962, univariate=0.3616. +- Outcome: Final0.377143853 is below matched E67paired12000 0.377427077. Daily skill improves0.352881088 versus0.350503003, but weekly drops0.207079293 versus0.218111206. Short term loses0.000773 while long/medium gain slightly. The targeted daily/weekly augmentation is mixed and not selected. Seed197/B64/LR2e-5, final training loop2103.526387s. E90loss-scale-only starts in the released allocation. + +## E89 patch8 matched control at6000 +- Checkpoint SHA-256: `9e8f798ceb2e1b49d8bd92ba334c42470e780b8d6b62a14195bb268ae8ba872a`. +- Evaluation: 97 configurations, 9473 instances, 0 failed configurations; 33.938090801239014 seconds. +- Overall skill 0.377735; relative MASE 0.746288; relative WQL 0.518853. +- term skill: long=0.4024, medium=0.4020, short=0.3584. +- domain skill: Econ/Fin=0.1414, Energy=0.2382, Healthcare=0.4376, Nature=0.4420, Sales=0.3419, Transport=0.4600, Web/CloudOps=0.4997. +- frequency skill: A=0.3730, D=0.3564, H=0.3927, M=0.0689, Q=0.1989, S=0.4229, T=0.4411, W=0.2355. +- variates skill: multivariate=0.3951, univariate=0.3636. +- Outcome: Main0.377734884 continues below original selected parent0.381178739 and control3000 0.378945686. Preserve this matched reference for fullpatch4 and E93splitpatch; seed401/B32/LR2e-5. Continue planned12000. + +E93 initialization SHA0719b4dce554764ef69181d8b19d8da11849ef32b35391ffee6700e639a73114;36,601,928parameters, CPUconversion0.663439s. CPUfixture1.433205s proves equal8/8 implementation bitwise unchanged and all converted tensors exactly match E89full4 except the retained input8 projection. CUDAmaximumshapeB32C4096H1024, EMA/moments present, finite loss/gradients,7082MiB reserved,10.871036s. Zero optimizer updates in fixtures. Queued behind E88PID7349 as declared. + +## E93 input8/output4 zero-step conversion +- Checkpoint SHA-256: `0719b4dce554764ef69181d8b19d8da11849ef32b35391ffee6700e639a73114`. +- Evaluation: 97 configurations, 9473 instances, 0 failed configurations; 36.244373083114624 seconds. +- Overall skill 0.375817; relative MASE 0.747921; relative WQL 0.520916. +- term skill: long=0.4024, medium=0.4024, short=0.3547. +- domain skill: Econ/Fin=0.1375, Energy=0.2390, Healthcare=0.4236, Nature=0.4343, Sales=0.3477, Transport=0.4607, Web/CloudOps=0.4989. +- frequency skill: A=0.3643, D=0.3468, H=0.3925, M=0.0737, Q=0.1911, S=0.4237, T=0.4382, W=0.2424. +- variates skill: multivariate=0.3939, univariate=0.3610. +- Outcome: Initial main0.375817443 is below shared E71patch8parent0.381178739 but above fullpatch4 conversion0.370553128. Keeping the input projection preserves more initial accuracy; this is initialization behavior, not evidence for trained superiority. Conversion0.663439CPU seconds; no optimizer updates; queued matched seed401/B32/LR2e-5/12000 continuation. + +## E87 validation-only context/error audit +Read the established9473-instance screen, both selected member prediction caches, and the cached SeasonalNaive reference; no optimization or changed inference. Compute fixed context4096/recent512 level shifts, scale ratios, and RMS/mean-absolute-deviation ratios, then macro aggregate conditional median-error ratios over represented configurations. CPU2.732488s, zero optimizer updates; complete bins/counts/per-channel metrics in context_error_audit.json. Median-error ratios across recent-level-shift bins[0,.25),[.25,.75),[.75,1.5),[1.5,inf) are.73083,.71495,.77366,.88600. Last bin has only40rows/eightconfigurations. Outlier-dominance bins do not show a monotonic weakness; the highest ratio bin performs relatively well against SeasonalNaive. These are descriptive validation subsets, with different configurations represented; not benchmark skill, independent evidence, or causal estimates. No inference-rule change follows from this audit. + +## E79 fresh146M first4000 +- Checkpoint SHA-256: `ce1d3cf0e49de7acc168ca818424fef4c58feebc49e35ebccd79e6a7450c810a`. +- Evaluation: 97 configurations, 9473 instances, 0 failed configurations; 41.41028594970703 seconds. +- Overall skill 0.328134; relative MASE 0.791714; relative WQL 0.570160. +- term skill: long=0.3561, medium=0.3699, short=0.3002. +- domain skill: Econ/Fin=0.1210, Energy=0.2038, Healthcare=0.2653, Nature=0.3940, Sales=0.2893, Transport=0.4160, Web/CloudOps=0.4518. +- frequency skill: A=0.3724, D=0.3122, H=0.3525, M=-0.0778, Q=0.2007, S=0.4142, T=0.3812, W=0.1775. +- variates skill: multivariate=0.3500, univariate=0.3102. +- Outcome: Main0.328133919 trails matched37M4000 0.341861940. Both use own random seed307, batch48, LR2e-4/96000, identical sampled windows and modern paired/slowAR/horizon recipe. This is early optimization, not evidence that larger capacity cannot improve. Continue planned8000/16000 while inspecting matched training loss. Static-compiler startup/abandoned duplicate launches were recorded separately. + +E93 input8/output4 seed401 training started at 2026-10-23T04:18:59Z, after the preceding trainer exited with its final checkpoint. Settings are unchanged from the declared comparison. + +E79 matched training-loss diagnostic at first4000: mean50-step-block losses37M/146M over steps1..400=.434227/.430111,401..1000=.397594/.402231,1001..2000=.381371/.386349,2001..3000=.374289/.377926,3001..4000=.361665/.366583. The larger model starts slightly better during warmup but trails after reachingLR2e-4. This is consistent with an optimization mismatch, not proof of its cause. First4000 training-loop times including static compilation:37M1106.1s,146M1563.7s; both share the sole H100. + +## E94 fresh146M with half learning rate — prepared +Hypothesis: the commonLR2e-4 is too aggressive at width1024, obscuring capacity benefits. Add one matched fresh146M arm withLR1e-4 only; same original random initialization SHA c9693619ca6277c26fef3b2bde37ff6796bec97b3af9f94588bbc5ddd329ec90, seed307, B48,96000-step cosine horizon,400 warmup, static compiled paired loss, allowed packed_sample/source weights, slowAR synthetic generator, requested-horizon augmentation, overflow fallback, optimizer/EMA, save/checkpoint cadence. All original E79 arms continue unchanged. Reuse the exact code and already verified width1024 maximum-shape/compiled-gradient fixtures; no architecture or memory change warrants rerunning them. Screen4000/8000/16000/24000, continuing longer only if supported. Queue after E89patch8control releases its allocation. No pretrained assets, new sources or generators. + +## E79 fresh37M at8000 +- Checkpoint SHA-256: `5e821b81ac42babdc67ed0f5368da07941be075784d1ded6ab6c65539458faf0`. +- Evaluation: 97 configurations, 9473 instances, 0 failed configurations; 29.999473094940186 seconds. +- Overall skill 0.353509; relative MASE 0.763149; relative WQL 0.547666. +- term skill: long=0.3727, medium=0.3917, short=0.3307. +- domain skill: Econ/Fin=0.1196, Energy=0.2092, Healthcare=0.3930, Nature=0.4203, Sales=0.3250, Transport=0.4394, Web/CloudOps=0.4807. +- frequency skill: A=0.3577, D=0.3366, H=0.3677, M=0.0393, Q=0.1747, S=0.4203, T=0.4060, W=0.2420. +- variates skill: multivariate=0.3701, univariate=0.3400. +- Outcome: Main0.353508836 improves4000 0.341861940, still below the mature published model. Continue declared16k/24k/48k; own random seed307/B48/LR2e-4/96k, no pretrained assets. Fresh146M is still before its matched8k. + +## E90 daily-weekly loss scale first1000 +- Checkpoint SHA-256: `e0e1e3967da656eaa8184317b080a5f2064081d0d53e969c4f8a4894fa92d4f2`. +- Evaluation: 97 configurations, 9473 instances, 0 failed configurations; 26.965925931930542 seconds. +- Overall skill 0.376961; relative MASE 0.744602; relative WQL 0.521322. +- term skill: long=0.3990, medium=0.4061, short=0.3567. +- domain skill: Econ/Fin=0.1300, Energy=0.2364, Healthcare=0.4663, Nature=0.4300, Sales=0.3344, Transport=0.4667, Web/CloudOps=0.4984. +- frequency skill: A=0.3661, D=0.3567, H=0.3951, M=0.1038, Q=0.1981, S=0.4227, T=0.4348, W=0.2267. +- variates skill: multivariate=0.3927, univariate=0.3641. +- Outcome: Main0.376961315 slightly exceeds matched overflow-only E801000 0.376804394. Too early for a method-selection claim; inspect3k/6k and frequency groups. Seed197/B64/LR2e-5, only exactdaily/weeklyseasonallosslag changes. + +## E88 late patch8 slowAR final12000 +- Checkpoint SHA-256: `81e020113b23e84d1df64458e7c1b4a4f6ad6ee24f7cdb601aeb3fbe5d20251f`. +- Evaluation: 97 configurations, 9473 instances, 0 failed configurations; 33.93403601646423 seconds. +- Overall skill 0.379111; relative MASE 0.744397; relative WQL 0.517873. +- term skill: long=0.4044, medium=0.4045, short=0.3590. +- domain skill: Econ/Fin=0.1445, Energy=0.2396, Healthcare=0.4185, Nature=0.4414, Sales=0.3428, Transport=0.4624, Web/CloudOps=0.5058. +- frequency skill: A=0.3764, D=0.3621, H=0.3953, M=0.0393, Q=0.1919, S=0.4250, T=0.4450, W=0.2233. +- variates skill: multivariate=0.3996, univariate=0.3623. +- Outcome: Final0.379111337 is below exact original E71final12000 0.379467684. Its small9k gain did not persist, and neither checkpoint exceeds selected6k parent0.381178739. Reject the late slowAR continuation; no new package or earlier-cutoff selection. Resumed8000->12000 completed in1415.491672loopseconds, preserving original optimizer/EMA/RNG/prefetched batch; seed197/B64/same globalcosine. E93 starts in the released allocation. + +E92 robust normalization seed197 training started at 2026-10-23T04:21:37Z, after the preceding trainer exited with its final checkpoint. Settings are unchanged from the declared comparison. + +## E95 broader source coverage at fixed packed volume — preparation +Hypothesis: restricting each large source to eight shards and early record batches limits the useful diversity, especially for buildings (127shards) and each climate source (96shards). Prepare packed_stratified with the same95allowlisted directories,24Mpoint/source soft cap, min16, maxcrop131072 as packed_sample. Select a uniform shuffled order of flattened series across every shard and record batch; take the first finite crops until the cap. Keep exact per-row frequency, exclude all-missing crops, and use independent deterministic per-series crop RNG. Thus coverage, row-frequency handling and empty-crop filtering are declared changes; this is not a claim that each can be isolated if actual mixed-frequency cases occur. Source mixture probabilities will remain those from packed_sample in any training comparison. No external data or validation values enter packing. + +Packer fixtures cover scalar, variable-channel and fixed-channel Arrow targets, null parents/variates, all-missing series, differing row frequencies and long crops:44retained series replay exactly, two fresh outputs have identical hashes,0.240463CPU seconds, zero updates. Initial fixture caught Arrow boolean conversion requiring zero_copy_only=False; fixed before any real-data packing. Per-directory receipts record selected source coordinates, shard coverage, binary hashes and elapsed time; output-wide lock and final atomic meta.json prevent reading an incomplete pack. + +Planned first training comparison, contingent on the completed real-data audit: own E62 parent, seed197/B64/LR2e-5/12000 paired steps with the exact E80overflow-control model/data code, changing only the packed corpus while retaining source probabilities from packed_sample. Screen1k/3k/6k/12k. No fresh training is launched yet; prefer the E90allocation after it finishes. A later fresh-capacity/data comparison remains a separate decision. + +## E80 overflow-only final12000 +- Checkpoint SHA-256: `f11d056b95f1c5eeef174265ebc51742952600e0dae1fa52900860447d5be819`. +- Evaluation: 97 configurations, 9473 instances, 0 failed configurations; 24.899142265319824 seconds. +- Overall skill 0.377424; relative MASE 0.744802; relative WQL 0.520408. +- term skill: long=0.4025, medium=0.4056, short=0.3563. +- domain skill: Econ/Fin=0.1303, Energy=0.2363, Healthcare=0.4508, Nature=0.4285, Sales=0.3332, Transport=0.4665, Web/CloudOps=0.5051. +- frequency skill: A=0.3608, D=0.3513, H=0.3946, M=0.1037, Q=0.1974, S=0.4251, T=0.4405, W=0.2175. +- variates skill: multivariate=0.3963, univariate=0.3620. +- Outcome: Final0.377423946 effectively ties original E67paired12000 0.377427077; strongest main checkpoint remained3000. Numerical correction is still required for rare overflow but does not cause a consistent predictive gain by itself. Completed2264.013627training-loop seconds on sharedH100, seed197/B64/LR2e-5. E92robust normalization starts in its allocation. + +## E90 daily-weekly loss scale at3000 +- Checkpoint SHA-256: `a985b1af082ccd6e23a9ec3fd6d6bdd8e8f9ae44900d2c0e1f8d3737cd9fd8d3`. +- Evaluation: 97 configurations, 9473 instances, 0 failed configurations; 26.59094786643982 seconds. +- Overall skill 0.378417; relative MASE 0.743144; relative WQL 0.519906. +- term skill: long=0.4018, medium=0.4067, short=0.3579. +- domain skill: Econ/Fin=0.1345, Energy=0.2395, Healthcare=0.4551, Nature=0.4311, Sales=0.3328, Transport=0.4655, Web/CloudOps=0.5031. +- frequency skill: A=0.3691, D=0.3557, H=0.3972, M=0.1020, Q=0.1974, S=0.4233, T=0.4378, W=0.2245. +- variates skill: multivariate=0.3966, univariate=0.3635. +- Outcome: Main0.378417277 trails matched E803000 0.378663825 after a small first1000 gain. Continue6000/12000 and inspect targeted frequency groups; no publication. Seed197/B64/LR2e-5. + +## E92 robust normalization first1000 +- Checkpoint SHA-256: `0067828e667139743a9908ff3a6d68f704197a1609935c64ae6f7a15c84884fa`. +- Evaluation: 97 configurations, 9473 instances, 0 failed configurations; 27.180058240890503 seconds. +- Overall skill 0.377596; relative MASE 0.742948; relative WQL 0.521418. +- term skill: long=0.3986, medium=0.4060, short=0.3580. +- domain skill: Econ/Fin=0.1327, Energy=0.2358, Healthcare=0.4628, Nature=0.4326, Sales=0.3487, Transport=0.4670, Web/CloudOps=0.4977. +- frequency skill: A=0.3673, D=0.3569, H=0.3949, M=0.1225, Q=0.1981, S=0.4216, T=0.4346, W=0.2284. +- variates skill: multivariate=0.3923, univariate=0.3656. +- Outcome: Main0.377596201 exceeds matched E801000 0.376804394 by0.000791807. Early evidence only; changes fixed context mean/RMS estimation to median-centered winsorized statistics, retaining original history normalization bounds. Continue3000/6000 and earlier cutoffs if the gain persists. Seed197/B64/LR2e-5. + +## E93 input8/output4 first1000 +- Checkpoint SHA-256: `0aecc5af0ac9b0caf9949bd6601f2fe4ad96c5fdc9e1287c1ff2237439367b7a`. +- Evaluation: 97 configurations, 9473 instances, 0 failed configurations; 35.963313579559326 seconds. +- Overall skill 0.379099; relative MASE 0.744060; relative WQL 0.518128. +- term skill: long=0.4046, medium=0.4041, short=0.3591. +- domain skill: Econ/Fin=0.1359, Energy=0.2378, Healthcare=0.4437, Nature=0.4406, Sales=0.3497, Transport=0.4667, Web/CloudOps=0.5000. +- frequency skill: A=0.3584, D=0.3472, H=0.3946, M=0.1244, Q=0.1932, S=0.4224, T=0.4398, W=0.2474. +- variates skill: multivariate=0.3943, univariate=0.3667. +- Outcome: Main0.379098968 exceeds fullpatch4 E891000 0.378250742 but trails matched patch8control1000 0.380274173. Keeping input8 retains initial accuracy; assess later recovery against both existing arms before an architectural conclusion. Seed401/B32/LR2e-5. + +E95 pack completed in109.068074s on two CPUworkers:95directories,342661series,952527771points (3.810GB), versus original357789series/958745103points. Identical softcaps, actualpointcount0.65%lower because overshoot/serieslengths differ. Building127/127shards, borg31/31, eachlargeclimate96/96 are represented. No selected candidate row differed from its shardfirst frequency;103all-missing crops excluded. Exact real-data audit replayed260series acrossall95dirs against independent Arrow row/var access, including frequencies and cropstarts; source probabilities bitwise equal to original. Seed461,7.897138CPU seconds, no validationdata/optimizerupdates. Training nowqueued afterE90PID8949 under the predeclared E80matched recipe. + +## E89 fullpatch4 at6000 +- Checkpoint SHA-256: `e50a2d43bb3b6b66a94a6a2d9d62f0cb3e404310352e0357cfe0f2a874a21727`. +- Evaluation: 97 configurations, 9473 instances, 0 failed configurations; 58.3371467590332 seconds. +- Overall skill 0.380541; relative MASE 0.742008; relative WQL 0.517151. +- term skill: long=0.4046, medium=0.4023, short=0.3625. +- domain skill: Econ/Fin=0.1470, Energy=0.2361, Healthcare=0.4746, Nature=0.4451, Sales=0.3448, Transport=0.4655, Web/CloudOps=0.4969. +- frequency skill: A=0.3637, D=0.3535, H=0.3958, M=0.1449, Q=0.2068, S=0.4213, T=0.4378, W=0.2471. +- variates skill: multivariate=0.3932, univariate=0.3703. +- Outcome: Main0.380540506 improves3000 0.379842915 and beats matched patch8control6000 0.377734884, but remains below selected starting E71patch8parent0.381178739. Check all three earlier cutoffs to assess stability and possible ensemble complementarity. Seed401/B32/LR2e-5; same original generator and fresh optimizer. + +## E93 input8/output4 at3000 +- Checkpoint SHA-256: `1b82ca84aca9aaa2b8b6b1f944a865b6aad7560257f88b053ea5f62bf63a4eb8`. +- Evaluation: 97 configurations, 9473 instances, 0 failed configurations; 35.112743854522705 seconds. +- Overall skill 0.379808; relative MASE 0.743342; relative WQL 0.517444. +- term skill: long=0.4052, medium=0.4025, short=0.3608. +- domain skill: Econ/Fin=0.1447, Energy=0.2358, Healthcare=0.4455, Nature=0.4421, Sales=0.3442, Transport=0.4692, Web/CloudOps=0.5011. +- frequency skill: A=0.3652, D=0.3489, H=0.3934, M=0.1161, Q=0.2001, S=0.4227, T=0.4417, W=0.2532. +- variates skill: multivariate=0.3949, univariate=0.3675. +- Outcome: Main0.379808189 nearly matches fullpatch4_3000 0.379842915 and exceeds matched patch8control3000 0.378945686. Much of the early finer-patch gain may be retained by output blocks alone, with7082MiB max-shape reserve versus11376MiB fullpatch4. Continue6000/12000; seed401/B32/LR2e-5. + +## E92 robust normalization at3000 +- Checkpoint SHA-256: `348934d9fbcc8f2a8c45f7ebdc6cd971678d190bcf6ec0c0bd1cf80a12334bbc`. +- Evaluation: 97 configurations, 9473 instances, 0 failed configurations; 26.601238489151 seconds. +- Overall skill 0.378938; relative MASE 0.741788; relative WQL 0.519985. +- term skill: long=0.4019, medium=0.4060, short=0.3591. +- domain skill: Econ/Fin=0.1339, Energy=0.2386, Healthcare=0.4552, Nature=0.4314, Sales=0.3481, Transport=0.4662, Web/CloudOps=0.5030. +- frequency skill: A=0.3665, D=0.3532, H=0.3965, M=0.1254, Q=0.1981, S=0.4218, T=0.4381, W=0.2295. +- variates skill: multivariate=0.3961, univariate=0.3649. +- Outcome: Main0.378937598 exceeds matched overflow-only E803000 0.378663825 by0.000273773 and postlossE753000 0.378813891 by0.000123707. Small primary gain persists; check all three earlier cutoffs before any composition or selection. Same seed197/B64/LR2e-5. Float64 robust statistics replace the old normalization throughout both network and context loss-scale calculation. + +## E96 equal three-resolution ensemble — predeclared selection probe +Hypothesis: fullpatch4 E89EMA6000 adds complementary monthly/weekly behavior to the published E87patch16/patch8 pair. Test exactly equal1/3 quantile averaging after each member applies its own unchanged rules, ordered E83postloss+slowAR, E71patch8_6000, E89patch4_6000. No coefficient sweep, no additional optimization, no dataset/frequency selection. Every member must forecast every instance if packaged. Compare all four established cached cutoffs; require a complete public-contract replay and relocation/composition checks before any publication. E89patch4_6000 hash e50a2d43bb3b6b66a94a6a2d9d62f0cb3e404310352e0357cfe0f2a874a21727; earlier cutoffs currently running. + +E94 fresh146M halfLR seed307 training started at 2026-10-23T04:36:27Z, after the preceding trainer exited with its final checkpoint. Settings are unchanged from the declared comparison. + +E96 main cached probe: skill0.384594982171353,relMASE0.737391433574142,relWQL0.513598773629635,CPU1.411123s; currentE87main0.383685556664058. Promising0.000909426 main improvement with fixed1/3 weights; assemble a separate candidate while the remaining earlier-cutoff predictions finish. No publication before full public-contract replay/checks. + +## E89 patch4_6000 backcast_evals +- Checkpoint SHA-256: `e50a2d43bb3b6b66a94a6a2d9d62f0cb3e404310352e0357cfe0f2a874a21727`. +- Evaluation: 97 configurations, 9330 instances, 0 failed configurations; 57.45131206512451 seconds. +- Overall skill 0.336072; relative MASE 0.796655; relative WQL 0.553314. +- term skill: long=0.4016, medium=0.3589, short=0.2999. +- domain skill: Econ/Fin=0.1775, Energy=0.2230, Healthcare=0.4006, Nature=0.3706, Sales=0.4131, Transport=0.3680, Web/CloudOps=0.4502. +- frequency skill: A=0.3160, D=0.3472, H=0.3715, M=0.2107, Q=0.2381, S=0.3496, T=0.3318, W=0.2614. +- variates skill: multivariate=0.3526, univariate=0.3226. +- Outcome: All three earlier cutoffs trail selected E71patch8_6000, so no standalone replacement. The predeclared equal three-model ensemble gains on main/earlier1/earlier2 and nearly ties earlier3; assess exact package replay. + +## E89 patch4_6000 backcast2_evals +- Checkpoint SHA-256: `e50a2d43bb3b6b66a94a6a2d9d62f0cb3e404310352e0357cfe0f2a874a21727`. +- Evaluation: 94 configurations, 8934 instances, 0 failed configurations; 50.43167591094971 seconds. +- Overall skill 0.360368; relative MASE 0.769660; relative WQL 0.531571. +- term skill: long=0.3665, medium=0.3905, short=0.3460. +- domain skill: Econ/Fin=0.1116, Energy=0.2401, Healthcare=0.3295, Nature=0.4708, Sales=0.5563, Transport=0.4201, Web/CloudOps=0.4365. +- frequency skill: A=0.2963, D=0.4200, H=0.3926, M=0.1575, Q=0.1533, S=0.2829, T=0.3608, W=0.2868. +- variates skill: multivariate=0.3615, univariate=0.3594. +- Outcome: All three earlier cutoffs trail selected E71patch8_6000, so no standalone replacement. The predeclared equal three-model ensemble gains on main/earlier1/earlier2 and nearly ties earlier3; assess exact package replay. + +## E89 patch4_6000 backcast3_evals +- Checkpoint SHA-256: `e50a2d43bb3b6b66a94a6a2d9d62f0cb3e404310352e0357cfe0f2a874a21727`. +- Evaluation: 93 configurations, 8812 instances, 0 failed configurations; 55.502692461013794 seconds. +- Overall skill 0.383331; relative MASE 0.748104; relative WQL 0.508326. +- term skill: long=0.3963, medium=0.3680, short=0.3844. +- domain skill: Econ/Fin=0.1767, Energy=0.3066, Healthcare=0.2424, Nature=0.4983, Sales=0.3975, Transport=0.5047, Web/CloudOps=0.3929. +- frequency skill: A=0.3000, D=0.4228, H=0.4042, M=0.1613, Q=0.2599, S=0.3033, T=0.4260, W=0.2276. +- variates skill: multivariate=0.3668, univariate=0.3960. +- Outcome: All three earlier cutoffs trail selected E71patch8_6000, so no standalone replacement. The predeclared equal three-model ensemble gains on main/earlier1/earlier2 and nearly ties earlier3; assess exact package replay. + +## E92 robust_3000 backcast_evals +- Checkpoint SHA-256: `348934d9fbcc8f2a8c45f7ebdc6cd971678d190bcf6ec0c0bd1cf80a12334bbc`. +- Evaluation: 97 configurations, 9330 instances, 0 failed configurations; 26.711654901504517 seconds. +- Overall skill 0.335781; relative MASE 0.797334; relative WQL 0.553328. +- term skill: long=0.3997, medium=0.3581, short=0.3006. +- domain skill: Econ/Fin=0.1550, Energy=0.2286, Healthcare=0.4082, Nature=0.3646, Sales=0.3970, Transport=0.3731, Web/CloudOps=0.4489. +- frequency skill: A=0.3150, D=0.3499, H=0.3669, M=0.1858, Q=0.2309, S=0.3411, T=0.3343, W=0.2844. +- variates skill: multivariate=0.3520, univariate=0.3226. +- Outcome: Earlier cutoff is below matched E80overflow-only3000. The main gain does not repeat temporally; continue the declared6k/12k training but do not select or transfer this3k checkpoint. + +## E92 robust_3000 backcast2_evals +- Checkpoint SHA-256: `348934d9fbcc8f2a8c45f7ebdc6cd971678d190bcf6ec0c0bd1cf80a12334bbc`. +- Evaluation: 94 configurations, 8934 instances, 0 failed configurations; 25.730652570724487 seconds. +- Overall skill 0.358075; relative MASE 0.771535; relative WQL 0.534088. +- term skill: long=0.3627, medium=0.3886, short=0.3441. +- domain skill: Econ/Fin=0.1063, Energy=0.2373, Healthcare=0.3471, Nature=0.4675, Sales=0.5490, Transport=0.4200, Web/CloudOps=0.4314. +- frequency skill: A=0.3543, D=0.4241, H=0.3906, M=0.1525, Q=0.1489, S=0.2804, T=0.3600, W=0.2550. +- variates skill: multivariate=0.3640, univariate=0.3532. +- Outcome: Earlier cutoff is below matched E80overflow-only3000. The main gain does not repeat temporally; continue the declared6k/12k training but do not select or transfer this3k checkpoint. + +## E92 robust_3000 backcast3_evals +- Checkpoint SHA-256: `348934d9fbcc8f2a8c45f7ebdc6cd971678d190bcf6ec0c0bd1cf80a12334bbc`. +- Evaluation: 93 configurations, 8812 instances, 0 failed configurations; 25.396876335144043 seconds. +- Overall skill 0.387946; relative MASE 0.738909; relative WQL 0.506977. +- term skill: long=0.3950, medium=0.3615, short=0.3950. +- domain skill: Econ/Fin=0.1698, Energy=0.3214, Healthcare=0.2587, Nature=0.5024, Sales=0.3958, Transport=0.5033, Web/CloudOps=0.3888. +- frequency skill: A=0.3650, D=0.4381, H=0.4044, M=0.1203, Q=0.2538, S=0.2862, T=0.4293, W=0.2622. +- variates skill: multivariate=0.3739, univariate=0.3988. +- Outcome: Earlier cutoff is below matched E80overflow-only3000. The main gain does not repeat temporally; continue the declared6k/12k training but do not select or transfer this3k checkpoint. + +### E96 four-cutoff equal ensemble selection +{ + "valid_screen": { + "candidate": 0.384594982171353, + "E87": 0.38368555666405846, + "cpu_seconds": 1.4111226599197835, + "groups": { + "term": { + "short": 0.3668858469093572, + "medium": 0.4077230710992221, + "long": 0.40635338876251526 + }, + "domain": { + "Econ/Fin": 0.14395536397825648, + "Energy": 0.24582427470581425, + "Healthcare": 0.4767476122577817, + "Nature": 0.44212246483547213, + "Sales": 0.34646504369353526, + "Transport": 0.46693421316839256, + "Web/CloudOps": 0.5034023313828211 + }, + "freq": { + "A-DEC": 0.37656040036707195, + "Q-DEC": 0.20077338922637145, + "M": 0.1185115893357509, + "W-SUN": 0.10525031522270123, + "D": 0.36189985298754856, + "H": 0.40144834519193306, + "15T": 0.21610876368843102, + "W-FRI": 0.015068318308339101, + "10T": 0.6264434570332911, + "W-TUE": 0.6245141515082602, + "W-THU": 0.20878118292775294, + "W-WED": 0.32985721333447826, + "5T": 0.5176096384720621, + "10S": 0.4242433666861485 + } + } + }, + "valid_backcast": { + "candidate": 0.33975008510701665, + "E87": 0.33897078175106665, + "cpu_seconds": 1.2138579529710114, + "groups": { + "term": { + "short": 0.30570414138317814, + "medium": 0.3609015682591047, + "long": 0.4020582836765434 + }, + "domain": { + "Econ/Fin": 0.1743856017696448, + "Energy": 0.23046498734519416, + "Healthcare": 0.4113970603320174, + "Nature": 0.3716618234366038, + "Sales": 0.408030987603086, + "Transport": 0.3731794302285525, + "Web/CloudOps": 0.451509629697311 + }, + "freq": { + "A-DEC": 0.3279717662601809, + "Q-DEC": 0.2380599535136222, + "M": 0.19905386528004188, + "W-SUN": 0.04880471728272662, + "D": 0.35315023295661196, + "H": 0.3711978117933119, + "15T": 0.22358807419379623, + "W-FRI": 0.22824822674434042, + "10T": 0.322600023714811, + "W-TUE": 0.547413555209586, + "W-THU": 0.24438059706818105, + "W-WED": 0.3628856336883284, + "5T": 0.4412301876136191, + "10S": 0.3475276102698931 + } + } + }, + "valid_backcast2": { + "candidate": 0.36472017597795625, + "E87": 0.36315845377936284, + "cpu_seconds": 1.3266870640218258, + "groups": { + "term": { + "short": 0.35192307261410094, + "medium": 0.39289736169887557, + "long": 0.36886086281920194 + }, + "domain": { + "Econ/Fin": 0.11936723839740782, + "Energy": 0.24270008941522314, + "Healthcare": 0.34837441457268725, + "Nature": 0.4771559710187644, + "Sales": 0.556902251507494, + "Transport": 0.4248139750422676, + "Web/CloudOps": 0.43759149119826346 + }, + "freq": { + "A-DEC": 0.3311026308933668, + "Q-DEC": 0.15378540101465998, + "M": 0.16020062601089513, + "W-SUN": 0.06801117727416384, + "D": 0.4305843857907744, + "H": 0.3953546731641614, + "15T": 0.10577250483830014, + "W-FRI": 0.15138877778445536, + "10T": 0.5095975609862264, + "W-TUE": 0.10847360375070303, + "W-THU": 0.3459885667095576, + "W-WED": 0.5660655173116367, + "5T": 0.4731902812063754, + "10S": 0.28592028110498247 + } + } + }, + "valid_backcast3": { + "candidate": 0.389238119545644, + "E87": 0.3893067316884232, + "cpu_seconds": 1.2415199128445238, + "groups": { + "term": { + "short": 0.39417395687284207, + "medium": 0.36821605147108216, + "long": 0.396861173789945 + }, + "domain": { + "Econ/Fin": 0.18370373648624572, + "Energy": 0.31629238352886546, + "Healthcare": 0.2377535675450031, + "Nature": 0.5072143926034133, + "Sales": 0.40117499834543047, + "Transport": 0.5090476109622039, + "Web/CloudOps": 0.39339169169310506 + }, + "freq": { + "A-DEC": 0.3399962169002898, + "Q-DEC": 0.25825750036173534, + "M": 0.14131510737146213, + "W-SUN": 0.1672885644844745, + "D": 0.4408980632536098, + "H": 0.4067494659465881, + "15T": 0.2551059021117046, + "W-FRI": 0.016583036267497464, + "10T": 0.6063638743127748, + "W-TUE": 0.2532467022883038, + "W-THU": 0.3464821396686204, + "W-WED": 0.3777825141129817, + "5T": 0.46382868467749705, + "10S": 0.29461185618122454 + } + } + } +} +Three gains and effectively tied third cutoff justify full public-interface replay. Candidate descriptor1503d92ce031ec0c0e0533ece20d0516a0eceb134802d51746e24a44c4b5ee9b,110064120parameters. Every member retains its exact model code; shared postprocessing hashes checked during assembly. E87 remains published pending complete replay and checks. + +Fresh37M state preservation: wait for its complete recovery024000 state and archive model/EMA/Adam/allRNG/prefetchedbatch to random_capacity_512_recovery024000.pt. This is a zero-update checkpoint snapshot, not a new experiment or a changed active schedule. It preserves the option of a later controlled annealing comparison without repeating pretraining. No continuation is queued. + +Data preparation extension, no training scheduled: create packed_stratified_large with192Mpoint/source softcaps using the identical E95all-shard code/min16/maxcrop131072 and directory/per-series RNGs. Because global series order and crops are cap-independent, the24Mpack should be an exact per-source binary/record prefix of the192Mpack. Check that invariant before any future data-scaling experiment. This artifact is separate from E95training, which remains queued on the24Mpack. No new source directories/generators or validation data. Two CPUworkers; GPUtraining schedules unchanged. + +## E79 fresh146M at8000 +- Checkpoint SHA-256: `12ad3e4b1be6b38b31a3dee057805e2a532f48fe3723f6bcefb15ba63ca8ee97`. +- Evaluation: 97 configurations, 9473 instances, 0 failed configurations; 39.91020727157593 seconds. +- Overall skill 0.343979; relative MASE 0.773251; relative WQL 0.556563. +- term skill: long=0.3755, medium=0.3854, short=0.3146. +- domain skill: Econ/Fin=0.1160, Energy=0.1969, Healthcare=0.3682, Nature=0.4144, Sales=0.3129, Transport=0.4343, Web/CloudOps=0.4719. +- frequency skill: A=0.3662, D=0.3440, H=0.3640, M=-0.0514, Q=0.1891, S=0.4174, T=0.3968, W=0.1930. +- variates skill: multivariate=0.3619, univariate=0.3293. +- Outcome: Main0.343979357 improves4000 0.328133919; still below matched37M8000 0.353508836, with a narrowing gap. Continue declared16k/24k; seed307/B48/LR2e-4/96k. E94halfLR is a separate matched optimization arm. + +## E79 fresh37M at16000 +- Checkpoint SHA-256: `a83c2bee0b284ab22ebb5107d79e2ff2ecd29a7de9a384d46d175dbffcf2c5b4`. +- Evaluation: 97 configurations, 9473 instances, 0 failed configurations; 29.48415732383728 seconds. +- Overall skill 0.355318; relative MASE 0.763624; relative WQL 0.544266. +- term skill: long=0.3802, medium=0.3960, short=0.3290. +- domain skill: Econ/Fin=0.1292, Energy=0.2122, Healthcare=0.3475, Nature=0.4103, Sales=0.3304, Transport=0.4455, Web/CloudOps=0.4937. +- frequency skill: A=0.3719, D=0.3210, H=0.3755, M=0.0179, Q=0.1815, S=0.4231, T=0.4098, W=0.2504. +- variates skill: multivariate=0.3787, univariate=0.3361. +- Outcome: Main0.355318072 improves8000 0.353508836 only modestly. Continue original96k schedule unchanged and preserve complete24kstate for a possible later annealing comparison. Seed307/B48/LR2e-4, own scratch initialization. + +## E90 daily-weekly loss scale at6000 +- Checkpoint SHA-256: `d6b3d3e30290a9360789d236565ecb0acf410d4605bb50821f30b7886ed2d349`. +- Evaluation: 97 configurations, 9473 instances, 0 failed configurations; 23.801913261413574 seconds. +- Overall skill 0.378435; relative MASE 0.743624; relative WQL 0.519542. +- term skill: long=0.4018, medium=0.4074, short=0.3577. +- domain skill: Econ/Fin=0.1254, Energy=0.2397, Healthcare=0.4663, Nature=0.4297, Sales=0.3355, Transport=0.4644, Web/CloudOps=0.5032. +- frequency skill: A=0.3677, D=0.3561, H=0.3960, M=0.0989, Q=0.1934, S=0.4243, T=0.4382, W=0.2295. +- variates skill: multivariate=0.3971, univariate=0.3632. +- Outcome: Main0.378434765 slightly exceeds matched E806000 0.378288765, reversing its small3k deficit. Effect is inconsistent and small; finish12k, then assess targeted frequency groups. Seed197/B64/LR2e-5. + +## E89 patch8 control final12000 +- Checkpoint SHA-256: `80519b37e670050b23c231718210bf49aaa64b5396e301a44975140d8075a85a`. +- Evaluation: 97 configurations, 9473 instances, 0 failed configurations; 35.017725229263306 seconds. +- Overall skill 0.380847; relative MASE 0.742398; relative WQL 0.516367. +- term skill: long=0.4032, medium=0.4046, short=0.3626. +- domain skill: Econ/Fin=0.1449, Energy=0.2438, Healthcare=0.4363, Nature=0.4433, Sales=0.3387, Transport=0.4634, Web/CloudOps=0.5028. +- frequency skill: A=0.3691, D=0.3616, H=0.3940, M=0.0837, Q=0.1978, S=0.4249, T=0.4461, W=0.2290. +- variates skill: multivariate=0.3988, univariate=0.3662. +- Outcome: Final0.380847096 rebounds from6000 0.377734884 as the learning rate falls; still below initial selected E71parent0.381178739. Preserve as the final matched reference for fullpatch4 and input8/output4, which are still training. Seed401/B32/LR2e-5; do not infer final architectural superiority from the6k comparison alone. Released allocation to E94fresh146M halfLR. + +## Larger all-shard data preparation, no optimizer updates +Same fixed global-series order and crop rules as E95, raising only the per-directory cap from24M to192M points. Packed5,354,822,975points in1,059,868series across95allowed directories;125.173232s with2CPU workers. Independent260series Arrow replay plus binary/record-prefix checks for all95directories passed in19.984999s, seed461; source probabilities bitwise match the original source mixture. The24M pack is exactly a prefix within every source. Audit stratified_large_audit.json; no validation read and no training on this larger pack scheduled yet. + +E89patch8control final12000 training loop2729.052105s on shared singleH100; validation/hash/group results recorded above. No continuation of completed control. + +## E92 robust normalization at6000 +- Checkpoint SHA-256: `3c76ff01356bdf0de6219a0937fe43c25175caef19d4324b4e73c39310659fce`. +- Evaluation: 97 configurations, 9473 instances, 0 failed configurations; 26.452584981918335 seconds. +- Overall skill 0.377780; relative MASE 0.743560; relative WQL 0.520681. +- term skill: long=0.4010, medium=0.4074, short=0.3568. +- domain skill: Econ/Fin=0.1250, Energy=0.2380, Healthcare=0.4626, Nature=0.4291, Sales=0.3516, Transport=0.4654, Web/CloudOps=0.5006. +- frequency skill: A=0.3659, D=0.3537, H=0.3957, M=0.1211, Q=0.1920, S=0.4237, T=0.4359, W=0.2278. +- variates skill: multivariate=0.3949, univariate=0.3638. +- Outcome: Main0.377780381 is below matched overflow-only E80at6000 0.378288765; earlier3k already regressed at all three cutoffs. Continue the predeclared final12k but no6k selection or composition. Seed197/B64/LR2e-5; normalization is the only changed factor. + +## E96 three-patch equal ensemble full public replay — selected +- Checkpoint SHA-256: `1503d92ce031ec0c0e0533ece20d0516a0eceb134802d51746e24a44c4b5ee9b`. +- Evaluation: 97 configurations, 151170 instances, 0 failed configurations; not separately timed seconds. +- Overall skill 0.380721; relative MASE 0.740204; relative WQL 0.518109. +- term skill: long=0.4003, medium=0.4066, short=0.3628. +- domain skill: Econ/Fin=0.1244, Energy=0.2393, Healthcare=0.4812, Nature=0.4421, Sales=0.3603, Transport=0.4671, Web/CloudOps=0.4951. +- frequency skill: A=0.2988, D=0.3660, H=0.3960, M=0.1437, Q=0.1866, S=0.4242, T=0.4364, W=0.2370. +- variates skill: multivariate=0.3947, univariate=0.3694. +- Outcome: Full validation skill0.380721445 improves E87by0.001091552; relativeMASE0.740203875 andrelativeWQL0.518108512 both improve. All97configs/151170instances,0failures,441.765573 inference seconds on shared singleH100. Every member forecasts every instance, equal1/3 weights fixed before replay; no extra training. Relocation bitwise/finite/ordered checks passed in33.315708s; independent third-member public replay10.848689s and bitwise three-member composition0.027575CPU s passed. Three of four selection cutoffs improve; third earlier loss0.0000686. Full55/97configs improve; descriptive dataset-bootstrap interval spans zero, so the small adaptive-validation gain is not a held-out significance claim. Publish the strongest complete replayable candidate; continue research. + +## E97 explicit weekly synthetic coverage — preparation +Hypothesis: the existing20% synthetic mixture omits[52,1]weekly seasonality, contributing to weak weekly transfer. Replace exactly a Bernoulli1/11 share of synthetic windows with the same own Fourier/trend/AR/intermittency/changepoint generator atperiods[52,1]. The total synthetic fraction remains20%; all ten original period families retain expected weight1/11 and the new weekly family gains1/11. Always consume the original generator first; independent RNGseed1000200 chooses/re-generates weekly windows, preserving every real row and non-replaced synthetic row and the original sampler/horizon streams bitwise. No other history/target-length change. Match E80overflow-only: ownE62 initialization,seed197/B64/LR2e-5/12000paired steps,original packed_sample/source probabilities/model/loss/runtime. Screen1/3/6/12k; require sampler stream/recovery checks before queueing after E92 completes. No validation used for generation or optimization; declare the new local generator if published. + +E97sampler check: {"seed": 467, "rows": 7680, "original_synthetic_rows": 1543, "replaced_weekly_rows": 134, "probability": 0.09090909090909091, "original_and_horizon_rng_bitwise_preserved": true, "unmodified_rows_bitwise_preserved": true, "finite_masks_unchanged": true, "all_numpy_rng_recovery_exact": true, "model_sha256": "44eeb23c037e91b8f67e432615ce46540a7ac4242919785f9c4218de23121499", "model_bitwise_unchanged": true, "seconds": 3.6882259079720825, "optimizer_updates": 0, "validation_data_read": false} +Queue declared after E92PID9354, requiring its final recovery. Existing model code is byte-identical to E80, so no new GPU arithmetic fixture is needed for this data-only change. Full command is weekly_synth_queue.json; launcher weekly_synth/launch.py. + +## E93 input8/output4 at6000 +- Checkpoint SHA-256: `8afbf4d2008aa7d5dab4ecbdcd1685f1a59b8fcb739a39f65fa8ba4b8cb4be9d`. +- Evaluation: 97 configurations, 9473 instances, 0 failed configurations; 36.958359479904175 seconds. +- Overall skill 0.380224; relative MASE 0.742564; relative WQL 0.517292. +- term skill: long=0.4044, medium=0.4022, short=0.3620. +- domain skill: Econ/Fin=0.1461, Energy=0.2357, Healthcare=0.4662, Nature=0.4406, Sales=0.3432, Transport=0.4673, Web/CloudOps=0.5003. +- frequency skill: A=0.3656, D=0.3580, H=0.3941, M=0.1089, Q=0.2009, S=0.4225, T=0.4400, W=0.2482. +- variates skill: multivariate=0.3938, univariate=0.3692. +- Outcome: Main0.380224037 is between matched fullpatch4at6000 0.380540506 and patch8control0.377734884, below selected starting E71parent0.381178739. The decoder-only refinement recovers most of the full-resolution gain at lower encoder cost; continue final12k before any ensemble replacement. Seed401/B32/LR2e-5, same original generator. + +## E98 completion of deliberately pruned E75 schedule — declared revisit +E75 was intentionally stopped at3653 after earlier-cutoff regressions; that decision and its stopfile remain intact. E89patch8control subsequently recovered from0.377734884 at6k to0.380847096 at12k as learning rate decayed, showing that an intermediate trough can conceal a late recovery. Revisit the incomplete E75 schedule under a separate output, postloss_completion, by preserving and restoring its exact3653 model/EMA/Adam/allRNG/prefetched state. Continue original steps3654..12000 with the unchanged12k cosine schedule,seed197/B64/LR2e-5,original data/generator and postprocessing-aware objective. No new recipe factor and no reset; this is a completion of a previously pruned experiment, not an independent replication. Model/data/torch_post code byte-match the original archived provenance. Compare6k/12k against E80overflow-only, and examine earlier cutoffs before any composition. Queue only after E93 releases its allocation; retain original postloss.stop and all negative results. + +E98exact restart snapshot: {"source": "/workspace/research/runs/postloss/recovery.pt", "output": "/workspace/research/postloss_recovery003653.pt", "step": 3653, "sha256": "7d81547596356906fbac3a9aa3d47f84c27eabf845ba26e2c3c74ec369923c01", "seconds": 1.7649966378230602, "preserves": "model, EMA, optimizer, all RNG states and prefetched batch", "optimizer_updates": 0} +Queued after E93PID9274; launcher postloss/launch_completion.py, completecommand postloss_completion_queue.json. No GPU fixture repeated because model/loss/data code is identical to already verified E75, and no new optimizer update occurred during preparation. + +## E79 fresh37M at24000 +- Checkpoint SHA-256: `fbdb51213b3cf165273c4ea83c2386ec0bd496b182e31d57f421eee29c0da28a`. +- Evaluation: 97 configurations, 9473 instances, 0 failed configurations; 29.551169872283936 seconds. +- Overall skill 0.357902; relative MASE 0.763517; relative WQL 0.539988. +- term skill: long=0.3831, medium=0.3912, short=0.3346. +- domain skill: Econ/Fin=0.1259, Energy=0.2164, Healthcare=0.3681, Nature=0.4073, Sales=0.3362, Transport=0.4526, Web/CloudOps=0.4919. +- frequency skill: A=0.3818, D=0.3384, H=0.3762, M=0.0189, Q=0.1970, S=0.4195, T=0.4130, W=0.2313. +- variates skill: multivariate=0.3766, univariate=0.3426. +- Outcome: Main0.357901602 improves16k0.355318072 but still trails the mature scratch lineage. Continue original96k schedule unchanged. Exact24k model/EMA/Adam/allRNG/prefetch snapshot preserved for a separately declared cooldown comparison; no continuation launched yet. Seed307/B48/LR2e-4/static compiled paired loss/slowAR original source mixture. + +E79small immutable24k snapshot: {"source": "/workspace/research/runs/random_capacity_512/recovery.pt", "output": "/workspace/research/random_capacity_512_recovery024000.pt", "step": 24000, "sha256": "32de72f3d09f8eee785c1d19a279541348de7ba129f79d62e5824e1223e19322", "seconds": 2.042371174087748, "preserves": "model, EMA, optimizer, all RNG states and prefetched batch", "optimizer_updates": 0} + +## E99 matched early cooldown of fresh37M model — declared +Hypothesis: E79fresh37M is held back by the still-high96k-schedule learning rate, rather than only a lack of capacity. Branch from the exact immutable24000 training state (SHA32de72f3d09f8eee785c1d19a279541348de7ba129f79d62e5824e1223e19322), preserving model/EMA/Adam/allRNG/prefetched batch. Change only the next12000-step learning-rate schedule: smoothly cosine-decay from the original step24000 rate0.00017656854249492381 to0.00001 at36000, with no optimizer reset or rewarmup. Original E79continues its96k schedule unchanged. Same seed307/B48/static compiled paired objective/slowAR generator/original pack and source probabilities. Compare candidate and original at global30000/36000; earlier windows only for a promising candidate. Queue after E89fullpatch4 releases its allocation. Default schedule arithmetic was verified bitwise at140000steps across three existing recipes; cooldown joins exactly and decreases monotonically. No GPU arithmetic or model change; reuse existing compiled/eager-gradient fixtures. +E99schedule checks: {"default_steps_bitwise_equal": 140000, "join_step": 24000, "join_lr": 0.00017656854249492381, "end_step": 36000, "end_lr": 1e-05, "schedule": "cosine from original step24000 rate to1e-5 by36000, no warmup/reset", "optimizer_updates": 0, "validation_data_read": false, "seconds": 0.14022667310200632} + +## E94 fresh146M halfLR first4000 +- Checkpoint SHA-256: `62c59ba50647d301fd5afd846b25c03271fe35b7d97fe63f5b2f7b931957090b`. +- Evaluation: 97 configurations, 9473 instances, 0 failed configurations; 41.465235233306885 seconds. +- Overall skill 0.336895; relative MASE 0.784082; relative WQL 0.560794. +- term skill: long=0.3621, medium=0.3772, short=0.3107. +- domain skill: Econ/Fin=0.1179, Energy=0.2132, Healthcare=0.2861, Nature=0.4034, Sales=0.2941, Transport=0.4230, Web/CloudOps=0.4607. +- frequency skill: A=0.3563, D=0.3278, H=0.3600, M=-0.0301, Q=0.1751, S=0.4173, T=0.3872, W=0.1853. +- variates skill: multivariate=0.3571, univariate=0.3204. +- Outcome: Lower LR1e-4 improves matched146M4k main0.328133919 to0.336895196, still below37Mcontrol0.341861940. All three terms improve over high-LR146M; large capacity is not yet better than the smaller model. Afterwarmup its matched training loss beats high-LR146M consistently and slightly beats37M by steps2001..4000. Continue8k/16k before selecting a larger-corpus fresh recipe. Same initial weights/seed307/B48/data/objective; only learning rate changed. + +E79/E94matched first4k loss/compute: {"random_capacity_512": {"1-400": 0.4342267720028758, "401-1000": 0.3975941499322653, "1001-2000": 0.381371116399765, "2001-3000": 0.37428912545740606, "3001-4000": 0.3616653003469109, "through4000_loop_seconds": 1106.1}, "random_capacity_1024": {"1-400": 0.4301105997338891, "401-1000": 0.40223139939208824, "1001-2000": 0.3863489354848862, "2001-3000": 0.3779264837577939, "3001-4000": 0.36658306304365396, "through4000_loop_seconds": 1563.7}, "random_capacity_1024_halflr": {"1-400": 0.4339301012828946, "401-1000": 0.39748335411151253, "1001-2000": 0.3812341860383749, "2001-3000": 0.3728542738109827, "3001-4000": 0.36091782905161385, "through4000_loop_seconds": 1064.5}}. Shared-H100 process times include differing compiler-cache warm-up and are not exclusiveGPU efficiency measurements. + +E95 all-shard corpus seed197 training started at 2026-10-23T04:58:12Z, after the preceding trainer exited with its final checkpoint. Settings are unchanged from the declared comparison. + +## E90 daily-weekly loss scale final12000 +- Checkpoint SHA-256: `4c5641b649529f9ac36c8679289c64bacf0b30e11dae8428620a0d59e56ffabc`. +- Evaluation: 97 configurations, 9473 instances, 0 failed configurations; 24.18997550010681 seconds. +- Overall skill 0.377373; relative MASE 0.744776; relative WQL 0.520511. +- term skill: long=0.4024, medium=0.4060, short=0.3561. +- domain skill: Econ/Fin=0.1328, Energy=0.2359, Healthcare=0.4455, Nature=0.4306, Sales=0.3355, Transport=0.4657, Web/CloudOps=0.5050. +- frequency skill: A=0.3617, D=0.3526, H=0.3946, M=0.1059, Q=0.1975, S=0.4251, T=0.4399, W=0.2154. +- variates skill: multivariate=0.3960, univariate=0.3621. +- Outcome: Final main0.377373344 is effectively tied but slightly below matched E80overflow-only0.377423946. The isolated seasonal-loss-lag change has no sustained overall gain across1k/3k/6k/12k. Seed197/B64/LR2e-5; completed2702.166704 shared-H100 training-loop seconds. No candidate publication; E95broader-source-coverage starts in the released allocation. + +## E100 equal probability-distribution pool — predeclared cached comparison +Hypothesis: E96quantile averaging omits dispersion due to disagreement among its three members. Keep exactly the E83/E71/E89fixed models and equalweights, but average their CDFs and invert for the nine deciles. Each member distribution is piecewise-linear through its predicted deciles, extended to probabilities0/1 by one adjacent endpoint spacing; repeated quantiles retain atoms. Evaluate all four cached cutoffs, with no coefficient/tail-setting sweep and zero optimizer updates. Every member still forecasts every instance. Initial local fixture found only5.55e-17roundoff around exactzero; enforcing the mathematical bound between member quantiles at each level corrected it before any validation read. Identical-member, uniform-mixture, sign/affine, finite/ordered and chunk-size checks passed: {"seed": 479, "identical_members_bitwise_identity": true, "uniform_mixture_exact_within_float32": true, "atoms_at_zero_preserved": true, "ordered_finite": true, "chunk_size_bitwise_independent": true, "sign_reflection_and_affine_equivariance": true, "optimizer_updates": 0, "seconds": 0.09868191904388368} + +## E95 all-shard source coverage first1000 +- Checkpoint SHA-256: `17b2a03d282c141dbd68ac7f68df4626802f1a0323fff313f1a28192c5068b5b`. +- Evaluation: 97 configurations, 9473 instances, 0 failed configurations; 26.06695008277893 seconds. +- Overall skill 0.377028; relative MASE 0.744820; relative WQL 0.521057. +- term skill: long=0.3997, medium=0.4068, short=0.3562. +- domain skill: Econ/Fin=0.1378, Energy=0.2376, Healthcare=0.4487, Nature=0.4311, Sales=0.3344, Transport=0.4669, Web/CloudOps=0.4993. +- frequency skill: A=0.3724, D=0.3543, H=0.3951, M=0.1080, Q=0.1986, S=0.4218, T=0.4370, W=0.2193. +- variates skill: multivariate=0.3940, univariate=0.3632. +- Outcome: Main0.377028371 exceeds matched E80at1000 0.376804394 by0.000223977. Medium/long improve while short is nearly unchanged; still below E62initialization0.377343216, so no selection claim yet. Continue3k/6k/12k. Seed197/B64/LR2e-5; pack coverage changes at nearly identical volume, same original source probabilities/model/loss/generator. + +E97 weekly synthetic coverage seed197 training started at 2026-10-23T05:06:47Z, after the preceding trainer exited with its final checkpoint. Settings are unchanged from the declared comparison. + +### E100 probability-pool outcome — rejected +{"cutoff": "valid_screen", "skill_score": 0.38447708223972143, "rel_mase_gmean": 0.7377458188534619, "rel_wql_gmean": 0.5135487760227904, "groups": {"term": {"short": 0.36645074748329265, "medium": 0.40785519113120783, "long": 0.4067636672388967}, "domain": {"Econ/Fin": 0.14348007471775803, "Energy": 0.2450499585597603, "Healthcare": 0.4778661939355727, "Nature": 0.44167938695480613, "Sales": 0.34589247896287667, "Transport": 0.46735333815132574, "Web/CloudOps": 0.5036629603237621}, "freq": {"A-DEC": 0.37569899250005157, "Q-DEC": 0.20013922343000312, "M": 0.12148678908575261, "W-SUN": 0.10281895779812733, "D": 0.3613770705448509, "H": 0.40132102430667216, "15T": 0.21622161251725824, "W-FRI": 0.010849753325401168, "10T": 0.6253364743600922, "W-TUE": 0.6270406616896087, "W-THU": 0.2100424900094875, "W-WED": 0.3297769734384489, "5T": 0.5175830091172531, "10S": 0.424444633099896}}, "cpu_seconds": 59.980443592881784, "member_checkpoint_hashes": ["0ae7875b49b99a44c295dc2b8243327aeacadc25b2354988abb2c37250359a49", "308389b7217c080af9eb185559d4ee3cafa0f3e0f8c4dd8f5526b68198c89988", "e50a2d43bb3b6b66a94a6a2d9d62f0cb3e404310352e0357cfe0f2a874a21727"], "quantile_mean_skill": 0.384594982171353, "skill_difference": -0.00011789993163158208} +{"cutoff": "valid_backcast", "skill_score": 0.3396884750452879, "rel_mase_gmean": 0.7937686109009007, "rel_wql_gmean": 0.5492927082278539, "groups": {"term": {"short": 0.305359424616949, "medium": 0.3615421761351466, "long": 0.4019782542502155}, "domain": {"Econ/Fin": 0.17397857577775933, "Energy": 0.23077587806776068, "Healthcare": 0.4105170158829923, "Nature": 0.37090555838048966, "Sales": 0.40754241032517846, "Transport": 0.3735854351257373, "Web/CloudOps": 0.4515115490492597}, "freq": {"A-DEC": 0.3285015352119629, "Q-DEC": 0.23809442338781928, "M": 0.19846718923537676, "W-SUN": 0.044551228029835244, "D": 0.3527581961201992, "H": 0.37195542467805676, "15T": 0.22380832764902536, "W-FRI": 0.22713834170412128, "10T": 0.3209843494303689, "W-TUE": 0.5471337430335201, "W-THU": 0.24671528715780322, "W-WED": 0.36065042452889085, "5T": 0.440176624512733, "10S": 0.34765351732372307}}, "cpu_seconds": 57.84474289207719, "member_checkpoint_hashes": ["0ae7875b49b99a44c295dc2b8243327aeacadc25b2354988abb2c37250359a49", "308389b7217c080af9eb185559d4ee3cafa0f3e0f8c4dd8f5526b68198c89988", "e50a2d43bb3b6b66a94a6a2d9d62f0cb3e404310352e0357cfe0f2a874a21727"], "quantile_mean_skill": 0.33975008510701665, "skill_difference": -6.161006172877848e-05} +{"cutoff": "valid_backcast2", "skill_score": 0.3643569364713283, "rel_mase_gmean": 0.7656814703595871, "rel_wql_gmean": 0.5276895417390272, "groups": {"term": {"short": 0.35141014761082046, "medium": 0.3925477275360366, "long": 0.36889675295988844}, "domain": {"Econ/Fin": 0.11837724372992486, "Energy": 0.24257682706622608, "Healthcare": 0.3484957338430069, "Nature": 0.4765403493474547, "Sales": 0.5563991023520016, "Transport": 0.425156500116473, "Web/CloudOps": 0.43670286593915697}, "freq": {"A-DEC": 0.32966975290636025, "Q-DEC": 0.15381819951222442, "M": 0.15901923467685497, "W-SUN": 0.06330956349285344, "D": 0.43027727492156853, "H": 0.39548623856812215, "15T": 0.10618336189249866, "W-FRI": 0.14996401232455647, "10T": 0.5090292906528928, "W-TUE": 0.11021265661815505, "W-THU": 0.34484214889524656, "W-WED": 0.565895835912684, "5T": 0.47197167812560914, "10S": 0.2855930392816969}}, "cpu_seconds": 55.48255044897087, "member_checkpoint_hashes": ["0ae7875b49b99a44c295dc2b8243327aeacadc25b2354988abb2c37250359a49", "308389b7217c080af9eb185559d4ee3cafa0f3e0f8c4dd8f5526b68198c89988", "e50a2d43bb3b6b66a94a6a2d9d62f0cb3e404310352e0357cfe0f2a874a21727"], "quantile_mean_skill": 0.36472017597795625, "skill_difference": -0.000363239506627977} +{"cutoff": "valid_backcast3", "skill_score": 0.3894908456851319, "rel_mase_gmean": 0.7395191359520792, "rel_wql_gmean": 0.5040051154624993, "groups": {"term": {"short": 0.3944986218711739, "medium": 0.3683905810196345, "long": 0.3969887061132117}, "domain": {"Econ/Fin": 0.18408496490995196, "Energy": 0.3168114104271367, "Healthcare": 0.23983131130227353, "Nature": 0.5064220935312094, "Sales": 0.40140535360155616, "Transport": 0.5096985006120188, "Web/CloudOps": 0.393462743970424}, "freq": {"A-DEC": 0.34218212975771833, "Q-DEC": 0.25834447555512075, "M": 0.14460929216407215, "W-SUN": 0.16537651572223833, "D": 0.4408650435087358, "H": 0.40698403946159434, "15T": 0.25514902945862916, "W-FRI": 0.019067740904430974, "10T": 0.6070205489033722, "W-TUE": 0.25089200168813297, "W-THU": 0.3450365084609506, "W-WED": 0.378097845878244, "5T": 0.46374932773306954, "10S": 0.2954018250276097}}, "cpu_seconds": 54.93674235115759, "member_checkpoint_hashes": ["0ae7875b49b99a44c295dc2b8243327aeacadc25b2354988abb2c37250359a49", "308389b7217c080af9eb185559d4ee3cafa0f3e0f8c4dd8f5526b68198c89988", "e50a2d43bb3b6b66a94a6a2d9d62f0cb3e404310352e0357cfe0f2a874a21727"], "quantile_mean_skill": 0.389238119545644, "skill_difference": 0.0002527261394879021} +Probability pooling loses main and the first two earlier cutoffs, improving only the third. Retain E96 equal quantile averaging; no full replay or runtime publication. Zero optimizer updates; full CPU comparison time228.244479s, local fixture seed479. + +## E101 own-ensemble distillation — prepared, not queued + + +Prepared design, not yet queued. Complete the listed checks and record the exact experiment before launch. No external models, weights or data. + +Hypothesis: the larger fresh model can learn useful conditional forecasts faster when its proper real-target objective is supplemented by dense quantile targets from our own mature scratch-trained ensemble. This differs from the failed direct width conversions and protected random feature grafts: all student parameters begin at the same random initialization as E94. + +Match E94 exactly: own random_capacity_1024_initial.pt, seed307, batch48 distinct windows/96 signed rows, learning rate1e-4,96000-step schedule,400warmup, compiled paired-sign loss, original packed_sample/source probabilities,20% own slow-AR synthetic generator, original requested-horizon stream. Only the additional teacher loss changes. E94 remains the real-target-only control. + +Teacher: frozen E96 three members, descriptor1503d92ce031ec0c0e0533ece20d0516a0eceb134802d51746e24a44c4b5ee9b. Use each member's sign-averaged normalized neural quantiles BEFORE fixed postprocessing, then equal averaging. All members share the same ordinary-row normalization at training shapes (contexts are multiples of512); verify that. Pass the same per-row available forecast lengths to each member's partial-target mask. Mask teacher loss on rows with any nonfinite member normalization/output; retain the original real-target objective on those rows. The student loss and runtime remain the original E94 neural objective and fixed inference rules, so there is no simultaneous postprocessing-aware-loss change. + +Add coefficient0.5 times a teacher L1 objective: per valid target step,0.5*mean(abs(student_quantiles-teacher_quantiles)) +0.25*abs(student_median-teacher_median); average over the same valid target positions and apply the same context seasonal-error weight, normalized over teacher-valid rows. No coefficient sweep. The real-target objective is unchanged and retains weight1. Teacher targets are constants, with no gradients or updates to teacher weights. All teacher windows come only from the allowed sampler; no validation inputs or labels enter training. + +Compute teacher targets outside the compiled student objective. Student model state/config must retain exactly E94 keys and parameter count; teacher modules must not be registered on the student or enter its optimizer/EMA/checkpoints. Record teacher descriptor and all three checkpoint hashes in training args/lineage, and automatically declare own-teacher pseudo-target generation in sources_used on publication. Archive teacher code and generation code in provenance; deployed inference loads only the student. + +Required checks: zero teacher coefficient reproduces original loss/gradients on identical own-generated fixtures; teacher sign averaging/normalization matches independent raw-member forward passes; teacher parameters remain unchanged and have no gradients; student gradients finite; complete sampler/RNG recovery unchanged; eager/compiled gradient comparison; maximum-shape memory including student EMA/Adam and teacher weights. Initial fixture has zero optimizer updates. Runtime is unchanged random_capacity_inference. + +Potential allocation: queue only after both E99cooldown and E97weekly training finish, using their queue processes/checkpoint dependencies rather than unknown future trainer PIDs. Their released combined memory is sufficient for146M student plus frozen teacher. Watch4/8/16/24k before deciding longer allocation. Do not launch until code, checks, exact recipe declaration and source-lineage handling are complete. + +CPUfixture: {"seed": 487, "seconds": 5.1773834731429815, "teacher_descriptor_sha256": "1503d92ce031ec0c0e0533ece20d0516a0eceb134802d51746e24a44c4b5ee9b", "teacher_parameters": 110064120, "teacher_weights_frozen_bitwise": true, "teacher_gradients_absent": true, "independent_raw_member_average_bitwise": true, "ordinary_normalization_bitwise_same": true, "overflow_teacher_row_excluded_only_from_auxiliary": true, "sign_reflection_equivariant": true, "zero_coefficient_loss_and_gradients_bitwise_control": true, "student_state_keys_unchanged": true, "sampler_code_bitwise_control": true, "all_student_gradients_finite": true, "real_loss": 7.174529552459717, "combined_loss": 7.284832954406738, "optimizer_updates": 0, "validation_data_read": false} +Frozen teacher assets copied to distill_teacher_E96; descriptor unchanged. No student optimizer updates yet. + +## E92 robust normalization final12000 — rejected +- Checkpoint SHA-256: `25be8396d4a8c6ea98c67bca79060c4979a2829661016f0ed51b4e98c897c688`. +- Evaluation: 97 configurations, 9473 instances, 0 failed configurations; 26.238795042037964 seconds. +- Overall skill 0.377099; relative MASE 0.744448; relative WQL 0.521199. +- term skill: long=0.4035, medium=0.4066, short=0.3549. +- domain skill: Econ/Fin=0.1295, Energy=0.2365, Healthcare=0.4448, Nature=0.4270, Sales=0.3471, Transport=0.4672, Web/CloudOps=0.5036. +- frequency skill: A=0.3570, D=0.3466, H=0.3946, M=0.1215, Q=0.1971, S=0.4235, T=0.4392, W=0.2223. +- variates skill: multivariate=0.3955, univariate=0.3620. +- Outcome: Final main0.377099312 is below matched overflow-only E80final0.377423946. The3k main gain did not transfer to any earlier cutoff, and6k/final main also regress. Reject this normalization change; retain ordinary statistics with the overflow-only fallback. Seed197/B64/LR2e-5, no new sources/generator. E97weekly-synthetic run has started in the released allocation. + +E92finalcompute: {"completed_step": 12000, "training_process_loop_seconds": 2692.7444765449036} + +## E79 fresh37M at30000, E99 future matched control +- Checkpoint SHA-256: `7965d1fe4b831143de6280ae873ec61a8024dbb6a14da5dfae1ef58098c33a59`. +- Evaluation: 97 configurations, 9473 instances, 0 failed configurations; 28.895771265029907 seconds. +- Overall skill 0.358564; relative MASE 0.761438; relative WQL 0.540346. +- term skill: long=0.3844, medium=0.3900, short=0.3358. +- domain skill: Econ/Fin=0.1162, Energy=0.2193, Healthcare=0.3709, Nature=0.4110, Sales=0.3395, Transport=0.4511, Web/CloudOps=0.4907. +- frequency skill: A=0.3754, D=0.3312, H=0.3793, M=0.0636, Q=0.1845, S=0.4178, T=0.4155, W=0.2110. +- variates skill: multivariate=0.3768, univariate=0.3436. +- Outcome: Main0.358563990 improves24k0.357901602 by0.000662387 under the original96k schedule. This is the exact global30k control for the separately queued E99cooldown; no E99outcome yet. Seed307/B48/LR2e-4; continue unchanged original schedule. + +## E79 fresh146M at16000 +- Checkpoint SHA-256: `959ff6c885777e971d4ee25729d3406485404a69a0bbfe320959506b180e9e35`. +- Evaluation: 97 configurations, 9473 instances, 0 failed configurations; 39.40332913398743 seconds. +- Overall skill 0.349499; relative MASE 0.768924; relative WQL 0.550316. +- term skill: long=0.3865, medium=0.3939, short=0.3166. +- domain skill: Econ/Fin=0.1199, Energy=0.2111, Healthcare=0.2664, Nature=0.4047, Sales=0.3301, Transport=0.4402, Web/CloudOps=0.4965. +- frequency skill: A=0.3766, D=0.3221, H=0.3700, M=-0.0589, Q=0.1818, S=0.4218, T=0.4156, W=0.1984. +- variates skill: multivariate=0.3768, univariate=0.3269. +- Outcome: Main0.349499286 improves8k0.343979357 but still trails matched37M16k0.355318072. Gap narrows to0.005818787; no capacity advantage established. Same seed307/B48/LR2e-4; continue24k while E94halfLR comparison matures. + +## E95 all-shard source coverage at3000 +- Checkpoint SHA-256: `ed98a18948ae0ad7cc18f1e2eb653f9af6bd6545ad81daa897b167b5ccf529ce`. +- Evaluation: 97 configurations, 9473 instances, 0 failed configurations; 26.239446878433228 seconds. +- Overall skill 0.376742; relative MASE 0.745627; relative WQL 0.520972. +- term skill: long=0.4002, medium=0.4075, short=0.3552. +- domain skill: Econ/Fin=0.1328, Energy=0.2374, Healthcare=0.4444, Nature=0.4331, Sales=0.3350, Transport=0.4645, Web/CloudOps=0.5005. +- frequency skill: A=0.3721, D=0.3540, H=0.3968, M=0.0980, Q=0.1953, S=0.4214, T=0.4362, W=0.2177. +- variates skill: multivariate=0.3948, univariate=0.3620. +- Outcome: Main0.376741687 falls below matched E80at3000 0.378663825, reversing the small1k advantage. Broader uniform source coverage has not shown a sustained benefit in this mature-model continuation. Continue declared6k/12k before any data-mixture conclusion. Seed197/B64/LR2e-5, nearly matched packed volume and identical source probabilities. + +E98 complete original E75 schedule training started at 2026-10-23T05:11:48Z, after the preceding trainer exited with its final checkpoint. Settings are unchanged from the declared comparison. + +E101GPUfixture: {"initialization_seed": 307, "fixture_seed": 491, "optimizer_updates": 0, "maximum_shape_memory": {"batch": 48, "signed_rows": 96, "context": 4096, "horizon": 1024, "student_parameters": 146477344, "teacher_parameters": 110064120, "loss": 0.7845079898834229, "teacher_valid_fraction": 1.0, "peak_allocated_mib": 10583.0390625, "peak_reserved_mib": 11116.0}, "eager_loss": 0.3347933888435364, "compiled_loss": 0.3347933888435364, "gradient_cosine": 0.9999896108063672, "max_gradient_difference": 6.866455078125e-05, "teacher_gradients_absent": true, "compile_comparison_seconds": 54.64838738180697, "total_seconds": 79.89753107703291, "source": "allowed packed_sample and own slowAR generator only; frozen scratch-trained E96 neural teacher"} +Checks passed, zero optimizer updates. E101nowqueued after E99queuePID10701 and E97queuePID10513 both end, requiring their saved recovery checkpoints. These are dependency-launcher PIDs, not unknown future trainer PIDs. Exact recipe/command in distill_ensemble_queue.json; immutable teacher package distill_teacher_E96. Compare E94real-target-only at matching checkpoints. Student inference uses unchanged random_capacity_inference and contains no teacher dependency. + +## E93 input8/output4 final12000 +- Checkpoint SHA-256: `1a2fb20a9fb5cae6526f2e36ea47559626bece78fd9c284899836505030ae9fe`. +- Evaluation: 97 configurations, 9473 instances, 0 failed configurations; 35.806113958358765 seconds. +- Overall skill 0.381712; relative MASE 0.740742; relative WQL 0.516077. +- term skill: long=0.4058, medium=0.4052, short=0.3629. +- domain skill: Econ/Fin=0.1468, Energy=0.2396, Healthcare=0.4600, Nature=0.4409, Sales=0.3373, Transport=0.4706, Web/CloudOps=0.5017. +- frequency skill: A=0.3633, D=0.3624, H=0.3942, M=0.1027, Q=0.1968, S=0.4248, T=0.4434, W=0.2445. +- variates skill: multivariate=0.3961, univariate=0.3700. +- Outcome: Final main0.381711986 exceeds matched E89patch8control12k0.380847096 and starting selected E71parent0.381178739. The smaller output blocks help at the final schedule; check all three earlier cutoffs and matched fullpatch4 final before any selection or architectural conclusion. Training loop3153.565149s, sharedH100; seed401/B32/LR2e-5, unchanged generator. E98exactpostloss completion started in the released allocation. + +## E97 weekly synthetic coverage first1000 +- Checkpoint SHA-256: `abd335075c429adc73f20e1e291146903a767a3e5c5a52669768863d5585031a`. +- Evaluation: 97 configurations, 9473 instances, 0 failed configurations; 26.452547311782837 seconds. +- Overall skill 0.378319; relative MASE 0.743092; relative WQL 0.520107. +- term skill: long=0.3993, medium=0.4061, short=0.3590. +- domain skill: Econ/Fin=0.1270, Energy=0.2360, Healthcare=0.4896, Nature=0.4309, Sales=0.3352, Transport=0.4671, Web/CloudOps=0.4981. +- frequency skill: A=0.3664, D=0.3562, H=0.3957, M=0.1213, Q=0.1976, S=0.4232, T=0.4346, W=0.2365. +- variates skill: multivariate=0.3927, univariate=0.3666. +- Outcome: Main0.378319040 exceeds matched E80at1000 0.376804394 by0.001514645. Monthly skill rises0.10610to0.12127 and weekly0.22573to0.23646; most overall gain is short-term. Original real and unchanged synthetic windows/RNG remain bitwise matched. Continue3k/6k/12k before selection. Seed197/B64/LR2e-5, independentweeklyseed1000200, total20%synthetic unchanged. + +## E94 fresh146M halfLR at8000 +- Checkpoint SHA-256: `650a1a4177cae63f3ceab8a2255fbd2f9d281a7e83e8d380a34bb956bd690884`. +- Evaluation: 97 configurations, 9473 instances, 0 failed configurations; 38.053096294403076 seconds. +- Overall skill 0.347153; relative MASE 0.771841; relative WQL 0.552198. +- term skill: long=0.3712, medium=0.3767, short=0.3259. +- domain skill: Econ/Fin=0.1161, Energy=0.2093, Healthcare=0.3516, Nature=0.4137, Sales=0.3243, Transport=0.4423, Web/CloudOps=0.4676. +- frequency skill: A=0.3714, D=0.3436, H=0.3637, M=0.0157, Q=0.1571, S=0.4182, T=0.3966, W=0.2130. +- variates skill: multivariate=0.3599, univariate=0.3368. +- Outcome: Main0.347153427 beats matched high-LR146M8k0.343979357, but remains below37M8k0.353508836. The rate benefit persists but shrinks versus4k; continue16k/24k before choosing a larger-corpus fresh recipe. Same owninit/seed307/B48/96k, only LR differs from E79wide. + +## E102 fixed E96 third-member replacement with E93final — predeclared +Replace only the fullpatch4 EMA6000 member with split input8/output4 EMA12000. Retain E83patch16 and E71patch8_6000, ordered equal1/3 quantile averaging after each unchanged member rule. Every member forecasts every instance. No new optimization, no coefficient sweep or configuration-specific selection. Compare all four established cached cutoffs, requiring full public replay and relocation/composition checks before publication. E93final individual main0.381711986 exceeds its control and parent; earlier cutoffs are currently running. The E101teacher remains the immutable E96 ensemble regardless of this selection result. + +E99 fresh37M early cooldown training started at 2026-10-23T05:15:29Z, after the preceding trainer exited with its final checkpoint. Settings are unchanged from the declared comparison. + +## E89 fullpatch4 final12000 +- Checkpoint SHA-256: `a263e545cafb309e8b22dde151e6a8bd37166e1db346170ad7bd33f4a11cd6a3`. +- Evaluation: 97 configurations, 9473 instances, 0 failed configurations; 51.19871735572815 seconds. +- Overall skill 0.381640; relative MASE 0.741276; relative WQL 0.515825. +- term skill: long=0.4055, medium=0.4047, short=0.3631. +- domain skill: Econ/Fin=0.1486, Energy=0.2408, Healthcare=0.4740, Nature=0.4424, Sales=0.3396, Transport=0.4680, Web/CloudOps=0.4971. +- frequency skill: A=0.3603, D=0.3552, H=0.3960, M=0.1392, Q=0.2025, S=0.4227, T=0.4401, W=0.2492. +- variates skill: multivariate=0.3948, univariate=0.3709. +- Outcome: Final main0.381640078 exceeds matched patch8control0.380847096, essentially ties the cheaper E93input8/output4 final0.381711986, and exceeds selected starting E71parent0.381178739. Training loop5066.016522s on sharedH100, seed401/B32/LR2e-5; actual memory advantage of E93 is supported by maximum-shape checks, while process timings are concurrent rather than exclusive. Evaluate all three earlier cutoffs before choosing a replacement for E96thirdmember. E99cooldown starts in the released allocation. + +## E103 fixed E96 third-member replacement with E89final — predeclared +Test the completed fullpatch4 EMA12000 as the third member, retaining E83patch16/E71patch8 and equal1/3 quantile averaging with unchanged per-member rules. This is the counterpart to E102splitpatch-final replacement, motivated by the near-tie of the matched architecture continuations at12k. No coefficient or per-config choice; every member forecasts every instance. Compare all four cached cutoffs against E96/E102 before selecting the next full replay. No additional optimizer updates. + +Recovery-provenance maintenance: trainer now carries immutable external resume snapshots in parent_checkpoints across subsequent restarts from a run's own mutable recovery.pt. This preserves E98/E99prefix ancestry after another operator recovery and avoids linking mutable source-run recovery files. Metadata only, no training arithmetic changed. CURRENT snapshots now explicitly record the known compiler environment for compiled jobs, including those whose launchers passed it via subprocess environment rather than an env command prefix. No credentials were read. + +### E102 four-cutoff replacement results +{"cutoff": "valid_screen", "skill_score": 0.38490788212550675, "rel_mase_gmean": 0.7369849187976256, "rel_wql_gmean": 0.5133596411831329, "groups": {"term": {"short": 0.3670856470642414, "medium": 0.4084718855262034, "long": 0.40650615955402314}, "domain": {"Econ/Fin": 0.1435289463184154, "Energy": 0.2468980568665663, "Healthcare": 0.4746000842796365, "Nature": 0.44061471938672714, "Sales": 0.3438839562187085, "Transport": 0.4681588575437192, "Web/CloudOps": 0.5046164356104859}, "freq": {"A-DEC": 0.37543835684208393, "Q-DEC": 0.19718024023430158, "M": 0.10850755704828396, "W-SUN": 0.10914931929038174, "D": 0.364713649661322, "H": 0.40088295006065944, "15T": 0.21696396975859744, "W-FRI": 0.016303274872958684, "10T": 0.6274098133659913, "W-TUE": 0.6163821514248893, "W-THU": 0.20854279501175432, "W-WED": 0.32935722968495507, "5T": 0.5196886329209323, "10S": 0.42527389349857736}}, "cpu_seconds": 1.1513165449723601, "member_checkpoint_hashes": ["0ae7875b49b99a44c295dc2b8243327aeacadc25b2354988abb2c37250359a49", "308389b7217c080af9eb185559d4ee3cafa0f3e0f8c4dd8f5526b68198c89988", "1a2fb20a9fb5cae6526f2e36ea47559626bece78fd9c284899836505030ae9fe"], "E96skill": 0.384594982171353, "difference": 0.0003128999541537336} +{"cutoff": "valid_backcast", "skill_score": 0.3397943577904946, "rel_mase_gmean": 0.7942938342926791, "rel_wql_gmean": 0.5487534602272348, "groups": {"term": {"short": 0.3060609208737005, "medium": 0.36022438378162913, "long": 0.40207177797998805}, "domain": {"Econ/Fin": 0.17314936720715002, "Energy": 0.2319064310330724, "Healthcare": 0.40898749701599635, "Nature": 0.3714427052655884, "Sales": 0.4054545766888219, "Transport": 0.37346761267845907, "Web/CloudOps": 0.4512796397157435}, "freq": {"A-DEC": 0.32636255116793356, "Q-DEC": 0.2369053047170233, "M": 0.1881408754401731, "W-SUN": 0.05514520346862939, "D": 0.35254747200062386, "H": 0.37162220001802326, "15T": 0.2225810499701737, "W-FRI": 0.23076747912755158, "10T": 0.32531767521178967, "W-TUE": 0.5449536336522042, "W-THU": 0.2550583257373391, "W-WED": 0.36148774693113794, "5T": 0.441771392840713, "10S": 0.34781169339869}}, "cpu_seconds": 0.9792960570193827, "member_checkpoint_hashes": ["0ae7875b49b99a44c295dc2b8243327aeacadc25b2354988abb2c37250359a49", "308389b7217c080af9eb185559d4ee3cafa0f3e0f8c4dd8f5526b68198c89988", "1a2fb20a9fb5cae6526f2e36ea47559626bece78fd9c284899836505030ae9fe"], "E96skill": 0.33975008510701665, "difference": 4.427268347795277e-05} +{"cutoff": "valid_backcast2", "skill_score": 0.3650870167535245, "rel_mase_gmean": 0.7649173761305604, "rel_wql_gmean": 0.527003973075039, "groups": {"term": {"short": 0.3525196178413804, "medium": 0.3930479998451024, "long": 0.3688394487554716}, "domain": {"Econ/Fin": 0.12187550267974279, "Energy": 0.24171273109616453, "Healthcare": 0.3558210371956918, "Nature": 0.4786187053429537, "Sales": 0.5559745534466993, "Transport": 0.42514365668969034, "Web/CloudOps": 0.4369290048270271}, "freq": {"A-DEC": 0.3369941826448156, "Q-DEC": 0.15634597829751584, "M": 0.16659776433783968, "W-SUN": 0.07034227201826782, "D": 0.4307838193118658, "H": 0.3947195332904091, "15T": 0.10843788342786231, "W-FRI": 0.15292520112219465, "10T": 0.5097026958567001, "W-TUE": 0.1163232645897253, "W-THU": 0.349832844039044, "W-WED": 0.5634413265331784, "5T": 0.4725475721543746, "10S": 0.2849619587969022}}, "cpu_seconds": 1.3131735338829458, "member_checkpoint_hashes": ["0ae7875b49b99a44c295dc2b8243327aeacadc25b2354988abb2c37250359a49", "308389b7217c080af9eb185559d4ee3cafa0f3e0f8c4dd8f5526b68198c89988", "1a2fb20a9fb5cae6526f2e36ea47559626bece78fd9c284899836505030ae9fe"], "E96skill": 0.36472017597795625, "difference": 0.00036684077556825567} +{"cutoff": "valid_backcast3", "skill_score": 0.38962589808404846, "rel_mase_gmean": 0.7393031561148107, "rel_wql_gmean": 0.5039293302189662, "groups": {"term": {"short": 0.3950146881429296, "medium": 0.3683351816334438, "long": 0.3962356024661119}, "domain": {"Econ/Fin": 0.1866323514229733, "Energy": 0.31708138786412254, "Healthcare": 0.2340457735690984, "Nature": 0.5075633858787092, "Sales": 0.3999844088004907, "Transport": 0.5091845709202749, "Web/CloudOps": 0.3939387141464573}, "freq": {"A-DEC": 0.35740138324250814, "Q-DEC": 0.2545638826926907, "M": 0.14196420345262517, "W-SUN": 0.1692422167486961, "D": 0.44092551174968075, "H": 0.4060276831713958, "15T": 0.2544847257167575, "W-FRI": 0.03945021050804143, "10T": 0.6073743483329828, "W-TUE": 0.25124832856283164, "W-THU": 0.3470992258549631, "W-WED": 0.3775958266712779, "5T": 0.46513388285277635, "10S": 0.29273333259972834}}, "cpu_seconds": 0.9749888752121478, "member_checkpoint_hashes": ["0ae7875b49b99a44c295dc2b8243327aeacadc25b2354988abb2c37250359a49", "308389b7217c080af9eb185559d4ee3cafa0f3e0f8c4dd8f5526b68198c89988", "1a2fb20a9fb5cae6526f2e36ea47559626bece78fd9c284899836505030ae9fe"], "E96skill": 0.389238119545644, "difference": 0.00038777853840443743} + +### E103 four-cutoff replacement results +{"cutoff": "valid_screen", "skill_score": 0.38500541763348517, "rel_mase_gmean": 0.7370491942191689, "rel_wql_gmean": 0.5131520925694101, "groups": {"term": {"short": 0.36722493789915567, "medium": 0.40845783827201154, "long": 0.4066128546537624}, "domain": {"Econ/Fin": 0.14488968734284446, "Energy": 0.2473756772173874, "Healthcare": 0.4777300437443104, "Nature": 0.4411115514129288, "Sales": 0.3448077959265311, "Transport": 0.46774095296357987, "Web/CloudOps": 0.5033387584756153}, "freq": {"A-DEC": 0.37541665630455645, "Q-DEC": 0.19911678292032942, "M": 0.11881300866622979, "W-SUN": 0.1096477052731838, "D": 0.362528588146091, "H": 0.4015705047657928, "15T": 0.21804762920144782, "W-FRI": 0.016363727924622262, "10T": 0.6271485862780906, "W-TUE": 0.6209733756670539, "W-THU": 0.20999017480896343, "W-WED": 0.3297749874361884, "5T": 0.5175349566789766, "10S": 0.42462313787098094}}, "cpu_seconds": 1.0732698428910226, "member_checkpoint_hashes": ["0ae7875b49b99a44c295dc2b8243327aeacadc25b2354988abb2c37250359a49", "308389b7217c080af9eb185559d4ee3cafa0f3e0f8c4dd8f5526b68198c89988", "a263e545cafb309e8b22dde151e6a8bd37166e1db346170ad7bd33f4a11cd6a3"], "E96skill": 0.384594982171353, "difference": 0.00041043546213215265} +{"cutoff": "valid_backcast", "skill_score": 0.3398214546118604, "rel_mase_gmean": 0.7942044163673427, "rel_wql_gmean": 0.5487701941828703, "groups": {"term": {"short": 0.305847769661334, "medium": 0.3615040967825627, "long": 0.40146856729517433}, "domain": {"Econ/Fin": 0.17464373027255042, "Energy": 0.23108171914379005, "Healthcare": 0.41082426569988595, "Nature": 0.3718443434112704, "Sales": 0.40646820364012926, "Transport": 0.3728762819285243, "Web/CloudOps": 0.4515441161888809}, "freq": {"A-DEC": 0.32427594695442885, "Q-DEC": 0.23945276396724646, "M": 0.19719617479508833, "W-SUN": 0.052844558516275786, "D": 0.35260466772957, "H": 0.3721367040211806, "15T": 0.2223065777034271, "W-FRI": 0.22845992938029724, "10T": 0.3234396022330981, "W-TUE": 0.5459245154169383, "W-THU": 0.24711082469129164, "W-WED": 0.36312061525273154, "5T": 0.4404099962380955, "10S": 0.3485327044406994}}, "cpu_seconds": 0.9945498188026249, "member_checkpoint_hashes": ["0ae7875b49b99a44c295dc2b8243327aeacadc25b2354988abb2c37250359a49", "308389b7217c080af9eb185559d4ee3cafa0f3e0f8c4dd8f5526b68198c89988", "a263e545cafb309e8b22dde151e6a8bd37166e1db346170ad7bd33f4a11cd6a3"], "E96skill": 0.33975008510701665, "difference": 7.13695048437657e-05} +{"cutoff": "valid_backcast2", "skill_score": 0.3647180336171173, "rel_mase_gmean": 0.7654029032858002, "rel_wql_gmean": 0.5272820041297973, "groups": {"term": {"short": 0.3518878749308295, "medium": 0.3927580540668256, "long": 0.3691077522689188}, "domain": {"Econ/Fin": 0.12218990276622621, "Energy": 0.24251138907504843, "Healthcare": 0.34933847363414383, "Nature": 0.4781212829897, "Sales": 0.55694372735719, "Transport": 0.4243899770061409, "Web/CloudOps": 0.43650428576145894}, "freq": {"A-DEC": 0.33629748314335295, "Q-DEC": 0.1560373253956937, "M": 0.16237816345656342, "W-SUN": 0.07189010798504825, "D": 0.43022756178029165, "H": 0.39543965655443114, "15T": 0.10619855263453626, "W-FRI": 0.15256288862137302, "10T": 0.5099262713842705, "W-TUE": 0.11275167806759523, "W-THU": 0.3476561865337633, "W-WED": 0.565409644514056, "5T": 0.4712731877671763, "10S": 0.2859728774327921}}, "cpu_seconds": 0.9891702111344784, "member_checkpoint_hashes": ["0ae7875b49b99a44c295dc2b8243327aeacadc25b2354988abb2c37250359a49", "308389b7217c080af9eb185559d4ee3cafa0f3e0f8c4dd8f5526b68198c89988", "a263e545cafb309e8b22dde151e6a8bd37166e1db346170ad7bd33f4a11cd6a3"], "E96skill": 0.36472017597795625, "difference": -2.142360838952584e-06} +{"cutoff": "valid_backcast3", "skill_score": 0.38952531921448574, "rel_mase_gmean": 0.7397344287798532, "rel_wql_gmean": 0.5038015284686523, "groups": {"term": {"short": 0.39470492326109163, "medium": 0.3679378045902095, "long": 0.39702622151428124}, "domain": {"Econ/Fin": 0.18635232828843817, "Energy": 0.3167555032477224, "Healthcare": 0.2321529881554648, "Nature": 0.5080109601079104, "Sales": 0.40020731613048277, "Transport": 0.5096409724474877, "Web/CloudOps": 0.3934863582665823}, "freq": {"A-DEC": 0.34966366686932726, "Q-DEC": 0.25774901005566275, "M": 0.13921842550571784, "W-SUN": 0.1678888068666432, "D": 0.4412824281729495, "H": 0.40605210717475726, "15T": 0.2556303886920226, "W-FRI": 0.03145225561173515, "10T": 0.6068260917454812, "W-TUE": 0.2595682801406983, "W-THU": 0.3474528636749996, "W-WED": 0.3763281957599267, "5T": 0.4644139584813969, "10S": 0.29384233335279064}}, "cpu_seconds": 1.3381098771933466, "member_checkpoint_hashes": ["0ae7875b49b99a44c295dc2b8243327aeacadc25b2354988abb2c37250359a49", "308389b7217c080af9eb185559d4ee3cafa0f3e0f8c4dd8f5526b68198c89988", "a263e545cafb309e8b22dde151e6a8bd37166e1db346170ad7bd33f4a11cd6a3"], "E96skill": 0.389238119545644, "difference": 0.00028719966884172} +Next full replay: E102 improves all four cutoffs and has the cheaper input8 encoder. E103 is slightly stronger on main/first earlier but weaker thanE102 onsecond/third; secondearlier effectivelyties E96. E103is retained as a cached alternative, without a claimed full-suite result. No new optimizer updates in either ensemble composition. + +## E97 weekly synthetic coverage at3000 +- Checkpoint SHA-256: `a5619c3da9cb9049d92c9582e7fd74dea3e3d474bf5cf8499522e739cd202305`. +- Evaluation: 97 configurations, 9473 instances, 0 failed configurations; 26.279794216156006 seconds. +- Overall skill 0.380663; relative MASE 0.740647; relative WQL 0.517896. +- term skill: long=0.4025, medium=0.4068, short=0.3617. +- domain skill: Econ/Fin=0.1317, Energy=0.2379, Healthcare=0.4904, Nature=0.4332, Sales=0.3335, Transport=0.4661, Web/CloudOps=0.5036. +- frequency skill: A=0.3690, D=0.3546, H=0.3977, M=0.1269, Q=0.1964, S=0.4224, T=0.4386, W=0.2419. +- variates skill: multivariate=0.3970, univariate=0.3674. +- Outcome: Main0.380663183 exceeds matched E80at3000 0.378663825 by0.001999358, sustaining the1k gain. Earlier cutoffs are now running; no independent-model publication yet. Seed197/B64/LR2e-5, exact original real/non-replaced synthetic streams preserved, weekly replacement1/11 of20%synthetic. + +## E104 transfer the matched weekly-synthesis correction — predeclared +Hypothesis: E97weekly3000 minus E80overflow-control3000 isolates the new weekly synthetic coverage and can improve E83, while retaining E83postprocessing-aware and slowAR contributions. Apply exactly coefficient1: E83postloss_slow_ar_delta6k + E97weekly_synthEMA3000 - E80overflow_controlEMA3000. All model keys/configurations align; all weights were trained here on allowed data, with the delta pair sharing seed197/B64/LR2e-5 and original sampler/horizon streams. No coefficient sweep or optimizer updates. E97earlier results are not yet available at declaration. Evaluate the fixed composition at all four cutoffs and then its fixed equal1/3 ensemble with E71patch8_6000 and E93splitpatch_12000, replacing only E102firstmember. Use unchanged postloss_inference numerical fallback and fixed rules. This is a predictive composition test, with full public replay/checks required for any publication. E101teacher remains frozen E96. + +## E93 split patch final earlier cutoff1 +- Checkpoint SHA-256: `1a2fb20a9fb5cae6526f2e36ea47559626bece78fd9c284899836505030ae9fe`. +- Evaluation: 97 configurations, 9330 instances, 0 failed configurations; 35.36992645263672 seconds. +- Overall skill 0.336872; relative MASE 0.797481; relative WQL 0.551410. +- term skill: long=0.4020, medium=0.3579, short=0.3016. +- domain skill: Econ/Fin=0.1748, Energy=0.2280, Healthcare=0.3931, Nature=0.3699, Sales=0.4068, Transport=0.3691, Web/CloudOps=0.4509. +- frequency skill: A=0.3160, D=0.3464, H=0.3726, M=0.1800, Q=0.2360, S=0.3514, T=0.3341, W=0.2756. +- variates skill: multivariate=0.3569, univariate=0.3205. +- Outcome: Fixed final12000 checkpoint, seed401/B32/LR2e-5. Used for the predeclared equal-member replacement comparison E102/E103; validation only, no further optimizer updates. + +## E93 split patch final earlier cutoff2 +- Checkpoint SHA-256: `1a2fb20a9fb5cae6526f2e36ea47559626bece78fd9c284899836505030ae9fe`. +- Evaluation: 94 configurations, 8934 instances, 0 failed configurations; 31.873882293701172 seconds. +- Overall skill 0.361104; relative MASE 0.770556; relative WQL 0.529731. +- term skill: long=0.3665, medium=0.3913, short=0.3470. +- domain skill: Econ/Fin=0.1207, Energy=0.2377, Healthcare=0.3430, Nature=0.4729, Sales=0.5545, Transport=0.4214, Web/CloudOps=0.4356. +- frequency skill: A=0.3185, D=0.4195, H=0.3908, M=0.1553, Q=0.1616, S=0.2820, T=0.3625, W=0.2958. +- variates skill: multivariate=0.3609, univariate=0.3613. +- Outcome: Fixed final12000 checkpoint, seed401/B32/LR2e-5. Used for the predeclared equal-member replacement comparison E102/E103; validation only, no further optimizer updates. + +## E93 split patch final earlier cutoff3 +- Checkpoint SHA-256: `1a2fb20a9fb5cae6526f2e36ea47559626bece78fd9c284899836505030ae9fe`. +- Evaluation: 93 configurations, 8812 instances, 0 failed configurations; 33.14549136161804 seconds. +- Overall skill 0.385555; relative MASE 0.745119; relative WQL 0.506687. +- term skill: long=0.3946, medium=0.3685, short=0.3886. +- domain skill: Econ/Fin=0.1861, Energy=0.3097, Healthcare=0.2354, Nature=0.5014, Sales=0.3950, Transport=0.5057, Web/CloudOps=0.3950. +- frequency skill: A=0.3543, D=0.4270, H=0.4025, M=0.1610, Q=0.2496, S=0.2977, T=0.4286, W=0.2436. +- variates skill: multivariate=0.3696, univariate=0.3979. +- Outcome: Fixed final12000 checkpoint, seed401/B32/LR2e-5. Used for the predeclared equal-member replacement comparison E102/E103; validation only, no further optimizer updates. + +## E89 full patch4 final earlier cutoff1 +- Checkpoint SHA-256: `a263e545cafb309e8b22dde151e6a8bd37166e1db346170ad7bd33f4a11cd6a3`. +- Evaluation: 97 configurations, 9330 instances, 0 failed configurations; 55.011173486709595 seconds. +- Overall skill 0.336345; relative MASE 0.797972; relative WQL 0.551947. +- term skill: long=0.3997, medium=0.3611, short=0.3004. +- domain skill: Econ/Fin=0.1781, Energy=0.2248, Healthcare=0.3992, Nature=0.3709, Sales=0.4088, Transport=0.3668, Web/CloudOps=0.4509. +- frequency skill: A=0.3067, D=0.3457, H=0.3740, M=0.2061, Q=0.2429, S=0.3533, T=0.3298, W=0.2654. +- variates skill: multivariate=0.3532, univariate=0.3226. +- Outcome: Fixed final12000 checkpoint, seed401/B32/LR2e-5. Used for the predeclared equal-member replacement comparison E102/E103; validation only, no further optimizer updates. + +## E89 full patch4 final earlier cutoff2 +- Checkpoint SHA-256: `a263e545cafb309e8b22dde151e6a8bd37166e1db346170ad7bd33f4a11cd6a3`. +- Evaluation: 94 configurations, 8934 instances, 0 failed configurations; 54.35282373428345 seconds. +- Overall skill 0.359845; relative MASE 0.771620; relative WQL 0.531089. +- term skill: long=0.3668, medium=0.3902, short=0.3451. +- domain skill: Econ/Fin=0.1192, Energy=0.2393, Healthcare=0.3219, Nature=0.4739, Sales=0.5564, Transport=0.4186, Web/CloudOps=0.4338. +- frequency skill: A=0.3129, D=0.4161, H=0.3924, M=0.1622, Q=0.1597, S=0.2850, T=0.3585, W=0.2927. +- variates skill: multivariate=0.3606, univariate=0.3592. +- Outcome: Fixed final12000 checkpoint, seed401/B32/LR2e-5. Used for the predeclared equal-member replacement comparison E102/E103; validation only, no further optimizer updates. + +## E89 full patch4 final earlier cutoff3 +- Checkpoint SHA-256: `a263e545cafb309e8b22dde151e6a8bd37166e1db346170ad7bd33f4a11cd6a3`. +- Evaluation: 93 configurations, 8812 instances, 0 failed configurations; 54.33600902557373 seconds. +- Overall skill 0.384241; relative MASE 0.747472; relative WQL 0.507256. +- term skill: long=0.3960, medium=0.3667, short=0.3865. +- domain skill: Econ/Fin=0.1847, Energy=0.3079, Healthcare=0.2301, Nature=0.5006, Sales=0.3948, Transport=0.5062, Web/CloudOps=0.3930. +- frequency skill: A=0.3322, D=0.4254, H=0.4016, M=0.1568, Q=0.2587, S=0.3002, T=0.4273, W=0.2401. +- variates skill: multivariate=0.3670, univariate=0.3975. +- Outcome: Fixed final12000 checkpoint, seed401/B32/LR2e-5. Used for the predeclared equal-member replacement comparison E102/E103; validation only, no further optimizer updates. + +## E95 all-shard coverage at6000 +- Checkpoint SHA-256: `78a3c47718545643662029245141e6d39e64cf0853d2502f20222123ce3cd5c7`. +- Evaluation: 97 configurations, 9473 instances, 0 failed configurations; 25.874247789382935 seconds. +- Overall skill 0.376043; relative MASE 0.746531; relative WQL 0.521508. +- term skill: long=0.4012, medium=0.4068, short=0.3538. +- domain skill: Econ/Fin=0.1318, Energy=0.2380, Healthcare=0.4414, Nature=0.4294, Sales=0.3318, Transport=0.4670, Web/CloudOps=0.4991. +- frequency skill: A=0.3714, D=0.3507, H=0.3948, M=0.0936, Q=0.1963, S=0.4213, T=0.4386, W=0.2145. +- variates skill: multivariate=0.3939, univariate=0.3614. +- Outcome: Skill0.376043220 falls below matched E80control6000 0.378288765. Continue the declared12000 schedule; broader coverage at fixed volume has not improved the mature model. + +## E98 original postloss schedule at6000 +- Checkpoint SHA-256: `7f1a2200b0f6a2cd63a378b001010e4a4a9776eba76c800ee1d61c23fc8bf9cb`. +- Evaluation: 97 configurations, 9473 instances, 0 failed configurations; 25.866560697555542 seconds. +- Overall skill 0.377594; relative MASE 0.744160; relative WQL 0.520572. +- term skill: long=0.4019, medium=0.4066, short=0.3564. +- domain skill: Econ/Fin=0.1081, Energy=0.2440, Healthcare=0.4585, Nature=0.4289, Sales=0.3383, Transport=0.4638, Web/CloudOps=0.5007. +- frequency skill: A=0.3681, D=0.3493, H=0.3983, M=0.0713, Q=0.1895, S=0.4227, T=0.4403, W=0.2264. +- variates skill: multivariate=0.3955, univariate=0.3630. +- Outcome: Exact optimizer/RNG continuation from originalE75step3653; no reset. Skill0.377594313 is below E75at3000 0.378813891 and E80at6000 0.378288765. Continue to predeclared12000; no checkpoint replacement. + +## E79 fresh37M original schedule at36000 +- Checkpoint SHA-256: `06778302f2e405ecd30fd00407523d03be8756c7a6029c38a26360cbeb98becf`. +- Evaluation: 97 configurations, 9473 instances, 0 failed configurations; 29.79560947418213 seconds. +- Overall skill 0.364859; relative MASE 0.756433; relative WQL 0.533298. +- term skill: long=0.3873, medium=0.3910, short=0.3457. +- domain skill: Econ/Fin=0.1266, Energy=0.2248, Healthcare=0.4265, Nature=0.4125, Sales=0.3402, Transport=0.4559, Web/CloudOps=0.4912. +- frequency skill: A=0.3896, D=0.3497, H=0.3830, M=0.0639, Q=0.1985, S=0.4187, T=0.4195, W=0.2201. +- variates skill: multivariate=0.3809, univariate=0.3518. +- Outcome: Original96k schedule control, seed307/B48/LR2e-4. Skill0.364859034 improves on30k0.358563990; compare E99cooldown at the same step when available. + +## E105 nested corpus volume at fixed source probabilities — predeclared +Hypothesis: the mature model may benefit from more distinct allowed series beyond the all-shard coverage change. Compare against E95 using the exactly nested packed_stratified_large instead of packed_stratified. Source probabilities stay bitwise those of packed_sample, all95directories, all model/optimizer/EMA/horizon settings unchanged: ownE62initial SHA22c08571978be31ba57368eb983089a40a44d56d4ae5e17da41afd2a761a258c, seed197/B64/LR2e-5/12000steps, paired loss, overflow_control code, postloss_inference runtime. Per-directory softcap192M versus24M points; total5,354,822,975points/1,059,868series versus952,527,771points/342,661series. Same global series order and per-series crop rules, exact binary/record prefix checked for all95dirs. stratified_large_audit.json replays260actualseries and verifies source probabilities, seed461,19.984999CPU seconds,0optimizerupdates/no validationreads. More series changes the sampler trajectory; this is a single-seed volume comparison, not identical sampled rows. E95at6000 currently trails E80; E105 tests whether volume recovers that deficit. Queue after E95 in its allocation. Screens1000/3000/6000/12000; earlier cutoffs and full replay required before publication. No added training data sources or new generator. + +## E106 spectral smoothness prior in synthetic residuals — preparation +Hypothesis: the original white/AR1 synthetic residuals underrepresent smooth stochastic changes. Replace only the noise residual in half of synthetic windows (total synthetic share unchanged20%) with a unit-marginal-variance stationary Gaussian draw generated here by FFT. Equal kernel-family prior: Matérn nu0.5/1.5/2.5 or squared-exponential; length scale10**U(0,4) steps. Generate a periodic FFT field of next-power-of-two length at least4times the window and keep its prefix; normalize by theoretical spectral variance, never by realized future values. Keep the original Fourier components, trend, changepoint, intermittent and positivity transforms, periods and observed masks. Always consume the original residual RNG before replacement; independent spectral seed1100200 preserves the full original sampler/horizon streams and all non-replaced rows. This differs from E14's multi-family whole-series replacement and E78's four-AR-component sum. Comparator E80: ownE62initial SHA22c08571978be31ba57368eb983089a40a44d56d4ae5e17da41afd2a761a258c, seed197/B64/LR2e-5/12000steps, paired loss, oldpacked_sample/sourceweights, overflow-safe model unchanged. CPU distribution/RNG checks required before launch; no validation in generator or training. Queue after E98 when checks pass. Screen1000/3000/6000/12000 and earlier cutoffs for promising checkpoints; no coefficient sweep. +E106 CPU audit passed: seed499,7680paired candidate/control windows,1535synthetic rows,743spectral replacements. All non-replaced rows, period labels, finite masks and original/horizon RNG states are bitwise unchanged; saving/restoring all NumPy states replays the next batch exactly. Model file byte-identical toE80 SHA44eeb23c037e91b8f67e432615ce46540a7ac4242919785f9c4218de23121499. Four kernel-family empirical variances/autocovariances over1024draws each match their declared discrete spectral covariances within0.005 (tolerance0.045); extreme length scales1/10000 and window lengths8/40/5120 remain finite. Sampler comparison4.179206CPU seconds,total4.517388seconds,0optimizerupdates/no validationread. Receipt spectral_synth_checks.json. Queued after E98queue10664; full training metadata and publisher generator provenance added. + +## E102 split-patch replacement full public replay +- Checkpoint SHA-256: `2dedb7fd1052bf72a38fc005cc8c89f65d42a50260830de0f0efbb5f16a30b4f`. +- Evaluation: 97 configurations, 151170 instances, 0 failed configurations; not separately timed seconds. +- Overall skill 0.381163; relative MASE 0.739673; relative WQL 0.517741. +- term skill: long=0.4007, medium=0.4074, short=0.3631. +- domain skill: Econ/Fin=0.1245, Energy=0.2404, Healthcare=0.4799, Nature=0.4407, Sales=0.3581, Transport=0.4683, Web/CloudOps=0.4964. +- frequency skill: A=0.2968, D=0.3691, H=0.3956, M=0.1343, Q=0.1868, S=0.4253, T=0.4379, W=0.2354. +- variates skill: multivariate=0.3952, univariate=0.3698. +- Outcome: Fixed equal1/3 ensemble E83patch16/E71patch8_6000/E93input8output4_12000. Full skill0.38116304998662165 exceeds E96full0.3807214453622526 by0.00044160462436904; zero failures across97configurations/151170instances. Inference358.197612shared-H100 seconds. Relocation already bitwise; independent component/composition checks pending before atomic publication. Validation selection only; no held-out reward claim. + +E102 final checks all passed before publication: split_ensemble_validation_receipt.json completes allfive steps in510.069582wall seconds including lock waits. Public inference358.197612seconds. Relocated three-example inference is bitwise identical/finite/ordered,31.745146seconds. Independent public third-member replay plus orderedfloat32 component mean exactly match bundled output for three complete actual configurations; see split_patch_composition_replay.json and split_ensemble_composition_checks.json. Descriptor2dedb7fd1052bf72a38fc005cc8c89f65d42a50260830de0f0efbb5f16a30b4f;110,068,216parameters. Selected for atomic publication over E96. Allfour diagnostic cutoffs improve; full-term skills long0.400651,medium0.407396,short0.363109. Descriptive group/config comparison and cluster bootstrap saved in split_ensemble_comparison.json; no held-out significance claim. E101teacher remains immutable E96. + +## E107 learned use of sixteen-cycle centered seasonal summaries — preparation +Hypothesis: within the existing4096-point context, averaging more observed cycles can reduce phase-pattern noise, while centering each cycle prevents old levels from biasing the forecast. Add fixed context features for each of the two existing frequency periods: the16cycle-minus4cycle mean of cycle-centered phase observations and the16cycle support fraction. Enable a phase only with at least8observed cycles, at least2recent cycles and period>=2. A zero-initialized linear query projection exposes these four features to the existing decoder; a separate zero-initialized two-gate head adds tanh-bounded multiples of the two template differences to the median. All quantiles shift together; original interval widths are unchanged initially. The initial function must be exactly preserved and all parameters train. No increased context, raw-memory encoder or fitted seasonal parameters; this differs from E29/E54 older-history experiments. Comparator E80uses the same ownE62initial, seed197/B64/LR2e-5/12000steps, paired loss, original corpus/generator/horizon streams and overflow fallback. New weights start exactlyzero, conversion seed503; no external weights. Audit independent feature arithmetic, initialization equivalence, gradient flow and max-shape GPU memory before launch. Screen1000/3000/6000/12000, earlier/fullreplay for selection. Queue after E105 when ready; no launch yet. + +## E97 weekly synthetic coverage at6000 +- Checkpoint SHA-256: `de053e5baf9641e9245519990d6e5193fc91392cb76e72ceffee1ce63f578fca`. +- Evaluation: 97 configurations, 9473 instances, 0 failed configurations; 26.010923624038696 seconds. +- Overall skill 0.380716; relative MASE 0.741210; relative WQL 0.517415. +- term skill: long=0.4022, medium=0.4073, short=0.3617. +- domain skill: Econ/Fin=0.1254, Energy=0.2389, Healthcare=0.4994, Nature=0.4301, Sales=0.3392, Transport=0.4658, Web/CloudOps=0.5031. +- frequency skill: A=0.3704, D=0.3555, H=0.3964, M=0.1253, Q=0.1936, S=0.4249, T=0.4385, W=0.2461. +- variates skill: multivariate=0.3971, univariate=0.3673. +- Outcome: Main0.380715730 exceeds matched E80at6000 0.378288765 by0.002426965; nearly ties E97at3000. Continue declared12000 schedule. + +## E99 early cooldown at30000 +- Checkpoint SHA-256: `ffa1f38d24165a7167a319a609bc03fa14cbe471ea7785659f10d7c953889661`. +- Evaluation: 97 configurations, 9473 instances, 0 failed configurations; 28.24539875984192 seconds. +- Overall skill 0.363004; relative MASE 0.756412; relative WQL 0.536432. +- term skill: long=0.3857, medium=0.3920, short=0.3425. +- domain skill: Econ/Fin=0.1135, Energy=0.2193, Healthcare=0.4094, Nature=0.4163, Sales=0.3443, Transport=0.4551, Web/CloudOps=0.4933. +- frequency skill: A=0.3737, D=0.3414, H=0.3797, M=0.0903, Q=0.1811, S=0.4171, T=0.4196, W=0.2193. +- variates skill: multivariate=0.3812, univariate=0.3481. +- Outcome: Skill0.363004205 exceeds original E79at30000 0.358563990 by0.004440216. Same immutable24000optimizer/EMA/RNG state, only the declared LR cooldown differs. Continue to36000 before schedule selection. + +## E97 weekly3000 earlier cutoff1 +- Checkpoint SHA-256: `a5619c3da9cb9049d92c9582e7fd74dea3e3d474bf5cf8499522e739cd202305`. +- Evaluation: 97 configurations, 9330 instances, 0 failed configurations; 26.978241682052612 seconds. +- Overall skill 0.336324; relative MASE 0.797606; relative WQL 0.552235. +- term skill: long=0.3979, medium=0.3586, short=0.3021. +- domain skill: Econ/Fin=0.1518, Energy=0.2284, Healthcare=0.4155, Nature=0.3672, Sales=0.3939, Transport=0.3733, Web/CloudOps=0.4489. +- frequency skill: A=0.3129, D=0.3516, H=0.3666, M=0.1788, Q=0.2305, S=0.3410, T=0.3350, W=0.2907. +- variates skill: multivariate=0.3530, univariate=0.3227. +- Outcome: Fixed3000checkpoint, seed197/B64/LR2e-5. Matched E80earlier scores0.336119626/0.358234785/0.388791691. Candidate first/third improve slightly and second regresses; mixed standalone evidence. E104 matched-delta composition evaluated separately. + +## E97 weekly3000 earlier cutoff2 +- Checkpoint SHA-256: `a5619c3da9cb9049d92c9582e7fd74dea3e3d474bf5cf8499522e739cd202305`. +- Evaluation: 94 configurations, 8934 instances, 0 failed configurations; 26.026545524597168 seconds. +- Overall skill 0.357608; relative MASE 0.772348; relative WQL 0.534302. +- term skill: long=0.3634, medium=0.3874, short=0.3435. +- domain skill: Econ/Fin=0.1055, Energy=0.2359, Healthcare=0.3296, Nature=0.4704, Sales=0.5497, Transport=0.4211, Web/CloudOps=0.4319. +- frequency skill: A=0.3536, D=0.4229, H=0.3913, M=0.1492, Q=0.1501, S=0.2808, T=0.3592, W=0.2527. +- variates skill: multivariate=0.3632, univariate=0.3530. +- Outcome: Fixed3000checkpoint, seed197/B64/LR2e-5. Matched E80earlier scores0.336119626/0.358234785/0.388791691. Candidate first/third improve slightly and second regresses; mixed standalone evidence. E104 matched-delta composition evaluated separately. + +## E97 weekly3000 earlier cutoff3 +- Checkpoint SHA-256: `a5619c3da9cb9049d92c9582e7fd74dea3e3d474bf5cf8499522e739cd202305`. +- Evaluation: 93 configurations, 8812 instances, 0 failed configurations; 25.23224711418152 seconds. +- Overall skill 0.389288; relative MASE 0.737704; relative WQL 0.505581. +- term skill: long=0.3960, medium=0.3604, short=0.3973. +- domain skill: Econ/Fin=0.1690, Energy=0.3192, Healthcare=0.2786, Nature=0.5046, Sales=0.3991, Transport=0.5056, Web/CloudOps=0.3897. +- frequency skill: A=0.3644, D=0.4424, H=0.4032, M=0.1383, Q=0.2578, S=0.2856, T=0.4308, W=0.2610. +- variates skill: multivariate=0.3738, univariate=0.4012. +- Outcome: Fixed3000checkpoint, seed197/B64/LR2e-5. Matched E80earlier scores0.336119626/0.358234785/0.388791691. Candidate first/third improve slightly and second regresses; mixed standalone evidence. E104 matched-delta composition evaluated separately. + +## E104 weekly matched-delta standalone valid_screen +- Checkpoint SHA-256: `094c7c694406075967f392a0d9ac1146bac984a90ab468c59d660a1b92fa7ba2`. +- Evaluation: 97 configurations, 9473 instances, 0 failed configurations; 26.348880529403687 seconds. +- Overall skill 0.381830; relative MASE 0.739086; relative WQL 0.517036. +- term skill: long=0.4034, medium=0.4069, short=0.3634. +- domain skill: Econ/Fin=0.1309, Energy=0.2397, Healthcare=0.4832, Nature=0.4388, Sales=0.3386, Transport=0.4639, Web/CloudOps=0.5053. +- frequency skill: A=0.3743, D=0.3550, H=0.4003, M=0.1128, Q=0.1977, S=0.4242, T=0.4413, W=0.2371. +- variates skill: multivariate=0.3976, univariate=0.3690. +- Outcome: Fixed E83 + E97weekly3000 - E80overflow3000, coefficient1. Merge1.392576CPU seconds, no optimizer updates. Standalone improves main/first earlier versus E83 and declines at second/third; fixed equal ensemble assessed separately. + +## E104 weekly matched-delta standalone valid_backcast +- Checkpoint SHA-256: `094c7c694406075967f392a0d9ac1146bac984a90ab468c59d660a1b92fa7ba2`. +- Evaluation: 97 configurations, 9330 instances, 0 failed configurations; 31.152572631835938 seconds. +- Overall skill 0.336131; relative MASE 0.797469; relative WQL 0.552651. +- term skill: long=0.3953, medium=0.3602, short=0.3023. +- domain skill: Econ/Fin=0.1601, Energy=0.2285, Healthcare=0.3995, Nature=0.3691, Sales=0.3960, Transport=0.3717, Web/CloudOps=0.4496. +- frequency skill: A=0.3204, D=0.3464, H=0.3692, M=0.1755, Q=0.2317, S=0.3401, T=0.3348, W=0.2897. +- variates skill: multivariate=0.3531, univariate=0.3223. +- Outcome: Fixed E83 + E97weekly3000 - E80overflow3000, coefficient1. Merge1.392576CPU seconds, no optimizer updates. Standalone improves main/first earlier versus E83 and declines at second/third; fixed equal ensemble assessed separately. + +## E104 weekly matched-delta standalone valid_backcast2 +- Checkpoint SHA-256: `094c7c694406075967f392a0d9ac1146bac984a90ab468c59d660a1b92fa7ba2`. +- Evaluation: 94 configurations, 8934 instances, 0 failed configurations; 24.71313166618347 seconds. +- Overall skill 0.359266; relative MASE 0.771102; relative WQL 0.532407. +- term skill: long=0.3665, medium=0.3870, short=0.3455. +- domain skill: Econ/Fin=0.1182, Energy=0.2385, Healthcare=0.3103, Nature=0.4745, Sales=0.5516, Transport=0.4204, Web/CloudOps=0.4341. +- frequency skill: A=0.3507, D=0.4222, H=0.3921, M=0.1412, Q=0.1508, S=0.2801, T=0.3641, W=0.2573. +- variates skill: multivariate=0.3652, univariate=0.3544. +- Outcome: Fixed E83 + E97weekly3000 - E80overflow3000, coefficient1. Merge1.392576CPU seconds, no optimizer updates. Standalone improves main/first earlier versus E83 and declines at second/third; fixed equal ensemble assessed separately. + +## E104 weekly matched-delta standalone valid_backcast3 +- Checkpoint SHA-256: `094c7c694406075967f392a0d9ac1146bac984a90ab468c59d660a1b92fa7ba2`. +- Evaluation: 93 configurations, 8812 instances, 0 failed configurations; 27.16672372817993 seconds. +- Overall skill 0.388450; relative MASE 0.741068; relative WQL 0.504669. +- term skill: long=0.3933, medium=0.3623, short=0.3962. +- domain skill: Econ/Fin=0.1766, Energy=0.3223, Healthcare=0.2292, Nature=0.5006, Sales=0.4004, Transport=0.5087, Web/CloudOps=0.3907. +- frequency skill: A=0.3616, D=0.4377, H=0.4053, M=0.1372, Q=0.2595, S=0.2755, T=0.4323, W=0.2534. +- variates skill: multivariate=0.3728, univariate=0.4005. +- Outcome: Fixed E83 + E97weekly3000 - E80overflow3000, coefficient1. Merge1.392576CPU seconds, no optimizer updates. Standalone improves main/first earlier versus E83 and declines at second/third; fixed equal ensemble assessed separately. + +## E104 fixed equal ensemble four-cutoff result +{"composition": "equal quantile mean after each member applies its own fixed rules", "skill_score": 0.3854686334562757, "rel_mase_gmean": 0.736317060829138, "rel_wql_gmean": 0.5128888362858817, "groups": {"term": {"short": 0.36816414362245353, "medium": 0.408440542958879, "long": 0.40638695737391495}, "domain": {"Econ/Fin": 0.1425263103369776, "Energy": 0.24632269833233222, "Healthcare": 0.4841127370370696, "Nature": 0.4419832586228435, "Sales": 0.34402063532792737, "Transport": 0.46813360862898734, "Web/CloudOps": 0.5044110005980553}, "freq": {"A-DEC": 0.3754462639697367, "Q-DEC": 0.19683288984300373, "M": 0.12041158797480767, "W-SUN": 0.10445402624428435, "D": 0.36437209338558496, "H": 0.40083310684490536, "15T": 0.21665767736788544, "W-FRI": 0.012382553366723226, "10T": 0.627237041718931, "W-TUE": 0.6419405160293805, "W-THU": 0.2063343746335743, "W-WED": 0.3296903939083894, "5T": 0.5194953263110145, "10S": 0.42496228760958743}}, "configs": [{"config_id": "m4_yearly__A__short", "leaderboard_key": "m4_yearly/A/short", "dataset": "m4_yearly", "term": "short", "freq": "A-DEC", "prediction_length": 6, "seasonality": 1, "n_variates": 1, "n_instances": 192, "domain": "Econ/Fin", "n_cohorts": 3, "skipped_series": 235, "dropped_containers": 11, "metrics": {"mase": 2.795416976588694, "wql": 0.08756880337104156, "wsql_by_level": [0.05252887822448462, 0.07932989461227326, 0.0959700106880147, 0.10455763068237416, 0.1063572505530461, 0.10658406951368415, 0.09915145380020426, 0.08468878326621433, 0.05895125899907835], "n_valid_labels": 1152, "n_masked_labels": 0, "mae_median": 549.2148649295171, "n_mase_elements": 1152, "n_seasonal_error_zero": 0, "n_seasonal_error_nan": 0}, "relative": {"mase": 0.6126392994384536, "wql": 0.6366998812301077}}, {"config_id": "m4_quarterly__Q__short", "leaderboard_key": "m4_quarterly/Q/short", "dataset": "m4_quarterly", "term": "short", "freq": "Q-DEC", "prediction_length": 8, "seasonality": 4, "n_variates": 1, "n_instances": 192, "domain": "Econ/Fin", "n_cohorts": 3, "dropped_containers": 95, "metrics": {"mase": 1.268227388475534, "wql": 0.07681830668494384, "wsql_by_level": [0.04042083458880533, 0.06359275473978293, 0.08000831523251448, 0.09091168162013274, 0.09651369946150555, 0.09673283523414461, 0.09151898821247428, 0.0778237643192909, 0.05384188675584369], "n_valid_labels": 1536, "n_masked_labels": 0, "mae_median": 519.8114858369032, "n_mase_elements": 1536, "n_seasonal_error_zero": 0, "n_seasonal_error_nan": 0}, "relative": {"mase": 0.7767149083028737, "wql": 0.8305201817838648}}, {"config_id": "m4_monthly__M__short", "leaderboard_key": "m4_monthly/M/short", "dataset": "m4_monthly", "term": "short", "freq": "M", "prediction_length": 18, "seasonality": 12, "n_variates": 1, "n_instances": 192, "domain": "Econ/Fin", "n_cohorts": 3, "dropped_containers": 499, "metrics": {"mase": 0.9387358782206154, "wql": 0.11285109298383048, "wsql_by_level": [0.06134478839940721, 0.09485179214060362, 0.11540523935164874, 0.12890946874409262, 0.136647556715382, 0.13749452198589188, 0.13098699298148542, 0.11774639704301346, 0.0922730794929493], "n_valid_labels": 3456, "n_masked_labels": 0, "mae_median": 646.7568616337246, "n_mase_elements": 3456, "n_seasonal_error_zero": 0, "n_seasonal_error_nan": 0}, "relative": {"mase": 0.816335853241079, "wql": 0.8288358266707591}}, {"config_id": "m4_weekly__W__short", "leaderboard_key": "m4_weekly/W/short", "dataset": "m4_weekly", "term": "short", "freq": "W-SUN", "prediction_length": 13, "seasonality": 1, "n_variates": 1, "n_instances": 192, "domain": "Econ/Fin", "n_cohorts": 2, "dropped_containers": 4, "metrics": {"mase": 2.8867052151722588, "wql": 0.05404656893968851, "wsql_by_level": [0.029807414872656677, 0.04605890529290171, 0.05673686200647567, 0.06333934400212216, 0.06718069790237324, 0.0684244799429442, 0.06408761552005404, 0.053931994669479406, 0.036851806248189484], "n_valid_labels": 2496, "n_masked_labels": 0, "mae_median": 333.4642290518834, "n_mase_elements": 2496, "n_seasonal_error_zero": 0, "n_seasonal_error_nan": 0}, "relative": {"mase": 1.098295162106453, "wql": 0.7302250057916019}}, {"config_id": "m4_daily__D__short", "leaderboard_key": "m4_daily/D/short", "dataset": "m4_daily", "term": "short", "freq": "D", "prediction_length": 14, "seasonality": 1, "n_variates": 1, "n_instances": 192, "domain": "Econ/Fin", "n_cohorts": 2, "dropped_containers": 23, "metrics": {"mase": 3.1936882256260537, "wql": 0.019256542436877896, "wsql_by_level": [0.011530887742870673, 0.016857927154135987, 0.020548250829197437, 0.022889113930561356, 0.02395622004597089, 0.023773593914345643, 0.022079570197996758, 0.01863521994753962, 0.013038098169282733], "n_valid_labels": 2688, "n_masked_labels": 0, "mae_median": 172.77467766262237, "n_mase_elements": 2688, "n_seasonal_error_zero": 0, "n_seasonal_error_nan": 0}, "relative": {"mase": 1.023209338914692, "wql": 1.0250642421255833}}, {"config_id": "m4_hourly__H__short", "leaderboard_key": "m4_hourly/H/short", "dataset": "m4_hourly", "term": "short", "freq": "H", "prediction_length": 48, "seasonality": 24, "n_variates": 1, "n_instances": 192, "domain": "Econ/Fin", "n_cohorts": 1, "metrics": {"mase": 1.2094391645761666, "wql": 0.038116260503183425, "wsql_by_level": [0.019263175762145472, 0.03230955303590387, 0.04137014097843697, 0.046555300547802186, 0.048861706646772, 0.04826905847853227, 0.04460205648239837, 0.03699396057937847, 0.024821392017281237], "n_valid_labels": 9216, "n_masked_labels": 0, "mae_median": 391.8570696660835, "n_mase_elements": 9216, "n_seasonal_error_zero": 0, "n_seasonal_error_nan": 0}, "relative": {"mase": 1.0001696160920521, "wql": 1.1030515057204093}}, {"config_id": "electricity__T__short", "leaderboard_key": "electricity/15T/short", "dataset": "electricity/15T", "term": "short", "freq": "15T", "prediction_length": 48, "seasonality": 96, "n_variates": 1, "n_instances": 192, "domain": "Energy", "n_cohorts": 1, "metrics": {"mase": 0.9824612882781023, "wql": 0.04899481001536353, "wsql_by_level": [0.028395811361843548, 0.044092878604357774, 0.05412045723259588, 0.05992756900431569, 0.06226886608424658, 0.0607567109377272, 0.055284712749889435, 0.0456100312892153, 0.03049625287408038], "n_valid_labels": 9216, "n_masked_labels": 0, "mae_median": 35.737774749823274, "n_mase_elements": 9216, "n_seasonal_error_zero": 0, "n_seasonal_error_nan": 0}, "relative": {"mase": 0.9154363074357945, "wql": 0.870276133011924}}, {"config_id": "electricity__T__medium", "leaderboard_key": "electricity/15T/medium", "dataset": "electricity/15T", "term": "medium", "freq": "15T", "prediction_length": 480, "seasonality": 96, "n_variates": 1, "n_instances": 192, "domain": "Energy", "n_cohorts": 1, "metrics": {"mase": 0.9138171992921842, "wql": 0.06777267665914909, "wsql_by_level": [0.03736362960213149, 0.05831936817269399, 0.07212694659974693, 0.08075107449309941, 0.08507402474802193, 0.0848937494604228, 0.07937858123492646, 0.06702806179388453, 0.04501865382741436], "n_valid_labels": 92160, "n_masked_labels": 0, "mae_median": 50.67895454541528, "n_mase_elements": 92160, "n_seasonal_error_zero": 0, "n_seasonal_error_nan": 0}, "relative": {"mase": 0.6101086438088109, "wql": 0.5783935026933213}}, {"config_id": "electricity__T__long", "leaderboard_key": "electricity/15T/long", "dataset": "electricity/15T", "term": "long", "freq": "15T", "prediction_length": 720, "seasonality": 96, "n_variates": 1, "n_instances": 192, "domain": "Energy", "n_cohorts": 1, "metrics": {"mase": 0.8447145538964363, "wql": 0.06827385263696915, "wsql_by_level": [0.034366406591681255, 0.054758756540683524, 0.06867134398777669, 0.07815171621716906, 0.08360791483416628, 0.08514868000485296, 0.08210597264875295, 0.07291497326855305, 0.05473890963908665], "n_valid_labels": 138240, "n_masked_labels": 0, "mae_median": 58.010600292991874, "n_mase_elements": 138240, "n_seasonal_error_zero": 0, "n_seasonal_error_nan": 0}, "relative": {"mase": 0.793087238785798, "wql": 0.6830225886678682}}, {"config_id": "electricity__H__short", "leaderboard_key": "electricity/H/short", "dataset": "electricity/H", "term": "short", "freq": "H", "prediction_length": 48, "seasonality": 24, "n_variates": 1, "n_instances": 192, "domain": "Energy", "n_cohorts": 1, "metrics": {"mase": 1.0541225658397144, "wql": 0.08072226170236818, "wsql_by_level": [0.052059029989780965, 0.07381706780740498, 0.08940650364012412, 0.09766545900035152, 0.10082063296922232, 0.09910661858775432, 0.09154474356341316, 0.07554767215719776, 0.046532627606064456], "n_valid_labels": 9216, "n_masked_labels": 0, "mae_median": 390.0401897939802, "n_mase_elements": 9216, "n_seasonal_error_zero": 0, "n_seasonal_error_nan": 0}, "relative": {"mase": 1.0354875111412227, "wql": 1.135230642035518}}, {"config_id": "electricity__H__medium", "leaderboard_key": "electricity/H/medium", "dataset": "electricity/H", "term": "medium", "freq": "H", "prediction_length": 480, "seasonality": 24, "n_variates": 1, "n_instances": 192, "domain": "Energy", "n_cohorts": 1, "metrics": {"mase": 0.987906550246096, "wql": 0.05831413221480887, "wsql_by_level": [0.035281333139195646, 0.05204886496969009, 0.06226172565504222, 0.06849759857719877, 0.07160528468705928, 0.07136948746888597, 0.06706557636024374, 0.05729945878038814, 0.03939786029557599], "n_valid_labels": 91680, "n_masked_labels": 480, "mae_median": 123.75324168954644, "n_mase_elements": 91680, "n_seasonal_error_zero": 0, "n_seasonal_error_nan": 1}, "relative": {"mase": 0.8019251745922997, "wql": 0.5430069851629276}}, {"config_id": "electricity__H__long", "leaderboard_key": "electricity/H/long", "dataset": "electricity/H", "term": "long", "freq": "H", "prediction_length": 720, "seasonality": 24, "n_variates": 1, "n_instances": 192, "domain": "Energy", "n_cohorts": 1, "metrics": {"mase": 1.1658983357361172, "wql": 0.07357137105462702, "wsql_by_level": [0.03806675818908281, 0.059142989437638696, 0.07342462305723155, 0.08285541620257916, 0.08838165621663885, 0.09018932974142142, 0.08792010941992093, 0.07996623752695645, 0.06219521970017341], "n_valid_labels": 138240, "n_masked_labels": 0, "mae_median": 186.11038970290943, "n_mase_elements": 138240, "n_seasonal_error_zero": 0, "n_seasonal_error_nan": 0}, "relative": {"mase": 0.8774867972029426, "wql": 0.5455441107583858}}, {"config_id": "electricity__D__short", "leaderboard_key": "electricity/D/short", "dataset": "electricity/D", "term": "short", "freq": "D", "prediction_length": 30, "seasonality": 1, "n_variates": 1, "n_instances": 192, "domain": "Energy", "n_cohorts": 1, "metrics": {"mase": 1.5099228588256168, "wql": 0.07527743513872845, "wsql_by_level": [0.028622408054189894, 0.04768450605964861, 0.06725250904152086, 0.08213824752270928, 0.09297724078143454, 0.09881426714227798, 0.09865420796317632, 0.09083260698582611, 0.07052092269777245], "n_valid_labels": 5760, "n_masked_labels": 0, "mae_median": 7288.701407634384, "n_mase_elements": 5760, "n_seasonal_error_zero": 0, "n_seasonal_error_nan": 0}, "relative": {"mase": 0.8926983627507425, "wql": 0.79849359571092}}, {"config_id": "electricity__W__short", "leaderboard_key": "electricity/W/short", "dataset": "electricity/W", "term": "short", "freq": "W-FRI", "prediction_length": 8, "seasonality": 1, "n_variates": 1, "n_instances": 192, "domain": "Energy", "n_cohorts": 1, "metrics": {"mase": 1.4392953288002797, "wql": 0.07420910508641608, "wsql_by_level": [0.028263841036851898, 0.04947998113827854, 0.07029779814024846, 0.08377757347254892, 0.09415267782839486, 0.09698646132937698, 0.09468528173713849, 0.08549470200807237, 0.06474362908683412], "n_valid_labels": 1528, "n_masked_labels": 8, "mae_median": 51115.92140796921, "n_mase_elements": 1528, "n_seasonal_error_zero": 0, "n_seasonal_error_nan": 1}, "relative": {"mase": 1.0668448666538084, "wql": 1.0087383094433606}}, {"config_id": "solar__T__short", "leaderboard_key": "solar/10T/short", "dataset": "solar/10T", "term": "short", "freq": "10T", "prediction_length": 48, "seasonality": 144, "n_variates": 1, "n_instances": 137, "domain": "Energy", "n_cohorts": 1, "metrics": {"mase": 0.01781347502043181, "wql": 0.42143977766900104, "wsql_by_level": [0.17504993687835133, 0.3294048479026965, 0.42535470871197667, 0.47927406289283053, 0.5120761379588328, 0.5104829060919627, 0.5115224252725261, 0.4839584145927364, 0.36583455871909654], "n_valid_labels": 6576, "n_masked_labels": 0, "mae_median": 0.04948667653070405, "n_mase_elements": 6576, "n_seasonal_error_zero": 0, "n_seasonal_error_nan": 0}, "relative": {"mase": 1.1120657611865516, "wql": 0.03477638127025891}}, {"config_id": "solar__T__medium", "leaderboard_key": "solar/10T/medium", "dataset": "solar/10T", "term": "medium", "freq": "10T", "prediction_length": 480, "seasonality": 144, "n_variates": 1, "n_instances": 137, "domain": "Energy", "n_cohorts": 1, "metrics": {"mase": 0.6985151810314955, "wql": 0.2855006101463456, "wsql_by_level": [0.2169575653904273, 0.3172811042774564, 0.3523149180545522, 0.35215603486356883, 0.3379716322295703, 0.318100703509344, 0.28609829522194585, 0.2334167585437219, 0.15520847922652367], "n_valid_labels": 65760, "n_masked_labels": 0, "mae_median": 1.6148956313713991, "n_mase_elements": 65760, "n_seasonal_error_zero": 0, "n_seasonal_error_nan": 0}, "relative": {"mase": 0.8384101144161774, "wql": 0.5052721781327353}}, {"config_id": "solar__T__long", "leaderboard_key": "solar/10T/long", "dataset": "solar/10T", "term": "long", "freq": "10T", "prediction_length": 720, "seasonality": 144, "n_variates": 1, "n_instances": 137, "domain": "Energy", "n_cohorts": 1, "metrics": {"mase": 0.6978424350693991, "wql": 0.22233494197166248, "wsql_by_level": [0.166332992574431, 0.2595059797989555, 0.29659837268966455, 0.29931074035142674, 0.27858571503504526, 0.24242162336894557, 0.19627915034004179, 0.1502371646644031, 0.11174273892204904], "n_valid_labels": 98640, "n_masked_labels": 0, "mae_median": 1.6368925869296436, "n_mase_elements": 98640, "n_seasonal_error_zero": 0, "n_seasonal_error_nan": 0}, "relative": {"mase": 0.32577257090458905, "wql": 0.24615579268877133}}, {"config_id": "solar__H__short", "leaderboard_key": "solar/H/short", "dataset": "solar/H", "term": "short", "freq": "H", "prediction_length": 48, "seasonality": 24, "n_variates": 1, "n_instances": 137, "domain": "Energy", "n_cohorts": 1, "metrics": {"mase": 0.8617467091885954, "wql": 0.3293434646453593, "wsql_by_level": [0.21653214324107156, 0.3608860084185891, 0.4238913877404794, 0.4319325450630538, 0.4078626713071489, 0.3677051265706955, 0.31726362737950115, 0.25946595473130807, 0.1785517173563864], "n_valid_labels": 6576, "n_masked_labels": 0, "mae_median": 11.249563878051452, "n_mase_elements": 6576, "n_seasonal_error_zero": 0, "n_seasonal_error_nan": 0}, "relative": {"mase": 0.8153283079097247, "wql": 0.546812071142352}}, {"config_id": "solar__H__medium", "leaderboard_key": "solar/H/medium", "dataset": "solar/H", "term": "medium", "freq": "H", "prediction_length": 480, "seasonality": 24, "n_variates": 1, "n_instances": 137, "domain": "Energy", "n_cohorts": 1, "metrics": {"mase": 1.2022744177567275, "wql": 0.4450076691075868, "wsql_by_level": [0.45330812773553775, 0.5680630656352184, 0.5907064246201226, 0.5694126752918893, 0.523723531935585, 0.46059598495992393, 0.38173554779181534, 0.28563632923846516, 0.1718873347597239], "n_valid_labels": 65760, "n_masked_labels": 0, "mae_median": 15.694438455592719, "n_mase_elements": 65760, "n_seasonal_error_zero": 0, "n_seasonal_error_nan": 0}, "relative": {"mase": 0.8723069938406994, "wql": 0.45972699007357887}}, {"config_id": "solar__H__long", "leaderboard_key": "solar/H/long", "dataset": "solar/H", "term": "long", "freq": "H", "prediction_length": 720, "seasonality": 24, "n_variates": 1, "n_instances": 137, "domain": "Energy", "n_cohorts": 1, "metrics": {"mase": 1.0399757532265896, "wql": 0.3554566364255842, "wsql_by_level": [0.4236411108275793, 0.4641399602000191, 0.4632445721303884, 0.44104649567727083, 0.40539762952064134, 0.35730628180110435, 0.2962660494071995, 0.2203389636641255, 0.12772866460192975], "n_valid_labels": 98640, "n_masked_labels": 0, "mae_median": 13.666343091270907, "n_mase_elements": 98640, "n_seasonal_error_zero": 0, "n_seasonal_error_nan": 0}, "relative": {"mase": 0.9698189740538452, "wql": 0.3937320083199028}}, {"config_id": "solar__D__short", "leaderboard_key": "solar/D/short", "dataset": "solar/D", "term": "short", "freq": "D", "prediction_length": 30, "seasonality": 1, "n_variates": 1, "n_instances": 137, "domain": "Energy", "n_cohorts": 1, "metrics": {"mase": 1.1393415951992427, "wql": 0.28779881110159267, "wsql_by_level": [0.246847555738178, 0.35144868180361505, 0.3848117555811675, 0.3828138817256278, 0.3563405183132376, 0.3142248147378668, 0.25713374018742813, 0.18831075367532824, 0.1082575981518845], "n_valid_labels": 4110, "n_masked_labels": 0, "mae_median": 288.3019393257271, "n_mase_elements": 4110, "n_seasonal_error_zero": 0, "n_seasonal_error_nan": 0}, "relative": {"mase": 0.9762506655223895, "wql": 0.6104917515406019}}, {"config_id": "solar__W__short", "leaderboard_key": "solar/W/short", "dataset": "solar/W", "term": "short", "freq": "W-FRI", "prediction_length": 8, "seasonality": 1, "n_variates": 1, "n_instances": 137, "domain": "Energy", "n_cohorts": 1, "metrics": {"mase": 1.0268852032580833, "wql": 0.12052706700107489, "wsql_by_level": [0.05818950699285998, 0.11595881963990586, 0.14642893441175975, 0.15527060942685042, 0.15356069013241036, 0.14427571098979933, 0.12882774565443475, 0.1071060410364652, 0.0751255447251884], "n_valid_labels": 1096, "n_masked_labels": 0, "mae_median": 942.9758961252923, "n_mase_elements": 1096, "n_seasonal_error_zero": 0, "n_seasonal_error_nan": 0}, "relative": {"mase": 1.0188790216573897, "wql": 0.8676660533162098}}, {"config_id": "hospital__M__short", "leaderboard_key": "hospital/M/short", "dataset": "hospital", "term": "short", "freq": "M", "prediction_length": 12, "seasonality": 12, "n_variates": 1, "n_instances": 192, "domain": "Healthcare", "n_cohorts": 1, "metrics": {"mase": 0.7847733130457222, "wql": 0.053420509620148826, "wsql_by_level": [0.027790076786016814, 0.04430160082100439, 0.05484753898873574, 0.06334639970768964, 0.06797641550890926, 0.06789033535039125, 0.06360322310563211, 0.05369613414971308, 0.03733286216324714], "n_valid_labels": 2304, "n_masked_labels": 0, "mae_median": 24.31328149450322, "n_mase_elements": 2304, "n_seasonal_error_zero": 0, "n_seasonal_error_nan": 0}, "relative": {"mase": 0.8685161977502073, "wql": 0.9428099884765189}}, {"config_id": "covid_deaths__D__short", "leaderboard_key": "covid_deaths/D/short", "dataset": "covid_deaths", "term": "short", "freq": "D", "prediction_length": 30, "seasonality": 1, "n_variates": 1, "n_instances": 192, "domain": "Healthcare", "n_cohorts": 1, "metrics": {"mase": 38.23095597530944, "wql": 0.07565835856235899, "wsql_by_level": [0.06488312664714146, 0.09355169771892499, 0.10868264832032903, 0.10597437880207744, 0.09027346424775537, 0.056965212817616045, 0.04246456866517384, 0.053367319049436694, 0.06476281079277596], "n_valid_labels": 5760, "n_masked_labels": 0, "mae_median": 119.48539306917745, "n_mase_elements": 4980, "n_seasonal_error_zero": 26, "n_seasonal_error_nan": 0}, "relative": {"mase": 0.8523760722942941, "wql": 0.601940457311472}}, {"config_id": "us_births__D__short", "leaderboard_key": "us_births/D/short", "dataset": "us_births/D", "term": "short", "freq": "D", "prediction_length": 30, "seasonality": 1, "n_variates": 1, "n_instances": 1, "domain": "Healthcare", "n_cohorts": 1, "metrics": {"mase": 0.4683471073212719, "wql": 0.02690163787960409, "wsql_by_level": [0.012519404448211847, 0.018547585448283086, 0.024551840767867615, 0.02741222552467023, 0.030394372626209108, 0.03538051003031574, 0.037291790440225105, 0.03347683644816188, 0.022540175182492208], "n_valid_labels": 30, "n_masked_labels": 0, "mae_median": 309.30022786458335, "n_mase_elements": 30, "n_seasonal_error_zero": 0, "n_seasonal_error_nan": 0}, "relative": {"mase": 0.2011708799119241, "wql": 0.20603760414131309}}, {"config_id": "us_births__M__short", "leaderboard_key": "us_births/M/short", "dataset": "us_births/M", "term": "short", "freq": "M", "prediction_length": 12, "seasonality": 12, "n_variates": 1, "n_instances": 1, "domain": "Healthcare", "n_cohorts": 1, "metrics": {"mase": 0.2632496713784672, "wql": 0.007624636894155283, "wsql_by_level": [0.005740636266914142, 0.00669562959867952, 0.006415264111996609, 0.007365210476773466, 0.007865769392696903, 0.007709336643382707, 0.009020174329738895, 0.009829421143081944, 0.007980290084133368], "n_valid_labels": 12, "n_masked_labels": 0, "mae_median": 2469.2708333333335, "n_mase_elements": 12, "n_seasonal_error_zero": 0, "n_seasonal_error_nan": 0}, "relative": {"mase": 0.8707902315739978, "wql": 0.686792676525858}}, {"config_id": "us_births__W__short", "leaderboard_key": "us_births/W/short", "dataset": "us_births/W", "term": "short", "freq": "W-TUE", "prediction_length": 8, "seasonality": 1, "n_variates": 1, "n_instances": 1, "domain": "Healthcare", "n_cohorts": 1, "metrics": {"mase": 1.3439668302592565, "wql": 0.015538928857283843, "wsql_by_level": [0.008149730706929493, 0.015485149708547646, 0.018908646300848733, 0.01980101172362688, 0.019660444668581117, 0.0187701796519375, 0.016784749749211507, 0.013938410631079623, 0.0083520365747921], "n_valid_labels": 8, "n_masked_labels": 0, "mae_median": 1462.5478515625, "n_mase_elements": 8, "n_seasonal_error_zero": 0, "n_seasonal_error_nan": 0}, "relative": {"mase": 0.3483189786698818, "wql": 0.3680723759322161}}, {"config_id": "saugeenday__D__short", "leaderboard_key": "saugeen/D/short", "dataset": "saugeenday/D", "term": "short", "freq": "D", "prediction_length": 30, "seasonality": 1, "n_variates": 1, "n_instances": 1, "domain": "Nature", "n_cohorts": 1, "metrics": {"mase": 3.2379394826019117, "wql": 0.32258585175584387, "wsql_by_level": [0.15009877492359122, 0.2699071963054936, 0.36480964084176287, 0.429573899167784, 0.45823803356515874, 0.42717553516290857, 0.3351583385200374, 0.2215160947494623, 0.24679515256639606], "n_valid_labels": 30, "n_masked_labels": 0, "mae_median": 14.235928344726563, "n_mase_elements": 30, "n_seasonal_error_zero": 0, "n_seasonal_error_nan": 0}, "relative": {"mase": 0.8305675631954952, "wql": 0.5953264411491401}}, {"config_id": "saugeenday__M__short", "leaderboard_key": "saugeen/M/short", "dataset": "saugeenday/M", "term": "short", "freq": "M", "prediction_length": 12, "seasonality": 12, "n_variates": 1, "n_instances": 1, "domain": "Nature", "n_cohorts": 1, "metrics": {"mase": 0.447265017966201, "wql": 0.2307741278381414, "wsql_by_level": [0.11948748410211966, 0.20558068850434347, 0.25366673650790045, 0.2711589268222958, 0.2666016298699337, 0.25080164410889916, 0.2536812298869933, 0.2631835026219238, 0.19280530811886343], "n_valid_labels": 12, "n_masked_labels": 0, "mae_median": 7.753377676010132, "n_mase_elements": 12, "n_seasonal_error_zero": 0, "n_seasonal_error_nan": 0}, "relative": {"mase": 1.346044379035233, "wql": 0.882496776385616}}, {"config_id": "saugeenday__W__short", "leaderboard_key": "saugeen/W/short", "dataset": "saugeenday/W", "term": "short", "freq": "W-THU", "prediction_length": 8, "seasonality": 1, "n_variates": 1, "n_instances": 1, "domain": "Nature", "n_cohorts": 1, "metrics": {"mase": 0.7330330272586232, "wql": 0.24147546142758547, "wsql_by_level": [0.10751263398587159, 0.18331227585741458, 0.2502510695301909, 0.3133840201557028, 0.3592666151397, 0.36245011569972874, 0.2884292388494765, 0.13843016727866211, 0.1702430163515221], "n_valid_labels": 8, "n_masked_labels": 0, "mae_median": 8.785351753234863, "n_mase_elements": 8, "n_seasonal_error_zero": 0, "n_seasonal_error_nan": 0}, "relative": {"mase": 1.2892549439821193, "wql": 0.4028557997401655}}, {"config_id": "temperature_rain_with_missing__D__short", "leaderboard_key": "temperature_rain/D/short", "dataset": "temperature_rain_with_missing", "term": "short", "freq": "D", "prediction_length": 30, "seasonality": 1, "n_variates": 1, "n_instances": 192, "domain": "Nature", "n_cohorts": 1, "metrics": {"mase": 1.9559930019720881, "wql": 0.4947299668702683, "wsql_by_level": [0.1802116378075862, 0.33158236937698643, 0.4579114859648925, 0.5564406030720168, 0.6162810537447235, 0.6492325225743822, 0.6515226891383746, 0.5857612147562478, 0.42362612539720557], "n_valid_labels": 5760, "n_masked_labels": 0, "mae_median": 6.430995614538632, "n_mase_elements": 5760, "n_seasonal_error_zero": 0, "n_seasonal_error_nan": 0}, "relative": {"mase": 0.6695614586247304, "wql": 0.4691966328995636}}, {"config_id": "kdd_cup_2018_with_missing__H__short", "leaderboard_key": "kdd_cup_2018/H/short", "dataset": "kdd_cup_2018_with_missing/H", "term": "short", "freq": "H", "prediction_length": 48, "seasonality": 24, "n_variates": 1, "n_instances": 192, "domain": "Nature", "n_cohorts": 2, "metrics": {"mase": 0.5205984182413413, "wql": 0.37434376546657755, "wsql_by_level": [0.14874802649519717, 0.249307214916932, 0.33521712975229895, 0.410567172978763, 0.4656408160355961, 0.490297506901656, 0.48628563319462764, 0.44844947895039156, 0.3345809099737359], "n_valid_labels": 8214, "n_masked_labels": 1002, "mae_median": 11.944559938516282, "n_mase_elements": 8214, "n_seasonal_error_zero": 0, "n_seasonal_error_nan": 0}, "relative": {"mase": 0.7847300683952065, "wql": 0.5948636206793396}}, {"config_id": "kdd_cup_2018_with_missing__H__medium", "leaderboard_key": "kdd_cup_2018/H/medium", "dataset": "kdd_cup_2018_with_missing/H", "term": "medium", "freq": "H", "prediction_length": 480, "seasonality": 24, "n_variates": 1, "n_instances": 192, "domain": "Nature", "n_cohorts": 2, "metrics": {"mase": 0.9403458002900037, "wql": 0.46836186898669285, "wsql_by_level": [0.18146211048472, 0.33377540218943186, 0.4570456131597061, 0.5504150893516991, 0.6088735954505923, 0.6247770468735193, 0.5930208842717021, 0.5088418252502578, 0.35704525384860764], "n_valid_labels": 83394, "n_masked_labels": 8766, "mae_median": 20.235989950861445, "n_mase_elements": 83394, "n_seasonal_error_zero": 0, "n_seasonal_error_nan": 0}, "relative": {"mase": 0.730416022325679, "wql": 0.4444610118863832}}, {"config_id": "kdd_cup_2018_with_missing__H__long", "leaderboard_key": "kdd_cup_2018/H/long", "dataset": "kdd_cup_2018_with_missing/H", "term": "long", "freq": "H", "prediction_length": 720, "seasonality": 24, "n_variates": 1, "n_instances": 192, "domain": "Nature", "n_cohorts": 2, "metrics": {"mase": 0.8626181081013944, "wql": 0.48346631841404303, "wsql_by_level": [0.1879849503192842, 0.33672916352113014, 0.46084527271172426, 0.5559294727548728, 0.6193657068681274, 0.6438925278545381, 0.6255484892201704, 0.5490170982348758, 0.37188418424166453], "n_valid_labels": 125466, "n_masked_labels": 12774, "mae_median": 18.72813091088498, "n_mase_elements": 125466, "n_seasonal_error_zero": 0, "n_seasonal_error_nan": 0}, "relative": {"mase": 0.8894528621182541, "wql": 0.3782618005091297}}, {"config_id": "kdd_cup_2018_with_missing__D__short", "leaderboard_key": "kdd_cup_2018/D/short", "dataset": "kdd_cup_2018_with_missing/D", "term": "short", "freq": "D", "prediction_length": 30, "seasonality": 1, "n_variates": 1, "n_instances": 192, "domain": "Nature", "n_cohorts": 2, "metrics": {"mase": 1.0411937701254517, "wql": 0.4017401138759986, "wsql_by_level": [0.17039599861666724, 0.30036137669036833, 0.3951034986671659, 0.4626857576284326, 0.5043410347516797, 0.5198680964731249, 0.5064294526635623, 0.4485036332408756, 0.3079721761521109], "n_valid_labels": 5469, "n_masked_labels": 291, "mae_median": 14.86369142490634, "n_mase_elements": 5469, "n_seasonal_error_zero": 0, "n_seasonal_error_nan": 0}, "relative": {"mase": 0.8448323206680709, "wql": 0.4519564588216427}}, {"config_id": "car_parts_with_missing__M__short", "leaderboard_key": "car_parts/M/short", "dataset": "car_parts_with_missing", "term": "short", "freq": "M", "prediction_length": 12, "seasonality": 12, "n_variates": 1, "n_instances": 192, "domain": "Sales", "n_cohorts": 1, "metrics": {"mase": 1.4856197613408295, "wql": 1.1765739846415382, "wsql_by_level": [0.347378921593696, 0.6162032901660557, 0.8861393399177081, 1.163433632451788, 1.3996605600026089, 1.579024745281525, 1.6780076107891573, 1.620651945864646, 1.2986658157066575], "n_valid_labels": 2244, "n_masked_labels": 60, "mae_median": 0.6567925889851814, "n_mase_elements": 2088, "n_seasonal_error_zero": 14, "n_seasonal_error_nan": 0}, "relative": {"mase": 0.9767913606049345, "wql": 0.7210111618390951}}, {"config_id": "restaurant__D__short", "leaderboard_key": "restaurant/D/short", "dataset": "restaurant", "term": "short", "freq": "D", "prediction_length": 30, "seasonality": 1, "n_variates": 1, "n_instances": 192, "domain": "Sales", "n_cohorts": 13, "skipped_series": 1, "metrics": {"mase": 0.699855230782104, "wql": 0.27002494185730236, "wsql_by_level": [0.14043272840861099, 0.2258430954556171, 0.28520270278041004, 0.3234761507573261, 0.34280856791706654, 0.3415619693520698, 0.31838648863722496, 0.2699097244944028, 0.1826030489129928], "n_valid_labels": 5052, "n_masked_labels": 708, "mae_median": 7.281492835717454, "n_mase_elements": 5052, "n_seasonal_error_zero": 0, "n_seasonal_error_nan": 0}, "relative": {"mase": 0.709182128880753, "wql": 0.40231357659350614}}, {"config_id": "hierarchical_sales__D__short", "leaderboard_key": "hierarchical_sales/D/short", "dataset": "hierarchical_sales/D", "term": "short", "freq": "D", "prediction_length": 30, "seasonality": 1, "n_variates": 1, "n_instances": 118, "domain": "Sales", "n_cohorts": 1, "metrics": {"mase": 0.9601874654243095, "wql": 0.6321255477753337, "wsql_by_level": [0.19862388530516814, 0.3730169278374515, 0.5264879563294177, 0.6595736148618315, 0.7652012576813627, 0.8399677859584039, 0.8725574744659007, 0.8262736512102663, 0.6274273763282014], "n_valid_labels": 3304, "n_masked_labels": 236, "mae_median": 3.000821033830937, "n_mase_elements": 3304, "n_seasonal_error_zero": 0, "n_seasonal_error_nan": 0}, "relative": {"mase": 0.8763760759910977, "wql": 0.4333250079859994}}, {"config_id": "hierarchical_sales__W__short", "leaderboard_key": "hierarchical_sales/W/short", "dataset": "hierarchical_sales/W", "term": "short", "freq": "W-WED", "prediction_length": 8, "seasonality": 1, "n_variates": 1, "n_instances": 118, "domain": "Sales", "n_cohorts": 1, "metrics": {"mase": 0.8202442974975183, "wql": 0.40248813326840344, "wsql_by_level": [0.1461635361113414, 0.2613576072043297, 0.3528116270399404, 0.4256032260565851, 0.4830573802552875, 0.5212339277970817, 0.5351582677907385, 0.5065778532959115, 0.3904297738644151], "n_valid_labels": 944, "n_masked_labels": 0, "mae_median": 11.794992176784298, "n_mase_elements": 944, "n_seasonal_error_zero": 0, "n_seasonal_error_nan": 0}, "relative": {"mase": 0.8241952573447494, "wql": 0.5451559736781498}}, {"config_id": "LOOP_SEATTLE__T__short", "leaderboard_key": "loop_seattle/5T/short", "dataset": "LOOP_SEATTLE/5T", "term": "short", "freq": "5T", "prediction_length": 48, "seasonality": 288, "n_variates": 1, "n_instances": 192, "domain": "Transport", "n_cohorts": 1, "metrics": {"mase": 0.42519817427238726, "wql": 0.031181385576846916, "wsql_by_level": [0.019991528972427054, 0.02862708174718625, 0.034158205344288976, 0.037402554486037624, 0.0387730100623944, 0.038081308079914646, 0.035126824198851936, 0.02929620986760633, 0.019175747432914985], "n_valid_labels": 9216, "n_masked_labels": 0, "mae_median": 2.516321830658449, "n_mase_elements": 9216, "n_seasonal_error_zero": 0, "n_seasonal_error_nan": 0}, "relative": {"mase": 0.6679218720728912, "wql": 0.5267364609894027}}, {"config_id": "LOOP_SEATTLE__T__medium", "leaderboard_key": "loop_seattle/5T/medium", "dataset": "LOOP_SEATTLE/5T", "term": "medium", "freq": "5T", "prediction_length": 480, "seasonality": 288, "n_variates": 1, "n_instances": 192, "domain": "Transport", "n_cohorts": 1, "metrics": {"mase": 0.6153700402510184, "wql": 0.05035107470783137, "wsql_by_level": [0.03952728883626551, 0.05328890428855708, 0.060342494227199305, 0.0630604828177886, 0.062388730693246866, 0.05825063883612515, 0.05095447011576748, 0.04017562129751607, 0.025171041258016308], "n_valid_labels": 92160, "n_masked_labels": 0, "mae_median": 3.792207310537601, "n_mase_elements": 92160, "n_seasonal_error_zero": 0, "n_seasonal_error_nan": 0}, "relative": {"mase": 0.3930037647961648, "wql": 0.3676395081796952}}, {"config_id": "LOOP_SEATTLE__T__long", "leaderboard_key": "loop_seattle/5T/long", "dataset": "LOOP_SEATTLE/5T", "term": "long", "freq": "5T", "prediction_length": 720, "seasonality": 288, "n_variates": 1, "n_instances": 192, "domain": "Transport", "n_cohorts": 1, "metrics": {"mase": 0.6761649990417691, "wql": 0.0572653168383857, "wsql_by_level": [0.04464085282520972, 0.06137228261772506, 0.06953601879031288, 0.07232146505861785, 0.07082666909956455, 0.06575204178086193, 0.057327744747106474, 0.04516514571291398, 0.028445630913158826], "n_valid_labels": 138240, "n_masked_labels": 0, "mae_median": 4.172172207085209, "n_mase_elements": 138240, "n_seasonal_error_zero": 0, "n_seasonal_error_nan": 0}, "relative": {"mase": 0.42402706126430506, "wql": 0.38779650693166234}}, {"config_id": "LOOP_SEATTLE__H__short", "leaderboard_key": "loop_seattle/H/short", "dataset": "LOOP_SEATTLE/H", "term": "short", "freq": "H", "prediction_length": 48, "seasonality": 24, "n_variates": 1, "n_instances": 192, "domain": "Transport", "n_cohorts": 1, "metrics": {"mase": 0.6765087096621438, "wql": 0.043084712418972035, "wsql_by_level": [0.03528189165819572, 0.04652347491581842, 0.05148850420576167, 0.05320583232573008, 0.05219769809306395, 0.04947828167100879, 0.04395338924341385, 0.03450724079183582, 0.021126098865920005], "n_valid_labels": 9216, "n_masked_labels": 0, "mae_median": 3.1703119290889137, "n_mase_elements": 9216, "n_seasonal_error_zero": 0, "n_seasonal_error_nan": 0}, "relative": {"mase": 0.3365815681101067, "wql": 0.3199350052903054}}, {"config_id": "LOOP_SEATTLE__H__medium", "leaderboard_key": "loop_seattle/H/medium", "dataset": "LOOP_SEATTLE/H", "term": "medium", "freq": "H", "prediction_length": 480, "seasonality": 24, "n_variates": 1, "n_instances": 192, "domain": "Transport", "n_cohorts": 1, "metrics": {"mase": 0.7292184192203195, "wql": 0.05217279238334474, "wsql_by_level": [0.04425665343251407, 0.05828015503094614, 0.0639051096731201, 0.06473293891349434, 0.062383728766628496, 0.05750692334672778, 0.05049835212803286, 0.04099334550485246, 0.026997924653786365], "n_valid_labels": 92160, "n_masked_labels": 0, "mae_median": 3.477931014522134, "n_mase_elements": 92160, "n_seasonal_error_zero": 0, "n_seasonal_error_nan": 0}, "relative": {"mase": 0.6389119611838323, "wql": 0.3503693234376778}}, {"config_id": "LOOP_SEATTLE__H__long", "leaderboard_key": "loop_seattle/H/long", "dataset": "LOOP_SEATTLE/H", "term": "long", "freq": "H", "prediction_length": 720, "seasonality": 24, "n_variates": 1, "n_instances": 192, "domain": "Transport", "n_cohorts": 1, "metrics": {"mase": 0.716336874401693, "wql": 0.05060183047334479, "wsql_by_level": [0.042326896443685355, 0.05512505028509922, 0.06045247252338499, 0.06163221696794006, 0.06009255595339377, 0.056268611642367385, 0.05016698696722147, 0.041354068187107, 0.027997615289903844], "n_valid_labels": 138240, "n_masked_labels": 0, "mae_median": 3.373641640123808, "n_mase_elements": 138240, "n_seasonal_error_zero": 0, "n_seasonal_error_nan": 0}, "relative": {"mase": 0.5728641867081193, "wql": 0.2878770265416452}}, {"config_id": "LOOP_SEATTLE__D__short", "leaderboard_key": "loop_seattle/D/short", "dataset": "LOOP_SEATTLE/D", "term": "short", "freq": "D", "prediction_length": 30, "seasonality": 1, "n_variates": 1, "n_instances": 192, "domain": "Transport", "n_cohorts": 1, "metrics": {"mase": 0.6223643606000772, "wql": 0.027812585959345843, "wsql_by_level": [0.020193561936795393, 0.028768861819276254, 0.03316673265530382, 0.03484293197107184, 0.03434676837941751, 0.032068569956341296, 0.028439043963701557, 0.023200065216247664, 0.015286737735957246], "n_valid_labels": 5760, "n_masked_labels": 0, "mae_median": 1.9391787310441335, "n_mase_elements": 5760, "n_seasonal_error_zero": 0, "n_seasonal_error_nan": 0}, "relative": {"mase": 0.5152328993290893, "wql": 0.3111097947854181}}, {"config_id": "SZ_TAXI__T__short", "leaderboard_key": "sz_taxi/15T/short", "dataset": "SZ_TAXI/15T", "term": "short", "freq": "15T", "prediction_length": 48, "seasonality": 96, "n_variates": 1, "n_instances": 156, "domain": "Transport", "n_cohorts": 1, "metrics": {"mase": 0.5228579784923939, "wql": 0.1970768936004838, "wsql_by_level": [0.10235310180573008, 0.16716537193245276, 0.21124872256221705, 0.2388910729780476, 0.2508754203710049, 0.24788375961668113, 0.22992413632960368, 0.19350285463576386, 0.13184760217285352], "n_valid_labels": 7488, "n_masked_labels": 0, "mae_median": 2.807908297890408, "n_mase_elements": 7488, "n_seasonal_error_zero": 0, "n_seasonal_error_nan": 0}, "relative": {"mase": 0.721074961455623, "wql": 0.6518174809201931}}, {"config_id": "SZ_TAXI__T__medium", "leaderboard_key": "sz_taxi/15T/medium", "dataset": "SZ_TAXI/15T", "term": "medium", "freq": "15T", "prediction_length": 480, "seasonality": 96, "n_variates": 1, "n_instances": 156, "domain": "Transport", "n_cohorts": 1, "metrics": {"mase": 0.4667788179289419, "wql": 0.19457245178550936, "wsql_by_level": [0.10116326516600097, 0.16112263364312396, 0.20181353850447256, 0.22790857986297222, 0.24114373914778028, 0.24148401288875812, 0.22849603678209912, 0.20024771765220972, 0.14777254242216753], "n_valid_labels": 74880, "n_masked_labels": 0, "mae_median": 2.6688034212137905, "n_mase_elements": 74880, "n_seasonal_error_zero": 0, "n_seasonal_error_nan": 0}, "relative": {"mase": 0.7350787932775339, "wql": 0.49685998962622685}}, {"config_id": "SZ_TAXI__T__long", "leaderboard_key": "sz_taxi/15T/long", "dataset": "SZ_TAXI/15T", "term": "long", "freq": "15T", "prediction_length": 720, "seasonality": 96, "n_variates": 1, "n_instances": 156, "domain": "Transport", "n_cohorts": 1, "metrics": {"mase": 0.4980129818863368, "wql": 0.21872471124890402, "wsql_by_level": [0.115304589447597, 0.1808413247621152, 0.2239024911223661, 0.25036149025498944, 0.2633789287653999, 0.26498570979372804, 0.2558955406474298, 0.23366484942790997, 0.18018747701860072], "n_valid_labels": 112320, "n_masked_labels": 0, "mae_median": 2.92501272927982, "n_mase_elements": 112320, "n_seasonal_error_zero": 0, "n_seasonal_error_nan": 0}, "relative": {"mase": 0.818532286161662, "wql": 0.4804784573972439}}, {"config_id": "SZ_TAXI__H__short", "leaderboard_key": "sz_taxi/H/short", "dataset": "SZ_TAXI/H", "term": "short", "freq": "H", "prediction_length": 48, "seasonality": 24, "n_variates": 1, "n_instances": 156, "domain": "Transport", "n_cohorts": 1, "metrics": {"mase": 0.4818650986186548, "wql": 0.13137636241942816, "wsql_by_level": [0.07027531157556749, 0.10955661008410027, 0.13567807139460025, 0.15209392037294905, 0.15971802754840733, 0.15941767608567592, 0.15145593641185795, 0.13686964832319354, 0.10732205997850143], "n_valid_labels": 7488, "n_masked_labels": 0, "mae_median": 1.7657058466388544, "n_mase_elements": 7488, "n_seasonal_error_zero": 0, "n_seasonal_error_nan": 0}, "relative": {"mase": 0.7916113352519928, "wql": 0.6361103130073918}}, {"config_id": "M_DENSE__H__short", "leaderboard_key": "m_dense/H/short", "dataset": "M_DENSE/H", "term": "short", "freq": "H", "prediction_length": 48, "seasonality": 24, "n_variates": 1, "n_instances": 30, "domain": "Transport", "n_cohorts": 1, "metrics": {"mase": 0.70816880088421, "wql": 0.12777595583992035, "wsql_by_level": [0.0940416557167201, 0.12730103163408915, 0.14547232558437032, 0.15496933303481944, 0.15639081556034648, 0.14938035993420723, 0.13527714716477465, 0.11226154476456596, 0.07488938916538992], "n_valid_labels": 1440, "n_masked_labels": 0, "mae_median": 98.50395038790172, "n_mase_elements": 1440, "n_seasonal_error_zero": 0, "n_seasonal_error_nan": 0}, "relative": {"mase": 0.8098302153525787, "wql": 0.6730978396901373}}, {"config_id": "M_DENSE__H__medium", "leaderboard_key": "m_dense/H/medium", "dataset": "M_DENSE/H", "term": "medium", "freq": "H", "prediction_length": 480, "seasonality": 24, "n_variates": 1, "n_instances": 30, "domain": "Transport", "n_cohorts": 1, "metrics": {"mase": 0.7813052589383122, "wql": 0.13916150958667817, "wsql_by_level": [0.0839468237473706, 0.12200603082797291, 0.1442479668226164, 0.1581304855238339, 0.16666886566377695, 0.16843687032708576, 0.1611353821990735, 0.14238774187967418, 0.10549341928869949], "n_valid_labels": 14400, "n_masked_labels": 0, "mae_median": 97.8280440486802, "n_mase_elements": 14400, "n_seasonal_error_zero": 0, "n_seasonal_error_nan": 0}, "relative": {"mase": 0.6668565885084394, "wql": 0.39789275746283403}}, {"config_id": "M_DENSE__H__long", "leaderboard_key": "m_dense/H/long", "dataset": "M_DENSE/H", "term": "long", "freq": "H", "prediction_length": 720, "seasonality": 24, "n_variates": 1, "n_instances": 30, "domain": "Transport", "n_cohorts": 1, "metrics": {"mase": 1.0764692554309299, "wql": 0.17809570501739747, "wsql_by_level": [0.08815323250629209, 0.1410735540862456, 0.17854143324240113, 0.20517321300852073, 0.22310047192928828, 0.2285954304677697, 0.2190965517658008, 0.18834030598237086, 0.13078715216788814], "n_valid_labels": 21600, "n_masked_labels": 0, "mae_median": 130.75150047112393, "n_mase_elements": 21600, "n_seasonal_error_zero": 0, "n_seasonal_error_nan": 0}, "relative": {"mase": 0.9962526555087059, "wql": 0.4636470652582325}}, {"config_id": "M_DENSE__D__short", "leaderboard_key": "m_dense/D/short", "dataset": "M_DENSE/D", "term": "short", "freq": "D", "prediction_length": 30, "seasonality": 1, "n_variates": 1, "n_instances": 30, "domain": "Transport", "n_cohorts": 1, "metrics": {"mase": 1.033643950960055, "wql": 0.09542454774756803, "wsql_by_level": [0.06347547236550455, 0.09393188407318352, 0.11335914009161366, 0.12391438627455373, 0.12531051830391837, 0.1169795823579093, 0.10132838913546541, 0.07562780002886973, 0.04489375709709404], "n_valid_labels": 900, "n_masked_labels": 0, "mae_median": 73.44017768436008, "n_mase_elements": 900, "n_seasonal_error_zero": 0, "n_seasonal_error_nan": 0}, "relative": {"mase": 1.025757335852437, "wql": 0.47901057475682746}}, {"config_id": "ett1__T__short", "leaderboard_key": "ett1/15T/short", "dataset": "ett1/15T", "term": "short", "freq": "15T", "prediction_length": 48, "seasonality": 96, "n_variates": 7, "n_instances": 1, "domain": "Energy", "n_cohorts": 1, "metrics": {"mase": 0.7877373638727412, "wql": 0.27766561273673457, "wsql_by_level": [0.17115798799986884, 0.26325074213497096, 0.31732494743666456, 0.3486148190888516, 0.35724245077913813, 0.35352405536602427, 0.31859189379715164, 0.24150481804585935, 0.12777879998208178], "n_valid_labels": 336, "n_masked_labels": 0, "mae_median": 1.3056446033006068, "n_mase_elements": 336, "n_seasonal_error_zero": 0, "n_seasonal_error_nan": 0}, "relative": {"mase": 0.6534624112178543, "wql": 0.577214746526443}}, {"config_id": "ett1__T__medium", "leaderboard_key": "ett1/15T/medium", "dataset": "ett1/15T", "term": "medium", "freq": "15T", "prediction_length": 480, "seasonality": 96, "n_variates": 7, "n_instances": 1, "domain": "Energy", "n_cohorts": 1, "metrics": {"mase": 0.9498380421522724, "wql": 0.3705354577532055, "wsql_by_level": [0.18479904170851444, 0.3262891631785495, 0.43720298942516617, 0.4902123894444339, 0.49835194618526213, 0.4725493348123783, 0.410498000302961, 0.3181601290123875, 0.19675612570919634], "n_valid_labels": 3360, "n_masked_labels": 0, "mae_median": 1.6250812006056377, "n_mase_elements": 3360, "n_seasonal_error_zero": 0, "n_seasonal_error_nan": 0}, "relative": {"mase": 1.2262810923768237, "wql": 0.8446611031596755}}, {"config_id": "ett1__T__long", "leaderboard_key": "ett1/15T/long", "dataset": "ett1/15T", "term": "long", "freq": "15T", "prediction_length": 720, "seasonality": 96, "n_variates": 7, "n_instances": 1, "domain": "Energy", "n_cohorts": 1, "metrics": {"mase": 1.307144751187593, "wql": 0.484231353164451, "wsql_by_level": [0.32044519379308123, 0.4796127755126053, 0.5892257298256933, 0.6426452886050719, 0.6392561091822294, 0.5873755132834569, 0.49750931033550294, 0.37792387166450886, 0.22408838627790922], "n_valid_labels": 5040, "n_masked_labels": 0, "mae_median": 2.1915924136447886, "n_mase_elements": 5040, "n_seasonal_error_zero": 0, "n_seasonal_error_nan": 0}, "relative": {"mase": 0.9849832397532534, "wql": 0.8353424856889321}}, {"config_id": "ett1__H__short", "leaderboard_key": "ett1/H/short", "dataset": "ett1/H", "term": "short", "freq": "H", "prediction_length": 48, "seasonality": 24, "n_variates": 7, "n_instances": 1, "domain": "Energy", "n_cohorts": 1, "metrics": {"mase": 0.7726356581245624, "wql": 0.34251968289765683, "wsql_by_level": [0.19759934766088905, 0.3031639190338136, 0.3731717231822459, 0.42378386420456776, 0.44475795105448696, 0.44057830291431305, 0.40092626065039877, 0.31933512444671125, 0.17936065293148531], "n_valid_labels": 336, "n_masked_labels": 0, "mae_median": 5.374857471989734, "n_mase_elements": 336, "n_seasonal_error_zero": 0, "n_seasonal_error_nan": 0}, "relative": {"mase": 0.7399586764835896, "wql": 0.6790479669247866}}, {"config_id": "ett1__H__medium", "leaderboard_key": "ett1/H/medium", "dataset": "ett1/H", "term": "medium", "freq": "H", "prediction_length": 480, "seasonality": 24, "n_variates": 7, "n_instances": 1, "domain": "Energy", "n_cohorts": 1, "metrics": {"mase": 1.3991428670417723, "wql": 0.4332363035852189, "wsql_by_level": [0.30410618415640356, 0.4704771858545054, 0.5392114172157767, 0.5576007510909506, 0.5436870557396306, 0.5015203970655315, 0.43198146856622777, 0.33937526714055377, 0.21116700543738964], "n_valid_labels": 3360, "n_masked_labels": 0, "mae_median": 8.319531202429374, "n_mase_elements": 3360, "n_seasonal_error_zero": 0, "n_seasonal_error_nan": 0}, "relative": {"mase": 1.1434762057287606, "wql": 0.7877949971718228}}, {"config_id": "ett1__H__long", "leaderboard_key": "ett1/H/long", "dataset": "ett1/H", "term": "long", "freq": "H", "prediction_length": 720, "seasonality": 24, "n_variates": 7, "n_instances": 1, "domain": "Energy", "n_cohorts": 1, "metrics": {"mase": 1.436061394009377, "wql": 0.4187041967200971, "wsql_by_level": [0.3100586483740042, 0.47347088300421175, 0.5447297538736405, 0.5578969570024439, 0.5319711553700133, 0.4751547539889456, 0.3955262397911802, 0.2974199205118426, 0.18210945856459188], "n_valid_labels": 5040, "n_masked_labels": 0, "mae_median": 8.957151509213837, "n_mase_elements": 5040, "n_seasonal_error_zero": 0, "n_seasonal_error_nan": 0}, "relative": {"mase": 1.0027919313374156, "wql": 0.7239955943608372}}, {"config_id": "ett1__D__short", "leaderboard_key": "ett1/D/short", "dataset": "ett1/D", "term": "short", "freq": "D", "prediction_length": 30, "seasonality": 1, "n_variates": 7, "n_instances": 1, "domain": "Energy", "n_cohorts": 1, "metrics": {"mase": 1.7379944124041118, "wql": 0.33756847378928573, "wsql_by_level": [0.1620133170878742, 0.2962002627857162, 0.3988072918909074, 0.4513767846788654, 0.4528711596212441, 0.4241558967561161, 0.36387028038267033, 0.2908148576147514, 0.19800641328542687], "n_valid_labels": 210, "n_masked_labels": 0, "mae_median": 143.75229959487916, "n_mase_elements": 210, "n_seasonal_error_zero": 0, "n_seasonal_error_nan": 0}, "relative": {"mase": 0.9558890891083643, "wql": 0.6956112870175899}}, {"config_id": "ett1__W__short", "leaderboard_key": "ett1/W/short", "dataset": "ett1/W", "term": "short", "freq": "W-THU", "prediction_length": 8, "seasonality": 1, "n_variates": 7, "n_instances": 1, "domain": "Energy", "n_cohorts": 1, "metrics": {"mase": 1.0401542904755747, "wql": 0.19655578741796256, "wsql_by_level": [0.1417659685354361, 0.19202323511237912, 0.23171246827783198, 0.23833150059355862, 0.2226324734280471, 0.21453460320583057, 0.21010518507123527, 0.1822399923304321, 0.13565666020691236], "n_valid_labels": 56, "n_masked_labels": 0, "mae_median": 555.6324206760952, "n_mase_elements": 56, "n_seasonal_error_zero": 0, "n_seasonal_error_nan": 0}, "relative": {"mase": 0.8358595974022779, "wql": 0.7614204440831972}}, {"config_id": "ett2__T__short", "leaderboard_key": "ett2/15T/short", "dataset": "ett2/15T", "term": "short", "freq": "15T", "prediction_length": 48, "seasonality": 96, "n_variates": 7, "n_instances": 1, "domain": "Energy", "n_cohorts": 1, "metrics": {"mase": 1.0694336064769143, "wql": 0.1300259440329757, "wsql_by_level": [0.07024619154982942, 0.10910481518272273, 0.1369538766922629, 0.1554215670776755, 0.16554360726393702, 0.16515344449365948, 0.15417793517110404, 0.13000491823775007, 0.08362714062784012], "n_valid_labels": 336, "n_masked_labels": 0, "mae_median": 2.6415581504503884, "n_mase_elements": 336, "n_seasonal_error_zero": 0, "n_seasonal_error_nan": 0}, "relative": {"mase": 1.403778404354072, "wql": 1.3842912839493247}}, {"config_id": "ett2__T__medium", "leaderboard_key": "ett2/15T/medium", "dataset": "ett2/15T", "term": "medium", "freq": "15T", "prediction_length": 480, "seasonality": 96, "n_variates": 7, "n_instances": 1, "domain": "Energy", "n_cohorts": 1, "metrics": {"mase": 0.8013788268197071, "wql": 0.09589557037266866, "wsql_by_level": [0.062442344077559137, 0.09532673585996267, 0.11402786174212132, 0.1225096423836964, 0.12218240427468238, 0.11474202571235899, 0.1006774633802991, 0.07950371576259843, 0.051647940160739494], "n_valid_labels": 3360, "n_masked_labels": 0, "mae_median": 1.8594081902516164, "n_mase_elements": 3360, "n_seasonal_error_zero": 0, "n_seasonal_error_nan": 0}, "relative": {"mase": 0.8877389913113496, "wql": 0.7025782241924592}}, {"config_id": "ett2__T__long", "leaderboard_key": "ett2/15T/long", "dataset": "ett2/15T", "term": "long", "freq": "15T", "prediction_length": 720, "seasonality": 96, "n_variates": 7, "n_instances": 1, "domain": "Energy", "n_cohorts": 1, "metrics": {"mase": 1.0070280976302255, "wql": 0.12508008701264237, "wsql_by_level": [0.0861425888728795, 0.1261291943561307, 0.15091368842654168, 0.1631320691714223, 0.16156487527481217, 0.1485440862740269, 0.12629619158849958, 0.09799194762903372, 0.06500614152043467], "n_valid_labels": 5040, "n_masked_labels": 0, "mae_median": 2.4367197962529543, "n_mase_elements": 5040, "n_seasonal_error_zero": 0, "n_seasonal_error_nan": 0}, "relative": {"mase": 0.9530875983260918, "wql": 0.7464822626784796}}, {"config_id": "ett2__H__short", "leaderboard_key": "ett2/H/short", "dataset": "ett2/H", "term": "short", "freq": "H", "prediction_length": 48, "seasonality": 24, "n_variates": 7, "n_instances": 1, "domain": "Energy", "n_cohorts": 1, "metrics": {"mase": 0.7005212020970276, "wql": 0.0760180875396463, "wsql_by_level": [0.05297798128578211, 0.07899861436753486, 0.09249208354052788, 0.09768586778808594, 0.09564036146174022, 0.08604012801734809, 0.0730743783629783, 0.06183555113359217, 0.045417821899227155], "n_valid_labels": 336, "n_masked_labels": 0, "mae_median": 5.863916364454088, "n_mase_elements": 336, "n_seasonal_error_zero": 0, "n_seasonal_error_nan": 0}, "relative": {"mase": 0.7064821802191489, "wql": 0.637125813789166}}, {"config_id": "ett2__H__medium", "leaderboard_key": "ett2/H/medium", "dataset": "ett2/H", "term": "medium", "freq": "H", "prediction_length": 480, "seasonality": 24, "n_variates": 7, "n_instances": 1, "domain": "Energy", "n_cohorts": 1, "metrics": {"mase": 2.6997179603989685, "wql": 0.26034717331086205, "wsql_by_level": [0.10473916331099253, 0.18863697282489295, 0.26186317542946996, 0.3193415719452675, 0.35743111979962355, 0.36208092114892465, 0.330859277439312, 0.2626379885729415, 0.15553436932633372], "n_valid_labels": 3360, "n_masked_labels": 0, "mae_median": 20.329321246146268, "n_mase_elements": 3360, "n_seasonal_error_zero": 0, "n_seasonal_error_nan": 0}, "relative": {"mase": 1.0191178708314248, "wql": 0.7528429238363763}}, {"config_id": "ett2__H__long", "leaderboard_key": "ett2/H/long", "dataset": "ett2/H", "term": "long", "freq": "H", "prediction_length": 720, "seasonality": 24, "n_variates": 7, "n_instances": 1, "domain": "Energy", "n_cohorts": 1, "metrics": {"mase": 3.2217239655101504, "wql": 0.3559165218046931, "wsql_by_level": [0.2900237568768538, 0.39104001404476496, 0.43848327271807586, 0.4553130903730483, 0.44681216585979033, 0.4122155914838351, 0.35228942504880745, 0.26646637709171755, 0.15060500274534422], "n_valid_labels": 5040, "n_masked_labels": 0, "mae_median": 25.212170086302315, "n_mase_elements": 5040, "n_seasonal_error_zero": 0, "n_seasonal_error_nan": 0}, "relative": {"mase": 1.0157463673452953, "wql": 0.9611658017781922}}, {"config_id": "ett2__D__short", "leaderboard_key": "ett2/D/short", "dataset": "ett2/D", "term": "short", "freq": "D", "prediction_length": 30, "seasonality": 1, "n_variates": 7, "n_instances": 1, "domain": "Energy", "n_cohorts": 1, "metrics": {"mase": 4.734661744814033, "wql": 0.32867900858724947, "wsql_by_level": [0.3016735859700118, 0.39890578527586945, 0.4314240723591547, 0.430661558111209, 0.40573626215401437, 0.3589212649061593, 0.29505514020428636, 0.21482601335951942, 0.1209073949450205], "n_valid_labels": 210, "n_masked_labels": 0, "mae_median": 548.6558208556403, "n_mase_elements": 210, "n_seasonal_error_zero": 0, "n_seasonal_error_nan": 0}, "relative": {"mase": 1.006424061452747, "wql": 1.031392816210494}}, {"config_id": "ett2__W__short", "leaderboard_key": "ett2/W/short", "dataset": "ett2/W", "term": "short", "freq": "W-THU", "prediction_length": 8, "seasonality": 1, "n_variates": 7, "n_instances": 1, "domain": "Energy", "n_cohorts": 1, "metrics": {"mase": 1.6321554468961936, "wql": 0.17309921274194798, "wsql_by_level": [0.10348270441451943, 0.17462612359193827, 0.20931293600096204, 0.22361376288623414, 0.22312351495354324, 0.20781433434280577, 0.1750220314962269, 0.14161511914865027, 0.09928238784265167], "n_valid_labels": 56, "n_masked_labels": 0, "mae_median": 2171.5529644829885, "n_mase_elements": 56, "n_seasonal_error_zero": 0, "n_seasonal_error_nan": 0}, "relative": {"mase": 0.9231329960664922, "wql": 0.8190583801256105}}, {"config_id": "jena_weather__T__short", "leaderboard_key": "jena_weather/10T/short", "dataset": "jena_weather/10T", "term": "short", "freq": "10T", "prediction_length": 48, "seasonality": 144, "n_variates": 21, "n_instances": 1, "domain": "Nature", "n_cohorts": 1, "metrics": {"mase": 0.4136366926205477, "wql": 0.01826307160877487, "wsql_by_level": [0.0066087252793233554, 0.011898878670890902, 0.015671763715629672, 0.018800183444110972, 0.021650031026221712, 0.02338061649971047, 0.024199116963668072, 0.022989197851183103, 0.01916913102823559], "n_valid_labels": 1008, "n_masked_labels": 0, "mae_median": 3.411707038030265, "n_mase_elements": 1008, "n_seasonal_error_zero": 0, "n_seasonal_error_nan": 0}, "relative": {"mase": 0.5427111850349482, "wql": 0.1336250356188434}}, {"config_id": "jena_weather__T__medium", "leaderboard_key": "jena_weather/10T/medium", "dataset": "jena_weather/10T", "term": "medium", "freq": "10T", "prediction_length": 480, "seasonality": 144, "n_variates": 21, "n_instances": 1, "domain": "Nature", "n_cohorts": 1, "metrics": {"mase": 0.8092460761827927, "wql": 0.08302469555381571, "wsql_by_level": [0.023866667411919253, 0.04969422934316776, 0.07292001673125874, 0.09019619510717572, 0.10190225442268169, 0.10859629677824016, 0.10887568558944763, 0.10266840189325654, 0.08850251270719396], "n_valid_labels": 10080, "n_masked_labels": 0, "mae_median": 17.233196419801576, "n_mase_elements": 10080, "n_seasonal_error_zero": 0, "n_seasonal_error_nan": 0}, "relative": {"mase": 0.8275817045838775, "wql": 0.3642966052609432}}, {"config_id": "jena_weather__T__long", "leaderboard_key": "jena_weather/10T/long", "dataset": "jena_weather/10T", "term": "long", "freq": "10T", "prediction_length": 720, "seasonality": 144, "n_variates": 21, "n_instances": 1, "domain": "Nature", "n_cohorts": 1, "metrics": {"mase": 0.71085785589237, "wql": 0.07753375982735178, "wsql_by_level": [0.026517810899215753, 0.05158263867650761, 0.07151602829720438, 0.08621359050795607, 0.09551192887993631, 0.0986228221593162, 0.09749944405281147, 0.09151698890186007, 0.07882258607135817], "n_valid_labels": 15120, "n_masked_labels": 0, "mae_median": 16.328159357761105, "n_mase_elements": 15120, "n_seasonal_error_zero": 0, "n_seasonal_error_nan": 0}, "relative": {"mase": 0.7849992115784338, "wql": 0.31921246064856895}}, {"config_id": "jena_weather__H__short", "leaderboard_key": "jena_weather/H/short", "dataset": "jena_weather/H", "term": "short", "freq": "H", "prediction_length": 48, "seasonality": 24, "n_variates": 21, "n_instances": 1, "domain": "Nature", "n_cohorts": 1, "metrics": {"mase": 0.501028407452742, "wql": 0.05475492069058009, "wsql_by_level": [0.021104770494709237, 0.04377233789533583, 0.057354816974309435, 0.06463419667570057, 0.06637619051863189, 0.06578395304758333, 0.06397621320592457, 0.06058291153542194, 0.04920889586760403], "n_valid_labels": 1008, "n_masked_labels": 0, "mae_median": 11.091345129694442, "n_mase_elements": 1008, "n_seasonal_error_zero": 0, "n_seasonal_error_nan": 0}, "relative": {"mase": 0.6599621484749805, "wql": 0.29836444197683304}}, {"config_id": "jena_weather__H__medium", "leaderboard_key": "jena_weather/H/medium", "dataset": "jena_weather/H", "term": "medium", "freq": "H", "prediction_length": 480, "seasonality": 24, "n_variates": 21, "n_instances": 1, "domain": "Nature", "n_cohorts": 1, "metrics": {"mase": 0.8128829413765802, "wql": 0.08957674510059367, "wsql_by_level": [0.041600030760003424, 0.07088384477188964, 0.088614759505003, 0.09871587715928565, 0.10349411265634889, 0.10705025355950666, 0.1073536633919154, 0.10222347904294532, 0.08625468505844502], "n_valid_labels": 10080, "n_masked_labels": 0, "mae_median": 17.826358951349487, "n_mase_elements": 10080, "n_seasonal_error_zero": 0, "n_seasonal_error_nan": 0}, "relative": {"mase": 0.7591849551593689, "wql": 0.246023059258878}}, {"config_id": "jena_weather__H__long", "leaderboard_key": "jena_weather/H/long", "dataset": "jena_weather/H", "term": "long", "freq": "H", "prediction_length": 720, "seasonality": 24, "n_variates": 21, "n_instances": 1, "domain": "Nature", "n_cohorts": 1, "metrics": {"mase": 0.9833592005773739, "wql": 0.11928175584415124, "wsql_by_level": [0.06021289491839813, 0.10980343022798765, 0.13527727841893505, 0.14548322832648072, 0.14471711673100054, 0.1395123022974652, 0.12994232757621146, 0.11532789130025589, 0.09325933280062645], "n_valid_labels": 15120, "n_masked_labels": 0, "mae_median": 25.224927203146795, "n_mase_elements": 15120, "n_seasonal_error_zero": 0, "n_seasonal_error_nan": 0}, "relative": {"mase": 0.658841755665935, "wql": 0.2687262784398826}}, {"config_id": "jena_weather__D__short", "leaderboard_key": "jena_weather/D/short", "dataset": "jena_weather/D", "term": "short", "freq": "D", "prediction_length": 30, "seasonality": 1, "n_variates": 21, "n_instances": 1, "domain": "Nature", "n_cohorts": 1, "metrics": {"mase": 1.4535239618710496, "wql": 0.11146099179186322, "wsql_by_level": [0.05772887196401991, 0.1000696255021768, 0.12447077518288599, 0.13643453611532597, 0.14036779213683404, 0.13622245910614034, 0.12708195479253323, 0.1064783364660867, 0.074294574860766], "n_valid_labels": 630, "n_masked_labels": 0, "mae_median": 24.466817761288073, "n_mase_elements": 630, "n_seasonal_error_zero": 0, "n_seasonal_error_nan": 0}, "relative": {"mase": 0.7823702149104226, "wql": 0.48171649762027424}}, {"config_id": "bitbrains_fast_storage__T__short", "leaderboard_key": "bitbrains_fast_storage/5T/short", "dataset": "bitbrains_fast_storage/5T", "term": "short", "freq": "5T", "prediction_length": 48, "seasonality": 288, "n_variates": 2, "n_instances": 192, "domain": "Web/CloudOps", "n_cohorts": 1, "metrics": {"mase": 0.6396329283345135, "wql": 0.4893255945916352, "wsql_by_level": [0.20707631155256367, 0.3426775091737015, 0.44425791785215585, 0.5136279327329788, 0.569970469171546, 0.6190315287681786, 0.6357219087280306, 0.5964443919918374, 0.4751223813537247], "n_valid_labels": 16726, "n_masked_labels": 1706, "mae_median": 135.9774617170374, "n_mase_elements": 16078, "n_seasonal_error_zero": 12, "n_seasonal_error_nan": 4}, "relative": {"mase": 0.4336113552721743, "wql": 0.19973415252734247}}, {"config_id": "bitbrains_fast_storage__T__medium", "leaderboard_key": "bitbrains_fast_storage/5T/medium", "dataset": "bitbrains_fast_storage/5T", "term": "medium", "freq": "5T", "prediction_length": 480, "seasonality": 288, "n_variates": 2, "n_instances": 192, "domain": "Web/CloudOps", "n_cohorts": 1, "metrics": {"mase": 1.2823505350856539, "wql": 0.9204756719991529, "wsql_by_level": [0.7068885439884177, 1.2199587038249335, 1.2986491543478493, 1.242500227271508, 1.1296531051462149, 0.9783808120520179, 0.797424797059384, 0.5826653607547148, 0.3281603435473359], "n_valid_labels": 173366, "n_masked_labels": 10954, "mae_median": 531.1822922052705, "n_mase_elements": 169900, "n_seasonal_error_zero": 2, "n_seasonal_error_nan": 20}, "relative": {"mase": 0.8995106320827394, "wql": 0.922140110905034}}, {"config_id": "bitbrains_fast_storage__T__long", "leaderboard_key": "bitbrains_fast_storage/5T/long", "dataset": "bitbrains_fast_storage/5T", "term": "long", "freq": "5T", "prediction_length": 720, "seasonality": 288, "n_variates": 2, "n_instances": 192, "domain": "Web/CloudOps", "n_cohorts": 1, "metrics": {"mase": 1.003057003333043, "wql": 0.4342224496133564, "wsql_by_level": [0.23793413043329423, 0.4048407657343644, 0.49331326145922405, 0.5436802338256669, 0.5607834178723312, 0.5400986043326984, 0.4897609579905021, 0.3945289451674268, 0.24306172970469872], "n_valid_labels": 263236, "n_masked_labels": 13244, "mae_median": 455.6692861078686, "n_mase_elements": 252350, "n_seasonal_error_zero": 12, "n_seasonal_error_nan": 12}, "relative": {"mase": 0.8278558454895827, "wql": 0.6744046853095246}}, {"config_id": "bitbrains_fast_storage__H__short", "leaderboard_key": "bitbrains_fast_storage/H/short", "dataset": "bitbrains_fast_storage/H", "term": "short", "freq": "H", "prediction_length": 48, "seasonality": 24, "n_variates": 2, "n_instances": 192, "domain": "Web/CloudOps", "n_cohorts": 1, "metrics": {"mase": 1.566240723083086, "wql": 0.460430501484308, "wsql_by_level": [0.3284192317937252, 0.5271802482699615, 0.5968982554258156, 0.6041513004765608, 0.5733865939898345, 0.5132410217013492, 0.4367964799587199, 0.3447941864604242, 0.21900719528238058], "n_valid_labels": 17892, "n_masked_labels": 540, "mae_median": 397.57576030244593, "n_mase_elements": 17316, "n_seasonal_error_zero": 12, "n_seasonal_error_nan": 6}, "relative": {"mase": 0.9109722316466803, "wql": 0.766521326783759}}, {"config_id": "bitbrains_rnd__T__short", "leaderboard_key": "bitbrains_rnd/5T/short", "dataset": "bitbrains_rnd/5T", "term": "short", "freq": "5T", "prediction_length": 48, "seasonality": 288, "n_variates": 2, "n_instances": 192, "domain": "Web/CloudOps", "n_cohorts": 1, "metrics": {"mase": 0.5211174300914677, "wql": 0.19250376266775776, "wsql_by_level": [0.11130984871831118, 0.16474338601595379, 0.1979934855669115, 0.21911239798363313, 0.22465474438653157, 0.22210064241016592, 0.21243437961395384, 0.20082723783963055, 0.17935774147472835], "n_valid_labels": 17856, "n_masked_labels": 576, "mae_median": 102.21508052536883, "n_mase_elements": 17376, "n_seasonal_error_zero": 10, "n_seasonal_error_nan": 12}, "relative": {"mase": 0.634958543756279, "wql": 0.20032237276725073}}, {"config_id": "bitbrains_rnd__T__medium", "leaderboard_key": "bitbrains_rnd/5T/medium", "dataset": "bitbrains_rnd/5T", "term": "medium", "freq": "5T", "prediction_length": 480, "seasonality": 288, "n_variates": 2, "n_instances": 192, "domain": "Web/CloudOps", "n_cohorts": 1, "metrics": {"mase": 0.9277904693654061, "wql": 0.8123310042815085, "wsql_by_level": [0.3793326641892228, 0.7323109225631247, 0.8980399863374966, 0.9736284030250074, 0.9945762735485142, 0.9695789961224563, 0.9065584121238849, 0.8071500210131923, 0.6498033596106778], "n_valid_labels": 179348, "n_masked_labels": 4972, "mae_median": 312.3318546654097, "n_mase_elements": 176510, "n_seasonal_error_zero": 2, "n_seasonal_error_nan": 8}, "relative": {"mase": 0.8958969667427079, "wql": 0.8584347201196296}}, {"config_id": "bitbrains_rnd__T__long", "leaderboard_key": "bitbrains_rnd/5T/long", "dataset": "bitbrains_rnd/5T", "term": "long", "freq": "5T", "prediction_length": 720, "seasonality": 288, "n_variates": 2, "n_instances": 192, "domain": "Web/CloudOps", "n_cohorts": 1, "metrics": {"mase": 0.8388015954178812, "wql": 0.8515044254818762, "wsql_by_level": [0.4453629273731855, 0.6063950180783263, 0.7172052349133586, 0.8185647701585127, 0.912490397348722, 1.0057434139863084, 1.0799059574881968, 1.1114984838279558, 0.96637362616232], "n_valid_labels": 262774, "n_masked_labels": 13706, "mae_median": 239.42580187128624, "n_mase_elements": 256386, "n_seasonal_error_zero": 2, "n_seasonal_error_nan": 22}, "relative": {"mase": 0.8795781411608433, "wql": 0.7119784512335846}}, {"config_id": "bitbrains_rnd__H__short", "leaderboard_key": "bitbrains_rnd/H/short", "dataset": "bitbrains_rnd/H", "term": "short", "freq": "H", "prediction_length": 48, "seasonality": 24, "n_variates": 2, "n_instances": 192, "domain": "Web/CloudOps", "n_cohorts": 1, "metrics": {"mase": 0.7868212161796346, "wql": 0.6295687211926445, "wsql_by_level": [0.15042726171777046, 0.31537820331132177, 0.5139129442012994, 0.6825863404660105, 0.8273207875925015, 0.8954290416125545, 0.8778721210277796, 0.802465268498955, 0.6007265223056075], "n_valid_labels": 18028, "n_masked_labels": 404, "mae_median": 320.7036235593324, "n_mase_elements": 17472, "n_seasonal_error_zero": 4, "n_seasonal_error_nan": 16}, "relative": {"mase": 0.6557939572938044, "wql": 0.6541876308215867}}, {"config_id": "bizitobs_application__S__short", "leaderboard_key": "bizitobs_application/10S/short", "dataset": "bizitobs_application", "term": "short", "freq": "10S", "prediction_length": 60, "seasonality": 360, "n_variates": 2, "n_instances": 1, "domain": "Web/CloudOps", "n_cohorts": 1, "metrics": {"mase": 0.5365259750149728, "wql": 0.009654993860777627, "wsql_by_level": [0.005724845362497532, 0.00920887429438802, 0.011466729962842885, 0.01266084206423771, 0.012951872384924368, 0.012313010096105564, 0.010544246709686766, 0.00775752984075642, 0.004266994031559382], "n_valid_labels": 120, "n_masked_labels": 0, "mae_median": 335.13487946192424, "n_mase_elements": 120, "n_seasonal_error_zero": 0, "n_seasonal_error_nan": 0}, "relative": {"mase": 0.38500187920526924, "wql": 0.52459756299694}}, {"config_id": "bizitobs_application__S__medium", "leaderboard_key": "bizitobs_application/10S/medium", "dataset": "bizitobs_application", "term": "medium", "freq": "10S", "prediction_length": 600, "seasonality": 360, "n_variates": 2, "n_instances": 1, "domain": "Web/CloudOps", "n_cohorts": 1, "metrics": {"mase": 0.670653392134585, "wql": 0.008981826130304946, "wsql_by_level": [0.0053366038757372, 0.008049966794615416, 0.00992207713123076, 0.011052931794968844, 0.01154130838274721, 0.011256373314944335, 0.010204657507417605, 0.008291323572934061, 0.005181192798149096], "n_valid_labels": 1200, "n_masked_labels": 0, "mae_median": 276.3001642068227, "n_mase_elements": 1200, "n_seasonal_error_zero": 0, "n_seasonal_error_nan": 0}, "relative": {"mase": 0.7302938272520174, "wql": 0.6535816313232373}}, {"config_id": "bizitobs_application__S__long", "leaderboard_key": "bizitobs_application/10S/long", "dataset": "bizitobs_application", "term": "long", "freq": "10S", "prediction_length": 900, "seasonality": 360, "n_variates": 2, "n_instances": 1, "domain": "Web/CloudOps", "n_cohorts": 1, "metrics": {"mase": 0.7073717633687269, "wql": 0.00936897182344085, "wsql_by_level": [0.0056248523183692915, 0.008790223831655883, 0.010743770191326657, 0.011757188151021558, 0.011915729308279865, 0.011455608273473097, 0.010329936196961464, 0.008389199827276088, 0.00531423831260375], "n_valid_labels": 1800, "n_masked_labels": 0, "mae_median": 290.33115371280246, "n_mase_elements": 1800, "n_seasonal_error_zero": 0, "n_seasonal_error_nan": 0}, "relative": {"mase": 0.9447672897600948, "wql": 0.7238819059421883}}, {"config_id": "bizitobs_service__S__short", "leaderboard_key": "bizitobs_service/10S/short", "dataset": "bizitobs_service", "term": "short", "freq": "10S", "prediction_length": 60, "seasonality": 360, "n_variates": 2, "n_instances": 21, "domain": "Web/CloudOps", "n_cohorts": 1, "metrics": {"mase": 0.5056253458415603, "wql": 0.008997030137135983, "wsql_by_level": [0.005544246292032471, 0.008735699680501302, 0.01078215627564844, 0.011832983659387085, 0.012001755131681273, 0.011368232217467607, 0.009836286187428203, 0.007227603780454877, 0.0036443080096225976], "n_valid_labels": 2520, "n_masked_labels": 0, "mae_median": 16.092892949141206, "n_mase_elements": 2520, "n_seasonal_error_zero": 0, "n_seasonal_error_nan": 0}, "relative": {"mase": 0.4788533738841219, "wql": 0.352616776583892}}, {"config_id": "bizitobs_service__S__medium", "leaderboard_key": "bizitobs_service/10S/medium", "dataset": "bizitobs_service", "term": "medium", "freq": "10S", "prediction_length": 600, "seasonality": 360, "n_variates": 2, "n_instances": 21, "domain": "Web/CloudOps", "n_cohorts": 1, "metrics": {"mase": 0.6760128108560223, "wql": 0.00981458802096833, "wsql_by_level": [0.0060991305699777745, 0.009245982524425041, 0.011209319536050581, 0.012253208488651208, 0.012497058851992919, 0.012008801468687425, 0.010785806750653507, 0.00873847968665123, 0.0054935043116252965], "n_valid_labels": 25200, "n_masked_labels": 0, "mae_median": 15.762687789265598, "n_mase_elements": 25200, "n_seasonal_error_zero": 0, "n_seasonal_error_nan": 0}, "relative": {"mase": 0.7081158524164899, "wql": 0.4174036444620968}}, {"config_id": "bizitobs_service__S__long", "leaderboard_key": "bizitobs_service/10S/long", "dataset": "bizitobs_service", "term": "long", "freq": "10S", "prediction_length": 900, "seasonality": 360, "n_variates": 2, "n_instances": 21, "domain": "Web/CloudOps", "n_cohorts": 1, "metrics": {"mase": 0.7411342906991989, "wql": 0.010556989822489177, "wsql_by_level": [0.006410213440200779, 0.009894457883444204, 0.012035222781647042, 0.013195692023143005, 0.013489119352055726, 0.013023600495377506, 0.011666882061255542, 0.009323164267890002, 0.0059745560973887835], "n_valid_labels": 37800, "n_masked_labels": 0, "mae_median": 17.23687046433836, "n_mase_elements": 37800, "n_seasonal_error_zero": 0, "n_seasonal_error_nan": 0}, "relative": {"mase": 0.8911148567780734, "wql": 0.4458379328384122}}, {"config_id": "bizitobs_l2c__T__short", "leaderboard_key": "bizitobs_l2c/5T/short", "dataset": "bizitobs_l2c/5T", "term": "short", "freq": "5T", "prediction_length": 48, "seasonality": 288, "n_variates": 7, "n_instances": 1, "domain": "Web/CloudOps", "n_cohorts": 1, "metrics": {"mase": 0.18322311795554455, "wql": 0.054518895403781596, "wsql_by_level": [0.036908051629222303, 0.055444112480953024, 0.06565553562335827, 0.06940281424515697, 0.06840994660832993, 0.06426975462043978, 0.0553060782947343, 0.04397503126257423, 0.031298733869265495], "n_valid_labels": 336, "n_masked_labels": 0, "mae_median": 1.7574006347429185, "n_mase_elements": 336, "n_seasonal_error_zero": 0, "n_seasonal_error_nan": 0}, "relative": {"mase": 0.2372922751834896, "wql": 0.24675367177697805}}, {"config_id": "bizitobs_l2c__T__medium", "leaderboard_key": "bizitobs_l2c/5T/medium", "dataset": "bizitobs_l2c/5T", "term": "medium", "freq": "5T", "prediction_length": 480, "seasonality": 288, "n_variates": 7, "n_instances": 1, "domain": "Web/CloudOps", "n_cohorts": 1, "metrics": {"mase": 0.4610753969735693, "wql": 0.1528605630177465, "wsql_by_level": [0.12384610134301514, 0.1678060742527983, 0.18818114349117637, 0.18628440521650788, 0.1788416975151349, 0.17203827233629065, 0.15227199762905824, 0.11956653494393596, 0.08690884043180094], "n_valid_labels": 3360, "n_masked_labels": 0, "mae_median": 3.9802337528694243, "n_mase_elements": 3360, "n_seasonal_error_zero": 0, "n_seasonal_error_nan": 0}, "relative": {"mase": 0.3198153451739089, "wql": 0.324605479579304}}, {"config_id": "bizitobs_l2c__T__long", "leaderboard_key": "bizitobs_l2c/5T/long", "dataset": "bizitobs_l2c/5T", "term": "long", "freq": "5T", "prediction_length": 720, "seasonality": 288, "n_variates": 7, "n_instances": 1, "domain": "Web/CloudOps", "n_cohorts": 1, "metrics": {"mase": 0.7459196494649294, "wql": 0.28002923026495735, "wsql_by_level": [0.14189577835254674, 0.22637030369472252, 0.289039711240719, 0.3354423425265624, 0.37103875275917725, 0.37788119691475053, 0.3580260520587308, 0.27691033483740524, 0.1436586000000015], "n_valid_labels": 5040, "n_masked_labels": 0, "mae_median": 6.787637180119517, "n_mase_elements": 5040, "n_seasonal_error_zero": 0, "n_seasonal_error_nan": 0}, "relative": {"mase": 0.44346423004685526, "wql": 0.41450854587151004}}, {"config_id": "bizitobs_l2c__H__short", "leaderboard_key": "bizitobs_l2c/H/short", "dataset": "bizitobs_l2c/H", "term": "short", "freq": "H", "prediction_length": 48, "seasonality": 24, "n_variates": 7, "n_instances": 1, "domain": "Web/CloudOps", "n_cohorts": 1, "metrics": {"mase": 0.7505402275148327, "wql": 0.2262536880109035, "wsql_by_level": [0.13227568214422789, 0.2326930988529389, 0.30614538883800735, 0.329868513126158, 0.3282708313225938, 0.28868459830168486, 0.20890769001996812, 0.13036976360724126, 0.07906762588531176], "n_valid_labels": 336, "n_masked_labels": 0, "mae_median": 6.868164217365639, "n_mase_elements": 336, "n_seasonal_error_zero": 0, "n_seasonal_error_nan": 0}, "relative": {"mase": 0.4736514683215731, "wql": 0.4059262777826502}}, {"config_id": "bizitobs_l2c__H__medium", "leaderboard_key": "bizitobs_l2c/H/medium", "dataset": "bizitobs_l2c/H", "term": "medium", "freq": "H", "prediction_length": 480, "seasonality": 24, "n_variates": 7, "n_instances": 1, "domain": "Web/CloudOps", "n_cohorts": 1, "metrics": {"mase": 0.35672871360610625, "wql": 0.2151929516544161, "wsql_by_level": [0.11857116283033574, 0.1845369054539126, 0.21966346683797974, 0.24345271425312393, 0.2562009800788367, 0.25523936841907074, 0.24786605846265178, 0.23175813842136378, 0.17944777013246996], "n_valid_labels": 3360, "n_masked_labels": 0, "mae_median": 3.5065599092326702, "n_mase_elements": 3360, "n_seasonal_error_zero": 0, "n_seasonal_error_nan": 0}, "relative": {"mase": 0.22075296885394705, "wql": 0.19268863222793592}}, {"config_id": "bizitobs_l2c__H__long", "leaderboard_key": "bizitobs_l2c/H/long", "dataset": "bizitobs_l2c/H", "term": "long", "freq": "H", "prediction_length": 720, "seasonality": 24, "n_variates": 7, "n_instances": 1, "domain": "Web/CloudOps", "n_cohorts": 1, "metrics": {"mase": 0.4325885606544303, "wql": 0.21763516941937858, "wsql_by_level": [0.11999215158299158, 0.19215285432455603, 0.2356988499450652, 0.2593403749509408, 0.26444359568403997, 0.25745491168733164, 0.24400614746013263, 0.21989427543055365, 0.16573336370879574], "n_valid_labels": 5040, "n_masked_labels": 0, "mae_median": 3.9954311957050646, "n_mase_elements": 5040, "n_seasonal_error_zero": 0, "n_seasonal_error_nan": 0}, "relative": {"mase": 0.3379006855428726, "wql": 0.21475638959074228}}], "cpu_seconds": 1.3254058239981532, "members": ["/workspace/research/evals/weekly_slow_ar_delta3k", "/workspace/research/evals/patch8_ema6000", "/workspace/research/evals/split_patch_ema12000"], "member_checkpoint_hashes": ["094c7c694406075967f392a0d9ac1146bac984a90ab468c59d660a1b92fa7ba2", "308389b7217c080af9eb185559d4ee3cafa0f3e0f8c4dd8f5526b68198c89988", "1a2fb20a9fb5cae6526f2e36ea47559626bece78fd9c284899836505030ae9fe"], "weights": [0.3333333333333333, 0.3333333333333333, 0.3333333333333333], "selection_only": true, "cutoff": "valid_screen", "E102skill": 0.38490788212550675, "difference": 0.0005607513307689382} +{"composition": "equal quantile mean after each member applies its own fixed rules", "skill_score": 0.34022701617855455, "rel_mase_gmean": 0.793943875648557, "rel_wql_gmean": 0.5482760224393256, "groups": {"term": {"short": 0.30679900406441385, "medium": 0.36032523598865074, "long": 0.4021215513716557}, "domain": {"Econ/Fin": 0.1721308320213788, "Energy": 0.23201167666328837, "Healthcare": 0.41340649703065946, "Nature": 0.3726147779766633, "Sales": 0.40537645795323973, "Transport": 0.3736005845535242, "Web/CloudOps": 0.4512360055080098}, "freq": {"A-DEC": 0.32618793542255464, "Q-DEC": 0.23705558696487827, "M": 0.18927345845861632, "W-SUN": 0.04774678469324367, "D": 0.3525759177381407, "H": 0.3717309606412096, "15T": 0.22268456202455988, "W-FRI": 0.23138568044707775, "10T": 0.32565055179276703, "W-TUE": 0.5626997768481531, "W-THU": 0.2588925082219147, "W-WED": 0.36108396742238325, "5T": 0.44162689257641674, "10S": 0.34789392531645824}}, "configs": [{"config_id": "m4_yearly__A__short", "leaderboard_key": "m4_yearly/A/short", "dataset": "m4_yearly", "term": "short", "freq": "A-DEC", "prediction_length": 6, "seasonality": 1, "n_variates": 1, "n_instances": 152, "domain": "Econ/Fin", "n_cohorts": 3, "skipped_series": 235, "dropped_containers": 11, "metrics": {"mase": 3.037902337626994, "wql": 0.09815505039265969, "wsql_by_level": [0.05160042192944336, 0.0811926081610661, 0.10477089379142959, 0.11816640740805852, 0.12242559934653295, 0.12257290813667518, 0.11503862092825626, 0.09804872106545864, 0.06957927276701664], "n_valid_labels": 912, "n_masked_labels": 0, "mae_median": 521.7503059788754, "n_mase_elements": 912, "n_seasonal_error_zero": 0, "n_seasonal_error_nan": 0}, "relative": {"mase": 0.6383825071799306, "wql": 0.7112079251290501}}, {"config_id": "m4_quarterly__Q__short", "leaderboard_key": "m4_quarterly/Q/short", "dataset": "m4_quarterly", "term": "short", "freq": "Q-DEC", "prediction_length": 8, "seasonality": 4, "n_variates": 1, "n_instances": 190, "domain": "Econ/Fin", "n_cohorts": 3, "dropped_containers": 95, "metrics": {"mase": 1.1658471474205265, "wql": 0.07590016082227818, "wsql_by_level": [0.04536972898090432, 0.06673398496299082, 0.0791267276623346, 0.08758012702442965, 0.09189271723631638, 0.09232417412241245, 0.08807945136398072, 0.07637413311013558, 0.05562040293699915], "n_valid_labels": 1520, "n_masked_labels": 0, "mae_median": 470.5227991405286, "n_mase_elements": 1520, "n_seasonal_error_zero": 0, "n_seasonal_error_nan": 0}, "relative": {"mase": 0.7561361981507358, "wql": 0.7698139287671926}}, {"config_id": "m4_monthly__M__short", "leaderboard_key": "m4_monthly/M/short", "dataset": "m4_monthly", "term": "short", "freq": "M", "prediction_length": 18, "seasonality": 12, "n_variates": 1, "n_instances": 192, "domain": "Econ/Fin", "n_cohorts": 3, "dropped_containers": 499, "metrics": {"mase": 0.9139769716535198, "wql": 0.0871699317752213, "wsql_by_level": [0.04608788598960208, 0.07304806082562258, 0.09096215954844103, 0.10182623614350343, 0.10779716433420318, 0.10903505271737492, 0.1032173746742856, 0.08877763366532075, 0.06377781807863801], "n_valid_labels": 3456, "n_masked_labels": 0, "mae_median": 488.5874289362519, "n_mase_elements": 3456, "n_seasonal_error_zero": 0, "n_seasonal_error_nan": 0}, "relative": {"mase": 0.7164257853065333, "wql": 0.6235116787717548}}, {"config_id": "m4_weekly__W__short", "leaderboard_key": "m4_weekly/W/short", "dataset": "m4_weekly", "term": "short", "freq": "W-SUN", "prediction_length": 13, "seasonality": 1, "n_variates": 1, "n_instances": 192, "domain": "Econ/Fin", "n_cohorts": 2, "dropped_containers": 4, "metrics": {"mase": 3.1100809288727103, "wql": 0.055098038079052614, "wsql_by_level": [0.032602047194699495, 0.04785429715208218, 0.05725972722518824, 0.06333705164638065, 0.06706519071059011, 0.06758570043383451, 0.06409405578058587, 0.05605318360657813, 0.04003108896153436], "n_valid_labels": 2496, "n_masked_labels": 0, "mae_median": 336.8346457389685, "n_mase_elements": 2496, "n_seasonal_error_zero": 0, "n_seasonal_error_nan": 0}, "relative": {"mase": 1.158338248458987, "wql": 0.7828336733837569}}, {"config_id": "m4_daily__D__short", "leaderboard_key": "m4_daily/D/short", "dataset": "m4_daily", "term": "short", "freq": "D", "prediction_length": 14, "seasonality": 1, "n_variates": 1, "n_instances": 192, "domain": "Econ/Fin", "n_cohorts": 2, "dropped_containers": 23, "metrics": {"mase": 3.365311284055928, "wql": 0.01953638209252006, "wsql_by_level": [0.01299470704967311, 0.019569479837904673, 0.02314227463682247, 0.024675381709502498, 0.02471096336713756, 0.023348724884659326, 0.020517867021259475, 0.016315514473370443, 0.010552525852351015], "n_valid_labels": 2688, "n_masked_labels": 0, "mae_median": 178.2896702403114, "n_mase_elements": 2688, "n_seasonal_error_zero": 0, "n_seasonal_error_nan": 0}, "relative": {"mase": 1.147522273526741, "wql": 1.1860716967977745}}, {"config_id": "m4_hourly__H__short", "leaderboard_key": "m4_hourly/H/short", "dataset": "m4_hourly", "term": "short", "freq": "H", "prediction_length": 48, "seasonality": 24, "n_variates": 1, "n_instances": 192, "domain": "Econ/Fin", "n_cohorts": 1, "metrics": {"mase": 1.1122722486534364, "wql": 0.03736682604153149, "wsql_by_level": [0.01874741392379996, 0.03145967904991591, 0.04068737146647257, 0.0456794174593893, 0.04753805000550144, 0.04721690942603064, 0.04404922953445294, 0.03685106292326483, 0.024072300584955922], "n_valid_labels": 9216, "n_masked_labels": 0, "mae_median": 352.90519963156515, "n_mase_elements": 9216, "n_seasonal_error_zero": 0, "n_seasonal_error_nan": 0}, "relative": {"mase": 0.8953871829604685, "wql": 0.7944626922388952}}, {"config_id": "electricity__T__short", "leaderboard_key": "electricity/15T/short", "dataset": "electricity/15T", "term": "short", "freq": "15T", "prediction_length": 48, "seasonality": 96, "n_variates": 1, "n_instances": 192, "domain": "Energy", "n_cohorts": 1, "metrics": {"mase": 0.7414485035347453, "wql": 0.05874078023278089, "wsql_by_level": [0.03660522792607276, 0.054623159839400255, 0.06574675212827316, 0.07161938696534081, 0.07289646506205745, 0.0709393775615199, 0.06491803982321434, 0.05428902047892521, 0.03702959231022416], "n_valid_labels": 9216, "n_masked_labels": 0, "mae_median": 24.881237040894728, "n_mase_elements": 9168, "n_seasonal_error_zero": 1, "n_seasonal_error_nan": 0}, "relative": {"mase": 0.9007102952311252, "wql": 0.8955152027394758}}, {"config_id": "electricity__T__medium", "leaderboard_key": "electricity/15T/medium", "dataset": "electricity/15T", "term": "medium", "freq": "15T", "prediction_length": 480, "seasonality": 96, "n_variates": 1, "n_instances": 192, "domain": "Energy", "n_cohorts": 1, "metrics": {"mase": 0.8341249217131992, "wql": 0.0588387869460271, "wsql_by_level": [0.032029932243865376, 0.05030349324262281, 0.06257228393377615, 0.07028636322757713, 0.07393768470060368, 0.0734247240139721, 0.06850076640753922, 0.05820932687517861, 0.040284507869108886], "n_valid_labels": 92160, "n_masked_labels": 0, "mae_median": 42.24310534259891, "n_mase_elements": 92160, "n_seasonal_error_zero": 0, "n_seasonal_error_nan": 0}, "relative": {"mase": 0.7399527532889328, "wql": 0.6348937040939772}}, {"config_id": "electricity__T__long", "leaderboard_key": "electricity/15T/long", "dataset": "electricity/15T", "term": "long", "freq": "15T", "prediction_length": 720, "seasonality": 96, "n_variates": 1, "n_instances": 192, "domain": "Energy", "n_cohorts": 1, "metrics": {"mase": 0.7783637870874349, "wql": 0.05518133110407022, "wsql_by_level": [0.03188683872861633, 0.048383447963460495, 0.05900291425963093, 0.06546503930631685, 0.06854103198610194, 0.06818039746638782, 0.06368531022730614, 0.05412012180224378, 0.03736687819656763], "n_valid_labels": 138240, "n_masked_labels": 0, "mae_median": 44.27354983369999, "n_mase_elements": 137520, "n_seasonal_error_zero": 1, "n_seasonal_error_nan": 0}, "relative": {"mase": 0.7682049221663798, "wql": 0.6060938006492076}}, {"config_id": "electricity__H__short", "leaderboard_key": "electricity/H/short", "dataset": "electricity/H", "term": "short", "freq": "H", "prediction_length": 48, "seasonality": 24, "n_variates": 1, "n_instances": 192, "domain": "Energy", "n_cohorts": 1, "metrics": {"mase": 1.005195247495848, "wql": 0.1076856363194789, "wsql_by_level": [0.056397069100389094, 0.08542071182630076, 0.10586568127503418, 0.12027328825594023, 0.12946795446135537, 0.13311199502313206, 0.12999302041997104, 0.1175107840454948, 0.0911302224676928], "n_valid_labels": 9216, "n_masked_labels": 0, "mae_median": 469.98805135850694, "n_mase_elements": 9216, "n_seasonal_error_zero": 0, "n_seasonal_error_nan": 0}, "relative": {"mase": 0.9662502361868567, "wql": 0.9473149320482348}}, {"config_id": "electricity__H__medium", "leaderboard_key": "electricity/H/medium", "dataset": "electricity/H", "term": "medium", "freq": "H", "prediction_length": 480, "seasonality": 24, "n_variates": 1, "n_instances": 191, "domain": "Energy", "n_cohorts": 1, "metrics": {"mase": 1.278985998725151, "wql": 0.08168963046658351, "wsql_by_level": [0.038246727237136076, 0.06055069824767401, 0.07688735765720536, 0.08883191357429941, 0.09690449614467006, 0.10127365248392153, 0.100903593259357, 0.09422247612259164, 0.07738575947239647], "n_valid_labels": 91680, "n_masked_labels": 0, "mae_median": 167.4791256503792, "n_mase_elements": 91680, "n_seasonal_error_zero": 0, "n_seasonal_error_nan": 0}, "relative": {"mase": 0.8050794219396586, "wql": 0.6818928301208295}}, {"config_id": "electricity__H__long", "leaderboard_key": "electricity/H/long", "dataset": "electricity/H", "term": "long", "freq": "H", "prediction_length": 720, "seasonality": 24, "n_variates": 1, "n_instances": 192, "domain": "Energy", "n_cohorts": 1, "metrics": {"mase": 1.005989986542046, "wql": 0.0717512335841778, "wsql_by_level": [0.049766060526332916, 0.0693342995653751, 0.08060650327958628, 0.08627758903474247, 0.0875531085760828, 0.0847966155464082, 0.07769951011733353, 0.06513523172470284, 0.04459218388703604], "n_valid_labels": 138240, "n_masked_labels": 0, "mae_median": 167.4959181247693, "n_mase_elements": 138240, "n_seasonal_error_zero": 0, "n_seasonal_error_nan": 0}, "relative": {"mase": 0.8444221392598532, "wql": 0.49822417172241473}}, {"config_id": "electricity__D__short", "leaderboard_key": "electricity/D/short", "dataset": "electricity/D", "term": "short", "freq": "D", "prediction_length": 30, "seasonality": 1, "n_variates": 1, "n_instances": 192, "domain": "Energy", "n_cohorts": 1, "metrics": {"mase": 1.1917353430285285, "wql": 0.05653707378588931, "wsql_by_level": [0.028734693953438258, 0.046048837523563535, 0.0540482446124841, 0.06007380156021994, 0.06768452994506077, 0.07239000603555543, 0.07146735784754593, 0.06328271681240813, 0.045103475782727644], "n_valid_labels": 5760, "n_masked_labels": 0, "mae_median": 4460.843291813383, "n_mase_elements": 5760, "n_seasonal_error_zero": 0, "n_seasonal_error_nan": 0}, "relative": {"mase": 0.9078475373444427, "wql": 0.7012293467791362}}, {"config_id": "electricity__W__short", "leaderboard_key": "electricity/W/short", "dataset": "electricity/W", "term": "short", "freq": "W-FRI", "prediction_length": 8, "seasonality": 1, "n_variates": 1, "n_instances": 191, "domain": "Energy", "n_cohorts": 1, "metrics": {"mase": 1.1478089106300988, "wql": 0.05751283904096939, "wsql_by_level": [0.042071013341648984, 0.06220590585953188, 0.07164510277304512, 0.07673931931529472, 0.0740760284170807, 0.06473270874411347, 0.045854636942121274, 0.04171226851328447, 0.03857856746260389], "n_valid_labels": 1528, "n_masked_labels": 0, "mae_median": 34350.672626595224, "n_mase_elements": 1528, "n_seasonal_error_zero": 0, "n_seasonal_error_nan": 0}, "relative": {"mase": 0.8916680515190532, "wql": 0.7078612687253304}}, {"config_id": "solar__T__short", "leaderboard_key": "solar/10T/short", "dataset": "solar/10T", "term": "short", "freq": "10T", "prediction_length": 48, "seasonality": 144, "n_variates": 1, "n_instances": 137, "domain": "Energy", "n_cohorts": 1, "metrics": {"mase": 2.2569681674637607, "wql": 0.27450083346814824, "wsql_by_level": [0.17580773794424964, 0.26214253166540347, 0.30958668541568485, 0.3326243908805928, 0.3385805727016281, 0.3285689033235246, 0.3036853577440995, 0.2542765365056289, 0.16523478503252242], "n_valid_labels": 6576, "n_masked_labels": 0, "mae_median": 4.793607888196044, "n_mase_elements": 6576, "n_seasonal_error_zero": 0, "n_seasonal_error_nan": 0}, "relative": {"mase": 0.7899645662054536, "wql": 0.7814825817695297}}, {"config_id": "solar__T__medium", "leaderboard_key": "solar/10T/medium", "dataset": "solar/10T", "term": "medium", "freq": "10T", "prediction_length": 480, "seasonality": 144, "n_variates": 1, "n_instances": 137, "domain": "Energy", "n_cohorts": 1, "metrics": {"mase": 1.411404056768297, "wql": 0.4897848466734051, "wsql_by_level": [0.339130686589927, 0.5559608554346483, 0.6400826123950002, 0.6509103069605772, 0.6176635830074539, 0.5558985852383285, 0.46434349103858485, 0.3527329145514503, 0.23134058484467496], "n_valid_labels": 65760, "n_masked_labels": 0, "mae_median": 3.0150506714476757, "n_mase_elements": 65760, "n_seasonal_error_zero": 0, "n_seasonal_error_nan": 0}, "relative": {"mase": 0.8376883417448442, "wql": 0.6607978423819508}}, {"config_id": "solar__T__long", "leaderboard_key": "solar/10T/long", "dataset": "solar/10T", "term": "long", "freq": "10T", "prediction_length": 720, "seasonality": 144, "n_variates": 1, "n_instances": 137, "domain": "Energy", "n_cohorts": 1, "metrics": {"mase": 1.430149138591592, "wql": 0.5495577844671765, "wsql_by_level": [0.4157401410782553, 0.6083748609468729, 0.6967427243138244, 0.7227016883592806, 0.7000813698397036, 0.6349690598273663, 0.5349107411605489, 0.39991406028280785, 0.23258541439592897], "n_valid_labels": 98640, "n_masked_labels": 0, "mae_median": 3.0458078342487633, "n_mase_elements": 98640, "n_seasonal_error_zero": 0, "n_seasonal_error_nan": 0}, "relative": {"mase": 0.964859187184016, "wql": 0.657464015239788}}, {"config_id": "solar__H__short", "leaderboard_key": "solar/H/short", "dataset": "solar/H", "term": "short", "freq": "H", "prediction_length": 48, "seasonality": 24, "n_variates": 1, "n_instances": 137, "domain": "Energy", "n_cohorts": 1, "metrics": {"mase": 0.6032989531688455, "wql": 0.1562461810465075, "wsql_by_level": [0.1269083400787946, 0.16975321749136202, 0.1870554715552497, 0.19526095379716882, 0.19537370345968197, 0.1804040518453034, 0.15323976337516274, 0.11880742989820889, 0.07941269791763558], "n_valid_labels": 6576, "n_masked_labels": 0, "mae_median": 8.069525182930924, "n_mase_elements": 6576, "n_seasonal_error_zero": 0, "n_seasonal_error_nan": 0}, "relative": {"mase": 0.9112658674603129, "wql": 0.4977486438341271}}, {"config_id": "solar__H__medium", "leaderboard_key": "solar/H/medium", "dataset": "solar/H", "term": "medium", "freq": "H", "prediction_length": 480, "seasonality": 24, "n_variates": 1, "n_instances": 137, "domain": "Energy", "n_cohorts": 1, "metrics": {"mase": 0.8298881294707111, "wql": 0.20765944252671026, "wsql_by_level": [0.13702955611790757, 0.20442243059967066, 0.24086463443054604, 0.2603003402361452, 0.26689643592954443, 0.25744601781061316, 0.2300159089787736, 0.1781150671560422, 0.09384459148114953], "n_valid_labels": 65760, "n_masked_labels": 0, "mae_median": 11.036797324489177, "n_mase_elements": 65760, "n_seasonal_error_zero": 0, "n_seasonal_error_nan": 0}, "relative": {"mase": 0.6338663004639878, "wql": 0.30866947754193164}}, {"config_id": "solar__H__long", "leaderboard_key": "solar/H/long", "dataset": "solar/H", "term": "long", "freq": "H", "prediction_length": 720, "seasonality": 24, "n_variates": 1, "n_instances": 137, "domain": "Energy", "n_cohorts": 1, "metrics": {"mase": 0.8664748980834234, "wql": 0.24149192208142528, "wsql_by_level": [0.20212932324840507, 0.26476239855549133, 0.29158481759233384, 0.2990499375543338, 0.29371152501441994, 0.2763990815201093, 0.2440782241170833, 0.19064763041624877, 0.11106436071440225], "n_valid_labels": 98640, "n_masked_labels": 0, "mae_median": 11.45228937594979, "n_mase_elements": 98640, "n_seasonal_error_zero": 0, "n_seasonal_error_nan": 0}, "relative": {"mase": 0.9187700921037038, "wql": 0.31406052602147916}}, {"config_id": "solar__D__short", "leaderboard_key": "solar/D/short", "dataset": "solar/D", "term": "short", "freq": "D", "prediction_length": 30, "seasonality": 1, "n_variates": 1, "n_instances": 137, "domain": "Energy", "n_cohorts": 1, "metrics": {"mase": 0.8662851913167189, "wql": 0.18096753724081802, "wsql_by_level": [0.13449481850277614, 0.2025700781264022, 0.23433717425007533, 0.24304762270253996, 0.23482219503100754, 0.21122660012807895, 0.17501660705638253, 0.12582756656144395, 0.06736517280865549], "n_valid_labels": 4110, "n_masked_labels": 0, "mae_median": 219.74637008444236, "n_mase_elements": 4110, "n_seasonal_error_zero": 0, "n_seasonal_error_nan": 0}, "relative": {"mase": 0.9695104857715756, "wql": 0.46212316645231355}}, {"config_id": "solar__W__short", "leaderboard_key": "solar/W/short", "dataset": "solar/W", "term": "short", "freq": "W-FRI", "prediction_length": 8, "seasonality": 1, "n_variates": 1, "n_instances": 137, "domain": "Energy", "n_cohorts": 1, "metrics": {"mase": 0.4968143843922421, "wql": 0.07159665674111809, "wsql_by_level": [0.08119457306313575, 0.08510824224183965, 0.07550284183365813, 0.06882739354028107, 0.0698621354913643, 0.0725424822367246, 0.07162788277173564, 0.06606170669939873, 0.05364265279192507], "n_valid_labels": 1096, "n_masked_labels": 0, "mae_median": 491.3424066696724, "n_mase_elements": 1096, "n_seasonal_error_zero": 0, "n_seasonal_error_nan": 0}, "relative": {"mase": 0.8469430211434178, "wql": 0.6528724385888193}}, {"config_id": "hospital__M__short", "leaderboard_key": "hospital/M/short", "dataset": "hospital", "term": "short", "freq": "M", "prediction_length": 12, "seasonality": 12, "n_variates": 1, "n_instances": 192, "domain": "Healthcare", "n_cohorts": 1, "metrics": {"mase": 0.8481243709218815, "wql": 0.0665162351031477, "wsql_by_level": [0.03760282071491459, 0.05621833396756983, 0.06829957085769918, 0.0773011330794918, 0.08258827118115555, 0.08398543271819885, 0.07980048778138711, 0.06773460883029214, 0.045115456797620405], "n_valid_labels": 2304, "n_masked_labels": 0, "mae_median": 29.84849091122548, "n_mase_elements": 2304, "n_seasonal_error_zero": 0, "n_seasonal_error_nan": 0}, "relative": {"mase": 0.8634206906224304, "wql": 0.9269797009125593}}, {"config_id": "covid_deaths__D__short", "leaderboard_key": "covid_deaths/D/short", "dataset": "covid_deaths", "term": "short", "freq": "D", "prediction_length": 30, "seasonality": 1, "n_variates": 1, "n_instances": 192, "domain": "Healthcare", "n_cohorts": 1, "metrics": {"mase": 41.65824528650925, "wql": 0.09378869450337197, "wsql_by_level": [0.06893365326520318, 0.09745776414805045, 0.11347630040720862, 0.11327189144529728, 0.10493573295622083, 0.10197121627492853, 0.08579602466634267, 0.0759116145972824, 0.08234405276981378], "n_valid_labels": 5760, "n_masked_labels": 0, "mae_median": 104.63141933064779, "n_mase_elements": 4830, "n_seasonal_error_zero": 31, "n_seasonal_error_nan": 0}, "relative": {"mase": 0.902118695367908, "wql": 0.6264220401997149}}, {"config_id": "us_births__D__short", "leaderboard_key": "us_births/D/short", "dataset": "us_births/D", "term": "short", "freq": "D", "prediction_length": 30, "seasonality": 1, "n_variates": 1, "n_instances": 1, "domain": "Healthcare", "n_cohorts": 1, "metrics": {"mase": 0.7505052337781618, "wql": 0.03418652269517344, "wsql_by_level": [0.019749713764894636, 0.03171121505489005, 0.03927113138939224, 0.04338475020201229, 0.0447388278680091, 0.04228310721274306, 0.03756746364626895, 0.029155380423803685, 0.01981711469454688], "n_valid_labels": 30, "n_masked_labels": 0, "mae_median": 494.60712890625, "n_mase_elements": 30, "n_seasonal_error_zero": 0, "n_seasonal_error_nan": 0}, "relative": {"mase": 0.4887905216980433, "wql": 0.32205892136256864}}, {"config_id": "us_births__M__short", "leaderboard_key": "us_births/M/short", "dataset": "us_births/M", "term": "short", "freq": "M", "prediction_length": 12, "seasonality": 12, "n_variates": 1, "n_instances": 1, "domain": "Healthcare", "n_cohorts": 1, "metrics": {"mase": 0.4641970150847043, "wql": 0.010839906647462445, "wsql_by_level": [0.007690452660143038, 0.011101179131491754, 0.013314852898448347, 0.013933100581369, 0.01413719115604733, 0.012927403511671366, 0.01051376419769212, 0.008277431100709318, 0.005663784589589735], "n_valid_labels": 12, "n_masked_labels": 0, "mae_median": 4419.627604166667, "n_mase_elements": 12, "n_seasonal_error_zero": 0, "n_seasonal_error_nan": 0}, "relative": {"mase": 0.6064599747287054, "wql": 0.5841568114542499}}, {"config_id": "us_births__W__short", "leaderboard_key": "us_births/W/short", "dataset": "us_births/W", "term": "short", "freq": "W-TUE", "prediction_length": 8, "seasonality": 1, "n_variates": 1, "n_instances": 1, "domain": "Healthcare", "n_cohorts": 1, "metrics": {"mase": 0.4843569991561676, "wql": 0.005578090588797161, "wsql_by_level": [0.0035051770054383377, 0.0061232056864479805, 0.007010747861980568, 0.0072738841606162915, 0.006934070457851651, 0.006446740210251619, 0.005279154454708256, 0.00407659575081509, 0.003553239711064651], "n_valid_labels": 8, "n_masked_labels": 0, "mae_median": 526.111328125, "n_mase_elements": 8, "n_seasonal_error_zero": 0, "n_seasonal_error_nan": 0}, "relative": {"mase": 0.4492358442736684, "wql": 0.4256817161992966}}, {"config_id": "saugeenday__D__short", "leaderboard_key": "saugeen/D/short", "dataset": "saugeenday/D", "term": "short", "freq": "D", "prediction_length": 30, "seasonality": 1, "n_variates": 1, "n_instances": 1, "domain": "Nature", "n_cohorts": 1, "metrics": {"mase": 1.675554660589966, "wql": 0.31344431652848964, "wsql_by_level": [0.12161772616823995, 0.19689573333266563, 0.2341903522250219, 0.2574401621359866, 0.3589836675399531, 0.4293852679891742, 0.45935019692894014, 0.4411765039690803, 0.3219592384673449], "n_valid_labels": 30, "n_masked_labels": 0, "mae_median": 7.4788263956705725, "n_mase_elements": 30, "n_seasonal_error_zero": 0, "n_seasonal_error_nan": 0}, "relative": {"mase": 1.2879724425121457, "wql": 0.4718377991729083}}, {"config_id": "saugeenday__M__short", "leaderboard_key": "saugeen/M/short", "dataset": "saugeenday/M", "term": "short", "freq": "M", "prediction_length": 12, "seasonality": 12, "n_variates": 1, "n_instances": 1, "domain": "Nature", "n_cohorts": 1, "metrics": {"mase": 0.5927630646565163, "wql": 0.3203269447356998, "wsql_by_level": [0.12598857865704416, 0.18968222121544395, 0.24040851967481697, 0.3136420374208496, 0.38228621366892634, 0.42160177466840687, 0.45474315632306894, 0.43669600555236926, 0.3178939954403716], "n_valid_labels": 12, "n_masked_labels": 0, "mae_median": 10.376739422480265, "n_mase_elements": 12, "n_seasonal_error_zero": 0, "n_seasonal_error_nan": 0}, "relative": {"mase": 1.3051388914641786, "wql": 1.0458487266954335}}, {"config_id": "saugeenday__W__short", "leaderboard_key": "saugeen/W/short", "dataset": "saugeenday/W", "term": "short", "freq": "W-THU", "prediction_length": 8, "seasonality": 1, "n_variates": 1, "n_instances": 1, "domain": "Nature", "n_cohorts": 1, "metrics": {"mase": 0.3519638114323024, "wql": 0.2662752495211793, "wsql_by_level": [0.11372987147884636, 0.18552782814033983, 0.23128901181167458, 0.27377207562527, 0.32433923441108065, 0.3547655413558739, 0.39123735928434705, 0.3490464389655082, 0.17276988461767362], "n_valid_labels": 8, "n_masked_labels": 0, "mae_median": 4.22625607252121, "n_mase_elements": 8, "n_seasonal_error_zero": 0, "n_seasonal_error_nan": 0}, "relative": {"mase": 0.8894037617219445, "wql": 0.24018150950267242}}, {"config_id": "temperature_rain_with_missing__D__short", "leaderboard_key": "temperature_rain/D/short", "dataset": "temperature_rain_with_missing", "term": "short", "freq": "D", "prediction_length": 30, "seasonality": 1, "n_variates": 1, "n_instances": 192, "domain": "Nature", "n_cohorts": 1, "metrics": {"mase": 1.5515686319785789, "wql": 0.5381728314133933, "wsql_by_level": [0.18632494166550886, 0.34708943125977854, 0.48836454284916286, 0.6053340733310679, 0.686717752974089, 0.7200669298086018, 0.7158889436906286, 0.6381245989700771, 0.4556442681716257], "n_valid_labels": 5760, "n_masked_labels": 0, "mae_median": 6.085248474554371, "n_mase_elements": 5760, "n_seasonal_error_zero": 0, "n_seasonal_error_nan": 0}, "relative": {"mase": 1.054893375281003, "wql": 0.5056231367221576}}, {"config_id": "kdd_cup_2018_with_missing__H__short", "leaderboard_key": "kdd_cup_2018/H/short", "dataset": "kdd_cup_2018_with_missing/H", "term": "short", "freq": "H", "prediction_length": 48, "seasonality": 24, "n_variates": 1, "n_instances": 176, "domain": "Nature", "n_cohorts": 2, "metrics": {"mase": 0.9314590653179857, "wql": 0.4144698581629218, "wsql_by_level": [0.17042770636579477, 0.31958737278243426, 0.43495208981935, 0.5140882428507184, 0.5569903741134093, 0.5563970412640289, 0.5050260744081512, 0.40239699224894754, 0.27036282961346225], "n_valid_labels": 8071, "n_masked_labels": 377, "mae_median": 18.78991258007594, "n_mase_elements": 8071, "n_seasonal_error_zero": 0, "n_seasonal_error_nan": 0}, "relative": {"mase": 0.8075459670396663, "wql": 0.7189950739967459}}, {"config_id": "kdd_cup_2018_with_missing__H__medium", "leaderboard_key": "kdd_cup_2018/H/medium", "dataset": "kdd_cup_2018_with_missing/H", "term": "medium", "freq": "H", "prediction_length": 480, "seasonality": 24, "n_variates": 1, "n_instances": 183, "domain": "Nature", "n_cohorts": 2, "metrics": {"mase": 0.8480288628030781, "wql": 0.470069973426411, "wsql_by_level": [0.17893876446622387, 0.32772203748762174, 0.4507381237346121, 0.5418444741746805, 0.5981812239304258, 0.6181714963553333, 0.5994242556270963, 0.5328490400735261, 0.38276034498817996], "n_valid_labels": 84423, "n_masked_labels": 3417, "mae_median": 17.355613578305753, "n_mase_elements": 84423, "n_seasonal_error_zero": 0, "n_seasonal_error_nan": 0}, "relative": {"mase": 0.7006489300316523, "wql": 0.412321717770212}}, {"config_id": "kdd_cup_2018_with_missing__H__long", "leaderboard_key": "kdd_cup_2018/H/long", "dataset": "kdd_cup_2018_with_missing/H", "term": "long", "freq": "H", "prediction_length": 720, "seasonality": 24, "n_variates": 1, "n_instances": 182, "domain": "Nature", "n_cohorts": 2, "metrics": {"mase": 0.857558379067222, "wql": 0.47829225390599056, "wsql_by_level": [0.17818917454251948, 0.3338041316392467, 0.4596481048436853, 0.5522913851434088, 0.61105096369842, 0.6339827967625987, 0.6151859222096626, 0.5407691871915298, 0.37970861912284326], "n_valid_labels": 124627, "n_masked_labels": 6413, "mae_median": 18.779386165107308, "n_mase_elements": 124627, "n_seasonal_error_zero": 0, "n_seasonal_error_nan": 0}, "relative": {"mase": 0.7889175398800053, "wql": 0.3718634450419643}}, {"config_id": "kdd_cup_2018_with_missing__D__short", "leaderboard_key": "kdd_cup_2018/D/short", "dataset": "kdd_cup_2018_with_missing/D", "term": "short", "freq": "D", "prediction_length": 30, "seasonality": 1, "n_variates": 1, "n_instances": 184, "domain": "Nature", "n_cohorts": 2, "metrics": {"mase": 1.1398713402362113, "wql": 0.4452585200870648, "wsql_by_level": [0.23439720860283367, 0.3630833673662009, 0.4535136492570833, 0.5149219367451351, 0.5514592922543351, 0.5604099266997383, 0.5370881317145794, 0.4682844182400131, 0.32416874990366445], "n_valid_labels": 5433, "n_masked_labels": 87, "mae_median": 16.537140032977618, "n_mase_elements": 5433, "n_seasonal_error_zero": 0, "n_seasonal_error_nan": 0}, "relative": {"mase": 1.0568695442143516, "wql": 0.517322856079971}}, {"config_id": "car_parts_with_missing__M__short", "leaderboard_key": "car_parts/M/short", "dataset": "car_parts_with_missing", "term": "short", "freq": "M", "prediction_length": 12, "seasonality": 12, "n_variates": 1, "n_instances": 187, "domain": "Sales", "n_cohorts": 1, "metrics": {"mase": 0.8263689971998104, "wql": 1.2192532765615771, "wsql_by_level": [0.2766903109814157, 0.6254175547601963, 0.9438783489916143, 1.2223525838813596, 1.4755679973457547, 1.657124344371809, 1.7430252986469423, 1.6540169406612468, 1.375206109413854], "n_valid_labels": 2244, "n_masked_labels": 0, "mae_median": 0.748962544107315, "n_mase_elements": 1368, "n_seasonal_error_zero": 73, "n_seasonal_error_nan": 0}, "relative": {"mase": 0.9001036285124183, "wql": 0.7882894800168283}}, {"config_id": "restaurant__D__short", "leaderboard_key": "restaurant/D/short", "dataset": "restaurant", "term": "short", "freq": "D", "prediction_length": 30, "seasonality": 1, "n_variates": 1, "n_instances": 188, "domain": "Sales", "n_cohorts": 13, "skipped_series": 1, "metrics": {"mase": 0.7032572725336931, "wql": 0.29388985640575416, "wsql_by_level": [0.14388509764644014, 0.2374718115070401, 0.3045734092783732, 0.35000386166169445, 0.37377117701051293, 0.37533248318597334, 0.3520210542915942, 0.3000197969740691, 0.20793001609608977], "n_valid_labels": 4908, "n_masked_labels": 732, "mae_median": 7.39111940554224, "n_mase_elements": 4879, "n_seasonal_error_zero": 0, "n_seasonal_error_nan": 1}, "relative": {"mase": 0.6372438611435927, "wql": 0.3962249469444833}}, {"config_id": "hierarchical_sales__D__short", "leaderboard_key": "hierarchical_sales/D/short", "dataset": "hierarchical_sales/D", "term": "short", "freq": "D", "prediction_length": 30, "seasonality": 1, "n_variates": 1, "n_instances": 118, "domain": "Sales", "n_cohorts": 1, "metrics": {"mase": 0.7348890090260285, "wql": 0.5734915322577943, "wsql_by_level": [0.2123124849189796, 0.37864348610574, 0.5201218954642599, 0.6358867324597284, 0.7166157852320038, 0.7657184055714783, 0.7738833937793305, 0.6742189100170203, 0.4840226967716072], "n_valid_labels": 3422, "n_masked_labels": 118, "mae_median": 2.345021497085908, "n_mase_elements": 3422, "n_seasonal_error_zero": 0, "n_seasonal_error_nan": 0}, "relative": {"mase": 0.637460473750277, "wql": 0.335251124750253}}, {"config_id": "hierarchical_sales__W__short", "leaderboard_key": "hierarchical_sales/W/short", "dataset": "hierarchical_sales/W", "term": "short", "freq": "W-WED", "prediction_length": 8, "seasonality": 1, "n_variates": 1, "n_instances": 118, "domain": "Sales", "n_cohorts": 1, "metrics": {"mase": 0.811843611649546, "wql": 0.428206896002995, "wsql_by_level": [0.14393482815309452, 0.2502359699546728, 0.33823247780256843, 0.41385793315226654, 0.47960619545690814, 0.5352625072635407, 0.5769880606821238, 0.5938267044023506, 0.5219173871594297], "n_valid_labels": 944, "n_masked_labels": 0, "mae_median": 13.82576631034835, "n_mase_elements": 944, "n_seasonal_error_zero": 0, "n_seasonal_error_nan": 0}, "relative": {"mase": 0.7478520895769962, "wql": 0.5458481728861894}}, {"config_id": "LOOP_SEATTLE__T__short", "leaderboard_key": "loop_seattle/5T/short", "dataset": "LOOP_SEATTLE/5T", "term": "short", "freq": "5T", "prediction_length": 48, "seasonality": 288, "n_variates": 1, "n_instances": 192, "domain": "Transport", "n_cohorts": 1, "metrics": {"mase": 0.5864394836519787, "wql": 0.05428408817899554, "wsql_by_level": [0.04479178098907267, 0.06000763809732082, 0.06637466849100017, 0.06788984760988573, 0.06605520506110114, 0.061294463229775095, 0.053358117703003374, 0.042244454810520214, 0.026540617619280685], "n_valid_labels": 9216, "n_masked_labels": 0, "mae_median": 3.9955498398695557, "n_mase_elements": 9216, "n_seasonal_error_zero": 0, "n_seasonal_error_nan": 0}, "relative": {"mase": 0.8253045664949409, "wql": 0.7091877102191098}}, {"config_id": "LOOP_SEATTLE__T__medium", "leaderboard_key": "loop_seattle/5T/medium", "dataset": "LOOP_SEATTLE/5T", "term": "medium", "freq": "5T", "prediction_length": 480, "seasonality": 288, "n_variates": 1, "n_instances": 192, "domain": "Transport", "n_cohorts": 1, "metrics": {"mase": 0.74182900729652, "wql": 0.06788873443760415, "wsql_by_level": [0.05357422454078263, 0.07493314508780921, 0.08472113983743966, 0.08724279381143979, 0.08435672147263845, 0.07730137093578172, 0.06638934676629683, 0.051380998284025835, 0.03109886920222329], "n_valid_labels": 92160, "n_masked_labels": 0, "mae_median": 4.579496950264244, "n_mase_elements": 92160, "n_seasonal_error_zero": 0, "n_seasonal_error_nan": 0}, "relative": {"mase": 0.755158697865816, "wql": 0.6385961674510584}}, {"config_id": "LOOP_SEATTLE__T__long", "leaderboard_key": "loop_seattle/5T/long", "dataset": "LOOP_SEATTLE/5T", "term": "long", "freq": "5T", "prediction_length": 720, "seasonality": 288, "n_variates": 1, "n_instances": 192, "domain": "Transport", "n_cohorts": 1, "metrics": {"mase": 0.7465064067482573, "wql": 0.0718782304981459, "wsql_by_level": [0.05180627157965504, 0.07442746588233085, 0.08624474272042683, 0.09078284999619254, 0.08968703608200657, 0.08429582001894365, 0.07419009199650099, 0.058873657814727316, 0.03659613839252939], "n_valid_labels": 138240, "n_masked_labels": 0, "mae_median": 4.707955171464494, "n_mase_elements": 138240, "n_seasonal_error_zero": 0, "n_seasonal_error_nan": 0}, "relative": {"mase": 0.7823282219272191, "wql": 0.6217114573451009}}, {"config_id": "LOOP_SEATTLE__H__short", "leaderboard_key": "loop_seattle/H/short", "dataset": "LOOP_SEATTLE/H", "term": "short", "freq": "H", "prediction_length": 48, "seasonality": 24, "n_variates": 1, "n_instances": 192, "domain": "Transport", "n_cohorts": 1, "metrics": {"mase": 0.7790671230574661, "wql": 0.056192889416918024, "wsql_by_level": [0.04702487987186681, 0.0623758295313483, 0.06896356914078333, 0.07004562495761203, 0.06746910304840772, 0.06199981916614292, 0.05439636364683567, 0.04431985166795878, 0.029140963721306687], "n_valid_labels": 9216, "n_masked_labels": 0, "mae_median": 3.5669649561039276, "n_mase_elements": 9216, "n_seasonal_error_zero": 0, "n_seasonal_error_nan": 0}, "relative": {"mase": 0.8684396521913409, "wql": 0.6895963495119618}}, {"config_id": "LOOP_SEATTLE__H__medium", "leaderboard_key": "loop_seattle/H/medium", "dataset": "LOOP_SEATTLE/H", "term": "medium", "freq": "H", "prediction_length": 480, "seasonality": 24, "n_variates": 1, "n_instances": 192, "domain": "Transport", "n_cohorts": 1, "metrics": {"mase": 0.7919756972825184, "wql": 0.056683030945589144, "wsql_by_level": [0.0497444993514591, 0.06313123056500668, 0.06854955380599254, 0.06947031458062264, 0.06742205770250141, 0.06256440075956698, 0.05523141115237446, 0.04481747578808889, 0.029216334804689603], "n_valid_labels": 92160, "n_masked_labels": 0, "mae_median": 3.7603892812712325, "n_mase_elements": 92160, "n_seasonal_error_zero": 0, "n_seasonal_error_nan": 0}, "relative": {"mase": 0.6638118359610692, "wql": 0.37381839332646466}}, {"config_id": "LOOP_SEATTLE__H__long", "leaderboard_key": "loop_seattle/H/long", "dataset": "LOOP_SEATTLE/H", "term": "long", "freq": "H", "prediction_length": 720, "seasonality": 24, "n_variates": 1, "n_instances": 192, "domain": "Transport", "n_cohorts": 1, "metrics": {"mase": 0.738829739885067, "wql": 0.052308953536778224, "wsql_by_level": [0.039299238664245624, 0.05255967792580262, 0.05936548448019612, 0.062281229622256615, 0.06242582927152043, 0.06017755752451767, 0.055325450299709304, 0.04694625617869633, 0.032399857864059314], "n_valid_labels": 138240, "n_masked_labels": 0, "mae_median": 3.517151350220148, "n_mase_elements": 138240, "n_seasonal_error_zero": 0, "n_seasonal_error_nan": 0}, "relative": {"mase": 0.6601483744160617, "wql": 0.30585123119424396}}, {"config_id": "LOOP_SEATTLE__D__short", "leaderboard_key": "loop_seattle/D/short", "dataset": "LOOP_SEATTLE/D", "term": "short", "freq": "D", "prediction_length": 30, "seasonality": 1, "n_variates": 1, "n_instances": 192, "domain": "Transport", "n_cohorts": 1, "metrics": {"mase": 0.6562146459533866, "wql": 0.029987287094365996, "wsql_by_level": [0.018323798041140163, 0.02760173533914183, 0.03314279031738056, 0.03620883489365932, 0.037273057818275786, 0.036196217843546305, 0.03324895703842775, 0.028101569026567724, 0.019788623531154504], "n_valid_labels": 5760, "n_masked_labels": 0, "mae_median": 2.1110521952311196, "n_mase_elements": 5760, "n_seasonal_error_zero": 0, "n_seasonal_error_nan": 0}, "relative": {"mase": 0.6250123240755511, "wql": 0.3491149302247672}}, {"config_id": "SZ_TAXI__T__short", "leaderboard_key": "sz_taxi/15T/short", "dataset": "SZ_TAXI/15T", "term": "short", "freq": "15T", "prediction_length": 48, "seasonality": 96, "n_variates": 1, "n_instances": 156, "domain": "Transport", "n_cohorts": 1, "metrics": {"mase": 0.4626850814794651, "wql": 0.1808778853917687, "wsql_by_level": [0.09152374229134473, 0.14991132036443927, 0.19007622164072213, 0.2160504160188806, 0.2286942847375343, 0.22882632172005063, 0.2147448931457453, 0.18291428918473465, 0.12515947942246664], "n_valid_labels": 7488, "n_masked_labels": 0, "mae_median": 2.496985606481987, "n_mase_elements": 7488, "n_seasonal_error_zero": 0, "n_seasonal_error_nan": 0}, "relative": {"mase": 0.7548541376291873, "wql": 0.6456545135962624}}, {"config_id": "SZ_TAXI__T__medium", "leaderboard_key": "sz_taxi/15T/medium", "dataset": "SZ_TAXI/15T", "term": "medium", "freq": "15T", "prediction_length": 480, "seasonality": 96, "n_variates": 1, "n_instances": 156, "domain": "Transport", "n_cohorts": 1, "metrics": {"mase": 0.5008475574542578, "wql": 0.24294826960572802, "wsql_by_level": [0.1144784379080718, 0.18109881224225755, 0.22839716900666954, 0.2632517694336473, 0.28869728020287816, 0.30456811389744826, 0.3066071083453445, 0.28593691229547863, 0.21349882311975676], "n_valid_labels": 74880, "n_masked_labels": 0, "mae_median": 3.186576861898866, "n_mase_elements": 74880, "n_seasonal_error_zero": 0, "n_seasonal_error_nan": 0}, "relative": {"mase": 0.843510613849713, "wql": 0.5671558774065893}}, {"config_id": "SZ_TAXI__T__long", "leaderboard_key": "sz_taxi/15T/long", "dataset": "SZ_TAXI/15T", "term": "long", "freq": "15T", "prediction_length": 720, "seasonality": 96, "n_variates": 1, "n_instances": 156, "domain": "Transport", "n_cohorts": 1, "metrics": {"mase": 1.2714380607200964, "wql": 0.5053214252545055, "wsql_by_level": [0.3837884898338214, 0.5145672121895367, 0.5878809607458092, 0.6205584479386093, 0.619577141276385, 0.5883309106434682, 0.5283571131532746, 0.4297701066185521, 0.27506244489109344], "n_valid_labels": 112320, "n_masked_labels": 0, "mae_median": 7.75467368370671, "n_mase_elements": 112320, "n_seasonal_error_zero": 0, "n_seasonal_error_nan": 0}, "relative": {"mase": 0.8566686903348999, "wql": 0.7853460499598182}}, {"config_id": "SZ_TAXI__H__short", "leaderboard_key": "sz_taxi/H/short", "dataset": "SZ_TAXI/H", "term": "short", "freq": "H", "prediction_length": 48, "seasonality": 24, "n_variates": 1, "n_instances": 156, "domain": "Transport", "n_cohorts": 1, "metrics": {"mase": 0.47345451712987424, "wql": 0.13107144630496928, "wsql_by_level": [0.07168371404348971, 0.11062127195213284, 0.13574895353242047, 0.15137690630330758, 0.15985518210004876, 0.15975554696182498, 0.15159900283284908, 0.13529366643313054, 0.10370877258551961], "n_valid_labels": 7488, "n_masked_labels": 0, "mae_median": 1.7788976422031202, "n_mase_elements": 7488, "n_seasonal_error_zero": 0, "n_seasonal_error_nan": 0}, "relative": {"mase": 0.8187380577833887, "wql": 0.6338111871439569}}, {"config_id": "M_DENSE__H__short", "leaderboard_key": "m_dense/H/short", "dataset": "M_DENSE/H", "term": "short", "freq": "H", "prediction_length": 48, "seasonality": 24, "n_variates": 1, "n_instances": 30, "domain": "Transport", "n_cohorts": 1, "metrics": {"mase": 0.6673477339598097, "wql": 0.13381121739461577, "wsql_by_level": [0.07646318303094778, 0.11560903093371483, 0.14019385353585342, 0.15541976040070474, 0.16345965850577704, 0.16431241336887312, 0.1564272476816878, 0.13593208290942133, 0.09648372618456158], "n_valid_labels": 1440, "n_masked_labels": 0, "mae_median": 91.79810526702138, "n_mase_elements": 1440, "n_seasonal_error_zero": 0, "n_seasonal_error_nan": 0}, "relative": {"mase": 0.48186482983036266, "wql": 0.5419359172124095}}, {"config_id": "M_DENSE__H__medium", "leaderboard_key": "m_dense/H/medium", "dataset": "M_DENSE/H", "term": "medium", "freq": "H", "prediction_length": 480, "seasonality": 24, "n_variates": 1, "n_instances": 30, "domain": "Transport", "n_cohorts": 1, "metrics": {"mase": 1.1023516251122774, "wql": 0.22740508980268567, "wsql_by_level": [0.10112015585497222, 0.16695728722522082, 0.2175547342833934, 0.25686230897469, 0.28505085746368725, 0.2978260076547916, 0.29139076819452586, 0.2557078083184608, 0.1741758802544288], "n_valid_labels": 14400, "n_masked_labels": 0, "mae_median": 150.24812372797066, "n_mase_elements": 14400, "n_seasonal_error_zero": 0, "n_seasonal_error_nan": 0}, "relative": {"mase": 0.9159202242343034, "wql": 0.619367971150801}}, {"config_id": "M_DENSE__H__long", "leaderboard_key": "m_dense/H/long", "dataset": "M_DENSE/H", "term": "long", "freq": "H", "prediction_length": 720, "seasonality": 24, "n_variates": 1, "n_instances": 30, "domain": "Transport", "n_cohorts": 1, "metrics": {"mase": 0.877295611800436, "wql": 0.23923573976712356, "wsql_by_level": [0.13525328549690072, 0.21459976076575216, 0.26852823138537474, 0.2991725933161364, 0.30700966487585296, 0.2939798674862894, 0.26147771508661855, 0.21698062485528127, 0.15611991463590622], "n_valid_labels": 21600, "n_masked_labels": 0, "mae_median": 131.68062999712097, "n_mase_elements": 21600, "n_seasonal_error_zero": 0, "n_seasonal_error_nan": 0}, "relative": {"mase": 0.7276824551361437, "wql": 0.4362160022315357}}, {"config_id": "M_DENSE__D__short", "leaderboard_key": "m_dense/D/short", "dataset": "M_DENSE/D", "term": "short", "freq": "D", "prediction_length": 30, "seasonality": 1, "n_variates": 1, "n_instances": 30, "domain": "Transport", "n_cohorts": 1, "metrics": {"mase": 0.8196729786938285, "wql": 0.11209314497244116, "wsql_by_level": [0.0807601741683664, 0.11281415574834637, 0.12866431854257337, 0.13424117321141613, 0.13110805376462456, 0.12534945960064903, 0.11722106015594659, 0.10267272744110614, 0.07600718211894188], "n_valid_labels": 900, "n_masked_labels": 0, "mae_median": 56.234031346639, "n_mase_elements": 900, "n_seasonal_error_zero": 0, "n_seasonal_error_nan": 0}, "relative": {"mase": 0.6243486437915622, "wql": 0.37453130535027723}}, {"config_id": "ett1__T__short", "leaderboard_key": "ett1/15T/short", "dataset": "ett1/15T", "term": "short", "freq": "15T", "prediction_length": 48, "seasonality": 96, "n_variates": 7, "n_instances": 1, "domain": "Energy", "n_cohorts": 1, "metrics": {"mase": 0.5708853042944508, "wql": 0.2463715128723785, "wsql_by_level": [0.16400218592871096, 0.2209048333404705, 0.25009514187287185, 0.28636883518720563, 0.30217447690601895, 0.3066069876564013, 0.28578592381915535, 0.23769464717162778, 0.1637105839689438], "n_valid_labels": 336, "n_masked_labels": 0, "mae_median": 0.82533742073879, "n_mase_elements": 336, "n_seasonal_error_zero": 0, "n_seasonal_error_nan": 0}, "relative": {"mase": 0.6103915361813244, "wql": 0.47356494274680283}}, {"config_id": "ett1__T__medium", "leaderboard_key": "ett1/15T/medium", "dataset": "ett1/15T", "term": "medium", "freq": "15T", "prediction_length": 480, "seasonality": 96, "n_variates": 7, "n_instances": 1, "domain": "Energy", "n_cohorts": 1, "metrics": {"mase": 0.9656647615391196, "wql": 0.3351660915837733, "wsql_by_level": [0.2219368106918946, 0.3472761207016973, 0.41775119517537523, 0.4446392771767811, 0.43434917469794937, 0.4033060833000697, 0.3397643262596162, 0.2539064451094817, 0.1535653911410951], "n_valid_labels": 3360, "n_masked_labels": 0, "mae_median": 1.6562388141462137, "n_mase_elements": 3360, "n_seasonal_error_zero": 0, "n_seasonal_error_nan": 0}, "relative": {"mase": 0.9821210166045352, "wql": 0.7574072980094135}}, {"config_id": "ett1__T__long", "leaderboard_key": "ett1/15T/long", "dataset": "ett1/15T", "term": "long", "freq": "15T", "prediction_length": 720, "seasonality": 96, "n_variates": 7, "n_instances": 1, "domain": "Energy", "n_cohorts": 1, "metrics": {"mase": 0.9981941011380466, "wql": 0.3341812007426018, "wsql_by_level": [0.17604461969397395, 0.30606202331419974, 0.39350708727911426, 0.44093391078866023, 0.4533487609029168, 0.43228551872328214, 0.37722060649662625, 0.2807368069639273, 0.14749147252071573], "n_valid_labels": 5040, "n_masked_labels": 0, "mae_median": 1.78651595814634, "n_mase_elements": 5040, "n_seasonal_error_zero": 0, "n_seasonal_error_nan": 0}, "relative": {"mase": 0.9510582227463917, "wql": 0.716810411846765}}, {"config_id": "ett1__H__short", "leaderboard_key": "ett1/H/short", "dataset": "ett1/H", "term": "short", "freq": "H", "prediction_length": 48, "seasonality": 24, "n_variates": 7, "n_instances": 1, "domain": "Energy", "n_cohorts": 1, "metrics": {"mase": 1.0872611679136062, "wql": 0.34736108490237666, "wsql_by_level": [0.1514118953058142, 0.32051725290272637, 0.42456589444848597, 0.46715596044238133, 0.46963146146470147, 0.4384089289055736, 0.37952209792833436, 0.2978647374627226, 0.17717153526065016], "n_valid_labels": 336, "n_masked_labels": 0, "mae_median": 6.745783526073431, "n_mase_elements": 336, "n_seasonal_error_zero": 0, "n_seasonal_error_nan": 0}, "relative": {"mase": 1.1773105697244175, "wql": 0.905695260450443}}, {"config_id": "ett1__H__medium", "leaderboard_key": "ett1/H/medium", "dataset": "ett1/H", "term": "medium", "freq": "H", "prediction_length": 480, "seasonality": 24, "n_variates": 7, "n_instances": 1, "domain": "Energy", "n_cohorts": 1, "metrics": {"mase": 1.2143995688190363, "wql": 0.2937695158276702, "wsql_by_level": [0.16182556979140045, 0.2566703247646637, 0.3179489848185056, 0.3541190232345261, 0.3704390450363359, 0.3672515650523988, 0.34074828752681774, 0.2844462990740073, 0.19047654315037613], "n_valid_labels": 3360, "n_masked_labels": 0, "mae_median": 7.120665203544887, "n_mase_elements": 3360, "n_seasonal_error_zero": 0, "n_seasonal_error_nan": 0}, "relative": {"mase": 0.8713861852411183, "wql": 0.6837159505652904}}, {"config_id": "ett1__H__long", "leaderboard_key": "ett1/H/long", "dataset": "ett1/H", "term": "long", "freq": "H", "prediction_length": 720, "seasonality": 24, "n_variates": 7, "n_instances": 1, "domain": "Energy", "n_cohorts": 1, "metrics": {"mase": 1.108403107049459, "wql": 0.26932565727244423, "wsql_by_level": [0.18580205173921305, 0.2691977943702413, 0.31432952759334043, 0.3357948938746346, 0.3368756881855405, 0.32147375815247675, 0.28621902161368934, 0.22914730127554972, 0.1450908786473119], "n_valid_labels": 5040, "n_masked_labels": 0, "mae_median": 6.310423026872533, "n_mase_elements": 5040, "n_seasonal_error_zero": 0, "n_seasonal_error_nan": 0}, "relative": {"mase": 0.7644035739323134, "wql": 0.5072743027547193}}, {"config_id": "ett1__D__short", "leaderboard_key": "ett1/D/short", "dataset": "ett1/D", "term": "short", "freq": "D", "prediction_length": 30, "seasonality": 1, "n_variates": 7, "n_instances": 1, "domain": "Energy", "n_cohorts": 1, "metrics": {"mase": 1.3338834402028559, "wql": 0.2206528626585563, "wsql_by_level": [0.15649360362438544, 0.2303063783024349, 0.2682668707833516, 0.28042882156590027, 0.2818932849855062, 0.2623312262814881, 0.222607064312146, 0.16755314667045879, 0.11599536740133552], "n_valid_labels": 210, "n_masked_labels": 0, "mae_median": 115.04867627677463, "n_mase_elements": 210, "n_seasonal_error_zero": 0, "n_seasonal_error_nan": 0}, "relative": {"mase": 0.6945867018524801, "wql": 0.5679786095136372}}, {"config_id": "ett1__W__short", "leaderboard_key": "ett1/W/short", "dataset": "ett1/W", "term": "short", "freq": "W-THU", "prediction_length": 8, "seasonality": 1, "n_variates": 7, "n_instances": 1, "domain": "Energy", "n_cohorts": 1, "metrics": {"mase": 1.7872141092783826, "wql": 0.350722739439398, "wsql_by_level": [0.25740515084491233, 0.36722578222770363, 0.4341312748791001, 0.4698497916628444, 0.47558501620376037, 0.43992886363316525, 0.3682594082264771, 0.2352245408730326, 0.10889482640358612], "n_valid_labels": 56, "n_masked_labels": 0, "mae_median": 1206.4078138896398, "n_mase_elements": 56, "n_seasonal_error_zero": 0, "n_seasonal_error_nan": 0}, "relative": {"mase": 1.1878188416566207, "wql": 0.9823258018145309}}, {"config_id": "ett2__T__short", "leaderboard_key": "ett2/15T/short", "dataset": "ett2/15T", "term": "short", "freq": "15T", "prediction_length": 48, "seasonality": 96, "n_variates": 7, "n_instances": 1, "domain": "Energy", "n_cohorts": 1, "metrics": {"mase": 0.7334312991377362, "wql": 0.09034943889243417, "wsql_by_level": [0.04996557085755058, 0.08156682729735686, 0.100392275643997, 0.11005223439949974, 0.11454438833014206, 0.11198991891836993, 0.10268340572706176, 0.08531853826517385, 0.056631790592755686], "n_valid_labels": 336, "n_masked_labels": 0, "mae_median": 1.6327879840419406, "n_mase_elements": 336, "n_seasonal_error_zero": 0, "n_seasonal_error_nan": 0}, "relative": {"mase": 0.9502422871919158, "wql": 0.8986485212055849}}, {"config_id": "ett2__T__medium", "leaderboard_key": "ett2/15T/medium", "dataset": "ett2/15T", "term": "medium", "freq": "15T", "prediction_length": 480, "seasonality": 96, "n_variates": 7, "n_instances": 1, "domain": "Energy", "n_cohorts": 1, "metrics": {"mase": 0.9688128767833858, "wql": 0.11409979342549387, "wsql_by_level": [0.07361681477023599, 0.11133464695296702, 0.13270487095982894, 0.1440311981626583, 0.14805075627645434, 0.14162851828917508, 0.12419906598251608, 0.09503742561681594, 0.05629484381879317], "n_valid_labels": 3360, "n_masked_labels": 0, "mae_median": 2.1427634680022796, "n_mase_elements": 3360, "n_seasonal_error_zero": 0, "n_seasonal_error_nan": 0}, "relative": {"mase": 1.04290069549812, "wql": 0.7905715012820052}}, {"config_id": "ett2__T__long", "leaderboard_key": "ett2/15T/long", "dataset": "ett2/15T", "term": "long", "freq": "15T", "prediction_length": 720, "seasonality": 96, "n_variates": 7, "n_instances": 1, "domain": "Energy", "n_cohorts": 1, "metrics": {"mase": 1.1814935595212168, "wql": 0.1518794297450886, "wsql_by_level": [0.08573930208102536, 0.1256910603887048, 0.15486537904412703, 0.17940530803092924, 0.19544675389931845, 0.19590265286986644, 0.18027881898760942, 0.1487984125519407, 0.10078717985227596], "n_valid_labels": 5040, "n_masked_labels": 0, "mae_median": 2.6614835896640128, "n_mase_elements": 5040, "n_seasonal_error_zero": 0, "n_seasonal_error_nan": 0}, "relative": {"mase": 1.0221257530089185, "wql": 0.8109950843353438}}, {"config_id": "ett2__H__short", "leaderboard_key": "ett2/H/short", "dataset": "ett2/H", "term": "short", "freq": "H", "prediction_length": 48, "seasonality": 24, "n_variates": 7, "n_instances": 1, "domain": "Energy", "n_cohorts": 1, "metrics": {"mase": 0.9103654412061127, "wql": 0.1138812898763956, "wsql_by_level": [0.060818171359859466, 0.10352711408995882, 0.1280990270501541, 0.14037094991506227, 0.14472871297163692, 0.14151891524938315, 0.130715044030325, 0.10698919780618057, 0.06816447641500023], "n_valid_labels": 336, "n_masked_labels": 0, "mae_median": 8.656774342060089, "n_mase_elements": 336, "n_seasonal_error_zero": 0, "n_seasonal_error_nan": 0}, "relative": {"mase": 1.0134098694730314, "wql": 0.9397892290630341}}, {"config_id": "ett2__H__medium", "leaderboard_key": "ett2/H/medium", "dataset": "ett2/H", "term": "medium", "freq": "H", "prediction_length": 480, "seasonality": 24, "n_variates": 7, "n_instances": 1, "domain": "Energy", "n_cohorts": 1, "metrics": {"mase": 1.8694182427593795, "wql": 0.25023382477764383, "wsql_by_level": [0.220076891420819, 0.28039882522030457, 0.30656915583097655, 0.31040645068461287, 0.29721700118072714, 0.27393192051510545, 0.24077174371249124, 0.19556643453938347, 0.12716599989437424], "n_valid_labels": 3360, "n_masked_labels": 0, "mae_median": 16.37365030462942, "n_mase_elements": 3360, "n_seasonal_error_zero": 0, "n_seasonal_error_nan": 0}, "relative": {"mase": 0.8224600750099719, "wql": 0.7992166251430929}}, {"config_id": "ett2__H__long", "leaderboard_key": "ett2/H/long", "dataset": "ett2/H", "term": "long", "freq": "H", "prediction_length": 720, "seasonality": 24, "n_variates": 7, "n_instances": 1, "domain": "Energy", "n_cohorts": 1, "metrics": {"mase": 2.23374691186863, "wql": 0.19834196458622855, "wsql_by_level": [0.10201105137789299, 0.16346227198220944, 0.20400863175825276, 0.2298445545815791, 0.2453488648604956, 0.248015414715013, 0.2371621949432866, 0.20775795738618005, 0.14746673967114723], "n_valid_labels": 5040, "n_masked_labels": 0, "mae_median": 14.948326876998342, "n_mase_elements": 5040, "n_seasonal_error_zero": 0, "n_seasonal_error_nan": 0}, "relative": {"mase": 0.9277932661452751, "wql": 0.6905087978434369}}, {"config_id": "ett2__D__short", "leaderboard_key": "ett2/D/short", "dataset": "ett2/D", "term": "short", "freq": "D", "prediction_length": 30, "seasonality": 1, "n_variates": 7, "n_instances": 1, "domain": "Energy", "n_cohorts": 1, "metrics": {"mase": 3.404406995021055, "wql": 0.1918257823859732, "wsql_by_level": [0.10945473409087089, 0.16743746408255653, 0.20527960686654992, 0.2285801873993269, 0.23887596568471434, 0.2355004008313435, 0.22034273377818359, 0.1887640988490374, 0.13219684989117594], "n_valid_labels": 210, "n_masked_labels": 0, "mae_median": 348.4026689252683, "n_mase_elements": 210, "n_seasonal_error_zero": 0, "n_seasonal_error_nan": 0}, "relative": {"mase": 0.987838692674619, "wql": 0.873445782463934}}, {"config_id": "ett2__W__short", "leaderboard_key": "ett2/W/short", "dataset": "ett2/W", "term": "short", "freq": "W-THU", "prediction_length": 8, "seasonality": 1, "n_variates": 7, "n_instances": 1, "domain": "Energy", "n_cohorts": 1, "metrics": {"mase": 0.9115859642912271, "wql": 0.1204472615024173, "wsql_by_level": [0.08616865338245543, 0.11273013021246696, 0.11918473584177104, 0.12394733728017499, 0.13595853548360168, 0.1461198671533806, 0.1436604493547486, 0.12448990089370228, 0.09176574391945433], "n_valid_labels": 56, "n_masked_labels": 0, "mae_median": 1376.942128249577, "n_mase_elements": 56, "n_seasonal_error_zero": 0, "n_seasonal_error_nan": 0}, "relative": {"mase": 0.9785192706599976, "wql": 0.6793186610726261}}, {"config_id": "jena_weather__T__short", "leaderboard_key": "jena_weather/10T/short", "dataset": "jena_weather/10T", "term": "short", "freq": "10T", "prediction_length": 48, "seasonality": 144, "n_variates": 21, "n_instances": 1, "domain": "Nature", "n_cohorts": 1, "metrics": {"mase": 0.6567776950876182, "wql": 0.10390181982960771, "wsql_by_level": [0.032702103921265824, 0.051871420161722005, 0.08150691540344444, 0.1085879172513168, 0.1283605940657619, 0.14296673640107685, 0.14603120266302402, 0.1352920872213466, 0.10779740137751087], "n_valid_labels": 1008, "n_masked_labels": 0, "mae_median": 23.64989696035073, "n_mase_elements": 1008, "n_seasonal_error_zero": 0, "n_seasonal_error_nan": 0}, "relative": {"mase": 1.0386262245009232, "wql": 0.7307616392787628}}, {"config_id": "jena_weather__T__medium", "leaderboard_key": "jena_weather/10T/medium", "dataset": "jena_weather/10T", "term": "medium", "freq": "10T", "prediction_length": 480, "seasonality": 144, "n_variates": 21, "n_instances": 1, "domain": "Nature", "n_cohorts": 1, "metrics": {"mase": 0.8367471886797653, "wql": 0.07105917062773195, "wsql_by_level": [0.03440606641296538, 0.05942451747618064, 0.07495589803699289, 0.08474438180798205, 0.08929319800113891, 0.08794267549414034, 0.08171248813648332, 0.07016853398959526, 0.056884776294108874], "n_valid_labels": 10080, "n_masked_labels": 0, "mae_median": 15.519449593482488, "n_mase_elements": 10080, "n_seasonal_error_zero": 0, "n_seasonal_error_nan": 0}, "relative": {"mase": 0.8940784095923496, "wql": 0.3328005013577497}}, {"config_id": "jena_weather__T__long", "leaderboard_key": "jena_weather/10T/long", "dataset": "jena_weather/10T", "term": "long", "freq": "10T", "prediction_length": 720, "seasonality": 144, "n_variates": 21, "n_instances": 1, "domain": "Nature", "n_cohorts": 1, "metrics": {"mase": 0.6355318728376552, "wql": 0.06488234596988064, "wsql_by_level": [0.03484147055585464, 0.057717572158342695, 0.07169477064502051, 0.08002494830477477, 0.08232802171025812, 0.07914022773691949, 0.07143942419855309, 0.059993541794748216, 0.04676113662445417], "n_valid_labels": 15120, "n_masked_labels": 0, "mae_median": 14.16328993834735, "n_mase_elements": 15120, "n_seasonal_error_zero": 0, "n_seasonal_error_nan": 0}, "relative": {"mase": 0.6594381615983075, "wql": 0.2739286586856853}}, {"config_id": "jena_weather__H__short", "leaderboard_key": "jena_weather/H/short", "dataset": "jena_weather/H", "term": "short", "freq": "H", "prediction_length": 48, "seasonality": 24, "n_variates": 21, "n_instances": 1, "domain": "Nature", "n_cohorts": 1, "metrics": {"mase": 0.7566441877218407, "wql": 0.08283165018375324, "wsql_by_level": [0.030581945405944517, 0.05137454871395742, 0.07062253019359829, 0.08460918614431572, 0.09420930226255605, 0.10199047834610948, 0.1089697787648516, 0.11031500836157337, 0.0928120734608727], "n_valid_labels": 1008, "n_masked_labels": 0, "mae_median": 16.5090222686191, "n_mase_elements": 1008, "n_seasonal_error_zero": 0, "n_seasonal_error_nan": 0}, "relative": {"mase": 0.8336503105845321, "wql": 0.4801528639999464}}, {"config_id": "jena_weather__H__medium", "leaderboard_key": "jena_weather/H/medium", "dataset": "jena_weather/H", "term": "medium", "freq": "H", "prediction_length": 480, "seasonality": 24, "n_variates": 21, "n_instances": 1, "domain": "Nature", "n_cohorts": 1, "metrics": {"mase": 1.099199699911339, "wql": 0.11812050772931568, "wsql_by_level": [0.11657790757847461, 0.13855340831394772, 0.14632593379857026, 0.14388637692896508, 0.13452738848123366, 0.1231768233627765, 0.10804714815512985, 0.08870020748898999, 0.06328937545575362], "n_valid_labels": 10080, "n_masked_labels": 0, "mae_median": 24.37716235135583, "n_mase_elements": 10080, "n_seasonal_error_zero": 0, "n_seasonal_error_nan": 0}, "relative": {"mase": 0.7300963316874448, "wql": 0.33088668826658996}}, {"config_id": "jena_weather__H__long", "leaderboard_key": "jena_weather/H/long", "dataset": "jena_weather/H", "term": "long", "freq": "H", "prediction_length": 720, "seasonality": 24, "n_variates": 21, "n_instances": 1, "domain": "Nature", "n_cohorts": 1, "metrics": {"mase": 1.0287052164817878, "wql": 0.08571698754034823, "wsql_by_level": [0.05112869529819806, 0.07881822275377764, 0.09521211722243107, 0.1028508759819873, 0.10438748307772369, 0.10052790069166972, 0.09273136046856695, 0.08167146928105229, 0.06412476308772742], "n_valid_labels": 15120, "n_masked_labels": 0, "mae_median": 20.256139428320107, "n_mase_elements": 15120, "n_seasonal_error_zero": 0, "n_seasonal_error_nan": 0}, "relative": {"mase": 1.023473634676717, "wql": 0.2175284728920603}}, {"config_id": "jena_weather__D__short", "leaderboard_key": "jena_weather/D/short", "dataset": "jena_weather/D", "term": "short", "freq": "D", "prediction_length": 30, "seasonality": 1, "n_variates": 21, "n_instances": 1, "domain": "Nature", "n_cohorts": 1, "metrics": {"mase": 1.2260421303547482, "wql": 0.07062996890613342, "wsql_by_level": [0.037566261048266984, 0.06001960183833484, 0.07579125133427225, 0.08643661282874487, 0.09088247242255622, 0.0878164474304829, 0.08223889554683157, 0.06890530160982503, 0.04601287609588614], "n_valid_labels": 630, "n_masked_labels": 0, "mae_median": 17.63552465090798, "n_mase_elements": 630, "n_seasonal_error_zero": 0, "n_seasonal_error_nan": 0}, "relative": {"mase": 1.0409201289037093, "wql": 0.36279590867078565}}, {"config_id": "bitbrains_fast_storage__T__short", "leaderboard_key": "bitbrains_fast_storage/5T/short", "dataset": "bitbrains_fast_storage/5T", "term": "short", "freq": "5T", "prediction_length": 48, "seasonality": 288, "n_variates": 2, "n_instances": 189, "domain": "Web/CloudOps", "n_cohorts": 1, "metrics": {"mase": 0.5495690409618929, "wql": 0.4640114691068969, "wsql_by_level": [0.2735727210349164, 0.41126061433918715, 0.4773614782159531, 0.5097300459438864, 0.5302770091595749, 0.5516661797740225, 0.5459540768906436, 0.4995231463148054, 0.37675795028908265], "n_valid_labels": 18124, "n_masked_labels": 20, "mae_median": 164.91747839772205, "n_mase_elements": 17454, "n_seasonal_error_zero": 12, "n_seasonal_error_nan": 2}, "relative": {"mase": 0.5592570882200334, "wql": 0.23452315349567934}}, {"config_id": "bitbrains_fast_storage__T__medium", "leaderboard_key": "bitbrains_fast_storage/5T/medium", "dataset": "bitbrains_fast_storage/5T", "term": "medium", "freq": "5T", "prediction_length": 480, "seasonality": 288, "n_variates": 2, "n_instances": 184, "domain": "Web/CloudOps", "n_cohorts": 1, "metrics": {"mase": 0.8537420640137354, "wql": 0.3475119141408658, "wsql_by_level": [0.14851780246237994, 0.2619325858301886, 0.3562623489519422, 0.4308924916002662, 0.48124148139269113, 0.49618091496030575, 0.4684975993344411, 0.3563007186937533, 0.12778128404182415], "n_valid_labels": 175364, "n_masked_labels": 1276, "mae_median": 375.3476695428092, "n_mase_elements": 173750, "n_seasonal_error_zero": 2, "n_seasonal_error_nan": 4}, "relative": {"mase": 0.802478242122517, "wql": 0.5530322889608165}}, {"config_id": "bitbrains_fast_storage__T__long", "leaderboard_key": "bitbrains_fast_storage/5T/long", "dataset": "bitbrains_fast_storage/5T", "term": "long", "freq": "5T", "prediction_length": 720, "seasonality": 288, "n_variates": 2, "n_instances": 182, "domain": "Web/CloudOps", "n_cohorts": 1, "metrics": {"mase": 0.7621650331510523, "wql": 0.5470072015588816, "wsql_by_level": [0.2968334547515154, 0.47999623085957555, 0.5998344678722822, 0.6776370093847325, 0.7144447053365166, 0.7064816013600345, 0.6484886354250166, 0.5162975409801511, 0.2830511680601104], "n_valid_labels": 262080, "n_masked_labels": 0, "mae_median": 425.5427895169757, "n_mase_elements": 254880, "n_seasonal_error_zero": 10, "n_seasonal_error_nan": 0}, "relative": {"mase": 0.8682223785356328, "wql": 0.7114087638496536}}, {"config_id": "bitbrains_fast_storage__H__short", "leaderboard_key": "bitbrains_fast_storage/H/short", "dataset": "bitbrains_fast_storage/H", "term": "short", "freq": "H", "prediction_length": 48, "seasonality": 24, "n_variates": 2, "n_instances": 188, "domain": "Web/CloudOps", "n_cohorts": 1, "metrics": {"mase": 0.8782510282113798, "wql": 0.6249780145611263, "wsql_by_level": [0.3414958373352421, 0.6040678304015741, 0.7731398110158448, 0.8418376720783018, 0.8374039796915037, 0.7631582332493825, 0.644374016270727, 0.49883149361525647, 0.32049325739230455], "n_valid_labels": 18042, "n_masked_labels": 6, "mae_median": 491.7578944897342, "n_mase_elements": 17466, "n_seasonal_error_zero": 12, "n_seasonal_error_nan": 0}, "relative": {"mase": 0.8937180939836543, "wql": 0.878934753600448}}, {"config_id": "bitbrains_rnd__T__short", "leaderboard_key": "bitbrains_rnd/5T/short", "dataset": "bitbrains_rnd/5T", "term": "short", "freq": "5T", "prediction_length": 48, "seasonality": 288, "n_variates": 2, "n_instances": 186, "domain": "Web/CloudOps", "n_cohorts": 1, "metrics": {"mase": 0.9855778026707239, "wql": 0.7002636946401669, "wsql_by_level": [0.15854831614964782, 0.3073962918894868, 0.4502861740964458, 0.5910852639913861, 0.7274652658554417, 0.8632444042222703, 0.9908741198357276, 1.103960010980373, 1.1095134047407234], "n_valid_labels": 17856, "n_masked_labels": 0, "mae_median": 262.20216032318325, "n_mase_elements": 17376, "n_seasonal_error_zero": 10, "n_seasonal_error_nan": 0}, "relative": {"mase": 0.8265802855038655, "wql": 0.5333497188237823}}, {"config_id": "bitbrains_rnd__T__medium", "leaderboard_key": "bitbrains_rnd/5T/medium", "dataset": "bitbrains_rnd/5T", "term": "medium", "freq": "5T", "prediction_length": 480, "seasonality": 288, "n_variates": 2, "n_instances": 190, "domain": "Web/CloudOps", "n_cohorts": 1, "metrics": {"mase": 1.1074614495310078, "wql": 0.4739412828125972, "wsql_by_level": [0.13849494472882778, 0.2729460200568033, 0.3875664515868339, 0.48722993987297364, 0.5719146863149911, 0.6424389237087188, 0.6892778516686807, 0.6756300539499801, 0.39997267342556553], "n_valid_labels": 181300, "n_masked_labels": 1100, "mae_median": 165.4849557380094, "n_mase_elements": 177590, "n_seasonal_error_zero": 2, "n_seasonal_error_nan": 8}, "relative": {"mase": 0.8509824401976337, "wql": 0.5825912354590667}}, {"config_id": "bitbrains_rnd__T__long", "leaderboard_key": "bitbrains_rnd/5T/long", "dataset": "bitbrains_rnd/5T", "term": "long", "freq": "5T", "prediction_length": 720, "seasonality": 288, "n_variates": 2, "n_instances": 183, "domain": "Web/CloudOps", "n_cohorts": 1, "metrics": {"mase": 0.7321179294190999, "wql": 0.7556704428037802, "wsql_by_level": [0.43086307309383404, 0.7640450817796286, 0.895850551794913, 0.9424746594341056, 0.9326704461007479, 0.8834700216740905, 0.7873138681072934, 0.6612523873598382, 0.5030938958895704], "n_valid_labels": 261076, "n_masked_labels": 2444, "mae_median": 173.10021903609947, "n_mase_elements": 257668, "n_seasonal_error_zero": 4, "n_seasonal_error_nan": 4}, "relative": {"mase": 0.9271972181904886, "wql": 0.4452092664511326}}, {"config_id": "bitbrains_rnd__H__short", "leaderboard_key": "bitbrains_rnd/H/short", "dataset": "bitbrains_rnd/H", "term": "short", "freq": "H", "prediction_length": 48, "seasonality": 24, "n_variates": 2, "n_instances": 187, "domain": "Web/CloudOps", "n_cohorts": 1, "metrics": {"mase": 1.111504471519387, "wql": 0.4003264076306634, "wsql_by_level": [0.14237119303408338, 0.25782396189694645, 0.3626456361992451, 0.43885336274804965, 0.48894998551374863, 0.5224329418408078, 0.5128626702070823, 0.49009149966704707, 0.38690641756895994], "n_valid_labels": 17622, "n_masked_labels": 330, "mae_median": 149.52690210467262, "n_mase_elements": 16992, "n_seasonal_error_zero": 6, "n_seasonal_error_nan": 14}, "relative": {"mase": 0.8684486324844234, "wql": 0.481850025263346}}, {"config_id": "bizitobs_application__S__short", "leaderboard_key": "bizitobs_application/10S/short", "dataset": "bizitobs_application", "term": "short", "freq": "10S", "prediction_length": 60, "seasonality": 360, "n_variates": 2, "n_instances": 1, "domain": "Web/CloudOps", "n_cohorts": 1, "metrics": {"mase": 0.7019078777385723, "wql": 0.007163020842642658, "wsql_by_level": [0.0048323953217077175, 0.007428689548045082, 0.00880632022869619, 0.00922815800829287, 0.009240588644501887, 0.008852255472677557, 0.007735533214100556, 0.005460030581390467, 0.002883216564371579], "n_valid_labels": 120, "n_masked_labels": 0, "mae_median": 237.88245471318564, "n_mase_elements": 120, "n_seasonal_error_zero": 0, "n_seasonal_error_nan": 0}, "relative": {"mase": 0.9708410885426743, "wql": 0.6045244118723399}}, {"config_id": "bizitobs_application__S__medium", "leaderboard_key": "bizitobs_application/10S/medium", "dataset": "bizitobs_application", "term": "medium", "freq": "10S", "prediction_length": 600, "seasonality": 360, "n_variates": 2, "n_instances": 1, "domain": "Web/CloudOps", "n_cohorts": 1, "metrics": {"mase": 0.6817085244875766, "wql": 0.00908305176245739, "wsql_by_level": [0.0062095942843725885, 0.008970014505947982, 0.01051934205054723, 0.011257378777146233, 0.011346542971008068, 0.010808225766877181, 0.009729047591349151, 0.007907085317193958, 0.005000234597674131], "n_valid_labels": 1200, "n_masked_labels": 0, "mae_median": 278.2595032596588, "n_mase_elements": 1200, "n_seasonal_error_zero": 0, "n_seasonal_error_nan": 0}, "relative": {"mase": 0.8879461934578673, "wql": 0.7616154085572984}}, {"config_id": "bizitobs_application__S__long", "leaderboard_key": "bizitobs_application/10S/long", "dataset": "bizitobs_application", "term": "long", "freq": "10S", "prediction_length": 900, "seasonality": 360, "n_variates": 2, "n_instances": 1, "domain": "Web/CloudOps", "n_cohorts": 1, "metrics": {"mase": 0.47039677164969534, "wql": 0.0069275774196375945, "wsql_by_level": [0.004539485797206928, 0.006361344864985718, 0.007201870509530482, 0.007636722525801759, 0.008063931285277545, 0.008292973433903702, 0.008112719388224904, 0.007130441459236186, 0.005008707512571115], "n_valid_labels": 1800, "n_masked_labels": 0, "mae_median": 192.6971052148607, "n_mase_elements": 1800, "n_seasonal_error_zero": 0, "n_seasonal_error_nan": 0}, "relative": {"mase": 0.8535136868258836, "wql": 0.5544770786481568}}, {"config_id": "bizitobs_service__S__short", "leaderboard_key": "bizitobs_service/10S/short", "dataset": "bizitobs_service", "term": "short", "freq": "10S", "prediction_length": 60, "seasonality": 360, "n_variates": 2, "n_instances": 21, "domain": "Web/CloudOps", "n_cohorts": 1, "metrics": {"mase": 0.4949962544597988, "wql": 0.006549953409254277, "wsql_by_level": [0.004442757460789555, 0.006606321187581675, 0.007784137504677365, 0.008214760553852686, 0.008319303075487582, 0.00793713373963574, 0.007023749197421014, 0.005407263156896729, 0.003214154806946143], "n_valid_labels": 2520, "n_masked_labels": 0, "mae_median": 11.094890022940106, "n_mase_elements": 2520, "n_seasonal_error_zero": 0, "n_seasonal_error_nan": 0}, "relative": {"mase": 0.6821867814552184, "wql": 0.35568480632273597}}, {"config_id": "bizitobs_service__S__medium", "leaderboard_key": "bizitobs_service/10S/medium", "dataset": "bizitobs_service", "term": "medium", "freq": "10S", "prediction_length": 600, "seasonality": 360, "n_variates": 2, "n_instances": 21, "domain": "Web/CloudOps", "n_cohorts": 1, "metrics": {"mase": 0.7127825594019868, "wql": 0.01067594117051045, "wsql_by_level": [0.007043672747066382, 0.010247076607099828, 0.01214680903015517, 0.013113579326992524, 0.013293415891855499, 0.012830367828236839, 0.01160501471039321, 0.009510649916310737, 0.006292884476483866], "n_valid_labels": 25200, "n_masked_labels": 0, "mae_median": 17.058138304800977, "n_mase_elements": 25200, "n_seasonal_error_zero": 0, "n_seasonal_error_nan": 0}, "relative": {"mase": 0.884530481811879, "wql": 0.48693155408691524}}, {"config_id": "bizitobs_service__S__long", "leaderboard_key": "bizitobs_service/10S/long", "dataset": "bizitobs_service", "term": "long", "freq": "10S", "prediction_length": 900, "seasonality": 360, "n_variates": 2, "n_instances": 21, "domain": "Web/CloudOps", "n_cohorts": 1, "metrics": {"mase": 0.5855097987971744, "wql": 0.008541787992337763, "wsql_by_level": [0.005347169484117975, 0.00742687531847613, 0.008760381786199532, 0.009707581076710757, 0.010341851103091921, 0.010532398012756468, 0.010036556837851937, 0.00865577178193952, 0.006067506529895632], "n_valid_labels": 37800, "n_masked_labels": 0, "mae_median": 13.017232756930053, "n_mase_elements": 37800, "n_seasonal_error_zero": 0, "n_seasonal_error_nan": 0}, "relative": {"mase": 0.8298664374836866, "wql": 0.36298022285353765}}, {"config_id": "bizitobs_l2c__T__short", "leaderboard_key": "bizitobs_l2c/5T/short", "dataset": "bizitobs_l2c/5T", "term": "short", "freq": "5T", "prediction_length": 48, "seasonality": 288, "n_variates": 7, "n_instances": 1, "domain": "Web/CloudOps", "n_cohorts": 1, "metrics": {"mase": 0.22382198847707513, "wql": 0.08186275444872211, "wsql_by_level": [0.037408019609334854, 0.0587024836969484, 0.07274663658623153, 0.08546096903659495, 0.09553181181020633, 0.1023533552907774, 0.10414736405542024, 0.09814263389813305, 0.0822715160548523], "n_valid_labels": 336, "n_masked_labels": 0, "mae_median": 2.464862904378346, "n_mase_elements": 336, "n_seasonal_error_zero": 0, "n_seasonal_error_nan": 0}, "relative": {"mase": 0.3141628202629681, "wql": 0.40902169334995897}}, {"config_id": "bizitobs_l2c__T__medium", "leaderboard_key": "bizitobs_l2c/5T/medium", "dataset": "bizitobs_l2c/5T", "term": "medium", "freq": "5T", "prediction_length": 480, "seasonality": 288, "n_variates": 7, "n_instances": 1, "domain": "Web/CloudOps", "n_cohorts": 1, "metrics": {"mase": 0.4407966027857633, "wql": 0.520422498817802, "wsql_by_level": [0.22978402310712473, 0.36165335731056003, 0.46592120999148956, 0.5478746493831328, 0.6186311495874676, 0.6448182830937803, 0.6550486809870452, 0.6207646219800333, 0.5393065139195853], "n_valid_labels": 3360, "n_masked_labels": 0, "mae_median": 4.267838733288504, "n_mase_elements": 3360, "n_seasonal_error_zero": 0, "n_seasonal_error_nan": 0}, "relative": {"mase": 0.4960515060225297, "wql": 0.41974068372145845}}, {"config_id": "bizitobs_l2c__T__long", "leaderboard_key": "bizitobs_l2c/5T/long", "dataset": "bizitobs_l2c/5T", "term": "long", "freq": "5T", "prediction_length": 720, "seasonality": 288, "n_variates": 7, "n_instances": 1, "domain": "Web/CloudOps", "n_cohorts": 1, "metrics": {"mase": 0.3944093443876808, "wql": 0.670821020204813, "wsql_by_level": [0.20348635948821533, 0.4055405210610619, 0.5543135992200804, 0.673438203664718, 0.7792245439047436, 0.8435686573300065, 0.8817232379021219, 0.879307778029058, 0.8167862812433121], "n_valid_labels": 5040, "n_masked_labels": 0, "mae_median": 3.6977173183408993, "n_mase_elements": 5040, "n_seasonal_error_zero": 0, "n_seasonal_error_nan": 0}, "relative": {"mase": 0.2558446503954267, "wql": 0.276780534576553}}, {"config_id": "bizitobs_l2c__H__short", "leaderboard_key": "bizitobs_l2c/H/short", "dataset": "bizitobs_l2c/H", "term": "short", "freq": "H", "prediction_length": 48, "seasonality": 24, "n_variates": 7, "n_instances": 1, "domain": "Web/CloudOps", "n_cohorts": 1, "metrics": {"mase": 0.40004485130097434, "wql": 0.9345752346818303, "wsql_by_level": [0.9007532928297839, 0.9956025797043763, 0.9990633699137654, 1.0538246849540982, 1.051375534094755, 1.0057298018953584, 0.930539836300793, 0.8177558526503745, 0.6565321597931688], "n_valid_labels": 336, "n_masked_labels": 0, "mae_median": 3.639788052355427, "n_mase_elements": 336, "n_seasonal_error_zero": 0, "n_seasonal_error_nan": 0}, "relative": {"mase": 0.5082574591296873, "wql": 0.4082143613285467}}, {"config_id": "bizitobs_l2c__H__medium", "leaderboard_key": "bizitobs_l2c/H/medium", "dataset": "bizitobs_l2c/H", "term": "medium", "freq": "H", "prediction_length": 480, "seasonality": 24, "n_variates": 7, "n_instances": 1, "domain": "Web/CloudOps", "n_cohorts": 1, "metrics": {"mase": 0.5221058974261685, "wql": 0.27240897937295977, "wsql_by_level": [0.13013451384900276, 0.22117940454590101, 0.2751250741357467, 0.3115947965021312, 0.3368170295202441, 0.3416225788178767, 0.3309159542200145, 0.29263050398847507, 0.2116609587772456], "n_valid_labels": 3360, "n_masked_labels": 0, "mae_median": 4.964060758289304, "n_mase_elements": 3360, "n_seasonal_error_zero": 0, "n_seasonal_error_nan": 0}, "relative": {"mase": 0.37993860849764666, "wql": 0.3088321968073675}}, {"config_id": "bizitobs_l2c__H__long", "leaderboard_key": "bizitobs_l2c/H/long", "dataset": "bizitobs_l2c/H", "term": "long", "freq": "H", "prediction_length": 720, "seasonality": 24, "n_variates": 7, "n_instances": 1, "domain": "Web/CloudOps", "n_cohorts": 1, "metrics": {"mase": 0.5968389877417738, "wql": 0.3011822329583366, "wsql_by_level": [0.14526495877212975, 0.25054966257046185, 0.31308607361678453, 0.34185030922902476, 0.3954609389648448, 0.396417300782174, 0.3591385200219045, 0.2966344116703586, 0.21223792099734698], "n_valid_labels": 5040, "n_masked_labels": 0, "mae_median": 5.701087109615938, "n_mase_elements": 5040, "n_seasonal_error_zero": 0, "n_seasonal_error_nan": 0}, "relative": {"mase": 0.4490006084453436, "wql": 0.28811590287425715}}], "cpu_seconds": 1.1467377638909966, "members": ["/workspace/research/backcast_evals/weekly_slow_ar_delta3k", "/workspace/research/backcast_evals/patch8_ema6000", "/workspace/research/backcast_evals/split_patch_ema12000"], "member_checkpoint_hashes": ["094c7c694406075967f392a0d9ac1146bac984a90ab468c59d660a1b92fa7ba2", "308389b7217c080af9eb185559d4ee3cafa0f3e0f8c4dd8f5526b68198c89988", "1a2fb20a9fb5cae6526f2e36ea47559626bece78fd9c284899836505030ae9fe"], "weights": [0.3333333333333333, 0.3333333333333333, 0.3333333333333333], "selection_only": true, "cutoff": "valid_backcast", "E102skill": 0.3397943577904946, "difference": 0.0004326583880599477} +{"composition": "equal quantile mean after each member applies its own fixed rules", "skill_score": 0.36494952219954613, "rel_mase_gmean": 0.7652921044693154, "rel_wql_gmean": 0.5269740887164148, "groups": {"term": {"short": 0.35231864866246176, "medium": 0.39298299792182056, "long": 0.3687947028461305}, "domain": {"Econ/Fin": 0.12172660354585485, "Energy": 0.24152286056809502, "Healthcare": 0.3524592910484051, "Nature": 0.4788459673908466, "Sales": 0.5562200646344707, "Transport": 0.42520099368193554, "Web/CloudOps": 0.4370802681174131}, "freq": {"A-DEC": 0.3367893179024516, "Q-DEC": 0.15679817162375864, "M": 0.16573415798569047, "W-SUN": 0.06797376532770616, "D": 0.43063552907975755, "H": 0.3947520428143986, "15T": 0.10816823329454162, "W-FRI": 0.15582466897824498, "10T": 0.5091318264307638, "W-TUE": 0.09072022101156729, "W-THU": 0.35383995123098644, "W-WED": 0.563658397919643, "5T": 0.47248290588277875, "10S": 0.28530046798638997}}, "configs": [{"config_id": "m4_yearly__A__short", "leaderboard_key": "m4_yearly/A/short", "dataset": "m4_yearly", "term": "short", "freq": "A-DEC", "prediction_length": 6, "seasonality": 1, "n_variates": 1, "n_instances": 117, "domain": "Econ/Fin", "n_cohorts": 3, "skipped_series": 235, "dropped_containers": 11, "metrics": {"mase": 2.9310956808598876, "wql": 0.1120823955071256, "wsql_by_level": [0.05644202792579237, 0.0905053717375648, 0.11408590505170658, 0.12930253744442674, 0.13960575186697724, 0.1391001159288124, 0.13444935326991628, 0.11877412643252444, 0.08647636990640943], "n_valid_labels": 702, "n_masked_labels": 0, "mae_median": 497.2042572803986, "n_mase_elements": 702, "n_seasonal_error_zero": 0, "n_seasonal_error_nan": 0}, "relative": {"mase": 0.5810671768613991, "wql": 0.7569665373702766}}, {"config_id": "m4_quarterly__Q__short", "leaderboard_key": "m4_quarterly/Q/short", "dataset": "m4_quarterly", "term": "short", "freq": "Q-DEC", "prediction_length": 8, "seasonality": 4, "n_variates": 1, "n_instances": 187, "domain": "Econ/Fin", "n_cohorts": 3, "dropped_containers": 95, "metrics": {"mase": 1.6478859979869742, "wql": 0.10829988142949554, "wsql_by_level": [0.056003642707730145, 0.08983228427039322, 0.11123343407784438, 0.12480187246088971, 0.1322823443816346, 0.13234772923365642, 0.12698538731234796, 0.11318215410203093, 0.0880300843189324], "n_valid_labels": 1496, "n_masked_labels": 0, "mae_median": 658.2217914356905, "n_mase_elements": 1496, "n_seasonal_error_zero": 0, "n_seasonal_error_nan": 0}, "relative": {"mase": 0.8236951165880326, "wql": 0.8631704972613484}}, {"config_id": "m4_monthly__M__short", "leaderboard_key": "m4_monthly/M/short", "dataset": "m4_monthly", "term": "short", "freq": "M", "prediction_length": 18, "seasonality": 12, "n_variates": 1, "n_instances": 192, "domain": "Econ/Fin", "n_cohorts": 3, "dropped_containers": 499, "metrics": {"mase": 1.2065657349170607, "wql": 0.11616278210500203, "wsql_by_level": [0.06629914650161015, 0.10673308107406702, 0.1299410869238568, 0.1420671300945937, 0.146201258287822, 0.14056828824772014, 0.12820119810683464, 0.10795273317008502, 0.07750111653842881], "n_valid_labels": 3456, "n_masked_labels": 0, "mae_median": 685.2708041403029, "n_mase_elements": 3438, "n_seasonal_error_zero": 0, "n_seasonal_error_nan": 1}, "relative": {"mase": 0.8023830743189523, "wql": 0.8362369063369826}}, {"config_id": "m4_weekly__W__short", "leaderboard_key": "m4_weekly/W/short", "dataset": "m4_weekly", "term": "short", "freq": "W-SUN", "prediction_length": 13, "seasonality": 1, "n_variates": 1, "n_instances": 192, "domain": "Econ/Fin", "n_cohorts": 2, "dropped_containers": 4, "metrics": {"mase": 3.4120286945915503, "wql": 0.06543789387564042, "wsql_by_level": [0.03568810513079098, 0.05573298663766547, 0.06941860827544521, 0.07742239160518294, 0.08155154894880773, 0.0820178043222598, 0.07725284580870735, 0.06601944523015421, 0.0438373089217501], "n_valid_labels": 2496, "n_masked_labels": 0, "mae_median": 421.99554291443945, "n_mase_elements": 2496, "n_seasonal_error_zero": 0, "n_seasonal_error_nan": 0}, "relative": {"mase": 1.055884538770714, "wql": 0.8226968671486973}}, {"config_id": "m4_daily__D__short", "leaderboard_key": "m4_daily/D/short", "dataset": "m4_daily", "term": "short", "freq": "D", "prediction_length": 14, "seasonality": 1, "n_variates": 1, "n_instances": 192, "domain": "Econ/Fin", "n_cohorts": 2, "dropped_containers": 23, "metrics": {"mase": 3.198081444911027, "wql": 0.017990809522792868, "wsql_by_level": [0.011334370410659413, 0.01708152964339461, 0.020489328746587362, 0.02218487101773786, 0.022524596765804428, 0.02176468750400583, 0.01964995836602746, 0.01603944649549975, 0.010848496755419105], "n_valid_labels": 2688, "n_masked_labels": 0, "mae_median": 160.98624503044854, "n_mase_elements": 2688, "n_seasonal_error_zero": 0, "n_seasonal_error_nan": 0}, "relative": {"mase": 1.104570424679131, "wql": 1.1209370715015687}}, {"config_id": "m4_hourly__H__short", "leaderboard_key": "m4_hourly/H/short", "dataset": "m4_hourly", "term": "short", "freq": "H", "prediction_length": 48, "seasonality": 24, "n_variates": 1, "n_instances": 192, "domain": "Econ/Fin", "n_cohorts": 1, "metrics": {"mase": 1.2051508031734401, "wql": 0.035455791086468784, "wsql_by_level": [0.022635859061656737, 0.031868857116692025, 0.03783818151612068, 0.042129871543003294, 0.044377254084510626, 0.043981818274749666, 0.04074230287417112, 0.03367133925465812, 0.021856636052656822], "n_valid_labels": 9216, "n_masked_labels": 0, "mae_median": 324.76857741891257, "n_mase_elements": 9216, "n_seasonal_error_zero": 0, "n_seasonal_error_nan": 0}, "relative": {"mase": 0.9686625638484314, "wql": 0.9635541079372303}}, {"config_id": "electricity__T__short", "leaderboard_key": "electricity/15T/short", "dataset": "electricity/15T", "term": "short", "freq": "15T", "prediction_length": 48, "seasonality": 96, "n_variates": 1, "n_instances": 192, "domain": "Energy", "n_cohorts": 1, "metrics": {"mase": 1.061137228646092, "wql": 0.04591758165497868, "wsql_by_level": [0.026081163297573977, 0.040577145372865414, 0.04973832461946903, 0.05510200546983552, 0.057696196719431804, 0.057247755878974904, 0.05347010788765257, 0.044527117196815375, 0.028818418452189545], "n_valid_labels": 9216, "n_masked_labels": 0, "mae_median": 31.861565152073226, "n_mase_elements": 9168, "n_seasonal_error_zero": 1, "n_seasonal_error_nan": 0}, "relative": {"mase": 0.9505070462344758, "wql": 0.9362673863304282}}, {"config_id": "electricity__T__medium", "leaderboard_key": "electricity/15T/medium", "dataset": "electricity/15T", "term": "medium", "freq": "15T", "prediction_length": 480, "seasonality": 96, "n_variates": 1, "n_instances": 192, "domain": "Energy", "n_cohorts": 1, "metrics": {"mase": 0.7747484929662815, "wql": 0.05309715861514194, "wsql_by_level": [0.030180252210181283, 0.04596581504333987, 0.05636227583964971, 0.06297520734873935, 0.06639451806383717, 0.06627160807306913, 0.06197078540317996, 0.05236928965253693, 0.035384675901744045], "n_valid_labels": 92160, "n_masked_labels": 0, "mae_median": 37.07979084028054, "n_mase_elements": 92160, "n_seasonal_error_zero": 0, "n_seasonal_error_nan": 0}, "relative": {"mase": 0.7208015867064266, "wql": 0.6017494925974258}}, {"config_id": "electricity__T__long", "leaderboard_key": "electricity/15T/long", "dataset": "electricity/15T", "term": "long", "freq": "15T", "prediction_length": 720, "seasonality": 96, "n_variates": 1, "n_instances": 192, "domain": "Energy", "n_cohorts": 1, "metrics": {"mase": 0.9631048407873014, "wql": 0.06530777451639308, "wsql_by_level": [0.03868243596033826, 0.05779712956476083, 0.07041444297527456, 0.07805245423605922, 0.08156683542619748, 0.0810059250720502, 0.07510093629409416, 0.06302772507444722, 0.04212208604431579], "n_valid_labels": 138240, "n_masked_labels": 0, "mae_median": 54.271278551763494, "n_mase_elements": 137520, "n_seasonal_error_zero": 1, "n_seasonal_error_nan": 0}, "relative": {"mase": 0.8373763327252927, "wql": 0.682692595415901}}, {"config_id": "electricity__H__short", "leaderboard_key": "electricity/H/short", "dataset": "electricity/H", "term": "short", "freq": "H", "prediction_length": 48, "seasonality": 24, "n_variates": 1, "n_instances": 192, "domain": "Energy", "n_cohorts": 1, "metrics": {"mase": 1.1860486086671909, "wql": 0.12013049348037932, "wsql_by_level": [0.096727096738415, 0.13408846786092338, 0.150329087482554, 0.15458854056498766, 0.14894639634645762, 0.13563981815790846, 0.11593386248863469, 0.08978187340561354, 0.05513929827791953], "n_valid_labels": 9216, "n_masked_labels": 0, "mae_median": 491.3261660417807, "n_mase_elements": 9216, "n_seasonal_error_zero": 0, "n_seasonal_error_nan": 0}, "relative": {"mase": 0.9624248739757734, "wql": 1.2265362305458265}}, {"config_id": "electricity__H__medium", "leaderboard_key": "electricity/H/medium", "dataset": "electricity/H", "term": "medium", "freq": "H", "prediction_length": 480, "seasonality": 24, "n_variates": 1, "n_instances": 191, "domain": "Energy", "n_cohorts": 1, "metrics": {"mase": 1.0450184810481011, "wql": 0.06694406280534905, "wsql_by_level": [0.04150106060160619, 0.06102083502791941, 0.07311294372802071, 0.07970163345112803, 0.08197371341192622, 0.08039645950436046, 0.07485210114064052, 0.06415357520889897, 0.04578424317364093], "n_valid_labels": 91680, "n_masked_labels": 0, "mae_median": 130.55320361785553, "n_mase_elements": 91680, "n_seasonal_error_zero": 0, "n_seasonal_error_nan": 0}, "relative": {"mase": 0.8449165096305236, "wql": 0.5871682426273181}}, {"config_id": "electricity__H__long", "leaderboard_key": "electricity/H/long", "dataset": "electricity/H", "term": "long", "freq": "H", "prediction_length": 720, "seasonality": 24, "n_variates": 1, "n_instances": 192, "domain": "Energy", "n_cohorts": 1, "metrics": {"mase": 0.9998993403902402, "wql": 0.06818011784879856, "wsql_by_level": [0.03836064953172228, 0.05651673040533495, 0.06909567595139311, 0.07748233882709064, 0.0822167438527255, 0.08330189576376698, 0.08018491768541545, 0.07164780265095338, 0.05481430597078458], "n_valid_labels": 138240, "n_masked_labels": 0, "mae_median": 156.94477863154995, "n_mase_elements": 138240, "n_seasonal_error_zero": 0, "n_seasonal_error_nan": 0}, "relative": {"mase": 0.8216033574470202, "wql": 0.47852007257023116}}, {"config_id": "electricity__D__short", "leaderboard_key": "electricity/D/short", "dataset": "electricity/D", "term": "short", "freq": "D", "prediction_length": 30, "seasonality": 1, "n_variates": 1, "n_instances": 192, "domain": "Energy", "n_cohorts": 1, "metrics": {"mase": 1.1131579576678026, "wql": 0.04849914537664307, "wsql_by_level": [0.028828026115528017, 0.04565428828905595, 0.05588957267330372, 0.06014304029525304, 0.06103558996707249, 0.05887061087185514, 0.053607789451018385, 0.043479301282370944, 0.028984089444329876], "n_valid_labels": 5760, "n_masked_labels": 0, "mae_median": 3925.439582457104, "n_mase_elements": 5760, "n_seasonal_error_zero": 0, "n_seasonal_error_nan": 0}, "relative": {"mase": 0.7985622713150854, "wql": 0.556481621909801}}, {"config_id": "electricity__W__short", "leaderboard_key": "electricity/W/short", "dataset": "electricity/W", "term": "short", "freq": "W-FRI", "prediction_length": 8, "seasonality": 1, "n_variates": 1, "n_instances": 191, "domain": "Energy", "n_cohorts": 1, "metrics": {"mase": 1.0793149662245882, "wql": 0.04086397317219995, "wsql_by_level": [0.022948895531247317, 0.03184474849617729, 0.037373845841537426, 0.04288584810894898, 0.0465127528640773, 0.0479516852887964, 0.049952008912604984, 0.04849472174460474, 0.039811251761805055], "n_valid_labels": 1511, "n_masked_labels": 17, "mae_median": 19573.32892012328, "n_mase_elements": 1488, "n_seasonal_error_zero": 0, "n_seasonal_error_nan": 5}, "relative": {"mase": 0.8656625303046482, "wql": 0.6713736379674927}}, {"config_id": "solar__T__short", "leaderboard_key": "solar/10T/short", "dataset": "solar/10T", "term": "short", "freq": "10T", "prediction_length": 48, "seasonality": 144, "n_variates": 1, "n_instances": 137, "domain": "Energy", "n_cohorts": 1, "metrics": {"mase": 0.19084156010689463, "wql": 0.4343575072579486, "wsql_by_level": [0.20779253832517464, 0.3849556409106096, 0.48689698493658684, 0.5496040418311166, 0.5736991639310752, 0.5627726299759063, 0.5065792133568167, 0.3869834899753305, 0.24993386207892077], "n_valid_labels": 6576, "n_masked_labels": 0, "mae_median": 0.43314461463919574, "n_mase_elements": 6576, "n_seasonal_error_zero": 0, "n_seasonal_error_nan": 0}, "relative": {"mase": 0.772953237778248, "wql": 0.2251192058640265}}, {"config_id": "solar__T__medium", "leaderboard_key": "solar/10T/medium", "dataset": "solar/10T", "term": "medium", "freq": "10T", "prediction_length": 480, "seasonality": 144, "n_variates": 1, "n_instances": 137, "domain": "Energy", "n_cohorts": 1, "metrics": {"mase": 1.035240092542235, "wql": 0.2947679001329638, "wsql_by_level": [0.19672717626798267, 0.3161935250005014, 0.37869650273195526, 0.3992906209489416, 0.3845364049578158, 0.3504917996538294, 0.29357824325670967, 0.21489950037823272, 0.11849732800070568], "n_valid_labels": 65760, "n_masked_labels": 0, "mae_median": 2.1841585941461465, "n_mase_elements": 65760, "n_seasonal_error_zero": 0, "n_seasonal_error_nan": 0}, "relative": {"mase": 0.8174635334771951, "wql": 0.5190789613049622}}, {"config_id": "solar__T__long", "leaderboard_key": "solar/10T/long", "dataset": "solar/10T", "term": "long", "freq": "10T", "prediction_length": 720, "seasonality": 144, "n_variates": 1, "n_instances": 137, "domain": "Energy", "n_cohorts": 1, "metrics": {"mase": 1.2519314274970368, "wql": 0.446648833448481, "wsql_by_level": [0.37457636523739346, 0.5490203140498611, 0.5980099238426476, 0.5891475795016288, 0.5450058799385539, 0.47844673954273, 0.39681956532878426, 0.299551662152704, 0.18926147144202576], "n_valid_labels": 98640, "n_masked_labels": 0, "mae_median": 2.5721531510475453, "n_mase_elements": 98640, "n_seasonal_error_zero": 0, "n_seasonal_error_nan": 0}, "relative": {"mase": 0.8011385519783164, "wql": 0.5653112957646796}}, {"config_id": "solar__H__short", "leaderboard_key": "solar/H/short", "dataset": "solar/H", "term": "short", "freq": "H", "prediction_length": 48, "seasonality": 24, "n_variates": 1, "n_instances": 137, "domain": "Energy", "n_cohorts": 1, "metrics": {"mase": 1.2511227283133475, "wql": 0.6311422099652426, "wsql_by_level": [0.5670637267850912, 0.8627076067697685, 0.8957423054194338, 0.8377163362117935, 0.742347572107844, 0.6315121972069098, 0.5094404688815857, 0.3863295401040202, 0.24742013620073655], "n_valid_labels": 6576, "n_masked_labels": 0, "mae_median": 16.6063073140262, "n_mase_elements": 6576, "n_seasonal_error_zero": 0, "n_seasonal_error_nan": 0}, "relative": {"mase": 0.8899817189144198, "wql": 0.6968449432343201}}, {"config_id": "solar__H__medium", "leaderboard_key": "solar/H/medium", "dataset": "solar/H", "term": "medium", "freq": "H", "prediction_length": 480, "seasonality": 24, "n_variates": 1, "n_instances": 137, "domain": "Energy", "n_cohorts": 1, "metrics": {"mase": 0.9325988326921647, "wql": 0.2717962382032388, "wsql_by_level": [0.2388186398097979, 0.3059638219945535, 0.33189523266564636, 0.3363412715892501, 0.3268453555834686, 0.30505546211175677, 0.26838445234232905, 0.20983039989810057, 0.12303150783424639], "n_valid_labels": 65760, "n_masked_labels": 0, "mae_median": 12.333341748959446, "n_mase_elements": 65760, "n_seasonal_error_zero": 0, "n_seasonal_error_nan": 0}, "relative": {"mase": 0.930396450637462, "wql": 0.3948994384819965}}, {"config_id": "solar__H__long", "leaderboard_key": "solar/H/long", "dataset": "solar/H", "term": "long", "freq": "H", "prediction_length": 720, "seasonality": 24, "n_variates": 1, "n_instances": 137, "domain": "Energy", "n_cohorts": 1, "metrics": {"mase": 0.7256882690377002, "wql": 0.18953329380033834, "wsql_by_level": [0.129437628172716, 0.19180382598905768, 0.2248972203588008, 0.23937464205632103, 0.2393617476759598, 0.22600921676530114, 0.19935205530955077, 0.1577053847749484, 0.09785792310038957], "n_valid_labels": 98640, "n_masked_labels": 0, "mae_median": 9.873129255650301, "n_mase_elements": 98640, "n_seasonal_error_zero": 0, "n_seasonal_error_nan": 0}, "relative": {"mase": 0.8624529299069983, "wql": 0.26015448798234825}}, {"config_id": "solar__D__short", "leaderboard_key": "solar/D/short", "dataset": "solar/D", "term": "short", "freq": "D", "prediction_length": 30, "seasonality": 1, "n_variates": 1, "n_instances": 137, "domain": "Energy", "n_cohorts": 1, "metrics": {"mase": 0.577381964419038, "wql": 0.12152042589107188, "wsql_by_level": [0.08003448281021071, 0.11780832849619896, 0.14114201439510723, 0.15296349702749676, 0.15540871822133015, 0.14868468500616785, 0.1310813522291261, 0.1030661446792501, 0.06349461015475899], "n_valid_labels": 4110, "n_masked_labels": 0, "mae_median": 153.8461724608484, "n_mase_elements": 4110, "n_seasonal_error_zero": 0, "n_seasonal_error_nan": 0}, "relative": {"mase": 0.7416265839767592, "wql": 0.3262377109510743}}, {"config_id": "solar__W__short", "leaderboard_key": "solar/W/short", "dataset": "solar/W", "term": "short", "freq": "W-FRI", "prediction_length": 8, "seasonality": 1, "n_variates": 1, "n_instances": 137, "domain": "Energy", "n_cohorts": 1, "metrics": {"mase": 1.409378944950785, "wql": 0.13747223830275362, "wsql_by_level": [0.09879871761569382, 0.13926128338425484, 0.1642148838804733, 0.17956636196376843, 0.18085820246876824, 0.17296996304258708, 0.1497466687389315, 0.10583791387032208, 0.04599614975998329], "n_valid_labels": 1096, "n_masked_labels": 0, "mae_median": 1462.9799609775962, "n_mase_elements": 1096, "n_seasonal_error_zero": 0, "n_seasonal_error_nan": 0}, "relative": {"mase": 0.944606579751424, "wql": 0.9250532999889218}}, {"config_id": "hospital__M__short", "leaderboard_key": "hospital/M/short", "dataset": "hospital", "term": "short", "freq": "M", "prediction_length": 12, "seasonality": 12, "n_variates": 1, "n_instances": 192, "domain": "Healthcare", "n_cohorts": 1, "metrics": {"mase": 1.1872953754864706, "wql": 0.09033552842454197, "wsql_by_level": [0.05327101396064397, 0.08275308836121681, 0.10064665406714206, 0.1115716767764172, 0.11642451859276132, 0.11378717724161538, 0.10397332258146984, 0.08258679382620689, 0.04800551041340429], "n_valid_labels": 2304, "n_masked_labels": 0, "mae_median": 39.48999405755765, "n_mase_elements": 2304, "n_seasonal_error_zero": 0, "n_seasonal_error_nan": 0}, "relative": {"mase": 0.9163974870962155, "wql": 1.0227912518950282}}, {"config_id": "covid_deaths__D__short", "leaderboard_key": "covid_deaths/D/short", "dataset": "covid_deaths", "term": "short", "freq": "D", "prediction_length": 30, "seasonality": 1, "n_variates": 1, "n_instances": 192, "domain": "Healthcare", "n_cohorts": 1, "metrics": {"mase": 48.12474977081638, "wql": 0.17856830413663605, "wsql_by_level": [0.10029766305721693, 0.15761679068042614, 0.19909568121718552, 0.21568803436801545, 0.20598700534658185, 0.17979196516825632, 0.16843612027495572, 0.19314640964449412, 0.18705506747259212], "n_valid_labels": 5760, "n_masked_labels": 0, "mae_median": 140.89114211581312, "n_mase_elements": 4560, "n_seasonal_error_zero": 40, "n_seasonal_error_nan": 0}, "relative": {"mase": 0.9664090981300282, "wql": 0.6744684525277332}}, {"config_id": "us_births__D__short", "leaderboard_key": "us_births/D/short", "dataset": "us_births/D", "term": "short", "freq": "D", "prediction_length": 30, "seasonality": 1, "n_variates": 1, "n_instances": 1, "domain": "Healthcare", "n_cohorts": 1, "metrics": {"mase": 0.32740795206129847, "wql": 0.019424147474869674, "wsql_by_level": [0.019445241568923403, 0.02336107806595078, 0.024346462543590804, 0.022189927979153222, 0.01986436201877285, 0.018588094716870982, 0.01862441358842597, 0.01624212076957937, 0.012155626022559683], "n_valid_labels": 30, "n_masked_labels": 0, "mae_median": 215.50846354166666, "n_mase_elements": 30, "n_seasonal_error_zero": 0, "n_seasonal_error_nan": 0}, "relative": {"mase": 0.2451931851581462, "wql": 0.19108750531666133}}, {"config_id": "us_births__M__short", "leaderboard_key": "us_births/M/short", "dataset": "us_births/M", "term": "short", "freq": "M", "prediction_length": 12, "seasonality": 12, "n_variates": 1, "n_instances": 1, "domain": "Healthcare", "n_cohorts": 1, "metrics": {"mase": 0.5608100261546994, "wql": 0.012788781420142236, "wsql_by_level": [0.006231326829633014, 0.010045851851306103, 0.013142028587465819, 0.016606814968716254, 0.01778984021264595, 0.017387134849044243, 0.015351196474565468, 0.011324881306241222, 0.007219957701662052], "n_valid_labels": 12, "n_masked_labels": 0, "mae_median": 5432.84375, "n_mase_elements": 12, "n_seasonal_error_zero": 0, "n_seasonal_error_nan": 0}, "relative": {"mase": 0.7526712423658174, "wql": 0.7276728033996893}}, {"config_id": "us_births__W__short", "leaderboard_key": "us_births/W/short", "dataset": "us_births/W", "term": "short", "freq": "W-TUE", "prediction_length": 8, "seasonality": 1, "n_variates": 1, "n_instances": 1, "domain": "Healthcare", "n_cohorts": 1, "metrics": {"mase": 1.1354599702535948, "wql": 0.01303864029036468, "wsql_by_level": [0.007080270651410994, 0.013386538091011058, 0.016205541384536514, 0.016823123103362852, 0.016890607474384648, 0.01559078204241586, 0.013600947329397275, 0.010634957345017647, 0.007134995191745283], "n_valid_labels": 8, "n_masked_labels": 0, "mae_median": 1227.296875, "n_mase_elements": 8, "n_seasonal_error_zero": 0, "n_seasonal_error_nan": 0}, "relative": {"mase": 0.9935615260068812, "wql": 0.8321474763622507}}, {"config_id": "saugeenday__D__short", "leaderboard_key": "saugeen/D/short", "dataset": "saugeenday/D", "term": "short", "freq": "D", "prediction_length": 30, "seasonality": 1, "n_variates": 1, "n_instances": 1, "domain": "Nature", "n_cohorts": 1, "metrics": {"mase": 1.6507610560614754, "wql": 0.3521973340896551, "wsql_by_level": [0.12364373939688048, 0.21335570906115603, 0.2886726770445971, 0.3680583703859994, 0.43830693765189266, 0.4855708578366647, 0.4964484369014292, 0.44846730034139826, 0.3072519781868776], "n_valid_labels": 30, "n_masked_labels": 0, "mae_median": 7.373783683776855, "n_mase_elements": 30, "n_seasonal_error_zero": 0, "n_seasonal_error_nan": 0}, "relative": {"mase": 0.969809350802278, "wql": 0.41490670800427915}}, {"config_id": "saugeenday__M__short", "leaderboard_key": "saugeen/M/short", "dataset": "saugeenday/M", "term": "short", "freq": "M", "prediction_length": 12, "seasonality": 12, "n_variates": 1, "n_instances": 1, "domain": "Nature", "n_cohorts": 1, "metrics": {"mase": 0.6558419406565725, "wql": 0.367224836950706, "wsql_by_level": [0.14533155878930448, 0.2609865011154885, 0.35636153526869563, 0.40374047557186615, 0.42543790813955895, 0.4503184706943847, 0.48092014120937, 0.4654226900962902, 0.31650425167139495], "n_valid_labels": 12, "n_masked_labels": 0, "mae_median": 11.517845710118612, "n_mase_elements": 12, "n_seasonal_error_zero": 0, "n_seasonal_error_nan": 0}, "relative": {"mase": 0.7959641353687992, "wql": 0.8558915681597892}}, {"config_id": "saugeenday__W__short", "leaderboard_key": "saugeen/W/short", "dataset": "saugeenday/W", "term": "short", "freq": "W-THU", "prediction_length": 8, "seasonality": 1, "n_variates": 1, "n_instances": 1, "domain": "Nature", "n_cohorts": 1, "metrics": {"mase": 0.2623838915907404, "wql": 0.23391760552191043, "wsql_by_level": [0.09660638083203833, 0.15169760153288214, 0.19252882576794153, 0.2191029896774264, 0.24334744767371147, 0.27529677515189954, 0.3370562819009359, 0.3534970620350443, 0.23612508512531416], "n_valid_labels": 8, "n_masked_labels": 0, "mae_median": 3.1556949615478516, "n_mase_elements": 8, "n_seasonal_error_zero": 0, "n_seasonal_error_nan": 0}, "relative": {"mase": 0.511931989647992, "wql": 0.20502447442064026}}, {"config_id": "temperature_rain_with_missing__D__short", "leaderboard_key": "temperature_rain/D/short", "dataset": "temperature_rain_with_missing", "term": "short", "freq": "D", "prediction_length": 30, "seasonality": 1, "n_variates": 1, "n_instances": 192, "domain": "Nature", "n_cohorts": 1, "metrics": {"mase": 0.6836916958010785, "wql": 0.5503255914030781, "wsql_by_level": [0.18114413832866588, 0.3458062364826655, 0.48865794463237877, 0.6058729128405423, 0.6908055643666081, 0.7396425302133325, 0.7430349579054545, 0.6656114143928422, 0.4923546234652134], "n_valid_labels": 5732, "n_masked_labels": 28, "mae_median": 4.245014685762957, "n_mase_elements": 5732, "n_seasonal_error_zero": 0, "n_seasonal_error_nan": 0}, "relative": {"mase": 0.718970185522625, "wql": 0.3548679503623587}}, {"config_id": "kdd_cup_2018_with_missing__H__short", "leaderboard_key": "kdd_cup_2018/H/short", "dataset": "kdd_cup_2018_with_missing/H", "term": "short", "freq": "H", "prediction_length": 48, "seasonality": 24, "n_variates": 1, "n_instances": 176, "domain": "Nature", "n_cohorts": 2, "metrics": {"mase": 0.7467770125483886, "wql": 0.5260201815505297, "wsql_by_level": [0.21229944031244535, 0.3721926050004192, 0.5035340156300437, 0.6039977449411132, 0.6722016352233492, 0.6978572592385401, 0.6792612003265401, 0.5930794710528546, 0.3997582622294606], "n_valid_labels": 7994, "n_masked_labels": 454, "mae_median": 16.75100575813598, "n_mase_elements": 7994, "n_seasonal_error_zero": 0, "n_seasonal_error_nan": 0}, "relative": {"mase": 1.1490537608893228, "wql": 0.906615565799268}}, {"config_id": "kdd_cup_2018_with_missing__H__medium", "leaderboard_key": "kdd_cup_2018/H/medium", "dataset": "kdd_cup_2018_with_missing/H", "term": "medium", "freq": "H", "prediction_length": 480, "seasonality": 24, "n_variates": 1, "n_instances": 183, "domain": "Nature", "n_cohorts": 2, "metrics": {"mase": 0.8271580987122301, "wql": 0.47418914844558135, "wsql_by_level": [0.1758515949546377, 0.3340822655272025, 0.4615559865178126, 0.5534118165702606, 0.6105013952742315, 0.6298848044936609, 0.6073596316789519, 0.5290803286201458, 0.36597451237332823], "n_valid_labels": 83400, "n_masked_labels": 4440, "mae_median": 17.40643863505485, "n_mase_elements": 83400, "n_seasonal_error_zero": 0, "n_seasonal_error_nan": 0}, "relative": {"mase": 0.7219635400561616, "wql": 0.4031871638198852}}, {"config_id": "kdd_cup_2018_with_missing__H__long", "leaderboard_key": "kdd_cup_2018/H/long", "dataset": "kdd_cup_2018_with_missing/H", "term": "long", "freq": "H", "prediction_length": 720, "seasonality": 24, "n_variates": 1, "n_instances": 182, "domain": "Nature", "n_cohorts": 2, "metrics": {"mase": 0.8417188469943878, "wql": 0.454385779300152, "wsql_by_level": [0.1910487834514514, 0.3444472331626547, 0.4627891880034824, 0.5450057049080962, 0.5913329213644287, 0.5991410023559574, 0.5635978125533547, 0.47551081396307016, 0.3165985539388721], "n_valid_labels": 124670, "n_masked_labels": 6370, "mae_median": 19.157532229761546, "n_mase_elements": 124670, "n_seasonal_error_zero": 0, "n_seasonal_error_nan": 0}, "relative": {"mase": 0.7860392483075707, "wql": 0.367081603822145}}, {"config_id": "kdd_cup_2018_with_missing__D__short", "leaderboard_key": "kdd_cup_2018/D/short", "dataset": "kdd_cup_2018_with_missing/D", "term": "short", "freq": "D", "prediction_length": 30, "seasonality": 1, "n_variates": 1, "n_instances": 184, "domain": "Nature", "n_cohorts": 2, "metrics": {"mase": 0.9731026563071604, "wql": 0.3618683962324938, "wsql_by_level": [0.16891787704362585, 0.28076358810240654, 0.3650952627657956, 0.42573921467526593, 0.46175204430315486, 0.4694310730435063, 0.4460503358614484, 0.37872282481547914, 0.26034334548176175], "n_valid_labels": 5452, "n_masked_labels": 68, "mae_median": 14.280525457100316, "n_mase_elements": 5452, "n_seasonal_error_zero": 0, "n_seasonal_error_nan": 0}, "relative": {"mase": 0.6954914997585044, "wql": 0.4101977548318569}}, {"config_id": "restaurant__D__short", "leaderboard_key": "restaurant/D/short", "dataset": "restaurant", "term": "short", "freq": "D", "prediction_length": 30, "seasonality": 1, "n_variates": 1, "n_instances": 187, "domain": "Sales", "n_cohorts": 13, "skipped_series": 1, "metrics": {"mase": 0.8266709730317843, "wql": 0.32644913849321516, "wsql_by_level": [0.17724339906405612, 0.27715916260973633, 0.34594166785126407, 0.38876537515995313, 0.40968647661066604, 0.40748798070518794, 0.38082780692388535, 0.3245481243241838, 0.22638225319000363], "n_valid_labels": 4315, "n_masked_labels": 1295, "mae_median": 8.628766249671044, "n_mase_elements": 4315, "n_seasonal_error_zero": 0, "n_seasonal_error_nan": 0}, "relative": {"mase": 0.680304862437252, "wql": 0.44520610487500445}}, {"config_id": "hierarchical_sales__D__short", "leaderboard_key": "hierarchical_sales/D/short", "dataset": "hierarchical_sales/D", "term": "short", "freq": "D", "prediction_length": 30, "seasonality": 1, "n_variates": 1, "n_instances": 118, "domain": "Sales", "n_cohorts": 1, "metrics": {"mase": 0.8848156527449037, "wql": 0.6636354646686073, "wsql_by_level": [0.2153590107876379, 0.3775907377845517, 0.52773037847808, 0.667930906163994, 0.7958236864677126, 0.8865128577171479, 0.9300890829888578, 0.8900604788298458, 0.6816220427996388], "n_valid_labels": 3540, "n_masked_labels": 0, "mae_median": 2.8348408718525016, "n_mase_elements": 3540, "n_seasonal_error_zero": 0, "n_seasonal_error_nan": 0}, "relative": {"mase": 0.47269492857869055, "wql": 0.28022514514941543}}, {"config_id": "hierarchical_sales__W__short", "leaderboard_key": "hierarchical_sales/W/short", "dataset": "hierarchical_sales/W", "term": "short", "freq": "W-WED", "prediction_length": 8, "seasonality": 1, "n_variates": 1, "n_instances": 118, "domain": "Sales", "n_cohorts": 1, "metrics": {"mase": 0.688349341334979, "wql": 0.29516711557019454, "wsql_by_level": [0.1342657644058261, 0.2174622471569406, 0.2773994812659516, 0.31980641655424935, 0.3454592294020399, 0.35325513921582674, 0.3499432804581461, 0.34068254486517663, 0.3182299368075937], "n_valid_labels": 944, "n_masked_labels": 0, "mae_median": 8.317736043515852, "n_mase_elements": 944, "n_seasonal_error_zero": 0, "n_seasonal_error_nan": 0}, "relative": {"mase": 0.5465837254098869, "wql": 0.3483345457519338}}, {"config_id": "LOOP_SEATTLE__T__short", "leaderboard_key": "loop_seattle/5T/short", "dataset": "LOOP_SEATTLE/5T", "term": "short", "freq": "5T", "prediction_length": 48, "seasonality": 288, "n_variates": 1, "n_instances": 192, "domain": "Transport", "n_cohorts": 1, "metrics": {"mase": 0.619426023168628, "wql": 0.05831865403682283, "wsql_by_level": [0.049583559939091526, 0.06606104296761284, 0.07287325962414125, 0.07397327966108512, 0.07086285002412619, 0.06507150056332438, 0.05602616211356297, 0.04372435605975259, 0.026691875378708634], "n_valid_labels": 9216, "n_masked_labels": 0, "mae_median": 4.120602800407344, "n_mase_elements": 9216, "n_seasonal_error_zero": 0, "n_seasonal_error_nan": 0}, "relative": {"mase": 0.6824586969691046, "wql": 0.6127625347157203}}, {"config_id": "LOOP_SEATTLE__T__medium", "leaderboard_key": "loop_seattle/5T/medium", "dataset": "LOOP_SEATTLE/5T", "term": "medium", "freq": "5T", "prediction_length": 480, "seasonality": 288, "n_variates": 1, "n_instances": 192, "domain": "Transport", "n_cohorts": 1, "metrics": {"mase": 0.7236690091469337, "wql": 0.06901664939356221, "wsql_by_level": [0.04922209623783197, 0.07109489674952088, 0.08254247176331708, 0.08696535020990583, 0.08605364420060367, 0.08101989432401416, 0.07156044535768286, 0.05703689116016593, 0.03565415453901756], "n_valid_labels": 92160, "n_masked_labels": 0, "mae_median": 4.532584031478877, "n_mase_elements": 92160, "n_seasonal_error_zero": 0, "n_seasonal_error_nan": 0}, "relative": {"mase": 0.7535041326714996, "wql": 0.6331818372782158}}, {"config_id": "LOOP_SEATTLE__T__long", "leaderboard_key": "loop_seattle/5T/long", "dataset": "LOOP_SEATTLE/5T", "term": "long", "freq": "5T", "prediction_length": 720, "seasonality": 288, "n_variates": 1, "n_instances": 192, "domain": "Transport", "n_cohorts": 1, "metrics": {"mase": 0.9310019968557798, "wql": 0.08766539101773935, "wsql_by_level": [0.07174411347309662, 0.09762971655843491, 0.1090345068249475, 0.1119508330221983, 0.1082489733907105, 0.09931322948368128, 0.08533728131102443, 0.06591531123592403, 0.03981455385963659], "n_valid_labels": 138240, "n_masked_labels": 0, "mae_median": 5.83313470481619, "n_mase_elements": 138240, "n_seasonal_error_zero": 0, "n_seasonal_error_nan": 0}, "relative": {"mase": 0.5499788486325501, "wql": 0.4985434566000823}}, {"config_id": "LOOP_SEATTLE__H__short", "leaderboard_key": "loop_seattle/H/short", "dataset": "LOOP_SEATTLE/H", "term": "short", "freq": "H", "prediction_length": 48, "seasonality": 24, "n_variates": 1, "n_instances": 192, "domain": "Transport", "n_cohorts": 1, "metrics": {"mase": 0.7641490521664479, "wql": 0.05575730791788738, "wsql_by_level": [0.04469594671245008, 0.05916655714182244, 0.06637444331492785, 0.06834809212645392, 0.06708957262978296, 0.06274388862715742, 0.05594740748580088, 0.0463437666888313, 0.031106096533759616], "n_valid_labels": 9216, "n_masked_labels": 0, "mae_median": 3.549170459750005, "n_mase_elements": 9216, "n_seasonal_error_zero": 0, "n_seasonal_error_nan": 0}, "relative": {"mase": 0.7266364371020412, "wql": 0.6132222335435451}}, {"config_id": "LOOP_SEATTLE__H__medium", "leaderboard_key": "loop_seattle/H/medium", "dataset": "LOOP_SEATTLE/H", "term": "medium", "freq": "H", "prediction_length": 480, "seasonality": 24, "n_variates": 1, "n_instances": 192, "domain": "Transport", "n_cohorts": 1, "metrics": {"mase": 0.7162499484103702, "wql": 0.05008735845492902, "wsql_by_level": [0.03665382381247482, 0.049308702031704406, 0.055949295159185286, 0.05912453730737827, 0.059721017375504205, 0.05809575317953436, 0.053877582653537544, 0.045993586237147575, 0.032061928337894674], "n_valid_labels": 92160, "n_masked_labels": 0, "mae_median": 3.3963020701685713, "n_mase_elements": 92160, "n_seasonal_error_zero": 0, "n_seasonal_error_nan": 0}, "relative": {"mase": 0.6383153449125551, "wql": 0.34264036822884186}}, {"config_id": "LOOP_SEATTLE__H__long", "leaderboard_key": "loop_seattle/H/long", "dataset": "LOOP_SEATTLE/H", "term": "long", "freq": "H", "prediction_length": 720, "seasonality": 24, "n_variates": 1, "n_instances": 192, "domain": "Transport", "n_cohorts": 1, "metrics": {"mase": 0.6730999548261424, "wql": 0.04738473747520454, "wsql_by_level": [0.03741420298926475, 0.049003076365163316, 0.05456816163843598, 0.05670344612452634, 0.056392474262329954, 0.053872629865046366, 0.04903879186669284, 0.04124862630978554, 0.028221227855595804], "n_valid_labels": 138240, "n_masked_labels": 0, "mae_median": 3.1660571400395217, "n_mase_elements": 138240, "n_seasonal_error_zero": 0, "n_seasonal_error_nan": 0}, "relative": {"mase": 0.6479154578840101, "wql": 0.2831342224745045}}, {"config_id": "LOOP_SEATTLE__D__short", "leaderboard_key": "loop_seattle/D/short", "dataset": "LOOP_SEATTLE/D", "term": "short", "freq": "D", "prediction_length": 30, "seasonality": 1, "n_variates": 1, "n_instances": 192, "domain": "Transport", "n_cohorts": 1, "metrics": {"mase": 0.5869527498943429, "wql": 0.026517682768301874, "wsql_by_level": [0.018836363470185382, 0.026725220148757133, 0.03085448306553965, 0.032604502211547, 0.032476990740548155, 0.030763722380641685, 0.027792403818444496, 0.022993790058456615, 0.015611669020596772], "n_valid_labels": 5760, "n_masked_labels": 0, "mae_median": 1.8353070232603286, "n_mase_elements": 5760, "n_seasonal_error_zero": 0, "n_seasonal_error_nan": 0}, "relative": {"mase": 0.5674112681823771, "wql": 0.3153108094409606}}, {"config_id": "SZ_TAXI__T__short", "leaderboard_key": "sz_taxi/15T/short", "dataset": "SZ_TAXI/15T", "term": "short", "freq": "15T", "prediction_length": 48, "seasonality": 96, "n_variates": 1, "n_instances": 156, "domain": "Transport", "n_cohorts": 1, "metrics": {"mase": 0.5275099821911426, "wql": 0.20434423431930657, "wsql_by_level": [0.1063352570127323, 0.17224981969772526, 0.21653015626983474, 0.2443338898174095, 0.2577343162728452, 0.25695140799535693, 0.23999858073348534, 0.20446561578853037, 0.14049906528583933], "n_valid_labels": 7488, "n_masked_labels": 0, "mae_median": 2.828674548874095, "n_mase_elements": 7488, "n_seasonal_error_zero": 0, "n_seasonal_error_nan": 0}, "relative": {"mase": 0.7528484432860356, "wql": 0.6706520413345237}}, {"config_id": "SZ_TAXI__T__medium", "leaderboard_key": "sz_taxi/15T/medium", "dataset": "SZ_TAXI/15T", "term": "medium", "freq": "15T", "prediction_length": 480, "seasonality": 96, "n_variates": 1, "n_instances": 156, "domain": "Transport", "n_cohorts": 1, "metrics": {"mase": 1.2247380279585667, "wql": 0.4606462422807205, "wsql_by_level": [0.35271563027858044, 0.46916671844764296, 0.5347574666973072, 0.5645971811346638, 0.5639857267667516, 0.5360861472248911, 0.4816248899642675, 0.3916217673837492, 0.25126065262863073], "n_valid_labels": 74880, "n_masked_labels": 0, "mae_median": 7.516599158164984, "n_mase_elements": 74880, "n_seasonal_error_zero": 0, "n_seasonal_error_nan": 0}, "relative": {"mase": 0.8464958215201235, "wql": 0.8074034064141411}}, {"config_id": "SZ_TAXI__H__short", "leaderboard_key": "sz_taxi/H/short", "dataset": "SZ_TAXI/H", "term": "short", "freq": "H", "prediction_length": 48, "seasonality": 24, "n_variates": 1, "n_instances": 156, "domain": "Transport", "n_cohorts": 1, "metrics": {"mase": 0.48236939748182234, "wql": 0.1354479873405955, "wsql_by_level": [0.07083712908538735, 0.1105372186115372, 0.13693856479136124, 0.15434980584193558, 0.16477553303477152, 0.16617163715875705, 0.15956254128526853, 0.14421913712925524, 0.11164031912708551], "n_valid_labels": 7488, "n_masked_labels": 0, "mae_median": 1.8412857813400945, "n_mase_elements": 7488, "n_seasonal_error_zero": 0, "n_seasonal_error_nan": 0}, "relative": {"mase": 0.8145983157874067, "wql": 0.628189930360445}}, {"config_id": "M_DENSE__H__short", "leaderboard_key": "m_dense/H/short", "dataset": "M_DENSE/H", "term": "short", "freq": "H", "prediction_length": 48, "seasonality": 24, "n_variates": 1, "n_instances": 30, "domain": "Transport", "n_cohorts": 1, "metrics": {"mase": 0.6162997543359653, "wql": 0.10877191722864998, "wsql_by_level": [0.06842868632873086, 0.09740792301646804, 0.1160604477140447, 0.12857126860399587, 0.13560961697225254, 0.13573949532414786, 0.12534388643656147, 0.10358798916803391, 0.06819794149361473], "n_valid_labels": 1440, "n_masked_labels": 0, "mae_median": 81.5105882300271, "n_mase_elements": 1440, "n_seasonal_error_zero": 0, "n_seasonal_error_nan": 0}, "relative": {"mase": 0.46661331281821217, "wql": 0.4736986381907257}}, {"config_id": "M_DENSE__H__medium", "leaderboard_key": "m_dense/H/medium", "dataset": "M_DENSE/H", "term": "medium", "freq": "H", "prediction_length": 480, "seasonality": 24, "n_variates": 1, "n_instances": 30, "domain": "Transport", "n_cohorts": 1, "metrics": {"mase": 0.9148011108326657, "wql": 0.24504539102617562, "wsql_by_level": [0.14577099949003738, 0.22502219095496742, 0.27481079495526645, 0.30219021195853174, 0.30826281677348044, 0.2953885829843998, 0.2648341688065938, 0.22490004916309475, 0.1642287041492086], "n_valid_labels": 14400, "n_masked_labels": 0, "mae_median": 125.8994382126795, "n_mase_elements": 14400, "n_seasonal_error_zero": 0, "n_seasonal_error_nan": 0}, "relative": {"mase": 0.8400498271111567, "wql": 0.503397100948463}}, {"config_id": "M_DENSE__H__long", "leaderboard_key": "m_dense/H/long", "dataset": "M_DENSE/H", "term": "long", "freq": "H", "prediction_length": 720, "seasonality": 24, "n_variates": 1, "n_instances": 30, "domain": "Transport", "n_cohorts": 1, "metrics": {"mase": 0.7819969830359697, "wql": 0.19776195024018062, "wsql_by_level": [0.15134470327137428, 0.20260209627716286, 0.22826577814636828, 0.23789205268069274, 0.23559926372484558, 0.22473934562755532, 0.2048769050860482, 0.17312237115020496, 0.12141503619737332], "n_valid_labels": 21600, "n_masked_labels": 0, "mae_median": 120.48273391845049, "n_mase_elements": 21600, "n_seasonal_error_zero": 0, "n_seasonal_error_nan": 0}, "relative": {"mase": 0.6098391116491899, "wql": 0.40316645461133116}}, {"config_id": "M_DENSE__D__short", "leaderboard_key": "m_dense/D/short", "dataset": "M_DENSE/D", "term": "short", "freq": "D", "prediction_length": 30, "seasonality": 1, "n_variates": 1, "n_instances": 30, "domain": "Transport", "n_cohorts": 1, "metrics": {"mase": 0.7738065478738333, "wql": 0.12120110479278938, "wsql_by_level": [0.08607953195096542, 0.11947397605395241, 0.14036146571913397, 0.15063517229645662, 0.15061120626314242, 0.14340735182437886, 0.12780760139289363, 0.10374263393804896, 0.06869100369613208], "n_valid_labels": 900, "n_masked_labels": 0, "mae_median": 77.02082595825195, "n_mase_elements": 900, "n_seasonal_error_zero": 0, "n_seasonal_error_nan": 0}, "relative": {"mase": 0.549989437783038, "wql": 0.47290777871154444}}, {"config_id": "ett1__T__short", "leaderboard_key": "ett1/15T/short", "dataset": "ett1/15T", "term": "short", "freq": "15T", "prediction_length": 48, "seasonality": 96, "n_variates": 7, "n_instances": 1, "domain": "Energy", "n_cohorts": 1, "metrics": {"mase": 1.107083738198638, "wql": 0.5316922568983645, "wsql_by_level": [0.5029810745408837, 0.6338315695950164, 0.6753554104316974, 0.6742020897094367, 0.6409019880677244, 0.5812692632016984, 0.49237570731020813, 0.373691657366816, 0.21062155186179923], "n_valid_labels": 336, "n_masked_labels": 0, "mae_median": 2.062846050642076, "n_mase_elements": 336, "n_seasonal_error_zero": 0, "n_seasonal_error_nan": 0}, "relative": {"mase": 0.9245781564552206, "wql": 1.0262072040911547}}, {"config_id": "ett1__T__medium", "leaderboard_key": "ett1/15T/medium", "dataset": "ett1/15T", "term": "medium", "freq": "15T", "prediction_length": 480, "seasonality": 96, "n_variates": 7, "n_instances": 1, "domain": "Energy", "n_cohorts": 1, "metrics": {"mase": 1.0151525991880934, "wql": 0.3436310755687199, "wsql_by_level": [0.18236583162500872, 0.3237334768715601, 0.40952103959242186, 0.45340760079656006, 0.4644181827193618, 0.44080993665116874, 0.3842897872189889, 0.285010745952635, 0.14912307869077415], "n_valid_labels": 3360, "n_masked_labels": 0, "mae_median": 1.8481640429681214, "n_mase_elements": 3360, "n_seasonal_error_zero": 0, "n_seasonal_error_nan": 0}, "relative": {"mase": 0.9760175426447272, "wql": 0.7797003304065692}}, {"config_id": "ett1__T__long", "leaderboard_key": "ett1/15T/long", "dataset": "ett1/15T", "term": "long", "freq": "15T", "prediction_length": 720, "seasonality": 96, "n_variates": 7, "n_instances": 1, "domain": "Energy", "n_cohorts": 1, "metrics": {"mase": 1.27307247294281, "wql": 0.3282946572402945, "wsql_by_level": [0.1986055679793525, 0.32963009334568827, 0.40464662823603, 0.4298134323826024, 0.4252601705899528, 0.3950404252046606, 0.34232899486159035, 0.2677727721923813, 0.16155383037039198], "n_valid_labels": 5040, "n_masked_labels": 0, "mae_median": 1.8683039446764196, "n_mase_elements": 5040, "n_seasonal_error_zero": 0, "n_seasonal_error_nan": 0}, "relative": {"mase": 1.0291183243563582, "wql": 0.9052467154063255}}, {"config_id": "ett1__H__short", "leaderboard_key": "ett1/H/short", "dataset": "ett1/H", "term": "short", "freq": "H", "prediction_length": 48, "seasonality": 24, "n_variates": 7, "n_instances": 1, "domain": "Energy", "n_cohorts": 1, "metrics": {"mase": 0.9129143559624434, "wql": 0.34525472332347, "wsql_by_level": [0.22660598368120843, 0.3171342306770723, 0.3892051243710807, 0.4526477770519681, 0.4649088283402593, 0.43816249084566516, 0.37952975924819127, 0.2841396536602566, 0.1549586620355285], "n_valid_labels": 336, "n_masked_labels": 0, "mae_median": 5.417795660705971, "n_mase_elements": 336, "n_seasonal_error_zero": 0, "n_seasonal_error_nan": 0}, "relative": {"mase": 0.720688952054486, "wql": 0.49139043771251073}}, {"config_id": "ett1__H__medium", "leaderboard_key": "ett1/H/medium", "dataset": "ett1/H", "term": "medium", "freq": "H", "prediction_length": 480, "seasonality": 24, "n_variates": 7, "n_instances": 1, "domain": "Energy", "n_cohorts": 1, "metrics": {"mase": 1.0214294966412503, "wql": 0.24595398164793053, "wsql_by_level": [0.17406814006790872, 0.25245690613813665, 0.2916652230833364, 0.3078214520838479, 0.304365418806307, 0.2861875993700716, 0.2538061200774976, 0.2059109555179105, 0.13730401968635877], "n_valid_labels": 3360, "n_masked_labels": 0, "mae_median": 5.731355004216589, "n_mase_elements": 3360, "n_seasonal_error_zero": 0, "n_seasonal_error_nan": 0}, "relative": {"mase": 0.6755707955775141, "wql": 0.4958830967109687}}, {"config_id": "ett1__H__long", "leaderboard_key": "ett1/H/long", "dataset": "ett1/H", "term": "long", "freq": "H", "prediction_length": 720, "seasonality": 24, "n_variates": 7, "n_instances": 1, "domain": "Energy", "n_cohorts": 1, "metrics": {"mase": 0.9184933289661569, "wql": 0.2433123192760126, "wsql_by_level": [0.148087687622324, 0.2254563058854089, 0.2648049834729476, 0.28675883967819676, 0.297921759296374, 0.29718192906862895, 0.27793974878550404, 0.23383002176933265, 0.15782959790539627], "n_valid_labels": 5040, "n_masked_labels": 0, "mae_median": 5.45492329030549, "n_mase_elements": 5040, "n_seasonal_error_zero": 0, "n_seasonal_error_nan": 0}, "relative": {"mase": 0.7635105614810753, "wql": 0.4861402649246405}}, {"config_id": "ett1__D__short", "leaderboard_key": "ett1/D/short", "dataset": "ett1/D", "term": "short", "freq": "D", "prediction_length": 30, "seasonality": 1, "n_variates": 7, "n_instances": 1, "domain": "Energy", "n_cohorts": 1, "metrics": {"mase": 1.2362219565396784, "wql": 0.21211818079512806, "wsql_by_level": [0.12759474468457743, 0.20016557795687595, 0.2450403479988854, 0.2690227946277039, 0.27601033694224114, 0.26289772789069005, 0.23030779703065501, 0.18160797888721447, 0.11641632113730907], "n_valid_labels": 210, "n_masked_labels": 0, "mae_median": 101.23239531744095, "n_mase_elements": 210, "n_seasonal_error_zero": 0, "n_seasonal_error_nan": 0}, "relative": {"mase": 1.1437216981005118, "wql": 0.5927534593021693}}, {"config_id": "ett1__W__short", "leaderboard_key": "ett1/W/short", "dataset": "ett1/W", "term": "short", "freq": "W-THU", "prediction_length": 8, "seasonality": 1, "n_variates": 7, "n_instances": 1, "domain": "Energy", "n_cohorts": 1, "metrics": {"mase": 1.5817972675735799, "wql": 0.2921973343828827, "wsql_by_level": [0.17739626287432736, 0.2657361769468288, 0.33113457925827, 0.35921673551398514, 0.3726774138843192, 0.3692334104671081, 0.32880365974566456, 0.2511231373457456, 0.17445463340969528], "n_valid_labels": 56, "n_masked_labels": 0, "mae_median": 887.4289741516113, "n_mase_elements": 56, "n_seasonal_error_zero": 0, "n_seasonal_error_nan": 0}, "relative": {"mase": 0.9560732123503632, "wql": 0.8619209911132996}}, {"config_id": "ett2__T__short", "leaderboard_key": "ett2/15T/short", "dataset": "ett2/15T", "term": "short", "freq": "15T", "prediction_length": 48, "seasonality": 96, "n_variates": 7, "n_instances": 1, "domain": "Energy", "n_cohorts": 1, "metrics": {"mase": 1.2112942226535321, "wql": 0.10603323316944578, "wsql_by_level": [0.05555965645990992, 0.09118557231149862, 0.11608241426198763, 0.13235425709829884, 0.14054109753033928, 0.1378913565280705, 0.12474886142503079, 0.09823391892168855, 0.057701963988187825], "n_valid_labels": 336, "n_masked_labels": 0, "mae_median": 2.3284006239402864, "n_mase_elements": 336, "n_seasonal_error_zero": 0, "n_seasonal_error_nan": 0}, "relative": {"mase": 1.325018254897407, "wql": 1.0341219872765686}}, {"config_id": "ett2__T__medium", "leaderboard_key": "ett2/15T/medium", "dataset": "ett2/15T", "term": "medium", "freq": "15T", "prediction_length": 480, "seasonality": 96, "n_variates": 7, "n_instances": 1, "domain": "Energy", "n_cohorts": 1, "metrics": {"mase": 1.1125619361426078, "wql": 0.14794900206922662, "wsql_by_level": [0.07797574792800502, 0.11103643536660461, 0.14002828934016004, 0.1709334350168507, 0.19261772408209973, 0.1960801454455856, 0.18402660763026965, 0.15401239083343302, 0.10483024298003114], "n_valid_labels": 3360, "n_masked_labels": 0, "mae_median": 2.5729244746528344, "n_mase_elements": 3360, "n_seasonal_error_zero": 0, "n_seasonal_error_nan": 0}, "relative": {"mase": 0.9696438663585314, "wql": 0.8447528997618089}}, {"config_id": "ett2__T__long", "leaderboard_key": "ett2/15T/long", "dataset": "ett2/15T", "term": "long", "freq": "15T", "prediction_length": 720, "seasonality": 96, "n_variates": 7, "n_instances": 1, "domain": "Energy", "n_cohorts": 1, "metrics": {"mase": 3.132940668573695, "wql": 0.40124570231715473, "wsql_by_level": [0.37730294414013316, 0.46656567513758473, 0.5038930442282548, 0.5078262594027046, 0.48564469472572414, 0.4406983717335641, 0.3738659991398243, 0.2859758751299265, 0.16943845721667647], "n_valid_labels": 5040, "n_masked_labels": 0, "mae_median": 6.437485706969488, "n_mase_elements": 5040, "n_seasonal_error_zero": 0, "n_seasonal_error_nan": 0}, "relative": {"mase": 1.1117072218371524, "wql": 1.2608097043818878}}, {"config_id": "ett2__H__short", "leaderboard_key": "ett2/H/short", "dataset": "ett2/H", "term": "short", "freq": "H", "prediction_length": 48, "seasonality": 24, "n_variates": 7, "n_instances": 1, "domain": "Energy", "n_cohorts": 1, "metrics": {"mase": 0.6563529338448054, "wql": 0.0862884390726809, "wsql_by_level": [0.06938829387567377, 0.10122261034470352, 0.11337074919837953, 0.1117961904391991, 0.09917241903269325, 0.08668258638540494, 0.07708285140796965, 0.06754543705426297, 0.050334813915841346], "n_valid_labels": 336, "n_masked_labels": 0, "mae_median": 5.987722199587595, "n_mase_elements": 336, "n_seasonal_error_zero": 0, "n_seasonal_error_nan": 0}, "relative": {"mase": 0.8289956718205904, "wql": 0.7613814868523202}}, {"config_id": "ett2__H__medium", "leaderboard_key": "ett2/H/medium", "dataset": "ett2/H", "term": "medium", "freq": "H", "prediction_length": 480, "seasonality": 24, "n_variates": 7, "n_instances": 1, "domain": "Energy", "n_cohorts": 1, "metrics": {"mase": 2.2075137248499512, "wql": 0.18439759967917982, "wsql_by_level": [0.08817730746844442, 0.1412533046409432, 0.17940398523137663, 0.2063651328459806, 0.22440375088238398, 0.2319564432707547, 0.2276133614516551, 0.205835015194146, 0.15457009612693381], "n_valid_labels": 3360, "n_masked_labels": 0, "mae_median": 14.37627405598732, "n_mase_elements": 3360, "n_seasonal_error_zero": 0, "n_seasonal_error_nan": 0}, "relative": {"mase": 0.9145284159882985, "wql": 0.7521615481310319}}, {"config_id": "ett2__H__long", "leaderboard_key": "ett2/H/long", "dataset": "ett2/H", "term": "long", "freq": "H", "prediction_length": 720, "seasonality": 24, "n_variates": 7, "n_instances": 1, "domain": "Energy", "n_cohorts": 1, "metrics": {"mase": 1.394798318269394, "wql": 0.1611886217250057, "wsql_by_level": [0.11527137813406174, 0.16411191658426302, 0.1910512770653619, 0.2027425152895694, 0.20221066171358998, 0.19019332494177116, 0.16763191820242476, 0.13294724491987017, 0.0845373586741391], "n_valid_labels": 5040, "n_masked_labels": 0, "mae_median": 12.173998493500171, "n_mase_elements": 5040, "n_seasonal_error_zero": 0, "n_seasonal_error_nan": 0}, "relative": {"mase": 1.0851923982475131, "wql": 0.6065658921590206}}, {"config_id": "ett2__D__short", "leaderboard_key": "ett2/D/short", "dataset": "ett2/D", "term": "short", "freq": "D", "prediction_length": 30, "seasonality": 1, "n_variates": 7, "n_instances": 1, "domain": "Energy", "n_cohorts": 1, "metrics": {"mase": 1.6994531212586015, "wql": 0.13292929996003863, "wsql_by_level": [0.11347945972700656, 0.1474595699205491, 0.1646314501935089, 0.16653716913443242, 0.16051770159505488, 0.14520457750039695, 0.12595022495289165, 0.10029361350798896, 0.0722899331085184], "n_valid_labels": 210, "n_masked_labels": 0, "mae_median": 231.56498560905456, "n_mase_elements": 210, "n_seasonal_error_zero": 0, "n_seasonal_error_nan": 0}, "relative": {"mase": 1.0461322783283002, "wql": 0.6669074142925306}}, {"config_id": "ett2__W__short", "leaderboard_key": "ett2/W/short", "dataset": "ett2/W", "term": "short", "freq": "W-THU", "prediction_length": 8, "seasonality": 1, "n_variates": 7, "n_instances": 1, "domain": "Energy", "n_cohorts": 1, "metrics": {"mase": 2.7207313917731892, "wql": 0.2439608460673083, "wsql_by_level": [0.2123043410143094, 0.2360606948537212, 0.2628012649520402, 0.2949735441893475, 0.3030302356922222, 0.2900898749855996, 0.255908406398546, 0.2048120514281047, 0.13566720109188443], "n_valid_labels": 56, "n_masked_labels": 0, "mae_median": 3183.673274074282, "n_mase_elements": 56, "n_seasonal_error_zero": 0, "n_seasonal_error_nan": 0}, "relative": {"mase": 0.9881762125721921, "wql": 0.8515882038546841}}, {"config_id": "jena_weather__T__short", "leaderboard_key": "jena_weather/10T/short", "dataset": "jena_weather/10T", "term": "short", "freq": "10T", "prediction_length": 48, "seasonality": 144, "n_variates": 21, "n_instances": 1, "domain": "Nature", "n_cohorts": 1, "metrics": {"mase": 0.3693799156133635, "wql": 0.03857587237506894, "wsql_by_level": [0.010771764445689159, 0.02024841146306703, 0.027892457408170743, 0.034847879870089984, 0.04111959615798594, 0.046979672544462864, 0.05141035091302487, 0.05522032308707679, 0.05869239548605312], "n_valid_labels": 1008, "n_masked_labels": 0, "mae_median": 6.649642039245616, "n_mase_elements": 1008, "n_seasonal_error_zero": 0, "n_seasonal_error_nan": 0}, "relative": {"mase": 0.620697524222115, "wql": 0.26077522062932934}}, {"config_id": "jena_weather__T__medium", "leaderboard_key": "jena_weather/10T/medium", "dataset": "jena_weather/10T", "term": "medium", "freq": "10T", "prediction_length": 480, "seasonality": 144, "n_variates": 21, "n_instances": 1, "domain": "Nature", "n_cohorts": 1, "metrics": {"mase": 0.5413986589833613, "wql": 0.05367567446141438, "wsql_by_level": [0.03001228670780097, 0.04860846118302179, 0.06016931792661841, 0.06723564070031182, 0.06922530584714544, 0.06652758814760626, 0.0591056417206643, 0.04727754051934235, 0.034919287400218005], "n_valid_labels": 10080, "n_masked_labels": 0, "mae_median": 11.876657931865859, "n_mase_elements": 10080, "n_seasonal_error_zero": 0, "n_seasonal_error_nan": 0}, "relative": {"mase": 0.7181975850720205, "wql": 0.26429131030519104}}, {"config_id": "jena_weather__T__long", "leaderboard_key": "jena_weather/10T/long", "dataset": "jena_weather/10T", "term": "long", "freq": "10T", "prediction_length": 720, "seasonality": 144, "n_variates": 21, "n_instances": 1, "domain": "Nature", "n_cohorts": 1, "metrics": {"mase": 0.7594754178515889, "wql": 0.06366694627814617, "wsql_by_level": [0.035884214832891774, 0.0529284746807158, 0.06322715370665824, 0.06983585961097323, 0.07315002437881775, 0.07568589020748705, 0.07452279102216243, 0.06934186160871068, 0.05842624645489858], "n_valid_labels": 15120, "n_masked_labels": 0, "mae_median": 12.655410731558948, "n_mase_elements": 15120, "n_seasonal_error_zero": 0, "n_seasonal_error_nan": 0}, "relative": {"mase": 0.7458502225804546, "wql": 0.25538232386627097}}, {"config_id": "jena_weather__H__short", "leaderboard_key": "jena_weather/H/short", "dataset": "jena_weather/H", "term": "short", "freq": "H", "prediction_length": 48, "seasonality": 24, "n_variates": 21, "n_instances": 1, "domain": "Nature", "n_cohorts": 1, "metrics": {"mase": 0.33191519473523495, "wql": 0.04738684853278885, "wsql_by_level": [0.027985432833509728, 0.038955617603439664, 0.04517740355470951, 0.050102263715761174, 0.05421992312086661, 0.05573756454830676, 0.05730162379080594, 0.05367931504126654, 0.043322492586433725], "n_valid_labels": 1008, "n_masked_labels": 0, "mae_median": 9.382634961705966, "n_mase_elements": 1008, "n_seasonal_error_zero": 0, "n_seasonal_error_nan": 0}, "relative": {"mase": 0.37532523759556985, "wql": 0.25553695505697527}}, {"config_id": "jena_weather__H__medium", "leaderboard_key": "jena_weather/H/medium", "dataset": "jena_weather/H", "term": "medium", "freq": "H", "prediction_length": 480, "seasonality": 24, "n_variates": 21, "n_instances": 1, "domain": "Nature", "n_cohorts": 1, "metrics": {"mase": 0.9677294126704467, "wql": 0.08082793326156262, "wsql_by_level": [0.052850077276572836, 0.07992208185597273, 0.09437410985182884, 0.10050465489996874, 0.10006670080201084, 0.09254463400255994, 0.08109815551600089, 0.06981744828458945, 0.056273536864559486], "n_valid_labels": 10080, "n_masked_labels": 0, "mae_median": 19.92106823067713, "n_mase_elements": 10080, "n_seasonal_error_zero": 0, "n_seasonal_error_nan": 0}, "relative": {"mase": 1.0177542533513237, "wql": 0.25349829803305995}}, {"config_id": "jena_weather__H__long", "leaderboard_key": "jena_weather/H/long", "dataset": "jena_weather/H", "term": "long", "freq": "H", "prediction_length": 720, "seasonality": 24, "n_variates": 21, "n_instances": 1, "domain": "Nature", "n_cohorts": 1, "metrics": {"mase": 1.3942574079014727, "wql": 0.11464388218242544, "wsql_by_level": [0.07528698117500926, 0.1105696461852858, 0.13315981104348013, 0.14245028978155674, 0.14196177356913645, 0.13467972619837376, 0.12119504127525058, 0.10021379760450566, 0.07227787280923058], "n_valid_labels": 15120, "n_masked_labels": 0, "mae_median": 28.905303384889336, "n_mase_elements": 15120, "n_seasonal_error_zero": 0, "n_seasonal_error_nan": 0}, "relative": {"mase": 0.9458660496522819, "wql": 0.2947195312591485}}, {"config_id": "jena_weather__D__short", "leaderboard_key": "jena_weather/D/short", "dataset": "jena_weather/D", "term": "short", "freq": "D", "prediction_length": 30, "seasonality": 1, "n_variates": 21, "n_instances": 1, "domain": "Nature", "n_cohorts": 1, "metrics": {"mase": 1.5093121737156134, "wql": 0.09724836964952815, "wsql_by_level": [0.06768729792131656, 0.09533974371540223, 0.11081749220812914, 0.11844442995185328, 0.12076572727729964, 0.11604674267461824, 0.10497925816880616, 0.08433185101141111, 0.056822783916916975], "n_valid_labels": 630, "n_masked_labels": 0, "mae_median": 24.450099781597594, "n_mase_elements": 630, "n_seasonal_error_zero": 0, "n_seasonal_error_nan": 0}, "relative": {"mase": 0.9063957442681962, "wql": 0.48151458212352155}}, {"config_id": "bitbrains_fast_storage__T__short", "leaderboard_key": "bitbrains_fast_storage/5T/short", "dataset": "bitbrains_fast_storage/5T", "term": "short", "freq": "5T", "prediction_length": 48, "seasonality": 288, "n_variates": 2, "n_instances": 189, "domain": "Web/CloudOps", "n_cohorts": 1, "metrics": {"mase": 0.7873417787456084, "wql": 0.17004234287352293, "wsql_by_level": [0.10419149307524825, 0.14694589153060567, 0.17381513031474, 0.1885775453605322, 0.19636511235874685, 0.194198080946545, 0.18048859045029986, 0.1699597711345186, 0.17583947069047004], "n_valid_labels": 18144, "n_masked_labels": 0, "mae_median": 76.28833707197467, "n_mase_elements": 17472, "n_seasonal_error_zero": 12, "n_seasonal_error_nan": 2}, "relative": {"mase": 0.9301168785823798, "wql": 0.13950583511064976}}, {"config_id": "bitbrains_fast_storage__T__medium", "leaderboard_key": "bitbrains_fast_storage/5T/medium", "dataset": "bitbrains_fast_storage/5T", "term": "medium", "freq": "5T", "prediction_length": 480, "seasonality": 288, "n_variates": 2, "n_instances": 182, "domain": "Web/CloudOps", "n_cohorts": 1, "metrics": {"mase": 0.7112655547226566, "wql": 0.5879802217038006, "wsql_by_level": [0.3335109407036411, 0.5510798369187269, 0.6640653949799512, 0.7292558148169821, 0.756650871113682, 0.7358371570152223, 0.6711333545136516, 0.5422782560286026, 0.308010369243744], "n_valid_labels": 174720, "n_masked_labels": 0, "mae_median": 395.6898486661917, "n_mase_elements": 173760, "n_seasonal_error_zero": 2, "n_seasonal_error_nan": 0}, "relative": {"mase": 0.8132431660475362, "wql": 0.7421229429809829}}, {"config_id": "bitbrains_fast_storage__T__long", "leaderboard_key": "bitbrains_fast_storage/5T/long", "dataset": "bitbrains_fast_storage/5T", "term": "long", "freq": "5T", "prediction_length": 720, "seasonality": 288, "n_variates": 2, "n_instances": 182, "domain": "Web/CloudOps", "n_cohorts": 1, "metrics": {"mase": 0.7214092088082876, "wql": 0.4972824133703841, "wsql_by_level": [0.3064214127552295, 0.5225172656270939, 0.5818980520212783, 0.5960653227032154, 0.593892465089494, 0.5760645833731588, 0.5375496968441965, 0.4615169686208724, 0.29961595329891844], "n_valid_labels": 262080, "n_masked_labels": 0, "mae_median": 443.1621442951751, "n_mase_elements": 252000, "n_seasonal_error_zero": 10, "n_seasonal_error_nan": 4}, "relative": {"mase": 0.7804660417878175, "wql": 0.7032124595530006}}, {"config_id": "bitbrains_fast_storage__H__short", "leaderboard_key": "bitbrains_fast_storage/H/short", "dataset": "bitbrains_fast_storage/H", "term": "short", "freq": "H", "prediction_length": 48, "seasonality": 24, "n_variates": 2, "n_instances": 188, "domain": "Web/CloudOps", "n_cohorts": 1, "metrics": {"mase": 0.5690350150639927, "wql": 0.34840789929643523, "wsql_by_level": [0.16967738691785286, 0.302882880307531, 0.39966400144092246, 0.4525647753293816, 0.46521437463772825, 0.4470010118091984, 0.4027574753294348, 0.31925003082592074, 0.17665915706994673], "n_valid_labels": 18048, "n_masked_labels": 0, "mae_median": 335.3995370736956, "n_mase_elements": 17472, "n_seasonal_error_zero": 12, "n_seasonal_error_nan": 0}, "relative": {"mase": 0.7843670429667351, "wql": 0.6042522353305465}}, {"config_id": "bitbrains_rnd__T__short", "leaderboard_key": "bitbrains_rnd/5T/short", "dataset": "bitbrains_rnd/5T", "term": "short", "freq": "5T", "prediction_length": 48, "seasonality": 288, "n_variates": 2, "n_instances": 186, "domain": "Web/CloudOps", "n_cohorts": 1, "metrics": {"mase": 1.1762276768493416, "wql": 0.29305788852580017, "wsql_by_level": [0.0941130412093545, 0.16622963545994934, 0.226678972851334, 0.27978610366565937, 0.3269947778695106, 0.3686592579693599, 0.4020833311541577, 0.41608000269585727, 0.3568958738570189], "n_valid_labels": 17856, "n_masked_labels": 0, "mae_median": 52.206851834061446, "n_mase_elements": 17376, "n_seasonal_error_zero": 10, "n_seasonal_error_nan": 0}, "relative": {"mase": 0.853011114931803, "wql": 0.302634558662142}}, {"config_id": "bitbrains_rnd__T__medium", "leaderboard_key": "bitbrains_rnd/5T/medium", "dataset": "bitbrains_rnd/5T", "term": "medium", "freq": "5T", "prediction_length": 480, "seasonality": 288, "n_variates": 2, "n_instances": 188, "domain": "Web/CloudOps", "n_cohorts": 1, "metrics": {"mase": 0.7018403923087395, "wql": 0.8763071749093687, "wsql_by_level": [0.4593097018225786, 0.9207738511644981, 1.0929373491978462, 1.1319649154348952, 1.1000326475380773, 1.0137410432291196, 0.8788118060722624, 0.7181236981849387, 0.5710695615401022], "n_valid_labels": 178498, "n_masked_labels": 1982, "mae_median": 195.70914827139654, "n_mase_elements": 177486, "n_seasonal_error_zero": 2, "n_seasonal_error_nan": 4}, "relative": {"mase": 0.8424568913342672, "wql": 0.4601642426171456}}, {"config_id": "bitbrains_rnd__T__long", "leaderboard_key": "bitbrains_rnd/5T/long", "dataset": "bitbrains_rnd/5T", "term": "long", "freq": "5T", "prediction_length": 720, "seasonality": 288, "n_variates": 2, "n_instances": 181, "domain": "Web/CloudOps", "n_cohorts": 1, "metrics": {"mase": 1.1018156833060604, "wql": 0.6628716401107811, "wsql_by_level": [0.20530593636375716, 0.3717069457920215, 0.518072770111531, 0.6517749761797804, 0.7620512965890279, 0.8697410983682754, 0.9144529240804049, 0.9053833830481348, 0.7673554304640974], "n_valid_labels": 260626, "n_masked_labels": 14, "mae_median": 209.089716706767, "n_mase_elements": 246232, "n_seasonal_error_zero": 4, "n_seasonal_error_nan": 16}, "relative": {"mase": 0.7693993451517863, "wql": 0.6084504573504855}}, {"config_id": "bitbrains_rnd__H__short", "leaderboard_key": "bitbrains_rnd/H/short", "dataset": "bitbrains_rnd/H", "term": "short", "freq": "H", "prediction_length": 48, "seasonality": 24, "n_variates": 2, "n_instances": 180, "domain": "Web/CloudOps", "n_cohorts": 1, "metrics": {"mase": 1.2215021770399326, "wql": 0.36860351639044364, "wsql_by_level": [0.14886295299375826, 0.2641160652678832, 0.3535642757534057, 0.44892928556562695, 0.5143735939904236, 0.5221533797370183, 0.46486019908891, 0.3523978235325424, 0.2481740715844244], "n_valid_labels": 17280, "n_masked_labels": 0, "mae_median": 250.59353141244387, "n_mase_elements": 16992, "n_seasonal_error_zero": 6, "n_seasonal_error_nan": 0}, "relative": {"mase": 0.8251812853807775, "wql": 0.4597046797120189}}, {"config_id": "bizitobs_application__S__short", "leaderboard_key": "bizitobs_application/10S/short", "dataset": "bizitobs_application", "term": "short", "freq": "10S", "prediction_length": 60, "seasonality": 360, "n_variates": 2, "n_instances": 1, "domain": "Web/CloudOps", "n_cohorts": 1, "metrics": {"mase": 0.4062655295463454, "wql": 0.006554902715506177, "wsql_by_level": [0.001765639491537941, 0.003677057251152104, 0.005721009967562471, 0.00740489998704737, 0.008884389930746837, 0.009561424272219617, 0.009204914185693592, 0.00775450057763828, 0.00502028877595738], "n_valid_labels": 120, "n_masked_labels": 0, "mae_median": 226.22181529998778, "n_mase_elements": 120, "n_seasonal_error_zero": 0, "n_seasonal_error_nan": 0}, "relative": {"mase": 1.0914920939774215, "wql": 0.8113244574488367}}, {"config_id": "bizitobs_application__S__medium", "leaderboard_key": "bizitobs_application/10S/medium", "dataset": "bizitobs_application", "term": "medium", "freq": "10S", "prediction_length": 600, "seasonality": 360, "n_variates": 2, "n_instances": 1, "domain": "Web/CloudOps", "n_cohorts": 1, "metrics": {"mase": 0.4703034034625197, "wql": 0.00669723470787308, "wsql_by_level": [0.004606076681672416, 0.006445194841912462, 0.007311925529992874, 0.0077634796399292105, 0.007855401423663174, 0.007724686936390077, 0.007453408045348879, 0.006523392176113295, 0.004591547095835339], "n_valid_labels": 1200, "n_masked_labels": 0, "mae_median": 187.96784063339234, "n_mase_elements": 1200, "n_seasonal_error_zero": 0, "n_seasonal_error_nan": 0}, "relative": {"mase": 0.8849852965089385, "wql": 0.5926567331089186}}, {"config_id": "bizitobs_application__S__long", "leaderboard_key": "bizitobs_application/10S/long", "dataset": "bizitobs_application", "term": "long", "freq": "10S", "prediction_length": 900, "seasonality": 360, "n_variates": 2, "n_instances": 1, "domain": "Web/CloudOps", "n_cohorts": 1, "metrics": {"mase": 0.6654016738485262, "wql": 0.011677349915199205, "wsql_by_level": [0.011072168278189536, 0.01512204458353631, 0.016228991617481307, 0.015169236927761277, 0.01320514614232288, 0.010918002761176599, 0.008785145277329313, 0.007835656948784589, 0.00675975670021103], "n_valid_labels": 1800, "n_masked_labels": 0, "mae_median": 323.02682648764716, "n_mase_elements": 1800, "n_seasonal_error_zero": 0, "n_seasonal_error_nan": 0}, "relative": {"mase": 1.0038139945754476, "wql": 0.8458267168495301}}, {"config_id": "bizitobs_service__S__short", "leaderboard_key": "bizitobs_service/10S/short", "dataset": "bizitobs_service", "term": "short", "freq": "10S", "prediction_length": 60, "seasonality": 360, "n_variates": 2, "n_instances": 21, "domain": "Web/CloudOps", "n_cohorts": 1, "metrics": {"mase": 0.5911467133771469, "wql": 0.008201373646660888, "wsql_by_level": [0.004057122255436924, 0.00663481674992507, 0.00848352286574821, 0.009837478530932867, 0.010565611856506289, 0.010618757352089779, 0.009928090259344657, 0.008306594949895255, 0.005380368000068941], "n_valid_labels": 2520, "n_masked_labels": 0, "mae_median": 13.990628957348905, "n_mase_elements": 2520, "n_seasonal_error_zero": 0, "n_seasonal_error_nan": 0}, "relative": {"mase": 0.7740464521109395, "wql": 0.4906841904603532}}, {"config_id": "bizitobs_service__S__medium", "leaderboard_key": "bizitobs_service/10S/medium", "dataset": "bizitobs_service", "term": "medium", "freq": "10S", "prediction_length": 600, "seasonality": 360, "n_variates": 2, "n_instances": 21, "domain": "Web/CloudOps", "n_cohorts": 1, "metrics": {"mase": 0.5845086884755826, "wql": 0.008399305981727882, "wsql_by_level": [0.0053232467060303525, 0.007428680774369053, 0.008813081163579473, 0.009741711463396563, 0.010266253138463466, 0.010284305113961138, 0.009685945822732973, 0.008290074331809337, 0.005760455321208573], "n_valid_labels": 25200, "n_masked_labels": 0, "mae_median": 12.938362117326921, "n_mase_elements": 25200, "n_seasonal_error_zero": 0, "n_seasonal_error_nan": 0}, "relative": {"mase": 0.8394513110829915, "wql": 0.394265471797736}}, {"config_id": "bizitobs_service__S__long", "leaderboard_key": "bizitobs_service/10S/long", "dataset": "bizitobs_service", "term": "long", "freq": "10S", "prediction_length": 900, "seasonality": 360, "n_variates": 2, "n_instances": 21, "domain": "Web/CloudOps", "n_cohorts": 1, "metrics": {"mase": 0.7293534428628334, "wql": 0.010389260259255953, "wsql_by_level": [0.0072624646328127065, 0.010321832856757153, 0.012023497528620112, 0.012818662254133417, 0.012900946360225922, 0.01232845830991949, 0.011047585669131875, 0.008907567335014127, 0.00589232738668876], "n_valid_labels": 37800, "n_masked_labels": 0, "mae_median": 16.5367922705065, "n_mase_elements": 37800, "n_seasonal_error_zero": 0, "n_seasonal_error_nan": 0}, "relative": {"mase": 0.8900132461854047, "wql": 0.40257154138262724}}, {"config_id": "bizitobs_l2c__T__short", "leaderboard_key": "bizitobs_l2c/5T/short", "dataset": "bizitobs_l2c/5T", "term": "short", "freq": "5T", "prediction_length": 48, "seasonality": 288, "n_variates": 7, "n_instances": 1, "domain": "Web/CloudOps", "n_cohorts": 1, "metrics": {"mase": 0.2095262378348314, "wql": 0.0739445046795741, "wsql_by_level": [0.033110671484900586, 0.052002194573316715, 0.06505702329612414, 0.0770106599351185, 0.08776760413787124, 0.09483606922862413, 0.09668902741370758, 0.09005576656204753, 0.06897152548445652], "n_valid_labels": 336, "n_masked_labels": 0, "mae_median": 2.1584483129637584, "n_mase_elements": 336, "n_seasonal_error_zero": 0, "n_seasonal_error_nan": 0}, "relative": {"mase": 0.3275733914863857, "wql": 0.396731646948172}}, {"config_id": "bizitobs_l2c__T__medium", "leaderboard_key": "bizitobs_l2c/5T/medium", "dataset": "bizitobs_l2c/5T", "term": "medium", "freq": "5T", "prediction_length": 480, "seasonality": 288, "n_variates": 7, "n_instances": 1, "domain": "Web/CloudOps", "n_cohorts": 1, "metrics": {"mase": 0.3440786668313065, "wql": 0.5938867322323665, "wsql_by_level": [0.13600572828480512, 0.36147536137441144, 0.47508819657130597, 0.5721192663332282, 0.6723217686989006, 0.7375980346365651, 0.7914280009022922, 0.8207589470617863, 0.7781852862280043], "n_valid_labels": 3360, "n_masked_labels": 0, "mae_median": 3.633236852332595, "n_mase_elements": 3360, "n_seasonal_error_zero": 0, "n_seasonal_error_nan": 0}, "relative": {"mase": 0.22607178220419485, "wql": 0.2819516465789851}}, {"config_id": "bizitobs_l2c__T__long", "leaderboard_key": "bizitobs_l2c/5T/long", "dataset": "bizitobs_l2c/5T", "term": "long", "freq": "5T", "prediction_length": 720, "seasonality": 288, "n_variates": 7, "n_instances": 1, "domain": "Web/CloudOps", "n_cohorts": 1, "metrics": {"mase": 0.45511087159958724, "wql": 0.19160275633213286, "wsql_by_level": [0.11921702306453705, 0.1798427767400755, 0.21040762287704848, 0.2321147763267757, 0.24018903730717306, 0.2330038092952642, 0.20994098572164058, 0.17722710493187102, 0.12248167072481017], "n_valid_labels": 5040, "n_masked_labels": 0, "mae_median": 5.020375507525982, "n_mase_elements": 5040, "n_seasonal_error_zero": 0, "n_seasonal_error_nan": 0}, "relative": {"mase": 0.45570853675646317, "wql": 0.5185063261158916}}, {"config_id": "bizitobs_l2c__H__short", "leaderboard_key": "bizitobs_l2c/H/short", "dataset": "bizitobs_l2c/H", "term": "short", "freq": "H", "prediction_length": 48, "seasonality": 24, "n_variates": 7, "n_instances": 1, "domain": "Web/CloudOps", "n_cohorts": 1, "metrics": {"mase": 0.43744211877725736, "wql": 0.306751021444636, "wsql_by_level": [0.12845518194518704, 0.22146909752749813, 0.28943233655169903, 0.33668810146483885, 0.37014855030159677, 0.38925141609197206, 0.38404756827844544, 0.3604672440158595, 0.2807996968246274], "n_valid_labels": 336, "n_masked_labels": 0, "mae_median": 5.071506102525053, "n_mase_elements": 336, "n_seasonal_error_zero": 0, "n_seasonal_error_nan": 0}, "relative": {"mase": 0.3840288994664711, "wql": 0.4652754878218807}}, {"config_id": "bizitobs_l2c__H__medium", "leaderboard_key": "bizitobs_l2c/H/medium", "dataset": "bizitobs_l2c/H", "term": "medium", "freq": "H", "prediction_length": 480, "seasonality": 24, "n_variates": 7, "n_instances": 1, "domain": "Web/CloudOps", "n_cohorts": 1, "metrics": {"mase": 0.6304829242294927, "wql": 0.2828865952176213, "wsql_by_level": [0.15106216711713033, 0.25351171362375946, 0.3105823304861972, 0.34165283339413277, 0.37635173300444147, 0.3679158123250064, 0.3232675397260872, 0.25181060871544203, 0.16982461856639489], "n_valid_labels": 3360, "n_masked_labels": 0, "mae_median": 5.9699882950345495, "n_mase_elements": 3360, "n_seasonal_error_zero": 0, "n_seasonal_error_nan": 0}, "relative": {"mase": 0.44472341451408304, "wql": 0.3287825561336583}}], "cpu_seconds": 1.0800957710016519, "members": ["/workspace/research/backcast2_evals/weekly_slow_ar_delta3k", "/workspace/research/backcast2_evals/patch8_ema6000", "/workspace/research/backcast2_evals/split_patch_ema12000"], "member_checkpoint_hashes": ["094c7c694406075967f392a0d9ac1146bac984a90ab468c59d660a1b92fa7ba2", "308389b7217c080af9eb185559d4ee3cafa0f3e0f8c4dd8f5526b68198c89988", "1a2fb20a9fb5cae6526f2e36ea47559626bece78fd9c284899836505030ae9fe"], "weights": [0.3333333333333333, 0.3333333333333333, 0.3333333333333333], "selection_only": true, "cutoff": "valid_backcast2", "E102skill": 0.3650870167535245, "difference": -0.00013749455397837895} +{"composition": "equal quantile mean after each member applies its own fixed rules", "skill_score": 0.3895560076325473, "rel_mase_gmean": 0.7397944917104605, "rel_wql_gmean": 0.5037099789104116, "groups": {"term": {"short": 0.39497499447719087, "medium": 0.36817084374084685, "long": 0.3961751351498505}, "domain": {"Econ/Fin": 0.1867078283664393, "Energy": 0.31635325174873963, "Healthcare": 0.2409392551732944, "Nature": 0.5066352280851036, "Sales": 0.39984868686183916, "Transport": 0.5093415403788037, "Web/CloudOps": 0.3940107201665548}, "freq": {"A-DEC": 0.35784995850867973, "Q-DEC": 0.25447966877928774, "M": 0.148976696722656, "W-SUN": 0.1683943609547428, "D": 0.4400873284135568, "H": 0.4057663179487805, "15T": 0.2545202824131877, "W-FRI": 0.03968631706726722, "10T": 0.6070409132004327, "W-TUE": 0.2726738628251745, "W-THU": 0.3390868412221538, "W-WED": 0.37715156511841175, "5T": 0.4653160336561383, "10S": 0.2927867937240686}}, "configs": [{"config_id": "m4_yearly__A__short", "leaderboard_key": "m4_yearly/A/short", "dataset": "m4_yearly", "term": "short", "freq": "A-DEC", "prediction_length": 6, "seasonality": 1, "n_variates": 1, "n_instances": 72, "domain": "Econ/Fin", "n_cohorts": 3, "skipped_series": 235, "dropped_containers": 11, "metrics": {"mase": 1.9968311000247458, "wql": 0.09431077343688035, "wsql_by_level": [0.057351370674834486, 0.08460425826103793, 0.09675036185704364, 0.10488426826187748, 0.1141929048203329, 0.11318498653042676, 0.10820881729176861, 0.09524758021703066, 0.07437241301757068], "n_valid_labels": 432, "n_masked_labels": 0, "mae_median": 386.90164022092466, "n_mase_elements": 432, "n_seasonal_error_zero": 0, "n_seasonal_error_nan": 0}, "relative": {"mase": 0.5327260887435096, "wql": 0.7740500878413724}}, {"config_id": "m4_quarterly__Q__short", "leaderboard_key": "m4_quarterly/Q/short", "dataset": "m4_quarterly", "term": "short", "freq": "Q-DEC", "prediction_length": 8, "seasonality": 4, "n_variates": 1, "n_instances": 164, "domain": "Econ/Fin", "n_cohorts": 3, "dropped_containers": 95, "metrics": {"mase": 1.3466628410343882, "wql": 0.07619546429116468, "wsql_by_level": [0.042053495533562364, 0.06642435787204258, 0.0810742047190762, 0.08988202179447301, 0.09444603993760482, 0.09470428424835266, 0.08887245008707427, 0.07575735078687426, 0.052544973641421994], "n_valid_labels": 1312, "n_masked_labels": 0, "mae_median": 467.81559930196624, "n_mase_elements": 1312, "n_seasonal_error_zero": 0, "n_seasonal_error_nan": 0}, "relative": {"mase": 0.7201529208440769, "wql": 0.7717813094641036}}, {"config_id": "m4_monthly__M__short", "leaderboard_key": "m4_monthly/M/short", "dataset": "m4_monthly", "term": "short", "freq": "M", "prediction_length": 18, "seasonality": 12, "n_variates": 1, "n_instances": 148, "domain": "Econ/Fin", "n_cohorts": 3, "dropped_containers": 499, "metrics": {"mase": 1.3586919716401007, "wql": 0.1137018990727708, "wsql_by_level": [0.07387143973071765, 0.10365601243650747, 0.12558889012990404, 0.13686400165768292, 0.13963017215907328, 0.13580584565048176, 0.12544054841260036, 0.10674629458647017, 0.07571388689149945], "n_valid_labels": 2664, "n_masked_labels": 0, "mae_median": 632.0187633502949, "n_mase_elements": 2664, "n_seasonal_error_zero": 0, "n_seasonal_error_nan": 0}, "relative": {"mase": 0.779267946142973, "wql": 0.7562270530823811}}, {"config_id": "m4_weekly__W__short", "leaderboard_key": "m4_weekly/W/short", "dataset": "m4_weekly", "term": "short", "freq": "W-SUN", "prediction_length": 13, "seasonality": 1, "n_variates": 1, "n_instances": 192, "domain": "Econ/Fin", "n_cohorts": 2, "dropped_containers": 4, "metrics": {"mase": 3.1376710929808236, "wql": 0.05610427278366708, "wsql_by_level": [0.03207904965590628, 0.04743180538291435, 0.057305160776317136, 0.06428230854640059, 0.06812246664712152, 0.06918429210907566, 0.06656931715735032, 0.0586662174764149, 0.04129783730150303], "n_valid_labels": 2496, "n_masked_labels": 0, "mae_median": 347.26442183898047, "n_mase_elements": 2496, "n_seasonal_error_zero": 0, "n_seasonal_error_nan": 0}, "relative": {"mase": 0.9927479701235363, "wql": 0.6966198468336456}}, {"config_id": "m4_daily__D__short", "leaderboard_key": "m4_daily/D/short", "dataset": "m4_daily", "term": "short", "freq": "D", "prediction_length": 14, "seasonality": 1, "n_variates": 1, "n_instances": 192, "domain": "Econ/Fin", "n_cohorts": 2, "dropped_containers": 23, "metrics": {"mase": 2.899294632917307, "wql": 0.01782209940529695, "wsql_by_level": [0.012368559288437032, 0.017953943856232044, 0.020997375199711395, 0.022303848398829706, 0.02211073841633459, 0.020777217756722845, 0.018327784517731156, 0.014925917277556348, 0.01063350993611742], "n_valid_labels": 2688, "n_masked_labels": 0, "mae_median": 157.58748077210925, "n_mase_elements": 2688, "n_seasonal_error_zero": 0, "n_seasonal_error_nan": 0}, "relative": {"mase": 1.1233738943586717, "wql": 1.1683129880583574}}, {"config_id": "m4_hourly__H__short", "leaderboard_key": "m4_hourly/H/short", "dataset": "m4_hourly", "term": "short", "freq": "H", "prediction_length": 48, "seasonality": 24, "n_variates": 1, "n_instances": 192, "domain": "Econ/Fin", "n_cohorts": 1, "metrics": {"mase": 1.1448737645362772, "wql": 0.030195311576824854, "wsql_by_level": [0.01450632321854546, 0.023160041176966722, 0.029678064430175035, 0.0358304213678648, 0.03931481124092293, 0.04008023758962699, 0.037634115512838316, 0.031165855762965624, 0.02038793389151782], "n_valid_labels": 9216, "n_masked_labels": 0, "mae_median": 292.94997708439445, "n_mase_elements": 9216, "n_seasonal_error_zero": 0, "n_seasonal_error_nan": 0}, "relative": {"mase": 0.9366634566620275, "wql": 0.7293334098979858}}, {"config_id": "electricity__T__short", "leaderboard_key": "electricity/15T/short", "dataset": "electricity/15T", "term": "short", "freq": "15T", "prediction_length": 48, "seasonality": 96, "n_variates": 1, "n_instances": 192, "domain": "Energy", "n_cohorts": 1, "metrics": {"mase": 0.6963746720913301, "wql": 0.05573553609690128, "wsql_by_level": [0.03357291719577235, 0.05048769495355534, 0.06113133394546291, 0.0673339201516293, 0.06955087669417274, 0.06858196942696926, 0.06365083936968094, 0.052885465011481225, 0.034424808123387406], "n_valid_labels": 9216, "n_masked_labels": 0, "mae_median": 23.270813270649846, "n_mase_elements": 9168, "n_seasonal_error_zero": 1, "n_seasonal_error_nan": 0}, "relative": {"mase": 0.8564447332091749, "wql": 0.8239957863230027}}, {"config_id": "electricity__T__medium", "leaderboard_key": "electricity/15T/medium", "dataset": "electricity/15T", "term": "medium", "freq": "15T", "prediction_length": 480, "seasonality": 96, "n_variates": 1, "n_instances": 192, "domain": "Energy", "n_cohorts": 1, "metrics": {"mase": 0.9086374800774779, "wql": 0.06562175592497879, "wsql_by_level": [0.03810428198148621, 0.058562556936855206, 0.07160368470090045, 0.07931327378437407, 0.08240346934426789, 0.08132439285170404, 0.07526672608421923, 0.06265865854174585, 0.04135875909925615], "n_valid_labels": 92160, "n_masked_labels": 0, "mae_median": 45.90769322239002, "n_mase_elements": 92160, "n_seasonal_error_zero": 0, "n_seasonal_error_nan": 0}, "relative": {"mase": 0.7273277053860124, "wql": 0.6700476497993054}}, {"config_id": "electricity__T__long", "leaderboard_key": "electricity/15T/long", "dataset": "electricity/15T", "term": "long", "freq": "15T", "prediction_length": 720, "seasonality": 96, "n_variates": 1, "n_instances": 192, "domain": "Energy", "n_cohorts": 1, "metrics": {"mase": 1.525505258771378, "wql": 0.10136274316991528, "wsql_by_level": [0.044960879821685326, 0.07365369312572438, 0.09534593040703065, 0.11150829597624808, 0.12236944961760891, 0.12791602471238733, 0.1272245464872267, 0.11713715388789882, 0.09214871449342744], "n_valid_labels": 138240, "n_masked_labels": 0, "mae_median": 85.60192187346344, "n_mase_elements": 137520, "n_seasonal_error_zero": 1, "n_seasonal_error_nan": 0}, "relative": {"mase": 0.9718135129102374, "wql": 0.8832261889065163}}, {"config_id": "electricity__H__short", "leaderboard_key": "electricity/H/short", "dataset": "electricity/H", "term": "short", "freq": "H", "prediction_length": 48, "seasonality": 24, "n_variates": 1, "n_instances": 192, "domain": "Energy", "n_cohorts": 1, "metrics": {"mase": 0.9339368071829378, "wql": 0.08451570457917906, "wsql_by_level": [0.057753048430970115, 0.08226480428322495, 0.09582090553613322, 0.10229778463115763, 0.10328533576443624, 0.10005686705048246, 0.09174950283440365, 0.07641853333832672, 0.05099455934347652], "n_valid_labels": 9216, "n_masked_labels": 0, "mae_median": 365.78789349765026, "n_mase_elements": 9216, "n_seasonal_error_zero": 0, "n_seasonal_error_nan": 0}, "relative": {"mase": 0.9021533773762123, "wql": 0.914463408155945}}, {"config_id": "electricity__H__medium", "leaderboard_key": "electricity/H/medium", "dataset": "electricity/H", "term": "medium", "freq": "H", "prediction_length": 480, "seasonality": 24, "n_variates": 1, "n_instances": 191, "domain": "Energy", "n_cohorts": 1, "metrics": {"mase": 1.006297427269044, "wql": 0.061165138419857774, "wsql_by_level": [0.03361703495649566, 0.05166759434578359, 0.06347512617417748, 0.07096351483682163, 0.0748634270052266, 0.07546739246049308, 0.07202832763351609, 0.0630162031797374, 0.0453876251864683], "n_valid_labels": 91680, "n_masked_labels": 0, "mae_median": 119.91655007300226, "n_mase_elements": 91680, "n_seasonal_error_zero": 0, "n_seasonal_error_nan": 0}, "relative": {"mase": 0.8386311394110976, "wql": 0.5370471342452036}}, {"config_id": "electricity__H__long", "leaderboard_key": "electricity/H/long", "dataset": "electricity/H", "term": "long", "freq": "H", "prediction_length": 720, "seasonality": 24, "n_variates": 1, "n_instances": 192, "domain": "Energy", "n_cohorts": 1, "metrics": {"mase": 0.9482095470456032, "wql": 0.05615345836757914, "wsql_by_level": [0.035456049559589815, 0.05064282126602756, 0.060462722237666244, 0.06617908206370164, 0.06854991299709427, 0.06769838405559461, 0.06329345961627485, 0.054382815434690944, 0.038715878077572256], "n_valid_labels": 138240, "n_masked_labels": 0, "mae_median": 124.21419495831209, "n_mase_elements": 137520, "n_seasonal_error_zero": 0, "n_seasonal_error_nan": 1}, "relative": {"mase": 0.828125229606739, "wql": 0.3895974292070914}}, {"config_id": "electricity__D__short", "leaderboard_key": "electricity/D/short", "dataset": "electricity/D", "term": "short", "freq": "D", "prediction_length": 30, "seasonality": 1, "n_variates": 1, "n_instances": 192, "domain": "Energy", "n_cohorts": 1, "metrics": {"mase": 1.0208449978332912, "wql": 0.04236610716126062, "wsql_by_level": [0.022930174804668003, 0.034609920466850554, 0.04320888101367589, 0.05061157488192572, 0.054984504292154554, 0.0550782045903533, 0.05050751702191169, 0.04103818935327935, 0.028325998026526526], "n_valid_labels": 5760, "n_masked_labels": 0, "mae_median": 3155.0729112885065, "n_mase_elements": 5730, "n_seasonal_error_zero": 0, "n_seasonal_error_nan": 1}, "relative": {"mase": 0.8879976876707474, "wql": 0.49665715084116496}}, {"config_id": "electricity__W__short", "leaderboard_key": "electricity/W/short", "dataset": "electricity/W", "term": "short", "freq": "W-FRI", "prediction_length": 8, "seasonality": 1, "n_variates": 1, "n_instances": 186, "domain": "Energy", "n_cohorts": 1, "metrics": {"mase": 1.4911280475115984, "wql": 0.056031502441841186, "wsql_by_level": [0.03403167157968172, 0.05032646338430331, 0.06381012997265191, 0.07221977643955861, 0.07228943944903228, 0.06428776091367575, 0.05186269586027058, 0.05123353902703701, 0.044222045350359424], "n_valid_labels": 1452, "n_masked_labels": 36, "mae_median": 32724.16763078674, "n_mase_elements": 1440, "n_seasonal_error_zero": 0, "n_seasonal_error_nan": 6}, "relative": {"mase": 0.9705294841674605, "wql": 0.8299011498843935}}, {"config_id": "solar__T__short", "leaderboard_key": "solar/10T/short", "dataset": "solar/10T", "term": "short", "freq": "10T", "prediction_length": 48, "seasonality": 144, "n_variates": 1, "n_instances": 137, "domain": "Energy", "n_cohorts": 1, "metrics": {"mase": 0.01601852853255743, "wql": 0.4304672828217729, "wsql_by_level": [0.19313393587875957, 0.31669038670192684, 0.4073168348047967, 0.4666404347287517, 0.5035122099136743, 0.528858131399247, 0.5308552246819881, 0.5142831168260029, 0.41291527046080884], "n_valid_labels": 6576, "n_masked_labels": 0, "mae_median": 0.04024039566632442, "n_mase_elements": 6576, "n_seasonal_error_zero": 0, "n_seasonal_error_nan": 0}, "relative": {"mase": 0.7017727033189929, "wql": 0.02929915989361301}}, {"config_id": "solar__T__medium", "leaderboard_key": "solar/10T/medium", "dataset": "solar/10T", "term": "medium", "freq": "10T", "prediction_length": 480, "seasonality": 144, "n_variates": 1, "n_instances": 137, "domain": "Energy", "n_cohorts": 1, "metrics": {"mase": 0.9600420031253558, "wql": 0.3500907238317365, "wsql_by_level": [0.27418397431172375, 0.40510800273791686, 0.45478022132823825, 0.4598562656660608, 0.4349718395633114, 0.3893210354750151, 0.3276210975418393, 0.24943900345006845, 0.1555350744114546], "n_valid_labels": 65760, "n_masked_labels": 0, "mae_median": 1.9883911493226405, "n_mase_elements": 65760, "n_seasonal_error_zero": 0, "n_seasonal_error_nan": 0}, "relative": {"mase": 0.6998297201573468, "wql": 0.4757784389558314}}, {"config_id": "solar__T__long", "leaderboard_key": "solar/10T/long", "dataset": "solar/10T", "term": "long", "freq": "10T", "prediction_length": 720, "seasonality": 144, "n_variates": 1, "n_instances": 137, "domain": "Energy", "n_cohorts": 1, "metrics": {"mase": 1.3710659245706367, "wql": 0.4921561471624368, "wsql_by_level": [0.5921053099511725, 0.6730755278015691, 0.6700792780273112, 0.6272611645515841, 0.5619412380643437, 0.4805118303950251, 0.3848602220207613, 0.2772256579743168, 0.16234509567584657], "n_valid_labels": 98640, "n_masked_labels": 0, "mae_median": 2.8277735929062633, "n_mase_elements": 98640, "n_seasonal_error_zero": 0, "n_seasonal_error_nan": 0}, "relative": {"mase": 0.8906144584774237, "wql": 0.6661135728385024}}, {"config_id": "solar__H__short", "leaderboard_key": "solar/H/short", "dataset": "solar/H", "term": "short", "freq": "H", "prediction_length": 48, "seasonality": 24, "n_variates": 1, "n_instances": 137, "domain": "Energy", "n_cohorts": 1, "metrics": {"mase": 1.8215647883066035, "wql": 1.2809713286445232, "wsql_by_level": [1.1562071116288766, 1.6875777465060555, 1.7867397013661925, 1.6948241337233199, 1.5158755806283277, 1.3086838994999097, 1.0709737284645895, 0.807118874193595, 0.5007411817898416], "n_valid_labels": 6576, "n_masked_labels": 0, "mae_median": 23.96474583904483, "n_mase_elements": 6576, "n_seasonal_error_zero": 0, "n_seasonal_error_nan": 0}, "relative": {"mase": 0.7739858536922466, "wql": 0.6587816242911256}}, {"config_id": "solar__H__medium", "leaderboard_key": "solar/H/medium", "dataset": "solar/H", "term": "medium", "freq": "H", "prediction_length": 480, "seasonality": 24, "n_variates": 1, "n_instances": 137, "domain": "Energy", "n_cohorts": 1, "metrics": {"mase": 0.7577705618447346, "wql": 0.19958721292674253, "wsql_by_level": [0.1185204016846511, 0.179705312059717, 0.2170112984802342, 0.23903490662722385, 0.24939234708792876, 0.24776146142371328, 0.2317259163719266, 0.1942496757572412, 0.1188835968480468], "n_valid_labels": 65760, "n_masked_labels": 0, "mae_median": 10.199804727017876, "n_mase_elements": 65760, "n_seasonal_error_zero": 0, "n_seasonal_error_nan": 0}, "relative": {"mase": 0.6376097136259046, "wql": 0.2982413140172017}}, {"config_id": "solar__H__long", "leaderboard_key": "solar/H/long", "dataset": "solar/H", "term": "long", "freq": "H", "prediction_length": 720, "seasonality": 24, "n_variates": 1, "n_instances": 137, "domain": "Energy", "n_cohorts": 1, "metrics": {"mase": 0.7200532477625126, "wql": 0.20559683285571348, "wsql_by_level": [0.18231550942937055, 0.22492229637420466, 0.24380659902260088, 0.24805215853445903, 0.24173553692921843, 0.22780238889473872, 0.2044210061618349, 0.16758868731046145, 0.1097273130445326], "n_valid_labels": 98640, "n_masked_labels": 0, "mae_median": 10.123846055358113, "n_mase_elements": 98640, "n_seasonal_error_zero": 0, "n_seasonal_error_nan": 0}, "relative": {"mase": 0.8334464887619782, "wql": 0.27455215119878584}}, {"config_id": "solar__D__short", "leaderboard_key": "solar/D/short", "dataset": "solar/D", "term": "short", "freq": "D", "prediction_length": 30, "seasonality": 1, "n_variates": 1, "n_instances": 137, "domain": "Energy", "n_cohorts": 1, "metrics": {"mase": 0.6828874993941112, "wql": 0.14928606155763943, "wsql_by_level": [0.10293948175520116, 0.15253657328349718, 0.1783256054978091, 0.1895798660138208, 0.19036392291864423, 0.17968131931487913, 0.1554834674117354, 0.1208024580499453, 0.07386185977322247], "n_valid_labels": 4110, "n_masked_labels": 0, "mae_median": 191.33786379960333, "n_mase_elements": 4110, "n_seasonal_error_zero": 0, "n_seasonal_error_nan": 0}, "relative": {"mase": 1.0265669616847226, "wql": 0.3903500708379611}}, {"config_id": "solar__W__short", "leaderboard_key": "solar/W/short", "dataset": "solar/W", "term": "short", "freq": "W-FRI", "prediction_length": 8, "seasonality": 1, "n_variates": 1, "n_instances": 137, "domain": "Energy", "n_cohorts": 1, "metrics": {"mase": 1.1796782633405722, "wql": 0.13237867192981143, "wsql_by_level": [0.09880627671933405, 0.13614151430116472, 0.15900204650471061, 0.17001123473369792, 0.17033158367737974, 0.16396449717472925, 0.1440218180265793, 0.09904185086789351, 0.050087225362813806], "n_valid_labels": 1096, "n_masked_labels": 0, "mae_median": 1265.9088820854242, "n_mase_elements": 1096, "n_seasonal_error_zero": 0, "n_seasonal_error_nan": 0}, "relative": {"mase": 1.1358319139891182, "wql": 0.9296153808012306}}, {"config_id": "hospital__M__short", "leaderboard_key": "hospital/M/short", "dataset": "hospital", "term": "short", "freq": "M", "prediction_length": 12, "seasonality": 12, "n_variates": 1, "n_instances": 192, "domain": "Healthcare", "n_cohorts": 1, "metrics": {"mase": 0.9650611808951928, "wql": 0.06701452164733225, "wsql_by_level": [0.04391370384633518, 0.06437858547937508, 0.07569239050600829, 0.08171296943136121, 0.0819235831312105, 0.07792278242192055, 0.07243126027340525, 0.06182548285151166, 0.043329936884862516], "n_valid_labels": 2304, "n_masked_labels": 0, "mae_median": 26.339854261113537, "n_mase_elements": 2304, "n_seasonal_error_zero": 0, "n_seasonal_error_nan": 0}, "relative": {"mase": 0.917184901657952, "wql": 0.958614463965833}}, {"config_id": "covid_deaths__D__short", "leaderboard_key": "covid_deaths/D/short", "dataset": "covid_deaths", "term": "short", "freq": "D", "prediction_length": 30, "seasonality": 1, "n_variates": 1, "n_instances": 192, "domain": "Healthcare", "n_cohorts": 1, "metrics": {"mase": 685.332318203542, "wql": 0.8367400585246769, "wsql_by_level": [0.18347583918359756, 0.3596452067883896, 0.5329096021613966, 0.7026816771446398, 0.8672663728531759, 1.0265614009114306, 1.17488841742336, 1.3028572800560336, 1.3803747302000688], "n_valid_labels": 5760, "n_masked_labels": 0, "mae_median": 214.7057933381154, "n_mase_elements": 2850, "n_seasonal_error_zero": 97, "n_seasonal_error_nan": 0}, "relative": {"mase": 1.0306658614045787, "wql": 1.0057055964429988}}, {"config_id": "us_births__D__short", "leaderboard_key": "us_births/D/short", "dataset": "us_births/D", "term": "short", "freq": "D", "prediction_length": 30, "seasonality": 1, "n_variates": 1, "n_instances": 1, "domain": "Healthcare", "n_cohorts": 1, "metrics": {"mase": 0.5647386579920928, "wql": 0.028919259682802442, "wsql_by_level": [0.02051734202246418, 0.031027893371614705, 0.036048502539453756, 0.03611405511675562, 0.034044943289992816, 0.031894461658740235, 0.029141546710848253, 0.025542773595797708, 0.015941818839554693], "n_valid_labels": 30, "n_masked_labels": 0, "mae_median": 371.05016276041664, "n_mase_elements": 30, "n_seasonal_error_zero": 0, "n_seasonal_error_nan": 0}, "relative": {"mase": 0.4820711481881469, "wql": 0.3032253073879135}}, {"config_id": "us_births__M__short", "leaderboard_key": "us_births/M/short", "dataset": "us_births/M", "term": "short", "freq": "M", "prediction_length": 12, "seasonality": 12, "n_variates": 1, "n_instances": 1, "domain": "Healthcare", "n_cohorts": 1, "metrics": {"mase": 0.5085407789942138, "wql": 0.012968075292075526, "wsql_by_level": [0.004303102041051231, 0.0077363949558552384, 0.012788252650658938, 0.015424604209921663, 0.016811657692282395, 0.017535840899075446, 0.016611887089931665, 0.014957049431829392, 0.010543888658073763], "n_valid_labels": 12, "n_masked_labels": 0, "mae_median": 5112.010416666667, "n_mase_elements": 12, "n_seasonal_error_zero": 0, "n_seasonal_error_nan": 0}, "relative": {"mase": 1.0212446727042683, "wql": 0.8822890961122436}}, {"config_id": "us_births__W__short", "leaderboard_key": "us_births/W/short", "dataset": "us_births/W", "term": "short", "freq": "W-TUE", "prediction_length": 8, "seasonality": 1, "n_variates": 1, "n_instances": 1, "domain": "Healthcare", "n_cohorts": 1, "metrics": {"mase": 0.4881749759964642, "wql": 0.006742915263625082, "wsql_by_level": [0.006003898814607167, 0.006864239108807159, 0.005948443577625446, 0.0063774292893453745, 0.007463318545270138, 0.0075996400416965286, 0.0072948178242089904, 0.006914686976702416, 0.006219763194362515], "n_valid_labels": 8, "n_masked_labels": 0, "mae_median": 529.814453125, "n_mase_elements": 8, "n_seasonal_error_zero": 0, "n_seasonal_error_nan": 0}, "relative": {"mase": 0.9212161758313413, "wql": 0.5742444864694869}}, {"config_id": "saugeenday__D__short", "leaderboard_key": "saugeen/D/short", "dataset": "saugeenday/D", "term": "short", "freq": "D", "prediction_length": 30, "seasonality": 1, "n_variates": 1, "n_instances": 1, "domain": "Nature", "n_cohorts": 1, "metrics": {"mase": 0.2668320637788269, "wql": 0.16900847968998908, "wsql_by_level": [0.07731043710157902, 0.09124374221006319, 0.09234677100494404, 0.11806301745523912, 0.14212591848273898, 0.19090958210984946, 0.23801582344370076, 0.2782598482649291, 0.29280117713685794], "n_valid_labels": 30, "n_masked_labels": 0, "mae_median": 1.1938577175140381, "n_mase_elements": 30, "n_seasonal_error_zero": 0, "n_seasonal_error_nan": 0}, "relative": {"mase": 1.185951288877324, "wql": 0.10866533134256415}}, {"config_id": "saugeenday__M__short", "leaderboard_key": "saugeen/M/short", "dataset": "saugeenday/M", "term": "short", "freq": "M", "prediction_length": 12, "seasonality": 12, "n_variates": 1, "n_instances": 1, "domain": "Nature", "n_cohorts": 1, "metrics": {"mase": 0.8019083143691277, "wql": 0.3447663630082628, "wsql_by_level": [0.17685088733973128, 0.2665897273923398, 0.3216868529352762, 0.36900570307676295, 0.4005632985087462, 0.403448819158748, 0.41850731516322986, 0.4139981157307005, 0.3322465477688303], "n_valid_labels": 12, "n_masked_labels": 0, "mae_median": 14.064674973487854, "n_mase_elements": 12, "n_seasonal_error_zero": 0, "n_seasonal_error_nan": 0}, "relative": {"mase": 0.7490568384215482, "wql": 0.7867490607033338}}, {"config_id": "saugeenday__W__short", "leaderboard_key": "saugeen/W/short", "dataset": "saugeenday/W", "term": "short", "freq": "W-THU", "prediction_length": 8, "seasonality": 1, "n_variates": 1, "n_instances": 1, "domain": "Nature", "n_cohorts": 1, "metrics": {"mase": 0.4479101428518725, "wql": 0.2716841719150056, "wsql_by_level": [0.1302206753745989, 0.22571368822749546, 0.28360011107221816, 0.3030837154060274, 0.26828749390164414, 0.22140996478166136, 0.29143766285264155, 0.3385625826829112, 0.3828416529358519], "n_valid_labels": 8, "n_masked_labels": 0, "mae_median": 5.392578601837158, "n_mase_elements": 8, "n_seasonal_error_zero": 0, "n_seasonal_error_nan": 0}, "relative": {"mase": 0.4029682529677202, "wql": 0.34371576208954147}}, {"config_id": "temperature_rain_with_missing__D__short", "leaderboard_key": "temperature_rain/D/short", "dataset": "temperature_rain_with_missing", "term": "short", "freq": "D", "prediction_length": 30, "seasonality": 1, "n_variates": 1, "n_instances": 192, "domain": "Nature", "n_cohorts": 1, "metrics": {"mase": 0.9418289288006938, "wql": 0.6678012207864849, "wsql_by_level": [0.21678625563079706, 0.4055330389598721, 0.5741468141477218, 0.7166200981909755, 0.8262107881608138, 0.906820720334431, 0.9181700096954959, 0.8415931616676545, 0.6043301002906023], "n_valid_labels": 5760, "n_masked_labels": 0, "mae_median": 5.243044345335806, "n_mase_elements": 5760, "n_seasonal_error_zero": 0, "n_seasonal_error_nan": 0}, "relative": {"mase": 0.38143077166730627, "wql": 0.35509874777654266}}, {"config_id": "kdd_cup_2018_with_missing__H__short", "leaderboard_key": "kdd_cup_2018/H/short", "dataset": "kdd_cup_2018_with_missing/H", "term": "short", "freq": "H", "prediction_length": 48, "seasonality": 24, "n_variates": 1, "n_instances": 176, "domain": "Nature", "n_cohorts": 2, "metrics": {"mase": 0.4705943860133582, "wql": 0.4157966504863415, "wsql_by_level": [0.17254159087564677, 0.28887740978273146, 0.38128217839593653, 0.4510005026827958, 0.4982290485585779, 0.5249752291595532, 0.5292355589634328, 0.5068742135827407, 0.3891541223756586], "n_valid_labels": 7981, "n_masked_labels": 467, "mae_median": 10.333274213277207, "n_mase_elements": 7981, "n_seasonal_error_zero": 0, "n_seasonal_error_nan": 0}, "relative": {"mase": 0.5189791285857186, "wql": 0.4866925068041162}}, {"config_id": "kdd_cup_2018_with_missing__H__medium", "leaderboard_key": "kdd_cup_2018/H/medium", "dataset": "kdd_cup_2018_with_missing/H", "term": "medium", "freq": "H", "prediction_length": 480, "seasonality": 24, "n_variates": 1, "n_instances": 183, "domain": "Nature", "n_cohorts": 2, "metrics": {"mase": 0.8432648563645159, "wql": 0.45561038716194907, "wsql_by_level": [0.19433888141411107, 0.34997383353645295, 0.468540211270749, 0.5514200899126277, 0.5973268195665872, 0.600990390533035, 0.5597073850207196, 0.46791517731668153, 0.3102806958865783], "n_valid_labels": 83859, "n_masked_labels": 3981, "mae_median": 18.662953259113344, "n_mase_elements": 83859, "n_seasonal_error_zero": 0, "n_seasonal_error_nan": 0}, "relative": {"mase": 0.9205105077950781, "wql": 0.44149985180090867}}, {"config_id": "kdd_cup_2018_with_missing__H__long", "leaderboard_key": "kdd_cup_2018/H/long", "dataset": "kdd_cup_2018_with_missing/H", "term": "long", "freq": "H", "prediction_length": 720, "seasonality": 24, "n_variates": 1, "n_instances": 182, "domain": "Nature", "n_cohorts": 2, "metrics": {"mase": 0.6980256671825639, "wql": 0.4487673088169827, "wsql_by_level": [0.17348640444749572, 0.30772369928549254, 0.41658445328133825, 0.5004838902081757, 0.5589181528747673, 0.5899371073891406, 0.5825362296732435, 0.5240547282709421, 0.3851811139222486], "n_valid_labels": 115026, "n_masked_labels": 16014, "mae_median": 17.113191825177523, "n_mase_elements": 115026, "n_seasonal_error_zero": 0, "n_seasonal_error_nan": 0}, "relative": {"mase": 0.854371130522864, "wql": 0.36483190985630665}}, {"config_id": "kdd_cup_2018_with_missing__D__short", "leaderboard_key": "kdd_cup_2018/D/short", "dataset": "kdd_cup_2018_with_missing/D", "term": "short", "freq": "D", "prediction_length": 30, "seasonality": 1, "n_variates": 1, "n_instances": 184, "domain": "Nature", "n_cohorts": 2, "metrics": {"mase": 0.9126124710638742, "wql": 0.41400514179295, "wsql_by_level": [0.20452037508282037, 0.34441885780525205, 0.43628570291190966, 0.4949969396197756, 0.5252641092480357, 0.5255472305126704, 0.49360785896235715, 0.4155642423487188, 0.2858409596450099], "n_valid_labels": 5412, "n_masked_labels": 108, "mae_median": 15.377688205629553, "n_mase_elements": 5412, "n_seasonal_error_zero": 0, "n_seasonal_error_nan": 0}, "relative": {"mase": 0.8823531141056573, "wql": 0.4698728814533824}}, {"config_id": "restaurant__D__short", "leaderboard_key": "restaurant/D/short", "dataset": "restaurant", "term": "short", "freq": "D", "prediction_length": 30, "seasonality": 1, "n_variates": 1, "n_instances": 185, "domain": "Sales", "n_cohorts": 13, "skipped_series": 1, "metrics": {"mase": 0.7829474600874426, "wql": 0.293452765014078, "wsql_by_level": [0.14353622237796626, 0.23801112762248375, 0.3058506358647123, 0.35097433010561774, 0.3749722288517917, 0.3757465455619672, 0.3517836269109516, 0.2969150508493311, 0.20328511698188054], "n_valid_labels": 4965, "n_masked_labels": 585, "mae_median": 8.113220871875413, "n_mase_elements": 4965, "n_seasonal_error_zero": 0, "n_seasonal_error_nan": 0}, "relative": {"mase": 0.6841832295346499, "wql": 0.4256411108889322}}, {"config_id": "hierarchical_sales__D__short", "leaderboard_key": "hierarchical_sales/D/short", "dataset": "hierarchical_sales/D", "term": "short", "freq": "D", "prediction_length": 30, "seasonality": 1, "n_variates": 1, "n_instances": 118, "domain": "Sales", "n_cohorts": 1, "metrics": {"mase": 0.9165945404575011, "wql": 0.6230634195715564, "wsql_by_level": [0.19257177817151197, 0.3603045874468261, 0.5095166508624822, 0.6359077151337503, 0.7379809904740019, 0.8123449553136631, 0.8455490288160323, 0.8254601801752675, 0.6879348897504717], "n_valid_labels": 3540, "n_masked_labels": 0, "mae_median": 3.427442221577137, "n_mase_elements": 3540, "n_seasonal_error_zero": 0, "n_seasonal_error_nan": 0}, "relative": {"mase": 0.8600305398926182, "wql": 0.4809167937236858}}, {"config_id": "hierarchical_sales__W__short", "leaderboard_key": "hierarchical_sales/W/short", "dataset": "hierarchical_sales/W", "term": "short", "freq": "W-WED", "prediction_length": 8, "seasonality": 1, "n_variates": 1, "n_instances": 118, "domain": "Sales", "n_cohorts": 1, "metrics": {"mase": 0.8220106273494577, "wql": 0.40495970254413577, "wsql_by_level": [0.15586326408034157, 0.2598813650234217, 0.3419402614463747, 0.41102547931667366, 0.4673878267784049, 0.5103664274969811, 0.536013719436909, 0.523902537839536, 0.43825644147857956], "n_valid_labels": 944, "n_masked_labels": 0, "mae_median": 12.497673224089509, "n_mase_elements": 944, "n_seasonal_error_zero": 0, "n_seasonal_error_nan": 0}, "relative": {"mase": 0.7306805360613744, "wql": 0.5309299395404431}}, {"config_id": "LOOP_SEATTLE__T__short", "leaderboard_key": "loop_seattle/5T/short", "dataset": "LOOP_SEATTLE/5T", "term": "short", "freq": "5T", "prediction_length": 48, "seasonality": 288, "n_variates": 1, "n_instances": 192, "domain": "Transport", "n_cohorts": 1, "metrics": {"mase": 0.5349187112936977, "wql": 0.04573537190151744, "wsql_by_level": [0.03428067708385898, 0.050560965715162325, 0.05771704611606272, 0.05919957489943087, 0.05683773267977635, 0.05163142966080383, 0.044323800741619825, 0.034772381380048074, 0.022294738836893993], "n_valid_labels": 9216, "n_masked_labels": 0, "mae_median": 3.5091780909957984, "n_mase_elements": 9216, "n_seasonal_error_zero": 0, "n_seasonal_error_nan": 0}, "relative": {"mase": 0.5702956121105398, "wql": 0.5609616785436202}}, {"config_id": "LOOP_SEATTLE__T__medium", "leaderboard_key": "loop_seattle/5T/medium", "dataset": "LOOP_SEATTLE/5T", "term": "medium", "freq": "5T", "prediction_length": 480, "seasonality": 288, "n_variates": 1, "n_instances": 192, "domain": "Transport", "n_cohorts": 1, "metrics": {"mase": 0.9100552906137017, "wql": 0.08722277834839087, "wsql_by_level": [0.07171478445747766, 0.09605247952509383, 0.10698190437053635, 0.10981982512303494, 0.10684941078441199, 0.09858129647547335, 0.0856824335264002, 0.067393864987149, 0.04192900588594062], "n_valid_labels": 92160, "n_masked_labels": 0, "mae_median": 5.628008592525859, "n_mase_elements": 92160, "n_seasonal_error_zero": 0, "n_seasonal_error_nan": 0}, "relative": {"mase": 0.49074362490102813, "wql": 0.4686240915854403}}, {"config_id": "LOOP_SEATTLE__T__long", "leaderboard_key": "loop_seattle/5T/long", "dataset": "LOOP_SEATTLE/5T", "term": "long", "freq": "5T", "prediction_length": 720, "seasonality": 288, "n_variates": 1, "n_instances": 192, "domain": "Transport", "n_cohorts": 1, "metrics": {"mase": 0.6500794945211592, "wql": 0.05655358138192314, "wsql_by_level": [0.04690253043030119, 0.06130389392980508, 0.06795076629385957, 0.07000752172425144, 0.06880546053447704, 0.06415634750682926, 0.05641048814910025, 0.04487950019025415, 0.028565723678430247], "n_valid_labels": 138240, "n_masked_labels": 0, "mae_median": 4.0464437110547875, "n_mase_elements": 138240, "n_seasonal_error_zero": 0, "n_seasonal_error_nan": 0}, "relative": {"mase": 0.4918715457546411, "wql": 0.43868824252633043}}, {"config_id": "LOOP_SEATTLE__H__short", "leaderboard_key": "loop_seattle/H/short", "dataset": "LOOP_SEATTLE/H", "term": "short", "freq": "H", "prediction_length": 48, "seasonality": 24, "n_variates": 1, "n_instances": 192, "domain": "Transport", "n_cohorts": 1, "metrics": {"mase": 0.9335724414415559, "wql": 0.06235202029034882, "wsql_by_level": [0.05540359400420743, 0.07429583746227142, 0.08062058737963897, 0.08004392991866151, 0.07490475079481466, 0.06699605380792523, 0.056826319133918245, 0.04419908553122781, 0.02787802458047405], "n_valid_labels": 9216, "n_masked_labels": 0, "mae_median": 4.250828761348708, "n_mase_elements": 9216, "n_seasonal_error_zero": 0, "n_seasonal_error_nan": 0}, "relative": {"mase": 0.5940801903714601, "wql": 0.5336932904315588}}, {"config_id": "LOOP_SEATTLE__H__medium", "leaderboard_key": "loop_seattle/H/medium", "dataset": "LOOP_SEATTLE/H", "term": "medium", "freq": "H", "prediction_length": 480, "seasonality": 24, "n_variates": 1, "n_instances": 192, "domain": "Transport", "n_cohorts": 1, "metrics": {"mase": 0.696462120275957, "wql": 0.04875368636697769, "wsql_by_level": [0.04009743154774071, 0.050917997788528395, 0.05587980728692514, 0.057644577700848146, 0.05725514473093831, 0.054916759478981995, 0.05029918120513576, 0.042454197067577235, 0.029318080496123507], "n_valid_labels": 92160, "n_masked_labels": 0, "mae_median": 3.235563015043994, "n_mase_elements": 92160, "n_seasonal_error_zero": 0, "n_seasonal_error_nan": 0}, "relative": {"mase": 0.513109309628044, "wql": 0.30897393470128104}}, {"config_id": "LOOP_SEATTLE__H__long", "leaderboard_key": "loop_seattle/H/long", "dataset": "LOOP_SEATTLE/H", "term": "long", "freq": "H", "prediction_length": 720, "seasonality": 24, "n_variates": 1, "n_instances": 192, "domain": "Transport", "n_cohorts": 1, "metrics": {"mase": 0.659594595128472, "wql": 0.04652156907223157, "wsql_by_level": [0.03696938958324002, 0.04797240355180647, 0.05319179969074284, 0.055207529140060496, 0.05503048579964364, 0.052904051043625965, 0.048350700326860584, 0.04088944544614024, 0.028178317067963872], "n_valid_labels": 138240, "n_masked_labels": 0, "mae_median": 3.107244679397748, "n_mase_elements": 138240, "n_seasonal_error_zero": 0, "n_seasonal_error_nan": 0}, "relative": {"mase": 0.3637817074585924, "wql": 0.2405754932931896}}, {"config_id": "LOOP_SEATTLE__D__short", "leaderboard_key": "loop_seattle/D/short", "dataset": "LOOP_SEATTLE/D", "term": "short", "freq": "D", "prediction_length": 30, "seasonality": 1, "n_variates": 1, "n_instances": 192, "domain": "Transport", "n_cohorts": 1, "metrics": {"mase": 0.5699060118700859, "wql": 0.025853525061792275, "wsql_by_level": [0.01605180072598903, 0.024115159749420762, 0.028956438289505317, 0.031647710856624406, 0.032403588501368104, 0.03138535687511882, 0.028663864561458544, 0.02380367119086307, 0.015654134805782413], "n_valid_labels": 5760, "n_masked_labels": 0, "mae_median": 1.8398868117067548, "n_mase_elements": 5760, "n_seasonal_error_zero": 0, "n_seasonal_error_nan": 0}, "relative": {"mase": 0.2419606925978111, "wql": 0.22503868921418613}}, {"config_id": "SZ_TAXI__T__short", "leaderboard_key": "sz_taxi/15T/short", "dataset": "SZ_TAXI/15T", "term": "short", "freq": "15T", "prediction_length": 48, "seasonality": 96, "n_variates": 1, "n_instances": 156, "domain": "Transport", "n_cohorts": 1, "metrics": {"mase": 0.44001407608885196, "wql": 0.17317839503205723, "wsql_by_level": [0.0918683183386289, 0.1482533375713214, 0.18532258633115162, 0.20822598576712967, 0.21829957538935266, 0.2166084884429117, 0.20147087443913778, 0.17033557402975635, 0.11822081497912507], "n_valid_labels": 7488, "n_masked_labels": 0, "mae_median": 2.4306645335226107, "n_mase_elements": 7488, "n_seasonal_error_zero": 0, "n_seasonal_error_nan": 0}, "relative": {"mase": 0.732549022492019, "wql": 0.6274538572147967}}, {"config_id": "SZ_TAXI__T__medium", "leaderboard_key": "sz_taxi/15T/medium", "dataset": "SZ_TAXI/15T", "term": "medium", "freq": "15T", "prediction_length": 480, "seasonality": 96, "n_variates": 1, "n_instances": 156, "domain": "Transport", "n_cohorts": 1, "metrics": {"mase": 0.7848120300942381, "wql": 0.22272686892869617, "wsql_by_level": [0.11035496118260098, 0.180175244707686, 0.23094012357907617, 0.2651585906375767, 0.2831106844186403, 0.28394505145066806, 0.266920182701546, 0.22754385162106588, 0.1563931300594054], "n_valid_labels": 74880, "n_masked_labels": 0, "mae_median": 5.410191487493221, "n_mase_elements": 74880, "n_seasonal_error_zero": 0, "n_seasonal_error_nan": 0}, "relative": {"mase": 0.7767024784125712, "wql": 0.6707301058681476}}, {"config_id": "SZ_TAXI__H__short", "leaderboard_key": "sz_taxi/H/short", "dataset": "SZ_TAXI/H", "term": "short", "freq": "H", "prediction_length": 48, "seasonality": 24, "n_variates": 1, "n_instances": 156, "domain": "Transport", "n_cohorts": 1, "metrics": {"mase": 0.49185003433263047, "wql": 0.15369062752044496, "wsql_by_level": [0.07554497150479685, 0.11681149879243229, 0.14493173672624501, 0.1658950321787611, 0.18193956179753445, 0.19115575853432623, 0.19085004343161233, 0.17944422336264146, 0.13664282135565506], "n_valid_labels": 7488, "n_masked_labels": 0, "mae_median": 1.9981748695999213, "n_mase_elements": 7488, "n_seasonal_error_zero": 0, "n_seasonal_error_nan": 0}, "relative": {"mase": 0.9040617541728057, "wql": 0.6892342353634504}}, {"config_id": "M_DENSE__H__short", "leaderboard_key": "m_dense/H/short", "dataset": "M_DENSE/H", "term": "short", "freq": "H", "prediction_length": 48, "seasonality": 24, "n_variates": 1, "n_instances": 30, "domain": "Transport", "n_cohorts": 1, "metrics": {"mase": 0.6788798307801768, "wql": 0.1072155029554015, "wsql_by_level": [0.06304705255997374, 0.09368898346820752, 0.11444276296324982, 0.1289585313492226, 0.13608976457337305, 0.13424200850645152, 0.12228386403700417, 0.1012077377524911, 0.07097882138863988], "n_valid_labels": 1440, "n_masked_labels": 0, "mae_median": 88.09738378094302, "n_mase_elements": 1440, "n_seasonal_error_zero": 0, "n_seasonal_error_nan": 0}, "relative": {"mase": 0.89325809773895, "wql": 0.7557497116993788}}, {"config_id": "M_DENSE__H__medium", "leaderboard_key": "m_dense/H/medium", "dataset": "M_DENSE/H", "term": "medium", "freq": "H", "prediction_length": 480, "seasonality": 24, "n_variates": 1, "n_instances": 30, "domain": "Transport", "n_cohorts": 1, "metrics": {"mase": 0.761243171153656, "wql": 0.2377963135549466, "wsql_by_level": [0.20532608577138486, 0.25786811480515437, 0.28003101675574993, 0.2845439400276828, 0.2775444865629882, 0.2610872560941965, 0.23549050353901294, 0.1977578488489696, 0.14051756958938003], "n_valid_labels": 14400, "n_masked_labels": 0, "mae_median": 138.13142140063974, "n_mase_elements": 14400, "n_seasonal_error_zero": 0, "n_seasonal_error_nan": 0}, "relative": {"mase": 0.4805327452766241, "wql": 0.5151776256680263}}, {"config_id": "M_DENSE__H__long", "leaderboard_key": "m_dense/H/long", "dataset": "M_DENSE/H", "term": "long", "freq": "H", "prediction_length": 720, "seasonality": 24, "n_variates": 1, "n_instances": 30, "domain": "Transport", "n_cohorts": 1, "metrics": {"mase": 0.559679298547275, "wql": 0.10569530934174286, "wsql_by_level": [0.07337071834538977, 0.09934257262428997, 0.11506212103078202, 0.12339593305735484, 0.12586162253554598, 0.12358171780611381, 0.11619305307280318, 0.10140128698145694, 0.07304875862194925], "n_valid_labels": 21600, "n_masked_labels": 0, "mae_median": 73.45239408764574, "n_mase_elements": 21600, "n_seasonal_error_zero": 0, "n_seasonal_error_nan": 0}, "relative": {"mase": 0.4852246411753012, "wql": 0.2689333495030699}}, {"config_id": "M_DENSE__D__short", "leaderboard_key": "m_dense/D/short", "dataset": "M_DENSE/D", "term": "short", "freq": "D", "prediction_length": 30, "seasonality": 1, "n_variates": 1, "n_instances": 30, "domain": "Transport", "n_cohorts": 1, "metrics": {"mase": 0.5483876750056417, "wql": 0.07647292066749443, "wsql_by_level": [0.05341867331397267, 0.07508299173830851, 0.08669133459613743, 0.09177776441175675, 0.09310897920042048, 0.08912780847684652, 0.08109498905096064, 0.06919910619556133, 0.048754639023485605], "n_valid_labels": 900, "n_masked_labels": 0, "mae_median": 54.33806819703844, "n_mase_elements": 900, "n_seasonal_error_zero": 0, "n_seasonal_error_nan": 0}, "relative": {"mase": 0.47465494664322866, "wql": 0.3740681934091836}}, {"config_id": "ett1__T__short", "leaderboard_key": "ett1/15T/short", "dataset": "ett1/15T", "term": "short", "freq": "15T", "prediction_length": 48, "seasonality": 96, "n_variates": 7, "n_instances": 1, "domain": "Energy", "n_cohorts": 1, "metrics": {"mase": 0.5526814562793871, "wql": 0.29843604841613736, "wsql_by_level": [0.20691749029848022, 0.3069824132012207, 0.357625133393576, 0.3775163445388652, 0.3864057890888009, 0.3789150718302819, 0.32953131404329067, 0.2347051960096339, 0.10732568334108707], "n_valid_labels": 336, "n_masked_labels": 0, "mae_median": 1.0350132066800835, "n_mase_elements": 336, "n_seasonal_error_zero": 0, "n_seasonal_error_nan": 0}, "relative": {"mase": 0.48914610225278815, "wql": 0.39342343830265486}}, {"config_id": "ett1__T__medium", "leaderboard_key": "ett1/15T/medium", "dataset": "ett1/15T", "term": "medium", "freq": "15T", "prediction_length": 480, "seasonality": 96, "n_variates": 7, "n_instances": 1, "domain": "Energy", "n_cohorts": 1, "metrics": {"mase": 1.2021965798071157, "wql": 0.35301164437566457, "wsql_by_level": [0.23663649787628022, 0.3728780016518156, 0.43339213234098417, 0.45640821246289887, 0.4508935997697171, 0.419267217684821, 0.36198980732512154, 0.27861382561154885, 0.16702550465779376], "n_valid_labels": 3360, "n_masked_labels": 0, "mae_median": 1.947610077766599, "n_mase_elements": 3360, "n_seasonal_error_zero": 0, "n_seasonal_error_nan": 0}, "relative": {"mase": 1.1364297732354351, "wql": 0.9018485537621849}}, {"config_id": "ett1__T__long", "leaderboard_key": "ett1/15T/long", "dataset": "ett1/15T", "term": "long", "freq": "15T", "prediction_length": 720, "seasonality": 96, "n_variates": 7, "n_instances": 1, "domain": "Energy", "n_cohorts": 1, "metrics": {"mase": 1.1857530774319667, "wql": 0.31836691457830624, "wsql_by_level": [0.2393167362106497, 0.3583668770377532, 0.40730622420542884, 0.41757846236023904, 0.399440931321071, 0.36232735301280705, 0.3067155772153581, 0.23213043201230665, 0.1421196378291424], "n_valid_labels": 5040, "n_masked_labels": 0, "mae_median": 2.062943595556158, "n_mase_elements": 5040, "n_seasonal_error_zero": 0, "n_seasonal_error_nan": 0}, "relative": {"mase": 1.115106494776113, "wql": 0.969971104698872}}, {"config_id": "ett1__H__short", "leaderboard_key": "ett1/H/short", "dataset": "ett1/H", "term": "short", "freq": "H", "prediction_length": 48, "seasonality": 24, "n_variates": 7, "n_instances": 1, "domain": "Energy", "n_cohorts": 1, "metrics": {"mase": 1.3969756521681276, "wql": 0.547784226092488, "wsql_by_level": [0.6309129480562058, 0.7233234785017986, 0.7433296932207936, 0.7065080183734245, 0.6364317338965346, 0.5444938305093084, 0.4403698371575645, 0.3235647200822271, 0.18112377503453564], "n_valid_labels": 336, "n_masked_labels": 0, "mae_median": 10.292127795694839, "n_mase_elements": 336, "n_seasonal_error_zero": 0, "n_seasonal_error_nan": 0}, "relative": {"mase": 0.9576505831494143, "wql": 0.924903696699536}}, {"config_id": "ett1__H__medium", "leaderboard_key": "ett1/H/medium", "dataset": "ett1/H", "term": "medium", "freq": "H", "prediction_length": 480, "seasonality": 24, "n_variates": 7, "n_instances": 1, "domain": "Energy", "n_cohorts": 1, "metrics": {"mase": 0.9120439870082669, "wql": 0.2328172728406775, "wsql_by_level": [0.13561523592604321, 0.20531428280037428, 0.2505461697224516, 0.27710169647176924, 0.289364013879569, 0.28808988739470315, 0.2689686693046782, 0.22664269787575075, 0.1537128021907578], "n_valid_labels": 3360, "n_masked_labels": 0, "mae_median": 5.362109633286794, "n_mase_elements": 3360, "n_seasonal_error_zero": 0, "n_seasonal_error_nan": 0}, "relative": {"mase": 0.7318752185840395, "wql": 0.5139836535208311}}, {"config_id": "ett1__H__long", "leaderboard_key": "ett1/H/long", "dataset": "ett1/H", "term": "long", "freq": "H", "prediction_length": 720, "seasonality": 24, "n_variates": 7, "n_instances": 1, "domain": "Energy", "n_cohorts": 1, "metrics": {"mase": 1.0149191095031243, "wql": 0.2724525708011962, "wsql_by_level": [0.16996791715962825, 0.25857478100850056, 0.3156856238919604, 0.3463162087036214, 0.34956017842903375, 0.33023875242508477, 0.2935743938200357, 0.2359814346550274, 0.15217384711787413], "n_valid_labels": 5040, "n_masked_labels": 0, "mae_median": 6.260802358313508, "n_mase_elements": 5040, "n_seasonal_error_zero": 0, "n_seasonal_error_nan": 0}, "relative": {"mase": 0.8027460243261768, "wql": 0.5060308656392628}}, {"config_id": "ett1__D__short", "leaderboard_key": "ett1/D/short", "dataset": "ett1/D", "term": "short", "freq": "D", "prediction_length": 30, "seasonality": 1, "n_variates": 7, "n_instances": 1, "domain": "Energy", "n_cohorts": 1, "metrics": {"mase": 1.1976404475081437, "wql": 0.25459974539317337, "wsql_by_level": [0.15601203150078552, 0.24108454771575316, 0.29721257336355317, 0.32311188528679957, 0.3288063230801001, 0.31718133145661476, 0.2788511142584925, 0.21770195081747268, 0.13143595105898845], "n_valid_labels": 210, "n_masked_labels": 0, "mae_median": 112.48274988446917, "n_mase_elements": 210, "n_seasonal_error_zero": 0, "n_seasonal_error_nan": 0}, "relative": {"mase": 0.8735438407394557, "wql": 0.5764250532376664}}, {"config_id": "ett1__W__short", "leaderboard_key": "ett1/W/short", "dataset": "ett1/W", "term": "short", "freq": "W-THU", "prediction_length": 8, "seasonality": 1, "n_variates": 7, "n_instances": 1, "domain": "Energy", "n_cohorts": 1, "metrics": {"mase": 1.9975674282776272, "wql": 0.29824257931804005, "wsql_by_level": [0.1421766677834141, 0.26933999775539097, 0.3287667008214046, 0.3642887035098973, 0.3734986910331037, 0.3727228887739497, 0.3484712079034589, 0.28946701960934296, 0.19545133667239808], "n_valid_labels": 56, "n_masked_labels": 0, "mae_median": 1271.3011454854693, "n_mase_elements": 56, "n_seasonal_error_zero": 0, "n_seasonal_error_nan": 0}, "relative": {"mase": 0.9138432945570321, "wql": 1.0557308321464913}}, {"config_id": "ett2__T__short", "leaderboard_key": "ett2/15T/short", "dataset": "ett2/15T", "term": "short", "freq": "15T", "prediction_length": 48, "seasonality": 96, "n_variates": 7, "n_instances": 1, "domain": "Energy", "n_cohorts": 1, "metrics": {"mase": 0.5397899386368822, "wql": 0.058414618020196554, "wsql_by_level": [0.033940518844315495, 0.050988146793909644, 0.059417056843117176, 0.06893266721551414, 0.07304518847229997, 0.07157788018495834, 0.0671871254391825, 0.05919982410359633, 0.04144315428487537], "n_valid_labels": 336, "n_masked_labels": 0, "mae_median": 1.0615838755454337, "n_mase_elements": 336, "n_seasonal_error_zero": 0, "n_seasonal_error_nan": 0}, "relative": {"mase": 0.5071014012257135, "wql": 0.5060448348253209}}, {"config_id": "ett2__T__medium", "leaderboard_key": "ett2/15T/medium", "dataset": "ett2/15T", "term": "medium", "freq": "15T", "prediction_length": 480, "seasonality": 96, "n_variates": 7, "n_instances": 1, "domain": "Energy", "n_cohorts": 1, "metrics": {"mase": 1.8614065796982358, "wql": 0.20608910780717146, "wsql_by_level": [0.07968990759342594, 0.12333733319957815, 0.17902671796276284, 0.2375942891299248, 0.27822085980789407, 0.2923347476194478, 0.2797793254261682, 0.23510443483955226, 0.14971435468578914], "n_valid_labels": 3360, "n_masked_labels": 0, "mae_median": 3.8472014122874714, "n_mase_elements": 3360, "n_seasonal_error_zero": 0, "n_seasonal_error_nan": 0}, "relative": {"mase": 0.8494888979663114, "wql": 0.6707721158442258}}, {"config_id": "ett2__T__long", "leaderboard_key": "ett2/15T/long", "dataset": "ett2/15T", "term": "long", "freq": "15T", "prediction_length": 720, "seasonality": 96, "n_variates": 7, "n_instances": 1, "domain": "Energy", "n_cohorts": 1, "metrics": {"mase": 1.2344364244301387, "wql": 0.1440127861556565, "wsql_by_level": [0.11286240292772985, 0.15229720755890813, 0.17398000040622816, 0.18363012653296734, 0.18296628246632324, 0.16984708897381534, 0.14557005803744172, 0.11045491756558166, 0.06450699093191302], "n_valid_labels": 5040, "n_masked_labels": 0, "mae_median": 2.648470590596082, "n_mase_elements": 5040, "n_seasonal_error_zero": 0, "n_seasonal_error_nan": 0}, "relative": {"mase": 0.9005424683558261, "wql": 0.7864686274825242}}, {"config_id": "ett2__H__short", "leaderboard_key": "ett2/H/short", "dataset": "ett2/H", "term": "short", "freq": "H", "prediction_length": 48, "seasonality": 24, "n_variates": 7, "n_instances": 1, "domain": "Energy", "n_cohorts": 1, "metrics": {"mase": 0.8617553955177528, "wql": 0.11761517254785575, "wsql_by_level": [0.06989247654540615, 0.10329216587550691, 0.12715020024876683, 0.14049864936366663, 0.14562135012330293, 0.1415270148464149, 0.13260051521626717, 0.11614534082138937, 0.08180883988998097], "n_valid_labels": 336, "n_masked_labels": 0, "mae_median": 8.441254699514026, "n_mase_elements": 336, "n_seasonal_error_zero": 0, "n_seasonal_error_nan": 0}, "relative": {"mase": 0.6943250986762217, "wql": 0.6957294118589596}}, {"config_id": "ett2__H__medium", "leaderboard_key": "ett2/H/medium", "dataset": "ett2/H", "term": "medium", "freq": "H", "prediction_length": 480, "seasonality": 24, "n_variates": 7, "n_instances": 1, "domain": "Energy", "n_cohorts": 1, "metrics": {"mase": 1.2847900281433562, "wql": 0.1476510065866977, "wsql_by_level": [0.10910900890512192, 0.15529118459641364, 0.1819653640586392, 0.1913806168208345, 0.1858115279411601, 0.1710364968619861, 0.14881233298825255, 0.11580681341690481, 0.0696457136909665], "n_valid_labels": 3360, "n_masked_labels": 0, "mae_median": 11.451942405441619, "n_mase_elements": 3360, "n_seasonal_error_zero": 0, "n_seasonal_error_nan": 0}, "relative": {"mase": 1.0022553016535802, "wql": 0.64824365036072}}, {"config_id": "ett2__H__long", "leaderboard_key": "ett2/H/long", "dataset": "ett2/H", "term": "long", "freq": "H", "prediction_length": 720, "seasonality": 24, "n_variates": 7, "n_instances": 1, "domain": "Energy", "n_cohorts": 1, "metrics": {"mase": 0.8979591627120591, "wql": 0.10928966783870943, "wsql_by_level": [0.07601515889840231, 0.11175223903784692, 0.13147008165804627, 0.1382616531113939, 0.1340717527308429, 0.12559414048009354, 0.1119791473601466, 0.09135724648200182, 0.06310559078961053], "n_valid_labels": 5040, "n_masked_labels": 0, "mae_median": 8.216585392958997, "n_mase_elements": 5040, "n_seasonal_error_zero": 0, "n_seasonal_error_nan": 0}, "relative": {"mase": 0.9100354689715255, "wql": 0.44309698768119626}}, {"config_id": "ett2__D__short", "leaderboard_key": "ett2/D/short", "dataset": "ett2/D", "term": "short", "freq": "D", "prediction_length": 30, "seasonality": 1, "n_variates": 7, "n_instances": 1, "domain": "Energy", "n_cohorts": 1, "metrics": {"mase": 1.022710476565899, "wql": 0.08571220836430982, "wsql_by_level": [0.06961399704427605, 0.09282097047628182, 0.101026802533916, 0.09767543120760304, 0.09061522495494707, 0.08568563819259305, 0.08402818907453616, 0.08253035381401871, 0.06741326798061655], "n_valid_labels": 210, "n_masked_labels": 0, "mae_median": 133.17818326609475, "n_mase_elements": 210, "n_seasonal_error_zero": 0, "n_seasonal_error_nan": 0}, "relative": {"mase": 0.9712828802468455, "wql": 0.5033638182193978}}, {"config_id": "ett2__W__short", "leaderboard_key": "ett2/W/short", "dataset": "ett2/W", "term": "short", "freq": "W-THU", "prediction_length": 8, "seasonality": 1, "n_variates": 7, "n_instances": 1, "domain": "Energy", "n_cohorts": 1, "metrics": {"mase": 1.4876685668409757, "wql": 0.11951459050115701, "wsql_by_level": [0.051666036971811755, 0.0689555716174706, 0.10047224327312931, 0.13767464749914238, 0.15745899330415508, 0.16632721002079978, 0.15866770002712827, 0.1374571839017068, 0.09695172789506916], "n_valid_labels": 56, "n_masked_labels": 0, "mae_median": 2210.6731781278336, "n_mase_elements": 56, "n_seasonal_error_zero": 0, "n_seasonal_error_nan": 0}, "relative": {"mase": 0.8226945465478942, "wql": 0.7581105816648592}}, {"config_id": "jena_weather__T__short", "leaderboard_key": "jena_weather/10T/short", "dataset": "jena_weather/10T", "term": "short", "freq": "10T", "prediction_length": 48, "seasonality": 144, "n_variates": 21, "n_instances": 1, "domain": "Nature", "n_cohorts": 1, "metrics": {"mase": 0.17283917280642122, "wql": 0.011274075976301126, "wsql_by_level": [0.004190315907400383, 0.008358343309081931, 0.01212666500777335, 0.014242825750575457, 0.015028476895567503, 0.014806443430653023, 0.014161790799763702, 0.011685523897972644, 0.006866298787922164], "n_valid_labels": 1008, "n_masked_labels": 0, "mae_median": 2.3502964941370816, "n_mase_elements": 1008, "n_seasonal_error_zero": 0, "n_seasonal_error_nan": 0}, "relative": {"mase": 0.33981830359096293, "wql": 0.08197060799265798}}, {"config_id": "jena_weather__T__medium", "leaderboard_key": "jena_weather/10T/medium", "dataset": "jena_weather/10T", "term": "medium", "freq": "10T", "prediction_length": 480, "seasonality": 144, "n_variates": 21, "n_instances": 1, "domain": "Nature", "n_cohorts": 1, "metrics": {"mase": 0.9359756012619731, "wql": 0.06251301260081452, "wsql_by_level": [0.04030677468480963, 0.05710356400441254, 0.06595931213499077, 0.07091396741116544, 0.07228599892715848, 0.07163377429598924, 0.06801967892693718, 0.06419218737018752, 0.05220185565167988], "n_valid_labels": 10080, "n_masked_labels": 0, "mae_median": 12.437287454637477, "n_mase_elements": 10080, "n_seasonal_error_zero": 0, "n_seasonal_error_nan": 0}, "relative": {"mase": 0.891443941337575, "wql": 0.301860017340692}}, {"config_id": "jena_weather__T__long", "leaderboard_key": "jena_weather/10T/long", "dataset": "jena_weather/10T", "term": "long", "freq": "10T", "prediction_length": 720, "seasonality": 144, "n_variates": 21, "n_instances": 1, "domain": "Nature", "n_cohorts": 1, "metrics": {"mase": 0.9317266387722616, "wql": 0.14882085566681172, "wsql_by_level": [0.06784464623768538, 0.11331229099730114, 0.14445958315725885, 0.1656997865515866, 0.17842666197213566, 0.18220283521081568, 0.18093277352149875, 0.1703187884639328, 0.1361903348890907], "n_valid_labels": 15120, "n_masked_labels": 0, "mae_median": 30.86520005103876, "n_mase_elements": 15120, "n_seasonal_error_zero": 0, "n_seasonal_error_nan": 0}, "relative": {"mase": 0.8838609587201758, "wql": 0.5038400918455571}}, {"config_id": "jena_weather__H__short", "leaderboard_key": "jena_weather/H/short", "dataset": "jena_weather/H", "term": "short", "freq": "H", "prediction_length": 48, "seasonality": 24, "n_variates": 21, "n_instances": 1, "domain": "Nature", "n_cohorts": 1, "metrics": {"mase": 0.6107823588570258, "wql": 0.07669683228192102, "wsql_by_level": [0.04666547322770843, 0.07339487497444658, 0.08650145971410184, 0.08990786506049749, 0.08958417753912905, 0.0869146391932048, 0.0816856024567423, 0.07325550107593726, 0.06236189729552142], "n_valid_labels": 1008, "n_masked_labels": 0, "mae_median": 15.185915632592884, "n_mase_elements": 1008, "n_seasonal_error_zero": 0, "n_seasonal_error_nan": 0}, "relative": {"mase": 0.8137232307811588, "wql": 0.4378086066199777}}, {"config_id": "jena_weather__H__medium", "leaderboard_key": "jena_weather/H/medium", "dataset": "jena_weather/H", "term": "medium", "freq": "H", "prediction_length": 480, "seasonality": 24, "n_variates": 21, "n_instances": 1, "domain": "Nature", "n_cohorts": 1, "metrics": {"mase": 1.1913123647234558, "wql": 0.11209131866002037, "wsql_by_level": [0.06604408496557185, 0.1065844128505221, 0.13075097992069085, 0.14098647359860592, 0.14015487506524252, 0.1334371384086362, 0.12044367424201248, 0.0997580674535337, 0.07066216143536748], "n_valid_labels": 10080, "n_masked_labels": 0, "mae_median": 27.629648347108834, "n_mase_elements": 10080, "n_seasonal_error_zero": 0, "n_seasonal_error_nan": 0}, "relative": {"mase": 0.7852571106345393, "wql": 0.31847760283253534}}, {"config_id": "jena_weather__H__long", "leaderboard_key": "jena_weather/H/long", "dataset": "jena_weather/H", "term": "long", "freq": "H", "prediction_length": 720, "seasonality": 24, "n_variates": 21, "n_instances": 1, "domain": "Nature", "n_cohorts": 1, "metrics": {"mase": 1.1582470478607643, "wql": 0.10991399672500349, "wsql_by_level": [0.07211148557111993, 0.10751573996782803, 0.12784974811795977, 0.13673691650509825, 0.13633691733660547, 0.1296792694492055, 0.11675839960038996, 0.09643154149308036, 0.06580595248374412], "n_valid_labels": 15120, "n_masked_labels": 0, "mae_median": 29.32110430865546, "n_mase_elements": 15120, "n_seasonal_error_zero": 0, "n_seasonal_error_nan": 0}, "relative": {"mase": 0.9783182793839802, "wql": 0.2978120885271558}}, {"config_id": "jena_weather__D__short", "leaderboard_key": "jena_weather/D/short", "dataset": "jena_weather/D", "term": "short", "freq": "D", "prediction_length": 30, "seasonality": 1, "n_variates": 21, "n_instances": 1, "domain": "Nature", "n_cohorts": 1, "metrics": {"mase": 1.169232124719657, "wql": 0.08263878579567557, "wsql_by_level": [0.05035811391017428, 0.07745369201187415, 0.093523806890676, 0.10119608368204751, 0.10393133512837573, 0.09946228434855345, 0.09043205971875563, 0.07484276620877442, 0.052548930261848786], "n_valid_labels": 630, "n_masked_labels": 0, "mae_median": 22.120076842580474, "n_mase_elements": 630, "n_seasonal_error_zero": 0, "n_seasonal_error_nan": 0}, "relative": {"mase": 0.8993452976498786, "wql": 0.4235376735067755}}, {"config_id": "bitbrains_fast_storage__T__short", "leaderboard_key": "bitbrains_fast_storage/5T/short", "dataset": "bitbrains_fast_storage/5T", "term": "short", "freq": "5T", "prediction_length": 48, "seasonality": 288, "n_variates": 2, "n_instances": 189, "domain": "Web/CloudOps", "n_cohorts": 1, "metrics": {"mase": 0.5775079655580716, "wql": 0.2003865645400581, "wsql_by_level": [0.057581083723544625, 0.0881114449259535, 0.122510531686695, 0.16534422109678518, 0.210537010260304, 0.27209070169916355, 0.3052127538046056, 0.3120231595396627, 0.2700681741238087], "n_valid_labels": 18144, "n_masked_labels": 0, "mae_median": 84.10285570596922, "n_mase_elements": 17472, "n_seasonal_error_zero": 12, "n_seasonal_error_nan": 2}, "relative": {"mase": 0.6263304129352975, "wql": 0.11344683650428948}}, {"config_id": "bitbrains_fast_storage__T__medium", "leaderboard_key": "bitbrains_fast_storage/5T/medium", "dataset": "bitbrains_fast_storage/5T", "term": "medium", "freq": "5T", "prediction_length": 480, "seasonality": 288, "n_variates": 2, "n_instances": 182, "domain": "Web/CloudOps", "n_cohorts": 1, "metrics": {"mase": 0.6901348857829284, "wql": 0.3690107213720071, "wsql_by_level": [0.2394821605659565, 0.3765867192719276, 0.4373699012404232, 0.4672045371031635, 0.4625693322492428, 0.445653120013799, 0.39670337398190186, 0.3086371862982958, 0.18689016162335328], "n_valid_labels": 174720, "n_masked_labels": 0, "mae_median": 333.437771724836, "n_mase_elements": 173760, "n_seasonal_error_zero": 2, "n_seasonal_error_nan": 0}, "relative": {"mase": 0.7580440319692938, "wql": 0.6636975592817896}}, {"config_id": "bitbrains_fast_storage__T__long", "leaderboard_key": "bitbrains_fast_storage/5T/long", "dataset": "bitbrains_fast_storage/5T", "term": "long", "freq": "5T", "prediction_length": 720, "seasonality": 288, "n_variates": 2, "n_instances": 182, "domain": "Web/CloudOps", "n_cohorts": 1, "metrics": {"mase": 0.9868312775335087, "wql": 0.5691717412593821, "wsql_by_level": [0.1828466210858052, 0.34869782511028885, 0.49381012858918694, 0.6222312402659418, 0.7322196443407388, 0.8100066639410942, 0.8320495756195957, 0.7273056661836043, 0.3733783061981832], "n_valid_labels": 259510, "n_masked_labels": 2570, "mae_median": 647.4131234153801, "n_mase_elements": 248816, "n_seasonal_error_zero": 14, "n_seasonal_error_nan": 4}, "relative": {"mase": 0.8593137135599643, "wql": 1.0890087001299449}}, {"config_id": "bitbrains_fast_storage__H__short", "leaderboard_key": "bitbrains_fast_storage/H/short", "dataset": "bitbrains_fast_storage/H", "term": "short", "freq": "H", "prediction_length": 48, "seasonality": 24, "n_variates": 2, "n_instances": 188, "domain": "Web/CloudOps", "n_cohorts": 1, "metrics": {"mase": 0.9121125488117836, "wql": 0.3020528598958529, "wsql_by_level": [0.17952938021818973, 0.2925645070444723, 0.36247531793442833, 0.38969727421325245, 0.3817279180563985, 0.35904048291781365, 0.32029901406979105, 0.2636516852898642, 0.16949015931846617], "n_valid_labels": 18046, "n_masked_labels": 2, "mae_median": 297.34607857405393, "n_mase_elements": 17376, "n_seasonal_error_zero": 12, "n_seasonal_error_nan": 2}, "relative": {"mase": 0.7808303490333722, "wql": 0.6130798320221182}}, {"config_id": "bitbrains_rnd__T__short", "leaderboard_key": "bitbrains_rnd/5T/short", "dataset": "bitbrains_rnd/5T", "term": "short", "freq": "5T", "prediction_length": 48, "seasonality": 288, "n_variates": 2, "n_instances": 186, "domain": "Web/CloudOps", "n_cohorts": 1, "metrics": {"mase": 0.6116898085802783, "wql": 0.42191622608687807, "wsql_by_level": [0.15741022590636347, 0.2806321699485745, 0.37907485985623507, 0.45605955153627137, 0.5084182259368423, 0.5347493952683592, 0.533884997613639, 0.5094612702121236, 0.43755533850349426], "n_valid_labels": 17852, "n_masked_labels": 4, "mae_median": 77.61263406785552, "n_mase_elements": 17372, "n_seasonal_error_zero": 10, "n_seasonal_error_nan": 0}, "relative": {"mase": 0.7106670928425681, "wql": 0.3310458527503943}}, {"config_id": "bitbrains_rnd__T__medium", "leaderboard_key": "bitbrains_rnd/5T/medium", "dataset": "bitbrains_rnd/5T", "term": "medium", "freq": "5T", "prediction_length": 480, "seasonality": 288, "n_variates": 2, "n_instances": 186, "domain": "Web/CloudOps", "n_cohorts": 1, "metrics": {"mase": 2.5272951374448316, "wql": 0.4741736014365157, "wsql_by_level": [0.159968494166483, 0.2923112225822017, 0.40287267674048294, 0.4945387763965621, 0.5653422778782251, 0.6185353688016403, 0.6447388529399369, 0.6288295104417871, 0.4604252329813219], "n_valid_labels": 178546, "n_masked_labels": 14, "mae_median": 233.5457129488998, "n_mase_elements": 177586, "n_seasonal_error_zero": 2, "n_seasonal_error_nan": 0}, "relative": {"mase": 0.9330031433613323, "wql": 0.6121586408927034}}, {"config_id": "bitbrains_rnd__T__long", "leaderboard_key": "bitbrains_rnd/5T/long", "dataset": "bitbrains_rnd/5T", "term": "long", "freq": "5T", "prediction_length": 720, "seasonality": 288, "n_variates": 2, "n_instances": 181, "domain": "Web/CloudOps", "n_cohorts": 1, "metrics": {"mase": 1.1053764003353481, "wql": 0.6697040550925483, "wsql_by_level": [0.18371166619539286, 0.37607132655599246, 0.5599576240982479, 0.6861712982110791, 0.7812030446717791, 0.8598786819806716, 0.9094358238031027, 0.9090658558450779, 0.7618411744715904], "n_valid_labels": 135432, "n_masked_labels": 125208, "mae_median": 152.67101505556622, "n_mase_elements": 125728, "n_seasonal_error_zero": 4, "n_seasonal_error_nan": 22}, "relative": {"mase": 0.7757110898961324, "wql": 0.2951096369992216}}, {"config_id": "bitbrains_rnd__H__short", "leaderboard_key": "bitbrains_rnd/H/short", "dataset": "bitbrains_rnd/H", "term": "short", "freq": "H", "prediction_length": 48, "seasonality": 24, "n_variates": 2, "n_instances": 180, "domain": "Web/CloudOps", "n_cohorts": 1, "metrics": {"mase": 3.0096275310538014, "wql": 0.7518463657852327, "wsql_by_level": [0.38281130738336255, 0.6003541475766203, 0.7589626924917248, 0.8618057853404499, 0.9208951307196822, 0.9411039272231803, 0.9095647235282212, 0.8086026286770345, 0.5825169491268176], "n_valid_labels": 17280, "n_masked_labels": 0, "mae_median": 286.53255175107023, "n_mase_elements": 16320, "n_seasonal_error_zero": 6, "n_seasonal_error_nan": 14}, "relative": {"mase": 0.7775211881304942, "wql": 0.7617587014570445}}, {"config_id": "bizitobs_application__S__short", "leaderboard_key": "bizitobs_application/10S/short", "dataset": "bizitobs_application", "term": "short", "freq": "10S", "prediction_length": 60, "seasonality": 360, "n_variates": 2, "n_instances": 1, "domain": "Web/CloudOps", "n_cohorts": 1, "metrics": {"mase": 0.7318707225660919, "wql": 0.011281935885806905, "wsql_by_level": [0.008002952977089394, 0.012216445889839864, 0.014686335829542527, 0.015516230895705337, 0.015197434804566525, 0.013521153057479978, 0.01107071802032153, 0.007616451470211374, 0.0037097000275056217], "n_valid_labels": 120, "n_masked_labels": 0, "mae_median": 273.68488483428956, "n_mase_elements": 120, "n_seasonal_error_zero": 0, "n_seasonal_error_nan": 0}, "relative": {"mase": 0.8909428002602146, "wql": 0.7847250474451015}}, {"config_id": "bizitobs_application__S__medium", "leaderboard_key": "bizitobs_application/10S/medium", "dataset": "bizitobs_application", "term": "medium", "freq": "10S", "prediction_length": 600, "seasonality": 360, "n_variates": 2, "n_instances": 1, "domain": "Web/CloudOps", "n_cohorts": 1, "metrics": {"mase": 0.6319621067448185, "wql": 0.010551142170748325, "wsql_by_level": [0.008911790600579, 0.011083299612751915, 0.011366365425819949, 0.01110912057453741, 0.011002333712473809, 0.01097793218961999, 0.011199751093972607, 0.0109601698426615, 0.008349516484318753], "n_valid_labels": 1200, "n_masked_labels": 0, "mae_median": 263.9901331138611, "n_mase_elements": 1200, "n_seasonal_error_zero": 0, "n_seasonal_error_nan": 0}, "relative": {"mase": 0.7743391009935632, "wql": 0.7965834991628736}}, {"config_id": "bizitobs_application__S__long", "leaderboard_key": "bizitobs_application/10S/long", "dataset": "bizitobs_application", "term": "long", "freq": "10S", "prediction_length": 900, "seasonality": 360, "n_variates": 2, "n_instances": 1, "domain": "Web/CloudOps", "n_cohorts": 1, "metrics": {"mase": 0.5720653459306403, "wql": 0.012138446231322628, "wsql_by_level": [0.008623859466472211, 0.009611433300550209, 0.009459482680717134, 0.01004388243342679, 0.012582167540513662, 0.015076849738837201, 0.01661950834678241, 0.0158053799855722, 0.011423452589031817], "n_valid_labels": 1800, "n_masked_labels": 0, "mae_median": 299.4340139155918, "n_mase_elements": 1800, "n_seasonal_error_zero": 0, "n_seasonal_error_nan": 0}, "relative": {"mase": 0.9567305254553605, "wql": 0.8227330180228468}}, {"config_id": "bizitobs_service__S__short", "leaderboard_key": "bizitobs_service/10S/short", "dataset": "bizitobs_service", "term": "short", "freq": "10S", "prediction_length": 60, "seasonality": 360, "n_variates": 2, "n_instances": 21, "domain": "Web/CloudOps", "n_cohorts": 1, "metrics": {"mase": 0.7324628601848132, "wql": 0.012468266168907526, "wsql_by_level": [0.008215030129070992, 0.012485755828051727, 0.014889145286160158, 0.016000871359545917, 0.016105768183720788, 0.015278630292856189, 0.013275651753476963, 0.010118624988524415, 0.005844917698760588], "n_valid_labels": 2520, "n_masked_labels": 0, "mae_median": 16.491911796350326, "n_mase_elements": 2520, "n_seasonal_error_zero": 0, "n_seasonal_error_nan": 0}, "relative": {"mase": 0.7696556880179742, "wql": 0.503318066478902}}, {"config_id": "bizitobs_service__S__medium", "leaderboard_key": "bizitobs_service/10S/medium", "dataset": "bizitobs_service", "term": "medium", "freq": "10S", "prediction_length": 600, "seasonality": 360, "n_variates": 2, "n_instances": 21, "domain": "Web/CloudOps", "n_cohorts": 1, "metrics": {"mase": 0.7984312321992689, "wql": 0.011001039924959608, "wsql_by_level": [0.007518777611379767, 0.010577598061715378, 0.012318945521906922, 0.013262129629493939, 0.013534719675842093, 0.013194749673509063, 0.01211883979469059, 0.01007703901860633, 0.006406560337492398], "n_valid_labels": 25200, "n_masked_labels": 0, "mae_median": 17.09932730270047, "n_mase_elements": 25200, "n_seasonal_error_zero": 0, "n_seasonal_error_nan": 0}, "relative": {"mase": 0.8673632301139702, "wql": 0.45992525896546305}}, {"config_id": "bizitobs_service__S__long", "leaderboard_key": "bizitobs_service/10S/long", "dataset": "bizitobs_service", "term": "long", "freq": "10S", "prediction_length": 900, "seasonality": 360, "n_variates": 2, "n_instances": 21, "domain": "Web/CloudOps", "n_cohorts": 1, "metrics": {"mase": 0.646613369495283, "wql": 0.010402683917260002, "wsql_by_level": [0.0062267995817844955, 0.008538692518941748, 0.010108725971076577, 0.011376764214893436, 0.012436127694055487, 0.013155873427271378, 0.012787249144287667, 0.011013426596545082, 0.007980496106484125], "n_valid_labels": 37800, "n_masked_labels": 0, "mae_median": 15.606604814255048, "n_mase_elements": 37800, "n_seasonal_error_zero": 0, "n_seasonal_error_nan": 0}, "relative": {"mase": 0.8002403081371326, "wql": 0.3728878713837755}}, {"config_id": "bizitobs_l2c__T__short", "leaderboard_key": "bizitobs_l2c/5T/short", "dataset": "bizitobs_l2c/5T", "term": "short", "freq": "5T", "prediction_length": 48, "seasonality": 288, "n_variates": 7, "n_instances": 1, "domain": "Web/CloudOps", "n_cohorts": 1, "metrics": {"mase": 0.28996107175004043, "wql": 0.08935709313411225, "wsql_by_level": [0.03476836707761851, 0.05700713165647231, 0.0733345462727266, 0.08690633538697647, 0.10064485729347158, 0.11181830219704957, 0.11767262198806329, 0.11786800047570861, 0.10419367585892322], "n_valid_labels": 336, "n_masked_labels": 0, "mae_median": 2.548459583804721, "n_mase_elements": 336, "n_seasonal_error_zero": 0, "n_seasonal_error_nan": 0}, "relative": {"mase": 0.3641853237606104, "wql": 0.4278913576057856}}, {"config_id": "bizitobs_l2c__T__medium", "leaderboard_key": "bizitobs_l2c/5T/medium", "dataset": "bizitobs_l2c/5T", "term": "medium", "freq": "5T", "prediction_length": 480, "seasonality": 288, "n_variates": 7, "n_instances": 1, "domain": "Web/CloudOps", "n_cohorts": 1, "metrics": {"mase": 0.4321503031836867, "wql": 0.18432258806548052, "wsql_by_level": [0.09018466538428084, 0.14253605337405711, 0.18038778677145245, 0.20804248017819088, 0.22944895995378836, 0.2356383014527587, 0.22753973179059417, 0.19975734445073456, 0.1453679692334674], "n_valid_labels": 3360, "n_masked_labels": 0, "mae_median": 4.786018498880523, "n_mase_elements": 3360, "n_seasonal_error_zero": 0, "n_seasonal_error_nan": 0}, "relative": {"mase": 0.8225710682193722, "wql": 0.7122892501188703}}, {"config_id": "bizitobs_l2c__T__long", "leaderboard_key": "bizitobs_l2c/5T/long", "dataset": "bizitobs_l2c/5T", "term": "long", "freq": "5T", "prediction_length": 720, "seasonality": 288, "n_variates": 7, "n_instances": 1, "domain": "Web/CloudOps", "n_cohorts": 1, "metrics": {"mase": 0.699228756292291, "wql": 0.34073021038707835, "wsql_by_level": [0.1277722036256575, 0.22579297019476952, 0.31174281595824704, 0.37821302407612, 0.4231092894326387, 0.45462519155466463, 0.4514393600779259, 0.4146039750481884, 0.27927306351549336], "n_valid_labels": 5040, "n_masked_labels": 0, "mae_median": 6.934133305663746, "n_mase_elements": 5040, "n_seasonal_error_zero": 0, "n_seasonal_error_nan": 0}, "relative": {"mase": 0.4479447069213554, "wql": 0.4461418940946688}}, {"config_id": "bizitobs_l2c__H__short", "leaderboard_key": "bizitobs_l2c/H/short", "dataset": "bizitobs_l2c/H", "term": "short", "freq": "H", "prediction_length": 48, "seasonality": 24, "n_variates": 7, "n_instances": 1, "domain": "Web/CloudOps", "n_cohorts": 1, "metrics": {"mase": 0.47224914020222897, "wql": 0.182787381279163, "wsql_by_level": [0.1240704270771492, 0.20018397060257917, 0.2164037952932672, 0.22330980998235528, 0.21512922606792495, 0.20148822613798775, 0.18792831045147373, 0.1614166682162592, 0.11515599768347046], "n_valid_labels": 336, "n_masked_labels": 0, "mae_median": 4.900850257703236, "n_mase_elements": 336, "n_seasonal_error_zero": 0, "n_seasonal_error_nan": 0}, "relative": {"mase": 0.3716596580112479, "wql": 0.47618212083808953}}], "cpu_seconds": 1.03408993803896, "members": ["/workspace/research/backcast3_evals/weekly_slow_ar_delta3k", "/workspace/research/backcast3_evals/patch8_ema6000", "/workspace/research/backcast3_evals/split_patch_ema12000"], "member_checkpoint_hashes": ["094c7c694406075967f392a0d9ac1146bac984a90ab468c59d660a1b92fa7ba2", "308389b7217c080af9eb185559d4ee3cafa0f3e0f8c4dd8f5526b68198c89988", "1a2fb20a9fb5cae6526f2e36ea47559626bece78fd9c284899836505030ae9fe"], "weights": [0.3333333333333333, 0.3333333333333333, 0.3333333333333333], "selection_only": true, "cutoff": "valid_backcast3", "E102skill": 0.38962589808404846, "difference": -6.989045150118667e-05} +Main+0.000560751 and firstearlier+0.000432658; secondearlier-0.000137495 and thirdearlier-0.000069890. Mixed cutoff evidence, positive average diagnostic gain; select this one fixed candidate for full public replay and relocation/composition checks. No coefficient sweep. Publish only if fullscore exceeds E102 and all replay checks pass; do not claim held-out significance. +E107 audits passed before launch. CPU seed503:1.633014seconds; independent float64 NumPy feature reference, per-cycle-offset invariance, sampler byte identity, inherited parameters and CPU forward outputs bitwise preserved. Added49,184zero-initialized parameters,total36,849,984. Initialcheckpoint SHA470ef98d69d00b17defbf41c70a92b22574154cdb6e0317993bccf113e4af93b. GPU seed509: initial BF16 outputs bitwise identical; maxB64/C4096/H1024 paired objective0.314552695 and finite gradients; new query/head gradient norms0.00467448/0.01857908,headbias0.00118291. Peakreserved6290MiB/allocated5785.632MiB including EMA and Adam placeholders. Check wall45.549493seconds includes waiting on global evaluation lock;0optimizerupdates/no validationread. Model embeds its helper function directly, so generic standalone/ensemble publishers need no extra runtime module. Queued after E105queue12006; unchanged control stream and full-model optimizer. + +## E108 complete eligible-series corpus packing — resource preparation, no model training +Hypothesis for later data scaling: repeated training on the first approximately1B or5.35B packed points may limit fresh larger models even with fixed source balancing. Prepare every allowed series of length>=16 whose deterministic crop has a finite observation, using the already audited stratified_corpus/pack.py with a nonbinding1e12per-directory pointcap. Preserve the exact shuffled global series order, min length16, maximum deterministic crop131072, row-specific frequency, and95allowlisted directories. This extends packed_stratified_large as an exact prefix; it does not imply retaining every observation of series longer than131072. Use2CPUworkers, no GPU/model optimization. Audit every directory's exact binary/record prefix against the5.35Bpoint pack, independent Arrow replays, and bitwise original source probabilities before any training. No data downloads, no validation reads. Any fresh-model training recipe will be declared separately after current E94/E101 evidence. + +## Training exposure diagnostic for fresh capacity +Allowed-corpus/local-generator audit seed521,20480windows,3.303616CPU seconds,0optimizerupdates/no validationread. Meanfinite context1599.5786,target444.9583,total2044.537points per sampled row. Thus fresh96k/B48 presents approximately9.421Bfinite observations over4.608Mrows before sign duplication, including resampled/overlapping windows and synthetic values. Published E102ancestry contains22.848Msampled rows when taking each unique trained-run maximum; this includes subtracted-control branches and is compute invested, not an equivalent single-model trajectory. Complete per-run audit training_exposure_audit.json. Fresh146M currently has substantially less training exposure than the mature lineage; early capacity comparisons should not be interpreted as a scaling limit. Full eligible-series pack E108 is preparation for later longer training; no new training recipe selected by this audit alone. + +## E104 weekly matched-delta ensemble full public replay +- Checkpoint SHA-256: `1669bc65e42eaf879ed99fab670b8c12a950c4245c341a6f0bd8354c8494a2b8`. +- Evaluation: 97 configurations, 151170 instances, 0 failed configurations; not separately timed seconds. +- Overall skill 0.381736; relative MASE 0.738984; relative WQL 0.517264. +- term skill: long=0.4005, medium=0.4074, short=0.3642. +- domain skill: Econ/Fin=0.1238, Energy=0.2398, Healthcare=0.4894, Nature=0.4421, Sales=0.3581, Transport=0.4683, Web/CloudOps=0.4962. +- frequency skill: A=0.2968, D=0.3688, H=0.3955, M=0.1458, Q=0.1868, S=0.4250, T=0.4377, W=0.2400. +- variates skill: multivariate=0.3951, univariate=0.3709. +- Outcome: Fixed equal1/3 ensemble E104weekly correction/E71patch8_6000/E93splitpatch_12000. Full skill0.381736117455058 exceeds E102full0.38116304998662165 by0.00057306746843635. RelativeMASE0.7389844981008465 and WQL0.517264204380349 both improve;97configurations/151170instances/0failures,inference358.357500shared-H100 seconds. Two of four diagnostic cutoffs improve and two slightly decline; fullscore supports selecting this candidate after independent component/composition checks. No held-out reward or significance claim. + +E105 nested corpus volume seed197 training started at 2026-10-23T05:42:47Z, after the preceding trainer exited with its final checkpoint. Settings are unchanged from the declared comparison. + +## E99 early cooldown final36000 +- Checkpoint SHA-256: `b985ce73ed119243ef51e5f0579bc43633419ce375eb7ce2fad7d1a1103acb51`. +- Evaluation: 97 configurations, 9473 instances, 0 failed configurations; 26.4186589717865 seconds. +- Overall skill 0.363307; relative MASE 0.758030; relative WQL 0.534779. +- term skill: long=0.3893, medium=0.3898, short=0.3425. +- domain skill: Econ/Fin=0.1268, Energy=0.2221, Healthcare=0.4006, Nature=0.4132, Sales=0.3453, Transport=0.4557, Web/CloudOps=0.4925. +- frequency skill: A=0.3909, D=0.3370, H=0.3814, M=0.1134, Q=0.1976, S=0.4152, T=0.4195, W=0.2100. +- variates skill: multivariate=0.3805, univariate=0.3493. +- Outcome: Final0.363306598 trails original E79at36000 0.364859034 by0.001552437. The30k gain did not persist. Declared cooldown branch complete; no schedule replacement and no standalone publication. Exact24000state restored, same seed307/B48; only learning-rate schedule differs. + +## E79 fresh146M original schedule at24000 +- Checkpoint SHA-256: `e03ce08a9c1c357bce9d0aca3871c8817627cc660d16706cd85fddba9b5fe5eb`. +- Evaluation: 97 configurations, 9473 instances, 0 failed configurations; 34.343666791915894 seconds. +- Overall skill 0.354494; relative MASE 0.763098; relative WQL 0.546035. +- term skill: long=0.3782, medium=0.3903, short=0.3308. +- domain skill: Econ/Fin=0.1204, Energy=0.2113, Healthcare=0.3859, Nature=0.4116, Sales=0.3203, Transport=0.4432, Web/CloudOps=0.4876. +- frequency skill: A=0.3886, D=0.3283, H=0.3717, M=0.0151, Q=0.1916, S=0.4207, T=0.4085, W=0.2469. +- variates skill: multivariate=0.3720, univariate=0.3402. +- Outcome: Skill0.354493848 improves on16000 0.349499286 but trails matched37M24000 0.357901602. Continue declared schedule; await halfLR at matched checkpoints. All own random initialization, seed307/B48/LR2e-4. + +E104 final replay suite passed in438.071371wall seconds including lock waits. Relocated examples bitwise identical,finite/ordered,31.678684seconds. Public inference358.357500seconds. Independently replayed changed first member and orderedfloat32 component average match allthree complete actual configurations exactly; receipts weekly_slow_ar_composition_replay.json and weekly_slow_ensemble_composition_checks.json. Descriptor1669bc65e42eaf879ed99fab670b8c12a950c4245c341a6f0bd8354c8494a2b8,110,068,216parameters. Selected for atomic publication over E102. Descriptive comparison: {"improved_configs": 42, "dataset_cluster_delta_percentiles": {"p025": -0.00031799803137674555, "p50": 0.0005000199376024583, "p975": 0.002059979380489236}, "bootstrap_seed": 317, "bootstrap_samples": 5000}. No held-out significance claim; two earlier diagnostic cutoffs have small regressions. E101teacher stays frozen E96. + +E99cooldown24k-to36k branch completed in1603.635706shared-H100 training-loop seconds; final rejected as recorded. E95all-shard24Mcap run completed12000 in2657.504791loop seconds; final evaluation pending while E105nested-volume starts in its allocation. + +## E109 duration of the matched weekly-synthetic correction — predeclared +E104's fixed3000-step correction improves the full replay but has two small earlier-cutoff regressions. At6000, E97weekly skill0.380715730 exceeds its matched E80control0.378288765 by0.002426965. Test the next already scheduled checkpoint duration with exactly the same coefficient1 formula E83 + E97weeklyEMA6000 - E80overflowEMA6000, then the same equal1/3 ensemble with E71patch8_6000 and E93splitpatch_12000. No coefficient search, optimizer updates or change to any inference rule. Evaluate all four diagnostic cutoffs before choosing a full replay; compare directly to currently published E104. This is validation checkpoint selection along the declared training run, not independent replication. All weights and synthetic generators were trained/generated here on allowed data. + +E106 spectral synthetic residuals seed197 training started at 2026-10-23T05:45:28Z, after the preceding trainer exited with its final checkpoint. Settings are unchanged from the declared comparison. + +## E95 all-shard fixed-volume final12000 +- Checkpoint SHA-256: `453c1e5c5ff189f961d2b4001e9e299c72e26f86d3c4afe5b5a6a46fe5acaafe`. +- Evaluation: 97 configurations, 9473 instances, 0 failed configurations; 25.615615367889404 seconds. +- Overall skill 0.377983; relative MASE 0.744078; relative WQL 0.519979. +- term skill: long=0.4039, medium=0.4059, short=0.3566. +- domain skill: Econ/Fin=0.1366, Energy=0.2370, Healthcare=0.4437, Nature=0.4338, Sales=0.3305, Transport=0.4678, Web/CloudOps=0.5031. +- frequency skill: A=0.3715, D=0.3556, H=0.3975, M=0.0998, Q=0.1933, S=0.4243, T=0.4390, W=0.2113. +- variates skill: multivariate=0.3973, univariate=0.3622. +- Outcome: Final0.377983250 recovers from weak3k/6k and exceeds matched E80final0.377423946 by0.000559304, while remaining below the old-corpus best3000checkpoint0.378663825. Training2657.504791loop seconds, seed197/B64/LR2e-5. Earlier matched-final cutoffs queued to test whether the late gain persists. E105nested-volume training now active. + +## E79 fresh37M original schedule at48000 +- Checkpoint SHA-256: `855f37f248e8104578ae2b356d2b7326a73236476f888fd1468e988be4238509`. +- Evaluation: 97 configurations, 9473 instances, 0 failed configurations; 26.904500484466553 seconds. +- Overall skill 0.366773; relative MASE 0.755679; relative WQL 0.530618. +- term skill: long=0.3907, medium=0.3907, short=0.3479. +- domain skill: Econ/Fin=0.1392, Energy=0.2294, Healthcare=0.4025, Nature=0.4162, Sales=0.3289, Transport=0.4575, Web/CloudOps=0.4950. +- frequency skill: A=0.3873, D=0.3499, H=0.3856, M=0.0362, Q=0.2082, S=0.4181, T=0.4257, W=0.2180. +- variates skill: multivariate=0.3836, univariate=0.3530. +- Outcome: Skill0.366772722 improves over36000 0.364859034. Original96k schedule continues after E99cooldown failed its final comparison. Seed307/B48/LR2e-4, own random initialization and slow-AR generator; no publication yet. + +## E105 output-path collision incident and correction +At05:46UTC the E105watcher reported the exact E95checkpoint hash, revealing a launcher path error: packed_stratified_large training and its watcher both pointed to completed runs/stratified_corpus instead of runs/stratified_volume. This was an implementation error, not a model result. All four mislabeled E105cached evaluations were quarantined under incidents/stratified_volume_output_collision and are invalid for selection. The new trainer was stopped; its complete model/EMA/Adam/allRNG/prefetched-batch state at1000 was saved immutably as stratified_volume_recovery001000.pt SHA f153b05103d51042525b0ba765dc0a826241791ea7611baba8cfd07a54b5bca8. Its actual1000EMA SHA dd2b7db79f33a230724fe26a33e07793547329639046e32e4a380cc8b1a23485 and raw checkpoint were moved into the corrected directory. Resume from1000 preserves the intended training trajectory apart from normal numerical restart effects; unsaved later work is discarded and counted as incident compute. Original E95EMA/raw1000 and final optimizer recovery were overwritten and are no longer replayable; original E95EMA/raw2000..12000 including all selected later checkpoints remain intact. FinalE95EMA SHA453c1e5c5ff189f961d2b4001e9e299c72e26f86d3c4afe5b5a6a46fe5acaafe was verified unchanged. E95is complete and must not be resumed. Published E104and its assets were untouched; no E105result was published. Corrected E105launcher uses runs/stratified_volume and explicit immutable resume, watcher rescoring actual1000. E107queue was stopped while waiting and will be requeued against the new E105launcherPID. A process-start guard now rejects any fresh trainer output containing EMA/raw/recovery checkpoints unless --resume is explicit; CPU fixture verifies refusal before GPU initialization and preserves the existing marker. Incident logs/receipt/checkpoints retained. + +E105 nested corpus volume seed197 training started at 2026-10-23T05:47:49Z, after the preceding trainer exited with its final checkpoint. Settings are unchanged from the declared comparison. + +E101 own-ensemble distillation fresh146M training started at 2026-10-23T05:50:23Z, after the preceding trainer exited with its final checkpoint. Settings are unchanged from the declared comparison. + +E105 incident first-phase last measured record: {"step": 1000, "loss": 0.2910519391298294, "seconds": 202.5, "lr": 1.9727406610312548e-05, "grad_norm": 0.13067036867141724, "context": 4096, "horizon": 512}. Corrected trainer13473 restored1000 exactly from immutable rescue and is progressing in runs/stratified_volume. E107requeued against corrected queue13470. New watch_evaluate.py verifies every cached/result checkpoint SHA and optionally the expected packed corpus; CPU behavioral fixture rejects wrong corpus/hash and accepts matching cached reports in3.652652seconds with no evaluator/GPU/optimizer execution (watch_evaluation_guard_checks.json). The completed sourceE95run now has no recovery.pt, preventing accidental use of the overwritten optimizer state. + +## E94 fresh146M half learning rate at16000 +- Checkpoint SHA-256: `19f9ead156ea9bc4a3edca1303bc5595057b2e1b89ff88e7bb7d9acf39618ba5`. +- Evaluation: 97 configurations, 9473 instances, 0 failed configurations; 33.574928522109985 seconds. +- Overall skill 0.354616; relative MASE 0.765691; relative WQL 0.543981. +- term skill: long=0.3807, medium=0.3858, short=0.3318. +- domain skill: Econ/Fin=0.1226, Energy=0.2154, Healthcare=0.3836, Nature=0.4162, Sales=0.3402, Transport=0.4491, Web/CloudOps=0.4736. +- frequency skill: A=0.3784, D=0.3518, H=0.3719, M=0.0534, Q=0.1915, S=0.4189, T=0.4000, W=0.2223. +- variates skill: multivariate=0.3672, univariate=0.3444. +- Outcome: Skill0.354615664 exceeds highLR146Mat16000 0.349499286 by0.005116378, nearly matches highLRat24000 0.354493848, and trails matched37M16000 0.355318072 by0.000702409. Consistent rate advantage across4/8/16k supports LR1e-4 for a later fresh146Mdata comparison. Continue96k schedule. + +## E108 complete corpus pack audited +Complete pack contains62,399,537,510points and7,652,636series from all95allowed directories. Packer550.026052wall seconds with2CPUworkers; independent audit80.076772seconds; preparation total631.880773seconds. Exact binary and record prefix against packed_stratified_large in all95directories,260independent Arrow series replays with row-specific frequencies/crops, source probabilities bitwise equal to packed_sample. Receipts stratified_full_prepare_receipt.json and stratified_full_audit.json. No optimizer updates or validation reads. Runtime publication never depends on this training pack. + +## E110 fresh146M full eligible-series data comparison — predeclared +Hypothesis: greater allowed-series diversity improves a fresh larger model beyond the narrow original pack. E94halfLR beats E79wide at matched4k/8k/16k, so use E94's exact recipe and own random initial checkpoint SHA c9693619ca6277c26fef3b2bde37ff6796bec97b3af9f94588bbc5ddd329ec90. Same d1024/heads16/enc6/dec4/patch16/context4096/horizon1024,146,477,344parameters, seed307/B48/LR1e-4/96000steps/400warmup, paired loss,20%slow-AR synthetic, horizon RNG300310, static compilation, Adam/EMA settings. Change only packed_sample to audited packed_stratified_full; retain original source probabilities via source-weights-from packed_sample. This is a joint coverage+volume comparison against E94, not an isolation of either factor, and differing series lengths change subsequent sampling trajectories despite the same seed. No teacher or newly tested synthetic generator in this arm. Queue after E106spectral run in its released allocation; max-shape memory is covered by the unchanged E79/E94 architecture check at10,696MiB reserved. Screen4/8/16/24/48/72/96k; longer continuation decisions remain open for later evidence. Expected-output and corpus/hash guards apply. No external/pretrained assets. + +## E98 original postloss completion final12000 +- Checkpoint SHA-256: `b4b36749b469b0a5024747e6407351cc77fbfc0e77cd1776eabdc07318299f4c`. +- Evaluation: 97 configurations, 9473 instances, 0 failed configurations; 24.10327959060669 seconds. +- Overall skill 0.376034; relative MASE 0.745577; relative WQL 0.522191. +- term skill: long=0.4024, medium=0.4041, short=0.3544. +- domain skill: Econ/Fin=0.1158, Energy=0.2406, Healthcare=0.4413, Nature=0.4287, Sales=0.3336, Transport=0.4650, Web/CloudOps=0.5007. +- frequency skill: A=0.3675, D=0.3453, H=0.3958, M=0.0708, Q=0.1957, S=0.4234, T=0.4412, W=0.2183. +- variates skill: multivariate=0.3933, univariate=0.3620. +- Outcome: Final0.376034254 is below originalE75at3000 0.378813891 and matchedE80final0.377423946. Completion3654..12000 cost1995.386513training-loop seconds, plus original799.915049seconds. Reject late completion; selected postloss contribution stays at3000. Full-state branch restored optimizer/EMA/allRNG without reset. + +## E105 corrected actual larger-volume first1000 +- Checkpoint SHA-256: `dd2b7db79f33a230724fe26a33e07793547329639046e32e4a380cc8b1a23485`. +- Evaluation: 97 configurations, 9473 instances, 0 failed configurations; 24.012547969818115 seconds. +- Overall skill 0.377047; relative MASE 0.745081; relative WQL 0.520844. +- term skill: long=0.3978, medium=0.4060, short=0.3574. +- domain skill: Econ/Fin=0.1346, Energy=0.2367, Healthcare=0.4623, Nature=0.4324, Sales=0.3353, Transport=0.4653, Web/CloudOps=0.4978. +- frequency skill: A=0.3704, D=0.3548, H=0.3960, M=0.1135, Q=0.1955, S=0.4239, T=0.4334, W=0.2282. +- variates skill: multivariate=0.3927, univariate=0.3643. +- Outcome: Actual packed_stratified_large checkpoint SHA dd2b7db79f33a230724fe26a33e07793547329639046e32e4a380cc8b1a23485; skill0.377046610 nearly ties E95smallpack1000 0.377028371. Earlier mislabeled cached E105results were quarantined and are invalid. This correctly rescored checkpoint was moved from the incident directory and retains its original metadata/hash; continued training now uses a separate output. + +## E106 spectral synthetic residuals first1000 +- Checkpoint SHA-256: `6d81b602d598a452ab114d27433d713831611e69925cf81857839a083d14925c`. +- Evaluation: 97 configurations, 9473 instances, 0 failed configurations; 22.007343530654907 seconds. +- Overall skill 0.377778; relative MASE 0.743525; relative WQL 0.520710. +- term skill: long=0.3998, medium=0.4063, short=0.3578. +- domain skill: Econ/Fin=0.1359, Energy=0.2365, Healthcare=0.4618, Nature=0.4329, Sales=0.3341, Transport=0.4674, Web/CloudOps=0.4992. +- frequency skill: A=0.3667, D=0.3581, H=0.3950, M=0.1087, Q=0.1987, S=0.4227, T=0.4366, W=0.2240. +- variates skill: multivariate=0.3935, univariate=0.3650. +- Outcome: Skill0.377777744 exceeds matched E80at1000 0.376804394 by0.000973350. Only half of locally generated residuals changed, original real/non-replaced streams preserved. Seed197/B64/LR2e-5, continue declared3000/6000/12000 before selection. + +## E109 fixed6000correction ensemble four-cutoff result +{"skill_score": 0.38571041915894055, "rel_mase_gmean": 0.7360297117883622, "rel_wql_gmean": 0.5126854026218823, "groups": {"term": {"short": 0.3684054892093498, "medium": 0.40861792906707406, "long": 0.40669389489538343}, "domain": {"Econ/Fin": 0.14352283454252435, "Energy": 0.24673599474557084, "Healthcare": 0.4852425866482829, "Nature": 0.44163298463938605, "Sales": 0.34379367871415345, "Transport": 0.46820747636240867, "Web/CloudOps": 0.5046932217026704}, "freq": {"A-DEC": 0.3760321167863795, "Q-DEC": 0.19766380569346853, "M": 0.12098833477007476, "W-SUN": 0.10769661791141583, "D": 0.3645387551794308, "H": 0.40107642673673183, "15T": 0.21690311587788813, "W-FRI": 0.015770663763870485, "10T": 0.6272364379377529, "W-TUE": 0.6408660517579567, "W-THU": 0.20503433411830196, "W-WED": 0.32981773944316883, "5T": 0.5197675944998887, "10S": 0.4252552385586551}}, "cpu_seconds": 1.219195496989414, "member_checkpoint_hashes": ["c8adf9cadf97dac5e120d8d4d2c8c025bffa2e8b55d8664bf900cce55d00a70b", "308389b7217c080af9eb185559d4ee3cafa0f3e0f8c4dd8f5526b68198c89988", "1a2fb20a9fb5cae6526f2e36ea47559626bece78fd9c284899836505030ae9fe"], "cutoff": "valid_screen", "E104skill": 0.3854686334562757, "difference": 0.0002417857026648651} +{"skill_score": 0.34038453448144423, "rel_mase_gmean": 0.7936376163611775, "rel_wql_gmean": 0.5482257309654212, "groups": {"term": {"short": 0.30705150791287494, "medium": 0.36037259523502396, "long": 0.40216620546988446}, "domain": {"Econ/Fin": 0.17253359368549226, "Energy": 0.23204288671949924, "Healthcare": 0.4136249395275713, "Nature": 0.3730211654221537, "Sales": 0.40518403019805194, "Transport": 0.3736095722850602, "Web/CloudOps": 0.45146748825459326}, "freq": {"A-DEC": 0.32644250202504, "Q-DEC": 0.23690729834334368, "M": 0.19096290262857263, "W-SUN": 0.05220186917057601, "D": 0.35265301620275713, "H": 0.3717913194271458, "15T": 0.22264807081310156, "W-FRI": 0.2309648955865844, "10T": 0.3251814465668018, "W-TUE": 0.5629848975400014, "W-THU": 0.2613953386383071, "W-WED": 0.3604296268765198, "5T": 0.44169178473335347, "10S": 0.3476495261147444}}, "cpu_seconds": 1.4167720968835056, "member_checkpoint_hashes": ["c8adf9cadf97dac5e120d8d4d2c8c025bffa2e8b55d8664bf900cce55d00a70b", "308389b7217c080af9eb185559d4ee3cafa0f3e0f8c4dd8f5526b68198c89988", "1a2fb20a9fb5cae6526f2e36ea47559626bece78fd9c284899836505030ae9fe"], "cutoff": "valid_backcast", "E104skill": 0.34022701617855455, "difference": 0.00015751830288968094} +{"skill_score": 0.3650268512866791, "rel_mase_gmean": 0.7650984666186498, "rel_wql_gmean": 0.5269790976955032, "groups": {"term": {"short": 0.35239958764222634, "medium": 0.3931690597943601, "long": 0.3687369083593992}, "domain": {"Econ/Fin": 0.12213255276326718, "Energy": 0.24166462607625983, "Healthcare": 0.3517132635055068, "Nature": 0.47875836217412926, "Sales": 0.5562721649607756, "Transport": 0.42517847470928805, "Web/CloudOps": 0.43741099158446717}, "freq": {"A-DEC": 0.33656065874085495, "Q-DEC": 0.15684832945264293, "M": 0.16665053208003056, "W-SUN": 0.07150895572001315, "D": 0.43035508666570155, "H": 0.39490487280100917, "15T": 0.10882809267173599, "W-FRI": 0.15456262907954288, "10T": 0.5092255418082989, "W-TUE": 0.08691901966493587, "W-THU": 0.35389841775428443, "W-WED": 0.5635809755138526, "5T": 0.4725753025882409, "10S": 0.2851839750626278}}, "cpu_seconds": 1.239942419109866, "member_checkpoint_hashes": ["c8adf9cadf97dac5e120d8d4d2c8c025bffa2e8b55d8664bf900cce55d00a70b", "308389b7217c080af9eb185559d4ee3cafa0f3e0f8c4dd8f5526b68198c89988", "1a2fb20a9fb5cae6526f2e36ea47559626bece78fd9c284899836505030ae9fe"], "cutoff": "valid_backcast2", "E104skill": 0.36494952219954613, "difference": 7.732908713298237e-05} +{"skill_score": 0.38931035191213115, "rel_mase_gmean": 0.7402180023142099, "rel_wql_gmean": 0.5038270416495189, "groups": {"term": {"short": 0.3946100958444625, "medium": 0.3680969397604268, "long": 0.39609503944824875}, "domain": {"Econ/Fin": 0.18617468677704974, "Energy": 0.31652315087317884, "Healthcare": 0.24343015434307236, "Nature": 0.5047900396770414, "Sales": 0.4000084000969678, "Transport": 0.5092713174572736, "Web/CloudOps": 0.3939880442254168}, "freq": {"A-DEC": 0.3575108227176348, "Q-DEC": 0.2547450248116794, "M": 0.148792543537967, "W-SUN": 0.17031337870235352, "D": 0.4392381685936584, "H": 0.40578214745866226, "15T": 0.2545743158438908, "W-FRI": 0.03969737538520679, "10T": 0.6065987129573612, "W-TUE": 0.2789739520044787, "W-THU": 0.3351510988039397, "W-WED": 0.3774145654877956, "5T": 0.46539939355428894, "10S": 0.2923169693971158}}, "cpu_seconds": 1.0821592810098082, "member_checkpoint_hashes": ["c8adf9cadf97dac5e120d8d4d2c8c025bffa2e8b55d8664bf900cce55d00a70b", "308389b7217c080af9eb185559d4ee3cafa0f3e0f8c4dd8f5526b68198c89988", "1a2fb20a9fb5cae6526f2e36ea47559626bece78fd9c284899836505030ae9fe"], "cutoff": "valid_backcast3", "E104skill": 0.3895560076325473, "difference": -0.00024565572041612693} +Three diagnostic gains and one decline: main+0.000241786,first+0.000157518,second+0.000077329,third-0.000245656. Small positive average; select this one fixed checkpoint-duration candidate for full public replay. No coefficient sweep or new optimizer updates. Merge2.075168CPU seconds, standalone SHA c8adf9cadf97dac5e120d8d4d2c8c025bffa2e8b55d8664bf900cce55d00a70b. + +## E109 weekly6000 matched-delta standalone valid_screen +- Checkpoint SHA-256: `c8adf9cadf97dac5e120d8d4d2c8c025bffa2e8b55d8664bf900cce55d00a70b`. +- Evaluation: 97 configurations, 9473 instances, 0 failed configurations; 23.40149998664856 seconds. +- Overall skill 0.382470; relative MASE 0.738351; relative WQL 0.516480. +- term skill: long=0.4043, medium=0.4074, short=0.3640. +- domain skill: Econ/Fin=0.1333, Energy=0.2409, Healthcare=0.4856, Nature=0.4375, Sales=0.3381, Transport=0.4644, Web/CloudOps=0.5062. +- frequency skill: A=0.3761, D=0.3559, H=0.4008, M=0.1140, Q=0.2001, S=0.4253, T=0.4418, W=0.2372. +- variates skill: multivariate=0.3982, univariate=0.3696. +- Outcome: Fixed E83+E97weekly6000-E80overflow6000, coefficient1; no optimizer updates. Ensemble comparison is the selection criterion; third-earlier standalone performance declines. + +## E109 weekly6000 matched-delta standalone valid_backcast +- Checkpoint SHA-256: `c8adf9cadf97dac5e120d8d4d2c8c025bffa2e8b55d8664bf900cce55d00a70b`. +- Evaluation: 97 configurations, 9330 instances, 0 failed configurations; 21.963260173797607 seconds. +- Overall skill 0.336472; relative MASE 0.796772; relative WQL 0.552567. +- term skill: long=0.3951, medium=0.3601, short=0.3030. +- domain skill: Econ/Fin=0.1606, Energy=0.2286, Healthcare=0.4001, Nature=0.3703, Sales=0.3955, Transport=0.3719, Web/CloudOps=0.4498. +- frequency skill: A=0.3210, D=0.3470, H=0.3693, M=0.1803, Q=0.2309, S=0.3394, T=0.3343, W=0.2926. +- variates skill: multivariate=0.3535, univariate=0.3226. +- Outcome: Fixed E83+E97weekly6000-E80overflow6000, coefficient1; no optimizer updates. Ensemble comparison is the selection criterion; third-earlier standalone performance declines. + +## E109 weekly6000 matched-delta standalone valid_backcast2 +- Checkpoint SHA-256: `c8adf9cadf97dac5e120d8d4d2c8c025bffa2e8b55d8664bf900cce55d00a70b`. +- Evaluation: 94 configurations, 8934 instances, 0 failed configurations; 22.833601474761963 seconds. +- Overall skill 0.359364; relative MASE 0.770770; relative WQL 0.532473. +- term skill: long=0.3665, medium=0.3870, short=0.3457. +- domain skill: Econ/Fin=0.1191, Energy=0.2389, Healthcare=0.3074, Nature=0.4743, Sales=0.5518, Transport=0.4204, Web/CloudOps=0.4347. +- frequency skill: A=0.3504, D=0.4213, H=0.3925, M=0.1454, Q=0.1508, S=0.2803, T=0.3644, W=0.2553. +- variates skill: multivariate=0.3658, univariate=0.3541. +- Outcome: Fixed E83+E97weekly6000-E80overflow6000, coefficient1; no optimizer updates. Ensemble comparison is the selection criterion; third-earlier standalone performance declines. + +## E109 weekly6000 matched-delta standalone valid_backcast3 +- Checkpoint SHA-256: `c8adf9cadf97dac5e120d8d4d2c8c025bffa2e8b55d8664bf900cce55d00a70b`. +- Evaluation: 93 configurations, 8812 instances, 0 failed configurations; 21.22951889038086 seconds. +- Overall skill 0.387648; relative MASE 0.742514; relative WQL 0.505006. +- term skill: long=0.3931, medium=0.3619, short=0.3950. +- domain skill: Econ/Fin=0.1745, Energy=0.3225, Healthcare=0.2373, Nature=0.4950, Sales=0.4012, Transport=0.5086, Web/CloudOps=0.3906. +- frequency skill: A=0.3606, D=0.4357, H=0.4053, M=0.1367, Q=0.2600, S=0.2740, T=0.4318, W=0.2506. +- variates skill: multivariate=0.3723, univariate=0.3995. +- Outcome: Fixed E83+E97weekly6000-E80overflow6000, coefficient1; no optimizer updates. Ensemble comparison is the selection criterion; third-earlier standalone performance declines. + +## E95 all-shard final earlier cutoff1 +- Checkpoint SHA-256: `453c1e5c5ff189f961d2b4001e9e299c72e26f86d3c4afe5b5a6a46fe5acaafe`. +- Evaluation: 97 configurations, 9330 instances, 0 failed configurations; 22.185170888900757 seconds. +- Overall skill 0.337351; relative MASE 0.796681; relative WQL 0.551166. +- term skill: long=0.3975, medium=0.3600, short=0.3037. +- domain skill: Econ/Fin=0.1590, Energy=0.2333, Healthcare=0.4170, Nature=0.3635, Sales=0.3931, Transport=0.3751, Web/CloudOps=0.4471. +- frequency skill: A=0.3146, D=0.3506, H=0.3671, M=0.1813, Q=0.2349, S=0.3420, T=0.3372, W=0.2919. +- variates skill: multivariate=0.3535, univariate=0.3242. +- Outcome: Matched seed197/B64/LR2e-5 final12000 comparison. E95gains main/first/third earlier but loses0.001849350at second earlier; average four-cutoff gain is essentially zero. Do not select a standalone or transferred coverage correction; E105volume and E110freshfull data comparisons remain separate experiments. + +## E80 matched original-corpus final earlier cutoff1 +- Checkpoint SHA-256: `f11d056b95f1c5eeef174265ebc51742952600e0dae1fa52900860447d5be819`. +- Evaluation: 97 configurations, 9330 instances, 0 failed configurations; 22.276308298110962 seconds. +- Overall skill 0.336528; relative MASE 0.797567; relative WQL 0.551922. +- term skill: long=0.3974, medium=0.3587, short=0.3027. +- domain skill: Econ/Fin=0.1549, Energy=0.2300, Healthcare=0.4194, Nature=0.3635, Sales=0.3947, Transport=0.3732, Web/CloudOps=0.4488. +- frequency skill: A=0.3168, D=0.3524, H=0.3669, M=0.1806, Q=0.2286, S=0.3418, T=0.3360, W=0.2847. +- variates skill: multivariate=0.3529, univariate=0.3232. +- Outcome: Matched seed197/B64/LR2e-5 final12000 comparison. E95gains main/first/third earlier but loses0.001849350at second earlier; average four-cutoff gain is essentially zero. Do not select a standalone or transferred coverage correction; E105volume and E110freshfull data comparisons remain separate experiments. + +## E95 all-shard final earlier cutoff2 +- Checkpoint SHA-256: `453c1e5c5ff189f961d2b4001e9e299c72e26f86d3c4afe5b5a6a46fe5acaafe`. +- Evaluation: 94 configurations, 8934 instances, 0 failed configurations; 22.514131546020508 seconds. +- Overall skill 0.359124; relative MASE 0.770269; relative WQL 0.533219. +- term skill: long=0.3649, medium=0.3876, short=0.3456. +- domain skill: Econ/Fin=0.1057, Energy=0.2383, Healthcare=0.3457, Nature=0.4701, Sales=0.5518, Transport=0.4215, Web/CloudOps=0.4312. +- frequency skill: A=0.3487, D=0.4241, H=0.3889, M=0.1590, Q=0.1439, S=0.2824, T=0.3606, W=0.2711. +- variates skill: multivariate=0.3622, univariate=0.3566. +- Outcome: Matched seed197/B64/LR2e-5 final12000 comparison. E95gains main/first/third earlier but loses0.001849350at second earlier; average four-cutoff gain is essentially zero. Do not select a standalone or transferred coverage correction; E105volume and E110freshfull data comparisons remain separate experiments. + +## E80 matched original-corpus final earlier cutoff2 +- Checkpoint SHA-256: `f11d056b95f1c5eeef174265ebc51742952600e0dae1fa52900860447d5be819`. +- Evaluation: 94 configurations, 8934 instances, 0 failed configurations; 22.563663959503174 seconds. +- Overall skill 0.360973; relative MASE 0.768847; relative WQL 0.531126. +- term skill: long=0.3646, medium=0.3902, short=0.3479. +- domain skill: Econ/Fin=0.1009, Energy=0.2385, Healthcare=0.3613, Nature=0.4749, Sales=0.5481, Transport=0.4204, Web/CloudOps=0.4340. +- frequency skill: A=0.3509, D=0.4270, H=0.3905, M=0.1611, Q=0.1432, S=0.2801, T=0.3626, W=0.2745. +- variates skill: multivariate=0.3648, univariate=0.3579. +- Outcome: Matched seed197/B64/LR2e-5 final12000 comparison. E95gains main/first/third earlier but loses0.001849350at second earlier; average four-cutoff gain is essentially zero. Do not select a standalone or transferred coverage correction; E105volume and E110freshfull data comparisons remain separate experiments. + +## E95 all-shard final earlier cutoff3 +- Checkpoint SHA-256: `453c1e5c5ff189f961d2b4001e9e299c72e26f86d3c4afe5b5a6a46fe5acaafe`. +- Evaluation: 93 configurations, 8812 instances, 0 failed configurations; 22.70902395248413 seconds. +- Overall skill 0.387881; relative MASE 0.740491; relative WQL 0.506003. +- term skill: long=0.3979, medium=0.3625, short=0.3935. +- domain skill: Econ/Fin=0.1693, Energy=0.3185, Healthcare=0.2544, Nature=0.4987, Sales=0.3991, Transport=0.5048, Web/CloudOps=0.3958. +- frequency skill: A=0.3523, D=0.4336, H=0.4042, M=0.1203, Q=0.2579, S=0.2981, T=0.4301, W=0.2615. +- variates skill: multivariate=0.3768, univariate=0.3965. +- Outcome: Matched seed197/B64/LR2e-5 final12000 comparison. E95gains main/first/third earlier but loses0.001849350at second earlier; average four-cutoff gain is essentially zero. Do not select a standalone or transferred coverage correction; E105volume and E110freshfull data comparisons remain separate experiments. + +## E80 matched original-corpus final earlier cutoff3 +- Checkpoint SHA-256: `f11d056b95f1c5eeef174265ebc51742952600e0dae1fa52900860447d5be819`. +- Evaluation: 93 configurations, 8812 instances, 0 failed configurations; 22.906182527542114 seconds. +- Overall skill 0.387481; relative MASE 0.740121; relative WQL 0.506916. +- term skill: long=0.3953, medium=0.3592, short=0.3949. +- domain skill: Econ/Fin=0.1649, Energy=0.3182, Healthcare=0.2719, Nature=0.5016, Sales=0.3989, Transport=0.5041, Web/CloudOps=0.3891. +- frequency skill: A=0.3478, D=0.4406, H=0.4026, M=0.1367, Q=0.2596, S=0.2884, T=0.4271, W=0.2609. +- variates skill: multivariate=0.3727, univariate=0.3989. +- Outcome: Matched seed197/B64/LR2e-5 final12000 comparison. E95gains main/first/third earlier but loses0.001849350at second earlier; average four-cutoff gain is essentially zero. Do not select a standalone or transferred coverage correction; E105volume and E110freshfull data comparisons remain separate experiments. + +## E111 independent-seed replication of weekly synthetic coverage — predeclared +Hypothesis: the weekly-coverage gain is a reproducible training-data effect, rather than a favorable seed197continuation. Train two new matched arms from the same ownE62initial checkpoint with seed523/B64/LR2e-5/12000steps, paired loss, packed_sample and original source weights. Control uses overflow_control; candidate uses the already checked weekly_synth generator (unchanged20%synthetic; independent Bernoulli1/11 weekly replacement, weekly seed1000526, horizon seed300526). Both consume identical original real/non-replaced streams for this new seed. The primary matched comparison is at6000;1000/3000 are learning-curve diagnostics and12000tests durability. This is a new causal replication of the generator effect, not a retraining of any supplied reference baseline. Queue control after E107 and candidate after control, using one released allocation sequentially. Every output name is distinct and guarded; expected packed corpus and checkpoint hashes are checked by watchers. Earlier cutoffs required before any transfer or averaging of seed-specific corrections. No new model-soup rule is selected yet. + +## E97 weekly synthetic coverage final12000 +- Checkpoint SHA-256: `5104b21697e423740d2fa0fb55c4010759a83ab7f376b8704b0b992f56850203`. +- Evaluation: 97 configurations, 9473 instances, 0 failed configurations; 20.680010318756104 seconds. +- Overall skill 0.380440; relative MASE 0.741395; relative WQL 0.517747. +- term skill: long=0.4027, medium=0.4063, short=0.3614. +- domain skill: Econ/Fin=0.1282, Energy=0.2358, Healthcare=0.4938, Nature=0.4316, Sales=0.3351, Transport=0.4668, Web/CloudOps=0.5051. +- frequency skill: A=0.3616, D=0.3526, H=0.3946, M=0.1286, Q=0.1969, S=0.4251, T=0.4412, W=0.2425. +- variates skill: multivariate=0.3967, univariate=0.3672. +- Outcome: Final0.380439539 remains above matchedE80final0.377423946 by0.003015593, though slightly below its own6000 0.380715730. Complete12000 in2600.472750shared-H100 training-loop seconds. The fixed6000delta ensemble E109 is being fully replayed; E111seed523 matched replication is queued. No held-out claim. + +## E109 weekly6000 correction ensemble full public replay +- Checkpoint SHA-256: `6bb9ddf58411d410255e32206c4ef484576a3818cbc27bb574159ebe56957573`. +- Evaluation: 97 configurations, 151170 instances, 0 failed configurations; not separately timed seconds. +- Overall skill 0.381981; relative MASE 0.738680; relative WQL 0.517067. +- term skill: long=0.4009, medium=0.4075, short=0.3645. +- domain skill: Econ/Fin=0.1246, Energy=0.2403, Healthcare=0.4904, Nature=0.4418, Sales=0.3580, Transport=0.4684, Web/CloudOps=0.4965. +- frequency skill: A=0.2972, D=0.3689, H=0.3957, M=0.1465, Q=0.1871, S=0.4253, T=0.4379, W=0.2406. +- variates skill: multivariate=0.3953, univariate=0.3712. +- Outcome: Full0.38198119952338705 exceeds publishedE1040.381736117455058 by0.00024508206832905, with both relativeMASE0.7386798626058647 and WQL0.5170673482219265 improved.97configs151170instances0fail,inference295.661474shared-H100 seconds. Three of four diagnostic cutoffs improve, third earlier declines0.000245656. Publish only after independent component/composition checks complete; adaptive validation result, not held-out significance. + +Recovery robustness: future trainer starts/resumes now save the already audited complete recovery state after their first completed update, in addition to every250steps. This protects progress during later static-shape compiler warmup; no objective, sampler or optimizer arithmetic changes. Already running trainers retain their loaded code. E101first50updates completed with finite loss0.744227227/gradientnorm0.361719310,teacher-valid1.0in logged batch,458.4loop seconds including compilation; remaining rare shapes may still compile. Compiler cache backup refreshed independently. + +E109 complete replay/check suite375.233383wall seconds includinglockwaits; inference295.661474seconds. Relocation bitwise/finite/ordered25.588799seconds. Independent changed-member replay and fixed orderedfloat32 composition match three complete actual configurations exactly (weekly_slow_ar6_composition_replay.json,weekly_slow6_ensemble_composition_checks.json). Descriptor6bb9ddf58411d410255e32206c4ef484576a3818cbc27bb574159ebe56957573,110068216parameters. Selected for atomic publication. Descriptive comparison {"improved_configs": 52, "dataset_cluster_delta_percentiles": {"p025": -4.58150388659706e-05, "p50": 0.00024309038144720851, "p975": 0.0005397384010364019}, "bootstrap_seed": 317, "bootstrap_samples": 5000}; no held-out significance claim. E101teacher staysE96. + +## E105 corrected larger-volume at3000 +- Checkpoint SHA-256: `df5bc1e16aa79d1074d7f2fb12f9b66ebdc8debf302fae7e7f388a89d2d2793a`. +- Evaluation: 97 configurations, 9473 instances, 0 failed configurations; 21.78273630142212 seconds. +- Overall skill 0.376761; relative MASE 0.744501; relative WQL 0.521728. +- term skill: long=0.3980, medium=0.4051, short=0.3571. +- domain skill: Econ/Fin=0.1385, Energy=0.2347, Healthcare=0.4694, Nature=0.4324, Sales=0.3388, Transport=0.4642, Web/CloudOps=0.4967. +- frequency skill: A=0.3747, D=0.3532, H=0.3950, M=0.1208, Q=0.1966, S=0.4235, T=0.4334, W=0.2280. +- variates skill: multivariate=0.3912, univariate=0.3650. +- Outcome: Skill0.376761202 nearly ties E95smallpack3000 0.376741687 and trails E80original-pack3000 0.378663825. Corrected separate output;1001onward restored full1000state. Continue declared6000/12000, no selection. + +## E106 spectral residuals at3000 +- Checkpoint SHA-256: `a2445412f640657c3396806783fbcbbed5243b9443fe08615a45760c4becd98e`. +- Evaluation: 97 configurations, 9473 instances, 0 failed configurations; 21.065938234329224 seconds. +- Overall skill 0.378295; relative MASE 0.743170; relative WQL 0.520091. +- term skill: long=0.4031, medium=0.4065, short=0.3573. +- domain skill: Econ/Fin=0.1451, Energy=0.2383, Healthcare=0.4329, Nature=0.4339, Sales=0.3314, Transport=0.4654, Web/CloudOps=0.5053. +- frequency skill: A=0.3698, D=0.3530, H=0.3972, M=0.1006, Q=0.2014, S=0.4236, T=0.4398, W=0.2184. +- variates skill: multivariate=0.3981, univariate=0.3621. +- Outcome: Skill0.378295411 trails matched E80at3000 0.378663825 by0.000368414. The1000gain did not persist. Continue declared6000/12000 before any earlier-cutoff selection; no transfer or publication. + +## E112 final-duration matched weekly correction — predeclared +E104at3000 and E109at6000 improved complete public replay with coefficient1 and unchanged equal-member composition. Finish the checkpoint-duration comparison at the already scheduled final12000: E83 + E97weeklyEMA12000 - E80overflowEMA12000, coefficient1. E97final0.380439539 minus E80final0.377423946 is a larger standalone matched gap than at6000, despite the candidate's own slight decline. Evaluate the fixed merged checkpoint at all four cutoffs, then the same equal1/3 ensemble with E71patch8_6000 and E93splitpatch_12000. No optimizer updates, coefficient sweep or change to any runtime rule. Compare to published E109; full public replay and checks required for publication. This completes the declared3k/6k/12k duration sequence, not a new training run or independent replication. E111seed523 pair separately tests reproducibility. + +## E113 frequency-scaled short training windows — preparation +Hypothesis: the sampler coverage audit shows many low-frequency real windows with short histories and long future labels, while low-frequency synthetic contexts are usually hundreds/thousands of steps. Change only the training-window distribution for half of rows whose existing period pair is[first<=52,second=1]. First consume the original sampler and requested-horizon augmentation completely. Using independent RNG seed1200200, choose a new forecast endpoint uniformly among finite original target positions; choose an integer horizon log-uniform from1 to min(originalH,max(8,2*period),available_span-8); retain the most recent min(originalC,max(64,32*period),available_span-newH) context positions. Require at least4finite context values. Move only existing contiguous allowed-series/local-generator observations across the new training cutoff, preserving all internal missing values and period labels; no new values, validation reads or cross-series information. Unselected rows and original/horizon RNG streams must remain bitwise unchanged. This is one joint history/horizon sampling hypothesis, not a separate causal claim about either subfactor. ComparatorE80: ownE62initial,seed197/B64/LR2e-5/12000,paired loss,original20%synthetic and source probabilities, unchanged overflow-safe model/runtime. CPU index/mask/RNG checks required before queueing after the E111pair. Screens1000/3000/6000/12000; earlier/full replay for selection. +E113 pretraining-only design revision before any optimizer step: initial CPU audit seed541/15360windows found median requested horizon2 for annual/quarterly changed rows. To avoid concentrating the new supervision on1–2step forecasts, set the log-uniform lower bound to4 whenever at least4future positions are available (otherwise the available maximum). All other rules are unchanged. No validation outcome was used for this revision. Initial audit retained as lowfreq_windows_checks_initial_horizon1.json,4.844810CPU seconds; rerun the index/RNG audit on the final sampler before queueing. + +E113 final sampler audit passes: seed541,15360paired control/candidate windows,2679eligible,1360changed,4.688498CPU seconds,0optimizerupdates/no validationread. Exact contiguous source indices verified for every changed context/target, all unselected rows and period labels unchanged, original/horizon RNG states bitwise identical, all three NumPy streams recover exactly. Model file byte-identical toE80 SHA44eeb23c037e91b8f67e432615ce46540a7ac4242919785f9c4218de23121499. Sampling diagnostics {"4": {"rows": 392, "median_context_before": 38.5, "median_context_after": 56.0, "median_target_before": 48.0, "median_target_after": 5.0}, "1": {"rows": 255, "median_context_before": 714.0, "median_context_after": 64.0, "median_target_before": 112.0, "median_target_after": 5.0}, "52": {"rows": 298, "median_context_before": 53.0, "median_context_after": 76.0, "median_target_before": 84.0, "median_target_after": 16.0}, "12": {"rows": 415, "median_context_before": 60.0, "median_context_after": 88.0, "median_target_before": 66.0, "median_target_after": 9.0}}. Queue after E111candidate14350. Final generator/rule metadata and publication provenance added; runtime remains postloss_inference. + +## E112 final-duration ensemble four-cutoff result +{"skill_score": 0.3858712532527797, "rel_mase_gmean": 0.7358504086107674, "rel_wql_gmean": 0.512541833459536, "groups": {"term": {"short": 0.36862786434327777, "medium": 0.4088431767481189, "long": 0.4066382857473849}, "domain": {"Econ/Fin": 0.1427335412380505, "Energy": 0.24665585766807274, "Healthcare": 0.4865626055775951, "Nature": 0.4421324797730376, "Sales": 0.3441164280500456, "Transport": 0.46824759257656046, "Web/CloudOps": 0.5048162617852268}, "freq": {"A-DEC": 0.3751097673324215, "Q-DEC": 0.1969044501960543, "M": 0.12093463923233339, "W-SUN": 0.1050444592094002, "D": 0.36501445271701716, "H": 0.40096290360047526, "15T": 0.21688931337366202, "W-FRI": 0.01363906764599443, "10T": 0.6277697339150299, "W-TUE": 0.6448188288204655, "W-THU": 0.20576781810192735, "W-WED": 0.33017644200384, "5T": 0.5200746054287371, "10S": 0.42522083651418774}}, "cpu_seconds": 1.3133022310212255, "member_checkpoint_hashes": ["6f1f0f6025afbe565633fee0b937a14f1efedf83ffbe7de65641c3800f60d8c7", "308389b7217c080af9eb185559d4ee3cafa0f3e0f8c4dd8f5526b68198c89988", "1a2fb20a9fb5cae6526f2e36ea47559626bece78fd9c284899836505030ae9fe"], "cutoff": "valid_screen", "E109skill": 0.38571041915894055, "difference": 0.00016083409383915725} +{"skill_score": 0.34026453805586865, "rel_mase_gmean": 0.7938743991145676, "rel_wql_gmean": 0.5482616396650213, "groups": {"term": {"short": 0.3069591344201037, "medium": 0.360270352157806, "long": 0.401968127644735}, "domain": {"Econ/Fin": 0.1719491915504786, "Energy": 0.23186920778828224, "Healthcare": 0.4136537686496582, "Nature": 0.3727904917107857, "Sales": 0.40577071577146684, "Transport": 0.3736370692721874, "Web/CloudOps": 0.4513164517386834}, "freq": {"A-DEC": 0.3259591929532375, "Q-DEC": 0.23688125417263828, "M": 0.19019710487662123, "W-SUN": 0.04859397725596748, "D": 0.35267813857571817, "H": 0.3715520522339072, "15T": 0.22235983728090003, "W-FRI": 0.23099317599917168, "10T": 0.3253705594505678, "W-TUE": 0.5636487610465628, "W-THU": 0.2596937123136588, "W-WED": 0.3622295587104454, "5T": 0.44209582636515465, "10S": 0.34758760809251354}}, "cpu_seconds": 1.2864791969768703, "member_checkpoint_hashes": ["6f1f0f6025afbe565633fee0b937a14f1efedf83ffbe7de65641c3800f60d8c7", "308389b7217c080af9eb185559d4ee3cafa0f3e0f8c4dd8f5526b68198c89988", "1a2fb20a9fb5cae6526f2e36ea47559626bece78fd9c284899836505030ae9fe"], "cutoff": "valid_backcast", "E109skill": 0.34038453448144423, "difference": -0.00011999642557558587} +{"skill_score": 0.36500280105746885, "rel_mase_gmean": 0.7650616372712448, "rel_wql_gmean": 0.5270443883489382, "groups": {"term": {"short": 0.3522992147072812, "medium": 0.39323093590574965, "long": 0.36882551999825675}, "domain": {"Econ/Fin": 0.12172400330140187, "Energy": 0.24177568201657473, "Healthcare": 0.351634580322554, "Nature": 0.47856500731963436, "Sales": 0.556767594467451, "Transport": 0.42520135798126146, "Web/CloudOps": 0.43731641066930993}, "freq": {"A-DEC": 0.3368001909919832, "Q-DEC": 0.15714702439125794, "M": 0.166107338147097, "W-SUN": 0.06814222014322535, "D": 0.4306717956748586, "H": 0.394613806291076, "15T": 0.10893648874402395, "W-FRI": 0.1553435881509515, "10T": 0.5096714148955988, "W-TUE": 0.0852329830425479, "W-THU": 0.35258387477718955, "W-WED": 0.5645835048514585, "5T": 0.4726250053861992, "10S": 0.2856493230118694}}, "cpu_seconds": 1.1841424808371812, "member_checkpoint_hashes": ["6f1f0f6025afbe565633fee0b937a14f1efedf83ffbe7de65641c3800f60d8c7", "308389b7217c080af9eb185559d4ee3cafa0f3e0f8c4dd8f5526b68198c89988", "1a2fb20a9fb5cae6526f2e36ea47559626bece78fd9c284899836505030ae9fe"], "cutoff": "valid_backcast2", "E109skill": 0.3650268512866791, "difference": -2.4050229210259566e-05} +{"skill_score": 0.38948675360484886, "rel_mase_gmean": 0.7399201304191406, "rel_wql_gmean": 0.5037387262498307, "groups": {"term": {"short": 0.3948199478576392, "medium": 0.3681915847463416, "long": 0.39625870682346687}, "domain": {"Econ/Fin": 0.1861914584696166, "Energy": 0.3162396550654769, "Healthcare": 0.2449973656886668, "Nature": 0.5053241835290441, "Sales": 0.400142202691233, "Transport": 0.5092939425383289, "Web/CloudOps": 0.39439674653047185}, "freq": {"A-DEC": 0.3579795125033336, "Q-DEC": 0.25418213861585404, "M": 0.14903096998383114, "W-SUN": 0.16834143185233952, "D": 0.44005142265195263, "H": 0.4058611111478776, "15T": 0.25413569489604193, "W-FRI": 0.03894964894687247, "10T": 0.6066278797992326, "W-TUE": 0.2775687319750957, "W-THU": 0.33593939814117346, "W-WED": 0.37754976142332153, "5T": 0.4657926027011683, "10S": 0.29225163220286654}}, "cpu_seconds": 1.1745618879795074, "member_checkpoint_hashes": ["6f1f0f6025afbe565633fee0b937a14f1efedf83ffbe7de65641c3800f60d8c7", "308389b7217c080af9eb185559d4ee3cafa0f3e0f8c4dd8f5526b68198c89988", "1a2fb20a9fb5cae6526f2e36ea47559626bece78fd9c284899836505030ae9fe"], "cutoff": "valid_backcast3", "E109skill": 0.38931035191213115, "difference": 0.00017640169271770922} +Main+0.000160834,firstearlier-0.000119996,secondearlier-0.000024050,thirdearlier+0.000176402. Mixed evidence with small positive average, select the final planned duration for one full public replay; no coefficient search or further intermediate-duration scouting. Merge1.324673CPU seconds, standaloneSHA6f1f0f6025afbe565633fee0b937a14f1efedf83ffbe7de65641c3800f60d8c7. + +## E112 weekly12000 matched-delta standalone valid_screen +- Checkpoint SHA-256: `6f1f0f6025afbe565633fee0b937a14f1efedf83ffbe7de65641c3800f60d8c7`. +- Evaluation: 97 configurations, 9473 instances, 0 failed configurations; 23.014628887176514 seconds. +- Overall skill 0.382923; relative MASE 0.737814; relative WQL 0.516097. +- term skill: long=0.4041, medium=0.4080, short=0.3647. +- domain skill: Econ/Fin=0.1314, Energy=0.2405, Healthcare=0.4896, Nature=0.4389, Sales=0.3390, Transport=0.4645, Web/CloudOps=0.5065. +- frequency skill: A=0.3734, D=0.3574, H=0.4005, M=0.1143, Q=0.1979, S=0.4251, T=0.4425, W=0.2393. +- variates skill: multivariate=0.3987, univariate=0.3701. +- Outcome: Fixed E83+E97weekly12000-E80overflow12000, coefficient1; no optimizer updates. Final declared duration; equal-ensemble four-cutoff comparison recorded separately. + +## E112 weekly12000 matched-delta standalone valid_backcast +- Checkpoint SHA-256: `6f1f0f6025afbe565633fee0b937a14f1efedf83ffbe7de65641c3800f60d8c7`. +- Evaluation: 97 configurations, 9330 instances, 0 failed configurations; 24.712749242782593 seconds. +- Overall skill 0.336057; relative MASE 0.797482; relative WQL 0.552765. +- term skill: long=0.3943, medium=0.3598, short=0.3028. +- domain skill: Econ/Fin=0.1596, Energy=0.2279, Healthcare=0.4002, Nature=0.3697, Sales=0.3973, Transport=0.3719, Web/CloudOps=0.4492. +- frequency skill: A=0.3195, D=0.3471, H=0.3685, M=0.1781, Q=0.2311, S=0.3391, T=0.3345, W=0.2912. +- variates skill: multivariate=0.3529, univariate=0.3224. +- Outcome: Fixed E83+E97weekly12000-E80overflow12000, coefficient1; no optimizer updates. Final declared duration; equal-ensemble four-cutoff comparison recorded separately. + +## E112 weekly12000 matched-delta standalone valid_backcast2 +- Checkpoint SHA-256: `6f1f0f6025afbe565633fee0b937a14f1efedf83ffbe7de65641c3800f60d8c7`. +- Evaluation: 94 configurations, 8934 instances, 0 failed configurations; 22.29803729057312 seconds. +- Overall skill 0.359294; relative MASE 0.770653; relative WQL 0.532671. +- term skill: long=0.3666, medium=0.3870, short=0.3456. +- domain skill: Econ/Fin=0.1183, Energy=0.2393, Healthcare=0.3076, Nature=0.4737, Sales=0.5535, Transport=0.4205, Web/CloudOps=0.4340. +- frequency skill: A=0.3509, D=0.4224, H=0.3915, M=0.1439, Q=0.1518, S=0.2810, T=0.3649, W=0.2544. +- variates skill: multivariate=0.3654, univariate=0.3543. +- Outcome: Fixed E83+E97weekly12000-E80overflow12000, coefficient1; no optimizer updates. Final declared duration; equal-ensemble four-cutoff comparison recorded separately. + +## E112 weekly12000 matched-delta standalone valid_backcast3 +- Checkpoint SHA-256: `6f1f0f6025afbe565633fee0b937a14f1efedf83ffbe7de65641c3800f60d8c7`. +- Evaluation: 93 configurations, 8812 instances, 0 failed configurations; 23.48830485343933 seconds. +- Overall skill 0.388305; relative MASE 0.741401; relative WQL 0.504680. +- term skill: long=0.3936, medium=0.3621, short=0.3959. +- domain skill: Econ/Fin=0.1754, Energy=0.3218, Healthcare=0.2432, Nature=0.4966, Sales=0.4018, Transport=0.5087, Web/CloudOps=0.3917. +- frequency skill: A=0.3624, D=0.4385, H=0.4055, M=0.1372, Q=0.2587, S=0.2738, T=0.4319, W=0.2514. +- variates skill: multivariate=0.3722, univariate=0.4007. +- Outcome: Fixed E83+E97weekly12000-E80overflow12000, coefficient1; no optimizer updates. Final declared duration; equal-ensemble four-cutoff comparison recorded separately. + +## E94 fresh146M halfLR at24000 +- Checkpoint SHA-256: `ee69006629037179a8fd6d09233755cb8efceafb0a47494abceceea3cb7fae52`. +- Evaluation: 97 configurations, 9473 instances, 0 failed configurations; 37.77550005912781 seconds. +- Overall skill 0.355452; relative MASE 0.766772; relative WQL 0.541806. +- term skill: long=0.3783, medium=0.3844, short=0.3349. +- domain skill: Econ/Fin=0.1190, Energy=0.2184, Healthcare=0.3835, Nature=0.4109, Sales=0.3450, Transport=0.4523, Web/CloudOps=0.4748. +- frequency skill: A=0.3831, D=0.3537, H=0.3714, M=0.0510, Q=0.1900, S=0.4180, T=0.4033, W=0.2182. +- variates skill: multivariate=0.3639, univariate=0.3487. +- Outcome: Skill0.355452449 exceeds highLR146M24000 0.354493848 by0.000958601; smaller than the16k advantage. Below37M24000 0.357901602. Continue existing schedule; E110full-corpus comparison retains this rate, unchanged recipe otherwise. + +## E105 corrected larger-volume at6000 +- Checkpoint SHA-256: `ec7daab696252802849e28ee1b8348e500ebe094e8ece39a956f01daff5a6943`. +- Evaluation: 97 configurations, 9473 instances, 0 failed configurations; 23.547231912612915 seconds. +- Overall skill 0.376970; relative MASE 0.744376; relative WQL 0.521465. +- term skill: long=0.3995, medium=0.4061, short=0.3565. +- domain skill: Econ/Fin=0.1376, Energy=0.2329, Healthcare=0.4645, Nature=0.4332, Sales=0.3377, Transport=0.4673, Web/CloudOps=0.4981. +- frequency skill: A=0.3771, D=0.3531, H=0.3960, M=0.1187, Q=0.1962, S=0.4239, T=0.4342, W=0.2227. +- variates skill: multivariate=0.3915, univariate=0.3652. +- Outcome: Skill0.376970385 exceeds E95smallpack6000 0.376043220 by0.000927165 but remains below original-corpus E80at6000 0.378288765. Correct output and checkpoint hash; continue12000 before selection. + +## E106 spectral residuals at6000 +- Checkpoint SHA-256: `683f3824d3c1f605d17bb08d3eef127a54c67eca3867cfbcf1158710a55c4b24`. +- Evaluation: 97 configurations, 9473 instances, 0 failed configurations; 24.36519145965576 seconds. +- Overall skill 0.379248; relative MASE 0.742652; relative WQL 0.518861. +- term skill: long=0.4037, medium=0.4079, short=0.3582. +- domain skill: Econ/Fin=0.1453, Energy=0.2390, Healthcare=0.4421, Nature=0.4321, Sales=0.3360, Transport=0.4646, Web/CloudOps=0.5073. +- frequency skill: A=0.3711, D=0.3532, H=0.3962, M=0.1095, Q=0.1992, S=0.4251, T=0.4421, W=0.2198. +- variates skill: multivariate=0.3998, univariate=0.3624. +- Outcome: Skill0.379247830 exceeds matched E80at6000 0.378288765 by0.000959065, recovering the3k deficit. Queue matched earlier-cutoff evaluations before any fixed weight transfer or publication. Original sampler/horizon streams preserved; only the declared stochastic residual law differs. + +## E106 spectral residuals at6000 valid_backcast +- Checkpoint SHA-256: `683f3824d3c1f605d17bb08d3eef127a54c67eca3867cfbcf1158710a55c4b24`. +- Evaluation: 97 configurations, 9330 instances, 0 failed configurations; 24.24050521850586 seconds. +- Overall skill 0.337595; relative MASE 0.795167; relative WQL 0.551809. +- term skill: long=0.3992, medium=0.3598, short=0.3034. +- domain skill: Econ/Fin=0.1714, Energy=0.2258, Healthcare=0.4113, Nature=0.3681, Sales=0.3959, Transport=0.3715, Web/CloudOps=0.4544. +- frequency skill: A=0.3144, D=0.3510, H=0.3671, M=0.1923, Q=0.2368, S=0.3431, T=0.3372, W=0.2876. +- variates skill: multivariate=0.3548, univariate=0.3236. +- Outcome: Matched seed197/B64/LR2e-5 comparison. E106 minus E80: main +0.000959065, first earlier +0.002438307, second +0.001622232, third -0.002173652. Three gains and one regression; use all four for transfer selection. + +## E106 spectral residuals at6000 valid_backcast2 +- Checkpoint SHA-256: `683f3824d3c1f605d17bb08d3eef127a54c67eca3867cfbcf1158710a55c4b24`. +- Evaluation: 94 configurations, 8934 instances, 0 failed configurations; 23.82012963294983 seconds. +- Overall skill 0.361328; relative MASE 0.767561; relative WQL 0.531426. +- term skill: long=0.3654, medium=0.3919, short=0.3475. +- domain skill: Econ/Fin=0.1166, Energy=0.2360, Healthcare=0.3636, Nature=0.4724, Sales=0.5443, Transport=0.4198, Web/CloudOps=0.4383. +- frequency skill: A=0.3461, D=0.4280, H=0.3911, M=0.1469, Q=0.1522, S=0.2809, T=0.3651, W=0.2687. +- variates skill: multivariate=0.3660, univariate=0.3575. +- Outcome: Matched seed197/B64/LR2e-5 comparison. E106 minus E80: main +0.000959065, first earlier +0.002438307, second +0.001622232, third -0.002173652. Three gains and one regression; use all four for transfer selection. + +## E106 spectral residuals at6000 valid_backcast3 +- Checkpoint SHA-256: `683f3824d3c1f605d17bb08d3eef127a54c67eca3867cfbcf1158710a55c4b24`. +- Evaluation: 93 configurations, 8812 instances, 0 failed configurations; 22.619502544403076 seconds. +- Overall skill 0.387494; relative MASE 0.739218; relative WQL 0.507514. +- term skill: long=0.3976, medium=0.3604, short=0.3937. +- domain skill: Econ/Fin=0.1834, Energy=0.3158, Healthcare=0.2403, Nature=0.5028, Sales=0.3975, Transport=0.5052, Web/CloudOps=0.3936. +- frequency skill: A=0.3594, D=0.4421, H=0.4034, M=0.1060, Q=0.2636, S=0.2895, T=0.4283, W=0.2584. +- variates skill: multivariate=0.3719, univariate=0.3995. +- Outcome: Matched seed197/B64/LR2e-5 comparison. E106 minus E80: main +0.000959065, first earlier +0.002438307, second +0.001622232, third -0.002173652. Three gains and one regression; use all four for transfer selection. + +## E80 matched overflow control at6000 valid_backcast +- Checkpoint SHA-256: `b19875c52ed5024383fb69ccc48cb07a5629ad8011abf134c7dcfcdc50fae2af`. +- Evaluation: 97 configurations, 9330 instances, 0 failed configurations; 24.008483409881592 seconds. +- Overall skill 0.335156; relative MASE 0.799092; relative WQL 0.553149. +- term skill: long=0.3994, medium=0.3566, short=0.3001. +- domain skill: Econ/Fin=0.1475, Energy=0.2281, Healthcare=0.4131, Nature=0.3644, Sales=0.3963, Transport=0.3724, Web/CloudOps=0.4481. +- frequency skill: A=0.3117, D=0.3511, H=0.3667, M=0.1735, Q=0.2355, S=0.3418, T=0.3331, W=0.2854. +- variates skill: multivariate=0.3519, univariate=0.3215. +- Outcome: Matched seed197/B64/LR2e-5 comparison. E106 minus E80: main +0.000959065, first earlier +0.002438307, second +0.001622232, third -0.002173652. Three gains and one regression; use all four for transfer selection. + +## E80 matched overflow control at6000 valid_backcast2 +- Checkpoint SHA-256: `b19875c52ed5024383fb69ccc48cb07a5629ad8011abf134c7dcfcdc50fae2af`. +- Evaluation: 94 configurations, 8934 instances, 0 failed configurations; 22.792612314224243 seconds. +- Overall skill 0.359706; relative MASE 0.769403; relative WQL 0.532850. +- term skill: long=0.3636, medium=0.3907, short=0.3458. +- domain skill: Econ/Fin=0.0946, Energy=0.2378, Healthcare=0.3660, Nature=0.4719, Sales=0.5485, Transport=0.4205, Web/CloudOps=0.4319. +- frequency skill: A=0.3470, D=0.4246, H=0.3913, M=0.1616, Q=0.1478, S=0.2802, T=0.3612, W=0.2648. +- variates skill: multivariate=0.3639, univariate=0.3563. +- Outcome: Matched seed197/B64/LR2e-5 comparison. E106 minus E80: main +0.000959065, first earlier +0.002438307, second +0.001622232, third -0.002173652. Three gains and one regression; use all four for transfer selection. + +## E80 matched overflow control at6000 valid_backcast3 +- Checkpoint SHA-256: `b19875c52ed5024383fb69ccc48cb07a5629ad8011abf134c7dcfcdc50fae2af`. +- Evaluation: 93 configurations, 8812 instances, 0 failed configurations; 23.62287187576294 seconds. +- Overall skill 0.389668; relative MASE 0.736019; relative WQL 0.506109. +- term skill: long=0.3966, medium=0.3611, short=0.3975. +- domain skill: Econ/Fin=0.1636, Energy=0.3183, Healthcare=0.2809, Nature=0.5072, Sales=0.3984, Transport=0.5059, Web/CloudOps=0.3910. +- frequency skill: A=0.3571, D=0.4456, H=0.4044, M=0.1427, Q=0.2560, S=0.2903, T=0.4280, W=0.2623. +- variates skill: multivariate=0.3727, univariate=0.4027. +- Outcome: Matched seed197/B64/LR2e-5 comparison. E106 minus E80: main +0.000959065, first earlier +0.002438307, second +0.001622232, third -0.002173652. Three gains and one regression; use all four for transfer selection. + +## E114 spectral-prior transfer — predeclared +E1066000 improves three of four cutoffs over matched E80, with a regression on the oldest cutoff. Test two fixed coefficient-one corrections on the E109 first member. A (additive): weekly_slow_ar_delta6k + spectral_synth/ema006000 - overflow_control/ema006000. B (replacement): A + partial_targets/ema006000 - long_memory_synth_recovery/ema006000; this removes the earlier slow-AR correction, testing overlap between the two stochastic priors. Keep the weekly6000 correction fixed for both even if E112publishes. All ancestors are our own allowed-data training. No optimizer updates, new training seed, coefficient search, runtime change or per-instance routing. Evaluate both standalone at all four cutoffs and as the unchanged equal1/3 ensemble with E71patch8_6000 and E93splitpatch_12000. Select for full replay only if the complete diagnostic pattern supports it; compare to E109 and the current published model. CPU merges and all evaluation times/hashes recorded in spectral_transfer_receipt.json and reports. + +## E112 final weekly12000 ensemble full public replay — selected +- Checkpoint SHA-256: `f01498eb73e4aa0539e81c67a8a80e56af47d1437f4d65ecc882d551468241a1`. +- Evaluation: 97 configurations, 151170 instances, 0 failed configurations; not separately timed seconds. +- Overall skill 0.382143; relative MASE 0.738501; relative WQL 0.516922. +- term skill: long=0.4008, medium=0.4078, short=0.3647. +- domain skill: Econ/Fin=0.1239, Energy=0.2402, Healthcare=0.4917, Nature=0.4423, Sales=0.3583, Transport=0.4684, Web/CloudOps=0.4966. +- frequency skill: A=0.2967, D=0.3694, H=0.3956, M=0.1464, Q=0.1869, S=0.4252, T=0.4382, W=0.2411. +- variates skill: multivariate=0.3955, univariate=0.3713. +- Outcome: Full skill0.382143195 exceeds E1090.381981200 by0.000161996. All97configs151170instances succeeded. Relocation deterministic and finite/ordered; independent three-configuration composition exact. Four-cutoff evidence is mixed with small positive average. Validation selection, not a held-out significance claim. + +E112 complete public suite {"package": "/workspace/research/candidate-weekly-slow12-ensemble", "status": "complete", "steps": [{"name": "relocation", "returncode": 0, "seconds": 61.15590557013638}, {"name": "full_public_replay", "returncode": 0, "seconds": 382.10087375016883}, {"name": "independent_weekly_slow_replay", "returncode": 0, "seconds": 31.673624618910253}, {"name": "composition", "returncode": 0, "seconds": 0.6345367848407477}, {"name": "descriptive_comparison", "returncode": 0, "seconds": 0.2616488521452993}], "current_step": "descriptive_comparison", "seconds": 475.838925806107, "skill": 0.3821431951028217}. Descriptive comparison {"candidate": "/workspace/research/valid-report-weekly-slow12-ensemble.json", "parent": "/workspace/research/valid-report-weekly-slow6-ensemble.json", "candidate_hash": "f01498eb73e4aa0539e81c67a8a80e56af47d1437f4d65ecc882d551468241a1", "parent_hash": "6bb9ddf58411d410255e32206c4ef484576a3818cbc27bb574159ebe56957573", "skill_difference": 0.00016199557943463727, "n_configs": 97, "n_dataset_clusters": 28, "improved_configs": 55, "bootstrap_seed": 317, "bootstrap_samples": 5000, "dataset_cluster_delta_percentiles": {"p025": -4.304766264538462e-05, "p50": 0.00016053828879819543, "p975": 0.0003767170761483723}, "note": "Descriptive resampling only. Adaptive validation selection and reused windows prevent treating this as a held-out significance test."}. Atomic publication selected. Model tensors, runtime code and equal weights are unchanged from replay. E101teacher remains frozen E96. + +E107 learned sixteen-cycle summary seed197 training started at 2026-10-23T06:21:44Z, after the preceding trainer exited with its final checkpoint. Settings are unchanged from the declared comparison. + +## E114 spectral_add_delta6k valid_screen +- Checkpoint SHA-256: `c3dfc433d51355228fc13d04913db1a7edf83030c33283b150bdcc50f5ae6ea2`. +- Evaluation: 97 configurations, 9473 instances, 0 failed configurations; 23.866043090820312 seconds. +- Overall skill 0.382009; relative MASE 0.739202; relative WQL 0.516656. +- term skill: long=0.4047, medium=0.4077, short=0.3629. +- domain skill: Econ/Fin=0.1448, Energy=0.2399, Healthcare=0.4635, Nature=0.4395, Sales=0.3355, Transport=0.4625, Web/CloudOps=0.5089. +- frequency skill: A=0.3780, D=0.3567, H=0.4013, M=0.0935, Q=0.2062, S=0.4246, T=0.4432, W=0.2297. +- variates skill: multivariate=0.3997, univariate=0.3676. +- Outcome: Fixed coefficient-one spectral transfer; additive and old-slow-AR replacement are the two predeclared ablations. No optimization. Ensemble selection recorded separately. + +## E114 spectral_add_delta6k valid_backcast +- Checkpoint SHA-256: `c3dfc433d51355228fc13d04913db1a7edf83030c33283b150bdcc50f5ae6ea2`. +- Evaluation: 97 configurations, 9330 instances, 0 failed configurations; 23.915529251098633 seconds. +- Overall skill 0.338230; relative MASE 0.793941; relative WQL 0.551602. +- term skill: long=0.3953, medium=0.3603, short=0.3061. +- domain skill: Econ/Fin=0.1783, Energy=0.2263, Healthcare=0.4002, Nature=0.3726, Sales=0.3946, Transport=0.3707, Web/CloudOps=0.4554. +- frequency skill: A=0.3234, D=0.3463, H=0.3697, M=0.2025, Q=0.2286, S=0.3392, T=0.3373, W=0.2912. +- variates skill: multivariate=0.3554, univariate=0.3242. +- Outcome: Fixed coefficient-one spectral transfer; additive and old-slow-AR replacement are the two predeclared ablations. No optimization. Ensemble selection recorded separately. + +## E114 spectral_add_delta6k valid_backcast2 +- Checkpoint SHA-256: `c3dfc433d51355228fc13d04913db1a7edf83030c33283b150bdcc50f5ae6ea2`. +- Evaluation: 94 configurations, 8934 instances, 0 failed configurations; 22.574910163879395 seconds. +- Overall skill 0.360737; relative MASE 0.769308; relative WQL 0.531202. +- term skill: long=0.3675, medium=0.3883, short=0.3472. +- domain skill: Econ/Fin=0.1344, Energy=0.2381, Healthcare=0.3027, Nature=0.4740, Sales=0.5467, Transport=0.4200, Web/CloudOps=0.4411. +- frequency skill: A=0.3495, D=0.4226, H=0.3924, M=0.1272, Q=0.1523, S=0.2785, T=0.3691, W=0.2610. +- variates skill: multivariate=0.3682, univariate=0.3546. +- Outcome: Fixed coefficient-one spectral transfer; additive and old-slow-AR replacement are the two predeclared ablations. No optimization. Ensemble selection recorded separately. + +## E114 spectral_add_delta6k valid_backcast3 +- Checkpoint SHA-256: `c3dfc433d51355228fc13d04913db1a7edf83030c33283b150bdcc50f5ae6ea2`. +- Evaluation: 93 configurations, 8812 instances, 0 failed configurations; 21.270376443862915 seconds. +- Overall skill 0.385446; relative MASE 0.745841; relative WQL 0.506377. +- term skill: long=0.3926, medium=0.3611, short=0.3917. +- domain skill: Econ/Fin=0.1886, Energy=0.3194, Healthcare=0.2003, Nature=0.4920, Sales=0.4005, Transport=0.5087, Web/CloudOps=0.3919. +- frequency skill: A=0.3636, D=0.4339, H=0.4034, M=0.1065, Q=0.2631, S=0.2741, T=0.4316, W=0.2453. +- variates skill: multivariate=0.3711, univariate=0.3965. +- Outcome: Fixed coefficient-one spectral transfer; additive and old-slow-AR replacement are the two predeclared ablations. No optimization. Ensemble selection recorded separately. + +E110 fresh146M full eligible-series corpus training started at 2026-10-23T06:22:29Z, after the preceding trainer exited with its final checkpoint. Settings are unchanged from the declared comparison. + +## E105 corrected larger-volume final12000 +- Checkpoint SHA-256: `c14daa56b23ee830ac5e0e50bcab588d8beac92ae756f038bed83431031c4b4d`. +- Evaluation: 97 configurations, 9473 instances, 0 failed configurations; 23.560805082321167 seconds. +- Overall skill 0.377529; relative MASE 0.743201; relative WQL 0.521353. +- term skill: long=0.4045, medium=0.4073, short=0.3550. +- domain skill: Econ/Fin=0.1278, Energy=0.2347, Healthcare=0.4489, Nature=0.4326, Sales=0.3346, Transport=0.4664, Web/CloudOps=0.5052. +- frequency skill: A=0.3643, D=0.3476, H=0.3969, M=0.0868, Q=0.1944, S=0.4248, T=0.4408, W=0.2231. +- variates skill: multivariate=0.3969, univariate=0.3616. +- Outcome: Final0.377529200 trails E95nested-small0.377983250 by0.000454050 and is nearly tied with E80oldpack0.377423946. No selection from the main score; all three earlier cutoffs are running to complete the volume comparison. Continuation preserves exact1000optimizer/EMA/RNG/prefetch state; the original output collision and lost E95weights remain documented. + +E105 completed12000: corrected continuation loop2013.982814125s, process2034.180478418s. Original interrupted phase process237.888408643s, last logged step1000 at202.5loopseconds; full1000state resumed exactly. Total observed process wall2272.068887061s includes setup and incident handling inside those phases. E106 completed12000,loop2206.272277840s,process2220.040782971s. These are shared-H100 process wall times, not isolated GPU hours. Both final checkpoints now get all three earlier-cutoff diagnostics; no new training or changes to their declared recipes. E107started06:21:44trainer15845; E110started06:22:29trainer15925. + +## E115 end-to-end period-phase conditioning — predeclared preparation +E57 added sine/cosine period-relative inputs but froze the entire existing backbone; its +0.000047 main gain was offset by earlier losses and it was rejected. Test the different hypothesis that attention and projections must co-adapt. Add the same two zero-initialized per-point phase projections (context and future query, two frequency periods, sine/cosine, origin at forecast start, periods<2 zero, missing context positions zero) to the current overflow-safe E62 model. Train all parameters jointly, matching E80 seed197/B64/LR2e-5/12000/paired loss/original source probabilities, generator and requested-horizon stream exactly. No calendar dates, dataset identities or new sources. This compares phase conditioning against E80; it is not a matched causal comparison of training scope against the older E57 run, which used another parent/rate/seed. Verify initial function/inherited tensors and phase arithmetic, then max-shape finite gradients including backbone and new projections before queueing after E79fresh37M96000. Screens1000/3000/6000/12000; earlier/full replay before any selection. + +## E106 spectral residuals final12000 valid_screen +- Checkpoint SHA-256: `1c5c735147bcd1679bc761d091aaf4369c37ce4c14efd65e19b91ffd7a524756`. +- Evaluation: 97 configurations, 9473 instances, 0 failed configurations; 21.81789803504944 seconds. +- Overall skill 0.377641; relative MASE 0.743803; relative WQL 0.520743. +- term skill: long=0.4039, medium=0.4060, short=0.3559. +- domain skill: Econ/Fin=0.1485, Energy=0.2343, Healthcare=0.4336, Nature=0.4316, Sales=0.3325, Transport=0.4654, Web/CloudOps=0.5076. +- frequency skill: A=0.3624, D=0.3521, H=0.3945, M=0.1015, Q=0.2039, S=0.4248, T=0.4419, W=0.2125. +- variates skill: multivariate=0.3976, univariate=0.3613. +- Outcome: Final main0.377641399 versus E80.377423946; earlier0.337647555/0.361626447/0.385497870 versus control0.336528337/0.360973470/0.387481485. Three small gains offset by oldest-cutoff regression; average gap about0.0000015. The6000checkpoint remains the only transfer under consideration. No final-duration transfer selected. + +## E106 spectral residuals final12000 valid_backcast +- Checkpoint SHA-256: `1c5c735147bcd1679bc761d091aaf4369c37ce4c14efd65e19b91ffd7a524756`. +- Evaluation: 97 configurations, 9330 instances, 0 failed configurations; 20.256327152252197 seconds. +- Overall skill 0.337648; relative MASE 0.795467; relative WQL 0.551513. +- term skill: long=0.3962, medium=0.3603, short=0.3046. +- domain skill: Econ/Fin=0.1743, Energy=0.2267, Healthcare=0.4112, Nature=0.3671, Sales=0.3950, Transport=0.3721, Web/CloudOps=0.4535. +- frequency skill: A=0.3210, D=0.3506, H=0.3659, M=0.1951, Q=0.2332, S=0.3426, T=0.3392, W=0.2845. +- variates skill: multivariate=0.3547, univariate=0.3237. +- Outcome: Final main0.377641399 versus E80.377423946; earlier0.337647555/0.361626447/0.385497870 versus control0.336528337/0.360973470/0.387481485. Three small gains offset by oldest-cutoff regression; average gap about0.0000015. The6000checkpoint remains the only transfer under consideration. No final-duration transfer selected. + +## E106 spectral residuals final12000 valid_backcast2 +- Checkpoint SHA-256: `1c5c735147bcd1679bc761d091aaf4369c37ce4c14efd65e19b91ffd7a524756`. +- Evaluation: 94 configurations, 8934 instances, 0 failed configurations; 24.78632402420044 seconds. +- Overall skill 0.361626; relative MASE 0.767884; relative WQL 0.530706. +- term skill: long=0.3650, medium=0.3904, short=0.3489. +- domain skill: Econ/Fin=0.1188, Energy=0.2375, Healthcare=0.3551, Nature=0.4741, Sales=0.5473, Transport=0.4192, Web/CloudOps=0.4377. +- frequency skill: A=0.3482, D=0.4309, H=0.3898, M=0.1385, Q=0.1489, S=0.2820, T=0.3651, W=0.2748. +- variates skill: multivariate=0.3657, univariate=0.3583. +- Outcome: Final main0.377641399 versus E80.377423946; earlier0.337647555/0.361626447/0.385497870 versus control0.336528337/0.360973470/0.387481485. Three small gains offset by oldest-cutoff regression; average gap about0.0000015. The6000checkpoint remains the only transfer under consideration. No final-duration transfer selected. + +## E106 spectral residuals final12000 valid_backcast3 +- Checkpoint SHA-256: `1c5c735147bcd1679bc761d091aaf4369c37ce4c14efd65e19b91ffd7a524756`. +- Evaluation: 93 configurations, 8812 instances, 0 failed configurations; 22.51108193397522 seconds. +- Overall skill 0.385498; relative MASE 0.742905; relative WQL 0.508292. +- term skill: long=0.3945, medium=0.3594, short=0.3917. +- domain skill: Econ/Fin=0.1811, Energy=0.3163, Healthcare=0.2183, Nature=0.5001, Sales=0.3991, Transport=0.5041, Web/CloudOps=0.3915. +- frequency skill: A=0.3530, D=0.4381, H=0.4016, M=0.0934, Q=0.2652, S=0.2859, T=0.4287, W=0.2549. +- variates skill: multivariate=0.3723, univariate=0.3957. +- Outcome: Final main0.377641399 versus E80.377423946; earlier0.337647555/0.361626447/0.385497870 versus control0.336528337/0.360973470/0.387481485. Three small gains offset by oldest-cutoff regression; average gap about0.0000015. The6000checkpoint remains the only transfer under consideration. No final-duration transfer selected. + +## E105 corrected larger-volume final12000 valid_backcast +- Checkpoint SHA-256: `c14daa56b23ee830ac5e0e50bcab588d8beac92ae756f038bed83431031c4b4d`. +- Evaluation: 97 configurations, 9330 instances, 0 failed configurations; 22.00239086151123 seconds. +- Overall skill 0.336714; relative MASE 0.797414; relative WQL 0.551719. +- term skill: long=0.3996, medium=0.3592, short=0.3019. +- domain skill: Econ/Fin=0.1536, Energy=0.2291, Healthcare=0.4203, Nature=0.3659, Sales=0.3940, Transport=0.3743, Web/CloudOps=0.4484. +- frequency skill: A=0.3155, D=0.3546, H=0.3681, M=0.1764, Q=0.2336, S=0.3396, T=0.3370, W=0.2766. +- variates skill: multivariate=0.3543, univariate=0.3224. +- Outcome: Compared with E95nested-small: main-0.000454050, earlier1-0.000637726, earlier2+0.000411577, earlier3+0.002468634. Mixed results, strongest gain on the oldest cutoff; no clear uniform benefit or publication selected. Original output collision remains documented; these reports use the corrected actual E105weights. + +## E105 corrected larger-volume final12000 valid_backcast2 +- Checkpoint SHA-256: `c14daa56b23ee830ac5e0e50bcab588d8beac92ae756f038bed83431031c4b4d`. +- Evaluation: 94 configurations, 8934 instances, 0 failed configurations; 23.669189453125 seconds. +- Overall skill 0.359536; relative MASE 0.770749; relative WQL 0.532203. +- term skill: long=0.3638, medium=0.3913, short=0.3452. +- domain skill: Econ/Fin=0.1019, Energy=0.2364, Healthcare=0.3499, Nature=0.4709, Sales=0.5511, Transport=0.4222, Web/CloudOps=0.4343. +- frequency skill: A=0.3525, D=0.4266, H=0.3904, M=0.1615, Q=0.1480, S=0.2795, T=0.3626, W=0.2558. +- variates skill: multivariate=0.3641, univariate=0.3558. +- Outcome: Compared with E95nested-small: main-0.000454050, earlier1-0.000637726, earlier2+0.000411577, earlier3+0.002468634. Mixed results, strongest gain on the oldest cutoff; no clear uniform benefit or publication selected. Original output collision remains documented; these reports use the corrected actual E105weights. + +## E105 corrected larger-volume final12000 valid_backcast3 +- Checkpoint SHA-256: `c14daa56b23ee830ac5e0e50bcab588d8beac92ae756f038bed83431031c4b4d`. +- Evaluation: 93 configurations, 8812 instances, 0 failed configurations; 24.15644383430481 seconds. +- Overall skill 0.390349; relative MASE 0.736786; relative WQL 0.504453. +- term skill: long=0.3958, medium=0.3608, short=0.3990. +- domain skill: Econ/Fin=0.1696, Energy=0.3184, Healthcare=0.2721, Nature=0.5101, Sales=0.3969, Transport=0.5048, Web/CloudOps=0.3932. +- frequency skill: A=0.3711, D=0.4486, H=0.4049, M=0.1322, Q=0.2537, S=0.2882, T=0.4301, W=0.2569. +- variates skill: multivariate=0.3757, univariate=0.4016. +- Outcome: Compared with E95nested-small: main-0.000454050, earlier1-0.000637726, earlier2+0.000411577, earlier3+0.002468634. Mixed results, strongest gain on the oldest cutoff; no clear uniform benefit or publication selected. Original output collision remains documented; these reports use the corrected actual E105weights. + +## E114 spectral_replace_delta6k valid_screen +- Checkpoint SHA-256: `b01ff54ba0bd947f4806bd08793288a8202a1c8de153db482666aee3458395ac`. +- Evaluation: 97 configurations, 9473 instances, 0 failed configurations; 22.1757493019104 seconds. +- Overall skill 0.382039; relative MASE 0.738892; relative WQL 0.516823. +- term skill: long=0.4049, medium=0.4087, short=0.3624. +- domain skill: Econ/Fin=0.1375, Energy=0.2428, Healthcare=0.4698, Nature=0.4360, Sales=0.3332, Transport=0.4634, Web/CloudOps=0.5079. +- frequency skill: A=0.3761, D=0.3509, H=0.4018, M=0.1029, Q=0.2052, S=0.4222, T=0.4437, W=0.2355. +- variates skill: multivariate=0.4001, univariate=0.3672. +- Outcome: Fixed coefficient-one spectral transfer; additive and old-slow-AR replacement are the two predeclared ablations. No optimization. Ensemble selection recorded separately. + +## E114 spectral_replace_delta6k valid_backcast +- Checkpoint SHA-256: `b01ff54ba0bd947f4806bd08793288a8202a1c8de153db482666aee3458395ac`. +- Evaluation: 97 configurations, 9330 instances, 0 failed configurations; 22.24388575553894 seconds. +- Overall skill 0.337298; relative MASE 0.795806; relative WQL 0.551861. +- term skill: long=0.3970, medium=0.3617, short=0.3030. +- domain skill: Econ/Fin=0.1666, Energy=0.2287, Healthcare=0.3986, Nature=0.3693, Sales=0.3952, Transport=0.3715, Web/CloudOps=0.4531. +- frequency skill: A=0.3150, D=0.3467, H=0.3702, M=0.1914, Q=0.2292, S=0.3361, T=0.3366, W=0.2879. +- variates skill: multivariate=0.3553, univariate=0.3226. +- Outcome: Fixed coefficient-one spectral transfer; additive and old-slow-AR replacement are the two predeclared ablations. No optimization. Ensemble selection recorded separately. + +## E114 spectral_replace_delta6k valid_backcast2 +- Checkpoint SHA-256: `b01ff54ba0bd947f4806bd08793288a8202a1c8de153db482666aee3458395ac`. +- Evaluation: 94 configurations, 8934 instances, 0 failed configurations; 23.31834578514099 seconds. +- Overall skill 0.358167; relative MASE 0.771957; relative WQL 0.533643. +- term skill: long=0.3638, medium=0.3887, short=0.3438. +- domain skill: Econ/Fin=0.1247, Energy=0.2380, Healthcare=0.3032, Nature=0.4702, Sales=0.5491, Transport=0.4202, Web/CloudOps=0.4344. +- frequency skill: A=0.3507, D=0.4174, H=0.3934, M=0.1411, Q=0.1551, S=0.2738, T=0.3644, W=0.2504. +- variates skill: multivariate=0.3640, univariate=0.3534. +- Outcome: Fixed coefficient-one spectral transfer; additive and old-slow-AR replacement are the two predeclared ablations. No optimization. Ensemble selection recorded separately. + +## E114 spectral_replace_delta6k valid_backcast3 +- Checkpoint SHA-256: `b01ff54ba0bd947f4806bd08793288a8202a1c8de153db482666aee3458395ac`. +- Evaluation: 93 configurations, 8812 instances, 0 failed configurations; 24.276151657104492 seconds. +- Overall skill 0.385845; relative MASE 0.745123; relative WQL 0.506207. +- term skill: long=0.3948, medium=0.3605, short=0.3918. +- domain skill: Econ/Fin=0.1804, Energy=0.3205, Healthcare=0.2235, Nature=0.4938, Sales=0.4003, Transport=0.5072, Web/CloudOps=0.3888. +- frequency skill: A=0.3630, D=0.4320, H=0.4048, M=0.1164, Q=0.2614, S=0.2715, T=0.4319, W=0.2461. +- variates skill: multivariate=0.3719, univariate=0.3966. +- Outcome: Fixed coefficient-one spectral transfer; additive and old-slow-AR replacement are the two predeclared ablations. No optimization. Ensemble selection recorded separately. + +E115 checks complete: {"seed": 563, "independent_phase_arithmetic": true, "phase_left_padding_invariance": true, "periods_below_two_zero": true, "initial_function_bitwise_equal": true, "inherited_weights_bitwise_equal": true, "sampler_byte_identical": true, "all_parameters_trainable": true, "added_parameters": 65536, "total_parameters": 36866336, "checkpoint_sha256": "70d0fe416fc633d9bd5d8432735ae1725cdf16bcc56824fbd2b973276d90116b", "seconds": 1.7632095960434526, "optimizer_updates": 0, "validation_data_read": false}; GPU {"seed": 569, "gpu_initial_function_bitwise_equal": true, "max_shape": [64, 4096, 1024], "loss": 0.54439777135849, "selected_gradient_norms": {"phase_context.weight": 0.014588589780032635, "phase_query.weight": 0.01659703068435192, "encoder.0.attn.q.weight": 0.002245454117655754, "head.weight": 0.029972484335303307}, "all_parameters_trainable": true, "reserved_mib": 6272.0, "allocated_mib": 5789.81689453125, "includes_ema_and_adam_placeholders": true, "seconds": 125.7952905651182, "optimizer_updates": 0, "validation_data_read": false}. GPU seconds include serialized evaluation-lock wait; no optimizer update or validation read. Zero initialization preserves inherited tensors and forecasts bitwise; both added projections and inherited attention/head receive finite nonzero gradients. Runtime model is identical to the training model. Queue after E79small96000. Publisher documentation now derives frozen-versus-joint phase training from actual lineage; no runtime changes to published packages. + +## E114 fixed spectral transfer ensemble outcomes +{"skill_score": 0.3859105542007717, "rel_mase_gmean": 0.7358684109009667, "rel_wql_gmean": 0.5124636984760504, "groups": {"term": {"short": 0.36841730807118356, "medium": 0.4090050160435663, "long": 0.40716915412299237}, "domain": {"Econ/Fin": 0.14811696868566626, "Energy": 0.24660436752069403, "Healthcare": 0.47910058788021426, "Nature": 0.44240542330694954, "Sales": 0.34307605991799384, "Transport": 0.46771149823781855, "Web/CloudOps": 0.5062219614466995}, "freq": {"A-DEC": 0.37669669863368394, "Q-DEC": 0.200340326472501, "M": 0.11908763465172645, "W-SUN": 0.12532801227165324, "D": 0.36422932549961984, "H": 0.40123365786788323, "15T": 0.21729188974855052, "W-FRI": 0.015453408823068893, "10T": 0.6278668799855711, "W-TUE": 0.6255256773761033, "W-THU": 0.2055099177488643, "W-WED": 0.3287751407658812, "5T": 0.5215363726041493, "10S": 0.42516355809197104}}, "cpu_seconds": 1.0599841580260545, "member_checkpoint_hashes": ["c3dfc433d51355228fc13d04913db1a7edf83030c33283b150bdcc50f5ae6ea2", "308389b7217c080af9eb185559d4ee3cafa0f3e0f8c4dd8f5526b68198c89988", "1a2fb20a9fb5cae6526f2e36ea47559626bece78fd9c284899836505030ae9fe"], "candidate": "spectral_add_delta6k", "cutoff": "valid_screen", "E112skill": 0.3858712532527797, "difference": 3.930094799198258e-05} +{"skill_score": 0.3412336108260463, "rel_mase_gmean": 0.7923075693116662, "rel_wql_gmean": 0.5477331939190134, "groups": {"term": {"short": 0.3082380704419988, "medium": 0.36087755992185644, "long": 0.40256738708364537}, "domain": {"Econ/Fin": 0.17928739133939553, "Energy": 0.23149418505070973, "Healthcare": 0.4142126388904961, "Nature": 0.3739148820510916, "Sales": 0.40499124016503796, "Transport": 0.37331945935003474, "Web/CloudOps": 0.45366968215211745}, "freq": {"A-DEC": 0.32728365516656444, "Q-DEC": 0.236748044898076, "M": 0.19835812917105478, "W-SUN": 0.07360873539461676, "D": 0.35259911130364885, "H": 0.3719231643339844, "15T": 0.2213306919945408, "W-FRI": 0.2288725313306662, "10T": 0.32822175650292673, "W-TUE": 0.559366215155875, "W-THU": 0.25990001317199096, "W-WED": 0.360055735229183, "5T": 0.44455182384807246, "10S": 0.347846510903316}}, "cpu_seconds": 1.0289423430804163, "member_checkpoint_hashes": ["c3dfc433d51355228fc13d04913db1a7edf83030c33283b150bdcc50f5ae6ea2", "308389b7217c080af9eb185559d4ee3cafa0f3e0f8c4dd8f5526b68198c89988", "1a2fb20a9fb5cae6526f2e36ea47559626bece78fd9c284899836505030ae9fe"], "candidate": "spectral_add_delta6k", "cutoff": "valid_backcast", "E112skill": 0.34026453805586865, "difference": 0.0009690727701776591} +{"skill_score": 0.36575134769765616, "rel_mase_gmean": 0.7643280805916521, "rel_wql_gmean": 0.5263071751020174, "groups": {"term": {"short": 0.35313765392056196, "medium": 0.3940145011079407, "long": 0.36928346944084967}, "domain": {"Econ/Fin": 0.1278772851976926, "Energy": 0.24145749844953146, "Healthcare": 0.35086323444911927, "Nature": 0.4791524685105649, "Sales": 0.5547328500628512, "Transport": 0.4250780374879125, "Web/CloudOps": 0.43991341613268353}, "freq": {"A-DEC": 0.33586764940966785, "Q-DEC": 0.15779445087152755, "M": 0.16375055154356122, "W-SUN": 0.08390542109684229, "D": 0.4307789359841945, "H": 0.3948583749831561, "15T": 0.10818558944800316, "W-FRI": 0.15292053290873164, "10T": 0.5107332028367493, "W-TUE": 0.09532113367661221, "W-THU": 0.35588558530569137, "W-WED": 0.5627227566205757, "5T": 0.4760121317899746, "10S": 0.2848510509521789}}, "cpu_seconds": 1.175089841010049, "member_checkpoint_hashes": ["c3dfc433d51355228fc13d04913db1a7edf83030c33283b150bdcc50f5ae6ea2", "308389b7217c080af9eb185559d4ee3cafa0f3e0f8c4dd8f5526b68198c89988", "1a2fb20a9fb5cae6526f2e36ea47559626bece78fd9c284899836505030ae9fe"], "candidate": "spectral_add_delta6k", "cutoff": "valid_backcast2", "E112skill": 0.36500280105746885, "difference": 0.0007485466401873087} +{"skill_score": 0.388763997234149, "rel_mase_gmean": 0.7411269672326161, "rel_wql_gmean": 0.5041099131397703, "groups": {"term": {"short": 0.3936943170093701, "medium": 0.36798445243024747, "long": 0.39615921182618374}, "domain": {"Econ/Fin": 0.1909220354405753, "Energy": 0.31559006097512954, "Healthcare": 0.23199415024755954, "Nature": 0.5039982625361157, "Sales": 0.39988753803404353, "Transport": 0.5093753126309916, "Web/CloudOps": 0.3947283481141741}, "freq": {"A-DEC": 0.3583022117406983, "Q-DEC": 0.2566121509078392, "M": 0.13878112747670346, "W-SUN": 0.17907630757955872, "D": 0.4388632040643935, "H": 0.405288967030186, "15T": 0.2540225780499259, "W-FRI": 0.03649862826525585, "10T": 0.6060275093557081, "W-TUE": 0.26615750127784543, "W-THU": 0.33504744208892767, "W-WED": 0.37704039372015596, "5T": 0.46645862961129225, "10S": 0.29251927680018197}}, "cpu_seconds": 1.1375589109957218, "member_checkpoint_hashes": ["c3dfc433d51355228fc13d04913db1a7edf83030c33283b150bdcc50f5ae6ea2", "308389b7217c080af9eb185559d4ee3cafa0f3e0f8c4dd8f5526b68198c89988", "1a2fb20a9fb5cae6526f2e36ea47559626bece78fd9c284899836505030ae9fe"], "candidate": "spectral_add_delta6k", "cutoff": "valid_backcast3", "E112skill": 0.38948675360484886, "difference": -0.0007227563706998508} +{"skill_score": 0.38538242748882945, "rel_mase_gmean": 0.736575164356215, "rel_wql_gmean": 0.5128529696893745, "groups": {"term": {"short": 0.3675950378502798, "medium": 0.4090321072718678, "long": 0.4068080010769052}, "domain": {"Econ/Fin": 0.1452107005254969, "Energy": 0.24720144190287108, "Healthcare": 0.4773960655138917, "Nature": 0.4411401520810895, "Sales": 0.3422136708191351, "Transport": 0.46776594940797556, "Web/CloudOps": 0.5053750267603281}, "freq": {"A-DEC": 0.3762239031537611, "Q-DEC": 0.19964405404447882, "M": 0.11772763314619139, "W-SUN": 0.11426532226198283, "D": 0.3618358770783556, "H": 0.4012391303794067, "15T": 0.21828910758964182, "W-FRI": 0.0158268795014036, "10T": 0.6269679416145453, "W-TUE": 0.6374273197245699, "W-THU": 0.20444633086852815, "W-WED": 0.3293023694518882, "5T": 0.520446433050282, "10S": 0.4243254373932551}}, "cpu_seconds": 1.0959253669716418, "member_checkpoint_hashes": ["b01ff54ba0bd947f4806bd08793288a8202a1c8de153db482666aee3458395ac", "308389b7217c080af9eb185559d4ee3cafa0f3e0f8c4dd8f5526b68198c89988", "1a2fb20a9fb5cae6526f2e36ea47559626bece78fd9c284899836505030ae9fe"], "candidate": "spectral_replace_delta6k", "cutoff": "valid_screen", "E112skill": 0.3858712532527797, "difference": -0.0004888257639502624} +{"skill_score": 0.3406802195876929, "rel_mase_gmean": 0.7932581807222594, "rel_wql_gmean": 0.5479963313421329, "groups": {"term": {"short": 0.3072113460670465, "medium": 0.3609289231624365, "long": 0.4025228284048611}, "domain": {"Econ/Fin": 0.17519659434666768, "Energy": 0.23205216431370745, "Healthcare": 0.41457631581368715, "Nature": 0.37248553469222323, "Sales": 0.4051051613684693, "Transport": 0.37330292125603537, "Web/CloudOps": 0.4524628983508361}, "freq": {"A-DEC": 0.3247221726362275, "Q-DEC": 0.23679225957378447, "M": 0.19494676959754076, "W-SUN": 0.06360311378805661, "D": 0.35276837361420454, "H": 0.372002261486453, "15T": 0.22209503268624742, "W-FRI": 0.22895441819580886, "10T": 0.3247372972264523, "W-TUE": 0.5627629693024542, "W-THU": 0.2585092983543258, "W-WED": 0.35938474562086387, "5T": 0.4432621496867426, "10S": 0.34700427098942754}}, "cpu_seconds": 1.5319079000037163, "member_checkpoint_hashes": ["b01ff54ba0bd947f4806bd08793288a8202a1c8de153db482666aee3458395ac", "308389b7217c080af9eb185559d4ee3cafa0f3e0f8c4dd8f5526b68198c89988", "1a2fb20a9fb5cae6526f2e36ea47559626bece78fd9c284899836505030ae9fe"], "candidate": "spectral_replace_delta6k", "cutoff": "valid_backcast", "E112skill": 0.34026453805586865, "difference": 0.0004156815318242524} +{"skill_score": 0.3645638328287083, "rel_mase_gmean": 0.7655529003321527, "rel_wql_gmean": 0.5274346454361977, "groups": {"term": {"short": 0.35186763351956485, "medium": 0.39321263800713, "long": 0.3678828400958726}, "domain": {"Econ/Fin": 0.12424108633012076, "Energy": 0.24135890916218927, "Healthcare": 0.35067839600874395, "Nature": 0.4774941308360753, "Sales": 0.5553672377118917, "Transport": 0.42513094655931627, "Web/CloudOps": 0.43686388883653227}, "freq": {"A-DEC": 0.336016644671164, "Q-DEC": 0.1585853880353536, "M": 0.16597963033077545, "W-SUN": 0.07588756093646032, "D": 0.42914434851192584, "H": 0.3951850713687237, "15T": 0.10848567130668929, "W-FRI": 0.15162235166311566, "10T": 0.508604696908483, "W-TUE": 0.08008393561824934, "W-THU": 0.35379846085908884, "W-WED": 0.5621221829283422, "5T": 0.4723996609971295, "10S": 0.28287996534579274}}, "cpu_seconds": 1.1693297398742288, "member_checkpoint_hashes": ["b01ff54ba0bd947f4806bd08793288a8202a1c8de153db482666aee3458395ac", "308389b7217c080af9eb185559d4ee3cafa0f3e0f8c4dd8f5526b68198c89988", "1a2fb20a9fb5cae6526f2e36ea47559626bece78fd9c284899836505030ae9fe"], "candidate": "spectral_replace_delta6k", "cutoff": "valid_backcast2", "E112skill": 0.36500280105746885, "difference": -0.0004389682287605501} +{"skill_score": 0.3887657720103035, "rel_mase_gmean": 0.7410046782980017, "rel_wql_gmean": 0.504190179101556, "groups": {"term": {"short": 0.3936432761250075, "medium": 0.3675850585692205, "long": 0.3967135529057608}, "domain": {"Econ/Fin": 0.18838704424082175, "Energy": 0.31576821178040126, "Healthcare": 0.23963002301962777, "Nature": 0.5044876407125312, "Sales": 0.39975495300854236, "Transport": 0.5088397838295604, "Web/CloudOps": 0.393445049293746}, "freq": {"A-DEC": 0.3588124703265817, "Q-DEC": 0.2560486792582567, "M": 0.1429024757751649, "W-SUN": 0.1749136920607539, "D": 0.4382471228895556, "H": 0.4056385181220228, "15T": 0.2544805853997113, "W-FRI": 0.0366545562900642, "10T": 0.606714665207392, "W-TUE": 0.27687389203140456, "W-THU": 0.33308740205358955, "W-WED": 0.37665824463477027, "5T": 0.465156868376136, "10S": 0.29156742693850557}}, "cpu_seconds": 1.2852319721132517, "member_checkpoint_hashes": ["b01ff54ba0bd947f4806bd08793288a8202a1c8de153db482666aee3458395ac", "308389b7217c080af9eb185559d4ee3cafa0f3e0f8c4dd8f5526b68198c89988", "1a2fb20a9fb5cae6526f2e36ea47559626bece78fd9c284899836505030ae9fe"], "candidate": "spectral_replace_delta6k", "cutoff": "valid_backcast3", "E112skill": 0.38948675360484886, "difference": -0.0007209815945453668} +Additive wins three cutoffs over replacement and ties the fourth within0.000002. Versus publishedE112, additive gains main0.000039301,firstearlier0.000969073,secondearlier0.000748547 and loses thirdearlier0.000722756. Select additive for one full public replay. Reject replacement; do not tune a coefficient. Total two-ablation suite623.425876410wallseconds includes evaluation-lock waits; zero optimizer updates. Merge CPU times1.420432522 and1.159398519seconds; candidate hashes in spectral_transfer_receipt.json. + +## E107 sixteen-cycle learned summaries at1000 +- Checkpoint SHA-256: `31a9cdfb13341bf068d62dcd67df55a48ecc8f539676fc9aa18b17a87967aaaf`. +- Evaluation: 97 configurations, 9473 instances, 0 failed configurations; 27.538329362869263 seconds. +- Overall skill 0.378727; relative MASE 0.742222; relative WQL 0.520032. +- term skill: long=0.4007, medium=0.4068, short=0.3589. +- domain skill: Econ/Fin=0.1331, Energy=0.2370, Healthcare=0.4629, Nature=0.4319, Sales=0.3365, Transport=0.4721, Web/CloudOps=0.4995. +- frequency skill: A=0.3659, D=0.3628, H=0.3966, M=0.1077, Q=0.1987, S=0.4237, T=0.4357, W=0.2244. +- variates skill: multivariate=0.3931, univariate=0.3671. +- Outcome: First skill0.378727349 exceeds matched E80at1000 0.376804394 by0.001922954. Initial function was preserved; whole model and new query/head train jointly. Continue declared3000/6000/12000 and earlier-cutoff diagnostics before selection. + +## E79 fresh37M at72000 +- Checkpoint SHA-256: `8439114a6db9c3441824266cca82575413c81d4d06843f89c3ce365220bdd491`. +- Evaluation: 97 configurations, 9473 instances, 0 failed configurations; 26.264113903045654 seconds. +- Overall skill 0.368966; relative MASE 0.753206; relative WQL 0.528678. +- term skill: long=0.3954, medium=0.3943, short=0.3484. +- domain skill: Econ/Fin=0.1436, Energy=0.2321, Healthcare=0.4098, Nature=0.4180, Sales=0.3528, Transport=0.4585, Web/CloudOps=0.4929. +- frequency skill: A=0.3884, D=0.3520, H=0.3888, M=0.0702, Q=0.2092, S=0.4184, T=0.4268, W=0.2065. +- variates skill: multivariate=0.3853, univariate=0.3556. +- Outcome: Skill0.368966239 improves over48000 0.366772722 by0.002193517. Still below the mature trained lineage. Keep the declared96000schedule; earlier cooldown lost its final matched comparison. No new learning-rate changes or model selection yet. + +Fresh capacity compute audit at 2026-10-23T06:30:58Z: capacity_learning_curves.json/csv join each measured checkpoint report to its actual training log, with no inferred missing times. Latest selected checkpoints: random_capacity_512 seed307 step72000 logged shared-H100 loop9277.7seconds; random_capacity_1024 seed307 step24000 logged shared-H100 loop6492.7seconds; random_capacity_1024_halflr seed307 step24000 logged shared-H100 loop5576.8seconds; All original96k schedules unchanged. No new optimization or inference in this audit. + +## E114 additive spectral ensemble full public replay — selected +- Checkpoint SHA-256: `9a31b69cbb9c32bdc51541d93b569334a408445233579f43935adc92072526bc`. +- Evaluation: 97 configurations, 151170 instances, 0 failed configurations; not separately timed seconds. +- Overall skill 0.382197; relative MASE 0.738486; relative WQL 0.516841. +- term skill: long=0.4013, medium=0.4079, short=0.3645. +- domain skill: Econ/Fin=0.1297, Energy=0.2401, Healthcare=0.4846, Nature=0.4425, Sales=0.3573, Transport=0.4679, Web/CloudOps=0.4980. +- frequency skill: A=0.2970, D=0.3687, H=0.3959, M=0.1449, Q=0.1880, S=0.4252, T=0.4390, W=0.2388. +- variates skill: multivariate=0.3963, univariate=0.3708. +- Outcome: Full0.382197314 exceeds E1120.382143195 by0.000054118. All97configs151170instances passed. Relocation and independent fixed-average composition checks passed. Three diagnostic gains and one regression; tiny full improvement is validation selection, not held-out significance. + +E114 complete public suite {"package": "/workspace/research/candidate-spectral-add-ensemble", "status": "complete", "steps": [{"name": "relocation", "returncode": 0, "seconds": 31.251009764848277}, {"name": "full_public_replay", "returncode": 0, "seconds": 333.7630249520298}, {"name": "independent_spectral_replay", "returncode": 0, "seconds": 72.58775101904757}, {"name": "composition", "returncode": 0, "seconds": 0.2565292678773403}, {"name": "descriptive_comparison", "returncode": 0, "seconds": 0.17433986882679164}], "current_step": "descriptive_comparison", "seconds": 438.11250560800545, "skill": 0.3821973136018404}. Descriptive comparison {"candidate": "/workspace/research/valid-report-spectral-add-ensemble.json", "parent": "/workspace/research/valid-report-weekly-slow12-ensemble.json", "candidate_hash": "9a31b69cbb9c32bdc51541d93b569334a408445233579f43935adc92072526bc", "parent_hash": "f01498eb73e4aa0539e81c67a8a80e56af47d1437f4d65ecc882d551468241a1", "skill_difference": 5.4118499018707134e-05, "n_configs": 97, "n_dataset_clusters": 28, "improved_configs": 53, "bootstrap_seed": 317, "bootstrap_samples": 5000, "dataset_cluster_delta_percentiles": {"p025": -0.0012920618845766562, "p50": 6.553719107660338e-05, "p975": 0.001266637510104884}, "note": "Descriptive resampling only. Adaptive validation selection and reused windows prevent treating this as a held-out significance test."}. +Provenance repair before publication: the old hard-coded archive filename list omitted spectral.py and recovery/schedules.py. The publisher now archives every Python module in each explicitly declared trainer directory and records their hashes. Reassembled three source packages with complete archives:81/61/67modules. Every runtime-code hash and weight hash is identical to its replayed source package; no inference behavior changed and no extra forecast run was required. Candidate package in the full replay remains immutable. + +## E101 own-ensemble distillation first4000 +- Checkpoint SHA-256: `907bbfc1252d0f62e5be920598b4579ab2576009a357c20d9e0d0f3328fe41b3`. +- Evaluation: 97 configurations, 9473 instances, 0 failed configurations; 35.88508892059326 seconds. +- Overall skill 0.347881; relative MASE 0.772644; relative WQL 0.550395. +- term skill: long=0.3742, medium=0.3899, short=0.3205. +- domain skill: Econ/Fin=0.1324, Energy=0.2134, Healthcare=0.2766, Nature=0.4049, Sales=0.3337, Transport=0.4471, Web/CloudOps=0.4785. +- frequency skill: A=0.3694, D=0.3330, H=0.3712, M=-0.0892, Q=0.1903, S=0.4170, T=0.4063, W=0.2105. +- variates skill: multivariate=0.3681, univariate=0.3314. +- Outcome: Skill0.347881090 exceeds matched E94at4000 0.336895196 by0.010985894 and slightly exceeds E94at8000 0.347153427. This is forecast validation, not the teacher-augmented training loss. Same own random146M initialization/seed307/B48/LR1e-4; only the declared frozen E96raw-neural teacher auxiliary differs. Keep the teacher/coefficient and96000schedule unchanged; next matched screen8000. + +## E107 sixteen-cycle learned summaries at3000 +- Checkpoint SHA-256: `92e575ca3cb053d9bdf75a010d83ded0025fe97c906fb9930c74dc1a28e1e892`. +- Evaluation: 97 configurations, 9473 instances, 0 failed configurations; 27.18501567840576 seconds. +- Overall skill 0.381751; relative MASE 0.739110; relative WQL 0.517152. +- term skill: long=0.4051, medium=0.4080, short=0.3621. +- domain skill: Econ/Fin=0.1362, Energy=0.2403, Healthcare=0.4508, Nature=0.4350, Sales=0.3352, Transport=0.4748, Web/CloudOps=0.5063. +- frequency skill: A=0.3677, D=0.3668, H=0.4009, M=0.1024, Q=0.1977, S=0.4243, T=0.4398, W=0.2205. +- variates skill: multivariate=0.3984, univariate=0.3682. +- Outcome: Skill0.381750592 exceeds E80at3000 0.378663825 by0.003086767, following the1000gain. Run all three earlier cutoffs before any transfer or publication. New seasonal query/head learned jointly with the original model from the function-preserving E62 initialization; no runtime rule change. + +## E107 sixteen-cycle summaries3000 valid_backcast +- Checkpoint SHA-256: `92e575ca3cb053d9bdf75a010d83ded0025fe97c906fb9930c74dc1a28e1e892`. +- Evaluation: 97 configurations, 9330 instances, 0 failed configurations; 26.551977157592773 seconds. +- Overall skill 0.339635; relative MASE 0.793581; relative WQL 0.549512. +- term skill: long=0.4013, medium=0.3614, short=0.3056. +- domain skill: Econ/Fin=0.1561, Energy=0.2309, Healthcare=0.3961, Nature=0.3764, Sales=0.4008, Transport=0.3807, Web/CloudOps=0.4508. +- frequency skill: A=0.3131, D=0.3627, H=0.3730, M=0.1797, Q=0.2320, S=0.3414, T=0.3350, W=0.2818. +- variates skill: multivariate=0.3548, univariate=0.3273. +- Outcome: E1073000 improves all four matched cutoffs versus E80: main0.381750592 vs0.378663825; earlier0.339634914/0.361559427/0.392953200 vs0.336119626/0.358234785/0.388791691. Strongest observed consistent feature result in this round. Continue declared6000/12000; predeclare a coefficient-one transfer to the current first ensemble member. + +## E107 sixteen-cycle summaries3000 valid_backcast2 +- Checkpoint SHA-256: `92e575ca3cb053d9bdf75a010d83ded0025fe97c906fb9930c74dc1a28e1e892`. +- Evaluation: 94 configurations, 8934 instances, 0 failed configurations; 25.749686002731323 seconds. +- Overall skill 0.361559; relative MASE 0.768149; relative WQL 0.530634. +- term skill: long=0.3661, medium=0.3924, short=0.3475. +- domain skill: Econ/Fin=0.1055, Energy=0.2372, Healthcare=0.3468, Nature=0.4779, Sales=0.5514, Transport=0.4272, Web/CloudOps=0.4325. +- frequency skill: A=0.3541, D=0.4282, H=0.3964, M=0.1616, Q=0.1507, S=0.2837, T=0.3600, W=0.2592. +- variates skill: multivariate=0.3654, univariate=0.3584. +- Outcome: E1073000 improves all four matched cutoffs versus E80: main0.381750592 vs0.378663825; earlier0.339634914/0.361559427/0.392953200 vs0.336119626/0.358234785/0.388791691. Strongest observed consistent feature result in this round. Continue declared6000/12000; predeclare a coefficient-one transfer to the current first ensemble member. + +## E107 sixteen-cycle summaries3000 valid_backcast3 +- Checkpoint SHA-256: `92e575ca3cb053d9bdf75a010d83ded0025fe97c906fb9930c74dc1a28e1e892`. +- Evaluation: 93 configurations, 8812 instances, 0 failed configurations; 24.80188488960266 seconds. +- Overall skill 0.392953; relative MASE 0.731991; relative WQL 0.503429. +- term skill: long=0.3993, medium=0.3624, short=0.4017. +- domain skill: Econ/Fin=0.1691, Energy=0.3244, Healthcare=0.2777, Nature=0.5077, Sales=0.4044, Transport=0.5103, Web/CloudOps=0.3919. +- frequency skill: A=0.3641, D=0.4523, H=0.4083, M=0.1380, Q=0.2600, S=0.2876, T=0.4311, W=0.2621. +- variates skill: multivariate=0.3774, univariate=0.4049. +- Outcome: E1073000 improves all four matched cutoffs versus E80: main0.381750592 vs0.378663825; earlier0.339634914/0.361559427/0.392953200 vs0.336119626/0.358234785/0.388791691. Strongest observed consistent feature result in this round. Continue declared6000/12000; predeclare a coefficient-one transfer to the current first ensemble member. + +## E116 matched long-seasonal feature transfer — predeclared +E1073000 improves all four matched cutoffs over E80 by about0.0031/0.0035/0.0033/0.0042. Test complementarity with the current E114firstmember using exactly extend_zero(spectral_add_delta6k) + E107EMA3000 - extend_zero(E80EMA3000), coefficient1. Extend the base and control with the same three zero-initialized long_query/long_head tensors; copy the candidate's new tensors and add candidate-control differences to every shared tensor. The zero-extended base must preserve forecasts bitwise before transfer. Check keys/config/shapes, finite merged weights, parent hashes and explicit arithmetic; CPU fixture seed571, no optimizer updates or validation data in conversion. Preserve all inference rules and the equal1/3 other membersE71patch8_6000/E93split_12000. Evaluate standalone and the fixed ensemble at all four cutoffs, then require complete public replay/relocation/independent composition before any publication. No coefficient or per-instance rule search. + +## E116 long-seasonal matched transfer3000 valid_screen +- Checkpoint SHA-256: `23b775110747f72747a342fb2282366c2a7d7ae74bfab2137d4c6e38df99dc0a`. +- Evaluation: 97 configurations, 9473 instances, 0 failed configurations; 27.276195764541626 seconds. +- Overall skill 0.385452; relative MASE 0.734312; relative WQL 0.514317. +- term skill: long=0.4073, medium=0.4087, short=0.3677. +- domain skill: Econ/Fin=0.1474, Energy=0.2410, Healthcare=0.4699, Nature=0.4427, Sales=0.3383, Transport=0.4712, Web/CloudOps=0.5106. +- frequency skill: A=0.3775, D=0.3705, H=0.4046, M=0.0994, Q=0.2071, S=0.4258, T=0.4438, W=0.2263. +- variates skill: multivariate=0.4004, univariate=0.3733. +- Outcome: Fixed coefficient-one zero-extended E1073000-E80control3000 transfer onto E114firstmember; no optimizer update. Ensemble selection recorded separately. + +## E116 long-seasonal matched transfer3000 valid_backcast +- Checkpoint SHA-256: `23b775110747f72747a342fb2282366c2a7d7ae74bfab2137d4c6e38df99dc0a`. +- Evaluation: 97 configurations, 9330 instances, 0 failed configurations; 27.110499620437622 seconds. +- Overall skill 0.342024; relative MASE 0.789652; relative WQL 0.548257. +- term skill: long=0.3991, medium=0.3634, short=0.3102. +- domain skill: Econ/Fin=0.1785, Energy=0.2289, Healthcare=0.3769, Nature=0.3859, Sales=0.4015, Transport=0.3788, Web/CloudOps=0.4575. +- frequency skill: A=0.3232, D=0.3572, H=0.3764, M=0.1959, Q=0.2304, S=0.3395, T=0.3380, W=0.2889. +- variates skill: multivariate=0.3578, univariate=0.3292. +- Outcome: Fixed coefficient-one zero-extended E1073000-E80control3000 transfer onto E114firstmember; no optimizer update. Ensemble selection recorded separately. + +## E110 fresh146M full corpus first4000 +- Checkpoint SHA-256: `687830f4718f327cbbc64dbf00233a78035447e3a3c46015bc45b9496d8bec0e`. +- Evaluation: 97 configurations, 9473 instances, 0 failed configurations; 36.46506428718567 seconds. +- Overall skill 0.337869; relative MASE 0.781543; relative WQL 0.560964. +- term skill: long=0.3669, medium=0.3753, short=0.3113. +- domain skill: Econ/Fin=0.1151, Energy=0.2150, Healthcare=0.2791, Nature=0.4107, Sales=0.2977, Transport=0.4192, Web/CloudOps=0.4616. +- frequency skill: A=0.3312, D=0.3394, H=0.3632, M=-0.0643, Q=0.1689, S=0.4240, T=0.3860, W=0.1775. +- variates skill: multivariate=0.3630, univariate=0.3171. +- Outcome: Skill0.337869059 exceeds matched E94oldpack4000 0.336895196 by0.000973864. This changes corpus coverage and volume together with original source probabilities fixed. Small initial gain; continue scheduled8000/16000 before deciding on any interaction with distillation or more capacity. + +E116 conversion/check receipt: {"method": "matched training delta after zero extension of new seasonal query/head parameters", "formula": "extend_zero(base) + candidate - extend_zero(control)", "coefficient": 1.0, "new_parameters_from_candidate": ["long_head.bias", "long_head.weight", "long_query.weight"], "parent_hashes": {"/workspace/research/spectral_add_delta6k.pt": "c3dfc433d51355228fc13d04913db1a7edf83030c33283b150bdcc50f5ae6ea2", "/workspace/research/runs/long_seasonal/ema003000.pt": "92e575ca3cb053d9bdf75a010d83ded0025fe97c906fb9930c74dc1a28e1e892", "/workspace/research/runs/overflow_control/ema003000.pt": "2084f1888f8d9e5afe2c740769ea2b4167086cdd62dfb4014bc3a338c00d4c12"}, "base_extension_forward_bitwise_equal": true, "check_seed": 571, "seconds": 2.1952822851017118, "optimizer_updates": 0, "validation_data_read": false, "checkpoint_sha256": "23b775110747f72747a342fb2282366c2a7d7ae74bfab2137d4c6e38df99dc0a", "parameters": 36849984}. Shared forward implementations were also compared: overflow_control and E114postloss_inference differ only inside the unused training loss function; forecast class is identical. No runtime mismatch introduced by the base-extension audit. + +## E116 long-seasonal matched transfer3000 valid_backcast2 +- Checkpoint SHA-256: `23b775110747f72747a342fb2282366c2a7d7ae74bfab2137d4c6e38df99dc0a`. +- Evaluation: 94 configurations, 8934 instances, 0 failed configurations; 25.600340604782104 seconds. +- Overall skill 0.364198; relative MASE 0.765491; relative WQL 0.528085. +- term skill: long=0.3700, medium=0.3935, short=0.3503. +- domain skill: Econ/Fin=0.1339, Energy=0.2393, Healthcare=0.3008, Nature=0.4830, Sales=0.5489, Transport=0.4261, Web/CloudOps=0.4427. +- frequency skill: A=0.3494, D=0.4268, H=0.3979, M=0.1404, Q=0.1534, S=0.2812, T=0.3700, W=0.2612. +- variates skill: multivariate=0.3706, univariate=0.3590. +- Outcome: Fixed coefficient-one zero-extended E1073000-E80control3000 transfer onto E114firstmember; no optimizer update. Ensemble selection recorded separately. + +## E116 long-seasonal matched transfer3000 valid_backcast3 +- Checkpoint SHA-256: `23b775110747f72747a342fb2282366c2a7d7ae74bfab2137d4c6e38df99dc0a`. +- Evaluation: 93 configurations, 8812 instances, 0 failed configurations; 25.46401309967041 seconds. +- Overall skill 0.389892; relative MASE 0.740054; relative WQL 0.502979. +- term skill: long=0.3954, medium=0.3628, short=0.3977. +- domain skill: Econ/Fin=0.1867, Energy=0.3231, Healthcare=0.2223, Nature=0.4962, Sales=0.4052, Transport=0.5141, Web/CloudOps=0.3942. +- frequency skill: A=0.3640, D=0.4445, H=0.4080, M=0.1294, Q=0.2645, S=0.2754, T=0.4321, W=0.2475. +- variates skill: multivariate=0.3746, univariate=0.4017. +- Outcome: Fixed coefficient-one zero-extended E1073000-E80control3000 transfer onto E114firstmember; no optimizer update. Ensemble selection recorded separately. + +## E116 fixed three-member ensemble four-cutoff results +{"skill_score": 0.38720541337659986, "rel_mase_gmean": 0.7342507813740501, "rel_wql_gmean": 0.5114290851583633, "groups": {"term": {"short": 0.3700839213601874, "medium": 0.40957250804893053, "long": 0.40827611548402953}, "domain": {"Econ/Fin": 0.14908608660199785, "Energy": 0.24714375369431862, "Healthcare": 0.4787534904014933, "Nature": 0.4440184955426868, "Sales": 0.3442242595915186, "Transport": 0.4710390859143697, "Web/CloudOps": 0.5070560078179032}, "freq": {"A-DEC": 0.3765552064197536, "Q-DEC": 0.2007920342778422, "M": 0.11880155273345816, "W-SUN": 0.1264948417953352, "D": 0.36884318033535124, "H": 0.40281260223169946, "15T": 0.21749181645510862, "W-FRI": 0.015285001640822693, "10T": 0.6279931658141638, "W-TUE": 0.6163675116775146, "W-THU": 0.2084538535547953, "W-WED": 0.32879841207319593, "5T": 0.5222434535959196, "10S": 0.42555374873861473}}, "cpu_seconds": 1.8546344628557563, "member_checkpoint_hashes": ["23b775110747f72747a342fb2282366c2a7d7ae74bfab2137d4c6e38df99dc0a", "308389b7217c080af9eb185559d4ee3cafa0f3e0f8c4dd8f5526b68198c89988", "1a2fb20a9fb5cae6526f2e36ea47559626bece78fd9c284899836505030ae9fe"], "cutoff": "valid_screen", "E114skill": 0.3859105542007717, "difference": 0.001294859175828167} +{"skill_score": 0.3427206795875515, "rel_mase_gmean": 0.7906423475529908, "rel_wql_gmean": 0.5464115429421713, "groups": {"term": {"short": 0.3098546944929881, "medium": 0.3621091931043331, "long": 0.403988714940432}, "domain": {"Econ/Fin": 0.17965067851574157, "Energy": 0.2326316747235092, "Healthcare": 0.4068086635720405, "Nature": 0.37873253762946857, "Sales": 0.4075537380987566, "Transport": 0.37635767380141383, "Web/CloudOps": 0.45437737080841945}, "freq": {"A-DEC": 0.3272530340462253, "Q-DEC": 0.23755513606501621, "M": 0.19617972821818674, "W-SUN": 0.07381440729472832, "D": 0.35641808245133066, "H": 0.3746335453552856, "15T": 0.22156520469438523, "W-FRI": 0.2285171150198988, "10T": 0.32790408335401755, "W-TUE": 0.5487565883106209, "W-THU": 0.26369997407283086, "W-WED": 0.360495064206409, "5T": 0.44527223827225215, "10S": 0.34795150353597804}}, "cpu_seconds": 1.4879765149671584, "member_checkpoint_hashes": ["23b775110747f72747a342fb2282366c2a7d7ae74bfab2137d4c6e38df99dc0a", "308389b7217c080af9eb185559d4ee3cafa0f3e0f8c4dd8f5526b68198c89988", "1a2fb20a9fb5cae6526f2e36ea47559626bece78fd9c284899836505030ae9fe"], "cutoff": "valid_backcast", "E114skill": 0.3412336108260463, "difference": 0.0014870687615051725} +{"skill_score": 0.3671371671308241, "rel_mase_gmean": 0.7627223884596792, "rel_wql_gmean": 0.5251128999058764, "groups": {"term": {"short": 0.35442618611968046, "medium": 0.39594551851033577, "long": 0.3703088425246239}, "domain": {"Econ/Fin": 0.12773114801545526, "Energy": 0.2420703081614609, "Healthcare": 0.3503190659637698, "Nature": 0.48266906273662424, "Sales": 0.5556522652473174, "Transport": 0.42748257591759653, "Web/CloudOps": 0.4404570123243067}, "freq": {"A-DEC": 0.33580577495994546, "Q-DEC": 0.1582829183514055, "M": 0.16797269143179927, "W-SUN": 0.08432615590486037, "D": 0.43228327170696623, "H": 0.39712101579766446, "15T": 0.1083039694235629, "W-FRI": 0.15224002631060463, "10T": 0.5116096591114121, "W-TUE": 0.10029684309090381, "W-THU": 0.35590715421034425, "W-WED": 0.5629822534882516, "5T": 0.47636409225147436, "10S": 0.2857396389239164}}, "cpu_seconds": 1.1572973690927029, "member_checkpoint_hashes": ["23b775110747f72747a342fb2282366c2a7d7ae74bfab2137d4c6e38df99dc0a", "308389b7217c080af9eb185559d4ee3cafa0f3e0f8c4dd8f5526b68198c89988", "1a2fb20a9fb5cae6526f2e36ea47559626bece78fd9c284899836505030ae9fe"], "cutoff": "valid_backcast2", "E114skill": 0.36575134769765616, "difference": 0.0013858194331679563} +{"skill_score": 0.3902787157172325, "rel_mase_gmean": 0.7392609091902026, "rel_wql_gmean": 0.5028807013678822, "groups": {"term": {"short": 0.3956114073839023, "medium": 0.3687662234436596, "long": 0.3972699880915276}, "domain": {"Econ/Fin": 0.19055643421598678, "Energy": 0.3170395049778194, "Healthcare": 0.2375244592154213, "Nature": 0.5052031712338959, "Sales": 0.40168219976171715, "Transport": 0.511473215788659, "Web/CloudOps": 0.39553570955988127}, "freq": {"A-DEC": 0.35850397733087536, "Q-DEC": 0.25725670014643276, "M": 0.1465996371340087, "W-SUN": 0.1773439469690138, "D": 0.44211913796350977, "H": 0.4070414678036135, "15T": 0.2546177459094544, "W-FRI": 0.03688784934804279, "10T": 0.6055501765507136, "W-TUE": 0.27303119495126527, "W-THU": 0.33344051421477383, "W-WED": 0.37619790832892397, "5T": 0.46709627787109553, "10S": 0.2930890553634443}}, "cpu_seconds": 1.1736454339697957, "member_checkpoint_hashes": ["23b775110747f72747a342fb2282366c2a7d7ae74bfab2137d4c6e38df99dc0a", "308389b7217c080af9eb185559d4ee3cafa0f3e0f8c4dd8f5526b68198c89988", "1a2fb20a9fb5cae6526f2e36ea47559626bece78fd9c284899836505030ae9fe"], "cutoff": "valid_backcast3", "E114skill": 0.388763997234149, "difference": 0.0015147184830834881} +All four improve: main+0.001294859,earlier1+0.001487069,earlier2+0.001385819,earlier3+0.001514718. Select exactly this coefficient-one three-member package for full public replay. Added49184parameters in firstmember; no change to fixed rules or ensemble weights, no further coefficient search. + +## E107 sixteen-cycle learned summaries at6000 +- Checkpoint SHA-256: `ad45e0cfae574d3dc1be0b9720c9be0863db9ffe33891fdb22c86dfa83667253`. +- Evaluation: 97 configurations, 9473 instances, 0 failed configurations; 28.15697693824768 seconds. +- Overall skill 0.382275; relative MASE 0.739038; relative WQL 0.516326. +- term skill: long=0.4050, medium=0.4082, short=0.3631. +- domain skill: Econ/Fin=0.1279, Energy=0.2411, Healthcare=0.4596, Nature=0.4341, Sales=0.3406, Transport=0.4765, Web/CloudOps=0.5056. +- frequency skill: A=0.3682, D=0.3698, H=0.4004, M=0.1080, Q=0.1932, S=0.4259, T=0.4395, W=0.2214. +- variates skill: multivariate=0.3987, univariate=0.3689. +- Outcome: Main0.382274667 exceeds matched E80at6000 0.378288765 by0.003985903 and E107at3000 by0.000524075. Continue the declared final12000. Earlier-cutoff checks precede any new duration transfer; E1163000transfer is in full validation. + +## Validation coverage diagnostic on E114, no candidate calibration rule +Hypothesis: check whether interval errors show a broad common scaling direction before considering a fixed calibration change. No changed model factor, optimizer update, fitting or new inference; deterministic CPU analysis of the completed public replay,1.366043157seconds,checkpoint9a31b69cbb9c32bdc51541d93b569334a408445233579f43935adc92072526bc. Strict and inclusive coverage are reported separately to account for exact-zero/discrete atoms; equal configuration weights. Strict=[0.09649615502089019, 0.17808724598272557, 0.2561047718942836, 0.3396853273325143, 0.42947219602440895, 0.5244340215216663, 0.6224077059098905, 0.7293349801457444, 0.8349448227403538]; inclusive=[0.18646994735201108, 0.26716067726233894, 0.3442348151253366, 0.4263376847833035, 0.5138603926323156, 0.6012624616842667, 0.6942390398914879, 0.7962815528178204, 0.8967020109729391]. Mean per-config distance outside the nominal quantile bracket=0.07068066327514765; term deviations={"long": 0.06334532807343082, "medium": 0.05332049010856118, "short": 0.08010985737940889}. Overall coverage brackets contain most nominal levels; upper levels show only slight aggregate undercoverage. Per-config deviations mix finite-sample noise, bias and nonstationarity. No universal interval rescaling is supported or selected. Full descriptive output spectral_add_ensemble_coverage.json; analysis code recovery/quantile_coverage.py. + +## E116 long-seasonal3000 ensemble full public replay — selected +- Checkpoint SHA-256: `d5320aa1bc1d23983eb3f438d4ab3171de0b5d8afe93846fb853acd99629d092`. +- Evaluation: 97 configurations, 151170 instances, 0 failed configurations; not separately timed seconds. +- Overall skill 0.383511; relative MASE 0.736870; relative WQL 0.515774. +- term skill: long=0.4024, medium=0.4084, short=0.3662. +- domain skill: Econ/Fin=0.1307, Energy=0.2407, Healthcare=0.4843, Nature=0.4441, Sales=0.3584, Transport=0.4712, Web/CloudOps=0.4989. +- frequency skill: A=0.2969, D=0.3733, H=0.3975, M=0.1446, Q=0.1892, S=0.4256, T=0.4394, W=0.2377. +- variates skill: multivariate=0.3969, univariate=0.3726. +- Outcome: Full0.383511269 exceeds E1140.382197314 by0.001313955. All97configs151170instances passed. All four diagnostic cutoffs improve. Relocation and independent fixed-average composition checks pass. Validation selection only; no held-out reward claim. + +E116 complete public suite {"package": "/workspace/research/candidate-long-seasonal3-ensemble", "status": "complete", "steps": [{"name": "relocation", "returncode": 0, "seconds": 30.231913516065106}, {"name": "full_public_replay", "returncode": 0, "seconds": 386.0414331450593}, {"name": "independent_long_seasonal_replay", "returncode": 0, "seconds": 36.198165599955246}, {"name": "composition", "returncode": 0, "seconds": 0.30810956098139286}, {"name": "descriptive_comparison", "returncode": 0, "seconds": 0.19051235518418252}], "current_step": "descriptive_comparison", "seconds": 452.98110670782626, "skill": 0.3835112690884035}. Descriptive comparison {"candidate": "/workspace/research/valid-report-long-seasonal3-ensemble.json", "parent": "/workspace/research/valid-report-spectral-add-ensemble.json", "candidate_hash": "d5320aa1bc1d23983eb3f438d4ab3171de0b5d8afe93846fb853acd99629d092", "parent_hash": "9a31b69cbb9c32bdc51541d93b569334a408445233579f43935adc92072526bc", "skill_difference": 0.001313955486563101, "n_configs": 97, "n_dataset_clusters": 28, "improved_configs": 70, "bootstrap_seed": 317, "bootstrap_samples": 5000, "dataset_cluster_delta_percentiles": {"p025": 0.0005376346973493762, "p50": 0.0013050301765117345, "p975": 0.002204697056569243}, "note": "Descriptive resampling only. Adaptive validation selection and reused windows prevent treating this as a held-out significance test."}. Publish with identical runtime/weight hashes. Firstmember adds49184learned seasonal query/head parameters; all three members forecast every instance with fixed equal weights. E101teacher remains E96. + +## E107 sixteen-cycle summaries6000 valid_backcast +- Checkpoint SHA-256: `ad45e0cfae574d3dc1be0b9720c9be0863db9ffe33891fdb22c86dfa83667253`. +- Evaluation: 97 configurations, 9330 instances, 0 failed configurations; 26.52558135986328 seconds. +- Overall skill 0.339853; relative MASE 0.793528; relative WQL 0.549186. +- term skill: long=0.4027, medium=0.3608, short=0.3056. +- domain skill: Econ/Fin=0.1478, Energy=0.2308, Healthcare=0.3866, Nature=0.3818, Sales=0.4043, Transport=0.3807, Web/CloudOps=0.4514. +- frequency skill: A=0.3114, D=0.3658, H=0.3746, M=0.1689, Q=0.2379, S=0.3419, T=0.3334, W=0.2824. +- variates skill: multivariate=0.3553, univariate=0.3273. +- Outcome: Allfour6000scores exceed both the matched E80control and E1073000. Main0.382274667,earlier0.339852539/0.363254728/0.394498411. Matched E80 gaps about0.003986/0.004696/0.003549/0.004831. E117 tests the fixed transfer duration, retaining E114as the unchanged zero-extended base. + +## E107 sixteen-cycle summaries6000 valid_backcast2 +- Checkpoint SHA-256: `ad45e0cfae574d3dc1be0b9720c9be0863db9ffe33891fdb22c86dfa83667253`. +- Evaluation: 94 configurations, 8934 instances, 0 failed configurations; 25.47639751434326 seconds. +- Overall skill 0.363255; relative MASE 0.765724; relative WQL 0.529492. +- term skill: long=0.3665, medium=0.3958, short=0.3490. +- domain skill: Econ/Fin=0.0929, Energy=0.2388, Healthcare=0.3619, Nature=0.4815, Sales=0.5514, Transport=0.4275, Web/CloudOps=0.4336. +- frequency skill: A=0.3460, D=0.4300, H=0.3971, M=0.1795, Q=0.1488, S=0.2836, T=0.3617, W=0.2611. +- variates skill: multivariate=0.3659, univariate=0.3611. +- Outcome: Allfour6000scores exceed both the matched E80control and E1073000. Main0.382274667,earlier0.339852539/0.363254728/0.394498411. Matched E80 gaps about0.003986/0.004696/0.003549/0.004831. E117 tests the fixed transfer duration, retaining E114as the unchanged zero-extended base. + +## E107 sixteen-cycle summaries6000 valid_backcast3 +- Checkpoint SHA-256: `ad45e0cfae574d3dc1be0b9720c9be0863db9ffe33891fdb22c86dfa83667253`. +- Evaluation: 93 configurations, 8812 instances, 0 failed configurations; 26.297444581985474 seconds. +- Overall skill 0.394498; relative MASE 0.730199; relative WQL 0.502099. +- term skill: long=0.3995, medium=0.3628, short=0.4041. +- domain skill: Econ/Fin=0.1617, Energy=0.3232, Healthcare=0.3074, Nature=0.5097, Sales=0.4041, Transport=0.5118, Web/CloudOps=0.3930. +- frequency skill: A=0.3574, D=0.4564, H=0.4093, M=0.1720, Q=0.2585, S=0.2910, T=0.4288, W=0.2635. +- variates skill: multivariate=0.3764, univariate=0.4084. +- Outcome: Allfour6000scores exceed both the matched E80control and E1073000. Main0.382274667,earlier0.339852539/0.363254728/0.394498411. Matched E80 gaps about0.003986/0.004696/0.003549/0.004831. E117 tests the fixed transfer duration, retaining E114as the unchanged zero-extended base. + +## E117 duration of the learned seasonal correction — predeclared +E1163000transfer improves all four diagnostic cutoffs and full replay. E1076000 now improves all four standalone cutoffs over both its3000checkpoint and matched E80control. Complete the duration comparison at6000 and the already scheduled final12000, using exactly the same zero-extended base spectral_add_delta6k (E114firstmember), matching candidate/control checkpoints at each duration, coefficient1, and E71patch8_6000/E93split_12000 as unchanged equal-weight ensemble members. Do not add the new duration on top of E116's already-added3000correction. Each merged candidate gets all four diagnostics; full public replay and checks required for publication. No coefficient or intermediate-checkpoint sweep; no optimizer updates in transfer. The12000arm waits for E107's planned completion. + +## E117 long-seasonal matched transfer6000 valid_screen +- Checkpoint SHA-256: `02ac8f37ed3a54fb12b209f6d8d9eb64e01a5cb862dc63f77ab8e3f8633a4c44`. +- Evaluation: 97 configurations, 9473 instances, 0 failed configurations; 70.3311378955841 seconds. +- Overall skill 0.386484; relative MASE 0.733317; relative WQL 0.513287. +- term skill: long=0.4079, medium=0.4093, short=0.3690. +- domain skill: Econ/Fin=0.1470, Energy=0.2417, Healthcare=0.4724, Nature=0.4438, Sales=0.3382, Transport=0.4729, Web/CloudOps=0.5114. +- frequency skill: A=0.3771, D=0.3739, H=0.4062, M=0.0986, Q=0.2068, S=0.4262, T=0.4439, W=0.2255. +- variates skill: multivariate=0.4014, univariate=0.3743. +- Outcome: Fixed coefficient-one zero-extended E1076000-E80control6000 transfer onto E114firstmember; no optimizer update. Ensemble selection recorded separately. + +## E118 independent-seed replication of learned seasonal summaries — predeclared +E107seed197 improves all four cutoffs at3000and6000; E116transfer improves full validation by0.001313955 across70of97configurations. Replicate the feature treatment at independent seed523, reusing the already-planned E111weekly_replication_control as the exactly matched control. Candidate initializes from the same function-preserving long_seasonal_initial (ownE62 plus49184zero parameters), with original packed_sample/source probabilities/generator, seed523/B64/LR2e-5/12000/paired loss and horizon seed300526. Train all parameters. The only factor versus E111control is the same16-cycle learned summaries; no weekly replacement or other synthetic change. Primary comparison6000;1000/3000diagnostic and12000durability. Require all earlier cutoffs before any transfer/averaging decision; no new model-soup rule declared. Reuse E107's exact initialization, arithmetic and maximum-shape GPU audits because model/sampler/batch are unchanged; verify sampler byte identity and initial checkpoint hash before queueing after E113lowfreq_windows14975. This adds one candidate run, no second control or supplied-baseline retraining. + +## E117 long-seasonal matched transfer6000 valid_backcast +- Checkpoint SHA-256: `02ac8f37ed3a54fb12b209f6d8d9eb64e01a5cb862dc63f77ab8e3f8633a4c44`. +- Evaluation: 97 configurations, 9330 instances, 0 failed configurations; 33.026755571365356 seconds. +- Overall skill 0.342409; relative MASE 0.789019; relative WQL 0.548055. +- term skill: long=0.3990, medium=0.3637, short=0.3108. +- domain skill: Econ/Fin=0.1781, Energy=0.2290, Healthcare=0.3699, Nature=0.3893, Sales=0.4030, Transport=0.3792, Web/CloudOps=0.4578. +- frequency skill: A=0.3230, D=0.3600, H=0.3772, M=0.1942, Q=0.2303, S=0.3398, T=0.3376, W=0.2870. +- variates skill: multivariate=0.3584, univariate=0.3294. +- Outcome: Fixed coefficient-one zero-extended E1076000-E80control6000 transfer onto E114firstmember; no optimizer update. Ensemble selection recorded separately. + +## E117 long-seasonal matched transfer6000 valid_backcast2 +- Checkpoint SHA-256: `02ac8f37ed3a54fb12b209f6d8d9eb64e01a5cb862dc63f77ab8e3f8633a4c44`. +- Evaluation: 94 configurations, 8934 instances, 0 failed configurations; 26.222503900527954 seconds. +- Overall skill 0.364638; relative MASE 0.764781; relative WQL 0.527844. +- term skill: long=0.3704, medium=0.3939, short=0.3508. +- domain skill: Econ/Fin=0.1343, Energy=0.2389, Healthcare=0.2996, Nature=0.4841, Sales=0.5492, Transport=0.4268, Web/CloudOps=0.4437. +- frequency skill: A=0.3483, D=0.4277, H=0.3984, M=0.1458, Q=0.1537, S=0.2830, T=0.3697, W=0.2602. +- variates skill: multivariate=0.3707, univariate=0.3597. +- Outcome: Fixed coefficient-one zero-extended E1076000-E80control6000 transfer onto E114firstmember; no optimizer update. Ensemble selection recorded separately. + +## E117 long-seasonal matched transfer6000 valid_backcast3 +- Checkpoint SHA-256: `02ac8f37ed3a54fb12b209f6d8d9eb64e01a5cb862dc63f77ab8e3f8633a4c44`. +- Evaluation: 93 configurations, 8812 instances, 0 failed configurations; 52.90152072906494 seconds. +- Overall skill 0.391181; relative MASE 0.738393; relative WQL 0.501983. +- term skill: long=0.3957, medium=0.3634, short=0.3996. +- domain skill: Econ/Fin=0.1862, Energy=0.3239, Healthcare=0.2347, Nature=0.4974, Sales=0.4062, Transport=0.5153, Web/CloudOps=0.3945. +- frequency skill: A=0.3626, D=0.4483, H=0.4086, M=0.1380, Q=0.2650, S=0.2751, T=0.4326, W=0.2479. +- variates skill: multivariate=0.3753, univariate=0.4034. +- Outcome: Fixed coefficient-one zero-extended E1076000-E80control6000 transfer onto E114firstmember; no optimizer update. Ensemble selection recorded separately. + +E117 duration6000 equal-ensemble diagnostics: [{"cutoff": "valid_screen", "skill_score": 0.38758775695568237, "rel_mase_gmean": 0.7338581642688206, "rel_wql_gmean": 0.5110643632400712, "groups": {"term": {"short": 0.3705854772097721, "medium": 0.4098116884577624, "long": 0.40850774015255753}, "domain": {"Econ/Fin": 0.1491110309849244, "Energy": 0.2473872111540495, "Healthcare": 0.47967500211204583, "Nature": 0.4443342058731611, "Sales": 0.34435330099487205, "Transport": 0.47178883199133137, "Web/CloudOps": 0.507316811565411}, "freq": {"A-DEC": 0.37657388175046513, "Q-DEC": 0.20077233812299533, "M": 0.11934165027075339, "W-SUN": 0.1260870289350683, "D": 0.37011118914329555, "H": 0.4033355658667086, "15T": 0.2177918137607776, "W-FRI": 0.01580119721245088, "10T": 0.6278398409268195, "W-TUE": 0.6156563794482202, "W-THU": 0.20846408250449933, "W-WED": 0.3285721069115759, "5T": 0.522168695958841, "10S": 0.4256937093047316}}, "member_checkpoint_hashes": ["02ac8f37ed3a54fb12b209f6d8d9eb64e01a5cb862dc63f77ab8e3f8633a4c44", "308389b7217c080af9eb185559d4ee3cafa0f3e0f8c4dd8f5526b68198c89988", "1a2fb20a9fb5cae6526f2e36ea47559626bece78fd9c284899836505030ae9fe"], "cpu_seconds": 1.5809676200151443, "delta_vs_E116": 0.0003823435790825114}, {"cutoff": "valid_backcast", "skill_score": 0.3429158754584547, "rel_mase_gmean": 0.7903227473802326, "rel_wql_gmean": 0.5463078826412736, "groups": {"term": {"short": 0.3101741450136747, "medium": 0.36225183532087923, "long": 0.4039504121923163}, "domain": {"Econ/Fin": 0.1796638005766118, "Energy": 0.23274562514662867, "Healthcare": 0.4050454901624251, "Nature": 0.37989567626268006, "Sales": 0.4082253173536764, "Transport": 0.3765529479337325, "Web/CloudOps": 0.45441716485204564}, "freq": {"A-DEC": 0.3272205609581892, "Q-DEC": 0.23759099706252007, "M": 0.19588675468651817, "W-SUN": 0.07375509478160447, "D": 0.35756967295528785, "H": 0.3748935561837421, "15T": 0.22174583342116727, "W-FRI": 0.2283220401322632, "10T": 0.32775359942485127, "W-TUE": 0.5476232952821192, "W-THU": 0.2634820217181426, "W-WED": 0.3605171603714096, "5T": 0.444928923907442, "10S": 0.3480376209492927}}, "member_checkpoint_hashes": ["02ac8f37ed3a54fb12b209f6d8d9eb64e01a5cb862dc63f77ab8e3f8633a4c44", "308389b7217c080af9eb185559d4ee3cafa0f3e0f8c4dd8f5526b68198c89988", "1a2fb20a9fb5cae6526f2e36ea47559626bece78fd9c284899836505030ae9fe"], "cpu_seconds": 1.486426532967016, "delta_vs_E116": 0.00019519587090321977}, {"cutoff": "valid_backcast2", "skill_score": 0.3673138699400975, "rel_mase_gmean": 0.7624413618664356, "rel_wql_gmean": 0.5250131474901527, "groups": {"term": {"short": 0.35464549923886646, "medium": 0.396044483486757, "long": 0.3704566659810776}, "domain": {"Econ/Fin": 0.1278986000738499, "Energy": 0.24201205303512197, "Healthcare": 0.35011514635967966, "Nature": 0.4829607673467684, "Sales": 0.5559108719880497, "Transport": 0.42779567927039897, "Web/CloudOps": 0.440788541797849}, "freq": {"A-DEC": 0.33548760475433637, "Q-DEC": 0.15846843703525426, "M": 0.16977470264226235, "W-SUN": 0.08500199629088767, "D": 0.4327290855838334, "H": 0.3972970456246422, "15T": 0.10794550576938078, "W-FRI": 0.15172550191595102, "10T": 0.5117883242263219, "W-TUE": 0.09682533580849628, "W-THU": 0.3563552961839991, "W-WED": 0.5628050187009171, "5T": 0.4762546590382627, "10S": 0.2862951112159169}}, "member_checkpoint_hashes": ["02ac8f37ed3a54fb12b209f6d8d9eb64e01a5cb862dc63f77ab8e3f8633a4c44", "308389b7217c080af9eb185559d4ee3cafa0f3e0f8c4dd8f5526b68198c89988", "1a2fb20a9fb5cae6526f2e36ea47559626bece78fd9c284899836505030ae9fe"], "cpu_seconds": 1.5663821888156235, "delta_vs_E116": 0.0001767028092733991}, {"cutoff": "valid_backcast3", "skill_score": 0.39076445217348055, "rel_mase_gmean": 0.7386290023225965, "rel_wql_gmean": 0.5025093132930779, "groups": {"term": {"short": 0.3962936650066763, "medium": 0.36903122355860374, "long": 0.3974199700061841}, "domain": {"Econ/Fin": 0.19052380239240974, "Energy": 0.31738542877172005, "Healthcare": 0.2410422058404026, "Nature": 0.5056637262017856, "Sales": 0.40214858215010085, "Transport": 0.5120028986153148, "Web/CloudOps": 0.39565427543069853}, "freq": {"A-DEC": 0.3580331842712011, "Q-DEC": 0.2574659133377385, "M": 0.14984257763476883, "W-SUN": 0.17713719254991567, "D": 0.44344232532232797, "H": 0.40729030186015236, "15T": 0.25503817655546823, "W-FRI": 0.03718352110646361, "10T": 0.6055530546744756, "W-TUE": 0.2759842620088724, "W-THU": 0.33285112284477014, "W-WED": 0.37606870679901383, "5T": 0.46723753191341555, "10S": 0.2931530897878887}}, "member_checkpoint_hashes": ["02ac8f37ed3a54fb12b209f6d8d9eb64e01a5cb862dc63f77ab8e3f8633a4c44", "308389b7217c080af9eb185559d4ee3cafa0f3e0f8c4dd8f5526b68198c89988", "1a2fb20a9fb5cae6526f2e36ea47559626bece78fd9c284899836505030ae9fe"], "cpu_seconds": 1.2575315169524401, "delta_vs_E116": 0.00048573645624805373}]. All four improve E116; advance to full public replay. Initial assembly helper incorrectly passed the ensemble-probe schema to the single-report recorder and failed before package creation; corrected to direct group recording. No model/runtime/publication mutation occurred. + +## E119 learned phase-specific seasonal dispersion — predeclared +E107 mean summaries improve all four cutoffs, suggesting useful information remains in per-phase repeated cycles. Hypothesis: exposing phase-specific variability helps the neural median/quantile decoder distinguish reliable and noisy seasonal positions. Add four query features: log1p(unbiased sample standard deviation) of the last4 and last16 cycle-centered matching-phase observations, for each of two frequency-derived periods. Use exactly E107 support gate (period>=2,recent>=2,total>=8); inactive features zero. Add one zero-initialized patch*4 to d projection (32768parameters); retain E107 mean query/head and train all parameters. No explicit output rescaling, direct variance head, new generator or loss. Initialize by zero-extending E107's original function-preserving initial checkpoint, not a validation-selected trained endpoint. Match E107 seed197/B64/LR2e-5/12000/paired, original packed_sample/source probabilities/generator/horizon RNG. Primary comparison6000 versus E1076000;1000/3000diagnostic,12000durability. Earlier cutoffs before transfer/publication. Queue after E115phase_joint; no coefficient sweep or transfer rule yet. CPU arithmetic/invariance and maximum-shape GPU audits precede launch. + +E119 CPU audit {"seed": 577, "independent_feature_arithmetic": true, "centered_cycle_offset_invariance": true, "old_features_bitwise_equal": true, "initial_function_bitwise_equal": true, "inherited_weights_bitwise_equal": true, "all_parameters_trainable": true, "sampler_byte_identical": true, "added_parameters": 32768, "total_parameters": 36882752, "checkpoint_sha256": "5f07cac4fe7de3e878a01cb90384e79905fdb3156122b568e82c5923526aca3c", "seconds": 1.8492389279417694, "optimizer_updates": 0, "validation_data_read": false}. Distinct from rejected E53: E53 changed a fixed seasonal-confidence denominator pooled across all phases; E119 retains that formula and trains a zero-initialized query projection of phase-specific dispersion with all weights trainable. No validation targets or optimizer updates enter this audit. + +E1108000 matched diagnostic {"experiment": "E110full-corpus8000 versus E94matched8000", "overall_delta": -0.003203082653086664, "groups": {"term": {"long": 0.0035847827270744093, "medium": 0.0029933799435938324, "short": -0.008583522930157517}, "domain": {"Econ/Fin": 0.0073067524243448645, "Energy": 0.0010232563174896736, "Healthcare": -0.10046309213785809, "Nature": -0.005525316527005608, "Sales": 0.020186513009092466, "Transport": -0.004776228457146647, "Web/CloudOps": 0.007967761013063401}, "frequency": {"A": 0.0024475638858065807, "D": -0.00816465345146733, "H": 0.003737303868274089, "M": -0.0603011923470429, "Q": 0.023677353819767433, "S": 0.0010874878225529683, "T": 3.1634525451962325e-05, "W": -0.021925362852562746}}}. Small improvements on medium/long horizons are outweighed by short-horizon Healthcare and monthly/weekly regressions; not sufficient evidence for combining this data change with distillation. Preserve original96000schedule; no training-data adaptation to these validation values. + +Context-only seasonal-support diagnostic: {"kind": "optimistic potential support before missing-value masks; not measured forecast improvement", "input_metadata_only": true, "validation_targets_read": false, "optimizer_updates": 0, "changed_configurations": 21, "changed_domains": ["Energy", "Nature", "Transport", "Web/CloudOps"], "seconds": 1.966426236089319}. At16384instead of4096,21configurations gain potential>=8cycle support before missing masks. Example: electricity15min weekly672period gains6to16availablecycles; solar10min weekly1008 gains4to16. This is potential feature availability, not forecast benefit. No training or inference rule changed. + +E111 weekly seed523 control training started at 2026-10-23T07:04:07Z, after the preceding trainer exited with its final checkpoint. Settings are unchanged from the declared comparison. + +E119 maximum-shape GPU audit {"seed": 587, "gpu_initial_function_bitwise_equal": true, "max_shape": [64, 4096, 1024], "loss": 0.30101367831230164, "selected_gradient_norms": {"dispersion_query.weight": 0.0080416863784194, "long_query.weight": 0.02340359427034855, "long_head.weight": 0.013128682039678097, "head.weight": 0.02928958274424076}, "all_parameters_trainable": true, "reserved_mib": 6162.0, "allocated_mib": 5787.1318359375, "includes_ema_and_adam_placeholders": true, "seconds": 351.92002349486575, "optimizer_updates": 0, "validation_data_read": false}. Reported351.920023s is total process wall including waiting for the shared evaluation lock, not isolated GPU compute. BF16 initialization is bitwise equal; all trainable gradients finite and new-projection gradient nonzero. Queue after E115final12000; no optimizer update in audit. + +E107 completed {"completed_step": 12000, "training_process_loop_seconds": 2526.470098217018}, process wall 2542.7628201858606s, final checkpoint SHA256d512cdac520239f0c10e021721424d87cee30086fa70f6cbc41f21e2e04988c3. E111control seed523 started automatically after completion, trainer19130. E117final-duration coefficient-one transfer created SHA2568a2b252b733cc79c31778ea27ba00fbe61206fef50454514b667c54a928d80a4, merge2.527997653CPU s; four-cutoff evaluation pending. + +E1018000 matched comparison {"comparison": "E101 versus E94 at8000updates", "candidate_hash": "dca6ae35fabe5a4608ef2207587fe6dfc4b66b7f07c826e640ef0d9887e1fef8", "control_hash": "650a1a4177cae63f3ceab8a2255fbd2f9d281a7e83e8d380a34bb956bd690884", "skill_delta": 0.007141103867715826, "groups": {"term": {"long": 0.00950527008347335, "medium": 0.015714162767370032, "short": 0.0025782486269768645}, "domain": {"Econ/Fin": 0.014946719158874244, "Energy": 0.011541932738351024, "Healthcare": -0.029374142922637292, "Nature": -0.0037363199637078237, "Sales": 0.020011161284304135, "Transport": 0.017766071964885777, "Web/CloudOps": 0.005429339989242221}, "frequency": {"A": 0.01843941003486016, "D": -0.004802637871195281, "H": 0.014959072868680146, "M": -0.03208366163078247, "Q": 0.04314910869141775, "S": -0.007253560764663325, "T": 0.013793862179354521, "W": -0.010157605065865938}}}. Main0.3542945304341839 versus E940.3471534265664681. Update-count advantage remains; three teacher forward passes add cost, so this is not evidence of wall-time efficiency. Preserve teacherE96/coefficient0.5/original96000schedule. + +## E120 inference ablation of learned seasonal summaries — predeclared +E1076000 improves matched E80, but both inherited weights and newly introduced feature projections changed during training. Diagnostic hypothesis: the learned sixteen-cycle query/head features themselves contribute to forecasting beyond the inherited-weight changes. Take exactly E107EMA6000 and disable both long_query and long_head by setting long_seasonal_features=False and removing only their three tensors; preserve every common tensor bitwise. Compare this fixed ablation to the original E1076000 at all four diagnostic cutoffs. No optimizer update, retraining, new generator or coefficient search. This is a diagnostic of the trained representation, not a matched-training causal estimate and not a publication candidate. Keep the current E117 publication decision independent. The result will inform whether extending only seasonal-summary history is worth a later controlled training experiment. + +## E117 seasonal6000 ensemble full public replay — selected +- Checkpoint SHA-256: `2e4fd324abe8fae2bb2b0d93c132b48bc047985da4d05171edbff36d83edb76c`. +- Evaluation: 97 configurations, 151170 instances, 0 failed configurations; not separately timed seconds. +- Overall skill 0.383907; relative MASE 0.736461; relative WQL 0.515398. +- term skill: long=0.4027, medium=0.4087, short=0.3667. +- domain skill: Econ/Fin=0.1307, Energy=0.2409, Healthcare=0.4852, Nature=0.4445, Sales=0.3586, Transport=0.4720, Web/CloudOps=0.4992. +- frequency skill: A=0.2968, D=0.3745, H=0.3981, M=0.1452, Q=0.1893, S=0.4257, T=0.4394, W=0.2376. +- variates skill: multivariate=0.3972, univariate=0.3731. +- Outcome: Full skill 0.383907276221 exceeds published 0.383511269088 by 0.000396007133. All97configs151170instances pass; relocation and independent fixed-average composition checks pass. Validation selection only, not held-out reward. + +E117 complete public suite {"package": "/workspace/research/candidate-long-seasonal6-ensemble", "status": "complete", "steps": [{"name": "relocation", "returncode": 0, "seconds": 27.76716866483912}, {"name": "full_public_replay", "returncode": 0, "seconds": 364.8008179310709}, {"name": "independent_long_seasonal_replay", "returncode": 0, "seconds": 185.7471042801626}, {"name": "composition", "returncode": 0, "seconds": 0.46263073617592454}, {"name": "descriptive_comparison", "returncode": 0, "seconds": 0.17200843803584576}], "current_step": "descriptive_comparison", "seconds": 578.9992693390232, "skill": 0.38390727622107634}. Descriptive comparison {"candidate": "/workspace/research/valid-report-long-seasonal6-ensemble.json", "parent": "/workspace/research/valid-report-long-seasonal3-ensemble.json", "candidate_hash": "2e4fd324abe8fae2bb2b0d93c132b48bc047985da4d05171edbff36d83edb76c", "parent_hash": "d5320aa1bc1d23983eb3f438d4ab3171de0b5d8afe93846fb853acd99629d092", "skill_difference": 0.0003960071326728487, "n_configs": 97, "n_dataset_clusters": 28, "improved_configs": 64, "bootstrap_seed": 317, "bootstrap_samples": 5000, "dataset_cluster_delta_percentiles": {"p025": 0.00022268027543086432, "p50": 0.00038841478230000615, "p975": 0.0006178172436181516}, "note": "Descriptive resampling only. Adaptive validation selection and reused windows prevent treating this as a held-out significance test."}. Identical runtime/weight hashes verified before atomic publication. Every member forecasts every instance. E101teacher remains frozenE96. + +E117 publication bookkeeping: successful atomic swap at07:08:28UTC preceded a TypeError in the subsequent research-state update, because predeclared durations was a list. Corrected future writer to duration_results and reconciled CURRENT against the actual published manifest/report; no model, validation or runtime error, and no partial package was exposed. + +E79 matched48000 capacity comparison {"experiment": "E79 matched fresh146M versus37M at48000", "wide_skill": 0.3685434345005941, "small_skill": 0.36677272226065616, "delta": 0.001770712239937966, "candidate_hash": "227ea80abf17fc81ae191f94e91f6dd7adbc0d837235750b5f5e9cef3dd5472c", "control_hash": "855f37f248e8104578ae2b356d2b7326a73236476f888fd1468e988be4238509", "groups": {"term": {"long": -0.004614403570790682, "medium": 0.0001880975934308582, "short": 0.005003156709554091}, "domain": {"Econ/Fin": -0.016997682096246525, "Energy": -0.003545869646366051, "Healthcare": 0.04853217938401477, "Nature": 0.005359137774352152, "Sales": -0.0067723756343403, "Transport": -0.0027269222078922795, "Web/CloudOps": 0.0022497021003726747}, "frequency": {"A": 0.004470802964257836, "D": 0.005424165034339068, "H": -0.003437844355180242, "M": 0.07518726555589927, "Q": -0.013178225536983335, "S": -0.003760199536136266, "T": -0.0021534007709399505, "W": 0.007093310437459088}}}. The146M branch now exceeds37M at equal updates, reversing the earlier ranking. Retain scheduled72000/96000checkpoints; no capacity extension or329Mrun declared. + +E115 joint phase conditioning seed197 training started at 2026-10-23T07:10:28Z, after the preceding trainer exited with its final checkpoint. Settings are unchanged from the declared comparison. + +## E107 seasonal12000 valid_backcast +- Checkpoint SHA-256: `d512cdac520239f0c10e021721424d87cee30086fa70f6cbc41f21e2e04988c3`. +- Evaluation: 97 configurations, 9330 instances, 0 failed configurations; 27.891539812088013 seconds. +- Overall skill 0.341379; relative MASE 0.792273; relative WQL 0.547515. +- term skill: long=0.4011, medium=0.3630, short=0.3083. +- domain skill: Econ/Fin=0.1541, Energy=0.2330, Healthcare=0.3908, Nature=0.3814, Sales=0.4040, Transport=0.3820, Web/CloudOps=0.4524. +- frequency skill: A=0.3164, D=0.3688, H=0.3749, M=0.1725, Q=0.2300, S=0.3427, T=0.3364, W=0.2805. +- variates skill: multivariate=0.3562, univariate=0.3294. +- Outcome: Final E107 versus matched E8012000 delta 0.004850916529; versus own6000 delta 0.001526715303. Final duration improves three cutoffs over6000 but loses the oldest; E117 predeclared transferred composition assessed separately. + +## E107 seasonal12000 valid_backcast2 +- Checkpoint SHA-256: `d512cdac520239f0c10e021721424d87cee30086fa70f6cbc41f21e2e04988c3`. +- Evaluation: 94 configurations, 8934 instances, 0 failed configurations; 26.684894800186157 seconds. +- Overall skill 0.365060; relative MASE 0.764718; relative WQL 0.527186. +- term skill: long=0.3677, medium=0.3957, short=0.3518. +- domain skill: Econ/Fin=0.0984, Energy=0.2396, Healthcare=0.3583, Nature=0.4847, Sales=0.5527, Transport=0.4280, Web/CloudOps=0.4370. +- frequency skill: A=0.3501, D=0.4330, H=0.3965, M=0.1801, Q=0.1448, S=0.2846, T=0.3637, W=0.2713. +- variates skill: multivariate=0.3674, univariate=0.3631. +- Outcome: Final E107 versus matched E8012000 delta 0.004086370453; versus own6000 delta 0.001805111594. Final duration improves three cutoffs over6000 but loses the oldest; E117 predeclared transferred composition assessed separately. + +## E107 seasonal12000 valid_backcast3 +- Checkpoint SHA-256: `d512cdac520239f0c10e021721424d87cee30086fa70f6cbc41f21e2e04988c3`. +- Evaluation: 93 configurations, 8812 instances, 0 failed configurations; 27.912177085876465 seconds. +- Overall skill 0.392833; relative MASE 0.733445; relative WQL 0.502630. +- term skill: long=0.3982, medium=0.3609, short=0.4024. +- domain skill: Econ/Fin=0.1609, Energy=0.3232, Healthcare=0.3044, Nature=0.5056, Sales=0.4052, Transport=0.5100, Web/CloudOps=0.3912. +- frequency skill: A=0.3472, D=0.4525, H=0.4075, M=0.1705, Q=0.2608, S=0.2906, T=0.4279, W=0.2644. +- variates skill: multivariate=0.3764, univariate=0.4055. +- Outcome: Final E107 versus matched E8012000 delta 0.005351688124; versus own6000 delta -0.001665237983. Final duration improves three cutoffs over6000 but loses the oldest; E117 predeclared transferred composition assessed separately. + +E107 complete final-duration comparison [{"cutoff": "valid_screen", "skill": 0.38231375879048757, "delta_matched": 0.004889812714840014, "delta_vs6000": 3.9091567565430196e-05}, {"cutoff": "valid_backcast", "skill": 0.34137925383664736, "delta_matched": 0.0048509165293714185, "delta_vs6000": 0.0015267153027013203}, {"cutoff": "valid_backcast2", "skill": 0.3650598400595585, "delta_matched": 0.004086370453054822, "delta_vs6000": 0.0018051115942698814}, {"cutoff": "valid_backcast3", "skill": 0.3928331731047856, "delta_matched": 0.005351688124433984, "delta_vs6000": -0.0016652379826666008}]. Final is better than matched E80 on all four cutoffs, and mixed versus own6000. No extra intermediate checkpoint search declared. + +## E117 long-seasonal matched transfer12000 valid_screen +- Checkpoint SHA-256: `8a2b252b733cc79c31778ea27ba00fbe61206fef50454514b667c54a928d80a4`. +- Evaluation: 97 configurations, 9473 instances, 0 failed configurations; 27.930054187774658 seconds. +- Overall skill 0.386692; relative MASE 0.733194; relative WQL 0.513026. +- term skill: long=0.4082, medium=0.4096, short=0.3692. +- domain skill: Econ/Fin=0.1468, Energy=0.2415, Healthcare=0.4724, Nature=0.4442, Sales=0.3390, Transport=0.4736, Web/CloudOps=0.5117. +- frequency skill: A=0.3769, D=0.3743, H=0.4066, M=0.0984, Q=0.2059, S=0.4258, T=0.4442, W=0.2250. +- variates skill: multivariate=0.4015, univariate=0.3746. +- Outcome: Fixed coefficient-one zero-extended E10712000-E80control12000 transfer onto E114firstmember; no optimizer update. Ensemble selection recorded separately. + +## E117 long-seasonal matched transfer12000 valid_backcast +- Checkpoint SHA-256: `8a2b252b733cc79c31778ea27ba00fbe61206fef50454514b667c54a928d80a4`. +- Evaluation: 97 configurations, 9330 instances, 0 failed configurations; 26.0443058013916 seconds. +- Overall skill 0.342530; relative MASE 0.789143; relative WQL 0.547767. +- term skill: long=0.3986, medium=0.3634, short=0.3113. +- domain skill: Econ/Fin=0.1773, Energy=0.2292, Healthcare=0.3696, Nature=0.3902, Sales=0.4038, Transport=0.3796, Web/CloudOps=0.4572. +- frequency skill: A=0.3234, D=0.3615, H=0.3769, M=0.1938, Q=0.2299, S=0.3391, T=0.3378, W=0.2870. +- variates skill: multivariate=0.3582, univariate=0.3298. +- Outcome: Fixed coefficient-one zero-extended E10712000-E80control12000 transfer onto E114firstmember; no optimizer update. Ensemble selection recorded separately. + +## E117 long-seasonal matched transfer12000 valid_backcast2 +- Checkpoint SHA-256: `8a2b252b733cc79c31778ea27ba00fbe61206fef50454514b667c54a928d80a4`. +- Evaluation: 94 configurations, 8934 instances, 0 failed configurations; 29.031078815460205 seconds. +- Overall skill 0.365057; relative MASE 0.764511; relative WQL 0.527333. +- term skill: long=0.3707, medium=0.3938, short=0.3515. +- domain skill: Econ/Fin=0.1339, Energy=0.2390, Healthcare=0.2992, Nature=0.4848, Sales=0.5508, Transport=0.4274, Web/CloudOps=0.4443. +- frequency skill: A=0.3487, D=0.4280, H=0.3986, M=0.1466, Q=0.1539, S=0.2839, T=0.3704, W=0.2603. +- variates skill: multivariate=0.3711, univariate=0.3602. +- Outcome: Fixed coefficient-one zero-extended E10712000-E80control12000 transfer onto E114firstmember; no optimizer update. Ensemble selection recorded separately. + +## E117 long-seasonal matched transfer12000 valid_backcast3 +- Checkpoint SHA-256: `8a2b252b733cc79c31778ea27ba00fbe61206fef50454514b667c54a928d80a4`. +- Evaluation: 93 configurations, 8812 instances, 0 failed configurations; 30.16946768760681 seconds. +- Overall skill 0.391080; relative MASE 0.738672; relative WQL 0.501959. +- term skill: long=0.3957, medium=0.3634, short=0.3994. +- domain skill: Econ/Fin=0.1854, Energy=0.3237, Healthcare=0.2319, Nature=0.4975, Sales=0.4068, Transport=0.5154, Web/CloudOps=0.3948. +- frequency skill: A=0.3628, D=0.4472, H=0.4084, M=0.1398, Q=0.2640, S=0.2757, T=0.4328, W=0.2481. +- variates skill: multivariate=0.3752, univariate=0.4033. +- Outcome: Fixed coefficient-one zero-extended E10712000-E80control12000 transfer onto E114firstmember; no optimizer update. Ensemble selection recorded separately. + +## E120 no-seasonal-feature ablation valid_screen +- Checkpoint SHA-256: `5d016bdaaae5682039289ff9d0078b8e7361a85c7d073cb3d1d172a682696635`. +- Evaluation: 97 configurations, 9473 instances, 0 failed configurations; 25.446512699127197 seconds. +- Overall skill 0.379037; relative MASE 0.743615; relative WQL 0.518542. +- term skill: long=0.4013, medium=0.4070, short=0.3591. +- domain skill: Econ/Fin=0.1239, Energy=0.2394, Healthcare=0.4687, Nature=0.4304, Sales=0.3369, Transport=0.4663, Web/CloudOps=0.5035. +- frequency skill: A=0.3682, D=0.3569, H=0.3975, M=0.1045, Q=0.1916, S=0.4253, T=0.4375, W=0.2293. +- variates skill: multivariate=0.3973, univariate=0.3641. +- Outcome: Ablated minus original E1076000 skill -0.003237981869. Only the three newly introduced query/head tensors removed; all common weights identical. Diagnostic only; no optimizer update or publication. + +## E120 no-seasonal-feature ablation valid_backcast +- Checkpoint SHA-256: `5d016bdaaae5682039289ff9d0078b8e7361a85c7d073cb3d1d172a682696635`. +- Evaluation: 97 configurations, 9330 instances, 0 failed configurations; 25.945672273635864 seconds. +- Overall skill 0.335291; relative MASE 0.798422; relative WQL 0.553388. +- term skill: long=0.3978, medium=0.3572, short=0.3008. +- domain skill: Econ/Fin=0.1449, Energy=0.2271, Healthcare=0.4135, Nature=0.3656, Sales=0.3969, Transport=0.3715, Web/CloudOps=0.4497. +- frequency skill: A=0.3114, D=0.3509, H=0.3670, M=0.1826, Q=0.2353, S=0.3420, T=0.3323, W=0.2844. +- variates skill: multivariate=0.3521, univariate=0.3216. +- Outcome: Ablated minus original E1076000 skill -0.004561070524. Only the three newly introduced query/head tensors removed; all common weights identical. Diagnostic only; no optimizer update or publication. + +## E120 no-seasonal-feature ablation valid_backcast2 +- Checkpoint SHA-256: `5d016bdaaae5682039289ff9d0078b8e7361a85c7d073cb3d1d172a682696635`. +- Evaluation: 94 configurations, 8934 instances, 0 failed configurations; 26.085110902786255 seconds. +- Overall skill 0.358680; relative MASE 0.770361; relative WQL 0.533894. +- term skill: long=0.3640, medium=0.3891, short=0.3445. +- domain skill: Econ/Fin=0.0925, Energy=0.2359, Healthcare=0.3637, Nature=0.4703, Sales=0.5469, Transport=0.4203, Web/CloudOps=0.4325. +- frequency skill: A=0.3460, D=0.4234, H=0.3903, M=0.1635, Q=0.1471, S=0.2816, T=0.3596, W=0.2637. +- variates skill: multivariate=0.3624, univariate=0.3556. +- Outcome: Ablated minus original E1076000 skill -0.004574561662. Only the three newly introduced query/head tensors removed; all common weights identical. Diagnostic only; no optimizer update or publication. + +## E120 no-seasonal-feature ablation valid_backcast3 +- Checkpoint SHA-256: `5d016bdaaae5682039289ff9d0078b8e7361a85c7d073cb3d1d172a682696635`. +- Evaluation: 93 configurations, 8812 instances, 0 failed configurations; 23.88756275177002 seconds. +- Overall skill 0.390053; relative MASE 0.735691; relative WQL 0.505695. +- term skill: long=0.3964, medium=0.3611, short=0.3982. +- domain skill: Econ/Fin=0.1627, Energy=0.3183, Healthcare=0.2887, Nature=0.5063, Sales=0.3981, Transport=0.5070, Web/CloudOps=0.3912. +- frequency skill: A=0.3574, D=0.4489, H=0.4042, M=0.1424, Q=0.2562, S=0.2901, T=0.4282, W=0.2599. +- variates skill: multivariate=0.3722, univariate=0.4037. +- Outcome: Ablated minus original E1076000 skill -0.004445083448. Only the three newly introduced query/head tensors removed; all common weights identical. Diagnostic only; no optimizer update or publication. + +E120 completed diagnostic {"experiment": "E120 fixed inference ablation", "pid": 19358, "status": "complete", "optimizer_updates": 0, "checkpoint_sha256": "5d016bdaaae5682039289ff9d0078b8e7361a85c7d073cb3d1d172a682696635", "seconds": 313.96637652395293, "comparisons": [{"cutoff": "valid_screen", "ablated_skill": 0.37903668535385004, "original_skill": 0.38227466722292214, "ablation_delta": -0.003237981869072093}, {"cutoff": "valid_backcast", "ablated_skill": 0.335291468009684, "original_skill": 0.33985253853394604, "ablation_delta": -0.004561070524262023}, {"cutoff": "valid_backcast2", "ablated_skill": 0.3586801668029278, "original_skill": 0.3632547284652886, "ablation_delta": -0.00457456166236081}, {"cutoff": "valid_backcast3", "ablated_skill": 0.3900533276391289, "original_skill": 0.3944984110874522, "ablation_delta": -0.004445083448323284}]}. Preparation {"method": "inference-only ablation: disable long seasonal query and median head", "removed_parameters": ["long_head.bias", "long_head.weight", "long_query.weight"], "parent_sha256": "ad45e0cfae574d3dc1be0b9720c9be0863db9ffe33891fdb22c86dfa83667253", "common_weights_bitwise_equal": true, "equivalent_to_zeroing_added_tensors": true, "fixture_max_normalized_quantile_change": 0.3484839200973511, "seed": 593, "optimizer_updates": 0, "validation_data_read": false, "seconds": 1.7483407920226455, "checkpoint_sha256": "5d016bdaaae5682039289ff9d0078b8e7361a85c7d073cb3d1d172a682696635", "parameters": 36800800}. No model selection or inference rule change made from this ablation. + +E117 final12000 ensemble selection decision: main0.3877185003381878(+0.000130743),earlier0.3429732095231861(+0.000057334),0.3674637814642573(+0.000149912),0.3907349048993719(-0.000029547) versus6000. Three small gains and a smaller oldest-cutoff regression justify full public replay of the predeclared endpoint. No new duration or coefficient searched. Keep published6000 unless complete full validation improves and all package checks pass. + +E117 final-duration diagnostic comparison [{"cutoff": "valid_screen", "skill_score": 0.3877185003381878, "rel_mase_gmean": 0.7337351974885521, "rel_wql_gmean": 0.5109317858967326, "groups": {"term": {"short": 0.3707558524930944, "medium": 0.4098771901633257, "long": 0.408606031650835}, "domain": {"Econ/Fin": 0.14892832484818552, "Energy": 0.2472971852687753, "Healthcare": 0.4803016863042562, "Nature": 0.44452367697019235, "Sales": 0.34469848608770726, "Transport": 0.4720713678216161, "Web/CloudOps": 0.5074289619200675}, "freq": {"A-DEC": 0.37644303940062507, "Q-DEC": 0.20040073790916524, "M": 0.11941330678885598, "W-SUN": 0.1251202483389996, "D": 0.37055191866195825, "H": 0.40349640640320394, "15T": 0.21781231621749508, "W-FRI": 0.015126576068462239, "10T": 0.6280390649679213, "W-TUE": 0.6163537412047071, "W-THU": 0.20809838353336907, "W-WED": 0.3286161379110919, "5T": 0.5222559385117231, "10S": 0.4255389538943257}}, "member_checkpoint_hashes": ["8a2b252b733cc79c31778ea27ba00fbe61206fef50454514b667c54a928d80a4", "308389b7217c080af9eb185559d4ee3cafa0f3e0f8c4dd8f5526b68198c89988", "1a2fb20a9fb5cae6526f2e36ea47559626bece78fd9c284899836505030ae9fe"], "cpu_seconds": 2.2789630780462176, "delta_vs_6000": 0.00013074338250540496}, {"cutoff": "valid_backcast", "skill_score": 0.3429732095231861, "rel_mase_gmean": 0.7903406487887271, "rel_wql_gmean": 0.546200178449458, "groups": {"term": {"short": 0.3103732976664231, "medium": 0.36211673724743143, "long": 0.40386614844229607}, "domain": {"Econ/Fin": 0.1793467759174172, "Energy": 0.23278752845843642, "Healthcare": 0.4053028690714259, "Nature": 0.38023084245127514, "Sales": 0.4085492421507243, "Transport": 0.3767345389715574, "Web/CloudOps": 0.45420439383545774}, "freq": {"A-DEC": 0.3273754770611558, "Q-DEC": 0.23747069130587617, "M": 0.1957831138190873, "W-SUN": 0.07263667297699061, "D": 0.35807825619545863, "H": 0.3747906004450807, "15T": 0.2215635320385274, "W-FRI": 0.22848872660315322, "10T": 0.32771035120558367, "W-TUE": 0.5486117454705075, "W-THU": 0.26369218944162776, "W-WED": 0.36062902681612985, "5T": 0.44514303798334387, "10S": 0.34786208551915265}}, "member_checkpoint_hashes": ["8a2b252b733cc79c31778ea27ba00fbe61206fef50454514b667c54a928d80a4", "308389b7217c080af9eb185559d4ee3cafa0f3e0f8c4dd8f5526b68198c89988", "1a2fb20a9fb5cae6526f2e36ea47559626bece78fd9c284899836505030ae9fe"], "cpu_seconds": 2.2636594069190323, "delta_vs_6000": 5.73340647314069e-05}, {"cutoff": "valid_backcast2", "skill_score": 0.3674637814642573, "rel_mase_gmean": 0.7623553176057026, "rel_wql_gmean": 0.5248236072073068, "groups": {"term": {"short": 0.35484310895705573, "medium": 0.3960867437395954, "long": 0.3705980799617601}, "domain": {"Econ/Fin": 0.1277070545929031, "Energy": 0.24205256210757975, "Healthcare": 0.3497431968929344, "Nature": 0.48319278386757325, "Sales": 0.5564586584486519, "Transport": 0.4280488353299794, "Web/CloudOps": 0.4410272745304028}, "freq": {"A-DEC": 0.3355904988679629, "Q-DEC": 0.1585150327453716, "M": 0.17016606054242045, "W-SUN": 0.08409061455177957, "D": 0.43282659921195, "H": 0.39736790791666765, "15T": 0.10774153963042221, "W-FRI": 0.15202567498019182, "10T": 0.5120408099663714, "W-TUE": 0.0966837112065353, "W-THU": 0.3563038710687719, "W-WED": 0.5630246967574166, "5T": 0.4766927315668852, "10S": 0.2867261076297586}}, "member_checkpoint_hashes": ["8a2b252b733cc79c31778ea27ba00fbe61206fef50454514b667c54a928d80a4", "308389b7217c080af9eb185559d4ee3cafa0f3e0f8c4dd8f5526b68198c89988", "1a2fb20a9fb5cae6526f2e36ea47559626bece78fd9c284899836505030ae9fe"], "cpu_seconds": 2.4177008508704603, "delta_vs_6000": 0.0001499115241597737}, {"cutoff": "valid_backcast3", "skill_score": 0.3907349048993719, "rel_mase_gmean": 0.7387169220065166, "rel_wql_gmean": 0.5024982439818847, "groups": {"term": {"short": 0.396276610094657, "medium": 0.3689977724231216, "long": 0.39735893151620383}, "domain": {"Econ/Fin": 0.19020523838220893, "Energy": 0.31728610571853166, "Healthcare": 0.2403015174198082, "Nature": 0.5057342681593209, "Sales": 0.40241599684588714, "Transport": 0.5120862680709422, "Web/CloudOps": 0.3957049292064879}, "freq": {"A-DEC": 0.35800855596973136, "Q-DEC": 0.257067773847507, "M": 0.15038777612792043, "W-SUN": 0.17671013337471464, "D": 0.4432142959019776, "H": 0.4072206064146562, "15T": 0.2549314225171735, "W-FRI": 0.037548757757445705, "10T": 0.6057445314692966, "W-TUE": 0.27568951945628684, "W-THU": 0.333108346801685, "W-WED": 0.37617633114340077, "5T": 0.467212550495147, "10S": 0.29328450918527416}}, "member_checkpoint_hashes": ["8a2b252b733cc79c31778ea27ba00fbe61206fef50454514b667c54a928d80a4", "308389b7217c080af9eb185559d4ee3cafa0f3e0f8c4dd8f5526b68198c89988", "1a2fb20a9fb5cae6526f2e36ea47559626bece78fd9c284899836505030ae9fe"], "cpu_seconds": 2.134492114884779, "delta_vs_6000": -2.954727410864333e-05}]. Advance the predeclared fixed final-duration composition to complete public replay; only an improved verified package can replace the submission. + +## E121 older history for learned seasonal summaries — predeclared +E120 removing the seasonal query/head lowers skill at all four cutoffs by0.00324/0.00456/0.00457/0.00445; a context-metadata audit identifies21configurations with additional potential8cycle support at16384instead of4096. Test longer history only for E107's learned sixteen-cycle summaries. Encoder, metadata, normalization, training loss weighting, positivity and fixed postprocessing remain at4096. Extend only originally full4096 real training contexts with up to16384 preceding observations from the same sampled series/cutoff; preserve original targets, recent contexts, intentional short-context draws, aggregation alignment, random masking draws, source probabilities and all sampler/horizon RNG states exactly. Synthetic windows keep their original generated values with missing extra prefix; no new generator or random draw. For aggregated rows, extend by whole earlier aggregation blocks ending at the same forecast cutoff. Normalize the added prefix with the recent4096 statistics, preserving recent normalized values exactly. No new parameters; initialize from E107's original zero-feature own initialization with only context metadata changed. Match E107 seed197/B64/LR2e-5/12000/paired/originalpack; exact sampler audits permit using completed E107 as control without retraining it. Primary6000,1000/3000diagnostic,12000durability; all earlier cutoffs before selection. Queue after E119 only after CPU/GPU audits. No change to shared published ensemble runtime during E117 replay; any later ensemble packaging must explicitly honor each member's fixed rule-context cap. + +E121 CPU audit {"seed": 599, "sampler_seed": 601, "initial_function_bitwise_equal": true, "initial_loss_bitwise_equal": true, "all_parameter_tensors_bitwise_equal": true, "encoder_and_rule_context": 4096, "summary_context": 16384, "sampler_rows": 5120, "extended_real_rows": 610, "extended_aggregated_rows": 74, "synthetic_rows": 1032, "extra_finite_history_observations": 4575621, "original_recent_contexts_targets_periods_bitwise_equal": true, "original_sampler_and_horizon_rng_states_equal": true, "source_probabilities_bitwise_equal": true, "extra_history_independently_verified_against_same_source_before_cutoff": true, "synthetic_extra_prefix_missing": true, "total_parameters": 36849984, "checkpoint_sha256": "e15ab884442dacf5b0d2017e515732e2569ab3c520ecf465841e5e91bcd0dd88", "seconds": 9.032198722008616, "optimizer_updates": 0, "validation_data_read": false}. + +E121 CPU audit {"seed": 197, "separate_batch_rng_seed": 197, "requested_horizon_seed": 300200, "batches": 100, "rows": 6400, "extended_rows": 824, "shape_counts": {"4096/1024": 23, "2048/1024": 25, "4096/32": 3, "512/128": 3, "4096/128": 7, "1024/128": 2, "512/1024": 7, "4096/512": 9, "1024/1024": 5, "2048/128": 4, "512/32": 2, "2048/512": 6, "2048/32": 3, "512/512": 1}, "actual_training_rng_layout": true, "recent_context_targets_periods_bitwise_equal": true, "all_three_rng_states_bitwise_equal": true, "seconds": 4.592217224882916, "optimizer_updates": 0, "validation_data_read": false}. + +E121 runtime preparation: standalone predict.py uses16384only as the learned-summary input cap; positivity and all fixed transforms explicitly receive recent4096. Shared three_patch_ensemble/runtime remains unchanged during E117replay. If E121 is selected later, its ensemble runtime must honor per-model rule_context; do not publish it through the old hard-coded per-member input/postprocessing path without modifying and validating that path. No new ensemble transfer rule declared. + +## E117 seasonal12000 ensemble full public replay — selected +- Checkpoint SHA-256: `90199d09666c1653819ef17813f69fc4014fca075f99cc3766d24f457b50ca79`. +- Evaluation: 97 configurations, 151170 instances, 0 failed configurations; not separately timed seconds. +- Overall skill 0.384041; relative MASE 0.736336; relative WQL 0.515260. +- term skill: long=0.4028, medium=0.4087, short=0.3669. +- domain skill: Econ/Fin=0.1306, Energy=0.2408, Healthcare=0.4858, Nature=0.4446, Sales=0.3589, Transport=0.4723, Web/CloudOps=0.4993. +- frequency skill: A=0.2968, D=0.3749, H=0.3983, M=0.1452, Q=0.1891, S=0.4255, T=0.4395, W=0.2374. +- variates skill: multivariate=0.3973, univariate=0.3733. +- Outcome: Full skill 0.384041465826 exceeds published 0.383907276221 by 0.000134189605. All97configs151170instances pass; relocation and independent fixed-average composition checks pass. Validation selection only, not held-out reward. + +E117 complete public suite {"package": "/workspace/research/candidate-long-seasonal12-ensemble", "status": "complete", "steps": [{"name": "relocation", "returncode": 0, "seconds": 32.01111192582175}, {"name": "full_public_replay", "returncode": 0, "seconds": 385.4564341898076}, {"name": "independent_long_seasonal_replay", "returncode": 0, "seconds": 46.03750956710428}, {"name": "composition", "returncode": 0, "seconds": 0.3832244158256799}, {"name": "descriptive_comparison", "returncode": 0, "seconds": 0.31505064899101853}], "current_step": "descriptive_comparison", "seconds": 464.2120908219367, "skill": 0.3840414658263811}. Descriptive comparison {"candidate": "/workspace/research/valid-report-long-seasonal12-ensemble.json", "parent": "/workspace/research/valid-report-long-seasonal6-ensemble.json", "candidate_hash": "90199d09666c1653819ef17813f69fc4014fca075f99cc3766d24f457b50ca79", "parent_hash": "2e4fd324abe8fae2bb2b0d93c132b48bc047985da4d05171edbff36d83edb76c", "skill_difference": 0.00013418960530475754, "n_configs": 97, "n_dataset_clusters": 28, "improved_configs": 55, "bootstrap_seed": 317, "bootstrap_samples": 5000, "dataset_cluster_delta_percentiles": {"p025": 2.5936228850581572e-06, "p50": 0.000133406498457056, "p975": 0.0002505207149228361}, "note": "Descriptive resampling only. Adaptive validation selection and reused windows prevent treating this as a held-out significance test."}. Identical runtime/weight hashes verified before atomic publication. Every member forecasts every instance. E101teacher remains frozenE96. + +E121 GPU audit {"seed": 607, "gpu_initial_function_bitwise_equal": true, "gpu_initial_loss_bitwise_equal": true, "max_input_shape": [64, 16384, 1024], "encoder_context": 4096, "loss": 0.2252708375453949, "gradient_norms": {"long_query.weight": 0.005559232551604509, "long_head.weight": 0.013920275494456291, "head.weight": 0.015998471528291702}, "reserved_mib": 6302.0, "allocated_mib": 5788.6318359375, "includes_ema_and_adam_placeholders": true, "lock_wait_seconds": 247.51019481010735, "post_lock_seconds": 9.868129789829254, "seconds": 258.1824177131057, "optimizer_updates": 0, "validation_data_read": false}. Active post-lock wall9.868130s, lockwait247.510195s, no optimizer updates. Queue after E11919255; exactly matched completed E107 remains the control. + +E115early matched diagnostics:1000skill0.376851746607891 versus E800.37680439430493307;3000skill0.3785995231369078 versus E800.37866382508046315. Effects are near zero so far; retain predeclared6000primary and12000durability. E119/E121 remain queued as independent factors, not conditioned on a claimed phase benefit. + +E11016000 matched comparison {"experiment": "E110full-corpus16000 versus E94matched16000", "candidate_skill": 0.35154579999964164, "control_skill": 0.35461566373218645, "skill_delta": -0.0030698637325448086, "candidate_hash": "29daf0a92679ccac5de356e78cdbce9ad7d88fa971229948b131194277972687", "control_hash": "19f9ead156ea9bc4a3edca1303bc5595057b2e1b89ff88e7bb7d9acf39618ba5", "groups": {"term": {"long": 0.002939641461384479, "medium": 0.0044219426650220495, "short": -0.008705471161239875}, "domain": {"Econ/Fin": 0.0077186974426632915, "Energy": 0.00047905371405398967, "Healthcare": -0.08545128617031428, "Nature": -0.006472746365275395, "Sales": 0.0047153529000921734, "Transport": -0.005534397382311318, "Web/CloudOps": 0.01049812646266357}, "frequency": {"A": 0.008032668576188895, "D": -0.0168735229638608, "H": 0.004955057897488513, "M": -0.09069678098773792, "Q": -0.005391239762853384, "S": -0.000881347834741697, "T": 0.008664048847818129, "W": -0.02936746335393836}}}. Full-corpus coverage/volume change remains below the small-pack control at8000and16000; original96000schedule retained. No full-corpus+distillation factorial arm is selected from these results. + +Allowed-pack metadata/offset audit:0.520215079CPU seconds,0optimizer updates,no series values or validation labels read. Both packs retain min16/maxcrop131072, all95directories have no mixed-frequency rows, source probabilities are unchanged. Conditional real-data length-bin total-variation distance=0.008112016801623342. Largest weighted within-source length shifts: taxi_30min, borg_cluster_data_2011, favorita_sales. No packing-boundary or frequency-label explanation for E110regression was found; broader series/crop diversity and stochastic training remain unresolved. Artifact pack_composition_comparison.json. + +Research queue status at2026-10-23T07:29UTC: E119seasonal_dispersion queue19255 waits on E115phase_joint final12000; E121seasonal_history queue20306 waits on E119final12000. E121CPU/GPU audits complete. E120ablation diagnostic complete. E110full-corpus16000 remains below matched E94; no full-corpus+distillation combination launched. Current strongest replayable model remains E117final12000. Refresh packaged journal atomically with identical model/runtime assets. + +E115 predeclared6000primary: skill0.37858897993545326,matched E800.3782887645248565,delta+0.00030021541059677137,SHA25603cf2357994ad0c372408331c08129b1f915d049f924eab9fce43fbd7af532e7,eval27.917009s,logged trainingloop1196.1s. Earlier cutoffs running before any transfer decision; no combined phase/seasonal-summary architecture or transfer coefficient is declared yet. + +## E115 joint phase6000 valid_backcast +- Checkpoint SHA-256: `03cf2357994ad0c372408331c08129b1f915d049f924eab9fce43fbd7af532e7`. +- Evaluation: 97 configurations, 9330 instances, 0 failed configurations; 25.034706830978394 seconds. +- Overall skill 0.334541; relative MASE 0.799530; relative WQL 0.553870. +- term skill: long=0.3988, medium=0.3563, short=0.2994. +- domain skill: Econ/Fin=0.1510, Energy=0.2274, Healthcare=0.4048, Nature=0.3645, Sales=0.3958, Transport=0.3718, Web/CloudOps=0.4480. +- frequency skill: A=0.3123, D=0.3497, H=0.3674, M=0.1732, Q=0.2359, S=0.3416, T=0.3315, W=0.2841. +- variates skill: multivariate=0.3514, univariate=0.3208. +- Outcome: Matched E80 delta -0.000615748726. All three earlier cutoffs regress; reject6000transfer. Finish predeclared12000durability; no combined phase/long-summary runtime or coefficient sweep. + +## E115 joint phase6000 valid_backcast2 +- Checkpoint SHA-256: `03cf2357994ad0c372408331c08129b1f915d049f924eab9fce43fbd7af532e7`. +- Evaluation: 94 configurations, 8934 instances, 0 failed configurations; 26.29227328300476 seconds. +- Overall skill 0.359464; relative MASE 0.769678; relative WQL 0.533062. +- term skill: long=0.3641, medium=0.3901, short=0.3455. +- domain skill: Econ/Fin=0.0960, Energy=0.2364, Healthcare=0.3661, Nature=0.4716, Sales=0.5493, Transport=0.4208, Web/CloudOps=0.4321. +- frequency skill: A=0.3464, D=0.4240, H=0.3920, M=0.1619, Q=0.1475, S=0.2820, T=0.3595, W=0.2656. +- variates skill: multivariate=0.3630, univariate=0.3566. +- Outcome: Matched E80 delta -0.000241820058. All three earlier cutoffs regress; reject6000transfer. Finish predeclared12000durability; no combined phase/long-summary runtime or coefficient sweep. + +## E115 joint phase6000 valid_backcast3 +- Checkpoint SHA-256: `03cf2357994ad0c372408331c08129b1f915d049f924eab9fce43fbd7af532e7`. +- Evaluation: 93 configurations, 8812 instances, 0 failed configurations; 24.796042680740356 seconds. +- Overall skill 0.389560; relative MASE 0.736442; relative WQL 0.505996. +- term skill: long=0.3970, medium=0.3611, short=0.3972. +- domain skill: Econ/Fin=0.1652, Energy=0.3182, Healthcare=0.2782, Nature=0.5064, Sales=0.3978, Transport=0.5062, Web/CloudOps=0.3915. +- frequency skill: A=0.3587, D=0.4447, H=0.4046, M=0.1439, Q=0.2561, S=0.2914, T=0.4277, W=0.2621. +- variates skill: multivariate=0.3724, univariate=0.4028. +- Outcome: Matched E80 delta -0.000107694093. All three earlier cutoffs regress; reject6000transfer. Finish predeclared12000durability; no combined phase/long-summary runtime or coefficient sweep. + +E1156000 selection outcome [{"cutoff": "valid_screen", "skill": 0.37858897993545326, "matched_delta": 0.00030021541059677137}, {"cutoff": "valid_backcast", "skill": 0.3345407161426459, "matched_delta": -0.0006157487262733463}, {"cutoff": "valid_backcast2", "skill": 0.3594639786785041, "matched_delta": -0.00024182005829043174}, {"cutoff": "valid_backcast3", "skill": 0.3895599872359743, "matched_delta": -0.00010769409279154374}]. Reject transfer: main gain is not robust to all three earlier cutoffs. Existing12kdurability checkpoint remains scheduled. + +## E122 original AR prior during fresh146M pretraining — predeclared +The log-uniform slow-AR prior helped a mature patch16 model, but it was not tested as the sole AR law throughout fresh large-model pretraining. E79wide now exceeds37M at48000, while its absolute skill remains below mature models; transferring a late-training prior to an entire random-init schedule is an untested assumption. Compare a fresh146M run that changes only the AR coefficient law in the original20% synthetic stream: U(0.2,0.995), replacing exp(-10**(-U(0,4))). Preserve asymptotic variance scaling, AR branch probability, all other generator components, real windows, source weights, all RNG streams, original own random initialization, seed307/B48/LR2e-4/96000/paired/static-compiled recipe. Control is the already-running E79random_capacity_1024, not a retrained supplied baseline. Reuse its exact model code, initial checkpoint and maximum-shape allocation; no architecture change. Primary48000,4k/8k/16k/24kdiagnostics,72k/96kdurability. Queue only after E79wide finishes96000, replacing an identical memory allocation. CPU audit must show that only synthetic AR rows change and all RNG states/real/non-ARrows match. No new capacity jump, full-corpus combination or teacher is included. + +E122 CPU audit {"seed": 307, "batch_rng_seed": 307, "requested_horizon_seed": 300310, "rows": 4800, "synthetic_ar_rows": 481, "changed_rows": 457, "unchanged_rows": 4343, "only_ar_formula_differs_in_sampler_code": true, "model_code_byte_identical": true, "real_and_non_ar_rows_bitwise_equal": true, "periods_and_rng_states_bitwise_equal": true, "source_probabilities_bitwise_equal": true, "initial_checkpoint_sha256": "c9693619ca6277c26fef3b2bde37ff6796bec97b3af9f94588bbc5ddd329ec90", "seconds": 6.526560466038063, "optimizer_updates": 0, "validation_data_read": false}. Only the AR coefficient expression differs in data.py; model code byte-identical to E79. Reuse the exact already-running E79B48/C4096/H1024 compiled allocation after it completes; no extra GPU-memory fixture or baseline retraining needed for a sampler-only change. + +E111 weekly seed523 candidate training started at 2026-10-23T07:42:47Z, after the preceding trainer exited with its final checkpoint. Settings are unchanged from the declared comparison. + + +### E94 matched48000 learning-rate comparison — 2026-10-23T07:46:50.490098+00:00 + +{ + "experiment": "E94 half-rate versus E79 original-rate fresh146M at48000", + "candidate_skill": 0.36570581958166615, + "control_skill": 0.3685434345005941, + "delta": -0.0028376149189279776, + "candidate_hash": "ea9055d683b93a4691e77bd64d46e301302765673055fd9b32ddb3a3e2f749df", + "control_hash": "227ea80abf17fc81ae191f94e91f6dd7adbc0d837235750b5f5e9cef3dd5472c", + "groups": { + "term": { + "long": -0.006308080487552492, + "medium": 0.0023686540592120497, + "short": -0.0035639256416847287 + }, + "domain": { + "Econ/Fin": -0.0038752234446699507, + "Energy": -0.00047244108396105045, + "Healthcare": 0.0023903022656310835, + "Nature": -0.011893232420320698, + "Sales": 0.024694181264939052, + "Transport": 0.004949441498781182, + "Web/CloudOps": -0.00991799147726491 + }, + "frequency": { + "A": -0.0009237625994724663, + "D": 0.014366973944888062, + "H": -0.0027944742503555053, + "M": -0.04634901411084125, + "Q": 0.013385915439624863, + "S": 0.0019980780959804045, + "T": -0.0036583096822225825, + "W": -0.022089407739222522 + } + }, + "decision": "Early lower-rate advantage reversed; preserve both predeclared96000 schedules. Validation selection only; no new inference or training in this comparison." +} +Logged training-phase wall: E94 10829.8s, E79 11564.9s, both on the shared H100; evaluation38.238023s and37.596497s. No isolated GPU-time claim. + + +### E121 ensemble runtime preparation: first synthetic audit exposed an existing extreme-value composition difference + +At 2026-10-23T07:49:34.397201+00:00, the separate history-aware ensemble runtime matched legacy output on all fixtures and matched standalone composition for ordinary, missing, constant, long-history sign/variance-shift rows. Only deliberately scaled1e22 rows failed independent composition: E71/E93 standalone runtimes replaced nonfinite forecasts before output, while the legacy ensemble replaced nonfinites only after averaging, erasing the finite first member contribution. No validation labels were read, no optimizer steps or publication occurred. Preserved first audit code/log/outputs. The candidate runtime now applies each member's existing finite-value cleanup before averaging; rerun checks ordinary legacy equality and exact standalone composition including extremes. Current published runtime remains unchanged pending candidate full replay. + +E119 learned phase-specific dispersion seed197 training started at 2026-10-23T07:49:44Z, after the preceding trainer exited with its final checkpoint. Settings are unchanged from the declared comparison. + + +## E123 logarithmically spaced requested horizons — predeclared preparation + +2026-10-23T07:50:54.279494+00:00: The current ensemble has lower short-term validation skill than medium/long. E52 already established requested-horizon diversity, but its active prefixes are uniformly betweenH/4 andH, while half of batch horizons are1024. Hypothesis: exposing the same allowed histories/cutoffs to shorter requested horizons improves short-term forecasts without changing source mixture or model. Change only the active half of per-row horizon truncations: reuse each original integer endpoint draw as a quantile, map geometrically frommin(16,max(1,H//4)) toH, then apply the same patch16 rounding. The other half retainH. Consume identical sampler/horizon/batch RNG draws and keep all target values; only mask suffixes earlier. Match completed E80: ownE62initial22c08571978be31ba57368eb983089a40a44d56d4ae5e17da41afd2a761a258c,seed197/B64/LR2e-5/12000/paired/originalgenerator/oldpack. This differs from queuedE113, which shifts cutoffs and contexts only for low-frequency rows. Primary6000,1000/3000diagnostics,12000durability; compare all terms and all four cutoffs before any transfer. No new transfer or horizon-specific inference rule declared. Planned afterE118, no extra concurrent allocation. CPU stream/mask audit before launch; model/runtime/shapes unchanged fromE80, so no redundant GPU allocation fixture. + + +### E123 CPU stream audit and queue — 2026-10-23T07:51:41.253390+00:00 + +{ + "seed": 197, + "horizon_seed": 300200, + "batches": 100, + "rows": 6400, + "changed_masks": 2582, + "contexts_periods_and_retained_targets_bitwise_equal": true, + "sampler_and_horizon_rng_states_bitwise_equal": true, + "finite_targets_only_removed": true, + "model_code_byte_identical": true, + "source_probabilities_bitwise_equal": true, + "control_lengths": { + "mean": 510.11921875, + "median": 505.0, + "at_most32": 0.11453125, + "at_most128": 0.324375, + "above512": 0.4240625, + "empty": 28 + }, + "candidate_lengths": { + "mean": 396.1734375, + "median": 144.0, + "at_most32": 0.20390625, + "at_most128": 0.4959375, + "above512": 0.3, + "empty": 35 + }, + "initial_checkpoint_sha256": "22c08571978be31ba57368eb983089a40a44d56d4ae5e17da41afd2a761a258c", + "seconds": 6.1131663920823485, + "optimizer_updates": 0, + "validation_data_read": false +} +Queued launcher21256/watch21257 afterE118queue18381. Initial/checkpoint/model/runtime unchanged fromE80; no extra concurrent GPU allocation. Seven additional empty-target rows in6400 follow from the shorter masks; the existing finite-target loss handles them without nonfinite loss. No labels used for training or audit. + + +### E121 separate ensemble runtime audit passed — 2026-10-23T07:51:41.253390+00:00 + +{ + "seed": 613, + "generated_utc": "2026-10-23T07:50:46.528945+00:00", + "checks": [ + { + "config": "synthetic_H", + "legacy_ordinary_rows_bitwise": true, + "composition_bitwise": true, + "extreme_legacy_behavior_changed": true, + "finite": true, + "ordered": true, + "n_instances": 12 + }, + { + "config": "synthetic_15T", + "legacy_ordinary_rows_bitwise": true, + "composition_bitwise": true, + "extreme_legacy_behavior_changed": true, + "finite": true, + "ordered": true, + "n_instances": 12 + } + ], + "steps": [ + { + "label": "old_current", + "seconds": 14.261059219017625 + }, + { + "label": "new_current", + "seconds": 15.096283270977437 + }, + { + "label": "mixed", + "seconds": 15.924891367089003 + }, + { + "label": "standalone0", + "seconds": 8.318170101149008 + }, + { + "label": "standalone1", + "seconds": 7.596355753019452 + }, + { + "label": "standalone2", + "seconds": 8.01823993306607 + } + ], + "lock_wait_seconds": 0.000759027898311615, + "seconds": 70.38110470818356, + "optimizer_updates": 0, + "validation_read": false, + "runtime_sha256": "c1876617c78330ba89353f706cfacf7d3671e02a669620a48d9eb7c63e9aa7ef", + "note": "First audit exposed pre-existing final-only nonfinite cleanup: one nonfinite member erased finite member contributions. New runtime matches each standalone member cleanup before averaging. Synthetic fixture only; no forecast-score selection, no publication. Own E107 nonzero weights with E121 history limits verify the extended path." +} +The original failed extreme-value fixture and code are retained. This is infrastructure only, with no model scoring or publication; any later candidate requires full public replay and composition/relocation checks. + + +### E110 matched24000 corpus comparison — 2026-10-23T07:53:20.957033+00:00 + +{ + "experiment": "E110 full corpus versus E94 old pack at24000", + "candidate_skill": 0.35536752960369333, + "control_skill": 0.3554524492447929, + "delta": -8.491964109957895e-05, + "candidate_hash": "076fc28ac9f8ee5d8b2c9bc8336f24163a224e2dd26c11dea6320174d716acad", + "control_hash": "ee69006629037179a8fd6d09233755cb8efceafb0a47494abceceea3cb7fae52", + "groups": { + "term": { + "long": 0.0066183483633208695, + "medium": 0.005359114456888858, + "short": -0.00511225167712015 + }, + "domain": { + "Econ/Fin": 0.01560774310449653, + "Energy": 0.005550732858429663, + "Healthcare": -0.04555123338041678, + "Nature": -0.001542728980177377, + "Sales": -0.0010462981174947927, + "Transport": -0.002019735208625084, + "Web/CloudOps": 0.00285868770816311 + }, + "frequency": { + "A": 0.0014241864241971713, + "D": -0.019689610482476638, + "H": 0.006733299077081645, + "M": -0.06480975110791165, + "Q": -0.0047313751091847545, + "S": -0.00307137574664218, + "T": 0.0058982745621553034, + "W": 0.01652420279074107 + } + }, + "decision": "Earlier deficit nearly disappears; preserve predeclared96000 schedule. No new full-corpus/distillation combination yet." +} +Analysis uses already-completed validation reports, no additional inference or training. + + +### Training-window dynamics audit — 2026-10-23T07:53:20.957033+00:00 + +{ + "seed": 619, + "rows": 10240, + "batches": 160, + "groups": { + "other_frequency_real": { + "rows": 7020, + "median_finite_context": 1024.0, + "context_at_most128": 0.09373219373219373, + "context_above512": 0.6876068376068376, + "median_finite_target": 510.0, + "dynamic_rows": 6892, + "median_abs_recent_change": 0.3054065606608507, + "median_abs_future_change": 0.2920584181814329, + "recent_future_change_correlation": -0.040732554648212585 + }, + "other_frequency_synthetic": { + "rows": 1452, + "median_finite_context": 2048.0, + "context_at_most128": 0.01790633608815427, + "context_above512": 0.8271349862258953, + "median_finite_target": 512.0, + "dynamic_rows": 1449, + "median_abs_recent_change": 0.2098600382721559, + "median_abs_future_change": 0.20923267260726575, + "recent_future_change_correlation": 0.0034826008291495387 + }, + "low_frequency_synthetic": { + "rows": 612, + "median_finite_context": 2048.0, + "context_at_most128": 0.024509803921568627, + "context_above512": 0.8137254901960784, + "median_finite_target": 512.0, + "dynamic_rows": 610, + "median_abs_recent_change": 0.09875074862712509, + "median_abs_future_change": 0.10918120886961286, + "recent_future_change_correlation": 0.16770165507227477 + }, + "low_frequency_real": { + "rows": 1156, + "median_finite_context": 22.0, + "context_at_most128": 0.9160899653979239, + "context_above512": 0.025086505190311418, + "median_finite_target": 39.0, + "dynamic_rows": 757, + "median_abs_recent_change": 0.6538894101925867, + "median_abs_future_change": 0.6044534213626241, + "recent_future_change_correlation": 0.15421289193025312 + } + }, + "seconds": 4.563704397995025, + "generated_utc": "2026-10-23T07:52:57.305581+00:00", + "instrumentation_first640_rows_and_rng_bitwise": true, + "optimizer_updates": 0, + "validation_data_read": false, + "decision": "Descriptive audit only. E113 remains unchanged; no new generator selected." +} +The low-frequency context-length mismatch motivates the already queued E113. The normalized change statistic depends on context length and is descriptive, not evidence that a specific synthetic trend law is wrong. No generator modification is selected. + +## E115 joint phase final12000 backcast_evals +- Checkpoint SHA-256: `3881901e309cfe590e5a38fbf36b6d953f1e447a8c1655d30e2d0dcd53b21947`. +- Evaluation: 97 configurations, 9330 instances, 0 failed configurations; 25.93891978263855 seconds. +- Overall skill 0.336448; relative MASE 0.797586; relative WQL 0.552043. +- term skill: long=0.3976, medium=0.3580, short=0.3028. +- domain skill: Econ/Fin=0.1584, Energy=0.2302, Healthcare=0.4175, Nature=0.3635, Sales=0.3939, Transport=0.3734, Web/CloudOps=0.4481. +- frequency skill: A=0.3169, D=0.3539, H=0.3669, M=0.1794, Q=0.2287, S=0.3432, T=0.3347, W=0.2848. +- variates skill: multivariate=0.3523, univariate=0.3236. +- Outcome: Final main gain does not extend to any of three earlier cutoffs. Reject transfer; entire scheduled12000 run completed. E119 now uses its allocation. + +## E115 joint phase final12000 backcast2_evals +- Checkpoint SHA-256: `3881901e309cfe590e5a38fbf36b6d953f1e447a8c1655d30e2d0dcd53b21947`. +- Evaluation: 94 configurations, 8934 instances, 0 failed configurations; 25.23729419708252 seconds. +- Overall skill 0.360471; relative MASE 0.769208; relative WQL 0.531712. +- term skill: long=0.3639, medium=0.3900, short=0.3474. +- domain skill: Econ/Fin=0.1009, Energy=0.2376, Healthcare=0.3660, Nature=0.4734, Sales=0.5482, Transport=0.4209, Web/CloudOps=0.4327. +- frequency skill: A=0.3494, D=0.4273, H=0.3907, M=0.1606, Q=0.1427, S=0.2811, T=0.3608, W=0.2731. +- variates skill: multivariate=0.3634, univariate=0.3581. +- Outcome: Final main gain does not extend to any of three earlier cutoffs. Reject transfer; entire scheduled12000 run completed. E119 now uses its allocation. + +## E115 joint phase final12000 backcast3_evals +- Checkpoint SHA-256: `3881901e309cfe590e5a38fbf36b6d953f1e447a8c1655d30e2d0dcd53b21947`. +- Evaluation: 93 configurations, 8812 instances, 0 failed configurations; 24.674077033996582 seconds. +- Overall skill 0.387451; relative MASE 0.740469; relative WQL 0.506727. +- term skill: long=0.3956, medium=0.3594, short=0.3947. +- domain skill: Econ/Fin=0.1657, Energy=0.3176, Healthcare=0.2691, Nature=0.5021, Sales=0.3988, Transport=0.5045, Web/CloudOps=0.3895. +- frequency skill: A=0.3495, D=0.4401, H=0.4024, M=0.1393, Q=0.2584, S=0.2912, T=0.4267, W=0.2614. +- variates skill: multivariate=0.3719, univariate=0.3994. +- Outcome: Final main gain does not extend to any of three earlier cutoffs. Reject transfer; entire scheduled12000 run completed. E119 now uses its allocation. + + +### E115 final durability decision — 2026-10-23T07:53:57.917713+00:00 + +{ + "experiment": "E115 final12000 durability", + "results": [ + { + "cutoff": "evals", + "candidate_skill": 0.3778925567049696, + "control_skill": 0.37742394607564755, + "delta": 0.00046861062932201936, + "candidate_hash": "3881901e309cfe590e5a38fbf36b6d953f1e447a8c1655d30e2d0dcd53b21947", + "control_hash": "f11d056b95f1c5eeef174265ebc51742952600e0dae1fa52900860447d5be819", + "groups": { + "term": { + "long": 0.0007551829471643678, + "medium": 0.0005399265973557998, + "short": 0.0003205426244053955 + }, + "domain": { + "Econ/Fin": 0.0026749976350706195, + "Energy": 0.0010280848367260065, + "Healthcare": 0.002513727759610118, + "Nature": 0.0009755955854692244, + "Sales": -0.0010722281827152402, + "Transport": 7.34692219485078e-05, + "Web/CloudOps": -0.0008110839721524599 + }, + "frequency": { + "A": 0.0019621222069610145, + "D": 0.0017268222442292647, + "H": 0.0006945679359758872, + "M": 0.0018297098176588422, + "Q": -0.0003820175145841098, + "S": 0.0005249370631543737, + "T": -0.0001720234383183472, + "W": -0.0011357933291050726 + } + } + }, + { + "cutoff": "backcast_evals", + "candidate_skill": 0.3364479011265926, + "control_skill": 0.33652833730727594, + "delta": -8.04361806833187e-05, + "candidate_hash": "3881901e309cfe590e5a38fbf36b6d953f1e447a8c1655d30e2d0dcd53b21947", + "control_hash": "f11d056b95f1c5eeef174265ebc51742952600e0dae1fa52900860447d5be819", + "groups": { + "term": { + "long": 0.00016716033873442893, + "medium": -0.0007783077314573728, + "short": 9.999343723732235e-05 + }, + "domain": { + "Econ/Fin": 0.0034523972337110465, + "Energy": 0.00019134656742725298, + "Healthcare": -0.0018918585547146316, + "Nature": 6.700484163635334e-05, + "Sales": -0.0008093804403472848, + "Transport": 0.00011479441302009175, + "Web/CloudOps": -0.0007443198776549975 + }, + "frequency": { + "A": 2.8931234940632322e-05, + "D": 0.0015561664379444284, + "H": 6.460395876151104e-05, + "M": -0.001121458080245663, + "Q": 0.00010242765184809155, + "S": 0.0013966664704375686, + "T": -0.0012845052122840706, + "W": 7.914588676039003e-05 + } + } + }, + { + "cutoff": "backcast2_evals", + "candidate_skill": 0.36047103767996824, + "control_skill": 0.36097346960650367, + "delta": -0.0005024319265354293, + "candidate_hash": "3881901e309cfe590e5a38fbf36b6d953f1e447a8c1655d30e2d0dcd53b21947", + "control_hash": "f11d056b95f1c5eeef174265ebc51742952600e0dae1fa52900860447d5be819", + "groups": { + "term": { + "long": -0.0006005654328086196, + "medium": -0.0002021528350056867, + "short": -0.0005915736701820329 + }, + "domain": { + "Econ/Fin": 6.3013984400450695e-06, + "Energy": -0.0009007624833653471, + "Healthcare": 0.0047114825921613646, + "Nature": -0.0015395945891927276, + "Sales": 0.00014432948317333327, + "Transport": 0.0005150338454551484, + "Web/CloudOps": -0.0012703692235170871 + }, + "frequency": { + "A": -0.0015608772340366395, + "D": 0.00030188862261526506, + "H": 0.0001943772823068679, + "M": -0.0005187099890650027, + "Q": -0.0005106669012917564, + "S": 0.0009339296164969646, + "T": -0.0017296888300678548, + "W": -0.00136940093009974 + } + } + }, + { + "cutoff": "backcast3_evals", + "candidate_skill": 0.387451491496983, + "control_skill": 0.3874814849803516, + "delta": -2.9993483368628837e-05, + "candidate_hash": "3881901e309cfe590e5a38fbf36b6d953f1e447a8c1655d30e2d0dcd53b21947", + "control_hash": "f11d056b95f1c5eeef174265ebc51742952600e0dae1fa52900860447d5be819", + "groups": { + "term": { + "long": 0.00030593631400455124, + "medium": 0.0002832620919390738, + "short": -0.0002578885558356392 + }, + "domain": { + "Econ/Fin": 0.0007833141379801623, + "Energy": -0.0006056144184419798, + "Healthcare": -0.0027216797213800437, + "Nature": 0.00048301125176675175, + "Sales": -8.841270514148292e-05, + "Transport": 0.0003993064983340844, + "Web/CloudOps": 0.0003902518340567207 + }, + "frequency": { + "A": 0.0016810475853026308, + "D": -0.00056261654858758, + "H": -0.00019302241203689174, + "M": 0.002605153074515587, + "Q": -0.0012757918233360366, + "S": 0.0028281089083405098, + "T": -0.000444785271267234, + "W": 0.0005135461601460944 + } + } + } + ], + "mean_diagnostic_skill_delta": -3.606274031633938e-05, + "decision": "Reject transfer; main-only gain, all three earlier diagnostics lower. E115 complete, no combined phase/seasonal model created." +} +Trainingloop2333.941144s; process2350.583369s on sharedH100. No transfer assembled or published. + + +### E111 seed523 matched3000 diagnostic + +{ + "experiment": "E111 seed523 weekly synthesis at3000", + "candidate_skill": 0.3797743795241497, + "control_skill": 0.37742318829464827, + "delta": 0.002351191229501448, + "candidate_hash": "ba3fcd7179fb75b8b62a3907ef4dff96c49145d230bf299c2fc36f362b85ebd3", + "control_hash": "feaf2ac11b13882c968b73d445e377276bb0278c9a59e1345806ac33f90e1901", + "groups": { + "term": { + "long": -0.0003734133982308263, + "medium": -0.00016266512388696253, + "short": 0.004502223173963982 + }, + "domain": { + "Econ/Fin": -0.004187422115931705, + "Energy": 0.0001287333424395687, + "Healthcare": 0.040625614337162164, + "Nature": 0.0017461734714656618, + "Sales": 0.0005922345668298856, + "Transport": 0.0003277958817268223, + "Web/CloudOps": -0.001337662723777444 + }, + "frequency": { + "A": -0.00028746342219676535, + "D": -3.56775488330463e-05, + "H": -6.780036292286518e-05, + "M": 0.02708306492322632, + "Q": 0.00040066853047870943, + "S": 3.753362014269346e-05, + "T": -0.0001576457412183485, + "W": 0.021646690122148926 + } + }, + "decision": "Positive early replication; wait primary6000 and earlier cutoffs. No new transfer/averaging rule." +} +Uses completed watcher reports only; no additional training or inference. + + +## E124 equal-seed weekly correction — predeclared conditional selection + +Hypothesis: averaging the matched weekly-synthetic training differences across seeds197 and523 reduces seed-specific noise without adding inference cost. Freeze the current E117final12000 first member as base (SHA8a2b252b733cc79c31778ea27ba00fbe61206fef50454514b667c54a928d80a4). One candidate, coefficient0.5, duration6000 only: base +0.5*((weekly523_6000-control523_6000)-(weekly197_6000-control197_6000)). Apply this to shared parameters only; the base's three added long-seasonal tensors stay bitwise unchanged. Existing spectral/slow-AR/long-seasonal corrections remain present. E71patch8_6000/E93split_12000 stay unchanged, fixed equal three-member output average, all members forecast every instance. No coefficient/duration sweep. + +Proceed only if E111primary6000 beats its seed523control on at least3 of4diagnostic cutoffs with positive mean skill difference. Then evaluate the single fixed merged checkpoint and equal ensemble at all four cutoffs; advance to full replay only for at least3of4ensemble gains and positive mean versus immutableE117final12000. Publication additionally requires full97configuration improvement, no failures, relocation/determinism and independent composition checks. No optimizer updates or validation training. The comparison of3k is already positive; primary6k and earlier candidate metrics are still unavailable at declaration. Use the unchanged published ensemble runtime for this study; the separately prepared E121runtime is a different factor. +Declared 2026-10-23T07:57:32.400427+00:00. + + +### E119 matched3000 dispersion diagnostic + +{ + "experiment": "E119 dispersion versus E107 at3000", + "candidate_skill": 0.3815441525201153, + "control_skill": 0.3817505923699258, + "delta": -0.00020643984981050245, + "candidate_hash": "a78e34a619ace1c6ba1867d98496b7537c8ce8e449444e42ce7eb9e09f8f1a54", + "control_hash": "92e575ca3cb053d9bdf75a010d83ded0025fe97c906fb9930c74dc1a28e1e892", + "groups": { + "term": { + "long": -1.2229681438435946e-05, + "medium": 7.023840094277922e-05, + "short": -0.0003995973540478204 + }, + "domain": { + "Econ/Fin": 0.00027946829089275926, + "Energy": -7.99416262584618e-05, + "Healthcare": -0.0020021058239552136, + "Nature": -0.00020712969475200627, + "Sales": -4.6786221165273645e-05, + "Transport": 0.00018673388204337726, + "Web/CloudOps": -0.0003041789689921526 + }, + "frequency": { + "A": 0.00036916672182307764, + "D": -0.0009145361219375925, + "H": -0.00031670885705470386, + "M": 0.00037779472561139116, + "Q": 0.00012017765676031189, + "S": -0.000309243994029762, + "T": 4.948408615323974e-05, + "W": 0.0003294878154047609 + } + }, + "decision": "No early gain; retain predeclared6000primary/12000durability. No transfer." +} +Comparison uses completed reports only; no additional inference or optimizer updates. + + +### Frozen-teacher compiler audit — engineering preparation, no training change + +Hypothesis: compiling the three frozen E96 teacher forwards can reduce the large per-update cost of E101. Benchmark the existing eager teacher versus torch.compile(fullgraph=True,dynamic=False) on locally generated fixture contexts/targets at training shapes, with unchanged E96 weights, sign pairing, finite masks and forecast lengths. Compare quantiles/masks and shared-H100 timing; no validation data or optimizer updates. This does not authorize silently changing the active E101 implementation. If outputs differ, any later adoption must be explicitly recorded and evaluated as a continuation variant. No compiler target or training coefficient is changed by this audit. + +## E111 primary6000 candidate valid_backcast +- Checkpoint SHA-256: `8c67d1285a467d32a4e758292bb1668dbaaa96c3fd6599a04653285db2e67792`. +- Evaluation: 97 configurations, 9330 instances, 0 failed configurations; 24.258385181427002 seconds. +- Overall skill 0.336681; relative MASE 0.798249; relative WQL 0.551197. +- term skill: long=0.3978, medium=0.3581, short=0.3031. +- domain skill: Econ/Fin=0.1578, Energy=0.2287, Healthcare=0.4099, Nature=0.3658, Sales=0.3992, Transport=0.3748, Web/CloudOps=0.4492. +- frequency skill: A=0.3239, D=0.3524, H=0.3666, M=0.1758, Q=0.2291, S=0.3414, T=0.3354, W=0.2922. +- variates skill: multivariate=0.3524, univariate=0.3239. +- Outcome: Independent-seed matched replication; no validation training. Four-cutoff comparison determines the predeclared E124 gate. + +## E111 primary6000 control valid_backcast +- Checkpoint SHA-256: `674137ac14bce26f6983cb68123e34d01ca598bb3ad72e81cbd197d138ed6104`. +- Evaluation: 97 configurations, 9330 instances, 0 failed configurations; 25.904212474822998 seconds. +- Overall skill 0.336863; relative MASE 0.797598; relative WQL 0.551344. +- term skill: long=0.3975, medium=0.3578, short=0.3036. +- domain skill: Econ/Fin=0.1614, Energy=0.2300, Healthcare=0.4123, Nature=0.3633, Sales=0.3981, Transport=0.3741, Web/CloudOps=0.4494. +- frequency skill: A=0.3229, D=0.3533, H=0.3666, M=0.1824, Q=0.2284, S=0.3417, T=0.3358, W=0.2875. +- variates skill: multivariate=0.3531, univariate=0.3237. +- Outcome: Independent-seed matched replication; no validation training. Four-cutoff comparison determines the predeclared E124 gate. + +## E111 primary6000 candidate valid_backcast2 +- Checkpoint SHA-256: `8c67d1285a467d32a4e758292bb1668dbaaa96c3fd6599a04653285db2e67792`. +- Evaluation: 94 configurations, 8934 instances, 0 failed configurations; 24.067421197891235 seconds. +- Overall skill 0.358345; relative MASE 0.770722; relative WQL 0.534203. +- term skill: long=0.3618, medium=0.3869, short=0.3456. +- domain skill: Econ/Fin=0.1061, Energy=0.2376, Healthcare=0.3412, Nature=0.4706, Sales=0.5470, Transport=0.4219, Web/CloudOps=0.4299. +- frequency skill: A=0.3474, D=0.4283, H=0.3890, M=0.1688, Q=0.1508, S=0.2742, T=0.3595, W=0.2563. +- variates skill: multivariate=0.3623, univariate=0.3551. +- Outcome: Independent-seed matched replication; no validation training. Four-cutoff comparison determines the predeclared E124 gate. + +## E111 primary6000 control valid_backcast2 +- Checkpoint SHA-256: `674137ac14bce26f6983cb68123e34d01ca598bb3ad72e81cbd197d138ed6104`. +- Evaluation: 94 configurations, 8934 instances, 0 failed configurations; 23.221482515335083 seconds. +- Overall skill 0.359281; relative MASE 0.770398; relative WQL 0.532868. +- term skill: long=0.3623, medium=0.3874, short=0.3469. +- domain skill: Econ/Fin=0.1069, Energy=0.2374, Healthcare=0.3682, Nature=0.4678, Sales=0.5477, Transport=0.4215, Web/CloudOps=0.4305. +- frequency skill: A=0.3465, D=0.4288, H=0.3891, M=0.1732, Q=0.1502, S=0.2762, T=0.3596, W=0.2634. +- variates skill: multivariate=0.3628, univariate=0.3565. +- Outcome: Independent-seed matched replication; no validation training. Four-cutoff comparison determines the predeclared E124 gate. + +## E111 primary6000 candidate valid_backcast3 +- Checkpoint SHA-256: `8c67d1285a467d32a4e758292bb1668dbaaa96c3fd6599a04653285db2e67792`. +- Evaluation: 93 configurations, 8812 instances, 0 failed configurations; 24.324751377105713 seconds. +- Overall skill 0.389207; relative MASE 0.737424; relative WQL 0.505907. +- term skill: long=0.3942, medium=0.3592, short=0.3983. +- domain skill: Econ/Fin=0.1642, Energy=0.3173, Healthcare=0.2941, Nature=0.5034, Sales=0.3981, Transport=0.5056, Web/CloudOps=0.3912. +- frequency skill: A=0.3470, D=0.4390, H=0.4042, M=0.1470, Q=0.2543, S=0.2835, T=0.4301, W=0.2684. +- variates skill: multivariate=0.3734, univariate=0.4014. +- Outcome: Independent-seed matched replication; no validation training. Four-cutoff comparison determines the predeclared E124 gate. + +## E111 primary6000 control valid_backcast3 +- Checkpoint SHA-256: `674137ac14bce26f6983cb68123e34d01ca598bb3ad72e81cbd197d138ed6104`. +- Evaluation: 93 configurations, 8812 instances, 0 failed configurations; 23.96277379989624 seconds. +- Overall skill 0.389075; relative MASE 0.736946; relative WQL 0.506454. +- term skill: long=0.3937, medium=0.3598, short=0.3979. +- domain skill: Econ/Fin=0.1644, Energy=0.3181, Healthcare=0.2751, Nature=0.5053, Sales=0.3977, Transport=0.5053, Web/CloudOps=0.3920. +- frequency skill: A=0.3453, D=0.4399, H=0.4047, M=0.1292, Q=0.2542, S=0.2852, T=0.4297, W=0.2702. +- variates skill: multivariate=0.3739, univariate=0.4008. +- Outcome: Independent-seed matched replication; no validation training. Four-cutoff comparison determines the predeclared E124 gate. + + +### E111 primary replication / E124 conditional gate outcome — 2026-10-23T08:04:25.847630+00:00 + +{ + "results": [ + { + "cutoff": "valid_screen", + "candidate_skill": 0.37996963634005054, + "control_skill": 0.3764059869702334, + "delta": 0.0035636493698171234, + "candidate_hash": "8c67d1285a467d32a4e758292bb1668dbaaa96c3fd6599a04653285db2e67792", + "control_hash": "674137ac14bce26f6983cb68123e34d01ca598bb3ad72e81cbd197d138ed6104" + }, + { + "cutoff": "valid_backcast", + "candidate_skill": 0.3366810094726821, + "control_skill": 0.33686271636038767, + "delta": -0.0001817068877055794, + "candidate_hash": "8c67d1285a467d32a4e758292bb1668dbaaa96c3fd6599a04653285db2e67792", + "control_hash": "674137ac14bce26f6983cb68123e34d01ca598bb3ad72e81cbd197d138ed6104" + }, + { + "cutoff": "valid_backcast2", + "candidate_skill": 0.3583446416420619, + "control_skill": 0.3592811180029256, + "delta": -0.0009364763608636917, + "candidate_hash": "8c67d1285a467d32a4e758292bb1668dbaaa96c3fd6599a04653285db2e67792", + "control_hash": "674137ac14bce26f6983cb68123e34d01ca598bb3ad72e81cbd197d138ed6104" + }, + { + "cutoff": "valid_backcast3", + "candidate_skill": 0.38920731977391243, + "control_skill": 0.38907521863271344, + "delta": 0.00013210114119899252, + "candidate_hash": "8c67d1285a467d32a4e758292bb1668dbaaa96c3fd6599a04653285db2e67792", + "control_hash": "674137ac14bce26f6983cb68123e34d01ca598bb3ad72e81cbd197d138ed6104" + } + ], + "mean_skill_delta": 0.0006443918156117112, + "decision": "E124 not run: primary E111replication has only2of4positive cutoffs, failing predeclared3of4gate despite positive mean. No merged checkpoint, no ensemble probe/full replay or publication. E11112000durability remains planned." +} +E124selection runner 326.826085990062seconds wall including waiting; only E111diagnostic inference was performed. E124model algebra, CPUforward and ensemble/full-suite code were prepared but not executed. + + +## E125 seasonal-query versus direct-median contribution — predeclared diagnostic + +2026-10-23T08:05:46.953758+00:00: E120 established that removing both learned seasonal paths hurts all four cutoffs. Resolve which path drives that effect using two fixed inference ablations of the immutable E107EMA6000(ad45e0cfae574d3dc1be0b9720c9be0863db9ffe33891fdb22c86dfa83667253): (a)zero long_query.weight only, leaving learned direct median gates; (b)zero long_head.weight and bias only, leaving decoder query features. All other weights, model graph, normalization and fixed forecast rules stay unchanged. No optimizer updates, no new training data or coefficients. CPUfixture seed647 checks unchanged tensors, identical normalization, finite ordered forecasts and nonzero functional change; then evaluate all four cutoffs. This is a mechanism diagnostic, not an automatic publication candidate or transfer. Any follow-up architecture decision must be declared separately. + +## E125 seasonal_no_query6k evals +- Checkpoint SHA-256: `3670e55131f07c6d4b31daaeb57e6678c3722d0eb11308f7cadc3b01730dc8e4`. +- Evaluation: 97 configurations, 9473 instances, 0 failed configurations; 27.681535482406616 seconds. +- Overall skill 0.381850; relative MASE 0.739570; relative WQL 0.516664. +- term skill: long=0.4049, medium=0.4080, short=0.3624. +- domain skill: Econ/Fin=0.1268, Energy=0.2410, Healthcare=0.4571, Nature=0.4342, Sales=0.3405, Transport=0.4758, Web/CloudOps=0.5052. +- frequency skill: A=0.3682, D=0.3687, H=0.4005, M=0.1021, Q=0.1933, S=0.4260, T=0.4394, W=0.2208. +- variates skill: multivariate=0.3987, univariate=0.3681. +- Outcome: Fixed component ablation of E1076000; mechanism diagnostic only, no training or automatic publication. + +## E125 seasonal_no_query6k backcast_evals +- Checkpoint SHA-256: `3670e55131f07c6d4b31daaeb57e6678c3722d0eb11308f7cadc3b01730dc8e4`. +- Evaluation: 97 configurations, 9330 instances, 0 failed configurations; 26.842697381973267 seconds. +- Overall skill 0.339286; relative MASE 0.794169; relative WQL 0.549686. +- term skill: long=0.4023, medium=0.3606, short=0.3049. +- domain skill: Econ/Fin=0.1476, Energy=0.2303, Healthcare=0.3882, Nature=0.3808, Sales=0.4041, Transport=0.3795, Web/CloudOps=0.4509. +- frequency skill: A=0.3114, D=0.3658, H=0.3739, M=0.1675, Q=0.2373, S=0.3420, T=0.3328, W=0.2810. +- variates skill: multivariate=0.3547, univariate=0.3267. +- Outcome: Fixed component ablation of E1076000; mechanism diagnostic only, no training or automatic publication. + +## E125 seasonal_no_query6k backcast2_evals +- Checkpoint SHA-256: `3670e55131f07c6d4b31daaeb57e6678c3722d0eb11308f7cadc3b01730dc8e4`. +- Evaluation: 94 configurations, 8934 instances, 0 failed configurations; 27.00600552558899 seconds. +- Overall skill 0.362807; relative MASE 0.766129; relative WQL 0.529956. +- term skill: long=0.3663, medium=0.3955, short=0.3484. +- domain skill: Econ/Fin=0.0932, Energy=0.2386, Healthcare=0.3622, Nature=0.4806, Sales=0.5520, Transport=0.4264, Web/CloudOps=0.4333. +- frequency skill: A=0.3460, D=0.4301, H=0.3964, M=0.1803, Q=0.1484, S=0.2837, T=0.3610, W=0.2608. +- variates skill: multivariate=0.3655, univariate=0.3606. +- Outcome: Fixed component ablation of E1076000; mechanism diagnostic only, no training or automatic publication. + +## E125 seasonal_no_query6k backcast3_evals +- Checkpoint SHA-256: `3670e55131f07c6d4b31daaeb57e6678c3722d0eb11308f7cadc3b01730dc8e4`. +- Evaluation: 93 configurations, 8812 instances, 0 failed configurations; 27.12690496444702 seconds. +- Overall skill 0.394311; relative MASE 0.730710; relative WQL 0.502059. +- term skill: long=0.3994, medium=0.3622, short=0.4040. +- domain skill: Econ/Fin=0.1623, Energy=0.3228, Healthcare=0.3091, Nature=0.5086, Sales=0.4035, Transport=0.5116, Web/CloudOps=0.3936. +- frequency skill: A=0.3574, D=0.4569, H=0.4096, M=0.1695, Q=0.2587, S=0.2912, T=0.4283, W=0.2619. +- variates skill: multivariate=0.3765, univariate=0.4080. +- Outcome: Fixed component ablation of E1076000; mechanism diagnostic only, no training or automatic publication. + + +## E126 bounded compiled-teacher continuation — predeclared preparation + +2026-10-23T08:12:21.857671+00:00: The synthetic compiler audit shows1.48–2.00x faster frozen E96teacher calls under sharedH100 load, with identical validity masks but non-bitwise quantiles (relative RMSdifference~0.00035–0.00047). E101distillation remains useful at16000:0.363473693 versus matchedE940.354615664. Test numerical training impact before changing the original implementation. Start from immutable complete E101step16000 recovery SHA81e71006dd9cd52612d203e96c8cc658b80118c061b0b5d8720b37da1c3e0935, preserve Adam/EMA/allRNG/prefetched batch and original96000LRschedule, seed307/B48/oldpack/slowAR/paired/studentcompiled/teacherE96coefficient0.5. Only change frozen teacher calls to torch.compile(fullgraph=True,dynamic=False). Stop at17000 (1000new updates), compare with the original E101saved17000 on all four diagnostic cutoffs. Keep the original E101running. + +Before launch, a maxB48C4096H1024 audit with the mature16000student must show finite gradients, loss agreement within0.3%, gradientcosine>.995, identical teacher validity, and reservedmemory<14GiB including Adam/EMA placeholders. A temporary seventh process is permitted only after measuring enough free memory on the same singleH100; no second GPU or additional CPU allocation. This trial makes no publication or automatic takeover. Later adoption requires explicit review of timings/numerical divergence and model forecasts; do not silently combine with teacher-coefficient annealing, teacher refresh, full corpus or another factor. The1000-update probe also warms teacher compiled shapes; report cold compile and training time honestly. + +Completed teacher compiler audit: {"status": "complete", "seed": 641, "teacher_descriptor_sha256": "1503d92ce031ec0c0e0533ece20d0516a0eceb134802d51746e24a44c4b5ee9b", "rows": [{"context": 512, "horizon": 32, "batch": 48, "compile_first_call_seconds": 78.96409600507468, "mask_bitwise_equal": true, "quantiles_bitwise_equal": false, "maximum_absolute_difference": 0.01088714599609375, "mean_absolute_difference": 0.0005115967942401767, "rms_difference": 0.0007116682245396078, "eager_quantile_rms": 1.515346646308899, "valid_rows": 47, "seconds_per_call": {"eager_first": 0.095995718089398, "compiled_first": 0.04834699417309215, "compiled_second": 0.04806781424364696, "eager_second": 0.09657300100661814}, "peak_reserved_mib": 764.0}, {"context": 2048, "horizon": 512, "batch": 48, "compile_first_call_seconds": 70.28295603999868, "mask_bitwise_equal": true, "quantiles_bitwise_equal": false, "maximum_absolute_difference": 0.03644561767578125, "mean_absolute_difference": 0.0005734049482271075, "rms_difference": 0.0012666580732911825, "eager_quantile_rms": 3.636091947555542, "valid_rows": 47, "seconds_per_call": {"eager_first": 0.24695850332500413, "compiled_first": 0.15215913150071478, "compiled_second": 0.1510773518239148, "eager_second": 0.23846306465566158}, "peak_reserved_mib": 1586.0}, {"context": 4096, "horizon": 1024, "batch": 48, "compile_first_call_seconds": 71.95634523383342, "mask_bitwise_equal": true, "quantiles_bitwise_equal": false, "maximum_absolute_difference": 0.05052947998046875, "mean_absolute_difference": 0.0005942085990682244, "rms_difference": 0.001294782035984099, "eager_quantile_rms": 3.725360870361328, "valid_rows": 47, "seconds_per_call": {"eager_first": 0.45826623084334034, "compiled_first": 0.30095767183229327, "compiled_second": 0.34795630965769914, "eager_second": 0.5011981244121367}, "peak_reserved_mib": 2738.0}], "lock_wait_seconds": 0.000400397926568985, "seconds": 271.9287391670514, "generated_utc": "2026-10-23T08:08:27.316747+00:00", "optimizer_updates": 0, "validation_data_read": false, "active_E101_modified": false, "note": "Times are wall-clock measurements under shared single-H100 load, not isolated kernel speed. No training implementation selected by this audit."} + +Immutable16000 recovery snapshot: { + "path": "/workspace/research/distill_ensemble_recovery016000.pt", + "sha256": "81e71006dd9cd52612d203e96c8cc658b80118c061b0b5d8720b37da1c3e0935", + "step": 16000, + "complete_optimizer_ema_rng_prefetched_batch": true, + "verification_and_hash_seconds": 3.710943895857781, + "utc": "2026-10-23T08:07:09.849318+00:00", + "reason": "Immutable branch point for possible later declared distillation schedule/compiler study; no variant selected or launched.", + "note": "Initial copy succeeded at16000; assertion incorrectly expected key ema rather than ema_state. Verified/reused that same immutable temporary copy, without rereading mutable live recovery. No training state modified." +} + + +### E101 matched16000 distillation diagnostic — 2026-10-23T08:13:48.893370+00:00 + +{ + "experiment": "E101 own-ensemble distillation versus E94 at16000", + "candidate_skill": 0.3634736933529894, + "control_skill": 0.35461566373218645, + "delta": 0.008858029620802954, + "candidate_hash": "7adc72c9070576fd9c3d4d0f24f0540426e65b83badbe59537ca0e58b4843d34", + "control_hash": "19f9ead156ea9bc4a3edca1303bc5595057b2e1b89ff88e7bb7d9acf39618ba5", + "groups": { + "term": { + "long": 0.005875203966622888, + "medium": 0.008206541750095275, + "short": 0.010341209368318616 + }, + "domain": { + "Econ/Fin": 0.011618545269489577, + "Energy": 0.012045294079029989, + "Healthcare": 0.03736270098484029, + "Nature": -0.007342708743686921, + "Sales": -8.327111726524894e-05, + "Transport": 0.007870063310169595, + "Web/CloudOps": 0.01106951784068222 + }, + "frequency": { + "A": 0.014232599133729873, + "D": -0.013505393467374338, + "H": 0.011650739340949401, + "M": -0.015525930901423846, + "Q": 0.016462852241035608, + "S": 0.0030705164143619568, + "T": 0.020171322356402066, + "W": 0.004779721931400305 + } + }, + "decision": "Strong update-count gain persists. OriginalE101 recipe stays fixed; separate E126 bounded compiler probe prepared, not coefficient annealing. Shared-wall efficiency requires measured comparison, not update counts alone." +} +E101loop8126.2s at16000; evaluation37.404650s under sharedH100. + + +### E125 component preparation audit + +{ + "seed": 647, + "rows": [ + { + "name": "seasonal_no_query6k", + "checkpoint_sha256": "3670e55131f07c6d4b31daaeb57e6678c3722d0eb11308f7cadc3b01730dc8e4", + "method": "fixed single-component inference ablation", + "zeroed_tensors": [ + "long_query.weight" + ], + "all_other_tensors_bitwise_unchanged": true, + "normalization_bitwise_unchanged": true, + "finite_ordered_fixture": true, + "fixture_maximum_quantile_change": 0.019054830074310303, + "check_seed": 647, + "parent_sha256": "ad45e0cfae574d3dc1be0b9720c9be0863db9ffe33891fdb22c86dfa83667253", + "optimizer_updates": 0, + "validation_data_read": false + }, + { + "name": "seasonal_no_head6k", + "checkpoint_sha256": "97318093a014742f4968ef363909b072748176288da86032153f97601960afcc", + "method": "fixed single-component inference ablation", + "zeroed_tensors": [ + "long_head.weight", + "long_head.bias" + ], + "all_other_tensors_bitwise_unchanged": true, + "normalization_bitwise_unchanged": true, + "finite_ordered_fixture": true, + "fixture_maximum_quantile_change": 0.2622612714767456, + "check_seed": 647, + "parent_sha256": "ad45e0cfae574d3dc1be0b9720c9be0863db9ffe33891fdb22c86dfa83667253", + "optimizer_updates": 0, + "validation_data_read": false + } + ], + "seconds": 2.5344709930941463, + "optimizer_updates": 0, + "validation_data_read": false +} +Controller22069 started08:06:33UTC, awaited compiler audit, now evaluates all four cutoffs for both ablations. + +## E125 seasonal_no_head6k evals +- Checkpoint SHA-256: `97318093a014742f4968ef363909b072748176288da86032153f97601960afcc`. +- Evaluation: 97 configurations, 9473 instances, 0 failed configurations; 31.10630750656128 seconds. +- Overall skill 0.379404; relative MASE 0.743137; relative WQL 0.518263. +- term skill: long=0.4015, medium=0.4071, short=0.3597. +- domain skill: Econ/Fin=0.1249, Energy=0.2395, Healthcare=0.4706, Nature=0.4303, Sales=0.3367, Transport=0.4669, Web/CloudOps=0.5039. +- frequency skill: A=0.3682, D=0.3577, H=0.3975, M=0.1101, Q=0.1913, S=0.4253, T=0.4375, W=0.2295. +- variates skill: multivariate=0.3973, univariate=0.3648. +- Outcome: Fixed component ablation of E1076000; mechanism diagnostic only, no training or automatic publication. + +## E125 seasonal_no_head6k backcast_evals +- Checkpoint SHA-256: `97318093a014742f4968ef363909b072748176288da86032153f97601960afcc`. +- Evaluation: 97 configurations, 9330 instances, 0 failed configurations; 26.683140993118286 seconds. +- Overall skill 0.335854; relative MASE 0.797806; relative WQL 0.552878. +- term skill: long=0.3983, medium=0.3574, short=0.3016. +- domain skill: Econ/Fin=0.1452, Energy=0.2276, Healthcare=0.4119, Nature=0.3667, Sales=0.3969, Transport=0.3728, Web/CloudOps=0.4503. +- frequency skill: A=0.3114, D=0.3508, H=0.3678, M=0.1843, Q=0.2358, S=0.3419, T=0.3329, W=0.2854. +- variates skill: multivariate=0.3526, univariate=0.3222. +- Outcome: Fixed component ablation of E1076000; mechanism diagnostic only, no training or automatic publication. + +## E125 seasonal_no_head6k backcast2_evals +- Checkpoint SHA-256: `97318093a014742f4968ef363909b072748176288da86032153f97601960afcc`. +- Evaluation: 94 configurations, 8934 instances, 0 failed configurations; 25.467807054519653 seconds. +- Overall skill 0.359182; relative MASE 0.769824; relative WQL 0.533430. +- term skill: long=0.3643, medium=0.3894, short=0.3452. +- domain skill: Econ/Fin=0.0923, Energy=0.2361, Healthcare=0.3632, Nature=0.4715, Sales=0.5464, Transport=0.4215, Web/CloudOps=0.4328. +- frequency skill: A=0.3460, D=0.4231, H=0.3914, M=0.1626, Q=0.1474, S=0.2815, T=0.3603, W=0.2637. +- variates skill: multivariate=0.3629, univariate=0.3562. +- Outcome: Fixed component ablation of E1076000; mechanism diagnostic only, no training or automatic publication. + +## E125 seasonal_no_head6k backcast3_evals +- Checkpoint SHA-256: `97318093a014742f4968ef363909b072748176288da86032153f97601960afcc`. +- Evaluation: 93 configurations, 8812 instances, 0 failed configurations; 27.682344436645508 seconds. +- Overall skill 0.390150; relative MASE 0.735335; relative WQL 0.505780. +- term skill: long=0.3966, medium=0.3616, short=0.3981. +- domain skill: Econ/Fin=0.1622, Energy=0.3185, Healthcare=0.2876, Nature=0.5074, Sales=0.3983, Transport=0.5072, Web/CloudOps=0.3905. +- frequency skill: A=0.3574, D=0.4483, H=0.4039, M=0.1441, Q=0.2559, S=0.2900, T=0.4285, W=0.2615. +- variates skill: multivariate=0.3721, univariate=0.4040. +- Outcome: Fixed component ablation of E1076000; mechanism diagnostic only, no training or automatic publication. + +E126 bounded compiled-teacher probe16000to17000 training started at 2026-10-23T08:15:29Z, as an authorized immediate bounded trial; required checkpoint files are present. Settings are unchanged from the declared comparison. + + +## E127 preserve each member's finite forecast fallback before averaging — declared numerical fix + +The E121 synthetic runtime audit exposed an existing composition mismatch on1e22contexts: E71/E93 standalone outputs replace nonfinite forecasts before writing, while the ensemble replaced nonfinites only after averaging, erasing the finite first-member contribution. Stage the checked history_three_patch_ensemble runtime (predict SHA c1876617c78330ba89353f706cfacf7d3671e02a669620a48d9eb7c63e9aa7ef) with exactly the published E117final/E71/E93weights. The added per-member history-cap support is inactive for these4096-context models. No model parameter, training data, source mixture or ensemble weight changes. Fixed inference seed0; synthetic fixture seed613. + +Require a fresh full public replay on97configs/151170instances with0failures, bitwise equality of every mean/quantile array to the existing E117full predictions, relocation/determinism, existing independent three-config member composition, and an independent synthetic extreme-value composition test using the actual published first member. If any ordinary/full output differs, stop and diagnose rather than automatically publish. On success the validation skill is unchanged and the numerical contract is more faithful; publish atomically and record the new runtime hash. This is not a forecast-score gain or a new trained model. + + +### E125 component diagnostic completed — 2026-10-23T08:19:13.642566+00:00 + +[ + { + "name": "seasonal_no_query6k", + "cutoff": "evals", + "skill": 0.3818501008693248, + "control_skill": 0.38227466722292214, + "delta": -0.0004245663535973332, + "checkpoint_sha256": "3670e55131f07c6d4b31daaeb57e6678c3722d0eb11308f7cadc3b01730dc8e4" + }, + { + "name": "seasonal_no_query6k", + "cutoff": "backcast_evals", + "skill": 0.33928591943676045, + "control_skill": 0.33985253853394604, + "delta": -0.0005666190971855833, + "checkpoint_sha256": "3670e55131f07c6d4b31daaeb57e6678c3722d0eb11308f7cadc3b01730dc8e4" + }, + { + "name": "seasonal_no_query6k", + "cutoff": "backcast2_evals", + "skill": 0.3628070915496776, + "control_skill": 0.3632547284652886, + "delta": -0.00044763691561100494, + "checkpoint_sha256": "3670e55131f07c6d4b31daaeb57e6678c3722d0eb11308f7cadc3b01730dc8e4" + }, + { + "name": "seasonal_no_query6k", + "cutoff": "backcast3_evals", + "skill": 0.39431067840000456, + "control_skill": 0.3944984110874522, + "delta": -0.00018773268744765037, + "checkpoint_sha256": "3670e55131f07c6d4b31daaeb57e6678c3722d0eb11308f7cadc3b01730dc8e4" + }, + { + "name": "seasonal_no_head6k", + "cutoff": "evals", + "skill": 0.37940363906366914, + "control_skill": 0.38227466722292214, + "delta": -0.0028710281592529974, + "checkpoint_sha256": "97318093a014742f4968ef363909b072748176288da86032153f97601960afcc" + }, + { + "name": "seasonal_no_head6k", + "cutoff": "backcast_evals", + "skill": 0.33585434720380203, + "control_skill": 0.33985253853394604, + "delta": -0.0039981913301440075, + "checkpoint_sha256": "97318093a014742f4968ef363909b072748176288da86032153f97601960afcc" + }, + { + "name": "seasonal_no_head6k", + "cutoff": "backcast2_evals", + "skill": 0.3591824992979731, + "control_skill": 0.3632547284652886, + "delta": -0.004072229167315533, + "checkpoint_sha256": "97318093a014742f4968ef363909b072748176288da86032153f97601960afcc" + }, + { + "name": "seasonal_no_head6k", + "cutoff": "backcast3_evals", + "skill": 0.3901496414883441, + "control_skill": 0.3944984110874522, + "delta": -0.0043487695991081265, + "checkpoint_sha256": "97318093a014742f4968ef363909b072748176288da86032153f97601960afcc" + } +] +Both ablations lose on all four cutoffs. Removing the direct median head has the larger effect. This is conditional component sensitivity, not an additive causal decomposition; retain both paths. Future direct uncertainty-output features remain a hypothesis, not a selected architecture. Total controllerwall462.65167835797183seconds includes waiting for the compiler audit. + + +### E126 combined mature-student GPU audit and bounded launch + +{ + "seed": 653, + "student_step": 16000, + "teacher_descriptor_sha256": "1503d92ce031ec0c0e0533ece20d0516a0eceb134802d51746e24a44c4b5ee9b", + "batch": 48, + "context": 4096, + "horizon": 1024, + "includes_adam_ema_placeholders": true, + "eager_teacher_loss": 0.20429196953773499, + "compiled_teacher_loss": 0.20429277420043945, + "gradient_cosine": 0.9999876529317515, + "max_gradient_difference": 1.621246337890625e-05, + "teacher_quantile_rms_difference": 0.0016051846323534846, + "teacher_masks_bitwise_equal": true, + "teacher_gradients_absent": true, + "reserved_mib": 10186.0, + "allocated_mib": 10124.892578125, + "free_mib_before_audit": 22865.6875, + "lock_wait_seconds": 5.014136218931526, + "seconds": 55.19193267985247, + "optimizer_updates": 0, + "validation_data_read": false, + "generated_utc": "2026-10-23T08:13:47.847944+00:00" +} +First launcher attempt stopped in the queue argument parser before any trainer started because wait-pid was required. Added an explicit immediate-job mode (empty dependency list) to the shared queue utility; existing queued dependencies are unchanged. Corrected launch22506/watch22507/trainer22508 started08:15:29UTC, free23388MiB. Complete16000state restored; original96k schedule, halt17000. Corrected launch explicitly carries the saved compiler cache environment. Original E101 remains unchanged. + +E113 frequency-scaled short windows seed197 training started at 2026-10-23T08:21:23Z, after the preceding trainer exited with its final checkpoint. Settings are unchanged from the declared comparison. + +E126 numerical diagnostic tolerance declared before either17000validation result: absolute skill difference at most0.0005 on each of the four cutoffs. This is a review criterion, not automatic takeover or a claim of statistical equivalence. Compare matching17000weights and record compile startup separately; shared-H100 training wall is not isolated GPU time. 2026-10-23T08:22:24.705079+00:00 + +## E127 finite-member numerical correction full public replay +- Checkpoint SHA-256: `90199d09666c1653819ef17813f69fc4014fca075f99cc3766d24f457b50ca79`. +- Evaluation: 97 configurations, 151170 instances, 0 failed configurations; not separately timed seconds. +- Overall skill 0.384041; relative MASE 0.736336; relative WQL 0.515260. +- term skill: long=0.4028, medium=0.4087, short=0.3669. +- domain skill: Econ/Fin=0.1306, Energy=0.2408, Healthcare=0.4858, Nature=0.4446, Sales=0.3589, Transport=0.4723, Web/CloudOps=0.4993. +- frequency skill: A=0.2968, D=0.3749, H=0.3983, M=0.1452, Q=0.1891, S=0.4255, T=0.4395, W=0.2374. +- variates skill: multivariate=0.3973, univariate=0.3733. +- Outcome: All97full mean/quantile arrays are bitwise identical to E117. Actual-member extreme synthetic composition now preserves finite first-member contribution; relocation/determinism and real composition pass. No new model training or forecast-score gain. + +E127 full validation suite: {"package": "/workspace/research/candidate-finite-member-ensemble", "status": "complete", "steps": [{"name": "relocation", "returncode": 0, "seconds": 31.570269790943712}, {"name": "full_public_replay", "returncode": 0, "seconds": 365.88558935699984}, {"name": "independent_real_composition", "returncode": 0, "seconds": 0.27913929894566536}, {"name": "full_bitwise_and_extreme_composition", "returncode": 0, "seconds": 99.88748204382136}], "current_step": "full_bitwise_and_extreme_composition", "seconds": 497.63583351206034, "skill": 0.3840414658263811, "full_forecasts_bitwise_equal": true}. RuntimepredictSHA c1876617c78330ba89353f706cfacf7d3671e02a669620a48d9eb7c63e9aa7ef. Publish same trained weights with numerical composition correction; retain immutable E96teacher. + +E119 primary6000 matched four-cutoff comparison: {"rows": [{"cutoff": "evals", "candidate_skill": 0.38225879938174245, "control_skill": 0.38227466722292214, "delta": -1.5867841179684206e-05, "candidate_hash": "6b640ad1ce200544da2d530578e59eb353f8b9dabc5cc98473403cfe7383c49f", "control_hash": "ad45e0cfae574d3dc1be0b9720c9be0863db9ffe33891fdb22c86dfa83667253", "candidate_groups": {"term": {"long": {"n_configs": 21, "rel_mase_gmean": 0.7400506225960969, "rel_wql_gmean": 0.47808876994740046}, "medium": {"n_configs": 21, "rel_mase_gmean": 0.7101268693563747, "rel_wql_gmean": 0.49314710783510285}, "short": {"n_configs": 55, "rel_mase_gmean": 0.7500860933248864, "rel_wql_gmean": 0.5411083364362582}}, "domain": {"Econ/Fin": {"n_configs": 6, "rel_mase_gmean": 0.8886871163750968, "rel_wql_gmean": 0.8551794904776345}, "Energy": {"n_configs": 32, "rel_mase_gmean": 0.8972051207193078, "rel_wql_gmean": 0.6417640311927593}, "Healthcare": {"n_configs": 5, "rel_mase_gmean": 0.578364137997311, "rel_wql_gmean": 0.5117456137390363}, "Nature": {"n_configs": 15, "rel_mase_gmean": 0.8023291284024608, "rel_wql_gmean": 0.3989034387003474}, "Sales": {"n_configs": 4, "rel_mase_gmean": 0.8416251755891729, "rel_wql_gmean": 0.5159970993971862}, "Transport": {"n_configs": 15, "rel_mase_gmean": 0.6323129527317001, "rel_wql_gmean": 0.4332903678255558}, "Web/CloudOps": {"n_configs": 20, "rel_mase_gmean": 0.5615569274522425, "rel_wql_gmean": 0.43470539309584183}}, "frequency": {"A": {"n_configs": 1, "rel_mase_gmean": 0.6177358739303225, "rel_wql_gmean": 0.6470843841362995}, "D": {"n_configs": 15, "rel_mase_gmean": 0.7613833385246014, "rel_wql_gmean": 0.5227797118737059}, "H": {"n_configs": 31, "rel_mase_gmean": 0.7261807487698988, "rel_wql_gmean": 0.4956422642796265}, "M": {"n_configs": 5, "rel_mase_gmean": 0.9602049092528727, "rel_wql_gmean": 0.8288042520798957}, "Q": {"n_configs": 1, "rel_mase_gmean": 0.7839745097436424, "rel_wql_gmean": 0.8298460141507311}, "S": {"n_configs": 6, "rel_mase_gmean": 0.6554424134583847, "rel_wql_gmean": 0.5033779169908231}, "T": {"n_configs": 30, "rel_mase_gmean": 0.6921043444047297, "rel_wql_gmean": 0.45319095997947384}, "W": {"n_configs": 8, "rel_mase_gmean": 0.9031138478320136, "rel_wql_gmean": 0.6694602750281545}}, "variates": {"multivariate": {"n_configs": 43, "rel_mase_gmean": 0.7086008455661859, "rel_wql_gmean": 0.5102395060491531}, "univariate": {"n_configs": 54, "rel_mase_gmean": 0.7643044334835595, "rel_wql_gmean": 0.5212065466992852}}}, "control_groups": {"term": {"long": {"n_configs": 21, "rel_mase_gmean": 0.7402530882128023, "rel_wql_gmean": 0.47826753514082926}, "medium": {"n_configs": 21, "rel_mase_gmean": 0.710265197438745, "rel_wql_gmean": 0.4931672821758772}, "short": {"n_configs": 55, "rel_mase_gmean": 0.7498589240481417, "rel_wql_gmean": 0.5410407688872414}}, "domain": {"Econ/Fin": {"n_configs": 6, "rel_mase_gmean": 0.8892029615768211, "rel_wql_gmean": 0.85541375158805}, "Energy": {"n_configs": 32, "rel_mase_gmean": 0.8972340808013708, "rel_wql_gmean": 0.6419310799963354}, "Healthcare": {"n_configs": 5, "rel_mase_gmean": 0.5749908408040473, "rel_wql_gmean": 0.507856444781463}, "Nature": {"n_configs": 15, "rel_mase_gmean": 0.8028566989060131, "rel_wql_gmean": 0.39889278962700064}, "Sales": {"n_configs": 4, "rel_mase_gmean": 0.8421494671087474, "rel_wql_gmean": 0.5162975438622042}, "Transport": {"n_configs": 15, "rel_mase_gmean": 0.6323849322594254, "rel_wql_gmean": 0.43339253239569303}, "Web/CloudOps": {"n_configs": 20, "rel_mase_gmean": 0.5616650304722973, "rel_wql_gmean": 0.43523931575775593}}, "frequency": {"A": {"n_configs": 1, "rel_mase_gmean": 0.61692642682572, "rel_wql_gmean": 0.6469875043190525}, "D": {"n_configs": 15, "rel_mase_gmean": 0.7604157827225532, "rel_wql_gmean": 0.5223254859979091}, "H": {"n_configs": 31, "rel_mase_gmean": 0.7256889701473604, "rel_wql_gmean": 0.49536285168895955}, "M": {"n_configs": 5, "rel_mase_gmean": 0.9611837530785082, "rel_wql_gmean": 0.8278616039641923}, "Q": {"n_configs": 1, "rel_mase_gmean": 0.7839583182238047, "rel_wql_gmean": 0.830360300010519}, "S": {"n_configs": 6, "rel_mase_gmean": 0.6548591866261223, "rel_wql_gmean": 0.5032338833413911}, "T": {"n_configs": 30, "rel_mase_gmean": 0.6926762306120622, "rel_wql_gmean": 0.45361994505793396}, "W": {"n_configs": 8, "rel_mase_gmean": 0.9042490502981876, "rel_wql_gmean": 0.6703742252767426}}, "variates": {"multivariate": {"n_configs": 43, "rel_mase_gmean": 0.7084778976708436, "rel_wql_gmean": 0.510408775576821}, "univariate": {"n_configs": 54, "rel_mase_gmean": 0.7643134428569803, "rel_wql_gmean": 0.5210866729603522}}}, "eval_seconds": 28.624332427978516}, {"cutoff": "backcast_evals", "candidate_skill": 0.34048229409326713, "control_skill": 0.33985253853394604, "delta": 0.0006297555593210991, "candidate_hash": "6b640ad1ce200544da2d530578e59eb353f8b9dabc5cc98473403cfe7383c49f", "control_hash": "ad45e0cfae574d3dc1be0b9720c9be0863db9ffe33891fdb22c86dfa83667253", "candidate_groups": {"term": {"long": {"n_configs": 21, "rel_mase_gmean": 0.7699386641350829, "rel_wql_gmean": 0.4620092164574338}, "medium": {"n_configs": 21, "rel_mase_gmean": 0.7700252574476023, "rel_wql_gmean": 0.5312660160823937}, "short": {"n_configs": 55, "rel_mase_gmean": 0.8114763680106447, "rel_wql_gmean": 0.5925124306653264}}, "domain": {"Econ/Fin": {"n_configs": 6, "rel_mase_gmean": 0.8851214996579603, "rel_wql_gmean": 0.81706534284058}, "Energy": {"n_configs": 32, "rel_mase_gmean": 0.8880075540028629, "rel_wql_gmean": 0.6669917238344288}, "Healthcare": {"n_configs": 5, "rel_mase_gmean": 0.6607679512516224, "rel_wql_gmean": 0.5676047563389465}, "Nature": {"n_configs": 15, "rel_mase_gmean": 0.9044039298942245, "rel_wql_gmean": 0.4227147422454011}, "Sales": {"n_configs": 4, "rel_mase_gmean": 0.7233763880081109, "rel_wql_gmean": 0.49051933957001853}, "Transport": {"n_configs": 15, "rel_mase_gmean": 0.7306764832685102, "rel_wql_gmean": 0.5237199503158482}, "Web/CloudOps": {"n_configs": 20, "rel_mase_gmean": 0.6585663042744694, "rel_wql_gmean": 0.453530474116577}}, "frequency": {"A": {"n_configs": 1, "rel_mase_gmean": 0.6519157656498028, "rel_wql_gmean": 0.7264149528026873}, "D": {"n_configs": 15, "rel_mase_gmean": 0.820638386519995, "rel_wql_gmean": 0.48899927341307703}, "H": {"n_configs": 31, "rel_mase_gmean": 0.7669137207994428, "rel_wql_gmean": 0.5089765668356441}, "M": {"n_configs": 5, "rel_mase_gmean": 0.8681664151706637, "rel_wql_gmean": 0.7970725004451346}, "Q": {"n_configs": 1, "rel_mase_gmean": 0.7591685936267477, "rel_wql_gmean": 0.7657209715884332}, "S": {"n_configs": 6, "rel_mase_gmean": 0.8528003711266274, "rel_wql_gmean": 0.5088102011002493}, "T": {"n_configs": 30, "rel_mase_gmean": 0.7701790682032242, "rel_wql_gmean": 0.57528943509888}, "W": {"n_configs": 8, "rel_mase_gmean": 0.8741170955888644, "rel_wql_gmean": 0.5874303282064617}}, "variates": {"multivariate": {"n_configs": 43, "rel_mase_gmean": 0.7864590781265922, "rel_wql_gmean": 0.5275771051125318}, "univariate": {"n_configs": 54, "rel_mase_gmean": 0.798685143563512, "rel_wql_gmean": 0.5654498581714905}}}, "control_groups": {"term": {"long": {"n_configs": 21, "rel_mase_gmean": 0.7709573168881856, "rel_wql_gmean": 0.46268425970990196}, "medium": {"n_configs": 21, "rel_mase_gmean": 0.7695230479033899, "rel_wql_gmean": 0.5310215600398799}, "short": {"n_configs": 55, "rel_mase_gmean": 0.8117841847086917, "rel_wql_gmean": 0.593906337357885}}, "domain": {"Econ/Fin": {"n_configs": 6, "rel_mase_gmean": 0.8871103723322559, "rel_wql_gmean": 0.8186104803199865}, "Energy": {"n_configs": 32, "rel_mase_gmean": 0.8873228160456544, "rel_wql_gmean": 0.666828211814892}, "Healthcare": {"n_configs": 5, "rel_mase_gmean": 0.6602366692845489, "rel_wql_gmean": 0.5698594545952637}, "Nature": {"n_configs": 15, "rel_mase_gmean": 0.9037307861253031, "rel_wql_gmean": 0.42282624120616724}, "Sales": {"n_configs": 4, "rel_mase_gmean": 0.7231485364548405, "rel_wql_gmean": 0.49076711071441}, "Transport": {"n_configs": 15, "rel_mase_gmean": 0.731298212809883, "rel_wql_gmean": 0.524438086130783}, "Web/CloudOps": {"n_configs": 20, "rel_mase_gmean": 0.660209298499444, "rel_wql_gmean": 0.45581270950466285}}, "frequency": {"A": {"n_configs": 1, "rel_mase_gmean": 0.6522392949080874, "rel_wql_gmean": 0.7270620636653731}, "D": {"n_configs": 15, "rel_mase_gmean": 0.8205802765681058, "rel_wql_gmean": 0.4901220874772779}, "H": {"n_configs": 31, "rel_mase_gmean": 0.7677299491087929, "rel_wql_gmean": 0.5094849178695509}, "M": {"n_configs": 5, "rel_mase_gmean": 0.866956136135693, "rel_wql_gmean": 0.7966508658255991}, "Q": {"n_configs": 1, "rel_mase_gmean": 0.7588717620885471, "rel_wql_gmean": 0.7653003797772433}, "S": {"n_configs": 6, "rel_mase_gmean": 0.8525356752749418, "rel_wql_gmean": 0.5080017737889677}, "T": {"n_configs": 30, "rel_mase_gmean": 0.7704476348183809, "rel_wql_gmean": 0.576748095637338}, "W": {"n_configs": 8, "rel_mase_gmean": 0.8742573452440867, "rel_wql_gmean": 0.5889566774320315}}, "variates": {"multivariate": {"n_configs": 43, "rel_mase_gmean": 0.7866251148848069, "rel_wql_gmean": 0.5284419129269964}, "univariate": {"n_configs": 54, "rel_mase_gmean": 0.7990675186329057, "rel_wql_gmean": 0.5662861373570198}}}, "eval_seconds": 28.22192358970642}, {"cutoff": "backcast2_evals", "candidate_skill": 0.363993152824157, "control_skill": 0.3632547284652886, "delta": 0.0007384243588683947, "candidate_hash": "6b640ad1ce200544da2d530578e59eb353f8b9dabc5cc98473403cfe7383c49f", "control_hash": "ad45e0cfae574d3dc1be0b9720c9be0863db9ffe33891fdb22c86dfa83667253", "candidate_groups": {"term": {"long": {"n_configs": 19, "rel_mase_gmean": 0.7965511154806201, "rel_wql_gmean": 0.5034490772862287}, "medium": {"n_configs": 21, "rel_mase_gmean": 0.7475606718658245, "rel_wql_gmean": 0.48624034441677194}, "short": {"n_configs": 54, "rel_mase_gmean": 0.7612052477427849, "rel_wql_gmean": 0.5556449965470085}}, "domain": {"Econ/Fin": {"n_configs": 6, "rel_mase_gmean": 0.89958164144685, "rel_wql_gmean": 0.9115144320697872}, "Energy": {"n_configs": 32, "rel_mase_gmean": 0.896485898505093, "rel_wql_gmean": 0.6474484136174568}, "Healthcare": {"n_configs": 5, "rel_mase_gmean": 0.6888981722703484, "rel_wql_gmean": 0.5885334564659844}, "Nature": {"n_configs": 15, "rel_mase_gmean": 0.7520768524740646, "rel_wql_gmean": 0.3570202752625398}, "Sales": {"n_configs": 3, "rel_mase_gmean": 0.5587359331147982, "rel_wql_gmean": 0.35793010096876227}, "Transport": {"n_configs": 14, "rel_mase_gmean": 0.660805281297565, "rel_wql_gmean": 0.49469607344952504}, "Web/CloudOps": {"n_configs": 19, "rel_mase_gmean": 0.6791821336817456, "rel_wql_gmean": 0.46839071952339456}}, "frequency": {"A": {"n_configs": 1, "rel_mase_gmean": 0.5812757221445022, "rel_wql_gmean": 0.7331639098314356}, "D": {"n_configs": 15, "rel_mase_gmean": 0.7257815402854406, "rel_wql_gmean": 0.44620200724347436}, "H": {"n_configs": 30, "rel_mase_gmean": 0.7487818727109079, "rel_wql_gmean": 0.48427195356442543}, "M": {"n_configs": 4, "rel_mase_gmean": 0.8071916126513461, "rel_wql_gmean": 0.8356014190262583}, "Q": {"n_configs": 1, "rel_mase_gmean": 0.8308749825896053, "rel_wql_gmean": 0.8716517553922709}, "S": {"n_configs": 6, "rel_mase_gmean": 0.904213435588803, "rel_wql_gmean": 0.5675780199167809}, "T": {"n_configs": 29, "rel_mase_gmean": 0.7537381736791354, "rel_wql_gmean": 0.539091137142719}, "W": {"n_configs": 8, "rel_mase_gmean": 0.8509266671504966, "rel_wql_gmean": 0.6398335731372661}}, "variates": {"multivariate": {"n_configs": 42, "rel_mase_gmean": 0.7792766449889658, "rel_wql_gmean": 0.5144707856195212}, "univariate": {"n_configs": 52, "rel_mase_gmean": 0.7538788385219328, "rel_wql_gmean": 0.5404416000493212}}}, "control_groups": {"term": {"long": {"n_configs": 19, "rel_mase_gmean": 0.7969398609040024, "rel_wql_gmean": 0.5035562825504419}, "medium": {"n_configs": 21, "rel_mase_gmean": 0.7490067352384399, "rel_wql_gmean": 0.48743000572367984}, "short": {"n_configs": 54, "rel_mase_gmean": 0.7615427910500057, "rel_wql_gmean": 0.5565614531092009}}, "domain": {"Econ/Fin": {"n_configs": 6, "rel_mase_gmean": 0.901205213255903, "rel_wql_gmean": 0.9129519979778129}, "Energy": {"n_configs": 32, "rel_mase_gmean": 0.895984498209844, "rel_wql_gmean": 0.6466953024058848}, "Healthcare": {"n_configs": 5, "rel_mase_gmean": 0.6906395512407255, "rel_wql_gmean": 0.5895403412546308}, "Nature": {"n_configs": 15, "rel_mase_gmean": 0.7520688777995285, "rel_wql_gmean": 0.35747495688522557}, "Sales": {"n_configs": 3, "rel_mase_gmean": 0.5597836473152902, "rel_wql_gmean": 0.3594495182358377}, "Transport": {"n_configs": 14, "rel_mase_gmean": 0.6614283420298616, "rel_wql_gmean": 0.49546817917989344}, "Web/CloudOps": {"n_configs": 19, "rel_mase_gmean": 0.6809574130261864, "rel_wql_gmean": 0.47110941162938547}}, "frequency": {"A": {"n_configs": 1, "rel_mase_gmean": 0.581464401116573, "rel_wql_gmean": 0.7355000101927864}, "D": {"n_configs": 15, "rel_mase_gmean": 0.7270580675006559, "rel_wql_gmean": 0.44686466314745266}, "H": {"n_configs": 30, "rel_mase_gmean": 0.7494927915333071, "rel_wql_gmean": 0.48496142310648743}, "M": {"n_configs": 4, "rel_mase_gmean": 0.8066081312673148, "rel_wql_gmean": 0.8347163141766332}, "Q": {"n_configs": 1, "rel_mase_gmean": 0.8311725894461938, "rel_wql_gmean": 0.8717568945686304}, "S": {"n_configs": 6, "rel_mase_gmean": 0.9046061716746755, "rel_wql_gmean": 0.5673078591497167}, "T": {"n_configs": 29, "rel_mase_gmean": 0.7542500727562019, "rel_wql_gmean": 0.5401993598021697}, "W": {"n_configs": 8, "rel_mase_gmean": 0.8508075542526838, "rel_wql_gmean": 0.6417280462795324}}, "variates": {"multivariate": {"n_configs": 42, "rel_mase_gmean": 0.7799074480129385, "rel_wql_gmean": 0.515543995911792}, "univariate": {"n_configs": 52, "rel_mase_gmean": 0.7544561978137869, "rel_wql_gmean": 0.5410325795112644}}}, "eval_seconds": 26.783769130706787}, {"cutoff": "backcast3_evals", "candidate_skill": 0.3950124598405723, "control_skill": 0.3944984110874522, "delta": 0.000514048753120111, "candidate_hash": "6b640ad1ce200544da2d530578e59eb353f8b9dabc5cc98473403cfe7383c49f", "control_hash": "ad45e0cfae574d3dc1be0b9720c9be0863db9ffe33891fdb22c86dfa83667253", "candidate_groups": {"term": {"long": {"n_configs": 19, "rel_mase_gmean": 0.7599778232892921, "rel_wql_gmean": 0.47414979341796676}, "medium": {"n_configs": 20, "rel_mase_gmean": 0.7672348822762877, "rel_wql_gmean": 0.5287703093503114}, "short": {"n_configs": 54, "rel_mase_gmean": 0.7061176910432736, "rel_wql_gmean": 0.501699365937218}}, "domain": {"Econ/Fin": {"n_configs": 6, "rel_mase_gmean": 0.8450238929299057, "rel_wql_gmean": 0.8287968523167164}, "Energy": {"n_configs": 32, "rel_mase_gmean": 0.8287237417525989, "rel_wql_gmean": 0.5534837186870216}, "Healthcare": {"n_configs": 5, "rel_mase_gmean": 0.7575935562899834, "rel_wql_gmean": 0.6315003633340103}, "Nature": {"n_configs": 15, "rel_mase_gmean": 0.7076556931072816, "rel_wql_gmean": 0.3366919094754201}, "Sales": {"n_configs": 3, "rel_mase_gmean": 0.7497066029652214, "rel_wql_gmean": 0.47462593240681566}, "Transport": {"n_configs": 14, "rel_mase_gmean": 0.5363319189417703, "rel_wql_gmean": 0.44423886834819754}, "Web/CloudOps": {"n_configs": 18, "rel_mase_gmean": 0.71171989190133, "rel_wql_gmean": 0.5165221199292769}}, "frequency": {"A": {"n_configs": 1, "rel_mase_gmean": 0.5305049486199563, "rel_wql_gmean": 0.7748462903644002}, "D": {"n_configs": 15, "rel_mase_gmean": 0.7121431317868887, "rel_wql_gmean": 0.4145144835788314}, "H": {"n_configs": 29, "rel_mase_gmean": 0.719562525136373, "rel_wql_gmean": 0.48383364301897663}, "M": {"n_configs": 4, "rel_mase_gmean": 0.8317622022092529, "rel_wql_gmean": 0.8214020589097163}, "Q": {"n_configs": 1, "rel_mase_gmean": 0.7154303032341603, "rel_wql_gmean": 0.7695070959424496}, "S": {"n_configs": 6, "rel_mase_gmean": 0.8351733673081517, "rel_wql_gmean": 0.5991170712501708}, "T": {"n_configs": 29, "rel_mase_gmean": 0.7049645906490642, "rel_wql_gmean": 0.4635720688691023}, "W": {"n_configs": 8, "rel_mase_gmean": 0.8041936712430771, "rel_wql_gmean": 0.6676297088347317}}, "variates": {"multivariate": {"n_configs": 41, "rel_mase_gmean": 0.7580934176036076, "rel_wql_gmean": 0.5121324030131259}, "univariate": {"n_configs": 52, "rel_mase_gmean": 0.708087351250063, "rel_wql_gmean": 0.49341443724470835}}}, "control_groups": {"term": {"long": {"n_configs": 19, "rel_mase_gmean": 0.7605445792601405, "rel_wql_gmean": 0.4740600920237114}, "medium": {"n_configs": 20, "rel_mase_gmean": 0.7673937404796206, "rel_wql_gmean": 0.529050128812873}, "short": {"n_configs": 54, "rel_mase_gmean": 0.7066888727036074, "rel_wql_gmean": 0.5025271114107714}}, "domain": {"Econ/Fin": {"n_configs": 6, "rel_mase_gmean": 0.8465750633042362, "rel_wql_gmean": 0.8301832550203931}, "Energy": {"n_configs": 32, "rel_mase_gmean": 0.8280900345851895, "rel_wql_gmean": 0.5531225386420328}, "Healthcare": {"n_configs": 5, "rel_mase_gmean": 0.7582600194472988, "rel_wql_gmean": 0.632623318642284}, "Nature": {"n_configs": 15, "rel_mase_gmean": 0.7096275569559131, "rel_wql_gmean": 0.3386957610122997}, "Sales": {"n_configs": 3, "rel_mase_gmean": 0.7487935010952289, "rel_wql_gmean": 0.47423739993986525}, "Transport": {"n_configs": 14, "rel_mase_gmean": 0.5364607716260557, "rel_wql_gmean": 0.4442170483634485}, "Web/CloudOps": {"n_configs": 18, "rel_mase_gmean": 0.7128912578353812, "rel_wql_gmean": 0.5168699930573769}}, "frequency": {"A": {"n_configs": 1, "rel_mase_gmean": 0.5308138227989901, "rel_wql_gmean": 0.777900736251483}, "D": {"n_configs": 15, "rel_mase_gmean": 0.7112195255614516, "rel_wql_gmean": 0.4154980506806888}, "H": {"n_configs": 29, "rel_mase_gmean": 0.7198763379573593, "rel_wql_gmean": 0.48466211242450724}, "M": {"n_configs": 4, "rel_mase_gmean": 0.8330944575177875, "rel_wql_gmean": 0.8230031202022723}, "Q": {"n_configs": 1, "rel_mase_gmean": 0.7156105446358054, "rel_wql_gmean": 0.7684011151446023}, "S": {"n_configs": 6, "rel_mase_gmean": 0.8371984068688675, "rel_wql_gmean": 0.6003957122289793}, "T": {"n_configs": 29, "rel_mase_gmean": 0.7049982843940813, "rel_wql_gmean": 0.46277982987038807}, "W": {"n_configs": 8, "rel_mase_gmean": 0.8087944681865019, "rel_wql_gmean": 0.670755534033392}}, "variates": {"multivariate": {"n_configs": 41, "rel_mase_gmean": 0.7587335902791335, "rel_wql_gmean": 0.5125489110619184}, "univariate": {"n_configs": 52, "rel_mase_gmean": 0.7084600116309258, "rel_wql_gmean": 0.494009506622114}}}, "eval_seconds": 26.883931159973145}], "positive": 3, "mean_delta": 0.00046659020753248015}. Three earlier cutoffs improve; latest cutoff near-ties. Proceed to one fixed transfer experiment. + +## E128 matched seasonal-dispersion transfer, declared 2026-10-23T08:30:05.084134+00:00 +Hypothesis: the E119 variance-query improvement complements the published learned seasonal mean correction. Fixed coefficient-one formula: extend_zero(E117final firstmember) + E119EMA6000 - extend_zero(E107EMA6000); only new dispersion_query.weight uses candidate directly. Keep E71EMA6000 and E93EMA12000, fixed ordered equal thirds for every instance. Primary duration6000; duration12000 is a predeclared durability comparison, only if its standalone matched four-cutoff delta is positive in at least3/4 and has positive mean. No coefficient sweep. Require ensemble improvements in at least3/4 cutoffs and positive mean before full public replay; publish only on improved full97 score with relocation, determinism and independent composition checks. Check seed659, no optimizer updates or new training data; parent training seed197. Retain E127 finite-member runtime. Main and earlier scores are validation diagnostics, not held-out reward. + +## E129 direct seasonal uncertainty head, declared 2026-10-23T08:31:03.466366+00:00 +Hypothesis: E125 showed the direct seasonal median path contributes more than query conditioning; a direct learned width path may similarly exploit phase-specific variance more effectively. Matched control E119. Start from its own zero-feature initialization, add one zero Linear(d,patch*2) head, train all parameters with identical seed197/B64/LR2e-5/12000/paired/oldpack/original synthetic generator and original horizon stream. For each active period (p>=2,n4>=2,n16>=8), delta=log1p(std16)-log2, otherwise0. Width multiplier=exp(clamp(sum_j(tanh(g_j)*delta_j),-log4,log4)), applied to all eight positive width increments; median path unchanged directly. This bounded positive factor preserves order; zero head preserves initialization bitwise. Added16416parameters atd512/patch16. Primary6000,1000/3000diagnostics,12000durability; require four-cutoff matched evidence before any transfer, no formula selected. CPUfixtureseed661/GPUfixtureseed673, no validation training. Queue after E121 on the same small-model allocation, not an additional concurrent trainer. + +E79 fresh capacity72000 matched width comparison: {"label": "E79 fresh capacity72000 matched width comparison", "utc": "2026-10-23T08:31:54.152494+00:00", "candidate": "random_capacity_1024_ema72000", "control": "random_capacity_512_ema72000", "rows": [{"cutoff": "evals", "candidate_skill": 0.36736566458978936, "control_skill": 0.3689662390668288, "delta": -0.0016005744770394292, "candidate_checkpoint": "baa71611dff2da76515319d144b23e31e19304772ad4401fc4a18ea03f07a499", "control_checkpoint": "8439114a6db9c3441824266cca82575413c81d4d06843f89c3ce365220bdd491", "candidate_eval_seconds": 38.030234575271606, "candidate_groups": {"term": {"long": {"n_configs": 21, "rel_mase_gmean": 0.7596192288082486, "rel_wql_gmean": 0.4951141955204966}, "medium": {"n_configs": 21, "rel_mase_gmean": 0.7363375295734231, "rel_wql_gmean": 0.5056560133396528}, "short": {"n_configs": 55, "rel_mase_gmean": 0.7606418888845478, "rel_wql_gmean": 0.5538790094120064}}, "domain": {"Econ/Fin": {"n_configs": 6, "rel_mase_gmean": 0.9033681839460348, "rel_wql_gmean": 0.8510306246351569}, "Energy": {"n_configs": 32, "rel_mase_gmean": 0.9132964142466047, "rel_wql_gmean": 0.6613834360775507}, "Healthcare": {"n_configs": 5, "rel_mase_gmean": 0.6008629515181685, "rel_wql_gmean": 0.5128134103327899}, "Nature": {"n_configs": 15, "rel_mase_gmean": 0.8241897772379998, "rel_wql_gmean": 0.4190277961561824}, "Sales": {"n_configs": 4, "rel_mase_gmean": 0.8456240759834974, "rel_wql_gmean": 0.5233104342109804}, "Transport": {"n_configs": 15, "rel_mase_gmean": 0.6511786830134689, "rel_wql_gmean": 0.4507742495174751}, "Web/CloudOps": {"n_configs": 20, "rel_mase_gmean": 0.5716616669502825, "rel_wql_gmean": 0.4393165312128719}}, "frequency": {"A": {"n_configs": 1, "rel_mase_gmean": 0.5958283325931863, "rel_wql_gmean": 0.6144059264519328}, "D": {"n_configs": 15, "rel_mase_gmean": 0.7777281919380308, "rel_wql_gmean": 0.5386241189298943}, "H": {"n_configs": 31, "rel_mase_gmean": 0.7363614335969476, "rel_wql_gmean": 0.5119011863402705}, "M": {"n_configs": 5, "rel_mase_gmean": 0.9955332689841764, "rel_wql_gmean": 0.8441275404151479}, "Q": {"n_configs": 1, "rel_mase_gmean": 0.758645213417042, "rel_wql_gmean": 0.8163566812421911}, "S": {"n_configs": 6, "rel_mase_gmean": 0.6688662611218593, "rel_wql_gmean": 0.5094982599379567}, "T": {"n_configs": 30, "rel_mase_gmean": 0.7151571878390335, "rel_wql_gmean": 0.4685405119829564}, "W": {"n_configs": 8, "rel_mase_gmean": 0.9157681504509959, "rel_wql_gmean": 0.6694775206808375}}, "variates": {"multivariate": {"n_configs": 43, "rel_mase_gmean": 0.7270035470605405, "rel_wql_gmean": 0.5268439726526699}, "univariate": {"n_configs": 54, "rel_mase_gmean": 0.7782347336583278, "rel_wql_gmean": 0.5325909632877113}}}, "control_groups": {"term": {"long": {"n_configs": 21, "rel_mase_gmean": 0.7477127171883448, "rel_wql_gmean": 0.48882740108669653}, "medium": {"n_configs": 21, "rel_mase_gmean": 0.7306495550237877, "rel_wql_gmean": 0.5021287839095168}, "short": {"n_configs": 55, "rel_mase_gmean": 0.7641343685367114, "rel_wql_gmean": 0.5555590515607122}}, "domain": {"Econ/Fin": {"n_configs": 6, "rel_mase_gmean": 0.8717773670750196, "rel_wql_gmean": 0.8412173322578796}, "Energy": {"n_configs": 32, "rel_mase_gmean": 0.9021940945935126, "rel_wql_gmean": 0.6536787310638513}, "Healthcare": {"n_configs": 5, "rel_mase_gmean": 0.6334859224455053, "rel_wql_gmean": 0.549868320414668}, "Nature": {"n_configs": 15, "rel_mase_gmean": 0.8188967077625586, "rel_wql_gmean": 0.41366299417792224}, "Sales": {"n_configs": 4, "rel_mase_gmean": 0.8213689730266212, "rel_wql_gmean": 0.5099084850083979}, "Transport": {"n_configs": 15, "rel_mase_gmean": 0.6500708909219332, "rel_wql_gmean": 0.45106083264865515}, "Web/CloudOps": {"n_configs": 20, "rel_mase_gmean": 0.5813623780087182, "rel_wql_gmean": 0.44228012583177345}}, "frequency": {"A": {"n_configs": 1, "rel_mase_gmean": 0.598628298464793, "rel_wql_gmean": 0.6247848200123971}, "D": {"n_configs": 15, "rel_mase_gmean": 0.7826762333854071, "rel_wql_gmean": 0.5364548400819831}, "H": {"n_configs": 31, "rel_mase_gmean": 0.7353501027725676, "rel_wql_gmean": 0.5079346769936453}, "M": {"n_configs": 5, "rel_mase_gmean": 0.9822856143120433, "rel_wql_gmean": 0.880135503372167}, "Q": {"n_configs": 1, "rel_mase_gmean": 0.7612651746529128, "rel_wql_gmean": 0.8214245943555902}, "S": {"n_configs": 6, "rel_mase_gmean": 0.6646723400893781, "rel_wql_gmean": 0.5089169068334075}, "T": {"n_configs": 30, "rel_mase_gmean": 0.7095018788257277, "rel_wql_gmean": 0.46315795989437103}, "W": {"n_configs": 8, "rel_mase_gmean": 0.920309627928256, "rel_wql_gmean": 0.6842471513104053}}, "variates": {"multivariate": {"n_configs": 43, "rel_mase_gmean": 0.7244533893383394, "rel_wql_gmean": 0.5215434143342278}, "univariate": {"n_configs": 54, "rel_mase_gmean": 0.7769162726418792, "rel_wql_gmean": 0.5344288966305734}}}, "group_skill_delta": {"term": {"long": -0.008700510302014908, "medium": -0.004485021335244421, "short": 0.0024743264837086}, "domain": {"Econ/Fin": -0.020447941266737324, "Energy": -0.009250912004791112, "Healthcare": 0.03510302802888143, "Nature": -0.005652053507493315, "Sales": -0.018059336432825535, "Transport": -0.0002889950786101325, "Web/CloudOps": 0.005935847541222006}, "frequency": {"A": 0.006520905028241986, "D": 0.0007468270688206768, "H": -0.0028033954635036107, "M": 0.013098916095136914, "Q": 0.0038008982664397006, "S": -0.002165148240247605, "T": -0.005614643117016205, "W": 0.010550306030891465}, "variates": {"multivariate": -0.004202079812957171, "univariate": 0.0005633740723954839}}}], "mean_delta": -0.0016005744770394292, "positive_cutoffs": 0, "outcome": "Wide146M main0.367365665 trails small37M0.368966239 and its own48k; no publication. Retain original96k schedule and predeclared final endpoint."} + +E113 shorter low-frequency windows1000 diagnostic: {"label": "E113 shorter low-frequency windows1000 diagnostic", "utc": "2026-10-23T08:31:54.193313+00:00", "candidate": "lowfreq_windows_ema1000", "control": "overflow_control_ema1000", "rows": [{"cutoff": "evals", "candidate_skill": 0.3758305357946752, "control_skill": 0.37680439430493307, "delta": -0.0009738585102578856, "candidate_checkpoint": "c51d67222deadc8cfecf976a088f25ef6827dc3aa5c4300166b9c77691f4a790", "control_checkpoint": "fb64456ba0c2ebef979b8525274132618fe542f67e7193036e4a013de6629f5c", "candidate_eval_seconds": 25.86383891105652, "candidate_groups": {"term": {"long": {"n_configs": 21, "rel_mase_gmean": 0.7476696916740688, "rel_wql_gmean": 0.48332445505372645}, "medium": {"n_configs": 21, "rel_mase_gmean": 0.7120845469848178, "rel_wql_gmean": 0.49524848737069915}, "short": {"n_configs": 55, "rel_mase_gmean": 0.7584508635396726, "rel_wql_gmean": 0.5491110528440255}}, "domain": {"Econ/Fin": {"n_configs": 6, "rel_mase_gmean": 0.8811467462843773, "rel_wql_gmean": 0.8498343555017993}, "Energy": {"n_configs": 32, "rel_mase_gmean": 0.9019820514397988, "rel_wql_gmean": 0.6470806620758618}, "Healthcare": {"n_configs": 5, "rel_mase_gmean": 0.5815059473667801, "rel_wql_gmean": 0.5236532312845102}, "Nature": {"n_configs": 15, "rel_mase_gmean": 0.8132112237916583, "rel_wql_gmean": 0.4003876735372719}, "Sales": {"n_configs": 4, "rel_mase_gmean": 0.8491948108207495, "rel_wql_gmean": 0.522553119214883}, "Transport": {"n_configs": 15, "rel_mase_gmean": 0.6437619246945891, "rel_wql_gmean": 0.44182702692804765}, "Web/CloudOps": {"n_configs": 20, "rel_mase_gmean": 0.5680496436874133, "rel_wql_gmean": 0.44315944166758076}}, "frequency": {"A": {"n_configs": 1, "rel_mase_gmean": 0.6181702887464274, "rel_wql_gmean": 0.6428211885395657}, "D": {"n_configs": 15, "rel_mase_gmean": 0.775382385015581, "rel_wql_gmean": 0.5381442776598314}, "H": {"n_configs": 31, "rel_mase_gmean": 0.733049566384431, "rel_wql_gmean": 0.5000120743901492}, "M": {"n_configs": 5, "rel_mase_gmean": 0.9788847533271087, "rel_wql_gmean": 0.8373503963086395}, "Q": {"n_configs": 1, "rel_mase_gmean": 0.7791907444316182, "rel_wql_gmean": 0.8262408383947131}, "S": {"n_configs": 6, "rel_mase_gmean": 0.6583317867171721, "rel_wql_gmean": 0.505377904469957}, "T": {"n_configs": 30, "rel_mase_gmean": 0.6966646523006679, "rel_wql_gmean": 0.45839507431764615}, "W": {"n_configs": 8, "rel_mase_gmean": 0.903496904137189, "rel_wql_gmean": 0.67048369687104}}, "variates": {"multivariate": {"n_configs": 43, "rel_mase_gmean": 0.715270494684413, "rel_wql_gmean": 0.5161414769252024}, "univariate": {"n_configs": 54, "rel_mase_gmean": 0.7711288204924687, "rel_wql_gmean": 0.5273322512747626}}}, "control_groups": {"term": {"long": {"n_configs": 21, "rel_mase_gmean": 0.7475949248841576, "rel_wql_gmean": 0.48313009060709816}, "medium": {"n_configs": 21, "rel_mase_gmean": 0.7121646285296794, "rel_wql_gmean": 0.49507829874922954}, "short": {"n_configs": 55, "rel_mase_gmean": 0.7565109440013578, "rel_wql_gmean": 0.5476487193118825}}, "domain": {"Econ/Fin": {"n_configs": 6, "rel_mase_gmean": 0.8836242320820453, "rel_wql_gmean": 0.852790735489267}, "Energy": {"n_configs": 32, "rel_mase_gmean": 0.9015830729546991, "rel_wql_gmean": 0.6466569995775542}, "Healthcare": {"n_configs": 5, "rel_mase_gmean": 0.5682109895409901, "rel_wql_gmean": 0.50913591597259}, "Nature": {"n_configs": 15, "rel_mase_gmean": 0.8118689127220183, "rel_wql_gmean": 0.4001636631853673}, "Sales": {"n_configs": 4, "rel_mase_gmean": 0.8482726060427207, "rel_wql_gmean": 0.5217876667686607}, "Transport": {"n_configs": 15, "rel_mase_gmean": 0.643592872708551, "rel_wql_gmean": 0.4417185877096313}, "Web/CloudOps": {"n_configs": 20, "rel_mase_gmean": 0.5682037417522958, "rel_wql_gmean": 0.443077587356112}}, "frequency": {"A": {"n_configs": 1, "rel_mase_gmean": 0.6211129140655237, "rel_wql_gmean": 0.6476852381416378}, "D": {"n_configs": 15, "rel_mase_gmean": 0.7731968641003847, "rel_wql_gmean": 0.5364961216672471}, "H": {"n_configs": 31, "rel_mase_gmean": 0.7326719219666206, "rel_wql_gmean": 0.4996436801378994}, "M": {"n_configs": 5, "rel_mase_gmean": 0.9679265081606557, "rel_wql_gmean": 0.825526925103439}, "Q": {"n_configs": 1, "rel_mase_gmean": 0.7785677705735384, "rel_wql_gmean": 0.8263634046573236}, "S": {"n_configs": 6, "rel_mase_gmean": 0.6589846090055789, "rel_wql_gmean": 0.5055237904571999}, "T": {"n_configs": 30, "rel_mase_gmean": 0.6968498829283847, "rel_wql_gmean": 0.45851341856614997}, "W": {"n_configs": 8, "rel_mase_gmean": 0.8985566548600665, "rel_wql_gmean": 0.6671788546802966}}, "variates": {"multivariate": {"n_configs": 43, "rel_mase_gmean": 0.7151909536351672, "rel_wql_gmean": 0.5159951052379306}, "univariate": {"n_configs": 54, "rel_mase_gmean": 0.7691918342794635, "rel_wql_gmean": 0.5258681687194484}}}, "group_skill_delta": {"term": {"long": -0.00015093475640626242, "medium": -6.865930295374412e-05, "short": -0.001684626978899928}, "domain": {"Econ/Fin": 0.0027216616996312837, "Energy": -0.0004190682125532197, "Healthcare": -0.01395893874619547, "Nature": -0.0006306454184297206, "Sales": -0.0008496159775570611, "Transport": -0.00013547259975099646, "Web/CloudOps": 2.170436372661566e-05}, "frequency": {"A": 0.003884682295869024, "D": -0.0018995551640285102, "H": -0.00037897852469348514, "M": -0.011460399143613631, "Q": -0.00026133085398794, "S": 0.00036920690243569254, "T": 0.00014807337877076332, "W": -0.004046103336208362}, "variates": {"multivariate": -0.00011994069529930318, "univariate": -0.0016861314715301834}}}], "mean_delta": -0.0009738585102578856, "positive_cutoffs": 0, "outcome": "Early diagnostic only; retain declared6000 primary and12000 durability."} + +E129 initialization/CPU audit: {"seed": 661, "initial_function_bitwise_equal": true, "inherited_features_and_weights_bitwise_equal": true, "independent_width_arithmetic": true, "bounded_multiplier": [0.25, 4.0], "unchanged_median_for_fixed_hidden": true, "finite_ordered": true, "sampler_byte_identical": true, "all_parameters_trainable": true, "added_parameters": 16416, "total_parameters": 36899168, "checkpoint_sha256": "94ba155b90c6b510bccf92358cc225afe8f317285a19637ab5ca68072bbb83d1", "seconds": 1.7288333191536367, "optimizer_updates": 0, "validation_data_read": false}. Maximum-shape GPU audit: {"seed": 673, "gpu_initial_function_bitwise_equal": true, "gpu_initial_loss_bitwise_equal": true, "max_shape": [64, 4096, 1024], "loss": 0.3557884097099304, "selected_gradient_norms": {"width_head.weight": 0.0037436725106090307, "width_head.bias": 0.000249308388447389, "dispersion_query.weight": 0.001482732011936605, "long_head.weight": 0.01620558276772499, "head.weight": 0.024969521909952164}, "all_parameters_trainable": true, "reserved_mib": 6428.0, "allocated_mib": 5787.44677734375, "free_before_mib": 11792.125, "includes_ema_and_adam_placeholders": true, "lock_wait_seconds": 38.27195146121085, "seconds": 50.22554790391587, "optimizer_updates": 0, "validation_data_read": false}. Queue24583 waits for E12120306; no extra concurrent training allocation. Publisher now documents the learned bounded width head. + +E128 primary merge receipt: { + "method": "matched training delta after zero extension of new seasonal dispersion query parameters", + "formula": "extend_zero(base) + candidate - extend_zero(control)", + "coefficient": 1.0, + "new_parameters_from_candidate": [ + "dispersion_query.weight" + ], + "parent_hashes": { + "/workspace/research/long_seasonal_transfer12k.pt": "8a2b252b733cc79c31778ea27ba00fbe61206fef50454514b667c54a928d80a4", + "/workspace/research/runs/seasonal_dispersion/ema006000.pt": "6b640ad1ce200544da2d530578e59eb353f8b9dabc5cc98473403cfe7383c49f", + "/workspace/research/runs/long_seasonal/ema006000.pt": "ad45e0cfae574d3dc1be0b9720c9be0863db9ffe33891fdb22c86dfa83667253" + }, + "base_extension_forward_bitwise_equal": true, + "check_seed": 659, + "seconds": 2.03242999012582, + "optimizer_updates": 0, + "validation_data_read": false, + "checkpoint_sha256": "993f03042c049bd7e6de5ba5631caa855723eab1a5d8f7e487e7721bca5deb26", + "parameters": 36882752 +}. Four-cutoff evaluation running; no publication. + +E121 older history only for learned seasonal summaries seed197 training started at 2026-10-23T08:33:35Z, after the preceding trainer exited with its final checkpoint. Settings are unchanged from the declared comparison. + +## E128 primary dispersion transfer6000 valid_screen +- Checkpoint SHA-256: `993f03042c049bd7e6de5ba5631caa855723eab1a5d8f7e487e7721bca5deb26`. +- Evaluation: 97 configurations, 9473 instances, 0 failed configurations; 28.288978338241577 seconds. +- Overall skill 0.386450; relative MASE 0.733378; relative WQL 0.513300. +- term skill: long=0.4083, medium=0.4093, short=0.3688. +- domain skill: Econ/Fin=0.1468, Energy=0.2418, Healthcare=0.4703, Nature=0.4437, Sales=0.3392, Transport=0.4738, Web/CloudOps=0.5111. +- frequency skill: A=0.3770, D=0.3737, H=0.4062, M=0.0981, Q=0.2061, S=0.4253, T=0.4442, W=0.2254. +- variates skill: multivariate=0.4010, univariate=0.3746. +- Outcome: Fixed zero-extended E117first + E1196000 - E1076000; no optimizer updates. Equal ensemble selected separately. + +## E128 primary dispersion transfer6000 valid_backcast +- Checkpoint SHA-256: `993f03042c049bd7e6de5ba5631caa855723eab1a5d8f7e487e7721bca5deb26`. +- Evaluation: 97 configurations, 9330 instances, 0 failed configurations; 26.401955604553223 seconds. +- Overall skill 0.343151; relative MASE 0.788790; relative WQL 0.546978. +- term skill: long=0.3990, medium=0.3631, short=0.3124. +- domain skill: Econ/Fin=0.1780, Energy=0.2290, Healthcare=0.3703, Nature=0.3907, Sales=0.4041, Transport=0.3805, Web/CloudOps=0.4586. +- frequency skill: A=0.3239, D=0.3622, H=0.3775, M=0.1942, Q=0.2296, S=0.3388, T=0.3385, W=0.2880. +- variates skill: multivariate=0.3586, univariate=0.3306. +- Outcome: Fixed zero-extended E117first + E1196000 - E1076000; no optimizer updates. Equal ensemble selected separately. + +## E128 primary dispersion transfer6000 valid_backcast2 +- Checkpoint SHA-256: `993f03042c049bd7e6de5ba5631caa855723eab1a5d8f7e487e7721bca5deb26`. +- Evaluation: 94 configurations, 8934 instances, 0 failed configurations; 26.512702226638794 seconds. +- Overall skill 0.365859; relative MASE 0.763853; relative WQL 0.526456. +- term skill: long=0.3708, medium=0.3948, short=0.3525. +- domain skill: Econ/Fin=0.1343, Energy=0.2387, Healthcare=0.2990, Nature=0.4858, Sales=0.5513, Transport=0.4280, Web/CloudOps=0.4468. +- frequency skill: A=0.3497, D=0.4278, H=0.3995, M=0.1471, Q=0.1537, S=0.2838, T=0.3716, W=0.2622. +- variates skill: multivariate=0.3721, univariate=0.3608. +- Outcome: Fixed zero-extended E117first + E1196000 - E1076000; no optimizer updates. Equal ensemble selected separately. + +## E128 primary dispersion transfer6000 valid_backcast3 +- Checkpoint SHA-256: `993f03042c049bd7e6de5ba5631caa855723eab1a5d8f7e487e7721bca5deb26`. +- Evaluation: 93 configurations, 8812 instances, 0 failed configurations; 28.568291425704956 seconds. +- Overall skill 0.391471; relative MASE 0.738149; relative WQL 0.501669. +- term skill: long=0.3959, medium=0.3634, short=0.4000. +- domain skill: Econ/Fin=0.1857, Energy=0.3233, Healthcare=0.2336, Nature=0.4990, Sales=0.4064, Transport=0.5155, Web/CloudOps=0.3955. +- frequency skill: A=0.3650, D=0.4475, H=0.4088, M=0.1384, Q=0.2638, S=0.2780, T=0.4325, W=0.2508. +- variates skill: multivariate=0.3755, univariate=0.4037. +- Outcome: Fixed zero-extended E117first + E1196000 - E1076000; no optimizer updates. Equal ensemble selected separately. + +E128 primary6000 fixed equal-ensemble diagnostics: {"pid": 24358, "status": "complete; review gate before full replay", "steps": [{"label": "standalone four cutoffs", "returncode": 0, "seconds": 221.39954217500053}, {"label": "record valid_screen", "returncode": 0, "seconds": 0.03905554208904505}, {"label": "ensemble valid_screen", "returncode": 0, "seconds": 1.7885562051087618}, {"label": "record valid_backcast", "returncode": 0, "seconds": 0.04613363998942077}, {"label": "ensemble valid_backcast", "returncode": 0, "seconds": 1.7479637148790061}, {"label": "record valid_backcast2", "returncode": 0, "seconds": 0.03942001913674176}, {"label": "ensemble valid_backcast2", "returncode": 0, "seconds": 1.7197186860721558}, {"label": "record valid_backcast3", "returncode": 0, "seconds": 0.03546834201551974}, {"label": "ensemble valid_backcast3", "returncode": 0, "seconds": 1.706985381897539}], "started_utc": "2026-10-23T08:30:28.293934+00:00", "seconds": 228.63339753285982, "results": [{"cutoff": "valid_screen", "skill": 0.3876423359084613, "control_skill": 0.3877185003381878, "delta": -7.616442972646631e-05, "groups": {"term": {"short": 0.3706423870097789, "medium": 0.40976716485729514, "long": 0.4086557681538596}, "domain": {"Econ/Fin": 0.14906237351000928, "Energy": 0.24738905555743995, "Healthcare": 0.4791388969316559, "Nature": 0.4443686917605315, "Sales": 0.3447262790585014, "Transport": 0.4721227859861077, "Web/CloudOps": 0.5073504404679972}, "freq": {"A-DEC": 0.37647878173928195, "Q-DEC": 0.20042557356367063, "M": 0.1189364431714729, "W-SUN": 0.12637957687199874, "D": 0.3702481661005801, "H": 0.403349929380743, "15T": 0.21784830817653156, "W-FRI": 0.01471989794806583, "10T": 0.6278900860567873, "W-TUE": 0.6155125042124696, "W-THU": 0.20881506767137004, "W-WED": 0.3285469750480611, "5T": 0.5225769045144781, "10S": 0.4253617269575647}}, "member_checkpoint_hashes": ["993f03042c049bd7e6de5ba5631caa855723eab1a5d8f7e487e7721bca5deb26", "308389b7217c080af9eb185559d4ee3cafa0f3e0f8c4dd8f5526b68198c89988", "1a2fb20a9fb5cae6526f2e36ea47559626bece78fd9c284899836505030ae9fe"], "cpu_seconds": 1.5842623638454825}, {"cutoff": "valid_backcast", "skill": 0.3432013271964417, "control_skill": 0.3429732095231861, "delta": 0.00022811767325559007, "groups": {"term": {"short": 0.31073387060164415, "medium": 0.3620628668665026, "long": 0.40405611346025505}, "domain": {"Econ/Fin": 0.17968585844509732, "Energy": 0.23273909578366903, "Healthcare": 0.40568257537880603, "Nature": 0.3803328927840719, "Sales": 0.4086149319113288, "Transport": 0.3770597519911787, "Web/CloudOps": 0.45473049598819626}, "freq": {"A-DEC": 0.3275713462020676, "Q-DEC": 0.23739027910769073, "M": 0.19574299017287022, "W-SUN": 0.07397560715040685, "D": 0.35831503292212774, "H": 0.37501512739666754, "15T": 0.2216121299762639, "W-FRI": 0.2284655950056934, "10T": 0.3272629996788452, "W-TUE": 0.5494608085561956, "W-THU": 0.263852769783948, "W-WED": 0.3607879467228401, "5T": 0.4459667035567545, "10S": 0.34767984343027925}}, "member_checkpoint_hashes": ["993f03042c049bd7e6de5ba5631caa855723eab1a5d8f7e487e7721bca5deb26", "308389b7217c080af9eb185559d4ee3cafa0f3e0f8c4dd8f5526b68198c89988", "1a2fb20a9fb5cae6526f2e36ea47559626bece78fd9c284899836505030ae9fe"], "cpu_seconds": 1.5281247009988874}, {"cutoff": "valid_backcast2", "skill": 0.3677073754611293, "control_skill": 0.3674637814642573, "delta": 0.00024359399687201577, "groups": {"term": {"short": 0.3550754328094514, "medium": 0.39653927711067827, "long": 0.37063173335447785}, "domain": {"Econ/Fin": 0.12803071938780664, "Energy": 0.24193803385919588, "Healthcare": 0.3493837546154861, "Nature": 0.4834259255629234, "Sales": 0.5565808270502648, "Transport": 0.4282339085354576, "Web/CloudOps": 0.4418930899993909}, "freq": {"A-DEC": 0.33601449447863596, "Q-DEC": 0.1584608454143962, "M": 0.17018350277659877, "W-SUN": 0.08517635455660122, "D": 0.43266687070978993, "H": 0.3976889350202797, "15T": 0.10761587986155563, "W-FRI": 0.15220755311382572, "10T": 0.5120125447976647, "W-TUE": 0.09639129778711786, "W-THU": 0.35710660219593915, "W-WED": 0.5632462034802572, "5T": 0.477596257783802, "10S": 0.286655372051118}}, "member_checkpoint_hashes": ["993f03042c049bd7e6de5ba5631caa855723eab1a5d8f7e487e7721bca5deb26", "308389b7217c080af9eb185559d4ee3cafa0f3e0f8c4dd8f5526b68198c89988", "1a2fb20a9fb5cae6526f2e36ea47559626bece78fd9c284899836505030ae9fe"], "cpu_seconds": 1.570545946015045}, {"cutoff": "valid_backcast3", "skill": 0.3908039139644831, "control_skill": 0.3907349048993719, "delta": 6.900906511120297e-05, "groups": {"term": {"short": 0.396384608836137, "medium": 0.36898160880763275, "long": 0.3974028861047404}, "domain": {"Econ/Fin": 0.19037938198384174, "Energy": 0.3171391114512614, "Healthcare": 0.24031991333738278, "Nature": 0.5062131856742668, "Sales": 0.4022669958061532, "Transport": 0.5121071712995844, "Web/CloudOps": 0.3957592747320986}, "freq": {"A-DEC": 0.35875772722129007, "Q-DEC": 0.25705448484714655, "M": 0.14981550609481042, "W-SUN": 0.17752544894384303, "D": 0.44329034770347153, "H": 0.4072363705194667, "15T": 0.25497834281865817, "W-FRI": 0.03726145753696919, "10T": 0.6056597097039726, "W-TUE": 0.2758258081083025, "W-THU": 0.33505679968046076, "W-WED": 0.3759736817716426, "5T": 0.4669889752425598, "10S": 0.2939738197189754}}, "member_checkpoint_hashes": ["993f03042c049bd7e6de5ba5631caa855723eab1a5d8f7e487e7721bca5deb26", "308389b7217c080af9eb185559d4ee3cafa0f3e0f8c4dd8f5526b68198c89988", "1a2fb20a9fb5cae6526f2e36ea47559626bece78fd9c284899836505030ae9fe"], "cpu_seconds": 1.457663832930848}], "positive_cutoffs": 3, "mean_delta": 0.00011613907637808563, "selection_gate_passed": true}. No publication yet. + +E113 shorter low-frequency windows3000 diagnostic: {"label": "E113 shorter low-frequency windows3000 diagnostic", "utc": "2026-10-23T08:35:11.851754+00:00", "candidate": "lowfreq_windows_ema3000", "control": "overflow_control_ema3000", "rows": [{"cutoff": "evals", "candidate_skill": 0.3776574984788966, "control_skill": 0.37866382508046315, "delta": -0.0010063266015665207, "candidate_checkpoint": "959a677cbd33d2d64bad236fb249895e9c3f6e34f48885fac4f545282fa9fd09", "control_checkpoint": "2084f1888f8d9e5afe2c740769ea2b4167086cdd62dfb4014bc3a338c00d4c12", "candidate_eval_seconds": 24.51565384864807, "candidate_groups": {"term": {"long": {"n_configs": 21, "rel_mase_gmean": 0.7451218625482054, "rel_wql_gmean": 0.4809596828119359}, "medium": {"n_configs": 21, "rel_mase_gmean": 0.711351800336926, "rel_wql_gmean": 0.495079186867095}, "short": {"n_configs": 55, "rel_mase_gmean": 0.7570785534009797, "rel_wql_gmean": 0.5464658580413575}}, "domain": {"Econ/Fin": {"n_configs": 6, "rel_mase_gmean": 0.8817171083012888, "rel_wql_gmean": 0.8508619719806925}, "Energy": {"n_configs": 32, "rel_mase_gmean": 0.9007550043958699, "rel_wql_gmean": 0.6455026968039306}, "Healthcare": {"n_configs": 5, "rel_mase_gmean": 0.5865091484539705, "rel_wql_gmean": 0.521860625658197}, "Nature": {"n_configs": 15, "rel_mase_gmean": 0.8108198685722532, "rel_wql_gmean": 0.3989956949190282}, "Sales": {"n_configs": 4, "rel_mase_gmean": 0.8569380284582788, "rel_wql_gmean": 0.52336231069808}, "Transport": {"n_configs": 15, "rel_mase_gmean": 0.6445588627176548, "rel_wql_gmean": 0.44213570216420356}, "Web/CloudOps": {"n_configs": 20, "rel_mase_gmean": 0.5622075107700881, "rel_wql_gmean": 0.4376069902777912}}, "frequency": {"A": {"n_configs": 1, "rel_mase_gmean": 0.6146587844971091, "rel_wql_gmean": 0.6434926649836787}, "D": {"n_configs": 15, "rel_mase_gmean": 0.7774028542287973, "rel_wql_gmean": 0.5367206013548418}, "H": {"n_configs": 31, "rel_mase_gmean": 0.7301987942753132, "rel_wql_gmean": 0.49786948216978816}, "M": {"n_configs": 5, "rel_mase_gmean": 0.9825361125273154, "rel_wql_gmean": 0.843890448437557}, "Q": {"n_configs": 1, "rel_mase_gmean": 0.7840439342906915, "rel_wql_gmean": 0.8283104400124692}, "S": {"n_configs": 6, "rel_mase_gmean": 0.6584863106408512, "rel_wql_gmean": 0.5060624950687049}, "T": {"n_configs": 30, "rel_mase_gmean": 0.6936356874055993, "rel_wql_gmean": 0.45476141585564783}, "W": {"n_configs": 8, "rel_mase_gmean": 0.903387224991496, "rel_wql_gmean": 0.6692509608863554}}, "variates": {"multivariate": {"n_configs": 43, "rel_mase_gmean": 0.7111451661730048, "rel_wql_gmean": 0.5122727594544467}, "univariate": {"n_configs": 54, "rel_mase_gmean": 0.7719262320902942, "rel_wql_gmean": 0.5268222689333825}}}, "control_groups": {"term": {"long": {"n_configs": 21, "rel_mase_gmean": 0.7439855686659663, "rel_wql_gmean": 0.4800673380532462}, "medium": {"n_configs": 21, "rel_mase_gmean": 0.710969314529407, "rel_wql_gmean": 0.4947258837580571}, "short": {"n_configs": 55, "rel_mase_gmean": 0.7552601359377148, "rel_wql_gmean": 0.5456283669131529}}, "domain": {"Econ/Fin": {"n_configs": 6, "rel_mase_gmean": 0.8797820000958861, "rel_wql_gmean": 0.851465626766978}, "Energy": {"n_configs": 32, "rel_mase_gmean": 0.8986925381034403, "rel_wql_gmean": 0.6442585108586064}, "Healthcare": {"n_configs": 5, "rel_mase_gmean": 0.5798649151393334, "rel_wql_gmean": 0.5145973168091904}, "Nature": {"n_configs": 15, "rel_mase_gmean": 0.8106570659226684, "rel_wql_gmean": 0.39879082771082475}, "Sales": {"n_configs": 4, "rel_mase_gmean": 0.8534880943118137, "rel_wql_gmean": 0.5217738153838526}, "Transport": {"n_configs": 15, "rel_mase_gmean": 0.6447411683656122, "rel_wql_gmean": 0.442132284996167}, "Web/CloudOps": {"n_configs": 20, "rel_mase_gmean": 0.5617243007193845, "rel_wql_gmean": 0.4378082514816697}}, "frequency": {"A": {"n_configs": 1, "rel_mase_gmean": 0.6174355033007595, "rel_wql_gmean": 0.6464320790726874}, "D": {"n_configs": 15, "rel_mase_gmean": 0.7765018646063141, "rel_wql_gmean": 0.5360963442907659}, "H": {"n_configs": 31, "rel_mase_gmean": 0.729523943107356, "rel_wql_gmean": 0.4974199163124135}, "M": {"n_configs": 5, "rel_mase_gmean": 0.9688155615793533, "rel_wql_gmean": 0.8282121039558453}, "Q": {"n_configs": 1, "rel_mase_gmean": 0.7789548898684013, "rel_wql_gmean": 0.8281810669626073}, "S": {"n_configs": 6, "rel_mase_gmean": 0.657424827907701, "rel_wql_gmean": 0.5057742486433215}, "T": {"n_configs": 30, "rel_mase_gmean": 0.6929995095863842, "rel_wql_gmean": 0.45475081881278595}, "W": {"n_configs": 8, "rel_mase_gmean": 0.9011291244909845, "rel_wql_gmean": 0.6693011160359584}}, "variates": {"multivariate": {"n_configs": 43, "rel_mase_gmean": 0.710039655336745, "rel_wql_gmean": 0.511942587644631}, "univariate": {"n_configs": 54, "rel_mase_gmean": 0.7703738146766376, "rel_wql_gmean": 0.5257441499310483}}}, "group_skill_delta": {"term": {"long": -0.0010118106313061759, "medium": -0.00037129576378203133, "short": -0.0012653961738797737}, "domain": {"Econ/Fin": -0.0006441364096760882, "Energy": -0.0016078574902267384, "Healthcare": -0.006984185169627399, "Nature": -0.00020313198054944248, "Sales": -0.002364454118613857, "Transport": 7.342614009608894e-05, "Web/CloudOps": -9.920427523435471e-05}, "frequency": {"A": 0.0028569523115398177, "D": -0.0007499672727220297, "H": -0.0005508457283032175, "M": -0.014818971593210772, "Q": -0.0026823567864709963, "S": -0.000629756848426255, "T": -0.0002641576452013794, "W": -0.0009432955023421785}, "variates": {"multivariate": -0.0006637132182860661, "univariate": -0.0012937612212758909}}}], "mean_delta": -0.0010063266015665207, "positive_cutoffs": 0, "outcome": "Main diagnostic trails control; preserve declared6000 primary and12000 durability before transfer decisions."} + +E119 full12000 training completed: {"launcher_pid": 19255, "label": "E119 learned phase-specific dispersion seed197", "command": ["python3", "/workspace/research/recovery/train.py", "--code-dir", "/workspace/research/seasonal_dispersion", "--packed", "/workspace/research/packed_sample", "--source-weights-from", "/workspace/research/packed_sample", "--out", "/workspace/research/runs/seasonal_dispersion", "--initialize-from", "/workspace/research/seasonal_dispersion_initial.pt", "--steps", "12000", "--batch", "64", "--lr", ".00002", "--seed", "197", "--loss-mode", "paired", "--stop-file", "/workspace/research/seasonal_dispersion.stop"], "status": "complete", "queued_utc": "2026-10-23T07:05:49Z", "wait_pids": [16340], "required_checkpoints": ["/workspace/research/runs/phase_joint/ema012000.pt"], "started_utc": "2026-10-23T07:49:44Z", "training_pid": 21134, "returncode": 0, "training_process_seconds": 2628.503051322885, "completed_utc": "2026-10-23T08:33:32Z"}. Training loop2611.556469116s. E121 older-summary-history trainer24729 started08:33:35. + +E128 selection clarification before12000 ensemble results: if primary6000 earns publication, durability12000 must additionally pass the same3of4/mean-positive ensemble gate versus that newly published6000 candidate, then improve its full score. This strengthens the original current-package comparison; no coefficient/duration sweep or automatic promotion. + +## E130 fixed fourth fresh-capacity member, declared 2026-10-23T08:36:18.970909+00:00 +Hypothesis: a separately initialized146M model may contribute error diversity despite its weaker standalone score. Primary checkpoint E79EMA48000 (chosen because it is the strongest observed E79wide main checkpoint through72000, not a blind checkpoint choice), seed307, SHA227ea80abf17fc81ae191f94e91f6dd7adbc0d837235750b5f5e9cef3dd5472c. Add it after E117finalfirst/E71EMA6000/E93EMA12000, ordered equal quarters for every instance. No new optimization, no additional data or fitted weights. One checkpoint and one weighting; no smaller-weight fallback if rejected. Evaluate all four cutoffs, require3of4positive and positive mean versus frozen E127triple before full replay. Any later publication must also improve the then-current full package and pass all runtime checks. If E128 earns publication first, require the same four-cutoff gate versus E128 as well. No four-member runtime or package is built until this diagnostic gate passes. + +E126 mandatory17000stop reached. Measured compute/timing: {"utc": "2026-10-23T08:41:07.993229+00:00", "checkpoint_sha256": "d8be56a82c73a0426710742a1468df3b3d8abdaad541da4716e58cc607ee6e18", "training_seed": 307, "optimizer_updates": 1000, "starting_step": 16000, "ending_step": 17000, "original_lr_schedule_steps": 96000, "compiled_training_process_seconds": 1500.9277165979147, "compiled_training_loop_seconds": 1456.545469535049, "original_16000to17000_logged_seconds": 494.5000000000009, "warm_intervals": [{"start": 16150, "end": 17000, "original_seconds": 419.90000000000146, "compiled_seconds": 398.70000000000005, "ratio_original_over_compiled": 1.0531728116378265}, {"start": 16500, "end": 17000, "original_seconds": 246.8000000000011, "compiled_seconds": 239.10000000000014, "ratio_original_over_compiled": 1.0322040987034753}, {"start": 16600, "end": 17000, "original_seconds": 192.90000000000146, "compiled_seconds": 187.0, "ratio_original_over_compiled": 1.0315508021390452}], "matched_logged_context_horizon_all": true, "notes": "Descriptive wall time on the same shared H100 at different times. Cold teacher compilation dominates the bounded probe. Warm intervals were inspected after training and are not an isolated randomized speed comparison. No adoption selected."}. Four-cutoff forecast comparison still pending; originalE101 unchanged. + +E111 final12000 durability: {"results": [{"cutoff": "evals", "delta": 0.003587592890627267, "candidate_skill": 0.3800888522094774, "control_skill": 0.37650125931885015, "candidate_hash": "c46f6b8de8c5b982dd84a7f3fd9a6b00069a30a6e32a01dcf92be9f88cbc09e1", "control_hash": "dc03098da92746d3974cdb5fd3df955a8b52e689260f1fdcd0dd7b63a91fe17e", "candidate_groups": {"term": {"long": {"n_configs": 21, "rel_mase_gmean": 0.7420863095161662, "rel_wql_gmean": 0.4796187815866674}, "medium": {"n_configs": 21, "rel_mase_gmean": 0.7116412034410219, "rel_wql_gmean": 0.49528650860865264}, "short": {"n_configs": 55, "rel_mase_gmean": 0.7527363095622707, "rel_wql_gmean": 0.5433350136140453}}, "domain": {"Econ/Fin": {"n_configs": 6, "rel_mase_gmean": 0.8790538298381169, "rel_wql_gmean": 0.8493909121009501}, "Energy": {"n_configs": 32, "rel_mase_gmean": 0.8986566430347296, "rel_wql_gmean": 0.6478984415102629}, "Healthcare": {"n_configs": 5, "rel_mase_gmean": 0.5436082622122895, "rel_wql_gmean": 0.47053438052057645}, "Nature": {"n_configs": 15, "rel_mase_gmean": 0.8074003235650732, "rel_wql_gmean": 0.3956944467918077}, "Sales": {"n_configs": 4, "rel_mase_gmean": 0.8619475981084186, "rel_wql_gmean": 0.5243392090163763}, "Transport": {"n_configs": 15, "rel_mase_gmean": 0.64503441597973, "rel_wql_gmean": 0.4423940661886322}, "Web/CloudOps": {"n_configs": 20, "rel_mase_gmean": 0.5652530534645915, "rel_wql_gmean": 0.4409464449528074}}, "frequency": {"A": {"n_configs": 1, "rel_mase_gmean": 0.6132163642365149, "rel_wql_gmean": 0.6428800537051756}, "D": {"n_configs": 15, "rel_mase_gmean": 0.7764965485362435, "rel_wql_gmean": 0.5324708908166516}, "H": {"n_configs": 31, "rel_mase_gmean": 0.7308417435943411, "rel_wql_gmean": 0.49923313835796534}, "M": {"n_configs": 5, "rel_mase_gmean": 0.967522466514349, "rel_wql_gmean": 0.8114676956097769}, "Q": {"n_configs": 1, "rel_mase_gmean": 0.7775771629460055, "rel_wql_gmean": 0.8236357235772779}, "S": {"n_configs": 6, "rel_mase_gmean": 0.656831019191695, "rel_wql_gmean": 0.5049323926291561}, "T": {"n_configs": 30, "rel_mase_gmean": 0.6930497075219463, "rel_wql_gmean": 0.45524457524339834}, "W": {"n_configs": 8, "rel_mase_gmean": 0.8728333303302914, "rel_wql_gmean": 0.6570375765808066}}, "variates": {"multivariate": {"n_configs": 43, "rel_mase_gmean": 0.7116420639622261, "rel_wql_gmean": 0.5135253249448213}, "univariate": {"n_configs": 54, "rel_mase_gmean": 0.7658948464355622, "rel_wql_gmean": 0.5222485058749349}}}, "control_groups": {"term": {"long": {"n_configs": 21, "rel_mase_gmean": 0.7423258223657083, "rel_wql_gmean": 0.4798378587550141}, "medium": {"n_configs": 21, "rel_mase_gmean": 0.7111249588305558, "rel_wql_gmean": 0.49538817078279485}, "short": {"n_configs": 55, "rel_mase_gmean": 0.7597756683365868, "rel_wql_gmean": 0.549315763341069}}, "domain": {"Econ/Fin": {"n_configs": 6, "rel_mase_gmean": 0.8762263674617405, "rel_wql_gmean": 0.8476913606765002}, "Energy": {"n_configs": 32, "rel_mase_gmean": 0.8987732108050124, "rel_wql_gmean": 0.6471334751576476}, "Healthcare": {"n_configs": 5, "rel_mase_gmean": 0.5948687348643393, "rel_wql_gmean": 0.5267177864306672}, "Nature": {"n_configs": 15, "rel_mase_gmean": 0.8128769118735754, "rel_wql_gmean": 0.39851840033548724}, "Sales": {"n_configs": 4, "rel_mase_gmean": 0.8620781263218368, "rel_wql_gmean": 0.5254552749363837}, "Transport": {"n_configs": 15, "rel_mase_gmean": 0.6453101528855447, "rel_wql_gmean": 0.44256597733622044}, "Web/CloudOps": {"n_configs": 20, "rel_mase_gmean": 0.5641150034309002, "rel_wql_gmean": 0.4405242882875604}}, "frequency": {"A": {"n_configs": 1, "rel_mase_gmean": 0.6139497813449873, "rel_wql_gmean": 0.6412697752176224}, "D": {"n_configs": 15, "rel_mase_gmean": 0.777666349767693, "rel_wql_gmean": 0.5322826373815059}, "H": {"n_configs": 31, "rel_mase_gmean": 0.731819244718065, "rel_wql_gmean": 0.49938279418453085}, "M": {"n_configs": 5, "rel_mase_gmean": 0.9893475338694124, "rel_wql_gmean": 0.8514023810064989}, "Q": {"n_configs": 1, "rel_mase_gmean": 0.776277696224593, "rel_wql_gmean": 0.8210565395309606}, "S": {"n_configs": 6, "rel_mase_gmean": 0.6563690273254504, "rel_wql_gmean": 0.5051017721981628}, "T": {"n_configs": 30, "rel_mase_gmean": 0.6923405331571078, "rel_wql_gmean": 0.45563442430764384}, "W": {"n_configs": 8, "rel_mase_gmean": 0.9133906475951029, "rel_wql_gmean": 0.6864010897148384}}, "variates": {"multivariate": {"n_configs": 43, "rel_mase_gmean": 0.711455836842964, "rel_wql_gmean": 0.5141081604537986}, "univariate": {"n_configs": 54, "rel_mase_gmean": 0.7732304940182492, "rel_wql_gmean": 0.527763230728218}}}}, {"cutoff": "backcast_evals", "delta": 0.0004508448857069025, "candidate_skill": 0.336345579192986, "control_skill": 0.3358947343072791, "candidate_hash": "c46f6b8de8c5b982dd84a7f3fd9a6b00069a30a6e32a01dcf92be9f88cbc09e1", "control_hash": "dc03098da92746d3974cdb5fd3df955a8b52e689260f1fdcd0dd7b63a91fe17e", "candidate_groups": {"term": {"long": {"n_configs": 21, "rel_mase_gmean": 0.7790082348464891, "rel_wql_gmean": 0.46724350861272756}, "medium": {"n_configs": 21, "rel_mase_gmean": 0.7718183487423279, "rel_wql_gmean": 0.5356800256251391}, "short": {"n_configs": 55, "rel_mase_gmean": 0.816336701870689, "rel_wql_gmean": 0.5944491791142082}}, "domain": {"Econ/Fin": {"n_configs": 6, "rel_mase_gmean": 0.8743383140618501, "rel_wql_gmean": 0.8115482467920418}, "Energy": {"n_configs": 32, "rel_mase_gmean": 0.8920437370389201, "rel_wql_gmean": 0.6724620601614585}, "Healthcare": {"n_configs": 5, "rel_mase_gmean": 0.6301153831047638, "rel_wql_gmean": 0.5294064719097866}, "Nature": {"n_configs": 15, "rel_mase_gmean": 0.9307099115890012, "rel_wql_gmean": 0.432536994417533}, "Sales": {"n_configs": 4, "rel_mase_gmean": 0.7319943560337289, "rel_wql_gmean": 0.4973602526744777}, "Transport": {"n_configs": 15, "rel_mase_gmean": 0.7353956379093834, "rel_wql_gmean": 0.5282732499238657}, "Web/CloudOps": {"n_configs": 20, "rel_mase_gmean": 0.6656881759377258, "rel_wql_gmean": 0.457805473374876}}, "frequency": {"A": {"n_configs": 1, "rel_mase_gmean": 0.6323421916529682, "rel_wql_gmean": 0.7125195453373806}, "D": {"n_configs": 15, "rel_mase_gmean": 0.8401032185045045, "rel_wql_gmean": 0.49851787812941284}, "H": {"n_configs": 31, "rel_mase_gmean": 0.7775737921507982, "rel_wql_gmean": 0.5163053172440278}, "M": {"n_configs": 5, "rel_mase_gmean": 0.8516771960093356, "rel_wql_gmean": 0.783458858837305}, "Q": {"n_configs": 1, "rel_mase_gmean": 0.7618635177885088, "rel_wql_gmean": 0.7720349555311086}, "S": {"n_configs": 6, "rel_mase_gmean": 0.8556890869149036, "rel_wql_gmean": 0.5079322155705273}, "T": {"n_configs": 30, "rel_mase_gmean": 0.7690547081596393, "rel_wql_gmean": 0.5772974049850865}, "W": {"n_configs": 8, "rel_mase_gmean": 0.8730255449024142, "rel_wql_gmean": 0.5772780775321152}}, "variates": {"multivariate": {"n_configs": 43, "rel_mase_gmean": 0.7930419762532899, "rel_wql_gmean": 0.5320842088499841}, "univariate": {"n_configs": 54, "rel_mase_gmean": 0.802611050809754, "rel_wql_gmean": 0.5678006458585831}}}, "control_groups": {"term": {"long": {"n_configs": 21, "rel_mase_gmean": 0.7790696804591536, "rel_wql_gmean": 0.4675903653980333}, "medium": {"n_configs": 21, "rel_mase_gmean": 0.7721877709531506, "rel_wql_gmean": 0.5359033743134146}, "short": {"n_configs": 55, "rel_mase_gmean": 0.8157056524541806, "rel_wql_gmean": 0.595945142576227}}, "domain": {"Econ/Fin": {"n_configs": 6, "rel_mase_gmean": 0.8702083459344165, "rel_wql_gmean": 0.8095153005807372}, "Energy": {"n_configs": 32, "rel_mase_gmean": 0.8915064371785775, "rel_wql_gmean": 0.6716980091534934}, "Healthcare": {"n_configs": 5, "rel_mase_gmean": 0.6240249575542719, "rel_wql_gmean": 0.5402160092228716}, "Nature": {"n_configs": 15, "rel_mase_gmean": 0.935694134093894, "rel_wql_gmean": 0.4349550600914482}, "Sales": {"n_configs": 4, "rel_mase_gmean": 0.7315038063745323, "rel_wql_gmean": 0.4978004030239261}, "Transport": {"n_configs": 15, "rel_mase_gmean": 0.735787693330345, "rel_wql_gmean": 0.5289930405755158}, "Web/CloudOps": {"n_configs": 20, "rel_mase_gmean": 0.6650226795797447, "rel_wql_gmean": 0.45792804555178057}}, "frequency": {"A": {"n_configs": 1, "rel_mase_gmean": 0.6325356225251678, "rel_wql_gmean": 0.7103481618244573}, "D": {"n_configs": 15, "rel_mase_gmean": 0.8394331932394111, "rel_wql_gmean": 0.4979820769791658}, "H": {"n_configs": 31, "rel_mase_gmean": 0.7778562933336808, "rel_wql_gmean": 0.5158436068239591}, "M": {"n_configs": 5, "rel_mase_gmean": 0.8454913331318379, "rel_wql_gmean": 0.7816333262802584}, "Q": {"n_configs": 1, "rel_mase_gmean": 0.7629077893451893, "rel_wql_gmean": 0.7702380946329767}, "S": {"n_configs": 6, "rel_mase_gmean": 0.8544025093684732, "rel_wql_gmean": 0.5071247498858551}, "T": {"n_configs": 30, "rel_mase_gmean": 0.7689059517346652, "rel_wql_gmean": 0.5775992603673705}, "W": {"n_configs": 8, "rel_mase_gmean": 0.8751544074195073, "rel_wql_gmean": 0.5931769268978029}}, "variates": {"multivariate": {"n_configs": 43, "rel_mase_gmean": 0.7925885195053555, "rel_wql_gmean": 0.5316423918477458}, "univariate": {"n_configs": 54, "rel_mase_gmean": 0.8025184091177678, "rel_wql_gmean": 0.5698895064907624}}}}, {"cutoff": "backcast2_evals", "delta": -0.0007155214872180959, "candidate_skill": 0.35914339229401815, "control_skill": 0.35985891378123624, "candidate_hash": "c46f6b8de8c5b982dd84a7f3fd9a6b00069a30a6e32a01dcf92be9f88cbc09e1", "control_hash": "dc03098da92746d3974cdb5fd3df955a8b52e689260f1fdcd0dd7b63a91fe17e", "candidate_groups": {"term": {"long": {"n_configs": 19, "rel_mase_gmean": 0.8010608604787697, "rel_wql_gmean": 0.5058931136928574}, "medium": {"n_configs": 21, "rel_mase_gmean": 0.7593876131764554, "rel_wql_gmean": 0.4948685068508969}, "short": {"n_configs": 54, "rel_mase_gmean": 0.7643174405738108, "rel_wql_gmean": 0.558838905261755}}, "domain": {"Econ/Fin": {"n_configs": 6, "rel_mase_gmean": 0.8846166393794367, "rel_wql_gmean": 0.904866247671209}, "Energy": {"n_configs": 32, "rel_mase_gmean": 0.896187080303528, "rel_wql_gmean": 0.6499935195279622}, "Healthcare": {"n_configs": 5, "rel_mase_gmean": 0.7139840974588996, "rel_wql_gmean": 0.6116436338534792}, "Nature": {"n_configs": 15, "rel_mase_gmean": 0.7657342318523654, "rel_wql_gmean": 0.361608668035801}, "Sales": {"n_configs": 3, "rel_mase_gmean": 0.5606805688947998, "rel_wql_gmean": 0.35877163547993823}, "Transport": {"n_configs": 14, "rel_mase_gmean": 0.667921477355026, "rel_wql_gmean": 0.5007724463114519}, "Web/CloudOps": {"n_configs": 19, "rel_mase_gmean": 0.6849034545205599, "rel_wql_gmean": 0.4715364832655338}}, "frequency": {"A": {"n_configs": 1, "rel_mase_gmean": 0.5794085942750264, "rel_wql_gmean": 0.7248287635585933}, "D": {"n_configs": 15, "rel_mase_gmean": 0.7271527605082205, "rel_wql_gmean": 0.44732850647022265}, "H": {"n_configs": 30, "rel_mase_gmean": 0.7593044766868842, "rel_wql_gmean": 0.49204023937378794}, "M": {"n_configs": 4, "rel_mase_gmean": 0.8223581497485334, "rel_wql_gmean": 0.8435364949877239}, "Q": {"n_configs": 1, "rel_mase_gmean": 0.8276797813426849, "rel_wql_gmean": 0.8661650537920869}, "S": {"n_configs": 6, "rel_mase_gmean": 0.9128999508202321, "rel_wql_gmean": 0.5692073285523297}, "T": {"n_configs": 29, "rel_mase_gmean": 0.7569688546219754, "rel_wql_gmean": 0.5419343145885958}, "W": {"n_configs": 8, "rel_mase_gmean": 0.8468387112040634, "rel_wql_gmean": 0.6451222771608602}}, "variates": {"multivariate": {"n_configs": 42, "rel_mase_gmean": 0.7847680751759654, "rel_wql_gmean": 0.5180062411558469}, "univariate": {"n_configs": 52, "rel_mase_gmean": 0.7591497051395932, "rel_wql_gmean": 0.5454875359701682}}}, "control_groups": {"term": {"long": {"n_configs": 19, "rel_mase_gmean": 0.8013559838363913, "rel_wql_gmean": 0.5054128770623004}, "medium": {"n_configs": 21, "rel_mase_gmean": 0.75788321794871, "rel_wql_gmean": 0.49421017421244823}, "short": {"n_configs": 54, "rel_mase_gmean": 0.7639898471755044, "rel_wql_gmean": 0.5577406704739787}}, "domain": {"Econ/Fin": {"n_configs": 6, "rel_mase_gmean": 0.884582495524887, "rel_wql_gmean": 0.9052218281574911}, "Energy": {"n_configs": 32, "rel_mase_gmean": 0.8962501330896433, "rel_wql_gmean": 0.6495487799423033}, "Healthcare": {"n_configs": 5, "rel_mase_gmean": 0.6926973403721509, "rel_wql_gmean": 0.5937869785059188}, "Nature": {"n_configs": 15, "rel_mase_gmean": 0.7713675171303247, "rel_wql_gmean": 0.3616973051331611}, "Sales": {"n_configs": 3, "rel_mase_gmean": 0.5592522419628495, "rel_wql_gmean": 0.35866016979444243}, "Transport": {"n_configs": 14, "rel_mase_gmean": 0.6679748662601066, "rel_wql_gmean": 0.501187884126286}, "Web/CloudOps": {"n_configs": 19, "rel_mase_gmean": 0.6844749650355838, "rel_wql_gmean": 0.4715640721636921}}, "frequency": {"A": {"n_configs": 1, "rel_mase_gmean": 0.5794331362019375, "rel_wql_gmean": 0.7249032130584426}, "D": {"n_configs": 15, "rel_mase_gmean": 0.7274908943977823, "rel_wql_gmean": 0.447185381910289}, "H": {"n_configs": 30, "rel_mase_gmean": 0.7592674956924574, "rel_wql_gmean": 0.4915230345874937}, "M": {"n_configs": 4, "rel_mase_gmean": 0.8160225626258149, "rel_wql_gmean": 0.8474243321015386}, "Q": {"n_configs": 1, "rel_mase_gmean": 0.8281711532324068, "rel_wql_gmean": 0.8673446644194264}, "S": {"n_configs": 6, "rel_mase_gmean": 0.9115517503849181, "rel_wql_gmean": 0.567299277514214}, "T": {"n_configs": 29, "rel_mase_gmean": 0.7565118858787296, "rel_wql_gmean": 0.5413823048088119}, "W": {"n_configs": 8, "rel_mase_gmean": 0.8461374522214398, "rel_wql_gmean": 0.6382218477885009}}, "variates": {"multivariate": {"n_configs": 42, "rel_mase_gmean": 0.7845688942217784, "rel_wql_gmean": 0.5172999150208025}, "univariate": {"n_configs": 52, "rel_mase_gmean": 0.7584619130014335, "rel_wql_gmean": 0.5444927422951403}}}}, {"cutoff": "backcast3_evals", "delta": -0.00011104319600929724, "candidate_skill": 0.3884454882609417, "control_skill": 0.388556531456951, "candidate_hash": "c46f6b8de8c5b982dd84a7f3fd9a6b00069a30a6e32a01dcf92be9f88cbc09e1", "control_hash": "dc03098da92746d3974cdb5fd3df955a8b52e689260f1fdcd0dd7b63a91fe17e", "candidate_groups": {"term": {"long": {"n_configs": 19, "rel_mase_gmean": 0.7655089106919575, "rel_wql_gmean": 0.4786526643377788}, "medium": {"n_configs": 20, "rel_mase_gmean": 0.766305114235611, "rel_wql_gmean": 0.5303297894176286}, "short": {"n_configs": 54, "rel_mase_gmean": 0.7198899194684742, "rel_wql_gmean": 0.5074270380794397}}, "domain": {"Econ/Fin": {"n_configs": 6, "rel_mase_gmean": 0.8394575658871352, "rel_wql_gmean": 0.8384753446031146}, "Energy": {"n_configs": 32, "rel_mase_gmean": 0.8342818127663953, "rel_wql_gmean": 0.5572462200193641}, "Healthcare": {"n_configs": 5, "rel_mase_gmean": 0.7900967331436005, "rel_wql_gmean": 0.6443370142052202}, "Nature": {"n_configs": 15, "rel_mase_gmean": 0.7313879255209577, "rel_wql_gmean": 0.3437346202758351}, "Sales": {"n_configs": 3, "rel_mase_gmean": 0.7563791395727647, "rel_wql_gmean": 0.47876029420052607}, "Transport": {"n_configs": 14, "rel_mase_gmean": 0.5443222149905831, "rel_wql_gmean": 0.4499472259048489}, "Web/CloudOps": {"n_configs": 18, "rel_mase_gmean": 0.7134583555712409, "rel_wql_gmean": 0.515064113428559}}, "frequency": {"A": {"n_configs": 1, "rel_mase_gmean": 0.5338688370505897, "rel_wql_gmean": 0.8430211928146529}, "D": {"n_configs": 15, "rel_mase_gmean": 0.737630218832089, "rel_wql_gmean": 0.42824059419177646}, "H": {"n_configs": 29, "rel_mase_gmean": 0.7264195474702443, "rel_wql_gmean": 0.4878160147056754}, "M": {"n_configs": 4, "rel_mase_gmean": 0.864952094007602, "rel_wql_gmean": 0.8584711086039413}, "Q": {"n_configs": 1, "rel_mase_gmean": 0.7157085259644085, "rel_wql_gmean": 0.7721868892500026}, "S": {"n_configs": 6, "rel_mase_gmean": 0.8425150884547248, "rel_wql_gmean": 0.6004486447299989}, "T": {"n_configs": 29, "rel_mase_gmean": 0.7034729492461643, "rel_wql_gmean": 0.4619193762410968}, "W": {"n_configs": 8, "rel_mase_gmean": 0.8245319242102328, "rel_wql_gmean": 0.6635526495874977}}, "variates": {"multivariate": {"n_configs": 41, "rel_mase_gmean": 0.7611464183431048, "rel_wql_gmean": 0.5124011254553782}, "univariate": {"n_configs": 52, "rel_mase_gmean": 0.7217227861672926, "rel_wql_gmean": 0.5013530673411241}}}, "control_groups": {"term": {"long": {"n_configs": 19, "rel_mase_gmean": 0.7663754402347989, "rel_wql_gmean": 0.4788938791084861}, "medium": {"n_configs": 20, "rel_mase_gmean": 0.7658739230595875, "rel_wql_gmean": 0.529347553216718}, "short": {"n_configs": 54, "rel_mase_gmean": 0.7178692269632083, "rel_wql_gmean": 0.5086998134122838}}, "domain": {"Econ/Fin": {"n_configs": 6, "rel_mase_gmean": 0.8358354885094386, "rel_wql_gmean": 0.8418146966445984}, "Energy": {"n_configs": 32, "rel_mase_gmean": 0.8338897723615496, "rel_wql_gmean": 0.5562121498093919}, "Healthcare": {"n_configs": 5, "rel_mase_gmean": 0.8060949747388733, "rel_wql_gmean": 0.6796354438827096}, "Nature": {"n_configs": 15, "rel_mase_gmean": 0.7222059595204405, "rel_wql_gmean": 0.3416807049403571}, "Sales": {"n_configs": 3, "rel_mase_gmean": 0.7557238523302612, "rel_wql_gmean": 0.47948838435897584}, "Transport": {"n_configs": 14, "rel_mase_gmean": 0.5443370693639568, "rel_wql_gmean": 0.4497401377123374}, "Web/CloudOps": {"n_configs": 18, "rel_mase_gmean": 0.7130988319811894, "rel_wql_gmean": 0.5141627844030099}}, "frequency": {"A": {"n_configs": 1, "rel_mase_gmean": 0.5331048942504498, "rel_wql_gmean": 0.8394069703462528}, "D": {"n_configs": 15, "rel_mase_gmean": 0.7335602695405524, "rel_wql_gmean": 0.42553600401076375}, "H": {"n_configs": 29, "rel_mase_gmean": 0.7260346680667362, "rel_wql_gmean": 0.4869693265129284}, "M": {"n_configs": 4, "rel_mase_gmean": 0.881837749964207, "rel_wql_gmean": 0.8756527000622875}, "Q": {"n_configs": 1, "rel_mase_gmean": 0.7161603254136085, "rel_wql_gmean": 0.7742932145513032}, "S": {"n_configs": 6, "rel_mase_gmean": 0.8420519451582145, "rel_wql_gmean": 0.5981276922561349}, "T": {"n_configs": 29, "rel_mase_gmean": 0.7039614590005732, "rel_wql_gmean": 0.46207823333750453}, "W": {"n_configs": 8, "rel_mase_gmean": 0.810577145353702, "rel_wql_gmean": 0.6793951900954402}}, "variates": {"multivariate": {"n_configs": 41, "rel_mase_gmean": 0.7616930972618384, "rel_wql_gmean": 0.5118981392017699}, "univariate": {"n_configs": 52, "rel_mase_gmean": 0.7193535077794512, "rel_wql_gmean": 0.5027824181292397}}}}], "positive": 2, "mean_delta": 0.0008029682732766941, "seconds": 841.7242407109588}. E124 primary6000 gate remains failed; no new averaging rule. + +E119 dispersion12000 durability: {"label": "E119 dispersion12000 durability", "utc": "2026-10-23T08:44:56.875956+00:00", "candidate": "seasonal_dispersion_ema12000", "control": "long_seasonal_ema12000", "rows": [{"cutoff": "evals", "candidate_skill": 0.3820478868373609, "control_skill": 0.38231375879048757, "delta": -0.0002658719531266618, "candidate_checkpoint": "b0204fa8dd3371d9160fc00545d6b065ccb23bb18e345b3b63cd39c024c9acf5", "control_checkpoint": "d512cdac520239f0c10e021721424d87cee30086fa70f6cbc41f21e2e04988c3", "candidate_eval_seconds": 29.899949550628662, "candidate_groups": {"term": {"long": {"n_configs": 21, "rel_mase_gmean": 0.7389032030803768, "rel_wql_gmean": 0.4775255930846139}, "medium": {"n_configs": 21, "rel_mase_gmean": 0.7110090800376195, "rel_wql_gmean": 0.49416801903946805}, "short": {"n_configs": 55, "rel_mase_gmean": 0.7504609946788687, "rel_wql_gmean": 0.5413698790489025}}, "domain": {"Econ/Fin": {"n_configs": 6, "rel_mase_gmean": 0.8804929993505196, "rel_wql_gmean": 0.8550445515045846}, "Energy": {"n_configs": 32, "rel_mase_gmean": 0.9011157762761242, "rel_wql_gmean": 0.6441525168035792}, "Healthcare": {"n_configs": 5, "rel_mase_gmean": 0.5841227032423717, "rel_wql_gmean": 0.5152693556823793}, "Nature": {"n_configs": 15, "rel_mase_gmean": 0.8018394415733434, "rel_wql_gmean": 0.39970868464473397}, "Sales": {"n_configs": 4, "rel_mase_gmean": 0.8494409474640868, "rel_wql_gmean": 0.5191016450797338}, "Transport": {"n_configs": 15, "rel_mase_gmean": 0.631290389229455, "rel_wql_gmean": 0.4311304324404592}, "Web/CloudOps": {"n_configs": 20, "rel_mase_gmean": 0.5583176379809373, "rel_wql_gmean": 0.4328344133541464}}, "frequency": {"A": {"n_configs": 1, "rel_mase_gmean": 0.6260908412504385, "rel_wql_gmean": 0.6531805976165398}, "D": {"n_configs": 15, "rel_mase_gmean": 0.7625008852504683, "rel_wql_gmean": 0.5256123818684614}, "H": {"n_configs": 31, "rel_mase_gmean": 0.7269253228245665, "rel_wql_gmean": 0.4957875948564009}, "M": {"n_configs": 5, "rel_mase_gmean": 0.9683877465170895, "rel_wql_gmean": 0.8250296285399715}, "Q": {"n_configs": 1, "rel_mase_gmean": 0.7794669965817581, "rel_wql_gmean": 0.8259636078611131}, "S": {"n_configs": 6, "rel_mase_gmean": 0.6552664068279662, "rel_wql_gmean": 0.5032424048533084}, "T": {"n_configs": 30, "rel_mase_gmean": 0.6897053807375739, "rel_wql_gmean": 0.45130068257990086}, "W": {"n_configs": 8, "rel_mase_gmean": 0.905700561781496, "rel_wql_gmean": 0.6779024808640658}}, "variates": {"multivariate": {"n_configs": 43, "rel_mase_gmean": 0.7086017938396406, "rel_wql_gmean": 0.5106302124003929}, "univariate": {"n_configs": 54, "rel_mase_gmean": 0.7646004882955708, "rel_wql_gmean": 0.5213256741612632}}}, "control_groups": {"term": {"long": {"n_configs": 21, "rel_mase_gmean": 0.7385624256035537, "rel_wql_gmean": 0.4774480306015298}, "medium": {"n_configs": 21, "rel_mase_gmean": 0.7112970077840257, "rel_wql_gmean": 0.49399950873586423}, "short": {"n_configs": 55, "rel_mase_gmean": 0.7495810559140079, "rel_wql_gmean": 0.5412990087697497}}, "domain": {"Econ/Fin": {"n_configs": 6, "rel_mase_gmean": 0.8812498422781989, "rel_wql_gmean": 0.8555240839274089}, "Energy": {"n_configs": 32, "rel_mase_gmean": 0.9003124134337842, "rel_wql_gmean": 0.6439831822912251}, "Healthcare": {"n_configs": 5, "rel_mase_gmean": 0.5795579602545416, "rel_wql_gmean": 0.5129229324649281}, "Nature": {"n_configs": 15, "rel_mase_gmean": 0.8014187192027531, "rel_wql_gmean": 0.39917690533601163}, "Sales": {"n_configs": 4, "rel_mase_gmean": 0.8487678656214006, "rel_wql_gmean": 0.5191938831467846}, "Transport": {"n_configs": 15, "rel_mase_gmean": 0.6315950761584922, "rel_wql_gmean": 0.4315386790157564}, "Web/CloudOps": {"n_configs": 20, "rel_mase_gmean": 0.5583373635107705, "rel_wql_gmean": 0.433162583197897}}, "frequency": {"A": {"n_configs": 1, "rel_mase_gmean": 0.6267725580318051, "rel_wql_gmean": 0.6538606856911642}, "D": {"n_configs": 15, "rel_mase_gmean": 0.7599509242283058, "rel_wql_gmean": 0.524915385039173}, "H": {"n_configs": 31, "rel_mase_gmean": 0.726196004396462, "rel_wql_gmean": 0.4955559356320016}, "M": {"n_configs": 5, "rel_mase_gmean": 0.9682906777404066, "rel_wql_gmean": 0.8249007339255652}, "Q": {"n_configs": 1, "rel_mase_gmean": 0.7794132143007206, "rel_wql_gmean": 0.826151122683708}, "S": {"n_configs": 6, "rel_mase_gmean": 0.654344138587591, "rel_wql_gmean": 0.5028751847848326}, "T": {"n_configs": 30, "rel_mase_gmean": 0.6900127153197991, "rel_wql_gmean": 0.4513560570693673}, "W": {"n_configs": 8, "rel_mase_gmean": 0.9068583895899763, "rel_wql_gmean": 0.679330225432368}}, "variates": {"multivariate": {"n_configs": 43, "rel_mase_gmean": 0.7082895004717786, "rel_wql_gmean": 0.5105014816296383}, "univariate": {"n_configs": 54, "rel_mase_gmean": 0.7639387308045943, "rel_wql_gmean": 0.5212587544154408}}}, "group_skill_delta": {"term": {"long": -0.00018522402741716348, "medium": 1.8914618052701115e-05, "short": -0.0004154919647112454}, "domain": {"Econ/Fin": 0.0006162111295645589, "Energy": -0.00043979271309579904, "Healthcare": -0.0033935121173114258, "Nature": -0.000525162940354984, "Sales": -0.00020416825007274486, "Transport": 0.00037288575793670287, "Web/CloudOps": 0.00019501006473421345}, "frequency": {"A": 0.000681072211661804, "D": -0.0014786322963041831, "H": -0.00044143106525906806, "M": -0.00011462083986268912, "Q": 6.33898442757852e-05, "S": -0.0006136656077435632, "T": 0.00015852378646019627, "W": 0.0013259232474338578}, "variates": {"multivariate": -0.00020837712618171356, "univariate": -0.00031378055112707415}}}, {"cutoff": "backcast_evals", "candidate_skill": 0.3418892780195716, "control_skill": 0.34137925383664736, "delta": 0.0005100241829242291, "candidate_checkpoint": "b0204fa8dd3371d9160fc00545d6b065ccb23bb18e345b3b63cd39c024c9acf5", "control_checkpoint": "d512cdac520239f0c10e021721424d87cee30086fa70f6cbc41f21e2e04988c3", "candidate_eval_seconds": 30.358814477920532, "candidate_groups": {"term": {"long": {"n_configs": 21, "rel_mase_gmean": 0.7739203449970765, "rel_wql_gmean": 0.4624749910039315}, "medium": {"n_configs": 21, "rel_mase_gmean": 0.7670191905850069, "rel_wql_gmean": 0.5295139958967662}, "short": {"n_configs": 55, "rel_mase_gmean": 0.8087785498550463, "rel_wql_gmean": 0.590263798231263}}, "domain": {"Econ/Fin": {"n_configs": 6, "rel_mase_gmean": 0.8743674629847383, "rel_wql_gmean": 0.8161720641051514}, "Energy": {"n_configs": 32, "rel_mase_gmean": 0.8853621974210792, "rel_wql_gmean": 0.665058032816427}, "Healthcare": {"n_configs": 5, "rel_mase_gmean": 0.6579970194342092, "rel_wql_gmean": 0.5646715267254061}, "Nature": {"n_configs": 15, "rel_mase_gmean": 0.9052563953011699, "rel_wql_gmean": 0.42318224850833497}, "Sales": {"n_configs": 4, "rel_mase_gmean": 0.7239801636643148, "rel_wql_gmean": 0.4912094503535297}, "Transport": {"n_configs": 15, "rel_mase_gmean": 0.7292932013886385, "rel_wql_gmean": 0.5220064683319335}, "Web/CloudOps": {"n_configs": 20, "rel_mase_gmean": 0.6600102642208264, "rel_wql_gmean": 0.4511555367132821}}, "frequency": {"A": {"n_configs": 1, "rel_mase_gmean": 0.6444326514379081, "rel_wql_gmean": 0.7248601482512232}, "D": {"n_configs": 15, "rel_mase_gmean": 0.8172654104294157, "rel_wql_gmean": 0.48783020134756094}, "H": {"n_configs": 31, "rel_mase_gmean": 0.7679461029022491, "rel_wql_gmean": 0.5077426505293602}, "M": {"n_configs": 5, "rel_mase_gmean": 0.8645966624230256, "rel_wql_gmean": 0.7911152729414949}, "Q": {"n_configs": 1, "rel_mase_gmean": 0.7629806732535767, "rel_wql_gmean": 0.7768213615208555}, "S": {"n_configs": 6, "rel_mase_gmean": 0.8530821682550342, "rel_wql_gmean": 0.5073353488371999}, "T": {"n_configs": 30, "rel_mase_gmean": 0.7676622656760491, "rel_wql_gmean": 0.5719661183084246}, "W": {"n_configs": 8, "rel_mase_gmean": 0.8726377917578133, "rel_wql_gmean": 0.592614882559852}}, "variates": {"multivariate": {"n_configs": 43, "rel_mase_gmean": 0.7867641705481724, "rel_wql_gmean": 0.5262034616384936}, "univariate": {"n_configs": 54, "rel_mase_gmean": 0.796120821098744, "rel_wql_gmean": 0.5639311517534341}}}, "control_groups": {"term": {"long": {"n_configs": 21, "rel_mase_gmean": 0.7748213703894843, "rel_wql_gmean": 0.4628541503223905}, "medium": {"n_configs": 21, "rel_mase_gmean": 0.7664514736085948, "rel_wql_gmean": 0.5293825048686492}, "short": {"n_configs": 55, "rel_mase_gmean": 0.8092133321048779, "rel_wql_gmean": 0.5913363636847011}}, "domain": {"Econ/Fin": {"n_configs": 6, "rel_mase_gmean": 0.8757735001155781, "rel_wql_gmean": 0.8170938641172787}, "Energy": {"n_configs": 32, "rel_mase_gmean": 0.884884194524689, "rel_wql_gmean": 0.6647829318344969}, "Healthcare": {"n_configs": 5, "rel_mase_gmean": 0.6563469207069739, "rel_wql_gmean": 0.5654393474023085}, "Nature": {"n_configs": 15, "rel_mase_gmean": 0.9047462993987708, "rel_wql_gmean": 0.4229856130109878}, "Sales": {"n_configs": 4, "rel_mase_gmean": 0.7234827485870052, "rel_wql_gmean": 0.49101355399514096}, "Transport": {"n_configs": 15, "rel_mase_gmean": 0.7302388544768311, "rel_wql_gmean": 0.5230662990235599}, "Web/CloudOps": {"n_configs": 20, "rel_mase_gmean": 0.6616757881069665, "rel_wql_gmean": 0.45318260421936735}}, "frequency": {"A": {"n_configs": 1, "rel_mase_gmean": 0.6445112721993314, "rel_wql_gmean": 0.7250031265258748}, "D": {"n_configs": 15, "rel_mase_gmean": 0.8169867958549157, "rel_wql_gmean": 0.48765941110091987}, "H": {"n_configs": 31, "rel_mase_gmean": 0.7687868921949567, "rel_wql_gmean": 0.5082857531718749}, "M": {"n_configs": 5, "rel_mase_gmean": 0.8647112860240415, "rel_wql_gmean": 0.791872490233388}, "Q": {"n_configs": 1, "rel_mase_gmean": 0.7635201146060429, "rel_wql_gmean": 0.7764383165590925}, "S": {"n_configs": 6, "rel_mase_gmean": 0.8527947748812648, "rel_wql_gmean": 0.5066866363631385}, "T": {"n_configs": 30, "rel_mase_gmean": 0.7680903138861567, "rel_wql_gmean": 0.5733326508067024}, "W": {"n_configs": 8, "rel_mase_gmean": 0.8719229424762637, "rel_wql_gmean": 0.5937682323059945}}, "variates": {"multivariate": {"n_configs": 43, "rel_mase_gmean": 0.7868235601514957, "rel_wql_gmean": 0.526807616706907}, "univariate": {"n_configs": 54, "rel_mase_gmean": 0.7966399243027747, "rel_wql_gmean": 0.5645842503200074}}}, "group_skill_delta": {"term": {"long": 0.0005934931901844243, "medium": -0.0003149982153517472, "short": 0.0008133233930377459}, "domain": {"Econ/Fin": 0.0011562449907654981, "Energy": -0.00036585013989731685, "Healthcare": -0.0003510209847806811, "Nature": -0.000318180378963584, "Sales": -0.0003237792289906283, "Transport": 0.001026338694583906, "Web/CloudOps": 0.0019141307469233704}, "frequency": {"A": 0.00010909732126695992, "D": -0.00021815837056016196, "H": 0.0006757934500155605, "M": 0.0004505535215830747, "Q": 8.220887196608295e-05, "S": -0.0005314889100238585, "T": 0.000976034382170754, "W": 0.0004045469138087565}, "variates": {"multivariate": 0.00039356425175118837, "univariate": 0.0006064203174075411}}}, {"cutoff": "backcast2_evals", "candidate_skill": 0.3655776712597705, "control_skill": 0.3650598400595585, "delta": 0.0005178312002119823, "candidate_checkpoint": "b0204fa8dd3371d9160fc00545d6b065ccb23bb18e345b3b63cd39c024c9acf5", "control_checkpoint": "d512cdac520239f0c10e021721424d87cee30086fa70f6cbc41f21e2e04988c3", "candidate_eval_seconds": 29.32106637954712, "candidate_groups": {"term": {"long": {"n_configs": 19, "rel_mase_gmean": 0.7957101938303016, "rel_wql_gmean": 0.5022344522726042}, "medium": {"n_configs": 21, "rel_mase_gmean": 0.7493165290449147, "rel_wql_gmean": 0.48589148044854996}, "short": {"n_configs": 54, "rel_mase_gmean": 0.7592133707158151, "rel_wql_gmean": 0.5526106392402376}}, "domain": {"Econ/Fin": {"n_configs": 6, "rel_mase_gmean": 0.8916706823244112, "rel_wql_gmean": 0.9093796505356709}, "Energy": {"n_configs": 32, "rel_mase_gmean": 0.8960744934624816, "rel_wql_gmean": 0.6460246578073142}, "Healthcare": {"n_configs": 5, "rel_mase_gmean": 0.6984033526422165, "rel_wql_gmean": 0.5933308036019226}, "Nature": {"n_configs": 15, "rel_mase_gmean": 0.7465754066379666, "rel_wql_gmean": 0.35465776917776354}, "Sales": {"n_configs": 3, "rel_mase_gmean": 0.559290997380798, "rel_wql_gmean": 0.3564560443374385}, "Transport": {"n_configs": 14, "rel_mase_gmean": 0.6603838561435512, "rel_wql_gmean": 0.4940639621155883}, "Web/CloudOps": {"n_configs": 19, "rel_mase_gmean": 0.6792879027084646, "rel_wql_gmean": 0.46390410322974923}}, "frequency": {"A": {"n_configs": 1, "rel_mase_gmean": 0.5823310864214802, "rel_wql_gmean": 0.724835278367236}, "D": {"n_configs": 15, "rel_mase_gmean": 0.7222253162661183, "rel_wql_gmean": 0.4441238921359276}, "H": {"n_configs": 30, "rel_mase_gmean": 0.7510745160444832, "rel_wql_gmean": 0.48421048476502265}, "M": {"n_configs": 4, "rel_mase_gmean": 0.8049624975185914, "rel_wql_gmean": 0.8337942280653755}, "Q": {"n_configs": 1, "rel_mase_gmean": 0.8327902926785946, "rel_wql_gmean": 0.8787396634191282}, "S": {"n_configs": 6, "rel_mase_gmean": 0.9029763402504646, "rel_wql_gmean": 0.5665644057202113}, "T": {"n_configs": 29, "rel_mase_gmean": 0.7538170530124115, "rel_wql_gmean": 0.5356891156947962}, "W": {"n_configs": 8, "rel_mase_gmean": 0.8384463511921755, "rel_wql_gmean": 0.6337414984658606}}, "variates": {"multivariate": {"n_configs": 42, "rel_mase_gmean": 0.7796481341539873, "rel_wql_gmean": 0.5122582767435926}, "univariate": {"n_configs": 52, "rel_mase_gmean": 0.751963109653387, "rel_wql_gmean": 0.5386190816130975}}}, "control_groups": {"term": {"long": {"n_configs": 19, "rel_mase_gmean": 0.796127056742376, "rel_wql_gmean": 0.5022139410634582}, "medium": {"n_configs": 21, "rel_mase_gmean": 0.7505942901123125, "rel_wql_gmean": 0.4865575819153698}, "short": {"n_configs": 54, "rel_mase_gmean": 0.7594504520679526, "rel_wql_gmean": 0.5532537195147663}}, "domain": {"Econ/Fin": {"n_configs": 6, "rel_mase_gmean": 0.8929618274343588, "rel_wql_gmean": 0.9103813793769899}, "Energy": {"n_configs": 32, "rel_mase_gmean": 0.8959209226146972, "rel_wql_gmean": 0.6453740580861129}, "Healthcare": {"n_configs": 5, "rel_mase_gmean": 0.6961784435164479, "rel_wql_gmean": 0.5915734081229318}, "Nature": {"n_configs": 15, "rel_mase_gmean": 0.7476406868387996, "rel_wql_gmean": 0.35522212901676864}, "Sales": {"n_configs": 3, "rel_mase_gmean": 0.5597759096460994, "rel_wql_gmean": 0.35738676117830037}, "Transport": {"n_configs": 14, "rel_mase_gmean": 0.6611597485381723, "rel_wql_gmean": 0.4949322755161753}, "Web/CloudOps": {"n_configs": 19, "rel_mase_gmean": 0.6805375314732472, "rel_wql_gmean": 0.4657391485089796}}, "frequency": {"A": {"n_configs": 1, "rel_mase_gmean": 0.582687321216151, "rel_wql_gmean": 0.7249374834569997}, "D": {"n_configs": 15, "rel_mase_gmean": 0.7228644523548966, "rel_wql_gmean": 0.4448013254664766}, "H": {"n_configs": 30, "rel_mase_gmean": 0.7512801448992653, "rel_wql_gmean": 0.48470980713170986}, "M": {"n_configs": 4, "rel_mase_gmean": 0.8061257673025353, "rel_wql_gmean": 0.8338421947073288}, "Q": {"n_configs": 1, "rel_mase_gmean": 0.8329742195879615, "rel_wql_gmean": 0.8780190666063756}, "S": {"n_configs": 6, "rel_mase_gmean": 0.903952356548986, "rel_wql_gmean": 0.5661338988037351}, "T": {"n_configs": 29, "rel_mase_gmean": 0.7547233557063331, "rel_wql_gmean": 0.536425314767226}, "W": {"n_configs": 8, "rel_mase_gmean": 0.83773127724725, "rel_wql_gmean": 0.6339155481728359}}, "variates": {"multivariate": {"n_configs": 42, "rel_mase_gmean": 0.780210137456359, "rel_wql_gmean": 0.5128749991570595}, "univariate": {"n_configs": 52, "rel_mase_gmean": 0.7524307203251008, "rel_wql_gmean": 0.5390362822620333}}}, "group_skill_delta": {"term": {"long": 0.00015265790254148648, "medium": 0.0009280507553094397, "short": 0.0004779586831510363}, "domain": {"Econ/Fin": 0.0011479018275053487, "Energy": -0.0004483809788876636, "Healthcare": -0.001978698982208482, "Nature": 0.0007765227244096451, "Sales": 0.0007763039411929351, "Transport": 0.0008374732354174963, "Web/CloudOps": 0.0016263021837661373}, "frequency": {"A": 0.00024450622227922825, "D": 0.0006825072861625925, "H": 0.0003934483458349902, "M": 0.0006153275895631749, "Q": -0.00025640136438909167, "S": 0.00011450777265553658, "T": 0.0008186590134711125, "W": -0.00021085977279267087}, "variates": {"multivariate": 0.00060817659956236, "univariate": 0.00044435063951930864}}}, {"cutoff": "backcast3_evals", "candidate_skill": 0.39329641531340254, "control_skill": 0.3928331731047856, "delta": 0.0004632422086169319, "candidate_checkpoint": "b0204fa8dd3371d9160fc00545d6b065ccb23bb18e345b3b63cd39c024c9acf5", "control_checkpoint": "d512cdac520239f0c10e021721424d87cee30086fa70f6cbc41f21e2e04988c3", "candidate_eval_seconds": 26.51674461364746, "candidate_groups": {"term": {"long": {"n_configs": 19, "rel_mase_gmean": 0.7620982278020191, "rel_wql_gmean": 0.47426314781212775}, "medium": {"n_configs": 20, "rel_mase_gmean": 0.7694130571916938, "rel_wql_gmean": 0.5293555168619524}, "short": {"n_configs": 54, "rel_mase_gmean": 0.7102997952164497, "rel_wql_gmean": 0.5023655717094271}}, "domain": {"Econ/Fin": {"n_configs": 6, "rel_mase_gmean": 0.8390596184536422, "rel_wql_gmean": 0.8364410318397068}, "Energy": {"n_configs": 32, "rel_mase_gmean": 0.8301807382152379, "rel_wql_gmean": 0.552148460325587}, "Healthcare": {"n_configs": 5, "rel_mase_gmean": 0.7582486561812802, "rel_wql_gmean": 0.6324647241609418}, "Nature": {"n_configs": 15, "rel_mase_gmean": 0.7235102474851808, "rel_wql_gmean": 0.33685653081795286}, "Sales": {"n_configs": 3, "rel_mase_gmean": 0.7486059713981105, "rel_wql_gmean": 0.47352466437330154}, "Transport": {"n_configs": 14, "rel_mase_gmean": 0.5373740999001123, "rel_wql_gmean": 0.4458528549155647}, "Web/CloudOps": {"n_configs": 18, "rel_mase_gmean": 0.7139121494179991, "rel_wql_gmean": 0.5182975401922782}}, "frequency": {"A": {"n_configs": 1, "rel_mase_gmean": 0.5305412273194996, "rel_wql_gmean": 0.8003515074386365}, "D": {"n_configs": 15, "rel_mase_gmean": 0.7189848782726174, "rel_wql_gmean": 0.4168506671427805}, "H": {"n_configs": 29, "rel_mase_gmean": 0.7218929902246265, "rel_wql_gmean": 0.48494043868982045}, "M": {"n_configs": 4, "rel_mase_gmean": 0.8339835183539945, "rel_wql_gmean": 0.8257482517849524}, "Q": {"n_configs": 1, "rel_mase_gmean": 0.7130270287878929, "rel_wql_gmean": 0.7661662375161}, "S": {"n_configs": 6, "rel_mase_gmean": 0.8378690834528353, "rel_wql_gmean": 0.5986481829064408}, "T": {"n_configs": 29, "rel_mase_gmean": 0.7071701445283383, "rel_wql_gmean": 0.4630581494762598}, "W": {"n_configs": 8, "rel_mase_gmean": 0.8116701266923606, "rel_wql_gmean": 0.6622668197361823}}, "variates": {"multivariate": {"n_configs": 41, "rel_mase_gmean": 0.7597234443787527, "rel_wql_gmean": 0.5110609184057446}, "univariate": {"n_configs": 52, "rel_mase_gmean": 0.7127385729927525, "rel_wql_gmean": 0.49516529836403683}}}, "control_groups": {"term": {"long": {"n_configs": 19, "rel_mase_gmean": 0.7631434004686845, "rel_wql_gmean": 0.4745780224475118}, "medium": {"n_configs": 20, "rel_mase_gmean": 0.7702543592823002, "rel_wql_gmean": 0.5302072122994279}, "short": {"n_configs": 54, "rel_mase_gmean": 0.7102740757127205, "rel_wql_gmean": 0.5028426749263977}}, "domain": {"Econ/Fin": {"n_configs": 6, "rel_mase_gmean": 0.8404794249042948, "rel_wql_gmean": 0.8377611830280824}, "Energy": {"n_configs": 32, "rel_mase_gmean": 0.8299149339539488, "rel_wql_gmean": 0.5519405024214632}, "Healthcare": {"n_configs": 5, "rel_mase_gmean": 0.7621826867136657, "rel_wql_gmean": 0.6349175346276966}, "Nature": {"n_configs": 15, "rel_mase_gmean": 0.7231739407449111, "rel_wql_gmean": 0.3380432271049275}, "Sales": {"n_configs": 3, "rel_mase_gmean": 0.7474335142271239, "rel_wql_gmean": 0.4733071421517686}, "Transport": {"n_configs": 14, "rel_mase_gmean": 0.5378627602598968, "rel_wql_gmean": 0.4463114549472672}, "Web/CloudOps": {"n_configs": 18, "rel_mase_gmean": 0.7146709097664398, "rel_wql_gmean": 0.5186863440823273}}, "frequency": {"A": {"n_configs": 1, "rel_mase_gmean": 0.5306073447296601, "rel_wql_gmean": 0.8030982774337949}, "D": {"n_configs": 15, "rel_mase_gmean": 0.7175124768607152, "rel_wql_gmean": 0.41780178227764675}, "H": {"n_configs": 29, "rel_mase_gmean": 0.7223996277645064, "rel_wql_gmean": 0.4859456509788173}, "M": {"n_configs": 4, "rel_mase_gmean": 0.8339193215840682, "rel_wql_gmean": 0.8250296214792107}, "Q": {"n_configs": 1, "rel_mase_gmean": 0.7133214644953572, "rel_wql_gmean": 0.7659591311067668}, "S": {"n_configs": 6, "rel_mase_gmean": 0.8388577706002066, "rel_wql_gmean": 0.5998597273487538}, "T": {"n_configs": 29, "rel_mase_gmean": 0.7077596915926687, "rel_wql_gmean": 0.46245587762920626}, "W": {"n_configs": 8, "rel_mase_gmean": 0.8141976774865708, "rel_wql_gmean": 0.6645660569936594}}, "variates": {"multivariate": {"n_configs": 41, "rel_mase_gmean": 0.7600456915083991, "rel_wql_gmean": 0.511644654751976}, "univariate": {"n_configs": 52, "rel_mase_gmean": 0.7131300545794724, "rel_wql_gmean": 0.49563420928448887}}}, "group_skill_delta": {"term": {"long": 0.0006117877094232727, "medium": 0.0008622961767622561, "short": 0.00027276941172516}, "domain": {"Econ/Fin": 0.0013699012635308705, "Energy": -0.00023588449424616353, "Healthcare": 0.003139154413493772, "Nature": 0.0007538624280253869, "Sales": -0.0006030840572849305, "Transport": 0.00047428946123651006, "Web/CloudOps": 0.0005514018196188797}, "frequency": {"A": 0.001157893796062348, "D": 6.270950468445502e-05, "H": 0.0008207092403196281, "M": -0.00039310727445363014, "Q": 5.266435663608959e-05, "S": 0.0011344504917797371, "T": -0.00013393555935359291, "W": 0.0024142457340984302}, "variates": {"multivariate": 0.00048796919081894874, "univariate": 0.00044442732081340086}}}], "mean_delta": 0.00030630640965662037, "positive_cutoffs": 3, "outcome": "Predeclared E12812000 transfer requires at least3of4 positive and positive mean; no coefficient selection."} + +## E128 primary6000 dispersion ensemble full public replay — not selected +- Checkpoint SHA-256: `a388035c9461a7bdb079a931484d9c505428ea0086e2f5456313d995872a584e`. +- Evaluation: 97 configurations, 151170 instances, 0 failed configurations; not separately timed seconds. +- Overall skill 0.383964; relative MASE 0.736451; relative WQL 0.515310. +- term skill: long=0.4028, medium=0.4086, short=0.3668. +- domain skill: Econ/Fin=0.1308, Energy=0.2409, Healthcare=0.4847, Nature=0.4445, Sales=0.3589, Transport=0.4723, Web/CloudOps=0.4992. +- frequency skill: A=0.2968, D=0.3746, H=0.3981, M=0.1447, Q=0.1890, S=0.4254, T=0.4397, W=0.2375. +- variates skill: multivariate=0.3972, univariate=0.3732. +- Outcome: Full skill0.383963658607839 is below E1270.3840414658263811 by0.0000778072185421. All97configs151170instances succeed; inference377.680531184s. Three-of-four diagnostic gains did not transfer to improved full validation. Keep E127 published; no coefficient sweep. Independent composition suite is finishing. + +## E131 fresh146M with learned long-seasonal summaries, declared 2026-10-23T08:48:34.312475+00:00 +Hypothesis: the robust E107/E120/E125 evidence for direct seasonal summaries can address the fresh146M plateau without another capacity increase. Control E79wide originalLR. Start from its own untrained random initialization c9693619ca6277c26fef3b2bde37ff6796bec97b3af9f94588bbc5ddd329ec90 and add exactly E107 zero long_query/long_head parameters (98336 atd1024/patch16). Existing weights and initial forecasts must match bitwise. Same seed307/B48distinct96signed/LR2e-4/96000/400warmup/cosinefloor0.2/paired/staticcompiledloss/oldpack/sourceweights/20%slowAR and horizon300310. All parameters train. Primary48000,4000/8000/16000/24000diagnostics,72000/96000durability; primary and final require4cutoffs before transfer or ensemble decisions. No transfer formula selected. CPUfixture677/GPUfixture683; allowed training data only. Queue after E94halfLR final96000 frees its allocation; require completedE79wide96000 control. No additional concurrent trainer and no pretrained weights. + +E130 fixed fourth fresh-capacity member diagnostics: {"pid": 24896, "status": "complete; review gate", "steps": [{"label": "fresh146M48000 earlier cutoffs", "seconds": 801.8997166370973}, {"label": "fixed equal quarters valid_screen", "seconds": 2.2401710469275713}, {"label": "fixed equal quarters valid_backcast", "seconds": 2.280684475088492}, {"label": "fixed equal quarters valid_backcast2", "seconds": 2.503589668078348}, {"label": "fixed equal quarters valid_backcast3", "seconds": 1.973427789984271}], "started_utc": "2026-10-23T08:36:19.032374+00:00", "seconds": 811.2990581667982, "results": [{"cutoff": "valid_screen", "skill": 0.3878507268780589, "control_skill": 0.3877185003381878, "delta": 0.00013222653987110533, "groups": {"term": {"short": 0.3715987371883521, "medium": 0.4102540213663538, "long": 0.4067391588891215}, "domain": {"Econ/Fin": 0.1489434280268307, "Energy": 0.24776307784165708, "Healthcare": 0.4797658368125918, "Nature": 0.4432112385396936, "Sales": 0.34253568790603184, "Transport": 0.4728212016626797, "Web/CloudOps": 0.5082519165180346}, "freq": {"A-DEC": 0.38359463669798244, "Q-DEC": 0.20462915621155287, "M": 0.12236644601227109, "W-SUN": 0.09441595412894432, "D": 0.37245225750954924, "H": 0.40230869575473505, "15T": 0.21611411756632326, "W-FRI": 0.018963917247772133, "10T": 0.6269659382966359, "W-TUE": 0.6129270175490279, "W-THU": 0.226657792022391, "W-WED": 0.3223843548790608, "5T": 0.5238648554081364, "10S": 0.4236329368087466}}, "member_checkpoint_hashes": ["8a2b252b733cc79c31778ea27ba00fbe61206fef50454514b667c54a928d80a4", "308389b7217c080af9eb185559d4ee3cafa0f3e0f8c4dd8f5526b68198c89988", "1a2fb20a9fb5cae6526f2e36ea47559626bece78fd9c284899836505030ae9fe", "227ea80abf17fc81ae191f94e91f6dd7adbc0d837235750b5f5e9cef3dd5472c"], "cpu_seconds": 2.065567785874009}, {"cutoff": "valid_backcast", "skill": 0.34441110518308204, "control_skill": 0.3429732095231861, "delta": 0.001437895659895938, "groups": {"term": {"short": 0.31207922757792406, "medium": 0.36328071712981613, "long": 0.40494216606009625}, "domain": {"Econ/Fin": 0.18128449966132598, "Energy": 0.2353103687221182, "Healthcare": 0.4025407461850268, "Nature": 0.3790544216342604, "Sales": 0.40723401747223886, "Transport": 0.3760760439577333, "Web/CloudOps": 0.4588042844416619}, "freq": {"A-DEC": 0.3352639380629199, "Q-DEC": 0.23254852316486108, "M": 0.19688259960835408, "W-SUN": 0.055031869484658325, "D": 0.36179297351401374, "H": 0.3749856405146871, "15T": 0.22389670167242903, "W-FRI": 0.23918097287302442, "10T": 0.3333771556820778, "W-TUE": 0.5274661574021489, "W-THU": 0.2692923481092909, "W-WED": 0.3578389948455023, "5T": 0.4461528818794869, "10S": 0.34927794955924096}}, "member_checkpoint_hashes": ["8a2b252b733cc79c31778ea27ba00fbe61206fef50454514b667c54a928d80a4", "308389b7217c080af9eb185559d4ee3cafa0f3e0f8c4dd8f5526b68198c89988", "1a2fb20a9fb5cae6526f2e36ea47559626bece78fd9c284899836505030ae9fe", "227ea80abf17fc81ae191f94e91f6dd7adbc0d837235750b5f5e9cef3dd5472c"], "cpu_seconds": 2.097238216083497}, {"cutoff": "valid_backcast2", "skill": 0.3685168155758046, "control_skill": 0.3674637814642573, "delta": 0.0010530341115473352, "groups": {"term": {"short": 0.3556161382479862, "medium": 0.3973117710813864, "long": 0.37222700110278417}, "domain": {"Econ/Fin": 0.1278105572382463, "Energy": 0.23987340597263695, "Healthcare": 0.36790127898546965, "Nature": 0.48227924309884174, "Sales": 0.5594797440115518, "Transport": 0.42629751766299717, "Web/CloudOps": 0.44556758902381643}, "freq": {"A-DEC": 0.3385306293437419, "Q-DEC": 0.15198048444107892, "M": 0.1698592409978169, "W-SUN": 0.07808183431207394, "D": 0.43567816912377244, "H": 0.3995244931978722, "15T": 0.10576200082748655, "W-FRI": 0.15725296166613179, "10T": 0.5103532273533584, "W-TUE": 0.17179354019954174, "W-THU": 0.3330508401365113, "W-WED": 0.5583853279496267, "5T": 0.4773643023111328, "10S": 0.2905566372491195}}, "member_checkpoint_hashes": ["8a2b252b733cc79c31778ea27ba00fbe61206fef50454514b667c54a928d80a4", "308389b7217c080af9eb185559d4ee3cafa0f3e0f8c4dd8f5526b68198c89988", "1a2fb20a9fb5cae6526f2e36ea47559626bece78fd9c284899836505030ae9fe", "227ea80abf17fc81ae191f94e91f6dd7adbc0d837235750b5f5e9cef3dd5472c"], "cpu_seconds": 2.3007850870490074}, {"cutoff": "valid_backcast3", "skill": 0.3912834616582097, "control_skill": 0.3907349048993719, "delta": 0.0005485567588378037, "groups": {"term": {"short": 0.3962793017121322, "medium": 0.3721673520503136, "long": 0.3968136230237693}, "domain": {"Econ/Fin": 0.18895322636819234, "Energy": 0.3197131861773106, "Healthcare": 0.23539860466957807, "Nature": 0.5079580913352499, "Sales": 0.3989970371269539, "Transport": 0.5091360867168643, "Web/CloudOps": 0.3972175212799016}, "freq": {"A-DEC": 0.35355855949676074, "Q-DEC": 0.26171742025055167, "M": 0.1494414083112504, "W-SUN": 0.1701606617044591, "D": 0.4409486975966336, "H": 0.407339108595274, "15T": 0.2629345850074465, "W-FRI": 0.04507153357762772, "10T": 0.6019138427315083, "W-TUE": 0.2793354887817199, "W-THU": 0.3516119599992523, "W-WED": 0.3654380765447295, "5T": 0.46940708121690167, "10S": 0.2877855071020504}}, "member_checkpoint_hashes": ["8a2b252b733cc79c31778ea27ba00fbe61206fef50454514b667c54a928d80a4", "308389b7217c080af9eb185559d4ee3cafa0f3e0f8c4dd8f5526b68198c89988", "1a2fb20a9fb5cae6526f2e36ea47559626bece78fd9c284899836505030ae9fe", "227ea80abf17fc81ae191f94e91f6dd7adbc0d837235750b5f5e9cef3dd5472c"], "cpu_seconds": 1.7579908831976354}], "positive_cutoffs": 4, "mean_delta": 0.0007929282675380456, "selection_gate_passed": true}. No runtime/package constructed, no weight sweep. + +E1286000 complete replayability suite: {"package": "/workspace/research/candidate-dispersion6-ensemble", "status": "complete", "steps": [{"name": "relocation", "returncode": 0, "seconds": 84.77749159513041}, {"name": "full_public_replay", "returncode": 0, "seconds": 436.0959661989473}, {"name": "independent_dispersion_replay", "returncode": 0, "seconds": 184.11096227006055}, {"name": "composition", "returncode": 0, "seconds": 0.16595014580525458}, {"name": "descriptive_comparison", "returncode": 0, "seconds": 0.1356765329837799}], "current_step": "descriptive_comparison", "seconds": 705.2942320329603, "skill": 0.383963658607839}. All package checks passed, but full score remains below E127; do not publish. Descriptive comparison {"candidate": "/workspace/research/valid-report-dispersion6-ensemble.json", "parent": "/workspace/research/valid-report-finite-member-ensemble.json", "candidate_hash": "a388035c9461a7bdb079a931484d9c505428ea0086e2f5456313d995872a584e", "parent_hash": "90199d09666c1653819ef17813f69fc4014fca075f99cc3766d24f457b50ca79", "skill_difference": -7.780721854211414e-05, "n_configs": 97, "n_dataset_clusters": 28, "improved_configs": 47, "bootstrap_seed": 317, "bootstrap_samples": 5000, "dataset_cluster_delta_percentiles": {"p025": -0.00024062329890107149, "p50": -7.43316017622897e-05, "p975": 6.257681725268526e-05}, "note": "Descriptive resampling only. Adaptive validation selection and reused windows prevent treating this as a held-out significance test."}. + +E131 CPU initialization checks: {"fixture_seed": 677, "training_seed": 307, "initial_forward_and_loss_bitwise_equal": true, "inherited_weights_bitwise_equal": true, "sampler_byte_identical": true, "model_code_byte_identical_to_E107": true, "all_parameters_trainable": true, "added_parameters": 98336, "parameters": 146575680, "checkpoint_sha256": "f7e35a6341ffc6c1ce53cfd8934256dde937171f5002f1fc34b1fd169f1a15d6", "seconds": 8.978978032013401, "optimizer_updates": 0, "validation_data_read": false}. GPU maximum/compiled audit pending. Pending E129 and E131 trainer metadata now explicitly records requested-horizon seed and normalization fallback; E131 also records slow-AR law. E129 has not started training, so no past checkpoint metadata or arithmetic changed. + +## E126 compiled candidate evals +- Checkpoint SHA-256: `d8be56a82c73a0426710742a1468df3b3d8abdaad541da4716e58cc607ee6e18`. +- Evaluation: 97 configurations, 9473 instances, 0 failed configurations; 36.09797239303589 seconds. +- Overall skill 0.364306; relative MASE 0.760934; relative WQL 0.531067. +- term skill: long=0.3859, medium=0.3952, short=0.3435. +- domain skill: Econ/Fin=0.1306, Energy=0.2277, Healthcare=0.4224, Nature=0.4112, Sales=0.3396, Transport=0.4561, Web/CloudOps=0.4871. +- frequency skill: A=0.3907, D=0.3389, H=0.3847, M=0.0270, Q=0.2057, S=0.4209, T=0.4222, W=0.2298. +- variates skill: multivariate=0.3789, univariate=0.3524. +- Outcome: Bounded1000-update teacher compiler numerical comparison from identical full16000state; original schedule and all other factors unchanged. No automatic takeover or publication. + +## E126 original control evals +- Checkpoint SHA-256: `0699dba2a0b78d61ec78a7f4d8855eb887e0e5844009c85b73c2280bdeda201d`. +- Evaluation: 97 configurations, 9473 instances, 0 failed configurations; 39.142066955566406 seconds. +- Overall skill 0.364321; relative MASE 0.759462; relative WQL 0.532071. +- term skill: long=0.3871, medium=0.3956, short=0.3429. +- domain skill: Econ/Fin=0.1313, Energy=0.2286, Healthcare=0.4285, Nature=0.4088, Sales=0.3419, Transport=0.4555, Web/CloudOps=0.4863. +- frequency skill: A=0.3912, D=0.3367, H=0.3857, M=0.0483, Q=0.2050, S=0.4208, T=0.4213, W=0.2241. +- variates skill: multivariate=0.3798, univariate=0.3517. +- Outcome: Bounded1000-update teacher compiler numerical comparison from identical full16000state; original schedule and all other factors unchanged. No automatic takeover or publication. + +## E126 compiled candidate backcast_evals +- Checkpoint SHA-256: `d8be56a82c73a0426710742a1468df3b3d8abdaad541da4716e58cc607ee6e18`. +- Evaluation: 97 configurations, 9330 instances, 0 failed configurations; 36.27298712730408 seconds. +- Overall skill 0.331744; relative MASE 0.800194; relative WQL 0.558073. +- term skill: long=0.4018, medium=0.3533, short=0.2941. +- domain skill: Econ/Fin=0.1556, Energy=0.2263, Healthcare=0.3584, Nature=0.3628, Sales=0.4053, Transport=0.3596, Web/CloudOps=0.4547. +- frequency skill: A=0.3343, D=0.3419, H=0.3664, M=0.1982, Q=0.2234, S=0.3430, T=0.3284, W=0.2638. +- variates skill: multivariate=0.3545, univariate=0.3130. +- Outcome: Bounded1000-update teacher compiler numerical comparison from identical full16000state; original schedule and all other factors unchanged. No automatic takeover or publication. + +## E126 original control backcast_evals +- Checkpoint SHA-256: `0699dba2a0b78d61ec78a7f4d8855eb887e0e5844009c85b73c2280bdeda201d`. +- Evaluation: 97 configurations, 9330 instances, 0 failed configurations; 36.57498288154602 seconds. +- Overall skill 0.332181; relative MASE 0.799229; relative WQL 0.558016. +- term skill: long=0.4034, medium=0.3538, short=0.2940. +- domain skill: Econ/Fin=0.1540, Energy=0.2252, Healthcare=0.3557, Nature=0.3694, Sales=0.4058, Transport=0.3593, Web/CloudOps=0.4544. +- frequency skill: A=0.3315, D=0.3453, H=0.3660, M=0.2015, Q=0.2195, S=0.3408, T=0.3291, W=0.2623. +- variates skill: multivariate=0.3535, univariate=0.3147. +- Outcome: Bounded1000-update teacher compiler numerical comparison from identical full16000state; original schedule and all other factors unchanged. No automatic takeover or publication. + +## E126 compiled candidate backcast2_evals +- Checkpoint SHA-256: `d8be56a82c73a0426710742a1468df3b3d8abdaad541da4716e58cc607ee6e18`. +- Evaluation: 94 configurations, 8934 instances, 0 failed configurations; 36.39142870903015 seconds. +- Overall skill 0.357844; relative MASE 0.770908; relative WQL 0.534907. +- term skill: long=0.3688, medium=0.3877, short=0.3419. +- domain skill: Econ/Fin=0.0992, Energy=0.2353, Healthcare=0.3101, Nature=0.4711, Sales=0.5544, Transport=0.4164, Web/CloudOps=0.4409. +- frequency skill: A=0.3243, D=0.4196, H=0.3963, M=0.1582, Q=0.1367, S=0.2899, T=0.3536, W=0.2590. +- variates skill: multivariate=0.3696, univariate=0.3482. +- Outcome: Bounded1000-update teacher compiler numerical comparison from identical full16000state; original schedule and all other factors unchanged. No automatic takeover or publication. + +## E126 original control backcast2_evals +- Checkpoint SHA-256: `0699dba2a0b78d61ec78a7f4d8855eb887e0e5844009c85b73c2280bdeda201d`. +- Evaluation: 94 configurations, 8934 instances, 0 failed configurations; 39.81012320518494 seconds. +- Overall skill 0.359808; relative MASE 0.767154; relative WQL 0.534241. +- term skill: long=0.3687, medium=0.3897, short=0.3446. +- domain skill: Econ/Fin=0.1002, Energy=0.2345, Healthcare=0.3380, Nature=0.4734, Sales=0.5563, Transport=0.4167, Web/CloudOps=0.4416. +- frequency skill: A=0.3233, D=0.4245, H=0.3964, M=0.1619, Q=0.1366, S=0.2886, T=0.3543, W=0.2699. +- variates skill: multivariate=0.3701, univariate=0.3513. +- Outcome: Bounded1000-update teacher compiler numerical comparison from identical full16000state; original schedule and all other factors unchanged. No automatic takeover or publication. + +## E126 compiled candidate backcast3_evals +- Checkpoint SHA-256: `d8be56a82c73a0426710742a1468df3b3d8abdaad541da4716e58cc607ee6e18`. +- Evaluation: 93 configurations, 8812 instances, 0 failed configurations; 36.27197313308716 seconds. +- Overall skill 0.379547; relative MASE 0.749469; relative WQL 0.513646. +- term skill: long=0.3893, medium=0.3660, short=0.3811. +- domain skill: Econ/Fin=0.1606, Energy=0.3132, Healthcare=0.1758, Nature=0.5022, Sales=0.3883, Transport=0.4989, Web/CloudOps=0.3846. +- frequency skill: A=0.3186, D=0.4271, H=0.3989, M=0.1041, Q=0.2597, S=0.2577, T=0.4316, W=0.2193. +- variates skill: multivariate=0.3648, univariate=0.3909. +- Outcome: Bounded1000-update teacher compiler numerical comparison from identical full16000state; original schedule and all other factors unchanged. No automatic takeover or publication. + +## E126 original control backcast3_evals +- Checkpoint SHA-256: `0699dba2a0b78d61ec78a7f4d8855eb887e0e5844009c85b73c2280bdeda201d`. +- Evaluation: 93 configurations, 8812 instances, 0 failed configurations; 35.707090616226196 seconds. +- Overall skill 0.377589; relative MASE 0.751555; relative WQL 0.515459. +- term skill: long=0.3887, medium=0.3647, short=0.3784. +- domain skill: Econ/Fin=0.1619, Energy=0.3136, Healthcare=0.1792, Nature=0.4931, Sales=0.3888, Transport=0.4990, Web/CloudOps=0.3821. +- frequency skill: A=0.3235, D=0.4228, H=0.3981, M=0.0995, Q=0.2578, S=0.2577, T=0.4299, W=0.2151. +- variates skill: multivariate=0.3640, univariate=0.3881. +- Outcome: Bounded1000-update teacher compiler numerical comparison from identical full16000state; original schedule and all other factors unchanged. No automatic takeover or publication. + +E131 maximum GPU/compiled audit: {"fixture_seed": 683, "training_seed": 307, "gpu_initial_forward_and_loss_bitwise_equal": true, "all_parameters_trainable": true, "maximum_shape_memory": {"batch": 48, "signed_rows": 96, "context": 4096, "horizon": 1024, "loss": 0.5064497590065002, "peak_allocated_mib": 10163.2412109375, "peak_reserved_mib": 10602.0, "free_before_mib": 22465.6875, "includes_adam_and_ema_placeholders": true, "selected_gradient_norms": {"long_query.weight": 0.0, "long_head.weight": 0.022453932091593742, "long_head.bias": 0.0007150184828788042, "head.weight": 0.21377567946910858}}, "eager_loss": 0.2832183539867401, "compiled_loss": 0.2832183241844177, "gradient_cosine": 0.999991608022376, "max_gradient_difference": 6.103515625e-05, "compile_comparison_seconds": 70.16511336597614, "lock_wait_seconds": 88.56701109395362, "seconds": 173.39559380686842, "optimizer_updates": 0, "validation_data_read": false}. New-query gradient is exactly0 at initial random zero output heads, as expected; direct long_head and original head gradients are nonzero. Queue25692 waits for E94halfLR and E79wide final96000; watcher/controller {"queue_pid": 25692, "watch_pid": 25693, "comparison_pid": 25694}. No additional concurrent allocation. + +E130 prepared public package descriptorfa97880dd132b1cdff459be4798f8f360d7df59b13e78026a9d74a95d63df0db, 256594744parameters; member weights["8a2b252b733cc79c31778ea27ba00fbe61206fef50454514b667c54a928d80a4", "308389b7217c080af9eb185559d4ee3cafa0f3e0f8c4dd8f5526b68198c89988", "1a2fb20a9fb5cae6526f2e36ea47559626bece78fd9c284899836505030ae9fe", "227ea80abf17fc81ae191f94e91f6dd7adbc0d837235750b5f5e9cef3dd5472c"]. Separate four_member_ensemble runtime keeps per-member finite cleanup/rule caps and ordered equal quarters. New146M member packaged directly with only its actual seed307 own-model lineage and generator declarations, without inherited mature-model seed labels. Synthetic composition, relocation, full replay and independent real composition suite active. + +E113 6000 four-cutoff comparison: {"label": "E113 6000 four-cutoff comparison", "utc": "2026-10-23T08:53:56.106260+00:00", "candidate": "lowfreq_windows_ema6000", "control": "overflow_control_ema6000", "rows": [{"cutoff": "evals", "candidate_skill": 0.37689889834307033, "control_skill": 0.3782887645248565, "delta": -0.001389866181786159, "candidate_checkpoint": "6022f0a4bfa1062ad14abf079449bbc0aea2c8378c4e8c24a5a88d6c7eed568f", "control_checkpoint": "b19875c52ed5024383fb69ccc48cb07a5629ad8011abf134c7dcfcdc50fae2af", "candidate_eval_seconds": 24.637309312820435, "candidate_groups": {"term": {"long": {"n_configs": 21, "rel_mase_gmean": 0.7461642946563414, "rel_wql_gmean": 0.48185140448625774}, "medium": {"n_configs": 21, "rel_mase_gmean": 0.7114818476673104, "rel_wql_gmean": 0.4937134846824009}, "short": {"n_configs": 55, "rel_mase_gmean": 0.7587744836539531, "rel_wql_gmean": 0.5474521404602561}}, "domain": {"Econ/Fin": {"n_configs": 6, "rel_mase_gmean": 0.8833786145123239, "rel_wql_gmean": 0.8531518487365242}, "Energy": {"n_configs": 32, "rel_mase_gmean": 0.9008291449851727, "rel_wql_gmean": 0.6443880390924023}, "Healthcare": {"n_configs": 5, "rel_mase_gmean": 0.5841826675598496, "rel_wql_gmean": 0.5185655742165746}, "Nature": {"n_configs": 15, "rel_mase_gmean": 0.8182743754041456, "rel_wql_gmean": 0.40277193564568253}, "Sales": {"n_configs": 4, "rel_mase_gmean": 0.8481685562000009, "rel_wql_gmean": 0.5201665790427301}, "Transport": {"n_configs": 15, "rel_mase_gmean": 0.6442200391898962, "rel_wql_gmean": 0.44227361720756947}, "Web/CloudOps": {"n_configs": 20, "rel_mase_gmean": 0.5642905007500406, "rel_wql_gmean": 0.43825160894025916}}, "frequency": {"A": {"n_configs": 1, "rel_mase_gmean": 0.6091689454127692, "rel_wql_gmean": 0.638276521684612}, "D": {"n_configs": 15, "rel_mase_gmean": 0.7785626516441129, "rel_wql_gmean": 0.5355665107799793}, "H": {"n_configs": 31, "rel_mase_gmean": 0.7314284480466448, "rel_wql_gmean": 0.4981263653987478}, "M": {"n_configs": 5, "rel_mase_gmean": 0.9986128574835264, "rel_wql_gmean": 0.8624410357490886}, "Q": {"n_configs": 1, "rel_mase_gmean": 0.7903739563981046, "rel_wql_gmean": 0.8299815110338646}, "S": {"n_configs": 6, "rel_mase_gmean": 0.656301620925384, "rel_wql_gmean": 0.5047620788741458}, "T": {"n_configs": 30, "rel_mase_gmean": 0.6945298685094353, "rel_wql_gmean": 0.4553332014533837}, "W": {"n_configs": 8, "rel_mase_gmean": 0.9014486439579953, "rel_wql_gmean": 0.6668717099327689}}, "variates": {"multivariate": {"n_configs": 43, "rel_mase_gmean": 0.7126021042582767, "rel_wql_gmean": 0.5125054838159262}, "univariate": {"n_configs": 54, "rel_mase_gmean": 0.772902623640725, "rel_wql_gmean": 0.5274131827426548}}}, "control_groups": {"term": {"long": {"n_configs": 21, "rel_mase_gmean": 0.7451158192819246, "rel_wql_gmean": 0.4809631678035488}, "medium": {"n_configs": 21, "rel_mase_gmean": 0.7120497644863014, "rel_wql_gmean": 0.4940812105058145}, "short": {"n_configs": 55, "rel_mase_gmean": 0.7560063232433744, "rel_wql_gmean": 0.5455016162773587}}, "domain": {"Econ/Fin": {"n_configs": 6, "rel_mase_gmean": 0.891060652656678, "rel_wql_gmean": 0.8581226203181075}, "Energy": {"n_configs": 32, "rel_mase_gmean": 0.8989380404519756, "rel_wql_gmean": 0.6435803440684917}, "Healthcare": {"n_configs": 5, "rel_mase_gmean": 0.5710382040222995, "rel_wql_gmean": 0.5034944242351712}, "Nature": {"n_configs": 15, "rel_mase_gmean": 0.8133075715765863, "rel_wql_gmean": 0.4004091491239218}, "Sales": {"n_configs": 4, "rel_mase_gmean": 0.8446340518950459, "rel_wql_gmean": 0.5179589899563962}, "Transport": {"n_configs": 15, "rel_mase_gmean": 0.6447526741433901, "rel_wql_gmean": 0.4427981539703199}, "Web/CloudOps": {"n_configs": 20, "rel_mase_gmean": 0.5645988459931921, "rel_wql_gmean": 0.4387078987240053}}, "frequency": {"A": {"n_configs": 1, "rel_mase_gmean": 0.6165351258073414, "rel_wql_gmean": 0.6464531739881929}, "D": {"n_configs": 15, "rel_mase_gmean": 0.777944381816132, "rel_wql_gmean": 0.5346411774818413}, "H": {"n_configs": 31, "rel_mase_gmean": 0.7317515640788856, "rel_wql_gmean": 0.49890798111520296}, "M": {"n_configs": 5, "rel_mase_gmean": 0.9655032792454371, "rel_wql_gmean": 0.8262938781338912}, "Q": {"n_configs": 1, "rel_mase_gmean": 0.7858131466267005, "rel_wql_gmean": 0.8312500357519329}, "S": {"n_configs": 6, "rel_mase_gmean": 0.6555214893191091, "rel_wql_gmean": 0.504479335142133}, "T": {"n_configs": 30, "rel_mase_gmean": 0.6939507700541674, "rel_wql_gmean": 0.45508640655176025}, "W": {"n_configs": 8, "rel_mase_gmean": 0.8990798911693764, "rel_wql_gmean": 0.664987514515424}}, "variates": {"multivariate": {"n_configs": 43, "rel_mase_gmean": 0.7111159189621905, "rel_wql_gmean": 0.5120760043186128}, "univariate": {"n_configs": 54, "rel_mase_gmean": 0.7711295953953445, "rel_wql_gmean": 0.5256252376142441}}}, "group_skill_delta": {"term": {"long": -0.0009739529555055082, "medium": 0.0004572613129861791, "short": -0.0023238162415889496}, "domain": {"Econ/Fin": 0.0063028758916267025, "Energy": -0.001277279116533303, "Healthcare": -0.01419331378718447, "Nature": -0.003426212345731483, "Sales": -0.002793454166251652, "Transport": 0.0005371855991479491, "Web/CloudOps": 0.00039473405139495155}, "frequency": {"A": 0.007764034867115299, "D": -0.0008143027489134758, "H": 0.0006067942733988252, "M": -0.03484210742464455, "Q": -0.0017233061297405872, "S": -0.0005033122269536561, "T": -0.000386852040670127, "W": -0.002114020721949994}, "variates": {"multivariate": -0.0008835170618891608, "univariate": -0.0018146214185645881}}}, {"cutoff": "backcast_evals", "candidate_skill": 0.3343961576413551, "control_skill": 0.33515646486891926, "delta": -0.0007603072275641498, "candidate_checkpoint": "6022f0a4bfa1062ad14abf079449bbc0aea2c8378c4e8c24a5a88d6c7eed568f", "control_checkpoint": "b19875c52ed5024383fb69ccc48cb07a5629ad8011abf134c7dcfcdc50fae2af", "candidate_eval_seconds": 23.87971806526184, "candidate_groups": {"term": {"long": {"n_configs": 21, "rel_mase_gmean": 0.7775995665582034, "rel_wql_gmean": 0.4660524143600413}, "medium": {"n_configs": 21, "rel_mase_gmean": 0.7742979584754606, "rel_wql_gmean": 0.5343745587246692}, "short": {"n_configs": 55, "rel_mase_gmean": 0.8201142133986199, "rel_wql_gmean": 0.598685800269491}}, "domain": {"Econ/Fin": {"n_configs": 6, "rel_mase_gmean": 0.8832386329140982, "rel_wql_gmean": 0.8125278417445753}, "Energy": {"n_configs": 32, "rel_mase_gmean": 0.8897858431693706, "rel_wql_gmean": 0.6676356286156242}, "Healthcare": {"n_configs": 5, "rel_mase_gmean": 0.6492080161186249, "rel_wql_gmean": 0.5505110265373835}, "Nature": {"n_configs": 15, "rel_mase_gmean": 0.9342301107590483, "rel_wql_gmean": 0.4342352628337986}, "Sales": {"n_configs": 4, "rel_mase_gmean": 0.7396632725324492, "rel_wql_gmean": 0.5033836939140032}, "Transport": {"n_configs": 15, "rel_mase_gmean": 0.7390030781599123, "rel_wql_gmean": 0.5323292524398107}, "Web/CloudOps": {"n_configs": 20, "rel_mase_gmean": 0.6651103369438204, "rel_wql_gmean": 0.4599139822296968}}, "frequency": {"A": {"n_configs": 1, "rel_mase_gmean": 0.6614347761202842, "rel_wql_gmean": 0.7332772756783581}, "D": {"n_configs": 15, "rel_mase_gmean": 0.8395380907736223, "rel_wql_gmean": 0.49858292016697153}, "H": {"n_configs": 31, "rel_mase_gmean": 0.7782944268201338, "rel_wql_gmean": 0.5161951267114039}, "M": {"n_configs": 5, "rel_mase_gmean": 0.8850314011347771, "rel_wql_gmean": 0.8093835670278922}, "Q": {"n_configs": 1, "rel_mase_gmean": 0.7641972179731484, "rel_wql_gmean": 0.7595910327353056}, "S": {"n_configs": 6, "rel_mase_gmean": 0.8520874716612998, "rel_wql_gmean": 0.5072036983501343}, "T": {"n_configs": 30, "rel_mase_gmean": 0.7698429755624734, "rel_wql_gmean": 0.5785867598697058}, "W": {"n_configs": 8, "rel_mase_gmean": 0.8751127568750565, "rel_wql_gmean": 0.5813954254548376}}, "variates": {"multivariate": {"n_configs": 43, "rel_mase_gmean": 0.790903324120952, "rel_wql_gmean": 0.531769678844664}, "univariate": {"n_configs": 54, "rel_mase_gmean": 0.8085692176449468, "rel_wql_gmean": 0.571082070761698}}}, "control_groups": {"term": {"long": {"n_configs": 21, "rel_mase_gmean": 0.7750842285105053, "rel_wql_gmean": 0.46538535076726445}, "medium": {"n_configs": 21, "rel_mase_gmean": 0.7739741905332832, "rel_wql_gmean": 0.534827984372569}, "short": {"n_configs": 55, "rel_mase_gmean": 0.818371751293216, "rel_wql_gmean": 0.5985153782895438}}, "domain": {"Econ/Fin": {"n_configs": 6, "rel_mase_gmean": 0.887916619787545, "rel_wql_gmean": 0.8185770809200361}, "Energy": {"n_configs": 32, "rel_mase_gmean": 0.8901417181128463, "rel_wql_gmean": 0.6693878286037928}, "Healthcare": {"n_configs": 5, "rel_mase_gmean": 0.6334453098405051, "rel_wql_gmean": 0.5437528735999733}, "Nature": {"n_configs": 15, "rel_mase_gmean": 0.9321426691826549, "rel_wql_gmean": 0.43340604882484346}, "Sales": {"n_configs": 4, "rel_mase_gmean": 0.7321691335963859, "rel_wql_gmean": 0.4977340558431129}, "Transport": {"n_configs": 15, "rel_mase_gmean": 0.7394280206962279, "rel_wql_gmean": 0.5327250385233748}, "Web/CloudOps": {"n_configs": 20, "rel_mase_gmean": 0.6634585442750054, "rel_wql_gmean": 0.4591816165371809}}, "frequency": {"A": {"n_configs": 1, "rel_mase_gmean": 0.6523615189029875, "rel_wql_gmean": 0.7262242686636398}, "D": {"n_configs": 15, "rel_mase_gmean": 0.8405439241384891, "rel_wql_gmean": 0.5009731755165275}, "H": {"n_configs": 31, "rel_mase_gmean": 0.7770655988729349, "rel_wql_gmean": 0.5160636056826207}, "M": {"n_configs": 5, "rel_mase_gmean": 0.8620023507565068, "rel_wql_gmean": 0.7924280387937057}, "Q": {"n_configs": 1, "rel_mase_gmean": 0.7600409188395882, "rel_wql_gmean": 0.7689369191610511}, "S": {"n_configs": 6, "rel_mase_gmean": 0.8521465319527592, "rel_wql_gmean": 0.5084037872669025}, "T": {"n_configs": 30, "rel_mase_gmean": 0.7696065791080199, "rel_wql_gmean": 0.577900906515431}, "W": {"n_configs": 8, "rel_mase_gmean": 0.8747966347792652, "rel_wql_gmean": 0.5837934687567188}}, "variates": {"multivariate": {"n_configs": 43, "rel_mase_gmean": 0.7902103277834961, "rel_wql_gmean": 0.5315871703126607}, "univariate": {"n_configs": 54, "rel_mase_gmean": 0.8062350844786952, "rel_wql_gmean": 0.5709428531788484}}}, "group_skill_delta": {"term": {"long": -0.0014047237485829145, "medium": 0.00013828872268262238, "short": -0.0008444102595704939}, "domain": {"Econ/Fin": 0.005396410804951124, "Energy": 0.001165065198261761, "Healthcare": -0.010938049139590511, "Nature": -0.0013197186448916653, "Sales": -0.006515463640201058, "Transport": 0.00041349253828093513, "Web/CloudOps": -0.0011271926475546756}, "frequency": {"A": -0.008127431914985217, "D": 0.0019373580889670006, "H": -0.0005812622851624205, "M": -0.019879317803983554, "Q": 0.002585334672893569, "S": 0.000800090015471544, "T": -0.0004980990138920838, "W": 0.001340411461665303}, "variates": {"multivariate": -0.00039543175315481793, "univariate": -0.0010642347373726047}}}, {"cutoff": "backcast2_evals", "candidate_skill": 0.3599979390330963, "control_skill": 0.35970579873679454, "delta": 0.0002921402963017572, "candidate_checkpoint": "6022f0a4bfa1062ad14abf079449bbc0aea2c8378c4e8c24a5a88d6c7eed568f", "control_checkpoint": "b19875c52ed5024383fb69ccc48cb07a5629ad8011abf134c7dcfcdc50fae2af", "candidate_eval_seconds": 23.407413244247437, "candidate_groups": {"term": {"long": {"n_configs": 19, "rel_mase_gmean": 0.8008593621710156, "rel_wql_gmean": 0.5057430926868616}, "medium": {"n_configs": 21, "rel_mase_gmean": 0.757468445904617, "rel_wql_gmean": 0.49256746030833815}, "short": {"n_configs": 54, "rel_mase_gmean": 0.7633722415209746, "rel_wql_gmean": 0.558605012241182}}, "domain": {"Econ/Fin": {"n_configs": 6, "rel_mase_gmean": 0.8946216965321081, "rel_wql_gmean": 0.9088687371623195}, "Energy": {"n_configs": 32, "rel_mase_gmean": 0.8965201542322633, "rel_wql_gmean": 0.6464378810161919}, "Healthcare": {"n_configs": 5, "rel_mase_gmean": 0.6785194902800584, "rel_wql_gmean": 0.5849201303195053}, "Nature": {"n_configs": 15, "rel_mase_gmean": 0.7655843123264524, "rel_wql_gmean": 0.36490172511656266}, "Sales": {"n_configs": 3, "rel_mase_gmean": 0.5678061820242641, "rel_wql_gmean": 0.3644855914883543}, "Transport": {"n_configs": 14, "rel_mase_gmean": 0.6685465658076019, "rel_wql_gmean": 0.5017399429608845}, "Web/CloudOps": {"n_configs": 19, "rel_mase_gmean": 0.6849965213617552, "rel_wql_gmean": 0.4724282525707762}}, "frequency": {"A": {"n_configs": 1, "rel_mase_gmean": 0.5825163531960122, "rel_wql_gmean": 0.7346377536602618}, "D": {"n_configs": 15, "rel_mase_gmean": 0.7324508940634272, "rel_wql_gmean": 0.45212722264136573}, "H": {"n_configs": 30, "rel_mase_gmean": 0.7556124624084898, "rel_wql_gmean": 0.4899134119816834}, "M": {"n_configs": 4, "rel_mase_gmean": 0.8103905761748015, "rel_wql_gmean": 0.8492327228669642}, "Q": {"n_configs": 1, "rel_mase_gmean": 0.8353441047809755, "rel_wql_gmean": 0.8671883110574543}, "S": {"n_configs": 6, "rel_mase_gmean": 0.9088419438141119, "rel_wql_gmean": 0.5678755021819691}, "T": {"n_configs": 29, "rel_mase_gmean": 0.7573691463179116, "rel_wql_gmean": 0.5419241988811554}, "W": {"n_configs": 8, "rel_mase_gmean": 0.8434646356234143, "rel_wql_gmean": 0.6305198670040683}}, "variates": {"multivariate": {"n_configs": 42, "rel_mase_gmean": 0.7829043173773316, "rel_wql_gmean": 0.5178062400149124}, "univariate": {"n_configs": 52, "rel_mase_gmean": 0.7587866385127666, "rel_wql_gmean": 0.5443359350107977}}}, "control_groups": {"term": {"long": {"n_configs": 19, "rel_mase_gmean": 0.8007838015734439, "rel_wql_gmean": 0.5057608145580296}, "medium": {"n_configs": 21, "rel_mase_gmean": 0.7549215312107497, "rel_wql_gmean": 0.49176726739734045}, "short": {"n_configs": 54, "rel_mase_gmean": 0.7642838919526312, "rel_wql_gmean": 0.5599238938428742}}, "domain": {"Econ/Fin": {"n_configs": 6, "rel_mase_gmean": 0.8997976584221669, "rel_wql_gmean": 0.9109410837720314}, "Energy": {"n_configs": 32, "rel_mase_gmean": 0.8969828992939779, "rel_wql_gmean": 0.6477417063864679}, "Healthcare": {"n_configs": 5, "rel_mase_gmean": 0.6849313799294706, "rel_wql_gmean": 0.586932347321718}, "Nature": {"n_configs": 15, "rel_mase_gmean": 0.7624727427382104, "rel_wql_gmean": 0.3657161858629389}, "Sales": {"n_configs": 3, "rel_mase_gmean": 0.5639287429478652, "rel_wql_gmean": 0.36145769293128766}, "Transport": {"n_configs": 14, "rel_mase_gmean": 0.6689876132941273, "rel_wql_gmean": 0.5020608717418806}, "Web/CloudOps": {"n_configs": 19, "rel_mase_gmean": 0.6837785683593893, "rel_wql_gmean": 0.4719606763184108}}, "frequency": {"A": {"n_configs": 1, "rel_mase_gmean": 0.5811330636284028, "rel_wql_gmean": 0.7336592636608978}, "D": {"n_configs": 15, "rel_mase_gmean": 0.7329769702098001, "rel_wql_gmean": 0.45167764562697754}, "H": {"n_configs": 30, "rel_mase_gmean": 0.7553820928392463, "rel_wql_gmean": 0.4904273479694985}, "M": {"n_configs": 4, "rel_mase_gmean": 0.8254186064766647, "rel_wql_gmean": 0.8515799856418855}, "Q": {"n_configs": 1, "rel_mase_gmean": 0.8324909356393811, "rel_wql_gmean": 0.8724694350490023}, "S": {"n_configs": 6, "rel_mase_gmean": 0.9100541095744552, "rel_wql_gmean": 0.5693729069160721}, "T": {"n_configs": 29, "rel_mase_gmean": 0.7550799772409099, "rel_wql_gmean": 0.540387432745741}, "W": {"n_configs": 8, "rel_mase_gmean": 0.8437173750489751, "rel_wql_gmean": 0.6406981711171287}}, "variates": {"multivariate": {"n_configs": 42, "rel_mase_gmean": 0.7818465318697899, "rel_wql_gmean": 0.5175870710427966}, "univariate": {"n_configs": 52, "rel_mase_gmean": 0.7594977958239505, "rel_wql_gmean": 0.545505930798867}}}, "group_skill_delta": {"term": {"long": -1.8873745696090793e-05, "medium": -0.0015232986214765987, "short": 0.0011607039431776878}, "domain": {"Econ/Fin": 0.0036351470036239952, "Energy": 0.0009639811195998327, "Healthcare": 0.004057414263133219, "Nature": -0.0004868526346849533, "Sales": -0.0034430301775181804, "Transport": 0.00037626934528212086, "Web/CloudOps": -0.0007872938922964812}, "frequency": {"A": -0.0012124673197710933, "D": -7.965945370269623e-05, "H": 0.0002262434472751762, "M": 0.008812908587369161, "Q": 0.0011285045089141077, "S": 0.0014261024011577028, "T": -0.0018765679611807418, "W": 0.005972689804801923}, "variates": {"multivariate": -0.0005649429922075511, "univariate": 0.0009917364796149242}}}, {"cutoff": "backcast3_evals", "candidate_skill": 0.38993403866336573, "control_skill": 0.38966768132876584, "delta": 0.0002663573345998982, "candidate_checkpoint": "6022f0a4bfa1062ad14abf079449bbc0aea2c8378c4e8c24a5a88d6c7eed568f", "control_checkpoint": "b19875c52ed5024383fb69ccc48cb07a5629ad8011abf134c7dcfcdc50fae2af", "candidate_eval_seconds": 23.662298679351807, "candidate_groups": {"term": {"long": {"n_configs": 19, "rel_mase_gmean": 0.7653115593218499, "rel_wql_gmean": 0.47599461710723834}, "medium": {"n_configs": 20, "rel_mase_gmean": 0.7715691889827463, "rel_wql_gmean": 0.5313719143376657}, "short": {"n_configs": 54, "rel_mase_gmean": 0.7126844177529106, "rel_wql_gmean": 0.5076569047682628}}, "domain": {"Econ/Fin": {"n_configs": 6, "rel_mase_gmean": 0.8352132728850933, "rel_wql_gmean": 0.8170711397518996}, "Energy": {"n_configs": 32, "rel_mase_gmean": 0.8348557462103663, "rel_wql_gmean": 0.5561697329589659}, "Healthcare": {"n_configs": 5, "rel_mase_gmean": 0.7733153411204075, "rel_wql_gmean": 0.6546403085337337}, "Nature": {"n_configs": 15, "rel_mase_gmean": 0.7140141482679682, "rel_wql_gmean": 0.34196831793742916}, "Sales": {"n_configs": 3, "rel_mase_gmean": 0.7565061085453817, "rel_wql_gmean": 0.48058309322338083}, "Transport": {"n_configs": 14, "rel_mase_gmean": 0.5437907447481647, "rel_wql_gmean": 0.449614701170043}, "Web/CloudOps": {"n_configs": 18, "rel_mase_gmean": 0.7165702979219388, "rel_wql_gmean": 0.5200051777411084}}, "frequency": {"A": {"n_configs": 1, "rel_mase_gmean": 0.5261551139322042, "rel_wql_gmean": 0.7330240240629913}, "D": {"n_configs": 15, "rel_mase_gmean": 0.7252372471132796, "rel_wql_gmean": 0.4239024663817478}, "H": {"n_configs": 29, "rel_mase_gmean": 0.7268124573646887, "rel_wql_gmean": 0.4893130921486449}, "M": {"n_configs": 4, "rel_mase_gmean": 0.8545447134934323, "rel_wql_gmean": 0.8493178662981181}, "Q": {"n_configs": 1, "rel_mase_gmean": 0.7127776195257158, "rel_wql_gmean": 0.7718161257451915}, "S": {"n_configs": 6, "rel_mase_gmean": 0.8395472897334526, "rel_wql_gmean": 0.5993236231307666}, "T": {"n_configs": 29, "rel_mase_gmean": 0.7069092537460439, "rel_wql_gmean": 0.4641162361923377}, "W": {"n_configs": 8, "rel_mase_gmean": 0.8015863686794376, "rel_wql_gmean": 0.6701047974351558}}, "variates": {"multivariate": {"n_configs": 41, "rel_mase_gmean": 0.7632290984309094, "rel_wql_gmean": 0.515189244156747}, "univariate": {"n_configs": 52, "rel_mase_gmean": 0.7144971245676118, "rel_wql_gmean": 0.49880868819086793}}}, "control_groups": {"term": {"long": {"n_configs": 19, "rel_mase_gmean": 0.7650747158835133, "rel_wql_gmean": 0.4758888221311058}, "medium": {"n_configs": 20, "rel_mase_gmean": 0.7703157746376595, "rel_wql_gmean": 0.5298503011269557}, "short": {"n_configs": 54, "rel_mase_gmean": 0.713915671760059, "rel_wql_gmean": 0.5084844315057424}}, "domain": {"Econ/Fin": {"n_configs": 6, "rel_mase_gmean": 0.8452403065316382, "rel_wql_gmean": 0.8277399249864468}, "Energy": {"n_configs": 32, "rel_mase_gmean": 0.8346950467324626, "rel_wql_gmean": 0.5567599695672222}, "Healthcare": {"n_configs": 5, "rel_mase_gmean": 0.7876375654704325, "rel_wql_gmean": 0.6565412569519505}, "Nature": {"n_configs": 15, "rel_mase_gmean": 0.710238739553539, "rel_wql_gmean": 0.34191077293082645}, "Sales": {"n_configs": 3, "rel_mase_gmean": 0.7563686587019305, "rel_wql_gmean": 0.4784563222634317}, "Transport": {"n_configs": 14, "rel_mase_gmean": 0.5433317817040721, "rel_wql_gmean": 0.4493168613990946}, "Web/CloudOps": {"n_configs": 18, "rel_mase_gmean": 0.7161526533494015, "rel_wql_gmean": 0.5178489398382691}}, "frequency": {"A": {"n_configs": 1, "rel_mase_gmean": 0.5311143622209655, "rel_wql_gmean": 0.7781586196577971}, "D": {"n_configs": 15, "rel_mase_gmean": 0.7234708846594775, "rel_wql_gmean": 0.42486757337507386}, "H": {"n_configs": 29, "rel_mase_gmean": 0.725973846929309, "rel_wql_gmean": 0.48863382838793346}, "M": {"n_configs": 4, "rel_mase_gmean": 0.8623268790180476, "rel_wql_gmean": 0.8523275939235515}, "Q": {"n_configs": 1, "rel_mase_gmean": 0.7182632014266673, "rel_wql_gmean": 0.7707135583961491}, "S": {"n_configs": 6, "rel_mase_gmean": 0.8408993113146807, "rel_wql_gmean": 0.5989715147638536}, "T": {"n_configs": 29, "rel_mase_gmean": 0.7064723895859075, "rel_wql_gmean": 0.463139705670842}, "W": {"n_configs": 8, "rel_mase_gmean": 0.8096257056910313, "rel_wql_gmean": 0.6721758032092567}}, "variates": {"multivariate": {"n_configs": 41, "rel_mase_gmean": 0.7638007775200529, "rel_wql_gmean": 0.5152023145873739}, "univariate": {"n_configs": 52, "rel_mase_gmean": 0.7148285566222029, "rel_wql_gmean": 0.49905178580637044}}}, "group_skill_delta": {"term": {"long": -0.00016046718080775513, "medium": -0.0014369850536211093, "short": 0.001009829034523957}, "domain": {"Econ/Fin": 0.010351943848399103, "Energy": 0.00029585934007825276, "Healthcare": 0.00760033702944507, "Nature": -0.0013495907178020516, "Sales": -0.0013903114325046761, "Transport": -0.0003724434991111414, "Web/CloudOps": -0.0014444489650127235}, "frequency": {"A": 0.02184240353004696, "D": -4.55761836851698e-05, "H": -0.0007579762655841593, "M": 0.005385376877326431, "Q": 0.0023166477508324013, "S": 0.00036236562580005405, "T": -0.0007797412974028806, "W": 0.004803408269482556}, "variates": {"multivariate": 0.00024275664332440439, "univariate": 0.0002839356919598357}}}], "mean_delta": -0.00039791894461216337, "positive_cutoffs": 2, "outcome": "Declared primary6000/durability12000 diagnostic. No transfer formula or automatic publication is selected by this controller."} + +## E128 durability dispersion transfer12000 valid_screen +- Checkpoint SHA-256: `807ab7579fc823c783e57a0cd9758125c02b67b383e6d13364f0d34ee63ee4c9`. +- Evaluation: 97 configurations, 9473 instances, 0 failed configurations; 28.033636569976807 seconds. +- Overall skill 0.386522; relative MASE 0.733364; relative WQL 0.513191. +- term skill: long=0.4078, medium=0.4094, short=0.3691. +- domain skill: Econ/Fin=0.1471, Energy=0.2419, Healthcare=0.4732, Nature=0.4432, Sales=0.3390, Transport=0.4742, Web/CloudOps=0.5107. +- frequency skill: A=0.3779, D=0.3743, H=0.4062, M=0.0993, Q=0.2064, S=0.4247, T=0.4441, W=0.2254. +- variates skill: multivariate=0.4008, univariate=0.3749. +- Outcome: Fixed zero-extended E117first + E11912000 - E10712000; no optimizer updates. Equal ensemble selected separately. + +## E128 durability dispersion transfer12000 valid_backcast +- Checkpoint SHA-256: `807ab7579fc823c783e57a0cd9758125c02b67b383e6d13364f0d34ee63ee4c9`. +- Evaluation: 97 configurations, 9330 instances, 0 failed configurations; 26.6574444770813 seconds. +- Overall skill 0.343249; relative MASE 0.788490; relative WQL 0.547022. +- term skill: long=0.3992, medium=0.3634, short=0.3124. +- domain skill: Econ/Fin=0.1782, Energy=0.2295, Healthcare=0.3698, Nature=0.3898, Sales=0.4038, Transport=0.3810, Web/CloudOps=0.4588. +- frequency skill: A=0.3236, D=0.3617, H=0.3779, M=0.1942, Q=0.2298, S=0.3387, T=0.3387, W=0.2875. +- variates skill: multivariate=0.3588, univariate=0.3306. +- Outcome: Fixed zero-extended E117first + E11912000 - E10712000; no optimizer updates. Equal ensemble selected separately. + +## E128 durability dispersion transfer12000 valid_backcast2 +- Checkpoint SHA-256: `807ab7579fc823c783e57a0cd9758125c02b67b383e6d13364f0d34ee63ee4c9`. +- Evaluation: 94 configurations, 8934 instances, 0 failed configurations; 25.614221811294556 seconds. +- Overall skill 0.365699; relative MASE 0.763918; relative WQL 0.526676. +- term skill: long=0.3705, medium=0.3949, short=0.3522. +- domain skill: Econ/Fin=0.1341, Energy=0.2390, Healthcare=0.2968, Nature=0.4855, Sales=0.5515, Transport=0.4283, Web/CloudOps=0.4462. +- frequency skill: A=0.3489, D=0.4280, H=0.3996, M=0.1482, Q=0.1531, S=0.2824, T=0.3716, W=0.2600. +- variates skill: multivariate=0.3719, univariate=0.3607. +- Outcome: Fixed zero-extended E117first + E11912000 - E10712000; no optimizer updates. Equal ensemble selected separately. + +## E128 durability dispersion transfer12000 valid_backcast3 +- Checkpoint SHA-256: `807ab7579fc823c783e57a0cd9758125c02b67b383e6d13364f0d34ee63ee4c9`. +- Evaluation: 93 configurations, 8812 instances, 0 failed configurations; 25.73096227645874 seconds. +- Overall skill 0.391781; relative MASE 0.737942; relative WQL 0.501300. +- term skill: long=0.3966, medium=0.3639, short=0.4001. +- domain skill: Econ/Fin=0.1860, Energy=0.3235, Healthcare=0.2382, Nature=0.4989, Sales=0.4063, Transport=0.5159, Web/CloudOps=0.3954. +- frequency skill: A=0.3641, D=0.4486, H=0.4092, M=0.1381, Q=0.2641, S=0.2774, T=0.4329, W=0.2497. +- variates skill: multivariate=0.3758, univariate=0.4041. +- Outcome: Fixed zero-extended E117first + E11912000 - E10712000; no optimizer updates. Equal ensemble selected separately. + +E128 durability12000 fixed equal-ensemble diagnostics: {"pid": 25137, "status": "complete; review gate before full replay", "steps": [{"label": "standalone four cutoffs", "returncode": 0, "seconds": 611.6175360109191}, {"label": "record valid_screen", "returncode": 0, "seconds": 0.03854229603894055}, {"label": "ensemble valid_screen", "returncode": 0, "seconds": 2.4362374609336257}, {"label": "record valid_backcast", "returncode": 0, "seconds": 0.03839866095222533}, {"label": "ensemble valid_backcast", "returncode": 0, "seconds": 2.195331864990294}, {"label": "record valid_backcast2", "returncode": 0, "seconds": 0.053376773139461875}, {"label": "ensemble valid_backcast2", "returncode": 0, "seconds": 2.065167659893632}, {"label": "record valid_backcast3", "returncode": 0, "seconds": 0.044758826959878206}, {"label": "ensemble valid_backcast3", "returncode": 0, "seconds": 1.7165518840774894}], "started_utc": "2026-10-23T08:45:01.960793+00:00", "seconds": 620.504908550065, "results": [{"cutoff": "valid_screen", "skill": 0.387631434012613, "control_skill": 0.3877185003381878, "delta": -8.706632557475835e-05, "groups": {"term": {"short": 0.37068194474462157, "medium": 0.4097796176395536, "long": 0.40849729366372367}, "domain": {"Econ/Fin": 0.14906153028819058, "Energy": 0.24740579222476355, "Healthcare": 0.4796934504715721, "Nature": 0.44410850413953806, "Sales": 0.3446703538346755, "Transport": 0.4722712030334615, "Web/CloudOps": 0.5072367984448052}, "freq": {"A-DEC": 0.37673348328274414, "Q-DEC": 0.20049341302210122, "M": 0.11935346179130535, "W-SUN": 0.12581403312344364, "D": 0.3701949353166585, "H": 0.40333433785598394, "15T": 0.2179069338160644, "W-FRI": 0.014432437224305206, "10T": 0.6277687306843087, "W-TUE": 0.6171748330046889, "W-THU": 0.2082801402344301, "W-WED": 0.328702914013944, "5T": 0.5225236050449166, "10S": 0.4252257258157742}}, "member_checkpoint_hashes": ["807ab7579fc823c783e57a0cd9758125c02b67b383e6d13364f0d34ee63ee4c9", "308389b7217c080af9eb185559d4ee3cafa0f3e0f8c4dd8f5526b68198c89988", "1a2fb20a9fb5cae6526f2e36ea47559626bece78fd9c284899836505030ae9fe"], "cpu_seconds": 2.199216665001586}, {"cutoff": "valid_backcast", "skill": 0.34321236138030986, "control_skill": 0.3429732095231861, "delta": 0.00023915185712375386, "groups": {"term": {"short": 0.31071983654199253, "medium": 0.3621282754770089, "long": 0.4040730316333201}, "domain": {"Econ/Fin": 0.17961750811991928, "Energy": 0.23286215379520836, "Healthcare": 0.40563890895352117, "Nature": 0.3800791233546058, "Sales": 0.40853347688296815, "Transport": 0.3771851486377281, "Web/CloudOps": 0.4547587636856828}, "freq": {"A-DEC": 0.32749370401535927, "Q-DEC": 0.23741514828197818, "M": 0.19585493095249495, "W-SUN": 0.07316053633867003, "D": 0.35815449501673347, "H": 0.3751489668493323, "15T": 0.22170922698884998, "W-FRI": 0.2287214171356433, "10T": 0.32681881547325076, "W-TUE": 0.5493191419071376, "W-THU": 0.2637606809467842, "W-WED": 0.36054426279868534, "5T": 0.4460139993900665, "10S": 0.3477728598170654}}, "member_checkpoint_hashes": ["807ab7579fc823c783e57a0cd9758125c02b67b383e6d13364f0d34ee63ee4c9", "308389b7217c080af9eb185559d4ee3cafa0f3e0f8c4dd8f5526b68198c89988", "1a2fb20a9fb5cae6526f2e36ea47559626bece78fd9c284899836505030ae9fe"], "cpu_seconds": 1.956491030054167}, {"cutoff": "valid_backcast2", "skill": 0.3676028026728825, "control_skill": 0.3674637814642573, "delta": 0.00013902120862518963, "groups": {"term": {"short": 0.3549456260609696, "medium": 0.39649710524299164, "long": 0.3705253993820533}, "domain": {"Econ/Fin": 0.12780519012554215, "Energy": 0.24201604645162877, "Healthcare": 0.3486275063249036, "Nature": 0.48331614416756874, "Sales": 0.5566475041330979, "Transport": 0.42832467643451233, "Web/CloudOps": 0.4415709197426039}, "freq": {"A-DEC": 0.3357231130775328, "Q-DEC": 0.15829172951663628, "M": 0.17048883573879448, "W-SUN": 0.08504117481065188, "D": 0.43269402341806407, "H": 0.39766899225608077, "15T": 0.10795846596782255, "W-FRI": 0.15201232164010592, "10T": 0.5119145223555399, "W-TUE": 0.09108782450582265, "W-THU": 0.3566400804239148, "W-WED": 0.5633665322888896, "5T": 0.4772805736081409, "10S": 0.2862378937571334}}, "member_checkpoint_hashes": ["807ab7579fc823c783e57a0cd9758125c02b67b383e6d13364f0d34ee63ee4c9", "308389b7217c080af9eb185559d4ee3cafa0f3e0f8c4dd8f5526b68198c89988", "1a2fb20a9fb5cae6526f2e36ea47559626bece78fd9c284899836505030ae9fe"], "cpu_seconds": 1.8519201409071684}, {"cutoff": "valid_backcast3", "skill": 0.3908557586831448, "control_skill": 0.3907349048993719, "delta": 0.00012085378377291178, "groups": {"term": {"short": 0.3963510949367022, "medium": 0.36911963139497816, "long": 0.3976102068749139}, "domain": {"Econ/Fin": 0.19051417812242089, "Energy": 0.31718667596118966, "Healthcare": 0.2415112051403444, "Nature": 0.506115793531148, "Sales": 0.4022035041012628, "Transport": 0.5122293135267391, "Web/CloudOps": 0.3956455185229273}, "freq": {"A-DEC": 0.3585566380206566, "Q-DEC": 0.25722061236867333, "M": 0.14972205914197367, "W-SUN": 0.17775151306254877, "D": 0.4434997099668646, "H": 0.40733288525473155, "15T": 0.2554130986399531, "W-FRI": 0.03689607565197617, "10T": 0.6055719949289415, "W-TUE": 0.27616117961258635, "W-THU": 0.3340485207038867, "W-WED": 0.3759002450046014, "5T": 0.46697145262020834, "10S": 0.29374694337261253}}, "member_checkpoint_hashes": ["807ab7579fc823c783e57a0cd9758125c02b67b383e6d13364f0d34ee63ee4c9", "308389b7217c080af9eb185559d4ee3cafa0f3e0f8c4dd8f5526b68198c89988", "1a2fb20a9fb5cae6526f2e36ea47559626bece78fd9c284899836505030ae9fe"], "cpu_seconds": 1.4953445647843182}], "positive_cutoffs": 3, "mean_delta": 0.00010299013098677423, "selection_gate_passed": true}. No publication yet. + +E126 final decision 2026-10-23T08:55:33.634889+00:00: reject teacher compiler takeover. Four-cutoff skill differences [-1.5293212246692e-05, -0.0004372110796623252, -0.0019640869934627325, 0.001958147733838289], maximum absolute0.001964086993 exceeds predeclared0.0005 diagnostic tolerance; late shared-device timing gain only3to5percent, cold process1500.927716598s. Keep original E101 teacher execution/coefficient/package and96k schedule unchanged. Bounded probe stays stopped17000; no further training on this branch. The tolerance is an engineering diagnostic, not a significance or equivalence test. + +E113 primary6000 selection: two cutoffs improve, two regress, mean delta-0.000397918945 versus E80. Do not transfer primary; complete declared12000 durability. All group metrics are in lowfreq_windows6k_four_cutoff_comparison.json and the matched journal entry. + +E118 independent-seed long-seasonal replication seed523 training started at 2026-10-23T09:03:52Z, after the preceding trainer exited with its final checkpoint. Settings are unchanged from the declared comparison. + +## E130 fixed fourth fresh146M48000 member — full replay selected +- Checkpoint SHA-256: `fa97880dd132b1cdff459be4798f8f360d7df59b13e78026a9d74a95d63df0db`. +- Evaluation: 97 configurations, 151170 instances, 0 failed configurations; not separately timed seconds. +- Overall skill 0.384150; relative MASE 0.735921; relative WQL 0.515370. +- term skill: long=0.4008, medium=0.4088, short=0.3679. +- domain skill: Econ/Fin=0.1298, Energy=0.2412, Healthcare=0.4860, Nature=0.4432, Sales=0.3560, Transport=0.4730, Web/CloudOps=0.5004. +- frequency skill: A=0.3027, D=0.3766, H=0.3971, M=0.1475, Q=0.1890, S=0.4236, T=0.4396, W=0.2403. +- variates skill: multivariate=0.3963, univariate=0.3743. +- Outcome: Fixed equal quarters improve full skill from 0.384041465826 to 0.384149718182; all97configs151170instances pass. Inference 481.492s on shared H100. Relocation and actual-member real/extreme synthetic composition are bitwise exact. Validation selection only, not held-out reward. + +E130 complete suite {"package": "/workspace/research/candidate-fresh-capacity4-ensemble", "status": "complete", "steps": [{"name": "synthetic_four_member_composition", "returncode": 0, "seconds": 140.04258152702823}, {"name": "relocation", "returncode": 0, "seconds": 67.24213584186509}, {"name": "full_public_replay", "returncode": 0, "seconds": 484.4881066719536}, {"name": "independent_fresh146m_replay", "returncode": 0, "seconds": 99.68134234496392}, {"name": "composition", "returncode": 0, "seconds": 0.18438137485645711}, {"name": "descriptive_comparison", "returncode": 0, "seconds": 0.18302110210061073}], "current_step": "descriptive_comparison", "seconds": 791.8420735518448, "skill": 0.38414971818207}. Synthetic actual-four-member runtime checks {"checkpoint_sha256": "fa97880dd132b1cdff459be4798f8f360d7df59b13e78026a9d74a95d63df0db", "runtime_code_sha256": {"seasonal.py": "b946e63048196ab5ea8b249137d48c80d8510943caccd0f180e4fb86d9b24b37", "ts_io.py": "1064d1a95a59e7edd6ed33e9a6d58c83c17fa3886acb1fb54e3652d9326ee436", "model.py": "c27748fa4b1186b513f76eca26052753b8dcd1794994e5989addaf371ca70f2e", "predict.py": "15b86dbaa19128df1105b6dd4243f2aa1321aff3fc45685a0a9811d8862d7add", "infer.sh": "5fe66b4fe9a4787285d830cfd96975701e97286a75ba7c3687bd8891475edf68", "continuity.py": "dbb08d2229ad80ad00f638b0b9f2f6ca13c663e0fd6730058e5fee8ff54545d5", "zero_mass.py": "f079d509009bcda409b80eb64467c869b838cfbab11b2bd4c660c2875b6642fe", "model1.py": "c27748fa4b1186b513f76eca26052753b8dcd1794994e5989addaf371ca70f2e", "model3.py": "44eeb23c037e91b8f67e432615ce46540a7ac4242919785f9c4218de23121499", "model0.py": "3eaa4aed0a1c62b80d94be6c3084b10a594e9fce17444eac17ca3f1b0b5c549e", "model2.py": "89bb87b2501b117ac02daf001a68f389ec488931ce18905445d15874760685be"}, "member_hashes": ["8a2b252b733cc79c31778ea27ba00fbe61206fef50454514b667c54a928d80a4", "308389b7217c080af9eb185559d4ee3cafa0f3e0f8c4dd8f5526b68198c89988", "1a2fb20a9fb5cae6526f2e36ea47559626bece78fd9c284899836505030ae9fe", "227ea80abf17fc81ae191f94e91f6dd7adbc0d837235750b5f5e9cef3dd5472c"], "checks": [{"config_id": "synthetic_H", "instances": 12, "bitwise_fixed_average": true, "finite": true, "ordered": true}, {"config_id": "synthetic_15T", "instances": 12, "bitwise_fixed_average": true, "finite": true, "ordered": true}], "steps": [{"name": "standalone0", "seconds": 7.54584995820187}, {"name": "standalone1", "seconds": 7.568851496092975}, {"name": "standalone2", "seconds": 7.905901189893484}, {"name": "standalone3", "seconds": 8.563424529973418}, {"name": "ensemble", "seconds": 20.146188400918618}], "lock_wait_seconds": 88.12057089991868, "seconds": 139.89567038416862, "optimizer_updates": 0, "validation_data_read": false}. Descriptive comparison {"candidate": "/workspace/research/valid-report-fresh-capacity4-ensemble.json", "parent": "/workspace/research/valid-report-finite-member-ensemble.json", "candidate_hash": "fa97880dd132b1cdff459be4798f8f360d7df59b13e78026a9d74a95d63df0db", "parent_hash": "90199d09666c1653819ef17813f69fc4014fca075f99cc3766d24f457b50ca79", "skill_difference": 0.00010825235568889813, "n_configs": 97, "n_dataset_clusters": 28, "improved_configs": 41, "bootstrap_seed": 317, "bootstrap_samples": 5000, "dataset_cluster_delta_percentiles": {"p025": -0.00215013782076347, "p50": 0.00017516257300170812, "p975": 0.0022812793702812035}, "note": "Descriptive resampling only. Adaptive validation selection and reused windows prevent treating this as a held-out significance test."}. Every member forecasts every instance. Four cutoffs improve; latest-cutoff long-term group regresses while aggregate improves, as detailed in group metrics. E101teacher remains immutableE96. + +## E132 final-duration fresh fourth member, declared 2026-10-23T09:06:54.075039+00:00 +Hypothesis: since E130 showed error diversity from the separately initialized146M model, its scheduled96000 endpoint may improve the same ensemble beyond48000. Replace only E79wideEMA48000 with its scheduledEMA96000; freeze E117finalfirst/E71EMA6000/E93EMA12000 and ordered equal quarters. Control E130published. The96000main result is not yet available; no additional training or altered schedule. Training seed307, no new generator/data. Evaluate all4cutoffs regardless of standalone ranking, require3of4positive and positive mean versusE130 before one full public replay. Publication also requires better full score and checks versus the then-current package. No intermediate checkpoint or weight sweep. + +## E133 conditional equal-seed seasonal correction, declared 2026-10-23T09:08:19.714091+00:00 +Hypothesis: if the large E107 seasonal-summary effect replicates with seed523, averaging matched corrections across seeds may improve robustness. This is separate from rejected E124weekly replication. Require BOTH E1186000 and E11812000 to improve their matched E111control at at least3of4cutoffs with positive mean. Only then construct one duration12000 checkpoint: E117final firstmember +0.5*((E118EMA12000-zero_extend(E111controlEMA12000))-(E107EMA12000-zero_extend(E80EMA12000))). Control tensors for long_query/long_head are exactlyzero. Other parameters use the literal float32 formula in that order. Keep E71EMA6000, E93EMA12000 and E79wideEMA48000 fixed; equal ordered quarters, every member forecasts every instance. Require3of4positive ensemble comparisons and positive mean against E130 before full replay; publication must improve the then-current package and pass runtime checks. No6000merged alternative, coefficient sweep, new optimizer updates or data. Training seeds197/523; merge fixtureseed691. E1186000/12000results are not yet available. + +## E134 fixed visible-window curriculum from random146M, declared 2026-10-23T09:14:07.033062+00:00 +Hypothesis: the fresh large-model plateau partly reflects optimization on long contexts/futures from the first update; the mature smaller lineage began with shorter windows. Match E79wide own random initialization c969..., model/data/sampler/sourceweights/seed307/B48/LR2e-4/96k/paired/staticcompile/slowAR/horizon300310/400warmup/cosinefloor0.2. Always sample and prefetch the ORIGINAL full windows with identical RNG consumption. Only the arrays supplied to the loss are cropped: steps1..16000 take lastC/4 context and firstmax(16,H/4) target;16001..32000 take lastC/2 and firstmax(16,H/2);32001..96000 use original arrays unchanged. Context lengths are already divisible by16; every target view is at least16. Crop after consuming the prefetched full batch; recovery stores the unmodified next full batch and uses the resumed global step, with no extra counter/RNG. Source windows, values and late-stage stream are identical to control; visible observation exposure/compute differ and will be measured. No teacher, new data, new model parameters or inference changes. Primary96000;16/32/48/72kdiagnostics,48/96four-cutoff comparisons. Queue after E110full-corpus96000 frees its allocation; require E79wide96000. CPUfixture701/GPUfixture709; no validation training. No schedule alternatives or transfer formula selected. + +E121 6000 four-cutoff comparison: {"label": "E121 6000 four-cutoff comparison", "utc": "2026-10-23T09:15:40.991339+00:00", "candidate": "seasonal_history_ema6000", "control": "long_seasonal_ema6000", "rows": [{"cutoff": "evals", "candidate_skill": 0.3817685810005982, "control_skill": 0.38227466722292214, "delta": -0.0005060862223239537, "candidate_checkpoint": "3cb20017da82189fb26998bf3129d05dd234da77d0ab9368c6a4124ae732aa19", "control_checkpoint": "ad45e0cfae574d3dc1be0b9720c9be0863db9ffe33891fdb22c86dfa83667253", "candidate_eval_seconds": 28.41759157180786, "candidate_groups": {"term": {"long": {"n_configs": 21, "rel_mase_gmean": 0.7427798851547502, "rel_wql_gmean": 0.480705859626928}, "medium": {"n_configs": 21, "rel_mase_gmean": 0.7084344807368257, "rel_wql_gmean": 0.49372688802898496}, "short": {"n_configs": 55, "rel_mase_gmean": 0.7498345696608782, "rel_wql_gmean": 0.5411656310255009}}, "domain": {"Econ/Fin": {"n_configs": 6, "rel_mase_gmean": 0.8896377050023038, "rel_wql_gmean": 0.8552925713089266}, "Energy": {"n_configs": 32, "rel_mase_gmean": 0.895357514468135, "rel_wql_gmean": 0.6408807905896997}, "Healthcare": {"n_configs": 5, "rel_mase_gmean": 0.5733389714741494, "rel_wql_gmean": 0.5060436634788081}, "Nature": {"n_configs": 15, "rel_mase_gmean": 0.8080292177977787, "rel_wql_gmean": 0.4045547054558028}, "Sales": {"n_configs": 4, "rel_mase_gmean": 0.8418605092641899, "rel_wql_gmean": 0.5165249207431287}, "Transport": {"n_configs": 15, "rel_mase_gmean": 0.6322814717091779, "rel_wql_gmean": 0.4335633189446315}, "Web/CloudOps": {"n_configs": 20, "rel_mase_gmean": 0.5617078170865537, "rel_wql_gmean": 0.43513795058882027}}, "frequency": {"A": {"n_configs": 1, "rel_mase_gmean": 0.6180475502592851, "rel_wql_gmean": 0.6469105480568086}, "D": {"n_configs": 15, "rel_mase_gmean": 0.761525834042119, "rel_wql_gmean": 0.5233823774456857}, "H": {"n_configs": 31, "rel_mase_gmean": 0.7257276749680774, "rel_wql_gmean": 0.4955113716516702}, "M": {"n_configs": 5, "rel_mase_gmean": 0.96171751117691, "rel_wql_gmean": 0.825323398780684}, "Q": {"n_configs": 1, "rel_mase_gmean": 0.7837107393854835, "rel_wql_gmean": 0.8294027653998538}, "S": {"n_configs": 6, "rel_mase_gmean": 0.6557024709255037, "rel_wql_gmean": 0.5035040985336133}, "T": {"n_configs": 30, "rel_mase_gmean": 0.6924773974760391, "rel_wql_gmean": 0.4554542637411677}, "W": {"n_configs": 8, "rel_mase_gmean": 0.9029678802897229, "rel_wql_gmean": 0.6700409831152518}}, "variates": {"multivariate": {"n_configs": 43, "rel_mase_gmean": 0.7076350430583279, "rel_wql_gmean": 0.5112125809875208}, "univariate": {"n_configs": 54, "rel_mase_gmean": 0.7652589747638697, "rel_wql_gmean": 0.5218170330181122}}}, "control_groups": {"term": {"long": {"n_configs": 21, "rel_mase_gmean": 0.7402530882128023, "rel_wql_gmean": 0.47826753514082926}, "medium": {"n_configs": 21, "rel_mase_gmean": 0.710265197438745, "rel_wql_gmean": 0.4931672821758772}, "short": {"n_configs": 55, "rel_mase_gmean": 0.7498589240481417, "rel_wql_gmean": 0.5410407688872414}}, "domain": {"Econ/Fin": {"n_configs": 6, "rel_mase_gmean": 0.8892029615768211, "rel_wql_gmean": 0.85541375158805}, "Energy": {"n_configs": 32, "rel_mase_gmean": 0.8972340808013708, "rel_wql_gmean": 0.6419310799963354}, "Healthcare": {"n_configs": 5, "rel_mase_gmean": 0.5749908408040473, "rel_wql_gmean": 0.507856444781463}, "Nature": {"n_configs": 15, "rel_mase_gmean": 0.8028566989060131, "rel_wql_gmean": 0.39889278962700064}, "Sales": {"n_configs": 4, "rel_mase_gmean": 0.8421494671087474, "rel_wql_gmean": 0.5162975438622042}, "Transport": {"n_configs": 15, "rel_mase_gmean": 0.6323849322594254, "rel_wql_gmean": 0.43339253239569303}, "Web/CloudOps": {"n_configs": 20, "rel_mase_gmean": 0.5616650304722973, "rel_wql_gmean": 0.43523931575775593}}, "frequency": {"A": {"n_configs": 1, "rel_mase_gmean": 0.61692642682572, "rel_wql_gmean": 0.6469875043190525}, "D": {"n_configs": 15, "rel_mase_gmean": 0.7604157827225532, "rel_wql_gmean": 0.5223254859979091}, "H": {"n_configs": 31, "rel_mase_gmean": 0.7256889701473604, "rel_wql_gmean": 0.49536285168895955}, "M": {"n_configs": 5, "rel_mase_gmean": 0.9611837530785082, "rel_wql_gmean": 0.8278616039641923}, "Q": {"n_configs": 1, "rel_mase_gmean": 0.7839583182238047, "rel_wql_gmean": 0.830360300010519}, "S": {"n_configs": 6, "rel_mase_gmean": 0.6548591866261223, "rel_wql_gmean": 0.5032338833413911}, "T": {"n_configs": 30, "rel_mase_gmean": 0.6926762306120622, "rel_wql_gmean": 0.45361994505793396}, "W": {"n_configs": 8, "rel_mase_gmean": 0.9042490502981876, "rel_wql_gmean": 0.6703742252767426}}, "variates": {"multivariate": {"n_configs": 43, "rel_mase_gmean": 0.7084778976708436, "rel_wql_gmean": 0.510408775576821}, "univariate": {"n_configs": 54, "rel_mase_gmean": 0.7643134428569803, "rel_wql_gmean": 0.5210866729603522}}}, "group_skill_delta": {"term": {"long": -0.002532060784248502, "medium": 0.00042797467703548087, "short": -6.314887195391083e-05}, "domain": {"Econ/Fin": -0.00015138315423446347, "Energy": 0.0014145142145586265, "Healthcare": 0.001740694873992532, "Nature": -0.005835053257686629, "Sales": -3.202213103759011e-05, "Transport": -6.03059738222278e-05, "Web/CloudOps": 3.874853309143722e-05}, "frequency": {"A": -0.0005361871700487741, "D": -0.0010975856346864266, "H": -0.00010586555565805789, "M": 0.001121264812261047, "Q": 0.0005926688622668319, "S": -0.0005237026654796306, "T": -0.0010515852766496137, "W": 0.0007451559700757393}, "variates": {"multivariate": -0.00011523142389402441, "univariate": -0.0008326282824794307}}}, {"cutoff": "backcast_evals", "candidate_skill": 0.33912289475474133, "control_skill": 0.33985253853394604, "delta": -0.0007296437792047028, "candidate_checkpoint": "3cb20017da82189fb26998bf3129d05dd234da77d0ab9368c6a4124ae732aa19", "control_checkpoint": "ad45e0cfae574d3dc1be0b9720c9be0863db9ffe33891fdb22c86dfa83667253", "candidate_eval_seconds": 26.878792762756348, "candidate_groups": {"term": {"long": {"n_configs": 21, "rel_mase_gmean": 0.7728257813585451, "rel_wql_gmean": 0.46365009493968484}, "medium": {"n_configs": 21, "rel_mase_gmean": 0.772531268061481, "rel_wql_gmean": 0.5334193080441814}, "short": {"n_configs": 55, "rel_mase_gmean": 0.8115184725478469, "rel_wql_gmean": 0.5934869054858658}}, "domain": {"Econ/Fin": {"n_configs": 6, "rel_mase_gmean": 0.8872184796760154, "rel_wql_gmean": 0.8189571764223659}, "Energy": {"n_configs": 32, "rel_mase_gmean": 0.8902641387047134, "rel_wql_gmean": 0.6683874476778133}, "Healthcare": {"n_configs": 5, "rel_mase_gmean": 0.6553467971812239, "rel_wql_gmean": 0.5630063802600014}, "Nature": {"n_configs": 15, "rel_mase_gmean": 0.9078550108140394, "rel_wql_gmean": 0.42651926289073533}, "Sales": {"n_configs": 4, "rel_mase_gmean": 0.7235876519583068, "rel_wql_gmean": 0.49094696232585944}, "Transport": {"n_configs": 15, "rel_mase_gmean": 0.7308468542805812, "rel_wql_gmean": 0.5241777411802061}, "Web/CloudOps": {"n_configs": 20, "rel_mase_gmean": 0.6596758960877025, "rel_wql_gmean": 0.4548633021165895}}, "frequency": {"A": {"n_configs": 1, "rel_mase_gmean": 0.6527571895914689, "rel_wql_gmean": 0.7274449406751847}, "D": {"n_configs": 15, "rel_mase_gmean": 0.8193135662265635, "rel_wql_gmean": 0.48925352239569936}, "H": {"n_configs": 31, "rel_mase_gmean": 0.7680610934536195, "rel_wql_gmean": 0.5095505605841489}, "M": {"n_configs": 5, "rel_mase_gmean": 0.8632302635972422, "rel_wql_gmean": 0.793324903777062}, "Q": {"n_configs": 1, "rel_mase_gmean": 0.759054098050758, "rel_wql_gmean": 0.7650315602550626}, "S": {"n_configs": 6, "rel_mase_gmean": 0.8527185742320086, "rel_wql_gmean": 0.5080107692241524}, "T": {"n_configs": 30, "rel_mase_gmean": 0.7741241839133908, "rel_wql_gmean": 0.5797029962339847}, "W": {"n_configs": 8, "rel_mase_gmean": 0.8743623442598972, "rel_wql_gmean": 0.5881829676916759}}, "variates": {"multivariate": {"n_configs": 43, "rel_mase_gmean": 0.7888054781606405, "rel_wql_gmean": 0.5300217806239235}, "univariate": {"n_configs": 54, "rel_mase_gmean": 0.7990044640102301, "rel_wql_gmean": 0.5659839855913402}}}, "control_groups": {"term": {"long": {"n_configs": 21, "rel_mase_gmean": 0.7709573168881856, "rel_wql_gmean": 0.46268425970990196}, "medium": {"n_configs": 21, "rel_mase_gmean": 0.7695230479033899, "rel_wql_gmean": 0.5310215600398799}, "short": {"n_configs": 55, "rel_mase_gmean": 0.8117841847086917, "rel_wql_gmean": 0.593906337357885}}, "domain": {"Econ/Fin": {"n_configs": 6, "rel_mase_gmean": 0.8871103723322559, "rel_wql_gmean": 0.8186104803199865}, "Energy": {"n_configs": 32, "rel_mase_gmean": 0.8873228160456544, "rel_wql_gmean": 0.666828211814892}, "Healthcare": {"n_configs": 5, "rel_mase_gmean": 0.6602366692845489, "rel_wql_gmean": 0.5698594545952637}, "Nature": {"n_configs": 15, "rel_mase_gmean": 0.9037307861253031, "rel_wql_gmean": 0.42282624120616724}, "Sales": {"n_configs": 4, "rel_mase_gmean": 0.7231485364548405, "rel_wql_gmean": 0.49076711071441}, "Transport": {"n_configs": 15, "rel_mase_gmean": 0.731298212809883, "rel_wql_gmean": 0.524438086130783}, "Web/CloudOps": {"n_configs": 20, "rel_mase_gmean": 0.660209298499444, "rel_wql_gmean": 0.45581270950466285}}, "frequency": {"A": {"n_configs": 1, "rel_mase_gmean": 0.6522392949080874, "rel_wql_gmean": 0.7270620636653731}, "D": {"n_configs": 15, "rel_mase_gmean": 0.8205802765681058, "rel_wql_gmean": 0.4901220874772779}, "H": {"n_configs": 31, "rel_mase_gmean": 0.7677299491087929, "rel_wql_gmean": 0.5094849178695509}, "M": {"n_configs": 5, "rel_mase_gmean": 0.866956136135693, "rel_wql_gmean": 0.7966508658255991}, "Q": {"n_configs": 1, "rel_mase_gmean": 0.7588717620885471, "rel_wql_gmean": 0.7653003797772433}, "S": {"n_configs": 6, "rel_mase_gmean": 0.8525356752749418, "rel_wql_gmean": 0.5080017737889677}, "T": {"n_configs": 30, "rel_mase_gmean": 0.7704476348183809, "rel_wql_gmean": 0.576748095637338}, "W": {"n_configs": 8, "rel_mase_gmean": 0.8742573452440867, "rel_wql_gmean": 0.5889566774320315}}, "variates": {"multivariate": {"n_configs": 43, "rel_mase_gmean": 0.7866251148848069, "rel_wql_gmean": 0.5284419129269964}, "univariate": {"n_configs": 54, "rel_mase_gmean": 0.7990675186329057, "rel_wql_gmean": 0.5662861373570198}}}, "group_skill_delta": {"term": {"long": -0.0013471006318773737, "medium": -0.002692643882579615, "short": 0.0003588339125799589}, "domain": {"Econ/Fin": -0.00023237022477551328, "Energy": -0.0021741394391942004, "Healthcare": 0.005961352706041478, "Nature": -0.00410871115202549, "Sales": -0.00029002747632578263, "Transport": 0.00034483077718761024, "Web/CloudOps": 0.0007930233944140053}, "frequency": {"A": -0.00045471138398522903, "D": 0.001051416743781508, "H": -0.00017516302613507229, "M": 0.003520613866928146, "Q": 4.2324053939557515e-05, "S": -7.64157602757276e-05, "T": -0.003298103744347136, "W": 0.00042842546426002936}, "variates": {"multivariate": -0.0018573110988627795, "univariate": 0.00020601865196767655}}}, {"cutoff": "backcast2_evals", "candidate_skill": 0.36358865228053294, "control_skill": 0.3632547284652886, "delta": 0.00033392381524433024, "candidate_checkpoint": "3cb20017da82189fb26998bf3129d05dd234da77d0ab9368c6a4124ae732aa19", "control_checkpoint": "ad45e0cfae574d3dc1be0b9720c9be0863db9ffe33891fdb22c86dfa83667253", "candidate_eval_seconds": 26.447428464889526, "candidate_groups": {"term": {"long": {"n_configs": 19, "rel_mase_gmean": 0.7981674673117668, "rel_wql_gmean": 0.5037198890475599}, "medium": {"n_configs": 21, "rel_mase_gmean": 0.7485564608929789, "rel_wql_gmean": 0.4872443448578284}, "short": {"n_configs": 54, "rel_mase_gmean": 0.7605749721099586, "rel_wql_gmean": 0.5561005678114734}}, "domain": {"Econ/Fin": {"n_configs": 6, "rel_mase_gmean": 0.9012432894666216, "rel_wql_gmean": 0.9133250331264785}, "Energy": {"n_configs": 32, "rel_mase_gmean": 0.8955290993684741, "rel_wql_gmean": 0.6456845098639605}, "Healthcare": {"n_configs": 5, "rel_mase_gmean": 0.68834226003216, "rel_wql_gmean": 0.587560892369158}, "Nature": {"n_configs": 15, "rel_mase_gmean": 0.7517123268743677, "rel_wql_gmean": 0.35767937883776635}, "Sales": {"n_configs": 3, "rel_mase_gmean": 0.5590784858082458, "rel_wql_gmean": 0.3587059819115234}, "Transport": {"n_configs": 14, "rel_mase_gmean": 0.661270100189415, "rel_wql_gmean": 0.4954121381098209}, "Web/CloudOps": {"n_configs": 19, "rel_mase_gmean": 0.6807734131389922, "rel_wql_gmean": 0.47153303556511655}}, "frequency": {"A": {"n_configs": 1, "rel_mase_gmean": 0.5811664431757904, "rel_wql_gmean": 0.7340303494907408}, "D": {"n_configs": 15, "rel_mase_gmean": 0.7265793197580274, "rel_wql_gmean": 0.44685988489833073}, "H": {"n_configs": 30, "rel_mase_gmean": 0.7497858345559077, "rel_wql_gmean": 0.4853698547245932}, "M": {"n_configs": 4, "rel_mase_gmean": 0.806269134356841, "rel_wql_gmean": 0.8350607256368663}, "Q": {"n_configs": 1, "rel_mase_gmean": 0.8308757198490314, "rel_wql_gmean": 0.8712492300309953}, "S": {"n_configs": 6, "rel_mase_gmean": 0.9039420206407819, "rel_wql_gmean": 0.5681368601304205}, "T": {"n_configs": 29, "rel_mase_gmean": 0.7536021868478092, "rel_wql_gmean": 0.539188527045008}, "W": {"n_configs": 8, "rel_mase_gmean": 0.8484687753941433, "rel_wql_gmean": 0.6397120932683703}}, "variates": {"multivariate": {"n_configs": 42, "rel_mase_gmean": 0.7800850700685547, "rel_wql_gmean": 0.5156199448205283}, "univariate": {"n_configs": 52, "rel_mase_gmean": 0.7535627280812299, "rel_wql_gmean": 0.540484014120907}}}, "control_groups": {"term": {"long": {"n_configs": 19, "rel_mase_gmean": 0.7969398609040024, "rel_wql_gmean": 0.5035562825504419}, "medium": {"n_configs": 21, "rel_mase_gmean": 0.7490067352384399, "rel_wql_gmean": 0.48743000572367984}, "short": {"n_configs": 54, "rel_mase_gmean": 0.7615427910500057, "rel_wql_gmean": 0.5565614531092009}}, "domain": {"Econ/Fin": {"n_configs": 6, "rel_mase_gmean": 0.901205213255903, "rel_wql_gmean": 0.9129519979778129}, "Energy": {"n_configs": 32, "rel_mase_gmean": 0.895984498209844, "rel_wql_gmean": 0.6466953024058848}, "Healthcare": {"n_configs": 5, "rel_mase_gmean": 0.6906395512407255, "rel_wql_gmean": 0.5895403412546308}, "Nature": {"n_configs": 15, "rel_mase_gmean": 0.7520688777995285, "rel_wql_gmean": 0.35747495688522557}, "Sales": {"n_configs": 3, "rel_mase_gmean": 0.5597836473152902, "rel_wql_gmean": 0.3594495182358377}, "Transport": {"n_configs": 14, "rel_mase_gmean": 0.6614283420298616, "rel_wql_gmean": 0.49546817917989344}, "Web/CloudOps": {"n_configs": 19, "rel_mase_gmean": 0.6809574130261864, "rel_wql_gmean": 0.47110941162938547}}, "frequency": {"A": {"n_configs": 1, "rel_mase_gmean": 0.581464401116573, "rel_wql_gmean": 0.7355000101927864}, "D": {"n_configs": 15, "rel_mase_gmean": 0.7270580675006559, "rel_wql_gmean": 0.44686466314745266}, "H": {"n_configs": 30, "rel_mase_gmean": 0.7494927915333071, "rel_wql_gmean": 0.48496142310648743}, "M": {"n_configs": 4, "rel_mase_gmean": 0.8066081312673148, "rel_wql_gmean": 0.8347163141766332}, "Q": {"n_configs": 1, "rel_mase_gmean": 0.8311725894461938, "rel_wql_gmean": 0.8717568945686304}, "S": {"n_configs": 6, "rel_mase_gmean": 0.9046061716746755, "rel_wql_gmean": 0.5673078591497167}, "T": {"n_configs": 29, "rel_mase_gmean": 0.7542500727562019, "rel_wql_gmean": 0.5401993598021697}, "W": {"n_configs": 8, "rel_mase_gmean": 0.8508075542526838, "rel_wql_gmean": 0.6417280462795324}}, "variates": {"multivariate": {"n_configs": 42, "rel_mase_gmean": 0.7799074480129385, "rel_wql_gmean": 0.515543995911792}, "univariate": {"n_configs": 52, "rel_mase_gmean": 0.7544561978137869, "rel_wql_gmean": 0.5410325795112644}}}, "group_skill_delta": {"term": {"long": -0.0005907042774746518, "medium": 0.0002966963030172076, "short": 0.0006832633080461337}, "domain": {"Econ/Fin": -0.00020446031172693946, "Energy": 0.0007884369461303997, "Healthcare": 0.002132479897341555, "Nature": -2.527257837747765e-05, "Sales": 0.0007465102497628551, "Transport": 0.00010085521449310075, "Web/CloudOps": -0.00017803428874874072}, "frequency": {"A": 0.0008211018269171921, "D": 0.00019074101714411373, "H": -0.0003717207154720903, "M": 3.2161259752028215e-06, "Q": 0.000399874199206951, "S": -0.0002600064126898616, "T": 0.0008714456112038915, "W": 0.0021762270368650416}, "variates": {"multivariate": -0.0001189131193314319, "univariate": 0.0007022040691128106}}}, {"cutoff": "backcast3_evals", "candidate_skill": 0.3934578569511348, "control_skill": 0.3944984110874522, "delta": -0.0010405541363174287, "candidate_checkpoint": "3cb20017da82189fb26998bf3129d05dd234da77d0ab9368c6a4124ae732aa19", "control_checkpoint": "ad45e0cfae574d3dc1be0b9720c9be0863db9ffe33891fdb22c86dfa83667253", "candidate_eval_seconds": 27.41648244857788, "candidate_groups": {"term": {"long": {"n_configs": 19, "rel_mase_gmean": 0.7594561001782314, "rel_wql_gmean": 0.4737184271983587}, "medium": {"n_configs": 20, "rel_mase_gmean": 0.7682977755304782, "rel_wql_gmean": 0.5287322161645208}, "short": {"n_configs": 54, "rel_mase_gmean": 0.7100558613494089, "rel_wql_gmean": 0.5033847627353878}}, "domain": {"Econ/Fin": {"n_configs": 6, "rel_mase_gmean": 0.8468336491686697, "rel_wql_gmean": 0.8310933073493634}, "Energy": {"n_configs": 32, "rel_mase_gmean": 0.8294514136875593, "rel_wql_gmean": 0.5540513041276857}, "Healthcare": {"n_configs": 5, "rel_mase_gmean": 0.7579878989002233, "rel_wql_gmean": 0.6326067826474694}, "Nature": {"n_configs": 15, "rel_mase_gmean": 0.7205409255753118, "rel_wql_gmean": 0.3399910269432183}, "Sales": {"n_configs": 3, "rel_mase_gmean": 0.7485532530602245, "rel_wql_gmean": 0.47457533210182223}, "Transport": {"n_configs": 14, "rel_mase_gmean": 0.5361847137429396, "rel_wql_gmean": 0.4437075679776232}, "Web/CloudOps": {"n_configs": 18, "rel_mase_gmean": 0.7120854385439547, "rel_wql_gmean": 0.5158059292331992}}, "frequency": {"A": {"n_configs": 1, "rel_mase_gmean": 0.5304697563143794, "rel_wql_gmean": 0.7752426708905806}, "D": {"n_configs": 15, "rel_mase_gmean": 0.7146835753639871, "rel_wql_gmean": 0.41634829359997066}, "H": {"n_configs": 29, "rel_mase_gmean": 0.7203164997501174, "rel_wql_gmean": 0.4850409029750608}, "M": {"n_configs": 4, "rel_mase_gmean": 0.8357771139675717, "rel_wql_gmean": 0.8246176988609867}, "Q": {"n_configs": 1, "rel_mase_gmean": 0.7156714101453964, "rel_wql_gmean": 0.7691108243638547}, "S": {"n_configs": 6, "rel_mase_gmean": 0.8390913570159775, "rel_wql_gmean": 0.5997256377275969}, "T": {"n_configs": 29, "rel_mase_gmean": 0.7076104872268122, "rel_wql_gmean": 0.4632639230975061}, "W": {"n_configs": 8, "rel_mase_gmean": 0.8117616992736113, "rel_wql_gmean": 0.669422238054874}}, "variates": {"multivariate": {"n_configs": 41, "rel_mase_gmean": 0.7610171310319315, "rel_wql_gmean": 0.5130192428089074}, "univariate": {"n_configs": 52, "rel_mase_gmean": 0.7102305602408325, "rel_wql_gmean": 0.4942827676127439}}}, "control_groups": {"term": {"long": {"n_configs": 19, "rel_mase_gmean": 0.7605445792601405, "rel_wql_gmean": 0.4740600920237114}, "medium": {"n_configs": 20, "rel_mase_gmean": 0.7673937404796206, "rel_wql_gmean": 0.529050128812873}, "short": {"n_configs": 54, "rel_mase_gmean": 0.7066888727036074, "rel_wql_gmean": 0.5025271114107714}}, "domain": {"Econ/Fin": {"n_configs": 6, "rel_mase_gmean": 0.8465750633042362, "rel_wql_gmean": 0.8301832550203931}, "Energy": {"n_configs": 32, "rel_mase_gmean": 0.8280900345851895, "rel_wql_gmean": 0.5531225386420328}, "Healthcare": {"n_configs": 5, "rel_mase_gmean": 0.7582600194472988, "rel_wql_gmean": 0.632623318642284}, "Nature": {"n_configs": 15, "rel_mase_gmean": 0.7096275569559131, "rel_wql_gmean": 0.3386957610122997}, "Sales": {"n_configs": 3, "rel_mase_gmean": 0.7487935010952289, "rel_wql_gmean": 0.47423739993986525}, "Transport": {"n_configs": 14, "rel_mase_gmean": 0.5364607716260557, "rel_wql_gmean": 0.4442170483634485}, "Web/CloudOps": {"n_configs": 18, "rel_mase_gmean": 0.7128912578353812, "rel_wql_gmean": 0.5168699930573769}}, "frequency": {"A": {"n_configs": 1, "rel_mase_gmean": 0.5308138227989901, "rel_wql_gmean": 0.777900736251483}, "D": {"n_configs": 15, "rel_mase_gmean": 0.7112195255614516, "rel_wql_gmean": 0.4154980506806888}, "H": {"n_configs": 29, "rel_mase_gmean": 0.7198763379573593, "rel_wql_gmean": 0.48466211242450724}, "M": {"n_configs": 4, "rel_mase_gmean": 0.8330944575177875, "rel_wql_gmean": 0.8230031202022723}, "Q": {"n_configs": 1, "rel_mase_gmean": 0.7156105446358054, "rel_wql_gmean": 0.7684011151446023}, "S": {"n_configs": 6, "rel_mase_gmean": 0.8371984068688675, "rel_wql_gmean": 0.6003957122289793}, "T": {"n_configs": 29, "rel_mase_gmean": 0.7049982843940813, "rel_wql_gmean": 0.46277982987038807}, "W": {"n_configs": 8, "rel_mase_gmean": 0.8087944681865019, "rel_wql_gmean": 0.670755534033392}}, "variates": {"multivariate": {"n_configs": 41, "rel_mase_gmean": 0.7587335902791335, "rel_wql_gmean": 0.5125489110619184}, "univariate": {"n_configs": 52, "rel_mase_gmean": 0.7084600116309258, "rel_wql_gmean": 0.494009506622114}}}, "group_skill_delta": {"term": {"long": 0.0006460966472733309, "medium": -0.00018361926021825958, "short": -0.001927470971271883}, "domain": {"Econ/Fin": -0.0005874660244457042, "Energy": -0.001124519020313297, "Healthcare": 0.00013333959833061737, "Nature": -0.0046991283229330105, "Sales": -0.00011663889507040892, "Transport": 0.00040556957003623495, "Web/CloudOps": 0.0009679639911654991}, "frequency": {"A": 0.0013067300587633612, "D": -0.001879503011299244, "H": -0.00041140195025446413, "M": -0.002145239792246678, "Q": -0.00037391829688726563, "S": -0.0004048794176386705, "T": -0.0013564505376502112, "W": -0.0006161092898175902}, "variates": {"multivariate": -0.0012242112961807772, "univariate": -0.0009025849209826076}}}], "mean_delta": -0.00048559008065043874, "positive_cutoffs": 1, "outcome": "Declared primary6000/durability12000 diagnostic. No transfer formula or automatic publication is selected by this controller."} + +E113 12000 four-cutoff comparison: {"label": "E113 12000 four-cutoff comparison", "utc": "2026-10-23T09:16:05.247965+00:00", "candidate": "lowfreq_windows_ema12000", "control": "overflow_control_ema12000", "rows": [{"cutoff": "evals", "candidate_skill": 0.37612597264381065, "control_skill": 0.37742394607564755, "delta": -0.0012979734318369074, "candidate_checkpoint": "f1deb47b05e0dddb2c882081f6371d4a6c27e5b644446ab2d3848ec6af789fd8", "control_checkpoint": "f11d056b95f1c5eeef174265ebc51742952600e0dae1fa52900860447d5be819", "candidate_eval_seconds": 26.301554441452026, "candidate_groups": {"term": {"long": {"n_configs": 21, "rel_mase_gmean": 0.7428750481395252, "rel_wql_gmean": 0.48016983627031584}, "medium": {"n_configs": 21, "rel_mase_gmean": 0.7127112192835677, "rel_wql_gmean": 0.4949026837866265}, "short": {"n_configs": 55, "rel_mase_gmean": 0.7603970824570427, "rel_wql_gmean": 0.5494707164558967}}, "domain": {"Econ/Fin": {"n_configs": 6, "rel_mase_gmean": 0.875268873201828, "rel_wql_gmean": 0.8498150921824715}, "Energy": {"n_configs": 32, "rel_mase_gmean": 0.9036593124586589, "rel_wql_gmean": 0.6467905478260898}, "Healthcare": {"n_configs": 5, "rel_mase_gmean": 0.6052873364782312, "rel_wql_gmean": 0.5414215680589309}, "Nature": {"n_configs": 15, "rel_mase_gmean": 0.815640742417676, "rel_wql_gmean": 0.40268822274396987}, "Sales": {"n_configs": 4, "rel_mase_gmean": 0.8512935457482944, "rel_wql_gmean": 0.5215554524467921}, "Transport": {"n_configs": 15, "rel_mase_gmean": 0.6433122083917602, "rel_wql_gmean": 0.4409592133931682}, "Web/CloudOps": {"n_configs": 20, "rel_mase_gmean": 0.561287339032233, "rel_wql_gmean": 0.4361835097680848}}, "frequency": {"A": {"n_configs": 1, "rel_mase_gmean": 0.6179411870544589, "rel_wql_gmean": 0.6399891109014733}, "D": {"n_configs": 15, "rel_mase_gmean": 0.7831724170774825, "rel_wql_gmean": 0.540315009074117}, "H": {"n_configs": 31, "rel_mase_gmean": 0.7318131632477781, "rel_wql_gmean": 0.4988457212439089}, "M": {"n_configs": 5, "rel_mase_gmean": 1.0047585042900982, "rel_wql_gmean": 0.8706326095203928}, "Q": {"n_configs": 1, "rel_mase_gmean": 0.7805733535967154, "rel_wql_gmean": 0.8250655576550436}, "S": {"n_configs": 6, "rel_mase_gmean": 0.6571644444228559, "rel_wql_gmean": 0.505149270853412}, "T": {"n_configs": 30, "rel_mase_gmean": 0.6913428051659812, "rel_wql_gmean": 0.4528083731363489}, "W": {"n_configs": 8, "rel_mase_gmean": 0.9075217757391797, "rel_wql_gmean": 0.6770004974092982}}, "variates": {"multivariate": {"n_configs": 43, "rel_mase_gmean": 0.7115452181133927, "rel_wql_gmean": 0.5121480648642073}, "univariate": {"n_configs": 54, "rel_mase_gmean": 0.774690793461382, "rel_wql_gmean": 0.529463618559688}}}, "control_groups": {"term": {"long": {"n_configs": 21, "rel_mase_gmean": 0.7430904415695668, "rel_wql_gmean": 0.4803877697002309}, "medium": {"n_configs": 21, "rel_mase_gmean": 0.7132918126148858, "rel_wql_gmean": 0.4952594111267713}, "short": {"n_configs": 55, "rel_mase_gmean": 0.7578628359813909, "rel_wql_gmean": 0.5467970503421377}}, "domain": {"Econ/Fin": {"n_configs": 6, "rel_mase_gmean": 0.8820089901245588, "rel_wql_gmean": 0.8576370610661226}, "Energy": {"n_configs": 32, "rel_mase_gmean": 0.9027748652932497, "rel_wql_gmean": 0.6461208417787276}, "Healthcare": {"n_configs": 5, "rel_mase_gmean": 0.5860981811462721, "rel_wql_gmean": 0.5145960110698827}, "Nature": {"n_configs": 15, "rel_mase_gmean": 0.8131107048238599, "rel_wql_gmean": 0.4016810458988802}, "Sales": {"n_configs": 4, "rel_mase_gmean": 0.8527673973406287, "rel_wql_gmean": 0.5213825017868637}, "Transport": {"n_configs": 15, "rel_mase_gmean": 0.6445705043805339, "rel_wql_gmean": 0.44151518253827515}, "Web/CloudOps": {"n_configs": 20, "rel_mase_gmean": 0.5611845549171244, "rel_wql_gmean": 0.43637179177338026}}, "frequency": {"A": {"n_configs": 1, "rel_mase_gmean": 0.6256068773709946, "rel_wql_gmean": 0.6531531717628165}, "D": {"n_configs": 15, "rel_mase_gmean": 0.7810498071209858, "rel_wql_gmean": 0.5387984968910804}, "H": {"n_configs": 31, "rel_mase_gmean": 0.7331074392934215, "rel_wql_gmean": 0.4999416190250625}, "M": {"n_configs": 5, "rel_mase_gmean": 0.9734095428884114, "rel_wql_gmean": 0.8253812557813238}, "Q": {"n_configs": 1, "rel_mase_gmean": 0.7799909436165716, "rel_wql_gmean": 0.8257926959351992}, "S": {"n_configs": 6, "rel_mase_gmean": 0.6551233447531275, "rel_wql_gmean": 0.5045264853695348}, "T": {"n_configs": 30, "rel_mase_gmean": 0.6915094659095177, "rel_wql_gmean": 0.4527256621835321}, "W": {"n_configs": 8, "rel_mase_gmean": 0.9056914149873438, "rel_wql_gmean": 0.6760727114446506}}, "variates": {"multivariate": {"n_configs": 43, "rel_mase_gmean": 0.7112247286748321, "rel_wql_gmean": 0.5124312426851864}, "univariate": {"n_configs": 54, "rel_mase_gmean": 0.7726699203226439, "rel_wql_gmean": 0.5268484105597512}}}, "group_skill_delta": {"term": {"long": 0.0002221187528791413, "medium": 0.00045594863503239935, "short": -0.002649952409713663}, "domain": {"Econ/Fin": 0.007289576188591607, "Energy": -0.0007699283605113738, "Healthcare": -0.023279857421110384, "Nature": -0.0016055885990393648, "Sales": 0.00046597836642936485, "Transport": 0.0008566146628592453, "Web/CloudOps": 6.146400777895522e-05}, "frequency": {"A": 0.010363128568481095, "D": -0.001794422091243364, "H": 0.0011979571373912368, "M": -0.038949553951107885, "Q": 5.3975537878336866e-05, "S": -0.001250183721272613, "T": 1.6326670695732126e-05, "W": -0.0013275837486963482}, "variates": {"multivariate": 3.0864644344652525e-05, "univariate": -0.002417469515829218}}}, {"cutoff": "backcast_evals", "candidate_skill": 0.33579550286796345, "control_skill": 0.33652833730727594, "delta": -0.0007328344393124908, "candidate_checkpoint": "f1deb47b05e0dddb2c882081f6371d4a6c27e5b644446ab2d3848ec6af789fd8", "control_checkpoint": "f11d056b95f1c5eeef174265ebc51742952600e0dae1fa52900860447d5be819", "candidate_eval_seconds": 24.571640253067017, "candidate_groups": {"term": {"long": {"n_configs": 21, "rel_mase_gmean": 0.7803948816231011, "rel_wql_gmean": 0.46634628063194994}, "medium": {"n_configs": 21, "rel_mase_gmean": 0.7721443465770145, "rel_wql_gmean": 0.5333256397131038}, "short": {"n_configs": 55, "rel_mase_gmean": 0.818084006971346, "rel_wql_gmean": 0.5958535740460764}}, "domain": {"Econ/Fin": {"n_configs": 6, "rel_mase_gmean": 0.8733759474418339, "rel_wql_gmean": 0.8101520925772994}, "Energy": {"n_configs": 32, "rel_mase_gmean": 0.8894109276420028, "rel_wql_gmean": 0.6655257213921841}, "Healthcare": {"n_configs": 5, "rel_mase_gmean": 0.6443191277932857, "rel_wql_gmean": 0.5479573261147775}, "Nature": {"n_configs": 15, "rel_mase_gmean": 0.932543526482483, "rel_wql_gmean": 0.4335336786360575}, "Sales": {"n_configs": 4, "rel_mase_gmean": 0.7395515969863701, "rel_wql_gmean": 0.5020700192608043}, "Transport": {"n_configs": 15, "rel_mase_gmean": 0.738632812164996, "rel_wql_gmean": 0.5313271060591571}, "Web/CloudOps": {"n_configs": 20, "rel_mase_gmean": 0.6662561746592346, "rel_wql_gmean": 0.4579920263084524}}, "frequency": {"A": {"n_configs": 1, "rel_mase_gmean": 0.6495654332529827, "rel_wql_gmean": 0.7215130510295488}, "D": {"n_configs": 15, "rel_mase_gmean": 0.8408695902816747, "rel_wql_gmean": 0.4998461278118158}, "H": {"n_configs": 31, "rel_mase_gmean": 0.779153419992908, "rel_wql_gmean": 0.5151894170517185}, "M": {"n_configs": 5, "rel_mase_gmean": 0.8696112901101338, "rel_wql_gmean": 0.7935497130187744}, "Q": {"n_configs": 1, "rel_mase_gmean": 0.7643180657351112, "rel_wql_gmean": 0.7677018658143707}, "S": {"n_configs": 6, "rel_mase_gmean": 0.8546801602658521, "rel_wql_gmean": 0.5077714328047184}, "T": {"n_configs": 30, "rel_mase_gmean": 0.7674756974800262, "rel_wql_gmean": 0.5752947630033991}, "W": {"n_configs": 8, "rel_mase_gmean": 0.8753943753746083, "rel_wql_gmean": 0.5815750560859467}}, "variates": {"multivariate": {"n_configs": 43, "rel_mase_gmean": 0.7918944760132761, "rel_wql_gmean": 0.530286919061923}, "univariate": {"n_configs": 54, "rel_mase_gmean": 0.805978313209396, "rel_wql_gmean": 0.5693000613346351}}}, "control_groups": {"term": {"long": {"n_configs": 21, "rel_mase_gmean": 0.7791999311006992, "rel_wql_gmean": 0.4659792452594256}, "medium": {"n_configs": 21, "rel_mase_gmean": 0.7710406727836745, "rel_wql_gmean": 0.5333113680139498}, "short": {"n_configs": 55, "rel_mase_gmean": 0.815154118317558, "rel_wql_gmean": 0.596530868139981}}, "domain": {"Econ/Fin": {"n_configs": 6, "rel_mase_gmean": 0.8754973298713973, "rel_wql_gmean": 0.8157069069366086}, "Energy": {"n_configs": 32, "rel_mase_gmean": 0.8880158890798259, "rel_wql_gmean": 0.6677066701972586}, "Healthcare": {"n_configs": 5, "rel_mase_gmean": 0.6235821127455097, "rel_wql_gmean": 0.5405407165775942}, "Nature": {"n_configs": 15, "rel_mase_gmean": 0.933606860676274, "rel_wql_gmean": 0.4340037728321772}, "Sales": {"n_configs": 4, "rel_mase_gmean": 0.7343890716300152, "rel_wql_gmean": 0.49893240567123487}, "Transport": {"n_configs": 15, "rel_mase_gmean": 0.7389889324657989, "rel_wql_gmean": 0.5315819911881067}, "Web/CloudOps": {"n_configs": 20, "rel_mase_gmean": 0.6643730331767335, "rel_wql_gmean": 0.45729311789913757}}, "frequency": {"A": {"n_configs": 1, "rel_mase_gmean": 0.6445434372547929, "rel_wql_gmean": 0.724090215239997}, "D": {"n_configs": 15, "rel_mase_gmean": 0.8386815774822007, "rel_wql_gmean": 0.5001256118650457}, "H": {"n_configs": 31, "rel_mase_gmean": 0.7779220228454703, "rel_wql_gmean": 0.5152698021677109}, "M": {"n_configs": 5, "rel_mase_gmean": 0.8546325349093246, "rel_wql_gmean": 0.7856916887479788}, "Q": {"n_configs": 1, "rel_mase_gmean": 0.7640852146217055, "rel_wql_gmean": 0.7788691447566721}, "S": {"n_configs": 6, "rel_mase_gmean": 0.8532609264720655, "rel_wql_gmean": 0.507658310446713}, "T": {"n_configs": 30, "rel_mase_gmean": 0.767260085607915, "rel_wql_gmean": 0.5746866456036881}, "W": {"n_configs": 8, "rel_mase_gmean": 0.869060480798712, "rel_wql_gmean": 0.5886681671106037}}, "variates": {"multivariate": {"n_configs": 43, "rel_mase_gmean": 0.7899223594259315, "rel_wql_gmean": 0.5301365087279752}, "univariate": {"n_configs": 54, "rel_mase_gmean": 0.803707925134896, "rel_wql_gmean": 0.5699074661266276}}}, "group_skill_delta": {"term": {"long": -0.0006993089450074708, "medium": -0.0004673690690001342, "short": -0.0008553765432549598}, "domain": {"Econ/Fin": 0.0039032717811751105, "Energy": 0.0006549890412820281, "Healthcare": -0.013609396239477767, "Nature": 0.000707236127975186, "Sales": -0.0040308781459954535, "Transport": 0.00030128116973815455, "Web/CloudOps": -0.0012022606957043935}, "frequency": {"A": -0.001434717299257704, "D": -0.0006630405817877882, "H": -0.00045146770322546104, "M": -0.011272996130293977, "Q": 0.005433668241791478, "S": -0.0006205126914519132, "T": -0.00044457937675745907, "W": 0.0017362517802820276}, "variates": {"multivariate": -0.0008992058863770414, "univariate": -0.0005939863785452415}}}, {"cutoff": "backcast2_evals", "candidate_skill": 0.3613039819273488, "control_skill": 0.36097346960650367, "delta": 0.00033051232084513327, "candidate_checkpoint": "f1deb47b05e0dddb2c882081f6371d4a6c27e5b644446ab2d3848ec6af789fd8", "control_checkpoint": "f11d056b95f1c5eeef174265ebc51742952600e0dae1fa52900860447d5be819", "candidate_eval_seconds": 23.942510843276978, "candidate_groups": {"term": {"long": {"n_configs": 19, "rel_mase_gmean": 0.7994303588783945, "rel_wql_gmean": 0.5047936125361201}, "medium": {"n_configs": 21, "rel_mase_gmean": 0.7585582411691183, "rel_wql_gmean": 0.49213715811809716}, "short": {"n_configs": 54, "rel_mase_gmean": 0.7622597177019128, "rel_wql_gmean": 0.5560507373315131}}, "domain": {"Econ/Fin": {"n_configs": 6, "rel_mase_gmean": 0.8875630930903033, "rel_wql_gmean": 0.9051744171487927}, "Energy": {"n_configs": 32, "rel_mase_gmean": 0.8956406224545252, "rel_wql_gmean": 0.64475627013019}, "Healthcare": {"n_configs": 5, "rel_mase_gmean": 0.6949245357597195, "rel_wql_gmean": 0.593849204088152}, "Nature": {"n_configs": 15, "rel_mase_gmean": 0.760265038018502, "rel_wql_gmean": 0.36277685228818896}, "Sales": {"n_configs": 3, "rel_mase_gmean": 0.5633883229845202, "rel_wql_gmean": 0.3604893186868895}, "Transport": {"n_configs": 14, "rel_mase_gmean": 0.6693022978773041, "rel_wql_gmean": 0.5018725026594515}, "Web/CloudOps": {"n_configs": 19, "rel_mase_gmean": 0.6846068927297053, "rel_wql_gmean": 0.4686509170371502}}, "frequency": {"A": {"n_configs": 1, "rel_mase_gmean": 0.5840536091295983, "rel_wql_gmean": 0.721808761634876}, "D": {"n_configs": 15, "rel_mase_gmean": 0.7301854258339627, "rel_wql_gmean": 0.4494742691816404}, "H": {"n_configs": 30, "rel_mase_gmean": 0.7575233002412155, "rel_wql_gmean": 0.4905599328117248}, "M": {"n_configs": 4, "rel_mase_gmean": 0.8169560864594648, "rel_wql_gmean": 0.8551457988530617}, "Q": {"n_configs": 1, "rel_mase_gmean": 0.8356711218221335, "rel_wql_gmean": 0.8696006131540667}, "S": {"n_configs": 6, "rel_mase_gmean": 0.9100735740026191, "rel_wql_gmean": 0.5682478578118126}, "T": {"n_configs": 29, "rel_mase_gmean": 0.7564710377088042, "rel_wql_gmean": 0.5386795987319778}, "W": {"n_configs": 8, "rel_mase_gmean": 0.8308220008623086, "rel_wql_gmean": 0.6230353765403394}}, "variates": {"multivariate": {"n_configs": 42, "rel_mase_gmean": 0.7827378337570088, "rel_wql_gmean": 0.5158567345122158}, "univariate": {"n_configs": 52, "rel_mase_gmean": 0.7577139368382865, "rel_wql_gmean": 0.5428398324072662}}}, "control_groups": {"term": {"long": {"n_configs": 19, "rel_mase_gmean": 0.7998283729290717, "rel_wql_gmean": 0.5048537403572065}, "medium": {"n_configs": 21, "rel_mase_gmean": 0.7567348346553658, "rel_wql_gmean": 0.49139307103243485}, "short": {"n_configs": 54, "rel_mase_gmean": 0.762930601340605, "rel_wql_gmean": 0.5572913926751922}}, "domain": {"Econ/Fin": {"n_configs": 6, "rel_mase_gmean": 0.8902018742574637, "rel_wql_gmean": 0.9080828126396094}, "Energy": {"n_configs": 32, "rel_mase_gmean": 0.8967112467195689, "rel_wql_gmean": 0.6466666398782791}, "Healthcare": {"n_configs": 5, "rel_mase_gmean": 0.6908821587788814, "rel_wql_gmean": 0.5905411593557701}, "Nature": {"n_configs": 15, "rel_mase_gmean": 0.7593906111647103, "rel_wql_gmean": 0.3630649835252516}, "Sales": {"n_configs": 3, "rel_mase_gmean": 0.5660049516474805, "rel_wql_gmean": 0.36083556795060334}, "Transport": {"n_configs": 14, "rel_mase_gmean": 0.6692141236302525, "rel_wql_gmean": 0.5019337855870213}, "Web/CloudOps": {"n_configs": 19, "rel_mase_gmean": 0.6840578993103755, "rel_wql_gmean": 0.46836362238870816}}, "frequency": {"A": {"n_configs": 1, "rel_mase_gmean": 0.5819380993584167, "rel_wql_gmean": 0.723948814143525}, "D": {"n_configs": 15, "rel_mase_gmean": 0.7300802327867975, "rel_wql_gmean": 0.44973000047782175}, "H": {"n_configs": 30, "rel_mase_gmean": 0.7573152418388004, "rel_wql_gmean": 0.4905218098483386}, "M": {"n_configs": 4, "rel_mase_gmean": 0.825511662103245, "rel_wql_gmean": 0.8525433006612966}, "Q": {"n_configs": 1, "rel_mase_gmean": 0.8348196873036913, "rel_wql_gmean": 0.8792738256086735}, "S": {"n_configs": 6, "rel_mase_gmean": 0.9101844597610753, "rel_wql_gmean": 0.5693250695338232}, "T": {"n_configs": 29, "rel_mase_gmean": 0.75556464168385, "rel_wql_gmean": 0.5377684583538125}, "W": {"n_configs": 8, "rel_mase_gmean": 0.8322603650379057, "rel_wql_gmean": 0.6324937767638193}}, "variates": {"multivariate": {"n_configs": 42, "rel_mase_gmean": 0.782445957809565, "rel_wql_gmean": 0.5156982204614814}, "univariate": {"n_configs": 52, "rel_mase_gmean": 0.7580358480370438, "rel_wql_gmean": 0.543923941651618}}}, "group_skill_delta": {"term": {"long": 0.00019595986944986876, "medium": -0.0011963062249945589, "short": 0.0010126495337633434}, "domain": {"Econ/Fin": 0.0027723913674168044, "Energy": 0.0015796820841680326, "Healthcare": -0.0036576861574247888, "Nature": -9.370861462276725e-05, "Sales": 0.0012622036778165424, "Transport": -2.795885354567318e-06, "Web/CloudOps": -0.00040073261232353996}, "frequency": {"A": -0.00021690098198479113, "D": 0.00012167144878916236, "H": -0.00010740488144889149, "M": 0.0030857545471283387, "Q": 0.004291405638661705, "S": 0.0007251447805141087, "T": -0.0009223202400732156, "W": 0.006067822151289648}, "variates": {"multivariate": -0.0002161043626571768, "univariate": 0.0007764498089196659}}}, {"cutoff": "backcast3_evals", "candidate_skill": 0.38719770172424695, "control_skill": 0.3874814849803516, "delta": -0.0002837832561046749, "candidate_checkpoint": "f1deb47b05e0dddb2c882081f6371d4a6c27e5b644446ab2d3848ec6af789fd8", "control_checkpoint": "f11d056b95f1c5eeef174265ebc51742952600e0dae1fa52900860447d5be819", "candidate_eval_seconds": 24.347827434539795, "candidate_groups": {"term": {"long": {"n_configs": 19, "rel_mase_gmean": 0.7684886444337029, "rel_wql_gmean": 0.47700055161764726}, "medium": {"n_configs": 20, "rel_mase_gmean": 0.7719012970032346, "rel_wql_gmean": 0.5309111874339674}, "short": {"n_configs": 54, "rel_mase_gmean": 0.7205395887196173, "rel_wql_gmean": 0.5088842083422412}}, "domain": {"Econ/Fin": {"n_configs": 6, "rel_mase_gmean": 0.8312087228420175, "rel_wql_gmean": 0.8186588543234923}, "Energy": {"n_configs": 32, "rel_mase_gmean": 0.8351368839049325, "rel_wql_gmean": 0.5545932357253937}, "Healthcare": {"n_configs": 5, "rel_mase_gmean": 0.8175567972220871, "rel_wql_gmean": 0.6760837299667757}, "Nature": {"n_configs": 15, "rel_mase_gmean": 0.7299909306564671, "rel_wql_gmean": 0.3420605153189345}, "Sales": {"n_configs": 3, "rel_mase_gmean": 0.7548733967003611, "rel_wql_gmean": 0.47934273977909336}, "Transport": {"n_configs": 14, "rel_mase_gmean": 0.5451842768000186, "rel_wql_gmean": 0.4515764701679637}, "Web/CloudOps": {"n_configs": 18, "rel_mase_gmean": 0.7188771721303677, "rel_wql_gmean": 0.5204081485529428}}, "frequency": {"A": {"n_configs": 1, "rel_mase_gmean": 0.5241640857947558, "rel_wql_gmean": 0.7291166786507837}, "D": {"n_configs": 15, "rel_mase_gmean": 0.7350980533969118, "rel_wql_gmean": 0.4276860378056021}, "H": {"n_configs": 29, "rel_mase_gmean": 0.728816078273106, "rel_wql_gmean": 0.49012599470467744}, "M": {"n_configs": 4, "rel_mase_gmean": 0.884158227262403, "rel_wql_gmean": 0.8735522520241081}, "Q": {"n_configs": 1, "rel_mase_gmean": 0.7090887722467131, "rel_wql_gmean": 0.7680357872508405}, "S": {"n_configs": 6, "rel_mase_gmean": 0.8460699141449298, "rel_wql_gmean": 0.5998981264388689}, "T": {"n_configs": 29, "rel_mase_gmean": 0.7086527442094294, "rel_wql_gmean": 0.4630233384268165}, "W": {"n_configs": 8, "rel_mase_gmean": 0.8169291712293834, "rel_wql_gmean": 0.6644383983004994}}, "variates": {"multivariate": {"n_configs": 41, "rel_mase_gmean": 0.7633479802491316, "rel_wql_gmean": 0.5131305442375695}, "univariate": {"n_configs": 52, "rel_mase_gmean": 0.7238025548687982, "rel_wql_gmean": 0.501861868079696}}}, "control_groups": {"term": {"long": {"n_configs": 19, "rel_mase_gmean": 0.7675699458528298, "rel_wql_gmean": 0.476452132158557}, "medium": {"n_configs": 20, "rel_mase_gmean": 0.773141221801274, "rel_wql_gmean": 0.5311688105422268}, "short": {"n_configs": 54, "rel_mase_gmean": 0.7189800356855841, "rel_wql_gmean": 0.5092012481102669}}, "domain": {"Econ/Fin": {"n_configs": 6, "rel_mase_gmean": 0.8366494448197422, "rel_wql_gmean": 0.8335501433013701}, "Energy": {"n_configs": 32, "rel_mase_gmean": 0.8362673307045482, "rel_wql_gmean": 0.5558565966414833}, "Healthcare": {"n_configs": 5, "rel_mase_gmean": 0.7992789325648234, "rel_wql_gmean": 0.663313586611861}, "Nature": {"n_configs": 15, "rel_mase_gmean": 0.7270958326307262, "rel_wql_gmean": 0.3416485868534862}, "Sales": {"n_configs": 3, "rel_mase_gmean": 0.7558002187371488, "rel_wql_gmean": 0.47806361106286926}, "Transport": {"n_configs": 14, "rel_mase_gmean": 0.5447632408986202, "rel_wql_gmean": 0.45146185813227047}, "Web/CloudOps": {"n_configs": 18, "rel_mase_gmean": 0.7184671561660497, "rel_wql_gmean": 0.5194115372422989}}, "frequency": {"A": {"n_configs": 1, "rel_mase_gmean": 0.5301621193542202, "rel_wql_gmean": 0.8023624756576537}, "D": {"n_configs": 15, "rel_mase_gmean": 0.7320022964105988, "rel_wql_gmean": 0.42747341049868826}, "H": {"n_configs": 29, "rel_mase_gmean": 0.7284419538124913, "rel_wql_gmean": 0.48986156448616525}, "M": {"n_configs": 4, "rel_mase_gmean": 0.8692971155035826, "rel_wql_gmean": 0.8573561489309673}, "Q": {"n_configs": 1, "rel_mase_gmean": 0.7145578258684864, "rel_wql_gmean": 0.7671041544075885}, "S": {"n_configs": 6, "rel_mase_gmean": 0.8434376506034783, "rel_wql_gmean": 0.6004240857745707}, "T": {"n_configs": 29, "rel_mase_gmean": 0.7091796225957213, "rel_wql_gmean": 0.4627952794263764}, "W": {"n_configs": 8, "rel_mase_gmean": 0.8186104789687557, "rel_wql_gmean": 0.6672650133055504}}, "variates": {"multivariate": {"n_configs": 41, "rel_mase_gmean": 0.7652944038188929, "rel_wql_gmean": 0.5141740641844628}, "univariate": {"n_configs": 52, "rel_mase_gmean": 0.7208570784782143, "rel_wql_gmean": 0.5012656144320912}}}, "group_skill_delta": {"term": {"long": -0.0007099465499640356, "medium": 0.0006693751847272056, "short": -0.00046727777101984724}, "domain": {"Econ/Fin": 0.010188433449565881, "Energy": 0.001235688152959713, "Healthcare": -0.015333237527605181, "Nature": -0.0012922529180409148, "Sales": -0.00043446352071674355, "Transport": -0.0002545772391819856, "Web/CloudOps": -0.0007602336179508562}, "frequency": {"A": 0.03400882289466778, "D": -0.0013210139532306986, "H": -0.00031462845811736084, "M": -0.01553325343887657, "Q": 0.0023910101617380386, "S": -0.0007973503823683892, "T": 7.176516391471655e-05, "W": 0.002324819735960215}, "variates": {"multivariate": 0.0014342827367879174, "univariate": -0.0015849874659156216}}}], "mean_delta": -0.000496019701602235, "positive_cutoffs": 1, "outcome": "Declared primary6000/durability12000 diagnostic. No transfer formula or automatic publication is selected by this controller."} + +## E128 twelve-thousand-step dispersion transfer full replay, rejected +- Checkpoint SHA-256: `e473ba2608f2cc15100e181259634d9f553dcc311dedee8b0f896b133703a17b`. +- Evaluation: 97 configurations, 151170 instances, 0 failed configurations; not separately timed seconds. +- Overall skill 0.383953; relative MASE 0.736493; relative WQL 0.515300. +- term skill: long=0.4027, medium=0.4086, short=0.3668. +- domain skill: Econ/Fin=0.1306, Energy=0.2409, Healthcare=0.4852, Nature=0.4442, Sales=0.3589, Transport=0.4725, Web/CloudOps=0.4991. +- frequency skill: A=0.2970, D=0.3746, H=0.3981, M=0.1452, Q=0.1890, S=0.4252, T=0.4396, W=0.2376. +- variates skill: multivariate=0.3971, univariate=0.3733. +- Outcome: Full skill0.38395261653633084 below E1270.3840414658263811 and current E1300.38414971818207. All97 configurations/151170instances finite; inference358.537563328s; complete relocation/independent-composition suite1004.778254749s passed. No publication or coefficient sweep. + +E101 own-ensemble distillation 24000 matched duration: {"label": "E101 own-ensemble distillation 24000 matched duration", "utc": "2026-10-23T09:19:15.570271+00:00", "candidate": "distill_ensemble_ema24000", "control": "random_capacity_1024_halflr_ema24000", "rows": [{"cutoff": "evals", "candidate_skill": 0.36786899672815143, "control_skill": 0.3554524492447929, "delta": 0.01241654748335852, "candidate_checkpoint": "ad5c0444cb3da069662fa016561f8cf246470d52b5149d5e5ecff4f4635ac6fd", "control_checkpoint": "ee69006629037179a8fd6d09233755cb8efceafb0a47494abceceea3cb7fae52", "candidate_eval_seconds": 36.978116512298584, "candidate_groups": {"term": {"long": {"n_configs": 21, "rel_mase_gmean": 0.7613534532855317, "rel_wql_gmean": 0.4933355126988402}, "medium": {"n_configs": 21, "rel_mase_gmean": 0.7218139585351127, "rel_wql_gmean": 0.4992284050428652}, "short": {"n_configs": 55, "rel_mase_gmean": 0.7672268173513697, "rel_wql_gmean": 0.5547476172046656}}, "domain": {"Econ/Fin": {"n_configs": 6, "rel_mase_gmean": 0.8932646398208068, "rel_wql_gmean": 0.8458136656436929}, "Energy": {"n_configs": 32, "rel_mase_gmean": 0.9078583500592542, "rel_wql_gmean": 0.6488988402003546}, "Healthcare": {"n_configs": 5, "rel_mase_gmean": 0.6171945120239629, "rel_wql_gmean": 0.5508778445646585}, "Nature": {"n_configs": 15, "rel_mase_gmean": 0.8172291112406892, "rel_wql_gmean": 0.40581862290030846}, "Sales": {"n_configs": 4, "rel_mase_gmean": 0.8418608823902648, "rel_wql_gmean": 0.5159447884287781}, "Transport": {"n_configs": 15, "rel_mase_gmean": 0.6528920710132115, "rel_wql_gmean": 0.45070297408715015}, "Web/CloudOps": {"n_configs": 20, "rel_mase_gmean": 0.5812822617907885, "rel_wql_gmean": 0.4520217678361691}}, "frequency": {"A": {"n_configs": 1, "rel_mase_gmean": 0.5927671163749784, "rel_wql_gmean": 0.6245031317118163}, "D": {"n_configs": 15, "rel_mase_gmean": 0.7851739820802963, "rel_wql_gmean": 0.5406958904898744}, "H": {"n_configs": 31, "rel_mase_gmean": 0.7405818217057821, "rel_wql_gmean": 0.5060231638513055}, "M": {"n_configs": 5, "rel_mase_gmean": 1.0030369609877634, "rel_wql_gmean": 0.8643308347760176}, "Q": {"n_configs": 1, "rel_mase_gmean": 0.7675602608974536, "rel_wql_gmean": 0.8301407913586738}, "S": {"n_configs": 6, "rel_mase_gmean": 0.6599527631730835, "rel_wql_gmean": 0.5067737473086187}, "T": {"n_configs": 30, "rel_mase_gmean": 0.7092137567823373, "rel_wql_gmean": 0.46706903964030133}, "W": {"n_configs": 8, "rel_mase_gmean": 0.9238536075967602, "rel_wql_gmean": 0.670954136490052}}, "variates": {"multivariate": {"n_configs": 43, "rel_mase_gmean": 0.7261235492551099, "rel_wql_gmean": 0.5251452485440882}, "univariate": {"n_configs": 54, "rel_mase_gmean": 0.780482086012812, "rel_wql_gmean": 0.5314168783649992}}}, "control_groups": {"term": {"long": {"n_configs": 21, "rel_mase_gmean": 0.7672963823883818, "rel_wql_gmean": 0.5037463097000351}, "medium": {"n_configs": 21, "rel_mase_gmean": 0.7411598138375365, "rel_wql_gmean": 0.5112523421889252}, "short": {"n_configs": 55, "rel_mase_gmean": 0.7765805771888272, "rel_wql_gmean": 0.5695687308167366}}, "domain": {"Econ/Fin": {"n_configs": 6, "rel_mase_gmean": 0.8947865329147192, "rel_wql_gmean": 0.8675019552981618}, "Energy": {"n_configs": 32, "rel_mase_gmean": 0.9189851213071903, "rel_wql_gmean": 0.6647129956643829}, "Healthcare": {"n_configs": 5, "rel_mase_gmean": 0.66522448244886, "rel_wql_gmean": 0.5713422747891131}, "Nature": {"n_configs": 15, "rel_mase_gmean": 0.8229663797697023, "rel_wql_gmean": 0.42175005100395146}, "Sales": {"n_configs": 4, "rel_mase_gmean": 0.836731066077329, "rel_wql_gmean": 0.5127605811341385}, "Transport": {"n_configs": 15, "rel_mase_gmean": 0.6568620754928051, "rel_wql_gmean": 0.45664954453268697}, "Web/CloudOps": {"n_configs": 20, "rel_mase_gmean": 0.5941838738109626, "rel_wql_gmean": 0.4642586168661542}}, "frequency": {"A": {"n_configs": 1, "rel_mase_gmean": 0.6090797274199198, "rel_wql_gmean": 0.6248561761913869}, "D": {"n_configs": 15, "rel_mase_gmean": 0.7816538456892409, "rel_wql_gmean": 0.5343645406533337}, "H": {"n_configs": 31, "rel_mase_gmean": 0.7518484970509849, "rel_wql_gmean": 0.5255707125287721}, "M": {"n_configs": 5, "rel_mase_gmean": 1.015039576827218, "rel_wql_gmean": 0.8873267820580395}, "Q": {"n_configs": 1, "rel_mase_gmean": 0.7756154804231246, "rel_wql_gmean": 0.8458050910642245}, "S": {"n_configs": 6, "rel_mase_gmean": 0.6668506293769108, "rel_wql_gmean": 0.507924296219694}, "T": {"n_configs": 30, "rel_mase_gmean": 0.7306344744783564, "rel_wql_gmean": 0.48726927054167557}, "W": {"n_configs": 8, "rel_mase_gmean": 0.9160794156665825, "rel_wql_gmean": 0.6672608817274759}}, "variates": {"multivariate": {"n_configs": 43, "rel_mase_gmean": 0.742970470874668, "rel_wql_gmean": 0.5446766637662609}, "univariate": {"n_configs": 54, "rel_mase_gmean": 0.7862695054442648, "rel_wql_gmean": 0.539530442255707}}}, "group_skill_delta": {"term": {"long": 0.00884517749183844, "medium": 0.01527290829046124, "short": 0.0126749508916848}, "domain": {"Econ/Fin": 0.011823213626144025, "Energy": 0.014042335073513823, "Healthcare": 0.0334047345528341, "Nature": 0.01325231705496166, "Sales": -0.004041666279614886, "Transport": 0.005224438942843523, "Web/CloudOps": 0.012625350236096566}, "frequency": {"A": 0.008489284622378968, "D": -0.005279668651802849, "H": 0.016439670250736338, "M": 0.017932703667306926, "Q": 0.011712835768662666, "S": 0.0036739608508072896, "T": 0.02112575984504239, "W": -0.005480325776542672}, "variates": {"multivariate": 0.01863219594085297, "univariate": 0.007299234511382369}}}], "mean_delta": 0.01241654748335852, "positive_cutoffs": 1, "outcome": "Positive matched main diagnostic; preserve immutable E96 teacher, coefficient0.5 and original96000 schedule. Main validation only; no package selection yet."} + +E94 halfLR 72000 matched duration: {"label": "E94 halfLR 72000 matched duration", "utc": "2026-10-23T09:19:15.611756+00:00", "candidate": "random_capacity_1024_halflr_ema72000", "control": "random_capacity_1024_ema72000", "rows": [{"cutoff": "evals", "candidate_skill": 0.36653362293692227, "control_skill": 0.36736566458978936, "delta": -0.0008320416528670993, "candidate_checkpoint": "1f20fbc689daeb4c9761714dbe10f442ab41488d027207e7899a0cd3de1add3c", "control_checkpoint": "baa71611dff2da76515319d144b23e31e19304772ad4401fc4a18ea03f07a499", "candidate_eval_seconds": 37.33427858352661, "candidate_groups": {"term": {"long": {"n_configs": 21, "rel_mase_gmean": 0.7680606899024435, "rel_wql_gmean": 0.4988503915569091}, "medium": {"n_configs": 21, "rel_mase_gmean": 0.7332786035110377, "rel_wql_gmean": 0.5041170760030442}, "short": {"n_configs": 55, "rel_mase_gmean": 0.7585705226561933, "rel_wql_gmean": 0.5555576562163199}}, "domain": {"Econ/Fin": {"n_configs": 6, "rel_mase_gmean": 0.8890425784326859, "rel_wql_gmean": 0.8521745095508803}, "Energy": {"n_configs": 32, "rel_mase_gmean": 0.9159891215471997, "rel_wql_gmean": 0.6608606448062099}, "Healthcare": {"n_configs": 5, "rel_mase_gmean": 0.5774882181873465, "rel_wql_gmean": 0.4922066250724507}, "Nature": {"n_configs": 15, "rel_mase_gmean": 0.8219319248209576, "rel_wql_gmean": 0.4164103507345064}, "Sales": {"n_configs": 4, "rel_mase_gmean": 0.8152705090073499, "rel_wql_gmean": 0.5099477192627261}, "Transport": {"n_configs": 15, "rel_mase_gmean": 0.6500269528069342, "rel_wql_gmean": 0.4497591516823354}, "Web/CloudOps": {"n_configs": 20, "rel_mase_gmean": 0.5834637275048629, "rel_wql_gmean": 0.4552808833310693}}, "frequency": {"A": {"n_configs": 1, "rel_mase_gmean": 0.5922899838046344, "rel_wql_gmean": 0.6089813388580939}, "D": {"n_configs": 15, "rel_mase_gmean": 0.7654652588047858, "rel_wql_gmean": 0.5272959028606339}, "H": {"n_configs": 31, "rel_mase_gmean": 0.7427422246535798, "rel_wql_gmean": 0.5161376804225851}, "M": {"n_configs": 5, "rel_mase_gmean": 0.9636735950001094, "rel_wql_gmean": 0.8438060966501667}, "Q": {"n_configs": 1, "rel_mase_gmean": 0.7597462095052908, "rel_wql_gmean": 0.8168824191722339}, "S": {"n_configs": 6, "rel_mase_gmean": 0.6643227595707758, "rel_wql_gmean": 0.5113951504875184}, "T": {"n_configs": 30, "rel_mase_gmean": 0.7203630323482785, "rel_wql_gmean": 0.47429870706475213}, "W": {"n_configs": 8, "rel_mase_gmean": 0.9107516280265588, "rel_wql_gmean": 0.6648932917668241}}, "variates": {"multivariate": {"n_configs": 43, "rel_mase_gmean": 0.731662111685473, "rel_wql_gmean": 0.531806127274585}, "univariate": {"n_configs": 54, "rel_mase_gmean": 0.7742101724432567, "rel_wql_gmean": 0.5311843649137367}}}, "control_groups": {"term": {"long": {"n_configs": 21, "rel_mase_gmean": 0.7596192288082486, "rel_wql_gmean": 0.4951141955204966}, "medium": {"n_configs": 21, "rel_mase_gmean": 0.7363375295734231, "rel_wql_gmean": 0.5056560133396528}, "short": {"n_configs": 55, "rel_mase_gmean": 0.7606418888845478, "rel_wql_gmean": 0.5538790094120064}}, "domain": {"Econ/Fin": {"n_configs": 6, "rel_mase_gmean": 0.9033681839460348, "rel_wql_gmean": 0.8510306246351569}, "Energy": {"n_configs": 32, "rel_mase_gmean": 0.9132964142466047, "rel_wql_gmean": 0.6613834360775507}, "Healthcare": {"n_configs": 5, "rel_mase_gmean": 0.6008629515181685, "rel_wql_gmean": 0.5128134103327899}, "Nature": {"n_configs": 15, "rel_mase_gmean": 0.8241897772379998, "rel_wql_gmean": 0.4190277961561824}, "Sales": {"n_configs": 4, "rel_mase_gmean": 0.8456240759834974, "rel_wql_gmean": 0.5233104342109804}, "Transport": {"n_configs": 15, "rel_mase_gmean": 0.6511786830134689, "rel_wql_gmean": 0.4507742495174751}, "Web/CloudOps": {"n_configs": 20, "rel_mase_gmean": 0.5716616669502825, "rel_wql_gmean": 0.4393165312128719}}, "frequency": {"A": {"n_configs": 1, "rel_mase_gmean": 0.5958283325931863, "rel_wql_gmean": 0.6144059264519328}, "D": {"n_configs": 15, "rel_mase_gmean": 0.7777281919380308, "rel_wql_gmean": 0.5386241189298943}, "H": {"n_configs": 31, "rel_mase_gmean": 0.7363614335969476, "rel_wql_gmean": 0.5119011863402705}, "M": {"n_configs": 5, "rel_mase_gmean": 0.9955332689841764, "rel_wql_gmean": 0.8441275404151479}, "Q": {"n_configs": 1, "rel_mase_gmean": 0.758645213417042, "rel_wql_gmean": 0.8163566812421911}, "S": {"n_configs": 6, "rel_mase_gmean": 0.6688662611218593, "rel_wql_gmean": 0.5094982599379567}, "T": {"n_configs": 30, "rel_mase_gmean": 0.7151571878390335, "rel_wql_gmean": 0.4685405119829564}, "W": {"n_configs": 8, "rel_mase_gmean": 0.9157681504509959, "rel_wql_gmean": 0.6694775206808375}}, "variates": {"multivariate": {"n_configs": 43, "rel_mase_gmean": 0.7270035470605405, "rel_wql_gmean": 0.5268439726526699}, "univariate": {"n_configs": 54, "rel_mase_gmean": 0.7782347336583278, "rel_wql_gmean": 0.5325909632877113}}}, "group_skill_delta": {"term": {"long": -0.005720486590518714, "medium": 0.0021960790531426744, "short": -9.711935889122891e-05}, "domain": {"Econ/Fin": 0.00639561796267607, "Energy": -0.000837198123813554, "Healthcare": 0.021950168491802202, "Nature": 0.002641304295429303, "Sales": 0.02044153041057939, "Transport": 0.0010891685181155797, "Web/CloudOps": -0.01426351698227335}, "frequency": {"A": 0.0044681538800170895, "D": 0.011911071514982718, "H": -0.005200610093547331, "M": 0.014959576574749334, "Q": -0.0008243959861216066, "S": 0.0009041042351182194, "T": -0.005662050596863866, "W": 0.0048255724159554925}, "variates": {"multivariate": -0.004896700591577097, "univariate": 0.002515350672037786}}}], "mean_delta": -0.0008320416528670993, "positive_cutoffs": 0, "outcome": "Half learning rate remains below original at72000; continue declared96000 schedules. Main validation only."} + +E129 direct learned seasonal uncertainty head seed197 training started at 2026-10-23T09:19:29Z, after the declared dependency processes exited; required checkpoint files are present. Settings are unchanged from the declared comparison. + +2026-10-23T09:19:50.754277+00:00: E12812 full replay rejected at0.38395261653633084; all checks passed, suite1004.778254749s. E113 final12k1of4positive/mean-0.000496019702 after primary2of4/mean-0.000397918945: no transfer. E121primary6k1of4/mean-0.000485590081: no primary transfer, scheduled12k still finishing. E10124k0.367868996728, matched E94+0.012416547483; E94halfLR72k0.366533622937, matched E79-0.000832041653. Original schedules and immutable teacher preserved. E132controller26132 and E133controller26167 wait for declared endpoints. + +2026-10-23T09:20:48.920259+00:00: E134 visibility curriculum audit and queue. CPU seed701 plus actualstream307,6144rows,4.915062141837552s: full source windows, masks, periods and RNG bitwise matched; resumed boundary views exact; original prefetched batch unmodified. Early/middle/full finite target means135.0555/251.7554/415.6190; empty target rows47/44/37 of6144 are preserved rather than resampled. GPU seed709,B48signed96,C128,H16,gradient cosine0.9999875115719722,eager/compiled loss0.4359123110771179/0.43591222167015076,peak reserved3644MiB with Adam/EMA placeholders,compile51.421730180s,total73.688431652s,0optimizer updates/no validation. Queue{"queue_pid": 26704, "watch_pid": 26705, "comparison_pid": 26706} waits E110full13879 and E79wide5650 final96000. Reuses own scratch initialc9693619...,146477344params; sampler/model byte-identical to E79. Training-only deterministic views archived; publisher records schedule and sources. No extra concurrent allocation. Primary96k,16/32/48/72diagnostics,48/96four-cutoff comparisons. + +## E135: own-ensemble distilled fourth member, predeclared48k/96k +2026-10-23T09:22:02.738349+00:00: E101distillation gains0.012416547 versus matchedE94 at24k. Hypothesis: at48k its improved learned forecasts can replace fresh E79wide48k in the fixed four-member package, despite potentially reduced member diversity. Training is unchanged; immutableE96teacher/coefficient0.5/seed307/B48/LR1e-4/96k/oldpack remain. Primary48k,final96kdurability, no earlier checkpoint alternatives or weight sweep. Every instance gets E117final/E71/E93/student with ordered equal quarters. Scientific standalone control is E94 at the same duration; package comparator is E130frozenquad48 and then-current publication. Require3of4 positive diagnostic cutoffs and positive mean before a full public replay; publication also requires better full aggregate and complete relocation/composition checks. No new training, no runtime modification or model constructed now. + +E121 12000 four-cutoff comparison: {"label": "E121 12000 four-cutoff comparison", "utc": "2026-10-23T09:22:44.476099+00:00", "candidate": "seasonal_history_ema12000", "control": "long_seasonal_ema12000", "rows": [{"cutoff": "evals", "candidate_skill": 0.3813059147504362, "control_skill": 0.38231375879048757, "delta": -0.0010078440400513866, "candidate_checkpoint": "50257b1c120f798238c78920e28863d3b0f6a7bdb45e93c6ec82ad3ee6c92127", "control_checkpoint": "d512cdac520239f0c10e021721424d87cee30086fa70f6cbc41f21e2e04988c3", "candidate_eval_seconds": 27.915850400924683, "candidate_groups": {"term": {"long": {"n_configs": 21, "rel_mase_gmean": 0.7410925529327445, "rel_wql_gmean": 0.4801896489521486}, "medium": {"n_configs": 21, "rel_mase_gmean": 0.7101927496760675, "rel_wql_gmean": 0.4951777893325377}, "short": {"n_configs": 55, "rel_mase_gmean": 0.7505336641958719, "rel_wql_gmean": 0.5416629459896614}}, "domain": {"Econ/Fin": {"n_configs": 6, "rel_mase_gmean": 0.8808621122321908, "rel_wql_gmean": 0.8553613464740869}, "Energy": {"n_configs": 32, "rel_mase_gmean": 0.8986528839717891, "rel_wql_gmean": 0.6427356452925028}, "Healthcare": {"n_configs": 5, "rel_mase_gmean": 0.5866079781217807, "rel_wql_gmean": 0.515878502724205}, "Nature": {"n_configs": 15, "rel_mase_gmean": 0.8088402776655573, "rel_wql_gmean": 0.4071886269488133}, "Sales": {"n_configs": 4, "rel_mase_gmean": 0.849054821935193, "rel_wql_gmean": 0.5194197842337527}, "Transport": {"n_configs": 15, "rel_mase_gmean": 0.6312577037012914, "rel_wql_gmean": 0.43131584054457206}, "Web/CloudOps": {"n_configs": 20, "rel_mase_gmean": 0.5577419814097542, "rel_wql_gmean": 0.4320730752302784}}, "frequency": {"A": {"n_configs": 1, "rel_mase_gmean": 0.6267917500028767, "rel_wql_gmean": 0.6531109131553342}, "D": {"n_configs": 15, "rel_mase_gmean": 0.7645604573802218, "rel_wql_gmean": 0.5268011431202}, "H": {"n_configs": 31, "rel_mase_gmean": 0.7264806634838061, "rel_wql_gmean": 0.4958712859698789}, "M": {"n_configs": 5, "rel_mase_gmean": 0.968665847380227, "rel_wql_gmean": 0.8244191704080674}, "Q": {"n_configs": 1, "rel_mase_gmean": 0.7789616355653816, "rel_wql_gmean": 0.8261807474647432}, "S": {"n_configs": 6, "rel_mase_gmean": 0.6540890253739396, "rel_wql_gmean": 0.5027568624383535}, "T": {"n_configs": 30, "rel_mase_gmean": 0.6901059067030996, "rel_wql_gmean": 0.4533119317454891}, "W": {"n_configs": 8, "rel_mase_gmean": 0.9072082556593281, "rel_wql_gmean": 0.6801331584162394}}, "variates": {"multivariate": {"n_configs": 43, "rel_mase_gmean": 0.7073920580377491, "rel_wql_gmean": 0.51149932132313}, "univariate": {"n_configs": 54, "rel_mase_gmean": 0.7662561432987753, "rel_wql_gmean": 0.5224500380303261}}}, "control_groups": {"term": {"long": {"n_configs": 21, "rel_mase_gmean": 0.7385624256035537, "rel_wql_gmean": 0.4774480306015298}, "medium": {"n_configs": 21, "rel_mase_gmean": 0.7112970077840257, "rel_wql_gmean": 0.49399950873586423}, "short": {"n_configs": 55, "rel_mase_gmean": 0.7495810559140079, "rel_wql_gmean": 0.5412990087697497}}, "domain": {"Econ/Fin": {"n_configs": 6, "rel_mase_gmean": 0.8812498422781989, "rel_wql_gmean": 0.8555240839274089}, "Energy": {"n_configs": 32, "rel_mase_gmean": 0.9003124134337842, "rel_wql_gmean": 0.6439831822912251}, "Healthcare": {"n_configs": 5, "rel_mase_gmean": 0.5795579602545416, "rel_wql_gmean": 0.5129229324649281}, "Nature": {"n_configs": 15, "rel_mase_gmean": 0.8014187192027531, "rel_wql_gmean": 0.39917690533601163}, "Sales": {"n_configs": 4, "rel_mase_gmean": 0.8487678656214006, "rel_wql_gmean": 0.5191938831467846}, "Transport": {"n_configs": 15, "rel_mase_gmean": 0.6315950761584922, "rel_wql_gmean": 0.4315386790157564}, "Web/CloudOps": {"n_configs": 20, "rel_mase_gmean": 0.5583373635107705, "rel_wql_gmean": 0.433162583197897}}, "frequency": {"A": {"n_configs": 1, "rel_mase_gmean": 0.6267725580318051, "rel_wql_gmean": 0.6538606856911642}, "D": {"n_configs": 15, "rel_mase_gmean": 0.7599509242283058, "rel_wql_gmean": 0.524915385039173}, "H": {"n_configs": 31, "rel_mase_gmean": 0.726196004396462, "rel_wql_gmean": 0.4955559356320016}, "M": {"n_configs": 5, "rel_mase_gmean": 0.9682906777404066, "rel_wql_gmean": 0.8249007339255652}, "Q": {"n_configs": 1, "rel_mase_gmean": 0.7794132143007206, "rel_wql_gmean": 0.826151122683708}, "S": {"n_configs": 6, "rel_mase_gmean": 0.654344138587591, "rel_wql_gmean": 0.5028751847848326}, "T": {"n_configs": 30, "rel_mase_gmean": 0.6900127153197991, "rel_wql_gmean": 0.4513560570693673}, "W": {"n_configs": 8, "rel_mase_gmean": 0.9068583895899763, "rel_wql_gmean": 0.679330225432368}}, "variates": {"multivariate": {"n_configs": 43, "rel_mase_gmean": 0.7082895004717786, "rel_wql_gmean": 0.5105014816296383}, "univariate": {"n_configs": 54, "rel_mase_gmean": 0.7639387308045943, "rel_wql_gmean": 0.5212587544154408}}}, "group_skill_delta": {"term": {"long": -0.002721680002506388, "medium": -0.0002456613235772842, "short": -0.0006188626122706209}, "domain": {"Econ/Fin": 0.00027360420030342336, "Energy": 0.0014393074330932842, "Healthcare": -0.0048842555794103015, "Nature": -0.008286759016696288, "Sales": -0.0002566324573352041, "Transport": 0.00027422820848521656, "Web/CloudOps": 0.0008808120760050997}, "frequency": {"A": 0.00035734856289149075, "D": -0.003049503732827308, "H": -0.00030844311715227946, "M": 8.783697678704794e-05, "Q": 0.00021811127813176068, "S": 0.0001793098017012218, "T": -0.0012456082559563209, "W": -0.0006151947572433647}, "variates": {"multivariate": -0.0002059442254825905, "univariate": -0.001678172759489227}}}, {"cutoff": "backcast_evals", "candidate_skill": 0.3401379378099838, "control_skill": 0.34137925383664736, "delta": -0.0012413160266635526, "candidate_checkpoint": "50257b1c120f798238c78920e28863d3b0f6a7bdb45e93c6ec82ad3ee6c92127", "control_checkpoint": "d512cdac520239f0c10e021721424d87cee30086fa70f6cbc41f21e2e04988c3", "candidate_eval_seconds": 27.87614369392395, "candidate_groups": {"term": {"long": {"n_configs": 21, "rel_mase_gmean": 0.7771656159812894, "rel_wql_gmean": 0.4641464670148968}, "medium": {"n_configs": 21, "rel_mase_gmean": 0.7698937625348257, "rel_wql_gmean": 0.5323994679990453}, "short": {"n_configs": 55, "rel_mase_gmean": 0.8092395007488731, "rel_wql_gmean": 0.5916383173869478}}, "domain": {"Econ/Fin": {"n_configs": 6, "rel_mase_gmean": 0.8758967019430145, "rel_wql_gmean": 0.8175201210563051}, "Energy": {"n_configs": 32, "rel_mase_gmean": 0.8887780515899812, "rel_wql_gmean": 0.6669633025938924}, "Healthcare": {"n_configs": 5, "rel_mase_gmean": 0.6516566774021227, "rel_wql_gmean": 0.5621621277653412}, "Nature": {"n_configs": 15, "rel_mase_gmean": 0.9098315297713278, "rel_wql_gmean": 0.4282329830782216}, "Sales": {"n_configs": 4, "rel_mase_gmean": 0.7242751469093448, "rel_wql_gmean": 0.4914362361956457}, "Transport": {"n_configs": 15, "rel_mase_gmean": 0.7294937757164066, "rel_wql_gmean": 0.5226388793304544}, "Web/CloudOps": {"n_configs": 20, "rel_mase_gmean": 0.6610373665420268, "rel_wql_gmean": 0.4520737202274516}}, "frequency": {"A": {"n_configs": 1, "rel_mase_gmean": 0.6450259219422076, "rel_wql_gmean": 0.7246543179459486}, "D": {"n_configs": 15, "rel_mase_gmean": 0.8154620853085416, "rel_wql_gmean": 0.4875051030541513}, "H": {"n_configs": 31, "rel_mase_gmean": 0.7695450570086102, "rel_wql_gmean": 0.5086618227538536}, "M": {"n_configs": 5, "rel_mase_gmean": 0.8612498214867264, "rel_wql_gmean": 0.7897578092562838}, "Q": {"n_configs": 1, "rel_mase_gmean": 0.7636484321563957, "rel_wql_gmean": 0.7759964686434834}, "S": {"n_configs": 6, "rel_mase_gmean": 0.8532172145869841, "rel_wql_gmean": 0.5069283220084164}, "T": {"n_configs": 30, "rel_mase_gmean": 0.7723414529338847, "rel_wql_gmean": 0.5772230378425738}, "W": {"n_configs": 8, "rel_mase_gmean": 0.8727212488016272, "rel_wql_gmean": 0.5935061529318592}}, "variates": {"multivariate": {"n_configs": 43, "rel_mase_gmean": 0.7894050496926538, "rel_wql_gmean": 0.5288493492410338}, "univariate": {"n_configs": 54, "rel_mase_gmean": 0.7969125267227771, "rel_wql_gmean": 0.5649988183615692}}}, "control_groups": {"term": {"long": {"n_configs": 21, "rel_mase_gmean": 0.7748213703894843, "rel_wql_gmean": 0.4628541503223905}, "medium": {"n_configs": 21, "rel_mase_gmean": 0.7664514736085948, "rel_wql_gmean": 0.5293825048686492}, "short": {"n_configs": 55, "rel_mase_gmean": 0.8092133321048779, "rel_wql_gmean": 0.5913363636847011}}, "domain": {"Econ/Fin": {"n_configs": 6, "rel_mase_gmean": 0.8757735001155781, "rel_wql_gmean": 0.8170938641172787}, "Energy": {"n_configs": 32, "rel_mase_gmean": 0.884884194524689, "rel_wql_gmean": 0.6647829318344969}, "Healthcare": {"n_configs": 5, "rel_mase_gmean": 0.6563469207069739, "rel_wql_gmean": 0.5654393474023085}, "Nature": {"n_configs": 15, "rel_mase_gmean": 0.9047462993987708, "rel_wql_gmean": 0.4229856130109878}, "Sales": {"n_configs": 4, "rel_mase_gmean": 0.7234827485870052, "rel_wql_gmean": 0.49101355399514096}, "Transport": {"n_configs": 15, "rel_mase_gmean": 0.7302388544768311, "rel_wql_gmean": 0.5230662990235599}, "Web/CloudOps": {"n_configs": 20, "rel_mase_gmean": 0.6616757881069665, "rel_wql_gmean": 0.45318260421936735}}, "frequency": {"A": {"n_configs": 1, "rel_mase_gmean": 0.6445112721993314, "rel_wql_gmean": 0.7250031265258748}, "D": {"n_configs": 15, "rel_mase_gmean": 0.8169867958549157, "rel_wql_gmean": 0.48765941110091987}, "H": {"n_configs": 31, "rel_mase_gmean": 0.7687868921949567, "rel_wql_gmean": 0.5082857531718749}, "M": {"n_configs": 5, "rel_mase_gmean": 0.8647112860240415, "rel_wql_gmean": 0.791872490233388}, "Q": {"n_configs": 1, "rel_mase_gmean": 0.7635201146060429, "rel_wql_gmean": 0.7764383165590925}, "S": {"n_configs": 6, "rel_mase_gmean": 0.8527947748812648, "rel_wql_gmean": 0.5066866363631385}, "T": {"n_configs": 30, "rel_mase_gmean": 0.7680903138861567, "rel_wql_gmean": 0.5733326508067024}, "W": {"n_configs": 8, "rel_mase_gmean": 0.8719229424762637, "rel_wql_gmean": 0.5937682323059945}}, "variates": {"multivariate": {"n_configs": 43, "rel_mase_gmean": 0.7868235601514957, "rel_wql_gmean": 0.526807616706907}, "univariate": {"n_configs": 54, "rel_mase_gmean": 0.7966399243027747, "rel_wql_gmean": 0.5645842503200074}}}, "group_skill_delta": {"term": {"long": -0.0017419473591165913, "medium": -0.0032453793718589807, "short": -0.00018777903028932563}, "domain": {"Econ/Fin": -0.0002801347714285196, "Energy": -0.002945168474385973, "Healthcare": 0.003942230030211102, "Nature": -0.005572174510065753, "Sales": -0.0005829307118394578, "Transport": 0.0005678089506152562, "Web/CloudOps": 0.0009342750841641045}, "frequency": {"A": -0.00010834267668324848, "D": 0.0006890438264665066, "H": -0.0005394850743444257, "M": 0.0027613188292558988, "Q": 0.00015443145557325622, "S": -0.00031958416153032854, "T": -0.004087760269423257, "W": -0.00017042960462587686}, "variates": {"multivariate": -0.002303744423308829, "univariate": -0.00036095711864858604}}}, {"cutoff": "backcast2_evals", "candidate_skill": 0.3654133862544089, "control_skill": 0.3650598400595585, "delta": 0.00035354619485039596, "candidate_checkpoint": "50257b1c120f798238c78920e28863d3b0f6a7bdb45e93c6ec82ad3ee6c92127", "control_checkpoint": "d512cdac520239f0c10e021721424d87cee30086fa70f6cbc41f21e2e04988c3", "candidate_eval_seconds": 26.02571415901184, "candidate_groups": {"term": {"long": {"n_configs": 19, "rel_mase_gmean": 0.7969750155198805, "rel_wql_gmean": 0.5028425279468076}, "medium": {"n_configs": 21, "rel_mase_gmean": 0.7492595071225789, "rel_wql_gmean": 0.4860453063987902}, "short": {"n_configs": 54, "rel_mase_gmean": 0.7585898653940325, "rel_wql_gmean": 0.5529671447280511}}, "domain": {"Econ/Fin": {"n_configs": 6, "rel_mase_gmean": 0.8920282114966711, "rel_wql_gmean": 0.9102576242228817}, "Energy": {"n_configs": 32, "rel_mase_gmean": 0.8946937985565026, "rel_wql_gmean": 0.6440394379668555}, "Healthcare": {"n_configs": 5, "rel_mase_gmean": 0.6960280602101083, "rel_wql_gmean": 0.5918741667610459}, "Nature": {"n_configs": 15, "rel_mase_gmean": 0.746361340602626, "rel_wql_gmean": 0.35544722112159405}, "Sales": {"n_configs": 3, "rel_mase_gmean": 0.559900576571219, "rel_wql_gmean": 0.3577501073171789}, "Transport": {"n_configs": 14, "rel_mase_gmean": 0.6607078653451939, "rel_wql_gmean": 0.4947136802285743}, "Web/CloudOps": {"n_configs": 19, "rel_mase_gmean": 0.6808038031281058, "rel_wql_gmean": 0.4665197604063334}}, "frequency": {"A": {"n_configs": 1, "rel_mase_gmean": 0.5821645808281362, "rel_wql_gmean": 0.7242787508575116}, "D": {"n_configs": 15, "rel_mase_gmean": 0.7230443595750785, "rel_wql_gmean": 0.4451633730220444}, "H": {"n_configs": 30, "rel_mase_gmean": 0.7516553034125851, "rel_wql_gmean": 0.48524511968300693}, "M": {"n_configs": 4, "rel_mase_gmean": 0.8043893552116212, "rel_wql_gmean": 0.8333371327593128}, "Q": {"n_configs": 1, "rel_mase_gmean": 0.833633527580419, "rel_wql_gmean": 0.878413080084567}, "S": {"n_configs": 6, "rel_mase_gmean": 0.9029399326436061, "rel_wql_gmean": 0.5667697960827279}, "T": {"n_configs": 29, "rel_mase_gmean": 0.7528268453636292, "rel_wql_gmean": 0.5352915340790136}, "W": {"n_configs": 8, "rel_mase_gmean": 0.83682418441124, "rel_wql_gmean": 0.6327957387084753}}, "variates": {"multivariate": {"n_configs": 42, "rel_mase_gmean": 0.779687197088358, "rel_wql_gmean": 0.5128211016965539}, "univariate": {"n_configs": 52, "rel_mase_gmean": 0.7517044391242127, "rel_wql_gmean": 0.538809108170691}}}, "control_groups": {"term": {"long": {"n_configs": 19, "rel_mase_gmean": 0.796127056742376, "rel_wql_gmean": 0.5022139410634582}, "medium": {"n_configs": 21, "rel_mase_gmean": 0.7505942901123125, "rel_wql_gmean": 0.4865575819153698}, "short": {"n_configs": 54, "rel_mase_gmean": 0.7594504520679526, "rel_wql_gmean": 0.5532537195147663}}, "domain": {"Econ/Fin": {"n_configs": 6, "rel_mase_gmean": 0.8929618274343588, "rel_wql_gmean": 0.9103813793769899}, "Energy": {"n_configs": 32, "rel_mase_gmean": 0.8959209226146972, "rel_wql_gmean": 0.6453740580861129}, "Healthcare": {"n_configs": 5, "rel_mase_gmean": 0.6961784435164479, "rel_wql_gmean": 0.5915734081229318}, "Nature": {"n_configs": 15, "rel_mase_gmean": 0.7476406868387996, "rel_wql_gmean": 0.35522212901676864}, "Sales": {"n_configs": 3, "rel_mase_gmean": 0.5597759096460994, "rel_wql_gmean": 0.35738676117830037}, "Transport": {"n_configs": 14, "rel_mase_gmean": 0.6611597485381723, "rel_wql_gmean": 0.4949322755161753}, "Web/CloudOps": {"n_configs": 19, "rel_mase_gmean": 0.6805375314732472, "rel_wql_gmean": 0.4657391485089796}}, "frequency": {"A": {"n_configs": 1, "rel_mase_gmean": 0.582687321216151, "rel_wql_gmean": 0.7249374834569997}, "D": {"n_configs": 15, "rel_mase_gmean": 0.7228644523548966, "rel_wql_gmean": 0.4448013254664766}, "H": {"n_configs": 30, "rel_mase_gmean": 0.7512801448992653, "rel_wql_gmean": 0.48470980713170986}, "M": {"n_configs": 4, "rel_mase_gmean": 0.8061257673025353, "rel_wql_gmean": 0.8338421947073288}, "Q": {"n_configs": 1, "rel_mase_gmean": 0.8329742195879615, "rel_wql_gmean": 0.8780190666063756}, "S": {"n_configs": 6, "rel_mase_gmean": 0.903952356548986, "rel_wql_gmean": 0.5661338988037351}, "T": {"n_configs": 29, "rel_mase_gmean": 0.7547233557063331, "rel_wql_gmean": 0.536425314767226}, "W": {"n_configs": 8, "rel_mase_gmean": 0.83773127724725, "rel_wql_gmean": 0.6339155481728359}}, "variates": {"multivariate": {"n_configs": 42, "rel_mase_gmean": 0.780210137456359, "rel_wql_gmean": 0.5128749991570595}, "univariate": {"n_configs": 52, "rel_mase_gmean": 0.7524307203251008, "rel_wql_gmean": 0.5390362822620333}}}, "group_skill_delta": {"term": {"long": -0.0007324544050971715, "medium": 0.0008555081358375682, "short": 0.0005351722743626164}, "domain": {"Econ/Fin": 0.0005327151568488286, "Energy": 0.00130703949975719, "Healthcare": -9.377891999895471e-05, "Nature": 0.00027799860786281716, "Sales": -0.0002771384946731459, "Transport": 0.00032181580708878776, "Web/CloudOps": -0.0005818248027860129}, "frequency": {"A": 0.0005868221601658119, "D": -0.00030131064454019807, "H": -0.0004838666325538421, "M": 0.001131549891915773, "Q": -0.0005303241709088136, "S": -7.056133095595385e-07, "T": 0.0014718692998841876, "W": 0.0010382287478243324}, "variates": {"multivariate": 0.00024525683429399425, "univariate": 0.00044158599169175083}}}, {"cutoff": "backcast3_evals", "candidate_skill": 0.391803142720465, "control_skill": 0.3928331731047856, "delta": -0.0010300303843205905, "candidate_checkpoint": "50257b1c120f798238c78920e28863d3b0f6a7bdb45e93c6ec82ad3ee6c92127", "control_checkpoint": "d512cdac520239f0c10e021721424d87cee30086fa70f6cbc41f21e2e04988c3", "candidate_eval_seconds": 27.31839394569397, "candidate_groups": {"term": {"long": {"n_configs": 19, "rel_mase_gmean": 0.7624346703659255, "rel_wql_gmean": 0.4743580833851574}, "medium": {"n_configs": 20, "rel_mase_gmean": 0.7702307781273624, "rel_wql_gmean": 0.5292770399476574}, "short": {"n_configs": 54, "rel_mase_gmean": 0.713144124249704, "rel_wql_gmean": 0.504332011833272}}, "domain": {"Econ/Fin": {"n_configs": 6, "rel_mase_gmean": 0.8405708171366003, "rel_wql_gmean": 0.838069378872038}, "Energy": {"n_configs": 32, "rel_mase_gmean": 0.8318396604722257, "rel_wql_gmean": 0.553433996992084}, "Healthcare": {"n_configs": 5, "rel_mase_gmean": 0.7566464181949424, "rel_wql_gmean": 0.6344870408459748}, "Nature": {"n_configs": 15, "rel_mase_gmean": 0.7319190534029946, "rel_wql_gmean": 0.3400004103072392}, "Sales": {"n_configs": 3, "rel_mase_gmean": 0.7475116719207561, "rel_wql_gmean": 0.4734936758666793}, "Transport": {"n_configs": 14, "rel_mase_gmean": 0.53750914128304, "rel_wql_gmean": 0.4457451914431652}, "Web/CloudOps": {"n_configs": 18, "rel_mase_gmean": 0.7142643694503665, "rel_wql_gmean": 0.517548965180728}}, "frequency": {"A": {"n_configs": 1, "rel_mase_gmean": 0.5302117589970107, "rel_wql_gmean": 0.8007710428899867}, "D": {"n_configs": 15, "rel_mase_gmean": 0.7180517709674819, "rel_wql_gmean": 0.4178382031926381}, "H": {"n_configs": 29, "rel_mase_gmean": 0.7228091606224635, "rel_wql_gmean": 0.4862435953137423}, "M": {"n_configs": 4, "rel_mase_gmean": 0.8359939305521914, "rel_wql_gmean": 0.8275991910591551}, "Q": {"n_configs": 1, "rel_mase_gmean": 0.7127980309953568, "rel_wql_gmean": 0.7659555307794623}, "S": {"n_configs": 6, "rel_mase_gmean": 0.8420996207058596, "rel_wql_gmean": 0.6005482331608448}, "T": {"n_configs": 29, "rel_mase_gmean": 0.7105038030240836, "rel_wql_gmean": 0.4635245614583766}, "W": {"n_configs": 8, "rel_mase_gmean": 0.8170490407004515, "rel_wql_gmean": 0.6656752726023953}}, "variates": {"multivariate": {"n_configs": 41, "rel_mase_gmean": 0.7628515792966292, "rel_wql_gmean": 0.5124410538658243}, "univariate": {"n_configs": 52, "rel_mase_gmean": 0.7137943050574351, "rel_wql_gmean": 0.49613017247229274}}}, "control_groups": {"term": {"long": {"n_configs": 19, "rel_mase_gmean": 0.7631434004686845, "rel_wql_gmean": 0.4745780224475118}, "medium": {"n_configs": 20, "rel_mase_gmean": 0.7702543592823002, "rel_wql_gmean": 0.5302072122994279}, "short": {"n_configs": 54, "rel_mase_gmean": 0.7102740757127205, "rel_wql_gmean": 0.5028426749263977}}, "domain": {"Econ/Fin": {"n_configs": 6, "rel_mase_gmean": 0.8404794249042948, "rel_wql_gmean": 0.8377611830280824}, "Energy": {"n_configs": 32, "rel_mase_gmean": 0.8299149339539488, "rel_wql_gmean": 0.5519405024214632}, "Healthcare": {"n_configs": 5, "rel_mase_gmean": 0.7621826867136657, "rel_wql_gmean": 0.6349175346276966}, "Nature": {"n_configs": 15, "rel_mase_gmean": 0.7231739407449111, "rel_wql_gmean": 0.3380432271049275}, "Sales": {"n_configs": 3, "rel_mase_gmean": 0.7474335142271239, "rel_wql_gmean": 0.4733071421517686}, "Transport": {"n_configs": 14, "rel_mase_gmean": 0.5378627602598968, "rel_wql_gmean": 0.4463114549472672}, "Web/CloudOps": {"n_configs": 18, "rel_mase_gmean": 0.7146709097664398, "rel_wql_gmean": 0.5186863440823273}}, "frequency": {"A": {"n_configs": 1, "rel_mase_gmean": 0.5306073447296601, "rel_wql_gmean": 0.8030982774337949}, "D": {"n_configs": 15, "rel_mase_gmean": 0.7175124768607152, "rel_wql_gmean": 0.41780178227764675}, "H": {"n_configs": 29, "rel_mase_gmean": 0.7223996277645064, "rel_wql_gmean": 0.4859456509788173}, "M": {"n_configs": 4, "rel_mase_gmean": 0.8339193215840682, "rel_wql_gmean": 0.8250296214792107}, "Q": {"n_configs": 1, "rel_mase_gmean": 0.7133214644953572, "rel_wql_gmean": 0.7659591311067668}, "S": {"n_configs": 6, "rel_mase_gmean": 0.8388577706002066, "rel_wql_gmean": 0.5998597273487538}, "T": {"n_configs": 29, "rel_mase_gmean": 0.7077596915926687, "rel_wql_gmean": 0.46245587762920626}, "W": {"n_configs": 8, "rel_mase_gmean": 0.8141976774865708, "rel_wql_gmean": 0.6645660569936594}}, "variates": {"multivariate": {"n_configs": 41, "rel_mase_gmean": 0.7600456915083991, "rel_wql_gmean": 0.511644654751976}, "univariate": {"n_configs": 52, "rel_mase_gmean": 0.7131300545794724, "rel_wql_gmean": 0.49563420928448887}}}, "group_skill_delta": {"term": {"long": 0.0004189156912476344, "medium": 0.0005705870804755264, "short": -0.0020923781938803065}, "domain": {"Econ/Fin": -0.0001999628363876793, "Energy": -0.0017004855606553848, "Healthcare": 0.002766103506972928, "Nature": -0.0044183974353669275, "Sales": -0.00014829528630255773, "Transport": 0.0004719007179080359, "Web/CloudOps": 0.0008409088440183288}, "frequency": {"A": 0.0011895443852505405, "D": -0.00022959662975885475, "H": -0.0003495788044701742, "M": -0.0023234081767862236, "Q": 0.00027298758276950164, "S": -0.0017771470506958709, "T": -0.0017699468197419632, "W": -0.001901601654469287}, "variates": {"multivariate": -0.0016360525211348564, "univariate": -0.0005743401329708631}}}], "mean_delta": -0.0007314110640462834, "positive_cutoffs": 1, "outcome": "Declared primary6000/durability12000 diagnostic. No transfer formula or automatic publication is selected by this controller."} + +## E136: direct bounded local-trend head +2026-10-23T09:22:46.982190+00:00: Hypothesis: direct learned forecast gates on fixed short-window trend increments can improve short/low-frequency extrapolation. E35query-only local-trend features failed earlier cutoffs; this is a distinct output-path addition motivated by E125seasonal direct-head sensitivity, not a claim that E35 worked or a direct head-versus-query comparison. Start exactly E107zero-extended E62 initial470ef98d..., retain its long-seasonal query/head, add only zero Linear512→32 with bias (16416parameters). For each k=4,16, take means of lastk and previousk normalized observations, require>=max(2,k/2) finite in each; slope=(recent-older)/k; delta(t)=3*tanh(slope*(t+k/2)/3), t starts0. Invalid support gives0. Add sum(tanh(learned_gate)*delta) to median/all nine quantiles, bounded by6context-standard-deviation units; no query addition, width change or frequency selector. All parameters train. Same seed197/B64/LR2e-5/12kpaired/oldpack/originalgenerator/horizon300200 as E107; code/sampler and inherited tensors preserved. Primary6k,1/3diagnostic,12durability; allfourcutoffs comparedtoE107 at6/12. CPUfixture719/GPU727. Queue after E129width final12k only after audits. No new concurrent trainer; no transfer coefficient or ensemble selected. No validation training. + +E110 full allowed corpus 48000 matched comparison: {"label": "E110 full allowed corpus 48000 matched comparison", "utc": "2026-10-23T09:23:20.926275+00:00", "candidate": "random_capacity_full_ema48000", "control": "random_capacity_1024_halflr_ema48000", "rows": [{"cutoff": "evals", "candidate_skill": 0.36449796840324333, "control_skill": 0.36570581958166615, "delta": -0.001207851178422814, "candidate_checkpoint": "926f61e5d5f8ffebc8a5d73285832ebedc28aca794b0b06b55fc3c48a07330d1", "control_checkpoint": "ea9055d683b93a4691e77bd64d46e301302765673055fd9b32ddb3a3e2f749df", "candidate_eval_seconds": 36.223931074142456, "candidate_groups": {"term": {"long": {"n_configs": 21, "rel_mase_gmean": 0.7548553746218293, "rel_wql_gmean": 0.4912987773239935}, "medium": {"n_configs": 21, "rel_mase_gmean": 0.7352999993476327, "rel_wql_gmean": 0.504363562451463}, "short": {"n_configs": 55, "rel_mase_gmean": 0.7710300090434509, "rel_wql_gmean": 0.559031484306989}}, "domain": {"Econ/Fin": {"n_configs": 6, "rel_mase_gmean": 0.8770103389279252, "rel_wql_gmean": 0.8491199347133979}, "Energy": {"n_configs": 32, "rel_mase_gmean": 0.9116653965880178, "rel_wql_gmean": 0.6580222595386767}, "Healthcare": {"n_configs": 5, "rel_mase_gmean": 0.658803814018058, "rel_wql_gmean": 0.5396972664532947}, "Nature": {"n_configs": 15, "rel_mase_gmean": 0.8280404956337558, "rel_wql_gmean": 0.41423369227737183}, "Sales": {"n_configs": 4, "rel_mase_gmean": 0.8220888925613495, "rel_wql_gmean": 0.5100769909819354}, "Transport": {"n_configs": 15, "rel_mase_gmean": 0.6548033152870734, "rel_wql_gmean": 0.45244139184364884}, "Web/CloudOps": {"n_configs": 20, "rel_mase_gmean": 0.5808419471264448, "rel_wql_gmean": 0.4489494375356866}}, "frequency": {"A": {"n_configs": 1, "rel_mase_gmean": 0.5935959285501078, "rel_wql_gmean": 0.6250048870270299}, "D": {"n_configs": 15, "rel_mase_gmean": 0.7751260416854967, "rel_wql_gmean": 0.5273604629524228}, "H": {"n_configs": 31, "rel_mase_gmean": 0.7390325632700983, "rel_wql_gmean": 0.5118806853040565}, "M": {"n_configs": 5, "rel_mase_gmean": 1.1155244631113046, "rel_wql_gmean": 0.9182662011196825}, "Q": {"n_configs": 1, "rel_mase_gmean": 0.7722896053051759, "rel_wql_gmean": 0.8394501877623775}, "S": {"n_configs": 6, "rel_mase_gmean": 0.6682567022663544, "rel_wql_gmean": 0.5122682378733995}, "T": {"n_configs": 30, "rel_mase_gmean": 0.7187462560447286, "rel_wql_gmean": 0.4734288271006955}, "W": {"n_configs": 8, "rel_mase_gmean": 0.8925511740053919, "rel_wql_gmean": 0.6530704845861032}}, "variates": {"multivariate": {"n_configs": 43, "rel_mase_gmean": 0.7303154554027623, "rel_wql_gmean": 0.5275234582063876}, "univariate": {"n_configs": 54, "rel_mase_gmean": 0.7838594930079051, "rel_wql_gmean": 0.5349400339090976}}}, "control_groups": {"term": {"long": {"n_configs": 21, "rel_mase_gmean": 0.7662260094156811, "rel_wql_gmean": 0.5020347958679111}, "medium": {"n_configs": 21, "rel_mase_gmean": 0.7301951069360759, "rel_wql_gmean": 0.504117847493669}, "short": {"n_configs": 55, "rel_mase_gmean": 0.760169630057802, "rel_wql_gmean": 0.5569997956352839}}, "domain": {"Econ/Fin": {"n_configs": 6, "rel_mase_gmean": 0.9028304922158942, "rel_wql_gmean": 0.8610209443587438}, "Energy": {"n_configs": 32, "rel_mase_gmean": 0.9109454293905939, "rel_wql_gmean": 0.6586383074299472}, "Healthcare": {"n_configs": 5, "rel_mase_gmean": 0.5906912914017803, "rel_wql_gmean": 0.5056722543269967}, "Nature": {"n_configs": 15, "rel_mase_gmean": 0.8235409860259677, "rel_wql_gmean": 0.4231966180830639}, "Sales": {"n_configs": 4, "rel_mase_gmean": 0.827511700634232, "rel_wql_gmean": 0.5156149712576104}, "Transport": {"n_configs": 15, "rel_mase_gmean": 0.6493612164587901, "rel_wql_gmean": 0.44948344031797927}, "Web/CloudOps": {"n_configs": 20, "rel_mase_gmean": 0.579824052847299, "rel_wql_gmean": 0.45322822077685615}}, "frequency": {"A": {"n_configs": 1, "rel_mase_gmean": 0.602630505709834, "rel_wql_gmean": 0.6156602399781036}, "D": {"n_configs": 15, "rel_mase_gmean": 0.7586530974855328, "rel_wql_gmean": 0.5235946298319726}, "H": {"n_configs": 31, "rel_mase_gmean": 0.7435902027632983, "rel_wql_gmean": 0.5180310279395838}, "M": {"n_configs": 5, "rel_mase_gmean": 0.9983606322195729, "rel_wql_gmean": 0.8755961609165552}, "Q": {"n_configs": 1, "rel_mase_gmean": 0.763496329349679, "rel_wql_gmean": 0.8207236971111334}, "S": {"n_configs": 6, "rel_mase_gmean": 0.6652066754808894, "rel_wql_gmean": 0.512126307398621}, "T": {"n_configs": 30, "rel_mase_gmean": 0.7125876645731054, "rel_wql_gmean": 0.4722827561143623}, "W": {"n_configs": 8, "rel_mase_gmean": 0.9331507389139616, "rel_wql_gmean": 0.6806266270092172}}, "variates": {"multivariate": {"n_configs": 43, "rel_mase_gmean": 0.7296537216262745, "rel_wql_gmean": 0.5340631203218278}, "univariate": {"n_configs": 54, "rel_mase_gmean": 0.7755777292850502, "rel_wql_gmean": 0.5321111949818653}}}, "group_skill_delta": {"term": {"long": 0.011237044940272, "medium": -0.002265482424887666, "short": -0.0058258391281375}, "domain": {"Econ/Fin": 0.018725456927130568, "Energy": 5.6439664597340844e-05, "Healthcare": -0.04975294984969725, "Nature": 0.00469166361832507, "Sales": 0.00564960889904409, "Transport": -0.004041300246997448, "Web/CloudOps": 0.001977896791272138}, "frequency": {"A": 1.254752371049328e-05, "D": -0.00909265869243725, "H": 0.005588956120089361, "M": -0.07713535452581188, "Q": -0.013576920435537154, "S": -0.001417613835157483, "T": -0.003207973776989448, "W": 0.033470593806027016}, "variates": {"multivariate": 0.0035524775192712355, "univariate": -0.005135222886763047}}}], "mean_delta": -0.001207851178422814, "positive_cutoffs": 0, "outcome": "At48k the full-corpus arm remains below the matched original-pack model. Continue declared72k/96k schedule; no source-mixture or teacher change."} + +2026-10-23T09:26:09.408870+00:00: E136CPU/GPU audits complete; queued{"queue_pid": 26926, "watch_pid": 26927, "comparison_pid": 26928} after E12924583final12000. InitialSHA87158329c5c8bfc69025843fa82c14482931b67d7e6c6b728aa461d45ef56bd4,36866400params. CPU2.943994993s, all original forecasts/loss bitwise; independent trend float64 maxerror4.44e-16 and float32 maxerror2.01856e-6. Initial1e-6 absolute float32 audit tolerance was too tight due mean-rounding amplified by forecast lead; failures retained as direct_trend_head_checks_failure1/2.log, tolerance amendedto1e-5 plus independent float64<1e-12. Model arithmetic unchanged by audit amendment. GPU727maximumB64C4096H1024 finiteallgradients/nonzeronewheadgrads, original BF16forecast/lossbitwise,6294MiBreserved/5785.947allocated includingAdam/EMAplaceholders,12.204455994s,0optimizerupdates/no validation. E121final complete12k main0.381305914750, fourcutoffs1positive/mean-0.000731411064; no transfer. E11048k0.364497968403, matched E94-0.001207851178; original96kschedule kept. + +E130 validation-only error diagnostics: coverage1.232385601s and median-error structure1.231693947s, same published descriptorfa97880d..., no new inference/updates/fitting. Lower-bound absolute per-window mean-error fraction of medianMAE averages0.56189long/0.55437medium/0.68098short; annual0.92223 and quarterly0.86332, but these are descriptive Jensen bounds, not recoverable improvements. Last-quarter normalizedMAE ratios1.09692long/1.09527medium/1.19979short. Atom-aware strict/inclusive quantile coverage retained; mixed signed bias by domain argues against a global offset. Files fresh_capacity4_ensemble_coverage.json and fresh_capacity4_median_error_structure.json contain all configuration groups. + +## E137: fresh depth/width allocation at nearly fixed146M parameter count +2026-10-23T09:26:40.530388+00:00: Hypothesis: the fresh E79wide model may use its parameter budget better with more sequential layers and narrower hidden states. E22mature identity-grafted depth failed and is not resumed; this is a new fresh initialization with different depth/width allocation. One fixed configuration d768/12heads/11encoder/7decoder versus E79d1024/16heads/6encoder/4decoder, same64head dimension and patch16. Meta-device count146328864 versus146477344, difference-0.101367percent. No actual weights created in the count probe. Initialize locally with seed307 and the same zero-output seasonal-mixture/interval biases; require identical initial forecasts/loss. Same sampler/sourceweights/packed_sample/slowAR20percent/horizon300310, seed307/B48/LR2e-4/96k/paired/staticcompile/400warmupcosfloor0.2. Compare equal updates and record walltime; compute is not exactly matched despite nearly fixed parameters. Primary48k,4/8/16/24diagnostics,72/96durability;48/96all4cutoffs versusE79. CPUfixture733/GPU739; queue after E122originalAR96000, also require E79wide96000, replacing one allocation. No long-seasonal features/teacher/curriculum/newdata. No additional configuration or LR sweep, no transfer/ensemble selected. Audit before queue. + +## E118 seasonal replication seed523 scheduled1000 diagnostic +- Checkpoint SHA-256: `6a98b9da2fe0328e79dc5918ac7a3633ca68848f124de9211021c00cb223b971`. +- Evaluation: 97 configurations, 9473 instances, 0 failed configurations; 26.95650577545166 seconds. +- Overall skill 0.378318; relative MASE 0.742595; relative WQL 0.520457. +- term skill: long=0.4020, medium=0.4076, short=0.3573. +- domain skill: Econ/Fin=0.1385, Energy=0.2383, Healthcare=0.4379, Nature=0.4331, Sales=0.3369, Transport=0.4715, Web/CloudOps=0.5009. +- frequency skill: A=0.3664, D=0.3564, H=0.3977, M=0.1105, Q=0.1974, S=0.4226, T=0.4371, W=0.2196. +- variates skill: multivariate=0.3951, univariate=0.3646. +- Outcome: Early diagnostic only; primary6000 and final12000 four-cutoff replication gates remain unchanged. + +## E118 seasonal replication seed523 scheduled3000 diagnostic +- Checkpoint SHA-256: `5bf12017a324cbc63b04b472e9a4a16e6f31de1f91075e5dbdaa9b5877f0e778`. +- Evaluation: 97 configurations, 9473 instances, 0 failed configurations; 27.29305911064148 seconds. +- Overall skill 0.380865; relative MASE 0.739639; relative WQL 0.518264. +- term skill: long=0.4047, medium=0.4074, short=0.3609. +- domain skill: Econ/Fin=0.1410, Energy=0.2368, Healthcare=0.4548, Nature=0.4339, Sales=0.3391, Transport=0.4753, Web/CloudOps=0.5046. +- frequency skill: A=0.3691, D=0.3683, H=0.3972, M=0.1066, Q=0.1997, S=0.4244, T=0.4398, W=0.2187. +- variates skill: multivariate=0.3956, univariate=0.3689. +- Outcome: Early diagnostic only; primary6000 and final12000 four-cutoff replication gates remain unchanged. + +## E129 direct uncertainty head scheduled1000 diagnostic +- Checkpoint SHA-256: `f35c7a8244c69445476be414b9945a8182382c20eba1704e3439e64c2b7b2835`. +- Evaluation: 97 configurations, 9473 instances, 0 failed configurations; 28.25899314880371 seconds. +- Overall skill 0.378918; relative MASE 0.742329; relative WQL 0.519639. +- term skill: long=0.4009, medium=0.4070, short=0.3591. +- domain skill: Econ/Fin=0.1331, Energy=0.2373, Healthcare=0.4623, Nature=0.4321, Sales=0.3365, Transport=0.4726, Web/CloudOps=0.4996. +- frequency skill: A=0.3655, D=0.3628, H=0.3970, M=0.1081, Q=0.1988, S=0.4236, T=0.4359, W=0.2240. +- variates skill: multivariate=0.3932, univariate=0.3673. +- Outcome: Early diagnostic only; compare6000/12000 against E119 across all four cutoffs before considering any transfer. + +E121 final compute:12000updates, training loop2735.054694893s/process2752.4546950480435s on sharedH100, completed2026-10-23T09:19:28Z. E129width trainer26493 started09:19:29. E136queued after its scheduled completion. + +E118 6000 four-cutoff comparison: {"label": "E118 6000 four-cutoff comparison", "utc": "2026-10-23T09:27:51.420228+00:00", "candidate": "long_seasonal_replication_ema6000", "control": "weekly_replication_control_ema6000", "rows": [{"cutoff": "evals", "candidate_skill": 0.38139534722395463, "control_skill": 0.3764059869702334, "delta": 0.004989360253721209, "candidate_checkpoint": "a35444a7dd833f0988143c8b6f304dee50256258d32528f097dfd83e78aebd29", "control_checkpoint": "674137ac14bce26f6983cb68123e34d01ca598bb3ad72e81cbd197d138ed6104", "candidate_eval_seconds": 27.10453462600708, "candidate_groups": {"term": {"long": {"n_configs": 21, "rel_mase_gmean": 0.7384436160182325, "rel_wql_gmean": 0.47633347487090744}, "medium": {"n_configs": 21, "rel_mase_gmean": 0.7083770552963923, "rel_wql_gmean": 0.4942262244660524}, "short": {"n_configs": 55, "rel_mase_gmean": 0.751548854583905, "rel_wql_gmean": 0.543994941613593}}, "domain": {"Econ/Fin": {"n_configs": 6, "rel_mase_gmean": 0.8746099669867802, "rel_wql_gmean": 0.8444329440894982}, "Energy": {"n_configs": 32, "rel_mase_gmean": 0.8974004296196013, "rel_wql_gmean": 0.6447860628281569}, "Healthcare": {"n_configs": 5, "rel_mase_gmean": 0.5916091617456333, "rel_wql_gmean": 0.5181079300960174}, "Nature": {"n_configs": 15, "rel_mase_gmean": 0.8010054886688159, "rel_wql_gmean": 0.39794714882168664}, "Sales": {"n_configs": 4, "rel_mase_gmean": 0.8452719229795517, "rel_wql_gmean": 0.5198290418551154}, "Transport": {"n_configs": 15, "rel_mase_gmean": 0.6348508365518176, "rel_wql_gmean": 0.43540848427535833}, "Web/CloudOps": {"n_configs": 20, "rel_mase_gmean": 0.559670606308481, "rel_wql_gmean": 0.4359745561616292}}, "frequency": {"A": {"n_configs": 1, "rel_mase_gmean": 0.6166679480695255, "rel_wql_gmean": 0.6474656804701975}, "D": {"n_configs": 15, "rel_mase_gmean": 0.7642165704351264, "rel_wql_gmean": 0.526273641696534}, "H": {"n_configs": 31, "rel_mase_gmean": 0.7252102222235688, "rel_wql_gmean": 0.49585443092368514}, "M": {"n_configs": 5, "rel_mase_gmean": 0.9617184700594594, "rel_wql_gmean": 0.8119569708130686}, "Q": {"n_configs": 1, "rel_mase_gmean": 0.7728364193780128, "rel_wql_gmean": 0.8232647673811775}, "S": {"n_configs": 6, "rel_mase_gmean": 0.6562575033932274, "rel_wql_gmean": 0.5039290527300556}, "T": {"n_configs": 30, "rel_mase_gmean": 0.6916904149917935, "rel_wql_gmean": 0.45467693411097854}, "W": {"n_configs": 8, "rel_mase_gmean": 0.9047060491506385, "rel_wql_gmean": 0.6824196495981721}}, "variates": {"multivariate": {"n_configs": 43, "rel_mase_gmean": 0.7081151587667208, "rel_wql_gmean": 0.511629619486321}, "univariate": {"n_configs": 54, "rel_mase_gmean": 0.7648591098010137, "rel_wql_gmean": 0.5226011134261795}}}, "control_groups": {"term": {"long": {"n_configs": 21, "rel_mase_gmean": 0.7423520793155982, "rel_wql_gmean": 0.4787760930516074}, "medium": {"n_configs": 21, "rel_mase_gmean": 0.7108957302184202, "rel_wql_gmean": 0.49544398256669214}, "short": {"n_configs": 55, "rel_mase_gmean": 0.7601781653409367, "rel_wql_gmean": 0.5498223036137193}}, "domain": {"Econ/Fin": {"n_configs": 6, "rel_mase_gmean": 0.8774576028138481, "rel_wql_gmean": 0.8475316890174351}, "Energy": {"n_configs": 32, "rel_mase_gmean": 0.8988661021414461, "rel_wql_gmean": 0.6463834516983328}, "Healthcare": {"n_configs": 5, "rel_mase_gmean": 0.6006104281692445, "rel_wql_gmean": 0.524233793726234}, "Nature": {"n_configs": 15, "rel_mase_gmean": 0.8134935230540142, "rel_wql_gmean": 0.3997489668388505}, "Sales": {"n_configs": 4, "rel_mase_gmean": 0.8499103394938109, "rel_wql_gmean": 0.5219975994261501}, "Transport": {"n_configs": 15, "rel_mase_gmean": 0.6467190684113404, "rel_wql_gmean": 0.44452081778083646}, "Web/CloudOps": {"n_configs": 20, "rel_mase_gmean": 0.5634416431639562, "rel_wql_gmean": 0.4401382781033821}}, "frequency": {"A": {"n_configs": 1, "rel_mase_gmean": 0.6161471234928296, "rel_wql_gmean": 0.6463468715167274}, "D": {"n_configs": 15, "rel_mase_gmean": 0.7848816529444701, "rel_wql_gmean": 0.5402760226239798}, "H": {"n_configs": 31, "rel_mase_gmean": 0.7309935655071853, "rel_wql_gmean": 0.4990723913425074}, "M": {"n_configs": 5, "rel_mase_gmean": 0.9727178622288029, "rel_wql_gmean": 0.816056242029619}, "Q": {"n_configs": 1, "rel_mase_gmean": 0.7737575967731107, "rel_wql_gmean": 0.823275820013628}, "S": {"n_configs": 6, "rel_mase_gmean": 0.6574784363502988, "rel_wql_gmean": 0.5055662052073743}, "T": {"n_configs": 30, "rel_mase_gmean": 0.6939173128959706, "rel_wql_gmean": 0.45688555231972555}, "W": {"n_configs": 8, "rel_mase_gmean": 0.9049382682975748, "rel_wql_gmean": 0.6792210269186987}}, "variates": {"multivariate": {"n_configs": 43, "rel_mase_gmean": 0.7113196954989369, "rel_wql_gmean": 0.5136253484474166}, "univariate": {"n_configs": 54, "rel_mase_gmean": 0.7736792477740673, "rel_wql_gmean": 0.5282222076131846}}}, "group_skill_delta": {"term": {"long": 0.0030901879764350104, "medium": 0.001780762492295751, "short": 0.007095493847238954}, "domain": {"Econ/Fin": 0.002975834665022492, "Energy": 0.001563367974052876, "Healthcare": 0.007483990472556434, "Nature": 0.005670688999450224, "Sales": 0.0032012415147016915, "Transport": 0.010415631896715682, "Web/CloudOps": 0.004022455454145979}, "frequency": {"A": -0.000812835465225703, "D": 0.01701113810261179, "H": 0.004336748931600631, "M": 0.007279563828444857, "Q": 0.00048059417615298194, "S": 0.0014689462587585966, "T": 0.002264615663313485, "W": -0.001743018809113317}, "variates": {"multivariate": 0.002535860099677434, "univariate": 0.007045445011520823}}}, {"cutoff": "backcast_evals", "candidate_skill": 0.34148204276995875, "control_skill": 0.33686271636038767, "delta": 0.004619326409571078, "candidate_checkpoint": "a35444a7dd833f0988143c8b6f304dee50256258d32528f097dfd83e78aebd29", "control_checkpoint": "674137ac14bce26f6983cb68123e34d01ca598bb3ad72e81cbd197d138ed6104", "candidate_eval_seconds": 28.566162824630737, "candidate_groups": {"term": {"long": {"n_configs": 21, "rel_mase_gmean": 0.7723731416377819, "rel_wql_gmean": 0.4632107172403023}, "medium": {"n_configs": 21, "rel_mase_gmean": 0.7671954794368977, "rel_wql_gmean": 0.5312350959721146}, "short": {"n_configs": 55, "rel_mase_gmean": 0.8100582121563055, "rel_wql_gmean": 0.5899282692731751}}, "domain": {"Econ/Fin": {"n_configs": 6, "rel_mase_gmean": 0.8687261450618122, "rel_wql_gmean": 0.8082961609981344}, "Energy": {"n_configs": 32, "rel_mase_gmean": 0.8862173381254191, "rel_wql_gmean": 0.6651047976556796}, "Healthcare": {"n_configs": 5, "rel_mase_gmean": 0.6594478212047317, "rel_wql_gmean": 0.5645231469319925}, "Nature": {"n_configs": 15, "rel_mase_gmean": 0.9089209431299469, "rel_wql_gmean": 0.42467952077275695}, "Sales": {"n_configs": 4, "rel_mase_gmean": 0.7202692807552361, "rel_wql_gmean": 0.48857346078291813}, "Transport": {"n_configs": 15, "rel_mase_gmean": 0.7288704777178566, "rel_wql_gmean": 0.5222328100597717}, "Web/CloudOps": {"n_configs": 20, "rel_mase_gmean": 0.660516684610902, "rel_wql_gmean": 0.45317990809147163}}, "frequency": {"A": {"n_configs": 1, "rel_mase_gmean": 0.6362857693297146, "rel_wql_gmean": 0.718919629290515}, "D": {"n_configs": 15, "rel_mase_gmean": 0.8204727582247486, "rel_wql_gmean": 0.4872381268444442}, "H": {"n_configs": 31, "rel_mase_gmean": 0.7682037082264834, "rel_wql_gmean": 0.509028795109172}, "M": {"n_configs": 5, "rel_mase_gmean": 0.8593317016465691, "rel_wql_gmean": 0.7884922974968397}, "Q": {"n_configs": 1, "rel_mase_gmean": 0.7645940654788865, "rel_wql_gmean": 0.7749566350269932}, "S": {"n_configs": 6, "rel_mase_gmean": 0.8543887576787607, "rel_wql_gmean": 0.5062235051582774}, "T": {"n_configs": 30, "rel_mase_gmean": 0.7674906725326316, "rel_wql_gmean": 0.5744892709241222}, "W": {"n_configs": 8, "rel_mase_gmean": 0.8747433682691604, "rel_wql_gmean": 0.5866006957943835}}, "variates": {"multivariate": {"n_configs": 43, "rel_mase_gmean": 0.7868501358031069, "rel_wql_gmean": 0.5272439568809584}, "univariate": {"n_configs": 54, "rel_mase_gmean": 0.7967853619832356, "rel_wql_gmean": 0.5637777828583188}}}, "control_groups": {"term": {"long": {"n_configs": 21, "rel_mase_gmean": 0.7777899366370885, "rel_wql_gmean": 0.4666461848610854}, "medium": {"n_configs": 21, "rel_mase_gmean": 0.7712195810305081, "rel_wql_gmean": 0.5347223528001698}, "short": {"n_configs": 55, "rel_mase_gmean": 0.8157014297594425, "rel_wql_gmean": 0.594505327140644}}, "domain": {"Econ/Fin": {"n_configs": 6, "rel_mase_gmean": 0.8704620954888443, "rel_wql_gmean": 0.8078922620241903}, "Energy": {"n_configs": 32, "rel_mase_gmean": 0.8882606931279534, "rel_wql_gmean": 0.6674012951208939}, "Healthcare": {"n_configs": 5, "rel_mase_gmean": 0.6364743665086174, "rel_wql_gmean": 0.5427490496574564}, "Nature": {"n_configs": 15, "rel_mase_gmean": 0.9333553941257822, "rel_wql_gmean": 0.4343023693769805}, "Sales": {"n_configs": 4, "rel_mase_gmean": 0.7303166317693277, "rel_wql_gmean": 0.49604922755902825}, "Transport": {"n_configs": 15, "rel_mase_gmean": 0.7376993677473777, "rel_wql_gmean": 0.5310447538293593}, "Web/CloudOps": {"n_configs": 20, "rel_mase_gmean": 0.6636991675282037, "rel_wql_gmean": 0.45680163980850563}}, "frequency": {"A": {"n_configs": 1, "rel_mase_gmean": 0.6375256983912256, "rel_wql_gmean": 0.7191000346681787}, "D": {"n_configs": 15, "rel_mase_gmean": 0.8393218475657132, "rel_wql_gmean": 0.49833264680985245}, "H": {"n_configs": 31, "rel_mase_gmean": 0.7774058842744058, "rel_wql_gmean": 0.5160577664144067}, "M": {"n_configs": 5, "rel_mase_gmean": 0.8537317706164532, "rel_wql_gmean": 0.7830802392519056}, "Q": {"n_configs": 1, "rel_mase_gmean": 0.7650278022696294, "rel_wql_gmean": 0.7781637321579334}, "S": {"n_configs": 6, "rel_mase_gmean": 0.8543705568836895, "rel_wql_gmean": 0.5071897079925518}, "T": {"n_configs": 30, "rel_mase_gmean": 0.7667703361558642, "rel_wql_gmean": 0.5753639235453477}, "W": {"n_configs": 8, "rel_mase_gmean": 0.8733321780511988, "rel_wql_gmean": 0.5813284323450881}}, "variates": {"multivariate": {"n_configs": 43, "rel_mase_gmean": 0.7895839523280466, "rel_wql_gmean": 0.5300271513025459}, "univariate": {"n_configs": 54, "rel_mase_gmean": 0.804038086370608, "rel_wql_gmean": 0.5689301788513232}}}, "group_skill_delta": {"term": {"long": 0.004315516056029756, "medium": 0.0037695303820619586, "short": 0.005089574480807935}, "domain": {"Econ/Fin": 0.0006272266200113563, "Energy": 0.0022104097565962544, "Healthcare": -0.02239582227301684, "Nature": 0.015388601229029852, "Sales": 0.008675833927555998, "Transport": 0.008940101196063144, "Web/CloudOps": 0.0035035732825486887}, "frequency": {"A": 0.000743610213548962, "D": 0.0144611767663968, "H": 0.008062565927424048, "M": -0.00550706000216461, "Q": 0.0018099001576229456, "S": 0.0006203064827527971, "T": 0.00019336535816938394, "W": -0.0038018199916598494}, "variates": {"multivariate": 0.0028186782603143445, "univariate": 0.006113023550257446}}}, {"cutoff": "backcast2_evals", "candidate_skill": 0.36289765736601953, "control_skill": 0.3592811180029256, "delta": 0.003616539363093918, "candidate_checkpoint": "a35444a7dd833f0988143c8b6f304dee50256258d32528f097dfd83e78aebd29", "control_checkpoint": "674137ac14bce26f6983cb68123e34d01ca598bb3ad72e81cbd197d138ed6104", "candidate_eval_seconds": 26.93511390686035, "candidate_groups": {"term": {"long": {"n_configs": 19, "rel_mase_gmean": 0.7999866836284341, "rel_wql_gmean": 0.5044200017652598}, "medium": {"n_configs": 21, "rel_mase_gmean": 0.7520950988995759, "rel_wql_gmean": 0.4892760629450976}, "short": {"n_configs": 54, "rel_mase_gmean": 0.7606253653722089, "rel_wql_gmean": 0.5555279454828711}}, "domain": {"Econ/Fin": {"n_configs": 6, "rel_mase_gmean": 0.8847569248764997, "rel_wql_gmean": 0.9060830962565252}, "Energy": {"n_configs": 32, "rel_mase_gmean": 0.8956024100790815, "rel_wql_gmean": 0.6478655810625242}, "Healthcare": {"n_configs": 5, "rel_mase_gmean": 0.6848951113243488, "rel_wql_gmean": 0.5869340140781533}, "Nature": {"n_configs": 15, "rel_mase_gmean": 0.7651445328371117, "rel_wql_gmean": 0.35779612742646116}, "Sales": {"n_configs": 3, "rel_mase_gmean": 0.5582720391157578, "rel_wql_gmean": 0.3624482499639085}, "Transport": {"n_configs": 14, "rel_mase_gmean": 0.6601423012893489, "rel_wql_gmean": 0.4941046094070358}, "Web/CloudOps": {"n_configs": 19, "rel_mase_gmean": 0.6822688880912414, "rel_wql_gmean": 0.4716397362737}}, "frequency": {"A": {"n_configs": 1, "rel_mase_gmean": 0.5866730147839814, "rel_wql_gmean": 0.7282696655733021}, "D": {"n_configs": 15, "rel_mase_gmean": 0.721606653160396, "rel_wql_gmean": 0.4455719223490989}, "H": {"n_configs": 30, "rel_mase_gmean": 0.7519224499351271, "rel_wql_gmean": 0.4855739028067261}, "M": {"n_configs": 4, "rel_mase_gmean": 0.7958937219145119, "rel_wql_gmean": 0.8278786577082036}, "Q": {"n_configs": 1, "rel_mase_gmean": 0.8278284107651726, "rel_wql_gmean": 0.8711003564900259}, "S": {"n_configs": 6, "rel_mase_gmean": 0.9117298850572676, "rel_wql_gmean": 0.5695589028063504}, "T": {"n_configs": 29, "rel_mase_gmean": 0.7565476756893262, "rel_wql_gmean": 0.5408653745166001}, "W": {"n_configs": 8, "rel_mase_gmean": 0.8532517838495485, "rel_wql_gmean": 0.6418251083691219}}, "variates": {"multivariate": {"n_configs": 42, "rel_mase_gmean": 0.7815086652482058, "rel_wql_gmean": 0.5151119296416654}, "univariate": {"n_configs": 52, "rel_mase_gmean": 0.7545676092741181, "rel_wql_gmean": 0.5415196313785547}}}, "control_groups": {"term": {"long": {"n_configs": 19, "rel_mase_gmean": 0.8031247991695346, "rel_wql_gmean": 0.5063441900141398}, "medium": {"n_configs": 21, "rel_mase_gmean": 0.759271017733826, "rel_wql_gmean": 0.4942837438875637}, "short": {"n_configs": 54, "rel_mase_gmean": 0.7635103127299346, "rel_wql_gmean": 0.558620350413778}}, "domain": {"Econ/Fin": {"n_configs": 6, "rel_mase_gmean": 0.8829799182441074, "rel_wql_gmean": 0.9033007915779863}, "Energy": {"n_configs": 32, "rel_mase_gmean": 0.8960811237328992, "rel_wql_gmean": 0.6490530518856117}, "Healthcare": {"n_configs": 5, "rel_mase_gmean": 0.6827692086021916, "rel_wql_gmean": 0.5845693923485398}, "Nature": {"n_configs": 15, "rel_mase_gmean": 0.7754223586659996, "rel_wql_gmean": 0.3653264852073133}, "Sales": {"n_configs": 3, "rel_mase_gmean": 0.5625647121458199, "rel_wql_gmean": 0.3636579561955935}, "Transport": {"n_configs": 14, "rel_mase_gmean": 0.6680514846601735, "rel_wql_gmean": 0.5009103935786285}, "Web/CloudOps": {"n_configs": 19, "rel_mase_gmean": 0.6858285407478295, "rel_wql_gmean": 0.47293341913074566}}, "frequency": {"A": {"n_configs": 1, "rel_mase_gmean": 0.5860387955461611, "rel_wql_gmean": 0.7286211532403828}, "D": {"n_configs": 15, "rel_mase_gmean": 0.7269196928525937, "rel_wql_gmean": 0.44880565875856504}, "H": {"n_configs": 30, "rel_mase_gmean": 0.7584729987738923, "rel_wql_gmean": 0.4920220941901859}, "M": {"n_configs": 4, "rel_mase_gmean": 0.8121441530839135, "rel_wql_gmean": 0.8417102651757645}, "Q": {"n_configs": 1, "rel_mase_gmean": 0.8287813793543607, "rel_wql_gmean": 0.8713871032122515}, "S": {"n_configs": 6, "rel_mase_gmean": 0.9172508855779987, "rel_wql_gmean": 0.5711595531807128}, "T": {"n_configs": 29, "rel_mase_gmean": 0.7574199269295314, "rel_wql_gmean": 0.5414015001184371}, "W": {"n_configs": 8, "rel_mase_gmean": 0.8487218235695173, "rel_wql_gmean": 0.6393469997194787}}, "variates": {"multivariate": {"n_configs": 42, "rel_mase_gmean": 0.7842051278389427, "rel_wql_gmean": 0.5178220809914736}, "univariate": {"n_configs": 52, "rel_mase_gmean": 0.7594234945005031, "rel_wql_gmean": 0.5453398108764536}}}, "group_skill_delta": {"term": {"long": 0.002457539093086325, "medium": 0.005998211480277904, "short": 0.0030417477421523786}, "domain": {"Econ/Fin": -0.002273957709553409, "Energy": 0.0009015022908251957, "Healthcare": -0.0022612411372170405, "Nature": 0.009016440918215407, "Sales": 0.0024790220967471632, "Transport": 0.007354386508216848, "Web/CloudOps": 0.0022573579863649496}, "frequency": {"A": -0.00019577464888176355, "D": 0.00414510007665303, "H": 0.006642513192105515, "M": 0.01506639415788269, "Q": 0.000628474278988711, "S": 0.0031934833206613833, "T": 0.0006857901330149518, "W": -0.0033932466881767542}, "variates": {"multivariate": 0.0027634126167848105, "univariate": 0.0043115265641551215}}}, {"cutoff": "backcast3_evals", "candidate_skill": 0.3942150741055669, "control_skill": 0.38907521863271344, "delta": 0.00513985547285345, "candidate_checkpoint": "a35444a7dd833f0988143c8b6f304dee50256258d32528f097dfd83e78aebd29", "control_checkpoint": "674137ac14bce26f6983cb68123e34d01ca598bb3ad72e81cbd197d138ed6104", "candidate_eval_seconds": 27.25320529937744, "candidate_groups": {"term": {"long": {"n_configs": 19, "rel_mase_gmean": 0.7629635636061852, "rel_wql_gmean": 0.47738458152400776}, "medium": {"n_configs": 20, "rel_mase_gmean": 0.766392308286767, "rel_wql_gmean": 0.5313314815939195}, "short": {"n_configs": 54, "rel_mase_gmean": 0.7071218260479499, "rel_wql_gmean": 0.5006775766138106}}, "domain": {"Econ/Fin": {"n_configs": 6, "rel_mase_gmean": 0.8381102666984516, "rel_wql_gmean": 0.8394034451197796}, "Energy": {"n_configs": 32, "rel_mase_gmean": 0.8289543246911923, "rel_wql_gmean": 0.5533980426446239}, "Healthcare": {"n_configs": 5, "rel_mase_gmean": 0.7646070931321529, "rel_wql_gmean": 0.6340273684119219}, "Nature": {"n_configs": 15, "rel_mase_gmean": 0.7124818665930959, "rel_wql_gmean": 0.3362710472055882}, "Sales": {"n_configs": 3, "rel_mase_gmean": 0.749228232992685, "rel_wql_gmean": 0.4762895479100841}, "Transport": {"n_configs": 14, "rel_mase_gmean": 0.5376228806838672, "rel_wql_gmean": 0.4444847778365197}, "Web/CloudOps": {"n_configs": 18, "rel_mase_gmean": 0.7113197969938141, "rel_wql_gmean": 0.5172381497265214}}, "frequency": {"A": {"n_configs": 1, "rel_mase_gmean": 0.5285683023786453, "rel_wql_gmean": 0.8081021206308033}, "D": {"n_configs": 15, "rel_mase_gmean": 0.7180947935486091, "rel_wql_gmean": 0.4166198174883141}, "H": {"n_configs": 29, "rel_mase_gmean": 0.7187802155486654, "rel_wql_gmean": 0.48447543037731317}, "M": {"n_configs": 4, "rel_mase_gmean": 0.8446392308099292, "rel_wql_gmean": 0.8352147404850153}, "Q": {"n_configs": 1, "rel_mase_gmean": 0.7170557043368275, "rel_wql_gmean": 0.7716033464240198}, "S": {"n_configs": 6, "rel_mase_gmean": 0.8418253577208561, "rel_wql_gmean": 0.6034466207614427}, "T": {"n_configs": 29, "rel_mase_gmean": 0.7040554267349227, "rel_wql_gmean": 0.4621152504325736}, "W": {"n_configs": 8, "rel_mase_gmean": 0.8007557024739949, "rel_wql_gmean": 0.6624691609661729}}, "variates": {"multivariate": {"n_configs": 41, "rel_mase_gmean": 0.7573616152833316, "rel_wql_gmean": 0.5115793885293797}, "univariate": {"n_configs": 52, "rel_mase_gmean": 0.7103904231097383, "rel_wql_gmean": 0.49493523556054253}}}, "control_groups": {"term": {"long": {"n_configs": 19, "rel_mase_gmean": 0.7671142731116414, "rel_wql_gmean": 0.47916971922185897}, "medium": {"n_configs": 20, "rel_mase_gmean": 0.7691789126794641, "rel_wql_gmean": 0.5327740132487557}, "short": {"n_configs": 54, "rel_mase_gmean": 0.715186469179385, "rel_wql_gmean": 0.5068184655107872}}, "domain": {"Econ/Fin": {"n_configs": 6, "rel_mase_gmean": 0.8354342596603832, "rel_wql_gmean": 0.8357377255274399}, "Energy": {"n_configs": 32, "rel_mase_gmean": 0.8342617788501976, "rel_wql_gmean": 0.5573075943847307}, "Healthcare": {"n_configs": 5, "rel_mase_gmean": 0.7972742291272131, "rel_wql_gmean": 0.6590388193539706}, "Nature": {"n_configs": 15, "rel_mase_gmean": 0.7177945317735281, "rel_wql_gmean": 0.3409481388214971}, "Sales": {"n_configs": 3, "rel_mase_gmean": 0.7564395059888536, "rel_wql_gmean": 0.4796335352468516}, "Transport": {"n_configs": 14, "rel_mase_gmean": 0.5443616570651463, "rel_wql_gmean": 0.4495153491412182}, "Web/CloudOps": {"n_configs": 18, "rel_mase_gmean": 0.7144590925124263, "rel_wql_gmean": 0.5173883213055337}}, "frequency": {"A": {"n_configs": 1, "rel_mase_gmean": 0.5289225996632382, "rel_wql_gmean": 0.8103046826779774}, "D": {"n_configs": 15, "rel_mase_gmean": 0.7349960465094477, "rel_wql_gmean": 0.4267705081645206}, "H": {"n_configs": 29, "rel_mase_gmean": 0.7251125032253354, "rel_wql_gmean": 0.4886750306028493}, "M": {"n_configs": 4, "rel_mase_gmean": 0.8759774015027841, "rel_wql_gmean": 0.8655991309312683}, "Q": {"n_configs": 1, "rel_mase_gmean": 0.719352309068614, "rel_wql_gmean": 0.7733057960523231}, "S": {"n_configs": 6, "rel_mase_gmean": 0.8471349906333493, "rel_wql_gmean": 0.6030978365582621}, "T": {"n_configs": 29, "rel_mase_gmean": 0.7042550964089376, "rel_wql_gmean": 0.46188222870125517}, "W": {"n_configs": 8, "rel_mase_gmean": 0.799674894951322, "rel_wql_gmean": 0.6659800353030906}}, "variates": {"multivariate": {"n_configs": 41, "rel_mase_gmean": 0.7624402331967736, "rel_wql_gmean": 0.5141833494144036}, "univariate": {"n_configs": 52, "rel_mase_gmean": 0.717447678119841, "rel_wql_gmean": 0.5004410335678261}}}, "group_skill_delta": {"term": {"long": 0.0027698008657701667, "medium": 0.0020262913449556885, "short": 0.0070419325939486965}, "domain": {"Econ/Fin": -0.0031706278671020938, "Energy": 0.004560668439750781, "Healthcare": 0.028605969372706652, "Nature": 0.0052263731253747725, "Sales": 0.00497135350332778, "Transport": 0.005829861229354971, "Web/CloudOps": 0.0014252569820584204}, "frequency": {"A": 0.0011093614220064607, "D": 0.013099980427090374, "H": 0.0051570149204880344, "M": 0.030859037748264706, "Q": 0.002011671661662273, "S": 0.002037535338632379, "T": -6.297375685770934e-05, "W": 0.0014344297457079547}, "variates": {"multivariate": 0.003670950319457855, "univariate": 0.006243315369551361}}}], "mean_delta": 0.004591270374809914, "positive_cutoffs": 4, "outcome": "Declared primary6000/durability12000 diagnostic. No transfer formula or automatic publication is selected by this controller."} + +2026-10-23T09:29:59.791282+00:00: E118 seed523 long-seasonal primary6000 passes allfour matched cutoffs. CandidateSHAa35444a7dd833f0988143c8b6f304dee50256258d32528f097dfd83e78aebd29; main0.381395347224, deltas[0.004989360253721209, 0.004619326409571078, 0.003616539363093918, 0.00513985547285345], mean0.004591270374809914. E133conditional averaged correction still waits for mandatory final12000 replication gate; no averaged checkpoint created. This replicates the feature benefit across data/initial optimizer streamseed, not a held-out test claim. + +2026-10-23T09:31:30.337349+00:00: E137fresh depth allocation audited/queued{"queue_pid": 27276, "watch_pid": 27277, "comparison_pid": 27278} after E122queue20741 and E79queue5650 final96000. InitialSHA3991760771cd77bea0eb79a13091eeff912853dce8afa77ea272cf14840dd234;146328864params. CPU733initialforecast/lossbitwise,9.490635959s. GPU739maximumB48signed96C4096H1024 withAdam/EMA placeholders peak13370MiBreserved/12748.821allocated; finitegrads; compiledcomparison85.653620400s,total119.975613646 incl17.560618830lockwait. Initialzerohead compilegradientcos0.999966065. Additional temporary randomheadstd0.001 fixture ensures nonzero trunkgradients: allcos0.999967261,enc0.999929597,dec0.999963870; losses0.617865443/0.617864728;114.944255652s incl58.508098071lockwait,compiledcomparison10.392613893s. No optimizerupdates, initialcheckpointhashunchanged, no validation. This second audit addresses zerohead suppressing trunkgradient checks; no new model weights saved. Only queueafteraudits. + +2026-10-23T09:32:37.930781+00:00: E110additional diagnostic scope, selected after viewing48kmain: full-corpus model loses aggregate0.001207851 toE94 but gains long-term0.011237045 and loses monthly0.077135355. Evaluate matched48k and final96k across allfour cutoffs to distinguish stable corpus tradeoffs from cutoff variation. This diagnostic expansion is post-main, not a predeclared48k selection claim. No training change, source mixture adjustment, checkpoint sweep or package automatically selected. ReuseE94cached earlier outputs where available; immutable ownweights only. + +E110 post-main diagnostic expansion 48000 four-cutoff comparison: {"label": "E110 post-main diagnostic expansion 48000 four-cutoff comparison", "utc": "2026-10-23T09:36:31.329060+00:00", "candidate": "random_capacity_full_ema48000", "control": "random_capacity_1024_halflr_ema48000", "rows": [{"cutoff": "evals", "candidate_skill": 0.36449796840324333, "control_skill": 0.36570581958166615, "delta": -0.001207851178422814, "candidate_checkpoint": "926f61e5d5f8ffebc8a5d73285832ebedc28aca794b0b06b55fc3c48a07330d1", "control_checkpoint": "ea9055d683b93a4691e77bd64d46e301302765673055fd9b32ddb3a3e2f749df", "candidate_eval_seconds": 36.223931074142456, "candidate_groups": {"term": {"long": {"n_configs": 21, "rel_mase_gmean": 0.7548553746218293, "rel_wql_gmean": 0.4912987773239935}, "medium": {"n_configs": 21, "rel_mase_gmean": 0.7352999993476327, "rel_wql_gmean": 0.504363562451463}, "short": {"n_configs": 55, "rel_mase_gmean": 0.7710300090434509, "rel_wql_gmean": 0.559031484306989}}, "domain": {"Econ/Fin": {"n_configs": 6, "rel_mase_gmean": 0.8770103389279252, "rel_wql_gmean": 0.8491199347133979}, "Energy": {"n_configs": 32, "rel_mase_gmean": 0.9116653965880178, "rel_wql_gmean": 0.6580222595386767}, "Healthcare": {"n_configs": 5, "rel_mase_gmean": 0.658803814018058, "rel_wql_gmean": 0.5396972664532947}, "Nature": {"n_configs": 15, "rel_mase_gmean": 0.8280404956337558, "rel_wql_gmean": 0.41423369227737183}, "Sales": {"n_configs": 4, "rel_mase_gmean": 0.8220888925613495, "rel_wql_gmean": 0.5100769909819354}, "Transport": {"n_configs": 15, "rel_mase_gmean": 0.6548033152870734, "rel_wql_gmean": 0.45244139184364884}, "Web/CloudOps": {"n_configs": 20, "rel_mase_gmean": 0.5808419471264448, "rel_wql_gmean": 0.4489494375356866}}, "frequency": {"A": {"n_configs": 1, "rel_mase_gmean": 0.5935959285501078, "rel_wql_gmean": 0.6250048870270299}, "D": {"n_configs": 15, "rel_mase_gmean": 0.7751260416854967, "rel_wql_gmean": 0.5273604629524228}, "H": {"n_configs": 31, "rel_mase_gmean": 0.7390325632700983, "rel_wql_gmean": 0.5118806853040565}, "M": {"n_configs": 5, "rel_mase_gmean": 1.1155244631113046, "rel_wql_gmean": 0.9182662011196825}, "Q": {"n_configs": 1, "rel_mase_gmean": 0.7722896053051759, "rel_wql_gmean": 0.8394501877623775}, "S": {"n_configs": 6, "rel_mase_gmean": 0.6682567022663544, "rel_wql_gmean": 0.5122682378733995}, "T": {"n_configs": 30, "rel_mase_gmean": 0.7187462560447286, "rel_wql_gmean": 0.4734288271006955}, "W": {"n_configs": 8, "rel_mase_gmean": 0.8925511740053919, "rel_wql_gmean": 0.6530704845861032}}, "variates": {"multivariate": {"n_configs": 43, "rel_mase_gmean": 0.7303154554027623, "rel_wql_gmean": 0.5275234582063876}, "univariate": {"n_configs": 54, "rel_mase_gmean": 0.7838594930079051, "rel_wql_gmean": 0.5349400339090976}}}, "control_groups": {"term": {"long": {"n_configs": 21, "rel_mase_gmean": 0.7662260094156811, "rel_wql_gmean": 0.5020347958679111}, "medium": {"n_configs": 21, "rel_mase_gmean": 0.7301951069360759, "rel_wql_gmean": 0.504117847493669}, "short": {"n_configs": 55, "rel_mase_gmean": 0.760169630057802, "rel_wql_gmean": 0.5569997956352839}}, "domain": {"Econ/Fin": {"n_configs": 6, "rel_mase_gmean": 0.9028304922158942, "rel_wql_gmean": 0.8610209443587438}, "Energy": {"n_configs": 32, "rel_mase_gmean": 0.9109454293905939, "rel_wql_gmean": 0.6586383074299472}, "Healthcare": {"n_configs": 5, "rel_mase_gmean": 0.5906912914017803, "rel_wql_gmean": 0.5056722543269967}, "Nature": {"n_configs": 15, "rel_mase_gmean": 0.8235409860259677, "rel_wql_gmean": 0.4231966180830639}, "Sales": {"n_configs": 4, "rel_mase_gmean": 0.827511700634232, "rel_wql_gmean": 0.5156149712576104}, "Transport": {"n_configs": 15, "rel_mase_gmean": 0.6493612164587901, "rel_wql_gmean": 0.44948344031797927}, "Web/CloudOps": {"n_configs": 20, "rel_mase_gmean": 0.579824052847299, "rel_wql_gmean": 0.45322822077685615}}, "frequency": {"A": {"n_configs": 1, "rel_mase_gmean": 0.602630505709834, "rel_wql_gmean": 0.6156602399781036}, "D": {"n_configs": 15, "rel_mase_gmean": 0.7586530974855328, "rel_wql_gmean": 0.5235946298319726}, "H": {"n_configs": 31, "rel_mase_gmean": 0.7435902027632983, "rel_wql_gmean": 0.5180310279395838}, "M": {"n_configs": 5, "rel_mase_gmean": 0.9983606322195729, "rel_wql_gmean": 0.8755961609165552}, "Q": {"n_configs": 1, "rel_mase_gmean": 0.763496329349679, "rel_wql_gmean": 0.8207236971111334}, "S": {"n_configs": 6, "rel_mase_gmean": 0.6652066754808894, "rel_wql_gmean": 0.512126307398621}, "T": {"n_configs": 30, "rel_mase_gmean": 0.7125876645731054, "rel_wql_gmean": 0.4722827561143623}, "W": {"n_configs": 8, "rel_mase_gmean": 0.9331507389139616, "rel_wql_gmean": 0.6806266270092172}}, "variates": {"multivariate": {"n_configs": 43, "rel_mase_gmean": 0.7296537216262745, "rel_wql_gmean": 0.5340631203218278}, "univariate": {"n_configs": 54, "rel_mase_gmean": 0.7755777292850502, "rel_wql_gmean": 0.5321111949818653}}}, "group_skill_delta": {"term": {"long": 0.011237044940272, "medium": -0.002265482424887666, "short": -0.0058258391281375}, "domain": {"Econ/Fin": 0.018725456927130568, "Energy": 5.6439664597340844e-05, "Healthcare": -0.04975294984969725, "Nature": 0.00469166361832507, "Sales": 0.00564960889904409, "Transport": -0.004041300246997448, "Web/CloudOps": 0.001977896791272138}, "frequency": {"A": 1.254752371049328e-05, "D": -0.00909265869243725, "H": 0.005588956120089361, "M": -0.07713535452581188, "Q": -0.013576920435537154, "S": -0.001417613835157483, "T": -0.003207973776989448, "W": 0.033470593806027016}, "variates": {"multivariate": 0.0035524775192712355, "univariate": -0.005135222886763047}}}, {"cutoff": "backcast_evals", "candidate_skill": 0.32483431257437134, "control_skill": 0.32329458248322396, "delta": 0.0015397300911473843, "candidate_checkpoint": "926f61e5d5f8ffebc8a5d73285832ebedc28aca794b0b06b55fc3c48a07330d1", "control_checkpoint": "ea9055d683b93a4691e77bd64d46e301302765673055fd9b32ddb3a3e2f749df", "candidate_eval_seconds": 37.370967864990234, "candidate_groups": {"term": {"long": {"n_configs": 21, "rel_mase_gmean": 0.7654522360772724, "rel_wql_gmean": 0.4739857610043799}, "medium": {"n_configs": 21, "rel_mase_gmean": 0.7867501619830646, "rel_wql_gmean": 0.5436192356255614}, "short": {"n_configs": 55, "rel_mase_gmean": 0.8240571444210427, "rel_wql_gmean": 0.6184264040299636}}, "domain": {"Econ/Fin": {"n_configs": 6, "rel_mase_gmean": 0.8639539622248714, "rel_wql_gmean": 0.8077871872785065}, "Energy": {"n_configs": 32, "rel_mase_gmean": 0.9041494468294087, "rel_wql_gmean": 0.6855724661240925}, "Healthcare": {"n_configs": 5, "rel_mase_gmean": 0.6468533122764599, "rel_wql_gmean": 0.6390448822740527}, "Nature": {"n_configs": 15, "rel_mase_gmean": 0.9466626972097033, "rel_wql_gmean": 0.45416249215052845}, "Sales": {"n_configs": 4, "rel_mase_gmean": 0.7353522875674792, "rel_wql_gmean": 0.4922750422813006}, "Transport": {"n_configs": 15, "rel_mase_gmean": 0.7530847552239457, "rel_wql_gmean": 0.5485269329258957}, "Web/CloudOps": {"n_configs": 20, "rel_mase_gmean": 0.6470143656636279, "rel_wql_gmean": 0.45777216999767684}}, "frequency": {"A": {"n_configs": 1, "rel_mase_gmean": 0.6301789053201171, "rel_wql_gmean": 0.7072875410242052}, "D": {"n_configs": 15, "rel_mase_gmean": 0.8569709936678673, "rel_wql_gmean": 0.5107766353475411}, "H": {"n_configs": 31, "rel_mase_gmean": 0.7776932406597239, "rel_wql_gmean": 0.5255214537984231}, "M": {"n_configs": 5, "rel_mase_gmean": 0.828753170565434, "rel_wql_gmean": 0.8256815940835853}, "Q": {"n_configs": 1, "rel_mase_gmean": 0.7777781646771526, "rel_wql_gmean": 0.8096050460973127}, "S": {"n_configs": 6, "rel_mase_gmean": 0.8492147241676051, "rel_wql_gmean": 0.5041032269855099}, "T": {"n_configs": 30, "rel_mase_gmean": 0.771644671629282, "rel_wql_gmean": 0.6023767893982968}, "W": {"n_configs": 8, "rel_mase_gmean": 0.9077905653975566, "rel_wql_gmean": 0.6022541394206802}}, "variates": {"multivariate": {"n_configs": 43, "rel_mase_gmean": 0.7857285418936958, "rel_wql_gmean": 0.5439370802027981}, "univariate": {"n_configs": 54, "rel_mase_gmean": 0.816853590659461, "rel_wql_gmean": 0.5874520532329847}}}, "control_groups": {"term": {"long": {"n_configs": 21, "rel_mase_gmean": 0.7676319992042302, "rel_wql_gmean": 0.4738931093823552}, "medium": {"n_configs": 21, "rel_mase_gmean": 0.787981557621373, "rel_wql_gmean": 0.5488845569014533}, "short": {"n_configs": 55, "rel_mase_gmean": 0.8304815248390428, "rel_wql_gmean": 0.6153299503263564}}, "domain": {"Econ/Fin": {"n_configs": 6, "rel_mase_gmean": 0.8906919158031346, "rel_wql_gmean": 0.815058802212814}, "Energy": {"n_configs": 32, "rel_mase_gmean": 0.9005203573711559, "rel_wql_gmean": 0.6814633675169673}, "Healthcare": {"n_configs": 5, "rel_mase_gmean": 0.7168698781265309, "rel_wql_gmean": 0.6527559620133767}, "Nature": {"n_configs": 15, "rel_mase_gmean": 0.9455002182033782, "rel_wql_gmean": 0.44783907054964206}, "Sales": {"n_configs": 4, "rel_mase_gmean": 0.7375375880624656, "rel_wql_gmean": 0.4978899167263304}, "Transport": {"n_configs": 15, "rel_mase_gmean": 0.7505377233731647, "rel_wql_gmean": 0.5469001658409332}, "Web/CloudOps": {"n_configs": 20, "rel_mase_gmean": 0.6473059048841175, "rel_wql_gmean": 0.4615460245475256}}, "frequency": {"A": {"n_configs": 1, "rel_mase_gmean": 0.6273515476886314, "rel_wql_gmean": 0.6832562579463534}, "D": {"n_configs": 15, "rel_mase_gmean": 0.8500120259463356, "rel_wql_gmean": 0.5045889398131562}, "H": {"n_configs": 31, "rel_mase_gmean": 0.7816347293880959, "rel_wql_gmean": 0.5261467639454889}, "M": {"n_configs": 5, "rel_mase_gmean": 0.8772312560549567, "rel_wql_gmean": 0.8138123688025778}, "Q": {"n_configs": 1, "rel_mase_gmean": 0.7744440021373574, "rel_wql_gmean": 0.804919618727554}, "S": {"n_configs": 6, "rel_mase_gmean": 0.8557516272626141, "rel_wql_gmean": 0.5060034785474197}, "T": {"n_configs": 30, "rel_mase_gmean": 0.7662604444194188, "rel_wql_gmean": 0.60071289848602}, "W": {"n_configs": 8, "rel_mase_gmean": 0.9512219248961163, "rel_wql_gmean": 0.6207020251452393}}, "variates": {"multivariate": {"n_configs": 43, "rel_mase_gmean": 0.7837447698899662, "rel_wql_gmean": 0.5425796960618176}, "univariate": {"n_configs": 54, "rel_mase_gmean": 0.8264145670475672, "rel_wql_gmean": 0.5877750107029568}}}, "group_skill_delta": {"term": {"long": 0.00079806873263355, "medium": 0.003673565150066782, "short": 0.0009809105784932548}, "domain": {"Econ/Fin": 0.016637880110681125, "Energy": -0.003939895894583545, "Healthcare": 0.04112495194742127, "Nature": -0.004980620952493187, "Sales": 0.004319949784559629, "Transport": -0.002039949363321747, "Web/CloudOps": 0.0023617989214012036}, "frequency": {"A": -0.012913446943112916, "D": -0.006695022913743465, "H": 0.0019991675569802636, "M": 0.0177110499245412, "Q": -0.0039972765419649114, "S": 0.0037501519615081857, "T": -0.0033217139813680463, "W": 0.0289858310621407}, "variates": {"multivariate": -0.0016409852092843513, "univariate": 0.0042337303842436835}}}, {"cutoff": "backcast2_evals", "candidate_skill": 0.3481901439490471, "control_skill": 0.35160470672553856, "delta": -0.0034145627764914366, "candidate_checkpoint": "926f61e5d5f8ffebc8a5d73285832ebedc28aca794b0b06b55fc3c48a07330d1", "control_checkpoint": "ea9055d683b93a4691e77bd64d46e301302765673055fd9b32ddb3a3e2f749df", "candidate_eval_seconds": 35.28667855262756, "candidate_groups": {"term": {"long": {"n_configs": 19, "rel_mase_gmean": 0.7990300880291034, "rel_wql_gmean": 0.50765363537008}, "medium": {"n_configs": 21, "rel_mase_gmean": 0.744574887966418, "rel_wql_gmean": 0.50334233259885}, "short": {"n_configs": 54, "rel_mase_gmean": 0.7819983276666631, "rel_wql_gmean": 0.5798223726752166}}, "domain": {"Econ/Fin": {"n_configs": 6, "rel_mase_gmean": 0.8768293179548019, "rel_wql_gmean": 0.9158306468778579}, "Energy": {"n_configs": 32, "rel_mase_gmean": 0.9295273892322586, "rel_wql_gmean": 0.6735326890959324}, "Healthcare": {"n_configs": 5, "rel_mase_gmean": 0.7222869316179024, "rel_wql_gmean": 0.6164591919160695}, "Nature": {"n_configs": 15, "rel_mase_gmean": 0.7694576594146011, "rel_wql_gmean": 0.3773009717463544}, "Sales": {"n_configs": 3, "rel_mase_gmean": 0.5598534258115146, "rel_wql_gmean": 0.352085661402508}, "Transport": {"n_configs": 14, "rel_mase_gmean": 0.6818685674797765, "rel_wql_gmean": 0.5151817143609804}, "Web/CloudOps": {"n_configs": 19, "rel_mase_gmean": 0.6581089009032559, "rel_wql_gmean": 0.4761564052938094}}, "frequency": {"A": {"n_configs": 1, "rel_mase_gmean": 0.5771925651869363, "rel_wql_gmean": 0.7935816629616937}, "D": {"n_configs": 15, "rel_mase_gmean": 0.7495293126195988, "rel_wql_gmean": 0.45822217057688214}, "H": {"n_configs": 30, "rel_mase_gmean": 0.7522622180422243, "rel_wql_gmean": 0.4941355673044773}, "M": {"n_configs": 4, "rel_mase_gmean": 0.8471130563718524, "rel_wql_gmean": 0.9071946478247568}, "Q": {"n_configs": 1, "rel_mase_gmean": 0.8552359852719164, "rel_wql_gmean": 0.893580181435204}, "S": {"n_configs": 6, "rel_mase_gmean": 0.8914539098869745, "rel_wql_gmean": 0.5530844827396918}, "T": {"n_configs": 29, "rel_mase_gmean": 0.7606045053944909, "rel_wql_gmean": 0.5707137907747936}, "W": {"n_configs": 8, "rel_mase_gmean": 0.8962955229539523, "rel_wql_gmean": 0.6601060960884977}}, "variates": {"multivariate": {"n_configs": 42, "rel_mase_gmean": 0.779868735152078, "rel_wql_gmean": 0.5297416714631878}, "univariate": {"n_configs": 52, "rel_mase_gmean": 0.7744270493248896, "rel_wql_gmean": 0.5611510773352295}}}, "control_groups": {"term": {"long": {"n_configs": 19, "rel_mase_gmean": 0.799198836651633, "rel_wql_gmean": 0.5083793454350191}, "medium": {"n_configs": 21, "rel_mase_gmean": 0.7463335479874204, "rel_wql_gmean": 0.5011338817462773}, "short": {"n_configs": 54, "rel_mase_gmean": 0.7779454425187887, "rel_wql_gmean": 0.5724055090698651}}, "domain": {"Econ/Fin": {"n_configs": 6, "rel_mase_gmean": 0.9059392281424482, "rel_wql_gmean": 0.9170498199136256}, "Energy": {"n_configs": 32, "rel_mase_gmean": 0.9229906908943148, "rel_wql_gmean": 0.6675019661295902}, "Healthcare": {"n_configs": 5, "rel_mase_gmean": 0.734841894341525, "rel_wql_gmean": 0.6116742850572091}, "Nature": {"n_configs": 15, "rel_mase_gmean": 0.7734543581486872, "rel_wql_gmean": 0.3773819109757366}, "Sales": {"n_configs": 3, "rel_mase_gmean": 0.5580152105870264, "rel_wql_gmean": 0.346242621272549}, "Transport": {"n_configs": 14, "rel_mase_gmean": 0.6771185063355508, "rel_wql_gmean": 0.5120273822152274}, "Web/CloudOps": {"n_configs": 19, "rel_mase_gmean": 0.6493930915123108, "rel_wql_gmean": 0.4684840829186049}}, "frequency": {"A": {"n_configs": 1, "rel_mase_gmean": 0.5757754789323676, "rel_wql_gmean": 0.7506073236864369}, "D": {"n_configs": 15, "rel_mase_gmean": 0.7462412953404897, "rel_wql_gmean": 0.45707742537926555}, "H": {"n_configs": 30, "rel_mase_gmean": 0.7525910334040907, "rel_wql_gmean": 0.49461197896011505}, "M": {"n_configs": 4, "rel_mase_gmean": 0.8578606875633755, "rel_wql_gmean": 0.8985069372104241}, "Q": {"n_configs": 1, "rel_mase_gmean": 0.8435114806004179, "rel_wql_gmean": 0.8878177378147762}, "S": {"n_configs": 6, "rel_mase_gmean": 0.9018326086779128, "rel_wql_gmean": 0.5655384541730528}, "T": {"n_configs": 29, "rel_mase_gmean": 0.752029730550723, "rel_wql_gmean": 0.5571977017323565}, "W": {"n_configs": 8, "rel_mase_gmean": 0.9020241622665878, "rel_wql_gmean": 0.6527459993278196}}, "variates": {"multivariate": {"n_configs": 42, "rel_mase_gmean": 0.7720463809279969, "rel_wql_gmean": 0.5224474418278602}, "univariate": {"n_configs": 52, "rel_mase_gmean": 0.777356955621124, "rel_wql_gmean": 0.5592327522251774}}}, "group_skill_delta": {"term": {"long": 0.0005223651392513018, "medium": -0.0006235174065178928, "short": -0.00605656169922919}, "domain": {"Econ/Fin": 0.015359767017832149, "Energy": -0.006324840796059439, "Healthcare": 0.003157231118886328, "Nature": 0.001455466939288108, "Sales": -0.004422828276974045, "Transport": -0.0038789385565224377, "Web/CloudOps": -0.008217364695281892}, "frequency": {"A": -0.019388528138355676, "D": -0.002017730886388791, "H": 0.0004271365170432917, "M": 0.0013093377028335906, "Q": -0.008816772643752135, "S": 0.011982848344314734, "T": -0.011528478497626393, "W": -0.0018597105024089622}, "variates": {"multivariate": -0.007649796389442853, "univariate": 0.00011595775125206043}}}, {"cutoff": "backcast3_evals", "candidate_skill": 0.3700641589266448, "control_skill": 0.370990275990027, "delta": -0.0009261170633821925, "candidate_checkpoint": "926f61e5d5f8ffebc8a5d73285832ebedc28aca794b0b06b55fc3c48a07330d1", "control_checkpoint": "ea9055d683b93a4691e77bd64d46e301302765673055fd9b32ddb3a3e2f749df", "candidate_eval_seconds": 36.01489305496216, "candidate_groups": {"term": {"long": {"n_configs": 19, "rel_mase_gmean": 0.7714307837039419, "rel_wql_gmean": 0.4862353117336101}, "medium": {"n_configs": 20, "rel_mase_gmean": 0.7638821347775882, "rel_wql_gmean": 0.5307592580855973}, "short": {"n_configs": 54, "rel_mase_gmean": 0.7505608979781686, "rel_wql_gmean": 0.5349992288028624}}, "domain": {"Econ/Fin": {"n_configs": 6, "rel_mase_gmean": 0.8341454143816802, "rel_wql_gmean": 0.8338715773308747}, "Energy": {"n_configs": 32, "rel_mase_gmean": 0.8515634140277826, "rel_wql_gmean": 0.569558846056249}, "Healthcare": {"n_configs": 5, "rel_mase_gmean": 1.0036883931983478, "rel_wql_gmean": 0.7939359543280723}, "Nature": {"n_configs": 15, "rel_mase_gmean": 0.7284353100394492, "rel_wql_gmean": 0.3541163927462603}, "Sales": {"n_configs": 3, "rel_mase_gmean": 0.7596670123428141, "rel_wql_gmean": 0.48310093816362193}, "Transport": {"n_configs": 14, "rel_mase_gmean": 0.5606603701520327, "rel_wql_gmean": 0.4662600653320203}, "Web/CloudOps": {"n_configs": 18, "rel_mase_gmean": 0.7196411952930366, "rel_wql_gmean": 0.5292738980605055}}, "frequency": {"A": {"n_configs": 1, "rel_mase_gmean": 0.5409193903073758, "rel_wql_gmean": 0.7917996023000913}, "D": {"n_configs": 15, "rel_mase_gmean": 0.7959225789371909, "rel_wql_gmean": 0.45488532912713076}, "H": {"n_configs": 29, "rel_mase_gmean": 0.7327074432980089, "rel_wql_gmean": 0.4985937197066213}, "M": {"n_configs": 4, "rel_mase_gmean": 1.014151462247973, "rel_wql_gmean": 0.9863094244425376}, "Q": {"n_configs": 1, "rel_mase_gmean": 0.7189041697429438, "rel_wql_gmean": 0.7579482002697641}, "S": {"n_configs": 6, "rel_mase_gmean": 0.8426818571883371, "rel_wql_gmean": 0.6178592102432287}, "T": {"n_configs": 29, "rel_mase_gmean": 0.7104899807629945, "rel_wql_gmean": 0.47423851084596597}, "W": {"n_configs": 8, "rel_mase_gmean": 0.8247509389073472, "rel_wql_gmean": 0.6824107191878224}}, "variates": {"multivariate": {"n_configs": 41, "rel_mase_gmean": 0.7843110069902741, "rel_wql_gmean": 0.532604424215474}, "univariate": {"n_configs": 52, "rel_mase_gmean": 0.7372506716076969, "rel_wql_gmean": 0.5168855843039583}}}, "control_groups": {"term": {"long": {"n_configs": 19, "rel_mase_gmean": 0.7752169604856247, "rel_wql_gmean": 0.4888518915184839}, "medium": {"n_configs": 20, "rel_mase_gmean": 0.7650403788019358, "rel_wql_gmean": 0.5308175670777368}, "short": {"n_configs": 54, "rel_mase_gmean": 0.7467627077568808, "rel_wql_gmean": 0.5327531090955401}}, "domain": {"Econ/Fin": {"n_configs": 6, "rel_mase_gmean": 0.8620913672622541, "rel_wql_gmean": 0.8547318170618328}, "Energy": {"n_configs": 32, "rel_mase_gmean": 0.8441748859081236, "rel_wql_gmean": 0.5646289945902436}, "Healthcare": {"n_configs": 5, "rel_mase_gmean": 0.9376598848526552, "rel_wql_gmean": 0.7818664221169428}, "Nature": {"n_configs": 15, "rel_mase_gmean": 0.7456434741968527, "rel_wql_gmean": 0.3539286239241533}, "Sales": {"n_configs": 3, "rel_mase_gmean": 0.7618130413241728, "rel_wql_gmean": 0.48417506611634803}, "Transport": {"n_configs": 14, "rel_mase_gmean": 0.5607487049943833, "rel_wql_gmean": 0.46645306914905216}, "Web/CloudOps": {"n_configs": 18, "rel_mase_gmean": 0.716046053229904, "rel_wql_gmean": 0.5316021041051098}}, "frequency": {"A": {"n_configs": 1, "rel_mase_gmean": 0.5347671576614936, "rel_wql_gmean": 0.8122502371876661}, "D": {"n_configs": 15, "rel_mase_gmean": 0.8007894976355243, "rel_wql_gmean": 0.45286612793735087}, "H": {"n_configs": 29, "rel_mase_gmean": 0.7340762162135239, "rel_wql_gmean": 0.500516438169534}, "M": {"n_configs": 4, "rel_mase_gmean": 0.9220553371250699, "rel_wql_gmean": 0.9123288561939542}, "Q": {"n_configs": 1, "rel_mase_gmean": 0.7146849143809129, "rel_wql_gmean": 0.7593485849767106}, "S": {"n_configs": 6, "rel_mase_gmean": 0.8558536051666373, "rel_wql_gmean": 0.6309694826905562}, "T": {"n_configs": 29, "rel_mase_gmean": 0.711372174563038, "rel_wql_gmean": 0.4773308031413116}, "W": {"n_configs": 8, "rel_mase_gmean": 0.8219606642085736, "rel_wql_gmean": 0.6657419281727769}}, "variates": {"multivariate": {"n_configs": 41, "rel_mase_gmean": 0.7816389778004437, "rel_wql_gmean": 0.5342976538479055}, "univariate": {"n_configs": 52, "rel_mase_gmean": 0.7370987880405361, "rel_wql_gmean": 0.5143752681169628}}}, "group_skill_delta": {"term": {"long": 0.0031508306340294334, "medium": 0.0005175502310403868, "short": -0.0029336236856895015}, "domain": {"Econ/Fin": 0.024395220415046714, "Energy": -0.00603526299653101, "Healthcare": -0.036445501021621585, "Nature": 0.005827774867388058, "Sales": 0.0015291263619008344, "Transport": 0.0001460946109080874, "Web/CloudOps": -0.00019099449491710718}, "frequency": {"A": 0.00461739459561572, "D": 0.0004958286645164733, "H": 0.0017296683701544247, "M": -0.08295436023909741, "Q": -0.0014897437080618747, "S": 0.01329196518146214, "T": 0.0022508390441152715, "W": -0.010473632248902076}, "variates": {"multivariate": -7.708756783786352e-05, "univariate": -0.0015642852251873673}}}], "mean_delta": -0.0010022002317872647, "positive_cutoffs": 1, "outcome": "Declared comparison checkpoints 48000,96000. No transfer formula or automatic publication is selected by this controller."} + +## E138: learned bounded ensemble gate on frozen E130 members +2026-10-23T09:37:40.524485+00:00: Hypothesis: context statistics and expert disagreement can predict which own-trained member is more reliable, improving on fixed equal quarters. Freeze exactly E130descriptorfa97880dd132b1cdff459be4798f8f360d7df59b13e78026a9d74a95d63df0db and all four expert tensors. Every expert forecasts every instance. Train only a fresh gate MLP29→64→64→4, twoGELUactivations, zero final layer,6340parameters; fixed positive per-lead weights0.125+0.5*softmax(logits), so each lies[0.125,0.625] and sums1. All nine quantiles share each lead's weights. No weight/coefficient sweep or expert updates. Gate features29: log finitecount/8; two log periods/8; log requestedH/8; leadfraction and log lead/8; finitecount/observed-span (exclude left padding); three log normalized mean-absolute differences at lag1/period1/period2 with E47support/default rules; three absolute adjacent-mean differences at widths4/16/128 requiring>=max(2,k/2)finite inbothmeans; perexpert absolute normalized median difference from equal-expert median (4), log1p normalized80percent width(4), absolute median difference from lastfinitecontextvalue(4), and from last32mean(4). Bounded feature transforms, recent4096canonical normalization; no dataset/domain identity feature, no other instance. Exact existing NumPy seasonal/continuity/zero-mass/finite transforms for expert outputs in both training and inference; training per-row available horizons use existing decoder masks. Gate FP32 and frozen expert BF16 with TF32disabled, as package runtime. Initial gate must reproduce equal quarters on real/synthetic fixtures; preserve ordered quantiles and deterministic relocation. +Training planned after E123log_horizon final12000, replacing one allocation: original E80sampler/packed_sample/sourceweights, seed751/B64/LR1e-3/12000, existing400warmup/cosfloor0.2, fusedAdamW(.9,.95),wd0.05,clip1,EMAexistingformula. Supervised targets only allowed corpus/own generator; no distillation labels or validation training. Same weighted quantile-plus-median loss and context seasonal scale; no extra entropy penalty. Primary6000,1000/3000diagnostics,12000durability; all4cutoffs versus frozenE130 at6/12, and then-current publication before any selection. Save complete optimizer/EMA/RNG/prefetched batches; experts never registered in optimizer/EMA. CPUfixture757/GPU761. Implement and audit before queue. Runtime and publication need a separate package that includes the frozen experts, gate and provenance; current submission remains unchanged. No candidate/training launched yet. + +2026-10-23T09:40:45.598974+00:00: E138implementation detail fixed before audits/training: normalized median-distance and adjacent-mean features clip30; width feature log1p(clamp(normalizedwidth,0,60)); lag-difference statistics log1p(clamp(absdiff,0,10)), default1 whenfewer8pairs; allfeaturevalues nan_to_num andclip[0,30]. Canonical recent4096 normalization pads left to16, with original E79normalizer onordinaryvalues; extreme-invalidmu/scale usefinite0/1 fallback. Finite fraction denominator is observed span fromfirstfinite toforecastcutoff, excluding batch-left-padding. Combination uses ordered FP32positive-weight accumulation, thenfinitecleanup andcummaxalongquantiles forroundoff; same operation training/inference. Expert helper uses exact frozen package NumPytransforms, not a differentiable approximation. Core files prepared; no initialgateweights/audit/training yet. + +E129 6000 four-cutoff comparison: {"label": "E129 6000 four-cutoff comparison", "utc": "2026-10-23T09:43:02.720550+00:00", "candidate": "seasonal_width_ema6000", "control": "seasonal_dispersion_ema6000", "rows": [{"cutoff": "evals", "candidate_skill": 0.3831603776984651, "control_skill": 0.38225879938174245, "delta": 0.0009015783167226621, "candidate_checkpoint": "4565c9b6447aab0d457738b65543c5cbee2a90f79e4a87dd9afa7f567aaf685a", "control_checkpoint": "6b640ad1ce200544da2d530578e59eb353f8b9dabc5cc98473403cfe7383c49f", "candidate_eval_seconds": 28.452057600021362, "candidate_groups": {"term": {"long": {"n_configs": 21, "rel_mase_gmean": 0.7401317804403728, "rel_wql_gmean": 0.4766136103886538}, "medium": {"n_configs": 21, "rel_mase_gmean": 0.7099436471829155, "rel_wql_gmean": 0.49190059521229146}, "short": {"n_configs": 55, "rel_mase_gmean": 0.7499662116453987, "rel_wql_gmean": 0.5396013043488593}}, "domain": {"Econ/Fin": {"n_configs": 6, "rel_mase_gmean": 0.8875791722920614, "rel_wql_gmean": 0.8559903021736716}, "Energy": {"n_configs": 32, "rel_mase_gmean": 0.8975039761261759, "rel_wql_gmean": 0.6401064409980725}, "Healthcare": {"n_configs": 5, "rel_mase_gmean": 0.5785767170315638, "rel_wql_gmean": 0.5100206072446433}, "Nature": {"n_configs": 15, "rel_mase_gmean": 0.8021508818788523, "rel_wql_gmean": 0.3970075037303459}, "Sales": {"n_configs": 4, "rel_mase_gmean": 0.8427232478989891, "rel_wql_gmean": 0.516173636798094}, "Transport": {"n_configs": 15, "rel_mase_gmean": 0.6323989932515749, "rel_wql_gmean": 0.43099113410972134}, "Web/CloudOps": {"n_configs": 20, "rel_mase_gmean": 0.5609720769542301, "rel_wql_gmean": 0.4341063609833436}}, "frequency": {"A": {"n_configs": 1, "rel_mase_gmean": 0.6181463973582709, "rel_wql_gmean": 0.6507339136112732}, "D": {"n_configs": 15, "rel_mase_gmean": 0.7607294744792854, "rel_wql_gmean": 0.5213621876812429}, "H": {"n_configs": 31, "rel_mase_gmean": 0.7261758240903428, "rel_wql_gmean": 0.4928362425659036}, "M": {"n_configs": 5, "rel_mase_gmean": 0.9610257004140478, "rel_wql_gmean": 0.8222510272919312}, "Q": {"n_configs": 1, "rel_mase_gmean": 0.783320722154848, "rel_wql_gmean": 0.829193391980513}, "S": {"n_configs": 6, "rel_mase_gmean": 0.6555292549472804, "rel_wql_gmean": 0.5033031593079214}, "T": {"n_configs": 30, "rel_mase_gmean": 0.6919888167355419, "rel_wql_gmean": 0.4527208999963679}, "W": {"n_configs": 8, "rel_mase_gmean": 0.903260761731007, "rel_wql_gmean": 0.670479427208697}}, "variates": {"multivariate": {"n_configs": 43, "rel_mase_gmean": 0.7082974659593699, "rel_wql_gmean": 0.5088761663351993}, "univariate": {"n_configs": 54, "rel_mase_gmean": 0.7643965343949494, "rel_wql_gmean": 0.5196992592514946}}}, "control_groups": {"term": {"long": {"n_configs": 21, "rel_mase_gmean": 0.7400506225960969, "rel_wql_gmean": 0.47808876994740046}, "medium": {"n_configs": 21, "rel_mase_gmean": 0.7101268693563747, "rel_wql_gmean": 0.49314710783510285}, "short": {"n_configs": 55, "rel_mase_gmean": 0.7500860933248864, "rel_wql_gmean": 0.5411083364362582}}, "domain": {"Econ/Fin": {"n_configs": 6, "rel_mase_gmean": 0.8886871163750968, "rel_wql_gmean": 0.8551794904776345}, "Energy": {"n_configs": 32, "rel_mase_gmean": 0.8972051207193078, "rel_wql_gmean": 0.6417640311927593}, "Healthcare": {"n_configs": 5, "rel_mase_gmean": 0.578364137997311, "rel_wql_gmean": 0.5117456137390363}, "Nature": {"n_configs": 15, "rel_mase_gmean": 0.8023291284024608, "rel_wql_gmean": 0.3989034387003474}, "Sales": {"n_configs": 4, "rel_mase_gmean": 0.8416251755891729, "rel_wql_gmean": 0.5159970993971862}, "Transport": {"n_configs": 15, "rel_mase_gmean": 0.6323129527317001, "rel_wql_gmean": 0.4332903678255558}, "Web/CloudOps": {"n_configs": 20, "rel_mase_gmean": 0.5615569274522425, "rel_wql_gmean": 0.43470539309584183}}, "frequency": {"A": {"n_configs": 1, "rel_mase_gmean": 0.6177358739303225, "rel_wql_gmean": 0.6470843841362995}, "D": {"n_configs": 15, "rel_mase_gmean": 0.7613833385246014, "rel_wql_gmean": 0.5227797118737059}, "H": {"n_configs": 31, "rel_mase_gmean": 0.7261807487698988, "rel_wql_gmean": 0.4956422642796265}, "M": {"n_configs": 5, "rel_mase_gmean": 0.9602049092528727, "rel_wql_gmean": 0.8288042520798957}, "Q": {"n_configs": 1, "rel_mase_gmean": 0.7839745097436424, "rel_wql_gmean": 0.8298460141507311}, "S": {"n_configs": 6, "rel_mase_gmean": 0.6554424134583847, "rel_wql_gmean": 0.5033779169908231}, "T": {"n_configs": 30, "rel_mase_gmean": 0.6921043444047297, "rel_wql_gmean": 0.45319095997947384}, "W": {"n_configs": 8, "rel_mase_gmean": 0.9031138478320136, "rel_wql_gmean": 0.6694602750281545}}, "variates": {"multivariate": {"n_configs": 43, "rel_mase_gmean": 0.7086008455661859, "rel_wql_gmean": 0.5102395060491531}, "univariate": {"n_configs": 54, "rel_mase_gmean": 0.7643044334835595, "rel_wql_gmean": 0.5212065466992852}}}, "group_skill_delta": {"term": {"long": 0.0008858124146893243, "medium": 0.0008246293831415397, "short": 0.0009386285567822839}, "domain": {"Econ/Fin": 0.00013068122954484895, "Energy": 0.0008543822424174063, "Healthcare": 0.0008178971143827374, "Nature": 0.001408719730444874, "Sales": -0.0005425522983093511, "Transport": 0.0013550988926180896, "Web/CloudOps": 0.0005977160740209264}, "frequency": {"A": -0.0019910343743771985, "D": 0.0011265229391850262, "H": 0.0017026795855628052, "M": 0.0031541100335809036, "Q": 0.0006534857098969837, "S": 4.606356713177107e-06, "T": 0.0003372434812615177, "W": -0.000654923649645367}, "variates": {"multivariate": 0.0009324167005572148, "univariate": 0.000875317916272933}}}, {"cutoff": "backcast_evals", "candidate_skill": 0.3412465968938221, "control_skill": 0.34048229409326713, "delta": 0.0007643028005549501, "candidate_checkpoint": "4565c9b6447aab0d457738b65543c5cbee2a90f79e4a87dd9afa7f567aaf685a", "control_checkpoint": "6b640ad1ce200544da2d530578e59eb353f8b9dabc5cc98473403cfe7383c49f", "candidate_eval_seconds": 28.581611156463623, "candidate_groups": {"term": {"long": {"n_configs": 21, "rel_mase_gmean": 0.7703378422663418, "rel_wql_gmean": 0.46078608846829733}, "medium": {"n_configs": 21, "rel_mase_gmean": 0.7698204801258983, "rel_wql_gmean": 0.5298063248192315}, "short": {"n_configs": 55, "rel_mase_gmean": 0.8116946984363662, "rel_wql_gmean": 0.591096395267947}}, "domain": {"Econ/Fin": {"n_configs": 6, "rel_mase_gmean": 0.8840896172674156, "rel_wql_gmean": 0.8166116323804048}, "Energy": {"n_configs": 32, "rel_mase_gmean": 0.8877976324574343, "rel_wql_gmean": 0.6655471766191752}, "Healthcare": {"n_configs": 5, "rel_mase_gmean": 0.6603789214388155, "rel_wql_gmean": 0.566295641779891}, "Nature": {"n_configs": 15, "rel_mase_gmean": 0.9061232280904533, "rel_wql_gmean": 0.4211354757782516}, "Sales": {"n_configs": 4, "rel_mase_gmean": 0.7234756545220536, "rel_wql_gmean": 0.4901133073734373}, "Transport": {"n_configs": 15, "rel_mase_gmean": 0.7310010585990251, "rel_wql_gmean": 0.5212183995094899}, "Web/CloudOps": {"n_configs": 20, "rel_mase_gmean": 0.6586290512783582, "rel_wql_gmean": 0.452861684924056}}, "frequency": {"A": {"n_configs": 1, "rel_mase_gmean": 0.65209515758716, "rel_wql_gmean": 0.7285952892015877}, "D": {"n_configs": 15, "rel_mase_gmean": 0.8208196574267836, "rel_wql_gmean": 0.48847822436902455}, "H": {"n_configs": 31, "rel_mase_gmean": 0.7664815515194227, "rel_wql_gmean": 0.5059676547535986}, "M": {"n_configs": 5, "rel_mase_gmean": 0.8689281957906105, "rel_wql_gmean": 0.794920967030779}, "Q": {"n_configs": 1, "rel_mase_gmean": 0.7592445698251972, "rel_wql_gmean": 0.7638082257229809}, "S": {"n_configs": 6, "rel_mase_gmean": 0.8532703653418005, "rel_wql_gmean": 0.5072000942524026}, "T": {"n_configs": 30, "rel_mase_gmean": 0.7706738261523969, "rel_wql_gmean": 0.5752670274035184}, "W": {"n_configs": 8, "rel_mase_gmean": 0.8748739987149731, "rel_wql_gmean": 0.5865464292807087}}, "variates": {"multivariate": {"n_configs": 43, "rel_mase_gmean": 0.7867476548525202, "rel_wql_gmean": 0.5267846995784454}, "univariate": {"n_configs": 54, "rel_mase_gmean": 0.7987490424547307, "rel_wql_gmean": 0.5635638286829712}}}, "control_groups": {"term": {"long": {"n_configs": 21, "rel_mase_gmean": 0.7699386641350829, "rel_wql_gmean": 0.4620092164574338}, "medium": {"n_configs": 21, "rel_mase_gmean": 0.7700252574476023, "rel_wql_gmean": 0.5312660160823937}, "short": {"n_configs": 55, "rel_mase_gmean": 0.8114763680106447, "rel_wql_gmean": 0.5925124306653264}}, "domain": {"Econ/Fin": {"n_configs": 6, "rel_mase_gmean": 0.8851214996579603, "rel_wql_gmean": 0.81706534284058}, "Energy": {"n_configs": 32, "rel_mase_gmean": 0.8880075540028629, "rel_wql_gmean": 0.6669917238344288}, "Healthcare": {"n_configs": 5, "rel_mase_gmean": 0.6607679512516224, "rel_wql_gmean": 0.5676047563389465}, "Nature": {"n_configs": 15, "rel_mase_gmean": 0.9044039298942245, "rel_wql_gmean": 0.4227147422454011}, "Sales": {"n_configs": 4, "rel_mase_gmean": 0.7233763880081109, "rel_wql_gmean": 0.49051933957001853}, "Transport": {"n_configs": 15, "rel_mase_gmean": 0.7306764832685102, "rel_wql_gmean": 0.5237199503158482}, "Web/CloudOps": {"n_configs": 20, "rel_mase_gmean": 0.6585663042744694, "rel_wql_gmean": 0.453530474116577}}, "frequency": {"A": {"n_configs": 1, "rel_mase_gmean": 0.6519157656498028, "rel_wql_gmean": 0.7264149528026873}, "D": {"n_configs": 15, "rel_mase_gmean": 0.820638386519995, "rel_wql_gmean": 0.48899927341307703}, "H": {"n_configs": 31, "rel_mase_gmean": 0.7669137207994428, "rel_wql_gmean": 0.5089765668356441}, "M": {"n_configs": 5, "rel_mase_gmean": 0.8681664151706637, "rel_wql_gmean": 0.7970725004451346}, "Q": {"n_configs": 1, "rel_mase_gmean": 0.7591685936267477, "rel_wql_gmean": 0.7657209715884332}, "S": {"n_configs": 6, "rel_mase_gmean": 0.8528003711266274, "rel_wql_gmean": 0.5088102011002493}, "T": {"n_configs": 30, "rel_mase_gmean": 0.7701790682032242, "rel_wql_gmean": 0.57528943509888}, "W": {"n_configs": 8, "rel_mase_gmean": 0.8741170955888644, "rel_wql_gmean": 0.5874303282064617}}, "variates": {"multivariate": {"n_configs": 43, "rel_mase_gmean": 0.7864590781265922, "rel_wql_gmean": 0.5275771051125318}, "univariate": {"n_configs": 54, "rel_mase_gmean": 0.798685143563512, "rel_wql_gmean": 0.5654498581714905}}}, "group_skill_delta": {"term": {"long": 0.0006356256917187109, "medium": 0.0009642128129954131, "short": 0.0007359098911582374}, "domain": {"Econ/Fin": 0.00073186311553608, "Energy": 0.0009247175050326462, "Healthcare": 0.0008867426062801886, "Nature": 0.0005697499193413336, "Sales": 0.00020573643967503052, "Transport": 0.001342097068590009, "Web/CloudOps": 0.000377087225496342}, "frequency": {"A": -0.0011267980889990703, "D": 0.0002676642157174447, "H": 0.0020250082092524435, "M": 0.0007590877118247574, "Q": 0.0009147646145672983, "S": 0.0008618680731700135, "T": -0.00020079915287640748, "W": 0.0002293716185552963}, "variates": {"multivariate": 0.0003658441739100571, "univariate": 0.0010948501022474133}}}, {"cutoff": "backcast2_evals", "candidate_skill": 0.3644066589741426, "control_skill": 0.363993152824157, "delta": 0.00041350614998558743, "candidate_checkpoint": "4565c9b6447aab0d457738b65543c5cbee2a90f79e4a87dd9afa7f567aaf685a", "control_checkpoint": "6b640ad1ce200544da2d530578e59eb353f8b9dabc5cc98473403cfe7383c49f", "candidate_eval_seconds": 26.675612211227417, "candidate_groups": {"term": {"long": {"n_configs": 19, "rel_mase_gmean": 0.7961637137411435, "rel_wql_gmean": 0.5007940348863654}, "medium": {"n_configs": 21, "rel_mase_gmean": 0.7484221381570295, "rel_wql_gmean": 0.485156960968829}, "short": {"n_configs": 54, "rel_mase_gmean": 0.7617928321348254, "rel_wql_gmean": 0.5553202191044332}}, "domain": {"Econ/Fin": {"n_configs": 6, "rel_mase_gmean": 0.8983375494012568, "rel_wql_gmean": 0.9111196456378068}, "Energy": {"n_configs": 32, "rel_mase_gmean": 0.8970999925485309, "rel_wql_gmean": 0.6465759688739209}, "Healthcare": {"n_configs": 5, "rel_mase_gmean": 0.6900039445090415, "rel_wql_gmean": 0.5873506576265198}, "Nature": {"n_configs": 15, "rel_mase_gmean": 0.753971127095037, "rel_wql_gmean": 0.35660829387334064}, "Sales": {"n_configs": 3, "rel_mase_gmean": 0.559306557818693, "rel_wql_gmean": 0.35840925915226857}, "Transport": {"n_configs": 14, "rel_mase_gmean": 0.6609125705540779, "rel_wql_gmean": 0.4922875880959694}, "Web/CloudOps": {"n_configs": 19, "rel_mase_gmean": 0.6788931301438412, "rel_wql_gmean": 0.46737025685144046}}, "frequency": {"A": {"n_configs": 1, "rel_mase_gmean": 0.5819217025358413, "rel_wql_gmean": 0.7362151675065224}, "D": {"n_configs": 15, "rel_mase_gmean": 0.7263619812328097, "rel_wql_gmean": 0.44648252900082386}, "H": {"n_configs": 30, "rel_mase_gmean": 0.7489365313492822, "rel_wql_gmean": 0.4825391145611769}, "M": {"n_configs": 4, "rel_mase_gmean": 0.8068542040559062, "rel_wql_gmean": 0.8311865589547313}, "Q": {"n_configs": 1, "rel_mase_gmean": 0.8304298982253768, "rel_wql_gmean": 0.8709755134471618}, "S": {"n_configs": 6, "rel_mase_gmean": 0.9042383200336376, "rel_wql_gmean": 0.5635594174773026}, "T": {"n_configs": 29, "rel_mase_gmean": 0.7542243885634808, "rel_wql_gmean": 0.5386059549725625}, "W": {"n_configs": 8, "rel_mase_gmean": 0.8531264230830305, "rel_wql_gmean": 0.6402967795704403}}, "variates": {"multivariate": {"n_configs": 42, "rel_mase_gmean": 0.7793372878914676, "rel_wql_gmean": 0.5133124388244873}, "univariate": {"n_configs": 52, "rel_mase_gmean": 0.7546525685383496, "rel_wql_gmean": 0.5395671141334875}}}, "control_groups": {"term": {"long": {"n_configs": 19, "rel_mase_gmean": 0.7965511154806201, "rel_wql_gmean": 0.5034490772862287}, "medium": {"n_configs": 21, "rel_mase_gmean": 0.7475606718658245, "rel_wql_gmean": 0.48624034441677194}, "short": {"n_configs": 54, "rel_mase_gmean": 0.7612052477427849, "rel_wql_gmean": 0.5556449965470085}}, "domain": {"Econ/Fin": {"n_configs": 6, "rel_mase_gmean": 0.89958164144685, "rel_wql_gmean": 0.9115144320697872}, "Energy": {"n_configs": 32, "rel_mase_gmean": 0.896485898505093, "rel_wql_gmean": 0.6474484136174568}, "Healthcare": {"n_configs": 5, "rel_mase_gmean": 0.6888981722703484, "rel_wql_gmean": 0.5885334564659844}, "Nature": {"n_configs": 15, "rel_mase_gmean": 0.7520768524740646, "rel_wql_gmean": 0.3570202752625398}, "Sales": {"n_configs": 3, "rel_mase_gmean": 0.5587359331147982, "rel_wql_gmean": 0.35793010096876227}, "Transport": {"n_configs": 14, "rel_mase_gmean": 0.660805281297565, "rel_wql_gmean": 0.49469607344952504}, "Web/CloudOps": {"n_configs": 19, "rel_mase_gmean": 0.6791821336817456, "rel_wql_gmean": 0.46839071952339456}}, "frequency": {"A": {"n_configs": 1, "rel_mase_gmean": 0.5812757221445022, "rel_wql_gmean": 0.7331639098314356}, "D": {"n_configs": 15, "rel_mase_gmean": 0.7257815402854406, "rel_wql_gmean": 0.44620200724347436}, "H": {"n_configs": 30, "rel_mase_gmean": 0.7487818727109079, "rel_wql_gmean": 0.48427195356442543}, "M": {"n_configs": 4, "rel_mase_gmean": 0.8071916126513461, "rel_wql_gmean": 0.8356014190262583}, "Q": {"n_configs": 1, "rel_mase_gmean": 0.8308749825896053, "rel_wql_gmean": 0.8716517553922709}, "S": {"n_configs": 6, "rel_mase_gmean": 0.904213435588803, "rel_wql_gmean": 0.5675780199167809}, "T": {"n_configs": 29, "rel_mase_gmean": 0.7537381736791354, "rel_wql_gmean": 0.539091137142719}, "W": {"n_configs": 8, "rel_mase_gmean": 0.8509266671504966, "rel_wql_gmean": 0.6398335731372661}}, "variates": {"multivariate": {"n_configs": 42, "rel_mase_gmean": 0.7792766449889658, "rel_wql_gmean": 0.5144707856195212}, "univariate": {"n_configs": 52, "rel_mase_gmean": 0.7538788385219328, "rel_wql_gmean": 0.5404416000493212}}}, "group_skill_delta": {"term": {"long": 0.0018256362898133593, "medium": 0.00032513775489051433, "short": -6.0791157643347304e-05}, "domain": {"Econ/Fin": 0.0008223572185477313, "Energy": 0.0002527633729961787, "Healthcare": 0.0001298555167734694, "Nature": -0.00035272546643028146, "Sales": -0.0005276844252504187, "Transport": 0.001347213227943067, "Web/CloudOps": 0.0007346247241569737}, "frequency": {"A": -0.0017204222675391012, "D": -0.00040644018907909363, "H": 0.0010162523283209213, "M": 0.002343664706180748, "Q": 0.0005580611792563861, "S": 0.0025307903614832927, "T": 8.14415756567044e-05, "W": -0.0012205150129873665}, "variates": {"multivariate": 0.0006886035795363732, "univariate": 0.00018941944022621282}}}, {"cutoff": "backcast3_evals", "candidate_skill": 0.3961657067203871, "control_skill": 0.3950124598405723, "delta": 0.0011532468798147733, "candidate_checkpoint": "4565c9b6447aab0d457738b65543c5cbee2a90f79e4a87dd9afa7f567aaf685a", "control_checkpoint": "6b640ad1ce200544da2d530578e59eb353f8b9dabc5cc98473403cfe7383c49f", "candidate_eval_seconds": 26.97839665412903, "candidate_groups": {"term": {"long": {"n_configs": 19, "rel_mase_gmean": 0.7600822781889456, "rel_wql_gmean": 0.47156145703998736}, "medium": {"n_configs": 20, "rel_mase_gmean": 0.7672561850318086, "rel_wql_gmean": 0.5262698059262596}, "short": {"n_configs": 54, "rel_mase_gmean": 0.7060643596741657, "rel_wql_gmean": 0.5002597010370469}}, "domain": {"Econ/Fin": {"n_configs": 6, "rel_mase_gmean": 0.8435836894499562, "rel_wql_gmean": 0.8286522484966601}, "Energy": {"n_configs": 32, "rel_mase_gmean": 0.8286134000476382, "rel_wql_gmean": 0.552199267649125}, "Healthcare": {"n_configs": 5, "rel_mase_gmean": 0.7590223214303585, "rel_wql_gmean": 0.6285189373705079}, "Nature": {"n_configs": 15, "rel_mase_gmean": 0.7073540721342023, "rel_wql_gmean": 0.3344540092898926}, "Sales": {"n_configs": 3, "rel_mase_gmean": 0.749361533677848, "rel_wql_gmean": 0.4742470990102958}, "Transport": {"n_configs": 14, "rel_mase_gmean": 0.5361846691866137, "rel_wql_gmean": 0.44176777190687744}, "Web/CloudOps": {"n_configs": 18, "rel_mase_gmean": 0.7123442250159027, "rel_wql_gmean": 0.5143913685997483}}, "frequency": {"A": {"n_configs": 1, "rel_mase_gmean": 0.5305604036884269, "rel_wql_gmean": 0.779803421151957}, "D": {"n_configs": 15, "rel_mase_gmean": 0.7107983893316233, "rel_wql_gmean": 0.4137604149503069}, "H": {"n_configs": 29, "rel_mase_gmean": 0.7200755579098317, "rel_wql_gmean": 0.4812770795680051}, "M": {"n_configs": 4, "rel_mase_gmean": 0.8335078176436748, "rel_wql_gmean": 0.8183553058482521}, "Q": {"n_configs": 1, "rel_mase_gmean": 0.715305611813047, "rel_wql_gmean": 0.768650862326446}, "S": {"n_configs": 6, "rel_mase_gmean": 0.8362260390859402, "rel_wql_gmean": 0.5930371374430102}, "T": {"n_configs": 29, "rel_mase_gmean": 0.7050883321055527, "rel_wql_gmean": 0.4629634772372099}, "W": {"n_configs": 8, "rel_mase_gmean": 0.8027681335712222, "rel_wql_gmean": 0.6622988737579344}}, "variates": {"multivariate": {"n_configs": 41, "rel_mase_gmean": 0.7582430169224578, "rel_wql_gmean": 0.5101819672871283}, "univariate": {"n_configs": 52, "rel_mase_gmean": 0.7079647802504616, "rel_wql_gmean": 0.4915435820229081}}}, "control_groups": {"term": {"long": {"n_configs": 19, "rel_mase_gmean": 0.7599778232892921, "rel_wql_gmean": 0.47414979341796676}, "medium": {"n_configs": 20, "rel_mase_gmean": 0.7672348822762877, "rel_wql_gmean": 0.5287703093503114}, "short": {"n_configs": 54, "rel_mase_gmean": 0.7061176910432736, "rel_wql_gmean": 0.501699365937218}}, "domain": {"Econ/Fin": {"n_configs": 6, "rel_mase_gmean": 0.8450238929299057, "rel_wql_gmean": 0.8287968523167164}, "Energy": {"n_configs": 32, "rel_mase_gmean": 0.8287237417525989, "rel_wql_gmean": 0.5534837186870216}, "Healthcare": {"n_configs": 5, "rel_mase_gmean": 0.7575935562899834, "rel_wql_gmean": 0.6315003633340103}, "Nature": {"n_configs": 15, "rel_mase_gmean": 0.7076556931072816, "rel_wql_gmean": 0.3366919094754201}, "Sales": {"n_configs": 3, "rel_mase_gmean": 0.7497066029652214, "rel_wql_gmean": 0.47462593240681566}, "Transport": {"n_configs": 14, "rel_mase_gmean": 0.5363319189417703, "rel_wql_gmean": 0.44423886834819754}, "Web/CloudOps": {"n_configs": 18, "rel_mase_gmean": 0.71171989190133, "rel_wql_gmean": 0.5165221199292769}}, "frequency": {"A": {"n_configs": 1, "rel_mase_gmean": 0.5305049486199563, "rel_wql_gmean": 0.7748462903644002}, "D": {"n_configs": 15, "rel_mase_gmean": 0.7121431317868887, "rel_wql_gmean": 0.4145144835788314}, "H": {"n_configs": 29, "rel_mase_gmean": 0.719562525136373, "rel_wql_gmean": 0.48383364301897663}, "M": {"n_configs": 4, "rel_mase_gmean": 0.8317622022092529, "rel_wql_gmean": 0.8214020589097163}, "Q": {"n_configs": 1, "rel_mase_gmean": 0.7154303032341603, "rel_wql_gmean": 0.7695070959424496}, "S": {"n_configs": 6, "rel_mase_gmean": 0.8351733673081517, "rel_wql_gmean": 0.5991170712501708}, "T": {"n_configs": 29, "rel_mase_gmean": 0.7049645906490642, "rel_wql_gmean": 0.4635720688691023}, "W": {"n_configs": 8, "rel_mase_gmean": 0.8041936712430771, "rel_wql_gmean": 0.6676297088347317}}, "variates": {"multivariate": {"n_configs": 41, "rel_mase_gmean": 0.7580934176036076, "rel_wql_gmean": 0.5121324030131259}, "univariate": {"n_configs": 52, "rel_mase_gmean": 0.708087351250063, "rel_wql_gmean": 0.49341443724470835}}}, "group_skill_delta": {"term": {"long": 0.0015995540392709229, "medium": 0.0014989739965263205, "short": 0.0008770395154084065}, "domain": {"Econ/Fin": 0.0007864054919420882, "Energy": 0.0008313438803890794, "Healthcare": 0.0009843228945447535, "Nature": 0.0017285978088057985, "Sales": 0.0003753492055548202, "Transport": 0.0014263063002810106, "Web/CloudOps": 0.0009865481512651986}, "frequency": {"A": -0.00208121262018246, "D": 0.0010071651112283364, "H": 0.0013511956487944898, "M": 0.0006690864341446501, "Q": 0.0004775407083540406, "S": 0.0031550000420319524, "T": 0.0003252367850553606, "W": 0.0035783370798538883}, "variates": {"multivariate": 0.0011262840063563928, "univariate": 0.001172720569471708}}}], "mean_delta": 0.0008081585367694932, "positive_cutoffs": 4, "outcome": "Declared primary6000/durability12000 diagnostic. No transfer formula or automatic publication is selected by this controller."} + +## E139: transfer the matched direct-width-head learning difference +2026-10-23T09:45:05.586904+00:00: E129primary6000 improves allfour matched E119cutoffs, deltas+0.000901578317/+0.000764302801/+0.000413506150/+0.001153246880,mean+0.000808158537. Fixed candidate first member=zero_extend(E117final first)+E129n-zero_extend(E119n), coefficient1, n6000primary and12000predeclared durability. E117 is extended with zero dispersion_query and width_head; E119 is extended only with zero width_head. Thus this transfers the matched width treatment, NOT the rejected E128dispersion correction; dispersion_query receives only its E129-minus-E119 difference. Othermembers frozen E71/E93/E79wide48000, equal quarters, everymemberforecastsallinstances. Match allfour diagnostics against E130; require3positive/meanpositive beforefull replay and improved full score plusallpackagechecks beforepublication. If12k E129matched replication comparison passes3of4/meanpositive, constructone12kdurability candidate; no coefficient/schedule sweep. Mergefixture769,0optimizerupdates; model/sourcecode seasonal_width. Declared before transfer diagnostics and before E12912k results. No publication yet. + +E123 logarithmic requested horizons seed197 training started at 2026-10-23T09:46:52Z, after the preceding trainer exited with its final checkpoint. Settings are unchanged from the declared comparison. + +## E139 width-treatment transfer6000 valid_screen +- Checkpoint SHA-256: `82d50d0b2f7abfb963562f5f7966644b05612a49725f066392c022ccd6ba18ca`. +- Evaluation: 97 configurations, 9473 instances, 0 failed configurations; 29.684224367141724 seconds. +- Overall skill 0.387281; relative MASE 0.733506; relative WQL 0.511821. +- term skill: long=0.4089, medium=0.4104, short=0.3696. +- domain skill: Econ/Fin=0.1462, Energy=0.2423, Healthcare=0.4723, Nature=0.4455, Sales=0.3387, Transport=0.4749, Web/CloudOps=0.5115. +- frequency skill: A=0.3746, D=0.3745, H=0.4081, M=0.1014, Q=0.2067, S=0.4255, T=0.4442, W=0.2252. +- variates skill: multivariate=0.4019, univariate=0.3754. +- Outcome: Fixed zero-extended E117first + E129 - zero-extended E119, coefficient1. No E128dispersion correction; no optimizer update. Equal-quarter ensemble selected separately. + +## E139 width-treatment transfer6000 valid_backcast +- Checkpoint SHA-256: `82d50d0b2f7abfb963562f5f7966644b05612a49725f066392c022ccd6ba18ca`. +- Evaluation: 97 configurations, 9330 instances, 0 failed configurations; 24.04444932937622 seconds. +- Overall skill 0.343524; relative MASE 0.788892; relative WQL 0.546286. +- term skill: long=0.3997, medium=0.3643, short=0.3123. +- domain skill: Econ/Fin=0.1778, Energy=0.2298, Healthcare=0.3716, Nature=0.3921, Sales=0.4041, Transport=0.3809, Web/CloudOps=0.4578. +- frequency skill: A=0.3222, D=0.3623, H=0.3789, M=0.1952, Q=0.2314, S=0.3395, T=0.3376, W=0.2891. +- variates skill: multivariate=0.3587, univariate=0.3312. +- Outcome: Fixed zero-extended E117first + E129 - zero-extended E119, coefficient1. No E128dispersion correction; no optimizer update. Equal-quarter ensemble selected separately. + +## E139 width-treatment transfer6000 valid_backcast2 +- Checkpoint SHA-256: `82d50d0b2f7abfb963562f5f7966644b05612a49725f066392c022ccd6ba18ca`. +- Evaluation: 94 configurations, 8934 instances, 0 failed configurations; 28.53399968147278 seconds. +- Overall skill 0.365608; relative MASE 0.764906; relative WQL 0.526148. +- term skill: long=0.3726, medium=0.3943, short=0.3516. +- domain skill: Econ/Fin=0.1343, Energy=0.2391, Healthcare=0.3004, Nature=0.4850, Sales=0.5506, Transport=0.4291, Web/CloudOps=0.4448. +- frequency skill: A=0.3474, D=0.4277, H=0.4001, M=0.1476, Q=0.1544, S=0.2867, T=0.3700, W=0.2611. +- variates skill: multivariate=0.3717, univariate=0.3607. +- Outcome: Fixed zero-extended E117first + E129 - zero-extended E119, coefficient1. No E128dispersion correction; no optimizer update. Equal-quarter ensemble selected separately. + +## E139 width-treatment transfer6000 valid_backcast3 +- Checkpoint SHA-256: `82d50d0b2f7abfb963562f5f7966644b05612a49725f066392c022ccd6ba18ca`. +- Evaluation: 93 configurations, 8812 instances, 0 failed configurations; 27.095674514770508 seconds. +- Overall skill 0.392582; relative MASE 0.738306; relative WQL 0.499735. +- term skill: long=0.3971, medium=0.3650, short=0.4009. +- domain skill: Econ/Fin=0.1858, Energy=0.3244, Healthcare=0.2332, Nature=0.5013, Sales=0.4069, Transport=0.5171, Web/CloudOps=0.3956. +- frequency skill: A=0.3609, D=0.4501, H=0.4099, M=0.1413, Q=0.2642, S=0.2792, T=0.4330, W=0.2513. +- variates skill: multivariate=0.3762, univariate=0.4052. +- Outcome: Fixed zero-extended E117first + E129 - zero-extended E119, coefficient1. No E128dispersion correction; no optimizer update. Equal-quarter ensemble selected separately. + +E139 fixed width-treatment equal-quarter ensemble diagnostics: {"duration": 6, "rows": [{"cutoff": "valid_screen", "skill": 0.3880317541577587, "control_skill": 0.3878507268780589, "delta": 0.00018102727969981913, "groups": {"term": {"short": 0.37174692534094356, "medium": 0.4104634567232286, "long": 0.40697243288781937}, "domain": {"Econ/Fin": 0.14882625072549704, "Energy": 0.24798215465423723, "Healthcare": 0.4800533641456496, "Nature": 0.4434996766578704, "Sales": 0.34247960895884155, "Transport": 0.47319081725353807, "Web/CloudOps": 0.5082390957555601}, "freq": {"A-DEC": 0.3831377797724955, "Q-DEC": 0.20484619744979937, "M": 0.12322323211250241, "W-SUN": 0.09482411725596462, "D": 0.3725900248579562, "H": 0.4026924018136455, "15T": 0.21607087174951745, "W-FRI": 0.019077364661426954, "10T": 0.6269864195810371, "W-TUE": 0.6126385479039982, "W-THU": 0.2269308168035562, "W-WED": 0.3226025717551765, "5T": 0.5238937427115736, "10S": 0.4235713253665808}}, "member_checkpoint_hashes": ["82d50d0b2f7abfb963562f5f7966644b05612a49725f066392c022ccd6ba18ca", "308389b7217c080af9eb185559d4ee3cafa0f3e0f8c4dd8f5526b68198c89988", "1a2fb20a9fb5cae6526f2e36ea47559626bece78fd9c284899836505030ae9fe", "227ea80abf17fc81ae191f94e91f6dd7adbc0d837235750b5f5e9cef3dd5472c"], "cpu_seconds": 2.101605588104576}, {"cutoff": "valid_backcast", "skill": 0.344700271930117, "control_skill": 0.34441110518308204, "delta": 0.0002891667470349413, "groups": {"term": {"short": 0.3123733008633256, "medium": 0.36351525826300657, "long": 0.40526909392977606}, "domain": {"Econ/Fin": 0.181371267409558, "Energy": 0.2355355115933655, "Healthcare": 0.4030193353550149, "Nature": 0.3795061657337149, "Sales": 0.407313911098664, "Transport": 0.3765089548038, "Web/CloudOps": 0.458989917661899}, "freq": {"A-DEC": 0.3349878164520893, "Q-DEC": 0.23292707808388236, "M": 0.197277759105973, "W-SUN": 0.05555987771454296, "D": 0.3621218591136165, "H": 0.3755645150692771, "15T": 0.22371892670670057, "W-FRI": 0.23921873033237973, "10T": 0.33344297150578384, "W-TUE": 0.5282042216778233, "W-THU": 0.2698543998117874, "W-WED": 0.3579008773064647, "5T": 0.4461284480238702, "10S": 0.3494794048194889}}, "member_checkpoint_hashes": ["82d50d0b2f7abfb963562f5f7966644b05612a49725f066392c022ccd6ba18ca", "308389b7217c080af9eb185559d4ee3cafa0f3e0f8c4dd8f5526b68198c89988", "1a2fb20a9fb5cae6526f2e36ea47559626bece78fd9c284899836505030ae9fe", "227ea80abf17fc81ae191f94e91f6dd7adbc0d837235750b5f5e9cef3dd5472c"], "cpu_seconds": 2.001161159016192}, {"cutoff": "valid_backcast2", "skill": 0.36868215125404136, "control_skill": 0.3685168155758046, "delta": 0.00016533567823673323, "groups": {"term": {"short": 0.3556510051989389, "medium": 0.3974721406909896, "long": 0.37275885646173146}, "domain": {"Econ/Fin": 0.1278350538167331, "Energy": 0.23989795894300459, "Healthcare": 0.36838771510735646, "Nature": 0.48237820683547394, "Sales": 0.5594074671789011, "Transport": 0.4268006508532327, "Web/CloudOps": 0.445710680939873}, "freq": {"A-DEC": 0.33817984357736863, "Q-DEC": 0.15210503488267746, "M": 0.17014378963809718, "W-SUN": 0.07856710253311194, "D": 0.4355973489550169, "H": 0.39996514193799704, "15T": 0.10556312446452143, "W-FRI": 0.15709622875745466, "10T": 0.5102288772231318, "W-TUE": 0.17252394296174955, "W-THU": 0.33373945734680255, "W-WED": 0.5583406030346321, "5T": 0.47724901525129293, "10S": 0.2913050773916448}}, "member_checkpoint_hashes": ["82d50d0b2f7abfb963562f5f7966644b05612a49725f066392c022ccd6ba18ca", "308389b7217c080af9eb185559d4ee3cafa0f3e0f8c4dd8f5526b68198c89988", "1a2fb20a9fb5cae6526f2e36ea47559626bece78fd9c284899836505030ae9fe", "227ea80abf17fc81ae191f94e91f6dd7adbc0d837235750b5f5e9cef3dd5472c"], "cpu_seconds": 2.130388882011175}, {"cutoff": "valid_backcast3", "skill": 0.39170266078452043, "control_skill": 0.3912834616582097, "delta": 0.00041919912631072087, "groups": {"term": {"short": 0.39670715103336707, "medium": 0.37262791492099, "long": 0.3971661588967441}, "domain": {"Econ/Fin": 0.18899820568391779, "Energy": 0.31993369866181876, "Healthcare": 0.23581997212058814, "Nature": 0.5089980057615181, "Sales": 0.3990322628469123, "Transport": 0.5095836076719016, "Web/CloudOps": 0.3974158416525724}, "freq": {"A-DEC": 0.35311095791291525, "Q-DEC": 0.2617586514931013, "M": 0.14978985778396314, "W-SUN": 0.17046968017254482, "D": 0.4417285783653847, "H": 0.4077405117239663, "15T": 0.26309995341217174, "W-FRI": 0.04575059601407794, "10T": 0.6023021299968281, "W-TUE": 0.28116664140750425, "W-THU": 0.3527749294198317, "W-WED": 0.3653636163804277, "5T": 0.4692890959676005, "10S": 0.28864130736535976}}, "member_checkpoint_hashes": ["82d50d0b2f7abfb963562f5f7966644b05612a49725f066392c022ccd6ba18ca", "308389b7217c080af9eb185559d4ee3cafa0f3e0f8c4dd8f5526b68198c89988", "1a2fb20a9fb5cae6526f2e36ea47559626bece78fd9c284899836505030ae9fe", "227ea80abf17fc81ae191f94e91f6dd7adbc0d837235750b5f5e9cef3dd5472c"], "cpu_seconds": 2.0130097379442304}], "positive_cutoffs": 4, "mean_delta": 0.0002636822078205536, "selection_gate_passed": true}. Full replay/runtime checks and comparison to current publication required before any promotion. + +E118 12000 four-cutoff comparison: {"label": "E118 12000 four-cutoff comparison", "utc": "2026-10-23T09:50:18.814803+00:00", "candidate": "long_seasonal_replication_ema12000", "control": "weekly_replication_control_ema12000", "rows": [{"cutoff": "evals", "candidate_skill": 0.38143987517227207, "control_skill": 0.37650125931885015, "delta": 0.004938615853421924, "candidate_checkpoint": "db021fe2a29e80abf906556b2e3627f61128cedc984c852d63ca9bc7d8af4c42", "control_checkpoint": "dc03098da92746d3974cdb5fd3df955a8b52e689260f1fdcd0dd7b63a91fe17e", "candidate_eval_seconds": 28.141856908798218, "candidate_groups": {"term": {"long": {"n_configs": 21, "rel_mase_gmean": 0.7387209289896919, "rel_wql_gmean": 0.4774699824212779}, "medium": {"n_configs": 21, "rel_mase_gmean": 0.7091967584947031, "rel_wql_gmean": 0.4940210001993474}, "short": {"n_configs": 55, "rel_mase_gmean": 0.7510955101931623, "rel_wql_gmean": 0.543458407121595}}, "domain": {"Econ/Fin": {"n_configs": 6, "rel_mase_gmean": 0.8758458401723871, "rel_wql_gmean": 0.845741731640819}, "Energy": {"n_configs": 32, "rel_mase_gmean": 0.8971412759810176, "rel_wql_gmean": 0.645625775233746}, "Healthcare": {"n_configs": 5, "rel_mase_gmean": 0.5890257461069864, "rel_wql_gmean": 0.5230728329155893}, "Nature": {"n_configs": 15, "rel_mase_gmean": 0.8000033466582953, "rel_wql_gmean": 0.39604235705150814}, "Sales": {"n_configs": 4, "rel_mase_gmean": 0.8575403415794559, "rel_wql_gmean": 0.5227534654265664}, "Transport": {"n_configs": 15, "rel_mase_gmean": 0.632302339335103, "rel_wql_gmean": 0.4326881039752555}, "Web/CloudOps": {"n_configs": 20, "rel_mase_gmean": 0.5608783032250865, "rel_wql_gmean": 0.4366719960689385}}, "frequency": {"A": {"n_configs": 1, "rel_mase_gmean": 0.6142099083816193, "rel_wql_gmean": 0.6417141201697275}, "D": {"n_configs": 15, "rel_mase_gmean": 0.7560740428216003, "rel_wql_gmean": 0.5191076131947409}, "H": {"n_configs": 31, "rel_mase_gmean": 0.7249774072939693, "rel_wql_gmean": 0.4950309821495769}, "M": {"n_configs": 5, "rel_mase_gmean": 0.9868972926114846, "rel_wql_gmean": 0.8492660442835309}, "Q": {"n_configs": 1, "rel_mase_gmean": 0.7750580859699931, "rel_wql_gmean": 0.8210487526626195}, "S": {"n_configs": 6, "rel_mase_gmean": 0.6555272835229642, "rel_wql_gmean": 0.5036801719831989}, "T": {"n_configs": 30, "rel_mase_gmean": 0.6911027159279228, "rel_wql_gmean": 0.4542264629034677}, "W": {"n_configs": 8, "rel_mase_gmean": 0.9130790737285582, "rel_wql_gmean": 0.6878939835146572}}, "variates": {"multivariate": {"n_configs": 43, "rel_mase_gmean": 0.7084528048450579, "rel_wql_gmean": 0.5121287241091885}, "univariate": {"n_configs": 54, "rel_mase_gmean": 0.764554441506531, "rel_wql_gmean": 0.5220703038894595}}}, "control_groups": {"term": {"long": {"n_configs": 21, "rel_mase_gmean": 0.7423258223657083, "rel_wql_gmean": 0.4798378587550141}, "medium": {"n_configs": 21, "rel_mase_gmean": 0.7111249588305558, "rel_wql_gmean": 0.49538817078279485}, "short": {"n_configs": 55, "rel_mase_gmean": 0.7597756683365868, "rel_wql_gmean": 0.549315763341069}}, "domain": {"Econ/Fin": {"n_configs": 6, "rel_mase_gmean": 0.8762263674617405, "rel_wql_gmean": 0.8476913606765002}, "Energy": {"n_configs": 32, "rel_mase_gmean": 0.8987732108050124, "rel_wql_gmean": 0.6471334751576476}, "Healthcare": {"n_configs": 5, "rel_mase_gmean": 0.5948687348643393, "rel_wql_gmean": 0.5267177864306672}, "Nature": {"n_configs": 15, "rel_mase_gmean": 0.8128769118735754, "rel_wql_gmean": 0.39851840033548724}, "Sales": {"n_configs": 4, "rel_mase_gmean": 0.8620781263218368, "rel_wql_gmean": 0.5254552749363837}, "Transport": {"n_configs": 15, "rel_mase_gmean": 0.6453101528855447, "rel_wql_gmean": 0.44256597733622044}, "Web/CloudOps": {"n_configs": 20, "rel_mase_gmean": 0.5641150034309002, "rel_wql_gmean": 0.4405242882875604}}, "frequency": {"A": {"n_configs": 1, "rel_mase_gmean": 0.6139497813449873, "rel_wql_gmean": 0.6412697752176224}, "D": {"n_configs": 15, "rel_mase_gmean": 0.777666349767693, "rel_wql_gmean": 0.5322826373815059}, "H": {"n_configs": 31, "rel_mase_gmean": 0.731819244718065, "rel_wql_gmean": 0.49938279418453085}, "M": {"n_configs": 5, "rel_mase_gmean": 0.9893475338694124, "rel_wql_gmean": 0.8514023810064989}, "Q": {"n_configs": 1, "rel_mase_gmean": 0.776277696224593, "rel_wql_gmean": 0.8210565395309606}, "S": {"n_configs": 6, "rel_mase_gmean": 0.6563690273254504, "rel_wql_gmean": 0.5051017721981628}, "T": {"n_configs": 30, "rel_mase_gmean": 0.6923405331571078, "rel_wql_gmean": 0.45563442430764384}, "W": {"n_configs": 8, "rel_mase_gmean": 0.9133906475951029, "rel_wql_gmean": 0.6864010897148384}}, "variates": {"multivariate": {"n_configs": 43, "rel_mase_gmean": 0.711455836842964, "rel_wql_gmean": 0.5141081604537986}, "univariate": {"n_configs": 54, "rel_mase_gmean": 0.7732304940182492, "rel_wql_gmean": 0.527763230728218}}}, "group_skill_delta": {"term": {"long": 0.002921727836160626, "medium": 0.0016236948456626044, "short": 0.007134702454007158}, "domain": {"Econ/Fin": 0.0011786012776597854, "Energy": 0.0015808147151352703, "Healthcare": 0.004686444258784839, "Nature": 0.006281730298146715, "Sales": 0.0035017027828952996, "Transport": 0.011350354056935519, "Web/CloudOps": 0.0036103480659039344}, "frequency": {"A": -0.0003503085363084635, "D": 0.01689509763954522, "H": 0.005459993728574308, "M": 0.0022879607474108887, "Q": 0.0006311758982900928, "S": 0.0011796467091428342, "T": 0.0013699871107134554, "W": -0.0007253944057105111}, "variates": {"multivariate": 0.0024406822113531845, "univariate": 0.0070293334740128}}}, {"cutoff": "backcast_evals", "candidate_skill": 0.34061463661902625, "control_skill": 0.3358947343072791, "delta": 0.004719902311747126, "candidate_checkpoint": "db021fe2a29e80abf906556b2e3627f61128cedc984c852d63ca9bc7d8af4c42", "control_checkpoint": "dc03098da92746d3974cdb5fd3df955a8b52e689260f1fdcd0dd7b63a91fe17e", "candidate_eval_seconds": 27.59094738960266, "candidate_groups": {"term": {"long": {"n_configs": 21, "rel_mase_gmean": 0.7750268330437599, "rel_wql_gmean": 0.4644560374641174}, "medium": {"n_configs": 21, "rel_mase_gmean": 0.7679120729474597, "rel_wql_gmean": 0.532394538078516}, "short": {"n_configs": 55, "rel_mase_gmean": 0.8092756122575947, "rel_wql_gmean": 0.5911601826351884}}, "domain": {"Econ/Fin": {"n_configs": 6, "rel_mase_gmean": 0.8702947344890727, "rel_wql_gmean": 0.8118690049288639}, "Energy": {"n_configs": 32, "rel_mase_gmean": 0.8884350933535451, "rel_wql_gmean": 0.6689071279929406}, "Healthcare": {"n_configs": 5, "rel_mase_gmean": 0.6515290315444144, "rel_wql_gmean": 0.563052922379826}, "Nature": {"n_configs": 15, "rel_mase_gmean": 0.907676767267535, "rel_wql_gmean": 0.42467410221988056}, "Sales": {"n_configs": 4, "rel_mase_gmean": 0.720975234361949, "rel_wql_gmean": 0.4895136768781546}, "Transport": {"n_configs": 15, "rel_mase_gmean": 0.7270314164655985, "rel_wql_gmean": 0.5204684797693607}, "Web/CloudOps": {"n_configs": 20, "rel_mase_gmean": 0.6625872075319881, "rel_wql_gmean": 0.45463965086023306}}, "frequency": {"A": {"n_configs": 1, "rel_mase_gmean": 0.632069475406581, "rel_wql_gmean": 0.7112871545588219}, "D": {"n_configs": 15, "rel_mase_gmean": 0.8195362583004446, "rel_wql_gmean": 0.4869333945501284}, "H": {"n_configs": 31, "rel_mase_gmean": 0.7688964365638882, "rel_wql_gmean": 0.5089763528043773}, "M": {"n_configs": 5, "rel_mase_gmean": 0.8498680901287304, "rel_wql_gmean": 0.7847522400534784}, "Q": {"n_configs": 1, "rel_mase_gmean": 0.7621120511536175, "rel_wql_gmean": 0.7673010164835131}, "S": {"n_configs": 6, "rel_mase_gmean": 0.85496425984934, "rel_wql_gmean": 0.5068421260836785}, "T": {"n_configs": 30, "rel_mase_gmean": 0.7701880585359794, "rel_wql_gmean": 0.5769571066612549}, "W": {"n_configs": 8, "rel_mase_gmean": 0.8729561696964779, "rel_wql_gmean": 0.5968019939540741}}, "variates": {"multivariate": {"n_configs": 43, "rel_mase_gmean": 0.7899758227963615, "rel_wql_gmean": 0.529207227131104}, "univariate": {"n_configs": 54, "rel_mase_gmean": 0.7948399949221965, "rel_wql_gmean": 0.5643740247582992}}}, "control_groups": {"term": {"long": {"n_configs": 21, "rel_mase_gmean": 0.7790696804591536, "rel_wql_gmean": 0.4675903653980333}, "medium": {"n_configs": 21, "rel_mase_gmean": 0.7721877709531506, "rel_wql_gmean": 0.5359033743134146}, "short": {"n_configs": 55, "rel_mase_gmean": 0.8157056524541806, "rel_wql_gmean": 0.595945142576227}}, "domain": {"Econ/Fin": {"n_configs": 6, "rel_mase_gmean": 0.8702083459344165, "rel_wql_gmean": 0.8095153005807372}, "Energy": {"n_configs": 32, "rel_mase_gmean": 0.8915064371785775, "rel_wql_gmean": 0.6716980091534934}, "Healthcare": {"n_configs": 5, "rel_mase_gmean": 0.6240249575542719, "rel_wql_gmean": 0.5402160092228716}, "Nature": {"n_configs": 15, "rel_mase_gmean": 0.935694134093894, "rel_wql_gmean": 0.4349550600914482}, "Sales": {"n_configs": 4, "rel_mase_gmean": 0.7315038063745323, "rel_wql_gmean": 0.4978004030239261}, "Transport": {"n_configs": 15, "rel_mase_gmean": 0.735787693330345, "rel_wql_gmean": 0.5289930405755158}, "Web/CloudOps": {"n_configs": 20, "rel_mase_gmean": 0.6650226795797447, "rel_wql_gmean": 0.45792804555178057}}, "frequency": {"A": {"n_configs": 1, "rel_mase_gmean": 0.6325356225251678, "rel_wql_gmean": 0.7103481618244573}, "D": {"n_configs": 15, "rel_mase_gmean": 0.8394331932394111, "rel_wql_gmean": 0.4979820769791658}, "H": {"n_configs": 31, "rel_mase_gmean": 0.7778562933336808, "rel_wql_gmean": 0.5158436068239591}, "M": {"n_configs": 5, "rel_mase_gmean": 0.8454913331318379, "rel_wql_gmean": 0.7816333262802584}, "Q": {"n_configs": 1, "rel_mase_gmean": 0.7629077893451893, "rel_wql_gmean": 0.7702380946329767}, "S": {"n_configs": 6, "rel_mase_gmean": 0.8544025093684732, "rel_wql_gmean": 0.5071247498858551}, "T": {"n_configs": 30, "rel_mase_gmean": 0.7689059517346652, "rel_wql_gmean": 0.5775992603673705}, "W": {"n_configs": 8, "rel_mase_gmean": 0.8751544074195073, "rel_wql_gmean": 0.5931769268978029}}, "variates": {"multivariate": {"n_configs": 43, "rel_mase_gmean": 0.7925885195053555, "rel_wql_gmean": 0.5316423918477458}, "univariate": {"n_configs": 54, "rel_mase_gmean": 0.8025184091177678, "rel_wql_gmean": 0.5698895064907624}}}, "group_skill_delta": {"term": {"long": 0.0035890893532852797, "medium": 0.003887027467982529, "short": 0.005547081250184327}, "domain": {"Econ/Fin": -0.0012610064603308935, "Energy": 0.0029406593819746307, "Healthcare": -0.02506731684725938, "Nature": 0.01709394079797677, "Sales": 0.009365737541987995, "Transport": 0.008740482680035688, "Web/CloudOps": 0.002992758665532058}, "frequency": {"A": -0.00019568717236961852, "D": 0.014835117409109921, "H": 0.007864892077899865, "M": -0.0037258810104657814, "Q": 0.0018620474427203382, "S": -3.284729439079204e-05, "T": -0.00018451554590293018, "W": -0.0012900170359010366}, "variates": {"multivariate": 0.0025567012317949667, "univariate": 0.006507807373265728}}}, {"cutoff": "backcast2_evals", "candidate_skill": 0.3634886085731699, "control_skill": 0.35985891378123624, "delta": 0.0036296947919336464, "candidate_checkpoint": "db021fe2a29e80abf906556b2e3627f61128cedc984c852d63ca9bc7d8af4c42", "control_checkpoint": "dc03098da92746d3974cdb5fd3df955a8b52e689260f1fdcd0dd7b63a91fe17e", "candidate_eval_seconds": 28.65201234817505, "candidate_groups": {"term": {"long": {"n_configs": 19, "rel_mase_gmean": 0.7979339375294328, "rel_wql_gmean": 0.5031687023634543}, "medium": {"n_configs": 21, "rel_mase_gmean": 0.7517105222461405, "rel_wql_gmean": 0.4892541087028114}, "short": {"n_configs": 54, "rel_mase_gmean": 0.7609992194334069, "rel_wql_gmean": 0.5545688770684942}}, "domain": {"Econ/Fin": {"n_configs": 6, "rel_mase_gmean": 0.8873807551276736, "rel_wql_gmean": 0.9093265549869165}, "Energy": {"n_configs": 32, "rel_mase_gmean": 0.8956398235921643, "rel_wql_gmean": 0.6483653832582555}, "Healthcare": {"n_configs": 5, "rel_mase_gmean": 0.6952661999275426, "rel_wql_gmean": 0.5936962934257054}, "Nature": {"n_configs": 15, "rel_mase_gmean": 0.761731002314024, "rel_wql_gmean": 0.35442280401471654}, "Sales": {"n_configs": 3, "rel_mase_gmean": 0.5539411001711044, "rel_wql_gmean": 0.35520389573354616}, "Transport": {"n_configs": 14, "rel_mase_gmean": 0.659555354887592, "rel_wql_gmean": 0.49395721637685036}, "Web/CloudOps": {"n_configs": 19, "rel_mase_gmean": 0.6813938014578171, "rel_wql_gmean": 0.47069748314484394}}, "frequency": {"A": {"n_configs": 1, "rel_mase_gmean": 0.5794197948834124, "rel_wql_gmean": 0.7245475951431574}, "D": {"n_configs": 15, "rel_mase_gmean": 0.7206962810623505, "rel_wql_gmean": 0.44288001392257026}, "H": {"n_configs": 30, "rel_mase_gmean": 0.7532809555218374, "rel_wql_gmean": 0.48608171516723486}, "M": {"n_configs": 4, "rel_mase_gmean": 0.7940742107722347, "rel_wql_gmean": 0.8263573179324762}, "Q": {"n_configs": 1, "rel_mase_gmean": 0.8266970748771869, "rel_wql_gmean": 0.8663850701039977}, "S": {"n_configs": 6, "rel_mase_gmean": 0.9067302485516102, "rel_wql_gmean": 0.5663452379244183}, "T": {"n_configs": 29, "rel_mase_gmean": 0.755670252212079, "rel_wql_gmean": 0.5405076823867628}, "W": {"n_configs": 8, "rel_mase_gmean": 0.8555340530410969, "rel_wql_gmean": 0.6409546763971603}}, "variates": {"multivariate": {"n_configs": 42, "rel_mase_gmean": 0.7822914405953071, "rel_wql_gmean": 0.5150446640209236}, "univariate": {"n_configs": 52, "rel_mase_gmean": 0.7534790730878452, "rel_wql_gmean": 0.5401056636501812}}}, "control_groups": {"term": {"long": {"n_configs": 19, "rel_mase_gmean": 0.8013559838363913, "rel_wql_gmean": 0.5054128770623004}, "medium": {"n_configs": 21, "rel_mase_gmean": 0.75788321794871, "rel_wql_gmean": 0.49421017421244823}, "short": {"n_configs": 54, "rel_mase_gmean": 0.7639898471755044, "rel_wql_gmean": 0.5577406704739787}}, "domain": {"Econ/Fin": {"n_configs": 6, "rel_mase_gmean": 0.884582495524887, "rel_wql_gmean": 0.9052218281574911}, "Energy": {"n_configs": 32, "rel_mase_gmean": 0.8962501330896433, "rel_wql_gmean": 0.6495487799423033}, "Healthcare": {"n_configs": 5, "rel_mase_gmean": 0.6926973403721509, "rel_wql_gmean": 0.5937869785059188}, "Nature": {"n_configs": 15, "rel_mase_gmean": 0.7713675171303247, "rel_wql_gmean": 0.3616973051331611}, "Sales": {"n_configs": 3, "rel_mase_gmean": 0.5592522419628495, "rel_wql_gmean": 0.35866016979444243}, "Transport": {"n_configs": 14, "rel_mase_gmean": 0.6679748662601066, "rel_wql_gmean": 0.501187884126286}, "Web/CloudOps": {"n_configs": 19, "rel_mase_gmean": 0.6844749650355838, "rel_wql_gmean": 0.4715640721636921}}, "frequency": {"A": {"n_configs": 1, "rel_mase_gmean": 0.5794331362019375, "rel_wql_gmean": 0.7249032130584426}, "D": {"n_configs": 15, "rel_mase_gmean": 0.7274908943977823, "rel_wql_gmean": 0.447185381910289}, "H": {"n_configs": 30, "rel_mase_gmean": 0.7592674956924574, "rel_wql_gmean": 0.4915230345874937}, "M": {"n_configs": 4, "rel_mase_gmean": 0.8160225626258149, "rel_wql_gmean": 0.8474243321015386}, "Q": {"n_configs": 1, "rel_mase_gmean": 0.8281711532324068, "rel_wql_gmean": 0.8673446644194264}, "S": {"n_configs": 6, "rel_mase_gmean": 0.9115517503849181, "rel_wql_gmean": 0.567299277514214}, "T": {"n_configs": 29, "rel_mase_gmean": 0.7565118858787296, "rel_wql_gmean": 0.5413823048088119}, "W": {"n_configs": 8, "rel_mase_gmean": 0.8461374522214398, "rel_wql_gmean": 0.6382218477885009}}, "variates": {"multivariate": {"n_configs": 42, "rel_mase_gmean": 0.7845688942217784, "rel_wql_gmean": 0.5172999150208025}, "univariate": {"n_configs": 52, "rel_mase_gmean": 0.7584619130014335, "rel_wql_gmean": 0.5444927422951403}}}, "group_skill_delta": {"term": {"long": 0.0027717516851422097, "medium": 0.005561254867336496, "short": 0.0031339914168337923}, "domain": {"Econ/Fin": -0.0034439799050458575, "Energy": 0.0009549465604122842, "Healthcare": -0.0011390306533090033, "Nature": 0.00861494586213929, "Sales": 0.0042845945669905405, "Transport": 0.007820517934064686, "Web/CloudOps": 0.0018012534719821227}, "frequency": {"A": 0.00016644892837114345, "D": 0.005409262153120986, "H": 0.0057905615066219385, "M": 0.021520279148344645, "Q": 0.001223154328716336, "S": 0.002507660417394919, "T": 0.0008729573481850439, "W": -0.00564950788779961}, "variates": {"multivariate": 0.0023135175521127316, "univariate": 0.0047000259684004675}}}, {"cutoff": "backcast3_evals", "candidate_skill": 0.3943023790374164, "control_skill": 0.388556531456951, "delta": 0.005745847580465369, "candidate_checkpoint": "db021fe2a29e80abf906556b2e3627f61128cedc984c852d63ca9bc7d8af4c42", "control_checkpoint": "dc03098da92746d3974cdb5fd3df955a8b52e689260f1fdcd0dd7b63a91fe17e", "candidate_eval_seconds": 27.054030179977417, "candidate_groups": {"term": {"long": {"n_configs": 19, "rel_mase_gmean": 0.7614581674687556, "rel_wql_gmean": 0.47713168997385613}, "medium": {"n_configs": 20, "rel_mase_gmean": 0.763155807467953, "rel_wql_gmean": 0.527881218926757}, "short": {"n_configs": 54, "rel_mase_gmean": 0.7080535789039192, "rel_wql_gmean": 0.502206170658625}}, "domain": {"Econ/Fin": {"n_configs": 6, "rel_mase_gmean": 0.8399782271529793, "rel_wql_gmean": 0.8468463431331842}, "Energy": {"n_configs": 32, "rel_mase_gmean": 0.8280279149960056, "rel_wql_gmean": 0.5521607358800456}, "Healthcare": {"n_configs": 5, "rel_mase_gmean": 0.7634445488727849, "rel_wql_gmean": 0.6498400190900193}, "Nature": {"n_configs": 15, "rel_mase_gmean": 0.7147165005724686, "rel_wql_gmean": 0.3370924827377741}, "Sales": {"n_configs": 3, "rel_mase_gmean": 0.7472792918336342, "rel_wql_gmean": 0.4748198841860076}, "Transport": {"n_configs": 14, "rel_mase_gmean": 0.5368064984461026, "rel_wql_gmean": 0.4441624330587873}, "Web/CloudOps": {"n_configs": 18, "rel_mase_gmean": 0.7097838608816313, "rel_wql_gmean": 0.514446028980707}}, "frequency": {"A": {"n_configs": 1, "rel_mase_gmean": 0.5330343006916491, "rel_wql_gmean": 0.8373654758558289}, "D": {"n_configs": 15, "rel_mase_gmean": 0.7156020798224476, "rel_wql_gmean": 0.4146576329269315}, "H": {"n_configs": 29, "rel_mase_gmean": 0.7194889038392792, "rel_wql_gmean": 0.4825765897020932}, "M": {"n_configs": 4, "rel_mase_gmean": 0.8488669982115364, "rel_wql_gmean": 0.8419122250539668}, "Q": {"n_configs": 1, "rel_mase_gmean": 0.712681896042176, "rel_wql_gmean": 0.7723553807508527}, "S": {"n_configs": 6, "rel_mase_gmean": 0.8377146489365882, "rel_wql_gmean": 0.5993714084744902}, "T": {"n_configs": 29, "rel_mase_gmean": 0.7028536424030993, "rel_wql_gmean": 0.4624405725314098}, "W": {"n_configs": 8, "rel_mase_gmean": 0.8036808005194592, "rel_wql_gmean": 0.6759113276790494}}, "variates": {"multivariate": {"n_configs": 41, "rel_mase_gmean": 0.7563804722547655, "rel_wql_gmean": 0.5094859554824934}, "univariate": {"n_configs": 52, "rel_mase_gmean": 0.7104189888412888, "rel_wql_gmean": 0.49676960319334235}}}, "control_groups": {"term": {"long": {"n_configs": 19, "rel_mase_gmean": 0.7663754402347989, "rel_wql_gmean": 0.4788938791084861}, "medium": {"n_configs": 20, "rel_mase_gmean": 0.7658739230595875, "rel_wql_gmean": 0.529347553216718}, "short": {"n_configs": 54, "rel_mase_gmean": 0.7178692269632083, "rel_wql_gmean": 0.5086998134122838}}, "domain": {"Econ/Fin": {"n_configs": 6, "rel_mase_gmean": 0.8358354885094386, "rel_wql_gmean": 0.8418146966445984}, "Energy": {"n_configs": 32, "rel_mase_gmean": 0.8338897723615496, "rel_wql_gmean": 0.5562121498093919}, "Healthcare": {"n_configs": 5, "rel_mase_gmean": 0.8060949747388733, "rel_wql_gmean": 0.6796354438827096}, "Nature": {"n_configs": 15, "rel_mase_gmean": 0.7222059595204405, "rel_wql_gmean": 0.3416807049403571}, "Sales": {"n_configs": 3, "rel_mase_gmean": 0.7557238523302612, "rel_wql_gmean": 0.47948838435897584}, "Transport": {"n_configs": 14, "rel_mase_gmean": 0.5443370693639568, "rel_wql_gmean": 0.4497401377123374}, "Web/CloudOps": {"n_configs": 18, "rel_mase_gmean": 0.7130988319811894, "rel_wql_gmean": 0.5141627844030099}}, "frequency": {"A": {"n_configs": 1, "rel_mase_gmean": 0.5331048942504498, "rel_wql_gmean": 0.8394069703462528}, "D": {"n_configs": 15, "rel_mase_gmean": 0.7335602695405524, "rel_wql_gmean": 0.42553600401076375}, "H": {"n_configs": 29, "rel_mase_gmean": 0.7260346680667362, "rel_wql_gmean": 0.4869693265129284}, "M": {"n_configs": 4, "rel_mase_gmean": 0.881837749964207, "rel_wql_gmean": 0.8756527000622875}, "Q": {"n_configs": 1, "rel_mase_gmean": 0.7161603254136085, "rel_wql_gmean": 0.7742932145513032}, "S": {"n_configs": 6, "rel_mase_gmean": 0.8420519451582145, "rel_wql_gmean": 0.5981276922561349}, "T": {"n_configs": 29, "rel_mase_gmean": 0.7039614590005732, "rel_wql_gmean": 0.46207823333750453}, "W": {"n_configs": 8, "rel_mase_gmean": 0.810577145353702, "rel_wql_gmean": 0.6793951900954402}}, "variates": {"multivariate": {"n_configs": 41, "rel_mase_gmean": 0.7616930972618384, "rel_wql_gmean": 0.5118981392017699}, "univariate": {"n_configs": 52, "rel_mase_gmean": 0.7193535077794512, "rel_wql_gmean": 0.5027824181292397}}}, "group_skill_delta": {"term": {"long": 0.0030587204091698794, "medium": 0.0020118051577781015, "short": 0.007988467440151692}, "domain": {"Econ/Fin": -0.004585528987425813, "Energy": 0.004874050603654867, "Healthcare": 0.035813776933601216, "Nature": 0.005911615406058501, "Sales": 0.006293859142192937, "Transport": 0.0064908035304042655, "Web/CloudOps": 0.0012426906558737905}, "frequency": {"A": 0.0008581975930802566, "D": 0.013980334142363549, "H": 0.005362258994278446, "M": 0.03335732356890664, "Q": 0.0027407788769321373, "S": 0.0010945510822769622, "T": 0.0002255482293131994, "W": 0.00506059561025618}, "variates": {"multivariate": 0.0036492394557235963, "univariate": 0.007330830293845181}}}], "mean_delta": 0.004758515134392016, "positive_cutoffs": 4, "outcome": "Declared primary6000/durability12000 diagnostic. No transfer formula or automatic publication is selected by this controller."} + +## E133 equal-seed seasonal correction12000 valid_screen +- Checkpoint SHA-256: `7536ba6a485c65a3c5ff64791aedb2ae97ce1a3f011b010152ab8d396d67b5f1`. +- Evaluation: 97 configurations, 9473 instances, 0 failed configurations; 27.239246129989624 seconds. +- Overall skill 0.386677; relative MASE 0.733124; relative WQL 0.513099. +- term skill: long=0.4077, medium=0.4094, short=0.3694. +- domain skill: Econ/Fin=0.1473, Energy=0.2415, Healthcare=0.4717, Nature=0.4443, Sales=0.3394, Transport=0.4736, Web/CloudOps=0.5116. +- frequency skill: A=0.3770, D=0.3747, H=0.4065, M=0.0987, Q=0.2065, S=0.4256, T=0.4440, W=0.2250. +- variates skill: multivariate=0.4014, univariate=0.3747. +- Outcome: Conditional fixed coefficient0.5 mean of197/523 matched seasonal corrections; no optimizer update. Fixed equal-quarter ensemble selected separately. + +## E133 equal-seed seasonal correction12000 valid_backcast +- Checkpoint SHA-256: `7536ba6a485c65a3c5ff64791aedb2ae97ce1a3f011b010152ab8d396d67b5f1`. +- Evaluation: 97 configurations, 9330 instances, 0 failed configurations; 28.115806102752686 seconds. +- Overall skill 0.342371; relative MASE 0.789258; relative WQL 0.547952. +- term skill: long=0.3985, medium=0.3632, short=0.3112. +- domain skill: Econ/Fin=0.1773, Energy=0.2289, Healthcare=0.3694, Nature=0.3897, Sales=0.4041, Transport=0.3794, Web/CloudOps=0.4573. +- frequency skill: A=0.3233, D=0.3608, H=0.3768, M=0.1928, Q=0.2304, S=0.3391, T=0.3376, W=0.2878. +- variates skill: multivariate=0.3581, univariate=0.3296. +- Outcome: Conditional fixed coefficient0.5 mean of197/523 matched seasonal corrections; no optimizer update. Fixed equal-quarter ensemble selected separately. + +## E133 equal-seed seasonal correction12000 valid_backcast2 +- Checkpoint SHA-256: `7536ba6a485c65a3c5ff64791aedb2ae97ce1a3f011b010152ab8d396d67b5f1`. +- Evaluation: 94 configurations, 8934 instances, 0 failed configurations; 26.665321111679077 seconds. +- Overall skill 0.364812; relative MASE 0.764623; relative WQL 0.527663. +- term skill: long=0.3704, medium=0.3935, short=0.3513. +- domain skill: Econ/Fin=0.1335, Energy=0.2389, Healthcare=0.2996, Nature=0.4845, Sales=0.5511, Transport=0.4273, Web/CloudOps=0.4436. +- frequency skill: A=0.3490, D=0.4281, H=0.3981, M=0.1474, Q=0.1534, S=0.2827, T=0.3700, W=0.2610. +- variates skill: multivariate=0.3706, univariate=0.3601. +- Outcome: Conditional fixed coefficient0.5 mean of197/523 matched seasonal corrections; no optimizer update. Fixed equal-quarter ensemble selected separately. + +## E133 equal-seed seasonal correction12000 valid_backcast3 +- Checkpoint SHA-256: `7536ba6a485c65a3c5ff64791aedb2ae97ce1a3f011b010152ab8d396d67b5f1`. +- Evaluation: 93 configurations, 8812 instances, 0 failed configurations; 28.653014183044434 seconds. +- Overall skill 0.391369; relative MASE 0.738034; relative WQL 0.501918. +- term skill: long=0.3956, medium=0.3633, short=0.4000. +- domain skill: Econ/Fin=0.1856, Energy=0.3240, Healthcare=0.2323, Nature=0.4987, Sales=0.4068, Transport=0.5156, Web/CloudOps=0.3942. +- frequency skill: A=0.3628, D=0.4482, H=0.4085, M=0.1414, Q=0.2652, S=0.2758, T=0.4325, W=0.2498. +- variates skill: multivariate=0.3752, univariate=0.4038. +- Outcome: Conditional fixed coefficient0.5 mean of197/523 matched seasonal corrections; no optimizer update. Fixed equal-quarter ensemble selected separately. + +E133 fixed equal-seed ensemble diagnostics: {"pid": 26167, "status": "complete; review before full replay", "gates": [{"step": 6000, "passed": true, "positive_cutoffs": 4, "mean_delta": 0.004591270374809914}, {"step": 12000, "passed": true, "positive_cutoffs": 4, "mean_delta": 0.004758515134392016}], "steps": [{"label": "literal equal-seed correction", "returncode": 0, "seconds": 5.973382799187675}, {"label": "averaged first member four cutoffs", "returncode": 0, "seconds": 222.38261847989634}, {"label": "record first member valid_screen", "returncode": 0, "seconds": 0.053908178117126226}, {"label": "fixed equal quarters valid_screen", "returncode": 0, "seconds": 2.1986292800866067}, {"label": "record first member valid_backcast", "returncode": 0, "seconds": 0.03650985099375248}, {"label": "fixed equal quarters valid_backcast", "returncode": 0, "seconds": 2.4613293861038983}, {"label": "record first member valid_backcast2", "returncode": 0, "seconds": 0.046597677981480956}, {"label": "fixed equal quarters valid_backcast2", "returncode": 0, "seconds": 2.7123846088070422}, {"label": "record first member valid_backcast3", "returncode": 0, "seconds": 0.035643117036670446}, {"label": "fixed equal quarters valid_backcast3", "returncode": 0, "seconds": 2.093629617942497}], "started_utc": "2026-10-23T09:09:36.735017+00:00", "seconds": 2682.319190497976, "results": [{"cutoff": "valid_screen", "skill": 0.38785477359333786, "control_skill": 0.3878507268780589, "delta": 4.046715278982482e-06, "groups": {"term": {"short": 0.3716688240670073, "medium": 0.4102061312283073, "long": 0.40663213236586226}, "domain": {"Econ/Fin": 0.14910671083514682, "Energy": 0.24779407759100036, "Healthcare": 0.4796362241251608, "Nature": 0.4432257200931151, "Sales": 0.34263328492967204, "Transport": 0.47281367736453117, "Web/CloudOps": 0.5082186463976825}, "freq": {"A-DEC": 0.38361040506867294, "Q-DEC": 0.2047727574845134, "M": 0.12235083900991339, "W-SUN": 0.09504638639083018, "D": 0.3726119388862481, "H": 0.40231866250150483, "15T": 0.2160294681894075, "W-FRI": 0.019025160984217138, "10T": 0.6268611393112872, "W-TUE": 0.6127482002482068, "W-THU": 0.22649492107079372, "W-WED": 0.322412323258104, "5T": 0.5238514547309681, "10S": 0.42360793679136877}}, "member_checkpoint_hashes": ["7536ba6a485c65a3c5ff64791aedb2ae97ce1a3f011b010152ab8d396d67b5f1", "308389b7217c080af9eb185559d4ee3cafa0f3e0f8c4dd8f5526b68198c89988", "1a2fb20a9fb5cae6526f2e36ea47559626bece78fd9c284899836505030ae9fe", "227ea80abf17fc81ae191f94e91f6dd7adbc0d837235750b5f5e9cef3dd5472c"], "cpu_seconds": 2.025519290007651}, {"cutoff": "valid_backcast", "skill": 0.3443769768533582, "control_skill": 0.34441110518308204, "delta": -3.4128329723825956e-05, "groups": {"term": {"short": 0.3120715038835057, "medium": 0.36323690871433056, "long": 0.40485751694448247}, "domain": {"Econ/Fin": 0.18132606483484726, "Energy": 0.2352649367029942, "Healthcare": 0.40246542897179693, "Nature": 0.37896904212325055, "Sales": 0.40730909035583496, "Transport": 0.3760850708501421, "Web/CloudOps": 0.45876412740906936}, "freq": {"A-DEC": 0.33522309274397843, "Q-DEC": 0.2326549879741392, "M": 0.19676557042031928, "W-SUN": 0.055587438311497706, "D": 0.36169717439461113, "H": 0.37498125694225815, "15T": 0.22378951311057127, "W-FRI": 0.23940264536567812, "10T": 0.33326681335631403, "W-TUE": 0.5281002284753433, "W-THU": 0.2692759146010608, "W-WED": 0.3578859908552052, "5T": 0.446077101202502, "10S": 0.3492609613018596}}, "member_checkpoint_hashes": ["7536ba6a485c65a3c5ff64791aedb2ae97ce1a3f011b010152ab8d396d67b5f1", "308389b7217c080af9eb185559d4ee3cafa0f3e0f8c4dd8f5526b68198c89988", "1a2fb20a9fb5cae6526f2e36ea47559626bece78fd9c284899836505030ae9fe", "227ea80abf17fc81ae191f94e91f6dd7adbc0d837235750b5f5e9cef3dd5472c"], "cpu_seconds": 2.254887686111033}, {"cutoff": "valid_backcast2", "skill": 0.36841439344351123, "control_skill": 0.3685168155758046, "delta": -0.00010242213229338937, "groups": {"term": {"short": 0.35552365985295686, "medium": 0.3971638855088674, "long": 0.37214956870206606}, "domain": {"Econ/Fin": 0.1277548758760082, "Energy": 0.2398498072114984, "Healthcare": 0.36787885831191636, "Nature": 0.4821151755691415, "Sales": 0.5595396999848431, "Transport": 0.4262953026044375, "Web/CloudOps": 0.44529635994193606}, "freq": {"A-DEC": 0.3386271977921971, "Q-DEC": 0.1518556119745832, "M": 0.1700427088684615, "W-SUN": 0.07891128103101364, "D": 0.43569590527514224, "H": 0.3994239112440673, "15T": 0.1057285187519148, "W-FRI": 0.15752145079538982, "10T": 0.5102086564402654, "W-TUE": 0.1723122815774616, "W-THU": 0.3323162174688119, "W-WED": 0.5583938634798413, "5T": 0.4771079073110027, "10S": 0.29027439342671546}}, "member_checkpoint_hashes": ["7536ba6a485c65a3c5ff64791aedb2ae97ce1a3f011b010152ab8d396d67b5f1", "308389b7217c080af9eb185559d4ee3cafa0f3e0f8c4dd8f5526b68198c89988", "1a2fb20a9fb5cae6526f2e36ea47559626bece78fd9c284899836505030ae9fe", "227ea80abf17fc81ae191f94e91f6dd7adbc0d837235750b5f5e9cef3dd5472c"], "cpu_seconds": 2.4400427860673517}, {"cutoff": "valid_backcast3", "skill": 0.3913542571468349, "control_skill": 0.3912834616582097, "delta": 7.079548862520824e-05, "groups": {"term": {"short": 0.3964180019964655, "medium": 0.3721100151164026, "long": 0.39682110562604944}, "domain": {"Econ/Fin": 0.18900810965416615, "Energy": 0.3197848021845332, "Healthcare": 0.23556871517140554, "Nature": 0.5082105126117362, "Sales": 0.39899103549503967, "Transport": 0.509194768973212, "Web/CloudOps": 0.3971032627533564}, "freq": {"A-DEC": 0.3535777547272728, "Q-DEC": 0.2620099084176857, "M": 0.14996383163337845, "W-SUN": 0.1706123710194779, "D": 0.44116674873533124, "H": 0.40736720014009664, "15T": 0.26291011118119134, "W-FRI": 0.045188100099548656, "10T": 0.6020458063592252, "W-TUE": 0.2794904572630179, "W-THU": 0.35227177770877793, "W-WED": 0.3653817058269325, "5T": 0.46918117859237574, "10S": 0.28781180529292705}}, "member_checkpoint_hashes": ["7536ba6a485c65a3c5ff64791aedb2ae97ce1a3f011b010152ab8d396d67b5f1", "308389b7217c080af9eb185559d4ee3cafa0f3e0f8c4dd8f5526b68198c89988", "1a2fb20a9fb5cae6526f2e36ea47559626bece78fd9c284899836505030ae9fe", "227ea80abf17fc81ae191f94e91f6dd7adbc0d837235750b5f5e9cef3dd5472c"], "cpu_seconds": 1.9175813610199839}], "positive_cutoffs": 2, "mean_delta": -1.542706452825615e-05, "selection_gate_passed": false}. No automatic publication. + +2026-10-23T09:56:25.284546+00:00: E133 conditional seasonal seed average rejected at diagnostics: source replication E118 passed both6k and12k (4of4each, mean+0.004591270375/+0.004758515134), but literal averaged correction7536ba6a485c65a3c5ff64791aedb2ae97ce1a3f011b010152ab8d396d67b5f1 gives ensemble deltas+0.000004046715/-0.000034128330/-0.000102422132/+0.000070795489 versus frozenE130, only2of4positive, mean-0.0000154270645283. No full replay/publication or coefficient alternatives. CPU merge3.657563774s, nooptimizerupdates; selection controller2682.319190498s includes dependency waiting, first-member4cutoffs222.382618480s. Replication source finalSHA db021fe2a29e80abf906556b2e3627f61128cedc984c852d63ca9bc7d8af4c42, main0.38143987517227207, trainingloop2564.504476471s. E123log_horizon started after its completion. + +2026-10-23T09:56:25.284546+00:00: E138 engineering implementation, no selection training queued yet. Initial6340gateSHA9d1401cd4d5b5f1c3ddd25a4a74e15e5db7ef708116cdf5c4fa7e90580b58da1. Independent scalar CPUaudit caught float32 subtraction cancellation in normalized expert disagreement (0.000256836414337 at constant-context fixture); fixed feature computation tofloat64 thenfloat32 MLP. Model arithmetic changed before anytraining; original failed logs retained, audit tolerance unchanged. Final scalar error6.556510925292969e-7, padding0, rowpermutation and initial equal-quarters bitwise, CPU0.107544080s. GPUaudit first failed missing frequency export (fixed), then mismatched auditbatch12 against cachedbatch4 (corrected fixtureto4; no modelchange/tolerance relaxation). SuccessfulGPU761: allfour expert outputs and zerohead ensemble bitwise match E130 on both syntheticconfigs including1e22contexts; B64C4096H1024, finite nonzero gradients through everygate layer with temporaryhead, no expert gradients,2048.220214844MiBallocated/2472MiBreserved includinggateAdam/EMAplaceholders,27.484272173s including4.875554147lockwait,0optimizerupdates. Optional --gate-package trainer branch implemented; gateonlyoptimizer/EMA, frozenexpert hashes preserved, complete recovery unchanged. Private portable initialpackage descriptor8c299fa9fe2a63d1e1d90154b662479487ac8ed69968c048a718f930749a1c6b includes immutableE130experts. Continuous/interrupted recoveryrehearsal andpublicruntime/relocationchecks nowrunning beforequeue. + +2026-10-23T09:56:25.284546+00:00: E139 primary width-treatment firstmemberSHA82d50d0b2f7abfb963562f5f7966644b05612a49725f066392c022ccd6ba18ca,36899168params; CPUmergefixture769,2.319647101s, nooptimizerupdates. Equal-quarter diagnostic deltas+0.000181027280/+0.000289166747/+0.000165335678/+0.000419199126, all4positive, mean+0.000263682208. Fullsuite active at width6_ensemble_validation_receipt.json; synthetic standalonecomposition and relocation alreadypass. Fullreplay andindependentrealcomposition remain mandatory; no publicationyet. + +2026-10-23T09:58:45.421335+00:00: E118final process elapsed2575.852544286987s; completed09:46:48UTC, source loop2564.5044764708728s. Replication source source benefit remains replicated; E133mean correction separately rejected. E138 feature/rule review confirmed fixed seasonal, continuity and zero-mass transforms are prefix-local in forecast lead; training supplies each row's finite requested horizon to expert decoder and gate, preserving prior mask handling. No new experiments or training modifications from this review. + +E122 fresh146M original AR prior seed307 training started at 2026-10-23T09:59:37Z, after the preceding trainer exited with its final checkpoint. Settings are unchanged from the declared comparison. + +2026-10-23T10:00:33.031842+00:00: E79fresh146M originalLR completed its declared96000updates, checkpointSHAd7cfcd72c3cb84aa69e447b76c4c3ab98c21b7c600a463f0b805f4b4300baf33, trainingprocess22140.291222665925s, final log {"completed_step": 96000, "training_process_loop_seconds": 22110.386884229025}. E122originalAR started under its existing queue after completion; no new concurrent allocation. E132final fourthmember comparison awaits main thenearlier diagnostics; no endpoint selected from unseen results. Energy per-config full E130 diagnostics show largest negative skills ETT2/T/short(-0.3974313), electricity/H/short(-0.0809033), electricity/W/short(-0.0504676), ETT1/T/medium(-0.0323996), ETT2/D/short(-0.0167731). These heterogeneous failures do not establish a broad building-source deficiency; no source reweight selected. E136direct-trend remains the declared next controlled architecture study. + +2026-10-23T10:02:42.915649+00:00: E139primary6000 full public replay positive, pending remaining mandatory checks: skill0.3843356309048914 versusE130 0.38414971818207, delta0.00018591272282142413; relativeMASE0.7359642442141643, relativeWQL0.5150285742183113; all97configs151170instances,0failures, inference469.96330363093875s onsharedH100. Descriptordfc20235aeb4b9fc799001d69f5be390d9892448dbbf51fc2abb8ca0be453bf7. Allthree termgroups improve; medianMASE worsens slightly while WQL improves. Independent firstmember realcomposition still running/queued, so not published yet. No held-out reward claim. + +E136 direct bounded local-trend head seed197 training started at 2026-10-23T10:02:48Z, after the declared dependency processes exited; required checkpoint files are present. Settings are unchanged from the declared comparison. + +2026-10-23T10:04:10.104732+00:00: E138full recovery rehearsal passed exact equality for model, optimizer, EMA, complete NumPy/Torch/CUDA RNG states and prefetched batch after6updates versus interruptionafter3/restoredto6. Seed751,B4engineering fixture, original12000LRschedule;12total fixture updates across duplicate trajectories, no validation data and no selection weights. Six gate optimizer tensors only,6340params; experts excluded. Threeprocesses26.724943044/23.340486976/25.177071764s, total495.167764166s including419.907799349s evaluationlockwait. InitialSHA9d1401cd... unchanged. Publicruntime/relocation check stillrequired beforequeue. E129width completed12000 at2026-10-23T10:02:44Z, process2594.787767793052s, {"completed_step": 12000, "training_process_loop_seconds": 2581.1645341650583}, finalSHA8a8c75cafcc7b42266aaab7d8458cb383b65313ce6da8c396e76760f7ab6e33c. E136directtrend started in same allocation; E13912kdurability waits declared source gate before merge. + +## E140: bounded runtime loader study +2026-10-23T10:05:33.226872+00:00: Hypothesis: portable inference startup can avoid initializing dense weights that are immediately overwritten. Changed factor only construction/loading: create model on meta device, load own saved tensors with assign=True, then move toCUDA; preserve all saved tensor values/strides and nonparameter attributes. No model/data/training/forecast-rule changes or optimizerupdates. CPUfixture787 compares each of E139primary four members against the original loader, including exact parameters/strides and absence of buffers; measure constructor/load elapsed. This engineering probe was described before running its CPU test; no runtime file has been modified. Only pursue a separate portable candidate if CPU savings justify actual GPU/cohort checks. Runtime adoption requires exact synthetic/real/full public forecast identity and relocation, plus measured startup improvement; descriptor/weights stay fixed and runtime hashes change. E138training/immutableexpert loader remains unchanged during its pending audits. + +## E139 direct-width treatment6000 equal-quarter full replay selected +- Checkpoint SHA-256: `dfc20235aeb4b9fc799001d69f5be390d9892448dbbf51fc2abb8ca0be453bf7`. +- Evaluation: 97 configurations, 151170 instances, 0 failed configurations; not separately timed seconds. +- Overall skill 0.384336; relative MASE 0.735964; relative WQL 0.515029. +- term skill: long=0.4011, medium=0.4090, short=0.3680. +- domain skill: Econ/Fin=0.1298, Energy=0.2414, Healthcare=0.4863, Nature=0.4435, Sales=0.3559, Transport=0.4733, Web/CloudOps=0.5003. +- frequency skill: A=0.3025, D=0.3768, H=0.3975, M=0.1484, Q=0.1892, S=0.4236, T=0.4396, W=0.2404. +- variates skill: multivariate=0.3965, univariate=0.3745. +- Outcome: Matched width-treatment correction at 6000 steps improves full skill from 0.384149718182 to 0.384335630905. All97configs151170instances pass. Inference 469.963s on shared H100. Relocation and actual-member real/extreme synthetic composition are bitwise exact. Validation selection only, not held-out reward. + +E139 complete suite {"package": "/workspace/research/candidate-width6-ensemble", "status": "complete", "steps": [{"name": "synthetic_composition", "returncode": 0, "seconds": 32.99152904795483}, {"name": "relocation", "returncode": 0, "seconds": 68.7697308328934}, {"name": "full_public_replay", "returncode": 0, "seconds": 503.14482915005647}, {"name": "independent_first_member", "returncode": 0, "seconds": 196.6843510561157}, {"name": "composition", "returncode": 0, "seconds": 0.22877190494909883}, {"name": "descriptive_comparison", "returncode": 0, "seconds": 0.1512721918988973}], "current_step": "descriptive_comparison", "seconds": 801.9830046950374, "skill": 0.3843356309048914}. Synthetic checks {"duration": 6, "descriptor_sha256": "dfc20235aeb4b9fc799001d69f5be390d9892448dbbf51fc2abb8ca0be453bf7", "members": ["82d50d0b2f7abfb963562f5f7966644b05612a49725f066392c022ccd6ba18ca", "308389b7217c080af9eb185559d4ee3cafa0f3e0f8c4dd8f5526b68198c89988", "1a2fb20a9fb5cae6526f2e36ea47559626bece78fd9c284899836505030ae9fe", "227ea80abf17fc81ae191f94e91f6dd7adbc0d837235750b5f5e9cef3dd5472c"], "checks": [{"config_id": "synthetic_H", "instances": 12, "bitwise_composition": true, "finite_ordered": true}, {"config_id": "synthetic_15T", "instances": 12, "bitwise_composition": true, "finite_ordered": true}], "unchanged_member_references_reused": "/workspace/research/fresh_capacity4_fixture", "input_files_bitwise_identical": true, "seconds": 32.86732584401034}. Descriptive comparison {"candidate": "/workspace/research/valid-report-width6-ensemble.json", "parent": "/workspace/research/valid-report-fresh-capacity4-ensemble.json", "candidate_hash": "dfc20235aeb4b9fc799001d69f5be390d9892448dbbf51fc2abb8ca0be453bf7", "parent_hash": "fa97880dd132b1cdff459be4798f8f360d7df59b13e78026a9d74a95d63df0db", "skill_difference": 0.00018591272282142413, "n_configs": 97, "n_dataset_clusters": 28, "improved_configs": 59, "bootstrap_seed": 317, "bootstrap_samples": 5000, "dataset_cluster_delta_percentiles": {"p025": 5.3236006803086824e-05, "p50": 0.00018019965585558406, "p975": 0.000338037622301765}, "note": "Descriptive resampling only. Adaptive validation selection and reused windows prevent treating this as a held-out significance test."}. Current-publication diagnostic deltas [0.00018102727969981913, 0.0002891667470349413, 0.00016533567823673323, 0.00041919912631072087]. Every member forecasts every instance. E101teacher and E138experts remain their immutable declared snapshots. + +2026-10-23T10:07:06.353692+00:00: E140CPUfixture787 passed exact saved values/strides for all four members and no buffers; constructor+load sums1.7415185519494116s original versus0.0662954212166369s meta, total3.905531459953636s,0optimizerupdates. Proceed to one separate loader-only candidate, ABBAAB isolated GPUprocess timing (three repeats each), same synthetic fixtures/batch4. Before seeing GPU results, require median load reduction at least0.25s AND5percent plus exact forecasts before anyfull public replay; record shared-device timing uncertainty. No training loader or existing runtime modified. + +2026-10-23T10:07:38.902305+00:00: E138all engineering checks passed and queued{"queue_pid": 28517, "watch_pid": 28518, "comparison_pid": 28519} after E123log_horizon queue21256/final12000, replacing one allocation. Private initialpackage8c299fa9... actualsynthetic two configs/batch4 and three realconfigs/batch128 reproduce E130bitwise; real inputs only, no validation labels orupdates. Public synthetic21.942501016s/real24.590036898s; relocation43.007742864s, fullruntimeaudit640.823434885s includes evaluationlockwait. CPU/GPU/recovery checks and frozen initial/expert hashes are enforced by launcher. Plannedseed751/B64/LR1e-3/12koriginalsampler,6kprimary/12kdurability,1/3diag unchanged. Expert snapshot remains immutableE130 despite new E139publishedmodel; no test-time fitting. Sources and exact generator archived by separate gatepublisher. + +## E141: matched146M patch-resolution continuation +2026-10-23T10:09:20.174946+00:00: Hypothesis: the patch8 improvement seen in mature37M E71 can transfer to fresh146M, whose final E79wide96000 main0.371180826606 exceeds own48000 and matched37Mfinal. This is a new continuation comparison, not fresh-architecture equivalence or a source-weight change. Both arms start from own E79wide EMA96000 SHA d7cfcd72c3cb84aa69e447b76c4c3ab98c21b7c600a463f0b805f4b4300baf33; control keeps patch16, candidate applies the fixed existing E71conversion: sum corresponding halves of embedding/query/recency input weights, retain first8 of16 output rows, preserve all backbone tensors and physical position units. Conversion is NOT function-preserving; no coefficient choices. Same random_capacity model/data code (including overflow fallback and20percent slowAR), oldpacked_sample/sourceweights, seed809/B32/LR2e-5/12000/paired/staticcompiledloss/400warmup/cosfloor0.2; reset Adam/EMA schedules identically, requestedhorizonseed300812. Controlthen candidate sequentially replace E136directtrend after its final12000, no extra concurrent allocation. Primary6000,1000/3000diagnostics,12000durability; matched6/12allfourcutoffs, positive mean and>=3of4 before any later ensemble proposal/full replay. No ensemble formula or sweep selected now. CPUfixture811 independent conversion arithmetic/inherited tensor/config/finiteordered forward checks; GPUfixture821 maximumB32signed64,C4096,H1024 includingAdam/EMA placeholders and eager/compiledloss-gradient comparison. Queue only after audits and memory headroom confirmation. No validation training; no supplied baseline retraining. + +2026-10-23T10:10:57.554558+00:00: E140ABBAAB GPUprocess audit passed: allsix synthetic outputs bitwiseequal, finiteordered. Median load15.83080534520559s original versus8.647635334869847s meta, saving7.183170010335743s (0.4537463416231815relative), predeclared>=0.25s/5percent gatepassed. Total182.9963137828745s includeslockwait83.4526801398024s. Shared-device timing, no idle-verifier speed claim. Separate candidate-width6-meta-loader now enters full97publicreplay, exact forecastarray comparison andrelocation before any adoption; no trainingloader changed. E141CPUconversion fixture811 passed,146206864params,initialSHA3fef8f613e5fad3633e4fafe697453e2fe3691678fa581c8a2fea3e6da3de2c1,5.976632893s,0updates; maximumGPUaudit821queuedunder evaluationlock. + +E132 fixed fourth-member96000 durability diagnostics: {"pid": 26132, "status": "complete; review gate", "steps": [{"label": "fresh146M96000 earlier cutoffs", "seconds": 423.53272597002797}, {"label": "fixed equal quarters valid_screen", "seconds": 2.2404548309277743}, {"label": "fixed equal quarters valid_backcast", "seconds": 2.999124326976016}, {"label": "fixed equal quarters valid_backcast2", "seconds": 2.5167792509309947}, {"label": "fixed equal quarters valid_backcast3", "seconds": 1.6545759898144752}], "started_utc": "2026-10-23T09:06:54.167150+00:00", "seconds": 3932.743177816039, "results": [{"cutoff": "valid_screen", "skill": 0.3879917387071412, "control_skill": 0.3878507268780589, "delta": 0.000141011829082327, "groups": {"term": {"short": 0.3720792785727258, "medium": 0.41069529613285427, "long": 0.40573692158328545}, "domain": {"Econ/Fin": 0.14912424149140913, "Energy": 0.2472009579845904, "Healthcare": 0.49398090397936345, "Nature": 0.4410833912066744, "Sales": 0.34459481519961455, "Transport": 0.4723428197004681, "Web/CloudOps": 0.5073838557087357}, "freq": {"A-DEC": 0.3841737407457373, "Q-DEC": 0.2060401345601105, "M": 0.12526071807642203, "W-SUN": 0.089538132740977, "D": 0.3718749043263354, "H": 0.40319630992500677, "15T": 0.21786386051711848, "W-FRI": 0.020439090559231654, "10T": 0.6250252751000003, "W-TUE": 0.6420547528849962, "W-THU": 0.2178823087924573, "W-WED": 0.32696192850760064, "5T": 0.5207951537698052, "10S": 0.423966557020225}}, "member_checkpoint_hashes": ["8a2b252b733cc79c31778ea27ba00fbe61206fef50454514b667c54a928d80a4", "308389b7217c080af9eb185559d4ee3cafa0f3e0f8c4dd8f5526b68198c89988", "1a2fb20a9fb5cae6526f2e36ea47559626bece78fd9c284899836505030ae9fe", "d7cfcd72c3cb84aa69e447b76c4c3ab98c21b7c600a463f0b805f4b4300baf33"], "cpu_seconds": 2.0663202931173146}, {"cutoff": "valid_backcast", "skill": 0.34527215391567845, "control_skill": 0.34441110518308204, "delta": 0.0008610487325964034, "groups": {"term": {"short": 0.3126884325864907, "medium": 0.3637688978553446, "long": 0.4067147191362456}, "domain": {"Econ/Fin": 0.18044693535148892, "Energy": 0.2346014580725676, "Healthcare": 0.40656080024519137, "Nature": 0.38070856949276444, "Sales": 0.4074086766757222, "Transport": 0.377223390101862, "Web/CloudOps": 0.46044469275016797}, "freq": {"A-DEC": 0.33204316302436765, "Q-DEC": 0.23677528035988427, "M": 0.18718300392526344, "W-SUN": 0.0459689931600773, "D": 0.36367425225660344, "H": 0.37572279841566447, "15T": 0.2232591251920133, "W-FRI": 0.24169192652833082, "10T": 0.33505387846121126, "W-TUE": 0.5507201309892467, "W-THU": 0.2670975311600482, "W-WED": 0.3624139496117442, "5T": 0.4485217500942056, "10S": 0.3496660874149985}}, "member_checkpoint_hashes": ["8a2b252b733cc79c31778ea27ba00fbe61206fef50454514b667c54a928d80a4", "308389b7217c080af9eb185559d4ee3cafa0f3e0f8c4dd8f5526b68198c89988", "1a2fb20a9fb5cae6526f2e36ea47559626bece78fd9c284899836505030ae9fe", "d7cfcd72c3cb84aa69e447b76c4c3ab98c21b7c600a463f0b805f4b4300baf33"], "cpu_seconds": 2.82790120691061}, {"cutoff": "valid_backcast2", "skill": 0.3693722441131262, "control_skill": 0.3685168155758046, "delta": 0.0008554285373215675, "groups": {"term": {"short": 0.3561034685363469, "medium": 0.3986579369207216, "long": 0.37353436597025813}, "domain": {"Econ/Fin": 0.12736988675734873, "Energy": 0.24060967952411283, "Healthcare": 0.361205844869546, "Nature": 0.48217194835329746, "Sales": 0.5592933136533227, "Transport": 0.42733602595255205, "Web/CloudOps": 0.4493810855468827}, "freq": {"A-DEC": 0.33839273225074207, "Q-DEC": 0.1555223115262534, "M": 0.16902905410628355, "W-SUN": 0.07216335576924882, "D": 0.43526279365396536, "H": 0.40005187132697984, "15T": 0.10638589959756006, "W-FRI": 0.14483234056274708, "10T": 0.5091239135399137, "W-TUE": 0.15194949116265377, "W-THU": 0.3407213866845825, "W-WED": 0.5605028503844405, "5T": 0.483629147626099, "10S": 0.28991830224876325}}, "member_checkpoint_hashes": ["8a2b252b733cc79c31778ea27ba00fbe61206fef50454514b667c54a928d80a4", "308389b7217c080af9eb185559d4ee3cafa0f3e0f8c4dd8f5526b68198c89988", "1a2fb20a9fb5cae6526f2e36ea47559626bece78fd9c284899836505030ae9fe", "d7cfcd72c3cb84aa69e447b76c4c3ab98c21b7c600a463f0b805f4b4300baf33"], "cpu_seconds": 2.3098160580266267}, {"cutoff": "valid_backcast3", "skill": 0.3917440412921396, "control_skill": 0.3912834616582097, "delta": 0.00046057963392986956, "groups": {"term": {"short": 0.39609380043847486, "medium": 0.3726609326428316, "long": 0.3990714746962174}, "domain": {"Econ/Fin": 0.19146841603554976, "Energy": 0.3169493285921843, "Healthcare": 0.23363305321771521, "Nature": 0.5079864794927875, "Sales": 0.402341900108644, "Transport": 0.5097972319661975, "Web/CloudOps": 0.4024376021492734}, "freq": {"A-DEC": 0.36339584495699273, "Q-DEC": 0.26360078602725334, "M": 0.14532839562199418, "W-SUN": 0.17018654203393757, "D": 0.4395955029815283, "H": 0.40764297620236134, "15T": 0.25800645318468773, "W-FRI": 0.043820152478523, "10T": 0.6034667895013048, "W-TUE": 0.28576803587190736, "W-THU": 0.34695837014955566, "W-WED": 0.3741862411400826, "5T": 0.4737863955972218, "10S": 0.2930816557144478}}, "member_checkpoint_hashes": ["8a2b252b733cc79c31778ea27ba00fbe61206fef50454514b667c54a928d80a4", "308389b7217c080af9eb185559d4ee3cafa0f3e0f8c4dd8f5526b68198c89988", "1a2fb20a9fb5cae6526f2e36ea47559626bece78fd9c284899836505030ae9fe", "d7cfcd72c3cb84aa69e447b76c4c3ab98c21b7c600a463f0b805f4b4300baf33"], "cpu_seconds": 1.4660730550531298}], "positive_cutoffs": 4, "mean_delta": 0.0005795171832325419, "selection_gate_passed": true}. No runtime/package constructed, no weight sweep. + +## E142: fixed two-factor composition of width treatment and final fresh member +2026-10-23T10:13:32.739522+00:00: E132final96000 fourthmember passes4of4 versus frozenE130, mean+0.000579517183; versus currentE139width6000 it passes3of4, mean+0.000315834975. E139width6000 alreadypassed4of4/fullreplay. Hypothesis: these changes to separate members remain useful together. One fixed equal-quarter combination uses E1396000first SHA82d50d0b..., E71patch8/E93split unchanged, and E79fresh146M96000 SHAd7cfcd72.... No training, weight/epoch/coefficient sweep, or substitution of E13912000. This completes a fixed2x2 comparison against E130(E117first/fresh48), E139(widthfirst/fresh48), and E132(E117first/fresh96). Evaluate allfour cached diagnostic cutoffs; require>=3positive andmeanpositive versus BOTH isolated E139andE132 before joint fullreplay. E132isolated fullreplay remains eligible and will also be measured, rather than inferring its fullscore from diagnostics. Everymember forecasts everyinstance; best complete fullvalidated candidate selected. Assemble candidates after E140loader decision to keep runtime lineage consistent; sourceindividual member replay/relocation/extreme composition remain required. No model constructed or joint diagnostic measured before this declaration. + +2026-10-23T10:13:39.741097+00:00: E142 fixed width6000/fresh96000 quartet diagnostics {"status": "complete; review before package/fullreplay", "results": [{"cutoff": "valid_screen", "skill": 0.3881718681051801, "width_control_skill": 0.3880317541577587, "fresh_control_skill": 0.3879917387071412, "delta_width": 0.00014011394742141636, "delta_fresh": 0.00018012939803890848, "groups": {"term": {"short": 0.3722239066082397, "medium": 0.41091591005070605, "long": 0.4059638616914294}, "domain": {"Econ/Fin": 0.14901755367760694, "Energy": 0.24741422430120008, "Healthcare": 0.4943318904343714, "Nature": 0.44134594243138947, "Sales": 0.3445241159318412, "Transport": 0.47269779445274607, "Web/CloudOps": 0.507385308125947}, "freq": {"A-DEC": 0.38370002946456816, "Q-DEC": 0.20626693520370054, "M": 0.12614029249200875, "W-SUN": 0.08996291768496012, "D": 0.37201944875933657, "H": 0.4035710103676592, "15T": 0.21784009071870558, "W-FRI": 0.02046942787274386, "10T": 0.6250497434629132, "W-TUE": 0.6417672377765984, "W-THU": 0.2180478165537424, "W-WED": 0.32714945388803274, "5T": 0.5208370369159045, "10S": 0.4239060992367861}}, "member_checkpoint_hashes": ["82d50d0b2f7abfb963562f5f7966644b05612a49725f066392c022ccd6ba18ca", "308389b7217c080af9eb185559d4ee3cafa0f3e0f8c4dd8f5526b68198c89988", "1a2fb20a9fb5cae6526f2e36ea47559626bece78fd9c284899836505030ae9fe", "d7cfcd72c3cb84aa69e447b76c4c3ab98c21b7c600a463f0b805f4b4300baf33"], "cpu_seconds": 1.9977810359559953}, {"cutoff": "valid_backcast", "skill": 0.3455586213321383, "width_control_skill": 0.344700271930117, "fresh_control_skill": 0.34527215391567845, "delta_width": 0.0008583494020213411, "delta_fresh": 0.00028646741645987905, "groups": {"term": {"short": 0.31298317888014404, "medium": 0.36399688922917317, "long": 0.4070347944383135}, "domain": {"Econ/Fin": 0.18055394020674953, "Energy": 0.2348134086852961, "Healthcare": 0.4070841731588888, "Nature": 0.38116047615930115, "Sales": 0.4074762260349628, "Transport": 0.37765229926233534, "Web/CloudOps": 0.4606241441368746}, "freq": {"A-DEC": 0.3317879932584423, "Q-DEC": 0.2371616106420198, "M": 0.18757363725282472, "W-SUN": 0.046528360729501284, "D": 0.3640158957717563, "H": 0.37629546776645173, "15T": 0.22308590849540832, "W-FRI": 0.24172781290644818, "10T": 0.33510910697177476, "W-TUE": 0.5514604320698773, "W-THU": 0.2676131040680497, "W-WED": 0.3624466093693053, "5T": 0.44848635160409267, "10S": 0.3498688987777634}}, "member_checkpoint_hashes": ["82d50d0b2f7abfb963562f5f7966644b05612a49725f066392c022ccd6ba18ca", "308389b7217c080af9eb185559d4ee3cafa0f3e0f8c4dd8f5526b68198c89988", "1a2fb20a9fb5cae6526f2e36ea47559626bece78fd9c284899836505030ae9fe", "d7cfcd72c3cb84aa69e447b76c4c3ab98c21b7c600a463f0b805f4b4300baf33"], "cpu_seconds": 1.2962471970822662}, {"cutoff": "valid_backcast2", "skill": 0.3695446326773957, "width_control_skill": 0.36868215125404136, "fresh_control_skill": 0.3693722441131262, "delta_width": 0.0008624814233543221, "delta_fresh": 0.0001723885642694878, "groups": {"term": {"short": 0.3561553236693098, "medium": 0.39881193758154254, "long": 0.37406076222597684}, "domain": {"Econ/Fin": 0.12739021872720024, "Energy": 0.24065421574153212, "Healthcare": 0.36170573519895977, "Nature": 0.4822797751725245, "Sales": 0.559215597626701, "Transport": 0.4278274284034268, "Web/CloudOps": 0.44953046241749317}, "freq": {"A-DEC": 0.33803240362938913, "Q-DEC": 0.1556366215688766, "M": 0.16938575239717812, "W-SUN": 0.07265591665507165, "D": 0.4351869375859423, "H": 0.4005074918768775, "15T": 0.106183720406681, "W-FRI": 0.14466976658042907, "10T": 0.5090032236270038, "W-TUE": 0.15262124206805772, "W-THU": 0.3413719074247239, "W-WED": 0.5604533363402475, "5T": 0.4835166085060454, "10S": 0.2906753670786497}}, "member_checkpoint_hashes": ["82d50d0b2f7abfb963562f5f7966644b05612a49725f066392c022ccd6ba18ca", "308389b7217c080af9eb185559d4ee3cafa0f3e0f8c4dd8f5526b68198c89988", "1a2fb20a9fb5cae6526f2e36ea47559626bece78fd9c284899836505030ae9fe", "d7cfcd72c3cb84aa69e447b76c4c3ab98c21b7c600a463f0b805f4b4300baf33"], "cpu_seconds": 1.5180778538342565}, {"cutoff": "valid_backcast3", "skill": 0.3921644754508403, "width_control_skill": 0.39170266078452043, "fresh_control_skill": 0.3917440412921396, "delta_width": 0.000461814666319893, "delta_fresh": 0.0004204341587007443, "groups": {"term": {"short": 0.396523119774537, "medium": 0.3731115929789489, "long": 0.39943603289581653}, "domain": {"Econ/Fin": 0.1915138068470047, "Energy": 0.31716941229808127, "Healthcare": 0.23407160495463708, "Nature": 0.5090366665812751, "Sales": 0.40236628008580433, "Transport": 0.5102391473978511, "Web/CloudOps": 0.4026365427407549}, "freq": {"A-DEC": 0.36291095579230737, "Q-DEC": 0.2636137569190712, "M": 0.1456802398010142, "W-SUN": 0.17057037719788581, "D": 0.44035582757394454, "H": 0.4080361547461918, "15T": 0.2581899488833542, "W-FRI": 0.044476826738058306, "10T": 0.6038475830013132, "W-TUE": 0.28764820094432986, "W-THU": 0.34829791806939636, "W-WED": 0.37407395307293756, "5T": 0.4736677362009297, "10S": 0.293970489003357}}, "member_checkpoint_hashes": ["82d50d0b2f7abfb963562f5f7966644b05612a49725f066392c022ccd6ba18ca", "308389b7217c080af9eb185559d4ee3cafa0f3e0f8c4dd8f5526b68198c89988", "1a2fb20a9fb5cae6526f2e36ea47559626bece78fd9c284899836505030ae9fe", "d7cfcd72c3cb84aa69e447b76c4c3ab98c21b7c600a463f0b805f4b4300baf33"], "cpu_seconds": 1.375803180038929}], "seconds": 6.957909902790561, "optimizer_updates": 0, "new_neural_inference": false, "positive_cutoffs_vs_width": 4, "mean_delta_vs_width": 0.0005806898597792431, "positive_cutoffs_vs_fresh": 4, "mean_delta_vs_fresh": 0.0002648548843672549, "selection_gate_passed": true}. No package/fullscore inferred. + +2026-10-23T10:17:26.773523+00:00: E142fixed width6000/fresh96000 joint quartet passed allfour versus BOTH isolated parents; mean+0.0005806898597792431versusE139 and+0.0002648548843672549versusE132, CPUdiagnostic total6.957909902790561s,0optimizerupdates/no newneuralinference. Individual fresh96000 portable package assembled with actual random_capacity/recovery provenance andseed307; first/fourth models unchanged. Separate E132andE142 fullsuite assemblers, extremeactual-member tests and guardedpromoters prepared, explicitly waiting E140loaderdecision. No fullscore inferred fromcached diagnostics. + +E129 12000 four-cutoff comparison: {"label": "E129 12000 four-cutoff comparison", "utc": "2026-10-23T10:21:49.863964+00:00", "candidate": "seasonal_width_ema12000", "control": "seasonal_dispersion_ema12000", "rows": [{"cutoff": "evals", "candidate_skill": 0.3829575592439247, "control_skill": 0.3820478868373609, "delta": 0.0009096724065638107, "candidate_checkpoint": "8a8c75cafcc7b42266aaab7d8458cb383b65313ce6da8c396e76760f7ab6e33c", "control_checkpoint": "b0204fa8dd3371d9160fc00545d6b065ccb23bb18e345b3b63cd39c024c9acf5", "candidate_eval_seconds": 28.068697452545166, "candidate_groups": {"term": {"long": {"n_configs": 21, "rel_mase_gmean": 0.7385649404930517, "rel_wql_gmean": 0.4756621939681783}, "medium": {"n_configs": 21, "rel_mase_gmean": 0.7107455375873698, "rel_wql_gmean": 0.4927860639379416}, "short": {"n_configs": 55, "rel_mase_gmean": 0.7504165521104995, "rel_wql_gmean": 0.5401485601257813}}, "domain": {"Econ/Fin": {"n_configs": 6, "rel_mase_gmean": 0.8800466291473449, "rel_wql_gmean": 0.8559796352527203}, "Energy": {"n_configs": 32, "rel_mase_gmean": 0.9009572046437253, "rel_wql_gmean": 0.6425888264141222}, "Healthcare": {"n_configs": 5, "rel_mase_gmean": 0.5853876912825183, "rel_wql_gmean": 0.5139823506378491}, "Nature": {"n_configs": 15, "rel_mase_gmean": 0.8016996186602896, "rel_wql_gmean": 0.3975658345447008}, "Sales": {"n_configs": 4, "rel_mase_gmean": 0.849913221695885, "rel_wql_gmean": 0.5190371903971364}, "Transport": {"n_configs": 15, "rel_mase_gmean": 0.631497689549554, "rel_wql_gmean": 0.42906996252022056}, "Web/CloudOps": {"n_configs": 20, "rel_mase_gmean": 0.5575551391566088, "rel_wql_gmean": 0.4322196856913945}}, "frequency": {"A": {"n_configs": 1, "rel_mase_gmean": 0.6270302637021805, "rel_wql_gmean": 0.6576369760217897}, "D": {"n_configs": 15, "rel_mase_gmean": 0.7618012319908849, "rel_wql_gmean": 0.5242249531312764}, "H": {"n_configs": 31, "rel_mase_gmean": 0.7269862252820123, "rel_wql_gmean": 0.4928489449999714}, "M": {"n_configs": 5, "rel_mase_gmean": 0.969136840910731, "rel_wql_gmean": 0.8195237194400399}, "Q": {"n_configs": 1, "rel_mase_gmean": 0.7793562279359187, "rel_wql_gmean": 0.8252555262342453}, "S": {"n_configs": 6, "rel_mase_gmean": 0.6553789645227944, "rel_wql_gmean": 0.5029910279440831}, "T": {"n_configs": 30, "rel_mase_gmean": 0.6890059169894194, "rel_wql_gmean": 0.4509720506518005}, "W": {"n_configs": 8, "rel_mase_gmean": 0.9073663673513933, "rel_wql_gmean": 0.6788515847406241}}, "variates": {"multivariate": {"n_configs": 43, "rel_mase_gmean": 0.7084149227770673, "rel_wql_gmean": 0.5093822506937259}, "univariate": {"n_configs": 54, "rel_mase_gmean": 0.7644685786621924, "rel_wql_gmean": 0.5197841025612521}}}, "control_groups": {"term": {"long": {"n_configs": 21, "rel_mase_gmean": 0.7389032030803768, "rel_wql_gmean": 0.4775255930846139}, "medium": {"n_configs": 21, "rel_mase_gmean": 0.7110090800376195, "rel_wql_gmean": 0.49416801903946805}, "short": {"n_configs": 55, "rel_mase_gmean": 0.7504609946788687, "rel_wql_gmean": 0.5413698790489025}}, "domain": {"Econ/Fin": {"n_configs": 6, "rel_mase_gmean": 0.8804929993505196, "rel_wql_gmean": 0.8550445515045846}, "Energy": {"n_configs": 32, "rel_mase_gmean": 0.9011157762761242, "rel_wql_gmean": 0.6441525168035792}, "Healthcare": {"n_configs": 5, "rel_mase_gmean": 0.5841227032423717, "rel_wql_gmean": 0.5152693556823793}, "Nature": {"n_configs": 15, "rel_mase_gmean": 0.8018394415733434, "rel_wql_gmean": 0.39970868464473397}, "Sales": {"n_configs": 4, "rel_mase_gmean": 0.8494409474640868, "rel_wql_gmean": 0.5191016450797338}, "Transport": {"n_configs": 15, "rel_mase_gmean": 0.631290389229455, "rel_wql_gmean": 0.4311304324404592}, "Web/CloudOps": {"n_configs": 20, "rel_mase_gmean": 0.5583176379809373, "rel_wql_gmean": 0.4328344133541464}}, "frequency": {"A": {"n_configs": 1, "rel_mase_gmean": 0.6260908412504385, "rel_wql_gmean": 0.6531805976165398}, "D": {"n_configs": 15, "rel_mase_gmean": 0.7625008852504683, "rel_wql_gmean": 0.5256123818684614}, "H": {"n_configs": 31, "rel_mase_gmean": 0.7269253228245665, "rel_wql_gmean": 0.4957875948564009}, "M": {"n_configs": 5, "rel_mase_gmean": 0.9683877465170895, "rel_wql_gmean": 0.8250296285399715}, "Q": {"n_configs": 1, "rel_mase_gmean": 0.7794669965817581, "rel_wql_gmean": 0.8259636078611131}, "S": {"n_configs": 6, "rel_mase_gmean": 0.6552664068279662, "rel_wql_gmean": 0.5032424048533084}, "T": {"n_configs": 30, "rel_mase_gmean": 0.6897053807375739, "rel_wql_gmean": 0.45130068257990086}, "W": {"n_configs": 8, "rel_mase_gmean": 0.905700561781496, "rel_wql_gmean": 0.6779024808640658}}, "variates": {"multivariate": {"n_configs": 43, "rel_mase_gmean": 0.7086017938396406, "rel_wql_gmean": 0.5106302124003929}, "univariate": {"n_configs": 54, "rel_mase_gmean": 0.7646004882955708, "rel_wql_gmean": 0.5213256741612632}}}, "group_skill_delta": {"term": {"long": 0.0012958159854333795, "medium": 0.0009391194298035144, "short": 0.0007382372618780497}, "domain": {"Econ/Fin": -0.00025423459827855766, "Energy": 0.0009922518606708675, "Healthcare": 9.259276220807688e-05, "Nature": 0.001568786649017384, "Sales": -0.00014333288016576962, "Transport": 0.001162704359493505, "Web/CloudOps": 0.0006847693133080757}, "frequency": {"A": -0.002659004953787125, "D": 0.0011262227370676392, "H": 0.0017567307722733405, "M": 0.0026430592017883114, "Q": 0.0004009949390402223, "S": 9.413413181458274e-05, "T": 0.00048604006480834627, "W": -0.0012690867740849932}, "variates": {"multivariate": 0.0008147283313804099, "univariate": 0.0009885351758065486}}}, {"cutoff": "backcast_evals", "candidate_skill": 0.3431168619446856, "control_skill": 0.3418892780195716, "delta": 0.0012275839251140175, "candidate_checkpoint": "8a8c75cafcc7b42266aaab7d8458cb383b65313ce6da8c396e76760f7ab6e33c", "control_checkpoint": "b0204fa8dd3371d9160fc00545d6b065ccb23bb18e345b3b63cd39c024c9acf5", "candidate_eval_seconds": 30.285208225250244, "candidate_groups": {"term": {"long": {"n_configs": 21, "rel_mase_gmean": 0.7745057244270586, "rel_wql_gmean": 0.4610623789807178}, "medium": {"n_configs": 21, "rel_mase_gmean": 0.7665690652589143, "rel_wql_gmean": 0.5279020197374018}, "short": {"n_configs": 55, "rel_mase_gmean": 0.8083500304036458, "rel_wql_gmean": 0.5880320847674819}}, "domain": {"Econ/Fin": {"n_configs": 6, "rel_mase_gmean": 0.8740565311993375, "rel_wql_gmean": 0.8161501061138186}, "Energy": {"n_configs": 32, "rel_mase_gmean": 0.8851277957413036, "rel_wql_gmean": 0.663500317271362}, "Healthcare": {"n_configs": 5, "rel_mase_gmean": 0.6564992222020608, "rel_wql_gmean": 0.5610268727362654}, "Nature": {"n_configs": 15, "rel_mase_gmean": 0.9052725130401621, "rel_wql_gmean": 0.42064687636935943}, "Sales": {"n_configs": 4, "rel_mase_gmean": 0.7234850340183689, "rel_wql_gmean": 0.4902139246519234}, "Transport": {"n_configs": 15, "rel_mase_gmean": 0.7295967780250021, "rel_wql_gmean": 0.5192824882712911}, "Web/CloudOps": {"n_configs": 20, "rel_mase_gmean": 0.6597671087705073, "rel_wql_gmean": 0.4499772865410385}}, "frequency": {"A": {"n_configs": 1, "rel_mase_gmean": 0.6450988450119612, "rel_wql_gmean": 0.7273632457830282}, "D": {"n_configs": 15, "rel_mase_gmean": 0.8161733161037954, "rel_wql_gmean": 0.48593241643205115}, "H": {"n_configs": 31, "rel_mase_gmean": 0.7673497923812557, "rel_wql_gmean": 0.5044190694880905}, "M": {"n_configs": 5, "rel_mase_gmean": 0.8646560836167352, "rel_wql_gmean": 0.7880636497101029}, "Q": {"n_configs": 1, "rel_mase_gmean": 0.7636349765137933, "rel_wql_gmean": 0.7750360952163152}, "S": {"n_configs": 6, "rel_mase_gmean": 0.8536272713735963, "rel_wql_gmean": 0.5057173155199778}, "T": {"n_configs": 30, "rel_mase_gmean": 0.7681040784528608, "rel_wql_gmean": 0.571716423971766}, "W": {"n_configs": 8, "rel_mase_gmean": 0.8721157485861396, "rel_wql_gmean": 0.5908313512751125}}, "variates": {"multivariate": {"n_configs": 43, "rel_mase_gmean": 0.7867150109766055, "rel_wql_gmean": 0.5248858000904015}, "univariate": {"n_configs": 54, "rel_mase_gmean": 0.7957831126082807, "rel_wql_gmean": 0.5615468096200318}}}, "control_groups": {"term": {"long": {"n_configs": 21, "rel_mase_gmean": 0.7739203449970765, "rel_wql_gmean": 0.4624749910039315}, "medium": {"n_configs": 21, "rel_mase_gmean": 0.7670191905850069, "rel_wql_gmean": 0.5295139958967662}, "short": {"n_configs": 55, "rel_mase_gmean": 0.8087785498550463, "rel_wql_gmean": 0.590263798231263}}, "domain": {"Econ/Fin": {"n_configs": 6, "rel_mase_gmean": 0.8743674629847383, "rel_wql_gmean": 0.8161720641051514}, "Energy": {"n_configs": 32, "rel_mase_gmean": 0.8853621974210792, "rel_wql_gmean": 0.665058032816427}, "Healthcare": {"n_configs": 5, "rel_mase_gmean": 0.6579970194342092, "rel_wql_gmean": 0.5646715267254061}, "Nature": {"n_configs": 15, "rel_mase_gmean": 0.9052563953011699, "rel_wql_gmean": 0.42318224850833497}, "Sales": {"n_configs": 4, "rel_mase_gmean": 0.7239801636643148, "rel_wql_gmean": 0.4912094503535297}, "Transport": {"n_configs": 15, "rel_mase_gmean": 0.7292932013886385, "rel_wql_gmean": 0.5220064683319335}, "Web/CloudOps": {"n_configs": 20, "rel_mase_gmean": 0.6600102642208264, "rel_wql_gmean": 0.4511555367132821}}, "frequency": {"A": {"n_configs": 1, "rel_mase_gmean": 0.6444326514379081, "rel_wql_gmean": 0.7248601482512232}, "D": {"n_configs": 15, "rel_mase_gmean": 0.8172654104294157, "rel_wql_gmean": 0.48783020134756094}, "H": {"n_configs": 31, "rel_mase_gmean": 0.7679461029022491, "rel_wql_gmean": 0.5077426505293602}, "M": {"n_configs": 5, "rel_mase_gmean": 0.8645966624230256, "rel_wql_gmean": 0.7911152729414949}, "Q": {"n_configs": 1, "rel_mase_gmean": 0.7629806732535767, "rel_wql_gmean": 0.7768213615208555}, "S": {"n_configs": 6, "rel_mase_gmean": 0.8530821682550342, "rel_wql_gmean": 0.5073353488371999}, "T": {"n_configs": 30, "rel_mase_gmean": 0.7676622656760491, "rel_wql_gmean": 0.5719661183084246}, "W": {"n_configs": 8, "rel_mase_gmean": 0.8726377917578133, "rel_wql_gmean": 0.592614882559852}}, "variates": {"multivariate": {"n_configs": 43, "rel_mase_gmean": 0.7867641705481724, "rel_wql_gmean": 0.5262034616384936}, "univariate": {"n_configs": 54, "rel_mase_gmean": 0.796120821098744, "rel_wql_gmean": 0.5639311517534341}}}, "group_skill_delta": {"term": {"long": 0.000688515410056656, "medium": 0.0011575283708018524, "short": 0.0014901274049188284}, "domain": {"Econ/Fin": 0.00016157821866547017, "Energy": 0.001000639067056941, "Healthcare": 0.002662258471812229, "Nature": 0.0018513947268330444, "Sales": 0.0008083539927374872, "Transport": 0.0014838928425447984, "Web/CloudOps": 0.0008134184492297747}, "frequency": {"A": -0.0015328471871469684, "D": 0.001650576543081539, "H": 0.0022887572023322367, "M": 0.001568276135474278, "Q": 0.0005554987964708769, "S": 0.0008400942689315016, "T": -4.595981691291051e-05, "W": 0.001297761302015643}, "variates": {"multivariate": 0.0008261815125067962, "univariate": 0.0015598232252683752}}}, {"cutoff": "backcast2_evals", "candidate_skill": 0.3663919854474046, "control_skill": 0.3655776712597705, "delta": 0.0008143141876341131, "candidate_checkpoint": "8a8c75cafcc7b42266aaab7d8458cb383b65313ce6da8c396e76760f7ab6e33c", "control_checkpoint": "b0204fa8dd3371d9160fc00545d6b065ccb23bb18e345b3b63cd39c024c9acf5", "candidate_eval_seconds": 27.486289501190186, "candidate_groups": {"term": {"long": {"n_configs": 19, "rel_mase_gmean": 0.7953088149544144, "rel_wql_gmean": 0.4996096755729934}, "medium": {"n_configs": 21, "rel_mase_gmean": 0.7501176533122372, "rel_wql_gmean": 0.48427190952960675}, "short": {"n_configs": 54, "rel_mase_gmean": 0.7590530702515095, "rel_wql_gmean": 0.5518616304717976}}, "domain": {"Econ/Fin": {"n_configs": 6, "rel_mase_gmean": 0.8910028080228956, "rel_wql_gmean": 0.9090153927611655}, "Energy": {"n_configs": 32, "rel_mase_gmean": 0.8964822493584549, "rel_wql_gmean": 0.6447823823916282}, "Healthcare": {"n_configs": 5, "rel_mase_gmean": 0.6953195456910837, "rel_wql_gmean": 0.5923021345498765}, "Nature": {"n_configs": 15, "rel_mase_gmean": 0.7473941447355391, "rel_wql_gmean": 0.35390534573607574}, "Sales": {"n_configs": 3, "rel_mase_gmean": 0.5595224030106167, "rel_wql_gmean": 0.3565088201659599}, "Transport": {"n_configs": 14, "rel_mase_gmean": 0.660344029767428, "rel_wql_gmean": 0.4913050749063584}, "Web/CloudOps": {"n_configs": 19, "rel_mase_gmean": 0.6791691134724667, "rel_wql_gmean": 0.4624309685221128}}, "frequency": {"A": {"n_configs": 1, "rel_mase_gmean": 0.5829035875821179, "rel_wql_gmean": 0.7264587858196953}, "D": {"n_configs": 15, "rel_mase_gmean": 0.7216162729509035, "rel_wql_gmean": 0.44462343258893994}, "H": {"n_configs": 30, "rel_mase_gmean": 0.7508365315254176, "rel_wql_gmean": 0.4820459652982594}, "M": {"n_configs": 4, "rel_mase_gmean": 0.8052269997952568, "rel_wql_gmean": 0.8287383490710489}, "Q": {"n_configs": 1, "rel_mase_gmean": 0.8327743553255724, "rel_wql_gmean": 0.8786257366461278}, "S": {"n_configs": 6, "rel_mase_gmean": 0.9032744407555202, "rel_wql_gmean": 0.5624345613415964}, "T": {"n_configs": 29, "rel_mase_gmean": 0.7545362929281816, "rel_wql_gmean": 0.5349308021919511}, "W": {"n_configs": 8, "rel_mase_gmean": 0.8375766867886104, "rel_wql_gmean": 0.6323036672851485}}, "variates": {"multivariate": {"n_configs": 42, "rel_mase_gmean": 0.7798045061832288, "rel_wql_gmean": 0.51071682393504}, "univariate": {"n_configs": 52, "rel_mase_gmean": 0.7518622900860272, "rel_wql_gmean": 0.5374153787920412}}}, "control_groups": {"term": {"long": {"n_configs": 19, "rel_mase_gmean": 0.7957101938303016, "rel_wql_gmean": 0.5022344522726042}, "medium": {"n_configs": 21, "rel_mase_gmean": 0.7493165290449147, "rel_wql_gmean": 0.48589148044854996}, "short": {"n_configs": 54, "rel_mase_gmean": 0.7592133707158151, "rel_wql_gmean": 0.5526106392402376}}, "domain": {"Econ/Fin": {"n_configs": 6, "rel_mase_gmean": 0.8916706823244112, "rel_wql_gmean": 0.9093796505356709}, "Energy": {"n_configs": 32, "rel_mase_gmean": 0.8960744934624816, "rel_wql_gmean": 0.6460246578073142}, "Healthcare": {"n_configs": 5, "rel_mase_gmean": 0.6984033526422165, "rel_wql_gmean": 0.5933308036019226}, "Nature": {"n_configs": 15, "rel_mase_gmean": 0.7465754066379666, "rel_wql_gmean": 0.35465776917776354}, "Sales": {"n_configs": 3, "rel_mase_gmean": 0.559290997380798, "rel_wql_gmean": 0.3564560443374385}, "Transport": {"n_configs": 14, "rel_mase_gmean": 0.6603838561435512, "rel_wql_gmean": 0.4940639621155883}, "Web/CloudOps": {"n_configs": 19, "rel_mase_gmean": 0.6792879027084646, "rel_wql_gmean": 0.46390410322974923}}, "frequency": {"A": {"n_configs": 1, "rel_mase_gmean": 0.5823310864214802, "rel_wql_gmean": 0.724835278367236}, "D": {"n_configs": 15, "rel_mase_gmean": 0.7222253162661183, "rel_wql_gmean": 0.4441238921359276}, "H": {"n_configs": 30, "rel_mase_gmean": 0.7510745160444832, "rel_wql_gmean": 0.48421048476502265}, "M": {"n_configs": 4, "rel_mase_gmean": 0.8049624975185914, "rel_wql_gmean": 0.8337942280653755}, "Q": {"n_configs": 1, "rel_mase_gmean": 0.8327902926785946, "rel_wql_gmean": 0.8787396634191282}, "S": {"n_configs": 6, "rel_mase_gmean": 0.9029763402504646, "rel_wql_gmean": 0.5665644057202113}, "T": {"n_configs": 29, "rel_mase_gmean": 0.7538170530124115, "rel_wql_gmean": 0.5356891156947962}, "W": {"n_configs": 8, "rel_mase_gmean": 0.8384463511921755, "rel_wql_gmean": 0.6337414984658606}}, "variates": {"multivariate": {"n_configs": 42, "rel_mase_gmean": 0.7796481341539873, "rel_wql_gmean": 0.5122582767435926}, "univariate": {"n_configs": 52, "rel_mase_gmean": 0.751963109653387, "rel_wql_gmean": 0.5386190816130975}}}, "group_skill_delta": {"term": {"long": 0.001813118688511195, "medium": 0.0006845240091615246, "short": 0.0005074509350241341}, "domain": {"Econ/Fin": 0.000517597400399139, "Energy": 0.0005589634714825431, "Healthcare": 0.001979792391606394, "Nature": 0.0002643534765498501, "Sales": -0.000125419204547228, "Transport": 0.0016142247413176714, "Web/CloudOps": 0.000941019076211469}, "frequency": {"A": -0.0010468271888456337, "D": -7.943744429916855e-05, "H": 0.0014447400321124793, "M": 0.002353445997096415, "Q": 6.364094872535198e-05, "S": 0.002494001407656099, "T": 0.00014706447971268855, "W": 0.001205092832584187}, "variates": {"multivariate": 0.0008882738557498548, "univariate": 0.000754141278159759}}}, {"cutoff": "backcast3_evals", "candidate_skill": 0.3944189531149003, "control_skill": 0.39329641531340254, "delta": 0.001122537801497736, "candidate_checkpoint": "8a8c75cafcc7b42266aaab7d8458cb383b65313ce6da8c396e76760f7ab6e33c", "control_checkpoint": "b0204fa8dd3371d9160fc00545d6b065ccb23bb18e345b3b63cd39c024c9acf5", "candidate_eval_seconds": 27.040369987487793, "candidate_groups": {"term": {"long": {"n_configs": 19, "rel_mase_gmean": 0.7630985149735119, "rel_wql_gmean": 0.4725350133645792}, "medium": {"n_configs": 20, "rel_mase_gmean": 0.7698085741486138, "rel_wql_gmean": 0.5266243847552178}, "short": {"n_configs": 54, "rel_mase_gmean": 0.7100434697374792, "rel_wql_gmean": 0.5006255974715387}}, "domain": {"Econ/Fin": {"n_configs": 6, "rel_mase_gmean": 0.8383038632943011, "rel_wql_gmean": 0.8366308222162657}, "Energy": {"n_configs": 32, "rel_mase_gmean": 0.8304111480226263, "rel_wql_gmean": 0.5510795950987446}, "Healthcare": {"n_configs": 5, "rel_mase_gmean": 0.760949862401154, "rel_wql_gmean": 0.6279690725140006}, "Nature": {"n_configs": 15, "rel_mase_gmean": 0.7225753971084021, "rel_wql_gmean": 0.33438863534632185}, "Sales": {"n_configs": 3, "rel_mase_gmean": 0.7484633257701082, "rel_wql_gmean": 0.47323557058437254}, "Transport": {"n_configs": 14, "rel_mase_gmean": 0.5375796962872197, "rel_wql_gmean": 0.4438006197615724}, "Web/CloudOps": {"n_configs": 18, "rel_mase_gmean": 0.7142718339727447, "rel_wql_gmean": 0.5157945523195053}}, "frequency": {"A": {"n_configs": 1, "rel_mase_gmean": 0.5305194688789922, "rel_wql_gmean": 0.8023461655970939}, "D": {"n_configs": 15, "rel_mase_gmean": 0.71716815730984, "rel_wql_gmean": 0.41586511311811736}, "H": {"n_configs": 29, "rel_mase_gmean": 0.7227420871078212, "rel_wql_gmean": 0.48256288452203877}, "M": {"n_configs": 4, "rel_mase_gmean": 0.8329719738100956, "rel_wql_gmean": 0.8192530074442765}, "Q": {"n_configs": 1, "rel_mase_gmean": 0.7126783859560478, "rel_wql_gmean": 0.7670686175278189}, "S": {"n_configs": 6, "rel_mase_gmean": 0.8390982398856982, "rel_wql_gmean": 0.5925052399969987}, "T": {"n_configs": 29, "rel_mase_gmean": 0.7076040794946262, "rel_wql_gmean": 0.4625005200024812}, "W": {"n_configs": 8, "rel_mase_gmean": 0.8115046791616632, "rel_wql_gmean": 0.6575335232234539}}, "variates": {"multivariate": {"n_configs": 41, "rel_mase_gmean": 0.7600950572390911, "rel_wql_gmean": 0.5091802342917834}, "univariate": {"n_configs": 52, "rel_mase_gmean": 0.7126790884433649, "rel_wql_gmean": 0.4931789790094018}}}, "control_groups": {"term": {"long": {"n_configs": 19, "rel_mase_gmean": 0.7620982278020191, "rel_wql_gmean": 0.47426314781212775}, "medium": {"n_configs": 20, "rel_mase_gmean": 0.7694130571916938, "rel_wql_gmean": 0.5293555168619524}, "short": {"n_configs": 54, "rel_mase_gmean": 0.7102997952164497, "rel_wql_gmean": 0.5023655717094271}}, "domain": {"Econ/Fin": {"n_configs": 6, "rel_mase_gmean": 0.8390596184536422, "rel_wql_gmean": 0.8364410318397068}, "Energy": {"n_configs": 32, "rel_mase_gmean": 0.8301807382152379, "rel_wql_gmean": 0.552148460325587}, "Healthcare": {"n_configs": 5, "rel_mase_gmean": 0.7582486561812802, "rel_wql_gmean": 0.6324647241609418}, "Nature": {"n_configs": 15, "rel_mase_gmean": 0.7235102474851808, "rel_wql_gmean": 0.33685653081795286}, "Sales": {"n_configs": 3, "rel_mase_gmean": 0.7486059713981105, "rel_wql_gmean": 0.47352466437330154}, "Transport": {"n_configs": 14, "rel_mase_gmean": 0.5373740999001123, "rel_wql_gmean": 0.4458528549155647}, "Web/CloudOps": {"n_configs": 18, "rel_mase_gmean": 0.7139121494179991, "rel_wql_gmean": 0.5182975401922782}}, "frequency": {"A": {"n_configs": 1, "rel_mase_gmean": 0.5305412273194996, "rel_wql_gmean": 0.8003515074386365}, "D": {"n_configs": 15, "rel_mase_gmean": 0.7189848782726174, "rel_wql_gmean": 0.4168506671427805}, "H": {"n_configs": 29, "rel_mase_gmean": 0.7218929902246265, "rel_wql_gmean": 0.48494043868982045}, "M": {"n_configs": 4, "rel_mase_gmean": 0.8339835183539945, "rel_wql_gmean": 0.8257482517849524}, "Q": {"n_configs": 1, "rel_mase_gmean": 0.7130270287878929, "rel_wql_gmean": 0.7661662375161}, "S": {"n_configs": 6, "rel_mase_gmean": 0.8378690834528353, "rel_wql_gmean": 0.5986481829064408}, "T": {"n_configs": 29, "rel_mase_gmean": 0.7071701445283383, "rel_wql_gmean": 0.4630581494762598}, "W": {"n_configs": 8, "rel_mase_gmean": 0.8116701266923606, "rel_wql_gmean": 0.6622668197361823}}, "variates": {"multivariate": {"n_configs": 41, "rel_mase_gmean": 0.7597234443787527, "rel_wql_gmean": 0.5110609184057446}, "univariate": {"n_configs": 52, "rel_mase_gmean": 0.7127385729927525, "rel_wql_gmean": 0.49516529836403683}}}, "group_skill_delta": {"term": {"long": 0.0007026268936359825, "medium": 0.0014848786465334607, "short": 0.0011429872371131466}, "domain": {"Econ/Fin": 0.00028237705186429096, "Energy": 0.0005617783994764647, "Healthcare": 0.0012375905460411118, "Nature": 0.0021296078883320524, "Sales": 0.0002384836357876008, "Transport": 0.001034410096170113, "Web/CloudOps": 0.0013177282123868483}, "frequency": {"A": -0.0007981187712625681, "D": 0.001338827871026238, "H": 0.001105189791952066, "M": 0.003771657692377972, "Q": -0.0002543051765319104, "S": 0.003126441306062322, "T": 0.0001692224676280718, "W": 0.002699192407964013}, "variates": {"multivariate": 0.0009954700011264306, "univariate": 0.0012174798532288422}}}], "mean_delta": 0.0010185270802024193, "positive_cutoffs": 4, "outcome": "Declared primary6000/durability12000 diagnostic. No transfer formula or automatic publication is selected by this controller."} + +2026-10-23T10:22:49.515280+00:00: E141maximumGPUaudit821 passed: B32signed64/C4096/H1024, peak13306MiBreserved/12671.094238281allocated includingAdam/EMAplaceholders, freebefore23499.6875MiB, allgradientsfinite. Eager/compiledloss0.349611848593/0.349606692791, gradientcos0.999655369179 (>predeclared0.999), maxgradientdifference0.000694274902344, compilecomparison52.566907400s, total621.825011299s including557.020459669lockwait,0updates/no validation, initial/source hashesunchanged. Queued[{"name": "capacity_patch8_control", "queue_pid": 29105, "watch_pid": 29106}, {"name": "capacity_patch8_candidate", "queue_pid": 29107, "watch_pid": 29108}, {"comparison_pid": 29109}] sequentially: control waitsE13626926final12000; patch8candidate waitscontrolfinal12000. Actualsharedcode random_capacity, seed809/B32/LR2e-5/12kpairedcompiled, oldpack/slowAR/horizon300812, no newconcurrentallocation. E129final12000 matched width effect passed4of4, mean0.0010185270802024193; E139predeclared12ktransfer controller proceeds. E140fullscore exactlymatchesE1390.3843356309048914,0fail, inference478.566845837s; relocation andall97arrayidentity finalcheckpending. Cachebackup10:22:14 copied826files34431587bytes in37.224307003s. + +## E140 loader-only full replay, same E139model — selected +- Checkpoint SHA-256: `dfc20235aeb4b9fc799001d69f5be390d9892448dbbf51fc2abb8ca0be453bf7`. +- Evaluation: 97 configurations, 151170 instances, 0 failed configurations; not separately timed seconds. +- Overall skill 0.384336; relative MASE 0.735964; relative WQL 0.515029. +- term skill: long=0.4011, medium=0.4090, short=0.3680. +- domain skill: Econ/Fin=0.1298, Energy=0.2414, Healthcare=0.4863, Nature=0.4435, Sales=0.3559, Transport=0.4733, Web/CloudOps=0.5003. +- frequency skill: A=0.3025, D=0.3768, H=0.3975, M=0.1484, Q=0.1892, S=0.4236, T=0.4396, W=0.2404. +- variates skill: multivariate=0.3965, univariate=0.3745. +- Outcome: Runtime-only meta-device construction preserves all97configurations/151170instances bitwise and complete scored metrics. No parameter, forecast arithmetic or training change. Shared-H100 median model load15.830805345s to8.647635335s acrossABBAAB six processes; relocation bitwise. Gate E138training/experts remain unchanged. + +2026-10-23T10:24:27.185694+00:00: E140 runtime adoption. Runtime-only meta-device construction preserves all97configurations/151170instances bitwise and complete scored metrics. No parameter, forecast arithmetic or training change. Shared-H100 median model load15.830805345s to8.647635335s acrossABBAAB six processes; relocation bitwise. Gate E138training/experts remain unchanged. Fullsuite {"status": "complete", "steps": [{"name": "full_public_replay", "returncode": 0, "seconds": 560.3487957720645}, {"name": "relocation", "returncode": 0, "seconds": 204.34823257708922}], "current_step": "relocation", "seconds": 765.6101541731041, "skill": 0.3843356309048914, "all97_bitwise_equal": true, "descriptor_sha256": "dfc20235aeb4b9fc799001d69f5be390d9892448dbbf51fc2abb8ca0be453bf7"}. Timing {"fixture": "unchanged E130 synthetic fixture, extreme/short/missing/constant histories; batch4", "order": "ABBAAB", "measurements": [{"order": 0, "loader": "original", "process_seconds": 20.24588763108477, "import_seconds": 1.4443256838712841, "load_seconds": 15.852897667093202, "forecast_seconds": 2.1752711760345846, "python_body_seconds": 19.472512820968404, "synthetic_forecasts_bitwise_equal": true}, {"order": 1, "loader": "meta", "process_seconds": 13.65355687099509, "import_seconds": 1.548527258913964, "load_seconds": 9.021844693925232, "forecast_seconds": 2.333743426948786, "python_body_seconds": 12.904134886106476, "synthetic_forecasts_bitwise_equal": true}, {"order": 2, "loader": "meta", "process_seconds": 12.357821244047955, "import_seconds": 1.4167155490722507, "load_seconds": 8.278879324207082, "forecast_seconds": 2.01220401795581, "python_body_seconds": 11.707830937113613, "synthetic_forecasts_bitwise_equal": true}, {"order": 3, "loader": "original", "process_seconds": 19.96071141399443, "import_seconds": 1.514954593963921, "load_seconds": 15.629903526045382, "forecast_seconds": 2.1864277741406113, "python_body_seconds": 19.331303440965712, "synthetic_forecasts_bitwise_equal": true}, {"order": 4, "loader": "original", "process_seconds": 20.090617951005697, "import_seconds": 1.3624230169225484, "load_seconds": 15.83080534520559, "forecast_seconds": 2.1589162528980523, "python_body_seconds": 19.352180532878265, "synthetic_forecasts_bitwise_equal": true}, {"order": 5, "loader": "meta", "process_seconds": 13.16387436306104, "import_seconds": 1.5226807829458266, "load_seconds": 8.647635334869847, "forecast_seconds": 2.1828685391228646, "python_body_seconds": 12.353214598959312, "synthetic_forecasts_bitwise_equal": true}], "original_load_median_seconds": 15.83080534520559, "meta_load_median_seconds": 8.647635334869847, "load_seconds_saved": 7.183170010335743, "relative_load_reduction": 0.4537463416231815, "all_predictions_bitwise_equal": true, "full_replay_gate_passed": true, "lock_wait_seconds": 83.4526801398024, "seconds": 182.9963137828745, "optimizer_updates": 0, "validation_data_read": false, "runtime_published": false}. All model/source hashes retained; runtime predict hash 4de2b53c821ad17baf1b78341dc4fb0bc170faab2493a4a64e0ec63c1e459c5c. + +E123 6000 four-cutoff comparison: {"label": "E123 6000 four-cutoff comparison", "utc": "2026-10-23T10:24:35.220389+00:00", "candidate": "log_horizon_ema6000", "control": "overflow_control_ema6000", "rows": [{"cutoff": "evals", "candidate_skill": 0.37865532008536973, "control_skill": 0.3782887645248565, "delta": 0.00036655556051323757, "candidate_checkpoint": "93e04b5c87662d05dfac2501f3d338fe6635300763ba7d66ed99ec753b000b54", "control_checkpoint": "b19875c52ed5024383fb69ccc48cb07a5629ad8011abf134c7dcfcdc50fae2af", "candidate_eval_seconds": 25.514965057373047, "candidate_groups": {"term": {"long": {"n_configs": 21, "rel_mase_gmean": 0.7462064122793782, "rel_wql_gmean": 0.4817524267954395}, "medium": {"n_configs": 21, "rel_mase_gmean": 0.7121443784430227, "rel_wql_gmean": 0.49387218509984704}, "short": {"n_configs": 55, "rel_mase_gmean": 0.7553622741098462, "rel_wql_gmean": 0.5442475085950527}}, "domain": {"Econ/Fin": {"n_configs": 6, "rel_mase_gmean": 0.8866145181132203, "rel_wql_gmean": 0.8542324051707179}, "Energy": {"n_configs": 32, "rel_mase_gmean": 0.8982853999565202, "rel_wql_gmean": 0.6438231700329504}, "Healthcare": {"n_configs": 5, "rel_mase_gmean": 0.5653862223410185, "rel_wql_gmean": 0.4962622080758084}, "Nature": {"n_configs": 15, "rel_mase_gmean": 0.8157537033224999, "rel_wql_gmean": 0.39922883495294803}, "Sales": {"n_configs": 4, "rel_mase_gmean": 0.8466047087571053, "rel_wql_gmean": 0.5197982234309718}, "Transport": {"n_configs": 15, "rel_mase_gmean": 0.6438808411251333, "rel_wql_gmean": 0.4424786699975036}, "Web/CloudOps": {"n_configs": 20, "rel_mase_gmean": 0.5661691110447804, "rel_wql_gmean": 0.4393097303977116}}, "frequency": {"A": {"n_configs": 1, "rel_mase_gmean": 0.6158224993578367, "rel_wql_gmean": 0.6419430340937796}, "D": {"n_configs": 15, "rel_mase_gmean": 0.7721125920488169, "rel_wql_gmean": 0.5325599077168136}, "H": {"n_configs": 31, "rel_mase_gmean": 0.7322206942759663, "rel_wql_gmean": 0.49840524191518587}, "M": {"n_configs": 5, "rel_mase_gmean": 0.9806447422858212, "rel_wql_gmean": 0.8291341847839103}, "Q": {"n_configs": 1, "rel_mase_gmean": 0.7872225408587343, "rel_wql_gmean": 0.8305665588898373}, "S": {"n_configs": 6, "rel_mase_gmean": 0.6576880286758843, "rel_wql_gmean": 0.50582210837238}, "T": {"n_configs": 30, "rel_mase_gmean": 0.6933712031833571, "rel_wql_gmean": 0.454206485450446}, "W": {"n_configs": 8, "rel_mase_gmean": 0.8998061918261053, "rel_wql_gmean": 0.6667766940735769}}, "variates": {"multivariate": {"n_configs": 43, "rel_mase_gmean": 0.7117852314964168, "rel_wql_gmean": 0.5118139617090144}, "univariate": {"n_configs": 54, "rel_mase_gmean": 0.7703613664450539, "rel_wql_gmean": 0.5248564981862198}}}, "control_groups": {"term": {"long": {"n_configs": 21, "rel_mase_gmean": 0.7451158192819246, "rel_wql_gmean": 0.4809631678035488}, "medium": {"n_configs": 21, "rel_mase_gmean": 0.7120497644863014, "rel_wql_gmean": 0.4940812105058145}, "short": {"n_configs": 55, "rel_mase_gmean": 0.7560063232433744, "rel_wql_gmean": 0.5455016162773587}}, "domain": {"Econ/Fin": {"n_configs": 6, "rel_mase_gmean": 0.891060652656678, "rel_wql_gmean": 0.8581226203181075}, "Energy": {"n_configs": 32, "rel_mase_gmean": 0.8989380404519756, "rel_wql_gmean": 0.6435803440684917}, "Healthcare": {"n_configs": 5, "rel_mase_gmean": 0.5710382040222995, "rel_wql_gmean": 0.5034944242351712}, "Nature": {"n_configs": 15, "rel_mase_gmean": 0.8133075715765863, "rel_wql_gmean": 0.4004091491239218}, "Sales": {"n_configs": 4, "rel_mase_gmean": 0.8446340518950459, "rel_wql_gmean": 0.5179589899563962}, "Transport": {"n_configs": 15, "rel_mase_gmean": 0.6447526741433901, "rel_wql_gmean": 0.4427981539703199}, "Web/CloudOps": {"n_configs": 20, "rel_mase_gmean": 0.5645988459931921, "rel_wql_gmean": 0.4387078987240053}}, "frequency": {"A": {"n_configs": 1, "rel_mase_gmean": 0.6165351258073414, "rel_wql_gmean": 0.6464531739881929}, "D": {"n_configs": 15, "rel_mase_gmean": 0.777944381816132, "rel_wql_gmean": 0.5346411774818413}, "H": {"n_configs": 31, "rel_mase_gmean": 0.7317515640788856, "rel_wql_gmean": 0.49890798111520296}, "M": {"n_configs": 5, "rel_mase_gmean": 0.9655032792454371, "rel_wql_gmean": 0.8262938781338912}, "Q": {"n_configs": 1, "rel_mase_gmean": 0.7858131466267005, "rel_wql_gmean": 0.8312500357519329}, "S": {"n_configs": 6, "rel_mase_gmean": 0.6555214893191091, "rel_wql_gmean": 0.504479335142133}, "T": {"n_configs": 30, "rel_mase_gmean": 0.6939507700541674, "rel_wql_gmean": 0.45508640655176025}, "W": {"n_configs": 8, "rel_mase_gmean": 0.8990798911693764, "rel_wql_gmean": 0.664987514515424}}, "variates": {"multivariate": {"n_configs": 43, "rel_mase_gmean": 0.7111159189621905, "rel_wql_gmean": 0.5120760043186128}, "univariate": {"n_configs": 54, "rel_mase_gmean": 0.7711295953953445, "rel_wql_gmean": 0.5256252376142441}}}, "group_skill_delta": {"term": {"long": -0.0009292866400005817, "medium": 8.608201648374614e-05, "short": 0.001011902873017334}, "domain": {"Econ/Fin": 0.004163701849280277, "Energy": 0.0001327324287423437, "Healthcare": 0.0065059814819156125, "Nature": -1.4551210729463193e-05, "Sales": -0.0019458206083642349, "Transport": 0.0005540362326413861, "Web/CloudOps": -0.0010333352414531038}, "frequency": {"A": 0.002569809970611181, "D": 0.003673625478569753, "H": 0.0001109500640047445, "M": -0.0085222577976527, "Q": -0.00039182591339348427, "S": -0.0017156017197644813, "T": 0.0007780433766471084, "W": -0.001352172614520919}, "variates": {"multivariate": -0.00012942702152285435, "univariate": 0.0007827047080517513}}}, {"cutoff": "backcast_evals", "candidate_skill": 0.3355749732404827, "control_skill": 0.33515646486891926, "delta": 0.0004185083715634308, "candidate_checkpoint": "93e04b5c87662d05dfac2501f3d338fe6635300763ba7d66ed99ec753b000b54", "control_checkpoint": "b19875c52ed5024383fb69ccc48cb07a5629ad8011abf134c7dcfcdc50fae2af", "candidate_eval_seconds": 25.02743911743164, "candidate_groups": {"term": {"long": {"n_configs": 21, "rel_mase_gmean": 0.7745769572441988, "rel_wql_gmean": 0.46493400574379684}, "medium": {"n_configs": 21, "rel_mase_gmean": 0.7751495127352199, "rel_wql_gmean": 0.5332025260186516}, "short": {"n_configs": 55, "rel_mase_gmean": 0.8173284976358717, "rel_wql_gmean": 0.5986697059120546}}, "domain": {"Econ/Fin": {"n_configs": 6, "rel_mase_gmean": 0.8823174592655021, "rel_wql_gmean": 0.8140986667594712}, "Energy": {"n_configs": 32, "rel_mase_gmean": 0.8888687691141154, "rel_wql_gmean": 0.6687728487218596}, "Healthcare": {"n_configs": 5, "rel_mase_gmean": 0.6292078899714746, "rel_wql_gmean": 0.5404132417192778}, "Nature": {"n_configs": 15, "rel_mase_gmean": 0.9361702976595294, "rel_wql_gmean": 0.43476436500743626}, "Sales": {"n_configs": 4, "rel_mase_gmean": 0.7331386222696689, "rel_wql_gmean": 0.4985191261071979}, "Transport": {"n_configs": 15, "rel_mase_gmean": 0.7392860085399551, "rel_wql_gmean": 0.532495053175624}, "Web/CloudOps": {"n_configs": 20, "rel_mase_gmean": 0.6633982972820373, "rel_wql_gmean": 0.4586366826408607}}, "frequency": {"A": {"n_configs": 1, "rel_mase_gmean": 0.65213406143564, "rel_wql_gmean": 0.7240462300238811}, "D": {"n_configs": 15, "rel_mase_gmean": 0.8394329557085416, "rel_wql_gmean": 0.5006199813037504}, "H": {"n_configs": 31, "rel_mase_gmean": 0.7767400572890936, "rel_wql_gmean": 0.5159920514316604}, "M": {"n_configs": 5, "rel_mase_gmean": 0.8694179661107201, "rel_wql_gmean": 0.8006468014326326}, "Q": {"n_configs": 1, "rel_mase_gmean": 0.7601338042952481, "rel_wql_gmean": 0.7677264103120457}, "S": {"n_configs": 6, "rel_mase_gmean": 0.85406082311329, "rel_wql_gmean": 0.5085109918154127}, "T": {"n_configs": 30, "rel_mase_gmean": 0.7681372055210357, "rel_wql_gmean": 0.576462101174773}, "W": {"n_configs": 8, "rel_mase_gmean": 0.8728363344447978, "rel_wql_gmean": 0.5817005287102098}}, "variates": {"multivariate": {"n_configs": 43, "rel_mase_gmean": 0.7895875858567248, "rel_wql_gmean": 0.5309359385983964}, "univariate": {"n_configs": 54, "rel_mase_gmean": 0.8059642824146065, "rel_wql_gmean": 0.5707588405936942}}}, "control_groups": {"term": {"long": {"n_configs": 21, "rel_mase_gmean": 0.7750842285105053, "rel_wql_gmean": 0.46538535076726445}, "medium": {"n_configs": 21, "rel_mase_gmean": 0.7739741905332832, "rel_wql_gmean": 0.534827984372569}, "short": {"n_configs": 55, "rel_mase_gmean": 0.818371751293216, "rel_wql_gmean": 0.5985153782895438}}, "domain": {"Econ/Fin": {"n_configs": 6, "rel_mase_gmean": 0.887916619787545, "rel_wql_gmean": 0.8185770809200361}, "Energy": {"n_configs": 32, "rel_mase_gmean": 0.8901417181128463, "rel_wql_gmean": 0.6693878286037928}, "Healthcare": {"n_configs": 5, "rel_mase_gmean": 0.6334453098405051, "rel_wql_gmean": 0.5437528735999733}, "Nature": {"n_configs": 15, "rel_mase_gmean": 0.9321426691826549, "rel_wql_gmean": 0.43340604882484346}, "Sales": {"n_configs": 4, "rel_mase_gmean": 0.7321691335963859, "rel_wql_gmean": 0.4977340558431129}, "Transport": {"n_configs": 15, "rel_mase_gmean": 0.7394280206962279, "rel_wql_gmean": 0.5327250385233748}, "Web/CloudOps": {"n_configs": 20, "rel_mase_gmean": 0.6634585442750054, "rel_wql_gmean": 0.4591816165371809}}, "frequency": {"A": {"n_configs": 1, "rel_mase_gmean": 0.6523615189029875, "rel_wql_gmean": 0.7262242686636398}, "D": {"n_configs": 15, "rel_mase_gmean": 0.8405439241384891, "rel_wql_gmean": 0.5009731755165275}, "H": {"n_configs": 31, "rel_mase_gmean": 0.7770655988729349, "rel_wql_gmean": 0.5160636056826207}, "M": {"n_configs": 5, "rel_mase_gmean": 0.8620023507565068, "rel_wql_gmean": 0.7924280387937057}, "Q": {"n_configs": 1, "rel_mase_gmean": 0.7600409188395882, "rel_wql_gmean": 0.7689369191610511}, "S": {"n_configs": 6, "rel_mase_gmean": 0.8521465319527592, "rel_wql_gmean": 0.5084037872669025}, "T": {"n_configs": 30, "rel_mase_gmean": 0.7696065791080199, "rel_wql_gmean": 0.577900906515431}, "W": {"n_configs": 8, "rel_mase_gmean": 0.8747966347792652, "rel_wql_gmean": 0.5837934687567188}}, "variates": {"multivariate": {"n_configs": 43, "rel_mase_gmean": 0.7902103277834961, "rel_wql_gmean": 0.5315871703126607}, "univariate": {"n_configs": 54, "rel_mase_gmean": 0.8062350844786952, "rel_wql_gmean": 0.5709428531788484}}}, "group_skill_delta": {"term": {"long": 0.00048778063938359484, "medium": 0.0004908568774791844, "short": 0.0003560652924083918}, "domain": {"Econ/Fin": 0.005020238482787098, "Energy": 0.0009065493098369126, "Healthcare": 0.003765290994097392, "Nature": -0.002369074951698802, "Sales": -0.0008757551686336962, "Transport": 0.00019575153275108725, "Web/CloudOps": 0.0003526564281545186}, "frequency": {"A": 0.001152753642942761, "D": 0.0006576219064280409, "H": 0.00017655561039986445, "M": -0.007840692723027232, "Q": 0.0005553045660217082, "S": -0.0008083634787563465, "T": 0.0014668633412805443, "W": 0.002081864480944051}, "variates": {"multivariate": 0.000652398893651096, "univariate": 0.00022327616229211866}}}, {"cutoff": "backcast2_evals", "candidate_skill": 0.3602013522615043, "control_skill": 0.35970579873679454, "delta": 0.0004955535247097576, "candidate_checkpoint": "93e04b5c87662d05dfac2501f3d338fe6635300763ba7d66ed99ec753b000b54", "control_checkpoint": "b19875c52ed5024383fb69ccc48cb07a5629ad8011abf134c7dcfcdc50fae2af", "candidate_eval_seconds": 23.198112964630127, "candidate_groups": {"term": {"long": {"n_configs": 19, "rel_mase_gmean": 0.8007882701401953, "rel_wql_gmean": 0.5047283084069593}, "medium": {"n_configs": 21, "rel_mase_gmean": 0.7557560073891201, "rel_wql_gmean": 0.4916203116994603}, "short": {"n_configs": 54, "rel_mase_gmean": 0.7630878462331969, "rel_wql_gmean": 0.5595177016373934}}, "domain": {"Econ/Fin": {"n_configs": 6, "rel_mase_gmean": 0.8944037265353993, "rel_wql_gmean": 0.9103819438899337}, "Energy": {"n_configs": 32, "rel_mase_gmean": 0.8966901108295002, "rel_wql_gmean": 0.6460978068690744}, "Healthcare": {"n_configs": 5, "rel_mase_gmean": 0.688975950767024, "rel_wql_gmean": 0.592555229178715}, "Nature": {"n_configs": 15, "rel_mase_gmean": 0.7610450511402209, "rel_wql_gmean": 0.36488567517584497}, "Sales": {"n_configs": 3, "rel_mase_gmean": 0.562690295341662, "rel_wql_gmean": 0.3611688235519399}, "Transport": {"n_configs": 14, "rel_mase_gmean": 0.668656336123287, "rel_wql_gmean": 0.5017149578822506}, "Web/CloudOps": {"n_configs": 19, "rel_mase_gmean": 0.6836872181760263, "rel_wql_gmean": 0.47194042832761307}}, "frequency": {"A": {"n_configs": 1, "rel_mase_gmean": 0.5812476180954884, "rel_wql_gmean": 0.7344030570354311}, "D": {"n_configs": 15, "rel_mase_gmean": 0.7298461049411038, "rel_wql_gmean": 0.4501889971326194}, "H": {"n_configs": 30, "rel_mase_gmean": 0.7556004160164702, "rel_wql_gmean": 0.49005904403471334}, "M": {"n_configs": 4, "rel_mase_gmean": 0.8207563558352381, "rel_wql_gmean": 0.8461681486884118}, "Q": {"n_configs": 1, "rel_mase_gmean": 0.8332490430298408, "rel_wql_gmean": 0.8745223235906323}, "S": {"n_configs": 6, "rel_mase_gmean": 0.9104095668288751, "rel_wql_gmean": 0.5690729222581083}, "T": {"n_configs": 29, "rel_mase_gmean": 0.7550352242447472, "rel_wql_gmean": 0.5407368948130437}, "W": {"n_configs": 8, "rel_mase_gmean": 0.8453218961356106, "rel_wql_gmean": 0.6402431587905859}}, "variates": {"multivariate": {"n_configs": 42, "rel_mase_gmean": 0.7819390810291392, "rel_wql_gmean": 0.5177722839678629}, "univariate": {"n_configs": 52, "rel_mase_gmean": 0.7585309693695085, "rel_wql_gmean": 0.5444650192108228}}}, "control_groups": {"term": {"long": {"n_configs": 19, "rel_mase_gmean": 0.8007838015734439, "rel_wql_gmean": 0.5057608145580296}, "medium": {"n_configs": 21, "rel_mase_gmean": 0.7549215312107497, "rel_wql_gmean": 0.49176726739734045}, "short": {"n_configs": 54, "rel_mase_gmean": 0.7642838919526312, "rel_wql_gmean": 0.5599238938428742}}, "domain": {"Econ/Fin": {"n_configs": 6, "rel_mase_gmean": 0.8997976584221669, "rel_wql_gmean": 0.9109410837720314}, "Energy": {"n_configs": 32, "rel_mase_gmean": 0.8969828992939779, "rel_wql_gmean": 0.6477417063864679}, "Healthcare": {"n_configs": 5, "rel_mase_gmean": 0.6849313799294706, "rel_wql_gmean": 0.586932347321718}, "Nature": {"n_configs": 15, "rel_mase_gmean": 0.7624727427382104, "rel_wql_gmean": 0.3657161858629389}, "Sales": {"n_configs": 3, "rel_mase_gmean": 0.5639287429478652, "rel_wql_gmean": 0.36145769293128766}, "Transport": {"n_configs": 14, "rel_mase_gmean": 0.6689876132941273, "rel_wql_gmean": 0.5020608717418806}, "Web/CloudOps": {"n_configs": 19, "rel_mase_gmean": 0.6837785683593893, "rel_wql_gmean": 0.4719606763184108}}, "frequency": {"A": {"n_configs": 1, "rel_mase_gmean": 0.5811330636284028, "rel_wql_gmean": 0.7336592636608978}, "D": {"n_configs": 15, "rel_mase_gmean": 0.7329769702098001, "rel_wql_gmean": 0.45167764562697754}, "H": {"n_configs": 30, "rel_mase_gmean": 0.7553820928392463, "rel_wql_gmean": 0.4904273479694985}, "M": {"n_configs": 4, "rel_mase_gmean": 0.8254186064766647, "rel_wql_gmean": 0.8515799856418855}, "Q": {"n_configs": 1, "rel_mase_gmean": 0.8324909356393811, "rel_wql_gmean": 0.8724694350490023}, "S": {"n_configs": 6, "rel_mase_gmean": 0.9100541095744552, "rel_wql_gmean": 0.5693729069160721}, "T": {"n_configs": 29, "rel_mase_gmean": 0.7550799772409099, "rel_wql_gmean": 0.540387432745741}, "W": {"n_configs": 8, "rel_mase_gmean": 0.8437173750489751, "rel_wql_gmean": 0.6406981711171287}}, "variates": {"multivariate": {"n_configs": 42, "rel_mase_gmean": 0.7818465318697899, "rel_wql_gmean": 0.5175870710427966}, "univariate": {"n_configs": 52, "rel_mase_gmean": 0.7594977958239505, "rel_wql_gmean": 0.545505930798867}}}, "group_skill_delta": {"term": {"long": 0.0006481605837891369, "medium": -0.0002455649395277648, "short": 0.0007492039088975444}, "domain": {"Econ/Fin": 0.0029947568262879143, "Energy": 0.0010921150561006288, "Healthcare": -0.004908064064340523, "Nature": 0.0010939856920688662, "Sales": 0.0006762696777590227, "Transport": 0.0003431454765271402, "Web/CloudOps": 5.013321128011228e-05}, "frequency": {"A": -0.00039529044588337836, "D": 0.002177116752944852, "H": 0.00014066995196726495, "M": 0.005031861953157191, "Q": -0.0013904788500725962, "S": 4.9124966616798105e-05, "T": -0.00018757494776133754, "W": -0.00043740566160055394}, "variates": {"multivariate": -0.00015146401492227568, "univariate": 0.0010238338735453212}}}, {"cutoff": "backcast3_evals", "candidate_skill": 0.38907558897446926, "control_skill": 0.38966768132876584, "delta": -0.0005920923542965806, "candidate_checkpoint": "93e04b5c87662d05dfac2501f3d338fe6635300763ba7d66ed99ec753b000b54", "control_checkpoint": "b19875c52ed5024383fb69ccc48cb07a5629ad8011abf134c7dcfcdc50fae2af", "candidate_eval_seconds": 23.680344820022583, "candidate_groups": {"term": {"long": {"n_configs": 19, "rel_mase_gmean": 0.7664246505375552, "rel_wql_gmean": 0.47534894929206173}, "medium": {"n_configs": 20, "rel_mase_gmean": 0.7709957271601952, "rel_wql_gmean": 0.5294283944280077}, "short": {"n_configs": 54, "rel_mase_gmean": 0.7149741232259509, "rel_wql_gmean": 0.5093015850008509}}, "domain": {"Econ/Fin": {"n_configs": 6, "rel_mase_gmean": 0.8424499300311005, "rel_wql_gmean": 0.8303231924998296}, "Energy": {"n_configs": 32, "rel_mase_gmean": 0.8374647244682922, "rel_wql_gmean": 0.5575694446439766}, "Healthcare": {"n_configs": 5, "rel_mase_gmean": 0.7857226277604137, "rel_wql_gmean": 0.6537514857046645}, "Nature": {"n_configs": 15, "rel_mase_gmean": 0.7124684885559982, "rel_wql_gmean": 0.3430594466733129}, "Sales": {"n_configs": 3, "rel_mase_gmean": 0.7566325282058416, "rel_wql_gmean": 0.4795753787008562}, "Transport": {"n_configs": 14, "rel_mase_gmean": 0.5435574634738487, "rel_wql_gmean": 0.44919808683312046}, "Web/CloudOps": {"n_configs": 18, "rel_mase_gmean": 0.7162827342267492, "rel_wql_gmean": 0.5164612267993445}}, "frequency": {"A": {"n_configs": 1, "rel_mase_gmean": 0.531608948400588, "rel_wql_gmean": 0.7861714391766957}, "D": {"n_configs": 15, "rel_mase_gmean": 0.725097373265854, "rel_wql_gmean": 0.42550690476480174}, "H": {"n_configs": 29, "rel_mase_gmean": 0.7273265837892093, "rel_wql_gmean": 0.48888496583136964}, "M": {"n_configs": 4, "rel_mase_gmean": 0.8647563430569731, "rel_wql_gmean": 0.8541402251007794}, "Q": {"n_configs": 1, "rel_mase_gmean": 0.7205367518569639, "rel_wql_gmean": 0.7742457404206831}, "S": {"n_configs": 6, "rel_mase_gmean": 0.84233390958665, "rel_wql_gmean": 0.6016125828203523}, "T": {"n_configs": 29, "rel_mase_gmean": 0.7064579182180134, "rel_wql_gmean": 0.46230456148625915}, "W": {"n_configs": 8, "rel_mase_gmean": 0.8114993968088045, "rel_wql_gmean": 0.6733854704706034}}, "variates": {"multivariate": {"n_configs": 41, "rel_mase_gmean": 0.7662618656430447, "rel_wql_gmean": 0.5154197000500024}, "univariate": {"n_configs": 52, "rel_mase_gmean": 0.7148181916718245, "rel_wql_gmean": 0.49935817984419606}}}, "control_groups": {"term": {"long": {"n_configs": 19, "rel_mase_gmean": 0.7650747158835133, "rel_wql_gmean": 0.4758888221311058}, "medium": {"n_configs": 20, "rel_mase_gmean": 0.7703157746376595, "rel_wql_gmean": 0.5298503011269557}, "short": {"n_configs": 54, "rel_mase_gmean": 0.713915671760059, "rel_wql_gmean": 0.5084844315057424}}, "domain": {"Econ/Fin": {"n_configs": 6, "rel_mase_gmean": 0.8452403065316382, "rel_wql_gmean": 0.8277399249864468}, "Energy": {"n_configs": 32, "rel_mase_gmean": 0.8346950467324626, "rel_wql_gmean": 0.5567599695672222}, "Healthcare": {"n_configs": 5, "rel_mase_gmean": 0.7876375654704325, "rel_wql_gmean": 0.6565412569519505}, "Nature": {"n_configs": 15, "rel_mase_gmean": 0.710238739553539, "rel_wql_gmean": 0.34191077293082645}, "Sales": {"n_configs": 3, "rel_mase_gmean": 0.7563686587019305, "rel_wql_gmean": 0.4784563222634317}, "Transport": {"n_configs": 14, "rel_mase_gmean": 0.5433317817040721, "rel_wql_gmean": 0.4493168613990946}, "Web/CloudOps": {"n_configs": 18, "rel_mase_gmean": 0.7161526533494015, "rel_wql_gmean": 0.5178489398382691}}, "frequency": {"A": {"n_configs": 1, "rel_mase_gmean": 0.5311143622209655, "rel_wql_gmean": 0.7781586196577971}, "D": {"n_configs": 15, "rel_mase_gmean": 0.7234708846594775, "rel_wql_gmean": 0.42486757337507386}, "H": {"n_configs": 29, "rel_mase_gmean": 0.725973846929309, "rel_wql_gmean": 0.48863382838793346}, "M": {"n_configs": 4, "rel_mase_gmean": 0.8623268790180476, "rel_wql_gmean": 0.8523275939235515}, "Q": {"n_configs": 1, "rel_mase_gmean": 0.7182632014266673, "rel_wql_gmean": 0.7707135583961491}, "S": {"n_configs": 6, "rel_mase_gmean": 0.8408993113146807, "rel_wql_gmean": 0.5989715147638536}, "T": {"n_configs": 29, "rel_mase_gmean": 0.7064723895859075, "rel_wql_gmean": 0.463139705670842}, "W": {"n_configs": 8, "rel_mase_gmean": 0.8096257056910313, "rel_wql_gmean": 0.6721758032092567}}, "variates": {"multivariate": {"n_configs": 41, "rel_mase_gmean": 0.7638007775200529, "rel_wql_gmean": 0.5152023145873739}, "univariate": {"n_configs": 52, "rel_mase_gmean": 0.7148285566222029, "rel_wql_gmean": 0.49905178580637044}}}, "group_skill_delta": {"term": {"long": -0.00018943603376742058, "medium": -2.7379716044273472e-05, "short": -0.0009307633618287348}, "domain": {"Econ/Fin": 7.976553499244865e-05, "Energy": -0.00162629021511429, "Healthcare": 0.0024022762439499523, "Nature": -0.0016013077695871125, "Sales": -0.0008081416482458303, "Transport": -3.728085080112464e-05, "Web/CloudOps": 0.0007612806484328383}, "frequency": {"A": -0.0036022247600432378, "D": -0.0010403139190640065, "H": -0.0007078203907763259, "M": -0.002119234073469034, "Q": -0.0028823008291861685, "S": -0.0021693930154538243, "T": 0.0005218167541891638, "W": -0.0015174000286153344}, "variates": {"multivariate": -0.0011423683985309907, "univariate": -0.00017898927207837811}}}], "mean_delta": 0.00017213127562246133, "positive_cutoffs": 3, "outcome": "Declared primary6000/durability12000 diagnostic. No transfer formula or automatic publication is selected by this controller."} + +## E143: low-frequency synthetic generation-origin window study +2026-10-23T10:27:02.767973+00:00: E113short low-frequency windows failed primary/final; E123log horizons primary passes3of4 overall but monthlyregresses3of4. Hypothesis: E113selected synthetic shortviews are often late crops of long damped-trend/zero-initialized-AR paths, hiding early dynamics. Change only the origin of selected low-frequency SYNTHETIC views: retain exactly E113selected rows, context/horizon lengths, sign, period, masks and all three RNG streams; for a successfully shortened selected synthetic row, use the first nc+nh finite observations of that same already-generated raw path, split at nc. No regeneration, new random draws, changed source probabilities or real-row changes. Original synthetic paths start at generator time0; keep real and unselected rows bitwise equal toE113. This changes process age, including its noise/seasonal path slice, not window-length distributions. Architecture remains exactE80/E113model; initialize same ownE62 22c08571...,seed197/B64/LR2e-5/12kpaired/oldpack/originalAR/horizon300200/lowfreq1200200. Primary6k,1/3diagnostics,12durability; allfour matchedagainstE113, also report originalE80 reference before any later transfer proposal. No transfer/ensemble formula selected. Queue only after audits, following E138gate12000 in its allocation. CPUfixture829 compares candidate, unchangedE113 and rawOriginalSampler over matched batches: masks/counts/periods, all RNGs, exact prefix content, unchanged real/unselected rows, measured age distribution andchanged-row fraction. GPUfixture839 checks maximumB64C4096H1024 gradients and modelinitiality,0updates. No validation training; no extra concurrent trainer. + +E138 bounded learned gate with frozen E130 experts seed751 training started at 2026-10-23T10:27:05Z, after the declared dependency processes exited; required checkpoint files are present. Settings are unchanged from the declared comparison. + +## E139 width-treatment transfer12000 valid_screen +- Checkpoint SHA-256: `0b11b7351a4a92d1d18c71a4159ec445be3a94ace8c7a9fa0edafad87d14e960`. +- Evaluation: 97 configurations, 9473 instances, 0 failed configurations; 28.310531616210938 seconds. +- Overall skill 0.387520; relative MASE 0.733331; relative WQL 0.511544. +- term skill: long=0.4091, medium=0.4104, short=0.3700. +- domain skill: Econ/Fin=0.1459, Energy=0.2422, Healthcare=0.4758, Nature=0.4455, Sales=0.3392, Transport=0.4746, Web/CloudOps=0.5119. +- frequency skill: A=0.3742, D=0.3751, H=0.4081, M=0.1041, Q=0.2058, S=0.4261, T=0.4443, W=0.2245. +- variates skill: multivariate=0.4021, univariate=0.3757. +- Outcome: Fixed zero-extended E117first + E129 - zero-extended E119, coefficient1. No E128dispersion correction; no optimizer update. Equal-quarter ensemble selected separately. + +## E139 width-treatment transfer12000 valid_backcast +- Checkpoint SHA-256: `0b11b7351a4a92d1d18c71a4159ec445be3a94ace8c7a9fa0edafad87d14e960`. +- Evaluation: 97 configurations, 9330 instances, 0 failed configurations; 27.502727031707764 seconds. +- Overall skill 0.343890; relative MASE 0.788701; relative WQL 0.545809. +- term skill: long=0.4003, medium=0.3644, short=0.3127. +- domain skill: Econ/Fin=0.1771, Energy=0.2297, Healthcare=0.3741, Nature=0.3925, Sales=0.4042, Transport=0.3810, Web/CloudOps=0.4586. +- frequency skill: A=0.3220, D=0.3633, H=0.3791, M=0.1943, Q=0.2316, S=0.3397, T=0.3382, W=0.2887. +- variates skill: multivariate=0.3594, univariate=0.3313. +- Outcome: Fixed zero-extended E117first + E129 - zero-extended E119, coefficient1. No E128dispersion correction; no optimizer update. Equal-quarter ensemble selected separately. + +## E139 width-treatment transfer12000 valid_backcast2 +- Checkpoint SHA-256: `0b11b7351a4a92d1d18c71a4159ec445be3a94ace8c7a9fa0edafad87d14e960`. +- Evaluation: 94 configurations, 8934 instances, 0 failed configurations; 24.989196062088013 seconds. +- Overall skill 0.366048; relative MASE 0.764590; relative WQL 0.525635. +- term skill: long=0.3729, medium=0.3948, short=0.3520. +- domain skill: Econ/Fin=0.1344, Energy=0.2395, Healthcare=0.3026, Nature=0.4850, Sales=0.5507, Transport=0.4293, Web/CloudOps=0.4457. +- frequency skill: A=0.3479, D=0.4284, H=0.4004, M=0.1462, Q=0.1543, S=0.2879, T=0.3704, W=0.2617. +- variates skill: multivariate=0.3723, univariate=0.3610. +- Outcome: Fixed zero-extended E117first + E129 - zero-extended E119, coefficient1. No E128dispersion correction; no optimizer update. Equal-quarter ensemble selected separately. + +## E139 width-treatment transfer12000 valid_backcast3 +- Checkpoint SHA-256: `0b11b7351a4a92d1d18c71a4159ec445be3a94ace8c7a9fa0edafad87d14e960`. +- Evaluation: 93 configurations, 8812 instances, 0 failed configurations; 26.174396991729736 seconds. +- Overall skill 0.392430; relative MASE 0.738716; relative WQL 0.499707. +- term skill: long=0.3967, medium=0.3652, short=0.4007. +- domain skill: Econ/Fin=0.1856, Energy=0.3243, Healthcare=0.2332, Nature=0.5002, Sales=0.4071, Transport=0.5169, Web/CloudOps=0.3961. +- frequency skill: A=0.3623, D=0.4497, H=0.4099, M=0.1429, Q=0.2639, S=0.2800, T=0.4328, W=0.2495. +- variates skill: multivariate=0.3764, univariate=0.4048. +- Outcome: Fixed zero-extended E117first + E129 - zero-extended E119, coefficient1. No E128dispersion correction; no optimizer update. Equal-quarter ensemble selected separately. + +E139 fixed width-treatment equal-quarter ensemble diagnostics: {"duration": 12, "rows": [{"cutoff": "valid_screen", "skill": 0.3880940716647685, "control_skill": 0.3878507268780589, "delta": 0.00024334478670962056, "groups": {"term": {"short": 0.3718361126433063, "medium": 0.41047787687286896, "long": 0.4070163737461161}, "domain": {"Econ/Fin": 0.1488229748585247, "Energy": 0.247964055732541, "Healthcare": 0.4809027473693035, "Nature": 0.44352650768790447, "Sales": 0.34256789285366673, "Transport": 0.47310196832544604, "Web/CloudOps": 0.5083316851449597}, "freq": {"A-DEC": 0.3830952988223687, "Q-DEC": 0.20467537519703682, "M": 0.12390254877378837, "W-SUN": 0.09450096808121189, "D": 0.37275151579100685, "H": 0.4027073080058312, "15T": 0.21611553985351117, "W-FRI": 0.018967985259529585, "10T": 0.6269959285933837, "W-TUE": 0.6124123403873277, "W-THU": 0.2268102199847829, "W-WED": 0.3225344724675915, "5T": 0.5239433705854297, "10S": 0.4236958122200234}}, "member_checkpoint_hashes": ["0b11b7351a4a92d1d18c71a4159ec445be3a94ace8c7a9fa0edafad87d14e960", "308389b7217c080af9eb185559d4ee3cafa0f3e0f8c4dd8f5526b68198c89988", "1a2fb20a9fb5cae6526f2e36ea47559626bece78fd9c284899836505030ae9fe", "227ea80abf17fc81ae191f94e91f6dd7adbc0d837235750b5f5e9cef3dd5472c"], "cpu_seconds": 1.6809547890443355}, {"cutoff": "valid_backcast", "skill": 0.3448104609077517, "control_skill": 0.34441110518308204, "delta": 0.00039935572466964775, "groups": {"term": {"short": 0.31245915335733965, "medium": 0.36362389340881796, "long": 0.4054350296920991}, "domain": {"Econ/Fin": 0.18126455901870764, "Energy": 0.23553281949198923, "Healthcare": 0.40340386557544006, "Nature": 0.3796461943741479, "Sales": 0.40735666854345987, "Transport": 0.3765206196971741, "Web/CloudOps": 0.45926117581551074}, "freq": {"A-DEC": 0.33497124765846853, "Q-DEC": 0.2330478195417287, "M": 0.1971724324218872, "W-SUN": 0.054978160901529294, "D": 0.3623003627918472, "H": 0.37563617715620035, "15T": 0.2237740903317258, "W-FRI": 0.23889383471934988, "10T": 0.33382559175453563, "W-TUE": 0.5282101735908391, "W-THU": 0.2699481170031097, "W-WED": 0.3579223791574039, "5T": 0.44639393817344386, "10S": 0.3494866279841966}}, "member_checkpoint_hashes": ["0b11b7351a4a92d1d18c71a4159ec445be3a94ace8c7a9fa0edafad87d14e960", "308389b7217c080af9eb185559d4ee3cafa0f3e0f8c4dd8f5526b68198c89988", "1a2fb20a9fb5cae6526f2e36ea47559626bece78fd9c284899836505030ae9fe", "227ea80abf17fc81ae191f94e91f6dd7adbc0d837235750b5f5e9cef3dd5472c"], "cpu_seconds": 1.3834715059492737}, {"cutoff": "valid_backcast2", "skill": 0.36880549401636464, "control_skill": 0.3685168155758046, "delta": 0.00028867844056001957, "groups": {"term": {"short": 0.3557792125839013, "medium": 0.3976234159515164, "long": 0.37283637415331294}, "domain": {"Econ/Fin": 0.1279512813804744, "Energy": 0.24000021529474358, "Healthcare": 0.36887674104298807, "Nature": 0.4823897557215715, "Sales": 0.5594334224806643, "Transport": 0.42685460130823527, "Web/CloudOps": 0.4459311887907168}, "freq": {"A-DEC": 0.338334357927663, "Q-DEC": 0.15206458144058743, "M": 0.1698603515590016, "W-SUN": 0.07845860079783107, "D": 0.4357602074273158, "H": 0.40005281620046274, "15T": 0.10570069438527652, "W-FRI": 0.15750144786315068, "10T": 0.5103185468905502, "W-TUE": 0.17377501969975284, "W-THU": 0.33380296904542994, "W-WED": 0.5582895692455323, "5T": 0.4774074622724199, "10S": 0.2915269307225671}}, "member_checkpoint_hashes": ["0b11b7351a4a92d1d18c71a4159ec445be3a94ace8c7a9fa0edafad87d14e960", "308389b7217c080af9eb185559d4ee3cafa0f3e0f8c4dd8f5526b68198c89988", "1a2fb20a9fb5cae6526f2e36ea47559626bece78fd9c284899836505030ae9fe", "227ea80abf17fc81ae191f94e91f6dd7adbc0d837235750b5f5e9cef3dd5472c"], "cpu_seconds": 1.9184009530581534}, {"cutoff": "valid_backcast3", "skill": 0.3916700540609932, "control_skill": 0.3912834616582097, "delta": 0.00038659240278349216, "groups": {"term": {"short": 0.39665594368150614, "medium": 0.3726936875567748, "long": 0.3970868799589885}, "domain": {"Econ/Fin": 0.18900504765867832, "Energy": 0.31991046115705724, "Healthcare": 0.23584447967070232, "Nature": 0.5087575358785668, "Sales": 0.3990721070656553, "Transport": 0.5095530506864195, "Web/CloudOps": 0.39754690098606627}, "freq": {"A-DEC": 0.35351115435794767, "Q-DEC": 0.2617314512834785, "M": 0.15027823393361794, "W-SUN": 0.1701517578741646, "D": 0.4415953734285615, "H": 0.40774874323266697, "15T": 0.2630174882655655, "W-FRI": 0.04539106764289902, "10T": 0.6020760681644033, "W-TUE": 0.28156959554735794, "W-THU": 0.35210625055136835, "W-WED": 0.36540966729932056, "5T": 0.4693489584952465, "10S": 0.2889018833518858}}, "member_checkpoint_hashes": ["0b11b7351a4a92d1d18c71a4159ec445be3a94ace8c7a9fa0edafad87d14e960", "308389b7217c080af9eb185559d4ee3cafa0f3e0f8c4dd8f5526b68198c89988", "1a2fb20a9fb5cae6526f2e36ea47559626bece78fd9c284899836505030ae9fe", "227ea80abf17fc81ae191f94e91f6dd7adbc0d837235750b5f5e9cef3dd5472c"], "cpu_seconds": 1.126626624027267}], "positive_cutoffs": 4, "mean_delta": 0.000329492838680695, "selection_gate_passed": true}. Full replay/runtime checks and comparison to current publication required before any promotion. + +2026-10-23T10:31:23.864747+00:00: E140runtime published10:24:27.185694UTC with all97forecasts/151170instances bitwiseunchanged; same descriptor dfc20235..., predictSHA4de2b53c821ad17baf1b78341dc4fb0bc170faab2493a4a64e0ec63c1e459c5c. Fullsuite765.610154173s, fullinference478.566845837s, relocation24.125692660s; score0.3843356309048914. Shared four_member_ensemble/runtime/predict.py nowuses auditedmeta construction; E138training/experts loader unchanged. E132andE142fullpipeline active; E13912transfer0b11b7351a4a92d1d18c71a4159ec445be3a94ace8c7a9fa0edafad87d14e960 passed4of4vsE130,3of4vscurrentwidth6; fullsuite queued, no publication. E142latest longterm diagnostic regresses0.001008571versusE139width6 despitepositiveaggregate; earlier longgroups improve. All tradeoffs remain inreports. + +2026-10-23T10:31:23.864747+00:00: E123log_horizon completed2026-10-23T10:27:03Z, process2411.322815848049s, {"completed_step": 12000, "training_process_loop_seconds": 2398.8343433369882}. Primary6k3of4positive/mean+0.000172131276; monthlynegative3of4 andlatestlongnegative0.000929287. No transferselected yet; awaitscheduledfinaldurability. E138gate started10:27 afterE123; only6340paramsoptimized withfixedE130experts. E143synthetic-origin CPUaudit8192rows acrossseeds197/829:251originresetrows/235actuallychanged, fraction0.0286865234; all7941otherrowsbitwiseequal; masks/counts/periods/allRNGstreams exact. Oldage mean2442.697211/median2269/max4984→0; meancontext/horizon197.4741/7.54183 unchanged. Originalsynthetic flags independentlychecked againstrecordedgeneratorcalls. CPU9.716736370s,0updates/no validation. Samplerrecovery audit andGPU839 maxshape pending; NOTQUEUED. Shared trainer/publisher metadata-only support added for newlowfreq_age codepath; all existing paths unchanged. + +E131 fresh146M learned seasonal summaries seed307 training started at 2026-10-23T10:36:09Z, after the declared dependency processes exited; required checkpoint files are present. Settings are unchanged from the declared comparison. + +## E132 final146M fourth replacement full replay — not selected +- Checkpoint SHA-256: `2eb9f5a1c466d0b134bd6e1654084872257eb5250debdf70bb5ff91b4f992788`. +- Evaluation: 97 configurations, 151170 instances, 0 failed configurations; not separately timed seconds. +- Overall skill 0.384297; relative MASE 0.736378; relative WQL 0.514803. +- term skill: long=0.4000, medium=0.4094, short=0.3682. +- domain skill: Econ/Fin=0.1297, Energy=0.2406, Healthcare=0.4991, Nature=0.4411, Sales=0.3580, Transport=0.4725, Web/CloudOps=0.4997. +- frequency skill: A=0.3046, D=0.3758, H=0.3980, M=0.1500, Q=0.1918, S=0.4240, T=0.4382, W=0.2445. +- variates skill: multivariate=0.3962, univariate=0.3747. +- Outcome: All 97 configurations and 151170 instances passed, but full skill 0.384297081868 is below current E139 0.384335630905 by 0.000038549037. Diagnostic improvement did not carry to the full validation panel. Runtime relocation and independent composition passed. Keep current package; fixed E142 combination is evaluated separately. + +2026-10-23T10:37:49.051282+00:00: E132 final fresh146M replacement complete, rejected against current E139. {"candidate": "/workspace/research/valid-report-fresh-capacity96-ensemble.json", "parent": "/workspace/research/valid-report-width6-ensemble.json", "candidate_hash": "2eb9f5a1c466d0b134bd6e1654084872257eb5250debdf70bb5ff91b4f992788", "parent_hash": "dfc20235aeb4b9fc799001d69f5be390d9892448dbbf51fc2abb8ca0be453bf7", "skill_difference": -3.8549037296498057e-05, "n_configs": 97, "n_dataset_clusters": 28, "improved_configs": 58, "bootstrap_seed": 317, "bootstrap_samples": 5000, "dataset_cluster_delta_percentiles": {"p025": -0.0017987775569960063, "p50": -6.69091715608805e-05, "p975": 0.00186898954741802}, "note": "Descriptive resampling only. Adaptive validation selection and reused windows prevent treating this as a held-out significance test."}. Fullsuite {"package": "/workspace/research/candidate-fresh-capacity96-ensemble", "status": "complete", "steps": [{"name": "synthetic_composition", "returncode": 0, "seconds": 36.56581411208026}, {"name": "relocation", "returncode": 0, "seconds": 79.25890716700815}, {"name": "full_public_replay", "returncode": 0, "seconds": 517.8466667379253}, {"name": "independent_fresh_member", "returncode": 0, "seconds": 116.02587331691757}, {"name": "composition", "returncode": 0, "seconds": 0.2465963999275118}, {"name": "descriptive_comparison", "returncode": 0, "seconds": 0.14853956899605691}], "current_step": "descriptive_comparison", "seconds": 750.1023201830685, "skill": 0.3842970818675949}. E142 fixed joint remains separately in full validation; no new coefficient search. + +2026-10-23T10:37:49.051282+00:00: E143 process-age study queued after E138 final12000. CPU 8192 rows and exact sampler recovery passed; GPU {"fixture_seed": 839, "training_seed": 197, "initial_checkpoint_sha256": "22c08571978be31ba57368eb983089a40a44d56d4ae5e17da41afd2a761a258c", "parameters": 36800800, "batch": 64, "signed_rows": 128, "context": 4096, "horizon": 1024, "changed_origin_rows": 5, "loss": 0.27946507930755615, "all_gradients_finite": true, "initial_parameters_bitwise_unchanged": true, "model_source_byte_identical": true, "peak_allocated_mib": 5783.81689453125, "peak_reserved_mib": 6266.0, "includes_adam_and_ema_placeholders": true, "lock_wait_seconds": 398.92589370394126, "seconds": 408.2387276128866, "optimizer_updates": 0, "validation_data_read": false}. Recovery {"seed": 197, "changed_origin_rows": 1, "rng_names": ["rng", "horizon_rng", "lowfreq_rng"], "arrays_and_age_metadata_bitwise_equal": true, "rng_end_states_bitwise_equal": true, "additional_persistent_sampler_state_required": false, "seconds": 3.593586537055671, "optimizer_updates": 0, "validation_data_read": false}. Seed197/B64/LR2e-5/original12k schedule, same E113 initial22c085... and architecture. No validation used for training. Queue29836/watch29837/matched29838/reference29839; persistent session61462. E94 final96000 completed10:36:05, process21577.931560865s/loop21549.731918170s; E131 started10:36:09 on freed allocation, final E94 evaluation pending. + +E136 6000 four-cutoff comparison: {"label": "E136 6000 four-cutoff comparison", "utc": "2026-10-23T10:38:33.022534+00:00", "candidate": "direct_trend_head_ema6000", "control": "long_seasonal_ema6000", "rows": [{"cutoff": "evals", "candidate_skill": 0.38278101206010395, "control_skill": 0.38227466722292214, "delta": 0.0005063448371818158, "candidate_checkpoint": "fb0c9d03d2553d9f54c2e10a65c0d4be1a24378569a8a23260bae026fab464b7", "control_checkpoint": "ad45e0cfae574d3dc1be0b9720c9be0863db9ffe33891fdb22c86dfa83667253", "candidate_eval_seconds": 28.18398880958557, "candidate_groups": {"term": {"long": {"n_configs": 21, "rel_mase_gmean": 0.7405286822510679, "rel_wql_gmean": 0.47815289625292473}, "medium": {"n_configs": 21, "rel_mase_gmean": 0.7098466409104937, "rel_wql_gmean": 0.49273280479882475}, "short": {"n_configs": 55, "rel_mase_gmean": 0.7487902344550451, "rel_wql_gmean": 0.5405241839882021}}, "domain": {"Econ/Fin": {"n_configs": 6, "rel_mase_gmean": 0.8885757607542428, "rel_wql_gmean": 0.8560105262486205}, "Energy": {"n_configs": 32, "rel_mase_gmean": 0.896865896857373, "rel_wql_gmean": 0.6417519337394582}, "Healthcare": {"n_configs": 5, "rel_mase_gmean": 0.57210565628962, "rel_wql_gmean": 0.5054745063696781}, "Nature": {"n_configs": 15, "rel_mase_gmean": 0.8025539119446234, "rel_wql_gmean": 0.3983162431465755}, "Sales": {"n_configs": 4, "rel_mase_gmean": 0.8419405550999579, "rel_wql_gmean": 0.5158994080757854}, "Transport": {"n_configs": 15, "rel_mase_gmean": 0.6321298413405132, "rel_wql_gmean": 0.4333564919287113}, "Web/CloudOps": {"n_configs": 20, "rel_mase_gmean": 0.5608853879574, "rel_wql_gmean": 0.4347651717202102}}, "frequency": {"A": {"n_configs": 1, "rel_mase_gmean": 0.6176051344653356, "rel_wql_gmean": 0.6475870918735755}, "D": {"n_configs": 15, "rel_mase_gmean": 0.7576437755821, "rel_wql_gmean": 0.5207339801102654}, "H": {"n_configs": 31, "rel_mase_gmean": 0.7253222127375288, "rel_wql_gmean": 0.4952653450154947}, "M": {"n_configs": 5, "rel_mase_gmean": 0.9618996553464796, "rel_wql_gmean": 0.8274106367297241}, "Q": {"n_configs": 1, "rel_mase_gmean": 0.783576833064113, "rel_wql_gmean": 0.8303585401738374}, "S": {"n_configs": 6, "rel_mase_gmean": 0.6546604495433772, "rel_wql_gmean": 0.5030010524751672}, "T": {"n_configs": 30, "rel_mase_gmean": 0.6923259345252674, "rel_wql_gmean": 0.453162524716402}, "W": {"n_configs": 8, "rel_mase_gmean": 0.9042614158747945, "rel_wql_gmean": 0.6712662529903971}}, "variates": {"multivariate": {"n_configs": 43, "rel_mase_gmean": 0.7081206446758993, "rel_wql_gmean": 0.510165348306591}, "univariate": {"n_configs": 54, "rel_mase_gmean": 0.763446087094821, "rel_wql_gmean": 0.5205507164597446}}}, "control_groups": {"term": {"long": {"n_configs": 21, "rel_mase_gmean": 0.7402530882128023, "rel_wql_gmean": 0.47826753514082926}, "medium": {"n_configs": 21, "rel_mase_gmean": 0.710265197438745, "rel_wql_gmean": 0.4931672821758772}, "short": {"n_configs": 55, "rel_mase_gmean": 0.7498589240481417, "rel_wql_gmean": 0.5410407688872414}}, "domain": {"Econ/Fin": {"n_configs": 6, "rel_mase_gmean": 0.8892029615768211, "rel_wql_gmean": 0.85541375158805}, "Energy": {"n_configs": 32, "rel_mase_gmean": 0.8972340808013708, "rel_wql_gmean": 0.6419310799963354}, "Healthcare": {"n_configs": 5, "rel_mase_gmean": 0.5749908408040473, "rel_wql_gmean": 0.507856444781463}, "Nature": {"n_configs": 15, "rel_mase_gmean": 0.8028566989060131, "rel_wql_gmean": 0.39889278962700064}, "Sales": {"n_configs": 4, "rel_mase_gmean": 0.8421494671087474, "rel_wql_gmean": 0.5162975438622042}, "Transport": {"n_configs": 15, "rel_mase_gmean": 0.6323849322594254, "rel_wql_gmean": 0.43339253239569303}, "Web/CloudOps": {"n_configs": 20, "rel_mase_gmean": 0.5616650304722973, "rel_wql_gmean": 0.43523931575775593}}, "frequency": {"A": {"n_configs": 1, "rel_mase_gmean": 0.61692642682572, "rel_wql_gmean": 0.6469875043190525}, "D": {"n_configs": 15, "rel_mase_gmean": 0.7604157827225532, "rel_wql_gmean": 0.5223254859979091}, "H": {"n_configs": 31, "rel_mase_gmean": 0.7256889701473604, "rel_wql_gmean": 0.49536285168895955}, "M": {"n_configs": 5, "rel_mase_gmean": 0.9611837530785082, "rel_wql_gmean": 0.8278616039641923}, "Q": {"n_configs": 1, "rel_mase_gmean": 0.7839583182238047, "rel_wql_gmean": 0.830360300010519}, "S": {"n_configs": 6, "rel_mase_gmean": 0.6548591866261223, "rel_wql_gmean": 0.5032338833413911}, "T": {"n_configs": 30, "rel_mase_gmean": 0.6926762306120622, "rel_wql_gmean": 0.45361994505793396}, "W": {"n_configs": 8, "rel_mase_gmean": 0.9042490502981876, "rel_wql_gmean": 0.6703742252767426}}, "variates": {"multivariate": {"n_configs": 43, "rel_mase_gmean": 0.7084778976708436, "rel_wql_gmean": 0.510408775576821}, "univariate": {"n_configs": 54, "rel_mase_gmean": 0.7643134428569803, "rel_wql_gmean": 0.5210866729603522}}}, "group_skill_delta": {"term": {"long": -3.942169230186643e-05, "medium": 0.0004350976169777976, "short": 0.0007579826976086279}, "domain": {"Econ/Fin": 3.5755094018874445e-06, "Energy": 0.0002616127753619635, "Healthcare": 0.0026230145681945816, "Nature": 0.0005157671103503958, "Sales": 0.0003360515357794247, "Transport": 0.00012736240319888292, "Web/CloudOps": 0.0006124724786850666}, "frequency": {"A": -0.0006402672463406978, "D": 0.0021088726475737563, "H": 0.0002105240154501864, "M": -8.905187245267232e-05, "Q": 0.00019718505693444577, "S": 0.0002199106508103954, "T": 0.0004243767697019729, "W": -0.0005231595721540971}, "variates": {"multivariate": 0.00029501300004453057, "univariate": 0.0006826352314314166}}}, {"cutoff": "backcast_evals", "candidate_skill": 0.3399392598514368, "control_skill": 0.33985253853394604, "delta": 8.672131749076772e-05, "candidate_checkpoint": "fb0c9d03d2553d9f54c2e10a65c0d4be1a24378569a8a23260bae026fab464b7", "control_checkpoint": "ad45e0cfae574d3dc1be0b9720c9be0863db9ffe33891fdb22c86dfa83667253", "candidate_eval_seconds": 24.414610862731934, "candidate_groups": {"term": {"long": {"n_configs": 21, "rel_mase_gmean": 0.7705725087665215, "rel_wql_gmean": 0.4621323657198457}, "medium": {"n_configs": 21, "rel_mase_gmean": 0.7699864132626696, "rel_wql_gmean": 0.531299586091609}, "short": {"n_configs": 55, "rel_mase_gmean": 0.8116529583093353, "rel_wql_gmean": 0.5938558007894768}}, "domain": {"Econ/Fin": {"n_configs": 6, "rel_mase_gmean": 0.8852120534888323, "rel_wql_gmean": 0.8179516953350823}, "Energy": {"n_configs": 32, "rel_mase_gmean": 0.8881095280422702, "rel_wql_gmean": 0.6675561545238007}, "Healthcare": {"n_configs": 5, "rel_mase_gmean": 0.6580415161881298, "rel_wql_gmean": 0.564896835359652}, "Nature": {"n_configs": 15, "rel_mase_gmean": 0.9038834058367392, "rel_wql_gmean": 0.42320740090810766}, "Sales": {"n_configs": 4, "rel_mase_gmean": 0.7231596070270924, "rel_wql_gmean": 0.4907680414811137}, "Transport": {"n_configs": 15, "rel_mase_gmean": 0.7315609837678774, "rel_wql_gmean": 0.5246357368970765}, "Web/CloudOps": {"n_configs": 20, "rel_mase_gmean": 0.6597614339199229, "rel_wql_gmean": 0.45525974150901544}}, "frequency": {"A": {"n_configs": 1, "rel_mase_gmean": 0.6526982782357469, "rel_wql_gmean": 0.72710882538183}, "D": {"n_configs": 15, "rel_mase_gmean": 0.8204841591524809, "rel_wql_gmean": 0.49031488068233403}, "H": {"n_configs": 31, "rel_mase_gmean": 0.7680756629108945, "rel_wql_gmean": 0.5095079711748094}, "M": {"n_configs": 5, "rel_mase_gmean": 0.8659777218856922, "rel_wql_gmean": 0.7943155389689884}, "Q": {"n_configs": 1, "rel_mase_gmean": 0.7585491760671974, "rel_wql_gmean": 0.765760286050908}, "S": {"n_configs": 6, "rel_mase_gmean": 0.8516691477137177, "rel_wql_gmean": 0.5079001683100706}, "T": {"n_configs": 30, "rel_mase_gmean": 0.7703244418979465, "rel_wql_gmean": 0.576672470030371}, "W": {"n_configs": 8, "rel_mase_gmean": 0.8739659055281842, "rel_wql_gmean": 0.588448462245451}}, "variates": {"multivariate": {"n_configs": 43, "rel_mase_gmean": 0.7867842370919595, "rel_wql_gmean": 0.5283992813114003}, "univariate": {"n_configs": 54, "rel_mase_gmean": 0.7988391952411996, "rel_wql_gmean": 0.5661258905214072}}}, "control_groups": {"term": {"long": {"n_configs": 21, "rel_mase_gmean": 0.7709573168881856, "rel_wql_gmean": 0.46268425970990196}, "medium": {"n_configs": 21, "rel_mase_gmean": 0.7695230479033899, "rel_wql_gmean": 0.5310215600398799}, "short": {"n_configs": 55, "rel_mase_gmean": 0.8117841847086917, "rel_wql_gmean": 0.593906337357885}}, "domain": {"Econ/Fin": {"n_configs": 6, "rel_mase_gmean": 0.8871103723322559, "rel_wql_gmean": 0.8186104803199865}, "Energy": {"n_configs": 32, "rel_mase_gmean": 0.8873228160456544, "rel_wql_gmean": 0.666828211814892}, "Healthcare": {"n_configs": 5, "rel_mase_gmean": 0.6602366692845489, "rel_wql_gmean": 0.5698594545952637}, "Nature": {"n_configs": 15, "rel_mase_gmean": 0.9037307861253031, "rel_wql_gmean": 0.42282624120616724}, "Sales": {"n_configs": 4, "rel_mase_gmean": 0.7231485364548405, "rel_wql_gmean": 0.49076711071441}, "Transport": {"n_configs": 15, "rel_mase_gmean": 0.731298212809883, "rel_wql_gmean": 0.524438086130783}, "Web/CloudOps": {"n_configs": 20, "rel_mase_gmean": 0.660209298499444, "rel_wql_gmean": 0.45581270950466285}}, "frequency": {"A": {"n_configs": 1, "rel_mase_gmean": 0.6522392949080874, "rel_wql_gmean": 0.7270620636653731}, "D": {"n_configs": 15, "rel_mase_gmean": 0.8205802765681058, "rel_wql_gmean": 0.4901220874772779}, "H": {"n_configs": 31, "rel_mase_gmean": 0.7677299491087929, "rel_wql_gmean": 0.5094849178695509}, "M": {"n_configs": 5, "rel_mase_gmean": 0.866956136135693, "rel_wql_gmean": 0.7966508658255991}, "Q": {"n_configs": 1, "rel_mase_gmean": 0.7588717620885471, "rel_wql_gmean": 0.7653003797772433}, "S": {"n_configs": 6, "rel_mase_gmean": 0.8525356752749418, "rel_wql_gmean": 0.5080017737889677}, "T": {"n_configs": 30, "rel_mase_gmean": 0.7704476348183809, "rel_wql_gmean": 0.576748095637338}, "W": {"n_configs": 8, "rel_mase_gmean": 0.8742573452440867, "rel_wql_gmean": 0.5889566774320315}}, "variates": {"multivariate": {"n_configs": 43, "rel_mase_gmean": 0.7866251148848069, "rel_wql_gmean": 0.5284419129269964}, "univariate": {"n_configs": 54, "rel_mase_gmean": 0.7990675186329057, "rel_wql_gmean": 0.5662861373570198}}}, "group_skill_delta": {"term": {"long": 0.0005052929362022729, "medium": -0.0003598028091076344, "short": 8.5663898322208e-05}, "domain": {"Econ/Fin": 0.0012548650508612536, "Energy": -0.0007608507030723022, "Healthcare": 0.00369276147948161, "Nature": -0.00033077723112895363, "Sales": -5.124898123098909e-06, "Transport": -0.00022796147639292386, "Web/CloudOps": 0.0005188361746384373}, "frequency": {"A": -0.0002644075864525197, "D": -8.756725251712894e-05, "H": -0.00015495144855648402, "M": 0.0016873881454321227, "Q": -6.691025747362911e-05, "S": 0.0004003158159068265, "T": 9.699755570025115e-05, "W": 0.000429224002579609}, "variates": {"multivariate": -3.919693704634852e-05, "univariate": 0.00019128241480970143}}}, {"cutoff": "backcast2_evals", "candidate_skill": 0.3635071134421861, "control_skill": 0.3632547284652886, "delta": 0.0002523849768975017, "candidate_checkpoint": "fb0c9d03d2553d9f54c2e10a65c0d4be1a24378569a8a23260bae026fab464b7", "control_checkpoint": "ad45e0cfae574d3dc1be0b9720c9be0863db9ffe33891fdb22c86dfa83667253", "candidate_eval_seconds": 22.41284680366516, "candidate_groups": {"term": {"long": {"n_configs": 19, "rel_mase_gmean": 0.7973772793326314, "rel_wql_gmean": 0.5037189478219941}, "medium": {"n_configs": 21, "rel_mase_gmean": 0.7485376388838235, "rel_wql_gmean": 0.48680155274209747}, "short": {"n_configs": 54, "rel_mase_gmean": 0.7610807175701954, "rel_wql_gmean": 0.5563752445115923}}, "domain": {"Econ/Fin": {"n_configs": 6, "rel_mase_gmean": 0.8996158731383675, "rel_wql_gmean": 0.9116420916332623}, "Energy": {"n_configs": 32, "rel_mase_gmean": 0.8962524458427852, "rel_wql_gmean": 0.6464102529829555}, "Healthcare": {"n_configs": 5, "rel_mase_gmean": 0.6872014872642489, "rel_wql_gmean": 0.5865718984372488}, "Nature": {"n_configs": 15, "rel_mase_gmean": 0.7518101897278355, "rel_wql_gmean": 0.3576488780801564}, "Sales": {"n_configs": 3, "rel_mase_gmean": 0.5588437740278263, "rel_wql_gmean": 0.35899558344269233}, "Transport": {"n_configs": 14, "rel_mase_gmean": 0.6612290535533276, "rel_wql_gmean": 0.49535731677355166}, "Web/CloudOps": {"n_configs": 19, "rel_mase_gmean": 0.6811326945933035, "rel_wql_gmean": 0.4713218043163969}}, "frequency": {"A": {"n_configs": 1, "rel_mase_gmean": 0.5813257471420832, "rel_wql_gmean": 0.734511024100186}, "D": {"n_configs": 15, "rel_mase_gmean": 0.7257266308153661, "rel_wql_gmean": 0.4460523209351161}, "H": {"n_configs": 30, "rel_mase_gmean": 0.7493794064285709, "rel_wql_gmean": 0.48516857506793976}, "M": {"n_configs": 4, "rel_mase_gmean": 0.8063276169089454, "rel_wql_gmean": 0.8347500777879019}, "Q": {"n_configs": 1, "rel_mase_gmean": 0.8311639250882232, "rel_wql_gmean": 0.8721716257665935}, "S": {"n_configs": 6, "rel_mase_gmean": 0.9053873824094095, "rel_wql_gmean": 0.5683322217782376}, "T": {"n_configs": 29, "rel_mase_gmean": 0.7540266178705187, "rel_wql_gmean": 0.539645876861533}, "W": {"n_configs": 8, "rel_mase_gmean": 0.8509757393381764, "rel_wql_gmean": 0.641332466692172}}, "variates": {"multivariate": {"n_configs": 42, "rel_mase_gmean": 0.7796156512365023, "rel_wql_gmean": 0.5154498684396187}, "univariate": {"n_configs": 52, "rel_mase_gmean": 0.7541691448892139, "rel_wql_gmean": 0.5407064215413834}}}, "control_groups": {"term": {"long": {"n_configs": 19, "rel_mase_gmean": 0.7969398609040024, "rel_wql_gmean": 0.5035562825504419}, "medium": {"n_configs": 21, "rel_mase_gmean": 0.7490067352384399, "rel_wql_gmean": 0.48743000572367984}, "short": {"n_configs": 54, "rel_mase_gmean": 0.7615427910500057, "rel_wql_gmean": 0.5565614531092009}}, "domain": {"Econ/Fin": {"n_configs": 6, "rel_mase_gmean": 0.901205213255903, "rel_wql_gmean": 0.9129519979778129}, "Energy": {"n_configs": 32, "rel_mase_gmean": 0.895984498209844, "rel_wql_gmean": 0.6466953024058848}, "Healthcare": {"n_configs": 5, "rel_mase_gmean": 0.6906395512407255, "rel_wql_gmean": 0.5895403412546308}, "Nature": {"n_configs": 15, "rel_mase_gmean": 0.7520688777995285, "rel_wql_gmean": 0.35747495688522557}, "Sales": {"n_configs": 3, "rel_mase_gmean": 0.5597836473152902, "rel_wql_gmean": 0.3594495182358377}, "Transport": {"n_configs": 14, "rel_mase_gmean": 0.6614283420298616, "rel_wql_gmean": 0.49546817917989344}, "Web/CloudOps": {"n_configs": 19, "rel_mase_gmean": 0.6809574130261864, "rel_wql_gmean": 0.47110941162938547}}, "frequency": {"A": {"n_configs": 1, "rel_mase_gmean": 0.581464401116573, "rel_wql_gmean": 0.7355000101927864}, "D": {"n_configs": 15, "rel_mase_gmean": 0.7270580675006559, "rel_wql_gmean": 0.44686466314745266}, "H": {"n_configs": 30, "rel_mase_gmean": 0.7494927915333071, "rel_wql_gmean": 0.48496142310648743}, "M": {"n_configs": 4, "rel_mase_gmean": 0.8066081312673148, "rel_wql_gmean": 0.8347163141766332}, "Q": {"n_configs": 1, "rel_mase_gmean": 0.8311725894461938, "rel_wql_gmean": 0.8717568945686304}, "S": {"n_configs": 6, "rel_mase_gmean": 0.9046061716746755, "rel_wql_gmean": 0.5673078591497167}, "T": {"n_configs": 29, "rel_mase_gmean": 0.7542500727562019, "rel_wql_gmean": 0.5401993598021697}, "W": {"n_configs": 8, "rel_mase_gmean": 0.8508075542526838, "rel_wql_gmean": 0.6417280462795324}}, "variates": {"multivariate": {"n_configs": 42, "rel_mase_gmean": 0.7799074480129385, "rel_wql_gmean": 0.515543995911792}, "univariate": {"n_configs": 52, "rel_mase_gmean": 0.7544561978137869, "rel_wql_gmean": 0.5410325795112644}}}, "group_skill_delta": {"term": {"long": -0.00027616578195999164, "medium": 0.0005787635663814239, "short": 0.00030642478942743967}, "domain": {"Econ/Fin": 0.001450570590594169, "Energy": 5.399266426475702e-05, "Healthcare": 0.003194687746846725, "Nature": -3.6913794267290356e-05, "Sales": 0.000659821867964816, "Transport": 0.00015028778397652154, "Web/CloudOps": -0.00020056975214766126}, "frequency": {"A": 0.0005177445511324041, "D": 0.001039998472721737, "H": -8.313396708403697e-05, "M": 0.00012610037771676463, "Q": -0.00019801933347218803, "S": -0.0009560090538031085, "T": 0.0004216015774434201, "W": 0.00015477100861938098}, "variates": {"multivariate": 0.00017651018018660647, "univariate": 0.0003141225409207804}}}, {"cutoff": "backcast3_evals", "candidate_skill": 0.3946227627370048, "control_skill": 0.3944984110874522, "delta": 0.00012435164955260092, "candidate_checkpoint": "fb0c9d03d2553d9f54c2e10a65c0d4be1a24378569a8a23260bae026fab464b7", "control_checkpoint": "ad45e0cfae574d3dc1be0b9720c9be0863db9ffe33891fdb22c86dfa83667253", "candidate_eval_seconds": 22.89396333694458, "candidate_groups": {"term": {"long": {"n_configs": 19, "rel_mase_gmean": 0.7609710129937077, "rel_wql_gmean": 0.47452032168526925}, "medium": {"n_configs": 20, "rel_mase_gmean": 0.7671868609483425, "rel_wql_gmean": 0.5288868190399633}, "short": {"n_configs": 54, "rel_mase_gmean": 0.7066550913964824, "rel_wql_gmean": 0.5020328201892167}}, "domain": {"Econ/Fin": {"n_configs": 6, "rel_mase_gmean": 0.8451773564948453, "rel_wql_gmean": 0.8285360253400409}, "Energy": {"n_configs": 32, "rel_mase_gmean": 0.8275746225105758, "rel_wql_gmean": 0.5522426955814441}, "Healthcare": {"n_configs": 5, "rel_mase_gmean": 0.7605857710135878, "rel_wql_gmean": 0.6333264544496813}, "Nature": {"n_configs": 15, "rel_mase_gmean": 0.7095711608282879, "rel_wql_gmean": 0.3379649711309126}, "Sales": {"n_configs": 3, "rel_mase_gmean": 0.7488922216540858, "rel_wql_gmean": 0.4746936254424748}, "Transport": {"n_configs": 14, "rel_mase_gmean": 0.5368027387347879, "rel_wql_gmean": 0.4443200501794385}, "Web/CloudOps": {"n_configs": 18, "rel_mase_gmean": 0.7132508250826864, "rel_wql_gmean": 0.5180974455268395}}, "frequency": {"A": {"n_configs": 1, "rel_mase_gmean": 0.5305628732469561, "rel_wql_gmean": 0.7746522329493969}, "D": {"n_configs": 15, "rel_mase_gmean": 0.7102298594723973, "rel_wql_gmean": 0.41399076524676937}, "H": {"n_configs": 29, "rel_mase_gmean": 0.720402730927092, "rel_wql_gmean": 0.48476404391708994}, "M": {"n_configs": 4, "rel_mase_gmean": 0.8338038100088271, "rel_wql_gmean": 0.8240255377858996}, "Q": {"n_configs": 1, "rel_mase_gmean": 0.7158950947379155, "rel_wql_gmean": 0.7686280513395629}, "S": {"n_configs": 6, "rel_mase_gmean": 0.8366064210816937, "rel_wql_gmean": 0.6016287090516826}, "T": {"n_configs": 29, "rel_mase_gmean": 0.7048485153248912, "rel_wql_gmean": 0.4628073674178053}, "W": {"n_configs": 8, "rel_mase_gmean": 0.8097496183003908, "rel_wql_gmean": 0.6701206987456023}}, "variates": {"multivariate": {"n_configs": 41, "rel_mase_gmean": 0.7582010812745099, "rel_wql_gmean": 0.5126030278976069}, "univariate": {"n_configs": 52, "rel_mase_gmean": 0.7088887852816957, "rel_wql_gmean": 0.49358021133065977}}}, "control_groups": {"term": {"long": {"n_configs": 19, "rel_mase_gmean": 0.7605445792601405, "rel_wql_gmean": 0.4740600920237114}, "medium": {"n_configs": 20, "rel_mase_gmean": 0.7673937404796206, "rel_wql_gmean": 0.529050128812873}, "short": {"n_configs": 54, "rel_mase_gmean": 0.7066888727036074, "rel_wql_gmean": 0.5025271114107714}}, "domain": {"Econ/Fin": {"n_configs": 6, "rel_mase_gmean": 0.8465750633042362, "rel_wql_gmean": 0.8301832550203931}, "Energy": {"n_configs": 32, "rel_mase_gmean": 0.8280900345851895, "rel_wql_gmean": 0.5531225386420328}, "Healthcare": {"n_configs": 5, "rel_mase_gmean": 0.7582600194472988, "rel_wql_gmean": 0.632623318642284}, "Nature": {"n_configs": 15, "rel_mase_gmean": 0.7096275569559131, "rel_wql_gmean": 0.3386957610122997}, "Sales": {"n_configs": 3, "rel_mase_gmean": 0.7487935010952289, "rel_wql_gmean": 0.47423739993986525}, "Transport": {"n_configs": 14, "rel_mase_gmean": 0.5364607716260557, "rel_wql_gmean": 0.4442170483634485}, "Web/CloudOps": {"n_configs": 18, "rel_mase_gmean": 0.7128912578353812, "rel_wql_gmean": 0.5168699930573769}}, "frequency": {"A": {"n_configs": 1, "rel_mase_gmean": 0.5308138227989901, "rel_wql_gmean": 0.777900736251483}, "D": {"n_configs": 15, "rel_mase_gmean": 0.7112195255614516, "rel_wql_gmean": 0.4154980506806888}, "H": {"n_configs": 29, "rel_mase_gmean": 0.7198763379573593, "rel_wql_gmean": 0.48466211242450724}, "M": {"n_configs": 4, "rel_mase_gmean": 0.8330944575177875, "rel_wql_gmean": 0.8230031202022723}, "Q": {"n_configs": 1, "rel_mase_gmean": 0.7156105446358054, "rel_wql_gmean": 0.7684011151446023}, "S": {"n_configs": 6, "rel_mase_gmean": 0.8371984068688675, "rel_wql_gmean": 0.6003957122289793}, "T": {"n_configs": 29, "rel_mase_gmean": 0.7049982843940813, "rel_wql_gmean": 0.46277982987038807}, "W": {"n_configs": 8, "rel_mase_gmean": 0.8087944681865019, "rel_wql_gmean": 0.670755534033392}}, "variates": {"multivariate": {"n_configs": 41, "rel_mase_gmean": 0.7587335902791335, "rel_wql_gmean": 0.5125489110619184}, "univariate": {"n_configs": 52, "rel_mase_gmean": 0.7084600116309258, "rel_wql_gmean": 0.494009506622114}}}, "group_skill_delta": {"term": {"long": -0.0004597905397619728, "medium": 0.00018422987265309665, "short": 0.00030738935638796594}, "domain": {"Econ/Fin": 0.0015237723652161694, "Energy": 0.0007489717871447255, "Healthcare": -0.00144674446587445, "Nature": 0.000548645028838668, "Sales": -0.0003258680649546042, "Transport": -0.0002121764956774519, "Web/CloudOps": -0.000873586992585218}, "frequency": {"A": 0.001494721860401227, "D": 0.00136457137212187, "H": -0.00027805241520506563, "M": -0.0008668391590758162, "Q": -0.0002569295404494243, "S": -0.00047665778926297975, "T": 4.368260905673882e-05, "W": -8.594630509117795e-05}, "variates": {"multivariate": 0.00018596595228337343, "univariate": 7.81871842889803e-05}}}], "mean_delta": 0.00024245069528067154, "positive_cutoffs": 4, "outcome": "Declared comparison checkpoints 6000,12000. No transfer formula or automatic publication is selected by this controller."} + +## E144 matched direct-trend correction on the published width first member — declared 2026-10-23T10:38:59.356642+00:00 +Hypothesis: the E136 direct local-trend head provides a complementary improvement to E139 seasonal-width treatment. E136 primary6000 now beats matched E107 at all four cutoffs (mean 0.00024245069528067154); this transfer declaration follows those source results, before constructing/evaluating any merged candidate. Freeze base E139seasonal_width_transfer6k SHA82d50d0b2f7abfb963562f5f7966644b05612a49725f066392c022ccd6ba18ca. Fixed formula: zero_extend(base)+zero_extend(E136_duration)-zero_extend(E107_duration), coefficient1; new trend head receives E136 values, base dispersion/width paths remain bitwise unchanged. No further training, no coefficient sweep. Add direct-trend path to width model with zero-extension forward equivalence checked for both parents. Primary6000; conditional12000 durability constructed only if matched E136/E107 final passes >=3of4 and positive mean. Both ensemble probes use the same frozen E139 quartet: new first/E71patch8/E93split/E79wide48000, equal quarters, compare to E139width6 on all four panels. Require >=3of4 and positive mean before any full replay; full replay and comparison to current publication plus relocation/composition checks before selection. No E142/fresh96 or width12 substitution. Sources/seeds remain their recorded scratch parents: E136/E107 seed197/B64/LR2e-5/12k, no optimizer updates in this experiment. CPU fixture seed853. Validation only for selection. + +2026-10-23T10:39:48.392903+00:00: E144 primary merge CPU passed. {"method": "matched direct-trend treatment added to frozen E139width6", "formula": "zero_extend(E139width6)+zero_extend(E136)-zero_extend(E107)", "coefficient": 1.0, "parent_hashes": {"/workspace/research/seasonal_width_transfer6k.pt": "82d50d0b2f7abfb963562f5f7966644b05612a49725f066392c022ccd6ba18ca", "/workspace/research/runs/direct_trend_head/ema006000.pt": "fb0c9d03d2553d9f54c2e10a65c0d4be1a24378569a8a23260bae026fab464b7", "/workspace/research/runs/long_seasonal/ema006000.pt": "ad45e0cfae574d3dc1be0b9720c9be0863db9ffe33891fdb22c86dfa83667253"}, "new_parameters": ["trend_head.bias", "trend_head.weight"], "unchanged_base_paths": ["dispersion_query.weight", "width_head.bias", "width_head.weight"], "base_only_parameters_bitwise_unchanged": true, "zero_extension_fixtures": [{"context": 16, "horizon": 6, "base_bitwise_equal": true, "candidate_bitwise_equal": true}, {"context": 31, "horizon": 29, "base_bitwise_equal": true, "candidate_bitwise_equal": true}, {"context": 128, "horizon": 128, "base_bitwise_equal": true, "candidate_bitwise_equal": true}, {"context": 512, "horizon": 300, "base_bitwise_equal": true, "candidate_bitwise_equal": true}], "finite_ordered_fixture": true, "check_seed": 853, "optimizer_updates": 0, "validation_data_read": false, "seconds": 3.217405413975939, "checkpoint_sha256": "9ba4af36e21a47aa761adac79fd6de599de475dde35083e7f8e6f16df77a07ff", "parameters": 36915584}. All4cutoff first-member and fixedquarter probes now active; final waits its separate source gate. No fullsuite or publication selected. + +## E145 full-corpus simulated-building allocation — declared 2026-10-23T10:41:45.560832+00:00 +Hypothesis: fixed per-directory weighting underuses the diversity of buildings_900k (about1.875percent of real-row draws despite15.7Bpoints), limiting transfer to some energy series. This is exploratory; heterogeneous Energy failures do not establish that buildings are their cause. Test exactly one mixture change against E110: multiply the unnormalized buildings_900k weight by4, renormalize all95 probabilities. Keep original20percent synthetic share, conditional weights of all other sources in the same ratios, full packed_stratified_full corpus, E110ownc969freshinitial/seed307/B48/LR1e-4/96000/static-compiled paired loss/slowAR/horizon300310. No source added, no new generator or validation-driven training samples. Different source draws also change later sampler trajectories; this is a matched recipe, not a claim of identical windows. Primary48000,4/8/16/24learning diagnostics,72/96durability; compare48/96 across allfour cutoffs againstE110. Require>=3positive andmeanpositive plusfull validation/current-best checks before selection. No mixture coefficient sweep, no distillation or architectural factor combined. Queue after E131final96000, replacing its allocation, only after CPU probability/stream/recovery audits; model/runtime/maximum shapes identical to E110 so reuse prior GPU allocation audit. This deliberately retains E110lowerLR to isolate mixture despite E94inferior final main. No new independent trainer slot. + +2026-10-23T10:42:23.193026+00:00: E145 full-corpus source allocation audit passed {"fixture_seed": 857, "training_seed": 307, "initial_checkpoint_sha256": "c9693619ca6277c26fef3b2bde37ff6796bec97b3af9f94588bbc5ddd329ec90", "model_source_byte_identical": true, "all95_full_corpus_directories_present": true, "source_probability_formula_verified": true, "unchanged_other_source_probability_ratios": true, "old_building_probability_conditional_real": 0.018752266675677916, "new_building_probability_conditional_real": 0.07101404383933141, "unnormalized_building_weight_multiplier": 4.0, "synthetic_fraction": 0.2, "restored_probability_rows_bitwise_equal": 1024, "synthetic_rows_bitwise_equal": 256, "corresponding_rng_streams_bitwise_equal": true, "sampler_recovery_bitwise_equal": true, "additional_persistent_sampler_state_required": false, "source_draws": 200000, "maximum_sampling_zscore": 2.4399169706579604, "seconds": 4.10820398805663, "optimizer_updates": 0, "validation_data_read": false}. Queued {"queue_pid": 30898, "watch_pid": 30899, "comparison_pid": 30900} afterE131final96000, replacing thatallocation. Newbuildingprobability7.101404percent conditionalreal versus1.875227percent; allothersratiosunchanged,20percentownsyntheticunchanged. Reusebyteidentical146Mmodel/compiledmaxshapes; no redundantGPUaudit. Sharedtrainer/publisher modifications are metadata-only for thisnew codepath. + +## E94 fresh146M halfLR final96000 +- Checkpoint SHA-256: `3ecb2892396bc62c203e0d72ce266d2c6df978c24e68cf87cd6dc0ec34db5d30`. +- Evaluation: 97 configurations, 9473 instances, 0 failed configurations; 30.012848377227783 seconds. +- Overall skill 0.368620; relative MASE 0.751743; relative WQL 0.530288. +- term skill: long=0.3835, medium=0.3897, short=0.3545. +- domain skill: Econ/Fin=0.1382, Energy=0.2181, Healthcare=0.4969, Nature=0.4180, Sales=0.3477, Transport=0.4597, Web/CloudOps=0.4867. +- frequency skill: A=0.3961, D=0.3653, H=0.3830, M=0.1145, Q=0.2113, S=0.4148, T=0.4172, W=0.2262. +- variates skill: multivariate=0.3769, univariate=0.3619. +- Outcome: Declared96k schedule completed. Seed307/B48/LR1e-4; loop21549.731918170s/process21577.931560865s on shared H100. Main0.368620401816 trails matched E79originalLR final0.371180826606. No extension or publication; E131 takes released allocation. + +## E122 original AR fresh146M early8000 +- Checkpoint SHA-256: `3815be6275dbd603cc84c52fd4123d93049838c9ddebc474e7238d4fc73fe38d`. +- Evaluation: 97 configurations, 9473 instances, 0 failed configurations; 31.772407054901123 seconds. +- Overall skill 0.337168; relative MASE 0.783591; relative WQL 0.560683. +- term skill: long=0.3644, medium=0.3800, short=0.3091. +- domain skill: Econ/Fin=0.1166, Energy=0.2035, Healthcare=0.2278, Nature=0.4136, Sales=0.3185, Transport=0.4316, Web/CloudOps=0.4664. +- frequency skill: A=0.3649, D=0.3230, H=0.3597, M=-0.0185, Q=0.1862, S=0.4188, T=0.3897, W=0.1790. +- variates skill: multivariate=0.3568, univariate=0.3211. +- Outcome: Early learning diagnostic only; primary48000/final96000 unchanged. Same ownc969init/seed307/B48/LR2e-4 asE79; only original AR coefficient law differs. + +## E138 bounded learned gate early1000 +- Checkpoint SHA-256: `633ae8ba586c610bc328df8d2641a1c47546856fa302f9d6374e517a2dd7d2f6`. +- Evaluation: 97 configurations, 9473 instances, 0 failed configurations; 92.65112614980899 seconds. +- Overall skill 0.388769; relative MASE 0.732345; relative WQL 0.510147. +- term skill: long=0.4085, medium=0.4111, short=0.3722. +- domain skill: Econ/Fin=0.1505, Energy=0.2480, Healthcare=0.4796, Nature=0.4449, Sales=0.3432, Transport=0.4743, Web/CloudOps=0.5091. +- frequency skill: A=0.3803, D=0.3731, H=0.4043, M=0.1196, Q=0.2039, S=0.4248, T=0.4474, W=0.2434. +- variates skill: multivariate=0.4022, univariate=0.3779. +- Outcome: Diagnostic only; declared primary6000/final12000 unchanged. Own gate seed751/B64/LR1e-3; all four E130 experts frozen and every member forecasts every instance. Main gain versus fixed equal-quarter control is not yet a four-cutoff or full-validation selection. + +## E123 log requested horizon final12000 main +- Checkpoint SHA-256: `5fda67cc9f9137162d71f0fba5507a849dd19a23f2ac77cf0ffc08fb1b53aa06`. +- Evaluation: 97 configurations, 9473 instances, 0 failed configurations; 24.62970805168152 seconds. +- Overall skill 0.377701; relative MASE 0.744479; relative WQL 0.520170. +- term skill: long=0.4025, medium=0.4065, short=0.3564. +- domain skill: Econ/Fin=0.1304, Energy=0.2371, Healthcare=0.4530, Nature=0.4303, Sales=0.3343, Transport=0.4662, Web/CloudOps=0.5037. +- frequency skill: A=0.3651, D=0.3530, H=0.3955, M=0.0923, Q=0.1965, S=0.4247, T=0.4405, W=0.2192. +- variates skill: multivariate=0.3966, univariate=0.3622. +- Outcome: Completed original12k schedule, seed197/B64/LR2e-5; loop2398.834343337s/process2411.322815848s. Primary6k3of4 small meanpositive with monthly regressions; final earlier cutoffs pending. No transfer or publication selected. + +E141 matched146M capacity_patch8_control seed809 training started at 2026-10-23T10:45:42Z, after the declared dependency processes exited; required checkpoint files are present. Settings are unchanged from the declared comparison. + +2026-10-23T10:46:25.714004+00:00: E138 conditional fullsuite tooling prepared: ensemble_gate/validate.py --step6000|12000, check_learned_runtime.py, promote.py. No execution or new model-selection decision before declared source/current-cutoff gates. Learned runtime check reconstructs final forecasts via independent ordered NumPyFP32 weighting of four cached actual standalone experts on2extremesynthetic and3realconfigs; gateweights are computed on matching contexts/batches, bounded positive weights and sums checked. Relocation and fullpublicreplay remain mandatory. E136 completed10:45:38, process2570.288663981s; E141matched146Mcontrol started10:45:42 after it. No schedule changes. + +E123 12000 four-cutoff comparison: {"label": "E123 12000 four-cutoff comparison", "utc": "2026-10-23T10:48:46.660817+00:00", "candidate": "log_horizon_ema12000", "control": "overflow_control_ema12000", "rows": [{"cutoff": "evals", "candidate_skill": 0.37770146684887507, "control_skill": 0.37742394607564755, "delta": 0.0002775207732275131, "candidate_checkpoint": "5fda67cc9f9137162d71f0fba5507a849dd19a23f2ac77cf0ffc08fb1b53aa06", "control_checkpoint": "f11d056b95f1c5eeef174265ebc51742952600e0dae1fa52900860447d5be819", "candidate_eval_seconds": 24.62970805168152, "candidate_groups": {"term": {"long": {"n_configs": 21, "rel_mase_gmean": 0.7430244452363175, "rel_wql_gmean": 0.4804276434758998}, "medium": {"n_configs": 21, "rel_mase_gmean": 0.71174036218895, "rel_wql_gmean": 0.49498041435724505}, "short": {"n_configs": 55, "rel_mase_gmean": 0.757938731122603, "rel_wql_gmean": 0.5464559229342405}}, "domain": {"Econ/Fin": {"n_configs": 6, "rel_mase_gmean": 0.8823340676061324, "rel_wql_gmean": 0.8570935896860983}, "Energy": {"n_configs": 32, "rel_mase_gmean": 0.9010399263979435, "rel_wql_gmean": 0.6458671428713116}, "Healthcare": {"n_configs": 5, "rel_mase_gmean": 0.5871495040245798, "rel_wql_gmean": 0.5095924394827762}, "Nature": {"n_configs": 15, "rel_mase_gmean": 0.8116493904861689, "rel_wql_gmean": 0.39992570204571326}, "Sales": {"n_configs": 4, "rel_mase_gmean": 0.8514443092466814, "rel_wql_gmean": 0.5205516445093903}, "Transport": {"n_configs": 15, "rel_mase_gmean": 0.644241067703261, "rel_wql_gmean": 0.4422575250312542}, "Web/CloudOps": {"n_configs": 20, "rel_mase_gmean": 0.5625657110738383, "rel_wql_gmean": 0.4378510875844917}}, "frequency": {"A": {"n_configs": 1, "rel_mase_gmean": 0.6219123128672049, "rel_wql_gmean": 0.6481432034462807}, "D": {"n_configs": 15, "rel_mase_gmean": 0.7800627693155953, "rel_wql_gmean": 0.5365845741616493}, "H": {"n_configs": 31, "rel_mase_gmean": 0.7321846779907237, "rel_wql_gmean": 0.49908772182893135}, "M": {"n_configs": 5, "rel_mase_gmean": 0.9862393811466624, "rel_wql_gmean": 0.8354474711123536}, "Q": {"n_configs": 1, "rel_mase_gmean": 0.780436277156429, "rel_wql_gmean": 0.8272006430543747}, "S": {"n_configs": 6, "rel_mase_gmean": 0.6555124581113588, "rel_wql_gmean": 0.5049553035175368}, "T": {"n_configs": 30, "rel_mase_gmean": 0.690853971937905, "rel_wql_gmean": 0.4531219975212009}, "W": {"n_configs": 8, "rel_mase_gmean": 0.9035088801916387, "rel_wql_gmean": 0.6747538235234236}}, "variates": {"multivariate": {"n_configs": 43, "rel_mase_gmean": 0.7106567590422463, "rel_wql_gmean": 0.5122945948988381}, "univariate": {"n_configs": 54, "rel_mase_gmean": 0.7725593099787635, "rel_wql_gmean": 0.5265270775754183}}}, "control_groups": {"term": {"long": {"n_configs": 21, "rel_mase_gmean": 0.7430904415695668, "rel_wql_gmean": 0.4803877697002309}, "medium": {"n_configs": 21, "rel_mase_gmean": 0.7132918126148858, "rel_wql_gmean": 0.4952594111267713}, "short": {"n_configs": 55, "rel_mase_gmean": 0.7578628359813909, "rel_wql_gmean": 0.5467970503421377}}, "domain": {"Econ/Fin": {"n_configs": 6, "rel_mase_gmean": 0.8820089901245588, "rel_wql_gmean": 0.8576370610661226}, "Energy": {"n_configs": 32, "rel_mase_gmean": 0.9027748652932497, "rel_wql_gmean": 0.6461208417787276}, "Healthcare": {"n_configs": 5, "rel_mase_gmean": 0.5860981811462721, "rel_wql_gmean": 0.5145960110698827}, "Nature": {"n_configs": 15, "rel_mase_gmean": 0.8131107048238599, "rel_wql_gmean": 0.4016810458988802}, "Sales": {"n_configs": 4, "rel_mase_gmean": 0.8527673973406287, "rel_wql_gmean": 0.5213825017868637}, "Transport": {"n_configs": 15, "rel_mase_gmean": 0.6445705043805339, "rel_wql_gmean": 0.44151518253827515}, "Web/CloudOps": {"n_configs": 20, "rel_mase_gmean": 0.5611845549171244, "rel_wql_gmean": 0.43637179177338026}}, "frequency": {"A": {"n_configs": 1, "rel_mase_gmean": 0.6256068773709946, "rel_wql_gmean": 0.6531531717628165}, "D": {"n_configs": 15, "rel_mase_gmean": 0.7810498071209858, "rel_wql_gmean": 0.5387984968910804}, "H": {"n_configs": 31, "rel_mase_gmean": 0.7331074392934215, "rel_wql_gmean": 0.4999416190250625}, "M": {"n_configs": 5, "rel_mase_gmean": 0.9734095428884114, "rel_wql_gmean": 0.8253812557813238}, "Q": {"n_configs": 1, "rel_mase_gmean": 0.7799909436165716, "rel_wql_gmean": 0.8257926959351992}, "S": {"n_configs": 6, "rel_mase_gmean": 0.6551233447531275, "rel_wql_gmean": 0.5045264853695348}, "T": {"n_configs": 30, "rel_mase_gmean": 0.6915094659095177, "rel_wql_gmean": 0.4527256621835321}, "W": {"n_configs": 8, "rel_mase_gmean": 0.9056914149873438, "rel_wql_gmean": 0.6760727114446506}}, "variates": {"multivariate": {"n_configs": 43, "rel_mase_gmean": 0.7112247286748321, "rel_wql_gmean": 0.5124312426851864}, "univariate": {"n_configs": 54, "rel_mase_gmean": 0.7726699203226439, "rel_wql_gmean": 0.5268484105597512}}}, "group_skill_delta": {"term": {"long": 1.737862102779708e-06, "medium": 0.0008139892845643315, "short": 0.00016861148852720387}, "domain": {"Econ/Fin": 0.00011540154237155154, "Energy": 0.0008840385657633565, "Healthcare": 0.002186531351884402, "Nature": 0.0017627442471298549, "Sales": 0.0010485676697693513, "Transport": -0.0003118268093273979, "Web/CloudOps": -0.0014476889577813012}, "frequency": {"A": 0.004339356025017782, "D": 0.0017433384745902947, "H": 0.0008980352491121391, "M": -0.011372780858895815, "Q": -0.0009131547366021397, "S": -0.00041505395795748967, "T": 2.0508174443434335e-05, "W": 0.0017061180453331604}, "variates": {"multivariate": 0.00032156569378061217, "univariate": 0.00024025695121132618}}}, {"cutoff": "backcast_evals", "candidate_skill": 0.33609075986901504, "control_skill": 0.33652833730727594, "delta": -0.00043757743826089435, "candidate_checkpoint": "5fda67cc9f9137162d71f0fba5507a849dd19a23f2ac77cf0ffc08fb1b53aa06", "control_checkpoint": "f11d056b95f1c5eeef174265ebc51742952600e0dae1fa52900860447d5be819", "candidate_eval_seconds": 21.9350163936615, "candidate_groups": {"term": {"long": {"n_configs": 21, "rel_mase_gmean": 0.7785447720267828, "rel_wql_gmean": 0.4657874464088371}, "medium": {"n_configs": 21, "rel_mase_gmean": 0.7734665098073651, "rel_wql_gmean": 0.5332387222365707}, "short": {"n_configs": 55, "rel_mase_gmean": 0.816756365672336, "rel_wql_gmean": 0.596347706388073}}, "domain": {"Econ/Fin": {"n_configs": 6, "rel_mase_gmean": 0.8768134564715492, "rel_wql_gmean": 0.8144616655109266}, "Energy": {"n_configs": 32, "rel_mase_gmean": 0.888724148439279, "rel_wql_gmean": 0.6676454013434238}, "Healthcare": {"n_configs": 5, "rel_mase_gmean": 0.6285788689574936, "rel_wql_gmean": 0.5393854602556625}, "Nature": {"n_configs": 15, "rel_mase_gmean": 0.9354286323517153, "rel_wql_gmean": 0.43435095449094624}, "Sales": {"n_configs": 4, "rel_mase_gmean": 0.7341893356620086, "rel_wql_gmean": 0.4989399025969444}, "Transport": {"n_configs": 15, "rel_mase_gmean": 0.7395007482752665, "rel_wql_gmean": 0.5324398626390493}, "Web/CloudOps": {"n_configs": 20, "rel_mase_gmean": 0.6658140666785062, "rel_wql_gmean": 0.45633750729670014}}, "frequency": {"A": {"n_configs": 1, "rel_mase_gmean": 0.6447025208793009, "rel_wql_gmean": 0.7245343688761016}, "D": {"n_configs": 15, "rel_mase_gmean": 0.8375503925738963, "rel_wql_gmean": 0.49800756145685254}, "H": {"n_configs": 31, "rel_mase_gmean": 0.7782935764273052, "rel_wql_gmean": 0.5159434696680196}, "M": {"n_configs": 5, "rel_mase_gmean": 0.8656695594005757, "rel_wql_gmean": 0.798854700405089}, "Q": {"n_configs": 1, "rel_mase_gmean": 0.7637583233559485, "rel_wql_gmean": 0.7788722891347628}, "S": {"n_configs": 6, "rel_mase_gmean": 0.853720622206964, "rel_wql_gmean": 0.5075649441247883}, "T": {"n_configs": 30, "rel_mase_gmean": 0.7675667510073444, "rel_wql_gmean": 0.5728832242520099}, "W": {"n_configs": 8, "rel_mase_gmean": 0.8780742540501284, "rel_wql_gmean": 0.5891440904684123}}, "variates": {"multivariate": {"n_configs": 43, "rel_mase_gmean": 0.7917511388970789, "rel_wql_gmean": 0.5293877638004925}, "univariate": {"n_configs": 54, "rel_mase_gmean": 0.8045547413174213, "rel_wql_gmean": 0.5702492835633451}}}, "control_groups": {"term": {"long": {"n_configs": 21, "rel_mase_gmean": 0.7791999311006992, "rel_wql_gmean": 0.4659792452594256}, "medium": {"n_configs": 21, "rel_mase_gmean": 0.7710406727836745, "rel_wql_gmean": 0.5333113680139498}, "short": {"n_configs": 55, "rel_mase_gmean": 0.815154118317558, "rel_wql_gmean": 0.596530868139981}}, "domain": {"Econ/Fin": {"n_configs": 6, "rel_mase_gmean": 0.8754973298713973, "rel_wql_gmean": 0.8157069069366086}, "Energy": {"n_configs": 32, "rel_mase_gmean": 0.8880158890798259, "rel_wql_gmean": 0.6677066701972586}, "Healthcare": {"n_configs": 5, "rel_mase_gmean": 0.6235821127455097, "rel_wql_gmean": 0.5405407165775942}, "Nature": {"n_configs": 15, "rel_mase_gmean": 0.933606860676274, "rel_wql_gmean": 0.4340037728321772}, "Sales": {"n_configs": 4, "rel_mase_gmean": 0.7343890716300152, "rel_wql_gmean": 0.49893240567123487}, "Transport": {"n_configs": 15, "rel_mase_gmean": 0.7389889324657989, "rel_wql_gmean": 0.5315819911881067}, "Web/CloudOps": {"n_configs": 20, "rel_mase_gmean": 0.6643730331767335, "rel_wql_gmean": 0.45729311789913757}}, "frequency": {"A": {"n_configs": 1, "rel_mase_gmean": 0.6445434372547929, "rel_wql_gmean": 0.724090215239997}, "D": {"n_configs": 15, "rel_mase_gmean": 0.8386815774822007, "rel_wql_gmean": 0.5001256118650457}, "H": {"n_configs": 31, "rel_mase_gmean": 0.7779220228454703, "rel_wql_gmean": 0.5152698021677109}, "M": {"n_configs": 5, "rel_mase_gmean": 0.8546325349093246, "rel_wql_gmean": 0.7856916887479788}, "Q": {"n_configs": 1, "rel_mase_gmean": 0.7640852146217055, "rel_wql_gmean": 0.7788691447566721}, "S": {"n_configs": 6, "rel_mase_gmean": 0.8532609264720655, "rel_wql_gmean": 0.507658310446713}, "T": {"n_configs": 30, "rel_mase_gmean": 0.767260085607915, "rel_wql_gmean": 0.5746866456036881}, "W": {"n_configs": 8, "rel_mase_gmean": 0.869060480798712, "rel_wql_gmean": 0.5886681671106037}}, "variates": {"multivariate": {"n_configs": 43, "rel_mase_gmean": 0.7899223594259315, "rel_wql_gmean": 0.5301365087279752}, "univariate": {"n_configs": 54, "rel_mase_gmean": 0.803707925134896, "rel_wql_gmean": 0.5699074661266276}}}, "group_skill_delta": {"term": {"long": 0.0003773475858419584, "medium": -0.0009642127701032788, "short": -0.000577819225801357}, "domain": {"Econ/Fin": 1.0810300718033794e-05, "Energy": -0.0002716704814049731, "Healthcare": -0.0016982166569302626, "Nature": -0.0008755498303312237, "Sales": 7.777445298340346e-05, "Transport": -0.0007227171755528339, "Web/CloudOps": -2.060559190064648e-05}, "frequency": {"A": -0.00029381955198770626, "D": 0.0018088416982298128, "H": -0.0005650139512766161, "M": -0.012153947375495688, "Q": 0.00016348006592725728, "S": -0.00011672517385918901, "T": 0.0009102304335345535, "W": -0.003990257668077146}, "variates": {"multivariate": -0.0002909795496927048, "univariate": -0.0005594861576786458}}}, {"cutoff": "backcast2_evals", "candidate_skill": 0.36108142717175196, "control_skill": 0.36097346960650367, "delta": 0.00010795756524828448, "candidate_checkpoint": "5fda67cc9f9137162d71f0fba5507a849dd19a23f2ac77cf0ffc08fb1b53aa06", "control_checkpoint": "f11d056b95f1c5eeef174265ebc51742952600e0dae1fa52900860447d5be819", "candidate_eval_seconds": 19.892305374145508, "candidate_groups": {"term": {"long": {"n_configs": 19, "rel_mase_gmean": 0.8009815555520872, "rel_wql_gmean": 0.5046134378337488}, "medium": {"n_configs": 21, "rel_mase_gmean": 0.75698667845559, "rel_wql_gmean": 0.49095768770975096}, "short": {"n_configs": 54, "rel_mase_gmean": 0.7631238679759405, "rel_wql_gmean": 0.5567535297857584}}, "domain": {"Econ/Fin": {"n_configs": 6, "rel_mase_gmean": 0.8902935244761259, "rel_wql_gmean": 0.9080923278279727}, "Energy": {"n_configs": 32, "rel_mase_gmean": 0.8968061575878896, "rel_wql_gmean": 0.6453570394834077}, "Healthcare": {"n_configs": 5, "rel_mase_gmean": 0.6970428140387566, "rel_wql_gmean": 0.5923745553958999}, "Nature": {"n_configs": 15, "rel_mase_gmean": 0.7590508653126349, "rel_wql_gmean": 0.36304847204288593}, "Sales": {"n_configs": 3, "rel_mase_gmean": 0.5633835612811539, "rel_wql_gmean": 0.35909097774105536}, "Transport": {"n_configs": 14, "rel_mase_gmean": 0.6692248387559221, "rel_wql_gmean": 0.5016431346111367}, "Web/CloudOps": {"n_configs": 19, "rel_mase_gmean": 0.6847805713278117, "rel_wql_gmean": 0.46818708063028336}}, "frequency": {"A": {"n_configs": 1, "rel_mase_gmean": 0.5821245874208091, "rel_wql_gmean": 0.7238655281316777}, "D": {"n_configs": 15, "rel_mase_gmean": 0.7282140220073303, "rel_wql_gmean": 0.44789671623988037}, "H": {"n_configs": 30, "rel_mase_gmean": 0.7586659795269258, "rel_wql_gmean": 0.4905975420589593}, "M": {"n_configs": 4, "rel_mase_gmean": 0.8232431117752952, "rel_wql_gmean": 0.8474006394647826}, "Q": {"n_configs": 1, "rel_mase_gmean": 0.8370376096002096, "rel_wql_gmean": 0.8801666359749881}, "S": {"n_configs": 6, "rel_mase_gmean": 0.9080675028852087, "rel_wql_gmean": 0.566712842833545}, "T": {"n_configs": 29, "rel_mase_gmean": 0.7549914153310119, "rel_wql_gmean": 0.5375088149965954}, "W": {"n_configs": 8, "rel_mase_gmean": 0.8403080980330329, "rel_wql_gmean": 0.6358021659851508}}, "variates": {"multivariate": {"n_configs": 42, "rel_mase_gmean": 0.7828852853986968, "rel_wql_gmean": 0.5157179265762837}, "univariate": {"n_configs": 52, "rel_mase_gmean": 0.7583925590823491, "rel_wql_gmean": 0.5430730741712229}}}, "control_groups": {"term": {"long": {"n_configs": 19, "rel_mase_gmean": 0.7998283729290717, "rel_wql_gmean": 0.5048537403572065}, "medium": {"n_configs": 21, "rel_mase_gmean": 0.7567348346553658, "rel_wql_gmean": 0.49139307103243485}, "short": {"n_configs": 54, "rel_mase_gmean": 0.762930601340605, "rel_wql_gmean": 0.5572913926751922}}, "domain": {"Econ/Fin": {"n_configs": 6, "rel_mase_gmean": 0.8902018742574637, "rel_wql_gmean": 0.9080828126396094}, "Energy": {"n_configs": 32, "rel_mase_gmean": 0.8967112467195689, "rel_wql_gmean": 0.6466666398782791}, "Healthcare": {"n_configs": 5, "rel_mase_gmean": 0.6908821587788814, "rel_wql_gmean": 0.5905411593557701}, "Nature": {"n_configs": 15, "rel_mase_gmean": 0.7593906111647103, "rel_wql_gmean": 0.3630649835252516}, "Sales": {"n_configs": 3, "rel_mase_gmean": 0.5660049516474805, "rel_wql_gmean": 0.36083556795060334}, "Transport": {"n_configs": 14, "rel_mase_gmean": 0.6692141236302525, "rel_wql_gmean": 0.5019337855870213}, "Web/CloudOps": {"n_configs": 19, "rel_mase_gmean": 0.6840578993103755, "rel_wql_gmean": 0.46836362238870816}}, "frequency": {"A": {"n_configs": 1, "rel_mase_gmean": 0.5819380993584167, "rel_wql_gmean": 0.723948814143525}, "D": {"n_configs": 15, "rel_mase_gmean": 0.7300802327867975, "rel_wql_gmean": 0.44973000047782175}, "H": {"n_configs": 30, "rel_mase_gmean": 0.7573152418388004, "rel_wql_gmean": 0.4905218098483386}, "M": {"n_configs": 4, "rel_mase_gmean": 0.825511662103245, "rel_wql_gmean": 0.8525433006612966}, "Q": {"n_configs": 1, "rel_mase_gmean": 0.8348196873036913, "rel_wql_gmean": 0.8792738256086735}, "S": {"n_configs": 6, "rel_mase_gmean": 0.9101844597610753, "rel_wql_gmean": 0.5693250695338232}, "T": {"n_configs": 29, "rel_mase_gmean": 0.75556464168385, "rel_wql_gmean": 0.5377684583538125}, "W": {"n_configs": 8, "rel_mase_gmean": 0.8322603650379057, "rel_wql_gmean": 0.6324937767638193}}, "variates": {"multivariate": {"n_configs": 42, "rel_mase_gmean": 0.782445957809565, "rel_wql_gmean": 0.5156982204614814}, "univariate": {"n_configs": 52, "rel_mase_gmean": 0.7580358480370438, "rel_wql_gmean": 0.543923941651618}}}, "group_skill_delta": {"term": {"long": -0.00030656767636227933, "medium": 0.00016878817692900228, "short": 0.00023219242937411178}, "domain": {"Econ/Fin": -5.099261123819865e-05, "Energy": 0.000731205062193041, "Healthcare": -0.003836711542665072, "Nature": 0.0001294086971220798, "Sales": 0.0021390128262059327, "Transport": 0.0001631893108370308, "Web/CloudOps": -0.0001921671210102227}, "frequency": {"A": -6.664949609802573e-05, "D": 0.0019004300054085155, "H": -0.0005903884028901629, "M": 0.003684070228858638, "Q": -0.001572790498920229, "S": 0.002489050934521231, "T": 0.0003956881480250418, "W": -0.005403612296292382}, "variates": {"multivariate": -0.0001904468936753112, "univariate": 0.00035148707140120194}}}, {"cutoff": "backcast3_evals", "candidate_skill": 0.3879695802213703, "control_skill": 0.3874814849803516, "delta": 0.0004880952410186712, "candidate_checkpoint": "5fda67cc9f9137162d71f0fba5507a849dd19a23f2ac77cf0ffc08fb1b53aa06", "control_checkpoint": "f11d056b95f1c5eeef174265ebc51742952600e0dae1fa52900860447d5be819", "candidate_eval_seconds": 21.754170417785645, "candidate_groups": {"term": {"long": {"n_configs": 19, "rel_mase_gmean": 0.7687576677775961, "rel_wql_gmean": 0.47774845999101007}, "medium": {"n_configs": 20, "rel_mase_gmean": 0.7732607529440361, "rel_wql_gmean": 0.5293233964962137}, "short": {"n_configs": 54, "rel_mase_gmean": 0.7180829820488366, "rel_wql_gmean": 0.5083029443188236}}, "domain": {"Econ/Fin": {"n_configs": 6, "rel_mase_gmean": 0.840040724605278, "rel_wql_gmean": 0.8348572982143874}, "Energy": {"n_configs": 32, "rel_mase_gmean": 0.8382331924493931, "rel_wql_gmean": 0.5564791784906772}, "Healthcare": {"n_configs": 5, "rel_mase_gmean": 0.7855109548347359, "rel_wql_gmean": 0.6577089616453796}, "Nature": {"n_configs": 15, "rel_mase_gmean": 0.7269180591584729, "rel_wql_gmean": 0.3421065748252322}, "Sales": {"n_configs": 3, "rel_mase_gmean": 0.7558544135573962, "rel_wql_gmean": 0.47834840809100926}, "Transport": {"n_configs": 14, "rel_mase_gmean": 0.5440266530970755, "rel_wql_gmean": 0.45035047585160304}, "Web/CloudOps": {"n_configs": 18, "rel_mase_gmean": 0.7174667429232385, "rel_wql_gmean": 0.5164335073741424}}, "frequency": {"A": {"n_configs": 1, "rel_mase_gmean": 0.5310133623717334, "rel_wql_gmean": 0.8051799975194188}, "D": {"n_configs": 15, "rel_mase_gmean": 0.7289940390372263, "rel_wql_gmean": 0.42624437615872407}, "H": {"n_configs": 29, "rel_mase_gmean": 0.7292754131368961, "rel_wql_gmean": 0.48947204636467473}, "M": {"n_configs": 4, "rel_mase_gmean": 0.8595852985152433, "rel_wql_gmean": 0.8501043336186115}, "Q": {"n_configs": 1, "rel_mase_gmean": 0.7156228614316994, "rel_wql_gmean": 0.769323590017532}, "S": {"n_configs": 6, "rel_mase_gmean": 0.8416160280848813, "rel_wql_gmean": 0.5995783592338273}, "T": {"n_configs": 29, "rel_mase_gmean": 0.7092297798835664, "rel_wql_gmean": 0.4616069674517463}, "W": {"n_configs": 8, "rel_mase_gmean": 0.8233752918367729, "rel_wql_gmean": 0.6725847992409608}}, "variates": {"multivariate": {"n_configs": 41, "rel_mase_gmean": 0.7664927142367004, "rel_wql_gmean": 0.5134493103639047}, "univariate": {"n_configs": 52, "rel_mase_gmean": 0.7194846623891107, "rel_wql_gmean": 0.5007309271044714}}}, "control_groups": {"term": {"long": {"n_configs": 19, "rel_mase_gmean": 0.7675699458528298, "rel_wql_gmean": 0.476452132158557}, "medium": {"n_configs": 20, "rel_mase_gmean": 0.773141221801274, "rel_wql_gmean": 0.5311688105422268}, "short": {"n_configs": 54, "rel_mase_gmean": 0.7189800356855841, "rel_wql_gmean": 0.5092012481102669}}, "domain": {"Econ/Fin": {"n_configs": 6, "rel_mase_gmean": 0.8366494448197422, "rel_wql_gmean": 0.8335501433013701}, "Energy": {"n_configs": 32, "rel_mase_gmean": 0.8362673307045482, "rel_wql_gmean": 0.5558565966414833}, "Healthcare": {"n_configs": 5, "rel_mase_gmean": 0.7992789325648234, "rel_wql_gmean": 0.663313586611861}, "Nature": {"n_configs": 15, "rel_mase_gmean": 0.7270958326307262, "rel_wql_gmean": 0.3416485868534862}, "Sales": {"n_configs": 3, "rel_mase_gmean": 0.7558002187371488, "rel_wql_gmean": 0.47806361106286926}, "Transport": {"n_configs": 14, "rel_mase_gmean": 0.5447632408986202, "rel_wql_gmean": 0.45146185813227047}, "Web/CloudOps": {"n_configs": 18, "rel_mase_gmean": 0.7184671561660497, "rel_wql_gmean": 0.5194115372422989}}, "frequency": {"A": {"n_configs": 1, "rel_mase_gmean": 0.5301621193542202, "rel_wql_gmean": 0.8023624756576537}, "D": {"n_configs": 15, "rel_mase_gmean": 0.7320022964105988, "rel_wql_gmean": 0.42747341049868826}, "H": {"n_configs": 29, "rel_mase_gmean": 0.7284419538124913, "rel_wql_gmean": 0.48986156448616525}, "M": {"n_configs": 4, "rel_mase_gmean": 0.8692971155035826, "rel_wql_gmean": 0.8573561489309673}, "Q": {"n_configs": 1, "rel_mase_gmean": 0.7145578258684864, "rel_wql_gmean": 0.7671041544075885}, "S": {"n_configs": 6, "rel_mase_gmean": 0.8434376506034783, "rel_wql_gmean": 0.6004240857745707}, "T": {"n_configs": 29, "rel_mase_gmean": 0.7091796225957213, "rel_wql_gmean": 0.4627952794263764}, "W": {"n_configs": 8, "rel_mase_gmean": 0.8186104789687557, "rel_wql_gmean": 0.6672650133055504}}, "variates": {"multivariate": {"n_configs": 41, "rel_mase_gmean": 0.7652944038188929, "rel_wql_gmean": 0.5141740641844628}, "univariate": {"n_configs": 52, "rel_mase_gmean": 0.7208570784782143, "rel_wql_gmean": 0.5012656144320912}}}, "group_skill_delta": {"term": {"long": -0.0012904633289524403, "medium": 0.0010647283136636654, "short": 0.0009111954474430028}, "domain": {"Econ/Fin": -0.002346644763757122, "Energy": -0.0011830578548855941, "Healthcare": 0.009354439317742047, "Nature": -0.0002729779172935265, "Sales": -0.00020057697608455438, "Transport": 0.0009457687699090944, "Web/CloudOps": 0.002177994622508672}, "frequency": {"A": -0.0016684445871615328, "D": 0.001953686501656615, "H": -0.00010396030723058836, "M": 0.0084743150621307, "Q": -0.0016226046240747083, "S": 0.0012697116624826865, "T": 0.0007157424949919555, "W": -0.005096647356290673}, "variates": {"multivariate": -4.83182755077749e-05, "univariate": 0.0008928733582169723}}}], "mean_delta": 0.00010899903530839361, "positive_cutoffs": 3, "outcome": "Declared primary6000/durability12000 diagnostic. No transfer formula or automatic publication is selected by this controller."} + +## E146 independent-seed replication of the direct-trend head — declared 2026-10-23T10:50:18.939746+00:00 +E136 primary6000 improved all four matched panels with mean+0.000242450695, mainly short-term gains and mixed long-term changes. Test whether this architecture effect repeats with independent seed523, reusing the already-completed E118long-seasonal seed523 control (no control retraining). Candidate uses exactly E136direct_trend_head code and own zero-extended initial87158329c5c8bfc69025843fa82c14482931b67d7e6c6b728aa461d45ef56bd4; seed523/B64/LR2e-5/12000/paired/originalAR/oldpack, requested-horizon RNG300526. All other settings match E118. Primary6000,1000/3000learningdiagnostics,12000durability; allfourcutoffs at6/12. No new correction average or ensemble formula is selected. Queue after E143final12000 in the same allocation. Reuse E136exact architecture/initial-function/loss/gradient/memory audits; source sampler is byte-identical to E118. Only independent seed and output identity change from E136. No new training sources or generators; validation is never training. + +2026-10-23T10:50:39.592468+00:00: E146 queued32647/watch32648/matched32649 afterE14329836final12000, persistent session45629. Same audited E136code/initial, E118seed523matchedcontrol reused; no newGPUallocation. E123final allfour diagnostics3positive/mean+0.000108999035, monthlydeltas−0.011372781/−0.012153947/+0.003684070/+0.008474315; longdeltas+0.000001738/+0.000377348/−0.000306568/−0.001290463. No transferselected. E13912full.384393497061 abovecurrent.384335630905; independentcompositionpending. Allthree termgroups improve, EnergyandTransportslightlydecline. E131first50updates include678.1s coldcompilation,100updates777.3s; firststeprecovery saved10:37:24. No stall/restart. + +E13912 durability versus currently published E1396: {"candidate": "/workspace/research/valid-report-width12-ensemble.json", "parent": "/workspace/research/valid-report-width6-ensemble.json", "candidate_hash": "9048d5792bd22df21846386abd745e4aacd41d92eb35ba4183274a1799443e20", "parent_hash": "dfc20235aeb4b9fc799001d69f5be390d9892448dbbf51fc2abb8ca0be453bf7", "skill_difference": 5.786615561642616e-05, "n_configs": 97, "n_dataset_clusters": 28, "improved_configs": 50, "bootstrap_seed": 317, "bootstrap_samples": 5000, "dataset_cluster_delta_percentiles": {"p025": -1.2850248546755758e-05, "p50": 5.484836126623538e-05, "p975": 0.0001611356463262853}, "note": "Descriptive resampling only. Adaptive validation selection and reused windows prevent treating this as a held-out significance test."}. Full term gains long+0.000050819687/medium+0.000013234524/short+0.000078879171; Energy−0.000021019095,Transport−0.000088978265. Both relative metrics improve. Adaptive validation comparison, not held-out significance. + +## E139 direct-width treatment12000 equal-quarter full replay selected +- Checkpoint SHA-256: `9048d5792bd22df21846386abd745e4aacd41d92eb35ba4183274a1799443e20`. +- Evaluation: 97 configurations, 151170 instances, 0 failed configurations; not separately timed seconds. +- Overall skill 0.384393; relative MASE 0.735909; relative WQL 0.514970. +- term skill: long=0.4011, medium=0.4090, short=0.3681. +- domain skill: Econ/Fin=0.1299, Energy=0.2413, Healthcare=0.4870, Nature=0.4435, Sales=0.3560, Transport=0.4732, Web/CloudOps=0.5004. +- frequency skill: A=0.3025, D=0.3769, H=0.3975, M=0.1490, Q=0.1893, S=0.4237, T=0.4396, W=0.2403. +- variates skill: multivariate=0.3965, univariate=0.3746. +- Outcome: Matched width-treatment correction at 12000 steps improves full skill from 0.384335630905 to 0.384393497061. All97configs151170instances pass. Inference 390.180s on shared H100. Relocation and actual-member real/extreme synthetic composition are bitwise exact. Validation selection only, not held-out reward. + +E139 complete suite {"package": "/workspace/research/candidate-width12-ensemble", "status": "complete", "steps": [{"name": "synthetic_composition", "returncode": 0, "seconds": 414.75948875397444}, {"name": "relocation", "returncode": 0, "seconds": 233.04726853198372}, {"name": "full_public_replay", "returncode": 0, "seconds": 451.77311267494224}, {"name": "independent_first_member", "returncode": 0, "seconds": 124.7392677241005}, {"name": "composition", "returncode": 0, "seconds": 0.27263093483634293}, {"name": "descriptive_comparison", "returncode": 0, "seconds": 0.18503591907210648}], "current_step": "descriptive_comparison", "seconds": 1224.7863074848428, "skill": 0.38439349706050785}. Synthetic checks {"duration": 12, "descriptor_sha256": "9048d5792bd22df21846386abd745e4aacd41d92eb35ba4183274a1799443e20", "members": ["0b11b7351a4a92d1d18c71a4159ec445be3a94ace8c7a9fa0edafad87d14e960", "308389b7217c080af9eb185559d4ee3cafa0f3e0f8c4dd8f5526b68198c89988", "1a2fb20a9fb5cae6526f2e36ea47559626bece78fd9c284899836505030ae9fe", "227ea80abf17fc81ae191f94e91f6dd7adbc0d837235750b5f5e9cef3dd5472c"], "checks": [{"config_id": "synthetic_H", "instances": 12, "bitwise_composition": true, "finite_ordered": true}, {"config_id": "synthetic_15T", "instances": 12, "bitwise_composition": true, "finite_ordered": true}], "unchanged_member_references_reused": "/workspace/research/fresh_capacity4_fixture", "input_files_bitwise_identical": true, "seconds": 414.61180081614293}. Descriptive comparison {"candidate": "/workspace/research/valid-report-width12-ensemble.json", "parent": "/workspace/research/valid-report-fresh-capacity4-ensemble.json", "candidate_hash": "9048d5792bd22df21846386abd745e4aacd41d92eb35ba4183274a1799443e20", "parent_hash": "fa97880dd132b1cdff459be4798f8f360d7df59b13e78026a9d74a95d63df0db", "skill_difference": 0.0002437788784378503, "n_configs": 97, "n_dataset_clusters": 28, "improved_configs": 55, "bootstrap_seed": 317, "bootstrap_samples": 5000, "dataset_cluster_delta_percentiles": {"p025": 0.00010064760811145934, "p50": 0.00023652036685539723, "p975": 0.0004220867463148285}, "note": "Descriptive resampling only. Adaptive validation selection and reused windows prevent treating this as a held-out significance test."}. Current-publication diagnostic deltas [6.231750700980143e-05, 0.00011018897763470648, 0.00012334276232328634, -3.260672352722871e-05]. Every member forecasts every instance. E101teacher and E138experts remain their immutable declared snapshots. + +## E147 complete the fresh146M corpus-by-learning-rate comparison — declared 2026-10-23T10:52:42.366573+00:00 +E110full-corpus72k main0.368203045574 now exceeds matched E94old-corpus halfLR72k0.366533622937, reversing its48k deficit. E79old-corpus originalLR final0.371180826606 exceeds E94halfLR final0.368620401816. Hypothesis: larger corpus coverage changes the useful learning-rate regime, and E110may also benefit from the original2e-4 peak. Add the missing full-corpus/highLR cell: identical E110random_capacity code/ownc969freshinitial/seed307/B48/96k/paired/staticcompile/slowAR/horizon300310/fullpacked_stratified_full/original packed_sample source probabilities, changing only LR1e-4to2e-4. This completes four cells with E79old-high,E94old-low,E110full-low. Source/shape/window/RNG laws are identical to E110; no data change or additional generator. Primary48k,4/8/16/24diagnostics,72/96durability; allfourcutoffs48/96 againstE110, with existingE79/E94 reports used for descriptive interaction analysis. No higherLR sweep or automatic extension. Queue after E141patch8 candidate final12000, replacing that allocation; reuse identical model/sampler/GPU audits. No additional concurrent trainer. Final full validation and current-publication checks remain required before selection. + +## E110 full-corpus146M learning diagnostic72000 +- Checkpoint SHA-256: `9905ad079d2a5d0590708039830e22f4d6fa74912810b8eb6d928e91dcda883d`. +- Evaluation: 97 configurations, 9473 instances, 0 failed configurations; 28.039432287216187 seconds. +- Overall skill 0.368203; relative MASE 0.756794; relative WQL 0.527445. +- term skill: long=0.3878, medium=0.3938, short=0.3504. +- domain skill: Econ/Fin=0.1411, Energy=0.2334, Healthcare=0.4159, Nature=0.4163, Sales=0.3433, Transport=0.4594, Web/CloudOps=0.4897. +- frequency skill: A=0.4005, D=0.3570, H=0.3882, M=0.0195, Q=0.2086, S=0.4137, T=0.4226, W=0.2367. +- variates skill: multivariate=0.3827, univariate=0.3564. +- Outcome: Main0.368203045574 exceeds matched E94halfLR0.366533622937 by0.001669422638, reversing48k deficit. Original seed307/B48/LR1e-4/96k schedule unchanged; final96k four-cutoff comparison pending. Recorded72000 training step: [{"step": 72000, "loss": 0.33998720556497575, "seconds": 15811.1, "lr": 3.17157287525381e-05, "grad_norm": 0.10857579112052917, "context": 2048, "horizon": 1024}] + +2026-10-23T10:53:27.068533+00:00: E13912 published10:50:59, fullskill0.38439349706050785, descriptor9048d5792bd22df21846386abd745e4aacd41d92eb35ba4183274a1799443e20; meta loader retained. Suite1224.786307485s, actualfullinference390.179507027s. E147 queued33025/watch33026/matched33027 afterE141candidate29107final12000; persistent48765. Only LR value and output/stopfile identities differ fromE110command. E142stillfullreplay; E144primaryearliercutoffs pending. + +E142 full comparison to current E13912: {"candidate": "/workspace/research/valid-report-width6-fresh96-ensemble.json", "parent": "/workspace/research/valid-report-width12-ensemble.json", "candidate_hash": "49440d1daee26c41a9bbb1f1580bbb35317a35553a58dafbd778cecd027c05fe", "parent_hash": "9048d5792bd22df21846386abd745e4aacd41d92eb35ba4183274a1799443e20", "skill_difference": 8.871195194093406e-05, "n_configs": 97, "n_dataset_clusters": 28, "improved_configs": 58, "bootstrap_seed": 317, "bootstrap_samples": 5000, "dataset_cluster_delta_percentiles": {"p025": -0.001613355806511571, "p50": 6.775720109708505e-05, "p975": 0.0019363009444379672}, "note": "Descriptive resampling only. Adaptive validation selection and reused windows prevent treating this as a held-out significance test."}. Group skill differences {"term": {"long": -0.0009279178231075269, "medium": 0.0005735524763520461, "short": 0.0002997885484163909}, "domain": {"Econ/Fin": -0.00015088664572748822, "Energy": -0.0005078681590492407, "Healthcare": 0.012435113021739164, "Nature": -0.0021745525299137203, "Sales": 0.0020021432451777788, "Transport": -0.000371935301136217, "Web/CloudOps": -0.0007407729720235734}, "frequency": {"A": 0.001840451213197536, "D": -0.000886131628639375, "H": 0.0008664188718713328, "M": 0.0018450121584902002, "Q": 0.0027381957217106345, "S": 0.00021028701676273354, "T": -0.001380162056435874, "W": 0.0043002785147818745}, "variates": {"multivariate": -0.00023108088179579767, "univariate": 0.0003524789140099127}}. MASE worsens from0.7359092460760267to0.7364206184269699 while WQL improves from0.5149702473261757to0.5144643448895588. Declared2x2 log-error interaction 1.2040144307112755e-06, additive-log-error predicted skill 0.38448295010430533, observed 0.3844822090124488. This is descriptive validation selection; no additional blend coefficient chosen. + +## E142 final fresh146M quartet full replay — selected +- Checkpoint SHA-256: `49440d1daee26c41a9bbb1f1580bbb35317a35553a58dafbd778cecd027c05fe`. +- Evaluation: 97 configurations, 151170 instances, 0 failed configurations; not separately timed seconds. +- Overall skill 0.384482; relative MASE 0.736421; relative WQL 0.514464. +- term skill: long=0.4002, medium=0.4096, short=0.3684. +- domain skill: Econ/Fin=0.1297, Energy=0.2408, Healthcare=0.4995, Nature=0.4414, Sales=0.3580, Transport=0.4729, Web/CloudOps=0.4997. +- frequency skill: A=0.3043, D=0.3760, H=0.3984, M=0.1508, Q=0.1920, S=0.4239, T=0.4382, W=0.2446. +- variates skill: multivariate=0.3963, univariate=0.3749. +- Outcome: Fixed quartet improves full skill from 0.384393497061 to 0.384482209012. All97configs151170instances pass; inference 422.063s on shared H100. Relocation and real/extreme synthetic standalone composition are bitwise exact. Validation selection only, not held-out reward. + +E142 fullsuite {"package": "/workspace/research/candidate-width6-fresh96-ensemble", "status": "complete", "steps": [{"name": "synthetic_composition", "returncode": 0, "seconds": 199.80909308814444}, {"name": "relocation", "returncode": 0, "seconds": 461.85226410697214}, {"name": "full_public_replay", "returncode": 0, "seconds": 528.3381450260058}, {"name": "composition", "returncode": 0, "seconds": 0.30109393992461264}, {"name": "descriptive_comparison", "returncode": 0, "seconds": 0.2489329711534083}], "current_step": "descriptive_comparison", "seconds": 1190.5941559779458, "skill": 0.3844822090124488}. Synthetic {"kind": "joint", "descriptor_sha256": "49440d1daee26c41a9bbb1f1580bbb35317a35553a58dafbd778cecd027c05fe", "members": ["82d50d0b2f7abfb963562f5f7966644b05612a49725f066392c022ccd6ba18ca", "308389b7217c080af9eb185559d4ee3cafa0f3e0f8c4dd8f5526b68198c89988", "1a2fb20a9fb5cae6526f2e36ea47559626bece78fd9c284899836505030ae9fe", "d7cfcd72c3cb84aa69e447b76c4c3ab98c21b7c600a463f0b805f4b4300baf33"], "checks": [{"config_id": "synthetic_H", "instances": 12, "bitwise_composition": true, "finite_ordered": true}, {"config_id": "synthetic_15T", "instances": 12, "bitwise_composition": true, "finite_ordered": true}], "references": ["/workspace/research/width6_fixture/standalone0", "/workspace/research/fresh_capacity4_fixture/standalone1", "/workspace/research/fresh_capacity4_fixture/standalone2", "/workspace/research/fresh_capacity96_fixture/standalone3"], "fresh_member_cached": true, "seconds": 199.67343028006144}. Descriptive comparison {"candidate": "/workspace/research/valid-report-width6-fresh96-ensemble.json", "parent": "/workspace/research/valid-report-width6-ensemble.json", "candidate_hash": "49440d1daee26c41a9bbb1f1580bbb35317a35553a58dafbd778cecd027c05fe", "parent_hash": "dfc20235aeb4b9fc799001d69f5be390d9892448dbbf51fc2abb8ca0be453bf7", "skill_difference": 0.00014657810755736023, "n_configs": 97, "n_dataset_clusters": 28, "improved_configs": 60, "bootstrap_seed": 317, "bootstrap_samples": 5000, "dataset_cluster_delta_percentiles": {"p025": -0.0015682766075555549, "p50": 0.00011755044460248776, "p975": 0.0020397091338542946}, "note": "Descriptive resampling only. Adaptive validation selection and reused windows prevent treating this as a held-out significance test."}. Current-publication diagnostic deltas [7.779644041161493e-05, 0.0007481604243866347, 0.0007391386610310358, 0.0004944213898471217]. All members forecast every instance. E101teacher/E138experts remain their immutable snapshots. + +## E148 fixed durability combination of the selected width and fresh checkpoints — declared 2026-10-23T10:59:43.449019+00:00 +E139width12 beat width6 with fresh48 (3of4diagnostics and full+0.000057866156). E142width6+fresh96 is now published and beats both isolated alternatives on full validation. Test the remaining fixed combination: E139width12/E71patch8/E93split/E79fresh96, ordered equal quarters. No new training, coefficient search, per-frequency switch, trend correction or gate. This follows individual-parent results and precedes any combined predictions. Compare allfourcutoffs against BOTH E139width12/fresh48 and currentE142width6/fresh96; require>=3positive/positive mean againsteach before a fullsuite. Full replay, standalone composition, relocation and current-best guards still mandatory. Existing scratch checkpoints remain unchanged: first0b11b7351a4a92d1d18c71a4159ec445be3a94ace8c7a9fa0edafad87d14e960, fourthd7cfcd72c3cb84aa69e447b76c4c3ab98c21b7c600a463f0b805f4b4300baf33. Same source manifests/seeds asparents;0optimizerupdates. No change to E144fixed width6/fresh48 contrast or immutableE101/E138assets. + +2026-10-23T10:59:53.191745+00:00: E148 fixed width12000/fresh96000 quartet diagnostics {"status": "complete; review before package/fullreplay", "results": [{"cutoff": "valid_screen", "skill": 0.3882279509777624, "width12_parent_skill": 0.3880940716647685, "joint6_parent_skill": 0.3881718681051801, "delta_width12": 0.00013387931299391198, "delta_joint6": 5.608287258229705e-05, "groups": {"term": {"short": 0.3723017702532888, "medium": 0.41093067600045863, "long": 0.4060075172607863}, "domain": {"Econ/Fin": 0.14901328476060638, "Energy": 0.24740035323875065, "Healthcare": 0.49506927931058364, "Nature": 0.4413654800615009, "Sales": 0.3446101717591584, "Transport": 0.47260963824857904, "Web/CloudOps": 0.507475767308865}, "freq": {"A-DEC": 0.38365057239921063, "Q-DEC": 0.20606735650303087, "M": 0.12682244603724124, "W-SUN": 0.08968565726055233, "D": 0.37213466457612654, "H": 0.4035878747807796, "15T": 0.21788743064766847, "W-FRI": 0.020360259620060495, "10T": 0.6250681642313944, "W-TUE": 0.6415415405419468, "W-THU": 0.21792947739631574, "W-WED": 0.32708506145318983, "5T": 0.5208812969571452, "10S": 0.42402778171174516}}, "member_checkpoint_hashes": ["0b11b7351a4a92d1d18c71a4159ec445be3a94ace8c7a9fa0edafad87d14e960", "308389b7217c080af9eb185559d4ee3cafa0f3e0f8c4dd8f5526b68198c89988", "1a2fb20a9fb5cae6526f2e36ea47559626bece78fd9c284899836505030ae9fe", "d7cfcd72c3cb84aa69e447b76c4c3ab98c21b7c600a463f0b805f4b4300baf33"], "cpu_seconds": 2.5732416899409145}, {"cutoff": "valid_backcast", "skill": 0.3456661156587746, "width12_parent_skill": 0.3448104609077517, "joint6_parent_skill": 0.3455586213321383, "delta_width12": 0.000855654751022894, "delta_joint6": 0.00010749432663625935, "groups": {"term": {"short": 0.3130693683031155, "medium": 0.36409584759645663, "long": 0.4071975759527283}, "domain": {"Econ/Fin": 0.18043527478544963, "Energy": 0.23481540394451372, "Healthcare": 0.4074352868061085, "Nature": 0.3813032447441278, "Sales": 0.4075242245178744, "Transport": 0.37766486704604607, "Web/CloudOps": 0.4608848578894076}, "freq": {"A-DEC": 0.331781124887934, "Q-DEC": 0.23724173166905804, "M": 0.1874780089767496, "W-SUN": 0.0459263068532203, "D": 0.36418901298748285, "H": 0.3763686663732764, "15T": 0.22314757314382871, "W-FRI": 0.24140491835961553, "10T": 0.33548373093161554, "W-TUE": 0.5514665885251284, "W-THU": 0.2677180644187378, "W-WED": 0.3624726313886212, "5T": 0.4487294283202319, "10S": 0.34987753064947524}}, "member_checkpoint_hashes": ["0b11b7351a4a92d1d18c71a4159ec445be3a94ace8c7a9fa0edafad87d14e960", "308389b7217c080af9eb185559d4ee3cafa0f3e0f8c4dd8f5526b68198c89988", "1a2fb20a9fb5cae6526f2e36ea47559626bece78fd9c284899836505030ae9fe", "d7cfcd72c3cb84aa69e447b76c4c3ab98c21b7c600a463f0b805f4b4300baf33"], "cpu_seconds": 2.0671064669732004}, {"cutoff": "valid_backcast2", "skill": 0.36966272417010304, "width12_parent_skill": 0.36880549401636464, "joint6_parent_skill": 0.3695446326773957, "delta_width12": 0.0008572301537383975, "delta_joint6": 0.00011809149270736174, "groups": {"term": {"short": 0.35627742731482626, "medium": 0.3989526857240734, "long": 0.3741414686574598}, "domain": {"Econ/Fin": 0.12750789956106479, "Energy": 0.2407648322615341, "Healthcare": 0.362169648295931, "Nature": 0.4822691288379122, "Sales": 0.5592426971862643, "Transport": 0.4278832683656373, "Web/CloudOps": 0.4497407632446214}, "freq": {"A-DEC": 0.3381861793580494, "Q-DEC": 0.15558369062139554, "M": 0.16912368457803728, "W-SUN": 0.07258683839700397, "D": 0.43534732833058165, "H": 0.4005937901940083, "15T": 0.10632763061011052, "W-FRI": 0.14511791304527222, "10T": 0.5090961154114221, "W-TUE": 0.15381305847280335, "W-THU": 0.3413042930188698, "W-WED": 0.5603979936450694, "5T": 0.48366119612793756, "10S": 0.29090095581623265}}, "member_checkpoint_hashes": ["0b11b7351a4a92d1d18c71a4159ec445be3a94ace8c7a9fa0edafad87d14e960", "308389b7217c080af9eb185559d4ee3cafa0f3e0f8c4dd8f5526b68198c89988", "1a2fb20a9fb5cae6526f2e36ea47559626bece78fd9c284899836505030ae9fe", "d7cfcd72c3cb84aa69e447b76c4c3ab98c21b7c600a463f0b805f4b4300baf33"], "cpu_seconds": 1.789065261138603}, {"cutoff": "valid_backcast3", "skill": 0.3921296782846404, "width12_parent_skill": 0.3916700540609932, "joint6_parent_skill": 0.3921644754508403, "delta_width12": 0.0004596242236472037, "delta_joint6": -3.479716619991802e-05, "groups": {"term": {"short": 0.3964714460684823, "medium": 0.373180111862915, "long": 0.39934479213703844}, "domain": {"Econ/Fin": 0.191514835075003, "Energy": 0.3171497763613005, "Healthcare": 0.23406912051970086, "Nature": 0.5087773123381991, "Sales": 0.40240992387298036, "Transport": 0.5102150645411062, "Web/CloudOps": 0.4027691414578687}, "freq": {"A-DEC": 0.3632879895614767, "Q-DEC": 0.2635672907077069, "M": 0.1461601048112755, "W-SUN": 0.17023500340733289, "D": 0.4402406107863014, "H": 0.40804718949837626, "15T": 0.2581134771316893, "W-FRI": 0.044141466152163744, "10T": 0.6036240151562728, "W-TUE": 0.28794685929485997, "W-THU": 0.3474718313178913, "W-WED": 0.37413351061197164, "5T": 0.47372805877658364, "10S": 0.29420374901523283}}, "member_checkpoint_hashes": ["0b11b7351a4a92d1d18c71a4159ec445be3a94ace8c7a9fa0edafad87d14e960", "308389b7217c080af9eb185559d4ee3cafa0f3e0f8c4dd8f5526b68198c89988", "1a2fb20a9fb5cae6526f2e36ea47559626bece78fd9c284899836505030ae9fe", "d7cfcd72c3cb84aa69e447b76c4c3ab98c21b7c600a463f0b805f4b4300baf33"], "cpu_seconds": 1.8740738260094076}], "seconds": 9.421103393193334, "optimizer_updates": 0, "new_neural_inference": false, "positive_cutoffs_vs_width12": 4, "mean_delta_vs_width12": 0.0005765971103506018, "positive_cutoffs_vs_joint6": 3, "mean_delta_vs_joint6": 6.171788143150003e-05, "selection_gate_passed": true}. No package/fullscore inferred. + +## E138 bounded learned gate early3000 +- Checkpoint SHA-256: `2d9192426b7d544ce10d9ba66e1f527c935ba467df0a7aa12b58898f2f9dfcd1`. +- Evaluation: 97 configurations, 9473 instances, 0 failed configurations; 103.82110226619989 seconds. +- Overall skill 0.389319; relative MASE 0.731431; relative WQL 0.509864. +- term skill: long=0.4087, medium=0.4116, short=0.3729. +- domain skill: Econ/Fin=0.1514, Energy=0.2477, Healthcare=0.4805, Nature=0.4451, Sales=0.3428, Transport=0.4754, Web/CloudOps=0.5103. +- frequency skill: A=0.3812, D=0.3750, H=0.4052, M=0.1167, Q=0.2047, S=0.4249, T=0.4479, W=0.2417. +- variates skill: multivariate=0.4026, univariate=0.3785. +- Outcome: Learning diagnostic only; primary6000/final12000 unchanged. Main0.389319492423 is higher than1k0.388768978765; no earlier-cutoff/full-selection decision from3k. All E130experts remain immutable; only6340gateparams trained. + +2026-10-23T11:00:13.778380+00:00: E148 fixedwidth12+fresh96 passed all4versusE139width12/fresh48 (mean+0.000576597110) and3of4versusE142width6/fresh96 (mean+0.000061717881), oldestcutoffdelta−0.000034797166. CPUprobes9.421103393s,0trainingupdates. Completepublicsuite nowlaunched, no automaticpromotion. Gate3kmain0.389319492423 remains diagnostic only. + +## E144 direct-trend treatment transfer6000 valid_screen +- Checkpoint SHA-256: `9ba4af36e21a47aa761adac79fd6de599de475dde35083e7f8e6f16df77a07ff`. +- Evaluation: 97 configurations, 9473 instances, 0 failed configurations; 25.811277151107788 seconds. +- Overall skill 0.387424; relative MASE 0.733394; relative WQL 0.511661. +- term skill: long=0.4094, medium=0.4106, short=0.3696. +- domain skill: Econ/Fin=0.1452, Energy=0.2423, Healthcare=0.4725, Nature=0.4456, Sales=0.3389, Transport=0.4748, Web/CloudOps=0.5122. +- frequency skill: A=0.3744, D=0.3748, H=0.4080, M=0.1001, Q=0.2063, S=0.4257, T=0.4446, W=0.2254. +- variates skill: multivariate=0.4021, univariate=0.3755. +- Outcome: Fixed zero-extended E139width6 + zero-extended E136 - zero-extended E107, coefficient1. Base dispersion/width paths bitwise unchanged; no optimizer update. Equal-quarter ensemble selected separately. + +## E144 direct-trend treatment transfer6000 valid_backcast +- Checkpoint SHA-256: `9ba4af36e21a47aa761adac79fd6de599de475dde35083e7f8e6f16df77a07ff`. +- Evaluation: 97 configurations, 9330 instances, 0 failed configurations; 22.062713384628296 seconds. +- Overall skill 0.343499; relative MASE 0.788973; relative WQL 0.546272. +- term skill: long=0.3998, medium=0.3643, short=0.3122. +- domain skill: Econ/Fin=0.1782, Energy=0.2293, Healthcare=0.3754, Nature=0.3914, Sales=0.4040, Transport=0.3806, Web/CloudOps=0.4580. +- frequency skill: A=0.3226, D=0.3626, H=0.3785, M=0.1977, Q=0.2306, S=0.3402, T=0.3377, W=0.2876. +- variates skill: multivariate=0.3585, univariate=0.3313. +- Outcome: Fixed zero-extended E139width6 + zero-extended E136 - zero-extended E107, coefficient1. Base dispersion/width paths bitwise unchanged; no optimizer update. Equal-quarter ensemble selected separately. + +## E144 direct-trend treatment transfer6000 valid_backcast2 +- Checkpoint SHA-256: `9ba4af36e21a47aa761adac79fd6de599de475dde35083e7f8e6f16df77a07ff`. +- Evaluation: 94 configurations, 8934 instances, 0 failed configurations; 26.243786096572876 seconds. +- Overall skill 0.365818; relative MASE 0.764709; relative WQL 0.525935. +- term skill: long=0.3723, medium=0.3945, short=0.3520. +- domain skill: Econ/Fin=0.1349, Energy=0.2394, Healthcare=0.3020, Nature=0.4854, Sales=0.5512, Transport=0.4290, Web/CloudOps=0.4446. +- frequency skill: A=0.3482, D=0.4281, H=0.3999, M=0.1492, Q=0.1537, S=0.2854, T=0.3707, W=0.2609. +- variates skill: multivariate=0.3720, univariate=0.3608. +- Outcome: Fixed zero-extended E139width6 + zero-extended E136 - zero-extended E107, coefficient1. Base dispersion/width paths bitwise unchanged; no optimizer update. Equal-quarter ensemble selected separately. + +## E144 direct-trend treatment transfer6000 valid_backcast3 +- Checkpoint SHA-256: `9ba4af36e21a47aa761adac79fd6de599de475dde35083e7f8e6f16df77a07ff`. +- Evaluation: 93 configurations, 8812 instances, 0 failed configurations; 26.943432569503784 seconds. +- Overall skill 0.392476; relative MASE 0.738388; relative WQL 0.499852. +- term skill: long=0.3965, medium=0.3649, short=0.4010. +- domain skill: Econ/Fin=0.1864, Energy=0.3247, Healthcare=0.2290, Nature=0.5022, Sales=0.4068, Transport=0.5167, Web/CloudOps=0.3947. +- frequency skill: A=0.3628, D=0.4508, H=0.4093, M=0.1376, Q=0.2634, S=0.2789, T=0.4331, W=0.2517. +- variates skill: multivariate=0.3762, univariate=0.4050. +- Outcome: Fixed zero-extended E139width6 + zero-extended E136 - zero-extended E107, coefficient1. Base dispersion/width paths bitwise unchanged; no optimizer update. Equal-quarter ensemble selected separately. + +E144 fixed direct-trend equal-quarter ensemble diagnostics: {"duration": 6, "rows": [{"cutoff": "valid_screen", "skill": 0.38810101106304606, "control_skill": 0.3880317541577587, "delta": 6.925690528736261e-05, "groups": {"term": {"short": 0.37180827298086194, "medium": 0.4105115509520151, "long": 0.40708238805037744}, "domain": {"Econ/Fin": 0.1486111186027611, "Energy": 0.2479695849755097, "Healthcare": 0.4804056795233387, "Nature": 0.44349612366523783, "Sales": 0.34254579297464094, "Transport": 0.47319670526932023, "Web/CloudOps": 0.5084644098846547}, "freq": {"A-DEC": 0.3830620791547408, "Q-DEC": 0.20477654488786246, "M": 0.12309867469533453, "W-SUN": 0.09539518012564197, "D": 0.37279528788580674, "H": 0.40267616846564325, "15T": 0.2159286858582814, "W-FRI": 0.018629318922964266, "10T": 0.626998082431836, "W-TUE": 0.611936508038109, "W-THU": 0.22735602930060128, "W-WED": 0.32285500325028815, "5T": 0.5242567984118436, "10S": 0.42364215749954115}}, "member_checkpoint_hashes": ["9ba4af36e21a47aa761adac79fd6de599de475dde35083e7f8e6f16df77a07ff", "308389b7217c080af9eb185559d4ee3cafa0f3e0f8c4dd8f5526b68198c89988", "1a2fb20a9fb5cae6526f2e36ea47559626bece78fd9c284899836505030ae9fe", "227ea80abf17fc81ae191f94e91f6dd7adbc0d837235750b5f5e9cef3dd5472c"], "cpu_seconds": 1.7184872501529753}, {"cutoff": "valid_backcast", "skill": 0.34471433073323854, "control_skill": 0.344700271930117, "delta": 1.4058803121552721e-05, "groups": {"term": {"short": 0.31238304922869986, "medium": 0.36347247982590625, "long": 0.405345914099144}, "domain": {"Econ/Fin": 0.18144711659913626, "Energy": 0.23536769711757133, "Healthcare": 0.40411138472347474, "Nature": 0.37935065740310636, "Sales": 0.40728275158059335, "Transport": 0.37651708169313824, "Web/CloudOps": 0.4590755997389684}, "freq": {"A-DEC": 0.3350593911160711, "Q-DEC": 0.23266418596417293, "M": 0.19783596100298428, "W-SUN": 0.05626178192469, "D": 0.3622504039590009, "H": 0.3754732207508753, "15T": 0.22359339214094542, "W-FRI": 0.23889301677977803, "10T": 0.3334497373457339, "W-TUE": 0.5283866471678982, "W-THU": 0.2693442052960473, "W-WED": 0.3576817387194232, "5T": 0.4462591487900791, "10S": 0.34964818068776293}}, "member_checkpoint_hashes": ["9ba4af36e21a47aa761adac79fd6de599de475dde35083e7f8e6f16df77a07ff", "308389b7217c080af9eb185559d4ee3cafa0f3e0f8c4dd8f5526b68198c89988", "1a2fb20a9fb5cae6526f2e36ea47559626bece78fd9c284899836505030ae9fe", "227ea80abf17fc81ae191f94e91f6dd7adbc0d837235750b5f5e9cef3dd5472c"], "cpu_seconds": 2.079201564891264}, {"cutoff": "valid_backcast2", "skill": 0.3687334161573663, "control_skill": 0.36868215125404136, "delta": 5.1264903324965694e-05, "groups": {"term": {"short": 0.3557059534653181, "medium": 0.3976216095200944, "long": 0.37268682260890473}, "domain": {"Econ/Fin": 0.12803076624568543, "Energy": 0.24000255570986928, "Healthcare": 0.36855583170472794, "Nature": 0.4823647970325259, "Sales": 0.559496370437498, "Transport": 0.42676585305163917, "Web/CloudOps": 0.44574525321486713}, "freq": {"A-DEC": 0.33838286634019077, "Q-DEC": 0.15194832993661667, "M": 0.17048569213442577, "W-SUN": 0.07880746890627799, "D": 0.4356860699349723, "H": 0.3999234407371479, "15T": 0.10623917997605214, "W-FRI": 0.15689116677662518, "10T": 0.5102047202290378, "W-TUE": 0.17135603071174732, "W-THU": 0.33338011043972227, "W-WED": 0.5580671789826079, "5T": 0.47741806564473255, "10S": 0.29101676393121934}}, "member_checkpoint_hashes": ["9ba4af36e21a47aa761adac79fd6de599de475dde35083e7f8e6f16df77a07ff", "308389b7217c080af9eb185559d4ee3cafa0f3e0f8c4dd8f5526b68198c89988", "1a2fb20a9fb5cae6526f2e36ea47559626bece78fd9c284899836505030ae9fe", "227ea80abf17fc81ae191f94e91f6dd7adbc0d837235750b5f5e9cef3dd5472c"], "cpu_seconds": 1.8924103130120784}, {"cutoff": "valid_backcast3", "skill": 0.39163165430208413, "control_skill": 0.39170266078452043, "delta": -7.10064824362977e-05, "groups": {"term": {"short": 0.3966795855907692, "medium": 0.37253068675023604, "long": 0.39699833653896155}, "domain": {"Econ/Fin": 0.18919906291191568, "Energy": 0.31995206851807945, "Healthcare": 0.2347697994876441, "Nature": 0.5091382470970252, "Sales": 0.39897801119857224, "Transport": 0.5094799840851572, "Web/CloudOps": 0.39716820937506025}, "freq": {"A-DEC": 0.3535253256647043, "Q-DEC": 0.2615670338345317, "M": 0.14866387047266738, "W-SUN": 0.17110165811244527, "D": 0.4418909540008449, "H": 0.4075936421084978, "15T": 0.2631269004445399, "W-FRI": 0.045083749104135484, "10T": 0.6025336205792375, "W-TUE": 0.27966201942927393, "W-THU": 0.35336214420145295, "W-WED": 0.36513539720826094, "5T": 0.46905294221375926, "10S": 0.2884859565550919}}, "member_checkpoint_hashes": ["9ba4af36e21a47aa761adac79fd6de599de475dde35083e7f8e6f16df77a07ff", "308389b7217c080af9eb185559d4ee3cafa0f3e0f8c4dd8f5526b68198c89988", "1a2fb20a9fb5cae6526f2e36ea47559626bece78fd9c284899836505030ae9fe", "227ea80abf17fc81ae191f94e91f6dd7adbc0d837235750b5f5e9cef3dd5472c"], "cpu_seconds": 1.8629437680356205}], "positive_cutoffs": 3, "mean_delta": 1.589353232439583e-05, "selection_gate_passed": true}. Full replay/runtime checks and comparison to current publication required before any promotion. + +E136 12000 four-cutoff comparison: {"label": "E136 12000 four-cutoff comparison", "utc": "2026-10-23T11:02:40.051142+00:00", "candidate": "direct_trend_head_ema12000", "control": "long_seasonal_ema12000", "rows": [{"cutoff": "evals", "candidate_skill": 0.3827065485549006, "control_skill": 0.38231375879048757, "delta": 0.00039278976441303737, "candidate_checkpoint": "a58331b22849ed42145fa59ede34ac1110d547ca2ca8d22fd7ae1e7758275c02", "control_checkpoint": "d512cdac520239f0c10e021721424d87cee30086fa70f6cbc41f21e2e04988c3", "candidate_eval_seconds": 23.143726587295532, "candidate_groups": {"term": {"long": {"n_configs": 21, "rel_mase_gmean": 0.738528048869986, "rel_wql_gmean": 0.4773385847991587}, "medium": {"n_configs": 21, "rel_mase_gmean": 0.7109918585197693, "rel_wql_gmean": 0.4936608059965356}, "short": {"n_configs": 55, "rel_mase_gmean": 0.7488759735294819, "rel_wql_gmean": 0.540881489964601}}, "domain": {"Econ/Fin": {"n_configs": 6, "rel_mase_gmean": 0.8803309837829927, "rel_wql_gmean": 0.8557476438004471}, "Energy": {"n_configs": 32, "rel_mase_gmean": 0.9004161113893661, "rel_wql_gmean": 0.6438547292784662}, "Healthcare": {"n_configs": 5, "rel_mase_gmean": 0.5770128564480608, "rel_wql_gmean": 0.510787104123025}, "Nature": {"n_configs": 15, "rel_mase_gmean": 0.8024521154915958, "rel_wql_gmean": 0.39959211009188234}, "Sales": {"n_configs": 4, "rel_mase_gmean": 0.8487728274242853, "rel_wql_gmean": 0.5190797723691057}, "Transport": {"n_configs": 15, "rel_mase_gmean": 0.6311631791945154, "rel_wql_gmean": 0.43133647192395125}, "Web/CloudOps": {"n_configs": 20, "rel_mase_gmean": 0.5570474112338696, "rel_wql_gmean": 0.4322179728387257}}, "frequency": {"A": {"n_configs": 1, "rel_mase_gmean": 0.6266150997143095, "rel_wql_gmean": 0.6537532278074971}, "D": {"n_configs": 15, "rel_mase_gmean": 0.7574597056782264, "rel_wql_gmean": 0.5230914635499829}, "H": {"n_configs": 31, "rel_mase_gmean": 0.7263796018128642, "rel_wql_gmean": 0.49601851117568424}, "M": {"n_configs": 5, "rel_mase_gmean": 0.970657620480254, "rel_wql_gmean": 0.8262608758377191}, "Q": {"n_configs": 1, "rel_mase_gmean": 0.778799994857035, "rel_wql_gmean": 0.826742132545292}, "S": {"n_configs": 6, "rel_mase_gmean": 0.6533889084453686, "rel_wql_gmean": 0.502300973834051}, "T": {"n_configs": 30, "rel_mase_gmean": 0.6895658634039102, "rel_wql_gmean": 0.45076049229764775}, "W": {"n_configs": 8, "rel_mase_gmean": 0.9064842882601165, "rel_wql_gmean": 0.6792715307094439}}, "variates": {"multivariate": {"n_configs": 43, "rel_mase_gmean": 0.7077601683929675, "rel_wql_gmean": 0.5101785672163212}, "univariate": {"n_configs": 54, "rel_mase_gmean": 0.7635200910040346, "rel_wql_gmean": 0.5209263258598908}}}, "control_groups": {"term": {"long": {"n_configs": 21, "rel_mase_gmean": 0.7385624256035537, "rel_wql_gmean": 0.4774480306015298}, "medium": {"n_configs": 21, "rel_mase_gmean": 0.7112970077840257, "rel_wql_gmean": 0.49399950873586423}, "short": {"n_configs": 55, "rel_mase_gmean": 0.7495810559140079, "rel_wql_gmean": 0.5412990087697497}}, "domain": {"Econ/Fin": {"n_configs": 6, "rel_mase_gmean": 0.8812498422781989, "rel_wql_gmean": 0.8555240839274089}, "Energy": {"n_configs": 32, "rel_mase_gmean": 0.9003124134337842, "rel_wql_gmean": 0.6439831822912251}, "Healthcare": {"n_configs": 5, "rel_mase_gmean": 0.5795579602545416, "rel_wql_gmean": 0.5129229324649281}, "Nature": {"n_configs": 15, "rel_mase_gmean": 0.8014187192027531, "rel_wql_gmean": 0.39917690533601163}, "Sales": {"n_configs": 4, "rel_mase_gmean": 0.8487678656214006, "rel_wql_gmean": 0.5191938831467846}, "Transport": {"n_configs": 15, "rel_mase_gmean": 0.6315950761584922, "rel_wql_gmean": 0.4315386790157564}, "Web/CloudOps": {"n_configs": 20, "rel_mase_gmean": 0.5583373635107705, "rel_wql_gmean": 0.433162583197897}}, "frequency": {"A": {"n_configs": 1, "rel_mase_gmean": 0.6267725580318051, "rel_wql_gmean": 0.6538606856911642}, "D": {"n_configs": 15, "rel_mase_gmean": 0.7599509242283058, "rel_wql_gmean": 0.524915385039173}, "H": {"n_configs": 31, "rel_mase_gmean": 0.726196004396462, "rel_wql_gmean": 0.4955559356320016}, "M": {"n_configs": 5, "rel_mase_gmean": 0.9682906777404066, "rel_wql_gmean": 0.8249007339255652}, "Q": {"n_configs": 1, "rel_mase_gmean": 0.7794132143007206, "rel_wql_gmean": 0.826151122683708}, "S": {"n_configs": 6, "rel_mase_gmean": 0.654344138587591, "rel_wql_gmean": 0.5028751847848326}, "T": {"n_configs": 30, "rel_mase_gmean": 0.6900127153197991, "rel_wql_gmean": 0.4513560570693673}, "W": {"n_configs": 8, "rel_mase_gmean": 0.9068583895899763, "rel_wql_gmean": 0.679330225432368}}, "variates": {"multivariate": {"n_configs": 43, "rel_mase_gmean": 0.7082895004717786, "rel_wql_gmean": 0.5105014816296383}, "univariate": {"n_configs": 54, "rel_mase_gmean": 0.7639387308045943, "rel_wql_gmean": 0.5212587544154408}}}, "group_skill_delta": {"term": {"long": 8.188356082783343e-05, "medium": 0.00033036872266856143, "short": 0.000545247967995488}, "domain": {"Econ/Fin": 0.0003394101852357556, "Energy": 3.209882351773441e-05, "Healthcare": 0.00233233040945513, "Nature": -0.0006588141866412656, "Sales": 7.101405299103636e-05, "Transport": 0.00030081794630221204, "Web/CloudOps": 0.0011043189602540915}, "frequency": {"A": 0.0001330172726633494, "D": 0.002132522770545653, "H": -0.00035578191820195837, "M": -0.0018290753868153153, "Q": 2.887080338531689e-05, "S": 0.0007462116365618554, "T": 0.0005489208018035763, "W": 0.000195811851804506}, "variates": {"multivariate": 0.0004148746873124942, "univariate": 0.00037412567972217037}}}, {"cutoff": "backcast_evals", "candidate_skill": 0.3416481086050702, "control_skill": 0.34137925383664736, "delta": 0.00026885476842286593, "candidate_checkpoint": "a58331b22849ed42145fa59ede34ac1110d547ca2ca8d22fd7ae1e7758275c02", "control_checkpoint": "d512cdac520239f0c10e021721424d87cee30086fa70f6cbc41f21e2e04988c3", "candidate_eval_seconds": 29.94823408126831, "candidate_groups": {"term": {"long": {"n_configs": 21, "rel_mase_gmean": 0.7740814997353318, "rel_wql_gmean": 0.46230073815757355}, "medium": {"n_configs": 21, "rel_mase_gmean": 0.7662355187008669, "rel_wql_gmean": 0.5292617890038332}, "short": {"n_configs": 55, "rel_mase_gmean": 0.8086337363789081, "rel_wql_gmean": 0.5915094029006601}}, "domain": {"Econ/Fin": {"n_configs": 6, "rel_mase_gmean": 0.8742151175964147, "rel_wql_gmean": 0.8165132696999401}, "Energy": {"n_configs": 32, "rel_mase_gmean": 0.8849906923216877, "rel_wql_gmean": 0.6651750264700085}, "Healthcare": {"n_configs": 5, "rel_mase_gmean": 0.6541352191406087, "rel_wql_gmean": 0.5633087742515948}, "Nature": {"n_configs": 15, "rel_mase_gmean": 0.9041022791344365, "rel_wql_gmean": 0.4232871657460208}, "Sales": {"n_configs": 4, "rel_mase_gmean": 0.7240363953156321, "rel_wql_gmean": 0.49119803352346914}, "Transport": {"n_configs": 15, "rel_mase_gmean": 0.7301268291946549, "rel_wql_gmean": 0.5231250670377716}, "Web/CloudOps": {"n_configs": 20, "rel_mase_gmean": 0.6606261125412675, "rel_wql_gmean": 0.4526520912021621}}, "frequency": {"A": {"n_configs": 1, "rel_mase_gmean": 0.6440311987690908, "rel_wql_gmean": 0.7246925581276558}, "D": {"n_configs": 15, "rel_mase_gmean": 0.8167865740971743, "rel_wql_gmean": 0.48830853013218056}, "H": {"n_configs": 31, "rel_mase_gmean": 0.7685168560419369, "rel_wql_gmean": 0.5081729836971091}, "M": {"n_configs": 5, "rel_mase_gmean": 0.8614488473035142, "rel_wql_gmean": 0.7893150511434891}, "Q": {"n_configs": 1, "rel_mase_gmean": 0.7634172252183695, "rel_wql_gmean": 0.7772662759640228}, "S": {"n_configs": 6, "rel_mase_gmean": 0.8517358106020535, "rel_wql_gmean": 0.5064621607762227}, "T": {"n_configs": 30, "rel_mase_gmean": 0.7674370933516219, "rel_wql_gmean": 0.5731251688428927}, "W": {"n_configs": 8, "rel_mase_gmean": 0.8721342828343166, "rel_wql_gmean": 0.5939284719979646}}, "variates": {"multivariate": {"n_configs": 43, "rel_mase_gmean": 0.7863757633961299, "rel_wql_gmean": 0.5265857676754605}, "univariate": {"n_configs": 54, "rel_mase_gmean": 0.7960366447232687, "rel_wql_gmean": 0.5646291158255986}}}, "control_groups": {"term": {"long": {"n_configs": 21, "rel_mase_gmean": 0.7748213703894843, "rel_wql_gmean": 0.4628541503223905}, "medium": {"n_configs": 21, "rel_mase_gmean": 0.7664514736085948, "rel_wql_gmean": 0.5293825048686492}, "short": {"n_configs": 55, "rel_mase_gmean": 0.8092133321048779, "rel_wql_gmean": 0.5913363636847011}}, "domain": {"Econ/Fin": {"n_configs": 6, "rel_mase_gmean": 0.8757735001155781, "rel_wql_gmean": 0.8170938641172787}, "Energy": {"n_configs": 32, "rel_mase_gmean": 0.884884194524689, "rel_wql_gmean": 0.6647829318344969}, "Healthcare": {"n_configs": 5, "rel_mase_gmean": 0.6563469207069739, "rel_wql_gmean": 0.5654393474023085}, "Nature": {"n_configs": 15, "rel_mase_gmean": 0.9047462993987708, "rel_wql_gmean": 0.4229856130109878}, "Sales": {"n_configs": 4, "rel_mase_gmean": 0.7234827485870052, "rel_wql_gmean": 0.49101355399514096}, "Transport": {"n_configs": 15, "rel_mase_gmean": 0.7302388544768311, "rel_wql_gmean": 0.5230662990235599}, "Web/CloudOps": {"n_configs": 20, "rel_mase_gmean": 0.6616757881069665, "rel_wql_gmean": 0.45318260421936735}}, "frequency": {"A": {"n_configs": 1, "rel_mase_gmean": 0.6445112721993314, "rel_wql_gmean": 0.7250031265258748}, "D": {"n_configs": 15, "rel_mase_gmean": 0.8169867958549157, "rel_wql_gmean": 0.48765941110091987}, "H": {"n_configs": 31, "rel_mase_gmean": 0.7687868921949567, "rel_wql_gmean": 0.5082857531718749}, "M": {"n_configs": 5, "rel_mase_gmean": 0.8647112860240415, "rel_wql_gmean": 0.791872490233388}, "Q": {"n_configs": 1, "rel_mase_gmean": 0.7635201146060429, "rel_wql_gmean": 0.7764383165590925}, "S": {"n_configs": 6, "rel_mase_gmean": 0.8527947748812648, "rel_wql_gmean": 0.5066866363631385}, "T": {"n_configs": 30, "rel_mase_gmean": 0.7680903138861567, "rel_wql_gmean": 0.5733326508067024}, "W": {"n_configs": 8, "rel_mase_gmean": 0.8719229424762637, "rel_wql_gmean": 0.5937682323059945}}, "variates": {"multivariate": {"n_configs": 43, "rel_mase_gmean": 0.7868235601514957, "rel_wql_gmean": 0.526807616706907}, "univariate": {"n_configs": 54, "rel_mase_gmean": 0.7966399243027747, "rel_wql_gmean": 0.5645842503200074}}}, "group_skill_delta": {"term": {"long": 0.0006439378920813921, "medium": 0.00016236401698110914, "short": 0.0001466081267245123}, "domain": {"Econ/Fin": 0.001053295850087288, "Energy": -0.00027231786992520934, "Healthcare": 0.002174157858709669, "Nature": -1.8040762761462048e-07, "Sales": -0.0003400073305535045, "Transport": 1.2692475022890726e-05, "Web/CloudOps": 0.0007548788354538871}, "frequency": {"A": 0.00040100391892916587, "D": -0.00034255030581031853, "H": 0.00017913055135609923, "M": 0.0028972723462821204, "Q": -0.0003585045525574815, "S": 0.0005537928589051111, "T": 0.0004022754859548394, "W": -0.00018429015887055922}, "variates": {"multivariate": 0.00031876986837442445, "univariate": 0.0002273463140293197}}}, {"cutoff": "backcast2_evals", "candidate_skill": 0.36502796216014843, "control_skill": 0.3650598400595585, "delta": -3.187789941005992e-05, "candidate_checkpoint": "a58331b22849ed42145fa59ede34ac1110d547ca2ca8d22fd7ae1e7758275c02", "control_checkpoint": "d512cdac520239f0c10e021721424d87cee30086fa70f6cbc41f21e2e04988c3", "candidate_eval_seconds": 26.523544549942017, "candidate_groups": {"term": {"long": {"n_configs": 19, "rel_mase_gmean": 0.7960014186646001, "rel_wql_gmean": 0.5026412788917941}, "medium": {"n_configs": 21, "rel_mase_gmean": 0.7496820269895164, "rel_wql_gmean": 0.48609171303830856}, "short": {"n_configs": 54, "rel_mase_gmean": 0.7595442927317866, "rel_wql_gmean": 0.5536150929737725}}, "domain": {"Econ/Fin": {"n_configs": 6, "rel_mase_gmean": 0.892175022297539, "rel_wql_gmean": 0.9092775801720556}, "Energy": {"n_configs": 32, "rel_mase_gmean": 0.8955296229989435, "rel_wql_gmean": 0.6452216593942534}, "Healthcare": {"n_configs": 5, "rel_mase_gmean": 0.6969586693102138, "rel_wql_gmean": 0.5916396121312075}, "Nature": {"n_configs": 15, "rel_mase_gmean": 0.7474914991097995, "rel_wql_gmean": 0.3555289062479588}, "Sales": {"n_configs": 3, "rel_mase_gmean": 0.5591368862446562, "rel_wql_gmean": 0.35719672376158523}, "Transport": {"n_configs": 14, "rel_mase_gmean": 0.6606687884355765, "rel_wql_gmean": 0.4948309087880784}, "Web/CloudOps": {"n_configs": 19, "rel_mase_gmean": 0.6808464426850596, "rel_wql_gmean": 0.4666493400690851}}, "frequency": {"A": {"n_configs": 1, "rel_mase_gmean": 0.5824510285116941, "rel_wql_gmean": 0.7244222860872988}, "D": {"n_configs": 15, "rel_mase_gmean": 0.7224488047606474, "rel_wql_gmean": 0.44444771311281084}, "H": {"n_configs": 30, "rel_mase_gmean": 0.7509658388549945, "rel_wql_gmean": 0.4850985900090534}, "M": {"n_configs": 4, "rel_mase_gmean": 0.8065018003082426, "rel_wql_gmean": 0.8351510420083434}, "Q": {"n_configs": 1, "rel_mase_gmean": 0.8335145229339387, "rel_wql_gmean": 0.878753115206486}, "S": {"n_configs": 6, "rel_mase_gmean": 0.9046058950856517, "rel_wql_gmean": 0.5678391248174547}, "T": {"n_configs": 29, "rel_mase_gmean": 0.754136367520396, "rel_wql_gmean": 0.5361272399295304}, "W": {"n_configs": 8, "rel_mase_gmean": 0.8393491018197597, "rel_wql_gmean": 0.6347763129422339}}, "variates": {"multivariate": {"n_configs": 42, "rel_mase_gmean": 0.7796790438440169, "rel_wql_gmean": 0.5131262866912012}, "univariate": {"n_configs": 52, "rel_mase_gmean": 0.7525281678145634, "rel_wql_gmean": 0.5391475278159895}}}, "control_groups": {"term": {"long": {"n_configs": 19, "rel_mase_gmean": 0.796127056742376, "rel_wql_gmean": 0.5022139410634582}, "medium": {"n_configs": 21, "rel_mase_gmean": 0.7505942901123125, "rel_wql_gmean": 0.4865575819153698}, "short": {"n_configs": 54, "rel_mase_gmean": 0.7594504520679526, "rel_wql_gmean": 0.5532537195147663}}, "domain": {"Econ/Fin": {"n_configs": 6, "rel_mase_gmean": 0.8929618274343588, "rel_wql_gmean": 0.9103813793769899}, "Energy": {"n_configs": 32, "rel_mase_gmean": 0.8959209226146972, "rel_wql_gmean": 0.6453740580861129}, "Healthcare": {"n_configs": 5, "rel_mase_gmean": 0.6961784435164479, "rel_wql_gmean": 0.5915734081229318}, "Nature": {"n_configs": 15, "rel_mase_gmean": 0.7476406868387996, "rel_wql_gmean": 0.35522212901676864}, "Sales": {"n_configs": 3, "rel_mase_gmean": 0.5597759096460994, "rel_wql_gmean": 0.35738676117830037}, "Transport": {"n_configs": 14, "rel_mase_gmean": 0.6611597485381723, "rel_wql_gmean": 0.4949322755161753}, "Web/CloudOps": {"n_configs": 19, "rel_mase_gmean": 0.6805375314732472, "rel_wql_gmean": 0.4657391485089796}}, "frequency": {"A": {"n_configs": 1, "rel_mase_gmean": 0.582687321216151, "rel_wql_gmean": 0.7249374834569997}, "D": {"n_configs": 15, "rel_mase_gmean": 0.7228644523548966, "rel_wql_gmean": 0.4448013254664766}, "H": {"n_configs": 30, "rel_mase_gmean": 0.7512801448992653, "rel_wql_gmean": 0.48470980713170986}, "M": {"n_configs": 4, "rel_mase_gmean": 0.8061257673025353, "rel_wql_gmean": 0.8338421947073288}, "Q": {"n_configs": 1, "rel_mase_gmean": 0.8329742195879615, "rel_wql_gmean": 0.8780190666063756}, "S": {"n_configs": 6, "rel_mase_gmean": 0.903952356548986, "rel_wql_gmean": 0.5661338988037351}, "T": {"n_configs": 29, "rel_mase_gmean": 0.7547233557063331, "rel_wql_gmean": 0.536425314767226}, "W": {"n_configs": 8, "rel_mase_gmean": 0.83773127724725, "rel_wql_gmean": 0.6339155481728359}}, "variates": {"multivariate": {"n_configs": 42, "rel_mase_gmean": 0.780210137456359, "rel_wql_gmean": 0.5128749991570595}, "univariate": {"n_configs": 52, "rel_mase_gmean": 0.7524307203251008, "rel_wql_gmean": 0.5390362822620333}}}, "group_skill_delta": {"term": {"long": -0.00021904826582164194, "medium": 0.0006565627919556949, "short": -0.0002517211715764578}, "domain": {"Econ/Fin": 0.0009438275747216673, "Energy": 0.0002558383587759616, "Healthcare": -0.0003954401249199879, "Nature": -0.0001710407424253546, "Sales": 0.00037423751629417357, "Transport": 0.0002709910929368231, "Web/CloudOps": -0.0006777377431178566}, "frequency": {"A": 0.0003627349470323171, "D": 0.0003884210559521595, "H": -0.00011566979501709262, "M": -0.0008345522118539117, "Q": -0.000634841926141716, "S": -0.0013355026750716537, "T": 0.00042421893081734385, "W": -0.001198389283618595}, "variates": {"multivariate": 6.043927314858255e-05, "univariate": -0.00010695619395773015}}}, {"cutoff": "backcast3_evals", "candidate_skill": 0.39265413838971885, "control_skill": 0.3928331731047856, "delta": -0.0001790347150667504, "candidate_checkpoint": "a58331b22849ed42145fa59ede34ac1110d547ca2ca8d22fd7ae1e7758275c02", "control_checkpoint": "d512cdac520239f0c10e021721424d87cee30086fa70f6cbc41f21e2e04988c3", "candidate_eval_seconds": 26.277734518051147, "candidate_groups": {"term": {"long": {"n_configs": 19, "rel_mase_gmean": 0.763213053006481, "rel_wql_gmean": 0.47463628610049197}, "medium": {"n_configs": 20, "rel_mase_gmean": 0.7700066009187033, "rel_wql_gmean": 0.5303757287077746}, "short": {"n_configs": 54, "rel_mase_gmean": 0.7105577515380257, "rel_wql_gmean": 0.5031154655124117}}, "domain": {"Econ/Fin": {"n_configs": 6, "rel_mase_gmean": 0.8388651331589142, "rel_wql_gmean": 0.8356204480073285}, "Energy": {"n_configs": 32, "rel_mase_gmean": 0.8292394190007075, "rel_wql_gmean": 0.5511815388000502}, "Healthcare": {"n_configs": 5, "rel_mase_gmean": 0.7633572765476612, "rel_wql_gmean": 0.637402098104267}, "Nature": {"n_configs": 15, "rel_mase_gmean": 0.7229027119789553, "rel_wql_gmean": 0.33785441945164196}, "Sales": {"n_configs": 3, "rel_mase_gmean": 0.747786657069221, "rel_wql_gmean": 0.4735155122693387}, "Transport": {"n_configs": 14, "rel_mase_gmean": 0.5382973778280795, "rel_wql_gmean": 0.44668921771202985}, "Web/CloudOps": {"n_configs": 18, "rel_mase_gmean": 0.716247191162223, "rel_wql_gmean": 0.5207955257246776}}, "frequency": {"A": {"n_configs": 1, "rel_mase_gmean": 0.5303236769423866, "rel_wql_gmean": 0.7987474792530334}, "D": {"n_configs": 15, "rel_mase_gmean": 0.7155882344481472, "rel_wql_gmean": 0.4167791146304787}, "H": {"n_configs": 29, "rel_mase_gmean": 0.7225043472051401, "rel_wql_gmean": 0.48591703716566775}, "M": {"n_configs": 4, "rel_mase_gmean": 0.8398660552741536, "rel_wql_gmean": 0.8303217291367468}, "Q": {"n_configs": 1, "rel_mase_gmean": 0.712382396987942, "rel_wql_gmean": 0.765565458058733}, "S": {"n_configs": 6, "rel_mase_gmean": 0.8393394194654754, "rel_wql_gmean": 0.6027588248612287}, "T": {"n_configs": 29, "rel_mase_gmean": 0.7078110583503405, "rel_wql_gmean": 0.4627277252936608}, "W": {"n_configs": 8, "rel_mase_gmean": 0.8163194680035346, "rel_wql_gmean": 0.6654674899883456}}, "variates": {"multivariate": {"n_configs": 41, "rel_mase_gmean": 0.7601826897526973, "rel_wql_gmean": 0.5121520160713712}, "univariate": {"n_configs": 52, "rel_mase_gmean": 0.7132599794939622, "rel_wql_gmean": 0.4956088407340397}}}, "control_groups": {"term": {"long": {"n_configs": 19, "rel_mase_gmean": 0.7631434004686845, "rel_wql_gmean": 0.4745780224475118}, "medium": {"n_configs": 20, "rel_mase_gmean": 0.7702543592823002, "rel_wql_gmean": 0.5302072122994279}, "short": {"n_configs": 54, "rel_mase_gmean": 0.7102740757127205, "rel_wql_gmean": 0.5028426749263977}}, "domain": {"Econ/Fin": {"n_configs": 6, "rel_mase_gmean": 0.8404794249042948, "rel_wql_gmean": 0.8377611830280824}, "Energy": {"n_configs": 32, "rel_mase_gmean": 0.8299149339539488, "rel_wql_gmean": 0.5519405024214632}, "Healthcare": {"n_configs": 5, "rel_mase_gmean": 0.7621826867136657, "rel_wql_gmean": 0.6349175346276966}, "Nature": {"n_configs": 15, "rel_mase_gmean": 0.7231739407449111, "rel_wql_gmean": 0.3380432271049275}, "Sales": {"n_configs": 3, "rel_mase_gmean": 0.7474335142271239, "rel_wql_gmean": 0.4733071421517686}, "Transport": {"n_configs": 14, "rel_mase_gmean": 0.5378627602598968, "rel_wql_gmean": 0.4463114549472672}, "Web/CloudOps": {"n_configs": 18, "rel_mase_gmean": 0.7146709097664398, "rel_wql_gmean": 0.5186863440823273}}, "frequency": {"A": {"n_configs": 1, "rel_mase_gmean": 0.5306073447296601, "rel_wql_gmean": 0.8030982774337949}, "D": {"n_configs": 15, "rel_mase_gmean": 0.7175124768607152, "rel_wql_gmean": 0.41780178227764675}, "H": {"n_configs": 29, "rel_mase_gmean": 0.7223996277645064, "rel_wql_gmean": 0.4859456509788173}, "M": {"n_configs": 4, "rel_mase_gmean": 0.8339193215840682, "rel_wql_gmean": 0.8250296214792107}, "Q": {"n_configs": 1, "rel_mase_gmean": 0.7133214644953572, "rel_wql_gmean": 0.7659591311067668}, "S": {"n_configs": 6, "rel_mase_gmean": 0.8388577706002066, "rel_wql_gmean": 0.5998597273487538}, "T": {"n_configs": 29, "rel_mase_gmean": 0.7077596915926687, "rel_wql_gmean": 0.46245587762920626}, "W": {"n_configs": 8, "rel_mase_gmean": 0.8141976774865708, "rel_wql_gmean": 0.6645660569936594}}, "variates": {"multivariate": {"n_configs": 41, "rel_mase_gmean": 0.7600456915083991, "rel_wql_gmean": 0.511644654751976}, "univariate": {"n_configs": 52, "rel_mase_gmean": 0.7131300545794724, "rel_wql_gmean": 0.49563420928448887}}}, "group_skill_delta": {"term": {"long": -6.440524793560609e-05, "medium": 1.2553848545149293e-06, "short": -0.0002814460074814784}, "domain": {"Econ/Fin": 0.0018779845248143578, "Energy": 0.0007408019089427675, "Healthcare": -0.0018966403921262254, "Nature": 0.00023079957426602737, "Sales": -0.00027143369330284717, "Transport": -0.00040530308944747295, "Web/CloudOps": -0.0019090683135004616}, "frequency": {"A": 0.001944684287676024, "D": 0.0014042712874474672, "H": -2.5497132614016316e-05, "M": -0.005617694492873415, "Q": 0.0006765617207961094, "S": -0.0019162076973660014, "T": -0.0001888943515314656, "W": -0.0014572062836881727}, "variates": {"multivariate": -0.00036533865836885226, "univariate": -3.8938555586565116e-05}}}], "mean_delta": 0.00011268297958977325, "positive_cutoffs": 2, "outcome": "Declared comparison checkpoints 6000,12000. No transfer formula or automatic publication is selected by this controller."} + +E144source gate failed for12k; no additional transfer constructed. {"pid": 30367, "status": "complete; matched source gate failed12", "steps": [{"label": "first member four cutoffs6", "returncode": 0, "seconds": 1269.0724992570467}, {"label": "record first 6 valid_screen", "returncode": 0, "seconds": 0.046739127952605486}, {"label": "fixed equal quarters 6 valid_screen", "returncode": 0, "seconds": 1.9155653920024633}, {"label": "record first 6 valid_backcast", "returncode": 0, "seconds": 0.038436006056144834}, {"label": "fixed equal quarters 6 valid_backcast", "returncode": 0, "seconds": 2.262516180984676}, {"label": "record first 6 valid_backcast2", "returncode": 0, "seconds": 0.042515057139098644}, {"label": "fixed equal quarters 6 valid_backcast2", "returncode": 0, "seconds": 2.07946516177617}, {"label": "record first 6 valid_backcast3", "returncode": 0, "seconds": 0.03795478004030883}, {"label": "fixed equal quarters 6 valid_backcast3", "returncode": 0, "seconds": 2.0126948000397533}], "results": [{"duration": 6, "rows": [{"cutoff": "valid_screen", "skill": 0.38810101106304606, "control_skill": 0.3880317541577587, "delta": 6.925690528736261e-05, "groups": {"term": {"short": 0.37180827298086194, "medium": 0.4105115509520151, "long": 0.40708238805037744}, "domain": {"Econ/Fin": 0.1486111186027611, "Energy": 0.2479695849755097, "Healthcare": 0.4804056795233387, "Nature": 0.44349612366523783, "Sales": 0.34254579297464094, "Transport": 0.47319670526932023, "Web/CloudOps": 0.5084644098846547}, "freq": {"A-DEC": 0.3830620791547408, "Q-DEC": 0.20477654488786246, "M": 0.12309867469533453, "W-SUN": 0.09539518012564197, "D": 0.37279528788580674, "H": 0.40267616846564325, "15T": 0.2159286858582814, "W-FRI": 0.018629318922964266, "10T": 0.626998082431836, "W-TUE": 0.611936508038109, "W-THU": 0.22735602930060128, "W-WED": 0.32285500325028815, "5T": 0.5242567984118436, "10S": 0.42364215749954115}}, "member_checkpoint_hashes": ["9ba4af36e21a47aa761adac79fd6de599de475dde35083e7f8e6f16df77a07ff", "308389b7217c080af9eb185559d4ee3cafa0f3e0f8c4dd8f5526b68198c89988", "1a2fb20a9fb5cae6526f2e36ea47559626bece78fd9c284899836505030ae9fe", "227ea80abf17fc81ae191f94e91f6dd7adbc0d837235750b5f5e9cef3dd5472c"], "cpu_seconds": 1.7184872501529753}, {"cutoff": "valid_backcast", "skill": 0.34471433073323854, "control_skill": 0.344700271930117, "delta": 1.4058803121552721e-05, "groups": {"term": {"short": 0.31238304922869986, "medium": 0.36347247982590625, "long": 0.405345914099144}, "domain": {"Econ/Fin": 0.18144711659913626, "Energy": 0.23536769711757133, "Healthcare": 0.40411138472347474, "Nature": 0.37935065740310636, "Sales": 0.40728275158059335, "Transport": 0.37651708169313824, "Web/CloudOps": 0.4590755997389684}, "freq": {"A-DEC": 0.3350593911160711, "Q-DEC": 0.23266418596417293, "M": 0.19783596100298428, "W-SUN": 0.05626178192469, "D": 0.3622504039590009, "H": 0.3754732207508753, "15T": 0.22359339214094542, "W-FRI": 0.23889301677977803, "10T": 0.3334497373457339, "W-TUE": 0.5283866471678982, "W-THU": 0.2693442052960473, "W-WED": 0.3576817387194232, "5T": 0.4462591487900791, "10S": 0.34964818068776293}}, "member_checkpoint_hashes": ["9ba4af36e21a47aa761adac79fd6de599de475dde35083e7f8e6f16df77a07ff", "308389b7217c080af9eb185559d4ee3cafa0f3e0f8c4dd8f5526b68198c89988", "1a2fb20a9fb5cae6526f2e36ea47559626bece78fd9c284899836505030ae9fe", "227ea80abf17fc81ae191f94e91f6dd7adbc0d837235750b5f5e9cef3dd5472c"], "cpu_seconds": 2.079201564891264}, {"cutoff": "valid_backcast2", "skill": 0.3687334161573663, "control_skill": 0.36868215125404136, "delta": 5.1264903324965694e-05, "groups": {"term": {"short": 0.3557059534653181, "medium": 0.3976216095200944, "long": 0.37268682260890473}, "domain": {"Econ/Fin": 0.12803076624568543, "Energy": 0.24000255570986928, "Healthcare": 0.36855583170472794, "Nature": 0.4823647970325259, "Sales": 0.559496370437498, "Transport": 0.42676585305163917, "Web/CloudOps": 0.44574525321486713}, "freq": {"A-DEC": 0.33838286634019077, "Q-DEC": 0.15194832993661667, "M": 0.17048569213442577, "W-SUN": 0.07880746890627799, "D": 0.4356860699349723, "H": 0.3999234407371479, "15T": 0.10623917997605214, "W-FRI": 0.15689116677662518, "10T": 0.5102047202290378, "W-TUE": 0.17135603071174732, "W-THU": 0.33338011043972227, "W-WED": 0.5580671789826079, "5T": 0.47741806564473255, "10S": 0.29101676393121934}}, "member_checkpoint_hashes": ["9ba4af36e21a47aa761adac79fd6de599de475dde35083e7f8e6f16df77a07ff", "308389b7217c080af9eb185559d4ee3cafa0f3e0f8c4dd8f5526b68198c89988", "1a2fb20a9fb5cae6526f2e36ea47559626bece78fd9c284899836505030ae9fe", "227ea80abf17fc81ae191f94e91f6dd7adbc0d837235750b5f5e9cef3dd5472c"], "cpu_seconds": 1.8924103130120784}, {"cutoff": "valid_backcast3", "skill": 0.39163165430208413, "control_skill": 0.39170266078452043, "delta": -7.10064824362977e-05, "groups": {"term": {"short": 0.3966795855907692, "medium": 0.37253068675023604, "long": 0.39699833653896155}, "domain": {"Econ/Fin": 0.18919906291191568, "Energy": 0.31995206851807945, "Healthcare": 0.2347697994876441, "Nature": 0.5091382470970252, "Sales": 0.39897801119857224, "Transport": 0.5094799840851572, "Web/CloudOps": 0.39716820937506025}, "freq": {"A-DEC": 0.3535253256647043, "Q-DEC": 0.2615670338345317, "M": 0.14866387047266738, "W-SUN": 0.17110165811244527, "D": 0.4418909540008449, "H": 0.4075936421084978, "15T": 0.2631269004445399, "W-FRI": 0.045083749104135484, "10T": 0.6025336205792375, "W-TUE": 0.27966201942927393, "W-THU": 0.35336214420145295, "W-WED": 0.36513539720826094, "5T": 0.46905294221375926, "10S": 0.2884859565550919}}, "member_checkpoint_hashes": ["9ba4af36e21a47aa761adac79fd6de599de475dde35083e7f8e6f16df77a07ff", "308389b7217c080af9eb185559d4ee3cafa0f3e0f8c4dd8f5526b68198c89988", "1a2fb20a9fb5cae6526f2e36ea47559626bece78fd9c284899836505030ae9fe", "227ea80abf17fc81ae191f94e91f6dd7adbc0d837235750b5f5e9cef3dd5472c"], "cpu_seconds": 1.8629437680356205}], "positive_cutoffs": 3, "mean_delta": 1.589353232439583e-05, "selection_gate_passed": true}], "started_utc": "2026-10-23T10:39:47.219310+00:00", "seconds": 1376.4727018228732} + +## E136 direct bounded trend final12000 main +- Checkpoint SHA-256: `a58331b22849ed42145fa59ede34ac1110d547ca2ca8d22fd7ae1e7758275c02`. +- Evaluation: 97 configurations, 9473 instances, 0 failed configurations; 23.143726587295532 seconds. +- Overall skill 0.382707; relative MASE 0.738279; relative WQL 0.516134. +- term skill: long=0.4063, medium=0.4076, short=0.3636. +- domain skill: Econ/Fin=0.1320, Energy=0.2386, Healthcare=0.4571, Nature=0.4337, Sales=0.3362, Transport=0.4782, Web/CloudOps=0.5093. +- frequency skill: A=0.3600, D=0.3705, H=0.3998, M=0.1044, Q=0.1976, S=0.4271, T=0.4425, W=0.2153. +- variates skill: multivariate=0.3991, univariate=0.3693. +- Outcome: Final main0.382706548555 exceeds matched E107, but complete4cutoff comparison improves only2of4 (mean+0.000112682980), failing declared durability gate. E144final transfer not constructed. E146seed523 replication remains a separately predeclared primary6000 test. Seed197/B64/LR2e-5; process2570.288663981s; original12k schedule complete. + +## E122 original AR fresh146M early16000 +- Checkpoint SHA-256: `0f48d177218bcd7531f3d54fea58f5ca08036886a457008259c70485858848f2`. +- Evaluation: 97 configurations, 9473 instances, 0 failed configurations; 36.974172592163086 seconds. +- Overall skill 0.352504; relative MASE 0.766166; relative WQL 0.547207. +- term skill: long=0.3797, medium=0.3879, short=0.3275. +- domain skill: Econ/Fin=0.1324, Energy=0.2149, Healthcare=0.3369, Nature=0.4109, Sales=0.3337, Transport=0.4397, Web/CloudOps=0.4847. +- frequency skill: A=0.3850, D=0.3235, H=0.3719, M=0.0535, Q=0.1967, S=0.4166, T=0.4073, W=0.2191. +- variates skill: multivariate=0.3741, univariate=0.3347. +- Outcome: Early diagnostic0.352503682323 exceeds same-update E79slowAR0.349499285513 by0.003004396810. Same seed307/B48/LR2e-4/96k, ownc969init; only AR coefficient law changes. Primary48k/final96k unchanged; no selection from this early main panel. + +2026-10-23T11:07:51.052221+00:00: E144primary6k merged quartet only+0.000015893532mean versus frozenE1396 (3of4), but currentE142 deltas [-7.085704213405375e-05, -0.0008442905988997884, -0.0008112165200293564, -0.0005328211487561907] (0of4). No full replay or publication. E136final12k source gate fails2of4 despite+0.000112682980mean; E144final not constructed. E146seed523primary replication remains queued as declared. + +E148 full group differences against current E142 {"term": {"long": 5.078989562323777e-05, "medium": 1.3970767767879089e-05, "short": 7.037013199329145e-05}, "domain": {"Econ/Fin": 4.251436603996961e-05, "Energy": -1.6436239628325744e-05, "Healthcare": 0.0006581007257682181, "Nature": 1.51650260322711e-05, "Sales": 5.69484299851597e-05, "Transport": -8.820947061149997e-05, "Web/CloudOps": 9.93649148453013e-05}, "frequency": {"A": -4.305730237130767e-06, "D": 5.600023718677072e-05, "H": 1.1796898732430172e-05, "M": 0.0006410945366341902, "Q": 3.291114509240689e-05, "S": 0.0001216824749590284, "T": 5.1314657622425486e-05, "W": -0.00012932300104695482}, "variates": {"multivariate": 6.773523247716184e-05, "univariate": 4.1424287538505133e-05}}. Both aggregate relative metrics improve. Primary3of4/meanpositive current-cutoff gate passed; earliest cutoff declines0.000034797166. No training or ensemble-weight adjustment; complete runtime/relocation/composition checks passed. + +## E148 final fresh146M quartet full replay — selected +- Checkpoint SHA-256: `a1b4ab426901be8e1ee299eeeb3f041bac7cea3d4e59c4608824fc3d05c83e03`. +- Evaluation: 97 configurations, 151170 instances, 0 failed configurations; not separately timed seconds. +- Overall skill 0.384536; relative MASE 0.736368; relative WQL 0.514412. +- term skill: long=0.4002, medium=0.4096, short=0.3685. +- domain skill: Econ/Fin=0.1298, Energy=0.2408, Healthcare=0.5001, Nature=0.4414, Sales=0.3581, Transport=0.4728, Web/CloudOps=0.4998. +- frequency skill: A=0.3043, D=0.3760, H=0.3984, M=0.1515, Q=0.1921, S=0.4240, T=0.4383, W=0.2444. +- variates skill: multivariate=0.3964, univariate=0.3750. +- Outcome: Fixed quartet improves full skill from 0.384482209012 to 0.384535531421. All97configs151170instances pass; inference 459.216s on shared H100. Relocation and real/extreme synthetic standalone composition are bitwise exact. Validation selection only, not held-out reward. + +E148 fullsuite {"package": "/workspace/research/candidate-width12-fresh96-ensemble", "status": "complete", "steps": [{"name": "synthetic_composition", "returncode": 0, "seconds": 115.8998016428668}, {"name": "relocation", "returncode": 0, "seconds": 51.69444114388898}, {"name": "full_public_replay", "returncode": 0, "seconds": 462.5455177319236}, {"name": "composition", "returncode": 0, "seconds": 0.33620940893888474}, {"name": "descriptive_comparison", "returncode": 0, "seconds": 0.16860568895936012}], "current_step": "descriptive_comparison", "seconds": 630.6624612889718, "skill": 0.384535531420913}. Synthetic {"kind": "joint12", "descriptor_sha256": "a1b4ab426901be8e1ee299eeeb3f041bac7cea3d4e59c4608824fc3d05c83e03", "members": ["0b11b7351a4a92d1d18c71a4159ec445be3a94ace8c7a9fa0edafad87d14e960", "308389b7217c080af9eb185559d4ee3cafa0f3e0f8c4dd8f5526b68198c89988", "1a2fb20a9fb5cae6526f2e36ea47559626bece78fd9c284899836505030ae9fe", "d7cfcd72c3cb84aa69e447b76c4c3ab98c21b7c600a463f0b805f4b4300baf33"], "checks": [{"config_id": "synthetic_H", "instances": 12, "bitwise_composition": true, "finite_ordered": true}, {"config_id": "synthetic_15T", "instances": 12, "bitwise_composition": true, "finite_ordered": true}], "references": ["/workspace/research/width12_fixture/standalone0", "/workspace/research/fresh_capacity4_fixture/standalone1", "/workspace/research/fresh_capacity4_fixture/standalone2", "/workspace/research/fresh_capacity96_fixture/standalone3"], "fresh_member_cached": true, "seconds": 115.75572869600728}. Descriptive comparison {"candidate": "/workspace/research/valid-report-width12-fresh96-ensemble.json", "parent": "/workspace/research/valid-report-width6-fresh96-ensemble.json", "candidate_hash": "a1b4ab426901be8e1ee299eeeb3f041bac7cea3d4e59c4608824fc3d05c83e03", "parent_hash": "49440d1daee26c41a9bbb1f1580bbb35317a35553a58dafbd778cecd027c05fe", "skill_difference": 5.33224084642292e-05, "n_configs": 97, "n_dataset_clusters": 28, "improved_configs": 50, "bootstrap_seed": 317, "bootstrap_samples": 5000, "dataset_cluster_delta_percentiles": {"p025": -1.3563314704279072e-05, "p50": 5.152464910823662e-05, "p975": 0.00014571112637890002}, "note": "Descriptive resampling only. Adaptive validation selection and reused windows prevent treating this as a held-out significance test."}. Current-publication diagnostic deltas [5.608287258229705e-05, 0.00010749432663625935, 0.00011809149270736174, -3.479716619991802e-05]. All members forecast every instance. E101teacher/E138experts remain their immutable snapshots. + +## E131 fresh146M long-seasonal4000 learning diagnostic +- Checkpoint SHA-256: `3a6bdd72a63e36e30295843c1865cbe1682370d01d12ac9c932a2db0c99ad241`. +- Evaluation: 97 configurations, 9473 instances, 0 failed configurations; 37.18789601325989 seconds. +- Overall skill 0.334468; relative MASE 0.779164; relative WQL 0.568471. +- term skill: long=0.3617, medium=0.3834, short=0.3037. +- domain skill: Econ/Fin=0.1144, Energy=0.2028, Healthcare=0.2995, Nature=0.3963, Sales=0.2941, Transport=0.4410, Web/CloudOps=0.4524. +- frequency skill: A=0.3792, D=0.3362, H=0.3639, M=-0.0957, Q=0.1802, S=0.4239, T=0.3739, W=0.1963. +- variates skill: multivariate=0.3490, univariate=0.3227. +- Outcome: Seed307/B48/LR2e-4 original96k schedule, own random initialization plus zero seasonal features. Main0.334468421976 versus matched E79at4000 0.328133919419, delta+0.006334502556. Early main panel only; primary48000/final96000 and all four cutoffs remain required. No selection or schedule change. + +## E141 patch16 matched continuation3000 learning diagnostic +- Checkpoint SHA-256: `351a29a13179757eed91b8115a4933cb638076d1daa332cacb8a899f0bc56687`. +- Evaluation: 97 configurations, 9473 instances, 0 failed configurations; 36.242040157318115 seconds. +- Overall skill 0.371632; relative MASE 0.749634; relative WQL 0.526718. +- term skill: long=0.3840, medium=0.3952, short=0.3575. +- domain skill: Econ/Fin=0.1345, Energy=0.2268, Healthcare=0.5035, Nature=0.4186, Sales=0.3293, Transport=0.4591, Web/CloudOps=0.4914. +- frequency skill: A=0.4042, D=0.3634, H=0.3884, M=0.1131, Q=0.2064, S=0.4166, T=0.4190, W=0.2388. +- variates skill: multivariate=0.3799, univariate=0.3650. +- Outcome: Seed809/B32/LR2e-5/12000 from own E79wide96000. Control learning diagnostic only; matched foldedpatch8 candidate has not started. Primary6000/final12000 comparison unchanged. + +2026-10-23T11:16:03.558184+00:00: E148 cached four-cutoff failure diagnosis (0.01057158992625773s CPU;0updates/no newinference), receiptE148_failure_structure.json. Top recurrent weaknesses [{"leaderboard_key": "m4_daily/D/short", "geometric_mean_relative_error": 1.0802223136613158, "cutoffs_worse_than_seasonal_naive": 4, "cutoff_count": 4}, {"leaderboard_key": "electricity/H/short", "geometric_mean_relative_error": 1.0080920609749786, "cutoffs_worse_than_seasonal_naive": 2, "cutoff_count": 4}, {"leaderboard_key": "ett1/15T/medium", "geometric_mean_relative_error": 0.9428132186885196, "cutoffs_worse_than_seasonal_naive": 1, "cutoff_count": 4}, {"leaderboard_key": "ett2/15T/long", "geometric_mean_relative_error": 0.9332305533762528, "cutoffs_worse_than_seasonal_naive": 1, "cutoff_count": 4}, {"leaderboard_key": "ett1/W/short", "geometric_mean_relative_error": 0.9328546779617872, "cutoffs_worse_than_seasonal_naive": 1, "cutoff_count": 4}, {"leaderboard_key": "saugeen/M/short", "geometric_mean_relative_error": 0.9322337865102405, "cutoffs_worse_than_seasonal_naive": 2, "cutoff_count": 4}, {"leaderboard_key": "ett1/15T/long", "geometric_mean_relative_error": 0.9321693285748703, "cutoffs_worse_than_seasonal_naive": 1, "cutoff_count": 4}, {"leaderboard_key": "ett2/15T/short", "geometric_mean_relative_error": 0.9270483647160915, "cutoffs_worse_than_seasonal_naive": 2, "cutoff_count": 4}]. Diagnostic only; no new training rule or inference switch selected. + +2026-10-23T11:17:38.943532+00:00: E148 full-validation descriptive quantile/median audit, cached forecasts only,0updates/no new inference. Quantile audit1.235771079082042s;median audit1.2367559450212866s. Equal-config mean quantile coverage-band deviation0.07028782858028769. M4daily median coverage0.47945833899687373,coverage-band deviation0.021089136574388708,MASE3.289412851999819,signed scaled error-0.3332592876743655,absolute window-mean error/MAE0.8980850580730646. The last quantity is a Jensen bound, not a recoverable correction. Aggregate coverage does not establish conditional calibration or prove error causality. No forecast adjustment or new generator selected. Detailed group/config receiptsE148_quantile_coverage.json andE148_median_error_structure.json. + +## E149 integrated local-level noise in synthetic training — declared 2026-10-23T11:18:57.764896+00:00 +Hypothesis: the corpus and current synthetic mixture underrepresent persistent stochastic level motion. Current E148 M4daily trails Seasonal Naive on all four reused cutoffs despite fairly close aggregate quantile coverage; this motivates, but does not establish, the mechanism. Test one training-only generator change against completed E80: add an independent Gaussian random walk to25percent of synthetic paths, before existing intermittent/positivity transforms. At each selected path draw per-step innovation standard deviation10**Uniform(-3,-1); the level begins at0 and subsequent levels are cumulative independent N(0,sigma) innovations. The original Fourier, damped-trend, AR, changepoint and observation-noise draws remain unchanged, as do every real row, source probability, length, mask, sign and requested-horizon draw. A separate RNG(seed+1300003) controls selection, scale and innovations and is fully checkpointed. Synthetic fraction remains20percent, so about5percent of all rows receive the new component; no frequency or dataset conditions. +Candidate integrated_level uses byte-identical E80model and own E62initial22c08571978be31ba57368eb983089a40a44d56d4ae5e17da41afd2a761a258c, seed197/B64/LR2e-5/12000/paired/uncompiled/oldpack/originalAR, horizon RNG300200. Primary6000, final12000 across allfourcutoffs versus E80;1000/3000main learning diagnostics. No coefficient sweep, transfer formula, new full-corpus combination or inference adjustment is selected. This differs from E61slow stationary AR and failed E69stochastic volatility: it adds a unit-root level component without rescaling existing noise. Queue after E146final12000 in the same allocation, after CPUstream/recovery and maximum-shape finite-gradient checks. No extra concurrent trainer. No validation training. + +2026-10-23T21:22:15.117446+00:00: Storage recovery4: six complete optimizer/EMA/RNG/prefetch states restored; original recipes and endpoint schedules unchanged. Checkpoint audit {"utc": "2026-10-23T21:20:45.083665+00:00", "rows": [{"run": "distill_ensemble", "step": 39750, "end_step": 96000, "sha256": "5c45a2060c0307118bf112b92938704c807bc587d6886ed2808a143526c8e61a", "bytes": 2344995351, "sampler_rngs": ["rng", "horizon_rng"], "seconds": 5.320158665068448, "zip_crc_valid": true, "full_recovery_fields": true, "model_and_ema_finite": true, "prefetch_shapes": [[48, 4096], [48, 32], [48, 2]]}, {"run": "random_capacity_full", "step": 81250, "end_step": 96000, "sha256": "17851f8b68a8fd6ced263aa86771e03f57e6f2bbf8e6c631a5fda77d720db4b2", "bytes": 2344759575, "sampler_rngs": ["rng", "horizon_rng"], "seconds": 5.329595515038818, "zip_crc_valid": true, "full_recovery_fields": true, "model_and_ema_finite": true, "prefetch_shapes": [[48, 2048], [48, 1024], [48, 2]]}, {"run": "random_capacity_original_ar", "step": 22250, "end_step": 96000, "sha256": "9f3740eb601f053d5689bbe905578adb92f84be060980372e5a410cf3ccf636e", "bytes": 2345041495, "sampler_rngs": ["rng", "horizon_rng"], "seconds": 5.150818087160587, "zip_crc_valid": true, "full_recovery_fields": true, "model_and_ema_finite": true, "prefetch_shapes": [[48, 4096], [48, 128], [48, 2]]}, {"run": "random_capacity_long_seasonal", "step": 8250, "end_step": 96000, "sha256": "cbe4ca6ee65878592e97c3aa0fe849b6d11f674720272a6d16b8def26957f252", "bytes": 2346840508, "sampler_rngs": ["rng", "horizon_rng"], "seconds": 5.352568831061944, "zip_crc_valid": true, "full_recovery_fields": true, "model_and_ema_finite": true, "prefetch_shapes": [[48, 4096], [48, 1024], [48, 2]]}, {"run": "ensemble_gate", "step": 6250, "end_step": 12000, "sha256": "1e4ca8d91132469baaba2a4a6c0c3e7a642cb59bdfd47bc6920d0b8b27cbfac2", "bytes": 1890843, "sampler_rngs": ["rng", "horizon_rng"], "seconds": 0.012273023836314678, "zip_crc_valid": true, "full_recovery_fields": true, "model_and_ema_finite": true, "prefetch_shapes": [[64, 4096], [64, 1024], [64, 2]]}, {"run": "capacity_patch8_control", "step": 7500, "end_step": 12000, "sha256": "cd7d2c28375f521563f721cd04eff9da81c2ef6e68e0dd59e0ba3cc5fe1ae286", "bytes": 2344128471, "sampler_rngs": ["rng", "horizon_rng"], "seconds": 4.977336599025875, "zip_crc_valid": true, "full_recovery_fields": true, "model_and_ema_finite": true, "prefetch_shapes": [[32, 512], [32, 512], [32, 2]]}], "seconds": 26.474200160009786}. Queued dependencies rewired to new live queue PIDs. Incomplete .tmp files quarantined; no model state inferred from them. All selected weights preserved. Original externally enforced research budget remains authoritative; operator downtime is not research compute. + +E110 fresh146M full eligible-series corpus storage recovery training started at 2026-10-23T21:22:18Z, as an authorized immediate bounded trial; required checkpoint files are present. Settings are unchanged from the declared comparison. + +E122 fresh146M original AR prior seed307 storage recovery training started at 2026-10-23T21:22:18Z, as an authorized immediate bounded trial; required checkpoint files are present. Settings are unchanged from the declared comparison. + +E131 fresh146M learned seasonal summaries seed307 storage recovery training started at 2026-10-23T21:22:18Z, as an authorized immediate bounded trial; required checkpoint files are present. Settings are unchanged from the declared comparison. + +E138 bounded learned gate with frozen E130 experts seed751 storage recovery training started at 2026-10-23T21:22:18Z, as an authorized immediate bounded trial; required checkpoint files are present. Settings are unchanged from the declared comparison. + +E141 matched146M capacity_patch8_control seed809 storage recovery training started at 2026-10-23T21:22:18Z, as an authorized immediate bounded trial; required checkpoint files are present. Settings are unchanged from the declared comparison. + +E101 own-ensemble distillation fresh146M storage recovery training started at 2026-10-23T21:22:19Z, as an authorized immediate bounded trial; required checkpoint files are present. Settings are unchanged from the declared comparison. + +2026-10-23T21:22:57.780616+00:00: Recovery4 resumes six jobs from verified full states {"distill_ensemble": 39750, "random_capacity_full": 81250, "random_capacity_original_ar": 22250, "random_capacity_long_seasonal": 8250, "ensemble_gate": 6250, "capacity_patch8_control": 7500}. All six original schedules and seven queued studies preserved; new dependencies recorded in recovery4_launch_receipt.json, persistent session23105. E148publication hashes and relocated outputs pass unchanged(11.567369470s). Compilerrestore83.745881014s; checkpointCRC/hash/finite/fullstateaudit26.474200160s. Original externally enforced budget retained; approximately10h operator downtime must not be inferred as research compute. E149is only declared, not implemented or queued. Storage inventory:raw step317.80GiB,EMA317.44GiB,fullrecovery45.44GiB; no valid checkpoints pruned. Disk currently13TBfree. + +## E138 learned gate6000 valid_screen +- Checkpoint SHA-256: `2115a57946abe740b5b8e9a107d0ceca1697b3c71168fe9b565b7a404ee2ea80`. +- Evaluation: 97 configurations, 9473 instances, 0 failed configurations; 101.05418701795861 seconds. +- Overall skill 0.389154; relative MASE 0.731523; relative WQL 0.510077. +- term skill: long=0.4082, medium=0.4121, short=0.3726. +- domain skill: Econ/Fin=0.1515, Energy=0.2476, Healthcare=0.4815, Nature=0.4451, Sales=0.3430, Transport=0.4755, Web/CloudOps=0.5095. +- frequency skill: A=0.3822, D=0.3763, H=0.4042, M=0.1131, Q=0.2031, S=0.4247, T=0.4482, W=0.2419. +- variates skill: multivariate=0.4019, univariate=0.3789. +- Outcome: All four own E130 experts frozen; only6340gateparameters trained on allowed corpus. Fixed bounded per-lead quantile weights. Compare immutableE130 then current publication before any full package selection. + +## E138 learned gate6000 valid_backcast +- Checkpoint SHA-256: `2115a57946abe740b5b8e9a107d0ceca1697b3c71168fe9b565b7a404ee2ea80`. +- Evaluation: 97 configurations, 9330 instances, 0 failed configurations; 45.48357278504409 seconds. +- Overall skill 0.344511; relative MASE 0.788286; relative WQL 0.545063. +- term skill: long=0.4034, medium=0.3630, short=0.3131. +- domain skill: Econ/Fin=0.1828, Energy=0.2349, Healthcare=0.3965, Nature=0.3832, Sales=0.4075, Transport=0.3783, Web/CloudOps=0.4565. +- frequency skill: A=0.3291, D=0.3623, H=0.3776, M=0.1964, Q=0.2350, S=0.3446, T=0.3405, W=0.2904. +- variates skill: multivariate=0.3619, univariate=0.3303. +- Outcome: All four own E130 experts frozen; only6340gateparameters trained on allowed corpus. Fixed bounded per-lead quantile weights. Compare immutableE130 then current publication before any full package selection. + +## E138 learned gate6000 valid_backcast2 +- Checkpoint SHA-256: `2115a57946abe740b5b8e9a107d0ceca1697b3c71168fe9b565b7a404ee2ea80`. +- Evaluation: 94 configurations, 8934 instances, 0 failed configurations; 82.1311989359092 seconds. +- Overall skill 0.369255; relative MASE 0.759487; relative WQL 0.523826. +- term skill: long=0.3728, medium=0.3967, short=0.3570. +- domain skill: Econ/Fin=0.1325, Energy=0.2423, Healthcare=0.3544, Nature=0.4854, Sales=0.5581, Transport=0.4279, Web/CloudOps=0.4445. +- frequency skill: A=0.3395, D=0.4346, H=0.3996, M=0.1756, Q=0.1552, S=0.2883, T=0.3697, W=0.2846. +- variates skill: multivariate=0.3711, univariate=0.3678. +- Outcome: All four own E130 experts frozen; only6340gateparameters trained on allowed corpus. Fixed bounded per-lead quantile weights. Compare immutableE130 then current publication before any full package selection. + +## E138 learned gate6000 valid_backcast3 +- Checkpoint SHA-256: `2115a57946abe740b5b8e9a107d0ceca1697b3c71168fe9b565b7a404ee2ea80`. +- Evaluation: 93 configurations, 8812 instances, 0 failed configurations; 97.45909608481452 seconds. +- Overall skill 0.391481; relative MASE 0.737187; relative WQL 0.502310. +- term skill: long=0.3970, medium=0.3699, short=0.3974. +- domain skill: Econ/Fin=0.1925, Energy=0.3204, Healthcare=0.2353, Nature=0.5044, Sales=0.4028, Transport=0.5122, Web/CloudOps=0.3963. +- frequency skill: A=0.3598, D=0.4441, H=0.4083, M=0.1462, Q=0.2620, S=0.2841, T=0.4336, W=0.2498. +- variates skill: multivariate=0.3742, univariate=0.4047. +- Outcome: All four own E130 experts frozen; only6340gateparameters trained on allowed corpus. Fixed bounded per-lead quantile weights. Compare immutableE130 then current publication before any full package selection. + +2026-10-23T21:26:11.191817+00:00: E138 bounded ensemble gate selection: {"step": 6000, "rows": [{"cutoff": "valid_screen", "skill": 0.3891538952530367, "control_skill": 0.3878507268780589, "delta": 0.0013031683749777923, "groups": {"term": {"long": {"n_configs": 21, "rel_mase_gmean": 0.7364459507042054, "rel_wql_gmean": 0.4755697971765997}, "medium": {"n_configs": 21, "rel_mase_gmean": 0.705725254641002, "rel_wql_gmean": 0.4896858518745376}, "short": {"n_configs": 55, "rel_mase_gmean": 0.7397234471502719, "rel_wql_gmean": 0.5321278452570799}}, "domain": {"Econ/Fin": {"n_configs": 6, "rel_mase_gmean": 0.8615237874881659, "rel_wql_gmean": 0.8356013887604252}, "Energy": {"n_configs": 32, "rel_mase_gmean": 0.8913262218388278, "rel_wql_gmean": 0.6351339086754909}, "Healthcare": {"n_configs": 5, "rel_mase_gmean": 0.5440759106430966, "rel_wql_gmean": 0.4941361567456849}, "Nature": {"n_configs": 15, "rel_mase_gmean": 0.794973161669226, "rel_wql_gmean": 0.3873664651416758}, "Sales": {"n_configs": 4, "rel_mase_gmean": 0.8415413625242938, "rel_wql_gmean": 0.5129205524308298}, "Transport": {"n_configs": 15, "rel_mase_gmean": 0.6348171905006708, "rel_wql_gmean": 0.43339778932077555}, "Web/CloudOps": {"n_configs": 20, "rel_mase_gmean": 0.5555030792807922, "rel_wql_gmean": 0.4331316646849878}}, "frequency": {"A": {"n_configs": 1, "rel_mase_gmean": 0.6081119055047446, "rel_wql_gmean": 0.6277298132615224}, "D": {"n_configs": 15, "rel_mase_gmean": 0.7500973483663572, "rel_wql_gmean": 0.5186179442639502}, "H": {"n_configs": 31, "rel_mase_gmean": 0.7249079419744635, "rel_wql_gmean": 0.4897508699794607}, "M": {"n_configs": 5, "rel_mase_gmean": 0.9643106633501736, "rel_wql_gmean": 0.8157244325106289}, "Q": {"n_configs": 1, "rel_mase_gmean": 0.7681238260199779, "rel_wql_gmean": 0.8266990024699747}, "S": {"n_configs": 6, "rel_mase_gmean": 0.6565228342396154, "rel_wql_gmean": 0.5040952618525022}, "T": {"n_configs": 30, "rel_mase_gmean": 0.6808048286769331, "rel_wql_gmean": 0.4471886333896679}, "W": {"n_configs": 8, "rel_mase_gmean": 0.8784946548259455, "rel_wql_gmean": 0.6542720159132867}}, "variates": {"multivariate": {"n_configs": 43, "rel_mase_gmean": 0.7052490192101172, "rel_wql_gmean": 0.5073126711779109}, "univariate": {"n_configs": 54, "rel_mase_gmean": 0.7531434617083017, "rel_wql_gmean": 0.5122885690189363}}}, "checkpoint_sha256": "2115a57946abe740b5b8e9a107d0ceca1697b3c71168fe9b565b7a404ee2ea80", "eval_seconds": 101.05418701795861}, {"cutoff": "valid_backcast", "skill": 0.34451133233877995, "control_skill": 0.34441110518308204, "delta": 0.0001002271556979073, "groups": {"term": {"long": {"n_configs": 21, "rel_mase_gmean": 0.7691953335821761, "rel_wql_gmean": 0.4627303531901571}, "medium": {"n_configs": 21, "rel_mase_gmean": 0.7674526053408633, "rel_wql_gmean": 0.5287604498603796}, "short": {"n_configs": 55, "rel_mase_gmean": 0.8038778359075024, "rel_wql_gmean": 0.5869980231872798}}, "domain": {"Econ/Fin": {"n_configs": 6, "rel_mase_gmean": 0.8511829323181022, "rel_wql_gmean": 0.7846465334380613}, "Energy": {"n_configs": 32, "rel_mase_gmean": 0.8833613884303286, "rel_wql_gmean": 0.6626592834516265}, "Healthcare": {"n_configs": 5, "rel_mase_gmean": 0.6514007845060794, "rel_wql_gmean": 0.5590515139682694}, "Nature": {"n_configs": 15, "rel_mase_gmean": 0.9036967508528725, "rel_wql_gmean": 0.4209643778642046}, "Sales": {"n_configs": 4, "rel_mase_gmean": 0.7204696211529373, "rel_wql_gmean": 0.4872923571092192}, "Transport": {"n_configs": 15, "rel_mase_gmean": 0.7323964069146874, "rel_wql_gmean": 0.5276686564187033}, "Web/CloudOps": {"n_configs": 20, "rel_mase_gmean": 0.6539206259797139, "rel_wql_gmean": 0.4517774173910834}}, "frequency": {"A": {"n_configs": 1, "rel_mase_gmean": 0.6353979663319429, "rel_wql_gmean": 0.7083966062237425}, "D": {"n_configs": 15, "rel_mase_gmean": 0.8287186929492704, "rel_wql_gmean": 0.49075342638505814}, "H": {"n_configs": 31, "rel_mase_gmean": 0.7660022323916221, "rel_wql_gmean": 0.5057883369260989}, "M": {"n_configs": 5, "rel_mase_gmean": 0.840421736009188, "rel_wql_gmean": 0.7683604511312051}, "Q": {"n_configs": 1, "rel_mase_gmean": 0.7562360316720279, "rel_wql_gmean": 0.7737834341734877}, "S": {"n_configs": 6, "rel_mase_gmean": 0.8502063314002679, "rel_wql_gmean": 0.5052710666666878}, "T": {"n_configs": 30, "rel_mase_gmean": 0.7602126510941328, "rel_wql_gmean": 0.5722159579505812}, "W": {"n_configs": 8, "rel_mase_gmean": 0.8614098951222435, "rel_wql_gmean": 0.584569871704564}}, "variates": {"multivariate": {"n_configs": 43, "rel_mase_gmean": 0.7780281184441407, "rel_wql_gmean": 0.5233484481580956}, "univariate": {"n_configs": 54, "rel_mase_gmean": 0.7965501176333248, "rel_wql_gmean": 0.5629970553979425}}}, "checkpoint_sha256": "2115a57946abe740b5b8e9a107d0ceca1697b3c71168fe9b565b7a404ee2ea80", "eval_seconds": 45.48357278504409}, {"cutoff": "valid_backcast2", "skill": 0.3692552712826589, "control_skill": 0.3685168155758046, "delta": 0.0007384557068542685, "groups": {"term": {"long": {"n_configs": 19, "rel_mase_gmean": 0.7902938318860995, "rel_wql_gmean": 0.4977963298037035}, "medium": {"n_configs": 21, "rel_mase_gmean": 0.7463131012782198, "rel_wql_gmean": 0.48763633945412027}, "short": {"n_configs": 54, "rel_mase_gmean": 0.7540488204132838, "rel_wql_gmean": 0.5483608127979848}}, "domain": {"Econ/Fin": {"n_configs": 6, "rel_mase_gmean": 0.8594751460854615, "rel_wql_gmean": 0.8756215264384803}, "Energy": {"n_configs": 32, "rel_mase_gmean": 0.8954190802700714, "rel_wql_gmean": 0.641128974585506}, "Healthcare": {"n_configs": 5, "rel_mase_gmean": 0.6964824489811069, "rel_wql_gmean": 0.5984297586733128}, "Nature": {"n_configs": 15, "rel_mase_gmean": 0.7410304083167673, "rel_wql_gmean": 0.35740800615553536}, "Sales": {"n_configs": 3, "rel_mase_gmean": 0.5554524169073445, "rel_wql_gmean": 0.3516202979967578}, "Transport": {"n_configs": 14, "rel_mase_gmean": 0.6616274111297696, "rel_wql_gmean": 0.49475736037429535}, "Web/CloudOps": {"n_configs": 19, "rel_mase_gmean": 0.6715129139772495, "rel_wql_gmean": 0.45959833905594105}}, "frequency": {"A": {"n_configs": 1, "rel_mase_gmean": 0.5780595196142971, "rel_wql_gmean": 0.7545958139506606}, "D": {"n_configs": 15, "rel_mase_gmean": 0.7219608611737873, "rel_wql_gmean": 0.4428203116356558}, "H": {"n_configs": 30, "rel_mase_gmean": 0.748318765635403, "rel_wql_gmean": 0.4817412143295903}, "M": {"n_configs": 4, "rel_mase_gmean": 0.8035534035507537, "rel_wql_gmean": 0.8457821464270225}, "Q": {"n_configs": 1, "rel_mase_gmean": 0.8251525142814832, "rel_wql_gmean": 0.8649272471317476}, "S": {"n_configs": 6, "rel_mase_gmean": 0.8990795032628562, "rel_wql_gmean": 0.5633706894917235}, "T": {"n_configs": 29, "rel_mase_gmean": 0.7465724484386546, "rel_wql_gmean": 0.5320522780653318}, "W": {"n_configs": 8, "rel_mase_gmean": 0.8241740973365012, "rel_wql_gmean": 0.6209745017214765}}, "variates": {"multivariate": {"n_configs": 42, "rel_mase_gmean": 0.7752240721939954, "rel_wql_gmean": 0.5102244240010131}, "univariate": {"n_configs": 52, "rel_mase_gmean": 0.7470092930299288, "rel_wql_gmean": 0.5350762099823907}}}, "checkpoint_sha256": "2115a57946abe740b5b8e9a107d0ceca1697b3c71168fe9b565b7a404ee2ea80", "eval_seconds": 82.1311989359092}, {"cutoff": "valid_backcast3", "skill": 0.3914805032078633, "control_skill": 0.3912834616582097, "delta": 0.00019704154965360932, "groups": {"term": {"long": {"n_configs": 19, "rel_mase_gmean": 0.7646717541571438, "rel_wql_gmean": 0.47555963242062804}, "medium": {"n_configs": 20, "rel_mase_gmean": 0.7594180694866295, "rel_wql_gmean": 0.5227464782406109}, "short": {"n_configs": 54, "rel_mase_gmean": 0.7197882441060385, "rel_wql_gmean": 0.5045674541132409}}, "domain": {"Econ/Fin": {"n_configs": 6, "rel_mase_gmean": 0.8175686322071732, "rel_wql_gmean": 0.7975380490966467}, "Energy": {"n_configs": 32, "rel_mase_gmean": 0.8345733264249693, "rel_wql_gmean": 0.5534624809981347}, "Healthcare": {"n_configs": 5, "rel_mase_gmean": 0.8550465666013121, "rel_wql_gmean": 0.6839536770499075}, "Nature": {"n_configs": 15, "rel_mase_gmean": 0.7259385500618593, "rel_wql_gmean": 0.3383276541439344}, "Sales": {"n_configs": 3, "rel_mase_gmean": 0.750738046214297, "rel_wql_gmean": 0.4750531542135627}, "Transport": {"n_configs": 14, "rel_mase_gmean": 0.5378722099557868, "rel_wql_gmean": 0.44230129042133576}, "Web/CloudOps": {"n_configs": 18, "rel_mase_gmean": 0.707336756570856, "rel_wql_gmean": 0.5151988413209527}}, "frequency": {"A": {"n_configs": 1, "rel_mase_gmean": 0.5292421996814161, "rel_wql_gmean": 0.7743843306970275}, "D": {"n_configs": 15, "rel_mase_gmean": 0.7340676984424483, "rel_wql_gmean": 0.4210138345405265}, "H": {"n_configs": 29, "rel_mase_gmean": 0.7248830714988798, "rel_wql_gmean": 0.48302222853420806}, "M": {"n_configs": 4, "rel_mase_gmean": 0.8635071248662185, "rel_wql_gmean": 0.8442363626325257}, "Q": {"n_configs": 1, "rel_mase_gmean": 0.71477390446079, "rel_wql_gmean": 0.7619380112945435}, "S": {"n_configs": 6, "rel_mase_gmean": 0.8429649893060646, "rel_wql_gmean": 0.6079035249422998}, "T": {"n_configs": 29, "rel_mase_gmean": 0.7003204534968781, "rel_wql_gmean": 0.4580988621337273}, "W": {"n_configs": 8, "rel_mase_gmean": 0.8316528981631645, "rel_wql_gmean": 0.6767266332674158}}, "variates": {"multivariate": {"n_configs": 41, "rel_mase_gmean": 0.7628262991295707, "rel_wql_gmean": 0.5133217775879014}, "univariate": {"n_configs": 52, "rel_mase_gmean": 0.7175797463477325, "rel_wql_gmean": 0.4937939191412373}}}, "checkpoint_sha256": "2115a57946abe740b5b8e9a107d0ceca1697b3c71168fe9b565b7a404ee2ea80", "eval_seconds": 97.45909608481452}], "positive_cutoffs": 4, "mean_delta": 0.0005847231967958944, "selection_gate_passed": true}. No automatic full replay or promotion; current-publication comparison also required. + +2026-10-23T21:27:49.561099+00:00: E138primary6000 all4positive versus frozenE130,mean+0.0005847231967958944; versus currentE148 deltas[0.0009259442752742597, -0.0011547833199946345, -0.00040745288744414854, -0.0006491750767770865],mean-0.00032136675223540245(1of4positive). No full replay/publication. Original12000schedule continues; no bound or expert change. E149CPU8192rows405selected387changed, real/unselected/masks/periods/originalRNGs exact, newRNG recoveryexact; CPU12.01417627511546s. GPU101.85472289007157s including92.41605444904417s lockwait;maxreserved6266.0MiB, finitegradients,0updates. Queued1280afterE146queue[962],persistent96256. Original E80model/checkpoint/seed/schedule retained; generator and provenance declared. + +## E131 fresh146M long-seasonal8000 learning diagnostic +- Checkpoint SHA-256: `7d839d749a8fbb5801df4b2e425de5b256cc1a2c7afc13d73d2e4a67f0555dfb`. +- Evaluation: 97 configurations, 9473 instances, 0 failed configurations; 35.940014362335205 seconds. +- Overall skill 0.352440; relative MASE 0.763553; relative WQL 0.549188. +- term skill: long=0.3746, medium=0.3928, short=0.3275. +- domain skill: Econ/Fin=0.1119, Energy=0.2084, Healthcare=0.3483, Nature=0.4136, Sales=0.3193, Transport=0.4552, Web/CloudOps=0.4823. +- frequency skill: A=0.3639, D=0.3550, H=0.3741, M=-0.0611, Q=0.1716, S=0.4194, T=0.4022, W=0.2220. +- variates skill: multivariate=0.3726, univariate=0.3359. +- Outcome: Seed307/B48/LR2e-4 original96000schedule. Main0.352439815529 versus matched E79at8000 0.343979356935, delta+0.008460458594. Early main panel only; primary48000/final96000 and four-cutoff comparisons remain unchanged. No model selection or extension. + +2026-10-23T21:29:56.949237+00:00: Compute accounting after storage recovery: recovery/capacity_curves.py now records all declared fresh/gate/continuation arms and separate original/resumed training phases in capacity_learning_curves.json/CSV. Accumulated logged loop wall includes repeated updates after recovery and excludes operator downtime and startup. Interrupted/unlogged phase tails are not estimated, so values can be lower bounds; concurrent shared-H100 process times must not be summed as isolated GPU usage or the external budget. No learning, inference or model-selection changes. + +## E122 original-AR fresh146M24000 learning diagnostic +- Checkpoint SHA-256: `da1d36f9655ef643187be503031b1db6f79713635f521710318fd93d708bb109`. +- Evaluation: 97 configurations, 9473 instances, 0 failed configurations; 35.425286054611206 seconds. +- Overall skill 0.350517; relative MASE 0.768574; relative WQL 0.548845. +- term skill: long=0.3777, medium=0.3772, short=0.3292. +- domain skill: Econ/Fin=0.1296, Energy=0.2129, Healthcare=0.3727, Nature=0.4089, Sales=0.3343, Transport=0.4401, Web/CloudOps=0.4733. +- frequency skill: A=0.3877, D=0.3287, H=0.3694, M=0.0695, Q=0.2006, S=0.4133, T=0.3990, W=0.2254. +- variates skill: multivariate=0.3647, univariate=0.3390. +- Outcome: Seed307/B48/LR2e-4 original96000schedule. Main0.350516880404 versus E79slowAR matched24000 0.354493848082, delta-0.003976967678, reversing positive16000gap. Main learning diagnostic only; primary48000/final96000 four-cutoff comparisons unchanged. No selection or schedule change. + +2026-10-23T21:34:43.157549+00:00: Training-only pack exposure audit(seed943,24576rows perpack,54.10828941594809s CPU,0updates, no validation read): [{"pack": "packed_sample", "sampled_rows": 24576, "mean_finite_context": 1606.4626871744792, "mean_finite_target": 444.7574869791667, "mean_finite_total": 2051.220174153646, "batch_mean_monte_carlo_standard_error": 40.775650142597264, "fraction_target_le32": 0.13675944010416666, "fraction_target_ge480": 0.4447835286458333, "fraction_target_ge720": 0.2779947916666667, "fraction_target_ge900": 0.22127278645833334, "finite_target_length_quantiles": [0.0, 32.0, 96.0, 384.0, 800.0, 1024.0, 1024.0], "estimated_presentations_at96000_B48": 9452022562.5}, {"pack": "packed_stratified_full", "sampled_rows": 24576, "mean_finite_context": 1603.9788818359375, "mean_finite_target": 447.0040283203125, "mean_finite_total": 2050.98291015625, "batch_mean_monte_carlo_standard_error": 40.60792077573359, "fraction_target_le32": 0.13724772135416666, "fraction_target_ge480": 0.4491780598958333, "fraction_target_ge720": 0.2822265625, "fraction_target_ge900": 0.22310384114583334, "finite_target_length_quantiles": [0.0, 32.0, 96.0, 389.5, 804.25, 1024.0, 1024.0], "estimated_presentations_at96000_B48": 9450929250.0}]. Both packs present about9.45Bfinite observations by96000B48; fullcoverage changes available series, not sampled observation count under this recipe. These are overlapping/resampled presentations and include synthetics; no uniqueness claim. Meta-device architecture count(no weights/noGPU,.036116143s):d1536/24heads/6encoder/4decoder/patch16=329029920parameters, FP32parameters+gradients+twoAdammoments+EMA6.128659845GiB before activations/workspaces. No larger run, batch change or extension selected; await E110final review. + +E141 matched146M capacity_patch8_candidate seed809 storage recovery training started at 2026-10-23T21:35:28Z, after the declared dependency processes exited; required checkpoint files are present. Settings are unchanged from the declared comparison. + +## E141 patch16 continuation final12000 main +- Checkpoint SHA-256: `78e34c37073a8114d02d99f3d191343386337430495420337e8bf81f518fba12`. +- Evaluation: 97 configurations, 9473 instances, 0 failed configurations; 30.86342692375183 seconds. +- Overall skill 0.369708; relative MASE 0.751895; relative WQL 0.528356. +- term skill: long=0.3833, medium=0.3945, short=0.3546. +- domain skill: Econ/Fin=0.1347, Energy=0.2247, Healthcare=0.4946, Nature=0.4128, Sales=0.3372, Transport=0.4584, Web/CloudOps=0.4913. +- frequency skill: A=0.4002, D=0.3580, H=0.3865, M=0.1059, Q=0.2125, S=0.4155, T=0.4182, W=0.2402. +- variates skill: multivariate=0.3781, univariate=0.3629. +- Outcome: Original scheduled control complete after storage recovery; seed809/B32/LR2e-5/12000 from own E79wide96000. Main0.369708108064 versus starting parent0.371180826606, delta-0.001472718543. Candidate patch8 comparison pending. No inference selection. Recovery4 process788.670280825s plus interrupted original phase recorded1983.7s loop lower bound; summed shared-process times exclude operator downtime and are not isolatedGPUtime. + +2026-10-23T21:42:22.387354+00:00: Actual cross-container repeated-update log audit: {"utc": "2026-10-23T21:39:35.512633+00:00", "overlapping_logged_intervals": 18, "all_logged_values_exact": false, "maximum_loss_difference": 0.0011714527010917575, "maximum_gradient_norm_difference": 0.10824991762638092, "seconds": 0.017175609013065696, "new_training_or_inference": false, "note": "Observed repeated50-update intervals following restoration of250-step checkpoints. Same logged values are evidence of consistent recovery, not an exhaustive equality check of every tensor or proof of future determinism. E138has no repeated logged interval because its last log and saved checkpoint were both6250."}. Replayed shape/LR records match, but compiled training losses/gradient norms are not bitwise identical. Do not attribute the cause yet. Engineering diagnostic recovery/check_compiled_restart.py launched: two fresh uninterrupted6-update repeats and one3+resume3 trajectory from the same own mature E79wide96 checkpoint, seed953/B48, no validation data. Compare optimizer/model/EMA/allRNG/prefetch states; fixtureweights are not selection candidates. Active studies keep their original recipes and endpoints; published inference remains bitwise verified. + +2026-10-23T21:46:34.771264+00:00: Compiled recovery diagnostic complete: seed953/own E79wide96 parent,18fixture optimizerupdates total, 186.96378611098044s wall. {"uninterrupted_repeat": {"model": {"bitwise_equal": false, "different_tensors": 198, "maximum_abs_difference": 1.6439706087112427e-05}, "ema_state": {"bitwise_equal": false, "different_tensors": 198, "maximum_abs_difference": 6.292015314102173e-06}, "optimizer": {"bitwise_equal": false, "different_tensors": 396, "maximum_abs_difference": 6.755226058885455e-05}, "batch_rng_state": {"bitwise_equal": true, "different_tensors": 0, "maximum_abs_difference": 0.0}, "sampler_rng_states": {"bitwise_equal": true, "different_tensors": 0, "maximum_abs_difference": 0.0}, "torch_rng_state": {"bitwise_equal": true, "different_tensors": 0, "maximum_abs_difference": 0.0}, "cuda_rng_state": {"bitwise_equal": true, "different_tensors": 0, "maximum_abs_difference": 0.0}, "prefetched_batch": {"bitwise_equal": true, "different_tensors": 0, "maximum_abs_difference": 0.0}}, "uninterrupted_vs_restart": {"model": {"bitwise_equal": false, "different_tensors": 198, "maximum_abs_difference": 1.9418075680732727e-05}, "ema_state": {"bitwise_equal": false, "different_tensors": 198, "maximum_abs_difference": 8.985400199890137e-06}, "optimizer": {"bitwise_equal": false, "different_tensors": 396, "maximum_abs_difference": 5.0059868954122066e-05}, "batch_rng_state": {"bitwise_equal": true, "different_tensors": 0, "maximum_abs_difference": 0.0}, "sampler_rng_states": {"bitwise_equal": true, "different_tensors": 0, "maximum_abs_difference": 0.0}, "torch_rng_state": {"bitwise_equal": true, "different_tensors": 0, "maximum_abs_difference": 0.0}, "cuda_rng_state": {"bitwise_equal": true, "different_tensors": 0, "maximum_abs_difference": 0.0}, "prefetched_batch": {"bitwise_equal": true, "different_tensors": 0, "maximum_abs_difference": 0.0}}}. Both uninterrupted repeats and the3+resume3 trajectory differ numerically in learned tensors, while all random states, prefetched arrays and ancestry are exact. Thus ordinary same-container compiled training already varies; this provides no evidence of a unique sampler-state loss at restart and is not a claim of bitwise training replay. It does not identify a particular GPU kernel or prove all cross-container variation has one cause. Production recipes and checkpoints unchanged; fixtureweights excluded from selection. Published inference remains bitwise checked. + +## E150 engineering: weighted gradient accumulation for the one-H100 allocation — declared 2026-10-23T21:49:15.781616+00:00 +Prepare an optional training-only microbatch path while preserving effective batch size and the original loss. The objective is a weighted mean over rows, so each microbatch loss must be scaled by its context-derived weight sum divided by the whole-batch weight sum; averaging microbatch means would change the objective. Clip gradients, take one AdamW update and one EMA update only after all microbatches. Preserve the original sampler, prefetched full batch, all RNGs, requested-horizon masks and learning-rate step count. The default non-microbatch branch must retain its original arithmetic. +This is readiness engineering, not a selected model, larger-capacity run, batch-size experiment or schedule extension. CPU checks use unequal row weights, missing targets and nonzero heads to compare full-batch loss/gradients with accumulation. GPU checks use own mature scratch weights, measure BF16 compiled gradient differences against ordinary repeat variability, and verify maximum-shape memory with effectiveB48/micro16. Original active/queued recipes receive no flag. Decide any later training study only after current full-corpus/fresh-model evidence. No validation data in engineering checks; no fixture weights selected. + +## E131 fresh146M long-seasonal16000 learning diagnostic +- Checkpoint SHA-256: `212a7ca2db307aba7701c508178767ebab976f47993fe7771a627d0b7f9bf06c`. +- Evaluation: 97 configurations, 9473 instances, 0 failed configurations; 38.46913480758667 seconds. +- Overall skill 0.359479; relative MASE 0.757948; relative WQL 0.541288. +- term skill: long=0.3823, medium=0.4004, short=0.3340. +- domain skill: Econ/Fin=0.1248, Energy=0.2178, Healthcare=0.3326, Nature=0.4163, Sales=0.3310, Transport=0.4532, Web/CloudOps=0.4981. +- frequency skill: A=0.3646, D=0.3506, H=0.3770, M=-0.0134, Q=0.1766, S=0.4267, T=0.4159, W=0.2229. +- variates skill: multivariate=0.3798, univariate=0.3428. +- Outcome: Seed307/B48/LR2e-4 original96000schedule. Main0.359478668640 versus matched E79at16000 0.349499285513. Early main-only learning diagnostic; declared48000/96000four-cutoff decisions remain unchanged. No selection, larger model or schedule extension. + +2026-10-23T21:56:55.148492+00:00: E150 weighted accumulation CPU/GPU audits passed. CPU seed967: full losssee receipt; correct per-microbatch weight sums are required, not equal averaging. GPU seed971/effectiveB48/micro16/own E79wide96: full loss0.2681879699230194, accumulated0.26818394660949707; global/encoder/decoder gradient cosines{'all': 0.9999871036270944, 'encoder': 0.9999907584392977, 'decoder': 0.9999854996294113}; max C4096/H1024 reserved5538.0MiB including Adam/EMA placeholders, all finite and parameters unchanged. GPU145.3277768800035s,0optimizer updates,no validation. CPU/GPU receipts accumulation_cpu_checks.json and accumulation_gpu_checks.json. E150 recovery fixture seed977 now running,18optimizerupdates across repeated and3+resume3 trajectories; fixture weights never selection candidates. No production command passes --micro-batch. + +E141 patch8 continuation1000 diagnostic: {"utc": "2026-10-23T21:56:55.148492+00:00", "step": 1000, "checkpoint_sha256": "11c0aa64a3d92906eb4b750d203c82e27cc9a35692bd676c1f66f7ae38066bc8", "eval_seconds": 53.31513428688049, "skill": 0.36408268984898107, "control_skill": 0.37224099748335526, "delta": -0.008158307634374196, "group_deltas": {"term": {"long": 0.0015769188382022126, "medium": -0.005049938478779548, "short": -0.013338610695910691}, "domain": {"Econ/Fin": 0.003359155094616928, "Energy": -0.005545860630910893, "Healthcare": -0.0828415685051983, "Nature": -0.012468037006636679, "Sales": 0.020352525143488398, "Transport": -0.0025035399701855976, "Web/CloudOps": -0.0001342269294116738}, "frequency": {"A": -0.015021968530428143, "D": 0.004696449223085097, "H": 0.0005775712670897937, "M": -0.11969237722516013, "Q": -0.009789822443574292, "S": 0.0012602974282879265, "T": -0.004439279939718155, "W": -0.047662379459129434}, "variates": {"multivariate": -0.005478302821669168, "univariate": -0.01035034207121499}}, "decision": "Early main-cutoff learning diagnostic only; primary6000/final12000 all four cutoffs remain fixed."} + +## E141 patch8 continuation1000 learning diagnostic +- Checkpoint SHA-256: `11c0aa64a3d92906eb4b750d203c82e27cc9a35692bd676c1f66f7ae38066bc8`. +- Evaluation: 97 configurations, 9473 instances, 0 failed configurations; 53.31513428688049 seconds. +- Overall skill 0.364083; relative MASE 0.759120; relative WQL 0.532710. +- term skill: long=0.3860, medium=0.3904, short=0.3450. +- domain skill: Econ/Fin=0.1322, Energy=0.2220, Healthcare=0.4251, Nature=0.4062, Sales=0.3540, Transport=0.4564, Web/CloudOps=0.4921. +- frequency skill: A=0.3841, D=0.3617, H=0.3891, M=0.0184, Q=0.2024, S=0.4167, T=0.4157, W=0.1956. +- variates skill: multivariate=0.3750, univariate=0.3553. +- Outcome: Seed809/B32/LR2e-5/12k. Below matched patch16 control at1000; main cutoff only. Primary6000 and final12000 four-cutoff comparisons remain fixed. No publication or schedule change. + +2026-10-23T22:02:06.558370+00:00: E150 recovery fixture seed977 complete, 254.292871383s wall,18optimizerupdates/54backwardpasses across6continuous+6repeat+3interrupted+3resumed. EffectiveB48/micro16 throughout; every optimizer state step6 and prefetched batch48 verified. All sampler/batch/Torch/CUDA RNGs, prefetched arrays and parent ancestry bitwise exact after restart. Learned model/EMA/optimizer tensors show small differences in uninterrupted repeats as well as restarted trajectory: {"uninterrupted_repeat": {"model": {"exact": false, "max_abs_difference": 1.1039432138204575e-05}, "ema_state": {"exact": false, "max_abs_difference": 3.388151526451111e-06}, "optimizer": {"exact": false, "max_abs_difference": 8.117008292174432e-06}, "batch_rng_state": {"exact": true, "max_abs_difference": 0.0}, "sampler_rng_state": {"exact": true, "max_abs_difference": 0.0}, "sampler_rng_states": {"exact": true, "max_abs_difference": 0.0}, "torch_rng_state": {"exact": true, "max_abs_difference": 0.0}, "cuda_rng_state": {"exact": true, "max_abs_difference": 0.0}, "prefetched_batch": {"exact": true, "max_abs_difference": 0.0}, "parent_checkpoints": {"exact": true, "max_abs_difference": 0.0}}, "uninterrupted_vs_restart": {"model": {"exact": false, "max_abs_difference": 1.1313706636428833e-05}, "ema_state": {"exact": false, "max_abs_difference": 3.4477561712265015e-06}, "optimizer": {"exact": false, "max_abs_difference": 1.6264966689050198e-05}, "batch_rng_state": {"exact": true, "max_abs_difference": 0.0}, "sampler_rng_state": {"exact": true, "max_abs_difference": 0.0}, "sampler_rng_states": {"exact": true, "max_abs_difference": 0.0}, "torch_rng_state": {"exact": true, "max_abs_difference": 0.0}, "cuda_rng_state": {"exact": true, "max_abs_difference": 0.0}, "prefetched_batch": {"exact": true, "max_abs_difference": 0.0}, "parent_checkpoints": {"exact": true, "max_abs_difference": 0.0}}}. CPU/GPU/recovery audits now complete; this establishes engineering readiness, not a validation gain or exact training replay. All fixture checkpoints excluded from selection. No production recipe uses accumulation; no larger model or schedule extension selected. Receipts accumulation_{cpu,gpu,recovery}_checks.json. + +## E141 patch8 continuation3000 learning diagnostic +- Checkpoint SHA-256: `f0dadac4af25385ad5ae8b0d2c8e1a6bf3636fb02182caa29d6c2c35e77a4574`. +- Evaluation: 97 configurations, 9473 instances, 0 failed configurations; 52.50292778015137 seconds. +- Overall skill 0.366795; relative MASE 0.755991; relative WQL 0.530362. +- term skill: long=0.3877, medium=0.3932, short=0.3481. +- domain skill: Econ/Fin=0.1320, Energy=0.2265, Healthcare=0.4419, Nature=0.4089, Sales=0.3490, Transport=0.4593, Web/CloudOps=0.4912. +- frequency skill: A=0.3844, D=0.3626, H=0.3911, M=0.0192, Q=0.1984, S=0.4191, T=0.4180, W=0.2105. +- variates skill: multivariate=0.3776, univariate=0.3580. +- Outcome: Seed809/B32/LR2e-5/12k; patch8 main0.366794892800 versus matched patch16 main0.371632199914, delta−0.004837307114. The deficit narrowed from1000; primary6000/final12000 four-cutoff criteria remain unchanged. No selection or schedule change. + +2026-10-23T22:07:08.490075+00:00: E138primary6k gate-weight diagnostic from cached standalone expert predictions and validation contexts, CPU35.238193693s,0optimizerupdates,no labels/no new expert inference. GateSHA2115a57946abe740b5b8e9a107d0ceca1697b3c71168fe9b565b7a404ee2ea80. [{"cutoff": "valid_screen", "equal_configuration_mean_weights": [0.4477327587349087, 0.1321961277137222, 0.29503999229904787, 0.12503112195225397], "term_fourth_near_floor": {"long": 0.9345565409689959, "medium": 0.959266802507595, "short": 0.9201280392464679}}, {"cutoff": "valid_backcast", "equal_configuration_mean_weights": [0.4488138450395888, 0.13236758770694956, 0.2937819854013298, 0.1250365820506267], "term_fourth_near_floor": {"long": 0.9158424197544438, "medium": 0.9315063689308696, "short": 0.9287019582670833}}, {"cutoff": "valid_backcast2", "equal_configuration_mean_weights": [0.451471667383515, 0.13235528408861266, 0.29114296074737367, 0.12503008852841951], "term_fourth_near_floor": {"long": 0.9022544394356053, "medium": 0.9171937735774898, "short": 0.9188199474693681}}, {"cutoff": "valid_backcast3", "equal_configuration_mean_weights": [0.45337251745549445, 0.13184961902059156, 0.2897504963536573, 0.12502736765581324], "term_fourth_near_floor": {"long": 0.9024491911412599, "medium": 0.9441610879103347, "short": 0.9224622437920529}}]. The fourth expert is near the fixed.125floor for about90–96percent of leads across terms and cutoffs, while mean weights roughly[.45,.132,.293,.125]. CPU gate arithmetic/cached neural batches are descriptive, not a claim of bitwise production equivalence. No gate weights, forecasts or bounds changed. Possible followups are refreshed frozen experts or broader allowed training coverage, but neither is selected pending final E138/E110 review. Receipt ensemble_gate6k_weight_structure.json; code ensemble_gate/describe_weights.py. + +E143 low-frequency synthetic origin seed197 storage recovery training started at 2026-10-23T22:07:24Z, after the declared dependency processes exited; required checkpoint files are present. Settings are unchanged from the declared comparison. + +2026-10-23T22:10:05.166328+00:00: E138final12000 descriptive weight audit complete CPU35.054704830s, no labels,0updates,no new expert inference, gateSHA5ae58d104309db60a53cca11cbbceb7ff8f587b6e32b60888d22a37e9b021dfe. [{"cutoff": "valid_screen", "mean_weights": [0.41123423209068644, 0.1344671819471669, 0.32929237834186065, 0.1250062086092428], "term_fourth_near_floor": {"long": 0.9963695620558646, "medium": 0.9991641274565382, "short": 0.9806240077062377}}, {"cutoff": "valid_backcast", "mean_weights": [0.4087619457331814, 0.1348688711925048, 0.3313622136544217, 0.12500697004668263], "term_fourth_near_floor": {"long": 0.9944008688493359, "medium": 0.9898249268034701, "short": 0.9817737188003557}}, {"cutoff": "valid_backcast2", "mean_weights": [0.41067205599679535, 0.13512396609527852, 0.32919672197071637, 0.12500725692980005], "term_fourth_near_floor": {"long": 0.9969832542320484, "medium": 0.993087838279978, "short": 0.9811441896603474}}, {"cutoff": "valid_backcast3", "mean_weights": [0.4164441191577059, 0.13421093038051773, 0.32433864349603453, 0.12500630758574677], "term_fourth_near_floor": {"long": 0.9891584126929469, "medium": 0.9956309269177843, "short": 0.9842759744169436}}]. Finalmain.388765994298 (103.897483219s inference) is below primary6k.389153895253; earliercutoffs still pending. No bounds/expert change or selection. + +E134 fresh146M visible-window curriculum seed307 storage recovery training started at 2026-10-23T22:12:48Z, after the declared dependency processes exited; required checkpoint files are present. Settings are unchanged from the declared comparison. + +## E143 low-frequency generation-age1000 learning diagnostic +- Checkpoint SHA-256: `585da194ce1355c1597536c981910daf50c3dabd3b1f854f1a7566defa1d8ecd`. +- Evaluation: 97 configurations, 9473 instances, 0 failed configurations; 22.67449688911438 seconds. +- Overall skill 0.375485; relative MASE 0.746204; relative WQL 0.522671. +- term skill: long=0.3989, medium=0.4062, short=0.3540. +- domain skill: Econ/Fin=0.1351, Energy=0.2360, Healthcare=0.4436, Nature=0.4287, Sales=0.3340, Transport=0.4667, Web/CloudOps=0.4983. +- frequency skill: A=0.3660, D=0.3537, H=0.3945, M=0.0900, Q=0.1975, S=0.4232, T=0.4350, W=0.2201. +- variates skill: multivariate=0.3924, univariate=0.3617. +- Outcome: Seed197/B64/LR2e-5/12k, same E113 settings except selected low-frequency synthetic paths start at generation age zero. Main cutoff only; primary6000/final12000 all-four comparisons versus E113 and secondary E80 remain fixed. No selection from this checkpoint. + +## E138 learned gate12000 valid_screen +- Checkpoint SHA-256: `5ae58d104309db60a53cca11cbbceb7ff8f587b6e32b60888d22a37e9b021dfe`. +- Evaluation: 97 configurations, 9473 instances, 0 failed configurations; 103.89748321892694 seconds. +- Overall skill 0.388766; relative MASE 0.732105; relative WQL 0.510319. +- term skill: long=0.4080, medium=0.4117, short=0.3722. +- domain skill: Econ/Fin=0.1511, Energy=0.2474, Healthcare=0.4823, Nature=0.4449, Sales=0.3429, Transport=0.4757, Web/CloudOps=0.5081. +- frequency skill: A=0.3804, D=0.3762, H=0.4035, M=0.1114, Q=0.2023, S=0.4246, T=0.4477, W=0.2435. +- variates skill: multivariate=0.4010, univariate=0.3788. +- Outcome: All four own E130 experts frozen; only6340gateparameters trained on allowed corpus. Fixed bounded per-lead quantile weights. Compare immutableE130 then current publication before any full package selection. + +## E138 learned gate12000 valid_backcast +- Checkpoint SHA-256: `5ae58d104309db60a53cca11cbbceb7ff8f587b6e32b60888d22a37e9b021dfe`. +- Evaluation: 97 configurations, 9330 instances, 0 failed configurations; 103.42768940003589 seconds. +- Overall skill 0.344360; relative MASE 0.788587; relative WQL 0.545106. +- term skill: long=0.4038, medium=0.3626, short=0.3128. +- domain skill: Econ/Fin=0.1825, Energy=0.2352, Healthcare=0.3968, Nature=0.3832, Sales=0.4077, Transport=0.3786, Web/CloudOps=0.4553. +- frequency skill: A=0.3279, D=0.3621, H=0.3779, M=0.1966, Q=0.2357, S=0.3452, T=0.3397, W=0.2899. +- variates skill: multivariate=0.3615, univariate=0.3304. +- Outcome: All four own E130 experts frozen; only6340gateparameters trained on allowed corpus. Fixed bounded per-lead quantile weights. Compare immutableE130 then current publication before any full package selection. + +## E138 learned gate12000 valid_backcast2 +- Checkpoint SHA-256: `5ae58d104309db60a53cca11cbbceb7ff8f587b6e32b60888d22a37e9b021dfe`. +- Evaluation: 94 configurations, 8934 instances, 0 failed configurations; 103.96735997707583 seconds. +- Overall skill 0.369094; relative MASE 0.759652; relative WQL 0.523980. +- term skill: long=0.3726, medium=0.3965, short=0.3568. +- domain skill: Econ/Fin=0.1325, Energy=0.2424, Healthcare=0.3573, Nature=0.4847, Sales=0.5582, Transport=0.4280, Web/CloudOps=0.4435. +- frequency skill: A=0.3414, D=0.4340, H=0.3995, M=0.1787, Q=0.1565, S=0.2880, T=0.3688, W=0.2870. +- variates skill: multivariate=0.3701, univariate=0.3683. +- Outcome: All four own E130 experts frozen; only6340gateparameters trained on allowed corpus. Fixed bounded per-lead quantile weights. Compare immutableE130 then current publication before any full package selection. + +## E138 learned gate12000 valid_backcast3 +- Checkpoint SHA-256: `5ae58d104309db60a53cca11cbbceb7ff8f587b6e32b60888d22a37e9b021dfe`. +- Evaluation: 93 configurations, 8812 instances, 0 failed configurations; 90.11145384493284 seconds. +- Overall skill 0.391130; relative MASE 0.737562; relative WQL 0.502632. +- term skill: long=0.3973, medium=0.3700, short=0.3966. +- domain skill: Econ/Fin=0.1930, Energy=0.3192, Healthcare=0.2364, Nature=0.5047, Sales=0.4031, Transport=0.5126, Web/CloudOps=0.3953. +- frequency skill: A=0.3598, D=0.4439, H=0.4077, M=0.1476, Q=0.2609, S=0.2854, T=0.4330, W=0.2491. +- variates skill: multivariate=0.3736, univariate=0.4046. +- Outcome: All four own E130 experts frozen; only6340gateparameters trained on allowed corpus. Fixed bounded per-lead quantile weights. Compare immutableE130 then current publication before any full package selection. + +2026-10-23T22:14:31.271870+00:00: E138 bounded ensemble gate selection: {"step": 12000, "rows": [{"cutoff": "valid_screen", "skill": 0.38876599429759673, "control_skill": 0.3878507268780589, "delta": 0.0009152674195378463, "groups": {"term": {"long": {"n_configs": 21, "rel_mase_gmean": 0.7365977614717659, "rel_wql_gmean": 0.47582331053701155}, "medium": {"n_configs": 21, "rel_mase_gmean": 0.7061071446542071, "rel_wql_gmean": 0.49009387634194207}, "short": {"n_configs": 55, "rel_mase_gmean": 0.7405503887929451, "rel_wql_gmean": 0.532295572407821}}, "domain": {"Econ/Fin": {"n_configs": 6, "rel_mase_gmean": 0.8619712033731046, "rel_wql_gmean": 0.8360652826681829}, "Energy": {"n_configs": 32, "rel_mase_gmean": 0.8917990786476028, "rel_wql_gmean": 0.6350603224400466}, "Healthcare": {"n_configs": 5, "rel_mase_gmean": 0.5434876190719932, "rel_wql_gmean": 0.49308959634552224}, "Nature": {"n_configs": 15, "rel_mase_gmean": 0.7960112811139666, "rel_wql_gmean": 0.38716249511301304}, "Sales": {"n_configs": 4, "rel_mase_gmean": 0.8424299418268225, "rel_wql_gmean": 0.5125742701697718}, "Transport": {"n_configs": 15, "rel_mase_gmean": 0.6346223105732777, "rel_wql_gmean": 0.4332312457024731}, "Web/CloudOps": {"n_configs": 20, "rel_mase_gmean": 0.5567062412657278, "rel_wql_gmean": 0.4347233367578228}}, "frequency": {"A": {"n_configs": 1, "rel_mase_gmean": 0.6101039280438315, "rel_wql_gmean": 0.6292910688977681}, "D": {"n_configs": 15, "rel_mase_gmean": 0.7503809430821773, "rel_wql_gmean": 0.5185216007691995}, "H": {"n_configs": 31, "rel_mase_gmean": 0.7258026917232355, "rel_wql_gmean": 0.4902627677729598}, "M": {"n_configs": 5, "rel_mase_gmean": 0.9685689529422883, "rel_wql_gmean": 0.8151865289550453}, "Q": {"n_configs": 1, "rel_mase_gmean": 0.7689190063510615, "rel_wql_gmean": 0.8275202114903546}, "S": {"n_configs": 6, "rel_mase_gmean": 0.6567563259947116, "rel_wql_gmean": 0.5041683422067675}, "T": {"n_configs": 30, "rel_mase_gmean": 0.6811976372671397, "rel_wql_gmean": 0.4477430022460635}, "W": {"n_configs": 8, "rel_mase_gmean": 0.8771182893674765, "rel_wql_gmean": 0.6524916887581507}}, "variates": {"multivariate": {"n_configs": 43, "rel_mase_gmean": 0.7061203660151012, "rel_wql_gmean": 0.5080890958691652}, "univariate": {"n_configs": 54, "rel_mase_gmean": 0.7534788981966656, "rel_wql_gmean": 0.512101293838852}}}, "checkpoint_sha256": "5ae58d104309db60a53cca11cbbceb7ff8f587b6e32b60888d22a37e9b021dfe", "eval_seconds": 103.89748321892694}, {"cutoff": "valid_backcast", "skill": 0.3443602645537439, "control_skill": 0.34441110518308204, "delta": -5.08406293381336e-05, "groups": {"term": {"long": {"n_configs": 21, "rel_mase_gmean": 0.7688054523761951, "rel_wql_gmean": 0.4623496840596185}, "medium": {"n_configs": 21, "rel_mase_gmean": 0.7680721037346657, "rel_wql_gmean": 0.5289916523454897}, "short": {"n_configs": 55, "rel_mase_gmean": 0.8043273414604368, "rel_wql_gmean": 0.587166294915086}}, "domain": {"Econ/Fin": {"n_configs": 6, "rel_mase_gmean": 0.8511022246024794, "rel_wql_gmean": 0.785128735422025}, "Energy": {"n_configs": 32, "rel_mase_gmean": 0.8832051411168804, "rel_wql_gmean": 0.6622071578357404}, "Healthcare": {"n_configs": 5, "rel_mase_gmean": 0.6505975104644636, "rel_wql_gmean": 0.5593079225242267}, "Nature": {"n_configs": 15, "rel_mase_gmean": 0.9049801612151203, "rel_wql_gmean": 0.42044177344443956}, "Sales": {"n_configs": 4, "rel_mase_gmean": 0.7199768643833949, "rel_wql_gmean": 0.4871936934826317}, "Transport": {"n_configs": 15, "rel_mase_gmean": 0.7320038020790084, "rel_wql_gmean": 0.5274235196996094}, "Web/CloudOps": {"n_configs": 20, "rel_mase_gmean": 0.6551948774214172, "rel_wql_gmean": 0.45290684445581997}}, "frequency": {"A": {"n_configs": 1, "rel_mase_gmean": 0.6367776857138926, "rel_wql_gmean": 0.7093042266491602}, "D": {"n_configs": 15, "rel_mase_gmean": 0.8289094279572292, "rel_wql_gmean": 0.4908829008827018}, "H": {"n_configs": 31, "rel_mase_gmean": 0.765737372210673, "rel_wql_gmean": 0.5054793167986653}, "M": {"n_configs": 5, "rel_mase_gmean": 0.8393585108325342, "rel_wql_gmean": 0.7689247373261452}, "Q": {"n_configs": 1, "rel_mase_gmean": 0.7554614998266875, "rel_wql_gmean": 0.7732403821233665}, "S": {"n_configs": 6, "rel_mase_gmean": 0.8492769495848378, "rel_wql_gmean": 0.5048283597063994}, "T": {"n_configs": 30, "rel_mase_gmean": 0.7615827211816337, "rel_wql_gmean": 0.5725010493702674}, "W": {"n_configs": 8, "rel_mase_gmean": 0.861629788311694, "rel_wql_gmean": 0.5852072490098833}}, "variates": {"multivariate": {"n_configs": 43, "rel_mase_gmean": 0.7789725827874164, "rel_wql_gmean": 0.5234037463113075}, "univariate": {"n_configs": 54, "rel_mase_gmean": 0.7963270649080393, "rel_wql_gmean": 0.5630295689459095}}}, "checkpoint_sha256": "5ae58d104309db60a53cca11cbbceb7ff8f587b6e32b60888d22a37e9b021dfe", "eval_seconds": 103.42768940003589}, {"cutoff": "valid_backcast2", "skill": 0.3690940997454023, "control_skill": 0.3685168155758046, "delta": 0.0005772841695976805, "groups": {"term": {"long": {"n_configs": 19, "rel_mase_gmean": 0.7905843117969271, "rel_wql_gmean": 0.49786500904722053}, "medium": {"n_configs": 21, "rel_mase_gmean": 0.7465989159970967, "rel_wql_gmean": 0.4878439932977569}, "short": {"n_configs": 54, "rel_mase_gmean": 0.7541243641882015, "rel_wql_gmean": 0.5485237002837723}}, "domain": {"Econ/Fin": {"n_configs": 6, "rel_mase_gmean": 0.8600470933942402, "rel_wql_gmean": 0.8750749999999478}, "Energy": {"n_configs": 32, "rel_mase_gmean": 0.8953120273068197, "rel_wql_gmean": 0.6410637699465395}, "Healthcare": {"n_configs": 5, "rel_mase_gmean": 0.693123924324533, "rel_wql_gmean": 0.5959717650385814}, "Nature": {"n_configs": 15, "rel_mase_gmean": 0.7416972081272143, "rel_wql_gmean": 0.3580121136767604}, "Sales": {"n_configs": 3, "rel_mase_gmean": 0.5556945109020246, "rel_wql_gmean": 0.3512784662014784}, "Transport": {"n_configs": 14, "rel_mase_gmean": 0.6615770033022241, "rel_wql_gmean": 0.4946057221073404}, "Web/CloudOps": {"n_configs": 19, "rel_mase_gmean": 0.6725989706828684, "rel_wql_gmean": 0.46049560252990274}}, "frequency": {"A": {"n_configs": 1, "rel_mase_gmean": 0.5789122192013664, "rel_wql_gmean": 0.7493174850062028}, "D": {"n_configs": 15, "rel_mase_gmean": 0.7227737164316042, "rel_wql_gmean": 0.4433096525869345}, "H": {"n_configs": 30, "rel_mase_gmean": 0.7484865982331981, "rel_wql_gmean": 0.4817994144590065}, "M": {"n_configs": 4, "rel_mase_gmean": 0.7972026402584701, "rel_wql_gmean": 0.8460833161801249}, "Q": {"n_configs": 1, "rel_mase_gmean": 0.823758485578255, "rel_wql_gmean": 0.8637555975720498}, "S": {"n_configs": 6, "rel_mase_gmean": 0.8998648063552365, "rel_wql_gmean": 0.5633403623010557}, "T": {"n_configs": 29, "rel_mase_gmean": 0.7475997077631884, "rel_wql_gmean": 0.53299962927887}, "W": {"n_configs": 8, "rel_mase_gmean": 0.8224932588467433, "rel_wql_gmean": 0.6181162859705895}}, "variates": {"multivariate": {"n_configs": 42, "rel_mase_gmean": 0.7763676434664911, "rel_wql_gmean": 0.5111393153827358}, "univariate": {"n_configs": 52, "rel_mase_gmean": 0.7464136787719601, "rel_wql_gmean": 0.5345861860037492}}}, "checkpoint_sha256": "5ae58d104309db60a53cca11cbbceb7ff8f587b6e32b60888d22a37e9b021dfe", "eval_seconds": 103.96735997707583}, {"cutoff": "valid_backcast3", "skill": 0.3911302942468521, "control_skill": 0.3912834616582097, "delta": -0.00015316741135762424, "groups": {"term": {"long": {"n_configs": 19, "rel_mase_gmean": 0.7644994787796191, "rel_wql_gmean": 0.475168686856866}, "medium": {"n_configs": 20, "rel_mase_gmean": 0.7594270684693935, "rel_wql_gmean": 0.5226076392330724}, "short": {"n_configs": 54, "rel_mase_gmean": 0.7204741885659599, "rel_wql_gmean": 0.5053207566108459}}, "domain": {"Econ/Fin": {"n_configs": 6, "rel_mase_gmean": 0.8170472820054627, "rel_wql_gmean": 0.7971698577475663}, "Energy": {"n_configs": 32, "rel_mase_gmean": 0.8362562312433086, "rel_wql_gmean": 0.5543116383351785}, "Healthcare": {"n_configs": 5, "rel_mase_gmean": 0.852141759919277, "rel_wql_gmean": 0.6842143635111066}, "Nature": {"n_configs": 15, "rel_mase_gmean": 0.725380080479915, "rel_wql_gmean": 0.33816795534011324}, "Sales": {"n_configs": 3, "rel_mase_gmean": 0.7503432955053887, "rel_wql_gmean": 0.47484644524369024}, "Transport": {"n_configs": 14, "rel_mase_gmean": 0.5376446600324237, "rel_wql_gmean": 0.44179964576520625}, "Web/CloudOps": {"n_configs": 18, "rel_mase_gmean": 0.7082340035397756, "rel_wql_gmean": 0.5162217563946113}}, "frequency": {"A": {"n_configs": 1, "rel_mase_gmean": 0.5302864581478796, "rel_wql_gmean": 0.7728833563449358}, "D": {"n_configs": 15, "rel_mase_gmean": 0.7346096434487994, "rel_wql_gmean": 0.4209853730035232}, "H": {"n_configs": 29, "rel_mase_gmean": 0.7257501768675807, "rel_wql_gmean": 0.483349548126662}, "M": {"n_configs": 4, "rel_mase_gmean": 0.8625534579404655, "rel_wql_gmean": 0.8424007416326724}, "Q": {"n_configs": 1, "rel_mase_gmean": 0.7159931398050025, "rel_wql_gmean": 0.7629550268906894}, "S": {"n_configs": 6, "rel_mase_gmean": 0.8415207088514876, "rel_wql_gmean": 0.6068503311273111}, "T": {"n_configs": 29, "rel_mase_gmean": 0.7007962968429426, "rel_wql_gmean": 0.45871627936942655}, "W": {"n_configs": 8, "rel_mase_gmean": 0.8309243657333543, "rel_wql_gmean": 0.678560347612008}}, "variates": {"multivariate": {"n_configs": 41, "rel_mase_gmean": 0.7635684097891197, "rel_wql_gmean": 0.5139514128751824}, "univariate": {"n_configs": 52, "rel_mase_gmean": 0.7176835988111958, "rel_wql_gmean": 0.49388283158343527}}}, "checkpoint_sha256": "5ae58d104309db60a53cca11cbbceb7ff8f587b6e32b60888d22a37e9b021dfe", "eval_seconds": 90.11145384493284}], "positive_cutoffs": 2, "mean_delta": 0.00032213588710994223, "selection_gate_passed": false}. No automatic full replay or promotion; current-publication comparison also required. + +2026-10-23T22:15:00.325086+00:00: E138 final review {"utc": "2026-10-23T22:15:00.325086+00:00", "positive_frozen": 2, "mean_delta_frozen": 0.00032213588710994223, "positive_current": 1, "mean_delta_current": -0.0005839540619213546, "current_descriptor_sha256": "a1b4ab426901be8e1ee299eeeb3f041bac7cea3d4e59c4608824fc3d05c83e03", "decision": "Reject final12k: only2of4 versus immutableE130 and1of4 versus currentE148. No full replay/publication; original schedule complete. Primary6k also failed current-publication gate.", "cutoffs": [{"cutoff": "valid_screen", "skill": 0.38876599429759673, "frozen_skill": 0.3878507268780589, "current_skill": 0.3882279509777624, "delta_frozen": 0.0009152674195378463, "delta_current": 0.0005380433198343137, "checkpoint_sha256": "5ae58d104309db60a53cca11cbbceb7ff8f587b6e32b60888d22a37e9b021dfe", "eval_seconds": 103.89748321892694}, {"cutoff": "valid_backcast", "skill": 0.3443602645537439, "frozen_skill": 0.34441110518308204, "current_skill": 0.3456661156587746, "delta_frozen": -5.08406293381336e-05, "delta_current": -0.0013058511050306754, "checkpoint_sha256": "5ae58d104309db60a53cca11cbbceb7ff8f587b6e32b60888d22a37e9b021dfe", "eval_seconds": 103.42768940003589}, {"cutoff": "valid_backcast2", "skill": 0.3690940997454023, "frozen_skill": 0.3685168155758046, "current_skill": 0.36966272417010304, "delta_frozen": 0.0005772841695976805, "delta_current": -0.0005686244247007366, "checkpoint_sha256": "5ae58d104309db60a53cca11cbbceb7ff8f587b6e32b60888d22a37e9b021dfe", "eval_seconds": 103.96735997707583}, {"cutoff": "valid_backcast3", "skill": 0.3911302942468521, "frozen_skill": 0.3912834616582097, "current_skill": 0.3921296782846404, "delta_frozen": -0.00015316741135762424, "delta_current": -0.00099938403778832, "checkpoint_sha256": "5ae58d104309db60a53cca11cbbceb7ff8f587b6e32b60888d22a37e9b021dfe", "eval_seconds": 90.11145384493284}]} + +## E151 full-corpus final fourth member — declared 2026-10-23T22:15:41.337198+00:00 +E110 finalmain0.368644990823 is nearly tied with matched E94final0.368620401816, and below E79originalLRfinal0.371180826606. Hypothesis: broader available-series coverage can provide useful forecast diversity in a fixed ensemble even without a stronger standalone main score. Test exactly one replacement in the current E148quartet: width12 first/E71patch8-6k/E93split-12k/E110full96k, ordered equal quarters, every expert on every instance. Fix final96k source now; no48k/72k alternatives, coefficients or checkpoint sweep. Wait for all four declared source cutoffs, verify every cached member hash, then compare to frozenE148 on the same panels. At least3positive and meanpositive required before package construction/full replay; recheck then-current publication. No new training or new source data. No full replay/promotion without all97/151170/0fail and deterministic relocation/independent composition checks. +{"status": "declared; waiting all four final E110 reports for one fixed quartet probe", "declared_utc": "2026-10-23T22:15:41.337198+00:00", "formula": "E148 equal ordered quartet with only fourth member replaced by E110full96000; all weights0.25", "members": ["seasonal_width_transfer12k", "patch8_ema6000", "split_patch_ema12000", "random_capacity_full_ema96000"], "member_hashes": ["0b11b7351a4a92d1d18c71a4159ec445be3a94ace8c7a9fa0edafad87d14e960", "308389b7217c080af9eb185559d4ee3cafa0f3e0f8c4dd8f5526b68198c89988", "1a2fb20a9fb5cae6526f2e36ea47559626bece78fd9c284899836505030ae9fe", "76d63bae25a069c699a5025715ac3f5f89f18b27f2dc61340f14474e305616ba"], "control_descriptor": "a1b4ab426901be8e1ee299eeeb3f041bac7cea3d4e59c4608824fc3d05c83e03", "source_training_experiment": "E110 same seed307/B48/LR1e-4/96k asE94, full allowlisted corpus, slowAR20percent own synthetics", "gate": "At least3positive cutoffs and positive mean against frozen E148; current-publication recheck before full replay; full97/151170/zero failures and all runtime/composition checks before atomic publication", "no_weight_sweep": true, "no_new_training": true} + +## E131 fresh seasonal-feature146M24000 learning diagnostic +- Checkpoint SHA-256: `ee958fba015de5c80d179675b31770cae282ec3daa05d2fe5e386859109abbf3`. +- Evaluation: 97 configurations, 9473 instances, 0 failed configurations; 32.69905376434326 seconds. +- Overall skill 0.363919; relative MASE 0.753754; relative WQL 0.536779. +- term skill: long=0.3819, medium=0.3965, short=0.3438. +- domain skill: Econ/Fin=0.1297, Energy=0.2227, Healthcare=0.4094, Nature=0.4158, Sales=0.3308, Transport=0.4552, Web/CloudOps=0.4928. +- frequency skill: A=0.3802, D=0.3543, H=0.3821, M=0.0439, Q=0.1836, S=0.4234, T=0.4138, W=0.2374. +- variates skill: multivariate=0.3820, univariate=0.3491. +- Outcome: Same E79seed307/B48/LR2e-4/96k; only zero-initialized long-seasonal query/direct head added at initialization. Main0.363918505994 versus matched E79main0.354493848082, delta+0.009424657911. Early diagnostic only; primary48000/final96000 all-four comparisons remain fixed. + +## E152 bounded-gate expert-version × corpus-coverage factorial — declared 2026-10-23T22:18:32.418864+00:00 +E138primary6k improved4of4 versus frozenE130 but failed currentE148; final12k improved only2of4 versusE130 and1of4 versusE148. Cached weight diagnostics show the fourth expert near its lower bound across every term/cutoff. Two distinct explanations remain: the frozen experts are older than the current publication, and gate training on the repeatedly used small pack may not represent generalization to unseen series. Neither is established as a cause. Complete a2×2 factorial with the existing E138 old-experts/old-pack cell and three new cells: E148-experts/old-pack, E130-experts/full-pack, E148-experts/full-pack. All other recipe details fixed, exact same own gate initial SHA, seed751/B64/LR.001/12k, primary6k/final12k, old source probabilities and original synthetic generator. This tests data and expert-version effects separately and their interaction; no bound/architecture/loss change. Preserve E101teacher and E138expert snapshots untouched. Freeze E148 into a new immutable snapshot after verifying all hashes. Queue the three audited arms sequentially after E149final12k, replacing its allocation. No automatic full replay or publication; require own equal-quarter and current-publication cutoffs then complete full/runtime checks. +{"status": "declared; implementation and audits pending; not yet queued", "declared_utc": "2026-10-23T22:18:32.418864+00:00", "control": "E138ensemble_gate: immutable E130 experts plus packed_sample", "arms": [{"name": "ensemble_gate_refresh", "experts": "gating_experts_E148", "pack": "packed_sample"}, {"name": "ensemble_gate_full", "experts": "gating_experts_E130", "pack": "packed_stratified_full"}, {"name": "ensemble_gate_refresh_full", "experts": "gating_experts_E148", "pack": "packed_stratified_full"}], "initial": "/workspace/research/ensemble_gate_initial.pt", "initial_sha256": "9d1401cd4d5b5f1c3ddd25a4a74e15e5db7ef708116cdf5c4fa7e90580b58da1", "seed": 751, "batch": 64, "lr": 0.001, "steps": 12000, "primary": 6000, "expert_descriptors": {"E130": "fa97880dd132b1cdff459be4798f8f360d7df59b13e78026a9d74a95d63df0db", "E148": "a1b4ab426901be8e1ee299eeeb3f041bac7cea3d4e59c4608824fc3d05c83e03"}, "fixed": "Same6340parameter FP32 gate, originalAR generator20percent, oldpack source probabilities, horizon300754, TF32False, frozen BF16 experts, bounds.125+.5softmax, original12koptimizer/schedule; freshoptimizer/EMA each arm", "planned_after": "E149 integrated_level final12000, then all three arms sequentially, no extra concurrent trainer", "selection": "Primary6k/final12k four cutoffs; main1k/3k diagnostics. Compare each gate to its frozen equal-quarter experts and current publication; at least3positive and meanpositive for both before full replay. Matched factorial contrasts and logerror interaction descriptive; no coefficient or checkpoint sweep.", "new_sources": false} + +2026-10-23T22:20:08.405564+00:00: E151 fixed full-corpus final fourth expert {"pid": 3989, "started_utc": "2026-10-23T22:16:00.313799+00:00", "status": "complete; review before package/full replay", "declaration": {"status": "declared; waiting all four final E110 reports for one fixed quartet probe", "declared_utc": "2026-10-23T22:15:41.337198+00:00", "formula": "E148 equal ordered quartet with only fourth member replaced by E110full96000; all weights0.25", "members": ["seasonal_width_transfer12k", "patch8_ema6000", "split_patch_ema12000", "random_capacity_full_ema96000"], "member_hashes": ["0b11b7351a4a92d1d18c71a4159ec445be3a94ace8c7a9fa0edafad87d14e960", "308389b7217c080af9eb185559d4ee3cafa0f3e0f8c4dd8f5526b68198c89988", "1a2fb20a9fb5cae6526f2e36ea47559626bece78fd9c284899836505030ae9fe", "76d63bae25a069c699a5025715ac3f5f89f18b27f2dc61340f14474e305616ba"], "control_descriptor": "a1b4ab426901be8e1ee299eeeb3f041bac7cea3d4e59c4608824fc3d05c83e03", "source_training_experiment": "E110 same seed307/B48/LR1e-4/96k asE94, full allowlisted corpus, slowAR20percent own synthetics", "gate": "At least3positive cutoffs and positive mean against frozen E148; current-publication recheck before full replay; full97/151170/zero failures and all runtime/composition checks before atomic publication", "no_weight_sweep": true, "no_new_training": true}, "steps": [{"cutoff": "valid_screen", "returncode": 0, "seconds": 2.4755120710469782}, {"cutoff": "valid_backcast", "returncode": 0, "seconds": 2.538295058067888}, {"cutoff": "valid_backcast2", "returncode": 0, "seconds": 2.0572608441580087}, {"cutoff": "valid_backcast3", "returncode": 0, "seconds": 2.6903403277974576}], "results": [{"cutoff": "valid_screen", "skill": 0.3870534098754751, "control_skill": 0.3882279509777624, "delta": -0.0011745411022873187, "groups": {"term": {"short": 0.3707426558283248, "medium": 0.41017679345819946, "long": 0.40536366197438034}, "domain": {"Econ/Fin": 0.15095407653418313, "Energy": 0.24816421965236368, "Healthcare": 0.4772858643533203, "Nature": 0.44137523715398197, "Sales": 0.34706576481686247, "Transport": 0.4725258977492761, "Web/CloudOps": 0.5056976329716455}, "freq": {"A-DEC": 0.38120323819576596, "Q-DEC": 0.20416624850936294, "M": 0.1042096768568237, "W-SUN": 0.10679839127669, "D": 0.37358321612708534, "H": 0.4029807991534249, "15T": 0.21900578345239463, "W-FRI": 0.01916736433581534, "10T": 0.6274141717410623, "W-TUE": 0.6216938931507114, "W-THU": 0.21208547686270263, "W-WED": 0.3283802430085182, "5T": 0.5188349223487096, "10S": 0.4239412354670272}}, "group_deltas": {"term": {"short": -0.0015591144249640365, "medium": -0.0007538825422591655, "long": -0.000643855286405981}, "domain": {"Econ/Fin": 0.0019407917735767555, "Energy": 0.0007638664136130346, "Healthcare": -0.01778341495726332, "Nature": 9.757092481077478e-06, "Sales": 0.002455593057704042, "Transport": -8.374049930293115e-05, "Web/CloudOps": -0.0017781343372195169}, "freq": {"A-DEC": -0.0024473342034446732, "Q-DEC": -0.0019011079936679387, "M": -0.022612769180417547, "W-SUN": 0.017112734016137665, "D": 0.0014485515509587987, "H": -0.0006070756273547362, "15T": 0.0011183528047261637, "W-FRI": -0.0011928952842451546, "10T": 0.0023460075096678468, "W-TUE": -0.019847647391235346, "W-THU": -0.005844000533613114, "W-WED": 0.001295181555328373, "5T": -0.002046374608435597, "10S": -8.654624471793326e-05}}, "member_checkpoint_hashes": ["0b11b7351a4a92d1d18c71a4159ec445be3a94ace8c7a9fa0edafad87d14e960", "308389b7217c080af9eb185559d4ee3cafa0f3e0f8c4dd8f5526b68198c89988", "1a2fb20a9fb5cae6526f2e36ea47559626bece78fd9c284899836505030ae9fe", "76d63bae25a069c699a5025715ac3f5f89f18b27f2dc61340f14474e305616ba"], "cpu_seconds": 2.3097470060456544}, {"cutoff": "valid_backcast", "skill": 0.34560864389622914, "control_skill": 0.3456661156587746, "delta": -5.7471762545446836e-05, "groups": {"term": {"short": 0.31330198919233887, "medium": 0.363579720945991, "long": 0.40691211372945235}, "domain": {"Econ/Fin": 0.18241823924105727, "Energy": 0.23489364666131607, "Healthcare": 0.4029339059292407, "Nature": 0.38163145392435727, "Sales": 0.40669129360853107, "Transport": 0.3775684991635614, "Web/CloudOps": 0.46119462042457104}, "freq": {"A-DEC": 0.3293846295553108, "Q-DEC": 0.24250648951012244, "M": 0.20013347616630883, "W-SUN": 0.06042382281956005, "D": 0.35939296168983026, "H": 0.3766257334790948, "15T": 0.2209290431528097, "W-FRI": 0.2439317334081258, "10T": 0.33408352931084706, "W-TUE": 0.5433021304642284, "W-THU": 0.2746025429193527, "W-WED": 0.3569697281368308, "5T": 0.4504723451499756, "10S": 0.3493081270023273}}, "group_deltas": {"term": {"short": 0.0002326208892233783, "medium": -0.0005161266504656314, "long": -0.0002854622232759674}, "domain": {"Econ/Fin": 0.0019829644556076387, "Energy": 7.824271680234585e-05, "Healthcare": -0.0045013808768678, "Nature": 0.0003282091802294662, "Sales": -0.0008329309093433324, "Transport": -9.636788248468253e-05, "Web/CloudOps": 0.0003097625351634603}, "freq": {"A-DEC": -0.0023964953326232052, "Q-DEC": 0.005264757841064394, "M": 0.012655467189559233, "W-SUN": 0.014497515966339747, "D": -0.004796051297652593, "H": 0.0002570671058184093, "15T": -0.0022185299910190137, "W-FRI": 0.002526815048510267, "10T": -0.001400201620768482, "W-TUE": -0.008164458060900048, "W-THU": 0.00688447850061491, "W-WED": -0.00550290325179037, "5T": 0.0017429168297437014, "10S": -0.0005694036471479702}}, "member_checkpoint_hashes": ["0b11b7351a4a92d1d18c71a4159ec445be3a94ace8c7a9fa0edafad87d14e960", "308389b7217c080af9eb185559d4ee3cafa0f3e0f8c4dd8f5526b68198c89988", "1a2fb20a9fb5cae6526f2e36ea47559626bece78fd9c284899836505030ae9fe", "76d63bae25a069c699a5025715ac3f5f89f18b27f2dc61340f14474e305616ba"], "cpu_seconds": 2.2920755620580167}, {"cutoff": "valid_backcast2", "skill": 0.36898776524780275, "control_skill": 0.36966272417010304, "delta": -0.000674958922300295, "groups": {"term": {"short": 0.35540918694978907, "medium": 0.3986138188044297, "long": 0.37361489975791085}, "domain": {"Econ/Fin": 0.1284425604485926, "Energy": 0.24004416335172285, "Healthcare": 0.34920747955014364, "Nature": 0.4835379400306602, "Sales": 0.5589316953346404, "Transport": 0.4287316029424887, "Web/CloudOps": 0.44882648872465813}, "freq": {"A-DEC": 0.338587043261639, "Q-DEC": 0.1586026044386245, "M": 0.16717160730025027, "W-SUN": 0.07928426774412878, "D": 0.43389798770404175, "H": 0.40019531932150887, "15T": 0.10658915252440115, "W-FRI": 0.1354576474962318, "10T": 0.5103691572335352, "W-TUE": 0.12071132302117704, "W-THU": 0.3456655401023526, "W-WED": 0.5620742496075346, "5T": 0.4817676940884632, "10S": 0.2930207291581943}}, "group_deltas": {"term": {"short": -0.0008682403650371873, "medium": -0.00033886691964368776, "long": -0.0005265688995489404}, "domain": {"Econ/Fin": 0.0009346608875278051, "Energy": -0.0007206689098112617, "Healthcare": -0.012962168745787372, "Nature": 0.0012688111927480206, "Sales": -0.00031100185162391547, "Transport": 0.0008483345768514061, "Web/CloudOps": -0.0009142745199632873}, "freq": {"A-DEC": 0.0004008639035896211, "Q-DEC": 0.003018913817228963, "M": -0.0019520772777870121, "W-SUN": 0.006697429347124806, "D": -0.0014493406265398967, "H": -0.0003984708724994457, "15T": 0.00026152191429063, "W-FRI": -0.009660265549040425, "10T": 0.0012730418221130746, "W-TUE": -0.03310173545162631, "W-THU": 0.004361247083482844, "W-WED": 0.001676255962465234, "5T": -0.0018935020394743596, "10S": 0.0021197733419616727}}, "member_checkpoint_hashes": ["0b11b7351a4a92d1d18c71a4159ec445be3a94ace8c7a9fa0edafad87d14e960", "308389b7217c080af9eb185559d4ee3cafa0f3e0f8c4dd8f5526b68198c89988", "1a2fb20a9fb5cae6526f2e36ea47559626bece78fd9c284899836505030ae9fe", "76d63bae25a069c699a5025715ac3f5f89f18b27f2dc61340f14474e305616ba"], "cpu_seconds": 1.8708521611988544}, {"cutoff": "valid_backcast3", "skill": 0.391716048086576, "control_skill": 0.3921296782846404, "delta": -0.0004136301980643964, "groups": {"term": {"short": 0.39649060547071235, "medium": 0.37252657016996227, "long": 0.39794795560415297}, "domain": {"Econ/Fin": 0.19329315586441664, "Energy": 0.31908077176563976, "Healthcare": 0.21969245839228846, "Nature": 0.5081638877458665, "Sales": 0.4027256304144581, "Transport": 0.5117925779225818, "Web/CloudOps": 0.3993705168582439}, "freq": {"A-DEC": 0.37271022614221716, "Q-DEC": 0.26489419710707696, "M": 0.12317954371994755, "W-SUN": 0.17087191329814366, "D": 0.4394822690922854, "H": 0.4084720666866227, "15T": 0.257602259974241, "W-FRI": 0.05179457696317158, "10T": 0.6103735105176933, "W-TUE": 0.2784328753426413, "W-THU": 0.34982525924287045, "W-WED": 0.37740509158067315, "5T": 0.47073780086360684, "10S": 0.2916834589628614}}, "group_deltas": {"term": {"short": 1.9159402230073397e-05, "medium": -0.0006535416929527305, "long": -0.0013968365328854704}, "domain": {"Econ/Fin": 0.0017783207894136455, "Energy": 0.0019309954043392752, "Healthcare": -0.014376662127412398, "Nature": -0.0006134245923326009, "Sales": 0.0003157065414777227, "Transport": 0.0015775133814756037, "Web/CloudOps": -0.003398624599624811}, "freq": {"A-DEC": 0.009422236580740484, "Q-DEC": 0.0013269063993700536, "M": -0.022980561091327956, "W-SUN": 0.0006369098908107773, "D": -0.000758341694016007, "H": 0.00042487718824646414, "15T": -0.0005112171574482849, "W-FRI": 0.007653110811007835, "10T": 0.006749495361420443, "W-TUE": -0.009513983952218696, "W-THU": 0.002353427924979168, "W-WED": 0.003271580968701504, "5T": -0.0029902579129768014, "10S": -0.002520290052371421}}, "member_checkpoint_hashes": ["0b11b7351a4a92d1d18c71a4159ec445be3a94ace8c7a9fa0edafad87d14e960", "308389b7217c080af9eb185559d4ee3cafa0f3e0f8c4dd8f5526b68198c89988", "1a2fb20a9fb5cae6526f2e36ea47559626bece78fd9c284899836505030ae9fe", "76d63bae25a069c699a5025715ac3f5f89f18b27f2dc61340f14474e305616ba"], "cpu_seconds": 2.4773801050614566}], "seconds": 248.08980369800702, "positive_cutoffs": 0, "mean_delta": -0.0005801504962993642, "optimizer_updates": 0, "new_neural_inference": false, "selection_gate_passed": false}. No automatic full replay or publication. + +2026-10-23T22:20:45.759188+00:00: E151 rejected: fixed full-corpus96k fourth-member replacement loses all4cutoffs to E148; scores[0.3870534098754751, 0.34560864389622914, 0.36898776524780275, 0.391716048086576], deltas[-0.0011745411022873187, -5.7471762545446836e-05, -0.000674958922300295, -0.0004136301980643964], mean-0.000580150496. Cached probe CPU8.950054834s; controller248.089803698s includes waiting for source forecasts.0new optimizerupdates,0new neural inference. Long-term group negative on all4; no package construction, full replay, coefficient sweep or checkpoint substitution. Current E148 unchanged. Receipt full_capacity_ensemble_receipt.json. + +2026-10-23T22:23:47.178995+00:00: E152 preparation/audits: immutable gating_experts_E148 SHAa1b4ab42... verified allruntime/member hashes, copied5.390598934s; model/data/normalization/frequency/predict/infer/ts_io byte-identical toE138. CPUseed983 passed512oldstreamrows, all95sourceprobabilities exactlysame betweenpacks, fullsampler RNG recoveryexact, seed751recreatesinitial exactly; CPU40.272790067s. GPUseed1009: twoexisting synthetic runtime cases match every actualstandalone E148expert and equal-quarter ensemble bitwise; B64/C4096/H1024 full-corpus fixture finite, allgate layers nonzero gradients, frozenexperts no gradients, reserved2478.0MiB,loss0.199521839619, GPU119.039306419s includinglockwait62.070755758s,0updates. Full+updatedexpert recoveryfixture6vs3+3 now running; not yet queued. No new training shapes/precision/weightbound changes. + +E110 96000 four-cutoff comparison: {"label": "E110 96000 four-cutoff comparison", "utc": "2026-10-23T22:25:19.052676+00:00", "candidate": "random_capacity_full_ema96000", "control": "random_capacity_1024_halflr_ema96000", "rows": [{"cutoff": "evals", "candidate_skill": 0.36864499082324387, "control_skill": 0.36862040181646727, "delta": 2.4589006776598588e-05, "candidate_checkpoint": "76d63bae25a069c699a5025715ac3f5f89f18b27f2dc61340f14474e305616ba", "control_checkpoint": "3ecb2892396bc62c203e0d72ce266d2c6df978c24e68cf87cd6dc0ec34db5d30", "candidate_eval_seconds": 31.973838567733765, "candidate_groups": {"term": {"long": {"n_configs": 21, "rel_mase_gmean": 0.7641208242522688, "rel_wql_gmean": 0.49606041547421686}, "medium": {"n_configs": 21, "rel_mase_gmean": 0.7248504917648915, "rel_wql_gmean": 0.5014826044297881}, "short": {"n_configs": 55, "rel_mase_gmean": 0.7653817964529085, "rel_wql_gmean": 0.5499221784437706}}, "domain": {"Econ/Fin": {"n_configs": 6, "rel_mase_gmean": 0.8797461932537856, "rel_wql_gmean": 0.8417504147222412}, "Energy": {"n_configs": 32, "rel_mase_gmean": 0.9038593623653358, "rel_wql_gmean": 0.650321490545107}, "Healthcare": {"n_configs": 5, "rel_mase_gmean": 0.6392735379954819, "rel_wql_gmean": 0.5298966820324994}, "Nature": {"n_configs": 15, "rel_mase_gmean": 0.8255848768920211, "rel_wql_gmean": 0.4100500554784039}, "Sales": {"n_configs": 4, "rel_mase_gmean": 0.834353811747695, "rel_wql_gmean": 0.515761840139643}, "Transport": {"n_configs": 15, "rel_mase_gmean": 0.6486700292801205, "rel_wql_gmean": 0.4481049050025408}, "Web/CloudOps": {"n_configs": 20, "rel_mase_gmean": 0.5833058759803712, "rel_wql_gmean": 0.4478662353833949}}, "frequency": {"A": {"n_configs": 1, "rel_mase_gmean": 0.6010394871353288, "rel_wql_gmean": 0.6196386412495969}, "D": {"n_configs": 15, "rel_mase_gmean": 0.7717748942179347, "rel_wql_gmean": 0.5249803542477544}, "H": {"n_configs": 31, "rel_mase_gmean": 0.7383661804889572, "rel_wql_gmean": 0.5083075936730249}, "M": {"n_configs": 5, "rel_mase_gmean": 1.0860375469876151, "rel_wql_gmean": 0.9054772856973754}, "Q": {"n_configs": 1, "rel_mase_gmean": 0.7673483808593802, "rel_wql_gmean": 0.8262246710714097}, "S": {"n_configs": 6, "rel_mase_gmean": 0.6652943939958053, "rel_wql_gmean": 0.5130867405242703}, "T": {"n_configs": 30, "rel_mase_gmean": 0.7116397990280849, "rel_wql_gmean": 0.4646208195901687}, "W": {"n_configs": 8, "rel_mase_gmean": 0.9034210950481151, "rel_wql_gmean": 0.6622866077295166}}, "variates": {"multivariate": {"n_configs": 43, "rel_mase_gmean": 0.7276221102413266, "rel_wql_gmean": 0.5219500626661203}, "univariate": {"n_configs": 54, "rel_mase_gmean": 0.7796626654746125, "rel_wql_gmean": 0.5313401505985189}}}, "control_groups": {"term": {"long": {"n_configs": 21, "rel_mase_gmean": 0.7648094790526017, "rel_wql_gmean": 0.49689465147059436}, "medium": {"n_configs": 21, "rel_mase_gmean": 0.7348917787492376, "rel_wql_gmean": 0.5067775929425536}, "short": {"n_configs": 55, "rel_mase_gmean": 0.7533059499985115, "rel_wql_gmean": 0.5531164777189826}}, "domain": {"Econ/Fin": {"n_configs": 6, "rel_mase_gmean": 0.880014713578262, "rel_wql_gmean": 0.843872245778758}, "Energy": {"n_configs": 32, "rel_mase_gmean": 0.9204809626077288, "rel_wql_gmean": 0.6641303953583553}, "Healthcare": {"n_configs": 5, "rel_mase_gmean": 0.52503046533512, "rel_wql_gmean": 0.4821312839048276}, "Nature": {"n_configs": 15, "rel_mase_gmean": 0.8165984784556561, "rel_wql_gmean": 0.41473241014415346}, "Sales": {"n_configs": 4, "rel_mase_gmean": 0.8246260212899463, "rel_wql_gmean": 0.5159172221451043}, "Transport": {"n_configs": 15, "rel_mase_gmean": 0.6492163653816321, "rel_wql_gmean": 0.44958976080916613}, "Web/CloudOps": {"n_configs": 20, "rel_mase_gmean": 0.5842114946599155, "rel_wql_gmean": 0.4509697872201149}}, "frequency": {"A": {"n_configs": 1, "rel_mase_gmean": 0.5949527206935895, "rel_wql_gmean": 0.6130740205444667}, "D": {"n_configs": 15, "rel_mase_gmean": 0.7647362524365209, "rel_wql_gmean": 0.5267477131036611}, "H": {"n_configs": 31, "rel_mase_gmean": 0.7414382994263717, "rel_wql_gmean": 0.513434540457253}, "M": {"n_configs": 5, "rel_mase_gmean": 0.9184972881604635, "rel_wql_gmean": 0.8535943940963844}, "Q": {"n_configs": 1, "rel_mase_gmean": 0.7580535811346646, "rel_wql_gmean": 0.8206032017849488}, "S": {"n_configs": 6, "rel_mase_gmean": 0.6675032538290133, "rel_wql_gmean": 0.5130063586850814}, "T": {"n_configs": 30, "rel_mase_gmean": 0.7183582607149819, "rel_wql_gmean": 0.47275272382941924}, "W": {"n_configs": 8, "rel_mase_gmean": 0.9034443083007764, "rel_wql_gmean": 0.6627675854006778}}, "variates": {"multivariate": {"n_configs": 43, "rel_mase_gmean": 0.7324238159424012, "rel_wql_gmean": 0.5300934597112348}, "univariate": {"n_configs": 54, "rel_mase_gmean": 0.7674907751263362, "rel_wql_gmean": 0.5304426125961257}}}, "group_skill_delta": {"term": {"long": 0.0007950794496008884, "medium": 0.007358178063507359, "short": -0.0032717341376399256}, "domain": {"Econ/Fin": 0.0012153971918323903, "Energy": 0.015188544904624957, "Healthcare": -0.0788975604143306, "Nature": 0.00011920602990811435, "Sales": -0.0037371215912972433, "Transport": 0.0011198889335395368, "Web/CloudOps": 0.0021658695019686203}, "frequency": {"A": -0.0063228039148301995, "D": -0.0018435855605148932, "H": 0.004361411171704077, "M": -0.10620498266294676, "Q": -0.0075339660910801465, "S": 0.0009232522028148615, "T": 0.007741726584126196, "W": 0.00029076778248915414}, "variates": {"multivariate": 0.006834687332778477, "univariate": -0.005583475748385691}}}, {"cutoff": "backcast_evals", "candidate_skill": 0.33575103560457065, "control_skill": 0.33266251560890414, "delta": 0.0030885199956665055, "candidate_checkpoint": "76d63bae25a069c699a5025715ac3f5f89f18b27f2dc61340f14474e305616ba", "control_checkpoint": "3ecb2892396bc62c203e0d72ce266d2c6df978c24e68cf87cd6dc0ec34db5d30", "candidate_eval_seconds": 33.55712938308716, "candidate_groups": {"term": {"long": {"n_configs": 21, "rel_mase_gmean": 0.7618119884930022, "rel_wql_gmean": 0.4706108519147238}, "medium": {"n_configs": 21, "rel_mase_gmean": 0.7785156914022757, "rel_wql_gmean": 0.5380080860020657}, "short": {"n_configs": 55, "rel_mase_gmean": 0.8092040158150724, "rel_wql_gmean": 0.6020834035406137}}, "domain": {"Econ/Fin": {"n_configs": 6, "rel_mase_gmean": 0.8649177844367796, "rel_wql_gmean": 0.7932595489582887}, "Energy": {"n_configs": 32, "rel_mase_gmean": 0.8961306941129933, "rel_wql_gmean": 0.6744941265755756}, "Healthcare": {"n_configs": 5, "rel_mase_gmean": 0.6406673184816369, "rel_wql_gmean": 0.6216540358470581}, "Nature": {"n_configs": 15, "rel_mase_gmean": 0.9204972471207391, "rel_wql_gmean": 0.437709344976185}, "Sales": {"n_configs": 4, "rel_mase_gmean": 0.7379452040611111, "rel_wql_gmean": 0.4995331538317477}, "Transport": {"n_configs": 15, "rel_mase_gmean": 0.7453286529194878, "rel_wql_gmean": 0.5407538138053838}, "Web/CloudOps": {"n_configs": 20, "rel_mase_gmean": 0.6331450279667238, "rel_wql_gmean": 0.44952132895379404}}, "frequency": {"A": {"n_configs": 1, "rel_mase_gmean": 0.6428069557653129, "rel_wql_gmean": 0.7006295172976278}, "D": {"n_configs": 15, "rel_mase_gmean": 0.840999319590678, "rel_wql_gmean": 0.5033309644234195}, "H": {"n_configs": 31, "rel_mase_gmean": 0.7751522654756143, "rel_wql_gmean": 0.519132658610579}, "M": {"n_configs": 5, "rel_mase_gmean": 0.8185817178034693, "rel_wql_gmean": 0.8033624442579481}, "Q": {"n_configs": 1, "rel_mase_gmean": 0.7569971370336409, "rel_wql_gmean": 0.7638899419001384}, "S": {"n_configs": 6, "rel_mase_gmean": 0.8467444358145533, "rel_wql_gmean": 0.5035114470573656}, "T": {"n_configs": 30, "rel_mase_gmean": 0.753733496976526, "rel_wql_gmean": 0.5865283563829214}, "W": {"n_configs": 8, "rel_mase_gmean": 0.891287964768219, "rel_wql_gmean": 0.5851848634253939}}, "variates": {"multivariate": {"n_configs": 43, "rel_mase_gmean": 0.7711521201927437, "rel_wql_gmean": 0.531877206235493}, "univariate": {"n_configs": 54, "rel_mase_gmean": 0.8090816784209974, "rel_wql_gmean": 0.5779898720443062}}}, "control_groups": {"term": {"long": {"n_configs": 21, "rel_mase_gmean": 0.7631770585925983, "rel_wql_gmean": 0.4677868165263665}, "medium": {"n_configs": 21, "rel_mase_gmean": 0.7804406375949874, "rel_wql_gmean": 0.5405630566891115}, "short": {"n_configs": 55, "rel_mase_gmean": 0.8172787084787845, "rel_wql_gmean": 0.60528058064257}}, "domain": {"Econ/Fin": {"n_configs": 6, "rel_mase_gmean": 0.8676921936407426, "rel_wql_gmean": 0.8016679884951974}, "Energy": {"n_configs": 32, "rel_mase_gmean": 0.8976224121252018, "rel_wql_gmean": 0.6730364644295886}, "Healthcare": {"n_configs": 5, "rel_mase_gmean": 0.715544928439207, "rel_wql_gmean": 0.6563756692904051}, "Nature": {"n_configs": 15, "rel_mase_gmean": 0.9112015769744569, "rel_wql_gmean": 0.43796573248667486}, "Sales": {"n_configs": 4, "rel_mase_gmean": 0.7344739529340831, "rel_wql_gmean": 0.49881848885165964}, "Transport": {"n_configs": 15, "rel_mase_gmean": 0.7482605753576742, "rel_wql_gmean": 0.5422820838948151}, "Web/CloudOps": {"n_configs": 20, "rel_mase_gmean": 0.6370402026065697, "rel_wql_gmean": 0.44847094485910133}}, "frequency": {"A": {"n_configs": 1, "rel_mase_gmean": 0.6325288537386246, "rel_wql_gmean": 0.7042657056207078}, "D": {"n_configs": 15, "rel_mase_gmean": 0.8414186836746333, "rel_wql_gmean": 0.5026319183584169}, "H": {"n_configs": 31, "rel_mase_gmean": 0.7777171234593941, "rel_wql_gmean": 0.5223847290828182}, "M": {"n_configs": 5, "rel_mase_gmean": 0.8683581516069737, "rel_wql_gmean": 0.8129657019737112}, "Q": {"n_configs": 1, "rel_mase_gmean": 0.7697054610744473, "rel_wql_gmean": 0.7847028613345987}, "S": {"n_configs": 6, "rel_mase_gmean": 0.8528291209006531, "rel_wql_gmean": 0.5045106161862585}, "T": {"n_configs": 30, "rel_mase_gmean": 0.7566825128734321, "rel_wql_gmean": 0.5836659908130211}, "W": {"n_configs": 8, "rel_mase_gmean": 0.8991074674277862, "rel_wql_gmean": 0.5951462907008985}}, "variates": {"multivariate": {"n_configs": 43, "rel_mase_gmean": 0.7740352075584562, "rel_wql_gmean": 0.5308044086536873}, "univariate": {"n_configs": 54, "rel_mase_gmean": 0.8162314051702948, "rel_wql_gmean": 0.5817612195378781}}}, "group_skill_delta": {"term": {"long": -0.0012646253979559097, "medium": 0.002336413253328451, "short": 0.005333910951103027}, "domain": {"Econ/Fin": 0.005712885115434663, "Energy": -0.0001944249646471663, "Healthcare": 0.05423294961214442, "Nature": -0.0030282302939832473, "Sales": -0.0018631214259279272, "Transport": 0.002145681940123434, "Web/CloudOps": 0.0010129523938477991}, "frequency": {"A": -0.003661589834773271, "D": -0.00028987574817151973, "H": 0.0030357401561023067, "M": 0.029269188390084078, "Q": 0.01673225578747206, "S": 0.002991707251884357, "T": -0.0003281178510267102, "W": 0.009308815885888277}, "variates": {"multivariate": 0.0005486608775763235, "univariate": 0.005252067715984965}}}, {"cutoff": "backcast2_evals", "candidate_skill": 0.35798425239005505, "control_skill": 0.3605578550795868, "delta": -0.002573602689531773, "candidate_checkpoint": "76d63bae25a069c699a5025715ac3f5f89f18b27f2dc61340f14474e305616ba", "control_checkpoint": "3ecb2892396bc62c203e0d72ce266d2c6df978c24e68cf87cd6dc0ec34db5d30", "candidate_eval_seconds": 32.10593008995056, "candidate_groups": {"term": {"long": {"n_configs": 19, "rel_mase_gmean": 0.7941549430082384, "rel_wql_gmean": 0.5014961726541791}, "medium": {"n_configs": 21, "rel_mase_gmean": 0.741820367215642, "rel_wql_gmean": 0.4995198053889145}, "short": {"n_configs": 54, "rel_mase_gmean": 0.7684402428359164, "rel_wql_gmean": 0.5658646224872292}}, "domain": {"Econ/Fin": {"n_configs": 6, "rel_mase_gmean": 0.8802337885956892, "rel_wql_gmean": 0.9008607248698991}, "Energy": {"n_configs": 32, "rel_mase_gmean": 0.9192126832913847, "rel_wql_gmean": 0.6642965778688076}, "Healthcare": {"n_configs": 5, "rel_mase_gmean": 0.7356949252162588, "rel_wql_gmean": 0.6365065186472956}, "Nature": {"n_configs": 15, "rel_mase_gmean": 0.7499729831112791, "rel_wql_gmean": 0.3699894219204509}, "Sales": {"n_configs": 3, "rel_mase_gmean": 0.5642031429643153, "rel_wql_gmean": 0.3522898257091761}, "Transport": {"n_configs": 14, "rel_mase_gmean": 0.6736574202574822, "rel_wql_gmean": 0.5076164699733652}, "Web/CloudOps": {"n_configs": 19, "rel_mase_gmean": 0.6455674946059665, "rel_wql_gmean": 0.4558482002092544}}, "frequency": {"A": {"n_configs": 1, "rel_mase_gmean": 0.5816466071401547, "rel_wql_gmean": 0.7460001655726086}, "D": {"n_configs": 15, "rel_mase_gmean": 0.7400634379313347, "rel_wql_gmean": 0.45683256250776716}, "H": {"n_configs": 30, "rel_mase_gmean": 0.7486910212621966, "rel_wql_gmean": 0.4903869250693772}, "M": {"n_configs": 4, "rel_mase_gmean": 0.8289777412591368, "rel_wql_gmean": 0.8807029732349295}, "Q": {"n_configs": 1, "rel_mase_gmean": 0.8362064399582367, "rel_wql_gmean": 0.8678444258228419}, "S": {"n_configs": 6, "rel_mase_gmean": 0.8863128016597993, "rel_wql_gmean": 0.557133094452919}, "T": {"n_configs": 29, "rel_mase_gmean": 0.7476910320535506, "rel_wql_gmean": 0.5458510726505758}, "W": {"n_configs": 8, "rel_mase_gmean": 0.8771766737823132, "rel_wql_gmean": 0.6620723464149746}}, "variates": {"multivariate": {"n_configs": 42, "rel_mase_gmean": 0.7661007880646832, "rel_wql_gmean": 0.513384911759537}, "univariate": {"n_configs": 52, "rel_mase_gmean": 0.768633725714641, "rel_wql_gmean": 0.5569528620166226}}}, "control_groups": {"term": {"long": {"n_configs": 19, "rel_mase_gmean": 0.7997233981576664, "rel_wql_gmean": 0.5075433267708054}, "medium": {"n_configs": 21, "rel_mase_gmean": 0.7399595594864797, "rel_wql_gmean": 0.4956903321154445}, "short": {"n_configs": 54, "rel_mase_gmean": 0.760974845625028, "rel_wql_gmean": 0.5619579756342753}}, "domain": {"Econ/Fin": {"n_configs": 6, "rel_mase_gmean": 0.8815453402156522, "rel_wql_gmean": 0.8881178835967644}, "Energy": {"n_configs": 32, "rel_mase_gmean": 0.912257320664024, "rel_wql_gmean": 0.6598667696403844}, "Healthcare": {"n_configs": 5, "rel_mase_gmean": 0.7013033734153519, "rel_wql_gmean": 0.6004866826542048}, "Nature": {"n_configs": 15, "rel_mase_gmean": 0.751529758065661, "rel_wql_gmean": 0.37399907881152383}, "Sales": {"n_configs": 3, "rel_mase_gmean": 0.5517315303076739, "rel_wql_gmean": 0.34313631996514743}, "Transport": {"n_configs": 14, "rel_mase_gmean": 0.6720925842559999, "rel_wql_gmean": 0.5073144131277231}, "Web/CloudOps": {"n_configs": 19, "rel_mase_gmean": 0.6487982419098411, "rel_wql_gmean": 0.4608781543309368}}, "frequency": {"A": {"n_configs": 1, "rel_mase_gmean": 0.5790771344504891, "rel_wql_gmean": 0.7308899330897375}, "D": {"n_configs": 15, "rel_mase_gmean": 0.7278683128185671, "rel_wql_gmean": 0.4540430354831324}, "H": {"n_configs": 30, "rel_mase_gmean": 0.7521129092764461, "rel_wql_gmean": 0.4915660968600765}, "M": {"n_configs": 4, "rel_mase_gmean": 0.8443407010382165, "rel_wql_gmean": 0.8726674645964401}, "Q": {"n_configs": 1, "rel_mase_gmean": 0.8320796892167054, "rel_wql_gmean": 0.877927675097266}, "S": {"n_configs": 6, "rel_mase_gmean": 0.902791522159911, "rel_wql_gmean": 0.5705450047166016}, "T": {"n_configs": 29, "rel_mase_gmean": 0.7433992635092939, "rel_wql_gmean": 0.5456630527006386}, "W": {"n_configs": 8, "rel_mase_gmean": 0.8404265187464307, "rel_wql_gmean": 0.6317288921457248}}, "variates": {"multivariate": {"n_configs": 42, "rel_mase_gmean": 0.7653255057555063, "rel_wql_gmean": 0.5178378811838268}, "univariate": {"n_configs": 52, "rel_mase_gmean": 0.762675870854227, "rel_wql_gmean": 0.5498153256824397}}}, "group_skill_delta": {"term": {"long": 0.006015393748333486, "medium": -0.003098877822003576, "short": -0.00548004936328772}, "domain": {"Econ/Fin": -0.005662025093812195, "Energy": -0.00556192169388825, "Healthcare": -0.0353657733289201, "Nature": 0.00339603913524944, "Sales": -0.010720294099597072, "Transport": -0.0008533864911416389, "Web/CloudOps": 0.004347885490312731}, "frequency": {"A": -0.008147039427533698, "D": -0.006573861226872979, "H": 0.0021128392800617846, "M": 0.003938203216753311, "Q": 0.0028177429210854976, "S": 0.014988053525847977, "T": -0.001945864380347162, "W": -0.03342870027265743}, "variates": {"multivariate": 0.0023951717056147626, "univariate": -0.0067303457765927055}}}, {"cutoff": "backcast3_evals", "candidate_skill": 0.3787802571153097, "control_skill": 0.37657565033817875, "delta": 0.0022046067771309685, "candidate_checkpoint": "76d63bae25a069c699a5025715ac3f5f89f18b27f2dc61340f14474e305616ba", "control_checkpoint": "3ecb2892396bc62c203e0d72ce266d2c6df978c24e68cf87cd6dc0ec34db5d30", "candidate_eval_seconds": 33.256362199783325, "candidate_groups": {"term": {"long": {"n_configs": 19, "rel_mase_gmean": 0.7720057746295129, "rel_wql_gmean": 0.4878997089680887}, "medium": {"n_configs": 20, "rel_mase_gmean": 0.7594841628055085, "rel_wql_gmean": 0.5259750568053516}, "short": {"n_configs": 54, "rel_mase_gmean": 0.7429629921510578, "rel_wql_gmean": 0.517223824046827}}, "domain": {"Econ/Fin": {"n_configs": 6, "rel_mase_gmean": 0.8267136157528197, "rel_wql_gmean": 0.8121951381647202}, "Energy": {"n_configs": 32, "rel_mase_gmean": 0.8463557623130329, "rel_wql_gmean": 0.5632559607209767}, "Healthcare": {"n_configs": 5, "rel_mase_gmean": 0.9545028405238007, "rel_wql_gmean": 0.7536748969171218}, "Nature": {"n_configs": 15, "rel_mase_gmean": 0.7334804189019974, "rel_wql_gmean": 0.3414747646370063}, "Sales": {"n_configs": 3, "rel_mase_gmean": 0.7578565833467727, "rel_wql_gmean": 0.48332611742263637}, "Transport": {"n_configs": 14, "rel_mase_gmean": 0.5564785964163198, "rel_wql_gmean": 0.45797536706295894}, "Web/CloudOps": {"n_configs": 18, "rel_mase_gmean": 0.7140224842943406, "rel_wql_gmean": 0.5184594301175075}}, "frequency": {"A": {"n_configs": 1, "rel_mase_gmean": 0.5064706521911373, "rel_wql_gmean": 0.7030948869551007}, "D": {"n_configs": 15, "rel_mase_gmean": 0.7957409458528714, "rel_wql_gmean": 0.440201288689025}, "H": {"n_configs": 29, "rel_mase_gmean": 0.7327252354632193, "rel_wql_gmean": 0.49464524528976045}, "M": {"n_configs": 4, "rel_mase_gmean": 0.9737715236408041, "rel_wql_gmean": 0.9489935161795975}, "Q": {"n_configs": 1, "rel_mase_gmean": 0.708741325833158, "rel_wql_gmean": 0.7461524697027936}, "S": {"n_configs": 6, "rel_mase_gmean": 0.8569641331865148, "rel_wql_gmean": 0.629509525906296}, "T": {"n_configs": 29, "rel_mase_gmean": 0.7002023904981172, "rel_wql_gmean": 0.4606051388753622}, "W": {"n_configs": 8, "rel_mase_gmean": 0.8162048772761435, "rel_wql_gmean": 0.6659417285898513}}, "variates": {"multivariate": {"n_configs": 41, "rel_mase_gmean": 0.7763637003038804, "rel_wql_gmean": 0.5229349272373285}, "univariate": {"n_configs": 52, "rel_mase_gmean": 0.7339520121749528, "rel_wql_gmean": 0.5051949961646821}}}, "control_groups": {"term": {"long": {"n_configs": 19, "rel_mase_gmean": 0.7694049330832036, "rel_wql_gmean": 0.4852066577976231}, "medium": {"n_configs": 20, "rel_mase_gmean": 0.7697610218026824, "rel_wql_gmean": 0.5306539543436474}, "short": {"n_configs": 54, "rel_mase_gmean": 0.7433187559215155, "rel_wql_gmean": 0.5206488546791788}}, "domain": {"Econ/Fin": {"n_configs": 6, "rel_mase_gmean": 0.8275516102432143, "rel_wql_gmean": 0.8095441287904284}, "Energy": {"n_configs": 32, "rel_mase_gmean": 0.8503202942086059, "rel_wql_gmean": 0.5700305682709154}, "Healthcare": {"n_configs": 5, "rel_mase_gmean": 0.9063163719809284, "rel_wql_gmean": 0.7422093859410305}, "Nature": {"n_configs": 15, "rel_mase_gmean": 0.7435363052887493, "rel_wql_gmean": 0.3459863668000032}, "Sales": {"n_configs": 3, "rel_mase_gmean": 0.7559745440204096, "rel_wql_gmean": 0.48453386083621275}, "Transport": {"n_configs": 14, "rel_mase_gmean": 0.5558525634862705, "rel_wql_gmean": 0.4606838401204078}, "Web/CloudOps": {"n_configs": 18, "rel_mase_gmean": 0.72011355656891, "rel_wql_gmean": 0.5143032600443953}}, "frequency": {"A": {"n_configs": 1, "rel_mase_gmean": 0.5149560498362388, "rel_wql_gmean": 0.7388792434022143}, "D": {"n_configs": 15, "rel_mase_gmean": 0.7866427703773003, "rel_wql_gmean": 0.44372187032754057}, "H": {"n_configs": 29, "rel_mase_gmean": 0.7384900710957844, "rel_wql_gmean": 0.49860168280518735}, "M": {"n_configs": 4, "rel_mase_gmean": 0.9012974939000788, "rel_wql_gmean": 0.8973923604504697}, "Q": {"n_configs": 1, "rel_mase_gmean": 0.7137284262620204, "rel_wql_gmean": 0.7500042118226561}, "S": {"n_configs": 6, "rel_mase_gmean": 0.8556907579410804, "rel_wql_gmean": 0.6196113389572953}, "T": {"n_configs": 29, "rel_mase_gmean": 0.7117294142474627, "rel_wql_gmean": 0.46926136140771346}, "W": {"n_configs": 8, "rel_mase_gmean": 0.8158892617521237, "rel_wql_gmean": 0.6496487875787558}}, "variates": {"multivariate": {"n_configs": 41, "rel_mase_gmean": 0.781887160889063, "rel_wql_gmean": 0.526989374562575}, "univariate": {"n_configs": 52, "rel_mase_gmean": 0.7331039879686364, "rel_wql_gmean": 0.5062814703386}}}, "group_skill_delta": {"term": {"long": -0.0027279522601905137, "medium": 0.0070856685969709066, "short": 0.00219798374809943}, "domain": {"Econ/Fin": -0.0009238738749061115, "Energy": 0.005764684844835277, "Healthcare": -0.02799697637283627, "Nature": 0.0067367250138019585, "Sales": 2.7960949640082333e-06, "Transport": 0.0012057028389609314, "Web/CloudOps": 0.00013562778073428206}, "frequency": {"A": 0.02010041328206258, "D": -0.0010447583055208653, "H": 0.004775955576226121, "M": -0.06195988262953489, "Q": 0.004435167774262894, "S": -0.006338849469198493, "T": 0.01001053943417729, "W": -0.00921549745775474}, "variates": {"multivariate": 0.004736631963415894, "univariate": 0.00030216368525315396}}}], "mean_delta": 0.0006860282725105749, "positive_cutoffs": 3, "outcome": "Declared comparison checkpoints 48000,96000. No transfer formula or automatic publication is selected by this controller."} + +2026-10-23T22:25:53.634112+00:00: E110 final96k review: matched E94 atsameLR1e-4 now3of4positive,mean+0.000686028272511; primary48k was1of4/negative. Main0.368644990823 versus0.368620401816 nearlytied. Fullcoverage is a modest duration-dependent improvement in this controlled setting, not evidence of a large standalone or ensemble gain. E151fixedquartetlostall4 and remainsrejected. E147higherLR fullpack remainsqueued; no unplanned scheduleextension or modelcapacityrun. Complete recovery and allcheckpointsretained. + +E141 6000 four-cutoff comparison: {"label": "E141 6000 four-cutoff comparison", "utc": "2026-10-23T22:28:51.170292+00:00", "candidate": "capacity_patch8_candidate_ema6000", "control": "capacity_patch8_control_ema6000", "rows": [{"cutoff": "evals", "candidate_skill": 0.36978469930277436, "control_skill": 0.37054654226823525, "delta": -0.0007618429654608905, "candidate_checkpoint": "2877a38b94a7d77a53a9df410349cecc2f6ab134c83a76744924543bbe73eb17", "control_checkpoint": "6e40fa235d296be4a3d3b4a5a1503e1ba3435bdee0cc72b7243ab5a0f4e8e1ff", "candidate_eval_seconds": 48.25301194190979, "candidate_groups": {"term": {"long": {"n_configs": 21, "rel_mase_gmean": 0.7574390194245608, "rel_wql_gmean": 0.49515987996994076}, "medium": {"n_configs": 21, "rel_mase_gmean": 0.7318341128774869, "rel_wql_gmean": 0.5008060335014628}, "short": {"n_configs": 55, "rel_mase_gmean": 0.7580959269420394, "rel_wql_gmean": 0.5521778537504981}}, "domain": {"Econ/Fin": {"n_configs": 6, "rel_mase_gmean": 0.8838901276292108, "rel_wql_gmean": 0.8425814629339419}, "Energy": {"n_configs": 32, "rel_mase_gmean": 0.9088849521601373, "rel_wql_gmean": 0.6563137045363306}, "Healthcare": {"n_configs": 5, "rel_mase_gmean": 0.5700626570689888, "rel_wql_gmean": 0.5080753322350096}, "Nature": {"n_configs": 15, "rel_mase_gmean": 0.8299557567785764, "rel_wql_gmean": 0.4159500149364593}, "Sales": {"n_configs": 4, "rel_mase_gmean": 0.8276794855542947, "rel_wql_gmean": 0.5098559368503401}, "Transport": {"n_configs": 15, "rel_mase_gmean": 0.6492531460063048, "rel_wql_gmean": 0.4475518098977045}, "Web/CloudOps": {"n_configs": 20, "rel_mase_gmean": 0.5774324720644617, "rel_wql_gmean": 0.4460732308372534}}, "frequency": {"A": {"n_configs": 1, "rel_mase_gmean": 0.5992583356893599, "rel_wql_gmean": 0.6297341182473155}, "D": {"n_configs": 15, "rel_mase_gmean": 0.7599788133171492, "rel_wql_gmean": 0.5322360199964393}, "H": {"n_configs": 31, "rel_mase_gmean": 0.7369729843038879, "rel_wql_gmean": 0.5049703578174343}, "M": {"n_configs": 5, "rel_mase_gmean": 1.0280870358168706, "rel_wql_gmean": 0.8555486541424168}, "Q": {"n_configs": 1, "rel_mase_gmean": 0.7718219931228568, "rel_wql_gmean": 0.8267263767983613}, "S": {"n_configs": 6, "rel_mase_gmean": 0.6688372049691838, "rel_wql_gmean": 0.5067652955834675}, "T": {"n_configs": 30, "rel_mase_gmean": 0.7109955604410767, "rel_wql_gmean": 0.4696240222258935}, "W": {"n_configs": 8, "rel_mase_gmean": 0.9087525217349863, "rel_wql_gmean": 0.6770877961596963}}, "variates": {"multivariate": {"n_configs": 43, "rel_mase_gmean": 0.7295687680457856, "rel_wql_gmean": 0.5265914090608729}, "univariate": {"n_configs": 54, "rel_mase_gmean": 0.7707045456162961, "rel_wql_gmean": 0.5291597440122253}}}, "control_groups": {"term": {"long": {"n_configs": 21, "rel_mase_gmean": 0.7632316783990652, "rel_wql_gmean": 0.49799089797804685}, "medium": {"n_configs": 21, "rel_mase_gmean": 0.7308527595878326, "rel_wql_gmean": 0.5016161604613029}, "short": {"n_configs": 55, "rel_mase_gmean": 0.75368161727158, "rel_wql_gmean": 0.5501841461491006}}, "domain": {"Econ/Fin": {"n_configs": 6, "rel_mase_gmean": 0.8875244735823894, "rel_wql_gmean": 0.8403842810777853}, "Energy": {"n_configs": 32, "rel_mase_gmean": 0.9087658576829913, "rel_wql_gmean": 0.6587920995189684}, "Healthcare": {"n_configs": 5, "rel_mase_gmean": 0.543080108157968, "rel_wql_gmean": 0.4777018558191549}, "Nature": {"n_configs": 15, "rel_mase_gmean": 0.8233232817435949, "rel_wql_gmean": 0.41532712626342605}, "Sales": {"n_configs": 4, "rel_mase_gmean": 0.8516665365943131, "rel_wql_gmean": 0.5231632490166208}, "Transport": {"n_configs": 15, "rel_mase_gmean": 0.6497998799593464, "rel_wql_gmean": 0.4492859399098823}, "Web/CloudOps": {"n_configs": 20, "rel_mase_gmean": 0.5781861274264414, "rel_wql_gmean": 0.44650616430441376}}, "frequency": {"A": {"n_configs": 1, "rel_mase_gmean": 0.5873281971643998, "rel_wql_gmean": 0.6058110318430969}, "D": {"n_configs": 15, "rel_mase_gmean": 0.7719258996640607, "rel_wql_gmean": 0.5345889236063164}, "H": {"n_configs": 31, "rel_mase_gmean": 0.7366915815034876, "rel_wql_gmean": 0.5089583886899359}, "M": {"n_configs": 5, "rel_mase_gmean": 0.9510843238071468, "rel_wql_gmean": 0.8169805311054247}, "Q": {"n_configs": 1, "rel_mase_gmean": 0.7644938931981613, "rel_wql_gmean": 0.8152747643601708}, "S": {"n_configs": 6, "rel_mase_gmean": 0.6685340888455691, "rel_wql_gmean": 0.5091437747166068}, "T": {"n_configs": 30, "rel_mase_gmean": 0.7148826172332176, "rel_wql_gmean": 0.47148787359530364}, "W": {"n_configs": 8, "rel_mase_gmean": 0.8914877538532456, "rel_wql_gmean": 0.6588111030761158}}, "variates": {"multivariate": {"n_configs": 43, "rel_mase_gmean": 0.7290541563056184, "rel_wql_gmean": 0.5287029553176266}, "univariate": {"n_configs": 54, "rel_mase_gmean": 0.7684379883482877, "rel_wql_gmean": 0.527034099640052}}}, "group_skill_delta": {"term": {"long": 0.004092208886390503, "medium": 8.309322438238009e-05, "short": -0.0030521212277913046}, "domain": {"Econ/Fin": 0.0006441364715533693, "Energy": 0.0014062017199650834, "Healthcare": -0.028834187606715744, "Nature": -0.002790724810357692, "Sales": 0.017890090431273875, "Transport": 0.00127067596935182, "Web/CloudOps": 0.0005774820877099129}, "frequency": {"A": -0.017809236948905238, "D": 0.006394751198204207, "H": 0.0022872390117658625, "M": -0.05637256307456728, "Q": -0.009326461942217534, "S": 0.0012323901879393029, "T": 0.0027260587528491476, "W": -0.018044565701577198}, "variates": {"multivariate": 0.0010223801302111646, "univariate": -0.002221796075429605}}}, {"cutoff": "backcast_evals", "candidate_skill": 0.33824610867045346, "control_skill": 0.3353054646903827, "delta": 0.0029406439800707673, "candidate_checkpoint": "2877a38b94a7d77a53a9df410349cecc2f6ab134c83a76744924543bbe73eb17", "control_checkpoint": "6e40fa235d296be4a3d3b4a5a1503e1ba3435bdee0cc72b7243ab5a0f4e8e1ff", "candidate_eval_seconds": 44.69964671134949, "candidate_groups": {"term": {"long": {"n_configs": 21, "rel_mase_gmean": 0.767179635819508, "rel_wql_gmean": 0.469696618016389}, "medium": {"n_configs": 21, "rel_mase_gmean": 0.7828926856771706, "rel_wql_gmean": 0.5368263694592864}, "short": {"n_configs": 55, "rel_mase_gmean": 0.8029614769081251, "rel_wql_gmean": 0.596826629746078}}, "domain": {"Econ/Fin": {"n_configs": 6, "rel_mase_gmean": 0.861873995872093, "rel_wql_gmean": 0.7965171238581934}, "Energy": {"n_configs": 32, "rel_mase_gmean": 0.8935862654714792, "rel_wql_gmean": 0.6774145747358292}, "Healthcare": {"n_configs": 5, "rel_mase_gmean": 0.6138424889842574, "rel_wql_gmean": 0.5932564284809301}, "Nature": {"n_configs": 15, "rel_mase_gmean": 0.9168551335649286, "rel_wql_gmean": 0.4340635823332928}, "Sales": {"n_configs": 4, "rel_mase_gmean": 0.7188988537728744, "rel_wql_gmean": 0.48499499553505565}, "Transport": {"n_configs": 15, "rel_mase_gmean": 0.7462699611869393, "rel_wql_gmean": 0.5395797047660634}, "Web/CloudOps": {"n_configs": 20, "rel_mase_gmean": 0.6430472777098825, "rel_wql_gmean": 0.44455529964520585}}, "frequency": {"A": {"n_configs": 1, "rel_mase_gmean": 0.6341800252941512, "rel_wql_gmean": 0.696755385124873}, "D": {"n_configs": 15, "rel_mase_gmean": 0.8344548048310172, "rel_wql_gmean": 0.500809450101347}, "H": {"n_configs": 31, "rel_mase_gmean": 0.7782363757384401, "rel_wql_gmean": 0.5158315651859775}, "M": {"n_configs": 5, "rel_mase_gmean": 0.8055190380372165, "rel_wql_gmean": 0.7755827321093778}, "Q": {"n_configs": 1, "rel_mase_gmean": 0.7655830556202878, "rel_wql_gmean": 0.7787887957658126}, "S": {"n_configs": 6, "rel_mase_gmean": 0.8489553012449111, "rel_wql_gmean": 0.4961640634391454}, "T": {"n_configs": 30, "rel_mase_gmean": 0.7569087000198099, "rel_wql_gmean": 0.5832169340344545}, "W": {"n_configs": 8, "rel_mase_gmean": 0.8664871456943896, "rel_wql_gmean": 0.5943260257589894}}, "variates": {"multivariate": {"n_configs": 43, "rel_mase_gmean": 0.7731003216695507, "rel_wql_gmean": 0.5255208656084333}, "univariate": {"n_configs": 54, "rel_mase_gmean": 0.805057501748169, "rel_wql_gmean": 0.577429860356698}}}, "control_groups": {"term": {"long": {"n_configs": 21, "rel_mase_gmean": 0.7650172273548806, "rel_wql_gmean": 0.47173162995684814}, "medium": {"n_configs": 21, "rel_mase_gmean": 0.7809917949579516, "rel_wql_gmean": 0.5370869487194581}, "short": {"n_configs": 55, "rel_mase_gmean": 0.8106169725823072, "rel_wql_gmean": 0.6006108108192709}}, "domain": {"Econ/Fin": {"n_configs": 6, "rel_mase_gmean": 0.8734349520966769, "rel_wql_gmean": 0.8052445182067821}, "Energy": {"n_configs": 32, "rel_mase_gmean": 0.8957035304440725, "rel_wql_gmean": 0.6741500529719868}, "Healthcare": {"n_configs": 5, "rel_mase_gmean": 0.63838647053132, "rel_wql_gmean": 0.5835510378000818}, "Nature": {"n_configs": 15, "rel_mase_gmean": 0.9175240695908381, "rel_wql_gmean": 0.44064364211451595}, "Sales": {"n_configs": 4, "rel_mase_gmean": 0.7418835093256247, "rel_wql_gmean": 0.49881350673301367}, "Transport": {"n_configs": 15, "rel_mase_gmean": 0.7448034545821163, "rel_wql_gmean": 0.540744227706353}, "Web/CloudOps": {"n_configs": 20, "rel_mase_gmean": 0.6415230636492482, "rel_wql_gmean": 0.4501445251087219}}, "frequency": {"A": {"n_configs": 1, "rel_mase_gmean": 0.639316883974681, "rel_wql_gmean": 0.7004090676335968}, "D": {"n_configs": 15, "rel_mase_gmean": 0.8230472090541779, "rel_wql_gmean": 0.4908182851678489}, "H": {"n_configs": 31, "rel_mase_gmean": 0.7759858315539183, "rel_wql_gmean": 0.5215613393301185}, "M": {"n_configs": 5, "rel_mase_gmean": 0.8806263614426225, "rel_wql_gmean": 0.827460749563344}, "Q": {"n_configs": 1, "rel_mase_gmean": 0.7647921511056014, "rel_wql_gmean": 0.7896970436959874}, "S": {"n_configs": 6, "rel_mase_gmean": 0.8494412138327535, "rel_wql_gmean": 0.4983698826322618}, "T": {"n_configs": 30, "rel_mase_gmean": 0.7584711361808704, "rel_wql_gmean": 0.5879902947236932}, "W": {"n_configs": 8, "rel_mase_gmean": 0.8872852371551831, "rel_wql_gmean": 0.5792472078751053}}, "variates": {"multivariate": {"n_configs": 43, "rel_mase_gmean": 0.7734128938469124, "rel_wql_gmean": 0.5304385392303502}, "univariate": {"n_configs": 54, "rel_mase_gmean": 0.8109556621867035, "rel_wql_gmean": 0.5779443810907645}}}, "group_skill_delta": {"term": {"long": 0.00045056976061330634, "medium": -0.0006303797647274623, "short": 0.005493820429575358}, "domain": {"Econ/Fin": 0.010095566026877889, "Energy": -0.0009579952770162325, "Healthcare": 0.006891565195451088, "Nature": 0.0049954474357981615, "Sales": 0.017850443432284258, "Transport": 5.991504113123103e-05, "Web/CloudOps": 0.0027125809556808322}, "frequency": {"A": 0.004434368389614529, "D": -0.010870375885140504, "H": 0.002587333224448485, "M": 0.06322057926853908, "Q": 0.004987143992373544, "S": 0.001627201761496666, "T": 0.0034016028177875635, "W": -0.0007098965948213465}, "variates": {"multivariate": 0.003104806884362654, "univariate": 0.0027978484562715122}}}, {"cutoff": "backcast2_evals", "candidate_skill": 0.36105190344557336, "control_skill": 0.35764592194596245, "delta": 0.0034059814996109106, "candidate_checkpoint": "2877a38b94a7d77a53a9df410349cecc2f6ab134c83a76744924543bbe73eb17", "control_checkpoint": "6e40fa235d296be4a3d3b4a5a1503e1ba3435bdee0cc72b7243ab5a0f4e8e1ff", "candidate_eval_seconds": 46.10557222366333, "candidate_groups": {"term": {"long": {"n_configs": 19, "rel_mase_gmean": 0.7938914676962915, "rel_wql_gmean": 0.4997987659435392}, "medium": {"n_configs": 21, "rel_mase_gmean": 0.7479010239161168, "rel_wql_gmean": 0.5003155170838207}, "short": {"n_configs": 54, "rel_mase_gmean": 0.7609255559698398, "rel_wql_gmean": 0.5606087217682991}}, "domain": {"Econ/Fin": {"n_configs": 6, "rel_mase_gmean": 0.8799701118196165, "rel_wql_gmean": 0.9122237463187874}, "Energy": {"n_configs": 32, "rel_mase_gmean": 0.9126101711758015, "rel_wql_gmean": 0.6584155779396941}, "Healthcare": {"n_configs": 5, "rel_mase_gmean": 0.6451541873129701, "rel_wql_gmean": 0.5743142288063876}, "Nature": {"n_configs": 15, "rel_mase_gmean": 0.7693885351800274, "rel_wql_gmean": 0.37629643254467365}, "Sales": {"n_configs": 3, "rel_mase_gmean": 0.5639827878813234, "rel_wql_gmean": 0.350068781483157}, "Transport": {"n_configs": 14, "rel_mase_gmean": 0.6803145821810495, "rel_wql_gmean": 0.5111872339630943}, "Web/CloudOps": {"n_configs": 19, "rel_mase_gmean": 0.6456926038426319, "rel_wql_gmean": 0.45240238536116284}}, "frequency": {"A": {"n_configs": 1, "rel_mase_gmean": 0.5979204759398598, "rel_wql_gmean": 0.8027848591495264}, "D": {"n_configs": 15, "rel_mase_gmean": 0.728730345307442, "rel_wql_gmean": 0.455511782486644}, "H": {"n_configs": 30, "rel_mase_gmean": 0.7482416040189465, "rel_wql_gmean": 0.4877099397835897}, "M": {"n_configs": 4, "rel_mase_gmean": 0.8005120915083439, "rel_wql_gmean": 0.8454317149733872}, "Q": {"n_configs": 1, "rel_mase_gmean": 0.8348690847756616, "rel_wql_gmean": 0.8797493502482598}, "S": {"n_configs": 6, "rel_mase_gmean": 0.8928287107309677, "rel_wql_gmean": 0.5523203389775555}, "T": {"n_configs": 29, "rel_mase_gmean": 0.7464318146300277, "rel_wql_gmean": 0.5479341585960555}, "W": {"n_configs": 8, "rel_mase_gmean": 0.877468091078322, "rel_wql_gmean": 0.6369751521426078}}, "variates": {"multivariate": {"n_configs": 42, "rel_mase_gmean": 0.7616377294454229, "rel_wql_gmean": 0.5095984347010085}, "univariate": {"n_configs": 52, "rel_mase_gmean": 0.7668598001681564, "rel_wql_gmean": 0.5545590182611448}}}, "control_groups": {"term": {"long": {"n_configs": 19, "rel_mase_gmean": 0.795762351065454, "rel_wql_gmean": 0.5048000326518496}, "medium": {"n_configs": 21, "rel_mase_gmean": 0.7461726318978812, "rel_wql_gmean": 0.5008300650332542}, "short": {"n_configs": 54, "rel_mase_gmean": 0.7653582854027554, "rel_wql_gmean": 0.5656029122753404}}, "domain": {"Econ/Fin": {"n_configs": 6, "rel_mase_gmean": 0.8844826760826884, "rel_wql_gmean": 0.9038313847396334}, "Energy": {"n_configs": 32, "rel_mase_gmean": 0.9164866895767413, "rel_wql_gmean": 0.663496204788093}, "Healthcare": {"n_configs": 5, "rel_mase_gmean": 0.6692500117284449, "rel_wql_gmean": 0.5885070087969348}, "Nature": {"n_configs": 15, "rel_mase_gmean": 0.7699516249220331, "rel_wql_gmean": 0.37933953568375045}, "Sales": {"n_configs": 3, "rel_mase_gmean": 0.5648558665119814, "rel_wql_gmean": 0.3569667475686651}, "Transport": {"n_configs": 14, "rel_mase_gmean": 0.6787659619889969, "rel_wql_gmean": 0.5111557516564603}, "Web/CloudOps": {"n_configs": 19, "rel_mase_gmean": 0.6448916363828848, "rel_wql_gmean": 0.45715640779484273}}, "frequency": {"A": {"n_configs": 1, "rel_mase_gmean": 0.5787699821271256, "rel_wql_gmean": 0.7573026212897106}, "D": {"n_configs": 15, "rel_mase_gmean": 0.7315814026600997, "rel_wql_gmean": 0.453348762642364}, "H": {"n_configs": 30, "rel_mase_gmean": 0.7483110836431279, "rel_wql_gmean": 0.49254512193895256}, "M": {"n_configs": 4, "rel_mase_gmean": 0.814008834766287, "rel_wql_gmean": 0.8668648112482316}, "Q": {"n_configs": 1, "rel_mase_gmean": 0.8374023760339016, "rel_wql_gmean": 0.8834045827159994}, "S": {"n_configs": 6, "rel_mase_gmean": 0.901548208978998, "rel_wql_gmean": 0.56269665693173}, "T": {"n_configs": 29, "rel_mase_gmean": 0.7474657467586522, "rel_wql_gmean": 0.5513079435383147}, "W": {"n_configs": 8, "rel_mase_gmean": 0.889909158733574, "rel_wql_gmean": 0.6473687190538074}}, "variates": {"multivariate": {"n_configs": 42, "rel_mase_gmean": 0.7650817704324117, "rel_wql_gmean": 0.5155543582402501}, "univariate": {"n_configs": 52, "rel_mase_gmean": 0.7686360400870299, "rel_wql_gmean": 0.556713898468019}}}, "group_skill_delta": {"term": {"long": 0.0038892560400821674, "medium": -0.0003931241844432609, "short": 0.004810839916473686}, "domain": {"Econ/Fin": -0.0018471093842234998, "Energy": 0.00463592861902129, "Healthcare": 0.018876777137277867, "Nature": 0.0023689520491817495, "Sales": 0.004703523001896304, "Transport": -0.0006897184372798293, "Web/CloudOps": 0.0024952542172785863}, "frequency": {"A": -0.030776074970406353, "D": -0.0002462874737407805, "H": 0.0030152904604858755, "M": 0.017355829454799077, "Q": 0.003080499902602396, "S": 0.010018322638286725, "T": 0.0024099879404980706, "W": 0.01139897387080091}, "variates": {"multivariate": 0.005045255714340002, "univariate": 0.002022046061624594}}}, {"cutoff": "backcast3_evals", "candidate_skill": 0.3791072202284068, "control_skill": 0.37883891538276704, "delta": 0.0002683048456397774, "candidate_checkpoint": "2877a38b94a7d77a53a9df410349cecc2f6ab134c83a76744924543bbe73eb17", "control_checkpoint": "6e40fa235d296be4a3d3b4a5a1503e1ba3435bdee0cc72b7243ab5a0f4e8e1ff", "candidate_eval_seconds": 48.116257667541504, "candidate_groups": {"term": {"long": {"n_configs": 19, "rel_mase_gmean": 0.7700430237734708, "rel_wql_gmean": 0.47820012115872046}, "medium": {"n_configs": 20, "rel_mase_gmean": 0.7566729630877351, "rel_wql_gmean": 0.5212625148311835}, "short": {"n_configs": 54, "rel_mase_gmean": 0.743562296889515, "rel_wql_gmean": 0.522447177631314}}, "domain": {"Econ/Fin": {"n_configs": 6, "rel_mase_gmean": 0.8384908114780523, "rel_wql_gmean": 0.8259874785586008}, "Energy": {"n_configs": 32, "rel_mase_gmean": 0.8533594437002346, "rel_wql_gmean": 0.570433155614779}, "Healthcare": {"n_configs": 5, "rel_mase_gmean": 0.9355966819043433, "rel_wql_gmean": 0.7447592487539578}, "Nature": {"n_configs": 15, "rel_mase_gmean": 0.726272409367948, "rel_wql_gmean": 0.34580508538281657}, "Sales": {"n_configs": 3, "rel_mase_gmean": 0.7645972695514087, "rel_wql_gmean": 0.48376113135894505}, "Transport": {"n_configs": 14, "rel_mase_gmean": 0.5562216672114354, "rel_wql_gmean": 0.460346317036627}, "Web/CloudOps": {"n_configs": 18, "rel_mase_gmean": 0.7061519904001345, "rel_wql_gmean": 0.4978632439753042}}, "frequency": {"A": {"n_configs": 1, "rel_mase_gmean": 0.5926728414450325, "rel_wql_gmean": 0.8350213742977284}, "D": {"n_configs": 15, "rel_mase_gmean": 0.7717643606285386, "rel_wql_gmean": 0.43603542856183236}, "H": {"n_configs": 29, "rel_mase_gmean": 0.7361553505567909, "rel_wql_gmean": 0.49604172586139594}, "M": {"n_configs": 4, "rel_mase_gmean": 0.9149964427971231, "rel_wql_gmean": 0.9046096643355541}, "Q": {"n_configs": 1, "rel_mase_gmean": 0.7246737629732861, "rel_wql_gmean": 0.7820574068443148}, "S": {"n_configs": 6, "rel_mase_gmean": 0.8551220579630898, "rel_wql_gmean": 0.6006805354195802}, "T": {"n_configs": 29, "rel_mase_gmean": 0.6947625756223746, "rel_wql_gmean": 0.45915444373651726}, "W": {"n_configs": 8, "rel_mase_gmean": 0.8746416354594816, "rel_wql_gmean": 0.6989764967731741}}, "variates": {"multivariate": {"n_configs": 41, "rel_mase_gmean": 0.7712118553212413, "rel_wql_gmean": 0.5165843423740577}, "univariate": {"n_configs": 52, "rel_mase_gmean": 0.7366951131406715, "rel_wql_gmean": 0.5098998050607239}}}, "control_groups": {"term": {"long": {"n_configs": 19, "rel_mase_gmean": 0.7710093862560393, "rel_wql_gmean": 0.48145504558378305}, "medium": {"n_configs": 20, "rel_mase_gmean": 0.7556631249580565, "rel_wql_gmean": 0.526891723054916}, "short": {"n_configs": 54, "rel_mase_gmean": 0.7405427790241224, "rel_wql_gmean": 0.5220531634759572}}, "domain": {"Econ/Fin": {"n_configs": 6, "rel_mase_gmean": 0.8369279740219194, "rel_wql_gmean": 0.8162520648058149}, "Energy": {"n_configs": 32, "rel_mase_gmean": 0.8555156341650978, "rel_wql_gmean": 0.5728948490401817}, "Healthcare": {"n_configs": 5, "rel_mase_gmean": 0.8849050070180935, "rel_wql_gmean": 0.7092177758963885}, "Nature": {"n_configs": 15, "rel_mase_gmean": 0.7214615809982889, "rel_wql_gmean": 0.351077393491105}, "Sales": {"n_configs": 3, "rel_mase_gmean": 0.7661080934651817, "rel_wql_gmean": 0.4871542965879641}, "Transport": {"n_configs": 14, "rel_mase_gmean": 0.5614540308309911, "rel_wql_gmean": 0.46390765128414563}, "Web/CloudOps": {"n_configs": 18, "rel_mase_gmean": 0.7041553851660223, "rel_wql_gmean": 0.5013319490268304}}, "frequency": {"A": {"n_configs": 1, "rel_mase_gmean": 0.5269109788139515, "rel_wql_gmean": 0.7358353623166535}, "D": {"n_configs": 15, "rel_mase_gmean": 0.786835922299246, "rel_wql_gmean": 0.4461893275560026}, "H": {"n_configs": 29, "rel_mase_gmean": 0.7334761570101263, "rel_wql_gmean": 0.49746378039868394}, "M": {"n_configs": 4, "rel_mase_gmean": 0.888468781818334, "rel_wql_gmean": 0.8746269527619119}, "Q": {"n_configs": 1, "rel_mase_gmean": 0.7186577154873245, "rel_wql_gmean": 0.7559252667851271}, "S": {"n_configs": 6, "rel_mase_gmean": 0.8520735137455233, "rel_wql_gmean": 0.610595094303494}, "T": {"n_configs": 29, "rel_mase_gmean": 0.7005291316198885, "rel_wql_gmean": 0.46432834015136293}, "W": {"n_configs": 8, "rel_mase_gmean": 0.8338970447008786, "rel_wql_gmean": 0.677195128798985}}, "variates": {"multivariate": {"n_configs": 41, "rel_mase_gmean": 0.7738533110452481, "rel_wql_gmean": 0.5222455704762278}, "univariate": {"n_configs": 52, "rel_mase_gmean": 0.7315731035639104, "rel_wql_gmean": 0.5084907007458334}}}, "group_skill_delta": {"term": {"long": 0.0024436437602908256, "medium": 0.0029605374741091817, "short": -0.0015014050169452897}, "domain": {"Econ/Fin": -0.005690294076517222, "Energy": 0.002386617766467092, "Healthcare": -0.042536035991448395, "Nature": 0.0021307293250875103, "Sales": 0.002731878875762317, "Transport": 0.004337207537003618, "Web/CloudOps": 0.0012201944335826775}, "frequency": {"A": -0.08081593061591241, "D": 0.012417666084862944, "H": -0.00023664608583251479, "M": -0.028267531562737203, "Q": -0.015763039460945705, "S": 0.00460135567573372, "T": 0.0055255237700803095, "W": -0.03041869701521771}, "variates": {"multivariate": 0.004535055118099263, "univariate": -0.002978851227565915}}}], "mean_delta": 0.0014632718399651412, "positive_cutoffs": 3, "outcome": "Declared comparison checkpoints 6000,12000. No transfer formula or automatic publication is selected by this controller."} + +2026-10-23T22:29:46.370972+00:00: E141primary6k matchedpatch8 effect3of4positive,mean+0.001463271840, longtermgroup positiveall4; final12k originalschedule continues. E152full-corpus/refreshed-expert recovery6vs3+3 passed bitwise all model/optimizer/EMA/NumPyTorchCUDA RNG/prefetch/ancestry keys;12fixtureoptimizerupdates, 269.476998004s incl90.908342783slockwait. Privateinitialpackage393516c89f812393e2a63756d5e794da1c62360539f437ee62dc069e20fe8afb totals256650268parameters, isengineeringfixtureonly; relocationpending. No E152trainingqueued yet. + +2026-10-23T22:30:59.769571+00:00: E152 queued after all CPU/GPU/full-recovery/relocation checks. Privateinitialpackage three realconfigurations exact after relocation,42.286248246s, finiteordered. Queues [{"name": "ensemble_gate_refresh", "queue_pid": 4800, "watch_pid": 4801, "selection_pid": 4802, "wait_pid": 1280, "required_checkpoint": "/workspace/research/runs/integrated_level/ema012000.pt"}, {"name": "ensemble_gate_full", "queue_pid": 4803, "watch_pid": 4804, "selection_pid": 4805, "wait_pid": 4800, "required_checkpoint": "/workspace/research/runs/ensemble_gate_refresh/ema012000.pt"}, {"name": "ensemble_gate_refresh_full", "queue_pid": 4806, "watch_pid": 4807, "selection_pid": 4808, "wait_pid": 4803, "required_checkpoint": "/workspace/research/runs/ensemble_gate_full/ema012000.pt"}]. Persistentlauncher85531; sequential E149queue1280final12k -> refresh/oldpack -> E130/fullpack -> refresh/fullpack. All same owninitial9d1401cd...,seed751/B64/LR.001/12k, originalAR/horizon300754, old source probabilities, frozen snapshots; no extra concurrent trainer. First publication gate remains source equalquarters plus currentpublication >=3positive/positive mean on fourcutoffs then full97/runtimechecks. No expert/bound/data-law changes beyond declared2×2factors. + +## E153 matched146M patch-resolution fourth-expert replacement — declared 2026-10-23T22:31:33.548246+00:00 +E141primary6k patch8 continuation beats matched patch16 continuation3of4,mean+0.001463271840, with positive long-termgroup inall4. Hypothesis: this long-horizon improvement can help the fourth member of the current equal-quarter ensemble. Fix the firstthree E148members and compare two quartets with only the fourth changing: matched E141patch16control versus E141patch8candidate at6000. Also compare to frozenE148originalwide96fourth. All ordered weights0.25; every expert forecasts every instance; no mixture coefficients/checkpoint sweep. Sourcefinal12000 is a predefined durability repetition only if the source paired result againpasses>=3positive/positive mean. Ensemble selection requires>=3positive/positive mean versus both matchedquartet and frozenE148, followed by then-currentpublication checks/full97replay/runtime/composition. No new training or weightsmerged. +{"status": "declared; primary fixed quartet probes pending", "declared_utc": "2026-10-23T22:31:33.548246+00:00", "formula": "Keep E148first3 experts and ordered equal quarters; compare E141patch8 candidate fourth against its matched patch16 continuation fourth and frozen E148 original fourth", "fixed_first_three": ["seasonal_width_transfer12k", "patch8_ema6000", "split_patch_ema12000"], "fixed_first_three_hashes": ["0b11b7351a4a92d1d18c71a4159ec445be3a94ace8c7a9fa0edafad87d14e960", "308389b7217c080af9eb185559d4ee3cafa0f3e0f8c4dd8f5526b68198c89988", "1a2fb20a9fb5cae6526f2e36ea47559626bece78fd9c284899836505030ae9fe"], "source_primary": 6000, "source_final": 12000, "source_controls": "capacity_patch8_candidate versus capacity_patch8_control at the same step", "frozen_parent_descriptor": "a1b4ab426901be8e1ee299eeeb3f041bac7cea3d4e59c4608824fc3d05c83e03", "gate": "Source matched >=3positive/positive mean required; quartets then >=3positive/positive mean against both matched quartet and frozen E148; current-publication recheck before full replay. Final12k follows same predeclared source gate.", "no_weight_sweep": true, "new_training": false} + +2026-10-23T22:32:12.856802+00:00: E153 fixed matched patch8 quartet {"step": 6000, "status": "probes complete; review required", "rows": [{"cutoff": "valid_screen", "skill": 0.38789438191103254, "matched_control_skill": 0.3879075778166178, "frozen_parent_skill": 0.3882279509777624, "delta_matched": -1.319590558523931e-05, "delta_frozen_parent": -0.0003335690667298774, "groups": {"term": {"short": 0.3716826509138309, "medium": 0.41039569970032963, "long": 0.4065845305446606}, "domain": {"Econ/Fin": 0.152452622133746, "Energy": 0.24758213300465193, "Healthcare": 0.48553074773991434, "Nature": 0.4404309113583975, "Sales": 0.3487392730237323, "Transport": 0.473151650954438, "Web/CloudOps": 0.5073042908980989}, "freq": {"A-DEC": 0.38272711896866796, "Q-DEC": 0.20432279691054978, "M": 0.11688352014517778, "W-SUN": 0.11141699186572074, "D": 0.3739451249684639, "H": 0.4037027086832654, "15T": 0.21730718302115903, "W-FRI": 0.012464757182048536, "10T": 0.6258016915487774, "W-TUE": 0.6150790483685625, "W-THU": 0.21580449319311035, "W-WED": 0.32708618043224524, "5T": 0.52172865559843, "10S": 0.4245351613485294}}, "group_deltas_vs_frozen_parent": {"term": {"short": -0.0006191193394579075, "medium": -0.0005349763001289976, "long": 0.0005770132838742725}, "domain": {"Econ/Fin": 0.003439337373139617, "Energy": 0.00018177976590127987, "Healthcare": -0.009538531570669306, "Nature": -0.0009345687031033778, "Sales": 0.004129101264573887, "Transport": 0.000542012705858963, "Web/CloudOps": -0.00017147641076609155}, "freq": {"A-DEC": -0.0009234534305426756, "Q-DEC": -0.0017445595924810986, "M": -0.009938925892063466, "W-SUN": 0.021731334605168406, "D": 0.001810460392337343, "H": 0.00011483390248578917, "15T": -0.0005802476265094336, "W-FRI": -0.007895502438011959, "10T": 0.0007335273173829648, "W-TUE": -0.026462492173384256, "W-THU": -0.0021249842032053934, "W-WED": 1.1189790554144707e-06, "5T": 0.0008473586412847123, "10S": 0.0005073796367842665}}, "member_checkpoint_hashes": ["0b11b7351a4a92d1d18c71a4159ec445be3a94ace8c7a9fa0edafad87d14e960", "308389b7217c080af9eb185559d4ee3cafa0f3e0f8c4dd8f5526b68198c89988", "1a2fb20a9fb5cae6526f2e36ea47559626bece78fd9c284899836505030ae9fe", "2877a38b94a7d77a53a9df410349cecc2f6ab134c83a76744924543bbe73eb17"], "control_member_checkpoint_hashes": ["0b11b7351a4a92d1d18c71a4159ec445be3a94ace8c7a9fa0edafad87d14e960", "308389b7217c080af9eb185559d4ee3cafa0f3e0f8c4dd8f5526b68198c89988", "1a2fb20a9fb5cae6526f2e36ea47559626bece78fd9c284899836505030ae9fe", "6e40fa235d296be4a3d3b4a5a1503e1ba3435bdee0cc72b7243ab5a0f4e8e1ff"], "candidate_cpu_seconds": 1.4638910831417888, "control_cpu_seconds": 2.0792099670507014}, {"cutoff": "valid_backcast", "skill": 0.34658110925455166, "matched_control_skill": 0.34585589441289166, "frozen_parent_skill": 0.3456661156587746, "delta_matched": 0.0007252148416599935, "delta_frozen_parent": 0.0009149935957770694, "groups": {"term": {"short": 0.31514052367773493, "medium": 0.36379674980160615, "long": 0.40661946739644783}, "domain": {"Econ/Fin": 0.18373518527670607, "Energy": 0.2349810827938953, "Healthcare": 0.4113641828024872, "Nature": 0.38197733788881594, "Sales": 0.41206379102519786, "Transport": 0.37780206822254203, "Web/CloudOps": 0.4614482518531561}, "freq": {"A-DEC": 0.3351138717424619, "Q-DEC": 0.23928708243269425, "M": 0.20390425726286987, "W-SUN": 0.06061579854594834, "D": 0.3624164006702063, "H": 0.3766653024310761, "15T": 0.2237529361657158, "W-FRI": 0.2308906720153432, "10T": 0.3351830233649188, "W-TUE": 0.5464843360026364, "W-THU": 0.27728993083211395, "W-WED": 0.36272109206738634, "5T": 0.4499549547482027, "10S": 0.35018044714379315}}, "group_deltas_vs_frozen_parent": {"term": {"short": 0.0020711553746194378, "medium": -0.00029909779485048915, "long": -0.0005781085562804877}, "domain": {"Econ/Fin": 0.0032999104912564414, "Energy": 0.00016567884938156752, "Healthcare": 0.00392889599637869, "Nature": 0.0006740931446881371, "Sales": 0.004539566507323456, "Transport": 0.0001372011764959602, "Web/CloudOps": 0.000563393963748493}, "freq": {"A-DEC": 0.0033327468545278904, "Q-DEC": 0.002045350763636211, "M": 0.01642624828612027, "W-SUN": 0.01468949169272804, "D": -0.0017726123172765451, "H": 0.00029663605779972624, "15T": 0.0006053630218870731, "W-FRI": -0.010514246344272338, "10T": -0.00030070756669675625, "W-TUE": -0.00498225252249207, "W-THU": 0.009571866413376151, "W-WED": 0.0002484606787651611, "5T": 0.0012255264279708022, "10S": 0.00030291649431790635}}, "member_checkpoint_hashes": ["0b11b7351a4a92d1d18c71a4159ec445be3a94ace8c7a9fa0edafad87d14e960", "308389b7217c080af9eb185559d4ee3cafa0f3e0f8c4dd8f5526b68198c89988", "1a2fb20a9fb5cae6526f2e36ea47559626bece78fd9c284899836505030ae9fe", "2877a38b94a7d77a53a9df410349cecc2f6ab134c83a76744924543bbe73eb17"], "control_member_checkpoint_hashes": ["0b11b7351a4a92d1d18c71a4159ec445be3a94ace8c7a9fa0edafad87d14e960", "308389b7217c080af9eb185559d4ee3cafa0f3e0f8c4dd8f5526b68198c89988", "1a2fb20a9fb5cae6526f2e36ea47559626bece78fd9c284899836505030ae9fe", "6e40fa235d296be4a3d3b4a5a1503e1ba3435bdee0cc72b7243ab5a0f4e8e1ff"], "candidate_cpu_seconds": 2.0900254510343075, "control_cpu_seconds": 1.9960372908972204}, {"cutoff": "valid_backcast2", "skill": 0.3704727688606547, "matched_control_skill": 0.36963045304223463, "frozen_parent_skill": 0.36966272417010304, "delta_matched": 0.0008423158184200918, "delta_frozen_parent": 0.0008100446905516812, "groups": {"term": {"short": 0.3579599925994683, "medium": 0.3979574844502304, "long": 0.37461197571352733}, "domain": {"Econ/Fin": 0.12859700342100555, "Energy": 0.24204910831998105, "Healthcare": 0.368879188405543, "Nature": 0.48199621264865056, "Sales": 0.5594054551325436, "Transport": 0.4275553195700521, "Web/CloudOps": 0.45035300696197844}, "freq": {"A-DEC": 0.3318344142580846, "Q-DEC": 0.15722021384548412, "M": 0.17866477023439598, "W-SUN": 0.07932133340551362, "D": 0.4350826536410256, "H": 0.4014254236871905, "15T": 0.10694125662935405, "W-FRI": 0.148543027709804, "10T": 0.5079380640256087, "W-TUE": 0.14355510549415273, "W-THU": 0.34328346575847346, "W-WED": 0.5657545296957406, "5T": 0.4841748820529802, "10S": 0.29299566355818607}}, "group_deltas_vs_frozen_parent": {"term": {"short": 0.001682565284642057, "medium": -0.000995201273843005, "long": 0.0004705070560675484}, "domain": {"Econ/Fin": 0.0010891038599407654, "Energy": 0.0012842760584469426, "Healthcare": 0.006709540109612, "Nature": -0.0002729161892616183, "Sales": 0.00016275794627929052, "Transport": -0.00032794879558517565, "Web/CloudOps": 0.0006122437173570194}, "freq": {"A-DEC": -0.006351765099964823, "Q-DEC": 0.0016365232240885819, "M": 0.009541085656358694, "W-SUN": 0.0067344950085096444, "D": -0.0002646746895560437, "H": 0.0008316334931821601, "15T": 0.0006136260192435294, "W-FRI": 0.00342511466453177, "10T": -0.0011580513858133745, "W-TUE": -0.01025795297865062, "W-THU": 0.001979172739603685, "W-WED": 0.005356536050671212, "5T": 0.0005136859250426395, "10S": 0.0020947077419534166}}, "member_checkpoint_hashes": ["0b11b7351a4a92d1d18c71a4159ec445be3a94ace8c7a9fa0edafad87d14e960", "308389b7217c080af9eb185559d4ee3cafa0f3e0f8c4dd8f5526b68198c89988", "1a2fb20a9fb5cae6526f2e36ea47559626bece78fd9c284899836505030ae9fe", "2877a38b94a7d77a53a9df410349cecc2f6ab134c83a76744924543bbe73eb17"], "control_member_checkpoint_hashes": ["0b11b7351a4a92d1d18c71a4159ec445be3a94ace8c7a9fa0edafad87d14e960", "308389b7217c080af9eb185559d4ee3cafa0f3e0f8c4dd8f5526b68198c89988", "1a2fb20a9fb5cae6526f2e36ea47559626bece78fd9c284899836505030ae9fe", "6e40fa235d296be4a3d3b4a5a1503e1ba3435bdee0cc72b7243ab5a0f4e8e1ff"], "candidate_cpu_seconds": 1.2618433579336852, "control_cpu_seconds": 1.8212555791251361}, {"cutoff": "valid_backcast3", "skill": 0.39304308383509057, "matched_control_skill": 0.3920396047746365, "frozen_parent_skill": 0.3921296782846404, "delta_matched": 0.00100347906045406, "delta_frozen_parent": 0.0009134055504501637, "groups": {"term": {"short": 0.397608861818194, "medium": 0.37381784718372724, "long": 0.3999017621812754}, "domain": {"Econ/Fin": 0.1909709168158069, "Energy": 0.3174847318132561, "Healthcare": 0.2242451898224831, "Nature": 0.5128124520864212, "Sales": 0.40262426361370174, "Transport": 0.5114388489862687, "Web/CloudOps": 0.40383261178867547}, "freq": {"A-DEC": 0.34921523491309814, "Q-DEC": 0.25793204389512236, "M": 0.13804953377717144, "W-SUN": 0.17829306298983916, "D": 0.44306240860559876, "H": 0.40829847007251285, "15T": 0.2604687518204737, "W-FRI": 0.039319353657611855, "10T": 0.6042658807773023, "W-TUE": 0.2745454999754512, "W-THU": 0.3567207558281287, "W-WED": 0.37337488344094805, "5T": 0.4757622829479863, "10S": 0.2948141717181474}}, "group_deltas_vs_frozen_parent": {"term": {"short": 0.0011374157497117121, "medium": 0.0006377353208122383, "long": 0.0005569700442369374}, "domain": {"Econ/Fin": -0.0005439182591960856, "Energy": 0.0003349554519556097, "Healthcare": -0.009823930697217764, "Nature": 0.004035139748222116, "Sales": 0.00021433974072138096, "Transport": 0.001223784445162468, "Web/CloudOps": 0.0010634703308067817}, "freq": {"A-DEC": -0.014072754648378538, "Q-DEC": -0.005635246812584538, "M": -0.008110571034104064, "W-SUN": 0.008058059582506272, "D": 0.002821797819297367, "H": 0.000251280574136592, "15T": 0.002355274688784381, "W-FRI": -0.004822112494551889, "10T": 0.0006418656210294138, "W-TUE": -0.013401359319408779, "W-THU": 0.0092489245102374, "W-WED": -0.0007586271710235959, "5T": 0.0020342241714026432, "10S": 0.0006104227029145592}}, "member_checkpoint_hashes": ["0b11b7351a4a92d1d18c71a4159ec445be3a94ace8c7a9fa0edafad87d14e960", "308389b7217c080af9eb185559d4ee3cafa0f3e0f8c4dd8f5526b68198c89988", "1a2fb20a9fb5cae6526f2e36ea47559626bece78fd9c284899836505030ae9fe", "2877a38b94a7d77a53a9df410349cecc2f6ab134c83a76744924543bbe73eb17"], "control_member_checkpoint_hashes": ["0b11b7351a4a92d1d18c71a4159ec445be3a94ace8c7a9fa0edafad87d14e960", "308389b7217c080af9eb185559d4ee3cafa0f3e0f8c4dd8f5526b68198c89988", "1a2fb20a9fb5cae6526f2e36ea47559626bece78fd9c284899836505030ae9fe", "6e40fa235d296be4a3d3b4a5a1503e1ba3435bdee0cc72b7243ab5a0f4e8e1ff"], "candidate_cpu_seconds": 2.2320581511594355, "control_cpu_seconds": 1.9829886180814356}], "source_checkpoint_hashes": {"control": "6e40fa235d296be4a3d3b4a5a1503e1ba3435bdee0cc72b7243ab5a0f4e8e1ff", "candidate": "2877a38b94a7d77a53a9df410349cecc2f6ab134c83a76744924543bbe73eb17"}, "positive_matched": 3, "mean_delta_matched": 0.0006394534537372265, "positive_frozen_parent": 3, "mean_delta_frozen_parent": 0.0005762186925122592, "optimizer_updates": 0, "new_neural_inference": false, "selection_gate_passed": true}. Then-current publication, full replay and runtime checks still required; no automatic publication. + +E101/E135 48000 matched distillation four cutoffs: {"label": "E101/E135 48000 matched distillation four cutoffs", "utc": "2026-10-23T22:32:15.013950+00:00", "candidate": "distill_ensemble_ema48000", "control": "random_capacity_1024_halflr_ema48000", "rows": [{"cutoff": "evals", "candidate_skill": 0.374488847696679, "control_skill": 0.36570581958166615, "delta": 0.008783028115012859, "candidate_checkpoint": "cf27592ebf1d27c2a780a2cd8f4232ccf3b1ed0825967cf01591aea19258b7b3", "control_checkpoint": "ea9055d683b93a4691e77bd64d46e301302765673055fd9b32ddb3a3e2f749df", "candidate_eval_seconds": 36.52210021018982, "candidate_groups": {"term": {"long": {"n_configs": 21, "rel_mase_gmean": 0.7495505710890882, "rel_wql_gmean": 0.48298562780647375}, "medium": {"n_configs": 21, "rel_mase_gmean": 0.7136340793603339, "rel_wql_gmean": 0.4935808252844609}, "short": {"n_configs": 55, "rel_mase_gmean": 0.7630953601123646, "rel_wql_gmean": 0.5497897977407307}}, "domain": {"Econ/Fin": {"n_configs": 6, "rel_mase_gmean": 0.8724758334873566, "rel_wql_gmean": 0.8399778188976308}, "Energy": {"n_configs": 32, "rel_mase_gmean": 0.899289631274196, "rel_wql_gmean": 0.6417404881056024}, "Healthcare": {"n_configs": 5, "rel_mase_gmean": 0.6440707978202843, "rel_wql_gmean": 0.5637211542228804}, "Nature": {"n_configs": 15, "rel_mase_gmean": 0.8160593712360066, "rel_wql_gmean": 0.4002298195253486}, "Sales": {"n_configs": 4, "rel_mase_gmean": 0.847265077176767, "rel_wql_gmean": 0.5174987129152518}, "Transport": {"n_configs": 15, "rel_mase_gmean": 0.6508227808310328, "rel_wql_gmean": 0.4466870715701648}, "Web/CloudOps": {"n_configs": 20, "rel_mase_gmean": 0.5644052988995789, "rel_wql_gmean": 0.43939991149267116}}, "frequency": {"A": {"n_configs": 1, "rel_mase_gmean": 0.5906876558321461, "rel_wql_gmean": 0.62185506663484}, "D": {"n_configs": 15, "rel_mase_gmean": 0.7847443397025363, "rel_wql_gmean": 0.5428103391350004}, "H": {"n_configs": 31, "rel_mase_gmean": 0.7359876909679736, "rel_wql_gmean": 0.497995598362188}, "M": {"n_configs": 5, "rel_mase_gmean": 1.0278415679112942, "rel_wql_gmean": 0.8725844919030948}, "Q": {"n_configs": 1, "rel_mase_gmean": 0.7619653739238118, "rel_wql_gmean": 0.8178685295465857}, "S": {"n_configs": 6, "rel_mase_gmean": 0.6589748624315481, "rel_wql_gmean": 0.5067834365433284}, "T": {"n_configs": 30, "rel_mase_gmean": 0.6921358879152449, "rel_wql_gmean": 0.45412517736664365}, "W": {"n_configs": 8, "rel_mase_gmean": 0.9198810896630777, "rel_wql_gmean": 0.677180418975374}}, "variates": {"multivariate": {"n_configs": 43, "rel_mase_gmean": 0.7136665011349164, "rel_wql_gmean": 0.5138231036324518}, "univariate": {"n_configs": 54, "rel_mase_gmean": 0.778744953194736, "rel_wql_gmean": 0.5290533980172134}}}, "control_groups": {"term": {"long": {"n_configs": 21, "rel_mase_gmean": 0.7662260094156811, "rel_wql_gmean": 0.5020347958679111}, "medium": {"n_configs": 21, "rel_mase_gmean": 0.7301951069360759, "rel_wql_gmean": 0.504117847493669}, "short": {"n_configs": 55, "rel_mase_gmean": 0.760169630057802, "rel_wql_gmean": 0.5569997956352839}}, "domain": {"Econ/Fin": {"n_configs": 6, "rel_mase_gmean": 0.9028304922158942, "rel_wql_gmean": 0.8610209443587438}, "Energy": {"n_configs": 32, "rel_mase_gmean": 0.9109454293905939, "rel_wql_gmean": 0.6586383074299472}, "Healthcare": {"n_configs": 5, "rel_mase_gmean": 0.5906912914017803, "rel_wql_gmean": 0.5056722543269967}, "Nature": {"n_configs": 15, "rel_mase_gmean": 0.8235409860259677, "rel_wql_gmean": 0.4231966180830639}, "Sales": {"n_configs": 4, "rel_mase_gmean": 0.827511700634232, "rel_wql_gmean": 0.5156149712576104}, "Transport": {"n_configs": 15, "rel_mase_gmean": 0.6493612164587901, "rel_wql_gmean": 0.44948344031797927}, "Web/CloudOps": {"n_configs": 20, "rel_mase_gmean": 0.579824052847299, "rel_wql_gmean": 0.45322822077685615}}, "frequency": {"A": {"n_configs": 1, "rel_mase_gmean": 0.602630505709834, "rel_wql_gmean": 0.6156602399781036}, "D": {"n_configs": 15, "rel_mase_gmean": 0.7586530974855328, "rel_wql_gmean": 0.5235946298319726}, "H": {"n_configs": 31, "rel_mase_gmean": 0.7435902027632983, "rel_wql_gmean": 0.5180310279395838}, "M": {"n_configs": 5, "rel_mase_gmean": 0.9983606322195729, "rel_wql_gmean": 0.8755961609165552}, "Q": {"n_configs": 1, "rel_mase_gmean": 0.763496329349679, "rel_wql_gmean": 0.8207236971111334}, "S": {"n_configs": 6, "rel_mase_gmean": 0.6652066754808894, "rel_wql_gmean": 0.512126307398621}, "T": {"n_configs": 30, "rel_mase_gmean": 0.7125876645731054, "rel_wql_gmean": 0.4722827561143623}, "W": {"n_configs": 8, "rel_mase_gmean": 0.9331507389139616, "rel_wql_gmean": 0.6806266270092172}}, "variates": {"multivariate": {"n_configs": 43, "rel_mase_gmean": 0.7296537216262745, "rel_wql_gmean": 0.5340631203218278}, "univariate": {"n_configs": 54, "rel_mase_gmean": 0.7755777292850502, "rel_wql_gmean": 0.5321111949818653}}}, "group_skill_delta": {"term": {"long": 0.018536643489619697, "medium": 0.013221249642624167, "short": 0.0029822970647155334}, "domain": {"Econ/Fin": 0.025605294862895978, "Energy": 0.014908118153130978, "Healthcare": -0.056027100202275304, "Nature": 0.01885645738942765, "Sales": -0.008956557563931433, "Transport": 0.001077406984263729, "Web/CloudOps": 0.01463740953236986}, "frequency": {"A": 0.0030394882967124115, "D": -0.022402512979026734, "H": 0.015239257668489103, "M": -0.012071119390188678, "Q": 0.002170776107854988, "S": 0.005778688692209544, "T": 0.019483929351035156, "W": 0.007692434702945117}, "variates": {"multivariate": 0.018688237167713284, "univariate": 0.0005418811761449538}}}, {"cutoff": "backcast_evals", "candidate_skill": 0.34252806663300805, "control_skill": 0.32329458248322396, "delta": 0.019233484149784097, "candidate_checkpoint": "cf27592ebf1d27c2a780a2cd8f4232ccf3b1ed0825967cf01591aea19258b7b3", "control_checkpoint": "ea9055d683b93a4691e77bd64d46e301302765673055fd9b32ddb3a3e2f749df", "candidate_eval_seconds": 36.85068130493164, "candidate_groups": {"term": {"long": {"n_configs": 21, "rel_mase_gmean": 0.7574468173167258, "rel_wql_gmean": 0.4616607724460207}, "medium": {"n_configs": 21, "rel_mase_gmean": 0.7761919957951431, "rel_wql_gmean": 0.5363331727566457}, "short": {"n_configs": 55, "rel_mase_gmean": 0.8046378340634284, "rel_wql_gmean": 0.5909551302223979}}, "domain": {"Econ/Fin": {"n_configs": 6, "rel_mase_gmean": 0.8665605094392727, "rel_wql_gmean": 0.7892107826108716}, "Energy": {"n_configs": 32, "rel_mase_gmean": 0.8845311383833365, "rel_wql_gmean": 0.6635962984725059}, "Healthcare": {"n_configs": 5, "rel_mase_gmean": 0.6204152871353092, "rel_wql_gmean": 0.5477412631529546}, "Nature": {"n_configs": 15, "rel_mase_gmean": 0.916432068639154, "rel_wql_gmean": 0.4350451413892518}, "Sales": {"n_configs": 4, "rel_mase_gmean": 0.7261391701625556, "rel_wql_gmean": 0.4913633629148851}, "Transport": {"n_configs": 15, "rel_mase_gmean": 0.7434926698636942, "rel_wql_gmean": 0.5371507813085116}, "Web/CloudOps": {"n_configs": 20, "rel_mase_gmean": 0.640767702722321, "rel_wql_gmean": 0.44835173937998907}}, "frequency": {"A": {"n_configs": 1, "rel_mase_gmean": 0.637342380879023, "rel_wql_gmean": 0.7022024909619242}, "D": {"n_configs": 15, "rel_mase_gmean": 0.8353192097333146, "rel_wql_gmean": 0.4986493161993078}, "H": {"n_configs": 31, "rel_mase_gmean": 0.771907861214856, "rel_wql_gmean": 0.5125240481243836}, "M": {"n_configs": 5, "rel_mase_gmean": 0.8161339653104267, "rel_wql_gmean": 0.762293828151195}, "Q": {"n_configs": 1, "rel_mase_gmean": 0.7589987941244425, "rel_wql_gmean": 0.7707420560472754}, "S": {"n_configs": 6, "rel_mase_gmean": 0.8497719237515783, "rel_wql_gmean": 0.5053079936728979}, "T": {"n_configs": 30, "rel_mase_gmean": 0.752906715562263, "rel_wql_gmean": 0.5733895592422136}, "W": {"n_configs": 8, "rel_mase_gmean": 0.8659606243932598, "rel_wql_gmean": 0.5816885673985559}}, "variates": {"multivariate": {"n_configs": 43, "rel_mase_gmean": 0.7731172241966047, "rel_wql_gmean": 0.5251257257732445}, "univariate": {"n_configs": 54, "rel_mase_gmean": 0.8000806050975572, "rel_wql_gmean": 0.5679582560954543}}}, "control_groups": {"term": {"long": {"n_configs": 21, "rel_mase_gmean": 0.7676319992042302, "rel_wql_gmean": 0.4738931093823552}, "medium": {"n_configs": 21, "rel_mase_gmean": 0.787981557621373, "rel_wql_gmean": 0.5488845569014533}, "short": {"n_configs": 55, "rel_mase_gmean": 0.8304815248390428, "rel_wql_gmean": 0.6153299503263564}}, "domain": {"Econ/Fin": {"n_configs": 6, "rel_mase_gmean": 0.8906919158031346, "rel_wql_gmean": 0.815058802212814}, "Energy": {"n_configs": 32, "rel_mase_gmean": 0.9005203573711559, "rel_wql_gmean": 0.6814633675169673}, "Healthcare": {"n_configs": 5, "rel_mase_gmean": 0.7168698781265309, "rel_wql_gmean": 0.6527559620133767}, "Nature": {"n_configs": 15, "rel_mase_gmean": 0.9455002182033782, "rel_wql_gmean": 0.44783907054964206}, "Sales": {"n_configs": 4, "rel_mase_gmean": 0.7375375880624656, "rel_wql_gmean": 0.4978899167263304}, "Transport": {"n_configs": 15, "rel_mase_gmean": 0.7505377233731647, "rel_wql_gmean": 0.5469001658409332}, "Web/CloudOps": {"n_configs": 20, "rel_mase_gmean": 0.6473059048841175, "rel_wql_gmean": 0.4615460245475256}}, "frequency": {"A": {"n_configs": 1, "rel_mase_gmean": 0.6273515476886314, "rel_wql_gmean": 0.6832562579463534}, "D": {"n_configs": 15, "rel_mase_gmean": 0.8500120259463356, "rel_wql_gmean": 0.5045889398131562}, "H": {"n_configs": 31, "rel_mase_gmean": 0.7816347293880959, "rel_wql_gmean": 0.5261467639454889}, "M": {"n_configs": 5, "rel_mase_gmean": 0.8772312560549567, "rel_wql_gmean": 0.8138123688025778}, "Q": {"n_configs": 1, "rel_mase_gmean": 0.7744440021373574, "rel_wql_gmean": 0.804919618727554}, "S": {"n_configs": 6, "rel_mase_gmean": 0.8557516272626141, "rel_wql_gmean": 0.5060034785474197}, "T": {"n_configs": 30, "rel_mase_gmean": 0.7662604444194188, "rel_wql_gmean": 0.60071289848602}, "W": {"n_configs": 8, "rel_mase_gmean": 0.9512219248961163, "rel_wql_gmean": 0.6207020251452393}}, "variates": {"multivariate": {"n_configs": 43, "rel_mase_gmean": 0.7837447698899662, "rel_wql_gmean": 0.5425796960618176}, "univariate": {"n_configs": 54, "rel_mase_gmean": 0.8264145670475672, "rel_wql_gmean": 0.5877750107029568}}}, "group_skill_delta": {"term": {"long": 0.01179764438617592, "medium": 0.012444397168456911, "short": 0.025288136312561882}, "domain": {"Econ/Fin": 0.025054751870256076, "Energy": 0.017231253639111377, "Healthcare": 0.10111532538532275, "Nature": 0.019297983802303187, "Sales": 0.008654772289222401, "Transport": 0.008723274448017349, "Web/CloudOps": 0.010597004379641839}, "frequency": {"A": -0.014279381769468413, "D": 0.009517261095355334, "H": 0.012306967279762993, "M": 0.05617236496249689, "Q": 0.024686893757358552, "S": 0.0027538996445614083, "T": 0.02141044541382875, "W": 0.058659502813511066}, "variates": {"multivariate": 0.014938816233276753, "univariate": 0.02285351522280421}}}, {"cutoff": "backcast2_evals", "candidate_skill": 0.370930463126079, "control_skill": 0.35160470672553856, "delta": 0.01932575640054046, "candidate_checkpoint": "cf27592ebf1d27c2a780a2cd8f4232ccf3b1ed0825967cf01591aea19258b7b3", "control_checkpoint": "ea9055d683b93a4691e77bd64d46e301302765673055fd9b32ddb3a3e2f749df", "candidate_eval_seconds": 35.86327147483826, "candidate_groups": {"term": {"long": {"n_configs": 19, "rel_mase_gmean": 0.7915170033783532, "rel_wql_gmean": 0.4985407312355387}, "medium": {"n_configs": 21, "rel_mase_gmean": 0.7323930676978616, "rel_wql_gmean": 0.48727101333908185}, "short": {"n_configs": 54, "rel_mase_gmean": 0.7500960497477981, "rel_wql_gmean": 0.5497557420330933}}, "domain": {"Econ/Fin": {"n_configs": 6, "rel_mase_gmean": 0.8768340391946262, "rel_wql_gmean": 0.8843484695600442}, "Energy": {"n_configs": 32, "rel_mase_gmean": 0.8922591189929189, "rel_wql_gmean": 0.6398626255313665}, "Healthcare": {"n_configs": 5, "rel_mase_gmean": 0.6781016794612548, "rel_wql_gmean": 0.5842621466903536}, "Nature": {"n_configs": 15, "rel_mase_gmean": 0.7479974486465366, "rel_wql_gmean": 0.36483603712211643}, "Sales": {"n_configs": 3, "rel_mase_gmean": 0.555777801268443, "rel_wql_gmean": 0.3507855559250487}, "Transport": {"n_configs": 14, "rel_mase_gmean": 0.666677982650711, "rel_wql_gmean": 0.4992123310228959}, "Web/CloudOps": {"n_configs": 19, "rel_mase_gmean": 0.6447912534606048, "rel_wql_gmean": 0.45589997315517616}}, "frequency": {"A": {"n_configs": 1, "rel_mase_gmean": 0.5802251009954602, "rel_wql_gmean": 0.7641615945661844}, "D": {"n_configs": 15, "rel_mase_gmean": 0.7167288135859836, "rel_wql_gmean": 0.43992340174542066}, "H": {"n_configs": 30, "rel_mase_gmean": 0.7481843201945, "rel_wql_gmean": 0.4827193848643565}, "M": {"n_configs": 4, "rel_mase_gmean": 0.8170274616647275, "rel_wql_gmean": 0.8590781355763214}, "Q": {"n_configs": 1, "rel_mase_gmean": 0.8323500108212226, "rel_wql_gmean": 0.8774218879765291}, "S": {"n_configs": 6, "rel_mase_gmean": 0.8948351011509147, "rel_wql_gmean": 0.5630555115957397}, "T": {"n_configs": 29, "rel_mase_gmean": 0.7332746859734236, "rel_wql_gmean": 0.5319279382440474}, "W": {"n_configs": 8, "rel_mase_gmean": 0.8175377619383539, "rel_wql_gmean": 0.629433928090135}}, "variates": {"multivariate": {"n_configs": 42, "rel_mase_gmean": 0.7578452191050229, "rel_wql_gmean": 0.5057190624892515}, "univariate": {"n_configs": 52, "rel_mase_gmean": 0.7513667724681856, "rel_wql_gmean": 0.5404783231437525}}}, "control_groups": {"term": {"long": {"n_configs": 19, "rel_mase_gmean": 0.799198836651633, "rel_wql_gmean": 0.5083793454350191}, "medium": {"n_configs": 21, "rel_mase_gmean": 0.7463335479874204, "rel_wql_gmean": 0.5011338817462773}, "short": {"n_configs": 54, "rel_mase_gmean": 0.7779454425187887, "rel_wql_gmean": 0.5724055090698651}}, "domain": {"Econ/Fin": {"n_configs": 6, "rel_mase_gmean": 0.9059392281424482, "rel_wql_gmean": 0.9170498199136256}, "Energy": {"n_configs": 32, "rel_mase_gmean": 0.9229906908943148, "rel_wql_gmean": 0.6675019661295902}, "Healthcare": {"n_configs": 5, "rel_mase_gmean": 0.734841894341525, "rel_wql_gmean": 0.6116742850572091}, "Nature": {"n_configs": 15, "rel_mase_gmean": 0.7734543581486872, "rel_wql_gmean": 0.3773819109757366}, "Sales": {"n_configs": 3, "rel_mase_gmean": 0.5580152105870264, "rel_wql_gmean": 0.346242621272549}, "Transport": {"n_configs": 14, "rel_mase_gmean": 0.6771185063355508, "rel_wql_gmean": 0.5120273822152274}, "Web/CloudOps": {"n_configs": 19, "rel_mase_gmean": 0.6493930915123108, "rel_wql_gmean": 0.4684840829186049}}, "frequency": {"A": {"n_configs": 1, "rel_mase_gmean": 0.5757754789323676, "rel_wql_gmean": 0.7506073236864369}, "D": {"n_configs": 15, "rel_mase_gmean": 0.7462412953404897, "rel_wql_gmean": 0.45707742537926555}, "H": {"n_configs": 30, "rel_mase_gmean": 0.7525910334040907, "rel_wql_gmean": 0.49461197896011505}, "M": {"n_configs": 4, "rel_mase_gmean": 0.8578606875633755, "rel_wql_gmean": 0.8985069372104241}, "Q": {"n_configs": 1, "rel_mase_gmean": 0.8435114806004179, "rel_wql_gmean": 0.8878177378147762}, "S": {"n_configs": 6, "rel_mase_gmean": 0.9018326086779128, "rel_wql_gmean": 0.5655384541730528}, "T": {"n_configs": 29, "rel_mase_gmean": 0.752029730550723, "rel_wql_gmean": 0.5571977017323565}, "W": {"n_configs": 8, "rel_mase_gmean": 0.9020241622665878, "rel_wql_gmean": 0.6527459993278196}}, "variates": {"multivariate": {"n_configs": 42, "rel_mase_gmean": 0.7720463809279969, "rel_wql_gmean": 0.5224474418278602}, "univariate": {"n_configs": 52, "rel_mase_gmean": 0.777356955621124, "rel_wql_gmean": 0.5592327522251774}}}, "group_skill_delta": {"term": {"long": 0.009238956383681884, "medium": 0.014176798620626596, "short": 0.025148104668862525}, "domain": {"Econ/Fin": 0.03089435601543533, "Energy": 0.029324526702179443, "Healthcare": 0.041000022593849605, "Nature": 0.017871414479216585, "Sales": -0.001986361096306122, "Transport": 0.01191486999129654, "Web/CloudOps": 0.009389709148865943}, "frequency": {"A": -0.008467196201182303, "D": 0.022508201201000277, "H": 0.009146738724686965, "M": 0.04015960784580841, "Q": 0.010792244619681868, "S": 0.004339388397973654, "T": 0.022785413355322914, "W": 0.04998176036539537}, "variates": {"multivariate": 0.016023939587131664, "univariate": 0.022077867100751436}}}, {"cutoff": "backcast3_evals", "candidate_skill": 0.3893971698730161, "control_skill": 0.370990275990027, "delta": 0.018406893882989106, "candidate_checkpoint": "cf27592ebf1d27c2a780a2cd8f4232ccf3b1ed0825967cf01591aea19258b7b3", "control_checkpoint": "ea9055d683b93a4691e77bd64d46e301302765673055fd9b32ddb3a3e2f749df", "candidate_eval_seconds": 36.17020297050476, "candidate_groups": {"term": {"long": {"n_configs": 19, "rel_mase_gmean": 0.7738477715233241, "rel_wql_gmean": 0.4853273740022331}, "medium": {"n_configs": 20, "rel_mase_gmean": 0.7616636614479232, "rel_wql_gmean": 0.5244556995085402}, "short": {"n_configs": 54, "rel_mase_gmean": 0.7197237727653975, "rel_wql_gmean": 0.5036643693809404}}, "domain": {"Econ/Fin": {"n_configs": 6, "rel_mase_gmean": 0.830429415191099, "rel_wql_gmean": 0.8068583115543471}, "Energy": {"n_configs": 32, "rel_mase_gmean": 0.8413655124580949, "rel_wql_gmean": 0.5565752169846344}, "Healthcare": {"n_configs": 5, "rel_mase_gmean": 0.828750038332641, "rel_wql_gmean": 0.6756723920287278}, "Nature": {"n_configs": 15, "rel_mase_gmean": 0.7169468749385356, "rel_wql_gmean": 0.3369506881972469}, "Sales": {"n_configs": 3, "rel_mase_gmean": 0.7544544570535376, "rel_wql_gmean": 0.47837453447507655}, "Transport": {"n_configs": 14, "rel_mase_gmean": 0.5420856490934133, "rel_wql_gmean": 0.44502152814115387}, "Web/CloudOps": {"n_configs": 18, "rel_mase_gmean": 0.7131336262014681, "rel_wql_gmean": 0.5186740691790223}}, "frequency": {"A": {"n_configs": 1, "rel_mase_gmean": 0.5503149613438031, "rel_wql_gmean": 0.7924121344048362}, "D": {"n_configs": 15, "rel_mase_gmean": 0.7240085679450209, "rel_wql_gmean": 0.4171782104706512}, "H": {"n_configs": 29, "rel_mase_gmean": 0.730322174128699, "rel_wql_gmean": 0.48470433675568536}, "M": {"n_configs": 4, "rel_mase_gmean": 0.9084022610910192, "rel_wql_gmean": 0.8862815001778158}, "Q": {"n_configs": 1, "rel_mase_gmean": 0.7141023033252285, "rel_wql_gmean": 0.7570348315406185}, "S": {"n_configs": 6, "rel_mase_gmean": 0.884840039906835, "rel_wql_gmean": 0.6411175977112322}, "T": {"n_configs": 29, "rel_mase_gmean": 0.6922857554806386, "rel_wql_gmean": 0.45521403549387757}, "W": {"n_configs": 8, "rel_mase_gmean": 0.8393755062678862, "rel_wql_gmean": 0.6804902808007622}}, "variates": {"multivariate": {"n_configs": 41, "rel_mase_gmean": 0.7690466356437227, "rel_wql_gmean": 0.5158514924326387}, "univariate": {"n_configs": 52, "rel_mase_gmean": 0.7168609479842067, "rel_wql_gmean": 0.49525171011964053}}}, "control_groups": {"term": {"long": {"n_configs": 19, "rel_mase_gmean": 0.7752169604856247, "rel_wql_gmean": 0.4888518915184839}, "medium": {"n_configs": 20, "rel_mase_gmean": 0.7650403788019358, "rel_wql_gmean": 0.5308175670777368}, "short": {"n_configs": 54, "rel_mase_gmean": 0.7467627077568808, "rel_wql_gmean": 0.5327531090955401}}, "domain": {"Econ/Fin": {"n_configs": 6, "rel_mase_gmean": 0.8620913672622541, "rel_wql_gmean": 0.8547318170618328}, "Energy": {"n_configs": 32, "rel_mase_gmean": 0.8441748859081236, "rel_wql_gmean": 0.5646289945902436}, "Healthcare": {"n_configs": 5, "rel_mase_gmean": 0.9376598848526552, "rel_wql_gmean": 0.7818664221169428}, "Nature": {"n_configs": 15, "rel_mase_gmean": 0.7456434741968527, "rel_wql_gmean": 0.3539286239241533}, "Sales": {"n_configs": 3, "rel_mase_gmean": 0.7618130413241728, "rel_wql_gmean": 0.48417506611634803}, "Transport": {"n_configs": 14, "rel_mase_gmean": 0.5607487049943833, "rel_wql_gmean": 0.46645306914905216}, "Web/CloudOps": {"n_configs": 18, "rel_mase_gmean": 0.716046053229904, "rel_wql_gmean": 0.5316021041051098}}, "frequency": {"A": {"n_configs": 1, "rel_mase_gmean": 0.5347671576614936, "rel_wql_gmean": 0.8122502371876661}, "D": {"n_configs": 15, "rel_mase_gmean": 0.8007894976355243, "rel_wql_gmean": 0.45286612793735087}, "H": {"n_configs": 29, "rel_mase_gmean": 0.7340762162135239, "rel_wql_gmean": 0.500516438169534}, "M": {"n_configs": 4, "rel_mase_gmean": 0.9220553371250699, "rel_wql_gmean": 0.9123288561939542}, "Q": {"n_configs": 1, "rel_mase_gmean": 0.7146849143809129, "rel_wql_gmean": 0.7593485849767106}, "S": {"n_configs": 6, "rel_mase_gmean": 0.8558536051666373, "rel_wql_gmean": 0.6309694826905562}, "T": {"n_configs": 29, "rel_mase_gmean": 0.711372174563038, "rel_wql_gmean": 0.4773308031413116}, "W": {"n_configs": 8, "rel_mase_gmean": 0.8219606642085736, "rel_wql_gmean": 0.6657419281727769}}, "variates": {"multivariate": {"n_configs": 41, "rel_mase_gmean": 0.7816389778004437, "rel_wql_gmean": 0.5342976538479055}, "univariate": {"n_configs": 52, "rel_mase_gmean": 0.7370987880405361, "rel_wql_gmean": 0.5143752681169628}}}, "group_skill_delta": {"term": {"long": 0.0027651099482365327, "medium": 0.00522973555592432, "short": 0.02866663157866267}, "domain": {"Econ/Fin": 0.03984468101145566, "Energy": 0.00608305740551407, "Healthcare": 0.10791995735354021, "Nature": 0.022212875048770397, "Sales": 0.006571594835441008, "Transport": 0.02027059011693605, "Web/CloudOps": 0.008788853837287891}, "frequency": {"A": -0.0012971585717796996, "D": 0.052622445035727994, "H": 0.01117863665047747, "M": 0.019905488859398912, "Q": 0.0014230679414487524, "S": -0.018325419769117612, "T": 0.02134593680839847, "W": -0.016030136048752586}, "variates": {"multivariate": 0.016389093564461166, "univariate": 0.019906732290902673}}}], "mean_delta": 0.01643729063708163, "positive_cutoffs": 4, "outcome": "Predeclared48k primary and96k durability; scientific matched control is E94. Ensemble complementarity evaluated separately, unchanged training."} + +E135 fixed distilled fourth-member diagnostic: {"step": 48000, "rows": [{"cutoff": "valid_screen", "skill": 0.3862430162504997, "control_skill": 0.3878507268780589, "delta": -0.0016077106275591557, "groups": {"term": {"short": 0.36841724642192164, "medium": 0.41052483675946017, "long": 0.4071256965149448}, "domain": {"Econ/Fin": 0.1503298332977695, "Energy": 0.2475288827346288, "Healthcare": 0.4683602740632855, "Nature": 0.44163662874012, "Sales": 0.344098745410368, "Transport": 0.47037351890782064, "Web/CloudOps": 0.5071816016231339}, "freq": {"A-DEC": 0.38346436683924756, "Q-DEC": 0.20425455434833162, "M": 0.10837540899768172, "W-SUN": 0.1092024214705174, "D": 0.3678067279459968, "H": 0.40260957818843757, "15T": 0.2189861530856474, "W-FRI": 0.011644114431122565, "10T": 0.6285413439602561, "W-TUE": 0.606541810862018, "W-THU": 0.20540963002730894, "W-WED": 0.3258002094201732, "5T": 0.5209776991868179, "10S": 0.42502372724867077}}, "member_checkpoint_hashes": ["8a2b252b733cc79c31778ea27ba00fbe61206fef50454514b667c54a928d80a4", "308389b7217c080af9eb185559d4ee3cafa0f3e0f8c4dd8f5526b68198c89988", "1a2fb20a9fb5cae6526f2e36ea47559626bece78fd9c284899836505030ae9fe", "cf27592ebf1d27c2a780a2cd8f4232ccf3b1ed0825967cf01591aea19258b7b3"], "cpu_seconds": 1.9861262429039925}, {"cutoff": "valid_backcast", "skill": 0.34449643137991137, "control_skill": 0.34441110518308204, "delta": 8.53261968293273e-05, "groups": {"term": {"short": 0.3122151334136751, "medium": 0.3619418186327922, "long": 0.40624056010859855}, "domain": {"Econ/Fin": 0.18009449219368345, "Energy": 0.2347329235664648, "Healthcare": 0.4113833308590119, "Nature": 0.37885169689850673, "Sales": 0.40789402095734184, "Transport": 0.3758358688260044, "Web/CloudOps": 0.45818572482968467}, "freq": {"A-DEC": 0.3304840786354756, "Q-DEC": 0.2380093644800093, "M": 0.20103491100351623, "W-SUN": 0.05770615068850837, "D": 0.35855540869089386, "H": 0.37516970608335665, "15T": 0.22457980193505933, "W-FRI": 0.23845164941542407, "10T": 0.32793200392580035, "W-TUE": 0.5561523719588626, "W-THU": 0.2649400091401438, "W-WED": 0.3576012206664759, "5T": 0.44898985169468075, "10S": 0.34762305520714076}}, "member_checkpoint_hashes": ["8a2b252b733cc79c31778ea27ba00fbe61206fef50454514b667c54a928d80a4", "308389b7217c080af9eb185559d4ee3cafa0f3e0f8c4dd8f5526b68198c89988", "1a2fb20a9fb5cae6526f2e36ea47559626bece78fd9c284899836505030ae9fe", "cf27592ebf1d27c2a780a2cd8f4232ccf3b1ed0825967cf01591aea19258b7b3"], "cpu_seconds": 2.0224572278093547}, {"cutoff": "valid_backcast2", "skill": 0.3697302062020633, "control_skill": 0.3685168155758046, "delta": 0.0012133906262586924, "groups": {"term": {"short": 0.3571842518987862, "medium": 0.39878855282246584, "long": 0.3721511527671352}, "domain": {"Econ/Fin": 0.12776391307871504, "Energy": 0.24404050201567118, "Healthcare": 0.35685933714055773, "Nature": 0.48314228865732767, "Sales": 0.5582151733339902, "Transport": 0.42805160472757686, "Web/CloudOps": 0.4465150752739141}, "freq": {"A-DEC": 0.33611267772704867, "Q-DEC": 0.15605776319223175, "M": 0.16890487365222995, "W-SUN": 0.0738304229404736, "D": 0.43565015117708905, "H": 0.3991873045265991, "15T": 0.11099708267493602, "W-FRI": 0.15392320066278142, "10T": 0.5092285690092844, "W-TUE": 0.12331103953739575, "W-THU": 0.356778452638289, "W-WED": 0.5608904978049066, "5T": 0.4826338759906019, "10S": 0.28870886356820025}}, "member_checkpoint_hashes": ["8a2b252b733cc79c31778ea27ba00fbe61206fef50454514b667c54a928d80a4", "308389b7217c080af9eb185559d4ee3cafa0f3e0f8c4dd8f5526b68198c89988", "1a2fb20a9fb5cae6526f2e36ea47559626bece78fd9c284899836505030ae9fe", "cf27592ebf1d27c2a780a2cd8f4232ccf3b1ed0825967cf01591aea19258b7b3"], "cpu_seconds": 2.3471330560278147}, {"cutoff": "valid_backcast3", "skill": 0.3918145585771363, "control_skill": 0.3912834616582097, "delta": 0.0005310969189266102, "groups": {"term": {"short": 0.39811926551216037, "medium": 0.37030458052945014, "long": 0.3960385410610294}, "domain": {"Econ/Fin": 0.19069131831099784, "Energy": 0.31853440619574513, "Healthcare": 0.24355170783567026, "Nature": 0.5073926615023777, "Sales": 0.4025920102166497, "Transport": 0.5122112761238196, "Web/CloudOps": 0.3965925742804767}, "freq": {"A-DEC": 0.35547068346059685, "Q-DEC": 0.260432151225387, "M": 0.1386978776383937, "W-SUN": 0.17196139216286166, "D": 0.4466123298070237, "H": 0.4076729574964868, "15T": 0.25784294970431776, "W-FRI": 0.03258971023178081, "10T": 0.6080860736542469, "W-TUE": 0.2829185071337794, "W-THU": 0.33706126285234994, "W-WED": 0.37628305357440095, "5T": 0.4714112017559897, "10S": 0.283714276195443}}, "member_checkpoint_hashes": ["8a2b252b733cc79c31778ea27ba00fbe61206fef50454514b667c54a928d80a4", "308389b7217c080af9eb185559d4ee3cafa0f3e0f8c4dd8f5526b68198c89988", "1a2fb20a9fb5cae6526f2e36ea47559626bece78fd9c284899836505030ae9fe", "cf27592ebf1d27c2a780a2cd8f4232ccf3b1ed0825967cf01591aea19258b7b3"], "cpu_seconds": 1.8967621189076453}], "positive_cutoffs": 3, "mean_delta": 5.552577861386854e-05, "selection_gate_passed": true}. No automatic publication; any candidate also needs comparison to the then-current package, full replay and all checks. + +E143 6000 four-cutoff comparison: {"label": "E143 6000 four-cutoff comparison", "utc": "2026-10-23T22:32:59.687952+00:00", "candidate": "lowfreq_age_ema6000", "control": "lowfreq_windows_ema6000", "rows": [{"cutoff": "evals", "candidate_skill": 0.37715035197634217, "control_skill": 0.37689889834307033, "delta": 0.00025145363327183645, "candidate_checkpoint": "13560ecca6cbdc21e2015614d39bb2cf06ea0856a9cd9c3f8632587553d49ea4", "control_checkpoint": "6022f0a4bfa1062ad14abf079449bbc0aea2c8378c4e8c24a5a88d6c7eed568f", "candidate_eval_seconds": 24.23888063430786, "candidate_groups": {"term": {"long": {"n_configs": 21, "rel_mase_gmean": 0.7460425808877377, "rel_wql_gmean": 0.48197544627514316}, "medium": {"n_configs": 21, "rel_mase_gmean": 0.7115632120748937, "rel_wql_gmean": 0.49384335735105517}, "short": {"n_configs": 55, "rel_mase_gmean": 0.7580534053347746, "rel_wql_gmean": 0.5470947538225776}}, "domain": {"Econ/Fin": {"n_configs": 6, "rel_mase_gmean": 0.8818224377240041, "rel_wql_gmean": 0.8515236537644912}, "Energy": {"n_configs": 32, "rel_mase_gmean": 0.900358138885147, "rel_wql_gmean": 0.6445981846379486}, "Healthcare": {"n_configs": 5, "rel_mase_gmean": 0.5799334491299603, "rel_wql_gmean": 0.5159035903063355}, "Nature": {"n_configs": 15, "rel_mase_gmean": 0.8185370936246413, "rel_wql_gmean": 0.4022729628256497}, "Sales": {"n_configs": 4, "rel_mase_gmean": 0.8487841656918123, "rel_wql_gmean": 0.5205122940697845}, "Transport": {"n_configs": 15, "rel_mase_gmean": 0.6444527910416968, "rel_wql_gmean": 0.44250981255817795}, "Web/CloudOps": {"n_configs": 20, "rel_mase_gmean": 0.5642161356020124, "rel_wql_gmean": 0.438464223011004}}, "frequency": {"A": {"n_configs": 1, "rel_mase_gmean": 0.6088698071729112, "rel_wql_gmean": 0.6351927154404208}, "D": {"n_configs": 15, "rel_mase_gmean": 0.7762943573913337, "rel_wql_gmean": 0.5336735775462532}, "H": {"n_configs": 31, "rel_mase_gmean": 0.7309077613971986, "rel_wql_gmean": 0.49773397431447236}, "M": {"n_configs": 5, "rel_mase_gmean": 0.9984149728158636, "rel_wql_gmean": 0.8637976954045515}, "Q": {"n_configs": 1, "rel_mase_gmean": 0.7862788360258661, "rel_wql_gmean": 0.8274059860272389}, "S": {"n_configs": 6, "rel_mase_gmean": 0.6564437859809593, "rel_wql_gmean": 0.5049333165326804}, "T": {"n_configs": 30, "rel_mase_gmean": 0.6950946166745546, "rel_wql_gmean": 0.45604089940382403}, "W": {"n_configs": 8, "rel_mase_gmean": 0.9007184962794047, "rel_wql_gmean": 0.6672067188386345}}, "variates": {"multivariate": {"n_configs": 43, "rel_mase_gmean": 0.7122932086214472, "rel_wql_gmean": 0.5122581274355199}, "univariate": {"n_configs": 54, "rel_mase_gmean": 0.7724065032896359, "rel_wql_gmean": 0.5273718755588593}}}, "control_groups": {"term": {"long": {"n_configs": 21, "rel_mase_gmean": 0.7461642946563414, "rel_wql_gmean": 0.48185140448625774}, "medium": {"n_configs": 21, "rel_mase_gmean": 0.7114818476673104, "rel_wql_gmean": 0.4937134846824009}, "short": {"n_configs": 55, "rel_mase_gmean": 0.7587744836539531, "rel_wql_gmean": 0.5474521404602561}}, "domain": {"Econ/Fin": {"n_configs": 6, "rel_mase_gmean": 0.8833786145123239, "rel_wql_gmean": 0.8531518487365242}, "Energy": {"n_configs": 32, "rel_mase_gmean": 0.9008291449851727, "rel_wql_gmean": 0.6443880390924023}, "Healthcare": {"n_configs": 5, "rel_mase_gmean": 0.5841826675598496, "rel_wql_gmean": 0.5185655742165746}, "Nature": {"n_configs": 15, "rel_mase_gmean": 0.8182743754041456, "rel_wql_gmean": 0.40277193564568253}, "Sales": {"n_configs": 4, "rel_mase_gmean": 0.8481685562000009, "rel_wql_gmean": 0.5201665790427301}, "Transport": {"n_configs": 15, "rel_mase_gmean": 0.6442200391898962, "rel_wql_gmean": 0.44227361720756947}, "Web/CloudOps": {"n_configs": 20, "rel_mase_gmean": 0.5642905007500406, "rel_wql_gmean": 0.43825160894025916}}, "frequency": {"A": {"n_configs": 1, "rel_mase_gmean": 0.6091689454127692, "rel_wql_gmean": 0.638276521684612}, "D": {"n_configs": 15, "rel_mase_gmean": 0.7785626516441129, "rel_wql_gmean": 0.5355665107799793}, "H": {"n_configs": 31, "rel_mase_gmean": 0.7314284480466448, "rel_wql_gmean": 0.4981263653987478}, "M": {"n_configs": 5, "rel_mase_gmean": 0.9986128574835264, "rel_wql_gmean": 0.8624410357490886}, "Q": {"n_configs": 1, "rel_mase_gmean": 0.7903739563981046, "rel_wql_gmean": 0.8299815110338646}, "S": {"n_configs": 6, "rel_mase_gmean": 0.656301620925384, "rel_wql_gmean": 0.5047620788741458}, "T": {"n_configs": 30, "rel_mase_gmean": 0.6945298685094353, "rel_wql_gmean": 0.4553332014533837}, "W": {"n_configs": 8, "rel_mase_gmean": 0.9014486439579953, "rel_wql_gmean": 0.6668717099327689}}, "variates": {"multivariate": {"n_configs": 43, "rel_mase_gmean": 0.7126021042582767, "rel_wql_gmean": 0.5125054838159262}, "univariate": {"n_configs": 54, "rel_mase_gmean": 0.772902623640725, "rel_wql_gmean": 0.5274131827426548}}}, "group_skill_delta": {"term": {"long": -2.8261138590446322e-05, "medium": -0.00011184034757805161, "short": 0.0005166260182299931}, "domain": {"Econ/Fin": 0.0015930563656145758, "Energy": 7.501697623535364e-05, "Healthcare": 0.0034147455221855694, "Nature": 0.00026361925984697, "Sales": -0.00046177710699879526, "Transport": -0.000238955618606429, "Web/CloudOps": -8.783732190631444e-05}, "frequency": {"A": 0.0016609079998975984, "D": 0.0020818409027100193, "H": 0.0004525895881350994, "M": -0.0006376062521046277, "Q": 0.0033553364552465492, "S": -0.00015996588629707542, "T": -0.0006656145472556663, "W": 0.00011941896944089869}, "variates": {"multivariate": 0.00027681783316257924, "univariate": 0.000229941102454001}}}, {"cutoff": "backcast_evals", "candidate_skill": 0.33445635691877384, "control_skill": 0.3343961576413551, "delta": 6.019927741873765e-05, "candidate_checkpoint": "13560ecca6cbdc21e2015614d39bb2cf06ea0856a9cd9c3f8632587553d49ea4", "control_checkpoint": "6022f0a4bfa1062ad14abf079449bbc0aea2c8378c4e8c24a5a88d6c7eed568f", "candidate_eval_seconds": 23.64342212677002, "candidate_groups": {"term": {"long": {"n_configs": 21, "rel_mase_gmean": 0.7763386659848651, "rel_wql_gmean": 0.4661160983667355}, "medium": {"n_configs": 21, "rel_mase_gmean": 0.7733638748160173, "rel_wql_gmean": 0.5345476805369568}, "short": {"n_configs": 55, "rel_mase_gmean": 0.8198071923774253, "rel_wql_gmean": 0.5992608593591018}}, "domain": {"Econ/Fin": {"n_configs": 6, "rel_mase_gmean": 0.8813190145460748, "rel_wql_gmean": 0.8109990956703732}, "Energy": {"n_configs": 32, "rel_mase_gmean": 0.8893069968207712, "rel_wql_gmean": 0.667943465865878}, "Healthcare": {"n_configs": 5, "rel_mase_gmean": 0.6506856689905228, "rel_wql_gmean": 0.5531334137516819}, "Nature": {"n_configs": 15, "rel_mase_gmean": 0.9326571053730144, "rel_wql_gmean": 0.43423920615061856}, "Sales": {"n_configs": 4, "rel_mase_gmean": 0.7397694593001645, "rel_wql_gmean": 0.5034356518458372}, "Transport": {"n_configs": 15, "rel_mase_gmean": 0.7387876381177061, "rel_wql_gmean": 0.5323304996698178}, "Web/CloudOps": {"n_configs": 20, "rel_mase_gmean": 0.6640459170467207, "rel_wql_gmean": 0.4607121291886821}}, "frequency": {"A": {"n_configs": 1, "rel_mase_gmean": 0.6593853528945056, "rel_wql_gmean": 0.7321266074358561}, "D": {"n_configs": 15, "rel_mase_gmean": 0.8388145510711978, "rel_wql_gmean": 0.498971303292204}, "H": {"n_configs": 31, "rel_mase_gmean": 0.7776090587304596, "rel_wql_gmean": 0.5163200466346682}, "M": {"n_configs": 5, "rel_mase_gmean": 0.8830511065984238, "rel_wql_gmean": 0.8075182918488222}, "Q": {"n_configs": 1, "rel_mase_gmean": 0.7627963783946992, "rel_wql_gmean": 0.7591083942515834}, "S": {"n_configs": 6, "rel_mase_gmean": 0.8521209645238721, "rel_wql_gmean": 0.5075022676954499}, "T": {"n_configs": 30, "rel_mase_gmean": 0.7691685247238486, "rel_wql_gmean": 0.5793753357974143}, "W": {"n_configs": 8, "rel_mase_gmean": 0.8753772833131829, "rel_wql_gmean": 0.5823151643141612}}, "variates": {"multivariate": {"n_configs": 43, "rel_mase_gmean": 0.7895478954800343, "rel_wql_gmean": 0.5319533629595344}, "univariate": {"n_configs": 54, "rel_mase_gmean": 0.8084753832162302, "rel_wql_gmean": 0.5715859581543963}}}, "control_groups": {"term": {"long": {"n_configs": 21, "rel_mase_gmean": 0.7775995665582034, "rel_wql_gmean": 0.4660524143600413}, "medium": {"n_configs": 21, "rel_mase_gmean": 0.7742979584754606, "rel_wql_gmean": 0.5343745587246692}, "short": {"n_configs": 55, "rel_mase_gmean": 0.8201142133986199, "rel_wql_gmean": 0.598685800269491}}, "domain": {"Econ/Fin": {"n_configs": 6, "rel_mase_gmean": 0.8832386329140982, "rel_wql_gmean": 0.8125278417445753}, "Energy": {"n_configs": 32, "rel_mase_gmean": 0.8897858431693706, "rel_wql_gmean": 0.6676356286156242}, "Healthcare": {"n_configs": 5, "rel_mase_gmean": 0.6492080161186249, "rel_wql_gmean": 0.5505110265373835}, "Nature": {"n_configs": 15, "rel_mase_gmean": 0.9342301107590483, "rel_wql_gmean": 0.4342352628337986}, "Sales": {"n_configs": 4, "rel_mase_gmean": 0.7396632725324492, "rel_wql_gmean": 0.5033836939140032}, "Transport": {"n_configs": 15, "rel_mase_gmean": 0.7390030781599123, "rel_wql_gmean": 0.5323292524398107}, "Web/CloudOps": {"n_configs": 20, "rel_mase_gmean": 0.6651103369438204, "rel_wql_gmean": 0.4599139822296968}}, "frequency": {"A": {"n_configs": 1, "rel_mase_gmean": 0.6614347761202842, "rel_wql_gmean": 0.7332772756783581}, "D": {"n_configs": 15, "rel_mase_gmean": 0.8395380907736223, "rel_wql_gmean": 0.49858292016697153}, "H": {"n_configs": 31, "rel_mase_gmean": 0.7782944268201338, "rel_wql_gmean": 0.5161951267114039}, "M": {"n_configs": 5, "rel_mase_gmean": 0.8850314011347771, "rel_wql_gmean": 0.8093835670278922}, "Q": {"n_configs": 1, "rel_mase_gmean": 0.7641972179731484, "rel_wql_gmean": 0.7595910327353056}, "S": {"n_configs": 6, "rel_mase_gmean": 0.8520874716612998, "rel_wql_gmean": 0.5072036983501343}, "T": {"n_configs": 30, "rel_mase_gmean": 0.7698429755624734, "rel_wql_gmean": 0.5785867598697058}, "W": {"n_configs": 8, "rel_mase_gmean": 0.8751127568750565, "rel_wql_gmean": 0.5813954254548376}}, "variates": {"multivariate": {"n_configs": 43, "rel_mase_gmean": 0.790903324120952, "rel_wql_gmean": 0.531769678844664}, "univariate": {"n_configs": 54, "rel_mase_gmean": 0.8085692176449468, "rel_wql_gmean": 0.571082070761698}}}, "group_skill_delta": {"term": {"long": 0.000447181678857711, "medium": 0.00028398556859265955, "short": -0.000205211459992638}, "domain": {"Econ/Fin": 0.001717535715473728, "Energy": 2.9798287280335956e-05, "Healthcare": -0.0021037787172222266, "Nature": 0.000533547492299169, "Sales": -7.529096648650757e-05, "Transport": 9.069668984207357e-05, "Web/CloudOps": -3.658020388985772e-05}, "frequency": {"A": 0.0016255552515379579, "D": 2.7020934446508882e-05, "H": 0.00020248504126396671, "M": 0.001922134356818983, "Q": 0.0009404923172987578, "S": -0.0002063888492717103, "T": -0.00016204198284719418, "W": -0.0006718570790927858}, "variates": {"multivariate": 0.0004440460398722479, "univariate": -0.0002602727461848975}}}, {"cutoff": "backcast2_evals", "candidate_skill": 0.36009043866424606, "control_skill": 0.3599979390330963, "delta": 9.249963114976723e-05, "candidate_checkpoint": "13560ecca6cbdc21e2015614d39bb2cf06ea0856a9cd9c3f8632587553d49ea4", "control_checkpoint": "6022f0a4bfa1062ad14abf079449bbc0aea2c8378c4e8c24a5a88d6c7eed568f", "candidate_eval_seconds": 21.48668599128723, "candidate_groups": {"term": {"long": {"n_configs": 19, "rel_mase_gmean": 0.800448770265929, "rel_wql_gmean": 0.5060378643458802}, "medium": {"n_configs": 21, "rel_mase_gmean": 0.7563270051535798, "rel_wql_gmean": 0.49274041057997453}, "short": {"n_configs": 54, "rel_mase_gmean": 0.7632603147966028, "rel_wql_gmean": 0.5586434337011115}}, "domain": {"Econ/Fin": {"n_configs": 6, "rel_mase_gmean": 0.8927625413618901, "rel_wql_gmean": 0.9072994788270549}, "Energy": {"n_configs": 32, "rel_mase_gmean": 0.8961882125715739, "rel_wql_gmean": 0.6466313476083891}, "Healthcare": {"n_configs": 5, "rel_mase_gmean": 0.6795565288119423, "rel_wql_gmean": 0.5853888101181287}, "Nature": {"n_configs": 15, "rel_mase_gmean": 0.763303968511324, "rel_wql_gmean": 0.3648524452022238}, "Sales": {"n_configs": 3, "rel_mase_gmean": 0.5684005335449862, "rel_wql_gmean": 0.36483951045140095}, "Transport": {"n_configs": 14, "rel_mase_gmean": 0.6692198183523368, "rel_wql_gmean": 0.5022824823011589}, "Web/CloudOps": {"n_configs": 19, "rel_mase_gmean": 0.6848119732518925, "rel_wql_gmean": 0.4725010986098329}}, "frequency": {"A": {"n_configs": 1, "rel_mase_gmean": 0.582004936684398, "rel_wql_gmean": 0.7330160727691972}, "D": {"n_configs": 15, "rel_mase_gmean": 0.7322685984746606, "rel_wql_gmean": 0.451521540012812}, "H": {"n_configs": 30, "rel_mase_gmean": 0.7554159459546659, "rel_wql_gmean": 0.49036410982538964}, "M": {"n_configs": 4, "rel_mase_gmean": 0.8114116473971702, "rel_wql_gmean": 0.8505017402468331}, "Q": {"n_configs": 1, "rel_mase_gmean": 0.8336320601893605, "rel_wql_gmean": 0.8684841381910531}, "S": {"n_configs": 6, "rel_mase_gmean": 0.9093910010560291, "rel_wql_gmean": 0.5676619527634408}, "T": {"n_configs": 29, "rel_mase_gmean": 0.756773788930113, "rel_wql_gmean": 0.5417952419758164}, "W": {"n_configs": 8, "rel_mase_gmean": 0.8412830152985995, "rel_wql_gmean": 0.6319860700256104}}, "variates": {"multivariate": {"n_configs": 42, "rel_mase_gmean": 0.7825376189915769, "rel_wql_gmean": 0.5178036878606075}, "univariate": {"n_configs": 52, "rel_mase_gmean": 0.758354046878668, "rel_wql_gmean": 0.54457009360145}}}, "control_groups": {"term": {"long": {"n_configs": 19, "rel_mase_gmean": 0.8008593621710156, "rel_wql_gmean": 0.5057430926868616}, "medium": {"n_configs": 21, "rel_mase_gmean": 0.757468445904617, "rel_wql_gmean": 0.49256746030833815}, "short": {"n_configs": 54, "rel_mase_gmean": 0.7633722415209746, "rel_wql_gmean": 0.558605012241182}}, "domain": {"Econ/Fin": {"n_configs": 6, "rel_mase_gmean": 0.8946216965321081, "rel_wql_gmean": 0.9088687371623195}, "Energy": {"n_configs": 32, "rel_mase_gmean": 0.8965201542322633, "rel_wql_gmean": 0.6464378810161919}, "Healthcare": {"n_configs": 5, "rel_mase_gmean": 0.6785194902800584, "rel_wql_gmean": 0.5849201303195053}, "Nature": {"n_configs": 15, "rel_mase_gmean": 0.7655843123264524, "rel_wql_gmean": 0.36490172511656266}, "Sales": {"n_configs": 3, "rel_mase_gmean": 0.5678061820242641, "rel_wql_gmean": 0.3644855914883543}, "Transport": {"n_configs": 14, "rel_mase_gmean": 0.6685465658076019, "rel_wql_gmean": 0.5017399429608845}, "Web/CloudOps": {"n_configs": 19, "rel_mase_gmean": 0.6849965213617552, "rel_wql_gmean": 0.4724282525707762}}, "frequency": {"A": {"n_configs": 1, "rel_mase_gmean": 0.5825163531960122, "rel_wql_gmean": 0.7346377536602618}, "D": {"n_configs": 15, "rel_mase_gmean": 0.7324508940634272, "rel_wql_gmean": 0.45212722264136573}, "H": {"n_configs": 30, "rel_mase_gmean": 0.7556124624084898, "rel_wql_gmean": 0.4899134119816834}, "M": {"n_configs": 4, "rel_mase_gmean": 0.8103905761748015, "rel_wql_gmean": 0.8492327228669642}, "Q": {"n_configs": 1, "rel_mase_gmean": 0.8353441047809755, "rel_wql_gmean": 0.8671883110574543}, "S": {"n_configs": 6, "rel_mase_gmean": 0.9088419438141119, "rel_wql_gmean": 0.5678755021819691}, "T": {"n_configs": 29, "rel_mase_gmean": 0.7573691463179116, "rel_wql_gmean": 0.5419241988811554}, "W": {"n_configs": 8, "rel_mase_gmean": 0.8434646356234143, "rel_wql_gmean": 0.6305198670040683}}, "variates": {"multivariate": {"n_configs": 42, "rel_mase_gmean": 0.7829043173773316, "rel_wql_gmean": 0.5178062400149124}, "univariate": {"n_configs": 52, "rel_mase_gmean": 0.7587866385127666, "rel_wql_gmean": 0.5443359350107977}}}, "group_skill_delta": {"term": {"long": -2.222993007672258e-05, "medium": 0.0003532567118939012, "short": 2.541909110864715e-05}, "domain": {"Econ/Fin": 0.0017154192842999683, "Energy": 2.705838235306235e-05, "Healthcare": -0.0007337812140296718, "Nature": 0.0008233829575772234, "Sales": -0.0004589649107449856, "Transport": -0.0006047546296785722, "Web/CloudOps": 3.2785218924025195e-05}, "frequency": {"A": 0.0010093329985255695, "D": 0.00045715321068473536, "H": -0.0002006383826967939, "M": -0.0011424500610048849, "Q": 0.00023761617843842675, "S": -8.184043829151388e-05, "T": 0.0003280537162535513, "W": 9.740874628139107e-05}, "variates": {"multivariate": 0.00015069671257761375, "univariate": 4.5047518742791226e-05}}}, {"cutoff": "backcast3_evals", "candidate_skill": 0.38905598679205244, "control_skill": 0.38993403866336573, "delta": -0.0008780518713132901, "candidate_checkpoint": "13560ecca6cbdc21e2015614d39bb2cf06ea0856a9cd9c3f8632587553d49ea4", "control_checkpoint": "6022f0a4bfa1062ad14abf079449bbc0aea2c8378c4e8c24a5a88d6c7eed568f", "candidate_eval_seconds": 23.028390407562256, "candidate_groups": {"term": {"long": {"n_configs": 19, "rel_mase_gmean": 0.7651654319349667, "rel_wql_gmean": 0.4762420102669854}, "medium": {"n_configs": 20, "rel_mase_gmean": 0.7719257186295885, "rel_wql_gmean": 0.5320360809109539}, "short": {"n_configs": 54, "rel_mase_gmean": 0.7145567937828593, "rel_wql_gmean": 0.5084600356897446}}, "domain": {"Econ/Fin": {"n_configs": 6, "rel_mase_gmean": 0.834529721483013, "rel_wql_gmean": 0.8161598941965836}, "Energy": {"n_configs": 32, "rel_mase_gmean": 0.8349859255498696, "rel_wql_gmean": 0.5565285975619227}, "Healthcare": {"n_configs": 5, "rel_mase_gmean": 0.7823310668745433, "rel_wql_gmean": 0.6596457484453172}, "Nature": {"n_configs": 15, "rel_mase_gmean": 0.7174718369750586, "rel_wql_gmean": 0.3426177834265536}, "Sales": {"n_configs": 3, "rel_mase_gmean": 0.7572858039499756, "rel_wql_gmean": 0.4810526938286365}, "Transport": {"n_configs": 14, "rel_mase_gmean": 0.5441367107228744, "rel_wql_gmean": 0.4503318478008759}, "Web/CloudOps": {"n_configs": 18, "rel_mase_gmean": 0.7167615825135144, "rel_wql_gmean": 0.5204237491828342}}, "frequency": {"A": {"n_configs": 1, "rel_mase_gmean": 0.5269095103460054, "rel_wql_gmean": 0.7367243319442995}, "D": {"n_configs": 15, "rel_mase_gmean": 0.7275250086113206, "rel_wql_gmean": 0.42521784358196796}, "H": {"n_configs": 29, "rel_mase_gmean": 0.7267709667416996, "rel_wql_gmean": 0.4893867261866016}, "M": {"n_configs": 4, "rel_mase_gmean": 0.8620261347208122, "rel_wql_gmean": 0.8548717233187205}, "Q": {"n_configs": 1, "rel_mase_gmean": 0.7139945526949583, "rel_wql_gmean": 0.7706200499608589}, "S": {"n_configs": 6, "rel_mase_gmean": 0.8385326549351071, "rel_wql_gmean": 0.5984822446937036}, "T": {"n_configs": 29, "rel_mase_gmean": 0.7072432367122784, "rel_wql_gmean": 0.4644996219125975}, "W": {"n_configs": 8, "rel_mase_gmean": 0.807344260016394, "rel_wql_gmean": 0.6721440013561132}}, "variates": {"multivariate": {"n_configs": 41, "rel_mase_gmean": 0.7634223165781352, "rel_wql_gmean": 0.515267751478812}, "univariate": {"n_configs": 52, "rel_mase_gmean": 0.7163808854857141, "rel_wql_gmean": 0.49990314250058615}}}, "control_groups": {"term": {"long": {"n_configs": 19, "rel_mase_gmean": 0.7653115593218499, "rel_wql_gmean": 0.47599461710723834}, "medium": {"n_configs": 20, "rel_mase_gmean": 0.7715691889827463, "rel_wql_gmean": 0.5313719143376657}, "short": {"n_configs": 54, "rel_mase_gmean": 0.7126844177529106, "rel_wql_gmean": 0.5076569047682628}}, "domain": {"Econ/Fin": {"n_configs": 6, "rel_mase_gmean": 0.8352132728850933, "rel_wql_gmean": 0.8170711397518996}, "Energy": {"n_configs": 32, "rel_mase_gmean": 0.8348557462103663, "rel_wql_gmean": 0.5561697329589659}, "Healthcare": {"n_configs": 5, "rel_mase_gmean": 0.7733153411204075, "rel_wql_gmean": 0.6546403085337337}, "Nature": {"n_configs": 15, "rel_mase_gmean": 0.7140141482679682, "rel_wql_gmean": 0.34196831793742916}, "Sales": {"n_configs": 3, "rel_mase_gmean": 0.7565061085453817, "rel_wql_gmean": 0.48058309322338083}, "Transport": {"n_configs": 14, "rel_mase_gmean": 0.5437907447481647, "rel_wql_gmean": 0.449614701170043}, "Web/CloudOps": {"n_configs": 18, "rel_mase_gmean": 0.7165702979219388, "rel_wql_gmean": 0.5200051777411084}}, "frequency": {"A": {"n_configs": 1, "rel_mase_gmean": 0.5261551139322042, "rel_wql_gmean": 0.7330240240629913}, "D": {"n_configs": 15, "rel_mase_gmean": 0.7252372471132796, "rel_wql_gmean": 0.4239024663817478}, "H": {"n_configs": 29, "rel_mase_gmean": 0.7268124573646887, "rel_wql_gmean": 0.4893130921486449}, "M": {"n_configs": 4, "rel_mase_gmean": 0.8545447134934323, "rel_wql_gmean": 0.8493178662981181}, "Q": {"n_configs": 1, "rel_mase_gmean": 0.7127776195257158, "rel_wql_gmean": 0.7718161257451915}, "S": {"n_configs": 6, "rel_mase_gmean": 0.8395472897334526, "rel_wql_gmean": 0.5993236231307666}, "T": {"n_configs": 29, "rel_mase_gmean": 0.7069092537460439, "rel_wql_gmean": 0.4641162361923377}, "W": {"n_configs": 8, "rel_mase_gmean": 0.8015863686794376, "rel_wql_gmean": 0.6701047974351558}}, "variates": {"multivariate": {"n_configs": 41, "rel_mase_gmean": 0.7632290984309094, "rel_wql_gmean": 0.515189244156747}, "univariate": {"n_configs": 52, "rel_mase_gmean": 0.7144971245676118, "rel_wql_gmean": 0.49880868819086793}}}, "group_skill_delta": {"term": {"long": -9.918739388803388e-05, "medium": -0.0005480489735650851, "short": -0.0012658448910782827}, "domain": {"Econ/Fin": 0.0007987057781615459, "Energy": -0.00027294392359555886, "Healthcare": -0.0068662792034112075, "Nature": -0.0016651499128672032, "Sales": -0.0006053142819720803, "Transport": -0.0005515781738771319, "Web/CloudOps": -0.0003271303138128179}, "frequency": {"A": -0.0020116995037390284, "D": -0.001734783094214154, "H": -2.7846182917512508e-05, "M": -0.006514194420064734, "Q": -5.7471102129613705e-05, "S": 0.0009265513986651541, "T": -0.0003718778180832327, "W": -0.003745856152986282}, "variates": {"multivariate": -0.00012714998662788357, "univariate": -0.0014419023942335851}}}], "mean_delta": -0.00011847483236823719, "positive_cutoffs": 3, "outcome": "Declared comparison checkpoints 6000,12000. No transfer formula or automatic publication is selected by this controller."} + +E143 6000 original E80 reference: {"label": "E143 6000 original E80 reference", "utc": "2026-10-23T22:33:03.924518+00:00", "candidate": "lowfreq_age_ema6000", "control": "overflow_control_ema6000", "rows": [{"cutoff": "evals", "candidate_skill": 0.37715035197634217, "control_skill": 0.3782887645248565, "delta": -0.0011384125485143226, "candidate_checkpoint": "13560ecca6cbdc21e2015614d39bb2cf06ea0856a9cd9c3f8632587553d49ea4", "control_checkpoint": "b19875c52ed5024383fb69ccc48cb07a5629ad8011abf134c7dcfcdc50fae2af", "candidate_eval_seconds": 24.23888063430786, "candidate_groups": {"term": {"long": {"n_configs": 21, "rel_mase_gmean": 0.7460425808877377, "rel_wql_gmean": 0.48197544627514316}, "medium": {"n_configs": 21, "rel_mase_gmean": 0.7115632120748937, "rel_wql_gmean": 0.49384335735105517}, "short": {"n_configs": 55, "rel_mase_gmean": 0.7580534053347746, "rel_wql_gmean": 0.5470947538225776}}, "domain": {"Econ/Fin": {"n_configs": 6, "rel_mase_gmean": 0.8818224377240041, "rel_wql_gmean": 0.8515236537644912}, "Energy": {"n_configs": 32, "rel_mase_gmean": 0.900358138885147, "rel_wql_gmean": 0.6445981846379486}, "Healthcare": {"n_configs": 5, "rel_mase_gmean": 0.5799334491299603, "rel_wql_gmean": 0.5159035903063355}, "Nature": {"n_configs": 15, "rel_mase_gmean": 0.8185370936246413, "rel_wql_gmean": 0.4022729628256497}, "Sales": {"n_configs": 4, "rel_mase_gmean": 0.8487841656918123, "rel_wql_gmean": 0.5205122940697845}, "Transport": {"n_configs": 15, "rel_mase_gmean": 0.6444527910416968, "rel_wql_gmean": 0.44250981255817795}, "Web/CloudOps": {"n_configs": 20, "rel_mase_gmean": 0.5642161356020124, "rel_wql_gmean": 0.438464223011004}}, "frequency": {"A": {"n_configs": 1, "rel_mase_gmean": 0.6088698071729112, "rel_wql_gmean": 0.6351927154404208}, "D": {"n_configs": 15, "rel_mase_gmean": 0.7762943573913337, "rel_wql_gmean": 0.5336735775462532}, "H": {"n_configs": 31, "rel_mase_gmean": 0.7309077613971986, "rel_wql_gmean": 0.49773397431447236}, "M": {"n_configs": 5, "rel_mase_gmean": 0.9984149728158636, "rel_wql_gmean": 0.8637976954045515}, "Q": {"n_configs": 1, "rel_mase_gmean": 0.7862788360258661, "rel_wql_gmean": 0.8274059860272389}, "S": {"n_configs": 6, "rel_mase_gmean": 0.6564437859809593, "rel_wql_gmean": 0.5049333165326804}, "T": {"n_configs": 30, "rel_mase_gmean": 0.6950946166745546, "rel_wql_gmean": 0.45604089940382403}, "W": {"n_configs": 8, "rel_mase_gmean": 0.9007184962794047, "rel_wql_gmean": 0.6672067188386345}}, "variates": {"multivariate": {"n_configs": 43, "rel_mase_gmean": 0.7122932086214472, "rel_wql_gmean": 0.5122581274355199}, "univariate": {"n_configs": 54, "rel_mase_gmean": 0.7724065032896359, "rel_wql_gmean": 0.5273718755588593}}}, "control_groups": {"term": {"long": {"n_configs": 21, "rel_mase_gmean": 0.7451158192819246, "rel_wql_gmean": 0.4809631678035488}, "medium": {"n_configs": 21, "rel_mase_gmean": 0.7120497644863014, "rel_wql_gmean": 0.4940812105058145}, "short": {"n_configs": 55, "rel_mase_gmean": 0.7560063232433744, "rel_wql_gmean": 0.5455016162773587}}, "domain": {"Econ/Fin": {"n_configs": 6, "rel_mase_gmean": 0.891060652656678, "rel_wql_gmean": 0.8581226203181075}, "Energy": {"n_configs": 32, "rel_mase_gmean": 0.8989380404519756, "rel_wql_gmean": 0.6435803440684917}, "Healthcare": {"n_configs": 5, "rel_mase_gmean": 0.5710382040222995, "rel_wql_gmean": 0.5034944242351712}, "Nature": {"n_configs": 15, "rel_mase_gmean": 0.8133075715765863, "rel_wql_gmean": 0.4004091491239218}, "Sales": {"n_configs": 4, "rel_mase_gmean": 0.8446340518950459, "rel_wql_gmean": 0.5179589899563962}, "Transport": {"n_configs": 15, "rel_mase_gmean": 0.6447526741433901, "rel_wql_gmean": 0.4427981539703199}, "Web/CloudOps": {"n_configs": 20, "rel_mase_gmean": 0.5645988459931921, "rel_wql_gmean": 0.4387078987240053}}, "frequency": {"A": {"n_configs": 1, "rel_mase_gmean": 0.6165351258073414, "rel_wql_gmean": 0.6464531739881929}, "D": {"n_configs": 15, "rel_mase_gmean": 0.777944381816132, "rel_wql_gmean": 0.5346411774818413}, "H": {"n_configs": 31, "rel_mase_gmean": 0.7317515640788856, "rel_wql_gmean": 0.49890798111520296}, "M": {"n_configs": 5, "rel_mase_gmean": 0.9655032792454371, "rel_wql_gmean": 0.8262938781338912}, "Q": {"n_configs": 1, "rel_mase_gmean": 0.7858131466267005, "rel_wql_gmean": 0.8312500357519329}, "S": {"n_configs": 6, "rel_mase_gmean": 0.6555214893191091, "rel_wql_gmean": 0.504479335142133}, "T": {"n_configs": 30, "rel_mase_gmean": 0.6939507700541674, "rel_wql_gmean": 0.45508640655176025}, "W": {"n_configs": 8, "rel_mase_gmean": 0.8990798911693764, "rel_wql_gmean": 0.664987514515424}}, "variates": {"multivariate": {"n_configs": 43, "rel_mase_gmean": 0.7111159189621905, "rel_wql_gmean": 0.5120760043186128}, "univariate": {"n_configs": 54, "rel_mase_gmean": 0.7711295953953445, "rel_wql_gmean": 0.5256252376142441}}}, "group_skill_delta": {"term": {"long": -0.0010022140940959545, "medium": 0.0003454209654081275, "short": -0.0018071902233589565}, "domain": {"Econ/Fin": 0.007895932257241278, "Energy": -0.0012022621402979494, "Healthcare": -0.0107785682649989, "Nature": -0.003162593085884513, "Sales": -0.0032552312732504474, "Transport": 0.00029822998054152006, "Web/CloudOps": 0.0003068967294886371}, "frequency": {"A": 0.009424942867012898, "D": 0.0012675381537965436, "H": 0.0010593838615339246, "M": -0.03547971367674918, "Q": 0.001632030325505962, "S": -0.0006632781132507315, "T": -0.0010524665879257933, "W": -0.0019946017525090953}, "variates": {"multivariate": -0.0006066992287265816, "univariate": -0.0015846803161105871}}}, {"cutoff": "backcast_evals", "candidate_skill": 0.33445635691877384, "control_skill": 0.33515646486891926, "delta": -0.0007001079501454122, "candidate_checkpoint": "13560ecca6cbdc21e2015614d39bb2cf06ea0856a9cd9c3f8632587553d49ea4", "control_checkpoint": "b19875c52ed5024383fb69ccc48cb07a5629ad8011abf134c7dcfcdc50fae2af", "candidate_eval_seconds": 23.64342212677002, "candidate_groups": {"term": {"long": {"n_configs": 21, "rel_mase_gmean": 0.7763386659848651, "rel_wql_gmean": 0.4661160983667355}, "medium": {"n_configs": 21, "rel_mase_gmean": 0.7733638748160173, "rel_wql_gmean": 0.5345476805369568}, "short": {"n_configs": 55, "rel_mase_gmean": 0.8198071923774253, "rel_wql_gmean": 0.5992608593591018}}, "domain": {"Econ/Fin": {"n_configs": 6, "rel_mase_gmean": 0.8813190145460748, "rel_wql_gmean": 0.8109990956703732}, "Energy": {"n_configs": 32, "rel_mase_gmean": 0.8893069968207712, "rel_wql_gmean": 0.667943465865878}, "Healthcare": {"n_configs": 5, "rel_mase_gmean": 0.6506856689905228, "rel_wql_gmean": 0.5531334137516819}, "Nature": {"n_configs": 15, "rel_mase_gmean": 0.9326571053730144, "rel_wql_gmean": 0.43423920615061856}, "Sales": {"n_configs": 4, "rel_mase_gmean": 0.7397694593001645, "rel_wql_gmean": 0.5034356518458372}, "Transport": {"n_configs": 15, "rel_mase_gmean": 0.7387876381177061, "rel_wql_gmean": 0.5323304996698178}, "Web/CloudOps": {"n_configs": 20, "rel_mase_gmean": 0.6640459170467207, "rel_wql_gmean": 0.4607121291886821}}, "frequency": {"A": {"n_configs": 1, "rel_mase_gmean": 0.6593853528945056, "rel_wql_gmean": 0.7321266074358561}, "D": {"n_configs": 15, "rel_mase_gmean": 0.8388145510711978, "rel_wql_gmean": 0.498971303292204}, "H": {"n_configs": 31, "rel_mase_gmean": 0.7776090587304596, "rel_wql_gmean": 0.5163200466346682}, "M": {"n_configs": 5, "rel_mase_gmean": 0.8830511065984238, "rel_wql_gmean": 0.8075182918488222}, "Q": {"n_configs": 1, "rel_mase_gmean": 0.7627963783946992, "rel_wql_gmean": 0.7591083942515834}, "S": {"n_configs": 6, "rel_mase_gmean": 0.8521209645238721, "rel_wql_gmean": 0.5075022676954499}, "T": {"n_configs": 30, "rel_mase_gmean": 0.7691685247238486, "rel_wql_gmean": 0.5793753357974143}, "W": {"n_configs": 8, "rel_mase_gmean": 0.8753772833131829, "rel_wql_gmean": 0.5823151643141612}}, "variates": {"multivariate": {"n_configs": 43, "rel_mase_gmean": 0.7895478954800343, "rel_wql_gmean": 0.5319533629595344}, "univariate": {"n_configs": 54, "rel_mase_gmean": 0.8084753832162302, "rel_wql_gmean": 0.5715859581543963}}}, "control_groups": {"term": {"long": {"n_configs": 21, "rel_mase_gmean": 0.7750842285105053, "rel_wql_gmean": 0.46538535076726445}, "medium": {"n_configs": 21, "rel_mase_gmean": 0.7739741905332832, "rel_wql_gmean": 0.534827984372569}, "short": {"n_configs": 55, "rel_mase_gmean": 0.818371751293216, "rel_wql_gmean": 0.5985153782895438}}, "domain": {"Econ/Fin": {"n_configs": 6, "rel_mase_gmean": 0.887916619787545, "rel_wql_gmean": 0.8185770809200361}, "Energy": {"n_configs": 32, "rel_mase_gmean": 0.8901417181128463, "rel_wql_gmean": 0.6693878286037928}, "Healthcare": {"n_configs": 5, "rel_mase_gmean": 0.6334453098405051, "rel_wql_gmean": 0.5437528735999733}, "Nature": {"n_configs": 15, "rel_mase_gmean": 0.9321426691826549, "rel_wql_gmean": 0.43340604882484346}, "Sales": {"n_configs": 4, "rel_mase_gmean": 0.7321691335963859, "rel_wql_gmean": 0.4977340558431129}, "Transport": {"n_configs": 15, "rel_mase_gmean": 0.7394280206962279, "rel_wql_gmean": 0.5327250385233748}, "Web/CloudOps": {"n_configs": 20, "rel_mase_gmean": 0.6634585442750054, "rel_wql_gmean": 0.4591816165371809}}, "frequency": {"A": {"n_configs": 1, "rel_mase_gmean": 0.6523615189029875, "rel_wql_gmean": 0.7262242686636398}, "D": {"n_configs": 15, "rel_mase_gmean": 0.8405439241384891, "rel_wql_gmean": 0.5009731755165275}, "H": {"n_configs": 31, "rel_mase_gmean": 0.7770655988729349, "rel_wql_gmean": 0.5160636056826207}, "M": {"n_configs": 5, "rel_mase_gmean": 0.8620023507565068, "rel_wql_gmean": 0.7924280387937057}, "Q": {"n_configs": 1, "rel_mase_gmean": 0.7600409188395882, "rel_wql_gmean": 0.7689369191610511}, "S": {"n_configs": 6, "rel_mase_gmean": 0.8521465319527592, "rel_wql_gmean": 0.5084037872669025}, "T": {"n_configs": 30, "rel_mase_gmean": 0.7696065791080199, "rel_wql_gmean": 0.577900906515431}, "W": {"n_configs": 8, "rel_mase_gmean": 0.8747966347792652, "rel_wql_gmean": 0.5837934687567188}}, "variates": {"multivariate": {"n_configs": 43, "rel_mase_gmean": 0.7902103277834961, "rel_wql_gmean": 0.5315871703126607}, "univariate": {"n_configs": 54, "rel_mase_gmean": 0.8062350844786952, "rel_wql_gmean": 0.5709428531788484}}}, "group_skill_delta": {"term": {"long": -0.0009575420697252035, "medium": 0.00042227429127528193, "short": -0.0010496217195631319}, "domain": {"Econ/Fin": 0.007113946520424852, "Energy": 0.001194863485542097, "Healthcare": -0.013041827856812738, "Nature": -0.0007861711525924964, "Sales": -0.0065907546066875655, "Transport": 0.0005041892281230087, "Web/CloudOps": -0.0011637728514445334}, "frequency": {"A": -0.006501876663447259, "D": 0.0019643790234135095, "H": -0.0003787772438984538, "M": -0.01795718344716457, "Q": 0.0035258269901923267, "S": 0.0005937011661998337, "T": -0.000660140996739278, "W": 0.0006685543825725171}, "variates": {"multivariate": 4.8614286717429955e-05, "univariate": -0.0013245074835575021}}}, {"cutoff": "backcast2_evals", "candidate_skill": 0.36009043866424606, "control_skill": 0.35970579873679454, "delta": 0.0003846399274515244, "candidate_checkpoint": "13560ecca6cbdc21e2015614d39bb2cf06ea0856a9cd9c3f8632587553d49ea4", "control_checkpoint": "b19875c52ed5024383fb69ccc48cb07a5629ad8011abf134c7dcfcdc50fae2af", "candidate_eval_seconds": 21.48668599128723, "candidate_groups": {"term": {"long": {"n_configs": 19, "rel_mase_gmean": 0.800448770265929, "rel_wql_gmean": 0.5060378643458802}, "medium": {"n_configs": 21, "rel_mase_gmean": 0.7563270051535798, "rel_wql_gmean": 0.49274041057997453}, "short": {"n_configs": 54, "rel_mase_gmean": 0.7632603147966028, "rel_wql_gmean": 0.5586434337011115}}, "domain": {"Econ/Fin": {"n_configs": 6, "rel_mase_gmean": 0.8927625413618901, "rel_wql_gmean": 0.9072994788270549}, "Energy": {"n_configs": 32, "rel_mase_gmean": 0.8961882125715739, "rel_wql_gmean": 0.6466313476083891}, "Healthcare": {"n_configs": 5, "rel_mase_gmean": 0.6795565288119423, "rel_wql_gmean": 0.5853888101181287}, "Nature": {"n_configs": 15, "rel_mase_gmean": 0.763303968511324, "rel_wql_gmean": 0.3648524452022238}, "Sales": {"n_configs": 3, "rel_mase_gmean": 0.5684005335449862, "rel_wql_gmean": 0.36483951045140095}, "Transport": {"n_configs": 14, "rel_mase_gmean": 0.6692198183523368, "rel_wql_gmean": 0.5022824823011589}, "Web/CloudOps": {"n_configs": 19, "rel_mase_gmean": 0.6848119732518925, "rel_wql_gmean": 0.4725010986098329}}, "frequency": {"A": {"n_configs": 1, "rel_mase_gmean": 0.582004936684398, "rel_wql_gmean": 0.7330160727691972}, "D": {"n_configs": 15, "rel_mase_gmean": 0.7322685984746606, "rel_wql_gmean": 0.451521540012812}, "H": {"n_configs": 30, "rel_mase_gmean": 0.7554159459546659, "rel_wql_gmean": 0.49036410982538964}, "M": {"n_configs": 4, "rel_mase_gmean": 0.8114116473971702, "rel_wql_gmean": 0.8505017402468331}, "Q": {"n_configs": 1, "rel_mase_gmean": 0.8336320601893605, "rel_wql_gmean": 0.8684841381910531}, "S": {"n_configs": 6, "rel_mase_gmean": 0.9093910010560291, "rel_wql_gmean": 0.5676619527634408}, "T": {"n_configs": 29, "rel_mase_gmean": 0.756773788930113, "rel_wql_gmean": 0.5417952419758164}, "W": {"n_configs": 8, "rel_mase_gmean": 0.8412830152985995, "rel_wql_gmean": 0.6319860700256104}}, "variates": {"multivariate": {"n_configs": 42, "rel_mase_gmean": 0.7825376189915769, "rel_wql_gmean": 0.5178036878606075}, "univariate": {"n_configs": 52, "rel_mase_gmean": 0.758354046878668, "rel_wql_gmean": 0.54457009360145}}}, "control_groups": {"term": {"long": {"n_configs": 19, "rel_mase_gmean": 0.8007838015734439, "rel_wql_gmean": 0.5057608145580296}, "medium": {"n_configs": 21, "rel_mase_gmean": 0.7549215312107497, "rel_wql_gmean": 0.49176726739734045}, "short": {"n_configs": 54, "rel_mase_gmean": 0.7642838919526312, "rel_wql_gmean": 0.5599238938428742}}, "domain": {"Econ/Fin": {"n_configs": 6, "rel_mase_gmean": 0.8997976584221669, "rel_wql_gmean": 0.9109410837720314}, "Energy": {"n_configs": 32, "rel_mase_gmean": 0.8969828992939779, "rel_wql_gmean": 0.6477417063864679}, "Healthcare": {"n_configs": 5, "rel_mase_gmean": 0.6849313799294706, "rel_wql_gmean": 0.586932347321718}, "Nature": {"n_configs": 15, "rel_mase_gmean": 0.7624727427382104, "rel_wql_gmean": 0.3657161858629389}, "Sales": {"n_configs": 3, "rel_mase_gmean": 0.5639287429478652, "rel_wql_gmean": 0.36145769293128766}, "Transport": {"n_configs": 14, "rel_mase_gmean": 0.6689876132941273, "rel_wql_gmean": 0.5020608717418806}, "Web/CloudOps": {"n_configs": 19, "rel_mase_gmean": 0.6837785683593893, "rel_wql_gmean": 0.4719606763184108}}, "frequency": {"A": {"n_configs": 1, "rel_mase_gmean": 0.5811330636284028, "rel_wql_gmean": 0.7336592636608978}, "D": {"n_configs": 15, "rel_mase_gmean": 0.7329769702098001, "rel_wql_gmean": 0.45167764562697754}, "H": {"n_configs": 30, "rel_mase_gmean": 0.7553820928392463, "rel_wql_gmean": 0.4904273479694985}, "M": {"n_configs": 4, "rel_mase_gmean": 0.8254186064766647, "rel_wql_gmean": 0.8515799856418855}, "Q": {"n_configs": 1, "rel_mase_gmean": 0.8324909356393811, "rel_wql_gmean": 0.8724694350490023}, "S": {"n_configs": 6, "rel_mase_gmean": 0.9100541095744552, "rel_wql_gmean": 0.5693729069160721}, "T": {"n_configs": 29, "rel_mase_gmean": 0.7550799772409099, "rel_wql_gmean": 0.540387432745741}, "W": {"n_configs": 8, "rel_mase_gmean": 0.8437173750489751, "rel_wql_gmean": 0.6406981711171287}}, "variates": {"multivariate": {"n_configs": 42, "rel_mase_gmean": 0.7818465318697899, "rel_wql_gmean": 0.5175870710427966}, "univariate": {"n_configs": 52, "rel_mase_gmean": 0.7594977958239505, "rel_wql_gmean": 0.545505930798867}}}, "group_skill_delta": {"term": {"long": -4.1103675772813375e-05, "medium": -0.0011700419095826975, "short": 0.001186123034286335}, "domain": {"Econ/Fin": 0.0053505662879239635, "Energy": 0.000991039501952895, "Healthcare": 0.003323633049103547, "Nature": 0.00033653032289227003, "Sales": -0.003901995088263166, "Transport": -0.00022848528439645133, "Web/CloudOps": -0.000754508673372456}, "frequency": {"A": -0.00020313432124552389, "D": 0.00037749375698203913, "H": 2.5605064578382297e-05, "M": 0.007670458526364277, "Q": 0.0013661206873525344, "S": 0.001344261962866189, "T": -0.0015485142449271905, "W": 0.006070098551083314}, "variates": {"multivariate": -0.0004142462796299373, "univariate": 0.0010367839983577154}}}, {"cutoff": "backcast3_evals", "candidate_skill": 0.38905598679205244, "control_skill": 0.38966768132876584, "delta": -0.0006116945367133919, "candidate_checkpoint": "13560ecca6cbdc21e2015614d39bb2cf06ea0856a9cd9c3f8632587553d49ea4", "control_checkpoint": "b19875c52ed5024383fb69ccc48cb07a5629ad8011abf134c7dcfcdc50fae2af", "candidate_eval_seconds": 23.028390407562256, "candidate_groups": {"term": {"long": {"n_configs": 19, "rel_mase_gmean": 0.7651654319349667, "rel_wql_gmean": 0.4762420102669854}, "medium": {"n_configs": 20, "rel_mase_gmean": 0.7719257186295885, "rel_wql_gmean": 0.5320360809109539}, "short": {"n_configs": 54, "rel_mase_gmean": 0.7145567937828593, "rel_wql_gmean": 0.5084600356897446}}, "domain": {"Econ/Fin": {"n_configs": 6, "rel_mase_gmean": 0.834529721483013, "rel_wql_gmean": 0.8161598941965836}, "Energy": {"n_configs": 32, "rel_mase_gmean": 0.8349859255498696, "rel_wql_gmean": 0.5565285975619227}, "Healthcare": {"n_configs": 5, "rel_mase_gmean": 0.7823310668745433, "rel_wql_gmean": 0.6596457484453172}, "Nature": {"n_configs": 15, "rel_mase_gmean": 0.7174718369750586, "rel_wql_gmean": 0.3426177834265536}, "Sales": {"n_configs": 3, "rel_mase_gmean": 0.7572858039499756, "rel_wql_gmean": 0.4810526938286365}, "Transport": {"n_configs": 14, "rel_mase_gmean": 0.5441367107228744, "rel_wql_gmean": 0.4503318478008759}, "Web/CloudOps": {"n_configs": 18, "rel_mase_gmean": 0.7167615825135144, "rel_wql_gmean": 0.5204237491828342}}, "frequency": {"A": {"n_configs": 1, "rel_mase_gmean": 0.5269095103460054, "rel_wql_gmean": 0.7367243319442995}, "D": {"n_configs": 15, "rel_mase_gmean": 0.7275250086113206, "rel_wql_gmean": 0.42521784358196796}, "H": {"n_configs": 29, "rel_mase_gmean": 0.7267709667416996, "rel_wql_gmean": 0.4893867261866016}, "M": {"n_configs": 4, "rel_mase_gmean": 0.8620261347208122, "rel_wql_gmean": 0.8548717233187205}, "Q": {"n_configs": 1, "rel_mase_gmean": 0.7139945526949583, "rel_wql_gmean": 0.7706200499608589}, "S": {"n_configs": 6, "rel_mase_gmean": 0.8385326549351071, "rel_wql_gmean": 0.5984822446937036}, "T": {"n_configs": 29, "rel_mase_gmean": 0.7072432367122784, "rel_wql_gmean": 0.4644996219125975}, "W": {"n_configs": 8, "rel_mase_gmean": 0.807344260016394, "rel_wql_gmean": 0.6721440013561132}}, "variates": {"multivariate": {"n_configs": 41, "rel_mase_gmean": 0.7634223165781352, "rel_wql_gmean": 0.515267751478812}, "univariate": {"n_configs": 52, "rel_mase_gmean": 0.7163808854857141, "rel_wql_gmean": 0.49990314250058615}}}, "control_groups": {"term": {"long": {"n_configs": 19, "rel_mase_gmean": 0.7650747158835133, "rel_wql_gmean": 0.4758888221311058}, "medium": {"n_configs": 20, "rel_mase_gmean": 0.7703157746376595, "rel_wql_gmean": 0.5298503011269557}, "short": {"n_configs": 54, "rel_mase_gmean": 0.713915671760059, "rel_wql_gmean": 0.5084844315057424}}, "domain": {"Econ/Fin": {"n_configs": 6, "rel_mase_gmean": 0.8452403065316382, "rel_wql_gmean": 0.8277399249864468}, "Energy": {"n_configs": 32, "rel_mase_gmean": 0.8346950467324626, "rel_wql_gmean": 0.5567599695672222}, "Healthcare": {"n_configs": 5, "rel_mase_gmean": 0.7876375654704325, "rel_wql_gmean": 0.6565412569519505}, "Nature": {"n_configs": 15, "rel_mase_gmean": 0.710238739553539, "rel_wql_gmean": 0.34191077293082645}, "Sales": {"n_configs": 3, "rel_mase_gmean": 0.7563686587019305, "rel_wql_gmean": 0.4784563222634317}, "Transport": {"n_configs": 14, "rel_mase_gmean": 0.5433317817040721, "rel_wql_gmean": 0.4493168613990946}, "Web/CloudOps": {"n_configs": 18, "rel_mase_gmean": 0.7161526533494015, "rel_wql_gmean": 0.5178489398382691}}, "frequency": {"A": {"n_configs": 1, "rel_mase_gmean": 0.5311143622209655, "rel_wql_gmean": 0.7781586196577971}, "D": {"n_configs": 15, "rel_mase_gmean": 0.7234708846594775, "rel_wql_gmean": 0.42486757337507386}, "H": {"n_configs": 29, "rel_mase_gmean": 0.725973846929309, "rel_wql_gmean": 0.48863382838793346}, "M": {"n_configs": 4, "rel_mase_gmean": 0.8623268790180476, "rel_wql_gmean": 0.8523275939235515}, "Q": {"n_configs": 1, "rel_mase_gmean": 0.7182632014266673, "rel_wql_gmean": 0.7707135583961491}, "S": {"n_configs": 6, "rel_mase_gmean": 0.8408993113146807, "rel_wql_gmean": 0.5989715147638536}, "T": {"n_configs": 29, "rel_mase_gmean": 0.7064723895859075, "rel_wql_gmean": 0.463139705670842}, "W": {"n_configs": 8, "rel_mase_gmean": 0.8096257056910313, "rel_wql_gmean": 0.6721758032092567}}, "variates": {"multivariate": {"n_configs": 41, "rel_mase_gmean": 0.7638007775200529, "rel_wql_gmean": 0.5152023145873739}, "univariate": {"n_configs": 52, "rel_mase_gmean": 0.7148285566222029, "rel_wql_gmean": 0.49905178580637044}}}, "group_skill_delta": {"term": {"long": -0.000259654574695789, "medium": -0.0019850340271861944, "short": -0.0002560158565543258}, "domain": {"Econ/Fin": 0.01115064962656065, "Energy": 2.2915416482693907e-05, "Healthcare": 0.0007340578260338626, "Nature": -0.003014740630669255, "Sales": -0.0019956257144767564, "Transport": -0.0009240216729882733, "Web/CloudOps": -0.0017715792788255413}, "frequency": {"A": 0.019830704026307933, "D": -0.0017803592778993238, "H": -0.0007858224485016718, "M": -0.001128817542738303, "Q": 0.0022591766487027876, "S": 0.0012889170244652082, "T": -0.0011516191154861133, "W": 0.0010575521164962742}, "variates": {"multivariate": 0.00011560665669652082, "univariate": -0.0011579667022737494}}}], "mean_delta": -0.0005163937769804006, "positive_cutoffs": 1, "outcome": "Secondary original-window reference; primary matched control remains E113 lowfreq_windows. No automatic transfer or publication."} + +2026-10-23T22:34:09.731589+00:00: E153primary6k quartetpassed3of4versusmatchedcontinuation(mean+.000639453454) and3of4versusE148(mean+.000576218693). Scores[.387894381911,.346581109255,.370472768861,.393043083835], currentE148deltas[-.000333569067,+.000914993596,+.000810044691,+.000913405550]. Full validation started session80670 after currentpublication recheck. Portable member built from own E1416k SHA2877a38b94a7d77a53a9df410349cecc2f6ab134c83a76744924543bbe73eb17,146206864params; fullquartet256373448params. All training/conversion provenance included. No promotion until full97/151170/0fails plus runtime/relocation/actualstandalonecomposition and currentbest guards. + +2026-10-23T22:34:31.485169+00:00: E101/E13548k review {"utc": "2026-10-23T22:34:31.485169+00:00", "step": 48000, "current_descriptor_sha256": "a1b4ab426901be8e1ee299eeeb3f041bac7cea3d4e59c4608824fc3d05c83e03", "rows": [{"cutoff": "valid_screen", "skill": 0.3862430162504997, "current_skill": 0.3882279509777624, "delta": -0.0019849347272626883}, {"cutoff": "valid_backcast", "skill": 0.34449643137991137, "current_skill": 0.3456661156587746, "delta": -0.0011696842788632145}, {"cutoff": "valid_backcast2", "skill": 0.3697302062020633, "current_skill": 0.36966272417010304, "delta": 6.748203196027536e-05}, {"cutoff": "valid_backcast3", "skill": 0.3918145585771363, "current_skill": 0.3921296782846404, "delta": -0.0003151197075040857}], "positive_current": 1, "mean_delta_current": -0.0008505641704174283, "standalone_positive_matched": 4, "standalone_mean_delta_matched": 0.01643729063708163, "decision": "No full replay/publication: fixed E135quartet fails current-publication cutoff gate. Original96k distillation schedule and predeclared final comparison continue; no teacher refresh, coefficient or alternative ensemble selected."} + +2026-10-23T22:36:29.830419+00:00: E143primary6k not selected: versus matchedE113,3of4positive butmean-0.000118474832; versusoriginalE80,1of4positive andmean-0.000516393777. The earliestcutoffloses.000878051871 againstE113. No transfer/ensemble constructed; original12kschedule/finalcomparison remains. E153primaryprivatequartet descriptorbd228e3d12d89bc9a79acfd7238f4c70ff0a0cfe83d6f34668525458562a8aa9 passed2synthetic actualstandalonecompositioncases(21.022639501s) and3realconfig relocation(25.766290231s), fullpublicreplayrunning. + +E147 fresh146M full-corpus originalLR seed307 storage recovery training started at 2026-10-23T22:40:44Z, after the declared dependency processes exited; required checkpoint files are present. Settings are unchanged from the declared comparison. + +2026-10-23T22:43:27.123813+00:00: E13548k median-error-dependence diagnostic CPU9.300756899872795s,0updates/0newneuralinference/no fittedcoefficients. [{"cutoff": "valid_screen", "equal_configuration_mean_error_cosine_delta": 0.017930837934878506, "equal_configuration_mean_disagreement_delta": -0.09806292251048022}, {"cutoff": "valid_backcast", "equal_configuration_mean_error_cosine_delta": 0.01766023129217782, "equal_configuration_mean_disagreement_delta": -0.1036566867286526}, {"cutoff": "valid_backcast2", "equal_configuration_mean_error_cosine_delta": 0.021640768319654072, "equal_configuration_mean_disagreement_delta": -0.11454244307911492}, {"cutoff": "valid_backcast3", "equal_configuration_mean_error_cosine_delta": 0.02260943588127983, "equal_configuration_mean_disagreement_delta": -0.1164776420047907}]. Relative to fresh48, the distilled48 median errors are more aligned with the fixed first-three median reference at every cutoff and in every term; disagreement falls. This supports a diversity concern, not causal proof or a complete explanation of WQL. Models also differ in learning rate and supervision; use only as descriptive analysis of actual E135/E130 alternatives. Receipt distillation48_error_dependence.json. + +2026-10-23T22:45:28.291646+00:00: E153primary6k fullquartet REJECTED. Fullskill0.384152613414 versus E148.384535531421, delta−.000382918007; relMASE.736562470341 and relWQL.514916275043 bothworse. All97configs151170instances,0fails. Longgroupskill+.000559198903, medium−.000525597297,short−.000703467707; monthly−.010424353065,weekly−.006756727310. Inference511.974687707s, suite642.720436965s; all2synthetic/3realcomposition/3realrelocation checks bitwisepassed. Runtimecorrectness does not establishmodelimprovement; no promotion. Preserve privatecandidate bd228e3d12d89bc9a79acfd7238f4c70ff0a0cfe83d6f34668525458562a8aa9, sourceweightsandreceipts. Conditional final12k source/ensemble contrast remains asdeclared. + +## E153 patch8-6k quartet full validation — rejected +- Checkpoint SHA-256: `bd228e3d12d89bc9a79acfd7238f4c70ff0a0cfe83d6f34668525458562a8aa9`. +- Evaluation: 97 configurations, 151170 instances, 0 failed configurations; not separately timed seconds. +- Overall skill 0.384153; relative MASE 0.736562; relative WQL 0.514916. +- term skill: long=0.4008, medium=0.4091, short=0.3678. +- domain skill: Econ/Fin=0.1343, Energy=0.2411, Healthcare=0.4906, Nature=0.4405, Sales=0.3611, Transport=0.4733, Web/CloudOps=0.4993. +- frequency skill: A=0.3048, D=0.3778, H=0.3986, M=0.1411, Q=0.1922, S=0.4245, T=0.4385, W=0.2377. +- variates skill: multivariate=0.3962, univariate=0.3744. +- Outcome: Correct and replayable package, but full skill0.384152613414 loses to current E1480.384535531421. Both relative MASE and WQL worsen. All97/151170/0fail; real/synthetic independent composition and relocation bitwise passed. No publication. Original conditional final12k comparison remains. + +E146 direct-trend independent replication seed523 storage recovery training started at 2026-10-23T22:45:49Z, after the declared dependency processes exited; required checkpoint files are present. Settings are unchanged from the declared comparison. + +E141 12000 four-cutoff comparison: {"label": "E141 12000 four-cutoff comparison", "utc": "2026-10-23T22:49:35.850083+00:00", "candidate": "capacity_patch8_candidate_ema12000", "control": "capacity_patch8_control_ema12000", "rows": [{"cutoff": "evals", "candidate_skill": 0.3692643266863477, "control_skill": 0.3697081080636234, "delta": -0.00044378137727574263, "candidate_checkpoint": "8bdc6aec5ac81386cace42f2ef23202df02cc54a97261eae61ececffaae962e2", "control_checkpoint": "78e34c37073a8114d02d99f3d191343386337430495420337e8bf81f518fba12", "candidate_eval_seconds": 52.1950409412384, "candidate_groups": {"term": {"long": {"n_configs": 21, "rel_mase_gmean": 0.7592656160195234, "rel_wql_gmean": 0.4966968333865811}, "medium": {"n_configs": 21, "rel_mase_gmean": 0.730126320951248, "rel_wql_gmean": 0.49944625071300897}, "short": {"n_configs": 55, "rel_mase_gmean": 0.7601553525144238, "rel_wql_gmean": 0.5521919812260615}}, "domain": {"Econ/Fin": {"n_configs": 6, "rel_mase_gmean": 0.8823286134139959, "rel_wql_gmean": 0.8405465544580609}, "Energy": {"n_configs": 32, "rel_mase_gmean": 0.9082680435980823, "rel_wql_gmean": 0.6565180348958861}, "Healthcare": {"n_configs": 5, "rel_mase_gmean": 0.5794121142017361, "rel_wql_gmean": 0.5049110337605541}, "Nature": {"n_configs": 15, "rel_mase_gmean": 0.8326656550415755, "rel_wql_gmean": 0.41624881953795634}, "Sales": {"n_configs": 4, "rel_mase_gmean": 0.8234940861461448, "rel_wql_gmean": 0.5075626179137492}, "Transport": {"n_configs": 15, "rel_mase_gmean": 0.649163913855379, "rel_wql_gmean": 0.44784933617346223}, "Web/CloudOps": {"n_configs": 20, "rel_mase_gmean": 0.5796068228208399, "rel_wql_gmean": 0.447021463968036}}, "frequency": {"A": {"n_configs": 1, "rel_mase_gmean": 0.6017438042458082, "rel_wql_gmean": 0.6304889599515308}, "D": {"n_configs": 15, "rel_mase_gmean": 0.759749537808371, "rel_wql_gmean": 0.5292420586690706}, "H": {"n_configs": 31, "rel_mase_gmean": 0.7390296578936822, "rel_wql_gmean": 0.5056450470869174}, "M": {"n_configs": 5, "rel_mase_gmean": 1.0625822117428756, "rel_wql_gmean": 0.8796429724017721}, "Q": {"n_configs": 1, "rel_mase_gmean": 0.7720509044863395, "rel_wql_gmean": 0.8237294969384296}, "S": {"n_configs": 6, "rel_mase_gmean": 0.670662529970206, "rel_wql_gmean": 0.5084784169140807}, "T": {"n_configs": 30, "rel_mase_gmean": 0.711741737454722, "rel_wql_gmean": 0.47046487856550157}, "W": {"n_configs": 8, "rel_mase_gmean": 0.8920501257787306, "rel_wql_gmean": 0.6638689739702408}}, "variates": {"multivariate": {"n_configs": 43, "rel_mase_gmean": 0.7316070488902383, "rel_wql_gmean": 0.5273569809375125}, "univariate": {"n_configs": 54, "rel_mase_gmean": 0.7711437093592233, "rel_wql_gmean": 0.5286398907801284}}}, "control_groups": {"term": {"long": {"n_configs": 21, "rel_mase_gmean": 0.7623302007628598, "rel_wql_gmean": 0.49885876408278057}, "medium": {"n_configs": 21, "rel_mase_gmean": 0.7312927753075384, "rel_wql_gmean": 0.5012676130561656}, "short": {"n_configs": 55, "rel_mase_gmean": 0.7559248585958686, "rel_wql_gmean": 0.5510349821587733}}, "domain": {"Econ/Fin": {"n_configs": 6, "rel_mase_gmean": 0.8887279104785332, "rel_wql_gmean": 0.8425269970221109}, "Energy": {"n_configs": 32, "rel_mase_gmean": 0.9105746858650593, "rel_wql_gmean": 0.6600590405892464}, "Healthcare": {"n_configs": 5, "rel_mase_gmean": 0.5419833665761247, "rel_wql_gmean": 0.4713378036640871}, "Nature": {"n_configs": 15, "rel_mase_gmean": 0.8256753562119806, "rel_wql_gmean": 0.4176381250423008}, "Sales": {"n_configs": 4, "rel_mase_gmean": 0.8454665614427059, "rel_wql_gmean": 0.5196239566665947}, "Transport": {"n_configs": 15, "rel_mase_gmean": 0.6511792187049391, "rel_wql_gmean": 0.45046376028245605}, "Web/CloudOps": {"n_configs": 20, "rel_mase_gmean": 0.5794668872329616, "rel_wql_gmean": 0.44654870510396605}}, "frequency": {"A": {"n_configs": 1, "rel_mase_gmean": 0.5898086062844351, "rel_wql_gmean": 0.6099831906967607}, "D": {"n_configs": 15, "rel_mase_gmean": 0.7718062139335102, "rel_wql_gmean": 0.5340491632425144}, "H": {"n_configs": 31, "rel_mase_gmean": 0.7382314410269102, "rel_wql_gmean": 0.5097927128305142}, "M": {"n_configs": 5, "rel_mase_gmean": 0.9628104585249607, "rel_wql_gmean": 0.8302919416677281}, "Q": {"n_configs": 1, "rel_mase_gmean": 0.7625727980143588, "rel_wql_gmean": 0.8132003148343674}, "S": {"n_configs": 6, "rel_mase_gmean": 0.669375188847343, "rel_wql_gmean": 0.5103898935857124}, "T": {"n_configs": 30, "rel_mase_gmean": 0.7168042632598055, "rel_wql_gmean": 0.47222655273391256}, "W": {"n_configs": 8, "rel_mase_gmean": 0.8845866077387275, "rel_wql_gmean": 0.6526291537357031}}, "variates": {"multivariate": {"n_configs": 43, "rel_mase_gmean": 0.7305240421325621, "rel_wql_gmean": 0.5293789373738814}, "univariate": {"n_configs": 54, "rel_mase_gmean": 0.7693588331777207, "rel_wql_gmean": 0.5275420034685546}}}, "group_skill_delta": {"term": {"long": 0.002575813828193496, "medium": 0.0015831423661432087, "short": -0.0024825585186269983}, "domain": {"Econ/Fin": 0.00413493637219875, "Energy": 0.003062237183406147, "Healthcare": -0.035452576554919624, "Nature": -0.0014988640994200164, "Sales": 0.01630600389089054, "Transport": 0.0024102767424704075, "Web/CloudOps": -0.00033064975984131717}, "frequency": {"A": -0.016137636470004768, "D": 0.007907598112537273, "H": 0.0021704690674274607, "M": -0.07269579283918981, "Q": -0.009991891717647139, "S": 0.0005348109496680076, "T": 0.0031405675273361577, "W": -0.009740961799255321}, "variates": {"multivariate": 0.0007288386450069462, "univariate": -0.0014019155380726733}}}, {"cutoff": "backcast_evals", "candidate_skill": 0.3391956786881408, "control_skill": 0.33552733399077206, "delta": 0.003668344697368764, "candidate_checkpoint": "8bdc6aec5ac81386cace42f2ef23202df02cc54a97261eae61ececffaae962e2", "control_checkpoint": "78e34c37073a8114d02d99f3d191343386337430495420337e8bf81f518fba12", "candidate_eval_seconds": 51.90091800689697, "candidate_groups": {"term": {"long": {"n_configs": 21, "rel_mase_gmean": 0.7656968409055681, "rel_wql_gmean": 0.46807460772855436}, "medium": {"n_configs": 21, "rel_mase_gmean": 0.78128450611138, "rel_wql_gmean": 0.5348185120715552}, "short": {"n_configs": 55, "rel_mase_gmean": 0.8023470952967338, "rel_wql_gmean": 0.5968121925098828}}, "domain": {"Econ/Fin": {"n_configs": 6, "rel_mase_gmean": 0.8652062846128912, "rel_wql_gmean": 0.794891520802762}, "Energy": {"n_configs": 32, "rel_mase_gmean": 0.8933128100475459, "rel_wql_gmean": 0.6745028334463964}, "Healthcare": {"n_configs": 5, "rel_mase_gmean": 0.6013376604567652, "rel_wql_gmean": 0.5957393819445653}, "Nature": {"n_configs": 15, "rel_mase_gmean": 0.9180333368520457, "rel_wql_gmean": 0.4329004323053892}, "Sales": {"n_configs": 4, "rel_mase_gmean": 0.7142650916757237, "rel_wql_gmean": 0.4819806332784531}, "Transport": {"n_configs": 15, "rel_mase_gmean": 0.7452761045648035, "rel_wql_gmean": 0.5393430150546845}, "Web/CloudOps": {"n_configs": 20, "rel_mase_gmean": 0.6427333456196737, "rel_wql_gmean": 0.44563061519446284}}, "frequency": {"A": {"n_configs": 1, "rel_mase_gmean": 0.6391681174729257, "rel_wql_gmean": 0.6936851993390016}, "D": {"n_configs": 15, "rel_mase_gmean": 0.8348983568157816, "rel_wql_gmean": 0.5006431533673903}, "H": {"n_configs": 31, "rel_mase_gmean": 0.7788439308331577, "rel_wql_gmean": 0.5156637384210101}, "M": {"n_configs": 5, "rel_mase_gmean": 0.7834947873995556, "rel_wql_gmean": 0.7668885916726466}, "Q": {"n_configs": 1, "rel_mase_gmean": 0.7650192085841057, "rel_wql_gmean": 0.7704819175199746}, "S": {"n_configs": 6, "rel_mase_gmean": 0.848834257210903, "rel_wql_gmean": 0.4963251750397548}, "T": {"n_configs": 30, "rel_mase_gmean": 0.755933997300514, "rel_wql_gmean": 0.5825510659234472}, "W": {"n_configs": 8, "rel_mase_gmean": 0.8678915324029616, "rel_wql_gmean": 0.5918225102390927}}, "variates": {"multivariate": {"n_configs": 43, "rel_mase_gmean": 0.7735933717108793, "rel_wql_gmean": 0.5250115169644797}, "univariate": {"n_configs": 54, "rel_mase_gmean": 0.802774929101853, "rel_wql_gmean": 0.5762444512724214}}}, "control_groups": {"term": {"long": {"n_configs": 21, "rel_mase_gmean": 0.7645989845922099, "rel_wql_gmean": 0.4710940808048365}, "medium": {"n_configs": 21, "rel_mase_gmean": 0.7795299954063724, "rel_wql_gmean": 0.5365821860682243}, "short": {"n_configs": 55, "rel_mase_gmean": 0.8108252727444952, "rel_wql_gmean": 0.6008300817431026}}, "domain": {"Econ/Fin": {"n_configs": 6, "rel_mase_gmean": 0.8776986554183526, "rel_wql_gmean": 0.8058823285770509}, "Energy": {"n_configs": 32, "rel_mase_gmean": 0.8950170328487611, "rel_wql_gmean": 0.6731169456948188}, "Healthcare": {"n_configs": 5, "rel_mase_gmean": 0.6312869004620721, "rel_wql_gmean": 0.5849973566087227}, "Nature": {"n_configs": 15, "rel_mase_gmean": 0.9191060547937276, "rel_wql_gmean": 0.44001048356536737}, "Sales": {"n_configs": 4, "rel_mase_gmean": 0.7366219873109816, "rel_wql_gmean": 0.4949274771046947}, "Transport": {"n_configs": 15, "rel_mase_gmean": 0.7445743669463994, "rel_wql_gmean": 0.5417005207236906}, "Web/CloudOps": {"n_configs": 20, "rel_mase_gmean": 0.642222127791016, "rel_wql_gmean": 0.4508253782609826}}, "frequency": {"A": {"n_configs": 1, "rel_mase_gmean": 0.6396513262109706, "rel_wql_gmean": 0.6996930363541652}, "D": {"n_configs": 15, "rel_mase_gmean": 0.8271201143613985, "rel_wql_gmean": 0.4919008779053655}, "H": {"n_configs": 31, "rel_mase_gmean": 0.7764528923427425, "rel_wql_gmean": 0.5217992493570508}, "M": {"n_configs": 5, "rel_mase_gmean": 0.8621718238386065, "rel_wql_gmean": 0.8158949990901164}, "Q": {"n_configs": 1, "rel_mase_gmean": 0.7648004024126754, "rel_wql_gmean": 0.7878206725599894}, "S": {"n_configs": 6, "rel_mase_gmean": 0.8483140762714283, "rel_wql_gmean": 0.4979490930512744}, "T": {"n_configs": 30, "rel_mase_gmean": 0.7580014916830027, "rel_wql_gmean": 0.587333956692717}, "W": {"n_configs": 8, "rel_mase_gmean": 0.8875641792416958, "rel_wql_gmean": 0.5819396248531986}}, "variates": {"multivariate": {"n_configs": 43, "rel_mase_gmean": 0.7742389466336188, "rel_wql_gmean": 0.530104424013921}, "univariate": {"n_configs": 54, "rel_mase_gmean": 0.8097161794953318, "rel_wql_gmean": 0.5779339250902772}}}, "group_skill_delta": {"term": {"long": 0.0014971288799218163, "medium": 0.00033753986684814663, "short": 0.005984098884405542}, "domain": {"Econ/Fin": 0.011720268994600325, "Energy": -5.8547584721013735e-05, "Healthcare": 0.00916956928989987, "Nature": 0.005527132931788192, "Sales": 0.01706162553506707, "Transport": 0.0010849195856771354, "Web/CloudOps": 0.0028961917230513334}, "frequency": {"A": 0.0031299843919557757, "D": -0.00866182738397936, "H": 0.00277973424519129, "M": 0.06356708051720483, "Q": 0.008479499555953729, "S": 0.0008617430448374375, "T": 0.003629189243106068, "W": 0.0020001942333626177}, "variates": {"multivariate": 0.0033507489040164318, "univariate": 0.003934737681146383}}}, {"cutoff": "backcast2_evals", "candidate_skill": 0.36119998243920226, "control_skill": 0.356651630245424, "delta": 0.004548352193778249, "candidate_checkpoint": "8bdc6aec5ac81386cace42f2ef23202df02cc54a97261eae61ececffaae962e2", "control_checkpoint": "78e34c37073a8114d02d99f3d191343386337430495420337e8bf81f518fba12", "candidate_eval_seconds": 50.61538767814636, "candidate_groups": {"term": {"long": {"n_configs": 19, "rel_mase_gmean": 0.7939156680930779, "rel_wql_gmean": 0.4987879692831926}, "medium": {"n_configs": 21, "rel_mase_gmean": 0.7485514048273476, "rel_wql_gmean": 0.49960590598085686}, "short": {"n_configs": 54, "rel_mase_gmean": 0.7610730446946776, "rel_wql_gmean": 0.5605609379658151}}, "domain": {"Econ/Fin": {"n_configs": 6, "rel_mase_gmean": 0.8808247830360751, "rel_wql_gmean": 0.9080005085278887}, "Energy": {"n_configs": 32, "rel_mase_gmean": 0.9126128130267469, "rel_wql_gmean": 0.6574554928866723}, "Healthcare": {"n_configs": 5, "rel_mase_gmean": 0.652595395857995, "rel_wql_gmean": 0.5812797770097652}, "Nature": {"n_configs": 15, "rel_mase_gmean": 0.7682830646101126, "rel_wql_gmean": 0.375347088291198}, "Sales": {"n_configs": 3, "rel_mase_gmean": 0.5629861449179288, "rel_wql_gmean": 0.349062062606514}, "Transport": {"n_configs": 14, "rel_mase_gmean": 0.6789791963123439, "rel_wql_gmean": 0.5106550155730071}, "Web/CloudOps": {"n_configs": 19, "rel_mase_gmean": 0.6463870244807961, "rel_wql_gmean": 0.45246193489339415}}, "frequency": {"A": {"n_configs": 1, "rel_mase_gmean": 0.6016599360969145, "rel_wql_gmean": 0.7887848560990609}, "D": {"n_configs": 15, "rel_mase_gmean": 0.7266430928630824, "rel_wql_gmean": 0.4548960392177849}, "H": {"n_configs": 30, "rel_mase_gmean": 0.7483395928607105, "rel_wql_gmean": 0.4872558701504945}, "M": {"n_configs": 4, "rel_mase_gmean": 0.8047643589643865, "rel_wql_gmean": 0.8502738337815878}, "Q": {"n_configs": 1, "rel_mase_gmean": 0.8338924512825047, "rel_wql_gmean": 0.8716258895739616}, "S": {"n_configs": 6, "rel_mase_gmean": 0.8926413174908673, "rel_wql_gmean": 0.5546409238476689}, "T": {"n_configs": 29, "rel_mase_gmean": 0.747933459070891, "rel_wql_gmean": 0.5459786614443239}, "W": {"n_configs": 8, "rel_mase_gmean": 0.8758371440177648, "rel_wql_gmean": 0.6416029092819152}}, "variates": {"multivariate": {"n_configs": 42, "rel_mase_gmean": 0.7629637718268857, "rel_wql_gmean": 0.5088163275297497}, "univariate": {"n_configs": 52, "rel_mase_gmean": 0.7662147086793725, "rel_wql_gmean": 0.5544698216150477}}}, "control_groups": {"term": {"long": {"n_configs": 19, "rel_mase_gmean": 0.7952852880194763, "rel_wql_gmean": 0.5048597178008398}, "medium": {"n_configs": 21, "rel_mase_gmean": 0.7468078568966132, "rel_wql_gmean": 0.5009745310093578}, "short": {"n_configs": 54, "rel_mase_gmean": 0.7682305564670502, "rel_wql_gmean": 0.5663756405043626}}, "domain": {"Econ/Fin": {"n_configs": 6, "rel_mase_gmean": 0.8861124330291665, "rel_wql_gmean": 0.9014948002708755}, "Energy": {"n_configs": 32, "rel_mase_gmean": 0.9143067205527678, "rel_wql_gmean": 0.6622420227661112}, "Healthcare": {"n_configs": 5, "rel_mase_gmean": 0.6803302753674616, "rel_wql_gmean": 0.5917560548467207}, "Nature": {"n_configs": 15, "rel_mase_gmean": 0.775580059650743, "rel_wql_gmean": 0.3805031409159587}, "Sales": {"n_configs": 3, "rel_mase_gmean": 0.5629735285798528, "rel_wql_gmean": 0.3545784791665867}, "Transport": {"n_configs": 14, "rel_mase_gmean": 0.6782146077749469, "rel_wql_gmean": 0.5116120924862202}, "Web/CloudOps": {"n_configs": 19, "rel_mase_gmean": 0.6484293866478861, "rel_wql_gmean": 0.4593821603868626}}, "frequency": {"A": {"n_configs": 1, "rel_mase_gmean": 0.5825477679479969, "rel_wql_gmean": 0.7499393396059063}, "D": {"n_configs": 15, "rel_mase_gmean": 0.732395688624648, "rel_wql_gmean": 0.4516183434709529}, "H": {"n_configs": 30, "rel_mase_gmean": 0.7503441611727004, "rel_wql_gmean": 0.4941370919541436}, "M": {"n_configs": 4, "rel_mase_gmean": 0.8204099621356766, "rel_wql_gmean": 0.8697383435785802}, "Q": {"n_configs": 1, "rel_mase_gmean": 0.8419371204945656, "rel_wql_gmean": 0.8891371754932602}, "S": {"n_configs": 6, "rel_mase_gmean": 0.9022546229526331, "rel_wql_gmean": 0.5641783501129578}, "T": {"n_configs": 29, "rel_mase_gmean": 0.7482466668321984, "rel_wql_gmean": 0.5504906986046194}, "W": {"n_configs": 8, "rel_mase_gmean": 0.893525908800438, "rel_wql_gmean": 0.6522333785106406}}, "variates": {"multivariate": {"n_configs": 42, "rel_mase_gmean": 0.7679489454226682, "rel_wql_gmean": 0.5167933390878552}, "univariate": {"n_configs": 52, "rel_mase_gmean": 0.76939984832798, "rel_wql_gmean": 0.5565128134709326}}}, "group_skill_delta": {"term": {"long": 0.004364399405668018, "medium": 0.00012345711961481154, "short": 0.006458936987223551}, "domain": {"Econ/Fin": -0.0005389021272383943, "Energy": 0.003535719696742934, "Healthcare": 0.01859320817948873, "Nature": 0.0062373267510377195, "Sales": 0.003484137142742816, "Transport": 0.00021959911502589247, "Web/CloudOps": 0.004980176052015173}, "frequency": {"A": -0.027932276056860106, "D": 0.00018804601859834236, "H": 0.005062851923590905, "M": 0.017507966146632636, "Q": 0.012664906830706868, "S": 0.009834990923334508, "T": 0.0027694064820023012, "W": 0.013778802805602286}, "variates": {"multivariate": 0.00691316388938279, "univariate": 0.002555547574201955}}}, {"cutoff": "backcast3_evals", "candidate_skill": 0.37852284848349904, "control_skill": 0.37889319681228195, "delta": -0.00037034832878291013, "candidate_checkpoint": "8bdc6aec5ac81386cace42f2ef23202df02cc54a97261eae61ececffaae962e2", "control_checkpoint": "78e34c37073a8114d02d99f3d191343386337430495420337e8bf81f518fba12", "candidate_eval_seconds": 49.15669345855713, "candidate_groups": {"term": {"long": {"n_configs": 19, "rel_mase_gmean": 0.7718205404345876, "rel_wql_gmean": 0.4789876161582595}, "medium": {"n_configs": 20, "rel_mase_gmean": 0.7568015793598554, "rel_wql_gmean": 0.520875162348567}, "short": {"n_configs": 54, "rel_mase_gmean": 0.7432684207815204, "rel_wql_gmean": 0.5237328247945794}}, "domain": {"Econ/Fin": {"n_configs": 6, "rel_mase_gmean": 0.8355349674598657, "rel_wql_gmean": 0.8201846400888331}, "Energy": {"n_configs": 32, "rel_mase_gmean": 0.8552295453214085, "rel_wql_gmean": 0.5702212100628543}, "Healthcare": {"n_configs": 5, "rel_mase_gmean": 0.9355075749887077, "rel_wql_gmean": 0.7512300772844169}, "Nature": {"n_configs": 15, "rel_mase_gmean": 0.726951228507119, "rel_wql_gmean": 0.34808279063032527}, "Sales": {"n_configs": 3, "rel_mase_gmean": 0.7639386674328276, "rel_wql_gmean": 0.4822345507331204}, "Transport": {"n_configs": 14, "rel_mase_gmean": 0.55607261078201, "rel_wql_gmean": 0.46005553205079047}, "Web/CloudOps": {"n_configs": 18, "rel_mase_gmean": 0.704968196156638, "rel_wql_gmean": 0.50007829122806}}, "frequency": {"A": {"n_configs": 1, "rel_mase_gmean": 0.5755736444821721, "rel_wql_gmean": 0.7913620417188566}, "D": {"n_configs": 15, "rel_mase_gmean": 0.7726656875789899, "rel_wql_gmean": 0.4372071890789619}, "H": {"n_configs": 29, "rel_mase_gmean": 0.736695116201518, "rel_wql_gmean": 0.495883236800981}, "M": {"n_configs": 4, "rel_mase_gmean": 0.9323407095738359, "rel_wql_gmean": 0.9154830981022087}, "Q": {"n_configs": 1, "rel_mase_gmean": 0.726571247571473, "rel_wql_gmean": 0.7845033362533214}, "S": {"n_configs": 6, "rel_mase_gmean": 0.857307147719697, "rel_wql_gmean": 0.6090204040511973}, "T": {"n_configs": 29, "rel_mase_gmean": 0.6944206283654604, "rel_wql_gmean": 0.45932870749413945}, "W": {"n_configs": 8, "rel_mase_gmean": 0.8678469701751687, "rel_wql_gmean": 0.7013551628836479}}, "variates": {"multivariate": {"n_configs": 41, "rel_mase_gmean": 0.7708720077196458, "rel_wql_gmean": 0.5170627175601947}, "univariate": {"n_configs": 52, "rel_mase_gmean": 0.7373177684056824, "rel_wql_gmean": 0.5109910456687743}}}, "control_groups": {"term": {"long": {"n_configs": 19, "rel_mase_gmean": 0.7710654653252393, "rel_wql_gmean": 0.48098788251009916}, "medium": {"n_configs": 20, "rel_mase_gmean": 0.7546449848430804, "rel_wql_gmean": 0.5262999796127023}, "short": {"n_configs": 54, "rel_mase_gmean": 0.7404726590187777, "rel_wql_gmean": 0.5225886495385987}}, "domain": {"Econ/Fin": {"n_configs": 6, "rel_mase_gmean": 0.8355054292952404, "rel_wql_gmean": 0.8034991372123409}, "Energy": {"n_configs": 32, "rel_mase_gmean": 0.8600965710630972, "rel_wql_gmean": 0.5753498170149417}, "Healthcare": {"n_configs": 5, "rel_mase_gmean": 0.8805677111287978, "rel_wql_gmean": 0.7102370152485239}, "Nature": {"n_configs": 15, "rel_mase_gmean": 0.7140794117237131, "rel_wql_gmean": 0.3510104179082884}, "Sales": {"n_configs": 3, "rel_mase_gmean": 0.7629034696486685, "rel_wql_gmean": 0.48486467028641583}, "Transport": {"n_configs": 14, "rel_mase_gmean": 0.5615238670216559, "rel_wql_gmean": 0.46453644990354004}, "Web/CloudOps": {"n_configs": 18, "rel_mase_gmean": 0.7040887402772326, "rel_wql_gmean": 0.5003008897949587}}, "frequency": {"A": {"n_configs": 1, "rel_mase_gmean": 0.5174300780971693, "rel_wql_gmean": 0.6866203421058682}, "D": {"n_configs": 15, "rel_mase_gmean": 0.7812191405163196, "rel_wql_gmean": 0.4430090741096748}, "H": {"n_configs": 29, "rel_mase_gmean": 0.7345916332027574, "rel_wql_gmean": 0.49778416148691784}, "M": {"n_configs": 4, "rel_mase_gmean": 0.8966764461786586, "rel_wql_gmean": 0.8795211341526417}, "Q": {"n_configs": 1, "rel_mase_gmean": 0.7168462498475838, "rel_wql_gmean": 0.7561541811204133}, "S": {"n_configs": 6, "rel_mase_gmean": 0.8535718571400421, "rel_wql_gmean": 0.613590237554071}, "T": {"n_configs": 29, "rel_mase_gmean": 0.701307005743718, "rel_wql_gmean": 0.46522559712885486}, "W": {"n_configs": 8, "rel_mase_gmean": 0.8311774921142574, "rel_wql_gmean": 0.6826621197689111}}, "variates": {"multivariate": {"n_configs": 41, "rel_mase_gmean": 0.7748970623778167, "rel_wql_gmean": 0.5222740438397789}, "univariate": {"n_configs": 52, "rel_mase_gmean": 0.7303647710756822, "rel_wql_gmean": 0.5086100785440061}}}, "group_skill_delta": {"term": {"long": 0.0009701300026396797, "medium": 0.0023611581637045242, "short": -0.0018551340367931601}, "domain": {"Econ/Fin": -0.008478209879048682, "Energy": 0.005126558014600269, "Healthcare": -0.04749079316921834, "Nature": -0.0023811395134898383, "Sales": 0.0012404328843749202, "Transport": 0.004942356147431104, "Web/CloudOps": -0.00023842054860678807}, "frequency": {"A": -0.07884584403483152, "D": 0.0070731954226516125, "H": 0.00029221424355296843, "M": -0.03581608945765935, "Q": -0.018743903084045388, "S": 0.001124135816831795, "T": 0.006425035841104099, "W": -0.026903916285766827}, "variates": {"multivariate": 0.004827942078305059, "univariate": -0.0043259373311788085}}}], "mean_delta": 0.00185064179627209, "positive_cutoffs": 2, "outcome": "Declared comparison checkpoints 6000,12000. No transfer formula or automatic publication is selected by this controller."} + +2026-10-23T22:49:43.892589+00:00: E154 declaration {"declared_utc": "2026-10-23T22:49:43.892589+00:00", "status": "declared; cached probes next", "hypothesis": "E141patch8 changes long-horizon forecasting more consistently than short/medium; retain the published original fourth contribution below720 steps.", "formula": "All five models forecast every instance. Ordered FP32 average of members0,1,2 and member4 if requested horizon>=720 else member3.", "threshold": 720, "members": ["candidate-width-transfer12k", "candidate-patch8-6k-complete", "candidate-split-patch-12k-complete", "candidate-fresh146m-96k", "candidate-capacity-patch8-6k"], "member_checkpoint_hashes": ["0b11b7351a4a92d1d18c71a4159ec445be3a94ace8c7a9fa0edafad87d14e960", "308389b7217c080af9eb185559d4ee3cafa0f3e0f8c4dd8f5526b68198c89988", "1a2fb20a9fb5cae6526f2e36ea47559626bece78fd9c284899836505030ae9fe", "d7cfcd72c3cb84aa69e447b76c4c3ab98c21b7c600a463f0b805f4b4300baf33", "2877a38b94a7d77a53a9df410349cecc2f6ab134c83a76744924543bbe73eb17"], "control_descriptor": "a1b4ab426901be8e1ee299eeeb3f041bac7cea3d4e59c4608824fc3d05c83e03", "code": "/workspace/research/horizon_patch8_routing", "seed": "No new training; existing E139/E71/E93/E79(seed307)/E141(seed809) lineages retained", "new_training": false, "selection": "Adaptive validation-selected rule after E153 full failure; no claim of independent validation. One threshold720, fixed6k source, no threshold/coefficient/endpoint sweep. Require>=3 positive cutoffs/positive mean versus E148 and then-current publication, then full97/151170/0fail improvement and independent composition, every-member-call, determinism and relocation checks before atomic publication.", "parameters": 402850792}. + +2026-10-23T22:49:53.948095+00:00: E154 fixed horizon routing probes {"declaration": {"declared_utc": "2026-10-23T22:49:43.892589+00:00", "status": "declared; cached probes next", "hypothesis": "E141patch8 changes long-horizon forecasting more consistently than short/medium; retain the published original fourth contribution below720 steps.", "formula": "All five models forecast every instance. Ordered FP32 average of members0,1,2 and member4 if requested horizon>=720 else member3.", "threshold": 720, "members": ["candidate-width-transfer12k", "candidate-patch8-6k-complete", "candidate-split-patch-12k-complete", "candidate-fresh146m-96k", "candidate-capacity-patch8-6k"], "member_checkpoint_hashes": ["0b11b7351a4a92d1d18c71a4159ec445be3a94ace8c7a9fa0edafad87d14e960", "308389b7217c080af9eb185559d4ee3cafa0f3e0f8c4dd8f5526b68198c89988", "1a2fb20a9fb5cae6526f2e36ea47559626bece78fd9c284899836505030ae9fe", "d7cfcd72c3cb84aa69e447b76c4c3ab98c21b7c600a463f0b805f4b4300baf33", "2877a38b94a7d77a53a9df410349cecc2f6ab134c83a76744924543bbe73eb17"], "control_descriptor": "a1b4ab426901be8e1ee299eeeb3f041bac7cea3d4e59c4608824fc3d05c83e03", "code": "/workspace/research/horizon_patch8_routing", "seed": "No new training; existing E139/E71/E93/E79(seed307)/E141(seed809) lineages retained", "new_training": false, "selection": "Adaptive validation-selected rule after E153 full failure; no claim of independent validation. One threshold720, fixed6k source, no threshold/coefficient/endpoint sweep. Require>=3 positive cutoffs/positive mean versus E148 and then-current publication, then full97/151170/0fail improvement and independent composition, every-member-call, determinism and relocation checks before atomic publication.", "parameters": 402850792}, "rows": [{"cutoff": "valid_screen", "skill": 0.38835665952568876, "control_skill": 0.3882279509777624, "delta": 0.00012870854792634834, "groups": {"term": {"short": 0.3723017702532888, "medium": 0.41093067600045863, "long": 0.4065845305446606}, "domain": {"Econ/Fin": 0.14901328476060638, "Energy": 0.24775713213772044, "Healthcare": 0.49506927931058364, "Nature": 0.4412914062724784, "Sales": 0.3446101717591584, "Transport": 0.4732237740360019, "Web/CloudOps": 0.507223222428795}, "freq": {"A-DEC": 0.38365057239921063, "Q-DEC": 0.20606735650303087, "M": 0.12682244603724124, "W-SUN": 0.08968565726055233, "D": 0.37213466457612654, "H": 0.4041811792567682, "15T": 0.21767323376719727, "W-FRI": 0.020360259620060495, "10T": 0.6254426461144121, "W-TUE": 0.6415415405419468, "W-THU": 0.21792947739631574, "W-WED": 0.32708506145318983, "5T": 0.5200991550482101, "10S": 0.4246436987656872}}, "group_deltas": {"term": {"short": 0.0, "medium": 0.0, "long": 0.0005770132838742725}, "domain": {"Econ/Fin": 0.0, "Energy": 0.00035677889896978954, "Healthcare": 0.0, "Nature": -7.407378902246631e-05, "Sales": 0.0, "Transport": 0.0006141357874228648, "Web/CloudOps": -0.00025254488006998255}, "freq": {"A-DEC": 0.0, "Q-DEC": 0.0, "M": 0.0, "W-SUN": 0.0, "D": 0.0, "H": 0.0005933044759885986, "15T": -0.00021419688047119578, "W-FRI": 0.0, "10T": 0.0003744818830176966, "W-TUE": 0.0, "W-THU": 0.0, "W-WED": 0.0, "5T": -0.0007821419089351078, "10S": 0.0006159170539420389}}, "cpu_seconds": 2.1879017560277134}, {"cutoff": "valid_backcast", "skill": 0.34552801983563863, "control_skill": 0.3456661156587746, "delta": -0.00013809582313595303, "groups": {"term": {"short": 0.3130693683031155, "medium": 0.36409584759645663, "long": 0.40661946739644783}, "domain": {"Econ/Fin": 0.18043527478544963, "Energy": 0.2346036566355374, "Healthcare": 0.4074352868061085, "Nature": 0.3813469567478609, "Sales": 0.4075242245178744, "Transport": 0.3773084526081981, "Web/CloudOps": 0.460774674498852}, "freq": {"A-DEC": 0.331781124887934, "Q-DEC": 0.23724173166905804, "M": 0.1874780089767496, "W-SUN": 0.0459263068532203, "D": 0.36418901298748285, "H": 0.3759881746105659, "15T": 0.22342033520859927, "W-FRI": 0.24140491835961553, "10T": 0.3352253995653093, "W-TUE": 0.5514665885251284, "W-THU": 0.2677180644187378, "W-WED": 0.3624726313886212, "5T": 0.4484197836241629, "10S": 0.35023445213774107}}, "group_deltas": {"term": {"short": 0.0, "medium": 0.0, "long": -0.0005781085562804877}, "domain": {"Econ/Fin": 0.0, "Energy": -0.00021174730897632887, "Healthcare": 0.0, "Nature": 4.371200373309847e-05, "Sales": 0.0, "Transport": -0.0003564144378479517, "Web/CloudOps": -0.0001101833905555738}, "freq": {"A-DEC": 0.0, "Q-DEC": 0.0, "M": 0.0, "W-SUN": 0.0, "D": 0.0, "H": -0.0003804917627104887, "15T": 0.00027276206477055975, "W-FRI": 0.0, "10T": -0.00025833136630626363, "W-TUE": 0.0, "W-THU": 0.0, "W-WED": 0.0, "5T": -0.00030964469606897804, "10S": 0.0003569214882658267}}, "cpu_seconds": 2.368547848891467}, {"cutoff": "valid_backcast2", "skill": 0.3697585359683079, "control_skill": 0.36966272417010304, "delta": 9.581179820483676e-05, "groups": {"term": {"short": 0.35627742731482626, "medium": 0.3989526857240734, "long": 0.37461197571352733}, "domain": {"Econ/Fin": 0.12750789956106479, "Energy": 0.24076627732572298, "Healthcare": 0.362169648295931, "Nature": 0.48220133556091316, "Sales": 0.5592426971862643, "Transport": 0.428004648661776, "Web/CloudOps": 0.4501235444860504}, "freq": {"A-DEC": 0.3381861793580494, "Q-DEC": 0.15558369062139554, "M": 0.16912368457803728, "W-SUN": 0.07258683839700397, "D": 0.43534732833058165, "H": 0.4007724618550511, "15T": 0.10618247831915328, "W-FRI": 0.14511791304527222, "10T": 0.5084416685522102, "W-TUE": 0.15381305847280335, "W-THU": 0.3413042930188698, "W-WED": 0.5603979936450694, "5T": 0.4839326752879869, "10S": 0.2919419126376437}}, "group_deltas": {"term": {"short": 0.0, "medium": 0.0, "long": 0.0004705070560675484}, "domain": {"Econ/Fin": 0.0, "Energy": 1.4450641888652527e-06, "Healthcare": 0.0, "Nature": -6.77932769990175e-05, "Sales": 0.0, "Transport": 0.00012138029613872892, "Web/CloudOps": 0.0003827812414289866}, "freq": {"A-DEC": 0.0, "Q-DEC": 0.0, "M": 0.0, "W-SUN": 0.0, "D": 0.0, "H": 0.0001786716610427952, "15T": -0.00014515229095724003, "W-FRI": 0.0, "10T": -0.000654446859211899, "W-TUE": 0.0, "W-THU": 0.0, "W-WED": 0.0, "5T": 0.00027147916004932604, "10S": 0.001040956821411032}}, "cpu_seconds": 2.1702448748983443}, {"cutoff": "valid_backcast3", "skill": 0.3922448772186681, "control_skill": 0.3921296782846404, "delta": 0.00011519893402767156, "groups": {"term": {"short": 0.3964714460684823, "medium": 0.373180111862915, "long": 0.3999017621812754}, "domain": {"Econ/Fin": 0.191514835075003, "Energy": 0.31758990981863744, "Healthcare": 0.23406912051970086, "Nature": 0.5088436803327384, "Sales": 0.40240992387298036, "Transport": 0.510107345503138, "Web/CloudOps": 0.4027043020719411}, "freq": {"A-DEC": 0.3632879895614767, "Q-DEC": 0.2635672907077069, "M": 0.1461601048112755, "W-SUN": 0.17023500340733289, "D": 0.4402406107863014, "H": 0.40842425193398835, "15T": 0.2581725218060308, "W-FRI": 0.044141466152163744, "10T": 0.603768947774882, "W-TUE": 0.28794685929485997, "W-THU": 0.3474718313178913, "W-WED": 0.37413351061197164, "5T": 0.4733562717768982, "10S": 0.29473909143679555}}, "group_deltas": {"term": {"short": 0.0, "medium": 0.0, "long": 0.0005569700442369374}, "domain": {"Econ/Fin": 0.0, "Energy": 0.0004401334573369553, "Healthcare": 0.0, "Nature": 6.636799453929587e-05, "Sales": 0.0, "Transport": -0.00010771903796824578, "Web/CloudOps": -6.483938592760641e-05}, "freq": {"A-DEC": 0.0, "Q-DEC": 0.0, "M": 0.0, "W-SUN": 0.0, "D": 0.0, "H": 0.0003770624356120855, "15T": 5.904467434147964e-05, "W-FRI": 0.0, "10T": 0.0001449326186091504, "W-TUE": 0.0, "W-THU": 0.0, "W-WED": 0.0, "5T": -0.0003717869996854306, "10S": 0.0005353424215627234}}, "cpu_seconds": 2.3115525729954243}], "positive_cutoffs": 3, "mean_delta": 5.040586425572591e-05, "seconds": 9.889360717963427, "optimizer_updates": 0, "new_neural_inference": false, "selection_gate_passed": true}. No automatic publication. + +E143 12000 four-cutoff comparison: {"label": "E143 12000 four-cutoff comparison", "utc": "2026-10-23T22:50:00.152342+00:00", "candidate": "lowfreq_age_ema12000", "control": "lowfreq_windows_ema12000", "rows": [{"cutoff": "evals", "candidate_skill": 0.37582629179167915, "control_skill": 0.37612597264381065, "delta": -0.00029968085213150086, "candidate_checkpoint": "8d9f1131f489b02e7183f20ed97597890a23f9e122c040790206f27c6bed115f", "control_checkpoint": "f1deb47b05e0dddb2c882081f6371d4a6c27e5b644446ab2d3848ec6af789fd8", "candidate_eval_seconds": 23.56525444984436, "candidate_groups": {"term": {"long": {"n_configs": 21, "rel_mase_gmean": 0.7430387541291413, "rel_wql_gmean": 0.48059074203433233}, "medium": {"n_configs": 21, "rel_mase_gmean": 0.7129065685094401, "rel_wql_gmean": 0.49473451529311596}, "short": {"n_configs": 55, "rel_mase_gmean": 0.7605892163208385, "rel_wql_gmean": 0.5500467199757789}}, "domain": {"Econ/Fin": {"n_configs": 6, "rel_mase_gmean": 0.8751537886005407, "rel_wql_gmean": 0.8489925969168409}, "Energy": {"n_configs": 32, "rel_mase_gmean": 0.9033480773349892, "rel_wql_gmean": 0.6466318840186537}, "Healthcare": {"n_configs": 5, "rel_mase_gmean": 0.6067220309390556, "rel_wql_gmean": 0.5463550406044607}, "Nature": {"n_configs": 15, "rel_mase_gmean": 0.8148869117975975, "rel_wql_gmean": 0.40230214129477554}, "Sales": {"n_configs": 4, "rel_mase_gmean": 0.8506800907099308, "rel_wql_gmean": 0.5211520439538441}, "Transport": {"n_configs": 15, "rel_mase_gmean": 0.6440073452590136, "rel_wql_gmean": 0.4415893375484053}, "Web/CloudOps": {"n_configs": 20, "rel_mase_gmean": 0.561983941579941, "rel_wql_gmean": 0.43690947135427166}}, "frequency": {"A": {"n_configs": 1, "rel_mase_gmean": 0.620637997328601, "rel_wql_gmean": 0.640384999899985}, "D": {"n_configs": 15, "rel_mase_gmean": 0.7828788301535624, "rel_wql_gmean": 0.5400690656549743}, "H": {"n_configs": 31, "rel_mase_gmean": 0.732086160088439, "rel_wql_gmean": 0.4989357504762419}, "M": {"n_configs": 5, "rel_mase_gmean": 1.001007987797849, "rel_wql_gmean": 0.8738428695680652}, "Q": {"n_configs": 1, "rel_mase_gmean": 0.7780886429549139, "rel_wql_gmean": 0.8227766392743776}, "S": {"n_configs": 6, "rel_mase_gmean": 0.6568293667112477, "rel_wql_gmean": 0.5049237888827478}, "T": {"n_configs": 30, "rel_mase_gmean": 0.6919785313543677, "rel_wql_gmean": 0.4532212723046747}, "W": {"n_configs": 8, "rel_mase_gmean": 0.9088111661522899, "rel_wql_gmean": 0.6794774543953603}}, "variates": {"multivariate": {"n_configs": 43, "rel_mase_gmean": 0.7119572947939875, "rel_wql_gmean": 0.5124033190053585}, "univariate": {"n_configs": 54, "rel_mase_gmean": 0.7746819339728747, "rel_wql_gmean": 0.5299291905582773}}}, "control_groups": {"term": {"long": {"n_configs": 21, "rel_mase_gmean": 0.7428750481395252, "rel_wql_gmean": 0.48016983627031584}, "medium": {"n_configs": 21, "rel_mase_gmean": 0.7127112192835677, "rel_wql_gmean": 0.4949026837866265}, "short": {"n_configs": 55, "rel_mase_gmean": 0.7603970824570427, "rel_wql_gmean": 0.5494707164558967}}, "domain": {"Econ/Fin": {"n_configs": 6, "rel_mase_gmean": 0.875268873201828, "rel_wql_gmean": 0.8498150921824715}, "Energy": {"n_configs": 32, "rel_mase_gmean": 0.9036593124586589, "rel_wql_gmean": 0.6467905478260898}, "Healthcare": {"n_configs": 5, "rel_mase_gmean": 0.6052873364782312, "rel_wql_gmean": 0.5414215680589309}, "Nature": {"n_configs": 15, "rel_mase_gmean": 0.815640742417676, "rel_wql_gmean": 0.40268822274396987}, "Sales": {"n_configs": 4, "rel_mase_gmean": 0.8512935457482944, "rel_wql_gmean": 0.5215554524467921}, "Transport": {"n_configs": 15, "rel_mase_gmean": 0.6433122083917602, "rel_wql_gmean": 0.4409592133931682}, "Web/CloudOps": {"n_configs": 20, "rel_mase_gmean": 0.561287339032233, "rel_wql_gmean": 0.4361835097680848}}, "frequency": {"A": {"n_configs": 1, "rel_mase_gmean": 0.6179411870544589, "rel_wql_gmean": 0.6399891109014733}, "D": {"n_configs": 15, "rel_mase_gmean": 0.7831724170774825, "rel_wql_gmean": 0.540315009074117}, "H": {"n_configs": 31, "rel_mase_gmean": 0.7318131632477781, "rel_wql_gmean": 0.4988457212439089}, "M": {"n_configs": 5, "rel_mase_gmean": 1.0047585042900982, "rel_wql_gmean": 0.8706326095203928}, "Q": {"n_configs": 1, "rel_mase_gmean": 0.7805733535967154, "rel_wql_gmean": 0.8250655576550436}, "S": {"n_configs": 6, "rel_mase_gmean": 0.6571644444228559, "rel_wql_gmean": 0.505149270853412}, "T": {"n_configs": 30, "rel_mase_gmean": 0.6913428051659812, "rel_wql_gmean": 0.4528083731363489}, "W": {"n_configs": 8, "rel_mase_gmean": 0.9075217757391797, "rel_wql_gmean": 0.6770004974092982}}, "variates": {"multivariate": {"n_configs": 43, "rel_mase_gmean": 0.7115452181133927, "rel_wql_gmean": 0.5121480648642073}, "univariate": {"n_configs": 54, "rel_mase_gmean": 0.774690793461382, "rel_wql_gmean": 0.529463618559688}}}, "group_skill_delta": {"term": {"long": -0.00032754243721910825, "medium": 1.9540132031758972e-05, "short": -0.0004204117635967508}, "domain": {"Econ/Fin": 0.0004741359501129194, "Energy": 0.0002254271262683849, "Healthcare": -0.003283382914750832, "Nature": 0.000539572125569876, "Sales": 0.0004977783823015836, "Transport": -0.0006682973214526822, "Web/CloudOps": -0.000718788044422991}, "frequency": {"A": -0.0015656544967161956, "D": 0.0002699786609012822, "H": -0.0001672155995208202, "M": 2.7706132179061704e-05, "Q": 0.002390461956210177, "S": 0.00027547951977513474, "T": -0.0005123430863366307, "W": -0.0019902496946386794}, "variates": {"multivariate": -0.0003252348660177651, "univariate": -0.00027785515696776564}}}, {"cutoff": "backcast_evals", "candidate_skill": 0.3353310249321574, "control_skill": 0.33579550286796345, "delta": -0.00046447793580606245, "candidate_checkpoint": "8d9f1131f489b02e7183f20ed97597890a23f9e122c040790206f27c6bed115f", "control_checkpoint": "f1deb47b05e0dddb2c882081f6371d4a6c27e5b644446ab2d3848ec6af789fd8", "candidate_eval_seconds": 25.047616720199585, "candidate_groups": {"term": {"long": {"n_configs": 21, "rel_mase_gmean": 0.7798729108415303, "rel_wql_gmean": 0.46655846449513005}, "medium": {"n_configs": 21, "rel_mase_gmean": 0.7714696948447665, "rel_wql_gmean": 0.5331774912519782}, "short": {"n_configs": 55, "rel_mase_gmean": 0.819107736321304, "rel_wql_gmean": 0.5968893396856187}}, "domain": {"Econ/Fin": {"n_configs": 6, "rel_mase_gmean": 0.8730119186021833, "rel_wql_gmean": 0.8093198149954549}, "Energy": {"n_configs": 32, "rel_mase_gmean": 0.8889648482111782, "rel_wql_gmean": 0.6655089662055699}, "Healthcare": {"n_configs": 5, "rel_mase_gmean": 0.6484499827221418, "rel_wql_gmean": 0.553170212127613}, "Nature": {"n_configs": 15, "rel_mase_gmean": 0.9350631749650274, "rel_wql_gmean": 0.4343500178082608}, "Sales": {"n_configs": 4, "rel_mase_gmean": 0.7393770521924858, "rel_wql_gmean": 0.5019243360999853}, "Transport": {"n_configs": 15, "rel_mase_gmean": 0.7383411298705621, "rel_wql_gmean": 0.5312250858817331}, "Web/CloudOps": {"n_configs": 20, "rel_mase_gmean": 0.665902198200782, "rel_wql_gmean": 0.4587872234079587}}, "frequency": {"A": {"n_configs": 1, "rel_mase_gmean": 0.6495837623155652, "rel_wql_gmean": 0.7224796171203016}, "D": {"n_configs": 15, "rel_mase_gmean": 0.8413907374468387, "rel_wql_gmean": 0.500095076105748}, "H": {"n_configs": 31, "rel_mase_gmean": 0.7789218384354422, "rel_wql_gmean": 0.5152966470891364}, "M": {"n_configs": 5, "rel_mase_gmean": 0.8777815526432232, "rel_wql_gmean": 0.7985358321991058}, "Q": {"n_configs": 1, "rel_mase_gmean": 0.7649465072111067, "rel_wql_gmean": 0.7676360812456928}, "S": {"n_configs": 6, "rel_mase_gmean": 0.8540582405351282, "rel_wql_gmean": 0.5071324730493526}, "T": {"n_configs": 30, "rel_mase_gmean": 0.7669783381029704, "rel_wql_gmean": 0.5758678819874878}, "W": {"n_configs": 8, "rel_mase_gmean": 0.8767637835521465, "rel_wql_gmean": 0.5837916383499322}}, "variates": {"multivariate": {"n_configs": 43, "rel_mase_gmean": 0.791117577860762, "rel_wql_gmean": 0.5304454780187181}, "univariate": {"n_configs": 54, "rel_mase_gmean": 0.8071520416333714, "rel_wql_gmean": 0.5702115224226209}}}, "control_groups": {"term": {"long": {"n_configs": 21, "rel_mase_gmean": 0.7803948816231011, "rel_wql_gmean": 0.46634628063194994}, "medium": {"n_configs": 21, "rel_mase_gmean": 0.7721443465770145, "rel_wql_gmean": 0.5333256397131038}, "short": {"n_configs": 55, "rel_mase_gmean": 0.818084006971346, "rel_wql_gmean": 0.5958535740460764}}, "domain": {"Econ/Fin": {"n_configs": 6, "rel_mase_gmean": 0.8733759474418339, "rel_wql_gmean": 0.8101520925772994}, "Energy": {"n_configs": 32, "rel_mase_gmean": 0.8894109276420028, "rel_wql_gmean": 0.6655257213921841}, "Healthcare": {"n_configs": 5, "rel_mase_gmean": 0.6443191277932857, "rel_wql_gmean": 0.5479573261147775}, "Nature": {"n_configs": 15, "rel_mase_gmean": 0.932543526482483, "rel_wql_gmean": 0.4335336786360575}, "Sales": {"n_configs": 4, "rel_mase_gmean": 0.7395515969863701, "rel_wql_gmean": 0.5020700192608043}, "Transport": {"n_configs": 15, "rel_mase_gmean": 0.738632812164996, "rel_wql_gmean": 0.5313271060591571}, "Web/CloudOps": {"n_configs": 20, "rel_mase_gmean": 0.6662561746592346, "rel_wql_gmean": 0.4579920263084524}}, "frequency": {"A": {"n_configs": 1, "rel_mase_gmean": 0.6495654332529827, "rel_wql_gmean": 0.7215130510295488}, "D": {"n_configs": 15, "rel_mase_gmean": 0.8408695902816747, "rel_wql_gmean": 0.4998461278118158}, "H": {"n_configs": 31, "rel_mase_gmean": 0.779153419992908, "rel_wql_gmean": 0.5151894170517185}, "M": {"n_configs": 5, "rel_mase_gmean": 0.8696112901101338, "rel_wql_gmean": 0.7935497130187744}, "Q": {"n_configs": 1, "rel_mase_gmean": 0.7643180657351112, "rel_wql_gmean": 0.7677018658143707}, "S": {"n_configs": 6, "rel_mase_gmean": 0.8546801602658521, "rel_wql_gmean": 0.5077714328047184}, "T": {"n_configs": 30, "rel_mase_gmean": 0.7674756974800262, "rel_wql_gmean": 0.5752947630033991}, "W": {"n_configs": 8, "rel_mase_gmean": 0.8753943753746083, "rel_wql_gmean": 0.5815750560859467}}, "variates": {"multivariate": {"n_configs": 43, "rel_mase_gmean": 0.7918944760132761, "rel_wql_gmean": 0.530286919061923}, "univariate": {"n_configs": 54, "rel_mase_gmean": 0.805978313209396, "rel_wql_gmean": 0.5693000613346351}}}, "group_skill_delta": {"term": {"long": 6.460366551075403e-05, "medium": 0.0003695051992964604, "short": -0.0010436440547997305}, "domain": {"Econ/Fin": 0.000607413275199753, "Energy": 0.00020264262713753922, "Healthcare": -0.004730364515503793, "Nature": -0.0014575715874850514, "Sales": 0.00016031376768754768, "Transport": 0.0001838402864882127, "Web/CloudOps": -0.00033245658129765765}, "frequency": {"A": -0.00046806613186922696, "D": -0.0003623460509184495, "H": 2.8241013803831372e-05, "M": -0.006511196369485273, "Q": -0.0002820169170636433, "S": 0.0006541931621119046, "T": -0.00011545104596122346, "W": -0.0019173710139840372}, "variates": {"multivariate": 0.00022112634034454626, "univariate": -0.0010354744611145161}}}, {"cutoff": "backcast2_evals", "candidate_skill": 0.3614514097027579, "control_skill": 0.3613039819273488, "delta": 0.00014742777540910357, "candidate_checkpoint": "8d9f1131f489b02e7183f20ed97597890a23f9e122c040790206f27c6bed115f", "control_checkpoint": "f1deb47b05e0dddb2c882081f6371d4a6c27e5b644446ab2d3848ec6af789fd8", "candidate_eval_seconds": 23.99629259109497, "candidate_groups": {"term": {"long": {"n_configs": 19, "rel_mase_gmean": 0.7994511093480199, "rel_wql_gmean": 0.5047633164122167}, "medium": {"n_configs": 21, "rel_mase_gmean": 0.7579828382939863, "rel_wql_gmean": 0.4921907950717202}, "short": {"n_configs": 54, "rel_mase_gmean": 0.7621400187745796, "rel_wql_gmean": 0.5558383887718896}}, "domain": {"Econ/Fin": {"n_configs": 6, "rel_mase_gmean": 0.8878471151524349, "rel_wql_gmean": 0.9047708776258958}, "Energy": {"n_configs": 32, "rel_mase_gmean": 0.8950866362433744, "rel_wql_gmean": 0.6446646840964962}, "Healthcare": {"n_configs": 5, "rel_mase_gmean": 0.6916085563808101, "rel_wql_gmean": 0.5907675977980689}, "Nature": {"n_configs": 15, "rel_mase_gmean": 0.7598152517353173, "rel_wql_gmean": 0.3629799949873271}, "Sales": {"n_configs": 3, "rel_mase_gmean": 0.5650784591627372, "rel_wql_gmean": 0.3613235394665363}, "Transport": {"n_configs": 14, "rel_mase_gmean": 0.6694369374347114, "rel_wql_gmean": 0.5021118380307151}, "Web/CloudOps": {"n_configs": 19, "rel_mase_gmean": 0.6851456734765966, "rel_wql_gmean": 0.4684474932258636}}, "frequency": {"A": {"n_configs": 1, "rel_mase_gmean": 0.583430266947327, "rel_wql_gmean": 0.7196625035864959}, "D": {"n_configs": 15, "rel_mase_gmean": 0.7292428683957217, "rel_wql_gmean": 0.4490101344839638}, "H": {"n_configs": 30, "rel_mase_gmean": 0.7576666959886942, "rel_wql_gmean": 0.4910160628510005}, "M": {"n_configs": 4, "rel_mase_gmean": 0.8183083185014561, "rel_wql_gmean": 0.8553233570604121}, "Q": {"n_configs": 1, "rel_mase_gmean": 0.8361459257309625, "rel_wql_gmean": 0.8724870319310173}, "S": {"n_configs": 6, "rel_mase_gmean": 0.9098785816602278, "rel_wql_gmean": 0.5674614027727944}, "T": {"n_configs": 29, "rel_mase_gmean": 0.7564400399148262, "rel_wql_gmean": 0.5381772119814259}, "W": {"n_configs": 8, "rel_mase_gmean": 0.8293830849456181, "rel_wql_gmean": 0.6232176716555434}}, "variates": {"multivariate": {"n_configs": 42, "rel_mase_gmean": 0.7826453056224831, "rel_wql_gmean": 0.5158097272303176}, "univariate": {"n_configs": 52, "rel_mase_gmean": 0.7574377478333593, "rel_wql_gmean": 0.5426764813912396}}}, "control_groups": {"term": {"long": {"n_configs": 19, "rel_mase_gmean": 0.7994303588783945, "rel_wql_gmean": 0.5047936125361201}, "medium": {"n_configs": 21, "rel_mase_gmean": 0.7585582411691183, "rel_wql_gmean": 0.49213715811809716}, "short": {"n_configs": 54, "rel_mase_gmean": 0.7622597177019128, "rel_wql_gmean": 0.5560507373315131}}, "domain": {"Econ/Fin": {"n_configs": 6, "rel_mase_gmean": 0.8875630930903033, "rel_wql_gmean": 0.9051744171487927}, "Energy": {"n_configs": 32, "rel_mase_gmean": 0.8956406224545252, "rel_wql_gmean": 0.64475627013019}, "Healthcare": {"n_configs": 5, "rel_mase_gmean": 0.6949245357597195, "rel_wql_gmean": 0.593849204088152}, "Nature": {"n_configs": 15, "rel_mase_gmean": 0.760265038018502, "rel_wql_gmean": 0.36277685228818896}, "Sales": {"n_configs": 3, "rel_mase_gmean": 0.5633883229845202, "rel_wql_gmean": 0.3604893186868895}, "Transport": {"n_configs": 14, "rel_mase_gmean": 0.6693022978773041, "rel_wql_gmean": 0.5018725026594515}, "Web/CloudOps": {"n_configs": 19, "rel_mase_gmean": 0.6846068927297053, "rel_wql_gmean": 0.4686509170371502}}, "frequency": {"A": {"n_configs": 1, "rel_mase_gmean": 0.5840536091295983, "rel_wql_gmean": 0.721808761634876}, "D": {"n_configs": 15, "rel_mase_gmean": 0.7301854258339627, "rel_wql_gmean": 0.4494742691816404}, "H": {"n_configs": 30, "rel_mase_gmean": 0.7575233002412155, "rel_wql_gmean": 0.4905599328117248}, "M": {"n_configs": 4, "rel_mase_gmean": 0.8169560864594648, "rel_wql_gmean": 0.8551457988530617}, "Q": {"n_configs": 1, "rel_mase_gmean": 0.8356711218221335, "rel_wql_gmean": 0.8696006131540667}, "S": {"n_configs": 6, "rel_mase_gmean": 0.9100735740026191, "rel_wql_gmean": 0.5682478578118126}, "T": {"n_configs": 29, "rel_mase_gmean": 0.7564710377088042, "rel_wql_gmean": 0.5386795987319778}, "W": {"n_configs": 8, "rel_mase_gmean": 0.8308220008623086, "rel_wql_gmean": 0.6230353765403394}}, "variates": {"multivariate": {"n_configs": 42, "rel_mase_gmean": 0.7827378337570088, "rel_wql_gmean": 0.5158567345122158}, "univariate": {"n_configs": 52, "rel_mase_gmean": 0.7577139368382865, "rel_wql_gmean": 0.5428398324072662}}}, "group_skill_delta": {"term": {"long": 1.0819048441690349e-05, "medium": 0.0001984964761830854, "short": 0.00017543334579961378}, "domain": {"Econ/Fin": 5.644996325737672e-05, "Energy": 0.0002890108680868586, "Healthcare": 0.0031994711605851656, "Nature": 8.39837865296289e-06, "Sales": -0.0011973990503571508, "Transport": -0.0001964837681563969, "Web/CloudOps": -9.984941265694935e-05}, "frequency": {"A": 0.0013120888719631019, "D": 0.000665545851063154, "H": -0.0003410624252516703, "M": -0.0007782938630159775, "Q": -0.001656142702222696, "S": 0.0005748011142737708, "T": 0.0003108150743089677, "W": 0.000518142192748372}, "variates": {"multivariate": 6.650987535250508e-05, "univariate": 0.00021338139443749515}}}, {"cutoff": "backcast3_evals", "candidate_skill": 0.3867795412012266, "control_skill": 0.38719770172424695, "delta": -0.00041816052302035, "candidate_checkpoint": "8d9f1131f489b02e7183f20ed97597890a23f9e122c040790206f27c6bed115f", "control_checkpoint": "f1deb47b05e0dddb2c882081f6371d4a6c27e5b644446ab2d3848ec6af789fd8", "candidate_eval_seconds": 24.00444006919861, "candidate_groups": {"term": {"long": {"n_configs": 19, "rel_mase_gmean": 0.7682065397169763, "rel_wql_gmean": 0.4770810770638124}, "medium": {"n_configs": 20, "rel_mase_gmean": 0.7730166274850766, "rel_wql_gmean": 0.5314724237744772}, "short": {"n_configs": 54, "rel_mase_gmean": 0.7210594039506625, "rel_wql_gmean": 0.5092772899658892}}, "domain": {"Econ/Fin": {"n_configs": 6, "rel_mase_gmean": 0.8312019587183977, "rel_wql_gmean": 0.8183711177174414}, "Energy": {"n_configs": 32, "rel_mase_gmean": 0.8343688246319042, "rel_wql_gmean": 0.5545883507936582}, "Healthcare": {"n_configs": 5, "rel_mase_gmean": 0.8197647154862593, "rel_wql_gmean": 0.6769098388359173}, "Nature": {"n_configs": 15, "rel_mase_gmean": 0.7326342681847855, "rel_wql_gmean": 0.3427558138817617}, "Sales": {"n_configs": 3, "rel_mase_gmean": 0.754693474726257, "rel_wql_gmean": 0.47920663755745574}, "Transport": {"n_configs": 14, "rel_mase_gmean": 0.545062652529082, "rel_wql_gmean": 0.4519491215286819}, "Web/CloudOps": {"n_configs": 18, "rel_mase_gmean": 0.7199351987327015, "rel_wql_gmean": 0.5210203828356919}}, "frequency": {"A": {"n_configs": 1, "rel_mase_gmean": 0.5232301056112943, "rel_wql_gmean": 0.7357487598415804}, "D": {"n_configs": 15, "rel_mase_gmean": 0.7355717059742475, "rel_wql_gmean": 0.42869736080466975}, "H": {"n_configs": 29, "rel_mase_gmean": 0.7286034733540714, "rel_wql_gmean": 0.4901422148570005}, "M": {"n_configs": 4, "rel_mase_gmean": 0.8802021855900102, "rel_wql_gmean": 0.868733337230998}, "Q": {"n_configs": 1, "rel_mase_gmean": 0.7116971108623457, "rel_wql_gmean": 0.7694009807630384}, "S": {"n_configs": 6, "rel_mase_gmean": 0.8455854089841978, "rel_wql_gmean": 0.6001614189715428}, "T": {"n_configs": 29, "rel_mase_gmean": 0.7095322654888063, "rel_wql_gmean": 0.46338729070416085}, "W": {"n_configs": 8, "rel_mase_gmean": 0.8213483530670851, "rel_wql_gmean": 0.6657289776232989}}, "variates": {"multivariate": {"n_configs": 41, "rel_mase_gmean": 0.7638990373886446, "rel_wql_gmean": 0.5132974511868262}, "univariate": {"n_configs": 52, "rel_mase_gmean": 0.7242377646968124, "rel_wql_gmean": 0.502370743950782}}}, "control_groups": {"term": {"long": {"n_configs": 19, "rel_mase_gmean": 0.7684886444337029, "rel_wql_gmean": 0.47700055161764726}, "medium": {"n_configs": 20, "rel_mase_gmean": 0.7719012970032346, "rel_wql_gmean": 0.5309111874339674}, "short": {"n_configs": 54, "rel_mase_gmean": 0.7205395887196173, "rel_wql_gmean": 0.5088842083422412}}, "domain": {"Econ/Fin": {"n_configs": 6, "rel_mase_gmean": 0.8312087228420175, "rel_wql_gmean": 0.8186588543234923}, "Energy": {"n_configs": 32, "rel_mase_gmean": 0.8351368839049325, "rel_wql_gmean": 0.5545932357253937}, "Healthcare": {"n_configs": 5, "rel_mase_gmean": 0.8175567972220871, "rel_wql_gmean": 0.6760837299667757}, "Nature": {"n_configs": 15, "rel_mase_gmean": 0.7299909306564671, "rel_wql_gmean": 0.3420605153189345}, "Sales": {"n_configs": 3, "rel_mase_gmean": 0.7548733967003611, "rel_wql_gmean": 0.47934273977909336}, "Transport": {"n_configs": 14, "rel_mase_gmean": 0.5451842768000186, "rel_wql_gmean": 0.4515764701679637}, "Web/CloudOps": {"n_configs": 18, "rel_mase_gmean": 0.7188771721303677, "rel_wql_gmean": 0.5204081485529428}}, "frequency": {"A": {"n_configs": 1, "rel_mase_gmean": 0.5241640857947558, "rel_wql_gmean": 0.7291166786507837}, "D": {"n_configs": 15, "rel_mase_gmean": 0.7350980533969118, "rel_wql_gmean": 0.4276860378056021}, "H": {"n_configs": 29, "rel_mase_gmean": 0.728816078273106, "rel_wql_gmean": 0.49012599470467744}, "M": {"n_configs": 4, "rel_mase_gmean": 0.884158227262403, "rel_wql_gmean": 0.8735522520241081}, "Q": {"n_configs": 1, "rel_mase_gmean": 0.7090887722467131, "rel_wql_gmean": 0.7680357872508405}, "S": {"n_configs": 6, "rel_mase_gmean": 0.8460699141449298, "rel_wql_gmean": 0.5998981264388689}, "T": {"n_configs": 29, "rel_mase_gmean": 0.7086527442094294, "rel_wql_gmean": 0.4630233384268165}, "W": {"n_configs": 8, "rel_mase_gmean": 0.8169291712293834, "rel_wql_gmean": 0.6644383983004994}}, "variates": {"multivariate": {"n_configs": 41, "rel_mase_gmean": 0.7633479802491316, "rel_wql_gmean": 0.5131305442375695}, "univariate": {"n_configs": 52, "rel_mase_gmean": 0.7238025548687982, "rel_wql_gmean": 0.501861868079696}}}, "group_skill_delta": {"term": {"long": 6.004422809646748e-05, "medium": -0.0008008445815701482, "short": -0.0004522921503913313}, "domain": {"Econ/Fin": 0.0001483354344955501, "Energy": 0.00031601657389601634, "Healthcare": -0.0014579257622623354, "Nature": -0.0014124306677555376, "Sales": 0.00015708542239423195, "Transport": -0.000149314812815049, "Web/CloudOps": -0.000809880615779579}, "frequency": {"A": -0.0022517256351600734, "D": -0.0008433688722889743, "H": 7.72925007425096e-05, "M": 0.004390281327899315, "Q": -0.0020128421470865243, "S": 4.773784323408581e-05, "T": -0.0005805817539464853, "W": -0.0027071367836211113}, "variates": {"multivariate": -0.0003276761638947301, "univariate": -0.00048674640492862853}}}], "mean_delta": -0.00025872288388720244, "positive_cutoffs": 1, "outcome": "Declared comparison checkpoints 6000,12000. No transfer formula or automatic publication is selected by this controller."} + +E143 12000 original E80 reference: {"label": "E143 12000 original E80 reference", "utc": "2026-10-23T22:50:04.195447+00:00", "candidate": "lowfreq_age_ema12000", "control": "overflow_control_ema12000", "rows": [{"cutoff": "evals", "candidate_skill": 0.37582629179167915, "control_skill": 0.37742394607564755, "delta": -0.0015976542839684083, "candidate_checkpoint": "8d9f1131f489b02e7183f20ed97597890a23f9e122c040790206f27c6bed115f", "control_checkpoint": "f11d056b95f1c5eeef174265ebc51742952600e0dae1fa52900860447d5be819", "candidate_eval_seconds": 23.56525444984436, "candidate_groups": {"term": {"long": {"n_configs": 21, "rel_mase_gmean": 0.7430387541291413, "rel_wql_gmean": 0.48059074203433233}, "medium": {"n_configs": 21, "rel_mase_gmean": 0.7129065685094401, "rel_wql_gmean": 0.49473451529311596}, "short": {"n_configs": 55, "rel_mase_gmean": 0.7605892163208385, "rel_wql_gmean": 0.5500467199757789}}, "domain": {"Econ/Fin": {"n_configs": 6, "rel_mase_gmean": 0.8751537886005407, "rel_wql_gmean": 0.8489925969168409}, "Energy": {"n_configs": 32, "rel_mase_gmean": 0.9033480773349892, "rel_wql_gmean": 0.6466318840186537}, "Healthcare": {"n_configs": 5, "rel_mase_gmean": 0.6067220309390556, "rel_wql_gmean": 0.5463550406044607}, "Nature": {"n_configs": 15, "rel_mase_gmean": 0.8148869117975975, "rel_wql_gmean": 0.40230214129477554}, "Sales": {"n_configs": 4, "rel_mase_gmean": 0.8506800907099308, "rel_wql_gmean": 0.5211520439538441}, "Transport": {"n_configs": 15, "rel_mase_gmean": 0.6440073452590136, "rel_wql_gmean": 0.4415893375484053}, "Web/CloudOps": {"n_configs": 20, "rel_mase_gmean": 0.561983941579941, "rel_wql_gmean": 0.43690947135427166}}, "frequency": {"A": {"n_configs": 1, "rel_mase_gmean": 0.620637997328601, "rel_wql_gmean": 0.640384999899985}, "D": {"n_configs": 15, "rel_mase_gmean": 0.7828788301535624, "rel_wql_gmean": 0.5400690656549743}, "H": {"n_configs": 31, "rel_mase_gmean": 0.732086160088439, "rel_wql_gmean": 0.4989357504762419}, "M": {"n_configs": 5, "rel_mase_gmean": 1.001007987797849, "rel_wql_gmean": 0.8738428695680652}, "Q": {"n_configs": 1, "rel_mase_gmean": 0.7780886429549139, "rel_wql_gmean": 0.8227766392743776}, "S": {"n_configs": 6, "rel_mase_gmean": 0.6568293667112477, "rel_wql_gmean": 0.5049237888827478}, "T": {"n_configs": 30, "rel_mase_gmean": 0.6919785313543677, "rel_wql_gmean": 0.4532212723046747}, "W": {"n_configs": 8, "rel_mase_gmean": 0.9088111661522899, "rel_wql_gmean": 0.6794774543953603}}, "variates": {"multivariate": {"n_configs": 43, "rel_mase_gmean": 0.7119572947939875, "rel_wql_gmean": 0.5124033190053585}, "univariate": {"n_configs": 54, "rel_mase_gmean": 0.7746819339728747, "rel_wql_gmean": 0.5299291905582773}}}, "control_groups": {"term": {"long": {"n_configs": 21, "rel_mase_gmean": 0.7430904415695668, "rel_wql_gmean": 0.4803877697002309}, "medium": {"n_configs": 21, "rel_mase_gmean": 0.7132918126148858, "rel_wql_gmean": 0.4952594111267713}, "short": {"n_configs": 55, "rel_mase_gmean": 0.7578628359813909, "rel_wql_gmean": 0.5467970503421377}}, "domain": {"Econ/Fin": {"n_configs": 6, "rel_mase_gmean": 0.8820089901245588, "rel_wql_gmean": 0.8576370610661226}, "Energy": {"n_configs": 32, "rel_mase_gmean": 0.9027748652932497, "rel_wql_gmean": 0.6461208417787276}, "Healthcare": {"n_configs": 5, "rel_mase_gmean": 0.5860981811462721, "rel_wql_gmean": 0.5145960110698827}, "Nature": {"n_configs": 15, "rel_mase_gmean": 0.8131107048238599, "rel_wql_gmean": 0.4016810458988802}, "Sales": {"n_configs": 4, "rel_mase_gmean": 0.8527673973406287, "rel_wql_gmean": 0.5213825017868637}, "Transport": {"n_configs": 15, "rel_mase_gmean": 0.6445705043805339, "rel_wql_gmean": 0.44151518253827515}, "Web/CloudOps": {"n_configs": 20, "rel_mase_gmean": 0.5611845549171244, "rel_wql_gmean": 0.43637179177338026}}, "frequency": {"A": {"n_configs": 1, "rel_mase_gmean": 0.6256068773709946, "rel_wql_gmean": 0.6531531717628165}, "D": {"n_configs": 15, "rel_mase_gmean": 0.7810498071209858, "rel_wql_gmean": 0.5387984968910804}, "H": {"n_configs": 31, "rel_mase_gmean": 0.7331074392934215, "rel_wql_gmean": 0.4999416190250625}, "M": {"n_configs": 5, "rel_mase_gmean": 0.9734095428884114, "rel_wql_gmean": 0.8253812557813238}, "Q": {"n_configs": 1, "rel_mase_gmean": 0.7799909436165716, "rel_wql_gmean": 0.8257926959351992}, "S": {"n_configs": 6, "rel_mase_gmean": 0.6551233447531275, "rel_wql_gmean": 0.5045264853695348}, "T": {"n_configs": 30, "rel_mase_gmean": 0.6915094659095177, "rel_wql_gmean": 0.4527256621835321}, "W": {"n_configs": 8, "rel_mase_gmean": 0.9056914149873438, "rel_wql_gmean": 0.6760727114446506}}, "variates": {"multivariate": {"n_configs": 43, "rel_mase_gmean": 0.7112247286748321, "rel_wql_gmean": 0.5124312426851864}, "univariate": {"n_configs": 54, "rel_mase_gmean": 0.7726699203226439, "rel_wql_gmean": 0.5268484105597512}}}, "group_skill_delta": {"term": {"long": -0.00010542368433996696, "medium": 0.0004754887670641583, "short": -0.0030703641733104137}, "domain": {"Econ/Fin": 0.007763712138704526, "Energy": -0.0005445012342429889, "Healthcare": -0.026563240335861216, "Nature": -0.0010660164734694888, "Sales": 0.0009637567487309484, "Transport": 0.0001883173414065631, "Web/CloudOps": -0.0006573240366440358}, "frequency": {"A": 0.0087974740717649, "D": -0.0015244434303420817, "H": 0.0010307415378704166, "M": -0.03892184781892882, "Q": 0.002444437494088514, "S": -0.0009747042014974783, "T": -0.0004960164156408986, "W": -0.0033178334433350276}, "variates": {"multivariate": -0.00029437022167311255, "univariate": -0.0026953246727969837}}}, {"cutoff": "backcast_evals", "candidate_skill": 0.3353310249321574, "control_skill": 0.33652833730727594, "delta": -0.0011973123751185533, "candidate_checkpoint": "8d9f1131f489b02e7183f20ed97597890a23f9e122c040790206f27c6bed115f", "control_checkpoint": "f11d056b95f1c5eeef174265ebc51742952600e0dae1fa52900860447d5be819", "candidate_eval_seconds": 25.047616720199585, "candidate_groups": {"term": {"long": {"n_configs": 21, "rel_mase_gmean": 0.7798729108415303, "rel_wql_gmean": 0.46655846449513005}, "medium": {"n_configs": 21, "rel_mase_gmean": 0.7714696948447665, "rel_wql_gmean": 0.5331774912519782}, "short": {"n_configs": 55, "rel_mase_gmean": 0.819107736321304, "rel_wql_gmean": 0.5968893396856187}}, "domain": {"Econ/Fin": {"n_configs": 6, "rel_mase_gmean": 0.8730119186021833, "rel_wql_gmean": 0.8093198149954549}, "Energy": {"n_configs": 32, "rel_mase_gmean": 0.8889648482111782, "rel_wql_gmean": 0.6655089662055699}, "Healthcare": {"n_configs": 5, "rel_mase_gmean": 0.6484499827221418, "rel_wql_gmean": 0.553170212127613}, "Nature": {"n_configs": 15, "rel_mase_gmean": 0.9350631749650274, "rel_wql_gmean": 0.4343500178082608}, "Sales": {"n_configs": 4, "rel_mase_gmean": 0.7393770521924858, "rel_wql_gmean": 0.5019243360999853}, "Transport": {"n_configs": 15, "rel_mase_gmean": 0.7383411298705621, "rel_wql_gmean": 0.5312250858817331}, "Web/CloudOps": {"n_configs": 20, "rel_mase_gmean": 0.665902198200782, "rel_wql_gmean": 0.4587872234079587}}, "frequency": {"A": {"n_configs": 1, "rel_mase_gmean": 0.6495837623155652, "rel_wql_gmean": 0.7224796171203016}, "D": {"n_configs": 15, "rel_mase_gmean": 0.8413907374468387, "rel_wql_gmean": 0.500095076105748}, "H": {"n_configs": 31, "rel_mase_gmean": 0.7789218384354422, "rel_wql_gmean": 0.5152966470891364}, "M": {"n_configs": 5, "rel_mase_gmean": 0.8777815526432232, "rel_wql_gmean": 0.7985358321991058}, "Q": {"n_configs": 1, "rel_mase_gmean": 0.7649465072111067, "rel_wql_gmean": 0.7676360812456928}, "S": {"n_configs": 6, "rel_mase_gmean": 0.8540582405351282, "rel_wql_gmean": 0.5071324730493526}, "T": {"n_configs": 30, "rel_mase_gmean": 0.7669783381029704, "rel_wql_gmean": 0.5758678819874878}, "W": {"n_configs": 8, "rel_mase_gmean": 0.8767637835521465, "rel_wql_gmean": 0.5837916383499322}}, "variates": {"multivariate": {"n_configs": 43, "rel_mase_gmean": 0.791117577860762, "rel_wql_gmean": 0.5304454780187181}, "univariate": {"n_configs": 54, "rel_mase_gmean": 0.8071520416333714, "rel_wql_gmean": 0.5702115224226209}}}, "control_groups": {"term": {"long": {"n_configs": 21, "rel_mase_gmean": 0.7791999311006992, "rel_wql_gmean": 0.4659792452594256}, "medium": {"n_configs": 21, "rel_mase_gmean": 0.7710406727836745, "rel_wql_gmean": 0.5333113680139498}, "short": {"n_configs": 55, "rel_mase_gmean": 0.815154118317558, "rel_wql_gmean": 0.596530868139981}}, "domain": {"Econ/Fin": {"n_configs": 6, "rel_mase_gmean": 0.8754973298713973, "rel_wql_gmean": 0.8157069069366086}, "Energy": {"n_configs": 32, "rel_mase_gmean": 0.8880158890798259, "rel_wql_gmean": 0.6677066701972586}, "Healthcare": {"n_configs": 5, "rel_mase_gmean": 0.6235821127455097, "rel_wql_gmean": 0.5405407165775942}, "Nature": {"n_configs": 15, "rel_mase_gmean": 0.933606860676274, "rel_wql_gmean": 0.4340037728321772}, "Sales": {"n_configs": 4, "rel_mase_gmean": 0.7343890716300152, "rel_wql_gmean": 0.49893240567123487}, "Transport": {"n_configs": 15, "rel_mase_gmean": 0.7389889324657989, "rel_wql_gmean": 0.5315819911881067}, "Web/CloudOps": {"n_configs": 20, "rel_mase_gmean": 0.6643730331767335, "rel_wql_gmean": 0.45729311789913757}}, "frequency": {"A": {"n_configs": 1, "rel_mase_gmean": 0.6445434372547929, "rel_wql_gmean": 0.724090215239997}, "D": {"n_configs": 15, "rel_mase_gmean": 0.8386815774822007, "rel_wql_gmean": 0.5001256118650457}, "H": {"n_configs": 31, "rel_mase_gmean": 0.7779220228454703, "rel_wql_gmean": 0.5152698021677109}, "M": {"n_configs": 5, "rel_mase_gmean": 0.8546325349093246, "rel_wql_gmean": 0.7856916887479788}, "Q": {"n_configs": 1, "rel_mase_gmean": 0.7640852146217055, "rel_wql_gmean": 0.7788691447566721}, "S": {"n_configs": 6, "rel_mase_gmean": 0.8532609264720655, "rel_wql_gmean": 0.507658310446713}, "T": {"n_configs": 30, "rel_mase_gmean": 0.767260085607915, "rel_wql_gmean": 0.5746866456036881}, "W": {"n_configs": 8, "rel_mase_gmean": 0.869060480798712, "rel_wql_gmean": 0.5886681671106037}}, "variates": {"multivariate": {"n_configs": 43, "rel_mase_gmean": 0.7899223594259315, "rel_wql_gmean": 0.5301365087279752}, "univariate": {"n_configs": 54, "rel_mase_gmean": 0.803707925134896, "rel_wql_gmean": 0.5699074661266276}}}, "group_skill_delta": {"term": {"long": -0.0006347052794967167, "medium": -9.786386970367378e-05, "short": -0.0018990205980546904}, "domain": {"Econ/Fin": 0.0045106850563748635, "Energy": 0.0008576316684195673, "Healthcare": -0.01833976075498156, "Nature": -0.0007503354595098655, "Sales": -0.003870564378307906, "Transport": 0.00048512145622636726, "Web/CloudOps": -0.0015347172770020512}, "frequency": {"A": -0.001902783431126931, "D": -0.0010253866327062378, "H": -0.00042322668942162966, "M": -0.01778419249977925, "Q": 0.005151651324727835, "S": 3.368047065999136e-05, "T": -0.0005600304227186825, "W": -0.00018111923370200955}, "variates": {"multivariate": -0.0006780795460324951, "univariate": -0.0016294608396597576}}}, {"cutoff": "backcast2_evals", "candidate_skill": 0.3614514097027579, "control_skill": 0.36097346960650367, "delta": 0.00047794009625423683, "candidate_checkpoint": "8d9f1131f489b02e7183f20ed97597890a23f9e122c040790206f27c6bed115f", "control_checkpoint": "f11d056b95f1c5eeef174265ebc51742952600e0dae1fa52900860447d5be819", "candidate_eval_seconds": 23.99629259109497, "candidate_groups": {"term": {"long": {"n_configs": 19, "rel_mase_gmean": 0.7994511093480199, "rel_wql_gmean": 0.5047633164122167}, "medium": {"n_configs": 21, "rel_mase_gmean": 0.7579828382939863, "rel_wql_gmean": 0.4921907950717202}, "short": {"n_configs": 54, "rel_mase_gmean": 0.7621400187745796, "rel_wql_gmean": 0.5558383887718896}}, "domain": {"Econ/Fin": {"n_configs": 6, "rel_mase_gmean": 0.8878471151524349, "rel_wql_gmean": 0.9047708776258958}, "Energy": {"n_configs": 32, "rel_mase_gmean": 0.8950866362433744, "rel_wql_gmean": 0.6446646840964962}, "Healthcare": {"n_configs": 5, "rel_mase_gmean": 0.6916085563808101, "rel_wql_gmean": 0.5907675977980689}, "Nature": {"n_configs": 15, "rel_mase_gmean": 0.7598152517353173, "rel_wql_gmean": 0.3629799949873271}, "Sales": {"n_configs": 3, "rel_mase_gmean": 0.5650784591627372, "rel_wql_gmean": 0.3613235394665363}, "Transport": {"n_configs": 14, "rel_mase_gmean": 0.6694369374347114, "rel_wql_gmean": 0.5021118380307151}, "Web/CloudOps": {"n_configs": 19, "rel_mase_gmean": 0.6851456734765966, "rel_wql_gmean": 0.4684474932258636}}, "frequency": {"A": {"n_configs": 1, "rel_mase_gmean": 0.583430266947327, "rel_wql_gmean": 0.7196625035864959}, "D": {"n_configs": 15, "rel_mase_gmean": 0.7292428683957217, "rel_wql_gmean": 0.4490101344839638}, "H": {"n_configs": 30, "rel_mase_gmean": 0.7576666959886942, "rel_wql_gmean": 0.4910160628510005}, "M": {"n_configs": 4, "rel_mase_gmean": 0.8183083185014561, "rel_wql_gmean": 0.8553233570604121}, "Q": {"n_configs": 1, "rel_mase_gmean": 0.8361459257309625, "rel_wql_gmean": 0.8724870319310173}, "S": {"n_configs": 6, "rel_mase_gmean": 0.9098785816602278, "rel_wql_gmean": 0.5674614027727944}, "T": {"n_configs": 29, "rel_mase_gmean": 0.7564400399148262, "rel_wql_gmean": 0.5381772119814259}, "W": {"n_configs": 8, "rel_mase_gmean": 0.8293830849456181, "rel_wql_gmean": 0.6232176716555434}}, "variates": {"multivariate": {"n_configs": 42, "rel_mase_gmean": 0.7826453056224831, "rel_wql_gmean": 0.5158097272303176}, "univariate": {"n_configs": 52, "rel_mase_gmean": 0.7574377478333593, "rel_wql_gmean": 0.5426764813912396}}}, "control_groups": {"term": {"long": {"n_configs": 19, "rel_mase_gmean": 0.7998283729290717, "rel_wql_gmean": 0.5048537403572065}, "medium": {"n_configs": 21, "rel_mase_gmean": 0.7567348346553658, "rel_wql_gmean": 0.49139307103243485}, "short": {"n_configs": 54, "rel_mase_gmean": 0.762930601340605, "rel_wql_gmean": 0.5572913926751922}}, "domain": {"Econ/Fin": {"n_configs": 6, "rel_mase_gmean": 0.8902018742574637, "rel_wql_gmean": 0.9080828126396094}, "Energy": {"n_configs": 32, "rel_mase_gmean": 0.8967112467195689, "rel_wql_gmean": 0.6466666398782791}, "Healthcare": {"n_configs": 5, "rel_mase_gmean": 0.6908821587788814, "rel_wql_gmean": 0.5905411593557701}, "Nature": {"n_configs": 15, "rel_mase_gmean": 0.7593906111647103, "rel_wql_gmean": 0.3630649835252516}, "Sales": {"n_configs": 3, "rel_mase_gmean": 0.5660049516474805, "rel_wql_gmean": 0.36083556795060334}, "Transport": {"n_configs": 14, "rel_mase_gmean": 0.6692141236302525, "rel_wql_gmean": 0.5019337855870213}, "Web/CloudOps": {"n_configs": 19, "rel_mase_gmean": 0.6840578993103755, "rel_wql_gmean": 0.46836362238870816}}, "frequency": {"A": {"n_configs": 1, "rel_mase_gmean": 0.5819380993584167, "rel_wql_gmean": 0.723948814143525}, "D": {"n_configs": 15, "rel_mase_gmean": 0.7300802327867975, "rel_wql_gmean": 0.44973000047782175}, "H": {"n_configs": 30, "rel_mase_gmean": 0.7573152418388004, "rel_wql_gmean": 0.4905218098483386}, "M": {"n_configs": 4, "rel_mase_gmean": 0.825511662103245, "rel_wql_gmean": 0.8525433006612966}, "Q": {"n_configs": 1, "rel_mase_gmean": 0.8348196873036913, "rel_wql_gmean": 0.8792738256086735}, "S": {"n_configs": 6, "rel_mase_gmean": 0.9101844597610753, "rel_wql_gmean": 0.5693250695338232}, "T": {"n_configs": 29, "rel_mase_gmean": 0.75556464168385, "rel_wql_gmean": 0.5377684583538125}, "W": {"n_configs": 8, "rel_mase_gmean": 0.8322603650379057, "rel_wql_gmean": 0.6324937767638193}}, "variates": {"multivariate": {"n_configs": 42, "rel_mase_gmean": 0.782445957809565, "rel_wql_gmean": 0.5156982204614814}, "univariate": {"n_configs": 52, "rel_mase_gmean": 0.7580358480370438, "rel_wql_gmean": 0.543923941651618}}}, "group_skill_delta": {"term": {"long": 0.0002067789178915591, "medium": -0.0009978097488114734, "short": 0.0011880828795629572}, "domain": {"Econ/Fin": 0.002828841330674181, "Energy": 0.0018686929522548912, "Healthcare": -0.0004582149968396232, "Nature": -8.531023596980436e-05, "Sales": 6.480462745939164e-05, "Transport": -0.00019927965351096422, "Web/CloudOps": -0.0005005820249804893}, "frequency": {"A": 0.0010951878899783107, "D": 0.0007872172998523164, "H": -0.0004484673067005618, "M": 0.0023074606841123613, "Q": 0.002635262936439009, "S": 0.0012999458947878795, "T": -0.0006115051657642478, "W": 0.00658596434403802}, "variates": {"multivariate": -0.00014959448730467173, "univariate": 0.000989831203357161}}}, {"cutoff": "backcast3_evals", "candidate_skill": 0.3867795412012266, "control_skill": 0.3874814849803516, "delta": -0.0007019437791250249, "candidate_checkpoint": "8d9f1131f489b02e7183f20ed97597890a23f9e122c040790206f27c6bed115f", "control_checkpoint": "f11d056b95f1c5eeef174265ebc51742952600e0dae1fa52900860447d5be819", "candidate_eval_seconds": 24.00444006919861, "candidate_groups": {"term": {"long": {"n_configs": 19, "rel_mase_gmean": 0.7682065397169763, "rel_wql_gmean": 0.4770810770638124}, "medium": {"n_configs": 20, "rel_mase_gmean": 0.7730166274850766, "rel_wql_gmean": 0.5314724237744772}, "short": {"n_configs": 54, "rel_mase_gmean": 0.7210594039506625, "rel_wql_gmean": 0.5092772899658892}}, "domain": {"Econ/Fin": {"n_configs": 6, "rel_mase_gmean": 0.8312019587183977, "rel_wql_gmean": 0.8183711177174414}, "Energy": {"n_configs": 32, "rel_mase_gmean": 0.8343688246319042, "rel_wql_gmean": 0.5545883507936582}, "Healthcare": {"n_configs": 5, "rel_mase_gmean": 0.8197647154862593, "rel_wql_gmean": 0.6769098388359173}, "Nature": {"n_configs": 15, "rel_mase_gmean": 0.7326342681847855, "rel_wql_gmean": 0.3427558138817617}, "Sales": {"n_configs": 3, "rel_mase_gmean": 0.754693474726257, "rel_wql_gmean": 0.47920663755745574}, "Transport": {"n_configs": 14, "rel_mase_gmean": 0.545062652529082, "rel_wql_gmean": 0.4519491215286819}, "Web/CloudOps": {"n_configs": 18, "rel_mase_gmean": 0.7199351987327015, "rel_wql_gmean": 0.5210203828356919}}, "frequency": {"A": {"n_configs": 1, "rel_mase_gmean": 0.5232301056112943, "rel_wql_gmean": 0.7357487598415804}, "D": {"n_configs": 15, "rel_mase_gmean": 0.7355717059742475, "rel_wql_gmean": 0.42869736080466975}, "H": {"n_configs": 29, "rel_mase_gmean": 0.7286034733540714, "rel_wql_gmean": 0.4901422148570005}, "M": {"n_configs": 4, "rel_mase_gmean": 0.8802021855900102, "rel_wql_gmean": 0.868733337230998}, "Q": {"n_configs": 1, "rel_mase_gmean": 0.7116971108623457, "rel_wql_gmean": 0.7694009807630384}, "S": {"n_configs": 6, "rel_mase_gmean": 0.8455854089841978, "rel_wql_gmean": 0.6001614189715428}, "T": {"n_configs": 29, "rel_mase_gmean": 0.7095322654888063, "rel_wql_gmean": 0.46338729070416085}, "W": {"n_configs": 8, "rel_mase_gmean": 0.8213483530670851, "rel_wql_gmean": 0.6657289776232989}}, "variates": {"multivariate": {"n_configs": 41, "rel_mase_gmean": 0.7638990373886446, "rel_wql_gmean": 0.5132974511868262}, "univariate": {"n_configs": 52, "rel_mase_gmean": 0.7242377646968124, "rel_wql_gmean": 0.502370743950782}}}, "control_groups": {"term": {"long": {"n_configs": 19, "rel_mase_gmean": 0.7675699458528298, "rel_wql_gmean": 0.476452132158557}, "medium": {"n_configs": 20, "rel_mase_gmean": 0.773141221801274, "rel_wql_gmean": 0.5311688105422268}, "short": {"n_configs": 54, "rel_mase_gmean": 0.7189800356855841, "rel_wql_gmean": 0.5092012481102669}}, "domain": {"Econ/Fin": {"n_configs": 6, "rel_mase_gmean": 0.8366494448197422, "rel_wql_gmean": 0.8335501433013701}, "Energy": {"n_configs": 32, "rel_mase_gmean": 0.8362673307045482, "rel_wql_gmean": 0.5558565966414833}, "Healthcare": {"n_configs": 5, "rel_mase_gmean": 0.7992789325648234, "rel_wql_gmean": 0.663313586611861}, "Nature": {"n_configs": 15, "rel_mase_gmean": 0.7270958326307262, "rel_wql_gmean": 0.3416485868534862}, "Sales": {"n_configs": 3, "rel_mase_gmean": 0.7558002187371488, "rel_wql_gmean": 0.47806361106286926}, "Transport": {"n_configs": 14, "rel_mase_gmean": 0.5447632408986202, "rel_wql_gmean": 0.45146185813227047}, "Web/CloudOps": {"n_configs": 18, "rel_mase_gmean": 0.7184671561660497, "rel_wql_gmean": 0.5194115372422989}}, "frequency": {"A": {"n_configs": 1, "rel_mase_gmean": 0.5301621193542202, "rel_wql_gmean": 0.8023624756576537}, "D": {"n_configs": 15, "rel_mase_gmean": 0.7320022964105988, "rel_wql_gmean": 0.42747341049868826}, "H": {"n_configs": 29, "rel_mase_gmean": 0.7284419538124913, "rel_wql_gmean": 0.48986156448616525}, "M": {"n_configs": 4, "rel_mase_gmean": 0.8692971155035826, "rel_wql_gmean": 0.8573561489309673}, "Q": {"n_configs": 1, "rel_mase_gmean": 0.7145578258684864, "rel_wql_gmean": 0.7671041544075885}, "S": {"n_configs": 6, "rel_mase_gmean": 0.8434376506034783, "rel_wql_gmean": 0.6004240857745707}, "T": {"n_configs": 29, "rel_mase_gmean": 0.7091796225957213, "rel_wql_gmean": 0.4627952794263764}, "W": {"n_configs": 8, "rel_mase_gmean": 0.8186104789687557, "rel_wql_gmean": 0.6672650133055504}}, "variates": {"multivariate": {"n_configs": 41, "rel_mase_gmean": 0.7652944038188929, "rel_wql_gmean": 0.5141740641844628}, "univariate": {"n_configs": 52, "rel_mase_gmean": 0.7208570784782143, "rel_wql_gmean": 0.5012656144320912}}}, "group_skill_delta": {"term": {"long": -0.0006499023218675681, "medium": -0.00013146939684294257, "short": -0.0009195699214111785}, "domain": {"Econ/Fin": 0.010336768884061431, "Energy": 0.0015517047268557294, "Healthcare": -0.016791163289867517, "Nature": -0.0027046835857964524, "Sales": -0.0002773780983225116, "Transport": -0.0004038920519970346, "Web/CloudOps": -0.0015701142337304352}, "frequency": {"A": 0.031757097259507705, "D": -0.002164382825519673, "H": -0.00023733595737485125, "M": -0.011142972110977256, "Q": 0.0003781680146515143, "S": -0.0007496125391343034, "T": -0.0005088165900317687, "W": -0.00038231704766089614}, "variates": {"multivariate": 0.0011066065728931873, "univariate": -0.00207173387084425}}}], "mean_delta": -0.0007547425854894374, "positive_cutoffs": 1, "outcome": "Secondary original-window reference; primary matched control remains E113 lowfreq_windows. No automatic transfer or publication."} + +2026-10-23T22:50:44.006763+00:00: E141 final12000: 2of4 positive, mean delta0.001850641796; declared gate failed. Final source checkpoint8bdc6aec5ac81386cace42f2ef23202df02cc54a97261eae61ececffaae962e2. Training complete; preserve negatives. E141final therefore produces no E153finalquartet. E143final produces no transfer. + +2026-10-23T22:50:44.006763+00:00: E143 final12000: 1of4 positive, mean delta-0.000258722884; declared gate failed. Final source checkpoint8d9f1131f489b02e7183f20ed97597890a23f9e122c040790206f27c6bed115f. Training complete; preserve negatives. E141final therefore produces no E153finalquartet. E143final produces no transfer. + +2026-10-23T22:52:28.132602+00:00: E155 declaration {"declared_utc": "2026-10-23T22:52:28.132602+00:00", "status": "declared; CPU/GPU memory and accumulation audits next", "hypothesis": "The fresh146M expert still gains from pretraining duration. Increasing width at the same data exposure and objective may improve generalization beyond the146M ceiling.", "factor": "Fresh transformer width1024->1536 and heads16->24 with head dimension64 unchanged; encoder6/decoder4, input/outputpatch16, maxcontext4096/horizon1024 unchanged.", "parameters": 329029920, "seed": 307, "batch": 48, "micro_batch": 16, "lr": 0.0002, "steps": 96000, "primary": 48000, "final": 96000, "diagnostics": [4000, 8000, 16000, 24000, 72000], "control": "E79 random_capacity_1024 fresh146M, same seed/B48/LR2e-4/original96k schedule, already completed; do not retrain.", "packed": "/workspace/research/packed_sample", "source_weights_from": "/workspace/research/packed_sample", "synthetics": "Same20percent own original generator with slowAR time constants[1,10000]; no new source or generator.", "code_dir": "/workspace/research/random_capacity", "study_code": "/workspace/research/random_capacity_1536", "loss": "Identical paired median/quantile objective; E150 context-weight-corrected gradient accumulation micro16 to preserve effectiveB48, one clip/AdamW/EMA update per48 rows.", "numerical_caveat": "Microbatch reduction order differs from E79 fullbatch arithmetic; quantify gradient agreement before training. This is a resource adaptation, not a change in intended weighted objective.", "initialization": "Independent local torch random initialization seed307, no inherited trained tensor or pretrained asset; original zero output head/fixed biases.", "selection": "Matched48k and96k four-cutoff comparisons with>=3positive and positive mean. No automatic ensemble or publication; then-current and full public replay/runtime guards required.", "planned_after": "E101 distill_ensemble original96000 endpoint; replace its allocation, never an additional main trainer.", "optimizer_updates": 0, "training_queued": false}. + +E122 48000 four-cutoff comparison: {"label": "E122 48000 four-cutoff comparison", "utc": "2026-10-23T22:53:34.790545+00:00", "candidate": "random_capacity_original_ar_ema48000", "control": "random_capacity_1024_ema48000", "rows": [{"cutoff": "evals", "candidate_skill": 0.3583546216345457, "control_skill": 0.3685434345005941, "delta": -0.010188812866048447, "candidate_checkpoint": "da6f980116bfa7f71037fbe41923d4e8b31a88b08ac6b84c661eaa6fa24661a9", "control_checkpoint": "227ea80abf17fc81ae191f94e91f6dd7adbc0d837235750b5f5e9cef3dd5472c", "candidate_eval_seconds": 37.268303632736206, "candidate_groups": {"term": {"long": {"n_configs": 21, "rel_mase_gmean": 0.7626305716538019, "rel_wql_gmean": 0.5013474487738068}, "medium": {"n_configs": 21, "rel_mase_gmean": 0.7462664970815309, "rel_wql_gmean": 0.5086425008617949}, "short": {"n_configs": 55, "rel_mase_gmean": 0.7737991030438872, "rel_wql_gmean": 0.5645525287434197}}, "domain": {"Econ/Fin": {"n_configs": 6, "rel_mase_gmean": 0.9011002017257016, "rel_wql_gmean": 0.8550621795675225}, "Energy": {"n_configs": 32, "rel_mase_gmean": 0.9112449362633235, "rel_wql_gmean": 0.6590536154589819}, "Healthcare": {"n_configs": 5, "rel_mase_gmean": 0.6760063063475518, "rel_wql_gmean": 0.5909032331805709}, "Nature": {"n_configs": 15, "rel_mase_gmean": 0.8301952444550323, "rel_wql_gmean": 0.41952951366588714}, "Sales": {"n_configs": 4, "rel_mase_gmean": 0.8635321328741098, "rel_wql_gmean": 0.5228751939995523}, "Transport": {"n_configs": 15, "rel_mase_gmean": 0.6588513258724162, "rel_wql_gmean": 0.4599639817876102}, "Web/CloudOps": {"n_configs": 20, "rel_mase_gmean": 0.5842906094403384, "rel_wql_gmean": 0.45031876918081964}}, "frequency": {"A": {"n_configs": 1, "rel_mase_gmean": 0.6105930719830345, "rel_wql_gmean": 0.6165943829361674}, "D": {"n_configs": 15, "rel_mase_gmean": 0.7917763312480086, "rel_wql_gmean": 0.5496120964199602}, "H": {"n_configs": 31, "rel_mase_gmean": 0.746215094646288, "rel_wql_gmean": 0.5209398433158376}, "M": {"n_configs": 5, "rel_mase_gmean": 1.120702893056338, "rel_wql_gmean": 0.9199358187243623}, "Q": {"n_configs": 1, "rel_mase_gmean": 0.7660539916153091, "rel_wql_gmean": 0.8298582206092182}, "S": {"n_configs": 6, "rel_mase_gmean": 0.676424520993042, "rel_wql_gmean": 0.5116883197366717}, "T": {"n_configs": 30, "rel_mase_gmean": 0.7166290282538725, "rel_wql_gmean": 0.4727125544307986}, "W": {"n_configs": 8, "rel_mase_gmean": 0.9011791735964295, "rel_wql_gmean": 0.6569621709275583}}, "variates": {"multivariate": {"n_configs": 43, "rel_mase_gmean": 0.7314376633580857, "rel_wql_gmean": 0.5289505701252926}, "univariate": {"n_configs": 54, "rel_mase_gmean": 0.7934581965709148, "rel_wql_gmean": 0.5452105916327021}}}, "control_groups": {"term": {"long": {"n_configs": 21, "rel_mase_gmean": 0.7587789601246303, "rel_wql_gmean": 0.49670212535892816}, "medium": {"n_configs": 21, "rel_mase_gmean": 0.7318228954729822, "rel_wql_gmean": 0.5069316624612222}, "short": {"n_configs": 55, "rel_mase_gmean": 0.7543680498586199, "rel_wql_gmean": 0.5551519797008444}}, "domain": {"Econ/Fin": {"n_configs": 6, "rel_mase_gmean": 0.894159342526865, "rel_wql_gmean": 0.8617452681906776}, "Energy": {"n_configs": 32, "rel_mase_gmean": 0.9101004419451137, "rel_wql_gmean": 0.6584458800440816}, "Healthcare": {"n_configs": 5, "rel_mase_gmean": 0.5844853147385809, "rel_wql_gmean": 0.5155213514040926}, "Nature": {"n_configs": 15, "rel_mase_gmean": 0.8048625648125799, "rel_wql_gmean": 0.41574642740891904}, "Sales": {"n_configs": 4, "rel_mase_gmean": 0.8608662664471317, "rel_wql_gmean": 0.5338203994579515}, "Transport": {"n_configs": 15, "rel_mase_gmean": 0.6544478487122294, "rel_wql_gmean": 0.45419898205149567}, "Web/CloudOps": {"n_configs": 20, "rel_mase_gmean": 0.5691881615817772, "rel_wql_gmean": 0.4440050362883611}}, "frequency": {"A": {"n_configs": 1, "rel_mase_gmean": 0.6000112444199207, "rel_wql_gmean": 0.6164736935875128}, "D": {"n_configs": 15, "rel_mase_gmean": 0.7725946330728586, "rel_wql_gmean": 0.5378537664666186}, "H": {"n_configs": 31, "rel_mase_gmean": 0.7386096620108181, "rel_wql_gmean": 0.5168384077006924}, "M": {"n_configs": 5, "rel_mase_gmean": 0.9539291717517222, "rel_wql_gmean": 0.8277758145427478}, "Q": {"n_configs": 1, "rel_mase_gmean": 0.7693856070976332, "rel_wql_gmean": 0.8422189104112654}, "S": {"n_configs": 6, "rel_mase_gmean": 0.6694448136296561, "rel_wql_gmean": 0.5123742201671339}, "T": {"n_configs": 30, "rel_mase_gmean": 0.7085963765778743, "rel_wql_gmean": 0.4689717872647888}, "W": {"n_configs": 8, "rel_mase_gmean": 0.8999499970954961, "rel_wql_gmean": 0.6671558797312815}}, "variates": {"multivariate": {"n_configs": 43, "rel_mase_gmean": 0.7233324743781643, "rel_wql_gmean": 0.5297705922478261}, "univariate": {"n_configs": 54, "rel_mase_gmean": 0.7726310020210445, "rel_wql_gmean": 0.5326719533609565}}}, "group_skill_delta": {"term": {"long": -0.00442748519653946, "medium": -0.007018239319965702, "short": -0.01380744920804422}, "domain": {"Econ/Fin": 2.3285686443386133e-05, "Energy": -0.0008439788843830343, "Healthcare": -0.08310262073644048, "Nature": -0.011699797824667346, "Sales": 0.005947647936651035, "Transport": -0.005291879511253317, "Web/CloudOps": -0.010234303711191717}, "frequency": {"A": -0.005399619678321921, "D": -0.015047851173296656, "H": -0.005632097589500451, "M": -0.12675263976375484, "Q": 0.007660817383973839, "S": -0.0026510221549633783, "T": -0.005565692818713552, "W": 0.00541753545161916}, "variates": {"multivariate": -0.002976612784061694, "univariate": -0.016196186168663473}}}, {"cutoff": "backcast_evals", "candidate_skill": 0.3270556665005907, "control_skill": 0.3284572453347383, "delta": -0.0014015788341475988, "candidate_checkpoint": "da6f980116bfa7f71037fbe41923d4e8b31a88b08ac6b84c661eaa6fa24661a9", "control_checkpoint": "227ea80abf17fc81ae191f94e91f6dd7adbc0d837235750b5f5e9cef3dd5472c", "candidate_eval_seconds": 35.6825065612793, "candidate_groups": {"term": {"long": {"n_configs": 21, "rel_mase_gmean": 0.7736429438495587, "rel_wql_gmean": 0.478685089877022}, "medium": {"n_configs": 21, "rel_mase_gmean": 0.784008740061236, "rel_wql_gmean": 0.5456307189036064}, "short": {"n_configs": 55, "rel_mase_gmean": 0.8197676677868869, "rel_wql_gmean": 0.6096376048670317}}, "domain": {"Econ/Fin": {"n_configs": 6, "rel_mase_gmean": 0.8906745660801599, "rel_wql_gmean": 0.8135644915204546}, "Energy": {"n_configs": 32, "rel_mase_gmean": 0.8976977469342797, "rel_wql_gmean": 0.682713062814776}, "Healthcare": {"n_configs": 5, "rel_mase_gmean": 0.659683057125099, "rel_wql_gmean": 0.6128357145675861}, "Nature": {"n_configs": 15, "rel_mase_gmean": 0.9370674337097482, "rel_wql_gmean": 0.4449338663728794}, "Sales": {"n_configs": 4, "rel_mase_gmean": 0.7351750826279423, "rel_wql_gmean": 0.49205504871738887}, "Transport": {"n_configs": 15, "rel_mase_gmean": 0.7497347566836593, "rel_wql_gmean": 0.5479636955203411}, "Web/CloudOps": {"n_configs": 20, "rel_mase_gmean": 0.6480513498921401, "rel_wql_gmean": 0.46059638849393714}}, "frequency": {"A": {"n_configs": 1, "rel_mase_gmean": 0.6361588486309059, "rel_wql_gmean": 0.6881629486450704}, "D": {"n_configs": 15, "rel_mase_gmean": 0.8388092738792734, "rel_wql_gmean": 0.5015548429913949}, "H": {"n_configs": 31, "rel_mase_gmean": 0.7769557328749285, "rel_wql_gmean": 0.5279049410675059}, "M": {"n_configs": 5, "rel_mase_gmean": 0.8585125969258507, "rel_wql_gmean": 0.8021724903413406}, "Q": {"n_configs": 1, "rel_mase_gmean": 0.7843055877179396, "rel_wql_gmean": 0.8211665499657749}, "S": {"n_configs": 6, "rel_mase_gmean": 0.8532876325961967, "rel_wql_gmean": 0.4985628538290129}, "T": {"n_configs": 30, "rel_mase_gmean": 0.7668996817995237, "rel_wql_gmean": 0.5998692479371204}, "W": {"n_configs": 8, "rel_mase_gmean": 0.9279876481862974, "rel_wql_gmean": 0.6007216630428355}}, "variates": {"multivariate": {"n_configs": 43, "rel_mase_gmean": 0.7824761846993319, "rel_wql_gmean": 0.5408252334950671}, "univariate": {"n_configs": 54, "rel_mase_gmean": 0.8174821004234839, "rel_wql_gmean": 0.5846759004265404}}}, "control_groups": {"term": {"long": {"n_configs": 21, "rel_mase_gmean": 0.7707957586118519, "rel_wql_gmean": 0.4811201577001369}, "medium": {"n_configs": 21, "rel_mase_gmean": 0.779618755877286, "rel_wql_gmean": 0.5433042239308433}, "short": {"n_configs": 55, "rel_mase_gmean": 0.8170439519805486, "rel_wql_gmean": 0.6091621644447172}}, "domain": {"Econ/Fin": {"n_configs": 6, "rel_mase_gmean": 0.8722234206774022, "rel_wql_gmean": 0.8117570602842299}, "Energy": {"n_configs": 32, "rel_mase_gmean": 0.8947438467938783, "rel_wql_gmean": 0.6785152460589088}, "Healthcare": {"n_configs": 5, "rel_mase_gmean": 0.6486779418840113, "rel_wql_gmean": 0.5987237519655887}, "Nature": {"n_configs": 15, "rel_mase_gmean": 0.93065028071109, "rel_wql_gmean": 0.4513997152587998}, "Sales": {"n_configs": 4, "rel_mase_gmean": 0.7423627428173035, "rel_wql_gmean": 0.5023610195015825}, "Transport": {"n_configs": 15, "rel_mase_gmean": 0.7544059722768195, "rel_wql_gmean": 0.5493110062331005}, "Web/CloudOps": {"n_configs": 20, "rel_mase_gmean": 0.6450703250668249, "rel_wql_gmean": 0.45978977116467806}}, "frequency": {"A": {"n_configs": 1, "rel_mase_gmean": 0.6241575007860913, "rel_wql_gmean": 0.6847120856661988}, "D": {"n_configs": 15, "rel_mase_gmean": 0.842461994316231, "rel_wql_gmean": 0.49795147250110605}, "H": {"n_configs": 31, "rel_mase_gmean": 0.7795524804282207, "rel_wql_gmean": 0.5290387312855092}, "M": {"n_configs": 5, "rel_mase_gmean": 0.83852272258776, "rel_wql_gmean": 0.7941982685846185}, "Q": {"n_configs": 1, "rel_mase_gmean": 0.7797879425916332, "rel_wql_gmean": 0.8309566441120046}, "S": {"n_configs": 6, "rel_mase_gmean": 0.8507345990970113, "rel_wql_gmean": 0.5003107438855952}, "T": {"n_configs": 30, "rel_mase_gmean": 0.761595505116273, "rel_wql_gmean": 0.5997414447915067}, "W": {"n_configs": 8, "rel_mase_gmean": 0.9075462369415759, "rel_wql_gmean": 0.6040409924897451}}, "variates": {"multivariate": {"n_configs": 43, "rel_mase_gmean": 0.7762510882566483, "rel_wql_gmean": 0.5402880481180907}, "univariate": {"n_configs": 54, "rel_mase_gmean": 0.8169534925089487, "rel_wql_gmean": 0.5848561547513397}}}, "group_skill_delta": {"term": {"long": 0.0004221985032669684, "medium": -0.0032256745834825518, "short": -0.0014506505329117125}, "domain": {"Econ/Fin": -0.009799573540331452, "Energy": -0.0036956119447123514, "Healthcare": -0.012627549988790898, "Nature": 0.0024440489409526256, "Sales": 0.009229561256828389, "Transport": 0.0027835882152684732, "Web/CloudOps": -0.001735528795881458}, "frequency": {"A": -0.007916139566097824, "D": -0.000928528159704789, "H": 0.0017578597990938194, "M": -0.013804945434173876, "Q": 0.0024413574070262234, "S": 0.0001641388231222729, "T": -0.002421638257617209, "W": -0.006231963294651144}, "variates": {"multivariate": -0.002914703559192877, "univariate": -0.00011703122025141788}}}, {"cutoff": "backcast2_evals", "candidate_skill": 0.34757951018600564, "control_skill": 0.35202854592719945, "delta": -0.004449035741193819, "candidate_checkpoint": "da6f980116bfa7f71037fbe41923d4e8b31a88b08ac6b84c661eaa6fa24661a9", "control_checkpoint": "227ea80abf17fc81ae191f94e91f6dd7adbc0d837235750b5f5e9cef3dd5472c", "candidate_eval_seconds": 33.032439947128296, "candidate_groups": {"term": {"long": {"n_configs": 19, "rel_mase_gmean": 0.8065412019219885, "rel_wql_gmean": 0.5114630378758964}, "medium": {"n_configs": 21, "rel_mase_gmean": 0.7562071726257902, "rel_wql_gmean": 0.5069529871199169}, "short": {"n_configs": 54, "rel_mase_gmean": 0.7770502612788532, "rel_wql_gmean": 0.5768594795711374}}, "domain": {"Econ/Fin": {"n_configs": 6, "rel_mase_gmean": 0.9014685348762711, "rel_wql_gmean": 0.925488388277409}, "Energy": {"n_configs": 32, "rel_mase_gmean": 0.9191743521368262, "rel_wql_gmean": 0.6701882833284026}, "Healthcare": {"n_configs": 5, "rel_mase_gmean": 0.7124281066966779, "rel_wql_gmean": 0.6114447787161897}, "Nature": {"n_configs": 15, "rel_mase_gmean": 0.7768699031530049, "rel_wql_gmean": 0.38120806645155336}, "Sales": {"n_configs": 3, "rel_mase_gmean": 0.5623321402681707, "rel_wql_gmean": 0.35454280250111286}, "Transport": {"n_configs": 14, "rel_mase_gmean": 0.6813547687814362, "rel_wql_gmean": 0.5177490497546708}, "Web/CloudOps": {"n_configs": 19, "rel_mase_gmean": 0.6676997025976612, "rel_wql_gmean": 0.47384879494198584}}, "frequency": {"A": {"n_configs": 1, "rel_mase_gmean": 0.5813587201977239, "rel_wql_gmean": 0.7621005298403322}, "D": {"n_configs": 15, "rel_mase_gmean": 0.72860876614496, "rel_wql_gmean": 0.45243787726319123}, "H": {"n_configs": 30, "rel_mase_gmean": 0.7510469149795982, "rel_wql_gmean": 0.4957070140924104}, "M": {"n_configs": 4, "rel_mase_gmean": 0.8819298454451551, "rel_wql_gmean": 0.932534818774878}, "Q": {"n_configs": 1, "rel_mase_gmean": 0.8414522965556065, "rel_wql_gmean": 0.8905084105583225}, "S": {"n_configs": 6, "rel_mase_gmean": 0.9091084776703022, "rel_wql_gmean": 0.5585156326641534}, "T": {"n_configs": 29, "rel_mase_gmean": 0.7657683313845556, "rel_wql_gmean": 0.5695611705106504}, "W": {"n_configs": 8, "rel_mase_gmean": 0.9152865370029576, "rel_wql_gmean": 0.6637897703998465}}, "variates": {"multivariate": {"n_configs": 42, "rel_mase_gmean": 0.7772133487529318, "rel_wql_gmean": 0.5256772246046675}, "univariate": {"n_configs": 52, "rel_mase_gmean": 0.7789646399031258, "rel_wql_gmean": 0.5648211463213658}}}, "control_groups": {"term": {"long": {"n_configs": 19, "rel_mase_gmean": 0.7993914938306502, "rel_wql_gmean": 0.5118750835782793}, "medium": {"n_configs": 21, "rel_mase_gmean": 0.7499036235389392, "rel_wql_gmean": 0.5076549719236019}, "short": {"n_configs": 54, "rel_mase_gmean": 0.7704097782971766, "rel_wql_gmean": 0.5713062592973345}}, "domain": {"Econ/Fin": {"n_configs": 6, "rel_mase_gmean": 0.8815921046221019, "rel_wql_gmean": 0.9187815814539992}, "Energy": {"n_configs": 32, "rel_mase_gmean": 0.920339256072892, "rel_wql_gmean": 0.6704665333680074}, "Healthcare": {"n_configs": 5, "rel_mase_gmean": 0.6501582024912718, "rel_wql_gmean": 0.5627569152494311}, "Nature": {"n_configs": 15, "rel_mase_gmean": 0.7745581689862006, "rel_wql_gmean": 0.3822657735243897}, "Sales": {"n_configs": 3, "rel_mase_gmean": 0.564680893551189, "rel_wql_gmean": 0.36069686176729393}, "Transport": {"n_configs": 14, "rel_mase_gmean": 0.6867714219327128, "rel_wql_gmean": 0.5187038356734098}, "Web/CloudOps": {"n_configs": 19, "rel_mase_gmean": 0.6559779306984489, "rel_wql_gmean": 0.4700795832946835}}, "frequency": {"A": {"n_configs": 1, "rel_mase_gmean": 0.5730275474668758, "rel_wql_gmean": 0.757090806020688}, "D": {"n_configs": 15, "rel_mase_gmean": 0.7274640646847123, "rel_wql_gmean": 0.4535589328676016}, "H": {"n_configs": 30, "rel_mase_gmean": 0.753383988535096, "rel_wql_gmean": 0.4956674683856894}, "M": {"n_configs": 4, "rel_mase_gmean": 0.8235108549294832, "rel_wql_gmean": 0.8750079559219315}, "Q": {"n_configs": 1, "rel_mase_gmean": 0.8610057552014395, "rel_wql_gmean": 0.9072883197219879}, "S": {"n_configs": 6, "rel_mase_gmean": 0.8980758705842602, "rel_wql_gmean": 0.5621964897161842}, "T": {"n_configs": 29, "rel_mase_gmean": 0.7550135684916714, "rel_wql_gmean": 0.5666392411392774}, "W": {"n_configs": 8, "rel_mase_gmean": 0.9006457837675473, "rel_wql_gmean": 0.6506166099596051}}, "variates": {"multivariate": {"n_configs": 42, "rel_mase_gmean": 0.7711918037459841, "rel_wql_gmean": 0.5235744450782658}, "univariate": {"n_configs": 52, "rel_mase_gmean": 0.7717812927982146, "rel_wql_gmean": 0.5614676858240594}}}, "group_skill_delta": {"term": {"long": -0.0025955917516057303, "medium": -0.002159244889502143, "short": -0.006083435629386624}, "domain": {"Econ/Fin": -0.013404736973883002, "Energy": 0.0006602076781369037, "Healthcare": -0.05512691338147169, "Nature": -5.696415023437318e-05, "Sales": 0.004798095763950294, "Transport": 0.002905776273035343, "Web/CloudOps": -0.007181029681073925}, "frequency": {"A": -0.0069621804264450304, "D": 0.0002591250788764876, "H": 0.0009242251242383981, "M": -0.05801044066836203, "Q": 0.01821122352003124, "S": -0.00200698589524384, "T": -0.006338232084728168, "W": -0.013969858298866988}, "variates": {"multivariate": -0.0037556463809649276, "univariate": -0.005028390123490323}}}, {"cutoff": "backcast3_evals", "candidate_skill": 0.3697603362599087, "control_skill": 0.37292052340404636, "delta": -0.0031601871441376828, "candidate_checkpoint": "da6f980116bfa7f71037fbe41923d4e8b31a88b08ac6b84c661eaa6fa24661a9", "control_checkpoint": "227ea80abf17fc81ae191f94e91f6dd7adbc0d837235750b5f5e9cef3dd5472c", "candidate_eval_seconds": 34.87495946884155, "candidate_groups": {"term": {"long": {"n_configs": 19, "rel_mase_gmean": 0.7812600516841512, "rel_wql_gmean": 0.48612841637594467}, "medium": {"n_configs": 20, "rel_mase_gmean": 0.7610932325998137, "rel_wql_gmean": 0.536774554689376}, "short": {"n_configs": 54, "rel_mase_gmean": 0.7475898421785296, "rel_wql_gmean": 0.5341601781465489}}, "domain": {"Econ/Fin": {"n_configs": 6, "rel_mase_gmean": 0.8593271449000369, "rel_wql_gmean": 0.8475606385184485}, "Energy": {"n_configs": 32, "rel_mase_gmean": 0.8394512472039934, "rel_wql_gmean": 0.5658425930790683}, "Healthcare": {"n_configs": 5, "rel_mase_gmean": 0.9653394107004778, "rel_wql_gmean": 0.7627170384712542}, "Nature": {"n_configs": 15, "rel_mase_gmean": 0.7382507085691716, "rel_wql_gmean": 0.35615665143695063}, "Sales": {"n_configs": 3, "rel_mase_gmean": 0.7707761973042626, "rel_wql_gmean": 0.4901314763041643}, "Transport": {"n_configs": 14, "rel_mase_gmean": 0.5680591096429313, "rel_wql_gmean": 0.472838728740947}, "Web/CloudOps": {"n_configs": 18, "rel_mase_gmean": 0.719645775509122, "rel_wql_gmean": 0.5329073308610108}}, "frequency": {"A": {"n_configs": 1, "rel_mase_gmean": 0.5401933609676443, "rel_wql_gmean": 0.8020591386630119}, "D": {"n_configs": 15, "rel_mase_gmean": 0.7841771785080144, "rel_wql_gmean": 0.4565907536657767}, "H": {"n_configs": 29, "rel_mase_gmean": 0.7352714991255181, "rel_wql_gmean": 0.5031900346980844}, "M": {"n_configs": 4, "rel_mase_gmean": 0.9890082940105419, "rel_wql_gmean": 0.9595388574370304}, "Q": {"n_configs": 1, "rel_mase_gmean": 0.7231483927803877, "rel_wql_gmean": 0.7601977213264686}, "S": {"n_configs": 6, "rel_mase_gmean": 0.8610680668444182, "rel_wql_gmean": 0.6107335053957224}, "T": {"n_configs": 29, "rel_mase_gmean": 0.7079396292622754, "rel_wql_gmean": 0.47741524348395764}, "W": {"n_configs": 8, "rel_mase_gmean": 0.8398969637229454, "rel_wql_gmean": 0.664268167693823}}, "variates": {"multivariate": {"n_configs": 41, "rel_mase_gmean": 0.7814674763149471, "rel_wql_gmean": 0.533752092610793}, "univariate": {"n_configs": 52, "rel_mase_gmean": 0.7387002856167108, "rel_wql_gmean": 0.5173649869975027}}}, "control_groups": {"term": {"long": {"n_configs": 19, "rel_mase_gmean": 0.778439210250305, "rel_wql_gmean": 0.49273006835962047}, "medium": {"n_configs": 20, "rel_mase_gmean": 0.7543591675058114, "rel_wql_gmean": 0.5336114555873182}, "short": {"n_configs": 54, "rel_mase_gmean": 0.7410759417262284, "rel_wql_gmean": 0.5306695859227978}}, "domain": {"Econ/Fin": {"n_configs": 6, "rel_mase_gmean": 0.8417532075173881, "rel_wql_gmean": 0.845937573328201}, "Energy": {"n_configs": 32, "rel_mase_gmean": 0.8479297958628922, "rel_wql_gmean": 0.5713250153301629}, "Healthcare": {"n_configs": 5, "rel_mase_gmean": 0.8731181567001823, "rel_wql_gmean": 0.7062780184682419}, "Nature": {"n_configs": 15, "rel_mase_gmean": 0.7270655135819668, "rel_wql_gmean": 0.35387222781116245}, "Sales": {"n_configs": 3, "rel_mase_gmean": 0.7847661053470236, "rel_wql_gmean": 0.5044137986032409}, "Transport": {"n_configs": 14, "rel_mase_gmean": 0.5682067850777656, "rel_wql_gmean": 0.4723998126869398}, "Web/CloudOps": {"n_configs": 18, "rel_mase_gmean": 0.7099877343724879, "rel_wql_gmean": 0.5298000345996671}}, "frequency": {"A": {"n_configs": 1, "rel_mase_gmean": 0.5442290559778864, "rel_wql_gmean": 0.8446584386780612}, "D": {"n_configs": 15, "rel_mase_gmean": 0.7841644844236885, "rel_wql_gmean": 0.45301801369927336}, "H": {"n_configs": 29, "rel_mase_gmean": 0.7364988058949682, "rel_wql_gmean": 0.5033340588432017}, "M": {"n_configs": 4, "rel_mase_gmean": 0.8691738414068243, "rel_wql_gmean": 0.8678518341048217}, "Q": {"n_configs": 1, "rel_mase_gmean": 0.7280932255410748, "rel_wql_gmean": 0.7727291093550366}, "S": {"n_configs": 6, "rel_mase_gmean": 0.8609187156813392, "rel_wql_gmean": 0.6295058615351511}, "T": {"n_configs": 29, "rel_mase_gmean": 0.7042489928814539, "rel_wql_gmean": 0.4735497097280189}, "W": {"n_configs": 8, "rel_mase_gmean": 0.8282027876303875, "rel_wql_gmean": 0.6880431539037373}}, "variates": {"multivariate": {"n_configs": 41, "rel_mase_gmean": 0.7803099495695505, "rel_wql_gmean": 0.5354633301386752}, "univariate": {"n_configs": 52, "rel_mase_gmean": 0.7294079779755795, "rel_wql_gmean": 0.5139221776313134}}}, "group_skill_delta": {"term": {"long": 0.003049293007639564, "medium": -0.004711584810814018, "short": -0.00481817313538857}, "domain": {"Econ/Fin": -0.009580816437001483, "Energy": 0.006819300666725092, "Healthcare": -0.07278840120626084, "Nature": -0.00553389737315102, "Sales": 0.014524145343071893, "Transport": -0.00017326836298958703, "Web/CloudOps": -0.005965476829611016}, "frequency": {"A": 0.01977248312069435, "D": -0.0023504948050594443, "H": 0.0005945546410990321, "M": -0.10564956066959075, "Q": 0.0086375386299542, "S": 0.0109968371529372, "T": -0.0038695700071561534, "W": 0.007938686673368611}, "variates": {"multivariate": 0.0005552107146263863, "univariate": -0.0059479485015304645}}}], "mean_delta": -0.004799903646381887, "positive_cutoffs": 0, "outcome": "Declared comparison checkpoints 48000,96000. No transfer formula or automatic publication is selected by this controller."} + +2026-10-23T22:54:37.290385+00:00: E12248k review {"utc": "2026-10-23T22:54:37.290385+00:00", "experiment": "E122", "step": 48000, "positive_cutoffs": 0, "mean_delta": -0.004799903646381887, "candidate_sha256": "da6f980116bfa7f71037fbe41923d4e8b31a88b08ac6b84c661eaa6fa24661a9", "group_deltas": [{"cutoff": "evals", "skill": 0.3583546216345457, "delta": -0.010188812866048447, "term": {"long": -0.00442748519653946, "medium": -0.007018239319965702, "short": -0.01380744920804422}}, {"cutoff": "backcast_evals", "skill": 0.3270556665005907, "delta": -0.0014015788341475988, "term": {"long": 0.0004221985032669684, "medium": -0.0032256745834825518, "short": -0.0014506505329117125}}, {"cutoff": "backcast2_evals", "skill": 0.34757951018600564, "delta": -0.004449035741193819, "term": {"long": -0.0025955917516057303, "medium": -0.002159244889502143, "short": -0.006083435629386624}}, {"cutoff": "backcast3_evals", "skill": 0.3697603362599087, "delta": -0.0031601871441376828, "term": {"long": 0.003049293007639564, "medium": -0.004711584810814018, "short": -0.00481817313538857}}], "outcome": "Primary48k rejected0of4. No transfer or ensemble candidate selected; original96k durability schedule remains. E155retainsE79slowAR recipe."}. + +2026-10-23T22:54:55.998327+00:00: E156 declaration {"declared_utc": "2026-10-23T22:54:55.998327+00:00", "status": "declared; waiting source48k", "hypothesis": "The E131learned seasonal-summary gains from fresh pretraining may survive as the independent fourth expert of the existing quartet.", "formula": "Keep E148first3 experts and equal ordered quarters. Compare E131fresh146Mseasonal fourth to matched E79fresh146M fourth at48k/96k; also compare fixed E148.", "fixed_first_three": ["seasonal_width_transfer12k", "patch8_ema6000", "split_patch_ema12000"], "fixed_first_three_hashes": ["0b11b7351a4a92d1d18c71a4159ec445be3a94ace8c7a9fa0edafad87d14e960", "308389b7217c080af9eb185559d4ee3cafa0f3e0f8c4dd8f5526b68198c89988", "1a2fb20a9fb5cae6526f2e36ea47559626bece78fd9c284899836505030ae9fe"], "source_primary": 48000, "source_final": 96000, "candidate_run": "random_capacity_long_seasonal", "control_run": "random_capacity_1024", "frozen_parent_descriptor": "a1b4ab426901be8e1ee299eeeb3f041bac7cea3d4e59c4608824fc3d05c83e03", "gate": "Source matched>=3positive/positive mean, then candidate quartet>=3positive/positive mean against matched control quartet and frozen E148. Before any full replay, recheck against then-current publication. All full/runtime/relocation/composition guards before atomic publication.", "no_weight_sweep": true, "new_training": false, "code": "/workspace/research/fresh_seasonal_ensemble", "receipt": "/workspace/research/fresh_seasonal_ensemble_receipt.json"}. Primary/final source selection remains predeclared; early learning diagnostics do not select any checkpoint. + +2026-10-23T22:58:45.539489+00:00: E156conditional quartet assembler/fullsuite/promoter prepared for48k/96k sourcegates, no weightsselected yet. E152conditional fullsuite/promoter generalized only to its3declared cells and2immutableexpert snapshots; runtime/model/trainer unchanged. Freshcurrentcutoff/full improvement, complete97/151170/0fail, independent actualexpert synthetic+realcomposition and relocation required beforepromotion. InitialE148gatepackage independentcomposition checker queued as engineering-only,0updates/novalidationlabels. + +2026-10-23T23:00:57.492290+00:00: Completed-study compute [{"experiment": "E141", "run": "capacity_patch8_candidate", "completed_utc": "2026-10-23T22:40:43Z", "training_process_seconds": 3914.170209452044, "completed_step": 12000, "training_process_loop_seconds": 3897.9371046340093, "scope": "Entire fresh candidate training in recovery4, shared-H100 process wall time; not isolated GPU time"}, {"experiment": "E143", "run": "lowfreq_age", "completed_utc": "2026-10-23T22:45:44Z", "training_process_seconds": 2300.889190593967, "completed_step": 12000, "training_process_loop_seconds": 2290.283922189148, "scope": "Entire fresh candidate training in recovery4, shared-H100 process wall time; not isolated GPU time"}]. Negative endpoints retained as previously recorded. + +## E154 fixed horizon rule full replay — selected +- Checkpoint SHA-256: `85c52464a7bc064e926ff0aa48fd2d94c39af985932e9d752026486a70860742`. +- Evaluation: 97 configurations, 151170 instances, 0 failed configurations; not separately timed seconds. +- Overall skill 0.384660; relative MASE 0.736160; relative WQL 0.514350. +- term skill: long=0.4008, medium=0.4096, short=0.3685. +- domain skill: Econ/Fin=0.1298, Energy=0.2412, Healthcare=0.5001, Nature=0.4413, Sales=0.3581, Transport=0.4734, Web/CloudOps=0.4995. +- frequency skill: A=0.3043, D=0.3760, H=0.3990, M=0.1515, Q=0.1921, S=0.4246, T=0.4379, W=0.2444. +- variates skill: multivariate=0.3963, univariate=0.3752. +- Outcome: Fixed horizon720 rule improves full skill from 0.384535531421 to 0.384659808175; all97/151170/0fail. All5 models forecast every instance. All97 outputs match the independently validated selected quartet bitwise; real/synthetic composition and relocation pass. Shared-H100 inference613.711s. Adaptive validation selection, not held-out reward. + +E154 verified suite {"status": "complete; review required", "package": "/workspace/research/candidate-horizon-patch8-routing", "steps": [{"name": "synthetic_composition_and_every_member_calls", "returncode": 0, "seconds": 71.91766698891297}, {"name": "relocation", "returncode": 0, "seconds": 64.51891429605894}, {"name": "full_public_replay", "returncode": 0, "seconds": 652.2583563679364}, {"name": "real_composition", "returncode": 0, "seconds": 1.3349886659998447}, {"name": "descriptive_comparison", "returncode": 0, "seconds": 0.536687342915684}], "current_parent": "a1b4ab426901be8e1ee299eeeb3f041bac7cea3d4e59c4608824fc3d05c83e03", "current_cutoff_deltas": [0.00012870854792634834, -0.00013809582313595303, 9.581179820483676e-05, 0.00011519893402767156], "current_step": "descriptive_comparison", "seconds": 790.6030867490917, "skill": 0.3846598081752668}. Synthetic {"descriptor_sha256": "85c52464a7bc064e926ff0aa48fd2d94c39af985932e9d752026486a70860742", "checks": [{"config_id": "synthetic_H", "horizon": 384, "selected_members": [0, 1, 2, 3], "bitwise_composition": true, "finite_ordered": true, "every_member_forecasts_every_instance": true, "forward_calls_by_member": [3, 3, 3, 3, 3]}, {"config_id": "synthetic_15T", "horizon": 960, "selected_members": [0, 1, 2, 4], "bitwise_composition": true, "finite_ordered": true, "every_member_forecasts_every_instance": true, "forward_calls_by_member": [3, 3, 3, 3, 3]}], "member_checkpoint_hashes": ["0b11b7351a4a92d1d18c71a4159ec445be3a94ace8c7a9fa0edafad87d14e960", "308389b7217c080af9eb185559d4ee3cafa0f3e0f8c4dd8f5526b68198c89988", "1a2fb20a9fb5cae6526f2e36ea47559626bece78fd9c284899836505030ae9fe", "d7cfcd72c3cb84aa69e447b76c4c3ab98c21b7c600a463f0b805f4b4300baf33", "2877a38b94a7d77a53a9df410349cecc2f6ab134c83a76744924543bbe73eb17"], "seconds": 69.57236026506871}. Current-publication cutoff deltas [0.00012870854792634834, -0.00013809582313595303, 9.581179820483676e-05, 0.00011519893402767156]. Original teacher and gate expert snapshots stay immutable. + +2026-10-23T23:06:42.116770+00:00: E155GPU engineering audit {"training_seed": 307, "fixture_seed": 1021, "initial_checkpoint_sha256": "0b7ea96c46696952970cfd8edf965da00a7738b3c7c321b49987dfd55b5f4cc3", "parameters": 329029920, "gpu_initial_forward_and_loss_bitwise_equal": true, "temporary_in_memory_head_std": 0.001, "all_parameters_trainable": true, "reference_fullbatch_eager_loss": 0.3826937675476074, "eager_accumulated_loss": 0.3826937675476074, "compiled_accumulated_loss": 0.3826929032802582, "eager_accumulation_gradients": {"all": {"dot": 0.12305145359855815, "reference_squared": 0.12304999159016392, "actual_squared": 0.12305340847000555, "maximum_abs_difference": 2.288818359375e-05, "gradient_cosine": 0.999997997429807}, "encoder": {"dot": 0.0005077532153757564, "reference_squared": 0.0005077540363845235, "actual_squared": 0.0005077543647137315, "maximum_abs_difference": 1.7881393432617188e-07, "gradient_cosine": 0.9999980597435857}, "decoder": {"dot": 0.0013526655321283053, "reference_squared": 0.0013526698585541316, "actual_squared": 0.0013526665377469984, "maximum_abs_difference": 2.384185791015625e-07, "gradient_cosine": 0.9999980290648924}}, "compiled_accumulation_gradients": {"all": {"dot": 0.12305052715284114, "reference_squared": 0.12304999159016392, "actual_squared": 0.12305219122633236, "maximum_abs_difference": 2.86102294921875e-05, "gradient_cosine": 0.9999954145023378}, "encoder": {"dot": 0.0005078732254944355, "reference_squared": 0.0005077540363845235, "actual_squared": 0.0005080002502491016, "maximum_abs_difference": 2.980232238769531e-07, "gradient_cosine": 0.9999923152630825}, "decoder": {"dot": 0.0013527121352506278, "reference_squared": 0.0013526698585541316, "actual_squared": 0.0013527701126542114, "maximum_abs_difference": 2.980232238769531e-07, "gradient_cosine": 0.9999941973025708}}, "compile_comparison_seconds": 44.85847860598005, "maximum_shape_memory": {"effective_batch": 48, "micro_batch": 16, "signed_rows_per_microbatch": 32, "context": 4096, "horizon": 1024, "loss": 1.113368272781372, "peak_allocated_mib": 10535.931640625, "peak_reserved_mib": 11126.0, "includes_adam_and_ema_placeholders": true, "first_compiled_seconds": 49.2918907168787}, "shared_gpu_maximum_shape_accumulated_backward_seconds": [0.5284359210636467, 0.5154289491474628, 0.5360849928110838], "initial_checkpoint_file_unchanged": true, "lock_wait_seconds": 651.6453086759429, "seconds": 807.413023364963, "optimizer_updates": 0, "validation_data_read": false}. Only in-memory throwaway head changed to std.001 to exercise nonzero backbone gradients; random initial file unchanged.0optimizerupdates,novalidationlabels. Recovery6vs3+3 on original96kschedule remains required beforequeue. + +2026-10-23T23:08:00.801984+00:00: Early main-cutoff diagnostic {"utc": "2026-10-23T23:08:00.801984+00:00", "experiment": "E134", "step": 16000, "candidate": "visibility_curriculum", "control": "random_capacity_1024", "checkpoint_sha256": "9498637268bead70f41a30f00146515b181c192419072d9c256416107209cb46", "skill": 0.3433204165252165, "control_skill": 0.3494992855125878, "delta": -0.0061788689873713, "eval_seconds": 36.801350116729736, "group_deltas": {"term": {"long": -0.03631038470393955, "medium": -0.022050521545128654, "short": 0.01281268980347472}, "domain": {"Econ/Fin": -0.010009894996947377, "Energy": -0.002001483947647875, "Healthcare": 0.080717221416987, "Nature": 0.002674476301569917, "Sales": 0.008014079248203965, "Transport": -0.01056785955530104, "Web/CloudOps": -0.030764623506222777}, "frequency": {"A": 0.008099815266254029, "D": 0.0021766672561231992, "H": -0.0008953775191122837, "M": 0.08390696660746177, "Q": 0.016673394982114953, "S": -0.012359647728518719, "T": -0.03036418999965851, "W": 0.027462739083150334}, "variates": {"multivariate": -0.01777207446321838, "univariate": 0.0036310482879380324}}, "decision": "Main learning diagnostic while only quarter views have trained; full-view phase begins after32000. Primary96000 and scheduled48000/96000 panels remain."}. + +2026-10-23T23:08:00.801984+00:00: Early main-cutoff diagnostic {"utc": "2026-10-23T23:08:00.801984+00:00", "experiment": "E146", "step": 3000, "candidate": "direct_trend_replication", "control": "long_seasonal_replication", "checkpoint_sha256": "ca6628269e5aaf16b17a427357aa273a6f9b21b990b27c2e39437c31e67e49be", "skill": 0.380834860316549, "control_skill": 0.3808651120308192, "delta": -3.0251714270179697e-05, "eval_seconds": 27.036293745040894, "group_deltas": {"term": {"long": 2.8018559343867544e-05, "medium": 0.00013714884197124633, "short": -0.00012304795161555138}, "domain": {"Econ/Fin": 0.00024192072897011307, "Energy": 0.00032119658339213597, "Healthcare": -0.0010561983147608922, "Nature": 6.065101663499384e-05, "Sales": 5.9881973600739435e-05, "Transport": -0.00032133083070007284, "Web/CloudOps": -7.457423412965403e-05}, "frequency": {"A": 4.8592380505141364e-05, "D": -0.0009854352182053772, "H": -7.45479971351326e-05, "M": -0.001317403062463196, "Q": -4.808280249957164e-05, "S": -0.00014016080680756549, "T": 0.00017192877743943402, "W": 0.00215322039259902}, "variates": {"multivariate": 2.0464896623995088e-05, "univariate": -7.241469651286803e-05}}, "decision": "Main learning diagnostic only; primary6000 and final12000 four-cutoff comparisons remain."}. + +2026-10-23T23:08:54.132300+00:00: E147 early learning diagnostic {"utc": "2026-10-23T23:08:54.132300+00:00", "experiment": "E147", "step": 4000, "skill": 0.3346993711497873, "checkpoint_sha256": "f3f1722f237bda0ece0a60343d4d8cd3e2012b5512d530af19a5090421125563", "eval_seconds": 37.517770528793335, "comparisons": [{"control": "random_capacity_full", "role": "matched full-corpus halfLR control", "control_skill": 0.33786905941975176, "delta": -0.0031696882699644435, "group_deltas": {"term": {"long": -0.008809513154308668, "medium": 0.006815851577366083, "short": -0.005069909816108442}, "domain": {"Econ/Fin": -0.007312920419697, "Energy": -0.005133217667676493, "Healthcare": 0.06127076877176019, "Nature": -0.01959933830965832, "Sales": 0.006321104582190928, "Transport": -0.003918347701498126, "Web/CloudOps": -0.002536672956035102}, "frequency": {"A": 0.01833962230675701, "D": -0.030247492127701614, "H": -0.006685199021379762, "M": -0.00859453712875391, "Q": 0.009552984364787576, "S": -0.0007153326325322062, "T": 0.0014257639793470167, "W": 0.04699527325067543}, "variates": {"multivariate": -0.010628236180159623, "univariate": 0.00313332789168419}}}, {"control": "random_capacity_1024", "role": "originalLR small-pack reference", "control_skill": 0.3281339194194064, "delta": 0.006565451730380922, "group_deltas": {"term": {"long": 0.0019823481896998896, "medium": 0.012204113138403416, "short": 0.006043804390748697}, "domain": {"Econ/Fin": -0.013181447571210203, "Energy": 0.0060617131589105755, "Healthcare": 0.07505324085579357, "Nature": -0.002958675762570806, "Sales": 0.014717514196605386, "Transport": -0.0006691138678482922, "Web/CloudOps": 0.0072159790724675155}, "frequency": {"A": -0.0228264933128961, "D": -0.003023771557351007, "H": 0.004040972085028738, "M": 0.004819774121135767, "Q": -0.022216906584414442, "S": 0.009011416419253293, "T": 0.006184222707356191, "W": 0.04699201273355624}, "variates": {"multivariate": 0.0024610206327894124, "univariate": 0.01001051398734143}}}], "decision": "Early main-cutoff learning diagnostic only. Primary48000/final96000 four-cutoff matched contrasts and factorial interaction remain unchanged; no candidate selected."}. + +2026-10-23T23:10:12.675080+00:00: E152generic fullsuite initial-runtime checker passed5cases(2synthetic B4,3real B128) using actualstandalone E148expert predictions, bitwise independent ordered NumPy composition and finiteordered outputs. Seconds613.0374893348198 incllockwait565.022528231144.0updates/novalidationlabels; untrainedinitialpackage remains engineering-only and cannotpublish. Descriptor393516c89f812393e2a63756d5e794da1c62360539f437ee62dc069e20fe8afb. + +2026-10-23T23:11:30.951385+00:00: E157 conditional declaration {"declared_utc": "2026-10-23T23:11:30.951385+00:00", "status": "declared conditional factorial; implementation/audits pending; no training queued", "hypothesis": "Fresh learned16cycle seasonal summaries and own-ensemble distillation improve standalone forecasting separately; test additivity or interference at one fixed learning rate.", "control_cells": {"no_feature_no_distillation": "E94 random_capacity_1024_halflr", "no_feature_distillation": "E101 distill_ensemble"}, "new_arms": [{"name": "random_capacity_long_seasonal_halflr", "distillation": false, "planned_after": "E134 visibility_curriculum96000"}, {"name": "random_capacity_long_seasonal_distill", "distillation": true, "planned_after": "E147 random_capacity_full_highlr96000"}], "initial": "/workspace/research/random_capacity_long_seasonal_initial.pt", "initial_sha256": "f7e35a6341ffc6c1ce53cfd8934256dde937171f5002f1fc34b1fd169f1a15d6", "parameters": 146575680, "seed": 307, "batch": 48, "lr": 0.0001, "steps": 96000, "primary": 48000, "final": 96000, "packed": "/workspace/research/packed_sample", "source_weights_from": "/workspace/research/packed_sample", "synthetics": "Same20percent own slowAR generator asE79/E94/E101/E131; original horizons and RNGs.", "teacher_package": "/workspace/research/distill_teacher_E96", "teacher_descriptor_sha256": "1503d92ce031ec0c0e0533ece20d0516a0eceb134802d51746e24a44c4b5ee9b", "teacher_coefficient": 0.5, "teacher_execution": "Uncompiled immutable teacher; same raw normalized sign-averaged nine-quantile target and validity mask asE101. Compile student objective only. Never use rejectedE126teacher compilation.", "controls": "New feature/no-distill arm matchesE94exceptfeatures and matchesE131exceptLR. New feature/distill arm matchesE101exceptfeatures and newfeaturecontrol exceptteacher loss. No change toexistingteacher,experts,sourceprobabilities,bounds,losscoefficients or schedules.", "start_gate": "Launch neither new training arm unless E131primary48000 source matched comparison has>=3positivecutoffs and positive mean, and all engineering audits pass. E101primary48000 already4of4positive. Preserve failed gate as negative conditional study if it occurs.", "selection": "Primary48000/final96000 four-cutoff pairwise controls and logerror2x2 interaction. No autoensemble/promotion; then-current and fullpublic/runtime guards before any publication.", "training_queued": false, "code": "/workspace/research/seasonal_distillation_factorial", "optimizer_updates": 0}. No new training allocation; replacecompletedE134/E147 allocations only afterdeclaredgates. + +2026-10-23T23:14:42.722669+00:00: E157CPU integration audit {"fixture_seed": 1031, "training_seed": 307, "parameters": 146575680, "initial_checkpoint_sha256": "f7e35a6341ffc6c1ce53cfd8934256dde937171f5002f1fc34b1fd169f1a15d6", "mature_fixture_sha256": "ee958fba015de5c80d179675b31770cae282ec3daa05d2fe5e386859109abbf3", "teacher_descriptor_sha256": "1503d92ce031ec0c0e0533ece20d0516a0eceb134802d51746e24a44c4b5ee9b", "initial_checks": [{"context": 128, "horizon": 32, "initial_predictions_and_teacher_loss_bitwise_equal": true, "loss": 8.16865062713623}, {"context": 512, "horizon": 128, "initial_predictions_and_teacher_loss_bitwise_equal": true, "loss": 8.02910041809082}], "feature_architecture_byte_identical": true, "teacher_loss_byte_identical": true, "teacher_and_sampler_byte_identical": true, "mature_disabled_teacher_loss_and_all_gradients_bitwise_equal": true, "code_hashes": {"random_capacity_long_seasonal/model.py": "3eaa4aed0a1c62b80d94be6c3084b10a594e9fce17444eac17ca3f1b0b5c549e", "random_capacity_long_seasonal_distill/model.py": "10eb630874c0860ab0daf852d6437d6e0d79c3d44e15be973c05aadf65bdd8b6", "distill_ensemble/model.py": "6a2793a6bf37f304437a19758969ed6d6bf0a85cd89dd05cc084ff1d825ad7f8", "random_capacity_long_seasonal_distill/data.py": "d84032a33937a465acfc9e1b97004ca8d9db221509bb2710e74500703ade4344", "random_capacity_long_seasonal_distill/teacher.py": "1c9b06a5d6bcbe4beb1a3fadc17154bb94d4f9995e35996aa239a6af2e624978"}, "seconds": 11.164552767993882, "optimizer_updates": 0, "validation_data_read": false, "fixture_weights_are_not_candidates": true}. Sharedtrainer changes only recognize the new code-dir metadata/teacher path, require originaluncompiledteacher and coefficient.5. Existingbranch numericalmath unchanged. No productiontrainingqueued; E13148k sourcegate remainsbinding. + +2026-10-23T23:17:58.828282+00:00: E155queued aftercompleteaudits. {"utc": "2026-10-23T23:17:23.930567+00:00", "queue_pid": 8068, "watch_pid": 8069, "comparison_pid": 8070, "wait_pid": 951, "command": ["env", "OPENBLAS_NUM_THREADS=1", "OMP_NUM_THREADS=1", "TORCHINDUCTOR_COMPILE_THREADS=2", "MAX_JOBS=2", "PYTHONPATH=/workspace/research/compiler_support", "TRITON_CACHE_MANAGER=sibling_cache:SiblingFileCacheManager", "TRITON_CACHE_DIR=/tmp/timeseries-triton-cache", "TORCHINDUCTOR_CACHE_DIR=/tmp/timeseries-inductor-cache", "python3", "/workspace/research/recovery/train.py", "--code-dir", "/workspace/research/random_capacity", "--packed", "/workspace/research/packed_sample", "--source-weights-from", "/workspace/research/packed_sample", "--out", "/workspace/research/runs/random_capacity_1536", "--initialize-from", "/workspace/research/random_capacity_1536_initial.pt", "--steps", "96000", "--batch", "48", "--lr", ".0002", "--seed", "307", "--loss-mode", "paired", "--compile-loss", "--stop-file", "/workspace/research/random_capacity_1536.stop", "--micro-batch", "16"], "initial_sha256": "0b7ea96c46696952970cfd8edf965da00a7738b3c7c321b49987dfd55b5f4cc3"}. Recoveryfixture18optimizerupdates/54microbackwards, original96kschedule, 614.6406045029871s incllockwait148.4337352050934s. Comparisons {"uninterrupted_repeat": {"model": {"bitwise_equal": false, "maximum_abs_difference": 5.033570005252841e-07}, "ema_state": {"bitwise_equal": false, "maximum_abs_difference": 2.384185791015625e-07}, "optimizer": {"bitwise_equal": false, "maximum_abs_difference": 5.628477083519101e-06}, "batch_rng_state": {"bitwise_equal": true, "maximum_abs_difference": 0.0}, "sampler_rng_state": {"bitwise_equal": true, "maximum_abs_difference": 0.0}, "sampler_rng_states": {"bitwise_equal": true, "maximum_abs_difference": 0.0}, "torch_rng_state": {"bitwise_equal": true, "maximum_abs_difference": 0.0}, "cuda_rng_state": {"bitwise_equal": true, "maximum_abs_difference": 0.0}, "prefetched_batch": {"bitwise_equal": true, "maximum_abs_difference": 0.0}, "parent_checkpoints": {"bitwise_equal": true, "maximum_abs_difference": 0.0}}, "uninterrupted_vs_restart": {"model": {"bitwise_equal": false, "maximum_abs_difference": 3.62773789674975e-07}, "ema_state": {"bitwise_equal": false, "maximum_abs_difference": 2.384185791015625e-07}, "optimizer": {"bitwise_equal": false, "maximum_abs_difference": 4.355228156782687e-06}, "batch_rng_state": {"bitwise_equal": true, "maximum_abs_difference": 0.0}, "sampler_rng_state": {"bitwise_equal": true, "maximum_abs_difference": 0.0}, "sampler_rng_states": {"bitwise_equal": true, "maximum_abs_difference": 0.0}, "torch_rng_state": {"bitwise_equal": true, "maximum_abs_difference": 0.0}, "cuda_rng_state": {"bitwise_equal": true, "maximum_abs_difference": 0.0}, "prefetched_batch": {"bitwise_equal": true, "maximum_abs_difference": 0.0}, "parent_checkpoints": {"bitwise_equal": true, "maximum_abs_difference": 0.0}}}. ExactRNG/prefetch/ancestry and6optimizersteps verified; ordinarycompiled training is notbitwise. Fixtureweights are nevercandidates orwarmstarts. Actualrun starts from ownfresh0b7ea96c...initial, notfixtures. Oneallocation replacesE101 after96k. + +2026-10-23T23:20:46.858723+00:00: E157GPU audit {"fixture_seed": 1033, "training_seed": 307, "mature_fixture_sha256": "ee958fba015de5c80d179675b31770cae282ec3daa05d2fe5e386859109abbf3", "initial_checkpoint_sha256": "f7e35a6341ffc6c1ce53cfd8934256dde937171f5002f1fc34b1fd169f1a15d6", "teacher_descriptor_sha256": "1503d92ce031ec0c0e0533ece20d0516a0eceb134802d51746e24a44c4b5ee9b", "teacher_checkpoint_hashes": ["0ae7875b49b99a44c295dc2b8243327aeacadc25b2354988abb2c37250359a49", "308389b7217c080af9eb185559d4ee3cafa0f3e0f8c4dd8f5526b68198c89988", "e50a2d43bb3b6b66a94a6a2d9d62f0cb3e404310352e0357cfe0f2a874a21727"], "eager_loss": 0.24365803599357605, "compiled_loss": 0.2434813231229782, "gradient_groups": {"all": {"dot": 0.06490652053078995, "reference_squared": 0.06468219471373299, "actual_squared": 0.06517083912169026, "maximum_abs_difference": 0.0007677078247070312, "gradient_cosine": 0.9996990932931381}, "encoder": {"dot": 0.0019717389201809477, "reference_squared": 0.00196201930051547, "actual_squared": 0.0019823370970190757, "maximum_abs_difference": 1.7459155060350895e-05, "gradient_cosine": 0.9997905264773647}, "decoder": {"dot": 0.008615532815981874, "reference_squared": 0.008588126700927234, "actual_squared": 0.00864620918070913, "maximum_abs_difference": 4.656575038097799e-05, "gradient_cosine": 0.999815925963725}, "long_query": {"dot": 0.0001254307571798563, "reference_squared": 0.00012538617011159658, "actual_squared": 0.00012549152597784996, "maximum_abs_difference": 3.337860107421875e-06, "gradient_cosine": 0.9999355877012647}, "long_head": {"dot": 0.002819229014676239, "reference_squared": 0.00282387565175668, "actual_squared": 0.0028367047152642044, "maximum_abs_difference": 0.0007677078247070312, "gradient_cosine": 0.9960944187369236}}, "compile_comparison_seconds": 48.086233142064884, "maximum_shape_memory": {"effective_batch": 48, "signed_rows": 96, "context": 4096, "horizon": 1024, "student_parameters": 146575680, "teacher_parameters": 110064120, "teacher_valid_fraction": 1.0, "loss": 0.36097490787506104, "peak_allocated_mib": 10190.123046875, "peak_reserved_mib": 10490.0, "includes_adam_and_ema_placeholders": true, "seconds": 52.964303688146174}, "student_checkpoint_and_parameters_unchanged": true, "teacher_gradients_absent": true, "teacher_execution": "unchanged uncompiled E101 raw neural teacher", "gradient_fixture": "7allowed sampler rows plus1own sin(.31t)+.2cos(.017t) row with periods4/16, to activate long-summary gradients", "seconds": 330.00580091099255, "lock_wait_seconds": 187.06012626900338, "optimizer_updates": 0, "validation_data_read": false, "fixture_weights_are_not_candidates": true}. All gradientgroups exceedpredeclared.995, includingdirectlonghead.996094419; overall.999699093. This is approximatecompiledBF16 agreement, notbitwise arithmetic. FrozenE96teacher uncompiled/gradientsabsent; studentfixtureweights unchanged.0updates/novalidation. Fulloriginalschedule recovery andE13148sourcegate remainrequired. + +2026-10-23T23:26:31.181107+00:00: E147 scheduled8000 main-cutoff diagnostic {"utc": "2026-10-23T23:26:31.181107+00:00", "experiment": "E147", "step": 8000, "skill": 0.34593969768970945, "checkpoint_sha256": "b9be3273e8dacc632a803f3487702818e920f63bf4f2f6600f15c43422698692", "eval_seconds": 37.100425481796265, "comparisons": [{"control": "random_capacity_full", "role": "matched full-corpus halfLR control", "control_skill": 0.3439503439133814, "delta": 0.001989353776328029, "group_deltas": {"term": {"long": -0.006642188632060453, "medium": 0.008135009432646112, "short": 0.0029637857204486417}, "domain": {"Econ/Fin": 0.0013923166025358036, "Energy": -0.0018916102893984377, "Healthcare": 0.10709978313498358, "Nature": -0.0006291859319813575, "Sales": -0.030558674244179018, "Transport": -0.0001834258279506118, "Web/CloudOps": -0.005457224733928068}, "frequency": {"A": -0.014470990957618168, "D": 0.0013877580140714274, "H": -0.005098478445834775, "M": 0.03456492775009812, "Q": 0.0015282364426957296, "S": 0.00029260130848340893, "T": -0.0006876954163973492, "W": 0.03906263237862362}, "variates": {"multivariate": -0.006319058367335706, "univariate": 0.008929787904842112}}}, {"control": "random_capacity_1024", "role": "originalLR small-pack reference", "control_skill": 0.3439793569353369, "delta": 0.0019603407543725693, "group_deltas": {"term": {"long": -0.00734945841184087, "medium": 0.0023909995459323596, "short": 0.005635714420584859}, "domain": {"Econ/Fin": 0.008721918842413245, "Energy": 0.011565483139401311, "Healthcare": -0.009952003119761077, "Nature": -0.006868267037157816, "Sales": 0.0010198805711605363, "Transport": 0.0030454567851597725, "Web/CloudOps": -0.0017780165378109558}, "frequency": {"A": -0.006791805453068456, "D": -0.00722058273126025, "H": -0.0016931661830195122, "M": 0.04136285182112265, "Q": -0.006750870548049237, "S": 0.002193462579652694, "T": -0.0009010613683697599, "W": 0.03718122690409731}, "variates": {"multivariate": -0.0028900005275870333, "univariate": 0.005992122158528512}}}], "decision": "Main learning diagnostic only; primary48000/final96000 matched four-cutoff comparisons and declared data-by-LR factorial remain unchanged."}. No additional inference or training. + +E149 integrated synthetic local level seed197 training started at 2026-10-23T23:27:19Z, after the declared dependency processes exited; required checkpoint files are present. Settings are unchanged from the declared comparison. + +2026-10-23T23:27:34.012248+00:00: E154 current-package validation-only error and coverage review {"utc": "2026-10-23T23:27:34.012248+00:00", "checkpoint_sha256": "85c52464a7bc064e926ff0aa48fd2d94c39af985932e9d752026486a70860742", "coverage_seconds": 1.119332212023437, "median_error_seconds": 1.1202279871795326, "mean_quantile_band_deviation": 0.07029524768052703, "term_quantile_band_deviation": {"long": 0.06346317927569751, "medium": 0.05557550644735704, "short": 0.07852412045139955}, "median_error_term": {"long": {"configs": 21, "mean_window_mean_error_fraction": 0.5610320654199408, "mean_signed_error_over_mae": -0.11947870315984051, "mean_lead_quarter_mase_ratio": [0.8677569942700665, 1.0188630225917645, 1.017607892606291, 1.0963129607575335]}, "medium": {"configs": 21, "mean_window_mean_error_fraction": 0.5549534783726434, "mean_signed_error_over_mae": -0.06214213141592323, "mean_lead_quarter_mase_ratio": [0.8383069615442073, 0.9805392569026652, 1.0861377993332528, 1.0951463264565653]}, "short": {"configs": 55, "mean_window_mean_error_fraction": 0.6810369100362575, "mean_signed_error_over_mae": -0.16840056655035673, "mean_lead_quarter_mase_ratio": [0.8601224487576834, 0.9961945544408494, 0.9690382443478089, 1.1982576386009751]}}, "skill_by_term": {"long": 0.4007879540515661, "medium": 0.40962330593743135, "short": 0.36848034717106437}, "optimizer_updates": 0, "new_inference": false, "interpretation": "The long-horizon mean-window error lower-bound fraction remains0.561; short0.681. This does not identify an available correction. Strict/inclusive quantile bands include discrete masses; globally pooled coverage is insufficient to infer per-configuration calibration. No post-hoc forecast parameters fitted or proposed from these descriptive summaries."}. Receipts horizon_patch8_routing_coverage.json and horizon_patch8_routing_median_error_structure.json. + +E146 6000 four-cutoff comparison: {"label": "E146 6000 four-cutoff comparison", "utc": "2026-10-23T23:28:10.684321+00:00", "candidate": "direct_trend_replication_ema6000", "control": "long_seasonal_replication_ema6000", "rows": [{"cutoff": "evals", "candidate_skill": 0.3808682343773354, "control_skill": 0.38139534722395463, "delta": -0.0005271128466192154, "candidate_checkpoint": "d7c2251d439b90b9a4e6c5dc215cad3d6a099e0f952e39839bc155c9170e9906", "control_checkpoint": "a35444a7dd833f0988143c8b6f304dee50256258d32528f097dfd83e78aebd29", "candidate_eval_seconds": 27.3286292552948, "candidate_groups": {"term": {"long": {"n_configs": 21, "rel_mase_gmean": 0.7386125671202107, "rel_wql_gmean": 0.47631922997546894}, "medium": {"n_configs": 21, "rel_mase_gmean": 0.7086467063123705, "rel_wql_gmean": 0.49413733167801893}, "short": {"n_configs": 55, "rel_mase_gmean": 0.752513592104476, "rel_wql_gmean": 0.5448490864187318}}, "domain": {"Econ/Fin": {"n_configs": 6, "rel_mase_gmean": 0.8770186952065601, "rel_wql_gmean": 0.8466282298154997}, "Energy": {"n_configs": 32, "rel_mase_gmean": 0.8971494016777812, "rel_wql_gmean": 0.644807997742372}, "Healthcare": {"n_configs": 5, "rel_mase_gmean": 0.5964328906565538, "rel_wql_gmean": 0.5227406547871717}, "Nature": {"n_configs": 15, "rel_mase_gmean": 0.803842915860278, "rel_wql_gmean": 0.39903618506894767}, "Sales": {"n_configs": 4, "rel_mase_gmean": 0.8456296995620552, "rel_wql_gmean": 0.5195433719585295}, "Transport": {"n_configs": 15, "rel_mase_gmean": 0.6354428340328405, "rel_wql_gmean": 0.4359482785052663}, "Web/CloudOps": {"n_configs": 20, "rel_mase_gmean": 0.5587335619853492, "rel_wql_gmean": 0.4351759034504574}}, "frequency": {"A": {"n_configs": 1, "rel_mase_gmean": 0.6169171479360096, "rel_wql_gmean": 0.6476056543911035}, "D": {"n_configs": 15, "rel_mase_gmean": 0.7664726628800002, "rel_wql_gmean": 0.5287921724758533}, "H": {"n_configs": 31, "rel_mase_gmean": 0.7251871735843237, "rel_wql_gmean": 0.49584211813027385}, "M": {"n_configs": 5, "rel_mase_gmean": 0.9670011620977018, "rel_wql_gmean": 0.8156513943543715}, "Q": {"n_configs": 1, "rel_mase_gmean": 0.7727884180427886, "rel_wql_gmean": 0.8228033491056561}, "S": {"n_configs": 6, "rel_mase_gmean": 0.6562792622470331, "rel_wql_gmean": 0.503737395610302}, "T": {"n_configs": 30, "rel_mase_gmean": 0.6918460281740689, "rel_wql_gmean": 0.45452976355743774}, "W": {"n_configs": 8, "rel_mase_gmean": 0.9053216616426392, "rel_wql_gmean": 0.6824777975182666}}, "variates": {"multivariate": {"n_configs": 43, "rel_mase_gmean": 0.7079404758478569, "rel_wql_gmean": 0.5116722206432736}, "univariate": {"n_configs": 54, "rel_mase_gmean": 0.7661911466625924, "rel_wql_gmean": 0.5233594723249819}}}, "control_groups": {"term": {"long": {"n_configs": 21, "rel_mase_gmean": 0.7384436160182325, "rel_wql_gmean": 0.47633347487090744}, "medium": {"n_configs": 21, "rel_mase_gmean": 0.7083770552963923, "rel_wql_gmean": 0.4942262244660524}, "short": {"n_configs": 55, "rel_mase_gmean": 0.751548854583905, "rel_wql_gmean": 0.543994941613593}}, "domain": {"Econ/Fin": {"n_configs": 6, "rel_mase_gmean": 0.8746099669867802, "rel_wql_gmean": 0.8444329440894982}, "Energy": {"n_configs": 32, "rel_mase_gmean": 0.8974004296196013, "rel_wql_gmean": 0.6447860628281569}, "Healthcare": {"n_configs": 5, "rel_mase_gmean": 0.5916091617456333, "rel_wql_gmean": 0.5181079300960174}, "Nature": {"n_configs": 15, "rel_mase_gmean": 0.8010054886688159, "rel_wql_gmean": 0.39794714882168664}, "Sales": {"n_configs": 4, "rel_mase_gmean": 0.8452719229795517, "rel_wql_gmean": 0.5198290418551154}, "Transport": {"n_configs": 15, "rel_mase_gmean": 0.6348508365518176, "rel_wql_gmean": 0.43540848427535833}, "Web/CloudOps": {"n_configs": 20, "rel_mase_gmean": 0.559670606308481, "rel_wql_gmean": 0.4359745561616292}}, "frequency": {"A": {"n_configs": 1, "rel_mase_gmean": 0.6166679480695255, "rel_wql_gmean": 0.6474656804701975}, "D": {"n_configs": 15, "rel_mase_gmean": 0.7642165704351264, "rel_wql_gmean": 0.526273641696534}, "H": {"n_configs": 31, "rel_mase_gmean": 0.7252102222235688, "rel_wql_gmean": 0.49585443092368514}, "M": {"n_configs": 5, "rel_mase_gmean": 0.9617184700594594, "rel_wql_gmean": 0.8119569708130686}, "Q": {"n_configs": 1, "rel_mase_gmean": 0.7728364193780128, "rel_wql_gmean": 0.8232647673811775}, "S": {"n_configs": 6, "rel_mase_gmean": 0.6562575033932274, "rel_wql_gmean": 0.5039290527300556}, "T": {"n_configs": 30, "rel_mase_gmean": 0.6916904149917935, "rel_wql_gmean": 0.45467693411097854}, "W": {"n_configs": 8, "rel_mase_gmean": 0.9047060491506385, "rel_wql_gmean": 0.6824196495981721}}, "variates": {"multivariate": {"n_configs": 43, "rel_mase_gmean": 0.7081151587667208, "rel_wql_gmean": 0.511629619486321}, "univariate": {"n_configs": 54, "rel_mase_gmean": 0.7648591098010137, "rel_wql_gmean": 0.5226011134261795}}}, "group_skill_delta": {"term": {"long": -5.8973474885148924e-05, "medium": -5.938189695309237e-05, "short": -0.0009123602998397651}, "domain": {"Econ/Fin": -0.0023004854663416507, "Energy": 9.346209899485647e-05, "Healthcare": -0.004732250304604668, "Nature": -0.0017724641926988305, "Sales": 4.1931323431443346e-05, "Transport": -0.0005710281510054038, "Web/CloudOps": 0.0008659623458788235}, "frequency": {"A": -0.00019597279432426173, "D": -0.0024533078648816264, "H": 1.6974578464501455e-05, "M": -0.004437252881036247, "Q": 0.00024832764546767194, "S": 9.983597099960662e-05, "T": 2.769833546401035e-05, "W": -0.0003007721800224461}, "variates": {"multivariate": 4.919052142593472e-05, "univariate": -0.0010092457889617767}}}, {"cutoff": "backcast_evals", "candidate_skill": 0.3415181715483889, "control_skill": 0.34148204276995875, "delta": 3.612877843017781e-05, "candidate_checkpoint": "d7c2251d439b90b9a4e6c5dc215cad3d6a099e0f952e39839bc155c9170e9906", "control_checkpoint": "a35444a7dd833f0988143c8b6f304dee50256258d32528f097dfd83e78aebd29", "candidate_eval_seconds": 44.20826745033264, "candidate_groups": {"term": {"long": {"n_configs": 21, "rel_mase_gmean": 0.77262532612991, "rel_wql_gmean": 0.4628258016607385}, "medium": {"n_configs": 21, "rel_mase_gmean": 0.7674481442813068, "rel_wql_gmean": 0.5311245809527891}, "short": {"n_configs": 55, "rel_mase_gmean": 0.809629331232472, "rel_wql_gmean": 0.5902130023623348}}, "domain": {"Econ/Fin": {"n_configs": 6, "rel_mase_gmean": 0.8702726851254514, "rel_wql_gmean": 0.8095719516249517}, "Energy": {"n_configs": 32, "rel_mase_gmean": 0.885449480733927, "rel_wql_gmean": 0.6643816800331729}, "Healthcare": {"n_configs": 5, "rel_mase_gmean": 0.6569700243126253, "rel_wql_gmean": 0.5630775685817617}, "Nature": {"n_configs": 15, "rel_mase_gmean": 0.9078558571462824, "rel_wql_gmean": 0.4249168760656268}, "Sales": {"n_configs": 4, "rel_mase_gmean": 0.7210671867206493, "rel_wql_gmean": 0.48924849837256706}, "Transport": {"n_configs": 15, "rel_mase_gmean": 0.7295969177729109, "rel_wql_gmean": 0.5227908840266928}, "Web/CloudOps": {"n_configs": 20, "rel_mase_gmean": 0.6611361464632911, "rel_wql_gmean": 0.45347355614585977}}, "frequency": {"A": {"n_configs": 1, "rel_mase_gmean": 0.6359591517760496, "rel_wql_gmean": 0.7187426870229667}, "D": {"n_configs": 15, "rel_mase_gmean": 0.8197976970932818, "rel_wql_gmean": 0.4883538136838974}, "H": {"n_configs": 31, "rel_mase_gmean": 0.7683689915735857, "rel_wql_gmean": 0.5091415356552957}, "M": {"n_configs": 5, "rel_mase_gmean": 0.856581340809963, "rel_wql_gmean": 0.7852242720852983}, "Q": {"n_configs": 1, "rel_mase_gmean": 0.7640317113056513, "rel_wql_gmean": 0.7751087665695581}, "S": {"n_configs": 6, "rel_mase_gmean": 0.8535061646306039, "rel_wql_gmean": 0.5061000404699358}, "T": {"n_configs": 30, "rel_mase_gmean": 0.7676824348456277, "rel_wql_gmean": 0.5744115781861111}, "W": {"n_configs": 8, "rel_mase_gmean": 0.8754330577660435, "rel_wql_gmean": 0.5858588830567131}}, "variates": {"multivariate": {"n_configs": 43, "rel_mase_gmean": 0.7869867259710833, "rel_wql_gmean": 0.5272719864964212}, "univariate": {"n_configs": 54, "rel_mase_gmean": 0.7964487099573994, "rel_wql_gmean": 0.5638031216213861}}}, "control_groups": {"term": {"long": {"n_configs": 21, "rel_mase_gmean": 0.7723731416377819, "rel_wql_gmean": 0.4632107172403023}, "medium": {"n_configs": 21, "rel_mase_gmean": 0.7671954794368977, "rel_wql_gmean": 0.5312350959721146}, "short": {"n_configs": 55, "rel_mase_gmean": 0.8100582121563055, "rel_wql_gmean": 0.5899282692731751}}, "domain": {"Econ/Fin": {"n_configs": 6, "rel_mase_gmean": 0.8687261450618122, "rel_wql_gmean": 0.8082961609981344}, "Energy": {"n_configs": 32, "rel_mase_gmean": 0.8862173381254191, "rel_wql_gmean": 0.6651047976556796}, "Healthcare": {"n_configs": 5, "rel_mase_gmean": 0.6594478212047317, "rel_wql_gmean": 0.5645231469319925}, "Nature": {"n_configs": 15, "rel_mase_gmean": 0.9089209431299469, "rel_wql_gmean": 0.42467952077275695}, "Sales": {"n_configs": 4, "rel_mase_gmean": 0.7202692807552361, "rel_wql_gmean": 0.48857346078291813}, "Transport": {"n_configs": 15, "rel_mase_gmean": 0.7288704777178566, "rel_wql_gmean": 0.5222328100597717}, "Web/CloudOps": {"n_configs": 20, "rel_mase_gmean": 0.660516684610902, "rel_wql_gmean": 0.45317990809147163}}, "frequency": {"A": {"n_configs": 1, "rel_mase_gmean": 0.6362857693297146, "rel_wql_gmean": 0.718919629290515}, "D": {"n_configs": 15, "rel_mase_gmean": 0.8204727582247486, "rel_wql_gmean": 0.4872381268444442}, "H": {"n_configs": 31, "rel_mase_gmean": 0.7682037082264834, "rel_wql_gmean": 0.509028795109172}, "M": {"n_configs": 5, "rel_mase_gmean": 0.8593317016465691, "rel_wql_gmean": 0.7884922974968397}, "Q": {"n_configs": 1, "rel_mase_gmean": 0.7645940654788865, "rel_wql_gmean": 0.7749566350269932}, "S": {"n_configs": 6, "rel_mase_gmean": 0.8543887576787607, "rel_wql_gmean": 0.5062235051582774}, "T": {"n_configs": 30, "rel_mase_gmean": 0.7674906725326316, "rel_wql_gmean": 0.5744892709241222}, "W": {"n_configs": 8, "rel_mase_gmean": 0.8747433682691604, "rel_wql_gmean": 0.5866006957943835}}, "variates": {"multivariate": {"n_configs": 43, "rel_mase_gmean": 0.7868501358031069, "rel_wql_gmean": 0.5272439568809584}, "univariate": {"n_configs": 54, "rel_mase_gmean": 0.7967853619832356, "rel_wql_gmean": 0.5637777828583188}}}, "group_skill_delta": {"term": {"long": 0.00015097113011441898, "medium": -3.86967329454313e-05, "short": 1.6260265062961743e-05}, "domain": {"Econ/Fin": -0.0014071968694157055, "Energy": 0.0007499606416216942, "Healthcare": 0.0019275758319794445, "Nature": 0.00019062958187665568, "Sales": -0.0007383810309566918, "Transport": -0.000637102508632581, "Web/CloudOps": -0.0004338049169106961}, "frequency": {"A": 0.00025682705662621874, "D": -0.0004630200742613555, "H": -0.00013652122978979886, "M": 0.003023207100389169, "Q": 0.0002076041500772563, "S": 0.0004199333685026563, "T": -3.8041789455878217e-05, "W": 0.00017091642536559704}, "variates": {"multivariate": -7.302458027058645e-05, "univariate": 0.0001265473148519547}}}, {"cutoff": "backcast2_evals", "candidate_skill": 0.3628492439715897, "control_skill": 0.36289765736601953, "delta": -4.8413394429847045e-05, "candidate_checkpoint": "d7c2251d439b90b9a4e6c5dc215cad3d6a099e0f952e39839bc155c9170e9906", "control_checkpoint": "a35444a7dd833f0988143c8b6f304dee50256258d32528f097dfd83e78aebd29", "candidate_eval_seconds": 25.499776601791382, "candidate_groups": {"term": {"long": {"n_configs": 19, "rel_mase_gmean": 0.7992159052117641, "rel_wql_gmean": 0.5039661766353987}, "medium": {"n_configs": 21, "rel_mase_gmean": 0.7526247303436117, "rel_wql_gmean": 0.4884663561316087}, "short": {"n_configs": 54, "rel_mase_gmean": 0.7611329595974182, "rel_wql_gmean": 0.5558745083468247}}, "domain": {"Econ/Fin": {"n_configs": 6, "rel_mase_gmean": 0.8862391292599828, "rel_wql_gmean": 0.9067176580497754}, "Energy": {"n_configs": 32, "rel_mase_gmean": 0.8953200797858709, "rel_wql_gmean": 0.6473666325703207}, "Healthcare": {"n_configs": 5, "rel_mase_gmean": 0.68284917401119, "rel_wql_gmean": 0.5842919034444887}, "Nature": {"n_configs": 15, "rel_mase_gmean": 0.7658238438946903, "rel_wql_gmean": 0.357702297840726}, "Sales": {"n_configs": 3, "rel_mase_gmean": 0.5584768159103296, "rel_wql_gmean": 0.36230696745359303}, "Transport": {"n_configs": 14, "rel_mase_gmean": 0.6603878561555399, "rel_wql_gmean": 0.4942759668450458}, "Web/CloudOps": {"n_configs": 19, "rel_mase_gmean": 0.6832707127454126, "rel_wql_gmean": 0.4722620832544813}}, "frequency": {"A": {"n_configs": 1, "rel_mase_gmean": 0.5869426682440244, "rel_wql_gmean": 0.7285607474590826}, "D": {"n_configs": 15, "rel_mase_gmean": 0.7206619721299201, "rel_wql_gmean": 0.44458609070700245}, "H": {"n_configs": 30, "rel_mase_gmean": 0.7521998430144047, "rel_wql_gmean": 0.4860028771409519}, "M": {"n_configs": 4, "rel_mase_gmean": 0.7924287979710232, "rel_wql_gmean": 0.8253955619214717}, "Q": {"n_configs": 1, "rel_mase_gmean": 0.8274601836745059, "rel_wql_gmean": 0.8711856677506854}, "S": {"n_configs": 6, "rel_mase_gmean": 0.9135043873063258, "rel_wql_gmean": 0.5705882473556633}, "T": {"n_configs": 29, "rel_mase_gmean": 0.7561425944774113, "rel_wql_gmean": 0.5399936164802037}, "W": {"n_configs": 8, "rel_mase_gmean": 0.8599309726538384, "rel_wql_gmean": 0.6447190042727193}}, "variates": {"multivariate": {"n_configs": 42, "rel_mase_gmean": 0.7812736817609798, "rel_wql_gmean": 0.5147580971258208}, "univariate": {"n_configs": 52, "rel_mase_gmean": 0.7552226653156006, "rel_wql_gmean": 0.5416305832234259}}}, "control_groups": {"term": {"long": {"n_configs": 19, "rel_mase_gmean": 0.7999866836284341, "rel_wql_gmean": 0.5044200017652598}, "medium": {"n_configs": 21, "rel_mase_gmean": 0.7520950988995759, "rel_wql_gmean": 0.4892760629450976}, "short": {"n_configs": 54, "rel_mase_gmean": 0.7606253653722089, "rel_wql_gmean": 0.5555279454828711}}, "domain": {"Econ/Fin": {"n_configs": 6, "rel_mase_gmean": 0.8847569248764997, "rel_wql_gmean": 0.9060830962565252}, "Energy": {"n_configs": 32, "rel_mase_gmean": 0.8956024100790815, "rel_wql_gmean": 0.6478655810625242}, "Healthcare": {"n_configs": 5, "rel_mase_gmean": 0.6848951113243488, "rel_wql_gmean": 0.5869340140781533}, "Nature": {"n_configs": 15, "rel_mase_gmean": 0.7651445328371117, "rel_wql_gmean": 0.35779612742646116}, "Sales": {"n_configs": 3, "rel_mase_gmean": 0.5582720391157578, "rel_wql_gmean": 0.3624482499639085}, "Transport": {"n_configs": 14, "rel_mase_gmean": 0.6601423012893489, "rel_wql_gmean": 0.4941046094070358}, "Web/CloudOps": {"n_configs": 19, "rel_mase_gmean": 0.6822688880912414, "rel_wql_gmean": 0.4716397362737}}, "frequency": {"A": {"n_configs": 1, "rel_mase_gmean": 0.5866730147839814, "rel_wql_gmean": 0.7282696655733021}, "D": {"n_configs": 15, "rel_mase_gmean": 0.721606653160396, "rel_wql_gmean": 0.4455719223490989}, "H": {"n_configs": 30, "rel_mase_gmean": 0.7519224499351271, "rel_wql_gmean": 0.4855739028067261}, "M": {"n_configs": 4, "rel_mase_gmean": 0.7958937219145119, "rel_wql_gmean": 0.8278786577082036}, "Q": {"n_configs": 1, "rel_mase_gmean": 0.8278284107651726, "rel_wql_gmean": 0.8711003564900259}, "S": {"n_configs": 6, "rel_mase_gmean": 0.9117298850572676, "rel_wql_gmean": 0.5695589028063504}, "T": {"n_configs": 29, "rel_mase_gmean": 0.7565476756893262, "rel_wql_gmean": 0.5408653745166001}, "W": {"n_configs": 8, "rel_mase_gmean": 0.8532517838495485, "rel_wql_gmean": 0.6418251083691219}}, "variates": {"multivariate": {"n_configs": 42, "rel_mase_gmean": 0.7815086652482058, "rel_wql_gmean": 0.5151119296416654}, "univariate": {"n_configs": 52, "rel_mase_gmean": 0.7545676092741181, "rel_wql_gmean": 0.5415196313785547}}}, "group_skill_delta": {"term": {"long": 0.0005917850385822598, "medium": 0.00028877673642357937, "short": -0.0004196582121060999}, "domain": {"Econ/Fin": -0.0010633993120491292, "Energy": 0.00041340304683423756, "Healthcare": 0.0023742188165895017, "Nature": -0.0001635727971266432, "Sales": 5.204265427660726e-06, "Transport": -0.00020525420756101198, "Web/CloudOps": -0.0007907351398763751}, "frequency": {"A": -0.0002808466825092726, "D": 0.0009985040941752343, "H": -0.00037834399457759016, "M": 0.002984445612965514, "Q": 0.00014731281112767558, "S": -0.0013524345092811307, "T": 0.0006868587611414956, "W": -0.004563754734697167}, "variates": {"multivariate": 0.0003133126410221898, "univariate": -0.0003429144750201063}}}, {"cutoff": "backcast3_evals", "candidate_skill": 0.39411492974079165, "control_skill": 0.3942150741055669, "delta": -0.00010014436477523425, "candidate_checkpoint": "d7c2251d439b90b9a4e6c5dc215cad3d6a099e0f952e39839bc155c9170e9906", "control_checkpoint": "a35444a7dd833f0988143c8b6f304dee50256258d32528f097dfd83e78aebd29", "candidate_eval_seconds": 25.56475305557251, "candidate_groups": {"term": {"long": {"n_configs": 19, "rel_mase_gmean": 0.7631911226433328, "rel_wql_gmean": 0.47782642764662114}, "medium": {"n_configs": 20, "rel_mase_gmean": 0.7664300367073967, "rel_wql_gmean": 0.5312198723555294}, "short": {"n_configs": 54, "rel_mase_gmean": 0.7071353464524847, "rel_wql_gmean": 0.5007673988919057}}, "domain": {"Econ/Fin": {"n_configs": 6, "rel_mase_gmean": 0.8389337622286052, "rel_wql_gmean": 0.8390662939194152}, "Energy": {"n_configs": 32, "rel_mase_gmean": 0.828335032832878, "rel_wql_gmean": 0.5529283240035008}, "Healthcare": {"n_configs": 5, "rel_mase_gmean": 0.7654517643315247, "rel_wql_gmean": 0.6378875956624858}, "Nature": {"n_configs": 15, "rel_mase_gmean": 0.7133074885828972, "rel_wql_gmean": 0.33677162969110364}, "Sales": {"n_configs": 3, "rel_mase_gmean": 0.7494755609514114, "rel_wql_gmean": 0.477038751714536}, "Transport": {"n_configs": 14, "rel_mase_gmean": 0.5375700772247229, "rel_wql_gmean": 0.44439541498510154}, "Web/CloudOps": {"n_configs": 18, "rel_mase_gmean": 0.7114462049131911, "rel_wql_gmean": 0.517183064931294}}, "frequency": {"A": {"n_configs": 1, "rel_mase_gmean": 0.5295566919627924, "rel_wql_gmean": 0.8115924040618037}, "D": {"n_configs": 15, "rel_mase_gmean": 0.7162847223238298, "rel_wql_gmean": 0.4161614859259048}, "H": {"n_configs": 29, "rel_mase_gmean": 0.7191973236406811, "rel_wql_gmean": 0.4846974117660919}, "M": {"n_configs": 4, "rel_mase_gmean": 0.8491040222086392, "rel_wql_gmean": 0.8384642562430867}, "Q": {"n_configs": 1, "rel_mase_gmean": 0.7171095802447431, "rel_wql_gmean": 0.772911905297959}, "S": {"n_configs": 6, "rel_mase_gmean": 0.8444184557384934, "rel_wql_gmean": 0.6057561565112266}, "T": {"n_configs": 29, "rel_mase_gmean": 0.7028784597539564, "rel_wql_gmean": 0.46129309958279785}, "W": {"n_configs": 8, "rel_mase_gmean": 0.8043422163646158, "rel_wql_gmean": 0.6652468079940894}}, "variates": {"multivariate": {"n_configs": 41, "rel_mase_gmean": 0.7567221883154798, "rel_wql_gmean": 0.5114214659161063}, "univariate": {"n_configs": 52, "rel_mase_gmean": 0.7109687148293462, "rel_wql_gmean": 0.4952753460286139}}}, "control_groups": {"term": {"long": {"n_configs": 19, "rel_mase_gmean": 0.7629635636061852, "rel_wql_gmean": 0.47738458152400776}, "medium": {"n_configs": 20, "rel_mase_gmean": 0.766392308286767, "rel_wql_gmean": 0.5313314815939195}, "short": {"n_configs": 54, "rel_mase_gmean": 0.7071218260479499, "rel_wql_gmean": 0.5006775766138106}}, "domain": {"Econ/Fin": {"n_configs": 6, "rel_mase_gmean": 0.8381102666984516, "rel_wql_gmean": 0.8394034451197796}, "Energy": {"n_configs": 32, "rel_mase_gmean": 0.8289543246911923, "rel_wql_gmean": 0.5533980426446239}, "Healthcare": {"n_configs": 5, "rel_mase_gmean": 0.7646070931321529, "rel_wql_gmean": 0.6340273684119219}, "Nature": {"n_configs": 15, "rel_mase_gmean": 0.7124818665930959, "rel_wql_gmean": 0.3362710472055882}, "Sales": {"n_configs": 3, "rel_mase_gmean": 0.749228232992685, "rel_wql_gmean": 0.4762895479100841}, "Transport": {"n_configs": 14, "rel_mase_gmean": 0.5376228806838672, "rel_wql_gmean": 0.4444847778365197}, "Web/CloudOps": {"n_configs": 18, "rel_mase_gmean": 0.7113197969938141, "rel_wql_gmean": 0.5172381497265214}}, "frequency": {"A": {"n_configs": 1, "rel_mase_gmean": 0.5285683023786453, "rel_wql_gmean": 0.8081021206308033}, "D": {"n_configs": 15, "rel_mase_gmean": 0.7180947935486091, "rel_wql_gmean": 0.4166198174883141}, "H": {"n_configs": 29, "rel_mase_gmean": 0.7187802155486654, "rel_wql_gmean": 0.48447543037731317}, "M": {"n_configs": 4, "rel_mase_gmean": 0.8446392308099292, "rel_wql_gmean": 0.8352147404850153}, "Q": {"n_configs": 1, "rel_mase_gmean": 0.7170557043368275, "rel_wql_gmean": 0.7716033464240198}, "S": {"n_configs": 6, "rel_mase_gmean": 0.8418253577208561, "rel_wql_gmean": 0.6034466207614427}, "T": {"n_configs": 29, "rel_mase_gmean": 0.7040554267349227, "rel_wql_gmean": 0.4621152504325736}, "W": {"n_configs": 8, "rel_mase_gmean": 0.8007557024739949, "rel_wql_gmean": 0.6624691609661729}}, "variates": {"multivariate": {"n_configs": 41, "rel_mase_gmean": 0.7573616152833316, "rel_wql_gmean": 0.5115793885293797}, "univariate": {"n_configs": 52, "rel_mase_gmean": 0.7103904231097383, "rel_wql_gmean": 0.49493523556054253}}}, "group_skill_delta": {"term": {"long": -0.00036926330429987164, "medium": 5.131958401349834e-05, "short": -5.905957143770291e-05}, "domain": {"Econ/Fin": -0.00024341877258371447, "Energy": 0.0005404446133608909, "Healthcare": -0.002502002569170214, "Nature": -0.000647919255981122, "Sales": -0.0005683144092553105, "Transport": 7.314702490029967e-05, "Web/CloudOps": -2.1590959742634475e-05}, "frequency": {"A": -0.0020219606412656965, "D": 0.0009903604203436167, "H": -0.0003064109696960804, "M": -0.003853601701870324, "Q": -0.0006584285652154742, "S": -0.00246159683278957, "T": 0.0009841668404525494, "W": -0.003157985696112142}, "variates": {"multivariate": 0.0003588611012619314, "univariate": -0.0004450806035716237}}}], "mean_delta": -0.00015988545684852973, "positive_cutoffs": 1, "outcome": "Declared comparison checkpoints 6000,12000. No transfer formula or automatic publication is selected by this controller."} + +2026-10-23T23:28:15.487802+00:00: E157 complete recovery engineering audit {"utc": "2026-10-23T23:27:18.943014+00:00", "initial_checkpoint_sha256": "f7e35a6341ffc6c1ce53cfd8934256dde937171f5002f1fc34b1fd169f1a15d6", "original_schedule_steps": 96000, "batch": 48, "micro_batch": null, "optimizer_updates": 18, "backward_passes": 18, "lock_wait_seconds": 42.7547670789063, "seconds": 421.2890620159451, "fixture_weights_are_not_research_candidates": true, "comparisons": {"uninterrupted_repeat": {"model": {"bitwise_equal": false, "maximum_abs_difference": 2.384185791015625e-07}, "ema_state": {"bitwise_equal": false, "maximum_abs_difference": 1.1920928955078125e-07}, "optimizer": {"bitwise_equal": false, "maximum_abs_difference": 6.910879164934158e-06}, "batch_rng_state": {"bitwise_equal": true, "maximum_abs_difference": 0.0}, "sampler_rng_state": {"bitwise_equal": true, "maximum_abs_difference": 0.0}, "sampler_rng_states": {"bitwise_equal": true, "maximum_abs_difference": 0.0}, "torch_rng_state": {"bitwise_equal": true, "maximum_abs_difference": 0.0}, "cuda_rng_state": {"bitwise_equal": true, "maximum_abs_difference": 0.0}, "prefetched_batch": {"bitwise_equal": true, "maximum_abs_difference": 0.0}, "parent_checkpoints": {"bitwise_equal": true, "maximum_abs_difference": 0.0}}, "uninterrupted_vs_restart": {"model": {"bitwise_equal": false, "maximum_abs_difference": 2.384185791015625e-07}, "ema_state": {"bitwise_equal": false, "maximum_abs_difference": 2.384185791015625e-07}, "optimizer": {"bitwise_equal": false, "maximum_abs_difference": 6.653601303696632e-06}, "batch_rng_state": {"bitwise_equal": true, "maximum_abs_difference": 0.0}, "sampler_rng_state": {"bitwise_equal": true, "maximum_abs_difference": 0.0}, "sampler_rng_states": {"bitwise_equal": true, "maximum_abs_difference": 0.0}, "torch_rng_state": {"bitwise_equal": true, "maximum_abs_difference": 0.0}, "cuda_rng_state": {"bitwise_equal": true, "maximum_abs_difference": 0.0}, "prefetched_batch": {"bitwise_equal": true, "maximum_abs_difference": 0.0}, "parent_checkpoints": {"bitwise_equal": true, "maximum_abs_difference": 0.0}}}}. All fixture updates use only permitted training data and own initial/teacher; never candidate weights. Compiled model/EMA/optimizer states are numerically close, not bitwise; ordinary uninterrupted repeats also differ. Source48000 gate still required. E146 training completed {"process_seconds": 2489.290276436135, "loop_seconds": 2478.459637081949, "scope": "Entire fresh12000step run on sharedH100 in recovery4", "completed_utc": "2026-10-23T23:27:18Z"}; E149 replacement trainer started 2026-10-23T23:27:19Z,PID8764. + +2026-10-23T23:28:28.574432+00:00: E146 primary6000 replication review {"utc": "2026-10-23T23:28:28.574432+00:00", "experiment": "E146", "step": 6000, "positive_cutoffs": 1, "mean_delta": -0.00015988545684852973, "candidate_sha256": "d7c2251d439b90b9a4e6c5dc215cad3d6a099e0f952e39839bc155c9170e9906", "group_deltas": [{"cutoff": "evals", "skill": 0.3808682343773354, "delta": -0.0005271128466192154, "group_skill_delta": {"term": {"long": -5.8973474885148924e-05, "medium": -5.938189695309237e-05, "short": -0.0009123602998397651}, "domain": {"Econ/Fin": -0.0023004854663416507, "Energy": 9.346209899485647e-05, "Healthcare": -0.004732250304604668, "Nature": -0.0017724641926988305, "Sales": 4.1931323431443346e-05, "Transport": -0.0005710281510054038, "Web/CloudOps": 0.0008659623458788235}, "frequency": {"A": -0.00019597279432426173, "D": -0.0024533078648816264, "H": 1.6974578464501455e-05, "M": -0.004437252881036247, "Q": 0.00024832764546767194, "S": 9.983597099960662e-05, "T": 2.769833546401035e-05, "W": -0.0003007721800224461}, "variates": {"multivariate": 4.919052142593472e-05, "univariate": -0.0010092457889617767}}}, {"cutoff": "backcast_evals", "skill": 0.3415181715483889, "delta": 3.612877843017781e-05, "group_skill_delta": {"term": {"long": 0.00015097113011441898, "medium": -3.86967329454313e-05, "short": 1.6260265062961743e-05}, "domain": {"Econ/Fin": -0.0014071968694157055, "Energy": 0.0007499606416216942, "Healthcare": 0.0019275758319794445, "Nature": 0.00019062958187665568, "Sales": -0.0007383810309566918, "Transport": -0.000637102508632581, "Web/CloudOps": -0.0004338049169106961}, "frequency": {"A": 0.00025682705662621874, "D": -0.0004630200742613555, "H": -0.00013652122978979886, "M": 0.003023207100389169, "Q": 0.0002076041500772563, "S": 0.0004199333685026563, "T": -3.8041789455878217e-05, "W": 0.00017091642536559704}, "variates": {"multivariate": -7.302458027058645e-05, "univariate": 0.0001265473148519547}}}, {"cutoff": "backcast2_evals", "skill": 0.3628492439715897, "delta": -4.8413394429847045e-05, "group_skill_delta": {"term": {"long": 0.0005917850385822598, "medium": 0.00028877673642357937, "short": -0.0004196582121060999}, "domain": {"Econ/Fin": -0.0010633993120491292, "Energy": 0.00041340304683423756, "Healthcare": 0.0023742188165895017, "Nature": -0.0001635727971266432, "Sales": 5.204265427660726e-06, "Transport": -0.00020525420756101198, "Web/CloudOps": -0.0007907351398763751}, "frequency": {"A": -0.0002808466825092726, "D": 0.0009985040941752343, "H": -0.00037834399457759016, "M": 0.002984445612965514, "Q": 0.00014731281112767558, "S": -0.0013524345092811307, "T": 0.0006868587611414956, "W": -0.004563754734697167}, "variates": {"multivariate": 0.0003133126410221898, "univariate": -0.0003429144750201063}}}, {"cutoff": "backcast3_evals", "skill": 0.39411492974079165, "delta": -0.00010014436477523425, "group_skill_delta": {"term": {"long": -0.00036926330429987164, "medium": 5.131958401349834e-05, "short": -5.905957143770291e-05}, "domain": {"Econ/Fin": -0.00024341877258371447, "Energy": 0.0005404446133608909, "Healthcare": -0.002502002569170214, "Nature": -0.000647919255981122, "Sales": -0.0005683144092553105, "Transport": 7.314702490029967e-05, "Web/CloudOps": -2.1590959742634475e-05}, "frequency": {"A": -0.0020219606412656965, "D": 0.0009903604203436167, "H": -0.0003064109696960804, "M": -0.003853601701870324, "Q": -0.0006584285652154742, "S": -0.00246159683278957, "T": 0.0009841668404525494, "W": -0.003157985696112142}, "variates": {"multivariate": 0.0003588611012619314, "univariate": -0.0004450806035716237}}}], "outcome": "Primary direct-trend gain does not replicate at seed523. No transfer or ensemble selected. Training has completed original12000; final four-cutoff comparison pending."} + +E146 12000 four-cutoff comparison: {"label": "E146 12000 four-cutoff comparison", "utc": "2026-10-23T23:29:39.487861+00:00", "candidate": "direct_trend_replication_ema12000", "control": "long_seasonal_replication_ema12000", "rows": [{"cutoff": "evals", "candidate_skill": 0.38124452611158177, "control_skill": 0.38143987517227207, "delta": -0.00019534906069029745, "candidate_checkpoint": "201ab42d47e270abc0a9ec7142f7c4f94ab711e97405402dfd4bbe784ca44706", "control_checkpoint": "db021fe2a29e80abf906556b2e3627f61128cedc984c852d63ca9bc7d8af4c42", "candidate_eval_seconds": 26.72087025642395, "candidate_groups": {"term": {"long": {"n_configs": 21, "rel_mase_gmean": 0.7387551763356096, "rel_wql_gmean": 0.4773870432244695}, "medium": {"n_configs": 21, "rel_mase_gmean": 0.7089393501337445, "rel_wql_gmean": 0.49389407660268764}, "short": {"n_configs": 55, "rel_mase_gmean": 0.7517439825282878, "rel_wql_gmean": 0.5437498506783333}}, "domain": {"Econ/Fin": {"n_configs": 6, "rel_mase_gmean": 0.8763334732043175, "rel_wql_gmean": 0.8469779745039112}, "Energy": {"n_configs": 32, "rel_mase_gmean": 0.8971951584001834, "rel_wql_gmean": 0.6457890451184336}, "Healthcare": {"n_configs": 5, "rel_mase_gmean": 0.5976121483219887, "rel_wql_gmean": 0.5283004602555758}, "Nature": {"n_configs": 15, "rel_mase_gmean": 0.8003473837203594, "rel_wql_gmean": 0.39647552619229176}, "Sales": {"n_configs": 4, "rel_mase_gmean": 0.8571772360179708, "rel_wql_gmean": 0.5218890661733957}, "Transport": {"n_configs": 15, "rel_mase_gmean": 0.6325994830877802, "rel_wql_gmean": 0.4328352507231191}, "Web/CloudOps": {"n_configs": 20, "rel_mase_gmean": 0.5595167543048535, "rel_wql_gmean": 0.43534190847369525}}, "frequency": {"A": {"n_configs": 1, "rel_mase_gmean": 0.6151249377786973, "rel_wql_gmean": 0.6420434383216035}, "D": {"n_configs": 15, "rel_mase_gmean": 0.7590547218361269, "rel_wql_gmean": 0.5209400706501842}, "H": {"n_configs": 31, "rel_mase_gmean": 0.7245448234342211, "rel_wql_gmean": 0.4950069476304552}, "M": {"n_configs": 5, "rel_mase_gmean": 0.9888251612815393, "rel_wql_gmean": 0.8495408156890121}, "Q": {"n_configs": 1, "rel_mase_gmean": 0.7748469000943511, "rel_wql_gmean": 0.8212143615648831}, "S": {"n_configs": 6, "rel_mase_gmean": 0.6558909283720907, "rel_wql_gmean": 0.5035679934978325}, "T": {"n_configs": 30, "rel_mase_gmean": 0.6907224114371499, "rel_wql_gmean": 0.4537111332659649}, "W": {"n_configs": 8, "rel_mase_gmean": 0.9133657030046082, "rel_wql_gmean": 0.6880789247016834}}, "variates": {"multivariate": {"n_configs": 43, "rel_mase_gmean": 0.7075831918337195, "rel_wql_gmean": 0.5116516548787352}, "univariate": {"n_configs": 54, "rel_mase_gmean": 0.7658812294895363, "rel_wql_gmean": 0.5226557187956252}}}, "control_groups": {"term": {"long": {"n_configs": 21, "rel_mase_gmean": 0.7387209289896919, "rel_wql_gmean": 0.4774699824212779}, "medium": {"n_configs": 21, "rel_mase_gmean": 0.7091967584947031, "rel_wql_gmean": 0.4940210001993474}, "short": {"n_configs": 55, "rel_mase_gmean": 0.7510955101931623, "rel_wql_gmean": 0.543458407121595}}, "domain": {"Econ/Fin": {"n_configs": 6, "rel_mase_gmean": 0.8758458401723871, "rel_wql_gmean": 0.845741731640819}, "Energy": {"n_configs": 32, "rel_mase_gmean": 0.8971412759810176, "rel_wql_gmean": 0.645625775233746}, "Healthcare": {"n_configs": 5, "rel_mase_gmean": 0.5890257461069864, "rel_wql_gmean": 0.5230728329155893}, "Nature": {"n_configs": 15, "rel_mase_gmean": 0.8000033466582953, "rel_wql_gmean": 0.39604235705150814}, "Sales": {"n_configs": 4, "rel_mase_gmean": 0.8575403415794559, "rel_wql_gmean": 0.5227534654265664}, "Transport": {"n_configs": 15, "rel_mase_gmean": 0.632302339335103, "rel_wql_gmean": 0.4326881039752555}, "Web/CloudOps": {"n_configs": 20, "rel_mase_gmean": 0.5608783032250865, "rel_wql_gmean": 0.4366719960689385}}, "frequency": {"A": {"n_configs": 1, "rel_mase_gmean": 0.6142099083816193, "rel_wql_gmean": 0.6417141201697275}, "D": {"n_configs": 15, "rel_mase_gmean": 0.7560740428216003, "rel_wql_gmean": 0.5191076131947409}, "H": {"n_configs": 31, "rel_mase_gmean": 0.7249774072939693, "rel_wql_gmean": 0.4950309821495769}, "M": {"n_configs": 5, "rel_mase_gmean": 0.9868972926114846, "rel_wql_gmean": 0.8492660442835309}, "Q": {"n_configs": 1, "rel_mase_gmean": 0.7750580859699931, "rel_wql_gmean": 0.8210487526626195}, "S": {"n_configs": 6, "rel_mase_gmean": 0.6555272835229642, "rel_wql_gmean": 0.5036801719831989}, "T": {"n_configs": 30, "rel_mase_gmean": 0.6911027159279228, "rel_wql_gmean": 0.4542264629034677}, "W": {"n_configs": 8, "rel_mase_gmean": 0.9130790737285582, "rel_wql_gmean": 0.6878939835146572}}, "variates": {"multivariate": {"n_configs": 43, "rel_mase_gmean": 0.7084528048450579, "rel_wql_gmean": 0.5121287241091885}, "univariate": {"n_configs": 54, "rel_mase_gmean": 0.764554441506531, "rel_wql_gmean": 0.5220703038894595}}}, "group_skill_delta": {"term": {"long": 3.781875782826738e-05, "medium": 0.00018345671206532188, "short": -0.00044710565533878643}, "domain": {"Econ/Fin": -0.0008685279261779755, "Energy": -0.00011908248570424718, "Healthcare": -0.0068179818256036695, "Nature": -0.00042882509900665777, "Sales": 0.0006954352036846467, "Transport": -0.0002118413589805579, "Web/CloudOps": 0.0013544230189045936}, "frequency": {"A": -0.0006286632081851096, "D": -0.0023406376935322104, "H": 0.0001932941109084041, "M": -0.0010419938169842213, "Q": 2.8251164146952945e-05, "S": -9.53471490378055e-05, "T": 0.00047200860967611113, "W": -0.00023092930512447207}, "variates": {"multivariate": 0.0006502447054061999, "univariate": -0.0009023815032486171}}}, {"cutoff": "backcast_evals", "candidate_skill": 0.3405172074587337, "control_skill": 0.34061463661902625, "delta": -9.742916029253923e-05, "candidate_checkpoint": "201ab42d47e270abc0a9ec7142f7c4f94ab711e97405402dfd4bbe784ca44706", "control_checkpoint": "db021fe2a29e80abf906556b2e3627f61128cedc984c852d63ca9bc7d8af4c42", "candidate_eval_seconds": 27.61838936805725, "candidate_groups": {"term": {"long": {"n_configs": 21, "rel_mase_gmean": 0.7743602175846469, "rel_wql_gmean": 0.46382711041026214}, "medium": {"n_configs": 21, "rel_mase_gmean": 0.7677292533775208, "rel_wql_gmean": 0.5328440212584143}, "short": {"n_configs": 55, "rel_mase_gmean": 0.8091090812724353, "rel_wql_gmean": 0.5919537914016848}}, "domain": {"Econ/Fin": {"n_configs": 6, "rel_mase_gmean": 0.8703285059853183, "rel_wql_gmean": 0.8121834311101581}, "Energy": {"n_configs": 32, "rel_mase_gmean": 0.8886200667749653, "rel_wql_gmean": 0.6697019948768248}, "Healthcare": {"n_configs": 5, "rel_mase_gmean": 0.6526846296538834, "rel_wql_gmean": 0.5660673953798844}, "Nature": {"n_configs": 15, "rel_mase_gmean": 0.9037224648167914, "rel_wql_gmean": 0.4242516255226194}, "Sales": {"n_configs": 4, "rel_mase_gmean": 0.7218300142309744, "rel_wql_gmean": 0.49011178756217627}, "Transport": {"n_configs": 15, "rel_mase_gmean": 0.7271318511117306, "rel_wql_gmean": 0.520366966000451}, "Web/CloudOps": {"n_configs": 20, "rel_mase_gmean": 0.6628700074824524, "rel_wql_gmean": 0.4548442718936863}}, "frequency": {"A": {"n_configs": 1, "rel_mase_gmean": 0.6332215895944563, "rel_wql_gmean": 0.7120786182611962}, "D": {"n_configs": 15, "rel_mase_gmean": 0.8191115610531616, "rel_wql_gmean": 0.4890818896900614}, "H": {"n_configs": 31, "rel_mase_gmean": 0.7688137308231762, "rel_wql_gmean": 0.5089586413290095}, "M": {"n_configs": 5, "rel_mase_gmean": 0.8467515056196666, "rel_wql_gmean": 0.7822929893354389}, "Q": {"n_configs": 1, "rel_mase_gmean": 0.7613762198840547, "rel_wql_gmean": 0.766925926825895}, "S": {"n_configs": 6, "rel_mase_gmean": 0.8544632826133232, "rel_wql_gmean": 0.5066139883625133}, "T": {"n_configs": 30, "rel_mase_gmean": 0.7702142616736264, "rel_wql_gmean": 0.5772700132547484}, "W": {"n_configs": 8, "rel_mase_gmean": 0.8725995328007721, "rel_wql_gmean": 0.5967720088461744}}, "variates": {"multivariate": {"n_configs": 43, "rel_mase_gmean": 0.7900063168245569, "rel_wql_gmean": 0.5293953693556226}, "univariate": {"n_configs": 54, "rel_mase_gmean": 0.7943095547472148, "rel_wql_gmean": 0.5648734834547747}}}, "control_groups": {"term": {"long": {"n_configs": 21, "rel_mase_gmean": 0.7750268330437599, "rel_wql_gmean": 0.4644560374641174}, "medium": {"n_configs": 21, "rel_mase_gmean": 0.7679120729474597, "rel_wql_gmean": 0.532394538078516}, "short": {"n_configs": 55, "rel_mase_gmean": 0.8092756122575947, "rel_wql_gmean": 0.5911601826351884}}, "domain": {"Econ/Fin": {"n_configs": 6, "rel_mase_gmean": 0.8702947344890727, "rel_wql_gmean": 0.8118690049288639}, "Energy": {"n_configs": 32, "rel_mase_gmean": 0.8884350933535451, "rel_wql_gmean": 0.6689071279929406}, "Healthcare": {"n_configs": 5, "rel_mase_gmean": 0.6515290315444144, "rel_wql_gmean": 0.563052922379826}, "Nature": {"n_configs": 15, "rel_mase_gmean": 0.907676767267535, "rel_wql_gmean": 0.42467410221988056}, "Sales": {"n_configs": 4, "rel_mase_gmean": 0.720975234361949, "rel_wql_gmean": 0.4895136768781546}, "Transport": {"n_configs": 15, "rel_mase_gmean": 0.7270314164655985, "rel_wql_gmean": 0.5204684797693607}, "Web/CloudOps": {"n_configs": 20, "rel_mase_gmean": 0.6625872075319881, "rel_wql_gmean": 0.45463965086023306}}, "frequency": {"A": {"n_configs": 1, "rel_mase_gmean": 0.632069475406581, "rel_wql_gmean": 0.7112871545588219}, "D": {"n_configs": 15, "rel_mase_gmean": 0.8195362583004446, "rel_wql_gmean": 0.4869333945501284}, "H": {"n_configs": 31, "rel_mase_gmean": 0.7688964365638882, "rel_wql_gmean": 0.5089763528043773}, "M": {"n_configs": 5, "rel_mase_gmean": 0.8498680901287304, "rel_wql_gmean": 0.7847522400534784}, "Q": {"n_configs": 1, "rel_mase_gmean": 0.7621120511536175, "rel_wql_gmean": 0.7673010164835131}, "S": {"n_configs": 6, "rel_mase_gmean": 0.85496425984934, "rel_wql_gmean": 0.5068421260836785}, "T": {"n_configs": 30, "rel_mase_gmean": 0.7701880585359794, "rel_wql_gmean": 0.5769571066612549}, "W": {"n_configs": 8, "rel_mase_gmean": 0.8729561696964779, "rel_wql_gmean": 0.5968019939540741}}, "variates": {"multivariate": {"n_configs": 43, "rel_mase_gmean": 0.7899758227963615, "rel_wql_gmean": 0.529207227131104}, "univariate": {"n_configs": 54, "rel_mase_gmean": 0.7948399949221965, "rel_wql_gmean": 0.5643740247582992}}}, "group_skill_delta": {"term": {"long": 0.0006642572204128561, "medium": -0.00019370642315019726, "short": -0.0003928989668642302}, "domain": {"Econ/Fin": -0.0001790680484016205, "Energy": -0.0005381887501801907, "Healthcare": -0.0021575078496540723, "Nature": 0.0016620936655226126, "Sales": -0.0007151005720370529, "Transport": 1.7509137555937748e-05, "Web/CloudOps": -0.00024063987517819463}, "frequency": {"A": -0.0009840931562358213, "D": -0.001228052303826166, "H": 4.4529949151939086e-05, "M": 0.0027770584128432585, "Q": 0.0005560973579135098, "S": 0.0003410162127222005, "T": -0.00019208179963503547, "W": 0.00016558399901511756}, "variates": {"multivariate": -0.0001274056697935233, "univariate": -7.267673824473686e-05}}}, {"cutoff": "backcast2_evals", "candidate_skill": 0.3631809375531716, "control_skill": 0.3634886085731699, "delta": -0.00030767101999829016, "candidate_checkpoint": "201ab42d47e270abc0a9ec7142f7c4f94ab711e97405402dfd4bbe784ca44706", "control_checkpoint": "db021fe2a29e80abf906556b2e3627f61128cedc984c852d63ca9bc7d8af4c42", "candidate_eval_seconds": 25.76949691772461, "candidate_groups": {"term": {"long": {"n_configs": 19, "rel_mase_gmean": 0.7974020932166619, "rel_wql_gmean": 0.5028613121331797}, "medium": {"n_configs": 21, "rel_mase_gmean": 0.7514315778399401, "rel_wql_gmean": 0.4886983687144167}, "short": {"n_configs": 54, "rel_mase_gmean": 0.762059289880863, "rel_wql_gmean": 0.555304915064347}}, "domain": {"Econ/Fin": {"n_configs": 6, "rel_mase_gmean": 0.8884677046615665, "rel_wql_gmean": 0.9097355360118085}, "Energy": {"n_configs": 32, "rel_mase_gmean": 0.8953909252305802, "rel_wql_gmean": 0.6482372596555277}, "Healthcare": {"n_configs": 5, "rel_mase_gmean": 0.6956788089775116, "rel_wql_gmean": 0.5931972649889181}, "Nature": {"n_configs": 15, "rel_mase_gmean": 0.7627043160728373, "rel_wql_gmean": 0.35455071341175654}, "Sales": {"n_configs": 3, "rel_mase_gmean": 0.5543883169909137, "rel_wql_gmean": 0.355146655590453}, "Transport": {"n_configs": 14, "rel_mase_gmean": 0.6595724040671547, "rel_wql_gmean": 0.49391838666777366}, "Web/CloudOps": {"n_configs": 19, "rel_mase_gmean": 0.68251912974709, "rel_wql_gmean": 0.4716931142877611}}, "frequency": {"A": {"n_configs": 1, "rel_mase_gmean": 0.5805230367735394, "rel_wql_gmean": 0.7238207860773337}, "D": {"n_configs": 15, "rel_mase_gmean": 0.7214444648811066, "rel_wql_gmean": 0.44276825440878437}, "H": {"n_configs": 30, "rel_mase_gmean": 0.7532810643020922, "rel_wql_gmean": 0.48641729667855016}, "M": {"n_configs": 4, "rel_mase_gmean": 0.7947194578899123, "rel_wql_gmean": 0.8267255166449178}, "Q": {"n_configs": 1, "rel_mase_gmean": 0.8263876206477341, "rel_wql_gmean": 0.8675478837978559}, "S": {"n_configs": 6, "rel_mase_gmean": 0.9080340962042106, "rel_wql_gmean": 0.5673709157984974}, "T": {"n_configs": 29, "rel_mase_gmean": 0.7551773358515872, "rel_wql_gmean": 0.5400069669493885}, "W": {"n_configs": 8, "rel_mase_gmean": 0.8603237509258486, "rel_wql_gmean": 0.6436143302882567}}, "variates": {"multivariate": {"n_configs": 42, "rel_mase_gmean": 0.7824660804976293, "rel_wql_gmean": 0.5152242035306741}, "univariate": {"n_configs": 52, "rel_mase_gmean": 0.7541362209435646, "rel_wql_gmean": 0.5403290883398664}}}, "control_groups": {"term": {"long": {"n_configs": 19, "rel_mase_gmean": 0.7979339375294328, "rel_wql_gmean": 0.5031687023634543}, "medium": {"n_configs": 21, "rel_mase_gmean": 0.7517105222461405, "rel_wql_gmean": 0.4892541087028114}, "short": {"n_configs": 54, "rel_mase_gmean": 0.7609992194334069, "rel_wql_gmean": 0.5545688770684942}}, "domain": {"Econ/Fin": {"n_configs": 6, "rel_mase_gmean": 0.8873807551276736, "rel_wql_gmean": 0.9093265549869165}, "Energy": {"n_configs": 32, "rel_mase_gmean": 0.8956398235921643, "rel_wql_gmean": 0.6483653832582555}, "Healthcare": {"n_configs": 5, "rel_mase_gmean": 0.6952661999275426, "rel_wql_gmean": 0.5936962934257054}, "Nature": {"n_configs": 15, "rel_mase_gmean": 0.761731002314024, "rel_wql_gmean": 0.35442280401471654}, "Sales": {"n_configs": 3, "rel_mase_gmean": 0.5539411001711044, "rel_wql_gmean": 0.35520389573354616}, "Transport": {"n_configs": 14, "rel_mase_gmean": 0.659555354887592, "rel_wql_gmean": 0.49395721637685036}, "Web/CloudOps": {"n_configs": 19, "rel_mase_gmean": 0.6813938014578171, "rel_wql_gmean": 0.47069748314484394}}, "frequency": {"A": {"n_configs": 1, "rel_mase_gmean": 0.5794197948834124, "rel_wql_gmean": 0.7245475951431574}, "D": {"n_configs": 15, "rel_mase_gmean": 0.7206962810623505, "rel_wql_gmean": 0.44288001392257026}, "H": {"n_configs": 30, "rel_mase_gmean": 0.7532809555218374, "rel_wql_gmean": 0.48608171516723486}, "M": {"n_configs": 4, "rel_mase_gmean": 0.7940742107722347, "rel_wql_gmean": 0.8263573179324762}, "Q": {"n_configs": 1, "rel_mase_gmean": 0.8266970748771869, "rel_wql_gmean": 0.8663850701039977}, "S": {"n_configs": 6, "rel_mase_gmean": 0.9067302485516102, "rel_wql_gmean": 0.5663452379244183}, "T": {"n_configs": 29, "rel_mase_gmean": 0.755670252212079, "rel_wql_gmean": 0.5405076823867628}, "W": {"n_configs": 8, "rel_mase_gmean": 0.8555340530410969, "rel_wql_gmean": 0.6409546763971603}}, "variates": {"multivariate": {"n_configs": 42, "rel_mase_gmean": 0.7822914405953071, "rel_wql_gmean": 0.5150446640209236}, "univariate": {"n_configs": 52, "rel_mase_gmean": 0.7534790730878452, "rel_wql_gmean": 0.5401056636501812}}}, "group_skill_delta": {"term": {"long": 0.00040471525216856374, "medium": 0.00045699335191384804, "short": -0.0008835767830909225}, "domain": {"Econ/Fin": -0.000752094489335331, "Energy": 0.000181179043526436, "Healthcare": 7.95400754486364e-05, "Nature": -0.00042566213383632423, "Sales": -0.000143265866268949, "Transport": 1.5057995075284936e-05, "Web/CloudOps": -0.0010665933250586512}, "frequency": {"A": -0.0002911852325638842, "D": -0.0002218540278968728, "H": -0.0002088852737632818, "M": -0.0005095701771532513, "Q": -0.00040922482066163557, "S": -0.001164116786659064, "T": 0.0005044680565332582, "W": -0.0036090669175929957}, "variates": {"multivariate": -0.00018148550895458193, "univariate": -0.0004101166276915258}}}, {"cutoff": "backcast3_evals", "candidate_skill": 0.3941996229202668, "control_skill": 0.3943023790374164, "delta": -0.00010275611714960498, "candidate_checkpoint": "201ab42d47e270abc0a9ec7142f7c4f94ab711e97405402dfd4bbe784ca44706", "control_checkpoint": "db021fe2a29e80abf906556b2e3627f61128cedc984c852d63ca9bc7d8af4c42", "candidate_eval_seconds": 27.11289119720459, "candidate_groups": {"term": {"long": {"n_configs": 19, "rel_mase_gmean": 0.7616648313959379, "rel_wql_gmean": 0.47742413692167607}, "medium": {"n_configs": 20, "rel_mase_gmean": 0.7632089316802922, "rel_wql_gmean": 0.5277403400531796}, "short": {"n_configs": 54, "rel_mase_gmean": 0.7084836086579173, "rel_wql_gmean": 0.5020751829709565}}, "domain": {"Econ/Fin": {"n_configs": 6, "rel_mase_gmean": 0.8398326380109152, "rel_wql_gmean": 0.846446685650939}, "Energy": {"n_configs": 32, "rel_mase_gmean": 0.827769606171036, "rel_wql_gmean": 0.5512928922545254}, "Healthcare": {"n_configs": 5, "rel_mase_gmean": 0.7629538249347896, "rel_wql_gmean": 0.6507929471441227}, "Nature": {"n_configs": 15, "rel_mase_gmean": 0.7157643545550794, "rel_wql_gmean": 0.3376246790225215}, "Sales": {"n_configs": 3, "rel_mase_gmean": 0.7473946810699273, "rel_wql_gmean": 0.4750018887817786}, "Transport": {"n_configs": 14, "rel_mase_gmean": 0.5369834013791194, "rel_wql_gmean": 0.44431996088436215}, "Web/CloudOps": {"n_configs": 18, "rel_mase_gmean": 0.7108304621333165, "rel_wql_gmean": 0.5146827451974474}}, "frequency": {"A": {"n_configs": 1, "rel_mase_gmean": 0.5328307912742597, "rel_wql_gmean": 0.8385962680557681}, "D": {"n_configs": 15, "rel_mase_gmean": 0.7157515674195903, "rel_wql_gmean": 0.4141441479363841}, "H": {"n_configs": 29, "rel_mase_gmean": 0.7196040963840911, "rel_wql_gmean": 0.4826192420961773}, "M": {"n_configs": 4, "rel_mase_gmean": 0.8540491767309507, "rel_wql_gmean": 0.8459347233234136}, "Q": {"n_configs": 1, "rel_mase_gmean": 0.7123500643785333, "rel_wql_gmean": 0.7723529478386534}, "S": {"n_configs": 6, "rel_mase_gmean": 0.8402125962819453, "rel_wql_gmean": 0.6007597505767398}, "T": {"n_configs": 29, "rel_mase_gmean": 0.7022627421006679, "rel_wql_gmean": 0.4617605978601144}, "W": {"n_configs": 8, "rel_mase_gmean": 0.8051476387645159, "rel_wql_gmean": 0.6773069006484568}}, "variates": {"multivariate": {"n_configs": 41, "rel_mase_gmean": 0.7564746096929589, "rel_wql_gmean": 0.5091979546177968}, "univariate": {"n_configs": 52, "rel_mase_gmean": 0.7108868194407811, "rel_wql_gmean": 0.49691674879976955}}}, "control_groups": {"term": {"long": {"n_configs": 19, "rel_mase_gmean": 0.7614581674687556, "rel_wql_gmean": 0.47713168997385613}, "medium": {"n_configs": 20, "rel_mase_gmean": 0.763155807467953, "rel_wql_gmean": 0.527881218926757}, "short": {"n_configs": 54, "rel_mase_gmean": 0.7080535789039192, "rel_wql_gmean": 0.502206170658625}}, "domain": {"Econ/Fin": {"n_configs": 6, "rel_mase_gmean": 0.8399782271529793, "rel_wql_gmean": 0.8468463431331842}, "Energy": {"n_configs": 32, "rel_mase_gmean": 0.8280279149960056, "rel_wql_gmean": 0.5521607358800456}, "Healthcare": {"n_configs": 5, "rel_mase_gmean": 0.7634445488727849, "rel_wql_gmean": 0.6498400190900193}, "Nature": {"n_configs": 15, "rel_mase_gmean": 0.7147165005724686, "rel_wql_gmean": 0.3370924827377741}, "Sales": {"n_configs": 3, "rel_mase_gmean": 0.7472792918336342, "rel_wql_gmean": 0.4748198841860076}, "Transport": {"n_configs": 14, "rel_mase_gmean": 0.5368064984461026, "rel_wql_gmean": 0.4441624330587873}, "Web/CloudOps": {"n_configs": 18, "rel_mase_gmean": 0.7097838608816313, "rel_wql_gmean": 0.514446028980707}}, "frequency": {"A": {"n_configs": 1, "rel_mase_gmean": 0.5330343006916491, "rel_wql_gmean": 0.8373654758558289}, "D": {"n_configs": 15, "rel_mase_gmean": 0.7156020798224476, "rel_wql_gmean": 0.4146576329269315}, "H": {"n_configs": 29, "rel_mase_gmean": 0.7194889038392792, "rel_wql_gmean": 0.4825765897020932}, "M": {"n_configs": 4, "rel_mase_gmean": 0.8488669982115364, "rel_wql_gmean": 0.8419122250539668}, "Q": {"n_configs": 1, "rel_mase_gmean": 0.712681896042176, "rel_wql_gmean": 0.7723553807508527}, "S": {"n_configs": 6, "rel_mase_gmean": 0.8377146489365882, "rel_wql_gmean": 0.5993714084744902}, "T": {"n_configs": 29, "rel_mase_gmean": 0.7028536424030993, "rel_wql_gmean": 0.4624405725314098}, "W": {"n_configs": 8, "rel_mase_gmean": 0.8036808005194592, "rel_wql_gmean": 0.6759113276790494}}, "variates": {"multivariate": {"n_configs": 41, "rel_mase_gmean": 0.7563804722547655, "rel_wql_gmean": 0.5094859554824934}, "univariate": {"n_configs": 52, "rel_mase_gmean": 0.7104189888412888, "rel_wql_gmean": 0.49676960319334235}}}, "group_skill_delta": {"term": {"long": -0.00026650998288269, "medium": 6.261188253442462e-05, "short": -0.0001032598306259791}, "domain": {"Econ/Fin": 0.0002721177359745752, "Energy": 0.0006369770868657199, "Healthcare": -0.00028967196186113764, "Nature": -0.000747280055754973, "Sales": -0.00016014961073618217, "Transport": -0.00016704706457060237, "Web/CloudOps": -0.0005844574578137696}, "frequency": {"A": -0.00036316976837735826, "D": 0.0002805249166243362, "H": -7.32096568150098e-05, "M": -0.004599807145236556, "Q": 0.00017391071378425327, "S": -0.001877087504963737, "T": 0.0006588273904707398, "W": -0.0014334781087365078}, "variates": {"multivariate": 0.0001368624467444901, "univariate": -0.000283577419997183}}}], "mean_delta": -0.00017580133953268295, "positive_cutoffs": 0, "outcome": "Declared comparison checkpoints 6000,12000. No transfer formula or automatic publication is selected by this controller."} + +## E158 fresh146M direct seasonal width only — declared 2026-10-23T23:30:10.643852+00:00 +{"declared_utc": "2026-10-23T23:30:10.643852+00:00", "status": "declared; CPU/GPU/recovery engineering pending; no production queue", "hypothesis": "The successful small-model direct seasonal width mechanism may improve fresh146M training when added alone to the E131 seasonal model. Test only the width head, with no dispersion query, distillation, or changed sampling.", "run": "random_capacity_seasonal_width", "code": "/workspace/research/fresh_seasonal_width", "model_code": "/workspace/research/random_capacity_seasonal_width", "control": "random_capacity_long_seasonal", "initial_parent": "/workspace/research/random_capacity_long_seasonal_initial.pt", "initial_parent_sha256": "f7e35a6341ffc6c1ce53cfd8934256dde937171f5002f1fc34b1fd169f1a15d6", "initialization": "Copy only the own untrained E131 random initialization; add zero width_head. No trained weight inheritance. All model parameters train.", "added_parameters": 32800, "parameters": 146608480, "seed": 307, "batch": 48, "lr": 0.0002, "steps": 96000, "primary": 48000, "final": 96000, "packed": "/workspace/research/packed_sample", "source_weights_from": "/workspace/research/packed_sample", "synthetics": "Byte-identical E13120percent own slowAR generator; all95allowlisted sources with original source probabilities", "factor": "One new zero-initialized Linear(1024,16*2) width head. Existing16cycle centered phase statistics yield active*(log1p(unbiased phase std16)-log2). Multiply all8positive width increments by exp(clamp(sum(tanh(head)*delta),-log4,log4)); median path unchanged. No dispersion-query projection.", "fixture_seeds": {"cpu": 1039, "gpu": 1049, "recovery": 307}, "start_gate": "Do not create production queue unless E131primary48000 has>=3positivecutoffs and positive mean versus E79, and CPU/GPU/full recovery audits pass.", "allocation_after": "E137 random_capacity_deep96000", "selection": "Primary48000/final96000 matchedE131 four-cutoff comparison; main4/8/16/24/72k diagnostics. No extension, ensemble/transfer formula, coefficient sweep or automatic publication selected.", "training_queued": false} + +2026-10-23T23:32:43.633663+00:00: E158 CPU architecture audit {"fixture_seed": 1039, "training_seed": 307, "parameters": 146608480, "added_parameters": 32800, "initial_checkpoint_sha256": "4df8f10656f5b8ad45310fb385a64aafe66c764879c90483d7c24b338257f9de", "parent_sha256": "f7e35a6341ffc6c1ce53cfd8934256dde937171f5002f1fc34b1fd169f1a15d6", "mature_fixture_sha256": "ee958fba015de5c80d179675b31770cae282ec3daa05d2fe5e386859109abbf3", "initial_forward_and_loss_bitwise_equal": true, "inherited_initial_tensors_bitwise_equal": true, "mature_zero_head_forward_loss_and_shared_gradients_bitwise_equal": true, "matching_phase_statistics_and_multiplier_bitwise_equal_to_E129": true, "nonzero_head_preserves_median_exactly": true, "nonzero_width_gradients": true, "finite_ordered_quantiles": true, "no_dispersion_query": true, "all_parameters_trainable": true, "sampler_byte_identical": true, "fresh_checkpoint_unchanged_by_mature_fixtures": true, "optimizer_updates": 0, "validation_data_read": false, "seconds": 13.291416365187615}. Own freshcheckpoint saved; mature24k fixture only checks zero-extension and gradients, never traininginitialization. GPU/recoverypending. + +2026-10-23T23:32:43.633663+00:00: E146 final replication review {"utc": "2026-10-23T23:32:43.633663+00:00", "experiment": "E146", "step": 12000, "positive_cutoffs": 0, "mean_delta": -0.00017580133953268295, "candidate_sha256": "201ab42d47e270abc0a9ec7142f7c4f94ab711e97405402dfd4bbe784ca44706", "rows": [{"cutoff": "evals", "skill": 0.38124452611158177, "delta": -0.00019534906069029745, "group_skill_delta": {"term": {"long": 3.781875782826738e-05, "medium": 0.00018345671206532188, "short": -0.00044710565533878643}, "domain": {"Econ/Fin": -0.0008685279261779755, "Energy": -0.00011908248570424718, "Healthcare": -0.0068179818256036695, "Nature": -0.00042882509900665777, "Sales": 0.0006954352036846467, "Transport": -0.0002118413589805579, "Web/CloudOps": 0.0013544230189045936}, "frequency": {"A": -0.0006286632081851096, "D": -0.0023406376935322104, "H": 0.0001932941109084041, "M": -0.0010419938169842213, "Q": 2.8251164146952945e-05, "S": -9.53471490378055e-05, "T": 0.00047200860967611113, "W": -0.00023092930512447207}, "variates": {"multivariate": 0.0006502447054061999, "univariate": -0.0009023815032486171}}}, {"cutoff": "backcast_evals", "skill": 0.3405172074587337, "delta": -9.742916029253923e-05, "group_skill_delta": {"term": {"long": 0.0006642572204128561, "medium": -0.00019370642315019726, "short": -0.0003928989668642302}, "domain": {"Econ/Fin": -0.0001790680484016205, "Energy": -0.0005381887501801907, "Healthcare": -0.0021575078496540723, "Nature": 0.0016620936655226126, "Sales": -0.0007151005720370529, "Transport": 1.7509137555937748e-05, "Web/CloudOps": -0.00024063987517819463}, "frequency": {"A": -0.0009840931562358213, "D": -0.001228052303826166, "H": 4.4529949151939086e-05, "M": 0.0027770584128432585, "Q": 0.0005560973579135098, "S": 0.0003410162127222005, "T": -0.00019208179963503547, "W": 0.00016558399901511756}, "variates": {"multivariate": -0.0001274056697935233, "univariate": -7.267673824473686e-05}}}, {"cutoff": "backcast2_evals", "skill": 0.3631809375531716, "delta": -0.00030767101999829016, "group_skill_delta": {"term": {"long": 0.00040471525216856374, "medium": 0.00045699335191384804, "short": -0.0008835767830909225}, "domain": {"Econ/Fin": -0.000752094489335331, "Energy": 0.000181179043526436, "Healthcare": 7.95400754486364e-05, "Nature": -0.00042566213383632423, "Sales": -0.000143265866268949, "Transport": 1.5057995075284936e-05, "Web/CloudOps": -0.0010665933250586512}, "frequency": {"A": -0.0002911852325638842, "D": -0.0002218540278968728, "H": -0.0002088852737632818, "M": -0.0005095701771532513, "Q": -0.00040922482066163557, "S": -0.001164116786659064, "T": 0.0005044680565332582, "W": -0.0036090669175929957}, "variates": {"multivariate": -0.00018148550895458193, "univariate": -0.0004101166276915258}}}, {"cutoff": "backcast3_evals", "skill": 0.3941996229202668, "delta": -0.00010275611714960498, "group_skill_delta": {"term": {"long": -0.00026650998288269, "medium": 6.261188253442462e-05, "short": -0.0001032598306259791}, "domain": {"Econ/Fin": 0.0002721177359745752, "Energy": 0.0006369770868657199, "Healthcare": -0.00028967196186113764, "Nature": -0.000747280055754973, "Sales": -0.00016014961073618217, "Transport": -0.00016704706457060237, "Web/CloudOps": -0.0005844574578137696}, "frequency": {"A": -0.00036316976837735826, "D": 0.0002805249166243362, "H": -7.32096568150098e-05, "M": -0.004599807145236556, "Q": 0.00017391071378425327, "S": -0.001877087504963737, "T": 0.0006588273904707398, "W": -0.0014334781087365078}, "variates": {"multivariate": 0.0001368624467444901, "univariate": -0.000283577419997183}}}], "outcome": "Final0of4negative; primary1of4negative. The original small direct-trend effect does not replicate atseed523. Branch complete; no transfer/ensemble/full replay selected."} + +2026-10-23T23:32:43.633663+00:00: Engineering: recovery/train.py now explicitly sets the six already-recorded compiler/cache environment settings before importingtorch whenever--compile-loss is present. IsolatedAST-preamble check proves exact setting equality, noGPU/data/modelload. Existing live trainers unchanged; futureE155/E157/E158 andothercompiled jobs useauditedpaths evenwithminimal launcher environment. No recipe/optimizer/sampler change and no production restart. + +2026-10-23T23:34:00.356712+00:00: Scheduled main-cutoff learning diagnostic {"utc": "2026-10-23T23:34:00.356712+00:00", "experiment": "E149", "run": "integrated_level", "step": 1000, "skill": 0.3772064022470981, "checkpoint_sha256": "ea9ea9f74683d1805e1f43d19cb28162440874ff342b8f3a3f46249a852a915d", "eval_seconds": 25.283077239990234, "comparisons": [{"control": "overflow_control", "control_checkpoint_sha256": "fb64456ba0c2ebef979b8525274132618fe542f67e7193036e4a013de6629f5c", "control_skill": 0.37680439430493307, "delta": 0.0004020079421650502, "group_deltas": {"term": {"long": -0.0002739056062318612, "medium": 0.0005733516084265311, "short": 0.0006067934895107596}, "domain": {"Econ/Fin": 0.00108818851735637, "Energy": 0.000501150538024131, "Healthcare": -0.0015021959877348223, "Nature": 0.0004992058015569345, "Sales": 0.00024574717183811767, "Transport": 0.00020894496369450177, "Web/CloudOps": 0.0006894718796983668}, "frequency": {"A": -0.0005828721835861028, "D": -0.000378786654061547, "H": 0.0002979660008450846, "M": 0.0013703320983357026, "Q": 0.00039608725495743347, "S": 8.160125120992845e-05, "T": 0.0008555132643855989, "W": 0.00025232260945784457}, "variates": {"multivariate": 0.0008044499001870209, "univariate": 6.610045642907458e-05}}}], "decision": "Early main-panel learning diagnostic only; primary6000/final12000 four-cutoff comparisons remain fixed. No transfer or ensemble selected.", "new_neural_inference": false, "new_training": false}. No additional training or inference. + +2026-10-23T23:34:35.413766+00:00: E158 GPU audit passed {"fixture_seed": 1049, "training_seed": 307, "parameters": 146608480, "initial_checkpoint_sha256": "4df8f10656f5b8ad45310fb385a64aafe66c764879c90483d7c24b338257f9de", "mature_fixture_sha256": "ee958fba015de5c80d179675b31770cae282ec3daa05d2fe5e386859109abbf3", "gpu_initial_forward_and_loss_bitwise_equal": true, "student_checkpoint_and_parameters_unchanged": true, "eager_loss": 0.20643244683742523, "compiled_loss": 0.20641840994358063, "gradient_groups": {"all": {"dot": 0.04353449466185898, "reference_squared": 0.04354849002883578, "actual_squared": 0.043537140794920146, "maximum_abs_difference": 9.5367431640625e-05, "gradient_cosine": 0.9998089149669066}, "encoder": {"dot": 0.00040029909869711625, "reference_squared": 0.0004030083430600698, "actual_squared": 0.0003999037023495883, "maximum_abs_difference": 2.288818359375e-05, "gradient_cosine": 0.9971256342930892}, "decoder": {"dot": 0.00465705020687987, "reference_squared": 0.0046594047139612155, "actual_squared": 0.0046568498317517415, "maximum_abs_difference": 3.777159145101905e-05, "gradient_cosine": 0.9997688146347651}, "long_query": {"dot": 3.874146204907447e-05, "reference_squared": 3.867253690259531e-05, "actual_squared": 3.8814585423097014e-05, "maximum_abs_difference": 1.430511474609375e-06, "gradient_cosine": 0.9999475005230174}, "long_head": {"dot": 0.0014208065099410305, "reference_squared": 0.0014156926861232932, "actual_squared": 0.001426107422730638, "maximum_abs_difference": 5.7220458984375e-05, "gradient_cosine": 0.9999408804739478}, "width_head": {"dot": 3.830391550252443e-05, "reference_squared": 3.7734235142750094e-05, "actual_squared": 3.899169556120796e-05, "maximum_abs_difference": 5.817413330078125e-05, "gradient_cosine": 0.9985948787685941}}, "compile_comparison_seconds": 58.60505308699794, "maximum_shape_memory": {"batch": 48, "signed_rows": 96, "context": 4096, "horizon": 1024, "loss": 0.2690046727657318, "peak_allocated_mib": 9768.8251953125, "peak_reserved_mib": 10072.0, "includes_adam_and_ema_placeholders": true, "seconds": 56.68829392082989}, "seconds": 154.63640214689076, "lock_wait_seconds": 6.984792212024331, "optimizer_updates": 0, "validation_data_read": false, "fixture_weights_are_not_candidates": true}. Everygradientgroup exceeds fixed.995 threshold; no bitwisecompiled-training claim. No optimizerupdates/validationread; ownmaturefixture isnotcandidateinitialization. Recoveryfixture nowrunning. + +2026-10-23T23:36:44.545682+00:00: Recovery engineering: matched_report.py now installs completed comparison JSON atomically, so source-gated controllers cannot observe a partially written result. Comparison arithmetic, hashes, duplicate guard and selection thresholds unchanged. No training or inference. + +2026-10-23T23:39:19.086757+00:00: E158 complete recovery audit {"utc": "2026-10-23T23:39:06.213415+00:00", "initial_checkpoint_sha256": "4df8f10656f5b8ad45310fb385a64aafe66c764879c90483d7c24b338257f9de", "fixture_seed": 307, "model_parameters": 146608480, "original_schedule_steps": 96000, "batch": 48, "micro_batch": null, "optimizer_updates": 18, "backward_passes": 18, "lock_wait_seconds": 8.626491762697697e-05, "seconds": 321.1489048891235, "fixture_weights_are_not_research_candidates": true, "comparisons": {"uninterrupted_repeat": {"model": {"bitwise_equal": false, "maximum_abs_difference": 6.704412953695282e-07}, "ema_state": {"bitwise_equal": false, "maximum_abs_difference": 3.5411926546657924e-07}, "optimizer": {"bitwise_equal": false, "maximum_abs_difference": 4.420850018505007e-06}, "batch_rng_state": {"bitwise_equal": true, "maximum_abs_difference": 0.0}, "sampler_rng_state": {"bitwise_equal": true, "maximum_abs_difference": 0.0}, "sampler_rng_states": {"bitwise_equal": true, "maximum_abs_difference": 0.0}, "torch_rng_state": {"bitwise_equal": true, "maximum_abs_difference": 0.0}, "cuda_rng_state": {"bitwise_equal": true, "maximum_abs_difference": 0.0}, "prefetched_batch": {"bitwise_equal": true, "maximum_abs_difference": 0.0}, "parent_checkpoints": {"bitwise_equal": true, "maximum_abs_difference": 0.0}}, "uninterrupted_vs_restart": {"model": {"bitwise_equal": false, "maximum_abs_difference": 4.291150617063977e-07}, "ema_state": {"bitwise_equal": false, "maximum_abs_difference": 2.4700739231775515e-07}, "optimizer": {"bitwise_equal": false, "maximum_abs_difference": 4.62954631075263e-06}, "batch_rng_state": {"bitwise_equal": true, "maximum_abs_difference": 0.0}, "sampler_rng_state": {"bitwise_equal": true, "maximum_abs_difference": 0.0}, "sampler_rng_states": {"bitwise_equal": true, "maximum_abs_difference": 0.0}, "torch_rng_state": {"bitwise_equal": true, "maximum_abs_difference": 0.0}, "cuda_rng_state": {"bitwise_equal": true, "maximum_abs_difference": 0.0}, "prefetched_batch": {"bitwise_equal": true, "maximum_abs_difference": 0.0}, "parent_checkpoints": {"bitwise_equal": true, "maximum_abs_difference": 0.0}}}}. All18fixtureupdates used only permitted pretraining windows. Initialcheckpoint unchanged; no fixture warm start. AllNumPy/Torch/CUDA RNG,prefetch and ancestry exact; compiledweight differences also seen between uninterrupted repeats. E13148source gate stillrequired beforeproductionqueue. + +2026-10-23T23:40:07.687570+00:00: Scheduled main-cutoff learning diagnostic {"utc": "2026-10-23T23:40:07.687570+00:00", "experiment": "E149", "run": "integrated_level", "step": 3000, "skill": 0.37797914351310014, "checkpoint_sha256": "aa9128d20492b1d7ff0b1ffbbe88497bd13ee3576fb1aa2ae8b1b6ff71cfda44", "eval_seconds": 25.51230502128601, "comparisons": [{"control": "overflow_control", "control_checkpoint_sha256": "2084f1888f8d9e5afe2c740769ea2b4167086cdd62dfb4014bc3a338c00d4c12", "control_skill": 0.37866382508046315, "delta": -0.0006846815673630102, "group_deltas": {"term": {"long": -0.00028453169478881435, "medium": 0.0002318349079056814, "short": -0.0012272278678444604}, "domain": {"Econ/Fin": 0.0007271109365621919, "Energy": 0.00021934151442626337, "Healthcare": -0.013322083290874143, "Nature": 0.0004300295588307579, "Sales": -2.7048145708974403e-05, "Transport": -2.5875549169995793e-06, "Web/CloudOps": -0.0002910991544957664}, "frequency": {"A": 0.00030860941528210173, "D": -0.002827991645017236, "H": 0.00040313244063783227, "M": -0.0023342958270544667, "Q": -0.0014944548708094585, "S": 0.0002698749036113002, "T": -0.00036364655913023736, "W": -0.0030130825264340633}, "variates": {"multivariate": -6.4746257757430925e-06, "univariate": -0.0012548311081542751}}}], "decision": "Early main-panel learning diagnostic only; primary6000/final12000 four-cutoff comparisons remain fixed. No transfer or ensemble selected.", "new_neural_inference": false, "new_training": false}. No additional training or inference. + +2026-10-23T23:40:43.345941+00:00: Scheduled main-cutoff learning diagnostic {"utc": "2026-10-23T23:40:43.345941+00:00", "experiment": "E147", "run": "random_capacity_full_highlr", "step": 16000, "skill": 0.35365831681555393, "checkpoint_sha256": "e0f841b29a17bb55beb6f419e11cbe64c1057f742e9c53de773d81f51169fd9b", "eval_seconds": 37.596195936203, "comparisons": [{"control": "random_capacity_full", "control_checkpoint_sha256": "29daf0a92679ccac5de356e78cdbce9ad7d88fa971229948b131194277972687", "control_skill": 0.35154579999964164, "delta": 0.002112516815912291, "group_deltas": {"term": {"long": 0.0005923443422680696, "medium": -0.002976541453189263, "short": 0.004887610396708819}, "domain": {"Econ/Fin": -0.019385162149116675, "Energy": -0.010738474477374083, "Healthcare": 0.12152651988991758, "Nature": 0.0006432565832960035, "Sales": -0.017737845236883154, "Transport": 0.0031795007048573964, "Web/CloudOps": -0.0016023899789439078}, "frequency": {"A": -0.009156800316737379, "D": 0.00833612735941991, "H": -0.005789674942295875, "M": 0.09440054116032848, "Q": 0.006650698154743062, "S": 0.002200590425841642, "T": -0.006554114210505224, "W": 0.0249785451730401}, "variates": {"multivariate": -0.006366200054397697, "univariate": 0.009245595468903689}}}, {"control": "random_capacity_1024", "control_checkpoint_sha256": "959ff6c885777e971d4ee25729d3406485404a69a0bbfe320959506b180e9e35", "control_skill": 0.3494992855125878, "delta": 0.004159031302966132, "group_deltas": {"term": {"long": -0.002226763950169186, "medium": -0.006674017771697072, "short": 0.011437354745497452}, "domain": {"Econ/Fin": -0.008923914683270251, "Energy": -0.005966699597306557, "Healthcare": 0.15326477925020499, "Nature": 0.005621381638408196, "Sales": -0.002988315751763282, "Transport": 0.006506075694575175, "Web/CloudOps": -0.013983508255662525}, "frequency": {"A": 0.0007393881793011925, "D": 0.021178625384432048, "H": 0.0011065124940867754, "M": 0.11600788361586478, "Q": 0.010885675150797414, "S": -0.0015316046123186045, "T": -0.013485622073572512, "W": 0.019514120445295213}, "variates": {"multivariate": -0.007818660152432155, "univariate": 0.014284277474413631}}}], "decision": "Scheduled main learning diagnostic only; primary48000/final96000 matched four-cutoff comparisons and declared corpus-by-LR factorial remain unchanged.", "new_neural_inference": false, "new_training": false}. No additional training or inference. + +2026-10-23T23:40:51.808813+00:00: E134scheduled32000phase-boundary main diagnostic is complete. Its exact-step E79control checkpoint exists but has no cachedmainreport; evaluate that one saved own checkpoint on valid_screen only, to avoid comparing different training durations. No newtraining, no secondarycutoffs or selection at32000; primary96000 anddeclared48000/96000 matchedpanels unchanged. + +2026-10-23T23:42:18.941519+00:00: Scheduled main-cutoff learning diagnostic {"utc": "2026-10-23T23:42:18.941519+00:00", "experiment": "E134", "run": "visibility_curriculum", "step": 32000, "skill": 0.35538351910449406, "checkpoint_sha256": "8be64a2d559993021ad0d780a0561307e746cc23bb6013e8911693dee240e62a", "eval_seconds": 37.46353530883789, "comparisons": [{"control": "random_capacity_1024", "control_checkpoint_sha256": "e6e61354b8945cc91f0451de781d248c924939895b64db905c798e9ff7a13509", "control_skill": 0.3548358336492602, "delta": 0.0005476854552338706, "group_deltas": {"term": {"long": -0.012149225879421244, "medium": -0.011567551530570097, "short": 0.010704883749481309}, "domain": {"Econ/Fin": 0.013116669651510038, "Energy": 0.001801595788956556, "Healthcare": -0.012121883366765784, "Nature": 0.00617852053306267, "Sales": 0.008626534543853537, "Transport": 0.004272217363146091, "Web/CloudOps": -0.00805319610671118}, "frequency": {"A": 0.007906649023626922, "D": 0.005137307089095433, "H": 0.0040857646448998475, "M": -0.012756028504041894, "Q": 0.026873910721215033, "S": 0.0006800656542295114, "T": -0.008787941504549646, "W": 0.021917420184917602}, "variates": {"multivariate": -0.001442569215970857, "univariate": 0.0021990879888986736}}}], "decision": "Scheduled phase-boundary main diagnostic after quarter then half views; full views begin at32001. Primary96000 and matched48000/96000 four-cutoff comparisons remain fixed.", "new_neural_inference": false, "new_training": false}. No additional training or inference. + +2026-10-23T23:42:54.993988+00:00: E134phase-boundary reference evaluation completed: ownE79ema032000 SHAe6e61354b8945cc91f0451de781d248c924939895b64db905c798e9ff7a13509, mainvalid_screen9473instances/97configs/0fails, inference+scoring 37.99778771400452shared-H100seconds, skill0.3548358336492602. This was one newlycomputed diagnostic controlpanel, with no training; record_learning_diagnostic itself onlycomparedcompletedreports. + +E131 48000 four-cutoff comparison: {"label": "E131 48000 four-cutoff comparison", "utc": "2026-10-23T23:43:37.801299+00:00", "candidate": "random_capacity_long_seasonal_ema48000", "control": "random_capacity_1024_ema48000", "rows": [{"cutoff": "evals", "candidate_skill": 0.36858681208190924, "control_skill": 0.3685434345005941, "delta": 4.337758131511826e-05, "candidate_checkpoint": "4b309f0721378f97db815dd511b8b54711348270c48e9eae0103dba506f66708", "control_checkpoint": "227ea80abf17fc81ae191f94e91f6dd7adbc0d837235750b5f5e9cef3dd5472c", "candidate_eval_seconds": 38.60380816459656, "candidate_groups": {"term": {"long": {"n_configs": 21, "rel_mase_gmean": 0.7596240437448069, "rel_wql_gmean": 0.49560683193001026}, "medium": {"n_configs": 21, "rel_mase_gmean": 0.7240998073140904, "rel_wql_gmean": 0.4995757029898689}, "short": {"n_configs": 55, "rel_mase_gmean": 0.7574407453525513, "rel_wql_gmean": 0.5583491212820006}}, "domain": {"Econ/Fin": {"n_configs": 6, "rel_mase_gmean": 0.8895150321927536, "rel_wql_gmean": 0.860580798444267}, "Energy": {"n_configs": 32, "rel_mase_gmean": 0.9138181614774806, "rel_wql_gmean": 0.6620973177377313}, "Healthcare": {"n_configs": 5, "rel_mase_gmean": 0.6283665750467347, "rel_wql_gmean": 0.5469225124783753}, "Nature": {"n_configs": 15, "rel_mase_gmean": 0.7935993993110947, "rel_wql_gmean": 0.4119571911303783}, "Sales": {"n_configs": 4, "rel_mase_gmean": 0.8434800280445851, "rel_wql_gmean": 0.5173067370198796}, "Transport": {"n_configs": 15, "rel_mase_gmean": 0.6411230505083593, "rel_wql_gmean": 0.44426371968925055}, "Web/CloudOps": {"n_configs": 20, "rel_mase_gmean": 0.5738903227404989, "rel_wql_gmean": 0.44607036688960516}}, "frequency": {"A": {"n_configs": 1, "rel_mase_gmean": 0.6064087886023716, "rel_wql_gmean": 0.6271314386060388}, "D": {"n_configs": 15, "rel_mase_gmean": 0.7643250601875451, "rel_wql_gmean": 0.5325130018644995}, "H": {"n_configs": 31, "rel_mase_gmean": 0.7311376300672037, "rel_wql_gmean": 0.5114716183407965}, "M": {"n_configs": 5, "rel_mase_gmean": 0.9719810286990322, "rel_wql_gmean": 0.8435673695046025}, "Q": {"n_configs": 1, "rel_mase_gmean": 0.7655009304743412, "rel_wql_gmean": 0.8358889229659726}, "S": {"n_configs": 6, "rel_mase_gmean": 0.6642410625805998, "rel_wql_gmean": 0.5054815581059382}, "T": {"n_configs": 30, "rel_mase_gmean": 0.7165897088056523, "rel_wql_gmean": 0.47244649773412645}, "W": {"n_configs": 8, "rel_mase_gmean": 0.9126148172180485, "rel_wql_gmean": 0.6833201062822841}}, "variates": {"multivariate": {"n_configs": 43, "rel_mase_gmean": 0.7206750342279472, "rel_wql_gmean": 0.5259427062552281}, "univariate": {"n_configs": 54, "rel_mase_gmean": 0.7752454695812974, "rel_wql_gmean": 0.5353850899381366}}}, "control_groups": {"term": {"long": {"n_configs": 21, "rel_mase_gmean": 0.7587789601246303, "rel_wql_gmean": 0.49670212535892816}, "medium": {"n_configs": 21, "rel_mase_gmean": 0.7318228954729822, "rel_wql_gmean": 0.5069316624612222}, "short": {"n_configs": 55, "rel_mase_gmean": 0.7543680498586199, "rel_wql_gmean": 0.5551519797008444}}, "domain": {"Econ/Fin": {"n_configs": 6, "rel_mase_gmean": 0.894159342526865, "rel_wql_gmean": 0.8617452681906776}, "Energy": {"n_configs": 32, "rel_mase_gmean": 0.9101004419451137, "rel_wql_gmean": 0.6584458800440816}, "Healthcare": {"n_configs": 5, "rel_mase_gmean": 0.5844853147385809, "rel_wql_gmean": 0.5155213514040926}, "Nature": {"n_configs": 15, "rel_mase_gmean": 0.8048625648125799, "rel_wql_gmean": 0.41574642740891904}, "Sales": {"n_configs": 4, "rel_mase_gmean": 0.8608662664471317, "rel_wql_gmean": 0.5338203994579515}, "Transport": {"n_configs": 15, "rel_mase_gmean": 0.6544478487122294, "rel_wql_gmean": 0.45419898205149567}, "Web/CloudOps": {"n_configs": 20, "rel_mase_gmean": 0.5691881615817772, "rel_wql_gmean": 0.4440050362883611}}, "frequency": {"A": {"n_configs": 1, "rel_mase_gmean": 0.6000112444199207, "rel_wql_gmean": 0.6164736935875128}, "D": {"n_configs": 15, "rel_mase_gmean": 0.7725946330728586, "rel_wql_gmean": 0.5378537664666186}, "H": {"n_configs": 31, "rel_mase_gmean": 0.7386096620108181, "rel_wql_gmean": 0.5168384077006924}, "M": {"n_configs": 5, "rel_mase_gmean": 0.9539291717517222, "rel_wql_gmean": 0.8277758145427478}, "Q": {"n_configs": 1, "rel_mase_gmean": 0.7693856070976332, "rel_wql_gmean": 0.8422189104112654}, "S": {"n_configs": 6, "rel_mase_gmean": 0.6694448136296561, "rel_wql_gmean": 0.5123742201671339}, "T": {"n_configs": 30, "rel_mase_gmean": 0.7085963765778743, "rel_wql_gmean": 0.4689717872647888}, "W": {"n_configs": 8, "rel_mase_gmean": 0.8999499970954961, "rel_wql_gmean": 0.6671558797312815}}, "variates": {"multivariate": {"n_configs": 43, "rel_mase_gmean": 0.7233324743781643, "rel_wql_gmean": 0.5297705922478261}, "univariate": {"n_configs": 54, "rel_mase_gmean": 0.7726310020210445, "rel_wql_gmean": 0.5326719533609565}}}, "group_skill_delta": {"term": {"long": 0.00033585403177016637, "medium": 0.007634248728160542, "short": -0.003181185337504888}, "domain": {"Econ/Fin": 0.002874386172839527, "Energy": -0.003727343120378479, "Healthcare": -0.03731052767372156, "Nature": 0.006685352875759776, "Sales": 0.017340899186546244, "Transport": 0.011513442259472706, "Web/CloudOps": -0.0032449069627558114}, "frequency": {"A": -0.008496305111746816, "D": 0.006650466502328256, "H": 0.006333065851141018, "M": -0.016884059054822043, "Q": 0.00505785980625395, "S": 0.006217966528486496, "T": -0.0053859147858204, "W": -0.014829282112795994}, "variates": {"multivariate": 0.003374530590659619, "univariate": -0.0027189807771604846}}}, {"cutoff": "backcast_evals", "candidate_skill": 0.32896204139583196, "control_skill": 0.3284572453347383, "delta": 0.0005047960610936597, "candidate_checkpoint": "4b309f0721378f97db815dd511b8b54711348270c48e9eae0103dba506f66708", "control_checkpoint": "227ea80abf17fc81ae191f94e91f6dd7adbc0d837235750b5f5e9cef3dd5472c", "candidate_eval_seconds": 36.36709260940552, "candidate_groups": {"term": {"long": {"n_configs": 21, "rel_mase_gmean": 0.7658820507918618, "rel_wql_gmean": 0.47500753177786015}, "medium": {"n_configs": 21, "rel_mase_gmean": 0.7909245628429931, "rel_wql_gmean": 0.5490755533664172}, "short": {"n_configs": 55, "rel_mase_gmean": 0.8175531129202919, "rel_wql_gmean": 0.6058310885259459}}, "domain": {"Econ/Fin": {"n_configs": 6, "rel_mase_gmean": 0.8841897146245112, "rel_wql_gmean": 0.8176930274593615}, "Energy": {"n_configs": 32, "rel_mase_gmean": 0.8971504242505317, "rel_wql_gmean": 0.6786062085954974}, "Healthcare": {"n_configs": 5, "rel_mase_gmean": 0.6742549375109318, "rel_wql_gmean": 0.6279370346128573}, "Nature": {"n_configs": 15, "rel_mase_gmean": 0.9254757000554263, "rel_wql_gmean": 0.43805124063415396}, "Sales": {"n_configs": 4, "rel_mase_gmean": 0.7266432305944489, "rel_wql_gmean": 0.48884729354509454}, "Transport": {"n_configs": 15, "rel_mase_gmean": 0.7473310517975991, "rel_wql_gmean": 0.5405431820322099}, "Web/CloudOps": {"n_configs": 20, "rel_mase_gmean": 0.6499857824244107, "rel_wql_gmean": 0.46362863227591766}}, "frequency": {"A": {"n_configs": 1, "rel_mase_gmean": 0.6219882178158181, "rel_wql_gmean": 0.6794218329133153}, "D": {"n_configs": 15, "rel_mase_gmean": 0.8279920529465303, "rel_wql_gmean": 0.4913475331866268}, "H": {"n_configs": 31, "rel_mase_gmean": 0.7721041456399907, "rel_wql_gmean": 0.5212789166478934}, "M": {"n_configs": 5, "rel_mase_gmean": 0.8383455665296266, "rel_wql_gmean": 0.7998663873743693}, "Q": {"n_configs": 1, "rel_mase_gmean": 0.7763900394349693, "rel_wql_gmean": 0.82009625295987}, "S": {"n_configs": 6, "rel_mase_gmean": 0.8490493310352122, "rel_wql_gmean": 0.49848108027290505}, "T": {"n_configs": 30, "rel_mase_gmean": 0.7769583533419976, "rel_wql_gmean": 0.6052911549158678}, "W": {"n_configs": 8, "rel_mase_gmean": 0.9283683446642534, "rel_wql_gmean": 0.607155612344444}}, "variates": {"multivariate": {"n_configs": 43, "rel_mase_gmean": 0.7873447192257702, "rel_wql_gmean": 0.5441213074622718}, "univariate": {"n_configs": 54, "rel_mase_gmean": 0.8108062673126668, "rel_wql_gmean": 0.5778349051494306}}}, "control_groups": {"term": {"long": {"n_configs": 21, "rel_mase_gmean": 0.7707957586118519, "rel_wql_gmean": 0.4811201577001369}, "medium": {"n_configs": 21, "rel_mase_gmean": 0.779618755877286, "rel_wql_gmean": 0.5433042239308433}, "short": {"n_configs": 55, "rel_mase_gmean": 0.8170439519805486, "rel_wql_gmean": 0.6091621644447172}}, "domain": {"Econ/Fin": {"n_configs": 6, "rel_mase_gmean": 0.8722234206774022, "rel_wql_gmean": 0.8117570602842299}, "Energy": {"n_configs": 32, "rel_mase_gmean": 0.8947438467938783, "rel_wql_gmean": 0.6785152460589088}, "Healthcare": {"n_configs": 5, "rel_mase_gmean": 0.6486779418840113, "rel_wql_gmean": 0.5987237519655887}, "Nature": {"n_configs": 15, "rel_mase_gmean": 0.93065028071109, "rel_wql_gmean": 0.4513997152587998}, "Sales": {"n_configs": 4, "rel_mase_gmean": 0.7423627428173035, "rel_wql_gmean": 0.5023610195015825}, "Transport": {"n_configs": 15, "rel_mase_gmean": 0.7544059722768195, "rel_wql_gmean": 0.5493110062331005}, "Web/CloudOps": {"n_configs": 20, "rel_mase_gmean": 0.6450703250668249, "rel_wql_gmean": 0.45978977116467806}}, "frequency": {"A": {"n_configs": 1, "rel_mase_gmean": 0.6241575007860913, "rel_wql_gmean": 0.6847120856661988}, "D": {"n_configs": 15, "rel_mase_gmean": 0.842461994316231, "rel_wql_gmean": 0.49795147250110605}, "H": {"n_configs": 31, "rel_mase_gmean": 0.7795524804282207, "rel_wql_gmean": 0.5290387312855092}, "M": {"n_configs": 5, "rel_mase_gmean": 0.83852272258776, "rel_wql_gmean": 0.7941982685846185}, "Q": {"n_configs": 1, "rel_mase_gmean": 0.7797879425916332, "rel_wql_gmean": 0.8309566441120046}, "S": {"n_configs": 6, "rel_mase_gmean": 0.8507345990970113, "rel_wql_gmean": 0.5003107438855952}, "T": {"n_configs": 30, "rel_mase_gmean": 0.761595505116273, "rel_wql_gmean": 0.5997414447915067}, "W": {"n_configs": 8, "rel_mase_gmean": 0.9075462369415759, "rel_wql_gmean": 0.6040409924897451}}, "variates": {"multivariate": {"n_configs": 43, "rel_mase_gmean": 0.7762510882566483, "rel_wql_gmean": 0.5402880481180907}, "univariate": {"n_configs": 54, "rel_mase_gmean": 0.8169534925089487, "rel_wql_gmean": 0.5848561547513397}}}, "group_skill_delta": {"term": {"long": 0.005812611514006916, "medium": -0.008174542804082696, "short": 0.0017123641085390329}, "domain": {"Econ/Fin": -0.008844299279142653, "Energy": -0.001099445470258864, "Healthcare": -0.027483460781127844, "Nature": 0.011432736380813657, "Sales": 0.014681986661862712, "Transport": 0.008159621142753815, "Web/CloudOps": -0.004348432602047758}, "frequency": {"A": 0.0036629778498153964, "D": 0.009858484891494101, "H": 0.007779864837384243, "M": -0.002820376488359866, "Q": 0.00702186103176361, "S": 0.0018393615883330883, "T": -0.00993352383437629, "W": -0.01037362732415148}, "variates": {"multivariate": -0.006920793597771979, "univariate": 0.00675150467418284}}}, {"cutoff": "backcast2_evals", "candidate_skill": 0.35444661828411494, "control_skill": 0.35202854592719945, "delta": 0.0024180723569154905, "candidate_checkpoint": "4b309f0721378f97db815dd511b8b54711348270c48e9eae0103dba506f66708", "control_checkpoint": "227ea80abf17fc81ae191f94e91f6dd7adbc0d837235750b5f5e9cef3dd5472c", "candidate_eval_seconds": 37.01978254318237, "candidate_groups": {"term": {"long": {"n_configs": 19, "rel_mase_gmean": 0.7976728171494729, "rel_wql_gmean": 0.505986773471877}, "medium": {"n_configs": 21, "rel_mase_gmean": 0.7445111571337301, "rel_wql_gmean": 0.5016094284527454}, "short": {"n_configs": 54, "rel_mase_gmean": 0.7711622157830803, "rel_wql_gmean": 0.5703365727610195}}, "domain": {"Econ/Fin": {"n_configs": 6, "rel_mase_gmean": 0.8975554667825396, "rel_wql_gmean": 0.9341521603490976}, "Energy": {"n_configs": 32, "rel_mase_gmean": 0.9206760270548985, "rel_wql_gmean": 0.667618804823773}, "Healthcare": {"n_configs": 5, "rel_mase_gmean": 0.6919618115700997, "rel_wql_gmean": 0.5948146258049856}, "Nature": {"n_configs": 15, "rel_mase_gmean": 0.7625650899322175, "rel_wql_gmean": 0.36716494409035266}, "Sales": {"n_configs": 3, "rel_mase_gmean": 0.5556347498660904, "rel_wql_gmean": 0.34786064925309557}, "Transport": {"n_configs": 14, "rel_mase_gmean": 0.673866744415536, "rel_wql_gmean": 0.5083518004199357}, "Web/CloudOps": {"n_configs": 19, "rel_mase_gmean": 0.6551981916146249, "rel_wql_gmean": 0.4748542668244311}}, "frequency": {"A": {"n_configs": 1, "rel_mase_gmean": 0.5787519818718498, "rel_wql_gmean": 0.7844981001760497}, "D": {"n_configs": 15, "rel_mase_gmean": 0.7352056104105049, "rel_wql_gmean": 0.4543354332978988}, "H": {"n_configs": 30, "rel_mase_gmean": 0.7427452520836458, "rel_wql_gmean": 0.4878342372582966}, "M": {"n_configs": 4, "rel_mase_gmean": 0.8023743225021845, "rel_wql_gmean": 0.8460290740665227}, "Q": {"n_configs": 1, "rel_mase_gmean": 0.8526887579655992, "rel_wql_gmean": 0.8959979481678672}, "S": {"n_configs": 6, "rel_mase_gmean": 0.8820274845786775, "rel_wql_gmean": 0.5495911308103654}, "T": {"n_configs": 29, "rel_mase_gmean": 0.7684405610418609, "rel_wql_gmean": 0.5730170087434493}, "W": {"n_configs": 8, "rel_mase_gmean": 0.8815881366051194, "rel_wql_gmean": 0.6355240520367406}}, "variates": {"multivariate": {"n_configs": 42, "rel_mase_gmean": 0.7757127995672718, "rel_wql_gmean": 0.5253840349065442}, "univariate": {"n_configs": 52, "rel_mase_gmean": 0.7660848132179113, "rel_wql_gmean": 0.5538742475343418}}}, "control_groups": {"term": {"long": {"n_configs": 19, "rel_mase_gmean": 0.7993914938306502, "rel_wql_gmean": 0.5118750835782793}, "medium": {"n_configs": 21, "rel_mase_gmean": 0.7499036235389392, "rel_wql_gmean": 0.5076549719236019}, "short": {"n_configs": 54, "rel_mase_gmean": 0.7704097782971766, "rel_wql_gmean": 0.5713062592973345}}, "domain": {"Econ/Fin": {"n_configs": 6, "rel_mase_gmean": 0.8815921046221019, "rel_wql_gmean": 0.9187815814539992}, "Energy": {"n_configs": 32, "rel_mase_gmean": 0.920339256072892, "rel_wql_gmean": 0.6704665333680074}, "Healthcare": {"n_configs": 5, "rel_mase_gmean": 0.6501582024912718, "rel_wql_gmean": 0.5627569152494311}, "Nature": {"n_configs": 15, "rel_mase_gmean": 0.7745581689862006, "rel_wql_gmean": 0.3822657735243897}, "Sales": {"n_configs": 3, "rel_mase_gmean": 0.564680893551189, "rel_wql_gmean": 0.36069686176729393}, "Transport": {"n_configs": 14, "rel_mase_gmean": 0.6867714219327128, "rel_wql_gmean": 0.5187038356734098}, "Web/CloudOps": {"n_configs": 19, "rel_mase_gmean": 0.6559779306984489, "rel_wql_gmean": 0.4700795832946835}}, "frequency": {"A": {"n_configs": 1, "rel_mase_gmean": 0.5730275474668758, "rel_wql_gmean": 0.757090806020688}, "D": {"n_configs": 15, "rel_mase_gmean": 0.7274640646847123, "rel_wql_gmean": 0.4535589328676016}, "H": {"n_configs": 30, "rel_mase_gmean": 0.753383988535096, "rel_wql_gmean": 0.4956674683856894}, "M": {"n_configs": 4, "rel_mase_gmean": 0.8235108549294832, "rel_wql_gmean": 0.8750079559219315}, "Q": {"n_configs": 1, "rel_mase_gmean": 0.8610057552014395, "rel_wql_gmean": 0.9072883197219879}, "S": {"n_configs": 6, "rel_mase_gmean": 0.8980758705842602, "rel_wql_gmean": 0.5621964897161842}, "T": {"n_configs": 29, "rel_mase_gmean": 0.7550135684916714, "rel_wql_gmean": 0.5666392411392774}, "W": {"n_configs": 8, "rel_mase_gmean": 0.9006457837675473, "rel_wql_gmean": 0.6506166099596051}}, "variates": {"multivariate": {"n_configs": 42, "rel_mase_gmean": 0.7711918037459841, "rel_wql_gmean": 0.5235744450782658}, "univariate": {"n_configs": 52, "rel_mase_gmean": 0.7717812927982146, "rel_wql_gmean": 0.5614676858240594}}}, "group_skill_delta": {"term": {"long": 0.004373934683980396, "medium": 0.0058939988795436715, "short": 0.00023964140672871892}, "domain": {"Econ/Fin": -0.015676227813931742, "Energy": 0.0015265958045205252, "Healthcare": -0.036671028837329644, "Nature": 0.01500070282697652, "Sales": 0.011667530824449268, "Transport": 0.011563450702118394, "Web/CloudOps": -0.0024812276054324567}, "frequency": {"A": -0.015156679474069179, "D": -0.0035424000877311013, "H": 0.00914351432601801, "M": 0.0249563629023416, "Q": 0.009768985062076574, "S": 0.014316589963030868, "T": -0.009493543315407305, "W": 0.016977941321857815}, "variates": {"multivariate": -0.0029602108510423664, "univariate": 0.006883862947969943}}}, {"cutoff": "backcast3_evals", "candidate_skill": 0.37694492908462107, "control_skill": 0.37292052340404636, "delta": 0.004024405680574716, "candidate_checkpoint": "4b309f0721378f97db815dd511b8b54711348270c48e9eae0103dba506f66708", "control_checkpoint": "227ea80abf17fc81ae191f94e91f6dd7adbc0d837235750b5f5e9cef3dd5472c", "candidate_eval_seconds": 35.036269426345825, "candidate_groups": {"term": {"long": {"n_configs": 19, "rel_mase_gmean": 0.7658385741964567, "rel_wql_gmean": 0.4818232852146461}, "medium": {"n_configs": 20, "rel_mase_gmean": 0.7621207269332833, "rel_wql_gmean": 0.541345803993662}, "short": {"n_configs": 54, "rel_mase_gmean": 0.7296975085741515, "rel_wql_gmean": 0.5294998607520116}}, "domain": {"Econ/Fin": {"n_configs": 6, "rel_mase_gmean": 0.8554264068111, "rel_wql_gmean": 0.8561009458940219}, "Energy": {"n_configs": 32, "rel_mase_gmean": 0.8461176695933341, "rel_wql_gmean": 0.5734895113400391}, "Healthcare": {"n_configs": 5, "rel_mase_gmean": 0.8355182133032761, "rel_wql_gmean": 0.6647408723860411}, "Nature": {"n_configs": 15, "rel_mase_gmean": 0.7087090510245987, "rel_wql_gmean": 0.35163339390109044}, "Sales": {"n_configs": 3, "rel_mase_gmean": 0.7664128435663117, "rel_wql_gmean": 0.4883936584348033}, "Transport": {"n_configs": 14, "rel_mase_gmean": 0.5573530975386383, "rel_wql_gmean": 0.46350372491675684}, "Web/CloudOps": {"n_configs": 18, "rel_mase_gmean": 0.7090246239649078, "rel_wql_gmean": 0.5390611955065782}}, "frequency": {"A": {"n_configs": 1, "rel_mase_gmean": 0.5451707093102802, "rel_wql_gmean": 0.8393479649599734}, "D": {"n_configs": 15, "rel_mase_gmean": 0.748900690253608, "rel_wql_gmean": 0.44304372232704237}, "H": {"n_configs": 29, "rel_mase_gmean": 0.7295337704253406, "rel_wql_gmean": 0.49749123108051385}, "M": {"n_configs": 4, "rel_mase_gmean": 0.8581875045945365, "rel_wql_gmean": 0.8436023416342614}, "Q": {"n_configs": 1, "rel_mase_gmean": 0.726420044081459, "rel_wql_gmean": 0.7772477798971246}, "S": {"n_configs": 6, "rel_mase_gmean": 0.837724352097228, "rel_wql_gmean": 0.6168745642998132}, "T": {"n_configs": 29, "rel_mase_gmean": 0.7079614722927914, "rel_wql_gmean": 0.48512546535474943}, "W": {"n_configs": 8, "rel_mase_gmean": 0.8373322410903229, "rel_wql_gmean": 0.6838410061705863}}, "variates": {"multivariate": {"n_configs": 41, "rel_mase_gmean": 0.7722787983099972, "rel_wql_gmean": 0.5375490141625122}, "univariate": {"n_configs": 52, "rel_mase_gmean": 0.7221958371110637, "rel_wql_gmean": 0.5098268016218866}}}, "control_groups": {"term": {"long": {"n_configs": 19, "rel_mase_gmean": 0.778439210250305, "rel_wql_gmean": 0.49273006835962047}, "medium": {"n_configs": 20, "rel_mase_gmean": 0.7543591675058114, "rel_wql_gmean": 0.5336114555873182}, "short": {"n_configs": 54, "rel_mase_gmean": 0.7410759417262284, "rel_wql_gmean": 0.5306695859227978}}, "domain": {"Econ/Fin": {"n_configs": 6, "rel_mase_gmean": 0.8417532075173881, "rel_wql_gmean": 0.845937573328201}, "Energy": {"n_configs": 32, "rel_mase_gmean": 0.8479297958628922, "rel_wql_gmean": 0.5713250153301629}, "Healthcare": {"n_configs": 5, "rel_mase_gmean": 0.8731181567001823, "rel_wql_gmean": 0.7062780184682419}, "Nature": {"n_configs": 15, "rel_mase_gmean": 0.7270655135819668, "rel_wql_gmean": 0.35387222781116245}, "Sales": {"n_configs": 3, "rel_mase_gmean": 0.7847661053470236, "rel_wql_gmean": 0.5044137986032409}, "Transport": {"n_configs": 14, "rel_mase_gmean": 0.5682067850777656, "rel_wql_gmean": 0.4723998126869398}, "Web/CloudOps": {"n_configs": 18, "rel_mase_gmean": 0.7099877343724879, "rel_wql_gmean": 0.5298000345996671}}, "frequency": {"A": {"n_configs": 1, "rel_mase_gmean": 0.5442290559778864, "rel_wql_gmean": 0.8446584386780612}, "D": {"n_configs": 15, "rel_mase_gmean": 0.7841644844236885, "rel_wql_gmean": 0.45301801369927336}, "H": {"n_configs": 29, "rel_mase_gmean": 0.7364988058949682, "rel_wql_gmean": 0.5033340588432017}, "M": {"n_configs": 4, "rel_mase_gmean": 0.8691738414068243, "rel_wql_gmean": 0.8678518341048217}, "Q": {"n_configs": 1, "rel_mase_gmean": 0.7280932255410748, "rel_wql_gmean": 0.7727291093550366}, "S": {"n_configs": 6, "rel_mase_gmean": 0.8609187156813392, "rel_wql_gmean": 0.6295058615351511}, "T": {"n_configs": 29, "rel_mase_gmean": 0.7042489928814539, "rel_wql_gmean": 0.4735497097280189}, "W": {"n_configs": 8, "rel_mase_gmean": 0.8282027876303875, "rel_wql_gmean": 0.6880431539037373}}, "variates": {"multivariate": {"n_configs": 41, "rel_mase_gmean": 0.7803099495695505, "rel_wql_gmean": 0.5354633301386752}, "univariate": {"n_configs": 52, "rel_mase_gmean": 0.7294079779755795, "rel_wql_gmean": 0.5139221776313134}}}, "group_skill_delta": {"term": {"long": 0.011869775603998267, "medium": -0.007860570510044074, "short": 0.005519126639915051}, "domain": {"Econ/Fin": -0.011920813092652138, "Energy": -0.0005716636937260766, "Healthcare": 0.04002595173089485, "Nature": 0.008030797217410623, "Sales": 0.017353861313399666, "Transport": 0.009826512199164195, "Web/CloudOps": -0.004917524701466669}, "frequency": {"A": 0.0015502464416283779, "D": 0.020003525013045476, "H": 0.0064131880499218585, "M": 0.017648914155616424, "Q": -0.0013250474371234722, "S": 0.01730707641566598, "T": -0.008554281574410072, "W": -0.0018277967125029937}, "variates": {"multivariate": 0.002083862910990164, "univariate": 0.0054666786327863814}}}], "mean_delta": 0.0017476629199747462, "positive_cutoffs": 4, "outcome": "Declared comparison checkpoints 48000,96000. No transfer formula or automatic publication is selected by this controller."} + +2026-10-23T23:43:39.057939+00:00: E158 fixed gates passed and one replacement queue created {"utc": "2026-10-23T23:43:38.598980+00:00", "queue_pid": 9771, "watch_pid": 9772, "comparison_pid": 9773, "wait_pid": 959, "command": ["python3", "/workspace/research/recovery/train.py", "--code-dir", "/workspace/research/random_capacity_seasonal_width", "--packed", "/workspace/research/packed_sample", "--source-weights-from", "/workspace/research/packed_sample", "--out", "/workspace/research/runs/random_capacity_seasonal_width", "--initialize-from", "/workspace/research/random_capacity_seasonal_width_initial.pt", "--steps", "96000", "--batch", "48", "--lr", ".0002", "--seed", "307", "--loss-mode", "paired", "--compile-loss", "--stop-file", "/workspace/research/random_capacity_seasonal_width.stop"], "initial_sha256": "4df8f10656f5b8ad45310fb385a64aafe66c764879c90483d7c24b338257f9de", "source_positive": 4, "source_mean_delta": 0.0017476629199747462}. No extra concurrent main allocation, no automatic publication. + +2026-10-23T23:43:40.803435+00:00: E157 fixed gates passed and two replacement queues created {"utc": "2026-10-23T23:43:40.398228+00:00", "arms": [{"name": "random_capacity_long_seasonal_halflr", "code": "random_capacity_long_seasonal", "allocation": "visibility_curriculum", "control": "random_capacity_1024_halflr", "distill": false, "queue_pid": 9775, "watch_pid": 9776, "comparison_pid": 9777, "wait_pid": 958, "command": ["python3", "/workspace/research/recovery/train.py", "--code-dir", "/workspace/research/random_capacity_long_seasonal", "--packed", "/workspace/research/packed_sample", "--source-weights-from", "/workspace/research/packed_sample", "--out", "/workspace/research/runs/random_capacity_long_seasonal_halflr", "--initialize-from", "/workspace/research/random_capacity_long_seasonal_initial.pt", "--steps", "96000", "--batch", "48", "--lr", ".0001", "--seed", "307", "--loss-mode", "paired", "--compile-loss", "--stop-file", "/workspace/research/random_capacity_long_seasonal_halflr.stop"]}, {"name": "random_capacity_long_seasonal_distill", "code": "random_capacity_long_seasonal_distill", "allocation": "random_capacity_full_highlr", "control": "distill_ensemble", "distill": true, "queue_pid": 9779, "watch_pid": 9780, "comparison_pid": 9781, "wait_pid": 963, "command": ["python3", "/workspace/research/recovery/train.py", "--code-dir", "/workspace/research/random_capacity_long_seasonal_distill", "--packed", "/workspace/research/packed_sample", "--source-weights-from", "/workspace/research/packed_sample", "--out", "/workspace/research/runs/random_capacity_long_seasonal_distill", "--initialize-from", "/workspace/research/random_capacity_long_seasonal_initial.pt", "--steps", "96000", "--batch", "48", "--lr", ".0001", "--seed", "307", "--loss-mode", "paired", "--compile-loss", "--stop-file", "/workspace/research/random_capacity_long_seasonal_distill.stop", "--teacher-package", "/workspace/research/distill_teacher_E96", "--teacher-coefficient", ".5"]}], "factorial_pid": 9782, "source_gate": {"positive": 4, "mean_delta": 0.0017476629199747462}}. No extra concurrent main allocation, no teacher refresh, no automatic publication. + +2026-10-23T23:43:59.006637+00:00: E156 fixed matched freshseasonal quartet {"step": 48000, "status": "probes complete; review required", "rows": [{"cutoff": "valid_screen", "skill": 0.3884827237421198, "matched_control_skill": 0.3880940716647685, "frozen_parent_skill": 0.3882279509777624, "delta_matched": 0.0003886520773512814, "delta_frozen_parent": 0.0002547727643573694, "groups": {"term": {"short": 0.37175546123788417, "medium": 0.4121126794713853, "long": 0.407309243747768}, "domain": {"Econ/Fin": 0.1494040428288329, "Energy": 0.24759146960316492, "Healthcare": 0.4748437524555713, "Nature": 0.44547275398854125, "Sales": 0.3473067761767745, "Transport": 0.4761146682503219, "Web/CloudOps": 0.5074434339770538}, "freq": {"A-DEC": 0.3803682521415901, "Q-DEC": 0.20587834879569644, "M": 0.11960515204240285, "W-SUN": 0.0958997838800476, "D": 0.3763680763303797, "H": 0.40441241621165236, "15T": 0.21961661301252822, "W-FRI": 0.02092687235471835, "10T": 0.6243350514947908, "W-TUE": 0.5948065663040045, "W-THU": 0.22366889817571223, "W-WED": 0.3260259417005016, "5T": 0.5212586257805983, "10S": 0.42522354473287516}}, "group_deltas_vs_frozen_parent": {"term": {"short": -0.0005463090154046446, "medium": 0.0011820034709266736, "long": 0.0013017264869816803}, "domain": {"Econ/Fin": 0.0003907580682265266, "Energy": 0.00019111636441426771, "Healthcare": -0.020225526855012332, "Nature": 0.004107273927040356, "Sales": 0.0026966044176160997, "Transport": 0.003505030001742848, "Web/CloudOps": -3.233333181118514e-05}, "freq": {"A-DEC": -0.0032823202576205412, "Q-DEC": -0.00018900770733443206, "M": -0.007217293994838392, "W-SUN": 0.006214126619495275, "D": 0.00423341175425318, "H": 0.0008245414308727383, "15T": 0.0017291823648597493, "W-FRI": 0.0005666127346578564, "10T": -0.0007331127366035917, "W-TUE": -0.04673497423794226, "W-THU": 0.005739420779396487, "W-WED": -0.0010591197526882423, "5T": 0.0003773288234530936, "10S": 0.001195763021130003}}, "member_checkpoint_hashes": ["0b11b7351a4a92d1d18c71a4159ec445be3a94ace8c7a9fa0edafad87d14e960", "308389b7217c080af9eb185559d4ee3cafa0f3e0f8c4dd8f5526b68198c89988", "1a2fb20a9fb5cae6526f2e36ea47559626bece78fd9c284899836505030ae9fe", "4b309f0721378f97db815dd511b8b54711348270c48e9eae0103dba506f66708"], "control_member_checkpoint_hashes": ["0b11b7351a4a92d1d18c71a4159ec445be3a94ace8c7a9fa0edafad87d14e960", "308389b7217c080af9eb185559d4ee3cafa0f3e0f8c4dd8f5526b68198c89988", "1a2fb20a9fb5cae6526f2e36ea47559626bece78fd9c284899836505030ae9fe", "227ea80abf17fc81ae191f94e91f6dd7adbc0d837235750b5f5e9cef3dd5472c"], "candidate_cpu_seconds": 1.4819808711763471, "control_cpu_seconds": 1.8767715829890221}, {"cutoff": "valid_backcast", "skill": 0.3454756856430493, "matched_control_skill": 0.3448104609077517, "frozen_parent_skill": 0.3456661156587746, "delta_matched": 0.0006652247352976204, "delta_frozen_parent": -0.00019043001572527363, "groups": {"term": {"short": 0.31400022582482523, "medium": 0.36141583483184536, "long": 0.40678845169707234}, "domain": {"Econ/Fin": 0.1789224583520661, "Energy": 0.23615121596987265, "Healthcare": 0.39748846563594786, "Nature": 0.383232931197516, "Sales": 0.411083069159343, "Transport": 0.37924269866168514, "Web/CloudOps": 0.45821301729032693}, "freq": {"A-DEC": 0.33632741509693787, "Q-DEC": 0.2342268198901596, "M": 0.19577102808645774, "W-SUN": 0.05165524566718782, "D": 0.3652663795926221, "H": 0.37780395680713175, "15T": 0.22292266212134093, "W-FRI": 0.24652778574116818, "10T": 0.3285018605119302, "W-TUE": 0.527694492707586, "W-THU": 0.26811480808427735, "W-WED": 0.35959985333989386, "5T": 0.4450307637778198, "10S": 0.35010464573626376}}, "group_deltas_vs_frozen_parent": {"term": {"short": 0.0009308575217097381, "medium": -0.0026800127646112726, "long": -0.0004091242556559793}, "domain": {"Econ/Fin": -0.0015128164333835237, "Energy": 0.001335812025358929, "Healthcare": -0.009946821170160658, "Nature": 0.0019296864533882019, "Sales": 0.003558844641468606, "Transport": 0.0015778316156390693, "Web/CloudOps": -0.002671840599080655}, "freq": {"A-DEC": 0.004546290209003878, "Q-DEC": -0.0030149117788984547, "M": 0.008293019109708144, "W-SUN": 0.005728938813967521, "D": 0.0010773666051392405, "H": 0.001435290433855374, "15T": -0.00022491102248778372, "W-FRI": 0.005122867381552654, "10T": -0.006981870419685343, "W-TUE": -0.02377209581754247, "W-THU": 0.0003967436655395451, "W-WED": -0.0028727780487273202, "5T": -0.003698664542412078, "10S": 0.00022711508678852077}}, "member_checkpoint_hashes": ["0b11b7351a4a92d1d18c71a4159ec445be3a94ace8c7a9fa0edafad87d14e960", "308389b7217c080af9eb185559d4ee3cafa0f3e0f8c4dd8f5526b68198c89988", "1a2fb20a9fb5cae6526f2e36ea47559626bece78fd9c284899836505030ae9fe", "4b309f0721378f97db815dd511b8b54711348270c48e9eae0103dba506f66708"], "control_member_checkpoint_hashes": ["0b11b7351a4a92d1d18c71a4159ec445be3a94ace8c7a9fa0edafad87d14e960", "308389b7217c080af9eb185559d4ee3cafa0f3e0f8c4dd8f5526b68198c89988", "1a2fb20a9fb5cae6526f2e36ea47559626bece78fd9c284899836505030ae9fe", "227ea80abf17fc81ae191f94e91f6dd7adbc0d837235750b5f5e9cef3dd5472c"], "candidate_cpu_seconds": 2.1622358430176973, "control_cpu_seconds": 2.174529522191733}, {"cutoff": "valid_backcast2", "skill": 0.36974259695273815, "matched_control_skill": 0.36880549401636464, "frozen_parent_skill": 0.36966272417010304, "delta_matched": 0.0009371029363735017, "delta_frozen_parent": 7.987278263510422e-05, "groups": {"term": {"short": 0.3563042602700419, "medium": 0.3991646959437488, "long": 0.37421565105444055}, "domain": {"Econ/Fin": 0.12349125931048321, "Energy": 0.2405865202511943, "Healthcare": 0.3633302638996111, "Nature": 0.4861866354535641, "Sales": 0.5622879257147596, "Transport": 0.43059508373565625, "Web/CloudOps": 0.4449890058740731}, "freq": {"A-DEC": 0.33519698491100003, "Q-DEC": 0.1544324389465903, "M": 0.17399121831737074, "W-SUN": 0.07017176464656938, "D": 0.4358003287534622, "H": 0.40249702439792057, "15T": 0.10506627589852569, "W-FRI": 0.15084184926041488, "10T": 0.5079154926516509, "W-TUE": 0.1836087957650795, "W-THU": 0.3504842023989858, "W-WED": 0.5611297576316132, "5T": 0.47473294130289223, "10S": 0.2946765288491219}}, "group_deltas_vs_frozen_parent": {"term": {"short": 2.683295521566098e-05, "medium": 0.0002120102196754292, "long": 7.418239698075979e-05}, "domain": {"Econ/Fin": -0.004016640250581571, "Energy": -0.00017831201033979838, "Healthcare": 0.0011606156036800819, "Nature": 0.003917506615651933, "Sales": 0.003045228528495314, "Transport": 0.0027118153700189662, "Web/CloudOps": -0.004751757370548337}, "freq": {"A-DEC": -0.0029891944470493703, "Q-DEC": -0.0011512516748052315, "M": 0.004867533739333463, "W-SUN": -0.002415073750434593, "D": 0.0004530004228805451, "H": 0.0019032342039122518, "15T": -0.001261354711584839, "W-FRI": 0.0057239362151426665, "10T": -0.001180622759771155, "W-TUE": 0.029795737292276137, "W-THU": 0.009179909380116036, "W-WED": 0.000731763986543843, "5T": -0.008928254825045334, "10S": 0.0037755730328892234}}, "member_checkpoint_hashes": ["0b11b7351a4a92d1d18c71a4159ec445be3a94ace8c7a9fa0edafad87d14e960", "308389b7217c080af9eb185559d4ee3cafa0f3e0f8c4dd8f5526b68198c89988", "1a2fb20a9fb5cae6526f2e36ea47559626bece78fd9c284899836505030ae9fe", "4b309f0721378f97db815dd511b8b54711348270c48e9eae0103dba506f66708"], "control_member_checkpoint_hashes": ["0b11b7351a4a92d1d18c71a4159ec445be3a94ace8c7a9fa0edafad87d14e960", "308389b7217c080af9eb185559d4ee3cafa0f3e0f8c4dd8f5526b68198c89988", "1a2fb20a9fb5cae6526f2e36ea47559626bece78fd9c284899836505030ae9fe", "227ea80abf17fc81ae191f94e91f6dd7adbc0d837235750b5f5e9cef3dd5472c"], "candidate_cpu_seconds": 1.8683738680556417, "control_cpu_seconds": 2.403242425993085}, {"cutoff": "valid_backcast3", "skill": 0.3928046841298739, "matched_control_skill": 0.3916700540609932, "frozen_parent_skill": 0.3921296782846404, "delta_matched": 0.0011346300688807043, "delta_frozen_parent": 0.0006750058452335006, "groups": {"term": {"short": 0.398197961485398, "medium": 0.370754378690184, "long": 0.40016233011680635}, "domain": {"Econ/Fin": 0.18628102804587432, "Energy": 0.31978783186250936, "Healthcare": 0.24546848409137223, "Nature": 0.5109345281820904, "Sales": 0.4034136269438964, "Transport": 0.5121940523222168, "Web/CloudOps": 0.39661479694752044}, "freq": {"A-DEC": 0.35271656913538485, "Q-DEC": 0.26087310637429606, "M": 0.15461821850379376, "W-SUN": 0.17033886978959112, "D": 0.44644282945359226, "H": 0.4095573340541696, "15T": 0.2609163841412765, "W-FRI": 0.04235310345178378, "10T": 0.6017991701940406, "W-TUE": 0.2766450296189775, "W-THU": 0.3537092106349373, "W-WED": 0.3693456628063495, "5T": 0.4663318024573657, "10S": 0.2934955500841053}}, "group_deltas_vs_frozen_parent": {"term": {"short": 0.0017265154169157082, "medium": -0.0024257331727309817, "long": 0.0008175379797679128}, "domain": {"Econ/Fin": -0.005233807029128679, "Energy": 0.00263805550120888, "Healthcare": 0.011399363571671373, "Nature": 0.0021572158438912803, "Sales": 0.0010037030709160177, "Transport": 0.0019789877811106082, "Web/CloudOps": -0.006154344510348242}, "freq": {"A-DEC": -0.010571420426091827, "Q-DEC": -0.002694184333410843, "M": 0.008458113692518254, "W-SUN": 0.00010386638225823308, "D": 0.006202218667290871, "H": 0.0015101445557933468, "15T": 0.0028029070095871855, "W-FRI": -0.001788362700379964, "10T": -0.0018248449622322305, "W-TUE": -0.011301829675882447, "W-THU": 0.006237379317046043, "W-WED": -0.004787847805622136, "5T": -0.00739625631921792, "10S": -0.0007081989311275017}}, "member_checkpoint_hashes": ["0b11b7351a4a92d1d18c71a4159ec445be3a94ace8c7a9fa0edafad87d14e960", "308389b7217c080af9eb185559d4ee3cafa0f3e0f8c4dd8f5526b68198c89988", "1a2fb20a9fb5cae6526f2e36ea47559626bece78fd9c284899836505030ae9fe", "4b309f0721378f97db815dd511b8b54711348270c48e9eae0103dba506f66708"], "control_member_checkpoint_hashes": ["0b11b7351a4a92d1d18c71a4159ec445be3a94ace8c7a9fa0edafad87d14e960", "308389b7217c080af9eb185559d4ee3cafa0f3e0f8c4dd8f5526b68198c89988", "1a2fb20a9fb5cae6526f2e36ea47559626bece78fd9c284899836505030ae9fe", "227ea80abf17fc81ae191f94e91f6dd7adbc0d837235750b5f5e9cef3dd5472c"], "candidate_cpu_seconds": 1.6981986118480563, "control_cpu_seconds": 1.9743664348497987}], "source_checkpoint_hashes": {"control": "227ea80abf17fc81ae191f94e91f6dd7adbc0d837235750b5f5e9cef3dd5472c", "candidate": "4b309f0721378f97db815dd511b8b54711348270c48e9eae0103dba506f66708"}, "positive_matched": 4, "mean_delta_matched": 0.0007814024544757769, "positive_frozen_parent": 3, "mean_delta_frozen_parent": 0.00020480534412517515, "optimizer_updates": 0, "new_neural_inference": false, "selection_gate_passed": true}. Then-current publication, full replay and runtime checks still required; no automatic publication. + +2026-10-23T23:45:07.118437+00:00: E131primary48review {"utc": "2026-10-23T23:45:07.118437+00:00", "experiment": "E131", "step": 48000, "positive_cutoffs": 4, "mean_delta": 0.0017476629199747462, "candidate_sha256": "4b309f0721378f97db815dd511b8b54711348270c48e9eae0103dba506f66708", "rows": [{"cutoff": "evals", "skill": 0.36858681208190924, "delta": 4.337758131511826e-05, "group_skill_delta": {"term": {"long": 0.00033585403177016637, "medium": 0.007634248728160542, "short": -0.003181185337504888}, "domain": {"Econ/Fin": 0.002874386172839527, "Energy": -0.003727343120378479, "Healthcare": -0.03731052767372156, "Nature": 0.006685352875759776, "Sales": 0.017340899186546244, "Transport": 0.011513442259472706, "Web/CloudOps": -0.0032449069627558114}, "frequency": {"A": -0.008496305111746816, "D": 0.006650466502328256, "H": 0.006333065851141018, "M": -0.016884059054822043, "Q": 0.00505785980625395, "S": 0.006217966528486496, "T": -0.0053859147858204, "W": -0.014829282112795994}, "variates": {"multivariate": 0.003374530590659619, "univariate": -0.0027189807771604846}}}, {"cutoff": "backcast_evals", "skill": 0.32896204139583196, "delta": 0.0005047960610936597, "group_skill_delta": {"term": {"long": 0.005812611514006916, "medium": -0.008174542804082696, "short": 0.0017123641085390329}, "domain": {"Econ/Fin": -0.008844299279142653, "Energy": -0.001099445470258864, "Healthcare": -0.027483460781127844, "Nature": 0.011432736380813657, "Sales": 0.014681986661862712, "Transport": 0.008159621142753815, "Web/CloudOps": -0.004348432602047758}, "frequency": {"A": 0.0036629778498153964, "D": 0.009858484891494101, "H": 0.007779864837384243, "M": -0.002820376488359866, "Q": 0.00702186103176361, "S": 0.0018393615883330883, "T": -0.00993352383437629, "W": -0.01037362732415148}, "variates": {"multivariate": -0.006920793597771979, "univariate": 0.00675150467418284}}}, {"cutoff": "backcast2_evals", "skill": 0.35444661828411494, "delta": 0.0024180723569154905, "group_skill_delta": {"term": {"long": 0.004373934683980396, "medium": 0.0058939988795436715, "short": 0.00023964140672871892}, "domain": {"Econ/Fin": -0.015676227813931742, "Energy": 0.0015265958045205252, "Healthcare": -0.036671028837329644, "Nature": 0.01500070282697652, "Sales": 0.011667530824449268, "Transport": 0.011563450702118394, "Web/CloudOps": -0.0024812276054324567}, "frequency": {"A": -0.015156679474069179, "D": -0.0035424000877311013, "H": 0.00914351432601801, "M": 0.0249563629023416, "Q": 0.009768985062076574, "S": 0.014316589963030868, "T": -0.009493543315407305, "W": 0.016977941321857815}, "variates": {"multivariate": -0.0029602108510423664, "univariate": 0.006883862947969943}}}, {"cutoff": "backcast3_evals", "skill": 0.37694492908462107, "delta": 0.004024405680574716, "group_skill_delta": {"term": {"long": 0.011869775603998267, "medium": -0.007860570510044074, "short": 0.005519126639915051}, "domain": {"Econ/Fin": -0.011920813092652138, "Energy": -0.0005716636937260766, "Healthcare": 0.04002595173089485, "Nature": 0.008030797217410623, "Sales": 0.017353861313399666, "Transport": 0.009826512199164195, "Web/CloudOps": -0.004917524701466669}, "frequency": {"A": 0.0015502464416283779, "D": 0.020003525013045476, "H": 0.0064131880499218585, "M": 0.017648914155616424, "Q": -0.0013250474371234722, "S": 0.01730707641566598, "T": -0.008554281574410072, "W": -0.0018277967125029937}, "variates": {"multivariate": 0.002083862910990164, "univariate": 0.0054666786327863814}}}], "outcome": "Primary48k4of4positive. Fixed E156 ensemble probes and predeclared E157/E158 source gates authorized; original96000training remains unchanged."} + +2026-10-23T23:45:07.118437+00:00: E156primary quartet versus then-current publication {"utc": "2026-10-23T23:45:07.118437+00:00", "step": 48000, "current_descriptor": "85c52464a7bc064e926ff0aa48fd2d94c39af985932e9d752026486a70860742", "matched_positive": 4, "matched_mean_delta": 0.0007814024544757769, "frozen_E148_positive": 3, "frozen_E148_mean_delta": 0.00020480534412517515, "current_deltas": [0.00012606421643102106, -5.2334192589320594e-05, -1.593901556973254e-05, 0.000559806911205829], "current_positive": 2, "current_mean_delta": 0.00015439947986944924, "outcome": "Fixed whole-quartet replacement fails then-current3of4 gate despite positive mean; no full replay or publication. Original96k source and quartet comparison remain scheduled."} + +## E159 equal blend of current and seasonal48 quartet — declared 2026-10-23T23:45:41.890259+00:00 +{"declared_utc": "2026-10-23T23:45:41.890259+00:00", "status": "declared; cached probes pending", "hypothesis": "E131seasonal48improves all4 matched source cutoffs, and E156fixedquartet has positive mean versuscurrentE154 but only2positivecutoffs. Equal pooling may exploit different errors without replacing the entire fourth contribution.", "frozen_parent_descriptor": "85c52464a7bc064e926ff0aa48fd2d94c39af985932e9d752026486a70860742", "comparison": "/workspace/research/valid-report-horizon-patch8-routing.json", "member_checkpoint_hashes": ["0b11b7351a4a92d1d18c71a4159ec445be3a94ace8c7a9fa0edafad87d14e960", "308389b7217c080af9eb185559d4ee3cafa0f3e0f8c4dd8f5526b68198c89988", "1a2fb20a9fb5cae6526f2e36ea47559626bece78fd9c284899836505030ae9fe", "d7cfcd72c3cb84aa69e447b76c4c3ab98c21b7c600a463f0b805f4b4300baf33", "2877a38b94a7d77a53a9df410349cecc2f6ab134c83a76744924543bbe73eb17", "4b309f0721378f97db815dd511b8b54711348270c48e9eae0103dba506f66708"], "member_names": ["seasonal_width_transfer12k", "patch8_ema6000", "split_patch_ema12000", "random_capacity_1024_ema96000", "capacity_patch8_candidate_ema6000", "random_capacity_long_seasonal_ema48000"], "parameters": 549426472, "formula": "Compute all6 experts for every instance. A=(F0+F1+F2+F[4 if H>=720 else3])/4 in orderedFP32, exactlyE154. B=(F0+F1+F2+F5)/4 in orderedFP32, exactlyE156primary48. Output=(A+B)/2 in FP32. No extra projection.", "weights_below_threshold": [0.25, 0.25, 0.25, 0.125, 0, 0.125], "weights_at_or_above_threshold": [0.25, 0.25, 0.25, 0, 0.125, 0.125], "horizon_threshold": 720, "blend_coefficient": 0.5, "new_training": false, "seeds": "Inherited immutable scratch parents; latest sixth expertE131seed307/B48/LR2e-4/original96k, selected48000; no optimizer or new inference seed in cached probes.", "selection": "One fixed50:50 composition, no coefficient/threshold/checkpoint sweep. Require>=3positivecutoffs and positive mean against frozen/currentE154 before full97replay; require fullimprovement/currentcheck plus six-member actualforward, independentcomposition, finiteordered, relocation and deterministic replay checks before atomicpublication.", "adaptive_validation_selection": true} + +2026-10-23T23:45:53.198676+00:00: E159 fixed equal-pool probes {"declaration": {"declared_utc": "2026-10-23T23:45:41.890259+00:00", "status": "declared; cached probes pending", "hypothesis": "E131seasonal48improves all4 matched source cutoffs, and E156fixedquartet has positive mean versuscurrentE154 but only2positivecutoffs. Equal pooling may exploit different errors without replacing the entire fourth contribution.", "frozen_parent_descriptor": "85c52464a7bc064e926ff0aa48fd2d94c39af985932e9d752026486a70860742", "comparison": "/workspace/research/valid-report-horizon-patch8-routing.json", "member_checkpoint_hashes": ["0b11b7351a4a92d1d18c71a4159ec445be3a94ace8c7a9fa0edafad87d14e960", "308389b7217c080af9eb185559d4ee3cafa0f3e0f8c4dd8f5526b68198c89988", "1a2fb20a9fb5cae6526f2e36ea47559626bece78fd9c284899836505030ae9fe", "d7cfcd72c3cb84aa69e447b76c4c3ab98c21b7c600a463f0b805f4b4300baf33", "2877a38b94a7d77a53a9df410349cecc2f6ab134c83a76744924543bbe73eb17", "4b309f0721378f97db815dd511b8b54711348270c48e9eae0103dba506f66708"], "member_names": ["seasonal_width_transfer12k", "patch8_ema6000", "split_patch_ema12000", "random_capacity_1024_ema96000", "capacity_patch8_candidate_ema6000", "random_capacity_long_seasonal_ema48000"], "parameters": 549426472, "formula": "Compute all6 experts for every instance. A=(F0+F1+F2+F[4 if H>=720 else3])/4 in orderedFP32, exactlyE154. B=(F0+F1+F2+F5)/4 in orderedFP32, exactlyE156primary48. Output=(A+B)/2 in FP32. No extra projection.", "weights_below_threshold": [0.25, 0.25, 0.25, 0.125, 0, 0.125], "weights_at_or_above_threshold": [0.25, 0.25, 0.25, 0, 0.125, 0.125], "horizon_threshold": 720, "blend_coefficient": 0.5, "new_training": false, "seeds": "Inherited immutable scratch parents; latest sixth expertE131seed307/B48/LR2e-4/original96k, selected48000; no optimizer or new inference seed in cached probes.", "selection": "One fixed50:50 composition, no coefficient/threshold/checkpoint sweep. Require>=3positivecutoffs and positive mean against frozen/currentE154 before full97replay; require fullimprovement/currentcheck plus six-member actualforward, independentcomposition, finiteordered, relocation and deterministic replay checks before atomicpublication.", "adaptive_validation_selection": true}, "rows": [{"cutoff": "valid_screen", "skill": 0.38873378968262917, "control_skill": 0.38835665952568876, "delta": 0.0003771301569404084, "groups": {"term": {"short": 0.3723840065159828, "medium": 0.4117603306162815, "long": 0.4072347682370595}, "domain": {"Econ/Fin": 0.14950932036161213, "Energy": 0.24805835090474992, "Healthcare": 0.48511056158501653, "Nature": 0.4436127832514566, "Sales": 0.3462159163658224, "Transport": 0.4750239708674263, "Web/CloudOps": 0.507655524509176}, "freq": {"A-DEC": 0.38218587952790684, "Q-DEC": 0.2062069181760091, "M": 0.12349855113988906, "W-SUN": 0.0932240327300734, "D": 0.3745926048765462, "H": 0.40453146169845056, "15T": 0.219115967452298, "W-FRI": 0.020772965956543876, "10T": 0.6253023556342118, "W-TUE": 0.6183814969251445, "W-THU": 0.22111355511556097, "W-WED": 0.32685196504790215, "5T": 0.5211605596305169, "10S": 0.4249754471940248}}, "group_deltas": {"term": {"short": 8.223626269399098e-05, "medium": 0.0008296546158228502, "long": 0.0006502376923989139}, "domain": {"Econ/Fin": 0.000496035601005751, "Energy": 0.00030121876702948747, "Healthcare": -0.009958717725567112, "Nature": 0.0023213769789781624, "Sales": 0.0016057446066639613, "Transport": 0.0018001968314244055, "Web/CloudOps": 0.00043230208038091966}, "freq": {"A-DEC": -0.0014646928713037966, "Q-DEC": 0.00013956167297823896, "M": -0.0033238948973521865, "W-SUN": 0.003538375469521071, "D": 0.002457940300419681, "H": 0.0003502824416823369, "15T": 0.0014427336851007277, "W-FRI": 0.0004127063364833816, "10T": -0.00014029048020036683, "W-TUE": -0.02316004361680224, "W-THU": 0.0031840777192452263, "W-WED": -0.0002330964052876805, "5T": 0.0010614045823067464, "10S": 0.0003317484283376082}}, "cpu_seconds": 2.6119764919858426}, {"cutoff": "valid_backcast", "skill": 0.3457740680188046, "control_skill": 0.34552801983563863, "delta": 0.0002460481831659811, "groups": {"term": {"short": 0.313837714253698, "medium": 0.36297355851292123, "long": 0.40695704732772764}, "domain": {"Econ/Fin": 0.17999244113352064, "Energy": 0.23558207704361234, "Healthcare": 0.40258200531476385, "Nature": 0.3826675209467334, "Sales": 0.40953259019210075, "Transport": 0.37860469288195364, "Web/CloudOps": 0.45976739520152843}, "freq": {"A-DEC": 0.3342680998029023, "Q-DEC": 0.23592619159861894, "M": 0.1918188747329337, "W-SUN": 0.04928446011145071, "D": 0.36499459253353705, "H": 0.3770993865390674, "15T": 0.22350539249382817, "W-FRI": 0.2441081444689388, "10T": 0.33221221031678483, "W-TUE": 0.5395777024266498, "W-THU": 0.26887351426177586, "W-WED": 0.3611989673089747, "5T": 0.4471085787572342, "10S": 0.35028651074003714}}, "group_deltas": {"term": {"short": 0.0007683459505825052, "medium": -0.0011222890835353994, "long": 0.0003375799312798078}, "domain": {"Econ/Fin": -0.0004428336519289866, "Energy": 0.0009784204080749426, "Healthcare": -0.004853281491344674, "Nature": 0.001320564198872498, "Sales": 0.0020083656742263534, "Transport": 0.0012962402737555223, "Web/CloudOps": -0.0010072792973235822}, "freq": {"A-DEC": 0.0024869749149682985, "Q-DEC": -0.001315540070439103, "M": 0.004340865756184087, "W-SUN": 0.003358153258230412, "D": 0.0008055795460542026, "H": 0.0011112119285014987, "15T": 8.505728522889555e-05, "W-FRI": 0.0027032261093232757, "10T": -0.0030131892485244505, "W-TUE": -0.011888886098478602, "W-THU": 0.0011554498430380589, "W-WED": -0.0012736640796464638, "5T": -0.0013112048669287057, "10S": 5.2058602296067846e-05}}, "cpu_seconds": 3.0889141871593893}, {"cutoff": "valid_backcast2", "skill": 0.37002279905979363, "control_skill": 0.3697585359683079, "delta": 0.0002642630914857502, "groups": {"term": {"short": 0.3565693987208619, "medium": 0.3993163076033298, "long": 0.3746849204763013}, "domain": {"Econ/Fin": 0.12578244605862476, "Energy": 0.24090275077698575, "Healthcare": 0.36307374888011845, "Nature": 0.48442696823079945, "Sales": 0.5610816568036829, "Transport": 0.42958314521971297, "Web/CloudOps": 0.4478785998323369}, "freq": {"A-DEC": 0.336793022322213, "Q-DEC": 0.1551840033394314, "M": 0.17162777432648757, "W-SUN": 0.0718222858506925, "D": 0.4358644957844404, "H": 0.4018585841001603, "15T": 0.10586001869360506, "W-FRI": 0.1481499745825744, "10T": 0.5084066192553969, "W-TUE": 0.16989816838368887, "W-THU": 0.3463286757954336, "W-WED": 0.5611240313995098, "5T": 0.47971842006946985, "10S": 0.2935506782695835}}, "group_deltas": {"term": {"short": 0.0002919714060356515, "medium": 0.0003636218792564261, "long": 7.294476277397433e-05}, "domain": {"Econ/Fin": -0.001725453502440022, "Energy": 0.00013647345126277521, "Healthcare": 0.0009041005841874394, "Nature": 0.0022256326698862905, "Sales": 0.0018389596174186451, "Transport": 0.0015784965579369592, "Web/CloudOps": -0.0022449446537134987}, "freq": {"A-DEC": -0.0013931570358364231, "Q-DEC": -0.00039968728196415615, "M": 0.002504089748450289, "W-SUN": -0.00076455254631147, "D": 0.0005171674538587689, "H": 0.0010861222451091779, "15T": -0.0003224596255482215, "W-FRI": 0.0030320615373021775, "10T": -3.5049296813305375e-05, "W-TUE": 0.01608510991088552, "W-THU": 0.005024382776563807, "W-WED": 0.0007260377544404673, "5T": -0.004214255218517038, "10S": 0.0016087656319397903}}, "cpu_seconds": 2.677115047117695}, {"cutoff": "valid_backcast3", "skill": 0.3928204343355648, "control_skill": 0.3922448772186681, "delta": 0.0005755571168967188, "groups": {"term": {"short": 0.3976510744555496, "medium": 0.37221639352071056, "long": 0.40031825718735203}, "domain": {"Econ/Fin": 0.18922547318402272, "Energy": 0.3189878026687516, "Healthcare": 0.2398327670033389, "Nature": 0.5102532301829248, "Sales": 0.4031022576916917, "Transport": 0.5114170492922764, "Web/CloudOps": 0.3999647263960361}, "freq": {"A-DEC": 0.3581336736687136, "Q-DEC": 0.2624609500332523, "M": 0.150499750066174, "W-SUN": 0.1708315492399829, "D": 0.44377831840691595, "H": 0.4092112154996196, "15T": 0.2597534395845853, "W-FRI": 0.043308990902111044, "10T": 0.6031228540706258, "W-TUE": 0.2825588970867289, "W-THU": 0.3512637509586187, "W-WED": 0.37185231714311184, "5T": 0.47014254874971995, "10S": 0.29445910239853645}}, "group_deltas": {"term": {"short": 0.0011796283870673108, "medium": -0.0009637183422044338, "long": 0.0004164950060766559}, "domain": {"Econ/Fin": -0.0022893618909802793, "Energy": 0.0013978928501141574, "Healthcare": 0.00576364648363803, "Nature": 0.0014095498501863757, "Sales": 0.0006923338187113659, "Transport": 0.0013097037891384167, "Web/CloudOps": -0.0027395756759049927}, "freq": {"A-DEC": -0.005154315892763051, "Q-DEC": -0.0011063406744545867, "M": 0.004339645254898494, "W-SUN": 0.0005965458326500084, "D": 0.003537707620614561, "H": 0.0007869635656312379, "15T": 0.0015809177785545137, "W-FRI": -0.0008324752500527, "10T": -0.0006460937042561676, "W-TUE": -0.005387962208131092, "W-THU": 0.003791919640727448, "W-WED": -0.002281193468859799, "5T": -0.0032137230271782613, "10S": -0.0002799890382590986}}, "cpu_seconds": 2.0095697201322764}], "positive_cutoffs": 4, "mean_delta": 0.00036574963712221464, "seconds": 11.241202962817624, "optimizer_updates": 0, "new_neural_inference": false, "selection_gate_passed": true}. No automatic publication. + +2026-10-23T23:48:13.760426+00:00: E159 six-member private candidate assembled after4of4cachedprobes: descriptor20f014ca61a9cfa4f275d9d7abfd297561ac37fddcdae9ba2ef60d3fca106cf8, parameters549426472, runtimepredictSHA7e3bf8bbbcfefbc654c22d6923fadd8f73cb056316abe7928ca8d6b66db7deb8. Guarded publicsuite running, pipeline81922; no publication yet. Latestownseasonal48 member146575680SHA4b309f... is the onlyaddedexpert; all6compute on everyinstance. + +E149 6000 four-cutoff comparison: {"label": "E149 6000 four-cutoff comparison", "utc": "2026-10-23T23:48:30.173930+00:00", "candidate": "integrated_level_ema6000", "control": "overflow_control_ema6000", "rows": [{"cutoff": "evals", "candidate_skill": 0.3787700352984873, "control_skill": 0.3782887645248565, "delta": 0.00048127077363080417, "candidate_checkpoint": "063eb692c8df6c42b345563e86010fa429875e12d191cda524d7837020845997", "control_checkpoint": "b19875c52ed5024383fb69ccc48cb07a5629ad8011abf134c7dcfcdc50fae2af", "candidate_eval_seconds": 26.482914924621582, "candidate_groups": {"term": {"long": {"n_configs": 21, "rel_mase_gmean": 0.7448394955769846, "rel_wql_gmean": 0.4815665025798765}, "medium": {"n_configs": 21, "rel_mase_gmean": 0.7100775601582017, "rel_wql_gmean": 0.49278826716017854}, "short": {"n_configs": 55, "rel_mase_gmean": 0.7559407174841849, "rel_wql_gmean": 0.5449987240360495}}, "domain": {"Econ/Fin": {"n_configs": 6, "rel_mase_gmean": 0.8913479201811148, "rel_wql_gmean": 0.8568509132694113}, "Energy": {"n_configs": 32, "rel_mase_gmean": 0.8977738690626447, "rel_wql_gmean": 0.6438048780726747}, "Healthcare": {"n_configs": 5, "rel_mase_gmean": 0.5707187195379753, "rel_wql_gmean": 0.5036067447562596}, "Nature": {"n_configs": 15, "rel_mase_gmean": 0.8151448294363025, "rel_wql_gmean": 0.39968688958611065}, "Sales": {"n_configs": 4, "rel_mase_gmean": 0.8449612578809644, "rel_wql_gmean": 0.5186533720640484}, "Transport": {"n_configs": 15, "rel_mase_gmean": 0.6447505821001969, "rel_wql_gmean": 0.44318185489949685}, "Web/CloudOps": {"n_configs": 20, "rel_mase_gmean": 0.5628000118070318, "rel_wql_gmean": 0.4370860188544322}}, "frequency": {"A": {"n_configs": 1, "rel_mase_gmean": 0.6171678036410201, "rel_wql_gmean": 0.6466467279031276}, "D": {"n_configs": 15, "rel_mase_gmean": 0.7795660633833177, "rel_wql_gmean": 0.5356597331508668}, "H": {"n_configs": 31, "rel_mase_gmean": 0.730270035494813, "rel_wql_gmean": 0.4980625189669457}, "M": {"n_configs": 5, "rel_mase_gmean": 0.9601685482602446, "rel_wql_gmean": 0.8258242286808891}, "Q": {"n_configs": 1, "rel_mase_gmean": 0.7866998830304843, "rel_wql_gmean": 0.8338059917641922}, "S": {"n_configs": 6, "rel_mase_gmean": 0.6549859956359548, "rel_wql_gmean": 0.504461313178085}, "T": {"n_configs": 30, "rel_mase_gmean": 0.6934724716252681, "rel_wql_gmean": 0.45432155798231116}, "W": {"n_configs": 8, "rel_mase_gmean": 0.9004206173699414, "rel_wql_gmean": 0.6645513736904656}}, "variates": {"multivariate": {"n_configs": 43, "rel_mase_gmean": 0.7101941997714901, "rel_wql_gmean": 0.5110888368592897}, "univariate": {"n_configs": 54, "rel_mase_gmean": 0.7709148957215566, "rel_wql_gmean": 0.5256597682628088}}}, "control_groups": {"term": {"long": {"n_configs": 21, "rel_mase_gmean": 0.7451158192819246, "rel_wql_gmean": 0.4809631678035488}, "medium": {"n_configs": 21, "rel_mase_gmean": 0.7120497644863014, "rel_wql_gmean": 0.4940812105058145}, "short": {"n_configs": 55, "rel_mase_gmean": 0.7560063232433744, "rel_wql_gmean": 0.5455016162773587}}, "domain": {"Econ/Fin": {"n_configs": 6, "rel_mase_gmean": 0.891060652656678, "rel_wql_gmean": 0.8581226203181075}, "Energy": {"n_configs": 32, "rel_mase_gmean": 0.8989380404519756, "rel_wql_gmean": 0.6435803440684917}, "Healthcare": {"n_configs": 5, "rel_mase_gmean": 0.5710382040222995, "rel_wql_gmean": 0.5034944242351712}, "Nature": {"n_configs": 15, "rel_mase_gmean": 0.8133075715765863, "rel_wql_gmean": 0.4004091491239218}, "Sales": {"n_configs": 4, "rel_mase_gmean": 0.8446340518950459, "rel_wql_gmean": 0.5179589899563962}, "Transport": {"n_configs": 15, "rel_mase_gmean": 0.6447526741433901, "rel_wql_gmean": 0.4427981539703199}, "Web/CloudOps": {"n_configs": 20, "rel_mase_gmean": 0.5645988459931921, "rel_wql_gmean": 0.4387078987240053}}, "frequency": {"A": {"n_configs": 1, "rel_mase_gmean": 0.6165351258073414, "rel_wql_gmean": 0.6464531739881929}, "D": {"n_configs": 15, "rel_mase_gmean": 0.777944381816132, "rel_wql_gmean": 0.5346411774818413}, "H": {"n_configs": 31, "rel_mase_gmean": 0.7317515640788856, "rel_wql_gmean": 0.49890798111520296}, "M": {"n_configs": 5, "rel_mase_gmean": 0.9655032792454371, "rel_wql_gmean": 0.8262938781338912}, "Q": {"n_configs": 1, "rel_mase_gmean": 0.7858131466267005, "rel_wql_gmean": 0.8312500357519329}, "S": {"n_configs": 6, "rel_mase_gmean": 0.6555214893191091, "rel_wql_gmean": 0.504479335142133}, "T": {"n_configs": 30, "rel_mase_gmean": 0.6939507700541674, "rel_wql_gmean": 0.45508640655176025}, "W": {"n_configs": 8, "rel_mase_gmean": 0.8990798911693764, "rel_wql_gmean": 0.664987514515424}}, "variates": {"multivariate": {"n_configs": 43, "rel_mase_gmean": 0.7111159189621905, "rel_wql_gmean": 0.5120760043186128}, "univariate": {"n_configs": 54, "rel_mase_gmean": 0.7711295953953445, "rel_wql_gmean": 0.5256252376142441}}}, "group_skill_delta": {"term": {"long": -0.0002642779428971842, "medium": 0.0015975011734226108, "short": 0.0003239324713846248}, "domain": {"Econ/Fin": 0.000507343875946975, "Energy": 0.0003600934697817193, "Healthcare": 9.023002803221214e-05, "Nature": -0.00012870316575563923, "Sales": -0.0005713999096375044, "Transport": -0.000230585588513188, "Web/CloudOps": 0.0017128083526921634}, "frequency": {"A": -0.0004183926848585484, "D": -0.0012865126446484076, "H": 0.0011236256252021848, "M": 0.002724177419414109, "Q": -0.0016981837309285597, "S": 0.00024519915929088754, "T": 0.0006659744157552216, "W": -0.0003225141303484502}, "variates": {"multivariate": 0.0009727629767095625, "univariate": 6.772618758510429e-05}}}, {"cutoff": "backcast_evals", "candidate_skill": 0.33628244688337716, "control_skill": 0.33515646486891926, "delta": 0.0011259820144579047, "candidate_checkpoint": "063eb692c8df6c42b345563e86010fa429875e12d191cda524d7837020845997", "control_checkpoint": "b19875c52ed5024383fb69ccc48cb07a5629ad8011abf134c7dcfcdc50fae2af", "candidate_eval_seconds": 24.28982710838318, "candidate_groups": {"term": {"long": {"n_configs": 21, "rel_mase_gmean": 0.7754573938722054, "rel_wql_gmean": 0.46646905391657106}, "medium": {"n_configs": 21, "rel_mase_gmean": 0.7735115462153327, "rel_wql_gmean": 0.5350969783440489}, "short": {"n_configs": 55, "rel_mase_gmean": 0.8153793343693533, "rel_wql_gmean": 0.59651301281787}}, "domain": {"Econ/Fin": {"n_configs": 6, "rel_mase_gmean": 0.8834660735303473, "rel_wql_gmean": 0.8135891484749133}, "Energy": {"n_configs": 32, "rel_mase_gmean": 0.8905871688513836, "rel_wql_gmean": 0.6705081457476166}, "Healthcare": {"n_configs": 5, "rel_mase_gmean": 0.622825601588341, "rel_wql_gmean": 0.541485607250214}, "Nature": {"n_configs": 15, "rel_mase_gmean": 0.9300898618190523, "rel_wql_gmean": 0.43256559567411845}, "Sales": {"n_configs": 4, "rel_mase_gmean": 0.7325370825122476, "rel_wql_gmean": 0.4983298138269555}, "Transport": {"n_configs": 15, "rel_mase_gmean": 0.7388929875709989, "rel_wql_gmean": 0.5323917071820031}, "Web/CloudOps": {"n_configs": 20, "rel_mase_gmean": 0.6613609053316565, "rel_wql_gmean": 0.457185349735965}}, "frequency": {"A": {"n_configs": 1, "rel_mase_gmean": 0.6520204533365788, "rel_wql_gmean": 0.7240615581701284}, "D": {"n_configs": 15, "rel_mase_gmean": 0.8384318588653729, "rel_wql_gmean": 0.49978710073593197}, "H": {"n_configs": 31, "rel_mase_gmean": 0.7774740426291047, "rel_wql_gmean": 0.5168114512631194}, "M": {"n_configs": 5, "rel_mase_gmean": 0.8538728218001951, "rel_wql_gmean": 0.7846150899131914}, "Q": {"n_configs": 1, "rel_mase_gmean": 0.7586461580908995, "rel_wql_gmean": 0.7694064084721624}, "S": {"n_configs": 6, "rel_mase_gmean": 0.8519302426427482, "rel_wql_gmean": 0.5080382467146397}, "T": {"n_configs": 30, "rel_mase_gmean": 0.7664710064252837, "rel_wql_gmean": 0.5757556939227867}, "W": {"n_configs": 8, "rel_mase_gmean": 0.8738414359990616, "rel_wql_gmean": 0.586247139175189}}, "variates": {"multivariate": {"n_configs": 43, "rel_mase_gmean": 0.7887960893874207, "rel_wql_gmean": 0.5306788766391786}, "univariate": {"n_configs": 54, "rel_mase_gmean": 0.8043426369435187, "rel_wql_gmean": 0.5703999128407875}}}, "control_groups": {"term": {"long": {"n_configs": 21, "rel_mase_gmean": 0.7750842285105053, "rel_wql_gmean": 0.46538535076726445}, "medium": {"n_configs": 21, "rel_mase_gmean": 0.7739741905332832, "rel_wql_gmean": 0.534827984372569}, "short": {"n_configs": 55, "rel_mase_gmean": 0.818371751293216, "rel_wql_gmean": 0.5985153782895438}}, "domain": {"Econ/Fin": {"n_configs": 6, "rel_mase_gmean": 0.887916619787545, "rel_wql_gmean": 0.8185770809200361}, "Energy": {"n_configs": 32, "rel_mase_gmean": 0.8901417181128463, "rel_wql_gmean": 0.6693878286037928}, "Healthcare": {"n_configs": 5, "rel_mase_gmean": 0.6334453098405051, "rel_wql_gmean": 0.5437528735999733}, "Nature": {"n_configs": 15, "rel_mase_gmean": 0.9321426691826549, "rel_wql_gmean": 0.43340604882484346}, "Sales": {"n_configs": 4, "rel_mase_gmean": 0.7321691335963859, "rel_wql_gmean": 0.4977340558431129}, "Transport": {"n_configs": 15, "rel_mase_gmean": 0.7394280206962279, "rel_wql_gmean": 0.5327250385233748}, "Web/CloudOps": {"n_configs": 20, "rel_mase_gmean": 0.6634585442750054, "rel_wql_gmean": 0.4591816165371809}}, "frequency": {"A": {"n_configs": 1, "rel_mase_gmean": 0.6523615189029875, "rel_wql_gmean": 0.7262242686636398}, "D": {"n_configs": 15, "rel_mase_gmean": 0.8405439241384891, "rel_wql_gmean": 0.5009731755165275}, "H": {"n_configs": 31, "rel_mase_gmean": 0.7770655988729349, "rel_wql_gmean": 0.5160636056826207}, "M": {"n_configs": 5, "rel_mase_gmean": 0.8620023507565068, "rel_wql_gmean": 0.7924280387937057}, "Q": {"n_configs": 1, "rel_mase_gmean": 0.7600409188395882, "rel_wql_gmean": 0.7689369191610511}, "S": {"n_configs": 6, "rel_mase_gmean": 0.8521465319527592, "rel_wql_gmean": 0.5084037872669025}, "T": {"n_configs": 30, "rel_mase_gmean": 0.7696065791080199, "rel_wql_gmean": 0.577900906515431}, "W": {"n_configs": 8, "rel_mase_gmean": 0.8747966347792652, "rel_wql_gmean": 0.5837934687567188}}, "variates": {"multivariate": {"n_configs": 43, "rel_mase_gmean": 0.7902103277834961, "rel_wql_gmean": 0.5315871703126607}, "univariate": {"n_configs": 54, "rel_mase_gmean": 0.8062350844786952, "rel_wql_gmean": 0.5709428531788484}}}, "group_skill_delta": {"term": {"long": -0.0008435982429466637, "medium": 3.0593018436997355e-05, "short": 0.002450264738742214}, "domain": {"Econ/Fin": 0.00473419196984004, "Energy": -0.000838964450486368, "Healthcare": 0.006154913241970372, "Nature": 0.0013161657669130689, "Sales": -0.0005129338760856417, "Transport": 0.0004234231511620612, "Web/CloudOps": 0.0020724233499223033}, "frequency": {"A": 0.0012053375106796382, "D": 0.0015834431126408033, "H": -0.0006251978075103581, "M": 0.007971653418935243, "Q": 0.0004686389193263585, "S": 0.000320173445383265, "T": 0.002596365138439416, "W": -0.0011091354046282031}, "variates": {"multivariate": 0.0011336820216694132, "univariate": 0.0011190280017245868}}}, {"cutoff": "backcast2_evals", "candidate_skill": 0.3599825508145953, "control_skill": 0.35970579873679454, "delta": 0.00027675207780075706, "candidate_checkpoint": "063eb692c8df6c42b345563e86010fa429875e12d191cda524d7837020845997", "control_checkpoint": "b19875c52ed5024383fb69ccc48cb07a5629ad8011abf134c7dcfcdc50fae2af", "candidate_eval_seconds": 23.61766266822815, "candidate_groups": {"term": {"long": {"n_configs": 19, "rel_mase_gmean": 0.79981707222701, "rel_wql_gmean": 0.505150382788489}, "medium": {"n_configs": 21, "rel_mase_gmean": 0.7549367805000677, "rel_wql_gmean": 0.49353633167045935}, "short": {"n_configs": 54, "rel_mase_gmean": 0.7638777211075731, "rel_wql_gmean": 0.5590690380524337}}, "domain": {"Econ/Fin": {"n_configs": 6, "rel_mase_gmean": 0.8967636164561443, "rel_wql_gmean": 0.9052092302099768}, "Energy": {"n_configs": 32, "rel_mase_gmean": 0.898255745780945, "rel_wql_gmean": 0.6486483194108685}, "Healthcare": {"n_configs": 5, "rel_mase_gmean": 0.6918952438407966, "rel_wql_gmean": 0.5931050435738098}, "Nature": {"n_configs": 15, "rel_mase_gmean": 0.7609786917523317, "rel_wql_gmean": 0.36541304150433174}, "Sales": {"n_configs": 3, "rel_mase_gmean": 0.560016520254932, "rel_wql_gmean": 0.3584439509698025}, "Transport": {"n_configs": 14, "rel_mase_gmean": 0.6692788997733191, "rel_wql_gmean": 0.502070304083799}, "Web/CloudOps": {"n_configs": 19, "rel_mase_gmean": 0.6808083845590799, "rel_wql_gmean": 0.4706721326626353}}, "frequency": {"A": {"n_configs": 1, "rel_mase_gmean": 0.5807450295585238, "rel_wql_gmean": 0.7350841822151714}, "D": {"n_configs": 15, "rel_mase_gmean": 0.7305255532243033, "rel_wql_gmean": 0.4500180771066884}, "H": {"n_configs": 30, "rel_mase_gmean": 0.7553147358980918, "rel_wql_gmean": 0.490321190065417}, "M": {"n_configs": 4, "rel_mase_gmean": 0.8338390134376268, "rel_wql_gmean": 0.8571412431609888}, "Q": {"n_configs": 1, "rel_mase_gmean": 0.8315422565002734, "rel_wql_gmean": 0.8707632287032719}, "S": {"n_configs": 6, "rel_mase_gmean": 0.9102065988871589, "rel_wql_gmean": 0.5693723458365978}, "T": {"n_configs": 29, "rel_mase_gmean": 0.7520587236406894, "rel_wql_gmean": 0.5400527688030231}, "W": {"n_configs": 8, "rel_mase_gmean": 0.8520015972529243, "rel_wql_gmean": 0.6425923928496732}}, "variates": {"multivariate": {"n_configs": 42, "rel_mase_gmean": 0.7802806368897341, "rel_wql_gmean": 0.5175333174549941}, "univariate": {"n_configs": 52, "rel_mase_gmean": 0.7599795029217333, "rel_wql_gmean": 0.545236584062045}}}, "control_groups": {"term": {"long": {"n_configs": 19, "rel_mase_gmean": 0.8007838015734439, "rel_wql_gmean": 0.5057608145580296}, "medium": {"n_configs": 21, "rel_mase_gmean": 0.7549215312107497, "rel_wql_gmean": 0.49176726739734045}, "short": {"n_configs": 54, "rel_mase_gmean": 0.7642838919526312, "rel_wql_gmean": 0.5599238938428742}}, "domain": {"Econ/Fin": {"n_configs": 6, "rel_mase_gmean": 0.8997976584221669, "rel_wql_gmean": 0.9109410837720314}, "Energy": {"n_configs": 32, "rel_mase_gmean": 0.8969828992939779, "rel_wql_gmean": 0.6477417063864679}, "Healthcare": {"n_configs": 5, "rel_mase_gmean": 0.6849313799294706, "rel_wql_gmean": 0.586932347321718}, "Nature": {"n_configs": 15, "rel_mase_gmean": 0.7624727427382104, "rel_wql_gmean": 0.3657161858629389}, "Sales": {"n_configs": 3, "rel_mase_gmean": 0.5639287429478652, "rel_wql_gmean": 0.36145769293128766}, "Transport": {"n_configs": 14, "rel_mase_gmean": 0.6689876132941273, "rel_wql_gmean": 0.5020608717418806}, "Web/CloudOps": {"n_configs": 19, "rel_mase_gmean": 0.6837785683593893, "rel_wql_gmean": 0.4719606763184108}}, "frequency": {"A": {"n_configs": 1, "rel_mase_gmean": 0.5811330636284028, "rel_wql_gmean": 0.7336592636608978}, "D": {"n_configs": 15, "rel_mase_gmean": 0.7329769702098001, "rel_wql_gmean": 0.45167764562697754}, "H": {"n_configs": 30, "rel_mase_gmean": 0.7553820928392463, "rel_wql_gmean": 0.4904273479694985}, "M": {"n_configs": 4, "rel_mase_gmean": 0.8254186064766647, "rel_wql_gmean": 0.8515799856418855}, "Q": {"n_configs": 1, "rel_mase_gmean": 0.8324909356393811, "rel_wql_gmean": 0.8724694350490023}, "S": {"n_configs": 6, "rel_mase_gmean": 0.9100541095744552, "rel_wql_gmean": 0.5693729069160721}, "T": {"n_configs": 29, "rel_mase_gmean": 0.7550799772409099, "rel_wql_gmean": 0.540387432745741}, "W": {"n_configs": 8, "rel_mase_gmean": 0.8437173750489751, "rel_wql_gmean": 0.6406981711171287}}, "variates": {"multivariate": {"n_configs": 42, "rel_mase_gmean": 0.7818465318697899, "rel_wql_gmean": 0.5175870710427966}, "univariate": {"n_configs": 52, "rel_mase_gmean": 0.7594977958239505, "rel_wql_gmean": 0.545505930798867}}}, "group_skill_delta": {"term": {"long": 0.0007681941896952038, "medium": -0.001101115839874267, "short": 0.0006732813085553735}, "domain": {"Econ/Fin": 0.0043756991570308434, "Energy": -0.0010742595937934807, "Healthcare": -0.006557284253132845, "Nature": 0.0007363040304351198, "Sales": 0.0034483505965459127, "Transport": -0.0001316024379444114, "Web/CloudOps": 0.0020094821614639047}, "frequency": {"A": -0.00041553761569745884, "D": 0.002019239142839191, "H": 9.301254402993564e-05, "M": -0.0070125868210572095, "Q": 0.0013189950520116067, "S": -5.9950669433428416e-05, "T": 0.0014766621978975492, "W": -0.004692081560347394}, "variates": {"multivariate": 0.00067035536464366, "univariate": -4.51116882439484e-05}}}, {"cutoff": "backcast3_evals", "candidate_skill": 0.38944066005918554, "control_skill": 0.38966768132876584, "delta": -0.00022702126958029645, "candidate_checkpoint": "063eb692c8df6c42b345563e86010fa429875e12d191cda524d7837020845997", "control_checkpoint": "b19875c52ed5024383fb69ccc48cb07a5629ad8011abf134c7dcfcdc50fae2af", "candidate_eval_seconds": 23.683292150497437, "candidate_groups": {"term": {"long": {"n_configs": 19, "rel_mase_gmean": 0.7650762018146054, "rel_wql_gmean": 0.4765797022652245}, "medium": {"n_configs": 20, "rel_mase_gmean": 0.7718316543028853, "rel_wql_gmean": 0.5308902262484478}, "short": {"n_configs": 54, "rel_mase_gmean": 0.7134140947777169, "rel_wql_gmean": 0.5084937564931729}}, "domain": {"Econ/Fin": {"n_configs": 6, "rel_mase_gmean": 0.8414867355723054, "rel_wql_gmean": 0.8227707309302373}, "Energy": {"n_configs": 32, "rel_mase_gmean": 0.8342889736835646, "rel_wql_gmean": 0.5574337547857875}, "Healthcare": {"n_configs": 5, "rel_mase_gmean": 0.7952660341488909, "rel_wql_gmean": 0.6661980242444691}, "Nature": {"n_configs": 15, "rel_mase_gmean": 0.7101569706828559, "rel_wql_gmean": 0.3416092448883985}, "Sales": {"n_configs": 3, "rel_mase_gmean": 0.7565718509730329, "rel_wql_gmean": 0.4791291711297133}, "Transport": {"n_configs": 14, "rel_mase_gmean": 0.5430395512202925, "rel_wql_gmean": 0.448996632441079}, "Web/CloudOps": {"n_configs": 18, "rel_mase_gmean": 0.7163093940374188, "rel_wql_gmean": 0.5181708934219168}}, "frequency": {"A": {"n_configs": 1, "rel_mase_gmean": 0.5300658803737976, "rel_wql_gmean": 0.7778433090080533}, "D": {"n_configs": 15, "rel_mase_gmean": 0.7226286610592265, "rel_wql_gmean": 0.42453358504594374}, "H": {"n_configs": 29, "rel_mase_gmean": 0.72646894600681, "rel_wql_gmean": 0.48923233067275684}, "M": {"n_configs": 4, "rel_mase_gmean": 0.8682308048662589, "rel_wql_gmean": 0.8557635780623408}, "Q": {"n_configs": 1, "rel_mase_gmean": 0.7183475714072299, "rel_wql_gmean": 0.7690584319823154}, "S": {"n_configs": 6, "rel_mase_gmean": 0.8441200789327509, "rel_wql_gmean": 0.6027726614685092}, "T": {"n_configs": 29, "rel_mase_gmean": 0.7045150801525114, "rel_wql_gmean": 0.4626965813776312}, "W": {"n_configs": 8, "rel_mase_gmean": 0.8127885080792174, "rel_wql_gmean": 0.6738863225805999}}, "variates": {"multivariate": {"n_configs": 41, "rel_mase_gmean": 0.7637808284830241, "rel_wql_gmean": 0.5158256988859917}, "univariate": {"n_configs": 52, "rel_mase_gmean": 0.7148625699861875, "rel_wql_gmean": 0.4992263863041496}}}, "control_groups": {"term": {"long": {"n_configs": 19, "rel_mase_gmean": 0.7650747158835133, "rel_wql_gmean": 0.4758888221311058}, "medium": {"n_configs": 20, "rel_mase_gmean": 0.7703157746376595, "rel_wql_gmean": 0.5298503011269557}, "short": {"n_configs": 54, "rel_mase_gmean": 0.713915671760059, "rel_wql_gmean": 0.5084844315057424}}, "domain": {"Econ/Fin": {"n_configs": 6, "rel_mase_gmean": 0.8452403065316382, "rel_wql_gmean": 0.8277399249864468}, "Energy": {"n_configs": 32, "rel_mase_gmean": 0.8346950467324626, "rel_wql_gmean": 0.5567599695672222}, "Healthcare": {"n_configs": 5, "rel_mase_gmean": 0.7876375654704325, "rel_wql_gmean": 0.6565412569519505}, "Nature": {"n_configs": 15, "rel_mase_gmean": 0.710238739553539, "rel_wql_gmean": 0.34191077293082645}, "Sales": {"n_configs": 3, "rel_mase_gmean": 0.7563686587019305, "rel_wql_gmean": 0.4784563222634317}, "Transport": {"n_configs": 14, "rel_mase_gmean": 0.5433317817040721, "rel_wql_gmean": 0.4493168613990946}, "Web/CloudOps": {"n_configs": 18, "rel_mase_gmean": 0.7161526533494015, "rel_wql_gmean": 0.5178489398382691}}, "frequency": {"A": {"n_configs": 1, "rel_mase_gmean": 0.5311143622209655, "rel_wql_gmean": 0.7781586196577971}, "D": {"n_configs": 15, "rel_mase_gmean": 0.7234708846594775, "rel_wql_gmean": 0.42486757337507386}, "H": {"n_configs": 29, "rel_mase_gmean": 0.725973846929309, "rel_wql_gmean": 0.48863382838793346}, "M": {"n_configs": 4, "rel_mase_gmean": 0.8623268790180476, "rel_wql_gmean": 0.8523275939235515}, "Q": {"n_configs": 1, "rel_mase_gmean": 0.7182632014266673, "rel_wql_gmean": 0.7707135583961491}, "S": {"n_configs": 6, "rel_mase_gmean": 0.8408993113146807, "rel_wql_gmean": 0.5989715147638536}, "T": {"n_configs": 29, "rel_mase_gmean": 0.7064723895859075, "rel_wql_gmean": 0.463139705670842}, "W": {"n_configs": 8, "rel_mase_gmean": 0.8096257056910313, "rel_wql_gmean": 0.6721758032092567}}, "variates": {"multivariate": {"n_configs": 41, "rel_mase_gmean": 0.7638007775200529, "rel_wql_gmean": 0.5152023145873739}, "univariate": {"n_configs": 52, "rel_mase_gmean": 0.7148285566222029, "rel_wql_gmean": 0.49905178580637044}}}, "group_skill_delta": {"term": {"long": -0.0004384252870907046, "medium": -0.0012555493175586685, "short": 0.00020616682022311927}, "domain": {"Econ/Fin": 0.004368236171698792, "Energy": -0.00024642955425957513, "Healthcare": -0.008768649000547524, "Nature": 0.00024569503602117626, "Sales": -0.000503699483062281, "Transport": 0.00030894626343097586, "Web/CloudOps": -0.0002559360946509104}, "frequency": {"A": 0.0007650027757449829, "D": 0.0005406347935211775, "H": -0.0005678281121938022, "M": -0.004661993455642555, "Q": 0.0007556869703624347, "S": -0.003610492729274828, "T": 0.0010662684549508361, "W": -0.002379393728010104}, "variates": {"multivariate": -0.00037120155201597616, "univariate": -0.00011868560936989514}}}], "mean_delta": 0.00041424589907729237, "positive_cutoffs": 3, "outcome": "Declared comparison checkpoints 6000,12000. No transfer formula or automatic publication is selected by this controller."} + +2026-10-23T23:49:39.089146+00:00: E149primary6000review {"utc": "2026-10-23T23:49:39.089146+00:00", "experiment": "E149", "step": 6000, "positive_cutoffs": 3, "mean_delta": 0.00041424589907729237, "candidate_sha256": "063eb692c8df6c42b345563e86010fa429875e12d191cda524d7837020845997", "rows": [{"cutoff": "evals", "skill": 0.3787700352984873, "delta": 0.00048127077363080417, "group_skill_delta": {"term": {"long": -0.0002642779428971842, "medium": 0.0015975011734226108, "short": 0.0003239324713846248}, "domain": {"Econ/Fin": 0.000507343875946975, "Energy": 0.0003600934697817193, "Healthcare": 9.023002803221214e-05, "Nature": -0.00012870316575563923, "Sales": -0.0005713999096375044, "Transport": -0.000230585588513188, "Web/CloudOps": 0.0017128083526921634}, "frequency": {"A": -0.0004183926848585484, "D": -0.0012865126446484076, "H": 0.0011236256252021848, "M": 0.002724177419414109, "Q": -0.0016981837309285597, "S": 0.00024519915929088754, "T": 0.0006659744157552216, "W": -0.0003225141303484502}, "variates": {"multivariate": 0.0009727629767095625, "univariate": 6.772618758510429e-05}}}, {"cutoff": "backcast_evals", "skill": 0.33628244688337716, "delta": 0.0011259820144579047, "group_skill_delta": {"term": {"long": -0.0008435982429466637, "medium": 3.0593018436997355e-05, "short": 0.002450264738742214}, "domain": {"Econ/Fin": 0.00473419196984004, "Energy": -0.000838964450486368, "Healthcare": 0.006154913241970372, "Nature": 0.0013161657669130689, "Sales": -0.0005129338760856417, "Transport": 0.0004234231511620612, "Web/CloudOps": 0.0020724233499223033}, "frequency": {"A": 0.0012053375106796382, "D": 0.0015834431126408033, "H": -0.0006251978075103581, "M": 0.007971653418935243, "Q": 0.0004686389193263585, "S": 0.000320173445383265, "T": 0.002596365138439416, "W": -0.0011091354046282031}, "variates": {"multivariate": 0.0011336820216694132, "univariate": 0.0011190280017245868}}}, {"cutoff": "backcast2_evals", "skill": 0.3599825508145953, "delta": 0.00027675207780075706, "group_skill_delta": {"term": {"long": 0.0007681941896952038, "medium": -0.001101115839874267, "short": 0.0006732813085553735}, "domain": {"Econ/Fin": 0.0043756991570308434, "Energy": -0.0010742595937934807, "Healthcare": -0.006557284253132845, "Nature": 0.0007363040304351198, "Sales": 0.0034483505965459127, "Transport": -0.0001316024379444114, "Web/CloudOps": 0.0020094821614639047}, "frequency": {"A": -0.00041553761569745884, "D": 0.002019239142839191, "H": 9.301254402993564e-05, "M": -0.0070125868210572095, "Q": 0.0013189950520116067, "S": -5.9950669433428416e-05, "T": 0.0014766621978975492, "W": -0.004692081560347394}, "variates": {"multivariate": 0.00067035536464366, "univariate": -4.51116882439484e-05}}}, {"cutoff": "backcast3_evals", "skill": 0.38944066005918554, "delta": -0.00022702126958029645, "group_skill_delta": {"term": {"long": -0.0004384252870907046, "medium": -0.0012555493175586685, "short": 0.00020616682022311927}, "domain": {"Econ/Fin": 0.004368236171698792, "Energy": -0.00024642955425957513, "Healthcare": -0.008768649000547524, "Nature": 0.00024569503602117626, "Sales": -0.000503699483062281, "Transport": 0.00030894626343097586, "Web/CloudOps": -0.0002559360946509104}, "frequency": {"A": 0.0007650027757449829, "D": 0.0005406347935211775, "H": -0.0005678281121938022, "M": -0.004661993455642555, "Q": 0.0007556869703624347, "S": -0.003610492729274828, "T": 0.0010662684549508361, "W": -0.002379393728010104}, "variates": {"multivariate": -0.00037120155201597616, "univariate": -0.00011868560936989514}}}], "outcome": "Primary3of4positive, shortterm positiveall4; longterm positiveonly1of4. Modest mixed effect warrants independentseed replication. Original12000 durability remains; no transfer orensemble formula selected."} + +## E160 integrated-level independent-seed replication — declared 2026-10-23T23:49:39.089146+00:00 +{"declared_utc": "2026-10-23T23:49:39.089146+00:00", "status": "declared; guarded queue pending", "hypothesis": "E149 integrated-level synthetic augmentation improved primary6000 mean and3of4cutoffs; test whether the effect repeats with an independent training stream, as directtrend failed replication.", "run": "integrated_level_replication", "code_dir": "/workspace/research/integrated_level", "control": "weekly_replication_control", "control_experiment": "E111 original-generator seed523 control", "initial": "/workspace/research/horizon_delta12k.pt", "initial_sha256": "22c08571978be31ba57368eb983089a40a44d56d4ae5e17da41afd2a761a258c", "parameters": 36800800, "seed": 523, "batch": 64, "lr": 2e-05, "steps": 12000, "primary": 6000, "final": 12000, "compiled": false, "packed": "/workspace/research/packed_sample", "source_weights_from": "/workspace/research/packed_sample", "requested_horizon_seed": 300526, "integrated_level_seed": 1300526, "synthetics": "SameE149 originalAR synthetic generator with independent-RNG zero-initialized Gaussian randomwalk added to25percent of syntheticpaths (~5percentallrows), sigma10**U(-3,-1); no change to95allowedsource sampling.", "allocation_after": "E152 ensemble_gate_refresh_full12000", "audits": "Reuse E149 passed CPU sampler/RNG/recovery and GPU gradient/max-shape audits: exactly same model/data/trainer code and allsettings except independent trainingseed. No new numericalkernel/state schema. Launcher verifies actualcontrol recipe and initialhash.", "selection": "Primary6000/final12000 matchedE111 four-cutoff reports;1000/3000maindiagnostics. No extension, transfer formula, ensemble or automaticpublication selected."} + +2026-10-23T23:50:56.341314+00:00: E160 guarded replacement queue created {"utc": "2026-10-23T23:50:16.249523+00:00", "queue_pid": 10768, "watch_pid": 10769, "comparison_pid": 10770, "wait_pid": 4806, "command": ["python3", "/workspace/research/recovery/train.py", "--code-dir", "/workspace/research/integrated_level", "--packed", "/workspace/research/packed_sample", "--source-weights-from", "/workspace/research/packed_sample", "--out", "/workspace/research/runs/integrated_level_replication", "--initialize-from", "/workspace/research/horizon_delta12k.pt", "--steps", "12000", "--batch", "64", "--lr", ".00002", "--seed", "523", "--loss-mode", "paired", "--stop-file", "/workspace/research/integrated_level_replication.stop"], "initial_sha256": "22c08571978be31ba57368eb983089a40a44d56d4ae5e17da41afd2a761a258c", "reused_audits": ["integrated_level_cpu_checks.json", "integrated_level_gpu_checks.json"]}. No additionalGPUaudit orfixturetraining: unchangedE149model/sampler/trainer schema andmaxshape have passed CPU/GPU/recoverychecks. Only independent trainingseed523differs from E149; matchedE111control recipe and owninitialhash checked. + +2026-10-23T23:52:29.047281+00:00: E159 observed loss-complementarity diagnostic {"utc": "2026-10-23T23:52:29.047281+00:00", "seconds": 0.22702885512262583, "parent_descriptor": "85c52464a7bc064e926ff0aa48fd2d94c39af985932e9d752026486a70860742", "member_checkpoint_hashes": ["0b11b7351a4a92d1d18c71a4159ec445be3a94ace8c7a9fa0edafad87d14e960", "308389b7217c080af9eb185559d4ee3cafa0f3e0f8c4dd8f5526b68198c89988", "1a2fb20a9fb5cae6526f2e36ea47559626bece78fd9c284899836505030ae9fe", "d7cfcd72c3cb84aa69e447b76c4c3ab98c21b7c600a463f0b805f4b4300baf33", "2877a38b94a7d77a53a9df410349cecc2f6ab134c83a76744924543bbe73eb17", "4b309f0721378f97db815dd511b8b54711348270c48e9eae0103dba506f66708"], "panels": [{"cutoff": "valid_screen", "configurations": 97, "mean_fractional_loss_reduction": {"mase": 0.0004764927297691884, "wql": 0.0006534273003369507}, "strict_improvement_configs": {"mase": 93, "wql": 96}}, {"cutoff": "valid_backcast", "configurations": 97, "mean_fractional_loss_reduction": {"mase": 0.0003218875465104985, "wql": 0.0005709884700270219}, "strict_improvement_configs": {"mase": 89, "wql": 97}}, {"cutoff": "valid_backcast2", "configurations": 94, "mean_fractional_loss_reduction": {"mase": 0.00036693321089198595, "wql": 0.0005720267281872187}, "strict_improvement_configs": {"mase": 88, "wql": 93}}, {"cutoff": "valid_backcast3", "configurations": 93, "mean_fractional_loss_reduction": {"mase": 0.0005072231440201416, "wql": 0.0005783595849367489}, "strict_improvement_configs": {"mase": 90, "wql": 93}}], "rounding_audits": 14, "optimizer_updates": 0, "new_neural_inference": false}. Reference is arithmeticmeanofparentlosses, notaforecastbaseline. Initial simplistic1e-6absoluteconvexitytolerance failed for valid_backcast/us_births__W__short MASE excess1.798117e-6. Cached forecasts reproduce it exactly; FP64average restores convexity and measuredFP32rounding gives Lipschitzbound1.798117e-6. All14negative numericalexcesses audited similarly. No runtime/forecast/coefficient change; descriptivevalidationonly. Fullreceipt seasonal_six_member_blend_loss_diversity.json. + +2026-10-23T23:59:20.979382+00:00: E161 declared before candidate work. {"experiment": "E161", "declared_utc": "2026-10-23T23:59:20.979382+00:00", "status": "declared; engineering pending; no production queue", "hypothesis": "Older matching-phase observations may help the fresh146M seasonal architecture learn long-period summaries from the start, unlike the failed E121 small-model mature continuation. Extend only seasonal summary history to16384; attention, normalization, loss weights, base features and inference rules remain recent4096.", "run": "random_capacity_seasonal_history", "control": "random_capacity_long_seasonal", "model_code": "/workspace/research/random_capacity_seasonal_history", "code": "/workspace/research/fresh_seasonal_history", "initial_parent": "/workspace/research/random_capacity_long_seasonal_initial.pt", "initial_parent_sha256": "f7e35a6341ffc6c1ce53cfd8934256dde937171f5002f1fc34b1fd169f1a15d6", "initialization": "All tensors copied from own untrained E131 random initialization, step0. No mature weights inherited. No new parameter tensors.", "parameters": 146575680, "seed": 307, "batch": 48, "lr": 0.0002, "steps": 96000, "primary": 48000, "final": 96000, "packed": "/workspace/research/packed_sample", "source_weights_from": "/workspace/research/packed_sample", "factor": "Same E121 tested extension: only originally full4096 real contexts receive earlier observations from the same source and cutoff, including the original aggregation factor. All recent inputs, targets, periods, source probabilities and random streams remain exact. Synthetic prefixes remain missing. E131 slowAR generator and all95 allowed sources unchanged.", "max_context": 16384, "encoder_context": 4096, "sample_context": 4096, "fixture_seeds": {"cpu": 1061, "sampler": 1063, "gpu": 1069, "recovery": 307}, "allocation_after": "E145 random_capacity_buildings96000", "start_gate": "E131primary48000 >=3 positive cutoffs and positive mean; CPU sampler/function, GPU compiled-gradient/maximum-shape, and full recovery audits all pass.", "selection": "Primary48000 and final96000 matched E131 four-cutoff comparison. Main4/8/16/24/72k diagnostics. No training extension, ensemble formula, transfer, coefficient sweep, or automatic publication chosen.", "negative_prior": "E121 mature small-model16384 seasonal history: primary6k1/4 mean delta -0.00048559008065043874; final12k1/4 mean delta -0.0007314110640462834. Different fresh-training regime is the explicit new hypothesis, not a reinterpretation of those failures.", "training_queued": false}. + +2026-10-24T00:01:10.682061+00:00: E161 CPU audit {"seed": 1061, "sampler_seed": 1063, "initial_function_bitwise_equal": true, "initial_loss_bitwise_equal": true, "all_parameter_tensors_bitwise_equal": true, "encoder_and_rule_context": 4096, "summary_context": 16384, "sampler_rows": 5120, "extended_real_rows": 688, "extended_aggregated_rows": 82, "synthetic_rows": 982, "extra_finite_history_observations": 5412075, "original_recent_contexts_targets_periods_bitwise_equal": true, "original_sampler_and_horizon_rng_states_equal": true, "source_probabilities_bitwise_equal": true, "extra_history_independently_verified_against_same_source_before_cutoff": true, "synthetic_extra_prefix_missing": true, "total_parameters": 146575680, "checkpoint_sha256": "f809d37c499f92dd6c3cf529055c0699e6375da3510f47d238c519f2e5599925", "initial_checkpoint_sha256": "f809d37c499f92dd6c3cf529055c0699e6375da3510f47d238c519f2e5599925", "parameters": 146575680, "initial_parent_sha256": "f7e35a6341ffc6c1ce53cfd8934256dde937171f5002f1fc34b1fd169f1a15d6", "seconds": 23.926739514106885, "optimizer_updates": 0, "validation_data_read": false}. GPU/recovery controller waits for E159 suite; guarded start requires all audits and the already-passed E13148 source gate. No production queue or training updates yet. + +2026-10-24T00:02:50.487973+00:00: E159 full review before publication {"utc": "2026-10-24T00:02:50.487973+00:00", "experiment": "E159", "candidate_descriptor": "20f014ca61a9cfa4f275d9d7abfd297561ac37fddcdae9ba2ef60d3fca106cf8", "current_descriptor": "85c52464a7bc064e926ff0aa48fd2d94c39af985932e9d752026486a70860742", "full_skill": 0.3849747559077792, "delta": 0.00031494773251239394, "relative_mase": 0.7355892022254891, "relative_wql": 0.5142218642229939, "relative_mase_delta": -0.0005703927606902637, "relative_wql_delta": -0.0001279510259781791, "n_configs": 97, "n_instances": 151170, "n_failed": 0, "shared_h100_inference_seconds": 779.1542727989145, "group_skills_and_deltas": {"term": {"long": {"skill": 0.4014495319147734, "delta": 0.0006615778632073077}, "medium": {"skill": 0.4103803287128426, "delta": 0.0007570227754112313}, "short": {"skill": 0.3684747953090005, "delta": -5.551862063857271e-06}}, "domain": {"Econ/Fin": {"skill": 0.12980600375237483, "delta": 1.9125508898709676e-05}, "Energy": {"skill": 0.24150592536301907, "delta": 0.0003326256416185114}, "Healthcare": {"skill": 0.4902726317190951, "delta": -0.009865549890073377}, "Nature": {"skill": 0.4436133187623158, "delta": 0.0022957274491453017}, "Sales": {"skill": 0.3591516722099256, "delta": 0.0010953675634285398}, "Transport": {"skill": 0.4752170276941523, "delta": 0.0017883670845563193}, "Web/CloudOps": {"skill": 0.49982779751817896, "delta": 0.0003400655354934834}}, "frequency": {"A": {"skill": 0.3024032040323418, "delta": -0.0019052126724696805}, "D": {"skill": 0.37834524124257096, "delta": 0.0023145337526999654}, "H": {"skill": 0.39936762269060644, "delta": 0.00033979760637281586}, "M": {"skill": 0.14793445872151256, "delta": -0.003552177925884914}, "Q": {"skill": 0.19202682029517748, "delta": -2.4956909219553403e-05}, "S": {"skill": 0.4249754471940248, "delta": 0.0003317484283376082}, "T": {"skill": 0.4387400933076676, "delta": 0.0007962817039695036}, "W": {"skill": 0.24008936889350785, "delta": -0.004352758830349468}}, "variates": {"multivariate": {"skill": 0.3971960460757391, "delta": 0.0009102371299612999}, "univariate": {"skill": 0.3750660233584462, "delta": -0.00017612927534393918}}}, "decision": "Publish fixed six-expert blend after completed full/current/runtime gates. Long and medium improve, short essentially tied; healthcare and low frequencies regress. All4 fixed cutoff deltas positive. Adaptive validation selection, not held-out reward or uniform domain improvement. No coefficients, thresholds or checkpoints changed after full replay."}. + +## E159 fixed six-expert equal blend full replay — selected +- Checkpoint SHA-256: `20f014ca61a9cfa4f275d9d7abfd297561ac37fddcdae9ba2ef60d3fca106cf8`. +- Evaluation: 97 configurations, 151170 instances, 0 failed configurations; not separately timed seconds. +- Overall skill 0.384975; relative MASE 0.735589; relative WQL 0.514222. +- term skill: long=0.4014, medium=0.4104, short=0.3685. +- domain skill: Econ/Fin=0.1298, Energy=0.2415, Healthcare=0.4903, Nature=0.4436, Sales=0.3592, Transport=0.4752, Web/CloudOps=0.4998. +- frequency skill: A=0.3024, D=0.3783, H=0.3994, M=0.1479, Q=0.1920, S=0.4250, T=0.4387, W=0.2401. +- variates skill: multivariate=0.3972, univariate=0.3751. +- Outcome: Fixed equal blend improves full skill from 0.384659808175 to 0.384974755908; all97/151170/0fail. All6 models forecast every instance. Independent real/synthetic composition, forward-call accounting and relocation pass. Shared-H100 inference779.154s. Adaptive validation selection, not held-out reward. + +E159 verified suite {"status": "complete; review required", "package": "/workspace/research/candidate-seasonal-six-member-blend", "steps": [{"name": "synthetic_composition_and_every_member_calls", "returncode": 0, "seconds": 42.54804448201321}, {"name": "relocation", "returncode": 0, "seconds": 65.02632893295959}, {"name": "full_public_replay", "returncode": 0, "seconds": 782.6433105210308}, {"name": "independent_sixth_member", "returncode": 0, "seconds": 10.388655839953572}, {"name": "real_composition", "returncode": 0, "seconds": 0.1702700548339635}, {"name": "descriptive_comparison", "returncode": 0, "seconds": 0.15015643811784685}], "current_parent": "85c52464a7bc064e926ff0aa48fd2d94c39af985932e9d752026486a70860742", "current_cutoff_deltas": [0.0003771301569404084, 0.0002460481831659811, 0.0002642630914857502, 0.0005755571168967188], "current_step": "descriptive_comparison", "seconds": 900.9675681521185, "skill": 0.3849747559077792}. Synthetic {"descriptor_sha256": "20f014ca61a9cfa4f275d9d7abfd297561ac37fddcdae9ba2ef60d3fca106cf8", "checks": [{"config_id": "synthetic_H", "horizon": 384, "selected_members": [0, 1, 2, 3], "bitwise_composition": true, "finite_ordered": true, "every_member_forecasts_every_instance": true, "forward_calls_by_member": [3, 3, 3, 3, 3, 3]}, {"config_id": "synthetic_15T", "horizon": 960, "selected_members": [0, 1, 2, 4], "bitwise_composition": true, "finite_ordered": true, "every_member_forecasts_every_instance": true, "forward_calls_by_member": [3, 3, 3, 3, 3, 3]}], "member_checkpoint_hashes": ["0b11b7351a4a92d1d18c71a4159ec445be3a94ace8c7a9fa0edafad87d14e960", "308389b7217c080af9eb185559d4ee3cafa0f3e0f8c4dd8f5526b68198c89988", "1a2fb20a9fb5cae6526f2e36ea47559626bece78fd9c284899836505030ae9fe", "d7cfcd72c3cb84aa69e447b76c4c3ab98c21b7c600a463f0b805f4b4300baf33", "2877a38b94a7d77a53a9df410349cecc2f6ab134c83a76744924543bbe73eb17", "4b309f0721378f97db815dd511b8b54711348270c48e9eae0103dba506f66708"], "seconds": 40.27983244904317}. Current-publication cutoff deltas [0.0003771301569404084, 0.0002460481831659811, 0.0002642630914857502, 0.0005755571168967188]. Original teacher and gate expert snapshots stay immutable. + +2026-10-24T00:04:26.418052+00:00: E162 declared before probes {"experiment": "E162", "declared_utc": "2026-10-24T00:04:26.418052+00:00", "status": "declared; cached probes pending", "hypothesis": "E159 full replay improved daily and finer groups but regressed weekly/monthly/quarterly/yearly. Test one broad fixed frequency boundary: seasonal-sixth blending only for fixed sampling intervals no longer than one day. This is adaptive validation selection; it may fail earlier-cutoff or full gates.", "frozen_parent_descriptor": "20f014ca61a9cfa4f275d9d7abfd297561ac37fddcdae9ba2ef60d3fca106cf8", "comparison": "/workspace/research/valid-report-seasonal-six-member-blend.json", "member_checkpoint_hashes": ["0b11b7351a4a92d1d18c71a4159ec445be3a94ace8c7a9fa0edafad87d14e960", "308389b7217c080af9eb185559d4ee3cafa0f3e0f8c4dd8f5526b68198c89988", "1a2fb20a9fb5cae6526f2e36ea47559626bece78fd9c284899836505030ae9fe", "d7cfcd72c3cb84aa69e447b76c4c3ab98c21b7c600a463f0b805f4b4300baf33", "2877a38b94a7d77a53a9df410349cecc2f6ab134c83a76744924543bbe73eb17", "4b309f0721378f97db815dd511b8b54711348270c48e9eae0103dba506f66708"], "member_names": ["seasonal_width_transfer12k", "patch8_ema6000", "split_patch_ema12000", "random_capacity_1024_ema96000", "capacity_patch8_candidate_ema6000", "random_capacity_long_seasonal_ema48000"], "members": ["candidate-width-transfer12k", "candidate-patch8-6k-complete", "candidate-split-patch-12k-complete", "candidate-fresh146m-96k", "candidate-capacity-patch8-6k", "candidate-fresh-seasonal-48k"], "parameters": 549426472, "horizon_threshold": 720, "blend_coefficient": 0.5, "frequency_rule": "Parse positive integer frequency multiplier and alphabetic unit. Blend when unit is S/s,T/min,H/h,D and its duration in seconds is <=86400. Calendar weeks/months/quarters/years, business-day and unrecognized units retain E154. No dataset/domain identifiers are used.", "formula": "All six experts actually forecast every instance. Compute orderedFP32 A=(F0+F1+F2+F[4 if H>=720 else3])/4 and B=(F0+F1+F2+F5)/4. Eligible daily-or-finer fixed-duration frequencies output(A+B)/2 exactlyE159; others outputA exactlyE154. No model-dependent adaptation or extra projection.", "new_training": false, "seeds": "Inherited immutable scratch parent seeds; no optimizer updates. Latest sixth expertE131seed307 selected48000 from original96k schedule.", "selection": "One fixed day boundary; no frequency threshold, coefficient or checkpoint sweep. Require>=3positivecutoffs and positive mean versus frozen/currentE159 before fullreplay. Require full improvement/currentchecks, all6 actualforward calls including a new coarse-frequency synthetic case, independentcomposition, finiteordered and relocation before atomicpublication.", "adaptive_validation_selection": true}. + +2026-10-24T00:04:40.174203+00:00: E162 fixed daily-or-finer routing probes {"declaration": {"experiment": "E162", "declared_utc": "2026-10-24T00:04:26.418052+00:00", "status": "declared; cached probes pending", "hypothesis": "E159 full replay improved daily and finer groups but regressed weekly/monthly/quarterly/yearly. Test one broad fixed frequency boundary: seasonal-sixth blending only for fixed sampling intervals no longer than one day. This is adaptive validation selection; it may fail earlier-cutoff or full gates.", "frozen_parent_descriptor": "20f014ca61a9cfa4f275d9d7abfd297561ac37fddcdae9ba2ef60d3fca106cf8", "comparison": "/workspace/research/valid-report-seasonal-six-member-blend.json", "member_checkpoint_hashes": ["0b11b7351a4a92d1d18c71a4159ec445be3a94ace8c7a9fa0edafad87d14e960", "308389b7217c080af9eb185559d4ee3cafa0f3e0f8c4dd8f5526b68198c89988", "1a2fb20a9fb5cae6526f2e36ea47559626bece78fd9c284899836505030ae9fe", "d7cfcd72c3cb84aa69e447b76c4c3ab98c21b7c600a463f0b805f4b4300baf33", "2877a38b94a7d77a53a9df410349cecc2f6ab134c83a76744924543bbe73eb17", "4b309f0721378f97db815dd511b8b54711348270c48e9eae0103dba506f66708"], "member_names": ["seasonal_width_transfer12k", "patch8_ema6000", "split_patch_ema12000", "random_capacity_1024_ema96000", "capacity_patch8_candidate_ema6000", "random_capacity_long_seasonal_ema48000"], "members": ["candidate-width-transfer12k", "candidate-patch8-6k-complete", "candidate-split-patch-12k-complete", "candidate-fresh146m-96k", "candidate-capacity-patch8-6k", "candidate-fresh-seasonal-48k"], "parameters": 549426472, "horizon_threshold": 720, "blend_coefficient": 0.5, "frequency_rule": "Parse positive integer frequency multiplier and alphabetic unit. Blend when unit is S/s,T/min,H/h,D and its duration in seconds is <=86400. Calendar weeks/months/quarters/years, business-day and unrecognized units retain E154. No dataset/domain identifiers are used.", "formula": "All six experts actually forecast every instance. Compute orderedFP32 A=(F0+F1+F2+F[4 if H>=720 else3])/4 and B=(F0+F1+F2+F5)/4. Eligible daily-or-finer fixed-duration frequencies output(A+B)/2 exactlyE159; others outputA exactlyE154. No model-dependent adaptation or extra projection.", "new_training": false, "seeds": "Inherited immutable scratch parent seeds; no optimizer updates. Latest sixth expertE131seed307 selected48000 from original96k schedule.", "selection": "One fixed day boundary; no frequency threshold, coefficient or checkpoint sweep. Require>=3positivecutoffs and positive mean versus frozen/currentE159 before fullreplay. Require full improvement/currentchecks, all6 actualforward calls including a new coarse-frequency synthetic case, independentcomposition, finiteordered and relocation before atomicpublication.", "adaptive_validation_selection": true}, "rows": [{"cutoff": "valid_screen", "skill": 0.3891569525200602, "control_skill": 0.38873378968262917, "delta": 0.0004231628374310459, "groups": {"term": {"short": 0.3731500710611393, "medium": 0.4117603306162815, "long": 0.4072347682370595}, "domain": {"Econ/Fin": 0.14931158484635065, "Energy": 0.2480293715106635, "Healthcare": 0.49407172875455796, "Nature": 0.44313496065986957, "Sales": 0.3453804486892882, "Transport": 0.4750239708674263, "Web/CloudOps": 0.507655524509176}, "freq": {"A-DEC": 0.38365057239921063, "Q-DEC": 0.20606735650303087, "M": 0.12682244603724124, "W-SUN": 0.08968565726055233, "D": 0.3745926048765462, "H": 0.40453146169845056, "15T": 0.219115967452298, "W-FRI": 0.020360259620060495, "10T": 0.6253023556342118, "W-TUE": 0.6415415405419468, "W-THU": 0.21792947739631574, "W-WED": 0.32708506145318983, "5T": 0.5211605596305169, "10S": 0.4249754471940248}}, "group_deltas": {"term": {"short": 0.0007660645451564863, "medium": 0.0, "long": 0.0}, "domain": {"Econ/Fin": -0.0001977355152614768, "Energy": -2.89793940864147e-05, "Healthcare": 0.008961167169541429, "Nature": -0.00047782259158701823, "Sales": -0.0008354676765341962, "Transport": 0.0, "Web/CloudOps": 0.0}, "freq": {"A-DEC": 0.0014646928713037966, "Q-DEC": -0.00013956167297823896, "M": 0.0033238948973521865, "W-SUN": -0.003538375469521071, "D": 0.0, "H": 0.0, "15T": 0.0, "W-FRI": -0.0004127063364833816, "10T": 0.0, "W-TUE": 0.02316004361680224, "W-THU": -0.0031840777192452263, "W-WED": 0.0002330964052876805, "5T": 0.0, "10S": 0.0}}, "cpu_seconds": 3.8404171930160373}, {"cutoff": "valid_backcast", "skill": 0.3456659047654913, "control_skill": 0.3457740680188046, "delta": -0.00010816325331330923, "groups": {"term": {"short": 0.31363762890452096, "medium": 0.36297355851292123, "long": 0.40695704732772764}, "domain": {"Econ/Fin": 0.17906565186615508, "Energy": 0.23544088307563515, "Healthcare": 0.40657997874634144, "Nature": 0.38121235293753897, "Sales": 0.4092956468358141, "Transport": 0.37860469288195364, "Web/CloudOps": 0.45976739520152843}, "freq": {"A-DEC": 0.331781124887934, "Q-DEC": 0.23724173166905804, "M": 0.1874780089767496, "W-SUN": 0.0459263068532203, "D": 0.36499459253353705, "H": 0.3770993865390674, "15T": 0.22350539249382817, "W-FRI": 0.24140491835961553, "10T": 0.33221221031678483, "W-TUE": 0.5514665885251284, "W-THU": 0.2677180644187378, "W-WED": 0.3624726313886212, "5T": 0.4471085787572342, "10S": 0.35028651074003714}}, "group_deltas": {"term": {"short": -0.00020008534917703713, "medium": 0.0, "long": 0.0}, "domain": {"Econ/Fin": -0.0009267892673655576, "Energy": -0.0001411939679771823, "Healthcare": 0.003997973431577595, "Nature": -0.0014551680091944297, "Sales": -0.0002369433562866563, "Transport": 0.0, "Web/CloudOps": 0.0}, "freq": {"A-DEC": -0.0024869749149682985, "Q-DEC": 0.001315540070439103, "M": -0.004340865756184087, "W-SUN": -0.003358153258230412, "D": 0.0, "H": 0.0, "15T": 0.0, "W-FRI": -0.0027032261093232757, "10T": 0.0, "W-TUE": 0.011888886098478602, "W-THU": -0.0011554498430380589, "W-WED": 0.0012736640796464638, "5T": 0.0, "10S": 0.0}}, "cpu_seconds": 3.4069217659998685}, {"cutoff": "valid_backcast2", "skill": 0.36962327153665264, "control_skill": 0.37002279905979363, "delta": -0.0003995275231409856, "groups": {"term": {"short": 0.35585890594177705, "medium": 0.3993163076033298, "long": 0.3746849204763013}, "domain": {"Econ/Fin": 0.1262808502868934, "Energy": 0.24061415053268886, "Healthcare": 0.3611255272143119, "Nature": 0.4832594322545267, "Sales": 0.5608397541970611, "Transport": 0.42958314521971297, "Web/CloudOps": 0.4478785998323369}, "freq": {"A-DEC": 0.3381861793580494, "Q-DEC": 0.15558369062139554, "M": 0.16912368457803728, "W-SUN": 0.07258683839700397, "D": 0.4358644957844404, "H": 0.4018585841001603, "15T": 0.10586001869360506, "W-FRI": 0.14511791304527222, "10T": 0.5084066192553969, "W-TUE": 0.15381305847280335, "W-THU": 0.3413042930188698, "W-WED": 0.5603979936450694, "5T": 0.47971842006946985, "10S": 0.2935506782695835}}, "group_deltas": {"term": {"short": -0.0007104927790848592, "medium": 0.0, "long": 0.0}, "domain": {"Econ/Fin": 0.0004984042282686341, "Energy": -0.00028860024429688824, "Healthcare": -0.0019482216658065488, "Nature": -0.0011675359762727266, "Sales": -0.0002419026066218244, "Transport": 0.0, "Web/CloudOps": 0.0}, "freq": {"A-DEC": 0.0013931570358364231, "Q-DEC": 0.00039968728196415615, "M": -0.002504089748450289, "W-SUN": 0.00076455254631147, "D": 0.0, "H": 0.0, "15T": 0.0, "W-FRI": -0.0030320615373021775, "10T": 0.0, "W-TUE": -0.01608510991088552, "W-THU": -0.005024382776563807, "W-WED": -0.0007260377544404673, "5T": 0.0, "10S": 0.0}}, "cpu_seconds": 2.5599097250960767}, {"cutoff": "valid_backcast3", "skill": 0.3927152862029787, "control_skill": 0.3928204343355648, "delta": -0.00010514813258610811, "groups": {"term": {"short": 0.39747141548654163, "medium": 0.37221639352071056, "long": 0.40031825718735203}, "domain": {"Econ/Fin": 0.19088696570634822, "Energy": 0.31891142857063715, "Healthcare": 0.24068954378888607, "Nature": 0.5091385933586976, "Sales": 0.40382570268230955, "Transport": 0.5114170492922764, "Web/CloudOps": 0.3999647263960361}, "freq": {"A-DEC": 0.3632879895614767, "Q-DEC": 0.2635672907077069, "M": 0.1461601048112755, "W-SUN": 0.17023500340733289, "D": 0.44377831840691595, "H": 0.4092112154996196, "15T": 0.2597534395845853, "W-FRI": 0.044141466152163744, "10T": 0.6031228540706258, "W-TUE": 0.28794685929485997, "W-THU": 0.3474718313178913, "W-WED": 0.37413351061197164, "5T": 0.47014254874971995, "10S": 0.29445910239853645}}, "group_deltas": {"term": {"short": -0.00017965896900795641, "medium": 0.0, "long": 0.0}, "domain": {"Econ/Fin": 0.0016614925223255028, "Energy": -7.637409811445117e-05, "Healthcare": 0.0008567767855471864, "Nature": -0.0011146368242271887, "Sales": 0.0007234449906178275, "Transport": 0.0, "Web/CloudOps": 0.0}, "freq": {"A-DEC": 0.005154315892763051, "Q-DEC": 0.0011063406744545867, "M": -0.004339645254898494, "W-SUN": -0.0005965458326500084, "D": 0.0, "H": 0.0, "15T": 0.0, "W-FRI": 0.0008324752500527, "10T": 0.0, "W-TUE": 0.005387962208131092, "W-THU": -0.003791919640727448, "W-WED": 0.002281193468859799, "5T": 0.0, "10S": 0.0}}, "cpu_seconds": 2.9489208220038563}], "positive_cutoffs": 1, "mean_delta": -4.741901790233927e-05, "seconds": 13.57040777709335, "optimizer_updates": 0, "new_neural_inference": false, "selection_gate_passed": false}. No automatic publication. + +2026-10-24T00:05:06.213478+00:00: E162 rejected1of4, mean delta-4.741901790233927e-05, cached-probe controller13.57040777709335s, no new inference/training. Main cutoff improves, but all3 earlier cutoffs regress. Reject this one fixed coarse-frequency exclusion. Do not select a different frequency subset or threshold from these diagnostics; current E159 remains published. + +2026-10-24T00:05:36.621763+00:00: E161GPU audit {"fixture_seed": 1069, "training_seed": 307, "parameters": 146575680, "initial_checkpoint_sha256": "f809d37c499f92dd6c3cf529055c0699e6375da3510f47d238c519f2e5599925", "mature_fixture_sha256": "ee958fba015de5c80d179675b31770cae282ec3daa05d2fe5e386859109abbf3", "gpu_initial_forward_and_loss_bitwise_equal": true, "student_checkpoint_and_parameters_unchanged": true, "eager_loss": 0.18442340195178986, "compiled_loss": 0.18443305790424347, "gradient_groups": {"all": {"dot": 0.032079844083912366, "reference_squared": 0.032032246032443215, "actual_squared": 0.03212969201414732, "maximum_abs_difference": 0.0001220703125, "gradient_cosine": 0.9999660876334572}, "encoder": {"dot": 0.000808093568831568, "reference_squared": 0.0008070400509341442, "actual_squared": 0.0008093581221528603, "maximum_abs_difference": 1.1020747479051352e-05, "gradient_cosine": 0.9998704691253009}, "decoder": {"dot": 0.002793180745576551, "reference_squared": 0.0027919241284689034, "actual_squared": 0.002794689139431872, "maximum_abs_difference": 1.0911680874414742e-05, "gradient_cosine": 0.9999550546071718}, "long_query": {"dot": 0.0006214509485289454, "reference_squared": 0.0006219099159352481, "actual_squared": 0.0006210070569068193, "maximum_abs_difference": 2.86102294921875e-06, "gradient_cosine": 0.9999881344704079}, "long_head": {"dot": 0.013973548528156243, "reference_squared": 0.013947847983217798, "actual_squared": 0.013999922084622085, "maximum_abs_difference": 0.0001220703125, "gradient_cosine": 0.9999776547952515}}, "compile_comparison_seconds": 56.66505464888178, "maximum_shape_memory": {"batch": 48, "signed_rows": 96, "context": 16384, "encoder_context": 4096, "horizon": 1024, "loss": 0.26590725779533386, "peak_allocated_mib": 9715.71337890625, "peak_reserved_mib": 9780.0, "includes_adam_and_ema_placeholders": true, "seconds": 58.46068904804997}, "seconds": 151.43312632013112, "lock_wait_seconds": 7.198192179203033e-05, "optimizer_updates": 0, "validation_data_read": false, "fixture_weights_are_not_candidates": true}. Full original96k-schedule recovery fixture running; no production updates. + +E152 ensemble_gate_refresh seed751 training started at 2026-10-24T00:06:28Z, after the declared dependency processes exited; required checkpoint files are present. Settings are unchanged from the declared comparison. + +2026-10-24T00:08:57.341846+00:00: E163 declared before implementation {"experiment": "E163", "declared_utc": "2026-10-24T00:08:57.341846+00:00", "status": "declared; engineering pending; no production queue", "hypothesis": "Existing learned summaries expose only two frequency-metadata calendar periods. Fixed Fourier summaries may expose stable recurring components outside those periods and improve direct long forecasts. Add one zero-initialized query/direct-median pathway, matched against E107.", "run": "spectral_phase", "control": "long_seasonal", "model_code": "/workspace/research/spectral_phase", "study_code": "/workspace/research/spectral_phase_features", "initial_parent": "/workspace/research/long_seasonal_initial.pt", "initial_parent_sha256": "470ef98d69d00b17defbf41c70a92b22574154cdb6e0317993bccf113e4af93b", "initialization": "Same own E107 initial checkpoint: scratch-trained E62 backbone with zero calendar-seasonal pathway. Copy all existing tensors exactly and add zero spectral query/head. No pretrained assets; all model parameters train.", "parameters": 36948352, "added_parameters": 98368, "seed": 197, "batch": 64, "lr": 2e-05, "steps": 12000, "primary": 6000, "final": 12000, "compiled_loss": false, "packed": "/workspace/research/packed_sample", "source_weights_from": "/workspace/research/packed_sample", "synthetics": "Byte-identical E107 originalAR20percent local generator and unchanged all95allowed source sampler; no new synthetic generation or random stream.", "factor": "Fixed input transform only: recent up-to4096 standardized observations, Hann window, weighted mean removal, zero-padded real FFT with8x next-power-of-two grid. Four strongest local spectral maxima (17-bin peak window), with periods>=2 steps and at least4cycles in observed span. Require span>=128 and finite fraction>=0.9; unsupported rows yield zero features. Amplitude from2*FFT/sum(window*valid), future phase evaluated at the same fixed grid frequency, no optimization/interpolation/fitting. Query receives four harmonic forecasts and four power/variance confidence ratios; a new tanh-gated four-component head adds only to median. Existing quantile widths may use query information. All feature constants fixed before probes.", "feature_constants": {"components": 4, "maximum_span": 4096, "fft_oversampling": 8, "minimum_cycles": 4, "minimum_span": 128, "minimum_finite_fraction": 0.9, "peak_window": 17, "frequency_upper_bound_exclusive": 0.5, "amplitude_clip": 30.0, "confidence_clip": 1.0}, "allocation_after": "E160 integrated_level_replication12000", "fixture_seeds": {"cpu": 1087, "gpu": 1091, "recovery": 197}, "selection": "Primary6000/final12000 matched E107 four cutoffs; main1000/3000 learning diagnostics. Queue only after CPU independent-transform/function/source tests, GPU finite-gradient/maxshape and full recovery checks. No transfer, ensemble or parameter sweep selected. No automatic publication.", "inference": "No optimizer or fitted context parameters: Fourier projection, peak selection and phase evaluation are a fixed part of the neural model input transformation. Only supplied instance history and frequency are read.", "new_training": true, "training_queued": false}. + +2026-10-24T00:10:19.855315+00:00: E161 fixed gates passed and one replacement queue created {"utc": "2026-10-24T00:10:19.514229+00:00", "queue_pid": 12294, "watch_pid": 12295, "comparison_pid": 12296, "wait_pid": 961, "command": ["python3", "/workspace/research/recovery/train.py", "--code-dir", "/workspace/research/random_capacity_seasonal_history", "--packed", "/workspace/research/packed_sample", "--source-weights-from", "/workspace/research/packed_sample", "--out", "/workspace/research/runs/random_capacity_seasonal_history", "--initialize-from", "/workspace/research/random_capacity_seasonal_history_initial.pt", "--steps", "96000", "--batch", "48", "--lr", ".0002", "--seed", "307", "--loss-mode", "paired", "--compile-loss", "--stop-file", "/workspace/research/random_capacity_seasonal_history.stop"], "initial_sha256": "f809d37c499f92dd6c3cf529055c0699e6375da3510f47d238c519f2e5599925", "source_positive": 4, "source_mean_delta": 0.0017476629199747462}. No extra concurrent main allocation, no automatic publication. + +E149 12000 four-cutoff comparison: {"label": "E149 12000 four-cutoff comparison", "utc": "2026-10-24T00:12:12.569112+00:00", "candidate": "integrated_level_ema12000", "control": "overflow_control_ema12000", "rows": [{"cutoff": "evals", "candidate_skill": 0.3773377988970805, "control_skill": 0.37742394607564755, "delta": -8.614717856703091e-05, "candidate_checkpoint": "5765744595ba0834b1ead7298b9fb30803ea4bb569713dabae0df4b47bf8cdfb", "control_checkpoint": "f11d056b95f1c5eeef174265ebc51742952600e0dae1fa52900860447d5be819", "candidate_eval_seconds": 25.76274800300598, "candidate_groups": {"term": {"long": {"n_configs": 21, "rel_mase_gmean": 0.7432211764271843, "rel_wql_gmean": 0.48056957447800247}, "medium": {"n_configs": 21, "rel_mase_gmean": 0.7129578288153794, "rel_wql_gmean": 0.494077233947256}, "short": {"n_configs": 55, "rel_mase_gmean": 0.7579011720416837, "rel_wql_gmean": 0.5475177228885495}}, "domain": {"Econ/Fin": {"n_configs": 6, "rel_mase_gmean": 0.8737029205656326, "rel_wql_gmean": 0.8516081565048975}, "Energy": {"n_configs": 32, "rel_mase_gmean": 0.9018350233908914, "rel_wql_gmean": 0.6464373180077906}, "Healthcare": {"n_configs": 5, "rel_mase_gmean": 0.5900259887855861, "rel_wql_gmean": 0.5217281996189729}, "Nature": {"n_configs": 15, "rel_mase_gmean": 0.8152091040595106, "rel_wql_gmean": 0.4016711723605419}, "Sales": {"n_configs": 4, "rel_mase_gmean": 0.8535485455192731, "rel_wql_gmean": 0.522322362483936}, "Transport": {"n_configs": 15, "rel_mase_gmean": 0.6444266996417887, "rel_wql_gmean": 0.44198279878440505}, "Web/CloudOps": {"n_configs": 20, "rel_mase_gmean": 0.5615879389918049, "rel_wql_gmean": 0.43561580559114776}}, "frequency": {"A": {"n_configs": 1, "rel_mase_gmean": 0.6230489031997676, "rel_wql_gmean": 0.6519598871873138}, "D": {"n_configs": 15, "rel_mase_gmean": 0.7811942015867185, "rel_wql_gmean": 0.5381995199135104}, "H": {"n_configs": 31, "rel_mase_gmean": 0.7326564465367481, "rel_wql_gmean": 0.4998327511597879}, "M": {"n_configs": 5, "rel_mase_gmean": 0.972204733275761, "rel_wql_gmean": 0.8357733103343852}, "Q": {"n_configs": 1, "rel_mase_gmean": 0.7788697964884485, "rel_wql_gmean": 0.8273585743506205}, "S": {"n_configs": 6, "rel_mase_gmean": 0.6550254920212394, "rel_wql_gmean": 0.5043803883061629}, "T": {"n_configs": 30, "rel_mase_gmean": 0.6919688826218543, "rel_wql_gmean": 0.45228831395142255}, "W": {"n_configs": 8, "rel_mase_gmean": 0.9063306883481093, "rel_wql_gmean": 0.6779127696585839}}, "variates": {"multivariate": {"n_configs": 43, "rel_mase_gmean": 0.7117177892697537, "rel_wql_gmean": 0.5120667032752431}, "univariate": {"n_configs": 54, "rel_mase_gmean": 0.7721956120991653, "rel_wql_gmean": 0.5274419546844668}}}, "control_groups": {"term": {"long": {"n_configs": 21, "rel_mase_gmean": 0.7430904415695668, "rel_wql_gmean": 0.4803877697002309}, "medium": {"n_configs": 21, "rel_mase_gmean": 0.7132918126148858, "rel_wql_gmean": 0.4952594111267713}, "short": {"n_configs": 55, "rel_mase_gmean": 0.7578628359813909, "rel_wql_gmean": 0.5467970503421377}}, "domain": {"Econ/Fin": {"n_configs": 6, "rel_mase_gmean": 0.8820089901245588, "rel_wql_gmean": 0.8576370610661226}, "Energy": {"n_configs": 32, "rel_mase_gmean": 0.9027748652932497, "rel_wql_gmean": 0.6461208417787276}, "Healthcare": {"n_configs": 5, "rel_mase_gmean": 0.5860981811462721, "rel_wql_gmean": 0.5145960110698827}, "Nature": {"n_configs": 15, "rel_mase_gmean": 0.8131107048238599, "rel_wql_gmean": 0.4016810458988802}, "Sales": {"n_configs": 4, "rel_mase_gmean": 0.8527673973406287, "rel_wql_gmean": 0.5213825017868637}, "Transport": {"n_configs": 15, "rel_mase_gmean": 0.6445705043805339, "rel_wql_gmean": 0.44151518253827515}, "Web/CloudOps": {"n_configs": 20, "rel_mase_gmean": 0.5611845549171244, "rel_wql_gmean": 0.43637179177338026}}, "frequency": {"A": {"n_configs": 1, "rel_mase_gmean": 0.6256068773709946, "rel_wql_gmean": 0.6531531717628165}, "D": {"n_configs": 15, "rel_mase_gmean": 0.7810498071209858, "rel_wql_gmean": 0.5387984968910804}, "H": {"n_configs": 31, "rel_mase_gmean": 0.7331074392934215, "rel_wql_gmean": 0.4999416190250625}, "M": {"n_configs": 5, "rel_mase_gmean": 0.9734095428884114, "rel_wql_gmean": 0.8253812557813238}, "Q": {"n_configs": 1, "rel_mase_gmean": 0.7799909436165716, "rel_wql_gmean": 0.8257926959351992}, "S": {"n_configs": 6, "rel_mase_gmean": 0.6551233447531275, "rel_wql_gmean": 0.5045264853695348}, "T": {"n_configs": 30, "rel_mase_gmean": 0.6915094659095177, "rel_wql_gmean": 0.4527256621835321}, "W": {"n_configs": 8, "rel_mase_gmean": 0.9056914149873438, "rel_wql_gmean": 0.6760727114446506}}, "variates": {"multivariate": {"n_configs": 43, "rel_mase_gmean": 0.7112247286748321, "rel_wql_gmean": 0.5124312426851864}, "univariate": {"n_configs": 54, "rel_mase_gmean": 0.7726699203226439, "rel_wql_gmean": 0.5268484105597512}}}, "group_skill_delta": {"term": {"long": -0.00016561236444323502, "medium": 0.0008487874128071393, "short": -0.00044037145294129054}, "domain": {"Econ/Fin": 0.007152862648915126, "Energy": 0.00021072990109638479, "Healthcare": -0.005642521716595517, "Nature": -0.0007299272107530452, "Sales": -0.0009063272779392673, "Transport": -0.00022288396547820444, "Web/CloudOps": 0.0002511731028057018}, "frequency": {"A": 0.0018911767727304296, "D": 0.0003007557412896267, "H": 0.000252143736078847, "M": -0.0050667474604919605, "Q": -0.00018300495698930774, "S": 0.00012617739636044956, "T": 8.458014612566789e-05, "W": -0.0013406308096290953}, "variates": {"multivariate": 5.623290072587217e-06, "univariate": -0.00016332896823290088}}}, {"cutoff": "backcast_evals", "candidate_skill": 0.3376891542667435, "control_skill": 0.33652833730727594, "delta": 0.00116081695946757, "candidate_checkpoint": "5765744595ba0834b1ead7298b9fb30803ea4bb569713dabae0df4b47bf8cdfb", "control_checkpoint": "f11d056b95f1c5eeef174265ebc51742952600e0dae1fa52900860447d5be819", "candidate_eval_seconds": 24.741241931915283, "candidate_groups": {"term": {"long": {"n_configs": 21, "rel_mase_gmean": 0.7777445631961173, "rel_wql_gmean": 0.4654805637769257}, "medium": {"n_configs": 21, "rel_mase_gmean": 0.7702200008736072, "rel_wql_gmean": 0.5327802207969266}, "short": {"n_configs": 55, "rel_mase_gmean": 0.8134207104234015, "rel_wql_gmean": 0.5952566712544967}}, "domain": {"Econ/Fin": {"n_configs": 6, "rel_mase_gmean": 0.8643217208099216, "rel_wql_gmean": 0.8072881265419236}, "Energy": {"n_configs": 32, "rel_mase_gmean": 0.8885112582878082, "rel_wql_gmean": 0.6688755683861104}, "Healthcare": {"n_configs": 5, "rel_mase_gmean": 0.6232519808709867, "rel_wql_gmean": 0.5420673158354591}, "Nature": {"n_configs": 15, "rel_mase_gmean": 0.9327313489391317, "rel_wql_gmean": 0.4336951419977307}, "Sales": {"n_configs": 4, "rel_mase_gmean": 0.7343319166704796, "rel_wql_gmean": 0.49892703760184276}, "Transport": {"n_configs": 15, "rel_mase_gmean": 0.7382946193806068, "rel_wql_gmean": 0.5311123551038059}, "Web/CloudOps": {"n_configs": 20, "rel_mase_gmean": 0.6614451033455168, "rel_wql_gmean": 0.45399266539733335}}, "frequency": {"A": {"n_configs": 1, "rel_mase_gmean": 0.6445216725373263, "rel_wql_gmean": 0.7226107247764838}, "D": {"n_configs": 15, "rel_mase_gmean": 0.838035646643136, "rel_wql_gmean": 0.49871683204063183}, "H": {"n_configs": 31, "rel_mase_gmean": 0.7782568793225098, "rel_wql_gmean": 0.5158098263876244}, "M": {"n_configs": 5, "rel_mase_gmean": 0.8462704824345854, "rel_wql_gmean": 0.7761442856511557}, "Q": {"n_configs": 1, "rel_mase_gmean": 0.7615337069257875, "rel_wql_gmean": 0.777603092163097}, "S": {"n_configs": 6, "rel_mase_gmean": 0.8531415037836372, "rel_wql_gmean": 0.5072484007070139}, "T": {"n_configs": 30, "rel_mase_gmean": 0.7637343826952834, "rel_wql_gmean": 0.5719621833467586}, "W": {"n_configs": 8, "rel_mase_gmean": 0.8702634595022708, "rel_wql_gmean": 0.5931763890938705}}, "variates": {"multivariate": {"n_configs": 43, "rel_mase_gmean": 0.7880267285559569, "rel_wql_gmean": 0.5287295334149328}, "univariate": {"n_configs": 54, "rel_mase_gmean": 0.8025866373977452, "rel_wql_gmean": 0.5694143491107506}}}, "control_groups": {"term": {"long": {"n_configs": 21, "rel_mase_gmean": 0.7791999311006992, "rel_wql_gmean": 0.4659792452594256}, "medium": {"n_configs": 21, "rel_mase_gmean": 0.7710406727836745, "rel_wql_gmean": 0.5333113680139498}, "short": {"n_configs": 55, "rel_mase_gmean": 0.815154118317558, "rel_wql_gmean": 0.596530868139981}}, "domain": {"Econ/Fin": {"n_configs": 6, "rel_mase_gmean": 0.8754973298713973, "rel_wql_gmean": 0.8157069069366086}, "Energy": {"n_configs": 32, "rel_mase_gmean": 0.8880158890798259, "rel_wql_gmean": 0.6677066701972586}, "Healthcare": {"n_configs": 5, "rel_mase_gmean": 0.6235821127455097, "rel_wql_gmean": 0.5405407165775942}, "Nature": {"n_configs": 15, "rel_mase_gmean": 0.933606860676274, "rel_wql_gmean": 0.4340037728321772}, "Sales": {"n_configs": 4, "rel_mase_gmean": 0.7343890716300152, "rel_wql_gmean": 0.49893240567123487}, "Transport": {"n_configs": 15, "rel_mase_gmean": 0.7389889324657989, "rel_wql_gmean": 0.5315819911881067}, "Web/CloudOps": {"n_configs": 20, "rel_mase_gmean": 0.6643730331767335, "rel_wql_gmean": 0.45729311789913757}}, "frequency": {"A": {"n_configs": 1, "rel_mase_gmean": 0.6445434372547929, "rel_wql_gmean": 0.724090215239997}, "D": {"n_configs": 15, "rel_mase_gmean": 0.8386815774822007, "rel_wql_gmean": 0.5001256118650457}, "H": {"n_configs": 31, "rel_mase_gmean": 0.7779220228454703, "rel_wql_gmean": 0.5152698021677109}, "M": {"n_configs": 5, "rel_mase_gmean": 0.8546325349093246, "rel_wql_gmean": 0.7856916887479788}, "Q": {"n_configs": 1, "rel_mase_gmean": 0.7640852146217055, "rel_wql_gmean": 0.7788691447566721}, "S": {"n_configs": 6, "rel_mase_gmean": 0.8532609264720655, "rel_wql_gmean": 0.507658310446713}, "T": {"n_configs": 30, "rel_mase_gmean": 0.767260085607915, "rel_wql_gmean": 0.5746866456036881}, "W": {"n_configs": 8, "rel_mase_gmean": 0.869060480798712, "rel_wql_gmean": 0.5886681671106037}}, "variates": {"multivariate": {"n_configs": 43, "rel_mase_gmean": 0.7899223594259315, "rel_wql_gmean": 0.5301365087279752}, "univariate": {"n_configs": 54, "rel_mase_gmean": 0.803707925134896, "rel_wql_gmean": 0.5699074661266276}}}, "group_skill_delta": {"term": {"long": 0.0008852092459690208, "medium": 0.0006605902211632708, "short": 0.001486174286927322}, "domain": {"Econ/Fin": 0.00975519891512866, "Energy": -0.0008886437961970195, "Healthcare": -0.0006653393718112355, "Nature": 0.000524802641391986, "Sales": 2.6811607550025762e-05, "Transport": 0.0005712999008126163, "Web/CloudOps": 0.0032041953776928978}, "frequency": {"A": 0.0007098096388089559, "D": 0.0011619023793209005, "H": -0.00046800042888461846, "M": 0.008988158985540728, "Q": 0.0019153103236770885, "S": 0.00031180768896410527, "T": 0.003099676131035678, "W": -0.003230363673542014}, "variates": {"multivariate": 0.0016352030075882373, "univariate": 0.0007649276553228779}}}, {"cutoff": "backcast2_evals", "candidate_skill": 0.36234207356146586, "control_skill": 0.36097346960650367, "delta": 0.0013686039549621887, "candidate_checkpoint": "5765744595ba0834b1ead7298b9fb30803ea4bb569713dabae0df4b47bf8cdfb", "control_checkpoint": "f11d056b95f1c5eeef174265ebc51742952600e0dae1fa52900860447d5be819", "candidate_eval_seconds": 22.805584192276, "candidate_groups": {"term": {"long": {"n_configs": 19, "rel_mase_gmean": 0.7976379876259695, "rel_wql_gmean": 0.5033600733313784}, "medium": {"n_configs": 21, "rel_mase_gmean": 0.7535391868844631, "rel_wql_gmean": 0.4905386594743703}, "short": {"n_configs": 54, "rel_mase_gmean": 0.7616141423791972, "rel_wql_gmean": 0.5565076472445296}}, "domain": {"Econ/Fin": {"n_configs": 6, "rel_mase_gmean": 0.8811532638796097, "rel_wql_gmean": 0.8989096957271699}, "Energy": {"n_configs": 32, "rel_mase_gmean": 0.8967314639984115, "rel_wql_gmean": 0.6470331110060445}, "Healthcare": {"n_configs": 5, "rel_mase_gmean": 0.6964142188336246, "rel_wql_gmean": 0.5970388545899016}, "Nature": {"n_configs": 15, "rel_mase_gmean": 0.7563718831908874, "rel_wql_gmean": 0.36329791189637634}, "Sales": {"n_configs": 3, "rel_mase_gmean": 0.5615385304163437, "rel_wql_gmean": 0.3568386525812465}, "Transport": {"n_configs": 14, "rel_mase_gmean": 0.6691378763270325, "rel_wql_gmean": 0.501669792795212}, "Web/CloudOps": {"n_configs": 19, "rel_mase_gmean": 0.6794499189744619, "rel_wql_gmean": 0.46469026245234374}}, "frequency": {"A": {"n_configs": 1, "rel_mase_gmean": 0.5821109615134131, "rel_wql_gmean": 0.7260679921912906}, "D": {"n_configs": 15, "rel_mase_gmean": 0.7262158153657251, "rel_wql_gmean": 0.4476989304431131}, "H": {"n_configs": 30, "rel_mase_gmean": 0.7568310340983638, "rel_wql_gmean": 0.4903649754123156}, "M": {"n_configs": 4, "rel_mase_gmean": 0.8384383032020062, "rel_wql_gmean": 0.8620493786330846}, "Q": {"n_configs": 1, "rel_mase_gmean": 0.8338931012807599, "rel_wql_gmean": 0.8768308870388462}, "S": {"n_configs": 6, "rel_mase_gmean": 0.9094262139475932, "rel_wql_gmean": 0.5685546452275155}, "T": {"n_configs": 29, "rel_mase_gmean": 0.7500511307998986, "rel_wql_gmean": 0.5350661537175134}, "W": {"n_configs": 8, "rel_mase_gmean": 0.8344083861518944, "rel_wql_gmean": 0.6339481473601577}}, "variates": {"multivariate": {"n_configs": 42, "rel_mase_gmean": 0.7787599823744261, "rel_wql_gmean": 0.514219869529602}, "univariate": {"n_configs": 52, "rel_mase_gmean": 0.7575125443247137, "rel_wql_gmean": 0.5434193245401363}}}, "control_groups": {"term": {"long": {"n_configs": 19, "rel_mase_gmean": 0.7998283729290717, "rel_wql_gmean": 0.5048537403572065}, "medium": {"n_configs": 21, "rel_mase_gmean": 0.7567348346553658, "rel_wql_gmean": 0.49139307103243485}, "short": {"n_configs": 54, "rel_mase_gmean": 0.762930601340605, "rel_wql_gmean": 0.5572913926751922}}, "domain": {"Econ/Fin": {"n_configs": 6, "rel_mase_gmean": 0.8902018742574637, "rel_wql_gmean": 0.9080828126396094}, "Energy": {"n_configs": 32, "rel_mase_gmean": 0.8967112467195689, "rel_wql_gmean": 0.6466666398782791}, "Healthcare": {"n_configs": 5, "rel_mase_gmean": 0.6908821587788814, "rel_wql_gmean": 0.5905411593557701}, "Nature": {"n_configs": 15, "rel_mase_gmean": 0.7593906111647103, "rel_wql_gmean": 0.3630649835252516}, "Sales": {"n_configs": 3, "rel_mase_gmean": 0.5660049516474805, "rel_wql_gmean": 0.36083556795060334}, "Transport": {"n_configs": 14, "rel_mase_gmean": 0.6692141236302525, "rel_wql_gmean": 0.5019337855870213}, "Web/CloudOps": {"n_configs": 19, "rel_mase_gmean": 0.6840578993103755, "rel_wql_gmean": 0.46836362238870816}}, "frequency": {"A": {"n_configs": 1, "rel_mase_gmean": 0.5819380993584167, "rel_wql_gmean": 0.723948814143525}, "D": {"n_configs": 15, "rel_mase_gmean": 0.7300802327867975, "rel_wql_gmean": 0.44973000047782175}, "H": {"n_configs": 30, "rel_mase_gmean": 0.7573152418388004, "rel_wql_gmean": 0.4905218098483386}, "M": {"n_configs": 4, "rel_mase_gmean": 0.825511662103245, "rel_wql_gmean": 0.8525433006612966}, "Q": {"n_configs": 1, "rel_mase_gmean": 0.8348196873036913, "rel_wql_gmean": 0.8792738256086735}, "S": {"n_configs": 6, "rel_mase_gmean": 0.9101844597610753, "rel_wql_gmean": 0.5693250695338232}, "T": {"n_configs": 29, "rel_mase_gmean": 0.75556464168385, "rel_wql_gmean": 0.5377684583538125}, "W": {"n_configs": 8, "rel_mase_gmean": 0.8322603650379057, "rel_wql_gmean": 0.6324937767638193}}, "variates": {"multivariate": {"n_configs": 42, "rel_mase_gmean": 0.782445957809565, "rel_wql_gmean": 0.5156982204614814}, "univariate": {"n_configs": 52, "rel_mase_gmean": 0.7580358480370438, "rel_wql_gmean": 0.543923941651618}}}, "group_skill_delta": {"term": {"long": 0.0018101403715909958, "medium": 0.001818188665904108, "short": 0.0010210849816170153}, "domain": {"Econ/Fin": 0.009110695489086829, "Energy": -0.00022432853515130802, "Healthcare": -0.0060706165644131005, "Nature": 0.0008766129432750125, "Sales": 0.004286612580013893, "Transport": 0.00018544190380953562, "Web/CloudOps": 0.004126208471347481}, "frequency": {"A": -0.0010458377970627986, "D": 0.0028104619193202174, "H": 0.0002922905217469518, "M": -0.011243265949815617, "Q": 0.0016659583344551532, "S": 0.0007869307687505822, "T": 0.003927705398679815, "W": -0.0017704303241702357}, "variates": {"multivariate": 0.00240697649636068, "univariate": 0.000519501439371739}}}, {"cutoff": "backcast3_evals", "candidate_skill": 0.38686605990996814, "control_skill": 0.3874814849803516, "delta": -0.0006154250703834796, "candidate_checkpoint": "5765744595ba0834b1ead7298b9fb30803ea4bb569713dabae0df4b47bf8cdfb", "control_checkpoint": "f11d056b95f1c5eeef174265ebc51742952600e0dae1fa52900860447d5be819", "candidate_eval_seconds": 22.995014429092407, "candidate_groups": {"term": {"long": {"n_configs": 19, "rel_mase_gmean": 0.7671524881871539, "rel_wql_gmean": 0.47620669260997434}, "medium": {"n_configs": 20, "rel_mase_gmean": 0.7732181442337676, "rel_wql_gmean": 0.5314478026922911}, "short": {"n_configs": 54, "rel_mase_gmean": 0.719496634929774, "rel_wql_gmean": 0.5106709724627606}}, "domain": {"Econ/Fin": {"n_configs": 6, "rel_mase_gmean": 0.827595971866434, "rel_wql_gmean": 0.8248263477184485}, "Energy": {"n_configs": 32, "rel_mase_gmean": 0.8362733634928181, "rel_wql_gmean": 0.5570293943034418}, "Healthcare": {"n_configs": 5, "rel_mase_gmean": 0.8230660007003132, "rel_wql_gmean": 0.6848765548349548}, "Nature": {"n_configs": 15, "rel_mase_gmean": 0.7270014454728774, "rel_wql_gmean": 0.34253247900388895}, "Sales": {"n_configs": 3, "rel_mase_gmean": 0.7552495779229398, "rel_wql_gmean": 0.47770449654392305}, "Transport": {"n_configs": 14, "rel_mase_gmean": 0.5442396082816807, "rel_wql_gmean": 0.4510022185210558}, "Web/CloudOps": {"n_configs": 18, "rel_mase_gmean": 0.7171294297902205, "rel_wql_gmean": 0.5185418015254895}}, "frequency": {"A": {"n_configs": 1, "rel_mase_gmean": 0.5302117613819824, "rel_wql_gmean": 0.7994162810877312}, "D": {"n_configs": 15, "rel_mase_gmean": 0.7322534195648658, "rel_wql_gmean": 0.4280585170295586}, "H": {"n_configs": 29, "rel_mase_gmean": 0.7285527407614807, "rel_wql_gmean": 0.4905119099651956}, "M": {"n_configs": 4, "rel_mase_gmean": 0.8844870189189808, "rel_wql_gmean": 0.8709895803087069}, "Q": {"n_configs": 1, "rel_mase_gmean": 0.7150518444839012, "rel_wql_gmean": 0.7650706007831558}, "S": {"n_configs": 6, "rel_mase_gmean": 0.8459258463138422, "rel_wql_gmean": 0.6024297981437888}, "T": {"n_configs": 29, "rel_mase_gmean": 0.7064718457780723, "rel_wql_gmean": 0.4618709657368142}, "W": {"n_configs": 8, "rel_mase_gmean": 0.8231327315696562, "rel_wql_gmean": 0.6738491573419924}}, "variates": {"multivariate": {"n_configs": 41, "rel_mase_gmean": 0.7645724802144642, "rel_wql_gmean": 0.5147437182993794}, "univariate": {"n_configs": 52, "rel_mase_gmean": 0.7218160969631685, "rel_wql_gmean": 0.5023362890385782}}}, "control_groups": {"term": {"long": {"n_configs": 19, "rel_mase_gmean": 0.7675699458528298, "rel_wql_gmean": 0.476452132158557}, "medium": {"n_configs": 20, "rel_mase_gmean": 0.773141221801274, "rel_wql_gmean": 0.5311688105422268}, "short": {"n_configs": 54, "rel_mase_gmean": 0.7189800356855841, "rel_wql_gmean": 0.5092012481102669}}, "domain": {"Econ/Fin": {"n_configs": 6, "rel_mase_gmean": 0.8366494448197422, "rel_wql_gmean": 0.8335501433013701}, "Energy": {"n_configs": 32, "rel_mase_gmean": 0.8362673307045482, "rel_wql_gmean": 0.5558565966414833}, "Healthcare": {"n_configs": 5, "rel_mase_gmean": 0.7992789325648234, "rel_wql_gmean": 0.663313586611861}, "Nature": {"n_configs": 15, "rel_mase_gmean": 0.7270958326307262, "rel_wql_gmean": 0.3416485868534862}, "Sales": {"n_configs": 3, "rel_mase_gmean": 0.7558002187371488, "rel_wql_gmean": 0.47806361106286926}, "Transport": {"n_configs": 14, "rel_mase_gmean": 0.5447632408986202, "rel_wql_gmean": 0.45146185813227047}, "Web/CloudOps": {"n_configs": 18, "rel_mase_gmean": 0.7184671561660497, "rel_wql_gmean": 0.5194115372422989}}, "frequency": {"A": {"n_configs": 1, "rel_mase_gmean": 0.5301621193542202, "rel_wql_gmean": 0.8023624756576537}, "D": {"n_configs": 15, "rel_mase_gmean": 0.7320022964105988, "rel_wql_gmean": 0.42747341049868826}, "H": {"n_configs": 29, "rel_mase_gmean": 0.7284419538124913, "rel_wql_gmean": 0.48986156448616525}, "M": {"n_configs": 4, "rel_mase_gmean": 0.8692971155035826, "rel_wql_gmean": 0.8573561489309673}, "Q": {"n_configs": 1, "rel_mase_gmean": 0.7145578258684864, "rel_wql_gmean": 0.7671041544075885}, "S": {"n_configs": 6, "rel_mase_gmean": 0.8434376506034783, "rel_wql_gmean": 0.6004240857745707}, "T": {"n_configs": 29, "rel_mase_gmean": 0.7091796225957213, "rel_wql_gmean": 0.4627952794263764}, "W": {"n_configs": 8, "rel_mase_gmean": 0.8186104789687557, "rel_wql_gmean": 0.6672650133055504}}, "variates": {"multivariate": {"n_configs": 41, "rel_mase_gmean": 0.7652944038188929, "rel_wql_gmean": 0.5141740641844628}, "univariate": {"n_configs": 52, "rel_mase_gmean": 0.7208570784782143, "rel_wql_gmean": 0.5012656144320912}}}, "group_skill_delta": {"term": {"long": 0.0003202126206452993, "medium": -0.00020016137961542668, "short": -0.0010902322204185966}, "domain": {"Econ/Fin": 0.008888357006374137, "Energy": -0.000721340118299052, "Healthcare": -0.02266914148813437, "Nature": -0.0006119166371461593, "Sales": 0.0004447352180093622, "Transport": 0.0004907968745168079, "Web/CloudOps": 0.001080163180414262}, "frequency": {"A": 0.0011680538087152081, "D": -0.0004787093129622333, "H": -0.00044185116524531054, "M": -0.014406367567972422, "Q": 0.0007264391935365433, "S": -0.0022382679309351783, "T": 0.0016660421036510664, "W": -0.005686058522982762}, "variates": {"multivariate": -5.128783258800951e-05, "univariate": -0.0010417848722212852}}}], "mean_delta": 0.000456962166369812, "positive_cutoffs": 2, "outcome": "Declared comparison checkpoints 6000,12000. No transfer formula or automatic publication is selected by this controller."} + +2026-10-24T00:12:52.235528+00:00: Scheduled main-cutoff learning diagnostic {"utc": "2026-10-24T00:12:52.235528+00:00", "experiment": "E147", "run": "random_capacity_full_highlr", "step": 24000, "skill": 0.3558383776974068, "checkpoint_sha256": "b125972a2b2208051e06c78feccde818cd81376adda647b33d9440375a727601", "eval_seconds": 36.156200885772705, "comparisons": [{"control": "random_capacity_full", "control_checkpoint_sha256": "076fc28ac9f8ee5d8b2c9bc8336f24163a224e2dd26c11dea6320174d716acad", "control_skill": 0.35536752960369333, "delta": 0.0004708480937134496, "group_deltas": {"term": {"long": -0.004366242948454668, "medium": -0.0024525634177975375, "short": 0.0036898531558017256}, "domain": {"Econ/Fin": -0.007667565021315714, "Energy": -0.010039121020960717, "Healthcare": 0.03189397460769916, "Nature": 0.010305836843123362, "Sales": -0.019465313016016283, "Transport": -0.0037443542735769997, "Web/CloudOps": 0.006308536795277875}, "frequency": {"A": 0.00345448022441186, "D": -0.00530485221761634, "H": -0.00812503551638133, "M": 0.13111712876528603, "Q": 0.012303613046987794, "S": 0.0011977097372789514, "T": 0.0008780628298123982, "W": -0.017210697259963048}, "variates": {"multivariate": 0.00223850342219023, "univariate": -0.001002007852141773}}}, {"control": "random_capacity_1024", "control_checkpoint_sha256": "e03ce08a9c1c357bce9d0aca3871c8817627cc660d16706cd85fddba9b5fe5eb", "control_skill": 0.35449384808212614, "delta": 0.001344529615280643, "group_deltas": {"term": {"long": 0.00237638883416158, "medium": -0.002995015827488734, "short": 0.0027291850305611876}, "domain": {"Econ/Fin": 0.0065255396641851204, "Energy": 0.0026430815112072903, "Healthcare": -0.016105525970274592, "Nature": 0.007973968937341813, "Sales": 0.00413107039041305, "Transport": 0.003388271234575191, "Web/CloudOps": -0.0036257690779198937}, "frequency": {"A": -0.0006841503252912329, "D": 0.0003813061212702973, "H": -0.0017326722357218216, "M": 0.10218653757834206, "Q": 0.006035889998916022, "S": -0.00460849795063234, "T": 0.001562735981800234, "W": -0.029439298815866377}, "variates": {"multivariate": 0.0007699897424880975, "univariate": 0.0018240520417400763}}}], "decision": "Scheduled main learning diagnostic only. Keep original96k schedule and primary48/final96 four-cutoff data-by-LR comparison; no checkpoint selection or publication from this early point.", "new_neural_inference": false, "new_training": false}. No additional training or inference. + +2026-10-24T00:13:53.564224+00:00: E163 engineering complete; guarded replacement queue {"utc": "2026-10-24T00:13:52.735034+00:00", "queue_pid": 12475, "watch_pid": 12476, "comparison_pid": 12477, "wait_pid": 10768, "command": ["python3", "/workspace/research/recovery/train.py", "--code-dir", "/workspace/research/spectral_phase", "--packed", "/workspace/research/packed_sample", "--source-weights-from", "/workspace/research/packed_sample", "--out", "/workspace/research/runs/spectral_phase", "--initialize-from", "/workspace/research/spectral_phase_initial.pt", "--steps", "12000", "--batch", "64", "--lr", ".00002", "--seed", "197", "--loss-mode", "paired", "--stop-file", "/workspace/research/spectral_phase.stop"], "initial_checkpoint_sha256": "19594f2a2c346b07ab67045d9defa33780d36339f75be967fbab1e6f128c1e2b"}. No extra concurrent main trainer and no automatic publication. + +2026-10-24T00:15:20.720957+00:00: E163 cancelled before any production update. {"utc": "2026-10-24T00:15:20.720957+00:00", "decision": "Own-history Fourier feature must be invariant to missing batch prefix; direct feature audit found0.031313251704max difference from16leading missing positions. No efficacy result or production training. New corrected study will use individual dyadic spans.", "diagnostic": {"utc": "2026-10-24T00:14:57.275144+00:00", "fixture_seed": 1103, "original_context": 512, "added_missing_prefix": 16, "horizon": 128, "maximum_abs_feature_difference": [0.031313251703977585, 0.031313251703977585], "seconds": 0.010630937060341239, "optimizer_updates": 0, "validation_data_read": false, "note": "Engineering concern: same observed row with16extra missing-prefix positions changes the FFT span/window/grid. Existing runtime batch padding can choose this span from other row lengths. Prototype has0production updates; this probes features directly because zero-initialized heads hide the difference in initial forecasts."}, "cpu_seconds": 2.765203943941742, "gpu_seconds": 16.775568075012416, "recovery_seconds": 79.45176158100367, "fixture_updates": 18, "production_updates": 0}. Original code, initial and fixture checkpoints retained; no validation outcome. + +2026-10-24T00:16:42.274620+00:00: E164 corrective study declared {"experiment": "E164", "declared_utc": "2026-10-24T00:16:42.274620+00:00", "status": "declared; corrected individual-span engineering pending", "hypothesis": "Existing learned summaries expose only two frequency-metadata calendar periods. Fixed Fourier summaries may expose stable recurring components outside those periods and improve direct long forecasts. Add one zero-initialized query/direct-median pathway, matched against E107.", "run": "spectral_phase_individual", "control": "long_seasonal", "model_code": "/workspace/research/spectral_phase_individual", "study_code": "/workspace/research/spectral_phase_individual_study", "initial_parent": "/workspace/research/long_seasonal_initial.pt", "initial_parent_sha256": "470ef98d69d00b17defbf41c70a92b22574154cdb6e0317993bccf113e4af93b", "initialization": "Own E107 initial checkpoint plus zero spectral_query/head, all inherited tensors exact. No E163 fixture or training weights inherited.", "parameters": 36948352, "added_parameters": 98368, "seed": 197, "batch": 64, "lr": 2e-05, "steps": 12000, "primary": 6000, "final": 12000, "compiled_loss": false, "packed": "/workspace/research/packed_sample", "source_weights_from": "/workspace/research/packed_sample", "synthetics": "Byte-identical E107 originalAR20percent local generator and unchanged all95allowed source sampler; no new synthetic generation or random stream.", "factor": "Same fixed Fourier projection as cancelled E163, but choose separately for each row the largest eligible dyadic span in[128,256,512,1024,2048,4096] with >=90percent finite observations. Every window is right-aligned to the forecast origin with missing-prefix padding as needed. No inference fitting. This corrects prototype dependence on rectangular batch length before any production training or validation.", "feature_constants": {"components": 4, "maximum_span": 4096, "fft_oversampling": 8, "minimum_cycles": 4, "minimum_span": 128, "minimum_finite_fraction": 0.9, "peak_window": 17, "frequency_upper_bound_exclusive": 0.5, "amplitude_clip": 30.0, "confidence_clip": 1.0, "individual_spans": [128, 256, 512, 1024, 2048, 4096], "span_rule": "longest right-aligned window whose finite fraction>=0.9; fixed left padding; never another row's length"}, "allocation_after": "E160 integrated_level_replication12000", "fixture_seeds": {"cpu": 1109, "gpu": 1117, "recovery": 197}, "selection": "Same E107 control, seed197/B64/LR2e-5/original12k, primary6/final12 all4; main1/3k diagnostics. Add explicit missing-prefix invariance and independent per-row reference audits. No transfer/ensemble/sweep chosen. Replaces E163 unstarted allocation afterE16012k.", "inference": "No optimizer or fitted context parameters: Fourier projection, peak selection and phase evaluation are a fixed part of the neural model input transformation. Only supplied instance history and frequency are read.", "new_training": true, "training_queued": false, "prototype": "E163 queued but cancelled before0production updates after a direct feature audit found max0.031313251704difference under16missing prefix positions. Prototype CPU/GPU/recovery records retained; no efficacy comparison or warm start."}. + +2026-10-24T00:17:54.401484+00:00: E161 recovery {"utc": "2026-10-24T00:10:15.848430+00:00", "initial_checkpoint_sha256": "f809d37c499f92dd6c3cf529055c0699e6375da3510f47d238c519f2e5599925", "fixture_seed": 307, "model_parameters": 146575680, "original_schedule_steps": 96000, "batch": 48, "micro_batch": null, "optimizer_updates": 18, "backward_passes": 18, "steps_per_trajectory": 6, "one_optimizer_step_per_effective_batch_verified": true, "commands": [{"name": "repeat_a", "command": ["python3", "/workspace/research/recovery/train.py", "--code-dir", "/workspace/research/random_capacity_seasonal_history", "--packed", "/workspace/research/packed_sample", "--source-weights-from", "/workspace/research/packed_sample", "--out", "/workspace/research/fresh_seasonal_history/recovery_fixture/repeat_a", "--initialize-from", "/workspace/research/random_capacity_seasonal_history_initial.pt", "--steps", "96000", "--batch", "48", "--lr", ".0002", "--seed", "307", "--loss-mode", "paired", "--compile-loss", "--save-every", "1000000", "--halt-after", "6"], "returncode": 0, "seconds": 168.99208089197055}, {"name": "repeat_b", "command": ["python3", "/workspace/research/recovery/train.py", "--code-dir", "/workspace/research/random_capacity_seasonal_history", "--packed", "/workspace/research/packed_sample", "--source-weights-from", "/workspace/research/packed_sample", "--out", "/workspace/research/fresh_seasonal_history/recovery_fixture/repeat_b", "--initialize-from", "/workspace/research/random_capacity_seasonal_history_initial.pt", "--steps", "96000", "--batch", "48", "--lr", ".0002", "--seed", "307", "--loss-mode", "paired", "--compile-loss", "--save-every", "1000000", "--halt-after", "6"], "returncode": 0, "seconds": 42.110761132789776}, {"name": "interrupted", "command": ["python3", "/workspace/research/recovery/train.py", "--code-dir", "/workspace/research/random_capacity_seasonal_history", "--packed", "/workspace/research/packed_sample", "--source-weights-from", "/workspace/research/packed_sample", "--out", "/workspace/research/fresh_seasonal_history/recovery_fixture/interrupted", "--initialize-from", "/workspace/research/random_capacity_seasonal_history_initial.pt", "--steps", "96000", "--batch", "48", "--lr", ".0002", "--seed", "307", "--loss-mode", "paired", "--compile-loss", "--save-every", "1000000", "--halt-after", "3"], "returncode": 0, "seconds": 35.77602210291661}, {"name": "interrupted_resumed", "command": ["python3", "/workspace/research/recovery/train.py", "--code-dir", "/workspace/research/random_capacity_seasonal_history", "--packed", "/workspace/research/packed_sample", "--source-weights-from", "/workspace/research/packed_sample", "--out", "/workspace/research/fresh_seasonal_history/recovery_fixture/interrupted", "--initialize-from", "/workspace/research/random_capacity_seasonal_history_initial.pt", "--steps", "96000", "--batch", "48", "--lr", ".0002", "--seed", "307", "--loss-mode", "paired", "--compile-loss", "--save-every", "1000000", "--resume", "/workspace/research/fresh_seasonal_history/recovery_fixture/interrupted/recovery.pt", "--halt-after", "6"], "returncode": 0, "seconds": 43.49233534093946}], "comparisons": {"uninterrupted_repeat": {"model": {"tensor_count": 201, "tensor_elements": 146575680, "different_tensors": 201, "maximum_abs_difference": 3.5762786865234375e-07, "sum_squared_difference": 6.506833726305247e-09, "sum_squared_reference": 68350.06795191002, "bitwise_equal": false}, "ema_state": {"tensor_count": 201, "tensor_elements": 146575680, "different_tensors": 201, "maximum_abs_difference": 1.3583621694124304e-07, "sum_squared_difference": 5.634592862966282e-10, "sum_squared_reference": 68350.1056344738, "bitwise_equal": false}, "optimizer": {"tensor_count": 603, "tensor_elements": 293151561, "different_tensors": 402, "maximum_abs_difference": 5.075824446976185e-06, "sum_squared_difference": 1.7545609322262243e-08, "sum_squared_reference": 0.005269656186343141, "bitwise_equal": false}, "batch_rng_state": {"tensor_count": 0, "tensor_elements": 0, "different_tensors": 0, "maximum_abs_difference": 0.0, "sum_squared_difference": 0.0, "sum_squared_reference": 0.0, "bitwise_equal": true}, "sampler_rng_state": {"tensor_count": 0, "tensor_elements": 0, "different_tensors": 0, "maximum_abs_difference": 0.0, "sum_squared_difference": 0.0, "sum_squared_reference": 0.0, "bitwise_equal": true}, "sampler_rng_states": {"tensor_count": 0, "tensor_elements": 0, "different_tensors": 0, "maximum_abs_difference": 0.0, "sum_squared_difference": 0.0, "sum_squared_reference": 0.0, "bitwise_equal": true}, "torch_rng_state": {"tensor_count": 1, "tensor_elements": 5056, "different_tensors": 0, "maximum_abs_difference": 0.0, "sum_squared_difference": 0.0, "sum_squared_reference": 0.0, "bitwise_equal": true}, "cuda_rng_state": {"tensor_count": 1, "tensor_elements": 16, "different_tensors": 0, "maximum_abs_difference": 0.0, "sum_squared_difference": 0.0, "sum_squared_reference": 0.0, "bitwise_equal": true}, "prefetched_batch": {"tensor_count": 0, "tensor_elements": 0, "different_tensors": 0, "maximum_abs_difference": 0.0, "sum_squared_difference": 0.0, "sum_squared_reference": 0.0, "bitwise_equal": true}, "parent_checkpoints": {"tensor_count": 0, "tensor_elements": 0, "different_tensors": 0, "maximum_abs_difference": 0.0, "sum_squared_difference": 0.0, "sum_squared_reference": 0.0, "bitwise_equal": true}}, "uninterrupted_vs_restart": {"model": {"tensor_count": 201, "tensor_elements": 146575680, "different_tensors": 200, "maximum_abs_difference": 3.579652911867015e-07, "sum_squared_difference": 6.23636330754173e-09, "sum_squared_reference": 68350.0679519086, "bitwise_equal": false}, "ema_state": {"tensor_count": 201, "tensor_elements": 146575680, "different_tensors": 200, "maximum_abs_difference": 1.9550225260900334e-07, "sum_squared_difference": 5.396295175885011e-10, "sum_squared_reference": 68350.10563447358, "bitwise_equal": false}, "optimizer": {"tensor_count": 603, "tensor_elements": 293151561, "different_tensors": 400, "maximum_abs_difference": 4.220200935378671e-06, "sum_squared_difference": 1.778787843013978e-08, "sum_squared_reference": 0.005269450532013182, "bitwise_equal": false}, "batch_rng_state": {"tensor_count": 0, "tensor_elements": 0, "different_tensors": 0, "maximum_abs_difference": 0.0, "sum_squared_difference": 0.0, "sum_squared_reference": 0.0, "bitwise_equal": true}, "sampler_rng_state": {"tensor_count": 0, "tensor_elements": 0, "different_tensors": 0, "maximum_abs_difference": 0.0, "sum_squared_difference": 0.0, "sum_squared_reference": 0.0, "bitwise_equal": true}, "sampler_rng_states": {"tensor_count": 0, "tensor_elements": 0, "different_tensors": 0, "maximum_abs_difference": 0.0, "sum_squared_difference": 0.0, "sum_squared_reference": 0.0, "bitwise_equal": true}, "torch_rng_state": {"tensor_count": 1, "tensor_elements": 5056, "different_tensors": 0, "maximum_abs_difference": 0.0, "sum_squared_difference": 0.0, "sum_squared_reference": 0.0, "bitwise_equal": true}, "cuda_rng_state": {"tensor_count": 1, "tensor_elements": 16, "different_tensors": 0, "maximum_abs_difference": 0.0, "sum_squared_difference": 0.0, "sum_squared_reference": 0.0, "bitwise_equal": true}, "prefetched_batch": {"tensor_count": 0, "tensor_elements": 0, "different_tensors": 0, "maximum_abs_difference": 0.0, "sum_squared_difference": 0.0, "sum_squared_reference": 0.0, "bitwise_equal": true}, "parent_checkpoints": {"tensor_count": 0, "tensor_elements": 0, "different_tensors": 0, "maximum_abs_difference": 0.0, "sum_squared_difference": 0.0, "sum_squared_reference": 0.0, "bitwise_equal": true}}}, "lock_wait_seconds": 6.587500683963299e-05, "seconds": 311.5800693151541, "validation_data_read": false, "fixture_weights_are_not_research_candidates": true, "note": "Own fresh146M seasonal-history initial checkpoint and allowed training windows. Two independent uninterrupted runs distinguish ordinary compiled numerical variation from an interrupted3+resumed3 trajectory with B48/LR2e-4. Original96k schedule is retained in every fixture and interrupted with halt-after only. These18fixture updates are not research candidates or pretraining warm starts."}. Queued afterE14596 {"utc": "2026-10-24T00:10:19.514229+00:00", "queue_pid": 12294, "watch_pid": 12295, "comparison_pid": 12296, "wait_pid": 961, "command": ["python3", "/workspace/research/recovery/train.py", "--code-dir", "/workspace/research/random_capacity_seasonal_history", "--packed", "/workspace/research/packed_sample", "--source-weights-from", "/workspace/research/packed_sample", "--out", "/workspace/research/runs/random_capacity_seasonal_history", "--initialize-from", "/workspace/research/random_capacity_seasonal_history_initial.pt", "--steps", "96000", "--batch", "48", "--lr", ".0002", "--seed", "307", "--loss-mode", "paired", "--compile-loss", "--stop-file", "/workspace/research/random_capacity_seasonal_history.stop"], "initial_sha256": "f809d37c499f92dd6c3cf529055c0699e6375da3510f47d238c519f2e5599925", "source_positive": 4, "source_mean_delta": 0.0017476629199747462}. No production updates. + +2026-10-24T00:17:54.401484+00:00: {"utc": "2026-10-24T00:17:54.401484+00:00", "experiment": "E149final", "positive_cutoffs": 2, "mean_delta": 0.000456962166369812, "rows": [{"cutoff": "evals", "candidate_skill": 0.3773377988970805, "delta": -8.614717856703091e-05, "candidate_checkpoint": "5765744595ba0834b1ead7298b9fb30803ea4bb569713dabae0df4b47bf8cdfb", "candidate_eval_seconds": 25.76274800300598, "group_skill_delta": {"term": {"long": -0.00016561236444323502, "medium": 0.0008487874128071393, "short": -0.00044037145294129054}, "domain": {"Econ/Fin": 0.007152862648915126, "Energy": 0.00021072990109638479, "Healthcare": -0.005642521716595517, "Nature": -0.0007299272107530452, "Sales": -0.0009063272779392673, "Transport": -0.00022288396547820444, "Web/CloudOps": 0.0002511731028057018}, "frequency": {"A": 0.0018911767727304296, "D": 0.0003007557412896267, "H": 0.000252143736078847, "M": -0.0050667474604919605, "Q": -0.00018300495698930774, "S": 0.00012617739636044956, "T": 8.458014612566789e-05, "W": -0.0013406308096290953}, "variates": {"multivariate": 5.623290072587217e-06, "univariate": -0.00016332896823290088}}}, {"cutoff": "backcast_evals", "candidate_skill": 0.3376891542667435, "delta": 0.00116081695946757, "candidate_checkpoint": "5765744595ba0834b1ead7298b9fb30803ea4bb569713dabae0df4b47bf8cdfb", "candidate_eval_seconds": 24.741241931915283, "group_skill_delta": {"term": {"long": 0.0008852092459690208, "medium": 0.0006605902211632708, "short": 0.001486174286927322}, "domain": {"Econ/Fin": 0.00975519891512866, "Energy": -0.0008886437961970195, "Healthcare": -0.0006653393718112355, "Nature": 0.000524802641391986, "Sales": 2.6811607550025762e-05, "Transport": 0.0005712999008126163, "Web/CloudOps": 0.0032041953776928978}, "frequency": {"A": 0.0007098096388089559, "D": 0.0011619023793209005, "H": -0.00046800042888461846, "M": 0.008988158985540728, "Q": 0.0019153103236770885, "S": 0.00031180768896410527, "T": 0.003099676131035678, "W": -0.003230363673542014}, "variates": {"multivariate": 0.0016352030075882373, "univariate": 0.0007649276553228779}}}, {"cutoff": "backcast2_evals", "candidate_skill": 0.36234207356146586, "delta": 0.0013686039549621887, "candidate_checkpoint": "5765744595ba0834b1ead7298b9fb30803ea4bb569713dabae0df4b47bf8cdfb", "candidate_eval_seconds": 22.805584192276, "group_skill_delta": {"term": {"long": 0.0018101403715909958, "medium": 0.001818188665904108, "short": 0.0010210849816170153}, "domain": {"Econ/Fin": 0.009110695489086829, "Energy": -0.00022432853515130802, "Healthcare": -0.0060706165644131005, "Nature": 0.0008766129432750125, "Sales": 0.004286612580013893, "Transport": 0.00018544190380953562, "Web/CloudOps": 0.004126208471347481}, "frequency": {"A": -0.0010458377970627986, "D": 0.0028104619193202174, "H": 0.0002922905217469518, "M": -0.011243265949815617, "Q": 0.0016659583344551532, "S": 0.0007869307687505822, "T": 0.003927705398679815, "W": -0.0017704303241702357}, "variates": {"multivariate": 0.00240697649636068, "univariate": 0.000519501439371739}}}, {"cutoff": "backcast3_evals", "candidate_skill": 0.38686605990996814, "delta": -0.0006154250703834796, "candidate_checkpoint": "5765744595ba0834b1ead7298b9fb30803ea4bb569713dabae0df4b47bf8cdfb", "candidate_eval_seconds": 22.995014429092407, "group_skill_delta": {"term": {"long": 0.0003202126206452993, "medium": -0.00020016137961542668, "short": -0.0010902322204185966}, "domain": {"Econ/Fin": 0.008888357006374137, "Energy": -0.000721340118299052, "Healthcare": -0.02266914148813437, "Nature": -0.0006119166371461593, "Sales": 0.0004447352180093622, "Transport": 0.0004907968745168079, "Web/CloudOps": 0.001080163180414262}, "frequency": {"A": 0.0011680538087152081, "D": -0.0004787093129622333, "H": -0.00044185116524531054, "M": -0.014406367567972422, "Q": 0.0007264391935365433, "S": -0.0022382679309351783, "T": 0.0016660421036510664, "W": -0.005686058522982762}, "variates": {"multivariate": -5.128783258800951e-05, "univariate": -0.0010417848722212852}}}], "training_loop_seconds": 2334.5442687480245, "training_process_seconds": 2345.7151758850086, "completed_utc": "2026-10-24T00:06:25Z", "decision": "Original12k complete. Primary6k3of4/positive mean; final12k2of4 despite positive mean, so no final selection/full replay. Economic series improve all4 atfinal, healthcare worsens all4, long improves3of4. Keep predeclared seed523 E160 replication based on primary6k gate. No transfer or ensemble selected from this mixed durability result."} +2026-10-24T00:17:54.401484+00:00: Current E159 error diagnostics {"utc": "2026-10-24T00:17:54.401484+00:00", "checkpoint_sha256": "20f014ca61a9cfa4f275d9d7abfd297561ac37fddcdae9ba2ef60d3fca106cf8", "coverage_seconds": 1.2996820721309632, "median_error_seconds": 1.2997272149659693, "mean_quantile_band_deviation": 0.07083079596437386, "term_quantile_band_deviation": {"long": 0.06389248744757602, "medium": 0.05563634887750718, "short": 0.07928148446759123}, "median_error_term": {"long": {"configs": 21, "mean_window_mean_error_fraction": 0.563030467479315, "mean_signed_error_over_mae": -0.12328946022034096, "mean_lead_quarter_mase_ratio": [0.8684392496489218, 1.0211985280339222, 1.0150739829964803, 1.0958280069369932]}, "medium": {"configs": 21, "mean_window_mean_error_fraction": 0.5538773219805426, "mean_signed_error_over_mae": -0.061258011296710456, "mean_lead_quarter_mase_ratio": [0.8390342265406874, 0.9829618176047806, 1.0844259979590447, 1.0937038953048637]}, "short": {"configs": 55, "mean_window_mean_error_fraction": 0.6827336495237254, "mean_signed_error_over_mae": -0.16582310885366539, "mean_lead_quarter_mase_ratio": [0.8602839952057066, 0.9952621070887598, 0.9693730511653285, 1.1987530580358479]}}, "skill_by_term": {"long": 0.4014495319147734, "medium": 0.4103803287128426, "short": 0.3684747953090005}, "optimizer_updates": 0, "new_inference": false, "interpretation": "Descriptive validation diagnostics only. Absolute per-window mean error is a lower bound on MAE, not a recoverable correction. Globally pooled coverage does not establish per-configuration calibration. No forecast parameter fitted."} + +2026-10-24T00:18:08.258019+00:00: E164 CPU checks {"fixture_seed": 1109, "training_seed": 197, "parameters": 36948352, "added_parameters": 98368, "initial_checkpoint_sha256": "7371efd4b00bfe69502521d94c24708ac520fcd763db1a9d7d3a0cd1e62db79b", "parent_sha256": "470ef98d69d00b17defbf41c70a92b22574154cdb6e0317993bccf113e4af93b", "independent_numpy_feature_max_abs_errors": [1.8433228021752512e-07, 1.8477481678047525e-07], "known_sinusoid_phase_max_abs_error": 3.933906555175781e-06, "missing_prefix_invariance": [{"history": 512, "extra_missing_prefix": 16, "bitwise_equal": true}, {"history": 512, "extra_missing_prefix": 500, "bitwise_equal": true}, {"history": 512, "extra_missing_prefix": 4096, "bitwise_equal": true}, {"history": 1000, "extra_missing_prefix": 16, "bitwise_equal": true}, {"history": 1000, "extra_missing_prefix": 500, "bitwise_equal": true}, {"history": 1000, "extra_missing_prefix": 4096, "bitwise_equal": true}, {"history": 2048, "extra_missing_prefix": 16, "bitwise_equal": true}, {"history": 2048, "extra_missing_prefix": 500, "bitwise_equal": true}, {"history": 2048, "extra_missing_prefix": 4096, "bitwise_equal": true}], "individual_span_reference": true, "sign_equivariant_harmonics": true, "sign_invariant_confidence": true, "unsupported_rows_zero": true, "initial_forward_loss_and_shared_gradients_bitwise_equal": true, "all_inherited_tensors_bitwise_equal": true, "new_parameter_gradient_norms": {"spectral_query.weight": 0.012587988749146461, "spectral_head.weight": 0.4032159745693207, "spectral_head.bias": 0.025024333968758583}, "sampler_byte_identical": true, "runtime_model_byte_identical": true, "all_parameters_trainable": true, "initial_checkpoint_unchanged": true, "optimizer_updates": 0, "validation_data_read": false, "seconds": 2.9440311358775944}. New initial, no prototype fixture inheritance; GPU/recovery pending. + +2026-10-24T00:19:43.815141+00:00: Scheduled main-cutoff learning diagnostic {"utc": "2026-10-24T00:19:43.815141+00:00", "experiment": "E122", "run": "random_capacity_original_ar", "step": 72000, "skill": 0.3667338327604791, "checkpoint_sha256": "1ffd85e9aba5962b75ce110368827fcbfe76ee90770fb1c02ae79a3a4bd384fe", "eval_seconds": 36.169397592544556, "comparisons": [{"control": "random_capacity_1024", "control_checkpoint_sha256": "baa71611dff2da76515319d144b23e31e19304772ad4401fc4a18ea03f07a499", "control_skill": 0.36736566458978936, "delta": -0.0006318318293102587, "group_deltas": {"term": {"long": 0.001571113595517204, "medium": 0.0009694911753940216, "short": -0.002176153143911508}, "domain": {"Econ/Fin": -0.0024271143150446095, "Energy": 0.007429536931413683, "Healthcare": -0.02505248860543341, "Nature": 0.0019446912895739743, "Sales": 0.007337586988562683, "Transport": -0.0009250982100885707, "Web/CloudOps": -0.005933097486686911}, "frequency": {"A": -0.007875729634451045, "D": 0.007888233389449106, "H": -0.006237913640563475, "M": -0.06316748277364082, "Q": -0.015628156303292395, "S": -0.0024749412181146457, "T": 0.006476569432165458, "W": 0.008393886704822995}, "variates": {"multivariate": 0.001536081002686318, "univariate": -0.002433006616963773}}}], "decision": "Scheduled main diagnostic after failed primary48k only. Keep original96k durability endpoint and matched four-cutoff controller; no transfer or ensemble selected.", "new_neural_inference": false, "new_training": false}. No additional training or inference. + +2026-10-24T00:19:45.187694+00:00: E164 engineering complete; guarded replacement queue {"utc": "2026-10-24T00:19:44.348414+00:00", "queue_pid": 12656, "watch_pid": 12657, "comparison_pid": 12658, "wait_pid": 10768, "command": ["python3", "/workspace/research/recovery/train.py", "--code-dir", "/workspace/research/spectral_phase_individual", "--packed", "/workspace/research/packed_sample", "--source-weights-from", "/workspace/research/packed_sample", "--out", "/workspace/research/runs/spectral_phase_individual", "--initialize-from", "/workspace/research/spectral_phase_individual_initial.pt", "--steps", "12000", "--batch", "64", "--lr", ".00002", "--seed", "197", "--loss-mode", "paired", "--stop-file", "/workspace/research/spectral_phase_individual.stop"], "initial_checkpoint_sha256": "7371efd4b00bfe69502521d94c24708ac520fcd763db1a9d7d3a0cd1e62db79b"}. No extra concurrent main trainer and no automatic publication. + +2026-10-24T00:21:34.569109+00:00: E164GPU {"fixture_seed": 1117, "training_seed": 197, "parameters": 36948352, "initial_checkpoint_sha256": "7371efd4b00bfe69502521d94c24708ac520fcd763db1a9d7d3a0cd1e62db79b", "gpu_initial_forward_and_loss_bitwise_equal": true, "repeated_features_and_forward_bitwise_equal": true, "cpu_gpu_feature_max_abs_errors": [1.1920928955078125e-07, 1.1920928955078125e-07], "missing_prefix_invariance": [{"extra_missing_prefix": 16, "bitwise_equal": true}, {"extra_missing_prefix": 500, "bitwise_equal": true}, {"extra_missing_prefix": 4096, "bitwise_equal": true}], "all_gradients_finite": true, "new_parameter_gradient_norms": {"spectral_query.weight": 0.006965285632759333, "spectral_head.weight": 0.307437539100647, "spectral_head.bias": 0.019074123352766037}, "initial_parameters_bitwise_unchanged": true, "loss": 0.23934225738048553, "maximum_shape_memory": {"batch": 64, "signed_rows": 128, "context": 4096, "horizon": 1024, "loss": 0.3618183732032776, "peak_allocated_mib": 5790.81494140625, "peak_reserved_mib": 6150.0, "includes_adam_and_ema_placeholders": true, "seconds": 2.4631723719649017}, "seconds": 16.51319515891373, "lock_wait_seconds": 6.758398376405239e-05, "optimizer_updates": 0, "validation_data_read": false}. Full recovery {"utc": "2026-10-24T00:19:43.770792+00:00", "initial_checkpoint_sha256": "7371efd4b00bfe69502521d94c24708ac520fcd763db1a9d7d3a0cd1e62db79b", "fixture_seed": 197, "model_parameters": 36948352, "original_schedule_steps": 12000, "batch": 64, "micro_batch": null, "optimizer_updates": 18, "backward_passes": 18, "steps_per_trajectory": 6, "one_optimizer_step_per_effective_batch_verified": true, "commands": [{"name": "repeat_a", "command": ["python3", "/workspace/research/recovery/train.py", "--code-dir", "/workspace/research/spectral_phase_individual", "--packed", "/workspace/research/packed_sample", "--source-weights-from", "/workspace/research/packed_sample", "--out", "/workspace/research/spectral_phase_individual_study/recovery_fixture/repeat_a", "--initialize-from", "/workspace/research/spectral_phase_individual_initial.pt", "--steps", "12000", "--batch", "64", "--lr", ".00002", "--seed", "197", "--loss-mode", "paired", "--save-every", "1000000", "--halt-after", "6"], "returncode": 0, "seconds": 17.175139367813244}, {"name": "repeat_b", "command": ["python3", "/workspace/research/recovery/train.py", "--code-dir", "/workspace/research/spectral_phase_individual", "--packed", "/workspace/research/packed_sample", "--source-weights-from", "/workspace/research/packed_sample", "--out", "/workspace/research/spectral_phase_individual_study/recovery_fixture/repeat_b", "--initialize-from", "/workspace/research/spectral_phase_individual_initial.pt", "--steps", "12000", "--batch", "64", "--lr", ".00002", "--seed", "197", "--loss-mode", "paired", "--save-every", "1000000", "--halt-after", "6"], "returncode": 0, "seconds": 17.589138079900295}, {"name": "interrupted", "command": ["python3", "/workspace/research/recovery/train.py", "--code-dir", "/workspace/research/spectral_phase_individual", "--packed", "/workspace/research/packed_sample", "--source-weights-from", "/workspace/research/packed_sample", "--out", "/workspace/research/spectral_phase_individual_study/recovery_fixture/interrupted", "--initialize-from", "/workspace/research/spectral_phase_individual_initial.pt", "--steps", "12000", "--batch", "64", "--lr", ".00002", "--seed", "197", "--loss-mode", "paired", "--save-every", "1000000", "--halt-after", "3"], "returncode": 0, "seconds": 16.834066854789853}, {"name": "interrupted_resumed", "command": ["python3", "/workspace/research/recovery/train.py", "--code-dir", "/workspace/research/spectral_phase_individual", "--packed", "/workspace/research/packed_sample", "--source-weights-from", "/workspace/research/packed_sample", "--out", "/workspace/research/spectral_phase_individual_study/recovery_fixture/interrupted", "--initialize-from", "/workspace/research/spectral_phase_individual_initial.pt", "--steps", "12000", "--batch", "64", "--lr", ".00002", "--seed", "197", "--loss-mode", "paired", "--save-every", "1000000", "--resume", "/workspace/research/spectral_phase_individual_study/recovery_fixture/interrupted/recovery.pt", "--halt-after", "6"], "returncode": 0, "seconds": 21.246545956935734}], "comparisons": {"uninterrupted_repeat": {"model": {"tensor_count": 204, "tensor_elements": 36948352, "different_tensors": 204, "maximum_abs_difference": 1.1846423149108887e-06, "sum_squared_difference": 1.3757392498206327e-09, "sum_squared_reference": 35162.00042984886, "bitwise_equal": false}, "ema_state": {"tensor_count": 204, "tensor_elements": 36948352, "different_tensors": 204, "maximum_abs_difference": 4.2654573917388916e-07, "sum_squared_difference": 1.8892103544313682e-10, "sum_squared_reference": 35162.001073350766, "bitwise_equal": false}, "optimizer": {"tensor_count": 612, "tensor_elements": 73896908, "different_tensors": 408, "maximum_abs_difference": 0.0001656583626754582, "sum_squared_difference": 8.49480903859649e-07, "sum_squared_reference": 0.0011975688537956772, "bitwise_equal": false}, "batch_rng_state": {"tensor_count": 0, "tensor_elements": 0, "different_tensors": 0, "maximum_abs_difference": 0.0, "sum_squared_difference": 0.0, "sum_squared_reference": 0.0, "bitwise_equal": true}, "sampler_rng_state": {"tensor_count": 0, "tensor_elements": 0, "different_tensors": 0, "maximum_abs_difference": 0.0, "sum_squared_difference": 0.0, "sum_squared_reference": 0.0, "bitwise_equal": true}, "sampler_rng_states": {"tensor_count": 0, "tensor_elements": 0, "different_tensors": 0, "maximum_abs_difference": 0.0, "sum_squared_difference": 0.0, "sum_squared_reference": 0.0, "bitwise_equal": true}, "torch_rng_state": {"tensor_count": 1, "tensor_elements": 5056, "different_tensors": 0, "maximum_abs_difference": 0.0, "sum_squared_difference": 0.0, "sum_squared_reference": 0.0, "bitwise_equal": true}, "cuda_rng_state": {"tensor_count": 1, "tensor_elements": 16, "different_tensors": 0, "maximum_abs_difference": 0.0, "sum_squared_difference": 0.0, "sum_squared_reference": 0.0, "bitwise_equal": true}, "prefetched_batch": {"tensor_count": 0, "tensor_elements": 0, "different_tensors": 0, "maximum_abs_difference": 0.0, "sum_squared_difference": 0.0, "sum_squared_reference": 0.0, "bitwise_equal": true}, "parent_checkpoints": {"tensor_count": 0, "tensor_elements": 0, "different_tensors": 0, "maximum_abs_difference": 0.0, "sum_squared_difference": 0.0, "sum_squared_reference": 0.0, "bitwise_equal": true}}, "uninterrupted_vs_restart": {"model": {"tensor_count": 204, "tensor_elements": 36948352, "different_tensors": 204, "maximum_abs_difference": 1.0943040251731873e-06, "sum_squared_difference": 1.739875250537824e-09, "sum_squared_reference": 35162.00042984886, "bitwise_equal": false}, "ema_state": {"tensor_count": 204, "tensor_elements": 36948352, "different_tensors": 204, "maximum_abs_difference": 4.0140002965927124e-07, "sum_squared_difference": 2.354695495921695e-10, "sum_squared_reference": 35162.001073350766, "bitwise_equal": false}, "optimizer": {"tensor_count": 612, "tensor_elements": 73896908, "different_tensors": 408, "maximum_abs_difference": 0.00020427280105650425, "sum_squared_difference": 1.4375150368891653e-06, "sum_squared_reference": 0.0011975688537956772, "bitwise_equal": false}, "batch_rng_state": {"tensor_count": 0, "tensor_elements": 0, "different_tensors": 0, "maximum_abs_difference": 0.0, "sum_squared_difference": 0.0, "sum_squared_reference": 0.0, "bitwise_equal": true}, "sampler_rng_state": {"tensor_count": 0, "tensor_elements": 0, "different_tensors": 0, "maximum_abs_difference": 0.0, "sum_squared_difference": 0.0, "sum_squared_reference": 0.0, "bitwise_equal": true}, "sampler_rng_states": {"tensor_count": 0, "tensor_elements": 0, "different_tensors": 0, "maximum_abs_difference": 0.0, "sum_squared_difference": 0.0, "sum_squared_reference": 0.0, "bitwise_equal": true}, "torch_rng_state": {"tensor_count": 1, "tensor_elements": 5056, "different_tensors": 0, "maximum_abs_difference": 0.0, "sum_squared_difference": 0.0, "sum_squared_reference": 0.0, "bitwise_equal": true}, "cuda_rng_state": {"tensor_count": 1, "tensor_elements": 16, "different_tensors": 0, "maximum_abs_difference": 0.0, "sum_squared_difference": 0.0, "sum_squared_reference": 0.0, "bitwise_equal": true}, "prefetched_batch": {"tensor_count": 0, "tensor_elements": 0, "different_tensors": 0, "maximum_abs_difference": 0.0, "sum_squared_difference": 0.0, "sum_squared_reference": 0.0, "bitwise_equal": true}, "parent_checkpoints": {"tensor_count": 0, "tensor_elements": 0, "different_tensors": 0, "maximum_abs_difference": 0.0, "sum_squared_difference": 0.0, "sum_squared_reference": 0.0, "bitwise_equal": true}}}, "lock_wait_seconds": 6.710318848490715e-05, "seconds": 76.72399002406746, "validation_data_read": false, "fixture_weights_are_not_research_candidates": true, "note": "Own36.95M spectral-phase initial checkpoint and allowed training windows. Two independent uninterrupted runs distinguish ordinary numerical variation from an interrupted3+resumed3 trajectory with B64/LR2e-5. Original12k schedule is retained in every fixture and interrupted with halt-after only. These18fixture updates are not research candidates or pretraining warm starts."}. Replacement queue {"utc": "2026-10-24T00:19:44.348414+00:00", "queue_pid": 12656, "watch_pid": 12657, "comparison_pid": 12658, "wait_pid": 10768, "command": ["python3", "/workspace/research/recovery/train.py", "--code-dir", "/workspace/research/spectral_phase_individual", "--packed", "/workspace/research/packed_sample", "--source-weights-from", "/workspace/research/packed_sample", "--out", "/workspace/research/runs/spectral_phase_individual", "--initialize-from", "/workspace/research/spectral_phase_individual_initial.pt", "--steps", "12000", "--batch", "64", "--lr", ".00002", "--seed", "197", "--loss-mode", "paired", "--stop-file", "/workspace/research/spectral_phase_individual.stop"], "initial_checkpoint_sha256": "7371efd4b00bfe69502521d94c24708ac520fcd763db1a9d7d3a0cd1e62db79b"}. PrototypeE163 remains cancelled with0production updates. No efficacy result yet. + +2026-10-24T00:23:50.099156+00:00: E165 conditional six-expert gate declared {"experiment": "E165", "declared_utc": "2026-10-24T00:23:50.099156+00:00", "status": "declared; engineering and source primary gate pending; no production queue", "hypothesis": "If E152 refreshed four-expert gating improves its own frozen equal ensemble at the primary endpoint, the same bounded four-way gate may improve the current E159 six-expert composition while retaining its seasonal/patch diversity.", "run": "six_expert_gate", "code": "/workspace/research/six_expert_gate", "initial_parent": "/workspace/research/ensemble_gate_initial.pt", "initial_parent_sha256": "9d1401cd4d5b5f1c3ddd25a4a74e15e5db7ef708116cdf5c4fa7e90580b58da1", "initialization": "Same own untrained seed751 gate tensors as E138/E152, with zero final layer. No learned gate warm start. All six own scratch experts are immutable and excluded from optimizer/EMA.", "trainable_parameters": 6340, "frozen_expert_parameters": 549426472, "total_parameters": 549432812, "frozen_expert_package": "/workspace/research/gating_experts_E159", "frozen_expert_descriptor": "20f014ca61a9cfa4f275d9d7abfd297561ac37fddcdae9ba2ef60d3fca106cf8", "frozen_expert_hashes": ["0b11b7351a4a92d1d18c71a4159ec445be3a94ace8c7a9fa0edafad87d14e960", "308389b7217c080af9eb185559d4ee3cafa0f3e0f8c4dd8f5526b68198c89988", "1a2fb20a9fb5cae6526f2e36ea47559626bece78fd9c284899836505030ae9fe", "d7cfcd72c3cb84aa69e447b76c4c3ab98c21b7c600a463f0b805f4b4300baf33", "2877a38b94a7d77a53a9df410349cecc2f6ab134c83a76744924543bbe73eb17", "4b309f0721378f97db815dd511b8b54711348270c48e9eae0103dba506f66708"], "seed": 751, "batch": 64, "lr": 0.001, "steps": 12000, "primary": 6000, "final": 12000, "packed": "/workspace/research/packed_sample", "source_weights_from": "/workspace/research/packed_sample", "synthetics": "Byte-identical E138/E152 originalAR20percent local generator; same95source probabilities and requested-horizon stream.", "factor": "Replace four frozen E148 experts by six fixed E159 experts, while learning the same6340-parameter four-way gate. Feature groups are F0,F1,F2,(Fselected+F5)/2, selected=F4 when requested horizon>=720 elseF3. Use all29 existing feature definitions on these four groups. For positive weights w=.125+.5softmax, compute ordered weighted quartet A=(w0F0+w1F1+w2F2+w3Fselected), B=(w0F0+w1F1+w2F2+w3F5), output(A+B)/2 followed by the existing finite/cummax guard. Uniform initial w reproduces E159 arithmetic. All6 actual forwards occur before grouping; training threshold uses each row requested length, not padded maximum.", "precision": "FP32 gate, BF16 frozen experts, TF32False, uncompiled; sameE152 optimization/schedule.", "fixture_seeds": {"cpu": 1123, "gpu": 1129, "recovery": 751}, "start_gate": "Do not create production queue unless E152 ensemble_gate_refresh primary6000 has>=3 positive cutoffs and positive mean versus frozenE148, and CPU/GPU/full recovery plus initial actual-parent replay/relocation checks pass. Then replace E164 allocation after12000.", "allocation_after": "E164 spectral_phase_individual12000", "selection": "Primary6/final12fourcuts against immutable E159 equal composition and then-current publication; main1/3k diagnostics. Descriptive comparison with E152 gate at matched steps where available. Full public replay and all6 runtime/composition/determinism checks required before any atomic publication. No coefficient/threshold/checkpoint sweep or automatic promotion.", "training_queued": false}. + +2026-10-24T00:35:20.195183+00:00: E152 refreshed-gate scheduled main diagnostic {"utc": "2026-10-24T00:35:20.195183+00:00", "experiment": "E152", "run": "ensemble_gate_refresh", "step": 1000, "skill": 0.38912205996537574, "checkpoint_sha256": "e052ed8207585772fc5d9b352bada6465a27bb94daea46dac4217b5a0f3a2f95", "eval_seconds": 105.2851413229946, "groups": {"term": {"long": 0.4082515608984659, "medium": 0.4115026869461521, "short": 0.37278071460993734}, "domain": {"Econ/Fin": 0.15025210733307193, "Energy": 0.24790494620521908, "Healthcare": 0.48916326301828705, "Nature": 0.44410413060260656, "Sales": 0.3443226255412354, "Transport": 0.4742362110314623, "Web/CloudOps": 0.508742736336085}, "frequency": {"A": 0.3799707779078829, "D": 0.37320328044112083, "H": 0.40513698002276144, "M": 0.12360109074513514, "Q": 0.20467615305806208, "S": 0.425097145851453, "T": 0.44662399138640896, "W": 0.24596931377912823}, "variates": {"multivariate": 0.402207975400971, "univariate": 0.378497225364569}}, "comparisons": [{"control": "E138 matched gate", "control_checkpoint_sha256": "633ae8ba586c610bc328df8d2641a1c47546856fa302f9d6374e517a2dd7d2f6", "control_skill": 0.3887689787646067, "delta": 0.00035308120076904537, "group_deltas": {"term": {"long": -0.00027350042877327674, "medium": 0.0004335477400332355, "short": 0.0005737914489680751}, "domain": {"Econ/Fin": -0.0002420561812923605, "Energy": -7.688543296180406e-05, "Healthcare": 0.009540610802558636, "Nature": -0.0007719556836452979, "Sales": 0.0010930830089426191, "Transport": -8.733967325713632e-05, "Web/CloudOps": -0.00036382676216373255}, "frequency": {"A": -0.00033095434871210916, "D": 0.00013317359092690495, "H": 0.0008624804933322627, "M": 0.00396889139920642, "Q": 0.0007361065811714029, "S": 0.0002493448760952921, "T": -0.0008226323021286452, "W": 0.002548555422260401}, "variates": {"multivariate": 4.532928295619687e-05, "univariate": 0.0006078544358558702}}}, {"control": "frozen E148", "control_checkpoint_sha256": null, "control_skill": 0.3882279509777624, "delta": 0.000894108987613329, "group_deltas": {"term": {"long": 0.0022440436376796047, "medium": 0.0005720109456934797, "short": 0.0004789443566485252}, "domain": {"Econ/Fin": 0.0012388225724655477, "Energy": 0.0005045929664684312, "Healthcare": -0.00590601629229659, "Nature": 0.0027386505411056694, "Sales": -0.00028754621792304036, "Transport": 0.001626572782883251, "Web/CloudOps": 0.0012669690272200107}}}, {"control": "current E159", "control_checkpoint_sha256": null, "control_skill": 0.38873378968262917, "delta": 0.00038827028274657227, "group_deltas": {"term": {"long": 0.0010167926614064182, "medium": -0.0002576436701293705, "short": 0.0003967080939545342}, "domain": {"Econ/Fin": 0.0007427869714597968, "Energy": -0.0001534046995308458, "Healthcare": 0.0040527014332705225, "Nature": 0.0004913473511499733, "Sales": -0.0018932908245870017, "Transport": -0.0007877598359640192, "Web/CloudOps": 0.0010872118269090736}}}], "decision": "Scheduled main-panel diagnostic only. Primary6000/final12000 four-cutoff conditions unchanged; no checkpoint selection or publication.", "new_neural_inference": false, "new_training": false, "aggregation_note": "Frozen/current probe frequency groups use full aliases, while scorer groups use frequency units. Compare only common group definitions; retain all candidate group scores."}. + +2026-10-24T00:35:20.195183+00:00: E152 refreshed-gate scheduled main diagnostic {"utc": "2026-10-24T00:35:20.195183+00:00", "experiment": "E152", "run": "ensemble_gate_refresh", "step": 3000, "skill": 0.38975708067973336, "checkpoint_sha256": "878d5a019653ea7f2d6351f14aeffc3c6f759cc4eaf6167e3f26be1328de2b8c", "eval_seconds": 106.3823942609597, "groups": {"term": {"long": 0.4085780961180727, "medium": 0.41206028545933004, "short": 0.3735715142793511}, "domain": {"Econ/Fin": 0.15127001707316823, "Energy": 0.24767378882251456, "Healthcare": 0.49000431251425247, "Nature": 0.4445190350360241, "Sales": 0.34387256317637904, "Transport": 0.4754464262629182, "Web/CloudOps": 0.510024887726052}, "frequency": {"A": 0.3801523364065884, "D": 0.3754275333319902, "H": 0.40630723680401737, "M": 0.12090845068486455, "Q": 0.20551173150931146, "S": 0.42515965225098207, "T": 0.4470426175029344, "W": 0.2438130444810851}, "variates": {"multivariate": 0.40266057381575426, "univariate": 0.37928301747649174}}, "comparisons": [{"control": "E138 matched gate", "control_checkpoint_sha256": "2d9192426b7d544ce10d9ba66e1f527c935ba467df0a7aa12b58898f2f9dfcd1", "control_skill": 0.3893194924231944, "delta": 0.0004375882565389455, "group_deltas": {"term": {"long": -0.0001312209449451096, "medium": 0.0004375616115677161, "short": 0.0006674213904529491}, "domain": {"Econ/Fin": -0.00017886333662497922, "Energy": -6.0969213293349256e-05, "Healthcare": 0.00953901359577436, "Nature": -0.0005833497418474831, "Sales": 0.0010402152424465738, "Transport": 7.644747548452013e-05, "Web/CloudOps": -0.00029461171594435953}, "frequency": {"A": -0.0010372914837961655, "D": 0.00039509815386651326, "H": 0.0010635033557780948, "M": 0.004250778276445377, "Q": 0.0008152199021892459, "S": 0.00029941256514898207, "T": -0.0008226711465588732, "W": 0.0021426415028679147}, "variates": {"multivariate": 7.675872921708571e-05, "univariate": 0.0007361684967129856}}}, {"control": "frozen E148", "control_checkpoint_sha256": null, "control_skill": 0.3882279509777624, "delta": 0.0015291297019709438, "group_deltas": {"term": {"long": 0.0025705788572863986, "medium": 0.0011296094588714167, "short": 0.0012697440260622805}, "domain": {"Econ/Fin": 0.002256732312561849, "Energy": 0.00027343558376391464, "Healthcare": -0.005064966796331172, "Nature": 0.0031535549745231872, "Sales": -0.000737608582779381, "Transport": 0.0028367880143391755, "Web/CloudOps": 0.002549120417187023}}}, {"control": "current E159", "control_checkpoint_sha256": null, "control_skill": 0.38873378968262917, "delta": 0.001023290997104187, "group_deltas": {"term": {"long": 0.001343327881013212, "medium": 0.00029995484304856657, "short": 0.0011875077633682896}, "domain": {"Econ/Fin": 0.0017606967115560979, "Energy": -0.00038456208223536237, "Healthcare": 0.0048937509292359405, "Nature": 0.0009062517845674911, "Sales": -0.0023433531894433424, "Transport": 0.00042245539549190525, "Web/CloudOps": 0.002369363216876086}}}], "decision": "Scheduled main-panel diagnostic only. Primary6000/final12000 four-cutoff conditions unchanged; no checkpoint selection or publication.", "new_neural_inference": false, "new_training": false, "aggregation_note": "Frozen/current probe frequency groups use full aliases, while scorer groups use frequency units. Compare only common group definitions; retain all candidate group scores."}. + +2026-10-24T00:35:20.261357+00:00: E165 engineering completed {"utc": "2026-10-24T00:35:20.261357+00:00", "status": "all engineering and initial replay checks passed; E152 source primary condition pending", "initial_sha256": "a7093fefce1899f79cc45ceb8515770a8b1406dc675a54a1ae254df287650610", "expert_descriptor_sha256": "20f014ca61a9cfa4f275d9d7abfd297561ac37fddcdae9ba2ef60d3fca106cf8", "cpu": {"fixture_seed": 1123, "training_seed": 751, "trainable_parameters": 6340, "frozen_parameters": 549426472, "total_parameters": 549432812, "initial_checkpoint_sha256": "a7093fefce1899f79cc45ceb8515770a8b1406dc675a54a1ae254df287650610", "initial_parent_sha256": "9d1401cd4d5b5f1c3ddd25a4a74e15e5db7ef708116cdf5c4fa7e90580b58da1", "expert_descriptor_sha256": "20f014ca61a9cfa4f275d9d7abfd297561ac37fddcdae9ba2ef60d3fca106cf8", "initial_tensors_bitwise_recreated_at_seed751": true, "mixed_requested_horizon_grouping": true, "group_features_and_perturbed_gate_bitwise_equal_to_E138": true, "initial_composition_bitwise_equal_to_E159": true, "constant_extreme_finite_guard_verified": true, "positive_quantile_shared_weights": true, "quantiles_finite_ordered": true, "all_layer_gradient_norms": {"net.0.weight": 7.086888217600062e-05, "net.0.bias": 1.7668880900600925e-05, "net.2.weight": 9.244368993677199e-05, "net.2.bias": 5.5936467106221244e-05, "net.4.weight": 0.0008719856268726289, "net.4.bias": 0.0014031203463673592}, "sampler_byte_identical": true, "initial_checkpoint_unchanged_by_fixture": true, "optimizer_updates": 0, "validation_data_read": false, "seconds": 0.13036910304799676}, "gpu": {"fixture_seed": 1129, "training_seed": 751, "initial_checkpoint_sha256": "a7093fefce1899f79cc45ceb8515770a8b1406dc675a54a1ae254df287650610", "expert_descriptor_sha256": "20f014ca61a9cfa4f275d9d7abfd297561ac37fddcdae9ba2ef60d3fca106cf8", "expert_hashes": ["0b11b7351a4a92d1d18c71a4159ec445be3a94ace8c7a9fa0edafad87d14e960", "308389b7217c080af9eb185559d4ee3cafa0f3e0f8c4dd8f5526b68198c89988", "1a2fb20a9fb5cae6526f2e36ea47559626bece78fd9c284899836505030ae9fe", "d7cfcd72c3cb84aa69e447b76c4c3ab98c21b7c600a463f0b805f4b4300baf33", "2877a38b94a7d77a53a9df410349cecc2f6ab134c83a76744924543bbe73eb17", "4b309f0721378f97db815dd511b8b54711348270c48e9eae0103dba506f66708"], "synthetic_replay_checks": [{"config_id": "synthetic_H", "rows": 12, "horizon": 384, "batch": 4, "all_six_experts_bitwise": true, "initial_ensemble_bitwise": true, "forward_calls_by_member": [3, 3, 3, 3, 3, 3]}, {"config_id": "synthetic_15T", "rows": 12, "horizon": 960, "batch": 4, "all_six_experts_bitwise": true, "initial_ensemble_bitwise": true, "forward_calls_by_member": [3, 3, 3, 3, 3, 3]}], "maximum_shape": [64, 4096, 1024], "frozen_expert_parameters": 549426472, "trainable_parameters": 6340, "temporary_gate_head_std": 0.01, "all_gate_layers_finite_nonzero_gradients": true, "experts_have_no_gradients": true, "loss": 1.0233280658721924, "minimum_weight": 0.2277223914861679, "maximum_weight": 0.2754024863243103, "peak_allocated_mib": 4188.5205078125, "peak_reserved_mib": 5128.0, "free_before_mib": 20531.6875, "includes_gate_adam_and_ema_placeholders": true, "expert_forward_seconds": 1.4031856169458479, "gate_forward_backward_seconds": 0.1405997769907117, "lock_wait_seconds": 6.403797306120396e-05, "seconds": 22.032232471043244, "optimizer_updates": 0, "validation_data_read": false, "initial_checkpoint_unchanged": true}, "recovery": {"utc": "2026-10-24T00:32:54.610456+00:00", "initial_checkpoint_sha256": "a7093fefce1899f79cc45ceb8515770a8b1406dc675a54a1ae254df287650610", "fixture_seed": 751, "model_parameters": 6340, "original_schedule_steps": 12000, "batch": 64, "micro_batch": null, "optimizer_updates": 18, "backward_passes": 18, "steps_per_trajectory": 6, "one_optimizer_step_per_effective_batch_verified": true, "commands": [{"name": "repeat_a", "command": ["python3", "/workspace/research/recovery/train.py", "--code-dir", "/workspace/research/six_expert_gate", "--packed", "/workspace/research/packed_sample", "--source-weights-from", "/workspace/research/packed_sample", "--out", "/workspace/research/six_expert_gate/recovery_fixture/repeat_a", "--initialize-from", "/workspace/research/six_expert_gate_initial.pt", "--steps", "12000", "--batch", "64", "--lr", ".001", "--seed", "751", "--loss-mode", "paired", "--gate-package", "/workspace/research/gating_experts_E159", "--save-every", "1000000", "--halt-after", "6"], "returncode": 0, "seconds": 25.96227226499468}, {"name": "repeat_b", "command": ["python3", "/workspace/research/recovery/train.py", "--code-dir", "/workspace/research/six_expert_gate", "--packed", "/workspace/research/packed_sample", "--source-weights-from", "/workspace/research/packed_sample", "--out", "/workspace/research/six_expert_gate/recovery_fixture/repeat_b", "--initialize-from", "/workspace/research/six_expert_gate_initial.pt", "--steps", "12000", "--batch", "64", "--lr", ".001", "--seed", "751", "--loss-mode", "paired", "--gate-package", "/workspace/research/gating_experts_E159", "--save-every", "1000000", "--halt-after", "6"], "returncode": 0, "seconds": 25.820977753959596}, {"name": "interrupted", "command": ["python3", "/workspace/research/recovery/train.py", "--code-dir", "/workspace/research/six_expert_gate", "--packed", "/workspace/research/packed_sample", "--source-weights-from", "/workspace/research/packed_sample", "--out", "/workspace/research/six_expert_gate/recovery_fixture/interrupted", "--initialize-from", "/workspace/research/six_expert_gate_initial.pt", "--steps", "12000", "--batch", "64", "--lr", ".001", "--seed", "751", "--loss-mode", "paired", "--gate-package", "/workspace/research/gating_experts_E159", "--save-every", "1000000", "--halt-after", "3"], "returncode": 0, "seconds": 22.782744894968346}, {"name": "interrupted_resumed", "command": ["python3", "/workspace/research/recovery/train.py", "--code-dir", "/workspace/research/six_expert_gate", "--packed", "/workspace/research/packed_sample", "--source-weights-from", "/workspace/research/packed_sample", "--out", "/workspace/research/six_expert_gate/recovery_fixture/interrupted", "--initialize-from", "/workspace/research/six_expert_gate_initial.pt", "--steps", "12000", "--batch", "64", "--lr", ".001", "--seed", "751", "--loss-mode", "paired", "--gate-package", "/workspace/research/gating_experts_E159", "--save-every", "1000000", "--resume", "/workspace/research/six_expert_gate/recovery_fixture/interrupted/recovery.pt", "--halt-after", "6"], "returncode": 0, "seconds": 23.38424158305861}], "comparisons": {"uninterrupted_repeat": {"model": {"tensor_count": 6, "tensor_elements": 6340, "different_tensors": 0, "maximum_abs_difference": 0.0, "sum_squared_difference": 0.0, "sum_squared_reference": 0.0, "bitwise_equal": true}, "ema_state": {"tensor_count": 6, "tensor_elements": 6340, "different_tensors": 0, "maximum_abs_difference": 0.0, "sum_squared_difference": 0.0, "sum_squared_reference": 0.0, "bitwise_equal": true}, "optimizer": {"tensor_count": 18, "tensor_elements": 12686, "different_tensors": 0, "maximum_abs_difference": 0.0, "sum_squared_difference": 0.0, "sum_squared_reference": 0.0, "bitwise_equal": true}, "batch_rng_state": {"tensor_count": 0, "tensor_elements": 0, "different_tensors": 0, "maximum_abs_difference": 0.0, "sum_squared_difference": 0.0, "sum_squared_reference": 0.0, "bitwise_equal": true}, "sampler_rng_state": {"tensor_count": 0, "tensor_elements": 0, "different_tensors": 0, "maximum_abs_difference": 0.0, "sum_squared_difference": 0.0, "sum_squared_reference": 0.0, "bitwise_equal": true}, "sampler_rng_states": {"tensor_count": 0, "tensor_elements": 0, "different_tensors": 0, "maximum_abs_difference": 0.0, "sum_squared_difference": 0.0, "sum_squared_reference": 0.0, "bitwise_equal": true}, "torch_rng_state": {"tensor_count": 1, "tensor_elements": 5056, "different_tensors": 0, "maximum_abs_difference": 0.0, "sum_squared_difference": 0.0, "sum_squared_reference": 0.0, "bitwise_equal": true}, "cuda_rng_state": {"tensor_count": 1, "tensor_elements": 16, "different_tensors": 0, "maximum_abs_difference": 0.0, "sum_squared_difference": 0.0, "sum_squared_reference": 0.0, "bitwise_equal": true}, "prefetched_batch": {"tensor_count": 0, "tensor_elements": 0, "different_tensors": 0, "maximum_abs_difference": 0.0, "sum_squared_difference": 0.0, "sum_squared_reference": 0.0, "bitwise_equal": true}, "parent_checkpoints": {"tensor_count": 0, "tensor_elements": 0, "different_tensors": 0, "maximum_abs_difference": 0.0, "sum_squared_difference": 0.0, "sum_squared_reference": 0.0, "bitwise_equal": true}}, "uninterrupted_vs_restart": {"model": {"tensor_count": 6, "tensor_elements": 6340, "different_tensors": 0, "maximum_abs_difference": 0.0, "sum_squared_difference": 0.0, "sum_squared_reference": 0.0, "bitwise_equal": true}, "ema_state": {"tensor_count": 6, "tensor_elements": 6340, "different_tensors": 0, "maximum_abs_difference": 0.0, "sum_squared_difference": 0.0, "sum_squared_reference": 0.0, "bitwise_equal": true}, "optimizer": {"tensor_count": 18, "tensor_elements": 12686, "different_tensors": 0, "maximum_abs_difference": 0.0, "sum_squared_difference": 0.0, "sum_squared_reference": 0.0, "bitwise_equal": true}, "batch_rng_state": {"tensor_count": 0, "tensor_elements": 0, "different_tensors": 0, "maximum_abs_difference": 0.0, "sum_squared_difference": 0.0, "sum_squared_reference": 0.0, "bitwise_equal": true}, "sampler_rng_state": {"tensor_count": 0, "tensor_elements": 0, "different_tensors": 0, "maximum_abs_difference": 0.0, "sum_squared_difference": 0.0, "sum_squared_reference": 0.0, "bitwise_equal": true}, "sampler_rng_states": {"tensor_count": 0, "tensor_elements": 0, "different_tensors": 0, "maximum_abs_difference": 0.0, "sum_squared_difference": 0.0, "sum_squared_reference": 0.0, "bitwise_equal": true}, "torch_rng_state": {"tensor_count": 1, "tensor_elements": 5056, "different_tensors": 0, "maximum_abs_difference": 0.0, "sum_squared_difference": 0.0, "sum_squared_reference": 0.0, "bitwise_equal": true}, "cuda_rng_state": {"tensor_count": 1, "tensor_elements": 16, "different_tensors": 0, "maximum_abs_difference": 0.0, "sum_squared_difference": 0.0, "sum_squared_reference": 0.0, "bitwise_equal": true}, "prefetched_batch": {"tensor_count": 0, "tensor_elements": 0, "different_tensors": 0, "maximum_abs_difference": 0.0, "sum_squared_difference": 0.0, "sum_squared_reference": 0.0, "bitwise_equal": true}, "parent_checkpoints": {"tensor_count": 0, "tensor_elements": 0, "different_tensors": 0, "maximum_abs_difference": 0.0, "sum_squared_difference": 0.0, "sum_squared_reference": 0.0, "bitwise_equal": true}}}, "lock_wait_seconds": null, "seconds": 100.38793351408094, "fixture_process_seconds": 97.95023649698123, "comparison_seconds": 2.4377001021057367, "compared_existing_fixtures": true, "audit_correction": "Original parent-count assertion omitted the own seed751 initialization ancestor. Corrected to check all seven exact paths and hashes: original gate plus six frozen members. All18 updates had completed successfully; reused their saved states, no retraining. Lock wait was not recorded by the interrupted audit.", "validation_data_read": false, "fixture_weights_are_not_research_candidates": true, "note": "Own6340parameter gate initialization and six immutable scratch experts and allowed training windows. Two independent uninterrupted runs distinguish ordinary numerical variation from an interrupted3+resumed3 trajectory with B64/LR1e-3. Original12k schedule is retained in every fixture and interrupted with halt-after only. These18fixture updates are not research candidates or pretraining warm starts."}, "initial_composition": {"utc": "2026-10-24T00:34:14.984865+00:00", "descriptor_sha256": "2eacda6c1e6d9b5f3aa20abfd347bff3b9538533c5e682a337e308be33233d31", "expert_descriptor_sha256": "20f014ca61a9cfa4f275d9d7abfd297561ac37fddcdae9ba2ef60d3fca106cf8", "checks": [{"config_id": "electricity__H__short", "instances": 370, "bitwise_parent_replay": true, "finite_ordered": true}, {"config_id": "solar__T__short", "instances": 137, "bitwise_parent_replay": true, "finite_ordered": true}, {"config_id": "ett2__H__long", "instances": 1, "bitwise_parent_replay": true, "finite_ordered": true}], "seconds": 0.025799579918384552, "inference_seconds": 28.3603819811251, "optimizer_updates": 0, "validation_labels_read": false}, "relocation": [{"package": "/run-state/workspace/research/candidate-six-expert-gate-initial", "checkpoint_sha256": "2eacda6c1e6d9b5f3aa20abfd347bff3b9538533c5e682a337e308be33233d31", "configurations": 3, "bitwise_equal_after_relocation": true, "finite_and_monotone": true, "seconds": 43.34846419398673}], "production_updates": 0, "training_queued": false, "start_controller_pid": 13178, "start_controller_session": 43344}. The first recovery audit incorrectly asserted six ancestors, omitting the own original gate initialization. Corrected to verify all seven exact paths and hashes; reused the already successful18 fixture updates and compared all saved states, without new training. Fixture process time97.950236497s, comparison2.437700102s; original lock wait unrecorded. Frozen E159 snapshot copy/hash audit7.104273114s. E152 primary6000 source condition still pending; no production queue, no efficacy result, no publication. All fixture seeds and hashes above; validation inputs read only for runtime composition/relocation, no labels or gradients. + +E134 48000 four-cutoff comparison: {"label": "E134 48000 four-cutoff comparison", "utc": "2026-10-24T00:37:49.859156+00:00", "candidate": "visibility_curriculum_ema48000", "control": "random_capacity_1024_ema48000", "rows": [{"cutoff": "evals", "candidate_skill": 0.36525634093090353, "control_skill": 0.3685434345005941, "delta": -0.003287093569690591, "candidate_checkpoint": "95d06f52eed270488edefed16b1f6c5b350edc337444ef305a4773d9a3802635", "control_checkpoint": "227ea80abf17fc81ae191f94e91f6dd7adbc0d837235750b5f5e9cef3dd5472c", "candidate_eval_seconds": 38.20464468002319, "candidate_groups": {"term": {"long": {"n_configs": 21, "rel_mase_gmean": 0.7588244164666973, "rel_wql_gmean": 0.4961697838937343}, "medium": {"n_configs": 21, "rel_mase_gmean": 0.739978623564422, "rel_wql_gmean": 0.5090411762852056}, "short": {"n_configs": 55, "rel_mase_gmean": 0.7611632816662901, "rel_wql_gmean": 0.5573300595924339}}, "domain": {"Econ/Fin": {"n_configs": 6, "rel_mase_gmean": 0.8926286045711399, "rel_wql_gmean": 0.860964015447519}, "Energy": {"n_configs": 32, "rel_mase_gmean": 0.9090306807962821, "rel_wql_gmean": 0.6579070184915148}, "Healthcare": {"n_configs": 5, "rel_mase_gmean": 0.6404104961997081, "rel_wql_gmean": 0.560895089310695}, "Nature": {"n_configs": 15, "rel_mase_gmean": 0.8120372264232352, "rel_wql_gmean": 0.411978354383331}, "Sales": {"n_configs": 4, "rel_mase_gmean": 0.847305106445191, "rel_wql_gmean": 0.5254625770410326}, "Transport": {"n_configs": 15, "rel_mase_gmean": 0.6540875256363423, "rel_wql_gmean": 0.4526765833847551}, "Web/CloudOps": {"n_configs": 20, "rel_mase_gmean": 0.5765463017613839, "rel_wql_gmean": 0.44712335291945227}}, "frequency": {"A": {"n_configs": 1, "rel_mase_gmean": 0.5947751395975854, "rel_wql_gmean": 0.6166944176338048}, "D": {"n_configs": 15, "rel_mase_gmean": 0.7908307685296367, "rel_wql_gmean": 0.5483723293808048}, "H": {"n_configs": 31, "rel_mase_gmean": 0.741352024472913, "rel_wql_gmean": 0.5171708532615545}, "M": {"n_configs": 5, "rel_mase_gmean": 0.9647032668545465, "rel_wql_gmean": 0.8235278072505815}, "Q": {"n_configs": 1, "rel_mase_gmean": 0.7696773593348447, "rel_wql_gmean": 0.8271821093501818}, "S": {"n_configs": 6, "rel_mase_gmean": 0.6655044930125812, "rel_wql_gmean": 0.509838543919616}, "T": {"n_configs": 30, "rel_mase_gmean": 0.7128601947056027, "rel_wql_gmean": 0.4699890236442982}, "W": {"n_configs": 8, "rel_mase_gmean": 0.9078652594515759, "rel_wql_gmean": 0.6653028875932876}}, "variates": {"multivariate": {"n_configs": 43, "rel_mase_gmean": 0.725031230967393, "rel_wql_gmean": 0.5269850819657679}, "univariate": {"n_configs": 54, "rel_mase_gmean": 0.7816448628331134, "rel_wql_gmean": 0.5376941231432095}}}, "control_groups": {"term": {"long": {"n_configs": 21, "rel_mase_gmean": 0.7587789601246303, "rel_wql_gmean": 0.49670212535892816}, "medium": {"n_configs": 21, "rel_mase_gmean": 0.7318228954729822, "rel_wql_gmean": 0.5069316624612222}, "short": {"n_configs": 55, "rel_mase_gmean": 0.7543680498586199, "rel_wql_gmean": 0.5551519797008444}}, "domain": {"Econ/Fin": {"n_configs": 6, "rel_mase_gmean": 0.894159342526865, "rel_wql_gmean": 0.8617452681906776}, "Energy": {"n_configs": 32, "rel_mase_gmean": 0.9101004419451137, "rel_wql_gmean": 0.6584458800440816}, "Healthcare": {"n_configs": 5, "rel_mase_gmean": 0.5844853147385809, "rel_wql_gmean": 0.5155213514040926}, "Nature": {"n_configs": 15, "rel_mase_gmean": 0.8048625648125799, "rel_wql_gmean": 0.41574642740891904}, "Sales": {"n_configs": 4, "rel_mase_gmean": 0.8608662664471317, "rel_wql_gmean": 0.5338203994579515}, "Transport": {"n_configs": 15, "rel_mase_gmean": 0.6544478487122294, "rel_wql_gmean": 0.45419898205149567}, "Web/CloudOps": {"n_configs": 20, "rel_mase_gmean": 0.5691881615817772, "rel_wql_gmean": 0.4440050362883611}}, "frequency": {"A": {"n_configs": 1, "rel_mase_gmean": 0.6000112444199207, "rel_wql_gmean": 0.6164736935875128}, "D": {"n_configs": 15, "rel_mase_gmean": 0.7725946330728586, "rel_wql_gmean": 0.5378537664666186}, "H": {"n_configs": 31, "rel_mase_gmean": 0.7386096620108181, "rel_wql_gmean": 0.5168384077006924}, "M": {"n_configs": 5, "rel_mase_gmean": 0.9539291717517222, "rel_wql_gmean": 0.8277758145427478}, "Q": {"n_configs": 1, "rel_mase_gmean": 0.7693856070976332, "rel_wql_gmean": 0.8422189104112654}, "S": {"n_configs": 6, "rel_mase_gmean": 0.6694448136296561, "rel_wql_gmean": 0.5123742201671339}, "T": {"n_configs": 30, "rel_mase_gmean": 0.7085963765778743, "rel_wql_gmean": 0.4689717872647888}, "W": {"n_configs": 8, "rel_mase_gmean": 0.8999499970954961, "rel_wql_gmean": 0.6671558797312815}}, "variates": {"multivariate": {"n_configs": 43, "rel_mase_gmean": 0.7233324743781643, "rel_wql_gmean": 0.5297705922478261}, "univariate": {"n_configs": 54, "rel_mase_gmean": 0.7726310020210445, "rel_wql_gmean": 0.5326719533609565}}}, "group_skill_delta": {"term": {"long": 0.0003106897925936325, "medium": -0.004657561472032334, "short": -0.004182077464375822}, "domain": {"Econ/Fin": 0.0011493446797928852, "Energy": 0.000771732375757006, "Healthcare": -0.0504141909296546, "Nature": 6.653852087434853e-05, "Sales": 0.010646259887259979, "Transport": 0.0010643437973335557, "Web/CloudOps": -0.00501256085704338}, "frequency": {"A": 0.0025511472843610106, "D": -0.013909839374725008, "H": -0.0013449878109238478, "M": -0.002708217631091525, "Q": 0.007067085292393416, "S": 0.0031728673458000234, "T": -0.002358509130186315, "W": -0.0023185312826037308}, "variates": {"multivariate": 0.0009050018376165481, "univariate": -0.006766031717364784}}}, {"cutoff": "backcast_evals", "candidate_skill": 0.3227202285413666, "control_skill": 0.3284572453347383, "delta": -0.005737016793371685, "candidate_checkpoint": "95d06f52eed270488edefed16b1f6c5b350edc337444ef305a4773d9a3802635", "control_checkpoint": "227ea80abf17fc81ae191f94e91f6dd7adbc0d837235750b5f5e9cef3dd5472c", "candidate_eval_seconds": 35.606292486190796, "candidate_groups": {"term": {"long": {"n_configs": 21, "rel_mase_gmean": 0.771290151804513, "rel_wql_gmean": 0.4775666811689783}, "medium": {"n_configs": 21, "rel_mase_gmean": 0.7869034069536475, "rel_wql_gmean": 0.5472856868628698}, "short": {"n_configs": 55, "rel_mase_gmean": 0.8270864819192134, "rel_wql_gmean": 0.6177726639892104}}, "domain": {"Econ/Fin": {"n_configs": 6, "rel_mase_gmean": 0.8873628296906343, "rel_wql_gmean": 0.826906119352008}, "Energy": {"n_configs": 32, "rel_mase_gmean": 0.8971427255972672, "rel_wql_gmean": 0.6816691859141232}, "Healthcare": {"n_configs": 5, "rel_mase_gmean": 0.6730258973649053, "rel_wql_gmean": 0.622111359010287}, "Nature": {"n_configs": 15, "rel_mase_gmean": 0.9448084794868067, "rel_wql_gmean": 0.44486150321574786}, "Sales": {"n_configs": 4, "rel_mase_gmean": 0.7293505378481634, "rel_wql_gmean": 0.49271533064256623}, "Transport": {"n_configs": 15, "rel_mase_gmean": 0.7566254717144377, "rel_wql_gmean": 0.5500978718804623}, "Web/CloudOps": {"n_configs": 20, "rel_mase_gmean": 0.6550713645515309, "rel_wql_gmean": 0.4736416032364671}}, "frequency": {"A": {"n_configs": 1, "rel_mase_gmean": 0.6335092080247855, "rel_wql_gmean": 0.6909417973417361}, "D": {"n_configs": 15, "rel_mase_gmean": 0.8522279297806198, "rel_wql_gmean": 0.5079816234552446}, "H": {"n_configs": 31, "rel_mase_gmean": 0.7818017491062872, "rel_wql_gmean": 0.5313200035721021}, "M": {"n_configs": 5, "rel_mase_gmean": 0.8499463326156449, "rel_wql_gmean": 0.784548024277911}, "Q": {"n_configs": 1, "rel_mase_gmean": 0.7762611571832998, "rel_wql_gmean": 0.8094560010302635}, "S": {"n_configs": 6, "rel_mase_gmean": 0.8556246925945398, "rel_wql_gmean": 0.5021650295060314}, "T": {"n_configs": 30, "rel_mase_gmean": 0.7710471915647417, "rel_wql_gmean": 0.6070849509559498}, "W": {"n_configs": 8, "rel_mase_gmean": 0.9231146171846405, "rel_wql_gmean": 0.6061658469962053}}, "variates": {"multivariate": {"n_configs": 43, "rel_mase_gmean": 0.7872287493842031, "rel_wql_gmean": 0.5498452075063115}, "univariate": {"n_configs": 54, "rel_mase_gmean": 0.8211524042492284, "rel_wql_gmean": 0.5850257492469381}}}, "control_groups": {"term": {"long": {"n_configs": 21, "rel_mase_gmean": 0.7707957586118519, "rel_wql_gmean": 0.4811201577001369}, "medium": {"n_configs": 21, "rel_mase_gmean": 0.779618755877286, "rel_wql_gmean": 0.5433042239308433}, "short": {"n_configs": 55, "rel_mase_gmean": 0.8170439519805486, "rel_wql_gmean": 0.6091621644447172}}, "domain": {"Econ/Fin": {"n_configs": 6, "rel_mase_gmean": 0.8722234206774022, "rel_wql_gmean": 0.8117570602842299}, "Energy": {"n_configs": 32, "rel_mase_gmean": 0.8947438467938783, "rel_wql_gmean": 0.6785152460589088}, "Healthcare": {"n_configs": 5, "rel_mase_gmean": 0.6486779418840113, "rel_wql_gmean": 0.5987237519655887}, "Nature": {"n_configs": 15, "rel_mase_gmean": 0.93065028071109, "rel_wql_gmean": 0.4513997152587998}, "Sales": {"n_configs": 4, "rel_mase_gmean": 0.7423627428173035, "rel_wql_gmean": 0.5023610195015825}, "Transport": {"n_configs": 15, "rel_mase_gmean": 0.7544059722768195, "rel_wql_gmean": 0.5493110062331005}, "Web/CloudOps": {"n_configs": 20, "rel_mase_gmean": 0.6450703250668249, "rel_wql_gmean": 0.45978977116467806}}, "frequency": {"A": {"n_configs": 1, "rel_mase_gmean": 0.6241575007860913, "rel_wql_gmean": 0.6847120856661988}, "D": {"n_configs": 15, "rel_mase_gmean": 0.842461994316231, "rel_wql_gmean": 0.49795147250110605}, "H": {"n_configs": 31, "rel_mase_gmean": 0.7795524804282207, "rel_wql_gmean": 0.5290387312855092}, "M": {"n_configs": 5, "rel_mase_gmean": 0.83852272258776, "rel_wql_gmean": 0.7941982685846185}, "Q": {"n_configs": 1, "rel_mase_gmean": 0.7797879425916332, "rel_wql_gmean": 0.8309566441120046}, "S": {"n_configs": 6, "rel_mase_gmean": 0.8507345990970113, "rel_wql_gmean": 0.5003107438855952}, "T": {"n_configs": 30, "rel_mase_gmean": 0.761595505116273, "rel_wql_gmean": 0.5997414447915067}, "W": {"n_configs": 8, "rel_mase_gmean": 0.9075462369415759, "rel_wql_gmean": 0.6040409924897451}}, "variates": {"multivariate": {"n_configs": 43, "rel_mase_gmean": 0.7762510882566483, "rel_wql_gmean": 0.5402880481180907}, "univariate": {"n_configs": 54, "rel_mase_gmean": 0.8169534925089487, "rel_wql_gmean": 0.5848561547513397}}}, "group_skill_delta": {"term": {"long": 0.002058503096084241, "medium": -0.005424963217522505, "short": -0.009321407566231121}, "domain": {"Econ/Fin": -0.015154003671995042, "Energy": -0.002855018947240051, "Healthcare": -0.023867523167023785, "Nature": -0.00016479392196044884, "Sales": 0.011215052135972847, "Transport": -0.0014078439828253408, "Web/CloudOps": -0.01241104254425951}, "frequency": {"A": -0.007868561161560983, "D": -0.010271417987265496, "H": -0.0023109149466701284, "M": -0.0005331334262046461, "Q": 0.012280982545619268, "S": -0.0030836923916799375, "T": -0.008331363819921389, "W": -0.007635796924971849}, "variates": {"multivariate": -0.010306008549362033, "univariate": -0.0018745602935245076}}}, {"cutoff": "backcast2_evals", "candidate_skill": 0.3507633689474391, "control_skill": 0.35202854592719945, "delta": -0.001265176979760363, "candidate_checkpoint": "95d06f52eed270488edefed16b1f6c5b350edc337444ef305a4773d9a3802635", "control_checkpoint": "227ea80abf17fc81ae191f94e91f6dd7adbc0d837235750b5f5e9cef3dd5472c", "candidate_eval_seconds": 34.90352916717529, "candidate_groups": {"term": {"long": {"n_configs": 19, "rel_mase_gmean": 0.8033227665392387, "rel_wql_gmean": 0.5119997934388222}, "medium": {"n_configs": 21, "rel_mase_gmean": 0.751678705984495, "rel_wql_gmean": 0.5052771505556318}, "short": {"n_configs": 54, "rel_mase_gmean": 0.775532386630423, "rel_wql_gmean": 0.5708827283731039}}, "domain": {"Econ/Fin": {"n_configs": 6, "rel_mase_gmean": 0.8967663151633832, "rel_wql_gmean": 0.9298242973674327}, "Energy": {"n_configs": 32, "rel_mase_gmean": 0.9213730662842281, "rel_wql_gmean": 0.66636897715143}, "Healthcare": {"n_configs": 5, "rel_mase_gmean": 0.6654168676549616, "rel_wql_gmean": 0.5805228987329738}, "Nature": {"n_configs": 15, "rel_mase_gmean": 0.7851486319135289, "rel_wql_gmean": 0.37970819123742444}, "Sales": {"n_configs": 3, "rel_mase_gmean": 0.5607998101780901, "rel_wql_gmean": 0.35448406533175336}, "Transport": {"n_configs": 14, "rel_mase_gmean": 0.6827346308078934, "rel_wql_gmean": 0.5151650983804941}, "Web/CloudOps": {"n_configs": 19, "rel_mase_gmean": 0.6610358593533059, "rel_wql_gmean": 0.47215556356565797}}, "frequency": {"A": {"n_configs": 1, "rel_mase_gmean": 0.572376545986155, "rel_wql_gmean": 0.7503366006226045}, "D": {"n_configs": 15, "rel_mase_gmean": 0.7381070742798269, "rel_wql_gmean": 0.4569556325206365}, "H": {"n_configs": 30, "rel_mase_gmean": 0.7535116856640539, "rel_wql_gmean": 0.49554983360939425}, "M": {"n_configs": 4, "rel_mase_gmean": 0.8437306675797487, "rel_wql_gmean": 0.8800712742669009}, "Q": {"n_configs": 1, "rel_mase_gmean": 0.8481775173981636, "rel_wql_gmean": 0.8971511751756559}, "S": {"n_configs": 6, "rel_mase_gmean": 0.8981625165446192, "rel_wql_gmean": 0.5603703230325233}, "T": {"n_configs": 29, "rel_mase_gmean": 0.7599636555150961, "rel_wql_gmean": 0.5634546199638512}, "W": {"n_configs": 8, "rel_mase_gmean": 0.9014127827993693, "rel_wql_gmean": 0.6458582578492629}}, "variates": {"multivariate": {"n_configs": 42, "rel_mase_gmean": 0.7760994395067246, "rel_wql_gmean": 0.5241532602431781}, "univariate": {"n_configs": 52, "rel_mase_gmean": 0.7752665979715619, "rel_wql_gmean": 0.5595230069593911}}}, "control_groups": {"term": {"long": {"n_configs": 19, "rel_mase_gmean": 0.7993914938306502, "rel_wql_gmean": 0.5118750835782793}, "medium": {"n_configs": 21, "rel_mase_gmean": 0.7499036235389392, "rel_wql_gmean": 0.5076549719236019}, "short": {"n_configs": 54, "rel_mase_gmean": 0.7704097782971766, "rel_wql_gmean": 0.5713062592973345}}, "domain": {"Econ/Fin": {"n_configs": 6, "rel_mase_gmean": 0.8815921046221019, "rel_wql_gmean": 0.9187815814539992}, "Energy": {"n_configs": 32, "rel_mase_gmean": 0.920339256072892, "rel_wql_gmean": 0.6704665333680074}, "Healthcare": {"n_configs": 5, "rel_mase_gmean": 0.6501582024912718, "rel_wql_gmean": 0.5627569152494311}, "Nature": {"n_configs": 15, "rel_mase_gmean": 0.7745581689862006, "rel_wql_gmean": 0.3822657735243897}, "Sales": {"n_configs": 3, "rel_mase_gmean": 0.564680893551189, "rel_wql_gmean": 0.36069686176729393}, "Transport": {"n_configs": 14, "rel_mase_gmean": 0.6867714219327128, "rel_wql_gmean": 0.5187038356734098}, "Web/CloudOps": {"n_configs": 19, "rel_mase_gmean": 0.6559779306984489, "rel_wql_gmean": 0.4700795832946835}}, "frequency": {"A": {"n_configs": 1, "rel_mase_gmean": 0.5730275474668758, "rel_wql_gmean": 0.757090806020688}, "D": {"n_configs": 15, "rel_mase_gmean": 0.7274640646847123, "rel_wql_gmean": 0.4535589328676016}, "H": {"n_configs": 30, "rel_mase_gmean": 0.753383988535096, "rel_wql_gmean": 0.4956674683856894}, "M": {"n_configs": 4, "rel_mase_gmean": 0.8235108549294832, "rel_wql_gmean": 0.8750079559219315}, "Q": {"n_configs": 1, "rel_mase_gmean": 0.8610057552014395, "rel_wql_gmean": 0.9072883197219879}, "S": {"n_configs": 6, "rel_mase_gmean": 0.8980758705842602, "rel_wql_gmean": 0.5621964897161842}, "T": {"n_configs": 29, "rel_mase_gmean": 0.7550135684916714, "rel_wql_gmean": 0.5666392411392774}, "W": {"n_configs": 8, "rel_mase_gmean": 0.9006457837675473, "rel_wql_gmean": 0.6506166099596051}}, "variates": {"multivariate": {"n_configs": 42, "rel_mase_gmean": 0.7711918037459841, "rel_wql_gmean": 0.5235744450782658}, "univariate": {"n_configs": 52, "rel_mase_gmean": 0.7717812927982146, "rel_wql_gmean": 0.5614676858240594}}}, "group_skill_delta": {"term": {"long": -0.0016490966052676859, "medium": 0.0007185905879466548, "short": -0.0019552113588346964}, "domain": {"Econ/Fin": -0.013150950471190193, "Energy": 0.001964344590927869, "Healthcare": -0.016641106261392036, "Nature": -0.0018715687509804901, "Sales": 0.00544380792388649, "Transport": 0.0037901281342765936, "Web/CloudOps": -0.003366263265257352}, "frequency": {"A": 0.003317201076493137, "D": -0.006349156123178212, "H": 2.0737043317731185e-05, "M": -0.012840436821923151, "Q": 0.011523410330987804, "S": 0.0011207633199109557, "T": -0.00029402435714576125, "W": 0.0024796963133547623}, "variates": {"multivariate": -0.0023709069495879698, "univariate": -0.00034113635644028584}}}, {"cutoff": "backcast3_evals", "candidate_skill": 0.3713709174517087, "control_skill": 0.37292052340404636, "delta": -0.0015496059523376626, "candidate_checkpoint": "95d06f52eed270488edefed16b1f6c5b350edc337444ef305a4773d9a3802635", "control_checkpoint": "227ea80abf17fc81ae191f94e91f6dd7adbc0d837235750b5f5e9cef3dd5472c", "candidate_eval_seconds": 36.018442153930664, "candidate_groups": {"term": {"long": {"n_configs": 19, "rel_mase_gmean": 0.7738338674417549, "rel_wql_gmean": 0.4860927042916618}, "medium": {"n_configs": 20, "rel_mase_gmean": 0.7668072516401532, "rel_wql_gmean": 0.5386425874225044}, "short": {"n_configs": 54, "rel_mase_gmean": 0.7457164326551978, "rel_wql_gmean": 0.5304473393821333}}, "domain": {"Econ/Fin": {"n_configs": 6, "rel_mase_gmean": 0.8493005874679506, "rel_wql_gmean": 0.8444670338105384}, "Energy": {"n_configs": 32, "rel_mase_gmean": 0.8458230500587848, "rel_wql_gmean": 0.5636938047946474}, "Healthcare": {"n_configs": 5, "rel_mase_gmean": 0.9249097680135012, "rel_wql_gmean": 0.7293455855872943}, "Nature": {"n_configs": 15, "rel_mase_gmean": 0.7456320702193615, "rel_wql_gmean": 0.36042326777226763}, "Sales": {"n_configs": 3, "rel_mase_gmean": 0.7663691042118934, "rel_wql_gmean": 0.48559194473685835}, "Transport": {"n_configs": 14, "rel_mase_gmean": 0.5609897837406572, "rel_wql_gmean": 0.4671863081579998}, "Web/CloudOps": {"n_configs": 18, "rel_mase_gmean": 0.7163861992571561, "rel_wql_gmean": 0.5351763198063817}}, "frequency": {"A": {"n_configs": 1, "rel_mase_gmean": 0.5294956677751813, "rel_wql_gmean": 0.7601590503946983}, "D": {"n_configs": 15, "rel_mase_gmean": 0.8048208104439769, "rel_wql_gmean": 0.46505541795988203}, "H": {"n_configs": 29, "rel_mase_gmean": 0.7369844215610118, "rel_wql_gmean": 0.5020052557232543}, "M": {"n_configs": 4, "rel_mase_gmean": 0.9096513881905368, "rel_wql_gmean": 0.9056631765120441}, "Q": {"n_configs": 1, "rel_mase_gmean": 0.7163004561832067, "rel_wql_gmean": 0.7574306998361999}, "S": {"n_configs": 6, "rel_mase_gmean": 0.8488100147641352, "rel_wql_gmean": 0.6203650039798294}, "T": {"n_configs": 29, "rel_mase_gmean": 0.7053750884579296, "rel_wql_gmean": 0.47423056308649514}, "W": {"n_configs": 8, "rel_mase_gmean": 0.8326569319348602, "rel_wql_gmean": 0.653799126136982}}, "variates": {"multivariate": {"n_configs": 41, "rel_mase_gmean": 0.7829959627997626, "rel_wql_gmean": 0.5343447538124212}, "univariate": {"n_configs": 52, "rel_mase_gmean": 0.7351930112457998, "rel_wql_gmean": 0.5138542155779451}}}, "control_groups": {"term": {"long": {"n_configs": 19, "rel_mase_gmean": 0.778439210250305, "rel_wql_gmean": 0.49273006835962047}, "medium": {"n_configs": 20, "rel_mase_gmean": 0.7543591675058114, "rel_wql_gmean": 0.5336114555873182}, "short": {"n_configs": 54, "rel_mase_gmean": 0.7410759417262284, "rel_wql_gmean": 0.5306695859227978}}, "domain": {"Econ/Fin": {"n_configs": 6, "rel_mase_gmean": 0.8417532075173881, "rel_wql_gmean": 0.845937573328201}, "Energy": {"n_configs": 32, "rel_mase_gmean": 0.8479297958628922, "rel_wql_gmean": 0.5713250153301629}, "Healthcare": {"n_configs": 5, "rel_mase_gmean": 0.8731181567001823, "rel_wql_gmean": 0.7062780184682419}, "Nature": {"n_configs": 15, "rel_mase_gmean": 0.7270655135819668, "rel_wql_gmean": 0.35387222781116245}, "Sales": {"n_configs": 3, "rel_mase_gmean": 0.7847661053470236, "rel_wql_gmean": 0.5044137986032409}, "Transport": {"n_configs": 14, "rel_mase_gmean": 0.5682067850777656, "rel_wql_gmean": 0.4723998126869398}, "Web/CloudOps": {"n_configs": 18, "rel_mase_gmean": 0.7099877343724879, "rel_wql_gmean": 0.5298000345996671}}, "frequency": {"A": {"n_configs": 1, "rel_mase_gmean": 0.5442290559778864, "rel_wql_gmean": 0.8446584386780612}, "D": {"n_configs": 15, "rel_mase_gmean": 0.7841644844236885, "rel_wql_gmean": 0.45301801369927336}, "H": {"n_configs": 29, "rel_mase_gmean": 0.7364988058949682, "rel_wql_gmean": 0.5033340588432017}, "M": {"n_configs": 4, "rel_mase_gmean": 0.8691738414068243, "rel_wql_gmean": 0.8678518341048217}, "Q": {"n_configs": 1, "rel_mase_gmean": 0.7280932255410748, "rel_wql_gmean": 0.7727291093550366}, "S": {"n_configs": 6, "rel_mase_gmean": 0.8609187156813392, "rel_wql_gmean": 0.6295058615351511}, "T": {"n_configs": 29, "rel_mase_gmean": 0.7042489928814539, "rel_wql_gmean": 0.4735497097280189}, "W": {"n_configs": 8, "rel_mase_gmean": 0.8282027876303875, "rel_wql_gmean": 0.6880431539037373}}, "variates": {"multivariate": {"n_configs": 41, "rel_mase_gmean": 0.7803099495695505, "rel_wql_gmean": 0.5354633301386752}, "univariate": {"n_configs": 52, "rel_mase_gmean": 0.7294079779755795, "rel_wql_gmean": 0.5139221776313134}}}, "group_skill_delta": {"term": {"long": 0.006007775350467592, "medium": -0.008221804976694225, "short": -0.0018286202389568018}, "domain": {"Econ/Fin": -0.0030375654208836256, "Energy": 0.005523405238086587, "Healthcare": -0.03604782546778906, "Nature": -0.011168490153826816, "Sales": 0.019128643986449756, "Transport": 0.0061493226271940316, "Web/CloudOps": -0.0058753816404841785}, "frequency": {"A": 0.043573097340507294, "D": -0.015768738501609647, "H": 0.0006037926453074105, "M": -0.039142505623270596, "Q": 0.0135006686712964, "S": 0.010521999336211785, "T": -0.0008768524230027275, "W": 0.0170488351026592}, "variates": {"multivariate": -0.00043489748653113836, "univariate": -0.002382507794277622}}}], "mean_delta": -0.0029597233237900755, "positive_cutoffs": 0, "outcome": "Declared comparison checkpoints 48000,96000. No transfer formula or automatic publication is selected by this controller."} + +2026-10-24T00:37:54.280073+00:00: E166 fresh seasonal Gaussian-residual study declared {"experiment": "E166", "declared_utc": "2026-10-24T00:37:54.280073+00:00", "status": "declared; data integration and recovery checks pending; no production queue", "hypothesis": "E106 stationary Gaussian synthetic residuals improved a mature small-model treatment, and E131 learned seasonal summaries improve fresh146M forecasts. Test whether this stochastic prior helps when learned from initialization together with the summaries, without weight arithmetic or a new architecture.", "run": "random_capacity_seasonal_spectral", "study_code": "/workspace/research/fresh_seasonal_spectral", "model_code": "/workspace/research/random_capacity_seasonal_spectral", "control": "random_capacity_long_seasonal", "initial": "/workspace/research/random_capacity_long_seasonal_initial.pt", "initial_sha256": "f7e35a6341ffc6c1ce53cfd8934256dde937171f5002f1fc34b1fd169f1a15d6", "initialization": "Exactly the same own seed307 random E131 tensors, with zero output/long-seasonal heads. No mature treatment weights or fixture states inherited.", "parameters": 146575680, "seed": 307, "batch": 48, "lr": 0.0002, "steps": 96000, "primary": 48000, "final": 96000, "compiled_loss": true, "packed": "/workspace/research/packed_sample", "source_weights_from": "/workspace/research/packed_sample", "factor": "Replace residual noise in half of original20percent synthetic paths by the unchanged own E106 stationary Gaussian generator; original slowAR residual is still drawn first. Original real/unselected rows, source probabilities, seasonality/trend/changepoint/intermittent transforms, requested horizons and original RNG streams remain identical to E131.", "generator": {"families": ["Matern0.5", "Matern1.5", "Matern2.5", "RBF"], "length_scale": "10**Uniform(0,4)", "variance": "unit theoretical discrete spectral variance; no realized-path normalization", "fft_size": "next power of two >=4*n", "replacement_probability": 0.5, "synthetic_fraction": 0.2, "spectral_seed": 1100310}, "allocation_after": "E157 random_capacity_long_seasonal_halflr96000", "fixture_seeds": {"cpu": 1133, "recovery": 307}, "engineering": "Model and initialization byte-identical E131: reuse its unchanged GPU forward/gradient/maximum-shape audit with hash checks. New CPU sampler integration and full original-schedule recovery fixture verify new spectral RNG plus optimizer/EMA/prefetch. Fixture weights never become candidates.", "selection": "Primary48/final96 four-cutoff matched comparisons against E131; main4/8/16/24/72 diagnostics. No new coefficient, generator or frequency sweep. A fixed ensemble/publication would require a separate declaration and full public replay. No automatic publication.", "inference": "Unchanged E131 fixed input-only model and runtime. New generator is training-only; no test-time fitting.", "sources": "Same95allowlisted packed_sample directories and existing E131 local synthetics plus own E106 stationary Gaussian residual generator.", "training_queued": false}. E106final12k was nearly neutral acrosscutoffs and no final treatment transfer was selected; this new fresh-model comparison is an interaction test, not confirmation of universal benefit. E20/E60cross-variable adapters already failed temporal robustness; no new adapter is being retried. + +2026-10-24T00:38:50.049757+00:00: E134 declared interim48k review {"utc": "2026-10-24T00:38:50.049757+00:00", "experiment": "E134", "step": 48000, "positive_cutoffs": 0, "mean_delta": -0.0029597233237900755, "rows": [{"cutoff": "evals", "skill": 0.36525634093090353, "control_skill": 0.3685434345005941, "delta": -0.003287093569690591, "checkpoint_sha256": "95d06f52eed270488edefed16b1f6c5b350edc337444ef305a4773d9a3802635", "eval_seconds": 38.20464468002319, "group_deltas": {"term": {"long": 0.0003106897925936325, "medium": -0.004657561472032334, "short": -0.004182077464375822}, "domain": {"Econ/Fin": 0.0011493446797928852, "Energy": 0.000771732375757006, "Healthcare": -0.0504141909296546, "Nature": 6.653852087434853e-05, "Sales": 0.010646259887259979, "Transport": 0.0010643437973335557, "Web/CloudOps": -0.00501256085704338}, "frequency": {"A": 0.0025511472843610106, "D": -0.013909839374725008, "H": -0.0013449878109238478, "M": -0.002708217631091525, "Q": 0.007067085292393416, "S": 0.0031728673458000234, "T": -0.002358509130186315, "W": -0.0023185312826037308}, "variates": {"multivariate": 0.0009050018376165481, "univariate": -0.006766031717364784}}}, {"cutoff": "backcast_evals", "skill": 0.3227202285413666, "control_skill": 0.3284572453347383, "delta": -0.005737016793371685, "checkpoint_sha256": "95d06f52eed270488edefed16b1f6c5b350edc337444ef305a4773d9a3802635", "eval_seconds": 35.606292486190796, "group_deltas": {"term": {"long": 0.002058503096084241, "medium": -0.005424963217522505, "short": -0.009321407566231121}, "domain": {"Econ/Fin": -0.015154003671995042, "Energy": -0.002855018947240051, "Healthcare": -0.023867523167023785, "Nature": -0.00016479392196044884, "Sales": 0.011215052135972847, "Transport": -0.0014078439828253408, "Web/CloudOps": -0.01241104254425951}, "frequency": {"A": -0.007868561161560983, "D": -0.010271417987265496, "H": -0.0023109149466701284, "M": -0.0005331334262046461, "Q": 0.012280982545619268, "S": -0.0030836923916799375, "T": -0.008331363819921389, "W": -0.007635796924971849}, "variates": {"multivariate": -0.010306008549362033, "univariate": -0.0018745602935245076}}}, {"cutoff": "backcast2_evals", "skill": 0.3507633689474391, "control_skill": 0.35202854592719945, "delta": -0.001265176979760363, "checkpoint_sha256": "95d06f52eed270488edefed16b1f6c5b350edc337444ef305a4773d9a3802635", "eval_seconds": 34.90352916717529, "group_deltas": {"term": {"long": -0.0016490966052676859, "medium": 0.0007185905879466548, "short": -0.0019552113588346964}, "domain": {"Econ/Fin": -0.013150950471190193, "Energy": 0.001964344590927869, "Healthcare": -0.016641106261392036, "Nature": -0.0018715687509804901, "Sales": 0.0054438079238864345, "Transport": 0.0037901281342765936, "Web/CloudOps": -0.003366263265257352}, "frequency": {"A": 0.003317201076493137, "D": -0.006349156123178212, "H": 2.0737043317731185e-05, "M": -0.012840436821923151, "Q": 0.011523410330987804, "S": 0.0011207633199109557, "T": -0.00029402435714576125, "W": 0.0024796963133547623}, "variates": {"multivariate": -0.0023709069495879698, "univariate": -0.00034113635644028584}}}, {"cutoff": "backcast3_evals", "skill": 0.3713709174517087, "control_skill": 0.37292052340404636, "delta": -0.0015496059523376626, "checkpoint_sha256": "95d06f52eed270488edefed16b1f6c5b350edc337444ef305a4773d9a3802635", "eval_seconds": 36.018442153930664, "group_deltas": {"term": {"long": 0.006007775350467592, "medium": -0.008221804976694225, "short": -0.0018286202389568018}, "domain": {"Econ/Fin": -0.0030375654208836256, "Energy": 0.005523405238086587, "Healthcare": -0.03604782546778906, "Nature": -0.011168490153826816, "Sales": 0.019128643986449756, "Transport": 0.0061493226271940316, "Web/CloudOps": -0.0058753816404841785}, "frequency": {"A": 0.043573097340507294, "D": -0.015768738501609647, "H": 0.0006037926453074105, "M": -0.039142505623270596, "Q": 0.0135006686712964, "S": 0.010521999336211785, "T": -0.0008768524230027275, "W": 0.0170488351026592}, "variates": {"multivariate": -0.00043489748653113836, "univariate": -0.002382507794277622}}}], "decision": "Declared interim48k comparison loses all4cutoffs. Continue unchanged to primary96000; no transfer or ensemble. Early curriculum deliberately exposed less history/horizon, so interim step count is not equal observed-token compute. Shared-GPU phase timings are retained in capacity_training_phases.json; no equal-compute efficacy claim."}. + +2026-10-24T00:40:41.522664+00:00: E134 timing-reference correction: the phase ledger is the phases field of capacity_learning_curves.json, not a separate capacity_training_phases.json. No numeric result changed. E152 CPU-only descriptive gate-weight watcherPID13600/session18825 waits existing6000/12000 selection reports; no new checkpoint or weight-bound selection. E166 CPU audit7680pairedrows/1575synthetic/783replaced passed4.975751727s; all95sources/probs and unmodified rows/RNGs exact, added RNG save/replay exact. Model/initial hashes identicalE131; reused its GPU audit8b090686... including10602MiBmax andgradientcos.999991608. New18-update compiled full-recovery fixture running, no productionqueue. + +2026-10-24T00:45:10.032620+00:00: E166 original96k compiled recovery fixture completed18updates in189.55314065190032s (lockwait6.697000935673714e-05s); allRNG/prefetch/ancestry exact. Numerical maxima {"uninterrupted_repeat": {"model": 3.6135315895080566e-07, "ema_state": 2.384185791015625e-07, "optimizer": 5.38479071110487e-06}, "uninterrupted_vs_restart": {"model": 3.348750396980904e-07, "ema_state": 2.384185791015625e-07, "optimizer": 4.04921593144536e-06}}. Queued {"utc": "2026-10-24T00:42:44.949876+00:00", "queue_pid": 13736, "watch_pid": 13737, "comparison_pid": 13738, "wait_pid": 9775, "command": ["python3", "/workspace/research/recovery/train.py", "--code-dir", "/workspace/research/random_capacity_seasonal_spectral", "--packed", "/workspace/research/packed_sample", "--source-weights-from", "/workspace/research/packed_sample", "--out", "/workspace/research/runs/random_capacity_seasonal_spectral", "--initialize-from", "/workspace/research/random_capacity_long_seasonal_initial.pt", "--steps", "96000", "--batch", "48", "--lr", ".0002", "--seed", "307", "--loss-mode", "paired", "--compile-loss", "--stop-file", "/workspace/research/random_capacity_seasonal_spectral.stop"], "initial_sha256": "f7e35a6341ffc6c1ce53cfd8934256dde937171f5002f1fc34b1fd169f1a15d6", "reused_gpu_receipt": "/workspace/research/random_capacity_long_seasonal_gpu_checks.json"}, persistent session2809, no extra main allocation. First launcher guard correctly refused to clone E131 recovered supervisor command containing--resume; no child or productionupdate was started. Corrected launcher constructs explicit declared fresh-init command and only compares original numerical settings. Failed guard log retained. Fixture weights never candidates. + +2026-10-24T00:45:10.763064+00:00: E167 conditional larger-student own-six-expert distillation declared {"experiment": "E167", "declared_utc": "2026-10-24T00:45:10.763064+00:00", "status": "declared; accumulation/teacher integration audits and E155 primary condition pending; no production queue", "hypothesis": "Own-model distillation improved fresh146M E101 against its matched no-teacher control. If the pending329M width model improves over146M, test the same coefficient0.5 distillation regularizer with six fixed own neural experts on the identical329M student. This is a controlled distillation-versus-none comparison at329M, not an isolated teacher-version comparison with E101.", "run": "random_capacity_1536_six_teacher", "study_code": "/workspace/research/large_six_teacher", "model_code": "/workspace/research/random_capacity_1536_six_teacher", "control": "random_capacity_1536", "initial": "/workspace/research/random_capacity_1536_initial.pt", "initial_sha256": "0b7ea96c46696952970cfd8edf965da00a7738b3c7c321b49987dfd55b5f4cc3", "initialization": "Exactly own E155 random seed307329M tensors; no learned student warm start or fixture inheritance.", "parameters": 329029920, "seed": 307, "batch": 48, "micro_batch": 16, "lr": 0.0002, "steps": 96000, "primary": 48000, "final": 96000, "compiled_student_loss": true, "compiled_teacher": false, "packed": "/workspace/research/packed_sample", "source_weights_from": "/workspace/research/packed_sample", "synthetics": "Byte-identical E155 oldpack/source probabilities/20percent slowAR local generator and requested-horizon stream.", "teacher_package": "/workspace/research/distill_teacher_E159", "teacher_descriptor_sha256": "20f014ca61a9cfa4f275d9d7abfd297561ac37fddcdae9ba2ef60d3fca106cf8", "teacher_parameters": 549426472, "teacher_coefficient": 0.5, "teacher_target": "Raw normalized sign-paired neural quantiles BEFORE positivity/seasonal/continuity/zero-mass rules, following E101 target semantics. Compute all six own frozen experts for every training row. SelectF4 if that row requestedH>=720 elseF3; A=(F0+F1+F2+Fselected)/4, B=(F0+F1+F2+F5)/4, target(A+B)/2 in orderedFP32. Reject nonfinite teacher rows as E101 does. This is not the exact postprocessed E159 public forecast.", "factor": "Add teacher regularization only to E155. Correct microbatch accumulation uses separate full-batch denominators for supervised context weights and valid-teacher context weights; one clip/AdamW/EMA per48rows. All existing teacher/nonteacher paths remain unchanged.", "start_gate": "Do not create production queue unless E155 primary48000 improves its matched146M E79 control at>=3cutoffs with positive mean, and all CPU/GPU/recovery/teacher-composition audits pass.", "allocation_after": "E155 random_capacity_153696000", "fixture_seeds": {"cpu": 1151, "gpu": 1153, "recovery": 307}, "selection": "Primary48/final96 four-cutoff matched comparisons with E155; main4/8/16/24/72 diagnostics. No automatic ensemble/publication, coefficient sweep or teacher refresh. Complete full inference replay before any selected publication.", "inference": "Student only,329029920params, unchanged E155 neural/runtime code. Teacher is training-only and immutable. No inference-time fitting or parameter adaptation.", "training_queued": false}. + +2026-10-24T00:52:15.637354+00:00: E167 frozen teacher copy/hash9.620409570s, descriptor20f014ca61a9cfa4f275d9d7abfd297561ac37fddcdae9ba2ef60d3fca106cf8, all six hashes["0b11b7351a4a92d1d18c71a4159ec445be3a94ace8c7a9fa0edafad87d14e960", "308389b7217c080af9eb185559d4ee3cafa0f3e0f8c4dd8f5526b68198c89988", "1a2fb20a9fb5cae6526f2e36ea47559626bece78fd9c284899836505030ae9fe", "d7cfcd72c3cb84aa69e447b76c4c3ab98c21b7c600a463f0b805f4b4300baf33", "2877a38b94a7d77a53a9df410349cecc2f6ab134c83a76744924543bbe73eb17", "4b309f0721378f97db815dd511b8b54711348270c48e9eae0103dba506f66708"]. CPU accumulator audit {"utc": "2026-10-24T00:49:07.045331+00:00", "fixture_seed": 1151, "production_seed": 307, "production_parameters": 329029920, "fixture_parameters": 164384, "initial_checkpoint_sha256": "0b7ea96c46696952970cfd8edf965da00a7738b3c7c321b49987dfd55b5f4cc3", "model_definition_byte_identical_to_E155": true, "sampler_byte_identical_to_E155": true, "zero_teacher_coefficient_loss_and_gradients_bitwise": true, "checks": [{"case": "mixed_invalid", "loss": 5.170059680938721, "accumulated_loss": 5.170060381293297, "maximum_gradient_difference": 4.3655745685100555e-09, "full_denominators": [15.639413833618164, 7.674710750579834], "loss_tolerance_8_float32_ulps": 3.814697265625e-06, "naive_equal_microbatch_loss": 3.9022263288497925, "naive_equal_microbatch_gradient_error": 0.0019741884898394346}, {"case": "all_valid", "loss": 5.188629627227783, "accumulated_loss": 5.188630156219006, "maximum_gradient_difference": 5.762558430433273e-09, "full_denominators": [15.639413833618164, 15.639413833618164], "loss_tolerance_8_float32_ulps": 3.814697265625e-06}, {"case": "all_invalid", "loss": 5.007543563842773, "accumulated_loss": 5.007544495165348, "maximum_gradient_difference": 7.363269105553627e-09, "full_denominators": [15.639413833618164, 9.99999993922529e-09], "loss_tolerance_8_float32_ulps": 3.814697265625e-06}], "optimizer_updates": 0, "validation_data_read": false, "fixture_weights_are_not_research_candidates": true, "audit_note": "Initial fixed5e-7 absolute loss tolerance rejected a7.0035e-7 reduction difference on loss5.17, with gradient difference4.37e-9. Use8float32 ULPs for scalar reduction; numerical implementation unchanged. Both failed audit logs retained.", "seconds": 2.0936000319197774}. Initial scalar absolute tolerance failure retained:7.0035e-7 difference on loss5.17 was about1.5float32ULPs, while maxgradient error4.37e-9; tolerance now8ULPs with unchanged math. Teacher row-invalid criterion also rejects nonfinite pooled sums, preserving ordinary finite arithmetic. GPUauditPID13883/session63548, engineeringPID14007/session11126, conditionalstarterPID14011/session94426; no production queue. Sharedtrainer modification is opt-in to new E167 basename/teacher+micro flags; original E101/E155/E157 objectives remain unchanged. + +2026-10-24T00:54:33.799214+00:00: E167 actual329M student/six-teacher GPU audit passed {"fixture_seed": 1153, "training_seed": 307, "student_parameters": 329029920, "teacher_parameters": 549426472, "initial_checkpoint_sha256": "0b7ea96c46696952970cfd8edf965da00a7738b3c7c321b49987dfd55b5f4cc3", "teacher_descriptor_sha256": "20f014ca61a9cfa4f275d9d7abfd297561ac37fddcdae9ba2ef60d3fca106cf8", "teacher_hashes": ["0b11b7351a4a92d1d18c71a4159ec445be3a94ace8c7a9fa0edafad87d14e960", "308389b7217c080af9eb185559d4ee3cafa0f3e0f8c4dd8f5526b68198c89988", "1a2fb20a9fb5cae6526f2e36ea47559626bece78fd9c284899836505030ae9fe", "d7cfcd72c3cb84aa69e447b76c4c3ab98c21b7c600a463f0b805f4b4300baf33", "2877a38b94a7d77a53a9df410349cecc2f6ab134c83a76744924543bbe73eb17", "4b309f0721378f97db815dd511b8b54711348270c48e9eae0103dba506f66708"], "teacher_composition_checks": [{"horizon": 128, "requested_lengths": [1, 32, 64, 128], "all_six_forward_calls": [[[8, 128]], [[8, 128]], [[8, 128]], [[8, 128]], [[8, 128]], [[8, 128]]], "independent_numpy_composition_bitwise": true, "shared_normalization_bitwise": true, "finite_ordered": true}, {"horizon": 960, "requested_lengths": [1, 384, 719, 720, 900, 960], "all_six_forward_calls": [[[12, 960]], [[12, 960]], [[12, 960]], [[12, 960]], [[12, 960]], [[12, 960]]], "independent_numpy_composition_bitwise": true, "shared_normalization_bitwise": true, "finite_ordered": true}], "invalid_teacher_row_zero_and_excluded": true, "all_teacher_parameters_frozen_without_gradients": true, "temporary_student_head_std": 0.001, "reference_fullbatch_loss": 0.7004502415657043, "eager_accumulated_loss": 0.7004502415657043, "compiled_accumulated_loss": 0.7004505395889282, "eager_accumulation_gradients": {"all": {"dot": 0.26979458852568616, "reference_squared": 0.2697926706803731, "actual_squared": 0.2697977209979459, "maximum_abs_difference": 3.0517578125e-05, "gradient_cosine": 0.9999977490271673}, "encoder": {"dot": 0.0012590623039124595, "reference_squared": 0.001259064200800783, "actual_squared": 0.0012590659353114379, "maximum_abs_difference": 2.682209014892578e-07, "gradient_cosine": 0.9999978046064318}, "decoder": {"dot": 0.0029759800777089487, "reference_squared": 0.002975987647645009, "actual_squared": 0.0029759860649034137, "maximum_abs_difference": 4.172325134277344e-07, "gradient_cosine": 0.9999977222462716}}, "compiled_accumulation_gradients": {"all": {"dot": 0.26975451631551495, "reference_squared": 0.2697926706803731, "actual_squared": 0.26972002127261285, "maximum_abs_difference": 4.57763671875e-05, "gradient_cosine": 0.9999932264233048}, "encoder": {"dot": 0.0012588569573904577, "reference_squared": 0.001259064200800783, "actual_squared": 0.0012586756032912805, "maximum_abs_difference": 3.6298297345638275e-07, "gradient_cosine": 0.9999897291520723}, "decoder": {"dot": 0.002975563628415488, "reference_squared": 0.002975987647645009, "actual_squared": 0.0029751896283004555, "maximum_abs_difference": 7.152557373046875e-07, "gradient_cosine": 0.9999916040797189}}, "compile_comparison_seconds": 41.236116148065776, "maximum_shape_memory": {"effective_batch": 48, "micro_batch": 16, "context": 4096, "horizon": 1024, "loss": 0.6212995648384094, "teacher_valid_fraction": 1.0, "peak_allocated_mib": 12634.08056640625, "peak_reserved_mib": 13108.0, "includes_student_adam_and_ema_placeholders": true, "includes_all_six_frozen_teachers": true, "teacher_forward_seconds": 0.9626369888428599, "first_compiled_backward_seconds": 42.48338002199307}, "warm_shared_gpu_backward_seconds": [0.6069796290248632, 0.6086006728000939], "free_before_mib": 22827.6875, "initial_checkpoint_unchanged": true, "lock_wait_seconds": 7.457006722688675e-05, "seconds": 157.82416469417512, "optimizer_updates": 0, "validation_data_read": false}. Original96k recovery fixture is nowrunning under existing .evaluation.lock; no production queue, no validation score or generator change. + +2026-10-24T01:01:41.411852+00:00: E167 engineering completion review {"utc": "2026-10-24T01:01:41.411852+00:00", "experiment": "E167", "seed": 307, "initial_checkpoint_sha256": "0b7ea96c46696952970cfd8edf965da00a7738b3c7c321b49987dfd55b5f4cc3", "student_parameters": 329029920, "original_schedule_steps": 96000, "batch": 48, "micro_batch": 16, "fixture_optimizer_updates": 18, "fixture_backward_passes": 54, "recovery_seconds": 534.3821000340395, "recovery_process_seconds": 536.1617751228623, "engineering_controller_seconds": 604.1797056109644, "comparisons": {"uninterrupted_repeat": {"all_rng_prefetch_and_ancestry_bitwise_equal": true, "maximum_abs_difference": {"model": 1.4622098660765914e-06, "ema_state": 1.1683388265737449e-06, "optimizer": 6.494694389402866e-06}, "relative_l2_difference": {"model": 4.961968495540054e-07, "ema_state": 1.669386865583843e-07, "optimizer": 0.0015225300208790453}}, "uninterrupted_vs_restart": {"all_rng_prefetch_and_ancestry_bitwise_equal": true, "maximum_abs_difference": {"model": 1.4926999938325025e-06, "ema_state": 1.176018827209191e-06, "optimizer": 6.937887519598007e-06}, "relative_l2_difference": {"model": 5.002287036377794e-07, "ema_state": 1.676034761548449e-07, "optimizer": 0.0015267261432049596}}}, "training_bitwise_replay_claimed": false, "validation_data_read": false, "production_queue_created": false, "outcome": "All engineering checks pass. RNG, prefetched batches and ancestry recover exactly. Compiled weights vary in both uninterrupted-repeat and restart comparisons; restart differences are of the same scale in this fixture. No fixture weights are candidates. Production remains conditional on E155 primary48000 improving its matched146M control in at least3 cutoffs with positive mean."}. + +2026-10-24T01:06:11.515269+00:00: Scheduled main-cutoff learning diagnostic {"utc": "2026-10-24T01:06:11.515269+00:00", "experiment": "E131", "run": "random_capacity_long_seasonal", "step": 72000, "skill": 0.3725403683653904, "checkpoint_sha256": "8bfcacd32eb7a17a74927f5f82d2eda19206a767361f459da20a9e936de0d0d9", "eval_seconds": 37.32617473602295, "comparisons": [{"control": "random_capacity_1024", "control_checkpoint_sha256": "baa71611dff2da76515319d144b23e31e19304772ad4401fc4a18ea03f07a499", "control_skill": 0.36736566458978936, "delta": 0.0051747037756010306, "group_deltas": {"term": {"long": -0.0016296946713941773, "medium": 0.013454105487210821, "short": 0.004518389203690187}, "domain": {"Econ/Fin": 0.004220147328393042, "Energy": 0.008091970586444397, "Healthcare": -0.02957391220277439, "Nature": 0.01534363832133312, "Sales": 0.012604944441223176, "Transport": 0.011752441034040051, "Web/CloudOps": -0.00276320482545811}, "frequency": {"A": -0.005923161628099027, "D": 0.007017951685214019, "H": 0.004919409206434078, "M": -0.021613806935304014, "Q": -0.015823584493894538, "S": 0.004443136999212061, "T": 0.004728662436653375, "W": 0.022952323714409473}, "variates": {"multivariate": 0.00654647522796481, "univariate": 0.004033889474984398}}}], "decision": "Scheduled main-panel diagnostic only. Keep the original96k schedule and declared final96k four-cutoff comparison. The published E159 retains the independently selected48k checkpoint; no replacement or new ensemble follows from72k.", "new_neural_inference": false, "new_training": false}. No additional training or inference. + +## E152 ensemble_gate_refresh 6000 valid_screen +- Checkpoint SHA-256: `a7d0ee6866ea787f29eac043531aad3613674f159fd00b3491fd87fab8388fd1`. +- Evaluation: 97 configurations, 9473 instances, 0 failed configurations; 104.56864271895029 seconds. +- Overall skill 0.389532; relative MASE 0.731932; relative WQL 0.509161. +- term skill: long=0.4080, medium=0.4126, short=0.3732. +- domain skill: Econ/Fin=0.1513, Energy=0.2476, Healthcare=0.4908, Nature=0.4443, Sales=0.3442, Transport=0.4756, Web/CloudOps=0.5090. +- frequency skill: A=0.3813, D=0.3765, H=0.4051, M=0.1178, Q=0.2041, S=0.4250, T=0.4474, W=0.2443. +- variates skill: multivariate=0.4018, univariate=0.3796. +- Outcome: Declared expert-version/corpus-coverage factorial. Only6340gateparameters trained; all four immutable experts forecast every instance. Source/control/current comparisons precede any full replay. + +## E152 ensemble_gate_refresh 6000 valid_backcast +- Checkpoint SHA-256: `a7d0ee6866ea787f29eac043531aad3613674f159fd00b3491fd87fab8388fd1`. +- Evaluation: 97 configurations, 9330 instances, 0 failed configurations; 102.79379361798055 seconds. +- Overall skill 0.345478; relative MASE 0.787941; relative WQL 0.543695. +- term skill: long=0.4053, medium=0.3636, short=0.3138. +- domain skill: Econ/Fin=0.1826, Energy=0.2346, Healthcare=0.3991, Nature=0.3847, Sales=0.4079, Transport=0.3797, Web/CloudOps=0.4583. +- frequency skill: A=0.3270, D=0.3639, H=0.3788, M=0.1915, Q=0.2377, S=0.3454, T=0.3414, W=0.2922. +- variates skill: multivariate=0.3632, univariate=0.3310. +- Outcome: Declared expert-version/corpus-coverage factorial. Only6340gateparameters trained; all four immutable experts forecast every instance. Source/control/current comparisons precede any full replay. + +## E152 ensemble_gate_refresh 6000 valid_backcast2 +- Checkpoint SHA-256: `a7d0ee6866ea787f29eac043531aad3613674f159fd00b3491fd87fab8388fd1`. +- Evaluation: 94 configurations, 8934 instances, 0 failed configurations; 100.25852539995685 seconds. +- Overall skill 0.370165; relative MASE 0.759436; relative WQL 0.522351. +- term skill: long=0.3746, medium=0.3980, short=0.3574. +- domain skill: Econ/Fin=0.1323, Energy=0.2429, Healthcare=0.3523, Nature=0.4853, Sales=0.5581, Transport=0.4293, Web/CloudOps=0.4472. +- frequency skill: A=0.3377, D=0.4346, H=0.4007, M=0.1756, Q=0.1571, S=0.2904, T=0.3714, W=0.2835. +- variates skill: multivariate=0.3727, univariate=0.3681. +- Outcome: Declared expert-version/corpus-coverage factorial. Only6340gateparameters trained; all four immutable experts forecast every instance. Source/control/current comparisons precede any full replay. + +## E152 ensemble_gate_refresh 6000 valid_backcast3 +- Checkpoint SHA-256: `a7d0ee6866ea787f29eac043531aad3613674f159fd00b3491fd87fab8388fd1`. +- Evaluation: 93 configurations, 8812 instances, 0 failed configurations; 99.79332129308023 seconds. +- Overall skill 0.392373; relative MASE 0.737598; relative WQL 0.500558. +- term skill: long=0.3987, medium=0.3712, short=0.3978. +- domain skill: Econ/Fin=0.1937, Energy=0.3192, Healthcare=0.2354, Nature=0.5056, Sales=0.4044, Transport=0.5134, Web/CloudOps=0.3998. +- frequency skill: A=0.3636, D=0.4445, H=0.4093, M=0.1449, Q=0.2626, S=0.2894, T=0.4341, W=0.2502. +- variates skill: multivariate=0.3754, univariate=0.4054. +- Outcome: Declared expert-version/corpus-coverage factorial. Only6340gateparameters trained; all four immutable experts forecast every instance. Source/control/current comparisons precede any full replay. + +E152 ensemble_gate_refresh vs ensemble_gate at6000: {"label": "E152 ensemble_gate_refresh vs ensemble_gate at6000", "utc": "2026-10-24T01:07:10.193985+00:00", "candidate": "ensemble_gate_refresh_ema6000", "control": "ensemble_gate_ema6000", "rows": [{"cutoff": "evals", "candidate_skill": 0.3895317981891372, "control_skill": 0.3891538952530367, "delta": 0.00037790293610051595, "candidate_checkpoint": "a7d0ee6866ea787f29eac043531aad3613674f159fd00b3491fd87fab8388fd1", "control_checkpoint": "2115a57946abe740b5b8e9a107d0ceca1697b3c71168fe9b565b7a404ee2ea80", "candidate_eval_seconds": 104.56864271895029, "candidate_groups": {"term": {"long": {"n_configs": 21, "rel_mase_gmean": 0.7372910872105298, "rel_wql_gmean": 0.475361491593079}, "medium": {"n_configs": 21, "rel_mase_gmean": 0.7059448743204372, "rel_wql_gmean": 0.4887802471699748}, "short": {"n_configs": 55, "rel_mase_gmean": 0.7400407276527646, "rel_wql_gmean": 0.5309083645115582}}, "domain": {"Econ/Fin": {"n_configs": 6, "rel_mase_gmean": 0.861761074473197, "rel_wql_gmean": 0.8357580022063049}, "Energy": {"n_configs": 32, "rel_mase_gmean": 0.891567524115927, "rel_wql_gmean": 0.6350186311105107}, "Healthcare": {"n_configs": 5, "rel_mase_gmean": 0.536823592806635, "rel_wql_gmean": 0.4829735656797898}, "Nature": {"n_configs": 15, "rel_mase_gmean": 0.7976810523716626, "rel_wql_gmean": 0.3871128655706787}, "Sales": {"n_configs": 4, "rel_mase_gmean": 0.8408654233113412, "rel_wql_gmean": 0.5114470324622404}, "Transport": {"n_configs": 15, "rel_mase_gmean": 0.635717889403452, "rel_wql_gmean": 0.4325032391933097}, "Web/CloudOps": {"n_configs": 20, "rel_mase_gmean": 0.5566688178245075, "rel_wql_gmean": 0.4330665360466799}}, "frequency": {"A": {"n_configs": 1, "rel_mase_gmean": 0.6078795957820057, "rel_wql_gmean": 0.6298057839079658}, "D": {"n_configs": 15, "rel_mase_gmean": 0.7511745859315179, "rel_wql_gmean": 0.5175460272917229}, "H": {"n_configs": 31, "rel_mase_gmean": 0.7252145183860084, "rel_wql_gmean": 0.48807215621195793}, "M": {"n_configs": 5, "rel_mase_gmean": 0.9612864068952771, "rel_wql_gmean": 0.8095303543733515}, "Q": {"n_configs": 1, "rel_mase_gmean": 0.7685021856977061, "rel_wql_gmean": 0.8243764659038937}, "S": {"n_configs": 6, "rel_mase_gmean": 0.656747019129794, "rel_wql_gmean": 0.5033903925265127}, "T": {"n_configs": 30, "rel_mase_gmean": 0.682054221544388, "rel_wql_gmean": 0.44777241904789566}, "W": {"n_configs": 8, "rel_mase_gmean": 0.8760944822448286, "rel_wql_gmean": 0.6518308741737405}}, "variates": {"multivariate": {"n_configs": 43, "rel_mase_gmean": 0.7061769904534376, "rel_wql_gmean": 0.5067517479152763}, "univariate": {"n_configs": 54, "rel_mase_gmean": 0.7531108622118862, "rel_wql_gmean": 0.5110880833219823}}}, "control_groups": {"term": {"long": {"n_configs": 21, "rel_mase_gmean": 0.7364459507042054, "rel_wql_gmean": 0.4755697971765997}, "medium": {"n_configs": 21, "rel_mase_gmean": 0.705725254641002, "rel_wql_gmean": 0.4896858518745376}, "short": {"n_configs": 55, "rel_mase_gmean": 0.7397234471502719, "rel_wql_gmean": 0.5321278452570799}}, "domain": {"Econ/Fin": {"n_configs": 6, "rel_mase_gmean": 0.8615237874881659, "rel_wql_gmean": 0.8356013887604252}, "Energy": {"n_configs": 32, "rel_mase_gmean": 0.8913262218388278, "rel_wql_gmean": 0.6351339086754909}, "Healthcare": {"n_configs": 5, "rel_mase_gmean": 0.5440759106430966, "rel_wql_gmean": 0.4941361567456849}, "Nature": {"n_configs": 15, "rel_mase_gmean": 0.794973161669226, "rel_wql_gmean": 0.3873664651416758}, "Sales": {"n_configs": 4, "rel_mase_gmean": 0.8415413625242938, "rel_wql_gmean": 0.5129205524308298}, "Transport": {"n_configs": 15, "rel_mase_gmean": 0.6348171905006708, "rel_wql_gmean": 0.43339778932077555}, "Web/CloudOps": {"n_configs": 20, "rel_mase_gmean": 0.5555030792807922, "rel_wql_gmean": 0.4331316646849878}}, "frequency": {"A": {"n_configs": 1, "rel_mase_gmean": 0.6081119055047446, "rel_wql_gmean": 0.6277298132615224}, "D": {"n_configs": 15, "rel_mase_gmean": 0.7500973483663572, "rel_wql_gmean": 0.5186179442639502}, "H": {"n_configs": 31, "rel_mase_gmean": 0.7249079419744635, "rel_wql_gmean": 0.4897508699794607}, "M": {"n_configs": 5, "rel_mase_gmean": 0.9643106633501736, "rel_wql_gmean": 0.8157244325106289}, "Q": {"n_configs": 1, "rel_mase_gmean": 0.7681238260199779, "rel_wql_gmean": 0.8266990024699747}, "S": {"n_configs": 6, "rel_mase_gmean": 0.6565228342396154, "rel_wql_gmean": 0.5040952618525022}, "T": {"n_configs": 30, "rel_mase_gmean": 0.6808048286769331, "rel_wql_gmean": 0.4471886333896679}, "W": {"n_configs": 8, "rel_mase_gmean": 0.8784946548259455, "rel_wql_gmean": 0.6542720159132867}}, "variates": {"multivariate": {"n_configs": 43, "rel_mase_gmean": 0.7052490192101172, "rel_wql_gmean": 0.5073126711779109}, "univariate": {"n_configs": 54, "rel_mase_gmean": 0.7531434617083017, "rel_wql_gmean": 0.5122885690189363}}}, "group_skill_delta": {"term": {"long": -0.00020977868099114616, "medium": 0.00045245786713299374, "short": 0.0005849353435192217}, "domain": {"Econ/Fin": -0.00019635618519830977, "Energy": -3.3546081639523884e-05, "Healthcare": 0.009317939170257028, "Nature": -0.0007623260644301633, "Sales": 0.0012079175193807634, "Transport": 0.0001700099099458674, "Web/CloudOps": -0.0004774922414403915}, "frequency": {"A": -0.0009025738081666068, "D": 0.00019765691907369654, "H": 0.0008962862353847356, "M": 0.00476028589555455, "Q": 0.0009241988878592178, "S": 0.00030420078445092535, "T": -0.0008664299670716469, "W": 0.0024501051019861775}, "variates": {"multivariate": -6.240637569587815e-05, "univariate": 0.0007416484346272068}}}, {"cutoff": "backcast_evals", "candidate_skill": 0.3454776695706264, "control_skill": 0.34451133233877995, "delta": 0.0009663372318464702, "candidate_checkpoint": "a7d0ee6866ea787f29eac043531aad3613674f159fd00b3491fd87fab8388fd1", "control_checkpoint": "2115a57946abe740b5b8e9a107d0ceca1697b3c71168fe9b565b7a404ee2ea80", "candidate_eval_seconds": 102.79379361798055, "candidate_groups": {"term": {"long": {"n_configs": 21, "rel_mase_gmean": 0.7682992934300801, "rel_wql_gmean": 0.4603481923487467}, "medium": {"n_configs": 21, "rel_mase_gmean": 0.7671936060249892, "rel_wql_gmean": 0.5278994100733223}, "short": {"n_configs": 55, "rel_mase_gmean": 0.8037195856014948, "rel_wql_gmean": 0.5859188995810685}}, "domain": {"Econ/Fin": {"n_configs": 6, "rel_mase_gmean": 0.8519470203790686, "rel_wql_gmean": 0.7843436351748864}, "Energy": {"n_configs": 32, "rel_mase_gmean": 0.8839849120255651, "rel_wql_gmean": 0.6627132853532696}, "Healthcare": {"n_configs": 5, "rel_mase_gmean": 0.6501918129453054, "rel_wql_gmean": 0.5552617068728027}, "Nature": {"n_configs": 15, "rel_mase_gmean": 0.9029765723480359, "rel_wql_gmean": 0.41933659882692836}, "Sales": {"n_configs": 4, "rel_mase_gmean": 0.7206772671156487, "rel_wql_gmean": 0.48651256810656507}, "Transport": {"n_configs": 15, "rel_mase_gmean": 0.7320515574055485, "rel_wql_gmean": 0.5256594049916216}, "Web/CloudOps": {"n_configs": 20, "rel_mase_gmean": 0.6525097462845398, "rel_wql_gmean": 0.4497860672936622}}, "frequency": {"A": {"n_configs": 1, "rel_mase_gmean": 0.6369814117134706, "rel_wql_gmean": 0.7110896044409043}, "D": {"n_configs": 15, "rel_mase_gmean": 0.8260479293075363, "rel_wql_gmean": 0.48984028216309583}, "H": {"n_configs": 31, "rel_mase_gmean": 0.7658567229533491, "rel_wql_gmean": 0.5037858902419733}, "M": {"n_configs": 5, "rel_mase_gmean": 0.8468901021161598, "rel_wql_gmean": 0.7718937112356121}, "Q": {"n_configs": 1, "rel_mase_gmean": 0.755790152719215, "rel_wql_gmean": 0.7687773597432606}, "S": {"n_configs": 6, "rel_mase_gmean": 0.8504692043074787, "rel_wql_gmean": 0.503864617747901}, "T": {"n_configs": 30, "rel_mase_gmean": 0.7595393847921822, "rel_wql_gmean": 0.5711023054727432}, "W": {"n_configs": 8, "rel_mase_gmean": 0.8610230023499875, "rel_wql_gmean": 0.5818011211285703}}, "variates": {"multivariate": {"n_configs": 43, "rel_mase_gmean": 0.7772543120611853, "rel_wql_gmean": 0.5217908647612797}, "univariate": {"n_configs": 54, "rel_mase_gmean": 0.7965559312976828, "rel_wql_gmean": 0.561792596013104}}}, "control_groups": {"term": {"long": {"n_configs": 21, "rel_mase_gmean": 0.7691953335821761, "rel_wql_gmean": 0.4627303531901571}, "medium": {"n_configs": 21, "rel_mase_gmean": 0.7674526053408633, "rel_wql_gmean": 0.5287604498603796}, "short": {"n_configs": 55, "rel_mase_gmean": 0.8038778359075024, "rel_wql_gmean": 0.5869980231872798}}, "domain": {"Econ/Fin": {"n_configs": 6, "rel_mase_gmean": 0.8511829323181022, "rel_wql_gmean": 0.7846465334380613}, "Energy": {"n_configs": 32, "rel_mase_gmean": 0.8833613884303286, "rel_wql_gmean": 0.6626592834516265}, "Healthcare": {"n_configs": 5, "rel_mase_gmean": 0.6514007845060794, "rel_wql_gmean": 0.5590515139682694}, "Nature": {"n_configs": 15, "rel_mase_gmean": 0.9036967508528725, "rel_wql_gmean": 0.4209643778642046}, "Sales": {"n_configs": 4, "rel_mase_gmean": 0.7204696211529373, "rel_wql_gmean": 0.4872923571092192}, "Transport": {"n_configs": 15, "rel_mase_gmean": 0.7323964069146874, "rel_wql_gmean": 0.5276686564187033}, "Web/CloudOps": {"n_configs": 20, "rel_mase_gmean": 0.6539206259797139, "rel_wql_gmean": 0.4517774173910834}}, "frequency": {"A": {"n_configs": 1, "rel_mase_gmean": 0.6353979663319429, "rel_wql_gmean": 0.7083966062237425}, "D": {"n_configs": 15, "rel_mase_gmean": 0.8287186929492704, "rel_wql_gmean": 0.49075342638505814}, "H": {"n_configs": 31, "rel_mase_gmean": 0.7660022323916221, "rel_wql_gmean": 0.5057883369260989}, "M": {"n_configs": 5, "rel_mase_gmean": 0.840421736009188, "rel_wql_gmean": 0.7683604511312051}, "Q": {"n_configs": 1, "rel_mase_gmean": 0.7562360316720279, "rel_wql_gmean": 0.7737834341734877}, "S": {"n_configs": 6, "rel_mase_gmean": 0.8502063314002679, "rel_wql_gmean": 0.5052710666666878}, "T": {"n_configs": 30, "rel_mase_gmean": 0.7602126510941328, "rel_wql_gmean": 0.5722159579505812}, "W": {"n_configs": 8, "rel_mase_gmean": 0.8614098951222435, "rel_wql_gmean": 0.584569871704564}}, "variates": {"multivariate": {"n_configs": 43, "rel_mase_gmean": 0.7780281184441407, "rel_wql_gmean": 0.5233484481580956}, "univariate": {"n_configs": 54, "rel_mase_gmean": 0.7965501176333248, "rel_wql_gmean": 0.5629970553979425}}}, "group_skill_delta": {"term": {"long": 0.0018843387844169612, "medium": 0.0006262919690556146, "short": 0.0006992651775579173}, "domain": {"Econ/Fin": -0.00020890009415686084, "Energy": -0.00030115929687590803, "Healthcare": 0.0026072692863916558, "Nature": 0.0014389824323792766, "Sales": 0.00038896882320615944, "Transport": 0.0013307996245628395, "Web/CloudOps": 0.00178459154232391}, "frequency": {"A": -0.0021110587965126326, "D": 0.001621080132905628, "H": 0.0012923714014551058, "M": -0.004939077811168979, "Q": 0.0027033221305970967, "S": 0.0008116678822406298, "T": 0.0009339621562988176, "W": 0.0018415005169442056}, "variates": {"multivariate": 0.0012671981596593662, "univariate": 0.0007142765013169461}}}, {"cutoff": "backcast2_evals", "candidate_skill": 0.370165235742403, "control_skill": 0.3692552712826589, "delta": 0.000909964459744117, "candidate_checkpoint": "a7d0ee6866ea787f29eac043531aad3613674f159fd00b3491fd87fab8388fd1", "control_checkpoint": "2115a57946abe740b5b8e9a107d0ceca1697b3c71168fe9b565b7a404ee2ea80", "candidate_eval_seconds": 100.25852539995685, "candidate_groups": {"term": {"long": {"n_configs": 19, "rel_mase_gmean": 0.7893352425506769, "rel_wql_gmean": 0.4955073132089959}, "medium": {"n_configs": 21, "rel_mase_gmean": 0.7462423850102285, "rel_wql_gmean": 0.4855953486050996}, "short": {"n_configs": 54, "rel_mase_gmean": 0.7543105923436472, "rel_wql_gmean": 0.5474530671274166}}, "domain": {"Econ/Fin": {"n_configs": 6, "rel_mase_gmean": 0.8601583932099811, "rel_wql_gmean": 0.8752095032307797}, "Energy": {"n_configs": 32, "rel_mase_gmean": 0.8954364701964974, "rel_wql_gmean": 0.6400986274575392}, "Healthcare": {"n_configs": 5, "rel_mase_gmean": 0.6991314129893408, "rel_wql_gmean": 0.6000817445814411}, "Nature": {"n_configs": 15, "rel_mase_gmean": 0.7424823892628674, "rel_wql_gmean": 0.35681371393365835}, "Sales": {"n_configs": 3, "rel_mase_gmean": 0.5558675673074226, "rel_wql_gmean": 0.3513578471851172}, "Transport": {"n_configs": 14, "rel_mase_gmean": 0.6612421491697135, "rel_wql_gmean": 0.49260701074693874}, "Web/CloudOps": {"n_configs": 19, "rel_mase_gmean": 0.6696026675214356, "rel_wql_gmean": 0.4563101938964046}}, "frequency": {"A": {"n_configs": 1, "rel_mase_gmean": 0.5789730043296951, "rel_wql_gmean": 0.7576673606155501}, "D": {"n_configs": 15, "rel_mase_gmean": 0.7225616227655982, "rel_wql_gmean": 0.4424583186240813}, "H": {"n_configs": 30, "rel_mase_gmean": 0.7480492805694633, "rel_wql_gmean": 0.4801115575300454}, "M": {"n_configs": 4, "rel_mase_gmean": 0.8036721258294334, "rel_wql_gmean": 0.8456925806330998}, "Q": {"n_configs": 1, "rel_mase_gmean": 0.8230307833849778, "rel_wql_gmean": 0.8633446092056097}, "S": {"n_configs": 6, "rel_mase_gmean": 0.8991806557234284, "rel_wql_gmean": 0.5599646096644036}, "T": {"n_configs": 29, "rel_mase_gmean": 0.7459055251130817, "rel_wql_gmean": 0.5298009843049127}, "W": {"n_configs": 8, "rel_mase_gmean": 0.8259964341232297, "rel_wql_gmean": 0.6214682813481551}}, "variates": {"multivariate": {"n_configs": 42, "rel_mase_gmean": 0.7746168958505983, "rel_wql_gmean": 0.507925009707469}, "univariate": {"n_configs": 52, "rel_mase_gmean": 0.7473915365451415, "rel_wql_gmean": 0.5343008579895157}}}, "control_groups": {"term": {"long": {"n_configs": 19, "rel_mase_gmean": 0.7902938318860995, "rel_wql_gmean": 0.4977963298037035}, "medium": {"n_configs": 21, "rel_mase_gmean": 0.7463131012782198, "rel_wql_gmean": 0.48763633945412027}, "short": {"n_configs": 54, "rel_mase_gmean": 0.7540488204132838, "rel_wql_gmean": 0.5483608127979848}}, "domain": {"Econ/Fin": {"n_configs": 6, "rel_mase_gmean": 0.8594751460854615, "rel_wql_gmean": 0.8756215264384803}, "Energy": {"n_configs": 32, "rel_mase_gmean": 0.8954190802700714, "rel_wql_gmean": 0.641128974585506}, "Healthcare": {"n_configs": 5, "rel_mase_gmean": 0.6964824489811069, "rel_wql_gmean": 0.5984297586733128}, "Nature": {"n_configs": 15, "rel_mase_gmean": 0.7410304083167673, "rel_wql_gmean": 0.35740800615553536}, "Sales": {"n_configs": 3, "rel_mase_gmean": 0.5554524169073445, "rel_wql_gmean": 0.3516202979967578}, "Transport": {"n_configs": 14, "rel_mase_gmean": 0.6616274111297696, "rel_wql_gmean": 0.49475736037429535}, "Web/CloudOps": {"n_configs": 19, "rel_mase_gmean": 0.6715129139772495, "rel_wql_gmean": 0.45959833905594105}}, "frequency": {"A": {"n_configs": 1, "rel_mase_gmean": 0.5780595196142971, "rel_wql_gmean": 0.7545958139506606}, "D": {"n_configs": 15, "rel_mase_gmean": 0.7219608611737873, "rel_wql_gmean": 0.4428203116356558}, "H": {"n_configs": 30, "rel_mase_gmean": 0.748318765635403, "rel_wql_gmean": 0.4817412143295903}, "M": {"n_configs": 4, "rel_mase_gmean": 0.8035534035507537, "rel_wql_gmean": 0.8457821464270225}, "Q": {"n_configs": 1, "rel_mase_gmean": 0.8251525142814832, "rel_wql_gmean": 0.8649272471317476}, "S": {"n_configs": 6, "rel_mase_gmean": 0.8990795032628562, "rel_wql_gmean": 0.5633706894917235}, "T": {"n_configs": 29, "rel_mase_gmean": 0.7465724484386546, "rel_wql_gmean": 0.5320522780653318}, "W": {"n_configs": 8, "rel_mase_gmean": 0.8241740973365012, "rel_wql_gmean": 0.6209745017214765}}, "variates": {"multivariate": {"n_configs": 42, "rel_mase_gmean": 0.7752240721939954, "rel_wql_gmean": 0.5102244240010131}, "univariate": {"n_configs": 52, "rel_mase_gmean": 0.7470092930299288, "rel_wql_gmean": 0.5350762099823907}}}, "group_skill_delta": {"term": {"long": 0.001823369085790394, "medium": 0.0012923228088091987, "short": 0.0004209381925470712}, "domain": {"Econ/Fin": -0.00014054057082268923, "Energy": 0.0006017204957893263, "Healthcare": -0.0021187242462996636, "Nature": -7.548287543246435e-05, "Sales": -9.88977698068716e-08, "Transport": 0.001410932314358182, "Web/CloudOps": 0.002778747399782011}, "frequency": {"A": -0.0018655115298478187, "D": -3.950309252487294e-06, "H": 0.0011243505812543741, "M": -1.7243718448134437e-05, "Q": 0.0018591010714845702, "S": 0.0021147762666572367, "T": 0.0016157873796325273, "W": -0.001075159372131984}, "variates": {"multivariate": 0.001664550082467131, "univariate": 0.0002966118164701159}}}, {"cutoff": "backcast3_evals", "candidate_skill": 0.39237316871514827, "control_skill": 0.3914805032078633, "delta": 0.000892665507284951, "candidate_checkpoint": "a7d0ee6866ea787f29eac043531aad3613674f159fd00b3491fd87fab8388fd1", "control_checkpoint": "2115a57946abe740b5b8e9a107d0ceca1697b3c71168fe9b565b7a404ee2ea80", "candidate_eval_seconds": 99.79332129308023, "candidate_groups": {"term": {"long": {"n_configs": 19, "rel_mase_gmean": 0.7642439698877598, "rel_wql_gmean": 0.47303428269748493}, "medium": {"n_configs": 20, "rel_mase_gmean": 0.7596756465253429, "rel_wql_gmean": 0.5204517663451921}, "short": {"n_configs": 54, "rel_mase_gmean": 0.7205319378603385, "rel_wql_gmean": 0.5033000103400405}}, "domain": {"Econ/Fin": {"n_configs": 6, "rel_mase_gmean": 0.8172820287403386, "rel_wql_gmean": 0.7953829753326557}, "Energy": {"n_configs": 32, "rel_mase_gmean": 0.8365395328052917, "rel_wql_gmean": 0.5540138589927783}, "Healthcare": {"n_configs": 5, "rel_mase_gmean": 0.858298143191786, "rel_wql_gmean": 0.6811213402731624}, "Nature": {"n_configs": 15, "rel_mase_gmean": 0.7252748395812422, "rel_wql_gmean": 0.33702653127145316}, "Sales": {"n_configs": 3, "rel_mase_gmean": 0.7492437226200351, "rel_wql_gmean": 0.4734721556185865}, "Transport": {"n_configs": 14, "rel_mase_gmean": 0.5375995124496913, "rel_wql_gmean": 0.4404723412325486}, "Web/CloudOps": {"n_configs": 18, "rel_mase_gmean": 0.7068078889493604, "rel_wql_gmean": 0.5096748835193483}}, "frequency": {"A": {"n_configs": 1, "rel_mase_gmean": 0.5278372096939503, "rel_wql_gmean": 0.7672025322904537}, "D": {"n_configs": 15, "rel_mase_gmean": 0.7344672270838052, "rel_wql_gmean": 0.4202016670473358}, "H": {"n_configs": 29, "rel_mase_gmean": 0.725046725592913, "rel_wql_gmean": 0.48122634299371086}, "M": {"n_configs": 4, "rel_mase_gmean": 0.8670621017168404, "rel_wql_gmean": 0.8432462088340155}, "Q": {"n_configs": 1, "rel_mase_gmean": 0.7143126609592353, "rel_wql_gmean": 0.7611611307652606}, "S": {"n_configs": 6, "rel_mase_gmean": 0.8420006287860576, "rel_wql_gmean": 0.5996689689696824}, "T": {"n_configs": 29, "rel_mase_gmean": 0.700489042979107, "rel_wql_gmean": 0.45718874328398906}, "W": {"n_configs": 8, "rel_mase_gmean": 0.8341478565764945, "rel_wql_gmean": 0.6739034042014248}}, "variates": {"multivariate": {"n_configs": 41, "rel_mase_gmean": 0.7632012933115746, "rel_wql_gmean": 0.5110997724257387}, "univariate": {"n_configs": 52, "rel_mase_gmean": 0.7180182212662237, "rel_wql_gmean": 0.4923989684514418}}}, "control_groups": {"term": {"long": {"n_configs": 19, "rel_mase_gmean": 0.7646717541571438, "rel_wql_gmean": 0.47555963242062804}, "medium": {"n_configs": 20, "rel_mase_gmean": 0.7594180694866295, "rel_wql_gmean": 0.5227464782406109}, "short": {"n_configs": 54, "rel_mase_gmean": 0.7197882441060385, "rel_wql_gmean": 0.5045674541132409}}, "domain": {"Econ/Fin": {"n_configs": 6, "rel_mase_gmean": 0.8175686322071732, "rel_wql_gmean": 0.7975380490966467}, "Energy": {"n_configs": 32, "rel_mase_gmean": 0.8345733264249693, "rel_wql_gmean": 0.5534624809981347}, "Healthcare": {"n_configs": 5, "rel_mase_gmean": 0.8550465666013121, "rel_wql_gmean": 0.6839536770499075}, "Nature": {"n_configs": 15, "rel_mase_gmean": 0.7259385500618593, "rel_wql_gmean": 0.3383276541439344}, "Sales": {"n_configs": 3, "rel_mase_gmean": 0.750738046214297, "rel_wql_gmean": 0.4750531542135627}, "Transport": {"n_configs": 14, "rel_mase_gmean": 0.5378722099557868, "rel_wql_gmean": 0.44230129042133576}, "Web/CloudOps": {"n_configs": 18, "rel_mase_gmean": 0.707336756570856, "rel_wql_gmean": 0.5151988413209527}}, "frequency": {"A": {"n_configs": 1, "rel_mase_gmean": 0.5292421996814161, "rel_wql_gmean": 0.7743843306970275}, "D": {"n_configs": 15, "rel_mase_gmean": 0.7340676984424483, "rel_wql_gmean": 0.4210138345405265}, "H": {"n_configs": 29, "rel_mase_gmean": 0.7248830714988798, "rel_wql_gmean": 0.48302222853420806}, "M": {"n_configs": 4, "rel_mase_gmean": 0.8635071248662185, "rel_wql_gmean": 0.8442363626325257}, "Q": {"n_configs": 1, "rel_mase_gmean": 0.71477390446079, "rel_wql_gmean": 0.7619380112945435}, "S": {"n_configs": 6, "rel_mase_gmean": 0.8429649893060646, "rel_wql_gmean": 0.6079035249422998}, "T": {"n_configs": 29, "rel_mase_gmean": 0.7003204534968781, "rel_wql_gmean": 0.4580988621337273}, "W": {"n_configs": 8, "rel_mase_gmean": 0.8316528981631645, "rel_wql_gmean": 0.6767266332674158}}, "variates": {"multivariate": {"n_configs": 41, "rel_mase_gmean": 0.7628262991295707, "rel_wql_gmean": 0.5133217775879014}, "univariate": {"n_configs": 52, "rel_mase_gmean": 0.7175797463477325, "rel_wql_gmean": 0.4937939191412373}}}, "group_skill_delta": {"term": {"long": 0.0017715147624804972, "medium": 0.0012778202320636867, "short": 0.00044652232923292345}, "domain": {"Econ/Fin": 0.0012330788427883377, "Energy": -0.0011389727792145976, "Healthcare": 0.00013539413571617143, "Nature": 0.0011800340581765711, "Sales": 0.0015882271073898169, "Transport": 0.0011328924541034735, "Web/CloudOps": 0.0034695091584253657}, "frequency": {"A": 0.00382188686760776, "D": 0.00038535034487108266, "H": 0.0010343732344401113, "M": -0.0012538651534457212, "Q": 0.0006143478624403009, "S": 0.005271725454819798, "T": 0.0004948237374421405, "W": 0.00044440295768632954}, "variates": {"multivariate": 0.0012023704470225383, "univariate": 0.0006598098679295727}}}], "mean_delta": 0.0007867175337440135, "positive_cutoffs": 4, "outcome": "Fixed factorial contrast; no automatic package, transfer or publication."} + +2026-10-24T01:07:10.208902+00:00: E152 ensemble_gate_refresh {"step": 6000, "rows": [{"cutoff": "valid_screen", "skill": 0.3895317981891372, "frozen_control_skill": 0.3882279509777624, "delta_frozen": 0.0013038472113747757, "current_skill": 0.38873378968262917, "delta_current": 0.0007980085065080189, "groups": {"term": {"long": {"n_configs": 21, "rel_mase_gmean": 0.7372910872105298, "rel_wql_gmean": 0.475361491593079}, "medium": {"n_configs": 21, "rel_mase_gmean": 0.7059448743204372, "rel_wql_gmean": 0.4887802471699748}, "short": {"n_configs": 55, "rel_mase_gmean": 0.7400407276527646, "rel_wql_gmean": 0.5309083645115582}}, "domain": {"Econ/Fin": {"n_configs": 6, "rel_mase_gmean": 0.861761074473197, "rel_wql_gmean": 0.8357580022063049}, "Energy": {"n_configs": 32, "rel_mase_gmean": 0.891567524115927, "rel_wql_gmean": 0.6350186311105107}, "Healthcare": {"n_configs": 5, "rel_mase_gmean": 0.536823592806635, "rel_wql_gmean": 0.4829735656797898}, "Nature": {"n_configs": 15, "rel_mase_gmean": 0.7976810523716626, "rel_wql_gmean": 0.3871128655706787}, "Sales": {"n_configs": 4, "rel_mase_gmean": 0.8408654233113412, "rel_wql_gmean": 0.5114470324622404}, "Transport": {"n_configs": 15, "rel_mase_gmean": 0.635717889403452, "rel_wql_gmean": 0.4325032391933097}, "Web/CloudOps": {"n_configs": 20, "rel_mase_gmean": 0.5566688178245075, "rel_wql_gmean": 0.4330665360466799}}, "frequency": {"A": {"n_configs": 1, "rel_mase_gmean": 0.6078795957820057, "rel_wql_gmean": 0.6298057839079658}, "D": {"n_configs": 15, "rel_mase_gmean": 0.7511745859315179, "rel_wql_gmean": 0.5175460272917229}, "H": {"n_configs": 31, "rel_mase_gmean": 0.7252145183860084, "rel_wql_gmean": 0.48807215621195793}, "M": {"n_configs": 5, "rel_mase_gmean": 0.9612864068952771, "rel_wql_gmean": 0.8095303543733515}, "Q": {"n_configs": 1, "rel_mase_gmean": 0.7685021856977061, "rel_wql_gmean": 0.8243764659038937}, "S": {"n_configs": 6, "rel_mase_gmean": 0.656747019129794, "rel_wql_gmean": 0.5033903925265127}, "T": {"n_configs": 30, "rel_mase_gmean": 0.682054221544388, "rel_wql_gmean": 0.44777241904789566}, "W": {"n_configs": 8, "rel_mase_gmean": 0.8760944822448286, "rel_wql_gmean": 0.6518308741737405}}, "variates": {"multivariate": {"n_configs": 43, "rel_mase_gmean": 0.7061769904534376, "rel_wql_gmean": 0.5067517479152763}, "univariate": {"n_configs": 54, "rel_mase_gmean": 0.7531108622118862, "rel_wql_gmean": 0.5110880833219823}}}, "checkpoint_sha256": "a7d0ee6866ea787f29eac043531aad3613674f159fd00b3491fd87fab8388fd1", "expert_descriptor_sha256": "a1b4ab426901be8e1ee299eeeb3f041bac7cea3d4e59c4608824fc3d05c83e03", "eval_seconds": 104.56864271895029}, {"cutoff": "valid_backcast", "skill": 0.3454776695706264, "frozen_control_skill": 0.3456661156587746, "delta_frozen": -0.00018844608814816421, "current_skill": 0.3457740680188046, "delta_current": -0.0002963984481781923, "groups": {"term": {"long": {"n_configs": 21, "rel_mase_gmean": 0.7682992934300801, "rel_wql_gmean": 0.4603481923487467}, "medium": {"n_configs": 21, "rel_mase_gmean": 0.7671936060249892, "rel_wql_gmean": 0.5278994100733223}, "short": {"n_configs": 55, "rel_mase_gmean": 0.8037195856014948, "rel_wql_gmean": 0.5859188995810685}}, "domain": {"Econ/Fin": {"n_configs": 6, "rel_mase_gmean": 0.8519470203790686, "rel_wql_gmean": 0.7843436351748864}, "Energy": {"n_configs": 32, "rel_mase_gmean": 0.8839849120255651, "rel_wql_gmean": 0.6627132853532696}, "Healthcare": {"n_configs": 5, "rel_mase_gmean": 0.6501918129453054, "rel_wql_gmean": 0.5552617068728027}, "Nature": {"n_configs": 15, "rel_mase_gmean": 0.9029765723480359, "rel_wql_gmean": 0.41933659882692836}, "Sales": {"n_configs": 4, "rel_mase_gmean": 0.7206772671156487, "rel_wql_gmean": 0.48651256810656507}, "Transport": {"n_configs": 15, "rel_mase_gmean": 0.7320515574055485, "rel_wql_gmean": 0.5256594049916216}, "Web/CloudOps": {"n_configs": 20, "rel_mase_gmean": 0.6525097462845398, "rel_wql_gmean": 0.4497860672936622}}, "frequency": {"A": {"n_configs": 1, "rel_mase_gmean": 0.6369814117134706, "rel_wql_gmean": 0.7110896044409043}, "D": {"n_configs": 15, "rel_mase_gmean": 0.8260479293075363, "rel_wql_gmean": 0.48984028216309583}, "H": {"n_configs": 31, "rel_mase_gmean": 0.7658567229533491, "rel_wql_gmean": 0.5037858902419733}, "M": {"n_configs": 5, "rel_mase_gmean": 0.8468901021161598, "rel_wql_gmean": 0.7718937112356121}, "Q": {"n_configs": 1, "rel_mase_gmean": 0.755790152719215, "rel_wql_gmean": 0.7687773597432606}, "S": {"n_configs": 6, "rel_mase_gmean": 0.8504692043074787, "rel_wql_gmean": 0.503864617747901}, "T": {"n_configs": 30, "rel_mase_gmean": 0.7595393847921822, "rel_wql_gmean": 0.5711023054727432}, "W": {"n_configs": 8, "rel_mase_gmean": 0.8610230023499875, "rel_wql_gmean": 0.5818011211285703}}, "variates": {"multivariate": {"n_configs": 43, "rel_mase_gmean": 0.7772543120611853, "rel_wql_gmean": 0.5217908647612797}, "univariate": {"n_configs": 54, "rel_mase_gmean": 0.7965559312976828, "rel_wql_gmean": 0.561792596013104}}}, "checkpoint_sha256": "a7d0ee6866ea787f29eac043531aad3613674f159fd00b3491fd87fab8388fd1", "expert_descriptor_sha256": "a1b4ab426901be8e1ee299eeeb3f041bac7cea3d4e59c4608824fc3d05c83e03", "eval_seconds": 102.79379361798055}, {"cutoff": "valid_backcast2", "skill": 0.370165235742403, "frozen_control_skill": 0.36966272417010304, "delta_frozen": 0.0005025115722999685, "current_skill": 0.37002279905979363, "delta_current": 0.00014243668260938147, "groups": {"term": {"long": {"n_configs": 19, "rel_mase_gmean": 0.7893352425506769, "rel_wql_gmean": 0.4955073132089959}, "medium": {"n_configs": 21, "rel_mase_gmean": 0.7462423850102285, "rel_wql_gmean": 0.4855953486050996}, "short": {"n_configs": 54, "rel_mase_gmean": 0.7543105923436472, "rel_wql_gmean": 0.5474530671274166}}, "domain": {"Econ/Fin": {"n_configs": 6, "rel_mase_gmean": 0.8601583932099811, "rel_wql_gmean": 0.8752095032307797}, "Energy": {"n_configs": 32, "rel_mase_gmean": 0.8954364701964974, "rel_wql_gmean": 0.6400986274575392}, "Healthcare": {"n_configs": 5, "rel_mase_gmean": 0.6991314129893408, "rel_wql_gmean": 0.6000817445814411}, "Nature": {"n_configs": 15, "rel_mase_gmean": 0.7424823892628674, "rel_wql_gmean": 0.35681371393365835}, "Sales": {"n_configs": 3, "rel_mase_gmean": 0.5558675673074226, "rel_wql_gmean": 0.3513578471851172}, "Transport": {"n_configs": 14, "rel_mase_gmean": 0.6612421491697135, "rel_wql_gmean": 0.49260701074693874}, "Web/CloudOps": {"n_configs": 19, "rel_mase_gmean": 0.6696026675214356, "rel_wql_gmean": 0.4563101938964046}}, "frequency": {"A": {"n_configs": 1, "rel_mase_gmean": 0.5789730043296951, "rel_wql_gmean": 0.7576673606155501}, "D": {"n_configs": 15, "rel_mase_gmean": 0.7225616227655982, "rel_wql_gmean": 0.4424583186240813}, "H": {"n_configs": 30, "rel_mase_gmean": 0.7480492805694633, "rel_wql_gmean": 0.4801115575300454}, "M": {"n_configs": 4, "rel_mase_gmean": 0.8036721258294334, "rel_wql_gmean": 0.8456925806330998}, "Q": {"n_configs": 1, "rel_mase_gmean": 0.8230307833849778, "rel_wql_gmean": 0.8633446092056097}, "S": {"n_configs": 6, "rel_mase_gmean": 0.8991806557234284, "rel_wql_gmean": 0.5599646096644036}, "T": {"n_configs": 29, "rel_mase_gmean": 0.7459055251130817, "rel_wql_gmean": 0.5298009843049127}, "W": {"n_configs": 8, "rel_mase_gmean": 0.8259964341232297, "rel_wql_gmean": 0.6214682813481551}}, "variates": {"multivariate": {"n_configs": 42, "rel_mase_gmean": 0.7746168958505983, "rel_wql_gmean": 0.507925009707469}, "univariate": {"n_configs": 52, "rel_mase_gmean": 0.7473915365451415, "rel_wql_gmean": 0.5343008579895157}}}, "checkpoint_sha256": "a7d0ee6866ea787f29eac043531aad3613674f159fd00b3491fd87fab8388fd1", "expert_descriptor_sha256": "a1b4ab426901be8e1ee299eeeb3f041bac7cea3d4e59c4608824fc3d05c83e03", "eval_seconds": 100.25852539995685}, {"cutoff": "valid_backcast3", "skill": 0.39237316871514827, "frozen_control_skill": 0.3921296782846404, "delta_frozen": 0.00024349043050786445, "current_skill": 0.3928204343355648, "delta_current": -0.00044726562041652596, "groups": {"term": {"long": {"n_configs": 19, "rel_mase_gmean": 0.7642439698877598, "rel_wql_gmean": 0.47303428269748493}, "medium": {"n_configs": 20, "rel_mase_gmean": 0.7596756465253429, "rel_wql_gmean": 0.5204517663451921}, "short": {"n_configs": 54, "rel_mase_gmean": 0.7205319378603385, "rel_wql_gmean": 0.5033000103400405}}, "domain": {"Econ/Fin": {"n_configs": 6, "rel_mase_gmean": 0.8172820287403386, "rel_wql_gmean": 0.7953829753326557}, "Energy": {"n_configs": 32, "rel_mase_gmean": 0.8365395328052917, "rel_wql_gmean": 0.5540138589927783}, "Healthcare": {"n_configs": 5, "rel_mase_gmean": 0.858298143191786, "rel_wql_gmean": 0.6811213402731624}, "Nature": {"n_configs": 15, "rel_mase_gmean": 0.7252748395812422, "rel_wql_gmean": 0.33702653127145316}, "Sales": {"n_configs": 3, "rel_mase_gmean": 0.7492437226200351, "rel_wql_gmean": 0.4734721556185865}, "Transport": {"n_configs": 14, "rel_mase_gmean": 0.5375995124496913, "rel_wql_gmean": 0.4404723412325486}, "Web/CloudOps": {"n_configs": 18, "rel_mase_gmean": 0.7068078889493604, "rel_wql_gmean": 0.5096748835193483}}, "frequency": {"A": {"n_configs": 1, "rel_mase_gmean": 0.5278372096939503, "rel_wql_gmean": 0.7672025322904537}, "D": {"n_configs": 15, "rel_mase_gmean": 0.7344672270838052, "rel_wql_gmean": 0.4202016670473358}, "H": {"n_configs": 29, "rel_mase_gmean": 0.725046725592913, "rel_wql_gmean": 0.48122634299371086}, "M": {"n_configs": 4, "rel_mase_gmean": 0.8670621017168404, "rel_wql_gmean": 0.8432462088340155}, "Q": {"n_configs": 1, "rel_mase_gmean": 0.7143126609592353, "rel_wql_gmean": 0.7611611307652606}, "S": {"n_configs": 6, "rel_mase_gmean": 0.8420006287860576, "rel_wql_gmean": 0.5996689689696824}, "T": {"n_configs": 29, "rel_mase_gmean": 0.700489042979107, "rel_wql_gmean": 0.45718874328398906}, "W": {"n_configs": 8, "rel_mase_gmean": 0.8341478565764945, "rel_wql_gmean": 0.6739034042014248}}, "variates": {"multivariate": {"n_configs": 41, "rel_mase_gmean": 0.7632012933115746, "rel_wql_gmean": 0.5110997724257387}, "univariate": {"n_configs": 52, "rel_mase_gmean": 0.7180182212662237, "rel_wql_gmean": 0.4923989684514418}}}, "checkpoint_sha256": "a7d0ee6866ea787f29eac043531aad3613674f159fd00b3491fd87fab8388fd1", "expert_descriptor_sha256": "a1b4ab426901be8e1ee299eeeb3f041bac7cea3d4e59c4608824fc3d05c83e03", "eval_seconds": 99.79332129308023}], "positive_frozen": 3, "mean_delta_frozen": 0.0004653507815086111, "positive_current": 2, "mean_delta_current": 4.919528013067054e-05, "current_descriptor_sha256": "20f014ca61a9cfa4f275d9d7abfd297561ac37fddcdae9ba2ef60d3fca106cf8", "selection_gate_passed": false}. Full replay/publication require separate review and fresh current-publication comparison. + +2026-10-24T01:07:11.533056+00:00: E165 declared source and engineering conditions passed {"utc": "2026-10-24T01:07:10.603093+00:00", "queue_pid": 14760, "watch_pid": 14761, "selection_pid": 14762, "wait_pid": 12656, "command": ["python3", "/workspace/research/recovery/train.py", "--code-dir", "/workspace/research/six_expert_gate", "--packed", "/workspace/research/packed_sample", "--source-weights-from", "/workspace/research/packed_sample", "--out", "/workspace/research/runs/six_expert_gate", "--initialize-from", "/workspace/research/six_expert_gate_initial.pt", "--steps", "12000", "--batch", "64", "--lr", ".001", "--seed", "751", "--loss-mode", "paired", "--gate-package", "/workspace/research/gating_experts_E159", "--stop-file", "/workspace/research/six_expert_gate.stop"], "initial_sha256": "a7093fefce1899f79cc45ceb8515770a8b1406dc675a54a1ae254df287650610", "expert_descriptor_sha256": "20f014ca61a9cfa4f275d9d7abfd297561ac37fddcdae9ba2ef60d3fca106cf8", "source_primary_positive": 3, "source_primary_mean_delta": 0.0004653507815086111}. No automatic publication. + +2026-10-24T01:07:25.727419+00:00: E152 declared endpoint review {"utc": "2026-10-24T01:07:25.727419+00:00", "experiment": "E152", "run": "ensemble_gate_refresh", "step": 6000, "seed": 751, "checkpoint_sha256": "a7d0ee6866ea787f29eac043531aad3613674f159fd00b3491fd87fab8388fd1", "expert_descriptor_sha256": "a1b4ab426901be8e1ee299eeeb3f041bac7cea3d4e59c4608824fc3d05c83e03", "current_descriptor_sha256": "20f014ca61a9cfa4f275d9d7abfd297561ac37fddcdae9ba2ef60d3fca106cf8", "training_loop_seconds_to_endpoint": 3001.1, "rows": [{"panel": "valid_screen", "skill": 0.3895317981891372, "delta_frozen": 0.0013038472113747757, "delta_current": 0.0007980085065080189, "evaluation_seconds": 104.56864271895029, "groups": {"term": {"long": 0.4079866631952618, "medium": 0.41258880657692587, "short": 0.37318757798678504}, "domain": {"Econ/Fin": 0.15134004808705748, "Energy": 0.24756263469529682, "Healthcare": 0.49081279988705917, "Nature": 0.44430890056162586, "Sales": 0.34421182882527446, "Transport": 0.47564320698580886, "Web/CloudOps": 0.5090064800219256}, "frequency": {"A": 0.38125442600116843, "D": 0.3764878327158627, "H": 0.4050571340835527, "M": 0.1178489213132371, "Q": 0.2040508082264969, "S": 0.42502161801476035, "T": 0.44736533885146146, "W": 0.24431128616312048}, "variates": {"multivariate": 0.4017889801668404, "univariate": 0.37959208008211376}}, "comparisons": {"frozen": {"positive_configs": 48, "total_configs": 97, "group_skill_delta": {"term": {"long": 0.001979145934475457, "medium": 0.0016581305764672427, "short": 0.0008858077334963355}, "domain": {"Econ/Fin": 0.002326763326451209, "Energy": 0.0001622814565461761, "Healthcare": -0.004256479423524473, "Nature": 0.0029434205001249714, "Sales": -0.00039834293388396613, "Transport": 0.003033568737229708, "Web/CloudOps": 0.0015307127130606002}, "frequency": {"A": -0.0023961463980423092, "D": 0.0043531681397361854, "H": 0.001469259302773196, "M": -0.008973524724004145, "Q": -0.0020165482765339693, "S": 0.0009938363030151942, "T": 0.0023428943229019117, "W": -0.005047136096300586}, "variates": {"multivariate": 0.0010980257532510196, "univariate": 0.001473472999836578}}, "largest_regressions": [{"config_id": "us_births__M__short", "delta": -0.04546500997581182}, {"config_id": "us_births__W__short", "delta": -0.01886523225190284}, {"config_id": "ett1__W__short", "delta": -0.01399842375190008}, {"config_id": "m4_hourly__H__short", "delta": -0.01244203247704223}, {"config_id": "bizitobs_l2c__H__short", "delta": -0.011755568521799042}, {"config_id": "ett2__T__short", "delta": -0.0113816133910154}, {"config_id": "covid_deaths__D__short", "delta": -0.011325562493132324}, {"config_id": "ett1__D__short", "delta": -0.007979035819571378}], "largest_improvements": [{"config_id": "m4_weekly__W__short", "delta": 0.027156179855509}, {"config_id": "M_DENSE__H__long", "delta": 0.019206599969448512}, {"config_id": "us_births__D__short", "delta": 0.01594704433170646}, {"config_id": "saugeenday__D__short", "delta": 0.012966759020383134}, {"config_id": "bizitobs_l2c__T__medium", "delta": 0.012355667804988535}, {"config_id": "saugeenday__M__short", "delta": 0.012137554666010741}, {"config_id": "M_DENSE__H__short", "delta": 0.011330351977005715}, {"config_id": "electricity__H__short", "delta": 0.01054775939191277}]}, "current": {"positive_configs": 50, "total_configs": 97, "group_skill_delta": {"term": {"long": 0.0007518949582022705, "medium": 0.0008284759606443926, "short": 0.0008035714708022335}, "domain": {"Econ/Fin": 0.001830727725445458, "Energy": -0.0004957162094531009, "Healthcare": 0.00570223830204275, "Nature": 0.0006961173101691642, "Sales": -0.0020040875405479275, "Transport": 0.000619236118382549, "Web/CloudOps": 0.001350955512749663}, "frequency": {"A": -0.0009314535267384016, "D": 0.0018952278393165045, "H": 0.0005256723851021494, "M": -0.0056496298266519585, "Q": -0.0021561099495120972, "S": 4.61708207354361e-05, "T": 0.001795407320581477, "W": -0.0007205222360062713}, "variates": {"multivariate": 0.00018655022602742655, "univariate": 0.001303177684338075}}, "largest_regressions": [{"config_id": "us_births__M__short", "delta": -0.026353313245838783}, {"config_id": "ett2__T__short", "delta": -0.02014323024911424}, {"config_id": "LOOP_SEATTLE__T__short", "delta": -0.015608059405994412}, {"config_id": "ett1__W__short", "delta": -0.015479939789509012}, {"config_id": "bizitobs_l2c__H__short", "delta": -0.015158425149146115}, {"config_id": "saugeenday__W__short", "delta": -0.014372855021653419}, {"config_id": "covid_deaths__D__short", "delta": -0.013058005066113432}, {"config_id": "M_DENSE__D__short", "delta": -0.01294387378332118}], "largest_improvements": [{"config_id": "m4_weekly__W__short", "delta": 0.02361780438598793}, {"config_id": "us_births__D__short", "delta": 0.018366121505148714}, {"config_id": "bizitobs_l2c__T__short", "delta": 0.014197290849927602}, {"config_id": "M_DENSE__H__short", "delta": 0.012262037315359797}, {"config_id": "saugeenday__M__short", "delta": 0.011026616884412421}, {"config_id": "solar__T__short", "delta": 0.010509239968234496}, {"config_id": "electricity__H__short", "delta": 0.010250960891911687}, {"config_id": "M_DENSE__H__medium", "delta": 0.010215725325502523}]}}}, {"panel": "valid_backcast", "skill": 0.3454776695706264, "delta_frozen": -0.00018844608814816421, "delta_current": -0.0002963984481781923, "evaluation_seconds": 102.79379361798055, "groups": {"term": {"long": 0.40528562240907895, "medium": 0.3636030703777581, "short": 0.31376789992934595}, "domain": {"Econ/Fin": 0.18255322929224826, "Energy": 0.23460562763292858, "Healthcare": 0.3991450958419892, "Nature": 0.3846536547042607, "Sales": 0.40786948398139855, "Transport": 0.379669615375008, "Web/CloudOps": 0.45825301786525063}, "frequency": {"A": 0.32698375941472213, "D": 0.3638934438537482, "H": 0.3788496068013374, "M": 0.1914771840379833, "Q": 0.23774390253181066, "S": 0.3453845857797502, "T": 0.34138425941056927, "W": 0.2922259201661095}, "variates": {"multivariate": 0.36316077411183334, "univariate": 0.3310461716131965}}, "comparisons": {"frozen": {"positive_configs": 46, "total_configs": 97, "group_skill_delta": {"term": {"long": -0.0019119535436493695, "medium": -0.0004927772186985591, "short": 0.0006985316262305696}, "domain": {"Econ/Fin": 0.002117954506798636, "Energy": -0.00020977631158514143, "Healthcare": -0.008290190964119315, "Nature": 0.0033504099601329163, "Sales": 0.00034525946352415016, "Transport": 0.002004748328961914, "Web/CloudOps": -0.0026318400241568396}, "frequency": {"A": -0.0047973654732119675, "D": -0.00029556913373474103, "H": 0.002480940428061129, "M": 0.003999175061233706, "Q": 0.0005021708627526156, "S": -0.0044929448697250685, "T": -0.00219475323413576, "W": -0.0018771058075813807}, "variates": {"multivariate": -0.0021765061132417163, "univariate": 0.0014792757316079985}}, "largest_regressions": [{"config_id": "ett2__T__short", "delta": -0.025440533791053377}, {"config_id": "jena_weather__T__short", "delta": -0.021474520391312923}, {"config_id": "us_births__M__short", "delta": -0.017970652265217435}, {"config_id": "ett2__W__short", "delta": -0.013656608246303326}, {"config_id": "electricity__D__short", "delta": -0.01239720383797882}, {"config_id": "covid_deaths__D__short", "delta": -0.012170777609198269}, {"config_id": "solar__T__medium", "delta": -0.011669472126964675}, {"config_id": "bizitobs_l2c__T__medium", "delta": -0.010309166183636753}], "largest_improvements": [{"config_id": "saugeenday__M__short", "delta": 0.06399735769082437}, {"config_id": "solar__H__short", "delta": 0.032314635527553315}, {"config_id": "ett1__H__short", "delta": 0.021353753653667207}, {"config_id": "m4_weekly__W__short", "delta": 0.02113333006091833}, {"config_id": "saugeenday__D__short", "delta": 0.018856209249390132}, {"config_id": "M_DENSE__H__medium", "delta": 0.015305308597099332}, {"config_id": "bitbrains_rnd__T__short", "delta": 0.011814513965627382}, {"config_id": "bitbrains_fast_storage__T__short", "delta": 0.009708158834936365}]}, "current": {"positive_configs": 53, "total_configs": 97, "group_skill_delta": {"term": {"long": -0.0016714249186486896, "medium": 0.0006295118648368403, "short": -6.981432435215762e-05}, "domain": {"Econ/Fin": 0.0025607881587276227, "Energy": -0.0009764494106837551, "Healthcare": -0.0034369094727746408, "Nature": 0.0019861337575274307, "Sales": -0.0016631062107022032, "Transport": 0.0010649224930543433, "Web/CloudOps": -0.0015143773362779056}, "frequency": {"A": -0.007284340388180155, "D": -0.0011011486797889436, "H": 0.001750220262270008, "M": -0.0003416906949502696, "Q": 0.0018177109331917185, "S": -0.004901924960286963, "T": -0.0008988227623395462, "W": -0.000750856591086646}, "variates": {"multivariate": -0.001100458825907813, "univariate": 0.0003771015236686548}}, "largest_regressions": [{"config_id": "ett2__T__short", "delta": -0.03752995758620148}, {"config_id": "solar__W__short", "delta": -0.01533952306784947}, {"config_id": "electricity__D__short", "delta": -0.014278007645682878}, {"config_id": "ett2__W__short", "delta": -0.013238694460688039}, {"config_id": "us_births__M__short", "delta": -0.012627791238285946}, {"config_id": "covid_deaths__D__short", "delta": -0.012198030304103158}, {"config_id": "bizitobs_l2c__H__long", "delta": -0.010803612778359506}, {"config_id": "bizitobs_service__S__long", "delta": -0.010050731212922548}], "largest_improvements": [{"config_id": "saugeenday__M__short", "delta": 0.03020026077059823}, {"config_id": "solar__H__short", "delta": 0.022114685855228244}, {"config_id": "m4_weekly__W__short", "delta": 0.01777517680268792}, {"config_id": "saugeenday__D__short", "delta": 0.016384565809412055}, {"config_id": "ett1__H__short", "delta": 0.01634647827951685}, {"config_id": "bizitobs_l2c__T__short", "delta": 0.009153951656844739}, {"config_id": "ett2__H__long", "delta": 0.009055952297336467}, {"config_id": "us_births__W__short", "delta": 0.008843222314374732}]}}}, {"panel": "valid_backcast2", "skill": 0.370165235742403, "delta_frozen": 0.0005025115722999685, "delta_current": 0.00014243668260938147, "evaluation_seconds": 100.25852539995685, "groups": {"term": {"long": 0.3746030178698837, "medium": 0.39802671895428543, "short": 0.35738841642464303}, "domain": {"Econ/Fin": 0.1323486875356592, "Energy": 0.24292163183181514, "Healthcare": 0.35228401440266144, "Nature": 0.4852885285490327, "Sales": 0.558062864460154, "Transport": 0.4292701878450944, "Web/CloudOps": 0.4472373718762672}, "frequency": {"A": 0.3376791200195063, "D": 0.434576795036537, "H": 0.4007111671293758, "M": 0.17558532638266144, "Q": 0.1570532697461301, "S": 0.29041607621088816, "T": 0.3713653832285535, "W": 0.2835290764348716}, "variates": {"multivariate": 0.3727462281145816, "univariate": 0.36807283708470684}}, "comparisons": {"frozen": {"positive_configs": 53, "total_configs": 94, "group_skill_delta": {"term": {"long": 0.00046154921242391733, "medium": -0.0009259667697880669, "short": 0.0011109891098166624}, "domain": {"Econ/Fin": 0.004840787974594418, "Energy": 0.0021567995702810316, "Healthcare": -0.009885633893269574, "Nature": 0.0030193997111206405, "Sales": -0.0011798327261103303, "Transport": 0.001386919479457016, "Web/CloudOps": -0.002503391368354202}, "frequency": {"A": -0.0005070593385431144, "D": -0.0007705332940446397, "H": 0.00011737693536750804, "M": 0.006461641804624163, "Q": 0.0014695791247345547, "S": -0.00048487960534449037, "T": 0.0005296600020219255, "W": 0.003323158351278055}, "variates": {"multivariate": -0.0013042695454289488, "univariate": 0.0019765275269396643}}, "largest_regressions": [{"config_id": "us_births__W__short", "delta": -0.02914353927801272}, {"config_id": "covid_deaths__D__short", "delta": -0.02553922227352634}, {"config_id": "ett1__H__short", "delta": -0.02225682025809561}, {"config_id": "bizitobs_l2c__T__medium", "delta": -0.012161659250741863}, {"config_id": "bizitobs_l2c__H__medium", "delta": -0.01109889175034473}, {"config_id": "bizitobs_l2c__T__long", "delta": -0.010258181331123994}, {"config_id": "bitbrains_fast_storage__T__long", "delta": -0.008041928465346238}, {"config_id": "solar__H__short", "delta": -0.007818024534947399}], "largest_improvements": [{"config_id": "solar__T__medium", "delta": 0.028617771667922565}, {"config_id": "saugeenday__M__short", "delta": 0.027788292391105807}, {"config_id": "electricity__H__short", "delta": 0.024438714197914324}, {"config_id": "m4_weekly__W__short", "delta": 0.01695457751928464}, {"config_id": "bizitobs_application__S__long", "delta": 0.01596727617238436}, {"config_id": "bitbrains_fast_storage__T__short", "delta": 0.014352145036357511}, {"config_id": "m4_hourly__H__short", "delta": 0.013747019489813495}, {"config_id": "saugeenday__W__short", "delta": 0.012095518468011046}]}, "current": {"positive_configs": 47, "total_configs": 94, "group_skill_delta": {"term": {"long": -8.190260641760538e-05, "medium": -0.001289588649044382, "short": 0.0008190177037810109}, "domain": {"Econ/Fin": 0.006566241477034329, "Energy": 0.00201888105482928, "Healthcare": -0.010789734477457014, "Nature": 0.0008615603182332565, "Sales": -0.0030187923435289754, "Transport": -0.000312957374618561, "Web/CloudOps": -0.0006412279560695788}, "frequency": {"A": 0.0008860976972934198, "D": -0.0012877007479034086, "H": -0.001147416970784576, "M": 0.003957552056173874, "Q": 0.0018692664066987108, "S": -0.0031346020586952017, "T": 0.0028218090788735273, "W": -0.0011702871962671058}, "variates": {"multivariate": -0.00043473632107537963, "univariate": 0.0006124764646336933}}, "largest_regressions": [{"config_id": "us_births__W__short", "delta": -0.04522864918889835}, {"config_id": "ett1__H__short", "delta": -0.02980086636965662}, {"config_id": "covid_deaths__D__short", "delta": -0.026622975228819068}, {"config_id": "bizitobs_l2c__T__long", "delta": -0.013925789747193829}, {"config_id": "bizitobs_l2c__H__medium", "delta": -0.01225959211572869}, {"config_id": "M_DENSE__D__short", "delta": -0.01139837638500496}, {"config_id": "kdd_cup_2018_with_missing__H__short", "delta": -0.010071935346354866}, {"config_id": "bizitobs_l2c__T__medium", "delta": -0.008937401580049187}], "largest_improvements": [{"config_id": "bitbrains_fast_storage__T__short", "delta": 0.026437292973894078}, {"config_id": "electricity__H__short", "delta": 0.024124697531306527}, {"config_id": "solar__T__medium", "delta": 0.021358420118383514}, {"config_id": "m4_weekly__W__short", "delta": 0.01771913006559611}, {"config_id": "bizitobs_application__S__long", "delta": 0.01610448772034556}, {"config_id": "bizitobs_l2c__T__short", "delta": 0.016047750480295164}, {"config_id": "saugeenday__M__short", "delta": 0.015056733755292484}, {"config_id": "m4_hourly__H__short", "delta": 0.014967185976311748}]}}}, {"panel": "valid_backcast3", "skill": 0.39237316871514827, "delta_frozen": 0.00024349043050786445, "delta_current": -0.00044726562041652596, "evaluation_seconds": 99.79332129308023, "groups": {"term": {"long": 0.3987399912668941, "medium": 0.3712118543710127, "short": 0.3978009201473006}, "domain": {"Econ/Fin": 0.19374184549525353, "Energy": 0.319225077746341, "Healthcare": 0.23540521735709186, "Nature": 0.5055944342925276, "Sales": 0.40439439187277426, "Transport": 0.5133813444860625, "Web/CloudOps": 0.39979817688479}, "frequency": {"A": 0.36363686159997777, "D": 0.4444603045575869, "H": 0.40931261715130385, "M": 0.14492875729774468, "Q": 0.2626350749217361, "S": 0.28942160957712804, "T": 0.43408860654354897, "W": 0.2502433193667285}, "variates": {"multivariate": 0.37544255081972233, "univariate": 0.4053980899115547}}, "comparisons": {"frozen": {"positive_configs": 48, "total_configs": 93, "group_skill_delta": {"term": {"long": -0.0006048008701443619, "medium": -0.0019682574919023255, "short": 0.0013294740788182269}, "domain": {"Econ/Fin": 0.0022270104202506413, "Energy": 0.002075301385040529, "Healthcare": 0.0013360968373909987, "Nature": -0.003182878045671522, "Sales": 0.001984467999793904, "Transport": 0.0031662799449563295, "Web/CloudOps": -0.0029709645730785494}, "frequency": {"A": 0.0003488720385010913, "D": 0.004219693771285504, "H": 0.0012654276529275865, "M": -0.0012313475135308227, "Q": -0.0009322157859709135, "S": -0.004782139438104904, "T": -0.000576009232815311, "W": -0.005767223191885051}, "variates": {"multivariate": -0.00011465668895771497, "univariate": 0.0005123481721718282}}, "largest_regressions": [{"config_id": "saugeenday__W__short", "delta": -0.028017629370064467}, {"config_id": "us_births__M__short", "delta": -0.026429078592109634}, {"config_id": "ett2__T__medium", "delta": -0.01987959040247167}, {"config_id": "bizitobs_l2c__T__medium", "delta": -0.019216515883336727}, {"config_id": "solar__H__short", "delta": -0.017831254043257916}, {"config_id": "bizitobs_application__S__medium", "delta": -0.014237599062127404}, {"config_id": "bizitobs_application__S__long", "delta": -0.012947171894775567}, {"config_id": "saugeenday__D__short", "delta": -0.011737583574634947}], "largest_improvements": [{"config_id": "ett1__D__short", "delta": 0.021305286916028843}, {"config_id": "ett1__T__short", "delta": 0.01950320729113786}, {"config_id": "us_births__D__short", "delta": 0.019002635067128293}, {"config_id": "saugeenday__M__short", "delta": 0.01899588796034757}, {"config_id": "ett2__W__short", "delta": 0.017104737525266978}, {"config_id": "ett1__H__short", "delta": 0.012380541272503875}, {"config_id": "ett1__H__long", "delta": 0.011673314863784645}, {"config_id": "M_DENSE__H__short", "delta": 0.01153556514460563}]}, "current": {"positive_configs": 52, "total_configs": 93, "group_skill_delta": {"term": {"long": -0.0015782659204579552, "medium": -0.0010045391496978917, "short": 0.00014984569175102713}, "domain": {"Econ/Fin": 0.004516372311230921, "Energy": 0.00023727507758941613, "Healthcare": -0.004427549646247031, "Nature": -0.004658795890397194, "Sales": 0.0012921341810825382, "Transport": 0.0019642951937861586, "Web/CloudOps": -0.00016654951124606132}, "frequency": {"A": 0.005503187931264142, "D": 0.0006819861506709435, "H": 0.00010140165168415205, "M": -0.005570992768429317, "Q": 0.00017412488848378427, "S": -0.005037492821408418, "T": 0.000687029370882386, "W": -0.00625863145277028}, "variates": {"multivariate": -0.00019730174336130002, "univariate": -0.0006345930027260582}}, "largest_regressions": [{"config_id": "saugeenday__W__short", "delta": -0.032284102135443415}, {"config_id": "us_births__M__short", "delta": -0.02972875112606821}, {"config_id": "ett2__T__medium", "delta": -0.020831796104619493}, {"config_id": "bizitobs_l2c__T__medium", "delta": -0.020696457368158505}, {"config_id": "bizitobs_application__S__long", "delta": -0.017386586312124863}, {"config_id": "solar__H__short", "delta": -0.015834585889969333}, {"config_id": "ett2__H__long", "delta": -0.013223281881858728}, {"config_id": "saugeenday__D__short", "delta": -0.012939111941303483}], "largest_improvements": [{"config_id": "bitbrains_fast_storage__T__short", "delta": 0.014989922544629941}, {"config_id": "ett2__D__short", "delta": 0.012295103918030459}, {"config_id": "ett2__W__short", "delta": 0.01205773770567875}, {"config_id": "M_DENSE__H__short", "delta": 0.01064022250326746}, {"config_id": "ett1__D__short", "delta": 0.010164132991920205}, {"config_id": "electricity__H__short", "delta": 0.010111892506530551}, {"config_id": "m4_hourly__H__short", "delta": 0.009831015829539158}, {"config_id": "ett2__H__medium", "delta": 0.008743734810650383}]}}}], "selection_gate_passed": false, "positive_frozen": 3, "mean_delta_frozen": 0.0004653507815086111, "positive_current": 2, "mean_delta_current": 4.919528013067054e-05, "cpu_review_seconds": 0.04057373688556254, "new_optimizer_updates": 0, "new_inference": false, "outcome": "Four-cutoff gate fails; no full replay or publication from this endpoint.", "interpretation": "Adaptive validation diagnostics, not independent test evidence. Frequency groups are recomputed using the scorer frequency parser, avoiding comparison of full aliases with frequency-unit groups."}. + +2026-10-24T01:08:17.843343+00:00: E152 primary gate-weight diagnostic {"utc": "2026-10-24T01:08:17.843343+00:00", "run": "ensemble_gate_refresh", "step": 6000, "checkpoint_sha256": "a7d0ee6866ea787f29eac043531aad3613674f159fd00b3491fd87fab8388fd1", "cpu_seconds": 33.34550955798477, "optimizer_updates": 0, "new_expert_inference": false, "labels_read": false, "panels": [{"cutoff": "valid_screen", "mean_weights": [0.45144974060850984, 0.1312424511776457, 0.292270792661001, 0.12503701573699447], "terms": {"long": {"configs": 21, "mean_weights": [0.45696588385022985, 0.13051791837643803, 0.28749539239946575, 0.12502080571777685], "fraction_near_lower_bound": [0.0, 0.09207175925925926, 0.0, 0.9544522593245155], "fraction_near_upper_bound": [0.0, 0.0, 0.0, 0.0], "lead_quarter_mean_weights": [[0.4736369930481803, 0.13057155495472994, 0.27076447801563597, 0.12502697498938584], [0.4568625472844027, 0.13071858046498136, 0.2873966718445268, 0.1250222005851552], [0.4507904429352078, 0.13048583978966666, 0.2937057411995945, 0.12501797613794063], [0.4465735521331285, 0.13029569829637416, 0.2981146785381056, 0.1250160711586257]]}, "medium": {"configs": 21, "mean_weights": [0.4578846125354492, 0.13037393495487995, 0.2867232194040831, 0.1250182337891339], "fraction_near_lower_bound": [0.0, 0.06499088677939124, 0.0, 0.9687038729957071], "fraction_near_upper_bound": [0.0, 0.0, 0.0, 0.0], "lead_quarter_mean_weights": [[0.4714763133837047, 0.13045732894289802, 0.2730439442541686, 0.12502241410108605], [0.46102918635317525, 0.13047883027368107, 0.2834726321211114, 0.1250193521473563], [0.4508210333194481, 0.130430790660892, 0.2937312098437924, 0.12501696653458638], [0.44821191708546854, 0.1301287899420487, 0.29664509139726, 0.1250142023735069]]}, "short": {"configs": 55, "mean_weights": [0.44688662572593046, 0.13185070625952647, 0.29621229164077395, 0.12505037630624255], "fraction_near_lower_bound": [0.0, 0.012495438367644116, 9.46969696969697e-05, 0.9050303288553079], "fraction_near_upper_bound": [9.46969696969697e-05, 0.0, 0.0, 0.0], "lead_quarter_mean_weights": [[0.462833777667424, 0.13226609267917028, 0.27983069099239477, 0.1250694392243554], [0.4491083443927546, 0.13195882978133297, 0.2938804428632871, 0.12505238268204835], [0.4407403693536803, 0.13168894926355665, 0.30252839591495645, 0.12504228497694533], [0.43347790997922914, 0.1314615183640825, 0.3100247933210972, 0.12503577820817324]]}}}, {"cutoff": "valid_backcast", "mean_weights": [0.45192664210888855, 0.1313954962105682, 0.2916377588826493, 0.1250401029810391], "terms": {"long": {"configs": 21, "mean_weights": [0.45425458733690405, 0.1311044456650174, 0.2896131864566034, 0.1250277806138749], "fraction_near_lower_bound": [0.0, 0.01254323169254741, 0.0, 0.9289536242049504], "fraction_near_upper_bound": [0.0, 0.0, 0.0, 0.0], "lead_quarter_mean_weights": [[0.46656938647897866, 0.13127512460207424, 0.2771205178344291, 0.12503497095535718], [0.4566667273581081, 0.13120321794611828, 0.28710092014733624, 0.1250291347859657], [0.4491734035176221, 0.13106828578751445, 0.2947332175045145, 0.12502509308401505], [0.44460883199290724, 0.13087115432436264, 0.29949809034013364, 0.12502192363016162]]}, "medium": {"configs": 21, "mean_weights": [0.4590204172022113, 0.13072491350264995, 0.2852308526409229, 0.1250238166047213], "fraction_near_lower_bound": [0.0, 0.02333262279189206, 0.0, 0.9408220144120001], "fraction_near_upper_bound": [0.0, 0.0, 0.0, 0.0], "lead_quarter_mean_weights": [[0.4746675418391032, 0.13073384868960103, 0.2695687955985252, 0.12502981368998503], [0.46041490472350394, 0.13085812643100372, 0.2837018091529021, 0.12502515976924938], [0.4509764868381446, 0.13083175158962004, 0.2931696290587037, 0.12502213268248147], [0.4500227354080937, 0.1304759273003749, 0.2944831767535606, 0.12501816027716947]]}, "short": {"configs": 55, "mean_weights": [0.44832925798619616, 0.13176266527098374, 0.2948570507376171, 0.1250510263194595], "fraction_near_lower_bound": [0.0, 0.027396687921924064, 9.775171065493647e-05, 0.9115964148958503], "fraction_near_upper_bound": [9.775171065493647e-05, 0.0, 0.0, 0.0], "lead_quarter_mean_weights": [[0.46799440481420657, 0.13208604681959105, 0.274846983703468, 0.1250725655850252], [0.452649797406133, 0.1317926998259897, 0.2905047982351809, 0.1250527047263537], [0.44098049657366967, 0.13160864896721908, 0.30236871477027816, 0.12504214016541665], [0.43020562246984867, 0.13154709023499886, 0.31321193272529596, 0.12503535422430512]]}}}, {"cutoff": "valid_backcast2", "mean_weights": [0.45602376456256644, 0.13130367818004213, 0.28763432835699104, 0.12503822934148656], "terms": {"long": {"configs": 19, "mean_weights": [0.4652427226018925, 0.13056365076673493, 0.2791679165665227, 0.1250257109657424], "fraction_near_lower_bound": [0.0, 0.09123460848027627, 0.000291594370541739, 0.9300346809286533], "fraction_near_upper_bound": [0.0002919960156802262, 0.0, 0.0, 0.0], "lead_quarter_mean_weights": [[0.4785184249355541, 0.1307744061367128, 0.2656736055471965, 0.1250335646650293], [0.4673542270550605, 0.13062402088194358, 0.27699528343513496, 0.12502646963484032], [0.46009173659641106, 0.13051837735386648, 0.284366999044982, 0.12502288764022362], [0.45500650182054486, 0.13033779869441697, 0.28963577823877706, 0.12501992192287642]]}, "medium": {"configs": 21, "mean_weights": [0.45741064134094467, 0.1309892597037176, 0.2865726512572071, 0.12502744775001937], "fraction_near_lower_bound": [0.0, 0.011081138079046532, 0.0, 0.9298906450134053], "fraction_near_upper_bound": [0.0, 0.0, 0.0, 0.0], "lead_quarter_mean_weights": [[0.46609574670102943, 0.13127939422109688, 0.27759029568869725, 0.12503456356070383], [0.45762129931272466, 0.13115173470011077, 0.28619783464998116, 0.12502913123896617], [0.45563577906298425, 0.13086958866743706, 0.28846967484542924, 0.12502495771892436], [0.45028974028704016, 0.13065632122622578, 0.29403279984472064, 0.1250211384814832]]}, "short": {"configs": 54, "mean_weights": [0.4522407161349153, 0.13168633204773939, 0.2910261254517012, 0.12504682679630044], "fraction_near_lower_bound": [0.0, 0.03984089321212149, 9.798157946306095e-05, 0.8967551919078615], "fraction_near_upper_bound": [9.798157946306095e-05, 0.0, 0.0, 0.0], "lead_quarter_mean_weights": [[0.4665510521248817, 0.13226286527338246, 0.27611788743380494, 0.1250681951256378], [0.45400740428696396, 0.13186048608479164, 0.2890826207874645, 0.12504948971294402], [0.4462599467645833, 0.13148461017004134, 0.2972173891356705, 0.1250380542692812], [0.441022043550938, 0.1311051255413952, 0.30284273491802116, 0.12503009650278266]]}}}, {"cutoff": "valid_backcast3", "mean_weights": [0.45734627584820986, 0.13085226736560432, 0.2867685809785169, 0.12503287595998624], "terms": {"long": {"configs": 19, "mean_weights": [0.4539340954155742, 0.1311841594650577, 0.2898520926616463, 0.12502965247111977], "fraction_near_lower_bound": [0.0, 0.010280097486486972, 0.0005155115352483774, 0.9236426402864384], "fraction_near_upper_bound": [0.0005169172932330827, 0.0, 0.0, 0.0], "lead_quarter_mean_weights": [[0.46718531497975124, 0.13158335058252665, 0.2761889217528363, 0.1250424125891085], [0.45595487540278895, 0.13136713826414334, 0.287646774457619, 0.12503121192535152], [0.4470945684085652, 0.1310610181993954, 0.2968198757388965, 0.1250245379945214], [0.44550162287119177, 0.13072513081416565, 0.29875279869723353, 0.12502044737549778]]}, "medium": {"configs": 20, "mean_weights": [0.4653703104580467, 0.1299456048121979, 0.2796661933524923, 0.12501789187405093], "fraction_near_lower_bound": [0.0, 0.05613413119476336, 0.00044921874999999997, 0.9549379279004342], "fraction_near_upper_bound": [0.00044921874999999997, 0.0, 0.0, 0.0], "lead_quarter_mean_weights": [[0.47599074351265325, 0.13015648251258552, 0.26882959263903844, 0.1250231812962736], [0.4699233107761013, 0.1299665216563769, 0.2750915895398339, 0.12501857812367528], [0.4583242787244376, 0.12998075639620757, 0.28667862756391027, 0.12501633758522762], [0.45724290881899476, 0.12967865868362155, 0.2880649636671867, 0.12501347049102723]]}, "short": {"configs": 54, "mean_weights": [0.45557499318197586, 0.13107129146150281, 0.28831415561816565, 0.12503955981197087], "fraction_near_lower_bound": [0.0, 0.01719731589412144, 0.0, 0.9085735809876799], "fraction_near_upper_bound": [0.0, 0.0, 0.0, 0.0], "lead_quarter_mean_weights": [[0.47248925060457786, 0.13138828281000897, 0.2710683384103265, 0.12505412872248878], [0.4585758524063536, 0.1311278430632381, 0.2852553799951202, 0.1250409232862834], [0.4498019216264113, 0.13093193849858936, 0.29423270449517946, 0.12503343578314954], [0.4402709767086745, 0.13080582265582208, 0.30389496561946744, 0.12502823557165088]]}}}], "interpretation": "Fourth expert weight lies near fixed0.125 floor across all terms; no bound or weighting change selected. Refresh improves old gateE138 at4of4cutoffs, mean+.000786717534, but only2of4 versus currentE159; no full replay. E165 separately passes its predeclared frozen-parent source condition and is now queued, not trained."}. + +2026-10-24T01:11:01.747589+00:00: E168 signed-power synthetic marginal study declared {"experiment": "E168", "declared_utc": "2026-10-24T01:11:01.747589+00:00", "status": "declared; sampler and full recovery audits pending; no production queue", "hypothesis": "The existing local generator is predominantly additive. A fixed monotone signed-power marginal warp can expose nonlinear level-dependent variability and skewed seasonal shapes while retaining its temporal processes. Test this as one isolated training-only factor; prior E69 stochastic-volatility and E149 integrated-level results do not establish this mechanism.", "run": "signed_power_synth", "study_code": "/workspace/research/signed_power_study", "model_code": "/workspace/research/signed_power_synth", "control": "overflow_control", "initial": "/workspace/research/horizon_delta12k.pt", "initial_sha256": "22c08571978be31ba57368eb983089a40a44d56d4ae5e17da41afd2a761a258c", "initialization": "Exactly the same own scratch-trained E62 checkpoint as E80; no other learned weights or fixture state.", "parameters": 36800800, "seed": 197, "batch": 64, "lr": 2e-05, "steps": 12000, "primary": 6000, "final": 12000, "compiled_loss": false, "packed": "/workspace/research/packed_sample", "source_weights_from": "/workspace/research/packed_sample", "factor": "Generate the complete original synthetic path first. Independently select half of synthetic paths and transform every value with sign(x)*abs(x)**gamma after existing intermittent/positivity operations. gamma=exp(Uniform(-log(2),log(2))) drawn once per selected path. Float64 transformation then float32 storage; no future-dependent normalization or estimated transform parameter. Total synthetics remain20percent. Preserve original sampler/source probabilities, real/unselected paths, all original RNG streams and requested-horizon truncation.", "generator": {"signed_power_probability": 0.5, "exponent_range": [0.5, 2.0], "exponent_law": "log-uniform", "power_seed": 1400200, "synthetic_fraction": 0.2, "zero_preserving": true, "pointwise_and_odd": true}, "allocation_after": "E165 six_expert_gate12000", "fixture_seeds": {"cpu": 1163, "gpu": 1171, "recovery": 197}, "engineering": "Audit exact original streams, real/unselected rows and target masks; pointwise prefix invariance, zero/sign preservation and independent analytic examples. Same model bytes and initial checkpoint. GPU maximum-shape finite loss/gradients on new synthetic rows; full6 versus3+3 original12k recovery with allRNG/prefetch. No fixture state enters research training.", "selection": "Primary6/final12 four-cutoff matched comparisons with E80; main1/3 diagnostics. No new exponent/probability sweep. No transfer or ensemble selected in advance; any later package requires a separate current-publication comparison and full public replay.", "inference": "Unchanged E80 fixed input-only neural model and runtime. Marginal warp is training-only; no transform estimation or adaptation at inference.", "sources": "Same95allowlisted packed_sample directories plus original own E80 synthetics and this new local signed-power warp.", "training_queued": false}. + +2026-10-24T01:13:03.945255+00:00: E168 CPU audit {"training_seed": 197, "fixture_seeds": [197, 1163], "initial_checkpoint_sha256": "22c08571978be31ba57368eb983089a40a44d56d4ae5e17da41afd2a761a258c", "model_byte_identical": true, "counts": {"rows": 8192, "synthetic_rows": 1618, "selected_rows": 832, "changed_rows": 800, "real_and_unselected_rows": 7360}, "changed_fraction": 0.09765625, "exponent_range_observed": [0.5000597955438424, 1.999682289627536], "maximum_abs_transformed_value": 240.9292755126953, "source_probabilities_bitwise_equal": true, "original_rng_streams_bitwise_equal": true, "all_masks_and_periods_bitwise_equal": true, "real_and_unselected_rows_bitwise_equal": true, "disabled_treatment_bitwise_equal": true, "zero_and_sign_preserving": true, "pointwise_prefix_invariance": true, "monotone_for_all_audited_exponents": true, "analytic_sqrt_identity_and_square_examples": true, "independent_exp_log_row_reference": true, "sampler_recovery_bitwise_equal": true, "recovery_generator_attributes": ["horizon_rng", "power_rng", "rng"], "seconds": 12.741569167003036, "optimizer_updates": 0, "validation_data_read": false}. GPU audit {"fixture_seed": 1171, "training_seed": 197, "initial_checkpoint_sha256": "22c08571978be31ba57368eb983089a40a44d56d4ae5e17da41afd2a761a258c", "parameters": 36800800, "batch": 64, "signed_rows": 128, "context": 4096, "horizon": 1024, "warped_rows": 10, "loss": 0.4123901426792145, "all_gradients_finite": true, "initial_parameters_bitwise_unchanged": true, "model_source_byte_identical": true, "peak_allocated_mib": 5783.81689453125, "peak_reserved_mib": 6266.0, "includes_adam_and_ema_placeholders": true, "lock_wait_seconds": 9.188102558255196e-05, "seconds": 10.429423494031653, "optimizer_updates": 0, "validation_data_read": false}. Full original12k recovery fixture in progress. No validation read or production updates. + +2026-10-24T01:15:25.010830+00:00: E168 engineering review and queue {"utc": "2026-10-24T01:15:25.010830+00:00", "experiment": "E168", "initial_checkpoint_sha256": "22c08571978be31ba57368eb983089a40a44d56d4ae5e17da41afd2a761a258c", "seed": 197, "batch": 64, "original_schedule_steps": 12000, "fixture_optimizer_updates": 18, "new_updates_after_audit_correction": 0, "recovery_seconds": 81.25748823885806, "original_failed_audit_process_seconds": 77.1644804798998, "comparison_body_seconds": 4.093007758958265, "comparisons": {"uninterrupted_repeat": {"model": {"bitwise_equal": false, "maximum_abs_difference": 1.1883676052093506e-06}, "ema_state": {"bitwise_equal": false, "maximum_abs_difference": 4.3585896492004395e-07}, "optimizer": {"bitwise_equal": false, "maximum_abs_difference": 2.0294271962484345e-05}, "batch_rng_state": {"bitwise_equal": true, "maximum_abs_difference": 0.0}, "sampler_rng_state": {"bitwise_equal": true, "maximum_abs_difference": 0.0}, "sampler_rng_states": {"bitwise_equal": true, "maximum_abs_difference": 0.0}, "torch_rng_state": {"bitwise_equal": true, "maximum_abs_difference": 0.0}, "cuda_rng_state": {"bitwise_equal": true, "maximum_abs_difference": 0.0}, "prefetched_batch": {"bitwise_equal": true, "maximum_abs_difference": 0.0}, "parent_checkpoints": {"bitwise_equal": true, "maximum_abs_difference": 0.0}}, "uninterrupted_vs_restart": {"model": {"bitwise_equal": false, "maximum_abs_difference": 1.166015863418579e-06}, "ema_state": {"bitwise_equal": false, "maximum_abs_difference": 4.544854164123535e-07}, "optimizer": {"bitwise_equal": false, "maximum_abs_difference": 2.663612031028606e-05}, "batch_rng_state": {"bitwise_equal": true, "maximum_abs_difference": 0.0}, "sampler_rng_state": {"bitwise_equal": true, "maximum_abs_difference": 0.0}, "sampler_rng_states": {"bitwise_equal": true, "maximum_abs_difference": 0.0}, "torch_rng_state": {"bitwise_equal": true, "maximum_abs_difference": 0.0}, "cuda_rng_state": {"bitwise_equal": true, "maximum_abs_difference": 0.0}, "prefetched_batch": {"bitwise_equal": true, "maximum_abs_difference": 0.0}, "parent_checkpoints": {"bitwise_equal": true, "maximum_abs_difference": 0.0}}}, "training_bitwise_replay_claimed": false, "audit_correction": "Initial audit expected direct initialization among inherited parent_checkpoints. Actual serialized format stores it in args.initialize_from; corrected audit verifies exact direct initialization and unchanged inherited parents. All four fixture processes had succeeded. Existing states re-compared without repeated training; original failed log/source retained.", "launch": {"utc": "2026-10-24T01:14:56.182739+00:00", "queue_pid": 15104, "watch_pid": 15105, "comparison_pid": 15106, "wait_pid": 14760, "command": ["python3", "/workspace/research/recovery/train.py", "--code-dir", "/workspace/research/signed_power_synth", "--packed", "/workspace/research/packed_sample", "--source-weights-from", "/workspace/research/packed_sample", "--out", "/workspace/research/runs/signed_power_synth", "--initialize-from", "/workspace/research/horizon_delta12k.pt", "--steps", "12000", "--batch", "64", "--lr", ".00002", "--seed", "197", "--loss-mode", "paired", "--stop-file", "/workspace/research/signed_power_synth.stop"], "initial_sha256": "22c08571978be31ba57368eb983089a40a44d56d4ae5e17da41afd2a761a258c", "power_seed": 1400200, "probability": 0.5, "exponent_range": [0.5, 2.0]}, "launcher_session": 19163, "outcome": "All engineering passed. Queued after E16512000, no extra main allocation. No validation efficacy result, no transfer or publication selected. Fixture states never used as research initialization."}. + +2026-10-24T01:19:27.372263+00:00: E169 full-corpus higherLR fourth-expert comparison declared {"experiment": "E169", "declared_utc": "2026-10-24T01:19:27.372263+00:00", "status": "declared before E147primary48; waiting source four-cutoff results", "hypothesis": "E151 full-corpus half-LR fourth expert failed, but E147 isolates higherLR on the full corpus. If E147 improves its original matched full-corpus halfLR source control, test whether its forecasts add useful ensemble diversity relative to an old-corpus highLR fourth expert. Keep all first-three members and equal-quarter weights fixed.", "fixed_first_three": ["seasonal_width_transfer12k", "patch8_ema6000", "split_patch_ema12000"], "fixed_first_three_hashes": ["0b11b7351a4a92d1d18c71a4159ec445be3a94ace8c7a9fa0edafad87d14e960", "308389b7217c080af9eb185559d4ee3cafa0f3e0f8c4dd8f5526b68198c89988", "1a2fb20a9fb5cae6526f2e36ea47559626bece78fd9c284899836505030ae9fe"], "frozen_parent_descriptor": "a1b4ab426901be8e1ee299eeeb3f041bac7cea3d4e59c4608824fc3d05c83e03", "current_at_declaration": "20f014ca61a9cfa4f275d9d7abfd297561ac37fddcdae9ba2ef60d3fca106cf8", "candidate_run": "random_capacity_full_highlr", "source_control": "random_capacity_full", "quartet_control": "random_capacity_1024", "primary": 48000, "final": 96000, "member_parameters": [36899168, null, null, 146477344], "total_parameters": 256643928, "weights": [0.25, 0.25, 0.25, 0.25], "seed": 307, "source_training": "E147 existing own fresh146M: B48/LR2e-4/original96k/packed_stratified_full with oldpack source weights/slowAR; no new training, fine-tuning or model assets.", "source_gate": "At each declared48/96 endpoint require existing E147 standalone comparison versus E110(fullpack LR1e-4) to improve>=3of4cutoffs with positive mean.", "selection_gate": "If source passes, use cached actual predictions to compare candidate equal quartet to a matched-step E79(oldpack LR2e-4) quartet, frozen E148 and then-current submission. Require>=3positivecutoffs and positive mean against all three. No coefficient/horizon/frequency sweep, correction transfer or partial expert execution. Full actual runtime replay, independent real/synthetic composition, relocation, determinism and strict improvement of all97fullvalidation skill are required before any atomic promotion.", "evaluation": "Primary48/final96 fixed before primary result. Existing E147 corpus-by-LR2x2 interaction is descriptive and separate from selection. No automatic full replay or publication.", "sources": "Union of the already declared own first-three expert lineages and E147allowlisted95directories/local slowAR synthetics; no new data generator.", "code": "/workspace/research/full_highlr_ensemble", "new_optimizer_updates": 0}. + +2026-10-24T01:20:55.748802+00:00: E169 guarded controller running PID15243. First-three/fourth parameter counts resolved from manifests:36899168/36665488/36601928/146477344,total256643928. Four scripts AST-checked; source and quartet gates precede any full suite. All matched factorial control reports already exist; no additional control training or inference. + +2026-10-24T01:28:20.079537+00:00: Scheduled main-cutoff learning diagnostic {"utc": "2026-10-24T01:28:20.079537+00:00", "experiment": "E101", "run": "distill_ensemble", "step": 72000, "skill": 0.3803969851982407, "checkpoint_sha256": "a74842bf29efaa86cb83000ecea939a2fbeed66782a3d69de2733982f7804326", "eval_seconds": 37.145514726638794, "comparisons": [{"control": "random_capacity_1024_halflr", "control_checkpoint_sha256": "1f20fbc689daeb4c9761714dbe10f442ab41488d027207e7899a0cd3de1add3c", "control_skill": 0.36653362293692227, "delta": 0.013863362261318457, "group_deltas": {"term": {"long": 0.020702842093908158, "medium": 0.016849611624343508, "short": 0.00986061374845526}, "domain": {"Econ/Fin": 0.014109422097322799, "Energy": 0.019484826334366767, "Healthcare": -0.020108098071993874, "Nature": 0.019311111366684952, "Sales": -0.014348740818919015, "Transport": 0.004147676828186619, "Web/CloudOps": 0.022454973734904904}, "frequency": {"A": -0.007119213383114831, "D": -0.009069993146521127, "H": 0.01903696848430425, "M": -0.025399969929501554, "Q": -0.0045118758410506166, "S": 0.00753116340860327, "T": 0.02594233341458274, "W": 0.01037537592370219}, "variates": {"multivariate": 0.022828477946969072, "univariate": 0.006418807832685225}}}], "decision": "Scheduled main-panel learning diagnostic only; keep original96k schedule and immutable E96 uncompiled teacher. Primary48k improved standalone but its fixed quartet failed current-publication gates. Do not select72k or build a new ensemble from this diagnostic; retain declared final96k all-four-cutoff source and E135 quartet comparison.", "new_neural_inference": false, "new_training": false}. No additional training or inference. + +E147 48000 four-cutoff comparison: {"label": "E147 48000 four-cutoff comparison", "utc": "2026-10-24T01:32:28.658128+00:00", "candidate": "random_capacity_full_highlr_ema48000", "control": "random_capacity_full_ema48000", "rows": [{"cutoff": "evals", "candidate_skill": 0.36255159114007496, "control_skill": 0.36449796840324333, "delta": -0.0019463772631683751, "candidate_checkpoint": "819e4be84a1448dd80ea312a24b1d0908b60550a59bb237f98b6e5050c32d6f0", "control_checkpoint": "926f61e5d5f8ffebc8a5d73285832ebedc28aca794b0b06b55fc3c48a07330d1", "candidate_eval_seconds": 37.64431715011597, "candidate_groups": {"term": {"long": {"n_configs": 21, "rel_mase_gmean": 0.7579174569046494, "rel_wql_gmean": 0.4929868792095236}, "medium": {"n_configs": 21, "rel_mase_gmean": 0.7367552561356686, "rel_wql_gmean": 0.5088903535546065}, "short": {"n_configs": 55, "rel_mase_gmean": 0.7686254054585525, "rel_wql_gmean": 0.5628955118081465}}, "domain": {"Econ/Fin": {"n_configs": 6, "rel_mase_gmean": 0.893860090356587, "rel_wql_gmean": 0.8516542761245144}, "Energy": {"n_configs": 32, "rel_mase_gmean": 0.9198810148503045, "rel_wql_gmean": 0.6659579279240646}, "Healthcare": {"n_configs": 5, "rel_mase_gmean": 0.6399018727856384, "rel_wql_gmean": 0.5514622262364719}, "Nature": {"n_configs": 15, "rel_mase_gmean": 0.8074639247363337, "rel_wql_gmean": 0.4127932799657851}, "Sales": {"n_configs": 4, "rel_mase_gmean": 0.8537366436282459, "rel_wql_gmean": 0.5259307556357135}, "Transport": {"n_configs": 15, "rel_mase_gmean": 0.6505124589656275, "rel_wql_gmean": 0.44992088392976703}, "Web/CloudOps": {"n_configs": 20, "rel_mase_gmean": 0.5815395137413383, "rel_wql_gmean": 0.45216700291147494}}, "frequency": {"A": {"n_configs": 1, "rel_mase_gmean": 0.5897657125722325, "rel_wql_gmean": 0.6058711693556014}, "D": {"n_configs": 15, "rel_mase_gmean": 0.7885605988421652, "rel_wql_gmean": 0.5416925931719007}, "H": {"n_configs": 31, "rel_mase_gmean": 0.7465847596072724, "rel_wql_gmean": 0.5205784215671687}, "M": {"n_configs": 5, "rel_mase_gmean": 1.0079116473149246, "rel_wql_gmean": 0.8456193829331091}, "Q": {"n_configs": 1, "rel_mase_gmean": 0.7645884418113578, "rel_wql_gmean": 0.8244001929241546}, "S": {"n_configs": 6, "rel_mase_gmean": 0.669474825185019, "rel_wql_gmean": 0.5142594124133334}, "T": {"n_configs": 30, "rel_mase_gmean": 0.7141916470142242, "rel_wql_gmean": 0.471697460465299}, "W": {"n_configs": 8, "rel_mase_gmean": 0.9021192894448883, "rel_wql_gmean": 0.6748042051237436}}, "variates": {"multivariate": {"n_configs": 43, "rel_mase_gmean": 0.7325779624063553, "rel_wql_gmean": 0.5341044077595009}, "univariate": {"n_configs": 54, "rel_mase_gmean": 0.7812760330717998, "rel_wql_gmean": 0.5359852762729644}}}, "control_groups": {"term": {"long": {"n_configs": 21, "rel_mase_gmean": 0.7548553746218293, "rel_wql_gmean": 0.4912987773239935}, "medium": {"n_configs": 21, "rel_mase_gmean": 0.7352999993476327, "rel_wql_gmean": 0.504363562451463}, "short": {"n_configs": 55, "rel_mase_gmean": 0.7710300090434509, "rel_wql_gmean": 0.559031484306989}}, "domain": {"Econ/Fin": {"n_configs": 6, "rel_mase_gmean": 0.8770103389279252, "rel_wql_gmean": 0.8491199347133979}, "Energy": {"n_configs": 32, "rel_mase_gmean": 0.9116653965880178, "rel_wql_gmean": 0.6580222595386767}, "Healthcare": {"n_configs": 5, "rel_mase_gmean": 0.658803814018058, "rel_wql_gmean": 0.5396972664532947}, "Nature": {"n_configs": 15, "rel_mase_gmean": 0.8280404956337558, "rel_wql_gmean": 0.41423369227737183}, "Sales": {"n_configs": 4, "rel_mase_gmean": 0.8220888925613495, "rel_wql_gmean": 0.5100769909819354}, "Transport": {"n_configs": 15, "rel_mase_gmean": 0.6548033152870734, "rel_wql_gmean": 0.45244139184364884}, "Web/CloudOps": {"n_configs": 20, "rel_mase_gmean": 0.5808419471264448, "rel_wql_gmean": 0.4489494375356866}}, "frequency": {"A": {"n_configs": 1, "rel_mase_gmean": 0.5935959285501078, "rel_wql_gmean": 0.6250048870270299}, "D": {"n_configs": 15, "rel_mase_gmean": 0.7751260416854967, "rel_wql_gmean": 0.5273604629524228}, "H": {"n_configs": 31, "rel_mase_gmean": 0.7390325632700983, "rel_wql_gmean": 0.5118806853040565}, "M": {"n_configs": 5, "rel_mase_gmean": 1.1155244631113046, "rel_wql_gmean": 0.9182662011196825}, "Q": {"n_configs": 1, "rel_mase_gmean": 0.7722896053051759, "rel_wql_gmean": 0.8394501877623775}, "S": {"n_configs": 6, "rel_mase_gmean": 0.6682567022663544, "rel_wql_gmean": 0.5122682378733995}, "T": {"n_configs": 30, "rel_mase_gmean": 0.7187462560447286, "rel_wql_gmean": 0.4734288271006955}, "W": {"n_configs": 8, "rel_mase_gmean": 0.8925511740053919, "rel_wql_gmean": 0.6530704845861032}}, "variates": {"multivariate": {"n_configs": 43, "rel_mase_gmean": 0.7303154554027623, "rel_wql_gmean": 0.5275234582063876}, "univariate": {"n_configs": 54, "rel_mase_gmean": 0.7838594930079051, "rel_wql_gmean": 0.5349400339090976}}}, "group_skill_delta": {"term": {"long": -0.002281375168034838, "medium": -0.003331804323567944, "short": -0.001236968226747459}, "domain": {"Econ/Fin": -0.009549548333670055, "Energy": -0.008159374890361781, "Healthcare": 0.002245531149525748, "Nature": 0.008328975700363728, "Sales": -0.02252347858588377, "Transport": 0.0032995445046423155, "Web/CloudOps": -0.0021342764072201925}, "frequency": {"A": 0.011333783155144439, "D": -0.01422094217921721, "H": -0.00836461915672948, "M": 0.08889482236727786, "Q": 0.011238685204096655, "S": -0.001670057736172903, "T": 0.0029154200336506397, "W": -0.01674870746550705}, "variates": {"multivariate": -0.004826299640879994, "univariate": 0.00043669692384584735}}}, {"cutoff": "backcast_evals", "candidate_skill": 0.3233406279617841, "control_skill": 0.32483431257437134, "delta": -0.0014936846125872538, "candidate_checkpoint": "819e4be84a1448dd80ea312a24b1d0908b60550a59bb237f98b6e5050c32d6f0", "control_checkpoint": "926f61e5d5f8ffebc8a5d73285832ebedc28aca794b0b06b55fc3c48a07330d1", "candidate_eval_seconds": 36.12314057350159, "candidate_groups": {"term": {"long": {"n_configs": 21, "rel_mase_gmean": 0.7738720073630018, "rel_wql_gmean": 0.47891470244664547}, "medium": {"n_configs": 21, "rel_mase_gmean": 0.7934986518035683, "rel_wql_gmean": 0.5503887330899507}, "short": {"n_configs": 55, "rel_mase_gmean": 0.8243254361108542, "rel_wql_gmean": 0.6131037211631232}}, "domain": {"Econ/Fin": {"n_configs": 6, "rel_mase_gmean": 0.8868671837388283, "rel_wql_gmean": 0.8097237356461593}, "Energy": {"n_configs": 32, "rel_mase_gmean": 0.898446273759783, "rel_wql_gmean": 0.6849503958543457}, "Healthcare": {"n_configs": 5, "rel_mase_gmean": 0.649918288471455, "rel_wql_gmean": 0.6080729083335474}, "Nature": {"n_configs": 15, "rel_mase_gmean": 0.9437411984277163, "rel_wql_gmean": 0.45011590473619345}, "Sales": {"n_configs": 4, "rel_mase_gmean": 0.7446756991122785, "rel_wql_gmean": 0.4986264566764848}, "Transport": {"n_configs": 15, "rel_mase_gmean": 0.7562193590146564, "rel_wql_gmean": 0.5551393792410614}, "Web/CloudOps": {"n_configs": 20, "rel_mase_gmean": 0.659506250255506, "rel_wql_gmean": 0.4616342580943171}}, "frequency": {"A": {"n_configs": 1, "rel_mase_gmean": 0.6446437059731004, "rel_wql_gmean": 0.6882516427800116}, "D": {"n_configs": 15, "rel_mase_gmean": 0.8564498174150648, "rel_wql_gmean": 0.512565113839979}, "H": {"n_configs": 31, "rel_mase_gmean": 0.7828323472298757, "rel_wql_gmean": 0.5297076187701302}, "M": {"n_configs": 5, "rel_mase_gmean": 0.8403408980051337, "rel_wql_gmean": 0.7859222315461946}, "Q": {"n_configs": 1, "rel_mase_gmean": 0.7808721597888444, "rel_wql_gmean": 0.8117837559212793}, "S": {"n_configs": 6, "rel_mase_gmean": 0.8539173426593831, "rel_wql_gmean": 0.5053929796644565}, "T": {"n_configs": 30, "rel_mase_gmean": 0.7773994669026943, "rel_wql_gmean": 0.6031677969878132}, "W": {"n_configs": 8, "rel_mase_gmean": 0.8942549170453039, "rel_wql_gmean": 0.5962600319386929}}, "variates": {"multivariate": {"n_configs": 43, "rel_mase_gmean": 0.7873407569511094, "rel_wql_gmean": 0.5453277644364599}, "univariate": {"n_configs": 54, "rel_mase_gmean": 0.8219956123317288, "rel_wql_gmean": 0.5862774419382377}}}, "control_groups": {"term": {"long": {"n_configs": 21, "rel_mase_gmean": 0.7654522360772724, "rel_wql_gmean": 0.4739857610043799}, "medium": {"n_configs": 21, "rel_mase_gmean": 0.7867501619830646, "rel_wql_gmean": 0.5436192356255614}, "short": {"n_configs": 55, "rel_mase_gmean": 0.8240571444210427, "rel_wql_gmean": 0.6184264040299636}}, "domain": {"Econ/Fin": {"n_configs": 6, "rel_mase_gmean": 0.8639539622248714, "rel_wql_gmean": 0.8077871872785065}, "Energy": {"n_configs": 32, "rel_mase_gmean": 0.9041494468294087, "rel_wql_gmean": 0.6855724661240925}, "Healthcare": {"n_configs": 5, "rel_mase_gmean": 0.6468533122764599, "rel_wql_gmean": 0.6390448822740527}, "Nature": {"n_configs": 15, "rel_mase_gmean": 0.9466626972097033, "rel_wql_gmean": 0.45416249215052845}, "Sales": {"n_configs": 4, "rel_mase_gmean": 0.7353522875674792, "rel_wql_gmean": 0.4922750422813006}, "Transport": {"n_configs": 15, "rel_mase_gmean": 0.7530847552239457, "rel_wql_gmean": 0.5485269329258957}, "Web/CloudOps": {"n_configs": 20, "rel_mase_gmean": 0.6470143656636279, "rel_wql_gmean": 0.45777216999767684}}, "frequency": {"A": {"n_configs": 1, "rel_mase_gmean": 0.6301789053201171, "rel_wql_gmean": 0.7072875410242052}, "D": {"n_configs": 15, "rel_mase_gmean": 0.8569709936678673, "rel_wql_gmean": 0.5107766353475411}, "H": {"n_configs": 31, "rel_mase_gmean": 0.7776932406597239, "rel_wql_gmean": 0.5255214537984231}, "M": {"n_configs": 5, "rel_mase_gmean": 0.828753170565434, "rel_wql_gmean": 0.8256815940835853}, "Q": {"n_configs": 1, "rel_mase_gmean": 0.7777781646771526, "rel_wql_gmean": 0.8096050460973127}, "S": {"n_configs": 6, "rel_mase_gmean": 0.8492147241676051, "rel_wql_gmean": 0.5041032269855099}, "T": {"n_configs": 30, "rel_mase_gmean": 0.771644671629282, "rel_wql_gmean": 0.6023767893982968}, "W": {"n_configs": 8, "rel_mase_gmean": 0.9077905653975566, "rel_wql_gmean": 0.6022541394206802}}, "variates": {"multivariate": {"n_configs": 43, "rel_mase_gmean": 0.7857285418936958, "rel_wql_gmean": 0.5439370802027981}, "univariate": {"n_configs": 54, "rel_mase_gmean": 0.816853590659461, "rel_wql_gmean": 0.5874520532329847}}}, "group_skill_delta": {"term": {"long": -0.0064446066291612425, "medium": -0.006875512347453094, "short": 0.0029630389837130844}, "domain": {"Econ/Fin": -0.012019412026994414, "Energy": 0.0028431673431643656, "Healthcare": 0.014289723715895986, "Nature": 0.003935701525158319, "Sales": -0.007695538124330437, "Transport": -0.0052066061141461395, "Web/CloudOps": -0.0075415259176030425}, "frequency": {"A": 0.0015300147130513642, "D": -0.0009557248021704323, "H": -0.004658336407252439, "M": 0.01453976419541858, "Q": -0.0026458963388682477, "S": -0.0026478704927591634, "T": -0.0029867238442087274, "W": 0.009194342363723074}, "variates": {"multivariate": -0.0015064028200714175, "univariate": -0.0014818160691350002}}}, {"cutoff": "backcast2_evals", "candidate_skill": 0.34813177987228394, "control_skill": 0.3481901439490471, "delta": -5.8364076763184336e-05, "candidate_checkpoint": "819e4be84a1448dd80ea312a24b1d0908b60550a59bb237f98b6e5050c32d6f0", "control_checkpoint": "926f61e5d5f8ffebc8a5d73285832ebedc28aca794b0b06b55fc3c48a07330d1", "candidate_eval_seconds": 36.332313537597656, "candidate_groups": {"term": {"long": {"n_configs": 19, "rel_mase_gmean": 0.7923836869388197, "rel_wql_gmean": 0.5041901345726559}, "medium": {"n_configs": 21, "rel_mase_gmean": 0.755747231198438, "rel_wql_gmean": 0.5054195346753417}, "short": {"n_configs": 54, "rel_mase_gmean": 0.7796592487153274, "rel_wql_gmean": 0.5805543346513804}}, "domain": {"Econ/Fin": {"n_configs": 6, "rel_mase_gmean": 0.894869702066593, "rel_wql_gmean": 0.9259437534518735}, "Energy": {"n_configs": 32, "rel_mase_gmean": 0.9142925283563661, "rel_wql_gmean": 0.6676747874852759}, "Healthcare": {"n_configs": 5, "rel_mase_gmean": 0.7184725198444023, "rel_wql_gmean": 0.6292620424474986}, "Nature": {"n_configs": 15, "rel_mase_gmean": 0.77641436664212, "rel_wql_gmean": 0.37905602879715755}, "Sales": {"n_configs": 3, "rel_mase_gmean": 0.5678364986992505, "rel_wql_gmean": 0.359610425449128}, "Transport": {"n_configs": 14, "rel_mase_gmean": 0.6836479624140417, "rel_wql_gmean": 0.5179154616607}, "Web/CloudOps": {"n_configs": 19, "rel_mase_gmean": 0.6654731457950848, "rel_wql_gmean": 0.47436173457658715}}, "frequency": {"A": {"n_configs": 1, "rel_mase_gmean": 0.5732374588226788, "rel_wql_gmean": 0.7724114163640281}, "D": {"n_configs": 15, "rel_mase_gmean": 0.7373310274753366, "rel_wql_gmean": 0.46375277631875383}, "H": {"n_configs": 30, "rel_mase_gmean": 0.7477068975259097, "rel_wql_gmean": 0.4962534970947982}, "M": {"n_configs": 4, "rel_mase_gmean": 0.8494487786136092, "rel_wql_gmean": 0.8861406845046864}, "Q": {"n_configs": 1, "rel_mase_gmean": 0.8536907397071963, "rel_wql_gmean": 0.8971977026449272}, "S": {"n_configs": 6, "rel_mase_gmean": 0.9028272415876128, "rel_wql_gmean": 0.56738251845874}, "T": {"n_configs": 29, "rel_mase_gmean": 0.765253308562756, "rel_wql_gmean": 0.5637677882171414}, "W": {"n_configs": 8, "rel_mase_gmean": 0.9150349826820089, "rel_wql_gmean": 0.6630144853467621}}, "variates": {"multivariate": {"n_configs": 42, "rel_mase_gmean": 0.7737923689272265, "rel_wql_gmean": 0.5245632687750644}, "univariate": {"n_configs": 52, "rel_mase_gmean": 0.7792197459817579, "rel_wql_gmean": 0.5658881023652105}}}, "control_groups": {"term": {"long": {"n_configs": 19, "rel_mase_gmean": 0.7990300880291034, "rel_wql_gmean": 0.50765363537008}, "medium": {"n_configs": 21, "rel_mase_gmean": 0.744574887966418, "rel_wql_gmean": 0.50334233259885}, "short": {"n_configs": 54, "rel_mase_gmean": 0.7819983276666631, "rel_wql_gmean": 0.5798223726752166}}, "domain": {"Econ/Fin": {"n_configs": 6, "rel_mase_gmean": 0.8768293179548019, "rel_wql_gmean": 0.9158306468778579}, "Energy": {"n_configs": 32, "rel_mase_gmean": 0.9295273892322586, "rel_wql_gmean": 0.6735326890959324}, "Healthcare": {"n_configs": 5, "rel_mase_gmean": 0.7222869316179024, "rel_wql_gmean": 0.6164591919160695}, "Nature": {"n_configs": 15, "rel_mase_gmean": 0.7694576594146011, "rel_wql_gmean": 0.3773009717463544}, "Sales": {"n_configs": 3, "rel_mase_gmean": 0.5598534258115146, "rel_wql_gmean": 0.352085661402508}, "Transport": {"n_configs": 14, "rel_mase_gmean": 0.6818685674797765, "rel_wql_gmean": 0.5151817143609804}, "Web/CloudOps": {"n_configs": 19, "rel_mase_gmean": 0.6581089009032559, "rel_wql_gmean": 0.4761564052938094}}, "frequency": {"A": {"n_configs": 1, "rel_mase_gmean": 0.5771925651869363, "rel_wql_gmean": 0.7935816629616937}, "D": {"n_configs": 15, "rel_mase_gmean": 0.7495293126195988, "rel_wql_gmean": 0.45822217057688214}, "H": {"n_configs": 30, "rel_mase_gmean": 0.7522622180422243, "rel_wql_gmean": 0.4941355673044773}, "M": {"n_configs": 4, "rel_mase_gmean": 0.8471130563718524, "rel_wql_gmean": 0.9071946478247568}, "Q": {"n_configs": 1, "rel_mase_gmean": 0.8552359852719164, "rel_wql_gmean": 0.893580181435204}, "S": {"n_configs": 6, "rel_mase_gmean": 0.8914539098869745, "rel_wql_gmean": 0.5530844827396918}, "T": {"n_configs": 29, "rel_mase_gmean": 0.7606045053944909, "rel_wql_gmean": 0.5707137907747936}, "W": {"n_configs": 8, "rel_mase_gmean": 0.8962955229539523, "rel_wql_gmean": 0.6601060960884977}}, "variates": {"multivariate": {"n_configs": 42, "rel_mase_gmean": 0.779868735152078, "rel_wql_gmean": 0.5297416714631878}, "univariate": {"n_configs": 52, "rel_mase_gmean": 0.7744270493248896, "rel_wql_gmean": 0.5611510773352295}}}, "group_skill_delta": {"term": {"long": 0.0048216544579635645, "medium": -0.005847178681626097, "short": 0.0005835692335119935}, "domain": {"Econ/Fin": -0.014156312564483242, "Energy": 0.00993096719557185, "Healthcare": -0.005111018814370705, "Nature": -0.0036875887517664463, "Sales": -0.007906971476261238, "Transport": -0.002345334819114031, "Web/CloudOps": -0.002061474102325933}, "frequency": {"A": 0.01137997196287921, "D": 0.0012911121084816513, "H": 0.0005475381823043524, "M": 0.00903849705579618, "Q": -0.0009760324020495759, "S": -0.013540591476829511, "T": 0.002023523744068001, "W": -0.009709611613233138}, "variates": {"multivariate": 0.0056458782460837575, "univariate": -0.004821882652985665}}}, {"cutoff": "backcast3_evals", "candidate_skill": 0.36532369856316205, "control_skill": 0.3700641589266448, "delta": -0.004740460363482746, "candidate_checkpoint": "819e4be84a1448dd80ea312a24b1d0908b60550a59bb237f98b6e5050c32d6f0", "control_checkpoint": "926f61e5d5f8ffebc8a5d73285832ebedc28aca794b0b06b55fc3c48a07330d1", "candidate_eval_seconds": 35.71234440803528, "candidate_groups": {"term": {"long": {"n_configs": 19, "rel_mase_gmean": 0.7783871339629543, "rel_wql_gmean": 0.4875377504034169}, "medium": {"n_configs": 20, "rel_mase_gmean": 0.7702913006262454, "rel_wql_gmean": 0.538521173959331}, "short": {"n_configs": 54, "rel_mase_gmean": 0.7572550643479631, "rel_wql_gmean": 0.5373437024788824}}, "domain": {"Econ/Fin": {"n_configs": 6, "rel_mase_gmean": 0.855445885136274, "rel_wql_gmean": 0.8309985063188237}, "Energy": {"n_configs": 32, "rel_mase_gmean": 0.8554832869760757, "rel_wql_gmean": 0.5736231775072379}, "Healthcare": {"n_configs": 5, "rel_mase_gmean": 0.9685990234344417, "rel_wql_gmean": 0.7432157712193497}, "Nature": {"n_configs": 15, "rel_mase_gmean": 0.7430172353378781, "rel_wql_gmean": 0.35817529448600105}, "Sales": {"n_configs": 3, "rel_mase_gmean": 0.7726118737198876, "rel_wql_gmean": 0.4906413378443144}, "Transport": {"n_configs": 14, "rel_mase_gmean": 0.571121080142623, "rel_wql_gmean": 0.4751334443083072}, "Web/CloudOps": {"n_configs": 18, "rel_mase_gmean": 0.7232497089611695, "rel_wql_gmean": 0.5357592264419055}}, "frequency": {"A": {"n_configs": 1, "rel_mase_gmean": 0.5499946340964722, "rel_wql_gmean": 0.7695886681579353}, "D": {"n_configs": 15, "rel_mase_gmean": 0.8083598505792527, "rel_wql_gmean": 0.4647838884934785}, "H": {"n_configs": 29, "rel_mase_gmean": 0.7380004663116394, "rel_wql_gmean": 0.5052868988128786}, "M": {"n_configs": 4, "rel_mase_gmean": 0.9361100638906661, "rel_wql_gmean": 0.9255109553358075}, "Q": {"n_configs": 1, "rel_mase_gmean": 0.7305091146699113, "rel_wql_gmean": 0.7668369133340045}, "S": {"n_configs": 6, "rel_mase_gmean": 0.853641271380383, "rel_wql_gmean": 0.6086484993078388}, "T": {"n_configs": 29, "rel_mase_gmean": 0.7193424935357096, "rel_wql_gmean": 0.4795050108576183}, "W": {"n_configs": 8, "rel_mase_gmean": 0.8484724220883378, "rel_wql_gmean": 0.6746778364592451}}, "variates": {"multivariate": {"n_configs": 41, "rel_mase_gmean": 0.7938677539147783, "rel_wql_gmean": 0.5403695099457861}, "univariate": {"n_configs": 52, "rel_mase_gmean": 0.7418100356385172, "rel_wql_gmean": 0.5167252815702403}}}, "control_groups": {"term": {"long": {"n_configs": 19, "rel_mase_gmean": 0.7714307837039419, "rel_wql_gmean": 0.4862353117336101}, "medium": {"n_configs": 20, "rel_mase_gmean": 0.7638821347775882, "rel_wql_gmean": 0.5307592580855973}, "short": {"n_configs": 54, "rel_mase_gmean": 0.7505608979781686, "rel_wql_gmean": 0.5349992288028624}}, "domain": {"Econ/Fin": {"n_configs": 6, "rel_mase_gmean": 0.8341454143816802, "rel_wql_gmean": 0.8338715773308747}, "Energy": {"n_configs": 32, "rel_mase_gmean": 0.8515634140277826, "rel_wql_gmean": 0.569558846056249}, "Healthcare": {"n_configs": 5, "rel_mase_gmean": 1.0036883931983478, "rel_wql_gmean": 0.7939359543280723}, "Nature": {"n_configs": 15, "rel_mase_gmean": 0.7284353100394492, "rel_wql_gmean": 0.3541163927462603}, "Sales": {"n_configs": 3, "rel_mase_gmean": 0.7596670123428141, "rel_wql_gmean": 0.48310093816362193}, "Transport": {"n_configs": 14, "rel_mase_gmean": 0.5606603701520327, "rel_wql_gmean": 0.4662600653320203}, "Web/CloudOps": {"n_configs": 18, "rel_mase_gmean": 0.7196411952930366, "rel_wql_gmean": 0.5292738980605055}}, "frequency": {"A": {"n_configs": 1, "rel_mase_gmean": 0.5409193903073758, "rel_wql_gmean": 0.7917996023000913}, "D": {"n_configs": 15, "rel_mase_gmean": 0.7959225789371909, "rel_wql_gmean": 0.45488532912713076}, "H": {"n_configs": 29, "rel_mase_gmean": 0.7327074432980089, "rel_wql_gmean": 0.4985937197066213}, "M": {"n_configs": 4, "rel_mase_gmean": 1.014151462247973, "rel_wql_gmean": 0.9863094244425376}, "Q": {"n_configs": 1, "rel_mase_gmean": 0.7189041697429438, "rel_wql_gmean": 0.7579482002697641}, "S": {"n_configs": 6, "rel_mase_gmean": 0.8426818571883371, "rel_wql_gmean": 0.6178592102432287}, "T": {"n_configs": 29, "rel_mase_gmean": 0.7104899807629945, "rel_wql_gmean": 0.47423851084596597}, "W": {"n_configs": 8, "rel_mase_gmean": 0.8247509389073472, "rel_wql_gmean": 0.6824107191878224}}, "variates": {"multivariate": {"n_configs": 41, "rel_mase_gmean": 0.7843110069902741, "rel_wql_gmean": 0.532604424215474}, "univariate": {"n_configs": 52, "rel_mase_gmean": 0.7372506716076969, "rel_wql_gmean": 0.5168855843039583}}}, "group_skill_delta": {"term": {"long": -0.003578583854155881, "medium": -0.007324043072418851, "short": -0.004212691915669753}, "domain": {"Econ/Fin": -0.009125106686417195, "Energy": -0.00408717077801346, "Healthcare": 0.044216275077769596, "Nature": -0.007989643280749026, "Sales": -0.009889110659725087, "Transport": -0.009634872837412045, "Web/CloudOps": -0.005324427400061116}, "frequency": {"A": 0.003854386260135456, "D": -0.01124520310162791, "H": -0.006237167212747252, "M": 0.06933814056550203, "Q": -0.010284555282971897, "S": 0.0007565760358720919, "T": -0.006839189730945661, "W": -0.00638874972230663}, "variates": {"multivariate": -0.008648691180489276, "univariate": -0.001809846086449407}}}], "mean_delta": -0.0020597215790003898, "positive_cutoffs": 0, "outcome": "Declared comparison checkpoints 48000,96000. No transfer formula or automatic publication is selected by this controller."} + +E147 corpus-by-LR interaction {"step": 48000, "utc": "2026-10-24T01:32:33.577394+00:00", "cells": {"old_low": "random_capacity_1024_halflr", "old_high": "random_capacity_1024", "full_low": "random_capacity_full", "full_high": "random_capacity_full_highlr"}, "checkpoint_sha256": {"old_low": "ea9055d683b93a4691e77bd64d46e301302765673055fd9b32ddb3a3e2f749df", "old_high": "227ea80abf17fc81ae191f94e91f6dd7adbc0d837235750b5f5e9cef3dd5472c", "full_low": "926f61e5d5f8ffebc8a5d73285832ebedc28aca794b0b06b55fc3c48a07330d1", "full_high": "819e4be84a1448dd80ea312a24b1d0908b60550a59bb237f98b6e5050c32d6f0"}, "rows": [{"cutoff": "evals", "skills": {"old_low": 0.36570581958166615, "old_high": 0.3685434345005941, "full_low": 0.36449796840324333, "full_high": 0.36255159114007496}, "overall": {"log_errors": {"old_low": -0.45524242519387487, "old_high": -0.45972611944712993, "full_low": -0.45333999150997006, "full_high": -0.4502819325028937}, "high_minus_low_lr_old": -0.004483694253255066, "high_minus_low_lr_full": 0.0030580590070763414, "interaction_full_minus_old": 0.0075417532603314075}, "groups": {"term": {"long": {"log_errors": {"old_low": -0.47768197425939934, "old_high": -0.4879047735260108, "full_low": -0.4959659666699857, "full_high": -0.4922267573232936}, "high_minus_low_lr_old": -0.01022279926661146, "high_minus_low_lr_full": 0.0037392093466921406, "interaction_full_minus_old": 0.0139620086133036}, "medium": {"log_errors": {"old_low": -0.49969436231284414, "old_high": -0.49579790644513266, "full_low": -0.49596730877918704, "full_high": -0.4905111121106095}, "high_minus_low_lr_old": 0.003896455867711479, "high_minus_low_lr_full": 0.005456196668577551, "interaction_full_minus_old": 0.0015597408008660718}, "short": {"log_errors": {"old_low": -0.42970203955979525, "old_high": -0.43519413285413777, "full_low": -0.4207887344006267, "full_high": -0.4189064035394313}, "high_minus_low_lr_old": -0.005492093294342526, "high_minus_low_lr_full": 0.0018823308611953804, "interaction_full_minus_old": 0.007374424155537906}}, "domain": {"Econ/Fin": {"log_errors": {"old_low": -0.12592845433894018, "old_high": -0.13033342436635642, "full_low": -0.14739566724897918, "full_high": -0.1363903141192051}, "high_minus_low_lr_old": -0.004404970027416244, "high_minus_low_lr_full": 0.011005353129774076, "interaction_full_minus_old": 0.01541032315719032}, "Energy": {"log_errors": {"old_low": -0.25542651559172924, "old_high": -0.256036628847932, "full_low": -0.25549938253864857, "full_high": -0.24501986535494602}, "high_minus_low_lr_old": -0.0006101132562027489, "high_minus_low_lr_full": 0.010479517183702547, "interaction_full_minus_old": 0.011089630439905296}, "Healthcare": {"log_errors": {"old_low": -0.6041641429492488, "old_high": -0.5998000902143834, "full_low": -0.5170382028309223, "full_high": -0.5208111867810254}, "high_minus_low_lr_old": 0.004364052734865398, "high_minus_low_lr_full": -0.0037729839501031703, "interaction_full_minus_old": -0.008137036684968568}, "Nature": {"log_errors": {"old_low": -0.5270301749233515, "old_high": -0.5473817485747292, "full_low": -0.5350091041675273, "full_high": -0.54933262211618}, "high_minus_low_lr_old": -0.02035157365137774, "high_minus_low_lr_full": -0.014323517948652609, "interaction_full_minus_old": 0.0060280557027251325}, "Sales": {"log_errors": {"old_low": -0.4258635019280902, "old_high": -0.38875596866885026, "full_low": -0.43455017495927173, "full_high": -0.40035911538354446}, "high_minus_low_lr_old": 0.03710753325923993, "high_minus_low_lr_full": 0.03419105957572727, "interaction_full_minus_old": -0.002916473683512666}, "Transport": {"log_errors": {"old_low": -0.6157112045937277, "old_high": -0.6065916342110221, "full_low": -0.6082587077316179, "full_high": -0.6143391767353756}, "high_minus_low_lr_old": 0.00911957038270561, "high_minus_low_lr_full": -0.006080469003757694, "interaction_full_minus_old": -0.015200039386463304}, "Web/CloudOps": {"log_errors": {"old_low": -0.6681950301811042, "old_high": -0.6877317924753024, "full_low": -0.6720608019628795, "full_high": -0.6678900249247273}, "high_minus_low_lr_old": -0.019536762294198207, "high_minus_low_lr_full": 0.0041707770381522735, "interaction_full_minus_old": 0.02370753933235048}}, "frequency": {"A": {"log_errors": {"old_low": -0.495755528088005, "old_high": -0.4972732555548732, "full_low": -0.49577612804854504, "full_high": -0.5145589128088518}, "high_minus_low_lr_old": -0.0015177274668681795, "high_minus_low_lr_full": -0.01878278476030676, "interaction_full_minus_old": -0.01726505729343858}, "D": {"log_errors": {"old_low": -0.4616240796841522, "old_high": -0.4390846703311063, "full_low": -0.44730030112649677, "full_high": -0.42530131596372656}, "high_minus_low_lr_old": 0.02253940935304588, "high_minus_low_lr_full": 0.021998985162770213, "interaction_full_minus_old": -0.0005404241902756679}, "H": {"log_errors": {"old_low": -0.47699266882669555, "old_high": -0.4815053530489794, "full_low": -0.4860385063275724, "full_high": -0.47253043110691506}, "high_minus_low_lr_old": -0.004512684222283847, "high_minus_low_lr_full": 0.013508075220657334, "interaction_full_minus_old": 0.01802075944294118}, "M": {"log_errors": {"old_low": -0.06724550543733082, "old_high": -0.11808938518887609, "full_low": 0.012028356930807726, "full_high": -0.07990270412410898}, "high_minus_low_lr_old": -0.050843879751545265, "high_minus_low_lr_full": -0.0919310610549167, "interaction_full_minus_old": -0.04108718130337144}, "Q": {"log_errors": {"old_low": -0.2337078662467914, "old_high": -0.2169391527077824, "full_low": -0.21670190136221212, "full_high": -0.2307583852148703}, "high_minus_low_lr_old": 0.016768713539008995, "high_minus_low_lr_full": -0.014056483852658175, "interaction_full_minus_old": -0.03082519739166717}, "S": {"log_errors": {"old_low": -0.5384207433217094, "old_high": -0.5350032843173927, "full_low": -0.5359948917345297, "full_high": -0.53314458220041}, "high_minus_low_lr_old": 0.0034174590043166697, "high_minus_low_lr_full": 0.0028503095341196882, "interaction_full_minus_old": -0.0005671494701969815}, "T": {"log_errors": {"old_low": -0.544514874803675, "old_high": -0.5508409337446081, "full_low": -0.5390002929363823, "full_high": -0.5440107059860918}, "high_minus_low_lr_old": -0.006326058940933077, "high_minus_low_lr_full": -0.005010413049709506, "interaction_full_minus_old": 0.0013156458912235713}, "W": {"log_errors": {"old_low": -0.22696496116925652, "old_high": -0.25507381680462565, "full_low": -0.2698708225199418, "full_high": -0.24817060719761724}, "high_minus_low_lr_old": -0.028108855635369134, "high_minus_low_lr_full": 0.02170021532232458, "interaction_full_minus_old": 0.04980907095769371}}, "variates": {"multivariate": {"log_errors": {"old_low": -0.471213227737607, "old_high": -0.47959875978391087, "full_low": -0.4769203257899127, "full_high": -0.4691747247099598}, "high_minus_low_lr_old": -0.008385532046303878, "high_minus_low_lr_full": 0.007745601079952924, "interaction_full_minus_old": 0.016131133126256803}, "univariate": {"log_errors": {"old_low": -0.4425249342794213, "old_high": -0.4439016095493227, "full_low": -0.43456305865742306, "full_high": -0.4352376720417114}, "high_minus_low_lr_old": -0.001376675269901373, "high_minus_low_lr_full": -0.000674613384288314, "interaction_full_minus_old": 0.0007020618856130589}}}, "evaluation_seconds": {"old_low": 38.238022565841675, "old_high": 37.59649729728699, "full_low": 36.223931074142456, "full_high": 37.64431715011597}}, {"cutoff": "backcast_evals", "skills": {"old_low": 0.32329458248322396, "old_high": 0.3284572453347383, "full_low": 0.32483431257437134, "full_high": 0.3233406279617841}, "overall": {"log_errors": {"old_low": -0.3905192299879495, "old_high": -0.39817759465813524, "full_low": -0.39279715537790105, "full_high": -0.39058727591161074}, "high_minus_low_lr_old": -0.007658364670185713, "high_minus_low_lr_full": 0.00220987946629031, "interaction_full_minus_old": 0.009868244136476023}, "groups": {"term": {"long": {"log_errors": {"old_low": -0.5056091593623557, "old_high": -0.4959850385006145, "full_low": -0.5069332296816476, "full_high": -0.4962907779416289}, "high_minus_low_lr_old": 0.009624120861741248, "high_minus_low_lr_full": 0.010642451740018655, "interaction_full_minus_old": 0.001018330878277407}, "medium": {"log_errors": {"old_low": -0.41907386594213064, "old_high": -0.4295180520880336, "full_low": -0.4246753744276644, "full_high": -0.41421695052169877}, "high_minus_low_lr_old": -0.010444186145902978, "high_minus_low_lr_full": 0.01045842390596563, "interaction_full_minus_old": 0.02090261005186861}, "short": {"log_errors": {"old_low": -0.3356731232261252, "old_high": -0.3488665778086819, "full_low": -0.3370462433701973, "full_high": -0.3412055175581158}, "high_minus_low_lr_old": -0.013193454582556718, "high_minus_low_lr_full": -0.004159274187918505, "interaction_full_minus_old": 0.009034180394638214}}, "domain": {"Econ/Fin": {"log_errors": {"old_low": -0.16012585160187215, "old_high": -0.17263192097282598, "full_low": -0.1798462166464765, "full_high": -0.1655611004819015}, "high_minus_low_lr_old": -0.012506069370953832, "high_minus_low_lr_full": 0.014285116164574979, "interaction_full_minus_old": 0.02679118553552881}, "Energy": {"log_errors": {"old_low": -0.24414764494816887, "old_high": -0.2495330680446652, "full_low": -0.23913084386580483, "full_high": -0.24274861409055432}, "high_minus_low_lr_old": -0.005385423096496339, "high_minus_low_lr_full": -0.003617770224749489, "interaction_full_minus_old": 0.0017676528717468498}, "Healthcare": {"log_errors": {"old_low": -0.37970643680305805, "old_high": -0.47288694609134296, "full_low": -0.4417081593883523, "full_high": -0.4641845616107295}, "high_minus_low_lr_old": -0.09318050928828492, "high_minus_low_lr_full": -0.022476402222377234, "interaction_full_minus_old": 0.07070410706590768}, "Nature": {"log_errors": {"old_low": -0.42968124436352695, "old_high": -0.43363687800171125, "full_low": -0.42205633117119246, "full_high": -0.4280767339667444}, "high_minus_low_lr_old": -0.003955633638184297, "high_minus_low_lr_full": -0.006020402795551938, "interaction_full_minus_old": -0.0020647691573676408}, "Sales": {"log_errors": {"old_low": -0.5009072511728557, "old_high": -0.4931767694810797, "full_low": -0.508061640723309, "full_high": -0.4953522529767837}, "high_minus_low_lr_old": 0.007730481691776037, "high_minus_low_lr_full": 0.012709387746525247, "interaction_full_minus_old": 0.00497890605474921}, "Transport": {"log_errors": {"old_low": -0.4452271851209083, "old_high": -0.44045756655121626, "full_low": -0.4420481991886141, "full_high": -0.43397992523008266}, "high_minus_low_lr_old": 0.004769618569692047, "high_minus_low_lr_full": 0.008068273958531436, "interaction_full_minus_old": 0.003298655388839389}, "Web/CloudOps": {"log_errors": {"old_low": -0.6040548964952612, "old_high": -0.6076909250948965, "full_low": -0.6083852226419848, "full_high": -0.5946230900861955}, "high_minus_low_lr_old": -0.0036360285996352992, "high_minus_low_lr_full": 0.013762132555789286, "interaction_full_minus_old": 0.017398161155424585}}, "frequency": {"A": {"log_errors": {"old_low": -0.4235667542411734, "old_high": -0.42505468966389987, "full_low": -0.4040347565731436, "full_high": -0.4063291283600801}, "high_minus_low_lr_old": -0.0014879354227264607, "high_minus_low_lr_full": -0.002294371786936533, "interaction_full_minus_old": -0.0008064363642100725}, "D": {"log_errors": {"old_low": -0.4232579715812742, "old_high": -0.4343396899297223, "full_low": -0.4130870522409734, "full_high": -0.4116435389355442}, "high_minus_low_lr_old": -0.011081718348448066, "high_minus_low_lr_full": 0.0014435133054292448, "interaction_full_minus_old": 0.012525231653877311}, "H": {"log_errors": {"old_low": -0.44427141589272084, "old_high": -0.44286445037805205, "full_low": -0.44739369438522797, "full_high": -0.44013340459959766}, "high_minus_low_lr_old": 0.0014069655146687898, "high_minus_low_lr_full": 0.007260289785630314, "interaction_full_minus_old": 0.005853324270961524}, "M": {"log_errors": {"old_low": -0.16850503808106454, "old_high": -0.2032678696786152, "full_low": -0.18968948543225278, "full_high": -0.20742253600730073}, "high_minus_low_lr_old": -0.03476283159755067, "high_minus_low_lr_full": -0.017733050575047954, "interaction_full_minus_old": 0.017029781022502716}, "Q": {"log_errors": {"old_low": -0.23631139137685286, "old_high": -0.216955461685934, "full_low": -0.23126133923981407, "full_high": -0.22793255756015837}, "high_minus_low_lr_old": 0.01935592969091887, "high_minus_low_lr_full": 0.0033287816796556957, "interaction_full_minus_old": -0.016027148011263176}, "S": {"log_errors": {"old_low": -0.41849341756460917, "old_high": -0.42709047716683773, "full_low": -0.4242087134347208, "full_high": -0.4201699265547455}, "high_minus_low_lr_old": -0.008597059602228563, "high_minus_low_lr_full": 0.004038786879975276, "interaction_full_minus_old": 0.012635846482203839}, "T": {"log_errors": {"old_low": -0.38793566309597305, "old_high": -0.3917981697032686, "full_low": -0.38305161913919905, "full_high": -0.37868039848910734}, "high_minus_low_lr_old": -0.003862506607295535, "high_minus_low_lr_full": 0.004371220650091712, "interaction_full_minus_old": 0.008233727257387247}, "W": {"log_errors": {"old_low": -0.26345601351843073, "old_high": -0.3005619896664592, "full_low": -0.30190867304265223, "full_high": -0.3144214071058904}, "high_minus_low_lr_old": -0.03710597614802846, "high_minus_low_lr_full": -0.012512734063238162, "interaction_full_minus_old": 0.0245932420847903}}, "variates": {"multivariate": {"log_errors": {"old_low": -0.4275460797089384, "old_high": -0.4344660514982924, "full_low": -0.4250328064802784, "full_high": -0.4227312022894646}, "high_minus_low_lr_old": -0.006919971789354051, "high_minus_low_lr_full": 0.002301604190813822, "interaction_full_minus_old": 0.009221575980167873}, "univariate": {"log_errors": {"old_low": -0.36103488669160655, "old_high": -0.36928123087801, "full_low": -0.36712802579637843, "full_high": -0.3649911863885049}, "high_minus_low_lr_old": -0.008246344186403465, "high_minus_low_lr_full": 0.0021368394078735142, "interaction_full_minus_old": 0.010383183594276979}}}, "evaluation_seconds": {"old_low": 37.12246918678284, "old_high": 36.45854425430298, "full_low": 37.370967864990234, "full_high": 36.12314057350159}}, {"cutoff": "backcast2_evals", "skills": {"old_low": 0.35160470672553856, "old_high": 0.35202854592719945, "full_low": 0.3481901439490471, "full_high": 0.34813177987228394}, "overall": {"log_errors": {"old_low": -0.4332547481314452, "old_high": -0.4339086359569852, "full_low": -0.42800239141200574, "full_high": -0.4279128538522835}, "high_minus_low_lr_old": -0.0006538878255399894, "high_minus_low_lr_full": 8.953755972224142e-05, "interaction_full_minus_old": 0.0007434253852622308}, "groups": {"term": {"long": {"log_errors": {"old_low": -0.4503364371925522, "old_high": -0.44678956727492986, "full_low": -0.45115628045173056, "full_high": -0.45875569109378195}, "high_minus_low_lr_old": 0.0035468699176223195, "high_minus_low_lr_full": -0.007599410642051385, "interaction_full_minus_old": -0.011146280559673705}, "medium": {"log_errors": {"old_low": -0.49173232400104416, "old_high": -0.48288191697039606, "full_low": -0.4907133011565913, "full_high": -0.48120737092084354}, "high_minus_low_lr_old": 0.0088504070306481, "high_minus_low_lr_full": 0.00950593023574775, "interaction_full_minus_old": 0.0006555232050996507}, "short": {"log_errors": {"old_low": -0.40450324469769317, "old_high": -0.4103312915806411, "full_low": -0.3954680766640232, "full_high": -0.3963350989258349}, "high_minus_low_lr_old": -0.005828046882947913, "high_minus_low_lr_full": -0.0008670222618116785, "interaction_full_minus_old": 0.004961024621136234}}, "domain": {"Econ/Fin": {"log_errors": {"old_low": -0.09268826562762497, "old_high": -0.10536632551747302, "full_low": -0.10968337031055231, "full_high": -0.09400947159114698}, "high_minus_low_lr_old": -0.012678059889848048, "high_minus_low_lr_full": 0.015673898719405333, "interaction_full_minus_old": 0.02835195860925338}, "Energy": {"log_errors": {"old_low": -0.24217453671734468, "old_high": -0.24139720538335904, "full_low": -0.23414887689315167, "full_high": -0.24677938745132136}, "high_minus_low_lr_old": 0.0007773313339856369, "high_minus_low_lr_full": -0.012630510558169689, "interaction_full_minus_old": -0.013407841892155326}, "Healthcare": {"log_errors": {"old_low": -0.3998276323764397, "old_high": -0.5027235341070052, "full_low": -0.4045479792766759, "full_high": -0.39691766406416357}, "high_minus_low_lr_old": -0.10289590173056551, "high_minus_low_lr_full": 0.00763031521251234, "interaction_full_minus_old": 0.11052621694307785}, "Nature": {"log_errors": {"old_low": -0.6156930977333137, "old_high": -0.6085508434078171, "full_low": -0.6183907136039937, "full_high": -0.6115700876353645}, "high_minus_low_lr_old": 0.007142254325496644, "high_minus_low_lr_full": 0.0068206259686292015, "interaction_full_minus_old": -0.00032162835686744273}, "Sales": {"log_errors": {"old_low": -0.8219922949838319, "old_high": -0.7956059445353809, "full_low": -0.8119805229341381, "full_high": -0.7943278705563274}, "high_minus_low_lr_old": 0.026386350448450946, "high_minus_low_lr_full": 0.017652652377810774, "interaction_full_minus_old": -0.008733698070640172}, "Transport": {"log_errors": {"old_low": -0.5296430747931729, "old_high": -0.5160879820797986, "full_low": -0.5230769765748916, "full_high": -0.5191277100760443}, "high_minus_low_lr_old": 0.013555092713374295, "high_minus_low_lr_full": 0.003949266498847304, "interaction_full_minus_old": -0.009605826214526991}, "Web/CloudOps": {"log_errors": {"old_low": -0.5949851050366975, "old_high": -0.5882407026425611, "full_low": -0.5801968773152737, "full_high": -0.5765210445547685}, "high_minus_low_lr_old": 0.006744402394136428, "high_minus_low_lr_full": 0.0036758327605052044, "interaction_full_minus_old": -0.003068569633631224}}, "frequency": {"A": {"log_errors": {"old_low": -0.4194550615074689, "old_high": -0.41754678259505795, "full_low": -0.390389081208689, "full_high": -0.40734659148434865}, "high_minus_low_lr_old": 0.0019082789124109656, "high_minus_low_lr_full": -0.01695751027565967, "interaction_full_minus_old": -0.018865789188070636}, "D": {"log_errors": {"old_low": -0.5378043801777812, "old_high": -0.5544103717261388, "full_low": -0.5343554882639895, "full_high": -0.5365610053570017}, "high_minus_low_lr_old": -0.016605991548357624, "high_minus_low_lr_full": -0.0022055170930121992, "interaction_full_minus_old": 0.014400474455345424}, "H": {"log_errors": {"old_low": -0.494107509874974, "old_high": -0.49251511998082564, "full_low": -0.49480784665383515, "full_high": -0.495706312995392}, "high_minus_low_lr_old": 0.0015923898941483383, "high_minus_low_lr_full": -0.000898466341556825, "interaction_full_minus_old": -0.0024908562357051633}, "M": {"log_errors": {"old_low": -0.1301672066966426, "old_high": -0.16385042408920047, "full_low": -0.13165968016522547, "full_high": -0.14202359523517852}, "high_minus_low_lr_old": -0.03368321739255786, "high_minus_low_lr_full": -0.010363915069953045, "interaction_full_minus_old": 0.023319302322604818}, "Q": {"log_errors": {"old_low": -0.14458528684183694, "old_high": -0.12347454340543712, "full_low": -0.13444852588768452, "full_high": -0.13333265959588994}, "high_minus_low_lr_old": 0.02111074343639982, "high_minus_low_lr_full": 0.0011158662917945816, "interaction_full_minus_old": -0.01999487714460524}, "S": {"log_errors": {"old_low": -0.3366516697677487, "old_high": -0.34170229510575284, "full_low": -0.3535730299861399, "full_high": -0.33447281346439}, "high_minus_low_lr_old": -0.0050506253380041555, "high_minus_low_lr_full": 0.01910021652174987, "interaction_full_minus_old": 0.024150841859754024}, "T": {"log_errors": {"old_low": -0.43490729113235216, "old_high": -0.4245259975745603, "full_low": -0.4172545985484502, "full_high": -0.42033060647238085}, "high_minus_low_lr_old": 0.010381293557791882, "high_minus_low_lr_full": -0.003076007923930646, "interaction_full_minus_old": -0.013457301481722528}, "W": {"log_errors": {"old_low": -0.2648405861074169, "old_high": -0.26723898524821044, "full_low": -0.26241990044680996, "full_high": -0.249875711423942}, "high_minus_low_lr_old": -0.002398399140793539, "high_minus_low_lr_full": 0.012544189022867969, "interaction_full_minus_old": 0.014942588163661508}}, "variates": {"multivariate": {"log_errors": {"old_low": -0.45397077092277704, "old_high": -0.4534471079968557, "full_low": -0.4419977326603534, "full_high": -0.4508204650825937}, "high_minus_low_lr_old": 0.0005236629259213199, "high_minus_low_lr_full": -0.008822732422240298, "interaction_full_minus_old": -0.009346395348161618}, "univariate": {"log_errors": {"old_low": -0.416522575876908, "old_high": -0.4181275623863204, "full_low": -0.4166984619421866, "full_high": -0.40941055247395614}, "high_minus_low_lr_old": -0.001604986509412376, "high_minus_low_lr_full": 0.007287909468230491, "interaction_full_minus_old": 0.008892895977642867}}}, "evaluation_seconds": {"old_low": 36.80164051055908, "old_high": 35.35758328437805, "full_low": 35.28667855262756, "full_high": 36.332313537597656}}, {"cutoff": "backcast3_evals", "skills": {"old_low": 0.370990275990027, "old_high": 0.37292052340404636, "full_low": 0.3700641589266448, "full_high": 0.36532369856316205}, "overall": {"log_errors": {"old_low": -0.46360856292587826, "old_high": -0.4666819894508517, "full_low": -0.4621373043486623, "full_high": -0.45464017157880987}, "high_minus_low_lr_old": -0.003073426524973444, "high_minus_low_lr_full": 0.0074971327698524215, "interaction_full_minus_old": 0.010570559294825865}, "groups": {"term": {"long": {"log_errors": {"old_low": -0.48515402775428446, "old_high": -0.47912908003433874, "full_low": -0.49028545973110316, "full_high": -0.4844594159444303}, "high_minus_low_lr_old": 0.006024947719945717, "high_minus_low_lr_full": 0.005826043786672841, "interaction_full_minus_old": -0.00019890393327287592}, "medium": {"log_errors": {"old_low": -0.45058177269920074, "old_high": -0.45498699551728283, "full_low": -0.4513942553586542, "full_high": -0.4399574930374487}, "high_minus_low_lr_old": -0.0044052228180820885, "high_minus_low_lr_full": 0.011436762321205496, "interaction_full_minus_old": 0.015841985139287584}, "short": {"log_errors": {"old_low": -0.4608524883479862, "old_high": -0.4666339368135393, "full_low": -0.4562122307844732, "full_high": -0.44958624431733646}, "high_minus_low_lr_old": -0.005781448465553118, "high_minus_low_lr_full": 0.006625986467136746, "interaction_full_minus_old": 0.012407434932689865}}, "domain": {"Econ/Fin": {"log_errors": {"old_low": -0.15268077146757708, "old_high": -0.16978906145225087, "full_low": -0.18151170327301247, "full_high": -0.17062986223803334}, "high_minus_low_lr_old": -0.017108289984673786, "high_minus_low_lr_full": 0.010881841034979134, "interaction_full_minus_old": 0.02799013101965292}, "Energy": {"log_errors": {"old_low": -0.37049100266264035, "old_high": -0.36237723102270736, "full_low": -0.36178724021769515, "full_high": -0.3559356526174628}, "high_minus_low_lr_old": 0.008113771639932987, "high_minus_low_lr_full": 0.005851587600232355, "interaction_full_minus_old": -0.002262184039700632}, "Healthcare": {"log_errors": {"old_low": -0.15521968028520583, "old_high": -0.241715355925889, "full_low": -0.11353543764386402, "full_high": -0.1643367141257729}, "high_minus_low_lr_old": -0.08649567564068317, "high_minus_low_lr_full": -0.050801276481908866, "interaction_full_minus_old": 0.0356943991587743}, "Nature": {"log_errors": {"old_low": -0.6660838615769575, "old_high": -0.6787790299646286, "full_low": -0.6774930414789285, "full_high": -0.6618844002981757}, "high_minus_low_lr_old": -0.01269516838767104, "high_minus_low_lr_full": 0.01560864118075278, "interaction_full_minus_old": 0.02830380956842382}, "Sales": {"log_errors": {"old_low": -0.49868141840300567, "old_high": -0.4633639396825396, "full_low": -0.5012023744130151, "full_high": -0.48501017564068816}, "high_minus_low_lr_old": 0.03531747872046609, "high_minus_low_lr_full": 0.016192198772326916, "interaction_full_minus_old": -0.019125279948139173}, "Transport": {"log_errors": {"old_low": -0.6705401403977415, "old_high": -0.6575997297256433, "full_low": -0.670825839000333, "full_high": -0.652156810767693}, "high_minus_low_lr_old": 0.012940410672098168, "high_minus_low_lr_full": 0.01866902823263994, "interaction_full_minus_old": 0.005728617560541771}, "Web/CloudOps": {"log_errors": {"old_low": -0.48293539401327407, "old_high": -0.488881610732421, "full_low": -0.48262587323190653, "full_high": -0.47403558038172466}, "high_minus_low_lr_old": -0.005946216719146913, "high_minus_low_lr_full": 0.008590292850181869, "interaction_full_minus_old": 0.014536509569328782}}, "frequency": {"A": {"log_errors": {"old_low": -0.4169353292828491, "old_high": -0.38860400494378194, "full_low": -0.42396597955056736, "full_high": -0.4298729305287481}, "high_minus_low_lr_old": 0.028331324339067154, "high_minus_low_lr_full": -0.005906950978180725, "interaction_full_minus_old": -0.03423827531724788}, "D": {"log_errors": {"old_low": -0.5071579431998551, "old_high": -0.5174799340126679, "full_low": -0.5079816381003766, "full_high": -0.4894653486658558}, "high_minus_low_lr_old": -0.01032199081281282, "high_minus_low_lr_full": 0.018516289434520772, "interaction_full_minus_old": 0.028838280247333592}, "H": {"log_errors": {"old_low": -0.5006286281128742, "old_high": -0.4961744304183098, "full_low": -0.5034862414848517, "full_high": -0.49321985854298367}, "high_minus_low_lr_old": 0.004454197694564455, "high_minus_low_lr_full": 0.01026638294186799, "interaction_full_minus_old": 0.005812185247303536}, "M": {"log_errors": {"old_low": -0.0864524023123999, "old_high": -0.14097320150153125, "full_low": 0.0001335546752385527, "full_high": -0.07171576481086979}, "high_minus_low_lr_old": -0.05452079918913136, "high_minus_low_lr_full": -0.07184931948610834, "interaction_full_minus_old": -0.017328520296976985}, "Q": {"log_errors": {"old_low": -0.30560392543868525, "old_high": -0.28757645720733244, "full_low": -0.3035837229439836, "full_high": -0.28974735004027946}, "high_minus_low_lr_old": 0.018027468231352817, "high_minus_low_lr_full": 0.013836372903704153, "interaction_full_minus_old": -0.004191095327648664}, "S": {"log_errors": {"old_low": -0.30807686024239833, "old_high": -0.3062876500061059, "full_low": -0.32633022421898816, "full_high": -0.3273792925555789}, "high_minus_low_lr_old": 0.0017892102362924156, "high_minus_low_lr_full": -0.0010490683365907416, "interaction_full_minus_old": -0.002838278572883157}, "T": {"log_errors": {"old_low": -0.5400525273444349, "old_high": -0.5490608452826274, "full_low": -0.543922664809867, "full_high": -0.5322093110799397}, "high_minus_low_lr_old": -0.009008317938192567, "high_minus_low_lr_full": 0.011713353729927212, "interaction_full_minus_old": 0.02072167166811978}, "W": {"log_errors": {"old_low": -0.301457958802671, "old_high": -0.2812004806522675, "full_low": -0.2873987026581973, "full_high": -0.2789188390788405}, "high_minus_low_lr_old": 0.02025747815040352, "high_minus_low_lr_full": 0.008479863579356761, "interaction_full_minus_old": -0.011777614571046757}}, "variates": {"multivariate": {"log_errors": {"old_low": -0.436582250679125, "old_high": -0.4363434681122501, "full_low": -0.43646297175735205, "full_high": -0.4231702420735882}, "high_minus_low_lr_old": 0.00023878256687487331, "high_minus_low_lr_full": 0.013292729683763826, "interaction_full_minus_old": 0.013053947116888953}, "univariate": {"log_errors": {"old_low": -0.48491777065889513, "old_high": -0.49060274666013376, "full_low": -0.48238052812258003, "full_high": -0.4794530006117731}, "high_minus_low_lr_old": -0.0056849760012386286, "high_minus_low_lr_full": 0.0029275275108069376, "interaction_full_minus_old": 0.008612503512045566}}}, "evaluation_seconds": {"old_low": 34.695311069488525, "old_high": 35.20804452896118, "full_low": 36.01489305496216, "full_high": 35.71234440803528}}], "seconds": 2.8818277770187706, "no_new_inference_or_training": true, "interpretation": "Negative log-error interaction means the higher LR helps more, or hurts less, on the full corpus at this update count.", "limitation": "Descriptive matched-recipe comparison on adaptively reused validation windows, not a held-out significance test. Equal updates do not imply equal isolated GPU compute."} + +E147 full-vs-old corpus at higher LR, primary48000: {"label": "E147 full-vs-old corpus at higher LR, primary48000", "utc": "2026-10-24T01:32:47.457380+00:00", "candidate": "random_capacity_full_highlr_ema48000", "control": "random_capacity_1024_ema48000", "rows": [{"cutoff": "evals", "candidate_skill": 0.36255159114007496, "control_skill": 0.3685434345005941, "delta": -0.005991843360519167, "candidate_checkpoint": "819e4be84a1448dd80ea312a24b1d0908b60550a59bb237f98b6e5050c32d6f0", "control_checkpoint": "227ea80abf17fc81ae191f94e91f6dd7adbc0d837235750b5f5e9cef3dd5472c", "candidate_eval_seconds": 37.64431715011597, "candidate_groups": {"term": {"long": {"n_configs": 21, "rel_mase_gmean": 0.7579174569046494, "rel_wql_gmean": 0.4929868792095236}, "medium": {"n_configs": 21, "rel_mase_gmean": 0.7367552561356686, "rel_wql_gmean": 0.5088903535546065}, "short": {"n_configs": 55, "rel_mase_gmean": 0.7686254054585525, "rel_wql_gmean": 0.5628955118081465}}, "domain": {"Econ/Fin": {"n_configs": 6, "rel_mase_gmean": 0.893860090356587, "rel_wql_gmean": 0.8516542761245144}, "Energy": {"n_configs": 32, "rel_mase_gmean": 0.9198810148503045, "rel_wql_gmean": 0.6659579279240646}, "Healthcare": {"n_configs": 5, "rel_mase_gmean": 0.6399018727856384, "rel_wql_gmean": 0.5514622262364719}, "Nature": {"n_configs": 15, "rel_mase_gmean": 0.8074639247363337, "rel_wql_gmean": 0.4127932799657851}, "Sales": {"n_configs": 4, "rel_mase_gmean": 0.8537366436282459, "rel_wql_gmean": 0.5259307556357135}, "Transport": {"n_configs": 15, "rel_mase_gmean": 0.6505124589656275, "rel_wql_gmean": 0.44992088392976703}, "Web/CloudOps": {"n_configs": 20, "rel_mase_gmean": 0.5815395137413383, "rel_wql_gmean": 0.45216700291147494}}, "frequency": {"A": {"n_configs": 1, "rel_mase_gmean": 0.5897657125722325, "rel_wql_gmean": 0.6058711693556014}, "D": {"n_configs": 15, "rel_mase_gmean": 0.7885605988421652, "rel_wql_gmean": 0.5416925931719007}, "H": {"n_configs": 31, "rel_mase_gmean": 0.7465847596072724, "rel_wql_gmean": 0.5205784215671687}, "M": {"n_configs": 5, "rel_mase_gmean": 1.0079116473149246, "rel_wql_gmean": 0.8456193829331091}, "Q": {"n_configs": 1, "rel_mase_gmean": 0.7645884418113578, "rel_wql_gmean": 0.8244001929241546}, "S": {"n_configs": 6, "rel_mase_gmean": 0.669474825185019, "rel_wql_gmean": 0.5142594124133334}, "T": {"n_configs": 30, "rel_mase_gmean": 0.7141916470142242, "rel_wql_gmean": 0.471697460465299}, "W": {"n_configs": 8, "rel_mase_gmean": 0.9021192894448883, "rel_wql_gmean": 0.6748042051237436}}, "variates": {"multivariate": {"n_configs": 43, "rel_mase_gmean": 0.7325779624063553, "rel_wql_gmean": 0.5341044077595009}, "univariate": {"n_configs": 54, "rel_mase_gmean": 0.7812760330717998, "rel_wql_gmean": 0.5359852762729644}}}, "control_groups": {"term": {"long": {"n_configs": 21, "rel_mase_gmean": 0.7587789601246303, "rel_wql_gmean": 0.49670212535892816}, "medium": {"n_configs": 21, "rel_mase_gmean": 0.7318228954729822, "rel_wql_gmean": 0.5069316624612222}, "short": {"n_configs": 55, "rel_mase_gmean": 0.7543680498586199, "rel_wql_gmean": 0.5551519797008444}}, "domain": {"Econ/Fin": {"n_configs": 6, "rel_mase_gmean": 0.894159342526865, "rel_wql_gmean": 0.8617452681906776}, "Energy": {"n_configs": 32, "rel_mase_gmean": 0.9101004419451137, "rel_wql_gmean": 0.6584458800440816}, "Healthcare": {"n_configs": 5, "rel_mase_gmean": 0.5844853147385809, "rel_wql_gmean": 0.5155213514040926}, "Nature": {"n_configs": 15, "rel_mase_gmean": 0.8048625648125799, "rel_wql_gmean": 0.41574642740891904}, "Sales": {"n_configs": 4, "rel_mase_gmean": 0.8608662664471317, "rel_wql_gmean": 0.5338203994579515}, "Transport": {"n_configs": 15, "rel_mase_gmean": 0.6544478487122294, "rel_wql_gmean": 0.45419898205149567}, "Web/CloudOps": {"n_configs": 20, "rel_mase_gmean": 0.5691881615817772, "rel_wql_gmean": 0.4440050362883611}}, "frequency": {"A": {"n_configs": 1, "rel_mase_gmean": 0.6000112444199207, "rel_wql_gmean": 0.6164736935875128}, "D": {"n_configs": 15, "rel_mase_gmean": 0.7725946330728586, "rel_wql_gmean": 0.5378537664666186}, "H": {"n_configs": 31, "rel_mase_gmean": 0.7386096620108181, "rel_wql_gmean": 0.5168384077006924}, "M": {"n_configs": 5, "rel_mase_gmean": 0.9539291717517222, "rel_wql_gmean": 0.8277758145427478}, "Q": {"n_configs": 1, "rel_mase_gmean": 0.7693856070976332, "rel_wql_gmean": 0.8422189104112654}, "S": {"n_configs": 6, "rel_mase_gmean": 0.6694448136296561, "rel_wql_gmean": 0.5123742201671339}, "T": {"n_configs": 30, "rel_mase_gmean": 0.7085963765778743, "rel_wql_gmean": 0.4689717872647888}, "W": {"n_configs": 8, "rel_mase_gmean": 0.8999499970954961, "rel_wql_gmean": 0.6671558797312815}}, "variates": {"multivariate": {"n_configs": 43, "rel_mase_gmean": 0.7233324743781643, "rel_wql_gmean": 0.5297705922478261}, "univariate": {"n_configs": 54, "rel_mase_gmean": 0.7726310020210445, "rel_wql_gmean": 0.5326719533609565}}}, "group_skill_delta": {"term": {"long": 0.0026475892846846705, "medium": -0.00322863268924356, "short": -0.010626732996569688}, "domain": {"Econ/Fin": 0.005300685148790563, "Energy": -0.008575376309725491, "Healthcare": -0.045117116434540416, "Nature": 0.0011274068983680996, "Sales": 0.00782031157809937, "Transport": 0.0042076857564260495, "Web/CloudOps": -0.010074371093212964}, "frequency": {"A": 0.010422568079382466, "D": -0.008946626926766399, "H": -0.0055701372869956245, "M": -0.03458954626937527, "Q": 0.011047680208184363, "S": -0.0010895934753499814, "T": -0.003950863425561391, "W": -0.005367521398702557}, "variates": {"multivariate": -0.006486557702789386, "univariate": -0.005582310638795551}}}, {"cutoff": "backcast_evals", "candidate_skill": 0.3233406279617841, "control_skill": 0.3284572453347383, "delta": -0.005116617372954213, "candidate_checkpoint": "819e4be84a1448dd80ea312a24b1d0908b60550a59bb237f98b6e5050c32d6f0", "control_checkpoint": "227ea80abf17fc81ae191f94e91f6dd7adbc0d837235750b5f5e9cef3dd5472c", "candidate_eval_seconds": 36.12314057350159, "candidate_groups": {"term": {"long": {"n_configs": 21, "rel_mase_gmean": 0.7738720073630018, "rel_wql_gmean": 0.47891470244664547}, "medium": {"n_configs": 21, "rel_mase_gmean": 0.7934986518035683, "rel_wql_gmean": 0.5503887330899507}, "short": {"n_configs": 55, "rel_mase_gmean": 0.8243254361108542, "rel_wql_gmean": 0.6131037211631232}}, "domain": {"Econ/Fin": {"n_configs": 6, "rel_mase_gmean": 0.8868671837388283, "rel_wql_gmean": 0.8097237356461593}, "Energy": {"n_configs": 32, "rel_mase_gmean": 0.898446273759783, "rel_wql_gmean": 0.6849503958543457}, "Healthcare": {"n_configs": 5, "rel_mase_gmean": 0.649918288471455, "rel_wql_gmean": 0.6080729083335474}, "Nature": {"n_configs": 15, "rel_mase_gmean": 0.9437411984277163, "rel_wql_gmean": 0.45011590473619345}, "Sales": {"n_configs": 4, "rel_mase_gmean": 0.7446756991122785, "rel_wql_gmean": 0.4986264566764848}, "Transport": {"n_configs": 15, "rel_mase_gmean": 0.7562193590146564, "rel_wql_gmean": 0.5551393792410614}, "Web/CloudOps": {"n_configs": 20, "rel_mase_gmean": 0.659506250255506, "rel_wql_gmean": 0.4616342580943171}}, "frequency": {"A": {"n_configs": 1, "rel_mase_gmean": 0.6446437059731004, "rel_wql_gmean": 0.6882516427800116}, "D": {"n_configs": 15, "rel_mase_gmean": 0.8564498174150648, "rel_wql_gmean": 0.512565113839979}, "H": {"n_configs": 31, "rel_mase_gmean": 0.7828323472298757, "rel_wql_gmean": 0.5297076187701302}, "M": {"n_configs": 5, "rel_mase_gmean": 0.8403408980051337, "rel_wql_gmean": 0.7859222315461946}, "Q": {"n_configs": 1, "rel_mase_gmean": 0.7808721597888444, "rel_wql_gmean": 0.8117837559212793}, "S": {"n_configs": 6, "rel_mase_gmean": 0.8539173426593831, "rel_wql_gmean": 0.5053929796644565}, "T": {"n_configs": 30, "rel_mase_gmean": 0.7773994669026943, "rel_wql_gmean": 0.6031677969878132}, "W": {"n_configs": 8, "rel_mase_gmean": 0.8942549170453039, "rel_wql_gmean": 0.5962600319386929}}, "variates": {"multivariate": {"n_configs": 43, "rel_mase_gmean": 0.7873407569511094, "rel_wql_gmean": 0.5453277644364599}, "univariate": {"n_configs": 54, "rel_mase_gmean": 0.8219956123317288, "rel_wql_gmean": 0.5862774419382377}}}, "control_groups": {"term": {"long": {"n_configs": 21, "rel_mase_gmean": 0.7707957586118519, "rel_wql_gmean": 0.4811201577001369}, "medium": {"n_configs": 21, "rel_mase_gmean": 0.779618755877286, "rel_wql_gmean": 0.5433042239308433}, "short": {"n_configs": 55, "rel_mase_gmean": 0.8170439519805486, "rel_wql_gmean": 0.6091621644447172}}, "domain": {"Econ/Fin": {"n_configs": 6, "rel_mase_gmean": 0.8722234206774022, "rel_wql_gmean": 0.8117570602842299}, "Energy": {"n_configs": 32, "rel_mase_gmean": 0.8947438467938783, "rel_wql_gmean": 0.6785152460589088}, "Healthcare": {"n_configs": 5, "rel_mase_gmean": 0.6486779418840113, "rel_wql_gmean": 0.5987237519655887}, "Nature": {"n_configs": 15, "rel_mase_gmean": 0.93065028071109, "rel_wql_gmean": 0.4513997152587998}, "Sales": {"n_configs": 4, "rel_mase_gmean": 0.7423627428173035, "rel_wql_gmean": 0.5023610195015825}, "Transport": {"n_configs": 15, "rel_mase_gmean": 0.7544059722768195, "rel_wql_gmean": 0.5493110062331005}, "Web/CloudOps": {"n_configs": 20, "rel_mase_gmean": 0.6450703250668249, "rel_wql_gmean": 0.45978977116467806}}, "frequency": {"A": {"n_configs": 1, "rel_mase_gmean": 0.6241575007860913, "rel_wql_gmean": 0.6847120856661988}, "D": {"n_configs": 15, "rel_mase_gmean": 0.842461994316231, "rel_wql_gmean": 0.49795147250110605}, "H": {"n_configs": 31, "rel_mase_gmean": 0.7795524804282207, "rel_wql_gmean": 0.5290387312855092}, "M": {"n_configs": 5, "rel_mase_gmean": 0.83852272258776, "rel_wql_gmean": 0.7941982685846185}, "Q": {"n_configs": 1, "rel_mase_gmean": 0.7797879425916332, "rel_wql_gmean": 0.8309566441120046}, "S": {"n_configs": 6, "rel_mase_gmean": 0.8507345990970113, "rel_wql_gmean": 0.5003107438855952}, "T": {"n_configs": 30, "rel_mase_gmean": 0.761595505116273, "rel_wql_gmean": 0.5997414447915067}, "W": {"n_configs": 8, "rel_mase_gmean": 0.9075462369415759, "rel_wql_gmean": 0.6040409924897451}}, "variates": {"multivariate": {"n_configs": 43, "rel_mase_gmean": 0.7762510882566483, "rel_wql_gmean": 0.5402880481180907}, "univariate": {"n_configs": 54, "rel_mase_gmean": 0.8169534925089487, "rel_wql_gmean": 0.5848561547513397}}}, "group_skill_delta": {"term": {"long": 0.0001861579179883721, "medium": -0.010034880535929602, "short": -0.005425536485617277}, "domain": {"Econ/Fin": -0.005970807023586988, "Energy": -0.005304178406073001, "Healthcare": -0.005446997110714946, "Nature": -0.003613831242699983, "Sales": 0.001327087408825256, "Transport": -0.004183463336518645, "Web/CloudOps": -0.007163537876796133}, "frequency": {"A": -0.012356870279689347, "D": -0.014868207358887053, "H": -0.001756259016720052, "M": 0.0033834220409849625, "Q": 0.008787866118568188, "S": -0.004530657753525236, "T": -0.008923924157647867, "W": 0.010190758357163987}, "variates": {"multivariate": -0.007644375054610908, "univariate": -0.002971781669340534}}}, {"cutoff": "backcast2_evals", "candidate_skill": 0.34813177987228394, "control_skill": 0.35202854592719945, "delta": -0.0038967660549155125, "candidate_checkpoint": "819e4be84a1448dd80ea312a24b1d0908b60550a59bb237f98b6e5050c32d6f0", "control_checkpoint": "227ea80abf17fc81ae191f94e91f6dd7adbc0d837235750b5f5e9cef3dd5472c", "candidate_eval_seconds": 36.332313537597656, "candidate_groups": {"term": {"long": {"n_configs": 19, "rel_mase_gmean": 0.7923836869388197, "rel_wql_gmean": 0.5041901345726559}, "medium": {"n_configs": 21, "rel_mase_gmean": 0.755747231198438, "rel_wql_gmean": 0.5054195346753417}, "short": {"n_configs": 54, "rel_mase_gmean": 0.7796592487153274, "rel_wql_gmean": 0.5805543346513804}}, "domain": {"Econ/Fin": {"n_configs": 6, "rel_mase_gmean": 0.894869702066593, "rel_wql_gmean": 0.9259437534518735}, "Energy": {"n_configs": 32, "rel_mase_gmean": 0.9142925283563661, "rel_wql_gmean": 0.6676747874852759}, "Healthcare": {"n_configs": 5, "rel_mase_gmean": 0.7184725198444023, "rel_wql_gmean": 0.6292620424474986}, "Nature": {"n_configs": 15, "rel_mase_gmean": 0.77641436664212, "rel_wql_gmean": 0.37905602879715755}, "Sales": {"n_configs": 3, "rel_mase_gmean": 0.5678364986992505, "rel_wql_gmean": 0.359610425449128}, "Transport": {"n_configs": 14, "rel_mase_gmean": 0.6836479624140417, "rel_wql_gmean": 0.5179154616607}, "Web/CloudOps": {"n_configs": 19, "rel_mase_gmean": 0.6654731457950848, "rel_wql_gmean": 0.47436173457658715}}, "frequency": {"A": {"n_configs": 1, "rel_mase_gmean": 0.5732374588226788, "rel_wql_gmean": 0.7724114163640281}, "D": {"n_configs": 15, "rel_mase_gmean": 0.7373310274753366, "rel_wql_gmean": 0.46375277631875383}, "H": {"n_configs": 30, "rel_mase_gmean": 0.7477068975259097, "rel_wql_gmean": 0.4962534970947982}, "M": {"n_configs": 4, "rel_mase_gmean": 0.8494487786136092, "rel_wql_gmean": 0.8861406845046864}, "Q": {"n_configs": 1, "rel_mase_gmean": 0.8536907397071963, "rel_wql_gmean": 0.8971977026449272}, "S": {"n_configs": 6, "rel_mase_gmean": 0.9028272415876128, "rel_wql_gmean": 0.56738251845874}, "T": {"n_configs": 29, "rel_mase_gmean": 0.765253308562756, "rel_wql_gmean": 0.5637677882171414}, "W": {"n_configs": 8, "rel_mase_gmean": 0.9150349826820089, "rel_wql_gmean": 0.6630144853467621}}, "variates": {"multivariate": {"n_configs": 42, "rel_mase_gmean": 0.7737923689272265, "rel_wql_gmean": 0.5245632687750644}, "univariate": {"n_configs": 52, "rel_mase_gmean": 0.7792197459817579, "rel_wql_gmean": 0.5658881023652105}}}, "control_groups": {"term": {"long": {"n_configs": 19, "rel_mase_gmean": 0.7993914938306502, "rel_wql_gmean": 0.5118750835782793}, "medium": {"n_configs": 21, "rel_mase_gmean": 0.7499036235389392, "rel_wql_gmean": 0.5076549719236019}, "short": {"n_configs": 54, "rel_mase_gmean": 0.7704097782971766, "rel_wql_gmean": 0.5713062592973345}}, "domain": {"Econ/Fin": {"n_configs": 6, "rel_mase_gmean": 0.8815921046221019, "rel_wql_gmean": 0.9187815814539992}, "Energy": {"n_configs": 32, "rel_mase_gmean": 0.920339256072892, "rel_wql_gmean": 0.6704665333680074}, "Healthcare": {"n_configs": 5, "rel_mase_gmean": 0.6501582024912718, "rel_wql_gmean": 0.5627569152494311}, "Nature": {"n_configs": 15, "rel_mase_gmean": 0.7745581689862006, "rel_wql_gmean": 0.3822657735243897}, "Sales": {"n_configs": 3, "rel_mase_gmean": 0.564680893551189, "rel_wql_gmean": 0.36069686176729393}, "Transport": {"n_configs": 14, "rel_mase_gmean": 0.6867714219327128, "rel_wql_gmean": 0.5187038356734098}, "Web/CloudOps": {"n_configs": 19, "rel_mase_gmean": 0.6559779306984489, "rel_wql_gmean": 0.4700795832946835}}, "frequency": {"A": {"n_configs": 1, "rel_mase_gmean": 0.5730275474668758, "rel_wql_gmean": 0.757090806020688}, "D": {"n_configs": 15, "rel_mase_gmean": 0.7274640646847123, "rel_wql_gmean": 0.4535589328676016}, "H": {"n_configs": 30, "rel_mase_gmean": 0.753383988535096, "rel_wql_gmean": 0.4956674683856894}, "M": {"n_configs": 4, "rel_mase_gmean": 0.8235108549294832, "rel_wql_gmean": 0.8750079559219315}, "Q": {"n_configs": 1, "rel_mase_gmean": 0.8610057552014395, "rel_wql_gmean": 0.9072883197219879}, "S": {"n_configs": 6, "rel_mase_gmean": 0.8980758705842602, "rel_wql_gmean": 0.5621964897161842}, "T": {"n_configs": 29, "rel_mase_gmean": 0.7550135684916714, "rel_wql_gmean": 0.5666392411392774}, "W": {"n_configs": 8, "rel_mase_gmean": 0.9006457837675473, "rel_wql_gmean": 0.6506166099596051}}, "variates": {"multivariate": {"n_configs": 42, "rel_mase_gmean": 0.7711918037459841, "rel_wql_gmean": 0.5235744450782658}, "univariate": {"n_configs": 52, "rel_mase_gmean": 0.7717812927982146, "rel_wql_gmean": 0.5614676858240594}}}, "group_skill_delta": {"term": {"long": 0.007608857121486068, "medium": -0.0010340649477441621, "short": -0.009350785087563707}, "domain": {"Econ/Fin": -0.010279369313938469, "Energy": 0.004216505866548426, "Healthcare": -0.06750838491727251, "Nature": 0.0016404104068251657, "Sales": -0.0005771733648323729, "Transport": 0.0018115096807954645, "Web/CloudOps": -0.006546250609081095}, "frequency": {"A": -0.006752846397907852, "D": -0.01034492019162181, "H": 0.001946989903044205, "M": -0.018731802263767694, "Q": 0.00867023193946248, "S": -0.005155592055058, "T": -0.002749884738405428, "W": -0.01340747636742956}, "variates": {"multivariate": -0.0016712520453810997, "univariate": -0.005763300925014092}}}, {"cutoff": "backcast3_evals", "candidate_skill": 0.36532369856316205, "control_skill": 0.37292052340404636, "delta": -0.007596824840884309, "candidate_checkpoint": "819e4be84a1448dd80ea312a24b1d0908b60550a59bb237f98b6e5050c32d6f0", "control_checkpoint": "227ea80abf17fc81ae191f94e91f6dd7adbc0d837235750b5f5e9cef3dd5472c", "candidate_eval_seconds": 35.71234440803528, "candidate_groups": {"term": {"long": {"n_configs": 19, "rel_mase_gmean": 0.7783871339629543, "rel_wql_gmean": 0.4875377504034169}, "medium": {"n_configs": 20, "rel_mase_gmean": 0.7702913006262454, "rel_wql_gmean": 0.538521173959331}, "short": {"n_configs": 54, "rel_mase_gmean": 0.7572550643479631, "rel_wql_gmean": 0.5373437024788824}}, "domain": {"Econ/Fin": {"n_configs": 6, "rel_mase_gmean": 0.855445885136274, "rel_wql_gmean": 0.8309985063188237}, "Energy": {"n_configs": 32, "rel_mase_gmean": 0.8554832869760757, "rel_wql_gmean": 0.5736231775072379}, "Healthcare": {"n_configs": 5, "rel_mase_gmean": 0.9685990234344417, "rel_wql_gmean": 0.7432157712193497}, "Nature": {"n_configs": 15, "rel_mase_gmean": 0.7430172353378781, "rel_wql_gmean": 0.35817529448600105}, "Sales": {"n_configs": 3, "rel_mase_gmean": 0.7726118737198876, "rel_wql_gmean": 0.4906413378443144}, "Transport": {"n_configs": 14, "rel_mase_gmean": 0.571121080142623, "rel_wql_gmean": 0.4751334443083072}, "Web/CloudOps": {"n_configs": 18, "rel_mase_gmean": 0.7232497089611695, "rel_wql_gmean": 0.5357592264419055}}, "frequency": {"A": {"n_configs": 1, "rel_mase_gmean": 0.5499946340964722, "rel_wql_gmean": 0.7695886681579353}, "D": {"n_configs": 15, "rel_mase_gmean": 0.8083598505792527, "rel_wql_gmean": 0.4647838884934785}, "H": {"n_configs": 29, "rel_mase_gmean": 0.7380004663116394, "rel_wql_gmean": 0.5052868988128786}, "M": {"n_configs": 4, "rel_mase_gmean": 0.9361100638906661, "rel_wql_gmean": 0.9255109553358075}, "Q": {"n_configs": 1, "rel_mase_gmean": 0.7305091146699113, "rel_wql_gmean": 0.7668369133340045}, "S": {"n_configs": 6, "rel_mase_gmean": 0.853641271380383, "rel_wql_gmean": 0.6086484993078388}, "T": {"n_configs": 29, "rel_mase_gmean": 0.7193424935357096, "rel_wql_gmean": 0.4795050108576183}, "W": {"n_configs": 8, "rel_mase_gmean": 0.8484724220883378, "rel_wql_gmean": 0.6746778364592451}}, "variates": {"multivariate": {"n_configs": 41, "rel_mase_gmean": 0.7938677539147783, "rel_wql_gmean": 0.5403695099457861}, "univariate": {"n_configs": 52, "rel_mase_gmean": 0.7418100356385172, "rel_wql_gmean": 0.5167252815702403}}}, "control_groups": {"term": {"long": {"n_configs": 19, "rel_mase_gmean": 0.778439210250305, "rel_wql_gmean": 0.49273006835962047}, "medium": {"n_configs": 20, "rel_mase_gmean": 0.7543591675058114, "rel_wql_gmean": 0.5336114555873182}, "short": {"n_configs": 54, "rel_mase_gmean": 0.7410759417262284, "rel_wql_gmean": 0.5306695859227978}}, "domain": {"Econ/Fin": {"n_configs": 6, "rel_mase_gmean": 0.8417532075173881, "rel_wql_gmean": 0.845937573328201}, "Energy": {"n_configs": 32, "rel_mase_gmean": 0.8479297958628922, "rel_wql_gmean": 0.5713250153301629}, "Healthcare": {"n_configs": 5, "rel_mase_gmean": 0.8731181567001823, "rel_wql_gmean": 0.7062780184682419}, "Nature": {"n_configs": 15, "rel_mase_gmean": 0.7270655135819668, "rel_wql_gmean": 0.35387222781116245}, "Sales": {"n_configs": 3, "rel_mase_gmean": 0.7847661053470236, "rel_wql_gmean": 0.5044137986032409}, "Transport": {"n_configs": 14, "rel_mase_gmean": 0.5682067850777656, "rel_wql_gmean": 0.4723998126869398}, "Web/CloudOps": {"n_configs": 18, "rel_mase_gmean": 0.7099877343724879, "rel_wql_gmean": 0.5298000345996671}}, "frequency": {"A": {"n_configs": 1, "rel_mase_gmean": 0.5442290559778864, "rel_wql_gmean": 0.8446584386780612}, "D": {"n_configs": 15, "rel_mase_gmean": 0.7841644844236885, "rel_wql_gmean": 0.45301801369927336}, "H": {"n_configs": 29, "rel_mase_gmean": 0.7364988058949682, "rel_wql_gmean": 0.5033340588432017}, "M": {"n_configs": 4, "rel_mase_gmean": 0.8691738414068243, "rel_wql_gmean": 0.8678518341048217}, "Q": {"n_configs": 1, "rel_mase_gmean": 0.7280932255410748, "rel_wql_gmean": 0.7727291093550366}, "S": {"n_configs": 6, "rel_mase_gmean": 0.8609187156813392, "rel_wql_gmean": 0.6295058615351511}, "T": {"n_configs": 29, "rel_mase_gmean": 0.7042489928814539, "rel_wql_gmean": 0.4735497097280189}, "W": {"n_configs": 8, "rel_mase_gmean": 0.8282027876303875, "rel_wql_gmean": 0.6880431539037373}}, "variates": {"multivariate": {"n_configs": 41, "rel_mase_gmean": 0.7803099495695505, "rel_wql_gmean": 0.5354633301386752}, "univariate": {"n_configs": 52, "rel_mase_gmean": 0.7294079779755795, "rel_wql_gmean": 0.5139221776313134}}}, "group_skill_delta": {"term": {"long": 0.003292414527649945, "medium": -0.009607579027507751, "short": -0.010782418336842237}, "domain": {"Econ/Fin": 0.0007092054945755377, "Energy": -0.00449793719767011, "Healthcare": -0.06317661561342125, "Nature": -0.008642362456524166, "Sales": 0.013472681547710752, "Transport": -0.002827628725579401, "Web/CloudOps": -0.009173171669587532}, "frequency": {"A": 0.02741094275778133, "D": -0.01693335489003933, "H": -0.0018015672457692977, "M": -0.06228283680954183, "Q": 0.0016265753940846173, "S": 0.015364535109891442, "T": -0.0098140836120999, "W": -0.0017243251030021334}, "variates": {"multivariate": -0.008571449157010358, "univariate": -0.00686471159863411}}}], "mean_delta": -0.0056505129073183, "positive_cutoffs": 0, "outcome": "Descriptive coverage contrast completing the predeclared data-by-LR factorial; source48k versus full-corpus lowLR loses all4 and E169quartet remains untested. Continue original96k schedule and final comparison; no primary selection."} + +2026-10-24T01:35:22.218808+00:00: E147 primary review and E169 source rejection {"utc": "2026-10-24T01:35:22.218808+00:00", "experiment": "E147primary48000", "seed": 307, "checkpoint_sha256": "819e4be84a1448dd80ea312a24b1d0908b60550a59bb237f98b6e5050c32d6f0", "training_loop_seconds_to_endpoint": 10094.2, "evaluation_seconds": 145.8121156692505, "positive_vs_full_low": 0, "mean_delta_vs_full_low": -0.0020597215790003898, "positive_vs_old_high": 0, "mean_delta_vs_old_high": -0.0056505129073183, "rows": [{"cutoff": "evals", "candidate_skill": 0.36255159114007496, "delta_full_low": -0.0019463772631683751, "delta_old_high": -0.005991843360519167, "group_deltas_full_low": {"term": {"long": -0.002281375168034838, "medium": -0.003331804323567944, "short": -0.001236968226747459}, "domain": {"Econ/Fin": -0.009549548333670055, "Energy": -0.008159374890361781, "Healthcare": 0.002245531149525748, "Nature": 0.008328975700363728, "Sales": -0.02252347858588377, "Transport": 0.0032995445046423155, "Web/CloudOps": -0.0021342764072201925}, "frequency": {"A": 0.011333783155144439, "D": -0.01422094217921721, "H": -0.00836461915672948, "M": 0.08889482236727786, "Q": 0.011238685204096655, "S": -0.001670057736172903, "T": 0.0029154200336506397, "W": -0.01674870746550705}, "variates": {"multivariate": -0.004826299640879994, "univariate": 0.00043669692384584735}}, "group_deltas_old_high": {"term": {"long": 0.0026475892846846705, "medium": -0.00322863268924356, "short": -0.010626732996569688}, "domain": {"Econ/Fin": 0.005300685148790563, "Energy": -0.008575376309725491, "Healthcare": -0.045117116434540416, "Nature": 0.0011274068983680996, "Sales": 0.00782031157809937, "Transport": 0.0042076857564260495, "Web/CloudOps": -0.010074371093212964}, "frequency": {"A": 0.010422568079382466, "D": -0.008946626926766399, "H": -0.0055701372869956245, "M": -0.03458954626937527, "Q": 0.011047680208184363, "S": -0.0010895934753499814, "T": -0.003950863425561391, "W": -0.005367521398702557}, "variates": {"multivariate": -0.006486557702789386, "univariate": -0.005582310638795551}}, "corpus_by_lr_interaction": {"log_errors": {"old_low": -0.45524242519387487, "old_high": -0.45972611944712993, "full_low": -0.45333999150997006, "full_high": -0.4502819325028937}, "high_minus_low_lr_old": -0.004483694253255066, "high_minus_low_lr_full": 0.0030580590070763414, "interaction_full_minus_old": 0.0075417532603314075}, "evaluation_seconds": 37.64431715011597}, {"cutoff": "backcast_evals", "candidate_skill": 0.3233406279617841, "delta_full_low": -0.0014936846125872538, "delta_old_high": -0.005116617372954213, "group_deltas_full_low": {"term": {"long": -0.0064446066291612425, "medium": -0.006875512347453094, "short": 0.0029630389837130844}, "domain": {"Econ/Fin": -0.012019412026994414, "Energy": 0.0028431673431643656, "Healthcare": 0.014289723715895986, "Nature": 0.003935701525158319, "Sales": -0.007695538124330437, "Transport": -0.0052066061141461395, "Web/CloudOps": -0.0075415259176030425}, "frequency": {"A": 0.0015300147130513642, "D": -0.0009557248021704323, "H": -0.004658336407252439, "M": 0.01453976419541858, "Q": -0.0026458963388682477, "S": -0.0026478704927591634, "T": -0.0029867238442087274, "W": 0.009194342363723074}, "variates": {"multivariate": -0.0015064028200714175, "univariate": -0.0014818160691350002}}, "group_deltas_old_high": {"term": {"long": 0.0001861579179883721, "medium": -0.010034880535929602, "short": -0.005425536485617277}, "domain": {"Econ/Fin": -0.005970807023586988, "Energy": -0.005304178406073001, "Healthcare": -0.005446997110714946, "Nature": -0.003613831242699983, "Sales": 0.001327087408825256, "Transport": -0.004183463336518645, "Web/CloudOps": -0.007163537876796133}, "frequency": {"A": -0.012356870279689347, "D": -0.014868207358887053, "H": -0.001756259016720052, "M": 0.0033834220409849625, "Q": 0.008787866118568188, "S": -0.004530657753525236, "T": -0.008923924157647867, "W": 0.010190758357163987}, "variates": {"multivariate": -0.007644375054610908, "univariate": -0.002971781669340534}}, "corpus_by_lr_interaction": {"log_errors": {"old_low": -0.3905192299879495, "old_high": -0.39817759465813524, "full_low": -0.39279715537790105, "full_high": -0.39058727591161074}, "high_minus_low_lr_old": -0.007658364670185713, "high_minus_low_lr_full": 0.00220987946629031, "interaction_full_minus_old": 0.009868244136476023}, "evaluation_seconds": 36.12314057350159}, {"cutoff": "backcast2_evals", "candidate_skill": 0.34813177987228394, "delta_full_low": -5.8364076763184336e-05, "delta_old_high": -0.0038967660549155125, "group_deltas_full_low": {"term": {"long": 0.0048216544579635645, "medium": -0.005847178681626097, "short": 0.0005835692335119935}, "domain": {"Econ/Fin": -0.014156312564483242, "Energy": 0.00993096719557185, "Healthcare": -0.005111018814370705, "Nature": -0.0036875887517664463, "Sales": -0.007906971476261238, "Transport": -0.002345334819114031, "Web/CloudOps": -0.002061474102325933}, "frequency": {"A": 0.01137997196287921, "D": 0.0012911121084816513, "H": 0.0005475381823043524, "M": 0.00903849705579618, "Q": -0.0009760324020495759, "S": -0.013540591476829511, "T": 0.002023523744068001, "W": -0.009709611613233138}, "variates": {"multivariate": 0.0056458782460837575, "univariate": -0.004821882652985665}}, "group_deltas_old_high": {"term": {"long": 0.007608857121486068, "medium": -0.0010340649477441621, "short": -0.009350785087563707}, "domain": {"Econ/Fin": -0.010279369313938469, "Energy": 0.004216505866548426, "Healthcare": -0.06750838491727251, "Nature": 0.0016404104068251657, "Sales": -0.0005771733648323729, "Transport": 0.0018115096807954645, "Web/CloudOps": -0.006546250609081095}, "frequency": {"A": -0.006752846397907852, "D": -0.01034492019162181, "H": 0.001946989903044205, "M": -0.018731802263767694, "Q": 0.00867023193946248, "S": -0.005155592055058, "T": -0.002749884738405428, "W": -0.01340747636742956}, "variates": {"multivariate": -0.0016712520453810997, "univariate": -0.005763300925014092}}, "corpus_by_lr_interaction": {"log_errors": {"old_low": -0.4332547481314452, "old_high": -0.4339086359569852, "full_low": -0.42800239141200574, "full_high": -0.4279128538522835}, "high_minus_low_lr_old": -0.0006538878255399894, "high_minus_low_lr_full": 8.953755972224142e-05, "interaction_full_minus_old": 0.0007434253852622308}, "evaluation_seconds": 36.332313537597656}, {"cutoff": "backcast3_evals", "candidate_skill": 0.36532369856316205, "delta_full_low": -0.004740460363482746, "delta_old_high": -0.007596824840884309, "group_deltas_full_low": {"term": {"long": -0.003578583854155881, "medium": -0.007324043072418851, "short": -0.004212691915669753}, "domain": {"Econ/Fin": -0.009125106686417195, "Energy": -0.00408717077801346, "Healthcare": 0.044216275077769596, "Nature": -0.007989643280749026, "Sales": -0.009889110659725087, "Transport": -0.009634872837412045, "Web/CloudOps": -0.005324427400061116}, "frequency": {"A": 0.003854386260135456, "D": -0.01124520310162791, "H": -0.006237167212747252, "M": 0.06933814056550203, "Q": -0.010284555282971897, "S": 0.0007565760358720919, "T": -0.006839189730945661, "W": -0.00638874972230663}, "variates": {"multivariate": -0.008648691180489276, "univariate": -0.001809846086449407}}, "group_deltas_old_high": {"term": {"long": 0.003292414527649945, "medium": -0.009607579027507751, "short": -0.010782418336842237}, "domain": {"Econ/Fin": 0.0007092054945755377, "Energy": -0.00449793719767011, "Healthcare": -0.06317661561342125, "Nature": -0.008642362456524166, "Sales": 0.013472681547710752, "Transport": -0.002827628725579401, "Web/CloudOps": -0.009173171669587532}, "frequency": {"A": 0.02741094275778133, "D": -0.01693335489003933, "H": -0.0018015672457692977, "M": -0.06228283680954183, "Q": 0.0016265753940846173, "S": 0.015364535109891442, "T": -0.0098140836120999, "W": -0.0017243251030021334}, "variates": {"multivariate": -0.008571449157010358, "univariate": -0.00686471159863411}}, "corpus_by_lr_interaction": {"log_errors": {"old_low": -0.46360856292587826, "old_high": -0.4666819894508517, "full_low": -0.4621373043486623, "full_high": -0.45464017157880987}, "high_minus_low_lr_old": -0.003073426524973444, "high_minus_low_lr_full": 0.0074971327698524215, "interaction_full_minus_old": 0.010570559294825865}, "evaluation_seconds": 35.71234440803528}], "decision": "HigherLR helps the oldpack atall4cutoffs but hurts fullpack atall4 at48000. No primary selection. Continue the unchanged original96k schedule and final factorial comparison. E169 source gate fails0of4, so its48k quartet is untested and no candidate/full replay is built. Adaptive validation contrast, not held-out significance."}. + +2026-10-24T01:35:22.218808+00:00: E10172 compute accounting {"run": "distill_ensemble", "step": 72000, "parameters": 146477344, "seed": 307, "batch": 48, "micro_batch": null, "learning_rate": 0.0001, "packed": "/workspace/research/packed_sample", "skill": 0.3803969851982407, "rel_mase": 0.7432937469911188, "rel_wql": 0.5164955275158748, "checkpoint_sha256": "a74842bf29efaa86cb83000ecea939a2fbeed66782a3d69de2733982f7804326", "training_phase_loop_seconds": 14691.7, "accumulated_logged_training_loop_seconds": 34371.8, "training_phase_log": "/workspace/research/distill_ensemble_train_recovery4.log", "evaluation_seconds": 37.145514726638794, "report": "/workspace/research/evals/distill_ensemble_ema72000/report.json"}. Scheduled main-only diagnostic, not a new selection endpoint; original96k continues. + +E137 fresh146M depth-width allocation seed307 storage recovery training started at 2026-10-24T01:36:39Z, after the declared dependency processes exited; required checkpoint files are present. Settings are unchanged from the declared comparison. + +2026-10-24T01:37:08.346778+00:00: E170 matched lowerLR duration extensions declared {"experiment": "E170", "declared_utc": "2026-10-24T01:37:08.346778+00:00", "status": "declared; complete-state snapshots and continuation recovery audits pending; no queues", "hypothesis": "The full-corpus lowerLR model showed a modest later coverage benefit at96k, while E147higherLR hurt full-corpus performance at48k. Test whether further training at the existing96k endpointLR improves the coverage effect. Continue both completed lowerLR controls in separate new branches to measure duration-by-corpus interaction without changing the generator, source mixture, architecture or LR at the join.", "arms": {"old": {"run": "duration_old_low", "source_run": "random_capacity_1024_halflr", "packed": "/workspace/research/packed_sample", "snapshot": "/workspace/research/duration_extension/snapshots/old_low_recovery096000.pt", "allocation_after": "E168 signed_power_synth12000"}, "full": {"run": "duration_full_low", "source_run": "random_capacity_full", "packed": "/workspace/research/packed_stratified_full", "snapshot": "/workspace/research/duration_extension/snapshots/full_low_recovery096000.pt", "allocation_after": "E158 random_capacity_seasonal_width96000"}}, "model_code": "/workspace/research/random_capacity", "initial_random_checkpoint": "/workspace/research/random_capacity_1024_initial.pt", "initial_random_checkpoint_sha256": "c9693619ca6277c26fef3b2bde37ff6796bec97b3af9f94588bbc5ddd329ec90", "parameters_per_arm": 146477344, "seed": 307, "batch": 48, "micro_batch": null, "compiled_loss": true, "source_weights_from": "/workspace/research/packed_sample", "starting_step": 96000, "steps": 192000, "additional_updates_per_arm": 96000, "primary": 144000, "final": 192000, "main_diagnostics": [108000, 120000, 168000], "learning_rate": "Constant at the exact serialized optimizer LR at96000 (approximately2e-5), equal in both controls. Use existing anneal_from_step96000 with equal from/finalLR; no warmup or schedule rewind.", "state": "Copy each complete own96000 recovery checkpoint, including raw model, EMA, optimizer moments/steps, all NumPy/Torch/CUDA RNGs and prefetched batch. Preserve the copies as immutable branch ancestry. Original completed runs remain untouched; this is a newly declared continuation study, not recovery of unfinished work. No selection EMA or fixture warm start.", "factor": "Additional duration at fixed endpointLR; corpus old/full contrast is retained from E94/E110. Both arms receive the same further update budget and schedule. Main diagnostics are not selection checkpoints.", "engineering": "Audit complete-file CRC/SHA, finite model/EMA/optimizer, all96000 optimizer step counts, declared configs/source paths/RNG keys, original endpointLR and exact constant schedule. Then actual compiled6 versus3+3 continuation fixtures on each immutable snapshot under the unchanged192k schedule; allRNG/prefetch/ancestry exact, ordinary repeat/restart numerical variation measured. No architecture or sampler change; existing maximum-shape checks remain applicable.", "selection": "At144k/192k evaluate both arms at allfourcutoffs, compare each to its own96k endpoint and full versusold at matched cumulative steps; report the log-error duration-by-corpus interaction. No automatic transfer, ensemble, publication or checkpoint sweep. Any package selection requires a separate current-publication comparison and full replay.", "sources": "Exactly the existing95allowlisted directories of each packed corpus, existing source probabilities and20percent own slowAR synthetics; no new generator or data.", "training_queued": false}. + +E122 96000 four-cutoff comparison: {"label": "E122 96000 four-cutoff comparison", "utc": "2026-10-24T01:38:40.741715+00:00", "candidate": "random_capacity_original_ar_ema96000", "control": "random_capacity_1024_ema96000", "rows": [{"cutoff": "evals", "candidate_skill": 0.3644842233984943, "control_skill": 0.37118082660619867, "delta": -0.006696603207704377, "candidate_checkpoint": "5a27e63bc558496e570a78c57fffd3fafa51e03b56b0d4ec0704f103000daa0c", "control_checkpoint": "d7cfcd72c3cb84aa69e447b76c4c3ab98c21b7c600a463f0b805f4b4300baf33", "candidate_eval_seconds": 36.142101526260376, "candidate_groups": {"term": {"long": {"n_configs": 21, "rel_mase_gmean": 0.7594470588022086, "rel_wql_gmean": 0.49680134074313054}, "medium": {"n_configs": 21, "rel_mase_gmean": 0.7354505183681349, "rel_wql_gmean": 0.5019311309854534}, "short": {"n_configs": 55, "rel_mase_gmean": 0.7711525666755527, "rel_wql_gmean": 0.5563083619879564}}, "domain": {"Econ/Fin": {"n_configs": 6, "rel_mase_gmean": 0.8841155640614872, "rel_wql_gmean": 0.8426812394197325}, "Energy": {"n_configs": 32, "rel_mase_gmean": 0.9094691665358414, "rel_wql_gmean": 0.6569079317334985}, "Healthcare": {"n_configs": 5, "rel_mase_gmean": 0.668158611089122, "rel_wql_gmean": 0.5606879607588354}, "Nature": {"n_configs": 15, "rel_mase_gmean": 0.831981680215069, "rel_wql_gmean": 0.41571369556113374}, "Sales": {"n_configs": 4, "rel_mase_gmean": 0.8371155450679331, "rel_wql_gmean": 0.513471942690474}, "Transport": {"n_configs": 15, "rel_mase_gmean": 0.6538746653207287, "rel_wql_gmean": 0.45245141030118724}, "Web/CloudOps": {"n_configs": 20, "rel_mase_gmean": 0.5801532120557099, "rel_wql_gmean": 0.4421010396155856}}, "frequency": {"A": {"n_configs": 1, "rel_mase_gmean": 0.5908330079497063, "rel_wql_gmean": 0.6084332237212228}, "D": {"n_configs": 15, "rel_mase_gmean": 0.7732316365925803, "rel_wql_gmean": 0.5335605674393502}, "H": {"n_configs": 31, "rel_mase_gmean": 0.7411193637398789, "rel_wql_gmean": 0.5108105008148245}, "M": {"n_configs": 5, "rel_mase_gmean": 1.1380660241016833, "rel_wql_gmean": 0.9309312693904386}, "Q": {"n_configs": 1, "rel_mase_gmean": 0.7817307714193262, "rel_wql_gmean": 0.8307393255001709}, "S": {"n_configs": 6, "rel_mase_gmean": 0.6700713183740435, "rel_wql_gmean": 0.510757536407197}, "T": {"n_configs": 30, "rel_mase_gmean": 0.7121007241062619, "rel_wql_gmean": 0.4655622020992631}, "W": {"n_configs": 8, "rel_mase_gmean": 0.920259306039532, "rel_wql_gmean": 0.673175414377416}}, "variates": {"multivariate": {"n_configs": 43, "rel_mase_gmean": 0.729805074685423, "rel_wql_gmean": 0.5229717665865891}, "univariate": {"n_configs": 54, "rel_mase_gmean": 0.7863377035412599, "rel_wql_gmean": 0.5372873581214217}}}, "control_groups": {"term": {"long": {"n_configs": 21, "rel_mase_gmean": 0.7617085776612673, "rel_wql_gmean": 0.49633909417606453}, "medium": {"n_configs": 21, "rel_mase_gmean": 0.7298134337623169, "rel_wql_gmean": 0.5003277699021584}, "short": {"n_configs": 55, "rel_mase_gmean": 0.7539888789481445, "rel_wql_gmean": 0.5499601934168685}}, "domain": {"Econ/Fin": {"n_configs": 6, "rel_mase_gmean": 0.8959148570251535, "rel_wql_gmean": 0.8493368379420845}, "Energy": {"n_configs": 32, "rel_mase_gmean": 0.9094002563853486, "rel_wql_gmean": 0.6572245802316878}, "Healthcare": {"n_configs": 5, "rel_mase_gmean": 0.529267728079262, "rel_wql_gmean": 0.47334957848952913}, "Nature": {"n_configs": 15, "rel_mase_gmean": 0.8234547120124809, "rel_wql_gmean": 0.4142825340029578}, "Sales": {"n_configs": 4, "rel_mase_gmean": 0.8520426601354568, "rel_wql_gmean": 0.5216579663248391}, "Transport": {"n_configs": 15, "rel_mase_gmean": 0.6515127739306887, "rel_wql_gmean": 0.45010198724616357}, "Web/CloudOps": {"n_configs": 20, "rel_mase_gmean": 0.5769432156462848, "rel_wql_gmean": 0.44504231186351767}}, "frequency": {"A": {"n_configs": 1, "rel_mase_gmean": 0.5929439471839378, "rel_wql_gmean": 0.615503982517204}, "D": {"n_configs": 15, "rel_mase_gmean": 0.7787713445367176, "rel_wql_gmean": 0.5373779555416477}, "H": {"n_configs": 31, "rel_mase_gmean": 0.7363315295729133, "rel_wql_gmean": 0.5086973471183035}, "M": {"n_configs": 5, "rel_mase_gmean": 0.9301275593623703, "rel_wql_gmean": 0.8181248600782658}, "Q": {"n_configs": 1, "rel_mase_gmean": 0.7640064910151944, "rel_wql_gmean": 0.8167107058299274}, "S": {"n_configs": 6, "rel_mase_gmean": 0.6696048120395435, "rel_wql_gmean": 0.5095378743549087}, "T": {"n_configs": 30, "rel_mase_gmean": 0.7141887055723616, "rel_wql_gmean": 0.47011994961408954}, "W": {"n_configs": 8, "rel_mase_gmean": 0.8865274908386537, "rel_wql_gmean": 0.6465387255094742}}, "variates": {"multivariate": {"n_configs": 43, "rel_mase_gmean": 0.7285160402951458, "rel_wql_gmean": 0.5269433957731289}, "univariate": {"n_configs": 54, "rel_mase_gmean": 0.7681866341094963, "rel_wql_gmean": 0.5270065227304256}}}, "group_skill_delta": {"term": {"long": 0.0006276299900511706, "medium": -0.003300403680823516, "short": -0.011035867430098212}, "domain": {"Econ/Fin": 0.009165205845436675, "Energy": 0.00015697706301853742, "Healthcare": -0.11154064635005989, "Nature": -0.004029484469031286, "Sales": 0.011071171636906074, "Transport": -0.0023947139949749285, "Web/CloudOps": 0.00027419487250435193}, "frequency": {"A": 0.004550126629133677, "D": 0.004598611207512482, "H": -0.0032605299392102216, "M": -0.15697085250800913, "Q": -0.01594341671319366, "S": -0.000902348862875546, "T": 0.0036591740176569187, "W": -0.029997851619141036}, "variates": {"multivariate": 0.001793523399595931, "univariate": -0.01372188958528442}}}, {"cutoff": "backcast_evals", "candidate_skill": 0.3304791049359843, "control_skill": 0.33472617365334145, "delta": -0.004247068717357139, "candidate_checkpoint": "5a27e63bc558496e570a78c57fffd3fafa51e03b56b0d4ec0704f103000daa0c", "control_checkpoint": "d7cfcd72c3cb84aa69e447b76c4c3ab98c21b7c600a463f0b805f4b4300baf33", "candidate_eval_seconds": 32.18370294570923, "candidate_groups": {"term": {"long": {"n_configs": 21, "rel_mase_gmean": 0.7667786264340226, "rel_wql_gmean": 0.47189443403701054}, "medium": {"n_configs": 21, "rel_mase_gmean": 0.7830963760756565, "rel_wql_gmean": 0.5438467811237041}, "short": {"n_configs": 55, "rel_mase_gmean": 0.815898562605613, "rel_wql_gmean": 0.6079902497274813}}, "domain": {"Econ/Fin": {"n_configs": 6, "rel_mase_gmean": 0.8716204125201503, "rel_wql_gmean": 0.8046622077893943}, "Energy": {"n_configs": 32, "rel_mase_gmean": 0.904104084431057, "rel_wql_gmean": 0.6820282184112795}, "Healthcare": {"n_configs": 5, "rel_mase_gmean": 0.6373160105230867, "rel_wql_gmean": 0.6042396511795473}, "Nature": {"n_configs": 15, "rel_mase_gmean": 0.9353856187386973, "rel_wql_gmean": 0.4486328853964809}, "Sales": {"n_configs": 4, "rel_mase_gmean": 0.7349019732116965, "rel_wql_gmean": 0.4912080222096775}, "Transport": {"n_configs": 15, "rel_mase_gmean": 0.7498084316320438, "rel_wql_gmean": 0.54490894072334}, "Web/CloudOps": {"n_configs": 20, "rel_mase_gmean": 0.6361666258469851, "rel_wql_gmean": 0.4518753726714307}}, "frequency": {"A": {"n_configs": 1, "rel_mase_gmean": 0.6331017822171294, "rel_wql_gmean": 0.7095252471853848}, "D": {"n_configs": 15, "rel_mase_gmean": 0.840861023015555, "rel_wql_gmean": 0.4999300318844382}, "H": {"n_configs": 31, "rel_mase_gmean": 0.7751107795805726, "rel_wql_gmean": 0.5239343276324855}, "M": {"n_configs": 5, "rel_mase_gmean": 0.8175042115064147, "rel_wql_gmean": 0.7761210965614774}, "Q": {"n_configs": 1, "rel_mase_gmean": 0.7789250445363383, "rel_wql_gmean": 0.780831046475972}, "S": {"n_configs": 6, "rel_mase_gmean": 0.8489586090898574, "rel_wql_gmean": 0.500314095121521}, "T": {"n_configs": 30, "rel_mase_gmean": 0.762594190467978, "rel_wql_gmean": 0.5921164635333555}, "W": {"n_configs": 8, "rel_mase_gmean": 0.930436854033811, "rel_wql_gmean": 0.6251726567076303}}, "variates": {"multivariate": {"n_configs": 43, "rel_mase_gmean": 0.7797867083584085, "rel_wql_gmean": 0.5382971159942058}, "univariate": {"n_configs": 54, "rel_mase_gmean": 0.8125954929099357, "rel_wql_gmean": 0.5812627674609129}}}, "control_groups": {"term": {"long": {"n_configs": 21, "rel_mase_gmean": 0.7631098777388973, "rel_wql_gmean": 0.47074592104175184}, "medium": {"n_configs": 21, "rel_mase_gmean": 0.7785429002581723, "rel_wql_gmean": 0.5362252732855645}, "short": {"n_configs": 55, "rel_mase_gmean": 0.8123770244196038, "rel_wql_gmean": 0.603300236549279}}, "domain": {"Econ/Fin": {"n_configs": 6, "rel_mase_gmean": 0.8799114018222585, "rel_wql_gmean": 0.803604895852266}, "Energy": {"n_configs": 32, "rel_mase_gmean": 0.8977669691725372, "rel_wql_gmean": 0.6761969813852254}, "Healthcare": {"n_configs": 5, "rel_mase_gmean": 0.6300661024303247, "rel_wql_gmean": 0.587956838027678}, "Nature": {"n_configs": 15, "rel_mase_gmean": 0.918761626825819, "rel_wql_gmean": 0.4418878940724868}, "Sales": {"n_configs": 4, "rel_mase_gmean": 0.7413491153579719, "rel_wql_gmean": 0.49790144170298983}, "Transport": {"n_configs": 15, "rel_mase_gmean": 0.7463594580929064, "rel_wql_gmean": 0.5419041229491335}, "Web/CloudOps": {"n_configs": 20, "rel_mase_gmean": 0.6383206047362664, "rel_wql_gmean": 0.4496625882886006}}, "frequency": {"A": {"n_configs": 1, "rel_mase_gmean": 0.6368968587575585, "rel_wql_gmean": 0.6985505028931195}, "D": {"n_configs": 15, "rel_mase_gmean": 0.8234282335820552, "rel_wql_gmean": 0.4922990804723347}, "H": {"n_configs": 31, "rel_mase_gmean": 0.7777723999594381, "rel_wql_gmean": 0.5220808728462141}, "M": {"n_configs": 5, "rel_mase_gmean": 0.8806740205862869, "rel_wql_gmean": 0.8247873940198561}, "Q": {"n_configs": 1, "rel_mase_gmean": 0.7704440480842776, "rel_wql_gmean": 0.7941706683927648}, "S": {"n_configs": 6, "rel_mase_gmean": 0.8496535581906978, "rel_wql_gmean": 0.4982318813583749}, "T": {"n_configs": 30, "rel_mase_gmean": 0.755920509187425, "rel_wql_gmean": 0.5881482341816905}, "W": {"n_configs": 8, "rel_mase_gmean": 0.8893280509437378, "rel_wql_gmean": 0.5864472508377766}}, "variates": {"multivariate": {"n_configs": 43, "rel_mase_gmean": 0.7718027693423195, "rel_wql_gmean": 0.5310438748170623}, "univariate": {"n_configs": 54, "rel_mase_gmean": 0.8123163174606677, "rel_wql_gmean": 0.5792198510179808}}}, "group_skill_delta": {"term": {"long": -0.002171477901648844, "medium": -0.006475652037345236, "short": -0.004237510087132801}, "domain": {"Econ/Fin": 0.0034206525054638615, "Energy": -0.006109169959599536, "Healthcare": -0.01191008144205663, "Nature": -0.010626766217941008, "Sales": 0.006727252621983482, "Transport": -0.0032325537053840003, "Web/CloudOps": -0.00040967557740556604}, "frequency": {"A": -0.0032134005587957093, "D": -0.011671699828916249, "H": -3.691794600535481e-05, "M": 0.055728793649738706, "Q": 0.0023399391772420675, "S": -0.0010914557286336724, "T": -0.0051923569289270555, "W": -0.04050187314601705}, "variates": {"multivariate": -0.007682537080795027, "univariate": -0.0013266585032940537}}}, {"cutoff": "backcast2_evals", "candidate_skill": 0.3535571625829933, "control_skill": 0.35821120969144316, "delta": -0.004654047108449855, "candidate_checkpoint": "5a27e63bc558496e570a78c57fffd3fafa51e03b56b0d4ec0704f103000daa0c", "control_checkpoint": "d7cfcd72c3cb84aa69e447b76c4c3ab98c21b7c600a463f0b805f4b4300baf33", "candidate_eval_seconds": 32.441195011138916, "candidate_groups": {"term": {"long": {"n_configs": 19, "rel_mase_gmean": 0.8063521939976812, "rel_wql_gmean": 0.5134706775510107}, "medium": {"n_configs": 21, "rel_mase_gmean": 0.7449601387321758, "rel_wql_gmean": 0.49825652824704836}, "short": {"n_configs": 54, "rel_mase_gmean": 0.7708968129100775, "rel_wql_gmean": 0.5695031697061033}}, "domain": {"Econ/Fin": {"n_configs": 6, "rel_mase_gmean": 0.8822943665684149, "rel_wql_gmean": 0.9008422352889607}, "Energy": {"n_configs": 32, "rel_mase_gmean": 0.9166394470296781, "rel_wql_gmean": 0.6636501346118948}, "Healthcare": {"n_configs": 5, "rel_mase_gmean": 0.7422756355822557, "rel_wql_gmean": 0.6317586734953075}, "Nature": {"n_configs": 15, "rel_mase_gmean": 0.7636637392859278, "rel_wql_gmean": 0.37904944064911245}, "Sales": {"n_configs": 3, "rel_mase_gmean": 0.5564612502115815, "rel_wql_gmean": 0.35664163246685976}, "Transport": {"n_configs": 14, "rel_mase_gmean": 0.6777766912519197, "rel_wql_gmean": 0.5121978148659603}, "Web/CloudOps": {"n_configs": 19, "rel_mase_gmean": 0.654687849817497, "rel_wql_gmean": 0.46272506733790425}}, "frequency": {"A": {"n_configs": 1, "rel_mase_gmean": 0.5795974668635626, "rel_wql_gmean": 0.7412390374966131}, "D": {"n_configs": 15, "rel_mase_gmean": 0.7333132416123038, "rel_wql_gmean": 0.45158488658182744}, "H": {"n_configs": 30, "rel_mase_gmean": 0.7511694223380206, "rel_wql_gmean": 0.4934875964506707}, "M": {"n_configs": 4, "rel_mase_gmean": 0.8765472642291636, "rel_wql_gmean": 0.9257386962476947}, "Q": {"n_configs": 1, "rel_mase_gmean": 0.8296542961594838, "rel_wql_gmean": 0.8877657449060866}, "S": {"n_configs": 6, "rel_mase_gmean": 0.9118000492508727, "rel_wql_gmean": 0.5737858074911416}, "T": {"n_configs": 29, "rel_mase_gmean": 0.7565446572965263, "rel_wql_gmean": 0.5543205237821228}, "W": {"n_configs": 8, "rel_mase_gmean": 0.8625705032874493, "rel_wql_gmean": 0.6527447206183125}}, "variates": {"multivariate": {"n_configs": 42, "rel_mase_gmean": 0.7708611640568521, "rel_wql_gmean": 0.5193782848508239}, "univariate": {"n_configs": 52, "rel_mase_gmean": 0.7729393913502545, "rel_wql_gmean": 0.5596778701954649}}}, "control_groups": {"term": {"long": {"n_configs": 19, "rel_mase_gmean": 0.7948323559622308, "rel_wql_gmean": 0.5038031357937244}, "medium": {"n_configs": 21, "rel_mase_gmean": 0.7436546889519351, "rel_wql_gmean": 0.4999106059674412}, "short": {"n_configs": 54, "rel_mase_gmean": 0.7653891474888923, "rel_wql_gmean": 0.5656202422862512}}, "domain": {"Econ/Fin": {"n_configs": 6, "rel_mase_gmean": 0.8899872084302632, "rel_wql_gmean": 0.9055268485241579}, "Energy": {"n_configs": 32, "rel_mase_gmean": 0.9159117867744438, "rel_wql_gmean": 0.663956827409629}, "Healthcare": {"n_configs": 5, "rel_mase_gmean": 0.6688701850316071, "rel_wql_gmean": 0.5851167258527354}, "Nature": {"n_configs": 15, "rel_mase_gmean": 0.7657459485168994, "rel_wql_gmean": 0.3786143150772142}, "Sales": {"n_configs": 3, "rel_mase_gmean": 0.564108971970049, "rel_wql_gmean": 0.3567547415829251}, "Transport": {"n_configs": 14, "rel_mase_gmean": 0.677841126147746, "rel_wql_gmean": 0.5110735743749464}, "Web/CloudOps": {"n_configs": 19, "rel_mase_gmean": 0.6448877329601718, "rel_wql_gmean": 0.45604325115803673}}, "frequency": {"A": {"n_configs": 1, "rel_mase_gmean": 0.5778772564458995, "rel_wql_gmean": 0.7545228843343262}, "D": {"n_configs": 15, "rel_mase_gmean": 0.7299936856379547, "rel_wql_gmean": 0.4514832431454694}, "H": {"n_configs": 30, "rel_mase_gmean": 0.7493271411845789, "rel_wql_gmean": 0.4923349064463513}, "M": {"n_configs": 4, "rel_mase_gmean": 0.8174516557126993, "rel_wql_gmean": 0.871483874743179}, "Q": {"n_configs": 1, "rel_mase_gmean": 0.8403605693598712, "rel_wql_gmean": 0.888453639232776}, "S": {"n_configs": 6, "rel_mase_gmean": 0.9021968573313114, "rel_wql_gmean": 0.5636783345364695}, "T": {"n_configs": 29, "rel_mase_gmean": 0.7455541469259782, "rel_wql_gmean": 0.5498372054524163}, "W": {"n_configs": 8, "rel_mase_gmean": 0.8845789361049848, "rel_wql_gmean": 0.6509305309216584}}, "variates": {"multivariate": {"n_configs": 42, "rel_mase_gmean": 0.7653037238032906, "rel_wql_gmean": 0.5154762736658989}, "univariate": {"n_configs": 52, "rel_mase_gmean": 0.7671120022280188, "rel_wql_gmean": 0.5559849583019626}}}, "group_skill_delta": {"term": {"long": -0.01065548428844909, "medium": 0.000475495318362662, "short": -0.004625758327244434}, "domain": {"Econ/Fin": 0.006203338388036772, "Energy": -0.00012951091289936656, "Healthcare": -0.05919783639883314, "Nature": 0.00042366871217258684, "Sales": 0.0031219376611355543, "Transport": -0.0006190064000862749, "Web/CloudOps": -0.008093459678436776}, "frequency": {"A": 0.004865081637551949, "D": -0.0013685884942591375, "H": -0.0014576848882194016, "M": -0.05677175450372962, "Q": 0.005854261901933722, "S": -0.010184303800175543, "T": -0.007326043276860705, "W": 0.008455685183899164}, "variates": {"multivariate": -0.0046577333060230375, "univariate": -0.0046493521756520995}}}, {"cutoff": "backcast3_evals", "candidate_skill": 0.3757996406201536, "control_skill": 0.3796114863043607, "delta": -0.0038118456842071158, "candidate_checkpoint": "5a27e63bc558496e570a78c57fffd3fafa51e03b56b0d4ec0704f103000daa0c", "control_checkpoint": "d7cfcd72c3cb84aa69e447b76c4c3ab98c21b7c600a463f0b805f4b4300baf33", "candidate_eval_seconds": 31.03546118736267, "candidate_groups": {"term": {"long": {"n_configs": 19, "rel_mase_gmean": 0.7737262354987159, "rel_wql_gmean": 0.48371741464668067}, "medium": {"n_configs": 20, "rel_mase_gmean": 0.7649668374486246, "rel_wql_gmean": 0.532762790075561}, "short": {"n_configs": 54, "rel_mase_gmean": 0.7397659990661385, "rel_wql_gmean": 0.525372566788049}}, "domain": {"Econ/Fin": {"n_configs": 6, "rel_mase_gmean": 0.8358056267888315, "rel_wql_gmean": 0.8303260783336486}, "Energy": {"n_configs": 32, "rel_mase_gmean": 0.8381023730316626, "rel_wql_gmean": 0.560393197221126}, "Healthcare": {"n_configs": 5, "rel_mase_gmean": 1.0044651522495363, "rel_wql_gmean": 0.7895356444557142}, "Nature": {"n_configs": 15, "rel_mase_gmean": 0.7255906771646422, "rel_wql_gmean": 0.34975857780947284}, "Sales": {"n_configs": 3, "rel_mase_gmean": 0.7573329908299653, "rel_wql_gmean": 0.48349856880891384}, "Transport": {"n_configs": 14, "rel_mase_gmean": 0.5566766625371903, "rel_wql_gmean": 0.4629596130890204}, "Web/CloudOps": {"n_configs": 18, "rel_mase_gmean": 0.7182183077330798, "rel_wql_gmean": 0.5249231296349538}}, "frequency": {"A": {"n_configs": 1, "rel_mase_gmean": 0.5212972276340113, "rel_wql_gmean": 0.7614378695499128}, "D": {"n_configs": 15, "rel_mase_gmean": 0.76906492010709, "rel_wql_gmean": 0.4479434366480664}, "H": {"n_configs": 29, "rel_mase_gmean": 0.7334035236851131, "rel_wql_gmean": 0.4988204340920557}, "M": {"n_configs": 4, "rel_mase_gmean": 1.0598569439615415, "rel_wql_gmean": 1.0105060033644657}, "Q": {"n_configs": 1, "rel_mase_gmean": 0.7133357481209897, "rel_wql_gmean": 0.7473965246401221}, "S": {"n_configs": 6, "rel_mase_gmean": 0.8698445074374366, "rel_wql_gmean": 0.6343170708248556}, "T": {"n_configs": 29, "rel_mase_gmean": 0.6994014007984071, "rel_wql_gmean": 0.46484221425558997}, "W": {"n_configs": 8, "rel_mase_gmean": 0.8169652562614288, "rel_wql_gmean": 0.6485202365878479}}, "variates": {"multivariate": {"n_configs": 41, "rel_mase_gmean": 0.773707541248009, "rel_wql_gmean": 0.5262832368258207}, "univariate": {"n_configs": 52, "rel_mase_gmean": 0.7352771969841138, "rel_wql_gmean": 0.5117987289977327}}}, "control_groups": {"term": {"long": {"n_configs": 19, "rel_mase_gmean": 0.7707548491943624, "rel_wql_gmean": 0.4807756564072138}, "medium": {"n_configs": 20, "rel_mase_gmean": 0.7556495370223238, "rel_wql_gmean": 0.5262128188543342}, "short": {"n_configs": 54, "rel_mase_gmean": 0.7385188778105934, "rel_wql_gmean": 0.521816862285778}}, "domain": {"Econ/Fin": {"n_configs": 6, "rel_mase_gmean": 0.8424966280451537, "rel_wql_gmean": 0.8200624057334169}, "Energy": {"n_configs": 32, "rel_mase_gmean": 0.8539019602096222, "rel_wql_gmean": 0.5710802296836778}, "Healthcare": {"n_configs": 5, "rel_mase_gmean": 0.8909828066833559, "rel_wql_gmean": 0.7058215612134101}, "Nature": {"n_configs": 15, "rel_mase_gmean": 0.7140869441964789, "rel_wql_gmean": 0.3512392411927577}, "Sales": {"n_configs": 3, "rel_mase_gmean": 0.7639256455458228, "rel_wql_gmean": 0.48475054428574094}, "Transport": {"n_configs": 14, "rel_mase_gmean": 0.5619385146556419, "rel_wql_gmean": 0.4647057191235835}, "Web/CloudOps": {"n_configs": 18, "rel_mase_gmean": 0.7034743755687752, "rel_wql_gmean": 0.5014537965434586}}, "frequency": {"A": {"n_configs": 1, "rel_mase_gmean": 0.529321887711635, "rel_wql_gmean": 0.7601172944767248}, "D": {"n_configs": 15, "rel_mase_gmean": 0.7813860809923568, "rel_wql_gmean": 0.44632727852138454}, "H": {"n_configs": 29, "rel_mase_gmean": 0.734432190578138, "rel_wql_gmean": 0.4971516938153054}, "M": {"n_configs": 4, "rel_mase_gmean": 0.8903179619577941, "rel_wql_gmean": 0.8686026764605773}, "Q": {"n_configs": 1, "rel_mase_gmean": 0.7179816427620297, "rel_wql_gmean": 0.7506580757820736}, "S": {"n_configs": 6, "rel_mase_gmean": 0.8498477607666359, "rel_wql_gmean": 0.6047885144037575}, "T": {"n_configs": 29, "rel_mase_gmean": 0.7006619380973221, "rel_wql_gmean": 0.46532367960829474}, "W": {"n_configs": 8, "rel_mase_gmean": 0.8246011876416808, "rel_wql_gmean": 0.6716230893689398}}, "variates": {"multivariate": {"n_configs": 41, "rel_mase_gmean": 0.7741503096616409, "rel_wql_gmean": 0.5213427900147267}, "univariate": {"n_configs": 52, "rel_mase_gmean": 0.7291832302879286, "rel_wql_gmean": 0.5084307719061404}}}, "group_skill_delta": {"term": {"long": -0.0030353626673832457, "medium": -0.007812131478584061, "short": -0.002637156061387702}, "domain": {"Econ/Fin": -0.0018575145119952285, "Energy": 0.012994469074234183, "Healthcare": -0.09752343232820748, "Nature": -0.002952677537375159, "Sales": 0.003414447827331357, "Transport": 0.003354582912321158, "Web/CloudOps": -0.020074977190868037}, "frequency": {"A": 0.004279930278694, "D": 0.0036147471003569187, "H": -0.0005892456003676605, "M": -0.15549404557374435, "Q": 0.003970523106856638, "S": -0.0258809166124766, "T": 0.0008090709922217165, "W": 0.01630531564606008}, "variates": {"multivariate": -0.002820485615196655, "univariate": -0.004560758465007697}}}], "mean_delta": -0.0048523911794296215, "positive_cutoffs": 0, "outcome": "Declared comparison checkpoints 48000,96000. No transfer formula or automatic publication is selected by this controller."} + +2026-10-24T01:43:03.049735+00:00: E122 final96k review {"utc": "2026-10-24T01:43:03.049735+00:00", "experiment": "E122", "run": "random_capacity_original_ar", "seed": 307, "step": 96000, "hypothesis": "Replace only the slow log-uniform AR time-constant prior in the fresh146M recipe with the original coefficient Uniform(0.2,0.995), keeping architecture, all95sources, source probabilities, seed, batch48, LR2e-4 and96k schedule.", "checkpoint_sha256": "5a27e63bc558496e570a78c57fffd3fafa51e03b56b0d4ec0704f103000daa0c", "positive_cutoffs": 0, "mean_delta": -0.0048523911794296215, "skills": [0.3644842233984943, 0.3304791049359843, 0.3535571625829933, 0.3757996406201536], "deltas": [-0.006696603207704377, -0.004247068717357139, -0.004654047108449855, -0.0038118456842071158], "group_deltas": {"evals": {"term": {"long": 0.0006276299900511706, "medium": -0.003300403680823516, "short": -0.011035867430098212}, "domain": {"Econ/Fin": 0.009165205845436675, "Energy": 0.00015697706301853742, "Healthcare": -0.11154064635005989, "Nature": -0.004029484469031286, "Sales": 0.011071171636906074, "Transport": -0.0023947139949749285, "Web/CloudOps": 0.00027419487250435193}, "frequency": {"A": 0.004550126629133677, "D": 0.004598611207512482, "H": -0.0032605299392102216, "M": -0.15697085250800913, "Q": -0.01594341671319366, "S": -0.000902348862875546, "T": 0.0036591740176569187, "W": -0.029997851619141036}, "variates": {"multivariate": 0.001793523399595931, "univariate": -0.01372188958528442}}, "backcast_evals": {"term": {"long": -0.002171477901648844, "medium": -0.006475652037345236, "short": -0.004237510087132801}, "domain": {"Econ/Fin": 0.0034206525054638615, "Energy": -0.006109169959599536, "Healthcare": -0.01191008144205663, "Nature": -0.010626766217941008, "Sales": 0.006727252621983482, "Transport": -0.0032325537053840003, "Web/CloudOps": -0.00040967557740556604}, "frequency": {"A": -0.0032134005587957093, "D": -0.011671699828916249, "H": -3.691794600535481e-05, "M": 0.055728793649738706, "Q": 0.0023399391772420675, "S": -0.0010914557286336724, "T": -0.0051923569289270555, "W": -0.04050187314601705}, "variates": {"multivariate": -0.007682537080795027, "univariate": -0.0013266585032940537}}, "backcast2_evals": {"term": {"long": -0.01065548428844909, "medium": 0.000475495318362662, "short": -0.004625758327244434}, "domain": {"Econ/Fin": 0.006203338388036772, "Energy": -0.00012951091289936656, "Healthcare": -0.05919783639883314, "Nature": 0.00042366871217258684, "Sales": 0.0031219376611355543, "Transport": -0.0006190064000862749, "Web/CloudOps": -0.008093459678436776}, "frequency": {"A": 0.004865081637551949, "D": -0.0013685884942591375, "H": -0.0014576848882194016, "M": -0.05677175450372962, "Q": 0.005854261901933722, "S": -0.010184303800175543, "T": -0.007326043276860705, "W": 0.008455685183899164}, "variates": {"multivariate": -0.0046577333060230375, "univariate": -0.0046493521756520995}}, "backcast3_evals": {"term": {"long": -0.0030353626673832457, "medium": -0.007812131478584061, "short": -0.002637156061387702}, "domain": {"Econ/Fin": -0.0018575145119952285, "Energy": 0.012994469074234183, "Healthcare": -0.09752343232820748, "Nature": -0.002952677537375159, "Sales": 0.003414447827331357, "Transport": 0.003354582912321158, "Web/CloudOps": -0.020074977190868037}, "frequency": {"A": 0.004279930278694, "D": 0.0036147471003569187, "H": -0.0005892456003676605, "M": -0.15549404557374435, "Q": 0.003970523106856638, "S": -0.0258809166124766, "T": 0.0008090709922217165, "W": 0.01630531564606008}, "variates": {"multivariate": -0.002820485615196655, "univariate": -0.004560758465007697}}}, "measured_compute": {"recovery4_training_loop_seconds": 15229.306625026977, "recovery4_training_process_seconds": 15253.185012442991, "accumulated_logged_training_loop_seconds": 19971.8, "phases": [{"log": "/workspace/research/random_capacity_original_ar_train.log", "starting_step": 0, "last_logged_step": 22500, "measured_training_loop_seconds": 4747.2, "endpoint_record_present": false, "unlogged_interrupted_or_running_tail_not_included": true}, {"log": "/workspace/research/random_capacity_original_ar_train_recovery4.log", "starting_step": 22250, "last_logged_step": 96000, "measured_training_loop_seconds": 15229.306625026977, "endpoint_record_present": true, "unlogged_interrupted_or_running_tail_not_included": false}], "four_cutoff_eval_seconds": 131.8024606704712, "scope": "Logged shared-single-H100 wall time; older interrupted unlogged tails and startup excluded from accumulated loop lower bound; no operator downtime."}, "outcome": "Final0of4 and mean negative, consistent with primary48k0of4. No source gate, transfer, ensemble or full replay selected. Retain slowAR in the fresh-model recipe; E137 already started on the released allocation. Adaptive validation only, no significance claim."} + +2026-10-24T01:43:03.049735+00:00: E170 preparation {"utc": "2026-10-24T01:43:03.049735+00:00", "experiment": "E170", "preparation_seconds": 29.351671668933704, "optimizer_updates": 0, "corrections": ["Initial audit required an explicit all-one lr_multipliers map. The trainer defaults absent entries to1; corrected check verifies every effective parameter multiplier and actual optimizer group.", "Second audit counted every corpus-root directory, including infrastructure .cache. Corrected check parses the95 explicit names in the data README allow-list and verifies exact equality to each packed manifest. No training source or model changed."], "preserved_failed_logs": ["duration_extension_preparation.log", "duration_extension_preparation_corrected.log"], "preparation_receipt": "/workspace/research/duration_extension_preparation.json", "status": "CPU audits pass; actual compiled continuation recovery fixtures pending; no production updates"} + +E152 ensemble_gate_full seed751 training started at 2026-10-24T01:45:43Z, after the declared dependency processes exited; required checkpoint files are present. Settings are unchanged from the declared comparison. + +2026-10-24T01:45:14.772791+00:00: E159 current failure structure {"utc": "2026-10-24T01:45:14.772791+00:00", "descriptor": "20f014ca61a9cfa4f275d9d7abfd297561ac37fddcdae9ba2ef60d3fca106cf8", "receipt": "/workspace/research/E159_failure_structure.json", "seconds": 0.013293146854266524, "optimizer_updates": 0, "new_inference": false, "configurations_worse_than_naive_at_all_available_cutoffs": ["m4_daily__D__short"], "configurations_with_mean_relative_error_above_one": ["m4_daily__D__short", "electricity__H__short"], "analysis": "DailyM4 remains the only all-four-cutoff aggregate failure, geometric relativeerror1.08469965; fullsuite MASE1.02149050/WQL.94890574. ElectricityHshort is the other meanrelativeerror>1, but only2of4worse. ETT short/medium/long weaknesses change acrosscutoffs. E149integrated-level replication E160 and E145buildingsmix already target nonstationarylevel/energydomain hypotheses. Existing E159coverage/median-error diagnostics were reused, not rerun. No new generator, model, threshold, dataset route or calibration selected."} + +2026-10-24T01:51:46.732074+00:00: New conditional E171 declaration {"experiment": "E171", "declared_utc": "2026-10-24T01:51:46.732074+00:00", "status": "declared; CPU integration pending; production and newGPUrecovery conditional on independentE160primary replication", "hypothesis": "E149integrated-level continuation improved allfour economic-domain groups, while dailyM4 remains the only aggregate E159failure atallfourcutoffs. Test whether the same random-walk prior helps a fresh146M seasonal-summary model when learned from initialization, conditional on E160independentseed replication. This changes training regime from mature36.8M/originalAR to fresh146M/slowAR; it is not a replication claim or a transferred correction.", "run": "random_capacity_seasonal_integrated", "study_code": "/workspace/research/fresh_seasonal_integrated", "model_code": "/workspace/research/random_capacity_seasonal_integrated", "control": "random_capacity_long_seasonal", "initial": "/workspace/research/random_capacity_long_seasonal_initial.pt", "initial_sha256": "f7e35a6341ffc6c1ce53cfd8934256dde937171f5002f1fc34b1fd169f1a15d6", "initialization": "Exactly ownE131untrainedseed307model; no mature weights or engineering fixtures inherited", "parameters": 146575680, "seed": 307, "batch": 48, "micro_batch": null, "lr": 0.0002, "steps": 96000, "primary": 48000, "final": 96000, "main_diagnostics": [4000, 8000, 16000, 24000, 72000], "compiled_loss": true, "packed": "/workspace/research/packed_sample", "source_weights_from": "/workspace/research/packed_sample", "factor": "Only add unchanged ownE149zero-origin Gaussian randomwalk toonequarter of20percent syntheticpaths, beforeoriginal intermittent/positivity transforms. OriginalslowARgenerator, real/unselectedrows, sourceprobabilities, seasonality/trend/changepoint/missingness/aggregation, requestedhorizons and originalRNGstreams preserved.", "generator": {"component": "byte-identical integrated_level_component from ownE149", "probability": 0.25, "synthetic_fraction": 0.2, "innovation_sigma": "10**Uniform(-3,-1)", "initial_level": 0, "accumulation": "float64cumsum tofloat32", "integrated_seed": 1300310}, "source_gate": {"primary_original": "integrated_level6k_four_cutoff_comparison.json", "primary_independent": "integrated_level_replication6k_four_cutoff_comparison.json", "minimum_positive_cutoffs": 3, "positive_mean_required": true}, "allocation_after": "E161random_capacity_seasonal_history96000", "engineering": "CPUcompare permitted-source samples againstE131 atseeds307/1193, disabledtreatment exact, all95probabilities/masks/periods/originalRNG exact, independentgenerator-source equivalence and allsamplerRNG replay. Reuse unchangedE131model/initialization GPUaudit byhash. Onlyifsourcegate passes, run compiled6-repeat/6-repeat/3+3 fullstate recovery underoriginal96kschedule. RNG/prefetch/ancestry exact; modelandEMA maximumdifference<=1e-4 and optimizer relativeL2<=1e-3 inbothrepeat/restart comparisons, predeclared beforefixtures. Fixtureweights neverresearchcandidates.", "selection": "Primary48/final96 allfourcutoffs versusE131, maindiagnostics notselection. No newgeneratorparameters orcoefficientsweep, automatictransfer, ensemble orpublication. Any package requires separate current-publication comparison and fullreplay.", "inference": "UnchangedE131input-onlyfixedmodel; generatortrainingonly; no test-time adaptation.", "sources": "Exactly95allowlisted existingpack directories, ownE131slowARsynthetics plus unchangedownE149integrated-levelgenerator.", "training_queued": false} + +2026-10-24T01:53:51.509750+00:00: E170 engineering review {"utc": "2026-10-24T01:53:51.509750+00:00", "experiment": "E170", "passed": true, "optimizer_updates": 36, "preparation_seconds": 29.351671668933704, "recovery_seconds": 636.0957380500622, "controller_seconds": 643.5702840259764, "arms": {"old": {"snapshot_sha256": "1b31e4422d8132376a5f32365410dc52830ee994f76d7918006f0a628192a110", "seconds": 212.07097848993726, "lock_wait_seconds": 8.826586417853832e-05, "commands": [{"name": "repeat_a", "seconds": 51.27075939811766, "returncode": 0}, {"name": "repeat_b", "seconds": 48.14905235078186, "returncode": 0}, {"name": "interrupted", "seconds": 39.815162397921085, "returncode": 0}, {"name": "interrupted_resumed", "seconds": 42.32619382208213, "returncode": 0}], "maximum_absolute_differences": {"uninterrupted_repeat": {"model": 3.0198832973837852e-05, "ema_state": 1.1920928955078125e-07, "optimizer": 6.040776497684419e-06}, "uninterrupted_vs_restart": {"model": 2.804771065711975e-05, "ema_state": 1.1920928955078125e-07, "optimizer": 6.097805453464389e-06}}, "all_rng_prefetch_ancestry_exact": true, "all_optimizer_steps": 96006, "constant_lr": 2e-05}, "full": {"snapshot_sha256": "29c96b8efd9bcceeffe756825c9e4a55c81fc8b1fdc385dde28871bcf99fe81b", "seconds": 424.02475956012495, "lock_wait_seconds": 54.582628834061325, "commands": [{"name": "repeat_a", "seconds": 92.97375931520946, "returncode": 0}, {"name": "repeat_b", "seconds": 88.59651763597503, "returncode": 0}, {"name": "interrupted", "seconds": 79.18424712307751, "returncode": 0}, {"name": "interrupted_resumed", "seconds": 80.7527990420349, "returncode": 0}], "maximum_absolute_differences": {"uninterrupted_repeat": {"model": 3.6230310797691345e-05, "ema_state": 1.1920928955078125e-07, "optimizer": 9.118186426348984e-06}, "uninterrupted_vs_restart": {"model": 3.1910836696624756e-05, "ema_state": 1.1920928955078125e-07, "optimizer": 9.690280421636999e-06}}, "all_rng_prefetch_ancestry_exact": true, "all_optimizer_steps": 96006, "constant_lr": 2e-05}}, "validation_data_read": false, "note": "Both original-schedule complete-state continuations preserve all RNG/prefetch/ancestry and full optimizer state. Restart model differences are smaller than uninterrupted-repeat maxima in both arms, EMA maxima are identical, optimizer maxima comparable (about1.01x/1.06x repeat). Finite compiled arithmetic shows ordinary variation; no bitwise-training claim. Only fixture weights changed, and none initializes a production branch. Two immutable own96000 snapshots remain the sole new branch starting points."} + +2026-10-24T01:54:34.522115+00:00: {"utc": "2026-10-24T01:54:34.522115+00:00", "experiment": "E170", "status": "two replacement queues created", "launch_receipt": "/workspace/research/duration_extension_launch_receipt.json", "jobs": [{"arm": "old", "run": "duration_old_low", "queue_pid": 17750, "watch_pid": 17751, "comparison_pid": 17752, "wait_pid": 15104, "snapshot_sha256": "1b31e4422d8132376a5f32365410dc52830ee994f76d7918006f0a628192a110"}, {"arm": "full", "run": "duration_full_low", "queue_pid": 17753, "watch_pid": 17754, "comparison_pid": 17755, "wait_pid": 9771, "snapshot_sha256": "29c96b8efd9bcceeffe756825c9e4a55c81fc8b1fdc385dde28871bcf99fe81b"}], "factorial_pid": 17756, "persistent_session": 21017, "production_updates": 0, "decision": "Continue only new branches from immutable own complete states; original completed E94/E110 controls unchanged."} +2026-10-24T01:54:34.522115+00:00: {"utc": "2026-10-24T01:54:34.522115+00:00", "experiment": "E171", "cpu_seconds": 10.165156410075724, "counts": {"rows": 8192, "synthetic_rows": 1641, "selected_rows": 435, "changed_rows": 415, "real_and_unselected_rows": 7757}, "unchanged_model_audit_reuse_seconds": 0.8506820690818131, "new_gpu_seconds": 0, "optimizer_updates": 0, "initial_checkpoint_sha256": "f7e35a6341ffc6c1ce53cfd8934256dde937171f5002f1fc34b1fd169f1a15d6", "component_source_sha256": "6338a7482227a6e84d786ceedb456ec612efac14cc9bb55a760002e9d593f198", "all_original_streams_and_real_unselected_rows_exact": true, "starter_pid": 17760, "persistent_session": 87263, "source_gate": "independentE160primary6k>=3positivecutoffs andpositivemean; originalE149primaryalso required", "status": "conditional CPU-prepared; no newGPUfixtures orproductionqueues", "launch_recipe": "/workspace/research/fresh_seasonal_integrated/launch.py"} + +2026-10-24T01:56:39.279821+00:00: E172 declaration {"experiment": "E172", "declared_utc": "2026-10-24T01:56:39.279821+00:00", "status": "declared; cached four-cutoff comparison pending", "hypothesis": "E152refreshed primary6k gate improves its fixedE148source3of4 but currentE159comparison2of4 with positive mean. Test one equal blend with E159 to reduce departures from the selected six-expert forecast while retaining complementary gate behavior. This is a separately declared fixed pooling hypothesis, not a reinterpretation of the rejected standalone gate.", "parent_descriptor": "20f014ca61a9cfa4f275d9d7abfd297561ac37fddcdae9ba2ef60d3fca106cf8", "parent_probe_prefix": "seasonal_six_member_blend", "gate_run": "ensemble_gate_refresh", "gate_step": 6000, "gate_checkpoint_sha256": "a7d0ee6866ea787f29eac043531aad3613674f159fd00b3491fd87fab8388fd1", "gate_expert_descriptor": "a1b4ab426901be8e1ee299eeeb3f041bac7cea3d4e59c4608824fc3d05c83e03", "member_checkpoint_hashes": ["0b11b7351a4a92d1d18c71a4159ec445be3a94ace8c7a9fa0edafad87d14e960", "308389b7217c080af9eb185559d4ee3cafa0f3e0f8c4dd8f5526b68198c89988", "1a2fb20a9fb5cae6526f2e36ea47559626bece78fd9c284899836505030ae9fe", "d7cfcd72c3cb84aa69e447b76c4c3ab98c21b7c600a463f0b805f4b4300baf33", "2877a38b94a7d77a53a9df410349cecc2f6ab134c83a76744924543bbe73eb17", "4b309f0721378f97db815dd511b8b54711348270c48e9eae0103dba506f66708"], "parameters": 549432812, "blend_coefficient": 0.5, "composition": "Compute all six ownE159expertforecasts and the fixedE152primary6k gate on F0/F1/F2/F3 for every instance. Preserve orderedFP32E159two-quartermeans asA and orderedFP32gateweightedpoolasG; output(A+G)/2. No duplicate neural expert parameters; the gate adds6340. Everyexpert andgate executes everyinstance.", "source_training": "Existing E152seed751/B64/LR.001/12k/oldpack/originalAR frozenE148expert recipe; only the alreadydeclared primary6000 is used. No new training, coefficient, threshold, checkpoint or frequency search.", "source_gate": {"positive_frozen": 3, "mean_delta_frozen": 0.0004653507815086111, "primary_standalone_current_positive": 2, "primary_standalone_current_mean_delta": 4.919528013067054e-05}, "selection": "One cached allfourcutoff probe; require>=3positive andpositivemean versus frozenE159 and then-current publication. Onlyifpasses, build independent composition/actualallforward synthetic/relocation and full97publicreplay againstcurrent. No automaticpublication. FinalE15212k is not partof this declaration.", "scientific_scope": "Validation selection only. No weight fitting, no trained parameters changed, no validation training.", "training_queued": false} + +2026-10-24T01:56:53.145693+00:00: E172 fixed half-blend cached comparison {"utc": "2026-10-24T01:56:53.145693+00:00", "declaration": {"experiment": "E172", "declared_utc": "2026-10-24T01:56:39.279821+00:00", "status": "declared; cached four-cutoff comparison pending", "hypothesis": "E152refreshed primary6k gate improves its fixedE148source3of4 but currentE159comparison2of4 with positive mean. Test one equal blend with E159 to reduce departures from the selected six-expert forecast while retaining complementary gate behavior. This is a separately declared fixed pooling hypothesis, not a reinterpretation of the rejected standalone gate.", "parent_descriptor": "20f014ca61a9cfa4f275d9d7abfd297561ac37fddcdae9ba2ef60d3fca106cf8", "parent_probe_prefix": "seasonal_six_member_blend", "gate_run": "ensemble_gate_refresh", "gate_step": 6000, "gate_checkpoint_sha256": "a7d0ee6866ea787f29eac043531aad3613674f159fd00b3491fd87fab8388fd1", "gate_expert_descriptor": "a1b4ab426901be8e1ee299eeeb3f041bac7cea3d4e59c4608824fc3d05c83e03", "member_checkpoint_hashes": ["0b11b7351a4a92d1d18c71a4159ec445be3a94ace8c7a9fa0edafad87d14e960", "308389b7217c080af9eb185559d4ee3cafa0f3e0f8c4dd8f5526b68198c89988", "1a2fb20a9fb5cae6526f2e36ea47559626bece78fd9c284899836505030ae9fe", "d7cfcd72c3cb84aa69e447b76c4c3ab98c21b7c600a463f0b805f4b4300baf33", "2877a38b94a7d77a53a9df410349cecc2f6ab134c83a76744924543bbe73eb17", "4b309f0721378f97db815dd511b8b54711348270c48e9eae0103dba506f66708"], "parameters": 549432812, "blend_coefficient": 0.5, "composition": "Compute all six ownE159expertforecasts and the fixedE152primary6k gate on F0/F1/F2/F3 for every instance. Preserve orderedFP32E159two-quartermeans asA and orderedFP32gateweightedpoolasG; output(A+G)/2. No duplicate neural expert parameters; the gate adds6340. Everyexpert andgate executes everyinstance.", "source_training": "Existing E152seed751/B64/LR.001/12k/oldpack/originalAR frozenE148expert recipe; only the alreadydeclared primary6000 is used. No new training, coefficient, threshold, checkpoint or frequency search.", "source_gate": {"positive_frozen": 3, "mean_delta_frozen": 0.0004653507815086111, "primary_standalone_current_positive": 2, "primary_standalone_current_mean_delta": 4.919528013067054e-05}, "selection": "One cached allfourcutoff probe; require>=3positive andpositivemean versus frozenE159 and then-current publication. Onlyifpasses, build independent composition/actualallforward synthetic/relocation and full97publicreplay againstcurrent. No automaticpublication. FinalE15212k is not partof this declaration.", "scientific_scope": "Validation selection only. No weight fitting, no trained parameters changed, no validation training.", "training_queued": false}, "rows": [{"cutoff": "valid_screen", "skill": 0.3893607757169213, "control_skill": 0.38873378968262917, "delta": 0.0006269860342921207, "groups": {"term": {"short": 0.3730551980552743, "medium": 0.4123605358882224, "long": 0.40777809459379144}, "domain": {"Econ/Fin": 0.1507657392482069, "Energy": 0.2481104899131934, "Healthcare": 0.488089767759725, "Nature": 0.44415019213823026, "Sales": 0.34537564038514124, "Transport": 0.47556873259947485, "Web/CloudOps": 0.5085043509486793}, "freq": {"A-DEC": 0.3818434006747864, "Q-DEC": 0.2052608713475952, "M": 0.12088969329714627, "W-SUN": 0.10603481522416103, "D": 0.3757624318941025, "H": 0.4049899775226913, "15T": 0.21818881284983382, "W-FRI": 0.020070427473252495, "10T": 0.6276775322383856, "W-TUE": 0.620546697076482, "W-THU": 0.21623223124759539, "W-WED": 0.32674883823352585, "5T": 0.5227392646506106, "10S": 0.4250765858338945}}, "group_deltas": {"term": {"short": 0.0006711915392915158, "medium": 0.0006002052719409345, "long": 0.0005433263567319324}, "domain": {"Econ/Fin": 0.001256418886594779, "Energy": 5.2139008443474744e-05, "Healthcare": 0.002979206174708482, "Nature": 0.0005374088867736715, "Sales": -0.0008402759806811488, "Transport": 0.0005447617320485376, "Web/CloudOps": 0.0008488264395033474}, "freq": {"A-DEC": -0.00034247885312044257, "Q-DEC": -0.0009460468284139267, "M": -0.0026088578427427844, "W-SUN": 0.012810782494087625, "D": 0.001169827017556302, "H": 0.0004585158242407239, "15T": -0.0009271546024641752, "W-FRI": -0.0007025384832913817, "10T": 0.0023751766041738565, "W-TUE": 0.0021652001513374763, "W-THU": -0.004881323867965581, "W-WED": -0.00010312681437629756, "5T": 0.001578705020093718, "10S": 0.00010113863986971339}}, "cpu_seconds": 3.7019952330738306}, {"cutoff": "valid_backcast", "skill": 0.34590472083989543, "control_skill": 0.3457740680188046, "delta": 0.00013065282109081533, "groups": {"term": {"short": 0.3141547815467325, "medium": 0.3634616307960672, "long": 0.40633139357265224}, "domain": {"Econ/Fin": 0.18160067214769848, "Energy": 0.2353018767525965, "Healthcare": 0.40212545303316916, "Nature": 0.3838286469349642, "Sales": 0.40883915245233005, "Transport": 0.3793792686903773, "Web/CloudOps": 0.45925088449552687}, "freq": {"A-DEC": 0.33078754893744844, "Q-DEC": 0.23700570996944292, "M": 0.19175411902001915, "W-SUN": 0.059062160550052645, "D": 0.3646819545891079, "H": 0.3781561519075256, "15T": 0.22230194455244912, "W-FRI": 0.23968590164728443, "10T": 0.33197069489258824, "W-TUE": 0.5482014822555118, "W-THU": 0.26697898734276704, "W-WED": 0.3596949129785524, "5T": 0.447691271232037, "10S": 0.3480039033453973}}, "group_deltas": {"term": {"short": 0.00031706729303448977, "medium": 0.0004880722831459572, "long": -0.0006256537550753949}, "domain": {"Econ/Fin": 0.001608231014177841, "Energy": -0.00028020029101583077, "Healthcare": -0.00045655228159469097, "Nature": 0.0011611259882308156, "Sales": -0.0006934377397707081, "Transport": 0.0007745758084236609, "Web/CloudOps": -0.0005165107060015606}, "freq": {"A-DEC": -0.0034805508654538464, "Q-DEC": 0.0010795183708239842, "M": -6.475571291453264e-05, "W-SUN": 0.009777700438601933, "D": -0.0003126379444291505, "H": 0.0010567653684582234, "15T": -0.0012034479413790544, "W-FRI": -0.004422242821654376, "10T": -0.00024151542419659222, "W-TUE": 0.008623779828861977, "W-THU": -0.001894526919008821, "W-WED": -0.001504054330422333, "5T": 0.000582692474802804, "10S": -0.002282607394639813}}, "cpu_seconds": 3.0887457050848752}, {"cutoff": "valid_backcast2", "skill": 0.37032451826756796, "control_skill": 0.37002279905979363, "delta": 0.00030171920777433137, "groups": {"term": {"short": 0.35723644813894817, "medium": 0.39885376165266295, "long": 0.37485551090685776}, "domain": {"Econ/Fin": 0.1294828662555424, "Energy": 0.2420929700491008, "Healthcare": 0.35832911544768686, "Nature": 0.4850218341451855, "Sales": 0.5597828255558903, "Transport": 0.4296637233616497, "Web/CloudOps": 0.44776364143411507}, "freq": {"A-DEC": 0.33751333277513795, "Q-DEC": 0.15624001754761851, "M": 0.173705610096883, "W-SUN": 0.08174657817330688, "D": 0.4355268947155827, "H": 0.4014479697019465, "15T": 0.10760686555452637, "W-FRI": 0.1497453849053848, "10T": 0.5100968640751355, "W-TUE": 0.1486916688372394, "W-THU": 0.34865588619800225, "W-WED": 0.5605192267020931, "5T": 0.4810945186712752, "10S": 0.29233165162853614}}, "group_deltas": {"term": {"short": 0.000667049418086263, "medium": -0.00046254595066685944, "long": 0.00017059043055644985}, "domain": {"Econ/Fin": 0.003700420196917631, "Energy": 0.001190219272115045, "Healthcare": -0.004744633432431589, "Nature": 0.0005948659143860668, "Sales": -0.00129883124779262, "Transport": 8.057814193673796e-05, "Web/CloudOps": -0.00011495839822184273}, "freq": {"A-DEC": 0.0007203104529249771, "Q-DEC": 0.0010560142081871282, "M": 0.002077835770395442, "W-SUN": 0.009924292322614381, "D": -0.000337601068857718, "H": -0.0004106143982137711, "15T": 0.0017468468609213028, "W-FRI": 0.0015954103228104088, "10T": 0.0016902448197386732, "W-TUE": -0.021206499546449487, "W-THU": 0.002327210402568669, "W-WED": -0.0006048046974167498, "5T": 0.00137609860180532, "10S": -0.0012190266410473383}}, "cpu_seconds": 3.160733606899157}, {"cutoff": "valid_backcast3", "skill": 0.3928349019291829, "control_skill": 0.3928204343355648, "delta": 1.4467593618117114e-05, "groups": {"term": {"short": 0.3979990711275432, "medium": 0.3718944414184592, "long": 0.39972660239069135}, "domain": {"Econ/Fin": 0.1918528924020163, "Energy": 0.3194076629319105, "Healthcare": 0.2379658962711424, "Nature": 0.508075572513706, "Sales": 0.40386469156469385, "Transport": 0.5126069399879463, "Web/CloudOps": 0.40009299351864624}, "freq": {"A-DEC": 0.3610310384013814, "Q-DEC": 0.26270153125987217, "M": 0.1478243478998057, "W-SUN": 0.1749840554744284, "D": 0.44442387004267214, "H": 0.40947638058906866, "15T": 0.2589060819854081, "W-FRI": 0.041384655614342125, "10T": 0.6042590264705352, "W-TUE": 0.2829189507620672, "W-THU": 0.3435745424656176, "W-WED": 0.37388652896545693, "5T": 0.47123445884488524, "10S": 0.29219007122444685}}, "group_deltas": {"term": {"short": 0.00034799667199358897, "medium": -0.00032195210225138826, "long": -0.0005916547966606789}, "domain": {"Econ/Fin": 0.0026274192179935874, "Energy": 0.0004198602631588777, "Healthcare": -0.0018668707321964906, "Nature": -0.0021776576692187355, "Sales": 0.0007624338730021218, "Transport": 0.0011898906956698818, "Web/CloudOps": 0.0001282671226101595}, "freq": {"A-DEC": 0.002897364732667773, "Q-DEC": 0.00024058122661985148, "M": -0.0026754021663683014, "W-SUN": 0.004152506234445519, "D": 0.0006455516357561919, "H": 0.0002651650894490709, "15T": -0.0008473575991772009, "W-FRI": -0.001924335287768919, "10T": 0.0011361723999093742, "W-TUE": 0.0003600536753383121, "W-THU": -0.007689208493001143, "W-WED": 0.002034211822345089, "5T": 0.0010919100951652938, "10S": -0.0022690311740896085}}, "cpu_seconds": 3.08497832599096}], "positive_cutoffs": 4, "mean_delta": 0.00026845641419384614, "seconds": 13.781859948066995, "optimizer_updates": 0, "new_neural_inference": false, "selection_gate_passed": true}. No automaticpublication. + +## E152 ensemble_gate_refresh 12000 valid_screen +- Checkpoint SHA-256: `0627f00b35c37d5fccaafd90f001bb6f9498bbe6272640dc636dade2e379cef5`. +- Evaluation: 97 configurations, 9473 instances, 0 failed configurations; 84.1951649398543 seconds. +- Overall skill 0.389091; relative MASE 0.732438; relative WQL 0.509544. +- term skill: long=0.4077, medium=0.4121, short=0.3727. +- domain skill: Econ/Fin=0.1509, Energy=0.2474, Healthcare=0.4910, Nature=0.4440, Sales=0.3446, Transport=0.4758, Web/CloudOps=0.5076. +- frequency skill: A=0.3805, D=0.3763, H=0.4043, M=0.1165, Q=0.2033, S=0.4250, T=0.4468, W=0.2457. +- variates skill: multivariate=0.4009, univariate=0.3795. +- Outcome: Declared expert-version/corpus-coverage factorial. Only6340gateparameters trained; all four immutable experts forecast every instance. Source/control/current comparisons precede any full replay. + +## E152 ensemble_gate_refresh 12000 valid_backcast +- Checkpoint SHA-256: `0627f00b35c37d5fccaafd90f001bb6f9498bbe6272640dc636dade2e379cef5`. +- Evaluation: 97 configurations, 9330 instances, 0 failed configurations; 104.69007901009172 seconds. +- Overall skill 0.345330; relative MASE 0.788160; relative WQL 0.543790. +- term skill: long=0.4058, medium=0.3633, short=0.3134. +- domain skill: Econ/Fin=0.1823, Energy=0.2349, Healthcare=0.3998, Nature=0.3844, Sales=0.4081, Transport=0.3799, Web/CloudOps=0.4572. +- frequency skill: A=0.3265, D=0.3638, H=0.3791, M=0.1916, Q=0.2379, S=0.3460, T=0.3406, W=0.2919. +- variates skill: multivariate=0.3628, univariate=0.3311. +- Outcome: Declared expert-version/corpus-coverage factorial. Only6340gateparameters trained; all four immutable experts forecast every instance. Source/control/current comparisons precede any full replay. + +## E152 ensemble_gate_refresh 12000 valid_backcast2 +- Checkpoint SHA-256: `0627f00b35c37d5fccaafd90f001bb6f9498bbe6272640dc636dade2e379cef5`. +- Evaluation: 94 configurations, 8934 instances, 0 failed configurations; 102.46246260008775 seconds. +- Overall skill 0.370069; relative MASE 0.759547; relative WQL 0.522434. +- term skill: long=0.3745, medium=0.3982, short=0.3572. +- domain skill: Econ/Fin=0.1322, Energy=0.2430, Healthcare=0.3556, Nature=0.4846, Sales=0.5586, Transport=0.4293, Web/CloudOps=0.4465. +- frequency skill: A=0.3399, D=0.4341, H=0.4007, M=0.1777, Q=0.1578, S=0.2902, T=0.3705, W=0.2860. +- variates skill: multivariate=0.3719, univariate=0.3686. +- Outcome: Declared expert-version/corpus-coverage factorial. Only6340gateparameters trained; all four immutable experts forecast every instance. Source/control/current comparisons precede any full replay. + +## E152 ensemble_gate_refresh 12000 valid_backcast3 +- Checkpoint SHA-256: `0627f00b35c37d5fccaafd90f001bb6f9498bbe6272640dc636dade2e379cef5`. +- Evaluation: 93 configurations, 8812 instances, 0 failed configurations; 100.05093187699094 seconds. +- Overall skill 0.391954; relative MASE 0.737893; relative WQL 0.501048. +- term skill: long=0.3989, medium=0.3711, short=0.3971. +- domain skill: Econ/Fin=0.1939, Energy=0.3179, Healthcare=0.2364, Nature=0.5059, Sales=0.4045, Transport=0.5136, Web/CloudOps=0.3988. +- frequency skill: A=0.3640, D=0.4445, H=0.4086, M=0.1465, Q=0.2616, S=0.2907, T=0.4334, W=0.2494. +- variates skill: multivariate=0.3746, univariate=0.4053. +- Outcome: Declared expert-version/corpus-coverage factorial. Only6340gateparameters trained; all four immutable experts forecast every instance. Source/control/current comparisons precede any full replay. + +E152 ensemble_gate_refresh vs ensemble_gate at12000: {"label": "E152 ensemble_gate_refresh vs ensemble_gate at12000", "utc": "2026-10-24T02:00:16.921334+00:00", "candidate": "ensemble_gate_refresh_ema12000", "control": "ensemble_gate_ema12000", "rows": [{"cutoff": "evals", "candidate_skill": 0.38909117763833057, "control_skill": 0.38876599429759673, "delta": 0.0003251833407338367, "candidate_checkpoint": "0627f00b35c37d5fccaafd90f001bb6f9498bbe6272640dc636dade2e379cef5", "control_checkpoint": "5ae58d104309db60a53cca11cbbceb7ff8f587b6e32b60888d22a37e9b021dfe", "candidate_eval_seconds": 84.1951649398543, "candidate_groups": {"term": {"long": {"n_configs": 21, "rel_mase_gmean": 0.7375364402468448, "rel_wql_gmean": 0.4756565022459154}, "medium": {"n_configs": 21, "rel_mase_gmean": 0.7063141792940849, "rel_wql_gmean": 0.4892945029744962}, "short": {"n_configs": 55, "rel_mase_gmean": 0.7407011147679528, "rel_wql_gmean": 0.5312736962809304}}, "domain": {"Econ/Fin": {"n_configs": 6, "rel_mase_gmean": 0.8621191481130345, "rel_wql_gmean": 0.8361906349510538}, "Energy": {"n_configs": 32, "rel_mase_gmean": 0.8920138587471815, "rel_wql_gmean": 0.6350502881056725}, "Healthcare": {"n_configs": 5, "rel_mase_gmean": 0.5366342026514499, "rel_wql_gmean": 0.482851060377425}, "Nature": {"n_configs": 15, "rel_mase_gmean": 0.7984119419856038, "rel_wql_gmean": 0.3872116569643627}, "Sales": {"n_configs": 4, "rel_mase_gmean": 0.840749015422885, "rel_wql_gmean": 0.5109499963706652}, "Transport": {"n_configs": 15, "rel_mase_gmean": 0.6355266781054462, "rel_wql_gmean": 0.4324195475474404}, "Web/CloudOps": {"n_configs": 20, "rel_mase_gmean": 0.5578282502561254, "rel_wql_gmean": 0.4346387734750246}}, "frequency": {"A": {"n_configs": 1, "rel_mase_gmean": 0.608657379686137, "rel_wql_gmean": 0.6305980560433666}, "D": {"n_configs": 15, "rel_mase_gmean": 0.7514551672320674, "rel_wql_gmean": 0.5176224511877894}, "H": {"n_configs": 31, "rel_mase_gmean": 0.7259462955113452, "rel_wql_gmean": 0.48876010634535333}, "M": {"n_configs": 5, "rel_mase_gmean": 0.96395734004057, "rel_wql_gmean": 0.8097695422339052}, "Q": {"n_configs": 1, "rel_mase_gmean": 0.7690363556733967, "rel_wql_gmean": 0.8252830299402244}, "S": {"n_configs": 6, "rel_mase_gmean": 0.6568211564699623, "rel_wql_gmean": 0.5034491011698659}, "T": {"n_configs": 30, "rel_mase_gmean": 0.6825954474580984, "rel_wql_gmean": 0.4483844966346045}, "W": {"n_configs": 8, "rel_mase_gmean": 0.8749827137380294, "rel_wql_gmean": 0.6503295518529567}}, "variates": {"multivariate": {"n_configs": 43, "rel_mase_gmean": 0.7070092213492694, "rel_wql_gmean": 0.5076325674170397}, "univariate": {"n_configs": 54, "rel_mase_gmean": 0.7533393769673566, "rel_wql_gmean": 0.511071701436714}}}, "control_groups": {"term": {"long": {"n_configs": 21, "rel_mase_gmean": 0.7365977614717659, "rel_wql_gmean": 0.47582331053701155}, "medium": {"n_configs": 21, "rel_mase_gmean": 0.7061071446542071, "rel_wql_gmean": 0.49009387634194207}, "short": {"n_configs": 55, "rel_mase_gmean": 0.7405503887929451, "rel_wql_gmean": 0.532295572407821}}, "domain": {"Econ/Fin": {"n_configs": 6, "rel_mase_gmean": 0.8619712033731046, "rel_wql_gmean": 0.8360652826681829}, "Energy": {"n_configs": 32, "rel_mase_gmean": 0.8917990786476028, "rel_wql_gmean": 0.6350603224400466}, "Healthcare": {"n_configs": 5, "rel_mase_gmean": 0.5434876190719932, "rel_wql_gmean": 0.49308959634552224}, "Nature": {"n_configs": 15, "rel_mase_gmean": 0.7960112811139666, "rel_wql_gmean": 0.38716249511301304}, "Sales": {"n_configs": 4, "rel_mase_gmean": 0.8424299418268225, "rel_wql_gmean": 0.5125742701697718}, "Transport": {"n_configs": 15, "rel_mase_gmean": 0.6346223105732777, "rel_wql_gmean": 0.4332312457024731}, "Web/CloudOps": {"n_configs": 20, "rel_mase_gmean": 0.5567062412657278, "rel_wql_gmean": 0.4347233367578228}}, "frequency": {"A": {"n_configs": 1, "rel_mase_gmean": 0.6101039280438315, "rel_wql_gmean": 0.6292910688977681}, "D": {"n_configs": 15, "rel_mase_gmean": 0.7503809430821773, "rel_wql_gmean": 0.5185216007691995}, "H": {"n_configs": 31, "rel_mase_gmean": 0.7258026917232355, "rel_wql_gmean": 0.4902627677729598}, "M": {"n_configs": 5, "rel_mase_gmean": 0.9685689529422883, "rel_wql_gmean": 0.8151865289550453}, "Q": {"n_configs": 1, "rel_mase_gmean": 0.7689190063510615, "rel_wql_gmean": 0.8275202114903546}, "S": {"n_configs": 6, "rel_mase_gmean": 0.6567563259947116, "rel_wql_gmean": 0.5041683422067675}, "T": {"n_configs": 30, "rel_mase_gmean": 0.6811976372671397, "rel_wql_gmean": 0.4477430022460635}, "W": {"n_configs": 8, "rel_mase_gmean": 0.8771182893674765, "rel_wql_gmean": 0.6524916887581507}}, "variates": {"multivariate": {"n_configs": 43, "rel_mase_gmean": 0.7061203660151012, "rel_wql_gmean": 0.5080890958691652}, "univariate": {"n_configs": 54, "rel_mase_gmean": 0.7534788981966656, "rel_wql_gmean": 0.512101293838852}}}, "group_skill_delta": {"term": {"long": -0.0002732527055782086, "medium": 0.000393781151675765, "short": 0.0005391160606782464}, "domain": {"Econ/Fin": -0.00013649200737275713, "Energy": -8.467127096356553e-05, "Healthcare": 0.008642859422561266, "Nature": -0.000871788137943863, "Sales": 0.001696860857325455, "Transport": 0.00011830897198161772, "Web/CloudOps": -0.0004475991684613212}, "frequency": {"A": 9.263788560986974e-05, "D": 9.512421675794691e-05, "H": 0.000855950792742366, "M": 0.005068092760898146, "Q": 0.0010182017725923753, "S": 0.0003822150041169481, "T": -0.0009622251653136349, "W": 0.002174453478791305}, "variates": {"multivariate": -0.0001075471683323892, "univariate": 0.0006822134363552168}}}, {"cutoff": "backcast_evals", "candidate_skill": 0.3453297654244577, "control_skill": 0.3443602645537439, "delta": 0.0009695008707137909, "candidate_checkpoint": "0627f00b35c37d5fccaafd90f001bb6f9498bbe6272640dc636dade2e379cef5", "control_checkpoint": "5ae58d104309db60a53cca11cbbceb7ff8f587b6e32b60888d22a37e9b021dfe", "candidate_eval_seconds": 104.69007901009172, "candidate_groups": {"term": {"long": {"n_configs": 21, "rel_mase_gmean": 0.7676220607244513, "rel_wql_gmean": 0.45992106861163}, "medium": {"n_configs": 21, "rel_mase_gmean": 0.7676804281403041, "rel_wql_gmean": 0.5281054897867713}, "short": {"n_configs": 55, "rel_mase_gmean": 0.8041890686557752, "rel_wql_gmean": 0.5862195037455361}}, "domain": {"Econ/Fin": {"n_configs": 6, "rel_mase_gmean": 0.8518663472394531, "rel_wql_gmean": 0.7849884556383689}, "Energy": {"n_configs": 32, "rel_mase_gmean": 0.8838101278874764, "rel_wql_gmean": 0.6623713054426233}, "Healthcare": {"n_configs": 5, "rel_mase_gmean": 0.6489305222745076, "rel_wql_gmean": 0.5551765540481204}, "Nature": {"n_configs": 15, "rel_mase_gmean": 0.9043511997922119, "rel_wql_gmean": 0.4189816131944461}, "Sales": {"n_configs": 4, "rel_mase_gmean": 0.720252090840119, "rel_wql_gmean": 0.48638711439701}, "Transport": {"n_configs": 15, "rel_mase_gmean": 0.731766376687201, "rel_wql_gmean": 0.5255541124674376}, "Web/CloudOps": {"n_configs": 20, "rel_mase_gmean": 0.653453722871606, "rel_wql_gmean": 0.4508219151669207}}, "frequency": {"A": {"n_configs": 1, "rel_mase_gmean": 0.6373833338421884, "rel_wql_gmean": 0.7116735748665814}, "D": {"n_configs": 15, "rel_mase_gmean": 0.8262896811102005, "rel_wql_gmean": 0.48987005266833555}, "H": {"n_configs": 31, "rel_mase_gmean": 0.7655395661446592, "rel_wql_gmean": 0.5035506471600433}, "M": {"n_configs": 5, "rel_mase_gmean": 0.8461583064494218, "rel_wql_gmean": 0.7723430885031082}, "Q": {"n_configs": 1, "rel_mase_gmean": 0.7554015238303505, "rel_wql_gmean": 0.768908902469066}, "S": {"n_configs": 6, "rel_mase_gmean": 0.8495210531424581, "rel_wql_gmean": 0.5035262151640457}, "T": {"n_configs": 30, "rel_mase_gmean": 0.7607651575751105, "rel_wql_gmean": 0.571493137703488}, "W": {"n_configs": 8, "rel_mase_gmean": 0.8607963994819443, "rel_wql_gmean": 0.5825350986885474}}, "variates": {"multivariate": {"n_configs": 43, "rel_mase_gmean": 0.7780083901244502, "rel_wql_gmean": 0.5219011811803469}, "univariate": {"n_configs": 54, "rel_mase_gmean": 0.7963379833305909, "rel_wql_gmean": 0.5618739912206697}}}, "control_groups": {"term": {"long": {"n_configs": 21, "rel_mase_gmean": 0.7688054523761951, "rel_wql_gmean": 0.4623496840596185}, "medium": {"n_configs": 21, "rel_mase_gmean": 0.7680721037346657, "rel_wql_gmean": 0.5289916523454897}, "short": {"n_configs": 55, "rel_mase_gmean": 0.8043273414604368, "rel_wql_gmean": 0.587166294915086}}, "domain": {"Econ/Fin": {"n_configs": 6, "rel_mase_gmean": 0.8511022246024794, "rel_wql_gmean": 0.785128735422025}, "Energy": {"n_configs": 32, "rel_mase_gmean": 0.8832051411168804, "rel_wql_gmean": 0.6622071578357404}, "Healthcare": {"n_configs": 5, "rel_mase_gmean": 0.6505975104644636, "rel_wql_gmean": 0.5593079225242267}, "Nature": {"n_configs": 15, "rel_mase_gmean": 0.9049801612151203, "rel_wql_gmean": 0.42044177344443956}, "Sales": {"n_configs": 4, "rel_mase_gmean": 0.7199768643833949, "rel_wql_gmean": 0.4871936934826317}, "Transport": {"n_configs": 15, "rel_mase_gmean": 0.7320038020790084, "rel_wql_gmean": 0.5274235196996094}, "Web/CloudOps": {"n_configs": 20, "rel_mase_gmean": 0.6551948774214172, "rel_wql_gmean": 0.45290684445581997}}, "frequency": {"A": {"n_configs": 1, "rel_mase_gmean": 0.6367776857138926, "rel_wql_gmean": 0.7093042266491602}, "D": {"n_configs": 15, "rel_mase_gmean": 0.8289094279572292, "rel_wql_gmean": 0.4908829008827018}, "H": {"n_configs": 31, "rel_mase_gmean": 0.765737372210673, "rel_wql_gmean": 0.5054793167986653}, "M": {"n_configs": 5, "rel_mase_gmean": 0.8393585108325342, "rel_wql_gmean": 0.7689247373261452}, "Q": {"n_configs": 1, "rel_mase_gmean": 0.7554614998266875, "rel_wql_gmean": 0.7732403821233665}, "S": {"n_configs": 6, "rel_mase_gmean": 0.8492769495848378, "rel_wql_gmean": 0.5048283597063994}, "T": {"n_configs": 30, "rel_mase_gmean": 0.7615827211816337, "rel_wql_gmean": 0.5725010493702674}, "W": {"n_configs": 8, "rel_mase_gmean": 0.861629788311694, "rel_wql_gmean": 0.5852072490098833}}, "variates": {"multivariate": {"n_configs": 43, "rel_mase_gmean": 0.7789725827874164, "rel_wql_gmean": 0.5234037463113075}, "univariate": {"n_configs": 54, "rel_mase_gmean": 0.7963270649080393, "rel_wql_gmean": 0.5630295689459095}}}, "group_skill_delta": {"term": {"long": 0.0020257418868007138, "medium": 0.0006965332941999414, "short": 0.000613313125898407}, "domain": {"Econ/Fin": -0.0002938091487244554, "Energy": -0.0003566945407873501, "Healthcare": 0.0030024667357420043, "Nature": 0.001286065712966078, "Sales": 0.00037736505366359197, "Transport": 0.0012027353982881905, "Web/CloudOps": 0.0019779120868599342}, "frequency": {"A": -0.001441600499625495, "D": 0.0016661864107766489, "H": 0.0012682479492688303, "M": -0.005038531104761379, "Q": 0.002173957581856345, "S": 0.0007510387405866847, "T": 0.0009357112884404994, "W": 0.0019657615083877866}, "variates": {"multivariate": 0.0013119183367291676, "univariate": 0.0006829137217598813}}}, {"cutoff": "backcast2_evals", "candidate_skill": 0.3700688317538089, "control_skill": 0.3690940997454023, "delta": 0.0009747320084065869, "candidate_checkpoint": "0627f00b35c37d5fccaafd90f001bb6f9498bbe6272640dc636dade2e379cef5", "control_checkpoint": "5ae58d104309db60a53cca11cbbceb7ff8f587b6e32b60888d22a37e9b021dfe", "candidate_eval_seconds": 102.46246260008775, "candidate_groups": {"term": {"long": {"n_configs": 19, "rel_mase_gmean": 0.7895334565640594, "rel_wql_gmean": 0.4955422384493449}, "medium": {"n_configs": 21, "rel_mase_gmean": 0.7460254354756518, "rel_wql_gmean": 0.4855087389706554}, "short": {"n_configs": 54, "rel_mase_gmean": 0.754522037212207, "rel_wql_gmean": 0.5476293022095663}}, "domain": {"Econ/Fin": {"n_configs": 6, "rel_mase_gmean": 0.8607347490719534, "rel_wql_gmean": 0.8749910711598934}, "Energy": {"n_configs": 32, "rel_mase_gmean": 0.8954423179745069, "rel_wql_gmean": 0.6400235162823419}, "Healthcare": {"n_configs": 5, "rel_mase_gmean": 0.6954885767040857, "rel_wql_gmean": 0.5970789486382398}, "Nature": {"n_configs": 15, "rel_mase_gmean": 0.7432406852766494, "rel_wql_gmean": 0.35737562619069185}, "Sales": {"n_configs": 3, "rel_mase_gmean": 0.5555575362135674, "rel_wql_gmean": 0.3506775093269439}, "Transport": {"n_configs": 14, "rel_mase_gmean": 0.6611692141251759, "rel_wql_gmean": 0.4925308336338406}, "Web/CloudOps": {"n_configs": 19, "rel_mase_gmean": 0.6704348474814841, "rel_wql_gmean": 0.4570236956741581}}, "frequency": {"A": {"n_configs": 1, "rel_mase_gmean": 0.5790167341803814, "rel_wql_gmean": 0.752549096176298}, "D": {"n_configs": 15, "rel_mase_gmean": 0.7231669803529502, "rel_wql_gmean": 0.4428081288380593}, "H": {"n_configs": 30, "rel_mase_gmean": 0.7481619334542681, "rel_wql_gmean": 0.4801350765474612}, "M": {"n_configs": 4, "rel_mase_gmean": 0.8000104297238203, "rel_wql_gmean": 0.8452390409613438}, "Q": {"n_configs": 1, "rel_mase_gmean": 0.8220852129130282, "rel_wql_gmean": 0.862864887560331}, "S": {"n_configs": 6, "rel_mase_gmean": 0.8996999065339488, "rel_wql_gmean": 0.5599966130915159}, "T": {"n_configs": 29, "rel_mase_gmean": 0.7467426046943597, "rel_wql_gmean": 0.5306283639934273}, "W": {"n_configs": 8, "rel_mase_gmean": 0.8239412758610375, "rel_wql_gmean": 0.6187965678840915}}, "variates": {"multivariate": {"n_configs": 42, "rel_mase_gmean": 0.77561791681341, "rel_wql_gmean": 0.5087033139837519}, "univariate": {"n_configs": 52, "rel_mase_gmean": 0.7468105041470011, "rel_wql_gmean": 0.53379418916909}}}, "control_groups": {"term": {"long": {"n_configs": 19, "rel_mase_gmean": 0.7905843117969271, "rel_wql_gmean": 0.49786500904722053}, "medium": {"n_configs": 21, "rel_mase_gmean": 0.7465989159970967, "rel_wql_gmean": 0.4878439932977569}, "short": {"n_configs": 54, "rel_mase_gmean": 0.7541243641882015, "rel_wql_gmean": 0.5485237002837723}}, "domain": {"Econ/Fin": {"n_configs": 6, "rel_mase_gmean": 0.8600470933942402, "rel_wql_gmean": 0.8750749999999478}, "Energy": {"n_configs": 32, "rel_mase_gmean": 0.8953120273068197, "rel_wql_gmean": 0.6410637699465395}, "Healthcare": {"n_configs": 5, "rel_mase_gmean": 0.693123924324533, "rel_wql_gmean": 0.5959717650385814}, "Nature": {"n_configs": 15, "rel_mase_gmean": 0.7416972081272143, "rel_wql_gmean": 0.3580121136767604}, "Sales": {"n_configs": 3, "rel_mase_gmean": 0.5556945109020246, "rel_wql_gmean": 0.3512784662014784}, "Transport": {"n_configs": 14, "rel_mase_gmean": 0.6615770033022241, "rel_wql_gmean": 0.4946057221073404}, "Web/CloudOps": {"n_configs": 19, "rel_mase_gmean": 0.6725989706828684, "rel_wql_gmean": 0.46049560252990274}}, "frequency": {"A": {"n_configs": 1, "rel_mase_gmean": 0.5789122192013664, "rel_wql_gmean": 0.7493174850062028}, "D": {"n_configs": 15, "rel_mase_gmean": 0.7227737164316042, "rel_wql_gmean": 0.4433096525869345}, "H": {"n_configs": 30, "rel_mase_gmean": 0.7484865982331981, "rel_wql_gmean": 0.4817994144590065}, "M": {"n_configs": 4, "rel_mase_gmean": 0.7972026402584701, "rel_wql_gmean": 0.8460833161801249}, "Q": {"n_configs": 1, "rel_mase_gmean": 0.823758485578255, "rel_wql_gmean": 0.8637555975720498}, "S": {"n_configs": 6, "rel_mase_gmean": 0.8998648063552365, "rel_wql_gmean": 0.5633403623010557}, "T": {"n_configs": 29, "rel_mase_gmean": 0.7475997077631884, "rel_wql_gmean": 0.53299962927887}, "W": {"n_configs": 8, "rel_mase_gmean": 0.8224932588467433, "rel_wql_gmean": 0.6181162859705895}}, "variates": {"multivariate": {"n_configs": 42, "rel_mase_gmean": 0.7763676434664911, "rel_wql_gmean": 0.5111393153827358}, "univariate": {"n_configs": 52, "rel_mase_gmean": 0.7464136787719601, "rel_wql_gmean": 0.5345861860037492}}}, "group_skill_delta": {"term": {"long": 0.0018813420827776817, "medium": 0.0016774730534617754, "short": 0.0003551495299073393}, "domain": {"Econ/Fin": -0.0003051292925858595, "Energy": 0.0005598469735902389, "Healthcare": -0.0016931560376481913, "Nature": -7.715291597465423e-05, "Sales": 0.00043249603835932016, "Transport": 0.0013770606838776622, "Web/CloudOps": 0.0029946337358169872}, "frequency": {"A": -0.0014782931515512354, "D": 0.00016639468322421358, "H": 0.0011681456521241973, "M": -0.001034437719461656, "Q": 0.0012917338756903707, "S": 0.0021812259155703506, "T": 0.001766890834121071, "W": -0.0010199688653533823}, "variates": {"multivariate": 0.0018064120120956373, "univariate": 0.00030032852743611116}}}, {"cutoff": "backcast3_evals", "candidate_skill": 0.3919540331643486, "control_skill": 0.3911302942468521, "delta": 0.0008237389174965415, "candidate_checkpoint": "0627f00b35c37d5fccaafd90f001bb6f9498bbe6272640dc636dade2e379cef5", "control_checkpoint": "5ae58d104309db60a53cca11cbbceb7ff8f587b6e32b60888d22a37e9b021dfe", "candidate_eval_seconds": 100.05093187699094, "candidate_groups": {"term": {"long": {"n_configs": 19, "rel_mase_gmean": 0.764099153530884, "rel_wql_gmean": 0.4728192913943981}, "medium": {"n_configs": 20, "rel_mase_gmean": 0.7597999819906668, "rel_wql_gmean": 0.5205467569547149}, "short": {"n_configs": 54, "rel_mase_gmean": 0.7210317439355491, "rel_wql_gmean": 0.5041967476141229}}, "domain": {"Econ/Fin": {"n_configs": 6, "rel_mase_gmean": 0.8168099644023933, "rel_wql_gmean": 0.7954758791647711}, "Energy": {"n_configs": 32, "rel_mase_gmean": 0.8380568274014906, "rel_wql_gmean": 0.5551215022967795}, "Healthcare": {"n_configs": 5, "rel_mase_gmean": 0.8555572128983768, "rel_wql_gmean": 0.6815586246703882}, "Nature": {"n_configs": 15, "rel_mase_gmean": 0.724524189074702, "rel_wql_gmean": 0.3369056647225379}, "Sales": {"n_configs": 3, "rel_mase_gmean": 0.7490225849302903, "rel_wql_gmean": 0.4734428142574786}, "Transport": {"n_configs": 14, "rel_mase_gmean": 0.5373511494565061, "rel_wql_gmean": 0.44020199090586026}, "Web/CloudOps": {"n_configs": 18, "rel_mase_gmean": 0.7076516987194846, "rel_wql_gmean": 0.5107371795280623}}, "frequency": {"A": {"n_configs": 1, "rel_mase_gmean": 0.52812888484988, "rel_wql_gmean": 0.7657862375486705}, "D": {"n_configs": 15, "rel_mase_gmean": 0.7345171470026636, "rel_wql_gmean": 0.4201722910261881}, "H": {"n_configs": 29, "rel_mase_gmean": 0.7259158217695474, "rel_wql_gmean": 0.4818632323244613}, "M": {"n_configs": 4, "rel_mase_gmean": 0.8656094618064755, "rel_wql_gmean": 0.8415488626903532}, "Q": {"n_configs": 1, "rel_mase_gmean": 0.7154552818253103, "rel_wql_gmean": 0.762007060322003}, "S": {"n_configs": 6, "rel_mase_gmean": 0.8404822701975425, "rel_wql_gmean": 0.5985781917313203}, "T": {"n_configs": 29, "rel_mase_gmean": 0.7010989639702245, "rel_wql_gmean": 0.4579204172924335}, "W": {"n_configs": 8, "rel_mase_gmean": 0.8332623760905156, "rel_wql_gmean": 0.6761968462971868}}, "variates": {"multivariate": {"n_configs": 41, "rel_mase_gmean": 0.7639831556416442, "rel_wql_gmean": 0.5119520153186932}, "univariate": {"n_configs": 52, "rel_mase_gmean": 0.7179510658830601, "rel_wql_gmean": 0.4926152013834997}}}, "control_groups": {"term": {"long": {"n_configs": 19, "rel_mase_gmean": 0.7644994787796191, "rel_wql_gmean": 0.475168686856866}, "medium": {"n_configs": 20, "rel_mase_gmean": 0.7594270684693935, "rel_wql_gmean": 0.5226076392330724}, "short": {"n_configs": 54, "rel_mase_gmean": 0.7204741885659599, "rel_wql_gmean": 0.5053207566108459}}, "domain": {"Econ/Fin": {"n_configs": 6, "rel_mase_gmean": 0.8170472820054627, "rel_wql_gmean": 0.7971698577475663}, "Energy": {"n_configs": 32, "rel_mase_gmean": 0.8362562312433086, "rel_wql_gmean": 0.5543116383351785}, "Healthcare": {"n_configs": 5, "rel_mase_gmean": 0.852141759919277, "rel_wql_gmean": 0.6842143635111066}, "Nature": {"n_configs": 15, "rel_mase_gmean": 0.725380080479915, "rel_wql_gmean": 0.33816795534011324}, "Sales": {"n_configs": 3, "rel_mase_gmean": 0.7503432955053887, "rel_wql_gmean": 0.47484644524369024}, "Transport": {"n_configs": 14, "rel_mase_gmean": 0.5376446600324237, "rel_wql_gmean": 0.44179964576520625}, "Web/CloudOps": {"n_configs": 18, "rel_mase_gmean": 0.7082340035397756, "rel_wql_gmean": 0.5162217563946113}}, "frequency": {"A": {"n_configs": 1, "rel_mase_gmean": 0.5302864581478796, "rel_wql_gmean": 0.7728833563449358}, "D": {"n_configs": 15, "rel_mase_gmean": 0.7346096434487994, "rel_wql_gmean": 0.4209853730035232}, "H": {"n_configs": 29, "rel_mase_gmean": 0.7257501768675807, "rel_wql_gmean": 0.483349548126662}, "M": {"n_configs": 4, "rel_mase_gmean": 0.8625534579404655, "rel_wql_gmean": 0.8424007416326724}, "Q": {"n_configs": 1, "rel_mase_gmean": 0.7159931398050025, "rel_wql_gmean": 0.7629550268906894}, "S": {"n_configs": 6, "rel_mase_gmean": 0.8415207088514876, "rel_wql_gmean": 0.6068503311273111}, "T": {"n_configs": 29, "rel_mase_gmean": 0.7007962968429426, "rel_wql_gmean": 0.45871627936942655}, "W": {"n_configs": 8, "rel_mase_gmean": 0.8309243657333543, "rel_wql_gmean": 0.678560347612008}}, "variates": {"multivariate": {"n_configs": 41, "rel_mase_gmean": 0.7635684097891197, "rel_wql_gmean": 0.5139514128751824}, "univariate": {"n_configs": 52, "rel_mase_gmean": 0.7176835988111958, "rel_wql_gmean": 0.49388283158343527}}}, "group_skill_delta": {"term": {"long": 0.001649296085095231, "medium": 0.001089037549015237, "short": 0.0004382741149802083}, "domain": {"Econ/Fin": 0.0009750305614316668, "Energy": -0.0012303063347413046, "Healthcare": -4.240815880296456e-05, "Nature": 0.0012169692003502486, "Sales": 0.0014076462350317565, "Transport": 0.0010148356360733524, "Web/CloudOps": 0.00346793280786295}, "frequency": {"A": 0.004243829156835299, "D": 0.0005722682269968526, "H": 0.0008438528898497832, "M": -0.0010768348714349507, "Q": 0.0007367949228251902, "S": 0.00532531751235743, "T": 0.00036974516094379073, "W": 0.0002550319082371688}, "variates": {"multivariate": 0.0010499269218395835, "univariate": 0.0006537460968439879}}}], "mean_delta": 0.000773288784337689, "positive_cutoffs": 4, "outcome": "Fixed factorial contrast; no automatic package, transfer or publication."} + +2026-10-24T02:00:16.935645+00:00: E152 ensemble_gate_refresh {"step": 12000, "rows": [{"cutoff": "valid_screen", "skill": 0.38909117763833057, "frozen_control_skill": 0.3882279509777624, "delta_frozen": 0.0008632266605681505, "current_skill": 0.38873378968262917, "delta_current": 0.0003573879557013937, "groups": {"term": {"long": {"n_configs": 21, "rel_mase_gmean": 0.7375364402468448, "rel_wql_gmean": 0.4756565022459154}, "medium": {"n_configs": 21, "rel_mase_gmean": 0.7063141792940849, "rel_wql_gmean": 0.4892945029744962}, "short": {"n_configs": 55, "rel_mase_gmean": 0.7407011147679528, "rel_wql_gmean": 0.5312736962809304}}, "domain": {"Econ/Fin": {"n_configs": 6, "rel_mase_gmean": 0.8621191481130345, "rel_wql_gmean": 0.8361906349510538}, "Energy": {"n_configs": 32, "rel_mase_gmean": 0.8920138587471815, "rel_wql_gmean": 0.6350502881056725}, "Healthcare": {"n_configs": 5, "rel_mase_gmean": 0.5366342026514499, "rel_wql_gmean": 0.482851060377425}, "Nature": {"n_configs": 15, "rel_mase_gmean": 0.7984119419856038, "rel_wql_gmean": 0.3872116569643627}, "Sales": {"n_configs": 4, "rel_mase_gmean": 0.840749015422885, "rel_wql_gmean": 0.5109499963706652}, "Transport": {"n_configs": 15, "rel_mase_gmean": 0.6355266781054462, "rel_wql_gmean": 0.4324195475474404}, "Web/CloudOps": {"n_configs": 20, "rel_mase_gmean": 0.5578282502561254, "rel_wql_gmean": 0.4346387734750246}}, "frequency": {"A": {"n_configs": 1, "rel_mase_gmean": 0.608657379686137, "rel_wql_gmean": 0.6305980560433666}, "D": {"n_configs": 15, "rel_mase_gmean": 0.7514551672320674, "rel_wql_gmean": 0.5176224511877894}, "H": {"n_configs": 31, "rel_mase_gmean": 0.7259462955113452, "rel_wql_gmean": 0.48876010634535333}, "M": {"n_configs": 5, "rel_mase_gmean": 0.96395734004057, "rel_wql_gmean": 0.8097695422339052}, "Q": {"n_configs": 1, "rel_mase_gmean": 0.7690363556733967, "rel_wql_gmean": 0.8252830299402244}, "S": {"n_configs": 6, "rel_mase_gmean": 0.6568211564699623, "rel_wql_gmean": 0.5034491011698659}, "T": {"n_configs": 30, "rel_mase_gmean": 0.6825954474580984, "rel_wql_gmean": 0.4483844966346045}, "W": {"n_configs": 8, "rel_mase_gmean": 0.8749827137380294, "rel_wql_gmean": 0.6503295518529567}}, "variates": {"multivariate": {"n_configs": 43, "rel_mase_gmean": 0.7070092213492694, "rel_wql_gmean": 0.5076325674170397}, "univariate": {"n_configs": 54, "rel_mase_gmean": 0.7533393769673566, "rel_wql_gmean": 0.511071701436714}}}, "checkpoint_sha256": "0627f00b35c37d5fccaafd90f001bb6f9498bbe6272640dc636dade2e379cef5", "expert_descriptor_sha256": "a1b4ab426901be8e1ee299eeeb3f041bac7cea3d4e59c4608824fc3d05c83e03", "eval_seconds": 84.1951649398543}, {"cutoff": "valid_backcast", "skill": 0.3453297654244577, "frozen_control_skill": 0.3456661156587746, "delta_frozen": -0.0003363502343168845, "current_skill": 0.3457740680188046, "delta_current": -0.00044430259434691255, "groups": {"term": {"long": {"n_configs": 21, "rel_mase_gmean": 0.7676220607244513, "rel_wql_gmean": 0.45992106861163}, "medium": {"n_configs": 21, "rel_mase_gmean": 0.7676804281403041, "rel_wql_gmean": 0.5281054897867713}, "short": {"n_configs": 55, "rel_mase_gmean": 0.8041890686557752, "rel_wql_gmean": 0.5862195037455361}}, "domain": {"Econ/Fin": {"n_configs": 6, "rel_mase_gmean": 0.8518663472394531, "rel_wql_gmean": 0.7849884556383689}, "Energy": {"n_configs": 32, "rel_mase_gmean": 0.8838101278874764, "rel_wql_gmean": 0.6623713054426233}, "Healthcare": {"n_configs": 5, "rel_mase_gmean": 0.6489305222745076, "rel_wql_gmean": 0.5551765540481204}, "Nature": {"n_configs": 15, "rel_mase_gmean": 0.9043511997922119, "rel_wql_gmean": 0.4189816131944461}, "Sales": {"n_configs": 4, "rel_mase_gmean": 0.720252090840119, "rel_wql_gmean": 0.48638711439701}, "Transport": {"n_configs": 15, "rel_mase_gmean": 0.731766376687201, "rel_wql_gmean": 0.5255541124674376}, "Web/CloudOps": {"n_configs": 20, "rel_mase_gmean": 0.653453722871606, "rel_wql_gmean": 0.4508219151669207}}, "frequency": {"A": {"n_configs": 1, "rel_mase_gmean": 0.6373833338421884, "rel_wql_gmean": 0.7116735748665814}, "D": {"n_configs": 15, "rel_mase_gmean": 0.8262896811102005, "rel_wql_gmean": 0.48987005266833555}, "H": {"n_configs": 31, "rel_mase_gmean": 0.7655395661446592, "rel_wql_gmean": 0.5035506471600433}, "M": {"n_configs": 5, "rel_mase_gmean": 0.8461583064494218, "rel_wql_gmean": 0.7723430885031082}, "Q": {"n_configs": 1, "rel_mase_gmean": 0.7554015238303505, "rel_wql_gmean": 0.768908902469066}, "S": {"n_configs": 6, "rel_mase_gmean": 0.8495210531424581, "rel_wql_gmean": 0.5035262151640457}, "T": {"n_configs": 30, "rel_mase_gmean": 0.7607651575751105, "rel_wql_gmean": 0.571493137703488}, "W": {"n_configs": 8, "rel_mase_gmean": 0.8607963994819443, "rel_wql_gmean": 0.5825350986885474}}, "variates": {"multivariate": {"n_configs": 43, "rel_mase_gmean": 0.7780083901244502, "rel_wql_gmean": 0.5219011811803469}, "univariate": {"n_configs": 54, "rel_mase_gmean": 0.7963379833305909, "rel_wql_gmean": 0.5618739912206697}}}, "checkpoint_sha256": "0627f00b35c37d5fccaafd90f001bb6f9498bbe6272640dc636dade2e379cef5", "expert_descriptor_sha256": "a1b4ab426901be8e1ee299eeeb3f041bac7cea3d4e59c4608824fc3d05c83e03", "eval_seconds": 104.69007901009172}, {"cutoff": "valid_backcast2", "skill": 0.3700688317538089, "frozen_control_skill": 0.36966272417010304, "delta_frozen": 0.0004061075837058503, "current_skill": 0.37002279905979363, "delta_current": 4.603269401526333e-05, "groups": {"term": {"long": {"n_configs": 19, "rel_mase_gmean": 0.7895334565640594, "rel_wql_gmean": 0.4955422384493449}, "medium": {"n_configs": 21, "rel_mase_gmean": 0.7460254354756518, "rel_wql_gmean": 0.4855087389706554}, "short": {"n_configs": 54, "rel_mase_gmean": 0.754522037212207, "rel_wql_gmean": 0.5476293022095663}}, "domain": {"Econ/Fin": {"n_configs": 6, "rel_mase_gmean": 0.8607347490719534, "rel_wql_gmean": 0.8749910711598934}, "Energy": {"n_configs": 32, "rel_mase_gmean": 0.8954423179745069, "rel_wql_gmean": 0.6400235162823419}, "Healthcare": {"n_configs": 5, "rel_mase_gmean": 0.6954885767040857, "rel_wql_gmean": 0.5970789486382398}, "Nature": {"n_configs": 15, "rel_mase_gmean": 0.7432406852766494, "rel_wql_gmean": 0.35737562619069185}, "Sales": {"n_configs": 3, "rel_mase_gmean": 0.5555575362135674, "rel_wql_gmean": 0.3506775093269439}, "Transport": {"n_configs": 14, "rel_mase_gmean": 0.6611692141251759, "rel_wql_gmean": 0.4925308336338406}, "Web/CloudOps": {"n_configs": 19, "rel_mase_gmean": 0.6704348474814841, "rel_wql_gmean": 0.4570236956741581}}, "frequency": {"A": {"n_configs": 1, "rel_mase_gmean": 0.5790167341803814, "rel_wql_gmean": 0.752549096176298}, "D": {"n_configs": 15, "rel_mase_gmean": 0.7231669803529502, "rel_wql_gmean": 0.4428081288380593}, "H": {"n_configs": 30, "rel_mase_gmean": 0.7481619334542681, "rel_wql_gmean": 0.4801350765474612}, "M": {"n_configs": 4, "rel_mase_gmean": 0.8000104297238203, "rel_wql_gmean": 0.8452390409613438}, "Q": {"n_configs": 1, "rel_mase_gmean": 0.8220852129130282, "rel_wql_gmean": 0.862864887560331}, "S": {"n_configs": 6, "rel_mase_gmean": 0.8996999065339488, "rel_wql_gmean": 0.5599966130915159}, "T": {"n_configs": 29, "rel_mase_gmean": 0.7467426046943597, "rel_wql_gmean": 0.5306283639934273}, "W": {"n_configs": 8, "rel_mase_gmean": 0.8239412758610375, "rel_wql_gmean": 0.6187965678840915}}, "variates": {"multivariate": {"n_configs": 42, "rel_mase_gmean": 0.77561791681341, "rel_wql_gmean": 0.5087033139837519}, "univariate": {"n_configs": 52, "rel_mase_gmean": 0.7468105041470011, "rel_wql_gmean": 0.53379418916909}}}, "checkpoint_sha256": "0627f00b35c37d5fccaafd90f001bb6f9498bbe6272640dc636dade2e379cef5", "expert_descriptor_sha256": "a1b4ab426901be8e1ee299eeeb3f041bac7cea3d4e59c4608824fc3d05c83e03", "eval_seconds": 102.46246260008775}, {"cutoff": "valid_backcast3", "skill": 0.3919540331643486, "frozen_control_skill": 0.3921296782846404, "delta_frozen": -0.0001756451202917786, "current_skill": 0.3928204343355648, "delta_current": -0.000866401171216169, "groups": {"term": {"long": {"n_configs": 19, "rel_mase_gmean": 0.764099153530884, "rel_wql_gmean": 0.4728192913943981}, "medium": {"n_configs": 20, "rel_mase_gmean": 0.7597999819906668, "rel_wql_gmean": 0.5205467569547149}, "short": {"n_configs": 54, "rel_mase_gmean": 0.7210317439355491, "rel_wql_gmean": 0.5041967476141229}}, "domain": {"Econ/Fin": {"n_configs": 6, "rel_mase_gmean": 0.8168099644023933, "rel_wql_gmean": 0.7954758791647711}, "Energy": {"n_configs": 32, "rel_mase_gmean": 0.8380568274014906, "rel_wql_gmean": 0.5551215022967795}, "Healthcare": {"n_configs": 5, "rel_mase_gmean": 0.8555572128983768, "rel_wql_gmean": 0.6815586246703882}, "Nature": {"n_configs": 15, "rel_mase_gmean": 0.724524189074702, "rel_wql_gmean": 0.3369056647225379}, "Sales": {"n_configs": 3, "rel_mase_gmean": 0.7490225849302903, "rel_wql_gmean": 0.4734428142574786}, "Transport": {"n_configs": 14, "rel_mase_gmean": 0.5373511494565061, "rel_wql_gmean": 0.44020199090586026}, "Web/CloudOps": {"n_configs": 18, "rel_mase_gmean": 0.7076516987194846, "rel_wql_gmean": 0.5107371795280623}}, "frequency": {"A": {"n_configs": 1, "rel_mase_gmean": 0.52812888484988, "rel_wql_gmean": 0.7657862375486705}, "D": {"n_configs": 15, "rel_mase_gmean": 0.7345171470026636, "rel_wql_gmean": 0.4201722910261881}, "H": {"n_configs": 29, "rel_mase_gmean": 0.7259158217695474, "rel_wql_gmean": 0.4818632323244613}, "M": {"n_configs": 4, "rel_mase_gmean": 0.8656094618064755, "rel_wql_gmean": 0.8415488626903532}, "Q": {"n_configs": 1, "rel_mase_gmean": 0.7154552818253103, "rel_wql_gmean": 0.762007060322003}, "S": {"n_configs": 6, "rel_mase_gmean": 0.8404822701975425, "rel_wql_gmean": 0.5985781917313203}, "T": {"n_configs": 29, "rel_mase_gmean": 0.7010989639702245, "rel_wql_gmean": 0.4579204172924335}, "W": {"n_configs": 8, "rel_mase_gmean": 0.8332623760905156, "rel_wql_gmean": 0.6761968462971868}}, "variates": {"multivariate": {"n_configs": 41, "rel_mase_gmean": 0.7639831556416442, "rel_wql_gmean": 0.5119520153186932}, "univariate": {"n_configs": 52, "rel_mase_gmean": 0.7179510658830601, "rel_wql_gmean": 0.4926152013834997}}}, "checkpoint_sha256": "0627f00b35c37d5fccaafd90f001bb6f9498bbe6272640dc636dade2e379cef5", "expert_descriptor_sha256": "a1b4ab426901be8e1ee299eeeb3f041bac7cea3d4e59c4608824fc3d05c83e03", "eval_seconds": 100.05093187699094}], "positive_frozen": 2, "mean_delta_frozen": 0.00018933472241633442, "positive_current": 2, "mean_delta_current": -0.00022682077896160613, "current_descriptor_sha256": "20f014ca61a9cfa4f275d9d7abfd297561ac37fddcdae9ba2ef60d3fca106cf8", "selection_gate_passed": false}. Full replay/publication require separate review and fresh current-publication comparison. + +2026-10-24T02:00:36.886627+00:00: E172 privatepackage assembled descriptora75fdfcbb4d8e38dd6e7cded3c097ff0a129976fa63277bfd277a6031ccc6140,549432812parameters. Allsix ownexperts sharedplus6340fixedgate. Cachedfourcutoffs4of4mean+.000268456414; fullvalidation suite93928running with independentcomponent/actualforward/relocation checks. No publicationyet. + +2026-10-24T02:01:02.251736+00:00: E152 declared endpoint review {"utc": "2026-10-24T02:01:02.251736+00:00", "experiment": "E152", "run": "ensemble_gate_refresh", "step": 12000, "seed": 751, "checkpoint_sha256": "0627f00b35c37d5fccaafd90f001bb6f9498bbe6272640dc636dade2e379cef5", "expert_descriptor_sha256": "a1b4ab426901be8e1ee299eeeb3f041bac7cea3d4e59c4608824fc3d05c83e03", "current_descriptor_sha256": "20f014ca61a9cfa4f275d9d7abfd297561ac37fddcdae9ba2ef60d3fca106cf8", "training_loop_seconds_to_endpoint": 5930.0, "rows": [{"panel": "valid_screen", "skill": 0.38909117763833057, "delta_frozen": 0.0008632266605681505, "delta_current": 0.0003573879557013937, "evaluation_seconds": 84.1951649398543, "groups": {"term": {"long": 0.4077044627496187, "medium": 0.4121261654899595, "short": 0.37269224531959133}, "domain": {"Econ/Fin": 0.15094407848240055, "Energy": 0.2473555567257204, "Healthcare": 0.49096719773177033, "Nature": 0.4439834435950848, "Sales": 0.3445759339336376, "Transport": 0.47577279868297095, "Web/CloudOps": 0.5076040348448807}, "frequency": {"A": 0.38046940315547995, "D": 0.3763253527516186, "H": 0.4043376891265149, "M": 0.11649374989326466, "Q": 0.2033365492603989, "S": 0.42495563575133233, "T": 0.44676838836381383, "W": 0.24566113973603576}, "variates": {"multivariate": 0.4009166116298569, "univariate": 0.37950790726554706}}, "comparisons": {"frozen": {"positive_configs": 49, "total_configs": 97, "group_skill_delta": {"term": {"long": 0.0016969454888323687, "medium": 0.0011954894895008783, "short": 0.0003904750663026313}, "domain": {"Econ/Fin": 0.0019307937217942772, "Energy": -4.479651303024301e-05, "Healthcare": -0.00410208157881331, "Nature": 0.0026179635335839, "Sales": -3.4237825520810894e-05, "Transport": 0.0031631604343917985, "Web/CloudOps": 0.00012826753601569152}, "frequency": {"A": -0.003181169243730797, "D": 0.004190688175492063, "H": 0.0007498143457354001, "M": -0.010328696143976579, "Q": -0.002730807242631972, "S": 0.0009278540395871726, "T": 0.0017459438352542822, "W": -0.0036972825233853035}, "variates": {"multivariate": 0.00022565721626754964, "univariate": 0.0013893001832698815}}, "largest_regressions": [{"config_id": "us_births__M__short", "delta": -0.04344740236296818}, {"config_id": "bizitobs_l2c__H__short", "delta": -0.021728655444229306}, {"config_id": "us_births__W__short", "delta": -0.01777130586022091}, {"config_id": "ett2__T__short", "delta": -0.015865137732040235}, {"config_id": "covid_deaths__D__short", "delta": -0.015674263111834397}, {"config_id": "ett1__W__short", "delta": -0.013767525965382221}, {"config_id": "m4_hourly__H__short", "delta": -0.011900362707785161}, {"config_id": "ett1__D__short", "delta": -0.008149912685964322}], "largest_improvements": [{"config_id": "m4_weekly__W__short", "delta": 0.028587565286052663}, {"config_id": "M_DENSE__H__long", "delta": 0.019642517234891743}, {"config_id": "us_births__D__short", "delta": 0.016493410366432704}, {"config_id": "saugeenday__D__short", "delta": 0.012370427906181147}, {"config_id": "bizitobs_l2c__T__medium", "delta": 0.012192093313124985}, {"config_id": "ett1__H__long", "delta": 0.011480508742204187}, {"config_id": "M_DENSE__H__short", "delta": 0.011432627588159217}, {"config_id": "M_DENSE__H__medium", "delta": 0.010451420785373644}]}, "current": {"positive_configs": 48, "total_configs": 97, "group_skill_delta": {"term": {"long": 0.00046969451255918226, "medium": 0.00036583487367802814, "short": 0.0003082388036085293}, "domain": {"Econ/Fin": 0.0014347581207885263, "Energy": -0.00070279417902952, "Healthcare": 0.005856636146753913, "Nature": 0.0003706603436280931, "Sales": -0.0016399824321847722, "Transport": 0.0007488278155446393, "Web/CloudOps": -5.1489664295245596e-05}, "frequency": {"A": -0.0017164763724268894, "D": 0.0017327478750723824, "H": -0.00019377257193564645, "M": -0.0070048012466243925, "Q": -0.0028703689156100998, "S": -1.98114426925855e-05, "T": 0.0011984568329338474, "W": 0.0006293313369090114}, "variates": {"multivariate": -0.0006858183109560434, "univariate": 0.0012190048677713783}}, "largest_regressions": [{"config_id": "bizitobs_l2c__H__short", "delta": -0.02513151207157638}, {"config_id": "ett2__T__short", "delta": -0.024626754590139077}, {"config_id": "us_births__M__short", "delta": -0.02433570563299514}, {"config_id": "covid_deaths__D__short", "delta": -0.017406705684815504}, {"config_id": "LOOP_SEATTLE__T__short", "delta": -0.01536890320598816}, {"config_id": "ett1__W__short", "delta": -0.015249042002991153}, {"config_id": "saugeenday__W__short", "delta": -0.013498809614641671}, {"config_id": "M_DENSE__D__short", "delta": -0.0118696384012269}], "largest_improvements": [{"config_id": "m4_weekly__W__short", "delta": 0.025049189816531592}, {"config_id": "us_births__D__short", "delta": 0.018912487539874956}, {"config_id": "M_DENSE__H__short", "delta": 0.012364312926513299}, {"config_id": "M_DENSE__H__medium", "delta": 0.01062242802530311}, {"config_id": "M_DENSE__H__long", "delta": 0.010123858203648362}, {"config_id": "electricity__H__short", "delta": 0.010091563634774703}, {"config_id": "solar__T__short", "delta": 0.009967491464713762}, {"config_id": "bizitobs_l2c__T__short", "delta": 0.008873981568574774}]}}}, {"panel": "valid_backcast", "skill": 0.3453297654244577, "delta_frozen": -0.0003363502343168845, "delta_current": -0.00044430259434691255, "evaluation_seconds": 104.69007901009172, "groups": {"term": {"long": 0.405823630175138, "medium": 0.3632769452087088, "short": 0.3133914384855274}, "domain": {"Econ/Fin": 0.1822560007375188, "Energy": 0.23487878857514377, "Healthcare": 0.3997741998439186, "Nature": 0.3844461643501247, "Sales": 0.4081205054218058, "Transport": 0.3798525750812517, "Web/CloudOps": 0.4572373826266849}, "frequency": {"A": 0.3264950811197813, "D": 0.3637810364310443, "H": 0.3791232457574516, "M": 0.19159136585158498, "Q": 0.23787471068606125, "S": 0.3459693274845621, "T": 0.3406275203209582, "W": 0.29187281119634967}, "variates": {"multivariate": 0.36278457506572337, "univariate": 0.3310892428323654}}, "comparisons": {"frozen": {"positive_configs": 44, "total_configs": 97, "group_skill_delta": {"term": {"long": -0.001373945777590313, "medium": -0.0008189023877478441, "short": 0.00032207018241203755}, "domain": {"Econ/Fin": 0.0018207259520691688, "Energy": 6.338463063004784e-05, "Healthcare": -0.0076610869621899225, "Nature": 0.0031429196059968856, "Sales": 0.0005962809039313788, "Transport": 0.0021877080352056266, "Web/CloudOps": -0.003647475262722577}, "frequency": {"A": -0.005286043768152782, "D": -0.0004079765564386495, "H": 0.0027545793841753374, "M": 0.004113356874835383, "Q": 0.0006329790170032101, "S": -0.003908203164913138, "T": -0.002951492323746807, "W": -0.0022302147773411996}, "variates": {"multivariate": -0.002552705159351687, "univariate": 0.0015223469507769094}}, "largest_regressions": [{"config_id": "ett2__T__short", "delta": -0.023678205835598987}, {"config_id": "us_births__M__short", "delta": -0.018157217358236832}, {"config_id": "ett2__W__short", "delta": -0.017793060332496724}, {"config_id": "solar__T__medium", "delta": -0.0157064622817481}, {"config_id": "covid_deaths__D__short", "delta": -0.014417074615435954}, {"config_id": "jena_weather__T__short", "delta": -0.01317128114714372}, {"config_id": "electricity__D__short", "delta": -0.012488070823855169}, {"config_id": "bizitobs_l2c__T__medium", "delta": -0.01230335927550219}], "largest_improvements": [{"config_id": "saugeenday__M__short", "delta": 0.0652582707800331}, {"config_id": "solar__H__short", "delta": 0.03400656038215877}, {"config_id": "ett1__H__short", "delta": 0.029629574057977948}, {"config_id": "m4_weekly__W__short", "delta": 0.024278983817057953}, {"config_id": "saugeenday__D__short", "delta": 0.020253536849523135}, {"config_id": "M_DENSE__H__medium", "delta": 0.016325948991928407}, {"config_id": "ett2__T__long", "delta": 0.014538284613353825}, {"config_id": "bitbrains_rnd__T__short", "delta": 0.013968884558303696}]}, "current": {"positive_configs": 53, "total_configs": 97, "group_skill_delta": {"term": {"long": -0.001133417152589633, "medium": 0.0003033866957875553, "short": -0.0004462757681706897}, "domain": {"Econ/Fin": 0.0022635596039981554, "Energy": -0.0007032884684685659, "Healthcare": -0.0028078054708452482, "Nature": 0.0017786434033914, "Sales": -0.0014120847702949746, "Transport": 0.001247882199298056, "Web/CloudOps": -0.002530012574843643}, "frequency": {"A": -0.007773018683120969, "D": -0.001213556102492852, "H": 0.0020238592183842163, "M": -0.0002275088813485926, "Q": 0.001948519087442313, "S": -0.004317183255475032, "T": -0.0016555618519505932, "W": -0.001103965560846465}, "variates": {"multivariate": -0.0014766578720177836, "univariate": 0.00042017274283756567}}, "largest_regressions": [{"config_id": "ett2__T__short", "delta": -0.03576762963074709}, {"config_id": "ett2__W__short", "delta": -0.017375146546881437}, {"config_id": "solar__W__short", "delta": -0.015530345976442095}, {"config_id": "covid_deaths__D__short", "delta": -0.014444327310340843}, {"config_id": "electricity__D__short", "delta": -0.014368874631559225}, {"config_id": "us_births__M__short", "delta": -0.012814356331305343}, {"config_id": "solar__T__medium", "delta": -0.011865874751781358}, {"config_id": "bizitobs_l2c__T__medium", "delta": -0.011134565700105625}], "largest_improvements": [{"config_id": "saugeenday__M__short", "delta": 0.03146117385980696}, {"config_id": "ett1__H__short", "delta": 0.024622298683827593}, {"config_id": "solar__H__short", "delta": 0.023806610709833698}, {"config_id": "m4_weekly__W__short", "delta": 0.02092083055882754}, {"config_id": "saugeenday__D__short", "delta": 0.017781893409545058}, {"config_id": "us_births__W__short", "delta": 0.012674087497116404}, {"config_id": "ett2__T__long", "delta": 0.01205432626059133}, {"config_id": "ett2__H__long", "delta": 0.009902224873759025}]}}}, {"panel": "valid_backcast2", "skill": 0.3700688317538089, "delta_frozen": 0.0004061075837058503, "delta_current": 4.603269401526333e-05, "evaluation_seconds": 102.46246260008775, "groups": {"term": {"long": 0.3745024569221693, "medium": 0.398167906789761, "short": 0.35719491543683224}, "domain": {"Econ/Fin": 0.13216636382598623, "Energy": 0.24296358015082598, "Healthcare": 0.35559206385366315, "Nature": 0.4846204259857192, "Sales": 0.5586140769267927, "Transport": 0.4293457927903237, "Web/CloudOps": 0.44646173420012925}, "frequency": {"A": 0.3398950689637308, "D": 0.4341164276924453, "H": 0.40065136423867487, "M": 0.17768616187076447, "Q": 0.15777172642732373, "S": 0.2901909408455223, "T": 0.37052179811119856, "W": 0.2859607618338825}, "variates": {"multivariate": 0.37186036212625806, "univariate": 0.36861809693014813}}, "comparisons": {"frozen": {"positive_configs": 54, "total_configs": 94, "group_skill_delta": {"term": {"long": 0.0003609882647095386, "medium": -0.0007847789343125022, "short": 0.0009174881220058717}, "domain": {"Econ/Fin": 0.004658464264921447, "Energy": 0.0021987478892918633, "Healthcare": -0.006577584442267859, "Nature": 0.00235129714780713, "Sales": -0.000628620259471635, "Transport": 0.0014625244246863067, "Web/CloudOps": -0.0032790290444921766}, "frequency": {"A": 0.0017088896056813851, "D": -0.0012309006381363563, "H": 5.7574044666552915e-05, "M": 0.008562477292727189, "Q": 0.00218803580592819, "S": -0.0007100149707103265, "T": -0.0003139251153330136, "W": 0.005754843750289007}, "variates": {"multivariate": -0.0021901355337524686, "univariate": 0.002521787372380957}}, "largest_regressions": [{"config_id": "covid_deaths__D__short", "delta": -0.0301702937628453}, {"config_id": "ett1__H__short", "delta": -0.023137101634030266}, {"config_id": "bizitobs_l2c__T__long", "delta": -0.01249444622127438}, {"config_id": "bizitobs_l2c__H__medium", "delta": -0.01187495449093412}, {"config_id": "us_births__W__short", "delta": -0.011586329354413727}, {"config_id": "bizitobs_l2c__T__medium", "delta": -0.009879873815650031}, {"config_id": "bizitobs_l2c__T__short", "delta": -0.009836040018105008}, {"config_id": "bitbrains_fast_storage__T__long", "delta": -0.00877740534910243}], "largest_improvements": [{"config_id": "solar__T__medium", "delta": 0.030254380848174556}, {"config_id": "saugeenday__M__short", "delta": 0.026980570361370915}, {"config_id": "electricity__H__short", "delta": 0.02358959453055154}, {"config_id": "m4_weekly__W__short", "delta": 0.01609980078083828}, {"config_id": "bizitobs_application__S__long", "delta": 0.015998202918932503}, {"config_id": "bitbrains_fast_storage__T__short", "delta": 0.01575853353097867}, {"config_id": "saugeenday__W__short", "delta": 0.013129791989650474}, {"config_id": "m4_hourly__H__short", "delta": 0.012957905578746765}]}, "current": {"positive_configs": 53, "total_configs": 94, "group_skill_delta": {"term": {"long": -0.00018246355413198412, "medium": -0.0011484008135688173, "short": 0.0006255167159702202}, "domain": {"Econ/Fin": 0.006383917767361358, "Energy": 0.0020608293738401118, "Healthcare": -0.007481685026455298, "Nature": 0.00019345775491974582, "Sales": -0.00246757987689028, "Transport": -0.00023735242938927037, "Web/CloudOps": -0.0014168656322075535}, "frequency": {"A": 0.0031020466415179193, "D": -0.0017480680919951253, "H": -0.0012072198614855312, "M": 0.0060583875442769, "Q": 0.0025877230878923463, "S": -0.003359737424061038, "T": 0.001978223961518588, "W": 0.0012613982027438464}, "variates": {"multivariate": -0.0013206023093988994, "univariate": 0.001157736310074986}}, "largest_regressions": [{"config_id": "covid_deaths__D__short", "delta": -0.03125404671813803}, {"config_id": "ett1__H__short", "delta": -0.030681147745591275}, {"config_id": "us_births__W__short", "delta": -0.027671439265299358}, {"config_id": "bizitobs_l2c__T__long", "delta": -0.016162054637344214}, {"config_id": "bizitobs_l2c__H__medium", "delta": -0.01303565485631808}, {"config_id": "M_DENSE__D__short", "delta": -0.011557229957408155}, {"config_id": "kdd_cup_2018_with_missing__H__short", "delta": -0.01107113905853907}, {"config_id": "bizitobs_service__S__short", "delta": -0.010498323360047745}], "largest_improvements": [{"config_id": "bitbrains_fast_storage__T__short", "delta": 0.027843681468515236}, {"config_id": "electricity__H__short", "delta": 0.02327557786394374}, {"config_id": "solar__T__medium", "delta": 0.022995029298635505}, {"config_id": "m4_weekly__W__short", "delta": 0.01686435332714975}, {"config_id": "bizitobs_application__S__long", "delta": 0.016135414466893705}, {"config_id": "saugeenday__M__short", "delta": 0.014249011725557592}, {"config_id": "m4_hourly__H__short", "delta": 0.014178072065245018}, {"config_id": "ett2__D__short", "delta": 0.012921436964392297}]}}}, {"panel": "valid_backcast3", "skill": 0.3919540331643486, "delta_frozen": -0.0001756451202917786, "delta_current": -0.000866401171216169, "evaluation_seconds": 100.05093187699094, "groups": {"term": {"long": 0.3989335974058008, "medium": 0.371103015940216, "short": 0.3970556740304765}, "domain": {"Econ/Fin": 0.19392765551500324, "Energy": 0.3179271556225184, "Healthcare": 0.23638203442438033, "Nature": 0.5059389678108885, "Sales": 0.40450074680835413, "Transport": 0.5136430880451, "Web/CloudOps": 0.39881447730984765}, "frequency": {"A": 0.3640488763513625, "D": 0.4444608452555945, "H": 0.408567717931003, "M": 0.14650561916480775, "Q": 0.2616356075110644, "S": 0.29070855251379213, "T": 0.4333894369635013, "W": 0.24936733960577828}, "variates": {"multivariate": 0.3746019537924071, "univariate": 0.40529535994455046}}, "comparisons": {"frozen": {"positive_configs": 44, "total_configs": 93, "group_skill_delta": {"term": {"long": -0.0004111947312376296, "medium": -0.0020770959226990016, "short": 0.0005842279619940882}, "domain": {"Econ/Fin": 0.0024128204400003517, "Energy": 0.0007773792612179031, "Healthcare": 0.00231291390467947, "Nature": -0.0028383445273105767, "Sales": 0.0020908229353737706, "Transport": 0.003428023503993738, "Web/CloudOps": -0.0039546641480209255}, "frequency": {"A": 0.0007608867898858396, "D": 0.004220234469293094, "H": 0.0005205284326267323, "M": 0.00034551435353225024, "Q": -0.0019316831966426085, "S": -0.0034951965014408115, "T": -0.001275178812862987, "W": -0.00664320295283527}, "variates": {"multivariate": -0.0009552537162729191, "univariate": 0.0004096182051676056}}, "largest_regressions": [{"config_id": "solar__H__short", "delta": -0.03759995393848092}, {"config_id": "saugeenday__W__short", "delta": -0.025428526663422213}, {"config_id": "ett2__T__medium", "delta": -0.02073555541583938}, {"config_id": "bizitobs_l2c__T__medium", "delta": -0.017973745993977497}, {"config_id": "bizitobs_l2c__T__short", "delta": -0.016534403625841576}, {"config_id": "us_births__M__short", "delta": -0.01604738094053937}, {"config_id": "bizitobs_application__S__medium", "delta": -0.01357634742916658}, {"config_id": "saugeenday__D__short", "delta": -0.012729762462850958}], "largest_improvements": [{"config_id": "ett1__D__short", "delta": 0.02234912572629799}, {"config_id": "us_births__D__short", "delta": 0.019577882718319173}, {"config_id": "saugeenday__M__short", "delta": 0.016727067841749044}, {"config_id": "ett1__T__short", "delta": 0.01653935227083314}, {"config_id": "M_DENSE__H__short", "delta": 0.016174678991321745}, {"config_id": "ett1__H__short", "delta": 0.012963607907246155}, {"config_id": "electricity__H__short", "delta": 0.011315982075364772}, {"config_id": "ett2__D__short", "delta": 0.011138283229695678}]}, "current": {"positive_configs": 48, "total_configs": 93, "group_skill_delta": {"term": {"long": -0.001384659781551223, "medium": -0.0011133775804945678, "short": -0.0005954004250731115}, "domain": {"Econ/Fin": 0.004702182330980631, "Energy": -0.0010606470462332096, "Healthcare": -0.0034507325789585597, "Nature": -0.004314262372036248, "Sales": 0.0013984891166624047, "Transport": 0.002226038752823567, "Web/CloudOps": -0.0011502490861884374}, "frequency": {"A": 0.00591520268264889, "D": 0.000682526848678533, "H": -0.0006434975686167022, "M": -0.003994130901366244, "Q": -0.0008253425221879107, "S": -0.0037505498847443253, "T": -1.2140209165290017e-05, "W": -0.007134611213720499}, "variates": {"multivariate": -0.0010378987706765042, "univariate": -0.0007373229697302808}}, "largest_regressions": [{"config_id": "solar__H__short", "delta": -0.03560328578519234}, {"config_id": "saugeenday__W__short", "delta": -0.02969499942880116}, {"config_id": "ett2__T__medium", "delta": -0.021687761117987203}, {"config_id": "bizitobs_l2c__T__medium", "delta": -0.019453687478799275}, {"config_id": "us_births__M__short", "delta": -0.019347053474497944}, {"config_id": "ett2__H__long", "delta": -0.015065924056325675}, {"config_id": "ett2__H__short", "delta": -0.01416071140233266}, {"config_id": "saugeenday__D__short", "delta": -0.013931290829519494}], "largest_improvements": [{"config_id": "M_DENSE__H__short", "delta": 0.015279336349983574}, {"config_id": "bitbrains_fast_storage__T__short", "delta": 0.015142030526732575}, {"config_id": "ett2__D__short", "delta": 0.012129467799215643}, {"config_id": "ett1__D__short", "delta": 0.011207971802189354}, {"config_id": "electricity__H__short", "delta": 0.010110892290882023}, {"config_id": "m4_hourly__H__short", "delta": 0.009363568277215961}, {"config_id": "m4_weekly__W__short", "delta": 0.008896173100012228}, {"config_id": "bitbrains_rnd__T__short", "delta": 0.007209207918676075}]}}}], "selection_gate_passed": false, "positive_frozen": 2, "mean_delta_frozen": 0.00018933472241633442, "positive_current": 2, "mean_delta_current": -0.00022682077896160613, "cpu_review_seconds": 0.053310185903683305, "new_optimizer_updates": 0, "new_inference": false, "outcome": "Four-cutoff gate fails; no full replay or publication from this endpoint.", "interpretation": "Adaptive validation diagnostics, not independent test evidence. Frequency groups are recomputed using the scorer frequency parser, avoiding comparison of full aliases with frequency-unit groups."}. + +2026-10-24T02:01:45.218676+00:00: E152 refreshed gate final review {"utc": "2026-10-24T02:01:45.218676+00:00", "experiment": "E152", "run": "ensemble_gate_refresh", "step": 12000, "seed": 751, "checkpoint_sha256": "0627f00b35c37d5fccaafd90f001bb6f9498bbe6272640dc636dade2e379cef5", "skills": [0.38909117763833057, 0.3453297654244577, 0.3700688317538089, 0.3919540331643486], "positive_frozen": 2, "mean_delta_frozen": 0.00018933472241633442, "positive_current": 2, "mean_delta_current": -0.00022682077896160613, "matched_old_gate_positive": 4, "matched_old_gate_mean_delta": 0.000773288784337689, "training_loop_seconds": 5930.0140671711415, "training_process_seconds": 5955.061607441865, "four_cutoff_evaluation_seconds": 391.3986384270247, "weight_diagnostic_cpu_seconds": 32.279746792977676, "selection_review": "/workspace/research/ensemble_gate_refresh12k_selection_review.json", "matched_review": "/workspace/research/ensemble_gate_refresh12k_vs_ensemble_gate_four_cutoff_comparison.json", "weight_diagnostic": "/workspace/research/ensemble_gate_refresh12k_weight_structure.json", "outcome": "Final gate source/current each2of4, currentmeannegative; standalone final rejected with no fullreplay. Refreshed experts improve overold gate4of4 atbothfixed endpoints, but learned gate alone doesnotbeat current. E152full-corpus old-expert arm alreadyrunning. E172separate fixedhalfblend usesONLYprimary6000; final12000neverentered it. No bound or coefficientsearch.", "compute_scope": "SharedsingleH100wall andseparate CPUdiagnostic; not isolatedGPUtime orheldoutreward."} + +2026-10-24T02:05:10.905919+00:00: E172 post-selection descriptive pooling-loss diagnostic {"utc": "2026-10-24T02:05:10.905919+00:00", "experiment": "E172", "receipt": "/workspace/research/gate_six_blend_loss_diversity.json", "seconds": 0.2980929729528725, "optimizer_updates": 0, "new_inference": false, "panels": [{"cutoff": "valid_screen", "configurations": 97, "mean_fractional_loss_reduction": {"mase": 0.00034312050299708786, "wql": 0.0004789374274204766}, "strict_improvement_configs": {"mase": 91, "wql": 96}}, {"cutoff": "valid_backcast", "configurations": 97, "mean_fractional_loss_reduction": {"mase": 0.0004099717824066888, "wql": 0.00048190312778964117}, "strict_improvement_configs": {"mase": 89, "wql": 95}}, {"cutoff": "valid_backcast2", "configurations": 94, "mean_fractional_loss_reduction": {"mase": 0.0003407947011968921, "wql": 0.00047696933424693167}, "strict_improvement_configs": {"mase": 88, "wql": 94}}, {"cutoff": "valid_backcast3", "configurations": 93, "mean_fractional_loss_reduction": {"mase": 0.0003746298113193147, "wql": 0.0004934219898978091}, "strict_improvement_configs": {"mase": 89, "wql": 92}}], "note": "Descriptive validation analysis after the one fixed half-blend was selected for full replay. MASE and WQL are convex in their respective forecasts in exact arithmetic. Float32 pooling can slightly exceed that bound: every excess above1e-10*max(1,meanloss) is reproduced from cached member forecasts and checked against an explicit Lipschitz bound on measured forecast rounding. No tolerance sweep or forecast change. The reference is an arithmetic mean of parent losses, not a forecast model or benchmark score. Equal-configuration fractional reductions describe realized complementarity; they are not independent generalization evidence. No coefficients or forecast parameters are fitted."} + +2026-10-24T02:12:37.924535+00:00: E173 absolute-calendar study declared before implementation. {"experiment": "E173", "declared_utc": "2026-10-24T02:12:37.924535+00:00", "status": "declared; engineering pending", "run": "random_capacity_calendar", "control": "random_capacity_full", "hypothesis": "Absolute daily, weekly and annual phase from known timestamps may help the model associate recent patterns with their future calendar phase, especially when annual repetition is outside the encoder context. Earlier E57/E115 tested only origin-relative phase, not dates.", "factor": "Two zero-initialized patch projections of six fixed calendar channels, added to encoder and decoder inputs. No changes to existing model tensors, loss, contexts, target masks, source probabilities or synthetic values.", "source_pack": "/workspace/research/packed_stratified_full", "packed": "/workspace/research/packed_calendar_full", "source_weights_from": "/workspace/research/packed_sample", "source_feasibility": "/workspace/research/calendar_feasibility_audit.json", "initial_parent": "/workspace/research/random_capacity_1024_initial.pt", "initial_parent_sha256": "c9693619ca6277c26fef3b2bde37ff6796bec97b3af9f94588bbc5ddd329ec90", "model_code": "/workspace/research/random_capacity_calendar", "runtime_code": "/workspace/research/random_capacity_calendar_inference", "parameters": 146673952, "added_parameters": 196608, "seed": 307, "batch": 48, "lr": 0.0001, "steps": 96000, "primary": 48000, "final": 96000, "compile_loss": true, "calendar": {"channels": ["sin(day)", "cos(day)", "sin(week)", "cos(week)", "sin(year)", "cos(year)"], "phase": "Naive source-clock time; day at midnight, week at Monday midnight, year at January1 with exact Gregorian year length. Month/quarter/year index shifts preserve source day-of-month clipped to the destination month. No absolute year feature.", "availability": "All real rows with supported frequency and valid timestamp; no dataset or date-quality routing. Synthetic or invalid timestamps have six zero channels. A cycle is disabled when fewer than two samples occur per cycle. Context channels are masked where target history is missing.", "aggregation": "Calendar channels are averaged over the same disjoint raw-step blocks as target aggregation; no extra RNG draws. Future channels are computed from the known clock beyond the cutoff, including padded forecast patches.", "source": "Only allowed Arrow start/freq plus exact packed crop offsets; sidecars preserve values and series ordering byte for byte."}, "synthetic_rule": "Unchanged E110 slow-AR generator and 20percent fraction; no synthetic dates and no new RNG stream.", "control_comparison": "E110 identical seed307/B48/LR1e-4/full95-source pack/original96k schedule; primary48k/final96k all four cutoffs. Main4/8/16/24/72k diagnostic only.", "engineering": "Require timestamp-to-packed provenance, independent calendar reference across leap/month/year boundaries, exact original sampled values/masks/periods and RNG, zero-projection function preservation, sign pairing, missing-prefix and row isolation, max-shape finite gradients, and actual complete-state recovery audit before production.", "fixture_seeds": {"cpu": 1231, "gpu": 1237, "recovery": 307}, "recovery_tolerances": {"model_max_abs": 0.0001, "ema_max_abs": 0.0001, "optimizer_relative_l2": 0.001, "rng_prefetch_ancestry": "exact; numerical repeat and restart both measured"}, "allocation_after": "E157 random_capacity_long_seasonal_distill96000; reuse its allocation, no extra GPU", "selection": "At each declared endpoint require at least3 positive cutoff deltas and positive mean versus matched E110 before any separately declared transfer/ensemble. Any publication also needs complete verifier replay and current-best improvement. No coefficient or checkpoint sweep.", "risk": "Some allowed sources and benchmark inputs contain placeholder clocks; availability is not authenticity. Calendar features may hurt transfer, and that is a negative outcome rather than grounds for dataset-specific routing.", "optimizer_updates": 0, "training_queued": false} + +2026-10-24T02:16:48.069005+00:00: Scheduled main-cutoff learning diagnostic {"utc": "2026-10-24T02:16:48.069005+00:00", "experiment": "E137", "run": "random_capacity_deep", "step": 4000, "skill": 0.32441564747404694, "checkpoint_sha256": "dfc160a8dae15200c13342bc76c2317e288fa1e7cacd4af27ca5737aa27cc25e", "eval_seconds": 44.41093444824219, "comparisons": [{"control": "random_capacity_1024", "control_checkpoint_sha256": "ce1d3cf0e49de7acc168ca818424fef4c58feebc49e35ebccd79e6a7450c810a", "control_skill": 0.3281339194194064, "delta": -0.0037182719453594526, "group_deltas": {"term": {"long": -0.0075745242067157825, "medium": -0.0011379238298866445, "short": -0.0032119675161149663}, "domain": {"Econ/Fin": -0.026023006178775288, "Energy": -0.01253516934958232, "Healthcare": 0.07045712412885663, "Nature": -0.009256332488479901, "Sales": 0.004630254747053697, "Transport": 0.0029285078310161694, "Web/CloudOps": -0.006582086854145741}, "frequency": {"A": -0.018024620032467298, "D": 0.007792654296911228, "H": 0.001713885933036452, "M": 0.01181238744103208, "Q": -0.03652413133634569, "S": 0.0025208042333593195, "T": -0.01744798042666773, "W": 0.0038795957776245338}, "variates": {"multivariate": -0.009751387701440462, "univariate": 0.0013388706743502343}}}], "decision": "Early main-cutoff diagnostic only. Keep the declared fresh depth-versus-width comparison and unchanged 48000/96000 endpoints; no transfer or publication selected.", "new_neural_inference": false, "new_training": false}. No additional training or inference. + +2026-10-24T02:17:39.840544+00:00: Scheduled main-cutoff learning diagnostic {"utc": "2026-10-24T02:17:39.840544+00:00", "experiment": "E152full", "run": "ensemble_gate_full", "step": 3000, "skill": 0.38926759849648274, "checkpoint_sha256": "1ec4b5559535984b11307285400ac7262ce03447f82355979afa973398fb9b2c", "eval_seconds": 102.85555346705951, "comparisons": [{"control": "ensemble_gate", "control_checkpoint_sha256": "2d9192426b7d544ce10d9ba66e1f527c935ba467df0a7aa12b58898f2f9dfcd1", "control_skill": 0.3893194924231944, "delta": -5.189392671167692e-05, "group_deltas": {"term": {"long": 8.741601316075709e-05, "medium": -8.669384054904583e-05, "short": -9.410906418994003e-05}, "domain": {"Econ/Fin": 0.00020137705821177132, "Energy": -3.4615624355804897e-06, "Healthcare": -0.0005339318985722041, "Nature": 9.786027755753768e-05, "Sales": -0.00015224543271830093, "Transport": 2.6594948396185814e-05, "Web/CloudOps": -0.00016805750144155418}, "frequency": {"A": -0.0005218490804407283, "D": -0.00025671292284279446, "H": -0.00012734963128724353, "M": 0.0002348628142385678, "Q": 0.00018707043884225172, "S": 9.322323090976692e-05, "T": -3.1385617959678314e-05, "W": 0.0004326512990077136}, "variates": {"multivariate": -3.453664875674445e-05, "univariate": -6.625365732126909e-05}}}], "decision": "Fixed early main-cutoff diagnostic of the corpus factor with E130 experts. The delta is near zero; retain the declared 6000/12000 four-cutoff endpoints and unchanged refreshed-expert full-corpus arm. No checkpoint selection.", "new_neural_inference": false, "new_training": false}. No additional training or inference. + +2026-10-24T02:18:00.846177+00:00: E173 calendar CPU review {"utc": "2026-10-24T02:18:00.846177+00:00", "experiment": "E173", "status": "all CPU audits passed; GPU and full recovery pending", "measured_cpu_seconds": 234.80395813821815, "source_feasibility_audit_seconds": 24.84263140289113, "receipts": {"metadata_receipt": "/workspace/research/fresh_calendar_metadata_receipt.json", "feature_checks": "/workspace/research/fresh_calendar_feature_checks.json", "model_checks": "/workspace/research/fresh_calendar_model_checks.json", "sampler_checks": "/workspace/research/fresh_calendar_sampler_checks.json"}, "initial_checkpoint_sha256": "c1af6c16dac937ab1690084a65c0470514a20a63d755b296d36937f4b964ad6d", "optimizer_updates": 0, "training_queued": false}. Metadata recovered all7652636 allowed packed rows; independent225calendar cases and1024raw/aggregate alignment rows passed. Full sampler8192rows matches control values/masks/periods/allRNG exactly; initial forward/loss/shared gradients exact. No validation read or production update. + +## E172 fixed six-expert plus gate half-blend full replay — selected +- Checkpoint SHA-256: `a75fdfcbb4d8e38dd6e7cded3c097ff0a129976fa63277bfd277a6031ccc6140`. +- Evaluation: 97 configurations, 151170 instances, 0 failed configurations; not separately timed seconds. +- Overall skill 0.385664; relative MASE 0.734772; relative WQL 0.513641. +- term skill: long=0.4020, medium=0.4110, short=0.3692. +- domain skill: Econ/Fin=0.1319, Energy=0.2415, Healthcare=0.4935, Nature=0.4442, Sales=0.3587, Transport=0.4758, Web/CloudOps=0.5007. +- frequency skill: A=0.3012, D=0.3797, H=0.3999, M=0.1458, Q=0.1921, S=0.4251, T=0.4399, W=0.2403. +- variates skill: multivariate=0.3975, univariate=0.3761. +- Outcome: One fixed equal blend of E159 and E152primary6k gate improves full validation skill from0.384974755908 to0.385663741698; all97/151170/0fail. Allsix own experts and fixedgate execute everyinstance. Independent synthetic/real composition, actual forward counts and relocation pass. Shared-H100 inference787.500s. Adaptive validation selection, not held-out reward. + +E172 verifiedsuite {"pid": 18233, "status": "complete; review required", "package": "/workspace/research/candidate-gate-six-blend", "steps": [{"name": "synthetic_independent_composition_and_all_forward_calls", "returncode": 0, "seconds": 69.28897174797021}, {"name": "relocation", "returncode": 0, "seconds": 44.7632541670464}, {"name": "full_public_replay", "returncode": 0, "seconds": 791.0176872459706}, {"name": "independent_original_gate_real_replay", "returncode": 0, "seconds": 171.60487869614735}, {"name": "real_composition", "returncode": 0, "seconds": 0.1562242330983281}, {"name": "descriptive_comparison", "returncode": 0, "seconds": 0.18372689583338797}], "current_parent": "20f014ca61a9cfa4f275d9d7abfd297561ac37fddcdae9ba2ef60d3fca106cf8", "current_cutoff_deltas": [0.0006269860342921207, 0.00013065282109081533, 0.00030171920777433137, 1.4467593618117114e-05], "current_step": "descriptive_comparison", "seconds": 1077.0577965208795, "skill": 0.385663741697722}. Synthetic {"descriptor_sha256": "a75fdfcbb4d8e38dd6e7cded3c097ff0a129976fa63277bfd277a6031ccc6140", "checks": [{"config_id": "synthetic_H", "horizon": 384, "bitwise_composition": true, "finite_ordered": true, "every_member_forecasts_every_instance": true, "gate_forecasts_every_instance": true, "forward_calls_by_member": [3, 3, 3, 3, 3, 3], "gate_calls": 3}, {"config_id": "synthetic_15T", "horizon": 960, "bitwise_composition": true, "finite_ordered": true, "every_member_forecasts_every_instance": true, "gate_forecasts_every_instance": true, "forward_calls_by_member": [3, 3, 3, 3, 3, 3], "gate_calls": 3}], "member_checkpoint_hashes": ["0b11b7351a4a92d1d18c71a4159ec445be3a94ace8c7a9fa0edafad87d14e960", "308389b7217c080af9eb185559d4ee3cafa0f3e0f8c4dd8f5526b68198c89988", "1a2fb20a9fb5cae6526f2e36ea47559626bece78fd9c284899836505030ae9fe", "d7cfcd72c3cb84aa69e447b76c4c3ab98c21b7c600a463f0b805f4b4300baf33", "2877a38b94a7d77a53a9df410349cecc2f6ab134c83a76744924543bbe73eb17", "4b309f0721378f97db815dd511b8b54711348270c48e9eae0103dba506f66708"], "gate_checkpoint_sha256": "a7d0ee6866ea787f29eac043531aad3613674f159fd00b3491fd87fab8388fd1", "parent_descriptor_sha256": "20f014ca61a9cfa4f275d9d7abfd297561ac37fddcdae9ba2ef60d3fca106cf8", "lock_wait_seconds": 30.01617340184748, "seconds": 66.94593399111181, "optimizer_updates": 0, "reference": "Previously verified E159synthetic replay on samefixedfixture and freshly independent E152primary6k publicruntime atbatch4."}. Currentpublicationcutoffdeltas [0.0006269860342921207, 0.00013065282109081533, 0.00030171920777433137, 1.4467593618117114e-05]. All immutable teachers/gate expert snapshots remain unchanged. + +2026-10-24T02:19:04.415507+00:00: E172 publication review {"utc": "2026-10-24T02:19:04.415507+00:00", "experiment": "E172", "status": "published", "checkpoint_sha256": "a75fdfcbb4d8e38dd6e7cded3c097ff0a129976fa63277bfd277a6031ccc6140", "full_skill": 0.385663741697722, "delta": 0.0006889857899428087, "rel_mase": 0.7347721085312826, "rel_wql": 0.5136409423858462, "groups": {"term": {"long": {"skill": 0.4019940523018741, "delta": 0.0005445203871007331}, "medium": {"skill": 0.41104129755126906, "delta": 0.0006609688384264789}, "short": {"skill": 0.3692328396805401, "delta": 0.0007580443715395901}}, "domain": {"Econ/Fin": {"skill": 0.13191169312763906, "delta": 0.0021056893752642303}, "Energy": {"skill": 0.24145100593748892, "delta": -5.4919425530153276e-05}, "Healthcare": {"skill": 0.49353031586886076, "delta": 0.0032576841497656828}, "Nature": {"skill": 0.44417034810066347, "delta": 0.0005570293383476699}, "Sales": {"skill": 0.35868590837603787, "delta": -0.00046576383388774456}, "Transport": {"skill": 0.47576768891957766, "delta": 0.0005506612254253529}, "Web/CloudOps": {"skill": 0.5007418241065815, "delta": 0.0009140265884025611}}, "frequency": {"A": {"skill": 0.301209418491051, "delta": -0.0011937855412907927}, "D": {"skill": 0.3797263041303608, "delta": 0.00138106288778983}, "H": {"skill": 0.3998502886716, "delta": 0.0004826659809935574}, "M": {"skill": 0.14584961536063934, "delta": -0.002084843360873223}, "Q": {"skill": 0.19214720169123056, "delta": 0.00012038139605308196}, "S": {"skill": 0.4250765858338945, "delta": 0.00010113863986971339}, "T": {"skill": 0.4398768361531795, "delta": 0.0011367428455119066}, "W": {"skill": 0.24031217832827134, "delta": 0.00022280943476349346}}, "variates": {"multivariate": {"skill": 0.3974960423251055, "delta": 0.00029999624936638547}, "univariate": {"skill": 0.37607575626840895, "delta": 0.0010097329099627572}}}, "improved_configurations": 55, "four_cutoffs_positive": 4, "new_training_updates": 0, "inference_seconds": 787.4997950529214, "suite_seconds": 1077.0577965208795, "uncertainty": "Adaptive validation selection. Descriptive dataset-cluster bootstrap spans zero; this is neither held-out reward nor a significance claim.", "outcome": "All three full-validation terms improve. Energy, Sales, annual and monthly groups regress. Full97/151170/0fail and all independent composition/forward-count/relocation checks pass. Selected fixed half-blend uses E152primary6000 only; no alpha sweep. Six experts and gate execute every instance."} + +2026-10-24T02:21:16.066244+00:00: E173 recovery preflight correction {"utc": "2026-10-24T02:21:16.066244+00:00", "issue": "E173 metadata provenance hashing referred to hashlib before import in the shared trainer. First fixture process failed before model load or any optimizer update.", "correction": "Add explicit hashlib import; reuse unchanged completed GPU audit and rerun only the unstarted recovery trajectories.", "optimizer_updates": 0, "failed_process_seconds": 1.6742983730509877, "failed_controller_step_seconds": 3.77045988291502, "preserved_fixture": "/workspace/research/fresh_calendar/recovery_fixture_preflight_missing_hash_import"} + +2026-10-24T02:21:59.257306+00:00: E173 GPU/runtime review {"utc": "2026-10-24T02:21:59.257306+00:00", "experiment": "E173", "gpu_receipt": "/workspace/research/fresh_calendar_gpu_checks.json", "runtime_receipt": "/workspace/research/fresh_calendar_runtime_checks.json", "gpu_seconds": 152.95185365597717, "peak_reserved_mib": 9790.0, "compiled_gradient_cosines": {"all": 0.9999097313459928, "encoder": 0.9999646738295487, "decoder": 0.9999643966427659, "calendar_context": 0.9999738108747356, "calendar_query": 0.9999817072899433}, "runtime_seconds": 28.73415061295964, "runtime_checks": [{"config_id": "calendar_H", "horizon": 384, "bitwise_relocation": true, "other_instance_clock_isolation_exact": true, "own_clock_changes_forecast": true, "finite_ordered": true}, {"config_id": "calendar_M", "horizon": 6, "bitwise_relocation": true, "other_instance_clock_isolation_exact": true, "own_clock_changes_forecast": true, "finite_ordered": true}, {"config_id": "calendar_10S", "horizon": 900, "bitwise_relocation": true, "other_instance_clock_isolation_exact": true, "own_clock_changes_forecast": true, "finite_ordered": true}], "optimizer_updates": 0, "outcome": "GPU and public runtime passed. Hourly384/monthly6/10-second900 synthetic examples relocate bitwise; changing one supplied timestamp changes only its own forecasts. Corrected actual full-state recovery audit running; no production queue yet."} + +2026-10-24T02:22:48.691635+00:00: E174 selected-member duration declaration before finalcheckpoint exists {"experiment": "E174", "declared_utc": "2026-10-24T02:22:48.691635+00:00", "status": "waiting original E131final96k; no new training", "hypothesis": "Completing the already-running E131seasonal expert to its original96k endpoint may improve its contribution to the selected E172 blend. Replace only member5 while retaining the exact selected composition, other experts and primary6k gate.", "frozen_parent_descriptor": "a75fdfcbb4d8e38dd6e7cded3c097ff0a129976fa63277bfd277a6031ccc6140", "parent_probe_prefix": "gate_six_blend", "member_checkpoint_hashes": ["0b11b7351a4a92d1d18c71a4159ec445be3a94ace8c7a9fa0edafad87d14e960", "308389b7217c080af9eb185559d4ee3cafa0f3e0f8c4dd8f5526b68198c89988", "1a2fb20a9fb5cae6526f2e36ea47559626bece78fd9c284899836505030ae9fe", "d7cfcd72c3cb84aa69e447b76c4c3ab98c21b7c600a463f0b805f4b4300baf33", "2877a38b94a7d77a53a9df410349cecc2f6ab134c83a76744924543bbe73eb17", "4b309f0721378f97db815dd511b8b54711348270c48e9eae0103dba506f66708"], "replacement_member_index": 5, "replacement_run": "random_capacity_long_seasonal", "replacement_step": 96000, "previous_member_step": 48000, "source_control": "random_capacity_1024", "gate_run": "ensemble_gate_refresh", "gate_step": 6000, "gate_checkpoint_sha256": "a7d0ee6866ea787f29eac043531aad3613674f159fd00b3491fd87fab8388fd1", "parameters": 549432812, "blend_coefficient": 0.5, "horizon_threshold": 720, "composition": "Exactly E172 ordered FP32 arithmetic with F5 from E131final96000 instead of48000. Allsix experts and unchanged gate execute everyinstance; no new member or coefficient.", "source_training": "Already-running E131seed307/B48/LR2e-4/96k/oldpack/slowAR fresh146575680parameter seasonal model. No additional updates, restart or schedule change.", "source_gate": "Require at least3 positive cutoff deltas and positive mean versus both E79matched96000 and E131own48000. If either fails, the mixture hypothesis remains untested.", "selection": "One cached four-cutoff composition comparison after source gates. Require at least3positive/meanpositive versus frozen E172 and then-current publication. If passed, separately build complete portable candidate and run synthetic forward accounting, independent component equality, relocation and full97publicreplay. No automatic publication.", "checkpoint_choices": "Only original final96000; no72k or alternative endpoint, alpha or frequency search.", "new_training": false, "optimizer_updates": 0, "training_queued": false} + +E145 fresh146M full-corpus buildings4x seed307 storage recovery training started at 2026-10-24T02:25:44Z, after the declared dependency processes exited; required checkpoint files are present. Settings are unchanged from the declared comparison. + +2026-10-24T02:26:28.533562+00:00: E131 completed original training {"utc": "2026-10-24T02:26:28.533562+00:00", "experiment": "E131", "run": "random_capacity_long_seasonal", "step": 96000, "checkpoint_sha256": "95470aa89f068a4ba5ecc70050f37094c95f564f301338f074861890816e6c5e", "completed_utc": "2026-10-24T02:25:38Z", "training_process_seconds": 18199.743041810812, "recovery4_loop_seconds": 18170.650780760916, "accumulated_logged_loop_seconds": 20727.150780760916, "phases": [{"log": "/workspace/research/random_capacity_long_seasonal_train.log", "starting_step": 0, "last_logged_step": 8350, "measured_training_loop_seconds": 2556.5, "endpoint_record_present": false, "unlogged_interrupted_or_running_tail_not_included": true}, {"log": "/workspace/research/random_capacity_long_seasonal_train_recovery4.log", "starting_step": 8250, "last_logged_step": 96000, "measured_training_loop_seconds": 18170.650780760916, "endpoint_record_present": true, "unlogged_interrupted_or_running_tail_not_included": false}], "status": "original96k training complete; scheduled four-cutoff endpoint evaluation pending", "allocation_replacement": "E145random_capacity_buildings started2026-10-24T02:25:44Z; trainer20033", "decision": "Preserve original endpoints and frozen teachers. E156/E174 await completed source comparisons; no final model selection yet.", "compute_scope": "Shared single-H100 logged wall time; unlogged interruption tails excluded, no operator pause time inferred."} + +2026-10-24T02:27:31.904295+00:00: E172 current failure/coverage diagnostic {"utc": "2026-10-24T02:27:31.904295+00:00", "experiment": "E172", "descriptor": "a75fdfcbb4d8e38dd6e7cded3c097ff0a129976fa63277bfd277a6031ccc6140", "receipts": ["/workspace/research/gate_six_blend_coverage.json", "/workspace/research/gate_six_blend_median_error_structure.json", "/workspace/research/E172_failure_structure.json"], "measured_cpu_seconds": 1.8885197800118476, "quantile_band_deviation": 0.07091501610504672, "band_deviation_delta": 8.422014067285821e-05, "persistent_worse_than_seasonal_naive": [{"config_id": "m4_daily__D__short", "geometric_error": 1.0815952570933123}], "mean_error_above_one": [{"config_id": "m4_daily__D__short", "geometric_error": 1.0815952570933123, "worse_cutoffs": 4}, {"config_id": "electricity__H__short", "geometric_error": 1.0009175648780293, "worse_cutoffs": 2}], "median_error_by_term": {"long": {"configs": 21, "mean_window_mean_error_fraction": 0.5624552415343176, "mean_signed_error_over_mae": -0.12235904497575227, "mean_lead_quarter_mase_ratio": [0.8687276941993753, 1.0205984454584052, 1.0157002565071767, 1.0955100102682427]}, "medium": {"configs": 21, "mean_window_mean_error_fraction": 0.5534026209037815, "mean_signed_error_over_mae": -0.059167597048753975, "mean_lead_quarter_mase_ratio": [0.8377628466220661, 0.9831324164762817, 1.0848767549049623, 1.094356384572988]}, "short": {"configs": 55, "mean_window_mean_error_fraction": 0.6844321613364478, "mean_signed_error_over_mae": -0.16905426644880112, "mean_lead_quarter_mase_ratio": [0.8617911420198491, 0.9952388278200514, 0.9677062419876407, 1.1988047894627634]}}, "optimizer_updates": 0, "new_inference": false, "outcome": "WQL and MASE improve while aggregate coverage-band deviation slightly rises. DailyM4 remains the sole all-four-cutoff failure. No calibration fit or dataset-specific routing selected. Window-mean fractions remain descriptive Jensen lower bounds, not achievable corrections; existing integrated-level replication, source-mix and calendar studies address distinct hypotheses."} + +2026-10-24T02:29:49.361634+00:00: E173 numerical-engineering correction {"utc": "2026-10-24T02:29:49.361634+00:00", "experiment": "E173", "status": "original numerical audit failed; deterministic-kernel correction declared before production", "failure_analysis": "/workspace/research/fresh_calendar_recovery_failure_analysis.json", "observed_optimizer_relative_l2": {"uninterrupted_repeat": 0.00189213307350575, "uninterrupted_vs_restart": 0.0019194224043925505}, "original_thresholds": {"model_max_abs": 0.0001, "ema_max_abs": 0.0001, "optimizer_relative_l2": 0.001, "rng_prefetch_ancestry": "exact; numerical repeat and restart both measured"}, "correction": "Opt in to torch.use_deterministic_algorithms(True), CUBLAS_WORKSPACE_CONFIG=:4096:8 and cudnn.benchmark=False for E173 training only. Preserve initial checkpoint, data/RNG streams, model/loss, seed, batch, LR and96k schedule. Recheck GPU maximum shape/compiled gradients and new18-update full recovery under this actual mode before production. Inference runtime unchanged.", "kernel_mode_is_part_of_recipe": true, "completed_fixture_updates": 18, "additional_planned_fixture_updates": 18, "production_updates": 0, "no_validation_read": true, "no_tolerance_relaxation": true, "unchanged_audits_reused": ["source metadata", "calendar arithmetic", "sampler", "CPU model", "public runtime"], "risks": "A numerical execution change relative to the existing E110control; document it explicitly. If deterministic kernels fail the same engineering gates, do not launch."} + +E131 96000 four-cutoff comparison: {"label": "E131 96000 four-cutoff comparison", "utc": "2026-10-24T02:33:59.745728+00:00", "candidate": "random_capacity_long_seasonal_ema96000", "control": "random_capacity_1024_ema96000", "rows": [{"cutoff": "evals", "candidate_skill": 0.3702360657287872, "control_skill": 0.37118082660619867, "delta": -0.0009447608774114657, "candidate_checkpoint": "95470aa89f068a4ba5ecc70050f37094c95f564f301338f074861890816e6c5e", "control_checkpoint": "d7cfcd72c3cb84aa69e447b76c4c3ab98c21b7c600a463f0b805f4b4300baf33", "candidate_eval_seconds": 37.66026830673218, "candidate_groups": {"term": {"long": {"n_configs": 21, "rel_mase_gmean": 0.7550044464942861, "rel_wql_gmean": 0.4907620521998417}, "medium": {"n_configs": 21, "rel_mase_gmean": 0.7194001521667479, "rel_wql_gmean": 0.49658768573085504}, "short": {"n_configs": 55, "rel_mase_gmean": 0.7621898260819229, "rel_wql_gmean": 0.555776066707262}}, "domain": {"Econ/Fin": {"n_configs": 6, "rel_mase_gmean": 0.8908570036134159, "rel_wql_gmean": 0.8580220689023325}, "Energy": {"n_configs": 32, "rel_mase_gmean": 0.9024962592632381, "rel_wql_gmean": 0.6524284217198897}, "Healthcare": {"n_configs": 5, "rel_mase_gmean": 0.6981931361458238, "rel_wql_gmean": 0.5996558262558239}, "Nature": {"n_configs": 15, "rel_mase_gmean": 0.7948863266490338, "rel_wql_gmean": 0.4069147518990421}, "Sales": {"n_configs": 4, "rel_mase_gmean": 0.8652802976919641, "rel_wql_gmean": 0.5264047470676652}, "Transport": {"n_configs": 15, "rel_mase_gmean": 0.6393356345089827, "rel_wql_gmean": 0.44139853237408405}, "Web/CloudOps": {"n_configs": 20, "rel_mase_gmean": 0.5698150626784265, "rel_wql_gmean": 0.43842214455921275}}, "frequency": {"A": {"n_configs": 1, "rel_mase_gmean": 0.6042699219166664, "rel_wql_gmean": 0.6277279822899817}, "D": {"n_configs": 15, "rel_mase_gmean": 0.7777488728467601, "rel_wql_gmean": 0.536428881319989}, "H": {"n_configs": 31, "rel_mase_gmean": 0.7260205056051728, "rel_wql_gmean": 0.5069302385391424}, "M": {"n_configs": 5, "rel_mase_gmean": 1.0918672120958104, "rel_wql_gmean": 0.9290914148520795}, "Q": {"n_configs": 1, "rel_mase_gmean": 0.765854858901438, "rel_wql_gmean": 0.8525304632240096}, "S": {"n_configs": 6, "rel_mase_gmean": 0.665955277031688, "rel_wql_gmean": 0.5061223841966579}, "T": {"n_configs": 30, "rel_mase_gmean": 0.7036978903808426, "rel_wql_gmean": 0.4591217366437005}, "W": {"n_configs": 8, "rel_mase_gmean": 0.911040914145831, "rel_wql_gmean": 0.6771497172623355}}, "variates": {"multivariate": {"n_configs": 43, "rel_mase_gmean": 0.7167072367261573, "rel_wql_gmean": 0.5184401041145937}, "univariate": {"n_configs": 54, "rel_mase_gmean": 0.7798000802882212, "rel_wql_gmean": 0.5356974490532124}}}, "control_groups": {"term": {"long": {"n_configs": 21, "rel_mase_gmean": 0.7617085776612673, "rel_wql_gmean": 0.49633909417606453}, "medium": {"n_configs": 21, "rel_mase_gmean": 0.7298134337623169, "rel_wql_gmean": 0.5003277699021584}, "short": {"n_configs": 55, "rel_mase_gmean": 0.7539888789481445, "rel_wql_gmean": 0.5499601934168685}}, "domain": {"Econ/Fin": {"n_configs": 6, "rel_mase_gmean": 0.8959148570251535, "rel_wql_gmean": 0.8493368379420845}, "Energy": {"n_configs": 32, "rel_mase_gmean": 0.9094002563853486, "rel_wql_gmean": 0.6572245802316878}, "Healthcare": {"n_configs": 5, "rel_mase_gmean": 0.529267728079262, "rel_wql_gmean": 0.47334957848952913}, "Nature": {"n_configs": 15, "rel_mase_gmean": 0.8234547120124809, "rel_wql_gmean": 0.4142825340029578}, "Sales": {"n_configs": 4, "rel_mase_gmean": 0.8520426601354568, "rel_wql_gmean": 0.5216579663248391}, "Transport": {"n_configs": 15, "rel_mase_gmean": 0.6515127739306887, "rel_wql_gmean": 0.45010198724616357}, "Web/CloudOps": {"n_configs": 20, "rel_mase_gmean": 0.5769432156462848, "rel_wql_gmean": 0.44504231186351767}}, "frequency": {"A": {"n_configs": 1, "rel_mase_gmean": 0.5929439471839378, "rel_wql_gmean": 0.615503982517204}, "D": {"n_configs": 15, "rel_mase_gmean": 0.7787713445367176, "rel_wql_gmean": 0.5373779555416477}, "H": {"n_configs": 31, "rel_mase_gmean": 0.7363315295729133, "rel_wql_gmean": 0.5086973471183035}, "M": {"n_configs": 5, "rel_mase_gmean": 0.9301275593623703, "rel_wql_gmean": 0.8181248600782658}, "Q": {"n_configs": 1, "rel_mase_gmean": 0.7640064910151944, "rel_wql_gmean": 0.8167107058299274}, "S": {"n_configs": 6, "rel_mase_gmean": 0.6696048120395435, "rel_wql_gmean": 0.5095378743549087}, "T": {"n_configs": 30, "rel_mase_gmean": 0.7141887055723616, "rel_wql_gmean": 0.47011994961408954}, "W": {"n_configs": 8, "rel_mase_gmean": 0.8865274908386537, "rel_wql_gmean": 0.6465387255094742}}, "variates": {"multivariate": {"n_configs": 43, "rel_mase_gmean": 0.7285160402951458, "rel_wql_gmean": 0.5269433957731289}, "univariate": {"n_configs": 54, "rel_mase_gmean": 0.7681866341094963, "rel_wql_gmean": 0.5270065227304256}}}, "group_skill_delta": {"term": {"long": 0.006160784268066433, "medium": 0.006573085158083303, "short": -0.0069068808612879895}, "domain": {"Econ/Fin": -0.001970386333897567, "Energy": 0.005755492688929054, "Healthcare": -0.1465230755016359, "Nature": 0.015346897234110868, "Sales": -0.008208792295529843, "Transport": 0.010296328329925442, "Web/CloudOps": 0.006899488372067442}, "frequency": {"A": -0.011768613122560168, "D": 0.0009959530602403621, "H": 0.005356711853441554, "M": -0.1348658453915823, "Q": -0.018112149042857517, "S": 0.0035495986929722223, "T": 0.011039241501042185, "W": -0.02835409108520459}, "variates": {"multivariate": 0.010020689196297838, "univariate": -0.010055817324417404}}}, {"cutoff": "backcast_evals", "candidate_skill": 0.3333785428877786, "control_skill": 0.33472617365334145, "delta": -0.0013476307655628794, "candidate_checkpoint": "95470aa89f068a4ba5ecc70050f37094c95f564f301338f074861890816e6c5e", "control_checkpoint": "d7cfcd72c3cb84aa69e447b76c4c3ab98c21b7c600a463f0b805f4b4300baf33", "candidate_eval_seconds": 35.433056354522705, "candidate_groups": {"term": {"long": {"n_configs": 21, "rel_mase_gmean": 0.7647910501077781, "rel_wql_gmean": 0.4704648194892214}, "medium": {"n_configs": 21, "rel_mase_gmean": 0.7812602672571669, "rel_wql_gmean": 0.5414255426397061}, "short": {"n_configs": 55, "rel_mase_gmean": 0.8126001298606569, "rel_wql_gmean": 0.604046239511424}}, "domain": {"Econ/Fin": {"n_configs": 6, "rel_mase_gmean": 0.8835051614836629, "rel_wql_gmean": 0.8239342358814212}, "Energy": {"n_configs": 32, "rel_mase_gmean": 0.8949344657449205, "rel_wql_gmean": 0.6732853512090033}, "Healthcare": {"n_configs": 5, "rel_mase_gmean": 0.6665442247038689, "rel_wql_gmean": 0.6297747399835831}, "Nature": {"n_configs": 15, "rel_mase_gmean": 0.9134601546363575, "rel_wql_gmean": 0.43593162058073}, "Sales": {"n_configs": 4, "rel_mase_gmean": 0.7297016140601508, "rel_wql_gmean": 0.4912710715030175}, "Transport": {"n_configs": 15, "rel_mase_gmean": 0.74018178983684, "rel_wql_gmean": 0.5362814645959364}, "Web/CloudOps": {"n_configs": 20, "rel_mase_gmean": 0.6448829476170987, "rel_wql_gmean": 0.4568323505058544}}, "frequency": {"A": {"n_configs": 1, "rel_mase_gmean": 0.6377741443578965, "rel_wql_gmean": 0.7292293838770127}, "D": {"n_configs": 15, "rel_mase_gmean": 0.824992849999565, "rel_wql_gmean": 0.4902532305352546}, "H": {"n_configs": 31, "rel_mase_gmean": 0.7722285504101611, "rel_wql_gmean": 0.520532208144465}, "M": {"n_configs": 5, "rel_mase_gmean": 0.840570169772374, "rel_wql_gmean": 0.8082108016381729}, "Q": {"n_configs": 1, "rel_mase_gmean": 0.7682244300320615, "rel_wql_gmean": 0.7905091401775831}, "S": {"n_configs": 6, "rel_mase_gmean": 0.855807364457671, "rel_wql_gmean": 0.5063252180870559}, "T": {"n_configs": 30, "rel_mase_gmean": 0.7649050460666307, "rel_wql_gmean": 0.5914502974476258}, "W": {"n_configs": 8, "rel_mase_gmean": 0.9078092963307237, "rel_wql_gmean": 0.602133422326089}}, "variates": {"multivariate": {"n_configs": 43, "rel_mase_gmean": 0.7793842128250342, "rel_wql_gmean": 0.5363710089862596}, "univariate": {"n_configs": 54, "rel_mase_gmean": 0.8080277549614303, "rel_wql_gmean": 0.5773874464528335}}}, "control_groups": {"term": {"long": {"n_configs": 21, "rel_mase_gmean": 0.7631098777388973, "rel_wql_gmean": 0.47074592104175184}, "medium": {"n_configs": 21, "rel_mase_gmean": 0.7785429002581723, "rel_wql_gmean": 0.5362252732855645}, "short": {"n_configs": 55, "rel_mase_gmean": 0.8123770244196038, "rel_wql_gmean": 0.603300236549279}}, "domain": {"Econ/Fin": {"n_configs": 6, "rel_mase_gmean": 0.8799114018222585, "rel_wql_gmean": 0.803604895852266}, "Energy": {"n_configs": 32, "rel_mase_gmean": 0.8977669691725372, "rel_wql_gmean": 0.6761969813852254}, "Healthcare": {"n_configs": 5, "rel_mase_gmean": 0.6300661024303247, "rel_wql_gmean": 0.587956838027678}, "Nature": {"n_configs": 15, "rel_mase_gmean": 0.918761626825819, "rel_wql_gmean": 0.4418878940724868}, "Sales": {"n_configs": 4, "rel_mase_gmean": 0.7413491153579719, "rel_wql_gmean": 0.49790144170298983}, "Transport": {"n_configs": 15, "rel_mase_gmean": 0.7463594580929064, "rel_wql_gmean": 0.5419041229491335}, "Web/CloudOps": {"n_configs": 20, "rel_mase_gmean": 0.6383206047362664, "rel_wql_gmean": 0.4496625882886006}}, "frequency": {"A": {"n_configs": 1, "rel_mase_gmean": 0.6368968587575585, "rel_wql_gmean": 0.6985505028931195}, "D": {"n_configs": 15, "rel_mase_gmean": 0.8234282335820552, "rel_wql_gmean": 0.4922990804723347}, "H": {"n_configs": 31, "rel_mase_gmean": 0.7777723999594381, "rel_wql_gmean": 0.5220808728462141}, "M": {"n_configs": 5, "rel_mase_gmean": 0.8806740205862869, "rel_wql_gmean": 0.8247873940198561}, "Q": {"n_configs": 1, "rel_mase_gmean": 0.7704440480842776, "rel_wql_gmean": 0.7941706683927648}, "S": {"n_configs": 6, "rel_mase_gmean": 0.8496535581906978, "rel_wql_gmean": 0.4982318813583749}, "T": {"n_configs": 30, "rel_mase_gmean": 0.755920509187425, "rel_wql_gmean": 0.5881482341816905}, "W": {"n_configs": 8, "rel_mase_gmean": 0.8893280509437378, "rel_wql_gmean": 0.5864472508377766}}, "variates": {"multivariate": {"n_configs": 43, "rel_mase_gmean": 0.7718027693423195, "rel_wql_gmean": 0.5310438748170623}, "univariate": {"n_configs": 54, "rel_mase_gmean": 0.8123163174606677, "rel_wql_gmean": 0.5792198510179808}}}, "group_skill_delta": {"term": {"long": -0.0004806721160284244, "medium": -0.004257518966581775, "short": -0.0005288863708684532}, "domain": {"Econ/Fin": -0.012306903940898728, "Energy": 0.0029067092721841714, "Healthcare": -0.0392512795591452, "Nature": 0.0061373757669249684, "Sales": 0.0088183998916328, "Transport": 0.00593164904289567, "Web/CloudOps": -0.007023017992471514}, "frequency": {"A": -0.014958704791236621, "D": 0.000720973709054884, "H": 0.0032175379806000937, "M": 0.02804104690373188, "Q": 0.0029302706961731317, "S": -0.007634154257508241, "T": -0.005831026137378625, "W": -0.01715908279171019}, "variates": {"multivariate": -0.006355452249113602, "univariate": 0.0028960682827339213}}}, {"cutoff": "backcast2_evals", "candidate_skill": 0.3577379633247877, "control_skill": 0.35821120969144316, "delta": -0.0004732463666554665, "candidate_checkpoint": "95470aa89f068a4ba5ecc70050f37094c95f564f301338f074861890816e6c5e", "control_checkpoint": "d7cfcd72c3cb84aa69e447b76c4c3ab98c21b7c600a463f0b805f4b4300baf33", "candidate_eval_seconds": 36.54134678840637, "candidate_groups": {"term": {"long": {"n_configs": 19, "rel_mase_gmean": 0.795439641822158, "rel_wql_gmean": 0.506172437429918}, "medium": {"n_configs": 21, "rel_mase_gmean": 0.7410937559531938, "rel_wql_gmean": 0.4954505764792513}, "short": {"n_configs": 54, "rel_mase_gmean": 0.7695767492664293, "rel_wql_gmean": 0.5656298826596408}}, "domain": {"Econ/Fin": {"n_configs": 6, "rel_mase_gmean": 0.8994185824435127, "rel_wql_gmean": 0.9173305549438935}, "Energy": {"n_configs": 32, "rel_mase_gmean": 0.9158310215036983, "rel_wql_gmean": 0.6606946911757461}, "Healthcare": {"n_configs": 5, "rel_mase_gmean": 0.7606713856108779, "rel_wql_gmean": 0.63006684001517}, "Nature": {"n_configs": 15, "rel_mase_gmean": 0.7503920782753133, "rel_wql_gmean": 0.3661414404703465}, "Sales": {"n_configs": 3, "rel_mase_gmean": 0.5501532436481326, "rel_wql_gmean": 0.3468864792574436}, "Transport": {"n_configs": 14, "rel_mase_gmean": 0.6712062233890209, "rel_wql_gmean": 0.505202466441112}, "Web/CloudOps": {"n_configs": 19, "rel_mase_gmean": 0.6465838543374036, "rel_wql_gmean": 0.46476860095503053}}, "frequency": {"A": {"n_configs": 1, "rel_mase_gmean": 0.5807806089703234, "rel_wql_gmean": 0.7310078543261356}, "D": {"n_configs": 15, "rel_mase_gmean": 0.7505403442488431, "rel_wql_gmean": 0.45684740658555706}, "H": {"n_configs": 30, "rel_mase_gmean": 0.7442918885194263, "rel_wql_gmean": 0.4879718236127268}, "M": {"n_configs": 4, "rel_mase_gmean": 0.8012136190983095, "rel_wql_gmean": 0.8583576068161006}, "Q": {"n_configs": 1, "rel_mase_gmean": 0.8379630618482804, "rel_wql_gmean": 0.8940834953195154}, "S": {"n_configs": 6, "rel_mase_gmean": 0.8799036634614449, "rel_wql_gmean": 0.56309220624656}, "T": {"n_configs": 29, "rel_mase_gmean": 0.7511712291673409, "rel_wql_gmean": 0.5518837238383542}, "W": {"n_configs": 8, "rel_mase_gmean": 0.8882543192503175, "rel_wql_gmean": 0.6490051295696873}}, "variates": {"multivariate": {"n_configs": 42, "rel_mase_gmean": 0.7668421666295266, "rel_wql_gmean": 0.517216438415787}, "univariate": {"n_configs": 52, "rel_mase_gmean": 0.7693629820247027, "rel_wql_gmean": 0.5534282218731341}}}, "control_groups": {"term": {"long": {"n_configs": 19, "rel_mase_gmean": 0.7948323559622308, "rel_wql_gmean": 0.5038031357937244}, "medium": {"n_configs": 21, "rel_mase_gmean": 0.7436546889519351, "rel_wql_gmean": 0.4999106059674412}, "short": {"n_configs": 54, "rel_mase_gmean": 0.7653891474888923, "rel_wql_gmean": 0.5656202422862512}}, "domain": {"Econ/Fin": {"n_configs": 6, "rel_mase_gmean": 0.8899872084302632, "rel_wql_gmean": 0.9055268485241579}, "Energy": {"n_configs": 32, "rel_mase_gmean": 0.9159117867744438, "rel_wql_gmean": 0.663956827409629}, "Healthcare": {"n_configs": 5, "rel_mase_gmean": 0.6688701850316071, "rel_wql_gmean": 0.5851167258527354}, "Nature": {"n_configs": 15, "rel_mase_gmean": 0.7657459485168994, "rel_wql_gmean": 0.3786143150772142}, "Sales": {"n_configs": 3, "rel_mase_gmean": 0.564108971970049, "rel_wql_gmean": 0.3567547415829251}, "Transport": {"n_configs": 14, "rel_mase_gmean": 0.677841126147746, "rel_wql_gmean": 0.5110735743749464}, "Web/CloudOps": {"n_configs": 19, "rel_mase_gmean": 0.6448877329601718, "rel_wql_gmean": 0.45604325115803673}}, "frequency": {"A": {"n_configs": 1, "rel_mase_gmean": 0.5778772564458995, "rel_wql_gmean": 0.7545228843343262}, "D": {"n_configs": 15, "rel_mase_gmean": 0.7299936856379547, "rel_wql_gmean": 0.4514832431454694}, "H": {"n_configs": 30, "rel_mase_gmean": 0.7493271411845789, "rel_wql_gmean": 0.4923349064463513}, "M": {"n_configs": 4, "rel_mase_gmean": 0.8174516557126993, "rel_wql_gmean": 0.871483874743179}, "Q": {"n_configs": 1, "rel_mase_gmean": 0.8403605693598712, "rel_wql_gmean": 0.888453639232776}, "S": {"n_configs": 6, "rel_mase_gmean": 0.9021968573313114, "rel_wql_gmean": 0.5636783345364695}, "T": {"n_configs": 29, "rel_mase_gmean": 0.7455541469259782, "rel_wql_gmean": 0.5498372054524163}, "W": {"n_configs": 8, "rel_mase_gmean": 0.8845789361049848, "rel_wql_gmean": 0.6509305309216584}}, "variates": {"multivariate": {"n_configs": 42, "rel_mase_gmean": 0.7653037238032906, "rel_wql_gmean": 0.5154762736658989}, "univariate": {"n_configs": 52, "rel_mase_gmean": 0.7671120022280188, "rel_wql_gmean": 0.5559849583019626}}}, "group_skill_delta": {"term": {"long": -0.0017285023091668794, "medium": 0.0037720190646363116, "short": -0.001803101708517607}, "domain": {"Econ/Fin": -0.010607012395352555, "Energy": 0.0019523641897657429, "Healthcare": -0.06670262223361034, "Nature": 0.014278748049221468, "Sales": 0.011754141711683985, "Transport": 0.00626155479243462, "Web/CloudOps": -0.005882802215503413}, "frequency": {"A": 0.008740332485863811, "D": -0.011471106529450714, "H": 0.004732424573452354, "M": 0.014741948984645648, "Q": -0.0014959965486273097, "S": 0.009231997512063272, "T": -0.0036022764922019057, "W": -0.0004493661562047224}, "variates": {"multivariate": -0.0016913220811889396, "univariate": 0.0005480621438406219}}}, {"cutoff": "backcast3_evals", "candidate_skill": 0.3765375061514593, "control_skill": 0.3796114863043607, "delta": -0.00307398015290139, "candidate_checkpoint": "95470aa89f068a4ba5ecc70050f37094c95f564f301338f074861890816e6c5e", "control_checkpoint": "d7cfcd72c3cb84aa69e447b76c4c3ab98c21b7c600a463f0b805f4b4300baf33", "candidate_eval_seconds": 35.23266339302063, "candidate_groups": {"term": {"long": {"n_configs": 19, "rel_mase_gmean": 0.763851801053335, "rel_wql_gmean": 0.4811576959253541}, "medium": {"n_configs": 20, "rel_mase_gmean": 0.7615319262646026, "rel_wql_gmean": 0.5336341392323852}, "short": {"n_configs": 54, "rel_mase_gmean": 0.7388349592403365, "rel_wql_gmean": 0.5278122580406225}}, "domain": {"Econ/Fin": {"n_configs": 6, "rel_mase_gmean": 0.8481188553405847, "rel_wql_gmean": 0.8310074871770847}, "Energy": {"n_configs": 32, "rel_mase_gmean": 0.8523062540490466, "rel_wql_gmean": 0.5734708450851137}, "Healthcare": {"n_configs": 5, "rel_mase_gmean": 0.9388395731812275, "rel_wql_gmean": 0.7430972560438529}, "Nature": {"n_configs": 15, "rel_mase_gmean": 0.7101456762423517, "rel_wql_gmean": 0.3489129342879396}, "Sales": {"n_configs": 3, "rel_mase_gmean": 0.7518612772478072, "rel_wql_gmean": 0.4797435062460066}, "Transport": {"n_configs": 14, "rel_mase_gmean": 0.5492473644144766, "rel_wql_gmean": 0.45596789208029065}, "Web/CloudOps": {"n_configs": 18, "rel_mase_gmean": 0.7119746412341805, "rel_wql_gmean": 0.5253542826987672}}, "frequency": {"A": {"n_configs": 1, "rel_mase_gmean": 0.5119207873218391, "rel_wql_gmean": 0.7314082489578404}, "D": {"n_configs": 15, "rel_mase_gmean": 0.7603507039190257, "rel_wql_gmean": 0.4426568763014481}, "H": {"n_configs": 29, "rel_mase_gmean": 0.7285568612288565, "rel_wql_gmean": 0.4945814963928447}, "M": {"n_configs": 4, "rel_mase_gmean": 0.9470289322327499, "rel_wql_gmean": 0.9132684904081936}, "Q": {"n_configs": 1, "rel_mase_gmean": 0.711830093899668, "rel_wql_gmean": 0.7524643552413104}, "S": {"n_configs": 6, "rel_mase_gmean": 0.8415960106324832, "rel_wql_gmean": 0.6241946205379726}, "T": {"n_configs": 29, "rel_mase_gmean": 0.7037767387353635, "rel_wql_gmean": 0.4733900452494458}, "W": {"n_configs": 8, "rel_mase_gmean": 0.8641171649839322, "rel_wql_gmean": 0.7002458396619512}}, "variates": {"multivariate": {"n_configs": 41, "rel_mase_gmean": 0.7759095942945005, "rel_wql_gmean": 0.5338140888737622}, "univariate": {"n_configs": 52, "rel_mase_gmean": 0.7279809547447651, "rel_wql_gmean": 0.5078722600146227}}}, "control_groups": {"term": {"long": {"n_configs": 19, "rel_mase_gmean": 0.7707548491943624, "rel_wql_gmean": 0.4807756564072138}, "medium": {"n_configs": 20, "rel_mase_gmean": 0.7556495370223238, "rel_wql_gmean": 0.5262128188543342}, "short": {"n_configs": 54, "rel_mase_gmean": 0.7385188778105934, "rel_wql_gmean": 0.521816862285778}}, "domain": {"Econ/Fin": {"n_configs": 6, "rel_mase_gmean": 0.8424966280451537, "rel_wql_gmean": 0.8200624057334169}, "Energy": {"n_configs": 32, "rel_mase_gmean": 0.8539019602096222, "rel_wql_gmean": 0.5710802296836778}, "Healthcare": {"n_configs": 5, "rel_mase_gmean": 0.8909828066833559, "rel_wql_gmean": 0.7058215612134101}, "Nature": {"n_configs": 15, "rel_mase_gmean": 0.7140869441964789, "rel_wql_gmean": 0.3512392411927577}, "Sales": {"n_configs": 3, "rel_mase_gmean": 0.7639256455458228, "rel_wql_gmean": 0.48475054428574094}, "Transport": {"n_configs": 14, "rel_mase_gmean": 0.5619385146556419, "rel_wql_gmean": 0.4647057191235835}, "Web/CloudOps": {"n_configs": 18, "rel_mase_gmean": 0.7034743755687752, "rel_wql_gmean": 0.5014537965434586}}, "frequency": {"A": {"n_configs": 1, "rel_mase_gmean": 0.529321887711635, "rel_wql_gmean": 0.7601172944767248}, "D": {"n_configs": 15, "rel_mase_gmean": 0.7813860809923568, "rel_wql_gmean": 0.44632727852138454}, "H": {"n_configs": 29, "rel_mase_gmean": 0.734432190578138, "rel_wql_gmean": 0.4971516938153054}, "M": {"n_configs": 4, "rel_mase_gmean": 0.8903179619577941, "rel_wql_gmean": 0.8686026764605773}, "Q": {"n_configs": 1, "rel_mase_gmean": 0.7179816427620297, "rel_wql_gmean": 0.7506580757820736}, "S": {"n_configs": 6, "rel_mase_gmean": 0.8498477607666359, "rel_wql_gmean": 0.6047885144037575}, "T": {"n_configs": 29, "rel_mase_gmean": 0.7006619380973221, "rel_wql_gmean": 0.46532367960829474}, "W": {"n_configs": 8, "rel_mase_gmean": 0.8246011876416808, "rel_wql_gmean": 0.6716230893689398}}, "variates": {"multivariate": {"n_configs": 41, "rel_mase_gmean": 0.7741503096616409, "rel_wql_gmean": 0.5213427900147267}, "univariate": {"n_configs": 52, "rel_mase_gmean": 0.7291832302879286, "rel_wql_gmean": 0.5084307719061404}}}, "group_skill_delta": {"term": {"long": 0.002491392244547419, "medium": -0.0068979077013496815, "short": -0.0036896393271539374}, "domain": {"Econ/Fin": -0.008315743415432286, "Energy": -0.0008059454302565827, "Healthcare": -0.0422376050369887, "Nature": 0.0030406358543388357, "Sales": 0.007950268378994596, "Transport": 0.010575747265694324, "Web/CloudOps": -0.01765128313374531}, "frequency": {"A": 0.022406858280337505, "D": 0.010403528508319493, "H": 0.003979529240472179, "M": -0.05060223514953477, "Q": 0.0022728091034011078, "S": -0.007866714588036894, "T": -0.006206532066189485, "W": -0.033686531477289394}, "variates": {"multivariate": -0.008283708949795243, "univariate": 0.0008364156600942918}}}], "mean_delta": -0.0014599045406328004, "positive_cutoffs": 0, "outcome": "Declared comparison checkpoints 48000,96000. No transfer formula or automatic publication is selected by this controller."} + +2026-10-24T02:34:01.476515+00:00: E174 endpoint result {"pid": 19857, "status": "source gate failed; composition untested", "started_utc": "2026-10-24T02:23:20.862730+00:00", "declaration": {"experiment": "E174", "declared_utc": "2026-10-24T02:22:48.691635+00:00", "status": "waiting original E131final96k; no new training", "hypothesis": "Completing the already-running E131seasonal expert to its original96k endpoint may improve its contribution to the selected E172 blend. Replace only member5 while retaining the exact selected composition, other experts and primary6k gate.", "frozen_parent_descriptor": "a75fdfcbb4d8e38dd6e7cded3c097ff0a129976fa63277bfd277a6031ccc6140", "parent_probe_prefix": "gate_six_blend", "member_checkpoint_hashes": ["0b11b7351a4a92d1d18c71a4159ec445be3a94ace8c7a9fa0edafad87d14e960", "308389b7217c080af9eb185559d4ee3cafa0f3e0f8c4dd8f5526b68198c89988", "1a2fb20a9fb5cae6526f2e36ea47559626bece78fd9c284899836505030ae9fe", "d7cfcd72c3cb84aa69e447b76c4c3ab98c21b7c600a463f0b805f4b4300baf33", "2877a38b94a7d77a53a9df410349cecc2f6ab134c83a76744924543bbe73eb17", "4b309f0721378f97db815dd511b8b54711348270c48e9eae0103dba506f66708"], "replacement_member_index": 5, "replacement_run": "random_capacity_long_seasonal", "replacement_step": 96000, "previous_member_step": 48000, "source_control": "random_capacity_1024", "gate_run": "ensemble_gate_refresh", "gate_step": 6000, "gate_checkpoint_sha256": "a7d0ee6866ea787f29eac043531aad3613674f159fd00b3491fd87fab8388fd1", "parameters": 549432812, "blend_coefficient": 0.5, "horizon_threshold": 720, "composition": "Exactly E172 ordered FP32 arithmetic with F5 from E131final96000 instead of48000. Allsix experts and unchanged gate execute everyinstance; no new member or coefficient.", "source_training": "Already-running E131seed307/B48/LR2e-4/96k/oldpack/slowAR fresh146575680parameter seasonal model. No additional updates, restart or schedule change.", "source_gate": "Require at least3 positive cutoff deltas and positive mean versus both E79matched96000 and E131own48000. If either fails, the mixture hypothesis remains untested.", "selection": "One cached four-cutoff composition comparison after source gates. Require at least3positive/meanpositive versus frozen E172 and then-current publication. If passed, separately build complete portable candidate and run synthetic forward accounting, independent component equality, relocation and full97publicreplay. No automatic publication.", "checkpoint_choices": "Only original final96000; no72k or alternative endpoint, alpha or frequency search.", "new_training": false, "optimizer_updates": 0, "training_queued": false}, "steps": [], "optimizer_updates": 0, "new_neural_inference": false, "seconds": 640.6118981549516, "replacement_checkpoint_sha256": "95470aa89f068a4ba5ecc70050f37094c95f564f301338f074861890816e6c5e", "source_rows": [{"cutoff": "valid_screen", "skill": 0.3702360657287872, "delta_matched": -0.0009447608774114657, "delta_own48": 0.0016492536468779573, "group_deltas_own48": {"term": {"long": 0.0048657499728026465, "medium": 0.0037504998783699506, "short": -0.0005306673663416639}, "domain": {"Econ/Fin": 0.0006429101733973486, "Energy": 0.010498653460566332, "Healthcare": -0.060819564762682576, "Nature": 0.0030495336993557887, "Sales": -0.014339476815159125, "Transport": 0.0024658212189961892, "Web/CloudOps": 0.006140436659849313}, "frequency": {"A": 0.0007957980925662467, "D": -0.00793986640229305, "H": 0.004855094853502662, "M": -0.10169565390003554, "Q": -0.008110221004865026, "S": -0.0011148707475072683, "T": 0.01344684905400173, "W": 0.004251697165212565}, "variates": {"multivariate": 0.006091957874376663, "univariate": -0.0020781837726334684}}}, {"cutoff": "valid_backcast", "skill": 0.3333785428877786, "delta_matched": -0.0013476307655628794, "delta_own48": 0.004416501491946612, "group_deltas_own48": {"term": {"long": 0.0033187593249699443, "medium": 0.008617132531728133, "short": 0.003169397501225246}, "domain": {"Econ/Fin": -0.002908371104921592, "Energy": 0.004025423584852139, "Healthcare": 0.002785290687090214, "Nature": 0.005679045169436181, "Sales": -0.0027317512386726417, "Transport": 0.005545850047329992, "Web/CloudOps": 0.006181593970113197}, "frequency": {"A": -0.03189936075771893, "D": 0.0018656299738095683, "H": 0.00040347669163198763, "M": -0.005351706239059673, "Q": 0.018656827585852964, "S": -0.007702908579962808, "T": 0.013164694502291185, "W": 0.011436523568543189}, "variates": {"multivariate": 0.00797172888276887, "univariate": 0.0014384284646266066}}}, {"cutoff": "valid_backcast2", "skill": 0.3577379633247877, "delta_matched": -0.0004732463666554665, "delta_own48": 0.003291345040672744, "group_deltas_own48": {"term": {"long": 0.0007735432135063114, "medium": 0.005158738706460442, "short": 0.003421424927375849}, "domain": {"Econ/Fin": 0.007340581453219142, "Energy": 0.006131051328362558, "Healthcare": -0.05074401757761815, "Nature": 0.004972480093381915, "Sales": 0.002786949922005677, "Transport": 0.0029687522289323365, "Web/CloudOps": 0.009594964544713647}, "frequency": {"A": 0.02223836169000537, "D": -0.0076083688067044575, "H": -0.0007113623489829468, "M": -0.005380937742654024, "Q": 0.008506589073111748, "S": -0.007650973333130029, "T": 0.019710591341692063, "W": -0.010751692860785034}, "variates": {"multivariate": 0.008613755860643169, "univariate": -0.0011293175961867297}}}, {"cutoff": "valid_backcast3", "skill": 0.3765375061514593, "delta_matched": -0.00307398015290139, "delta_own48": -0.0004074229331617607, "group_deltas_own48": {"term": {"long": 0.0012076194044873256, "medium": 0.0048378217067510665, "short": -0.0028822125825738176}, "domain": {"Econ/Fin": 0.01624403370230032, "Energy": -0.002531448541918224, "Healthcare": -0.0900002006765932, "Nature": 0.0014310802464696515, "Sales": 0.01122623119949484, "Transport": 0.007827924958231702, "Web/CloudOps": 0.006642237538218909}, "frequency": {"A": 0.06455124952048419, "D": -0.004133240136929506, "H": 0.0021666852669730563, "M": -0.07913185658880018, "Q": 0.01953899358960065, "S": -0.005921667532710395, "T": 0.008845271481894068, "W": -0.021173392749572528}, "variates": {"multivariate": 0.0007347167625334494, "univariate": -0.0012565785008764596}}}], "source_gates": {"delta_matched": {"positive": 0, "mean_delta": -0.0014599045406328004}, "delta_own48": {"positive": 3, "mean_delta": 0.002237419311583888}}} + +2026-10-24T02:36:17.719116+00:00: E131 final endpoint review {"utc": "2026-10-24T02:36:17.719116+00:00", "experiment": "E131", "step": 96000, "seed": 307, "checkpoint_sha256": "95470aa89f068a4ba5ecc70050f37094c95f564f301338f074861890816e6c5e", "rows": [{"cutoff": "valid_screen", "skill": 0.3702360657287872, "delta_matched": -0.0009447608774114657, "delta_own48": 0.0016492536468779573, "group_deltas_matched": {"term": {"long": 0.006160784268066433, "medium": 0.006573085158083303, "short": -0.0069068808612879895}, "domain": {"Econ/Fin": -0.001970386333897567, "Energy": 0.005755492688929054, "Healthcare": -0.1465230755016359, "Nature": 0.015346897234110868, "Sales": -0.008208792295529843, "Transport": 0.010296328329925442, "Web/CloudOps": 0.006899488372067442}, "frequency": {"A": -0.011768613122560168, "D": 0.0009959530602403621, "H": 0.005356711853441554, "M": -0.1348658453915823, "Q": -0.018112149042857517, "S": 0.0035495986929722223, "T": 0.011039241501042185, "W": -0.02835409108520459}, "variates": {"multivariate": 0.010020689196297838, "univariate": -0.010055817324417404}}, "evaluation_seconds": 37.66026830673218}, {"cutoff": "valid_backcast", "skill": 0.3333785428877786, "delta_matched": -0.0013476307655628794, "delta_own48": 0.004416501491946612, "group_deltas_matched": {"term": {"long": -0.0004806721160284244, "medium": -0.004257518966581775, "short": -0.0005288863708684532}, "domain": {"Econ/Fin": -0.012306903940898728, "Energy": 0.0029067092721841714, "Healthcare": -0.0392512795591452, "Nature": 0.0061373757669249684, "Sales": 0.0088183998916328, "Transport": 0.00593164904289567, "Web/CloudOps": -0.007023017992471514}, "frequency": {"A": -0.014958704791236621, "D": 0.000720973709054884, "H": 0.0032175379806000937, "M": 0.02804104690373188, "Q": 0.0029302706961731317, "S": -0.007634154257508241, "T": -0.005831026137378625, "W": -0.01715908279171019}, "variates": {"multivariate": -0.006355452249113602, "univariate": 0.0028960682827339213}}, "evaluation_seconds": 35.433056354522705}, {"cutoff": "valid_backcast2", "skill": 0.3577379633247877, "delta_matched": -0.0004732463666554665, "delta_own48": 0.003291345040672744, "group_deltas_matched": {"term": {"long": -0.0017285023091668794, "medium": 0.0037720190646363116, "short": -0.001803101708517607}, "domain": {"Econ/Fin": -0.010607012395352555, "Energy": 0.0019523641897657429, "Healthcare": -0.06670262223361034, "Nature": 0.014278748049221468, "Sales": 0.011754141711683985, "Transport": 0.00626155479243462, "Web/CloudOps": -0.005882802215503413}, "frequency": {"A": 0.008740332485863811, "D": -0.011471106529450714, "H": 0.004732424573452354, "M": 0.014741948984645648, "Q": -0.0014959965486273097, "S": 0.009231997512063272, "T": -0.0036022764922019057, "W": -0.0004493661562047224}, "variates": {"multivariate": -0.0016913220811889396, "univariate": 0.0005480621438406219}}, "evaluation_seconds": 36.54134678840637}, {"cutoff": "valid_backcast3", "skill": 0.3765375061514593, "delta_matched": -0.00307398015290139, "delta_own48": -0.0004074229331617607, "group_deltas_matched": {"term": {"long": 0.002491392244547419, "medium": -0.0068979077013496815, "short": -0.0036896393271539374}, "domain": {"Econ/Fin": -0.008315743415432286, "Energy": -0.0008059454302565827, "Healthcare": -0.0422376050369887, "Nature": 0.00304063585433878, "Sales": 0.007950268378994596, "Transport": 0.010575747265694324, "Web/CloudOps": -0.01765128313374531}, "frequency": {"A": 0.022406858280337505, "D": 0.010403528508319493, "H": 0.003979529240472179, "M": -0.05060223514953477, "Q": 0.0022728091034011078, "S": -0.007866714588036894, "T": -0.006206532066189485, "W": -0.033686531477289394}, "variates": {"multivariate": -0.008283708949795243, "univariate": 0.0008364156600942918}}, "evaluation_seconds": 35.23266339302063}], "comparisons": {"delta_matched": {"positive": 0, "mean_delta": -0.0014599045406328004}, "delta_own48": {"positive": 3, "mean_delta": 0.002237419311583888}}, "primary48000": {"label": "E131 48000 four-cutoff comparison", "utc": "2026-10-23T23:43:37.801299+00:00", "candidate": "random_capacity_long_seasonal_ema48000", "control": "random_capacity_1024_ema48000", "rows": [{"cutoff": "evals", "candidate_skill": 0.36858681208190924, "control_skill": 0.3685434345005941, "delta": 4.337758131511826e-05, "candidate_checkpoint": "4b309f0721378f97db815dd511b8b54711348270c48e9eae0103dba506f66708", "control_checkpoint": "227ea80abf17fc81ae191f94e91f6dd7adbc0d837235750b5f5e9cef3dd5472c", "candidate_eval_seconds": 38.60380816459656, "candidate_groups": {"term": {"long": {"n_configs": 21, "rel_mase_gmean": 0.7596240437448069, "rel_wql_gmean": 0.49560683193001026}, "medium": {"n_configs": 21, "rel_mase_gmean": 0.7240998073140904, "rel_wql_gmean": 0.4995757029898689}, "short": {"n_configs": 55, "rel_mase_gmean": 0.7574407453525513, "rel_wql_gmean": 0.5583491212820006}}, "domain": {"Econ/Fin": {"n_configs": 6, "rel_mase_gmean": 0.8895150321927536, "rel_wql_gmean": 0.860580798444267}, "Energy": {"n_configs": 32, "rel_mase_gmean": 0.9138181614774806, "rel_wql_gmean": 0.6620973177377313}, "Healthcare": {"n_configs": 5, "rel_mase_gmean": 0.6283665750467347, "rel_wql_gmean": 0.5469225124783753}, "Nature": {"n_configs": 15, "rel_mase_gmean": 0.7935993993110947, "rel_wql_gmean": 0.4119571911303783}, "Sales": {"n_configs": 4, "rel_mase_gmean": 0.8434800280445851, "rel_wql_gmean": 0.5173067370198796}, "Transport": {"n_configs": 15, "rel_mase_gmean": 0.6411230505083593, "rel_wql_gmean": 0.44426371968925055}, "Web/CloudOps": {"n_configs": 20, "rel_mase_gmean": 0.5738903227404989, "rel_wql_gmean": 0.44607036688960516}}, "frequency": {"A": {"n_configs": 1, "rel_mase_gmean": 0.6064087886023716, "rel_wql_gmean": 0.6271314386060388}, "D": {"n_configs": 15, "rel_mase_gmean": 0.7643250601875451, "rel_wql_gmean": 0.5325130018644995}, "H": {"n_configs": 31, "rel_mase_gmean": 0.7311376300672037, "rel_wql_gmean": 0.5114716183407965}, "M": {"n_configs": 5, "rel_mase_gmean": 0.9719810286990322, "rel_wql_gmean": 0.8435673695046025}, "Q": {"n_configs": 1, "rel_mase_gmean": 0.7655009304743412, "rel_wql_gmean": 0.8358889229659726}, "S": {"n_configs": 6, "rel_mase_gmean": 0.6642410625805998, "rel_wql_gmean": 0.5054815581059382}, "T": {"n_configs": 30, "rel_mase_gmean": 0.7165897088056523, "rel_wql_gmean": 0.47244649773412645}, "W": {"n_configs": 8, "rel_mase_gmean": 0.9126148172180485, "rel_wql_gmean": 0.6833201062822841}}, "variates": {"multivariate": {"n_configs": 43, "rel_mase_gmean": 0.7206750342279472, "rel_wql_gmean": 0.5259427062552281}, "univariate": {"n_configs": 54, "rel_mase_gmean": 0.7752454695812974, "rel_wql_gmean": 0.5353850899381366}}}, "control_groups": {"term": {"long": {"n_configs": 21, "rel_mase_gmean": 0.7587789601246303, "rel_wql_gmean": 0.49670212535892816}, "medium": {"n_configs": 21, "rel_mase_gmean": 0.7318228954729822, "rel_wql_gmean": 0.5069316624612222}, "short": {"n_configs": 55, "rel_mase_gmean": 0.7543680498586199, "rel_wql_gmean": 0.5551519797008444}}, "domain": {"Econ/Fin": {"n_configs": 6, "rel_mase_gmean": 0.894159342526865, "rel_wql_gmean": 0.8617452681906776}, "Energy": {"n_configs": 32, "rel_mase_gmean": 0.9101004419451137, "rel_wql_gmean": 0.6584458800440816}, "Healthcare": {"n_configs": 5, "rel_mase_gmean": 0.5844853147385809, "rel_wql_gmean": 0.5155213514040926}, "Nature": {"n_configs": 15, "rel_mase_gmean": 0.8048625648125799, "rel_wql_gmean": 0.41574642740891904}, "Sales": {"n_configs": 4, "rel_mase_gmean": 0.8608662664471317, "rel_wql_gmean": 0.5338203994579515}, "Transport": {"n_configs": 15, "rel_mase_gmean": 0.6544478487122294, "rel_wql_gmean": 0.45419898205149567}, "Web/CloudOps": {"n_configs": 20, "rel_mase_gmean": 0.5691881615817772, "rel_wql_gmean": 0.4440050362883611}}, "frequency": {"A": {"n_configs": 1, "rel_mase_gmean": 0.6000112444199207, "rel_wql_gmean": 0.6164736935875128}, "D": {"n_configs": 15, "rel_mase_gmean": 0.7725946330728586, "rel_wql_gmean": 0.5378537664666186}, "H": {"n_configs": 31, "rel_mase_gmean": 0.7386096620108181, "rel_wql_gmean": 0.5168384077006924}, "M": {"n_configs": 5, "rel_mase_gmean": 0.9539291717517222, "rel_wql_gmean": 0.8277758145427478}, "Q": {"n_configs": 1, "rel_mase_gmean": 0.7693856070976332, "rel_wql_gmean": 0.8422189104112654}, "S": {"n_configs": 6, "rel_mase_gmean": 0.6694448136296561, "rel_wql_gmean": 0.5123742201671339}, "T": {"n_configs": 30, "rel_mase_gmean": 0.7085963765778743, "rel_wql_gmean": 0.4689717872647888}, "W": {"n_configs": 8, "rel_mase_gmean": 0.8999499970954961, "rel_wql_gmean": 0.6671558797312815}}, "variates": {"multivariate": {"n_configs": 43, "rel_mase_gmean": 0.7233324743781643, "rel_wql_gmean": 0.5297705922478261}, "univariate": {"n_configs": 54, "rel_mase_gmean": 0.7726310020210445, "rel_wql_gmean": 0.5326719533609565}}}, "group_skill_delta": {"term": {"long": 0.00033585403177016637, "medium": 0.007634248728160542, "short": -0.003181185337504888}, "domain": {"Econ/Fin": 0.002874386172839527, "Energy": -0.003727343120378479, "Healthcare": -0.03731052767372156, "Nature": 0.006685352875759776, "Sales": 0.017340899186546244, "Transport": 0.011513442259472706, "Web/CloudOps": -0.0032449069627558114}, "frequency": {"A": -0.008496305111746816, "D": 0.006650466502328256, "H": 0.006333065851141018, "M": -0.016884059054822043, "Q": 0.00505785980625395, "S": 0.006217966528486496, "T": -0.0053859147858204, "W": -0.014829282112795994}, "variates": {"multivariate": 0.003374530590659619, "univariate": -0.0027189807771604846}}}, {"cutoff": "backcast_evals", "candidate_skill": 0.32896204139583196, "control_skill": 0.3284572453347383, "delta": 0.0005047960610936597, "candidate_checkpoint": "4b309f0721378f97db815dd511b8b54711348270c48e9eae0103dba506f66708", "control_checkpoint": "227ea80abf17fc81ae191f94e91f6dd7adbc0d837235750b5f5e9cef3dd5472c", "candidate_eval_seconds": 36.36709260940552, "candidate_groups": {"term": {"long": {"n_configs": 21, "rel_mase_gmean": 0.7658820507918618, "rel_wql_gmean": 0.47500753177786015}, "medium": {"n_configs": 21, "rel_mase_gmean": 0.7909245628429931, "rel_wql_gmean": 0.5490755533664172}, "short": {"n_configs": 55, "rel_mase_gmean": 0.8175531129202919, "rel_wql_gmean": 0.6058310885259459}}, "domain": {"Econ/Fin": {"n_configs": 6, "rel_mase_gmean": 0.8841897146245112, "rel_wql_gmean": 0.8176930274593615}, "Energy": {"n_configs": 32, "rel_mase_gmean": 0.8971504242505317, "rel_wql_gmean": 0.6786062085954974}, "Healthcare": {"n_configs": 5, "rel_mase_gmean": 0.6742549375109318, "rel_wql_gmean": 0.6279370346128573}, "Nature": {"n_configs": 15, "rel_mase_gmean": 0.9254757000554263, "rel_wql_gmean": 0.43805124063415396}, "Sales": {"n_configs": 4, "rel_mase_gmean": 0.7266432305944489, "rel_wql_gmean": 0.48884729354509454}, "Transport": {"n_configs": 15, "rel_mase_gmean": 0.7473310517975991, "rel_wql_gmean": 0.5405431820322099}, "Web/CloudOps": {"n_configs": 20, "rel_mase_gmean": 0.6499857824244107, "rel_wql_gmean": 0.46362863227591766}}, "frequency": {"A": {"n_configs": 1, "rel_mase_gmean": 0.6219882178158181, "rel_wql_gmean": 0.6794218329133153}, "D": {"n_configs": 15, "rel_mase_gmean": 0.8279920529465303, "rel_wql_gmean": 0.4913475331866268}, "H": {"n_configs": 31, "rel_mase_gmean": 0.7721041456399907, "rel_wql_gmean": 0.5212789166478934}, "M": {"n_configs": 5, "rel_mase_gmean": 0.8383455665296266, "rel_wql_gmean": 0.7998663873743693}, "Q": {"n_configs": 1, "rel_mase_gmean": 0.7763900394349693, "rel_wql_gmean": 0.82009625295987}, "S": {"n_configs": 6, "rel_mase_gmean": 0.8490493310352122, "rel_wql_gmean": 0.49848108027290505}, "T": {"n_configs": 30, "rel_mase_gmean": 0.7769583533419976, "rel_wql_gmean": 0.6052911549158678}, "W": {"n_configs": 8, "rel_mase_gmean": 0.9283683446642534, "rel_wql_gmean": 0.607155612344444}}, "variates": {"multivariate": {"n_configs": 43, "rel_mase_gmean": 0.7873447192257702, "rel_wql_gmean": 0.5441213074622718}, "univariate": {"n_configs": 54, "rel_mase_gmean": 0.8108062673126668, "rel_wql_gmean": 0.5778349051494306}}}, "control_groups": {"term": {"long": {"n_configs": 21, "rel_mase_gmean": 0.7707957586118519, "rel_wql_gmean": 0.4811201577001369}, "medium": {"n_configs": 21, "rel_mase_gmean": 0.779618755877286, "rel_wql_gmean": 0.5433042239308433}, "short": {"n_configs": 55, "rel_mase_gmean": 0.8170439519805486, "rel_wql_gmean": 0.6091621644447172}}, "domain": {"Econ/Fin": {"n_configs": 6, "rel_mase_gmean": 0.8722234206774022, "rel_wql_gmean": 0.8117570602842299}, "Energy": {"n_configs": 32, "rel_mase_gmean": 0.8947438467938783, "rel_wql_gmean": 0.6785152460589088}, "Healthcare": {"n_configs": 5, "rel_mase_gmean": 0.6486779418840113, "rel_wql_gmean": 0.5987237519655887}, "Nature": {"n_configs": 15, "rel_mase_gmean": 0.93065028071109, "rel_wql_gmean": 0.4513997152587998}, "Sales": {"n_configs": 4, "rel_mase_gmean": 0.7423627428173035, "rel_wql_gmean": 0.5023610195015825}, "Transport": {"n_configs": 15, "rel_mase_gmean": 0.7544059722768195, "rel_wql_gmean": 0.5493110062331005}, "Web/CloudOps": {"n_configs": 20, "rel_mase_gmean": 0.6450703250668249, "rel_wql_gmean": 0.45978977116467806}}, "frequency": {"A": {"n_configs": 1, "rel_mase_gmean": 0.6241575007860913, "rel_wql_gmean": 0.6847120856661988}, "D": {"n_configs": 15, "rel_mase_gmean": 0.842461994316231, "rel_wql_gmean": 0.49795147250110605}, "H": {"n_configs": 31, "rel_mase_gmean": 0.7795524804282207, "rel_wql_gmean": 0.5290387312855092}, "M": {"n_configs": 5, "rel_mase_gmean": 0.83852272258776, "rel_wql_gmean": 0.7941982685846185}, "Q": {"n_configs": 1, "rel_mase_gmean": 0.7797879425916332, "rel_wql_gmean": 0.8309566441120046}, "S": {"n_configs": 6, "rel_mase_gmean": 0.8507345990970113, "rel_wql_gmean": 0.5003107438855952}, "T": {"n_configs": 30, "rel_mase_gmean": 0.761595505116273, "rel_wql_gmean": 0.5997414447915067}, "W": {"n_configs": 8, "rel_mase_gmean": 0.9075462369415759, "rel_wql_gmean": 0.6040409924897451}}, "variates": {"multivariate": {"n_configs": 43, "rel_mase_gmean": 0.7762510882566483, "rel_wql_gmean": 0.5402880481180907}, "univariate": {"n_configs": 54, "rel_mase_gmean": 0.8169534925089487, "rel_wql_gmean": 0.5848561547513397}}}, "group_skill_delta": {"term": {"long": 0.005812611514006916, "medium": -0.008174542804082696, "short": 0.0017123641085390329}, "domain": {"Econ/Fin": -0.008844299279142653, "Energy": -0.001099445470258864, "Healthcare": -0.027483460781127844, "Nature": 0.011432736380813657, "Sales": 0.014681986661862712, "Transport": 0.008159621142753815, "Web/CloudOps": -0.004348432602047758}, "frequency": {"A": 0.0036629778498153964, "D": 0.009858484891494101, "H": 0.007779864837384243, "M": -0.002820376488359866, "Q": 0.00702186103176361, "S": 0.0018393615883330883, "T": -0.00993352383437629, "W": -0.01037362732415148}, "variates": {"multivariate": -0.006920793597771979, "univariate": 0.00675150467418284}}}, {"cutoff": "backcast2_evals", "candidate_skill": 0.35444661828411494, "control_skill": 0.35202854592719945, "delta": 0.0024180723569154905, "candidate_checkpoint": "4b309f0721378f97db815dd511b8b54711348270c48e9eae0103dba506f66708", "control_checkpoint": "227ea80abf17fc81ae191f94e91f6dd7adbc0d837235750b5f5e9cef3dd5472c", "candidate_eval_seconds": 37.01978254318237, "candidate_groups": {"term": {"long": {"n_configs": 19, "rel_mase_gmean": 0.7976728171494729, "rel_wql_gmean": 0.505986773471877}, "medium": {"n_configs": 21, "rel_mase_gmean": 0.7445111571337301, "rel_wql_gmean": 0.5016094284527454}, "short": {"n_configs": 54, "rel_mase_gmean": 0.7711622157830803, "rel_wql_gmean": 0.5703365727610195}}, "domain": {"Econ/Fin": {"n_configs": 6, "rel_mase_gmean": 0.8975554667825396, "rel_wql_gmean": 0.9341521603490976}, "Energy": {"n_configs": 32, "rel_mase_gmean": 0.9206760270548985, "rel_wql_gmean": 0.667618804823773}, "Healthcare": {"n_configs": 5, "rel_mase_gmean": 0.6919618115700997, "rel_wql_gmean": 0.5948146258049856}, "Nature": {"n_configs": 15, "rel_mase_gmean": 0.7625650899322175, "rel_wql_gmean": 0.36716494409035266}, "Sales": {"n_configs": 3, "rel_mase_gmean": 0.5556347498660904, "rel_wql_gmean": 0.34786064925309557}, "Transport": {"n_configs": 14, "rel_mase_gmean": 0.673866744415536, "rel_wql_gmean": 0.5083518004199357}, "Web/CloudOps": {"n_configs": 19, "rel_mase_gmean": 0.6551981916146249, "rel_wql_gmean": 0.4748542668244311}}, "frequency": {"A": {"n_configs": 1, "rel_mase_gmean": 0.5787519818718498, "rel_wql_gmean": 0.7844981001760497}, "D": {"n_configs": 15, "rel_mase_gmean": 0.7352056104105049, "rel_wql_gmean": 0.4543354332978988}, "H": {"n_configs": 30, "rel_mase_gmean": 0.7427452520836458, "rel_wql_gmean": 0.4878342372582966}, "M": {"n_configs": 4, "rel_mase_gmean": 0.8023743225021845, "rel_wql_gmean": 0.8460290740665227}, "Q": {"n_configs": 1, "rel_mase_gmean": 0.8526887579655992, "rel_wql_gmean": 0.8959979481678672}, "S": {"n_configs": 6, "rel_mase_gmean": 0.8820274845786775, "rel_wql_gmean": 0.5495911308103654}, "T": {"n_configs": 29, "rel_mase_gmean": 0.7684405610418609, "rel_wql_gmean": 0.5730170087434493}, "W": {"n_configs": 8, "rel_mase_gmean": 0.8815881366051194, "rel_wql_gmean": 0.6355240520367406}}, "variates": {"multivariate": {"n_configs": 42, "rel_mase_gmean": 0.7757127995672718, "rel_wql_gmean": 0.5253840349065442}, "univariate": {"n_configs": 52, "rel_mase_gmean": 0.7660848132179113, "rel_wql_gmean": 0.5538742475343418}}}, "control_groups": {"term": {"long": {"n_configs": 19, "rel_mase_gmean": 0.7993914938306502, "rel_wql_gmean": 0.5118750835782793}, "medium": {"n_configs": 21, "rel_mase_gmean": 0.7499036235389392, "rel_wql_gmean": 0.5076549719236019}, "short": {"n_configs": 54, "rel_mase_gmean": 0.7704097782971766, "rel_wql_gmean": 0.5713062592973345}}, "domain": {"Econ/Fin": {"n_configs": 6, "rel_mase_gmean": 0.8815921046221019, "rel_wql_gmean": 0.9187815814539992}, "Energy": {"n_configs": 32, "rel_mase_gmean": 0.920339256072892, "rel_wql_gmean": 0.6704665333680074}, "Healthcare": {"n_configs": 5, "rel_mase_gmean": 0.6501582024912718, "rel_wql_gmean": 0.5627569152494311}, "Nature": {"n_configs": 15, "rel_mase_gmean": 0.7745581689862006, "rel_wql_gmean": 0.3822657735243897}, "Sales": {"n_configs": 3, "rel_mase_gmean": 0.564680893551189, "rel_wql_gmean": 0.36069686176729393}, "Transport": {"n_configs": 14, "rel_mase_gmean": 0.6867714219327128, "rel_wql_gmean": 0.5187038356734098}, "Web/CloudOps": {"n_configs": 19, "rel_mase_gmean": 0.6559779306984489, "rel_wql_gmean": 0.4700795832946835}}, "frequency": {"A": {"n_configs": 1, "rel_mase_gmean": 0.5730275474668758, "rel_wql_gmean": 0.757090806020688}, "D": {"n_configs": 15, "rel_mase_gmean": 0.7274640646847123, "rel_wql_gmean": 0.4535589328676016}, "H": {"n_configs": 30, "rel_mase_gmean": 0.753383988535096, "rel_wql_gmean": 0.4956674683856894}, "M": {"n_configs": 4, "rel_mase_gmean": 0.8235108549294832, "rel_wql_gmean": 0.8750079559219315}, "Q": {"n_configs": 1, "rel_mase_gmean": 0.8610057552014395, "rel_wql_gmean": 0.9072883197219879}, "S": {"n_configs": 6, "rel_mase_gmean": 0.8980758705842602, "rel_wql_gmean": 0.5621964897161842}, "T": {"n_configs": 29, "rel_mase_gmean": 0.7550135684916714, "rel_wql_gmean": 0.5666392411392774}, "W": {"n_configs": 8, "rel_mase_gmean": 0.9006457837675473, "rel_wql_gmean": 0.6506166099596051}}, "variates": {"multivariate": {"n_configs": 42, "rel_mase_gmean": 0.7711918037459841, "rel_wql_gmean": 0.5235744450782658}, "univariate": {"n_configs": 52, "rel_mase_gmean": 0.7717812927982146, "rel_wql_gmean": 0.5614676858240594}}}, "group_skill_delta": {"term": {"long": 0.004373934683980396, "medium": 0.0058939988795436715, "short": 0.00023964140672871892}, "domain": {"Econ/Fin": -0.015676227813931742, "Energy": 0.0015265958045205252, "Healthcare": -0.036671028837329644, "Nature": 0.01500070282697652, "Sales": 0.011667530824449268, "Transport": 0.011563450702118394, "Web/CloudOps": -0.0024812276054324567}, "frequency": {"A": -0.015156679474069179, "D": -0.0035424000877311013, "H": 0.00914351432601801, "M": 0.0249563629023416, "Q": 0.009768985062076574, "S": 0.014316589963030868, "T": -0.009493543315407305, "W": 0.016977941321857815}, "variates": {"multivariate": -0.0029602108510423664, "univariate": 0.006883862947969943}}}, {"cutoff": "backcast3_evals", "candidate_skill": 0.37694492908462107, "control_skill": 0.37292052340404636, "delta": 0.004024405680574716, "candidate_checkpoint": "4b309f0721378f97db815dd511b8b54711348270c48e9eae0103dba506f66708", "control_checkpoint": "227ea80abf17fc81ae191f94e91f6dd7adbc0d837235750b5f5e9cef3dd5472c", "candidate_eval_seconds": 35.036269426345825, "candidate_groups": {"term": {"long": {"n_configs": 19, "rel_mase_gmean": 0.7658385741964567, "rel_wql_gmean": 0.4818232852146461}, "medium": {"n_configs": 20, "rel_mase_gmean": 0.7621207269332833, "rel_wql_gmean": 0.541345803993662}, "short": {"n_configs": 54, "rel_mase_gmean": 0.7296975085741515, "rel_wql_gmean": 0.5294998607520116}}, "domain": {"Econ/Fin": {"n_configs": 6, "rel_mase_gmean": 0.8554264068111, "rel_wql_gmean": 0.8561009458940219}, "Energy": {"n_configs": 32, "rel_mase_gmean": 0.8461176695933341, "rel_wql_gmean": 0.5734895113400391}, "Healthcare": {"n_configs": 5, "rel_mase_gmean": 0.8355182133032761, "rel_wql_gmean": 0.6647408723860411}, "Nature": {"n_configs": 15, "rel_mase_gmean": 0.7087090510245987, "rel_wql_gmean": 0.35163339390109044}, "Sales": {"n_configs": 3, "rel_mase_gmean": 0.7664128435663117, "rel_wql_gmean": 0.4883936584348033}, "Transport": {"n_configs": 14, "rel_mase_gmean": 0.5573530975386383, "rel_wql_gmean": 0.46350372491675684}, "Web/CloudOps": {"n_configs": 18, "rel_mase_gmean": 0.7090246239649078, "rel_wql_gmean": 0.5390611955065782}}, "frequency": {"A": {"n_configs": 1, "rel_mase_gmean": 0.5451707093102802, "rel_wql_gmean": 0.8393479649599734}, "D": {"n_configs": 15, "rel_mase_gmean": 0.748900690253608, "rel_wql_gmean": 0.44304372232704237}, "H": {"n_configs": 29, "rel_mase_gmean": 0.7295337704253406, "rel_wql_gmean": 0.49749123108051385}, "M": {"n_configs": 4, "rel_mase_gmean": 0.8581875045945365, "rel_wql_gmean": 0.8436023416342614}, "Q": {"n_configs": 1, "rel_mase_gmean": 0.726420044081459, "rel_wql_gmean": 0.7772477798971246}, "S": {"n_configs": 6, "rel_mase_gmean": 0.837724352097228, "rel_wql_gmean": 0.6168745642998132}, "T": {"n_configs": 29, "rel_mase_gmean": 0.7079614722927914, "rel_wql_gmean": 0.48512546535474943}, "W": {"n_configs": 8, "rel_mase_gmean": 0.8373322410903229, "rel_wql_gmean": 0.6838410061705863}}, "variates": {"multivariate": {"n_configs": 41, "rel_mase_gmean": 0.7722787983099972, "rel_wql_gmean": 0.5375490141625122}, "univariate": {"n_configs": 52, "rel_mase_gmean": 0.7221958371110637, "rel_wql_gmean": 0.5098268016218866}}}, "control_groups": {"term": {"long": {"n_configs": 19, "rel_mase_gmean": 0.778439210250305, "rel_wql_gmean": 0.49273006835962047}, "medium": {"n_configs": 20, "rel_mase_gmean": 0.7543591675058114, "rel_wql_gmean": 0.5336114555873182}, "short": {"n_configs": 54, "rel_mase_gmean": 0.7410759417262284, "rel_wql_gmean": 0.5306695859227978}}, "domain": {"Econ/Fin": {"n_configs": 6, "rel_mase_gmean": 0.8417532075173881, "rel_wql_gmean": 0.845937573328201}, "Energy": {"n_configs": 32, "rel_mase_gmean": 0.8479297958628922, "rel_wql_gmean": 0.5713250153301629}, "Healthcare": {"n_configs": 5, "rel_mase_gmean": 0.8731181567001823, "rel_wql_gmean": 0.7062780184682419}, "Nature": {"n_configs": 15, "rel_mase_gmean": 0.7270655135819668, "rel_wql_gmean": 0.35387222781116245}, "Sales": {"n_configs": 3, "rel_mase_gmean": 0.7847661053470236, "rel_wql_gmean": 0.5044137986032409}, "Transport": {"n_configs": 14, "rel_mase_gmean": 0.5682067850777656, "rel_wql_gmean": 0.4723998126869398}, "Web/CloudOps": {"n_configs": 18, "rel_mase_gmean": 0.7099877343724879, "rel_wql_gmean": 0.5298000345996671}}, "frequency": {"A": {"n_configs": 1, "rel_mase_gmean": 0.5442290559778864, "rel_wql_gmean": 0.8446584386780612}, "D": {"n_configs": 15, "rel_mase_gmean": 0.7841644844236885, "rel_wql_gmean": 0.45301801369927336}, "H": {"n_configs": 29, "rel_mase_gmean": 0.7364988058949682, "rel_wql_gmean": 0.5033340588432017}, "M": {"n_configs": 4, "rel_mase_gmean": 0.8691738414068243, "rel_wql_gmean": 0.8678518341048217}, "Q": {"n_configs": 1, "rel_mase_gmean": 0.7280932255410748, "rel_wql_gmean": 0.7727291093550366}, "S": {"n_configs": 6, "rel_mase_gmean": 0.8609187156813392, "rel_wql_gmean": 0.6295058615351511}, "T": {"n_configs": 29, "rel_mase_gmean": 0.7042489928814539, "rel_wql_gmean": 0.4735497097280189}, "W": {"n_configs": 8, "rel_mase_gmean": 0.8282027876303875, "rel_wql_gmean": 0.6880431539037373}}, "variates": {"multivariate": {"n_configs": 41, "rel_mase_gmean": 0.7803099495695505, "rel_wql_gmean": 0.5354633301386752}, "univariate": {"n_configs": 52, "rel_mase_gmean": 0.7294079779755795, "rel_wql_gmean": 0.5139221776313134}}}, "group_skill_delta": {"term": {"long": 0.011869775603998267, "medium": -0.007860570510044074, "short": 0.005519126639915051}, "domain": {"Econ/Fin": -0.011920813092652138, "Energy": -0.0005716636937260766, "Healthcare": 0.04002595173089485, "Nature": 0.008030797217410623, "Sales": 0.017353861313399666, "Transport": 0.009826512199164195, "Web/CloudOps": -0.004917524701466669}, "frequency": {"A": 0.0015502464416283779, "D": 0.020003525013045476, "H": 0.0064131880499218585, "M": 0.017648914155616424, "Q": -0.0013250474371234722, "S": 0.01730707641566598, "T": -0.008554281574410072, "W": -0.0018277967125029937}, "variates": {"multivariate": 0.002083862910990164, "univariate": 0.0054666786327863814}}}], "mean_delta": 0.0017476629199747462, "positive_cutoffs": 4, "outcome": "Declared comparison checkpoints 48000,96000. No transfer formula or automatic publication is selected by this controller."}, "measured_training": {"utc": "2026-10-24T02:26:28.533562+00:00", "experiment": "E131", "run": "random_capacity_long_seasonal", "step": 96000, "checkpoint_sha256": "95470aa89f068a4ba5ecc70050f37094c95f564f301338f074861890816e6c5e", "completed_utc": "2026-10-24T02:25:38Z", "training_process_seconds": 18199.743041810812, "recovery4_loop_seconds": 18170.650780760916, "accumulated_logged_loop_seconds": 20727.150780760916, "phases": [{"log": "/workspace/research/random_capacity_long_seasonal_train.log", "starting_step": 0, "last_logged_step": 8350, "measured_training_loop_seconds": 2556.5, "endpoint_record_present": false, "unlogged_interrupted_or_running_tail_not_included": true}, {"log": "/workspace/research/random_capacity_long_seasonal_train_recovery4.log", "starting_step": 8250, "last_logged_step": 96000, "measured_training_loop_seconds": 18170.650780760916, "endpoint_record_present": true, "unlogged_interrupted_or_running_tail_not_included": false}], "status": "original96k training complete; scheduled four-cutoff endpoint evaluation pending", "allocation_replacement": "E145random_capacity_buildings started2026-10-24T02:25:44Z; trainer20033", "decision": "Preserve original endpoints and frozen teachers. E156/E174 await completed source comparisons; no final model selection yet.", "compute_scope": "Shared single-H100 logged wall time; unlogged interruption tails excluded, no operator pause time inferred."}, "four_cutoff_evaluation_seconds": 144.86733484268188, "followup_E156": {"step": 96000, "status": "source gate failed; no quartet probes", "positive_source": 0, "source_mean_delta": -0.0014599045406328004}, "followup_E174_status": "source gate failed; composition untested", "followup_E174_source_gates": {"delta_matched": {"positive": 0, "mean_delta": -0.0014599045406328004}, "delta_own48": {"positive": 3, "mean_delta": 0.002237419311583888}}, "analysis_cpu_seconds": 0.02591191208921373, "outcome": "Original96k endpoint fully reviewed. Preserve primary48k member in the published package unless a separately validated candidate improves it. E156/E174 obey their declared source gates; a gated-out composition is untested. E157 already tests the seasonal feature at the lower1e-4 learning rate with matched controls. No72k substitution, checkpoint sweep, or schedule change."} + +2026-10-24T02:36:53.130857+00:00: Target range diagnostic {"utc": "2026-10-24T02:36:53.130857+00:00", "experiment": "E172 target-range diagnostic", "checkpoint_sha256": "a75fdfcbb4d8e38dd6e7cded3c097ff0a129976fa63277bfd277a6031ccc6140", "diagnostic": "/workspace/research/gate_six_blend_target_range.json", "seconds": 22.700509308837354, "optimizer_updates": 0, "new_inference": false, "groups": {"term": {"long": {"outside_fraction": 0.00048609329962867424, "windows_with_any_outside_fraction": 0.004628571428571429, "mase_error_fraction_outside": 0.00857220730824085, "mase_error_fraction_outside_known_history": 0.00857220730824085, "wql_numerator_fraction_outside": 0.00039865362661420736, "median_forecast_outside_fraction": 0.0}, "medium": {"outside_fraction": 0.0002935885822242824, "windows_with_any_outside_fraction": 0.002857142857142857, "mase_error_fraction_outside": 0.008329706872332055, "mase_error_fraction_outside_known_history": 0.008329706872332055, "wql_numerator_fraction_outside": 0.00013293652925157968, "median_forecast_outside_fraction": 0.0}, "short": {"outside_fraction": 0.0006374662168429188, "windows_with_any_outside_fraction": 0.0026346436025948944, "mase_error_fraction_outside": 0.015556339747107063, "mase_error_fraction_outside_known_history": 0.015556339747107063, "wql_numerator_fraction_outside": 0.001994263423152817, "median_forecast_outside_fraction": 0.0}}, "domain": {"Econ/Fin": {"outside_fraction": 0.00021889966918253788, "windows_with_any_outside_fraction": 0.0004833002737825095, "mase_error_fraction_outside": 0.010048540574862635, "mase_error_fraction_outside_known_history": 0.010048540574862635, "wql_numerator_fraction_outside": 0.0033283996632173574, "median_forecast_outside_fraction": 0.0}, "Energy": {"outside_fraction": 0.0, "windows_with_any_outside_fraction": 0.0, "mase_error_fraction_outside": 0.0, "mase_error_fraction_outside_known_history": 0.0, "wql_numerator_fraction_outside": 0.0, "median_forecast_outside_fraction": 0.0}, "Healthcare": {"outside_fraction": 0.0012030075187969926, "windows_with_any_outside_fraction": 0.005263157894736842, "mase_error_fraction_outside": 0.03182906328427776, "mase_error_fraction_outside_known_history": 0.03182906328427776, "wql_numerator_fraction_outside": 0.0008308185141808639, "median_forecast_outside_fraction": 0.0}, "Nature": {"outside_fraction": 1.9478259905145727e-05, "windows_with_any_outside_fraction": 0.0003720794878190738, "mase_error_fraction_outside": 0.0038358096821072534, "mase_error_fraction_outside_known_history": 0.0038358096821072534, "wql_numerator_fraction_outside": 7.10963186492446e-05, "median_forecast_outside_fraction": 0.0}, "Sales": {"outside_fraction": 0.004324742866121131, "windows_with_any_outside_fraction": 0.016327153677263454, "mase_error_fraction_outside": 0.01167241749946521, "mase_error_fraction_outside_known_history": 0.01167241749946521, "wql_numerator_fraction_outside": 0.020006524394993334, "median_forecast_outside_fraction": 0.0}, "Transport": {"outside_fraction": 0.0, "windows_with_any_outside_fraction": 0.0, "mase_error_fraction_outside": 0.0, "mase_error_fraction_outside_known_history": 0.0, "wql_numerator_fraction_outside": 0.0, "median_forecast_outside_fraction": 0.0}, "Web/CloudOps": {"outside_fraction": 0.001325719023656536, "windows_with_any_outside_fraction": 0.010100000000000001, "mase_error_fraction_outside": 0.04434377543914426, "mase_error_fraction_outside_known_history": 0.04434377543914426, "wql_numerator_fraction_outside": 0.0007815424318332995, "median_forecast_outside_fraction": 0.0}}, "freq": {"10S": {"outside_fraction": 0.0, "windows_with_any_outside_fraction": 0.0, "mase_error_fraction_outside": 0.0, "mase_error_fraction_outside_known_history": 0.0, "wql_numerator_fraction_outside": 0.0, "median_forecast_outside_fraction": 0.0}, "10T": {"outside_fraction": 0.0, "windows_with_any_outside_fraction": 0.0, "mase_error_fraction_outside": 0.0, "mase_error_fraction_outside_known_history": 0.0, "wql_numerator_fraction_outside": 0.0, "median_forecast_outside_fraction": 0.0}, "15T": {"outside_fraction": 0.0, "windows_with_any_outside_fraction": 0.0, "mase_error_fraction_outside": 0.0, "mase_error_fraction_outside_known_history": 0.0, "wql_numerator_fraction_outside": 0.0, "median_forecast_outside_fraction": 0.0}, "5T": {"outside_fraction": 0.0013850615843483372, "windows_with_any_outside_fraction": 0.0134, "mase_error_fraction_outside": 0.050389420616173436, "mase_error_fraction_outside_known_history": 0.050389420616173436, "wql_numerator_fraction_outside": 0.0009690115676388176, "median_forecast_outside_fraction": 0.0}, "A-DEC": {"outside_fraction": 0.0007333098674175759, "windows_with_any_outside_fraction": 0.0017159450897571277, "mase_error_fraction_outside": 0.0196742518624531, "mase_error_fraction_outside_known_history": 0.0196742518624531, "wql_numerator_fraction_outside": 0.0070204678931672215, "median_forecast_outside_fraction": 0.0}, "D": {"outside_fraction": 0.0004392233433354723, "windows_with_any_outside_fraction": 0.0023077493377075754, "mase_error_fraction_outside": 0.015008245597728453, "mase_error_fraction_outside_known_history": 0.015008245597728453, "wql_numerator_fraction_outside": 0.001282998457526582, "median_forecast_outside_fraction": 0.0}, "H": {"outside_fraction": 0.000319149724546796, "windows_with_any_outside_fraction": 0.0013290322580645161, "mase_error_fraction_outside": 0.009103305206090448, "mase_error_fraction_outside_known_history": 0.009103305206090448, "wql_numerator_fraction_outside": 0.00012911967177419933, "median_forecast_outside_fraction": 0.0}, "M": {"outside_fraction": 0.0034903016140716836, "windows_with_any_outside_fraction": 0.01271281034480288, "mase_error_fraction_outside": 0.012169260351886884, "mase_error_fraction_outside_known_history": 0.012169260351886884, "wql_numerator_fraction_outside": 0.015452992342311494, "median_forecast_outside_fraction": 0.0}, "Q-DEC": {"outside_fraction": 0.00014641288433382137, "windows_with_any_outside_fraction": 0.00020916126333403055, "mase_error_fraction_outside": 0.018019137512219927, "mase_error_fraction_outside_known_history": 0.018019137512219927, "wql_numerator_fraction_outside": 0.0016866264422970524, "median_forecast_outside_fraction": 0.0}, "W-FRI": {"outside_fraction": 0.0, "windows_with_any_outside_fraction": 0.0, "mase_error_fraction_outside": 0.0, "mase_error_fraction_outside_known_history": 0.0, "wql_numerator_fraction_outside": 0.0, "median_forecast_outside_fraction": 0.0}, "W-SUN": {"outside_fraction": 0.0, "windows_with_any_outside_fraction": 0.0, "mase_error_fraction_outside": 0.0, "mase_error_fraction_outside_known_history": 0.0, "wql_numerator_fraction_outside": 0.0, "median_forecast_outside_fraction": 0.0}, "W-THU": {"outside_fraction": 0.0, "windows_with_any_outside_fraction": 0.0, "mase_error_fraction_outside": 0.0, "mase_error_fraction_outside_known_history": 0.0, "wql_numerator_fraction_outside": 0.0, "median_forecast_outside_fraction": 0.0}, "W-TUE": {"outside_fraction": 0.0, "windows_with_any_outside_fraction": 0.0, "mase_error_fraction_outside": 0.0, "mase_error_fraction_outside_known_history": 0.0, "wql_numerator_fraction_outside": 0.0, "median_forecast_outside_fraction": 0.0}, "W-WED": {"outside_fraction": 0.0, "windows_with_any_outside_fraction": 0.0, "mase_error_fraction_outside": 0.0, "mase_error_fraction_outside_known_history": 0.0, "wql_numerator_fraction_outside": 0.0, "median_forecast_outside_fraction": 0.0}}}, "equal_configuration_means": {"outside_fraction": 0.0005302470252089961, "windows_with_any_outside_fraction": 0.0031144886406465895, "mase_error_fraction_outside": 0.012479782308071334, "mase_error_fraction_outside_known_history": 0.012479782308071334, "wql_numerator_fraction_outside": 0.001245854448933881, "median_forecast_outside_fraction": 0.0}, "configs_with_outside_targets": 16, "near_threshold_count": 0, "interpretation": "Validation diagnostic only. Float64 finite mean/RMS with the same scale floor as the selected models; ordinary float32 rounding may affect boundary cases, explicitly counted. Target clipping during training is not an inference output bound, so these error shares do not prove clipping caused error or that removing it recovers the error. No fitted parameters or forecast modifications.", "decision": "Defer an unclipped-target training experiment. Extreme-target error concentration is small across terms, especially WQL. For pinball or absolute error, clipping a target changes the gradient only if prediction lies between the clipped and original targets; when predictions remain on the same side, gradients are identical. Thus extreme-target counts alone do not establish training bias. Current diagnostics do not measure training-gradient changes or imply recoverable skill."} + +2026-10-24T02:39:25.834377+00:00: Missingness diagnostic {"utc": "2026-10-24T02:39:25.834377+00:00", "experiment": "E172 missingness diagnostic", "checkpoint_sha256": "a75fdfcbb4d8e38dd6e7cded3c097ff0a129976fa63277bfd277a6031ccc6140", "validation": "/workspace/research/gate_six_blend_missingness.json", "training": "/workspace/research/corpus_missingness_diagnostic.json", "validation_configurations": 97, "validation_cpu_seconds": 29.51193598797545, "training_packs": [{"pack": "packed_sample", "seed": 307, "rows": 12288, "frequencies": {"missing_fraction": {"complete_after_first": 0.858154296875, "up_to_10pct": 0.088623046875, "10_to_50pct": 0.044270833333333336, "over_50pct": 0.004069010416666667, "no_observations": 0.0048828125}, "trailing_gap": {"zero": 0.975830078125, "1_to_15": 0.013264973958333334, "16_to_127": 0.005289713541666667, "at_least_128": 0.000732421875, "no_observations": 0.0048828125}}, "load_seconds": 1.2251523442100734, "seconds": 2.703156725037843}, {"pack": "packed_stratified_full", "seed": 307, "rows": 12288, "frequencies": {"missing_fraction": {"complete_after_first": 0.8539225260416666, "up_to_10pct": 0.09000651041666667, "10_to_50pct": 0.046549479166666664, "over_50pct": 0.004150390625, "no_observations": 0.00537109375}, "trailing_gap": {"zero": 0.97509765625, "1_to_15": 0.013102213541666666, "16_to_127": 0.005859375, "at_least_128": 0.0005696614583333334, "no_observations": 0.00537109375}}, "load_seconds": 34.15044753905386, "seconds": 37.93906126311049}], "equal_configuration_validation_means": {"missing_fraction": {"complete_after_first": {"history_fraction": 0.8285831593079487, "finite_label_fraction": 0.8299403372268567, "mase_eligible_fraction": 0.8296985947697691, "mase_error_fraction": 0.8281554374436456, "wql_numerator_fraction": 0.825867514740301}, "up_to_10pct": {"history_fraction": 0.14750079197925628, "finite_label_fraction": 0.1519905660355018, "mase_eligible_fraction": 0.15263313588782446, "mase_error_fraction": 0.15408669560101765, "wql_numerator_fraction": 0.15557596096357323}, "10_to_50pct": {"history_fraction": 0.019010072711608386, "finite_label_fraction": 0.017264688439285008, "mase_eligible_fraction": 0.017338801087452626, "mase_error_fraction": 0.017420132409399488, "wql_numerator_fraction": 0.018222898968420793}, "over_50pct": {"history_fraction": 0.001337826408294792, "finite_label_fraction": 0.0003294682549539221, "mase_eligible_fraction": 0.0003294682549539221, "mase_error_fraction": 0.0003377345459370945, "wql_numerator_fraction": 0.0002866795992372037}, "no_observations": {"history_fraction": 0.0035681495928918615, "finite_label_fraction": 0.00047494004340267797, "mase_eligible_fraction": 0.0, "mase_error_fraction": 0.0, "wql_numerator_fraction": 4.6945728467754345e-05}}, "trailing_gap": {"zero": {"history_fraction": 0.991236964061474, "finite_label_fraction": 0.9972480544592228, "mase_eligible_fraction": 0.997722992624851, "mase_error_fraction": 0.997676184409907, "wql_numerator_fraction": 0.9974949341888147}, "1_to_15": {"history_fraction": 0.002753115624515214, "finite_label_fraction": 0.0019771058075967298, "mase_eligible_fraction": 0.0019771076853711245, "mase_error_fraction": 0.0019538504481203907, "wql_numerator_fraction": 0.0022949869511726603}, "16_to_127": {"history_fraction": 0.00045383639504025273, "finite_label_fraction": 0.00013609101455827887, "mase_eligible_fraction": 0.00013609101455827887, "mase_error_fraction": 0.0001483673008834838, "wql_numerator_fraction": 5.290202872949015e-05}, "at_least_128": {"history_fraction": 0.001987934326078656, "finite_label_fraction": 0.00016380867521965982, "mase_eligible_fraction": 0.00016380867521965982, "mase_error_fraction": 0.00022159784108921252, "wql_numerator_fraction": 0.00011023110281535558}, "no_observations": {"history_fraction": 0.0035681495928918615, "finite_label_fraction": 0.00047494004340267797, "mase_eligible_fraction": 0.0, "mase_error_fraction": 0.0, "wql_numerator_fraction": 4.6945728467754345e-05}}}, "optimizer_updates": 0, "new_inference": false, "decision": "Defer extra masking augmentation. The existing sampler has roughly14percent histories with gaps after first observation, versus17percent in equal-config validation; many of these are small internal gaps. Missing histories carry approximately their proportion of scored labels, and trailing-gap histories account for less than0.3percent of either error numerator. This is descriptive, confounded by configuration and does not establish a causal absence of benefit. No thresholds or parameters were fit.", "interpretation": "Fixed descriptive buckets chosen before reading their results. Missing fractions exclude unavailable left prefixes; internal and trailing gaps remain. Validation uses cached predictions only. Training audit draws permitted-corpus/synthetic windows with the actual seed307/B48 context/horizon laws; no labels from validation enter training. Equal-configuration error shares describe concentration, not causal effects, independent evidence, or achievable skill gains."} + +2026-10-24T02:40:20.939720+00:00: E175 fresh eight-point patch study declared {"experiment": "E175", "declared_utc": "2026-10-24T02:40:20.939720+00:00", "status": "declared before implementation; engineering pending; no production queue", "run": "random_capacity_fresh_patch8", "control": "random_capacity_1024", "hypothesis": "Finer eight-point temporal patches may learn useful short-scale and long-horizon representations when present from the start. Existing E71/E141 studies changed resolution only after training a coarser model; their results do not establish the fresh regime. Test patch8 versus patch16 from own untrained146M initial, preserving every backbone tensor and the original source/horizon sampling.", "study_code": "/workspace/research/fresh_patch8", "model_code": "/workspace/research/random_capacity", "initial_parent": "/workspace/research/random_capacity_1024_initial.pt", "initial_parent_sha256": "c9693619ca6277c26fef3b2bde37ff6796bec97b3af9f94588bbc5ddd329ec90", "initial": "/workspace/research/random_capacity_fresh_patch8_initial.pt", "parameters": 146206864, "control_parameters": 146477344, "patch": 8, "control_patch": 16, "initialization": "Only own untrained E79 initial tensors. Same fixed E141 half-patch folding of embed/query/recency input weights; first8 head offsets from the zero-initialized output head. No mature checkpoint. Unchanged backbone; initial forecast/loss equivalence audited independently.", "seed": 307, "batch": 48, "micro_batch": 16, "learning_rate": 0.0002, "steps": 96000, "loss": "unchanged paired median/quantile objective; microbatch weighted by full effective-batch context-weight denominator, one optimizer step per48rows", "packed": "/workspace/research/packed_sample", "source_weights_from": "/workspace/research/packed_sample", "sampler": "Unchanged random_capacity sampler:95allowed directories,20percent own original generator with slowAR, original seed307 context/horizon choices and requested-horizon rounding16. Patch8 changes the model, not sampling.", "sources": "Same95directories and generator already declared by random_capacity control; no new source or synthetic generator.", "primary_step": 48000, "final_step": 96000, "diagnostic_steps": [4000, 8000, 16000, 24000, 72000], "selection": "Compare primary48000 and final96000 with matched E79 control at allfour existing cutoffs. At least3positive and positive mean required for further package research. No arbitrary checkpoint selection, transfer formula, or automatic publication. A new package must beat then-current publication and pass full public replay/runtime checks.", "allocation_after": "random_capacity_seasonal_spectral", "allocation_rule": "Queue only after completed E166original96000 on its existing allocation; no extra simultaneous production trainer. Queue exists only after allengineering passes.", "engineering": {"cpu": "Exact fixed initial folding/backbone provenance and zero-head initial forecast/loss equality; finite ordered outputs and prefix/row invariance. Same model/sampler files as control.", "gpu": "EffectiveB48/micro16 weighted accumulation versus full eager at smaller shape; finite nonzero backbone gradients and cosine>.995, loss difference<=.003*max(reference,.1); maximum C4096/H1024 reserved memory<12000MiB including Adam/EMA placeholders. No optimizer updates in gradient audit.", "recovery": "Actual original96k schedule from own initial:6repeat,6repeat,3+3restart,18fixtureupdates. All RNG/prefetch/ancestry exact; model/EMA maximumabs<=1e-4, optimizer moment relativeL2<=1e-3 in both comparisons, excluding scalar step counters. No tolerance relaxation. Fixture weights never candidates or warmstarts."}, "risks": "More tokens increase per-step cost. Micro16 is a numerical execution change relative to E79fullB48, although weighted effective-batch objective is mathematically identical; report both gradients and complete-state replay. Smaller patch projection initialization follows the previously documented fold and is part of this treatment, not a claim of identical hidden activations.", "optimizer_updates": 0, "pretrained_assets": []} + +2026-10-24T02:41:56.650970+00:00: E173 completed engineering review {"utc": "2026-10-24T02:41:56.650970+00:00", "experiment": "E173", "status": "all engineering passed; production not launched", "initial_checkpoint_sha256": "c1af6c16dac937ab1690084a65c0470514a20a63d755b296d36937f4b964ad6d", "parameters": 146673952, "cpu_preparation_seconds": 234.80395813821815, "source_feasibility_seconds": 24.84263140289113, "gpu_seconds": 192.0266228148248, "peak_reserved_mib": 10082.0, "public_runtime_seconds": 28.73415061295964, "recovery_seconds": 466.63887193915434, "recovery_lock_wait_seconds": 32.77122844313271, "fixture_optimizer_updates": 36, "passed_mode_fixture_updates": 18, "deterministic_training": true, "recovery_rng_prefetch_and_ancestry_exact": true, "training_bitwise_replay_claimed": false, "numerical_comparisons": {"uninterrupted_repeat": {"model": {"max_abs": 0.0, "relative_l2": null}, "ema_state": {"max_abs": 0.0, "relative_l2": null}, "optimizer": {"max_abs": 0.0, "relative_l2": 0.0}}, "uninterrupted_vs_restart": {"model": {"max_abs": 0.0, "relative_l2": null}, "ema_state": {"max_abs": 0.0, "relative_l2": null}, "optimizer": {"max_abs": 0.0, "relative_l2": 0.0}}}, "earlier_numerical_failure": {"utc": "2026-10-24T02:29:14.323207+00:00", "experiment": "E173", "original_thresholds": {"model_max_abs": 0.0001, "ema_max_abs": 0.0001, "optimizer_relative_l2": 0.001, "rng_prefetch_ancestry": "exact; numerical repeat and restart both measured"}, "comparisons": {"uninterrupted_repeat": {"model": {"tensor_count": 200, "tensor_elements": 146673952, "different_tensors": 200, "maximum_abs_difference": 2.384185791015625e-07, "sum_squared_difference": 8.342353275702982e-10, "sum_squared_reference": 68350.09754935035, "bitwise_equal": false}, "ema_state": {"tensor_count": 200, "tensor_elements": 146673952, "different_tensors": 200, "maximum_abs_difference": 1.1920928955078125e-07, "sum_squared_difference": 9.673294432037051e-11, "sum_squared_reference": 68350.11812042423, "bitwise_equal": false}, "optimizer": {"tensor_count": 600, "tensor_elements": 293348104, "different_tensors": 400, "maximum_abs_difference": 4.243222065269947e-06, "sum_squared_difference": 1.5440432492825133e-08, "sum_squared_reference": 0.004312768103778721, "bitwise_equal": false, "relative_l2_difference": 0.00189213307350575}, "batch_rng_state": {"tensor_count": 0, "tensor_elements": 0, "different_tensors": 0, "maximum_abs_difference": 0.0, "sum_squared_difference": 0.0, "sum_squared_reference": 0.0, "bitwise_equal": true}, "sampler_rng_state": {"tensor_count": 0, "tensor_elements": 0, "different_tensors": 0, "maximum_abs_difference": 0.0, "sum_squared_difference": 0.0, "sum_squared_reference": 0.0, "bitwise_equal": true}, "sampler_rng_states": {"tensor_count": 0, "tensor_elements": 0, "different_tensors": 0, "maximum_abs_difference": 0.0, "sum_squared_difference": 0.0, "sum_squared_reference": 0.0, "bitwise_equal": true}, "torch_rng_state": {"tensor_count": 1, "tensor_elements": 5056, "different_tensors": 0, "maximum_abs_difference": 0.0, "sum_squared_difference": 0.0, "sum_squared_reference": 0.0, "bitwise_equal": true}, "cuda_rng_state": {"tensor_count": 1, "tensor_elements": 16, "different_tensors": 0, "maximum_abs_difference": 0.0, "sum_squared_difference": 0.0, "sum_squared_reference": 0.0, "bitwise_equal": true}, "prefetched_batch": {"tensor_count": 0, "tensor_elements": 0, "different_tensors": 0, "maximum_abs_difference": 0.0, "sum_squared_difference": 0.0, "sum_squared_reference": 0.0, "bitwise_equal": true}, "parent_checkpoints": {"tensor_count": 0, "tensor_elements": 0, "different_tensors": 0, "maximum_abs_difference": 0.0, "sum_squared_difference": 0.0, "sum_squared_reference": 0.0, "bitwise_equal": true}}, "uninterrupted_vs_restart": {"model": {"tensor_count": 200, "tensor_elements": 146673952, "different_tensors": 200, "maximum_abs_difference": 2.384185791015625e-07, "sum_squared_difference": 8.5324845880767e-10, "sum_squared_reference": 68350.09754935035, "bitwise_equal": false}, "ema_state": {"tensor_count": 200, "tensor_elements": 146673952, "different_tensors": 200, "maximum_abs_difference": 1.1920928955078125e-07, "sum_squared_difference": 9.988165039318302e-11, "sum_squared_reference": 68350.11812042423, "bitwise_equal": false}, "optimizer": {"tensor_count": 600, "tensor_elements": 293348104, "different_tensors": 400, "maximum_abs_difference": 4.059635102748871e-06, "sum_squared_difference": 1.5889024198676546e-08, "sum_squared_reference": 0.004312768103778721, "bitwise_equal": false, "relative_l2_difference": 0.0019194224043925505}, "batch_rng_state": {"tensor_count": 0, "tensor_elements": 0, "different_tensors": 0, "maximum_abs_difference": 0.0, "sum_squared_difference": 0.0, "sum_squared_reference": 0.0, "bitwise_equal": true}, "sampler_rng_state": {"tensor_count": 0, "tensor_elements": 0, "different_tensors": 0, "maximum_abs_difference": 0.0, "sum_squared_difference": 0.0, "sum_squared_reference": 0.0, "bitwise_equal": true}, "sampler_rng_states": {"tensor_count": 0, "tensor_elements": 0, "different_tensors": 0, "maximum_abs_difference": 0.0, "sum_squared_difference": 0.0, "sum_squared_reference": 0.0, "bitwise_equal": true}, "torch_rng_state": {"tensor_count": 1, "tensor_elements": 5056, "different_tensors": 0, "maximum_abs_difference": 0.0, "sum_squared_difference": 0.0, "sum_squared_reference": 0.0, "bitwise_equal": true}, "cuda_rng_state": {"tensor_count": 1, "tensor_elements": 16, "different_tensors": 0, "maximum_abs_difference": 0.0, "sum_squared_difference": 0.0, "sum_squared_reference": 0.0, "bitwise_equal": true}, "prefetched_batch": {"tensor_count": 0, "tensor_elements": 0, "different_tensors": 0, "maximum_abs_difference": 0.0, "sum_squared_difference": 0.0, "sum_squared_reference": 0.0, "bitwise_equal": true}, "parent_checkpoints": {"tensor_count": 0, "tensor_elements": 0, "different_tensors": 0, "maximum_abs_difference": 0.0, "sum_squared_difference": 0.0, "sum_squared_reference": 0.0, "bitwise_equal": true}}}, "seconds": 23.09509088215418, "optimizer_updates": 0, "reused_fixture_updates": 18, "training_queued": false, "outcome": "Original recovery audit failed optimizer relative-L2 threshold; record both repeat and restart magnitudes before deciding any implementation correction. No tolerance relaxed and no trajectory rerun."}, "deterministic_correction": {"utc": "2026-10-24T02:29:49.361634+00:00", "experiment": "E173", "status": "original numerical audit failed; deterministic-kernel correction declared before production", "failure_analysis": "/workspace/research/fresh_calendar_recovery_failure_analysis.json", "observed_optimizer_relative_l2": {"uninterrupted_repeat": 0.00189213307350575, "uninterrupted_vs_restart": 0.0019194224043925505}, "original_thresholds": {"model_max_abs": 0.0001, "ema_max_abs": 0.0001, "optimizer_relative_l2": 0.001, "rng_prefetch_ancestry": "exact; numerical repeat and restart both measured"}, "correction": "Opt in to torch.use_deterministic_algorithms(True), CUBLAS_WORKSPACE_CONFIG=:4096:8 and cudnn.benchmark=False for E173 training only. Preserve initial checkpoint, data/RNG streams, model/loss, seed, batch, LR and96k schedule. Recheck GPU maximum shape/compiled gradients and new18-update full recovery under this actual mode before production. Inference runtime unchanged.", "kernel_mode_is_part_of_recipe": true, "completed_fixture_updates": 18, "additional_planned_fixture_updates": 18, "production_updates": 0, "no_validation_read": true, "no_tolerance_relaxation": true, "unchanged_audits_reused": ["source metadata", "calendar arithmetic", "sampler", "CPU model", "public runtime"], "risks": "A numerical execution change relative to the existing E110control; document it explicitly. If deterministic kernels fail the same engineering gates, do not launch."}, "failed_preflight": {"utc": "2026-10-24T02:21:16.066244+00:00", "issue": "E173 metadata provenance hashing referred to hashlib before import in the shared trainer. First fixture process failed before model load or any optimizer update.", "correction": "Add explicit hashlib import; reuse unchanged completed GPU audit and rerun only the unstarted recovery trajectories.", "optimizer_updates": 0, "failed_process_seconds": 1.6742983730509877, "failed_controller_step_seconds": 3.77045988291502, "preserved_fixture": "/workspace/research/fresh_calendar/recovery_fixture_preflight_missing_hash_import"}, "receipt": "/workspace/research/fresh_calendar_deterministic_engineering_receipt.json", "training_queued": false, "decision": "Keep the declared seed307/B48/LR1e-4/full corpus/96k calendar experiment. Only gated launch after E157seasonal_distill96, same allocation. Engineering fixture weights are not candidates or warm starts; no validation read."} + +2026-10-24T02:42:33.258319+00:00: Calendar queued and fresh patch8 engineering {"utc": "2026-10-24T02:42:33.258319+00:00", "E173": "all engineering passed; queued after E157seasonal_distill96", "E173_launch": {"utc": "2026-10-24T02:41:57.351489+00:00", "pid": 20828, "name": "random_capacity_calendar", "queue_pid": 20829, "watch_pid": 20830, "comparison_pid": 20831, "wait_pid": 9779, "allocation_after": "random_capacity_long_seasonal_distill", "command": ["python3", "/workspace/research/recovery/train.py", "--code-dir", "/workspace/research/random_capacity_calendar", "--packed", "/workspace/research/packed_calendar_full", "--source-weights-from", "/workspace/research/packed_sample", "--out", "/workspace/research/runs/random_capacity_calendar", "--initialize-from", "/workspace/research/random_capacity_calendar_initial.pt", "--steps", "96000", "--batch", "48", "--lr", ".0001", "--seed", "307", "--loss-mode", "paired", "--compile-loss", "--deterministic-training", "--stop-file", "/workspace/research/random_capacity_calendar.stop"], "initial_checkpoint_sha256": "c1af6c16dac937ab1690084a65c0470514a20a63d755b296d36937f4b964ad6d"}, "E173_launcher_session": 51189, "E173_passed_recovery_seconds": 466.63887193915434, "E173_deterministic_engineering_suite_seconds": 665.4674583750311, "E173_all_short_audit_tensors_bitwise_equal": true, "E173_original_failed_fixtures_preserved": true, "E175_cpu": {"experiment": "E175", "fixture_seed": 1277, "training_seed": 307, "parameters": 146206864, "config": {"d": 1024, "heads": 16, "enc_layers": 6, "dec_layers": 4, "patch": 8, "max_context": 4096, "max_horizon": 1024, "recency_features": true, "confidence_features": true, "partial_target_lengths": true}, "initial_checkpoint_sha256": "3cf77e33eca656eb02f778cf5afda6f61f8a5c4371e7193653c462c4eedb6409", "parent_sha256": "c9693619ca6277c26fef3b2bde37ff6796bec97b3af9f94588bbc5ddd329ec90", "fixed_untrained_fold_verified": true, "inherited_backbone_tensors_bitwise_equal": true, "initial_forward_and_loss_bitwise_equal": true, "model_code_sha256": "44eeb23c037e91b8f67e432615ce46540a7ac4242919785f9c4218de23121499", "sampler_code_sha256": "d84032a33937a465acfc9e1b97004ca8d9db221509bb2710e74500703ade4344", "same_model_and_sampler_code": "random_capacity; no model or sampler code change", "maximum_missing_prefix_difference": 2.384185791015625e-07, "maximum_individual_batch_difference": 2.384185791015625e-07, "other_row_isolation_bitwise_equal": true, "temporary_head_std": 0.001, "initial_checkpoint_unchanged": true, "cases": [{"context": 7, "horizon": 6, "loss": 7.672218322753906}, {"context": 31, "horizon": 17, "loss": 10.991255760192871}, {"context": 128, "horizon": 29, "loss": 12.166133880615234}, {"context": 256, "horizon": 128, "loss": 12.105745315551758}], "optimizer_updates": 0, "validation_data_read": false, "seconds": 9.121628640918061}, "E175_engineering_session": 17247, "E175_engineering_pid": 20835, "publication_unchanged": "a75fdfcbb4d8e38dd6e7cded3c097ff0a129976fa63277bfd277a6031ccc6140"} + +2026-10-24T02:46:41.483815+00:00: Scheduled main-cutoff learning diagnostic {"utc": "2026-10-24T02:46:41.483815+00:00", "experiment": "E137", "run": "random_capacity_deep", "step": 8000, "skill": 0.342783257653821, "checkpoint_sha256": "3d3a04c5d6fd28e216a68de489bbdd796581ad702279f806ece217386e262f80", "eval_seconds": 43.35013031959534, "comparisons": [{"control": "random_capacity_1024", "control_checkpoint_sha256": "12ad3e4b1be6b38b31a3dee057805e2a532f48fe3723f6bcefb15ba63ca8ee97", "control_skill": 0.3439793569353369, "delta": -0.0011960992815158722, "group_deltas": {"term": {"long": -0.011374242731595818, "medium": 0.0015406006553962959, "short": 0.0018622781536585808}, "domain": {"Econ/Fin": 0.0035249531951144775, "Energy": 0.0062589436152259426, "Healthcare": -0.041223872129343975, "Nature": -0.007509258549684095, "Sales": 0.0011958723790618242, "Transport": 0.0005223813570948144, "Web/CloudOps": 0.000931904797433103}, "frequency": {"A": 0.0009120674894507186, "D": -0.013641394086025382, "H": -0.002183775385389164, "M": -0.01798667553840949, "Q": -0.005148839040337139, "S": -0.003715750789109684, "T": 0.0036890730102573377, "W": 0.01816229182756668}, "variates": {"multivariate": 0.003122994426261738, "univariate": -0.00483238569846689}}}], "decision": "Scheduled early diagnostic only. Preserve original48000 primary and96000 final four-cutoff comparisons; no checkpoint selection or schedule change.", "new_neural_inference": false, "new_training": false}. No additional training or inference. + +2026-10-24T02:46:41.585636+00:00: Scheduled main-cutoff learning diagnostic {"utc": "2026-10-24T02:46:41.585636+00:00", "experiment": "E145", "run": "random_capacity_buildings", "step": 4000, "skill": 0.3407041502299354, "checkpoint_sha256": "944dd1016d59c45e553e84c37056691c8c95fb252c19ebdd9c1d19cbc880729a", "eval_seconds": 35.544854164123535, "comparisons": [{"control": "random_capacity_full", "control_checkpoint_sha256": "687830f4718f327cbbc64dbf00233a78035447e3a3c46015bc45b9496d8bec0e", "control_skill": 0.33786905941975176, "delta": 0.002835090810183627, "group_deltas": {"term": {"long": -0.00017983315681813217, "medium": 0.011136969597681845, "short": 0.000556398266961522}, "domain": {"Econ/Fin": -0.01050770557039793, "Energy": -0.01306758032399169, "Healthcare": 0.0712636557232118, "Nature": -0.007813733640957277, "Sales": -0.011095759394106008, "Transport": 0.01490362840569115, "Web/CloudOps": 0.009742145821471815}, "frequency": {"A": 0.006460016474528429, "D": -0.002368391914973955, "H": -0.0002100257281270057, "M": 0.022837481222163225, "Q": -0.02299489417691747, "S": -0.005240392952446271, "T": 0.007462241414116, "W": 0.007855202034467323}, "variates": {"multivariate": -0.0003962113246930299, "univariate": 0.0055788469477785485}}}], "decision": "Scheduled early diagnostic of the buildings4x source mixture only. Preserve original48000 primary and96000 final four-cutoff comparisons; no checkpoint selection or schedule change.", "new_neural_inference": false, "new_training": false}. No additional training or inference. + +2026-10-24T02:46:41.651642+00:00: Scheduled main-cutoff learning diagnostic {"utc": "2026-10-24T02:46:41.651642+00:00", "experiment": "E134", "run": "visibility_curriculum", "step": 72000, "skill": 0.3691483106579726, "checkpoint_sha256": "7259aa519babae4b078c6aa09eaea37c977d2ac119832ef9c60a2c38107d1dec", "eval_seconds": 36.956098318099976, "comparisons": [{"control": "random_capacity_1024", "control_checkpoint_sha256": "baa71611dff2da76515319d144b23e31e19304772ad4401fc4a18ea03f07a499", "control_skill": 0.36736566458978936, "delta": 0.0017826460681832357, "group_deltas": {"term": {"long": 0.0011030139188973331, "medium": -0.001059093760192309, "short": 0.0032059081300156445}, "domain": {"Econ/Fin": 0.001089843306269267, "Energy": 0.005357800297038806, "Healthcare": 0.006819011530917685, "Nature": 0.006777497031183133, "Sales": 0.005243902297637049, "Transport": 0.003538542725595173, "Web/CloudOps": -0.008104548960352953}, "frequency": {"A": 0.005177014224078347, "D": 0.0032419365209354067, "H": -0.00041909030669928793, "M": 0.016146933530998275, "Q": -0.00211281338227165, "S": 0.0009459285214131752, "T": 0.0034024834603234577, "W": -0.006073083636923049}, "variates": {"multivariate": 0.0030277299835679283, "univariate": 0.0007486535782168513}}}], "decision": "Scheduled learning diagnostic only. Original primary96000 remains unchanged despite the negative48000 diagnostic and positive72000 main score. No72000 substitution or endpoint sweep.", "new_neural_inference": false, "new_training": false}. No additional training or inference. + +2026-10-24T02:51:56.786909+00:00: E176 full-softmax fixed blend declared {"experiment": "E176", "declared_utc": "2026-10-24T02:51:56.786909+00:00", "status": "declared; single fixed CPU probe pending; no training", "hypothesis": "The E152primary6k gate places the fourth expert near its0.125floor on most leads. Remove only the uniform-half component inside the learned gate while retaining the outer equalblend with E159. This tests whether the binding gate constraint suppresses useful redistribution; no claim that the source gate was trained under the new formula.", "parent_descriptor": "a75fdfcbb4d8e38dd6e7cded3c097ff0a129976fa63277bfd277a6031ccc6140", "parent_probe_prefix": "gate_six_blend", "six_expert_descriptor": "20f014ca61a9cfa4f275d9d7abfd297561ac37fddcdae9ba2ef60d3fca106cf8", "gate_checkpoint_sha256": "a7d0ee6866ea787f29eac043531aad3613674f159fd00b3491fd87fab8388fd1", "gate_run": "ensemble_gate_refresh", "gate_step": 6000, "gate_expert_descriptor": "a1b4ab426901be8e1ee299eeeb3f041bac7cea3d4e59c4608824fc3d05c83e03", "member_checkpoint_hashes": ["0b11b7351a4a92d1d18c71a4159ec445be3a94ace8c7a9fa0edafad87d14e960", "308389b7217c080af9eb185559d4ee3cafa0f3e0f8c4dd8f5526b68198c89988", "1a2fb20a9fb5cae6526f2e36ea47559626bece78fd9c284899836505030ae9fe", "d7cfcd72c3cb84aa69e447b76c4c3ab98c21b7c600a463f0b805f4b4300baf33", "2877a38b94a7d77a53a9df410349cecc2f6ab134c83a76744924543bbe73eb17", "4b309f0721378f97db815dd511b8b54711348270c48e9eae0103dba506f66708"], "parameters": 549432812, "training_seed": 751, "optimizer_updates": 0, "composition": "Retain exact E159 A orderedtwo-quartermeans and allsix computed experts. With the unchanged primary6k gate logits, S=orderedFP32 sum of softmax(logits)*F0/F1/F2/F3 followed by cumulative maximum. Final(A+S)/2. Previous gate was0.125+0.5softmax. No other weights, member, H720 rule, feature, coefficient or checkpoint changes.", "gate_mixing": 1.0, "outer_blend_coefficient": 0.5, "horizon_threshold": 720, "screening": "Exactly one formula, allfour cached cutoffs. Recompute the small gate on CPU over cached ownexpert forecasts, scoring both original bounded control and fullsoftmax candidate. Require original CPU control score within1e-6 of published GPU cache on everycutoff; otherwise this CPU comparison is numerically unresolved and requires GPU gate replay. Require candidate>=3positive and meanpositive versus BOTH frozen current caches and sameCPU boundedcontrol before any full replay. No coefficient sweep or final12k substitution.", "inference": "Allsix experts and gate execute everyinstance; fixed parameters, no context fitting or cross-instance information. Ordered rawsoftmax computation, not cancellation-based2G-U reconstruction.", "publication": "Source/probe gate only authorizes further engineering and full public replay. Actual then-current improvement, exact independent composition, finite/monotone/row isolation and relocation checks are required before atomic promotion.", "risk": "More weight flexibility can overemphasize expert preferences learned on a different data distribution. Reinterpreting fixed logits differs from retraining an unconstrained gate. Four reused validation cutoffs are adaptive selection evidence, not a heldout reward estimate.", "sources": "Exactly current package sources and own checkpoints; no new data or generator.", "pretrained_assets": []} + +2026-10-24T02:53:30.341554+00:00: E176 arithmetic assertion correction {"utc": "2026-10-24T02:53:30.341554+00:00", "experiment": "E176", "status": "probability-sum arithmetic check corrected before completed panel scores", "original_tolerance": 2e-07, "new_tolerance": "8*float32eps =9.5367431640625e-7", "reason": "Four-term float32 softmax plus summation may differ from one by more than1.68machineeps. Use an explicit8eps arithmetic bound and record maximum observed deviation. No logits, probabilities, forecasts, coefficients or metric/selection thresholds changed.", "completed_panel_reports": 0, "optimizer_updates": 0, "original_source": "/workspace/research/gate_full_softmax_blend/probe_before_probability_tolerance.py", "original_log": "/workspace/research/gate_full_softmax_blend_probe_probability_failure.log", "first_process_elapsed_seconds": "not recorded; no duration inferred"} + +2026-10-24T02:54:13.958240+00:00: E176 one fixed full-softmax blend {"utc": "2026-10-24T02:54:13.958240+00:00", "experiment": "E176", "declaration": {"experiment": "E176", "declared_utc": "2026-10-24T02:51:56.786909+00:00", "status": "declared; single fixed CPU probe pending; no training", "hypothesis": "The E152primary6k gate places the fourth expert near its0.125floor on most leads. Remove only the uniform-half component inside the learned gate while retaining the outer equalblend with E159. This tests whether the binding gate constraint suppresses useful redistribution; no claim that the source gate was trained under the new formula.", "parent_descriptor": "a75fdfcbb4d8e38dd6e7cded3c097ff0a129976fa63277bfd277a6031ccc6140", "parent_probe_prefix": "gate_six_blend", "six_expert_descriptor": "20f014ca61a9cfa4f275d9d7abfd297561ac37fddcdae9ba2ef60d3fca106cf8", "gate_checkpoint_sha256": "a7d0ee6866ea787f29eac043531aad3613674f159fd00b3491fd87fab8388fd1", "gate_run": "ensemble_gate_refresh", "gate_step": 6000, "gate_expert_descriptor": "a1b4ab426901be8e1ee299eeeb3f041bac7cea3d4e59c4608824fc3d05c83e03", "member_checkpoint_hashes": ["0b11b7351a4a92d1d18c71a4159ec445be3a94ace8c7a9fa0edafad87d14e960", "308389b7217c080af9eb185559d4ee3cafa0f3e0f8c4dd8f5526b68198c89988", "1a2fb20a9fb5cae6526f2e36ea47559626bece78fd9c284899836505030ae9fe", "d7cfcd72c3cb84aa69e447b76c4c3ab98c21b7c600a463f0b805f4b4300baf33", "2877a38b94a7d77a53a9df410349cecc2f6ab134c83a76744924543bbe73eb17", "4b309f0721378f97db815dd511b8b54711348270c48e9eae0103dba506f66708"], "parameters": 549432812, "training_seed": 751, "optimizer_updates": 0, "composition": "Retain exact E159 A orderedtwo-quartermeans and allsix computed experts. With the unchanged primary6k gate logits, S=orderedFP32 sum of softmax(logits)*F0/F1/F2/F3 followed by cumulative maximum. Final(A+S)/2. Previous gate was0.125+0.5softmax. No other weights, member, H720 rule, feature, coefficient or checkpoint changes.", "gate_mixing": 1.0, "outer_blend_coefficient": 0.5, "horizon_threshold": 720, "screening": "Exactly one formula, allfour cached cutoffs. Recompute the small gate on CPU over cached ownexpert forecasts, scoring both original bounded control and fullsoftmax candidate. Require original CPU control score within1e-6 of published GPU cache on everycutoff; otherwise this CPU comparison is numerically unresolved and requires GPU gate replay. Require candidate>=3positive and meanpositive versus BOTH frozen current caches and sameCPU boundedcontrol before any full replay. No coefficient sweep or final12k substitution.", "inference": "Allsix experts and gate execute everyinstance; fixed parameters, no context fitting or cross-instance information. Ordered rawsoftmax computation, not cancellation-based2G-U reconstruction.", "publication": "Source/probe gate only authorizes further engineering and full public replay. Actual then-current improvement, exact independent composition, finite/monotone/row isolation and relocation checks are required before atomic promotion.", "risk": "More weight flexibility can overemphasize expert preferences learned on a different data distribution. Reinterpreting fixed logits differs from retraining an unconstrained gate. Four reused validation cutoffs are adaptive selection evidence, not a heldout reward estimate.", "sources": "Exactly current package sources and own checkpoints; no new data or generator.", "pretrained_assets": []}, "rows": [{"cutoff": "valid_screen", "skill": 0.38973571671528884, "bounded_cpu_skill": 0.3893609735379032, "frozen_parent_skill": 0.3893607757169213, "cpu_control_drift": 1.978209819286647e-07, "cpu_control_reconciled": true, "delta_current": 0.0003749409983675456, "delta_cpu_control": 0.0003747431773856169, "groups": {"term": {"long": 0.4085735399446445, "medium": 0.4129541542045503, "short": 0.3731706371856879}, "domain": {"Econ/Fin": 0.15152188184843685, "Energy": 0.24788050637729642, "Healthcare": 0.48573076393148984, "Nature": 0.4453844839223525, "Sales": 0.3449564125032867, "Transport": 0.4767528123701342, "Web/CloudOps": 0.5090524909609395}, "freq": {"10S": 0.42551809780335326, "10T": 0.6295459923161726, "15T": 0.21745516921977037, "5T": 0.5239442824555351, "A-DEC": 0.38041048364413044, "D": 0.37755566157190734, "H": 0.4054478583876393, "M": 0.11604537246298996, "Q-DEC": 0.2040893455517634, "W-FRI": 0.019126173570429006, "W-SUN": 0.11837583261038209, "W-THU": 0.2119899184850068, "W-TUE": 0.610907150814266, "W-WED": 0.3262471867903367}}, "group_deltas_vs_current": {"term": {"long": 0.0007954453508530746, "medium": 0.0005936183163278708, "short": 0.0001154391304135638}, "domain": {"Econ/Fin": 0.0007561426002299365, "Energy": -0.00022998353589698262, "Healthcare": -0.0023590038282351733, "Nature": 0.0012342917841222656, "Sales": -0.00041922788185455584, "Transport": 0.0011840797706593742, "Web/CloudOps": 0.0005481400122602231}, "freq": {"10S": 0.00044151196945874105, "10T": 0.0018684600777869598, "15T": -0.0007336436300634519, "5T": 0.0012050178049245464, "A-DEC": -0.0014329170306559558, "D": 0.0017932296778048196, "H": 0.0004578808649480237, "M": -0.004844320834156313, "Q-DEC": -0.001171525795831796, "W-FRI": -0.0009442539028234886, "W-SUN": 0.012341017386221065, "W-THU": -0.004242312762588574, "W-TUE": -0.00963954626221597, "W-WED": -0.0005016514431891439}}, "seconds": 11.219818743877113}, {"cutoff": "valid_backcast", "skill": 0.3455151997343595, "bounded_cpu_skill": 0.34590465735358, "frozen_parent_skill": 0.34590472083989543, "cpu_control_drift": -6.348631542696381e-08, "cpu_control_reconciled": true, "delta_current": -0.0003895211055359171, "delta_cpu_control": -0.00038945761922049016, "groups": {"term": {"long": 0.40511011773332717, "medium": 0.36305385070878726, "short": 0.31414053437039124}, "domain": {"Econ/Fin": 0.18222248666383867, "Energy": 0.23497314310748751, "Healthcare": 0.3969643727137344, "Nature": 0.3852485746470473, "Sales": 0.4087732972453213, "Transport": 0.3800316075737271, "Web/CloudOps": 0.4577478540379425}, "freq": {"10S": 0.34557611440393254, "10T": 0.3294715480502216, "15T": 0.220839211183959, "5T": 0.4469493288206361, "A-DEC": 0.32809301934108215, "D": 0.36417139329895076, "H": 0.37916514822548564, "M": 0.19365921501765404, "Q-DEC": 0.23710558230513334, "W-FRI": 0.23642557839883394, "W-SUN": 0.0682876000843805, "W-THU": 0.2648087492275938, "W-TUE": 0.5440099551553186, "W-WED": 0.3572706488142826}}, "group_deltas_vs_current": {"term": {"long": -0.0012212758393250756, "medium": -0.00040778008727992976, "short": -1.4247176341242174e-05}, "domain": {"Econ/Fin": 0.0006218145161401845, "Energy": -0.0003287336451089917, "Healthcare": -0.005161080319434741, "Nature": 0.0014199277120831022, "Sales": -6.585520700874703e-05, "Transport": 0.0006523388833498123, "Web/CloudOps": -0.0015030304575843756}, "freq": {"10S": -0.0024277889414647813, "10T": -0.0024991468423666285, "15T": -0.0014627333684901211, "5T": -0.0007419424114009088, "A-DEC": -0.0026945295963662907, "D": -0.000510561290157141, "H": 0.0010089963179600314, "M": 0.001905095997634887, "Q-DEC": 9.987233569042075e-05, "W-FRI": -0.003260323248450492, "W-SUN": 0.009225439534327862, "W-THU": -0.002170238115173251, "W-TUE": -0.004191527100193215, "W-WED": -0.0024242641642697738}}, "seconds": 11.001587620005012}, {"cutoff": "valid_backcast2", "skill": 0.3703286367908525, "bounded_cpu_skill": 0.3703246244228724, "frozen_parent_skill": 0.37032451826756796, "cpu_control_drift": 1.0615530443569554e-07, "cpu_control_reconciled": true, "delta_current": 4.1185232845242226e-06, "delta_cpu_control": 4.012367980088527e-06, "groups": {"term": {"long": 0.3748125741454439, "medium": 0.3981522553202482, "short": 0.35755074665953124}, "domain": {"Econ/Fin": 0.13148916143204226, "Energy": 0.2429275308934683, "Healthcare": 0.35328908360226374, "Nature": 0.4863531181061548, "Sales": 0.5588636757341272, "Transport": 0.43005275637916174, "Web/CloudOps": 0.44626509125560865}, "freq": {"10S": 0.2917755762499338, "10T": 0.5109767817691698, "15T": 0.10871672981838254, "5T": 0.4801159829311644, "A-DEC": 0.3371037901992008, "D": 0.43483250567854703, "H": 0.401253834584538, "M": 0.17688693328301552, "Q-DEC": 0.1568746927695206, "W-FRI": 0.15263145807217704, "W-SUN": 0.08899636336161298, "W-THU": 0.3528021071569609, "W-TUE": 0.13501749156668585, "W-WED": 0.5596901464418494}}, "group_deltas_vs_current": {"term": {"long": -4.293676141386982e-05, "medium": -0.0007015063324147253, "short": 0.0003142985205830673}, "domain": {"Econ/Fin": 0.0020062951764998616, "Energy": 0.0008345608443675046, "Healthcare": -0.005040031845423121, "Nature": 0.001331283960969265, "Sales": -0.00091914982176311, "Transport": 0.00038903301751203045, "Web/CloudOps": -0.0014985501785064193}, "freq": {"10S": -0.0005560753786023609, "10T": 0.0008799176940342823, "15T": 0.001109864263856175, "5T": -0.000978535740110753, "A-DEC": -0.0004095425759371718, "D": -0.0006943890370356698, "H": -0.00019413511740851153, "M": 0.003181323186132512, "Q-DEC": 0.0006346752219020813, "W-FRI": 0.0028860731667922357, "W-SUN": 0.0072497851883061015, "W-THU": 0.0041462209589586685, "W-TUE": -0.013674177270553534, "W-WED": -0.000829080260243642}}, "seconds": 9.06417894992046}, {"cutoff": "valid_backcast3", "skill": 0.3927069393381345, "bounded_cpu_skill": 0.39283494018817267, "frozen_parent_skill": 0.3928349019291829, "cpu_control_drift": 3.8258989754069717e-08, "cpu_control_reconciled": true, "delta_current": -0.0001279625910484139, "delta_cpu_control": -0.00012800085003816797, "groups": {"term": {"long": 0.3991804250068829, "medium": 0.37069699779657916, "short": 0.3983977562393225}, "domain": {"Econ/Fin": 0.19250871841127648, "Energy": 0.3201932983777491, "Healthcare": 0.23838728673082765, "Nature": 0.5063185380322636, "Sales": 0.4046890189139113, "Transport": 0.5139025569505313, "Web/CloudOps": 0.39835305867612303}, "freq": {"10S": 0.2894682712773011, "10T": 0.6044926655800424, "15T": 0.2585056967518774, "5T": 0.47016301420518636, "A-DEC": 0.3609931041989136, "D": 0.44622837191301445, "H": 0.40986824308643777, "M": 0.14707659960231578, "Q-DEC": 0.2621083658267582, "W-FRI": 0.03888212651186318, "W-SUN": 0.17709145230190693, "W-THU": 0.33738016428443607, "W-TUE": 0.2801573828901329, "W-WED": 0.3745866287732005}}, "group_deltas_vs_current": {"term": {"long": -0.000546177383808466, "medium": -0.0011974436218800122, "short": 0.00039868511177931776}, "domain": {"Econ/Fin": 0.0006558260092601742, "Energy": 0.0007856354458386505, "Healthcare": 0.0004213904596852558, "Nature": -0.0017570344814424876, "Sales": 0.0008243273492174463, "Transport": 0.0012956169625850666, "Web/CloudOps": -0.0017399348425232164}, "freq": {"10S": -0.00272179994714572, "10T": 0.00023363910950724431, "15T": -0.0004003852335306979, "5T": -0.001071444639698882, "A-DEC": -3.793420246778201e-05, "D": 0.0018045018703423121, "H": 0.00039186249736911094, "M": -0.0007477482974899141, "Q-DEC": -0.0005931654331139402, "W-FRI": -0.0025025291024789453, "W-SUN": 0.0021073968274785138, "W-THU": -0.006194378181181515, "W-TUE": -0.0027615678719342673, "W-WED": 0.0007000998077435483}}, "seconds": 9.489265379030257}], "comparisons": {"delta_current": {"positive": 2, "mean_delta": -3.4606043733065306e-05}, "delta_cpu_control": {"positive": 2, "mean_delta": -3.467573097323817e-05}}, "cpu_control_reconciled": true, "selection_gate_passed": false, "status": "fixed formula rejected; no full replay", "seconds": 40.793270842172205, "optimizer_updates": 0, "new_expert_inference": false, "small_gate_cpu_replay": true, "maximum_probability_sum_deviation": 2.384185791015625e-07, "note": "No fitted coefficients, alternate checkpoints, or updates. CPU arithmetic is reconciled by matched bounded control, not claimed bitwise equal to GPU. This candidate reinterprets existing learned logits; it was not trained with the full-softmax formula."} + +2026-10-24T02:54:21.477816+00:00: E175 numerical correction {"utc": "2026-10-24T02:54:21.477816+00:00", "experiment": "E175", "status": "original numerical gate failed; deterministic kernel correction declared before production", "failure_analysis": "/workspace/research/fresh_patch8_recovery_failure_analysis.json", "observed_optimizer_relative_l2": {"uninterrupted_repeat": 0.0012704367065202089, "uninterrupted_vs_restart": 0.0012690460235450353}, "original_thresholds": {"model_max_abs": 0.0001, "ema_max_abs": 0.0001, "optimizer_relative_l2": 0.001, "rng_prefetch_ancestry": "exact"}, "correction": "Opt in to torch.use_deterministic_algorithms(True), CUBLAS_WORKSPACE_CONFIG=:4096:8 and cudnn.benchmark=False. Preserve initial weights, model/sampler, seed307/effectiveB48/micro16/LR2e-4/original96k. Recheck GPU gradients/memory and separate18-update actual complete recovery under this mode. No threshold relaxation; no production unless passed.", "completed_fixture_updates": 18, "additional_planned_fixture_updates": 18, "production_updates": 0, "unchanged_audits_reused": ["CPU initialization and invariance", "shared public runtime code"], "risk": "Numerical execution differs from E79 control; this is explicitly part of the E175 recipe. CPU/GPU fixture weights are never candidates or warmstarts."} + +2026-10-24T02:54:49.889631+00:00: E176 endpoint review {"utc": "2026-10-24T02:54:49.889631+00:00", "experiment": "E176", "status": "rejected; no full replay or package", "source_gate_sha256": "a7d0ee6866ea787f29eac043531aad3613674f159fd00b3491fd87fab8388fd1", "parent_descriptor": "a75fdfcbb4d8e38dd6e7cded3c097ff0a129976fa63277bfd277a6031ccc6140", "rows": [{"cutoff": "valid_screen", "skill": 0.38973571671528884, "bounded_cpu_skill": 0.3893609735379032, "frozen_parent_skill": 0.3893607757169213, "cpu_control_drift": 1.978209819286647e-07, "cpu_control_reconciled": true, "delta_current": 0.0003749409983675456, "delta_cpu_control": 0.0003747431773856169, "groups": {"term": {"long": 0.4085735399446445, "medium": 0.4129541542045503, "short": 0.3731706371856879}, "domain": {"Econ/Fin": 0.15152188184843685, "Energy": 0.24788050637729642, "Healthcare": 0.48573076393148984, "Nature": 0.4453844839223525, "Sales": 0.3449564125032867, "Transport": 0.4767528123701342, "Web/CloudOps": 0.5090524909609395}, "freq": {"10S": 0.42551809780335326, "10T": 0.6295459923161726, "15T": 0.21745516921977037, "5T": 0.5239442824555351, "A-DEC": 0.38041048364413044, "D": 0.37755566157190734, "H": 0.4054478583876393, "M": 0.11604537246298996, "Q-DEC": 0.2040893455517634, "W-FRI": 0.019126173570429006, "W-SUN": 0.11837583261038209, "W-THU": 0.2119899184850068, "W-TUE": 0.610907150814266, "W-WED": 0.3262471867903367}}, "group_deltas_vs_current": {"term": {"long": 0.0007954453508530746, "medium": 0.0005936183163278708, "short": 0.0001154391304135638}, "domain": {"Econ/Fin": 0.0007561426002299365, "Energy": -0.00022998353589698262, "Healthcare": -0.0023590038282351733, "Nature": 0.0012342917841222656, "Sales": -0.00041922788185455584, "Transport": 0.0011840797706593742, "Web/CloudOps": 0.0005481400122602231}, "freq": {"10S": 0.00044151196945874105, "10T": 0.0018684600777869598, "15T": -0.0007336436300634519, "5T": 0.0012050178049245464, "A-DEC": -0.0014329170306559558, "D": 0.0017932296778048196, "H": 0.0004578808649480237, "M": -0.004844320834156313, "Q-DEC": -0.001171525795831796, "W-FRI": -0.0009442539028234886, "W-SUN": 0.012341017386221065, "W-THU": -0.004242312762588574, "W-TUE": -0.00963954626221597, "W-WED": -0.0005016514431891439}}, "seconds": 11.219818743877113, "rel_mase_delta": -0.000624920079101865, "rel_wql_delta": -0.00019070334176896075}, {"cutoff": "valid_backcast", "skill": 0.3455151997343595, "bounded_cpu_skill": 0.34590465735358, "frozen_parent_skill": 0.34590472083989543, "cpu_control_drift": -6.348631542696381e-08, "cpu_control_reconciled": true, "delta_current": -0.0003895211055359171, "delta_cpu_control": -0.00038945761922049016, "groups": {"term": {"long": 0.40511011773332717, "medium": 0.36305385070878726, "short": 0.31414053437039124}, "domain": {"Econ/Fin": 0.18222248666383867, "Energy": 0.23497314310748751, "Healthcare": 0.3969643727137344, "Nature": 0.3852485746470473, "Sales": 0.4087732972453213, "Transport": 0.3800316075737271, "Web/CloudOps": 0.4577478540379425}, "freq": {"10S": 0.34557611440393254, "10T": 0.3294715480502216, "15T": 0.220839211183959, "5T": 0.4469493288206361, "A-DEC": 0.32809301934108215, "D": 0.36417139329895076, "H": 0.37916514822548564, "M": 0.19365921501765404, "Q-DEC": 0.23710558230513334, "W-FRI": 0.23642557839883394, "W-SUN": 0.0682876000843805, "W-THU": 0.2648087492275938, "W-TUE": 0.5440099551553186, "W-WED": 0.3572706488142826}}, "group_deltas_vs_current": {"term": {"long": -0.0012212758393250756, "medium": -0.00040778008727992976, "short": -1.4247176341242174e-05}, "domain": {"Econ/Fin": 0.0006218145161401845, "Energy": -0.0003287336451089917, "Healthcare": -0.005161080319434741, "Nature": 0.0014199277120831022, "Sales": -6.585520700874703e-05, "Transport": 0.0006523388833498123, "Web/CloudOps": -0.0015030304575843756}, "freq": {"10S": -0.0024277889414647813, "10T": -0.0024991468423666285, "15T": -0.0014627333684901211, "5T": -0.0007419424114009088, "A-DEC": -0.0026945295963662907, "D": -0.000510561290157141, "H": 0.0010089963179600314, "M": 0.001905095997634887, "Q-DEC": 9.987233569042075e-05, "W-FRI": -0.003260323248450492, "W-SUN": 0.009225439534327862, "W-THU": -0.002170238115173251, "W-TUE": -0.004191527100193215, "W-WED": -0.0024242641642697738}}, "seconds": 11.001587620005012, "rel_mase_delta": 0.000583037871164982, "rel_wql_delta": 0.0002448131065100334}, {"cutoff": "valid_backcast2", "skill": 0.3703286367908525, "bounded_cpu_skill": 0.3703246244228724, "frozen_parent_skill": 0.37032451826756796, "cpu_control_drift": 1.0615530443569554e-07, "cpu_control_reconciled": true, "delta_current": 4.1185232845242226e-06, "delta_cpu_control": 4.012367980088527e-06, "groups": {"term": {"long": 0.3748125741454439, "medium": 0.3981522553202482, "short": 0.35755074665953124}, "domain": {"Econ/Fin": 0.13148916143204226, "Energy": 0.2429275308934683, "Healthcare": 0.35328908360226374, "Nature": 0.4863531181061548, "Sales": 0.5588636757341272, "Transport": 0.43005275637916174, "Web/CloudOps": 0.44626509125560865}, "freq": {"10S": 0.2917755762499338, "10T": 0.5109767817691698, "15T": 0.10871672981838254, "5T": 0.4801159829311644, "A-DEC": 0.3371037901992008, "D": 0.43483250567854703, "H": 0.401253834584538, "M": 0.17688693328301552, "Q-DEC": 0.1568746927695206, "W-FRI": 0.15263145807217704, "W-SUN": 0.08899636336161298, "W-THU": 0.3528021071569609, "W-TUE": 0.13501749156668585, "W-WED": 0.5596901464418494}}, "group_deltas_vs_current": {"term": {"long": -4.293676141386982e-05, "medium": -0.0007015063324147253, "short": 0.0003142985205830673}, "domain": {"Econ/Fin": 0.0020062951764998616, "Energy": 0.0008345608443675046, "Healthcare": -0.005040031845423121, "Nature": 0.001331283960969265, "Sales": -0.00091914982176311, "Transport": 0.00038903301751203045, "Web/CloudOps": -0.0014985501785064193}, "freq": {"10S": -0.0005560753786023609, "10T": 0.0008799176940342823, "15T": 0.001109864263856175, "5T": -0.000978535740110753, "A-DEC": -0.0004095425759371718, "D": -0.0006943890370356698, "H": -0.00019413511740851153, "M": 0.003181323186132512, "Q-DEC": 0.0006346752219020813, "W-FRI": 0.0028860731667922357, "W-SUN": 0.0072497851883061015, "W-THU": 0.0041462209589586685, "W-TUE": -0.013674177270553534, "W-WED": -0.000829080260243642}}, "seconds": 9.06417894992046, "rel_mase_delta": 0.0002636407226019877, "rel_wql_delta": -0.00018829473396198004}, {"cutoff": "valid_backcast3", "skill": 0.3927069393381345, "bounded_cpu_skill": 0.39283494018817267, "frozen_parent_skill": 0.3928349019291829, "cpu_control_drift": 3.8258989754069717e-08, "cpu_control_reconciled": true, "delta_current": -0.0001279625910484139, "delta_cpu_control": -0.00012800085003816797, "groups": {"term": {"long": 0.3991804250068829, "medium": 0.37069699779657916, "short": 0.3983977562393225}, "domain": {"Econ/Fin": 0.19250871841127648, "Energy": 0.3201932983777491, "Healthcare": 0.23838728673082765, "Nature": 0.5063185380322636, "Sales": 0.4046890189139113, "Transport": 0.5139025569505313, "Web/CloudOps": 0.39835305867612303}, "freq": {"10S": 0.2894682712773011, "10T": 0.6044926655800424, "15T": 0.2585056967518774, "5T": 0.47016301420518636, "A-DEC": 0.3609931041989136, "D": 0.44622837191301445, "H": 0.40986824308643777, "M": 0.14707659960231578, "Q-DEC": 0.2621083658267582, "W-FRI": 0.03888212651186318, "W-SUN": 0.17709145230190693, "W-THU": 0.33738016428443607, "W-TUE": 0.2801573828901329, "W-WED": 0.3745866287732005}}, "group_deltas_vs_current": {"term": {"long": -0.000546177383808466, "medium": -0.0011974436218800122, "short": 0.00039868511177931776}, "domain": {"Econ/Fin": 0.0006558260092601742, "Energy": 0.0007856354458386505, "Healthcare": 0.0004213904596852558, "Nature": -0.0017570344814424876, "Sales": 0.0008243273492174463, "Transport": 0.0012956169625850666, "Web/CloudOps": -0.0017399348425232164}, "freq": {"10S": -0.00272179994714572, "10T": 0.00023363910950724431, "15T": -0.0004003852335306979, "5T": -0.001071444639698882, "A-DEC": -3.793420246778201e-05, "D": 0.0018045018703423121, "H": 0.00039186249736911094, "M": -0.0007477482974899141, "Q-DEC": -0.0005931654331139402, "W-FRI": -0.0025025291024789453, "W-SUN": 0.0021073968274785138, "W-THU": -0.006194378181181515, "W-TUE": -0.0027615678719342673, "W-WED": 0.0007000998077435483}}, "seconds": 9.489265379030257, "rel_mase_delta": 0.00048484344516219746, "rel_wql_delta": -0.00011862268259188458}], "comparisons": {"delta_current": {"positive": 2, "mean_delta": -3.4606043733065306e-05}, "delta_cpu_control": {"positive": 2, "mean_delta": -3.467573097323817e-05}}, "mean_group_deltas": {"term": {"long": -0.0002537361584235842, "medium": -0.0004282779313116991, "short": 0.00020354389660867667}, "domain": {"Econ/Fin": 0.0010100195755325392, "Energy": 0.0002653697773000452, "Healthcare": -0.003034681383351945, "Nature": 0.0005571172439330363, "Sales": -0.00014497639035224164, "Transport": 0.0008802671585265709, "Web/CloudOps": -0.001048343866588447}, "freq": {"10S": -0.0013160380744385303, "10T": 0.00012071750974046447, "15T": -0.00037172449205702396, "5T": -0.00039672624657149935, "A-DEC": -0.0011437308513568, "D": 0.0005981953052385802, "H": 0.00041615114071716364, "M": -0.00012641248696970697, "Q-DEC": -0.00025753591783830854, "W-FRI": -0.0009552582717401725, "W-SUN": 0.0077309097340833854, "W-THU": -0.0021151770249961677, "W-TUE": -0.0075667046262242466, "W-WED": -0.0007637240149897528}}, "cpu_seconds": 40.793270842172205, "optimizer_updates": 0, "new_expert_inference": false, "maximum_cpu_control_score_drift": 1.978209819286647e-07, "maximum_probability_sum_deviation": 2.384185791015625e-07, "probability_check_correction": {"utc": "2026-10-24T02:53:30.341554+00:00", "experiment": "E176", "status": "probability-sum arithmetic check corrected before completed panel scores", "original_tolerance": 2e-07, "new_tolerance": "8*float32eps =9.5367431640625e-7", "reason": "Four-term float32 softmax plus summation may differ from one by more than1.68machineeps. Use an explicit8eps arithmetic bound and record maximum observed deviation. No logits, probabilities, forecasts, coefficients or metric/selection thresholds changed.", "completed_panel_reports": 0, "optimizer_updates": 0, "original_source": "/workspace/research/gate_full_softmax_blend/probe_before_probability_tolerance.py", "original_log": "/workspace/research/gate_full_softmax_blend_probe_probability_failure.log", "first_process_elapsed_seconds": "not recorded; no duration inferred"}, "outcome": "The single declared full-softmax reinterpretation fails2of4/negative mean against both current cached forecasts and matched CPU execution. Preserve published E172. No coefficient sweep, final12k substitution, new source, full replay or package. This does not test retraining a gate under the unconstrained formula; no such new training experiment is selected. E165six-expert gate remains its original bounded recipe."} + +## E152 ensemble_gate_full 6000 valid_screen +- Checkpoint SHA-256: `6139fe43b33fb992e7bd60c611e3414b64f8f293f5f52e8bb4e8bb3fd0f9d341`. +- Evaluation: 97 configurations, 9473 instances, 0 failed configurations; 103.25661120493896 seconds. +- Overall skill 0.389203; relative MASE 0.731561; relative WQL 0.509969. +- term skill: long=0.4082, medium=0.4125, short=0.3725. +- domain skill: Econ/Fin=0.1516, Energy=0.2478, Healthcare=0.4815, Nature=0.4453, Sales=0.3424, Transport=0.4757, Web/CloudOps=0.5092. +- frequency skill: A=0.3820, D=0.3766, H=0.4040, M=0.1122, Q=0.2031, S=0.4248, T=0.4483, W=0.2424. +- variates skill: multivariate=0.4019, univariate=0.3789. +- Outcome: Declared expert-version/corpus-coverage factorial. Only6340gateparameters trained; all four immutable experts forecast every instance. Source/control/current comparisons precede any full replay. + +## E152 ensemble_gate_full 6000 valid_backcast +- Checkpoint SHA-256: `6139fe43b33fb992e7bd60c611e3414b64f8f293f5f52e8bb4e8bb3fd0f9d341`. +- Evaluation: 97 configurations, 9330 instances, 0 failed configurations; 103.48386075301096 seconds. +- Overall skill 0.344635; relative MASE 0.788138; relative WQL 0.544960. +- term skill: long=0.4037, medium=0.3628, short=0.3133. +- domain skill: Econ/Fin=0.1828, Energy=0.2350, Healthcare=0.3963, Nature=0.3837, Sales=0.4081, Transport=0.3782, Web/CloudOps=0.4566. +- frequency skill: A=0.3293, D=0.3625, H=0.3773, M=0.1959, Q=0.2354, S=0.3451, T=0.3409, W=0.2907. +- variates skill: multivariate=0.3622, univariate=0.3303. +- Outcome: Declared expert-version/corpus-coverage factorial. Only6340gateparameters trained; all four immutable experts forecast every instance. Source/control/current comparisons precede any full replay. + +## E152 ensemble_gate_full 6000 valid_backcast2 +- Checkpoint SHA-256: `6139fe43b33fb992e7bd60c611e3414b64f8f293f5f52e8bb4e8bb3fd0f9d341`. +- Evaluation: 94 configurations, 8934 instances, 0 failed configurations; 99.70972866402008 seconds. +- Overall skill 0.369314; relative MASE 0.759404; relative WQL 0.523786. +- term skill: long=0.3727, medium=0.3968, short=0.3571. +- domain skill: Econ/Fin=0.1330, Energy=0.2424, Healthcare=0.3547, Nature=0.4851, Sales=0.5578, Transport=0.4278, Web/CloudOps=0.4448. +- frequency skill: A=0.3402, D=0.4345, H=0.3997, M=0.1740, Q=0.1555, S=0.2882, T=0.3699, W=0.2854. +- variates skill: multivariate=0.3712, univariate=0.3678. +- Outcome: Declared expert-version/corpus-coverage factorial. Only6340gateparameters trained; all four immutable experts forecast every instance. Source/control/current comparisons precede any full replay. + +## E152 ensemble_gate_full 6000 valid_backcast3 +- Checkpoint SHA-256: `6139fe43b33fb992e7bd60c611e3414b64f8f293f5f52e8bb4e8bb3fd0f9d341`. +- Evaluation: 93 configurations, 8812 instances, 0 failed configurations; 100.23792690620758 seconds. +- Overall skill 0.391666; relative MASE 0.737049; relative WQL 0.502097. +- term skill: long=0.3972, medium=0.3701, short=0.3975. +- domain skill: Econ/Fin=0.1924, Energy=0.3205, Healthcare=0.2362, Nature=0.5043, Sales=0.4029, Transport=0.5125, Web/CloudOps=0.3967. +- frequency skill: A=0.3606, D=0.4442, H=0.4084, M=0.1465, Q=0.2616, S=0.2846, T=0.4339, W=0.2495. +- variates skill: multivariate=0.3744, univariate=0.4050. +- Outcome: Declared expert-version/corpus-coverage factorial. Only6340gateparameters trained; all four immutable experts forecast every instance. Source/control/current comparisons precede any full replay. + +E152 ensemble_gate_full vs ensemble_gate at6000: {"label": "E152 ensemble_gate_full vs ensemble_gate at6000", "utc": "2026-10-24T02:55:43.872517+00:00", "candidate": "ensemble_gate_full_ema6000", "control": "ensemble_gate_ema6000", "rows": [{"cutoff": "evals", "candidate_skill": 0.38920293834674424, "control_skill": 0.3891538952530367, "delta": 4.90430937075681e-05, "candidate_checkpoint": "6139fe43b33fb992e7bd60c611e3414b64f8f293f5f52e8bb4e8bb3fd0f9d341", "control_checkpoint": "2115a57946abe740b5b8e9a107d0ceca1697b3c71168fe9b565b7a404ee2ea80", "candidate_eval_seconds": 103.25661120493896, "candidate_groups": {"term": {"long": {"n_configs": 21, "rel_mase_gmean": 0.7364673630437876, "rel_wql_gmean": 0.47553576468415915}, "medium": {"n_configs": 21, "rel_mase_gmean": 0.7053924164632641, "rel_wql_gmean": 0.4893482220599247}, "short": {"n_configs": 55, "rel_mase_gmean": 0.7399151348356707, "rel_wql_gmean": 0.532083883697073}}, "domain": {"Econ/Fin": {"n_configs": 6, "rel_mase_gmean": 0.8615382575745902, "rel_wql_gmean": 0.8355482422128665}, "Energy": {"n_configs": 32, "rel_mase_gmean": 0.8911522603458578, "rel_wql_gmean": 0.6349068515050954}, "Healthcare": {"n_configs": 5, "rel_mase_gmean": 0.5441503320981138, "rel_wql_gmean": 0.49399127701606693}, "Nature": {"n_configs": 15, "rel_mase_gmean": 0.7950730712902003, "rel_wql_gmean": 0.38699208562490234}, "Sales": {"n_configs": 4, "rel_mase_gmean": 0.8425439924731031, "rel_wql_gmean": 0.5132456431284351}, "Transport": {"n_configs": 15, "rel_mase_gmean": 0.6345043086615562, "rel_wql_gmean": 0.4331976883009865}, "Web/CloudOps": {"n_configs": 20, "rel_mase_gmean": 0.555813221503818, "rel_wql_gmean": 0.4333841587576985}}, "frequency": {"A": {"n_configs": 1, "rel_mase_gmean": 0.608221620866018, "rel_wql_gmean": 0.6280336730547587}, "D": {"n_configs": 15, "rel_mase_gmean": 0.7497165855551122, "rel_wql_gmean": 0.5184150743580946}, "H": {"n_configs": 31, "rel_mase_gmean": 0.7251342225084892, "rel_wql_gmean": 0.4898012803228941}, "M": {"n_configs": 5, "rel_mase_gmean": 0.9662055039968831, "rel_wql_gmean": 0.8156797607181708}, "Q": {"n_configs": 1, "rel_mase_gmean": 0.7680803697201887, "rel_wql_gmean": 0.8267798857383293}, "S": {"n_configs": 6, "rel_mase_gmean": 0.6563936728494965, "rel_wql_gmean": 0.5040342522524623}, "T": {"n_configs": 30, "rel_mase_gmean": 0.6807824876215121, "rel_wql_gmean": 0.44704029387581273}, "W": {"n_configs": 8, "rel_mase_gmean": 0.8779591180371074, "rel_wql_gmean": 0.6536604341779116}}, "variates": {"multivariate": {"n_configs": 43, "rel_mase_gmean": 0.7053044924283617, "rel_wql_gmean": 0.5072210259060677}, "univariate": {"n_configs": 54, "rel_mase_gmean": 0.7531653936683522, "rel_wql_gmean": 0.5121675088726382}}}, "control_groups": {"term": {"long": {"n_configs": 21, "rel_mase_gmean": 0.7364459507042054, "rel_wql_gmean": 0.4755697971765997}, "medium": {"n_configs": 21, "rel_mase_gmean": 0.705725254641002, "rel_wql_gmean": 0.4896858518745376}, "short": {"n_configs": 55, "rel_mase_gmean": 0.7397234471502719, "rel_wql_gmean": 0.5321278452570799}}, "domain": {"Econ/Fin": {"n_configs": 6, "rel_mase_gmean": 0.8615237874881659, "rel_wql_gmean": 0.8356013887604252}, "Energy": {"n_configs": 32, "rel_mase_gmean": 0.8913262218388278, "rel_wql_gmean": 0.6351339086754909}, "Healthcare": {"n_configs": 5, "rel_mase_gmean": 0.5440759106430966, "rel_wql_gmean": 0.4941361567456849}, "Nature": {"n_configs": 15, "rel_mase_gmean": 0.794973161669226, "rel_wql_gmean": 0.3873664651416758}, "Sales": {"n_configs": 4, "rel_mase_gmean": 0.8415413625242938, "rel_wql_gmean": 0.5129205524308298}, "Transport": {"n_configs": 15, "rel_mase_gmean": 0.6348171905006708, "rel_wql_gmean": 0.43339778932077555}, "Web/CloudOps": {"n_configs": 20, "rel_mase_gmean": 0.5555030792807922, "rel_wql_gmean": 0.4331316646849878}}, "frequency": {"A": {"n_configs": 1, "rel_mase_gmean": 0.6081119055047446, "rel_wql_gmean": 0.6277298132615224}, "D": {"n_configs": 15, "rel_mase_gmean": 0.7500973483663572, "rel_wql_gmean": 0.5186179442639502}, "H": {"n_configs": 31, "rel_mase_gmean": 0.7249079419744635, "rel_wql_gmean": 0.4897508699794607}, "M": {"n_configs": 5, "rel_mase_gmean": 0.9643106633501736, "rel_wql_gmean": 0.8157244325106289}, "Q": {"n_configs": 1, "rel_mase_gmean": 0.7681238260199779, "rel_wql_gmean": 0.8266990024699747}, "S": {"n_configs": 6, "rel_mase_gmean": 0.6565228342396154, "rel_wql_gmean": 0.5040952618525022}, "T": {"n_configs": 30, "rel_mase_gmean": 0.6808048286769331, "rel_wql_gmean": 0.4471886333896679}, "W": {"n_configs": 8, "rel_mase_gmean": 0.8784946548259455, "rel_wql_gmean": 0.6542720159132867}}, "variates": {"multivariate": {"n_configs": 43, "rel_mase_gmean": 0.7052490192101172, "rel_wql_gmean": 0.5073126711779109}, "univariate": {"n_configs": 54, "rel_mase_gmean": 0.7531434617083017, "rel_wql_gmean": 0.5122885690189363}}}, "group_skill_delta": {"term": {"long": 1.2572513156783316e-05, "medium": 0.00034129014056338836, "short": -5.536480614487527e-05}, "domain": {"Econ/Fin": 1.985763099532356e-05, "Energy": 0.00020791666320663094, "Healthcare": 4.0562439355906754e-05, "Nature": 0.00023337400345035952, "Sales": -0.0005995570342220979, "Transport": 0.00025034939107793086, "Web/CloudOps": -0.0002799027964526801}, "frequency": {"A": -0.00020526538719778387, "D": 0.0002802937444346121, "H": -0.00012365758599419685, "M": -0.0008466397774051782, "Q": -1.643881013457804e-05, "S": 9.140231058157866e-05, "T": 0.00010057458754664239, "W": 0.0005854292120478499}, "variates": {"multivariate": 3.0507874902441223e-05, "univariate": 6.435403470372858e-05}}}, {"cutoff": "backcast_evals", "candidate_skill": 0.34463492955868724, "control_skill": 0.34451133233877995, "delta": 0.0001235972199072899, "candidate_checkpoint": "6139fe43b33fb992e7bd60c611e3414b64f8f293f5f52e8bb4e8bb3fd0f9d341", "control_checkpoint": "2115a57946abe740b5b8e9a107d0ceca1697b3c71168fe9b565b7a404ee2ea80", "candidate_eval_seconds": 103.48386075301096, "candidate_groups": {"term": {"long": {"n_configs": 21, "rel_mase_gmean": 0.7688177100397589, "rel_wql_gmean": 0.46253204733137343}, "medium": {"n_configs": 21, "rel_mase_gmean": 0.7677466641658384, "rel_wql_gmean": 0.5288782911838639}, "short": {"n_configs": 55, "rel_mase_gmean": 0.8036448947370151, "rel_wql_gmean": 0.586848042393731}}, "domain": {"Econ/Fin": {"n_configs": 6, "rel_mase_gmean": 0.8512183872885004, "rel_wql_gmean": 0.7844913516718921}, "Energy": {"n_configs": 32, "rel_mase_gmean": 0.8833553034923182, "rel_wql_gmean": 0.6624875238195992}, "Healthcare": {"n_configs": 5, "rel_mase_gmean": 0.6506950861467075, "rel_wql_gmean": 0.5601788165261954}, "Nature": {"n_configs": 15, "rel_mase_gmean": 0.9033575798442255, "rel_wql_gmean": 0.4204703619638155}, "Sales": {"n_configs": 4, "rel_mase_gmean": 0.7195851961271035, "rel_wql_gmean": 0.4868373745931622}, "Transport": {"n_configs": 15, "rel_mase_gmean": 0.7324980138807451, "rel_wql_gmean": 0.5278421387366751}, "Web/CloudOps": {"n_configs": 20, "rel_mase_gmean": 0.6537782969443796, "rel_wql_gmean": 0.4517198776871335}}, "frequency": {"A": {"n_configs": 1, "rel_mase_gmean": 0.6353401571378804, "rel_wql_gmean": 0.7080946229173095}, "D": {"n_configs": 15, "rel_mase_gmean": 0.8282870369085663, "rel_wql_gmean": 0.4907032114500986}, "H": {"n_configs": 31, "rel_mase_gmean": 0.7662727044969453, "rel_wql_gmean": 0.5060458109101549}, "M": {"n_configs": 5, "rel_mase_gmean": 0.8413519114707506, "rel_wql_gmean": 0.768497602767783}, "Q": {"n_configs": 1, "rel_mase_gmean": 0.7557887336034927, "rel_wql_gmean": 0.7734945975985007}, "S": {"n_configs": 6, "rel_mase_gmean": 0.8496411581918314, "rel_wql_gmean": 0.5048492269474154}, "T": {"n_configs": 30, "rel_mase_gmean": 0.7598245251089581, "rel_wql_gmean": 0.5716919924718779}, "W": {"n_configs": 8, "rel_mase_gmean": 0.8606700436403543, "rel_wql_gmean": 0.5845540350686395}}, "variates": {"multivariate": {"n_configs": 43, "rel_mase_gmean": 0.7777190759117477, "rel_wql_gmean": 0.5230509961434829}, "univariate": {"n_configs": 54, "rel_mase_gmean": 0.7965335452423263, "rel_wql_gmean": 0.5630603441336374}}}, "control_groups": {"term": {"long": {"n_configs": 21, "rel_mase_gmean": 0.7691953335821761, "rel_wql_gmean": 0.4627303531901571}, "medium": {"n_configs": 21, "rel_mase_gmean": 0.7674526053408633, "rel_wql_gmean": 0.5287604498603796}, "short": {"n_configs": 55, "rel_mase_gmean": 0.8038778359075024, "rel_wql_gmean": 0.5869980231872798}}, "domain": {"Econ/Fin": {"n_configs": 6, "rel_mase_gmean": 0.8511829323181022, "rel_wql_gmean": 0.7846465334380613}, "Energy": {"n_configs": 32, "rel_mase_gmean": 0.8833613884303286, "rel_wql_gmean": 0.6626592834516265}, "Healthcare": {"n_configs": 5, "rel_mase_gmean": 0.6514007845060794, "rel_wql_gmean": 0.5590515139682694}, "Nature": {"n_configs": 15, "rel_mase_gmean": 0.9036967508528725, "rel_wql_gmean": 0.4209643778642046}, "Sales": {"n_configs": 4, "rel_mase_gmean": 0.7204696211529373, "rel_wql_gmean": 0.4872923571092192}, "Transport": {"n_configs": 15, "rel_mase_gmean": 0.7323964069146874, "rel_wql_gmean": 0.5276686564187033}, "Web/CloudOps": {"n_configs": 20, "rel_mase_gmean": 0.6539206259797139, "rel_wql_gmean": 0.4517774173910834}}, "frequency": {"A": {"n_configs": 1, "rel_mase_gmean": 0.6353979663319429, "rel_wql_gmean": 0.7083966062237425}, "D": {"n_configs": 15, "rel_mase_gmean": 0.8287186929492704, "rel_wql_gmean": 0.49075342638505814}, "H": {"n_configs": 31, "rel_mase_gmean": 0.7660022323916221, "rel_wql_gmean": 0.5057883369260989}, "M": {"n_configs": 5, "rel_mase_gmean": 0.840421736009188, "rel_wql_gmean": 0.7683604511312051}, "Q": {"n_configs": 1, "rel_mase_gmean": 0.7562360316720279, "rel_wql_gmean": 0.7737834341734877}, "S": {"n_configs": 6, "rel_mase_gmean": 0.8502063314002679, "rel_wql_gmean": 0.5052710666666878}, "T": {"n_configs": 30, "rel_mase_gmean": 0.7602126510941328, "rel_wql_gmean": 0.5722159579505812}, "W": {"n_configs": 8, "rel_mase_gmean": 0.8614098951222435, "rel_wql_gmean": 0.584569871704564}}, "variates": {"multivariate": {"n_configs": 43, "rel_mase_gmean": 0.7780281184441407, "rel_wql_gmean": 0.5233484481580956}, "univariate": {"n_configs": 54, "rel_mase_gmean": 0.7965501176333248, "rel_wql_gmean": 0.5629970553979425}}}, "group_skill_delta": {"term": {"long": 0.00027428332793399957, "medium": -0.00019302412607313801, "short": 0.00018728390776578951}, "domain": {"Econ/Fin": 6.37990646231712e-05, "Energy": 0.00010179634479434707, "Healthcare": -0.000280820947311633, "Nature": 0.00047770277134595585, "Sales": 0.0006403014955568276, "Transport": -0.000145311589125785, "Web/CloudOps": 9.376460393051289e-05}, "frequency": {"A": 0.00017352979016482806, "D": 0.00019872790439223742, "H": -0.0002683177851839913, "M": -0.0005163346319893014, "Q": 0.00036900482227741893, "S": 0.000491450230279078, "T": 0.000470347365409185, "W": 0.0003144123885429062}, "variates": {"multivariate": 0.00030807239157670807, "univariate": -3.0672248384822076e-05}}}, {"cutoff": "backcast2_evals", "candidate_skill": 0.36931390849979906, "control_skill": 0.3692552712826589, "delta": 5.863721714016723e-05, "candidate_checkpoint": "6139fe43b33fb992e7bd60c611e3414b64f8f293f5f52e8bb4e8bb3fd0f9d341", "control_checkpoint": "2115a57946abe740b5b8e9a107d0ceca1697b3c71168fe9b565b7a404ee2ea80", "candidate_eval_seconds": 99.70972866402008, "candidate_groups": {"term": {"long": {"n_configs": 19, "rel_mase_gmean": 0.7904651639397322, "rel_wql_gmean": 0.4978779666112466}, "medium": {"n_configs": 21, "rel_mase_gmean": 0.7461560036140715, "rel_wql_gmean": 0.48768028342777003}, "short": {"n_configs": 54, "rel_mase_gmean": 0.753909832161227, "rel_wql_gmean": 0.548236636621521}}, "domain": {"Econ/Fin": {"n_configs": 6, "rel_mase_gmean": 0.8591285111150543, "rel_wql_gmean": 0.8750334733251186}, "Energy": {"n_configs": 32, "rel_mase_gmean": 0.8954084684136449, "rel_wql_gmean": 0.6410753881259532}, "Healthcare": {"n_configs": 5, "rel_mase_gmean": 0.6959489755668505, "rel_wql_gmean": 0.5984213150523268}, "Nature": {"n_configs": 15, "rel_mase_gmean": 0.7411588697785407, "rel_wql_gmean": 0.3576662324109186}, "Sales": {"n_configs": 3, "rel_mase_gmean": 0.5558609097673092, "rel_wql_gmean": 0.35180960844530385}, "Transport": {"n_configs": 14, "rel_mase_gmean": 0.6616270348576757, "rel_wql_gmean": 0.49485455987325183}, "Web/CloudOps": {"n_configs": 19, "rel_mase_gmean": 0.6712152744027265, "rel_wql_gmean": 0.4592200768742787}}, "frequency": {"A": {"n_configs": 1, "rel_mase_gmean": 0.5784011417452236, "rel_wql_gmean": 0.752672234109546}, "D": {"n_configs": 15, "rel_mase_gmean": 0.7220119087254645, "rel_wql_gmean": 0.44298333552230534}, "H": {"n_configs": 30, "rel_mase_gmean": 0.7482097468549009, "rel_wql_gmean": 0.4817021734754142}, "M": {"n_configs": 4, "rel_mase_gmean": 0.8045779642374045, "rel_wql_gmean": 0.8479009464696349}, "Q": {"n_configs": 1, "rel_mase_gmean": 0.8247786167317338, "rel_wql_gmean": 0.864773509453261}, "S": {"n_configs": 6, "rel_mase_gmean": 0.8992278197403357, "rel_wql_gmean": 0.5633734108267967}, "T": {"n_configs": 29, "rel_mase_gmean": 0.7464572076379773, "rel_wql_gmean": 0.531897329596194}, "W": {"n_configs": 8, "rel_mase_gmean": 0.8232789428019139, "rel_wql_gmean": 0.6202629998300936}}, "variates": {"multivariate": {"n_configs": 42, "rel_mase_gmean": 0.7750675549505295, "rel_wql_gmean": 0.5101500825132582}, "univariate": {"n_configs": 52, "rel_mase_gmean": 0.7469837805984161, "rel_wql_gmean": 0.5350648742452286}}}, "control_groups": {"term": {"long": {"n_configs": 19, "rel_mase_gmean": 0.7902938318860995, "rel_wql_gmean": 0.4977963298037035}, "medium": {"n_configs": 21, "rel_mase_gmean": 0.7463131012782198, "rel_wql_gmean": 0.48763633945412027}, "short": {"n_configs": 54, "rel_mase_gmean": 0.7540488204132838, "rel_wql_gmean": 0.5483608127979848}}, "domain": {"Econ/Fin": {"n_configs": 6, "rel_mase_gmean": 0.8594751460854615, "rel_wql_gmean": 0.8756215264384803}, "Energy": {"n_configs": 32, "rel_mase_gmean": 0.8954190802700714, "rel_wql_gmean": 0.641128974585506}, "Healthcare": {"n_configs": 5, "rel_mase_gmean": 0.6964824489811069, "rel_wql_gmean": 0.5984297586733128}, "Nature": {"n_configs": 15, "rel_mase_gmean": 0.7410304083167673, "rel_wql_gmean": 0.35740800615553536}, "Sales": {"n_configs": 3, "rel_mase_gmean": 0.5554524169073445, "rel_wql_gmean": 0.3516202979967578}, "Transport": {"n_configs": 14, "rel_mase_gmean": 0.6616274111297696, "rel_wql_gmean": 0.49475736037429535}, "Web/CloudOps": {"n_configs": 19, "rel_mase_gmean": 0.6715129139772495, "rel_wql_gmean": 0.45959833905594105}}, "frequency": {"A": {"n_configs": 1, "rel_mase_gmean": 0.5780595196142971, "rel_wql_gmean": 0.7545958139506606}, "D": {"n_configs": 15, "rel_mase_gmean": 0.7219608611737873, "rel_wql_gmean": 0.4428203116356558}, "H": {"n_configs": 30, "rel_mase_gmean": 0.748318765635403, "rel_wql_gmean": 0.4817412143295903}, "M": {"n_configs": 4, "rel_mase_gmean": 0.8035534035507537, "rel_wql_gmean": 0.8457821464270225}, "Q": {"n_configs": 1, "rel_mase_gmean": 0.8251525142814832, "rel_wql_gmean": 0.8649272471317476}, "S": {"n_configs": 6, "rel_mase_gmean": 0.8990795032628562, "rel_wql_gmean": 0.5633706894917235}, "T": {"n_configs": 29, "rel_mase_gmean": 0.7465724484386546, "rel_wql_gmean": 0.5320522780653318}, "W": {"n_configs": 8, "rel_mase_gmean": 0.8241740973365012, "rel_wql_gmean": 0.6209745017214765}}, "variates": {"multivariate": {"n_configs": 42, "rel_mase_gmean": 0.7752240721939954, "rel_wql_gmean": 0.5102244240010131}, "univariate": {"n_configs": 52, "rel_mase_gmean": 0.7470092930299288, "rel_wql_gmean": 0.5350762099823907}}}, "group_skill_delta": {"term": {"long": -0.00011941996023956403, "medium": 3.631799064718333e-05, "short": 0.00013207014264160488}, "domain": {"Econ/Fin": 0.0004662487497273382, "Energy": 3.615420693470206e-05, "Healthcare": 0.00025184905771957755, "Nature": -0.00023049952757070447, "Sales": -0.000281471581276449, "Transport": -5.603561145250957e-05, "Web/CloudOps": 0.0003517413349700682}, "frequency": {"A": 0.0006474573364416703, "D": -0.00012406253204411133, "H": 6.806497793343524e-05, "M": -0.001558027365911041, "Q": 0.0002664900788335034, "S": -6.0419251779242344e-05, "T": 0.00014041740235937183, "W": 0.0007983483291668092}, "variates": {"multivariate": 0.00010930715387880152, "univariate": 1.7493025296078102e-05}}}, {"cutoff": "backcast3_evals", "candidate_skill": 0.391666018440449, "control_skill": 0.3914805032078633, "delta": 0.0001855152325856979, "candidate_checkpoint": "6139fe43b33fb992e7bd60c611e3414b64f8f293f5f52e8bb4e8bb3fd0f9d341", "control_checkpoint": "2115a57946abe740b5b8e9a107d0ceca1697b3c71168fe9b565b7a404ee2ea80", "candidate_eval_seconds": 100.23792690620758, "candidate_groups": {"term": {"long": {"n_configs": 19, "rel_mase_gmean": 0.764422783704246, "rel_wql_gmean": 0.4754273770438149}, "medium": {"n_configs": 20, "rel_mase_gmean": 0.7593126316302681, "rel_wql_gmean": 0.5225053281242072}, "short": {"n_configs": 54, "rel_mase_gmean": 0.7196757922400545, "rel_wql_gmean": 0.5043357911409195}}, "domain": {"Econ/Fin": {"n_configs": 6, "rel_mase_gmean": 0.8176678061198025, "rel_wql_gmean": 0.7976207241920812}, "Energy": {"n_configs": 32, "rel_mase_gmean": 0.8345072533444969, "rel_wql_gmean": 0.5533352530505573}, "Healthcare": {"n_configs": 5, "rel_mase_gmean": 0.8540949500805375, "rel_wql_gmean": 0.6829922627045791}, "Nature": {"n_configs": 15, "rel_mase_gmean": 0.7262472527400441, "rel_wql_gmean": 0.33830619597072303}, "Sales": {"n_configs": 3, "rel_mase_gmean": 0.7506554969033578, "rel_wql_gmean": 0.4749597432062781}, "Transport": {"n_configs": 14, "rel_mase_gmean": 0.5377350628064461, "rel_wql_gmean": 0.4418735171823112}, "Web/CloudOps": {"n_configs": 18, "rel_mase_gmean": 0.7068455259949379, "rel_wql_gmean": 0.5148996652237956}}, "frequency": {"A": {"n_configs": 1, "rel_mase_gmean": 0.528924896944865, "rel_wql_gmean": 0.7729454745365418}, "D": {"n_configs": 15, "rel_mase_gmean": 0.7340247648352644, "rel_wql_gmean": 0.4207919978760047}, "H": {"n_configs": 29, "rel_mase_gmean": 0.7247623286371567, "rel_wql_gmean": 0.48297208284019766}, "M": {"n_configs": 4, "rel_mase_gmean": 0.8631762965161963, "rel_wql_gmean": 0.8438873513308468}, "Q": {"n_configs": 1, "rel_mase_gmean": 0.714911564911981, "rel_wql_gmean": 0.7626138339201582}, "S": {"n_configs": 6, "rel_mase_gmean": 0.8424359875389991, "rel_wql_gmean": 0.607462668363638}, "T": {"n_configs": 29, "rel_mase_gmean": 0.7000382451448205, "rel_wql_gmean": 0.45775803238023355}, "W": {"n_configs": 8, "rel_mase_gmean": 0.8322458551370937, "rel_wql_gmean": 0.6767409234631901}}, "variates": {"multivariate": {"n_configs": 41, "rel_mase_gmean": 0.7627470405637783, "rel_wql_gmean": 0.5131507629999419}, "univariate": {"n_configs": 52, "rel_mase_gmean": 0.7173984271872598, "rel_wql_gmean": 0.49355040207768613}}}, "control_groups": {"term": {"long": {"n_configs": 19, "rel_mase_gmean": 0.7646717541571438, "rel_wql_gmean": 0.47555963242062804}, "medium": {"n_configs": 20, "rel_mase_gmean": 0.7594180694866295, "rel_wql_gmean": 0.5227464782406109}, "short": {"n_configs": 54, "rel_mase_gmean": 0.7197882441060385, "rel_wql_gmean": 0.5045674541132409}}, "domain": {"Econ/Fin": {"n_configs": 6, "rel_mase_gmean": 0.8175686322071732, "rel_wql_gmean": 0.7975380490966467}, "Energy": {"n_configs": 32, "rel_mase_gmean": 0.8345733264249693, "rel_wql_gmean": 0.5534624809981347}, "Healthcare": {"n_configs": 5, "rel_mase_gmean": 0.8550465666013121, "rel_wql_gmean": 0.6839536770499075}, "Nature": {"n_configs": 15, "rel_mase_gmean": 0.7259385500618593, "rel_wql_gmean": 0.3383276541439344}, "Sales": {"n_configs": 3, "rel_mase_gmean": 0.750738046214297, "rel_wql_gmean": 0.4750531542135627}, "Transport": {"n_configs": 14, "rel_mase_gmean": 0.5378722099557868, "rel_wql_gmean": 0.44230129042133576}, "Web/CloudOps": {"n_configs": 18, "rel_mase_gmean": 0.707336756570856, "rel_wql_gmean": 0.5151988413209527}}, "frequency": {"A": {"n_configs": 1, "rel_mase_gmean": 0.5292421996814161, "rel_wql_gmean": 0.7743843306970275}, "D": {"n_configs": 15, "rel_mase_gmean": 0.7340676984424483, "rel_wql_gmean": 0.4210138345405265}, "H": {"n_configs": 29, "rel_mase_gmean": 0.7248830714988798, "rel_wql_gmean": 0.48302222853420806}, "M": {"n_configs": 4, "rel_mase_gmean": 0.8635071248662185, "rel_wql_gmean": 0.8442363626325257}, "Q": {"n_configs": 1, "rel_mase_gmean": 0.71477390446079, "rel_wql_gmean": 0.7619380112945435}, "S": {"n_configs": 6, "rel_mase_gmean": 0.8429649893060646, "rel_wql_gmean": 0.6079035249422998}, "T": {"n_configs": 29, "rel_mase_gmean": 0.7003204534968781, "rel_wql_gmean": 0.4580988621337273}, "W": {"n_configs": 8, "rel_mase_gmean": 0.8316528981631645, "rel_wql_gmean": 0.6767266332674158}}, "variates": {"multivariate": {"n_configs": 41, "rel_mase_gmean": 0.7628262991295707, "rel_wql_gmean": 0.5133217775879014}, "univariate": {"n_configs": 52, "rel_mase_gmean": 0.7175797463477325, "rel_wql_gmean": 0.4937939191412373}}}, "group_skill_delta": {"term": {"long": 0.00018202402740152834, "medium": 0.0001890765097838365, "short": 0.00018542918760400262}, "domain": {"Econ/Fin": -9.0829148795879e-05, "Energy": 0.00010502140574886187, "Healthcare": 0.0009630378415914631, "Nature": -8.96421101911904e-05, "Sales": 9.154747681450193e-05, "Transport": 0.0002980799174634452, "Web/CloudOps": 0.0003848955789825803}, "frequency": {"A": 0.0007867882797257808, "D": 0.00016273392591359404, "H": 7.999671687974885e-05, "M": 0.0003400441657709363, "Q": -0.00039830623636283313, "S": 0.00048418649888992693, "T": 0.0003248363939196697, "W": -0.0002753174729858143}, "variates": {"multivariate": 0.0001367495273795205, "univariate": 0.00022198835169318087}}}], "mean_delta": 0.00010419819083518078, "positive_cutoffs": 4, "outcome": "Fixed factorial contrast; no automatic package, transfer or publication."} + +2026-10-24T02:55:43.883383+00:00: E152 ensemble_gate_full {"step": 6000, "rows": [{"cutoff": "valid_screen", "skill": 0.38920293834674424, "frozen_control_skill": 0.3878507268780589, "delta_frozen": 0.0013522114686853604, "current_skill": 0.3893607757169213, "delta_current": -0.00015783737017704969, "groups": {"term": {"long": {"n_configs": 21, "rel_mase_gmean": 0.7364673630437876, "rel_wql_gmean": 0.47553576468415915}, "medium": {"n_configs": 21, "rel_mase_gmean": 0.7053924164632641, "rel_wql_gmean": 0.4893482220599247}, "short": {"n_configs": 55, "rel_mase_gmean": 0.7399151348356707, "rel_wql_gmean": 0.532083883697073}}, "domain": {"Econ/Fin": {"n_configs": 6, "rel_mase_gmean": 0.8615382575745902, "rel_wql_gmean": 0.8355482422128665}, "Energy": {"n_configs": 32, "rel_mase_gmean": 0.8911522603458578, "rel_wql_gmean": 0.6349068515050954}, "Healthcare": {"n_configs": 5, "rel_mase_gmean": 0.5441503320981138, "rel_wql_gmean": 0.49399127701606693}, "Nature": {"n_configs": 15, "rel_mase_gmean": 0.7950730712902003, "rel_wql_gmean": 0.38699208562490234}, "Sales": {"n_configs": 4, "rel_mase_gmean": 0.8425439924731031, "rel_wql_gmean": 0.5132456431284351}, "Transport": {"n_configs": 15, "rel_mase_gmean": 0.6345043086615562, "rel_wql_gmean": 0.4331976883009865}, "Web/CloudOps": {"n_configs": 20, "rel_mase_gmean": 0.555813221503818, "rel_wql_gmean": 0.4333841587576985}}, "frequency": {"A": {"n_configs": 1, "rel_mase_gmean": 0.608221620866018, "rel_wql_gmean": 0.6280336730547587}, "D": {"n_configs": 15, "rel_mase_gmean": 0.7497165855551122, "rel_wql_gmean": 0.5184150743580946}, "H": {"n_configs": 31, "rel_mase_gmean": 0.7251342225084892, "rel_wql_gmean": 0.4898012803228941}, "M": {"n_configs": 5, "rel_mase_gmean": 0.9662055039968831, "rel_wql_gmean": 0.8156797607181708}, "Q": {"n_configs": 1, "rel_mase_gmean": 0.7680803697201887, "rel_wql_gmean": 0.8267798857383293}, "S": {"n_configs": 6, "rel_mase_gmean": 0.6563936728494965, "rel_wql_gmean": 0.5040342522524623}, "T": {"n_configs": 30, "rel_mase_gmean": 0.6807824876215121, "rel_wql_gmean": 0.44704029387581273}, "W": {"n_configs": 8, "rel_mase_gmean": 0.8779591180371074, "rel_wql_gmean": 0.6536604341779116}}, "variates": {"multivariate": {"n_configs": 43, "rel_mase_gmean": 0.7053044924283617, "rel_wql_gmean": 0.5072210259060677}, "univariate": {"n_configs": 54, "rel_mase_gmean": 0.7531653936683522, "rel_wql_gmean": 0.5121675088726382}}}, "checkpoint_sha256": "6139fe43b33fb992e7bd60c611e3414b64f8f293f5f52e8bb4e8bb3fd0f9d341", "expert_descriptor_sha256": "fa97880dd132b1cdff459be4798f8f360d7df59b13e78026a9d74a95d63df0db", "eval_seconds": 103.25661120493896}, {"cutoff": "valid_backcast", "skill": 0.34463492955868724, "frozen_control_skill": 0.34441110518308204, "delta_frozen": 0.0002238243756051972, "current_skill": 0.34590472083989543, "delta_current": -0.001269791281208188, "groups": {"term": {"long": {"n_configs": 21, "rel_mase_gmean": 0.7688177100397589, "rel_wql_gmean": 0.46253204733137343}, "medium": {"n_configs": 21, "rel_mase_gmean": 0.7677466641658384, "rel_wql_gmean": 0.5288782911838639}, "short": {"n_configs": 55, "rel_mase_gmean": 0.8036448947370151, "rel_wql_gmean": 0.586848042393731}}, "domain": {"Econ/Fin": {"n_configs": 6, "rel_mase_gmean": 0.8512183872885004, "rel_wql_gmean": 0.7844913516718921}, "Energy": {"n_configs": 32, "rel_mase_gmean": 0.8833553034923182, "rel_wql_gmean": 0.6624875238195992}, "Healthcare": {"n_configs": 5, "rel_mase_gmean": 0.6506950861467075, "rel_wql_gmean": 0.5601788165261954}, "Nature": {"n_configs": 15, "rel_mase_gmean": 0.9033575798442255, "rel_wql_gmean": 0.4204703619638155}, "Sales": {"n_configs": 4, "rel_mase_gmean": 0.7195851961271035, "rel_wql_gmean": 0.4868373745931622}, "Transport": {"n_configs": 15, "rel_mase_gmean": 0.7324980138807451, "rel_wql_gmean": 0.5278421387366751}, "Web/CloudOps": {"n_configs": 20, "rel_mase_gmean": 0.6537782969443796, "rel_wql_gmean": 0.4517198776871335}}, "frequency": {"A": {"n_configs": 1, "rel_mase_gmean": 0.6353401571378804, "rel_wql_gmean": 0.7080946229173095}, "D": {"n_configs": 15, "rel_mase_gmean": 0.8282870369085663, "rel_wql_gmean": 0.4907032114500986}, "H": {"n_configs": 31, "rel_mase_gmean": 0.7662727044969453, "rel_wql_gmean": 0.5060458109101549}, "M": {"n_configs": 5, "rel_mase_gmean": 0.8413519114707506, "rel_wql_gmean": 0.768497602767783}, "Q": {"n_configs": 1, "rel_mase_gmean": 0.7557887336034927, "rel_wql_gmean": 0.7734945975985007}, "S": {"n_configs": 6, "rel_mase_gmean": 0.8496411581918314, "rel_wql_gmean": 0.5048492269474154}, "T": {"n_configs": 30, "rel_mase_gmean": 0.7598245251089581, "rel_wql_gmean": 0.5716919924718779}, "W": {"n_configs": 8, "rel_mase_gmean": 0.8606700436403543, "rel_wql_gmean": 0.5845540350686395}}, "variates": {"multivariate": {"n_configs": 43, "rel_mase_gmean": 0.7777190759117477, "rel_wql_gmean": 0.5230509961434829}, "univariate": {"n_configs": 54, "rel_mase_gmean": 0.7965335452423263, "rel_wql_gmean": 0.5630603441336374}}}, "checkpoint_sha256": "6139fe43b33fb992e7bd60c611e3414b64f8f293f5f52e8bb4e8bb3fd0f9d341", "expert_descriptor_sha256": "fa97880dd132b1cdff459be4798f8f360d7df59b13e78026a9d74a95d63df0db", "eval_seconds": 103.48386075301096}, {"cutoff": "valid_backcast2", "skill": 0.36931390849979906, "frozen_control_skill": 0.3685168155758046, "delta_frozen": 0.0007970929239944358, "current_skill": 0.37032451826756796, "delta_current": -0.0010106097677688997, "groups": {"term": {"long": {"n_configs": 19, "rel_mase_gmean": 0.7904651639397322, "rel_wql_gmean": 0.4978779666112466}, "medium": {"n_configs": 21, "rel_mase_gmean": 0.7461560036140715, "rel_wql_gmean": 0.48768028342777003}, "short": {"n_configs": 54, "rel_mase_gmean": 0.753909832161227, "rel_wql_gmean": 0.548236636621521}}, "domain": {"Econ/Fin": {"n_configs": 6, "rel_mase_gmean": 0.8591285111150543, "rel_wql_gmean": 0.8750334733251186}, "Energy": {"n_configs": 32, "rel_mase_gmean": 0.8954084684136449, "rel_wql_gmean": 0.6410753881259532}, "Healthcare": {"n_configs": 5, "rel_mase_gmean": 0.6959489755668505, "rel_wql_gmean": 0.5984213150523268}, "Nature": {"n_configs": 15, "rel_mase_gmean": 0.7411588697785407, "rel_wql_gmean": 0.3576662324109186}, "Sales": {"n_configs": 3, "rel_mase_gmean": 0.5558609097673092, "rel_wql_gmean": 0.35180960844530385}, "Transport": {"n_configs": 14, "rel_mase_gmean": 0.6616270348576757, "rel_wql_gmean": 0.49485455987325183}, "Web/CloudOps": {"n_configs": 19, "rel_mase_gmean": 0.6712152744027265, "rel_wql_gmean": 0.4592200768742787}}, "frequency": {"A": {"n_configs": 1, "rel_mase_gmean": 0.5784011417452236, "rel_wql_gmean": 0.752672234109546}, "D": {"n_configs": 15, "rel_mase_gmean": 0.7220119087254645, "rel_wql_gmean": 0.44298333552230534}, "H": {"n_configs": 30, "rel_mase_gmean": 0.7482097468549009, "rel_wql_gmean": 0.4817021734754142}, "M": {"n_configs": 4, "rel_mase_gmean": 0.8045779642374045, "rel_wql_gmean": 0.8479009464696349}, "Q": {"n_configs": 1, "rel_mase_gmean": 0.8247786167317338, "rel_wql_gmean": 0.864773509453261}, "S": {"n_configs": 6, "rel_mase_gmean": 0.8992278197403357, "rel_wql_gmean": 0.5633734108267967}, "T": {"n_configs": 29, "rel_mase_gmean": 0.7464572076379773, "rel_wql_gmean": 0.531897329596194}, "W": {"n_configs": 8, "rel_mase_gmean": 0.8232789428019139, "rel_wql_gmean": 0.6202629998300936}}, "variates": {"multivariate": {"n_configs": 42, "rel_mase_gmean": 0.7750675549505295, "rel_wql_gmean": 0.5101500825132582}, "univariate": {"n_configs": 52, "rel_mase_gmean": 0.7469837805984161, "rel_wql_gmean": 0.5350648742452286}}}, "checkpoint_sha256": "6139fe43b33fb992e7bd60c611e3414b64f8f293f5f52e8bb4e8bb3fd0f9d341", "expert_descriptor_sha256": "fa97880dd132b1cdff459be4798f8f360d7df59b13e78026a9d74a95d63df0db", "eval_seconds": 99.70972866402008}, {"cutoff": "valid_backcast3", "skill": 0.391666018440449, "frozen_control_skill": 0.3912834616582097, "delta_frozen": 0.0003825567822393072, "current_skill": 0.3928349019291829, "delta_current": -0.0011688834887338961, "groups": {"term": {"long": {"n_configs": 19, "rel_mase_gmean": 0.764422783704246, "rel_wql_gmean": 0.4754273770438149}, "medium": {"n_configs": 20, "rel_mase_gmean": 0.7593126316302681, "rel_wql_gmean": 0.5225053281242072}, "short": {"n_configs": 54, "rel_mase_gmean": 0.7196757922400545, "rel_wql_gmean": 0.5043357911409195}}, "domain": {"Econ/Fin": {"n_configs": 6, "rel_mase_gmean": 0.8176678061198025, "rel_wql_gmean": 0.7976207241920812}, "Energy": {"n_configs": 32, "rel_mase_gmean": 0.8345072533444969, "rel_wql_gmean": 0.5533352530505573}, "Healthcare": {"n_configs": 5, "rel_mase_gmean": 0.8540949500805375, "rel_wql_gmean": 0.6829922627045791}, "Nature": {"n_configs": 15, "rel_mase_gmean": 0.7262472527400441, "rel_wql_gmean": 0.33830619597072303}, "Sales": {"n_configs": 3, "rel_mase_gmean": 0.7506554969033578, "rel_wql_gmean": 0.4749597432062781}, "Transport": {"n_configs": 14, "rel_mase_gmean": 0.5377350628064461, "rel_wql_gmean": 0.4418735171823112}, "Web/CloudOps": {"n_configs": 18, "rel_mase_gmean": 0.7068455259949379, "rel_wql_gmean": 0.5148996652237956}}, "frequency": {"A": {"n_configs": 1, "rel_mase_gmean": 0.528924896944865, "rel_wql_gmean": 0.7729454745365418}, "D": {"n_configs": 15, "rel_mase_gmean": 0.7340247648352644, "rel_wql_gmean": 0.4207919978760047}, "H": {"n_configs": 29, "rel_mase_gmean": 0.7247623286371567, "rel_wql_gmean": 0.48297208284019766}, "M": {"n_configs": 4, "rel_mase_gmean": 0.8631762965161963, "rel_wql_gmean": 0.8438873513308468}, "Q": {"n_configs": 1, "rel_mase_gmean": 0.714911564911981, "rel_wql_gmean": 0.7626138339201582}, "S": {"n_configs": 6, "rel_mase_gmean": 0.8424359875389991, "rel_wql_gmean": 0.607462668363638}, "T": {"n_configs": 29, "rel_mase_gmean": 0.7000382451448205, "rel_wql_gmean": 0.45775803238023355}, "W": {"n_configs": 8, "rel_mase_gmean": 0.8322458551370937, "rel_wql_gmean": 0.6767409234631901}}, "variates": {"multivariate": {"n_configs": 41, "rel_mase_gmean": 0.7627470405637783, "rel_wql_gmean": 0.5131507629999419}, "univariate": {"n_configs": 52, "rel_mase_gmean": 0.7173984271872598, "rel_wql_gmean": 0.49355040207768613}}}, "checkpoint_sha256": "6139fe43b33fb992e7bd60c611e3414b64f8f293f5f52e8bb4e8bb3fd0f9d341", "expert_descriptor_sha256": "fa97880dd132b1cdff459be4798f8f360d7df59b13e78026a9d74a95d63df0db", "eval_seconds": 100.23792690620758}], "positive_frozen": 4, "mean_delta_frozen": 0.0006889213876310751, "positive_current": 0, "mean_delta_current": -0.0009017804769720084, "current_descriptor_sha256": "a75fdfcbb4d8e38dd6e7cded3c097ff0a129976fa63277bfd277a6031ccc6140", "selection_gate_passed": false}. Full replay/publication require separate review and fresh current-publication comparison. + +2026-10-24T02:56:27.886760+00:00: E152 declared endpoint review {"utc": "2026-10-24T02:56:27.886760+00:00", "experiment": "E152", "run": "ensemble_gate_full", "step": 6000, "seed": 751, "checkpoint_sha256": "6139fe43b33fb992e7bd60c611e3414b64f8f293f5f52e8bb4e8bb3fd0f9d341", "expert_descriptor_sha256": "fa97880dd132b1cdff459be4798f8f360d7df59b13e78026a9d74a95d63df0db", "current_descriptor_sha256": "a75fdfcbb4d8e38dd6e7cded3c097ff0a129976fa63277bfd277a6031ccc6140", "training_loop_seconds_to_endpoint": 2987.8, "rows": [{"panel": "valid_screen", "skill": 0.38920293834674424, "delta_frozen": 0.0013522114686853604, "delta_current": -0.00015783737017704969, "evaluation_seconds": 103.25661120493896, "groups": {"term": {"long": 0.4082090143894098, "medium": 0.4124776388503564, "short": 0.37254727783712094}, "domain": {"Econ/Fin": 0.151556261903251, "Energy": 0.2478040974401432, "Healthcare": 0.48153542315615794, "Nature": 0.4453046006295065, "Sales": 0.3424043542716716, "Transport": 0.47572354646694104, "Web/CloudOps": 0.5092040694669133}, "frequency": {"A": 0.38195173442213737, "D": 0.37657046954122364, "H": 0.4040371902621739, "M": 0.11224199564027737, "Q": 0.2031101705285031, "S": 0.424808819540891, "T": 0.44833234340607975, "W": 0.24244661027318215}, "variates": {"multivariate": 0.4018818944174388, "univariate": 0.37891478568219006}}, "comparisons": {"frozen": {"positive_configs": 54, "total_configs": 97, "group_skill_delta": {"term": {"long": 0.0014698555002883307, "medium": 0.0022236174840025713, "short": 0.0009485406487688142}, "domain": {"Econ/Fin": 0.0026128338764203063, "Energy": 4.101959848612502e-05, "Healthcare": 0.0017695863435661652, "Nature": 0.0020933620898129224, "Sales": -0.00013133363436024226, "Transport": 0.0029023448042613254, "Web/CloudOps": 0.0009521529488787372}, "frequency": {"A": -0.0016429022758450706, "D": 0.004118212031674395, "H": 0.001728494507438727, "M": -0.01012445037199372, "Q": -0.0015189856830497561, "S": 0.0011758827321444176, "T": 0.0018645955210101484, "W": -0.0024198349446696854}, "variates": {"multivariate": 0.0010811918969393375, "univariate": 0.001575950122700509}}, "largest_regressions": [{"config_id": "us_births__M__short", "delta": -0.039396617725292904}, {"config_id": "ett1__W__short", "delta": -0.01875861937349177}, {"config_id": "saugeenday__W__short", "delta": -0.01807585187230276}, {"config_id": "bizitobs_l2c__H__short", "delta": -0.015546118105169926}, {"config_id": "LOOP_SEATTLE__T__short", "delta": -0.011690643328878592}, {"config_id": "m4_hourly__H__short", "delta": -0.011380758465687979}, {"config_id": "ett2__T__short", "delta": -0.009291808634897203}, {"config_id": "ett2__H__short", "delta": -0.008715912657012992}], "largest_improvements": [{"config_id": "m4_weekly__W__short", "delta": 0.02443722520008007}, {"config_id": "M_DENSE__H__long", "delta": 0.0212123504975662}, {"config_id": "us_births__D__short", "delta": 0.014471319433722818}, {"config_id": "electricity__H__short", "delta": 0.012164271102169666}, {"config_id": "M_DENSE__H__medium", "delta": 0.011377201213426669}, {"config_id": "M_DENSE__H__short", "delta": 0.010409678390968513}, {"config_id": "jena_weather__D__short", "delta": 0.010181797064286235}, {"config_id": "bizitobs_l2c__T__short", "delta": 0.009523893613593959}]}, "current": {"positive_configs": 44, "total_configs": 97, "group_skill_delta": {"term": {"long": 0.0004309197956184896, "medium": 0.00011710296213396365, "short": -0.0005079202181533793}, "domain": {"Econ/Fin": 0.0007905226550440902, "Energy": -0.0003063924730501988, "Healthcare": -0.006554344603567075, "Nature": 0.0011544084912761265, "Sales": -0.00297128611346964, "Transport": 0.00015481386746618586, "Web/CloudOps": 0.0006997185182340271}, "frequency": {"A": 0.0001083337473509749, "D": 0.0008080376471211181, "H": -0.0009527872605173959, "M": -0.008647697656868902, "Q": -0.0021507008190919663, "S": -0.00026776629300351296, "T": 0.0015893001797568918, "W": -0.0025463556521496677}, "variates": {"multivariate": 1.0470161981079862e-05, "univariate": -0.0002969219670519996}}, "largest_regressions": [{"config_id": "us_births__M__short", "delta": -0.03715535295064831}, {"config_id": "covid_deaths__D__short", "delta": -0.029203150374774278}, {"config_id": "bizitobs_l2c__H__short", "delta": -0.01635940174926165}, {"config_id": "ett2__T__short", "delta": -0.015355770138287816}, {"config_id": "us_births__W__short", "delta": -0.010428727169248364}, {"config_id": "ett1__T__medium", "delta": -0.008808903104158494}, {"config_id": "car_parts_with_missing__M__short", "delta": -0.008148756086056252}, {"config_id": "ett1__H__short", "delta": -0.006881163880058883}], "largest_improvements": [{"config_id": "m4_weekly__W__short", "delta": 0.012818364104863367}, {"config_id": "saugeenday__M__short", "delta": 0.012554410017875606}, {"config_id": "us_births__D__short", "delta": 0.010127600236094825}, {"config_id": "ett2__H__medium", "delta": 0.008454943010901772}, {"config_id": "bizitobs_l2c__T__long", "delta": 0.008205501438542928}, {"config_id": "bizitobs_l2c__T__medium", "delta": 0.007940537252988933}, {"config_id": "saugeenday__D__short", "delta": 0.006594690461760644}, {"config_id": "M_DENSE__D__short", "delta": 0.006449584639972139}]}}}, {"panel": "valid_backcast", "skill": 0.34463492955868724, "delta_frozen": 0.0002238243756051972, "delta_current": -0.001269791281208188, "evaluation_seconds": 103.48386075301096, "groups": {"term": {"long": 0.4036755669525959, "medium": 0.36278375428262943, "short": 0.3132559186595538}, "domain": {"Econ/Fin": 0.1828259284510284, "Energy": 0.23500858327459884, "Healthcare": 0.3962570056082859, "Nature": 0.3836923750432274, "Sales": 0.4081208166537492, "Transport": 0.37819350416131936, "Web/CloudOps": 0.4565621909268571}, "frequency": {"A": 0.3292683480013996, "D": 0.36247109162523483, "H": 0.37728891761469807, "M": 0.19589992721716298, "Q": 0.23540958522349098, "S": 0.3450643681277886, "T": 0.3409206446196795, "W": 0.2906988320377083}, "variates": {"multivariate": 0.36220164834375057, "univariate": 0.3303012228634947}}, "comparisons": {"frozen": {"positive_configs": 51, "total_configs": 97, "group_skill_delta": {"term": {"long": -0.0012665991075003769, "medium": -0.0004969628471866994, "short": 0.001176691081629877}, "domain": {"Econ/Fin": 0.001541428789702537, "Energy": -0.00030178544751935377, "Healthcare": -0.006283740576740859, "Nature": 0.004637953408966999, "Sales": 0.000886799181510356, "Transport": 0.0021174602035860524, "Web/CloudOps": -0.002242093514804866}, "frequency": {"A": -0.005995590061520284, "D": 0.0006781181112210932, "H": 0.002303277100010992, "M": -0.0009826723911910973, "Q": 0.002861062058629904, "S": -0.00421358143145234, "T": -0.001270356739670797, "W": 0.0009483754835420966}, "variates": {"multivariate": -0.0015249902492175949, "univariate": 0.0016895139103058066}}, "largest_regressions": [{"config_id": "ett2__T__short", "delta": -0.032062856410462914}, {"config_id": "us_births__M__short", "delta": -0.02401260764591351}, {"config_id": "ett2__W__short", "delta": -0.014899583761785906}, {"config_id": "electricity__D__short", "delta": -0.014579807348502616}, {"config_id": "bizitobs_l2c__T__medium", "delta": -0.013474639653082487}, {"config_id": "ett1__W__short", "delta": -0.012887184154202869}, {"config_id": "covid_deaths__D__short", "delta": -0.012628127486944085}, {"config_id": "bizitobs_l2c__H__long", "delta": -0.011603900582167426}], "largest_improvements": [{"config_id": "saugeenday__M__short", "delta": 0.0441178008734151}, {"config_id": "saugeenday__D__short", "delta": 0.03665952833223485}, {"config_id": "ett1__H__short", "delta": 0.028415542724183895}, {"config_id": "solar__H__short", "delta": 0.022248895749423014}, {"config_id": "M_DENSE__H__medium", "delta": 0.01626630159586684}, {"config_id": "m4_weekly__W__short", "delta": 0.0150059098472336}, {"config_id": "us_births__W__short", "delta": 0.012631917821938288}, {"config_id": "solar__T__long", "delta": 0.01093634832755741}]}, "current": {"positive_configs": 41, "total_configs": 97, "group_skill_delta": {"term": {"long": -0.0026558266200563674, "medium": -0.0006778765134377585, "short": -0.0008988628871786641}, "domain": {"Econ/Fin": 0.0012252563033299246, "Energy": -0.00029329347799755823, "Healthcare": -0.0058684474248832386, "Nature": -0.00013627189173681664, "Sales": -0.000718335798580827, "Transport": -0.0011857645290579422, "Web/CloudOps": -0.002688693568669742}, "frequency": {"A": -0.0015192009360488479, "D": -0.0022108629638730726, "H": -0.0008672342928274235, "M": 0.004145808197143719, "Q": -0.0015961247459519434, "S": -0.002939535217608702, "T": -0.0011848323736620703, "W": -0.0029372513294289027}, "variates": {"multivariate": -0.001728038303752899, "univariate": -0.000885667364434517}}, "largest_regressions": [{"config_id": "covid_deaths__D__short", "delta": -0.02086472388113092}, {"config_id": "ett2__T__short", "delta": -0.013533135724175027}, {"config_id": "bizitobs_l2c__T__long", "delta": -0.009291367597781375}, {"config_id": "bizitobs_application__S__long", "delta": -0.008769378266756833}, {"config_id": "jena_weather__T__short", "delta": -0.008565800301661208}, {"config_id": "M_DENSE__H__long", "delta": -0.008542614495166356}, {"config_id": "bizitobs_l2c__T__medium", "delta": -0.00825470930221428}, {"config_id": "us_births__W__short", "delta": -0.008103407031424759}], "largest_improvements": [{"config_id": "saugeenday__M__short", "delta": 0.022852212048618536}, {"config_id": "solar__H__short", "delta": 0.014710419252112694}, {"config_id": "m4_weekly__W__short", "delta": 0.01097561878183928}, {"config_id": "ett1__T__long", "delta": 0.004977904195258898}, {"config_id": "ett2__T__long", "delta": 0.004407989050932981}, {"config_id": "jena_weather__T__medium", "delta": 0.004407290116404172}, {"config_id": "ett2__H__short", "delta": 0.003759815137689193}, {"config_id": "bitbrains_rnd__T__short", "delta": 0.0034875331961136125}]}}}, {"panel": "valid_backcast2", "skill": 0.36931390849979906, "delta_frozen": 0.0007970929239944358, "delta_current": -0.0010106097677688997, "evaluation_seconds": 99.70972866402008, "groups": {"term": {"long": 0.37266022882385375, "medium": 0.3967707141361233, "short": 0.35709954837473745}, "domain": {"Econ/Fin": 0.13295547685620912, "Energy": 0.24235606554296052, "Healthcare": 0.3546545877066807, "Nature": 0.48513351189689446, "Sales": 0.5577814917766475, "Transport": 0.4278032199192835, "Web/CloudOps": 0.4448103658114553}, "frequency": {"A": 0.3401920888857958, "D": 0.4344566828137454, "H": 0.3996548815260548, "M": 0.17404454273519854, "Q": 0.15546065875347903, "S": 0.2882408806924517, "T": 0.36989001325128024, "W": 0.28540258413617026}, "variates": {"multivariate": 0.37119098518599314, "univariate": 0.3677937182935328}}, "comparisons": {"frozen": {"positive_configs": 52, "total_configs": 94, "group_skill_delta": {"term": {"long": 0.0004332277210695734, "medium": -0.0005410569452631853, "short": 0.001483410126751239}, "domain": {"Econ/Fin": 0.005144919617962818, "Energy": 0.0024826595703235643, "Healthcare": -0.013246691278788969, "Nature": 0.002854268798052728, "Sales": -0.0016982522349040519, "Transport": 0.0015057022562862121, "Web/CloudOps": -0.0007572232123611577}, "frequency": {"A": 0.001661459542053878, "D": -0.0012214863100270534, "H": 0.0001303883281825735, "M": 0.00418530173738163, "Q": 0.0034801743124001083, "S": -0.002315756556667825, "T": 0.002034312396898663, "W": 0.003930080805722103}, "variates": {"multivariate": -0.0007312560645941213, "univariate": 0.002040913540481193}}, "largest_regressions": [{"config_id": "covid_deaths__D__short", "delta": -0.03523709224830718}, {"config_id": "us_births__W__short", "delta": -0.03274249907931326}, {"config_id": "ett1__H__short", "delta": -0.029999659156096703}, {"config_id": "bizitobs_l2c__T__long", "delta": -0.013419463145912358}, {"config_id": "bizitobs_l2c__H__medium", "delta": -0.012365915999474897}, {"config_id": "bizitobs_l2c__T__medium", "delta": -0.008666052232571442}, {"config_id": "bitbrains_fast_storage__T__long", "delta": -0.008301596649729182}, {"config_id": "bizitobs_service__S__medium", "delta": -0.007064410619808226}], "largest_improvements": [{"config_id": "solar__T__medium", "delta": 0.025661599813497693}, {"config_id": "electricity__H__short", "delta": 0.02388460303638107}, {"config_id": "saugeenday__M__short", "delta": 0.02184285455780699}, {"config_id": "saugeenday__W__short", "delta": 0.019987626925227486}, {"config_id": "bitbrains_fast_storage__T__short", "delta": 0.01965461715834871}, {"config_id": "ett1__T__short", "delta": 0.015902764851652207}, {"config_id": "m4_hourly__H__short", "delta": 0.015863396606304758}, {"config_id": "m4_weekly__W__short", "delta": 0.015057652984008962}]}, "current": {"positive_configs": 39, "total_configs": 94, "group_skill_delta": {"term": {"long": -0.002195282083004013, "medium": -0.00208304751653976, "short": -0.00013689976421071837}, "domain": {"Econ/Fin": 0.0034726106006668367, "Energy": 0.0002630954938598329, "Healthcare": -0.003674527741006184, "Nature": 0.00011167775170906058, "Sales": -0.002001333779242831, "Transport": -0.0018605034423661015, "Web/CloudOps": -0.00295327562265979}, "frequency": {"A": 0.0026787561106578206, "D": -0.0010702119018374256, "H": -0.0017930881758917439, "M": 0.00033893263831552556, "Q": -0.0007793587941394842, "S": -0.0040907709360844535, "T": -0.00026188894648826455, "W": 0.000828798155959376}, "variates": {"multivariate": -0.0019556471767500083, "univariate": -0.000242127593613084}}, "largest_regressions": [{"config_id": "covid_deaths__D__short", "delta": -0.01732157535765888}, {"config_id": "ett2__H__long", "delta": -0.011991290614113637}, {"config_id": "ett1__H__short", "delta": -0.011061848841683153}, {"config_id": "bizitobs_l2c__T__medium", "delta": -0.010320590837583077}, {"config_id": "us_births__W__short", "delta": -0.009640627717010908}, {"config_id": "M_DENSE__H__medium", "delta": -0.008494559889636988}, {"config_id": "bizitobs_l2c__H__medium", "delta": -0.007590001019492476}, {"config_id": "bizitobs_application__S__medium", "delta": -0.006751921956207663}], "largest_improvements": [{"config_id": "solar__W__short", "delta": 0.018052455613406626}, {"config_id": "electricity__H__short", "delta": 0.014259948634935515}, {"config_id": "solar__T__medium", "delta": 0.013746858781713778}, {"config_id": "m4_weekly__W__short", "delta": 0.011392909122776018}, {"config_id": "saugeenday__D__short", "delta": 0.00809731801989566}, {"config_id": "ett1__T__medium", "delta": 0.007623460472673149}, {"config_id": "bitbrains_fast_storage__T__short", "delta": 0.006824458070653461}, {"config_id": "m4_daily__D__short", "delta": 0.006797095327490066}]}}}, {"panel": "valid_backcast3", "skill": 0.391666018440449, "delta_frozen": 0.0003825567822393072, "delta_current": -0.0011688834887338961, "evaluation_seconds": 100.23792690620758, "groups": {"term": {"long": 0.397150500531815, "medium": 0.3701231106487328, "short": 0.3975398270056718}, "domain": {"Econ/Fin": 0.19241793750366942, "Energy": 0.32046907193130447, "Healthcare": 0.23623286106296715, "Nature": 0.5043247581241599, "Sales": 0.40289771224219884, "Transport": 0.5125465319494225, "Web/CloudOps": 0.39671356330534724}, "frequency": {"A": 0.3606017630120958, "D": 0.4442376881386294, "H": 0.4083582406337434, "M": 0.14652266661696134, "Q": 0.26162242082293297, "S": 0.28463407062119817, "T": 0.4339186192000265, "W": 0.24952359893605647}, "variates": {"multivariate": 0.3743769299000791, "univariate": 0.4049602683953182}}, "comparisons": {"frozen": {"positive_configs": 50, "total_configs": 93, "group_skill_delta": {"term": {"long": 0.0003368775080457853, "medium": -0.00204424140158066, "short": 0.0012605252935397049}, "domain": {"Econ/Fin": 0.003464711135476972, "Energy": 0.000755885753993879, "Healthcare": 0.0008342563933891878, "Nature": -0.0036333332110900507, "Sales": 0.003900675115245056, "Transport": 0.00341044523255829, "Web/CloudOps": -0.000503957974554381}, "frequency": {"A": 0.00704320351533505, "D": 0.0032889905419958287, "H": 0.0010191320384694835, "M": -0.002918741694288962, "Q": -9.499942761870273e-05, "S": -0.0031514364808521433, "T": 0.0002732949628357906, "W": -0.006034210032932141}, "variates": {"multivariate": 0.00047480462062987616, "univariate": 0.00031317876684489043}}, "largest_regressions": [{"config_id": "saugeenday__W__short", "delta": -0.032369811675286186}, {"config_id": "us_births__M__short", "delta": -0.02973060222008994}, {"config_id": "ett2__T__medium", "delta": -0.028102410475112416}, {"config_id": "bizitobs_l2c__T__medium", "delta": -0.026336334914863646}, {"config_id": "solar__H__short", "delta": -0.020888455230187564}, {"config_id": "saugeenday__D__short", "delta": -0.015516508491378644}, {"config_id": "bizitobs_application__S__medium", "delta": -0.015486395556292387}, {"config_id": "ett1__T__medium", "delta": -0.010467924718374655}], "largest_improvements": [{"config_id": "ett2__W__short", "delta": 0.020293479069689924}, {"config_id": "us_births__D__short", "delta": 0.017072145941809724}, {"config_id": "ett1__D__short", "delta": 0.014856152156877522}, {"config_id": "ett1__T__short", "delta": 0.01355864585421429}, {"config_id": "saugeenday__M__short", "delta": 0.01353276702822026}, {"config_id": "ett1__H__long", "delta": 0.012533045624885664}, {"config_id": "M_DENSE__H__short", "delta": 0.01167992271553342}, {"config_id": "electricity__H__short", "delta": 0.010559965164188667}]}, "current": {"positive_configs": 40, "total_configs": 93, "group_skill_delta": {"term": {"long": -0.0025761018588763562, "medium": -0.0017713307697263536, "short": -0.0004592441218712606}, "domain": {"Econ/Fin": 0.0005650451016531166, "Energy": 0.001061408999394109, "Healthcare": -0.0017330352081752487, "Nature": -0.0037508143895461643, "Sales": -0.0009669793224950096, "Transport": -6.040803852380705e-05, "Web/CloudOps": -0.003379430213298895}, "frequency": {"A": -0.0004292753892856105, "D": -0.00018618190404273705, "H": -0.0011181399553253923, "M": -0.001301681282844358, "Q": -0.0010791104369392013, "S": -0.00755600060324868, "T": -5.652460463279052e-05, "W": -0.004128906410874267}, "variates": {"multivariate": -0.0014022309402574873, "univariate": -0.0009932171564974723}}, "largest_regressions": [{"config_id": "bizitobs_application__S__long", "delta": -0.02481258736941483}, {"config_id": "saugeenday__D__short", "delta": -0.0171428263289487}, {"config_id": "saugeenday__W__short", "delta": -0.01503673331778188}, {"config_id": "us_births__M__short", "delta": -0.012581059642252646}, {"config_id": "bizitobs_application__S__medium", "delta": -0.011383631624619195}, {"config_id": "ett2__H__long", "delta": -0.010423065664945441}, {"config_id": "bizitobs_l2c__T__medium", "delta": -0.009004299453982179}, {"config_id": "electricity__W__short", "delta": -0.008654012428059521}], "largest_improvements": [{"config_id": "ett1__T__short", "delta": 0.012835390677964131}, {"config_id": "ett1__D__short", "delta": 0.0076454555732959895}, {"config_id": "ett2__D__short", "delta": 0.007541884506665597}, {"config_id": "solar__W__short", "delta": 0.006094787524609124}, {"config_id": "electricity__H__short", "delta": 0.005603400701893246}, {"config_id": "ett1__W__short", "delta": 0.005051734812094422}, {"config_id": "saugeenday__M__short", "delta": 0.004804022620096826}, {"config_id": "us_births__D__short", "delta": 0.004794036514416344}]}}}], "selection_gate_passed": false, "positive_frozen": 4, "mean_delta_frozen": 0.0006889213876310751, "positive_current": 0, "mean_delta_current": -0.0009017804769720084, "cpu_review_seconds": 0.04827379994094372, "new_optimizer_updates": 0, "new_inference": false, "outcome": "Four-cutoff gate fails; no full replay or publication from this endpoint.", "interpretation": "Adaptive validation diagnostics, not independent test evidence. Frequency groups are recomputed using the scorer frequency parser, avoiding comparison of full aliases with frequency-unit groups."}. + +2026-10-24T02:56:48.173269+00:00: E152 old-expert full-corpus primary review {"utc": "2026-10-24T02:56:48.173269+00:00", "experiment": "E152", "run": "ensemble_gate_full", "step": 6000, "seed": 751, "checkpoint_sha256": "6139fe43b33fb992e7bd60c611e3414b64f8f293f5f52e8bb4e8bb3fd0f9d341", "selection_review": "/workspace/research/ensemble_gate_full6k_selection_review.json", "matched_corpus_comparison": "/workspace/research/ensemble_gate_full6k_vs_ensemble_gate_four_cutoff_comparison.json", "matched_corpus_positive": 4, "matched_corpus_mean_delta": 0.00010419819083518078, "positive_current": 0, "mean_delta_current": -0.0009017804769720084, "training_loop_seconds_to_endpoint": 2987.8, "four_cutoff_evaluation_seconds": 406.6881275281776, "outcome": "No full replay or publication from primary6000. Full corpus improves the matched old-expert gate4of4 by mean+.000104198191, but current E172 remains stronger4of4. Preserve original12000 final and the queued refreshed-expert/full-corpus arm; no endpoint or bound change."} + +2026-10-24T02:58:38.641695+00:00: Scheduled main-cutoff learning diagnostic {"utc": "2026-10-24T02:58:38.641695+00:00", "experiment": "E147", "run": "random_capacity_full_highlr", "step": 72000, "skill": 0.3673329009111743, "checkpoint_sha256": "b10dcd4dc5d92e912a18a12178d892a0cc5898cd5feb676dcf8043721ce61aad", "eval_seconds": 36.79225516319275, "comparisons": [{"control": "random_capacity_full", "control_checkpoint_sha256": "9905ad079d2a5d0590708039830e22f4d6fa74912810b8eb6d928e91dcda883d", "control_skill": 0.36820304557446126, "delta": -0.0008701446632869425, "group_deltas": {"term": {"long": 0.0003347840941434477, "medium": -0.0012910247592794466, "short": -0.00118591746140706}, "domain": {"Econ/Fin": -0.011811879599688324, "Energy": -0.010978666896836797, "Healthcare": 0.010855385618695368, "Nature": 0.007313708677341935, "Sales": -0.01841369820371508, "Transport": 0.004557849584363005, "Web/CloudOps": 0.002650281875817395}, "frequency": {"A": -0.00040362570459229197, "D": -0.012826600441722236, "H": -0.0019810616930958647, "M": 0.03300044839750227, "Q": 0.0054472650357079155, "S": 0.0015163413399345016, "T": 0.0017768607293557892, "W": -0.0021445204089328707}, "variates": {"multivariate": -0.001471513056727658, "univariate": -0.00037106961491895074}}}, {"control": "random_capacity_1024", "control_checkpoint_sha256": "baa71611dff2da76515319d144b23e31e19304772ad4401fc4a18ea03f07a499", "control_skill": 0.36736566458978936, "delta": -3.2763678615044256e-05, "group_deltas": {"term": {"long": 0.0014131840704638687, "medium": 0.00266554643267658, "short": -0.0017182874224677125}, "domain": {"Econ/Fin": 0.006069566886784394, "Energy": -0.00041110157934576286, "Healthcare": -0.018124714326445357, "Nature": 0.011262576159467463, "Sales": -0.009933095829528615, "Transport": 0.005746505821681791, "Web/CloudOps": -0.006558707915228612}, "frequency": {"A": 0.0050953155056426835, "D": -0.008636564078682851, "H": 0.00017905788839589487, "M": -0.030775890290428487, "Q": 0.00099753324151719, "S": -0.0009834484733901583, "T": 0.003249815049858329, "W": 0.017549818664708172}, "variates": {"multivariate": 7.315942184593638e-05, "univariate": -0.00012050761199855486}}}], "decision": "Scheduled main-panel diagnostic only. Original96000 endpoint and declared all-four-cutoff comparisons remain unchanged. No72000 selection or revised learning-rate schedule.", "new_neural_inference": false, "new_training": false}. No additional training or inference. + +2026-10-24T03:02:07.010907+00:00: Current package inference workload proxy {"utc": "2026-10-24T03:02:07.010907+00:00", "checkpoint_sha256": "a75fdfcbb4d8e38dd6e7cded3c097ff0a129976fa63277bfd277a6031ccc6140", "source_inference_log": "/workspace/research/valid-pred-gate-six-blend/inference.log", "valid_public_inference_seconds": 787.4997950529214, "run_body_seconds": 774.0, "non_body_startup_and_teardown_seconds": 13.4997950529214, "declared_test_cohorts": 82, "declared_window_weighted_instance_proxy": 325622, "readme_test_instances": 326490, "test_instances_not_represented_by_proxy": 868, "declared_window_weighted_label_points_proxy": 40658757, "window_weighted_run_body_seconds": 3323.7999999999956, "cohort_overhead_proxy_seconds": 1106.9831943395548, "total_proxy_seconds": 4430.78319433955, "contract_budget_seconds": 14400, "proxy_budget_fraction": 0.307693277384691, "analysis_seconds": 0.06544774305075407, "optimizer_updates": 0, "new_inference": false, "heldout_files_read": false, "failed_sanity_check": "Initial diagnostic asserted that validation-series counts times declaredwindows equal the README testcount. Observed325622 versus326490; assumption was false and no result file was written. Preserve868-instance discrepancy instead of treating this as full test coverage.", "interpretation": "Read only completed validation timing logs and public windows metadata. Multiply each configuration runtime by its declared rolling-window count and add82 measured startup/teardown allowances. Training shared the one H100 during the original replay. This is a workload proxy, not measured heldout execution or a strict upper bound:868 test instances are not represented by this multiplication; cohort fragmentation, history growth, contention, I/O and startup variability can differ. No new forecasts or runtime changes selected.", "failed_sanity_check_process_seconds": 0.253805506, "data_readme_context": "README explicitly notes that632M4 series holding another series test labels have no validation window; this explains part of the868-instance coverage discrepancy, without inferring the remainder."} + +2026-10-24T03:03:25.524110+00:00: E175 completed engineering {"utc": "2026-10-24T03:03:25.524110+00:00", "experiment": "E175", "status": "all engineering passed; production not launched", "parameters": 146206864, "seed": 307, "batch": 48, "micro_batch": 16, "initial_checkpoint_sha256": "3cf77e33eca656eb02f778cf5afda6f61f8a5c4371e7193653c462c4eedb6409", "parent_sha256": "c9693619ca6277c26fef3b2bde37ff6796bec97b3af9f94588bbc5ddd329ec90", "cpu_seconds": 9.121628640918061, "gpu_seconds": 218.75038117007352, "gpu_lock_wait_seconds": 79.32442234200425, "peak_reserved_mib": 8060.0, "maximum_shape_backward_seconds": [0.7142939469777048, 0.7319973679259419, 0.702110901940614], "recovery_seconds": 303.36123620998114, "recovery_lock_wait_seconds": 32.393029181985185, "engineering_suite_seconds": 528.3667247518897, "fixture_optimizer_updates": 36, "passed_mode_fixture_updates": 18, "deterministic_training": true, "earlier_numerical_failure": {"utc": "2026-10-24T02:53:53.145042+00:00", "experiment": "E175", "original_thresholds": {"model_max_abs": 0.0001, "ema_max_abs": 0.0001, "optimizer_relative_l2": 0.001, "rng_prefetch_ancestry": "exact"}, "comparisons": {"uninterrupted_repeat": {"model": {"tensor_count": 198, "tensor_elements": 146206864, "different_tensors": 198, "maximum_abs_difference": 2.980232238769531e-07, "sum_squared_difference": 3.919343546837446e-09, "sum_squared_reference": 68208.03699027524, "bitwise_equal": false}, "ema_state": {"tensor_count": 198, "tensor_elements": 146206864, "different_tensors": 198, "maximum_abs_difference": 2.384185791015625e-07, "sum_squared_difference": 3.592157060809092e-10, "sum_squared_reference": 68208.07526969205, "bitwise_equal": false}, "optimizer": {"tensor_count": 594, "tensor_elements": 292413926, "different_tensors": 396, "maximum_abs_difference": 5.359936039894819e-06, "sum_squared_difference": 1.7400513798653014e-08, "sum_squared_reference": 0.0107809245263236, "bitwise_equal": false, "relative_l2_difference": 0.0012704367065202089}, "batch_rng_state": {"tensor_count": 0, "tensor_elements": 0, "different_tensors": 0, "maximum_abs_difference": 0.0, "sum_squared_difference": 0.0, "sum_squared_reference": 0.0, "bitwise_equal": true}, "sampler_rng_state": {"tensor_count": 0, "tensor_elements": 0, "different_tensors": 0, "maximum_abs_difference": 0.0, "sum_squared_difference": 0.0, "sum_squared_reference": 0.0, "bitwise_equal": true}, "sampler_rng_states": {"tensor_count": 0, "tensor_elements": 0, "different_tensors": 0, "maximum_abs_difference": 0.0, "sum_squared_difference": 0.0, "sum_squared_reference": 0.0, "bitwise_equal": true}, "torch_rng_state": {"tensor_count": 1, "tensor_elements": 5056, "different_tensors": 0, "maximum_abs_difference": 0.0, "sum_squared_difference": 0.0, "sum_squared_reference": 0.0, "bitwise_equal": true}, "cuda_rng_state": {"tensor_count": 1, "tensor_elements": 16, "different_tensors": 0, "maximum_abs_difference": 0.0, "sum_squared_difference": 0.0, "sum_squared_reference": 0.0, "bitwise_equal": true}, "prefetched_batch": {"tensor_count": 0, "tensor_elements": 0, "different_tensors": 0, "maximum_abs_difference": 0.0, "sum_squared_difference": 0.0, "sum_squared_reference": 0.0, "bitwise_equal": true}, "parent_checkpoints": {"tensor_count": 0, "tensor_elements": 0, "different_tensors": 0, "maximum_abs_difference": 0.0, "sum_squared_difference": 0.0, "sum_squared_reference": 0.0, "bitwise_equal": true}}, "uninterrupted_vs_restart": {"model": {"tensor_count": 198, "tensor_elements": 146206864, "different_tensors": 198, "maximum_abs_difference": 3.2154002838069573e-07, "sum_squared_difference": 4.161985583783392e-09, "sum_squared_reference": 68208.03699027524, "bitwise_equal": false}, "ema_state": {"tensor_count": 198, "tensor_elements": 146206864, "different_tensors": 198, "maximum_abs_difference": 1.7881393432617188e-07, "sum_squared_difference": 3.805586679241847e-10, "sum_squared_reference": 68208.07526969205, "bitwise_equal": false}, "optimizer": {"tensor_count": 594, "tensor_elements": 292413926, "different_tensors": 396, "maximum_abs_difference": 5.0122253014706075e-06, "sum_squared_difference": 1.736243971958633e-08, "sum_squared_reference": 0.0107809245263236, "bitwise_equal": false, "relative_l2_difference": 0.0012690460235450353}, "batch_rng_state": {"tensor_count": 0, "tensor_elements": 0, "different_tensors": 0, "maximum_abs_difference": 0.0, "sum_squared_difference": 0.0, "sum_squared_reference": 0.0, "bitwise_equal": true}, "sampler_rng_state": {"tensor_count": 0, "tensor_elements": 0, "different_tensors": 0, "maximum_abs_difference": 0.0, "sum_squared_difference": 0.0, "sum_squared_reference": 0.0, "bitwise_equal": true}, "sampler_rng_states": {"tensor_count": 0, "tensor_elements": 0, "different_tensors": 0, "maximum_abs_difference": 0.0, "sum_squared_difference": 0.0, "sum_squared_reference": 0.0, "bitwise_equal": true}, "torch_rng_state": {"tensor_count": 1, "tensor_elements": 5056, "different_tensors": 0, "maximum_abs_difference": 0.0, "sum_squared_difference": 0.0, "sum_squared_reference": 0.0, "bitwise_equal": true}, "cuda_rng_state": {"tensor_count": 1, "tensor_elements": 16, "different_tensors": 0, "maximum_abs_difference": 0.0, "sum_squared_difference": 0.0, "sum_squared_reference": 0.0, "bitwise_equal": true}, "prefetched_batch": {"tensor_count": 0, "tensor_elements": 0, "different_tensors": 0, "maximum_abs_difference": 0.0, "sum_squared_difference": 0.0, "sum_squared_reference": 0.0, "bitwise_equal": true}, "parent_checkpoints": {"tensor_count": 0, "tensor_elements": 0, "different_tensors": 0, "maximum_abs_difference": 0.0, "sum_squared_difference": 0.0, "sum_squared_reference": 0.0, "bitwise_equal": true}}}, "seconds": 21.166962214978412, "optimizer_updates": 0, "reused_fixture_updates": 18, "training_queued": false, "outcome": "Original recovery audit failed optimizer relative-L2 threshold; record both repeat and restart magnitudes before deciding any implementation correction. No tolerance relaxed and no trajectory rerun."}, "deterministic_correction": {"utc": "2026-10-24T02:54:21.477816+00:00", "experiment": "E175", "status": "original numerical gate failed; deterministic kernel correction declared before production", "failure_analysis": "/workspace/research/fresh_patch8_recovery_failure_analysis.json", "observed_optimizer_relative_l2": {"uninterrupted_repeat": 0.0012704367065202089, "uninterrupted_vs_restart": 0.0012690460235450353}, "original_thresholds": {"model_max_abs": 0.0001, "ema_max_abs": 0.0001, "optimizer_relative_l2": 0.001, "rng_prefetch_ancestry": "exact"}, "correction": "Opt in to torch.use_deterministic_algorithms(True), CUBLAS_WORKSPACE_CONFIG=:4096:8 and cudnn.benchmark=False. Preserve initial weights, model/sampler, seed307/effectiveB48/micro16/LR2e-4/original96k. Recheck GPU gradients/memory and separate18-update actual complete recovery under this mode. No threshold relaxation; no production unless passed.", "completed_fixture_updates": 18, "additional_planned_fixture_updates": 18, "production_updates": 0, "unchanged_audits_reused": ["CPU initialization and invariance", "shared public runtime code"], "risk": "Numerical execution differs from E79 control; this is explicitly part of the E175 recipe. CPU/GPU fixture weights are never candidates or warmstarts."}, "numerical_comparisons": {"uninterrupted_repeat": {"model": {"max_abs": 0.0, "relative_l2": null}, "ema_state": {"max_abs": 0.0, "relative_l2": null}, "optimizer": {"max_abs": 0.0, "relative_l2": 0.0}}, "uninterrupted_vs_restart": {"model": {"max_abs": 0.0, "relative_l2": null}, "ema_state": {"max_abs": 0.0, "relative_l2": null}, "optimizer": {"max_abs": 0.0, "relative_l2": 0.0}}}, "all_rng_prefetch_and_ancestry_exact": true, "training_bitwise_replay_claimed": false, "model_code_sha256": "44eeb23c037e91b8f67e432615ce46540a7ac4242919785f9c4218de23121499", "sampler_code_sha256": "d84032a33937a465acfc9e1b97004ca8d9db221509bb2710e74500703ade4344", "runtime_reuse": "Same byte-identical random_capacity/model.py and random_capacity_inference/model.py, same architecture/config as existing E141patch8 expert except own fresh weights; no runtime change. Any eventual package still requires its own full public replay, composition and relocation checks.", "validation_data_read": false, "production_optimizer_updates": 0, "receipt": "/workspace/research/fresh_patch8_deterministic_engineering_receipt.json", "training_queued": false, "decision": "Only guarded fresh_patch8/launch.py after original E16696000 on its existing allocation. Same declared seed/B48/micro16/LR2e-4/original96k/oldpack/slowAR recipe. No fixture weights used as candidates or warm starts."} + +2026-10-24T03:04:09.036781+00:00: E175 guarded production queue {"utc": "2026-10-24T03:04:09.036781+00:00", "experiment": "E175", "status": "all engineering passed; queued after E166original96000", "launcher_session": 77796, "launch": {"utc": "2026-10-24T03:03:26.781927+00:00", "pid": 22237, "name": "random_capacity_fresh_patch8", "queue_pid": 22239, "watch_pid": 22240, "comparison_pid": 22241, "wait_pid": 13736, "allocation_after": "random_capacity_seasonal_spectral", "command": ["python3", "/workspace/research/recovery/train.py", "--code-dir", "/workspace/research/random_capacity", "--packed", "/workspace/research/packed_sample", "--source-weights-from", "/workspace/research/packed_sample", "--out", "/workspace/research/runs/random_capacity_fresh_patch8", "--initialize-from", "/workspace/research/random_capacity_fresh_patch8_initial.pt", "--steps", "96000", "--batch", "48", "--lr", ".0002", "--seed", "307", "--loss-mode", "paired", "--compile-loss", "--micro-batch", "16", "--deterministic-training", "--stop-file", "/workspace/research/random_capacity_fresh_patch8.stop"], "initial_checkpoint_sha256": "3cf77e33eca656eb02f778cf5afda6f61f8a5c4371e7193653c462c4eedb6409"}, "deterministic_training": true, "all_short_audit_tensors_bitwise_equal": true, "engineering_review": "/workspace/research/fresh_patch8_engineering_review.json", "deterministic_suite_seconds": 528.3667247518897, "fixture_optimizer_updates": 36, "original_failed_fixture_updates": 18, "passed_fixture_updates": 18, "production_updates": 0, "publication_unchanged": "a75fdfcbb4d8e38dd6e7cded3c097ff0a129976fa63277bfd277a6031ccc6140", "recording_preflight": "First state recorder had a missing Path import and exited before writes. Corrected recorder; no trainer, queue or experiment rerun."} + +2026-10-24T03:05:12.768024+00:00: Scheduled main-cutoff learning diagnostic {"utc": "2026-10-24T03:05:12.768024+00:00", "experiment": "E137", "run": "random_capacity_deep", "step": 16000, "skill": 0.350668515282071, "checkpoint_sha256": "fe9af3b7aee91974884dbc6075b71f3831b89ee5adffc3ec40402aa1d63b334b", "eval_seconds": 43.07280349731445, "comparisons": [{"control": "random_capacity_1024", "control_checkpoint_sha256": "959ff6c885777e971d4ee25729d3406485404a69a0bbfe320959506b180e9e35", "control_skill": 0.3494992855125878, "delta": 0.0011692297694831932, "group_deltas": {"term": {"long": -0.01018413949911856, "medium": -0.0029720187121871078, "short": 0.007697135792996579}, "domain": {"Econ/Fin": -0.0016471322163947866, "Energy": -0.0033939545873312715, "Healthcare": 0.08072520663868055, "Nature": 0.00883574932522968, "Sales": -0.007552442658724456, "Transport": -0.0009613141599204011, "Web/CloudOps": -0.010519508638876074}, "frequency": {"A": -0.0019904619523456457, "D": 0.01740275595305818, "H": -0.003599066587742228, "M": 0.0502105524269949, "Q": 0.0013790824725837814, "S": -0.004027878242932825, "T": -0.00696097761004788, "W": 0.01158903328820382}, "variates": {"multivariate": -0.005816798813829904, "univariate": 0.007116986062725927}}}], "decision": "Scheduled main-panel diagnostic only. Original48000 primary and96000 final all-four-cutoff comparisons stay fixed; no early checkpoint or learning-rate change.", "new_neural_inference": false, "new_training": false}. No additional training or inference. + +2026-10-24T03:05:12.839202+00:00: Scheduled main-cutoff learning diagnostic {"utc": "2026-10-24T03:05:12.839202+00:00", "experiment": "E145", "run": "random_capacity_buildings", "step": 8000, "skill": 0.34796636968518324, "checkpoint_sha256": "78acdd6ad888b6e0487c8fbf65d323f0ca4d3328bdbd628fe46dd624aaa78865", "eval_seconds": 34.57753920555115, "comparisons": [{"control": "random_capacity_full", "control_checkpoint_sha256": "925ad863384da7a0c2ff4a8379448dc4651a1b836093a669fbb05a5af8db9f85", "control_skill": 0.3439503439133814, "delta": 0.004016025771801823, "group_deltas": {"term": {"long": -0.0005372175251299183, "medium": 0.006024883511163259, "short": 0.005053989292808647}, "domain": {"Econ/Fin": -0.0016977820775918584, "Energy": -0.011753800854859442, "Healthcare": 0.14099429979399447, "Nature": -0.003016557089810079, "Sales": -0.01894278359393553, "Transport": 0.003966932209183205, "Web/CloudOps": 0.0031638147520290927}, "frequency": {"A": -0.0016361346148340283, "D": 0.011648016950766116, "H": 0.0011911514783776722, "M": 0.06412999689297416, "Q": 0.006245710014338823, "S": 0.0030014187634294087, "T": -0.0047633516166422085, "W": 0.015514789371152804}, "variates": {"multivariate": 0.0004437769894578558, "univariate": 0.00701799581286644}}}], "decision": "Scheduled main-panel diagnostic only. Original48000 primary and96000 final all-four-cutoff comparisons stay fixed; no early checkpoint or source-mixture adjustment.", "new_neural_inference": false, "new_training": false}. No additional training or inference. + +2026-10-24T03:15:14.484226+00:00: E177 pre-endpoint declaration {"experiment": "E177", "declared_utc": "2026-10-24T03:15:14.484226+00:00", "status": "declared before original E134final checkpoint; no new training", "hypothesis": "A curriculum-trained expert may retain complementary forecast errors after its original96k schedule. Test one fixed equal blend of current E172 and the ordered quartet F0/F1/F2/E134final96, conditional on the original source comparison passing.", "frozen_parent_descriptor": "a75fdfcbb4d8e38dd6e7cded3c097ff0a129976fa63277bfd277a6031ccc6140", "parent_probe_prefix": "gate_six_blend", "member_checkpoint_hashes": ["0b11b7351a4a92d1d18c71a4159ec445be3a94ace8c7a9fa0edafad87d14e960", "308389b7217c080af9eb185559d4ee3cafa0f3e0f8c4dd8f5526b68198c89988", "1a2fb20a9fb5cae6526f2e36ea47559626bece78fd9c284899836505030ae9fe", "d7cfcd72c3cb84aa69e447b76c4c3ab98c21b7c600a463f0b805f4b4300baf33", "2877a38b94a7d77a53a9df410349cecc2f6ab134c83a76744924543bbe73eb17", "4b309f0721378f97db815dd511b8b54711348270c48e9eae0103dba506f66708"], "new_member_run": "visibility_curriculum", "new_member_step": 96000, "source_control": "random_capacity_1024_ema96000", "gate_run": "ensemble_gate_refresh", "gate_step": 6000, "gate_checkpoint_sha256": "a7d0ee6866ea787f29eac043531aad3613674f159fd00b3491fd87fab8388fd1", "parameters": 695910156, "blend_coefficient": 0.5, "horizon_threshold": 720, "composition": "Compute all seven experts and unchanged E152primary6k gate on F0/F1/F2/F3 for every instance. Preserve exact ordered E172 as C. Compute Q=(F0+F1+F2+F6)/4 with ordered float32 additions, then output (C+Q)/2. No arithmetic reassociation or replacement of gate experts.", "source_training": "Existing E134 own untrained146477344 model, seed307/B48/LR2e-4/oldpack/slowAR/original96k; visible C/H quarter through16k, half through32k, full thereafter. No added updates.", "source_gate": "At least3 positive cutoff deltas and positive mean versus E79matched96k. If failed, composition remains untested.", "selection": "One cached four-cutoff comparison only after source gate; require at least3positive and positive mean versus frozen E172 and then-current publication. Only if passed, assemble portable candidate and complete actual all-forward accounting, independent composition, relocation, runtime and full97 public replay against current. No automatic publication.", "checkpoint_choices": "Only original primary/final96000; no72000, alpha, threshold or frequency search.", "new_training": false, "optimizer_updates": 0, "training_queued": false} + +2026-10-24T03:18:24.939336+00:00: E178 declaration {"experiment": "E178", "declared_utc": "2026-10-24T03:18:24.939336+00:00", "status": "declared before refreshed/full primary6k exists", "hypothesis": "The completed old-expert/full-corpus gate improves its matched old-corpus gate on allfour primary6k panels. Test whether the separately queued refreshed-expert/full-corpus gate improves the same gate component now used in E172. Only gate corpus coverage changes; the existing E152factorial supplies its source training.", "frozen_parent_descriptor": "a75fdfcbb4d8e38dd6e7cded3c097ff0a129976fa63277bfd277a6031ccc6140", "parent_probe_prefix": "gate_six_blend", "member_checkpoint_hashes": ["0b11b7351a4a92d1d18c71a4159ec445be3a94ace8c7a9fa0edafad87d14e960", "308389b7217c080af9eb185559d4ee3cafa0f3e0f8c4dd8f5526b68198c89988", "1a2fb20a9fb5cae6526f2e36ea47559626bece78fd9c284899836505030ae9fe", "d7cfcd72c3cb84aa69e447b76c4c3ab98c21b7c600a463f0b805f4b4300baf33", "2877a38b94a7d77a53a9df410349cecc2f6ab134c83a76744924543bbe73eb17", "4b309f0721378f97db815dd511b8b54711348270c48e9eae0103dba506f66708"], "gate_run": "ensemble_gate_refresh_full", "gate_step": 6000, "old_gate_run": "ensemble_gate_refresh", "old_gate_step": 6000, "old_gate_checkpoint_sha256": "a7d0ee6866ea787f29eac043531aad3613674f159fd00b3491fd87fab8388fd1", "expert_descriptor": "a1b4ab426901be8e1ee299eeeb3f041bac7cea3d4e59c4608824fc3d05c83e03", "parameters": 549432812, "composition": "Exactly E172 ordered FP32 arithmetic and allsix expert forecasts perinstance; replace only gate weights with E152refreshed/full primary6000. Same29features, bounded weights0.125+0.5softmax, outerequalmean, H720rule and F0/F1/F2/F3 gate inputs.", "source_training": "Alreadyqueued E152 full allowlisted corpus gate: ownuntrained6340initial9d1401cd..., seed751/B64/LR.001/original12000, oldsourceprobabilities/originalAR20percent, immutableE148experts. No additional updates or changes to that run.", "source_gate": "Require>=3positive/positive mean at primary6000 versus BOTH matched E152refreshed/old-corpus6000 gate and immutableE148equalquartet. If failed, E178composition remains untested.", "selection": "One cached four-cutoff comparison only after source gates. Require>=3positive and positive mean against frozen E172 and then-current publication. If passed, separately build complete package and run actual forward accounting, independent component checks, relocation and full97public replay. No automaticpublication.", "checkpoint_choices": "Primary6000 only; final12000 remains E152durability evaluation and is not an E178 substitute. No coefficient or bounds sweep.", "new_training": false, "optimizer_updates": 0, "training_queued": false} + +2026-10-24T03:19:32.824313+00:00: Fixed history-support diagnostic declaration {"utc": "2026-10-24T03:19:32.824313+00:00", "purpose": "Describe available history and forecast-length support before proposing another sampling change; distinguish short-context concentration from the already-tested E113short-window intervention and pendingE134curriculum.", "script_sha256": "ff0f10dfffd8e9a240b4552bb5a4e01b6aa98fe64576767a742aa77a2ec05389", "observations": [0, 1, 32, 128, 512, 2048], "horizon_over_observations": [0.125, 0.5, 1.0], "validation": "Existing E172full97predictions and labels; no new inference", "training": "12288seed307 samples each old/full allowedpacks; actualC/Hlaws and requested-target lengths", "optimizer_updates": 0, "model_selection": false} + +E157 random_capacity_long_seasonal_halflr seed307 fixed LR1e-4 training started at 2026-10-24T03:19:51Z, after the declared dependency processes exited; required checkpoint files are present. Settings are unchanged from the declared comparison. + +2026-10-24T03:21:43.143811+00:00: History-support diagnostic review {"utc": "2026-10-24T03:21:43.143811+00:00", "experiment": "E172 history-support diagnostic", "checkpoint_sha256": "a75fdfcbb4d8e38dd6e7cded3c097ff0a129976fa63277bfd277a6031ccc6140", "validation_seconds": 27.759518416132778, "training": [{"pack": "packed_sample", "seed": 307, "rows": 12288, "no_finite_target_rows": 68, "frequencies": {"observations": {"none": 0.0048828125, "1_to_31": 0.08585611979166667, "32_to_127": 0.08463541666666667, "128_to_511": 0.13037109375, "512_to_2047": 0.343505859375, "at_least2048": 0.3507486979166667}, "horizon_over_observations": {"up_to_one_eighth": 0.2765299479166667, "up_to_one_half": 0.3152669270833333, "up_to_one": 0.152587890625, "over_one": 0.250732421875, "no_observations": 0.0048828125}}, "load_seconds": 1.3438831388484687, "seconds": 2.927811998873949}, {"pack": "packed_stratified_full", "seed": 307, "rows": 12288, "no_finite_target_rows": 81, "frequencies": {"observations": {"none": 0.00537109375, "1_to_31": 0.08699544270833333, "32_to_127": 0.078369140625, "128_to_511": 0.125732421875, "512_to_2047": 0.3478190104166667, "at_least2048": 0.355712890625}, "horizon_over_observations": {"up_to_one_eighth": 0.2774251302083333, "up_to_one_half": 0.3197428385416667, "up_to_one": 0.14697265625, "over_one": 0.25048828125, "no_observations": 0.00537109375}}, "load_seconds": 37.09230644302443, "seconds": 41.035081268055364}], "equal_configuration_means": {"observations": {"none": {"history_fraction": 0.0035681495928918615, "finite_label_fraction": 0.00047494004340267797, "mase_eligible_fraction": 0.0, "mase_error_fraction": 0.0, "wql_numerator_fraction": 4.6945728467754345e-05}, "1_to_31": {"history_fraction": 0.019814369896258285, "finite_label_fraction": 0.019558002352034014, "mase_eligible_fraction": 0.019369283642154025, "mase_error_fraction": 0.01904245124141237, "wql_numerator_fraction": 0.01875602174227301}, "32_to_127": {"history_fraction": 0.06406731804866386, "finite_label_fraction": 0.06383486715868936, "mase_eligible_fraction": 0.06382831010880242, "mase_error_fraction": 0.06204108374534339, "wql_numerator_fraction": 0.06766445827506154}, "128_to_511": {"history_fraction": 0.10104246086843564, "finite_label_fraction": 0.1011022654710706, "mase_eligible_fraction": 0.10080990297624821, "mase_error_fraction": 0.10225076021222644, "wql_numerator_fraction": 0.09787161078417571}, "512_to_2047": {"history_fraction": 0.18142204339421508, "finite_label_fraction": 0.18186199802881908, "mase_eligible_fraction": 0.1821385269890817, "mase_error_fraction": 0.18210862998118052, "wql_numerator_fraction": 0.18000355500835702}, "at_least2048": {"history_fraction": 0.6300856581995352, "finite_label_fraction": 0.6331679269459843, "mase_eligible_fraction": 0.6338539762837136, "mase_error_fraction": 0.6345570748198374, "wql_numerator_fraction": 0.635657408461665}}, "horizon_over_observations": {"up_to_one_eighth": {"history_fraction": 0.6538786769770263, "finite_label_fraction": 0.656567065949009, "mase_eligible_fraction": 0.6570145989575948, "mase_error_fraction": 0.659050643273421, "wql_numerator_fraction": 0.6564189052494752}, "up_to_one_half": {"history_fraction": 0.32833567034906763, "finite_label_fraction": 0.32983783645564535, "mase_eligible_fraction": 0.3303184485796035, "mase_error_fraction": 0.32839294903365795, "wql_numerator_fraction": 0.33085309160249576}, "up_to_one": {"history_fraction": 0.013079476614753657, "finite_label_fraction": 0.012416608671493582, "mase_eligible_fraction": 0.012420140997844421, "mase_error_fraction": 0.012389403964438767, "wql_numerator_fraction": 0.012435447599899013}, "over_one": {"history_fraction": 0.0011380264662605864, "finite_label_fraction": 0.0007035488804494011, "mase_eligible_fraction": 0.00024681146495731423, "mase_error_fraction": 0.00016700372848231507, "wql_numerator_fraction": 0.00024560981966222447}, "no_observations": {"history_fraction": 0.0035681495928918615, "finite_label_fraction": 0.00047494004340267797, "mase_eligible_fraction": 0.0, "mase_error_fraction": 0.0, "wql_numerator_fraction": 4.6945728467754345e-05}}}, "term_groups": {"long": {"observations": {"none": {"history_fraction": 0.005096906430239763, "finite_label_fraction": 0.001034504988667877, "mase_eligible_fraction": 0.0, "mase_error_fraction": 0.0, "wql_numerator_fraction": 0.00018367267523685884}, "1_to_31": {"history_fraction": 0.0003238095238095238, "finite_label_fraction": 9.924143632005517e-05, "mase_eligible_fraction": 0.0, "mase_error_fraction": 0.0, "wql_numerator_fraction": 9.024764881268398e-07}, "32_to_127": {"history_fraction": 0.00011428571428571427, "finite_label_fraction": 0.0, "mase_eligible_fraction": 0.0, "mase_error_fraction": 0.0, "wql_numerator_fraction": 0.0}, "128_to_511": {"history_fraction": 0.0007999999999999999, "finite_label_fraction": 0.0005933607896667535, "mase_eligible_fraction": 0.00010320123575157133, "mase_error_fraction": 3.5712192111303077e-06, "wql_numerator_fraction": 6.407991772911886e-05}, "512_to_2047": {"history_fraction": 0.09975802469135803, "finite_label_fraction": 0.09948191927058965, "mase_eligible_fraction": 0.09962004040505229, "mase_error_fraction": 0.09910699139808891, "wql_numerator_fraction": 0.09621202161462318}, "at_least2048": {"history_fraction": 0.8939069736403069, "finite_label_fraction": 0.8987909735147558, "mase_eligible_fraction": 0.9002767583591962, "mase_error_fraction": 0.9008894373826999, "wql_numerator_fraction": 0.9035393233159228}}, "horizon_over_observations": {"up_to_one_eighth": {"history_fraction": 0.0, "finite_label_fraction": 0.0, "mase_eligible_fraction": 0.0, "mase_error_fraction": 0.0, "wql_numerator_fraction": 0.0}, "up_to_one_half": {"history_fraction": 0.9459316649983317, "finite_label_fraction": 0.9506538451662978, "mase_eligible_fraction": 0.9522777511452009, "mase_error_fraction": 0.9523773811617412, "wql_numerator_fraction": 0.9521322973114983}, "up_to_one": {"history_fraction": 0.047657142857142856, "finite_label_fraction": 0.047619047619047616, "mase_eligible_fraction": 0.047619047619047616, "mase_error_fraction": 0.047619047619047616, "wql_numerator_fraction": 0.047619047619047616}, "over_one": {"history_fraction": 0.0013142857142857142, "finite_label_fraction": 0.0006926022259868085, "mase_eligible_fraction": 0.00010320123575157133, "mase_error_fraction": 3.5712192111303077e-06, "wql_numerator_fraction": 6.498239421724569e-05}, "no_observations": {"history_fraction": 0.005096906430239763, "finite_label_fraction": 0.001034504988667877, "mase_eligible_fraction": 0.0, "mase_error_fraction": 0.0, "wql_numerator_fraction": 0.00018367267523685884}}}, "medium": {"observations": {"none": {"history_fraction": 0.00456357309690643, "finite_label_fraction": 0.0006282833340146227, "mase_eligible_fraction": 0.0, "mase_error_fraction": 0.0, "wql_numerator_fraction": 1.4257965305447412e-05}, "1_to_31": {"history_fraction": 0.00022857142857142854, "finite_label_fraction": 0.0, "mase_eligible_fraction": 0.0, "mase_error_fraction": 0.0, "wql_numerator_fraction": 0.0}, "32_to_127": {"history_fraction": 0.0001523809523809524, "finite_label_fraction": 3.91075702086302e-05, "mase_eligible_fraction": 0.0, "mase_error_fraction": 0.0, "wql_numerator_fraction": 3.454728824283528e-07}, "128_to_511": {"history_fraction": 0.0013714285714285714, "finite_label_fraction": 0.0012205806087861888, "mase_eligible_fraction": 0.0005065122386289081, "mase_error_fraction": 0.0005085866693466665, "wql_numerator_fraction": 0.00010636274288657201}, "512_to_2047": {"history_fraction": 0.09643386243386244, "finite_label_fraction": 0.09611018911008144, "mase_eligible_fraction": 0.09612590553785952, "mase_error_fraction": 0.09620298093671627, "wql_numerator_fraction": 0.09539986881366062}, "at_least2048": {"history_fraction": 0.8972501835168503, "finite_label_fraction": 0.9020018393769091, "mase_eligible_fraction": 0.9033675822235117, "mase_error_fraction": 0.9032884323939372, "wql_numerator_fraction": 0.904479165005265}}, "horizon_over_observations": {"up_to_one_eighth": {"history_fraction": 0.737660918060918, "finite_label_fraction": 0.7413505690132258, "mase_eligible_fraction": 0.7419265922388235, "mase_error_fraction": 0.7424064001516802, "wql_numerator_fraction": 0.7401832871474531}, "up_to_one_half": {"history_fraction": 0.2558897945564612, "finite_label_fraction": 0.25666247764728856, "mase_eligible_fraction": 0.25746494646345336, "mase_error_fraction": 0.2570745279042385, "wql_numerator_fraction": 0.2596935500584877}, "up_to_one": {"history_fraction": 0.0006095238095238096, "finite_label_fraction": 0.00059075200030134, "mase_eligible_fraction": 0.000608461297723152, "mase_error_fraction": 0.0005190719440811777, "wql_numerator_fraction": 5.494404657774907e-05}, "over_one": {"history_fraction": 0.0012761904761904761, "finite_label_fraction": 0.0007679180051697576, "mase_eligible_fraction": 0.0, "mase_error_fraction": 0.0, "wql_numerator_fraction": 5.396078217606535e-05}, "no_observations": {"history_fraction": 0.00456357309690643, "finite_label_fraction": 0.0006282833340146227, "mase_eligible_fraction": 0.0, "mase_error_fraction": 0.0, "wql_numerator_fraction": 1.4257965305447412e-05}}}, "short": {"observations": {"none": {"history_fraction": 0.002604371644371644, "finite_label_fraction": 0.00020273871697685936, "mase_eligible_fraction": 0.0, "mase_error_fraction": 0.0, "wql_numerator_fraction": 7.221676545158909e-06}, "1_to_31": {"history_fraction": 0.03473443418067371, "finite_label_fraction": 0.03445531196335596, "mase_eligible_fraction": 0.034160372968889824, "mase_error_fraction": 0.03358395946212727, "wql_numerator_fraction": 0.03307845739989512}, "32_to_127": {"history_fraction": 0.11288963364946171, "finite_label_fraction": 0.11256656100760884, "mase_eligible_fraction": 0.11256992873734246, "mase_error_fraction": 0.10941791133269653, "wql_numerator_fraction": 0.11933536723182617}, "128_to_511": {"history_fraction": 0.1773730673497865, "finite_label_fraction": 0.17761503602411519, "mase_eligible_fraction": 0.17755921101334704, "mase_error_fraction": 0.1801376077259318, "wql_numerator_fraction": 0.17254485363985658}, "512_to_2047": {"history_fraction": 0.2450528832656224, "finite_label_fraction": 0.24605780968729737, "mase_eligible_fraction": 0.24648676823890506, "mase_error_fraction": 0.24660050343897455, "wql_numerator_fraction": 0.24429991157848496}, "at_least2048": {"history_fraction": 0.427345609910084, "finite_label_fraction": 0.4291025426006458, "mase_eligible_fraction": 0.4292237190415157, "mase_error_fraction": 0.4302600180402698, "wql_numerator_fraction": 0.430734188473392}}, "horizon_over_observations": {"up_to_one_eighth": {"history_fraction": 0.8715518615907685, "finite_label_fraction": 0.8748844263232025, "mase_eligible_fraction": 0.8754537756703892, "mase_error_fraction": 0.8788614180788463, "wql_numerator_fraction": 0.8750688141655015}, "up_to_one_half": {"history_fraction": 0.12018744314925282, "finite_label_fraction": 0.12073867922022342, "mase_eligible_fraction": 0.12065987022617815, "mase_error_fraction": 0.11737501756144086, "wql_numerator_fraction": 0.12080740164858879}, "up_to_one": {"history_fraction": 0.004638349666020089, "finite_label_fraction": 0.0034910045296099863, "mase_eligible_fraction": 0.0034904725370676847, "mase_error_fraction": 0.003470394067724651, "wql_numerator_fraction": 0.003728810767492211}, "over_one": {"history_fraction": 0.0010179739495868527, "finite_label_fraction": 0.0006831512099873458, "mase_eligible_fraction": 0.0003958815663650269, "mase_error_fraction": 0.00029317029198819685, "wql_numerator_fraction": 0.00038775174187229535}, "no_observations": {"history_fraction": 0.002604371644371644, "finite_label_fraction": 0.00020273871697685936, "mase_eligible_fraction": 0.0, "mase_error_fraction": 0.0, "wql_numerator_fraction": 7.221676545158909e-06}}}}, "optimizer_updates": 0, "new_inference": false, "interpretation": "Training ratios use actual decoder requested lengths and every sampled row; validation means weight configurations equally. These populations differ, so the contrast is descriptive, not an importance weighting estimate or a causal result. All cached MASE/WQL reconstructed within1e-6.", "finding": "Roughly25percent of old/full sampled training windows request horizons longer than their finite histories, versus0.114percent of equal-configuration validation histories. About40percent of training requests exceed half the available history, versus1.42percent in validation. Short histories do not carry disproportionate validation error. Most long/medium validation rows have at least2048finite observations.", "decision": "Investigate one conservative training-only support cap rather than another shorter-context intervention. E113frequency-scaled window relocation was already tested and remains a separate negative comparison; E134visibility curriculum does not isolate this factor. No forecast or current package change from this diagnostic."} + +2026-10-24T03:21:43.143811+00:00: E179 declared {"experiment": "E179", "declared_utc": "2026-10-24T03:21:43.143811+00:00", "status": "declared before implementation; engineering pending; no production queue", "run": "random_capacity_supported_horizon", "control": "random_capacity_1024", "hypothesis": "Reduce supervision on futures longer than their available histories while preserving all sampled values, cutoffs and context lengths. Existing actual-sampler diagnostics show approximately25percent such training windows and0.114percent of equal-config validation histories. Test a conservative horizon<=observed-count rule, not a fitted mixture or validation training.", "code_dir": "/workspace/research/random_capacity_supported_horizon", "initial": "/workspace/research/random_capacity_1024_initial.pt", "initial_checkpoint_sha256": "c9693619ca6277c26fef3b2bde37ff6796bec97b3af9f94588bbc5ddd329ec90", "parameters": 146477344, "seed": 307, "batch": 48, "learning_rate": 0.0002, "steps": 96000, "packed": "/workspace/research/packed_sample", "source_weights_from": "/workspace/research/packed_sample", "changed_factor": "After the unchanged original sampler and requested-horizon augmentation, for each row with n>0finite context observations mask target positions at or beyond L=max(16,16*ceil(n/16)). Existing missing/shorter targets remain missing; contexts, periods, all unmasked target values and both RNGstreams unchanged. Rows with no finite context remain unchanged. No cutoff relocation, new observations, extra RNG, source weights, model, loss or inference changes.", "primary_step": 48000, "final_step": 96000, "diagnostic_steps": [4000, 8000, 16000, 24000, 72000], "source_generator": "Same95allowed directories and own original20percent synthetic generator with slowAR asE79; only training-target visibility changes.", "selection": "Primary48/final96 versusE79allfour cutoffs; require>=3positive and positive mean before any further package study. No arbitrary checkpoint/threshold/coefficient sweep or automaticpublication; a package must beat then-current publication and pass complete public/runtime replay.", "allocation_after": "duration_old_low", "allocation_after_step": 192000, "allocation_rule": "Queue after alreadyqueued E170old original192000 endpoint on its allocation; no extra simultaneous main trainer. Only after engineering passes.", "engineering": {"cpu": "8192paired sampled rows plus independent zero/missing/rounding/partial-target boundary fixtures; exact context/period/unmasked values, all RNG and serialized prefetch; model and initial hashes identical toE79.", "gpu": "Unchanged model/loss/maximum shapes reuse existing capacity GPU audit after checking code and initial hashes; actual18-update compiled recovery exercises changed masks.", "recovery": "Actual original96k schedule from own untrained initial:6repeat,6repeat,3+3restart,18fixtureupdates. RNG/prefetch/ancestry exact; model/EMAmaximumabs<=1e-4; optimizer momentrelativeL2<=1e-3 excluding scalarstepcounters. No tolerance relaxation; no fixture warmstart."}, "risks": "Training and validation support distributions are configuration-confounded; a cap may weaken difficult extrapolation or reduce long-horizon supervision. Nominal batch/decoder shapes remain unchanged, so this is not a compute-saving claim. The ratio1 and patch16 floor are fixed before candidate results.", "pretrained_assets": [], "optimizer_updates": 0} + +E134 96000 four-cutoff comparison: {"label": "E134 96000 four-cutoff comparison", "utc": "2026-10-24T03:22:10.088282+00:00", "candidate": "visibility_curriculum_ema96000", "control": "random_capacity_1024_ema96000", "rows": [{"cutoff": "evals", "candidate_skill": 0.368529472057054, "control_skill": 0.37118082660619867, "delta": -0.002651354549144669, "candidate_checkpoint": "175b5426500fbf958751c72d8cbc424fe3c6ebd0f7df7e299ea3eecbc8760b43", "control_checkpoint": "d7cfcd72c3cb84aa69e447b76c4c3ab98c21b7c600a463f0b805f4b4300baf33", "candidate_eval_seconds": 33.379825592041016, "candidate_groups": {"term": {"long": {"n_configs": 21, "rel_mase_gmean": 0.7587751514312568, "rel_wql_gmean": 0.4933219306671298}, "medium": {"n_configs": 21, "rel_mase_gmean": 0.7361236446326902, "rel_wql_gmean": 0.5032947507062915}, "short": {"n_configs": 55, "rel_mase_gmean": 0.7609035392172837, "rel_wql_gmean": 0.552147242797432}}, "domain": {"Econ/Fin": {"n_configs": 6, "rel_mase_gmean": 0.8818349864472801, "rel_wql_gmean": 0.8411676484576505}, "Energy": {"n_configs": 32, "rel_mase_gmean": 0.9099998896704522, "rel_wql_gmean": 0.6583665309823048}, "Healthcare": {"n_configs": 5, "rel_mase_gmean": 0.6094799385425418, "rel_wql_gmean": 0.5271560492791306}, "Nature": {"n_configs": 15, "rel_mase_gmean": 0.8205774002455802, "rel_wql_gmean": 0.40820903795472036}, "Sales": {"n_configs": 4, "rel_mase_gmean": 0.8502500390277952, "rel_wql_gmean": 0.5289718924185827}, "Transport": {"n_configs": 15, "rel_mase_gmean": 0.6491645144571173, "rel_wql_gmean": 0.4478309827238158}, "Web/CloudOps": {"n_configs": 20, "rel_mase_gmean": 0.5794102889410171, "rel_wql_gmean": 0.4432711012990792}}, "frequency": {"A": {"n_configs": 1, "rel_mase_gmean": 0.5853664283832646, "rel_wql_gmean": 0.6100084316594802}, "D": {"n_configs": 15, "rel_mase_gmean": 0.7741770495806158, "rel_wql_gmean": 0.5367128976611355}, "H": {"n_configs": 31, "rel_mase_gmean": 0.7396670689306633, "rel_wql_gmean": 0.5086823746201458}, "M": {"n_configs": 5, "rel_mase_gmean": 0.9947402662632852, "rel_wql_gmean": 0.8426423830919058}, "Q": {"n_configs": 1, "rel_mase_gmean": 0.7636542858310936, "rel_wql_gmean": 0.8170136583976101}, "S": {"n_configs": 6, "rel_mase_gmean": 0.6663107602235753, "rel_wql_gmean": 0.5104214888530946}, "T": {"n_configs": 30, "rel_mase_gmean": 0.7105683691707813, "rel_wql_gmean": 0.4624246128257213}, "W": {"n_configs": 8, "rel_mase_gmean": 0.9331549413653054, "rel_wql_gmean": 0.6951178946796428}}, "variates": {"multivariate": {"n_configs": 43, "rel_mase_gmean": 0.726730408249166, "rel_wql_gmean": 0.5210363736302801}, "univariate": {"n_configs": 54, "rel_mase_gmean": 0.7783158140354323, "rel_wql_gmean": 0.5338742221470206}}}, "control_groups": {"term": {"long": {"n_configs": 21, "rel_mase_gmean": 0.7617085776612673, "rel_wql_gmean": 0.49633909417606453}, "medium": {"n_configs": 21, "rel_mase_gmean": 0.7298134337623169, "rel_wql_gmean": 0.5003277699021584}, "short": {"n_configs": 55, "rel_mase_gmean": 0.7539888789481445, "rel_wql_gmean": 0.5499601934168685}}, "domain": {"Econ/Fin": {"n_configs": 6, "rel_mase_gmean": 0.8959148570251535, "rel_wql_gmean": 0.8493368379420845}, "Energy": {"n_configs": 32, "rel_mase_gmean": 0.9094002563853486, "rel_wql_gmean": 0.6572245802316878}, "Healthcare": {"n_configs": 5, "rel_mase_gmean": 0.529267728079262, "rel_wql_gmean": 0.47334957848952913}, "Nature": {"n_configs": 15, "rel_mase_gmean": 0.8234547120124809, "rel_wql_gmean": 0.4142825340029578}, "Sales": {"n_configs": 4, "rel_mase_gmean": 0.8520426601354568, "rel_wql_gmean": 0.5216579663248391}, "Transport": {"n_configs": 15, "rel_mase_gmean": 0.6515127739306887, "rel_wql_gmean": 0.45010198724616357}, "Web/CloudOps": {"n_configs": 20, "rel_mase_gmean": 0.5769432156462848, "rel_wql_gmean": 0.44504231186351767}}, "frequency": {"A": {"n_configs": 1, "rel_mase_gmean": 0.5929439471839378, "rel_wql_gmean": 0.615503982517204}, "D": {"n_configs": 15, "rel_mase_gmean": 0.7787713445367176, "rel_wql_gmean": 0.5373779555416477}, "H": {"n_configs": 31, "rel_mase_gmean": 0.7363315295729133, "rel_wql_gmean": 0.5086973471183035}, "M": {"n_configs": 5, "rel_mase_gmean": 0.9301275593623703, "rel_wql_gmean": 0.8181248600782658}, "Q": {"n_configs": 1, "rel_mase_gmean": 0.7640064910151944, "rel_wql_gmean": 0.8167107058299274}, "S": {"n_configs": 6, "rel_mase_gmean": 0.6696048120395435, "rel_wql_gmean": 0.5095378743549087}, "T": {"n_configs": 30, "rel_mase_gmean": 0.7141887055723616, "rel_wql_gmean": 0.47011994961408954}, "W": {"n_configs": 8, "rel_mase_gmean": 0.8865274908386537, "rel_wql_gmean": 0.6465387255094742}}, "variates": {"multivariate": {"n_configs": 43, "rel_mase_gmean": 0.7285160402951458, "rel_wql_gmean": 0.5269433957731289}, "univariate": {"n_configs": 54, "rel_mase_gmean": 0.7681866341094963, "rel_wql_gmean": 0.5270065227304256}}}, "group_skill_delta": {"term": {"long": 0.0030531996381845117, "medium": -0.0044035121803053245, "short": -0.004230973818686423}, "domain": {"Econ/Fin": 0.011053698313124749, "Energy": -0.0009264096755848827, "Healthcare": -0.0662970253327434, "Nature": 0.005310967216162643, "Sales": -0.0039508063942256255, "Transport": 0.0023421881423033586, "Web/CloudOps": -7.073878626473462e-05}, "frequency": {"A": 0.0065582434366618925, "D": 0.0023102715782181704, "H": -0.001375616692494197, "M": -0.04320777417366517, "Q": 3.563655026350698e-05, "S": 0.0009335112659131228, "T": 0.006220410795600095, "W": -0.048306988249972926}, "variates": {"multivariate": 0.004238073118653873, "univariate": -0.008340655952395637}}}, {"cutoff": "backcast_evals", "candidate_skill": 0.3309329843277523, "control_skill": 0.33472617365334145, "delta": -0.0037931893255891413, "candidate_checkpoint": "175b5426500fbf958751c72d8cbc424fe3c6ebd0f7df7e299ea3eecbc8760b43", "control_checkpoint": "d7cfcd72c3cb84aa69e447b76c4c3ab98c21b7c600a463f0b805f4b4300baf33", "candidate_eval_seconds": 34.99730157852173, "candidate_groups": {"term": {"long": {"n_configs": 21, "rel_mase_gmean": 0.7649461837349396, "rel_wql_gmean": 0.47075749734725164}, "medium": {"n_configs": 21, "rel_mase_gmean": 0.7840430297868545, "rel_wql_gmean": 0.5430253239711708}, "short": {"n_configs": 55, "rel_mase_gmean": 0.8172185598150611, "rel_wql_gmean": 0.6067402372355457}}, "domain": {"Econ/Fin": {"n_configs": 6, "rel_mase_gmean": 0.8772804074761292, "rel_wql_gmean": 0.8120234251666657}, "Energy": {"n_configs": 32, "rel_mase_gmean": 0.9004138103456649, "rel_wql_gmean": 0.6755341533968776}, "Healthcare": {"n_configs": 5, "rel_mase_gmean": 0.6778705925652195, "rel_wql_gmean": 0.6371066779274372}, "Nature": {"n_configs": 15, "rel_mase_gmean": 0.9137972611116295, "rel_wql_gmean": 0.43542053014433374}, "Sales": {"n_configs": 4, "rel_mase_gmean": 0.7381649062121207, "rel_wql_gmean": 0.4979119552432129}, "Transport": {"n_configs": 15, "rel_mase_gmean": 0.7500520668030733, "rel_wql_gmean": 0.5457277607724536}, "Web/CloudOps": {"n_configs": 20, "rel_mase_gmean": 0.6417666395749073, "rel_wql_gmean": 0.4555671082052405}}, "frequency": {"A": {"n_configs": 1, "rel_mase_gmean": 0.6334641307310085, "rel_wql_gmean": 0.7030138954300703}, "D": {"n_configs": 15, "rel_mase_gmean": 0.846659759262921, "rel_wql_gmean": 0.5045785732558805}, "H": {"n_configs": 31, "rel_mase_gmean": 0.7824682667515206, "rel_wql_gmean": 0.5253534996211406}, "M": {"n_configs": 5, "rel_mase_gmean": 0.851798396452252, "rel_wql_gmean": 0.7917949762457459}, "Q": {"n_configs": 1, "rel_mase_gmean": 0.7741082117383046, "rel_wql_gmean": 0.773583214190068}, "S": {"n_configs": 6, "rel_mase_gmean": 0.8524990868816942, "rel_wql_gmean": 0.5027283330050585}, "T": {"n_configs": 30, "rel_mase_gmean": 0.75928678761419, "rel_wql_gmean": 0.5873610553891794}, "W": {"n_configs": 8, "rel_mase_gmean": 0.8821499799611529, "rel_wql_gmean": 0.6031661874453853}}, "variates": {"multivariate": {"n_configs": 43, "rel_mase_gmean": 0.7765565158930224, "rel_wql_gmean": 0.5345748023688646}, "univariate": {"n_configs": 54, "rel_mase_gmean": 0.816253276716898, "rel_wql_gmean": 0.5823701789711117}}}, "control_groups": {"term": {"long": {"n_configs": 21, "rel_mase_gmean": 0.7631098777388973, "rel_wql_gmean": 0.47074592104175184}, "medium": {"n_configs": 21, "rel_mase_gmean": 0.7785429002581723, "rel_wql_gmean": 0.5362252732855645}, "short": {"n_configs": 55, "rel_mase_gmean": 0.8123770244196038, "rel_wql_gmean": 0.603300236549279}}, "domain": {"Econ/Fin": {"n_configs": 6, "rel_mase_gmean": 0.8799114018222585, "rel_wql_gmean": 0.803604895852266}, "Energy": {"n_configs": 32, "rel_mase_gmean": 0.8977669691725372, "rel_wql_gmean": 0.6761969813852254}, "Healthcare": {"n_configs": 5, "rel_mase_gmean": 0.6300661024303247, "rel_wql_gmean": 0.587956838027678}, "Nature": {"n_configs": 15, "rel_mase_gmean": 0.918761626825819, "rel_wql_gmean": 0.4418878940724868}, "Sales": {"n_configs": 4, "rel_mase_gmean": 0.7413491153579719, "rel_wql_gmean": 0.49790144170298983}, "Transport": {"n_configs": 15, "rel_mase_gmean": 0.7463594580929064, "rel_wql_gmean": 0.5419041229491335}, "Web/CloudOps": {"n_configs": 20, "rel_mase_gmean": 0.6383206047362664, "rel_wql_gmean": 0.4496625882886006}}, "frequency": {"A": {"n_configs": 1, "rel_mase_gmean": 0.6368968587575585, "rel_wql_gmean": 0.6985505028931195}, "D": {"n_configs": 15, "rel_mase_gmean": 0.8234282335820552, "rel_wql_gmean": 0.4922990804723347}, "H": {"n_configs": 31, "rel_mase_gmean": 0.7777723999594381, "rel_wql_gmean": 0.5220808728462141}, "M": {"n_configs": 5, "rel_mase_gmean": 0.8806740205862869, "rel_wql_gmean": 0.8247873940198561}, "Q": {"n_configs": 1, "rel_mase_gmean": 0.7704440480842776, "rel_wql_gmean": 0.7941706683927648}, "S": {"n_configs": 6, "rel_mase_gmean": 0.8496535581906978, "rel_wql_gmean": 0.4982318813583749}, "T": {"n_configs": 30, "rel_mase_gmean": 0.755920509187425, "rel_wql_gmean": 0.5881482341816905}, "W": {"n_configs": 8, "rel_mase_gmean": 0.8893280509437378, "rel_wql_gmean": 0.5864472508377766}}, "variates": {"multivariate": {"n_configs": 43, "rel_mase_gmean": 0.7718027693423195, "rel_wql_gmean": 0.5310438748170623}, "univariate": {"n_configs": 54, "rel_mase_gmean": 0.8123163174606677, "rel_wql_gmean": 0.5792198510179808}}}, "group_skill_delta": {"term": {"long": -0.0007280771085106386, "medium": -0.006376637835440513, "short": -0.004082031058067148}, "domain": {"Econ/Fin": -0.0031284263081811092, "Energy": -0.0007651853324122104, "Healthcare": -0.04852522893940692, "Nature": 0.006391039679836785, "Sales": 0.0012997672303309837, "Transport": -0.003816545403753424, "Web/CloudOps": -0.004959655582984501}, "frequency": {"A": -0.00032185461484701694, "D": -0.016921198621943412, "H": -0.003920866733754136, "M": 0.031023883520244544, "Q": 0.008371733963053685, "S": -0.00402282359496442, "T": -0.0010356543234671944, "W": -0.007260197422379822}, "variates": {"multivariate": -0.004099945807795269, "univariate": -0.003527573108183746}}}, {"cutoff": "backcast2_evals", "candidate_skill": 0.3598328678277003, "control_skill": 0.35821120969144316, "delta": 0.0016216581362571425, "candidate_checkpoint": "175b5426500fbf958751c72d8cbc424fe3c6ebd0f7df7e299ea3eecbc8760b43", "control_checkpoint": "d7cfcd72c3cb84aa69e447b76c4c3ab98c21b7c600a463f0b805f4b4300baf33", "candidate_eval_seconds": 35.461251974105835, "candidate_groups": {"term": {"long": {"n_configs": 19, "rel_mase_gmean": 0.8002289670102593, "rel_wql_gmean": 0.5048625507754646}, "medium": {"n_configs": 21, "rel_mase_gmean": 0.7434848985518473, "rel_wql_gmean": 0.4983608723216711}, "short": {"n_configs": 54, "rel_mase_gmean": 0.7612200891230086, "rel_wql_gmean": 0.5627035668860375}}, "domain": {"Econ/Fin": {"n_configs": 6, "rel_mase_gmean": 0.887979222017472, "rel_wql_gmean": 0.909044549502773}, "Energy": {"n_configs": 32, "rel_mase_gmean": 0.9103958852100196, "rel_wql_gmean": 0.6581853932079487}, "Healthcare": {"n_configs": 5, "rel_mase_gmean": 0.6997011840813233, "rel_wql_gmean": 0.600271279595515}, "Nature": {"n_configs": 15, "rel_mase_gmean": 0.7560835146439628, "rel_wql_gmean": 0.37283380173072195}, "Sales": {"n_configs": 3, "rel_mase_gmean": 0.5614590492324707, "rel_wql_gmean": 0.35301088661792}, "Transport": {"n_configs": 14, "rel_mase_gmean": 0.6731478864944542, "rel_wql_gmean": 0.5099098281846536}, "Web/CloudOps": {"n_configs": 19, "rel_mase_gmean": 0.6487085384602594, "rel_wql_gmean": 0.45888767062054286}}, "frequency": {"A": {"n_configs": 1, "rel_mase_gmean": 0.5694337832611186, "rel_wql_gmean": 0.7286821157234933}, "D": {"n_configs": 15, "rel_mase_gmean": 0.7306722178622032, "rel_wql_gmean": 0.45231117484610484}, "H": {"n_configs": 30, "rel_mase_gmean": 0.7512544129413611, "rel_wql_gmean": 0.4948342969263973}, "M": {"n_configs": 4, "rel_mase_gmean": 0.8117784844914172, "rel_wql_gmean": 0.8502903869882522}, "Q": {"n_configs": 1, "rel_mase_gmean": 0.8390275968587038, "rel_wql_gmean": 0.8934787267318403}, "S": {"n_configs": 6, "rel_mase_gmean": 0.9029009593639845, "rel_wql_gmean": 0.5657006017144475}, "T": {"n_configs": 29, "rel_mase_gmean": 0.7448253373169968, "rel_wql_gmean": 0.5438638028592113}, "W": {"n_configs": 8, "rel_mase_gmean": 0.8633512485358877, "rel_wql_gmean": 0.6459954086855918}}, "variates": {"multivariate": {"n_configs": 42, "rel_mase_gmean": 0.7637580726682117, "rel_wql_gmean": 0.5155996707865974}, "univariate": {"n_configs": 52, "rel_mase_gmean": 0.7658405676555531, "rel_wql_gmean": 0.5526322623515957}}}, "control_groups": {"term": {"long": {"n_configs": 19, "rel_mase_gmean": 0.7948323559622308, "rel_wql_gmean": 0.5038031357937244}, "medium": {"n_configs": 21, "rel_mase_gmean": 0.7436546889519351, "rel_wql_gmean": 0.4999106059674412}, "short": {"n_configs": 54, "rel_mase_gmean": 0.7653891474888923, "rel_wql_gmean": 0.5656202422862512}}, "domain": {"Econ/Fin": {"n_configs": 6, "rel_mase_gmean": 0.8899872084302632, "rel_wql_gmean": 0.9055268485241579}, "Energy": {"n_configs": 32, "rel_mase_gmean": 0.9159117867744438, "rel_wql_gmean": 0.663956827409629}, "Healthcare": {"n_configs": 5, "rel_mase_gmean": 0.6688701850316071, "rel_wql_gmean": 0.5851167258527354}, "Nature": {"n_configs": 15, "rel_mase_gmean": 0.7657459485168994, "rel_wql_gmean": 0.3786143150772142}, "Sales": {"n_configs": 3, "rel_mase_gmean": 0.564108971970049, "rel_wql_gmean": 0.3567547415829251}, "Transport": {"n_configs": 14, "rel_mase_gmean": 0.677841126147746, "rel_wql_gmean": 0.5110735743749464}, "Web/CloudOps": {"n_configs": 19, "rel_mase_gmean": 0.6448877329601718, "rel_wql_gmean": 0.45604325115803673}}, "frequency": {"A": {"n_configs": 1, "rel_mase_gmean": 0.5778772564458995, "rel_wql_gmean": 0.7545228843343262}, "D": {"n_configs": 15, "rel_mase_gmean": 0.7299936856379547, "rel_wql_gmean": 0.4514832431454694}, "H": {"n_configs": 30, "rel_mase_gmean": 0.7493271411845789, "rel_wql_gmean": 0.4923349064463513}, "M": {"n_configs": 4, "rel_mase_gmean": 0.8174516557126993, "rel_wql_gmean": 0.871483874743179}, "Q": {"n_configs": 1, "rel_mase_gmean": 0.8403605693598712, "rel_wql_gmean": 0.888453639232776}, "S": {"n_configs": 6, "rel_mase_gmean": 0.9021968573313114, "rel_wql_gmean": 0.5636783345364695}, "T": {"n_configs": 29, "rel_mase_gmean": 0.7455541469259782, "rel_wql_gmean": 0.5498372054524163}, "W": {"n_configs": 8, "rel_mase_gmean": 0.8845789361049848, "rel_wql_gmean": 0.6509305309216584}}, "variates": {"multivariate": {"n_configs": 42, "rel_mase_gmean": 0.7653037238032906, "rel_wql_gmean": 0.5154762736658989}, "univariate": {"n_configs": 52, "rel_mase_gmean": 0.7671120022280188, "rel_wql_gmean": 0.5559849583019626}}}, "group_skill_delta": {"term": {"long": -0.0028118547788450465, "medium": 0.0010153106867430983, "short": 0.0034884043282196187}, "domain": {"Econ/Fin": -0.000726744788326017, "Energy": 0.005738175582482352, "Healthcare": -0.022488765656240584, "Nature": 0.007507976928652127, "Sales": 0.003409460636860262, "Transport": 0.0027093200772818626, "Web/CloudOps": -0.003297742576295337}, "frequency": {"A": 0.016163900683017096, "D": -0.0007931358702280011, "H": -0.002322361468276024, "M": 0.013224191202995006, "Q": -0.0017526485316128326, "S": -0.0015567867160495297, "T": 0.0037986872951341066, "W": 0.012007328512064763}, "variates": {"multivariate": 0.0005594858834629957, "univariate": 0.002511851395331721}}}, {"cutoff": "backcast3_evals", "candidate_skill": 0.3784531024596013, "control_skill": 0.3796114863043607, "delta": -0.0011583838447594141, "candidate_checkpoint": "175b5426500fbf958751c72d8cbc424fe3c6ebd0f7df7e299ea3eecbc8760b43", "control_checkpoint": "d7cfcd72c3cb84aa69e447b76c4c3ab98c21b7c600a463f0b805f4b4300baf33", "candidate_eval_seconds": 36.2251250743866, "candidate_groups": {"term": {"long": {"n_configs": 19, "rel_mase_gmean": 0.7705067942044374, "rel_wql_gmean": 0.48161322692338326}, "medium": {"n_configs": 20, "rel_mase_gmean": 0.759134213426568, "rel_wql_gmean": 0.5293183839922552}, "short": {"n_configs": 54, "rel_mase_gmean": 0.7416911299358727, "rel_wql_gmean": 0.5206475286459628}}, "domain": {"Econ/Fin": {"n_configs": 6, "rel_mase_gmean": 0.8402154021998588, "rel_wql_gmean": 0.820635598586589}, "Energy": {"n_configs": 32, "rel_mase_gmean": 0.8474080890197591, "rel_wql_gmean": 0.5630961710671458}, "Healthcare": {"n_configs": 5, "rel_mase_gmean": 0.91872679187321, "rel_wql_gmean": 0.7448084463530121}, "Nature": {"n_configs": 15, "rel_mase_gmean": 0.7321961693969318, "rel_wql_gmean": 0.34666839349487005}, "Sales": {"n_configs": 3, "rel_mase_gmean": 0.756029679783108, "rel_wql_gmean": 0.48252987533333835}, "Transport": {"n_configs": 14, "rel_mase_gmean": 0.5526024792705039, "rel_wql_gmean": 0.459773411900231}, "Web/CloudOps": {"n_configs": 18, "rel_mase_gmean": 0.715879974066899, "rel_wql_gmean": 0.5174947679613005}}, "frequency": {"A": {"n_configs": 1, "rel_mase_gmean": 0.5125269899735034, "rel_wql_gmean": 0.7003686388597969}, "D": {"n_configs": 15, "rel_mase_gmean": 0.7848344909914, "rel_wql_gmean": 0.4487569667849705}, "H": {"n_configs": 29, "rel_mase_gmean": 0.7328269231603544, "rel_wql_gmean": 0.49532272920925546}, "M": {"n_configs": 4, "rel_mase_gmean": 0.9218848841061961, "rel_wql_gmean": 0.9146381774245977}, "Q": {"n_configs": 1, "rel_mase_gmean": 0.7118768180857215, "rel_wql_gmean": 0.7423314941341624}, "S": {"n_configs": 6, "rel_mase_gmean": 0.8741764982192753, "rel_wql_gmean": 0.6233468534856376}, "T": {"n_configs": 29, "rel_mase_gmean": 0.7003490551805068, "rel_wql_gmean": 0.46421798201422226}, "W": {"n_configs": 8, "rel_mase_gmean": 0.8307860597548771, "rel_wql_gmean": 0.6574326656688121}}, "variates": {"multivariate": {"n_configs": 41, "rel_mase_gmean": 0.7762957887700571, "rel_wql_gmean": 0.5218319243914646}, "univariate": {"n_configs": 52, "rel_mase_gmean": 0.7320479158559715, "rel_wql_gmean": 0.5083444084654606}}}, "control_groups": {"term": {"long": {"n_configs": 19, "rel_mase_gmean": 0.7707548491943624, "rel_wql_gmean": 0.4807756564072138}, "medium": {"n_configs": 20, "rel_mase_gmean": 0.7556495370223238, "rel_wql_gmean": 0.5262128188543342}, "short": {"n_configs": 54, "rel_mase_gmean": 0.7385188778105934, "rel_wql_gmean": 0.521816862285778}}, "domain": {"Econ/Fin": {"n_configs": 6, "rel_mase_gmean": 0.8424966280451537, "rel_wql_gmean": 0.8200624057334169}, "Energy": {"n_configs": 32, "rel_mase_gmean": 0.8539019602096222, "rel_wql_gmean": 0.5710802296836778}, "Healthcare": {"n_configs": 5, "rel_mase_gmean": 0.8909828066833559, "rel_wql_gmean": 0.7058215612134101}, "Nature": {"n_configs": 15, "rel_mase_gmean": 0.7140869441964789, "rel_wql_gmean": 0.3512392411927577}, "Sales": {"n_configs": 3, "rel_mase_gmean": 0.7639256455458228, "rel_wql_gmean": 0.48475054428574094}, "Transport": {"n_configs": 14, "rel_mase_gmean": 0.5619385146556419, "rel_wql_gmean": 0.4647057191235835}, "Web/CloudOps": {"n_configs": 18, "rel_mase_gmean": 0.7034743755687752, "rel_wql_gmean": 0.5014537965434586}}, "frequency": {"A": {"n_configs": 1, "rel_mase_gmean": 0.529321887711635, "rel_wql_gmean": 0.7601172944767248}, "D": {"n_configs": 15, "rel_mase_gmean": 0.7813860809923568, "rel_wql_gmean": 0.44632727852138454}, "H": {"n_configs": 29, "rel_mase_gmean": 0.734432190578138, "rel_wql_gmean": 0.4971516938153054}, "M": {"n_configs": 4, "rel_mase_gmean": 0.8903179619577941, "rel_wql_gmean": 0.8686026764605773}, "Q": {"n_configs": 1, "rel_mase_gmean": 0.7179816427620297, "rel_wql_gmean": 0.7506580757820736}, "S": {"n_configs": 6, "rel_mase_gmean": 0.8498477607666359, "rel_wql_gmean": 0.6047885144037575}, "T": {"n_configs": 29, "rel_mase_gmean": 0.7006619380973221, "rel_wql_gmean": 0.46532367960829474}, "W": {"n_configs": 8, "rel_mase_gmean": 0.8246011876416808, "rel_wql_gmean": 0.6716230893689398}}, "variates": {"multivariate": {"n_configs": 41, "rel_mase_gmean": 0.7741503096616409, "rel_wql_gmean": 0.5213427900147267}, "univariate": {"n_configs": 52, "rel_mase_gmean": 0.7291832302879286, "rel_wql_gmean": 0.5084307719061404}}}, "group_skill_delta": {"term": {"long": -0.0004319671542757364, "medium": -0.003314590224807623, "short": -0.0006343985967818266}, "domain": {"Econ/Fin": 0.0008360410532837204, "Energy": 0.0075403689168932475, "Healthcare": -0.03419313533072332, "Nature": -0.0030000249957964353, "Sales": 0.004541316350343161, "Transport": 0.006959237156032971, "Web/CloudOps": -0.014721718787945148}, "frequency": {"A": 0.03517716906085655, "D": -0.002910447148969597, "H": 0.001772029780068407, "M": -0.03886108856919601, "Q": 0.007193388780698751, "S": -0.02126099151756189, "T": 0.0008061515095149074, "W": 0.0051477348289443725}, "variates": {"multivariate": -0.0011780818002488092, "univariate": -0.0011430474119374923}}}], "mean_delta": -0.0014953173958090205, "positive_cutoffs": 1, "outcome": "Declared comparison checkpoints 48000,96000. No transfer formula or automatic publication is selected by this controller."} + +2026-10-24T03:22:11.857984+00:00: E177 result {"pid": 22468, "status": "source gate failed; composition untested", "started_utc": "2026-10-24T03:15:41.281109+00:00", "declaration": {"experiment": "E177", "declared_utc": "2026-10-24T03:15:14.484226+00:00", "status": "declared before original E134final checkpoint; no new training", "hypothesis": "A curriculum-trained expert may retain complementary forecast errors after its original96k schedule. Test one fixed equal blend of current E172 and the ordered quartet F0/F1/F2/E134final96, conditional on the original source comparison passing.", "frozen_parent_descriptor": "a75fdfcbb4d8e38dd6e7cded3c097ff0a129976fa63277bfd277a6031ccc6140", "parent_probe_prefix": "gate_six_blend", "member_checkpoint_hashes": ["0b11b7351a4a92d1d18c71a4159ec445be3a94ace8c7a9fa0edafad87d14e960", "308389b7217c080af9eb185559d4ee3cafa0f3e0f8c4dd8f5526b68198c89988", "1a2fb20a9fb5cae6526f2e36ea47559626bece78fd9c284899836505030ae9fe", "d7cfcd72c3cb84aa69e447b76c4c3ab98c21b7c600a463f0b805f4b4300baf33", "2877a38b94a7d77a53a9df410349cecc2f6ab134c83a76744924543bbe73eb17", "4b309f0721378f97db815dd511b8b54711348270c48e9eae0103dba506f66708"], "new_member_run": "visibility_curriculum", "new_member_step": 96000, "source_control": "random_capacity_1024_ema96000", "gate_run": "ensemble_gate_refresh", "gate_step": 6000, "gate_checkpoint_sha256": "a7d0ee6866ea787f29eac043531aad3613674f159fd00b3491fd87fab8388fd1", "parameters": 695910156, "blend_coefficient": 0.5, "horizon_threshold": 720, "composition": "Compute all seven experts and unchanged E152primary6k gate on F0/F1/F2/F3 for every instance. Preserve exact ordered E172 as C. Compute Q=(F0+F1+F2+F6)/4 with ordered float32 additions, then output (C+Q)/2. No arithmetic reassociation or replacement of gate experts.", "source_training": "Existing E134 own untrained146477344 model, seed307/B48/LR2e-4/oldpack/slowAR/original96k; visible C/H quarter through16k, half through32k, full thereafter. No added updates.", "source_gate": "At least3 positive cutoff deltas and positive mean versus E79matched96k. If failed, composition remains untested.", "selection": "One cached four-cutoff comparison only after source gate; require at least3positive and positive mean versus frozen E172 and then-current publication. Only if passed, assemble portable candidate and complete actual all-forward accounting, independent composition, relocation, runtime and full97 public replay against current. No automatic publication.", "checkpoint_choices": "Only original primary/final96000; no72000, alpha, threshold or frequency search.", "new_training": false, "optimizer_updates": 0, "training_queued": false}, "steps": [], "optimizer_updates": 0, "new_neural_inference": false, "seconds": 390.5770653698128, "new_member_checkpoint_sha256": "175b5426500fbf958751c72d8cbc424fe3c6ebd0f7df7e299ea3eecbc8760b43", "source_comparison": "/workspace/research/visibility_curriculum96k_four_cutoff_comparison.json", "source_gate": {"positive_cutoffs": 1, "mean_delta": -0.0014953173958090205}, "finished_utc": "2026-10-24T03:22:11.857984+00:00"} + +2026-10-24T03:22:50.677466+00:00: E134 original primary/final endpoint {"utc": "2026-10-24T03:22:50.677466+00:00", "experiment": "E134", "primary_step": 96000, "final_step": 96000, "seed": 307, "checkpoint_sha256": "175b5426500fbf958751c72d8cbc424fe3c6ebd0f7df7e299ea3eecbc8760b43", "parameters": 146477344, "source_control": "E79 same initial/model/sampler/seed/B48/LR2e-4/oldpack/original96k", "changed_factor": "Visible context/target quarter through16000, half through32000, full thereafter; original sampled arrays and RNG retained.", "positive_cutoffs": 1, "mean_delta": -0.0014953173958090205, "source_gate_passed": false, "rows": [{"cutoff": "evals", "candidate_skill": 0.368529472057054, "control_skill": 0.37118082660619867, "delta": -0.002651354549144669, "candidate_checkpoint": "175b5426500fbf958751c72d8cbc424fe3c6ebd0f7df7e299ea3eecbc8760b43", "control_checkpoint": "d7cfcd72c3cb84aa69e447b76c4c3ab98c21b7c600a463f0b805f4b4300baf33", "candidate_eval_seconds": 33.379825592041016, "candidate_groups": {"term": {"long": {"n_configs": 21, "rel_mase_gmean": 0.7587751514312568, "rel_wql_gmean": 0.4933219306671298}, "medium": {"n_configs": 21, "rel_mase_gmean": 0.7361236446326902, "rel_wql_gmean": 0.5032947507062915}, "short": {"n_configs": 55, "rel_mase_gmean": 0.7609035392172837, "rel_wql_gmean": 0.552147242797432}}, "domain": {"Econ/Fin": {"n_configs": 6, "rel_mase_gmean": 0.8818349864472801, "rel_wql_gmean": 0.8411676484576505}, "Energy": {"n_configs": 32, "rel_mase_gmean": 0.9099998896704522, "rel_wql_gmean": 0.6583665309823048}, "Healthcare": {"n_configs": 5, "rel_mase_gmean": 0.6094799385425418, "rel_wql_gmean": 0.5271560492791306}, "Nature": {"n_configs": 15, "rel_mase_gmean": 0.8205774002455802, "rel_wql_gmean": 0.40820903795472036}, "Sales": {"n_configs": 4, "rel_mase_gmean": 0.8502500390277952, "rel_wql_gmean": 0.5289718924185827}, "Transport": {"n_configs": 15, "rel_mase_gmean": 0.6491645144571173, "rel_wql_gmean": 0.4478309827238158}, "Web/CloudOps": {"n_configs": 20, "rel_mase_gmean": 0.5794102889410171, "rel_wql_gmean": 0.4432711012990792}}, "frequency": {"A": {"n_configs": 1, "rel_mase_gmean": 0.5853664283832646, "rel_wql_gmean": 0.6100084316594802}, "D": {"n_configs": 15, "rel_mase_gmean": 0.7741770495806158, "rel_wql_gmean": 0.5367128976611355}, "H": {"n_configs": 31, "rel_mase_gmean": 0.7396670689306633, "rel_wql_gmean": 0.5086823746201458}, "M": {"n_configs": 5, "rel_mase_gmean": 0.9947402662632852, "rel_wql_gmean": 0.8426423830919058}, "Q": {"n_configs": 1, "rel_mase_gmean": 0.7636542858310936, "rel_wql_gmean": 0.8170136583976101}, "S": {"n_configs": 6, "rel_mase_gmean": 0.6663107602235753, "rel_wql_gmean": 0.5104214888530946}, "T": {"n_configs": 30, "rel_mase_gmean": 0.7105683691707813, "rel_wql_gmean": 0.4624246128257213}, "W": {"n_configs": 8, "rel_mase_gmean": 0.9331549413653054, "rel_wql_gmean": 0.6951178946796428}}, "variates": {"multivariate": {"n_configs": 43, "rel_mase_gmean": 0.726730408249166, "rel_wql_gmean": 0.5210363736302801}, "univariate": {"n_configs": 54, "rel_mase_gmean": 0.7783158140354323, "rel_wql_gmean": 0.5338742221470206}}}, "control_groups": {"term": {"long": {"n_configs": 21, "rel_mase_gmean": 0.7617085776612673, "rel_wql_gmean": 0.49633909417606453}, "medium": {"n_configs": 21, "rel_mase_gmean": 0.7298134337623169, "rel_wql_gmean": 0.5003277699021584}, "short": {"n_configs": 55, "rel_mase_gmean": 0.7539888789481445, "rel_wql_gmean": 0.5499601934168685}}, "domain": {"Econ/Fin": {"n_configs": 6, "rel_mase_gmean": 0.8959148570251535, "rel_wql_gmean": 0.8493368379420845}, "Energy": {"n_configs": 32, "rel_mase_gmean": 0.9094002563853486, "rel_wql_gmean": 0.6572245802316878}, "Healthcare": {"n_configs": 5, "rel_mase_gmean": 0.529267728079262, "rel_wql_gmean": 0.47334957848952913}, "Nature": {"n_configs": 15, "rel_mase_gmean": 0.8234547120124809, "rel_wql_gmean": 0.4142825340029578}, "Sales": {"n_configs": 4, "rel_mase_gmean": 0.8520426601354568, "rel_wql_gmean": 0.5216579663248391}, "Transport": {"n_configs": 15, "rel_mase_gmean": 0.6515127739306887, "rel_wql_gmean": 0.45010198724616357}, "Web/CloudOps": {"n_configs": 20, "rel_mase_gmean": 0.5769432156462848, "rel_wql_gmean": 0.44504231186351767}}, "frequency": {"A": {"n_configs": 1, "rel_mase_gmean": 0.5929439471839378, "rel_wql_gmean": 0.615503982517204}, "D": {"n_configs": 15, "rel_mase_gmean": 0.7787713445367176, "rel_wql_gmean": 0.5373779555416477}, "H": {"n_configs": 31, "rel_mase_gmean": 0.7363315295729133, "rel_wql_gmean": 0.5086973471183035}, "M": {"n_configs": 5, "rel_mase_gmean": 0.9301275593623703, "rel_wql_gmean": 0.8181248600782658}, "Q": {"n_configs": 1, "rel_mase_gmean": 0.7640064910151944, "rel_wql_gmean": 0.8167107058299274}, "S": {"n_configs": 6, "rel_mase_gmean": 0.6696048120395435, "rel_wql_gmean": 0.5095378743549087}, "T": {"n_configs": 30, "rel_mase_gmean": 0.7141887055723616, "rel_wql_gmean": 0.47011994961408954}, "W": {"n_configs": 8, "rel_mase_gmean": 0.8865274908386537, "rel_wql_gmean": 0.6465387255094742}}, "variates": {"multivariate": {"n_configs": 43, "rel_mase_gmean": 0.7285160402951458, "rel_wql_gmean": 0.5269433957731289}, "univariate": {"n_configs": 54, "rel_mase_gmean": 0.7681866341094963, "rel_wql_gmean": 0.5270065227304256}}}, "group_skill_delta": {"term": {"long": 0.0030531996381845117, "medium": -0.0044035121803053245, "short": -0.004230973818686423}, "domain": {"Econ/Fin": 0.011053698313124749, "Energy": -0.0009264096755848827, "Healthcare": -0.0662970253327434, "Nature": 0.005310967216162643, "Sales": -0.0039508063942256255, "Transport": 0.0023421881423033586, "Web/CloudOps": -7.073878626473462e-05}, "frequency": {"A": 0.0065582434366618925, "D": 0.0023102715782181704, "H": -0.001375616692494197, "M": -0.04320777417366517, "Q": 3.563655026350698e-05, "S": 0.0009335112659131228, "T": 0.006220410795600095, "W": -0.048306988249972926}, "variates": {"multivariate": 0.004238073118653873, "univariate": -0.008340655952395637}}}, {"cutoff": "backcast_evals", "candidate_skill": 0.3309329843277523, "control_skill": 0.33472617365334145, "delta": -0.0037931893255891413, "candidate_checkpoint": "175b5426500fbf958751c72d8cbc424fe3c6ebd0f7df7e299ea3eecbc8760b43", "control_checkpoint": "d7cfcd72c3cb84aa69e447b76c4c3ab98c21b7c600a463f0b805f4b4300baf33", "candidate_eval_seconds": 34.99730157852173, "candidate_groups": {"term": {"long": {"n_configs": 21, "rel_mase_gmean": 0.7649461837349396, "rel_wql_gmean": 0.47075749734725164}, "medium": {"n_configs": 21, "rel_mase_gmean": 0.7840430297868545, "rel_wql_gmean": 0.5430253239711708}, "short": {"n_configs": 55, "rel_mase_gmean": 0.8172185598150611, "rel_wql_gmean": 0.6067402372355457}}, "domain": {"Econ/Fin": {"n_configs": 6, "rel_mase_gmean": 0.8772804074761292, "rel_wql_gmean": 0.8120234251666657}, "Energy": {"n_configs": 32, "rel_mase_gmean": 0.9004138103456649, "rel_wql_gmean": 0.6755341533968776}, "Healthcare": {"n_configs": 5, "rel_mase_gmean": 0.6778705925652195, "rel_wql_gmean": 0.6371066779274372}, "Nature": {"n_configs": 15, "rel_mase_gmean": 0.9137972611116295, "rel_wql_gmean": 0.43542053014433374}, "Sales": {"n_configs": 4, "rel_mase_gmean": 0.7381649062121207, "rel_wql_gmean": 0.4979119552432129}, "Transport": {"n_configs": 15, "rel_mase_gmean": 0.7500520668030733, "rel_wql_gmean": 0.5457277607724536}, "Web/CloudOps": {"n_configs": 20, "rel_mase_gmean": 0.6417666395749073, "rel_wql_gmean": 0.4555671082052405}}, "frequency": {"A": {"n_configs": 1, "rel_mase_gmean": 0.6334641307310085, "rel_wql_gmean": 0.7030138954300703}, "D": {"n_configs": 15, "rel_mase_gmean": 0.846659759262921, "rel_wql_gmean": 0.5045785732558805}, "H": {"n_configs": 31, "rel_mase_gmean": 0.7824682667515206, "rel_wql_gmean": 0.5253534996211406}, "M": {"n_configs": 5, "rel_mase_gmean": 0.851798396452252, "rel_wql_gmean": 0.7917949762457459}, "Q": {"n_configs": 1, "rel_mase_gmean": 0.7741082117383046, "rel_wql_gmean": 0.773583214190068}, "S": {"n_configs": 6, "rel_mase_gmean": 0.8524990868816942, "rel_wql_gmean": 0.5027283330050585}, "T": {"n_configs": 30, "rel_mase_gmean": 0.75928678761419, "rel_wql_gmean": 0.5873610553891794}, "W": {"n_configs": 8, "rel_mase_gmean": 0.8821499799611529, "rel_wql_gmean": 0.6031661874453853}}, "variates": {"multivariate": {"n_configs": 43, "rel_mase_gmean": 0.7765565158930224, "rel_wql_gmean": 0.5345748023688646}, "univariate": {"n_configs": 54, "rel_mase_gmean": 0.816253276716898, "rel_wql_gmean": 0.5823701789711117}}}, "control_groups": {"term": {"long": {"n_configs": 21, "rel_mase_gmean": 0.7631098777388973, "rel_wql_gmean": 0.47074592104175184}, "medium": {"n_configs": 21, "rel_mase_gmean": 0.7785429002581723, "rel_wql_gmean": 0.5362252732855645}, "short": {"n_configs": 55, "rel_mase_gmean": 0.8123770244196038, "rel_wql_gmean": 0.603300236549279}}, "domain": {"Econ/Fin": {"n_configs": 6, "rel_mase_gmean": 0.8799114018222585, "rel_wql_gmean": 0.803604895852266}, "Energy": {"n_configs": 32, "rel_mase_gmean": 0.8977669691725372, "rel_wql_gmean": 0.6761969813852254}, "Healthcare": {"n_configs": 5, "rel_mase_gmean": 0.6300661024303247, "rel_wql_gmean": 0.587956838027678}, "Nature": {"n_configs": 15, "rel_mase_gmean": 0.918761626825819, "rel_wql_gmean": 0.4418878940724868}, "Sales": {"n_configs": 4, "rel_mase_gmean": 0.7413491153579719, "rel_wql_gmean": 0.49790144170298983}, "Transport": {"n_configs": 15, "rel_mase_gmean": 0.7463594580929064, "rel_wql_gmean": 0.5419041229491335}, "Web/CloudOps": {"n_configs": 20, "rel_mase_gmean": 0.6383206047362664, "rel_wql_gmean": 0.4496625882886006}}, "frequency": {"A": {"n_configs": 1, "rel_mase_gmean": 0.6368968587575585, "rel_wql_gmean": 0.6985505028931195}, "D": {"n_configs": 15, "rel_mase_gmean": 0.8234282335820552, "rel_wql_gmean": 0.4922990804723347}, "H": {"n_configs": 31, "rel_mase_gmean": 0.7777723999594381, "rel_wql_gmean": 0.5220808728462141}, "M": {"n_configs": 5, "rel_mase_gmean": 0.8806740205862869, "rel_wql_gmean": 0.8247873940198561}, "Q": {"n_configs": 1, "rel_mase_gmean": 0.7704440480842776, "rel_wql_gmean": 0.7941706683927648}, "S": {"n_configs": 6, "rel_mase_gmean": 0.8496535581906978, "rel_wql_gmean": 0.4982318813583749}, "T": {"n_configs": 30, "rel_mase_gmean": 0.755920509187425, "rel_wql_gmean": 0.5881482341816905}, "W": {"n_configs": 8, "rel_mase_gmean": 0.8893280509437378, "rel_wql_gmean": 0.5864472508377766}}, "variates": {"multivariate": {"n_configs": 43, "rel_mase_gmean": 0.7718027693423195, "rel_wql_gmean": 0.5310438748170623}, "univariate": {"n_configs": 54, "rel_mase_gmean": 0.8123163174606677, "rel_wql_gmean": 0.5792198510179808}}}, "group_skill_delta": {"term": {"long": -0.0007280771085106386, "medium": -0.006376637835440513, "short": -0.004082031058067148}, "domain": {"Econ/Fin": -0.0031284263081811092, "Energy": -0.0007651853324122104, "Healthcare": -0.04852522893940692, "Nature": 0.006391039679836785, "Sales": 0.0012997672303309837, "Transport": -0.003816545403753424, "Web/CloudOps": -0.004959655582984501}, "frequency": {"A": -0.00032185461484701694, "D": -0.016921198621943412, "H": -0.003920866733754136, "M": 0.031023883520244544, "Q": 0.008371733963053685, "S": -0.00402282359496442, "T": -0.0010356543234671944, "W": -0.007260197422379822}, "variates": {"multivariate": -0.004099945807795269, "univariate": -0.003527573108183746}}}, {"cutoff": "backcast2_evals", "candidate_skill": 0.3598328678277003, "control_skill": 0.35821120969144316, "delta": 0.0016216581362571425, "candidate_checkpoint": "175b5426500fbf958751c72d8cbc424fe3c6ebd0f7df7e299ea3eecbc8760b43", "control_checkpoint": "d7cfcd72c3cb84aa69e447b76c4c3ab98c21b7c600a463f0b805f4b4300baf33", "candidate_eval_seconds": 35.461251974105835, "candidate_groups": {"term": {"long": {"n_configs": 19, "rel_mase_gmean": 0.8002289670102593, "rel_wql_gmean": 0.5048625507754646}, "medium": {"n_configs": 21, "rel_mase_gmean": 0.7434848985518473, "rel_wql_gmean": 0.4983608723216711}, "short": {"n_configs": 54, "rel_mase_gmean": 0.7612200891230086, "rel_wql_gmean": 0.5627035668860375}}, "domain": {"Econ/Fin": {"n_configs": 6, "rel_mase_gmean": 0.887979222017472, "rel_wql_gmean": 0.909044549502773}, "Energy": {"n_configs": 32, "rel_mase_gmean": 0.9103958852100196, "rel_wql_gmean": 0.6581853932079487}, "Healthcare": {"n_configs": 5, "rel_mase_gmean": 0.6997011840813233, "rel_wql_gmean": 0.600271279595515}, "Nature": {"n_configs": 15, "rel_mase_gmean": 0.7560835146439628, "rel_wql_gmean": 0.37283380173072195}, "Sales": {"n_configs": 3, "rel_mase_gmean": 0.5614590492324707, "rel_wql_gmean": 0.35301088661792}, "Transport": {"n_configs": 14, "rel_mase_gmean": 0.6731478864944542, "rel_wql_gmean": 0.5099098281846536}, "Web/CloudOps": {"n_configs": 19, "rel_mase_gmean": 0.6487085384602594, "rel_wql_gmean": 0.45888767062054286}}, "frequency": {"A": {"n_configs": 1, "rel_mase_gmean": 0.5694337832611186, "rel_wql_gmean": 0.7286821157234933}, "D": {"n_configs": 15, "rel_mase_gmean": 0.7306722178622032, "rel_wql_gmean": 0.45231117484610484}, "H": {"n_configs": 30, "rel_mase_gmean": 0.7512544129413611, "rel_wql_gmean": 0.4948342969263973}, "M": {"n_configs": 4, "rel_mase_gmean": 0.8117784844914172, "rel_wql_gmean": 0.8502903869882522}, "Q": {"n_configs": 1, "rel_mase_gmean": 0.8390275968587038, "rel_wql_gmean": 0.8934787267318403}, "S": {"n_configs": 6, "rel_mase_gmean": 0.9029009593639845, "rel_wql_gmean": 0.5657006017144475}, "T": {"n_configs": 29, "rel_mase_gmean": 0.7448253373169968, "rel_wql_gmean": 0.5438638028592113}, "W": {"n_configs": 8, "rel_mase_gmean": 0.8633512485358877, "rel_wql_gmean": 0.6459954086855918}}, "variates": {"multivariate": {"n_configs": 42, "rel_mase_gmean": 0.7637580726682117, "rel_wql_gmean": 0.5155996707865974}, "univariate": {"n_configs": 52, "rel_mase_gmean": 0.7658405676555531, "rel_wql_gmean": 0.5526322623515957}}}, "control_groups": {"term": {"long": {"n_configs": 19, "rel_mase_gmean": 0.7948323559622308, "rel_wql_gmean": 0.5038031357937244}, "medium": {"n_configs": 21, "rel_mase_gmean": 0.7436546889519351, "rel_wql_gmean": 0.4999106059674412}, "short": {"n_configs": 54, "rel_mase_gmean": 0.7653891474888923, "rel_wql_gmean": 0.5656202422862512}}, "domain": {"Econ/Fin": {"n_configs": 6, "rel_mase_gmean": 0.8899872084302632, "rel_wql_gmean": 0.9055268485241579}, "Energy": {"n_configs": 32, "rel_mase_gmean": 0.9159117867744438, "rel_wql_gmean": 0.663956827409629}, "Healthcare": {"n_configs": 5, "rel_mase_gmean": 0.6688701850316071, "rel_wql_gmean": 0.5851167258527354}, "Nature": {"n_configs": 15, "rel_mase_gmean": 0.7657459485168994, "rel_wql_gmean": 0.3786143150772142}, "Sales": {"n_configs": 3, "rel_mase_gmean": 0.564108971970049, "rel_wql_gmean": 0.3567547415829251}, "Transport": {"n_configs": 14, "rel_mase_gmean": 0.677841126147746, "rel_wql_gmean": 0.5110735743749464}, "Web/CloudOps": {"n_configs": 19, "rel_mase_gmean": 0.6448877329601718, "rel_wql_gmean": 0.45604325115803673}}, "frequency": {"A": {"n_configs": 1, "rel_mase_gmean": 0.5778772564458995, "rel_wql_gmean": 0.7545228843343262}, "D": {"n_configs": 15, "rel_mase_gmean": 0.7299936856379547, "rel_wql_gmean": 0.4514832431454694}, "H": {"n_configs": 30, "rel_mase_gmean": 0.7493271411845789, "rel_wql_gmean": 0.4923349064463513}, "M": {"n_configs": 4, "rel_mase_gmean": 0.8174516557126993, "rel_wql_gmean": 0.871483874743179}, "Q": {"n_configs": 1, "rel_mase_gmean": 0.8403605693598712, "rel_wql_gmean": 0.888453639232776}, "S": {"n_configs": 6, "rel_mase_gmean": 0.9021968573313114, "rel_wql_gmean": 0.5636783345364695}, "T": {"n_configs": 29, "rel_mase_gmean": 0.7455541469259782, "rel_wql_gmean": 0.5498372054524163}, "W": {"n_configs": 8, "rel_mase_gmean": 0.8845789361049848, "rel_wql_gmean": 0.6509305309216584}}, "variates": {"multivariate": {"n_configs": 42, "rel_mase_gmean": 0.7653037238032906, "rel_wql_gmean": 0.5154762736658989}, "univariate": {"n_configs": 52, "rel_mase_gmean": 0.7671120022280188, "rel_wql_gmean": 0.5559849583019626}}}, "group_skill_delta": {"term": {"long": -0.0028118547788450465, "medium": 0.0010153106867430983, "short": 0.0034884043282196187}, "domain": {"Econ/Fin": -0.000726744788326017, "Energy": 0.005738175582482352, "Healthcare": -0.022488765656240584, "Nature": 0.007507976928652127, "Sales": 0.003409460636860262, "Transport": 0.0027093200772818626, "Web/CloudOps": -0.003297742576295337}, "frequency": {"A": 0.016163900683017096, "D": -0.0007931358702280011, "H": -0.002322361468276024, "M": 0.013224191202995006, "Q": -0.0017526485316128326, "S": -0.0015567867160495297, "T": 0.0037986872951341066, "W": 0.012007328512064763}, "variates": {"multivariate": 0.0005594858834629957, "univariate": 0.002511851395331721}}}, {"cutoff": "backcast3_evals", "candidate_skill": 0.3784531024596013, "control_skill": 0.3796114863043607, "delta": -0.0011583838447594141, "candidate_checkpoint": "175b5426500fbf958751c72d8cbc424fe3c6ebd0f7df7e299ea3eecbc8760b43", "control_checkpoint": "d7cfcd72c3cb84aa69e447b76c4c3ab98c21b7c600a463f0b805f4b4300baf33", "candidate_eval_seconds": 36.2251250743866, "candidate_groups": {"term": {"long": {"n_configs": 19, "rel_mase_gmean": 0.7705067942044374, "rel_wql_gmean": 0.48161322692338326}, "medium": {"n_configs": 20, "rel_mase_gmean": 0.759134213426568, "rel_wql_gmean": 0.5293183839922552}, "short": {"n_configs": 54, "rel_mase_gmean": 0.7416911299358727, "rel_wql_gmean": 0.5206475286459628}}, "domain": {"Econ/Fin": {"n_configs": 6, "rel_mase_gmean": 0.8402154021998588, "rel_wql_gmean": 0.820635598586589}, "Energy": {"n_configs": 32, "rel_mase_gmean": 0.8474080890197591, "rel_wql_gmean": 0.5630961710671458}, "Healthcare": {"n_configs": 5, "rel_mase_gmean": 0.91872679187321, "rel_wql_gmean": 0.7448084463530121}, "Nature": {"n_configs": 15, "rel_mase_gmean": 0.7321961693969318, "rel_wql_gmean": 0.34666839349487005}, "Sales": {"n_configs": 3, "rel_mase_gmean": 0.756029679783108, "rel_wql_gmean": 0.48252987533333835}, "Transport": {"n_configs": 14, "rel_mase_gmean": 0.5526024792705039, "rel_wql_gmean": 0.459773411900231}, "Web/CloudOps": {"n_configs": 18, "rel_mase_gmean": 0.715879974066899, "rel_wql_gmean": 0.5174947679613005}}, "frequency": {"A": {"n_configs": 1, "rel_mase_gmean": 0.5125269899735034, "rel_wql_gmean": 0.7003686388597969}, "D": {"n_configs": 15, "rel_mase_gmean": 0.7848344909914, "rel_wql_gmean": 0.4487569667849705}, "H": {"n_configs": 29, "rel_mase_gmean": 0.7328269231603544, "rel_wql_gmean": 0.49532272920925546}, "M": {"n_configs": 4, "rel_mase_gmean": 0.9218848841061961, "rel_wql_gmean": 0.9146381774245977}, "Q": {"n_configs": 1, "rel_mase_gmean": 0.7118768180857215, "rel_wql_gmean": 0.7423314941341624}, "S": {"n_configs": 6, "rel_mase_gmean": 0.8741764982192753, "rel_wql_gmean": 0.6233468534856376}, "T": {"n_configs": 29, "rel_mase_gmean": 0.7003490551805068, "rel_wql_gmean": 0.46421798201422226}, "W": {"n_configs": 8, "rel_mase_gmean": 0.8307860597548771, "rel_wql_gmean": 0.6574326656688121}}, "variates": {"multivariate": {"n_configs": 41, "rel_mase_gmean": 0.7762957887700571, "rel_wql_gmean": 0.5218319243914646}, "univariate": {"n_configs": 52, "rel_mase_gmean": 0.7320479158559715, "rel_wql_gmean": 0.5083444084654606}}}, "control_groups": {"term": {"long": {"n_configs": 19, "rel_mase_gmean": 0.7707548491943624, "rel_wql_gmean": 0.4807756564072138}, "medium": {"n_configs": 20, "rel_mase_gmean": 0.7556495370223238, "rel_wql_gmean": 0.5262128188543342}, "short": {"n_configs": 54, "rel_mase_gmean": 0.7385188778105934, "rel_wql_gmean": 0.521816862285778}}, "domain": {"Econ/Fin": {"n_configs": 6, "rel_mase_gmean": 0.8424966280451537, "rel_wql_gmean": 0.8200624057334169}, "Energy": {"n_configs": 32, "rel_mase_gmean": 0.8539019602096222, "rel_wql_gmean": 0.5710802296836778}, "Healthcare": {"n_configs": 5, "rel_mase_gmean": 0.8909828066833559, "rel_wql_gmean": 0.7058215612134101}, "Nature": {"n_configs": 15, "rel_mase_gmean": 0.7140869441964789, "rel_wql_gmean": 0.3512392411927577}, "Sales": {"n_configs": 3, "rel_mase_gmean": 0.7639256455458228, "rel_wql_gmean": 0.48475054428574094}, "Transport": {"n_configs": 14, "rel_mase_gmean": 0.5619385146556419, "rel_wql_gmean": 0.4647057191235835}, "Web/CloudOps": {"n_configs": 18, "rel_mase_gmean": 0.7034743755687752, "rel_wql_gmean": 0.5014537965434586}}, "frequency": {"A": {"n_configs": 1, "rel_mase_gmean": 0.529321887711635, "rel_wql_gmean": 0.7601172944767248}, "D": {"n_configs": 15, "rel_mase_gmean": 0.7813860809923568, "rel_wql_gmean": 0.44632727852138454}, "H": {"n_configs": 29, "rel_mase_gmean": 0.734432190578138, "rel_wql_gmean": 0.4971516938153054}, "M": {"n_configs": 4, "rel_mase_gmean": 0.8903179619577941, "rel_wql_gmean": 0.8686026764605773}, "Q": {"n_configs": 1, "rel_mase_gmean": 0.7179816427620297, "rel_wql_gmean": 0.7506580757820736}, "S": {"n_configs": 6, "rel_mase_gmean": 0.8498477607666359, "rel_wql_gmean": 0.6047885144037575}, "T": {"n_configs": 29, "rel_mase_gmean": 0.7006619380973221, "rel_wql_gmean": 0.46532367960829474}, "W": {"n_configs": 8, "rel_mase_gmean": 0.8246011876416808, "rel_wql_gmean": 0.6716230893689398}}, "variates": {"multivariate": {"n_configs": 41, "rel_mase_gmean": 0.7741503096616409, "rel_wql_gmean": 0.5213427900147267}, "univariate": {"n_configs": 52, "rel_mase_gmean": 0.7291832302879286, "rel_wql_gmean": 0.5084307719061404}}}, "group_skill_delta": {"term": {"long": -0.0004319671542757364, "medium": -0.003314590224807623, "short": -0.0006343985967818266}, "domain": {"Econ/Fin": 0.0008360410532837204, "Energy": 0.0075403689168932475, "Healthcare": -0.03419313533072332, "Nature": -0.0030000249957964353, "Sales": 0.004541316350343161, "Transport": 0.006959237156032971, "Web/CloudOps": -0.014721718787945148}, "frequency": {"A": 0.03517716906085655, "D": -0.002910447148969597, "H": 0.001772029780068407, "M": -0.03886108856919601, "Q": 0.007193388780698751, "S": -0.02126099151756189, "T": 0.0008061515095149074, "W": 0.0051477348289443725}, "variates": {"multivariate": -0.0011780818002488092, "univariate": -0.0011430474119374923}}}], "mean_group_deltas": {"term": {"long": -0.00022967485086172745, "medium": -0.0032698573884525906, "short": -0.0013647497863289448}, "domain": {"Econ/Fin": 0.002008642067475336, "Energy": 0.0028967373728446266, "Healthcare": -0.042876038814778555, "Nature": 0.00405248970721378, "Sales": 0.0013249344558271953, "Transport": 0.002048549992966192, "Web/CloudOps": -0.00576246393337243}, "frequency": {"A": 0.01439436464142213, "D": -0.00457862751573071, "H": -0.0014617037786139875, "M": -0.009455197004905408, "Q": 0.0034620276906007774, "S": -0.006476772640665679, "T": 0.0024473988191954787, "W": -0.009603030582835903}, "variates": {"multivariate": -0.00012011715148180224, "univariate": -0.0026248562692962885}}, "earlier48000": {"positive_cutoffs": 0, "mean_delta": -0.0029597233237900755, "role": "scheduled diagnostic; not original primary"}, "diagnostic72000": {"utc": "2026-10-24T02:46:41.651642+00:00", "experiment": "E134", "run": "visibility_curriculum", "step": 72000, "skill": 0.3691483106579726, "checkpoint_sha256": "7259aa519babae4b078c6aa09eaea37c977d2ac119832ef9c60a2c38107d1dec", "eval_seconds": 36.956098318099976, "comparisons": [{"control": "random_capacity_1024", "control_checkpoint_sha256": "baa71611dff2da76515319d144b23e31e19304772ad4401fc4a18ea03f07a499", "control_skill": 0.36736566458978936, "delta": 0.0017826460681832357, "group_deltas": {"term": {"long": 0.0011030139188973331, "medium": -0.001059093760192309, "short": 0.0032059081300156445}, "domain": {"Econ/Fin": 0.001089843306269267, "Energy": 0.005357800297038806, "Healthcare": 0.006819011530917685, "Nature": 0.006777497031183133, "Sales": 0.005243902297637049, "Transport": 0.003538542725595173, "Web/CloudOps": -0.008104548960352953}, "frequency": {"A": 0.005177014224078347, "D": 0.0032419365209354067, "H": -0.00041909030669928793, "M": 0.016146933530998275, "Q": -0.00211281338227165, "S": 0.0009459285214131752, "T": 0.0034024834603234577, "W": -0.006073083636923049}, "variates": {"multivariate": 0.0030277299835679283, "univariate": 0.0007486535782168513}}}], "decision": "Scheduled learning diagnostic only. Original primary96000 remains unchanged despite the negative48000 diagnostic and positive72000 main score. No72000 substitution or endpoint sweep.", "new_neural_inference": false, "new_training": false}, "measured_training_loop_seconds": 18392.518257110147, "measured_training_process_seconds": 18418.814625374973, "phase_log": "/workspace/research/visibility_curriculum_train_recovery4.log", "four_cutoff_evaluation_seconds": 140.06350421905518, "analysis_seconds": 0.8091423090081662, "optimizer_updates": 0, "new_inference": false, "outcome": "Original source comparison fails. Preserve current publication; do not substitute72000 or change the completed schedule.", "next_allocation": "Already queued E157 seasonal-feature halfLR replaces this allocation after96000; preserve its original recipe."} + +2026-10-24T03:24:49.892801+00:00: E179 preflight {"utc": "2026-10-24T03:24:49.892801+00:00", "experiment": "E179", "status": "CPU passed; GPU audit reuse verified;18-update actual compiled recovery running", "cpu": {"experiment": "E179", "utc": "2026-10-24T03:22:33.672995+00:00", "training_seed": 307, "fixture_seed": 1291, "rows": 8192, "changed_rows": 1896, "changed_fraction": 0.2314453125, "finite_target_points_before": 3566196, "finite_target_points_after": 3026431, "finite_target_points_after512_before": 1078107, "finite_target_points_after512_after": 789689, "model_byte_identical": true, "original_sampler_prefix_verified": true, "original_context_periods_unmasked_values_and_rng_exact": true, "pure_boundary_fixtures_passed": true, "serialized_rng_and_prefetch_exact": true, "initial_checkpoint_sha256": "c9693619ca6277c26fef3b2bde37ff6796bec97b3af9f94588bbc5ddd329ec90", "model_sha256": "44eeb23c037e91b8f67e432615ce46540a7ac4242919785f9c4218de23121499", "sampler_sha256": "b8c74a0434893a6027607c7663ed8fa223d2b9fb4e7a1223b43daebfe9011984", "original_sampler_sha256": "d84032a33937a465acfc9e1b97004ca8d9db221509bb2710e74500703ade4344", "optimizer_updates": 0, "validation_data_read": false, "seconds": 5.621994321001694}, "target_coverage": {"utc": "2026-10-24T03:23:49.019774+00:00", "experiment": "E179", "seed": 307, "rows": 8192, "empty_target_rows_before": 43, "empty_target_rows_after": 45, "newly_empty_rows": 2, "newly_empty_fraction": 0.000244140625, "seconds": 2.7202189238741994, "optimizer_updates": 0, "validation_data_read": false, "interpretation": "Additional descriptive check of existing declared mask. Empty target rows still use the original loss denominator; no formula or fallback changed."}, "gpu_audit_reuse": {"utc": "2026-10-24T03:22:35.246881+00:00", "experiment": "E179", "status": "unchanged architecture/loss/shapes reused; actual changed-mask recovery still required", "initial_checkpoint_sha256": "c9693619ca6277c26fef3b2bde37ff6796bec97b3af9f94588bbc5ddd329ec90", "model_sha256": "44eeb23c037e91b8f67e432615ce46540a7ac4242919785f9c4218de23121499", "maximum_shape_memory": {"batch": 48, "signed_rows": 96, "context": 4096, "horizon": 1024, "loss": 0.6031821966171265, "peak_allocated_mib": 10162.86376953125, "peak_reserved_mib": 10696.0}, "gradient_cosine": 0.9999932382274589, "reused_receipts": [{"path": "/workspace/research/random_capacity_1024_checks.json", "sha256": "4301b68824c84dba065b9d503e13e163ff8847f63340ab43943e4811a51019cd"}, {"path": "/workspace/research/visibility_curriculum_gpu_checks.json", "sha256": "2319923b958ae098cf8112e818961d1d3bf868e4e2daa52f3af8abda7edf4eec"}], "original_measured_seconds": 122.84208060707897, "new_gpu_seconds": 0, "optimizer_updates": 0, "validation_data_read": false, "seconds": 0.5281467500608414}, "supervised_point_fraction_removed": 0.15135595463625662, "after512_point_fraction_removed": 0.2675226113920047, "engineering_receipt": "/workspace/research/supported_horizon_engineering_receipt.json", "session": 9676, "production_queued": false} + +E152 ensemble_gate_refresh_full seed751 training started at 2026-10-24T03:25:53Z, after the declared dependency processes exited; required checkpoint files are present. Settings are unchanged from the declared comparison. + +2026-10-24T03:25:59.496857+00:00: Scheduled main-cutoff learning diagnostic {"utc": "2026-10-24T03:25:59.496857+00:00", "experiment": "E145", "run": "random_capacity_buildings", "step": 16000, "skill": 0.3552175516182433, "checkpoint_sha256": "9a1806680e9c79aed3e50ae2db7f7c51d35fac1d1955c2f7e66d1fb43cc3ca7f", "eval_seconds": 38.43758535385132, "comparisons": [{"control": "random_capacity_full", "control_checkpoint_sha256": "29daf0a92679ccac5de356e78cdbce9ad7d88fa971229948b131194277972687", "control_skill": 0.35154579999964164, "delta": 0.0036717516186016708, "group_deltas": {"term": {"long": -0.0033622146024187005, "medium": -0.0020714407793156475, "short": 0.009000692241030173}, "domain": {"Econ/Fin": -0.00304909251088914, "Energy": -0.007382042671362998, "Healthcare": 0.1001726477766286, "Nature": 0.002107483720511838, "Sales": -0.0030476896215652083, "Transport": 0.003598209696325738, "Web/CloudOps": -0.0007925224774655293}, "frequency": {"A": -0.0007744711440285101, "D": 0.00901110161975116, "H": -0.000909484001866856, "M": 0.0997974253007361, "Q": 0.0006185283379569473, "S": -0.00046211258943673617, "T": -0.008231795078771476, "W": 0.030252563571064428}, "variates": {"multivariate": -0.007476988737507684, "univariate": 0.013015812948639183}}}], "decision": "Scheduled main-cutoff learning diagnostic only. Keep original primary48000/final96000 comparisons at allfour cutoffs; no early selection or package change.", "new_neural_inference": false, "new_training": false}. No additional training or inference. + +2026-10-24T03:27:49.644378+00:00: E179 recovery failure and correction {"declaration": {"utc": "2026-10-24T03:27:49.644378+00:00", "experiment": "E179", "status": "deterministic-kernel correction declared before production", "failure_analysis": "/workspace/research/supported_horizon_recovery_failure_analysis.json", "observed_optimizer_relative_l2": {"uninterrupted_repeat": 0.0018176308745740206, "uninterrupted_vs_restart": 0.001840162052660232}, "original_thresholds": {"model_max_abs": 0.0001, "ema_max_abs": 0.0001, "optimizer_relative_l2": 0.001, "rng_prefetch_ancestry": "exact"}, "correction": "Opt in to torch.use_deterministic_algorithms(True), CUBLAS_WORKSPACE_CONFIG=:4096:8 and cudnn.benchmark=False for E179training only. Preserve initialcheckpoint/model/loss/data/mask/RNG/seed/B48/LR2e-4/original96k. Run new actualmask GPUmaximumshape and compiledgradients, then new18-update fullstate recovery with the same numerical bounds. Inference unchanged.", "kernel_mode_is_part_of_recipe": true, "completed_fixture_updates": 18, "additional_planned_fixture_updates": 18, "production_updates": 0, "no_validation_read": true, "no_tolerance_relaxation": true, "unchanged_audits_reused": ["CPU original stream/mask/prefetch/targetcoverage", "initialcheckpoint and model provenance"], "risks": "A numerical execution change relative to existing E79control. Original repeat and restart both exceed optimizer-moment threshold; no evidence of RNG/prefetch restoration error. Do not launch unless deterministic mode passes allbounds."}, "analysis": {"utc": "2026-10-24T03:27:17.744621+00:00", "experiment": "E179", "original_thresholds": {"model_max_abs": 0.0001, "ema_max_abs": 0.0001, "optimizer_relative_l2": 0.001, "rng_prefetch_ancestry": "exact"}, "comparisons": {"uninterrupted_repeat": {"model": {"tensor_count": 198, "tensor_elements": 146477344, "different_tensors": 198, "maximum_abs_difference": 2.6769930627779104e-07, "sum_squared_difference": 6.135059980116236e-09, "sum_squared_reference": 68350.06798494213, "bitwise_equal": false}, "ema_state": {"tensor_count": 198, "tensor_elements": 146477344, "different_tensors": 198, "maximum_abs_difference": 1.7881393432617188e-07, "sum_squared_difference": 5.206160435148688e-10, "sum_squared_reference": 68350.1056819342, "bitwise_equal": false}, "optimizer": {"tensor_count": 594, "tensor_elements": 292954886, "different_tensors": 396, "maximum_abs_difference": 4.073372110724449e-06, "sum_squared_difference": 1.723366284973381e-08, "sum_squared_reference": 0.00521634383549862, "bitwise_equal": false, "relative_l2_difference": 0.0018176308745740206}, "batch_rng_state": {"tensor_count": 0, "tensor_elements": 0, "different_tensors": 0, "maximum_abs_difference": 0.0, "sum_squared_difference": 0.0, "sum_squared_reference": 0.0, "bitwise_equal": true}, "sampler_rng_state": {"tensor_count": 0, "tensor_elements": 0, "different_tensors": 0, "maximum_abs_difference": 0.0, "sum_squared_difference": 0.0, "sum_squared_reference": 0.0, "bitwise_equal": true}, "sampler_rng_states": {"tensor_count": 0, "tensor_elements": 0, "different_tensors": 0, "maximum_abs_difference": 0.0, "sum_squared_difference": 0.0, "sum_squared_reference": 0.0, "bitwise_equal": true}, "torch_rng_state": {"tensor_count": 1, "tensor_elements": 5056, "different_tensors": 0, "maximum_abs_difference": 0.0, "sum_squared_difference": 0.0, "sum_squared_reference": 0.0, "bitwise_equal": true}, "cuda_rng_state": {"tensor_count": 1, "tensor_elements": 16, "different_tensors": 0, "maximum_abs_difference": 0.0, "sum_squared_difference": 0.0, "sum_squared_reference": 0.0, "bitwise_equal": true}, "prefetched_batch": {"tensor_count": 0, "tensor_elements": 0, "different_tensors": 0, "maximum_abs_difference": 0.0, "sum_squared_difference": 0.0, "sum_squared_reference": 0.0, "bitwise_equal": true}, "parent_checkpoints": {"tensor_count": 0, "tensor_elements": 0, "different_tensors": 0, "maximum_abs_difference": 0.0, "sum_squared_difference": 0.0, "sum_squared_reference": 0.0, "bitwise_equal": true}}, "uninterrupted_vs_restart": {"model": {"tensor_count": 198, "tensor_elements": 146477344, "different_tensors": 198, "maximum_abs_difference": 2.8504746296675876e-07, "sum_squared_difference": 6.120706350231786e-09, "sum_squared_reference": 68350.06798494213, "bitwise_equal": false}, "ema_state": {"tensor_count": 198, "tensor_elements": 146477344, "different_tensors": 198, "maximum_abs_difference": 2.384185791015625e-07, "sum_squared_difference": 5.201070986849788e-10, "sum_squared_reference": 68350.1056819342, "bitwise_equal": false}, "optimizer": {"tensor_count": 594, "tensor_elements": 292954886, "different_tensors": 396, "maximum_abs_difference": 4.466070095077157e-06, "sum_squared_difference": 1.7663564612865308e-08, "sum_squared_reference": 0.00521634383549862, "bitwise_equal": false, "relative_l2_difference": 0.001840162052660232}, "batch_rng_state": {"tensor_count": 0, "tensor_elements": 0, "different_tensors": 0, "maximum_abs_difference": 0.0, "sum_squared_difference": 0.0, "sum_squared_reference": 0.0, "bitwise_equal": true}, "sampler_rng_state": {"tensor_count": 0, "tensor_elements": 0, "different_tensors": 0, "maximum_abs_difference": 0.0, "sum_squared_difference": 0.0, "sum_squared_reference": 0.0, "bitwise_equal": true}, "sampler_rng_states": {"tensor_count": 0, "tensor_elements": 0, "different_tensors": 0, "maximum_abs_difference": 0.0, "sum_squared_difference": 0.0, "sum_squared_reference": 0.0, "bitwise_equal": true}, "torch_rng_state": {"tensor_count": 1, "tensor_elements": 5056, "different_tensors": 0, "maximum_abs_difference": 0.0, "sum_squared_difference": 0.0, "sum_squared_reference": 0.0, "bitwise_equal": true}, "cuda_rng_state": {"tensor_count": 1, "tensor_elements": 16, "different_tensors": 0, "maximum_abs_difference": 0.0, "sum_squared_difference": 0.0, "sum_squared_reference": 0.0, "bitwise_equal": true}, "prefetched_batch": {"tensor_count": 0, "tensor_elements": 0, "different_tensors": 0, "maximum_abs_difference": 0.0, "sum_squared_difference": 0.0, "sum_squared_reference": 0.0, "bitwise_equal": true}, "parent_checkpoints": {"tensor_count": 0, "tensor_elements": 0, "different_tensors": 0, "maximum_abs_difference": 0.0, "sum_squared_difference": 0.0, "sum_squared_reference": 0.0, "bitwise_equal": true}}}, "seconds": 20.390979344025254, "optimizer_updates": 0, "reused_fixture_updates": 18, "training_queued": false, "outcome": "Original recovery audit failed optimizer relative-L2 threshold; record both repeat and restart magnitudes before deciding any implementation correction. No tolerance relaxed and no trajectory rerun."}} + +2026-10-24T03:39:14.230810+00:00: E179 engineering review {"utc": "2026-10-24T03:39:14.230810+00:00", "experiment": "E179", "outcome": "All declared engineering gates passed; production may be queued after E170old192k using the guarded launcher.", "cpu": {"experiment": "E179", "utc": "2026-10-24T03:22:33.672995+00:00", "training_seed": 307, "fixture_seed": 1291, "rows": 8192, "changed_rows": 1896, "changed_fraction": 0.2314453125, "finite_target_points_before": 3566196, "finite_target_points_after": 3026431, "finite_target_points_after512_before": 1078107, "finite_target_points_after512_after": 789689, "model_byte_identical": true, "original_sampler_prefix_verified": true, "original_context_periods_unmasked_values_and_rng_exact": true, "pure_boundary_fixtures_passed": true, "serialized_rng_and_prefetch_exact": true, "initial_checkpoint_sha256": "c9693619ca6277c26fef3b2bde37ff6796bec97b3af9f94588bbc5ddd329ec90", "model_sha256": "44eeb23c037e91b8f67e432615ce46540a7ac4242919785f9c4218de23121499", "sampler_sha256": "b8c74a0434893a6027607c7663ed8fa223d2b9fb4e7a1223b43daebfe9011984", "original_sampler_sha256": "d84032a33937a465acfc9e1b97004ca8d9db221509bb2710e74500703ade4344", "optimizer_updates": 0, "validation_data_read": false, "seconds": 5.621994321001694}, "gpu_deterministic": {"utc": "2026-10-24T03:30:51.927247+00:00", "experiment": "E179", "training_seed": 307, "fixture_seed": 1297, "deterministic_training": true, "cublas_workspace_config": ":4096:8", "initial_checkpoint_sha256": "c9693619ca6277c26fef3b2bde37ff6796bec97b3af9f94588bbc5ddd329ec90", "model_sha256": "44eeb23c037e91b8f67e432615ce46540a7ac4242919785f9c4218de23121499", "sampler_sha256": "b8c74a0434893a6027607c7663ed8fa223d2b9fb4e7a1223b43daebfe9011984", "parameters": 146477344, "temporary_in_memory_head_std": 0.001, "initial_checkpoint_unchanged": true, "maximum_shape_memory": {"batch": 48, "signed_rows": 96, "context": 4096, "horizon": 1024, "loss": 0.3609650135040283, "peak_allocated_mib": 10162.86376953125, "peak_reserved_mib": 10696.0, "includes_adam_and_ema_placeholders": true}, "eager_loss": 0.3017546832561493, "compiled_loss": 0.3017529845237732, "gradient_comparisons": {"all": {"gradient_cosine": 0.9999801663565667, "maximum_abs_difference": 5.7220458984375e-05, "reference_squared_norm": 0.06283602808822358, "actual_squared_norm": 0.06283292473231311}, "encoder": {"gradient_cosine": 0.9999660686184785, "maximum_abs_difference": 4.76837158203125e-07, "reference_squared_norm": 0.00025938073068819883, "actual_squared_norm": 0.0002591738102790345}, "decoder": {"gradient_cosine": 0.9999767538000152, "maximum_abs_difference": 4.76837158203125e-07, "reference_squared_norm": 0.0005089611468392623, "actual_squared_norm": 0.0005087451946293156}}, "compile_comparison_seconds": 40.30458492715843, "lock_wait_seconds": 102.05157312611118, "seconds": 180.24514683708549, "optimizer_updates": 0, "validation_data_read": false}, "target_coverage": {"utc": "2026-10-24T03:23:49.019774+00:00", "experiment": "E179", "seed": 307, "rows": 8192, "empty_target_rows_before": 43, "empty_target_rows_after": 45, "newly_empty_rows": 2, "newly_empty_fraction": 0.000244140625, "seconds": 2.7202189238741994, "optimizer_updates": 0, "validation_data_read": false, "interpretation": "Additional descriptive check of existing declared mask. Empty target rows still use the original loss denominator; no formula or fallback changed."}, "recovery_receipt": "/workspace/research/supported_horizon_recovery_deterministic_checks.json", "recovery_seconds": 425.65320970793255, "engineering_seconds": 612.69375071791, "optimizer_updates": 18, "total_fixture_updates_both_modes": 36, "original_failed_suite_seconds": 211.26027829595841, "fixture_only": true, "deterministic_training": true, "comparisons": {"uninterrupted_repeat": {"model": {"tensor_count": 198, "tensor_elements": 146477344, "different_tensors": 0, "maximum_abs_difference": 0.0, "sum_squared_difference": 0.0, "sum_squared_reference": 68350.06796611904, "bitwise_equal": true}, "ema_state": {"tensor_count": 198, "tensor_elements": 146477344, "different_tensors": 0, "maximum_abs_difference": 0.0, "sum_squared_difference": 0.0, "sum_squared_reference": 68350.10567408004, "bitwise_equal": true}, "optimizer": {"tensor_count": 594, "tensor_elements": 292954886, "different_tensors": 0, "maximum_abs_difference": 0.0, "sum_squared_difference": 0.0, "sum_squared_reference": 0.005216063494123111, "bitwise_equal": true, "relative_l2_difference": 0.0}, "batch_rng_state": {"tensor_count": 0, "tensor_elements": 0, "different_tensors": 0, "maximum_abs_difference": 0.0, "sum_squared_difference": 0.0, "sum_squared_reference": 0.0, "bitwise_equal": true}, "sampler_rng_state": {"tensor_count": 0, "tensor_elements": 0, "different_tensors": 0, "maximum_abs_difference": 0.0, "sum_squared_difference": 0.0, "sum_squared_reference": 0.0, "bitwise_equal": true}, "sampler_rng_states": {"tensor_count": 0, "tensor_elements": 0, "different_tensors": 0, "maximum_abs_difference": 0.0, "sum_squared_difference": 0.0, "sum_squared_reference": 0.0, "bitwise_equal": true}, "torch_rng_state": {"tensor_count": 1, "tensor_elements": 5056, "different_tensors": 0, "maximum_abs_difference": 0.0, "sum_squared_difference": 0.0, "sum_squared_reference": 0.0, "bitwise_equal": true}, "cuda_rng_state": {"tensor_count": 1, "tensor_elements": 16, "different_tensors": 0, "maximum_abs_difference": 0.0, "sum_squared_difference": 0.0, "sum_squared_reference": 0.0, "bitwise_equal": true}, "prefetched_batch": {"tensor_count": 0, "tensor_elements": 0, "different_tensors": 0, "maximum_abs_difference": 0.0, "sum_squared_difference": 0.0, "sum_squared_reference": 0.0, "bitwise_equal": true}, "parent_checkpoints": {"tensor_count": 0, "tensor_elements": 0, "different_tensors": 0, "maximum_abs_difference": 0.0, "sum_squared_difference": 0.0, "sum_squared_reference": 0.0, "bitwise_equal": true}}, "uninterrupted_vs_restart": {"model": {"tensor_count": 198, "tensor_elements": 146477344, "different_tensors": 0, "maximum_abs_difference": 0.0, "sum_squared_difference": 0.0, "sum_squared_reference": 68350.06796611904, "bitwise_equal": true}, "ema_state": {"tensor_count": 198, "tensor_elements": 146477344, "different_tensors": 0, "maximum_abs_difference": 0.0, "sum_squared_difference": 0.0, "sum_squared_reference": 68350.10567408004, "bitwise_equal": true}, "optimizer": {"tensor_count": 594, "tensor_elements": 292954886, "different_tensors": 0, "maximum_abs_difference": 0.0, "sum_squared_difference": 0.0, "sum_squared_reference": 0.005216063494123111, "bitwise_equal": true, "relative_l2_difference": 0.0}, "batch_rng_state": {"tensor_count": 0, "tensor_elements": 0, "different_tensors": 0, "maximum_abs_difference": 0.0, "sum_squared_difference": 0.0, "sum_squared_reference": 0.0, "bitwise_equal": true}, "sampler_rng_state": {"tensor_count": 0, "tensor_elements": 0, "different_tensors": 0, "maximum_abs_difference": 0.0, "sum_squared_difference": 0.0, "sum_squared_reference": 0.0, "bitwise_equal": true}, "sampler_rng_states": {"tensor_count": 0, "tensor_elements": 0, "different_tensors": 0, "maximum_abs_difference": 0.0, "sum_squared_difference": 0.0, "sum_squared_reference": 0.0, "bitwise_equal": true}, "torch_rng_state": {"tensor_count": 1, "tensor_elements": 5056, "different_tensors": 0, "maximum_abs_difference": 0.0, "sum_squared_difference": 0.0, "sum_squared_reference": 0.0, "bitwise_equal": true}, "cuda_rng_state": {"tensor_count": 1, "tensor_elements": 16, "different_tensors": 0, "maximum_abs_difference": 0.0, "sum_squared_difference": 0.0, "sum_squared_reference": 0.0, "bitwise_equal": true}, "prefetched_batch": {"tensor_count": 0, "tensor_elements": 0, "different_tensors": 0, "maximum_abs_difference": 0.0, "sum_squared_difference": 0.0, "sum_squared_reference": 0.0, "bitwise_equal": true}, "parent_checkpoints": {"tensor_count": 0, "tensor_elements": 0, "different_tensors": 0, "maximum_abs_difference": 0.0, "sum_squared_difference": 0.0, "sum_squared_reference": 0.0, "bitwise_equal": true}}}, "scientific_scope": "No validation training or candidate scores. Fixture weights are never production initializations; original own untrained E79initial and96k schedule remain fixed. Numerical tolerances were not relaxed."} + +2026-10-24T03:39:51.479820+00:00: E179 queued after successful deterministic correction {"utc": "2026-10-24T03:39:51.479820+00:00", "experiment": "E179", "status": "all audits passed; production queued after E170old192k", "launch": {"utc": "2026-10-24T03:39:14.848013+00:00", "pid": 23406, "name": "random_capacity_supported_horizon", "queue_pid": 23407, "watch_pid": 23408, "comparison_pid": 23409, "wait_pid": 17750, "allocation_after": "duration_old_low", "allocation_after_step": 192000, "command": ["python3", "/workspace/research/recovery/train.py", "--code-dir", "/workspace/research/random_capacity_supported_horizon", "--packed", "/workspace/research/packed_sample", "--source-weights-from", "/workspace/research/packed_sample", "--out", "/workspace/research/runs/random_capacity_supported_horizon", "--initialize-from", "/workspace/research/random_capacity_1024_initial.pt", "--steps", "96000", "--batch", "48", "--lr", ".0002", "--seed", "307", "--loss-mode", "paired", "--compile-loss", "--deterministic-training", "--stop-file", "/workspace/research/random_capacity_supported_horizon.stop"], "initial_checkpoint_sha256": "c9693619ca6277c26fef3b2bde37ff6796bec97b3af9f94588bbc5ddd329ec90"}, "persistent_tool_session": 50893, "initial_checkpoint_sha256": "c9693619ca6277c26fef3b2bde37ff6796bec97b3af9f94588bbc5ddd329ec90", "source_control": "E79", "primary": 48000, "final": 96000, "allfour_cutoffs": true, "deterministic_training": true, "no_fixture_warmstart": true} + +2026-10-24T03:39:51.553725+00:00: Scheduled main-cutoff learning diagnostic {"utc": "2026-10-24T03:39:51.553725+00:00", "experiment": "E137", "run": "random_capacity_deep", "step": 24000, "skill": 0.35778869455925344, "checkpoint_sha256": "a95a0456829626d588826a1b20b5d43b2d1fba34cacf026eedc351b58de0b318", "eval_seconds": 44.11553955078125, "comparisons": [{"control": "random_capacity_1024", "control_checkpoint_sha256": "e03ce08a9c1c357bce9d0aca3871c8817627cc660d16706cd85fddba9b5fe5eb", "control_skill": 0.35449384808212614, "delta": 0.0032948464771273, "group_deltas": {"term": {"long": 0.00805817135463227, "medium": -0.00012411973567671986, "short": 0.002753290139756781}, "domain": {"Econ/Fin": 0.0022300800176543456, "Energy": 0.0029358409699262733, "Healthcare": -0.02235829332815953, "Nature": 0.013398091872588891, "Sales": 0.006564866717759799, "Transport": 0.0026418198187763142, "Web/CloudOps": 0.002171723625294164}, "frequency": {"A": -0.00925914302652231, "D": 0.023324319171485475, "H": -0.0002681308765579704, "M": 0.020841218546745477, "Q": -0.005827796358737203, "S": 0.00031446011245606087, "T": 0.0041052422057419324, "W": -0.030486466725549888}, "variates": {"multivariate": 0.0040309649367740175, "univariate": 0.0026764382080569638}}}], "decision": "Scheduled main-cutoff learning diagnostic only; original primary48000/final96000 allfour-cutoff selection remains. No checkpoint substitution or package change.", "new_neural_inference": false, "new_training": false}. No additional training or inference. + +## E152 ensemble_gate_full 12000 valid_screen +- Checkpoint SHA-256: `940882ad4c2d597d6ac322aa48c302f6daf463bae58b8601c13dde1cea7d0202`. +- Evaluation: 97 configurations, 9473 instances, 0 failed configurations; 100.01734141493216 seconds. +- Overall skill 0.388879; relative MASE 0.731989; relative WQL 0.510212. +- term skill: long=0.4079, medium=0.4117, short=0.3724. +- domain skill: Econ/Fin=0.1513, Energy=0.2474, Healthcare=0.4830, Nature=0.4451, Sales=0.3427, Transport=0.4756, Web/CloudOps=0.5082. +- frequency skill: A=0.3821, D=0.3765, H=0.4035, M=0.1116, Q=0.2021, S=0.4248, T=0.4479, W=0.2432. +- variates skill: multivariate=0.4011, univariate=0.3790. +- Outcome: Declared expert-version/corpus-coverage factorial. Only6340gateparameters trained; all four immutable experts forecast every instance. Source/control/current comparisons precede any full replay. + +## E152 ensemble_gate_full 12000 valid_backcast +- Checkpoint SHA-256: `940882ad4c2d597d6ac322aa48c302f6daf463bae58b8601c13dde1cea7d0202`. +- Evaluation: 97 configurations, 9330 instances, 0 failed configurations; 104.65708900406025 seconds. +- Overall skill 0.344406; relative MASE 0.788455; relative WQL 0.545120. +- term skill: long=0.4039, medium=0.3627, short=0.3128. +- domain skill: Econ/Fin=0.1828, Energy=0.2355, Healthcare=0.3961, Nature=0.3829, Sales=0.4078, Transport=0.3783, Web/CloudOps=0.4556. +- frequency skill: A=0.3287, D=0.3620, H=0.3776, M=0.1964, Q=0.2351, S=0.3454, T=0.3400, W=0.2903. +- variates skill: multivariate=0.3617, univariate=0.3303. +- Outcome: Declared expert-version/corpus-coverage factorial. Only6340gateparameters trained; all four immutable experts forecast every instance. Source/control/current comparisons precede any full replay. + +## E152 ensemble_gate_full 12000 valid_backcast2 +- Checkpoint SHA-256: `940882ad4c2d597d6ac322aa48c302f6daf463bae58b8601c13dde1cea7d0202`. +- Evaluation: 94 configurations, 8934 instances, 0 failed configurations; 102.47916345694102 seconds. +- Overall skill 0.369109; relative MASE 0.759626; relative WQL 0.523973. +- term skill: long=0.3726, medium=0.3966, short=0.3569. +- domain skill: Econ/Fin=0.1327, Energy=0.2426, Healthcare=0.3573, Nature=0.4844, Sales=0.5580, Transport=0.4277, Web/CloudOps=0.4438. +- frequency skill: A=0.3424, D=0.4340, H=0.3995, M=0.1767, Q=0.1556, S=0.2885, T=0.3689, W=0.2872. +- variates skill: multivariate=0.3703, univariate=0.3682. +- Outcome: Declared expert-version/corpus-coverage factorial. Only6340gateparameters trained; all four immutable experts forecast every instance. Source/control/current comparisons precede any full replay. + +## E152 ensemble_gate_full 12000 valid_backcast3 +- Checkpoint SHA-256: `940882ad4c2d597d6ac322aa48c302f6daf463bae58b8601c13dde1cea7d0202`. +- Evaluation: 93 configurations, 8812 instances, 0 failed configurations; 103.42475243308581 seconds. +- Overall skill 0.391155; relative MASE 0.737582; relative WQL 0.502578. +- term skill: long=0.3972, medium=0.3702, short=0.3966. +- domain skill: Econ/Fin=0.1932, Energy=0.3194, Healthcare=0.2360, Nature=0.5043, Sales=0.4033, Transport=0.5127, Web/CloudOps=0.3955. +- frequency skill: A=0.3603, D=0.4442, H=0.4077, M=0.1469, Q=0.2609, S=0.2854, T=0.4332, W=0.2484. +- variates skill: multivariate=0.3737, univariate=0.4046. +- Outcome: Declared expert-version/corpus-coverage factorial. Only6340gateparameters trained; all four immutable experts forecast every instance. Source/control/current comparisons precede any full replay. + +E152 ensemble_gate_full vs ensemble_gate at12000: {"label": "E152 ensemble_gate_full vs ensemble_gate at12000", "utc": "2026-10-24T03:40:15.220036+00:00", "candidate": "ensemble_gate_full_ema12000", "control": "ensemble_gate_ema12000", "rows": [{"cutoff": "evals", "candidate_skill": 0.3888785195622064, "control_skill": 0.38876599429759673, "delta": 0.00011252526460969747, "candidate_checkpoint": "940882ad4c2d597d6ac322aa48c302f6daf463bae58b8601c13dde1cea7d0202", "control_checkpoint": "5ae58d104309db60a53cca11cbbceb7ff8f587b6e32b60888d22a37e9b021dfe", "candidate_eval_seconds": 100.01734141493216, "candidate_groups": {"term": {"long": {"n_configs": 21, "rel_mase_gmean": 0.7367056196539347, "rel_wql_gmean": 0.4758465924419261}, "medium": {"n_configs": 21, "rel_mase_gmean": 0.7061466145592121, "rel_wql_gmean": 0.4900805146886638}, "short": {"n_configs": 55, "rel_mase_gmean": 0.740286529985021, "rel_wql_gmean": 0.5320941003529341}}, "domain": {"Econ/Fin": {"n_configs": 6, "rel_mase_gmean": 0.8617641666042647, "rel_wql_gmean": 0.835809960666591}, "Energy": {"n_configs": 32, "rel_mase_gmean": 0.8918374029329179, "rel_wql_gmean": 0.6350611387648494}, "Healthcare": {"n_configs": 5, "rel_mase_gmean": 0.5427493910772643, "rel_wql_gmean": 0.49237742572571297}, "Nature": {"n_configs": 15, "rel_mase_gmean": 0.7956598016440709, "rel_wql_gmean": 0.38694499430499435}, "Sales": {"n_configs": 4, "rel_mase_gmean": 0.8425370044878073, "rel_wql_gmean": 0.5128481312749973}, "Transport": {"n_configs": 15, "rel_mase_gmean": 0.6346472390821905, "rel_wql_gmean": 0.43326170224691163}, "Web/CloudOps": {"n_configs": 20, "rel_mase_gmean": 0.5566238020677944, "rel_wql_gmean": 0.43459054780543294}}, "frequency": {"A": {"n_configs": 1, "rel_mase_gmean": 0.6079417586767846, "rel_wql_gmean": 0.6279307144750732}, "D": {"n_configs": 15, "rel_mase_gmean": 0.7500432325716834, "rel_wql_gmean": 0.518325563832828}, "H": {"n_configs": 31, "rel_mase_gmean": 0.7257928278311505, "rel_wql_gmean": 0.4902214689748399}, "M": {"n_configs": 5, "rel_mase_gmean": 0.9680214453190981, "rel_wql_gmean": 0.8152382020695239}, "Q": {"n_configs": 1, "rel_mase_gmean": 0.7689316461442948, "rel_wql_gmean": 0.8280203302784913}, "S": {"n_configs": 6, "rel_mase_gmean": 0.6564645170713088, "rel_wql_gmean": 0.5040535752207137}, "T": {"n_configs": 30, "rel_mase_gmean": 0.6811333317822665, "rel_wql_gmean": 0.44757659066034483}, "W": {"n_configs": 8, "rel_mase_gmean": 0.8775220492443025, "rel_wql_gmean": 0.6526285907850482}}, "variates": {"multivariate": {"n_configs": 43, "rel_mase_gmean": 0.7061065691109331, "rel_wql_gmean": 0.5079475242956122}, "univariate": {"n_configs": 54, "rel_mase_gmean": 0.7532764449396463, "rel_wql_gmean": 0.5120217981316655}}}, "control_groups": {"term": {"long": {"n_configs": 21, "rel_mase_gmean": 0.7365977614717659, "rel_wql_gmean": 0.47582331053701155}, "medium": {"n_configs": 21, "rel_mase_gmean": 0.7061071446542071, "rel_wql_gmean": 0.49009387634194207}, "short": {"n_configs": 55, "rel_mase_gmean": 0.7405503887929451, "rel_wql_gmean": 0.532295572407821}}, "domain": {"Econ/Fin": {"n_configs": 6, "rel_mase_gmean": 0.8619712033731046, "rel_wql_gmean": 0.8360652826681829}, "Energy": {"n_configs": 32, "rel_mase_gmean": 0.8917990786476028, "rel_wql_gmean": 0.6350603224400466}, "Healthcare": {"n_configs": 5, "rel_mase_gmean": 0.5434876190719932, "rel_wql_gmean": 0.49308959634552224}, "Nature": {"n_configs": 15, "rel_mase_gmean": 0.7960112811139666, "rel_wql_gmean": 0.38716249511301304}, "Sales": {"n_configs": 4, "rel_mase_gmean": 0.8424299418268225, "rel_wql_gmean": 0.5125742701697718}, "Transport": {"n_configs": 15, "rel_mase_gmean": 0.6346223105732777, "rel_wql_gmean": 0.4332312457024731}, "Web/CloudOps": {"n_configs": 20, "rel_mase_gmean": 0.5567062412657278, "rel_wql_gmean": 0.4347233367578228}}, "frequency": {"A": {"n_configs": 1, "rel_mase_gmean": 0.6101039280438315, "rel_wql_gmean": 0.6292910688977681}, "D": {"n_configs": 15, "rel_mase_gmean": 0.7503809430821773, "rel_wql_gmean": 0.5185216007691995}, "H": {"n_configs": 31, "rel_mase_gmean": 0.7258026917232355, "rel_wql_gmean": 0.4902627677729598}, "M": {"n_configs": 5, "rel_mase_gmean": 0.9685689529422883, "rel_wql_gmean": 0.8151865289550453}, "Q": {"n_configs": 1, "rel_mase_gmean": 0.7689190063510615, "rel_wql_gmean": 0.8275202114903546}, "S": {"n_configs": 6, "rel_mase_gmean": 0.6567563259947116, "rel_wql_gmean": 0.5041683422067675}, "T": {"n_configs": 30, "rel_mase_gmean": 0.6811976372671397, "rel_wql_gmean": 0.4477430022460635}, "W": {"n_configs": 8, "rel_mase_gmean": 0.8771182893674765, "rel_wql_gmean": 0.6524916887581507}}, "variates": {"multivariate": {"n_configs": 43, "rel_mase_gmean": 0.7061203660151012, "rel_wql_gmean": 0.5080890958691652}, "univariate": {"n_configs": 54, "rel_mase_gmean": 0.7534788981966656, "rel_wql_gmean": 0.512101293838852}}}, "group_skill_delta": {"term": {"long": -5.7827218075345854e-05, "medium": -8.421848597617299e-06, "short": 0.0002306702046642739}, "domain": {"Econ/Fin": 0.00023157511770144357, "Energy": -1.6653816457212756e-05, "Healthcare": 0.0007254242473579975, "Nature": 0.00027849841821048216, "Sales": -0.00021728760640149503, "Transport": -2.8729287127049474e-05, "Web/CloudOps": 0.0001115606719421236}, "frequency": {"A": 0.0017678285992570597, "D": 0.00025827885115814464, "H": 2.9178588599187982e-05, "M": 0.00022302573758981037, "Q": -0.000247564650571519, "S": 0.00019333365989249174, "T": 0.00012870292706024244, "W": -0.0002534788566005419}, "variates": {"multivariate": 8.930464520462422e-05, "univariate": 0.00013166687119769982}}}, {"cutoff": "backcast_evals", "candidate_skill": 0.34440639469691814, "control_skill": 0.3443602645537439, "delta": 4.613014317422781e-05, "candidate_checkpoint": "940882ad4c2d597d6ac322aa48c302f6daf463bae58b8601c13dde1cea7d0202", "control_checkpoint": "5ae58d104309db60a53cca11cbbceb7ff8f587b6e32b60888d22a37e9b021dfe", "candidate_eval_seconds": 104.65708900406025, "candidate_groups": {"term": {"long": {"n_configs": 21, "rel_mase_gmean": 0.7686080887722753, "rel_wql_gmean": 0.4623537420150528}, "medium": {"n_configs": 21, "rel_mase_gmean": 0.76794162966205, "rel_wql_gmean": 0.5288821788684663}, "short": {"n_configs": 55, "rel_mase_gmean": 0.8042224409173934, "rel_wql_gmean": 0.5872372375258892}}, "domain": {"Econ/Fin": {"n_configs": 6, "rel_mase_gmean": 0.85076832780128, "rel_wql_gmean": 0.7850491313889577}, "Energy": {"n_configs": 32, "rel_mase_gmean": 0.8828350988110014, "rel_wql_gmean": 0.6619798649732286}, "Healthcare": {"n_configs": 5, "rel_mase_gmean": 0.6508656058567431, "rel_wql_gmean": 0.5602511211112758}, "Nature": {"n_configs": 15, "rel_mase_gmean": 0.9053675802909432, "rel_wql_gmean": 0.42066825787864276}, "Sales": {"n_configs": 4, "rel_mase_gmean": 0.7198950144554782, "rel_wql_gmean": 0.48707913249079243}, "Transport": {"n_configs": 15, "rel_mase_gmean": 0.732271616072037, "rel_wql_gmean": 0.5278066211866604}, "Web/CloudOps": {"n_configs": 20, "rel_mase_gmean": 0.65474030582191, "rel_wql_gmean": 0.452626648687933}}, "frequency": {"A": {"n_configs": 1, "rel_mase_gmean": 0.6355082524281209, "rel_wql_gmean": 0.7090507250837349}, "D": {"n_configs": 15, "rel_mase_gmean": 0.8288642013008899, "rel_wql_gmean": 0.49104581261818475}, "H": {"n_configs": 31, "rel_mase_gmean": 0.7659495531325249, "rel_wql_gmean": 0.5057159664889603}, "M": {"n_configs": 5, "rel_mase_gmean": 0.8400862643495179, "rel_wql_gmean": 0.7686373843027562}, "Q": {"n_configs": 1, "rel_mase_gmean": 0.7558798490928225, "rel_wql_gmean": 0.7739905165611213}, "S": {"n_configs": 6, "rel_mase_gmean": 0.8491352671328372, "rel_wql_gmean": 0.5045827917803475}, "T": {"n_configs": 30, "rel_mase_gmean": 0.7610693915769742, "rel_wql_gmean": 0.5722983955391443}, "W": {"n_configs": 8, "rel_mase_gmean": 0.8610305401568258, "rel_wql_gmean": 0.5850458236741638}}, "variates": {"multivariate": {"n_configs": 43, "rel_mase_gmean": 0.7785837408727629, "rel_wql_gmean": 0.5232934726518866}, "univariate": {"n_configs": 54, "rel_mase_gmean": 0.7964057708563274, "rel_wql_gmean": 0.5631499368088492}}}, "control_groups": {"term": {"long": {"n_configs": 21, "rel_mase_gmean": 0.7688054523761951, "rel_wql_gmean": 0.4623496840596185}, "medium": {"n_configs": 21, "rel_mase_gmean": 0.7680721037346657, "rel_wql_gmean": 0.5289916523454897}, "short": {"n_configs": 55, "rel_mase_gmean": 0.8043273414604368, "rel_wql_gmean": 0.587166294915086}}, "domain": {"Econ/Fin": {"n_configs": 6, "rel_mase_gmean": 0.8511022246024794, "rel_wql_gmean": 0.785128735422025}, "Energy": {"n_configs": 32, "rel_mase_gmean": 0.8832051411168804, "rel_wql_gmean": 0.6622071578357404}, "Healthcare": {"n_configs": 5, "rel_mase_gmean": 0.6505975104644636, "rel_wql_gmean": 0.5593079225242267}, "Nature": {"n_configs": 15, "rel_mase_gmean": 0.9049801612151203, "rel_wql_gmean": 0.42044177344443956}, "Sales": {"n_configs": 4, "rel_mase_gmean": 0.7199768643833949, "rel_wql_gmean": 0.4871936934826317}, "Transport": {"n_configs": 15, "rel_mase_gmean": 0.7320038020790084, "rel_wql_gmean": 0.5274235196996094}, "Web/CloudOps": {"n_configs": 20, "rel_mase_gmean": 0.6551948774214172, "rel_wql_gmean": 0.45290684445581997}}, "frequency": {"A": {"n_configs": 1, "rel_mase_gmean": 0.6367776857138926, "rel_wql_gmean": 0.7093042266491602}, "D": {"n_configs": 15, "rel_mase_gmean": 0.8289094279572292, "rel_wql_gmean": 0.4908829008827018}, "H": {"n_configs": 31, "rel_mase_gmean": 0.765737372210673, "rel_wql_gmean": 0.5054793167986653}, "M": {"n_configs": 5, "rel_mase_gmean": 0.8393585108325342, "rel_wql_gmean": 0.7689247373261452}, "Q": {"n_configs": 1, "rel_mase_gmean": 0.7554614998266875, "rel_wql_gmean": 0.7732403821233665}, "S": {"n_configs": 6, "rel_mase_gmean": 0.8492769495848378, "rel_wql_gmean": 0.5048283597063994}, "T": {"n_configs": 30, "rel_mase_gmean": 0.7615827211816337, "rel_wql_gmean": 0.5725010493702674}, "W": {"n_configs": 8, "rel_mase_gmean": 0.861629788311694, "rel_wql_gmean": 0.5852072490098833}}, "variates": {"multivariate": {"n_configs": 43, "rel_mase_gmean": 0.7789725827874164, "rel_wql_gmean": 0.5234037463113075}, "univariate": {"n_configs": 54, "rel_mase_gmean": 0.7963270649080393, "rel_wql_gmean": 0.5630295689459095}}}, "group_skill_delta": {"term": {"long": 7.391577818793849e-05, "medium": 0.00012009621415287608, "short": 3.303470573867706e-06}, "domain": {"Econ/Fin": 0.00020179656768748444, "Energy": 0.00029145685871145854, "Healthcare": -0.0006327977364651849, "Nature": -0.00029817292912226456, "Sales": 0.00010329920566154449, "Transport": -0.00033931801589881516, "Web/CloudOps": 0.00035747463105617605}, "frequency": {"A": 0.0007902091464631056, "D": -8.843511444545094e-05, "H": -0.00023182782694408655, "M": -0.00019800783325718552, "Q": -0.0005823353491273275, "S": 0.00021388154772161716, "T": 0.0003394101198916921, "W": 0.00034488122367470897}, "variates": {"multivariate": 0.0002266386563196665, "univariate": -0.00010466383448959338}}}, {"cutoff": "backcast2_evals", "candidate_skill": 0.369108625195106, "control_skill": 0.3690940997454023, "delta": 1.4525449703706172e-05, "candidate_checkpoint": "940882ad4c2d597d6ac322aa48c302f6daf463bae58b8601c13dde1cea7d0202", "control_checkpoint": "5ae58d104309db60a53cca11cbbceb7ff8f587b6e32b60888d22a37e9b021dfe", "candidate_eval_seconds": 102.47916345694102, "candidate_groups": {"term": {"long": {"n_configs": 19, "rel_mase_gmean": 0.7906510497713848, "rel_wql_gmean": 0.49791951238582316}, "medium": {"n_configs": 21, "rel_mase_gmean": 0.7463794962702305, "rel_wql_gmean": 0.48788049332664457}, "short": {"n_configs": 54, "rel_mase_gmean": 0.7541443451397051, "rel_wql_gmean": 0.548474524576973}}, "domain": {"Econ/Fin": {"n_configs": 6, "rel_mase_gmean": 0.859694183814595, "rel_wql_gmean": 0.8749239017347893}, "Energy": {"n_configs": 32, "rel_mase_gmean": 0.8952064063651944, "rel_wql_gmean": 0.6408885753161933}, "Healthcare": {"n_configs": 5, "rel_mase_gmean": 0.6928588980026767, "rel_wql_gmean": 0.5961572391849415}, "Nature": {"n_configs": 15, "rel_mase_gmean": 0.7424495459695073, "rel_wql_gmean": 0.35803815165236247}, "Sales": {"n_configs": 3, "rel_mase_gmean": 0.5555994142466699, "rel_wql_gmean": 0.35165734086394285}, "Transport": {"n_configs": 14, "rel_mase_gmean": 0.6616934402596565, "rel_wql_gmean": 0.4949836362719981}, "Web/CloudOps": {"n_configs": 19, "rel_mase_gmean": 0.6721691450565358, "rel_wql_gmean": 0.4603022006794101}}, "frequency": {"A": {"n_configs": 1, "rel_mase_gmean": 0.5779821065752055, "rel_wql_gmean": 0.7481491862476741}, "D": {"n_configs": 15, "rel_mase_gmean": 0.7225932712224514, "rel_wql_gmean": 0.443341161452269}, "H": {"n_configs": 30, "rel_mase_gmean": 0.7483595328629193, "rel_wql_gmean": 0.4819259327753775}, "M": {"n_configs": 4, "rel_mase_gmean": 0.8007726643055402, "rel_wql_gmean": 0.8465387976993543}, "Q": {"n_configs": 1, "rel_mase_gmean": 0.8242564837866809, "rel_wql_gmean": 0.8649971254852531}, "S": {"n_configs": 6, "rel_mase_gmean": 0.8991595045192148, "rel_wql_gmean": 0.5630796181386432}, "T": {"n_configs": 29, "rel_mase_gmean": 0.7475095739937796, "rel_wql_gmean": 0.5328787962105882}, "W": {"n_configs": 8, "rel_mase_gmean": 0.8221882245569265, "rel_wql_gmean": 0.6178992805102338}}, "variates": {"multivariate": {"n_configs": 42, "rel_mase_gmean": 0.7760395777106648, "rel_wql_gmean": 0.5110039298959804}, "univariate": {"n_configs": 52, "rel_mase_gmean": 0.746623470732352, "rel_wql_gmean": 0.5346883395474106}}}, "control_groups": {"term": {"long": {"n_configs": 19, "rel_mase_gmean": 0.7905843117969271, "rel_wql_gmean": 0.49786500904722053}, "medium": {"n_configs": 21, "rel_mase_gmean": 0.7465989159970967, "rel_wql_gmean": 0.4878439932977569}, "short": {"n_configs": 54, "rel_mase_gmean": 0.7541243641882015, "rel_wql_gmean": 0.5485237002837723}}, "domain": {"Econ/Fin": {"n_configs": 6, "rel_mase_gmean": 0.8600470933942402, "rel_wql_gmean": 0.8750749999999478}, "Energy": {"n_configs": 32, "rel_mase_gmean": 0.8953120273068197, "rel_wql_gmean": 0.6410637699465395}, "Healthcare": {"n_configs": 5, "rel_mase_gmean": 0.693123924324533, "rel_wql_gmean": 0.5959717650385814}, "Nature": {"n_configs": 15, "rel_mase_gmean": 0.7416972081272143, "rel_wql_gmean": 0.3580121136767604}, "Sales": {"n_configs": 3, "rel_mase_gmean": 0.5556945109020246, "rel_wql_gmean": 0.3512784662014784}, "Transport": {"n_configs": 14, "rel_mase_gmean": 0.6615770033022241, "rel_wql_gmean": 0.4946057221073404}, "Web/CloudOps": {"n_configs": 19, "rel_mase_gmean": 0.6725989706828684, "rel_wql_gmean": 0.46049560252990274}}, "frequency": {"A": {"n_configs": 1, "rel_mase_gmean": 0.5789122192013664, "rel_wql_gmean": 0.7493174850062028}, "D": {"n_configs": 15, "rel_mase_gmean": 0.7227737164316042, "rel_wql_gmean": 0.4433096525869345}, "H": {"n_configs": 30, "rel_mase_gmean": 0.7484865982331981, "rel_wql_gmean": 0.4817994144590065}, "M": {"n_configs": 4, "rel_mase_gmean": 0.7972026402584701, "rel_wql_gmean": 0.8460833161801249}, "Q": {"n_configs": 1, "rel_mase_gmean": 0.823758485578255, "rel_wql_gmean": 0.8637555975720498}, "S": {"n_configs": 6, "rel_mase_gmean": 0.8998648063552365, "rel_wql_gmean": 0.5633403623010557}, "T": {"n_configs": 29, "rel_mase_gmean": 0.7475997077631884, "rel_wql_gmean": 0.53299962927887}, "W": {"n_configs": 8, "rel_mase_gmean": 0.8224932588467433, "rel_wql_gmean": 0.6181162859705895}}, "variates": {"multivariate": {"n_configs": 42, "rel_mase_gmean": 0.7763676434664911, "rel_wql_gmean": 0.5111393153827358}, "univariate": {"n_configs": 52, "rel_mase_gmean": 0.7464136787719601, "rel_wql_gmean": 0.5345861860037492}}}, "group_skill_delta": {"term": {"long": -6.0821241135933235e-05, "medium": 6.611667690437084e-05, "short": 2.0310621586472344e-05}, "domain": {"Econ/Fin": 0.00025289347945378626, "Energy": 0.00014821026091738077, "Healthcare": 2.2903874052571105e-05, "Nature": -0.000280029276081728, "Sales": -0.00020037302237446708, "Transport": -0.0002688501887795347, "Web/CloudOps": 0.0002946981342368815}, "frequency": {"A": 0.0010425423501950748, "D": 5.054992274344805e-05, "H": -2.7859663555118708e-05, "M": -0.0020583968956339183, "Q": -0.0008611204423869534, "S": 0.00044380700244417426, "T": 0.00010960651913205499, "W": 0.00025737890698662724}, "variates": {"multivariate": 0.00021652543508832167, "univariate": -0.00014912551709744815}}}, {"cutoff": "backcast3_evals", "candidate_skill": 0.39115459977794964, "control_skill": 0.3911302942468521, "delta": 2.4305531097557065e-05, "candidate_checkpoint": "940882ad4c2d597d6ac322aa48c302f6daf463bae58b8601c13dde1cea7d0202", "control_checkpoint": "5ae58d104309db60a53cca11cbbceb7ff8f587b6e32b60888d22a37e9b021dfe", "candidate_eval_seconds": 103.42475243308581, "candidate_groups": {"term": {"long": {"n_configs": 19, "rel_mase_gmean": 0.7647282244063703, "rel_wql_gmean": 0.4752054459775623}, "medium": {"n_configs": 20, "rel_mase_gmean": 0.7592704984522145, "rel_wql_gmean": 0.5224135802327573}, "short": {"n_configs": 54, "rel_mase_gmean": 0.720486318073994, "rel_wql_gmean": 0.5052839220852906}}, "domain": {"Econ/Fin": {"n_configs": 6, "rel_mase_gmean": 0.8166817605869655, "rel_wql_gmean": 0.7970999226217714}, "Energy": {"n_configs": 32, "rel_mase_gmean": 0.8360882345506596, "rel_wql_gmean": 0.554106075624325}, "Healthcare": {"n_configs": 5, "rel_mase_gmean": 0.8524685270866205, "rel_wql_gmean": 0.6847758550590494}, "Nature": {"n_configs": 15, "rel_mase_gmean": 0.7263234391580278, "rel_wql_gmean": 0.33833465074867414}, "Sales": {"n_configs": 3, "rel_mase_gmean": 0.7501575882380057, "rel_wql_gmean": 0.4746424265361404}, "Transport": {"n_configs": 14, "rel_mase_gmean": 0.5374772245780675, "rel_wql_gmean": 0.4417212416580303}, "Web/CloudOps": {"n_configs": 18, "rel_mase_gmean": 0.708048108512586, "rel_wql_gmean": 0.5160721103585284}}, "frequency": {"A": {"n_configs": 1, "rel_mase_gmean": 0.5290084100408494, "rel_wql_gmean": 0.7734716339684943}, "D": {"n_configs": 15, "rel_mase_gmean": 0.7342908552018372, "rel_wql_gmean": 0.4207352791821108}, "H": {"n_configs": 29, "rel_mase_gmean": 0.7258047245658639, "rel_wql_gmean": 0.48337944387793996}, "M": {"n_configs": 4, "rel_mase_gmean": 0.8635492061652983, "rel_wql_gmean": 0.842870427245656}, "Q": {"n_configs": 1, "rel_mase_gmean": 0.715840919224908, "rel_wql_gmean": 0.7630801829982395}, "S": {"n_configs": 6, "rel_mase_gmean": 0.8414986401545326, "rel_wql_gmean": 0.6067601863468725}, "T": {"n_configs": 29, "rel_mase_gmean": 0.7007074551762476, "rel_wql_gmean": 0.45851672405445687}, "W": {"n_configs": 8, "rel_mase_gmean": 0.8318227933833948, "rel_wql_gmean": 0.6792036692568956}}, "variates": {"multivariate": {"n_configs": 41, "rel_mase_gmean": 0.7635623124832405, "rel_wql_gmean": 0.5137905821875577}, "univariate": {"n_configs": 52, "rel_mase_gmean": 0.7177222007432322, "rel_wql_gmean": 0.4939107328007638}}}, "control_groups": {"term": {"long": {"n_configs": 19, "rel_mase_gmean": 0.7644994787796191, "rel_wql_gmean": 0.475168686856866}, "medium": {"n_configs": 20, "rel_mase_gmean": 0.7594270684693935, "rel_wql_gmean": 0.5226076392330724}, "short": {"n_configs": 54, "rel_mase_gmean": 0.7204741885659599, "rel_wql_gmean": 0.5053207566108459}}, "domain": {"Econ/Fin": {"n_configs": 6, "rel_mase_gmean": 0.8170472820054627, "rel_wql_gmean": 0.7971698577475663}, "Energy": {"n_configs": 32, "rel_mase_gmean": 0.8362562312433086, "rel_wql_gmean": 0.5543116383351785}, "Healthcare": {"n_configs": 5, "rel_mase_gmean": 0.852141759919277, "rel_wql_gmean": 0.6842143635111066}, "Nature": {"n_configs": 15, "rel_mase_gmean": 0.725380080479915, "rel_wql_gmean": 0.33816795534011324}, "Sales": {"n_configs": 3, "rel_mase_gmean": 0.7503432955053887, "rel_wql_gmean": 0.47484644524369024}, "Transport": {"n_configs": 14, "rel_mase_gmean": 0.5376446600324237, "rel_wql_gmean": 0.44179964576520625}, "Web/CloudOps": {"n_configs": 18, "rel_mase_gmean": 0.7082340035397756, "rel_wql_gmean": 0.5162217563946113}}, "frequency": {"A": {"n_configs": 1, "rel_mase_gmean": 0.5302864581478796, "rel_wql_gmean": 0.7728833563449358}, "D": {"n_configs": 15, "rel_mase_gmean": 0.7346096434487994, "rel_wql_gmean": 0.4209853730035232}, "H": {"n_configs": 29, "rel_mase_gmean": 0.7257501768675807, "rel_wql_gmean": 0.483349548126662}, "M": {"n_configs": 4, "rel_mase_gmean": 0.8625534579404655, "rel_wql_gmean": 0.8424007416326724}, "Q": {"n_configs": 1, "rel_mase_gmean": 0.7159931398050025, "rel_wql_gmean": 0.7629550268906894}, "S": {"n_configs": 6, "rel_mase_gmean": 0.8415207088514876, "rel_wql_gmean": 0.6068503311273111}, "T": {"n_configs": 29, "rel_mase_gmean": 0.7007962968429426, "rel_wql_gmean": 0.45871627936942655}, "W": {"n_configs": 8, "rel_mase_gmean": 0.8309243657333543, "rel_wql_gmean": 0.678560347612008}}, "variates": {"multivariate": {"n_configs": 41, "rel_mase_gmean": 0.7635684097891197, "rel_wql_gmean": 0.5139514128751824}, "univariate": {"n_configs": 52, "rel_mase_gmean": 0.7176835988111958, "rel_wql_gmean": 0.49388283158343527}}}, "group_skill_delta": {"term": {"long": -0.00011347855971299836, "medium": 0.0001819096330742953, "short": 1.6912789296386066e-05}, "domain": {"Econ/Fin": 0.0002159377743782276, "Energy": 0.00019463308560596637, "Healthcare": -0.0004596934366166705, "Nature": -0.00044408518537225605, "Sales": 0.00020209974279206122, "Transport": 0.00011913651173461881, "Web/CloudOps": 0.00016699444578083256}, "frequency": {"A": 0.0005286340912771248, "D": 0.0002858496444675396, "H": -4.057434845328167e-05, "M": -0.0007296209120356556, "Q": 1.7958242155891035e-05, "S": 6.244816127687347e-05, "T": 0.00015927218347433492, "W": -0.0007618892430391044}, "variates": {"multivariate": 0.00010052556758455289, "univariate": -3.2828190399514234e-05}}}], "mean_delta": 4.937159714629713e-05, "positive_cutoffs": 4, "outcome": "Fixed factorial contrast; no automatic package, transfer or publication."} + +2026-10-24T03:40:15.234487+00:00: E152 ensemble_gate_full {"step": 12000, "rows": [{"cutoff": "valid_screen", "skill": 0.3888785195622064, "frozen_control_skill": 0.3878507268780589, "delta_frozen": 0.0010277926841475438, "current_skill": 0.3893607757169213, "delta_current": -0.00048225615471486627, "groups": {"term": {"long": {"n_configs": 21, "rel_mase_gmean": 0.7367056196539347, "rel_wql_gmean": 0.4758465924419261}, "medium": {"n_configs": 21, "rel_mase_gmean": 0.7061466145592121, "rel_wql_gmean": 0.4900805146886638}, "short": {"n_configs": 55, "rel_mase_gmean": 0.740286529985021, "rel_wql_gmean": 0.5320941003529341}}, "domain": {"Econ/Fin": {"n_configs": 6, "rel_mase_gmean": 0.8617641666042647, "rel_wql_gmean": 0.835809960666591}, "Energy": {"n_configs": 32, "rel_mase_gmean": 0.8918374029329179, "rel_wql_gmean": 0.6350611387648494}, "Healthcare": {"n_configs": 5, "rel_mase_gmean": 0.5427493910772643, "rel_wql_gmean": 0.49237742572571297}, "Nature": {"n_configs": 15, "rel_mase_gmean": 0.7956598016440709, "rel_wql_gmean": 0.38694499430499435}, "Sales": {"n_configs": 4, "rel_mase_gmean": 0.8425370044878073, "rel_wql_gmean": 0.5128481312749973}, "Transport": {"n_configs": 15, "rel_mase_gmean": 0.6346472390821905, "rel_wql_gmean": 0.43326170224691163}, "Web/CloudOps": {"n_configs": 20, "rel_mase_gmean": 0.5566238020677944, "rel_wql_gmean": 0.43459054780543294}}, "frequency": {"A": {"n_configs": 1, "rel_mase_gmean": 0.6079417586767846, "rel_wql_gmean": 0.6279307144750732}, "D": {"n_configs": 15, "rel_mase_gmean": 0.7500432325716834, "rel_wql_gmean": 0.518325563832828}, "H": {"n_configs": 31, "rel_mase_gmean": 0.7257928278311505, "rel_wql_gmean": 0.4902214689748399}, "M": {"n_configs": 5, "rel_mase_gmean": 0.9680214453190981, "rel_wql_gmean": 0.8152382020695239}, "Q": {"n_configs": 1, "rel_mase_gmean": 0.7689316461442948, "rel_wql_gmean": 0.8280203302784913}, "S": {"n_configs": 6, "rel_mase_gmean": 0.6564645170713088, "rel_wql_gmean": 0.5040535752207137}, "T": {"n_configs": 30, "rel_mase_gmean": 0.6811333317822665, "rel_wql_gmean": 0.44757659066034483}, "W": {"n_configs": 8, "rel_mase_gmean": 0.8775220492443025, "rel_wql_gmean": 0.6526285907850482}}, "variates": {"multivariate": {"n_configs": 43, "rel_mase_gmean": 0.7061065691109331, "rel_wql_gmean": 0.5079475242956122}, "univariate": {"n_configs": 54, "rel_mase_gmean": 0.7532764449396463, "rel_wql_gmean": 0.5120217981316655}}}, "checkpoint_sha256": "940882ad4c2d597d6ac322aa48c302f6daf463bae58b8601c13dde1cea7d0202", "expert_descriptor_sha256": "fa97880dd132b1cdff459be4798f8f360d7df59b13e78026a9d74a95d63df0db", "eval_seconds": 100.01734141493216}, {"cutoff": "valid_backcast", "skill": 0.34440639469691814, "frozen_control_skill": 0.34441110518308204, "delta_frozen": -4.7104861639057916e-06, "current_skill": 0.34590472083989543, "delta_current": -0.001498326142977291, "groups": {"term": {"long": {"n_configs": 21, "rel_mase_gmean": 0.7686080887722753, "rel_wql_gmean": 0.4623537420150528}, "medium": {"n_configs": 21, "rel_mase_gmean": 0.76794162966205, "rel_wql_gmean": 0.5288821788684663}, "short": {"n_configs": 55, "rel_mase_gmean": 0.8042224409173934, "rel_wql_gmean": 0.5872372375258892}}, "domain": {"Econ/Fin": {"n_configs": 6, "rel_mase_gmean": 0.85076832780128, "rel_wql_gmean": 0.7850491313889577}, "Energy": {"n_configs": 32, "rel_mase_gmean": 0.8828350988110014, "rel_wql_gmean": 0.6619798649732286}, "Healthcare": {"n_configs": 5, "rel_mase_gmean": 0.6508656058567431, "rel_wql_gmean": 0.5602511211112758}, "Nature": {"n_configs": 15, "rel_mase_gmean": 0.9053675802909432, "rel_wql_gmean": 0.42066825787864276}, "Sales": {"n_configs": 4, "rel_mase_gmean": 0.7198950144554782, "rel_wql_gmean": 0.48707913249079243}, "Transport": {"n_configs": 15, "rel_mase_gmean": 0.732271616072037, "rel_wql_gmean": 0.5278066211866604}, "Web/CloudOps": {"n_configs": 20, "rel_mase_gmean": 0.65474030582191, "rel_wql_gmean": 0.452626648687933}}, "frequency": {"A": {"n_configs": 1, "rel_mase_gmean": 0.6355082524281209, "rel_wql_gmean": 0.7090507250837349}, "D": {"n_configs": 15, "rel_mase_gmean": 0.8288642013008899, "rel_wql_gmean": 0.49104581261818475}, "H": {"n_configs": 31, "rel_mase_gmean": 0.7659495531325249, "rel_wql_gmean": 0.5057159664889603}, "M": {"n_configs": 5, "rel_mase_gmean": 0.8400862643495179, "rel_wql_gmean": 0.7686373843027562}, "Q": {"n_configs": 1, "rel_mase_gmean": 0.7558798490928225, "rel_wql_gmean": 0.7739905165611213}, "S": {"n_configs": 6, "rel_mase_gmean": 0.8491352671328372, "rel_wql_gmean": 0.5045827917803475}, "T": {"n_configs": 30, "rel_mase_gmean": 0.7610693915769742, "rel_wql_gmean": 0.5722983955391443}, "W": {"n_configs": 8, "rel_mase_gmean": 0.8610305401568258, "rel_wql_gmean": 0.5850458236741638}}, "variates": {"multivariate": {"n_configs": 43, "rel_mase_gmean": 0.7785837408727629, "rel_wql_gmean": 0.5232934726518866}, "univariate": {"n_configs": 54, "rel_mase_gmean": 0.7964057708563274, "rel_wql_gmean": 0.5631499368088492}}}, "checkpoint_sha256": "940882ad4c2d597d6ac322aa48c302f6daf463bae58b8601c13dde1cea7d0202", "expert_descriptor_sha256": "fa97880dd132b1cdff459be4798f8f360d7df59b13e78026a9d74a95d63df0db", "eval_seconds": 104.65708900406025}, {"cutoff": "valid_backcast2", "skill": 0.369108625195106, "frozen_control_skill": 0.3685168155758046, "delta_frozen": 0.0005918096193013866, "current_skill": 0.37032451826756796, "delta_current": -0.0012158930724619488, "groups": {"term": {"long": {"n_configs": 19, "rel_mase_gmean": 0.7906510497713848, "rel_wql_gmean": 0.49791951238582316}, "medium": {"n_configs": 21, "rel_mase_gmean": 0.7463794962702305, "rel_wql_gmean": 0.48788049332664457}, "short": {"n_configs": 54, "rel_mase_gmean": 0.7541443451397051, "rel_wql_gmean": 0.548474524576973}}, "domain": {"Econ/Fin": {"n_configs": 6, "rel_mase_gmean": 0.859694183814595, "rel_wql_gmean": 0.8749239017347893}, "Energy": {"n_configs": 32, "rel_mase_gmean": 0.8952064063651944, "rel_wql_gmean": 0.6408885753161933}, "Healthcare": {"n_configs": 5, "rel_mase_gmean": 0.6928588980026767, "rel_wql_gmean": 0.5961572391849415}, "Nature": {"n_configs": 15, "rel_mase_gmean": 0.7424495459695073, "rel_wql_gmean": 0.35803815165236247}, "Sales": {"n_configs": 3, "rel_mase_gmean": 0.5555994142466699, "rel_wql_gmean": 0.35165734086394285}, "Transport": {"n_configs": 14, "rel_mase_gmean": 0.6616934402596565, "rel_wql_gmean": 0.4949836362719981}, "Web/CloudOps": {"n_configs": 19, "rel_mase_gmean": 0.6721691450565358, "rel_wql_gmean": 0.4603022006794101}}, "frequency": {"A": {"n_configs": 1, "rel_mase_gmean": 0.5779821065752055, "rel_wql_gmean": 0.7481491862476741}, "D": {"n_configs": 15, "rel_mase_gmean": 0.7225932712224514, "rel_wql_gmean": 0.443341161452269}, "H": {"n_configs": 30, "rel_mase_gmean": 0.7483595328629193, "rel_wql_gmean": 0.4819259327753775}, "M": {"n_configs": 4, "rel_mase_gmean": 0.8007726643055402, "rel_wql_gmean": 0.8465387976993543}, "Q": {"n_configs": 1, "rel_mase_gmean": 0.8242564837866809, "rel_wql_gmean": 0.8649971254852531}, "S": {"n_configs": 6, "rel_mase_gmean": 0.8991595045192148, "rel_wql_gmean": 0.5630796181386432}, "T": {"n_configs": 29, "rel_mase_gmean": 0.7475095739937796, "rel_wql_gmean": 0.5328787962105882}, "W": {"n_configs": 8, "rel_mase_gmean": 0.8221882245569265, "rel_wql_gmean": 0.6178992805102338}}, "variates": {"multivariate": {"n_configs": 42, "rel_mase_gmean": 0.7760395777106648, "rel_wql_gmean": 0.5110039298959804}, "univariate": {"n_configs": 52, "rel_mase_gmean": 0.746623470732352, "rel_wql_gmean": 0.5346883395474106}}}, "checkpoint_sha256": "940882ad4c2d597d6ac322aa48c302f6daf463bae58b8601c13dde1cea7d0202", "expert_descriptor_sha256": "fa97880dd132b1cdff459be4798f8f360d7df59b13e78026a9d74a95d63df0db", "eval_seconds": 102.47916345694102}, {"cutoff": "valid_backcast3", "skill": 0.39115459977794964, "frozen_control_skill": 0.3912834616582097, "delta_frozen": -0.00012886188026006717, "current_skill": 0.3928349019291829, "delta_current": -0.0016803021512332705, "groups": {"term": {"long": {"n_configs": 19, "rel_mase_gmean": 0.7647282244063703, "rel_wql_gmean": 0.4752054459775623}, "medium": {"n_configs": 20, "rel_mase_gmean": 0.7592704984522145, "rel_wql_gmean": 0.5224135802327573}, "short": {"n_configs": 54, "rel_mase_gmean": 0.720486318073994, "rel_wql_gmean": 0.5052839220852906}}, "domain": {"Econ/Fin": {"n_configs": 6, "rel_mase_gmean": 0.8166817605869655, "rel_wql_gmean": 0.7970999226217714}, "Energy": {"n_configs": 32, "rel_mase_gmean": 0.8360882345506596, "rel_wql_gmean": 0.554106075624325}, "Healthcare": {"n_configs": 5, "rel_mase_gmean": 0.8524685270866205, "rel_wql_gmean": 0.6847758550590494}, "Nature": {"n_configs": 15, "rel_mase_gmean": 0.7263234391580278, "rel_wql_gmean": 0.33833465074867414}, "Sales": {"n_configs": 3, "rel_mase_gmean": 0.7501575882380057, "rel_wql_gmean": 0.4746424265361404}, "Transport": {"n_configs": 14, "rel_mase_gmean": 0.5374772245780675, "rel_wql_gmean": 0.4417212416580303}, "Web/CloudOps": {"n_configs": 18, "rel_mase_gmean": 0.708048108512586, "rel_wql_gmean": 0.5160721103585284}}, "frequency": {"A": {"n_configs": 1, "rel_mase_gmean": 0.5290084100408494, "rel_wql_gmean": 0.7734716339684943}, "D": {"n_configs": 15, "rel_mase_gmean": 0.7342908552018372, "rel_wql_gmean": 0.4207352791821108}, "H": {"n_configs": 29, "rel_mase_gmean": 0.7258047245658639, "rel_wql_gmean": 0.48337944387793996}, "M": {"n_configs": 4, "rel_mase_gmean": 0.8635492061652983, "rel_wql_gmean": 0.842870427245656}, "Q": {"n_configs": 1, "rel_mase_gmean": 0.715840919224908, "rel_wql_gmean": 0.7630801829982395}, "S": {"n_configs": 6, "rel_mase_gmean": 0.8414986401545326, "rel_wql_gmean": 0.6067601863468725}, "T": {"n_configs": 29, "rel_mase_gmean": 0.7007074551762476, "rel_wql_gmean": 0.45851672405445687}, "W": {"n_configs": 8, "rel_mase_gmean": 0.8318227933833948, "rel_wql_gmean": 0.6792036692568956}}, "variates": {"multivariate": {"n_configs": 41, "rel_mase_gmean": 0.7635623124832405, "rel_wql_gmean": 0.5137905821875577}, "univariate": {"n_configs": 52, "rel_mase_gmean": 0.7177222007432322, "rel_wql_gmean": 0.4939107328007638}}}, "checkpoint_sha256": "940882ad4c2d597d6ac322aa48c302f6daf463bae58b8601c13dde1cea7d0202", "expert_descriptor_sha256": "fa97880dd132b1cdff459be4798f8f360d7df59b13e78026a9d74a95d63df0db", "eval_seconds": 103.42475243308581}], "positive_frozen": 2, "mean_delta_frozen": 0.00037150748425623936, "positive_current": 0, "mean_delta_current": -0.0012191943803468441, "current_descriptor_sha256": "a75fdfcbb4d8e38dd6e7cded3c097ff0a129976fa63277bfd277a6031ccc6140", "selection_gate_passed": false}. Full replay/publication require separate review and fresh current-publication comparison. + +2026-10-24T03:41:42.139017+00:00: E152 declared endpoint review {"utc": "2026-10-24T03:41:42.139017+00:00", "experiment": "E152", "run": "ensemble_gate_full", "step": 12000, "seed": 751, "checkpoint_sha256": "940882ad4c2d597d6ac322aa48c302f6daf463bae58b8601c13dde1cea7d0202", "expert_descriptor_sha256": "fa97880dd132b1cdff459be4798f8f360d7df59b13e78026a9d74a95d63df0db", "current_descriptor_sha256": "a75fdfcbb4d8e38dd6e7cded3c097ff0a129976fa63277bfd277a6031ccc6140", "training_loop_seconds_to_endpoint": 5947.2, "rows": [{"panel": "valid_screen", "skill": 0.3888785195622064, "delta_frozen": 0.0010277926841475438, "delta_current": -0.00048225615471486627, "evaluation_seconds": 100.01734141493216, "groups": {"term": {"long": 0.4079198882371218, "medium": 0.4117239624896861, "short": 0.37238379946357725}, "domain": {"Econ/Fin": 0.15131214560747486, "Energy": 0.24742357418022676, "Healthcare": 0.4830497625565672, "Nature": 0.44513373015123914, "Sales": 0.34266178546991055, "Transport": 0.4756257604238624, "Web/CloudOps": 0.5081631946852843}, "frequency": {"A": 0.38214459386912714, "D": 0.3764885073860188, "H": 0.40351091692237184, "M": 0.11164868286995633, "Q": 0.202070782837235, "S": 0.424766754407108, "T": 0.4478593164561876, "W": 0.2432332074006439}, "variates": {"multivariate": 0.40111346344339394, "univariate": 0.37895736070038943}}, "comparisons": {"frozen": {"positive_configs": 52, "total_configs": 97, "group_skill_delta": {"term": {"long": 0.0011807293480002867, "medium": 0.001469941123332319, "short": 0.0007850622752251235}, "domain": {"Econ/Fin": 0.002368717580644164, "Energy": -0.0003395036614303182, "Healthcare": 0.003283925743975402, "Nature": 0.0019224916115455626, "Sales": 0.00012609756387871318, "Transport": 0.002804558761182685, "Web/CloudOps": -8.872183275032697e-05}, "frequency": {"A": -0.0014500428288553024, "D": 0.004036249876469555, "H": 0.0012022211676366856, "M": -0.010717763142314762, "Q": -0.002558373374317857, "S": 0.0011338175983613974, "T": 0.001391568571117996, "W": -0.001633237817207922}, "variates": {"multivariate": 0.00031276092289445057, "univariate": 0.0016185251408998846}}, "largest_regressions": [{"config_id": "us_births__M__short", "delta": -0.03766030471876336}, {"config_id": "bizitobs_l2c__H__short", "delta": -0.020544358876344537}, {"config_id": "ett1__W__short", "delta": -0.020183049964429656}, {"config_id": "saugeenday__W__short", "delta": -0.016428282472072953}, {"config_id": "saugeenday__M__short", "delta": -0.01543228928778051}, {"config_id": "ett2__T__short", "delta": -0.011621737235555152}, {"config_id": "LOOP_SEATTLE__T__short", "delta": -0.011324824720947535}, {"config_id": "m4_hourly__H__short", "delta": -0.011092461031855239}], "largest_improvements": [{"config_id": "m4_weekly__W__short", "delta": 0.025255716999719957}, {"config_id": "M_DENSE__H__long", "delta": 0.02157289909213056}, {"config_id": "us_births__D__short", "delta": 0.015231153273205011}, {"config_id": "electricity__H__short", "delta": 0.012523359011126667}, {"config_id": "M_DENSE__H__medium", "delta": 0.01183781356252267}, {"config_id": "M_DENSE__H__short", "delta": 0.010888755688705287}, {"config_id": "jena_weather__D__short", "delta": 0.010097421244160354}, {"config_id": "jena_weather__H__short", "delta": 0.009942711793236914}]}, "current": {"positive_configs": 40, "total_configs": 97, "group_skill_delta": {"term": {"long": 0.00014179364333044564, "medium": -0.0006365733985362887, "short": -0.00067139859169707}, "domain": {"Econ/Fin": 0.000546406359267948, "Energy": -0.000686915732966642, "Healthcare": -0.005040005203157838, "Nature": 0.0009835380130087668, "Sales": -0.0027138549152306846, "Transport": 5.70278243875455e-05, "Web/CloudOps": -0.00034115626339503713}, "frequency": {"A": 0.0003011931943407431, "D": 0.0007260754919162782, "H": -0.0014790606003194373, "M": -0.009241010427189944, "Q": -0.0031900885103600674, "S": -0.0003098314267865332, "T": 0.0011162732298647393, "W": -0.0017597585246879044}, "variates": {"multivariate": -0.0007579608120638071, "univariate": -0.000254346948852624}}, "largest_regressions": [{"config_id": "us_births__M__short", "delta": -0.03541903994411877}, {"config_id": "covid_deaths__D__short", "delta": -0.026808355953632512}, {"config_id": "bizitobs_l2c__H__short", "delta": -0.02135764252043626}, {"config_id": "ett2__T__short", "delta": -0.017685698738945765}, {"config_id": "us_births__W__short", "delta": -0.009008669371695865}, {"config_id": "car_parts_with_missing__M__short", "delta": -0.008291030346867179}, {"config_id": "ett1__W__short", "delta": -0.008231008381472837}, {"config_id": "ett1__H__short", "delta": -0.007218938206772996}], "largest_improvements": [{"config_id": "m4_weekly__W__short", "delta": 0.013636855904503253}, {"config_id": "us_births__D__short", "delta": 0.010887434075577018}, {"config_id": "bizitobs_l2c__T__long", "delta": 0.007571106667125793}, {"config_id": "bizitobs_l2c__T__medium", "delta": 0.007087712727845141}, {"config_id": "M_DENSE__H__short", "delta": 0.005690111380220464}, {"config_id": "solar__T__short", "delta": 0.005598514019296896}, {"config_id": "jena_weather__T__short", "delta": 0.005589999893129027}, {"config_id": "saugeenday__M__short", "delta": 0.00546496738206681}]}}}, {"panel": "valid_backcast", "skill": 0.34440639469691814, "delta_frozen": -4.7104861639057916e-06, "delta_current": -0.001498326142977291, "evaluation_seconds": 104.65708900406025, "groups": {"term": {"long": 0.4038718040665251, "medium": 0.36270050812866184, "short": 0.31278142883020266}, "domain": {"Econ/Fin": 0.18275160645393074, "Energy": 0.23552693997464258, "Healthcare": 0.3961389353717114, "Nature": 0.38286192570803634, "Sales": 0.40784643957380373, "Transport": 0.3783105216670646, "Web/CloudOps": 0.455616945170881}, "frequency": {"A": 0.3287268907658699, "D": 0.3620264149058221, "H": 0.3776231699812387, "M": 0.19643188912308918, "Q": 0.23511841775507758, "S": 0.3454321702916968, "T": 0.3400312191524094, "W": 0.2902519309116366}, "variates": {"multivariate": 0.36169929538531387, "univariate": 0.3303016652761158}}, "comparisons": {"frozen": {"positive_configs": 48, "total_configs": 97, "group_skill_delta": {"term": {"long": -0.001070361993571134, "medium": -0.0005802090011542971, "short": 0.0007022012522787113}, "domain": {"Econ/Fin": 0.0014671067926048664, "Energy": 0.00021657125252438902, "Healthcare": -0.006401810813315367, "Nature": 0.003807504073775947, "Sales": 0.000612422101564869, "Transport": 0.002234477709331273, "Web/CloudOps": -0.0031873392707809645}, "frequency": {"A": -0.006537047297049958, "D": 0.00023344139180836443, "H": 0.0026375294665516025, "M": -0.00045071048526490465, "Q": 0.002569894590216504, "S": -0.003845779267544147, "T": -0.002159782206940908, "W": 0.0005014743574703884}, "variates": {"multivariate": -0.0020273432076542974, "univariate": 0.0016899563229269}}, "largest_regressions": [{"config_id": "ett2__T__short", "delta": -0.03131490892620592}, {"config_id": "us_births__M__short", "delta": -0.024117323452501505}, {"config_id": "ett2__W__short", "delta": -0.016403093227940313}, {"config_id": "electricity__D__short", "delta": -0.016159082237956035}, {"config_id": "covid_deaths__D__short", "delta": -0.014644081911274531}, {"config_id": "bizitobs_l2c__H__long", "delta": -0.013963066703513438}, {"config_id": "solar__T__medium", "delta": -0.01368745187106668}, {"config_id": "bizitobs_l2c__T__medium", "delta": -0.013515057062337688}], "largest_improvements": [{"config_id": "saugeenday__M__short", "delta": 0.051797230279745365}, {"config_id": "ett1__H__short", "delta": 0.04152566008906078}, {"config_id": "saugeenday__D__short", "delta": 0.03443672614930504}, {"config_id": "solar__H__short", "delta": 0.025144498655953806}, {"config_id": "m4_weekly__W__short", "delta": 0.019002703551802225}, {"config_id": "M_DENSE__H__medium", "delta": 0.017241441740636798}, {"config_id": "us_births__W__short", "delta": 0.013459642141071315}, {"config_id": "solar__T__long", "delta": 0.012527837970044642}]}, "current": {"positive_configs": 37, "total_configs": 97, "group_skill_delta": {"term": {"long": -0.0024595895061271245, "medium": -0.0007611226674053562, "short": -0.0013733527165298298}, "domain": {"Econ/Fin": 0.0011509343062322541, "Energy": 0.00022506322204618456, "Healthcare": -0.0059865176614577464, "Nature": -0.0009667212269278691, "Sales": -0.000992712878526314, "Transport": -0.0010687470233127216, "Web/CloudOps": -0.0036339393246458407}, "frequency": {"A": -0.002060658171578522, "D": -0.0026555396832858014, "H": -0.000532981926286813, "M": 0.0046777701030699115, "Q": -0.0018872922143653437, "S": -0.002571733053700509, "T": -0.002074257840932181, "W": -0.003384152455500611}, "variates": {"multivariate": -0.0022303912621896016, "univariate": -0.0008852249518134236}}, "largest_regressions": [{"config_id": "covid_deaths__D__short", "delta": -0.022880678305461366}, {"config_id": "ett2__T__short", "delta": -0.012785188239918033}, {"config_id": "jena_weather__T__short", "delta": -0.012179386948298343}, {"config_id": "M_DENSE__H__long", "delta": -0.009774831679746354}, {"config_id": "bizitobs_l2c__T__short", "delta": -0.00918137230024596}, {"config_id": "bizitobs_l2c__H__long", "delta": -0.00909782380538493}, {"config_id": "bizitobs_l2c__T__medium", "delta": -0.00829512671146948}, {"config_id": "saugeenday__D__short", "delta": -0.0075565757117442844}], "largest_improvements": [{"config_id": "saugeenday__M__short", "delta": 0.0305316414549488}, {"config_id": "solar__H__short", "delta": 0.017606022158643486}, {"config_id": "m4_weekly__W__short", "delta": 0.014972412486407904}, {"config_id": "ett2__T__long", "delta": 0.011111236419607429}, {"config_id": "ett1__H__short", "delta": 0.009737467260185984}, {"config_id": "bitbrains_rnd__T__short", "delta": 0.006827294074638002}, {"config_id": "M_DENSE__H__medium", "delta": 0.003631766748974141}, {"config_id": "kdd_cup_2018_with_missing__H__short", "delta": 0.0035431832470002034}]}}}, {"panel": "valid_backcast2", "skill": 0.369108625195106, "delta_frozen": 0.0005918096193013866, "delta_current": -0.0012158930724619488, "evaluation_seconds": 102.47916345694102, "groups": {"term": {"long": 0.3725602935982557, "medium": 0.3965565504132036, "short": 0.35686007652851126}, "domain": {"Econ/Fin": 0.13272438659802588, "Energy": 0.24255194343815323, "Healthcare": 0.3573081237653639, "Nature": 0.4844175496256121, "Sales": 0.5579812078660589, "Transport": 0.4276998819176665, "Web/CloudOps": 0.44376179859854914}, "frequency": {"A": 0.3424159044654771, "D": 0.4340005829319644, "H": 0.39945535892299544, "M": 0.17666220269459232, "Q": 0.1556188721092464, "S": 0.28845352193239615, "T": 0.36886451379620966, "W": 0.2872381096062224}, "variates": {"multivariate": 0.37027047554925074, "univariate": 0.3681686428856147}}, "comparisons": {"frozen": {"positive_configs": 57, "total_configs": 94, "group_skill_delta": {"term": {"long": 0.0003332924954715377, "medium": -0.0007552206681828988, "short": 0.0012439382805250476}, "domain": {"Econ/Fin": 0.004913829359779576, "Energy": 0.002678537465516273, "Healthcare": -0.010593155220105732, "Nature": 0.002138306526770384, "Sales": -0.0014985361454926682, "Transport": 0.0014023642546692194, "Web/CloudOps": -0.0018057904252672952}, "frequency": {"A": 0.003885275121735199, "D": -0.0016775861918080226, "H": -6.913427487675872e-05, "M": 0.006802961696775411, "Q": 0.0036383876681674865, "S": -0.0021031153167233585, "T": 0.0010088129418280856, "W": 0.005765606275774271}, "variates": {"multivariate": -0.0016517657013365161, "univariate": 0.002415838132563075}}, "largest_regressions": [{"config_id": "covid_deaths__D__short", "delta": -0.04181759135588592}, {"config_id": "ett1__H__short", "delta": -0.030799832858051768}, {"config_id": "us_births__W__short", "delta": -0.019833286978640396}, {"config_id": "bizitobs_l2c__T__long", "delta": -0.016661825144835385}, {"config_id": "bizitobs_l2c__H__medium", "delta": -0.015434413404593617}, {"config_id": "bitbrains_fast_storage__T__long", "delta": -0.008399650383338009}, {"config_id": "jena_weather__T__short", "delta": -0.007716979479675645}, {"config_id": "ett2__H__short", "delta": -0.007546875729012803}], "largest_improvements": [{"config_id": "solar__T__medium", "delta": 0.02800752131028994}, {"config_id": "electricity__H__short", "delta": 0.024678613770592106}, {"config_id": "saugeenday__M__short", "delta": 0.02182582339252781}, {"config_id": "saugeenday__W__short", "delta": 0.020148669135586328}, {"config_id": "bitbrains_fast_storage__T__short", "delta": 0.01992358205796463}, {"config_id": "m4_hourly__H__short", "delta": 0.015946277186171476}, {"config_id": "ett1__T__short", "delta": 0.014622262839562805}, {"config_id": "m4_weekly__W__short", "delta": 0.01273549525425166}]}, "current": {"positive_configs": 39, "total_configs": 94, "group_skill_delta": {"term": {"long": -0.002295217308602049, "medium": -0.0022972112394594735, "short": -0.0003763716104369097}, "domain": {"Econ/Fin": 0.0032415203424835948, "Energy": 0.0004589733890525416, "Healthcare": -0.001020991682322947, "Nature": -0.0006042845195732838, "Sales": -0.0018016176898314473, "Transport": -0.0019638414439830942, "Web/CloudOps": -0.0040018428355659275}, "frequency": {"A": 0.004902571690339141, "D": -0.0015263117836183948, "H": -0.001992610778951076, "M": 0.0029565925977093066, "Q": -0.000621145438372106, "S": -0.003878129696139987, "T": -0.0012873884015588422, "W": 0.0026643236260115444}, "variates": {"multivariate": -0.002876156813492403, "univariate": 0.00013279699846879822}}, "largest_regressions": [{"config_id": "covid_deaths__D__short", "delta": -0.02390207446523762}, {"config_id": "ett1__H__short", "delta": -0.011862022543638218}, {"config_id": "ett2__H__long", "delta": -0.011072848010822534}, {"config_id": "bizitobs_l2c__H__medium", "delta": -0.010658498424611196}, {"config_id": "M_DENSE__H__medium", "delta": -0.010123230238783587}, {"config_id": "bitbrains_fast_storage__T__medium", "delta": -0.008238907570808363}, {"config_id": "M_DENSE__D__short", "delta": -0.007718454944405706}, {"config_id": "bizitobs_l2c__T__short", "delta": -0.007560156270974838}], "largest_improvements": [{"config_id": "solar__W__short", "delta": 0.017867260814321995}, {"config_id": "solar__T__medium", "delta": 0.016092780278506025}, {"config_id": "electricity__H__short", "delta": 0.015053959369146552}, {"config_id": "us_births__M__short", "delta": 0.012864373868374801}, {"config_id": "m4_weekly__W__short", "delta": 0.009070751393018717}, {"config_id": "saugeenday__D__short", "delta": 0.007281624909817652}, {"config_id": "bitbrains_fast_storage__T__short", "delta": 0.007093422970269381}, {"config_id": "ett2__T__medium", "delta": 0.005186661354793287}]}}}, {"panel": "valid_backcast3", "skill": 0.39115459977794964, "delta_frozen": -0.00012886188026006717, "delta_current": -0.0016803021512332705, "evaluation_seconds": 103.42475243308581, "groups": {"term": {"long": 0.3971708227609926, "medium": 0.37019588802427494, "short": 0.39663431270479266}, "domain": {"Econ/Fin": 0.1931685627279498, "Energy": 0.31935209504286566, "Healthcare": 0.2359647491465665, "Nature": 0.504277913425166, "Sales": 0.40329520031611443, "Transport": 0.5127473889207612, "Web/CloudOps": 0.39551353894776553}, "frequency": {"A": 0.36033368128580434, "D": 0.44417442667306506, "H": 0.40768329069269993, "M": 0.14685283312420705, "Q": 0.2609167708303951, "S": 0.2854456831627117, "T": 0.43317896398603173, "W": 0.248350418454502}, "variates": {"multivariate": 0.3736525524381519, "univariate": 0.40460878565730685}}, "comparisons": {"frozen": {"positive_configs": 50, "total_configs": 93, "group_skill_delta": {"term": {"long": 0.0003571997372233682, "medium": -0.0019714640260385385, "short": 0.0003550109926605538}, "domain": {"Econ/Fin": 0.004215336359757349, "Energy": -0.00036109113444493524, "Healthcare": 0.0005661444769885504, "Nature": -0.003680177910083904, "Sales": 0.004298163189160653, "Transport": 0.003611302203897049, "Web/CloudOps": -0.0017039823321360892}, "frequency": {"A": 0.006775121789043603, "D": 0.0032257290764314828, "H": 0.0003441820974260379, "M": -0.0025885751870432516, "Q": -0.0008006494201565628, "S": -0.0023398239393386255, "T": -0.0004663602511589815, "W": -0.0072073905144866}, "variates": {"multivariate": -0.0002495728412973408, "univariate": -3.830397116644235e-05}}, "largest_regressions": [{"config_id": "solar__H__short", "delta": -0.03821435588778044}, {"config_id": "saugeenday__W__short", "delta": -0.03379428662538564}, {"config_id": "ett2__T__medium", "delta": -0.02966448519175957}, {"config_id": "us_births__M__short", "delta": -0.028127164676635563}, {"config_id": "bizitobs_l2c__T__medium", "delta": -0.0251215029230466}, {"config_id": "bizitobs_application__S__medium", "delta": -0.01580923047003957}, {"config_id": "saugeenday__D__short", "delta": -0.015695301845264686}, {"config_id": "solar__W__short", "delta": -0.01390688680087604}], "largest_improvements": [{"config_id": "ett2__W__short", "delta": 0.021271078537882016}, {"config_id": "us_births__D__short", "delta": 0.01793078508874646}, {"config_id": "ett1__D__short", "delta": 0.015389012900461796}, {"config_id": "M_DENSE__H__short", "delta": 0.014323264335150965}, {"config_id": "ett1__T__short", "delta": 0.012567283798270878}, {"config_id": "saugeenday__M__short", "delta": 0.011728218943908741}, {"config_id": "ett1__H__short", "delta": 0.011250111189662348}, {"config_id": "electricity__H__short", "delta": 0.011045212108467206}]}, "current": {"positive_configs": 37, "total_configs": 93, "group_skill_delta": {"term": {"long": -0.0025557796296987734, "medium": -0.0016985533941842323, "short": -0.0013647584227504117}, "domain": {"Econ/Fin": 0.0013156703259334934, "Energy": -5.556788904470533e-05, "Healthcare": -0.002001147124575886, "Nature": -0.0037976590885400174, "Sales": -0.0005694912485794124, "Transport": 0.00014044893281495163, "Web/CloudOps": -0.004579454570880603}, "frequency": {"A": -0.0006973571155770575, "D": -0.000249443369607083, "H": -0.001793089896368838, "M": -0.0009715147755986475, "Q": -0.0017847604294770614, "S": -0.006744388061735163, "T": -0.0007961798186275626, "W": -0.005302086892428726}, "variates": {"multivariate": -0.0021266084021847043, "univariate": -0.0013446998945088051}}, "largest_regressions": [{"config_id": "solar__H__short", "delta": -0.02152332584107497}, {"config_id": "bizitobs_application__S__long", "delta": -0.021327568900312066}, {"config_id": "saugeenday__D__short", "delta": -0.017321619682834744}, {"config_id": "saugeenday__W__short", "delta": -0.016461208267881333}, {"config_id": "bizitobs_l2c__T__short", "delta": -0.012163607991530379}, {"config_id": "bizitobs_application__S__medium", "delta": -0.011706466538366378}, {"config_id": "ett2__H__long", "delta": -0.011610211549541116}, {"config_id": "us_births__M__short", "delta": -0.010977622098798268}], "largest_improvements": [{"config_id": "ett1__T__short", "delta": 0.01184402862202072}, {"config_id": "ett1__D__short", "delta": 0.008178316316880263}, {"config_id": "electricity__H__short", "delta": 0.006088647646171785}, {"config_id": "us_births__D__short", "delta": 0.005652675661353079}, {"config_id": "ett2__W__short", "delta": 0.005369942471115996}, {"config_id": "m4_weekly__W__short", "delta": 0.004990238388988377}, {"config_id": "M_DENSE__H__short", "delta": 0.004867787815590274}, {"config_id": "ett2__D__short", "delta": 0.004865662904754764}]}}}], "selection_gate_passed": false, "positive_frozen": 2, "mean_delta_frozen": 0.00037150748425623936, "positive_current": 0, "mean_delta_current": -0.0012191943803468441, "cpu_review_seconds": 0.0355685749091208, "new_optimizer_updates": 0, "new_inference": false, "outcome": "Four-cutoff gate fails; no full replay or publication from this endpoint.", "interpretation": "Adaptive validation diagnostics, not independent test evidence. Frequency groups are recomputed using the scorer frequency parser, avoiding comparison of full aliases with frequency-unit groups."}. + +2026-10-24T03:41:42.201310+00:00: Scheduled main-cutoff learning diagnostic {"utc": "2026-10-24T03:41:42.201310+00:00", "experiment": "E157", "run": "random_capacity_long_seasonal_halflr", "step": 4000, "skill": 0.3452673605865627, "checkpoint_sha256": "061aa5ffe87fe89d0a2cfcacc8e58f304ab6f58d593c0952c23dbfde2aa163bb", "eval_seconds": 36.536202907562256, "comparisons": [{"control": "random_capacity_1024_halflr", "control_checkpoint_sha256": "62c59ba50647d301fd5afd846b25c03271fe35b7d97fe63f5b2f7b931957090b", "control_skill": 0.33689519559563774, "delta": 0.008372164990924968, "group_deltas": {"term": {"long": 0.0016653919807668727, "medium": 0.003854398935625558, "short": 0.012999957939203943}, "domain": {"Econ/Fin": -0.004579608641878785, "Energy": -0.0023338543873301365, "Healthcare": 0.06100841954541114, "Nature": 0.010143544046616104, "Sales": -0.0023303656508423254, "Transport": 0.023296279553858934, "Web/CloudOps": 0.001331764658029977}, "frequency": {"A": 0.007164930339279008, "D": 0.014341624222702687, "H": 0.0072529917408108435, "M": 0.0648973165286626, "Q": 0.018742749415626037, "S": 0.007961233602644113, "T": -0.0006498362893953002, "W": 0.014673448684123791}, "variates": {"multivariate": -0.0011268593047053521, "univariate": 0.0162621906963627}}}, {"control": "random_capacity_long_seasonal", "control_checkpoint_sha256": "3a6bdd72a63e36e30295843c1865cbe1682370d01d12ac9c932a2db0c99ad241", "control_skill": 0.33446842197559334, "delta": 0.010798938610969366, "group_deltas": {"term": {"long": 0.0020214063683694494, "medium": -0.0024045910511403257, "short": 0.01998706446267773}, "domain": {"Econ/Fin": -0.0010540119531496916, "Energy": 0.00800481664649988, "Healthcare": 0.04759522944129102, "Nature": 0.017237691768522412, "Sales": -0.0023414419575779055, "Transport": 0.00527263858429472, "Web/CloudOps": 0.009654083335861707}, "frequency": {"A": -0.01569270092698838, "D": 0.00590873105188805, "H": 0.003318919764022099, "M": 0.13049362130094866, "Q": 0.013653373544288083, "S": 0.001314336774065783, "T": 0.012698457980687694, "W": 0.0036372082587119436}, "variates": {"multivariate": 0.0069999507968318, "univariate": 0.013927678735886295}}}], "decision": "Scheduled main-cutoff learning diagnostic only. Compare same-LR plain control and same-feature highLR contrast; original primary48000/final96000 allfour-cutoff tests and feature/distillation factorial remain unchanged. No early selection or transfer.", "new_neural_inference": false, "new_training": false}. No additional training or inference. + +2026-10-24T03:42:09.386145+00:00: E152full final review {"utc": "2026-10-24T03:42:09.386145+00:00", "experiment": "E152", "run": "ensemble_gate_full", "step": 12000, "seed": 751, "checkpoint_sha256": "940882ad4c2d597d6ac322aa48c302f6daf463bae58b8601c13dde1cea7d0202", "matched_control": "ensemble_gate_ema12000", "positive_cutoffs": 4, "mean_delta": 4.937159714629713e-05, "mean_group_deltas": {"term": {"long": -3.955281018408474e-05, "medium": 8.992516888348123e-05, "short": 6.779927153025e-05}, "domain": {"Econ/Fin": 0.00022555073480523546, "Energy": 0.00015441159719439823, "Healthcare": -8.60407629178217e-05, "Nature": -0.00018594724309144162, "Sales": -2.80654200805891e-05, "Transport": -0.00012944024501769513, "Web/CloudOps": 0.00023268197075400343}, "frequency": {"A": 0.0010323035467980912, "D": 0.00012656082598092033, "H": -6.777081258832474e-05, "M": -0.0006907499758342373, "Q": -0.0004182655499824772, "S": 0.00022836759283378916, "T": 0.00018424793738958112, "W": -0.00010327699224457754}, "variates": {"multivariate": 0.00015824857604929132, "univariate": -3.8737667697213984e-05}}, "current_positive_cutoffs": 0, "current_mean_delta": -0.0012191943803468441, "frozen_quartet_positive": 2, "frozen_quartet_mean_delta": 0.00037150748425623936, "training_loop_seconds": 5947.262721844949, "training_process_seconds": 6007.5298265919555, "four_panel_eval_seconds": 410.57834630901925, "optimizer_updates": 0, "new_inference": false, "decision": "Matched full-versusold gate comparison improves allfour by a small mean, but final gate loses allfour to currentE172 and only2of4 improve its fixed quartet. No full replay. Refreshed/full E152cell already running; preserve original primary6/final12 and separately declared E178primary6 composition gate.", "cpu_analysis_seconds": 0.0025164789985865355} + +2026-10-24T03:42:52.759437+00:00: E180 declared {"experiment": "E180", "declared_utc": "2026-10-24T03:42:52.759437+00:00", "status": "declared before original E137primary48 checkpoint", "hypothesis": "The fresh depth-versus-width experiment now shows a positive24k main diagnostic, including long horizons and sixofseven domains. If its original matched endpoints pass, test whether its different architecture contributes complementary errors to the current fixed ensemble. No early24k checkpoint is selected.", "frozen_parent_descriptor": "a75fdfcbb4d8e38dd6e7cded3c097ff0a129976fa63277bfd277a6031ccc6140", "parent_probe_prefix": "gate_six_blend", "member_checkpoint_hashes": ["0b11b7351a4a92d1d18c71a4159ec445be3a94ace8c7a9fa0edafad87d14e960", "308389b7217c080af9eb185559d4ee3cafa0f3e0f8c4dd8f5526b68198c89988", "1a2fb20a9fb5cae6526f2e36ea47559626bece78fd9c284899836505030ae9fe", "d7cfcd72c3cb84aa69e447b76c4c3ab98c21b7c600a463f0b805f4b4300baf33", "2877a38b94a7d77a53a9df410349cecc2f6ab134c83a76744924543bbe73eb17", "4b309f0721378f97db815dd511b8b54711348270c48e9eae0103dba506f66708"], "new_member_run": "random_capacity_deep", "new_member_steps": [48000, 96000], "source_control": "random_capacity_1024", "gate_run": "ensemble_gate_refresh", "gate_step": 6000, "gate_checkpoint_sha256": "a7d0ee6866ea787f29eac043531aad3613674f159fd00b3491fd87fab8388fd1", "parameters": 695761676, "new_member_parameters": 146328864, "blend_coefficient": 0.5, "horizon_threshold": 720, "composition": "All seven experts and unchanged E152primary6k gate execute everyinstance. Preserve ordered E172 as C; form ordered FP32quartet Q=(F0+F1+F2+E137endpoint)/4; final(C+Q)/2. Keep original gate inputs F0/F1/F2/F3, original H720rule and all arithmetic grouping.", "source_training": "Existing E137 freshd768/12heads/11encoder/7decoder/patch16, owninitial3991760771cd77bea0eb79a13091eeff912853dce8afa77ea272cf14840dd234,seed307/B48/LR2e-4/oldpack/slowAR/original96k. No new training.", "source_gate": "For each declared primary48000/final96000, require>=3positive and positive mean versus E79at SAMEstep. Source failure leaves that endpoint composition untested; retain original96 endpoint regardless ofprimary result.", "selection": "At each eligible endpoint, one cached four-cutoff composition comparison. Require>=3positive and positive mean versus frozenE172 and then-current publication; only ifpassed build portable candidate and complete all-forward, independent arithmetic, relocation, runtime and full97public replay before publication. No automaticpromotion.", "checkpoint_choices": "Only original48/96; no24k/72k, coefficient, sourcegate or horizon-threshold sweep.", "new_training": false, "optimizer_updates": 0, "training_queued": false} + +2026-10-24T03:46:04.791587+00:00: Scheduled main-cutoff learning diagnostic {"utc": "2026-10-24T03:46:04.791587+00:00", "experiment": "E152", "run": "ensemble_gate_refresh_full", "step": 1000, "skill": 0.38902468840664295, "checkpoint_sha256": "565232d1f775c7d3426ee9cc1f0882aeb58cae82c59218b0fa0dfb4055d6517e", "eval_seconds": 105.55273024295457, "comparisons": [{"control": "ensemble_gate_refresh", "control_checkpoint_sha256": "e052ed8207585772fc5d9b352bada6465a27bb94daea46dac4217b5a0f3a2f95", "control_skill": 0.38912205996537574, "delta": -9.737155873279502e-05, "group_deltas": {"term": {"long": 1.531849999436563e-05, "medium": -0.00011557557614605418, "short": -0.0001354941568150192}, "domain": {"Econ/Fin": 0.000120027606615003, "Energy": -8.523706362351113e-05, "Healthcare": -0.0008077102762843458, "Nature": 8.559965665178026e-07, "Sales": -0.00017339135898164493, "Transport": 1.4395179061876817e-05, "Web/CloudOps": -0.00010214169754685365}, "frequency": {"A": -0.0004347705202193408, "D": -0.00021844629507550284, "H": -0.00019070777347851564, "M": -0.00028300392400204544, "Q": -6.798488080084208e-05, "S": -9.68417255264864e-06, "T": 3.3279562007382246e-05, "W": 3.778706911272689e-05}, "variates": {"multivariate": -7.916585701106538e-05, "univariate": -0.00011241075499557329}}}, {"control": "ensemble_gate_full", "control_checkpoint_sha256": "5b82c5c4694eeb3bb375a86d252f15fb8a4249ac1cc34cae0de075a57225abe4", "control_skill": 0.38866157189787065, "delta": 0.00036311650877229873, "group_deltas": {"term": {"long": -0.0002567903652732628, "medium": 0.00045863457178618727, "short": 0.0005750458839262063}, "domain": {"Econ/Fin": -0.00022985837543976206, "Energy": -5.754830188076099e-05, "Healthcare": 0.009376307124892347, "Nature": -0.0007154921034489004, "Sales": 0.001148872668111034, "Transport": -0.0001331099136070435, "Web/CloudOps": -0.00031877181389572407}, "frequency": {"A": -0.00020858246434130034, "D": 0.0001598091818213465, "H": 0.0009066584609088713, "M": 0.0038581195294791204, "Q": 0.0006219148727772961, "S": 0.0002373161678326241, "T": -0.0007850122000361281, "W": 0.002296109876304908}, "variates": {"multivariate": 8.978804131154483e-05, "univariate": 0.0005893740670985803}}}], "decision": "Scheduled main-cutoff learning diagnostic only. Compare same-expert oldpack and same-fullpack old-expert cells; original primary6000/final12000 four-cutoff factorial remains. E178 uses only declared primary6000 if its source gates pass.", "new_neural_inference": false, "new_training": false}. No additional training or inference. + +2026-10-24T03:51:15.223420+00:00: E172daily_m4_persistence_diagnostic {"utc": "2026-10-24T03:51:15.223420+00:00", "receipt": "/workspace/research/gate_six_blend_m4_daily_persistence.json", "checkpoint_sha256": "a75fdfcbb4d8e38dd6e7cded3c097ff0a129976fa63277bfd277a6031ccc6140", "seconds": 0.34817683696746826, "optimizer_updates": 0, "new_neural_inference": false, "mase_ratios_to_observed_last_value": [1.0023113050414891, 1.1147189780710691, 1.07373732626813, 1.102009591774777], "continuity_weight_means": [0.9309149146438699, 0.9303102367277463, 0.9288508008925733, 0.9290299471726603], "outcome": "Descriptive only. On all three earlier panels every horizon quarter has higher MASE than last value; main panel improves its latter two quarters. Existing continuity weights average about0.93 and forecasts move toward past128mean on only54-55percent of rows, so neither absent continuity nor universal mean reversion explains the gap. E12longer continuity tau and E23last-value diffusion blends were already rejected. No new correction, quantiles, selection score, training or inference."} + +2026-10-24T03:51:27.295737+00:00: Scheduled main-cutoff learning diagnostic {"utc": "2026-10-24T03:51:27.295737+00:00", "experiment": "E157", "run": "random_capacity_long_seasonal_halflr", "step": 8000, "skill": 0.3542651953200786, "checkpoint_sha256": "28d86824f7798a9cf52c85aae0973a8239f6f0e287139579d8f0eb75ab15f8b5", "eval_seconds": 37.216655015945435, "comparisons": [{"control": "random_capacity_1024_halflr", "control_checkpoint_sha256": "650a1a4177cae63f3ceab8a2255fbd2f9d281a7e83e8d380a34bb956bd690884", "control_skill": 0.3471534265664681, "delta": 0.007111768753610526, "group_deltas": {"term": {"long": -0.002122096745162283, "medium": 0.009237212254805782, "short": 0.00997174172666293}, "domain": {"Econ/Fin": 0.0027262745261319443, "Energy": 0.0018050124809192436, "Healthcare": 0.002304613289539237, "Nature": 0.014786103884358193, "Sales": -0.010424815688125366, "Transport": 0.012870071482312118, "Web/CloudOps": 0.00742589869936916}, "frequency": {"A": -0.0005505627643195288, "D": 0.023336098877988154, "H": 0.006420310174300892, "M": -0.015237257177834862, "Q": 0.024944270241506805, "S": -2.4239938075210077e-05, "T": 0.0032865504418763125, "W": 0.008726479519802877}, "variates": {"multivariate": 0.005096573891019918, "univariate": 0.008768071222810536}}}, {"control": "random_capacity_long_seasonal", "control_checkpoint_sha256": "7d839d749a8fbb5801df4b2e425de5b256cc1a2c7afc13d73d2e4a67f0555dfb", "control_skill": 0.3524398155292817, "delta": 0.0018253797907968883, "group_deltas": {"term": {"long": -0.005484020040655624, "medium": -0.00682513537511098, "short": 0.008407094632446599}, "domain": {"Econ/Fin": 0.0068832374346040615, "Energy": 0.002693502902159861, "Healthcare": 0.005665812963506989, "Nature": 0.01490153683302975, "Sales": -0.005455477081369509, "Transport": -6.560995627491462e-05, "Web/CloudOps": -0.007245338422136038}, "frequency": {"A": 0.00695764857903125, "D": 0.011896946706956624, "H": -0.004019716972103127, "M": 0.06163687684890784, "Q": 0.010490312000500435, "S": -0.0011780866838311255, "T": -0.0022900258094242787, "W": -0.000298647428176535}, "variates": {"multivariate": -0.0076773864658946644, "univariate": 0.009727958123377123}}}], "decision": "Scheduled main-cutoff diagnostic only. Keep original primary48000/final96000 four-cutoff endpoints and the predeclared E157factorial; no early checkpoint selection.", "new_neural_inference": false, "new_training": false}. No additional training or inference. + +2026-10-24T03:51:27.485051+00:00: Scheduled main-cutoff learning diagnostic {"utc": "2026-10-24T03:51:27.485051+00:00", "experiment": "E145", "run": "random_capacity_buildings", "step": 24000, "skill": 0.3635018295152853, "checkpoint_sha256": "2c6ac72ca4c0a16ab023d696ac14664f22189e3f6b7ec0856acc49bcf30c8030", "eval_seconds": 36.462047815322876, "comparisons": [{"control": "random_capacity_full", "control_checkpoint_sha256": "076fc28ac9f8ee5d8b2c9bc8336f24163a224e2dd26c11dea6320174d716acad", "control_skill": 0.35536752960369333, "delta": 0.00813429991159198, "group_deltas": {"term": {"long": -0.0014454120156928152, "medium": 0.0017805761037079648, "short": 0.014698661443623973}, "domain": {"Econ/Fin": -0.017240808552188125, "Energy": -0.005120962131254458, "Healthcare": 0.10170881552143596, "Nature": 0.005344323727040412, "Sales": 0.002492747648924043, "Transport": 0.002742430652916794, "Web/CloudOps": 0.012898481855033395}, "frequency": {"A": -0.012069960498367727, "D": 0.01799109450212144, "H": 0.0022209344110045715, "M": 0.1246097894242183, "Q": 0.008265632379267807, "S": 0.009232905900156574, "T": 0.0009172567878336091, "W": -0.0075436633754740745}, "variates": {"multivariate": 0.005729347096106285, "univariate": 0.010123570760314449}}}], "decision": "Scheduled main-cutoff diagnostic only. Keep original primary48000/final96000 four-cutoff endpoints; no early checkpoint selection or source-probability changes.", "new_neural_inference": false, "new_training": false}. No additional training or inference. + +2026-10-24T03:54:31.581956+00:00: E181 window-mean objective declared {"experiment": "E181", "declared_utc": "2026-10-24T03:54:31.581956+00:00", "status": "declared before implementation and audits; no production updates", "run": "window_mean_loss", "code_dir": "/workspace/research/window_mean_loss", "control": "overflow_control", "initial": "/workspace/research/horizon_delta12k.pt", "initial_checkpoint_sha256": "22c08571978be31ba57368eb983089a40a44d56d4ae5e17da41afd2a761a258c", "parameters": 36800800, "seed": 197, "batch": 64, "learning_rate": 2e-05, "steps": 12000, "primary_step": 6000, "final_step": 12000, "diagnostic_steps": [1000, 3000], "packed": "/workspace/research/packed_sample", "source_weights_from": "/workspace/research/packed_sample", "hypothesis": "Current median error diagnostics show sustained signed errors contribute a large descriptive fraction of absolute error. Test whether an additional fixed training penalty on each window mean median residual improves level prediction. This diagnostic bound is not an attainable-gain estimate, and the aggregate penalty need not preserve the marginal-median optimum for skewed outcomes.", "changed_scientific_factor": "Retain original normalized pointwise quantile plus median loss and context-only window weights. Add0.125*abs(sum(valid*(normalized_clipped_target-paired_median))/max(1,sum(valid))) to each window before the original weighted reduction. Coefficient fixed at half the existing0.25 pointwise median coefficient. No block sizes, coefficient sweep, new data or inference changes.", "numerical_mode": "Original E80 eager BF16 objective, no compile and no microbatch; deterministic algorithms and CUBLAS_WORKSPACE_CONFIG=:4096:8 declared upfront after prior recovery audits. This numerical mode differs from historical E80 and is an explicit comparison limitation.", "architecture_and_data": "Copy unchanged E80 architecture/config and sampler, including original AR phiUniform(.2,.995), synthetic20percent, allowed old packed corpus, same source probabilities, cutoffs, augmentation and RNG consumption. Only training loss changes.", "selection": "Original primary6000/final12000 fourcutoff matched comparisons against E80. Require>=3positive and positive mean before any separate followup/composition/full replay. Main1000/3000 are diagnostics only; no early selection, transfer or automaticpublication.", "allocation": "One bounded additional small-model study on the SAME single H100 after CPU/GPU/recovery audits. Production launch requires idle evaluation lock and free GPU memory >= measured maximum-shape reserved MiB plus12000MiB. Keep existing allocations and their endpoints unchanged; no extra GPU. No further GPU engineering studies while this additional allocation runs without a new memory review.", "engineering": "Unchanged architecture and data hashes; independent analytic loss/gradient/missing-label/sign checks; actual allowed-corpus initial inference equality; maximumB64/C4096/H1024 memory and finite gradients including Adam/EMA placeholders; full optimizer/model/EMA/RNG/prefetch/ancestry18-update recovery6+6+3+3 at original12k schedule. Fixed bounds model/EMAmaxabs<=1e-4,optimizerrelativeL2<=1e-3, exact random/prefetch/ancestry. Fixtures never warmstart production.", "pretrained_assets": [], "sources_used": ["BEIJING_SUBWAY_30MIN", "HZMETRO", "LOS_LOOP", "PEMS03", "PEMS04", "PEMS07", "PEMS08", "PEMS_BAY", "Q-TRAFFIC", "SHMETRO", "alibaba_cluster_trace_2018", "australian_electricity_demand", "azure_vm_traces_2017", "bdg-2_bear", "bdg-2_fox", "bdg-2_panther", "bdg-2_rat", "bitcoin_with_missing", "borealis", "borg_cluster_data_2011", "buildings_900k", "bull", "cdc_fluview_ilinet", "cdc_fluview_who_nrevss", "china_air_quality", "cif_2016_12", "cif_2016_6", "cmip6_2000", "cmip6_2005", "cmip6_2010", "cockatoo", "covid19_energy", "covid_mobility", "elecdemand", "elf", "era5_2010", "era5_2011", "era5_2012", "era5_2013", "era5_2014", "era5_2015", "era5_2016", "era5_2017", "era5_2018", "extended_web_traffic_with_missing", "favorita_sales", "favorita_transactions", "gfc12_load", "gfc14_load", "gfc17_load", "godaddy", "hog", "ideal", "kaggle_web_traffic_weekly", "kdd2022", "largest_2017", "largest_2018", "largest_2019", "largest_2020", "largest_2021", "lcl", "london_smart_meters_with_missing", "m1_monthly", "m1_quarterly", "m1_yearly", "m5", "monash_m3_monthly", "monash_m3_other", "monash_m3_quarterly", "nn5_daily_with_missing", "nn5_weekly", "oikolab_weather", "pdb", "project_tycho", "residential_load_power", "residential_pv_power", "rideshare_with_missing", "sceaux", "smart", "solar_power", "spain", "subseasonal", "subseasonal_precip", "sunspot_with_missing", "taxi_30min", "tourism_quarterly", "tourism_yearly", "traffic_hourly", "traffic_weekly", "uber_tlc_daily", "uber_tlc_hourly", "vehicle_trips_with_missing", "wiki-rolling_nips", "wind_farms_with_missing", "wind_power", "Own original additive synthetic generator, copied from overflow_control/data.py; no new generator"], "validation_training": false, "training_queued": false} + +2026-10-24T03:55:18.682331+00:00: E181 CPU checks {"experiment": "E181", "utc": "2026-10-24T03:55:18.682331+00:00", "training_seed": 197, "fixture_seed": 1301, "parameters": 36800800, "initial_checkpoint_sha256": "22c08571978be31ba57368eb983089a40a44d56d4ae5e17da41afd2a761a258c", "model_sha256": "1098450ce27e099bde7ba99e7fa06737a33e21aa67af5d96253acf5a14fad39a", "sampler_sha256": "6537d67ec1d76490015e5bb71a24a0317734ba7bec879628e6547e0a21a2b6e0", "only_declared_loss_lines_changed": true, "architecture_and_initial_inference_bitwise_equal": true, "sampler_rows": 2048, "sampler_values_masks_periods_and_rng_bitwise_equal": true, "independent_analytic_penalty_and_gradient_checks": true, "no_target_rows_zero_penalty": true, "sign_pair_invariance": true, "actual_corpus_original_loss": 0.2187490463256836, "actual_corpus_candidate_loss": 0.24717943370342255, "seconds": 5.785929111996666, "optimizer_updates": 0, "validation_data_read": false} + +2026-10-24T03:56:57.177026+00:00: Scheduled main-cutoff learning diagnostic {"utc": "2026-10-24T03:56:57.177026+00:00", "experiment": "E152refreshfull", "run": "ensemble_gate_refresh_full", "step": 3000, "skill": 0.38971418471128794, "checkpoint_sha256": "a67c849c23309916825269bcfa192ee49ba4a227ee971d4165e8eeaec8ce70c4", "eval_seconds": 107.09061816707253, "comparisons": [{"control": "ensemble_gate_refresh", "control_checkpoint_sha256": "878d5a019653ea7f2d6351f14aeffc3c6f759cc4eaf6167e3f26be1328de2b8c", "control_skill": 0.38975708067973336, "delta": -4.2895968445422206e-05, "group_deltas": {"term": {"long": 0.00011648926777174662, "medium": 1.038497354988177e-05, "short": -0.00012900980140551077}, "domain": {"Econ/Fin": 0.00026794946363173366, "Energy": 3.2159856048097346e-05, "Healthcare": -0.0007236046176796185, "Nature": 0.00017373299164147316, "Sales": -5.819975019949464e-05, "Transport": -6.139132106119938e-06, "Web/CloudOps": -0.00017527830773578223}, "frequency": {"A": -0.00011427998242230508, "D": -0.0004270959868363233, "H": -8.04650696628606e-06, "M": 0.0003768244553564726, "Q": -6.42974470665969e-07, "S": 0.0001301478138361345, "T": -6.792060847937709e-05, "W": 0.00039909731329235143}, "variates": {"multivariate": 4.1559721975836794e-05, "univariate": -0.00011277410673826704}}}, {"control": "ensemble_gate_full", "control_checkpoint_sha256": "1ec4b5559535984b11307285400ac7262ce03447f82355979afa973398fb9b2c", "control_skill": 0.38926759849648274, "delta": 0.0004465862148052002, "group_deltas": {"term": {"long": -0.00010214769033412008, "medium": 0.0005346404256666437, "short": 0.0006325206532373784}, "domain": {"Econ/Fin": -0.00011229093120501688, "Energy": -2.534779480967142e-05, "Healthcare": 0.009349340876666945, "Nature": -0.0005074770277635476, "Sales": 0.0011342609249653801, "Transport": 4.371339498221438e-05, "Web/CloudOps": -0.0003018325222385876}, "frequency": {"A": -0.0006297223857777423, "D": 0.00022471508987298439, "H": 0.0011828064800990523, "M": 0.004392739917563282, "Q": 0.0006275064888763282, "S": 0.00033633714807534965, "T": -0.000859206137078572, "W": 0.0021090875171525525}, "variates": {"multivariate": 0.00015285509994966695, "univariate": 0.0006896480472959876}}}], "decision": "Scheduled main-cutoff factorial diagnostic only. Keep original primary6000/final12000 endpoints. E178gate substitution is eligible only at predeclared primary6000 after both matched source gates; no3000 selection.", "new_neural_inference": false, "new_training": false}. No additional training or inference. + +2026-10-24T03:57:36.063731+00:00: E181 engineering review {"utc": "2026-10-24T03:57:36.063731+00:00", "experiment": "E181", "engineering_passed": true, "cpu": {"experiment": "E181", "utc": "2026-10-24T03:55:18.682331+00:00", "training_seed": 197, "fixture_seed": 1301, "parameters": 36800800, "initial_checkpoint_sha256": "22c08571978be31ba57368eb983089a40a44d56d4ae5e17da41afd2a761a258c", "model_sha256": "1098450ce27e099bde7ba99e7fa06737a33e21aa67af5d96253acf5a14fad39a", "sampler_sha256": "6537d67ec1d76490015e5bb71a24a0317734ba7bec879628e6547e0a21a2b6e0", "only_declared_loss_lines_changed": true, "architecture_and_initial_inference_bitwise_equal": true, "sampler_rows": 2048, "sampler_values_masks_periods_and_rng_bitwise_equal": true, "independent_analytic_penalty_and_gradient_checks": true, "no_target_rows_zero_penalty": true, "sign_pair_invariance": true, "actual_corpus_original_loss": 0.2187490463256836, "actual_corpus_candidate_loss": 0.24717943370342255, "seconds": 5.785929111996666, "optimizer_updates": 0, "validation_data_read": false}, "gpu": {"experiment": "E181", "utc": "2026-10-24T03:56:03.716034+00:00", "training_seed": 197, "fixture_seed": 1307, "parameters": 36800800, "initial_checkpoint_sha256": "22c08571978be31ba57368eb983089a40a44d56d4ae5e17da41afd2a761a258c", "model_sha256": "1098450ce27e099bde7ba99e7fa06737a33e21aa67af5d96253acf5a14fad39a", "sampler_sha256": "6537d67ec1d76490015e5bb71a24a0317734ba7bec879628e6547e0a21a2b6e0", "deterministic_training": true, "cublas_workspace_config": ":4096:8", "compile_loss": false, "maximum_shape_memory": {"batch": 64, "signed_rows": 128, "context": 4096, "horizon": 1024, "peak_allocated_mib": 5783.81689453125, "peak_reserved_mib": 6266.0, "includes_adam_and_ema_placeholders": true}, "loss": 0.3405478298664093, "all_gradients_finite": true, "initial_parameters_bitwise_unchanged": true, "lock_wait_seconds": 0.00058786291629076, "seconds": 13.055278329178691, "optimizer_updates": 0, "validation_data_read": false}, "recovery_receipt": "/workspace/research/window_mean_loss_recovery_checks.json", "recovery_seconds": 84.95899700606242, "recovery_comparisons": {"uninterrupted_repeat": {"model": {"tensor_count": 198, "tensor_elements": 36800800, "different_tensors": 0, "maximum_abs_difference": 0.0, "sum_squared_difference": 0.0, "sum_squared_reference": 35162.001576709525, "bitwise_equal": true}, "ema_state": {"tensor_count": 198, "tensor_elements": 36800800, "different_tensors": 0, "maximum_abs_difference": 0.0, "sum_squared_difference": 0.0, "sum_squared_reference": 35162.001577611874, "bitwise_equal": true}, "optimizer": {"tensor_count": 594, "tensor_elements": 73601798, "different_tensors": 0, "maximum_abs_difference": 0.0, "sum_squared_difference": 0.0, "sum_squared_reference": 0.001651304729264991, "bitwise_equal": true, "relative_l2_difference": 0.0}, "batch_rng_state": {"tensor_count": 0, "tensor_elements": 0, "different_tensors": 0, "maximum_abs_difference": 0.0, "sum_squared_difference": 0.0, "sum_squared_reference": 0.0, "bitwise_equal": true}, "sampler_rng_state": {"tensor_count": 0, "tensor_elements": 0, "different_tensors": 0, "maximum_abs_difference": 0.0, "sum_squared_difference": 0.0, "sum_squared_reference": 0.0, "bitwise_equal": true}, "sampler_rng_states": {"tensor_count": 0, "tensor_elements": 0, "different_tensors": 0, "maximum_abs_difference": 0.0, "sum_squared_difference": 0.0, "sum_squared_reference": 0.0, "bitwise_equal": true}, "torch_rng_state": {"tensor_count": 1, "tensor_elements": 5056, "different_tensors": 0, "maximum_abs_difference": 0.0, "sum_squared_difference": 0.0, "sum_squared_reference": 0.0, "bitwise_equal": true}, "cuda_rng_state": {"tensor_count": 1, "tensor_elements": 16, "different_tensors": 0, "maximum_abs_difference": 0.0, "sum_squared_difference": 0.0, "sum_squared_reference": 0.0, "bitwise_equal": true}, "prefetched_batch": {"tensor_count": 0, "tensor_elements": 0, "different_tensors": 0, "maximum_abs_difference": 0.0, "sum_squared_difference": 0.0, "sum_squared_reference": 0.0, "bitwise_equal": true}, "parent_checkpoints": {"tensor_count": 0, "tensor_elements": 0, "different_tensors": 0, "maximum_abs_difference": 0.0, "sum_squared_difference": 0.0, "sum_squared_reference": 0.0, "bitwise_equal": true}}, "uninterrupted_vs_restart": {"model": {"tensor_count": 198, "tensor_elements": 36800800, "different_tensors": 0, "maximum_abs_difference": 0.0, "sum_squared_difference": 0.0, "sum_squared_reference": 35162.001576709525, "bitwise_equal": true}, "ema_state": {"tensor_count": 198, "tensor_elements": 36800800, "different_tensors": 0, "maximum_abs_difference": 0.0, "sum_squared_difference": 0.0, "sum_squared_reference": 35162.001577611874, "bitwise_equal": true}, "optimizer": {"tensor_count": 594, "tensor_elements": 73601798, "different_tensors": 0, "maximum_abs_difference": 0.0, "sum_squared_difference": 0.0, "sum_squared_reference": 0.001651304729264991, "bitwise_equal": true, "relative_l2_difference": 0.0}, "batch_rng_state": {"tensor_count": 0, "tensor_elements": 0, "different_tensors": 0, "maximum_abs_difference": 0.0, "sum_squared_difference": 0.0, "sum_squared_reference": 0.0, "bitwise_equal": true}, "sampler_rng_state": {"tensor_count": 0, "tensor_elements": 0, "different_tensors": 0, "maximum_abs_difference": 0.0, "sum_squared_difference": 0.0, "sum_squared_reference": 0.0, "bitwise_equal": true}, "sampler_rng_states": {"tensor_count": 0, "tensor_elements": 0, "different_tensors": 0, "maximum_abs_difference": 0.0, "sum_squared_difference": 0.0, "sum_squared_reference": 0.0, "bitwise_equal": true}, "torch_rng_state": {"tensor_count": 1, "tensor_elements": 5056, "different_tensors": 0, "maximum_abs_difference": 0.0, "sum_squared_difference": 0.0, "sum_squared_reference": 0.0, "bitwise_equal": true}, "cuda_rng_state": {"tensor_count": 1, "tensor_elements": 16, "different_tensors": 0, "maximum_abs_difference": 0.0, "sum_squared_difference": 0.0, "sum_squared_reference": 0.0, "bitwise_equal": true}, "prefetched_batch": {"tensor_count": 0, "tensor_elements": 0, "different_tensors": 0, "maximum_abs_difference": 0.0, "sum_squared_difference": 0.0, "sum_squared_reference": 0.0, "bitwise_equal": true}, "parent_checkpoints": {"tensor_count": 0, "tensor_elements": 0, "different_tensors": 0, "maximum_abs_difference": 0.0, "sum_squared_difference": 0.0, "sum_squared_reference": 0.0, "bitwise_equal": true}}}, "engineering_seconds": 102.81061006314121, "optimizer_updates": 18, "fixture_only": true, "outcome": "Eligible for guarded bounded12k launch on the existing singleH100 if measured peak plus12000MiB headroom is available. No validation results or production updates. Original own E62initial, seed197/B64/LR2e-5/eagerBF16/12k and fixed0.125 loss unchanged.", "numerical_mode": "Deterministic kernels declared upfront. Historical E80 used its original numerical mode, so this remains an explicit comparison limitation; short fixture repeatability is not a guarantee for a full run."} + +E181 fixed window-mean auxiliary objective seed197 training started at 2026-10-24T03:57:36Z, as an authorized immediate bounded trial; required checkpoint files are present. Settings are unchanged from the declared comparison. + +2026-10-24T03:57:43.061248+00:00: E181 guarded launch {"utc": "2026-10-24T03:57:43.061248+00:00", "experiment": "E181", "session": 9137, "pid": 23949, "status": "bounded production run launched", "started_utc": "2026-10-24T03:57:36.409074+00:00", "maximum_shape_reserved_mib": 6266.0, "required_remaining_headroom_mib": 12000, "physical_gpus": 1, "seconds": 0.10396624496206641, "observed_free_mib": 21308.0, "observed_total_mib": 81559.0, "command": ["python3", "/workspace/research/recovery/train.py", "--code-dir", "/workspace/research/window_mean_loss", "--packed", "/workspace/research/packed_sample", "--source-weights-from", "/workspace/research/packed_sample", "--out", "/workspace/research/runs/window_mean_loss", "--initialize-from", "/workspace/research/horizon_delta12k.pt", "--steps", "12000", "--batch", "64", "--lr", ".00002", "--seed", "197", "--loss-mode", "paired", "--deterministic-training", "--stop-file", "/workspace/research/window_mean_loss.stop"], "queue_pid": 23952, "watch_pid": 23953, "comparison_pid": 23954, "initial_checkpoint_sha256": "22c08571978be31ba57368eb983089a40a44d56d4ae5e17da41afd2a761a258c", "launched_utc": "2026-10-24T03:57:36.513000+00:00"} + +2026-10-24T03:59:35.791425+00:00: E182 conditional fixed seven-expert blend declared {"experiment": "E182", "declared_utc": "2026-10-24T03:59:35.791425+00:00", "status": "declared before original E145primary48 checkpoint", "hypothesis": "The building-heavy full-corpus mixture has positive scheduled main diagnostics at4/8/16/24k against its original E110control, with persistent Energy and long-horizon regressions. If its original fourcutoff source comparisons pass, test whether its different training mixture contributes complementary errors to the current fixed ensemble. No early checkpoint is selected.", "frozen_parent_descriptor": "a75fdfcbb4d8e38dd6e7cded3c097ff0a129976fa63277bfd277a6031ccc6140", "parent_probe_prefix": "gate_six_blend", "member_checkpoint_hashes": ["0b11b7351a4a92d1d18c71a4159ec445be3a94ace8c7a9fa0edafad87d14e960", "308389b7217c080af9eb185559d4ee3cafa0f3e0f8c4dd8f5526b68198c89988", "1a2fb20a9fb5cae6526f2e36ea47559626bece78fd9c284899836505030ae9fe", "d7cfcd72c3cb84aa69e447b76c4c3ab98c21b7c600a463f0b805f4b4300baf33", "2877a38b94a7d77a53a9df410349cecc2f6ab134c83a76744924543bbe73eb17", "4b309f0721378f97db815dd511b8b54711348270c48e9eae0103dba506f66708"], "new_member_run": "random_capacity_buildings", "new_member_steps": [48000, 96000], "source_control": "random_capacity_full", "gate_run": "ensemble_gate_refresh", "gate_step": 6000, "gate_checkpoint_sha256": "a7d0ee6866ea787f29eac043531aad3613674f159fd00b3491fd87fab8388fd1", "parameters": 695910156, "new_member_parameters": 146477344, "blend_coefficient": 0.5, "horizon_threshold": 720, "composition": "All seven experts and unchanged E152primary6k gate execute everyinstance. Preserve ordered E172 as C; form ordered FP32quartet Q=(F0+F1+F2+E145endpoint)/4; final(C+Q)/2. Keep original gate inputs F0/F1/F2/F3, original H720rule and all arithmetic grouping.", "source_training": "Existing E145 full95corpus/balancing study: ownuntrainedE79initialc9693619ca6277c26fef3b2bde37ff6796bec97b3af9f94588bbc5ddd329ec90,seed307/B48/LR1e-4/slowAR/original96k. Only buildings_900k source probability x4 then renormalize, allotherrelativeprobabilities/synthetic20percent unchanged; E110full-corpus matched control. No new training.", "source_gate": "For each declared primary48000/final96000, require>=3positive and positive mean versus E110at SAMEstep. Source failure leaves that endpoint composition untested; retain original96 endpoint regardless ofprimary result.", "selection": "At each eligible endpoint, one cached four-cutoff composition comparison. Require>=3positive and positive mean versus frozenE172 and then-current publication; only ifpassed build portable candidate and complete all-forward, independent arithmetic, relocation, runtime and full97public replay before publication. No automaticpromotion.", "checkpoint_choices": "Only original48/96; no24k/72k, coefficient, sourcegate or horizon-threshold sweep.", "new_training": false, "optimizer_updates": 0, "training_queued": false} + +2026-10-24T04:03:17.004501+00:00: Scheduled main-cutoff learning diagnostic {"utc": "2026-10-24T04:03:17.004501+00:00", "experiment": "E181", "run": "window_mean_loss", "step": 1000, "skill": 0.37743780965359874, "checkpoint_sha256": "0423a354ada38d471eac4f6beba0b1aaf6a264df26abb0ba1bd7b2ba87f0b84a", "eval_seconds": 27.80988907814026, "comparisons": [{"control": "overflow_control", "control_checkpoint_sha256": "fb64456ba0c2ebef979b8525274132618fe542f67e7193036e4a013de6629f5c", "control_skill": 0.37680439430493307, "delta": 0.000633415348665678, "group_deltas": {"term": {"long": 0.0007282696838469827, "medium": 9.534049058412819e-05, "short": 0.0008164155874020862}, "domain": {"Econ/Fin": -0.0008633542185458865, "Energy": 0.0014758493139404028, "Healthcare": 0.0006852711890539265, "Nature": 0.0014008748171854268, "Sales": -0.0014630203308833023, "Transport": -0.003430817262624286, "Web/CloudOps": 0.0026124250262561377}, "frequency": {"A": 0.0009761182034047078, "D": 0.0025528564622621097, "H": -0.00036396510283964734, "M": -0.00033224853913593755, "Q": 0.000562291947562521, "S": 0.0004733533226566333, "T": -0.00017668579532159612, "W": 0.005956279544949816}, "variates": {"multivariate": 0.0017197584896725404, "univariate": -0.00027404533783736973}}}], "decision": "Early scheduled main-cutoff learning diagnostic only. Original primary6000/final12000 matched fourcutoff endpoints and fixed0.125 auxiliary coefficient remain unchanged. Historical E80 numerical-mode difference is explicit; no early checkpoint selection or transfer.", "new_neural_inference": false, "new_training": false}. No additional training or inference. + +2026-10-24T04:04:47.006630+00:00: E180 descriptive composition control declared {"declared_utc": "2026-10-24T04:04:47.006630+00:00", "experiment": "E180", "role": "Descriptive attribution only, before any composition results exist", "when": "Only if an originally declared candidate composition qualifies for further review", "formula": "Keep exact frozen E172 as C; replace ONLY the new member in Q by its matched source control at SAME original step, and compute(C+Qcontrol)/2 with the same ordered FP32arithmetic. Compare candidate, matched-composition-control, and C on the same four cached panels.", "control_run": "random_capacity_1024", "steps": [48000, 96000], "new_training": false, "new_neural_inference": false, "selection_changed": false, "limitation": "The originally declared selection gates remain unchanged. This descriptive control is not a new selectable package or coefficient sweep; it separates expert improvement from reweighting existing experts."} + +2026-10-24T04:04:47.006630+00:00: E182 descriptive composition control declared {"declared_utc": "2026-10-24T04:04:47.006630+00:00", "experiment": "E182", "role": "Descriptive attribution only, before any composition results exist", "when": "Only if an originally declared candidate composition qualifies for further review", "formula": "Keep exact frozen E172 as C; replace ONLY the new member in Q by its matched source control at SAME original step, and compute(C+Qcontrol)/2 with the same ordered FP32arithmetic. Compare candidate, matched-composition-control, and C on the same four cached panels.", "control_run": "random_capacity_full", "steps": [48000, 96000], "new_training": false, "new_neural_inference": false, "selection_changed": false, "limitation": "The originally declared selection gates remain unchanged. This descriptive control is not a new selectable package or coefficient sweep; it separates expert improvement from reweighting existing experts."} + +2026-10-24T04:06:32.889244+00:00: E181 matched error-structure diagnostic {"utc": "2026-10-24T04:06:32.889244+00:00", "experiment": "E181", "step": 1000, "cutoff": "valid_screen", "candidate_checkpoint_sha256": "0423a354ada38d471eac4f6beba0b1aaf6a264df26abb0ba1bd7b2ba87f0b84a", "control_checkpoint_sha256": "fb64456ba0c2ebef979b8525274132618fe542f67e7193036e4a013de6629f5c", "overall": {"configs": 97, "mase_geometric_ratio": 0.9983464456259397, "mase_improved_configs": 59, "absolute_window_mean_error_geometric_ratio": 0.9672480901601357, "absolute_window_mean_error_improved_configs": 70}, "groups": {"term": {"long": {"configs": 21, "mase_geometric_ratio": 0.9978924063446467, "mase_improved_configs": 13, "absolute_window_mean_error_geometric_ratio": 0.9633727559070333, "absolute_window_mean_error_improved_configs": 18}, "medium": {"configs": 21, "mase_geometric_ratio": 1.0001174397186015, "mase_improved_configs": 12, "absolute_window_mean_error_geometric_ratio": 0.9626619700225767, "absolute_window_mean_error_improved_configs": 15}, "short": {"configs": 55, "mase_geometric_ratio": 0.9978443731116975, "mase_improved_configs": 34, "absolute_window_mean_error_geometric_ratio": 0.9704913893160829, "absolute_window_mean_error_improved_configs": 37}}, "domain": {"Econ/Fin": {"configs": 6, "mase_geometric_ratio": 1.0009119043952648, "mase_improved_configs": 5, "absolute_window_mean_error_geometric_ratio": 1.0006393140247674, "absolute_window_mean_error_improved_configs": 5}, "Energy": {"configs": 32, "mase_geometric_ratio": 0.9981239047175742, "mase_improved_configs": 20, "absolute_window_mean_error_geometric_ratio": 0.9914705594085177, "absolute_window_mean_error_improved_configs": 20}, "Healthcare": {"configs": 5, "mase_geometric_ratio": 0.9999088096416895, "mase_improved_configs": 3, "absolute_window_mean_error_geometric_ratio": 0.9751570477626803, "absolute_window_mean_error_improved_configs": 4}, "Nature": {"configs": 15, "mase_geometric_ratio": 0.9931493847251338, "mase_improved_configs": 8, "absolute_window_mean_error_geometric_ratio": 0.9239931115431914, "absolute_window_mean_error_improved_configs": 10}, "Sales": {"configs": 4, "mase_geometric_ratio": 1.005345589217449, "mase_improved_configs": 2, "absolute_window_mean_error_geometric_ratio": 0.9619160245215799, "absolute_window_mean_error_improved_configs": 3}, "Transport": {"configs": 15, "mase_geometric_ratio": 1.0076017519322755, "mase_improved_configs": 7, "absolute_window_mean_error_geometric_ratio": 0.9633744702632946, "absolute_window_mean_error_improved_configs": 12}, "Web/CloudOps": {"configs": 20, "mase_geometric_ratio": 0.9931606603725466, "mase_improved_configs": 14, "absolute_window_mean_error_geometric_ratio": 0.954407325746941, "absolute_window_mean_error_improved_configs": 16}}, "frequency": {"10S": {"configs": 6, "mase_geometric_ratio": 0.9986249455565753, "mase_improved_configs": 4, "absolute_window_mean_error_geometric_ratio": 0.9908872513255774, "absolute_window_mean_error_improved_configs": 3}, "10T": {"configs": 6, "mase_geometric_ratio": 1.0002060676134021, "mase_improved_configs": 4, "absolute_window_mean_error_geometric_ratio": 0.9989066092133111, "absolute_window_mean_error_improved_configs": 3}, "15T": {"configs": 12, "mase_geometric_ratio": 0.9976840405445361, "mase_improved_configs": 7, "absolute_window_mean_error_geometric_ratio": 0.9681382073971427, "absolute_window_mean_error_improved_configs": 10}, "5T": {"configs": 12, "mase_geometric_ratio": 1.0026190789619718, "mase_improved_configs": 6, "absolute_window_mean_error_geometric_ratio": 0.9759797469273367, "absolute_window_mean_error_improved_configs": 9}, "A-DEC": {"configs": 1, "mase_geometric_ratio": 0.9983422169804339, "mase_improved_configs": 1, "absolute_window_mean_error_geometric_ratio": 0.9972553506298154, "absolute_window_mean_error_improved_configs": 1}, "D": {"configs": 15, "mase_geometric_ratio": 0.9949768178361772, "mase_improved_configs": 12, "absolute_window_mean_error_geometric_ratio": 0.9778047734533478, "absolute_window_mean_error_improved_configs": 12}, "H": {"configs": 31, "mase_geometric_ratio": 0.999837484709188, "mase_improved_configs": 17, "absolute_window_mean_error_geometric_ratio": 0.9684280752380251, "absolute_window_mean_error_improved_configs": 22}, "M": {"configs": 5, "mase_geometric_ratio": 0.9985602949106313, "mase_improved_configs": 3, "absolute_window_mean_error_geometric_ratio": 0.9006039929792772, "absolute_window_mean_error_improved_configs": 4}, "Q-DEC": {"configs": 1, "mase_geometric_ratio": 0.9990373881174498, "mase_improved_configs": 1, "absolute_window_mean_error_geometric_ratio": 0.9981711712757988, "absolute_window_mean_error_improved_configs": 1}, "W-FRI": {"configs": 2, "mase_geometric_ratio": 1.0034623969860088, "mase_improved_configs": 1, "absolute_window_mean_error_geometric_ratio": 1.0043491387013108, "absolute_window_mean_error_improved_configs": 1}, "W-SUN": {"configs": 1, "mase_geometric_ratio": 1.0110178781203578, "mase_improved_configs": 0, "absolute_window_mean_error_geometric_ratio": 1.0124638100239418, "absolute_window_mean_error_improved_configs": 0}, "W-THU": {"configs": 3, "mase_geometric_ratio": 0.9785348852819173, "mase_improved_configs": 2, "absolute_window_mean_error_geometric_ratio": 0.8324946442291142, "absolute_window_mean_error_improved_configs": 2}, "W-TUE": {"configs": 1, "mase_geometric_ratio": 0.9762692738465167, "mase_improved_configs": 1, "absolute_window_mean_error_geometric_ratio": 0.9214813299876502, "absolute_window_mean_error_improved_configs": 1}, "W-WED": {"configs": 1, "mase_geometric_ratio": 1.0045833922328975, "mase_improved_configs": 0, "absolute_window_mean_error_geometric_ratio": 0.9817713009398965, "absolute_window_mean_error_improved_configs": 1}}}, "candidate_diagnostic_seconds": 0.5712768728844821, "control_diagnostic_seconds": 0.6586621140595526, "analysis_seconds": 0.008259355090558529, "optimizer_updates": 0, "new_neural_inference": false, "interpretation": "Ratios below1 indicate improvement against the matched E80checkpoint. Absolute per-window mean error is a descriptive Jensen bound, not recoverable error. Lower mean-error can coexist with higher pointwiseMASE, as observed in some groups; it does not justify a correction or prove causality. This uses an adaptively observed main validation panel and an explicit deterministic-mode difference, not independent test data. No hyperparameters, endpoint choices or forecasts changed."} + +2026-10-24T04:11:07.307267+00:00: Existing corpus-by-LR curve analysis {"utc": "2026-10-24T04:11:07.307267+00:00", "artifacts": {"json": "/workspace/research/analysis/corpus_lr_curve_table_20261024_041041.json", "markdown": "/workspace/research/analysis/corpus_lr_curve_table_20261024_041041.md", "csv": "/workspace/research/analysis/corpus_lr_curve_table_20261024_041041.csv"}, "seconds": 0.20934310788288713, "seed": 307, "initial_checkpoint_sha256": "c9693619ca6277c26fef3b2bde37ff6796bec97b3af9f94588bbc5ddd329ec90", "latest_complete_factorial": [{"term": "all", "step": 72000, "skills": {"old_high": 0.36736566458978936, "old_low": 0.36653362293692227, "full_high": 0.3673329009111743, "full_low": 0.36820304557446126}, "data_gain_log_error": {"high": -5.178794195442871e-05, "low": 0.002638855588006306}, "interaction_log_error": -0.0026906435299607345}, {"term": "long", "step": 72000, "skills": {"old_high": 0.3867314916178265, "old_low": 0.3810110050273078, "full_high": 0.38814467568829036, "full_low": 0.3878098915941469}, "data_gain_log_error": {"high": 0.0023070071114962287, "low": 0.011044624881695109}, "interaction_log_error": -0.00873761777019888}, {"term": "medium", "step": 72000, "skills": {"old_high": 0.38980863683884726, "old_low": 0.39200471589198993, "full_high": 0.39247418327152384, "full_low": 0.3937652080308033}, "data_gain_log_error": {"high": 0.004377947086748268, "low": 0.0028997690093722772}, "interaction_log_error": 0.0014781780773759912}, {"term": "short", "step": 72000, "skills": {"old_high": 0.35092097866850547, "old_low": 0.35082385930961424, "full_high": 0.34920269124603776, "full_low": 0.3503886087074448}, "data_gain_log_error": {"high": -0.0026437721551402227, "low": -0.0006702414486511876}, "interaction_log_error": -0.001973530706489035}], "checkpoint_hashes_latest_complete": {"random_capacity_1024": "baa71611dff2da76515319d144b23e31e19304772ad4401fc4a18ea03f07a499", "random_capacity_1024_halflr": "1f20fbc689daeb4c9761714dbe10f442ab41488d027207e7899a0cd3de1add3c", "random_capacity_full_highlr": "b10dcd4dc5d92e912a18a12178d892a0cc5898cd5feb676dcf8043721ce61aad", "random_capacity_full": "9905ad079d2a5d0590708039830e22f4d6fa74912810b8eb6d928e91dcda883d"}, "optimizer_updates": 0, "new_neural_inference": false, "outcome": "Descriptive main-panel learning curves only. Final96000 remains pending forE147; original endpoints and allocations unchanged. Optional plotting dependency absent; preserved failed plotting log and generated CSV/Markdown without installing anything."} + +2026-10-24T04:11:45.145368+00:00: Scheduled main-cutoff learning diagnostic {"utc": "2026-10-24T04:11:45.145368+00:00", "experiment": "E181", "run": "window_mean_loss", "step": 3000, "skill": 0.3793199431184674, "checkpoint_sha256": "3a1bce22b8b896f1aa2a048da9df68aad71f50d6cf6bee6d0cb8dd70eba6c325", "eval_seconds": 29.093452215194702, "comparisons": [{"control": "overflow_control", "control_checkpoint_sha256": "2084f1888f8d9e5afe2c740769ea2b4167086cdd62dfb4014bc3a338c00d4c12", "control_skill": 0.37866382508046315, "delta": 0.0006561180380042497, "group_deltas": {"term": {"long": 0.0002574244080116861, "medium": -0.00032436091194421035, "short": 0.0012234119722844827}, "domain": {"Econ/Fin": -0.0014091863290690565, "Energy": 0.002179735220895651, "Healthcare": -0.002380269044686467, "Nature": 0.0017748597793616483, "Sales": -0.001025684210716582, "Transport": -0.0035180395898972705, "Web/CloudOps": 0.002472017825656758}, "frequency": {"A": 0.000341551699415521, "D": 0.0010420755512676738, "H": 5.141509152284396e-05, "M": 0.002938657852991411, "Q": -0.00016524875089929392, "S": -0.0003325646907310631, "T": 0.00019009183346840874, "W": 0.005043719916116407}, "variates": {"multivariate": 0.0018432528189398223, "univariate": -0.0003439864995665731}}}], "decision": "Second scheduled main-cutoff learning diagnostic only. Original primary6000/final12000 matched fourcutoff endpoints and fixed0.125 auxiliary coefficient remain unchanged. Historical E80 numerical-mode difference remains explicit; no3000 selection or transfer.", "new_neural_inference": false, "new_training": false}. No additional training or inference. + +2026-10-24T04:17:39.200092+00:00: E181 endpoint error diagnostics prepared {"utc": "2026-10-24T04:17:39.200092+00:00", "experiment": "E181", "role": "Descriptive diagnostics at original6000/12000 endpoints only", "script": "/workspace/research/window_mean_objective/review_errors_all_cutoffs.py", "plan": "After each scheduled matched fourcutoff comparison exists, quantify absolute window-mean median errors and pointwiseMASE from the SAME cached candidate/control forecasts on each cutoff. Original selection gates and fixed0.125 coefficient unchanged; no additional training or neural inference. Ratios across eligible config sets remain descriptive, not benchmark scores.", "new_training": false, "new_neural_inference": false} + +E157 random_capacity_long_seasonal_distill seed307 fixed LR1e-4 training started at 2026-10-24T04:18:06Z, after the declared dependency processes exited; required checkpoint files are present. Settings are unchanged from the declared comparison. + +2026-10-24T04:18:45.392568+00:00: Original E147training complete {"experiment": "E147", "run": "random_capacity_full_highlr", "completed_utc": "2026-10-24T04:18:01Z", "completed_step": 96000, "training_process_seconds": 20237.286511349026, "training_process_loop_seconds": 20174.71834988799, "phase_log": "/workspace/research/random_capacity_full_highlr_train_recovery4.log", "scope": "Shared single-H100 process wall and its loop; not isolated GPU time. Original96k complete; final fourcutoff validation pending."}; E157feature-distillation allocation now running. + +2026-10-24T04:20:12.703410+00:00: Scheduled main-cutoff learning diagnostic {"utc": "2026-10-24T04:20:12.703410+00:00", "experiment": "E147finalmain", "run": "random_capacity_full_highlr", "step": 96000, "skill": 0.3678897414770492, "checkpoint_sha256": "db18302560ead9b5476cffd44359c8957673e62c34e68afb89b50d355a20ef28", "eval_seconds": 37.03971338272095, "comparisons": [{"control": "random_capacity_full", "control_checkpoint_sha256": "76d63bae25a069c699a5025715ac3f5f89f18b27f2dc61340f14474e305616ba", "control_skill": 0.36864499082324387, "delta": -0.0007552493461946419, "group_deltas": {"term": {"long": 0.006668580922152834, "medium": -0.0035731470371741514, "short": -0.0026071008624778402}, "domain": {"Econ/Fin": -0.01364663461358917, "Energy": -0.013618758104388506, "Healthcare": 0.0071289480303269315, "Nature": 0.005583146832359609, "Sales": -0.012900781695967867, "Transport": 0.003456123818793566, "Web/CloudOps": 0.008038745744306519}, "frequency": {"A": -0.0008347979097897973, "D": -0.010285251115572103, "H": -0.0017595314366565251, "M": 0.04790121661687263, "Q": 0.0029767867518104563, "S": 0.0017204127324896845, "T": 0.001472209859271989, "W": -0.012785219026801076}, "variates": {"multivariate": 0.0005020671814918165, "univariate": -0.0018024519059414157}}}, {"control": "random_capacity_1024", "control_checkpoint_sha256": "d7cfcd72c3cb84aa69e447b76c4c3ab98c21b7c600a463f0b805f4b4300baf33", "control_skill": 0.37118082660619867, "delta": -0.0032910851291494403, "group_deltas": {"term": {"long": 0.005868649732716613, "medium": -0.002209628932050678, "short": -0.0074314958408576715}, "domain": {"Econ/Fin": -0.0018702397641342516, "Energy": -0.007201578911505413, "Healthcare": -0.0743640894497487, "Nature": 0.007823270961786255, "Sales": -0.002205111396217485, "Transport": 0.005838894130883898, "Web/CloudOps": 0.003638376878799865}, "frequency": {"A": -0.006984345789323054, "D": 9.927045682323055e-05, "H": -0.002369696992987169, "M": -0.07142465283557786, "Q": -0.0033465805993414532, "S": 0.0015794302524799742, "T": 0.005899992728655046, "W": -0.02921628745518401}, "variates": {"multivariate": 0.003823107302333373, "univariate": -0.00916761706543956}}}], "decision": "Final main-panel result only; original final fourcutoff evaluation remains in progress. Do not substitute72000 or change source/composition gates. Final endpoint review must include both matched controls and the original E147log-error interaction.", "new_neural_inference": false, "new_training": false}. No additional training or inference. + +2026-10-24T04:21:59.262268+00:00: E183 separately declared final long-horizon blend {"experiment": "E183", "declared_utc": "2026-10-24T04:21:59.262268+00:00", "status": "Declared after final main result, before completed fourcutoff source results and before inspecting earlier long-group scores", "hypothesis": "E147final96 main loses globally but its long-term skill improves by0.00666858 versus E110full-lowLR and0.00586865 versus E79old-highLR. Test one fixed H>=720 blend only if this long-horizon gain holds across the original fourcutoff controls. This is an adaptive, separately declared hypothesis; E169global source gate remains unchanged.", "frozen_parent_descriptor": "a75fdfcbb4d8e38dd6e7cded3c097ff0a129976fa63277bfd277a6031ccc6140", "parent_probe_prefix": "gate_six_blend", "member_checkpoint_hashes": ["0b11b7351a4a92d1d18c71a4159ec445be3a94ace8c7a9fa0edafad87d14e960", "308389b7217c080af9eb185559d4ee3cafa0f3e0f8c4dd8f5526b68198c89988", "1a2fb20a9fb5cae6526f2e36ea47559626bece78fd9c284899836505030ae9fe", "d7cfcd72c3cb84aa69e447b76c4c3ab98c21b7c600a463f0b805f4b4300baf33", "2877a38b94a7d77a53a9df410349cecc2f6ab134c83a76744924543bbe73eb17", "4b309f0721378f97db815dd511b8b54711348270c48e9eae0103dba506f66708"], "new_member_run": "random_capacity_full_highlr", "new_member_steps": [96000], "source_control": "random_capacity_full", "gate_run": "ensemble_gate_refresh", "gate_step": 6000, "gate_checkpoint_sha256": "a7d0ee6866ea787f29eac043531aad3613674f159fd00b3491fd87fab8388fd1", "parameters": 695910156, "new_member_parameters": 146477344, "blend_coefficient": 0.5, "horizon_threshold": 720, "composition": "Compute all seven experts and unchanged E152primary6k gate for everyinstance. Preserve exact ordered E172 as C. Form ordered FP32 Q=(F0+F1+F2+E147final96)/4. If requestedH>=720 output(C+Q)/2; otherwise output C bitwiseunchanged. Reuse the existing720horizon threshold; no new threshold or coefficient sweep.", "source_training": "Completed original E147fresh146M, ownuntrainedE79initialc9693619...,full95pack with originaloldpack source probabilities,slowAR,seed307/B48/LR2e-4/original96k. No new training.", "source_gate": "On original final96000 only, require long-term skill positive on>=3of4cutoffs and positive mean versus BOTH E110full-lowLR96000 and E79old-highLR96000. Failure leaves this composition untested. Do not change E169global gates.", "selection": "Only if both long-term source gates pass: one fixed fourcutoff cached composition. Require>=3positive and positive mean against frozenE172 and then-current publication on overall skill. Verify every noneligible configuration is bitwiseunchanged. Then fullportable runtime/all-sevenforward checks and full97public replay before anypublication. No automaticpromotion.", "checkpoint_choices": "Original final96000 only; no72000/48000 substitution. All97current validation configs have long horizons720or900 and medium480or600; this is a fixed H>=720 rule, not dataset routing.", "new_training": false, "optimizer_updates": 0, "training_queued": false, "source_controls": ["random_capacity_full", "random_capacity_1024"], "source_control_hashes": ["76d63bae25a069c699a5025715ac3f5f89f18b27f2dc61340f14474e305616ba", "d7cfcd72c3cb84aa69e447b76c4c3ab98c21b7c600a463f0b805f4b4300baf33"], "new_member_checkpoint_sha256": "db18302560ead9b5476cffd44359c8957673e62c34e68afb89b50d355a20ef28", "eligible_horizon_minimum": 720, "prior_information": "Earlier first-backcast report existed at declaration but its long-group values were not inspected; later two backcast reports were absent. Hypothesis informed by final main only and prior declared curves.", "composition_attribution": "If candidate qualifies, descriptively replace only newF6 in Q with matchedE79final96 under the SAME H>=720 rule, to separate new-expert contrast from composition changes. This control is not eligible for publication or a new coefficient choice."} + +2026-10-24T04:23:56.270286+00:00: Scheduled main-cutoff learning diagnostic {"utc": "2026-10-24T04:23:56.270286+00:00", "experiment": "E152refreshfull", "run": "ensemble_gate_refresh_full", "step": 6000, "skill": 0.3896069046886559, "checkpoint_sha256": "2e5fe5b5bb3330477d4506b282d3d2e952653dd9f374140d3dc5e183052e5d41", "eval_seconds": 107.0373036810197, "comparisons": [{"control": "ensemble_gate_refresh", "control_checkpoint_sha256": "a7d0ee6866ea787f29eac043531aad3613674f159fd00b3491fd87fab8388fd1", "control_skill": 0.3895317981891372, "delta": 7.510649951869564e-05, "group_deltas": {"term": {"long": 0.00021497601441466951, "medium": 0.0001421255510276609, "short": -8.82019867565198e-06}, "domain": {"Econ/Fin": 0.00014253615271353492, "Energy": 0.00017929268198235704, "Healthcare": -7.077549069522959e-05, "Nature": 0.0002425422910496966, "Sales": -9.069029083874636e-05, "Transport": 0.00012153546826021433, "Web/CloudOps": -0.00013446552266671574}, "frequency": {"A": -5.929901986023722e-05, "D": -3.9825895087997054e-05, "H": 0.00011571664490428457, "M": -0.00016154656882205742, "Q": -6.452833478309827e-05, "S": 0.0001262540311838256, "T": -5.41900391616279e-05, "W": 0.0009043130016944678}, "variates": {"multivariate": 0.00016606676957175992, "univariate": -4.551865906421426e-08}}}, {"control": "ensemble_gate_full", "control_checkpoint_sha256": "6139fe43b33fb992e7bd60c611e3414b64f8f293f5f52e8bb4e8bb3fd0f9d341", "control_skill": 0.38920293834674424, "delta": 0.0004039663419116435, "group_deltas": {"term": {"long": -7.375179733259962e-06, "medium": 0.0002532932775972663, "short": 0.000631479950988445}, "domain": {"Econ/Fin": -7.367766348009841e-05, "Energy": -6.217006286379778e-05, "Healthcare": 0.009206601240205892, "Nature": -0.0007531577768308262, "Sales": 0.001716784262764115, "Transport": 4.119598712815087e-05, "Web/CloudOps": -0.0003320549676544271}, "frequency": {"A": -0.0007566074408290602, "D": -0.0001224627204489126, "H": 0.001135660466283217, "M": 0.005445379104137671, "Q": 0.0008761093632106975, "S": 0.0003390525050531723, "T": -0.0010211945937799172, "W": 0.0027689888916327954}, "variates": {"multivariate": 7.315251897344055e-05, "univariate": 0.000677248881264414}}}], "decision": "Primary6000 main result only; original fourcutoff comparisons still running. E178uses only this declared6000 source and requires both source gates, then a fixed composition comparison. No automatic substitution or final12000 alternative.", "new_neural_inference": false, "new_training": false}. No additional training or inference. + +2026-10-24T04:25:16.318296+00:00: Scheduled main-cutoff learning diagnostic {"utc": "2026-10-24T04:25:16.318296+00:00", "experiment": "E157", "run": "random_capacity_long_seasonal_halflr", "step": 16000, "skill": 0.3653282192051246, "checkpoint_sha256": "215e735d061e7efcb5b46fe080fafcef250b7ab2964c8e32cb137b0f4ee7db4e", "eval_seconds": 36.78859281539917, "comparisons": [{"control": "random_capacity_1024_halflr", "control_checkpoint_sha256": "19f9ead156ea9bc4a3edca1303bc5595057b2e1b89ff88e7bb7d9acf39618ba5", "control_skill": 0.35461566373218645, "delta": 0.010712555472938146, "group_deltas": {"term": {"long": 0.0029950836033486583, "medium": 0.00695988334851616, "short": 0.015399474051368323}, "domain": {"Econ/Fin": 0.0072222151234015985, "Energy": 0.002118240278959238, "Healthcare": 0.03867338199846837, "Nature": 0.007107479038706788, "Sales": -0.009010534304614959, "Transport": 0.009324344543019891, "Web/CloudOps": 0.0200847194077437}, "frequency": {"A": 0.003922351936650026, "D": 0.024761836154218675, "H": 0.008152737983100455, "M": -0.003425692920660639, "Q": -0.0028617500401685314, "S": 0.0010009374134229976, "T": 0.011215906802135245, "W": 0.007075725299895086}, "variates": {"multivariate": 0.010228872922671828, "univariate": 0.011108479120712889}}}, {"control": "random_capacity_long_seasonal", "control_checkpoint_sha256": "212a7ca2db307aba7701c508178767ebab976f47993fe7771a627d0b7f9bf06c", "control_skill": 0.3594786686401782, "delta": 0.005849550564946404, "group_deltas": {"term": {"long": 0.0014115275684722928, "medium": -0.007604045364218881, "short": 0.013265625408643178}, "domain": {"Econ/Fin": 0.005013027932450398, "Energy": -0.00030242373168731795, "Healthcare": 0.08960721923101311, "Nature": 0.00696408729013287, "Sales": 0.00020214122130324252, "Transport": 0.0052105343258475045, "Web/CloudOps": -0.004485701063633218}, "frequency": {"A": 0.017734135512349147, "D": 0.025942228925670996, "H": 0.003070654957472274, "M": 0.06336581873199298, "Q": 0.011948526052267927, "S": -0.0067845177160898995, "T": -0.0046265693520649576, "W": 0.006453552479025237}, "variates": {"multivariate": -0.002400722420876855, "univariate": 0.012728184644905993}}}], "decision": "Scheduled main-cutoff learning diagnostic only. Keep original primary48000/final96000 fourcutoff endpoints and the declared E157factorial; no early checkpoint selection or changed learning rate.", "new_neural_inference": false, "new_training": false}. No additional training or inference. + +E147 96000 four-cutoff comparison: {"label": "E147 96000 four-cutoff comparison", "utc": "2026-10-24T04:26:46.266541+00:00", "candidate": "random_capacity_full_highlr_ema96000", "control": "random_capacity_full_ema96000", "rows": [{"cutoff": "evals", "candidate_skill": 0.3678897414770492, "control_skill": 0.36864499082324387, "delta": -0.0007552493461946419, "candidate_checkpoint": "db18302560ead9b5476cffd44359c8957673e62c34e68afb89b50d355a20ef28", "control_checkpoint": "76d63bae25a069c699a5025715ac3f5f89f18b27f2dc61340f14474e305616ba", "candidate_eval_seconds": 37.03971338272095, "candidate_groups": {"term": {"long": {"n_configs": 21, "rel_mase_gmean": 0.754454114574204, "rel_wql_gmean": 0.4915915494740033}, "medium": {"n_configs": 21, "rel_mase_gmean": 0.7299909357155305, "rel_wql_gmean": 0.5038709806977045}, "short": {"n_configs": 55, "rel_mase_gmean": 0.7666735877708893, "rel_wql_gmean": 0.5534167836892763}}, "domain": {"Econ/Fin": {"n_configs": 6, "rel_mase_gmean": 0.8993456378662606, "rel_wql_gmean": 0.8497287737007854}, "Energy": {"n_configs": 32, "rel_mase_gmean": 0.9189699170226803, "rel_wql_gmean": 0.6625539125823088}, "Healthcare": {"n_configs": 5, "rel_mase_gmean": 0.624719163001504, "rel_wql_gmean": 0.5290398747767399}, "Nature": {"n_configs": 15, "rel_mase_gmean": 0.8116355841674556, "rel_wql_gmean": 0.40913110537454406}, "Sales": {"n_configs": 4, "rel_mase_gmean": 0.8507352739765854, "rel_wql_gmean": 0.5259214782554432}, "Transport": {"n_configs": 15, "rel_mase_gmean": 0.6451836796743181, "rel_wql_gmean": 0.44476868321375146}, "Web/CloudOps": {"n_configs": 20, "rel_mase_gmean": 0.5741867921151341, "rel_wql_gmean": 0.4407800987367439}}, "frequency": {"A": {"n_configs": 1, "rel_mase_gmean": 0.602861957190784, "rel_wql_gmean": 0.6194567178031642}, "D": {"n_configs": 15, "rel_mase_gmean": 0.785766111423574, "rel_wql_gmean": 0.53243085738087}, "H": {"n_configs": 31, "rel_mase_gmean": 0.7402745372991282, "rel_wql_gmean": 0.5099136894827658}, "M": {"n_configs": 5, "rel_mase_gmean": 1.0174420949611847, "rel_wql_gmean": 0.8754048699694105}, "Q": {"n_configs": 1, "rel_mase_gmean": 0.7616650574064624, "rel_wql_gmean": 0.8261775045280273}, "S": {"n_configs": 6, "rel_mase_gmean": 0.6637693303615754, "rel_wql_gmean": 0.5112414169040326}, "T": {"n_configs": 30, "rel_mase_gmean": 0.7079883335153091, "rel_wql_gmean": 0.4646287684929315}, "W": {"n_configs": 8, "rel_mase_gmean": 0.917418712909135, "rel_wql_gmean": 0.6739193715695466}}, "variates": {"multivariate": {"n_configs": 43, "rel_mase_gmean": 0.72573741203891, "rel_wql_gmean": 0.5224532166506329}, "univariate": {"n_configs": 54, "rel_mase_gmean": 0.7808954063989614, "rel_wql_gmean": 0.5334767831326809}}}, "control_groups": {"term": {"long": {"n_configs": 21, "rel_mase_gmean": 0.7641208242522688, "rel_wql_gmean": 0.49606041547421686}, "medium": {"n_configs": 21, "rel_mase_gmean": 0.7248504917648915, "rel_wql_gmean": 0.5014826044297881}, "short": {"n_configs": 55, "rel_mase_gmean": 0.7653817964529085, "rel_wql_gmean": 0.5499221784437706}}, "domain": {"Econ/Fin": {"n_configs": 6, "rel_mase_gmean": 0.8797461932537856, "rel_wql_gmean": 0.8417504147222412}, "Energy": {"n_configs": 32, "rel_mase_gmean": 0.9038593623653358, "rel_wql_gmean": 0.650321490545107}, "Healthcare": {"n_configs": 5, "rel_mase_gmean": 0.6392735379954819, "rel_wql_gmean": 0.5298966820324994}, "Nature": {"n_configs": 15, "rel_mase_gmean": 0.8255848768920211, "rel_wql_gmean": 0.4100500554784039}, "Sales": {"n_configs": 4, "rel_mase_gmean": 0.834353811747695, "rel_wql_gmean": 0.515761840139643}, "Transport": {"n_configs": 15, "rel_mase_gmean": 0.6486700292801205, "rel_wql_gmean": 0.4481049050025408}, "Web/CloudOps": {"n_configs": 20, "rel_mase_gmean": 0.5833058759803712, "rel_wql_gmean": 0.4478662353833949}}, "frequency": {"A": {"n_configs": 1, "rel_mase_gmean": 0.6010394871353288, "rel_wql_gmean": 0.6196386412495969}, "D": {"n_configs": 15, "rel_mase_gmean": 0.7717748942179347, "rel_wql_gmean": 0.5249803542477544}, "H": {"n_configs": 31, "rel_mase_gmean": 0.7383661804889572, "rel_wql_gmean": 0.5083075936730249}, "M": {"n_configs": 5, "rel_mase_gmean": 1.0860375469876151, "rel_wql_gmean": 0.9054772856973754}, "Q": {"n_configs": 1, "rel_mase_gmean": 0.7673483808593802, "rel_wql_gmean": 0.8262246710714097}, "S": {"n_configs": 6, "rel_mase_gmean": 0.6652943939958053, "rel_wql_gmean": 0.5130867405242703}, "T": {"n_configs": 30, "rel_mase_gmean": 0.7116397990280849, "rel_wql_gmean": 0.4646208195901687}, "W": {"n_configs": 8, "rel_mase_gmean": 0.9034210950481151, "rel_wql_gmean": 0.6622866077295166}}, "variates": {"multivariate": {"n_configs": 43, "rel_mase_gmean": 0.7276221102413266, "rel_wql_gmean": 0.5219500626661203}, "univariate": {"n_configs": 54, "rel_mase_gmean": 0.7796626654746125, "rel_wql_gmean": 0.5313401505985189}}}, "group_skill_delta": {"term": {"long": 0.006668580922152834, "medium": -0.0035731470371741514, "short": -0.0026071008624778402}, "domain": {"Econ/Fin": -0.01364663461358917, "Energy": -0.013618758104388506, "Healthcare": 0.0071289480303269315, "Nature": 0.005583146832359609, "Sales": -0.012900781695967867, "Transport": 0.003456123818793566, "Web/CloudOps": 0.008038745744306519}, "frequency": {"A": -0.0008347979097897973, "D": -0.010285251115572103, "H": -0.0017595314366565251, "M": 0.04790121661687263, "Q": 0.0029767867518104563, "S": 0.0017204127324896845, "T": 0.001472209859271989, "W": -0.012785219026801076}, "variates": {"multivariate": 0.0005020671814918165, "univariate": -0.0018024519059414157}}}, {"cutoff": "backcast_evals", "candidate_skill": 0.33373673019144867, "control_skill": 0.33575103560457065, "delta": -0.002014305413121975, "candidate_checkpoint": "db18302560ead9b5476cffd44359c8957673e62c34e68afb89b50d355a20ef28", "control_checkpoint": "76d63bae25a069c699a5025715ac3f5f89f18b27f2dc61340f14474e305616ba", "candidate_eval_seconds": 37.174609422683716, "candidate_groups": {"term": {"long": {"n_configs": 21, "rel_mase_gmean": 0.7645057687410629, "rel_wql_gmean": 0.472411143118139}, "medium": {"n_configs": 21, "rel_mase_gmean": 0.7829435834631908, "rel_wql_gmean": 0.5423121209968803}, "short": {"n_configs": 55, "rel_mase_gmean": 0.8104757990092738, "rel_wql_gmean": 0.602743817278926}}, "domain": {"Econ/Fin": {"n_configs": 6, "rel_mase_gmean": 0.883013556733896, "rel_wql_gmean": 0.8010104546432819}, "Energy": {"n_configs": 32, "rel_mase_gmean": 0.8897467786582497, "rel_wql_gmean": 0.6713478890223831}, "Healthcare": {"n_configs": 5, "rel_mase_gmean": 0.6390350502099869, "rel_wql_gmean": 0.631346882774741}, "Nature": {"n_configs": 15, "rel_mase_gmean": 0.9227351205948737, "rel_wql_gmean": 0.4389816015583884}, "Sales": {"n_configs": 4, "rel_mase_gmean": 0.7436429518791259, "rel_wql_gmean": 0.5025923423124434}, "Transport": {"n_configs": 15, "rel_mase_gmean": 0.7482221688779953, "rel_wql_gmean": 0.5430488454487546}, "Web/CloudOps": {"n_configs": 20, "rel_mase_gmean": 0.6418014126208887, "rel_wql_gmean": 0.4538175272319109}}, "frequency": {"A": {"n_configs": 1, "rel_mase_gmean": 0.6402891895413273, "rel_wql_gmean": 0.6945205737560132}, "D": {"n_configs": 15, "rel_mase_gmean": 0.8358200405643851, "rel_wql_gmean": 0.49460766789082256}, "H": {"n_configs": 31, "rel_mase_gmean": 0.7723002640623315, "rel_wql_gmean": 0.5195857021559142}, "M": {"n_configs": 5, "rel_mase_gmean": 0.8314578889026297, "rel_wql_gmean": 0.8097539451429626}, "Q": {"n_configs": 1, "rel_mase_gmean": 0.7661132146964401, "rel_wql_gmean": 0.7720190778860088}, "S": {"n_configs": 6, "rel_mase_gmean": 0.8640826996104474, "rel_wql_gmean": 0.5097352839136874}, "T": {"n_configs": 30, "rel_mase_gmean": 0.7618550352803679, "rel_wql_gmean": 0.5911997288539569}, "W": {"n_configs": 8, "rel_mase_gmean": 0.8865441253308859, "rel_wql_gmean": 0.5992391217865242}}, "variates": {"multivariate": {"n_configs": 43, "rel_mase_gmean": 0.7736513368065895, "rel_wql_gmean": 0.5347224114363252}, "univariate": {"n_configs": 54, "rel_mase_gmean": 0.8111890300688562, "rel_wql_gmean": 0.5788296053364234}}}, "control_groups": {"term": {"long": {"n_configs": 21, "rel_mase_gmean": 0.7618119884930022, "rel_wql_gmean": 0.4706108519147238}, "medium": {"n_configs": 21, "rel_mase_gmean": 0.7785156914022757, "rel_wql_gmean": 0.5380080860020657}, "short": {"n_configs": 55, "rel_mase_gmean": 0.8092040158150724, "rel_wql_gmean": 0.6020834035406137}}, "domain": {"Econ/Fin": {"n_configs": 6, "rel_mase_gmean": 0.8649177844367796, "rel_wql_gmean": 0.7932595489582887}, "Energy": {"n_configs": 32, "rel_mase_gmean": 0.8961306941129933, "rel_wql_gmean": 0.6744941265755756}, "Healthcare": {"n_configs": 5, "rel_mase_gmean": 0.6406673184816369, "rel_wql_gmean": 0.6216540358470581}, "Nature": {"n_configs": 15, "rel_mase_gmean": 0.9204972471207391, "rel_wql_gmean": 0.437709344976185}, "Sales": {"n_configs": 4, "rel_mase_gmean": 0.7379452040611111, "rel_wql_gmean": 0.4995331538317477}, "Transport": {"n_configs": 15, "rel_mase_gmean": 0.7453286529194878, "rel_wql_gmean": 0.5407538138053838}, "Web/CloudOps": {"n_configs": 20, "rel_mase_gmean": 0.6331450279667238, "rel_wql_gmean": 0.44952132895379404}}, "frequency": {"A": {"n_configs": 1, "rel_mase_gmean": 0.6428069557653129, "rel_wql_gmean": 0.7006295172976278}, "D": {"n_configs": 15, "rel_mase_gmean": 0.840999319590678, "rel_wql_gmean": 0.5033309644234195}, "H": {"n_configs": 31, "rel_mase_gmean": 0.7751522654756143, "rel_wql_gmean": 0.519132658610579}, "M": {"n_configs": 5, "rel_mase_gmean": 0.8185817178034693, "rel_wql_gmean": 0.8033624442579481}, "Q": {"n_configs": 1, "rel_mase_gmean": 0.7569971370336409, "rel_wql_gmean": 0.7638899419001384}, "S": {"n_configs": 6, "rel_mase_gmean": 0.8467444358145533, "rel_wql_gmean": 0.5035114470573656}, "T": {"n_configs": 30, "rel_mase_gmean": 0.753733496976526, "rel_wql_gmean": 0.5865283563829214}, "W": {"n_configs": 8, "rel_mase_gmean": 0.891287964768219, "rel_wql_gmean": 0.5851848634253939}}, "variates": {"multivariate": {"n_configs": 43, "rel_mase_gmean": 0.7711521201927437, "rel_wql_gmean": 0.531877206235493}, "univariate": {"n_configs": 54, "rel_mase_gmean": 0.8090816784209974, "rel_wql_gmean": 0.5779898720443062}}}, "group_skill_delta": {"term": {"long": -0.0022038758898392796, "medium": -0.0044287561794524866, "short": -0.0009313007431160925}, "domain": {"Econ/Fin": -0.012699007247504723, "Energy": 0.0045830826418642445, "Healthcare": -0.00409025662656759, "Nature": -0.001694066119323323, "Sales": -0.004202845209379746, "Transport": -0.00257950699257814, "Web/CloudOps": -0.0061951940010580575}, "frequency": {"A": 0.004241947461280149, "D": 0.007651631033819051, "H": 0.0008918318294566241, "M": -0.009597780507619502, "Q": -0.008624747468827798, "S": -0.010715274654970242, "T": -0.006229262370445188, "W": -0.006673500539787991}, "variates": {"multivariate": -0.002750398645853025, "univariate": -0.0013872236952414685}}}, {"cutoff": "backcast2_evals", "candidate_skill": 0.35537292829864975, "control_skill": 0.35798425239005505, "delta": -0.002611324091405298, "candidate_checkpoint": "db18302560ead9b5476cffd44359c8957673e62c34e68afb89b50d355a20ef28", "control_checkpoint": "76d63bae25a069c699a5025715ac3f5f89f18b27f2dc61340f14474e305616ba", "candidate_eval_seconds": 36.907283782958984, "candidate_groups": {"term": {"long": {"n_configs": 19, "rel_mase_gmean": 0.7978624979911686, "rel_wql_gmean": 0.5074880049782142}, "medium": {"n_configs": 21, "rel_mase_gmean": 0.7437779917485655, "rel_wql_gmean": 0.5020692058393204}, "short": {"n_configs": 54, "rel_mase_gmean": 0.7704863340568073, "rel_wql_gmean": 0.5673662974410123}}, "domain": {"Econ/Fin": {"n_configs": 6, "rel_mase_gmean": 0.8933116352791406, "rel_wql_gmean": 0.9002456340731627}, "Energy": {"n_configs": 32, "rel_mase_gmean": 0.9158340122757038, "rel_wql_gmean": 0.6642646108443223}, "Healthcare": {"n_configs": 5, "rel_mase_gmean": 0.7514834037119855, "rel_wql_gmean": 0.6416383694565593}, "Nature": {"n_configs": 15, "rel_mase_gmean": 0.7626043694322886, "rel_wql_gmean": 0.3753064468473494}, "Sales": {"n_configs": 3, "rel_mase_gmean": 0.5546070334750947, "rel_wql_gmean": 0.3528594730813849}, "Transport": {"n_configs": 14, "rel_mase_gmean": 0.6750860948742815, "rel_wql_gmean": 0.5100420022538835}, "Web/CloudOps": {"n_configs": 19, "rel_mase_gmean": 0.6449523000025682, "rel_wql_gmean": 0.459595724217631}}, "frequency": {"A": {"n_configs": 1, "rel_mase_gmean": 0.5803330670203479, "rel_wql_gmean": 0.7358398685191179}, "D": {"n_configs": 15, "rel_mase_gmean": 0.7380452258210721, "rel_wql_gmean": 0.4576820825200615}, "H": {"n_configs": 30, "rel_mase_gmean": 0.7486259914797134, "rel_wql_gmean": 0.4941460008917688}, "M": {"n_configs": 4, "rel_mase_gmean": 0.8332807348776374, "rel_wql_gmean": 0.8838547745976209}, "Q": {"n_configs": 1, "rel_mase_gmean": 0.8298458174364925, "rel_wql_gmean": 0.8646788925428942}, "S": {"n_configs": 6, "rel_mase_gmean": 0.9071968013894002, "rel_wql_gmean": 0.5734202180234057}, "T": {"n_configs": 29, "rel_mase_gmean": 0.7530675559230601, "rel_wql_gmean": 0.5499861765359437}, "W": {"n_configs": 8, "rel_mase_gmean": 0.8741844331242828, "rel_wql_gmean": 0.6481562123090966}}, "variates": {"multivariate": {"n_configs": 42, "rel_mase_gmean": 0.7680034731891685, "rel_wql_gmean": 0.5186805653168487}, "univariate": {"n_configs": 52, "rel_mase_gmean": 0.771347221937327, "rel_wql_gmean": 0.5574314672238416}}}, "control_groups": {"term": {"long": {"n_configs": 19, "rel_mase_gmean": 0.7941549430082384, "rel_wql_gmean": 0.5014961726541791}, "medium": {"n_configs": 21, "rel_mase_gmean": 0.741820367215642, "rel_wql_gmean": 0.4995198053889145}, "short": {"n_configs": 54, "rel_mase_gmean": 0.7684402428359164, "rel_wql_gmean": 0.5658646224872292}}, "domain": {"Econ/Fin": {"n_configs": 6, "rel_mase_gmean": 0.8802337885956892, "rel_wql_gmean": 0.9008607248698991}, "Energy": {"n_configs": 32, "rel_mase_gmean": 0.9192126832913847, "rel_wql_gmean": 0.6642965778688076}, "Healthcare": {"n_configs": 5, "rel_mase_gmean": 0.7356949252162588, "rel_wql_gmean": 0.6365065186472956}, "Nature": {"n_configs": 15, "rel_mase_gmean": 0.7499729831112791, "rel_wql_gmean": 0.3699894219204509}, "Sales": {"n_configs": 3, "rel_mase_gmean": 0.5642031429643153, "rel_wql_gmean": 0.3522898257091761}, "Transport": {"n_configs": 14, "rel_mase_gmean": 0.6736574202574822, "rel_wql_gmean": 0.5076164699733652}, "Web/CloudOps": {"n_configs": 19, "rel_mase_gmean": 0.6455674946059665, "rel_wql_gmean": 0.4558482002092544}}, "frequency": {"A": {"n_configs": 1, "rel_mase_gmean": 0.5816466071401547, "rel_wql_gmean": 0.7460001655726086}, "D": {"n_configs": 15, "rel_mase_gmean": 0.7400634379313347, "rel_wql_gmean": 0.45683256250776716}, "H": {"n_configs": 30, "rel_mase_gmean": 0.7486910212621966, "rel_wql_gmean": 0.4903869250693772}, "M": {"n_configs": 4, "rel_mase_gmean": 0.8289777412591368, "rel_wql_gmean": 0.8807029732349295}, "Q": {"n_configs": 1, "rel_mase_gmean": 0.8362064399582367, "rel_wql_gmean": 0.8678444258228419}, "S": {"n_configs": 6, "rel_mase_gmean": 0.8863128016597993, "rel_wql_gmean": 0.557133094452919}, "T": {"n_configs": 29, "rel_mase_gmean": 0.7476910320535506, "rel_wql_gmean": 0.5458510726505758}, "W": {"n_configs": 8, "rel_mase_gmean": 0.8771766737823132, "rel_wql_gmean": 0.6620723464149746}}, "variates": {"multivariate": {"n_configs": 42, "rel_mase_gmean": 0.7661007880646832, "rel_wql_gmean": 0.513384911759537}, "univariate": {"n_configs": 52, "rel_mase_gmean": 0.768633725714641, "rel_wql_gmean": 0.5569528620166226}}}, "group_skill_delta": {"term": {"long": -0.005239038407394037, "medium": -0.0023561365547786206, "short": -0.0017528754939156732}, "domain": {"Econ/Fin": -0.006284398479155406, "Energy": 0.0014562035053473643, "Healthcare": -0.010086304896256837, "Nature": -0.008220625959734384, "Sales": 0.0034504151875611733, "Transport": -0.0020166752046384406, "Web/CloudOps": -0.0019656841008134363}, "frequency": {"A": 0.005240273859406841, "D": 0.00025373185605648274, "H": -0.0022915286311996352, "M": -0.0037462504720240375, "Q": 0.004795243124099513, "S": -0.018547462094394507, "T": -0.004716722661610273, "W": 0.00933871789696894}, "variates": {"multivariate": -0.0040085322188284644, "univariate": -0.0014354533718674567}}}, {"cutoff": "backcast3_evals", "candidate_skill": 0.36970397337431227, "control_skill": 0.3787802571153097, "delta": -0.009076283740997448, "candidate_checkpoint": "db18302560ead9b5476cffd44359c8957673e62c34e68afb89b50d355a20ef28", "control_checkpoint": "76d63bae25a069c699a5025715ac3f5f89f18b27f2dc61340f14474e305616ba", "candidate_eval_seconds": 37.78810501098633, "candidate_groups": {"term": {"long": {"n_configs": 19, "rel_mase_gmean": 0.7782209056706924, "rel_wql_gmean": 0.48814919580673716}, "medium": {"n_configs": 20, "rel_mase_gmean": 0.7681231120199499, "rel_wql_gmean": 0.5379382709012981}, "short": {"n_configs": 54, "rel_mase_gmean": 0.7518044602847175, "rel_wql_gmean": 0.5290518753744664}}, "domain": {"Econ/Fin": {"n_configs": 6, "rel_mase_gmean": 0.8395203369581837, "rel_wql_gmean": 0.8048440801796086}, "Energy": {"n_configs": 32, "rel_mase_gmean": 0.8526081678178172, "rel_wql_gmean": 0.5719888079289577}, "Healthcare": {"n_configs": 5, "rel_mase_gmean": 0.9951543172191374, "rel_wql_gmean": 0.7834431275689278}, "Nature": {"n_configs": 15, "rel_mase_gmean": 0.7414705436975717, "rel_wql_gmean": 0.35157992093192686}, "Sales": {"n_configs": 3, "rel_mase_gmean": 0.7619971675909714, "rel_wql_gmean": 0.48520719219596176}, "Transport": {"n_configs": 14, "rel_mase_gmean": 0.5605640300324384, "rel_wql_gmean": 0.46637106039150295}, "Web/CloudOps": {"n_configs": 18, "rel_mase_gmean": 0.7219927638453641, "rel_wql_gmean": 0.5285101463963912}}, "frequency": {"A": {"n_configs": 1, "rel_mase_gmean": 0.5129426205468002, "rel_wql_gmean": 0.6988107491831935}, "D": {"n_configs": 15, "rel_mase_gmean": 0.802654098336579, "rel_wql_gmean": 0.45658898138276266}, "H": {"n_configs": 29, "rel_mase_gmean": 0.7352855045954609, "rel_wql_gmean": 0.5011175637806065}, "M": {"n_configs": 4, "rel_mase_gmean": 0.9589485967135823, "rel_wql_gmean": 0.9314983886169478}, "Q": {"n_configs": 1, "rel_mase_gmean": 0.7111166381341645, "rel_wql_gmean": 0.74568668103201}, "S": {"n_configs": 6, "rel_mase_gmean": 0.8769380392634255, "rel_wql_gmean": 0.6361937289522271}, "T": {"n_configs": 29, "rel_mase_gmean": 0.7082934197293739, "rel_wql_gmean": 0.47256555726427857}, "W": {"n_configs": 8, "rel_mase_gmean": 0.8538120354551465, "rel_wql_gmean": 0.6684098404676402}}, "variates": {"multivariate": {"n_configs": 41, "rel_mase_gmean": 0.7840667771888555, "rel_wql_gmean": 0.5330942062332481}, "univariate": {"n_configs": 52, "rel_mase_gmean": 0.7426494521140444, "rel_wql_gmean": 0.5139319317926794}}}, "control_groups": {"term": {"long": {"n_configs": 19, "rel_mase_gmean": 0.7720057746295129, "rel_wql_gmean": 0.4878997089680887}, "medium": {"n_configs": 20, "rel_mase_gmean": 0.7594841628055085, "rel_wql_gmean": 0.5259750568053516}, "short": {"n_configs": 54, "rel_mase_gmean": 0.7429629921510578, "rel_wql_gmean": 0.517223824046827}}, "domain": {"Econ/Fin": {"n_configs": 6, "rel_mase_gmean": 0.8267136157528197, "rel_wql_gmean": 0.8121951381647202}, "Energy": {"n_configs": 32, "rel_mase_gmean": 0.8463557623130329, "rel_wql_gmean": 0.5632559607209767}, "Healthcare": {"n_configs": 5, "rel_mase_gmean": 0.9545028405238007, "rel_wql_gmean": 0.7536748969171218}, "Nature": {"n_configs": 15, "rel_mase_gmean": 0.7334804189019974, "rel_wql_gmean": 0.3414747646370063}, "Sales": {"n_configs": 3, "rel_mase_gmean": 0.7578565833467727, "rel_wql_gmean": 0.48332611742263637}, "Transport": {"n_configs": 14, "rel_mase_gmean": 0.5564785964163198, "rel_wql_gmean": 0.45797536706295894}, "Web/CloudOps": {"n_configs": 18, "rel_mase_gmean": 0.7140224842943406, "rel_wql_gmean": 0.5184594301175075}}, "frequency": {"A": {"n_configs": 1, "rel_mase_gmean": 0.5064706521911373, "rel_wql_gmean": 0.7030948869551007}, "D": {"n_configs": 15, "rel_mase_gmean": 0.7957409458528714, "rel_wql_gmean": 0.440201288689025}, "H": {"n_configs": 29, "rel_mase_gmean": 0.7327252354632193, "rel_wql_gmean": 0.49464524528976045}, "M": {"n_configs": 4, "rel_mase_gmean": 0.9737715236408041, "rel_wql_gmean": 0.9489935161795975}, "Q": {"n_configs": 1, "rel_mase_gmean": 0.708741325833158, "rel_wql_gmean": 0.7461524697027936}, "S": {"n_configs": 6, "rel_mase_gmean": 0.8569641331865148, "rel_wql_gmean": 0.629509525906296}, "T": {"n_configs": 29, "rel_mase_gmean": 0.7002023904981172, "rel_wql_gmean": 0.4606051388753622}, "W": {"n_configs": 8, "rel_mase_gmean": 0.8162048772761435, "rel_wql_gmean": 0.6659417285898513}}, "variates": {"multivariate": {"n_configs": 41, "rel_mase_gmean": 0.7763637003038804, "rel_wql_gmean": 0.5229349272373285}, "univariate": {"n_configs": 52, "rel_mase_gmean": 0.7339520121749528, "rel_wql_gmean": 0.5051949961646821}}}, "group_skill_delta": {"term": {"long": -0.0026230179490334127, "medium": -0.010772365366253256, "short": -0.010767402328377362}, "domain": {"Econ/Fin": -0.002577152649998138, "Energy": -0.00789710265931165, "Healthcare": -0.03481054239635728, "Nature": -0.010109501155338818, "Sales": -0.002830879122527441, "Transport": -0.006472922432941286, "Web/CloudOps": -0.009288224846993431}, "frequency": {"A": -0.0019682129187963415, "D": -0.013528604803323074, "H": -0.004983637947020725, "M": 0.016178850369833464, "Q": -0.00099018289872832, "S": -0.012444468175713763, "T": -0.010640011755686851, "W": -0.01818951534483182}, "variates": {"multivariate": -0.009343216724631898, "univariate": -0.008871123701611583}}}], "mean_delta": -0.003614290647929841, "positive_cutoffs": 0, "outcome": "Declared comparison checkpoints 48000,96000. No transfer formula or automatic publication is selected by this controller."} + +2026-10-24T04:26:47.689801+00:00: E183 endpoint result {"experiment": "E183", "step": 96000, "new_member_checkpoint_sha256": "db18302560ead9b5476cffd44359c8957673e62c34e68afb89b50d355a20ef28", "source_comparison": "/workspace/research/random_capacity_full_highlr96k_four_cutoff_comparison.json", "long_source_comparisons": {"random_capacity_full": {"checkpoint_sha256": "76d63bae25a069c699a5025715ac3f5f89f18b27f2dc61340f14474e305616ba", "rows": [{"cutoff": "valid_screen", "delta_long": 0.006668580922152834}, {"cutoff": "valid_backcast", "delta_long": -0.0022038758898392796}, {"cutoff": "valid_backcast2", "delta_long": -0.005239038407394037}, {"cutoff": "valid_backcast3", "delta_long": -0.0026230179490334127}], "positive_cutoffs": 1, "mean_delta": -0.0008493378310284738}, "random_capacity_1024": {"checkpoint_sha256": "d7cfcd72c3cb84aa69e447b76c4c3ab98c21b7c600a463f0b805f4b4300baf33", "rows": [{"cutoff": "valid_screen", "delta_long": 0.005868649732716613}, {"cutoff": "valid_backcast", "delta_long": -0.0016080487601414228}, {"cutoff": "valid_backcast2", "delta_long": -0.0035194451121877135}, {"cutoff": "valid_backcast3", "delta_long": -0.007613941403363689}], "positive_cutoffs": 1, "mean_delta": -0.001718196385744053}}, "original_global_positive_cutoffs": 0, "original_global_mean_delta": -0.003614290647929841, "optimizer_updates": 0, "new_neural_inference": false, "outcome": "declared long-term source gate failed; H720 composition untested", "selection_gate_passed": false, "utc": "2026-10-24T04:26:47.689801+00:00"} + +E147 corpus-by-LR interaction {"step": 96000, "utc": "2026-10-24T04:26:51.884117+00:00", "cells": {"old_low": "random_capacity_1024_halflr", "old_high": "random_capacity_1024", "full_low": "random_capacity_full", "full_high": "random_capacity_full_highlr"}, "checkpoint_sha256": {"old_low": "3ecb2892396bc62c203e0d72ce266d2c6df978c24e68cf87cd6dc0ec34db5d30", "old_high": "d7cfcd72c3cb84aa69e447b76c4c3ab98c21b7c600a463f0b805f4b4300baf33", "full_low": "76d63bae25a069c699a5025715ac3f5f89f18b27f2dc61340f14474e305616ba", "full_high": "db18302560ead9b5476cffd44359c8957673e62c34e68afb89b50d355a20ef28"}, "rows": [{"cutoff": "evals", "skills": {"old_low": 0.36862040181646727, "old_high": 0.37118082660619867, "full_low": 0.36864499082324387, "full_high": 0.3678897414770492}, "overall": {"log_errors": {"old_low": -0.4598480154114395, "old_high": -0.4639115462935248, "full_low": -0.4598869610562904, "full_high": -0.45869144036338805}, "high_minus_low_lr_old": -0.004063530882085331, "high_minus_low_lr_full": 0.001195520692902352, "interaction_full_minus_old": 0.005259051574987683}, "groups": {"term": {"long": {"log_errors": {"old_low": -0.48375288369457214, "old_high": -0.48634358434576225, "full_low": -0.4850434548378939, "full_high": -0.4959339547882997}, "high_minus_low_lr_old": -0.002590700651190103, "high_minus_low_lr_full": -0.010890499950405808, "interaction_full_minus_old": -0.008299799299215704}, "medium": {"log_errors": {"old_low": -0.4938575373701006, "old_high": -0.5037291016099615, "full_low": -0.5059881114548181, "full_high": -0.5000790980529815}, "high_minus_low_lr_old": -0.009871564239860964, "high_minus_low_lr_full": 0.0059090134018366935, "interaction_full_minus_old": 0.015780577641697657}, "short": {"log_errors": {"old_low": -0.4377352482282091, "old_high": -0.4401435197345765, "full_low": -0.4326794969147856, "full_high": -0.4286690110105772}, "high_minus_low_lr_old": -0.00240827150636741, "high_minus_low_lr_full": 0.004010485904208383, "interaction_full_minus_old": 0.006418757410575793}}, "domain": {"Econ/Fin": {"log_errors": {"old_low": -0.14878540753924152, "old_high": -0.1366046604126338, "full_low": -0.15019677905880896, "full_high": -0.13446295965986077}, "high_minus_low_lr_old": 0.012180747126607716, "high_minus_low_lr_full": 0.01573381939894819, "interaction_full_minus_old": 0.003553072272340474}, "Energy": {"log_errors": {"old_low": -0.24606786516713827, "old_high": -0.25734972386679233, "full_low": -0.26568497041292843, "full_high": -0.2480776192907838}, "high_minus_low_lr_old": -0.011281858699654063, "high_minus_low_lr_full": 0.01760735112214462, "interaction_full_minus_old": 0.028889209821798684}, "Healthcare": {"log_errors": {"old_low": -0.6869189088181277, "old_high": -0.6920909849062525, "full_low": -0.5412480376106705, "full_high": -0.5535722708706181}, "high_minus_low_lr_old": -0.005172076088124866, "high_minus_low_lr_full": -0.012324233259947581, "interaction_full_minus_old": -0.007152157171822715}, "Nature": {"log_errors": {"old_low": -0.5413647624602099, "old_high": -0.5377269070169969, "full_low": -0.5415696211718266, "full_high": -0.5512117253969362}, "high_minus_low_lr_old": 0.003637855443213045, "high_minus_low_lr_full": -0.009642104225109582, "interaction_full_minus_old": -0.013279959668322627}, "Sales": {"log_errors": {"old_low": -0.42731712575935665, "old_high": -0.40543091280570775, "full_low": -0.42160395102030607, "full_high": -0.40212881674121154}, "high_minus_low_lr_old": 0.021886212953648898, "high_minus_low_lr_full": 0.01947513427909453, "interaction_full_minus_old": -0.0024110786745543678}, "Transport": {"log_errors": {"old_low": -0.6157044948931446, "old_high": -0.613369679613379, "full_low": -0.6177795160297858, "full_high": -0.6242105865032166}, "high_minus_low_lr_old": 0.002334815279765645, "high_minus_low_lr_full": -0.006431070473430833, "interaction_full_minus_old": -0.008765885753196478}, "Web/CloudOps": {"log_errors": {"old_low": -0.6669235728448686, "old_high": -0.6797986744524511, "full_low": -0.6711521222367418, "full_high": -0.6870048420082083}, "high_minus_low_lr_old": -0.01287510160758254, "high_minus_low_lr_full": -0.015852719771466517, "interaction_full_minus_old": -0.002977618163883977}}, "frequency": {"A": {"log_errors": {"old_low": -0.5042714683263123, "old_high": -0.5039846357975791, "full_low": -0.49385672588476603, "full_high": -0.49248974093510695}, "high_minus_low_lr_old": 0.000286832528733183, "high_minus_low_lr_full": 0.0013669849496590891, "interaction_full_minus_old": 0.0010801524209259061}, "D": {"log_errors": {"old_low": -0.4546289202435795, "old_high": -0.43554570238041007, "full_low": -0.4517283984245485, "full_high": -0.4356991670609204}, "high_minus_low_lr_old": 0.01908321786316941, "high_minus_low_lr_full": 0.016029231363628105, "interaction_full_minus_old": -0.0030539864995413057}, "H": {"log_errors": {"old_low": -0.4828980331452427, "old_high": -0.49098842803707626, "full_low": -0.48999195660088335, "full_high": -0.48712398456501294}, "high_minus_low_lr_old": -0.008090394891833552, "high_minus_low_lr_full": 0.002867972035870414, "interaction_full_minus_old": 0.010958366927703966}, "M": {"log_errors": {"old_low": -0.12165773658947206, "old_high": -0.13658692749055446, "full_low": -0.008378646111853245, "full_high": -0.05788853175923388}, "high_minus_low_lr_old": -0.014929190901082398, "high_minus_low_lr_full": -0.04950988564738063, "interaction_full_minus_old": -0.034580694746298234}, "Q": {"log_errors": {"old_low": -0.23735840277303932, "old_high": -0.23582466690894507, "full_low": -0.22785145598773274, "full_high": -0.23159700458176002}, "high_minus_low_lr_old": 0.0015337358640942489, "high_minus_low_lr_full": -0.003745548594027287, "interaction_full_minus_old": -0.005279284458121536}, "S": {"log_errors": {"old_low": -0.5358390264299839, "old_high": -0.5376593330780663, "full_low": -0.5374180009059646, "full_high": -0.5403669720562921}, "high_minus_low_lr_old": -0.0018203066480824148, "high_minus_low_lr_full": -0.0029489711503275506, "interaction_full_minus_old": -0.0011286645022451358}, "T": {"log_errors": {"old_low": -0.5399848369067108, "old_high": -0.5456877314687042, "full_low": -0.55335852180607, "full_high": -0.555922101540327}, "high_minus_low_lr_old": -0.005702894561993355, "high_minus_low_lr_full": -0.0025635797342569155, "interaction_full_minus_old": 0.003139314827736439}, "W": {"log_errors": {"old_low": -0.2564358554906836, "old_high": -0.27828266286594733, "full_low": -0.25681168992686276, "full_high": -0.24041805061985544}, "high_minus_low_lr_old": -0.021846807375263733, "high_minus_low_lr_full": 0.016393639307007324, "interaction_full_minus_old": 0.038240446682271056}}, "variates": {"multivariate": {"log_errors": {"old_low": -0.4730489489716627, "old_high": -0.47870388997442603, "full_low": -0.4840784029794525, "full_high": -0.48489342882627895}, "high_minus_low_lr_old": -0.005654941002763314, "high_minus_low_lr_full": -0.0008150258468264671, "interaction_full_minus_old": 0.004839915155936847}, "univariate": {"log_errors": {"old_low": -0.4493361609097801, "old_high": -0.4521324578068814, "full_low": -0.44062340545080936, "full_high": -0.4378268939947899}, "high_minus_low_lr_old": -0.002796296897101258, "high_minus_low_lr_full": 0.002796511456019446, "interaction_full_minus_old": 0.005592808353120704}}}, "evaluation_seconds": {"old_low": 30.012848377227783, "old_high": 38.05830669403076, "full_low": 31.973838567733765, "full_high": 37.03971338272095}}, {"cutoff": "backcast_evals", "skills": {"old_low": 0.33266251560890414, "old_high": 0.33472617365334145, "full_low": 0.33575103560457065, "full_high": 0.33373673019144867}, "overall": {"log_errors": {"old_low": -0.4044593874281497, "old_high": -0.407556554137505, "full_low": -0.4090982534018722, "full_high": -0.4060703865393741}, "high_minus_low_lr_old": -0.0030971667093553368, "high_minus_low_lr_full": 0.0030278668624981186, "interaction_full_minus_old": 0.006125033571853455}, "groups": {"term": {"long": {"log_errors": {"old_low": -0.5150039129420437, "old_high": -0.5118950134172209, "full_low": -0.5128896156065003, "full_high": -0.5092156572488523}, "high_minus_low_lr_old": 0.00310889952482285, "high_minus_low_lr_full": 0.003673958357647944, "interaction_full_minus_old": 0.0005650588328250938}, "medium": {"log_errors": {"old_low": -0.4315202919475366, "old_high": -0.4367660515739731, "full_low": -0.4351239105785293, "full_high": -0.42830410582590694}, "high_minus_low_lr_old": -0.005245759626436475, "high_minus_low_lr_full": 0.006819804752622338, "interaction_full_minus_old": 0.012065564379058813}, "short": {"log_errors": {"old_low": -0.3519191323245334, "old_high": -0.3565655161185983, "full_low": -0.35953175509265434, "full_high": -0.35819840854089713}, "high_minus_low_lr_old": -0.004646383794064901, "high_minus_low_lr_full": 0.0013333465517572085, "interaction_full_minus_old": 0.00597973034582211}}, "domain": {"Econ/Fin": {"log_errors": {"old_low": -0.1814894895476128, "old_high": -0.17329080499312305, "full_low": -0.18836281714308303, "full_high": -0.1731480027331761}, "high_minus_low_lr_old": 0.008198684554489744, "high_minus_low_lr_full": 0.015214814409906935, "interaction_full_minus_old": 0.007016129855417191}, "Energy": {"log_errors": {"old_low": -0.251980772234626, "old_high": -0.24955779848387752, "full_low": -0.2517306619354602, "full_high": -0.257643093973018}, "high_minus_low_lr_old": 0.002422973750748486, "high_minus_low_lr_full": -0.005912432037557813, "interaction_full_minus_old": -0.0083354057883063}, "Healthcare": {"log_errors": {"old_low": -0.3778664381190606, "old_high": -0.4965161395503854, "full_low": -0.46030825708522916, "full_high": -0.45384790347809056}, "high_minus_low_lr_old": -0.1186497014313248, "high_minus_low_lr_full": 0.006460353607138591, "interaction_full_minus_old": 0.1251100550384634}, "Nature": {"log_errors": {"old_low": -0.45930287209599413, "old_high": -0.4507138179408147, "full_low": -0.454520726887958, "full_high": -0.4518554194717697}, "high_minus_low_lr_old": 0.00858905415517941, "high_minus_low_lr_full": 0.0026653074161883117, "interaction_full_minus_old": -0.005923746738991098}, "Sales": {"log_errors": {"old_low": -0.5020568727529222, "old_high": -0.49831837678745217, "full_low": -0.4989835077183088, "full_high": -0.4920850764318337}, "high_minus_low_lr_old": 0.0037384959654700456, "high_minus_low_lr_full": 0.006898431286475104, "interaction_full_minus_old": 0.0031599353210050585}, "Transport": {"log_errors": {"old_low": -0.4509864809167125, "old_high": -0.4526070678190146, "full_low": -0.45436058719341643, "full_high": -0.4503056680999702}, "high_minus_low_lr_old": -0.0016205869023021013, "high_minus_low_lr_full": 0.004054919093446241, "interaction_full_minus_old": 0.005675505995748342}, "Web/CloudOps": {"log_errors": {"old_low": -0.6264169477469612, "old_high": -0.6240861939297995, "full_low": -0.6283138733834196, "full_high": -0.6167682167044884}, "high_minus_low_lr_old": 0.002330753817161746, "high_minus_low_lr_full": 0.011545656678931149, "interaction_full_minus_old": 0.009214902861769403}}, "frequency": {"A": {"log_errors": {"old_low": -0.4043145060676633, "old_high": -0.4049476773369891, "full_low": -0.3988434308934862, "full_high": -0.4051844197076203}, "high_minus_low_lr_old": -0.0006331712693258273, "high_minus_low_lr_full": -0.006340988814134141, "interaction_full_minus_old": -0.0057078175448083135}, "D": {"log_errors": {"old_low": -0.43028152600876435, "old_high": -0.45147387062502065, "full_low": -0.4298358861766755, "full_high": -0.44166618617556747}, "high_minus_low_lr_old": -0.021192344616256298, "high_minus_low_lr_full": -0.011830299998891958, "interaction_full_minus_old": 0.00936204461736434}, "H": {"log_errors": {"old_low": -0.4503716745615438, "old_high": -0.4506270584591199, "full_low": -0.4551458107817565, "full_high": -0.45655268653771874}, "high_minus_low_lr_old": -0.00025538389757606694, "high_minus_low_lr_full": -0.0014068757559622669, "interaction_full_minus_old": -0.0011514918583862}, "M": {"log_errors": {"old_low": -0.17410869484224933, "old_high": -0.15984868113965545, "full_low": -0.20956567641091214, "full_high": -0.19779973762944225}, "high_minus_low_lr_old": 0.014260013702593888, "high_minus_low_lr_full": 0.011765938781469892, "interaction_full_minus_old": -0.0024940749211239954}, "Q": {"log_errors": {"old_low": -0.2520987544239225, "old_high": -0.24562256888251235, "full_low": -0.27386368141941353, "full_high": -0.2625856686365968}, "high_minus_low_lr_old": 0.006476185541410134, "high_minus_low_lr_full": 0.011278012782816704, "interaction_full_minus_old": 0.00480182724140657}, "S": {"log_errors": {"old_low": -0.4216812375901088, "old_high": -0.4298081381446671, "full_low": -0.4262525953218306, "full_high": -0.40997526839201537}, "high_minus_low_lr_old": -0.008126900554558336, "high_minus_low_lr_full": 0.016277326929815206, "interaction_full_minus_old": 0.024404227484373542}, "T": {"log_errors": {"old_low": -0.40861895429011763, "old_high": -0.40529765940751517, "full_low": -0.4081253446586574, "full_high": -0.398800175896542}, "high_minus_low_lr_old": 0.0033212948826024657, "high_minus_low_lr_full": 0.009325168762115421, "interaction_full_minus_old": 0.006003873879512955}, "W": {"log_errors": {"old_low": -0.31265037375552274, "old_high": -0.32548082708984094, "full_low": -0.32545759337985725, "full_high": -0.31625946940958904}, "high_minus_low_lr_old": -0.012830453334318204, "high_minus_low_lr_full": 0.009198123970268202, "interaction_full_minus_old": 0.022028577304586405}}, "variates": {"multivariate": {"log_errors": {"old_low": -0.4447497947531349, "old_high": -0.44596843805198527, "full_low": -0.44560612702736446, "full_high": -0.44132074999686277}, "high_minus_low_lr_old": -0.0012186432988503526, "high_minus_low_lr_full": 0.004285377030501691, "interaction_full_minus_old": 0.005504020329352044}, "univariate": {"log_errors": {"old_low": -0.3723762852989948, "old_high": -0.37696931324264116, "full_low": -0.38002716884823967, "full_high": -0.37800065267507765}, "high_minus_low_lr_old": -0.004593027943646355, "high_minus_low_lr_full": 0.0020265161731620185, "interaction_full_minus_old": 0.0066195441168083735}}}, "evaluation_seconds": {"old_low": 36.89052391052246, "old_high": 35.70154094696045, "full_low": 33.55712938308716, "full_high": 37.174609422683716}}, {"cutoff": "backcast2_evals", "skills": {"old_low": 0.3605578550795868, "old_high": 0.35821120969144316, "full_low": 0.35798425239005505, "full_high": 0.35537292829864975}, "overall": {"log_errors": {"old_low": -0.4471591312967772, "old_high": -0.4434960164786128, "full_low": -0.44314244660555346, "full_high": -0.43908331280760704}, "high_minus_low_lr_old": 0.0036631148181643924, "high_minus_low_lr_full": 0.004059133797946424, "interaction_full_minus_old": 0.00039601897978203127}, "groups": {"term": {"long": {"log_errors": {"old_low": -0.4508312810830465, "old_high": -0.45759687518411285, "full_low": -0.4603179989252773, "full_high": -0.4520506042586375}, "high_minus_low_lr_old": -0.006765594101066363, "high_minus_low_lr_full": 0.008267394666639782, "interaction_full_minus_old": 0.015032988767706146}, "medium": {"log_errors": {"old_low": -0.5014818106324275, "old_high": -0.4947522321259993, "full_low": -0.4963780945382726, "full_high": -0.49251499771031104}, "high_minus_low_lr_old": 0.006729578506428191, "high_minus_low_lr_full": 0.003863096827961543, "interaction_full_minus_old": -0.002866481678466648}, "short": {"log_errors": {"old_low": -0.42474159218589236, "old_high": -0.41860163047862, "full_low": -0.416396444741445, "full_high": -0.41374175872378566}, "high_minus_low_lr_old": 0.006139961707272379, "high_minus_low_lr_full": 0.0026546860176593357, "interaction_full_minus_old": -0.0034852756896130432}}, "domain": {"Econ/Fin": {"log_errors": {"old_low": -0.12236481808549156, "old_high": -0.10789327025585344, "full_low": -0.11598617482396414, "full_high": -0.10895370472727733}, "high_minus_low_lr_old": 0.014471547829638123, "high_minus_low_lr_full": 0.00703247009668681, "interaction_full_minus_old": -0.007439077732951313}, "Energy": {"log_errors": {"old_low": -0.2537752536869518, "old_high": -0.24868668608716057, "full_low": -0.24663216508342264, "full_high": -0.24849741930826447}, "high_minus_low_lr_old": 0.005088567599791233, "high_minus_low_lr_full": -0.0018652542248418225, "interaction_full_minus_old": -0.006953821824633055}, "Healthcare": {"log_errors": {"old_low": -0.4324147640113834, "old_high": -0.4690546006328007, "full_low": -0.3793501848045264, "full_high": -0.36471828784877547}, "high_minus_low_lr_old": -0.03663983662141729, "high_minus_low_lr_full": 0.014631896955750956, "interaction_full_minus_old": 0.051271733577168244}, "Nature": {"log_errors": {"old_low": -0.6345732084950474, "old_high": -0.6190710272581483, "full_low": -0.6409994793878202, "full_high": -0.6255141485307824}, "high_minus_low_lr_old": 0.01550218123689906, "high_minus_low_lr_full": 0.015485330857037849, "interaction_full_minus_old": -1.685037986121074e-05}, "Sales": {"log_errors": {"old_low": -0.8321605928126818, "old_high": -0.8016072825477831, "full_low": -0.8078209917236765, "full_high": -0.8155904291877055}, "high_minus_low_lr_old": 0.030553310264898714, "high_minus_low_lr_full": -0.007769437464029028, "interaction_full_minus_old": -0.03832274772892774}, "Transport": {"log_errors": {"old_low": -0.5379917485616464, "old_high": -0.530042031847407, "full_low": -0.5365313363745698, "full_high": -0.5330886237878246}, "high_minus_low_lr_old": 0.007949716714239496, "high_minus_low_lr_full": 0.0034427125867452224, "interaction_full_minus_old": -0.004507004127494274}, "Web/CloudOps": {"log_errors": {"old_low": -0.6036275320851539, "old_high": -0.61192332984853, "full_low": -0.6116104657923039, "full_high": -0.6079934773625615}, "high_minus_low_lr_old": -0.00829579776337619, "high_minus_low_lr_full": 0.0036169884297424515, "interaction_full_minus_old": 0.01191278619311864}}, "frequency": {"A": {"log_errors": {"old_low": -0.42990599552914815, "old_high": -0.4150317313612427, "full_low": -0.4174608383657935, "full_high": -0.4254479203253175}, "high_minus_low_lr_old": 0.014874264167905438, "high_minus_low_lr_full": -0.007987081959523967, "interaction_full_minus_old": -0.022861346127429405}, "D": {"log_errors": {"old_low": -0.5535992148767518, "old_high": -0.5549682076219994, "full_low": -0.5422288543781217, "full_high": -0.5426653267624815}, "high_minus_low_lr_old": -0.0013689927452475992, "high_minus_low_lr_full": -0.0004364723843597318, "interaction_full_minus_old": 0.0009325203608878674}, "H": {"log_errors": {"old_low": -0.4975138447734987, "old_high": -0.49858785505954567, "full_low": -0.5009947293687227, "full_high": -0.49722001054674614}, "high_minus_low_lr_old": -0.001074010286046978, "high_minus_low_lr_full": 0.0037747188219765526, "interaction_full_minus_old": 0.004848729108023531}, "M": {"log_errors": {"old_low": -0.1526999492237952, "old_high": -0.169560715885968, "full_low": -0.1572984157513656, "full_high": -0.15292359445124634}, "high_minus_low_lr_old": -0.016860766662172788, "high_minus_low_lr_full": 0.004374821300119264, "interaction_full_minus_old": 0.021235587962292052}, "Q": {"log_errors": {"old_low": -0.15700906289175215, "old_high": -0.14609852072401272, "full_low": -0.16031128597068794, "full_high": -0.16595621051813514}, "high_minus_low_lr_old": 0.010910542167739429, "high_minus_low_lr_full": -0.005644924547447194, "interaction_full_minus_old": -0.016555466715186623}, "S": {"log_errors": {"old_low": -0.33171342551840044, "old_high": -0.33809702818632875, "full_low": -0.35281823012845603, "full_high": -0.32676616904017924}, "high_minus_low_lr_old": -0.006383602667928312, "high_minus_low_lr_full": 0.02605206108827679, "interaction_full_minus_old": 0.0324356637562051}, "T": {"log_errors": {"old_low": -0.45113781257755103, "old_high": -0.4458802751896461, "full_low": -0.44808727312414753, "full_high": -0.4407312370738333}, "high_minus_low_lr_old": 0.005257537387904909, "high_minus_low_lr_full": 0.0073560360503142075, "interaction_full_minus_old": 0.0020984986624092983}, "W": {"log_errors": {"old_low": -0.3165703502956685, "old_high": -0.27599793970330044, "full_low": -0.2717136494344452, "full_high": -0.284043723505598}, "high_minus_low_lr_old": 0.04057241059236805, "high_minus_low_lr_full": -0.012330074071152775, "interaction_full_minus_old": -0.05290248466352082}}, "variates": {"multivariate": {"log_errors": {"old_low": -0.4627735471651315, "old_high": -0.4650732509101154, "full_low": -0.4665854703127811, "full_high": -0.46021404492525825}, "high_minus_low_lr_old": -0.002299703744983894, "high_minus_low_lr_full": 0.006371425387522833, "interaction_full_minus_old": 0.008671129132506727}, "univariate": {"log_errors": {"old_low": -0.4345474877107985, "old_high": -0.4260682502070146, "full_low": -0.42420769668817726, "full_high": -0.42201618302027344}, "high_minus_low_lr_old": 0.008479237503783876, "high_minus_low_lr_full": 0.0021915136679038216, "interaction_full_minus_old": -0.006287723835880055}}}, "evaluation_seconds": {"old_low": 34.97379684448242, "old_high": 34.942706823349, "full_low": 32.10593008995056, "full_high": 36.907283782958984}}, {"cutoff": "backcast3_evals", "skills": {"old_low": 0.37657565033817875, "old_high": 0.3796114863043607, "full_low": 0.3787802571153097, "full_high": 0.36970397337431227}, "overall": {"log_errors": {"old_low": -0.4725278529605921, "old_high": -0.4774093622037584, "full_low": -0.4760704063634901, "full_high": -0.4615656864244184}, "high_minus_low_lr_old": -0.0048815092431663265, "high_minus_low_lr_full": 0.014504719939071653, "interaction_full_minus_old": 0.01938622918223798}, "groups": {"term": {"long": {"log_errors": {"old_low": -0.4926591286669728, "old_high": -0.49636972459215023, "full_low": -0.4882043287774591, "full_high": -0.48393952269944507}, "high_minus_low_lr_old": -0.003710595925177418, "high_minus_low_lr_full": 0.0042648060780140495, "interaction_full_minus_old": 0.007975402003191467}, "medium": {"log_errors": {"old_low": -0.44766016525854335, "old_high": -0.46111356757207933, "full_low": -0.458808648593496, "full_high": -0.441908360038557}, "high_minus_low_lr_old": -0.013453402313535978, "high_minus_low_lr_full": 0.016900288554939025, "interaction_full_minus_old": 0.030353690868475003}, "short": {"log_errors": {"old_low": -0.47465488102762443, "old_high": -0.476773603078835, "full_low": -0.4781943069104249, "full_high": -0.4609739019520431}, "high_minus_low_lr_old": -0.002118722051210553, "high_minus_low_lr_full": 0.01722040495838184, "interaction_full_minus_old": 0.019339127009592394}}, "domain": {"Econ/Fin": {"log_errors": {"old_low": -0.20028389925674284, "old_high": -0.18488022807530863, "full_low": -0.1991557933049286, "full_high": -0.19601564360769846}, "high_minus_low_lr_old": 0.015403671181434209, "high_minus_low_lr_full": 0.0031401496972301435, "interaction_full_minus_old": -0.012263521484204065}, "Energy": {"log_errors": {"old_low": -0.36210373740269586, "old_high": -0.35908223217220264, "full_low": -0.3704183009705022, "full_high": -0.3590455245771105}, "high_minus_low_lr_old": 0.0030215052304932155, "high_minus_low_lr_full": 0.011372776393391737, "interaction_full_minus_old": 0.008351271162898521}, "Healthcare": {"log_errors": {"old_low": -0.19824536088757416, "old_high": -0.23191148397020897, "full_low": -0.1646794175224371, "full_high": -0.12445713432330384}, "high_minus_low_lr_old": -0.03366612308263481, "high_minus_low_lr_full": 0.04022228319913325, "interaction_full_minus_old": 0.07388840628176806}, "Nature": {"log_errors": {"old_low": -0.6788467955198889, "old_high": -0.6915191211660909, "full_low": -0.6922179377664677, "full_high": -0.6722190329935204}, "high_minus_low_lr_old": -0.01267232564620202, "high_minus_low_lr_full": 0.0199989047729473, "interaction_full_minus_old": 0.03267123041914932}, "Sales": {"log_errors": {"old_low": -0.5021577685933685, "old_high": -0.4967028395891807, "full_low": -0.5021623885432949, "full_high": -0.4974958596196685}, "high_minus_low_lr_old": 0.0054549290041877585, "high_minus_low_lr_full": 0.004666528923626345, "interaction_full_minus_old": -0.0007884000805614133}, "Transport": {"log_errors": {"old_low": -0.6811477389664482, "old_high": -0.6713568877186178, "full_low": -0.6835332250463357, "full_high": -0.6707927502113822}, "high_minus_low_lr_old": 0.009790851247830412, "high_minus_low_lr_full": 0.012740474834953552, "interaction_full_minus_old": 0.00294962358712314}, "Web/CloudOps": {"log_errors": {"old_low": -0.49664427468676425, "old_high": -0.520983816823144, "full_low": -0.49686716280728643, "full_high": -0.48171671894552837}, "high_minus_low_lr_old": -0.024339542136379733, "high_minus_low_lr_full": 0.015150443861758067, "interaction_full_minus_old": 0.0394899859981378}}, "frequency": {"A": {"log_errors": {"old_low": -0.483147249439831, "old_high": -0.4552205357801586, "full_low": -0.5162761606435927, "full_high": -0.512983304673957}, "high_minus_low_lr_old": 0.02792671365967242, "high_minus_low_lr_full": 0.0032928559696356885, "interaction_full_minus_old": -0.02463385769003673}, "D": {"log_errors": {"old_low": -0.5262691888719828, "old_high": -0.5266943485766937, "full_low": -0.5245023867004736, "full_high": -0.5019015483110555}, "high_minus_low_lr_old": -0.000425159704710909, "high_minus_low_lr_full": 0.022600838389418065, "interaction_full_minus_old": 0.023025998094128974}, "H": {"log_errors": {"old_low": -0.4995476773148976, "old_high": -0.5037588443304792, "full_low": -0.5074494730998872, "full_high": -0.49920548037361434}, "high_minus_low_lr_old": -0.004211167015581663, "high_minus_low_lr_full": 0.008243992726272853, "interaction_full_minus_old": 0.012455159741854516}, "M": {"log_errors": {"old_low": -0.10609099621034326, "old_high": -0.12852304848389962, "full_low": -0.03946594541783033, "full_high": -0.05643931264070215}, "high_minus_low_lr_old": -0.022432052273556352, "high_minus_low_lr_full": -0.01697336722287182, "interaction_full_minus_old": 0.005458685050684531}, "Q": {"log_errors": {"old_low": -0.31246460053766756, "old_high": -0.3090581501203792, "full_low": -0.31854498969027967, "full_high": -0.3171842901218683}, "high_minus_low_lr_old": 0.003406450417288376, "high_minus_low_lr_full": 0.0013606995684113943, "interaction_full_minus_old": -0.0020457508488769816}, "S": {"log_errors": {"old_low": -0.31725455117942225, "old_high": -0.33278724777554186, "full_low": -0.30858675298364296, "full_high": -0.2917855483213448}, "high_minus_low_lr_old": -0.01553269659611961, "high_minus_low_lr_full": 0.016801204662298175, "interaction_full_minus_old": 0.032333901258417785}, "T": {"log_errors": {"old_low": -0.5483264339681501, "old_high": -0.5603758976392267, "full_low": -0.5657999955938171, "full_high": -0.5472378163182366}, "high_minus_low_lr_old": -0.012049463671076621, "high_minus_low_lr_full": 0.01856217927558046, "interaction_full_minus_old": 0.03061164294665708}, "W": {"log_errors": {"old_low": -0.3174000153939416, "old_high": -0.2954566965860326, "full_low": -0.30482149365912536, "full_high": -0.28044898418183806}, "high_minus_low_lr_old": 0.021943318807909007, "high_minus_low_lr_full": 0.024372509477287307, "interaction_full_minus_old": 0.0024291906693783005}}, "variates": {"multivariate": {"log_errors": {"old_low": -0.4433098685755477, "old_high": -0.4536683665061608, "full_low": -0.45071621370295634, "full_high": -0.4361591052765231}, "high_minus_low_lr_old": -0.010358497930613109, "high_minus_low_lr_full": 0.014557108426433263, "interaction_full_minus_old": 0.02491560635704637}, "univariate": {"log_errors": {"old_low": -0.4955651098795695, "old_high": -0.49612822419609487, "full_low": -0.49606121211506493, "full_high": -0.481597798483336}, "high_minus_low_lr_old": -0.0005631143165253927, "high_minus_low_lr_full": 0.014463413631728927, "interaction_full_minus_old": 0.01502652794825432}}}, "evaluation_seconds": {"old_low": 35.68142318725586, "old_high": 37.132986068725586, "full_low": 33.256362199783325, "full_high": 37.78810501098633}}], "seconds": 3.1639312840998173, "no_new_inference_or_training": true, "interpretation": "Negative log-error interaction means the higher LR helps more, or hurts less, on the full corpus at this update count.", "limitation": "Descriptive matched-recipe comparison on adaptively reused validation windows, not a held-out significance test. Equal updates do not imply equal isolated GPU compute."} + +2026-10-24T04:27:43.956964+00:00: E147 original final endpoint review {"utc": "2026-10-24T04:27:43.956964+00:00", "experiment": "E147final96000", "seed": 307, "checkpoint_sha256": "db18302560ead9b5476cffd44359c8957673e62c34e68afb89b50d355a20ef28", "training_process_seconds": 20237.286511349026, "training_process_loop_seconds": 20174.71834988799, "training_phase_log": "/workspace/research/random_capacity_full_highlr_train_recovery4.log", "evaluation_seconds": 148.90971159934998, "compute_scope": "Completed shared-H100 training process wall and its logged training loop; prior phase ledgers, if any, remain in capacity_learning_curves.json. Evaluation seconds exclude lock wait.", "rows": [{"cutoff": "evals", "candidate_skill": 0.3678897414770492, "evaluation_seconds": 37.03971338272095, "delta_full_low": -0.0007552493461946419, "group_deltas_full_low": {"term": {"long": 0.006668580922152834, "medium": -0.0035731470371741514, "short": -0.0026071008624778402}, "domain": {"Econ/Fin": -0.01364663461358917, "Energy": -0.013618758104388506, "Healthcare": 0.0071289480303269315, "Nature": 0.005583146832359609, "Sales": -0.012900781695967867, "Transport": 0.003456123818793566, "Web/CloudOps": 0.008038745744306519}, "frequency": {"A": -0.0008347979097897973, "D": -0.010285251115572103, "H": -0.0017595314366565251, "M": 0.04790121661687263, "Q": 0.0029767867518104563, "S": 0.0017204127324896845, "T": 0.001472209859271989, "W": -0.012785219026801076}, "variates": {"multivariate": 0.0005020671814918165, "univariate": -0.0018024519059414157}}, "delta_old_high": -0.0032910851291494403, "group_deltas_old_high": {"term": {"long": 0.005868649732716613, "medium": -0.002209628932050678, "short": -0.0074314958408576715}, "domain": {"Econ/Fin": -0.0018702397641342516, "Energy": -0.007201578911505413, "Healthcare": -0.0743640894497487, "Nature": 0.007823270961786255, "Sales": -0.002205111396217485, "Transport": 0.005838894130883898, "Web/CloudOps": 0.003638376878799865}, "frequency": {"A": -0.006984345789323054, "D": 9.927045682323055e-05, "H": -0.002369696992987169, "M": -0.07142465283557786, "Q": -0.0033465805993414532, "S": 0.0015794302524799742, "T": 0.005899992728655046, "W": -0.02921628745518401}, "variates": {"multivariate": 0.003823107302333373, "univariate": -0.00916761706543956}}, "corpus_by_lr_interaction": {"log_errors": {"old_low": -0.4598480154114395, "old_high": -0.4639115462935248, "full_low": -0.4598869610562904, "full_high": -0.45869144036338805}, "high_minus_low_lr_old": -0.004063530882085331, "high_minus_low_lr_full": 0.001195520692902352, "interaction_full_minus_old": 0.005259051574987683}}, {"cutoff": "backcast_evals", "candidate_skill": 0.33373673019144867, "evaluation_seconds": 37.174609422683716, "delta_full_low": -0.002014305413121975, "group_deltas_full_low": {"term": {"long": -0.0022038758898392796, "medium": -0.0044287561794524866, "short": -0.0009313007431160925}, "domain": {"Econ/Fin": -0.012699007247504723, "Energy": 0.0045830826418642445, "Healthcare": -0.00409025662656759, "Nature": -0.001694066119323323, "Sales": -0.004202845209379746, "Transport": -0.00257950699257814, "Web/CloudOps": -0.0061951940010580575}, "frequency": {"A": 0.004241947461280149, "D": 0.007651631033819051, "H": 0.0008918318294566241, "M": -0.009597780507619502, "Q": -0.008624747468827798, "S": -0.010715274654970242, "T": -0.006229262370445188, "W": -0.006673500539787991}, "variates": {"multivariate": -0.002750398645853025, "univariate": -0.0013872236952414685}}, "delta_old_high": -0.0009894434618927805, "group_deltas_old_high": {"term": {"long": -0.0016080487601414228, "medium": -0.005490652197667978, "short": 0.0011422169686426953}, "domain": {"Econ/Fin": -0.00012009000132739978, "Energy": 0.006274220898994987, "Healthcare": -0.026531921481928844, "Nature": 0.000726982817765176, "Sales": -0.00379887829239256, "Transport": -0.001465301999242996, "Web/CloudOps": -0.003934992518093927}, "frequency": {"A": 0.00015789124289977696, "D": -0.00627516754742119, "H": 0.0037648133190749666, "M": 0.03173858534871088, "Q": 0.01315692522186096, "S": -0.013032748898265223, "T": -0.0043464863852406, "W": -0.006690279655997888}, "variates": {"multivariate": -0.002982393629658464, "univariate": 0.0007070693259613181}}, "corpus_by_lr_interaction": {"log_errors": {"old_low": -0.4044593874281497, "old_high": -0.407556554137505, "full_low": -0.4090982534018722, "full_high": -0.4060703865393741}, "high_minus_low_lr_old": -0.0030971667093553368, "high_minus_low_lr_full": 0.0030278668624981186, "interaction_full_minus_old": 0.006125033571853455}}, {"cutoff": "backcast2_evals", "candidate_skill": 0.35537292829864975, "evaluation_seconds": 36.907283782958984, "delta_full_low": -0.002611324091405298, "group_deltas_full_low": {"term": {"long": -0.005239038407394037, "medium": -0.0023561365547786206, "short": -0.0017528754939156732}, "domain": {"Econ/Fin": -0.006284398479155406, "Energy": 0.0014562035053473643, "Healthcare": -0.010086304896256837, "Nature": -0.008220625959734384, "Sales": 0.0034504151875611733, "Transport": -0.0020166752046384406, "Web/CloudOps": -0.0019656841008134363}, "frequency": {"A": 0.005240273859406841, "D": 0.00025373185605648274, "H": -0.0022915286311996352, "M": -0.0037462504720240375, "Q": 0.004795243124099513, "S": -0.018547462094394507, "T": -0.004716722661610273, "W": 0.00933871789696894}, "variates": {"multivariate": -0.0040085322188284644, "univariate": -0.0014354533718674567}}, "delta_old_high": -0.002838281392793407, "group_deltas_old_high": {"term": {"long": -0.0035194451121877135, "medium": -0.0013656179828270831, "short": -0.003205414269156437}, "domain": {"Econ/Fin": 0.0009514722684207388, "Energy": -0.00014760879500341773, "Healthcare": -0.06879881763185769, "Nature": 0.0034581101285119376, "Sales": 0.006229288271593081, "Transport": 0.0017904350378034062, "Web/CloudOps": -0.0021353789598392847}, "frequency": {"A": 0.006842313612440809, "D": -0.007106593326589805, "H": -0.0008313805037530875, "M": -0.014159783627525235, "Q": 0.016989243218591632, "S": -0.008126283235136866, "T": -0.00330522738804917, "W": 0.006080762313497967}, "variates": {"multivariate": -0.0030594414997175967, "univariate": -0.002651659405828677}}, "corpus_by_lr_interaction": {"log_errors": {"old_low": -0.4471591312967772, "old_high": -0.4434960164786128, "full_low": -0.44314244660555346, "full_high": -0.43908331280760704}, "high_minus_low_lr_old": 0.0036631148181643924, "high_minus_low_lr_full": 0.004059133797946424, "interaction_full_minus_old": 0.00039601897978203127}}, {"cutoff": "backcast3_evals", "candidate_skill": 0.36970397337431227, "evaluation_seconds": 37.78810501098633, "delta_full_low": -0.009076283740997448, "group_deltas_full_low": {"term": {"long": -0.0026230179490334127, "medium": -0.010772365366253256, "short": -0.010767402328377362}, "domain": {"Econ/Fin": -0.002577152649998138, "Energy": -0.00789710265931165, "Healthcare": -0.03481054239635728, "Nature": -0.010109501155338818, "Sales": -0.002830879122527441, "Transport": -0.006472922432941286, "Web/CloudOps": -0.009288224846993431}, "frequency": {"A": -0.0019682129187963415, "D": -0.013528604803323074, "H": -0.004983637947020725, "M": 0.016178850369833464, "Q": -0.00099018289872832, "S": -0.012444468175713763, "T": -0.010640011755686851, "W": -0.01818951534483182}, "variates": {"multivariate": -0.009343216724631898, "univariate": -0.008871123701611583}}, "delta_old_high": -0.009907512930048434, "group_deltas_old_high": {"term": {"long": -0.007613941403363689, "medium": -0.012227479934838525, "short": -0.009886079658540381}, "domain": {"Econ/Fin": 0.009204457231440033, "Energy": -2.563400540278593e-05, "Healthcare": -0.08995979506778895, "Nature": -0.009759645790972438, "Sales": 0.0004823881869544522, "Transport": -0.0002883638997194238, "Web/CloudOps": -0.023786089652408915}, "frequency": {"A": 0.03560127777072286, "D": -0.01482449621775117, "H": -0.002757666889925403, "M": -0.0657305463221396, "Q": 0.005941535237961815, "S": -0.03000599408060689, "T": -0.007551266664075906, "W": -0.01125284261349535}, "variates": {"multivariate": -0.011221470948376888, "univariate": -0.008911927623399651}}, "corpus_by_lr_interaction": {"log_errors": {"old_low": -0.4725278529605921, "old_high": -0.4774093622037584, "full_low": -0.4760704063634901, "full_high": -0.4615656864244184}, "high_minus_low_lr_old": -0.0048815092431663265, "high_minus_low_lr_full": 0.014504719939071653, "interaction_full_minus_old": 0.01938622918223798}}], "positive_vs_full_low": 0, "mean_delta_vs_full_low": -0.003614290647929841, "positive_vs_old_high": 0, "mean_delta_vs_old_high": -0.0042565807284710155, "mean_group_deltas": {"full_low": {"term": {"long": -0.0008493378310284738, "medium": -0.005282601284414629, "short": -0.004014669856971742}, "domain": {"Econ/Fin": -0.00880179824756186, "Energy": -0.003869143654122137, "Healthcare": -0.010464538972213694, "Nature": -0.003610261600509229, "Sales": -0.00412102271007847, "Transport": -0.0019032452028410751, "Web/CloudOps": -0.0023525893011396015}, "frequency": {"A": 0.0016698026230252128, "D": -0.003977123257254911, "H": -0.0020357165463550653, "M": 0.01268400900176564, "Q": -0.0004607251229115372, "S": -0.009996698048147207, "T": -0.005028446732117581, "W": -0.0070773792536129865}, "variates": {"multivariate": -0.0039000201019553926, "univariate": -0.003374063168665481}}, "old_high": {"term": {"long": -0.001718196385744053, "medium": -0.005323344761846066, "short": -0.0048451931999779485}, "domain": {"Econ/Fin": 0.00204139993359978, "Energy": -0.0002751502032291575, "Healthcare": -0.06491365590783105, "Nature": 0.0005621795292727327, "Sales": 0.00017692169248437195, "Transport": 0.0014689158174312211, "Web/CloudOps": -0.0065545210628855655}, "frequency": {"A": 0.008904284209185098, "D": -0.007026746658734734, "H": -0.0005484827668976733, "M": -0.029894099359132953, "Q": 0.008185280769768238, "S": -0.012396398990382251, "T": -0.0023257469271776576, "W": -0.01026966185279482}, "variates": {"multivariate": -0.003360049693854894, "univariate": -0.005006033692176642}}}, "mean_error_interaction_full_minus_old": 0.007791583327215287, "source_gate_passed": false, "source_comparison": "/workspace/research/random_capacity_full_highlr96k_four_cutoff_comparison.json", "original_primary_review": "/workspace/research/CURRENT_RESEARCH_STATE.json completed_endpoint_reviews.E147primary48000", "optimizer_updates": 0, "new_neural_inference": false, "analysis_seconds": 0.5651750869583338, "outcome": "Original96k source comparison complete. E169 controller independently applies its predeclared source and fixed-quartet gates. No automatic publication or72000 substitution; current package remains until complete candidate review.", "next_allocation": "Alreadyqueued E157seasonal-feature distillation takes this allocation after96000; preserve its original recipe.", "interpretation": "Original E147 convention: negative log-error interaction means highLR helps more or hurts less on full corpus. The separate main-curve table expresses the negated contrast as a data-gain interaction. Both are descriptive, adaptively observed, single-seed comparisons."} + +## E152 ensemble_gate_refresh_full 6000 valid_screen +- Checkpoint SHA-256: `2e5fe5b5bb3330477d4506b282d3d2e952653dd9f374140d3dc5e183052e5d41`. +- Evaluation: 97 configurations, 9473 instances, 0 failed configurations; 107.0373036810197 seconds. +- Overall skill 0.389607; relative MASE 0.731892; relative WQL 0.509064. +- term skill: long=0.4082, medium=0.4127, short=0.3732. +- domain skill: Econ/Fin=0.1515, Energy=0.2477, Healthcare=0.4907, Nature=0.4446, Sales=0.3441, Transport=0.4758, Web/CloudOps=0.5089. +- frequency skill: A=0.3812, D=0.3764, H=0.4052, M=0.1177, Q=0.2040, S=0.4251, T=0.4473, W=0.2452. +- variates skill: multivariate=0.4020, univariate=0.3796. +- Outcome: Declared expert-version/corpus-coverage factorial. Only6340gateparameters trained; all four immutable experts forecast every instance. Source/control/current comparisons precede any full replay. + +## E152 ensemble_gate_refresh_full 6000 valid_backcast +- Checkpoint SHA-256: `2e5fe5b5bb3330477d4506b282d3d2e952653dd9f374140d3dc5e183052e5d41`. +- Evaluation: 97 configurations, 9330 instances, 0 failed configurations; 106.15256676310673 seconds. +- Overall skill 0.345513; relative MASE 0.787896; relative WQL 0.543667. +- term skill: long=0.4056, medium=0.3637, short=0.3137. +- domain skill: Econ/Fin=0.1824, Energy=0.2346, Healthcare=0.3991, Nature=0.3850, Sales=0.4085, Transport=0.3796, Web/CloudOps=0.4582. +- frequency skill: A=0.3274, D=0.3640, H=0.3787, M=0.1909, Q=0.2378, S=0.3461, T=0.3416, W=0.2919. +- variates skill: multivariate=0.3633, univariate=0.3310. +- Outcome: Declared expert-version/corpus-coverage factorial. Only6340gateparameters trained; all four immutable experts forecast every instance. Source/control/current comparisons precede any full replay. + +## E152 ensemble_gate_refresh_full 6000 valid_backcast2 +- Checkpoint SHA-256: `2e5fe5b5bb3330477d4506b282d3d2e952653dd9f374140d3dc5e183052e5d41`. +- Evaluation: 94 configurations, 8934 instances, 0 failed configurations; 103.69305629003793 seconds. +- Overall skill 0.370180; relative MASE 0.759422; relative WQL 0.522336. +- term skill: long=0.3746, medium=0.3982, short=0.3573. +- domain skill: Econ/Fin=0.1324, Energy=0.2429, Healthcare=0.3527, Nature=0.4850, Sales=0.5580, Transport=0.4294, Web/CloudOps=0.4473. +- frequency skill: A=0.3387, D=0.4344, H=0.4009, M=0.1733, Q=0.1572, S=0.2905, T=0.3713, W=0.2846. +- variates skill: multivariate=0.3727, univariate=0.3681. +- Outcome: Declared expert-version/corpus-coverage factorial. Only6340gateparameters trained; all four immutable experts forecast every instance. Source/control/current comparisons precede any full replay. + +## E152 ensemble_gate_refresh_full 6000 valid_backcast3 +- Checkpoint SHA-256: `2e5fe5b5bb3330477d4506b282d3d2e952653dd9f374140d3dc5e183052e5d41`. +- Evaluation: 93 configurations, 8812 instances, 0 failed configurations; 106.25240059103817 seconds. +- Overall skill 0.392537; relative MASE 0.737399; relative WQL 0.500423. +- term skill: long=0.3988, medium=0.3712, short=0.3980. +- domain skill: Econ/Fin=0.1938, Energy=0.3191, Healthcare=0.2363, Nature=0.5057, Sales=0.4043, Transport=0.5138, Web/CloudOps=0.4001. +- frequency skill: A=0.3652, D=0.4447, H=0.4092, M=0.1458, Q=0.2623, S=0.2903, T=0.4343, W=0.2501. +- variates skill: multivariate=0.3756, univariate=0.4056. +- Outcome: Declared expert-version/corpus-coverage factorial. Only6340gateparameters trained; all four immutable experts forecast every instance. Source/control/current comparisons precede any full replay. + +E152 ensemble_gate_refresh_full vs ensemble_gate_refresh at6000: {"label": "E152 ensemble_gate_refresh_full vs ensemble_gate_refresh at6000", "utc": "2026-10-24T04:28:33.118210+00:00", "candidate": "ensemble_gate_refresh_full_ema6000", "control": "ensemble_gate_refresh_ema6000", "rows": [{"cutoff": "evals", "candidate_skill": 0.3896069046886559, "control_skill": 0.3895317981891372, "delta": 7.510649951869564e-05, "candidate_checkpoint": "2e5fe5b5bb3330477d4506b282d3d2e952653dd9f374140d3dc5e183052e5d41", "control_checkpoint": "a7d0ee6866ea787f29eac043531aad3613674f159fd00b3491fd87fab8388fd1", "candidate_eval_seconds": 107.0373036810197, "candidate_groups": {"term": {"long": {"n_configs": 21, "rel_mase_gmean": 0.7370861722100921, "rel_wql_gmean": 0.4751483788984836}, "medium": {"n_configs": 21, "rel_mase_gmean": 0.7057641586659278, "rel_wql_gmean": 0.48866884758106977}, "short": {"n_configs": 55, "rel_mase_gmean": 0.740120326513184, "rel_wql_gmean": 0.5308662059574696}}, "domain": {"Econ/Fin": {"n_configs": 6, "rel_mase_gmean": 0.8617847757711056, "rel_wql_gmean": 0.8354543095800152}, "Energy": {"n_configs": 32, "rel_mase_gmean": 0.8914103699340911, "rel_wql_gmean": 0.6348279388626491}, "Healthcare": {"n_configs": 5, "rel_mase_gmean": 0.5370011815442441, "rel_wql_gmean": 0.4829480727958993}, "Nature": {"n_configs": 15, "rel_mase_gmean": 0.7975988115166041, "rel_wql_gmean": 0.3868148938817993}, "Sales": {"n_configs": 4, "rel_mase_gmean": 0.8411060487731294, "rel_wql_gmean": 0.5114421440017441}, "Transport": {"n_configs": 15, "rel_mase_gmean": 0.6355147386075476, "rel_wql_gmean": 0.4324409625123753}, "Web/CloudOps": {"n_configs": 20, "rel_mase_gmean": 0.5567723722962932, "rel_wql_gmean": 0.4332231808615229}}, "frequency": {"A": {"n_configs": 1, "rel_mase_gmean": 0.6078613555018816, "rel_wql_gmean": 0.6299454100935914}, "D": {"n_configs": 15, "rel_mase_gmean": 0.751236331297904, "rel_wql_gmean": 0.5175696009350732}, "H": {"n_configs": 31, "rel_mase_gmean": 0.7250559517455619, "rel_wql_gmean": 0.48798901196341504}, "M": {"n_configs": 5, "rel_mase_gmean": 0.9618993379416451, "rel_wql_gmean": 0.8093108477974953}, "Q": {"n_configs": 1, "rel_mase_gmean": 0.768468758523641, "rel_wql_gmean": 0.8245460021276061}, "S": {"n_configs": 6, "rel_mase_gmean": 0.6565340125694463, "rel_wql_gmean": 0.5033325961590629}, "T": {"n_configs": 30, "rel_mase_gmean": 0.682215738466367, "rel_wql_gmean": 0.4477542058966134}, "W": {"n_configs": 8, "rel_mase_gmean": 0.8752162965921794, "rel_wql_gmean": 0.6509242274879504}}, "variates": {"multivariate": {"n_configs": 43, "rel_mase_gmean": 0.70599344582005, "rel_wql_gmean": 0.506602105164574}, "univariate": {"n_configs": 54, "rel_mase_gmean": 0.7531928632610193, "rel_wql_gmean": 0.5110325155108705}}}, "control_groups": {"term": {"long": {"n_configs": 21, "rel_mase_gmean": 0.7372910872105298, "rel_wql_gmean": 0.475361491593079}, "medium": {"n_configs": 21, "rel_mase_gmean": 0.7059448743204372, "rel_wql_gmean": 0.4887802471699748}, "short": {"n_configs": 55, "rel_mase_gmean": 0.7400407276527646, "rel_wql_gmean": 0.5309083645115582}}, "domain": {"Econ/Fin": {"n_configs": 6, "rel_mase_gmean": 0.861761074473197, "rel_wql_gmean": 0.8357580022063049}, "Energy": {"n_configs": 32, "rel_mase_gmean": 0.891567524115927, "rel_wql_gmean": 0.6350186311105107}, "Healthcare": {"n_configs": 5, "rel_mase_gmean": 0.536823592806635, "rel_wql_gmean": 0.4829735656797898}, "Nature": {"n_configs": 15, "rel_mase_gmean": 0.7976810523716626, "rel_wql_gmean": 0.3871128655706787}, "Sales": {"n_configs": 4, "rel_mase_gmean": 0.8408654233113412, "rel_wql_gmean": 0.5114470324622404}, "Transport": {"n_configs": 15, "rel_mase_gmean": 0.635717889403452, "rel_wql_gmean": 0.4325032391933097}, "Web/CloudOps": {"n_configs": 20, "rel_mase_gmean": 0.5566688178245075, "rel_wql_gmean": 0.4330665360466799}}, "frequency": {"A": {"n_configs": 1, "rel_mase_gmean": 0.6078795957820057, "rel_wql_gmean": 0.6298057839079658}, "D": {"n_configs": 15, "rel_mase_gmean": 0.7511745859315179, "rel_wql_gmean": 0.5175460272917229}, "H": {"n_configs": 31, "rel_mase_gmean": 0.7252145183860084, "rel_wql_gmean": 0.48807215621195793}, "M": {"n_configs": 5, "rel_mase_gmean": 0.9612864068952771, "rel_wql_gmean": 0.8095303543733515}, "Q": {"n_configs": 1, "rel_mase_gmean": 0.7685021856977061, "rel_wql_gmean": 0.8243764659038937}, "S": {"n_configs": 6, "rel_mase_gmean": 0.656747019129794, "rel_wql_gmean": 0.5033903925265127}, "T": {"n_configs": 30, "rel_mase_gmean": 0.682054221544388, "rel_wql_gmean": 0.44777241904789566}, "W": {"n_configs": 8, "rel_mase_gmean": 0.8760944822448286, "rel_wql_gmean": 0.6518308741737405}}, "variates": {"multivariate": {"n_configs": 43, "rel_mase_gmean": 0.7061769904534376, "rel_wql_gmean": 0.5067517479152763}, "univariate": {"n_configs": 54, "rel_mase_gmean": 0.7531108622118862, "rel_wql_gmean": 0.5110880833219823}}}, "group_skill_delta": {"term": {"long": 0.00021497601441466951, "medium": 0.0001421255510276609, "short": -8.82019867565198e-06}, "domain": {"Econ/Fin": 0.00014253615271353492, "Energy": 0.00017929268198235704, "Healthcare": -7.077549069522959e-05, "Nature": 0.0002425422910496966, "Sales": -9.069029083874636e-05, "Transport": 0.00012153546826021433, "Web/CloudOps": -0.00013446552266671574}, "frequency": {"A": -5.929901986023722e-05, "D": -3.9825895087997054e-05, "H": 0.00011571664490428457, "M": -0.00016154656882205742, "Q": -6.452833478309827e-05, "S": 0.0001262540311838256, "T": -5.41900391616279e-05, "W": 0.0009043130016944678}, "variates": {"multivariate": 0.00016606676957175992, "univariate": -4.551865906421426e-08}}}, {"cutoff": "backcast_evals", "candidate_skill": 0.3455131384414102, "control_skill": 0.3454776695706264, "delta": 3.5468870783761375e-05, "candidate_checkpoint": "2e5fe5b5bb3330477d4506b282d3d2e952653dd9f374140d3dc5e183052e5d41", "control_checkpoint": "a7d0ee6866ea787f29eac043531aad3613674f159fd00b3491fd87fab8388fd1", "candidate_eval_seconds": 106.15256676310673, "candidate_groups": {"term": {"long": {"n_configs": 21, "rel_mase_gmean": 0.7679474770163495, "rel_wql_gmean": 0.4601242291806041}, "medium": {"n_configs": 21, "rel_mase_gmean": 0.7671660546981421, "rel_wql_gmean": 0.5277952572086696}, "short": {"n_configs": 55, "rel_mase_gmean": 0.8037907102471181, "rel_wql_gmean": 0.5860185695287184}}, "domain": {"Econ/Fin": {"n_configs": 6, "rel_mase_gmean": 0.8520761504327704, "rel_wql_gmean": 0.7844989545605039}, "Energy": {"n_configs": 32, "rel_mase_gmean": 0.8841263665927706, "rel_wql_gmean": 0.6626632845177778}, "Healthcare": {"n_configs": 5, "rel_mase_gmean": 0.6496744549567709, "rel_wql_gmean": 0.5558112499026173}, "Nature": {"n_configs": 15, "rel_mase_gmean": 0.9025211999156728, "rel_wql_gmean": 0.4190609766352248}, "Sales": {"n_configs": 4, "rel_mase_gmean": 0.7198591681149351, "rel_wql_gmean": 0.48603697897564463}, "Transport": {"n_configs": 15, "rel_mase_gmean": 0.732137229400994, "rel_wql_gmean": 0.5257456982795566}, "Web/CloudOps": {"n_configs": 20, "rel_mase_gmean": 0.652601080874475, "rel_wql_gmean": 0.4498442078542078}}, "frequency": {"A": {"n_configs": 1, "rel_mase_gmean": 0.6366920729411598, "rel_wql_gmean": 0.7105598192359468}, "D": {"n_configs": 15, "rel_mase_gmean": 0.8259115520153425, "rel_wql_gmean": 0.4898017473671099}, "H": {"n_configs": 31, "rel_mase_gmean": 0.7660427040208704, "rel_wql_gmean": 0.5038495974699037}, "M": {"n_configs": 5, "rel_mase_gmean": 0.8475996008308362, "rel_wql_gmean": 0.7724216636875095}, "Q": {"n_configs": 1, "rel_mase_gmean": 0.755661978002567, "rel_wql_gmean": 0.7688570108901012}, "S": {"n_configs": 6, "rel_mase_gmean": 0.8495760994563041, "rel_wql_gmean": 0.5033562384326171}, "T": {"n_configs": 30, "rel_mase_gmean": 0.7593437025043664, "rel_wql_gmean": 0.5708740717280031}, "W": {"n_configs": 8, "rel_mase_gmean": 0.8610138337235285, "rel_wql_gmean": 0.5823485546849707}}, "variates": {"multivariate": {"n_configs": 43, "rel_mase_gmean": 0.7770695540836746, "rel_wql_gmean": 0.5216268756032048}, "univariate": {"n_configs": 54, "rel_mase_gmean": 0.7966255142087549, "rel_wql_gmean": 0.5618811228901229}}}, "control_groups": {"term": {"long": {"n_configs": 21, "rel_mase_gmean": 0.7682992934300801, "rel_wql_gmean": 0.4603481923487467}, "medium": {"n_configs": 21, "rel_mase_gmean": 0.7671936060249892, "rel_wql_gmean": 0.5278994100733223}, "short": {"n_configs": 55, "rel_mase_gmean": 0.8037195856014948, "rel_wql_gmean": 0.5859188995810685}}, "domain": {"Econ/Fin": {"n_configs": 6, "rel_mase_gmean": 0.8519470203790686, "rel_wql_gmean": 0.7843436351748864}, "Energy": {"n_configs": 32, "rel_mase_gmean": 0.8839849120255651, "rel_wql_gmean": 0.6627132853532696}, "Healthcare": {"n_configs": 5, "rel_mase_gmean": 0.6501918129453054, "rel_wql_gmean": 0.5552617068728027}, "Nature": {"n_configs": 15, "rel_mase_gmean": 0.9029765723480359, "rel_wql_gmean": 0.41933659882692836}, "Sales": {"n_configs": 4, "rel_mase_gmean": 0.7206772671156487, "rel_wql_gmean": 0.48651256810656507}, "Transport": {"n_configs": 15, "rel_mase_gmean": 0.7320515574055485, "rel_wql_gmean": 0.5256594049916216}, "Web/CloudOps": {"n_configs": 20, "rel_mase_gmean": 0.6525097462845398, "rel_wql_gmean": 0.4497860672936622}}, "frequency": {"A": {"n_configs": 1, "rel_mase_gmean": 0.6369814117134706, "rel_wql_gmean": 0.7110896044409043}, "D": {"n_configs": 15, "rel_mase_gmean": 0.8260479293075363, "rel_wql_gmean": 0.48984028216309583}, "H": {"n_configs": 31, "rel_mase_gmean": 0.7658567229533491, "rel_wql_gmean": 0.5037858902419733}, "M": {"n_configs": 5, "rel_mase_gmean": 0.8468901021161598, "rel_wql_gmean": 0.7718937112356121}, "Q": {"n_configs": 1, "rel_mase_gmean": 0.755790152719215, "rel_wql_gmean": 0.7687773597432606}, "S": {"n_configs": 6, "rel_mase_gmean": 0.8504692043074787, "rel_wql_gmean": 0.503864617747901}, "T": {"n_configs": 30, "rel_mase_gmean": 0.7595393847921822, "rel_wql_gmean": 0.5711023054727432}, "W": {"n_configs": 8, "rel_mase_gmean": 0.8610230023499875, "rel_wql_gmean": 0.5818011211285703}}, "variates": {"multivariate": {"n_configs": 43, "rel_mase_gmean": 0.7772543120611853, "rel_wql_gmean": 0.5217908647612797}, "univariate": {"n_configs": 54, "rel_mase_gmean": 0.7965559312976828, "rel_wql_gmean": 0.561792596013104}}}, "group_skill_delta": {"term": {"long": 0.000280831335885523, "medium": 7.420870056495943e-05, "short": -8.87303137142581e-05}, "domain": {"Econ/Fin": -0.00014288750744795298, "Energy": -3.235960349035061e-05, "Healthcare": -5.804364668116069e-05, "Nature": 0.0003573897277089344, "Sales": 0.0006255072836763853, "Transport": -8.721579256987244e-05, "Web/CloudOps": -7.29291556885725e-05}, "frequency": {"A": 0.00040357027789306166, "D": 7.75305917600777e-05, "H": -0.00011469359253313272, "M": -0.0006151783347679851, "Q": 2.5155003666288422e-05, "S": 0.0006739568369605875, "T": 0.00021644586799407506, "W": -0.00032913413471069575}, "variates": {"multivariate": 0.00017576406312780346, "univariate": -8.19243548095816e-05}}}, {"cutoff": "backcast2_evals", "candidate_skill": 0.37017971783066894, "control_skill": 0.370165235742403, "delta": 1.4482088265932447e-05, "candidate_checkpoint": "2e5fe5b5bb3330477d4506b282d3d2e952653dd9f374140d3dc5e183052e5d41", "control_checkpoint": "a7d0ee6866ea787f29eac043531aad3613674f159fd00b3491fd87fab8388fd1", "candidate_eval_seconds": 103.69305629003793, "candidate_groups": {"term": {"long": {"n_configs": 19, "rel_mase_gmean": 0.7893612425857788, "rel_wql_gmean": 0.49550906445277465}, "medium": {"n_configs": 21, "rel_mase_gmean": 0.7459659214911168, "rel_wql_gmean": 0.48550757582282716}, "short": {"n_configs": 54, "rel_mase_gmean": 0.7543861257709813, "rel_wql_gmean": 0.5474647735137441}}, "domain": {"Econ/Fin": {"n_configs": 6, "rel_mase_gmean": 0.8602766390946573, "rel_wql_gmean": 0.874912639143025}, "Energy": {"n_configs": 32, "rel_mase_gmean": 0.8955427029386651, "rel_wql_gmean": 0.6399778697260564}, "Healthcare": {"n_configs": 5, "rel_mase_gmean": 0.6981881859878655, "rel_wql_gmean": 0.6000712946673727}, "Nature": {"n_configs": 15, "rel_mase_gmean": 0.7426060546138283, "rel_wql_gmean": 0.35710792034946803}, "Sales": {"n_configs": 3, "rel_mase_gmean": 0.5561437320389908, "rel_wql_gmean": 0.3512112331884826}, "Transport": {"n_configs": 14, "rel_mase_gmean": 0.6611474544363344, "rel_wql_gmean": 0.4925119973242889}, "Web/CloudOps": {"n_configs": 19, "rel_mase_gmean": 0.6695461985839319, "rel_wql_gmean": 0.4562423640320891}}, "frequency": {"A": {"n_configs": 1, "rel_mase_gmean": 0.5793207185079722, "rel_wql_gmean": 0.7547950575518872}, "D": {"n_configs": 15, "rel_mase_gmean": 0.7225803932563916, "rel_wql_gmean": 0.4427320914364753}, "H": {"n_configs": 30, "rel_mase_gmean": 0.7478866057907548, "rel_wql_gmean": 0.4799400551874893}, "M": {"n_configs": 4, "rel_mase_gmean": 0.8057383653700284, "rel_wql_gmean": 0.8482090243696382}, "Q": {"n_configs": 1, "rel_mase_gmean": 0.8227414689524829, "rel_wql_gmean": 0.8633395322032211}, "S": {"n_configs": 6, "rel_mase_gmean": 0.8990954008550729, "rel_wql_gmean": 0.5598818855526715}, "T": {"n_configs": 29, "rel_mase_gmean": 0.7459786519899156, "rel_wql_gmean": 0.529925048815128}, "W": {"n_configs": 8, "rel_mase_gmean": 0.8251288562886985, "rel_wql_gmean": 0.6202949057564647}}, "variates": {"multivariate": {"n_configs": 42, "rel_mase_gmean": 0.7745440878556049, "rel_wql_gmean": 0.5079856606887848}, "univariate": {"n_configs": 52, "rel_mase_gmean": 0.7474231483264429, "rel_wql_gmean": 0.5342228844511482}}}, "control_groups": {"term": {"long": {"n_configs": 19, "rel_mase_gmean": 0.7893352425506769, "rel_wql_gmean": 0.4955073132089959}, "medium": {"n_configs": 21, "rel_mase_gmean": 0.7462423850102285, "rel_wql_gmean": 0.4855953486050996}, "short": {"n_configs": 54, "rel_mase_gmean": 0.7543105923436472, "rel_wql_gmean": 0.5474530671274166}}, "domain": {"Econ/Fin": {"n_configs": 6, "rel_mase_gmean": 0.8601583932099811, "rel_wql_gmean": 0.8752095032307797}, "Energy": {"n_configs": 32, "rel_mase_gmean": 0.8954364701964974, "rel_wql_gmean": 0.6400986274575392}, "Healthcare": {"n_configs": 5, "rel_mase_gmean": 0.6991314129893408, "rel_wql_gmean": 0.6000817445814411}, "Nature": {"n_configs": 15, "rel_mase_gmean": 0.7424823892628674, "rel_wql_gmean": 0.35681371393365835}, "Sales": {"n_configs": 3, "rel_mase_gmean": 0.5558675673074226, "rel_wql_gmean": 0.3513578471851172}, "Transport": {"n_configs": 14, "rel_mase_gmean": 0.6612421491697135, "rel_wql_gmean": 0.49260701074693874}, "Web/CloudOps": {"n_configs": 19, "rel_mase_gmean": 0.6696026675214356, "rel_wql_gmean": 0.4563101938964046}}, "frequency": {"A": {"n_configs": 1, "rel_mase_gmean": 0.5789730043296951, "rel_wql_gmean": 0.7576673606155501}, "D": {"n_configs": 15, "rel_mase_gmean": 0.7225616227655982, "rel_wql_gmean": 0.4424583186240813}, "H": {"n_configs": 30, "rel_mase_gmean": 0.7480492805694633, "rel_wql_gmean": 0.4801115575300454}, "M": {"n_configs": 4, "rel_mase_gmean": 0.8036721258294334, "rel_wql_gmean": 0.8456925806330998}, "Q": {"n_configs": 1, "rel_mase_gmean": 0.8230307833849778, "rel_wql_gmean": 0.8633446092056097}, "S": {"n_configs": 6, "rel_mase_gmean": 0.8991806557234284, "rel_wql_gmean": 0.5599646096644036}, "T": {"n_configs": 29, "rel_mase_gmean": 0.7459055251130817, "rel_wql_gmean": 0.5298009843049127}, "W": {"n_configs": 8, "rel_mase_gmean": 0.8259964341232297, "rel_wql_gmean": 0.6214682813481551}}, "variates": {"multivariate": {"n_configs": 42, "rel_mase_gmean": 0.7746168958505983, "rel_wql_gmean": 0.507925009707469}, "univariate": {"n_configs": 52, "rel_mase_gmean": 0.7473915365451415, "rel_wql_gmean": 0.5343008579895157}}}, "group_skill_delta": {"term": {"long": -1.1405108941264785e-05, "medium": 0.00016591469864701835, "short": -3.9044283296263416e-05}, "domain": {"Econ/Fin": 8.753688158968931e-05, "Energy": 2.65130912677769e-05, "Healthcare": 0.0004427135651906555, "Nature": -0.00025503600565135454, "Sales": -1.7529510155378514e-05, "Transport": 9.590735226572278e-05, "Web/CloudOps": 6.439176809569513e-05}, "frequency": {"A": 0.0010581371412909935, "D": -0.00018224827880641836, "H": 0.00017220077199942008, "M": -0.0022863320598643933, "Q": 0.00015064879072756998, "S": 8.605323383448216e-05, "T": -0.00010441778168135407, "W": 0.0010527059130073235}, "variates": {"multivariate": -7.967902623695622e-06, "univariate": 3.2749105113416555e-05}}}, {"cutoff": "backcast3_evals", "candidate_skill": 0.39253683581506915, "control_skill": 0.39237316871514827, "delta": 0.00016366709992088335, "candidate_checkpoint": "2e5fe5b5bb3330477d4506b282d3d2e952653dd9f374140d3dc5e183052e5d41", "control_checkpoint": "a7d0ee6866ea787f29eac043531aad3613674f159fd00b3491fd87fab8388fd1", "candidate_eval_seconds": 106.25240059103817, "candidate_groups": {"term": {"long": {"n_configs": 19, "rel_mase_gmean": 0.7639427899259265, "rel_wql_gmean": 0.47308208561135634}, "medium": {"n_configs": 20, "rel_mase_gmean": 0.7597436268236338, "rel_wql_gmean": 0.5203696741008501}, "short": {"n_configs": 54, "rel_mase_gmean": 0.7202721921754616, "rel_wql_gmean": 0.5030791455703159}}, "domain": {"Econ/Fin": {"n_configs": 6, "rel_mase_gmean": 0.8172495286847538, "rel_wql_gmean": 0.795355956360275}, "Energy": {"n_configs": 32, "rel_mase_gmean": 0.8366332978775112, "rel_wql_gmean": 0.5541566220109375}, "Healthcare": {"n_configs": 5, "rel_mase_gmean": 0.8566313037599812, "rel_wql_gmean": 0.680816431030319}, "Nature": {"n_configs": 15, "rel_mase_gmean": 0.7250019711190588, "rel_wql_gmean": 0.33694223838005466}, "Sales": {"n_configs": 3, "rel_mase_gmean": 0.7493455943209888, "rel_wql_gmean": 0.47354313713243174}, "Transport": {"n_configs": 14, "rel_mase_gmean": 0.5374832347124084, "rel_wql_gmean": 0.4398874464634911}, "Web/CloudOps": {"n_configs": 18, "rel_mase_gmean": 0.7063944107682035, "rel_wql_gmean": 0.509424795326949}}, "frequency": {"A": {"n_configs": 1, "rel_mase_gmean": 0.5270614102183621, "rel_wql_gmean": 0.7645787489523922}, "D": {"n_configs": 15, "rel_mase_gmean": 0.7343891821791163, "rel_wql_gmean": 0.41981501241927527}, "H": {"n_configs": 29, "rel_mase_gmean": 0.7250927785178908, "rel_wql_gmean": 0.48131761236134935}, "M": {"n_configs": 4, "rel_mase_gmean": 0.8659389957261259, "rel_wql_gmean": 0.8425549025838066}, "Q": {"n_configs": 1, "rel_mase_gmean": 0.7145505902556476, "rel_wql_gmean": 0.7616597742280582}, "S": {"n_configs": 6, "rel_mase_gmean": 0.8410522555699473, "rel_wql_gmean": 0.5988626770001871}, "T": {"n_configs": 29, "rel_mase_gmean": 0.7002722970281268, "rel_wql_gmean": 0.4570332030859469}, "W": {"n_configs": 8, "rel_mase_gmean": 0.8337977190922922, "rel_wql_gmean": 0.6745240304495874}}, "variates": {"multivariate": {"n_configs": 41, "rel_mase_gmean": 0.7630205219852222, "rel_wql_gmean": 0.5110266457402944}, "univariate": {"n_configs": 52, "rel_mase_gmean": 0.717804819366644, "rel_wql_gmean": 0.4922184184964331}}}, "control_groups": {"term": {"long": {"n_configs": 19, "rel_mase_gmean": 0.7642439698877598, "rel_wql_gmean": 0.47303428269748493}, "medium": {"n_configs": 20, "rel_mase_gmean": 0.7596756465253429, "rel_wql_gmean": 0.5204517663451921}, "short": {"n_configs": 54, "rel_mase_gmean": 0.7205319378603385, "rel_wql_gmean": 0.5033000103400405}}, "domain": {"Econ/Fin": {"n_configs": 6, "rel_mase_gmean": 0.8172820287403386, "rel_wql_gmean": 0.7953829753326557}, "Energy": {"n_configs": 32, "rel_mase_gmean": 0.8365395328052917, "rel_wql_gmean": 0.5540138589927783}, "Healthcare": {"n_configs": 5, "rel_mase_gmean": 0.858298143191786, "rel_wql_gmean": 0.6811213402731624}, "Nature": {"n_configs": 15, "rel_mase_gmean": 0.7252748395812422, "rel_wql_gmean": 0.33702653127145316}, "Sales": {"n_configs": 3, "rel_mase_gmean": 0.7492437226200351, "rel_wql_gmean": 0.4734721556185865}, "Transport": {"n_configs": 14, "rel_mase_gmean": 0.5375995124496913, "rel_wql_gmean": 0.4404723412325486}, "Web/CloudOps": {"n_configs": 18, "rel_mase_gmean": 0.7068078889493604, "rel_wql_gmean": 0.5096748835193483}}, "frequency": {"A": {"n_configs": 1, "rel_mase_gmean": 0.5278372096939503, "rel_wql_gmean": 0.7672025322904537}, "D": {"n_configs": 15, "rel_mase_gmean": 0.7344672270838052, "rel_wql_gmean": 0.4202016670473358}, "H": {"n_configs": 29, "rel_mase_gmean": 0.725046725592913, "rel_wql_gmean": 0.48122634299371086}, "M": {"n_configs": 4, "rel_mase_gmean": 0.8670621017168404, "rel_wql_gmean": 0.8432462088340155}, "Q": {"n_configs": 1, "rel_mase_gmean": 0.7143126609592353, "rel_wql_gmean": 0.7611611307652606}, "S": {"n_configs": 6, "rel_mase_gmean": 0.8420006287860576, "rel_wql_gmean": 0.5996689689696824}, "T": {"n_configs": 29, "rel_mase_gmean": 0.700489042979107, "rel_wql_gmean": 0.45718874328398906}, "W": {"n_configs": 8, "rel_mase_gmean": 0.8341478565764945, "rel_wql_gmean": 0.6739034042014248}}, "variates": {"multivariate": {"n_configs": 41, "rel_mase_gmean": 0.7632012933115746, "rel_wql_gmean": 0.5110997724257387}, "univariate": {"n_configs": 52, "rel_mase_gmean": 0.7180182212662237, "rel_wql_gmean": 0.4923989684514418}}}, "group_skill_delta": {"term": {"long": 8.811289472310246e-05, "medium": 2.1461166131664378e-05, "short": 0.0002406767900877682}, "domain": {"Econ/Fin": 2.9725043190875766e-05, "Energy": -0.00012586509621026476, "Healthcare": 0.0009137844933407857, "Nature": 0.0001548328007749955, "Sales": -8.513674894539136e-05, "Transport": 0.0003757865332411625, "Web/CloudOps": 0.0003228118756994913}, "frequency": {"A": 0.00155611760879093, "D": 0.00028515594083722284, "H": -7.47730962220583e-05, "M": 0.0009043116006436369, "Q": -0.00036432149438092587, "S": 0.0008778865005032443, "T": 0.00018381684106416607, "W": -0.00018771601344380606}, "variates": {"multivariate": 0.00011864674955386345, "univariate": 0.00019737361705596257}}}], "mean_delta": 7.21811396223182e-05, "positive_cutoffs": 4, "outcome": "Fixed factorial contrast; no automatic package, transfer or publication."} + +E152 ensemble_gate_refresh_full vs ensemble_gate_full at6000: {"label": "E152 ensemble_gate_refresh_full vs ensemble_gate_full at6000", "utc": "2026-10-24T04:28:33.188762+00:00", "candidate": "ensemble_gate_refresh_full_ema6000", "control": "ensemble_gate_full_ema6000", "rows": [{"cutoff": "evals", "candidate_skill": 0.3896069046886559, "control_skill": 0.38920293834674424, "delta": 0.0004039663419116435, "candidate_checkpoint": "2e5fe5b5bb3330477d4506b282d3d2e952653dd9f374140d3dc5e183052e5d41", "control_checkpoint": "6139fe43b33fb992e7bd60c611e3414b64f8f293f5f52e8bb4e8bb3fd0f9d341", "candidate_eval_seconds": 107.0373036810197, "candidate_groups": {"term": {"long": {"n_configs": 21, "rel_mase_gmean": 0.7370861722100921, "rel_wql_gmean": 0.4751483788984836}, "medium": {"n_configs": 21, "rel_mase_gmean": 0.7057641586659278, "rel_wql_gmean": 0.48866884758106977}, "short": {"n_configs": 55, "rel_mase_gmean": 0.740120326513184, "rel_wql_gmean": 0.5308662059574696}}, "domain": {"Econ/Fin": {"n_configs": 6, "rel_mase_gmean": 0.8617847757711056, "rel_wql_gmean": 0.8354543095800152}, "Energy": {"n_configs": 32, "rel_mase_gmean": 0.8914103699340911, "rel_wql_gmean": 0.6348279388626491}, "Healthcare": {"n_configs": 5, "rel_mase_gmean": 0.5370011815442441, "rel_wql_gmean": 0.4829480727958993}, "Nature": {"n_configs": 15, "rel_mase_gmean": 0.7975988115166041, "rel_wql_gmean": 0.3868148938817993}, "Sales": {"n_configs": 4, "rel_mase_gmean": 0.8411060487731294, "rel_wql_gmean": 0.5114421440017441}, "Transport": {"n_configs": 15, "rel_mase_gmean": 0.6355147386075476, "rel_wql_gmean": 0.4324409625123753}, "Web/CloudOps": {"n_configs": 20, "rel_mase_gmean": 0.5567723722962932, "rel_wql_gmean": 0.4332231808615229}}, "frequency": {"A": {"n_configs": 1, "rel_mase_gmean": 0.6078613555018816, "rel_wql_gmean": 0.6299454100935914}, "D": {"n_configs": 15, "rel_mase_gmean": 0.751236331297904, "rel_wql_gmean": 0.5175696009350732}, "H": {"n_configs": 31, "rel_mase_gmean": 0.7250559517455619, "rel_wql_gmean": 0.48798901196341504}, "M": {"n_configs": 5, "rel_mase_gmean": 0.9618993379416451, "rel_wql_gmean": 0.8093108477974953}, "Q": {"n_configs": 1, "rel_mase_gmean": 0.768468758523641, "rel_wql_gmean": 0.8245460021276061}, "S": {"n_configs": 6, "rel_mase_gmean": 0.6565340125694463, "rel_wql_gmean": 0.5033325961590629}, "T": {"n_configs": 30, "rel_mase_gmean": 0.682215738466367, "rel_wql_gmean": 0.4477542058966134}, "W": {"n_configs": 8, "rel_mase_gmean": 0.8752162965921794, "rel_wql_gmean": 0.6509242274879504}}, "variates": {"multivariate": {"n_configs": 43, "rel_mase_gmean": 0.70599344582005, "rel_wql_gmean": 0.506602105164574}, "univariate": {"n_configs": 54, "rel_mase_gmean": 0.7531928632610193, "rel_wql_gmean": 0.5110325155108705}}}, "control_groups": {"term": {"long": {"n_configs": 21, "rel_mase_gmean": 0.7364673630437876, "rel_wql_gmean": 0.47553576468415915}, "medium": {"n_configs": 21, "rel_mase_gmean": 0.7053924164632641, "rel_wql_gmean": 0.4893482220599247}, "short": {"n_configs": 55, "rel_mase_gmean": 0.7399151348356707, "rel_wql_gmean": 0.532083883697073}}, "domain": {"Econ/Fin": {"n_configs": 6, "rel_mase_gmean": 0.8615382575745902, "rel_wql_gmean": 0.8355482422128665}, "Energy": {"n_configs": 32, "rel_mase_gmean": 0.8911522603458578, "rel_wql_gmean": 0.6349068515050954}, "Healthcare": {"n_configs": 5, "rel_mase_gmean": 0.5441503320981138, "rel_wql_gmean": 0.49399127701606693}, "Nature": {"n_configs": 15, "rel_mase_gmean": 0.7950730712902003, "rel_wql_gmean": 0.38699208562490234}, "Sales": {"n_configs": 4, "rel_mase_gmean": 0.8425439924731031, "rel_wql_gmean": 0.5132456431284351}, "Transport": {"n_configs": 15, "rel_mase_gmean": 0.6345043086615562, "rel_wql_gmean": 0.4331976883009865}, "Web/CloudOps": {"n_configs": 20, "rel_mase_gmean": 0.555813221503818, "rel_wql_gmean": 0.4333841587576985}}, "frequency": {"A": {"n_configs": 1, "rel_mase_gmean": 0.608221620866018, "rel_wql_gmean": 0.6280336730547587}, "D": {"n_configs": 15, "rel_mase_gmean": 0.7497165855551122, "rel_wql_gmean": 0.5184150743580946}, "H": {"n_configs": 31, "rel_mase_gmean": 0.7251342225084892, "rel_wql_gmean": 0.4898012803228941}, "M": {"n_configs": 5, "rel_mase_gmean": 0.9662055039968831, "rel_wql_gmean": 0.8156797607181708}, "Q": {"n_configs": 1, "rel_mase_gmean": 0.7680803697201887, "rel_wql_gmean": 0.8267798857383293}, "S": {"n_configs": 6, "rel_mase_gmean": 0.6563936728494965, "rel_wql_gmean": 0.5040342522524623}, "T": {"n_configs": 30, "rel_mase_gmean": 0.6807824876215121, "rel_wql_gmean": 0.44704029387581273}, "W": {"n_configs": 8, "rel_mase_gmean": 0.8779591180371074, "rel_wql_gmean": 0.6536604341779116}}, "variates": {"multivariate": {"n_configs": 43, "rel_mase_gmean": 0.7053044924283617, "rel_wql_gmean": 0.5072210259060677}, "univariate": {"n_configs": 54, "rel_mase_gmean": 0.7531653936683522, "rel_wql_gmean": 0.5121675088726382}}}, "group_skill_delta": {"term": {"long": -7.375179733259962e-06, "medium": 0.0002532932775972663, "short": 0.000631479950988445}, "domain": {"Econ/Fin": -7.367766348009841e-05, "Energy": -6.217006286379778e-05, "Healthcare": 0.009206601240205892, "Nature": -0.0007531577768308262, "Sales": 0.001716784262764115, "Transport": 4.119598712815087e-05, "Web/CloudOps": -0.0003320549676544271}, "frequency": {"A": -0.0007566074408290602, "D": -0.0001224627204489126, "H": 0.001135660466283217, "M": 0.005445379104137671, "Q": 0.0008761093632106975, "S": 0.0003390525050531723, "T": -0.0010211945937799172, "W": 0.0027689888916327954}, "variates": {"multivariate": 7.315251897344055e-05, "univariate": 0.000677248881264414}}}, {"cutoff": "backcast_evals", "candidate_skill": 0.3455131384414102, "control_skill": 0.34463492955868724, "delta": 0.0008782088827229417, "candidate_checkpoint": "2e5fe5b5bb3330477d4506b282d3d2e952653dd9f374140d3dc5e183052e5d41", "control_checkpoint": "6139fe43b33fb992e7bd60c611e3414b64f8f293f5f52e8bb4e8bb3fd0f9d341", "candidate_eval_seconds": 106.15256676310673, "candidate_groups": {"term": {"long": {"n_configs": 21, "rel_mase_gmean": 0.7679474770163495, "rel_wql_gmean": 0.4601242291806041}, "medium": {"n_configs": 21, "rel_mase_gmean": 0.7671660546981421, "rel_wql_gmean": 0.5277952572086696}, "short": {"n_configs": 55, "rel_mase_gmean": 0.8037907102471181, "rel_wql_gmean": 0.5860185695287184}}, "domain": {"Econ/Fin": {"n_configs": 6, "rel_mase_gmean": 0.8520761504327704, "rel_wql_gmean": 0.7844989545605039}, "Energy": {"n_configs": 32, "rel_mase_gmean": 0.8841263665927706, "rel_wql_gmean": 0.6626632845177778}, "Healthcare": {"n_configs": 5, "rel_mase_gmean": 0.6496744549567709, "rel_wql_gmean": 0.5558112499026173}, "Nature": {"n_configs": 15, "rel_mase_gmean": 0.9025211999156728, "rel_wql_gmean": 0.4190609766352248}, "Sales": {"n_configs": 4, "rel_mase_gmean": 0.7198591681149351, "rel_wql_gmean": 0.48603697897564463}, "Transport": {"n_configs": 15, "rel_mase_gmean": 0.732137229400994, "rel_wql_gmean": 0.5257456982795566}, "Web/CloudOps": {"n_configs": 20, "rel_mase_gmean": 0.652601080874475, "rel_wql_gmean": 0.4498442078542078}}, "frequency": {"A": {"n_configs": 1, "rel_mase_gmean": 0.6366920729411598, "rel_wql_gmean": 0.7105598192359468}, "D": {"n_configs": 15, "rel_mase_gmean": 0.8259115520153425, "rel_wql_gmean": 0.4898017473671099}, "H": {"n_configs": 31, "rel_mase_gmean": 0.7660427040208704, "rel_wql_gmean": 0.5038495974699037}, "M": {"n_configs": 5, "rel_mase_gmean": 0.8475996008308362, "rel_wql_gmean": 0.7724216636875095}, "Q": {"n_configs": 1, "rel_mase_gmean": 0.755661978002567, "rel_wql_gmean": 0.7688570108901012}, "S": {"n_configs": 6, "rel_mase_gmean": 0.8495760994563041, "rel_wql_gmean": 0.5033562384326171}, "T": {"n_configs": 30, "rel_mase_gmean": 0.7593437025043664, "rel_wql_gmean": 0.5708740717280031}, "W": {"n_configs": 8, "rel_mase_gmean": 0.8610138337235285, "rel_wql_gmean": 0.5823485546849707}}, "variates": {"multivariate": {"n_configs": 43, "rel_mase_gmean": 0.7770695540836746, "rel_wql_gmean": 0.5216268756032048}, "univariate": {"n_configs": 54, "rel_mase_gmean": 0.7966255142087549, "rel_wql_gmean": 0.5618811228901229}}}, "control_groups": {"term": {"long": {"n_configs": 21, "rel_mase_gmean": 0.7688177100397589, "rel_wql_gmean": 0.46253204733137343}, "medium": {"n_configs": 21, "rel_mase_gmean": 0.7677466641658384, "rel_wql_gmean": 0.5288782911838639}, "short": {"n_configs": 55, "rel_mase_gmean": 0.8036448947370151, "rel_wql_gmean": 0.586848042393731}}, "domain": {"Econ/Fin": {"n_configs": 6, "rel_mase_gmean": 0.8512183872885004, "rel_wql_gmean": 0.7844913516718921}, "Energy": {"n_configs": 32, "rel_mase_gmean": 0.8833553034923182, "rel_wql_gmean": 0.6624875238195992}, "Healthcare": {"n_configs": 5, "rel_mase_gmean": 0.6506950861467075, "rel_wql_gmean": 0.5601788165261954}, "Nature": {"n_configs": 15, "rel_mase_gmean": 0.9033575798442255, "rel_wql_gmean": 0.4204703619638155}, "Sales": {"n_configs": 4, "rel_mase_gmean": 0.7195851961271035, "rel_wql_gmean": 0.4868373745931622}, "Transport": {"n_configs": 15, "rel_mase_gmean": 0.7324980138807451, "rel_wql_gmean": 0.5278421387366751}, "Web/CloudOps": {"n_configs": 20, "rel_mase_gmean": 0.6537782969443796, "rel_wql_gmean": 0.4517198776871335}}, "frequency": {"A": {"n_configs": 1, "rel_mase_gmean": 0.6353401571378804, "rel_wql_gmean": 0.7080946229173095}, "D": {"n_configs": 15, "rel_mase_gmean": 0.8282870369085663, "rel_wql_gmean": 0.4907032114500986}, "H": {"n_configs": 31, "rel_mase_gmean": 0.7662727044969453, "rel_wql_gmean": 0.5060458109101549}, "M": {"n_configs": 5, "rel_mase_gmean": 0.8413519114707506, "rel_wql_gmean": 0.768497602767783}, "Q": {"n_configs": 1, "rel_mase_gmean": 0.7557887336034927, "rel_wql_gmean": 0.7734945975985007}, "S": {"n_configs": 6, "rel_mase_gmean": 0.8496411581918314, "rel_wql_gmean": 0.5048492269474154}, "T": {"n_configs": 30, "rel_mase_gmean": 0.7598245251089581, "rel_wql_gmean": 0.5716919924718779}, "W": {"n_configs": 8, "rel_mase_gmean": 0.8606700436403543, "rel_wql_gmean": 0.5845540350686395}}, "variates": {"multivariate": {"n_configs": 43, "rel_mase_gmean": 0.7777190759117477, "rel_wql_gmean": 0.5230509961434829}, "univariate": {"n_configs": 54, "rel_mase_gmean": 0.7965335452423263, "rel_wql_gmean": 0.5630603441336374}}}, "group_skill_delta": {"term": {"long": 0.0018908867923684847, "medium": 0.000893524795693712, "short": 0.00042325095607786967}, "domain": {"Econ/Fin": -0.000415586666227985, "Energy": -0.0004353152451606057, "Healthcare": 0.002830046587022128, "Nature": 0.0013186693887422551, "Sales": 0.00037417461132571717, "Transport": 0.001388895421118752, "Web/CloudOps": 0.0016178977827048246}, "frequency": {"A": -0.001881018308784399, "D": 0.0014998828202734682, "H": 0.0014459955941059643, "M": -0.005037921513947663, "Q": 0.002359472311985966, "S": 0.0009941744889221393, "T": 0.0006800606588837077, "W": 0.0011979539936906036}, "variates": {"multivariate": 0.0011348898312104616, "univariate": 0.0006630243948921866}}}, {"cutoff": "backcast2_evals", "candidate_skill": 0.37017971783066894, "control_skill": 0.36931390849979906, "delta": 0.0008658093308698822, "candidate_checkpoint": "2e5fe5b5bb3330477d4506b282d3d2e952653dd9f374140d3dc5e183052e5d41", "control_checkpoint": "6139fe43b33fb992e7bd60c611e3414b64f8f293f5f52e8bb4e8bb3fd0f9d341", "candidate_eval_seconds": 103.69305629003793, "candidate_groups": {"term": {"long": {"n_configs": 19, "rel_mase_gmean": 0.7893612425857788, "rel_wql_gmean": 0.49550906445277465}, "medium": {"n_configs": 21, "rel_mase_gmean": 0.7459659214911168, "rel_wql_gmean": 0.48550757582282716}, "short": {"n_configs": 54, "rel_mase_gmean": 0.7543861257709813, "rel_wql_gmean": 0.5474647735137441}}, "domain": {"Econ/Fin": {"n_configs": 6, "rel_mase_gmean": 0.8602766390946573, "rel_wql_gmean": 0.874912639143025}, "Energy": {"n_configs": 32, "rel_mase_gmean": 0.8955427029386651, "rel_wql_gmean": 0.6399778697260564}, "Healthcare": {"n_configs": 5, "rel_mase_gmean": 0.6981881859878655, "rel_wql_gmean": 0.6000712946673727}, "Nature": {"n_configs": 15, "rel_mase_gmean": 0.7426060546138283, "rel_wql_gmean": 0.35710792034946803}, "Sales": {"n_configs": 3, "rel_mase_gmean": 0.5561437320389908, "rel_wql_gmean": 0.3512112331884826}, "Transport": {"n_configs": 14, "rel_mase_gmean": 0.6611474544363344, "rel_wql_gmean": 0.4925119973242889}, "Web/CloudOps": {"n_configs": 19, "rel_mase_gmean": 0.6695461985839319, "rel_wql_gmean": 0.4562423640320891}}, "frequency": {"A": {"n_configs": 1, "rel_mase_gmean": 0.5793207185079722, "rel_wql_gmean": 0.7547950575518872}, "D": {"n_configs": 15, "rel_mase_gmean": 0.7225803932563916, "rel_wql_gmean": 0.4427320914364753}, "H": {"n_configs": 30, "rel_mase_gmean": 0.7478866057907548, "rel_wql_gmean": 0.4799400551874893}, "M": {"n_configs": 4, "rel_mase_gmean": 0.8057383653700284, "rel_wql_gmean": 0.8482090243696382}, "Q": {"n_configs": 1, "rel_mase_gmean": 0.8227414689524829, "rel_wql_gmean": 0.8633395322032211}, "S": {"n_configs": 6, "rel_mase_gmean": 0.8990954008550729, "rel_wql_gmean": 0.5598818855526715}, "T": {"n_configs": 29, "rel_mase_gmean": 0.7459786519899156, "rel_wql_gmean": 0.529925048815128}, "W": {"n_configs": 8, "rel_mase_gmean": 0.8251288562886985, "rel_wql_gmean": 0.6202949057564647}}, "variates": {"multivariate": {"n_configs": 42, "rel_mase_gmean": 0.7745440878556049, "rel_wql_gmean": 0.5079856606887848}, "univariate": {"n_configs": 52, "rel_mase_gmean": 0.7474231483264429, "rel_wql_gmean": 0.5342228844511482}}}, "control_groups": {"term": {"long": {"n_configs": 19, "rel_mase_gmean": 0.7904651639397322, "rel_wql_gmean": 0.4978779666112466}, "medium": {"n_configs": 21, "rel_mase_gmean": 0.7461560036140715, "rel_wql_gmean": 0.48768028342777003}, "short": {"n_configs": 54, "rel_mase_gmean": 0.753909832161227, "rel_wql_gmean": 0.548236636621521}}, "domain": {"Econ/Fin": {"n_configs": 6, "rel_mase_gmean": 0.8591285111150543, "rel_wql_gmean": 0.8750334733251186}, "Energy": {"n_configs": 32, "rel_mase_gmean": 0.8954084684136449, "rel_wql_gmean": 0.6410753881259532}, "Healthcare": {"n_configs": 5, "rel_mase_gmean": 0.6959489755668505, "rel_wql_gmean": 0.5984213150523268}, "Nature": {"n_configs": 15, "rel_mase_gmean": 0.7411588697785407, "rel_wql_gmean": 0.3576662324109186}, "Sales": {"n_configs": 3, "rel_mase_gmean": 0.5558609097673092, "rel_wql_gmean": 0.35180960844530385}, "Transport": {"n_configs": 14, "rel_mase_gmean": 0.6616270348576757, "rel_wql_gmean": 0.49485455987325183}, "Web/CloudOps": {"n_configs": 19, "rel_mase_gmean": 0.6712152744027265, "rel_wql_gmean": 0.4592200768742787}}, "frequency": {"A": {"n_configs": 1, "rel_mase_gmean": 0.5784011417452236, "rel_wql_gmean": 0.752672234109546}, "D": {"n_configs": 15, "rel_mase_gmean": 0.7220119087254645, "rel_wql_gmean": 0.44298333552230534}, "H": {"n_configs": 30, "rel_mase_gmean": 0.7482097468549009, "rel_wql_gmean": 0.4817021734754142}, "M": {"n_configs": 4, "rel_mase_gmean": 0.8045779642374045, "rel_wql_gmean": 0.8479009464696349}, "Q": {"n_configs": 1, "rel_mase_gmean": 0.8247786167317338, "rel_wql_gmean": 0.864773509453261}, "S": {"n_configs": 6, "rel_mase_gmean": 0.8992278197403357, "rel_wql_gmean": 0.5633734108267967}, "T": {"n_configs": 29, "rel_mase_gmean": 0.7464572076379773, "rel_wql_gmean": 0.531897329596194}, "W": {"n_configs": 8, "rel_mase_gmean": 0.8232789428019139, "rel_wql_gmean": 0.6202629998300936}}, "variates": {"multivariate": {"n_configs": 42, "rel_mase_gmean": 0.7750675549505295, "rel_wql_gmean": 0.5101500825132582}, "univariate": {"n_configs": 52, "rel_mase_gmean": 0.7469837805984161, "rel_wql_gmean": 0.5350648742452286}}}, "group_skill_delta": {"term": {"long": 0.0019313839370886932, "medium": 0.0014219195168090337, "short": 0.0002498237666092029}, "domain": {"Econ/Fin": -0.0005192524389603381, "Energy": 0.0005920793801224011, "Healthcare": -0.0019278597388285856, "Nature": -0.00010001935351311442, "Sales": 0.0002638431733512636, "Transport": 0.0015628752780764144, "Web/CloudOps": 0.002491397832907638}, "frequency": {"A": -0.0014548317249984954, "D": -6.213605601479433e-05, "H": 0.001228486375320359, "M": -0.0007455484124014866, "Q": 0.0017432597833786367, "S": 0.0022612487522709612, "T": 0.0013709521955918014, "W": -0.0008208017882914698}, "variates": {"multivariate": 0.001547275025964634, "univariate": 0.00031186789628745437}}}, {"cutoff": "backcast3_evals", "candidate_skill": 0.39253683581506915, "control_skill": 0.391666018440449, "delta": 0.0008708173746201364, "candidate_checkpoint": "2e5fe5b5bb3330477d4506b282d3d2e952653dd9f374140d3dc5e183052e5d41", "control_checkpoint": "6139fe43b33fb992e7bd60c611e3414b64f8f293f5f52e8bb4e8bb3fd0f9d341", "candidate_eval_seconds": 106.25240059103817, "candidate_groups": {"term": {"long": {"n_configs": 19, "rel_mase_gmean": 0.7639427899259265, "rel_wql_gmean": 0.47308208561135634}, "medium": {"n_configs": 20, "rel_mase_gmean": 0.7597436268236338, "rel_wql_gmean": 0.5203696741008501}, "short": {"n_configs": 54, "rel_mase_gmean": 0.7202721921754616, "rel_wql_gmean": 0.5030791455703159}}, "domain": {"Econ/Fin": {"n_configs": 6, "rel_mase_gmean": 0.8172495286847538, "rel_wql_gmean": 0.795355956360275}, "Energy": {"n_configs": 32, "rel_mase_gmean": 0.8366332978775112, "rel_wql_gmean": 0.5541566220109375}, "Healthcare": {"n_configs": 5, "rel_mase_gmean": 0.8566313037599812, "rel_wql_gmean": 0.680816431030319}, "Nature": {"n_configs": 15, "rel_mase_gmean": 0.7250019711190588, "rel_wql_gmean": 0.33694223838005466}, "Sales": {"n_configs": 3, "rel_mase_gmean": 0.7493455943209888, "rel_wql_gmean": 0.47354313713243174}, "Transport": {"n_configs": 14, "rel_mase_gmean": 0.5374832347124084, "rel_wql_gmean": 0.4398874464634911}, "Web/CloudOps": {"n_configs": 18, "rel_mase_gmean": 0.7063944107682035, "rel_wql_gmean": 0.509424795326949}}, "frequency": {"A": {"n_configs": 1, "rel_mase_gmean": 0.5270614102183621, "rel_wql_gmean": 0.7645787489523922}, "D": {"n_configs": 15, "rel_mase_gmean": 0.7343891821791163, "rel_wql_gmean": 0.41981501241927527}, "H": {"n_configs": 29, "rel_mase_gmean": 0.7250927785178908, "rel_wql_gmean": 0.48131761236134935}, "M": {"n_configs": 4, "rel_mase_gmean": 0.8659389957261259, "rel_wql_gmean": 0.8425549025838066}, "Q": {"n_configs": 1, "rel_mase_gmean": 0.7145505902556476, "rel_wql_gmean": 0.7616597742280582}, "S": {"n_configs": 6, "rel_mase_gmean": 0.8410522555699473, "rel_wql_gmean": 0.5988626770001871}, "T": {"n_configs": 29, "rel_mase_gmean": 0.7002722970281268, "rel_wql_gmean": 0.4570332030859469}, "W": {"n_configs": 8, "rel_mase_gmean": 0.8337977190922922, "rel_wql_gmean": 0.6745240304495874}}, "variates": {"multivariate": {"n_configs": 41, "rel_mase_gmean": 0.7630205219852222, "rel_wql_gmean": 0.5110266457402944}, "univariate": {"n_configs": 52, "rel_mase_gmean": 0.717804819366644, "rel_wql_gmean": 0.4922184184964331}}}, "control_groups": {"term": {"long": {"n_configs": 19, "rel_mase_gmean": 0.764422783704246, "rel_wql_gmean": 0.4754273770438149}, "medium": {"n_configs": 20, "rel_mase_gmean": 0.7593126316302681, "rel_wql_gmean": 0.5225053281242072}, "short": {"n_configs": 54, "rel_mase_gmean": 0.7196757922400545, "rel_wql_gmean": 0.5043357911409195}}, "domain": {"Econ/Fin": {"n_configs": 6, "rel_mase_gmean": 0.8176678061198025, "rel_wql_gmean": 0.7976207241920812}, "Energy": {"n_configs": 32, "rel_mase_gmean": 0.8345072533444969, "rel_wql_gmean": 0.5533352530505573}, "Healthcare": {"n_configs": 5, "rel_mase_gmean": 0.8540949500805375, "rel_wql_gmean": 0.6829922627045791}, "Nature": {"n_configs": 15, "rel_mase_gmean": 0.7262472527400441, "rel_wql_gmean": 0.33830619597072303}, "Sales": {"n_configs": 3, "rel_mase_gmean": 0.7506554969033578, "rel_wql_gmean": 0.4749597432062781}, "Transport": {"n_configs": 14, "rel_mase_gmean": 0.5377350628064461, "rel_wql_gmean": 0.4418735171823112}, "Web/CloudOps": {"n_configs": 18, "rel_mase_gmean": 0.7068455259949379, "rel_wql_gmean": 0.5148996652237956}}, "frequency": {"A": {"n_configs": 1, "rel_mase_gmean": 0.528924896944865, "rel_wql_gmean": 0.7729454745365418}, "D": {"n_configs": 15, "rel_mase_gmean": 0.7340247648352644, "rel_wql_gmean": 0.4207919978760047}, "H": {"n_configs": 29, "rel_mase_gmean": 0.7247623286371567, "rel_wql_gmean": 0.48297208284019766}, "M": {"n_configs": 4, "rel_mase_gmean": 0.8631762965161963, "rel_wql_gmean": 0.8438873513308468}, "Q": {"n_configs": 1, "rel_mase_gmean": 0.714911564911981, "rel_wql_gmean": 0.7626138339201582}, "S": {"n_configs": 6, "rel_mase_gmean": 0.8424359875389991, "rel_wql_gmean": 0.607462668363638}, "T": {"n_configs": 29, "rel_mase_gmean": 0.7000382451448205, "rel_wql_gmean": 0.45775803238023355}, "W": {"n_configs": 8, "rel_mase_gmean": 0.8322458551370937, "rel_wql_gmean": 0.6767409234631901}}, "variates": {"multivariate": {"n_configs": 41, "rel_mase_gmean": 0.7627470405637783, "rel_wql_gmean": 0.5131507629999419}, "univariate": {"n_configs": 52, "rel_mase_gmean": 0.7173984271872598, "rel_wql_gmean": 0.49355040207768613}}}, "group_skill_delta": {"term": {"long": 0.0016776036298020713, "medium": 0.0011102048884115145, "short": 0.000501769931716689}, "domain": {"Econ/Fin": 0.0013536330347750924, "Energy": -0.0013698592811737242, "Healthcare": 8.614078746549403e-05, "Nature": 0.001424508969142757, "Sales": 0.0014115428816299236, "Transport": 0.0012105990698811908, "Web/CloudOps": 0.0034074254551422767}, "frequency": {"A": 0.004591216196672909, "D": 0.0005077723597947115, "H": 0.0008796034213383042, "M": -0.0006895977185730207, "Q": 0.0006483326044222082, "S": 0.005665425456433115, "T": 0.00035380418458663687, "W": 0.0005320044172283378}, "variates": {"multivariate": 0.0011842676691968812, "univariate": 0.0006351951332923544}}}], "mean_delta": 0.000754700482531151, "positive_cutoffs": 4, "outcome": "Fixed factorial contrast; no automatic package, transfer or publication."} + +2026-10-24T04:28:33.206374+00:00: E152 ensemble_gate_refresh_full {"step": 6000, "rows": [{"cutoff": "valid_screen", "skill": 0.3896069046886559, "frozen_control_skill": 0.3882279509777624, "delta_frozen": 0.0013789537108934713, "current_skill": 0.3893607757169213, "delta_current": 0.0002461289717345938, "groups": {"term": {"long": {"n_configs": 21, "rel_mase_gmean": 0.7370861722100921, "rel_wql_gmean": 0.4751483788984836}, "medium": {"n_configs": 21, "rel_mase_gmean": 0.7057641586659278, "rel_wql_gmean": 0.48866884758106977}, "short": {"n_configs": 55, "rel_mase_gmean": 0.740120326513184, "rel_wql_gmean": 0.5308662059574696}}, "domain": {"Econ/Fin": {"n_configs": 6, "rel_mase_gmean": 0.8617847757711056, "rel_wql_gmean": 0.8354543095800152}, "Energy": {"n_configs": 32, "rel_mase_gmean": 0.8914103699340911, "rel_wql_gmean": 0.6348279388626491}, "Healthcare": {"n_configs": 5, "rel_mase_gmean": 0.5370011815442441, "rel_wql_gmean": 0.4829480727958993}, "Nature": {"n_configs": 15, "rel_mase_gmean": 0.7975988115166041, "rel_wql_gmean": 0.3868148938817993}, "Sales": {"n_configs": 4, "rel_mase_gmean": 0.8411060487731294, "rel_wql_gmean": 0.5114421440017441}, "Transport": {"n_configs": 15, "rel_mase_gmean": 0.6355147386075476, "rel_wql_gmean": 0.4324409625123753}, "Web/CloudOps": {"n_configs": 20, "rel_mase_gmean": 0.5567723722962932, "rel_wql_gmean": 0.4332231808615229}}, "frequency": {"A": {"n_configs": 1, "rel_mase_gmean": 0.6078613555018816, "rel_wql_gmean": 0.6299454100935914}, "D": {"n_configs": 15, "rel_mase_gmean": 0.751236331297904, "rel_wql_gmean": 0.5175696009350732}, "H": {"n_configs": 31, "rel_mase_gmean": 0.7250559517455619, "rel_wql_gmean": 0.48798901196341504}, "M": {"n_configs": 5, "rel_mase_gmean": 0.9618993379416451, "rel_wql_gmean": 0.8093108477974953}, "Q": {"n_configs": 1, "rel_mase_gmean": 0.768468758523641, "rel_wql_gmean": 0.8245460021276061}, "S": {"n_configs": 6, "rel_mase_gmean": 0.6565340125694463, "rel_wql_gmean": 0.5033325961590629}, "T": {"n_configs": 30, "rel_mase_gmean": 0.682215738466367, "rel_wql_gmean": 0.4477542058966134}, "W": {"n_configs": 8, "rel_mase_gmean": 0.8752162965921794, "rel_wql_gmean": 0.6509242274879504}}, "variates": {"multivariate": {"n_configs": 43, "rel_mase_gmean": 0.70599344582005, "rel_wql_gmean": 0.506602105164574}, "univariate": {"n_configs": 54, "rel_mase_gmean": 0.7531928632610193, "rel_wql_gmean": 0.5110325155108705}}}, "checkpoint_sha256": "2e5fe5b5bb3330477d4506b282d3d2e952653dd9f374140d3dc5e183052e5d41", "expert_descriptor_sha256": "a1b4ab426901be8e1ee299eeeb3f041bac7cea3d4e59c4608824fc3d05c83e03", "eval_seconds": 107.0373036810197}, {"cutoff": "valid_backcast", "skill": 0.3455131384414102, "frozen_control_skill": 0.3456661156587746, "delta_frozen": -0.00015297721736440284, "current_skill": 0.34590472083989543, "delta_current": -0.00039158239848524623, "groups": {"term": {"long": {"n_configs": 21, "rel_mase_gmean": 0.7679474770163495, "rel_wql_gmean": 0.4601242291806041}, "medium": {"n_configs": 21, "rel_mase_gmean": 0.7671660546981421, "rel_wql_gmean": 0.5277952572086696}, "short": {"n_configs": 55, "rel_mase_gmean": 0.8037907102471181, "rel_wql_gmean": 0.5860185695287184}}, "domain": {"Econ/Fin": {"n_configs": 6, "rel_mase_gmean": 0.8520761504327704, "rel_wql_gmean": 0.7844989545605039}, "Energy": {"n_configs": 32, "rel_mase_gmean": 0.8841263665927706, "rel_wql_gmean": 0.6626632845177778}, "Healthcare": {"n_configs": 5, "rel_mase_gmean": 0.6496744549567709, "rel_wql_gmean": 0.5558112499026173}, "Nature": {"n_configs": 15, "rel_mase_gmean": 0.9025211999156728, "rel_wql_gmean": 0.4190609766352248}, "Sales": {"n_configs": 4, "rel_mase_gmean": 0.7198591681149351, "rel_wql_gmean": 0.48603697897564463}, "Transport": {"n_configs": 15, "rel_mase_gmean": 0.732137229400994, "rel_wql_gmean": 0.5257456982795566}, "Web/CloudOps": {"n_configs": 20, "rel_mase_gmean": 0.652601080874475, "rel_wql_gmean": 0.4498442078542078}}, "frequency": {"A": {"n_configs": 1, "rel_mase_gmean": 0.6366920729411598, "rel_wql_gmean": 0.7105598192359468}, "D": {"n_configs": 15, "rel_mase_gmean": 0.8259115520153425, "rel_wql_gmean": 0.4898017473671099}, "H": {"n_configs": 31, "rel_mase_gmean": 0.7660427040208704, "rel_wql_gmean": 0.5038495974699037}, "M": {"n_configs": 5, "rel_mase_gmean": 0.8475996008308362, "rel_wql_gmean": 0.7724216636875095}, "Q": {"n_configs": 1, "rel_mase_gmean": 0.755661978002567, "rel_wql_gmean": 0.7688570108901012}, "S": {"n_configs": 6, "rel_mase_gmean": 0.8495760994563041, "rel_wql_gmean": 0.5033562384326171}, "T": {"n_configs": 30, "rel_mase_gmean": 0.7593437025043664, "rel_wql_gmean": 0.5708740717280031}, "W": {"n_configs": 8, "rel_mase_gmean": 0.8610138337235285, "rel_wql_gmean": 0.5823485546849707}}, "variates": {"multivariate": {"n_configs": 43, "rel_mase_gmean": 0.7770695540836746, "rel_wql_gmean": 0.5216268756032048}, "univariate": {"n_configs": 54, "rel_mase_gmean": 0.7966255142087549, "rel_wql_gmean": 0.5618811228901229}}}, "checkpoint_sha256": "2e5fe5b5bb3330477d4506b282d3d2e952653dd9f374140d3dc5e183052e5d41", "expert_descriptor_sha256": "a1b4ab426901be8e1ee299eeeb3f041bac7cea3d4e59c4608824fc3d05c83e03", "eval_seconds": 106.15256676310673}, {"cutoff": "valid_backcast2", "skill": 0.37017971783066894, "frozen_control_skill": 0.36966272417010304, "delta_frozen": 0.0005169936605659009, "current_skill": 0.37032451826756796, "delta_current": -0.00014480043689901745, "groups": {"term": {"long": {"n_configs": 19, "rel_mase_gmean": 0.7893612425857788, "rel_wql_gmean": 0.49550906445277465}, "medium": {"n_configs": 21, "rel_mase_gmean": 0.7459659214911168, "rel_wql_gmean": 0.48550757582282716}, "short": {"n_configs": 54, "rel_mase_gmean": 0.7543861257709813, "rel_wql_gmean": 0.5474647735137441}}, "domain": {"Econ/Fin": {"n_configs": 6, "rel_mase_gmean": 0.8602766390946573, "rel_wql_gmean": 0.874912639143025}, "Energy": {"n_configs": 32, "rel_mase_gmean": 0.8955427029386651, "rel_wql_gmean": 0.6399778697260564}, "Healthcare": {"n_configs": 5, "rel_mase_gmean": 0.6981881859878655, "rel_wql_gmean": 0.6000712946673727}, "Nature": {"n_configs": 15, "rel_mase_gmean": 0.7426060546138283, "rel_wql_gmean": 0.35710792034946803}, "Sales": {"n_configs": 3, "rel_mase_gmean": 0.5561437320389908, "rel_wql_gmean": 0.3512112331884826}, "Transport": {"n_configs": 14, "rel_mase_gmean": 0.6611474544363344, "rel_wql_gmean": 0.4925119973242889}, "Web/CloudOps": {"n_configs": 19, "rel_mase_gmean": 0.6695461985839319, "rel_wql_gmean": 0.4562423640320891}}, "frequency": {"A": {"n_configs": 1, "rel_mase_gmean": 0.5793207185079722, "rel_wql_gmean": 0.7547950575518872}, "D": {"n_configs": 15, "rel_mase_gmean": 0.7225803932563916, "rel_wql_gmean": 0.4427320914364753}, "H": {"n_configs": 30, "rel_mase_gmean": 0.7478866057907548, "rel_wql_gmean": 0.4799400551874893}, "M": {"n_configs": 4, "rel_mase_gmean": 0.8057383653700284, "rel_wql_gmean": 0.8482090243696382}, "Q": {"n_configs": 1, "rel_mase_gmean": 0.8227414689524829, "rel_wql_gmean": 0.8633395322032211}, "S": {"n_configs": 6, "rel_mase_gmean": 0.8990954008550729, "rel_wql_gmean": 0.5598818855526715}, "T": {"n_configs": 29, "rel_mase_gmean": 0.7459786519899156, "rel_wql_gmean": 0.529925048815128}, "W": {"n_configs": 8, "rel_mase_gmean": 0.8251288562886985, "rel_wql_gmean": 0.6202949057564647}}, "variates": {"multivariate": {"n_configs": 42, "rel_mase_gmean": 0.7745440878556049, "rel_wql_gmean": 0.5079856606887848}, "univariate": {"n_configs": 52, "rel_mase_gmean": 0.7474231483264429, "rel_wql_gmean": 0.5342228844511482}}}, "checkpoint_sha256": "2e5fe5b5bb3330477d4506b282d3d2e952653dd9f374140d3dc5e183052e5d41", "expert_descriptor_sha256": "a1b4ab426901be8e1ee299eeeb3f041bac7cea3d4e59c4608824fc3d05c83e03", "eval_seconds": 103.69305629003793}, {"cutoff": "valid_backcast3", "skill": 0.39253683581506915, "frozen_control_skill": 0.3921296782846404, "delta_frozen": 0.0004071575304287478, "current_skill": 0.3928349019291829, "delta_current": -0.0002980661141137597, "groups": {"term": {"long": {"n_configs": 19, "rel_mase_gmean": 0.7639427899259265, "rel_wql_gmean": 0.47308208561135634}, "medium": {"n_configs": 20, "rel_mase_gmean": 0.7597436268236338, "rel_wql_gmean": 0.5203696741008501}, "short": {"n_configs": 54, "rel_mase_gmean": 0.7202721921754616, "rel_wql_gmean": 0.5030791455703159}}, "domain": {"Econ/Fin": {"n_configs": 6, "rel_mase_gmean": 0.8172495286847538, "rel_wql_gmean": 0.795355956360275}, "Energy": {"n_configs": 32, "rel_mase_gmean": 0.8366332978775112, "rel_wql_gmean": 0.5541566220109375}, "Healthcare": {"n_configs": 5, "rel_mase_gmean": 0.8566313037599812, "rel_wql_gmean": 0.680816431030319}, "Nature": {"n_configs": 15, "rel_mase_gmean": 0.7250019711190588, "rel_wql_gmean": 0.33694223838005466}, "Sales": {"n_configs": 3, "rel_mase_gmean": 0.7493455943209888, "rel_wql_gmean": 0.47354313713243174}, "Transport": {"n_configs": 14, "rel_mase_gmean": 0.5374832347124084, "rel_wql_gmean": 0.4398874464634911}, "Web/CloudOps": {"n_configs": 18, "rel_mase_gmean": 0.7063944107682035, "rel_wql_gmean": 0.509424795326949}}, "frequency": {"A": {"n_configs": 1, "rel_mase_gmean": 0.5270614102183621, "rel_wql_gmean": 0.7645787489523922}, "D": {"n_configs": 15, "rel_mase_gmean": 0.7343891821791163, "rel_wql_gmean": 0.41981501241927527}, "H": {"n_configs": 29, "rel_mase_gmean": 0.7250927785178908, "rel_wql_gmean": 0.48131761236134935}, "M": {"n_configs": 4, "rel_mase_gmean": 0.8659389957261259, "rel_wql_gmean": 0.8425549025838066}, "Q": {"n_configs": 1, "rel_mase_gmean": 0.7145505902556476, "rel_wql_gmean": 0.7616597742280582}, "S": {"n_configs": 6, "rel_mase_gmean": 0.8410522555699473, "rel_wql_gmean": 0.5988626770001871}, "T": {"n_configs": 29, "rel_mase_gmean": 0.7002722970281268, "rel_wql_gmean": 0.4570332030859469}, "W": {"n_configs": 8, "rel_mase_gmean": 0.8337977190922922, "rel_wql_gmean": 0.6745240304495874}}, "variates": {"multivariate": {"n_configs": 41, "rel_mase_gmean": 0.7630205219852222, "rel_wql_gmean": 0.5110266457402944}, "univariate": {"n_configs": 52, "rel_mase_gmean": 0.717804819366644, "rel_wql_gmean": 0.4922184184964331}}}, "checkpoint_sha256": "2e5fe5b5bb3330477d4506b282d3d2e952653dd9f374140d3dc5e183052e5d41", "expert_descriptor_sha256": "a1b4ab426901be8e1ee299eeeb3f041bac7cea3d4e59c4608824fc3d05c83e03", "eval_seconds": 106.25240059103817}], "positive_frozen": 3, "mean_delta_frozen": 0.0005375319211309293, "positive_current": 1, "mean_delta_current": -0.0001470799944408574, "current_descriptor_sha256": "a75fdfcbb4d8e38dd6e7cded3c097ff0a129976fa63277bfd277a6031ccc6140", "selection_gate_passed": false}. Full replay/publication require separate review and fresh current-publication comparison. + +2026-10-24T04:28:55.351482+00:00: E178 result {"pid": 22567, "status": "cached comparisons complete; review required", "started_utc": "2026-10-24T03:18:39.423235+00:00", "declaration": {"experiment": "E178", "declared_utc": "2026-10-24T03:18:24.939336+00:00", "status": "declared before refreshed/full primary6k exists", "hypothesis": "The completed old-expert/full-corpus gate improves its matched old-corpus gate on allfour primary6k panels. Test whether the separately queued refreshed-expert/full-corpus gate improves the same gate component now used in E172. Only gate corpus coverage changes; the existing E152factorial supplies its source training.", "frozen_parent_descriptor": "a75fdfcbb4d8e38dd6e7cded3c097ff0a129976fa63277bfd277a6031ccc6140", "parent_probe_prefix": "gate_six_blend", "member_checkpoint_hashes": ["0b11b7351a4a92d1d18c71a4159ec445be3a94ace8c7a9fa0edafad87d14e960", "308389b7217c080af9eb185559d4ee3cafa0f3e0f8c4dd8f5526b68198c89988", "1a2fb20a9fb5cae6526f2e36ea47559626bece78fd9c284899836505030ae9fe", "d7cfcd72c3cb84aa69e447b76c4c3ab98c21b7c600a463f0b805f4b4300baf33", "2877a38b94a7d77a53a9df410349cecc2f6ab134c83a76744924543bbe73eb17", "4b309f0721378f97db815dd511b8b54711348270c48e9eae0103dba506f66708"], "gate_run": "ensemble_gate_refresh_full", "gate_step": 6000, "old_gate_run": "ensemble_gate_refresh", "old_gate_step": 6000, "old_gate_checkpoint_sha256": "a7d0ee6866ea787f29eac043531aad3613674f159fd00b3491fd87fab8388fd1", "expert_descriptor": "a1b4ab426901be8e1ee299eeeb3f041bac7cea3d4e59c4608824fc3d05c83e03", "parameters": 549432812, "composition": "Exactly E172 ordered FP32 arithmetic and allsix expert forecasts perinstance; replace only gate weights with E152refreshed/full primary6000. Same29features, bounded weights0.125+0.5softmax, outerequalmean, H720rule and F0/F1/F2/F3 gate inputs.", "source_training": "Alreadyqueued E152 full allowlisted corpus gate: ownuntrained6340initial9d1401cd..., seed751/B64/LR.001/original12000, oldsourceprobabilities/originalAR20percent, immutableE148experts. No additional updates or changes to that run.", "source_gate": "Require>=3positive/positive mean at primary6000 versus BOTH matched E152refreshed/old-corpus6000 gate and immutableE148equalquartet. If failed, E178composition remains untested.", "selection": "One cached four-cutoff comparison only after source gates. Require>=3positive and positive mean against frozen E172 and then-current publication. If passed, separately build complete package and run actual forward accounting, independent component checks, relocation and full97public replay. No automaticpublication.", "checkpoint_choices": "Primary6000 only; final12000 remains E152durability evaluation and is not an E178 substitute. No coefficient or bounds sweep.", "new_training": false, "optimizer_updates": 0, "training_queued": false}, "steps": [{"cutoff": "valid_screen", "returncode": 0, "seconds": 4.2229819730855525}, {"cutoff": "valid_backcast", "returncode": 0, "seconds": 3.614030985161662}, {"cutoff": "valid_backcast2", "returncode": 0, "seconds": 3.842387610115111}, {"cutoff": "valid_backcast3", "returncode": 0, "seconds": 3.4760167670901865}], "optimizer_updates": 0, "new_neural_inference": false, "seconds": 4215.928280461114, "gate_checkpoint_sha256": "2e5fe5b5bb3330477d4506b282d3d2e952653dd9f374140d3dc5e183052e5d41", "source_rows": [{"cutoff": "valid_screen", "skill": 0.3896069046886559, "delta_matched": 7.510649951869564e-05, "delta_fixed_quartet": 0.0013789537108934713}, {"cutoff": "valid_backcast", "skill": 0.3455131384414102, "delta_matched": 3.5468870783761375e-05, "delta_fixed_quartet": -0.00015297721736440284}, {"cutoff": "valid_backcast2", "skill": 0.37017971783066894, "delta_matched": 1.4482088265932447e-05, "delta_fixed_quartet": 0.0005169936605659009}, {"cutoff": "valid_backcast3", "skill": 0.39253683581506915, "delta_matched": 0.00016366709992088335, "delta_fixed_quartet": 0.0004071575304287478}], "source_gates": {"delta_matched": {"positive": 4, "mean_delta": 7.21811396223182e-05}, "delta_fixed_quartet": {"positive": 3, "mean_delta": 0.0005375319211309293}}, "rows": [{"cutoff": "valid_screen", "skill": 0.3893886185542883, "delta_frozen": 2.784283736700921e-05, "groups": {"term": {"short": 0.37304278719472705, "medium": 0.41241521372175893, "long": 0.40787841474643804}, "domain": {"Econ/Fin": 0.15084877547058184, "Energy": 0.24818471122248886, "Healthcare": 0.48805121512216554, "Nature": 0.44427390390310617, "Sales": 0.34531710903644997, "Transport": 0.4756132293302082, "Web/CloudOps": 0.5084257016878475}, "freq": {"A-DEC": 0.3818060116345128, "Q-DEC": 0.20523493044736196, "M": 0.12082611449197789, "W-SUN": 0.10628998248671995, "D": 0.37573529000355055, "H": 0.4050296447701859, "15T": 0.21819134991526545, "W-FRI": 0.021137424730888643, "10T": 0.6275803055908898, "W-TUE": 0.6208950369543011, "W-THU": 0.21660517728087036, "W-WED": 0.32676217219829695, "5T": 0.5227205404230919, "10S": 0.42513705627358533}}, "group_deltas_frozen": {"term": {"short": -1.2410860547262814e-05, "medium": 5.467783353652056e-05, "long": 0.00010032015264660465}, "domain": {"Econ/Fin": 8.303622237493258e-05, "Energy": 7.422130929546356e-05, "Healthcare": -3.855263755947469e-05, "Nature": 0.00012371176487591118, "Sales": -5.853134869127086e-05, "Transport": 4.4496730733367684e-05, "Web/CloudOps": -7.86492608317868e-05}, "freq": {"A-DEC": -3.738904027361656e-05, "Q-DEC": -2.5940900233223374e-05, "M": -6.357880516838499e-05, "W-SUN": 0.00025516726255891964, "D": -2.7141890551973802e-05, "H": 3.9667247494601376e-05, "15T": 2.5370654316292374e-06, "W-FRI": 0.0010669972576361486, "10T": -9.722664749578502e-05, "W-TUE": 0.000348339877819126, "W-THU": 0.000372946033274979, "W-WED": 1.3333964771100604e-05, "5T": -1.8724227518696068e-05, "10S": 6.0470439690818445e-05}}, "cpu_seconds": 4.043512376025319, "delta_current": 2.784283736700921e-05}, {"cutoff": "valid_backcast", "skill": 0.3458855484987985, "delta_frozen": -1.9172341096940215e-05, "groups": {"term": {"short": 0.31405135677125584, "medium": 0.3634880050344428, "long": 0.40646085695730405}, "domain": {"Econ/Fin": 0.1815378088473224, "Energy": 0.2352708784550941, "Healthcare": 0.4016231758452091, "Nature": 0.38400546393423785, "Sales": 0.40913666984815356, "Transport": 0.3793145763549044, "Web/CloudOps": 0.45920649970256644}, "freq": {"A-DEC": 0.3309720356104414, "Q-DEC": 0.23700875314185488, "M": 0.19145194725882775, "W-SUN": 0.05919864009176079, "D": 0.3647089037523499, "H": 0.3780863977305884, "15T": 0.2223932822271516, "W-FRI": 0.23887938065176417, "10T": 0.332777356278391, "W-TUE": 0.5470785370888256, "W-THU": 0.26646480999458777, "W-WED": 0.36009155288833083, "5T": 0.4475143972044354, "10S": 0.3482985497012876}}, "group_deltas_frozen": {"term": {"short": -0.00010342477547664597, "medium": 2.6374238375592718e-05, "long": 0.00012946338465180673}, "domain": {"Econ/Fin": -6.286330037608145e-05, "Energy": -3.0998297502415895e-05, "Healthcare": -0.0005022771879600318, "Nature": 0.00017681699927363237, "Sales": 0.00029751739582351, "Transport": -6.469233547290454e-05, "Web/CloudOps": -4.4384792960427966e-05}, "freq": {"A-DEC": 0.00018448667299297838, "Q-DEC": 3.043172411953954e-06, "M": -0.00030217176119140543, "W-SUN": 0.00013647954170814547, "D": 2.6949163241973828e-05, "H": -6.975417693722008e-05, "15T": 9.133767470248522e-05, "W-FRI": -0.0008065209955202546, "10T": 0.0008066613858027649, "W-TUE": -0.0011229451666862067, "W-THU": -0.0005141773481792677, "W-WED": 0.0003966399097784512, "5T": -0.00017687402760158122, "10S": 0.0002946463558902712}}, "cpu_seconds": 3.471247533801943, "delta_current": -1.9172341096940215e-05}, {"cutoff": "valid_backcast2", "skill": 0.37029933923985303, "delta_frozen": -2.517902771492775e-05, "groups": {"term": {"short": 0.357168278367067, "medium": 0.3989295390452411, "long": 0.37483316128302835}, "domain": {"Econ/Fin": 0.12952881001076577, "Energy": 0.2420929894488122, "Healthcare": 0.3583202916788518, "Nature": 0.4848427673262331, "Sales": 0.559755259130557, "Transport": 0.42969129020861796, "Web/CloudOps": 0.4477845254797028}, "freq": {"A-DEC": 0.3380061675380128, "Q-DEC": 0.15631943423304218, "M": 0.17257953668947368, "W-SUN": 0.08222382264298089, "D": 0.43537500702445564, "H": 0.4015177369210292, "15T": 0.10752669900046241, "W-FRI": 0.15020887176334807, "10T": 0.5101746338965369, "W-TUE": 0.15078230480040566, "W-THU": 0.3486233924479326, "W-WED": 0.5605407654696586, "5T": 0.4809853920795446, "10S": 0.29232922615951606}}, "group_deltas_frozen": {"term": {"short": -6.81697718811769e-05, "medium": 7.577739257813576e-05, "long": -2.2349623829409637e-05}, "domain": {"Econ/Fin": 4.594375522337657e-05, "Energy": 1.939971139286456e-08, "Healthcare": -8.823768835042323e-06, "Nature": -0.0001790668189524114, "Sales": -2.7566425333303002e-05, "Transport": 2.756684696825218e-05, "Web/CloudOps": 2.0884045587754585e-05}, "freq": {"A-DEC": 0.0004928347628748719, "Q-DEC": 7.941668542366109e-05, "M": -0.0011260734074093337, "W-SUN": 0.0004772444696740097, "D": -0.00015188769112706169, "H": 6.976721908269479e-05, "15T": -8.016655406395401e-05, "W-FRI": 0.00046348685796326894, "10T": 7.776982140139665e-05, "W-TUE": 0.0020906359631662763, "W-THU": -3.249375006963984e-05, "W-WED": 2.1538767565498773e-05, "5T": -0.00010912659173056838, "10S": -2.4254690200731233e-06}}, "cpu_seconds": 3.7073113459628075, "delta_current": -2.517902771492775e-05}, {"cutoff": "valid_backcast3", "skill": 0.3928989447562167, "delta_frozen": 6.404282703376118e-05, "groups": {"term": {"short": 0.39809997487411974, "medium": 0.3718868921500592, "long": 0.3997581469289928}, "domain": {"Econ/Fin": 0.19188209387553523, "Energy": 0.31932026825564386, "Healthcare": 0.23841302241580775, "Nature": 0.508141678621495, "Sales": 0.403814823731273, "Transport": 0.5127725204714335, "Web/CloudOps": 0.40023447193296224}, "freq": {"A-DEC": 0.36180399695062215, "Q-DEC": 0.2625249815704652, "M": 0.1482781705444497, "W-SUN": 0.17481946297763007, "D": 0.44455387398700386, "H": 0.409419542939931, "15T": 0.25900831953836556, "W-FRI": 0.04159595045512843, "10T": 0.6042920368543576, "W-TUE": 0.2826499351960575, "W-THU": 0.3434079855934459, "W-WED": 0.37389798364262095, "5T": 0.47129738138565824, "10S": 0.2925933229659482}}, "group_deltas_frozen": {"term": {"short": 0.00010090374657656387, "medium": -7.549268399964504e-06, "long": 3.154453830145343e-05}, "domain": {"Econ/Fin": 2.9201473518924992e-05, "Energy": -8.739467626661668e-05, "Healthcare": 0.00044712614466535516, "Nature": 6.610610778889914e-05, "Sales": -4.986783342086909e-05, "Transport": 0.00016558048348724874, "Web/CloudOps": 0.0001414784143159986}, "freq": {"A-DEC": 0.0007729585492407542, "Q-DEC": -0.00017654968940694626, "M": 0.00045382264464399746, "W-SUN": -0.00016459249679834365, "D": 0.00013000394433171358, "H": -5.6837649137664314e-05, "15T": 0.00010223755295746262, "W-FRI": 0.00021129484078630245, "10T": 3.301038382241828e-05, "W-TUE": -0.00026901556600966714, "W-THU": -0.00016655687217170811, "W-WED": 1.1454677164013383e-05, "5T": 6.292254077300274e-05, "10S": 0.0004032517415013537}}, "cpu_seconds": 3.3271902941633016, "delta_current": 6.404282703376118e-05}], "composition_gates": {"delta_frozen": {"positive": 2, "mean_delta": 1.1883573897225608e-05}, "delta_current": {"positive": 2, "mean_delta": 1.1883573897225608e-05}}, "current_descriptor": "a75fdfcbb4d8e38dd6e7cded3c097ff0a129976fa63277bfd277a6031ccc6140", "selection_gate_passed": false, "mean_group_deltas": {"term": {"short": -2.0775415332130454e-05, "medium": 3.7320049022571133e-05, "long": 5.9744612942613795e-05}, "domain": {"Econ/Fin": 2.382953768528817e-05, "Energy": -1.1038066190544038e-05, "Healthcare": -2.5631862422298424e-05, "Nature": 4.6892013246507824e-05, "Sales": 4.038794709451676e-05, "Transport": 4.3237931428991017e-05, "Web/CloudOps": 9.832101527884607e-06}, "freq": {"A-DEC": 0.000353222736208747, "Q-DEC": -3.0007682951138648e-05, "M": -0.00025950033228128166, "W-SUN": 0.0001760746942856828, "D": -5.519118526337019e-06, "H": -4.289339874397058e-06, "15T": 2.8986434756905766e-05, "W-FRI": 0.00023381449021636636, "10T": 0.0002050537358826987, "W-TUE": 0.0002617537770723821, "W-THU": -8.507048428640918e-05, "W-WED": 0.00011074182981976599, "5T": -6.045057651946073e-05, "10S": 0.00018898576701559255}}, "finished_utc": "2026-10-24T04:28:55.351482+00:00"} + +2026-10-24T04:29:44.902111+00:00: E169/E183 source failures reviewed {"utc": "2026-10-24T04:29:44.902111+00:00", "source_experiment": "E147", "checkpoint_sha256": "db18302560ead9b5476cffd44359c8957673e62c34e68afb89b50d355a20ef28", "E169": {"outcome": "Primary48 and final96 source gates failed; both global quartet compositions untested", "results": [{"step": 48000, "status": "source gate failed; no quartet probes", "positive_source": 0, "source_mean_delta": -0.0020597215790003898}, {"step": 96000, "status": "source gate failed; no quartet probes", "positive_source": 0, "source_mean_delta": -0.003614290647929841}], "controller_wall_seconds_including_wait": 11157.434787867125}, "E183": {"outcome": "Final96long source gate failed against both controls; conditionalH720composition untested", "result": {"experiment": "E183", "step": 96000, "new_member_checkpoint_sha256": "db18302560ead9b5476cffd44359c8957673e62c34e68afb89b50d355a20ef28", "source_comparison": "/workspace/research/random_capacity_full_highlr96k_four_cutoff_comparison.json", "long_source_comparisons": {"random_capacity_full": {"checkpoint_sha256": "76d63bae25a069c699a5025715ac3f5f89f18b27f2dc61340f14474e305616ba", "rows": [{"cutoff": "valid_screen", "delta_long": 0.006668580922152834}, {"cutoff": "valid_backcast", "delta_long": -0.0022038758898392796}, {"cutoff": "valid_backcast2", "delta_long": -0.005239038407394037}, {"cutoff": "valid_backcast3", "delta_long": -0.0026230179490334127}], "positive_cutoffs": 1, "mean_delta": -0.0008493378310284738}, "random_capacity_1024": {"checkpoint_sha256": "d7cfcd72c3cb84aa69e447b76c4c3ab98c21b7c600a463f0b805f4b4300baf33", "rows": [{"cutoff": "valid_screen", "delta_long": 0.005868649732716613}, {"cutoff": "valid_backcast", "delta_long": -0.0016080487601414228}, {"cutoff": "valid_backcast2", "delta_long": -0.0035194451121877135}, {"cutoff": "valid_backcast3", "delta_long": -0.007613941403363689}], "positive_cutoffs": 1, "mean_delta": -0.001718196385744053}}, "original_global_positive_cutoffs": 0, "original_global_mean_delta": -0.003614290647929841, "optimizer_updates": 0, "new_neural_inference": false, "outcome": "declared long-term source gate failed; H720 composition untested", "selection_gate_passed": false, "utc": "2026-10-24T04:26:47.689801+00:00"}, "controller_wall_seconds_including_wait": 260.67422040808015}, "new_training": false, "new_neural_inference": false, "cached_composition_probes": 0, "new_package_built": false, "publication_changed": false} + +E181 window-mean auxiliary objective versus E80 6000 four-cutoff comparison: {"label": "E181 window-mean auxiliary objective versus E80 6000 four-cutoff comparison", "utc": "2026-10-24T04:29:51.858857+00:00", "candidate": "window_mean_loss_ema6000", "control": "overflow_control_ema6000", "rows": [{"cutoff": "evals", "candidate_skill": 0.37924823596834956, "control_skill": 0.3782887645248565, "delta": 0.0009594714434930651, "candidate_checkpoint": "97138fcf4cceba9ec1126b937c7697499e4bd160d4f78abce4346a62f41f24c7", "control_checkpoint": "b19875c52ed5024383fb69ccc48cb07a5629ad8011abf134c7dcfcdc50fae2af", "candidate_eval_seconds": 25.220224380493164, "candidate_groups": {"term": {"long": {"n_configs": 21, "rel_mase_gmean": 0.7416386740556028, "rel_wql_gmean": 0.4806747080544386}, "medium": {"n_configs": 21, "rel_mase_gmean": 0.7121566935423076, "rel_wql_gmean": 0.49405890125317536}, "short": {"n_configs": 55, "rel_mase_gmean": 0.7538382714062117, "rel_wql_gmean": 0.5451739022404667}}, "domain": {"Econ/Fin": {"n_configs": 6, "rel_mase_gmean": 0.8940972429460722, "rel_wql_gmean": 0.8595622152957276}, "Energy": {"n_configs": 32, "rel_mase_gmean": 0.8972579475091795, "rel_wql_gmean": 0.6435804359345942}, "Healthcare": {"n_configs": 5, "rel_mase_gmean": 0.5672570970464718, "rel_wql_gmean": 0.4996430828571896}, "Nature": {"n_configs": 15, "rel_mase_gmean": 0.8082234599098677, "rel_wql_gmean": 0.4011931208654546}, "Sales": {"n_configs": 4, "rel_mase_gmean": 0.8501207819096971, "rel_wql_gmean": 0.5178695132705895}, "Transport": {"n_configs": 15, "rel_mase_gmean": 0.6515448605408809, "rel_wql_gmean": 0.4444778369695574}, "Web/CloudOps": {"n_configs": 20, "rel_mase_gmean": 0.5570449678032019, "rel_wql_gmean": 0.43643889690744037}}, "frequency": {"A": {"n_configs": 1, "rel_mase_gmean": 0.6190069865416957, "rel_wql_gmean": 0.6474519699983433}, "D": {"n_configs": 15, "rel_mase_gmean": 0.7738030228772376, "rel_wql_gmean": 0.5340562070357623}, "H": {"n_configs": 31, "rel_mase_gmean": 0.7309891919630885, "rel_wql_gmean": 0.49862459498861966}, "M": {"n_configs": 5, "rel_mase_gmean": 0.9629168817839329, "rel_wql_gmean": 0.8292396826524676}, "Q": {"n_configs": 1, "rel_mase_gmean": 0.7864622702840021, "rel_wql_gmean": 0.8307521239205579}, "S": {"n_configs": 6, "rel_mase_gmean": 0.6550276510773083, "rel_wql_gmean": 0.504381843456945}, "T": {"n_configs": 30, "rel_mase_gmean": 0.692467312346471, "rel_wql_gmean": 0.4552797414271788}, "W": {"n_configs": 8, "rel_mase_gmean": 0.8919892615582639, "rel_wql_gmean": 0.6614323048780661}}, "variates": {"multivariate": {"n_configs": 43, "rel_mase_gmean": 0.7063480642703334, "rel_wql_gmean": 0.5111768859330903}, "univariate": {"n_configs": 54, "rel_mase_gmean": 0.7716473815652771, "rel_wql_gmean": 0.5259072880176655}}}, "control_groups": {"term": {"long": {"n_configs": 21, "rel_mase_gmean": 0.7451158192819246, "rel_wql_gmean": 0.4809631678035488}, "medium": {"n_configs": 21, "rel_mase_gmean": 0.7120497644863014, "rel_wql_gmean": 0.4940812105058145}, "short": {"n_configs": 55, "rel_mase_gmean": 0.7560063232433744, "rel_wql_gmean": 0.5455016162773587}}, "domain": {"Econ/Fin": {"n_configs": 6, "rel_mase_gmean": 0.891060652656678, "rel_wql_gmean": 0.8581226203181075}, "Energy": {"n_configs": 32, "rel_mase_gmean": 0.8989380404519756, "rel_wql_gmean": 0.6435803440684917}, "Healthcare": {"n_configs": 5, "rel_mase_gmean": 0.5710382040222995, "rel_wql_gmean": 0.5034944242351712}, "Nature": {"n_configs": 15, "rel_mase_gmean": 0.8133075715765863, "rel_wql_gmean": 0.4004091491239218}, "Sales": {"n_configs": 4, "rel_mase_gmean": 0.8446340518950459, "rel_wql_gmean": 0.5179589899563962}, "Transport": {"n_configs": 15, "rel_mase_gmean": 0.6447526741433901, "rel_wql_gmean": 0.4427981539703199}, "Web/CloudOps": {"n_configs": 20, "rel_mase_gmean": 0.5645988459931921, "rel_wql_gmean": 0.4387078987240053}}, "frequency": {"A": {"n_configs": 1, "rel_mase_gmean": 0.6165351258073414, "rel_wql_gmean": 0.6464531739881929}, "D": {"n_configs": 15, "rel_mase_gmean": 0.777944381816132, "rel_wql_gmean": 0.5346411774818413}, "H": {"n_configs": 31, "rel_mase_gmean": 0.7317515640788856, "rel_wql_gmean": 0.49890798111520296}, "M": {"n_configs": 5, "rel_mase_gmean": 0.9655032792454371, "rel_wql_gmean": 0.8262938781338912}, "Q": {"n_configs": 1, "rel_mase_gmean": 0.7858131466267005, "rel_wql_gmean": 0.8312500357519329}, "S": {"n_configs": 6, "rel_mase_gmean": 0.6555214893191091, "rel_wql_gmean": 0.504479335142133}, "T": {"n_configs": 30, "rel_mase_gmean": 0.6939507700541674, "rel_wql_gmean": 0.45508640655176025}, "W": {"n_configs": 8, "rel_mase_gmean": 0.8990798911693764, "rel_wql_gmean": 0.664987514515424}}, "variates": {"multivariate": {"n_configs": 43, "rel_mase_gmean": 0.7111159189621905, "rel_wql_gmean": 0.5120760043186128}, "univariate": {"n_configs": 54, "rel_mase_gmean": 0.7711295953953445, "rel_wql_gmean": 0.5256252376142441}}}, "group_skill_delta": {"term": {"long": 0.0015775686654326826, "medium": -3.1142081254209586e-05, "short": 0.0011141326508452565}, "domain": {"Econ/Fin": -0.0022231243526080746, "Energy": 0.0007110657463824666, "Healthcare": 0.0038260690737917935, "Nature": 0.0012298098101528598, "Sales": -0.0020875145992411692, "Transport": -0.003824810631817943, "Web/CloudOps": 0.004620591725378764}, "frequency": {"A": -0.0017527896731026615, "D": 0.0020708643439125707, "H": 0.0004863678777511371, "M": -0.00039145467680423707, "Q": -9.155193673870965e-05, "S": 0.0002722008060433989, "T": 0.00048174971016545776, "W": 0.005116601624658879}, "variates": {"multivariate": 0.0025546010702777178, "univariate": -0.00038455656142399874}}}, {"cutoff": "backcast_evals", "candidate_skill": 0.33293462626835635, "control_skill": 0.33515646486891926, "delta": -0.0022218386005629087, "candidate_checkpoint": "97138fcf4cceba9ec1126b937c7697499e4bd160d4f78abce4346a62f41f24c7", "control_checkpoint": "b19875c52ed5024383fb69ccc48cb07a5629ad8011abf134c7dcfcdc50fae2af", "candidate_eval_seconds": 25.736777782440186, "candidate_groups": {"term": {"long": {"n_configs": 21, "rel_mase_gmean": 0.7801332773164236, "rel_wql_gmean": 0.46746027610252683}, "medium": {"n_configs": 21, "rel_mase_gmean": 0.7770577225638788, "rel_wql_gmean": 0.5351488096138662}, "short": {"n_configs": 55, "rel_mase_gmean": 0.8214232781704415, "rel_wql_gmean": 0.5997864377882329}}, "domain": {"Econ/Fin": {"n_configs": 6, "rel_mase_gmean": 0.8924668425850258, "rel_wql_gmean": 0.8208896482980172}, "Energy": {"n_configs": 32, "rel_mase_gmean": 0.8900144302812298, "rel_wql_gmean": 0.670098691172771}, "Healthcare": {"n_configs": 5, "rel_mase_gmean": 0.6339976019773382, "rel_wql_gmean": 0.5410276522869466}, "Nature": {"n_configs": 15, "rel_mase_gmean": 0.9451401278649698, "rel_wql_gmean": 0.4362750924902025}, "Sales": {"n_configs": 4, "rel_mase_gmean": 0.7351839395159124, "rel_wql_gmean": 0.4982446434820185}, "Transport": {"n_configs": 15, "rel_mase_gmean": 0.7439645334593084, "rel_wql_gmean": 0.5343790111708852}, "Web/CloudOps": {"n_configs": 20, "rel_mase_gmean": 0.666058108020231, "rel_wql_gmean": 0.46027012358467273}}, "frequency": {"A": {"n_configs": 1, "rel_mase_gmean": 0.6524004507617165, "rel_wql_gmean": 0.7257380932321171}, "D": {"n_configs": 15, "rel_mase_gmean": 0.8435351102988159, "rel_wql_gmean": 0.5009181482225927}, "H": {"n_configs": 31, "rel_mase_gmean": 0.778602723303367, "rel_wql_gmean": 0.5161167937551471}, "M": {"n_configs": 5, "rel_mase_gmean": 0.8787408948804951, "rel_wql_gmean": 0.8009829753609405}, "Q": {"n_configs": 1, "rel_mase_gmean": 0.7618813958372044, "rel_wql_gmean": 0.7683647875171932}, "S": {"n_configs": 6, "rel_mase_gmean": 0.8531483587881266, "rel_wql_gmean": 0.507819392725296}, "T": {"n_configs": 30, "rel_mase_gmean": 0.7758281904601649, "rel_wql_gmean": 0.5816051110347968}, "W": {"n_configs": 8, "rel_mase_gmean": 0.8707350789319838, "rel_wql_gmean": 0.5826337190697854}}, "variates": {"multivariate": {"n_configs": 43, "rel_mase_gmean": 0.7913375005075547, "rel_wql_gmean": 0.5322324410366889}, "univariate": {"n_configs": 54, "rel_mase_gmean": 0.8116769668578147, "rel_wql_gmean": 0.5727487065850279}}}, "control_groups": {"term": {"long": {"n_configs": 21, "rel_mase_gmean": 0.7750842285105053, "rel_wql_gmean": 0.46538535076726445}, "medium": {"n_configs": 21, "rel_mase_gmean": 0.7739741905332832, "rel_wql_gmean": 0.534827984372569}, "short": {"n_configs": 55, "rel_mase_gmean": 0.818371751293216, "rel_wql_gmean": 0.5985153782895438}}, "domain": {"Econ/Fin": {"n_configs": 6, "rel_mase_gmean": 0.887916619787545, "rel_wql_gmean": 0.8185770809200361}, "Energy": {"n_configs": 32, "rel_mase_gmean": 0.8901417181128463, "rel_wql_gmean": 0.6693878286037928}, "Healthcare": {"n_configs": 5, "rel_mase_gmean": 0.6334453098405051, "rel_wql_gmean": 0.5437528735999733}, "Nature": {"n_configs": 15, "rel_mase_gmean": 0.9321426691826549, "rel_wql_gmean": 0.43340604882484346}, "Sales": {"n_configs": 4, "rel_mase_gmean": 0.7321691335963859, "rel_wql_gmean": 0.4977340558431129}, "Transport": {"n_configs": 15, "rel_mase_gmean": 0.7394280206962279, "rel_wql_gmean": 0.5327250385233748}, "Web/CloudOps": {"n_configs": 20, "rel_mase_gmean": 0.6634585442750054, "rel_wql_gmean": 0.4591816165371809}}, "frequency": {"A": {"n_configs": 1, "rel_mase_gmean": 0.6523615189029875, "rel_wql_gmean": 0.7262242686636398}, "D": {"n_configs": 15, "rel_mase_gmean": 0.8405439241384891, "rel_wql_gmean": 0.5009731755165275}, "H": {"n_configs": 31, "rel_mase_gmean": 0.7770655988729349, "rel_wql_gmean": 0.5160636056826207}, "M": {"n_configs": 5, "rel_mase_gmean": 0.8620023507565068, "rel_wql_gmean": 0.7924280387937057}, "Q": {"n_configs": 1, "rel_mase_gmean": 0.7600409188395882, "rel_wql_gmean": 0.7689369191610511}, "S": {"n_configs": 6, "rel_mase_gmean": 0.8521465319527592, "rel_wql_gmean": 0.5084037872669025}, "T": {"n_configs": 30, "rel_mase_gmean": 0.7696065791080199, "rel_wql_gmean": 0.577900906515431}, "W": {"n_configs": 8, "rel_mase_gmean": 0.8747966347792652, "rel_wql_gmean": 0.5837934687567188}}, "variates": {"multivariate": {"n_configs": 43, "rel_mase_gmean": 0.7902103277834961, "rel_wql_gmean": 0.5315871703126607}, "univariate": {"n_configs": 54, "rel_mase_gmean": 0.8062350844786952, "rel_wql_gmean": 0.5709428531788484}}}, "group_skill_delta": {"term": {"long": -0.0032947531435185695, "medium": -0.0014736821390328725, "short": -0.0020477370623606106}, "domain": {"Econ/Fin": -0.0033881713585823814, "Energy": -0.0003545394099686572, "Healthcare": 0.0012174001039044757, "Nature": -0.006530900942674389, "Sales": -0.0015517739254216067, "Transport": -0.0028988755562705526, "Web/CloudOps": -0.0017353672933164699}, "frequency": {"A": 0.00020990170453394352, "D": -0.001117895350242759, "H": -0.0006586832910133733, "M": -0.012478145277285746, "Q": -0.000640245324666, "S": -8.171646931676158e-06, "T": -0.0048327637101697185, "W": 0.0023694385541080942}, "variates": {"multivariate": -0.0008556110811324125, "univariate": -0.0033616147997628243}}}, {"cutoff": "backcast2_evals", "candidate_skill": 0.3573319100310194, "control_skill": 0.35970579873679454, "delta": -0.002373888705775151, "candidate_checkpoint": "97138fcf4cceba9ec1126b937c7697499e4bd160d4f78abce4346a62f41f24c7", "control_checkpoint": "b19875c52ed5024383fb69ccc48cb07a5629ad8011abf134c7dcfcdc50fae2af", "candidate_eval_seconds": 24.706649780273438, "candidate_groups": {"term": {"long": {"n_configs": 19, "rel_mase_gmean": 0.8016726437221616, "rel_wql_gmean": 0.5070265362439842}, "medium": {"n_configs": 21, "rel_mase_gmean": 0.7574730123660423, "rel_wql_gmean": 0.4936984529161195}, "short": {"n_configs": 54, "rel_mase_gmean": 0.7688355815128335, "rel_wql_gmean": 0.561516208406121}}, "domain": {"Econ/Fin": {"n_configs": 6, "rel_mase_gmean": 0.9020017795349768, "rel_wql_gmean": 0.9133392126614562}, "Energy": {"n_configs": 32, "rel_mase_gmean": 0.8990333122220219, "rel_wql_gmean": 0.6485030801303965}, "Healthcare": {"n_configs": 5, "rel_mase_gmean": 0.6844540139047127, "rel_wql_gmean": 0.5872003111875178}, "Nature": {"n_configs": 15, "rel_mase_gmean": 0.7757188362733515, "rel_wql_gmean": 0.36845280432576516}, "Sales": {"n_configs": 3, "rel_mase_gmean": 0.5709349228346734, "rel_wql_gmean": 0.36412095556073365}, "Transport": {"n_configs": 14, "rel_mase_gmean": 0.6688564811179978, "rel_wql_gmean": 0.5014822950079221}, "Web/CloudOps": {"n_configs": 19, "rel_mase_gmean": 0.6850634705367415, "rel_wql_gmean": 0.47469574017256244}}, "frequency": {"A": {"n_configs": 1, "rel_mase_gmean": 0.581787449789008, "rel_wql_gmean": 0.7344356027758288}, "D": {"n_configs": 15, "rel_mase_gmean": 0.7349839100527437, "rel_wql_gmean": 0.45350924564209233}, "H": {"n_configs": 30, "rel_mase_gmean": 0.757256552307449, "rel_wql_gmean": 0.49015860625694774}, "M": {"n_configs": 4, "rel_mase_gmean": 0.826220122839028, "rel_wql_gmean": 0.8499398565619838}, "Q": {"n_configs": 1, "rel_mase_gmean": 0.831419363494754, "rel_wql_gmean": 0.86925124042325}, "S": {"n_configs": 6, "rel_mase_gmean": 0.910352696016412, "rel_wql_gmean": 0.5698382915618291}, "T": {"n_configs": 29, "rel_mase_gmean": 0.7572045796890149, "rel_wql_gmean": 0.544148781925536}, "W": {"n_configs": 8, "rel_mase_gmean": 0.8661623001611157, "rel_wql_gmean": 0.6441654267333982}}, "variates": {"multivariate": {"n_configs": 42, "rel_mase_gmean": 0.7842908732054533, "rel_wql_gmean": 0.5194976822105706}, "univariate": {"n_configs": 52, "rel_mase_gmean": 0.763620073924779, "rel_wql_gmean": 0.5468544839103789}}}, "control_groups": {"term": {"long": {"n_configs": 19, "rel_mase_gmean": 0.8007838015734439, "rel_wql_gmean": 0.5057608145580296}, "medium": {"n_configs": 21, "rel_mase_gmean": 0.7549215312107497, "rel_wql_gmean": 0.49176726739734045}, "short": {"n_configs": 54, "rel_mase_gmean": 0.7642838919526312, "rel_wql_gmean": 0.5599238938428742}}, "domain": {"Econ/Fin": {"n_configs": 6, "rel_mase_gmean": 0.8997976584221669, "rel_wql_gmean": 0.9109410837720314}, "Energy": {"n_configs": 32, "rel_mase_gmean": 0.8969828992939779, "rel_wql_gmean": 0.6477417063864679}, "Healthcare": {"n_configs": 5, "rel_mase_gmean": 0.6849313799294706, "rel_wql_gmean": 0.586932347321718}, "Nature": {"n_configs": 15, "rel_mase_gmean": 0.7624727427382104, "rel_wql_gmean": 0.3657161858629389}, "Sales": {"n_configs": 3, "rel_mase_gmean": 0.5639287429478652, "rel_wql_gmean": 0.36145769293128766}, "Transport": {"n_configs": 14, "rel_mase_gmean": 0.6689876132941273, "rel_wql_gmean": 0.5020608717418806}, "Web/CloudOps": {"n_configs": 19, "rel_mase_gmean": 0.6837785683593893, "rel_wql_gmean": 0.4719606763184108}}, "frequency": {"A": {"n_configs": 1, "rel_mase_gmean": 0.5811330636284028, "rel_wql_gmean": 0.7336592636608978}, "D": {"n_configs": 15, "rel_mase_gmean": 0.7329769702098001, "rel_wql_gmean": 0.45167764562697754}, "H": {"n_configs": 30, "rel_mase_gmean": 0.7553820928392463, "rel_wql_gmean": 0.4904273479694985}, "M": {"n_configs": 4, "rel_mase_gmean": 0.8254186064766647, "rel_wql_gmean": 0.8515799856418855}, "Q": {"n_configs": 1, "rel_mase_gmean": 0.8324909356393811, "rel_wql_gmean": 0.8724694350490023}, "S": {"n_configs": 6, "rel_mase_gmean": 0.9100541095744552, "rel_wql_gmean": 0.5693729069160721}, "T": {"n_configs": 29, "rel_mase_gmean": 0.7550799772409099, "rel_wql_gmean": 0.540387432745741}, "W": {"n_configs": 8, "rel_mase_gmean": 0.8437173750489751, "rel_wql_gmean": 0.6406981711171287}}, "variates": {"multivariate": {"n_configs": 42, "rel_mase_gmean": 0.7818465318697899, "rel_wql_gmean": 0.5175870710427966}, "univariate": {"n_configs": 52, "rel_mase_gmean": 0.7594977958239505, "rel_wql_gmean": 0.545505930798867}}}, "group_skill_delta": {"term": {"long": -0.0011493673314323383, "medium": -0.002226000035596809, "short": -0.002877339294485637}, "domain": {"Econ/Fin": -0.0023005678158171117, "Energy": -0.0013190677975704057, "Healthcare": 7.631872005864349e-05, "Nature": -0.0065562224012372106, "Sales": -0.004466439811516731, "Transport": 0.00039080122595003264, "Web/CloudOps": -0.0021787092554090837}, "frequency": {"A": -0.000713103175230656, "D": -0.00195422422310787, "H": -0.0005877181597466752, "M": 0.000401190070228874, "Q": 0.0021209148634404595, "S": -0.0004122490224113262, "T": -0.003120403488607204, "W": -0.011728299567226652}, "variates": {"multivariate": -0.0021684955445596676, "univariate": -0.002541714780873061}}}, {"cutoff": "backcast3_evals", "candidate_skill": 0.3897785584919441, "control_skill": 0.38966768132876584, "delta": 0.00011087716317825791, "candidate_checkpoint": "97138fcf4cceba9ec1126b937c7697499e4bd160d4f78abce4346a62f41f24c7", "control_checkpoint": "b19875c52ed5024383fb69ccc48cb07a5629ad8011abf134c7dcfcdc50fae2af", "candidate_eval_seconds": 24.58328914642334, "candidate_groups": {"term": {"long": {"n_configs": 19, "rel_mase_gmean": 0.7652012679219037, "rel_wql_gmean": 0.4758106111987404}, "medium": {"n_configs": 20, "rel_mase_gmean": 0.7755321474367286, "rel_wql_gmean": 0.5327235912367}, "short": {"n_configs": 54, "rel_mase_gmean": 0.7115593692839415, "rel_wql_gmean": 0.507558411643248}}, "domain": {"Econ/Fin": {"n_configs": 6, "rel_mase_gmean": 0.848081711699464, "rel_wql_gmean": 0.8286879855495038}, "Energy": {"n_configs": 32, "rel_mase_gmean": 0.8364829638297332, "rel_wql_gmean": 0.5568973587323606}, "Healthcare": {"n_configs": 5, "rel_mase_gmean": 0.7821286049664983, "rel_wql_gmean": 0.6517532458186236}, "Nature": {"n_configs": 15, "rel_mase_gmean": 0.706524283298231, "rel_wql_gmean": 0.3429075049094136}, "Sales": {"n_configs": 3, "rel_mase_gmean": 0.7572205325435143, "rel_wql_gmean": 0.4795760542922524}, "Transport": {"n_configs": 14, "rel_mase_gmean": 0.5433773678927435, "rel_wql_gmean": 0.44829296415164255}, "Web/CloudOps": {"n_configs": 18, "rel_mase_gmean": 0.7153648043743972, "rel_wql_gmean": 0.5181282542535056}}, "frequency": {"A": {"n_configs": 1, "rel_mase_gmean": 0.5296699077383547, "rel_wql_gmean": 0.7668795462173112}, "D": {"n_configs": 15, "rel_mase_gmean": 0.7266938548117381, "rel_wql_gmean": 0.4251370157903405}, "H": {"n_configs": 29, "rel_mase_gmean": 0.7283391060125577, "rel_wql_gmean": 0.4889843365820071}, "M": {"n_configs": 4, "rel_mase_gmean": 0.8511718088944776, "rel_wql_gmean": 0.8453389586579579}, "Q": {"n_configs": 1, "rel_mase_gmean": 0.7187502842983743, "rel_wql_gmean": 0.771939135469206}, "S": {"n_configs": 6, "rel_mase_gmean": 0.838160954102782, "rel_wql_gmean": 0.6001817654204848}, "T": {"n_configs": 29, "rel_mase_gmean": 0.7081256192475625, "rel_wql_gmean": 0.4632269887377607}, "W": {"n_configs": 8, "rel_mase_gmean": 0.7900808811778544, "rel_wql_gmean": 0.6725686456186688}}, "variates": {"multivariate": {"n_configs": 41, "rel_mase_gmean": 0.7646649575129002, "rel_wql_gmean": 0.5154178465379402}, "univariate": {"n_configs": 52, "rel_mase_gmean": 0.7136368200122288, "rel_wql_gmean": 0.4989506538429868}}}, "control_groups": {"term": {"long": {"n_configs": 19, "rel_mase_gmean": 0.7650747158835133, "rel_wql_gmean": 0.4758888221311058}, "medium": {"n_configs": 20, "rel_mase_gmean": 0.7703157746376595, "rel_wql_gmean": 0.5298503011269557}, "short": {"n_configs": 54, "rel_mase_gmean": 0.713915671760059, "rel_wql_gmean": 0.5084844315057424}}, "domain": {"Econ/Fin": {"n_configs": 6, "rel_mase_gmean": 0.8452403065316382, "rel_wql_gmean": 0.8277399249864468}, "Energy": {"n_configs": 32, "rel_mase_gmean": 0.8346950467324626, "rel_wql_gmean": 0.5567599695672222}, "Healthcare": {"n_configs": 5, "rel_mase_gmean": 0.7876375654704325, "rel_wql_gmean": 0.6565412569519505}, "Nature": {"n_configs": 15, "rel_mase_gmean": 0.710238739553539, "rel_wql_gmean": 0.34191077293082645}, "Sales": {"n_configs": 3, "rel_mase_gmean": 0.7563686587019305, "rel_wql_gmean": 0.4784563222634317}, "Transport": {"n_configs": 14, "rel_mase_gmean": 0.5433317817040721, "rel_wql_gmean": 0.4493168613990946}, "Web/CloudOps": {"n_configs": 18, "rel_mase_gmean": 0.7161526533494015, "rel_wql_gmean": 0.5178489398382691}}, "frequency": {"A": {"n_configs": 1, "rel_mase_gmean": 0.5311143622209655, "rel_wql_gmean": 0.7781586196577971}, "D": {"n_configs": 15, "rel_mase_gmean": 0.7234708846594775, "rel_wql_gmean": 0.42486757337507386}, "H": {"n_configs": 29, "rel_mase_gmean": 0.725973846929309, "rel_wql_gmean": 0.48863382838793346}, "M": {"n_configs": 4, "rel_mase_gmean": 0.8623268790180476, "rel_wql_gmean": 0.8523275939235515}, "Q": {"n_configs": 1, "rel_mase_gmean": 0.7182632014266673, "rel_wql_gmean": 0.7707135583961491}, "S": {"n_configs": 6, "rel_mase_gmean": 0.8408993113146807, "rel_wql_gmean": 0.5989715147638536}, "T": {"n_configs": 29, "rel_mase_gmean": 0.7064723895859075, "rel_wql_gmean": 0.463139705670842}, "W": {"n_configs": 8, "rel_mase_gmean": 0.8096257056910313, "rel_wql_gmean": 0.6721758032092567}}, "variates": {"multivariate": {"n_configs": 41, "rel_mase_gmean": 0.7638007775200529, "rel_wql_gmean": 0.5152023145873739}, "univariate": {"n_configs": 52, "rel_mase_gmean": 0.7148285566222029, "rel_wql_gmean": 0.49905178580637044}}}, "group_skill_delta": {"term": {"long": -3.128905581295527e-07, "medium": -0.0038952135209869843, "short": 0.0015430870794164164}, "domain": {"Econ/Fin": -0.001884420816462784, "Energy": -0.000813913811371636, "Healthcare": 0.005136980232529176, "Nature": 0.0005744145948876622, "Sales": -0.00104258564627846, "Transport": 0.0005425841735251513, "Web/CloudOps": 0.000170944566625586}, "frequency": {"A": 0.005544559332318455, "D": -0.0014097218508537512, "H": -0.0011833797394126266, "M": 0.009062288019482612, "Q": -0.000843769391199567, "S": 0.00044103651891669315, "T": -0.0007228555329875652, "W": 0.008745802526980095}, "variates": {"multivariate": -0.0004860480440207482, "univariate": 0.000558555653918491}}}], "mean_delta": -0.0008813446749166842, "positive_cutoffs": 2, "outcome": "Declared comparison checkpoints 6000,12000. No transfer formula or automatic publication is selected by this controller."} + +2026-10-24T04:32:20.436470+00:00: Scheduled main-cutoff learning diagnostic {"utc": "2026-10-24T04:32:20.436470+00:00", "experiment": "E181", "run": "window_mean_loss", "step": 6000, "skill": 0.37924823596834956, "checkpoint_sha256": "97138fcf4cceba9ec1126b937c7697499e4bd160d4f78abce4346a62f41f24c7", "eval_seconds": 25.220224380493164, "comparisons": [{"control": "overflow_control", "control_checkpoint_sha256": "b19875c52ed5024383fb69ccc48cb07a5629ad8011abf134c7dcfcdc50fae2af", "control_skill": 0.3782887645248565, "delta": 0.0009594714434930651, "group_deltas": {"term": {"long": 0.0015775686654326826, "medium": -3.1142081254209586e-05, "short": 0.0011141326508452565}, "domain": {"Econ/Fin": -0.0022231243526080746, "Energy": 0.0007110657463824666, "Healthcare": 0.0038260690737917935, "Nature": 0.0012298098101528598, "Sales": -0.0020875145992411692, "Transport": -0.003824810631817943, "Web/CloudOps": 0.004620591725378764}, "frequency": {"A": -0.0017527896731026615, "D": 0.0020708643439125707, "H": 0.0004863678777511371, "M": -0.00039145467680423707, "Q": -9.155193673870965e-05, "S": 0.0002722008060433989, "T": 0.00048174971016545776, "W": 0.005116601624658879}, "variates": {"multivariate": 0.0025546010702777178, "univariate": -0.00038455656142399874}}}], "decision": "Original primary6k is positive on main but fails the declared four-cutoff source gate (2/4, mean -0.0008813446749166842). No larger-model transfer or publication is selected. Original final12k durability evaluation remains unchanged.", "new_neural_inference": false, "new_training": false}. No additional training or inference. + +2026-10-24T04:32:20.804673+00:00: E152 declared endpoint review {"utc": "2026-10-24T04:32:20.804673+00:00", "experiment": "E152", "run": "ensemble_gate_refresh_full", "step": 6000, "seed": 751, "checkpoint_sha256": "2e5fe5b5bb3330477d4506b282d3d2e952653dd9f374140d3dc5e183052e5d41", "expert_descriptor_sha256": "a1b4ab426901be8e1ee299eeeb3f041bac7cea3d4e59c4608824fc3d05c83e03", "current_descriptor_sha256": "a75fdfcbb4d8e38dd6e7cded3c097ff0a129976fa63277bfd277a6031ccc6140", "training_loop_seconds_to_endpoint": 3095.7, "rows": [{"panel": "valid_screen", "skill": 0.3896069046886559, "delta_frozen": 0.0013789537108934713, "delta_current": 0.0002461289717345938, "evaluation_seconds": 107.0373036810197, "groups": {"term": {"long": 0.40820163920967656, "medium": 0.41273093212795364, "short": 0.3731787577881094}, "domain": {"Econ/Fin": 0.151482584239771, "Energy": 0.2477419273772793, "Healthcare": 0.49074202439636394, "Nature": 0.44455144285267567, "Sales": 0.3441211385344357, "Transport": 0.4757647424540692, "Web/CloudOps": 0.5088720144992589}, "frequency": {"A": 0.3811951269813083, "D": 0.3764480068207746, "H": 0.4051728507284572, "M": 0.11768737474441504, "Q": 0.2039862798917138, "S": 0.4251478720459442, "T": 0.4473111488122997, "W": 0.24521559916481495}, "variates": {"multivariate": 0.40195504693641215, "univariate": 0.3795920345634546}}, "comparisons": {"frozen": {"positive_configs": 50, "total_configs": 97, "group_skill_delta": {"term": {"long": 0.0021941219488902375, "medium": 0.0018002561274950146, "short": 0.0008769875348206835}, "domain": {"Econ/Fin": 0.002469299479164744, "Energy": 0.00034157413852864416, "Healthcare": -0.0043272549142197025, "Nature": 0.003185962791174779, "Sales": -0.0004890332247227125, "Transport": 0.0031551042054900336, "Web/CloudOps": 0.0013962471903938845}, "frequency": {"A": -0.0024554454179024354, "D": 0.004313342244648077, "H": 0.0015849759476777026, "M": -0.009135071292826202, "Q": -0.0020810766113170676, "S": 0.0011200903341990198, "T": 0.0022887042837401728, "W": -0.004142823094606118}, "variates": {"multivariate": 0.0012640925228227795, "univariate": 0.0014734274811774029}}, "largest_regressions": [{"config_id": "us_births__M__short", "delta": -0.04281185897808959}, {"config_id": "us_births__W__short", "delta": -0.01813004262131246}, {"config_id": "bizitobs_l2c__H__short", "delta": -0.015047304743370016}, {"config_id": "ett1__W__short", "delta": -0.012999520435609035}, {"config_id": "covid_deaths__D__short", "delta": -0.012156035868174708}, {"config_id": "ett2__T__short", "delta": -0.011886420563240518}, {"config_id": "m4_hourly__H__short", "delta": -0.011127825980381978}, {"config_id": "ett1__D__short", "delta": -0.008487508804207677}], "largest_improvements": [{"config_id": "m4_weekly__W__short", "delta": 0.027392611176965787}, {"config_id": "M_DENSE__H__long", "delta": 0.018895460195852087}, {"config_id": "us_births__D__short", "delta": 0.01529058234655234}, {"config_id": "saugeenday__D__short", "delta": 0.013093250321673078}, {"config_id": "bizitobs_l2c__T__medium", "delta": 0.012014700609587536}, {"config_id": "ett1__H__long", "delta": 0.011397409319373941}, {"config_id": "M_DENSE__H__short", "delta": 0.010247472038947825}, {"config_id": "M_DENSE__H__medium", "delta": 0.00982994015019134}]}, "current": {"positive_configs": 48, "total_configs": 97, "group_skill_delta": {"term": {"long": 0.0004235446158852296, "medium": 0.0003703962397312299, "short": 0.00012355973283506572}, "domain": {"Econ/Fin": 0.0007168449915641029, "Energy": -0.0003685625359141076, "Healthcare": 0.0026522566366389277, "Nature": 0.00040125071444530036, "Sales": -0.001254501850705525, "Transport": 0.00019600985459433673, "Web/CloudOps": 0.0003676635505796}, "frequency": {"A": -0.0006482736934780853, "D": 0.0006855749266720945, "H": 0.00018287320576593213, "M": -0.0032023185527312314, "Q": -0.0012745914558812688, "S": 7.128621204965935e-05, "T": 0.0005681055859768636, "W": 0.00022263323948312763}, "variates": {"multivariate": 8.362268095440939e-05, "univariate": 0.0003803269142125254}}, "largest_regressions": [{"config_id": "bizitobs_l2c__H__short", "delta": -0.011005442825090528}, {"config_id": "ett2__T__short", "delta": -0.010886111964216516}, {"config_id": "us_births__M__short", "delta": -0.01060269202751174}, {"config_id": "covid_deaths__D__short", "delta": -0.008217532089909718}, {"config_id": "LOOP_SEATTLE__T__short", "delta": -0.008103609746954232}, {"config_id": "saugeenday__W__short", "delta": -0.0074457889849190995}, {"config_id": "ett1__W__short", "delta": -0.007042635017212473}, {"config_id": "ett1__T__medium", "delta": -0.005365573172962934}], "largest_improvements": [{"config_id": "m4_weekly__W__short", "delta": 0.01104345321335709}, {"config_id": "us_births__D__short", "delta": 0.008345465923216278}, {"config_id": "bizitobs_l2c__T__short", "delta": 0.006564945392712573}, {"config_id": "M_DENSE__H__medium", "delta": 0.0046256472198943355}, {"config_id": "M_DENSE__H__short", "delta": 0.0046216438970005935}, {"config_id": "M_DENSE__H__long", "delta": 0.004340522926676749}, {"config_id": "ett2__H__medium", "delta": 0.004040684784956339}, {"config_id": "electricity__H__short", "delta": 0.003788740053442652}]}}}, {"panel": "valid_backcast", "skill": 0.3455131384414102, "delta_frozen": -0.00015297721736440284, "delta_current": -0.00039158239848524623, "evaluation_seconds": 106.15256676310673, "groups": {"term": {"long": 0.40556645374496436, "medium": 0.36367727907832315, "short": 0.3136791696156317}, "domain": {"Econ/Fin": 0.1824103417848003, "Energy": 0.23457326802943823, "Healthcare": 0.39908705219530805, "Nature": 0.38501104443196965, "Sales": 0.40849499126507494, "Transport": 0.3795823995824381, "Web/CloudOps": 0.45818008870956206}, "frequency": {"A": 0.3273873296926152, "D": 0.3639709744455081, "H": 0.37873491320880404, "M": 0.19086200570321543, "Q": 0.23776905753547695, "S": 0.34605854261671076, "T": 0.34160070527856345, "W": 0.2918967860313989}, "variates": {"multivariate": 0.36333653817496114, "univariate": 0.3309642472583869}}, "comparisons": {"frozen": {"positive_configs": 46, "total_configs": 97, "group_skill_delta": {"term": {"long": -0.0016311222077639576, "medium": -0.0004185685181334886, "short": 0.0006098013125163115}, "domain": {"Econ/Fin": 0.001975066999350683, "Energy": -0.00024213591507549204, "Healthcare": -0.008348234610800476, "Nature": 0.0037077996878418507, "Sales": 0.0009707667472005355, "Transport": 0.0019175325363920415, "Web/CloudOps": -0.002704769179845412}, "frequency": {"A": -0.004393795195318906, "D": -0.00021803854197488537, "H": 0.0023662468355277744, "M": 0.003383996726465832, "Q": 0.000527325866418904, "S": -0.003818988032764481, "T": -0.001978307366141574, "W": -0.0022062399422919654}, "variates": {"multivariate": -0.002000742050113913, "univariate": 0.001397351376798417}}, "largest_regressions": [{"config_id": "ett2__T__short", "delta": -0.024273501590835744}, {"config_id": "us_births__M__short", "delta": -0.017923774113122515}, {"config_id": "covid_deaths__D__short", "delta": -0.015281190944918754}, {"config_id": "jena_weather__T__short", "delta": -0.01491290429077985}, {"config_id": "ett2__W__short", "delta": -0.014004877304370833}, {"config_id": "electricity__D__short", "delta": -0.011605397199893508}, {"config_id": "bizitobs_l2c__T__medium", "delta": -0.010602064722868287}, {"config_id": "bizitobs_l2c__T__long", "delta": -0.01023136734114738}], "largest_improvements": [{"config_id": "saugeenday__M__short", "delta": 0.05623570217123053}, {"config_id": "solar__H__short", "delta": 0.03028093005950927}, {"config_id": "saugeenday__D__short", "delta": 0.02145696735372804}, {"config_id": "m4_weekly__W__short", "delta": 0.021197361686213445}, {"config_id": "ett1__H__short", "delta": 0.019219544726713167}, {"config_id": "M_DENSE__H__medium", "delta": 0.014470841726935468}, {"config_id": "bitbrains_fast_storage__T__short", "delta": 0.010545459400042034}, {"config_id": "bitbrains_rnd__T__short", "delta": 0.010153108300205438}]}, "current": {"positive_configs": 48, "total_configs": 97, "group_skill_delta": {"term": {"long": -0.0007649398276878827, "medium": 0.00021564828225595356, "short": -0.00047561193110079447}, "domain": {"Econ/Fin": 0.0008096696371018286, "Energy": -0.0007286087231581639, "Healthcare": -0.0030384008378611105, "Nature": 0.0011823974970054385, "Sales": -0.0003441611872551098, "Transport": 0.00020313089206080992, "Web/CloudOps": -0.0010707957859648065}, "frequency": {"A": -0.003400219244833247, "D": -0.0007109801435998264, "H": 0.0005787613012785409, "M": -0.0008921133168038331, "Q": 0.0007633475660340228, "S": -0.0019453607286865626, "T": -0.0005047717147781405, "W": -0.001739297335738299}, "variates": {"multivariate": -0.0005931484725423264, "univariate": -0.00022264296954233043}}, "largest_regressions": [{"config_id": "ett2__T__short", "delta": -0.018032075012864968}, {"config_id": "covid_deaths__D__short", "delta": -0.009874661503367244}, {"config_id": "solar__W__short", "delta": -0.00867171355419627}, {"config_id": "ett2__W__short", "delta": -0.007101213398783002}, {"config_id": "electricity__D__short", "delta": -0.006663215221573093}, {"config_id": "us_births__M__short", "delta": -0.006262599035755545}, {"config_id": "solar__T__short", "delta": -0.0058233712719171216}, {"config_id": "bizitobs_l2c__T__medium", "delta": -0.0053359955098480905}], "largest_improvements": [{"config_id": "saugeenday__D__short", "delta": 0.010634071446216864}, {"config_id": "solar__H__short", "delta": 0.008490820201812355}, {"config_id": "m4_weekly__W__short", "delta": 0.0080615079893811}, {"config_id": "saugeenday__M__short", "delta": 0.007133799977868893}, {"config_id": "ett1__H__short", "delta": 0.005657854559210973}, {"config_id": "ett2__H__long", "delta": 0.004378797776633747}, {"config_id": "bitbrains_fast_storage__T__short", "delta": 0.003716214827311104}, {"config_id": "bizitobs_l2c__T__short", "delta": 0.003353937398428264}]}}}, {"panel": "valid_backcast2", "skill": 0.37017971783066894, "delta_frozen": 0.0005169936605659009, "delta_current": -0.00014480043689901745, "evaluation_seconds": 103.69305629003793, "groups": {"term": {"long": 0.37459161276094244, "medium": 0.39819263365293245, "short": 0.3573493721413469}, "domain": {"Econ/Fin": 0.13243622441724878, "Energy": 0.24294814492308292, "Healthcare": 0.3527267279678522, "Nature": 0.48503349254338135, "Sales": 0.5580453349499985, "Transport": 0.42936609519736, "Web/CloudOps": 0.4473017636443629}, "frequency": {"A": 0.3387372571607973, "D": 0.4343945467577306, "H": 0.40088336790137524, "M": 0.17329899432279694, "Q": 0.15720391853685767, "S": 0.29050212944472253, "T": 0.3712609654468719, "W": 0.2845817823478789}, "variates": {"multivariate": 0.3727382602119578, "univariate": 0.36810558618982026}}, "comparisons": {"frozen": {"positive_configs": 56, "total_configs": 94, "group_skill_delta": {"term": {"long": 0.00045014410348265255, "medium": -0.0007600520711410486, "short": 0.00107194482652051}, "domain": {"Econ/Fin": 0.0049283248561839965, "Energy": 0.0021833126615488085, "Healthcare": -0.009442920328078808, "Nature": 0.002764363705469286, "Sales": -0.0011973622362657643, "Transport": 0.0014828268317226279, "Web/CloudOps": -0.002438999600258507}, "frequency": {"A": 0.0005510778027478791, "D": -0.000952781572851058, "H": 0.0002895777073669281, "M": 0.004175309744759659, "Q": 0.0016202279154621246, "S": -0.00039882637151011924, "T": 0.0004252422203403494, "W": 0.0043758642642853784}, "variates": {"multivariate": -0.0013122374480527554, "univariate": 0.002009276632053081}}, "largest_regressions": [{"config_id": "covid_deaths__D__short", "delta": -0.02828452099178158}, {"config_id": "us_births__W__short", "delta": -0.024241518373231963}, {"config_id": "ett1__H__short", "delta": -0.020884652167309614}, {"config_id": "bizitobs_l2c__T__medium", "delta": -0.012922567615288982}, {"config_id": "bizitobs_l2c__H__medium", "delta": -0.01047940424788063}, {"config_id": "bizitobs_l2c__T__long", "delta": -0.009365795032900581}, {"config_id": "bitbrains_fast_storage__T__long", "delta": -0.00862167806252001}, {"config_id": "bizitobs_application__S__medium", "delta": -0.006207256151753993}], "largest_improvements": [{"config_id": "solar__T__medium", "delta": 0.027818967124510152}, {"config_id": "electricity__H__short", "delta": 0.02109743341592174}, {"config_id": "saugeenday__M__short", "delta": 0.01791399320048148}, {"config_id": "m4_weekly__W__short", "delta": 0.01772623505398696}, {"config_id": "bitbrains_fast_storage__T__short", "delta": 0.014837721277650928}, {"config_id": "bizitobs_application__S__long", "delta": 0.014519738490279543}, {"config_id": "saugeenday__W__short", "delta": 0.013283301224927824}, {"config_id": "m4_hourly__H__short", "delta": 0.012595939540072432}]}, "current": {"positive_configs": 53, "total_configs": 94, "group_skill_delta": {"term": {"long": -0.00026389814591532, "medium": -0.0006611279997306152, "short": 0.00011292400239870659}, "domain": {"Econ/Fin": 0.0029533581617064986, "Energy": 0.000855174873982234, "Healthcare": -0.0056023874798346585, "Nature": 1.1658398195946162e-05, "Sales": -0.0017374906058917894, "Transport": -0.00029762816428957617, "Web/CloudOps": -0.000461877789752152}, "frequency": {"A": 0.0012239243856593252, "D": -0.00113234795785222, "H": -0.0005646018005712738, "M": -0.0004066157740860721, "Q": 0.0009639009892391526, "S": -0.0018295221838136033, "T": 0.0011090632491034258, "W": 7.996367668017257e-06}, "variates": {"multivariate": -0.00040837215078537437, "univariate": 6.974030267437037e-05}}, "largest_regressions": [{"config_id": "us_births__W__short", "delta": -0.019120128737667996}, {"config_id": "covid_deaths__D__short", "delta": -0.01691429249101084}, {"config_id": "ett1__H__short", "delta": -0.013758618526718225}, {"config_id": "bizitobs_l2c__T__long", "delta": -0.006328839491745897}, {"config_id": "bizitobs_l2c__H__medium", "delta": -0.005638087319664864}, {"config_id": "bizitobs_l2c__T__medium", "delta": -0.005480217032814538}, {"config_id": "M_DENSE__D__short", "delta": -0.005418927898372061}, {"config_id": "bitbrains_fast_storage__T__long", "delta": -0.005014739424737846}], "largest_improvements": [{"config_id": "bitbrains_fast_storage__T__short", "delta": 0.013544960952672436}, {"config_id": "solar__T__medium", "delta": 0.009260187235139106}, {"config_id": "electricity__H__short", "delta": 0.008593831094477311}, {"config_id": "m4_weekly__W__short", "delta": 0.00856649527768405}, {"config_id": "ett1__T__short", "delta": 0.0067845514726460054}, {"config_id": "bizitobs_l2c__T__short", "delta": 0.006698150280995296}, {"config_id": "ett2__D__short", "delta": 0.006552554649397413}, {"config_id": "m4_hourly__H__short", "delta": 0.006089205867462422}]}}}, {"panel": "valid_backcast3", "skill": 0.39253683581506915, "delta_frozen": 0.0004071575304287478, "delta_current": -0.0002980661141137597, "evaluation_seconds": 106.25240059103817, "groups": {"term": {"long": 0.39882810416161707, "medium": 0.37123331553714445, "short": 0.3980415969373884}, "domain": {"Econ/Fin": 0.19377157053844452, "Energy": 0.31909921265013064, "Healthcare": 0.23631900185043264, "Nature": 0.5057492670933028, "Sales": 0.404309255123829, "Transport": 0.5137571310193036, "Web/CloudOps": 0.4001209887604895}, "frequency": {"A": 0.3651929792087687, "D": 0.4447454604984241, "H": 0.4092378440550818, "M": 0.14583306889838843, "Q": 0.2622707534273552, "S": 0.29029949607763117, "T": 0.43427242338461314, "W": 0.2500556033532847}, "variates": {"multivariate": 0.3755611975692761, "univariate": 0.40559546352861053}}, "comparisons": {"frozen": {"positive_configs": 45, "total_configs": 93, "group_skill_delta": {"term": {"long": -0.0005166879754213705, "medium": -0.00194679632577055, "short": 0.001570150868905995}, "domain": {"Econ/Fin": 0.002256735463441628, "Energy": 0.001949436288830153, "Healthcare": 0.0022498813307317844, "Nature": -0.0030280452448963047, "Sales": 0.0018993312508486238, "Transport": 0.0035420664781974365, "Web/CloudOps": -0.002648152697379058}, "frequency": {"A": 0.0019049896472920214, "D": 0.004504849712122727, "H": 0.0011906545567055282, "M": -0.0003270359128870748, "Q": -0.0012965372803518393, "S": -0.003904252937601771, "T": -0.00039219239175114495, "W": -0.0059549392053288575}, "variates": {"multivariate": 3.990060596037459e-06, "univariate": 0.0007097217892276797}}, "largest_regressions": [{"config_id": "saugeenday__W__short", "delta": -0.02607892201205897}, {"config_id": "ett2__T__medium", "delta": -0.02055509128413968}, {"config_id": "bizitobs_l2c__T__medium", "delta": -0.019783416306473733}, {"config_id": "solar__H__short", "delta": -0.01933402500638337}, {"config_id": "us_births__M__short", "delta": -0.016904461015531003}, {"config_id": "saugeenday__D__short", "delta": -0.01194927120940481}, {"config_id": "bizitobs_application__S__medium", "delta": -0.011613614672071781}, {"config_id": "bizitobs_application__S__long", "delta": -0.011332066323681111}], "largest_improvements": [{"config_id": "ett1__D__short", "delta": 0.021386680520558254}, {"config_id": "ett1__T__short", "delta": 0.020266788887540077}, {"config_id": "us_births__D__short", "delta": 0.0181619687835588}, {"config_id": "saugeenday__M__short", "delta": 0.015295066366035504}, {"config_id": "M_DENSE__H__short", "delta": 0.012817471909533196}, {"config_id": "ett2__D__short", "delta": 0.01266256276124178}, {"config_id": "M_DENSE__D__short", "delta": 0.012241860066066867}, {"config_id": "ett2__W__short", "delta": 0.012204185016262525}]}, "current": {"positive_configs": 45, "total_configs": 93, "group_skill_delta": {"term": {"long": -0.0008984982290742849, "medium": -0.000661125881314728, "short": 4.25258098453174e-05}, "domain": {"Econ/Fin": 0.001918678136428209, "Energy": -0.00030845028177972633, "Healthcare": -0.0016468944207097547, "Nature": -0.0023263054204032407, "Sales": 0.000444563559135136, "Transport": 0.0011501910313573838, "Web/CloudOps": 2.7995241843381535e-05}, "frequency": {"A": 0.004161940807387299, "D": 0.0003215904557519744, "H": -0.00023853653398697716, "M": -0.0019912790014172677, "Q": -0.0004307778325169931, "S": -0.0018905751468156762, "T": 0.00029727957995384635, "W": -0.00359690199364604}, "variates": {"multivariate": -0.00021796327106049507, "univariate": -0.0003580220232051179}}, "largest_regressions": [{"config_id": "saugeenday__W__short", "delta": -0.014766136995750134}, {"config_id": "bizitobs_l2c__T__medium", "delta": -0.011222377411685636}, {"config_id": "ett2__T__medium", "delta": -0.011200766818457497}, {"config_id": "solar__H__short", "delta": -0.009467369122676872}, {"config_id": "bizitobs_application__S__long", "delta": -0.007413750570636868}, {"config_id": "ett2__H__long", "delta": -0.006894646747120259}, {"config_id": "saugeenday__D__short", "delta": -0.0068371806065054}, {"config_id": "ett2__H__short", "delta": -0.006283170542774386}], "largest_improvements": [{"config_id": "bitbrains_fast_storage__T__short", "delta": 0.00844141558710021}, {"config_id": "M_DENSE__H__short", "delta": 0.006118027813769467}, {"config_id": "ett2__D__short", "delta": 0.006015289564056614}, {"config_id": "ett1__D__short", "delta": 0.0049129565082374205}, {"config_id": "M_DENSE__D__short", "delta": 0.004739100013085862}, {"config_id": "ett1__T__short", "delta": 0.004263015543361615}, {"config_id": "m4_yearly__A__short", "delta": 0.004161940807387299}, {"config_id": "m4_hourly__H__short", "delta": 0.003914771342353074}]}}}], "selection_gate_passed": false, "positive_frozen": 3, "mean_delta_frozen": 0.0005375319211309293, "positive_current": 1, "mean_delta_current": -0.0001470799944408574, "cpu_review_seconds": 0.07102579483762383, "new_optimizer_updates": 0, "new_inference": false, "outcome": "Four-cutoff gate fails; no full replay or publication from this endpoint.", "interpretation": "Adaptive validation diagnostics, not independent test evidence. Frequency groups are recomputed using the scorer frequency parser, avoiding comparison of full aliases with frequency-unit groups."}. + +2026-10-24T04:32:22.856093+00:00: E181 matched error-structure diagnostic {"utc": "2026-10-24T04:32:22.856093+00:00", "experiment": "E181", "step": 6000, "cutoff": "valid_screen", "candidate_checkpoint_sha256": "97138fcf4cceba9ec1126b937c7697499e4bd160d4f78abce4346a62f41f24c7", "control_checkpoint_sha256": "b19875c52ed5024383fb69ccc48cb07a5629ad8011abf134c7dcfcdc50fae2af", "overall": {"configs": 97, "mase_geometric_ratio": 0.9973948612012945, "mase_improved_configs": 49, "absolute_window_mean_error_geometric_ratio": 0.9647250557274158, "absolute_window_mean_error_improved_configs": 66}, "groups": {"term": {"long": {"configs": 21, "mase_geometric_ratio": 0.995333416448368, "mase_improved_configs": 11, "absolute_window_mean_error_geometric_ratio": 0.9553816389194234, "absolute_window_mean_error_improved_configs": 16}, "medium": {"configs": 21, "mase_geometric_ratio": 1.000150170762409, "mase_improved_configs": 10, "absolute_window_mean_error_geometric_ratio": 0.9488301817589683, "absolute_window_mean_error_improved_configs": 17}, "short": {"configs": 55, "mase_geometric_ratio": 0.9971322305508487, "mase_improved_configs": 28, "absolute_window_mean_error_geometric_ratio": 0.9744784076001263, "absolute_window_mean_error_improved_configs": 33}}, "domain": {"Econ/Fin": {"configs": 6, "mase_geometric_ratio": 1.0034078379292595, "mase_improved_configs": 1, "absolute_window_mean_error_geometric_ratio": 1.0046669106799788, "absolute_window_mean_error_improved_configs": 1}, "Energy": {"configs": 32, "mase_geometric_ratio": 0.9981310247567771, "mase_improved_configs": 17, "absolute_window_mean_error_geometric_ratio": 0.9902424439268595, "absolute_window_mean_error_improved_configs": 20}, "Healthcare": {"configs": 5, "mase_geometric_ratio": 0.993378539388093, "mase_improved_configs": 3, "absolute_window_mean_error_geometric_ratio": 1.0791064723174781, "absolute_window_mean_error_improved_configs": 3}, "Nature": {"configs": 15, "mase_geometric_ratio": 0.9937488450318209, "mase_improved_configs": 8, "absolute_window_mean_error_geometric_ratio": 0.90664187876775, "absolute_window_mean_error_improved_configs": 10}, "Sales": {"configs": 4, "mase_geometric_ratio": 1.0064959848615398, "mase_improved_configs": 1, "absolute_window_mean_error_geometric_ratio": 0.9540144545806565, "absolute_window_mean_error_improved_configs": 3}, "Transport": {"configs": 15, "mase_geometric_ratio": 1.0105345610338334, "mase_improved_configs": 6, "absolute_window_mean_error_geometric_ratio": 0.9675328070320308, "absolute_window_mean_error_improved_configs": 11}, "Web/CloudOps": {"configs": 20, "mase_geometric_ratio": 0.9866208047650148, "mase_improved_configs": 13, "absolute_window_mean_error_geometric_ratio": 0.9312386565887062, "absolute_window_mean_error_improved_configs": 18}}, "frequency": {"10S": {"configs": 6, "mase_geometric_ratio": 0.9992466482795037, "mase_improved_configs": 4, "absolute_window_mean_error_geometric_ratio": 0.9944612667144274, "absolute_window_mean_error_improved_configs": 4}, "10T": {"configs": 6, "mase_geometric_ratio": 0.9969920409773793, "mase_improved_configs": 3, "absolute_window_mean_error_geometric_ratio": 0.9963568039180901, "absolute_window_mean_error_improved_configs": 4}, "15T": {"configs": 12, "mase_geometric_ratio": 1.000444274554927, "mase_improved_configs": 7, "absolute_window_mean_error_geometric_ratio": 0.9823601363362515, "absolute_window_mean_error_improved_configs": 9}, "5T": {"configs": 12, "mase_geometric_ratio": 0.995721282748988, "mase_improved_configs": 6, "absolute_window_mean_error_geometric_ratio": 0.9533088530535085, "absolute_window_mean_error_improved_configs": 10}, "A-DEC": {"configs": 1, "mase_geometric_ratio": 1.0040092780295646, "mase_improved_configs": 0, "absolute_window_mean_error_geometric_ratio": 1.0047580634243314, "absolute_window_mean_error_improved_configs": 0}, "D": {"configs": 15, "mase_geometric_ratio": 0.9946765359636297, "mase_improved_configs": 9, "absolute_window_mean_error_geometric_ratio": 0.9740129844587578, "absolute_window_mean_error_improved_configs": 10}, "H": {"configs": 31, "mase_geometric_ratio": 0.9989581544430906, "mase_improved_configs": 14, "absolute_window_mean_error_geometric_ratio": 0.9522602864059136, "absolute_window_mean_error_improved_configs": 22}, "M": {"configs": 5, "mase_geometric_ratio": 0.9973211924629344, "mase_improved_configs": 2, "absolute_window_mean_error_geometric_ratio": 0.9534394593319575, "absolute_window_mean_error_improved_configs": 2}, "Q-DEC": {"configs": 1, "mase_geometric_ratio": 1.0008260534455145, "mase_improved_configs": 0, "absolute_window_mean_error_geometric_ratio": 1.0011419810899496, "absolute_window_mean_error_improved_configs": 0}, "W-FRI": {"configs": 2, "mase_geometric_ratio": 0.9999294551130918, "mase_improved_configs": 1, "absolute_window_mean_error_geometric_ratio": 0.997055557690361, "absolute_window_mean_error_improved_configs": 1}, "W-SUN": {"configs": 1, "mase_geometric_ratio": 1.0113120943925247, "mase_improved_configs": 0, "absolute_window_mean_error_geometric_ratio": 1.0162679250406046, "absolute_window_mean_error_improved_configs": 0}, "W-THU": {"configs": 3, "mase_geometric_ratio": 0.9820935636067457, "mase_improved_configs": 2, "absolute_window_mean_error_geometric_ratio": 0.8658118482751476, "absolute_window_mean_error_improved_configs": 2}, "W-TUE": {"configs": 1, "mase_geometric_ratio": 0.976216956620308, "mase_improved_configs": 1, "absolute_window_mean_error_geometric_ratio": 0.9503995503821354, "absolute_window_mean_error_improved_configs": 1}, "W-WED": {"configs": 1, "mase_geometric_ratio": 1.0038339230074231, "mase_improved_configs": 0, "absolute_window_mean_error_geometric_ratio": 0.9761863066568035, "absolute_window_mean_error_improved_configs": 1}}}, "candidate_diagnostic_seconds": 0.842953474028036, "control_diagnostic_seconds": 0.5906678938772529, "analysis_seconds": 0.008735371055081487, "optimizer_updates": 0, "new_neural_inference": false, "interpretation": "Ratios below1 indicate improvement against the matched E80checkpoint. Absolute per-window mean error is a descriptive Jensen bound, not recoverable error. Lower mean-error can coexist with higher pointwiseMASE, as observed in some groups; it does not justify a correction or prove causality. This uses an adaptively observed validation panel and an explicit deterministic-mode difference, not independent test data. No hyperparameters, endpoint choices or forecasts changed."} + +2026-10-24T04:32:24.724010+00:00: E181 matched error-structure diagnostic {"utc": "2026-10-24T04:32:24.724010+00:00", "experiment": "E181", "step": 6000, "cutoff": "valid_backcast", "candidate_checkpoint_sha256": "97138fcf4cceba9ec1126b937c7697499e4bd160d4f78abce4346a62f41f24c7", "control_checkpoint_sha256": "b19875c52ed5024383fb69ccc48cb07a5629ad8011abf134c7dcfcdc50fae2af", "overall": {"configs": 97, "mase_geometric_ratio": 1.004386439028763, "mase_improved_configs": 44, "absolute_window_mean_error_geometric_ratio": 0.9758678801802622, "absolute_window_mean_error_improved_configs": 63}, "groups": {"term": {"long": {"configs": 21, "mase_geometric_ratio": 1.006514193709787, "mase_improved_configs": 6, "absolute_window_mean_error_geometric_ratio": 0.9762725601068508, "absolute_window_mean_error_improved_configs": 11}, "medium": {"configs": 21, "mase_geometric_ratio": 1.0039840243619378, "mase_improved_configs": 13, "absolute_window_mean_error_geometric_ratio": 0.9718800573173237, "absolute_window_mean_error_improved_configs": 16}, "short": {"configs": 55, "mase_geometric_ratio": 1.003728778360694, "mase_improved_configs": 25, "absolute_window_mean_error_geometric_ratio": 0.9772401047627194, "absolute_window_mean_error_improved_configs": 36}}, "domain": {"Econ/Fin": {"configs": 6, "mase_geometric_ratio": 1.0051246059551961, "mase_improved_configs": 1, "absolute_window_mean_error_geometric_ratio": 1.0062413965507424, "absolute_window_mean_error_improved_configs": 1}, "Energy": {"configs": 32, "mase_geometric_ratio": 0.9998570027344789, "mase_improved_configs": 20, "absolute_window_mean_error_geometric_ratio": 1.0036706362045547, "absolute_window_mean_error_improved_configs": 19}, "Healthcare": {"configs": 5, "mase_geometric_ratio": 1.0008718860622272, "mase_improved_configs": 4, "absolute_window_mean_error_geometric_ratio": 0.9819692782426055, "absolute_window_mean_error_improved_configs": 4}, "Nature": {"configs": 15, "mase_geometric_ratio": 1.013943636647072, "mase_improved_configs": 4, "absolute_window_mean_error_geometric_ratio": 0.9617959636636032, "absolute_window_mean_error_improved_configs": 8}, "Sales": {"configs": 4, "mase_geometric_ratio": 1.004117635913874, "mase_improved_configs": 0, "absolute_window_mean_error_geometric_ratio": 0.9440660739504652, "absolute_window_mean_error_improved_configs": 4}, "Transport": {"configs": 15, "mase_geometric_ratio": 1.0061351647977972, "mase_improved_configs": 8, "absolute_window_mean_error_geometric_ratio": 0.9692370131528498, "absolute_window_mean_error_improved_configs": 11}, "Web/CloudOps": {"configs": 20, "mase_geometric_ratio": 1.003918200719031, "mase_improved_configs": 7, "absolute_window_mean_error_geometric_ratio": 0.9441265333507811, "absolute_window_mean_error_improved_configs": 16}}, "frequency": {"10S": {"configs": 6, "mase_geometric_ratio": 1.0011756508978236, "mase_improved_configs": 4, "absolute_window_mean_error_geometric_ratio": 1.0064235188223905, "absolute_window_mean_error_improved_configs": 5}, "10T": {"configs": 6, "mase_geometric_ratio": 1.0029766695370417, "mase_improved_configs": 3, "absolute_window_mean_error_geometric_ratio": 1.029373254064768, "absolute_window_mean_error_improved_configs": 1}, "15T": {"configs": 12, "mase_geometric_ratio": 1.0133286766790397, "mase_improved_configs": 5, "absolute_window_mean_error_geometric_ratio": 1.0207694944073864, "absolute_window_mean_error_improved_configs": 7}, "5T": {"configs": 12, "mase_geometric_ratio": 1.0054169725836233, "mase_improved_configs": 3, "absolute_window_mean_error_geometric_ratio": 0.9391119745726385, "absolute_window_mean_error_improved_configs": 9}, "A-DEC": {"configs": 1, "mase_geometric_ratio": 1.0000596783495055, "mase_improved_configs": 0, "absolute_window_mean_error_geometric_ratio": 0.9993010581580115, "absolute_window_mean_error_improved_configs": 1}, "D": {"configs": 15, "mase_geometric_ratio": 1.003558631588935, "mase_improved_configs": 7, "absolute_window_mean_error_geometric_ratio": 0.9376417202629098, "absolute_window_mean_error_improved_configs": 12}, "H": {"configs": 31, "mase_geometric_ratio": 1.0019781141163135, "mase_improved_configs": 15, "absolute_window_mean_error_geometric_ratio": 0.9653332958321935, "absolute_window_mean_error_improved_configs": 21}, "M": {"configs": 5, "mase_geometric_ratio": 1.0194182116896762, "mase_improved_configs": 1, "absolute_window_mean_error_geometric_ratio": 1.1049206997924, "absolute_window_mean_error_improved_configs": 2}, "Q-DEC": {"configs": 1, "mase_geometric_ratio": 1.002421549882375, "mase_improved_configs": 0, "absolute_window_mean_error_geometric_ratio": 1.0026582557146262, "absolute_window_mean_error_improved_configs": 0}, "W-FRI": {"configs": 2, "mase_geometric_ratio": 0.9959282144755969, "mase_improved_configs": 2, "absolute_window_mean_error_geometric_ratio": 0.9893432874953628, "absolute_window_mean_error_improved_configs": 1}, "W-SUN": {"configs": 1, "mase_geometric_ratio": 1.015787308463135, "mase_improved_configs": 0, "absolute_window_mean_error_geometric_ratio": 1.0182766648377515, "absolute_window_mean_error_improved_configs": 0}, "W-THU": {"configs": 3, "mase_geometric_ratio": 0.9842032124166769, "mase_improved_configs": 3, "absolute_window_mean_error_geometric_ratio": 0.8804405298722364, "absolute_window_mean_error_improved_configs": 2}, "W-TUE": {"configs": 1, "mase_geometric_ratio": 0.9971559331313581, "mase_improved_configs": 1, "absolute_window_mean_error_geometric_ratio": 0.893566115743846, "absolute_window_mean_error_improved_configs": 1}, "W-WED": {"configs": 1, "mase_geometric_ratio": 1.005900981822917, "mase_improved_configs": 0, "absolute_window_mean_error_geometric_ratio": 0.9822578581499121, "absolute_window_mean_error_improved_configs": 1}}}, "candidate_diagnostic_seconds": 0.7833251098636538, "control_diagnostic_seconds": 0.5865441539790481, "analysis_seconds": 0.008765289792791009, "optimizer_updates": 0, "new_neural_inference": false, "interpretation": "Ratios below1 indicate improvement against the matched E80checkpoint. Absolute per-window mean error is a descriptive Jensen bound, not recoverable error. Lower mean-error can coexist with higher pointwiseMASE, as observed in some groups; it does not justify a correction or prove causality. This uses an adaptively observed validation panel and an explicit deterministic-mode difference, not independent test data. No hyperparameters, endpoint choices or forecasts changed."} + +2026-10-24T04:32:26.623383+00:00: E181 matched error-structure diagnostic {"utc": "2026-10-24T04:32:26.623383+00:00", "experiment": "E181", "step": 6000, "cutoff": "valid_backcast2", "candidate_checkpoint_sha256": "97138fcf4cceba9ec1126b937c7697499e4bd160d4f78abce4346a62f41f24c7", "control_checkpoint_sha256": "b19875c52ed5024383fb69ccc48cb07a5629ad8011abf134c7dcfcdc50fae2af", "overall": {"configs": 94, "mase_geometric_ratio": 1.0043987593023191, "mase_improved_configs": 29, "absolute_window_mean_error_geometric_ratio": 0.9723954959444038, "absolute_window_mean_error_improved_configs": 49}, "groups": {"term": {"long": {"configs": 19, "mase_geometric_ratio": 1.0011099651953141, "mase_improved_configs": 5, "absolute_window_mean_error_geometric_ratio": 0.972042550785514, "absolute_window_mean_error_improved_configs": 11}, "medium": {"configs": 21, "mase_geometric_ratio": 1.0033797965083875, "mase_improved_configs": 6, "absolute_window_mean_error_geometric_ratio": 0.9768083507396936, "absolute_window_mean_error_improved_configs": 11}, "short": {"configs": 54, "mase_geometric_ratio": 1.0059554958676067, "mase_improved_configs": 18, "absolute_window_mean_error_geometric_ratio": 0.9708087709138538, "absolute_window_mean_error_improved_configs": 27}}, "domain": {"Econ/Fin": {"configs": 6, "mase_geometric_ratio": 1.0024495741816832, "mase_improved_configs": 1, "absolute_window_mean_error_geometric_ratio": 1.0033059861932687, "absolute_window_mean_error_improved_configs": 1}, "Energy": {"configs": 32, "mase_geometric_ratio": 1.0022858996862234, "mase_improved_configs": 11, "absolute_window_mean_error_geometric_ratio": 1.0034063866544665, "absolute_window_mean_error_improved_configs": 13}, "Healthcare": {"configs": 5, "mase_geometric_ratio": 0.9993030454747058, "mase_improved_configs": 3, "absolute_window_mean_error_geometric_ratio": 0.9796864623981508, "absolute_window_mean_error_improved_configs": 3}, "Nature": {"configs": 15, "mase_geometric_ratio": 1.0173725469681334, "mase_improved_configs": 4, "absolute_window_mean_error_geometric_ratio": 0.9310661929732673, "absolute_window_mean_error_improved_configs": 7}, "Sales": {"configs": 3, "mase_geometric_ratio": 1.0124238744246026, "mase_improved_configs": 0, "absolute_window_mean_error_geometric_ratio": 0.9298973488797438, "absolute_window_mean_error_improved_configs": 3}, "Transport": {"configs": 14, "mase_geometric_ratio": 0.9998039841492974, "mase_improved_configs": 6, "absolute_window_mean_error_geometric_ratio": 0.9602949382429219, "absolute_window_mean_error_improved_configs": 9}, "Web/CloudOps": {"configs": 19, "mase_geometric_ratio": 1.0018791202836836, "mase_improved_configs": 4, "absolute_window_mean_error_geometric_ratio": 0.958733757577927, "absolute_window_mean_error_improved_configs": 13}}, "frequency": {"10S": {"configs": 6, "mase_geometric_ratio": 1.000328097460157, "mase_improved_configs": 1, "absolute_window_mean_error_geometric_ratio": 1.003946131540291, "absolute_window_mean_error_improved_configs": 3}, "10T": {"configs": 6, "mase_geometric_ratio": 0.9907699246597061, "mase_improved_configs": 3, "absolute_window_mean_error_geometric_ratio": 0.9674733076826139, "absolute_window_mean_error_improved_configs": 3}, "15T": {"configs": 11, "mase_geometric_ratio": 1.01019644201971, "mase_improved_configs": 1, "absolute_window_mean_error_geometric_ratio": 1.0220523233306102, "absolute_window_mean_error_improved_configs": 3}, "5T": {"configs": 12, "mase_geometric_ratio": 1.0021296593727331, "mase_improved_configs": 4, "absolute_window_mean_error_geometric_ratio": 0.9380265299130077, "absolute_window_mean_error_improved_configs": 9}, "A-DEC": {"configs": 1, "mase_geometric_ratio": 1.0011260521927965, "mase_improved_configs": 0, "absolute_window_mean_error_geometric_ratio": 1.0011640333325462, "absolute_window_mean_error_improved_configs": 0}, "D": {"configs": 15, "mase_geometric_ratio": 1.002738066712204, "mase_improved_configs": 6, "absolute_window_mean_error_geometric_ratio": 0.9723608422512613, "absolute_window_mean_error_improved_configs": 8}, "H": {"configs": 30, "mase_geometric_ratio": 1.0024814719411168, "mase_improved_configs": 10, "absolute_window_mean_error_geometric_ratio": 0.9841958129845504, "absolute_window_mean_error_improved_configs": 17}, "M": {"configs": 4, "mase_geometric_ratio": 1.000971042276094, "mase_improved_configs": 2, "absolute_window_mean_error_geometric_ratio": 0.9961384961941812, "absolute_window_mean_error_improved_configs": 2}, "Q-DEC": {"configs": 1, "mase_geometric_ratio": 0.9987128122376442, "mase_improved_configs": 1, "absolute_window_mean_error_geometric_ratio": 0.9981208146677315, "absolute_window_mean_error_improved_configs": 1}, "W-FRI": {"configs": 2, "mase_geometric_ratio": 0.9982264022961395, "mase_improved_configs": 1, "absolute_window_mean_error_geometric_ratio": 0.9974795371231187, "absolute_window_mean_error_improved_configs": 1}, "W-SUN": {"configs": 1, "mase_geometric_ratio": 1.005283712556934, "mase_improved_configs": 0, "absolute_window_mean_error_geometric_ratio": 1.0062010599503508, "absolute_window_mean_error_improved_configs": 0}, "W-THU": {"configs": 3, "mase_geometric_ratio": 1.066077128754204, "mase_improved_configs": 0, "absolute_window_mean_error_geometric_ratio": 0.7166562920101829, "absolute_window_mean_error_improved_configs": 1}, "W-TUE": {"configs": 1, "mase_geometric_ratio": 1.0135457730876578, "mase_improved_configs": 0, "absolute_window_mean_error_geometric_ratio": 1.0176084112509138, "absolute_window_mean_error_improved_configs": 0}, "W-WED": {"configs": 1, "mase_geometric_ratio": 1.0029107291175217, "mase_improved_configs": 0, "absolute_window_mean_error_geometric_ratio": 0.9672153108735655, "absolute_window_mean_error_improved_configs": 1}}}, "candidate_diagnostic_seconds": 0.707856560125947, "control_diagnostic_seconds": 0.6817719340324402, "analysis_seconds": 0.006523695075884461, "optimizer_updates": 0, "new_neural_inference": false, "interpretation": "Ratios below1 indicate improvement against the matched E80checkpoint. Absolute per-window mean error is a descriptive Jensen bound, not recoverable error. Lower mean-error can coexist with higher pointwiseMASE, as observed in some groups; it does not justify a correction or prove causality. This uses an adaptively observed validation panel and an explicit deterministic-mode difference, not independent test data. No hyperparameters, endpoint choices or forecasts changed."} + +2026-10-24T04:32:28.547918+00:00: E181 matched error-structure diagnostic {"utc": "2026-10-24T04:32:28.547918+00:00", "experiment": "E181", "step": 6000, "cutoff": "valid_backcast3", "candidate_checkpoint_sha256": "97138fcf4cceba9ec1126b937c7697499e4bd160d4f78abce4346a62f41f24c7", "control_checkpoint_sha256": "b19875c52ed5024383fb69ccc48cb07a5629ad8011abf134c7dcfcdc50fae2af", "overall": {"configs": 93, "mase_geometric_ratio": 0.9995656549871837, "mase_improved_configs": 42, "absolute_window_mean_error_geometric_ratio": 0.9670202366625194, "absolute_window_mean_error_improved_configs": 58}, "groups": {"term": {"long": {"configs": 19, "mase_geometric_ratio": 1.000165411345798, "mase_improved_configs": 8, "absolute_window_mean_error_geometric_ratio": 0.9682420749778072, "absolute_window_mean_error_improved_configs": 11}, "medium": {"configs": 20, "mase_geometric_ratio": 1.0067717330617079, "mase_improved_configs": 4, "absolute_window_mean_error_geometric_ratio": 0.9799776840991586, "absolute_window_mean_error_improved_configs": 12}, "short": {"configs": 54, "mase_geometric_ratio": 0.9966994666606654, "mase_improved_configs": 30, "absolute_window_mean_error_geometric_ratio": 0.9618373541368969, "absolute_window_mean_error_improved_configs": 35}}, "domain": {"Econ/Fin": {"configs": 6, "mase_geometric_ratio": 1.0033616536573902, "mase_improved_configs": 1, "absolute_window_mean_error_geometric_ratio": 1.0042875285378592, "absolute_window_mean_error_improved_configs": 1}, "Energy": {"configs": 32, "mase_geometric_ratio": 1.0021420003680022, "mase_improved_configs": 15, "absolute_window_mean_error_geometric_ratio": 0.9990970306766775, "absolute_window_mean_error_improved_configs": 14}, "Healthcare": {"configs": 5, "mase_geometric_ratio": 0.9930057164037828, "mase_improved_configs": 5, "absolute_window_mean_error_geometric_ratio": 0.9627265196991213, "absolute_window_mean_error_improved_configs": 4}, "Nature": {"configs": 15, "mase_geometric_ratio": 0.9947701300303008, "mase_improved_configs": 6, "absolute_window_mean_error_geometric_ratio": 0.9260227896830242, "absolute_window_mean_error_improved_configs": 11}, "Sales": {"configs": 3, "mase_geometric_ratio": 1.001126268033165, "mase_improved_configs": 2, "absolute_window_mean_error_geometric_ratio": 0.9154750023797618, "absolute_window_mean_error_improved_configs": 3}, "Transport": {"configs": 14, "mase_geometric_ratio": 1.0000839012003466, "mase_improved_configs": 7, "absolute_window_mean_error_geometric_ratio": 0.9558154813975822, "absolute_window_mean_error_improved_configs": 10}, "Web/CloudOps": {"configs": 18, "mase_geometric_ratio": 0.9988998868169803, "mase_improved_configs": 6, "absolute_window_mean_error_geometric_ratio": 0.9525399273755369, "absolute_window_mean_error_improved_configs": 15}}, "frequency": {"10S": {"configs": 6, "mase_geometric_ratio": 0.9967435373355017, "mase_improved_configs": 2, "absolute_window_mean_error_geometric_ratio": 0.956490770243786, "absolute_window_mean_error_improved_configs": 4}, "10T": {"configs": 6, "mase_geometric_ratio": 0.9985246980438578, "mase_improved_configs": 3, "absolute_window_mean_error_geometric_ratio": 0.992397101179706, "absolute_window_mean_error_improved_configs": 4}, "15T": {"configs": 11, "mase_geometric_ratio": 1.0050313803717332, "mase_improved_configs": 5, "absolute_window_mean_error_geometric_ratio": 0.9699639797789715, "absolute_window_mean_error_improved_configs": 7}, "5T": {"configs": 12, "mase_geometric_ratio": 1.0017879388154938, "mase_improved_configs": 5, "absolute_window_mean_error_geometric_ratio": 0.9520828184626031, "absolute_window_mean_error_improved_configs": 10}, "A-DEC": {"configs": 1, "mase_geometric_ratio": 0.9972803324757202, "mase_improved_configs": 1, "absolute_window_mean_error_geometric_ratio": 0.9975525732321314, "absolute_window_mean_error_improved_configs": 1}, "D": {"configs": 15, "mase_geometric_ratio": 1.0044548719521416, "mase_improved_configs": 8, "absolute_window_mean_error_geometric_ratio": 1.0413773044639707, "absolute_window_mean_error_improved_configs": 10}, "H": {"configs": 29, "mase_geometric_ratio": 1.0032580499879618, "mase_improved_configs": 10, "absolute_window_mean_error_geometric_ratio": 0.9928442633496669, "absolute_window_mean_error_improved_configs": 15}, "M": {"configs": 4, "mase_geometric_ratio": 0.9870639888480891, "mase_improved_configs": 3, "absolute_window_mean_error_geometric_ratio": 0.9384524183518118, "absolute_window_mean_error_improved_configs": 3}, "Q-DEC": {"configs": 1, "mase_geometric_ratio": 1.0006781398110602, "mase_improved_configs": 0, "absolute_window_mean_error_geometric_ratio": 1.000709815387907, "absolute_window_mean_error_improved_configs": 0}, "W-FRI": {"configs": 2, "mase_geometric_ratio": 0.9999057230246275, "mase_improved_configs": 1, "absolute_window_mean_error_geometric_ratio": 1.0001474280305178, "absolute_window_mean_error_improved_configs": 1}, "W-SUN": {"configs": 1, "mase_geometric_ratio": 1.0113706120978, "mase_improved_configs": 0, "absolute_window_mean_error_geometric_ratio": 1.0121432175274707, "absolute_window_mean_error_improved_configs": 0}, "W-THU": {"configs": 3, "mase_geometric_ratio": 0.9302309803165887, "mase_improved_configs": 3, "absolute_window_mean_error_geometric_ratio": 0.5074469053375185, "absolute_window_mean_error_improved_configs": 2}, "W-TUE": {"configs": 1, "mase_geometric_ratio": 0.9988693301064493, "mase_improved_configs": 1, "absolute_window_mean_error_geometric_ratio": 1.013429390781284, "absolute_window_mean_error_improved_configs": 0}, "W-WED": {"configs": 1, "mase_geometric_ratio": 1.0115528968267165, "mase_improved_configs": 0, "absolute_window_mean_error_geometric_ratio": 0.984007816937809, "absolute_window_mean_error_improved_configs": 1}}}, "candidate_diagnostic_seconds": 0.6072690079454333, "control_diagnostic_seconds": 0.8160543960984796, "analysis_seconds": 0.008603645954281092, "optimizer_updates": 0, "new_neural_inference": false, "interpretation": "Ratios below1 indicate improvement against the matched E80checkpoint. Absolute per-window mean error is a descriptive Jensen bound, not recoverable error. Lower mean-error can coexist with higher pointwiseMASE, as observed in some groups; it does not justify a correction or prove causality. This uses an adaptively observed validation panel and an explicit deterministic-mode difference, not independent test data. No hyperparameters, endpoint choices or forecasts changed."} + +2026-10-24T04:32:28.620476+00:00: E181 endpoint error-structure review {"utc": "2026-10-24T04:32:28.620476+00:00", "experiment": "E181", "step": 6000, "rows": [{"cutoff": "valid_screen", "review": "/workspace/research/window_mean_loss6k_error_structure_review.json", "overall": {"configs": 97, "mase_geometric_ratio": 0.9973948612012945, "mase_improved_configs": 49, "absolute_window_mean_error_geometric_ratio": 0.9647250557274158, "absolute_window_mean_error_improved_configs": 66}, "groups": {"term": {"long": {"configs": 21, "mase_geometric_ratio": 0.995333416448368, "mase_improved_configs": 11, "absolute_window_mean_error_geometric_ratio": 0.9553816389194234, "absolute_window_mean_error_improved_configs": 16}, "medium": {"configs": 21, "mase_geometric_ratio": 1.000150170762409, "mase_improved_configs": 10, "absolute_window_mean_error_geometric_ratio": 0.9488301817589683, "absolute_window_mean_error_improved_configs": 17}, "short": {"configs": 55, "mase_geometric_ratio": 0.9971322305508487, "mase_improved_configs": 28, "absolute_window_mean_error_geometric_ratio": 0.9744784076001263, "absolute_window_mean_error_improved_configs": 33}}, "domain": {"Econ/Fin": {"configs": 6, "mase_geometric_ratio": 1.0034078379292595, "mase_improved_configs": 1, "absolute_window_mean_error_geometric_ratio": 1.0046669106799788, "absolute_window_mean_error_improved_configs": 1}, "Energy": {"configs": 32, "mase_geometric_ratio": 0.9981310247567771, "mase_improved_configs": 17, "absolute_window_mean_error_geometric_ratio": 0.9902424439268595, "absolute_window_mean_error_improved_configs": 20}, "Healthcare": {"configs": 5, "mase_geometric_ratio": 0.993378539388093, "mase_improved_configs": 3, "absolute_window_mean_error_geometric_ratio": 1.0791064723174781, "absolute_window_mean_error_improved_configs": 3}, "Nature": {"configs": 15, "mase_geometric_ratio": 0.9937488450318209, "mase_improved_configs": 8, "absolute_window_mean_error_geometric_ratio": 0.90664187876775, "absolute_window_mean_error_improved_configs": 10}, "Sales": {"configs": 4, "mase_geometric_ratio": 1.0064959848615398, "mase_improved_configs": 1, "absolute_window_mean_error_geometric_ratio": 0.9540144545806565, "absolute_window_mean_error_improved_configs": 3}, "Transport": {"configs": 15, "mase_geometric_ratio": 1.0105345610338334, "mase_improved_configs": 6, "absolute_window_mean_error_geometric_ratio": 0.9675328070320308, "absolute_window_mean_error_improved_configs": 11}, "Web/CloudOps": {"configs": 20, "mase_geometric_ratio": 0.9866208047650148, "mase_improved_configs": 13, "absolute_window_mean_error_geometric_ratio": 0.9312386565887062, "absolute_window_mean_error_improved_configs": 18}}, "frequency": {"10S": {"configs": 6, "mase_geometric_ratio": 0.9992466482795037, "mase_improved_configs": 4, "absolute_window_mean_error_geometric_ratio": 0.9944612667144274, "absolute_window_mean_error_improved_configs": 4}, "10T": {"configs": 6, "mase_geometric_ratio": 0.9969920409773793, "mase_improved_configs": 3, "absolute_window_mean_error_geometric_ratio": 0.9963568039180901, "absolute_window_mean_error_improved_configs": 4}, "15T": {"configs": 12, "mase_geometric_ratio": 1.000444274554927, "mase_improved_configs": 7, "absolute_window_mean_error_geometric_ratio": 0.9823601363362515, "absolute_window_mean_error_improved_configs": 9}, "5T": {"configs": 12, "mase_geometric_ratio": 0.995721282748988, "mase_improved_configs": 6, "absolute_window_mean_error_geometric_ratio": 0.9533088530535085, "absolute_window_mean_error_improved_configs": 10}, "A-DEC": {"configs": 1, "mase_geometric_ratio": 1.0040092780295646, "mase_improved_configs": 0, "absolute_window_mean_error_geometric_ratio": 1.0047580634243314, "absolute_window_mean_error_improved_configs": 0}, "D": {"configs": 15, "mase_geometric_ratio": 0.9946765359636297, "mase_improved_configs": 9, "absolute_window_mean_error_geometric_ratio": 0.9740129844587578, "absolute_window_mean_error_improved_configs": 10}, "H": {"configs": 31, "mase_geometric_ratio": 0.9989581544430906, "mase_improved_configs": 14, "absolute_window_mean_error_geometric_ratio": 0.9522602864059136, "absolute_window_mean_error_improved_configs": 22}, "M": {"configs": 5, "mase_geometric_ratio": 0.9973211924629344, "mase_improved_configs": 2, "absolute_window_mean_error_geometric_ratio": 0.9534394593319575, "absolute_window_mean_error_improved_configs": 2}, "Q-DEC": {"configs": 1, "mase_geometric_ratio": 1.0008260534455145, "mase_improved_configs": 0, "absolute_window_mean_error_geometric_ratio": 1.0011419810899496, "absolute_window_mean_error_improved_configs": 0}, "W-FRI": {"configs": 2, "mase_geometric_ratio": 0.9999294551130918, "mase_improved_configs": 1, "absolute_window_mean_error_geometric_ratio": 0.997055557690361, "absolute_window_mean_error_improved_configs": 1}, "W-SUN": {"configs": 1, "mase_geometric_ratio": 1.0113120943925247, "mase_improved_configs": 0, "absolute_window_mean_error_geometric_ratio": 1.0162679250406046, "absolute_window_mean_error_improved_configs": 0}, "W-THU": {"configs": 3, "mase_geometric_ratio": 0.9820935636067457, "mase_improved_configs": 2, "absolute_window_mean_error_geometric_ratio": 0.8658118482751476, "absolute_window_mean_error_improved_configs": 2}, "W-TUE": {"configs": 1, "mase_geometric_ratio": 0.976216956620308, "mase_improved_configs": 1, "absolute_window_mean_error_geometric_ratio": 0.9503995503821354, "absolute_window_mean_error_improved_configs": 1}, "W-WED": {"configs": 1, "mase_geometric_ratio": 1.0038339230074231, "mase_improved_configs": 0, "absolute_window_mean_error_geometric_ratio": 0.9761863066568035, "absolute_window_mean_error_improved_configs": 1}}}}, {"cutoff": "valid_backcast", "review": "/workspace/research/window_mean_loss6k_valid_backcast_error_structure_review.json", "overall": {"configs": 97, "mase_geometric_ratio": 1.004386439028763, "mase_improved_configs": 44, "absolute_window_mean_error_geometric_ratio": 0.9758678801802622, "absolute_window_mean_error_improved_configs": 63}, "groups": {"term": {"long": {"configs": 21, "mase_geometric_ratio": 1.006514193709787, "mase_improved_configs": 6, "absolute_window_mean_error_geometric_ratio": 0.9762725601068508, "absolute_window_mean_error_improved_configs": 11}, "medium": {"configs": 21, "mase_geometric_ratio": 1.0039840243619378, "mase_improved_configs": 13, "absolute_window_mean_error_geometric_ratio": 0.9718800573173237, "absolute_window_mean_error_improved_configs": 16}, "short": {"configs": 55, "mase_geometric_ratio": 1.003728778360694, "mase_improved_configs": 25, "absolute_window_mean_error_geometric_ratio": 0.9772401047627194, "absolute_window_mean_error_improved_configs": 36}}, "domain": {"Econ/Fin": {"configs": 6, "mase_geometric_ratio": 1.0051246059551961, "mase_improved_configs": 1, "absolute_window_mean_error_geometric_ratio": 1.0062413965507424, "absolute_window_mean_error_improved_configs": 1}, "Energy": {"configs": 32, "mase_geometric_ratio": 0.9998570027344789, "mase_improved_configs": 20, "absolute_window_mean_error_geometric_ratio": 1.0036706362045547, "absolute_window_mean_error_improved_configs": 19}, "Healthcare": {"configs": 5, "mase_geometric_ratio": 1.0008718860622272, "mase_improved_configs": 4, "absolute_window_mean_error_geometric_ratio": 0.9819692782426055, "absolute_window_mean_error_improved_configs": 4}, "Nature": {"configs": 15, "mase_geometric_ratio": 1.013943636647072, "mase_improved_configs": 4, "absolute_window_mean_error_geometric_ratio": 0.9617959636636032, "absolute_window_mean_error_improved_configs": 8}, "Sales": {"configs": 4, "mase_geometric_ratio": 1.004117635913874, "mase_improved_configs": 0, "absolute_window_mean_error_geometric_ratio": 0.9440660739504652, "absolute_window_mean_error_improved_configs": 4}, "Transport": {"configs": 15, "mase_geometric_ratio": 1.0061351647977972, "mase_improved_configs": 8, "absolute_window_mean_error_geometric_ratio": 0.9692370131528498, "absolute_window_mean_error_improved_configs": 11}, "Web/CloudOps": {"configs": 20, "mase_geometric_ratio": 1.003918200719031, "mase_improved_configs": 7, "absolute_window_mean_error_geometric_ratio": 0.9441265333507811, "absolute_window_mean_error_improved_configs": 16}}, "frequency": {"10S": {"configs": 6, "mase_geometric_ratio": 1.0011756508978236, "mase_improved_configs": 4, "absolute_window_mean_error_geometric_ratio": 1.0064235188223905, "absolute_window_mean_error_improved_configs": 5}, "10T": {"configs": 6, "mase_geometric_ratio": 1.0029766695370417, "mase_improved_configs": 3, "absolute_window_mean_error_geometric_ratio": 1.029373254064768, "absolute_window_mean_error_improved_configs": 1}, "15T": {"configs": 12, "mase_geometric_ratio": 1.0133286766790397, "mase_improved_configs": 5, "absolute_window_mean_error_geometric_ratio": 1.0207694944073864, "absolute_window_mean_error_improved_configs": 7}, "5T": {"configs": 12, "mase_geometric_ratio": 1.0054169725836233, "mase_improved_configs": 3, "absolute_window_mean_error_geometric_ratio": 0.9391119745726385, "absolute_window_mean_error_improved_configs": 9}, "A-DEC": {"configs": 1, "mase_geometric_ratio": 1.0000596783495055, "mase_improved_configs": 0, "absolute_window_mean_error_geometric_ratio": 0.9993010581580115, "absolute_window_mean_error_improved_configs": 1}, "D": {"configs": 15, "mase_geometric_ratio": 1.003558631588935, "mase_improved_configs": 7, "absolute_window_mean_error_geometric_ratio": 0.9376417202629098, "absolute_window_mean_error_improved_configs": 12}, "H": {"configs": 31, "mase_geometric_ratio": 1.0019781141163135, "mase_improved_configs": 15, "absolute_window_mean_error_geometric_ratio": 0.9653332958321935, "absolute_window_mean_error_improved_configs": 21}, "M": {"configs": 5, "mase_geometric_ratio": 1.0194182116896762, "mase_improved_configs": 1, "absolute_window_mean_error_geometric_ratio": 1.1049206997924, "absolute_window_mean_error_improved_configs": 2}, "Q-DEC": {"configs": 1, "mase_geometric_ratio": 1.002421549882375, "mase_improved_configs": 0, "absolute_window_mean_error_geometric_ratio": 1.0026582557146262, "absolute_window_mean_error_improved_configs": 0}, "W-FRI": {"configs": 2, "mase_geometric_ratio": 0.9959282144755969, "mase_improved_configs": 2, "absolute_window_mean_error_geometric_ratio": 0.9893432874953628, "absolute_window_mean_error_improved_configs": 1}, "W-SUN": {"configs": 1, "mase_geometric_ratio": 1.015787308463135, "mase_improved_configs": 0, "absolute_window_mean_error_geometric_ratio": 1.0182766648377515, "absolute_window_mean_error_improved_configs": 0}, "W-THU": {"configs": 3, "mase_geometric_ratio": 0.9842032124166769, "mase_improved_configs": 3, "absolute_window_mean_error_geometric_ratio": 0.8804405298722364, "absolute_window_mean_error_improved_configs": 2}, "W-TUE": {"configs": 1, "mase_geometric_ratio": 0.9971559331313581, "mase_improved_configs": 1, "absolute_window_mean_error_geometric_ratio": 0.893566115743846, "absolute_window_mean_error_improved_configs": 1}, "W-WED": {"configs": 1, "mase_geometric_ratio": 1.005900981822917, "mase_improved_configs": 0, "absolute_window_mean_error_geometric_ratio": 0.9822578581499121, "absolute_window_mean_error_improved_configs": 1}}}}, {"cutoff": "valid_backcast2", "review": "/workspace/research/window_mean_loss6k_valid_backcast2_error_structure_review.json", "overall": {"configs": 94, "mase_geometric_ratio": 1.0043987593023191, "mase_improved_configs": 29, "absolute_window_mean_error_geometric_ratio": 0.9723954959444038, "absolute_window_mean_error_improved_configs": 49}, "groups": {"term": {"long": {"configs": 19, "mase_geometric_ratio": 1.0011099651953141, "mase_improved_configs": 5, "absolute_window_mean_error_geometric_ratio": 0.972042550785514, "absolute_window_mean_error_improved_configs": 11}, "medium": {"configs": 21, "mase_geometric_ratio": 1.0033797965083875, "mase_improved_configs": 6, "absolute_window_mean_error_geometric_ratio": 0.9768083507396936, "absolute_window_mean_error_improved_configs": 11}, "short": {"configs": 54, "mase_geometric_ratio": 1.0059554958676067, "mase_improved_configs": 18, "absolute_window_mean_error_geometric_ratio": 0.9708087709138538, "absolute_window_mean_error_improved_configs": 27}}, "domain": {"Econ/Fin": {"configs": 6, "mase_geometric_ratio": 1.0024495741816832, "mase_improved_configs": 1, "absolute_window_mean_error_geometric_ratio": 1.0033059861932687, "absolute_window_mean_error_improved_configs": 1}, "Energy": {"configs": 32, "mase_geometric_ratio": 1.0022858996862234, "mase_improved_configs": 11, "absolute_window_mean_error_geometric_ratio": 1.0034063866544665, "absolute_window_mean_error_improved_configs": 13}, "Healthcare": {"configs": 5, "mase_geometric_ratio": 0.9993030454747058, "mase_improved_configs": 3, "absolute_window_mean_error_geometric_ratio": 0.9796864623981508, "absolute_window_mean_error_improved_configs": 3}, "Nature": {"configs": 15, "mase_geometric_ratio": 1.0173725469681334, "mase_improved_configs": 4, "absolute_window_mean_error_geometric_ratio": 0.9310661929732673, "absolute_window_mean_error_improved_configs": 7}, "Sales": {"configs": 3, "mase_geometric_ratio": 1.0124238744246026, "mase_improved_configs": 0, "absolute_window_mean_error_geometric_ratio": 0.9298973488797438, "absolute_window_mean_error_improved_configs": 3}, "Transport": {"configs": 14, "mase_geometric_ratio": 0.9998039841492974, "mase_improved_configs": 6, "absolute_window_mean_error_geometric_ratio": 0.9602949382429219, "absolute_window_mean_error_improved_configs": 9}, "Web/CloudOps": {"configs": 19, "mase_geometric_ratio": 1.0018791202836836, "mase_improved_configs": 4, "absolute_window_mean_error_geometric_ratio": 0.958733757577927, "absolute_window_mean_error_improved_configs": 13}}, "frequency": {"10S": {"configs": 6, "mase_geometric_ratio": 1.000328097460157, "mase_improved_configs": 1, "absolute_window_mean_error_geometric_ratio": 1.003946131540291, "absolute_window_mean_error_improved_configs": 3}, "10T": {"configs": 6, "mase_geometric_ratio": 0.9907699246597061, "mase_improved_configs": 3, "absolute_window_mean_error_geometric_ratio": 0.9674733076826139, "absolute_window_mean_error_improved_configs": 3}, "15T": {"configs": 11, "mase_geometric_ratio": 1.01019644201971, "mase_improved_configs": 1, "absolute_window_mean_error_geometric_ratio": 1.0220523233306102, "absolute_window_mean_error_improved_configs": 3}, "5T": {"configs": 12, "mase_geometric_ratio": 1.0021296593727331, "mase_improved_configs": 4, "absolute_window_mean_error_geometric_ratio": 0.9380265299130077, "absolute_window_mean_error_improved_configs": 9}, "A-DEC": {"configs": 1, "mase_geometric_ratio": 1.0011260521927965, "mase_improved_configs": 0, "absolute_window_mean_error_geometric_ratio": 1.0011640333325462, "absolute_window_mean_error_improved_configs": 0}, "D": {"configs": 15, "mase_geometric_ratio": 1.002738066712204, "mase_improved_configs": 6, "absolute_window_mean_error_geometric_ratio": 0.9723608422512613, "absolute_window_mean_error_improved_configs": 8}, "H": {"configs": 30, "mase_geometric_ratio": 1.0024814719411168, "mase_improved_configs": 10, "absolute_window_mean_error_geometric_ratio": 0.9841958129845504, "absolute_window_mean_error_improved_configs": 17}, "M": {"configs": 4, "mase_geometric_ratio": 1.000971042276094, "mase_improved_configs": 2, "absolute_window_mean_error_geometric_ratio": 0.9961384961941812, "absolute_window_mean_error_improved_configs": 2}, "Q-DEC": {"configs": 1, "mase_geometric_ratio": 0.9987128122376442, "mase_improved_configs": 1, "absolute_window_mean_error_geometric_ratio": 0.9981208146677315, "absolute_window_mean_error_improved_configs": 1}, "W-FRI": {"configs": 2, "mase_geometric_ratio": 0.9982264022961395, "mase_improved_configs": 1, "absolute_window_mean_error_geometric_ratio": 0.9974795371231187, "absolute_window_mean_error_improved_configs": 1}, "W-SUN": {"configs": 1, "mase_geometric_ratio": 1.005283712556934, "mase_improved_configs": 0, "absolute_window_mean_error_geometric_ratio": 1.0062010599503508, "absolute_window_mean_error_improved_configs": 0}, "W-THU": {"configs": 3, "mase_geometric_ratio": 1.066077128754204, "mase_improved_configs": 0, "absolute_window_mean_error_geometric_ratio": 0.7166562920101829, "absolute_window_mean_error_improved_configs": 1}, "W-TUE": {"configs": 1, "mase_geometric_ratio": 1.0135457730876578, "mase_improved_configs": 0, "absolute_window_mean_error_geometric_ratio": 1.0176084112509138, "absolute_window_mean_error_improved_configs": 0}, "W-WED": {"configs": 1, "mase_geometric_ratio": 1.0029107291175217, "mase_improved_configs": 0, "absolute_window_mean_error_geometric_ratio": 0.9672153108735655, "absolute_window_mean_error_improved_configs": 1}}}}, {"cutoff": "valid_backcast3", "review": "/workspace/research/window_mean_loss6k_valid_backcast3_error_structure_review.json", "overall": {"configs": 93, "mase_geometric_ratio": 0.9995656549871837, "mase_improved_configs": 42, "absolute_window_mean_error_geometric_ratio": 0.9670202366625194, "absolute_window_mean_error_improved_configs": 58}, "groups": {"term": {"long": {"configs": 19, "mase_geometric_ratio": 1.000165411345798, "mase_improved_configs": 8, "absolute_window_mean_error_geometric_ratio": 0.9682420749778072, "absolute_window_mean_error_improved_configs": 11}, "medium": {"configs": 20, "mase_geometric_ratio": 1.0067717330617079, "mase_improved_configs": 4, "absolute_window_mean_error_geometric_ratio": 0.9799776840991586, "absolute_window_mean_error_improved_configs": 12}, "short": {"configs": 54, "mase_geometric_ratio": 0.9966994666606654, "mase_improved_configs": 30, "absolute_window_mean_error_geometric_ratio": 0.9618373541368969, "absolute_window_mean_error_improved_configs": 35}}, "domain": {"Econ/Fin": {"configs": 6, "mase_geometric_ratio": 1.0033616536573902, "mase_improved_configs": 1, "absolute_window_mean_error_geometric_ratio": 1.0042875285378592, "absolute_window_mean_error_improved_configs": 1}, "Energy": {"configs": 32, "mase_geometric_ratio": 1.0021420003680022, "mase_improved_configs": 15, "absolute_window_mean_error_geometric_ratio": 0.9990970306766775, "absolute_window_mean_error_improved_configs": 14}, "Healthcare": {"configs": 5, "mase_geometric_ratio": 0.9930057164037828, "mase_improved_configs": 5, "absolute_window_mean_error_geometric_ratio": 0.9627265196991213, "absolute_window_mean_error_improved_configs": 4}, "Nature": {"configs": 15, "mase_geometric_ratio": 0.9947701300303008, "mase_improved_configs": 6, "absolute_window_mean_error_geometric_ratio": 0.9260227896830242, "absolute_window_mean_error_improved_configs": 11}, "Sales": {"configs": 3, "mase_geometric_ratio": 1.001126268033165, "mase_improved_configs": 2, "absolute_window_mean_error_geometric_ratio": 0.9154750023797618, "absolute_window_mean_error_improved_configs": 3}, "Transport": {"configs": 14, "mase_geometric_ratio": 1.0000839012003466, "mase_improved_configs": 7, "absolute_window_mean_error_geometric_ratio": 0.9558154813975822, "absolute_window_mean_error_improved_configs": 10}, "Web/CloudOps": {"configs": 18, "mase_geometric_ratio": 0.9988998868169803, "mase_improved_configs": 6, "absolute_window_mean_error_geometric_ratio": 0.9525399273755369, "absolute_window_mean_error_improved_configs": 15}}, "frequency": {"10S": {"configs": 6, "mase_geometric_ratio": 0.9967435373355017, "mase_improved_configs": 2, "absolute_window_mean_error_geometric_ratio": 0.956490770243786, "absolute_window_mean_error_improved_configs": 4}, "10T": {"configs": 6, "mase_geometric_ratio": 0.9985246980438578, "mase_improved_configs": 3, "absolute_window_mean_error_geometric_ratio": 0.992397101179706, "absolute_window_mean_error_improved_configs": 4}, "15T": {"configs": 11, "mase_geometric_ratio": 1.0050313803717332, "mase_improved_configs": 5, "absolute_window_mean_error_geometric_ratio": 0.9699639797789715, "absolute_window_mean_error_improved_configs": 7}, "5T": {"configs": 12, "mase_geometric_ratio": 1.0017879388154938, "mase_improved_configs": 5, "absolute_window_mean_error_geometric_ratio": 0.9520828184626031, "absolute_window_mean_error_improved_configs": 10}, "A-DEC": {"configs": 1, "mase_geometric_ratio": 0.9972803324757202, "mase_improved_configs": 1, "absolute_window_mean_error_geometric_ratio": 0.9975525732321314, "absolute_window_mean_error_improved_configs": 1}, "D": {"configs": 15, "mase_geometric_ratio": 1.0044548719521416, "mase_improved_configs": 8, "absolute_window_mean_error_geometric_ratio": 1.0413773044639707, "absolute_window_mean_error_improved_configs": 10}, "H": {"configs": 29, "mase_geometric_ratio": 1.0032580499879618, "mase_improved_configs": 10, "absolute_window_mean_error_geometric_ratio": 0.9928442633496669, "absolute_window_mean_error_improved_configs": 15}, "M": {"configs": 4, "mase_geometric_ratio": 0.9870639888480891, "mase_improved_configs": 3, "absolute_window_mean_error_geometric_ratio": 0.9384524183518118, "absolute_window_mean_error_improved_configs": 3}, "Q-DEC": {"configs": 1, "mase_geometric_ratio": 1.0006781398110602, "mase_improved_configs": 0, "absolute_window_mean_error_geometric_ratio": 1.000709815387907, "absolute_window_mean_error_improved_configs": 0}, "W-FRI": {"configs": 2, "mase_geometric_ratio": 0.9999057230246275, "mase_improved_configs": 1, "absolute_window_mean_error_geometric_ratio": 1.0001474280305178, "absolute_window_mean_error_improved_configs": 1}, "W-SUN": {"configs": 1, "mase_geometric_ratio": 1.0113706120978, "mase_improved_configs": 0, "absolute_window_mean_error_geometric_ratio": 1.0121432175274707, "absolute_window_mean_error_improved_configs": 0}, "W-THU": {"configs": 3, "mase_geometric_ratio": 0.9302309803165887, "mase_improved_configs": 3, "absolute_window_mean_error_geometric_ratio": 0.5074469053375185, "absolute_window_mean_error_improved_configs": 2}, "W-TUE": {"configs": 1, "mase_geometric_ratio": 0.9988693301064493, "mase_improved_configs": 1, "absolute_window_mean_error_geometric_ratio": 1.013429390781284, "absolute_window_mean_error_improved_configs": 0}, "W-WED": {"configs": 1, "mase_geometric_ratio": 1.0115528968267165, "mase_improved_configs": 0, "absolute_window_mean_error_geometric_ratio": 0.984007816937809, "absolute_window_mean_error_improved_configs": 1}}}}], "commands": [{"command": ["python3", "/workspace/research/recovery/median_error_structure.py", "--valid", "/workspace/research/valid_screen", "--pred", "/workspace/research/evals/window_mean_loss_ema6000", "--report", "/workspace/research/evals/window_mean_loss_ema6000/report.json", "--out", "/workspace/research/window_mean_loss6k_median_error_structure.json"], "seconds": 1.032160704024136}, {"command": ["python3", "/workspace/research/recovery/median_error_structure.py", "--valid", "/workspace/research/valid_screen", "--pred", "/workspace/research/evals/overflow_control_ema6000", "--report", "/workspace/research/evals/overflow_control_ema6000/report.json", "--out", "/workspace/research/overflow_control6k_median_error_structure.json"], "seconds": 0.7307002181187272}, {"command": ["python3", "/workspace/research/window_mean_objective/review_errors.py", "--step", "6000", "--cutoff", "valid_screen"], "seconds": 0.21440819394774735}, {"command": ["python3", "/workspace/research/recovery/median_error_structure.py", "--valid", "/workspace/research/valid_backcast", "--pred", "/workspace/research/backcast_evals/window_mean_loss_ema6000", "--report", "/workspace/research/backcast_evals/window_mean_loss_ema6000/report.json", "--out", "/workspace/research/window_mean_loss6k_valid_backcast_median_error_structure.json"], "seconds": 0.9342603459954262}, {"command": ["python3", "/workspace/research/recovery/median_error_structure.py", "--valid", "/workspace/research/valid_backcast", "--pred", "/workspace/research/backcast_evals/overflow_control_ema6000", "--report", "/workspace/research/backcast_evals/overflow_control_ema6000/report.json", "--out", "/workspace/research/overflow_control6k_valid_backcast_median_error_structure.json"], "seconds": 0.7438855040818453}, {"command": ["python3", "/workspace/research/window_mean_objective/review_errors.py", "--step", "6000", "--cutoff", "valid_backcast"], "seconds": 0.18178451200947165}, {"command": ["python3", "/workspace/research/recovery/median_error_structure.py", "--valid", "/workspace/research/valid_backcast2", "--pred", "/workspace/research/backcast2_evals/window_mean_loss_ema6000", "--report", "/workspace/research/backcast2_evals/window_mean_loss_ema6000/report.json", "--out", "/workspace/research/window_mean_loss6k_valid_backcast2_median_error_structure.json"], "seconds": 0.8567316080443561}, {"command": ["python3", "/workspace/research/recovery/median_error_structure.py", "--valid", "/workspace/research/valid_backcast2", "--pred", "/workspace/research/backcast2_evals/overflow_control_ema6000", "--report", "/workspace/research/backcast2_evals/overflow_control_ema6000/report.json", "--out", "/workspace/research/overflow_control6k_valid_backcast2_median_error_structure.json"], "seconds": 0.8507320159114897}, {"command": ["python3", "/workspace/research/window_mean_objective/review_errors.py", "--step", "6000", "--cutoff", "valid_backcast2"], "seconds": 0.1692696581594646}, {"command": ["python3", "/workspace/research/recovery/median_error_structure.py", "--valid", "/workspace/research/valid_backcast3", "--pred", "/workspace/research/backcast3_evals/window_mean_loss_ema6000", "--report", "/workspace/research/backcast3_evals/window_mean_loss_ema6000/report.json", "--out", "/workspace/research/window_mean_loss6k_valid_backcast3_median_error_structure.json"], "seconds": 0.7659990270622075}, {"command": ["python3", "/workspace/research/recovery/median_error_structure.py", "--valid", "/workspace/research/valid_backcast3", "--pred", "/workspace/research/backcast3_evals/overflow_control_ema6000", "--report", "/workspace/research/backcast3_evals/overflow_control_ema6000/report.json", "--out", "/workspace/research/overflow_control6k_valid_backcast3_median_error_structure.json"], "seconds": 0.9793433260638267}, {"command": ["python3", "/workspace/research/window_mean_objective/review_errors.py", "--step", "6000", "--cutoff", "valid_backcast3"], "seconds": 0.18022251408547163}], "seconds": 7.680050767958164, "optimizer_updates": 0, "new_neural_inference": false, "candidate_checkpoint_sha256": "97138fcf4cceba9ec1126b937c7697499e4bd160d4f78abce4346a62f41f24c7", "control_checkpoint_sha256": "b19875c52ed5024383fb69ccc48cb07a5629ad8011abf134c7dcfcdc50fae2af", "window_mean_error_improved_cutoffs": 4, "mase_improved_cutoffs": 2, "geometric_mean_window_mean_error_ratio": 0.969992264286236, "geometric_mean_mase_ratio": 1.0014317695642492, "interpretation": "Descriptive error-structure checks of original scheduled checkpoints. No changed selection thresholds, coefficient, data, training or forecasts; window-mean error is a Jensen bound, not an available correction. Each cutoff has its own eligible configuration set; aggregate ratios weight cutoffs equally and are not the benchmark score."} + +2026-10-24T04:33:09.357412+00:00: E178/E181 primary reviews {"utc": "2026-10-24T04:33:09.357412+00:00", "experiments": ["E178", "E181primary"], "E178": {"gate_checkpoint_sha256": "2e5fe5b5bb3330477d4506b282d3d2e952653dd9f374140d3dc5e183052e5d41", "source_gates": {"delta_matched": {"positive": 4, "mean_delta": 7.21811396223182e-05}, "delta_fixed_quartet": {"positive": 3, "mean_delta": 0.0005375319211309293}}, "composition_gates": {"delta_frozen": {"positive": 2, "mean_delta": 1.1883573897225608e-05}, "delta_current": {"positive": 2, "mean_delta": 1.1883573897225608e-05}}, "mean_group_deltas": {"term": {"short": -2.0775415332130454e-05, "medium": 3.7320049022571133e-05, "long": 5.9744612942613795e-05}, "domain": {"Econ/Fin": 2.382953768528817e-05, "Energy": -1.1038066190544038e-05, "Healthcare": -2.5631862422298424e-05, "Nature": 4.6892013246507824e-05, "Sales": 4.038794709451676e-05, "Transport": 4.3237931428991017e-05, "Web/CloudOps": 9.832101527884607e-06}, "freq": {"A-DEC": 0.000353222736208747, "Q-DEC": -3.0007682951138648e-05, "M": -0.00025950033228128166, "W-SUN": 0.0001760746942856828, "D": -5.519118526337019e-06, "H": -4.289339874397058e-06, "15T": 2.8986434756905766e-05, "W-FRI": 0.00023381449021636636, "10T": 0.0002050537358826987, "W-TUE": 0.0002617537770723821, "W-THU": -8.507048428640918e-05, "W-WED": 0.00011074182981976599, "5T": -6.045057651946073e-05, "10S": 0.00018898576701559255}}, "cached_probe_seconds": 15.155417335452512, "outcome": "Rejected: only2of4 positive composite cutoffs. No full replay/package/publication. Original E152final12k remains a durability endpoint, not an E178 substitute."}, "E181": {"step": 6000, "checkpoint_sha256": "97138fcf4cceba9ec1126b937c7697499e4bd160d4f78abce4346a62f41f24c7", "positive_cutoffs": 2, "mean_delta": -0.0008813446749166842, "four_cutoff_eval_seconds": 100.24694108963013, "rows": [{"cutoff": "evals", "candidate_skill": 0.37924823596834956, "delta": 0.0009594714434930651, "group_skill_delta": {"term": {"long": 0.0015775686654326826, "medium": -3.1142081254209586e-05, "short": 0.0011141326508452565}, "domain": {"Econ/Fin": -0.0022231243526080746, "Energy": 0.0007110657463824666, "Healthcare": 0.0038260690737917935, "Nature": 0.0012298098101528598, "Sales": -0.0020875145992411692, "Transport": -0.003824810631817943, "Web/CloudOps": 0.004620591725378764}, "frequency": {"A": -0.0017527896731026615, "D": 0.0020708643439125707, "H": 0.0004863678777511371, "M": -0.00039145467680423707, "Q": -9.155193673870965e-05, "S": 0.0002722008060433989, "T": 0.00048174971016545776, "W": 0.005116601624658879}, "variates": {"multivariate": 0.0025546010702777178, "univariate": -0.00038455656142399874}}}, {"cutoff": "backcast_evals", "candidate_skill": 0.33293462626835635, "delta": -0.0022218386005629087, "group_skill_delta": {"term": {"long": -0.0032947531435185695, "medium": -0.0014736821390328725, "short": -0.0020477370623606106}, "domain": {"Econ/Fin": -0.0033881713585823814, "Energy": -0.0003545394099686572, "Healthcare": 0.0012174001039044757, "Nature": -0.006530900942674389, "Sales": -0.0015517739254216067, "Transport": -0.0028988755562705526, "Web/CloudOps": -0.0017353672933164699}, "frequency": {"A": 0.00020990170453394352, "D": -0.001117895350242759, "H": -0.0006586832910133733, "M": -0.012478145277285746, "Q": -0.000640245324666, "S": -8.171646931676158e-06, "T": -0.0048327637101697185, "W": 0.0023694385541080942}, "variates": {"multivariate": -0.0008556110811324125, "univariate": -0.0033616147997628243}}}, {"cutoff": "backcast2_evals", "candidate_skill": 0.3573319100310194, "delta": -0.002373888705775151, "group_skill_delta": {"term": {"long": -0.0011493673314323383, "medium": -0.002226000035596809, "short": -0.002877339294485637}, "domain": {"Econ/Fin": -0.0023005678158171117, "Energy": -0.0013190677975704057, "Healthcare": 7.631872005864349e-05, "Nature": -0.0065562224012372106, "Sales": -0.004466439811516731, "Transport": 0.00039080122595003264, "Web/CloudOps": -0.0021787092554090837}, "frequency": {"A": -0.000713103175230656, "D": -0.00195422422310787, "H": -0.0005877181597466752, "M": 0.000401190070228874, "Q": 0.0021209148634404595, "S": -0.0004122490224113262, "T": -0.003120403488607204, "W": -0.011728299567226652}, "variates": {"multivariate": -0.0021684955445596676, "univariate": -0.002541714780873061}}}, {"cutoff": "backcast3_evals", "candidate_skill": 0.3897785584919441, "delta": 0.00011087716317825791, "group_skill_delta": {"term": {"long": -3.128905581295527e-07, "medium": -0.0038952135209869843, "short": 0.0015430870794164164}, "domain": {"Econ/Fin": -0.001884420816462784, "Energy": -0.000813913811371636, "Healthcare": 0.005136980232529176, "Nature": 0.0005744145948876622, "Sales": -0.00104258564627846, "Transport": 0.0005425841735251513, "Web/CloudOps": 0.000170944566625586}, "frequency": {"A": 0.005544559332318455, "D": -0.0014097218508537512, "H": -0.0011833797394126266, "M": 0.009062288019482612, "Q": -0.000843769391199567, "S": 0.00044103651891669315, "T": -0.0007228555329875652, "W": 0.008745802526980095}, "variates": {"multivariate": -0.0004860480440207482, "univariate": 0.000558555653918491}}}], "error_structure": {"window_mean_error_improved_cutoffs": 4, "mase_improved_cutoffs": 2, "geometric_mean_window_mean_error_ratio": 0.969992264286236, "geometric_mean_mase_ratio": 1.0014317695642492, "seconds": 7.680050767958164}, "outcome": "Primary source gate failed. Auxiliary loss improves its intended level-error diagnostic across all4cutoffs but marginal MASE improves only2 and overall skill mean is negative. No larger-model transfer; originalfinal12k remains unchanged."}, "publication_changed": false, "new_training": false, "new_neural_inference": false} + +2026-10-24T04:33:24.564109+00:00: E184 fixed F5 learning-rate substitution declaration {"experiment": "E184", "declared_utc": "2026-10-24T04:33:24.564109+00:00", "status": "declared before original E15748/96 checkpoints", "hypothesis": "The lower-learning-rate seasonal model has positive scheduled4/8/16k main diagnostics versus its same-rate plain control and the higher-rate seasonal control. Test its original48/96 endpoints as a replacement for the existing seasonal member, with no increase in model count or runtime architecture.", "frozen_parent_descriptor": "a75fdfcbb4d8e38dd6e7cded3c097ff0a129976fa63277bfd277a6031ccc6140", "parent_probe_prefix": "gate_six_blend", "member_checkpoint_hashes": ["0b11b7351a4a92d1d18c71a4159ec445be3a94ace8c7a9fa0edafad87d14e960", "308389b7217c080af9eb185559d4ee3cafa0f3e0f8c4dd8f5526b68198c89988", "1a2fb20a9fb5cae6526f2e36ea47559626bece78fd9c284899836505030ae9fe", "d7cfcd72c3cb84aa69e447b76c4c3ab98c21b7c600a463f0b805f4b4300baf33", "2877a38b94a7d77a53a9df410349cecc2f6ab134c83a76744924543bbe73eb17", "4b309f0721378f97db815dd511b8b54711348270c48e9eae0103dba506f66708"], "replacement_member_index": 5, "replacement_run": "random_capacity_long_seasonal_halflr", "replacement_steps": [48000, 96000], "previous_member_step": 48000, "source_controls": ["random_capacity_1024_halflr", "random_capacity_long_seasonal"], "gate_run": "ensemble_gate_refresh", "gate_step": 6000, "gate_checkpoint_sha256": "a7d0ee6866ea787f29eac043531aad3613674f159fd00b3491fd87fab8388fd1", "parameters": 549432812, "blend_coefficient": 0.5, "horizon_threshold": 720, "composition": "Exactly E172 ordered FP32 arithmetic, replacing only F5 with the specified E157half-rate seasonal endpoint. Allsix experts and unchanged primary6k gate execute everyinstance. F5 is not an input to the gate. Other five members, gate inputs/features/bounds, H720 rule and all coefficients remain fixed.", "source_training": "Already-running E157feature/no-distillation arm: own initialf7e35...,146575680parameters,seed307/B48/LR1e-4/original96000,oldpack/slowAR. No additional training or recipe change.", "source_gate": "At each original48000/96000 endpoint require>=3positive and positive mean across four cutoffs against BOTH E94plain half-rate and E131seasonal high-rate at the SAME endpoint. A failed source gate leaves that composition untested.", "selection": "After each source gate, one cached four-cutoff composition. Require>=3positive and positive mean against frozenE172 and then-current publication. Passing requires separate complete package, actual allsix forward accounting, component equality, relocation and full97public replay before any publication. No automatic publication.", "checkpoint_choices": "Only original primary48000/final96000, evaluated separately. No4/8/16/24/72 selection, interpolation, additional coefficient or threshold search. Final may still be reviewed if primary fails.", "new_training": false, "optimizer_updates": 0, "training_queued": false, "interpretation": "Adaptive validation hypothesis motivated by earlier diagnostics; not an independent test. Existing E157 factorial comparisons and endpoints are unchanged."} + +E155 fresh329M width scaling seed307 effectiveB48 micro16 training started at 2026-10-24T04:34:19Z, after the declared dependency processes exited; required checkpoint files are present. Settings are unchanged from the declared comparison. + +2026-10-24T04:34:44.736555+00:00: Original E101endpoint/replacement allocation {"utc": "2026-10-24T04:34:44.736555+00:00", "experiment": "E101", "run": "distill_ensemble", "completed_step": 96000, "training_process_seconds": 25919.89861048595, "recovery4_training_loop_seconds": 25890.730104126036, "scope": "Measured final recovery4 phase only, starting39750; earlier phases are recorded in original and recovery logs. Shared-H100 wall time, not exclusive GPU compute.", "completed_utc": "2026-10-24T04:34:19Z", "final_evaluation": "in progress; existing four-cutoff controllers retained", "replacement_run": "random_capacity_1536", "replacement_experiment": "E155", "replacement_training_pid": 26121, "replacement_started_utc": "2026-10-24T04:34:19Z", "replacement_recipe": "Original329M own untrained initial,seed307/effectiveB48/micro16/LR2e-4/original96k; no recipe changes"} + +2026-10-24T04:35:15.816206+00:00: Scheduled main-cutoff learning diagnostic {"utc": "2026-10-24T04:35:15.816206+00:00", "experiment": "E101", "run": "distill_ensemble", "step": 96000, "skill": 0.3807090395055793, "checkpoint_sha256": "7bad693c1ed4c20edb4b810875084ffc5d5604f84704b6c3c65f60f8bf534d93", "eval_seconds": 35.397719383239746, "comparisons": [{"control": "random_capacity_1024_halflr", "control_checkpoint_sha256": "3ecb2892396bc62c203e0d72ce266d2c6df978c24e68cf87cd6dc0ec34db5d30", "control_skill": 0.36862040181646727, "delta": 0.012088637689112058, "group_deltas": {"term": {"long": 0.018358176148952743, "medium": 0.018727647876641718, "short": 0.006838633582526565}, "domain": {"Econ/Fin": 0.008557132779957732, "Energy": 0.023007193426696326, "Healthcare": -0.05693839651179089, "Nature": 0.02021110286747052, "Sales": -0.007429940816981895, "Transport": 0.006215084305678298, "Web/CloudOps": 0.018574515120846624}, "frequency": {"A": -0.006586621252595681, "D": -0.005889665933876409, "H": 0.01679355107994218, "M": -0.048913061562990245, "Q": -0.0010929332968917516, "S": 0.009698919174909504, "T": 0.024823584058226156, "W": 0.0032021832030284525}, "variates": {"multivariate": 0.021886227671715885, "univariate": 0.00397750523476692}}}, {"control": "random_capacity_1024", "control_checkpoint_sha256": "d7cfcd72c3cb84aa69e447b76c4c3ab98c21b7c600a463f0b805f4b4300baf33", "control_skill": 0.37118082660619867, "delta": 0.009528212899380661, "group_deltas": {"term": {"long": 0.016763165509915634, "medium": 0.012732987918257832, "short": 0.00528597274178666}, "domain": {"Econ/Fin": 0.01911813043758026, "Energy": 0.014235827714954463, "Healthcare": -0.05953387357753592, "Nature": 0.022332020966989052, "Sales": 0.00700285107406573, "Transport": 0.007477965684229093, "Web/CloudOps": 0.01200827675337135}, "frequency": {"A": -0.006413365217298739, "D": 0.006338441199033817, "H": 0.01182197435190746, "M": -0.062033948352493984, "Q": 0.0001176654430364854, "S": 0.008634684492084932, "T": 0.021509640343483016, "W": -0.013519653007843635}, "variates": {"multivariate": 0.018372580459778964, "univariate": 0.002195815823654468}}}], "decision": "Original final96k improves main versus both plain fresh controls; await the already-declared four-cutoff E101/E135 comparisons and then-current publication review. No new composition or publication selected from this diagnostic.", "new_neural_inference": false, "new_training": false}. No additional training or inference. + +2026-10-24T04:35:38.572660+00:00: Persistent configuration-error review {"utc": "2026-10-24T04:35:38.572660+00:00", "checkpoint_sha256": "a75fdfcbb4d8e38dd6e7cded3c097ff0a129976fa63277bfd277a6031ccc6140", "persistent_failures": [{"config_id": "m4_daily__D__short", "domain": "Econ/Fin", "term": "short", "frequency": "D", "cutoffs": 4, "cutoffs_worse_than_seasonal_naive": 4, "geometric_error_across_cutoffs": 1.0815952570933123, "full_validation_error": 0.9818811192958307, "cutoff_errors": {"valid_screen": 1.000224395226992, "valid_backcast": 1.1293683633176497, "valid_backcast2": 1.081001709297005, "valid_backcast3": 1.1207265372816646}}], "seconds": 0.044941443018615246, "optimizer_updates": 0, "new_neural_inference": false, "fitted_coefficients": false, "interpretation": "Descriptive ranking of already cached validation metrics. Each cutoff uses its own eligible configurations; cross-cutoff means are not the benchmark score or independent test evidence. Main-screen and full-validation differences reflect sampling. No forecast routing or training data changes.", "conclusion": "M4daily is the only configuration worse than Seasonal Naive at at least3of4 sampled cutoffs. Large individual main-cutoff energy regressions do not persist across all earlier cutoffs. Existing integrated-level and capacity experiments address broader mechanisms; no new dataset-specific rule or generator selected."} + +E101/E135 96000 matched distillation four cutoffs: {"label": "E101/E135 96000 matched distillation four cutoffs", "utc": "2026-10-24T04:36:41.679850+00:00", "candidate": "distill_ensemble_ema96000", "control": "random_capacity_1024_halflr_ema96000", "rows": [{"cutoff": "evals", "candidate_skill": 0.3807090395055793, "control_skill": 0.36862040181646727, "delta": 0.012088637689112058, "candidate_checkpoint": "7bad693c1ed4c20edb4b810875084ffc5d5604f84704b6c3c65f60f8bf534d93", "control_checkpoint": "3ecb2892396bc62c203e0d72ce266d2c6df978c24e68cf87cd6dc0ec34db5d30", "candidate_eval_seconds": 35.397719383239746, "candidate_groups": {"term": {"long": {"n_configs": 21, "rel_mase_gmean": 0.7465700508194494, "rel_wql_gmean": 0.47916789120748965}, "medium": {"n_configs": 21, "rel_mase_gmean": 0.7111475808978398, "rel_wql_gmean": 0.4920492779052116}, "short": {"n_configs": 55, "rel_mase_gmean": 0.7536337429028929, "rel_wql_gmean": 0.5412232058763027}}, "domain": {"Econ/Fin": {"n_configs": 6, "rel_mase_gmean": 0.8674568618491229, "rel_wql_gmean": 0.8391713317859283}, "Energy": {"n_configs": 32, "rel_mase_gmean": 0.8986281176924086, "rel_wql_gmean": 0.640834039314576}, "Healthcare": {"n_configs": 5, "rel_mase_gmean": 0.5959532508494979, "rel_wql_gmean": 0.5263327683248494}, "Nature": {"n_configs": 15, "rel_mase_gmean": 0.8073722107105569, "rel_wql_gmean": 0.3908414188767206}, "Sales": {"n_configs": 4, "rel_mase_gmean": 0.8417772922091915, "rel_wql_gmean": 0.5169852301815924}, "Transport": {"n_configs": 15, "rel_mase_gmean": 0.646421719046036, "rel_wql_gmean": 0.4412044405810658}, "Web/CloudOps": {"n_configs": 20, "rel_mase_gmean": 0.5613523874206998, "rel_wql_gmean": 0.43598050490551865}}, "frequency": {"A": {"n_configs": 1, "rel_mase_gmean": 0.5951468980806988, "rel_wql_gmean": 0.6263148822884494}, "D": {"n_configs": 15, "rel_mase_gmean": 0.7725708323551466, "rel_wql_gmean": 0.5311278784777757}, "H": {"n_configs": 31, "rel_mase_gmean": 0.7324028999334437, "rel_wql_gmean": 0.4918591365212718}, "M": {"n_configs": 5, "rel_mase_gmean": 1.007663736169353, "rel_wql_gmean": 0.866397060428681}, "Q": {"n_configs": 1, "rel_mase_gmean": 0.7621220455673974, "rel_wql_gmean": 0.8184862327927902}, "S": {"n_configs": 6, "rel_mase_gmean": 0.6571295967429002, "rel_wql_gmean": 0.5039740928736564}, "T": {"n_configs": 30, "rel_mase_gmean": 0.6891706828907559, "rel_wql_gmean": 0.4516875185462819}, "W": {"n_configs": 8, "rel_mase_gmean": 0.8948988445798393, "rel_wql_gmean": 0.663570114057213}}, "variates": {"multivariate": {"n_configs": 43, "rel_mase_gmean": 0.7104999391958141, "rel_wql_gmean": 0.5087368252572432}, "univariate": {"n_configs": 54, "rel_mase_gmean": 0.7693994418717092, "rel_wql_gmean": 0.5225503212153374}}}, "control_groups": {"term": {"long": {"n_configs": 21, "rel_mase_gmean": 0.7648094790526017, "rel_wql_gmean": 0.49689465147059436}, "medium": {"n_configs": 21, "rel_mase_gmean": 0.7348917787492376, "rel_wql_gmean": 0.5067775929425536}, "short": {"n_configs": 55, "rel_mase_gmean": 0.7533059499985115, "rel_wql_gmean": 0.5531164777189826}}, "domain": {"Econ/Fin": {"n_configs": 6, "rel_mase_gmean": 0.880014713578262, "rel_wql_gmean": 0.843872245778758}, "Energy": {"n_configs": 32, "rel_mase_gmean": 0.9204809626077288, "rel_wql_gmean": 0.6641303953583553}, "Healthcare": {"n_configs": 5, "rel_mase_gmean": 0.52503046533512, "rel_wql_gmean": 0.4821312839048276}, "Nature": {"n_configs": 15, "rel_mase_gmean": 0.8165984784556561, "rel_wql_gmean": 0.41473241014415346}, "Sales": {"n_configs": 4, "rel_mase_gmean": 0.8246260212899463, "rel_wql_gmean": 0.5159172221451043}, "Transport": {"n_configs": 15, "rel_mase_gmean": 0.6492163653816321, "rel_wql_gmean": 0.44958976080916613}, "Web/CloudOps": {"n_configs": 20, "rel_mase_gmean": 0.5842114946599155, "rel_wql_gmean": 0.4509697872201149}}, "frequency": {"A": {"n_configs": 1, "rel_mase_gmean": 0.5949527206935895, "rel_wql_gmean": 0.6130740205444667}, "D": {"n_configs": 15, "rel_mase_gmean": 0.7647362524365209, "rel_wql_gmean": 0.5267477131036611}, "H": {"n_configs": 31, "rel_mase_gmean": 0.7414382994263717, "rel_wql_gmean": 0.513434540457253}, "M": {"n_configs": 5, "rel_mase_gmean": 0.9184972881604635, "rel_wql_gmean": 0.8535943940963844}, "Q": {"n_configs": 1, "rel_mase_gmean": 0.7580535811346646, "rel_wql_gmean": 0.8206032017849488}, "S": {"n_configs": 6, "rel_mase_gmean": 0.6675032538290133, "rel_wql_gmean": 0.5130063586850814}, "T": {"n_configs": 30, "rel_mase_gmean": 0.7183582607149819, "rel_wql_gmean": 0.47275272382941924}, "W": {"n_configs": 8, "rel_mase_gmean": 0.9034443083007764, "rel_wql_gmean": 0.6627675854006778}}, "variates": {"multivariate": {"n_configs": 43, "rel_mase_gmean": 0.7324238159424012, "rel_wql_gmean": 0.5300934597112348}, "univariate": {"n_configs": 54, "rel_mase_gmean": 0.7674907751263362, "rel_wql_gmean": 0.5304426125961257}}}, "group_skill_delta": {"term": {"long": 0.018358176148952743, "medium": 0.018727647876641718, "short": 0.006838633582526565}, "domain": {"Econ/Fin": 0.008557132779957732, "Energy": 0.023007193426696326, "Healthcare": -0.05693839651179089, "Nature": 0.02021110286747052, "Sales": -0.007429940816981895, "Transport": 0.006215084305678298, "Web/CloudOps": 0.018574515120846624}, "frequency": {"A": -0.006586621252595681, "D": -0.005889665933876409, "H": 0.01679355107994218, "M": -0.048913061562990245, "Q": -0.0010929332968917516, "S": 0.009698919174909504, "T": 0.024823584058226156, "W": 0.0032021832030284525}, "variates": {"multivariate": 0.021886227671715885, "univariate": 0.00397750523476692}}}, {"cutoff": "backcast_evals", "candidate_skill": 0.3453880556624722, "control_skill": 0.33266251560890414, "delta": 0.012725540053568074, "candidate_checkpoint": "7bad693c1ed4c20edb4b810875084ffc5d5604f84704b6c3c65f60f8bf534d93", "control_checkpoint": "3ecb2892396bc62c203e0d72ce266d2c6df978c24e68cf87cd6dc0ec34db5d30", "candidate_eval_seconds": 35.44303631782532, "candidate_groups": {"term": {"long": {"n_configs": 21, "rel_mase_gmean": 0.7571815796961732, "rel_wql_gmean": 0.4584426379460384}, "medium": {"n_configs": 21, "rel_mase_gmean": 0.7729857774788546, "rel_wql_gmean": 0.5313786915918144}, "short": {"n_configs": 55, "rel_mase_gmean": 0.8051321767285936, "rel_wql_gmean": 0.5862096289814178}}, "domain": {"Econ/Fin": {"n_configs": 6, "rel_mase_gmean": 0.8593726625296528, "rel_wql_gmean": 0.7896474818116566}, "Energy": {"n_configs": 32, "rel_mase_gmean": 0.8875183040902058, "rel_wql_gmean": 0.6641921643601346}, "Healthcare": {"n_configs": 5, "rel_mase_gmean": 0.6139527281192892, "rel_wql_gmean": 0.5464397807808657}, "Nature": {"n_configs": 15, "rel_mase_gmean": 0.9165347710208626, "rel_wql_gmean": 0.4262557244965412}, "Sales": {"n_configs": 4, "rel_mase_gmean": 0.7236857318540713, "rel_wql_gmean": 0.49069407674387455}, "Transport": {"n_configs": 15, "rel_mase_gmean": 0.7409885227228126, "rel_wql_gmean": 0.5326322455593484}, "Web/CloudOps": {"n_configs": 20, "rel_mase_gmean": 0.6406526827237473, "rel_wql_gmean": 0.4401981656932876}}, "frequency": {"A": {"n_configs": 1, "rel_mase_gmean": 0.6309209231549364, "rel_wql_gmean": 0.7031483713965916}, "D": {"n_configs": 15, "rel_mase_gmean": 0.8312480235218208, "rel_wql_gmean": 0.49474947051972207}, "H": {"n_configs": 31, "rel_mase_gmean": 0.7699349176435701, "rel_wql_gmean": 0.509380627167939}, "M": {"n_configs": 5, "rel_mase_gmean": 0.8118030943982025, "rel_wql_gmean": 0.761627023316478}, "Q": {"n_configs": 1, "rel_mase_gmean": 0.7577424031924023, "rel_wql_gmean": 0.7730469598668882}, "S": {"n_configs": 6, "rel_mase_gmean": 0.8470625498536513, "rel_wql_gmean": 0.5016402439146156}, "T": {"n_configs": 30, "rel_mase_gmean": 0.7552233542773811, "rel_wql_gmean": 0.5649661724969702}, "W": {"n_configs": 8, "rel_mase_gmean": 0.8722074539294237, "rel_wql_gmean": 0.5824881348907451}}, "variates": {"multivariate": {"n_configs": 43, "rel_mase_gmean": 0.7753742639035731, "rel_wql_gmean": 0.5192784489729385}, "univariate": {"n_configs": 54, "rel_mase_gmean": 0.7973317137163837, "rel_wql_gmean": 0.5647724979441632}}}, "control_groups": {"term": {"long": {"n_configs": 21, "rel_mase_gmean": 0.7631770585925983, "rel_wql_gmean": 0.4677868165263665}, "medium": {"n_configs": 21, "rel_mase_gmean": 0.7804406375949874, "rel_wql_gmean": 0.5405630566891115}, "short": {"n_configs": 55, "rel_mase_gmean": 0.8172787084787845, "rel_wql_gmean": 0.60528058064257}}, "domain": {"Econ/Fin": {"n_configs": 6, "rel_mase_gmean": 0.8676921936407426, "rel_wql_gmean": 0.8016679884951974}, "Energy": {"n_configs": 32, "rel_mase_gmean": 0.8976224121252018, "rel_wql_gmean": 0.6730364644295886}, "Healthcare": {"n_configs": 5, "rel_mase_gmean": 0.715544928439207, "rel_wql_gmean": 0.6563756692904051}, "Nature": {"n_configs": 15, "rel_mase_gmean": 0.9112015769744569, "rel_wql_gmean": 0.43796573248667486}, "Sales": {"n_configs": 4, "rel_mase_gmean": 0.7344739529340831, "rel_wql_gmean": 0.49881848885165964}, "Transport": {"n_configs": 15, "rel_mase_gmean": 0.7482605753576742, "rel_wql_gmean": 0.5422820838948151}, "Web/CloudOps": {"n_configs": 20, "rel_mase_gmean": 0.6370402026065697, "rel_wql_gmean": 0.44847094485910133}}, "frequency": {"A": {"n_configs": 1, "rel_mase_gmean": 0.6325288537386246, "rel_wql_gmean": 0.7042657056207078}, "D": {"n_configs": 15, "rel_mase_gmean": 0.8414186836746333, "rel_wql_gmean": 0.5026319183584169}, "H": {"n_configs": 31, "rel_mase_gmean": 0.7777171234593941, "rel_wql_gmean": 0.5223847290828182}, "M": {"n_configs": 5, "rel_mase_gmean": 0.8683581516069737, "rel_wql_gmean": 0.8129657019737112}, "Q": {"n_configs": 1, "rel_mase_gmean": 0.7697054610744473, "rel_wql_gmean": 0.7847028613345987}, "S": {"n_configs": 6, "rel_mase_gmean": 0.8528291209006531, "rel_wql_gmean": 0.5045106161862585}, "T": {"n_configs": 30, "rel_mase_gmean": 0.7566825128734321, "rel_wql_gmean": 0.5836659908130211}, "W": {"n_configs": 8, "rel_mase_gmean": 0.8991074674277862, "rel_wql_gmean": 0.5951462907008985}}, "variates": {"multivariate": {"n_configs": 43, "rel_mase_gmean": 0.7740352075584562, "rel_wql_gmean": 0.5308044086536873}, "univariate": {"n_configs": 54, "rel_mase_gmean": 0.8162314051702948, "rel_wql_gmean": 0.5817612195378781}}}, "group_skill_delta": {"term": {"long": 0.008325683616718593, "medium": 0.0086245014568338, "short": 0.01633173156742318}, "domain": {"Econ/Fin": 0.010254312691627354, "Energy": 0.00948191341519422, "Healthcare": 0.10610860032628966, "Nature": 0.006681331555504655, "Sales": 0.009374742960911231, "Transport": 0.00876830141163909, "Web/CloudOps": 0.0034534967877104528}, "frequency": {"A": 0.0013778575208700516, "D": 0.009030796213200687, "H": 0.011140511899595418, "M": 0.05389063339927158, "Q": 0.01181155797990796, "S": 0.0040837062363655585, "T": 0.011363275154761432, "W": 0.018729013312383302}, "variates": {"multivariate": 0.006449256319384644, "univariate": 0.01804272090894876}}}, {"cutoff": "backcast2_evals", "candidate_skill": 0.3694079152992553, "control_skill": 0.3605578550795868, "delta": 0.008850060219668499, "candidate_checkpoint": "7bad693c1ed4c20edb4b810875084ffc5d5604f84704b6c3c65f60f8bf534d93", "control_checkpoint": "3ecb2892396bc62c203e0d72ce266d2c6df978c24e68cf87cd6dc0ec34db5d30", "candidate_eval_seconds": 35.805452823638916, "candidate_groups": {"term": {"long": {"n_configs": 19, "rel_mase_gmean": 0.7950907974724272, "rel_wql_gmean": 0.499146527181259}, "medium": {"n_configs": 21, "rel_mase_gmean": 0.732172796084811, "rel_wql_gmean": 0.48491890355491024}, "short": {"n_configs": 54, "rel_mase_gmean": 0.7557168037319103, "rel_wql_gmean": 0.5502711218276128}}, "domain": {"Econ/Fin": {"n_configs": 6, "rel_mase_gmean": 0.8745074778317337, "rel_wql_gmean": 0.8864912716480782}, "Energy": {"n_configs": 32, "rel_mase_gmean": 0.8934510610022468, "rel_wql_gmean": 0.6413440723028573}, "Healthcare": {"n_configs": 5, "rel_mase_gmean": 0.6914658764490168, "rel_wql_gmean": 0.5964631118286142}, "Nature": {"n_configs": 15, "rel_mase_gmean": 0.761901473268124, "rel_wql_gmean": 0.3645981964587308}, "Sales": {"n_configs": 3, "rel_mase_gmean": 0.5529790133611636, "rel_wql_gmean": 0.3483502937563069}, "Transport": {"n_configs": 14, "rel_mase_gmean": 0.6631823853402357, "rel_wql_gmean": 0.4953497026876772}, "Web/CloudOps": {"n_configs": 19, "rel_mase_gmean": 0.6506044851648994, "rel_wql_gmean": 0.45397544878270935}}, "frequency": {"A": {"n_configs": 1, "rel_mase_gmean": 0.5820686254716586, "rel_wql_gmean": 0.7681451904849482}, "D": {"n_configs": 15, "rel_mase_gmean": 0.7140453669275718, "rel_wql_gmean": 0.4413437572309901}, "H": {"n_configs": 30, "rel_mase_gmean": 0.7516049472529541, "rel_wql_gmean": 0.4841804825097834}, "M": {"n_configs": 4, "rel_mase_gmean": 0.8238232055856459, "rel_wql_gmean": 0.8586677145264544}, "Q": {"n_configs": 1, "rel_mase_gmean": 0.8290470933312974, "rel_wql_gmean": 0.8739383558946693}, "S": {"n_configs": 6, "rel_mase_gmean": 0.9026085551293094, "rel_wql_gmean": 0.5642451832852518}, "T": {"n_configs": 29, "rel_mase_gmean": 0.7362204820621142, "rel_wql_gmean": 0.5294902118266324}, "W": {"n_configs": 8, "rel_mase_gmean": 0.8383739815801005, "rel_wql_gmean": 0.6258464331047214}}, "variates": {"multivariate": {"n_configs": 42, "rel_mase_gmean": 0.7634860380724087, "rel_wql_gmean": 0.5069532259446602}, "univariate": {"n_configs": 52, "rel_mase_gmean": 0.7538410014605046, "rel_wql_gmean": 0.5391255604621427}}}, "control_groups": {"term": {"long": {"n_configs": 19, "rel_mase_gmean": 0.7997233981576664, "rel_wql_gmean": 0.5075433267708054}, "medium": {"n_configs": 21, "rel_mase_gmean": 0.7399595594864797, "rel_wql_gmean": 0.4956903321154445}, "short": {"n_configs": 54, "rel_mase_gmean": 0.760974845625028, "rel_wql_gmean": 0.5619579756342753}}, "domain": {"Econ/Fin": {"n_configs": 6, "rel_mase_gmean": 0.8815453402156522, "rel_wql_gmean": 0.8881178835967644}, "Energy": {"n_configs": 32, "rel_mase_gmean": 0.912257320664024, "rel_wql_gmean": 0.6598667696403844}, "Healthcare": {"n_configs": 5, "rel_mase_gmean": 0.7013033734153519, "rel_wql_gmean": 0.6004866826542048}, "Nature": {"n_configs": 15, "rel_mase_gmean": 0.751529758065661, "rel_wql_gmean": 0.37399907881152383}, "Sales": {"n_configs": 3, "rel_mase_gmean": 0.5517315303076739, "rel_wql_gmean": 0.34313631996514743}, "Transport": {"n_configs": 14, "rel_mase_gmean": 0.6720925842559999, "rel_wql_gmean": 0.5073144131277231}, "Web/CloudOps": {"n_configs": 19, "rel_mase_gmean": 0.6487982419098411, "rel_wql_gmean": 0.4608781543309368}}, "frequency": {"A": {"n_configs": 1, "rel_mase_gmean": 0.5790771344504891, "rel_wql_gmean": 0.7308899330897375}, "D": {"n_configs": 15, "rel_mase_gmean": 0.7278683128185671, "rel_wql_gmean": 0.4540430354831324}, "H": {"n_configs": 30, "rel_mase_gmean": 0.7521129092764461, "rel_wql_gmean": 0.4915660968600765}, "M": {"n_configs": 4, "rel_mase_gmean": 0.8443407010382165, "rel_wql_gmean": 0.8726674645964401}, "Q": {"n_configs": 1, "rel_mase_gmean": 0.8320796892167054, "rel_wql_gmean": 0.877927675097266}, "S": {"n_configs": 6, "rel_mase_gmean": 0.902791522159911, "rel_wql_gmean": 0.5705450047166016}, "T": {"n_configs": 29, "rel_mase_gmean": 0.7433992635092939, "rel_wql_gmean": 0.5456630527006386}, "W": {"n_configs": 8, "rel_mase_gmean": 0.8404265187464307, "rel_wql_gmean": 0.6317288921457248}}, "variates": {"multivariate": {"n_configs": 42, "rel_mase_gmean": 0.7653255057555063, "rel_wql_gmean": 0.5178378811838268}, "univariate": {"n_configs": 52, "rel_mase_gmean": 0.762675870854227, "rel_wql_gmean": 0.5498153256824397}}}, "group_skill_delta": {"term": {"long": 0.007124665190868962, "medium": 0.009776514078031484, "short": 0.009075091309477257}, "domain": {"Econ/Fin": 0.004346522526552432, "Energy": 0.018892218134985983, "Healthcare": 0.006730004781228205, "Nature": 0.0031058262856256125, "Sales": -0.0037886223828453858, "Transport": 0.010764259284414268, "Web/CloudOps": 0.00335549437966709}, "frequency": {"A": -0.018095000615214185, "D": 0.013504136935602262, "H": 0.004788903970071812, "M": 0.017322210302579855, "Q": 0.0034994767102602964, "S": 0.004045623260031328, "T": 0.01254616254003249, "W": 0.004286540626395996}, "variates": {"multivariate": 0.007400375916197133, "univariate": 0.010050803189160185}}}, {"cutoff": "backcast3_evals", "candidate_skill": 0.39307562724708134, "control_skill": 0.37657565033817875, "delta": 0.01649997690890259, "candidate_checkpoint": "7bad693c1ed4c20edb4b810875084ffc5d5604f84704b6c3c65f60f8bf534d93", "control_checkpoint": "3ecb2892396bc62c203e0d72ce266d2c6df978c24e68cf87cd6dc0ec34db5d30", "candidate_eval_seconds": 36.91688656806946, "candidate_groups": {"term": {"long": {"n_configs": 19, "rel_mase_gmean": 0.7689304327065858, "rel_wql_gmean": 0.48151802289240936}, "medium": {"n_configs": 20, "rel_mase_gmean": 0.7601228862145414, "rel_wql_gmean": 0.5227860843362538}, "short": {"n_configs": 54, "rel_mase_gmean": 0.7148180679730619, "rel_wql_gmean": 0.5001374119575906}}, "domain": {"Econ/Fin": {"n_configs": 6, "rel_mase_gmean": 0.8277259781321401, "rel_wql_gmean": 0.8029312354032646}, "Energy": {"n_configs": 32, "rel_mase_gmean": 0.8344553393252132, "rel_wql_gmean": 0.553570658817946}, "Healthcare": {"n_configs": 5, "rel_mase_gmean": 0.8453997429331176, "rel_wql_gmean": 0.6847675922023977}, "Nature": {"n_configs": 15, "rel_mase_gmean": 0.7057891502501334, "rel_wql_gmean": 0.33223572664584183}, "Sales": {"n_configs": 3, "rel_mase_gmean": 0.752079051884577, "rel_wql_gmean": 0.47626485749967323}, "Transport": {"n_configs": 14, "rel_mase_gmean": 0.5434878509585735, "rel_wql_gmean": 0.4484149453989046}, "Web/CloudOps": {"n_configs": 18, "rel_mase_gmean": 0.7076728992323069, "rel_wql_gmean": 0.5089959215055664}}, "frequency": {"A": {"n_configs": 1, "rel_mase_gmean": 0.5407329366952768, "rel_wql_gmean": 0.7748960306311691}, "D": {"n_configs": 15, "rel_mase_gmean": 0.7285757381071214, "rel_wql_gmean": 0.42156063275908556}, "H": {"n_configs": 29, "rel_mase_gmean": 0.7293942385732483, "rel_wql_gmean": 0.48383436071181535}, "M": {"n_configs": 4, "rel_mase_gmean": 0.8999035241654499, "rel_wql_gmean": 0.8813586390459291}, "Q": {"n_configs": 1, "rel_mase_gmean": 0.7171301208700165, "rel_wql_gmean": 0.75893089184228}, "S": {"n_configs": 6, "rel_mase_gmean": 0.8668750705768011, "rel_wql_gmean": 0.6233978034475891}, "T": {"n_configs": 29, "rel_mase_gmean": 0.6910453168357058, "rel_wql_gmean": 0.45060104596949496}, "W": {"n_configs": 8, "rel_mase_gmean": 0.8022013650376413, "rel_wql_gmean": 0.6643578221150803}}, "variates": {"multivariate": {"n_configs": 41, "rel_mase_gmean": 0.761448097248897, "rel_wql_gmean": 0.5086119051783812}, "univariate": {"n_configs": 52, "rel_mase_gmean": 0.7151558362965719, "rel_wql_gmean": 0.495123320577801}}}, "control_groups": {"term": {"long": {"n_configs": 19, "rel_mase_gmean": 0.7694049330832036, "rel_wql_gmean": 0.4852066577976231}, "medium": {"n_configs": 20, "rel_mase_gmean": 0.7697610218026824, "rel_wql_gmean": 0.5306539543436474}, "short": {"n_configs": 54, "rel_mase_gmean": 0.7433187559215155, "rel_wql_gmean": 0.5206488546791788}}, "domain": {"Econ/Fin": {"n_configs": 6, "rel_mase_gmean": 0.8275516102432143, "rel_wql_gmean": 0.8095441287904284}, "Energy": {"n_configs": 32, "rel_mase_gmean": 0.8503202942086059, "rel_wql_gmean": 0.5700305682709154}, "Healthcare": {"n_configs": 5, "rel_mase_gmean": 0.9063163719809284, "rel_wql_gmean": 0.7422093859410305}, "Nature": {"n_configs": 15, "rel_mase_gmean": 0.7435363052887493, "rel_wql_gmean": 0.3459863668000032}, "Sales": {"n_configs": 3, "rel_mase_gmean": 0.7559745440204096, "rel_wql_gmean": 0.48453386083621275}, "Transport": {"n_configs": 14, "rel_mase_gmean": 0.5558525634862705, "rel_wql_gmean": 0.4606838401204078}, "Web/CloudOps": {"n_configs": 18, "rel_mase_gmean": 0.72011355656891, "rel_wql_gmean": 0.5143032600443953}}, "frequency": {"A": {"n_configs": 1, "rel_mase_gmean": 0.5149560498362388, "rel_wql_gmean": 0.7388792434022143}, "D": {"n_configs": 15, "rel_mase_gmean": 0.7866427703773003, "rel_wql_gmean": 0.44372187032754057}, "H": {"n_configs": 29, "rel_mase_gmean": 0.7384900710957844, "rel_wql_gmean": 0.49860168280518735}, "M": {"n_configs": 4, "rel_mase_gmean": 0.9012974939000788, "rel_wql_gmean": 0.8973923604504697}, "Q": {"n_configs": 1, "rel_mase_gmean": 0.7137284262620204, "rel_wql_gmean": 0.7500042118226561}, "S": {"n_configs": 6, "rel_mase_gmean": 0.8556907579410804, "rel_wql_gmean": 0.6196113389572953}, "T": {"n_configs": 29, "rel_mase_gmean": 0.7117294142474627, "rel_wql_gmean": 0.46926136140771346}, "W": {"n_configs": 8, "rel_mase_gmean": 0.8158892617521237, "rel_wql_gmean": 0.6496487875787558}}, "variates": {"multivariate": {"n_configs": 41, "rel_mase_gmean": 0.781887160889063, "rel_wql_gmean": 0.526989374562575}, "univariate": {"n_configs": 52, "rel_mase_gmean": 0.7331039879686364, "rel_wql_gmean": 0.5062814703386}}}, "group_skill_delta": {"term": {"long": 0.002514615509235707, "medium": 0.008739683212869331, "short": 0.02418061081889533}, "domain": {"Econ/Fin": 0.003264000993617122, "Energy": 0.016555823087034405, "Healthcare": 0.05931226672989465, "Nature": 0.022961568966910872, "Sales": 0.006734535636008898, "Transport": 0.012367881317101925, "Web/CloudOps": 0.00840060305618373}, "frequency": {"A": -0.030472225355850258, "D": 0.03660395421715468, "H": 0.012746153810110461, "M": 0.00875999539596295, "Q": -0.006092978375057401, "S": -0.0069791080953481854, "T": 0.019896700146257107, "W": -0.001993920987520603}, "variates": {"multivariate": 0.01958876315597946, "univariate": 0.014171631427023379}}}], "mean_delta": 0.012541053717812806, "positive_cutoffs": 4, "outcome": "Predeclared48k primary and96k durability; scientific matched control is E94. Ensemble complementarity evaluated separately, unchanged training."} + +E135 fixed distilled fourth-member diagnostic: {"step": 96000, "rows": [{"cutoff": "valid_screen", "skill": 0.3870624929316149, "control_skill": 0.3878507268780589, "delta": -0.0007882339464440058, "groups": {"term": {"short": 0.36973539643219777, "medium": 0.4104386724103666, "long": 0.40762689568992905}, "domain": {"Econ/Fin": 0.14994096158310155, "Energy": 0.24696381682973112, "Healthcare": 0.4736358372789885, "Nature": 0.4437757611383025, "Sales": 0.3443467061072125, "Transport": 0.4713643574343144, "Web/CloudOps": 0.5076575425165245}, "freq": {"A-DEC": 0.38051947052094115, "Q-DEC": 0.20341867189056906, "M": 0.10885899085645001, "W-SUN": 0.1162579102333714, "D": 0.369237395113702, "H": 0.40348490404414883, "15T": 0.21850228899454194, "W-FRI": 0.0074148530286110015, "10T": 0.6289114347260678, "W-TUE": 0.6177862025026932, "W-THU": 0.20980057177070488, "W-WED": 0.3259108400342504, "5T": 0.5211275136339717, "10S": 0.4255758669505033}}, "member_checkpoint_hashes": ["8a2b252b733cc79c31778ea27ba00fbe61206fef50454514b667c54a928d80a4", "308389b7217c080af9eb185559d4ee3cafa0f3e0f8c4dd8f5526b68198c89988", "1a2fb20a9fb5cae6526f2e36ea47559626bece78fd9c284899836505030ae9fe", "7bad693c1ed4c20edb4b810875084ffc5d5604f84704b6c3c65f60f8bf534d93"], "cpu_seconds": 2.030734773958102}, {"cutoff": "valid_backcast", "skill": 0.34468946986464477, "control_skill": 0.34441110518308204, "delta": 0.0002783646815627261, "groups": {"term": {"short": 0.31238246725300134, "medium": 0.362284660166013, "long": 0.4063508216673021}, "domain": {"Econ/Fin": 0.1800443620327934, "Energy": 0.23363372160936124, "Healthcare": 0.4117652307302567, "Nature": 0.38027548039358594, "Sales": 0.4080969158797304, "Transport": 0.3763959745477705, "Web/CloudOps": 0.4587911991839776}, "freq": {"A-DEC": 0.32996173463637046, "Q-DEC": 0.2373283640332765, "M": 0.2026050027415095, "W-SUN": 0.0658720575555296, "D": 0.35921367729830667, "H": 0.3753552216359234, "15T": 0.22236638048235524, "W-FRI": 0.23673334366632304, "10T": 0.3284726768359719, "W-TUE": 0.5524696798354938, "W-THU": 0.26177413531623706, "W-WED": 0.359667402727445, "5T": 0.45048149726274567, "10S": 0.34831699731836807}}, "member_checkpoint_hashes": ["8a2b252b733cc79c31778ea27ba00fbe61206fef50454514b667c54a928d80a4", "308389b7217c080af9eb185559d4ee3cafa0f3e0f8c4dd8f5526b68198c89988", "1a2fb20a9fb5cae6526f2e36ea47559626bece78fd9c284899836505030ae9fe", "7bad693c1ed4c20edb4b810875084ffc5d5604f84704b6c3c65f60f8bf534d93"], "cpu_seconds": 2.584050812991336}, {"cutoff": "valid_backcast2", "skill": 0.3689312483357552, "control_skill": 0.3685168155758046, "delta": 0.00041443275995056705, "groups": {"term": {"short": 0.35611026299451953, "medium": 0.3987577460024889, "long": 0.3712298043239308}, "domain": {"Econ/Fin": 0.12732256558094568, "Energy": 0.2432560664741289, "Healthcare": 0.35298402223246617, "Nature": 0.48159559089706294, "Sales": 0.558565017914709, "Transport": 0.4285794469083305, "Web/CloudOps": 0.44583577990274914}, "freq": {"A-DEC": 0.3352600081004079, "Q-DEC": 0.1566263086550439, "M": 0.16778163872095042, "W-SUN": 0.07872408503270267, "D": 0.4353330369143541, "H": 0.39818845806187375, "15T": 0.1076683874850275, "W-FRI": 0.15424649504707222, "10T": 0.5107291127852811, "W-TUE": 0.10079867619556371, "W-THU": 0.35465588862311404, "W-WED": 0.5630311374448667, "5T": 0.48283619494970587, "10S": 0.2872279842859865}}, "member_checkpoint_hashes": ["8a2b252b733cc79c31778ea27ba00fbe61206fef50454514b667c54a928d80a4", "308389b7217c080af9eb185559d4ee3cafa0f3e0f8c4dd8f5526b68198c89988", "1a2fb20a9fb5cae6526f2e36ea47559626bece78fd9c284899836505030ae9fe", "7bad693c1ed4c20edb4b810875084ffc5d5604f84704b6c3c65f60f8bf534d93"], "cpu_seconds": 1.9569750109221786}, {"cutoff": "valid_backcast3", "skill": 0.39235573552738134, "control_skill": 0.3912834616582097, "delta": 0.001072273869171636, "groups": {"term": {"short": 0.3988052147441047, "medium": 0.3701996690132723, "long": 0.39681824588566483}, "domain": {"Econ/Fin": 0.1905721402494821, "Energy": 0.3191034905591392, "Healthcare": 0.24006500564190736, "Nature": 0.5095230722594182, "Sales": 0.40277599138624787, "Transport": 0.5112966396314254, "Web/CloudOps": 0.39793946780769407}, "freq": {"A-DEC": 0.3580093823819266, "Q-DEC": 0.2590927321110231, "M": 0.14055589229695753, "W-SUN": 0.17428610326465255, "D": 0.444945540763254, "H": 0.40758061701451354, "15T": 0.25790815308687853, "W-FRI": 0.03612488533798153, "10T": 0.6088192957546936, "W-TUE": 0.27462719763755294, "W-THU": 0.35202959646932386, "W-WED": 0.3777983352030527, "5T": 0.47168643472481797, "10S": 0.2877157920961362}}, "member_checkpoint_hashes": ["8a2b252b733cc79c31778ea27ba00fbe61206fef50454514b667c54a928d80a4", "308389b7217c080af9eb185559d4ee3cafa0f3e0f8c4dd8f5526b68198c89988", "1a2fb20a9fb5cae6526f2e36ea47559626bece78fd9c284899836505030ae9fe", "7bad693c1ed4c20edb4b810875084ffc5d5604f84704b6c3c65f60f8bf534d93"], "cpu_seconds": 1.9009602251462638}], "positive_cutoffs": 3, "mean_delta": 0.00024420934106023084, "selection_gate_passed": true}. No automatic publication; any candidate also needs comparison to the then-current package, full replay and all checks. + +2026-10-24T04:37:09.235608+00:00: E101/E135 final96k review {"utc": "2026-10-24T04:37:09.235608+00:00", "experiments": ["E101", "E135"], "step": 96000, "seed": 307, "checkpoint_sha256": "7bad693c1ed4c20edb4b810875084ffc5d5604f84704b6c3c65f60f8bf534d93", "current_descriptor_sha256": "a75fdfcbb4d8e38dd6e7cded3c097ff0a129976fa63277bfd277a6031ccc6140", "rows": [{"cutoff": "valid_screen", "standalone_skill": 0.3807090395055793, "evaluation_seconds": 35.397719383239746, "delta_matched": 0.012088637689112058, "group_deltas_matched": {"term": {"long": 0.018358176148952743, "medium": 0.018727647876641718, "short": 0.006838633582526565}, "domain": {"Econ/Fin": 0.008557132779957732, "Energy": 0.023007193426696326, "Healthcare": -0.05693839651179089, "Nature": 0.02021110286747052, "Sales": -0.007429940816981895, "Transport": 0.006215084305678298, "Web/CloudOps": 0.018574515120846624}, "frequency": {"A": -0.006586621252595681, "D": -0.005889665933876409, "H": 0.01679355107994218, "M": -0.048913061562990245, "Q": -0.0010929332968917516, "S": 0.009698919174909504, "T": 0.024823584058226156, "W": 0.0032021832030284525}, "variates": {"multivariate": 0.021886227671715885, "univariate": 0.00397750523476692}}, "delta_high_lr": 0.009528212899380661, "group_deltas_high_lr": {"term": {"long": 0.016763165509915634, "medium": 0.012732987918257832, "short": 0.00528597274178666}, "domain": {"Econ/Fin": 0.01911813043758026, "Energy": 0.014235827714954463, "Healthcare": -0.05953387357753592, "Nature": 0.022332020966989052, "Sales": 0.00700285107406573, "Transport": 0.007477965684229093, "Web/CloudOps": 0.01200827675337135}, "frequency": {"A": -0.006413365217298739, "D": 0.006338441199033817, "H": 0.01182197435190746, "M": -0.062033948352493984, "Q": 0.0001176654430364854, "S": 0.008634684492084932, "T": 0.021509640343483016, "W": -0.013519653007843635}, "variates": {"multivariate": 0.018372580459778964, "univariate": 0.002195815823654468}}, "quartet_skill": 0.3870624929316149, "quartet_delta_frozen": -0.0007882339464440058, "quartet_delta_current": -0.002298282785306416, "quartet_group_deltas_current": {"term": {"short": -0.003319801623076546, "medium": -0.0019218634778558341, "long": -0.00015119890386239287}, "domain": {"Econ/Fin": -0.0008247776651053584, "Energy": -0.0011466730834622796, "Healthcare": -0.01445393048073651, "Nature": -0.0003744309999277329, "Sales": -0.001028934277928717, "Transport": -0.004204375165160479, "Web/CloudOps": -0.0008468084321547886}, "freq": {"A-DEC": -0.001323930153845243, "Q-DEC": -0.001842199457026128, "M": -0.012030702440696261, "W-SUN": 0.01022309500921037, "D": -0.006525036780400506, "H": -0.0015050734785424513, "15T": 0.0003134761447081136, "W-FRI": -0.012655574444641493, "10T": 0.0012339024876821814, "W-TUE": -0.0027604945737887965, "W-THU": -0.0064316594768905055, "W-WED": -0.000837998199275436, "5T": -0.001611751016638907, "10S": 0.0004992811166087963}}, "cached_probe_seconds": 2.030734773958102}, {"cutoff": "valid_backcast", "standalone_skill": 0.3453880556624722, "evaluation_seconds": 35.44303631782532, "delta_matched": 0.012725540053568074, "group_deltas_matched": {"term": {"long": 0.008325683616718593, "medium": 0.0086245014568338, "short": 0.01633173156742318}, "domain": {"Econ/Fin": 0.010254312691627354, "Energy": 0.00948191341519422, "Healthcare": 0.10610860032628966, "Nature": 0.006681331555504655, "Sales": 0.009374742960911231, "Transport": 0.00876830141163909, "Web/CloudOps": 0.0034534967877104528}, "frequency": {"A": 0.0013778575208700516, "D": 0.009030796213200687, "H": 0.011140511899595418, "M": 0.05389063339927158, "Q": 0.01181155797990796, "S": 0.0040837062363655585, "T": 0.011363275154761432, "W": 0.018729013312383302}, "variates": {"multivariate": 0.006449256319384644, "univariate": 0.01804272090894876}}, "delta_high_lr": 0.010661882009130763, "group_deltas_high_lr": {"term": {"long": 0.01018613614437236, "medium": 0.005226192185289857, "short": 0.01307133832807894}, "domain": {"Econ/Fin": 0.017120344822370015, "Energy": 0.01136747663697213, "Healthcare": 0.029433985858783984, "Nature": 0.012130610786576401, "Sales": 0.011641831303826344, "Transport": 0.0077368244648508, "Web/CloudOps": 0.004700745876826784}, "frequency": {"A": 0.0009553911372629509, "D": -0.004606126619868034, "H": 0.010977753233111454, "M": 0.06595781086551789, "Q": 0.016860974883124658, "S": -0.0012254752588137796, "T": 0.01357416899099273, "W": 0.009403418310285128}, "variates": {"multivariate": 0.0056686004580028815, "univariate": 0.014884946214166583}}, "quartet_skill": 0.34468946986464477, "quartet_delta_frozen": 0.0002783646815627261, "quartet_delta_current": -0.001215250975250659, "quartet_group_deltas_current": {"term": {"short": -0.0017723142937311476, "medium": -0.001176970630054175, "long": 1.942809464983153e-05}, "domain": {"Econ/Fin": -0.0015563101149050906, "Energy": -0.0016681551432352615, "Healthcare": 0.00963977769708757, "Nature": -0.003553166541378272, "Sales": -0.0007422365725996416, "Transport": -0.002983294142606785, "Web/CloudOps": -0.00045968531154927383}, "freq": {"A-DEC": -0.0008258143010779762, "Q-DEC": 0.00032265406383358286, "M": 0.010850883721490345, "W-SUN": 0.006809897005476961, "D": -0.005468277290801238, "H": -0.00280093027160222, "15T": 6.44359299061259e-05, "W-FRI": -0.00295255798096139, "10T": -0.0034980180566163144, "W-TUE": 0.0042681975799819805, "W-THU": -0.0052048520265299825, "W-WED": -2.751025110736549e-05, "5T": 0.0027902260307086646, "10S": 0.00031309397297074604}}, "cached_probe_seconds": 2.584050812991336}, {"cutoff": "valid_backcast2", "standalone_skill": 0.3694079152992553, "evaluation_seconds": 35.805452823638916, "delta_matched": 0.008850060219668499, "group_deltas_matched": {"term": {"long": 0.007124665190868962, "medium": 0.009776514078031484, "short": 0.009075091309477257}, "domain": {"Econ/Fin": 0.004346522526552432, "Energy": 0.018892218134985983, "Healthcare": 0.006730004781228205, "Nature": 0.0031058262856256125, "Sales": -0.0037886223828453858, "Transport": 0.010764259284414268, "Web/CloudOps": 0.00335549437966709}, "frequency": {"A": -0.018095000615214185, "D": 0.013504136935602262, "H": 0.004788903970071812, "M": 0.017322210302579855, "Q": 0.0034994767102602964, "S": 0.004045623260031328, "T": 0.01254616254003249, "W": 0.004286540626395996}, "variates": {"multivariate": 0.007400375916197133, "univariate": 0.010050803189160185}}, "delta_high_lr": 0.011196705607812163, "group_deltas_high_lr": {"term": {"long": 0.0028288647377417986, "medium": 0.013865910471986598, "short": 0.013102601897524213}, "domain": {"Econ/Fin": 0.017244418367940773, "Energy": 0.02285032752852345, "Healthcare": -0.016616734625452545, "Nature": 0.011388523238622494, "Sales": 0.009710544800783705, "Transport": 0.015424756017997754, "Web/CloudOps": -0.0011620859696714891}, "frequency": {"A": -0.00834592143464652, "D": 0.012717672979828953, "H": 0.004136212817456575, "M": 0.002970473930325346, "Q": 0.012875733883666918, "S": -0.000521251406559009, "T": 0.015903522193940756, "W": 0.03445728531558245}, "variates": {"multivariate": 0.005954294929693238, "univariate": 0.01556494293179167}}, "quartet_skill": 0.3689312483357552, "quartet_delta_frozen": 0.00041443275995056705, "quartet_delta_current": -0.0013932699318127684, "quartet_group_deltas_current": {"term": {"short": -0.0011261851444286375, "medium": -9.601565017403058e-05, "long": -0.0036257065829269353}, "domain": {"Econ/Fin": -0.0021603006745967157, "Energy": 0.0011630964250280984, "Healthcare": -0.005345093215220698, "Nature": -0.0034262432481225735, "Sales": -0.00121780764118129, "Transport": -0.0010842764533192106, "Web/CloudOps": -0.0019278615313659264}, "freq": {"A-DEC": -0.0022533246747300506, "Q-DEC": 0.00038629110742538497, "M": -0.005923971375932591, "W-SUN": -0.00302249314060421, "D": -0.00019385780122860297, "H": -0.0032595116400727653, "15T": 6.152193050112942e-05, "W-FRI": 0.004501110141687414, "10T": 0.0006322487101455554, "W-TUE": -0.04789299264167568, "W-THU": 0.006000002425111783, "W-WED": 0.002511910742773571, "5T": 0.0017416762784306927, "10S": -0.005103667342549634}}, "cached_probe_seconds": 1.9569750109221786}, {"cutoff": "valid_backcast3", "standalone_skill": 0.39307562724708134, "evaluation_seconds": 36.91688656806946, "delta_matched": 0.01649997690890259, "group_deltas_matched": {"term": {"long": 0.002514615509235707, "medium": 0.008739683212869331, "short": 0.02418061081889533}, "domain": {"Econ/Fin": 0.003264000993617122, "Energy": 0.016555823087034405, "Healthcare": 0.05931226672989465, "Nature": 0.022961568966910817, "Sales": 0.006734535636008898, "Transport": 0.01236788131710198, "Web/CloudOps": 0.00840060305618373}, "frequency": {"A": -0.030472225355850258, "D": 0.03660395421715468, "H": 0.012746153810110461, "M": 0.00875999539596295, "Q": -0.006092978375057401, "S": -0.0069791080953481854, "T": 0.019896700146257107, "W": -0.001993920987520603}, "variates": {"multivariate": 0.01958876315597946, "univariate": 0.014171631427023379}}, "delta_high_lr": 0.013464140942720637, "group_deltas_high_lr": {"term": {"long": 0.00025164431509594465, "medium": 0.00019890004731315525, "short": 0.022863949740632883}, "domain": {"Econ/Fin": 0.015969484749961405, "Energy": 0.01866260689610799, "Healthcare": 0.032159990431299246, "Nature": 0.01657469931747524, "Sales": 0.010045006850526783, "Transport": 0.01734673701136291, "Web/CloudOps": -0.006232889529966035}, "frequency": {"A": -0.013003147948393634, "D": 0.036352821108247446, "H": 0.010196169290979662, "M": -0.011189518666475218, "Q": -0.0035964280126301595, "S": -0.01820178453104282, "T": 0.012974905803690762, "W": 0.014158249201570605}, "variates": {"multivariate": 0.012973876968818576, "univariate": 0.013828663819982157}}, "quartet_skill": 0.39235573552738134, "quartet_delta_frozen": 0.001072273869171636, "quartet_delta_current": -0.00047916640180156733, "quartet_group_deltas_current": {"term": {"short": 0.0008061436165615055, "medium": -0.001694772405186895, "long": -0.0029083565050265214}, "domain": {"Econ/Fin": -0.0012807521525342036, "Energy": -0.00030417237277124975, "Healthcare": 0.002099109370764962, "Nature": 0.001447499745712122, "Sales": -0.0010887001784459782, "Transport": -0.0013103003565209104, "Web/CloudOps": -0.0021535257109521755}, "freq": {"A-DEC": -0.0030216560194548103, "Q-DEC": -0.00360879914884904, "M": -0.007268455602848167, "W-SUN": -0.000697952209775865, "D": 0.000521670720581846, "H": -0.0018957635745551205, "15T": -0.0009979288985295653, "W-FRI": -0.005259770276360598, "10T": 0.004560269284158425, "W-TUE": -0.008291753124514245, "W-THU": 0.008455054003706275, "W-WED": 0.003911806237595794, "5T": 0.00045197587993273114, "10S": -0.004474279128310665}}, "cached_probe_seconds": 1.9009602251462638}], "gates": {"delta_matched": {"positive": 4, "mean_delta": 0.012541053717812806}, "delta_high_lr": {"positive": 4, "mean_delta": 0.011212735364761056}, "quartet_delta_frozen": {"positive": 3, "mean_delta": 0.00024420934106023084}, "quartet_delta_current": {"positive": 0, "mean_delta": -0.0013464925235428526}}, "selection_gate_passed": false, "training_final_phase_seconds": 25919.89861048595, "training_compute_scope": "Final recovery4 phase starting39750 only; original/recovery logs retain earlier phases. Shared-H100 wall time, not exclusive GPU compute.", "four_cutoff_evaluation_seconds": 143.56309509277344, "cached_probe_seconds": 8.47272082301788, "review_seconds": 0.5703226600307971, "new_optimizer_updates": 0, "new_neural_inference": false, "outcome": "Original E135quartet fails the frozen/current four-cutoff gate; no full replay or publication. E101 standalone matched result remains a separate scientific finding.", "next_allocation": "Alreadyaudited E155329M scratch model replaces the completed E101allocation. No resumption or schedule extension of E101.", "interpretation": "Adaptive validation at predeclared48/96 endpoints; no independent test evidence. Strong standalone distillation need not add complementary information to an ensemble containing its own teacher members."} + +2026-10-24T04:38:10.237879+00:00: E185 fixed distilledF5 substitution declaration {"experiment": "E185", "declared_utc": "2026-10-24T04:38:10.237879+00:00", "status": "declared after E101final four-cutoff results; before current-composition probes", "hypothesis": "E101final distillation improves standalone skill over both plain controls on allfour cutoffs, but its old fixed quartet trails the current package. Test one replacement of F5 in the current composition, which preserves its refreshed first three experts, horizon-dependent expert, and gate. This tests useful complementary information without adding a seventh model.", "known_results": {"delta_matched": {"positive": 4, "mean_delta": 0.012541053717812806}, "delta_high_lr": {"positive": 4, "mean_delta": 0.011212735364761056}, "quartet_delta_frozen": {"positive": 3, "mean_delta": 0.00024420934106023084}, "quartet_delta_current": {"positive": 0, "mean_delta": -0.0013464925235428526}}, "frozen_parent_descriptor": "a75fdfcbb4d8e38dd6e7cded3c097ff0a129976fa63277bfd277a6031ccc6140", "parent_probe_prefix": "gate_six_blend", "member_checkpoint_hashes": ["0b11b7351a4a92d1d18c71a4159ec445be3a94ace8c7a9fa0edafad87d14e960", "308389b7217c080af9eb185559d4ee3cafa0f3e0f8c4dd8f5526b68198c89988", "1a2fb20a9fb5cae6526f2e36ea47559626bece78fd9c284899836505030ae9fe", "d7cfcd72c3cb84aa69e447b76c4c3ab98c21b7c600a463f0b805f4b4300baf33", "2877a38b94a7d77a53a9df410349cecc2f6ab134c83a76744924543bbe73eb17", "4b309f0721378f97db815dd511b8b54711348270c48e9eae0103dba506f66708"], "replacement_member_index": 5, "replacement_run": "distill_ensemble", "replacement_steps": [96000], "replacement_checkpoint_sha256": "7bad693c1ed4c20edb4b810875084ffc5d5604f84704b6c3c65f60f8bf534d93", "previous_member_step": 48000, "source_controls": ["random_capacity_1024_halflr", "random_capacity_1024", "random_capacity_long_seasonal"], "source_control_steps": {"random_capacity_1024_halflr": 96000, "random_capacity_1024": 96000, "random_capacity_long_seasonal": 48000}, "gate_run": "ensemble_gate_refresh", "gate_step": 6000, "gate_checkpoint_sha256": "a7d0ee6866ea787f29eac043531aad3613674f159fd00b3491fd87fab8388fd1", "parameters": 549334476, "blend_coefficient": 0.5, "horizon_threshold": 720, "composition": "Exactly E172 ordered FP32 arithmetic; replace only F5 E131seasonal48k by E101plain distilled96k. Allsix experts and unchanged primary6k gate execute everyinstance. F5 is not a gate input. Other five weights, normalization, fixed rules, H720 and every composition coefficient remain fixed. Runtime F5 uses its own plain architecture/config and immutable weights.", "source_training": "Completed E101 ownuntrained146477344parameter model,seed307/B48/LR1e-4/original96k,oldpack/slowAR,own frozenE96raw-quantileteacher coefficient.5. No further training or teacher changes.", "source_gate": "Require>=3positive and positive mean across four cutoffs against allthree declared source controls: matched E94final96, E79final96, and the exact existing F5 E13148k. First two comparisons already known; third has not been inspected at declaration. Source failure leaves composition untested.", "selection": "One cached four-cutoff composition only after source gates. Require>=3positive and positive mean versus frozenE172 and then-current publication. If passed, separately build complete portable six-model package, verify actual allsix forward execution and independent composition, relocation, and full97public replay. No automatic publication.", "checkpoint_choices": "Only original final96000. No48k substitution, additional member, coefficient/threshold sweep or alternative routing selected.", "new_training": false, "optimizer_updates": 0, "training_queued": false, "interpretation": "Explicitly adaptive validation hypothesis formed after completed E101/E135results. No independent test claim. Source comparisons and original E135decision remain unchanged."} + +2026-10-24T04:38:25.478341+00:00: E185 endpoint result {"experiment": "E185", "step": 96000, "replacement_checkpoint_sha256": "7bad693c1ed4c20edb4b810875084ffc5d5604f84704b6c3c65f60f8bf534d93", "source_comparison": "/workspace/research/distill96k_four_cutoff_comparison.json", "source_gates": {"random_capacity_1024_halflr": {"step": 96000, "checkpoint_sha256": "3ecb2892396bc62c203e0d72ce266d2c6df978c24e68cf87cd6dc0ec34db5d30", "rows": [{"cutoff": "valid_screen", "skill": 0.3807090395055793, "delta": 0.012088637689112058}, {"cutoff": "valid_backcast", "skill": 0.3453880556624722, "delta": 0.012725540053568074}, {"cutoff": "valid_backcast2", "skill": 0.3694079152992553, "delta": 0.008850060219668499}, {"cutoff": "valid_backcast3", "skill": 0.39307562724708134, "delta": 0.01649997690890259}], "positive": 4, "mean_delta": 0.012541053717812806}, "random_capacity_1024": {"step": 96000, "checkpoint_sha256": "d7cfcd72c3cb84aa69e447b76c4c3ab98c21b7c600a463f0b805f4b4300baf33", "rows": [{"cutoff": "valid_screen", "skill": 0.3807090395055793, "delta": 0.009528212899380661}, {"cutoff": "valid_backcast", "skill": 0.3453880556624722, "delta": 0.010661882009130763}, {"cutoff": "valid_backcast2", "skill": 0.3694079152992553, "delta": 0.011196705607812163}, {"cutoff": "valid_backcast3", "skill": 0.39307562724708134, "delta": 0.013464140942720637}], "positive": 4, "mean_delta": 0.011212735364761056}, "random_capacity_long_seasonal": {"step": 48000, "checkpoint_sha256": "4b309f0721378f97db815dd511b8b54711348270c48e9eae0103dba506f66708", "rows": [{"cutoff": "valid_screen", "skill": 0.3807090395055793, "delta": 0.012122227423670084}, {"cutoff": "valid_backcast", "skill": 0.3453880556624722, "delta": 0.016426014266640254}, {"cutoff": "valid_backcast2", "skill": 0.3694079152992553, "delta": 0.014961297015140373}, {"cutoff": "valid_backcast3", "skill": 0.39307562724708134, "delta": 0.016130698162460266}], "positive": 4, "mean_delta": 0.014910059216977745}}, "optimizer_updates": 0, "new_neural_inference": false, "rows": [{"cutoff": "valid_screen", "skill": 0.3889811236944909, "delta_frozen": -0.00037965202243039897, "groups": {"term": {"short": 0.3724928518063497, "medium": 0.4119586903358331, "long": 0.40787333356819755}, "domain": {"Econ/Fin": 0.15079047225971642, "Energy": 0.24784144522564033, "Healthcare": 0.4880693816237388, "Nature": 0.44377800365758213, "Sales": 0.3445766098669263, "Transport": 0.4743645177516935, "Web/CloudOps": 0.5085168231605914}, "freq": {"A-DEC": 0.3817393781352413, "Q-DEC": 0.20456621249211404, "M": 0.11851612417778312, "W-SUN": 0.11096809937205954, "D": 0.3739896337250519, "H": 0.404815194518927, "15T": 0.217763280883714, "W-FRI": 0.016627890145097246, "10T": 0.6285601579865345, "W-TUE": 0.6261217387961903, "W-THU": 0.21273807355694907, "W-WED": 0.32665546274723634, "5T": 0.5226276322232477, "10S": 0.4251854443410107}}, "group_deltas_frozen": {"term": {"short": -0.0005623462489245945, "medium": -0.00040184555238931274, "long": 9.523897440610885e-05}, "domain": {"Econ/Fin": 2.473301150951457e-05, "Energy": -0.0002690446875530661, "Healthcare": -2.0386135986205645e-05, "Nature": -0.00037218848064812793, "Sales": -0.0007990305182149493, "Transport": -0.0012042148477813264, "Web/CloudOps": 1.2472211912140097e-05}, "freq": {"A-DEC": -0.0001040225395451122, "Q-DEC": -0.000694658855481145, "M": -0.0023735691193631503, "W-SUN": 0.004933284147898509, "D": -0.0017727981690506267, "H": -0.00017478300376427836, "15T": -0.0004255319661198298, "W-FRI": -0.0034425373281552485, "10T": 0.0008826257481489019, "W-TUE": 0.00557504171970824, "W-THU": -0.0034941576906463157, "W-WED": -9.337548628951531e-05, "5T": -0.00011163242736289547, "10S": 0.00010885850711617184}}, "cpu_seconds": 2.9724007181357592, "delta_current": -0.00037965202243039897}, {"cutoff": "valid_backcast", "skill": 0.34571682032979134, "delta_frozen": -0.0001879005101040887, "groups": {"term": {"short": 0.31371857871682174, "medium": 0.36371692201875694, "long": 0.40629419883218176}, "domain": {"Econ/Fin": 0.18183885191691895, "Energy": 0.2346745999938531, "Healthcare": 0.40576622820140396, "Nature": 0.38308863560326034, "Sales": 0.408058990915112, "Transport": 0.3786753080624147, "Web/CloudOps": 0.4594232046839797}, "freq": {"A-DEC": 0.32907467124477807, "Q-DEC": 0.23784816987572266, "M": 0.1934654691242852, "W-SUN": 0.06260376275160728, "D": 0.36326576209789363, "H": 0.37766351881731963, "15T": 0.22200119269137508, "W-FRI": 0.23712165508575445, "10T": 0.33198005803676023, "W-TUE": 0.5538375740897508, "W-THU": 0.2649517044655446, "W-WED": 0.3596823531241906, "5T": 0.44897032063645503, "10S": 0.34761140228718257}}, "group_deltas_frozen": {"term": {"short": -0.0004362028299107479, "medium": 0.00025529122268974636, "long": -3.719474047048088e-05}, "domain": {"Econ/Fin": 0.00023817976922047013, "Energy": -0.0006272767587434114, "Healthcare": 0.0036407751682348, "Nature": -0.0007400113317038715, "Sales": -0.0007801615372180493, "Transport": -0.0007039606279626298, "Web/CloudOps": 0.0001723201884528125}, "freq": {"A-DEC": -0.001712877692670367, "Q-DEC": 0.0008424599062797355, "M": 0.0017113501042660406, "W-SUN": 0.003541602201554639, "D": -0.0014161924912142743, "H": -0.0004926330902059739, "15T": -0.0003007518610740334, "W-FRI": -0.0025642465615299814, "10T": 9.363144171992133e-06, "W-TUE": 0.005636091834238965, "W-THU": -0.002027282877222425, "W-WED": -1.2559854361771094e-05, "5T": 0.0012790494044180312, "10S": -0.0003925010582147559}}, "cpu_seconds": 2.9299643740523607, "delta_current": -0.0001879005101040887}, {"cutoff": "valid_backcast2", "skill": 0.37012967010699094, "delta_frozen": -0.00019484816057702137, "groups": {"term": {"short": 0.3571314204644317, "medium": 0.3988062144868214, "long": 0.3742432518817296}, "domain": {"Econ/Fin": 0.1303379152740648, "Energy": 0.24277684694820467, "Healthcare": 0.35571245833286114, "Nature": 0.4838275289931353, "Sales": 0.5587536180674213, "Transport": 0.4292097087541472, "Web/CloudOps": 0.44803602768354855}, "freq": {"A-DEC": 0.33735533959598685, "Q-DEC": 0.1567359573340109, "M": 0.17214935222725047, "W-SUN": 0.08360004093749207, "D": 0.43537125213392613, "H": 0.4004709684361777, "15T": 0.10821326376616136, "W-FRI": 0.15062651813704475, "10T": 0.5107458902291666, "W-TUE": 0.12677215459336644, "W-THU": 0.3495909618891936, "W-WED": 0.5609012532184883, "5T": 0.48305240373178737, "10S": 0.2907390048451425}}, "group_deltas_frozen": {"term": {"short": -0.00010502767451647799, "medium": -4.754716584154384e-05, "long": -0.0006122590251281812}, "domain": {"Econ/Fin": 0.0008550490185224024, "Energy": 0.0006838768991038746, "Healthcare": -0.0026166571148257267, "Nature": -0.0011943051520502124, "Sales": -0.0010292074884690194, "Transport": -0.00045401460750249534, "Web/CloudOps": 0.0002723862494334872}, "freq": {"A-DEC": -0.00015799317915110578, "Q-DEC": 0.0004959397863923964, "M": -0.001556257869632538, "W-SUN": 0.0018534627641851875, "D": -0.00015564258165656764, "H": -0.0009770012657688287, "15T": 0.0006063982116349953, "W-FRI": 0.0008811332316599474, "10T": 0.0006490261540310627, "W-TUE": -0.02191951424387295, "W-THU": 0.0009350756911913338, "W-WED": 0.00038202651639518415, "5T": 0.001957885060512199, "10S": -0.0015926467833936586}}, "cpu_seconds": 2.717260738136247, "delta_current": -0.00019484816057702137}, {"cutoff": "valid_backcast3", "skill": 0.39273332620430246, "delta_frozen": -0.00010157572488045385, "groups": {"term": {"short": 0.39813556408460327, "medium": 0.3718389122546373, "long": 0.3989035378929785}, "domain": {"Econ/Fin": 0.1928589279612961, "Energy": 0.31913649049567094, "Healthcare": 0.236700234507226, "Nature": 0.5078223441397678, "Sales": 0.4036877382471058, "Transport": 0.5124395415508362, "Web/CloudOps": 0.40047386479719815}, "freq": {"A-DEC": 0.36234459179774015, "Q-DEC": 0.26217101522926867, "M": 0.14446790143840504, "W-SUN": 0.17582457228488957, "D": 0.4440952663813371, "H": 0.4090097944320621, "15T": 0.25809395290519943, "W-FRI": 0.039876299358257095, "10T": 0.6059752958806888, "W-TUE": 0.2827310168247926, "W-THU": 0.34276624376847764, "W-WED": 0.3759912207169529, "5T": 0.47252207688100467, "10S": 0.2910125398742769}}, "group_deltas_frozen": {"term": {"short": 0.0001364929570600859, "medium": -5.55291638218991e-05, "long": -0.0008230644977128554}, "domain": {"Econ/Fin": 0.0010060355592798054, "Energy": -0.0002711724362395307, "Healthcare": -0.0012656617639164036, "Nature": -0.0002532283739382635, "Sales": -0.00017695331758804667, "Transport": -0.00016739843711011115, "Web/CloudOps": 0.0003808712785519086}, "freq": {"A-DEC": 0.0013135533963587465, "Q-DEC": -0.0005305160306035006, "M": -0.003356446461400653, "W-SUN": 0.000840516810461156, "D": -0.00032860366133502517, "H": -0.00046658615700656547, "15T": -0.0008121290802086678, "W-FRI": -0.0015083562560850305, "10T": 0.0017162694101535703, "W-TUE": -0.00018793393727456476, "W-THU": -0.000808298697139942, "W-WED": 0.0021046917514959684, "5T": 0.0012876180361194312, "10S": -0.001177531350169958}}, "cpu_seconds": 2.812914422014728, "delta_current": -0.00010157572488045385}], "composition_gates": {"delta_frozen": {"positive": 0, "mean_delta": -0.00021599410449799072}, "delta_current": {"positive": 0, "mean_delta": -0.00021599410449799072}}, "current_descriptor": "a75fdfcbb4d8e38dd6e7cded3c097ff0a129976fa63277bfd277a6031ccc6140", "selection_gate_passed": false, "outcome": "cached comparison complete; separate runtime/full replay/current review required before any publication", "utc": "2026-10-24T04:38:25.478341+00:00"} + +2026-10-24T04:39:13.225370+00:00: E185 error-dependence diagnostic {"utc": "2026-10-24T04:39:13.225370+00:00", "experiment": "E185", "old_member_checkpoint_sha256": "4b309f0721378f97db815dd511b8b54711348270c48e9eae0103dba506f66708", "new_member_checkpoint_sha256": "7bad693c1ed4c20edb4b810875084ffc5d5604f84704b6c3c65f60f8bf534d93", "frozen_parent_descriptor": "a75fdfcbb4d8e38dd6e7cded3c097ff0a129976fa63277bfd277a6031ccc6140", "panels": [{"cutoff": "valid_screen", "groups": {"term": {"long": {"configs": 21, "mean_cosine_delta": 0.01622055030153698, "mean_disagreement_delta": -0.11542452900467845}, "medium": {"configs": 21, "mean_cosine_delta": 0.018049664567509876, "mean_disagreement_delta": -0.11685545957451617}, "short": {"configs": 55, "mean_cosine_delta": 0.028025070653478954, "mean_disagreement_delta": -0.13962781538339353}}, "domain": {"Econ/Fin": {"configs": 6, "mean_cosine_delta": 0.021789324597630517, "mean_disagreement_delta": -0.10755921479247377}, "Energy": {"configs": 32, "mean_cosine_delta": 0.02351994079402123, "mean_disagreement_delta": -0.11537227013599974}, "Healthcare": {"configs": 5, "mean_cosine_delta": 0.04268843069527593, "mean_disagreement_delta": -0.14091609861691162}, "Nature": {"configs": 15, "mean_cosine_delta": 0.023730094154735325, "mean_disagreement_delta": -0.14970850216095657}, "Sales": {"configs": 4, "mean_cosine_delta": 0.012554409629452173, "mean_disagreement_delta": -0.12268446773919071}, "Transport": {"configs": 15, "mean_cosine_delta": 0.02748891519475179, "mean_disagreement_delta": -0.1548635143265802}, "Web/CloudOps": {"configs": 20, "mean_cosine_delta": 0.017286720648018457, "mean_disagreement_delta": -0.1228121530894262}}}, "mean_cosine_delta": 0.023309828847333264, "mean_disagreement_delta": -0.12945783099226527, "composite_mase_ratio": 1.0008047690612618, "composite_wql_ratio": 1.000438722114704}, {"cutoff": "valid_backcast", "groups": {"term": {"long": {"configs": 21, "mean_cosine_delta": 0.018811406924029543, "mean_disagreement_delta": -0.11853561978089898}, "medium": {"configs": 21, "mean_cosine_delta": 0.01521260724519068, "mean_disagreement_delta": -0.11397036563268724}, "short": {"configs": 55, "mean_cosine_delta": 0.019766377663771876, "mean_disagreement_delta": -0.1262676840169204}}, "domain": {"Econ/Fin": {"configs": 6, "mean_cosine_delta": 0.022470512026094902, "mean_disagreement_delta": -0.1238954364937772}, "Energy": {"configs": 32, "mean_cosine_delta": 0.020442715673631963, "mean_disagreement_delta": -0.11739506093361421}, "Healthcare": {"configs": 5, "mean_cosine_delta": 0.014076256565531731, "mean_disagreement_delta": -0.10669986488494168}, "Nature": {"configs": 15, "mean_cosine_delta": 0.01629112728610793, "mean_disagreement_delta": -0.14117318357826963}, "Sales": {"configs": 4, "mean_cosine_delta": 0.014024212223376908, "mean_disagreement_delta": -0.10923689156270534}, "Transport": {"configs": 15, "mean_cosine_delta": 0.02244333775908777, "mean_disagreement_delta": -0.13050394491477574}, "Web/CloudOps": {"configs": 20, "mean_cosine_delta": 0.015258499397459196, "mean_disagreement_delta": -0.11408649638532027}}}, "mean_cosine_delta": 0.018573763598567813, "mean_disagreement_delta": -0.12193142592387561, "composite_mase_ratio": 1.000437030159697, "composite_wql_ratio": 1.0001375278539786}, {"cutoff": "valid_backcast2", "groups": {"term": {"long": {"configs": 19, "mean_cosine_delta": 0.014563641259213458, "mean_disagreement_delta": -0.10627517433073345}, "medium": {"configs": 21, "mean_cosine_delta": 0.023088279559747266, "mean_disagreement_delta": -0.12349384563774053}, "short": {"configs": 54, "mean_cosine_delta": 0.02457377229765453, "mean_disagreement_delta": -0.13892377687920912}}, "domain": {"Econ/Fin": {"configs": 6, "mean_cosine_delta": 0.020040878837921588, "mean_disagreement_delta": -0.10856454596805054}, "Energy": {"configs": 32, "mean_cosine_delta": 0.017103884464086047, "mean_disagreement_delta": -0.09906714768389134}, "Healthcare": {"configs": 5, "mean_cosine_delta": 0.03356102363859141, "mean_disagreement_delta": -0.19400894342830607}, "Nature": {"configs": 15, "mean_cosine_delta": 0.023488747762188143, "mean_disagreement_delta": -0.1548026982985484}, "Sales": {"configs": 3, "mean_cosine_delta": 0.025586941176997113, "mean_disagreement_delta": -0.14819825214953627}, "Transport": {"configs": 14, "mean_cosine_delta": 0.023791742287763224, "mean_disagreement_delta": -0.14372812493873896}, "Web/CloudOps": {"configs": 19, "mean_cosine_delta": 0.02584187540470284, "mean_disagreement_delta": -0.133898595960539}}}, "mean_cosine_delta": 0.02221858253992652, "mean_disagreement_delta": -0.12887747895908275, "composite_mase_ratio": 1.0006890084102307, "composite_wql_ratio": 0.99993001994274}, {"cutoff": "valid_backcast3", "groups": {"term": {"long": {"configs": 19, "mean_cosine_delta": 0.01379773464836222, "mean_disagreement_delta": -0.09848769667122682}, "medium": {"configs": 20, "mean_cosine_delta": 0.016700221156149803, "mean_disagreement_delta": -0.11078205648460623}, "short": {"configs": 54, "mean_cosine_delta": 0.02969686757369237, "mean_disagreement_delta": -0.15566426173197043}}, "domain": {"Econ/Fin": {"configs": 6, "mean_cosine_delta": 0.024593411885987182, "mean_disagreement_delta": -0.1376306830223756}, "Energy": {"configs": 32, "mean_cosine_delta": 0.026651626416726183, "mean_disagreement_delta": -0.13913244934274027}, "Healthcare": {"configs": 5, "mean_cosine_delta": 0.003599960139536762, "mean_disagreement_delta": -0.005677924251551272}, "Nature": {"configs": 15, "mean_cosine_delta": 0.03161614147017821, "mean_disagreement_delta": -0.17497405484508968}, "Sales": {"configs": 3, "mean_cosine_delta": 0.016421301784332615, "mean_disagreement_delta": -0.13653657354722903}, "Transport": {"configs": 14, "mean_cosine_delta": 0.024080008468318283, "mean_disagreement_delta": -0.14829419128742163}, "Web/CloudOps": {"configs": 18, "mean_cosine_delta": 0.01781965372834971, "mean_disagreement_delta": -0.11533478779278905}}}, "mean_cosine_delta": 0.023653679897002865, "mean_disagreement_delta": -0.13433094085991223, "composite_mase_ratio": 1.0010568786609337, "composite_wql_ratio": 0.9992785019936489}], "seconds": 8.941887913970277, "optimizer_updates": 0, "new_neural_inference": false, "fitted_coefficients": false, "interpretation": "Descriptive comparison after the declared substitution failed. Other15/16 of the frozen package, normalized to unit weight in float64, forms a fixed median-error reference. No forecast or coefficient is selected from this reference. Cosines use valid scaled median errors, exclude zero-energy configurations, and weight configurations equally. Greater error alignment is not causal proof and does not by itself explain quantile loss."} + +2026-10-24T04:39:48.951364+00:00: E185 final rejection review {"utc": "2026-10-24T04:39:48.951364+00:00", "experiment": "E185", "checkpoint_sha256": "7bad693c1ed4c20edb4b810875084ffc5d5604f84704b6c3c65f60f8bf534d93", "source_gates": {"random_capacity_1024_halflr": {"step": 96000, "checkpoint_sha256": "3ecb2892396bc62c203e0d72ce266d2c6df978c24e68cf87cd6dc0ec34db5d30", "rows": [{"cutoff": "valid_screen", "skill": 0.3807090395055793, "delta": 0.012088637689112058}, {"cutoff": "valid_backcast", "skill": 0.3453880556624722, "delta": 0.012725540053568074}, {"cutoff": "valid_backcast2", "skill": 0.3694079152992553, "delta": 0.008850060219668499}, {"cutoff": "valid_backcast3", "skill": 0.39307562724708134, "delta": 0.01649997690890259}], "positive": 4, "mean_delta": 0.012541053717812806}, "random_capacity_1024": {"step": 96000, "checkpoint_sha256": "d7cfcd72c3cb84aa69e447b76c4c3ab98c21b7c600a463f0b805f4b4300baf33", "rows": [{"cutoff": "valid_screen", "skill": 0.3807090395055793, "delta": 0.009528212899380661}, {"cutoff": "valid_backcast", "skill": 0.3453880556624722, "delta": 0.010661882009130763}, {"cutoff": "valid_backcast2", "skill": 0.3694079152992553, "delta": 0.011196705607812163}, {"cutoff": "valid_backcast3", "skill": 0.39307562724708134, "delta": 0.013464140942720637}], "positive": 4, "mean_delta": 0.011212735364761056}, "random_capacity_long_seasonal": {"step": 48000, "checkpoint_sha256": "4b309f0721378f97db815dd511b8b54711348270c48e9eae0103dba506f66708", "rows": [{"cutoff": "valid_screen", "skill": 0.3807090395055793, "delta": 0.012122227423670084}, {"cutoff": "valid_backcast", "skill": 0.3453880556624722, "delta": 0.016426014266640254}, {"cutoff": "valid_backcast2", "skill": 0.3694079152992553, "delta": 0.014961297015140373}, {"cutoff": "valid_backcast3", "skill": 0.39307562724708134, "delta": 0.016130698162460266}], "positive": 4, "mean_delta": 0.014910059216977745}}, "composition_gates": {"delta_frozen": {"positive": 0, "mean_delta": -0.00021599410449799072}, "delta_current": {"positive": 0, "mean_delta": -0.00021599410449799072}}, "rows": [{"cutoff": "valid_screen", "skill": 0.3889811236944909, "delta_frozen": -0.00037965202243039897, "groups": {"term": {"short": 0.3724928518063497, "medium": 0.4119586903358331, "long": 0.40787333356819755}, "domain": {"Econ/Fin": 0.15079047225971642, "Energy": 0.24784144522564033, "Healthcare": 0.4880693816237388, "Nature": 0.44377800365758213, "Sales": 0.3445766098669263, "Transport": 0.4743645177516935, "Web/CloudOps": 0.5085168231605914}, "freq": {"A-DEC": 0.3817393781352413, "Q-DEC": 0.20456621249211404, "M": 0.11851612417778312, "W-SUN": 0.11096809937205954, "D": 0.3739896337250519, "H": 0.404815194518927, "15T": 0.217763280883714, "W-FRI": 0.016627890145097246, "10T": 0.6285601579865345, "W-TUE": 0.6261217387961903, "W-THU": 0.21273807355694907, "W-WED": 0.32665546274723634, "5T": 0.5226276322232477, "10S": 0.4251854443410107}}, "group_deltas_frozen": {"term": {"short": -0.0005623462489245945, "medium": -0.00040184555238931274, "long": 9.523897440610885e-05}, "domain": {"Econ/Fin": 2.473301150951457e-05, "Energy": -0.0002690446875530661, "Healthcare": -2.0386135986205645e-05, "Nature": -0.00037218848064812793, "Sales": -0.0007990305182149493, "Transport": -0.0012042148477813264, "Web/CloudOps": 1.2472211912140097e-05}, "freq": {"A-DEC": -0.0001040225395451122, "Q-DEC": -0.000694658855481145, "M": -0.0023735691193631503, "W-SUN": 0.004933284147898509, "D": -0.0017727981690506267, "H": -0.00017478300376427836, "15T": -0.0004255319661198298, "W-FRI": -0.0034425373281552485, "10T": 0.0008826257481489019, "W-TUE": 0.00557504171970824, "W-THU": -0.0034941576906463157, "W-WED": -9.337548628951531e-05, "5T": -0.00011163242736289547, "10S": 0.00010885850711617184}}, "cpu_seconds": 2.9724007181357592, "delta_current": -0.00037965202243039897}, {"cutoff": "valid_backcast", "skill": 0.34571682032979134, "delta_frozen": -0.0001879005101040887, "groups": {"term": {"short": 0.31371857871682174, "medium": 0.36371692201875694, "long": 0.40629419883218176}, "domain": {"Econ/Fin": 0.18183885191691895, "Energy": 0.2346745999938531, "Healthcare": 0.40576622820140396, "Nature": 0.38308863560326034, "Sales": 0.408058990915112, "Transport": 0.3786753080624147, "Web/CloudOps": 0.4594232046839797}, "freq": {"A-DEC": 0.32907467124477807, "Q-DEC": 0.23784816987572266, "M": 0.1934654691242852, "W-SUN": 0.06260376275160728, "D": 0.36326576209789363, "H": 0.37766351881731963, "15T": 0.22200119269137508, "W-FRI": 0.23712165508575445, "10T": 0.33198005803676023, "W-TUE": 0.5538375740897508, "W-THU": 0.2649517044655446, "W-WED": 0.3596823531241906, "5T": 0.44897032063645503, "10S": 0.34761140228718257}}, "group_deltas_frozen": {"term": {"short": -0.0004362028299107479, "medium": 0.00025529122268974636, "long": -3.719474047048088e-05}, "domain": {"Econ/Fin": 0.00023817976922047013, "Energy": -0.0006272767587434114, "Healthcare": 0.0036407751682348, "Nature": -0.0007400113317038715, "Sales": -0.0007801615372180493, "Transport": -0.0007039606279626298, "Web/CloudOps": 0.0001723201884528125}, "freq": {"A-DEC": -0.001712877692670367, "Q-DEC": 0.0008424599062797355, "M": 0.0017113501042660406, "W-SUN": 0.003541602201554639, "D": -0.0014161924912142743, "H": -0.0004926330902059739, "15T": -0.0003007518610740334, "W-FRI": -0.0025642465615299814, "10T": 9.363144171992133e-06, "W-TUE": 0.005636091834238965, "W-THU": -0.002027282877222425, "W-WED": -1.2559854361771094e-05, "5T": 0.0012790494044180312, "10S": -0.0003925010582147559}}, "cpu_seconds": 2.9299643740523607, "delta_current": -0.0001879005101040887}, {"cutoff": "valid_backcast2", "skill": 0.37012967010699094, "delta_frozen": -0.00019484816057702137, "groups": {"term": {"short": 0.3571314204644317, "medium": 0.3988062144868214, "long": 0.3742432518817296}, "domain": {"Econ/Fin": 0.1303379152740648, "Energy": 0.24277684694820467, "Healthcare": 0.35571245833286114, "Nature": 0.4838275289931353, "Sales": 0.5587536180674213, "Transport": 0.4292097087541472, "Web/CloudOps": 0.44803602768354855}, "freq": {"A-DEC": 0.33735533959598685, "Q-DEC": 0.1567359573340109, "M": 0.17214935222725047, "W-SUN": 0.08360004093749207, "D": 0.43537125213392613, "H": 0.4004709684361777, "15T": 0.10821326376616136, "W-FRI": 0.15062651813704475, "10T": 0.5107458902291666, "W-TUE": 0.12677215459336644, "W-THU": 0.3495909618891936, "W-WED": 0.5609012532184883, "5T": 0.48305240373178737, "10S": 0.2907390048451425}}, "group_deltas_frozen": {"term": {"short": -0.00010502767451647799, "medium": -4.754716584154384e-05, "long": -0.0006122590251281812}, "domain": {"Econ/Fin": 0.0008550490185224024, "Energy": 0.0006838768991038746, "Healthcare": -0.0026166571148257267, "Nature": -0.0011943051520502124, "Sales": -0.0010292074884690194, "Transport": -0.00045401460750249534, "Web/CloudOps": 0.0002723862494334872}, "freq": {"A-DEC": -0.00015799317915110578, "Q-DEC": 0.0004959397863923964, "M": -0.001556257869632538, "W-SUN": 0.0018534627641851875, "D": -0.00015564258165656764, "H": -0.0009770012657688287, "15T": 0.0006063982116349953, "W-FRI": 0.0008811332316599474, "10T": 0.0006490261540310627, "W-TUE": -0.02191951424387295, "W-THU": 0.0009350756911913338, "W-WED": 0.00038202651639518415, "5T": 0.001957885060512199, "10S": -0.0015926467833936586}}, "cpu_seconds": 2.717260738136247, "delta_current": -0.00019484816057702137}, {"cutoff": "valid_backcast3", "skill": 0.39273332620430246, "delta_frozen": -0.00010157572488045385, "groups": {"term": {"short": 0.39813556408460327, "medium": 0.3718389122546373, "long": 0.3989035378929785}, "domain": {"Econ/Fin": 0.1928589279612961, "Energy": 0.31913649049567094, "Healthcare": 0.236700234507226, "Nature": 0.5078223441397678, "Sales": 0.4036877382471058, "Transport": 0.5124395415508362, "Web/CloudOps": 0.40047386479719815}, "freq": {"A-DEC": 0.36234459179774015, "Q-DEC": 0.26217101522926867, "M": 0.14446790143840504, "W-SUN": 0.17582457228488957, "D": 0.4440952663813371, "H": 0.4090097944320621, "15T": 0.25809395290519943, "W-FRI": 0.039876299358257095, "10T": 0.6059752958806888, "W-TUE": 0.2827310168247926, "W-THU": 0.34276624376847764, "W-WED": 0.3759912207169529, "5T": 0.47252207688100467, "10S": 0.2910125398742769}}, "group_deltas_frozen": {"term": {"short": 0.0001364929570600859, "medium": -5.55291638218991e-05, "long": -0.0008230644977128554}, "domain": {"Econ/Fin": 0.0010060355592798054, "Energy": -0.0002711724362395307, "Healthcare": -0.0012656617639164036, "Nature": -0.0002532283739382635, "Sales": -0.00017695331758804667, "Transport": -0.00016739843711011115, "Web/CloudOps": 0.0003808712785519086}, "freq": {"A-DEC": 0.0013135533963587465, "Q-DEC": -0.0005305160306035006, "M": -0.003356446461400653, "W-SUN": 0.000840516810461156, "D": -0.00032860366133502517, "H": -0.00046658615700656547, "15T": -0.0008121290802086678, "W-FRI": -0.0015083562560850305, "10T": 0.0017162694101535703, "W-TUE": -0.00018793393727456476, "W-THU": -0.000808298697139942, "W-WED": 0.0021046917514959684, "5T": 0.0012876180361194312, "10S": -0.001177531350169958}}, "cpu_seconds": 2.812914422014728, "delta_current": -0.00010157572488045385}], "cached_composition_seconds": 12.062888000858948, "controller_seconds": 14.984296011039987, "diagnostic_seconds": 8.941887913970277, "diagnostic_rows": [{"cutoff": "valid_screen", "mean_cosine_delta": 0.023309828847333264, "mean_disagreement_delta": -0.12945783099226527, "composite_mase_ratio": 1.0008047690612618, "composite_wql_ratio": 1.000438722114704}, {"cutoff": "valid_backcast", "mean_cosine_delta": 0.018573763598567813, "mean_disagreement_delta": -0.12193142592387561, "composite_mase_ratio": 1.000437030159697, "composite_wql_ratio": 1.0001375278539786}, {"cutoff": "valid_backcast2", "mean_cosine_delta": 0.02221858253992652, "mean_disagreement_delta": -0.12887747895908275, "composite_mase_ratio": 1.0006890084102307, "composite_wql_ratio": 0.99993001994274}, {"cutoff": "valid_backcast3", "mean_cosine_delta": 0.023653679897002865, "mean_disagreement_delta": -0.13433094085991223, "composite_mase_ratio": 1.0010568786609337, "composite_wql_ratio": 0.9992785019936489}], "optimizer_updates": 0, "new_neural_inference": false, "publication_changed": false, "outcome": "Rejected0of4 versus frozen/currentE172. Existing seasonalF5 retained. Distilled expert improves standalone against existingF5all4 but replacement worsens compositeMASEall4; scaled median errors align more closely with other components at all4cutoffs. Descriptive diversity finding, not causal attribution or proof about other teachers/architectures.", "future": "No alternative E101coefficient, member position or seventh-member blend selected. Existing E157feature/distillation factorial and conditionalE167larger six-teacher student keep their original definitions."} + +2026-10-24T04:43:45.734530+00:00: E180/E182 runtime engineering preparation {"utc": "2026-10-24T04:43:45.734530+00:00", "studies": ["E180", "E182"], "status": "private runtime/assembler prepared; no candidate assembled or GPU inference", "runtime": "/workspace/research/seven_member_blend/runtime", "assembler": "/workspace/research/seven_member_blend/assemble.py", "cpu_arithmetic": "/workspace/research/seven_member_blend_cpu_arithmetic.json", "cpu_seconds": 0.07367365690879524, "script_hashes": {"check_arithmetic.py": "4a06c53d650d6f7bfa9ee2c6456dc8611ec1edfe5e9d4a29f76220d985edf7ce", "assemble.py": "d9cbc4814d0256de15a39fd5373116e733edfee4933b1fbacf4576d83e48e985", "runtime/composition.py": "cc1060e95acbe07c94b1d16413d57ffe51a692e671e7aed91b92c7a02ff086b0", "runtime/predict.py": "950784fe3f77fa75db2f83b8c95cda29e595275acb945d1340567e6cd917af02"}, "new_training": false, "new_neural_inference": false, "selection_changed": false, "remaining": "Requires qualifying endpoint, complete standalone member package, actualallseven forward audit, independent components, relocation, full97public replay and current-best review. Assembler refuses submission and existing outputs."} + +2026-10-24T04:46:56.753630+00:00: Seven-member runtime check prepared; no GPU inference or package assembly. Unevaluated-endpoint refusal verified before any package creation. Latest script hashes {"check_arithmetic.py": "4a06c53d650d6f7bfa9ee2c6456dc8611ec1edfe5e9d4a29f76220d985edf7ce", "assemble.py": "08d2a3deaf0bc11da7ca928b1524ec41259cf825514cecc1fbe2f11c35386745", "check_runtime.py": "e8f102826dbc4cb3fa1d45961dc87f875320d2e9466b53105fbd63a932e8a091", "runtime/composition.py": "cc1060e95acbe07c94b1d16413d57ffe51a692e671e7aed91b92c7a02ff086b0", "runtime/predict.py": "950784fe3f77fa75db2f83b8c95cda29e595275acb945d1340567e6cd917af02"} + +2026-10-24T04:51:15.752926+00:00: Scheduled main-cutoff learning diagnostic {"utc": "2026-10-24T04:51:15.752926+00:00", "experiment": "E157", "run": "random_capacity_long_seasonal_halflr", "step": 24000, "skill": 0.36889526725849675, "checkpoint_sha256": "fa13094219881f66cbcedb38f06baf023e62f401504c00bb22db978c673bed65", "eval_seconds": 43.9921977519989, "comparisons": [{"control": "random_capacity_1024_halflr", "control_checkpoint_sha256": "ee69006629037179a8fd6d09233755cb8efceafb0a47494abceceea3cb7fae52", "control_skill": 0.3554524492447929, "delta": 0.013442818013703839, "group_deltas": {"term": {"long": 0.0033397515531831123, "medium": 0.012309654061819386, "short": 0.017977054056915742}, "domain": {"Econ/Fin": 0.00510841782644178, "Energy": 0.0068314022398318075, "Healthcare": 0.044124350077109575, "Nature": 0.00889952787877113, "Sales": -0.01528070306928675, "Transport": 0.013957714883501726, "Web/CloudOps": 0.02145147853869589}, "frequency": {"A": 0.0052669228994663975, "D": 0.01989583153330221, "H": 0.013594832826759662, "M": 0.016494248422365465, "Q": 0.013590528782953193, "S": -0.0019236370917936618, "T": 0.015723450391582294, "W": 0.00030354699621293335}, "variates": {"multivariate": 0.016468419650104593, "univariate": 0.010962291300326776}}}, {"control": "random_capacity_long_seasonal", "control_checkpoint_sha256": "ee958fba015de5c80d179675b31770cae282ec3daa05d2fe5e386859109abbf3", "control_skill": 0.3639185059935722, "delta": 0.004976761264924523, "group_deltas": {"term": {"long": -0.0003116469575604741, "medium": 0.00020503414609474024, "short": 0.009067772334266477}, "domain": {"Econ/Fin": -0.005591529756292846, "Energy": 0.0025838504979881494, "Healthcare": 0.018201473890991138, "Nature": 0.003924823911978681, "Sales": -0.0010761139301594946, "Transport": 0.01104926860670008, "Web/CloudOps": 0.0034175214874736515}, "frequency": {"A": 0.00811290452403235, "D": 0.01934791195642449, "H": 0.002856226273535767, "M": 0.023523626431643296, "Q": 0.02002420998813037, "S": -0.007352721208127466, "T": 0.005275532721162768, "W": -0.018891758300206507}, "variates": {"multivariate": -0.0016962189018291385, "univariate": 0.010518351775463008}}}], "decision": "Original24k main learning diagnostic only. Primary48k/final96k four-cutoff factorial and E184source gates remain unchanged; no early checkpoint selected.", "new_neural_inference": false, "new_training": false}. No additional training or inference. + +E181 window-mean auxiliary objective versus E80 12000 four-cutoff comparison: {"label": "E181 window-mean auxiliary objective versus E80 12000 four-cutoff comparison", "utc": "2026-10-24T04:52:13.113026+00:00", "candidate": "window_mean_loss_ema12000", "control": "overflow_control_ema12000", "rows": [{"cutoff": "evals", "candidate_skill": 0.3780893871046961, "control_skill": 0.37742394607564755, "delta": 0.0006654410290485302, "candidate_checkpoint": "b44d657b4aaa8ccc574df4fc738b0d0b5a0ded84a139416f79bc97afbe5eb15c", "control_checkpoint": "f11d056b95f1c5eeef174265ebc51742952600e0dae1fa52900860447d5be819", "candidate_eval_seconds": 49.94231081008911, "candidate_groups": {"term": {"long": {"n_configs": 21, "rel_mase_gmean": 0.7407906192516251, "rel_wql_gmean": 0.48042353627850953}, "medium": {"n_configs": 21, "rel_mase_gmean": 0.7138333233009443, "rel_wql_gmean": 0.49482051138313166}, "short": {"n_configs": 55, "rel_mase_gmean": 0.7561464270983506, "rel_wql_gmean": 0.5466325430313734}}, "domain": {"Econ/Fin": {"n_configs": 6, "rel_mase_gmean": 0.8841287303697009, "rel_wql_gmean": 0.8596217162744884}, "Energy": {"n_configs": 32, "rel_mase_gmean": 0.9015173244657193, "rel_wql_gmean": 0.6464630909033281}, "Healthcare": {"n_configs": 5, "rel_mase_gmean": 0.5859506997622329, "rel_wql_gmean": 0.5102941283469725}, "Nature": {"n_configs": 15, "rel_mase_gmean": 0.8055268640115566, "rel_wql_gmean": 0.4006089398837449}, "Sales": {"n_configs": 4, "rel_mase_gmean": 0.8586227460784747, "rel_wql_gmean": 0.5211869238620483}, "Transport": {"n_configs": 15, "rel_mase_gmean": 0.6509899132770477, "rel_wql_gmean": 0.4431957990659072}, "Web/CloudOps": {"n_configs": 20, "rel_mase_gmean": 0.5562160369069973, "rel_wql_gmean": 0.4355468824199773}}, "frequency": {"A": {"n_configs": 1, "rel_mase_gmean": 0.6271957414161198, "rel_wql_gmean": 0.6543278768485044}, "D": {"n_configs": 15, "rel_mase_gmean": 0.7793333387886551, "rel_wql_gmean": 0.540113595627592}, "H": {"n_configs": 31, "rel_mase_gmean": 0.7322660271086123, "rel_wql_gmean": 0.49928868115409064}, "M": {"n_configs": 5, "rel_mase_gmean": 0.9656005903077717, "rel_wql_gmean": 0.8182966281792421}, "Q": {"n_configs": 1, "rel_mase_gmean": 0.779895082755717, "rel_wql_gmean": 0.8252535067073306}, "S": {"n_configs": 6, "rel_mase_gmean": 0.653768954165975, "rel_wql_gmean": 0.5045670265440424}, "T": {"n_configs": 30, "rel_mase_gmean": 0.6919457389601733, "rel_wql_gmean": 0.4534600736652252}, "W": {"n_configs": 8, "rel_mase_gmean": 0.8973628665407666, "rel_wql_gmean": 0.6729692029211147}}, "variates": {"multivariate": {"n_configs": 43, "rel_mase_gmean": 0.7078377316892114, "rel_wql_gmean": 0.5121638432796846}, "univariate": {"n_configs": 54, "rel_mase_gmean": 0.7731193516173214, "rel_wql_gmean": 0.5267395371222551}}}, "control_groups": {"term": {"long": {"n_configs": 21, "rel_mase_gmean": 0.7430904415695668, "rel_wql_gmean": 0.4803877697002309}, "medium": {"n_configs": 21, "rel_mase_gmean": 0.7132918126148858, "rel_wql_gmean": 0.4952594111267713}, "short": {"n_configs": 55, "rel_mase_gmean": 0.7578628359813909, "rel_wql_gmean": 0.5467970503421377}}, "domain": {"Econ/Fin": {"n_configs": 6, "rel_mase_gmean": 0.8820089901245588, "rel_wql_gmean": 0.8576370610661226}, "Energy": {"n_configs": 32, "rel_mase_gmean": 0.9027748652932497, "rel_wql_gmean": 0.6461208417787276}, "Healthcare": {"n_configs": 5, "rel_mase_gmean": 0.5860981811462721, "rel_wql_gmean": 0.5145960110698827}, "Nature": {"n_configs": 15, "rel_mase_gmean": 0.8131107048238599, "rel_wql_gmean": 0.4016810458988802}, "Sales": {"n_configs": 4, "rel_mase_gmean": 0.8527673973406287, "rel_wql_gmean": 0.5213825017868637}, "Transport": {"n_configs": 15, "rel_mase_gmean": 0.6445705043805339, "rel_wql_gmean": 0.44151518253827515}, "Web/CloudOps": {"n_configs": 20, "rel_mase_gmean": 0.5611845549171244, "rel_wql_gmean": 0.43637179177338026}}, "frequency": {"A": {"n_configs": 1, "rel_mase_gmean": 0.6256068773709946, "rel_wql_gmean": 0.6531531717628165}, "D": {"n_configs": 15, "rel_mase_gmean": 0.7810498071209858, "rel_wql_gmean": 0.5387984968910804}, "H": {"n_configs": 31, "rel_mase_gmean": 0.7331074392934215, "rel_wql_gmean": 0.4999416190250625}, "M": {"n_configs": 5, "rel_mase_gmean": 0.9734095428884114, "rel_wql_gmean": 0.8253812557813238}, "Q": {"n_configs": 1, "rel_mase_gmean": 0.7799909436165716, "rel_wql_gmean": 0.8257926959351992}, "S": {"n_configs": 6, "rel_mase_gmean": 0.6551233447531275, "rel_wql_gmean": 0.5045264853695348}, "T": {"n_configs": 30, "rel_mase_gmean": 0.6915094659095177, "rel_wql_gmean": 0.4527256621835321}, "W": {"n_configs": 8, "rel_mase_gmean": 0.9056914149873438, "rel_wql_gmean": 0.6760727114446506}}, "variates": {"multivariate": {"n_configs": 43, "rel_mase_gmean": 0.7112247286748321, "rel_wql_gmean": 0.5124312426851864}, "univariate": {"n_configs": 54, "rel_mase_gmean": 0.7726699203226439, "rel_wql_gmean": 0.5268484105597512}}}, "group_skill_delta": {"term": {"long": 0.000903078621100617, "medium": 3.7952079933400995e-05, "short": 0.0008261150155017827}, "domain": {"Econ/Fin": -0.0020514519438284973, "Energy": 0.00033001249888808815, "Healthcare": 0.002369146105717368, "Nature": 0.003431035753139633, "Sales": -0.002159791359297003, "Transport": -0.003669264551783291, "Web/CloudOps": 0.002661398175913765}, "frequency": {"A": -0.0013865232899675783, "D": -7.71248569926275e-05, "H": 0.0007427574494792699, "M": 0.00744226500226286, "Q": 0.00031135738202858754, "S": 0.0005715176778383624, "T": -0.000630259901138186, "W": 0.005396003973918484}, "variates": {"multivariate": 0.0015963446775429935, "univariate": -0.00011958383161092545}}}, {"cutoff": "backcast_evals", "candidate_skill": 0.334425721100544, "control_skill": 0.33652833730727594, "delta": -0.002102616206731911, "candidate_checkpoint": "b44d657b4aaa8ccc574df4fc738b0d0b5a0ded84a139416f79bc97afbe5eb15c", "control_checkpoint": "f11d056b95f1c5eeef174265ebc51742952600e0dae1fa52900860447d5be819", "candidate_eval_seconds": 36.714271068573, "candidate_groups": {"term": {"long": {"n_configs": 21, "rel_mase_gmean": 0.7849153794142654, "rel_wql_gmean": 0.4678428555438139}, "medium": {"n_configs": 21, "rel_mase_gmean": 0.7738187535132197, "rel_wql_gmean": 0.5333745625293136}, "short": {"n_configs": 55, "rel_mase_gmean": 0.8180708001002699, "rel_wql_gmean": 0.597639112027343}}, "domain": {"Econ/Fin": {"n_configs": 6, "rel_mase_gmean": 0.8794935092726199, "rel_wql_gmean": 0.817721627015258}, "Energy": {"n_configs": 32, "rel_mase_gmean": 0.8889712040215999, "rel_wql_gmean": 0.668356375940647}, "Healthcare": {"n_configs": 5, "rel_mase_gmean": 0.6209602432557081, "rel_wql_gmean": 0.5369997834711281}, "Nature": {"n_configs": 15, "rel_mase_gmean": 0.9435875254956732, "rel_wql_gmean": 0.43542234344654296}, "Sales": {"n_configs": 4, "rel_mase_gmean": 0.7365786708997022, "rel_wql_gmean": 0.4989871698725488}, "Transport": {"n_configs": 15, "rel_mase_gmean": 0.743305834301051, "rel_wql_gmean": 0.5329243278816711}, "Web/CloudOps": {"n_configs": 20, "rel_mase_gmean": 0.6685716674039747, "rel_wql_gmean": 0.4593122250567883}}, "frequency": {"A": {"n_configs": 1, "rel_mase_gmean": 0.6466958753488369, "rel_wql_gmean": 0.7254219593720439}, "D": {"n_configs": 15, "rel_mase_gmean": 0.8433168617979687, "rel_wql_gmean": 0.500511604714918}, "H": {"n_configs": 31, "rel_mase_gmean": 0.7809160312856058, "rel_wql_gmean": 0.5155732069317669}, "M": {"n_configs": 5, "rel_mase_gmean": 0.8589597396685462, "rel_wql_gmean": 0.784352130899079}, "Q": {"n_configs": 1, "rel_mase_gmean": 0.7652905554742019, "rel_wql_gmean": 0.7779594170966511}, "S": {"n_configs": 6, "rel_mase_gmean": 0.8536560358418452, "rel_wql_gmean": 0.50806885653886}, "T": {"n_configs": 30, "rel_mase_gmean": 0.7734346114657332, "rel_wql_gmean": 0.5779964279469713}, "W": {"n_configs": 8, "rel_mase_gmean": 0.8636769366372908, "rel_wql_gmean": 0.5878814479680939}}, "variates": {"multivariate": {"n_configs": 43, "rel_mase_gmean": 0.7927271754358759, "rel_wql_gmean": 0.5313546829489123}, "univariate": {"n_configs": 54, "rel_mase_gmean": 0.8077818809826408, "rel_wql_gmean": 0.5708549084730768}}}, "control_groups": {"term": {"long": {"n_configs": 21, "rel_mase_gmean": 0.7791999311006992, "rel_wql_gmean": 0.4659792452594256}, "medium": {"n_configs": 21, "rel_mase_gmean": 0.7710406727836745, "rel_wql_gmean": 0.5333113680139498}, "short": {"n_configs": 55, "rel_mase_gmean": 0.815154118317558, "rel_wql_gmean": 0.596530868139981}}, "domain": {"Econ/Fin": {"n_configs": 6, "rel_mase_gmean": 0.8754973298713973, "rel_wql_gmean": 0.8157069069366086}, "Energy": {"n_configs": 32, "rel_mase_gmean": 0.8880158890798259, "rel_wql_gmean": 0.6677066701972586}, "Healthcare": {"n_configs": 5, "rel_mase_gmean": 0.6235821127455097, "rel_wql_gmean": 0.5405407165775942}, "Nature": {"n_configs": 15, "rel_mase_gmean": 0.933606860676274, "rel_wql_gmean": 0.4340037728321772}, "Sales": {"n_configs": 4, "rel_mase_gmean": 0.7343890716300152, "rel_wql_gmean": 0.49893240567123487}, "Transport": {"n_configs": 15, "rel_mase_gmean": 0.7389889324657989, "rel_wql_gmean": 0.5315819911881067}, "Web/CloudOps": {"n_configs": 20, "rel_mase_gmean": 0.6643730331767335, "rel_wql_gmean": 0.45729311789913757}}, "frequency": {"A": {"n_configs": 1, "rel_mase_gmean": 0.6445434372547929, "rel_wql_gmean": 0.724090215239997}, "D": {"n_configs": 15, "rel_mase_gmean": 0.8386815774822007, "rel_wql_gmean": 0.5001256118650457}, "H": {"n_configs": 31, "rel_mase_gmean": 0.7779220228454703, "rel_wql_gmean": 0.5152698021677109}, "M": {"n_configs": 5, "rel_mase_gmean": 0.8546325349093246, "rel_wql_gmean": 0.7856916887479788}, "Q": {"n_configs": 1, "rel_mase_gmean": 0.7640852146217055, "rel_wql_gmean": 0.7788691447566721}, "S": {"n_configs": 6, "rel_mase_gmean": 0.8532609264720655, "rel_wql_gmean": 0.507658310446713}, "T": {"n_configs": 30, "rel_mase_gmean": 0.767260085607915, "rel_wql_gmean": 0.5746866456036881}, "W": {"n_configs": 8, "rel_mase_gmean": 0.869060480798712, "rel_wql_gmean": 0.5886681671106037}}, "variates": {"multivariate": {"n_configs": 43, "rel_mase_gmean": 0.7899223594259315, "rel_wql_gmean": 0.5301365087279752}, "univariate": {"n_configs": 54, "rel_mase_gmean": 0.803707925134896, "rel_wql_gmean": 0.5699074661266276}}}, "group_skill_delta": {"term": {"long": -0.003414042158010777, "medium": -0.0011922461964396502, "short": -0.0018950380984887882}, "domain": {"Econ/Fin": -0.002971820002626857, "Energy": -0.0007888199043889488, "Healthcare": 0.0031225367858798148, "Nature": -0.004438411010277643, "Sales": -0.0009349837717789189, "Transport": -0.002621148586892441, "Web/CloudOps": -0.0029582883214474}, "frequency": {"A": -0.0017687396310241965, "D": -0.002037828870229741, "H": -0.0014039103915775009, "M": -0.0013712713888266448, "Q": -0.0001572199648578465, "S": -0.00041849752295741727, "T": -0.004583618257363531, "W": 0.0026954465488029378}, "variates": {"multivariate": -0.0018922514987645966, "univariate": -0.002276879924265507}}}, {"cutoff": "backcast2_evals", "candidate_skill": 0.3587148645332695, "control_skill": 0.36097346960650367, "delta": -0.0022586050732341656, "candidate_checkpoint": "b44d657b4aaa8ccc574df4fc738b0d0b5a0ded84a139416f79bc97afbe5eb15c", "control_checkpoint": "f11d056b95f1c5eeef174265ebc51742952600e0dae1fa52900860447d5be819", "candidate_eval_seconds": 24.031373262405396, "candidate_groups": {"term": {"long": {"n_configs": 19, "rel_mase_gmean": 0.8015079137539542, "rel_wql_gmean": 0.5061339729359925}, "medium": {"n_configs": 21, "rel_mase_gmean": 0.760721182723113, "rel_wql_gmean": 0.493814395808442}, "short": {"n_configs": 54, "rel_mase_gmean": 0.7664506175310868, "rel_wql_gmean": 0.5584608554134463}}, "domain": {"Econ/Fin": {"n_configs": 6, "rel_mase_gmean": 0.8932892770117863, "rel_wql_gmean": 0.9089776540760443}, "Energy": {"n_configs": 32, "rel_mase_gmean": 0.8985805083919539, "rel_wql_gmean": 0.6470079007723372}, "Healthcare": {"n_configs": 5, "rel_mase_gmean": 0.6866495190613945, "rel_wql_gmean": 0.5877320416939213}, "Nature": {"n_configs": 15, "rel_mase_gmean": 0.7703669589991855, "rel_wql_gmean": 0.3656269591914925}, "Sales": {"n_configs": 3, "rel_mase_gmean": 0.5729723688114752, "rel_wql_gmean": 0.36349230217267064}, "Transport": {"n_configs": 14, "rel_mase_gmean": 0.6693200436330595, "rel_wql_gmean": 0.5015281659454845}, "Web/CloudOps": {"n_configs": 19, "rel_mase_gmean": 0.6872298521683294, "rel_wql_gmean": 0.4720615884143282}}, "frequency": {"A": {"n_configs": 1, "rel_mase_gmean": 0.5839147936746848, "rel_wql_gmean": 0.7229437218517439}, "D": {"n_configs": 15, "rel_mase_gmean": 0.731933635558666, "rel_wql_gmean": 0.45141297344317116}, "H": {"n_configs": 30, "rel_mase_gmean": 0.7593000679439742, "rel_wql_gmean": 0.49004149023088583}, "M": {"n_configs": 4, "rel_mase_gmean": 0.8298405538332388, "rel_wql_gmean": 0.8524633950684267}, "Q": {"n_configs": 1, "rel_mase_gmean": 0.8348899905462488, "rel_wql_gmean": 0.8755038017263368}, "S": {"n_configs": 6, "rel_mase_gmean": 0.9107166825040975, "rel_wql_gmean": 0.5699534023670502}, "T": {"n_configs": 29, "rel_mase_gmean": 0.7591852527406863, "rel_wql_gmean": 0.5417890632263233}, "W": {"n_configs": 8, "rel_mase_gmean": 0.8443812961407583, "rel_wql_gmean": 0.6341829153051265}}, "variates": {"multivariate": {"n_configs": 42, "rel_mase_gmean": 0.7857014622598862, "rel_wql_gmean": 0.5181087681803893}, "univariate": {"n_configs": 52, "rel_mase_gmean": 0.7613137908793333, "rel_wql_gmean": 0.544642784050651}}}, "control_groups": {"term": {"long": {"n_configs": 19, "rel_mase_gmean": 0.7998283729290717, "rel_wql_gmean": 0.5048537403572065}, "medium": {"n_configs": 21, "rel_mase_gmean": 0.7567348346553658, "rel_wql_gmean": 0.49139307103243485}, "short": {"n_configs": 54, "rel_mase_gmean": 0.762930601340605, "rel_wql_gmean": 0.5572913926751922}}, "domain": {"Econ/Fin": {"n_configs": 6, "rel_mase_gmean": 0.8902018742574637, "rel_wql_gmean": 0.9080828126396094}, "Energy": {"n_configs": 32, "rel_mase_gmean": 0.8967112467195689, "rel_wql_gmean": 0.6466666398782791}, "Healthcare": {"n_configs": 5, "rel_mase_gmean": 0.6908821587788814, "rel_wql_gmean": 0.5905411593557701}, "Nature": {"n_configs": 15, "rel_mase_gmean": 0.7593906111647103, "rel_wql_gmean": 0.3630649835252516}, "Sales": {"n_configs": 3, "rel_mase_gmean": 0.5660049516474805, "rel_wql_gmean": 0.36083556795060334}, "Transport": {"n_configs": 14, "rel_mase_gmean": 0.6692141236302525, "rel_wql_gmean": 0.5019337855870213}, "Web/CloudOps": {"n_configs": 19, "rel_mase_gmean": 0.6840578993103755, "rel_wql_gmean": 0.46836362238870816}}, "frequency": {"A": {"n_configs": 1, "rel_mase_gmean": 0.5819380993584167, "rel_wql_gmean": 0.723948814143525}, "D": {"n_configs": 15, "rel_mase_gmean": 0.7300802327867975, "rel_wql_gmean": 0.44973000047782175}, "H": {"n_configs": 30, "rel_mase_gmean": 0.7573152418388004, "rel_wql_gmean": 0.4905218098483386}, "M": {"n_configs": 4, "rel_mase_gmean": 0.825511662103245, "rel_wql_gmean": 0.8525433006612966}, "Q": {"n_configs": 1, "rel_mase_gmean": 0.8348196873036913, "rel_wql_gmean": 0.8792738256086735}, "S": {"n_configs": 6, "rel_mase_gmean": 0.9101844597610753, "rel_wql_gmean": 0.5693250695338232}, "T": {"n_configs": 29, "rel_mase_gmean": 0.75556464168385, "rel_wql_gmean": 0.5377684583538125}, "W": {"n_configs": 8, "rel_mase_gmean": 0.8322603650379057, "rel_wql_gmean": 0.6324937767638193}}, "variates": {"multivariate": {"n_configs": 42, "rel_mase_gmean": 0.782445957809565, "rel_wql_gmean": 0.5156982204614814}, "univariate": {"n_configs": 52, "rel_mase_gmean": 0.7580358480370438, "rel_wql_gmean": 0.543923941651618}}}, "group_skill_delta": {"term": {"long": -0.0014728700069045475, "medium": -0.0031085298550767027, "short": -0.0021878729177799983}, "domain": {"Econ/Fin": -0.0020014305112336928, "Energy": -0.000994394278722055, "Healthcare": 0.003475967791209955, "Nature": -0.005643849722395067, "Sales": -0.00444387216517822, "Transport": 0.00018838111249996903, "Web/CloudOps": -0.003546117994978615}, "frequency": {"A": -0.0006499401387641823, "D": -0.0017993771743766152, "H": -0.0004993052983760515, "M": -0.002157303897803775, "Q": 0.0018027187676445955, "S": -0.0006076723834762543, "T": -0.0039095575224840085, "W": -0.006239377731886986}, "variates": {"multivariate": -0.002806073384120311, "univariate": -0.0018119238942667648}}}, {"cutoff": "backcast3_evals", "candidate_skill": 0.3874924855427505, "control_skill": 0.3874814849803516, "delta": 1.100056239888847e-05, "candidate_checkpoint": "b44d657b4aaa8ccc574df4fc738b0d0b5a0ded84a139416f79bc97afbe5eb15c", "control_checkpoint": "f11d056b95f1c5eeef174265ebc51742952600e0dae1fa52900860447d5be819", "candidate_eval_seconds": 81.52344942092896, "candidate_groups": {"term": {"long": {"n_configs": 19, "rel_mase_gmean": 0.769547802006147, "rel_wql_gmean": 0.4764353562071715}, "medium": {"n_configs": 20, "rel_mase_gmean": 0.7769894484251948, "rel_wql_gmean": 0.5327457219564756}, "short": {"n_configs": 54, "rel_mase_gmean": 0.7174393577893736, "rel_wql_gmean": 0.508312652892986}}, "domain": {"Econ/Fin": {"n_configs": 6, "rel_mase_gmean": 0.8389290835051479, "rel_wql_gmean": 0.8334115422408959}, "Energy": {"n_configs": 32, "rel_mase_gmean": 0.8379745940871098, "rel_wql_gmean": 0.5554722992714917}, "Healthcare": {"n_configs": 5, "rel_mase_gmean": 0.8021520903769388, "rel_wql_gmean": 0.6613108169002809}, "Nature": {"n_configs": 15, "rel_mase_gmean": 0.7228014395211573, "rel_wql_gmean": 0.34128893327850485}, "Sales": {"n_configs": 3, "rel_mase_gmean": 0.755297552327153, "rel_wql_gmean": 0.478589880061003}, "Transport": {"n_configs": 14, "rel_mase_gmean": 0.5449062687289604, "rel_wql_gmean": 0.45098412113993674}, "Web/CloudOps": {"n_configs": 18, "rel_mase_gmean": 0.7192660916305998, "rel_wql_gmean": 0.5202742159948124}}, "frequency": {"A": {"n_configs": 1, "rel_mase_gmean": 0.5287995932011477, "rel_wql_gmean": 0.7874659500513275}, "D": {"n_configs": 15, "rel_mase_gmean": 0.7410717228110253, "rel_wql_gmean": 0.4293124756494662}, "H": {"n_configs": 29, "rel_mase_gmean": 0.7313906166925904, "rel_wql_gmean": 0.48993293033946683}, "M": {"n_configs": 4, "rel_mase_gmean": 0.8599784952739934, "rel_wql_gmean": 0.8508653309817236}, "Q": {"n_configs": 1, "rel_mase_gmean": 0.7150074128115137, "rel_wql_gmean": 0.7687277519947802}, "S": {"n_configs": 6, "rel_mase_gmean": 0.8428865375861841, "rel_wql_gmean": 0.6016415826385516}, "T": {"n_configs": 29, "rel_mase_gmean": 0.7109483985088652, "rel_wql_gmean": 0.4627717481456909}, "W": {"n_configs": 8, "rel_mase_gmean": 0.7891945711738604, "rel_wql_gmean": 0.6616195866309915}}, "variates": {"multivariate": {"n_configs": 41, "rel_mase_gmean": 0.7665540120183965, "rel_wql_gmean": 0.5141952272462067}, "univariate": {"n_configs": 52, "rel_mase_gmean": 0.7203710907687293, "rel_wql_gmean": 0.5009053554575519}}}, "control_groups": {"term": {"long": {"n_configs": 19, "rel_mase_gmean": 0.7675699458528298, "rel_wql_gmean": 0.476452132158557}, "medium": {"n_configs": 20, "rel_mase_gmean": 0.773141221801274, "rel_wql_gmean": 0.5311688105422268}, "short": {"n_configs": 54, "rel_mase_gmean": 0.7189800356855841, "rel_wql_gmean": 0.5092012481102669}}, "domain": {"Econ/Fin": {"n_configs": 6, "rel_mase_gmean": 0.8366494448197422, "rel_wql_gmean": 0.8335501433013701}, "Energy": {"n_configs": 32, "rel_mase_gmean": 0.8362673307045482, "rel_wql_gmean": 0.5558565966414833}, "Healthcare": {"n_configs": 5, "rel_mase_gmean": 0.7992789325648234, "rel_wql_gmean": 0.663313586611861}, "Nature": {"n_configs": 15, "rel_mase_gmean": 0.7270958326307262, "rel_wql_gmean": 0.3416485868534862}, "Sales": {"n_configs": 3, "rel_mase_gmean": 0.7558002187371488, "rel_wql_gmean": 0.47806361106286926}, "Transport": {"n_configs": 14, "rel_mase_gmean": 0.5447632408986202, "rel_wql_gmean": 0.45146185813227047}, "Web/CloudOps": {"n_configs": 18, "rel_mase_gmean": 0.7184671561660497, "rel_wql_gmean": 0.5194115372422989}}, "frequency": {"A": {"n_configs": 1, "rel_mase_gmean": 0.5301621193542202, "rel_wql_gmean": 0.8023624756576537}, "D": {"n_configs": 15, "rel_mase_gmean": 0.7320022964105988, "rel_wql_gmean": 0.42747341049868826}, "H": {"n_configs": 29, "rel_mase_gmean": 0.7284419538124913, "rel_wql_gmean": 0.48986156448616525}, "M": {"n_configs": 4, "rel_mase_gmean": 0.8692971155035826, "rel_wql_gmean": 0.8573561489309673}, "Q": {"n_configs": 1, "rel_mase_gmean": 0.7145578258684864, "rel_wql_gmean": 0.7671041544075885}, "S": {"n_configs": 6, "rel_mase_gmean": 0.8434376506034783, "rel_wql_gmean": 0.6004240857745707}, "T": {"n_configs": 29, "rel_mase_gmean": 0.7091796225957213, "rel_wql_gmean": 0.4627952794263764}, "W": {"n_configs": 8, "rel_mase_gmean": 0.8186104789687557, "rel_wql_gmean": 0.6672650133055504}}, "variates": {"multivariate": {"n_configs": 41, "rel_mase_gmean": 0.7652944038188929, "rel_wql_gmean": 0.5141740641844628}, "univariate": {"n_configs": 52, "rel_mase_gmean": 0.7208570784782143, "rel_wql_gmean": 0.5012656144320912}}}, "group_skill_delta": {"term": {"long": -0.0007679781888344506, "medium": -0.0025457602520213563, "short": 0.0011762440318361378}, "domain": {"Econ/Fin": -0.0010674056080759442, "Energy": -0.0004596328241867065, "Healthcare": -0.00020548300639788852, "Nature": 0.0017356678285853078, "Sales": -0.00013073216832248935, "Transport": 0.00019739874669977286, "Web/CloudOps": -0.0008469311488531472}, "frequency": {"A": 0.006913623741875208, "D": -0.00466410827009911, "H": -0.001251400947892778, "M": 0.007896209768125884, "Q": -0.001016209381848654, "S": -0.0004883644674629206, "T": -0.0006994012610187506, "W": 0.01647672224641561}, "variates": {"multivariate": -0.0005289413261678755, "univariate": 0.0004186413651500187}}}], "mean_delta": -0.0009211949221296645, "positive_cutoffs": 2, "outcome": "Declared comparison checkpoints 6000,12000. No transfer formula or automatic publication is selected by this controller."} + +2026-10-24T04:52:22.626348+00:00: Scheduled main-cutoff learning diagnostic {"utc": "2026-10-24T04:52:22.626348+00:00", "experiment": "E181", "run": "window_mean_loss", "step": 12000, "skill": 0.3780893871046961, "checkpoint_sha256": "b44d657b4aaa8ccc574df4fc738b0d0b5a0ded84a139416f79bc97afbe5eb15c", "eval_seconds": 49.94231081008911, "comparisons": [{"control": "overflow_control", "control_checkpoint_sha256": "f11d056b95f1c5eeef174265ebc51742952600e0dae1fa52900860447d5be819", "control_skill": 0.37742394607564755, "delta": 0.0006654410290485302, "group_deltas": {"term": {"long": 0.000903078621100617, "medium": 3.7952079933400995e-05, "short": 0.0008261150155017827}, "domain": {"Econ/Fin": -0.0020514519438284973, "Energy": 0.00033001249888808815, "Healthcare": 0.002369146105717368, "Nature": 0.003431035753139633, "Sales": -0.002159791359297003, "Transport": -0.003669264551783291, "Web/CloudOps": 0.0026613981759137095}, "frequency": {"A": -0.0013865232899675783, "D": -7.71248569926275e-05, "H": 0.0007427574494792699, "M": 0.00744226500226286, "Q": 0.00031135738202858754, "S": 0.0005715176778383624, "T": -0.000630259901138186, "W": 0.005396003973918484}, "variates": {"multivariate": 0.0015963446775429935, "univariate": -0.00011958383161092545}}}], "decision": "Original final12k four-cutoff source comparison fails; no automatic transfer or publication. Main outcome is interpreted with all original cutoffs.", "new_neural_inference": false, "new_training": false}. No additional training or inference. + +2026-10-24T04:52:24.442633+00:00: E181 matched error-structure diagnostic {"utc": "2026-10-24T04:52:24.442633+00:00", "experiment": "E181", "step": 12000, "cutoff": "valid_screen", "candidate_checkpoint_sha256": "b44d657b4aaa8ccc574df4fc738b0d0b5a0ded84a139416f79bc97afbe5eb15c", "control_checkpoint_sha256": "f11d056b95f1c5eeef174265ebc51742952600e0dae1fa52900860447d5be819", "overall": {"configs": 97, "mase_geometric_ratio": 0.9982091993903595, "mase_improved_configs": 56, "absolute_window_mean_error_geometric_ratio": 0.9678160048985583, "absolute_window_mean_error_improved_configs": 64}, "groups": {"term": {"long": {"configs": 21, "mase_geometric_ratio": 0.996905057326422, "mase_improved_configs": 11, "absolute_window_mean_error_geometric_ratio": 0.9554803036619273, "absolute_window_mean_error_improved_configs": 14}, "medium": {"configs": 21, "mase_geometric_ratio": 1.000759171318781, "mase_improved_configs": 12, "absolute_window_mean_error_geometric_ratio": 0.9519869358683896, "absolute_window_mean_error_improved_configs": 16}, "short": {"configs": 55, "mase_geometric_ratio": 0.9977351985061812, "mase_improved_configs": 33, "absolute_window_mean_error_geometric_ratio": 0.9787109378054666, "absolute_window_mean_error_improved_configs": 34}}, "domain": {"Econ/Fin": {"configs": 6, "mase_geometric_ratio": 1.0024033091146187, "mase_improved_configs": 3, "absolute_window_mean_error_geometric_ratio": 1.0026763234073603, "absolute_window_mean_error_improved_configs": 3}, "Energy": {"configs": 32, "mase_geometric_ratio": 0.9986070272048149, "mase_improved_configs": 19, "absolute_window_mean_error_geometric_ratio": 0.992957626648515, "absolute_window_mean_error_improved_configs": 17}, "Healthcare": {"configs": 5, "mase_geometric_ratio": 0.9997483674428901, "mase_improved_configs": 4, "absolute_window_mean_error_geometric_ratio": 1.151652401664784, "absolute_window_mean_error_improved_configs": 3}, "Nature": {"configs": 15, "mase_geometric_ratio": 0.9906730525532238, "mase_improved_configs": 8, "absolute_window_mean_error_geometric_ratio": 0.893746442911084, "absolute_window_mean_error_improved_configs": 11}, "Sales": {"configs": 4, "mase_geometric_ratio": 1.0068662905689243, "mase_improved_configs": 2, "absolute_window_mean_error_geometric_ratio": 0.9588625857074738, "absolute_window_mean_error_improved_configs": 3}, "Transport": {"configs": 15, "mase_geometric_ratio": 1.0099592036137042, "mase_improved_configs": 6, "absolute_window_mean_error_geometric_ratio": 0.9626829915641485, "absolute_window_mean_error_improved_configs": 11}, "Web/CloudOps": {"configs": 20, "mase_geometric_ratio": 0.9911463742781356, "mase_improved_configs": 14, "absolute_window_mean_error_geometric_ratio": 0.9396213102398228, "absolute_window_mean_error_improved_configs": 16}}, "frequency": {"10S": {"configs": 6, "mase_geometric_ratio": 0.9979326174254057, "mase_improved_configs": 5, "absolute_window_mean_error_geometric_ratio": 0.9925211208212845, "absolute_window_mean_error_improved_configs": 3}, "10T": {"configs": 6, "mase_geometric_ratio": 0.9964493121497316, "mase_improved_configs": 4, "absolute_window_mean_error_geometric_ratio": 0.9949437009290161, "absolute_window_mean_error_improved_configs": 4}, "15T": {"configs": 12, "mase_geometric_ratio": 1.000860259704463, "mase_improved_configs": 8, "absolute_window_mean_error_geometric_ratio": 0.979918323163453, "absolute_window_mean_error_improved_configs": 9}, "5T": {"configs": 12, "mase_geometric_ratio": 1.0024984810585804, "mase_improved_configs": 5, "absolute_window_mean_error_geometric_ratio": 0.9594058877773489, "absolute_window_mean_error_improved_configs": 9}, "A-DEC": {"configs": 1, "mase_geometric_ratio": 1.0025397163979433, "mase_improved_configs": 0, "absolute_window_mean_error_geometric_ratio": 1.0028496970460343, "absolute_window_mean_error_improved_configs": 0}, "D": {"configs": 15, "mase_geometric_ratio": 0.9978023573955447, "mase_improved_configs": 9, "absolute_window_mean_error_geometric_ratio": 0.9801188981663889, "absolute_window_mean_error_improved_configs": 9}, "H": {"configs": 31, "mase_geometric_ratio": 0.9988522662031364, "mase_improved_configs": 16, "absolute_window_mean_error_geometric_ratio": 0.9549771199558457, "absolute_window_mean_error_improved_configs": 21}, "M": {"configs": 5, "mase_geometric_ratio": 0.9919777316365032, "mase_improved_configs": 4, "absolute_window_mean_error_geometric_ratio": 0.9700404200377075, "absolute_window_mean_error_improved_configs": 3}, "Q-DEC": {"configs": 1, "mase_geometric_ratio": 0.9998771000334823, "mase_improved_configs": 1, "absolute_window_mean_error_geometric_ratio": 0.9994242897112298, "absolute_window_mean_error_improved_configs": 1}, "W-FRI": {"configs": 2, "mase_geometric_ratio": 1.0009832935982073, "mase_improved_configs": 1, "absolute_window_mean_error_geometric_ratio": 0.998071466543115, "absolute_window_mean_error_improved_configs": 1}, "W-SUN": {"configs": 1, "mase_geometric_ratio": 1.0077293961798144, "mase_improved_configs": 0, "absolute_window_mean_error_geometric_ratio": 1.0097526874283513, "absolute_window_mean_error_improved_configs": 0}, "W-THU": {"configs": 3, "mase_geometric_ratio": 0.9782863808668634, "mase_improved_configs": 2, "absolute_window_mean_error_geometric_ratio": 0.8635479256315799, "absolute_window_mean_error_improved_configs": 2}, "W-TUE": {"configs": 1, "mase_geometric_ratio": 0.9797125347667182, "mase_improved_configs": 1, "absolute_window_mean_error_geometric_ratio": 0.9798976906442535, "absolute_window_mean_error_improved_configs": 1}, "W-WED": {"configs": 1, "mase_geometric_ratio": 1.0027864836367626, "mase_improved_configs": 0, "absolute_window_mean_error_geometric_ratio": 0.9769857355447445, "absolute_window_mean_error_improved_configs": 1}}}, "candidate_diagnostic_seconds": 0.7044894502032548, "control_diagnostic_seconds": 0.6728071561083198, "analysis_seconds": 0.006615090882405639, "optimizer_updates": 0, "new_neural_inference": false, "interpretation": "Ratios below1 indicate improvement against the matched E80checkpoint. Absolute per-window mean error is a descriptive Jensen bound, not recoverable error. Lower mean-error can coexist with higher pointwiseMASE, as observed in some groups; it does not justify a correction or prove causality. This uses an adaptively observed validation panel and an explicit deterministic-mode difference, not independent test data. No hyperparameters, endpoint choices or forecasts changed."} + +2026-10-24T04:52:26.693464+00:00: E181 matched error-structure diagnostic {"utc": "2026-10-24T04:52:26.693464+00:00", "experiment": "E181", "step": 12000, "cutoff": "valid_backcast", "candidate_checkpoint_sha256": "b44d657b4aaa8ccc574df4fc738b0d0b5a0ded84a139416f79bc97afbe5eb15c", "control_checkpoint_sha256": "f11d056b95f1c5eeef174265ebc51742952600e0dae1fa52900860447d5be819", "overall": {"configs": 97, "mase_geometric_ratio": 1.0043956502406768, "mase_improved_configs": 42, "absolute_window_mean_error_geometric_ratio": 0.9750369386416232, "absolute_window_mean_error_improved_configs": 62}, "groups": {"term": {"long": {"configs": 21, "mase_geometric_ratio": 1.0073350215848873, "mase_improved_configs": 7, "absolute_window_mean_error_geometric_ratio": 0.9757770130230867, "absolute_window_mean_error_improved_configs": 11}, "medium": {"configs": 21, "mase_geometric_ratio": 1.0036030274765084, "mase_improved_configs": 12, "absolute_window_mean_error_geometric_ratio": 0.9628233463347184, "absolute_window_mean_error_improved_configs": 14}, "short": {"configs": 55, "mase_geometric_ratio": 1.0035780740318552, "mase_improved_configs": 23, "absolute_window_mean_error_geometric_ratio": 0.9794572868516127, "absolute_window_mean_error_improved_configs": 37}}, "domain": {"Econ/Fin": {"configs": 6, "mase_geometric_ratio": 1.0045644678343106, "mase_improved_configs": 1, "absolute_window_mean_error_geometric_ratio": 1.0045269946869024, "absolute_window_mean_error_improved_configs": 1}, "Energy": {"configs": 32, "mase_geometric_ratio": 1.0010757858654578, "mase_improved_configs": 16, "absolute_window_mean_error_geometric_ratio": 1.0008235335029738, "absolute_window_mean_error_improved_configs": 19}, "Healthcare": {"configs": 5, "mase_geometric_ratio": 0.9957954703378871, "mase_improved_configs": 4, "absolute_window_mean_error_geometric_ratio": 1.073709741469126, "absolute_window_mean_error_improved_configs": 3}, "Nature": {"configs": 15, "mase_geometric_ratio": 1.0106904364564862, "mase_improved_configs": 4, "absolute_window_mean_error_geometric_ratio": 0.9461265657501264, "absolute_window_mean_error_improved_configs": 7}, "Sales": {"configs": 4, "mase_geometric_ratio": 1.002981524854158, "mase_improved_configs": 1, "absolute_window_mean_error_geometric_ratio": 0.940952561967943, "absolute_window_mean_error_improved_configs": 4}, "Transport": {"configs": 15, "mase_geometric_ratio": 1.005841632595021, "mase_improved_configs": 9, "absolute_window_mean_error_geometric_ratio": 0.9682965040290205, "absolute_window_mean_error_improved_configs": 12}, "Web/CloudOps": {"configs": 20, "mase_geometric_ratio": 1.0063196939333392, "mase_improved_configs": 7, "absolute_window_mean_error_geometric_ratio": 0.9368891661510867, "absolute_window_mean_error_improved_configs": 16}}, "frequency": {"10S": {"configs": 6, "mase_geometric_ratio": 1.0004630580840181, "mase_improved_configs": 3, "absolute_window_mean_error_geometric_ratio": 1.0066478493366202, "absolute_window_mean_error_improved_configs": 5}, "10T": {"configs": 6, "mase_geometric_ratio": 0.9996303404868743, "mase_improved_configs": 4, "absolute_window_mean_error_geometric_ratio": 1.00749977912842, "absolute_window_mean_error_improved_configs": 3}, "15T": {"configs": 12, "mase_geometric_ratio": 1.0138587854483252, "mase_improved_configs": 5, "absolute_window_mean_error_geometric_ratio": 1.0173885821818869, "absolute_window_mean_error_improved_configs": 7}, "5T": {"configs": 12, "mase_geometric_ratio": 1.0064803705428722, "mase_improved_configs": 4, "absolute_window_mean_error_geometric_ratio": 0.9332117872562034, "absolute_window_mean_error_improved_configs": 9}, "A-DEC": {"configs": 1, "mase_geometric_ratio": 1.0033394771704007, "mase_improved_configs": 0, "absolute_window_mean_error_geometric_ratio": 1.0031026530194607, "absolute_window_mean_error_improved_configs": 0}, "D": {"configs": 15, "mase_geometric_ratio": 1.005526870316722, "mase_improved_configs": 7, "absolute_window_mean_error_geometric_ratio": 0.9127755153331728, "absolute_window_mean_error_improved_configs": 13}, "H": {"configs": 31, "mase_geometric_ratio": 1.0038487256462854, "mase_improved_configs": 13, "absolute_window_mean_error_geometric_ratio": 0.9676581734251696, "absolute_window_mean_error_improved_configs": 18}, "M": {"configs": 5, "mase_geometric_ratio": 1.0050632342936496, "mase_improved_configs": 2, "absolute_window_mean_error_geometric_ratio": 1.0857406785360968, "absolute_window_mean_error_improved_configs": 2}, "Q-DEC": {"configs": 1, "mase_geometric_ratio": 1.001577495323075, "mase_improved_configs": 0, "absolute_window_mean_error_geometric_ratio": 1.0006769754796427, "absolute_window_mean_error_improved_configs": 0}, "W-FRI": {"configs": 2, "mase_geometric_ratio": 0.9933931458007268, "mase_improved_configs": 2, "absolute_window_mean_error_geometric_ratio": 0.9767596481553404, "absolute_window_mean_error_improved_configs": 2}, "W-SUN": {"configs": 1, "mase_geometric_ratio": 1.0124856690788877, "mase_improved_configs": 0, "absolute_window_mean_error_geometric_ratio": 1.0132118630968618, "absolute_window_mean_error_improved_configs": 0}, "W-THU": {"configs": 3, "mase_geometric_ratio": 0.98136636403106, "mase_improved_configs": 2, "absolute_window_mean_error_geometric_ratio": 0.9193587032733603, "absolute_window_mean_error_improved_configs": 2}, "W-TUE": {"configs": 1, "mase_geometric_ratio": 1.0014227827990596, "mase_improved_configs": 0, "absolute_window_mean_error_geometric_ratio": 1.4395100030384929, "absolute_window_mean_error_improved_configs": 0}, "W-WED": {"configs": 1, "mase_geometric_ratio": 1.0061631126478323, "mase_improved_configs": 0, "absolute_window_mean_error_geometric_ratio": 0.9809517696226874, "absolute_window_mean_error_improved_configs": 1}}}, "candidate_diagnostic_seconds": 0.6646504860837013, "control_diagnostic_seconds": 1.0962314058560878, "analysis_seconds": 0.011857758043333888, "optimizer_updates": 0, "new_neural_inference": false, "interpretation": "Ratios below1 indicate improvement against the matched E80checkpoint. Absolute per-window mean error is a descriptive Jensen bound, not recoverable error. Lower mean-error can coexist with higher pointwiseMASE, as observed in some groups; it does not justify a correction or prove causality. This uses an adaptively observed validation panel and an explicit deterministic-mode difference, not independent test data. No hyperparameters, endpoint choices or forecasts changed."} + +2026-10-24T04:52:31.394302+00:00: E181 matched error-structure diagnostic {"utc": "2026-10-24T04:52:31.394302+00:00", "experiment": "E181", "step": 12000, "cutoff": "valid_backcast2", "candidate_checkpoint_sha256": "b44d657b4aaa8ccc574df4fc738b0d0b5a0ded84a139416f79bc97afbe5eb15c", "control_checkpoint_sha256": "f11d056b95f1c5eeef174265ebc51742952600e0dae1fa52900860447d5be819", "overall": {"configs": 94, "mase_geometric_ratio": 1.0042511652582362, "mase_improved_configs": 31, "absolute_window_mean_error_geometric_ratio": 0.9748386907354666, "absolute_window_mean_error_improved_configs": 50}, "groups": {"term": {"long": {"configs": 19, "mase_geometric_ratio": 1.0020998765256748, "mase_improved_configs": 5, "absolute_window_mean_error_geometric_ratio": 0.9703152631281979, "absolute_window_mean_error_improved_configs": 11}, "medium": {"configs": 21, "mase_geometric_ratio": 1.0052678268333748, "mase_improved_configs": 6, "absolute_window_mean_error_geometric_ratio": 0.9775397151263623, "absolute_window_mean_error_improved_configs": 10}, "short": {"configs": 54, "mase_geometric_ratio": 1.0046138091515748, "mase_improved_configs": 20, "absolute_window_mean_error_geometric_ratio": 0.9753851784345646, "absolute_window_mean_error_improved_configs": 29}}, "domain": {"Econ/Fin": {"configs": 6, "mase_geometric_ratio": 1.0034682051831199, "mase_improved_configs": 0, "absolute_window_mean_error_geometric_ratio": 1.0037443603297178, "absolute_window_mean_error_improved_configs": 1}, "Energy": {"configs": 32, "mase_geometric_ratio": 1.0020845748051264, "mase_improved_configs": 12, "absolute_window_mean_error_geometric_ratio": 1.0020921585874243, "absolute_window_mean_error_improved_configs": 16}, "Healthcare": {"configs": 5, "mase_geometric_ratio": 0.9938735721226786, "mase_improved_configs": 4, "absolute_window_mean_error_geometric_ratio": 0.9987461504304607, "absolute_window_mean_error_improved_configs": 3}, "Nature": {"configs": 15, "mase_geometric_ratio": 1.014454152675973, "mase_improved_configs": 5, "absolute_window_mean_error_geometric_ratio": 0.9446572156866833, "absolute_window_mean_error_improved_configs": 6}, "Sales": {"configs": 3, "mase_geometric_ratio": 1.0123098166256574, "mase_improved_configs": 0, "absolute_window_mean_error_geometric_ratio": 0.9248436114291251, "absolute_window_mean_error_improved_configs": 3}, "Transport": {"configs": 14, "mase_geometric_ratio": 1.0001582752052998, "mase_improved_configs": 6, "absolute_window_mean_error_geometric_ratio": 0.9617813398761575, "absolute_window_mean_error_improved_configs": 8}, "Web/CloudOps": {"configs": 19, "mase_geometric_ratio": 1.0046369654690803, "mase_improved_configs": 4, "absolute_window_mean_error_geometric_ratio": 0.9565252378494237, "absolute_window_mean_error_improved_configs": 13}}, "frequency": {"10S": {"configs": 6, "mase_geometric_ratio": 1.0005847416282652, "mase_improved_configs": 1, "absolute_window_mean_error_geometric_ratio": 0.9911411663706743, "absolute_window_mean_error_improved_configs": 3}, "10T": {"configs": 6, "mase_geometric_ratio": 0.997126927783247, "mase_improved_configs": 4, "absolute_window_mean_error_geometric_ratio": 0.9796552001075441, "absolute_window_mean_error_improved_configs": 3}, "15T": {"configs": 11, "mase_geometric_ratio": 1.0089257483644578, "mase_improved_configs": 3, "absolute_window_mean_error_geometric_ratio": 1.0198360907924153, "absolute_window_mean_error_improved_configs": 4}, "5T": {"configs": 12, "mase_geometric_ratio": 1.0048575602689354, "mase_improved_configs": 4, "absolute_window_mean_error_geometric_ratio": 0.9405900880514476, "absolute_window_mean_error_improved_configs": 9}, "A-DEC": {"configs": 1, "mase_geometric_ratio": 1.0033967432592013, "mase_improved_configs": 0, "absolute_window_mean_error_geometric_ratio": 1.0040212649764733, "absolute_window_mean_error_improved_configs": 0}, "D": {"configs": 15, "mase_geometric_ratio": 1.00253862889123, "mase_improved_configs": 5, "absolute_window_mean_error_geometric_ratio": 0.9713510279811827, "absolute_window_mean_error_improved_configs": 7}, "H": {"configs": 30, "mase_geometric_ratio": 1.0026208717262242, "mase_improved_configs": 10, "absolute_window_mean_error_geometric_ratio": 0.9829041344605416, "absolute_window_mean_error_improved_configs": 17}, "M": {"configs": 4, "mase_geometric_ratio": 1.0052438892492017, "mase_improved_configs": 2, "absolute_window_mean_error_geometric_ratio": 1.0839694086357927, "absolute_window_mean_error_improved_configs": 2}, "Q-DEC": {"configs": 1, "mase_geometric_ratio": 1.0000842136854542, "mase_improved_configs": 0, "absolute_window_mean_error_geometric_ratio": 1.0003005417994406, "absolute_window_mean_error_improved_configs": 0}, "W-FRI": {"configs": 2, "mase_geometric_ratio": 0.9983896591210277, "mase_improved_configs": 1, "absolute_window_mean_error_geometric_ratio": 0.9969894248530805, "absolute_window_mean_error_improved_configs": 1}, "W-SUN": {"configs": 1, "mase_geometric_ratio": 1.0097865744049526, "mase_improved_configs": 0, "absolute_window_mean_error_geometric_ratio": 1.008921752809714, "absolute_window_mean_error_improved_configs": 0}, "W-THU": {"configs": 3, "mase_geometric_ratio": 1.0413161413725458, "mase_improved_configs": 0, "absolute_window_mean_error_geometric_ratio": 0.7122435370130266, "absolute_window_mean_error_improved_configs": 2}, "W-TUE": {"configs": 1, "mase_geometric_ratio": 0.9872458561917964, "mase_improved_configs": 1, "absolute_window_mean_error_geometric_ratio": 0.9806156523523161, "absolute_window_mean_error_improved_configs": 1}, "W-WED": {"configs": 1, "mase_geometric_ratio": 1.0005349772041254, "mase_improved_configs": 0, "absolute_window_mean_error_geometric_ratio": 0.9621556399763823, "absolute_window_mean_error_improved_configs": 1}}}, "candidate_diagnostic_seconds": 0.6905914088711143, "control_diagnostic_seconds": 2.513046473963186, "analysis_seconds": 0.008936610072851181, "optimizer_updates": 0, "new_neural_inference": false, "interpretation": "Ratios below1 indicate improvement against the matched E80checkpoint. Absolute per-window mean error is a descriptive Jensen bound, not recoverable error. Lower mean-error can coexist with higher pointwiseMASE, as observed in some groups; it does not justify a correction or prove causality. This uses an adaptively observed validation panel and an explicit deterministic-mode difference, not independent test data. No hyperparameters, endpoint choices or forecasts changed."} + +2026-10-24T04:52:33.112458+00:00: E181 matched error-structure diagnostic {"utc": "2026-10-24T04:52:33.112458+00:00", "experiment": "E181", "step": 12000, "cutoff": "valid_backcast3", "candidate_checkpoint_sha256": "b44d657b4aaa8ccc574df4fc738b0d0b5a0ded84a139416f79bc97afbe5eb15c", "control_checkpoint_sha256": "f11d056b95f1c5eeef174265ebc51742952600e0dae1fa52900860447d5be819", "overall": {"configs": 93, "mase_geometric_ratio": 1.000347993499901, "mase_improved_configs": 40, "absolute_window_mean_error_geometric_ratio": 0.9659294398285165, "absolute_window_mean_error_improved_configs": 55}, "groups": {"term": {"long": {"configs": 19, "mase_geometric_ratio": 1.0025767764410314, "mase_improved_configs": 9, "absolute_window_mean_error_geometric_ratio": 0.9744922728898918, "absolute_window_mean_error_improved_configs": 12}, "medium": {"configs": 20, "mase_geometric_ratio": 1.0049773916011813, "mase_improved_configs": 5, "absolute_window_mean_error_geometric_ratio": 0.9744935518746368, "absolute_window_mean_error_improved_configs": 10}, "short": {"configs": 54, "mase_geometric_ratio": 0.9978571339679252, "mase_improved_configs": 26, "absolute_window_mean_error_geometric_ratio": 0.9597915367482226, "absolute_window_mean_error_improved_configs": 33}}, "domain": {"Econ/Fin": {"configs": 6, "mase_geometric_ratio": 1.0027247238368715, "mase_improved_configs": 2, "absolute_window_mean_error_geometric_ratio": 1.0033848619447459, "absolute_window_mean_error_improved_configs": 1}, "Energy": {"configs": 32, "mase_geometric_ratio": 1.0020415282528414, "mase_improved_configs": 14, "absolute_window_mean_error_geometric_ratio": 0.9992553043282705, "absolute_window_mean_error_improved_configs": 14}, "Healthcare": {"configs": 5, "mase_geometric_ratio": 1.0035946872800658, "mase_improved_configs": 3, "absolute_window_mean_error_geometric_ratio": 0.9727047379437574, "absolute_window_mean_error_improved_configs": 4}, "Nature": {"configs": 15, "mase_geometric_ratio": 0.9940937729019417, "mase_improved_configs": 5, "absolute_window_mean_error_geometric_ratio": 0.9169479526816368, "absolute_window_mean_error_improved_configs": 9}, "Sales": {"configs": 3, "mase_geometric_ratio": 0.9993349215870356, "mase_improved_configs": 2, "absolute_window_mean_error_geometric_ratio": 0.9119800247299182, "absolute_window_mean_error_improved_configs": 3}, "Transport": {"configs": 14, "mase_geometric_ratio": 1.000262550443206, "mase_improved_configs": 8, "absolute_window_mean_error_geometric_ratio": 0.9552629201722136, "absolute_window_mean_error_improved_configs": 10}, "Web/CloudOps": {"configs": 18, "mase_geometric_ratio": 1.0011119999817575, "mase_improved_configs": 6, "absolute_window_mean_error_geometric_ratio": 0.9531275121939072, "absolute_window_mean_error_improved_configs": 14}}, "frequency": {"10S": {"configs": 6, "mase_geometric_ratio": 0.9993465871284027, "mase_improved_configs": 2, "absolute_window_mean_error_geometric_ratio": 0.9599340233803964, "absolute_window_mean_error_improved_configs": 3}, "10T": {"configs": 6, "mase_geometric_ratio": 1.0025132489090958, "mase_improved_configs": 2, "absolute_window_mean_error_geometric_ratio": 0.9954963905509674, "absolute_window_mean_error_improved_configs": 5}, "15T": {"configs": 11, "mase_geometric_ratio": 1.00248352030639, "mase_improved_configs": 6, "absolute_window_mean_error_geometric_ratio": 0.9685680874822724, "absolute_window_mean_error_improved_configs": 6}, "5T": {"configs": 12, "mase_geometric_ratio": 1.0024942612811627, "mase_improved_configs": 5, "absolute_window_mean_error_geometric_ratio": 0.9504997125380298, "absolute_window_mean_error_improved_configs": 10}, "A-DEC": {"configs": 1, "mase_geometric_ratio": 0.997429982069009, "mase_improved_configs": 1, "absolute_window_mean_error_geometric_ratio": 0.9966375048656025, "absolute_window_mean_error_improved_configs": 1}, "D": {"configs": 15, "mase_geometric_ratio": 1.0123898879073179, "mase_improved_configs": 5, "absolute_window_mean_error_geometric_ratio": 0.9843070671118205, "absolute_window_mean_error_improved_configs": 9}, "H": {"configs": 29, "mase_geometric_ratio": 1.004047903700036, "mase_improved_configs": 11, "absolute_window_mean_error_geometric_ratio": 0.9938670146054513, "absolute_window_mean_error_improved_configs": 14}, "M": {"configs": 4, "mase_geometric_ratio": 0.9892802816627421, "mase_improved_configs": 4, "absolute_window_mean_error_geometric_ratio": 0.9426545393729914, "absolute_window_mean_error_improved_configs": 3}, "Q-DEC": {"configs": 1, "mase_geometric_ratio": 1.000629182029433, "mase_improved_configs": 0, "absolute_window_mean_error_geometric_ratio": 1.0028068800675565, "absolute_window_mean_error_improved_configs": 0}, "W-FRI": {"configs": 2, "mase_geometric_ratio": 1.0035411963700147, "mase_improved_configs": 1, "absolute_window_mean_error_geometric_ratio": 1.0055862875927724, "absolute_window_mean_error_improved_configs": 1}, "W-SUN": {"configs": 1, "mase_geometric_ratio": 1.0103587358495003, "mase_improved_configs": 0, "absolute_window_mean_error_geometric_ratio": 1.009665455940348, "absolute_window_mean_error_improved_configs": 0}, "W-THU": {"configs": 3, "mase_geometric_ratio": 0.8979625881881648, "mase_improved_configs": 3, "absolute_window_mean_error_geometric_ratio": 0.6377839677495131, "absolute_window_mean_error_improved_configs": 2}, "W-TUE": {"configs": 1, "mase_geometric_ratio": 1.0030779785297628, "mase_improved_configs": 0, "absolute_window_mean_error_geometric_ratio": 1.011238867329527, "absolute_window_mean_error_improved_configs": 0}, "W-WED": {"configs": 1, "mase_geometric_ratio": 1.0097151632534134, "mase_improved_configs": 0, "absolute_window_mean_error_geometric_ratio": 0.9791423230890336, "absolute_window_mean_error_improved_configs": 1}}}, "candidate_diagnostic_seconds": 0.617799106054008, "control_diagnostic_seconds": 0.6075465539470315, "analysis_seconds": 0.007475278107449412, "optimizer_updates": 0, "new_neural_inference": false, "interpretation": "Ratios below1 indicate improvement against the matched E80checkpoint. Absolute per-window mean error is a descriptive Jensen bound, not recoverable error. Lower mean-error can coexist with higher pointwiseMASE, as observed in some groups; it does not justify a correction or prove causality. This uses an adaptively observed validation panel and an explicit deterministic-mode difference, not independent test data. No hyperparameters, endpoint choices or forecasts changed."} + +2026-10-24T04:52:33.184488+00:00: E181 endpoint error-structure review {"utc": "2026-10-24T04:52:33.184488+00:00", "experiment": "E181", "step": 12000, "rows": [{"cutoff": "valid_screen", "review": "/workspace/research/window_mean_loss12k_error_structure_review.json", "overall": {"configs": 97, "mase_geometric_ratio": 0.9982091993903595, "mase_improved_configs": 56, "absolute_window_mean_error_geometric_ratio": 0.9678160048985583, "absolute_window_mean_error_improved_configs": 64}, "groups": {"term": {"long": {"configs": 21, "mase_geometric_ratio": 0.996905057326422, "mase_improved_configs": 11, "absolute_window_mean_error_geometric_ratio": 0.9554803036619273, "absolute_window_mean_error_improved_configs": 14}, "medium": {"configs": 21, "mase_geometric_ratio": 1.000759171318781, "mase_improved_configs": 12, "absolute_window_mean_error_geometric_ratio": 0.9519869358683896, "absolute_window_mean_error_improved_configs": 16}, "short": {"configs": 55, "mase_geometric_ratio": 0.9977351985061812, "mase_improved_configs": 33, "absolute_window_mean_error_geometric_ratio": 0.9787109378054666, "absolute_window_mean_error_improved_configs": 34}}, "domain": {"Econ/Fin": {"configs": 6, "mase_geometric_ratio": 1.0024033091146187, "mase_improved_configs": 3, "absolute_window_mean_error_geometric_ratio": 1.0026763234073603, "absolute_window_mean_error_improved_configs": 3}, "Energy": {"configs": 32, "mase_geometric_ratio": 0.9986070272048149, "mase_improved_configs": 19, "absolute_window_mean_error_geometric_ratio": 0.992957626648515, "absolute_window_mean_error_improved_configs": 17}, "Healthcare": {"configs": 5, "mase_geometric_ratio": 0.9997483674428901, "mase_improved_configs": 4, "absolute_window_mean_error_geometric_ratio": 1.151652401664784, "absolute_window_mean_error_improved_configs": 3}, "Nature": {"configs": 15, "mase_geometric_ratio": 0.9906730525532238, "mase_improved_configs": 8, "absolute_window_mean_error_geometric_ratio": 0.893746442911084, "absolute_window_mean_error_improved_configs": 11}, "Sales": {"configs": 4, "mase_geometric_ratio": 1.0068662905689243, "mase_improved_configs": 2, "absolute_window_mean_error_geometric_ratio": 0.9588625857074738, "absolute_window_mean_error_improved_configs": 3}, "Transport": {"configs": 15, "mase_geometric_ratio": 1.0099592036137042, "mase_improved_configs": 6, "absolute_window_mean_error_geometric_ratio": 0.9626829915641485, "absolute_window_mean_error_improved_configs": 11}, "Web/CloudOps": {"configs": 20, "mase_geometric_ratio": 0.9911463742781356, "mase_improved_configs": 14, "absolute_window_mean_error_geometric_ratio": 0.9396213102398228, "absolute_window_mean_error_improved_configs": 16}}, "frequency": {"10S": {"configs": 6, "mase_geometric_ratio": 0.9979326174254057, "mase_improved_configs": 5, "absolute_window_mean_error_geometric_ratio": 0.9925211208212845, "absolute_window_mean_error_improved_configs": 3}, "10T": {"configs": 6, "mase_geometric_ratio": 0.9964493121497316, "mase_improved_configs": 4, "absolute_window_mean_error_geometric_ratio": 0.9949437009290161, "absolute_window_mean_error_improved_configs": 4}, "15T": {"configs": 12, "mase_geometric_ratio": 1.000860259704463, "mase_improved_configs": 8, "absolute_window_mean_error_geometric_ratio": 0.979918323163453, "absolute_window_mean_error_improved_configs": 9}, "5T": {"configs": 12, "mase_geometric_ratio": 1.0024984810585804, "mase_improved_configs": 5, "absolute_window_mean_error_geometric_ratio": 0.9594058877773489, "absolute_window_mean_error_improved_configs": 9}, "A-DEC": {"configs": 1, "mase_geometric_ratio": 1.0025397163979433, "mase_improved_configs": 0, "absolute_window_mean_error_geometric_ratio": 1.0028496970460343, "absolute_window_mean_error_improved_configs": 0}, "D": {"configs": 15, "mase_geometric_ratio": 0.9978023573955447, "mase_improved_configs": 9, "absolute_window_mean_error_geometric_ratio": 0.9801188981663889, "absolute_window_mean_error_improved_configs": 9}, "H": {"configs": 31, "mase_geometric_ratio": 0.9988522662031364, "mase_improved_configs": 16, "absolute_window_mean_error_geometric_ratio": 0.9549771199558457, "absolute_window_mean_error_improved_configs": 21}, "M": {"configs": 5, "mase_geometric_ratio": 0.9919777316365032, "mase_improved_configs": 4, "absolute_window_mean_error_geometric_ratio": 0.9700404200377075, "absolute_window_mean_error_improved_configs": 3}, "Q-DEC": {"configs": 1, "mase_geometric_ratio": 0.9998771000334823, "mase_improved_configs": 1, "absolute_window_mean_error_geometric_ratio": 0.9994242897112298, "absolute_window_mean_error_improved_configs": 1}, "W-FRI": {"configs": 2, "mase_geometric_ratio": 1.0009832935982073, "mase_improved_configs": 1, "absolute_window_mean_error_geometric_ratio": 0.998071466543115, "absolute_window_mean_error_improved_configs": 1}, "W-SUN": {"configs": 1, "mase_geometric_ratio": 1.0077293961798144, "mase_improved_configs": 0, "absolute_window_mean_error_geometric_ratio": 1.0097526874283513, "absolute_window_mean_error_improved_configs": 0}, "W-THU": {"configs": 3, "mase_geometric_ratio": 0.9782863808668634, "mase_improved_configs": 2, "absolute_window_mean_error_geometric_ratio": 0.8635479256315799, "absolute_window_mean_error_improved_configs": 2}, "W-TUE": {"configs": 1, "mase_geometric_ratio": 0.9797125347667182, "mase_improved_configs": 1, "absolute_window_mean_error_geometric_ratio": 0.9798976906442535, "absolute_window_mean_error_improved_configs": 1}, "W-WED": {"configs": 1, "mase_geometric_ratio": 1.0027864836367626, "mase_improved_configs": 0, "absolute_window_mean_error_geometric_ratio": 0.9769857355447445, "absolute_window_mean_error_improved_configs": 1}}}}, {"cutoff": "valid_backcast", "review": "/workspace/research/window_mean_loss12k_valid_backcast_error_structure_review.json", "overall": {"configs": 97, "mase_geometric_ratio": 1.0043956502406768, "mase_improved_configs": 42, "absolute_window_mean_error_geometric_ratio": 0.9750369386416232, "absolute_window_mean_error_improved_configs": 62}, "groups": {"term": {"long": {"configs": 21, "mase_geometric_ratio": 1.0073350215848873, "mase_improved_configs": 7, "absolute_window_mean_error_geometric_ratio": 0.9757770130230867, "absolute_window_mean_error_improved_configs": 11}, "medium": {"configs": 21, "mase_geometric_ratio": 1.0036030274765084, "mase_improved_configs": 12, "absolute_window_mean_error_geometric_ratio": 0.9628233463347184, "absolute_window_mean_error_improved_configs": 14}, "short": {"configs": 55, "mase_geometric_ratio": 1.0035780740318552, "mase_improved_configs": 23, "absolute_window_mean_error_geometric_ratio": 0.9794572868516127, "absolute_window_mean_error_improved_configs": 37}}, "domain": {"Econ/Fin": {"configs": 6, "mase_geometric_ratio": 1.0045644678343106, "mase_improved_configs": 1, "absolute_window_mean_error_geometric_ratio": 1.0045269946869024, "absolute_window_mean_error_improved_configs": 1}, "Energy": {"configs": 32, "mase_geometric_ratio": 1.0010757858654578, "mase_improved_configs": 16, "absolute_window_mean_error_geometric_ratio": 1.0008235335029738, "absolute_window_mean_error_improved_configs": 19}, "Healthcare": {"configs": 5, "mase_geometric_ratio": 0.9957954703378871, "mase_improved_configs": 4, "absolute_window_mean_error_geometric_ratio": 1.073709741469126, "absolute_window_mean_error_improved_configs": 3}, "Nature": {"configs": 15, "mase_geometric_ratio": 1.0106904364564862, "mase_improved_configs": 4, "absolute_window_mean_error_geometric_ratio": 0.9461265657501264, "absolute_window_mean_error_improved_configs": 7}, "Sales": {"configs": 4, "mase_geometric_ratio": 1.002981524854158, "mase_improved_configs": 1, "absolute_window_mean_error_geometric_ratio": 0.940952561967943, "absolute_window_mean_error_improved_configs": 4}, "Transport": {"configs": 15, "mase_geometric_ratio": 1.005841632595021, "mase_improved_configs": 9, "absolute_window_mean_error_geometric_ratio": 0.9682965040290205, "absolute_window_mean_error_improved_configs": 12}, "Web/CloudOps": {"configs": 20, "mase_geometric_ratio": 1.0063196939333392, "mase_improved_configs": 7, "absolute_window_mean_error_geometric_ratio": 0.9368891661510867, "absolute_window_mean_error_improved_configs": 16}}, "frequency": {"10S": {"configs": 6, "mase_geometric_ratio": 1.0004630580840181, "mase_improved_configs": 3, "absolute_window_mean_error_geometric_ratio": 1.0066478493366202, "absolute_window_mean_error_improved_configs": 5}, "10T": {"configs": 6, "mase_geometric_ratio": 0.9996303404868743, "mase_improved_configs": 4, "absolute_window_mean_error_geometric_ratio": 1.00749977912842, "absolute_window_mean_error_improved_configs": 3}, "15T": {"configs": 12, "mase_geometric_ratio": 1.0138587854483252, "mase_improved_configs": 5, "absolute_window_mean_error_geometric_ratio": 1.0173885821818869, "absolute_window_mean_error_improved_configs": 7}, "5T": {"configs": 12, "mase_geometric_ratio": 1.0064803705428722, "mase_improved_configs": 4, "absolute_window_mean_error_geometric_ratio": 0.9332117872562034, "absolute_window_mean_error_improved_configs": 9}, "A-DEC": {"configs": 1, "mase_geometric_ratio": 1.0033394771704007, "mase_improved_configs": 0, "absolute_window_mean_error_geometric_ratio": 1.0031026530194607, "absolute_window_mean_error_improved_configs": 0}, "D": {"configs": 15, "mase_geometric_ratio": 1.005526870316722, "mase_improved_configs": 7, "absolute_window_mean_error_geometric_ratio": 0.9127755153331728, "absolute_window_mean_error_improved_configs": 13}, "H": {"configs": 31, "mase_geometric_ratio": 1.0038487256462854, "mase_improved_configs": 13, "absolute_window_mean_error_geometric_ratio": 0.9676581734251696, "absolute_window_mean_error_improved_configs": 18}, "M": {"configs": 5, "mase_geometric_ratio": 1.0050632342936496, "mase_improved_configs": 2, "absolute_window_mean_error_geometric_ratio": 1.0857406785360968, "absolute_window_mean_error_improved_configs": 2}, "Q-DEC": {"configs": 1, "mase_geometric_ratio": 1.001577495323075, "mase_improved_configs": 0, "absolute_window_mean_error_geometric_ratio": 1.0006769754796427, "absolute_window_mean_error_improved_configs": 0}, "W-FRI": {"configs": 2, "mase_geometric_ratio": 0.9933931458007268, "mase_improved_configs": 2, "absolute_window_mean_error_geometric_ratio": 0.9767596481553404, "absolute_window_mean_error_improved_configs": 2}, "W-SUN": {"configs": 1, "mase_geometric_ratio": 1.0124856690788877, "mase_improved_configs": 0, "absolute_window_mean_error_geometric_ratio": 1.0132118630968618, "absolute_window_mean_error_improved_configs": 0}, "W-THU": {"configs": 3, "mase_geometric_ratio": 0.98136636403106, "mase_improved_configs": 2, "absolute_window_mean_error_geometric_ratio": 0.9193587032733603, "absolute_window_mean_error_improved_configs": 2}, "W-TUE": {"configs": 1, "mase_geometric_ratio": 1.0014227827990596, "mase_improved_configs": 0, "absolute_window_mean_error_geometric_ratio": 1.4395100030384929, "absolute_window_mean_error_improved_configs": 0}, "W-WED": {"configs": 1, "mase_geometric_ratio": 1.0061631126478323, "mase_improved_configs": 0, "absolute_window_mean_error_geometric_ratio": 0.9809517696226874, "absolute_window_mean_error_improved_configs": 1}}}}, {"cutoff": "valid_backcast2", "review": "/workspace/research/window_mean_loss12k_valid_backcast2_error_structure_review.json", "overall": {"configs": 94, "mase_geometric_ratio": 1.0042511652582362, "mase_improved_configs": 31, "absolute_window_mean_error_geometric_ratio": 0.9748386907354666, "absolute_window_mean_error_improved_configs": 50}, "groups": {"term": {"long": {"configs": 19, "mase_geometric_ratio": 1.0020998765256748, "mase_improved_configs": 5, "absolute_window_mean_error_geometric_ratio": 0.9703152631281979, "absolute_window_mean_error_improved_configs": 11}, "medium": {"configs": 21, "mase_geometric_ratio": 1.0052678268333748, "mase_improved_configs": 6, "absolute_window_mean_error_geometric_ratio": 0.9775397151263623, "absolute_window_mean_error_improved_configs": 10}, "short": {"configs": 54, "mase_geometric_ratio": 1.0046138091515748, "mase_improved_configs": 20, "absolute_window_mean_error_geometric_ratio": 0.9753851784345646, "absolute_window_mean_error_improved_configs": 29}}, "domain": {"Econ/Fin": {"configs": 6, "mase_geometric_ratio": 1.0034682051831199, "mase_improved_configs": 0, "absolute_window_mean_error_geometric_ratio": 1.0037443603297178, "absolute_window_mean_error_improved_configs": 1}, "Energy": {"configs": 32, "mase_geometric_ratio": 1.0020845748051264, "mase_improved_configs": 12, "absolute_window_mean_error_geometric_ratio": 1.0020921585874243, "absolute_window_mean_error_improved_configs": 16}, "Healthcare": {"configs": 5, "mase_geometric_ratio": 0.9938735721226786, "mase_improved_configs": 4, "absolute_window_mean_error_geometric_ratio": 0.9987461504304607, "absolute_window_mean_error_improved_configs": 3}, "Nature": {"configs": 15, "mase_geometric_ratio": 1.014454152675973, "mase_improved_configs": 5, "absolute_window_mean_error_geometric_ratio": 0.9446572156866833, "absolute_window_mean_error_improved_configs": 6}, "Sales": {"configs": 3, "mase_geometric_ratio": 1.0123098166256574, "mase_improved_configs": 0, "absolute_window_mean_error_geometric_ratio": 0.9248436114291251, "absolute_window_mean_error_improved_configs": 3}, "Transport": {"configs": 14, "mase_geometric_ratio": 1.0001582752052998, "mase_improved_configs": 6, "absolute_window_mean_error_geometric_ratio": 0.9617813398761575, "absolute_window_mean_error_improved_configs": 8}, "Web/CloudOps": {"configs": 19, "mase_geometric_ratio": 1.0046369654690803, "mase_improved_configs": 4, "absolute_window_mean_error_geometric_ratio": 0.9565252378494237, "absolute_window_mean_error_improved_configs": 13}}, "frequency": {"10S": {"configs": 6, "mase_geometric_ratio": 1.0005847416282652, "mase_improved_configs": 1, "absolute_window_mean_error_geometric_ratio": 0.9911411663706743, "absolute_window_mean_error_improved_configs": 3}, "10T": {"configs": 6, "mase_geometric_ratio": 0.997126927783247, "mase_improved_configs": 4, "absolute_window_mean_error_geometric_ratio": 0.9796552001075441, "absolute_window_mean_error_improved_configs": 3}, "15T": {"configs": 11, "mase_geometric_ratio": 1.0089257483644578, "mase_improved_configs": 3, "absolute_window_mean_error_geometric_ratio": 1.0198360907924153, "absolute_window_mean_error_improved_configs": 4}, "5T": {"configs": 12, "mase_geometric_ratio": 1.0048575602689354, "mase_improved_configs": 4, "absolute_window_mean_error_geometric_ratio": 0.9405900880514476, "absolute_window_mean_error_improved_configs": 9}, "A-DEC": {"configs": 1, "mase_geometric_ratio": 1.0033967432592013, "mase_improved_configs": 0, "absolute_window_mean_error_geometric_ratio": 1.0040212649764733, "absolute_window_mean_error_improved_configs": 0}, "D": {"configs": 15, "mase_geometric_ratio": 1.00253862889123, "mase_improved_configs": 5, "absolute_window_mean_error_geometric_ratio": 0.9713510279811827, "absolute_window_mean_error_improved_configs": 7}, "H": {"configs": 30, "mase_geometric_ratio": 1.0026208717262242, "mase_improved_configs": 10, "absolute_window_mean_error_geometric_ratio": 0.9829041344605416, "absolute_window_mean_error_improved_configs": 17}, "M": {"configs": 4, "mase_geometric_ratio": 1.0052438892492017, "mase_improved_configs": 2, "absolute_window_mean_error_geometric_ratio": 1.0839694086357927, "absolute_window_mean_error_improved_configs": 2}, "Q-DEC": {"configs": 1, "mase_geometric_ratio": 1.0000842136854542, "mase_improved_configs": 0, "absolute_window_mean_error_geometric_ratio": 1.0003005417994406, "absolute_window_mean_error_improved_configs": 0}, "W-FRI": {"configs": 2, "mase_geometric_ratio": 0.9983896591210277, "mase_improved_configs": 1, "absolute_window_mean_error_geometric_ratio": 0.9969894248530805, "absolute_window_mean_error_improved_configs": 1}, "W-SUN": {"configs": 1, "mase_geometric_ratio": 1.0097865744049526, "mase_improved_configs": 0, "absolute_window_mean_error_geometric_ratio": 1.008921752809714, "absolute_window_mean_error_improved_configs": 0}, "W-THU": {"configs": 3, "mase_geometric_ratio": 1.0413161413725458, "mase_improved_configs": 0, "absolute_window_mean_error_geometric_ratio": 0.7122435370130266, "absolute_window_mean_error_improved_configs": 2}, "W-TUE": {"configs": 1, "mase_geometric_ratio": 0.9872458561917964, "mase_improved_configs": 1, "absolute_window_mean_error_geometric_ratio": 0.9806156523523161, "absolute_window_mean_error_improved_configs": 1}, "W-WED": {"configs": 1, "mase_geometric_ratio": 1.0005349772041254, "mase_improved_configs": 0, "absolute_window_mean_error_geometric_ratio": 0.9621556399763823, "absolute_window_mean_error_improved_configs": 1}}}}, {"cutoff": "valid_backcast3", "review": "/workspace/research/window_mean_loss12k_valid_backcast3_error_structure_review.json", "overall": {"configs": 93, "mase_geometric_ratio": 1.000347993499901, "mase_improved_configs": 40, "absolute_window_mean_error_geometric_ratio": 0.9659294398285165, "absolute_window_mean_error_improved_configs": 55}, "groups": {"term": {"long": {"configs": 19, "mase_geometric_ratio": 1.0025767764410314, "mase_improved_configs": 9, "absolute_window_mean_error_geometric_ratio": 0.9744922728898918, "absolute_window_mean_error_improved_configs": 12}, "medium": {"configs": 20, "mase_geometric_ratio": 1.0049773916011813, "mase_improved_configs": 5, "absolute_window_mean_error_geometric_ratio": 0.9744935518746368, "absolute_window_mean_error_improved_configs": 10}, "short": {"configs": 54, "mase_geometric_ratio": 0.9978571339679252, "mase_improved_configs": 26, "absolute_window_mean_error_geometric_ratio": 0.9597915367482226, "absolute_window_mean_error_improved_configs": 33}}, "domain": {"Econ/Fin": {"configs": 6, "mase_geometric_ratio": 1.0027247238368715, "mase_improved_configs": 2, "absolute_window_mean_error_geometric_ratio": 1.0033848619447459, "absolute_window_mean_error_improved_configs": 1}, "Energy": {"configs": 32, "mase_geometric_ratio": 1.0020415282528414, "mase_improved_configs": 14, "absolute_window_mean_error_geometric_ratio": 0.9992553043282705, "absolute_window_mean_error_improved_configs": 14}, "Healthcare": {"configs": 5, "mase_geometric_ratio": 1.0035946872800658, "mase_improved_configs": 3, "absolute_window_mean_error_geometric_ratio": 0.9727047379437574, "absolute_window_mean_error_improved_configs": 4}, "Nature": {"configs": 15, "mase_geometric_ratio": 0.9940937729019417, "mase_improved_configs": 5, "absolute_window_mean_error_geometric_ratio": 0.9169479526816368, "absolute_window_mean_error_improved_configs": 9}, "Sales": {"configs": 3, "mase_geometric_ratio": 0.9993349215870356, "mase_improved_configs": 2, "absolute_window_mean_error_geometric_ratio": 0.9119800247299182, "absolute_window_mean_error_improved_configs": 3}, "Transport": {"configs": 14, "mase_geometric_ratio": 1.000262550443206, "mase_improved_configs": 8, "absolute_window_mean_error_geometric_ratio": 0.9552629201722136, "absolute_window_mean_error_improved_configs": 10}, "Web/CloudOps": {"configs": 18, "mase_geometric_ratio": 1.0011119999817575, "mase_improved_configs": 6, "absolute_window_mean_error_geometric_ratio": 0.9531275121939072, "absolute_window_mean_error_improved_configs": 14}}, "frequency": {"10S": {"configs": 6, "mase_geometric_ratio": 0.9993465871284027, "mase_improved_configs": 2, "absolute_window_mean_error_geometric_ratio": 0.9599340233803964, "absolute_window_mean_error_improved_configs": 3}, "10T": {"configs": 6, "mase_geometric_ratio": 1.0025132489090958, "mase_improved_configs": 2, "absolute_window_mean_error_geometric_ratio": 0.9954963905509674, "absolute_window_mean_error_improved_configs": 5}, "15T": {"configs": 11, "mase_geometric_ratio": 1.00248352030639, "mase_improved_configs": 6, "absolute_window_mean_error_geometric_ratio": 0.9685680874822724, "absolute_window_mean_error_improved_configs": 6}, "5T": {"configs": 12, "mase_geometric_ratio": 1.0024942612811627, "mase_improved_configs": 5, "absolute_window_mean_error_geometric_ratio": 0.9504997125380298, "absolute_window_mean_error_improved_configs": 10}, "A-DEC": {"configs": 1, "mase_geometric_ratio": 0.997429982069009, "mase_improved_configs": 1, "absolute_window_mean_error_geometric_ratio": 0.9966375048656025, "absolute_window_mean_error_improved_configs": 1}, "D": {"configs": 15, "mase_geometric_ratio": 1.0123898879073179, "mase_improved_configs": 5, "absolute_window_mean_error_geometric_ratio": 0.9843070671118205, "absolute_window_mean_error_improved_configs": 9}, "H": {"configs": 29, "mase_geometric_ratio": 1.004047903700036, "mase_improved_configs": 11, "absolute_window_mean_error_geometric_ratio": 0.9938670146054513, "absolute_window_mean_error_improved_configs": 14}, "M": {"configs": 4, "mase_geometric_ratio": 0.9892802816627421, "mase_improved_configs": 4, "absolute_window_mean_error_geometric_ratio": 0.9426545393729914, "absolute_window_mean_error_improved_configs": 3}, "Q-DEC": {"configs": 1, "mase_geometric_ratio": 1.000629182029433, "mase_improved_configs": 0, "absolute_window_mean_error_geometric_ratio": 1.0028068800675565, "absolute_window_mean_error_improved_configs": 0}, "W-FRI": {"configs": 2, "mase_geometric_ratio": 1.0035411963700147, "mase_improved_configs": 1, "absolute_window_mean_error_geometric_ratio": 1.0055862875927724, "absolute_window_mean_error_improved_configs": 1}, "W-SUN": {"configs": 1, "mase_geometric_ratio": 1.0103587358495003, "mase_improved_configs": 0, "absolute_window_mean_error_geometric_ratio": 1.009665455940348, "absolute_window_mean_error_improved_configs": 0}, "W-THU": {"configs": 3, "mase_geometric_ratio": 0.8979625881881648, "mase_improved_configs": 3, "absolute_window_mean_error_geometric_ratio": 0.6377839677495131, "absolute_window_mean_error_improved_configs": 2}, "W-TUE": {"configs": 1, "mase_geometric_ratio": 1.0030779785297628, "mase_improved_configs": 0, "absolute_window_mean_error_geometric_ratio": 1.011238867329527, "absolute_window_mean_error_improved_configs": 0}, "W-WED": {"configs": 1, "mase_geometric_ratio": 1.0097151632534134, "mase_improved_configs": 0, "absolute_window_mean_error_geometric_ratio": 0.9791423230890336, "absolute_window_mean_error_improved_configs": 1}}}}], "commands": [{"command": ["python3", "/workspace/research/recovery/median_error_structure.py", "--valid", "/workspace/research/valid_screen", "--pred", "/workspace/research/evals/window_mean_loss_ema12000", "--report", "/workspace/research/evals/window_mean_loss_ema12000/report.json", "--out", "/workspace/research/window_mean_loss12k_median_error_structure.json"], "seconds": 0.8349406949710101}, {"command": ["python3", "/workspace/research/recovery/median_error_structure.py", "--valid", "/workspace/research/valid_screen", "--pred", "/workspace/research/evals/overflow_control_ema12000", "--report", "/workspace/research/evals/overflow_control_ema12000/report.json", "--out", "/workspace/research/overflow_control12k_median_error_structure.json"], "seconds": 0.7903870351146907}, {"command": ["python3", "/workspace/research/window_mean_objective/review_errors.py", "--step", "12000", "--cutoff", "valid_screen"], "seconds": 0.15472418698482215}, {"command": ["python3", "/workspace/research/recovery/median_error_structure.py", "--valid", "/workspace/research/valid_backcast", "--pred", "/workspace/research/backcast_evals/window_mean_loss_ema12000", "--report", "/workspace/research/backcast_evals/window_mean_loss_ema12000/report.json", "--out", "/workspace/research/window_mean_loss12k_valid_backcast_median_error_structure.json"], "seconds": 0.7868306247983128}, {"command": ["python3", "/workspace/research/recovery/median_error_structure.py", "--valid", "/workspace/research/valid_backcast", "--pred", "/workspace/research/backcast_evals/overflow_control_ema12000", "--report", "/workspace/research/backcast_evals/overflow_control_ema12000/report.json", "--out", "/workspace/research/overflow_control12k_valid_backcast_median_error_structure.json"], "seconds": 1.2539418060332537}, {"command": ["python3", "/workspace/research/window_mean_objective/review_errors.py", "--step", "12000", "--cutoff", "valid_backcast"], "seconds": 0.23508856003172696}, {"command": ["python3", "/workspace/research/recovery/median_error_structure.py", "--valid", "/workspace/research/valid_backcast2", "--pred", "/workspace/research/backcast2_evals/window_mean_loss_ema12000", "--report", "/workspace/research/backcast2_evals/window_mean_loss_ema12000/report.json", "--out", "/workspace/research/window_mean_loss12k_valid_backcast2_median_error_structure.json"], "seconds": 0.8434941859450191}, {"command": ["python3", "/workspace/research/recovery/median_error_structure.py", "--valid", "/workspace/research/valid_backcast2", "--pred", "/workspace/research/backcast2_evals/overflow_control_ema12000", "--report", "/workspace/research/backcast2_evals/overflow_control_ema12000/report.json", "--out", "/workspace/research/overflow_control12k_valid_backcast2_median_error_structure.json"], "seconds": 2.657246614107862}, {"command": ["python3", "/workspace/research/window_mean_objective/review_errors.py", "--step", "12000", "--cutoff", "valid_backcast2"], "seconds": 0.20131669798865914}, {"command": ["python3", "/workspace/research/recovery/median_error_structure.py", "--valid", "/workspace/research/valid_backcast3", "--pred", "/workspace/research/backcast3_evals/window_mean_loss_ema12000", "--report", "/workspace/research/backcast3_evals/window_mean_loss_ema12000/report.json", "--out", "/workspace/research/window_mean_loss12k_valid_backcast3_median_error_structure.json"], "seconds": 0.7803675138857216}, {"command": ["python3", "/workspace/research/recovery/median_error_structure.py", "--valid", "/workspace/research/valid_backcast3", "--pred", "/workspace/research/backcast3_evals/overflow_control_ema12000", "--report", "/workspace/research/backcast3_evals/overflow_control_ema12000/report.json", "--out", "/workspace/research/overflow_control12k_valid_backcast3_median_error_structure.json"], "seconds": 0.7269188109785318}, {"command": ["python3", "/workspace/research/window_mean_objective/review_errors.py", "--step", "12000", "--cutoff", "valid_backcast3"], "seconds": 0.1859211118426174}], "seconds": 10.465811082860455, "optimizer_updates": 0, "new_neural_inference": false, "candidate_checkpoint_sha256": "b44d657b4aaa8ccc574df4fc738b0d0b5a0ded84a139416f79bc97afbe5eb15c", "control_checkpoint_sha256": "f11d056b95f1c5eeef174265ebc51742952600e0dae1fa52900860447d5be819", "window_mean_error_improved_cutoffs": 4, "mase_improved_cutoffs": 1, "geometric_mean_window_mean_error_ratio": 0.970896660592071, "geometric_mean_mase_ratio": 1.001797538420095, "interpretation": "Descriptive error-structure checks of original scheduled checkpoints. No changed selection thresholds, coefficient, data, training or forecasts; window-mean error is a Jensen bound, not an available correction. Each cutoff has its own eligible configuration set; aggregate ratios weight cutoffs equally and are not the benchmark score."} + +2026-10-24T04:52:33.262927+00:00: E181 original final12k review {"utc": "2026-10-24T04:52:33.262927+00:00", "experiment": "E181", "step": 12000, "seed": 197, "checkpoint_sha256": "b44d657b4aaa8ccc574df4fc738b0d0b5a0ded84a139416f79bc97afbe5eb15c", "rows": [{"cutoff": "evals", "skill": 0.3780893871046961, "delta": 0.0006654410290485302, "mase_ratio": 0.9982091993903593, "wql_ratio": 0.9996536207841156, "group_deltas": {"term": {"long": 0.000903078621100617, "medium": 3.7952079933400995e-05, "short": 0.0008261150155017827}, "domain": {"Econ/Fin": -0.0020514519438284973, "Energy": 0.00033001249888808815, "Healthcare": 0.002369146105717368, "Nature": 0.003431035753139633, "Sales": -0.002159791359297003, "Transport": -0.003669264551783291, "Web/CloudOps": 0.002661398175913765}, "frequency": {"A": -0.0013865232899675783, "D": -7.71248569926275e-05, "H": 0.0007427574494792699, "M": 0.00744226500226286, "Q": 0.00031135738202858754, "S": 0.0005715176778383624, "T": -0.000630259901138186, "W": 0.005396003973918484}, "variates": {"multivariate": 0.0015963446775429935, "univariate": -0.00011958383161092545}}, "evaluation_seconds": 49.94231081008911}, {"cutoff": "backcast_evals", "skill": 0.334425721100544, "delta": -0.002102616206731911, "mase_ratio": 1.0043956502406768, "wql_ratio": 1.0019440721701585, "group_deltas": {"term": {"long": -0.003414042158010777, "medium": -0.0011922461964396502, "short": -0.0018950380984887882}, "domain": {"Econ/Fin": -0.002971820002626857, "Energy": -0.0007888199043889488, "Healthcare": 0.0031225367858798148, "Nature": -0.004438411010277643, "Sales": -0.0009349837717789189, "Transport": -0.002621148586892441, "Web/CloudOps": -0.0029582883214474}, "frequency": {"A": -0.0017687396310241965, "D": -0.002037828870229741, "H": -0.0014039103915775009, "M": -0.0013712713888266448, "Q": -0.0001572199648578465, "S": -0.00041849752295741727, "T": -0.004583618257363531, "W": 0.0026954465488029378}, "variates": {"multivariate": -0.0018922514987645966, "univariate": -0.002276879924265507}}, "evaluation_seconds": 36.714271068573}, {"cutoff": "backcast2_evals", "skill": 0.3587148645332695, "delta": -0.0022586050732341656, "mase_ratio": 1.0042511652582362, "wql_ratio": 1.0028182392201146, "group_deltas": {"term": {"long": -0.0014728700069045475, "medium": -0.0031085298550767027, "short": -0.0021878729177799983}, "domain": {"Econ/Fin": -0.0020014305112336928, "Energy": -0.000994394278722055, "Healthcare": 0.003475967791209955, "Nature": -0.005643849722395067, "Sales": -0.00444387216517822, "Transport": 0.00018838111249996903, "Web/CloudOps": -0.003546117994978615}, "frequency": {"A": -0.0006499401387641823, "D": -0.0017993771743766152, "H": -0.0004993052983760515, "M": -0.002157303897803775, "Q": 0.0018027187676445955, "S": -0.0006076723834762543, "T": -0.0039095575224840085, "W": -0.006239377731886986}, "variates": {"multivariate": -0.002806073384120311, "univariate": -0.0018119238942667648}}, "evaluation_seconds": 24.031373262405396}, {"cutoff": "backcast3_evals", "skill": 0.3874924855427505, "delta": 1.100056239888847e-05, "mase_ratio": 1.000347993499901, "wql_ratio": 0.999616221257186, "group_deltas": {"term": {"long": -0.0007679781888344506, "medium": -0.0025457602520213563, "short": 0.0011762440318361378}, "domain": {"Econ/Fin": -0.0010674056080759442, "Energy": -0.0004596328241867065, "Healthcare": -0.00020548300639788852, "Nature": 0.0017356678285853078, "Sales": -0.00013073216832248935, "Transport": 0.00019739874669977286, "Web/CloudOps": -0.0008469311488531472}, "frequency": {"A": 0.006913623741875208, "D": -0.00466410827009911, "H": -0.001251400947892778, "M": 0.007896209768125884, "Q": -0.001016209381848654, "S": -0.0004883644674629206, "T": -0.0006994012610187506, "W": 0.01647672224641561}, "variates": {"multivariate": -0.0005289413261678755, "univariate": 0.0004186413651500187}}, "evaluation_seconds": 81.52344942092896}], "positive_cutoffs": 2, "mean_delta": -0.0009211949221296645, "source_gate_passed": false, "primary_positive_cutoffs": 2, "primary_mean_delta": -0.0008813446749166842, "training_process_seconds": 3030.0831673939247, "training_loop_seconds": 3016.348182301037, "training_compute_scope": "Original full12k production process on sharedH100; separate18-update engineering fixture and audit compute remain in engineering receipts. Fixture weights never initialized production.", "four_cutoff_evaluation_seconds": 192.21140456199646, "error_structure": {"utc": "2026-10-24T04:52:33.184488+00:00", "experiment": "E181", "step": 12000, "seconds": 10.465811082860455, "optimizer_updates": 0, "new_neural_inference": false, "candidate_checkpoint_sha256": "b44d657b4aaa8ccc574df4fc738b0d0b5a0ded84a139416f79bc97afbe5eb15c", "control_checkpoint_sha256": "f11d056b95f1c5eeef174265ebc51742952600e0dae1fa52900860447d5be819", "window_mean_error_improved_cutoffs": 4, "mase_improved_cutoffs": 1, "geometric_mean_window_mean_error_ratio": 0.970896660592071, "geometric_mean_mase_ratio": 1.001797538420095, "interpretation": "Descriptive error-structure checks of original scheduled checkpoints. No changed selection thresholds, coefficient, data, training or forecasts; window-mean error is a Jensen bound, not an available correction. Each cutoff has its own eligible configuration set; aggregate ratios weight cutoffs equally and are not the benchmark score."}, "error_structure_rows": [{"cutoff": "valid_screen", "overall": {"configs": 97, "mase_geometric_ratio": 0.9982091993903595, "mase_improved_configs": 56, "absolute_window_mean_error_geometric_ratio": 0.9678160048985583, "absolute_window_mean_error_improved_configs": 64}, "groups": {"term": {"long": {"configs": 21, "mase_geometric_ratio": 0.996905057326422, "mase_improved_configs": 11, "absolute_window_mean_error_geometric_ratio": 0.9554803036619273, "absolute_window_mean_error_improved_configs": 14}, "medium": {"configs": 21, "mase_geometric_ratio": 1.000759171318781, "mase_improved_configs": 12, "absolute_window_mean_error_geometric_ratio": 0.9519869358683896, "absolute_window_mean_error_improved_configs": 16}, "short": {"configs": 55, "mase_geometric_ratio": 0.9977351985061812, "mase_improved_configs": 33, "absolute_window_mean_error_geometric_ratio": 0.9787109378054666, "absolute_window_mean_error_improved_configs": 34}}, "domain": {"Econ/Fin": {"configs": 6, "mase_geometric_ratio": 1.0024033091146187, "mase_improved_configs": 3, "absolute_window_mean_error_geometric_ratio": 1.0026763234073603, "absolute_window_mean_error_improved_configs": 3}, "Energy": {"configs": 32, "mase_geometric_ratio": 0.9986070272048149, "mase_improved_configs": 19, "absolute_window_mean_error_geometric_ratio": 0.992957626648515, "absolute_window_mean_error_improved_configs": 17}, "Healthcare": {"configs": 5, "mase_geometric_ratio": 0.9997483674428901, "mase_improved_configs": 4, "absolute_window_mean_error_geometric_ratio": 1.151652401664784, "absolute_window_mean_error_improved_configs": 3}, "Nature": {"configs": 15, "mase_geometric_ratio": 0.9906730525532238, "mase_improved_configs": 8, "absolute_window_mean_error_geometric_ratio": 0.893746442911084, "absolute_window_mean_error_improved_configs": 11}, "Sales": {"configs": 4, "mase_geometric_ratio": 1.0068662905689243, "mase_improved_configs": 2, "absolute_window_mean_error_geometric_ratio": 0.9588625857074738, "absolute_window_mean_error_improved_configs": 3}, "Transport": {"configs": 15, "mase_geometric_ratio": 1.0099592036137042, "mase_improved_configs": 6, "absolute_window_mean_error_geometric_ratio": 0.9626829915641485, "absolute_window_mean_error_improved_configs": 11}, "Web/CloudOps": {"configs": 20, "mase_geometric_ratio": 0.9911463742781356, "mase_improved_configs": 14, "absolute_window_mean_error_geometric_ratio": 0.9396213102398228, "absolute_window_mean_error_improved_configs": 16}}, "frequency": {"10S": {"configs": 6, "mase_geometric_ratio": 0.9979326174254057, "mase_improved_configs": 5, "absolute_window_mean_error_geometric_ratio": 0.9925211208212845, "absolute_window_mean_error_improved_configs": 3}, "10T": {"configs": 6, "mase_geometric_ratio": 0.9964493121497316, "mase_improved_configs": 4, "absolute_window_mean_error_geometric_ratio": 0.9949437009290161, "absolute_window_mean_error_improved_configs": 4}, "15T": {"configs": 12, "mase_geometric_ratio": 1.000860259704463, "mase_improved_configs": 8, "absolute_window_mean_error_geometric_ratio": 0.979918323163453, "absolute_window_mean_error_improved_configs": 9}, "5T": {"configs": 12, "mase_geometric_ratio": 1.0024984810585804, "mase_improved_configs": 5, "absolute_window_mean_error_geometric_ratio": 0.9594058877773489, "absolute_window_mean_error_improved_configs": 9}, "A-DEC": {"configs": 1, "mase_geometric_ratio": 1.0025397163979433, "mase_improved_configs": 0, "absolute_window_mean_error_geometric_ratio": 1.0028496970460343, "absolute_window_mean_error_improved_configs": 0}, "D": {"configs": 15, "mase_geometric_ratio": 0.9978023573955447, "mase_improved_configs": 9, "absolute_window_mean_error_geometric_ratio": 0.9801188981663889, "absolute_window_mean_error_improved_configs": 9}, "H": {"configs": 31, "mase_geometric_ratio": 0.9988522662031364, "mase_improved_configs": 16, "absolute_window_mean_error_geometric_ratio": 0.9549771199558457, "absolute_window_mean_error_improved_configs": 21}, "M": {"configs": 5, "mase_geometric_ratio": 0.9919777316365032, "mase_improved_configs": 4, "absolute_window_mean_error_geometric_ratio": 0.9700404200377075, "absolute_window_mean_error_improved_configs": 3}, "Q-DEC": {"configs": 1, "mase_geometric_ratio": 0.9998771000334823, "mase_improved_configs": 1, "absolute_window_mean_error_geometric_ratio": 0.9994242897112298, "absolute_window_mean_error_improved_configs": 1}, "W-FRI": {"configs": 2, "mase_geometric_ratio": 1.0009832935982073, "mase_improved_configs": 1, "absolute_window_mean_error_geometric_ratio": 0.998071466543115, "absolute_window_mean_error_improved_configs": 1}, "W-SUN": {"configs": 1, "mase_geometric_ratio": 1.0077293961798144, "mase_improved_configs": 0, "absolute_window_mean_error_geometric_ratio": 1.0097526874283513, "absolute_window_mean_error_improved_configs": 0}, "W-THU": {"configs": 3, "mase_geometric_ratio": 0.9782863808668634, "mase_improved_configs": 2, "absolute_window_mean_error_geometric_ratio": 0.8635479256315799, "absolute_window_mean_error_improved_configs": 2}, "W-TUE": {"configs": 1, "mase_geometric_ratio": 0.9797125347667182, "mase_improved_configs": 1, "absolute_window_mean_error_geometric_ratio": 0.9798976906442535, "absolute_window_mean_error_improved_configs": 1}, "W-WED": {"configs": 1, "mase_geometric_ratio": 1.0027864836367626, "mase_improved_configs": 0, "absolute_window_mean_error_geometric_ratio": 0.9769857355447445, "absolute_window_mean_error_improved_configs": 1}}}}, {"cutoff": "valid_backcast", "overall": {"configs": 97, "mase_geometric_ratio": 1.0043956502406768, "mase_improved_configs": 42, "absolute_window_mean_error_geometric_ratio": 0.9750369386416232, "absolute_window_mean_error_improved_configs": 62}, "groups": {"term": {"long": {"configs": 21, "mase_geometric_ratio": 1.0073350215848873, "mase_improved_configs": 7, "absolute_window_mean_error_geometric_ratio": 0.9757770130230867, "absolute_window_mean_error_improved_configs": 11}, "medium": {"configs": 21, "mase_geometric_ratio": 1.0036030274765084, "mase_improved_configs": 12, "absolute_window_mean_error_geometric_ratio": 0.9628233463347184, "absolute_window_mean_error_improved_configs": 14}, "short": {"configs": 55, "mase_geometric_ratio": 1.0035780740318552, "mase_improved_configs": 23, "absolute_window_mean_error_geometric_ratio": 0.9794572868516127, "absolute_window_mean_error_improved_configs": 37}}, "domain": {"Econ/Fin": {"configs": 6, "mase_geometric_ratio": 1.0045644678343106, "mase_improved_configs": 1, "absolute_window_mean_error_geometric_ratio": 1.0045269946869024, "absolute_window_mean_error_improved_configs": 1}, "Energy": {"configs": 32, "mase_geometric_ratio": 1.0010757858654578, "mase_improved_configs": 16, "absolute_window_mean_error_geometric_ratio": 1.0008235335029738, "absolute_window_mean_error_improved_configs": 19}, "Healthcare": {"configs": 5, "mase_geometric_ratio": 0.9957954703378871, "mase_improved_configs": 4, "absolute_window_mean_error_geometric_ratio": 1.073709741469126, "absolute_window_mean_error_improved_configs": 3}, "Nature": {"configs": 15, "mase_geometric_ratio": 1.0106904364564862, "mase_improved_configs": 4, "absolute_window_mean_error_geometric_ratio": 0.9461265657501264, "absolute_window_mean_error_improved_configs": 7}, "Sales": {"configs": 4, "mase_geometric_ratio": 1.002981524854158, "mase_improved_configs": 1, "absolute_window_mean_error_geometric_ratio": 0.940952561967943, "absolute_window_mean_error_improved_configs": 4}, "Transport": {"configs": 15, "mase_geometric_ratio": 1.005841632595021, "mase_improved_configs": 9, "absolute_window_mean_error_geometric_ratio": 0.9682965040290205, "absolute_window_mean_error_improved_configs": 12}, "Web/CloudOps": {"configs": 20, "mase_geometric_ratio": 1.0063196939333392, "mase_improved_configs": 7, "absolute_window_mean_error_geometric_ratio": 0.9368891661510867, "absolute_window_mean_error_improved_configs": 16}}, "frequency": {"10S": {"configs": 6, "mase_geometric_ratio": 1.0004630580840181, "mase_improved_configs": 3, "absolute_window_mean_error_geometric_ratio": 1.0066478493366202, "absolute_window_mean_error_improved_configs": 5}, "10T": {"configs": 6, "mase_geometric_ratio": 0.9996303404868743, "mase_improved_configs": 4, "absolute_window_mean_error_geometric_ratio": 1.00749977912842, "absolute_window_mean_error_improved_configs": 3}, "15T": {"configs": 12, "mase_geometric_ratio": 1.0138587854483252, "mase_improved_configs": 5, "absolute_window_mean_error_geometric_ratio": 1.0173885821818869, "absolute_window_mean_error_improved_configs": 7}, "5T": {"configs": 12, "mase_geometric_ratio": 1.0064803705428722, "mase_improved_configs": 4, "absolute_window_mean_error_geometric_ratio": 0.9332117872562034, "absolute_window_mean_error_improved_configs": 9}, "A-DEC": {"configs": 1, "mase_geometric_ratio": 1.0033394771704007, "mase_improved_configs": 0, "absolute_window_mean_error_geometric_ratio": 1.0031026530194607, "absolute_window_mean_error_improved_configs": 0}, "D": {"configs": 15, "mase_geometric_ratio": 1.005526870316722, "mase_improved_configs": 7, "absolute_window_mean_error_geometric_ratio": 0.9127755153331728, "absolute_window_mean_error_improved_configs": 13}, "H": {"configs": 31, "mase_geometric_ratio": 1.0038487256462854, "mase_improved_configs": 13, "absolute_window_mean_error_geometric_ratio": 0.9676581734251696, "absolute_window_mean_error_improved_configs": 18}, "M": {"configs": 5, "mase_geometric_ratio": 1.0050632342936496, "mase_improved_configs": 2, "absolute_window_mean_error_geometric_ratio": 1.0857406785360968, "absolute_window_mean_error_improved_configs": 2}, "Q-DEC": {"configs": 1, "mase_geometric_ratio": 1.001577495323075, "mase_improved_configs": 0, "absolute_window_mean_error_geometric_ratio": 1.0006769754796427, "absolute_window_mean_error_improved_configs": 0}, "W-FRI": {"configs": 2, "mase_geometric_ratio": 0.9933931458007268, "mase_improved_configs": 2, "absolute_window_mean_error_geometric_ratio": 0.9767596481553404, "absolute_window_mean_error_improved_configs": 2}, "W-SUN": {"configs": 1, "mase_geometric_ratio": 1.0124856690788877, "mase_improved_configs": 0, "absolute_window_mean_error_geometric_ratio": 1.0132118630968618, "absolute_window_mean_error_improved_configs": 0}, "W-THU": {"configs": 3, "mase_geometric_ratio": 0.98136636403106, "mase_improved_configs": 2, "absolute_window_mean_error_geometric_ratio": 0.9193587032733603, "absolute_window_mean_error_improved_configs": 2}, "W-TUE": {"configs": 1, "mase_geometric_ratio": 1.0014227827990596, "mase_improved_configs": 0, "absolute_window_mean_error_geometric_ratio": 1.4395100030384929, "absolute_window_mean_error_improved_configs": 0}, "W-WED": {"configs": 1, "mase_geometric_ratio": 1.0061631126478323, "mase_improved_configs": 0, "absolute_window_mean_error_geometric_ratio": 0.9809517696226874, "absolute_window_mean_error_improved_configs": 1}}}}, {"cutoff": "valid_backcast2", "overall": {"configs": 94, "mase_geometric_ratio": 1.0042511652582362, "mase_improved_configs": 31, "absolute_window_mean_error_geometric_ratio": 0.9748386907354666, "absolute_window_mean_error_improved_configs": 50}, "groups": {"term": {"long": {"configs": 19, "mase_geometric_ratio": 1.0020998765256748, "mase_improved_configs": 5, "absolute_window_mean_error_geometric_ratio": 0.9703152631281979, "absolute_window_mean_error_improved_configs": 11}, "medium": {"configs": 21, "mase_geometric_ratio": 1.0052678268333748, "mase_improved_configs": 6, "absolute_window_mean_error_geometric_ratio": 0.9775397151263623, "absolute_window_mean_error_improved_configs": 10}, "short": {"configs": 54, "mase_geometric_ratio": 1.0046138091515748, "mase_improved_configs": 20, "absolute_window_mean_error_geometric_ratio": 0.9753851784345646, "absolute_window_mean_error_improved_configs": 29}}, "domain": {"Econ/Fin": {"configs": 6, "mase_geometric_ratio": 1.0034682051831199, "mase_improved_configs": 0, "absolute_window_mean_error_geometric_ratio": 1.0037443603297178, "absolute_window_mean_error_improved_configs": 1}, "Energy": {"configs": 32, "mase_geometric_ratio": 1.0020845748051264, "mase_improved_configs": 12, "absolute_window_mean_error_geometric_ratio": 1.0020921585874243, "absolute_window_mean_error_improved_configs": 16}, "Healthcare": {"configs": 5, "mase_geometric_ratio": 0.9938735721226786, "mase_improved_configs": 4, "absolute_window_mean_error_geometric_ratio": 0.9987461504304607, "absolute_window_mean_error_improved_configs": 3}, "Nature": {"configs": 15, "mase_geometric_ratio": 1.014454152675973, "mase_improved_configs": 5, "absolute_window_mean_error_geometric_ratio": 0.9446572156866833, "absolute_window_mean_error_improved_configs": 6}, "Sales": {"configs": 3, "mase_geometric_ratio": 1.0123098166256574, "mase_improved_configs": 0, "absolute_window_mean_error_geometric_ratio": 0.9248436114291251, "absolute_window_mean_error_improved_configs": 3}, "Transport": {"configs": 14, "mase_geometric_ratio": 1.0001582752052998, "mase_improved_configs": 6, "absolute_window_mean_error_geometric_ratio": 0.9617813398761575, "absolute_window_mean_error_improved_configs": 8}, "Web/CloudOps": {"configs": 19, "mase_geometric_ratio": 1.0046369654690803, "mase_improved_configs": 4, "absolute_window_mean_error_geometric_ratio": 0.9565252378494237, "absolute_window_mean_error_improved_configs": 13}}, "frequency": {"10S": {"configs": 6, "mase_geometric_ratio": 1.0005847416282652, "mase_improved_configs": 1, "absolute_window_mean_error_geometric_ratio": 0.9911411663706743, "absolute_window_mean_error_improved_configs": 3}, "10T": {"configs": 6, "mase_geometric_ratio": 0.997126927783247, "mase_improved_configs": 4, "absolute_window_mean_error_geometric_ratio": 0.9796552001075441, "absolute_window_mean_error_improved_configs": 3}, "15T": {"configs": 11, "mase_geometric_ratio": 1.0089257483644578, "mase_improved_configs": 3, "absolute_window_mean_error_geometric_ratio": 1.0198360907924153, "absolute_window_mean_error_improved_configs": 4}, "5T": {"configs": 12, "mase_geometric_ratio": 1.0048575602689354, "mase_improved_configs": 4, "absolute_window_mean_error_geometric_ratio": 0.9405900880514476, "absolute_window_mean_error_improved_configs": 9}, "A-DEC": {"configs": 1, "mase_geometric_ratio": 1.0033967432592013, "mase_improved_configs": 0, "absolute_window_mean_error_geometric_ratio": 1.0040212649764733, "absolute_window_mean_error_improved_configs": 0}, "D": {"configs": 15, "mase_geometric_ratio": 1.00253862889123, "mase_improved_configs": 5, "absolute_window_mean_error_geometric_ratio": 0.9713510279811827, "absolute_window_mean_error_improved_configs": 7}, "H": {"configs": 30, "mase_geometric_ratio": 1.0026208717262242, "mase_improved_configs": 10, "absolute_window_mean_error_geometric_ratio": 0.9829041344605416, "absolute_window_mean_error_improved_configs": 17}, "M": {"configs": 4, "mase_geometric_ratio": 1.0052438892492017, "mase_improved_configs": 2, "absolute_window_mean_error_geometric_ratio": 1.0839694086357927, "absolute_window_mean_error_improved_configs": 2}, "Q-DEC": {"configs": 1, "mase_geometric_ratio": 1.0000842136854542, "mase_improved_configs": 0, "absolute_window_mean_error_geometric_ratio": 1.0003005417994406, "absolute_window_mean_error_improved_configs": 0}, "W-FRI": {"configs": 2, "mase_geometric_ratio": 0.9983896591210277, "mase_improved_configs": 1, "absolute_window_mean_error_geometric_ratio": 0.9969894248530805, "absolute_window_mean_error_improved_configs": 1}, "W-SUN": {"configs": 1, "mase_geometric_ratio": 1.0097865744049526, "mase_improved_configs": 0, "absolute_window_mean_error_geometric_ratio": 1.008921752809714, "absolute_window_mean_error_improved_configs": 0}, "W-THU": {"configs": 3, "mase_geometric_ratio": 1.0413161413725458, "mase_improved_configs": 0, "absolute_window_mean_error_geometric_ratio": 0.7122435370130266, "absolute_window_mean_error_improved_configs": 2}, "W-TUE": {"configs": 1, "mase_geometric_ratio": 0.9872458561917964, "mase_improved_configs": 1, "absolute_window_mean_error_geometric_ratio": 0.9806156523523161, "absolute_window_mean_error_improved_configs": 1}, "W-WED": {"configs": 1, "mase_geometric_ratio": 1.0005349772041254, "mase_improved_configs": 0, "absolute_window_mean_error_geometric_ratio": 0.9621556399763823, "absolute_window_mean_error_improved_configs": 1}}}}, {"cutoff": "valid_backcast3", "overall": {"configs": 93, "mase_geometric_ratio": 1.000347993499901, "mase_improved_configs": 40, "absolute_window_mean_error_geometric_ratio": 0.9659294398285165, "absolute_window_mean_error_improved_configs": 55}, "groups": {"term": {"long": {"configs": 19, "mase_geometric_ratio": 1.0025767764410314, "mase_improved_configs": 9, "absolute_window_mean_error_geometric_ratio": 0.9744922728898918, "absolute_window_mean_error_improved_configs": 12}, "medium": {"configs": 20, "mase_geometric_ratio": 1.0049773916011813, "mase_improved_configs": 5, "absolute_window_mean_error_geometric_ratio": 0.9744935518746368, "absolute_window_mean_error_improved_configs": 10}, "short": {"configs": 54, "mase_geometric_ratio": 0.9978571339679252, "mase_improved_configs": 26, "absolute_window_mean_error_geometric_ratio": 0.9597915367482226, "absolute_window_mean_error_improved_configs": 33}}, "domain": {"Econ/Fin": {"configs": 6, "mase_geometric_ratio": 1.0027247238368715, "mase_improved_configs": 2, "absolute_window_mean_error_geometric_ratio": 1.0033848619447459, "absolute_window_mean_error_improved_configs": 1}, "Energy": {"configs": 32, "mase_geometric_ratio": 1.0020415282528414, "mase_improved_configs": 14, "absolute_window_mean_error_geometric_ratio": 0.9992553043282705, "absolute_window_mean_error_improved_configs": 14}, "Healthcare": {"configs": 5, "mase_geometric_ratio": 1.0035946872800658, "mase_improved_configs": 3, "absolute_window_mean_error_geometric_ratio": 0.9727047379437574, "absolute_window_mean_error_improved_configs": 4}, "Nature": {"configs": 15, "mase_geometric_ratio": 0.9940937729019417, "mase_improved_configs": 5, "absolute_window_mean_error_geometric_ratio": 0.9169479526816368, "absolute_window_mean_error_improved_configs": 9}, "Sales": {"configs": 3, "mase_geometric_ratio": 0.9993349215870356, "mase_improved_configs": 2, "absolute_window_mean_error_geometric_ratio": 0.9119800247299182, "absolute_window_mean_error_improved_configs": 3}, "Transport": {"configs": 14, "mase_geometric_ratio": 1.000262550443206, "mase_improved_configs": 8, "absolute_window_mean_error_geometric_ratio": 0.9552629201722136, "absolute_window_mean_error_improved_configs": 10}, "Web/CloudOps": {"configs": 18, "mase_geometric_ratio": 1.0011119999817575, "mase_improved_configs": 6, "absolute_window_mean_error_geometric_ratio": 0.9531275121939072, "absolute_window_mean_error_improved_configs": 14}}, "frequency": {"10S": {"configs": 6, "mase_geometric_ratio": 0.9993465871284027, "mase_improved_configs": 2, "absolute_window_mean_error_geometric_ratio": 0.9599340233803964, "absolute_window_mean_error_improved_configs": 3}, "10T": {"configs": 6, "mase_geometric_ratio": 1.0025132489090958, "mase_improved_configs": 2, "absolute_window_mean_error_geometric_ratio": 0.9954963905509674, "absolute_window_mean_error_improved_configs": 5}, "15T": {"configs": 11, "mase_geometric_ratio": 1.00248352030639, "mase_improved_configs": 6, "absolute_window_mean_error_geometric_ratio": 0.9685680874822724, "absolute_window_mean_error_improved_configs": 6}, "5T": {"configs": 12, "mase_geometric_ratio": 1.0024942612811627, "mase_improved_configs": 5, "absolute_window_mean_error_geometric_ratio": 0.9504997125380298, "absolute_window_mean_error_improved_configs": 10}, "A-DEC": {"configs": 1, "mase_geometric_ratio": 0.997429982069009, "mase_improved_configs": 1, "absolute_window_mean_error_geometric_ratio": 0.9966375048656025, "absolute_window_mean_error_improved_configs": 1}, "D": {"configs": 15, "mase_geometric_ratio": 1.0123898879073179, "mase_improved_configs": 5, "absolute_window_mean_error_geometric_ratio": 0.9843070671118205, "absolute_window_mean_error_improved_configs": 9}, "H": {"configs": 29, "mase_geometric_ratio": 1.004047903700036, "mase_improved_configs": 11, "absolute_window_mean_error_geometric_ratio": 0.9938670146054513, "absolute_window_mean_error_improved_configs": 14}, "M": {"configs": 4, "mase_geometric_ratio": 0.9892802816627421, "mase_improved_configs": 4, "absolute_window_mean_error_geometric_ratio": 0.9426545393729914, "absolute_window_mean_error_improved_configs": 3}, "Q-DEC": {"configs": 1, "mase_geometric_ratio": 1.000629182029433, "mase_improved_configs": 0, "absolute_window_mean_error_geometric_ratio": 1.0028068800675565, "absolute_window_mean_error_improved_configs": 0}, "W-FRI": {"configs": 2, "mase_geometric_ratio": 1.0035411963700147, "mase_improved_configs": 1, "absolute_window_mean_error_geometric_ratio": 1.0055862875927724, "absolute_window_mean_error_improved_configs": 1}, "W-SUN": {"configs": 1, "mase_geometric_ratio": 1.0103587358495003, "mase_improved_configs": 0, "absolute_window_mean_error_geometric_ratio": 1.009665455940348, "absolute_window_mean_error_improved_configs": 0}, "W-THU": {"configs": 3, "mase_geometric_ratio": 0.8979625881881648, "mase_improved_configs": 3, "absolute_window_mean_error_geometric_ratio": 0.6377839677495131, "absolute_window_mean_error_improved_configs": 2}, "W-TUE": {"configs": 1, "mase_geometric_ratio": 1.0030779785297628, "mase_improved_configs": 0, "absolute_window_mean_error_geometric_ratio": 1.011238867329527, "absolute_window_mean_error_improved_configs": 0}, "W-WED": {"configs": 1, "mase_geometric_ratio": 1.0097151632534134, "mase_improved_configs": 0, "absolute_window_mean_error_geometric_ratio": 0.9791423230890336, "absolute_window_mean_error_improved_configs": 1}}}}], "review_commands": [{"command": ["python3", "/workspace/research/recovery/record_learning_diagnostic.py", "--experiment", "E181", "--run", "window_mean_loss", "--control", "overflow_control", "--step", "12000", "--decision", "Original final12k four-cutoff source comparison fails; no automatic transfer or publication. Main outcome is interpreted with all original cutoffs."], "seconds": 0.09120978112332523}, {"command": ["python3", "/workspace/research/window_mean_objective/review_errors_all_cutoffs.py", "--step", "12000"], "seconds": 10.56636736402288}], "review_seconds": 10.672686664853245, "optimizer_updates": 0, "new_neural_inference": false, "outcome": "Both original primary and final source gates fail. Auxiliary loss study complete; no larger-model transfer or composition selected.", "interpretation": "Adaptive validation, not held-out reward. HistoricalE80used its original nondeterministic numerical mode, while E181declared deterministic kernels upfront. Lower absolute window-mean error does not necessarily imply lower pointwise median error and is not a recoverable correction."} + +2026-10-24T04:53:31.848596+00:00: E186 separate future-average head matched-pair declaration {"experiment": "E186", "declared_utc": "2026-10-24T04:53:31.848596+00:00", "status": "declared before implementation and all new results", "hypothesis": "E181direct penalty reduces window-level mean error but fails both original skill endpoints. The conditional median of a future average need not equal the average of marginal medians. Test a separate auxiliary future-average head, preserving the original marginal quantile/median objective, against an otherwise identical inactive-head control.", "arms": [{"run": "separate_mean_control", "coefficient": 0.0, "role": "matched inactive auxiliary head"}, {"run": "separate_mean_head", "coefficient": 0.125, "role": "separate auxiliary future-average absolute loss"}], "parent_initial": "/workspace/research/horizon_delta12k.pt", "parent_initial_checkpoint_sha256": "22c08571978be31ba57368eb983089a40a44d56d4ae5e17da41afd2a761a258c", "initial": "/workspace/research/separate_window_mean_initial.pt", "initialization_seed": 1873, "initialization": "Copy every own E62scratch-trained initial tensor exactly; add one zero-initialized bias-free Linear(512,1) auxiliary head. Both arms share the identical resulting initial file. No fixture warmstart.", "parameters": 36801312, "added_parameters": 512, "seed": 197, "batch": 64, "learning_rate": 2e-05, "steps": 12000, "primary_step": 6000, "final_step": 12000, "diagnostic_steps": [1000, 3000], "packed": "/workspace/research/packed_sample", "source_weights_from": "/workspace/research/packed_sample", "data": "Byte-identical E80sampler, original ARphiUniform(.2,.995),20percent own synthetic series, same source probabilities/windows/signs/horizon augmentation and both RNGstreams.", "architecture": "Same E80quantile model. Apply the new scalar linear head to final normalized decoder query states only when training requests its auxiliary output. Pool patch scores with requested-future-point counts, including partial final patches. Forecast lengths are already known horizon metadata, not target values. Default forecast API returns the same quantiles/normalization and never computes the auxiliary output.", "objective": "Retain the exact original0.5mean-pinball+0.25median-absolute loss and context-only window weighting. Add coefficient times absolute(auxiliary signed-paired prediction minus mean of valid normalized target values clipped30), before original window reduction. Empty-target rows add0. The auxiliary head predicts a distinct statistic; no penalty is placed on the average marginal median forecast.", "paired_rule": "Auxiliary prediction is(positive-context score minus negative-context score)/2, using the same signed rows as quantiles. Candidate and control both execute identical forward/loss structure; their sole scientific factor is auxiliary coefficient0versus0.125.", "numerical_mode": "Both arms declare eager BF16, deterministic algorithms, CUBLAS_WORKSPACE_CONFIG=:4096:8, no compile-loss and no microbatch. Historical E80is a secondary comparison; it is not the matched control because numerical settings differ.", "selection": "Original6k/12k four-cutoff candidate-versus-inactive-head control comparisons. Require>=3positive/positive mean before any separate followup or composition. Main1k/3k are diagnostics only. No automatic publication or coefficient search.", "secondary_comparisons": "After matched controls exist, describe E181direct-loss6/12 versus the new inactive-head control and old E80versus newcontrol. These separate numerical/architecture diagnostics do not change E181recorded outcomes or E186selection thresholds.", "allocation": "One bounded extra small-model allocation on the SAME H100, replacing the now-completed E181extra slot. Control12000 then candidate12000 sequentially, with original six allocations unchanged. Require all engineering first and, before each arm launch under evaluationlock, observedfreeGPU>=auditedmaximumreserved+12000MiB. This extra allocation ends after the pair; no eighth simultaneous trainer. Any other GPUengineering while the pair runs needs an explicit memory review.", "engineering": "CPU: inherited tensors and initial forecasts exact,8192paired sampler rows/RNG exact, independent weighted auxiliary target/pooling/missing/sign/gradient checks. GPU: actual maximumB64/signed128/C4096/H1024, Adam/EMA placeholders, finite gradients, inactive-head loss/backbone-gradient equivalence and initial parameters unchanged. Separate actual18-update6+6+3+3 recovery perarm at original12k schedule; fixed maxabs<=1e-4 model/EMA, optimizerrelativeL2<=1e-3, exact allRNG/prefetch/ancestry. No threshold relaxation.", "sources_used": ["BEIJING_SUBWAY_30MIN", "HZMETRO", "LOS_LOOP", "PEMS03", "PEMS04", "PEMS07", "PEMS08", "PEMS_BAY", "Q-TRAFFIC", "SHMETRO", "alibaba_cluster_trace_2018", "australian_electricity_demand", "azure_vm_traces_2017", "bdg-2_bear", "bdg-2_fox", "bdg-2_panther", "bdg-2_rat", "bitcoin_with_missing", "borealis", "borg_cluster_data_2011", "buildings_900k", "bull", "cdc_fluview_ilinet", "cdc_fluview_who_nrevss", "china_air_quality", "cif_2016_12", "cif_2016_6", "cmip6_2000", "cmip6_2005", "cmip6_2010", "cockatoo", "covid19_energy", "covid_mobility", "elecdemand", "elf", "era5_2010", "era5_2011", "era5_2012", "era5_2013", "era5_2014", "era5_2015", "era5_2016", "era5_2017", "era5_2018", "extended_web_traffic_with_missing", "favorita_sales", "favorita_transactions", "gfc12_load", "gfc14_load", "gfc17_load", "godaddy", "hog", "ideal", "kaggle_web_traffic_weekly", "kdd2022", "largest_2017", "largest_2018", "largest_2019", "largest_2020", "largest_2021", "lcl", "london_smart_meters_with_missing", "m1_monthly", "m1_quarterly", "m1_yearly", "m5", "monash_m3_monthly", "monash_m3_other", "monash_m3_quarterly", "nn5_daily_with_missing", "nn5_weekly", "oikolab_weather", "pdb", "project_tycho", "residential_load_power", "residential_pv_power", "rideshare_with_missing", "sceaux", "smart", "solar_power", "spain", "subseasonal", "subseasonal_precip", "sunspot_with_missing", "taxi_30min", "tourism_quarterly", "tourism_yearly", "traffic_hourly", "traffic_weekly", "uber_tlc_daily", "uber_tlc_hourly", "vehicle_trips_with_missing", "wiki-rolling_nips", "wind_farms_with_missing", "wind_power", "Own original additive synthetic generator, copied from overflow_control/data.py; no new generator"], "pretrained_assets": [], "validation_training": false, "training_queued": false, "optimizer_updates": 0, "interpretation": "Adaptive hypothesis from completed validation diagnostics. A separate auxiliary head avoids equating two different target statistics but shared representations can still harm forecasting; improvement is not assumed. This is a new matched objective experiment, not retraining a supplied baseline to confirm its score."} + +2026-10-24T04:54:15.437456+00:00: E186 preparation {"utc": "2026-10-24T04:54:15.437456+00:00", "experiment": "E186", "initial_checkpoint_sha256": "ccf6139f2282cda85016c9e7d317080e2017dadcc87a6501a544fbae86ed9b6e", "parent_checkpoint_sha256": "22c08571978be31ba57368eb983089a40a44d56d4ae5e17da41afd2a761a258c", "parameters": 36801312, "added_parameters": 512, "code_sha256": {"separate_mean_control": {"model.py": "c78afe5b467cf64fe4f34a8e3072548b35810d5eaaef5f445a6373df8d458d81", "data.py": "6537d67ec1d76490015e5bb71a24a0317734ba7bec879628e6547e0a21a2b6e0"}, "separate_mean_head": {"model.py": "3d221e5255275b14eb206ccb8e0fe857816cc7e031d189a6ac83aabceb16fa34", "data.py": "6537d67ec1d76490015e5bb71a24a0317734ba7bec879628e6547e0a21a2b6e0"}}, "inference": "/workspace/research/separate_window_mean_inference", "seconds": 0.7600231191609055, "optimizer_updates": 0, "validation_read": false} + +2026-10-24T04:56:23.634131+00:00: E186 CPU checks {"utc": "2026-10-24T04:56:23.634131+00:00", "experiment": "E186", "training_seed": 197, "initialization_seed": 1873, "analytic_fixture_seed": 1881, "parameters": 36801312, "initial_checkpoint_sha256": "ccf6139f2282cda85016c9e7d317080e2017dadcc87a6501a544fbae86ed9b6e", "code_sha256": {"separate_mean_control": {"model.py": "c78afe5b467cf64fe4f34a8e3072548b35810d5eaaef5f445a6373df8d458d81", "data.py": "6537d67ec1d76490015e5bb71a24a0317734ba7bec879628e6547e0a21a2b6e0"}, "separate_mean_head": {"model.py": "3d221e5255275b14eb206ccb8e0fe857816cc7e031d189a6ac83aabceb16fa34", "data.py": "6537d67ec1d76490015e5bb71a24a0317734ba7bec879628e6547e0a21a2b6e0"}}, "coefficient_only_arm_difference": true, "inherited_tensors_bitwise_equal": true, "initial_forecasts_bitwise_equal": true, "auxiliary_output_unused_by_default": true, "sampler_rows": 8192, "sampler_values_masks_periods_and_rng_exact": true, "inactive_head_loss_and_all_backbone_gradients_bitwise_equal": true, "initial_candidate_backbone_gradients_bitwise_equal": true, "initial_candidate_auxiliary_gradient_nonzero": true, "point_count_pooling_verified": true, "analytic_missing_clipping_empty_target_loss_and_gradient_verified": true, "sign_pair_invariance": true, "actual_corpus_losses": [0.20115800201892853, 0.20115800201892853, 0.2987155318260193], "analytic_penalty": 0.09217217628716338, "initial_file_unchanged": true, "seconds": 8.040525309043005, "optimizer_updates": 0, "validation_read": false} + +2026-10-24T04:58:20.124590+00:00: E186 maximum-shape GPU checks {"utc": "2026-10-24T04:57:26.978128+00:00", "experiment": "E186", "fixture_seed": 1883, "training_seed": 197, "initial_checkpoint_sha256": "ccf6139f2282cda85016c9e7d317080e2017dadcc87a6501a544fbae86ed9b6e", "code_sha256": {"separate_mean_control": {"model.py": "c78afe5b467cf64fe4f34a8e3072548b35810d5eaaef5f445a6373df8d458d81", "data.py": "6537d67ec1d76490015e5bb71a24a0317734ba7bec879628e6547e0a21a2b6e0"}, "separate_mean_head": {"model.py": "3d221e5255275b14eb206ccb8e0fe857816cc7e031d189a6ac83aabceb16fa34", "data.py": "6537d67ec1d76490015e5bb71a24a0317734ba7bec879628e6547e0a21a2b6e0"}}, "deterministic_training": true, "cublas_workspace_config": ":4096:8", "compile_loss": false, "parameters": 36801312, "observed_free_before_audit_mib": 20140.0, "observed_total_mib": 81559.0, "physical_gpus": 1, "arms": [{"run": "separate_mean_control", "coefficient": 0.0, "loss": 0.33379843831062317, "memory": {"batch": 64, "signed_rows": 128, "context": 4096, "horizon": 1024, "peak_allocated_mib": 5783.82666015625, "peak_reserved_mib": 6288.0, "includes_adam_and_ema_placeholders": true}, "all_gradients_finite": true, "initial_parameters_unchanged": true, "auxiliary_gradient_norm": 0.0}, {"run": "separate_mean_head", "coefficient": 0.125, "loss": 0.43950194120407104, "memory": {"batch": 64, "signed_rows": 128, "context": 4096, "horizon": 1024, "peak_allocated_mib": 5783.82861328125, "peak_reserved_mib": 6288.0, "includes_adam_and_ema_placeholders": true}, "all_gradients_finite": true, "initial_parameters_unchanged": true, "auxiliary_gradient_norm": 0.0768548995256424}], "maximum_reserved_mib": 6288.0, "inactive_head_loss_and_backbone_gradients_bitwise_equal": true, "inactive_head_comparison_losses": [0.14236579835414886, 0.14236579835414886], "initial_file_unchanged": true, "lock_wait_seconds": 6.830412894487381e-05, "seconds": 29.295899643097073, "optimizer_updates": 0, "validation_read": false}; separate18-update recovery perarm started. No production queued. + +2026-10-24T05:03:46.600205+00:00: E186 engineering review {"utc": "2026-10-24T05:03:46.600205+00:00", "experiment": "E186", "engineering_passed": true, "parameters": 36801312, "training_seed": 197, "cpu_seconds": 8.040525309043005, "gpu_seconds": 29.295899643097073, "recovery_seconds": 168.48105949512683, "recovery_controller_seconds": 172.04848591703922, "arms": {"separate_mean_control": {"receipt": "/workspace/research/separate_mean_control_recovery_checks.json", "seconds": 82.3077939141076, "optimizer_updates": 18, "coefficient": 0.0, "all_compared_state_bitwise_equal": true, "initial_checkpoint_sha256": "ccf6139f2282cda85016c9e7d317080e2017dadcc87a6501a544fbae86ed9b6e"}, "separate_mean_head": {"receipt": "/workspace/research/separate_mean_head_recovery_checks.json", "seconds": 86.17326558101922, "optimizer_updates": 18, "coefficient": 0.125, "all_compared_state_bitwise_equal": true, "initial_checkpoint_sha256": "ccf6139f2282cda85016c9e7d317080e2017dadcc87a6501a544fbae86ed9b6e"}}, "optimizer_fixture_updates": 36, "production_updates": 0, "maximum_reserved_mib": 6288.0, "cpu_receipt": "/workspace/research/separate_window_mean_cpu_checks.json", "gpu_receipt": "/workspace/research/separate_window_mean_gpu_checks.json", "initial_checkpoint_sha256": "ccf6139f2282cda85016c9e7d317080e2017dadcc87a6501a544fbae86ed9b6e", "code_sha256": {"separate_mean_control": {"model.py": "c78afe5b467cf64fe4f34a8e3072548b35810d5eaaef5f445a6373df8d458d81", "data.py": "6537d67ec1d76490015e5bb71a24a0317734ba7bec879628e6547e0a21a2b6e0"}, "separate_mean_head": {"model.py": "3d221e5255275b14eb206ccb8e0fe857816cc7e031d189a6ac83aabceb16fa34", "data.py": "6537d67ec1d76490015e5bb71a24a0317734ba7bec879628e6547e0a21a2b6e0"}}, "engineering_seconds": 205.8174844472669, "outcome": "Both arms pass all original checks. Full repeat and interrupted restart states are bitwise equal at six fixture updates. Eligible for the declared sequential control12k/candidate12k trial, subject to the separate per-arm memory guard. No fixture weights will initialize production; no validation was used for these checks."} + +E186 separate_mean_control coefficient0.0 seed197 training started at 2026-10-24T05:03:47Z, as an authorized immediate bounded trial; required checkpoint files are present. Settings are unchanged from the declared comparison. + +2026-10-24T05:05:37.699054+00:00: Scheduled main-cutoff learning diagnostic {"utc": "2026-10-24T05:05:37.699054+00:00", "experiment": "E157featuredistill", "run": "random_capacity_long_seasonal_distill", "step": 4000, "skill": 0.3561598968872852, "checkpoint_sha256": "b5b59395fb2df38b9a821e7984eb6f88127fc6a577bb9a927ca49885aa59eab5", "eval_seconds": 100.60507249832153, "comparisons": [{"control": "distill_ensemble", "control_checkpoint_sha256": "907bbfc1252d0f62e5be920598b4579ab2576009a357c20d9e0d0f3328fe41b3", "control_skill": 0.34788108984697164, "delta": 0.008278807040313585, "group_deltas": {"term": {"long": -0.0026520873153957902, "medium": 0.0011450849082409453, "short": 0.015735859132387953}, "domain": {"Econ/Fin": -0.01012013633841835, "Energy": 0.004078600119028941, "Healthcare": 0.08257148913802526, "Nature": 0.008892559526621935, "Sales": 0.003086911587878549, "Transport": 0.006629291181180941, "Web/CloudOps": 0.002892050880086261}, "frequency": {"A": 0.008526438557658556, "D": 0.03438054564108106, "H": 0.001298475458799575, "M": 0.013027118992728015, "Q": -0.0028119331281598603, "S": -0.00204812305802482, "T": 0.002462795743993662, "W": 0.020215036720717228}, "variates": {"multivariate": 0.002084663145782817, "univariate": 0.01344926882959685}}}, {"control": "random_capacity_long_seasonal_halflr", "control_checkpoint_sha256": "061aa5ffe87fe89d0a2cfcacc8e58f304ab6f58d593c0952c23dbfde2aa163bb", "control_skill": 0.3452673605865627, "delta": 0.01089253630072251, "group_deltas": {"term": {"long": 0.007773126404373776, "medium": 0.010012113317298454, "short": 0.012507468240357644}, "domain": {"Econ/Fin": 0.008932195193708137, "Energy": 0.006612594483042189, "Healthcare": 0.012060390192758397, "Nature": 0.00022880851998374752, "Sales": 0.04496706496110403, "Transport": 0.007434197406831378, "Web/CloudOps": 0.019360601944026556}, "frequency": {"A": 0.014458120295635757, "D": 0.025208427796382438, "H": 0.005254104220864031, "M": -0.1109874952456309, "Q": -0.006391367910853485, "S": -0.010274042756571955, "T": 0.022183711079498458, "W": 0.030714094036878303}, "variates": {"multivariate": 0.014173003705815757, "univariate": 0.008185682522890203}}}], "decision": "Scheduled early diagnostic only. Original48000primary and96000final factorial comparisons remain unchanged; no early checkpoint, composition, or learning-rate change selected.", "new_neural_inference": false, "new_training": false}. No additional training or inference. + +2026-10-24T05:06:17.348212+00:00: E187 fixedF5 seasonal/distillation interaction declaration {"experiment": "E187", "declared_utc": "2026-10-24T05:06:17.348212+00:00", "status": "declared before original E157feature-distill48/96 checkpoints", "hypothesis": "Plain distillation improves standalone forecasting but its E185F5 replacement failed allfour current-composition comparisons and reduced median-error diversity. The already-running seasonal-feature/distillation interaction may preserve useful seasonal information while learning the ensemble teacher. Test only its original48/96 endpoints in the same fixedF5 position, after both factorial source controls pass.", "frozen_parent_descriptor": "a75fdfcbb4d8e38dd6e7cded3c097ff0a129976fa63277bfd277a6031ccc6140", "parent_probe_prefix": "gate_six_blend", "member_checkpoint_hashes": ["0b11b7351a4a92d1d18c71a4159ec445be3a94ace8c7a9fa0edafad87d14e960", "308389b7217c080af9eb185559d4ee3cafa0f3e0f8c4dd8f5526b68198c89988", "1a2fb20a9fb5cae6526f2e36ea47559626bece78fd9c284899836505030ae9fe", "d7cfcd72c3cb84aa69e447b76c4c3ab98c21b7c600a463f0b805f4b4300baf33", "2877a38b94a7d77a53a9df410349cecc2f6ab134c83a76744924543bbe73eb17", "4b309f0721378f97db815dd511b8b54711348270c48e9eae0103dba506f66708"], "replacement_member_index": 5, "replacement_run": "random_capacity_long_seasonal_distill", "replacement_steps": [48000, 96000], "previous_member_step": 48000, "source_controls": ["distill_ensemble", "random_capacity_long_seasonal_halflr"], "gate_run": "ensemble_gate_refresh", "gate_step": 6000, "gate_checkpoint_sha256": "a7d0ee6866ea787f29eac043531aad3613674f159fd00b3491fd87fab8388fd1", "parameters": 549432812, "blend_coefficient": 0.5, "horizon_threshold": 720, "composition": "Exactly E172 ordered FP32 arithmetic, replacing only F5 with the specified E157feature-plus-distillation endpoint. Allsix experts and unchanged primary6k gate execute everyinstance. F5 is not an input to the gate. Other five members, gate inputs/features/bounds, H720 rule and every coefficient remain fixed.", "source_training": "Already-running E157feature/distillation arm: owninitialf7e35...,146575680parameters,seed307/B48/LR1e-4/original96000,oldpack/slowAR,immutable uncompiledE96teacher coefficient0.5. No additional training or recipe change.", "source_gate": "At each original48000/96000 endpoint require>=3positive and positive mean across four cutoffs against BOTH E101plain distillation and E157seasonal no-distillation at the SAME endpoint. A failed source gate leaves that composition untested.", "selection": "After each source gate, one cached four-cutoff composition. Require>=3positive and positive mean against frozenE172 and then-current publication. Passing requires separate complete package, actual allsix forward accounting, component equality, relocation and full97public replay before any publication. No automatic publication.", "checkpoint_choices": "Only original primary48000/final96000, evaluated separately. No4/8/16/24/72 selection, interpolation, additional coefficient or threshold search. Final remains eligible for review if primary fails.", "new_training": false, "optimizer_updates": 0, "training_queued": false, "interpretation": "Adaptive hypothesis after E185negative and E157scheduled4k diagnostic (.356159896887;+.00827880704versusE101, long-.00265208732). No primary/final checkpoint exists. This does not reinterpret E185or alter E157factorial controls/endpoints. Added features may still produce redundant errors; improvement is not assumed."} + +2026-10-24T05:09:17.852829+00:00: Context increment-tail diagnostic started with fixed recent512/atleast16finitepairs and fixed centered-increment95thpercentile/MAD thresholds4and8; constant and zero-MAD nonconstant series are separate. Existing E172full-validation predictions provide error shares;12288existing-sampler rows perold/full pack provide descriptive training frequencies. All CPU, seed307, no forecasts/optimizer updates or validation training. Thresholds are in source beforeexecution; no distribution-specific generator selected. ScriptSHA6d1ec523065b42a7e589f5641932d586009111b5a057d3c7be75e5eb48bae10b. + +2026-10-24T05:09:58.351412+00:00: Scheduled main-cutoff learning diagnostic {"utc": "2026-10-24T05:09:58.351412+00:00", "experiment": "E186control", "run": "separate_mean_control", "step": 1000, "skill": 0.37684319655997833, "checkpoint_sha256": "dd43c9b9eb84428070df3c1ccc9e9b2caaad4cc55348eaaaf6639899413bef59", "eval_seconds": 28.3669331073761, "comparisons": [{"control": "overflow_control", "control_checkpoint_sha256": "fb64456ba0c2ebef979b8525274132618fe542f67e7193036e4a013de6629f5c", "control_skill": 0.37680439430493307, "delta": 3.880225504526713e-05, "group_deltas": {"term": {"long": -2.3118214492190425e-05, "medium": -4.23687135708839e-06, "short": 8.188477707204989e-05}, "domain": {"Econ/Fin": -2.7395315485456706e-05, "Energy": 1.3176318064633818e-05, "Healthcare": 0.00048449546063522586, "Nature": 3.651808290983105e-06, "Sales": 0.00010437623435910481, "Transport": 5.878744498977184e-07, "Web/CloudOps": 1.0805388388823722e-05}, "frequency": {"A": -6.311543738823922e-05, "D": 0.00015045641434141555, "H": -1.4151042192045438e-05, "M": 5.862128360600849e-05, "Q": 8.788101684242822e-05, "S": 7.4344917635471575e-06, "T": 2.8752348653404702e-05, "W": 0.00012764853372404517}, "variates": {"multivariate": -8.465191238871128e-06, "univariate": 7.818679058135825e-05}}}, {"control": "window_mean_loss", "control_checkpoint_sha256": "0423a354ada38d471eac4f6beba0b1aaf6a264df26abb0ba1bd7b2ba87f0b84a", "control_skill": 0.37743780965359874, "delta": -0.0005946130936204108, "group_deltas": {"term": {"long": -0.0007513878983391731, "medium": -9.957736194121658e-05, "short": -0.0007345308103300363}, "domain": {"Econ/Fin": 0.0008359589030604297, "Energy": -0.001462672995875769, "Healthcare": -0.00020077572841870062, "Nature": -0.0013972230088944437, "Sales": 0.0015673965652424071, "Transport": 0.003431405137074184, "Web/CloudOps": -0.002601619637867314}, "frequency": {"A": -0.001039233640792947, "D": -0.002402400047920694, "H": 0.0003498140606476019, "M": 0.00039086982274194604, "Q": -0.00047441093072009277, "S": -0.00046591883089308617, "T": 0.00020543814397500082, "W": -0.005828631011225771}, "variates": {"multivariate": -0.0017282236809114115, "univariate": 0.000352232128418728}}}], "decision": "Inactive auxiliary-head control early diagnostic only. Numerical mode differs from historicalE80; E181direct penalty is a secondary comparison. The matched candidate has not started. Original6000primary and12000final remain unchanged.", "new_neural_inference": false, "new_training": false}. No additional training or inference. + +E160 integrated synthetic local level independent seed523 training started at 2026-10-24T05:10:07Z, after the declared dependency processes exited; required checkpoint files are present. Settings are unchanged from the declared comparison. + +2026-10-24T05:10:58.965763+00:00: E152 refreshed full-corpus gate training complete {"utc": "2026-10-24T05:10:58.965763+00:00", "run": "ensemble_gate_refresh_full", "experiment": "E152", "completed_utc": "2026-10-24T05:10:04Z", "training_process_seconds": 6250.820432513021, "last_training_record": {"completed_step": 12000, "training_process_loop_seconds": 6187.035417275969}, "outcome": "Original12000schedule complete. Finalfourcutoff selection pending. E178was primary6000only and is already rejected; final12is not an E178substitution. E160declared next allocation started."} + +2026-10-24T05:15:54.428690+00:00: Scheduled main-cutoff learning diagnostic {"utc": "2026-10-24T05:15:54.428690+00:00", "experiment": "E155", "run": "random_capacity_1536", "step": 4000, "skill": 0.3247559839339563, "checkpoint_sha256": "00f5a0831edc34322b8635e026b0fae93af50c7af145f5359f97b3b18a6c1120", "eval_seconds": 59.450780391693115, "comparisons": [{"control": "random_capacity_1024", "control_checkpoint_sha256": "ce1d3cf0e49de7acc168ca818424fef4c58feebc49e35ebccd79e6a7450c810a", "control_skill": 0.3281339194194064, "delta": -0.0033779354854500676, "group_deltas": {"term": {"long": 0.005284047002143688, "medium": 0.005897009676580134, "short": -0.010988561250193984}, "domain": {"Econ/Fin": -0.00554732114241363, "Energy": -0.0037528676742950573, "Healthcare": -0.06793864054576415, "Nature": -0.013265809639216086, "Sales": 0.014432705844041882, "Transport": -0.0038586924460293215, "Web/CloudOps": 0.0131477708766361}, "frequency": {"A": -0.014609251849226568, "D": 0.0010621623353210818, "H": 0.0017151949071083639, "M": -0.1573433974280687, "Q": -0.028653366527439994, "S": 0.008132517350202928, "T": 0.0008900271931944204, "W": 0.002119697960208611}, "variates": {"multivariate": 0.0021696497090966105, "univariate": -0.008097333588066968}}}], "decision": "Original early learning diagnostic, below the matched146Mcontrol on main. Retain original96000schedule and48000primary/96000final four-cutoff comparisons. No learning-rate change, early-stop, composition, or larger-teacher launch selected from this early result.", "new_neural_inference": false, "new_training": false}. No additional training or inference. + +2026-10-24T05:17:14.109714+00:00: Increment-tail descriptive review {"utc": "2026-10-24T05:17:14.109714+00:00", "checkpoint_sha256": "a75fdfcbb4d8e38dd6e7cded3c097ff0a129976fa63277bfd277a6031ccc6140", "rows": {"fewer_than16_pairs": {"validation_equal_configuration_history_fraction": 0.009825381126507446, "validation_mase_eligible_fraction": 0.004098633300643315, "validation_mase_error_fraction": 0.004035083194427114, "mase_error_share_over_eligible_share": 0.9844948055718412, "training_window_fractions": {"packed_sample": 0.051513671875, "packed_stratified_full": 0.051839192708333336}}, "constant_increments": {"validation_equal_configuration_history_fraction": 0.012188629394425889, "validation_mase_eligible_fraction": 0.008988231066941271, "validation_mase_error_fraction": 0.002918320828795292, "mase_error_share_over_eligible_share": 0.32468244386026973, "training_window_fractions": {"packed_sample": 0.0341796875, "packed_stratified_full": 0.032796223958333336}}, "zero_MAD_nonconstant": {"validation_equal_configuration_history_fraction": 0.13550112544188495, "validation_mase_eligible_fraction": 0.13815320908853113, "validation_mase_error_fraction": 0.14278032986949463, "mase_error_share_over_eligible_share": 1.0334926768005683, "training_window_fractions": {"packed_sample": 0.054117838541666664, "packed_stratified_full": 0.053385416666666664}}, "tail_ratio_up_to4": {"validation_equal_configuration_history_fraction": 0.29667256025550603, "validation_mase_eligible_fraction": 0.298724458196822, "validation_mase_error_fraction": 0.28882987738316684, "mase_error_share_over_eligible_share": 0.9668772323719946, "training_window_fractions": {"packed_sample": 0.4580078125, "packed_stratified_full": 0.4508463541666667}}, "tail_ratio4_to8": {"validation_equal_configuration_history_fraction": 0.3604813383654359, "validation_mase_eligible_fraction": 0.36271484056199704, "validation_mase_error_fraction": 0.3735977063100987, "mase_error_share_over_eligible_share": 1.0300039163857744, "training_window_fractions": {"packed_sample": 0.2601725260416667, "packed_stratified_full": 0.264404296875}}, "tail_ratio_over8": {"validation_equal_configuration_history_fraction": 0.18533096541623975, "validation_mase_eligible_fraction": 0.1873206277850652, "validation_mase_error_fraction": 0.1878386824140175, "mase_error_share_over_eligible_share": 1.0027656037409116, "training_window_fractions": {"packed_sample": 0.14200846354166666, "packed_stratified_full": 0.146728515625}}}, "validation_wall_seconds": 305.31275176396593, "training_wall_seconds": 63.95457066898234, "total_successful_diagnostic_wall_seconds": 369.2673224329483, "seed": 307, "training_rows_per_pack": 12288, "optimizer_updates": 0, "new_neural_inference": false, "validation_script_sha256": "6d1ec523065b42a7e589f5641932d586009111b5a057d3c7be75e5eb48bae10b", "training_script_sha256": "81b6a10fb44026a31c96506394acf2e36fa2b7d63db8eb642ccdd139fe48e428", "engineering_incident": "Training-only diagnostic initially stopped before any samples at ModuleNotFoundError:model because the dynamically imported sampler uses its sibling model module. Preserved first script and failure log; added its module directory to sys.path and reran training-only mode. Completed full-validation diagnostic was not repeated. Failed-import elapsed time was not separately measured.", "outcome": "No new heavy-tailed generator or model selected. Extreme-change histories are less frequent in both sampled training packs than equal-config validation, but their MASE error share is essentially proportional to eligible label share. Zero-MAD nonconstant histories also differ in prevalence, without a disproportionate aggregate MASE burden sufficient to motivate a new intervention.", "limitations": "Training frequencies weight sampled windows; validation frequencies average configurations, so this is a descriptive distribution comparison rather than a target sampling prescription. First differences combine seasonal shape, events, changing variance and innovations. WQL numerator shares were computed, but absolute-label-mass shares were not; they cannot establish within-bucket relative WQL. Bucket error concentrations are confounded and validation has been reused adaptively."} + +2026-10-24T05:17:14.253229+00:00: Scheduled main-cutoff learning diagnostic {"utc": "2026-10-24T05:17:14.253229+00:00", "experiment": "E160", "run": "integrated_level_replication", "step": 1000, "skill": 0.37683560461707133, "checkpoint_sha256": "1c47b2a1ce2d3c90c46e680a5bac099afa6cb779d7fa0713a3d12bda0d31d181", "eval_seconds": 47.91064953804016, "comparisons": [{"control": "weekly_replication_control", "control_checkpoint_sha256": "7b4c410a4fb98611f66e0f0cd4ef151938963a4adfea7660d66e8d4fef4eb5c1", "control_skill": 0.37656686124682126, "delta": 0.00026874337025006856, "group_deltas": {"term": {"long": 7.18074989537465e-05, "medium": 0.0005268350125681165, "short": 0.000242032283814142}, "domain": {"Econ/Fin": 0.00043304674219302175, "Energy": 0.000523551759254004, "Healthcare": -0.003606541103036487, "Nature": 0.001039866649842569, "Sales": 0.00023827196942949325, "Transport": 4.7251442336637695e-05, "Web/CloudOps": 0.0004672814296220462}, "frequency": {"A": 0.000645995983156511, "D": -0.0006894383204916199, "H": 0.00035081377931023283, "M": -0.002084016993218918, "Q": -0.00040153209307924875, "S": -0.00010961252817653921, "T": 0.0010314954487248285, "W": -0.0002811864565367417}, "variates": {"multivariate": 0.0008318627083075958, "univariate": -0.00020451860234671493}}}], "decision": "Replication early diagnostic only. Original6000primary and12000final four-cutoff comparison against the seed523matched inactive-generator control remains unchanged. E171fresh-scaling conditional gate still requires the original primary comparison.", "new_neural_inference": false, "new_training": false}. No additional training or inference. + +2026-10-24T05:18:06.710477+00:00: E171 conditional engineering memory review {"utc": "2026-10-24T05:18:06.710477+00:00", "experiment": "E171", "engineering_only": true, "physical_gpus": 1, "reviewed": true, "measured_maximum_shape_reserved_mib": 10602.0, "minimum_free_before_recovery_mib": 14698.0, "extra_headroom_mib": 4096, "source_audit": "/workspace/research/fresh_seasonal_integrated_gpu_audit_reuse.json", "reason": "E186 bounded extra training allocation is now active. E171conditional recovery must not automatically add its audited10602MiBmaximum footprint to that overlap. Measure current free memory while holding the evaluation lock and wait until at least auditedreserved+4096MiB is available; release the lock between waits. This includes CUDA/context/transient margin and does not change the original source gate,18fixtureupdates,96kschedule,seed,batch,optimizer or numerical tolerances. No newGPUwork is performed by this review.", "original_check_script_sha256": "d1637db8b7f13676864c8a9eef5b79a546b5736984c836ef39f91b0d1267cc3e", "optimizer_updates": 0, "new_neural_inference": false, "guarded_check_script_sha256": "7a46c5cf860d0d5734a7abe0520ac5ad53005f44fefd96fd7b00049409a4a403"} + +2026-10-24T05:19:15.501410+00:00: Refreshed existing corpus-by-learning-rate main curves through allfour original96000endpoints;0.15109966206364334CPUwallseconds,no new inference/training. Artifact /workspace/research/analysis/corpus_lr_curve_table_20261024_051915.json. HigherLR full-vs-old final main skill gap-.003291085129; lowerLRgap+.000024589007. Mainlong improvements do not supersede recorded E147four-cutoff source failures or E183long-only failure. No new selection. + +2026-10-24T05:21:43.152343+00:00: E180/E182 conditional seven-member runtime preparation extended with guarded validation driver and independent three-whole-config C/Qcomposition check. Optional shared-GPU memory guard added to research public-replay helper with unchanged default. Prepared files {"check_arithmetic.py": "4a06c53d650d6f7bfa9ee2c6456dc8611ec1edfe5e9d4a29f76220d985edf7ce", "assemble.py": "08d2a3deaf0bc11da7ca928b1524ec41259cf825514cecc1fbe2f11c35386745", "check_runtime.py": "6aab108b89bfbe43457b1f8a970f9bce7b9abeb42e727b65c777dad79c07e34f", "runtime/composition.py": "cc1060e95acbe07c94b1d16413d57ffe51a692e671e7aed91b92c7a02ff086b0", "runtime/predict.py": "950784fe3f77fa75db2f83b8c95cda29e595275acb945d1340567e6cd917af02", "check_composition.py": "da0215e4c7ebc663c3ec3811d70d3fd3d515d318483e56f63e071628236795bd", "validate.py": "17bfe852fe0ae99e50a261b9bb5ea6e4095097797fde8f69b591d46830f44062"}. No new predictions, optimizer updates, candidates, or publication. All original source/composition gates remain required. + +2026-10-24T05:25:05.626880+00:00: Read-only raw-checkpoint page-cache review {"utc": "2026-10-24T05:25:05.626880+00:00", "passes": [{"utc": "2026-10-24T05:23:20.983961+00:00", "files": 1293, "advised_bytes": 534783556079, "before": {"current_bytes": 250714865664, "swap_bytes": 8122601472, "anon_bytes": 18746216448, "file_bytes": 227210186752, "pressure": "some avg10=8.79 avg60=10.48 avg300=8.93 total=345658973\nfull avg10=8.79 avg60=10.48 avg300=8.93 total=345620949"}, "after": {"current_bytes": 250719911936, "swap_bytes": 8122601472, "anon_bytes": 18750251008, "file_bytes": 227214524416, "pressure": "some avg10=8.79 avg60=10.48 avg300=8.93 total=345714724\nfull avg10=8.79 avg60=10.48 avg300=8.93 total=345676700"}, "seconds": 0.7161320680752397, "files_changed_or_deleted": 0}, {"utc": "2026-10-24T05:24:13.016642+00:00", "files": 1466, "advised_bytes": 625905724894, "before": {"current_bytes": 250720038912, "swap_bytes": 8122597376, "anon_bytes": 18447437824, "file_bytes": 227580010496, "pressure": "some avg10=0.22 avg60=5.31 avg300=7.80 total=346904852\nfull avg10=0.22 avg60=5.31 avg300=7.80 total=346866825"}, "after": {"current_bytes": 250708459520, "swap_bytes": 8122597376, "anon_bytes": 18438975488, "file_bytes": 227651547136, "pressure": "some avg10=0.18 avg60=5.13 avg300=7.74 total=346907443\nfull avg10=0.18 avg60=5.13 avg300=7.74 total=346869416"}, "seconds": 1.4565123529173434, "files_changed_or_deleted": 0}], "outcome": "Both read-only cache-hint passes completed with no file or training-state changes. Neither showed a material immediate reduction in total resident memory. Concurrent pressure statistics changed, so no throughput or pressure improvement is attributed to these hints. No global VM settings changed and no further reclamation scheduled."} + +2026-10-24T05:25:49.852602+00:00: Scheduled main-cutoff learning diagnostic {"utc": "2026-10-24T05:25:49.852602+00:00", "experiment": "E186control", "run": "separate_mean_control", "step": 3000, "skill": 0.3785417380502242, "checkpoint_sha256": "a6d37af36a004a0cb94510ce6be97ff53a6ca275c0afa55c1577d22ce79ccd77", "eval_seconds": 62.60750102996826, "comparisons": [{"control": "overflow_control", "control_checkpoint_sha256": "2084f1888f8d9e5afe2c740769ea2b4167086cdd62dfb4014bc3a338c00d4c12", "control_skill": 0.37866382508046315, "delta": -0.00012208703023897094, "group_deltas": {"term": {"long": -9.844269250713911e-05, "medium": -0.000134622075568247, "short": -0.00012644764631897232}, "domain": {"Econ/Fin": -0.0002660837488067669, "Energy": 7.89016975921708e-06, "Healthcare": -0.0005943333404678786, "Nature": -0.00043955274469642536, "Sales": -1.4540991138289883e-05, "Transport": -1.3958407822367569e-05, "Web/CloudOps": -9.245092505993924e-07}, "frequency": {"A": -0.0003486077925053399, "D": -0.0003978153608539259, "H": 0.00015711975727505934, "M": -0.0013461486358058439, "Q": -0.00020755006548789368, "S": -0.00021479751206265885, "T": -0.000187825565726496, "W": 0.00026110895927344835}, "variates": {"multivariate": -2.0026664970584918e-05, "univariate": -0.00020780421947097505}}}, {"control": "window_mean_loss", "control_checkpoint_sha256": "3a1bce22b8b896f1aa2a048da9df68aad71f50d6cf6bee6d0cb8dd70eba6c325", "control_skill": 0.3793199431184674, "delta": -0.0007782050682432207, "group_deltas": {"term": {"long": -0.0003558671005188252, "medium": 0.00018973883637596334, "short": -0.001349859618603455}, "domain": {"Econ/Fin": 0.0011431025802622896, "Energy": -0.002171845051136434, "Healthcare": 0.0017859357042185886, "Nature": -0.0022144125240580737, "Sales": 0.0010111432195782921, "Transport": 0.003504081182074903, "Web/CloudOps": -0.0024729423349073576}, "frequency": {"A": -0.0006901594919208609, "D": -0.0014398909121215997, "H": 0.00010570466575221538, "M": -0.004284806488797255, "Q": -4.230131458859976e-05, "S": 0.00011776717866840425, "T": -0.00037791739919490475, "W": -0.004782610956842959}, "variates": {"multivariate": -0.0018632794839104072, "univariate": 0.00013618228009559807}}}], "decision": "Scheduled inactive-head numerical-control diagnostic only. HistoricalE80and E181are secondary comparisons. The new auxiliary candidate remains gated on control completion and per-arm memory review; original6000/12000four-cutoff matched selection unchanged.", "new_neural_inference": false, "new_training": false}. No additional training or inference. + +2026-10-24T05:27:03.457836+00:00: Scheduled main-cutoff learning diagnostic {"utc": "2026-10-24T05:27:03.457836+00:00", "experiment": "E137", "run": "random_capacity_deep", "step": 48000, "skill": 0.3619466732440173, "checkpoint_sha256": "669df6ac6c848ea921415efea9356f494a84272611759ef86c9ca325cefa8404", "eval_seconds": 50.022554874420166, "comparisons": [{"control": "random_capacity_1024", "control_checkpoint_sha256": "227ea80abf17fc81ae191f94e91f6dd7adbc0d837235750b5f5e9cef3dd5472c", "control_skill": 0.3685434345005941, "delta": -0.006596761256576822, "group_deltas": {"term": {"long": -0.005687591785772272, "medium": 0.006546189705183281, "short": -0.012369473654067487}, "domain": {"Econ/Fin": 0.010771673809057969, "Energy": -0.0007963469345466656, "Healthcare": -0.07907419648797143, "Nature": -0.004214654222051362, "Sales": 0.012472088674125303, "Transport": 0.0014495458306000852, "Web/CloudOps": -0.009686500774384266}, "frequency": {"A": 0.0018510299049963042, "D": 0.002059141078726956, "H": -0.005157937497821785, "M": -0.07441931079318642, "Q": 0.0066232426939909494, "S": 0.0030763308691544866, "T": -0.004284712404722946, "W": -0.021304955239836554}, "variates": {"multivariate": -0.0023731018324292252, "univariate": -0.010100359611558196}}}], "decision": "Original primary main-cutoff result only; below same-endpoint width control. The source gate awaits allfour original cutoffs. E180composition remains untested and original96000training continues unchanged.", "new_neural_inference": false, "new_training": false}. No additional training or inference. + +2026-10-24T05:27:03.568497+00:00: Scheduled main-cutoff learning diagnostic {"utc": "2026-10-24T05:27:03.568497+00:00", "experiment": "E145", "run": "random_capacity_buildings", "step": 48000, "skill": 0.36704896226393025, "checkpoint_sha256": "c990c72bf135bee3921fc426cf39273deef9d476a7c537b45254c8e7bd1bb4b5", "eval_seconds": 41.60132908821106, "comparisons": [{"control": "random_capacity_full", "control_checkpoint_sha256": "926f61e5d5f8ffebc8a5d73285832ebedc28aca794b0b06b55fc3c48a07330d1", "control_skill": 0.36449796840324333, "delta": 0.002550993860686912, "group_deltas": {"term": {"long": 0.0003034799276866451, "medium": 0.0020589947644202855, "short": 0.0036729941537388955}, "domain": {"Econ/Fin": -0.014435623629547867, "Energy": 0.0035636152893544493, "Healthcare": 0.014900486796970092, "Nature": -0.004586340840742276, "Sales": -0.005304064384602514, "Transport": 0.0021326760908577658, "Web/CloudOps": 0.007762080132038385}, "frequency": {"A": -0.01002070481931705, "D": -0.010308324805865854, "H": 0.00043339559563138064, "M": 0.10545510113363277, "Q": 0.0059446092004026285, "S": 0.00705806539378151, "T": 0.004387817809377914, "W": -0.022500692620594842}, "variates": {"multivariate": 0.000878072926667528, "univariate": 0.00393660273122165}}}], "decision": "Original primary main-cutoff result only; above same-endpoint full-corpus control. The source gate awaits allfour original cutoffs. E182composition remains untested and original96000training continues unchanged.", "new_neural_inference": false, "new_training": false}. No additional training or inference. + +2026-10-24T05:28:14.411485+00:00: Scheduled main-cutoff learning diagnostic {"utc": "2026-10-24T05:28:14.411485+00:00", "experiment": "E160", "run": "integrated_level_replication", "step": 3000, "skill": 0.3777813533986977, "checkpoint_sha256": "549f5a725cd0dfdb3205938f1fd9492b1964b77632d675eed595bcbd75366ca4", "eval_seconds": 86.02843046188354, "comparisons": [{"control": "weekly_replication_control", "control_checkpoint_sha256": "feaf2ac11b13882c968b73d445e377276bb0278c9a59e1345806ac33f90e1901", "control_skill": 0.37742318829464827, "delta": 0.0003581651040494016, "group_deltas": {"term": {"long": -0.0008190764446738275, "medium": 0.0013492841525017951, "short": 0.0004310651670887955}, "domain": {"Econ/Fin": 0.0025077657540748532, "Energy": 0.0006217229922829137, "Healthcare": -0.00959982562977335, "Nature": 0.0009637635923361865, "Sales": 0.0003660177882641724, "Transport": 0.00036458411316420136, "Web/CloudOps": 0.0015245744340659506}, "frequency": {"A": 0.0018730674238713885, "D": -0.001477121613561505, "H": 9.380846941586807e-05, "M": 0.0009226457218743933, "Q": -0.00011376192746304081, "S": -0.0008060704391292806, "T": 0.0018413277309916598, "W": -0.0012378771763772445}, "variates": {"multivariate": 0.0010738984546885266, "univariate": -0.00024169246183591842}}}], "decision": "Scheduled replication learning diagnostic only. Retain original6000primary and12000final allfour matched comparisons. E171has no newGPUaudit or production until the original primary replication gate passes and its explicit engineering memory guard permits execution.", "new_neural_inference": false, "new_training": false}. No additional training or inference. + +{"utc": "2026-10-24T05:39:29.848497+00:00", "diagnostic": "E137/E79 existing matched training logs", "artifact": "/workspace/research/analysis/depth_width_training_through48k.json", "bins": [{"first_step": 1, "last_step": 4000, "log_blocks": 80, "width_mean_loss": 0.38606039045378565, "depth_mean_loss": 0.3888625569753349, "depth_minus_width": 0.002802166521549243, "depth_over_width": 1.0072583631753973, "depth_lower_blocks": 9, "width_recorded_loop_seconds": 1563.7, "depth_recorded_loop_seconds": 1902.8}, {"first_step": 4001, "last_step": 8000, "log_blocks": 80, "width_mean_loss": 0.3661810536533594, "depth_mean_loss": 0.36692008477821947, "depth_minus_width": 0.0007390311248600678, "depth_over_width": 1.0020182123501116, "depth_lower_blocks": 26, "width_recorded_loop_seconds": 2545.6, "depth_recorded_loop_seconds": 2937.4}, {"first_step": 8001, "last_step": 16000, "log_blocks": 160, "width_mean_loss": 0.359736702317372, "depth_mean_loss": 0.35924080991744994, "depth_minus_width": -0.0004958923999220377, "depth_over_width": 0.9986215129100602, "depth_lower_blocks": 97, "width_recorded_loop_seconds": 4545.2, "depth_recorded_loop_seconds": 4947.2}, {"first_step": 16001, "last_step": 24000, "log_blocks": 160, "width_mean_loss": 0.357342527766712, "depth_mean_loss": 0.35553498155996205, "depth_minus_width": -0.0018075462067499437, "depth_over_width": 0.9949416986048467, "depth_lower_blocks": 126, "width_recorded_loop_seconds": 6492.7, "depth_recorded_loop_seconds": 6893.9}, {"first_step": 24001, "last_step": 48000, "log_blocks": 480, "width_mean_loss": 0.34846478519402446, "depth_mean_loss": 0.34677615692156055, "depth_minus_width": -0.0016886282724639101, "depth_over_width": 0.9951540920511561, "depth_lower_blocks": 409, "width_recorded_loop_seconds": 11564.9, "depth_recorded_loop_seconds": 13332.1}], "trailing4k_endpoints": [{"first_step": 1, "last_step": 4000, "log_blocks": 80, "width_mean_loss": 0.38606039045378565, "depth_mean_loss": 0.3888625569753349, "depth_minus_width": 0.002802166521549243, "depth_over_width": 1.0072583631753973, "depth_lower_blocks": 9, "width_recorded_loop_seconds": 1563.7, "depth_recorded_loop_seconds": 1902.8, "main_validation": {"width": {"skill": 0.3281339194194064, "checkpoint_sha256": "ce1d3cf0e49de7acc168ca818424fef4c58feebc49e35ebccd79e6a7450c810a", "evaluation_seconds": 41.41028594970703}, "depth": {"skill": 0.32441564747404694, "checkpoint_sha256": "dfc160a8dae15200c13342bc76c2317e288fa1e7cacd4af27ca5737aa27cc25e", "evaluation_seconds": 44.41093444824219}}, "validation_delta_depth_minus_width": -0.0037182719453594526}, {"first_step": 4001, "last_step": 8000, "log_blocks": 80, "width_mean_loss": 0.3661810536533594, "depth_mean_loss": 0.36692008477821947, "depth_minus_width": 0.0007390311248600678, "depth_over_width": 1.0020182123501116, "depth_lower_blocks": 26, "width_recorded_loop_seconds": 2545.6, "depth_recorded_loop_seconds": 2937.4, "main_validation": {"width": {"skill": 0.3439793569353369, "checkpoint_sha256": "12ad3e4b1be6b38b31a3dee057805e2a532f48fe3723f6bcefb15ba63ca8ee97", "evaluation_seconds": 39.91020727157593}, "depth": {"skill": 0.342783257653821, "checkpoint_sha256": "3d3a04c5d6fd28e216a68de489bbdd796581ad702279f806ece217386e262f80", "evaluation_seconds": 43.35013031959534}}, "validation_delta_depth_minus_width": -0.0011960992815158722}, {"first_step": 12001, "last_step": 16000, "log_blocks": 80, "width_mean_loss": 0.35832878899201753, "depth_mean_loss": 0.35726175890304146, "depth_minus_width": -0.001067030088976073, "depth_over_width": 0.9970222038480981, "depth_lower_blocks": 60, "width_recorded_loop_seconds": 4545.2, "depth_recorded_loop_seconds": 4947.2, "main_validation": {"width": {"skill": 0.3494992855125878, "checkpoint_sha256": "959ff6c885777e971d4ee25729d3406485404a69a0bbfe320959506b180e9e35", "evaluation_seconds": 39.40332913398743}, "depth": {"skill": 0.350668515282071, "checkpoint_sha256": "fe9af3b7aee91974884dbc6075b71f3831b89ee5adffc3ec40402aa1d63b334b", "evaluation_seconds": 43.07280349731445}}, "validation_delta_depth_minus_width": 0.0011692297694831932}, {"first_step": 20001, "last_step": 24000, "log_blocks": 80, "width_mean_loss": 0.3546709735337645, "depth_mean_loss": 0.3530691276993603, "depth_minus_width": -0.001601845834404203, "depth_over_width": 0.9954835722290882, "depth_lower_blocks": 63, "width_recorded_loop_seconds": 6492.7, "depth_recorded_loop_seconds": 6893.9, "main_validation": {"width": {"skill": 0.35449384808212614, "checkpoint_sha256": "e03ce08a9c1c357bce9d0aca3871c8817627cc660d16706cd85fddba9b5fe5eb", "evaluation_seconds": 34.343666791915894}, "depth": {"skill": 0.35778869455925344, "checkpoint_sha256": "a95a0456829626d588826a1b20b5d43b2d1fba34cacf026eedc351b58de0b318", "evaluation_seconds": 44.11553955078125}}, "validation_delta_depth_minus_width": 0.0032948464771273}, {"first_step": 44001, "last_step": 48000, "log_blocks": 80, "width_mean_loss": 0.34779929829016326, "depth_mean_loss": 0.3466258985903114, "depth_minus_width": -0.0011733996998518625, "depth_over_width": 0.9966262160228025, "depth_lower_blocks": 63, "width_recorded_loop_seconds": 11564.9, "depth_recorded_loop_seconds": 13332.1, "main_validation": {"width": {"skill": 0.3685434345005941, "checkpoint_sha256": "227ea80abf17fc81ae191f94e91f6dd7adbc0d837235750b5f5e9cef3dd5472c", "evaluation_seconds": 37.59649729728699}, "depth": {"skill": 0.3619466732440173, "checkpoint_sha256": "669df6ac6c848ea921415efea9356f494a84272611759ef86c9ca325cefa8404", "evaluation_seconds": 50.022554874420166}}, "validation_delta_depth_minus_width": -0.006596761256576822}], "cpu_seconds": 0.04736180300824344, "interpretation": "Descriptive logged evidence only. Lower raw-weight online loss alongside worse EMA validation would argue against a simple failure to fit this training objective, but cannot identify a unique cause or exclude EMA effects. Keep the original48/96 source gates and96k schedule unchanged."} + +2026-10-24T05:39:53.681477+00:00: Matched training-objective diagnostic review {"utc": "2026-10-24T05:39:53.681477+00:00", "experiments": ["E79", "E137"], "artifact": "/workspace/research/analysis/depth_width_training_through48k.json", "artifact_sha256": "1cd2756685ec2e88a46c251b2415ffdd87a8b93c13e5212d76cfd485ce30a464", "last24k_training_loss_ratio": 0.9951540920511561, "last4k_training_loss_ratio": 0.9966262160228025, "main48k_skill_delta": -0.006596761256576822, "cpu_seconds": 0.04736180300824344, "optimizer_updates": 0, "new_neural_inference": false, "outcome": "At24k-48k the deeper model has about0.48percent lower online training loss, and0.34percent lower over the final4k, while primary48k main validation skill is lower by0.00659676. A simple inability to fit the shared training objective is not supported. This does not identify overfitting uniquely: corpus/benchmark mismatch, EMA versus raw weights, and objective differences remain possible. No architecture, loss, LR, checkpoint selection, or schedule change is made; original96k endpoint remains."} + +## E152 ensemble_gate_refresh_full 12000 valid_screen +- Checkpoint SHA-256: `2b1b39fca84d52268a46c8ea3a4b37e3fd298862cf23fdc78cd63ac6596ceb9b`. +- Evaluation: 97 configurations, 9473 instances, 0 failed configurations; 269.0910837640986 seconds. +- Overall skill 0.389263; relative MASE 0.732252; relative WQL 0.509388. +- term skill: long=0.4078, medium=0.4124, short=0.3728. +- domain skill: Econ/Fin=0.1512, Energy=0.2474, Healthcare=0.4913, Nature=0.4444, Sales=0.3446, Transport=0.4758, Web/CloudOps=0.5078. +- frequency skill: A=0.3817, D=0.3764, H=0.4046, M=0.1170, Q=0.2032, S=0.4253, T=0.4469, W=0.2454. +- variates skill: multivariate=0.4011, univariate=0.3796. +- Outcome: Declared expert-version/corpus-coverage factorial. Only6340gateparameters trained; all four immutable experts forecast every instance. Source/control/current comparisons precede any full replay. + +## E152 ensemble_gate_refresh_full 12000 valid_backcast +- Checkpoint SHA-256: `2b1b39fca84d52268a46c8ea3a4b37e3fd298862cf23fdc78cd63ac6596ceb9b`. +- Evaluation: 97 configurations, 9330 instances, 0 failed configurations; 456.94550031004474 seconds. +- Overall skill 0.345427; relative MASE 0.787995; relative WQL 0.543742. +- term skill: long=0.4058, medium=0.3636, short=0.3134. +- domain skill: Econ/Fin=0.1825, Energy=0.2351, Healthcare=0.3989, Nature=0.3846, Sales=0.4082, Transport=0.3797, Web/CloudOps=0.4575. +- frequency skill: A=0.3269, D=0.3638, H=0.3789, M=0.1915, Q=0.2375, S=0.3461, T=0.3410, W=0.2923. +- variates skill: multivariate=0.3630, univariate=0.3311. +- Outcome: Declared expert-version/corpus-coverage factorial. Only6340gateparameters trained; all four immutable experts forecast every instance. Source/control/current comparisons precede any full replay. + +## E152 ensemble_gate_refresh_full 12000 valid_backcast2 +- Checkpoint SHA-256: `2b1b39fca84d52268a46c8ea3a4b37e3fd298862cf23fdc78cd63ac6596ceb9b`. +- Evaluation: 94 configurations, 8934 instances, 0 failed configurations; 168.42161776707508 seconds. +- Overall skill 0.369959; relative MASE 0.759661; relative WQL 0.522539. +- term skill: long=0.3744, medium=0.3983, short=0.3570. +- domain skill: Econ/Fin=0.1323, Energy=0.2431, Healthcare=0.3544, Nature=0.4842, Sales=0.5583, Transport=0.4292, Web/CloudOps=0.4465. +- frequency skill: A=0.3408, D=0.4340, H=0.4007, M=0.1737, Q=0.1572, S=0.2906, T=0.3706, W=0.2859. +- variates skill: multivariate=0.3720, univariate=0.3683. +- Outcome: Declared expert-version/corpus-coverage factorial. Only6340gateparameters trained; all four immutable experts forecast every instance. Source/control/current comparisons precede any full replay. + +## E152 ensemble_gate_refresh_full 12000 valid_backcast3 +- Checkpoint SHA-256: `2b1b39fca84d52268a46c8ea3a4b37e3fd298862cf23fdc78cd63ac6596ceb9b`. +- Evaluation: 93 configurations, 8812 instances, 0 failed configurations; 858.6798308200669 seconds. +- Overall skill 0.392203; relative MASE 0.737789; relative WQL 0.500708. +- term skill: long=0.3989, medium=0.3712, short=0.3975. +- domain skill: Econ/Fin=0.1946, Energy=0.3184, Healthcare=0.2354, Nature=0.5054, Sales=0.4049, Transport=0.5145, Web/CloudOps=0.3990. +- frequency skill: A=0.3657, D=0.4455, H=0.4086, M=0.1449, Q=0.2620, S=0.2907, T=0.4336, W=0.2492. +- variates skill: multivariate=0.3749, univariate=0.4055. +- Outcome: Declared expert-version/corpus-coverage factorial. Only6340gateparameters trained; all four immutable experts forecast every instance. Source/control/current comparisons precede any full replay. + +E152 ensemble_gate_refresh_full vs ensemble_gate_refresh at12000: {"label": "E152 ensemble_gate_refresh_full vs ensemble_gate_refresh at12000", "utc": "2026-10-24T05:47:39.680130+00:00", "candidate": "ensemble_gate_refresh_full_ema12000", "control": "ensemble_gate_refresh_ema12000", "rows": [{"cutoff": "evals", "candidate_skill": 0.3892627177918213, "control_skill": 0.38909117763833057, "delta": 0.0001715401534907457, "candidate_checkpoint": "2b1b39fca84d52268a46c8ea3a4b37e3fd298862cf23fdc78cd63ac6596ceb9b", "control_checkpoint": "0627f00b35c37d5fccaafd90f001bb6f9498bbe6272640dc636dade2e379cef5", "candidate_eval_seconds": 269.0910837640986, "candidate_groups": {"term": {"long": {"n_configs": 21, "rel_mase_gmean": 0.7374474823675418, "rel_wql_gmean": 0.47556486144830207}, "medium": {"n_configs": 21, "rel_mase_gmean": 0.7059712901324747, "rel_wql_gmean": 0.48903935421797873}, "short": {"n_configs": 55, "rel_mase_gmean": 0.7405407146573144, "rel_wql_gmean": 0.5311303670068869}}, "domain": {"Econ/Fin": {"n_configs": 6, "rel_mase_gmean": 0.8618256213058857, "rel_wql_gmean": 0.8359817358070675}, "Energy": {"n_configs": 32, "rel_mase_gmean": 0.8918719145574057, "rel_wql_gmean": 0.635055988517834}, "Healthcare": {"n_configs": 5, "rel_mase_gmean": 0.5365891299959655, "rel_wql_gmean": 0.4823147026547594}, "Nature": {"n_configs": 15, "rel_mase_gmean": 0.7976604726200145, "rel_wql_gmean": 0.38695226462956395}, "Sales": {"n_configs": 4, "rel_mase_gmean": 0.8403818676690678, "rel_wql_gmean": 0.511094524868793}, "Transport": {"n_configs": 15, "rel_mase_gmean": 0.6355773182191734, "rel_wql_gmean": 0.43240549793748795}, "Web/CloudOps": {"n_configs": 20, "rel_mase_gmean": 0.557761048245737, "rel_wql_gmean": 0.43434195061371816}}, "frequency": {"A": {"n_configs": 1, "rel_mase_gmean": 0.6071987919399842, "rel_wql_gmean": 0.6296272140711697}, "D": {"n_configs": 15, "rel_mase_gmean": 0.7514132483860966, "rel_wql_gmean": 0.5176040279841194}, "H": {"n_configs": 31, "rel_mase_gmean": 0.7257100868667189, "rel_wql_gmean": 0.48851058281605897}, "M": {"n_configs": 5, "rel_mase_gmean": 0.9629910652444172, "rel_wql_gmean": 0.8096938241758701}, "Q": {"n_configs": 1, "rel_mase_gmean": 0.7690133672187685, "rel_wql_gmean": 0.8254899882209522}, "S": {"n_configs": 6, "rel_mase_gmean": 0.6563094745868008, "rel_wql_gmean": 0.5032886978522307}, "T": {"n_configs": 30, "rel_mase_gmean": 0.6825094584298355, "rel_wql_gmean": 0.44817933447985103}, "W": {"n_configs": 8, "rel_mase_gmean": 0.8752214477641024, "rel_wql_gmean": 0.6506485822964622}}, "variates": {"multivariate": {"n_configs": 43, "rel_mase_gmean": 0.7068467639200812, "rel_wql_gmean": 0.507372851535358}, "univariate": {"n_configs": 54, "rel_mase_gmean": 0.7531334900435617, "rel_wql_gmean": 0.5109975576524942}}}, "control_groups": {"term": {"long": {"n_configs": 21, "rel_mase_gmean": 0.7375364402468448, "rel_wql_gmean": 0.4756565022459154}, "medium": {"n_configs": 21, "rel_mase_gmean": 0.7063141792940849, "rel_wql_gmean": 0.4892945029744962}, "short": {"n_configs": 55, "rel_mase_gmean": 0.7407011147679528, "rel_wql_gmean": 0.5312736962809304}}, "domain": {"Econ/Fin": {"n_configs": 6, "rel_mase_gmean": 0.8621191481130345, "rel_wql_gmean": 0.8361906349510538}, "Energy": {"n_configs": 32, "rel_mase_gmean": 0.8920138587471815, "rel_wql_gmean": 0.6350502881056725}, "Healthcare": {"n_configs": 5, "rel_mase_gmean": 0.5366342026514499, "rel_wql_gmean": 0.482851060377425}, "Nature": {"n_configs": 15, "rel_mase_gmean": 0.7984119419856038, "rel_wql_gmean": 0.3872116569643627}, "Sales": {"n_configs": 4, "rel_mase_gmean": 0.840749015422885, "rel_wql_gmean": 0.5109499963706652}, "Transport": {"n_configs": 15, "rel_mase_gmean": 0.6355266781054462, "rel_wql_gmean": 0.4324195475474404}, "Web/CloudOps": {"n_configs": 20, "rel_mase_gmean": 0.5578282502561254, "rel_wql_gmean": 0.4346387734750246}}, "frequency": {"A": {"n_configs": 1, "rel_mase_gmean": 0.608657379686137, "rel_wql_gmean": 0.6305980560433666}, "D": {"n_configs": 15, "rel_mase_gmean": 0.7514551672320674, "rel_wql_gmean": 0.5176224511877894}, "H": {"n_configs": 31, "rel_mase_gmean": 0.7259462955113452, "rel_wql_gmean": 0.48876010634535333}, "M": {"n_configs": 5, "rel_mase_gmean": 0.96395734004057, "rel_wql_gmean": 0.8097695422339052}, "Q": {"n_configs": 1, "rel_mase_gmean": 0.7690363556733967, "rel_wql_gmean": 0.8252830299402244}, "S": {"n_configs": 6, "rel_mase_gmean": 0.6568211564699623, "rel_wql_gmean": 0.5034491011698659}, "T": {"n_configs": 30, "rel_mase_gmean": 0.6825954474580984, "rel_wql_gmean": 0.4483844966346045}, "W": {"n_configs": 8, "rel_mase_gmean": 0.8749827137380294, "rel_wql_gmean": 0.6503295518529567}}, "variates": {"multivariate": {"n_configs": 43, "rel_mase_gmean": 0.7070092213492694, "rel_wql_gmean": 0.5076325674170397}, "univariate": {"n_configs": 54, "rel_mase_gmean": 0.7533393769673566, "rel_wql_gmean": 0.511071701436714}}}, "group_skill_delta": {"term": {"long": 9.277655306805244e-05, "medium": 0.0002959725863471707, "short": 0.00015254138829090547}, "domain": {"Econ/Fin": 0.00025059703954288803, "Energy": 5.6507993261178946e-05, "Healthcare": 0.0003041647002426373, "Nature": 0.0004479051242630705, "Sales": 5.045402154491008e-05, "Transport": -1.2368691125752562e-05, "Web/CloudOps": 0.0001978123026267209}, "frequency": {"A": 0.0012192806319247795, "D": 2.849433370555321e-05, "H": 0.0002489607621917189, "M": 0.0004842128591098227, "Q": -8.797564580298456e-05, "S": 0.000315610093394203, "T": 0.0001614218272550927, "W": -0.0002879310595153006}, "variates": {"multivariate": 0.00022208705850246258, "univariate": 0.00012980020003483528}}}, {"cutoff": "backcast_evals", "candidate_skill": 0.3454269979851946, "control_skill": 0.3453297654244577, "delta": 9.7232560736904e-05, "candidate_checkpoint": "2b1b39fca84d52268a46c8ea3a4b37e3fd298862cf23fdc78cd63ac6596ceb9b", "control_checkpoint": "0627f00b35c37d5fccaafd90f001bb6f9498bbe6272640dc636dade2e379cef5", "candidate_eval_seconds": 456.94550031004474, "candidate_groups": {"term": {"long": {"n_configs": 21, "rel_mase_gmean": 0.7675403801636375, "rel_wql_gmean": 0.4599440585380428}, "medium": {"n_configs": 21, "rel_mase_gmean": 0.767318283889523, "rel_wql_gmean": 0.527812989307574}, "short": {"n_configs": 55, "rel_mase_gmean": 0.8040707258328063, "rel_wql_gmean": 0.586240898426796}}, "domain": {"Econ/Fin": {"n_configs": 6, "rel_mase_gmean": 0.8514573731074571, "rel_wql_gmean": 0.7848940539993614}, "Energy": {"n_configs": 32, "rel_mase_gmean": 0.8835281722742986, "rel_wql_gmean": 0.662191012052}, "Healthcare": {"n_configs": 5, "rel_mase_gmean": 0.6494927653056964, "rel_wql_gmean": 0.5562666417534683}, "Nature": {"n_configs": 15, "rel_mase_gmean": 0.9040146127968756, "rel_wql_gmean": 0.41897555411425824}, "Sales": {"n_configs": 4, "rel_mase_gmean": 0.7202579069505474, "rel_wql_gmean": 0.4862918847869523}, "Transport": {"n_configs": 15, "rel_mase_gmean": 0.7319417043265578, "rel_wql_gmean": 0.5257078150184277}, "Web/CloudOps": {"n_configs": 20, "rel_mase_gmean": 0.6531428065712159, "rel_wql_gmean": 0.4505438787580476}}, "frequency": {"A": {"n_configs": 1, "rel_mase_gmean": 0.6368705662143089, "rel_wql_gmean": 0.7113679011038536}, "D": {"n_configs": 15, "rel_mase_gmean": 0.8260588073037686, "rel_wql_gmean": 0.4899128644458598}, "H": {"n_configs": 31, "rel_mase_gmean": 0.7657439685549305, "rel_wql_gmean": 0.5037089099414597}, "M": {"n_configs": 5, "rel_mase_gmean": 0.8466531737599874, "rel_wql_gmean": 0.7720231906295008}, "Q": {"n_configs": 1, "rel_mase_gmean": 0.7559193119585185, "rel_wql_gmean": 0.7692160563113292}, "S": {"n_configs": 6, "rel_mase_gmean": 0.849430086697438, "rel_wql_gmean": 0.5033074446929292}, "T": {"n_configs": 30, "rel_mase_gmean": 0.7602612364511833, "rel_wql_gmean": 0.5712581772114572}, "W": {"n_configs": 8, "rel_mase_gmean": 0.860085984856905, "rel_wql_gmean": 0.582346946301575}}, "variates": {"multivariate": {"n_configs": 43, "rel_mase_gmean": 0.7777027943636656, "rel_wql_gmean": 0.5218223695103386}, "univariate": {"n_configs": 54, "rel_mase_gmean": 0.7962886649008387, "rel_wql_gmean": 0.5618523112847776}}}, "control_groups": {"term": {"long": {"n_configs": 21, "rel_mase_gmean": 0.7676220607244513, "rel_wql_gmean": 0.45992106861163}, "medium": {"n_configs": 21, "rel_mase_gmean": 0.7676804281403041, "rel_wql_gmean": 0.5281054897867713}, "short": {"n_configs": 55, "rel_mase_gmean": 0.8041890686557752, "rel_wql_gmean": 0.5862195037455361}}, "domain": {"Econ/Fin": {"n_configs": 6, "rel_mase_gmean": 0.8518663472394531, "rel_wql_gmean": 0.7849884556383689}, "Energy": {"n_configs": 32, "rel_mase_gmean": 0.8838101278874764, "rel_wql_gmean": 0.6623713054426233}, "Healthcare": {"n_configs": 5, "rel_mase_gmean": 0.6489305222745076, "rel_wql_gmean": 0.5551765540481204}, "Nature": {"n_configs": 15, "rel_mase_gmean": 0.9043511997922119, "rel_wql_gmean": 0.4189816131944461}, "Sales": {"n_configs": 4, "rel_mase_gmean": 0.720252090840119, "rel_wql_gmean": 0.48638711439701}, "Transport": {"n_configs": 15, "rel_mase_gmean": 0.731766376687201, "rel_wql_gmean": 0.5255541124674376}, "Web/CloudOps": {"n_configs": 20, "rel_mase_gmean": 0.653453722871606, "rel_wql_gmean": 0.4508219151669207}}, "frequency": {"A": {"n_configs": 1, "rel_mase_gmean": 0.6373833338421884, "rel_wql_gmean": 0.7116735748665814}, "D": {"n_configs": 15, "rel_mase_gmean": 0.8262896811102005, "rel_wql_gmean": 0.48987005266833555}, "H": {"n_configs": 31, "rel_mase_gmean": 0.7655395661446592, "rel_wql_gmean": 0.5035506471600433}, "M": {"n_configs": 5, "rel_mase_gmean": 0.8461583064494218, "rel_wql_gmean": 0.7723430885031082}, "Q": {"n_configs": 1, "rel_mase_gmean": 0.7554015238303505, "rel_wql_gmean": 0.768908902469066}, "S": {"n_configs": 6, "rel_mase_gmean": 0.8495210531424581, "rel_wql_gmean": 0.5035262151640457}, "T": {"n_configs": 30, "rel_mase_gmean": 0.7607651575751105, "rel_wql_gmean": 0.571493137703488}, "W": {"n_configs": 8, "rel_mase_gmean": 0.8607963994819443, "rel_wql_gmean": 0.5825350986885474}}, "variates": {"multivariate": {"n_configs": 43, "rel_mase_gmean": 0.7780083901244502, "rel_wql_gmean": 0.5219011811803469}, "univariate": {"n_configs": 54, "rel_mase_gmean": 0.7963379833305909, "rel_wql_gmean": 0.5618739912206697}}}, "group_skill_delta": {"term": {"long": 1.6763705179889676e-05, "medium": 0.00032651396938598864, "short": 3.799361128153933e-05}, "domain": {"Econ/Fin": 0.00024547976170630204, "Energy": 0.00022617642020172912, "Healthcare": -0.0008492029839370918, "Nature": 0.00011901105513612009, "Sales": 5.5555299216525356e-05, "Transport": -0.00016497549122151955, "Web/CloudOps": 0.00029649543065146666}, "frequency": {"A": 0.00041556525568264835, "D": 6.10928427343671e-05, "H": -0.00018045704724212186, "M": -6.887609091044133e-05, "Q": -0.00041341267718308927, "S": 0.00017710604892340331, "T": 0.00035393051700827183, "W": 0.00040658938732607286}, "variates": {"multivariate": 0.00017326390436522843, "univariate": 3.3618356323428245e-05}}}, {"cutoff": "backcast2_evals", "candidate_skill": 0.3699586325500155, "control_skill": 0.3700688317538089, "delta": -0.00011019920379340409, "candidate_checkpoint": "2b1b39fca84d52268a46c8ea3a4b37e3fd298862cf23fdc78cd63ac6596ceb9b", "control_checkpoint": "0627f00b35c37d5fccaafd90f001bb6f9498bbe6272640dc636dade2e379cef5", "candidate_eval_seconds": 168.42161776707508, "candidate_groups": {"term": {"long": {"n_configs": 19, "rel_mase_gmean": 0.7896223365062054, "rel_wql_gmean": 0.4956725676717917}, "medium": {"n_configs": 21, "rel_mase_gmean": 0.7457734801885424, "rel_wql_gmean": 0.48549166694320717}, "short": {"n_configs": 54, "rel_mase_gmean": 0.7547877558763879, "rel_wql_gmean": 0.5477770667287679}}, "domain": {"Econ/Fin": {"n_configs": 6, "rel_mase_gmean": 0.8607811990562062, "rel_wql_gmean": 0.8747093451374445}, "Energy": {"n_configs": 32, "rel_mase_gmean": 0.8952663415345343, "rel_wql_gmean": 0.6398872602293245}, "Healthcare": {"n_configs": 5, "rel_mase_gmean": 0.6964873159917349, "rel_wql_gmean": 0.5984236094738598}, "Nature": {"n_configs": 15, "rel_mase_gmean": 0.7440999619357396, "rel_wql_gmean": 0.35747854402338275}, "Sales": {"n_configs": 3, "rel_mase_gmean": 0.5555072274610587, "rel_wql_gmean": 0.3512387724361123}, "Transport": {"n_configs": 14, "rel_mase_gmean": 0.6612476289433749, "rel_wql_gmean": 0.4927901403467302}, "Web/CloudOps": {"n_configs": 19, "rel_mase_gmean": 0.6702277212934024, "rel_wql_gmean": 0.45701981847716655}}, "frequency": {"A": {"n_configs": 1, "rel_mase_gmean": 0.5790336613240584, "rel_wql_gmean": 0.7504286981044643}, "D": {"n_configs": 15, "rel_mase_gmean": 0.7230288592914507, "rel_wql_gmean": 0.443038219834119}, "H": {"n_configs": 30, "rel_mase_gmean": 0.7480079179832533, "rel_wql_gmean": 0.48021721165297665}, "M": {"n_configs": 4, "rel_mase_gmean": 0.8058086486232244, "rel_wql_gmean": 0.8472308703552979}, "Q": {"n_configs": 1, "rel_mase_gmean": 0.8224656573252622, "rel_wql_gmean": 0.8636115031199617}, "S": {"n_configs": 6, "rel_mase_gmean": 0.8990076562720718, "rel_wql_gmean": 0.559834274626904}, "T": {"n_configs": 29, "rel_mase_gmean": 0.7467133507440946, "rel_wql_gmean": 0.5305992013305803}, "W": {"n_configs": 8, "rel_mase_gmean": 0.8238874027919775, "rel_wql_gmean": 0.6189341040634831}}, "variates": {"multivariate": {"n_configs": 42, "rel_mase_gmean": 0.775266637859703, "rel_wql_gmean": 0.5086471654122618}, "univariate": {"n_configs": 52, "rel_mase_gmean": 0.7472858158295338, "rel_wql_gmean": 0.5340350938740516}}}, "control_groups": {"term": {"long": {"n_configs": 19, "rel_mase_gmean": 0.7895334565640594, "rel_wql_gmean": 0.4955422384493449}, "medium": {"n_configs": 21, "rel_mase_gmean": 0.7460254354756518, "rel_wql_gmean": 0.4855087389706554}, "short": {"n_configs": 54, "rel_mase_gmean": 0.754522037212207, "rel_wql_gmean": 0.5476293022095663}}, "domain": {"Econ/Fin": {"n_configs": 6, "rel_mase_gmean": 0.8607347490719534, "rel_wql_gmean": 0.8749910711598934}, "Energy": {"n_configs": 32, "rel_mase_gmean": 0.8954423179745069, "rel_wql_gmean": 0.6400235162823419}, "Healthcare": {"n_configs": 5, "rel_mase_gmean": 0.6954885767040857, "rel_wql_gmean": 0.5970789486382398}, "Nature": {"n_configs": 15, "rel_mase_gmean": 0.7432406852766494, "rel_wql_gmean": 0.35737562619069185}, "Sales": {"n_configs": 3, "rel_mase_gmean": 0.5555575362135674, "rel_wql_gmean": 0.3506775093269439}, "Transport": {"n_configs": 14, "rel_mase_gmean": 0.6611692141251759, "rel_wql_gmean": 0.4925308336338406}, "Web/CloudOps": {"n_configs": 19, "rel_mase_gmean": 0.6704348474814841, "rel_wql_gmean": 0.4570236956741581}}, "frequency": {"A": {"n_configs": 1, "rel_mase_gmean": 0.5790167341803814, "rel_wql_gmean": 0.752549096176298}, "D": {"n_configs": 15, "rel_mase_gmean": 0.7231669803529502, "rel_wql_gmean": 0.4428081288380593}, "H": {"n_configs": 30, "rel_mase_gmean": 0.7481619334542681, "rel_wql_gmean": 0.4801350765474612}, "M": {"n_configs": 4, "rel_mase_gmean": 0.8000104297238203, "rel_wql_gmean": 0.8452390409613438}, "Q": {"n_configs": 1, "rel_mase_gmean": 0.8220852129130282, "rel_wql_gmean": 0.862864887560331}, "S": {"n_configs": 6, "rel_mase_gmean": 0.8996999065339488, "rel_wql_gmean": 0.5599966130915159}, "T": {"n_configs": 29, "rel_mase_gmean": 0.7467426046943597, "rel_wql_gmean": 0.5306283639934273}, "W": {"n_configs": 8, "rel_mase_gmean": 0.8239412758610375, "rel_wql_gmean": 0.6187965678840915}}, "variates": {"multivariate": {"n_configs": 42, "rel_mase_gmean": 0.77561791681341, "rel_wql_gmean": 0.5087033139837519}, "univariate": {"n_configs": 52, "rel_mase_gmean": 0.7468105041470011, "rel_wql_gmean": 0.53379418916909}}}, "group_skill_delta": {"term": {"long": -0.00011745916159000558, "medium": 0.00011221647458359296, "short": -0.00019990990947005294}, "domain": {"Econ/Fin": 0.00011630954449537434, "Energy": 0.0001549717609915513, "Healthcare": -0.0011882639575164777, "Nature": -0.0003720823094218728, "Sales": -0.00033307884182293135, "Transport": -0.00018404647603131874, "Web/CloudOps": 8.786014108386198e-05}, "frequency": {"A": 0.0009209835481083228, "D": -9.294549965788157e-05, "H": 1.0436855009565704e-05, "M": -0.003946388865190831, "Q": -0.0005592456676225543, "S": 0.00037597624030427657, "T": 2.962771637704531e-05, "W": -5.6001627737001236e-05}, "variates": {"multivariate": 0.00017691781304240983, "univariate": -0.00034339388070736554}}}, {"cutoff": "backcast3_evals", "candidate_skill": 0.3922034557984977, "control_skill": 0.3919540331643486, "delta": 0.00024942263414906574, "candidate_checkpoint": "2b1b39fca84d52268a46c8ea3a4b37e3fd298862cf23fdc78cd63ac6596ceb9b", "control_checkpoint": "0627f00b35c37d5fccaafd90f001bb6f9498bbe6272640dc636dade2e379cef5", "candidate_eval_seconds": 858.6798308200669, "candidate_groups": {"term": {"long": {"n_configs": 19, "rel_mase_gmean": 0.7642053950017926, "rel_wql_gmean": 0.47286954304855733}, "medium": {"n_configs": 20, "rel_mase_gmean": 0.7597311797001585, "rel_wql_gmean": 0.5204309385761221}, "short": {"n_configs": 54, "rel_mase_gmean": 0.720845749572393, "rel_wql_gmean": 0.5036295521256329}}, "domain": {"Econ/Fin": {"n_configs": 6, "rel_mase_gmean": 0.8161994806442648, "rel_wql_gmean": 0.794804050054279}, "Energy": {"n_configs": 32, "rel_mase_gmean": 0.837511206135326, "rel_wql_gmean": 0.5546859424459845}, "Healthcare": {"n_configs": 5, "rel_mase_gmean": 0.8571602043145115, "rel_wql_gmean": 0.6821182776267796}, "Nature": {"n_configs": 15, "rel_mase_gmean": 0.7257776082666997, "rel_wql_gmean": 0.33707011806178133}, "Sales": {"n_configs": 3, "rel_mase_gmean": 0.7486210485130089, "rel_wql_gmean": 0.4730676310520908}, "Transport": {"n_configs": 14, "rel_mase_gmean": 0.53669835765663, "rel_wql_gmean": 0.4391757884456108}, "Web/CloudOps": {"n_configs": 18, "rel_mase_gmean": 0.7074773853184405, "rel_wql_gmean": 0.5104706401699638}}, "frequency": {"A": {"n_configs": 1, "rel_mase_gmean": 0.5265474624917599, "rel_wql_gmean": 0.7640626495802678}, "D": {"n_configs": 15, "rel_mase_gmean": 0.7335973018977882, "rel_wql_gmean": 0.4190556694061764}, "H": {"n_configs": 29, "rel_mase_gmean": 0.7258402624077217, "rel_wql_gmean": 0.4818033726269046}, "M": {"n_configs": 4, "rel_mase_gmean": 0.8675810085622286, "rel_wql_gmean": 0.8428137210251533}, "Q": {"n_configs": 1, "rel_mase_gmean": 0.7152106940949611, "rel_wql_gmean": 0.7615871061664963}, "S": {"n_configs": 6, "rel_mase_gmean": 0.8404143093602338, "rel_wql_gmean": 0.5986714057101065}, "T": {"n_configs": 29, "rel_mase_gmean": 0.7010112798827562, "rel_wql_gmean": 0.45761387072941023}, "W": {"n_configs": 8, "rel_mase_gmean": 0.833998801233888, "rel_wql_gmean": 0.6758241118526904}}, "variates": {"multivariate": {"n_configs": 41, "rel_mase_gmean": 0.7637150385992851, "rel_wql_gmean": 0.5115637860807173}, "univariate": {"n_configs": 52, "rel_mase_gmean": 0.7179688819004355, "rel_wql_gmean": 0.4923111130920324}}}, "control_groups": {"term": {"long": {"n_configs": 19, "rel_mase_gmean": 0.764099153530884, "rel_wql_gmean": 0.4728192913943981}, "medium": {"n_configs": 20, "rel_mase_gmean": 0.7597999819906668, "rel_wql_gmean": 0.5205467569547149}, "short": {"n_configs": 54, "rel_mase_gmean": 0.7210317439355491, "rel_wql_gmean": 0.5041967476141229}}, "domain": {"Econ/Fin": {"n_configs": 6, "rel_mase_gmean": 0.8168099644023933, "rel_wql_gmean": 0.7954758791647711}, "Energy": {"n_configs": 32, "rel_mase_gmean": 0.8380568274014906, "rel_wql_gmean": 0.5551215022967795}, "Healthcare": {"n_configs": 5, "rel_mase_gmean": 0.8555572128983768, "rel_wql_gmean": 0.6815586246703882}, "Nature": {"n_configs": 15, "rel_mase_gmean": 0.724524189074702, "rel_wql_gmean": 0.3369056647225379}, "Sales": {"n_configs": 3, "rel_mase_gmean": 0.7490225849302903, "rel_wql_gmean": 0.4734428142574786}, "Transport": {"n_configs": 14, "rel_mase_gmean": 0.5373511494565061, "rel_wql_gmean": 0.44020199090586026}, "Web/CloudOps": {"n_configs": 18, "rel_mase_gmean": 0.7076516987194846, "rel_wql_gmean": 0.5107371795280623}}, "frequency": {"A": {"n_configs": 1, "rel_mase_gmean": 0.52812888484988, "rel_wql_gmean": 0.7657862375486705}, "D": {"n_configs": 15, "rel_mase_gmean": 0.7345171470026636, "rel_wql_gmean": 0.4201722910261881}, "H": {"n_configs": 29, "rel_mase_gmean": 0.7259158217695474, "rel_wql_gmean": 0.4818632323244613}, "M": {"n_configs": 4, "rel_mase_gmean": 0.8656094618064755, "rel_wql_gmean": 0.8415488626903532}, "Q": {"n_configs": 1, "rel_mase_gmean": 0.7154552818253103, "rel_wql_gmean": 0.762007060322003}, "S": {"n_configs": 6, "rel_mase_gmean": 0.8404822701975425, "rel_wql_gmean": 0.5985781917313203}, "T": {"n_configs": 29, "rel_mase_gmean": 0.7010989639702245, "rel_wql_gmean": 0.4579204172924335}, "W": {"n_configs": 8, "rel_mase_gmean": 0.8332623760905156, "rel_wql_gmean": 0.6761968462971868}}, "variates": {"multivariate": {"n_configs": 41, "rel_mase_gmean": 0.7639831556416442, "rel_wql_gmean": 0.5119520153186932}, "univariate": {"n_configs": 52, "rel_mase_gmean": 0.7179510658830601, "rel_wql_gmean": 0.4926152013834997}}}, "group_skill_delta": {"term": {"long": -7.372743351741207e-05, "medium": 9.843848505242114e-05, "short": 0.00041696392792267556}, "domain": {"Econ/Fin": 0.0006416194264968755, "Energy": 0.0004896193167071017, "Healthcare": -0.001028777840732742, "Nature": -0.0005478477403270676, "Sales": 0.00039557653035893203, "Transport": 0.0008623966601185584, "Web/CloudOps": 0.00023092058673512827}, "frequency": {"A": 0.001667867270841561, "D": 0.0010861734905011078, "H": 6.751611110045186e-05, "M": -0.0016133188828534317, "Q": 0.0003296759510801328, "S": -2.6546056589138445e-05, "T": 0.0002251066447177541, "W": -0.0001246233733757096}, "variates": {"multivariate": 0.0003468829956272401, "univariate": 0.00017620556821229538}}}], "mean_delta": 0.00010199903614582784, "positive_cutoffs": 3, "outcome": "Fixed factorial contrast; no automatic package, transfer or publication."} + +E152 ensemble_gate_refresh_full vs ensemble_gate_full at12000: {"label": "E152 ensemble_gate_refresh_full vs ensemble_gate_full at12000", "utc": "2026-10-24T05:47:39.782153+00:00", "candidate": "ensemble_gate_refresh_full_ema12000", "control": "ensemble_gate_full_ema12000", "rows": [{"cutoff": "evals", "candidate_skill": 0.3892627177918213, "control_skill": 0.3888785195622064, "delta": 0.0003841982296148849, "candidate_checkpoint": "2b1b39fca84d52268a46c8ea3a4b37e3fd298862cf23fdc78cd63ac6596ceb9b", "control_checkpoint": "940882ad4c2d597d6ac322aa48c302f6daf463bae58b8601c13dde1cea7d0202", "candidate_eval_seconds": 269.0910837640986, "candidate_groups": {"term": {"long": {"n_configs": 21, "rel_mase_gmean": 0.7374474823675418, "rel_wql_gmean": 0.47556486144830207}, "medium": {"n_configs": 21, "rel_mase_gmean": 0.7059712901324747, "rel_wql_gmean": 0.48903935421797873}, "short": {"n_configs": 55, "rel_mase_gmean": 0.7405407146573144, "rel_wql_gmean": 0.5311303670068869}}, "domain": {"Econ/Fin": {"n_configs": 6, "rel_mase_gmean": 0.8618256213058857, "rel_wql_gmean": 0.8359817358070675}, "Energy": {"n_configs": 32, "rel_mase_gmean": 0.8918719145574057, "rel_wql_gmean": 0.635055988517834}, "Healthcare": {"n_configs": 5, "rel_mase_gmean": 0.5365891299959655, "rel_wql_gmean": 0.4823147026547594}, "Nature": {"n_configs": 15, "rel_mase_gmean": 0.7976604726200145, "rel_wql_gmean": 0.38695226462956395}, "Sales": {"n_configs": 4, "rel_mase_gmean": 0.8403818676690678, "rel_wql_gmean": 0.511094524868793}, "Transport": {"n_configs": 15, "rel_mase_gmean": 0.6355773182191734, "rel_wql_gmean": 0.43240549793748795}, "Web/CloudOps": {"n_configs": 20, "rel_mase_gmean": 0.557761048245737, "rel_wql_gmean": 0.43434195061371816}}, "frequency": {"A": {"n_configs": 1, "rel_mase_gmean": 0.6071987919399842, "rel_wql_gmean": 0.6296272140711697}, "D": {"n_configs": 15, "rel_mase_gmean": 0.7514132483860966, "rel_wql_gmean": 0.5176040279841194}, "H": {"n_configs": 31, "rel_mase_gmean": 0.7257100868667189, "rel_wql_gmean": 0.48851058281605897}, "M": {"n_configs": 5, "rel_mase_gmean": 0.9629910652444172, "rel_wql_gmean": 0.8096938241758701}, "Q": {"n_configs": 1, "rel_mase_gmean": 0.7690133672187685, "rel_wql_gmean": 0.8254899882209522}, "S": {"n_configs": 6, "rel_mase_gmean": 0.6563094745868008, "rel_wql_gmean": 0.5032886978522307}, "T": {"n_configs": 30, "rel_mase_gmean": 0.6825094584298355, "rel_wql_gmean": 0.44817933447985103}, "W": {"n_configs": 8, "rel_mase_gmean": 0.8752214477641024, "rel_wql_gmean": 0.6506485822964622}}, "variates": {"multivariate": {"n_configs": 43, "rel_mase_gmean": 0.7068467639200812, "rel_wql_gmean": 0.507372851535358}, "univariate": {"n_configs": 54, "rel_mase_gmean": 0.7531334900435617, "rel_wql_gmean": 0.5109975576524942}}}, "control_groups": {"term": {"long": {"n_configs": 21, "rel_mase_gmean": 0.7367056196539347, "rel_wql_gmean": 0.4758465924419261}, "medium": {"n_configs": 21, "rel_mase_gmean": 0.7061466145592121, "rel_wql_gmean": 0.4900805146886638}, "short": {"n_configs": 55, "rel_mase_gmean": 0.740286529985021, "rel_wql_gmean": 0.5320941003529341}}, "domain": {"Econ/Fin": {"n_configs": 6, "rel_mase_gmean": 0.8617641666042647, "rel_wql_gmean": 0.835809960666591}, "Energy": {"n_configs": 32, "rel_mase_gmean": 0.8918374029329179, "rel_wql_gmean": 0.6350611387648494}, "Healthcare": {"n_configs": 5, "rel_mase_gmean": 0.5427493910772643, "rel_wql_gmean": 0.49237742572571297}, "Nature": {"n_configs": 15, "rel_mase_gmean": 0.7956598016440709, "rel_wql_gmean": 0.38694499430499435}, "Sales": {"n_configs": 4, "rel_mase_gmean": 0.8425370044878073, "rel_wql_gmean": 0.5128481312749973}, "Transport": {"n_configs": 15, "rel_mase_gmean": 0.6346472390821905, "rel_wql_gmean": 0.43326170224691163}, "Web/CloudOps": {"n_configs": 20, "rel_mase_gmean": 0.5566238020677944, "rel_wql_gmean": 0.43459054780543294}}, "frequency": {"A": {"n_configs": 1, "rel_mase_gmean": 0.6079417586767846, "rel_wql_gmean": 0.6279307144750732}, "D": {"n_configs": 15, "rel_mase_gmean": 0.7500432325716834, "rel_wql_gmean": 0.518325563832828}, "H": {"n_configs": 31, "rel_mase_gmean": 0.7257928278311505, "rel_wql_gmean": 0.4902214689748399}, "M": {"n_configs": 5, "rel_mase_gmean": 0.9680214453190981, "rel_wql_gmean": 0.8152382020695239}, "Q": {"n_configs": 1, "rel_mase_gmean": 0.7689316461442948, "rel_wql_gmean": 0.8280203302784913}, "S": {"n_configs": 6, "rel_mase_gmean": 0.6564645170713088, "rel_wql_gmean": 0.5040535752207137}, "T": {"n_configs": 30, "rel_mase_gmean": 0.6811333317822665, "rel_wql_gmean": 0.44757659066034483}, "W": {"n_configs": 8, "rel_mase_gmean": 0.8775220492443025, "rel_wql_gmean": 0.6526285907850482}}, "variates": {"multivariate": {"n_configs": 43, "rel_mase_gmean": 0.7061065691109331, "rel_wql_gmean": 0.5079475242956122}, "univariate": {"n_configs": 54, "rel_mase_gmean": 0.7532764449396463, "rel_wql_gmean": 0.5120217981316655}}}, "group_skill_delta": {"term": {"long": -0.00012264893443481029, "medium": 0.000698175586620553, "short": 0.0004609872443048779}, "domain": {"Econ/Fin": -0.00011747008553131266, "Energy": -1.1509461245173824e-05, "Healthcare": 0.008221599875445906, "Nature": -0.0007023814318912747, "Sales": 0.00196460248527186, "Transport": 0.00013466956798291463, "Web/CloudOps": -0.0003613475377767239}, "frequency": {"A": -0.00045591008172241043, "D": -0.00013466030069464452, "H": 0.001075732966334897, "M": 0.005329279882418159, "Q": 0.0011777907773609098, "S": 0.0005044914376186593, "T": -0.0009295062651187846, "W": 0.0021400012758765463}, "variates": {"multivariate": 2.5235244965449155e-05, "univariate": 0.0006803467651923523}}}, {"cutoff": "backcast_evals", "candidate_skill": 0.3454269979851946, "control_skill": 0.34440639469691814, "delta": 0.001020603288276467, "candidate_checkpoint": "2b1b39fca84d52268a46c8ea3a4b37e3fd298862cf23fdc78cd63ac6596ceb9b", "control_checkpoint": "940882ad4c2d597d6ac322aa48c302f6daf463bae58b8601c13dde1cea7d0202", "candidate_eval_seconds": 456.94550031004474, "candidate_groups": {"term": {"long": {"n_configs": 21, "rel_mase_gmean": 0.7675403801636375, "rel_wql_gmean": 0.4599440585380428}, "medium": {"n_configs": 21, "rel_mase_gmean": 0.767318283889523, "rel_wql_gmean": 0.527812989307574}, "short": {"n_configs": 55, "rel_mase_gmean": 0.8040707258328063, "rel_wql_gmean": 0.586240898426796}}, "domain": {"Econ/Fin": {"n_configs": 6, "rel_mase_gmean": 0.8514573731074571, "rel_wql_gmean": 0.7848940539993614}, "Energy": {"n_configs": 32, "rel_mase_gmean": 0.8835281722742986, "rel_wql_gmean": 0.662191012052}, "Healthcare": {"n_configs": 5, "rel_mase_gmean": 0.6494927653056964, "rel_wql_gmean": 0.5562666417534683}, "Nature": {"n_configs": 15, "rel_mase_gmean": 0.9040146127968756, "rel_wql_gmean": 0.41897555411425824}, "Sales": {"n_configs": 4, "rel_mase_gmean": 0.7202579069505474, "rel_wql_gmean": 0.4862918847869523}, "Transport": {"n_configs": 15, "rel_mase_gmean": 0.7319417043265578, "rel_wql_gmean": 0.5257078150184277}, "Web/CloudOps": {"n_configs": 20, "rel_mase_gmean": 0.6531428065712159, "rel_wql_gmean": 0.4505438787580476}}, "frequency": {"A": {"n_configs": 1, "rel_mase_gmean": 0.6368705662143089, "rel_wql_gmean": 0.7113679011038536}, "D": {"n_configs": 15, "rel_mase_gmean": 0.8260588073037686, "rel_wql_gmean": 0.4899128644458598}, "H": {"n_configs": 31, "rel_mase_gmean": 0.7657439685549305, "rel_wql_gmean": 0.5037089099414597}, "M": {"n_configs": 5, "rel_mase_gmean": 0.8466531737599874, "rel_wql_gmean": 0.7720231906295008}, "Q": {"n_configs": 1, "rel_mase_gmean": 0.7559193119585185, "rel_wql_gmean": 0.7692160563113292}, "S": {"n_configs": 6, "rel_mase_gmean": 0.849430086697438, "rel_wql_gmean": 0.5033074446929292}, "T": {"n_configs": 30, "rel_mase_gmean": 0.7602612364511833, "rel_wql_gmean": 0.5712581772114572}, "W": {"n_configs": 8, "rel_mase_gmean": 0.860085984856905, "rel_wql_gmean": 0.582346946301575}}, "variates": {"multivariate": {"n_configs": 43, "rel_mase_gmean": 0.7777027943636656, "rel_wql_gmean": 0.5218223695103386}, "univariate": {"n_configs": 54, "rel_mase_gmean": 0.7962886649008387, "rel_wql_gmean": 0.5618523112847776}}}, "control_groups": {"term": {"long": {"n_configs": 21, "rel_mase_gmean": 0.7686080887722753, "rel_wql_gmean": 0.4623537420150528}, "medium": {"n_configs": 21, "rel_mase_gmean": 0.76794162966205, "rel_wql_gmean": 0.5288821788684663}, "short": {"n_configs": 55, "rel_mase_gmean": 0.8042224409173934, "rel_wql_gmean": 0.5872372375258892}}, "domain": {"Econ/Fin": {"n_configs": 6, "rel_mase_gmean": 0.85076832780128, "rel_wql_gmean": 0.7850491313889577}, "Energy": {"n_configs": 32, "rel_mase_gmean": 0.8828350988110014, "rel_wql_gmean": 0.6619798649732286}, "Healthcare": {"n_configs": 5, "rel_mase_gmean": 0.6508656058567431, "rel_wql_gmean": 0.5602511211112758}, "Nature": {"n_configs": 15, "rel_mase_gmean": 0.9053675802909432, "rel_wql_gmean": 0.42066825787864276}, "Sales": {"n_configs": 4, "rel_mase_gmean": 0.7198950144554782, "rel_wql_gmean": 0.48707913249079243}, "Transport": {"n_configs": 15, "rel_mase_gmean": 0.732271616072037, "rel_wql_gmean": 0.5278066211866604}, "Web/CloudOps": {"n_configs": 20, "rel_mase_gmean": 0.65474030582191, "rel_wql_gmean": 0.452626648687933}}, "frequency": {"A": {"n_configs": 1, "rel_mase_gmean": 0.6355082524281209, "rel_wql_gmean": 0.7090507250837349}, "D": {"n_configs": 15, "rel_mase_gmean": 0.8288642013008899, "rel_wql_gmean": 0.49104581261818475}, "H": {"n_configs": 31, "rel_mase_gmean": 0.7659495531325249, "rel_wql_gmean": 0.5057159664889603}, "M": {"n_configs": 5, "rel_mase_gmean": 0.8400862643495179, "rel_wql_gmean": 0.7686373843027562}, "Q": {"n_configs": 1, "rel_mase_gmean": 0.7558798490928225, "rel_wql_gmean": 0.7739905165611213}, "S": {"n_configs": 6, "rel_mase_gmean": 0.8491352671328372, "rel_wql_gmean": 0.5045827917803475}, "T": {"n_configs": 30, "rel_mase_gmean": 0.7610693915769742, "rel_wql_gmean": 0.5722983955391443}, "W": {"n_configs": 8, "rel_mase_gmean": 0.8610305401568258, "rel_wql_gmean": 0.5850458236741638}}, "variates": {"multivariate": {"n_configs": 43, "rel_mase_gmean": 0.7785837408727629, "rel_wql_gmean": 0.5232934726518866}, "univariate": {"n_configs": 54, "rel_mase_gmean": 0.7964057708563274, "rel_wql_gmean": 0.5631499368088492}}}, "group_skill_delta": {"term": {"long": 0.001968589813792665, "medium": 0.0009029510494330539, "short": 0.0006480032666060787}, "domain": {"Econ/Fin": -0.0002501259547056378, "Energy": -0.0004219749792970795, "Healthcare": 0.0027860614882700974, "Nature": 0.0017032496972244626, "Sales": 0.00032962114721857283, "Transport": 0.0013770779229654861, "Web/CloudOps": 0.0019169328864552249}, "frequency": {"A": -0.0018162443904059522, "D": 0.001815714367956467, "H": 0.001319618728970795, "M": -0.004909399362414635, "Q": 0.0023428802538005833, "S": 0.0007142632417884709, "T": 0.0009502316855570792, "W": 0.0020274696720391505}, "variates": {"multivariate": 0.0012585435847747295, "univariate": 0.0008211959125729029}}}, {"cutoff": "backcast2_evals", "candidate_skill": 0.3699586325500155, "control_skill": 0.369108625195106, "delta": 0.0008500073549094767, "candidate_checkpoint": "2b1b39fca84d52268a46c8ea3a4b37e3fd298862cf23fdc78cd63ac6596ceb9b", "control_checkpoint": "940882ad4c2d597d6ac322aa48c302f6daf463bae58b8601c13dde1cea7d0202", "candidate_eval_seconds": 168.42161776707508, "candidate_groups": {"term": {"long": {"n_configs": 19, "rel_mase_gmean": 0.7896223365062054, "rel_wql_gmean": 0.4956725676717917}, "medium": {"n_configs": 21, "rel_mase_gmean": 0.7457734801885424, "rel_wql_gmean": 0.48549166694320717}, "short": {"n_configs": 54, "rel_mase_gmean": 0.7547877558763879, "rel_wql_gmean": 0.5477770667287679}}, "domain": {"Econ/Fin": {"n_configs": 6, "rel_mase_gmean": 0.8607811990562062, "rel_wql_gmean": 0.8747093451374445}, "Energy": {"n_configs": 32, "rel_mase_gmean": 0.8952663415345343, "rel_wql_gmean": 0.6398872602293245}, "Healthcare": {"n_configs": 5, "rel_mase_gmean": 0.6964873159917349, "rel_wql_gmean": 0.5984236094738598}, "Nature": {"n_configs": 15, "rel_mase_gmean": 0.7440999619357396, "rel_wql_gmean": 0.35747854402338275}, "Sales": {"n_configs": 3, "rel_mase_gmean": 0.5555072274610587, "rel_wql_gmean": 0.3512387724361123}, "Transport": {"n_configs": 14, "rel_mase_gmean": 0.6612476289433749, "rel_wql_gmean": 0.4927901403467302}, "Web/CloudOps": {"n_configs": 19, "rel_mase_gmean": 0.6702277212934024, "rel_wql_gmean": 0.45701981847716655}}, "frequency": {"A": {"n_configs": 1, "rel_mase_gmean": 0.5790336613240584, "rel_wql_gmean": 0.7504286981044643}, "D": {"n_configs": 15, "rel_mase_gmean": 0.7230288592914507, "rel_wql_gmean": 0.443038219834119}, "H": {"n_configs": 30, "rel_mase_gmean": 0.7480079179832533, "rel_wql_gmean": 0.48021721165297665}, "M": {"n_configs": 4, "rel_mase_gmean": 0.8058086486232244, "rel_wql_gmean": 0.8472308703552979}, "Q": {"n_configs": 1, "rel_mase_gmean": 0.8224656573252622, "rel_wql_gmean": 0.8636115031199617}, "S": {"n_configs": 6, "rel_mase_gmean": 0.8990076562720718, "rel_wql_gmean": 0.559834274626904}, "T": {"n_configs": 29, "rel_mase_gmean": 0.7467133507440946, "rel_wql_gmean": 0.5305992013305803}, "W": {"n_configs": 8, "rel_mase_gmean": 0.8238874027919775, "rel_wql_gmean": 0.6189341040634831}}, "variates": {"multivariate": {"n_configs": 42, "rel_mase_gmean": 0.775266637859703, "rel_wql_gmean": 0.5086471654122618}, "univariate": {"n_configs": 52, "rel_mase_gmean": 0.7472858158295338, "rel_wql_gmean": 0.5340350938740516}}}, "control_groups": {"term": {"long": {"n_configs": 19, "rel_mase_gmean": 0.7906510497713848, "rel_wql_gmean": 0.49791951238582316}, "medium": {"n_configs": 21, "rel_mase_gmean": 0.7463794962702305, "rel_wql_gmean": 0.48788049332664457}, "short": {"n_configs": 54, "rel_mase_gmean": 0.7541443451397051, "rel_wql_gmean": 0.548474524576973}}, "domain": {"Econ/Fin": {"n_configs": 6, "rel_mase_gmean": 0.859694183814595, "rel_wql_gmean": 0.8749239017347893}, "Energy": {"n_configs": 32, "rel_mase_gmean": 0.8952064063651944, "rel_wql_gmean": 0.6408885753161933}, "Healthcare": {"n_configs": 5, "rel_mase_gmean": 0.6928588980026767, "rel_wql_gmean": 0.5961572391849415}, "Nature": {"n_configs": 15, "rel_mase_gmean": 0.7424495459695073, "rel_wql_gmean": 0.35803815165236247}, "Sales": {"n_configs": 3, "rel_mase_gmean": 0.5555994142466699, "rel_wql_gmean": 0.35165734086394285}, "Transport": {"n_configs": 14, "rel_mase_gmean": 0.6616934402596565, "rel_wql_gmean": 0.4949836362719981}, "Web/CloudOps": {"n_configs": 19, "rel_mase_gmean": 0.6721691450565358, "rel_wql_gmean": 0.4603022006794101}}, "frequency": {"A": {"n_configs": 1, "rel_mase_gmean": 0.5779821065752055, "rel_wql_gmean": 0.7481491862476741}, "D": {"n_configs": 15, "rel_mase_gmean": 0.7225932712224514, "rel_wql_gmean": 0.443341161452269}, "H": {"n_configs": 30, "rel_mase_gmean": 0.7483595328629193, "rel_wql_gmean": 0.4819259327753775}, "M": {"n_configs": 4, "rel_mase_gmean": 0.8007726643055402, "rel_wql_gmean": 0.8465387976993543}, "Q": {"n_configs": 1, "rel_mase_gmean": 0.8242564837866809, "rel_wql_gmean": 0.8649971254852531}, "S": {"n_configs": 6, "rel_mase_gmean": 0.8991595045192148, "rel_wql_gmean": 0.5630796181386432}, "T": {"n_configs": 29, "rel_mase_gmean": 0.7475095739937796, "rel_wql_gmean": 0.5328787962105882}, "W": {"n_configs": 8, "rel_mase_gmean": 0.8221882245569265, "rel_wql_gmean": 0.6178992805102338}}, "variates": {"multivariate": {"n_configs": 42, "rel_mase_gmean": 0.7760395777106648, "rel_wql_gmean": 0.5110039298959804}, "univariate": {"n_configs": 52, "rel_mase_gmean": 0.746623470732352, "rel_wql_gmean": 0.5346883395474106}}}, "group_skill_delta": {"term": {"long": 0.0018247041623236093, "medium": 0.0017235728511409976, "short": 0.000134928998850814}, "domain": {"Econ/Fin": -0.00044171322754427145, "Energy": 0.0005666084736644095, "Healthcare": -0.00290432386921724, "Nature": -0.00016920594931479904, "Sales": 0.0002997902189108559, "Transport": 0.0014618643966258782, "Web/CloudOps": 0.0027877957426639677}, "frequency": {"A": -0.0015998519536379874, "D": 2.289926082288396e-05, "H": 0.0012064421706888817, "M": -0.0029224296890185686, "Q": 0.0015936086504547697, "S": 0.002113395153430453, "T": 0.0016869120313660613, "W": -0.0013333494000770107}, "variates": {"multivariate": 0.0017668043900497254, "univariate": 0.00010606016382619377}}}, {"cutoff": "backcast3_evals", "candidate_skill": 0.3922034557984977, "control_skill": 0.39115459977794964, "delta": 0.0010488560205480502, "candidate_checkpoint": "2b1b39fca84d52268a46c8ea3a4b37e3fd298862cf23fdc78cd63ac6596ceb9b", "control_checkpoint": "940882ad4c2d597d6ac322aa48c302f6daf463bae58b8601c13dde1cea7d0202", "candidate_eval_seconds": 858.6798308200669, "candidate_groups": {"term": {"long": {"n_configs": 19, "rel_mase_gmean": 0.7642053950017926, "rel_wql_gmean": 0.47286954304855733}, "medium": {"n_configs": 20, "rel_mase_gmean": 0.7597311797001585, "rel_wql_gmean": 0.5204309385761221}, "short": {"n_configs": 54, "rel_mase_gmean": 0.720845749572393, "rel_wql_gmean": 0.5036295521256329}}, "domain": {"Econ/Fin": {"n_configs": 6, "rel_mase_gmean": 0.8161994806442648, "rel_wql_gmean": 0.794804050054279}, "Energy": {"n_configs": 32, "rel_mase_gmean": 0.837511206135326, "rel_wql_gmean": 0.5546859424459845}, "Healthcare": {"n_configs": 5, "rel_mase_gmean": 0.8571602043145115, "rel_wql_gmean": 0.6821182776267796}, "Nature": {"n_configs": 15, "rel_mase_gmean": 0.7257776082666997, "rel_wql_gmean": 0.33707011806178133}, "Sales": {"n_configs": 3, "rel_mase_gmean": 0.7486210485130089, "rel_wql_gmean": 0.4730676310520908}, "Transport": {"n_configs": 14, "rel_mase_gmean": 0.53669835765663, "rel_wql_gmean": 0.4391757884456108}, "Web/CloudOps": {"n_configs": 18, "rel_mase_gmean": 0.7074773853184405, "rel_wql_gmean": 0.5104706401699638}}, "frequency": {"A": {"n_configs": 1, "rel_mase_gmean": 0.5265474624917599, "rel_wql_gmean": 0.7640626495802678}, "D": {"n_configs": 15, "rel_mase_gmean": 0.7335973018977882, "rel_wql_gmean": 0.4190556694061764}, "H": {"n_configs": 29, "rel_mase_gmean": 0.7258402624077217, "rel_wql_gmean": 0.4818033726269046}, "M": {"n_configs": 4, "rel_mase_gmean": 0.8675810085622286, "rel_wql_gmean": 0.8428137210251533}, "Q": {"n_configs": 1, "rel_mase_gmean": 0.7152106940949611, "rel_wql_gmean": 0.7615871061664963}, "S": {"n_configs": 6, "rel_mase_gmean": 0.8404143093602338, "rel_wql_gmean": 0.5986714057101065}, "T": {"n_configs": 29, "rel_mase_gmean": 0.7010112798827562, "rel_wql_gmean": 0.45761387072941023}, "W": {"n_configs": 8, "rel_mase_gmean": 0.833998801233888, "rel_wql_gmean": 0.6758241118526904}}, "variates": {"multivariate": {"n_configs": 41, "rel_mase_gmean": 0.7637150385992851, "rel_wql_gmean": 0.5115637860807173}, "univariate": {"n_configs": 52, "rel_mase_gmean": 0.7179688819004355, "rel_wql_gmean": 0.4923111130920324}}}, "control_groups": {"term": {"long": {"n_configs": 19, "rel_mase_gmean": 0.7647282244063703, "rel_wql_gmean": 0.4752054459775623}, "medium": {"n_configs": 20, "rel_mase_gmean": 0.7592704984522145, "rel_wql_gmean": 0.5224135802327573}, "short": {"n_configs": 54, "rel_mase_gmean": 0.720486318073994, "rel_wql_gmean": 0.5052839220852906}}, "domain": {"Econ/Fin": {"n_configs": 6, "rel_mase_gmean": 0.8166817605869655, "rel_wql_gmean": 0.7970999226217714}, "Energy": {"n_configs": 32, "rel_mase_gmean": 0.8360882345506596, "rel_wql_gmean": 0.554106075624325}, "Healthcare": {"n_configs": 5, "rel_mase_gmean": 0.8524685270866205, "rel_wql_gmean": 0.6847758550590494}, "Nature": {"n_configs": 15, "rel_mase_gmean": 0.7263234391580278, "rel_wql_gmean": 0.33833465074867414}, "Sales": {"n_configs": 3, "rel_mase_gmean": 0.7501575882380057, "rel_wql_gmean": 0.4746424265361404}, "Transport": {"n_configs": 14, "rel_mase_gmean": 0.5374772245780675, "rel_wql_gmean": 0.4417212416580303}, "Web/CloudOps": {"n_configs": 18, "rel_mase_gmean": 0.708048108512586, "rel_wql_gmean": 0.5160721103585284}}, "frequency": {"A": {"n_configs": 1, "rel_mase_gmean": 0.5290084100408494, "rel_wql_gmean": 0.7734716339684943}, "D": {"n_configs": 15, "rel_mase_gmean": 0.7342908552018372, "rel_wql_gmean": 0.4207352791821108}, "H": {"n_configs": 29, "rel_mase_gmean": 0.7258047245658639, "rel_wql_gmean": 0.48337944387793996}, "M": {"n_configs": 4, "rel_mase_gmean": 0.8635492061652983, "rel_wql_gmean": 0.842870427245656}, "Q": {"n_configs": 1, "rel_mase_gmean": 0.715840919224908, "rel_wql_gmean": 0.7630801829982395}, "S": {"n_configs": 6, "rel_mase_gmean": 0.8414986401545326, "rel_wql_gmean": 0.6067601863468725}, "T": {"n_configs": 29, "rel_mase_gmean": 0.7007074551762476, "rel_wql_gmean": 0.45851672405445687}, "W": {"n_configs": 8, "rel_mase_gmean": 0.8318227933833948, "rel_wql_gmean": 0.6792036692568956}}, "variates": {"multivariate": {"n_configs": 41, "rel_mase_gmean": 0.7635623124832405, "rel_wql_gmean": 0.5137905821875577}, "univariate": {"n_configs": 52, "rel_mase_gmean": 0.7177222007432322, "rel_wql_gmean": 0.4939107328007638}}}, "group_skill_delta": {"term": {"long": 0.0016890472112908173, "medium": 0.001005566400993363, "short": 0.0008383252536064978}, "domain": {"Econ/Fin": 0.0014007122135503147, "Energy": -0.0009353201036401693, "Healthcare": -0.000611492562919036, "Nature": 0.001113206645395437, "Sales": 0.0016011230225986273, "Transport": 0.001758095784457292, "Web/CloudOps": 0.003531858948817246}, "frequency": {"A": 0.005383062336399735, "D": 0.0013725920730304209, "H": 0.0009519433494035168, "M": -0.001960532842252727, "Q": 0.001048512631749432, "S": 0.005236323294491418, "T": 0.0004355796221872099, "W": 0.0008922977779005636}, "variates": {"multivariate": 0.0012962843498822707, "univariate": 0.0008627798554557975}}}], "mean_delta": 0.0008259162233372197, "positive_cutoffs": 4, "outcome": "Fixed factorial contrast; no automatic package, transfer or publication."} + +2026-10-24T05:47:39.797845+00:00: E152 ensemble_gate_refresh_full {"step": 12000, "rows": [{"cutoff": "valid_screen", "skill": 0.3892627177918213, "frozen_control_skill": 0.3882279509777624, "delta_frozen": 0.0010347668140588961, "current_skill": 0.3893607757169213, "delta_current": -9.805792509998135e-05, "groups": {"term": {"long": {"n_configs": 21, "rel_mase_gmean": 0.7374474823675418, "rel_wql_gmean": 0.47556486144830207}, "medium": {"n_configs": 21, "rel_mase_gmean": 0.7059712901324747, "rel_wql_gmean": 0.48903935421797873}, "short": {"n_configs": 55, "rel_mase_gmean": 0.7405407146573144, "rel_wql_gmean": 0.5311303670068869}}, "domain": {"Econ/Fin": {"n_configs": 6, "rel_mase_gmean": 0.8618256213058857, "rel_wql_gmean": 0.8359817358070675}, "Energy": {"n_configs": 32, "rel_mase_gmean": 0.8918719145574057, "rel_wql_gmean": 0.635055988517834}, "Healthcare": {"n_configs": 5, "rel_mase_gmean": 0.5365891299959655, "rel_wql_gmean": 0.4823147026547594}, "Nature": {"n_configs": 15, "rel_mase_gmean": 0.7976604726200145, "rel_wql_gmean": 0.38695226462956395}, "Sales": {"n_configs": 4, "rel_mase_gmean": 0.8403818676690678, "rel_wql_gmean": 0.511094524868793}, "Transport": {"n_configs": 15, "rel_mase_gmean": 0.6355773182191734, "rel_wql_gmean": 0.43240549793748795}, "Web/CloudOps": {"n_configs": 20, "rel_mase_gmean": 0.557761048245737, "rel_wql_gmean": 0.43434195061371816}}, "frequency": {"A": {"n_configs": 1, "rel_mase_gmean": 0.6071987919399842, "rel_wql_gmean": 0.6296272140711697}, "D": {"n_configs": 15, "rel_mase_gmean": 0.7514132483860966, "rel_wql_gmean": 0.5176040279841194}, "H": {"n_configs": 31, "rel_mase_gmean": 0.7257100868667189, "rel_wql_gmean": 0.48851058281605897}, "M": {"n_configs": 5, "rel_mase_gmean": 0.9629910652444172, "rel_wql_gmean": 0.8096938241758701}, "Q": {"n_configs": 1, "rel_mase_gmean": 0.7690133672187685, "rel_wql_gmean": 0.8254899882209522}, "S": {"n_configs": 6, "rel_mase_gmean": 0.6563094745868008, "rel_wql_gmean": 0.5032886978522307}, "T": {"n_configs": 30, "rel_mase_gmean": 0.6825094584298355, "rel_wql_gmean": 0.44817933447985103}, "W": {"n_configs": 8, "rel_mase_gmean": 0.8752214477641024, "rel_wql_gmean": 0.6506485822964622}}, "variates": {"multivariate": {"n_configs": 43, "rel_mase_gmean": 0.7068467639200812, "rel_wql_gmean": 0.507372851535358}, "univariate": {"n_configs": 54, "rel_mase_gmean": 0.7531334900435617, "rel_wql_gmean": 0.5109975576524942}}}, "checkpoint_sha256": "2b1b39fca84d52268a46c8ea3a4b37e3fd298862cf23fdc78cd63ac6596ceb9b", "expert_descriptor_sha256": "a1b4ab426901be8e1ee299eeeb3f041bac7cea3d4e59c4608824fc3d05c83e03", "eval_seconds": 269.0910837640986}, {"cutoff": "valid_backcast", "skill": 0.3454269979851946, "frozen_control_skill": 0.3456661156587746, "delta_frozen": -0.00023911767357998048, "current_skill": 0.34590472083989543, "delta_current": -0.0004777228547008239, "groups": {"term": {"long": {"n_configs": 21, "rel_mase_gmean": 0.7675403801636375, "rel_wql_gmean": 0.4599440585380428}, "medium": {"n_configs": 21, "rel_mase_gmean": 0.767318283889523, "rel_wql_gmean": 0.527812989307574}, "short": {"n_configs": 55, "rel_mase_gmean": 0.8040707258328063, "rel_wql_gmean": 0.586240898426796}}, "domain": {"Econ/Fin": {"n_configs": 6, "rel_mase_gmean": 0.8514573731074571, "rel_wql_gmean": 0.7848940539993614}, "Energy": {"n_configs": 32, "rel_mase_gmean": 0.8835281722742986, "rel_wql_gmean": 0.662191012052}, "Healthcare": {"n_configs": 5, "rel_mase_gmean": 0.6494927653056964, "rel_wql_gmean": 0.5562666417534683}, "Nature": {"n_configs": 15, "rel_mase_gmean": 0.9040146127968756, "rel_wql_gmean": 0.41897555411425824}, "Sales": {"n_configs": 4, "rel_mase_gmean": 0.7202579069505474, "rel_wql_gmean": 0.4862918847869523}, "Transport": {"n_configs": 15, "rel_mase_gmean": 0.7319417043265578, "rel_wql_gmean": 0.5257078150184277}, "Web/CloudOps": {"n_configs": 20, "rel_mase_gmean": 0.6531428065712159, "rel_wql_gmean": 0.4505438787580476}}, "frequency": {"A": {"n_configs": 1, "rel_mase_gmean": 0.6368705662143089, "rel_wql_gmean": 0.7113679011038536}, "D": {"n_configs": 15, "rel_mase_gmean": 0.8260588073037686, "rel_wql_gmean": 0.4899128644458598}, "H": {"n_configs": 31, "rel_mase_gmean": 0.7657439685549305, "rel_wql_gmean": 0.5037089099414597}, "M": {"n_configs": 5, "rel_mase_gmean": 0.8466531737599874, "rel_wql_gmean": 0.7720231906295008}, "Q": {"n_configs": 1, "rel_mase_gmean": 0.7559193119585185, "rel_wql_gmean": 0.7692160563113292}, "S": {"n_configs": 6, "rel_mase_gmean": 0.849430086697438, "rel_wql_gmean": 0.5033074446929292}, "T": {"n_configs": 30, "rel_mase_gmean": 0.7602612364511833, "rel_wql_gmean": 0.5712581772114572}, "W": {"n_configs": 8, "rel_mase_gmean": 0.860085984856905, "rel_wql_gmean": 0.582346946301575}}, "variates": {"multivariate": {"n_configs": 43, "rel_mase_gmean": 0.7777027943636656, "rel_wql_gmean": 0.5218223695103386}, "univariate": {"n_configs": 54, "rel_mase_gmean": 0.7962886649008387, "rel_wql_gmean": 0.5618523112847776}}}, "checkpoint_sha256": "2b1b39fca84d52268a46c8ea3a4b37e3fd298862cf23fdc78cd63ac6596ceb9b", "expert_descriptor_sha256": "a1b4ab426901be8e1ee299eeeb3f041bac7cea3d4e59c4608824fc3d05c83e03", "eval_seconds": 456.94550031004474}, {"cutoff": "valid_backcast2", "skill": 0.3699586325500155, "frozen_control_skill": 0.36966272417010304, "delta_frozen": 0.00029590837991244623, "current_skill": 0.37032451826756796, "delta_current": -0.0003658857175524721, "groups": {"term": {"long": {"n_configs": 19, "rel_mase_gmean": 0.7896223365062054, "rel_wql_gmean": 0.4956725676717917}, "medium": {"n_configs": 21, "rel_mase_gmean": 0.7457734801885424, "rel_wql_gmean": 0.48549166694320717}, "short": {"n_configs": 54, "rel_mase_gmean": 0.7547877558763879, "rel_wql_gmean": 0.5477770667287679}}, "domain": {"Econ/Fin": {"n_configs": 6, "rel_mase_gmean": 0.8607811990562062, "rel_wql_gmean": 0.8747093451374445}, "Energy": {"n_configs": 32, "rel_mase_gmean": 0.8952663415345343, "rel_wql_gmean": 0.6398872602293245}, "Healthcare": {"n_configs": 5, "rel_mase_gmean": 0.6964873159917349, "rel_wql_gmean": 0.5984236094738598}, "Nature": {"n_configs": 15, "rel_mase_gmean": 0.7440999619357396, "rel_wql_gmean": 0.35747854402338275}, "Sales": {"n_configs": 3, "rel_mase_gmean": 0.5555072274610587, "rel_wql_gmean": 0.3512387724361123}, "Transport": {"n_configs": 14, "rel_mase_gmean": 0.6612476289433749, "rel_wql_gmean": 0.4927901403467302}, "Web/CloudOps": {"n_configs": 19, "rel_mase_gmean": 0.6702277212934024, "rel_wql_gmean": 0.45701981847716655}}, "frequency": {"A": {"n_configs": 1, "rel_mase_gmean": 0.5790336613240584, "rel_wql_gmean": 0.7504286981044643}, "D": {"n_configs": 15, "rel_mase_gmean": 0.7230288592914507, "rel_wql_gmean": 0.443038219834119}, "H": {"n_configs": 30, "rel_mase_gmean": 0.7480079179832533, "rel_wql_gmean": 0.48021721165297665}, "M": {"n_configs": 4, "rel_mase_gmean": 0.8058086486232244, "rel_wql_gmean": 0.8472308703552979}, "Q": {"n_configs": 1, "rel_mase_gmean": 0.8224656573252622, "rel_wql_gmean": 0.8636115031199617}, "S": {"n_configs": 6, "rel_mase_gmean": 0.8990076562720718, "rel_wql_gmean": 0.559834274626904}, "T": {"n_configs": 29, "rel_mase_gmean": 0.7467133507440946, "rel_wql_gmean": 0.5305992013305803}, "W": {"n_configs": 8, "rel_mase_gmean": 0.8238874027919775, "rel_wql_gmean": 0.6189341040634831}}, "variates": {"multivariate": {"n_configs": 42, "rel_mase_gmean": 0.775266637859703, "rel_wql_gmean": 0.5086471654122618}, "univariate": {"n_configs": 52, "rel_mase_gmean": 0.7472858158295338, "rel_wql_gmean": 0.5340350938740516}}}, "checkpoint_sha256": "2b1b39fca84d52268a46c8ea3a4b37e3fd298862cf23fdc78cd63ac6596ceb9b", "expert_descriptor_sha256": "a1b4ab426901be8e1ee299eeeb3f041bac7cea3d4e59c4608824fc3d05c83e03", "eval_seconds": 168.42161776707508}, {"cutoff": "valid_backcast3", "skill": 0.3922034557984977, "frozen_control_skill": 0.3921296782846404, "delta_frozen": 7.377751385728715e-05, "current_skill": 0.3928349019291829, "delta_current": -0.0006314461306852204, "groups": {"term": {"long": {"n_configs": 19, "rel_mase_gmean": 0.7642053950017926, "rel_wql_gmean": 0.47286954304855733}, "medium": {"n_configs": 20, "rel_mase_gmean": 0.7597311797001585, "rel_wql_gmean": 0.5204309385761221}, "short": {"n_configs": 54, "rel_mase_gmean": 0.720845749572393, "rel_wql_gmean": 0.5036295521256329}}, "domain": {"Econ/Fin": {"n_configs": 6, "rel_mase_gmean": 0.8161994806442648, "rel_wql_gmean": 0.794804050054279}, "Energy": {"n_configs": 32, "rel_mase_gmean": 0.837511206135326, "rel_wql_gmean": 0.5546859424459845}, "Healthcare": {"n_configs": 5, "rel_mase_gmean": 0.8571602043145115, "rel_wql_gmean": 0.6821182776267796}, "Nature": {"n_configs": 15, "rel_mase_gmean": 0.7257776082666997, "rel_wql_gmean": 0.33707011806178133}, "Sales": {"n_configs": 3, "rel_mase_gmean": 0.7486210485130089, "rel_wql_gmean": 0.4730676310520908}, "Transport": {"n_configs": 14, "rel_mase_gmean": 0.53669835765663, "rel_wql_gmean": 0.4391757884456108}, "Web/CloudOps": {"n_configs": 18, "rel_mase_gmean": 0.7074773853184405, "rel_wql_gmean": 0.5104706401699638}}, "frequency": {"A": {"n_configs": 1, "rel_mase_gmean": 0.5265474624917599, "rel_wql_gmean": 0.7640626495802678}, "D": {"n_configs": 15, "rel_mase_gmean": 0.7335973018977882, "rel_wql_gmean": 0.4190556694061764}, "H": {"n_configs": 29, "rel_mase_gmean": 0.7258402624077217, "rel_wql_gmean": 0.4818033726269046}, "M": {"n_configs": 4, "rel_mase_gmean": 0.8675810085622286, "rel_wql_gmean": 0.8428137210251533}, "Q": {"n_configs": 1, "rel_mase_gmean": 0.7152106940949611, "rel_wql_gmean": 0.7615871061664963}, "S": {"n_configs": 6, "rel_mase_gmean": 0.8404143093602338, "rel_wql_gmean": 0.5986714057101065}, "T": {"n_configs": 29, "rel_mase_gmean": 0.7010112798827562, "rel_wql_gmean": 0.45761387072941023}, "W": {"n_configs": 8, "rel_mase_gmean": 0.833998801233888, "rel_wql_gmean": 0.6758241118526904}}, "variates": {"multivariate": {"n_configs": 41, "rel_mase_gmean": 0.7637150385992851, "rel_wql_gmean": 0.5115637860807173}, "univariate": {"n_configs": 52, "rel_mase_gmean": 0.7179688819004355, "rel_wql_gmean": 0.4923111130920324}}}, "checkpoint_sha256": "2b1b39fca84d52268a46c8ea3a4b37e3fd298862cf23fdc78cd63ac6596ceb9b", "expert_descriptor_sha256": "a1b4ab426901be8e1ee299eeeb3f041bac7cea3d4e59c4608824fc3d05c83e03", "eval_seconds": 858.6798308200669}], "positive_frozen": 3, "mean_delta_frozen": 0.00029133375856216226, "positive_current": 0, "mean_delta_current": -0.00039327815700962443, "current_descriptor_sha256": "a75fdfcbb4d8e38dd6e7cded3c097ff0a129976fa63277bfd277a6031ccc6140", "selection_gate_passed": false}. Full replay/publication require separate review and fresh current-publication comparison. + +2026-10-24T05:48:07.972425+00:00: E152 declared endpoint review {"utc": "2026-10-24T05:48:07.972425+00:00", "experiment": "E152", "run": "ensemble_gate_refresh_full", "step": 12000, "seed": 751, "checkpoint_sha256": "2b1b39fca84d52268a46c8ea3a4b37e3fd298862cf23fdc78cd63ac6596ceb9b", "expert_descriptor_sha256": "a1b4ab426901be8e1ee299eeeb3f041bac7cea3d4e59c4608824fc3d05c83e03", "current_descriptor_sha256": "a75fdfcbb4d8e38dd6e7cded3c097ff0a129976fa63277bfd277a6031ccc6140", "training_loop_seconds_to_endpoint": 6187.0, "rows": [{"panel": "valid_screen", "skill": 0.3892627177918213, "delta_frozen": 0.0010347668140588961, "delta_current": -9.805792509998135e-05, "evaluation_seconds": 269.0910837640986, "groups": {"term": {"long": 0.40779723930268674, "medium": 0.4124221380763068, "short": 0.37284478670788224}, "domain": {"Econ/Fin": 0.15119467552194354, "Energy": 0.24741206471898158, "Healthcare": 0.4912713624320131, "Nature": 0.44443134871934775, "Sales": 0.3446263879551824, "Transport": 0.4757604299918453, "Web/CloudOps": 0.5078018471475074}, "frequency": {"A": 0.3816886837874047, "D": 0.37635384708532416, "H": 0.4045866498887065, "M": 0.11697796275237438, "Q": 0.20324857361459592, "S": 0.42527124584472664, "T": 0.4469298101910687, "W": 0.24537320867652046}, "variates": {"multivariate": 0.4011386986883594, "univariate": 0.3796377074655819}}, "comparisons": {"frozen": {"positive_configs": 49, "total_configs": 97, "group_skill_delta": {"term": {"long": 0.0017897220419004212, "medium": 0.00149146207584816, "short": 0.0005430164545935368}, "domain": {"Econ/Fin": 0.0021813907613372763, "Energy": 1.1711480230935933e-05, "Healthcare": -0.003797916878570562, "Nature": 0.0030658686578468597, "Sales": 1.621619602398816e-05, "Transport": 0.003150791743266157, "Web/CloudOps": 0.0003260798386424124}, "frequency": {"A": -0.0019618886118060175, "D": 0.0042191825091976165, "H": 0.000998775107927008, "M": -0.009844483284866867, "Q": -0.0028187828884349564, "S": 0.0012434641329814866, "T": 0.0019073656625091528, "W": -0.003985213582900604}, "variates": {"multivariate": 0.0004477442747700122, "univariate": 0.0015191003833047168}}, "largest_regressions": [{"config_id": "us_births__M__short", "delta": -0.04661105633243767}, {"config_id": "bizitobs_l2c__H__short", "delta": -0.02213646197379926}, {"config_id": "us_births__W__short", "delta": -0.01708489171653016}, {"config_id": "ett2__T__short", "delta": -0.015540977105710896}, {"config_id": "ett1__W__short", "delta": -0.01488001257030147}, {"config_id": "covid_deaths__D__short", "delta": -0.014185951833319499}, {"config_id": "m4_hourly__H__short", "delta": -0.012057568585980505}, {"config_id": "ett1__D__short", "delta": -0.007337669121965096}], "largest_improvements": [{"config_id": "m4_weekly__W__short", "delta": 0.02795961534934943}, {"config_id": "M_DENSE__H__long", "delta": 0.019553060386992893}, {"config_id": "us_births__D__short", "delta": 0.016851155447169086}, {"config_id": "saugeenday__D__short", "delta": 0.012162687911411618}, {"config_id": "bizitobs_l2c__T__medium", "delta": 0.01203881948134089}, {"config_id": "M_DENSE__H__short", "delta": 0.011448158841695033}, {"config_id": "ett1__H__long", "delta": 0.010957642061794837}, {"config_id": "M_DENSE__H__medium", "delta": 0.010477968274442695}]}, "current": {"positive_configs": 47, "total_configs": 97, "group_skill_delta": {"term": {"long": 1.914470889541331e-05, "medium": 6.160218808437534e-05, "short": -0.000210411347392081}, "domain": {"Econ/Fin": 0.00042893627373663534, "Energy": -0.0006984251942118158, "Healthcare": 0.0031815946722880684, "Nature": 0.00028115658111738107, "Sales": -0.0007492524299588244, "Transport": 0.00019169739237046013, "Web/CloudOps": -0.0007025038011718721}, "frequency": {"A": -0.00015471688738166733, "D": 0.0005914151912216337, "H": -0.00040332763398476246, "M": -0.003911730544771896, "Q": -0.0020122977329991576, "S": 0.00019466001083212614, "T": 0.00018676696474584364, "W": 0.0003802427511886419}, "variates": {"multivariate": -0.0007327255670983579, "univariate": 0.0004259998163398393}}, "largest_regressions": [{"config_id": "bizitobs_l2c__H__short", "delta": -0.01809460005551977}, {"config_id": "ett2__T__short", "delta": -0.014540668506686893}, {"config_id": "us_births__M__short", "delta": -0.014401889381859823}, {"config_id": "covid_deaths__D__short", "delta": -0.010247448055054509}, {"config_id": "ett1__W__short", "delta": -0.008923127151904908}, {"config_id": "M_DENSE__D__short", "delta": -0.008515645967314356}, {"config_id": "LOOP_SEATTLE__T__short", "delta": -0.007785388811968441}, {"config_id": "saugeenday__W__short", "delta": -0.0074848808453412685}], "largest_improvements": [{"config_id": "m4_weekly__W__short", "delta": 0.011610457385740736}, {"config_id": "us_births__D__short", "delta": 0.009906039023833024}, {"config_id": "M_DENSE__H__short", "delta": 0.005822330699747802}, {"config_id": "M_DENSE__H__medium", "delta": 0.00527367534414569}, {"config_id": "M_DENSE__H__long", "delta": 0.0049981231178175545}, {"config_id": "electricity__H__short", "delta": 0.004356075706624329}, {"config_id": "us_births__W__short", "delta": 0.003909951748934604}, {"config_id": "jena_weather__H__short", "delta": 0.0038338825387116415}]}}}, {"panel": "valid_backcast", "skill": 0.3454269979851946, "delta_frozen": -0.00023911767357998048, "delta_current": -0.0004777228547008239, "evaluation_seconds": 456.94550031004474, "groups": {"term": {"long": 0.405840393880318, "medium": 0.3636034591780949, "short": 0.31342943209680885}, "domain": {"Econ/Fin": 0.1825014804992251, "Energy": 0.2351049649953454, "Healthcare": 0.3989249968599814, "Nature": 0.3845651754052607, "Sales": 0.4081760607210224, "Transport": 0.3796875995900302, "Web/CloudOps": 0.45753387805733636}, "frequency": {"A": 0.32691064637546396, "D": 0.36384212927377857, "H": 0.3789427887102095, "M": 0.19152248976067454, "Q": 0.23746129800887816, "S": 0.3461464335334854, "T": 0.3409814508379665, "W": 0.29227940058367574}, "variates": {"multivariate": 0.3629578389700886, "univariate": 0.33112286118868883}}, "comparisons": {"frozen": {"positive_configs": 49, "total_configs": 97, "group_skill_delta": {"term": {"long": -0.0013571820724103123, "medium": -0.0004923884183617444, "short": 0.00036006379369346586}, "domain": {"Econ/Fin": 0.002066205713775471, "Energy": 0.00028956105083166594, "Healthcare": -0.008510289946127125, "Nature": 0.0032619306611328946, "Sales": 0.0006518362031480152, "Transport": 0.002022732543984107, "Web/CloudOps": -0.0033509798320711104}, "frequency": {"A": -0.004870478512470133, "D": -0.0003468837137043934, "H": 0.0025741223369332156, "M": 0.004044480783924942, "Q": 0.00021956633982012086, "S": -0.0037310971159898454, "T": -0.0025975618067385353, "W": -0.0018236253900151267}, "variates": {"multivariate": -0.0023794412549864585, "univariate": 0.0015559653071003376}}, "largest_regressions": [{"config_id": "ett2__T__short", "delta": -0.02358290984579836}, {"config_id": "covid_deaths__D__short", "delta": -0.0190549150554864}, {"config_id": "us_births__M__short", "delta": -0.018251754667913622}, {"config_id": "jena_weather__T__short", "delta": -0.017363977295421162}, {"config_id": "ett2__W__short", "delta": -0.015023920618725262}, {"config_id": "electricity__D__short", "delta": -0.012369868607170598}, {"config_id": "solar__T__medium", "delta": -0.012045132081967336}, {"config_id": "bizitobs_l2c__H__long", "delta": -0.0110608642915615}], "largest_improvements": [{"config_id": "saugeenday__M__short", "delta": 0.06547139831620652}, {"config_id": "solar__H__short", "delta": 0.034091911803738495}, {"config_id": "ett1__H__short", "delta": 0.02482250132184949}, {"config_id": "m4_weekly__W__short", "delta": 0.02459316563763836}, {"config_id": "saugeenday__D__short", "delta": 0.020332792965358393}, {"config_id": "M_DENSE__H__medium", "delta": 0.01672326082239184}, {"config_id": "bitbrains_rnd__T__short", "delta": 0.01359220674279693}, {"config_id": "solar__T__long", "delta": 0.01120036988360762}]}, "current": {"positive_configs": 47, "total_configs": 97, "group_skill_delta": {"term": {"long": -0.0004909996923342375, "medium": 0.00014182838202769776, "short": -0.0007253494499236401}, "domain": {"Econ/Fin": 0.0009008083515266163, "Energy": -0.00019691175725100596, "Healthcare": -0.00320045617318776, "Nature": 0.0007365284702964825, "Sales": -0.0006630917313076301, "Transport": 0.0003083308996528755, "Web/CloudOps": -0.0017170064381905048}, "frequency": {"A": -0.0038769025619844744, "D": -0.0008398253153293345, "H": 0.0007866368026839821, "M": -0.00023162925934472334, "Q": 0.0004555880394352396, "S": -0.001857469811911927, "T": -0.0011240261553751019, "W": -0.0013566827834614603}, "variates": {"multivariate": -0.0009718476774148721, "univariate": -6.40290392404097e-05}}, "largest_regressions": [{"config_id": "ett2__T__short", "delta": -0.017341483267827584}, {"config_id": "covid_deaths__D__short", "delta": -0.013648385613934888}, {"config_id": "ett2__W__short", "delta": -0.00812025671313743}, {"config_id": "electricity__D__short", "delta": -0.007427686628850183}, {"config_id": "bizitobs_l2c__H__long", "delta": -0.006956259591384573}, {"config_id": "solar__T__short", "delta": -0.006941791990114798}, {"config_id": "bizitobs_l2c__T__short", "delta": -0.006650156290511355}, {"config_id": "us_births__M__short", "delta": -0.006590579590546652}], "largest_improvements": [{"config_id": "saugeenday__M__short", "delta": 0.016369496122844884}, {"config_id": "solar__H__short", "delta": 0.01230180194604158}, {"config_id": "m4_weekly__W__short", "delta": 0.011457311940806014}, {"config_id": "ett1__H__short", "delta": 0.011260811154347294}, {"config_id": "saugeenday__D__short", "delta": 0.009509897057847216}, {"config_id": "ett2__T__long", "delta": 0.006364198367038276}, {"config_id": "ett2__H__long", "delta": 0.005437159134116909}, {"config_id": "M_DENSE__H__medium", "delta": 0.00491129449842953}]}}}, {"panel": "valid_backcast2", "skill": 0.3699586325500155, "delta_frozen": 0.00029590837991244623, "delta_current": -0.0003658857175524721, "evaluation_seconds": 168.42161776707508, "groups": {"term": {"long": 0.3743849977605793, "medium": 0.3982801232643447, "short": 0.3569950055273621}, "domain": {"Econ/Fin": 0.1322826733704816, "Energy": 0.24311855191181764, "Healthcare": 0.35440379989614657, "Nature": 0.4842483436762973, "Sales": 0.5582809980849697, "Transport": 0.4291617463142924, "Web/CloudOps": 0.4465495943412131}, "frequency": {"A": 0.3408160525118391, "D": 0.4340234821927874, "H": 0.40066180109368443, "M": 0.17373977300557375, "Q": 0.15721248075970118, "S": 0.2905669170858266, "T": 0.3705514258275756, "W": 0.2859047602061454}, "variates": {"multivariate": 0.37203727993930047, "univariate": 0.36827470304944077}}, "comparisons": {"frozen": {"positive_configs": 53, "total_configs": 94, "group_skill_delta": {"term": {"long": 0.00024352910311953302, "medium": -0.0006725624597287982, "short": 0.0007175782125357077}, "domain": {"Econ/Fin": 0.004774773809416821, "Energy": 0.0023537196502835256, "Healthcare": -0.007765848399784447, "Nature": 0.001979214838385257, "Sales": -0.0009616991012946219, "Transport": 0.001278477948654988, "Web/CloudOps": -0.0031911689034083146}, "frequency": {"A": 0.002629873153789708, "D": -0.0013238461377942379, "H": 6.801089967611862e-05, "M": 0.004616088427536469, "Q": 0.0016287901383056358, "S": -0.0003340387304060499, "T": -0.0002842973989559683, "W": 0.005698842122551895}, "variates": {"multivariate": -0.0020132177207100588, "univariate": 0.0021783934916735914}}, "largest_regressions": [{"config_id": "covid_deaths__D__short", "delta": -0.035158527113204996}, {"config_id": "ett1__H__short", "delta": -0.02195508639344579}, {"config_id": "bizitobs_l2c__H__medium", "delta": -0.013052754806814892}, {"config_id": "bizitobs_l2c__T__long", "delta": -0.011994616017153126}, {"config_id": "us_births__W__short", "delta": -0.011855006620002384}, {"config_id": "bizitobs_l2c__T__short", "delta": -0.009306234139704328}, {"config_id": "bitbrains_fast_storage__T__long", "delta": -0.009229013227028404}, {"config_id": "bitbrains_fast_storage__T__medium", "delta": -0.008643831354277931}], "largest_improvements": [{"config_id": "solar__T__medium", "delta": 0.030264215436564434}, {"config_id": "electricity__H__short", "delta": 0.02414013193600928}, {"config_id": "saugeenday__M__short", "delta": 0.015705033305825067}, {"config_id": "bitbrains_fast_storage__T__short", "delta": 0.015493023547933582}, {"config_id": "m4_weekly__W__short", "delta": 0.01484598345215793}, {"config_id": "bizitobs_application__S__long", "delta": 0.014635205143308516}, {"config_id": "m4_hourly__H__short", "delta": 0.013348711720360895}, {"config_id": "saugeenday__W__short", "delta": 0.013286519079322323}]}, "current": {"positive_configs": 51, "total_configs": 94, "group_skill_delta": {"term": {"long": -0.00047051314627843954, "medium": -0.0005736383883183649, "short": -0.0002414426115860957}, "domain": {"Econ/Fin": 0.0027998071149393233, "Energy": 0.001025581862716951, "Healthcare": -0.003925315551540298, "Nature": -0.0007734904688880828, "Sales": -0.001501827470920647, "Transport": -0.000501977047357216, "Web/CloudOps": -0.0012140470929019598}, "frequency": {"A": 0.003302719736701154, "D": -0.0015034125227953998, "H": -0.0007861686082620833, "M": 3.4162908690738014e-05, "Q": 0.0009724632120826637, "S": -0.001764734542709534, "T": 0.0003995236298071081, "W": 0.0013309742259345336}, "variates": {"multivariate": -0.0011093524234426777, "univariate": 0.00023885716229488096}}, "largest_regressions": [{"config_id": "covid_deaths__D__short", "delta": -0.023788298612434255}, {"config_id": "ett1__H__short", "delta": -0.0148290527528544}, {"config_id": "bizitobs_l2c__T__long", "delta": -0.008957660475998441}, {"config_id": "bizitobs_l2c__H__medium", "delta": -0.008211437878599126}, {"config_id": "us_births__W__short", "delta": -0.0067336169844384175}, {"config_id": "M_DENSE__D__short", "delta": -0.006570757873653799}, {"config_id": "bitbrains_fast_storage__T__long", "delta": -0.00562207458924624}, {"config_id": "M_DENSE__H__medium", "delta": -0.005577037037694188}], "largest_improvements": [{"config_id": "bitbrains_fast_storage__T__short", "delta": 0.01420026322295509}, {"config_id": "solar__T__medium", "delta": 0.011705435547193388}, {"config_id": "electricity__H__short", "delta": 0.01163652961456485}, {"config_id": "m4_hourly__H__short", "delta": 0.006841978047750885}, {"config_id": "us_births__M__short", "delta": 0.0068140327289952785}, {"config_id": "ett1__T__short", "delta": 0.0064335031280020605}, {"config_id": "ett2__D__short", "delta": 0.006224854409101255}, {"config_id": "bizitobs_application__S__long", "delta": 0.005807628454800429}]}}}, {"panel": "valid_backcast3", "skill": 0.3922034557984977, "delta_frozen": 7.377751385728715e-05, "delta_current": -0.0006314461306852204, "evaluation_seconds": 858.6798308200669, "groups": {"term": {"long": 0.3988598699722835, "medium": 0.3712014544252683, "short": 0.39747263795839904}, "domain": {"Econ/Fin": 0.19456927494150011, "Energy": 0.3184167749392254, "Healthcare": 0.2353532565836477, "Nature": 0.5053911200705614, "Sales": 0.40489632333871317, "Transport": 0.5145054847052184, "Web/CloudOps": 0.3990453978965829}, "frequency": {"A": 0.3657167436222041, "D": 0.4455470187460956, "H": 0.40863523404210356, "M": 0.14489230028195432, "Q": 0.26196528346214465, "S": 0.290682006457203, "T": 0.43361454360821894, "W": 0.24924271623240257}, "variates": {"multivariate": 0.37494883678803426, "univariate": 0.40547156551276264}}, "comparisons": {"frozen": {"positive_configs": 44, "total_configs": 93, "group_skill_delta": {"term": {"long": -0.00048492216475493066, "medium": -0.0019786574376466914, "short": 0.0010011918899166528}, "domain": {"Econ/Fin": 0.003054439866497227, "Energy": 0.0012669985779248938, "Healthcare": 0.001284136063946839, "Nature": -0.0033861922676377, "Sales": 0.0024863994657328137, "Transport": 0.004290420164112185, "Web/CloudOps": -0.003723743561285686}, "frequency": {"A": 0.0024287540607274005, "D": 0.0053064079597942015, "H": 0.0005880445437272952, "M": -0.0012678045293211815, "Q": -0.0016020072455623646, "S": -0.00352174255802995, "T": -0.001050072168145344, "W": -0.0067678263262109795}, "variates": {"multivariate": -0.00060837072064579, "univariate": 0.00058582377337979}}, "largest_regressions": [{"config_id": "solar__H__short", "delta": -0.030613520345671552}, {"config_id": "saugeenday__W__short", "delta": -0.029191590826332492}, {"config_id": "us_births__M__short", "delta": -0.027321972568542408}, {"config_id": "ett2__T__medium", "delta": -0.021036385106815048}, {"config_id": "bizitobs_l2c__T__medium", "delta": -0.017898103868822846}, {"config_id": "bizitobs_l2c__T__short", "delta": -0.013779530291681441}, {"config_id": "saugeenday__D__short", "delta": -0.013102954842977743}, {"config_id": "bizitobs_application__S__medium", "delta": -0.012419301589701393}], "largest_improvements": [{"config_id": "ett1__D__short", "delta": 0.021877369627194998}, {"config_id": "us_births__D__short", "delta": 0.020145799791446484}, {"config_id": "ett1__T__short", "delta": 0.019261576231578426}, {"config_id": "M_DENSE__D__short", "delta": 0.018803525700307078}, {"config_id": "saugeenday__M__short", "delta": 0.01817709327816419}, {"config_id": "ett2__W__short", "delta": 0.01528916284268278}, {"config_id": "ett1__H__short", "delta": 0.013301416413683986}, {"config_id": "electricity__H__short", "delta": 0.011424899412081135}]}, "current": {"positive_configs": 46, "total_configs": 93, "group_skill_delta": {"term": {"long": -0.0008667324184078451, "medium": -0.0006929869931908694, "short": -0.0005264331691440249}, "domain": {"Econ/Fin": 0.002716382539483808, "Energy": -0.0009908879926849856, "Healthcare": -0.0026126396874947, "Nature": -0.002684452443144636, "Sales": 0.001031631774019326, "Transport": 0.0018985447172721326, "Web/CloudOps": -0.0010475956220632465}, "frequency": {"A": 0.004685705220822678, "D": 0.0011231487034234489, "H": -0.0008411465469652102, "M": -0.0029320476178513744, "Q": -0.0007362477977275184, "S": -0.0015080647672438552, "T": -0.0003606001964403527, "W": -0.004409789114528162}, "variates": {"multivariate": -0.0008303240523023225, "univariate": -0.0004819200390530076}}, "largest_regressions": [{"config_id": "solar__H__short", "delta": -0.020746864461965053}, {"config_id": "saugeenday__W__short", "delta": -0.017878805810023657}, {"config_id": "us_births__M__short", "delta": -0.015757204853136697}, {"config_id": "ett2__T__medium", "delta": -0.011682060641132863}, {"config_id": "bizitobs_l2c__T__medium", "delta": -0.009337064974034748}, {"config_id": "ett2__H__long", "delta": -0.009281889896103013}, {"config_id": "bizitobs_l2c__T__short", "delta": -0.008873159909047024}, {"config_id": "saugeenday__D__short", "delta": -0.007990864240078333}], "largest_improvements": [{"config_id": "M_DENSE__D__short", "delta": 0.011300765647326072}, {"config_id": "bitbrains_fast_storage__T__short", "delta": 0.007730760393339864}, {"config_id": "m4_weekly__W__short", "delta": 0.0055510188909173586}, {"config_id": "ett1__D__short", "delta": 0.005403645614874164}, {"config_id": "electricity__H__short", "delta": 0.004985762306574548}, {"config_id": "m4_yearly__A__short", "delta": 0.004685705220822678}, {"config_id": "ett2__D__short", "delta": 0.004600065452538327}, {"config_id": "m4_hourly__H__short", "delta": 0.004419894285659143}]}}}], "selection_gate_passed": false, "positive_frozen": 3, "mean_delta_frozen": 0.00029133375856216226, "positive_current": 0, "mean_delta_current": -0.00039327815700962443, "cpu_review_seconds": 0.045863973908126354, "new_optimizer_updates": 0, "new_inference": false, "outcome": "Four-cutoff gate fails; no full replay or publication from this endpoint.", "interpretation": "Adaptive validation diagnostics, not independent test evidence. Frequency groups are recomputed using the scorer frequency parser, avoiding comparison of full aliases with frequency-unit groups."}. + +2026-10-24T05:48:37.811431+00:00: Completed gate-factorial review {"utc": "2026-10-24T05:48:37.811431+00:00", "experiment": "E152", "status": "All original factorial training and6k/12k four-cutoff comparisons complete", "final_checkpoint_sha256": "2b1b39fca84d52268a46c8ea3a4b37e3fd298862cf23fdc78cd63ac6596ceb9b", "seed": 751, "final_skills": [0.3892627177918213, 0.3454269979851946, 0.3699586325500155, 0.3922034557984977], "positive_current": 0, "mean_delta_current": -0.00039327815700962443, "final_evaluation_seconds": 1753.1380326612853, "last_arm_process_seconds": 6250.820432513021, "last_arm_loop_seconds": 6187.035417275969, "factorial_logerror_contrasts": {"6000": {"corpus_effect_logerror_old_experts": {"mean": -0.0001666861578488027, "negative_cutoffs": 4}, "corpus_effect_logerror_new_experts": {"mean": -0.00011740378256888673, "negative_cutoffs": 4}, "expert_refresh_effect_logerror_old_pack": {"mean": -0.001251476498357204, "negative_cutoffs": 4}, "expert_refresh_effect_logerror_full_pack": {"mean": -0.0012021941230772881, "negative_cutoffs": 4}, "interaction_logerror": {"mean": 4.928237527991597e-05, "negative_cutoffs": 1}}, "12000": {"corpus_effect_logerror_old_experts": {"mean": -7.935423968895294e-05, "negative_cutoffs": 4}, "corpus_effect_logerror_new_experts": {"mean": -0.00016618286631989165, "negative_cutoffs": 3}, "expert_refresh_effect_logerror_old_pack": {"mean": -0.0012279845479599844, "negative_cutoffs": 4}, "expert_refresh_effect_logerror_full_pack": {"mean": -0.001314813174590923, "negative_cutoffs": 4}, "interaction_logerror": {"mean": -8.682862663093871e-05, "negative_cutoffs": 3}}}, "review": "/workspace/research/ensemble_gate_refresh_full12k_selection_review.json", "selection_gate_passed": false, "optimizer_updates": 0, "new_inference": false, "cpu_seconds": 0.006364942062646151, "outcome": "Final full-corpus refreshed gate wins0of4 against currentE172 (allfour regress). No final package/full replay. The fixed E178primary6k composition was separately rejected and is not retested at12k. Current E172 retains the old-pack refreshed primary6k gate. Across factorial cells, expert refresh produces a larger and more consistent log-error reduction than corpus expansion; corpus-by-expert interaction changes sign between6k and12k. These are one-seed adaptive validation contrasts, not independent significance evidence."} + +2026-10-24T05:51:46.661414+00:00: Annual-history metadata feasibility {"declaration": {"utc": "2026-10-24T05:51:46.661414+00:00", "purpose": "Check whether annual history beyond4096 is even exposed by the16384-step contract before considering a feature experiment.", "scope": "Read only input index/context_length metadata and existing E172 aggregate reports. No target arrays, context values, new inference, training, or forecast selection.", "annual_reference": "Fixed365-day lag for regular second/minute/hour frequencies; daily/weekly/monthly/quarterly units use conventional annual lengths. This is optimistic history support, not an exact Gregorian calendar alignment.", "caps": [4096, 16384], "panels": ["valid_screen", "valid_backcast", "valid_backcast2", "valid_backcast3", "full_valid"], "interpretation": "The earlier-history and calendar experiments remain unchanged. This diagnostic alone cannot justify a new model or establish forecast value."}, "seconds": 0.5617202101275325, "optimizer_updates": 0, "new_neural_inference": false, "validation_target_arrays_read": false, "limitation": "Metadata gives an upper bound before missing-value masks. A supported annual lag is not evidence of annual predictability or a forecast improvement. Existing cached errors are descriptive and no parameters are fit.", "panels": [{"panel": "valid_screen", "configuration_count": 97, "changed_configurations": 15, "changed_domains": ["Energy", "Nature", "Transport"], "equal_config_mean_new_support": 0.15428568871706758, "changed_config_ids": ["electricity__H__short", "electricity__H__medium", "electricity__H__long", "kdd_cup_2018_with_missing__H__short", "kdd_cup_2018_with_missing__H__medium", "kdd_cup_2018_with_missing__H__long", "M_DENSE__H__short", "M_DENSE__H__medium", "M_DENSE__H__long", "ett1__H__short", "ett1__H__medium", "ett1__H__long", "ett2__H__short", "ett2__H__medium", "ett2__H__long"]}, {"panel": "valid_backcast", "configuration_count": 97, "changed_configurations": 14, "changed_domains": ["Energy", "Nature", "Transport"], "equal_config_mean_new_support": 0.1387319621771202, "changed_config_ids": ["electricity__H__short", "electricity__H__medium", "electricity__H__long", "kdd_cup_2018_with_missing__H__short", "kdd_cup_2018_with_missing__H__medium", "M_DENSE__H__short", "M_DENSE__H__medium", "M_DENSE__H__long", "ett1__H__short", "ett1__H__medium", "ett1__H__long", "ett2__H__short", "ett2__H__medium", "ett2__H__long"]}, {"panel": "valid_backcast2", "configuration_count": 94, "changed_configurations": 13, "changed_domains": ["Energy", "Nature", "Transport"], "equal_config_mean_new_support": 0.13823742746615086, "changed_config_ids": ["electricity__H__short", "electricity__H__medium", "electricity__H__long", "kdd_cup_2018_with_missing__H__short", "M_DENSE__H__short", "M_DENSE__H__medium", "M_DENSE__H__long", "ett1__H__short", "ett1__H__medium", "ett1__H__long", "ett2__H__short", "ett2__H__medium", "ett2__H__long"]}, {"panel": "valid_backcast3", "configuration_count": 93, "changed_configurations": 13, "changed_domains": ["Energy", "Nature", "Transport"], "equal_config_mean_new_support": 0.1397238514173998, "changed_config_ids": ["electricity__H__short", "electricity__H__medium", "electricity__H__long", "kdd_cup_2018_with_missing__H__short", "M_DENSE__H__short", "M_DENSE__H__medium", "M_DENSE__H__long", "ett1__H__short", "ett1__H__medium", "ett1__H__long", "ett2__H__short", "ett2__H__medium", "ett2__H__long"]}, {"panel": "full_valid", "configuration_count": 97, "changed_configurations": 15, "changed_domains": ["Energy", "Nature", "Transport"], "equal_config_mean_new_support": 0.15427962326587757, "changed_config_ids": ["electricity__H__short", "electricity__H__medium", "electricity__H__long", "kdd_cup_2018_with_missing__H__short", "kdd_cup_2018_with_missing__H__medium", "kdd_cup_2018_with_missing__H__long", "M_DENSE__H__short", "M_DENSE__H__medium", "M_DENSE__H__long", "ett1__H__short", "ett1__H__medium", "ett1__H__long", "ett2__H__short", "ett2__H__medium", "ett2__H__long"]}]} + +E164 fixed spectral phase features seed197 training started at 2026-10-24T05:54:55Z, after the declared dependency processes exited; required checkpoint files are present. Settings are unchanged from the declared comparison. + +2026-10-24T05:55:03.228966+00:00: E188 fixed annual-drift correction declared {"experiment": "E188", "declared_utc": "2026-10-24T05:55:03.228966+00:00", "status": "declared before implementation or corrected validation scoring", "hypothesis": "Current4096-step encoder cannot observe the annual counterpart exposed in some hourly16384-step histories. Test a small, smooth, bounded prior-year drift correction to the current ensemble, especially for multiweek forecasts. Repeated annual drift may help sustained level changes; it may also duplicate learned trends or be stale, which is a reason to test all four cutoffs.", "frozen_parent_descriptor": "a75fdfcbb4d8e38dd6e7cded3c097ff0a129976fa63277bfd277a6031ccc6140", "parent_package": "/workspace/research/candidate-gate-six-blend", "parent_probe_prefix": "gate_six_blend", "parameters": 549432812, "optimizer_updates": 0, "new_training": false, "new_weights": false, "new_training_sources": [], "eligibility": "Use regular S/T/H frequency intervals with integer observations per day d, weekly W=7*d, annual P=365*d. Require4096=W and P>=H+W//2. Use each instance own last16384 observations only. All six existing experts and gate still forecast everyinstance.", "annual_signal": "For each variate and lead t=0..H-1, compute the finite-value mean in the W-step window centered at context endpoint minusP plust, using left half floor(W/2) and right half W-floor(W/2). Subtract the analogous mean centered at endpoint minusP. Each window needs at leastceil(.8*W) finite points; unavailable leads getzero correction. Out-of-context positions are missing. This is a fixed365-day lag, not exact calendar-year alignment.", "scale": "Population standard deviation of finite own recent4096 values in float64, floored atabs(mean)*1e-4+1e-4; require at least8 finite recent values.", "correction": "delta_t=.25*clip(annual_mean_t-annual_anchor_mean,-recent_scale,+recent_scale). Castdelta tofloat32 and add with float32 arithmetic to every decile of the frozen E172 forecast. If every finite recent4096 value is nonnegative, clamp corrected quantiles tozero. Ineligible rows are bitwise unchanged. No extra fitted parameters.", "constants": {"coefficient": 0.25, "valid_fraction": 0.8, "recent_context": 4096, "context_cap": 16384, "annual_days": 365}, "selection": "One fixed cached four-cutoff comparison against frozenE172 and then-current publication. Require>=3positive cutoffs and positive mean for both, plus positive mean long-term skill change. A failure ends this version with no coefficient, smoothing-width, period, or eligibility sweep. Passing requires independent arithmetic/row-isolation checks, complete portable package, actual allsix forward accounting, relocation and full97public replay/current-best review before publication. No automaticpublication.", "numerical_checks": "Independent direct-slice reference; zero lead correction; inactive identity; NaN leading-padding and row permutation invariance; finite ordered quantiles; bounded correction before positivity clamp; positive-domain preservation; source arrays unchanged; input histories only. Fixture results never select constants.", "rationale": "Annual-history metadata diagnostic found15potential configurations in main/full and14/13/13earlier, but missingness and predictability were not established. The correction is a separate fixed-rule experiment, not a replacement for E161long-history or E173calendar training.", "allocation": "CPU-only cached probes while existing neural training continues; no additional GPUallocation. Any later public replay needs explicit available-memory review and evaluation lock.", "pretrained_assets": [], "validation_training": false} + +2026-10-24T05:57:05.980386+00:00: Scheduled main-cutoff learning diagnostic {"utc": "2026-10-24T05:57:05.980386+00:00", "experiment": "E186control", "run": "separate_mean_control", "step": 6000, "skill": 0.3781246652918372, "checkpoint_sha256": "698d7ec680233917139382227734288868fec4b9a88257c736d7e7a823a2643f", "eval_seconds": 492.82457733154297, "comparisons": [{"control": "overflow_control", "control_checkpoint_sha256": "b19875c52ed5024383fb69ccc48cb07a5629ad8011abf134c7dcfcdc50fae2af", "control_skill": 0.3782887645248565, "delta": -0.00016409923301929918, "group_deltas": {"term": {"long": -0.00020557769092421907, "medium": -0.0003696544731996987, "short": -6.195292972688282e-05}, "domain": {"Econ/Fin": 0.00011567377831811498, "Energy": 8.50631897597598e-06, "Healthcare": -0.0008653569917289605, "Nature": -0.00014515786348845428, "Sales": -0.0006178996314603058, "Transport": -0.00017349252520426628, "Web/CloudOps": -0.0001560160546245637}, "frequency": {"A": -0.00026931160888343797, "D": -0.00011658706357098314, "H": 4.6823267642492894e-05, "M": -0.004538677787283674, "Q": 0.0002513819403382467, "S": -0.00012102026213378636, "T": -0.0001984928866129998, "W": 0.001161346047181433}, "variates": {"multivariate": 1.6627644388256257e-05, "univariate": -0.0003158622974691605}}}, {"control": "window_mean_loss", "control_checkpoint_sha256": "97138fcf4cceba9ec1126b937c7697499e4bd160d4f78abce4346a62f41f24c7", "control_skill": 0.37924823596834956, "delta": -0.0011235706765123643, "group_deltas": {"term": {"long": -0.0017831463563569017, "medium": -0.0003385123919454891, "short": -0.0011760855805721393}, "domain": {"Econ/Fin": 0.0023387981309261896, "Energy": -0.0007025594274064906, "Healthcare": -0.004691426065520754, "Nature": -0.0013749676736413141, "Sales": 0.0014696149677808634, "Transport": 0.003651318106613677, "Web/CloudOps": -0.004776607780003328}, "frequency": {"A": 0.0014834780642192236, "D": -0.002187451407483554, "H": -0.0004395446101086442, "M": -0.004147223110479437, "Q": 0.00034293387707695633, "S": -0.0003932210681771853, "T": -0.0006802425967784576, "W": -0.003955255577477446}, "variates": {"multivariate": -0.0025379734258894615, "univariate": 6.869426395483824e-05}}}], "decision": "Original primary main diagnostic of the new inactive-head numerical control. Historical E80 and E181 are secondary comparisons only; wait for all four cutoffs and the predeclared matched active-head arm before any E186 selection. No coefficient or endpoint change.", "new_neural_inference": false, "new_training": false}. No additional training or inference. + +2026-10-24T05:57:52.116835+00:00: Training completion {"utc": "2026-10-24T05:57:52.116835+00:00", "experiment": "E160", "run": "integrated_level_replication", "completed_utc": "2026-10-24T05:54:53Z", "training_process_seconds": 2686.7406371170655, "last_training_record": {"completed_step": 12000, "training_process_loop_seconds": 2674.4225197089836}, "outcome": "Original12000replication training complete; primary6000/final12000 fourcutoff matched comparisons remain pending. E171still requires the original primary replication gate and reviewed free memory before its new recovery audit. E164already started in this same allocation."} + +2026-10-24T06:00:30.699257+00:00: Input-read reuse diagnostic {"utc": "2026-10-24T06:00:24.825238+00:00", "scope": "Read-only CPU engineering diagnostic on three existing input cases; no runtime changes, labels, neural inference, or training", "rows": [{"config_id": "jena_weather__T__long", "variates": 21, "context_length": 16384, "original_seconds": 0.005714666738640517, "reuse_seconds": 0.0004405328072607517, "samples": {"original": [0.005738912848755717, 0.005818885983899236, 0.005580664146691561, 0.005720203975215554], "reuse": [0.0007687332108616829, 0.0003586739767342806, 0.00031890394166111946, 0.00031582009978592396]}, "inputs_bitwise_equal": true}, {"config_id": "ett2__H__long", "variates": 7, "context_length": 13896, "original_seconds": 0.0008221465395763516, "reuse_seconds": 0.0001570452586747706, "samples": {"original": [0.0008381810039281845, 0.0008457731455564499, 0.0008068250026553869, 0.0007978070061653852], "reuse": [0.0001613281201571226, 0.00016256887465715408, 0.0001503939274698496, 0.0001538901124149561]}, "inputs_bitwise_equal": true}, {"config_id": "bitbrains_fast_storage__T__medium", "variates": 2, "context_length": 6720, "original_seconds": 0.00019565667025744915, "reuse_seconds": 0.00010205130092799664, "samples": {"original": [0.00020866887643933296, 0.00019539915956556797, 0.0001902508083730936, 0.00018830783665180206], "reuse": [0.00010645994916558266, 0.00010332418605685234, 9.902706369757652e-05, 9.939400479197502e-05]}, "inputs_bitwise_equal": true}], "seconds": 0.0868883989751339, "limitation": "Warm-file one-instance measurement, not full validation runtime attribution. Maximum validation variates is21, so repeated reads may be a minor cost despite exact reuse.", "outcome": "Exact reuse is possible, but the measured savings per largest sampled instance are only about5.3milliseconds. These warm-file measurements do not explain evaluations lasting hundreds of seconds. No runtime, watcher, package, or evaluator code is changed.", "reviewed_utc": "2026-10-24T06:00:30.699257+00:00"} + +2026-10-24T06:01:34.517166+00:00: Training completion {"utc": "2026-10-24T06:01:34.517166+00:00", "experiment": "E186control", "run": "separate_mean_control", "completed_utc": "2026-10-24T05:58:50Z", "training_process_seconds": 3303.3549948348664, "last_training_record": {"completed_step": 12000, "training_process_loop_seconds": 3291.56616138597}, "final_checkpoint_sha256": "5c4a19d84d21fdb11f2cdeb4c30842deebadcab11c8c90cd67692ac2c6acf8af", "outcome": "Declared inactive-head control completed12k. Candidate remains waiting for its declared >=18288MiB free-memory launch guard. Keep that threshold and all original comparisons; no extra trainer or numerical change."} + +2026-10-24T06:01:51.805271+00:00: E188 fixed annual correction result {"experiment": "E188", "pid": 29238, "started_utc": "2026-10-24T05:56:58.087755+00:00", "code_sha256": "96e95d8dc38e4c6b755976c250d60c02ee592a0ae9fb39076c2819015c2c165e", "status": "rejected; fixed version complete, no sweep or package", "results": [{"panel": "valid_screen", "skill": 0.38818523987099895, "delta_frozen": -0.0011755358459223375, "groups": {"term": {"short": 0.3730551980552743, "medium": 0.4070836319493024, "long": 0.40781138619784885}, "domain": {"Econ/Fin": 0.1507657392482069, "Energy": 0.24300092531854722, "Healthcare": 0.488089767759725, "Nature": 0.44376485978905256, "Sales": 0.34537564038514124, "Transport": 0.4769850624574721, "Web/CloudOps": 0.5085043509486793}, "freq": {"A-DEC": 0.3818434006747864, "Q-DEC": 0.2052608713475952, "M": 0.12088969329714627, "W-SUN": 0.10603481522416103, "D": 0.3757624318941025, "H": 0.4013984828316204, "15T": 0.21818881284983382, "W-FRI": 0.020070427473252495, "10T": 0.6276775322383856, "W-TUE": 0.620546697076482, "W-THU": 0.21623223124759539, "W-WED": 0.32674883823352585, "5T": 0.5227392646506106, "10S": 0.4250765858338945}}, "group_deltas": {"term": {"short": 0.0, "medium": -0.005276903938919997, "long": 3.3291604057406055e-05}, "domain": {"Econ/Fin": 0.0, "Energy": -0.0051095645946461765, "Healthcare": 0.0, "Nature": -0.00038533234917770276, "Sales": 0.0, "Transport": 0.0014163298579972228, "Web/CloudOps": 0.0}, "freq": {"A-DEC": 0.0, "Q-DEC": 0.0, "M": 0.0, "W-SUN": 0.0, "D": 0.0, "H": -0.0035914946910708956, "15T": 0.0, "W-FRI": 0.0, "10T": 0.0, "W-TUE": 0.0, "W-THU": 0.0, "W-WED": 0.0, "5T": 0.0, "10S": 0.0}}, "changes": [{"config_id": "electricity__H__medium", "supported_points": 82560, "shifted_points": 81861, "max_abs_normalized_shift": 0.2500000108001121, "changed_elements": 734517, "skill_delta": -0.11600603002994203}, {"config_id": "electricity__H__long", "supported_points": 127440, "shifted_points": 124974, "max_abs_normalized_shift": 0.25000001158314594, "changed_elements": 1123062, "skill_delta": 0.005718444712923265}, {"config_id": "solar__H__medium", "supported_points": 0, "shifted_points": 0, "max_abs_normalized_shift": 0.0, "changed_elements": 0, "skill_delta": 0.0}, {"config_id": "solar__H__long", "supported_points": 0, "shifted_points": 0, "max_abs_normalized_shift": 0.0, "changed_elements": 0, "skill_delta": 0.0}, {"config_id": "kdd_cup_2018_with_missing__H__medium", "supported_points": 46978, "shifted_points": 46851, "max_abs_normalized_shift": 0.25000001218398776, "changed_elements": 421487, "skill_delta": -0.005940118631942215}, {"config_id": "kdd_cup_2018_with_missing__H__long", "supported_points": 0, "shifted_points": 0, "max_abs_normalized_shift": 0.0, "changed_elements": 0, "skill_delta": 0.0}, {"config_id": "LOOP_SEATTLE__H__medium", "supported_points": 0, "shifted_points": 0, "max_abs_normalized_shift": 0.0, "changed_elements": 0, "skill_delta": 0.0}, {"config_id": "LOOP_SEATTLE__H__long", "supported_points": 0, "shifted_points": 0, "max_abs_normalized_shift": 0.0, "changed_elements": 0, "skill_delta": 0.0}, {"config_id": "M_DENSE__H__medium", "supported_points": 14400, "shifted_points": 14369, "max_abs_normalized_shift": 0.16333808147105883, "changed_elements": 129208, "skill_delta": 0.002287570478658907}, {"config_id": "M_DENSE__H__long", "supported_points": 21600, "shifted_points": 21570, "max_abs_normalized_shift": 0.19744790426050282, "changed_elements": 194130, "skill_delta": 0.023810550571478517}, {"config_id": "ett1__H__medium", "supported_points": 3360, "shifted_points": 3353, "max_abs_normalized_shift": 0.22447375525991461, "changed_elements": 30177, "skill_delta": -0.03023195494766784}, {"config_id": "ett1__H__long", "supported_points": 5040, "shifted_points": 5033, "max_abs_normalized_shift": 0.25000000652902316, "changed_elements": 45297, "skill_delta": -0.014333400525560203}, {"config_id": "ett2__H__medium", "supported_points": 3360, "shifted_points": 3352, "max_abs_normalized_shift": 0.20657225321105643, "changed_elements": 30159, "skill_delta": 0.010526109112588777}, {"config_id": "ett2__H__long", "supported_points": 5040, "shifted_points": 4760, "max_abs_normalized_shift": 0.2500000019080057, "changed_elements": 42840, "skill_delta": -0.0264454972009619}, {"config_id": "jena_weather__H__medium", "supported_points": 0, "shifted_points": 0, "max_abs_normalized_shift": 0.0, "changed_elements": 0, "skill_delta": 0.0}, {"config_id": "jena_weather__H__long", "supported_points": 0, "shifted_points": 0, "max_abs_normalized_shift": 0.0, "changed_elements": 0, "skill_delta": 0.0}, {"config_id": "bizitobs_l2c__H__medium", "supported_points": 0, "shifted_points": 0, "max_abs_normalized_shift": 0.0, "changed_elements": 0, "skill_delta": 0.0}, {"config_id": "bizitobs_l2c__H__long", "supported_points": 0, "shifted_points": 0, "max_abs_normalized_shift": 0.0, "changed_elements": 0, "skill_delta": 0.0}], "supported_points": 309778, "shifted_points": 306123, "cpu_seconds": 41.024681037990376, "report": "/workspace/research/annual_drift_valid_screen.json", "delta_current": -0.0011755358459223375}, {"panel": "valid_backcast", "skill": 0.34650591992754287, "delta_frozen": 0.0006011990876474416, "groups": {"term": {"short": 0.3141547815467325, "medium": 0.3658697199380918, "long": 0.40660274831608656}, "domain": {"Econ/Fin": 0.18160067214769848, "Energy": 0.23456951154717076, "Healthcare": 0.40212545303316916, "Nature": 0.3838286469349642, "Sales": 0.40883915245233005, "Transport": 0.38431740850264506, "Web/CloudOps": 0.45925088449552687}, "freq": {"A-DEC": 0.33078754893744844, "Q-DEC": 0.23700570996944292, "M": 0.19175411902001915, "W-SUN": 0.059062160550052645, "D": 0.3646819545891079, "H": 0.37994281922584616, "15T": 0.22230194455244912, "W-FRI": 0.23968590164728443, "10T": 0.33197069489258824, "W-TUE": 0.5482014822555118, "W-THU": 0.26697898734276704, "W-WED": 0.3596949129785524, "5T": 0.447691271232037, "10S": 0.3480039033453973}}, "group_deltas": {"term": {"short": 0.0, "medium": 0.0024080891420246164, "long": 0.00027135474343431554}, "domain": {"Econ/Fin": 0.0, "Energy": -0.0007323652054257446, "Healthcare": 0.0, "Nature": 0.0, "Sales": 0.0, "Transport": 0.004938139812267761, "Web/CloudOps": 0.0}, "freq": {"A-DEC": 0.0, "Q-DEC": 0.0, "M": 0.0, "W-SUN": 0.0, "D": 0.0, "H": 0.0017866673183205561, "15T": 0.0, "W-FRI": 0.0, "10T": 0.0, "W-TUE": 0.0, "W-THU": 0.0, "W-WED": 0.0, "5T": 0.0, "10S": 0.0}}, "changes": [{"config_id": "electricity__H__medium", "supported_points": 82560, "shifted_points": 82308, "max_abs_normalized_shift": 0.25000000849576964, "changed_elements": 738355, "skill_delta": 0.0040491619564023695}, {"config_id": "electricity__H__long", "supported_points": 127440, "shifted_points": 125593, "max_abs_normalized_shift": 0.250000013760383, "changed_elements": 1129450, "skill_delta": 0.0009468493127348099}, {"config_id": "solar__H__medium", "supported_points": 0, "shifted_points": 0, "max_abs_normalized_shift": 0.0, "changed_elements": 0, "skill_delta": 0.0}, {"config_id": "solar__H__long", "supported_points": 0, "shifted_points": 0, "max_abs_normalized_shift": 0.0, "changed_elements": 0, "skill_delta": 0.0}, {"config_id": "kdd_cup_2018_with_missing__H__medium", "supported_points": 0, "shifted_points": 0, "max_abs_normalized_shift": 0.0, "changed_elements": 0, "skill_delta": 0.0}, {"config_id": "kdd_cup_2018_with_missing__H__long", "supported_points": 0, "shifted_points": 0, "max_abs_normalized_shift": 0.0, "changed_elements": 0, "skill_delta": 0.0}, {"config_id": "LOOP_SEATTLE__H__medium", "supported_points": 0, "shifted_points": 0, "max_abs_normalized_shift": 0.0, "changed_elements": 0, "skill_delta": 0.0}, {"config_id": "LOOP_SEATTLE__H__long", "supported_points": 0, "shifted_points": 0, "max_abs_normalized_shift": 0.0, "changed_elements": 0, "skill_delta": 0.0}, {"config_id": "M_DENSE__H__medium", "supported_points": 14400, "shifted_points": 14368, "max_abs_normalized_shift": 0.16598588910594358, "changed_elements": 129306, "skill_delta": 0.06157453955078973}, {"config_id": "M_DENSE__H__long", "supported_points": 21600, "shifted_points": 21570, "max_abs_normalized_shift": 0.09507151256585533, "changed_elements": 194065, "skill_delta": 0.017513825448887244}, {"config_id": "ett1__H__medium", "supported_points": 3360, "shifted_points": 3353, "max_abs_normalized_shift": 0.14913876417750627, "changed_elements": 30177, "skill_delta": -4.1530048349169846e-05}, {"config_id": "ett1__H__long", "supported_points": 5040, "shifted_points": 5033, "max_abs_normalized_shift": 0.23813526454346018, "changed_elements": 45297, "skill_delta": 0.002992560151008128}, {"config_id": "ett2__H__medium", "supported_points": 3360, "shifted_points": 3352, "max_abs_normalized_shift": 0.21439186324521298, "changed_elements": 30168, "skill_delta": -0.010764736852551304}, {"config_id": "ett2__H__long", "supported_points": 5040, "shifted_points": 5033, "max_abs_normalized_shift": 0.2500000110130359, "changed_elements": 45297, "skill_delta": -0.02369673493700164}, {"config_id": "jena_weather__H__medium", "supported_points": 0, "shifted_points": 0, "max_abs_normalized_shift": 0.0, "changed_elements": 0, "skill_delta": 0.0}, {"config_id": "jena_weather__H__long", "supported_points": 0, "shifted_points": 0, "max_abs_normalized_shift": 0.0, "changed_elements": 0, "skill_delta": 0.0}, {"config_id": "bizitobs_l2c__H__medium", "supported_points": 0, "shifted_points": 0, "max_abs_normalized_shift": 0.0, "changed_elements": 0, "skill_delta": 0.0}, {"config_id": "bizitobs_l2c__H__long", "supported_points": 0, "shifted_points": 0, "max_abs_normalized_shift": 0.0, "changed_elements": 0, "skill_delta": 0.0}], "supported_points": 262800, "shifted_points": 260610, "cpu_seconds": 247.8652931600809, "report": "/workspace/research/annual_drift_valid_backcast.json", "delta_current": 0.0006011990876474416}, {"panel": "valid_backcast2", "skill": 0.3707811589720721, "delta_frozen": 0.00045664070450412986, "groups": {"term": {"short": 0.35723644813894817, "medium": 0.3995823499586395, "long": 0.3762597212813954}, "domain": {"Econ/Fin": 0.1294828662555424, "Energy": 0.2416660997482517, "Healthcare": 0.35832911544768686, "Nature": 0.4850218341451855, "Sales": 0.5597828255558903, "Transport": 0.43316504560088864, "Web/CloudOps": 0.44776364143411507}, "freq": {"A-DEC": 0.33751333277513795, "Q-DEC": 0.15624001754761851, "M": 0.173705610096883, "W-SUN": 0.08174657817330688, "D": 0.4355268947155827, "H": 0.40280700382272105, "15T": 0.10760686555452637, "W-FRI": 0.1497453849053848, "10T": 0.5100968640751355, "W-TUE": 0.1486916688372394, "W-THU": 0.34865588619800225, "W-WED": 0.5605192267020931, "5T": 0.4810945186712752, "10S": 0.29233165162853614}}, "group_deltas": {"term": {"short": 0.0, "medium": 0.0007285883059765519, "long": 0.00140421037453764}, "domain": {"Econ/Fin": 0.0, "Energy": -0.0004268703008490915, "Healthcare": 0.0, "Nature": 0.0, "Sales": 0.0, "Transport": 0.0035013222392389354, "Web/CloudOps": 0.0}, "freq": {"A-DEC": 0.0, "Q-DEC": 0.0, "M": 0.0, "W-SUN": 0.0, "D": 0.0, "H": 0.0013590341207745382, "15T": 0.0, "W-FRI": 0.0, "10T": 0.0, "W-TUE": 0.0, "W-THU": 0.0, "W-WED": 0.0, "5T": 0.0, "10S": 0.0}}, "changes": [{"config_id": "electricity__H__medium", "supported_points": 82560, "shifted_points": 82341, "max_abs_normalized_shift": 0.2500000101104833, "changed_elements": 738633, "skill_delta": -0.0005116328946738191}, {"config_id": "electricity__H__long", "supported_points": 126720, "shifted_points": 124848, "max_abs_normalized_shift": 0.25000000567195424, "changed_elements": 1123560, "skill_delta": 0.005038818078945129}, {"config_id": "solar__H__medium", "supported_points": 0, "shifted_points": 0, "max_abs_normalized_shift": 0.0, "changed_elements": 0, "skill_delta": 0.0}, {"config_id": "solar__H__long", "supported_points": 0, "shifted_points": 0, "max_abs_normalized_shift": 0.0, "changed_elements": 0, "skill_delta": 0.0}, {"config_id": "kdd_cup_2018_with_missing__H__medium", "supported_points": 0, "shifted_points": 0, "max_abs_normalized_shift": 0.0, "changed_elements": 0, "skill_delta": 0.0}, {"config_id": "kdd_cup_2018_with_missing__H__long", "supported_points": 0, "shifted_points": 0, "max_abs_normalized_shift": 0.0, "changed_elements": 0, "skill_delta": 0.0}, {"config_id": "LOOP_SEATTLE__H__medium", "supported_points": 0, "shifted_points": 0, "max_abs_normalized_shift": 0.0, "changed_elements": 0, "skill_delta": 0.0}, {"config_id": "LOOP_SEATTLE__H__long", "supported_points": 0, "shifted_points": 0, "max_abs_normalized_shift": 0.0, "changed_elements": 0, "skill_delta": 0.0}, {"config_id": "M_DENSE__H__medium", "supported_points": 14400, "shifted_points": 14370, "max_abs_normalized_shift": 0.09507151256585533, "changed_elements": 129250, "skill_delta": 0.026996332602547857}, {"config_id": "M_DENSE__H__long", "supported_points": 21600, "shifted_points": 21568, "max_abs_normalized_shift": 0.19268342269028116, "changed_elements": 193884, "skill_delta": 0.02083168863631274}, {"config_id": "ett1__H__medium", "supported_points": 3360, "shifted_points": 3353, "max_abs_normalized_shift": 0.16410940742283323, "changed_elements": 30177, "skill_delta": 0.0010176007486293326}, {"config_id": "ett1__H__long", "supported_points": 5040, "shifted_points": 5033, "max_abs_normalized_shift": 0.25000000396735483, "changed_elements": 45297, "skill_delta": -0.007883654962333564}, {"config_id": "ett2__H__medium", "supported_points": 3360, "shifted_points": 3353, "max_abs_normalized_shift": 0.23406602861286824, "changed_elements": 30177, "skill_delta": -0.01592698580012686}, {"config_id": "ett2__H__long", "supported_points": 5040, "shifted_points": 5033, "max_abs_normalized_shift": 0.2500000096460884, "changed_elements": 45297, "skill_delta": 0.003877031868741443}, {"config_id": "jena_weather__H__medium", "supported_points": 0, "shifted_points": 0, "max_abs_normalized_shift": 0.0, "changed_elements": 0, "skill_delta": 0.0}, {"config_id": "jena_weather__H__long", "supported_points": 0, "shifted_points": 0, "max_abs_normalized_shift": 0.0, "changed_elements": 0, "skill_delta": 0.0}, {"config_id": "bizitobs_l2c__H__medium", "supported_points": 0, "shifted_points": 0, "max_abs_normalized_shift": 0.0, "changed_elements": 0, "skill_delta": 0.0}], "supported_points": 262080, "shifted_points": 259899, "cpu_seconds": 2.816832401789725, "report": "/workspace/research/annual_drift_valid_backcast2.json", "delta_current": 0.00045664070450412986}, {"panel": "valid_backcast3", "skill": 0.3924814544094456, "delta_frozen": -0.0003534475197373155, "groups": {"term": {"short": 0.3979990711275432, "medium": 0.3700350265674224, "long": 0.3998844695867647}, "domain": {"Econ/Fin": 0.1918528924020163, "Energy": 0.3185756512180873, "Healthcare": 0.2379658962711424, "Nature": 0.508075572513706, "Sales": 0.40386469156469385, "Transport": 0.5120835267748269, "Web/CloudOps": 0.40009299351864624}, "freq": {"A-DEC": 0.3610310384013814, "Q-DEC": 0.26270153125987217, "M": 0.1478243478998057, "W-SUN": 0.1749840554744284, "D": 0.44442387004267214, "H": 0.4083732693564055, "15T": 0.2589060819854081, "W-FRI": 0.041384655614342125, "10T": 0.6042590264705352, "W-TUE": 0.2829189507620672, "W-THU": 0.3435745424656176, "W-WED": 0.37388652896545693, "5T": 0.47123445884488524, "10S": 0.29219007122444685}}, "group_deltas": {"term": {"short": 0.0, "medium": -0.0018594148510368003, "long": 0.00015786719607335797}, "domain": {"Econ/Fin": 0.0, "Energy": -0.0008320117138231886, "Healthcare": 0.0, "Nature": 0.0, "Sales": 0.0, "Transport": -0.0005234132131193281, "Web/CloudOps": 0.0}, "freq": {"A-DEC": 0.0, "Q-DEC": 0.0, "M": 0.0, "W-SUN": 0.0, "D": 0.0, "H": -0.0011031112326631565, "15T": 0.0, "W-FRI": 0.0, "10T": 0.0, "W-TUE": 0.0, "W-THU": 0.0, "W-WED": 0.0, "5T": 0.0, "10S": 0.0}}, "changes": [{"config_id": "electricity__H__medium", "supported_points": 82080, "shifted_points": 81865, "max_abs_normalized_shift": 0.25000000549231916, "changed_elements": 733038, "skill_delta": -0.009712611609413058}, {"config_id": "electricity__H__long", "supported_points": 126720, "shifted_points": 124657, "max_abs_normalized_shift": 0.250000008738963, "changed_elements": 1119419, "skill_delta": -0.007565828539124464}, {"config_id": "solar__H__medium", "supported_points": 0, "shifted_points": 0, "max_abs_normalized_shift": 0.0, "changed_elements": 0, "skill_delta": 0.0}, {"config_id": "solar__H__long", "supported_points": 0, "shifted_points": 0, "max_abs_normalized_shift": 0.0, "changed_elements": 0, "skill_delta": 0.0}, {"config_id": "kdd_cup_2018_with_missing__H__medium", "supported_points": 0, "shifted_points": 0, "max_abs_normalized_shift": 0.0, "changed_elements": 0, "skill_delta": 0.0}, {"config_id": "kdd_cup_2018_with_missing__H__long", "supported_points": 0, "shifted_points": 0, "max_abs_normalized_shift": 0.0, "changed_elements": 0, "skill_delta": 0.0}, {"config_id": "LOOP_SEATTLE__H__medium", "supported_points": 0, "shifted_points": 0, "max_abs_normalized_shift": 0.0, "changed_elements": 0, "skill_delta": 0.0}, {"config_id": "LOOP_SEATTLE__H__long", "supported_points": 0, "shifted_points": 0, "max_abs_normalized_shift": 0.0, "changed_elements": 0, "skill_delta": 0.0}, {"config_id": "M_DENSE__H__medium", "supported_points": 14400, "shifted_points": 14369, "max_abs_normalized_shift": 0.16775452273284883, "changed_elements": 129299, "skill_delta": 0.013074439339058552}, {"config_id": "M_DENSE__H__long", "supported_points": 21600, "shifted_points": 21569, "max_abs_normalized_shift": 0.25000000469867467, "changed_elements": 193627, "skill_delta": -0.015168080417365115}, {"config_id": "ett1__H__medium", "supported_points": 3360, "shifted_points": 3353, "max_abs_normalized_shift": 0.20317723850929595, "changed_elements": 30177, "skill_delta": -0.015489270978154557}, {"config_id": "ett1__H__long", "supported_points": 5040, "shifted_points": 5033, "max_abs_normalized_shift": 0.25000000636670494, "changed_elements": 45297, "skill_delta": 0.014226684363517372}, {"config_id": "ett2__H__medium", "supported_points": 3360, "shifted_points": 3353, "max_abs_normalized_shift": 0.24999999928005998, "changed_elements": 30177, "skill_delta": -0.03825632096224019}, {"config_id": "ett2__H__long", "supported_points": 5040, "shifted_points": 5033, "max_abs_normalized_shift": 0.2500000068200621, "changed_elements": 45297, "skill_delta": 0.022760175015209216}, {"config_id": "jena_weather__H__medium", "supported_points": 0, "shifted_points": 0, "max_abs_normalized_shift": 0.0, "changed_elements": 0, "skill_delta": 0.0}, {"config_id": "jena_weather__H__long", "supported_points": 0, "shifted_points": 0, "max_abs_normalized_shift": 0.0, "changed_elements": 0, "skill_delta": 0.0}], "supported_points": 261600, "shifted_points": 259232, "cpu_seconds": 1.9541763870511204, "report": "/workspace/research/annual_drift_valid_backcast3.json", "delta_current": -0.0003534475197373155}], "optimizer_updates": 0, "new_neural_inference": false, "seconds": 293.71754196309485, "gates": {"delta_frozen": {"positive": 2, "mean_delta": -0.00011778589337702039}, "delta_current": {"positive": 2, "mean_delta": -0.00011778589337702039}}, "mean_long_delta": 0.0004666809795256799, "selection_gate_passed": false, "completed_utc": "2026-10-24T06:01:51.805271+00:00"} + +2026-10-24T06:02:22.251927+00:00: E188 completed fixed-rule review {"utc": "2026-10-24T06:02:22.251927+00:00", "experiment": "E188", "frozen_parent_descriptor": "a75fdfcbb4d8e38dd6e7cded3c097ff0a129976fa63277bfd277a6031ccc6140", "rule_code_sha256": "96e95d8dc38e4c6b755976c250d60c02ee592a0ae9fb39076c2819015c2c165e", "training_seed": null, "fixture_seed": 1883, "new_weights": false, "optimizer_updates": 0, "new_neural_inference": false, "skills": [0.38818523987099895, 0.34650591992754287, 0.3707811589720721, 0.3924814544094456], "gates": {"delta_frozen": {"positive": 2, "mean_delta": -0.00011778589337702039}, "delta_current": {"positive": 2, "mean_delta": -0.00011778589337702039}}, "group_skill_deltas": {"term": {"long": {"mean_delta": 0.0004666809795256799, "positive": 4, "cutoffs": 4}, "medium": {"mean_delta": -0.0009999103354889072, "positive": 2, "cutoffs": 4}, "short": {"mean_delta": 0.0, "positive": 0, "cutoffs": 4}}, "domain": {"Econ/Fin": {"mean_delta": 0.0, "positive": 0, "cutoffs": 4}, "Energy": {"mean_delta": -0.0017752029536860503, "positive": 0, "cutoffs": 4}, "Healthcare": {"mean_delta": 0.0, "positive": 0, "cutoffs": 4}, "Nature": {"mean_delta": -9.633308729442569e-05, "positive": 0, "cutoffs": 4}, "Sales": {"mean_delta": 0.0, "positive": 0, "cutoffs": 4}, "Transport": {"mean_delta": 0.002333094674096148, "positive": 3, "cutoffs": 4}, "Web/CloudOps": {"mean_delta": 0.0, "positive": 0, "cutoffs": 4}}, "freq": {"10S": {"mean_delta": 0.0, "positive": 0, "cutoffs": 4}, "10T": {"mean_delta": 0.0, "positive": 0, "cutoffs": 4}, "15T": {"mean_delta": 0.0, "positive": 0, "cutoffs": 4}, "5T": {"mean_delta": 0.0, "positive": 0, "cutoffs": 4}, "A-DEC": {"mean_delta": 0.0, "positive": 0, "cutoffs": 4}, "D": {"mean_delta": 0.0, "positive": 0, "cutoffs": 4}, "H": {"mean_delta": -0.0003872261211597394, "positive": 2, "cutoffs": 4}, "M": {"mean_delta": 0.0, "positive": 0, "cutoffs": 4}, "Q-DEC": {"mean_delta": 0.0, "positive": 0, "cutoffs": 4}, "W-FRI": {"mean_delta": 0.0, "positive": 0, "cutoffs": 4}, "W-SUN": {"mean_delta": 0.0, "positive": 0, "cutoffs": 4}, "W-THU": {"mean_delta": 0.0, "positive": 0, "cutoffs": 4}, "W-TUE": {"mean_delta": 0.0, "positive": 0, "cutoffs": 4}, "W-WED": {"mean_delta": 0.0, "positive": 0, "cutoffs": 4}}}, "probe_cpu_seconds": 293.66098298691213, "controller_seconds": 293.71754196309485, "engineering_cpu_seconds": 0.09657288598828018, "review_seconds": 0.002561732893809676, "selection_gate_passed": false, "outcome": "Rejected: only2of4 aggregate cutoffs improve and mean skill delta isnegative(-.000117785893). Long-term group improvesall4(mean+.000466680980), but medium-term mean regresses and main electricityHmedium has a large loss. Do not select a long-only variant, different coefficient, smoothing width, or eligibility rule from this failed version. No package or publicGPUreplay. Keep E172 unchanged. This fixed-rule failure does not establish that learned annual features are ineffective; no such new training study is selected."} + +2026-10-24T06:07:38.761857+00:00: Scheduled main-cutoff learning diagnostic {"utc": "2026-10-24T06:07:38.761857+00:00", "experiment": "E160", "run": "integrated_level_replication", "step": 6000, "skill": 0.37753537029007445, "checkpoint_sha256": "dd2e773f3a8a536efc4c0c768a8790abd0880942f4583062f1a54845c4704c34", "eval_seconds": 565.0477411746979, "comparisons": [{"control": "weekly_replication_control", "control_checkpoint_sha256": "674137ac14bce26f6983cb68123e34d01ca598bb3ad72e81cbd197d138ed6104", "control_skill": 0.3764059869702334, "delta": 0.0011293833198410264, "group_deltas": {"term": {"long": -9.845652786200088e-05, "medium": 0.0014104912737752384, "short": 0.001518465323736451}, "domain": {"Econ/Fin": 0.0025490991996912626, "Energy": 0.0020469998032514036, "Healthcare": -0.0012100563110036822, "Nature": 0.0013905832396040596, "Sales": -0.0003617569719652769, "Transport": -0.00010585261804751944, "Web/CloudOps": 0.0012757662305543649}, "frequency": {"A": -0.0006343542989557527, "D": 0.0014674280819509944, "H": 0.0003745957042666781, "M": 0.0032621467257014647, "Q": 0.00012950796667765552, "S": -0.0005140737993957201, "T": 0.0019493956243753496, "W": 0.0006434454531272227}, "variates": {"multivariate": 0.0016253147234536192, "univariate": 0.0007105563551200733}}}], "decision": "Original primary replication main cutoff only. Preserve the independent-seed matched four-cutoff comparison; E171 still requires the original6000 primary source gate and explicit memory review. Final12000 cannot substitute for a failed primary.", "new_neural_inference": false, "new_training": false}. No additional training or inference. + +2026-10-24T06:08:50.997977+00:00: Scheduled main-cutoff learning diagnostic {"utc": "2026-10-24T06:08:50.997977+00:00", "experiment": "E157distill", "run": "random_capacity_long_seasonal_distill", "step": 8000, "skill": 0.360688322946628, "checkpoint_sha256": "40ccd2ec4fe90c51cfe6efb3963c05a50d1c8aa0fe7cfa3083733cfe43d1ca0d", "eval_seconds": 36.6596782207489, "comparisons": [{"control": "distill_ensemble", "control_checkpoint_sha256": "dca6ae35fabe5a4608ef2207587fe6dfc4b66b7f07c826e640ef0d9887e1fef8", "control_skill": 0.3542945304341839, "delta": 0.006393792512444096, "group_deltas": {"term": {"long": 0.005279525127383944, "medium": -0.002212273999645409, "short": 0.010440089515416195}, "domain": {"Econ/Fin": -0.004475214757705737, "Energy": 0.0032591331704437954, "Healthcare": 0.04836331316305076, "Nature": 0.0022752812894526464, "Sales": 0.009448698993581472, "Transport": 0.004576809735070908, "Web/CloudOps": 0.0064971707298261405}, "frequency": {"A": -0.0022457419737652584, "D": 0.01665082409478824, "H": 0.0009072480269419758, "M": 0.013515062947256018, "Q": -0.002193494976031274, "S": 0.001591444913346618, "T": 0.003640897433477508, "W": 0.026923301938277966}, "variates": {"multivariate": 0.004322069157425168, "univariate": 0.008107939428155908}}}, {"control": "random_capacity_long_seasonal_halflr", "control_checkpoint_sha256": "28d86824f7798a9cf52c85aae0973a8239f6f0e287139579d8f0eb75ab15f8b5", "control_skill": 0.3542651953200786, "delta": 0.006423127626549396, "group_deltas": {"term": {"long": 0.016906891956019576, "medium": 0.004264676512918841, "short": 0.0030465964157301295}, "domain": {"Econ/Fin": 0.007745229875036563, "Energy": 0.012996053427875576, "Healthcare": 0.01668455695087423, "Nature": -0.01624714255861337, "Sales": 0.039884675966010974, "Transport": 0.009472810217644567, "Web/CloudOps": 0.004500612019699202}, "frequency": {"A": 0.01674423082541443, "D": -0.011487912654395194, "H": 0.00944601072132123, "M": -0.0033313415056915874, "Q": 0.01601134347387967, "S": -0.005637875913241497, "T": 0.014148209170955717, "W": 0.008039217352609151}, "variates": {"multivariate": 0.00871004859899871, "univariate": 0.004538517414921617}}}], "decision": "Scheduled8k main diagnostic of seasonal features plus own-teacher distillation. Retain original48000primary/96000final four-cutoff comparisons against both matched controls. E187 F5 substitution remains untested until those original source gates pass; no early checkpoint or coefficient selection.", "new_neural_inference": false, "new_training": false}. No additional training or inference. + +2026-10-24T06:10:20.561377+00:00: Scheduled main-cutoff learning diagnostic {"utc": "2026-10-24T06:10:20.561377+00:00", "experiment": "E155", "run": "random_capacity_1536", "step": 8000, "skill": 0.3360538277247568, "checkpoint_sha256": "ccedc0a3e0f9ae7c8297865e744710d86f54beac7c83487ca503949b8630d276", "eval_seconds": 53.966047286987305, "comparisons": [{"control": "random_capacity_1024", "control_checkpoint_sha256": "12ad3e4b1be6b38b31a3dee057805e2a532f48fe3723f6bcefb15ba63ca8ee97", "control_skill": 0.3439793569353369, "delta": -0.007925529210580096, "group_deltas": {"term": {"long": -0.003323487768237765, "medium": -0.0034763379833208097, "short": -0.011749761899775613}, "domain": {"Econ/Fin": -0.005293742379182564, "Energy": -0.004747620070531755, "Healthcare": -0.07125006844325155, "Nature": -0.014958636929596536, "Sales": 0.0052044413108225385, "Transport": -0.003925529084490287, "Web/CloudOps": 0.0012006923740045528}, "frequency": {"A": -0.0001504616978686979, "D": -0.022670092132403452, "H": -0.00032878653900170196, "M": -0.031600689129382076, "Q": -0.02047592079906524, "S": -0.0012237588483109407, "T": -0.008676672198944413, "W": -0.002517012757664139}, "variates": {"multivariate": -0.001852642283382555, "univariate": -0.013044509556101369}}}], "decision": "Scheduled8k main learning diagnostic only. Larger fresh329M model remains below the matched146Mcontrol at this early endpoint. Preserve original48000primary/96000final comparisons, original learning rate and schedule, and the E167primary-source condition. No early checkpoint substitution or early stop.", "new_neural_inference": false, "new_training": false}. No additional training or inference. + +2026-10-24T06:12:08.418615+00:00: E189 conditional lower-rate329M study {"experiment": "E189", "declared_utc": "2026-10-24T06:12:08.418615+00:00", "status": "conditional fallback declared before original E155primary48k", "run": "random_capacity_1536_halflr", "hypothesis": "Fresh329M widening trails146M at the scheduled4k/8k diagnostics despite equal effective batch and token stream. Learning-rate transfer from1024 to1536 hidden width may be poor. If the original primary width comparison fails, test half the scalar learning rate from the same own untrained329M initial. Early diagnostics do not change the ongoing E155schedule.", "changed_factor": "Peak learning rate2e-4 to1e-4; every point of the original96000-step schedule is halved. Same seed, own initial, sampler, source weights, code, optimizer, EMA, precision, signed pairing and effective/micro batch.", "parameters": 329029920, "seed": 307, "batch": 48, "micro_batch": 16, "learning_rate": 0.0001, "steps": 96000, "primary_step": 48000, "final_step": 96000, "diagnostic_steps": [4000, 8000, 16000, 24000, 72000], "code_dir": "/workspace/research/random_capacity", "initial": "/workspace/research/random_capacity_1536_initial.pt", "initial_sha256": "0b7ea96c46696952970cfd8edf965da00a7738b3c7c321b49987dfd55b5f4cc3", "packed": "/workspace/research/packed_sample", "source_weights_from": "/workspace/research/packed_sample", "start_condition": "Only if the original E15548000 matched comparison against E79fails its >=3positive/positive-mean source gate. If it passes, E189remains untrained and E167keeps its existing condition. Require the original E15596000 checkpoint and completed allocation before starting E189. No extra GPUallocation and no final96substitute for the primary condition.", "controls": ["random_capacity_1536", "random_capacity_1024_halflr"], "selection": "At original48k/96k, compare all four cutoffs against both same-endpoint E155329M/high-rate and E94 146M/low-rate. Require>=3positive/positive mean against BOTH before any separately declared composition or full package evaluation. No automatic publication or earlycheckpoint selection.", "engineering": "Reuse verified E155unchanged model/sampler/maximum-shape micro16 gradient and full-state restart fixtures because no executable training code changes. CPUcheck exact command differences, ownstep0/parentless initial and hashes, plus all96000 learning-rate values at half rate. Preserve original nondeterministic training-kernel mode: existing E155restart audit reports tiny parameter variation and optimizer relativeL2around.0018, with exact RNG/prefetch/ancestry. Do not claim bitwise training reproducibility or reinterpret those measured original checks as a new stricter audit. No new fixture weights or optimizer updates.", "allocation": "Mutually exclusive fallback to E167 after the same completed E155allocation. Persistent conditional controller waits for originalprimary and then creates one replacement queue; no additional concurrent main allocation.", "sources_used": ["gifteval_pretrain/BEIJING_SUBWAY_30MIN", "gifteval_pretrain/HZMETRO", "gifteval_pretrain/LOS_LOOP", "gifteval_pretrain/PEMS03", "gifteval_pretrain/PEMS04", "gifteval_pretrain/PEMS07", "gifteval_pretrain/PEMS08", "gifteval_pretrain/PEMS_BAY", "gifteval_pretrain/Q-TRAFFIC", "gifteval_pretrain/SHMETRO", "gifteval_pretrain/alibaba_cluster_trace_2018", "gifteval_pretrain/australian_electricity_demand", "gifteval_pretrain/azure_vm_traces_2017", "gifteval_pretrain/bdg-2_bear", "gifteval_pretrain/bdg-2_fox", "gifteval_pretrain/bdg-2_panther", "gifteval_pretrain/bdg-2_rat", "gifteval_pretrain/bitcoin_with_missing", "gifteval_pretrain/borealis", "gifteval_pretrain/borg_cluster_data_2011", "gifteval_pretrain/buildings_900k", "gifteval_pretrain/bull", "gifteval_pretrain/cdc_fluview_ilinet", "gifteval_pretrain/cdc_fluview_who_nrevss", "gifteval_pretrain/china_air_quality", "gifteval_pretrain/cif_2016_12", "gifteval_pretrain/cif_2016_6", "gifteval_pretrain/cmip6_2000", "gifteval_pretrain/cmip6_2005", "gifteval_pretrain/cmip6_2010", "gifteval_pretrain/cockatoo", "gifteval_pretrain/covid19_energy", "gifteval_pretrain/covid_mobility", "gifteval_pretrain/elecdemand", "gifteval_pretrain/elf", "gifteval_pretrain/era5_2010", "gifteval_pretrain/era5_2011", "gifteval_pretrain/era5_2012", "gifteval_pretrain/era5_2013", "gifteval_pretrain/era5_2014", "gifteval_pretrain/era5_2015", "gifteval_pretrain/era5_2016", "gifteval_pretrain/era5_2017", "gifteval_pretrain/era5_2018", "gifteval_pretrain/extended_web_traffic_with_missing", "gifteval_pretrain/favorita_sales", "gifteval_pretrain/favorita_transactions", "gifteval_pretrain/gfc12_load", "gifteval_pretrain/gfc14_load", "gifteval_pretrain/gfc17_load", "gifteval_pretrain/godaddy", "gifteval_pretrain/hog", "gifteval_pretrain/ideal", "gifteval_pretrain/kaggle_web_traffic_weekly", "gifteval_pretrain/kdd2022", "gifteval_pretrain/largest_2017", "gifteval_pretrain/largest_2018", "gifteval_pretrain/largest_2019", "gifteval_pretrain/largest_2020", "gifteval_pretrain/largest_2021", "gifteval_pretrain/lcl", "gifteval_pretrain/london_smart_meters_with_missing", "gifteval_pretrain/m1_monthly", "gifteval_pretrain/m1_quarterly", "gifteval_pretrain/m1_yearly", "gifteval_pretrain/m5", "gifteval_pretrain/monash_m3_monthly", "gifteval_pretrain/monash_m3_other", "gifteval_pretrain/monash_m3_quarterly", "gifteval_pretrain/nn5_daily_with_missing", "gifteval_pretrain/nn5_weekly", "gifteval_pretrain/oikolab_weather", "gifteval_pretrain/pdb", "gifteval_pretrain/project_tycho", "gifteval_pretrain/residential_load_power", "gifteval_pretrain/residential_pv_power", "gifteval_pretrain/rideshare_with_missing", "gifteval_pretrain/sceaux", "gifteval_pretrain/smart", "gifteval_pretrain/solar_power", "gifteval_pretrain/spain", "gifteval_pretrain/subseasonal", "gifteval_pretrain/subseasonal_precip", "gifteval_pretrain/sunspot_with_missing", "gifteval_pretrain/taxi_30min", "gifteval_pretrain/tourism_quarterly", "gifteval_pretrain/tourism_yearly", "gifteval_pretrain/traffic_hourly", "gifteval_pretrain/traffic_weekly", "gifteval_pretrain/uber_tlc_daily", "gifteval_pretrain/uber_tlc_hourly", "gifteval_pretrain/vehicle_trips_with_missing", "gifteval_pretrain/wiki-rolling_nips", "gifteval_pretrain/wind_farms_with_missing", "gifteval_pretrain/wind_power", "synthetic:Own original additive seasonal/trend/AR/changepoint/intermittent generator with E79slow-AR phi=exp(-10**(-Uniform(0,4))); same20percent mixture and RNG consumption as E155, code random_capacity/data.py"], "pretrained_assets": [], "validation_training": false, "production_updates": 0, "training_queued": false, "limitation": "Conditional choice follows adaptive early validation diagnostics; this is a fixed follow-up, not an unconditional scaling-law factorial or evidence that lower rate already works."} + +2026-10-24T06:14:10.684401+00:00: E189 preparation review {"utc": "2026-10-24T06:14:10.684401+00:00", "experiment": "E189", "cpu_audit": "/workspace/research/large_halflr_cpu_checks.json", "cpu_seconds": 2.1115739829838276, "new_optimizer_updates": 0, "new_gpu_work": false, "reused_audits": ["random_capacity_1536_checks.json", "random_capacity_1536_gpu_checks.json", "random_capacity_1536_recovery_checks.json"], "initial_sha256": "0b7ea96c46696952970cfd8edf965da00a7738b3c7c321b49987dfd55b5f4cc3", "source_condition": "Only original E155primary48failure; original96training must complete. E167andE189cannot bothlaunch.", "scripts": {"/workspace/research/large_halflr/check_cpu.py": "523aaf2537b2e377bee8b691d6f2fb8dc4eca482e8bad90166b1e5ff00c49f70", "/workspace/research/large_halflr/declare.py": "c91172f868636701350c53e2daec70e9dc13b4fdf4da9c7651e68c4f1ddce0ed", "/workspace/research/large_halflr/launch.py": "8c7fa37d0600f43c835e600f0e4ea566e25ef1b3346617b5562fe1324d79ea4c", "/workspace/research/large_halflr/start_when_ready.py": "64faff95c6e283cef2b8c7a36d9c46134b6bd74309ff438cf1916cf35099a238", "/workspace/research/large_halflr/watch_selection.py": "73d8d76999171fe505eaa7c9609d61d367019f5525440305d0f45dd7985759af"}, "outcome": "Prepared conditional replacement and dual-control endpoint watchers. No production queue or updates. Existing E155non-bitwise training variation is explicitly retained and recorded; no stricter restart claim or tolerance change."} + +2026-10-24T06:14:10.868552+00:00: E189 conditional controller {"experiment": "E189", "pid": 29552, "started_utc": "2026-10-24T06:14:10.804421+00:00", "status": "waiting original E155primary48000", "production_updates": 0, "seconds": 2.5179004296660423e-05} + +2026-10-24T06:19:44.334240+00:00: Bounded scheduling probe review {"utc": "2026-10-24T06:19:44.334240+00:00", "receipt": "/workspace/research/evaluation_scheduling_probe_20261024_061848.json", "suspension_seconds": 20.100920205935836, "trainer_states_after": {"random_capacity_deep": "S", "random_capacity_1536": "R", "random_capacity_long_seasonal_distill": "R", "spectral_phase_individual": "R", "random_capacity_buildings": "R", "random_capacity_long_seasonal_halflr": "R"}, "evaluation_cases_before": 40, "evaluation_cases_after": 41, "outcome": "All six own trainers resumed. Only one additional case file completed during this20-second interval. No convincing evidence from this probe for changing evaluation scheduling; no persistent suspension controller or scheduler change selected. Measured training wall times include20.100920seconds of suspension. This is an operational measurement, not a training-recipe or model-selection change."} + +E137 48000 four-cutoff comparison: {"label": "E137 48000 four-cutoff comparison", "utc": "2026-10-24T06:26:14.279821+00:00", "candidate": "random_capacity_deep_ema48000", "control": "random_capacity_1024_ema48000", "rows": [{"cutoff": "evals", "candidate_skill": 0.3619466732440173, "control_skill": 0.3685434345005941, "delta": -0.006596761256576822, "candidate_checkpoint": "669df6ac6c848ea921415efea9356f494a84272611759ef86c9ca325cefa8404", "control_checkpoint": "227ea80abf17fc81ae191f94e91f6dd7adbc0d837235750b5f5e9cef3dd5472c", "candidate_eval_seconds": 50.022554874420166, "candidate_groups": {"term": {"long": {"n_configs": 21, "rel_mase_gmean": 0.7653594390029353, "rel_wql_gmean": 0.5015980797954162}, "medium": {"n_configs": 21, "rel_mase_gmean": 0.7251466128955583, "rel_wql_gmean": 0.5006610731068373}, "short": {"n_configs": 55, "rel_mase_gmean": 0.7687049197845298, "rel_wql_gmean": 0.5658236954131752}}, "domain": {"Econ/Fin": {"n_configs": 6, "rel_mase_gmean": 0.8845405310439073, "rel_wql_gmean": 0.8498681250546973}, "Energy": {"n_configs": 32, "rel_mase_gmean": 0.9111101016468293, "rel_wql_gmean": 0.6590701228250452}, "Healthcare": {"n_configs": 5, "rel_mase_gmean": 0.6680167481638477, "rel_wql_gmean": 0.5903720526452717}, "Nature": {"n_configs": 15, "rel_mase_gmean": 0.8103095265310355, "rel_wql_gmean": 0.41899117062428004}, "Sales": {"n_configs": 4, "rel_mase_gmean": 0.8484998103230227, "rel_wql_gmean": 0.5218550104977571}, "Transport": {"n_configs": 15, "rel_mase_gmean": 0.6526068829616111, "rel_wql_gmean": 0.4530614885013297}, "Web/CloudOps": {"n_configs": 20, "rel_mase_gmean": 0.5802458746456993, "rel_wql_gmean": 0.452489796713894}}, "frequency": {"A": {"n_configs": 1, "rel_mase_gmean": 0.600615348036732, "rel_wql_gmean": 0.6121106158114282}, "D": {"n_configs": 15, "rel_mase_gmean": 0.7767698801432074, "rel_wql_gmean": 0.5315505034416169}, "H": {"n_configs": 31, "rel_mase_gmean": 0.7451401115805573, "rel_wql_gmean": 0.5208981910286113}, "M": {"n_configs": 5, "rel_mase_gmean": 1.0227383805288148, "rel_wql_gmean": 0.9068186170220316}, "Q": {"n_configs": 1, "rel_mase_gmean": 0.765562516788529, "rel_wql_gmean": 0.8325536049401497}, "S": {"n_configs": 6, "rel_mase_gmean": 0.6662084311389211, "rel_wql_gmean": 0.50946865737168}, "T": {"n_configs": 30, "rel_mase_gmean": 0.7121452121064319, "rel_wql_gmean": 0.47359728645558}, "W": {"n_configs": 8, "rel_mase_gmean": 0.9233733433821596, "rel_wql_gmean": 0.6864802011216545}}, "variates": {"multivariate": {"n_configs": 43, "rel_mase_gmean": 0.7260572019629231, "rel_wql_gmean": 0.5318368229683541}, "univariate": {"n_configs": 54, "rel_mase_gmean": 0.7850733229130613, "rel_wql_gmean": 0.5408669583018385}}}, "control_groups": {"term": {"long": {"n_configs": 21, "rel_mase_gmean": 0.7587789601246303, "rel_wql_gmean": 0.49670212535892816}, "medium": {"n_configs": 21, "rel_mase_gmean": 0.7318228954729822, "rel_wql_gmean": 0.5069316624612222}, "short": {"n_configs": 55, "rel_mase_gmean": 0.7543680498586199, "rel_wql_gmean": 0.5551519797008444}}, "domain": {"Econ/Fin": {"n_configs": 6, "rel_mase_gmean": 0.894159342526865, "rel_wql_gmean": 0.8617452681906776}, "Energy": {"n_configs": 32, "rel_mase_gmean": 0.9101004419451137, "rel_wql_gmean": 0.6584458800440816}, "Healthcare": {"n_configs": 5, "rel_mase_gmean": 0.5844853147385809, "rel_wql_gmean": 0.5155213514040926}, "Nature": {"n_configs": 15, "rel_mase_gmean": 0.8048625648125799, "rel_wql_gmean": 0.41574642740891904}, "Sales": {"n_configs": 4, "rel_mase_gmean": 0.8608662664471317, "rel_wql_gmean": 0.5338203994579515}, "Transport": {"n_configs": 15, "rel_mase_gmean": 0.6544478487122294, "rel_wql_gmean": 0.45419898205149567}, "Web/CloudOps": {"n_configs": 20, "rel_mase_gmean": 0.5691881615817772, "rel_wql_gmean": 0.4440050362883611}}, "frequency": {"A": {"n_configs": 1, "rel_mase_gmean": 0.6000112444199207, "rel_wql_gmean": 0.6164736935875128}, "D": {"n_configs": 15, "rel_mase_gmean": 0.7725946330728586, "rel_wql_gmean": 0.5378537664666186}, "H": {"n_configs": 31, "rel_mase_gmean": 0.7386096620108181, "rel_wql_gmean": 0.5168384077006924}, "M": {"n_configs": 5, "rel_mase_gmean": 0.9539291717517222, "rel_wql_gmean": 0.8277758145427478}, "Q": {"n_configs": 1, "rel_mase_gmean": 0.7693856070976332, "rel_wql_gmean": 0.8422189104112654}, "S": {"n_configs": 6, "rel_mase_gmean": 0.6694448136296561, "rel_wql_gmean": 0.5123742201671339}, "T": {"n_configs": 30, "rel_mase_gmean": 0.7085963765778743, "rel_wql_gmean": 0.4689717872647888}, "W": {"n_configs": 8, "rel_mase_gmean": 0.8999499970954961, "rel_wql_gmean": 0.6671558797312815}}, "variates": {"multivariate": {"n_configs": 43, "rel_mase_gmean": 0.7233324743781643, "rel_wql_gmean": 0.5297705922478261}, "univariate": {"n_configs": 54, "rel_mase_gmean": 0.7726310020210445, "rel_wql_gmean": 0.5326719533609565}}}, "group_skill_delta": {"term": {"long": -0.005687591785772272, "medium": 0.006546189705183281, "short": -0.012369473654067487}, "domain": {"Econ/Fin": 0.010771673809057969, "Energy": -0.0007963469345466656, "Healthcare": -0.07907419648797143, "Nature": -0.004214654222051362, "Sales": 0.012472088674125303, "Transport": 0.0014495458306000852, "Web/CloudOps": -0.009686500774384266}, "frequency": {"A": 0.0018510299049963042, "D": 0.002059141078726956, "H": -0.005157937497821785, "M": -0.07441931079318642, "Q": 0.0066232426939909494, "S": 0.0030763308691544866, "T": -0.004284712404722946, "W": -0.021304955239836554}, "variates": {"multivariate": -0.0023731018324292252, "univariate": -0.010100359611558196}}}, {"cutoff": "backcast_evals", "candidate_skill": 0.321224107624414, "control_skill": 0.3284572453347383, "delta": -0.0072331377103243, "candidate_checkpoint": "669df6ac6c848ea921415efea9356f494a84272611759ef86c9ca325cefa8404", "control_checkpoint": "227ea80abf17fc81ae191f94e91f6dd7adbc0d837235750b5f5e9cef3dd5472c", "candidate_eval_seconds": 114.33275985717773, "candidate_groups": {"term": {"long": {"n_configs": 21, "rel_mase_gmean": 0.7733664649412906, "rel_wql_gmean": 0.48002788099043425}, "medium": {"n_configs": 21, "rel_mase_gmean": 0.7923097618734174, "rel_wql_gmean": 0.552054089649746}, "short": {"n_configs": 55, "rel_mase_gmean": 0.82842089338903, "rel_wql_gmean": 0.6160794266205168}}, "domain": {"Econ/Fin": {"n_configs": 6, "rel_mase_gmean": 0.8723611643001083, "rel_wql_gmean": 0.8104195868392743}, "Energy": {"n_configs": 32, "rel_mase_gmean": 0.9006538318213103, "rel_wql_gmean": 0.6795206892702119}, "Healthcare": {"n_configs": 5, "rel_mase_gmean": 0.684519833339518, "rel_wql_gmean": 0.6435392744974019}, "Nature": {"n_configs": 15, "rel_mase_gmean": 0.9500715379544049, "rel_wql_gmean": 0.45442872415860525}, "Sales": {"n_configs": 4, "rel_mase_gmean": 0.7383819654179969, "rel_wql_gmean": 0.49262784730152104}, "Transport": {"n_configs": 15, "rel_mase_gmean": 0.7597490002707987, "rel_wql_gmean": 0.5560515312023501}, "Web/CloudOps": {"n_configs": 20, "rel_mase_gmean": 0.6546522008208747, "rel_wql_gmean": 0.46686465925933596}}, "frequency": {"A": {"n_configs": 1, "rel_mase_gmean": 0.6410285767437712, "rel_wql_gmean": 0.6896719192331804}, "D": {"n_configs": 15, "rel_mase_gmean": 0.8644645862823711, "rel_wql_gmean": 0.5129809423970961}, "H": {"n_configs": 31, "rel_mase_gmean": 0.7803731873654749, "rel_wql_gmean": 0.5282540750843073}, "M": {"n_configs": 5, "rel_mase_gmean": 0.8614491025202068, "rel_wql_gmean": 0.8084676420296907}, "Q": {"n_configs": 1, "rel_mase_gmean": 0.7780632985970852, "rel_wql_gmean": 0.8101904095161203}, "S": {"n_configs": 6, "rel_mase_gmean": 0.8470941510010926, "rel_wql_gmean": 0.5040090647725989}, "T": {"n_configs": 30, "rel_mase_gmean": 0.7703880897707024, "rel_wql_gmean": 0.6063340016829841}, "W": {"n_configs": 8, "rel_mase_gmean": 0.9389653833230102, "rel_wql_gmean": 0.6090197807901163}}, "variates": {"multivariate": {"n_configs": 43, "rel_mase_gmean": 0.7859181105010971, "rel_wql_gmean": 0.5452320462738657}, "univariate": {"n_configs": 54, "rel_mase_gmean": 0.8266535480402312, "rel_wql_gmean": 0.5904837607341916}}}, "control_groups": {"term": {"long": {"n_configs": 21, "rel_mase_gmean": 0.7707957586118519, "rel_wql_gmean": 0.4811201577001369}, "medium": {"n_configs": 21, "rel_mase_gmean": 0.779618755877286, "rel_wql_gmean": 0.5433042239308433}, "short": {"n_configs": 55, "rel_mase_gmean": 0.8170439519805486, "rel_wql_gmean": 0.6091621644447172}}, "domain": {"Econ/Fin": {"n_configs": 6, "rel_mase_gmean": 0.8722234206774022, "rel_wql_gmean": 0.8117570602842299}, "Energy": {"n_configs": 32, "rel_mase_gmean": 0.8947438467938783, "rel_wql_gmean": 0.6785152460589088}, "Healthcare": {"n_configs": 5, "rel_mase_gmean": 0.6486779418840113, "rel_wql_gmean": 0.5987237519655887}, "Nature": {"n_configs": 15, "rel_mase_gmean": 0.93065028071109, "rel_wql_gmean": 0.4513997152587998}, "Sales": {"n_configs": 4, "rel_mase_gmean": 0.7423627428173035, "rel_wql_gmean": 0.5023610195015825}, "Transport": {"n_configs": 15, "rel_mase_gmean": 0.7544059722768195, "rel_wql_gmean": 0.5493110062331005}, "Web/CloudOps": {"n_configs": 20, "rel_mase_gmean": 0.6450703250668249, "rel_wql_gmean": 0.45978977116467806}}, "frequency": {"A": {"n_configs": 1, "rel_mase_gmean": 0.6241575007860913, "rel_wql_gmean": 0.6847120856661988}, "D": {"n_configs": 15, "rel_mase_gmean": 0.842461994316231, "rel_wql_gmean": 0.49795147250110605}, "H": {"n_configs": 31, "rel_mase_gmean": 0.7795524804282207, "rel_wql_gmean": 0.5290387312855092}, "M": {"n_configs": 5, "rel_mase_gmean": 0.83852272258776, "rel_wql_gmean": 0.7941982685846185}, "Q": {"n_configs": 1, "rel_mase_gmean": 0.7797879425916332, "rel_wql_gmean": 0.8309566441120046}, "S": {"n_configs": 6, "rel_mase_gmean": 0.8507345990970113, "rel_wql_gmean": 0.5003107438855952}, "T": {"n_configs": 30, "rel_mase_gmean": 0.761595505116273, "rel_wql_gmean": 0.5997414447915067}, "W": {"n_configs": 8, "rel_mase_gmean": 0.9075462369415759, "rel_wql_gmean": 0.6040409924897451}}, "variates": {"multivariate": {"n_configs": 43, "rel_mase_gmean": 0.7762510882566483, "rel_wql_gmean": 0.5402880481180907}, "univariate": {"n_configs": 54, "rel_mase_gmean": 0.8169534925089487, "rel_wql_gmean": 0.5848561547513397}}}, "group_skill_delta": {"term": {"long": -0.0003218421190060994, "medium": -0.010537919032473475, "short": -0.008916744003283239}, "domain": {"Econ/Fin": 0.0006270973912883004, "Energy": -0.00314802654684998, "Healthcare": -0.04051281697164166, "Nature": -0.008921526550077608, "Sales": 0.007568462818141164, "Transport": -0.006227119464980557, "Web/CloudOps": -0.008234771835519572}, "frequency": {"A": -0.011171532167851383, "D": -0.0182311089131727, "H": 0.00013871047924240987, "M": -0.018478416156632704, "Q": 0.011001449262648677, "S": -0.001004332411478348, "T": -0.0076157795776815584, "W": -0.015804640846076246}, "variates": {"multivariate": -0.006994660277724329, "univariate": -0.007428797882063631}}}, {"cutoff": "backcast2_evals", "candidate_skill": 0.3477519992363248, "control_skill": 0.35202854592719945, "delta": -0.0042765466908746275, "candidate_checkpoint": "669df6ac6c848ea921415efea9356f494a84272611759ef86c9ca325cefa8404", "control_checkpoint": "227ea80abf17fc81ae191f94e91f6dd7adbc0d837235750b5f5e9cef3dd5472c", "candidate_eval_seconds": 88.89173173904419, "candidate_groups": {"term": {"long": {"n_configs": 19, "rel_mase_gmean": 0.8029362162509491, "rel_wql_gmean": 0.5150796283246886}, "medium": {"n_configs": 21, "rel_mase_gmean": 0.7521888779780406, "rel_wql_gmean": 0.5073001425989242}, "short": {"n_configs": 54, "rel_mase_gmean": 0.7776589756589296, "rel_wql_gmean": 0.5763976605824539}}, "domain": {"Econ/Fin": {"n_configs": 6, "rel_mase_gmean": 0.8804441591102706, "rel_wql_gmean": 0.927664868845623}, "Energy": {"n_configs": 32, "rel_mase_gmean": 0.9127546035442821, "rel_wql_gmean": 0.6663200174324417}, "Healthcare": {"n_configs": 5, "rel_mase_gmean": 0.7498117924927052, "rel_wql_gmean": 0.6329833967707158}, "Nature": {"n_configs": 15, "rel_mase_gmean": 0.776548332522753, "rel_wql_gmean": 0.38186588666862936}, "Sales": {"n_configs": 3, "rel_mase_gmean": 0.5657076722878182, "rel_wql_gmean": 0.3583664984316168}, "Transport": {"n_configs": 14, "rel_mase_gmean": 0.6846915485255457, "rel_wql_gmean": 0.5186568727776429}, "Web/CloudOps": {"n_configs": 19, "rel_mase_gmean": 0.6633318998964639, "rel_wql_gmean": 0.4743598316849957}}, "frequency": {"A": {"n_configs": 1, "rel_mase_gmean": 0.5856324767432303, "rel_wql_gmean": 0.7581822593628129}, "D": {"n_configs": 15, "rel_mase_gmean": 0.759845913468148, "rel_wql_gmean": 0.4633436656702333}, "H": {"n_configs": 30, "rel_mase_gmean": 0.7461585385107082, "rel_wql_gmean": 0.4918220806281169}, "M": {"n_configs": 4, "rel_mase_gmean": 0.8429678286230426, "rel_wql_gmean": 0.9085890877783991}, "Q": {"n_configs": 1, "rel_mase_gmean": 0.8389132287044603, "rel_wql_gmean": 0.8892734329706734}, "S": {"n_configs": 6, "rel_mase_gmean": 0.9060468107824183, "rel_wql_gmean": 0.5734745214360403}, "T": {"n_configs": 29, "rel_mase_gmean": 0.7617386719214361, "rel_wql_gmean": 0.5690021362730803}, "W": {"n_configs": 8, "rel_mase_gmean": 0.8883673326048885, "rel_wql_gmean": 0.6608306018395356}}, "variates": {"multivariate": {"n_configs": 42, "rel_mase_gmean": 0.7735427464339285, "rel_wql_gmean": 0.5254801030500895}, "univariate": {"n_configs": 52, "rel_mase_gmean": 0.7796257053194897, "rel_wql_gmean": 0.5661343285470141}}}, "control_groups": {"term": {"long": {"n_configs": 19, "rel_mase_gmean": 0.7993914938306502, "rel_wql_gmean": 0.5118750835782793}, "medium": {"n_configs": 21, "rel_mase_gmean": 0.7499036235389392, "rel_wql_gmean": 0.5076549719236019}, "short": {"n_configs": 54, "rel_mase_gmean": 0.7704097782971766, "rel_wql_gmean": 0.5713062592973345}}, "domain": {"Econ/Fin": {"n_configs": 6, "rel_mase_gmean": 0.8815921046221019, "rel_wql_gmean": 0.9187815814539992}, "Energy": {"n_configs": 32, "rel_mase_gmean": 0.920339256072892, "rel_wql_gmean": 0.6704665333680074}, "Healthcare": {"n_configs": 5, "rel_mase_gmean": 0.6501582024912718, "rel_wql_gmean": 0.5627569152494311}, "Nature": {"n_configs": 15, "rel_mase_gmean": 0.7745581689862006, "rel_wql_gmean": 0.3822657735243897}, "Sales": {"n_configs": 3, "rel_mase_gmean": 0.564680893551189, "rel_wql_gmean": 0.36069686176729393}, "Transport": {"n_configs": 14, "rel_mase_gmean": 0.6867714219327128, "rel_wql_gmean": 0.5187038356734098}, "Web/CloudOps": {"n_configs": 19, "rel_mase_gmean": 0.6559779306984489, "rel_wql_gmean": 0.4700795832946835}}, "frequency": {"A": {"n_configs": 1, "rel_mase_gmean": 0.5730275474668758, "rel_wql_gmean": 0.757090806020688}, "D": {"n_configs": 15, "rel_mase_gmean": 0.7274640646847123, "rel_wql_gmean": 0.4535589328676016}, "H": {"n_configs": 30, "rel_mase_gmean": 0.753383988535096, "rel_wql_gmean": 0.4956674683856894}, "M": {"n_configs": 4, "rel_mase_gmean": 0.8235108549294832, "rel_wql_gmean": 0.8750079559219315}, "Q": {"n_configs": 1, "rel_mase_gmean": 0.8610057552014395, "rel_wql_gmean": 0.9072883197219879}, "S": {"n_configs": 6, "rel_mase_gmean": 0.8980758705842602, "rel_wql_gmean": 0.5621964897161842}, "T": {"n_configs": 29, "rel_mase_gmean": 0.7550135684916714, "rel_wql_gmean": 0.5666392411392774}, "W": {"n_configs": 8, "rel_mase_gmean": 0.9006457837675473, "rel_wql_gmean": 0.6506166099596051}}, "variates": {"multivariate": {"n_configs": 42, "rel_mase_gmean": 0.7711918037459841, "rel_wql_gmean": 0.5235744450782658}, "univariate": {"n_configs": 52, "rel_mase_gmean": 0.7717812927982146, "rel_wql_gmean": 0.5614676858240594}}}, "group_skill_delta": {"term": {"long": -0.003420313136527353, "medium": -0.0007234156432015526, "short": -0.006077464836768298}, "domain": {"Econ/Fin": -0.003751385357608217, "Energy": 0.005666314103926373, "Healthcare": -0.08404455113915466, "Nature": -0.0004135607191000368, "Sales": 0.0010514490752804861, "Transport": 0.0009314395203742221, "Web/CloudOps": -0.00564048531046113}, "frequency": {"A": -0.0076846944190507305, "D": -0.018943842069957473, "H": 0.005301033297461788, "M": -0.026294642213658626, "Q": 0.020117767944519138, "S": -0.010269507456791227, "T": -0.004274968590539885, "W": -0.0007085071745466243}, "variates": {"multivariate": -0.0021249148697704, "univariate": -0.006080744199561949}}}, {"cutoff": "backcast3_evals", "candidate_skill": 0.3665528377731624, "control_skill": 0.37292052340404636, "delta": -0.006367685630883968, "candidate_checkpoint": "669df6ac6c848ea921415efea9356f494a84272611759ef86c9ca325cefa8404", "control_checkpoint": "227ea80abf17fc81ae191f94e91f6dd7adbc0d837235750b5f5e9cef3dd5472c", "candidate_eval_seconds": 311.8499116897583, "candidate_groups": {"term": {"long": {"n_configs": 19, "rel_mase_gmean": 0.7822422547788355, "rel_wql_gmean": 0.49339277953276045}, "medium": {"n_configs": 20, "rel_mase_gmean": 0.7666001209087119, "rel_wql_gmean": 0.5432911884598697}, "short": {"n_configs": 54, "rel_mase_gmean": 0.7457809138757371, "rel_wql_gmean": 0.5379702747155971}}, "domain": {"Econ/Fin": {"n_configs": 6, "rel_mase_gmean": 0.8452269656837642, "rel_wql_gmean": 0.8394995280938339}, "Energy": {"n_configs": 32, "rel_mase_gmean": 0.8480834459549736, "rel_wql_gmean": 0.5751559558335476}, "Healthcare": {"n_configs": 5, "rel_mase_gmean": 0.8920562934805807, "rel_wql_gmean": 0.7260815634865463}, "Nature": {"n_configs": 15, "rel_mase_gmean": 0.7464455265187365, "rel_wql_gmean": 0.3652763489484065}, "Sales": {"n_configs": 3, "rel_mase_gmean": 0.7760453514783666, "rel_wql_gmean": 0.4912939955644865}, "Transport": {"n_configs": 14, "rel_mase_gmean": 0.5639891998480586, "rel_wql_gmean": 0.4702852921507044}, "Web/CloudOps": {"n_configs": 18, "rel_mase_gmean": 0.7243998071625498, "rel_wql_gmean": 0.5442008885726612}}, "frequency": {"A": {"n_configs": 1, "rel_mase_gmean": 0.5609808050307062, "rel_wql_gmean": 0.7974445846693075}, "D": {"n_configs": 15, "rel_mase_gmean": 0.7866477967607948, "rel_wql_gmean": 0.45829640322931364}, "H": {"n_configs": 29, "rel_mase_gmean": 0.7373695045239685, "rel_wql_gmean": 0.5016007301261683}, "M": {"n_configs": 4, "rel_mase_gmean": 0.9066416437219267, "rel_wql_gmean": 0.8944337674493292}, "Q": {"n_configs": 1, "rel_mase_gmean": 0.7146267521322242, "rel_wql_gmean": 0.7587585090903373}, "S": {"n_configs": 6, "rel_mase_gmean": 0.8528005560920362, "rel_wql_gmean": 0.6435338542776757}, "T": {"n_configs": 29, "rel_mase_gmean": 0.7171990623997259, "rel_wql_gmean": 0.48664598081853394}, "W": {"n_configs": 8, "rel_mase_gmean": 0.8305410228898729, "rel_wql_gmean": 0.6950390494416365}}, "variates": {"multivariate": {"n_configs": 41, "rel_mase_gmean": 0.7894803950612896, "rel_wql_gmean": 0.5450691246069607}, "univariate": {"n_configs": 52, "rel_mase_gmean": 0.7333073761945345, "rel_wql_gmean": 0.517830313706641}}}, "control_groups": {"term": {"long": {"n_configs": 19, "rel_mase_gmean": 0.778439210250305, "rel_wql_gmean": 0.49273006835962047}, "medium": {"n_configs": 20, "rel_mase_gmean": 0.7543591675058114, "rel_wql_gmean": 0.5336114555873182}, "short": {"n_configs": 54, "rel_mase_gmean": 0.7410759417262284, "rel_wql_gmean": 0.5306695859227978}}, "domain": {"Econ/Fin": {"n_configs": 6, "rel_mase_gmean": 0.8417532075173881, "rel_wql_gmean": 0.845937573328201}, "Energy": {"n_configs": 32, "rel_mase_gmean": 0.8479297958628922, "rel_wql_gmean": 0.5713250153301629}, "Healthcare": {"n_configs": 5, "rel_mase_gmean": 0.8731181567001823, "rel_wql_gmean": 0.7062780184682419}, "Nature": {"n_configs": 15, "rel_mase_gmean": 0.7270655135819668, "rel_wql_gmean": 0.35387222781116245}, "Sales": {"n_configs": 3, "rel_mase_gmean": 0.7847661053470236, "rel_wql_gmean": 0.5044137986032409}, "Transport": {"n_configs": 14, "rel_mase_gmean": 0.5682067850777656, "rel_wql_gmean": 0.4723998126869398}, "Web/CloudOps": {"n_configs": 18, "rel_mase_gmean": 0.7099877343724879, "rel_wql_gmean": 0.5298000345996671}}, "frequency": {"A": {"n_configs": 1, "rel_mase_gmean": 0.5442290559778864, "rel_wql_gmean": 0.8446584386780612}, "D": {"n_configs": 15, "rel_mase_gmean": 0.7841644844236885, "rel_wql_gmean": 0.45301801369927336}, "H": {"n_configs": 29, "rel_mase_gmean": 0.7364988058949682, "rel_wql_gmean": 0.5033340588432017}, "M": {"n_configs": 4, "rel_mase_gmean": 0.8691738414068243, "rel_wql_gmean": 0.8678518341048217}, "Q": {"n_configs": 1, "rel_mase_gmean": 0.7280932255410748, "rel_wql_gmean": 0.7727291093550366}, "S": {"n_configs": 6, "rel_mase_gmean": 0.8609187156813392, "rel_wql_gmean": 0.6295058615351511}, "T": {"n_configs": 29, "rel_mase_gmean": 0.7042489928814539, "rel_wql_gmean": 0.4735497097280189}, "W": {"n_configs": 8, "rel_mase_gmean": 0.8282027876303875, "rel_wql_gmean": 0.6880431539037373}}, "variates": {"multivariate": {"n_configs": 41, "rel_mase_gmean": 0.7803099495695505, "rel_wql_gmean": 0.5354633301386752}, "univariate": {"n_configs": 52, "rel_mase_gmean": 0.7294079779755795, "rel_wql_gmean": 0.5139221776313134}}}, "group_skill_delta": {"term": {"long": -0.0019283623213567358, "medium": -0.010901891810224607, "short": -0.006300180684300716}, "domain": {"Econ/Fin": 0.001484417708027319, "Energy": -0.002392902889411852, "Healthcare": -0.01952193708330696, "Nature": -0.014931564309972556, "Sales": 0.011695863896863834, "Transport": 0.0030828972413988742, "Web/CloudOps": -0.014556699506813042}, "frequency": {"A": 0.009159593117527454, "D": -0.004410723081724632, "H": 0.0006900880273762455, "M": -0.03200443256555596, "Q": 0.013717124655817536, "S": -0.004639607836232518, "T": -0.013288964032764583, "W": -0.004898276185757666}, "variates": {"multivariate": -0.009593191078820063, "univariate": -0.003964132651737784}}}], "mean_delta": -0.006118532822164929, "positive_cutoffs": 0, "outcome": "Declared comparison checkpoints 48000,96000. No transfer formula or automatic publication is selected by this controller."} + +2026-10-24T06:26:22.510505+00:00: E180 endpoint result {"experiment": "E180", "step": 48000, "new_member_checkpoint_sha256": "669df6ac6c848ea921415efea9356f494a84272611759ef86c9ca325cefa8404", "source_comparison": "/workspace/research/random_capacity_deep48k_four_cutoff_comparison.json", "source_positive_cutoffs": 0, "source_mean_delta": -0.006118532822164929, "optimizer_updates": 0, "new_neural_inference": false, "outcome": "source gate failed; this endpoint composition untested", "selection_gate_passed": false, "utc": "2026-10-24T06:26:22.510505+00:00"} + +2026-10-24T06:26:32.054246+00:00: Cached scoring performance diagnostic {"utc": "2026-10-24T06:24:01.009090+00:00", "purpose": "CPU-only operational timing of unchanged trusted score on a completed cache; no model selection, no new forecasts, no training", "cache": "/workspace/research/backcast_evals/separate_mean_control_ema6000", "panel": "/workspace/research/valid_backcast", "checkpoint_sha256": "698d7ec680233917139382227734288868fec4b9a88257c736d7e7a823a2643f", "source_eval_seconds": 727.449024438858, "unchanged_scorer_sha256": "781d7d302200702ead0a03bded412b848bd3e1d78cf11edf25a0194887079a6c", "seed": null, "optimizer_updates": 0, "completed_utc": "2026-10-24T06:26:12.516881+00:00", "wall_seconds": 131.49463793705218, "user_seconds": 0.796893, "system_seconds": 130.32367399999998, "major_faults": 0, "minor_faults": 61343, "max_rss_kib": 107944, "full_report_exact": true, "n_configs": 97, "skill": 0.3352422880563355, "reviewed_utc": "2026-10-24T06:26:32.054246+00:00", "outcome": "Unchanged trusted score exactly reproduces all97 configuration and aggregate fields. Wall131.494638s is almost entirely kernel time130.323674s; ndarray.astype accounts89.044s while HDF5 prediction/truth reading together takes0.676s. Allocations/copies under cgroup pressure are implicated; GPU throughput and storage reads alone do not explain this measured score delay. No metric, prediction, or model changes."} + +2026-10-24T06:26:32.973368+00:00: Original fresh-model endpoint review {"utc": "2026-10-24T06:26:32.973368+00:00", "experiment": "E137", "run": "random_capacity_deep", "endpoint": "primary", "step": 48000, "seed": 307, "parameters": 146328864, "checkpoint_sha256": "669df6ac6c848ea921415efea9356f494a84272611759ef86c9ca325cefa8404", "initial_checkpoint": "/workspace/research/random_capacity_deep_initial.pt", "matched_control": "random_capacity_1024", "matched_report": "/workspace/research/random_capacity_deep48k_four_cutoff_comparison.json", "source_positive_cutoffs": 0, "source_mean_delta": -0.006118532822164929, "source_gate_passed": false, "cutoff_skills": [0.3619466732440173, 0.321224107624414, 0.3477519992363248, 0.3665528377731624], "group_skill_deltas": {"term": {"long": {"cutoffs": 4, "mean_delta": -0.002839527340665615, "positive": 0}, "medium": {"cutoffs": 4, "mean_delta": -0.0039042591951790884, "positive": 1}, "short": {"cutoffs": 4, "mean_delta": -0.008415965794604935, "positive": 0}}, "domain": {"Econ/Fin": {"cutoffs": 4, "mean_delta": 0.002282950887691343, "positive": 3}, "Energy": {"cutoffs": 4, "mean_delta": -0.00016774056672053117, "positive": 1}, "Healthcare": {"cutoffs": 4, "mean_delta": -0.05578837542051868, "positive": 0}, "Nature": {"cutoffs": 4, "mean_delta": -0.0071203264503003905, "positive": 0}, "Sales": {"cutoffs": 4, "mean_delta": 0.008196966116102697, "positive": 4}, "Transport": {"cutoffs": 4, "mean_delta": -0.00019080921815184393, "positive": 3}, "Web/CloudOps": {"cutoffs": 4, "mean_delta": -0.009529614356794502, "positive": 0}}, "frequency": {"A": {"cutoffs": 4, "mean_delta": -0.001961400891094589, "positive": 2}, "D": {"cutoffs": 4, "mean_delta": -0.009881633246531962, "positive": 1}, "H": {"cutoffs": 4, "mean_delta": 0.00024297357656466456, "positive": 3}, "M": {"cutoffs": 4, "mean_delta": -0.03779920043225843, "positive": 0}, "Q": {"cutoffs": 4, "mean_delta": 0.012864896139244075, "positive": 4}, "S": {"cutoffs": 4, "mean_delta": -0.0032092792088369015, "positive": 1}, "T": {"cutoffs": 4, "mean_delta": -0.007366106151427243, "positive": 0}, "W": {"cutoffs": 4, "mean_delta": -0.010679094861554272, "positive": 0}}, "variates": {"multivariate": {"cutoffs": 4, "mean_delta": -0.005271467014686004, "positive": 0}, "univariate": {"cutoffs": 4, "mean_delta": -0.00689350858623039, "positive": 0}}}, "evaluation_seconds": 565.0969581604004, "training_phase_start": 0, "training_phase_loop_seconds_to_endpoint": 13332.1, "training_log": "/workspace/research/random_capacity_deep_train_recovery4.log", "training_process_seconds": null, "cpu_review_seconds": 0.5758539659436792, "new_training": false, "new_neural_inference": false, "outcome": "Source gate fails at this original endpoint; dependent composition remains untested. Original final schedule remains unchanged.", "interpretation": "The original primary endpoint loses at all four cutoffs, with mean skill delta -0.006118532822. Long and short groups regress at all four; the medium group improves only on the main cutoff. The previously recorded lower online training loss does not translate into improved EMA validation. E180primary composition remains untested because its source gate failed. Preserve the original 96000-step endpoint and all declared settings. Adaptive validation evidence from one training seed; group averages are descriptive and are not an independent test. Phase loop time is not total compute when a run resumed."} + +2026-10-24T06:30:16.794798+00:00: Research evaluator allocation fix {"utc": "2026-10-24T06:30:16.794798+00:00", "purpose": "Remove host-dependent NumPy hugepage compaction overhead from future research evaluator processes. No model, inference arithmetic, trusted scorer, public package, training recipe or globalVMsetting changes.", "numpy_version": "2.4.6", "new_setting": "NUMPY_MADVISE_HUGEPAGE=0 before any numerical imports; assert active hint isFalse", "files": [{"file": "/workspace/research/random_capacity_inference/evaluate.py", "before_sha256": "85596fd877f4623f643751a58325103f25e7b771ffb93d220b5c4403a22a8ebf", "after_sha256": "0e1aac797d63309a3a193fb13ba654893f6ca7c84db9658dc077cc9492907031", "backup": "/workspace/research/recovery/evaluators_before_numpy_allocation_hint/random_capacity_inference.py", "only_prefix_changed": true}, {"file": "/workspace/research/random_capacity_long_seasonal_inference/evaluate.py", "before_sha256": "85596fd877f4623f643751a58325103f25e7b771ffb93d220b5c4403a22a8ebf", "after_sha256": "0e1aac797d63309a3a193fb13ba654893f6ca7c84db9658dc077cc9492907031", "backup": "/workspace/research/recovery/evaluators_before_numpy_allocation_hint/random_capacity_long_seasonal_inference.py", "only_prefix_changed": true}, {"file": "/workspace/research/postloss_inference/evaluate.py", "before_sha256": "85596fd877f4623f643751a58325103f25e7b771ffb93d220b5c4403a22a8ebf", "after_sha256": "0e1aac797d63309a3a193fb13ba654893f6ca7c84db9658dc077cc9492907031", "backup": "/workspace/research/recovery/evaluators_before_numpy_allocation_hint/postloss_inference.py", "only_prefix_changed": true}, {"file": "/workspace/research/separate_window_mean_inference/evaluate.py", "before_sha256": "85596fd877f4623f643751a58325103f25e7b771ffb93d220b5c4403a22a8ebf", "after_sha256": "0e1aac797d63309a3a193fb13ba654893f6ca7c84db9658dc077cc9492907031", "backup": "/workspace/research/recovery/evaluators_before_numpy_allocation_hint/separate_window_mean_inference.py", "only_prefix_changed": true}, {"file": "/workspace/research/spectral_phase_individual_inference/evaluate.py", "before_sha256": "85596fd877f4623f643751a58325103f25e7b771ffb93d220b5c4403a22a8ebf", "after_sha256": "0e1aac797d63309a3a193fb13ba654893f6ca7c84db9658dc077cc9492907031", "backup": "/workspace/research/recovery/evaluators_before_numpy_allocation_hint/spectral_phase_individual_inference.py", "only_prefix_changed": true}, {"file": "/workspace/research/random_capacity_seasonal_history_inference/evaluate.py", "before_sha256": "85596fd877f4623f643751a58325103f25e7b771ffb93d220b5c4403a22a8ebf", "after_sha256": "0e1aac797d63309a3a193fb13ba654893f6ca7c84db9658dc077cc9492907031", "backup": "/workspace/research/recovery/evaluators_before_numpy_allocation_hint/random_capacity_seasonal_history_inference.py", "only_prefix_changed": true}, {"file": "/workspace/research/random_capacity_seasonal_width_inference/evaluate.py", "before_sha256": "85596fd877f4623f643751a58325103f25e7b771ffb93d220b5c4403a22a8ebf", "after_sha256": "0e1aac797d63309a3a193fb13ba654893f6ca7c84db9658dc077cc9492907031", "backup": "/workspace/research/recovery/evaluators_before_numpy_allocation_hint/random_capacity_seasonal_width_inference.py", "only_prefix_changed": true}, {"file": "/workspace/research/random_capacity_calendar_inference/evaluate.py", "before_sha256": "85596fd877f4623f643751a58325103f25e7b771ffb93d220b5c4403a22a8ebf", "after_sha256": "0e1aac797d63309a3a193fb13ba654893f6ca7c84db9658dc077cc9492907031", "backup": "/workspace/research/recovery/evaluators_before_numpy_allocation_hint/random_capacity_calendar_inference.py", "only_prefix_changed": true}, {"file": "/workspace/research/six_expert_gate/evaluate.py", "before_sha256": "5a77d7cee1855eb2f301955e6cae196a04ee0a86a0e02b6a4d0b8bfa9f39d290", "after_sha256": "73d7f5eb2fcb92889b1353b94e5b947a68203db1584f903e48108e211c973714", "backup": "/workspace/research/recovery/evaluators_before_numpy_allocation_hint/six_expert_gate.py", "only_prefix_changed": true}], "synthetic_exact_hash": "0d31e34f173807df985ecc0d2630c4a16cde0881b0b7279daef81a15bd405400", "synthetic_seconds": [63.96550536388531, 0.17078237584792078], "cached_score_seconds": {"original": 131.49463793705218, "after_packed_hint": 132.0430161259137, "without_numpy_hugepage_hint": 0.9070547779556364}, "all97_report_fields_exact": true, "packed_hint_seconds": 22.63920559291728, "packed_hint_bytes_released": 174172520448, "packed_hint_outcome": "Freed174.17GB clean cache but did not remove scoring delay:131.49s before and132.04s after. No recurring cache eviction policy selected.", "profile_receipts": ["cached_scoring_profile.json", "cached_scoring_after_packed_hint.json", "cached_scoring_without_hugepage_hint.json", "numpy_allocation_probe.json", "packed_cache_hint_20261024.json"], "optimizer_updates": 0, "new_forecasts": false, "public_package_changed": false, "seconds": 0.08825392602011561, "limitation": "Busy shared host and sequential tests are not a precise throughput benchmark. Existing evaluator processes already loaded their scripts and retain the prior setting until exit. No trainers or waiting evaluators are killed or restarted."} + +E145 48000 four-cutoff comparison: {"label": "E145 48000 four-cutoff comparison", "utc": "2026-10-24T06:32:39.729618+00:00", "candidate": "random_capacity_buildings_ema48000", "control": "random_capacity_full_ema48000", "rows": [{"cutoff": "evals", "candidate_skill": 0.36704896226393025, "control_skill": 0.36449796840324333, "delta": 0.002550993860686912, "candidate_checkpoint": "c990c72bf135bee3921fc426cf39273deef9d476a7c537b45254c8e7bd1bb4b5", "control_checkpoint": "926f61e5d5f8ffebc8a5d73285832ebedc28aca794b0b06b55fc3c48a07330d1", "candidate_eval_seconds": 41.60132908821106, "candidate_groups": {"term": {"long": {"n_configs": 21, "rel_mase_gmean": 0.753995655490609, "rel_wql_gmean": 0.4913688615594215}, "medium": {"n_configs": 21, "rel_mase_gmean": 0.7344887799033873, "rel_wql_gmean": 0.5015120680359214}, "short": {"n_configs": 55, "rel_mase_gmean": 0.764205103810188, "rel_wql_gmean": 0.5577307536372411}}, "domain": {"Econ/Fin": {"n_configs": 6, "rel_mase_gmean": 0.8999623249964356, "rel_wql_gmean": 0.8553800994254259}, "Energy": {"n_configs": 32, "rel_mase_gmean": 0.908208413365613, "rel_wql_gmean": 0.6544627462793452}, "Healthcare": {"n_configs": 5, "rel_mase_gmean": 0.6207193107975455, "rel_wql_gmean": 0.5445404907190458}, "Nature": {"n_configs": 15, "rel_mase_gmean": 0.828622191640753, "rel_wql_gmean": 0.42045146625185337}, "Sales": {"n_configs": 4, "rel_mase_gmean": 0.8330206227967079, "rel_wql_gmean": 0.5116633446061464}, "Transport": {"n_configs": 15, "rel_mase_gmean": 0.6521022921317641, "rel_wql_gmean": 0.4507621783987571}, "Web/CloudOps": {"n_configs": 20, "rel_mase_gmean": 0.5729618632682073, "rel_wql_gmean": 0.4413931178097477}}, "frequency": {"A": {"n_configs": 1, "rel_mase_gmean": 0.6130355430622264, "rel_wql_gmean": 0.6252622011381802}, "D": {"n_configs": 15, "rel_mase_gmean": 0.7807194078048356, "rel_wql_gmean": 0.5406018849373988}, "H": {"n_configs": 31, "rel_mase_gmean": 0.7381835797164276, "rel_wql_gmean": 0.5117474381674035}, "M": {"n_configs": 5, "rel_mase_gmean": 0.9764244380400566, "rel_wql_gmean": 0.8418539449864377}, "Q": {"n_configs": 1, "rel_mase_gmean": 0.7706668326913174, "rel_wql_gmean": 0.828842145574259}, "S": {"n_configs": 6, "rel_mase_gmean": 0.6603751598728802, "rel_wql_gmean": 0.5059507938376168}, "T": {"n_configs": 30, "rel_mase_gmean": 0.7154347110734977, "rel_wql_gmean": 0.4684918740657408}, "W": {"n_configs": 8, "rel_mase_gmean": 0.9194090025686515, "rel_wql_gmean": 0.6719128046560118}}, "variates": {"multivariate": {"n_configs": 43, "rel_mase_gmean": 0.7288230011939267, "rel_wql_gmean": 0.5271091600439035}, "univariate": {"n_configs": 54, "rel_mase_gmean": 0.7773809920049674, "rel_wql_gmean": 0.5328597560243471}}}, "control_groups": {"term": {"long": {"n_configs": 21, "rel_mase_gmean": 0.7548553746218293, "rel_wql_gmean": 0.4912987773239935}, "medium": {"n_configs": 21, "rel_mase_gmean": 0.7352999993476327, "rel_wql_gmean": 0.504363562451463}, "short": {"n_configs": 55, "rel_mase_gmean": 0.7710300090434509, "rel_wql_gmean": 0.559031484306989}}, "domain": {"Econ/Fin": {"n_configs": 6, "rel_mase_gmean": 0.8770103389279252, "rel_wql_gmean": 0.8491199347133979}, "Energy": {"n_configs": 32, "rel_mase_gmean": 0.9116653965880178, "rel_wql_gmean": 0.6580222595386767}, "Healthcare": {"n_configs": 5, "rel_mase_gmean": 0.658803814018058, "rel_wql_gmean": 0.5396972664532947}, "Nature": {"n_configs": 15, "rel_mase_gmean": 0.8280404956337558, "rel_wql_gmean": 0.41423369227737183}, "Sales": {"n_configs": 4, "rel_mase_gmean": 0.8220888925613495, "rel_wql_gmean": 0.5100769909819354}, "Transport": {"n_configs": 15, "rel_mase_gmean": 0.6548033152870734, "rel_wql_gmean": 0.45244139184364884}, "Web/CloudOps": {"n_configs": 20, "rel_mase_gmean": 0.5808419471264448, "rel_wql_gmean": 0.4489494375356866}}, "frequency": {"A": {"n_configs": 1, "rel_mase_gmean": 0.5935959285501078, "rel_wql_gmean": 0.6250048870270299}, "D": {"n_configs": 15, "rel_mase_gmean": 0.7751260416854967, "rel_wql_gmean": 0.5273604629524228}, "H": {"n_configs": 31, "rel_mase_gmean": 0.7390325632700983, "rel_wql_gmean": 0.5118806853040565}, "M": {"n_configs": 5, "rel_mase_gmean": 1.1155244631113046, "rel_wql_gmean": 0.9182662011196825}, "Q": {"n_configs": 1, "rel_mase_gmean": 0.7722896053051759, "rel_wql_gmean": 0.8394501877623775}, "S": {"n_configs": 6, "rel_mase_gmean": 0.6682567022663544, "rel_wql_gmean": 0.5122682378733995}, "T": {"n_configs": 30, "rel_mase_gmean": 0.7187462560447286, "rel_wql_gmean": 0.4734288271006955}, "W": {"n_configs": 8, "rel_mase_gmean": 0.8925511740053919, "rel_wql_gmean": 0.6530704845861032}}, "variates": {"multivariate": {"n_configs": 43, "rel_mase_gmean": 0.7303154554027623, "rel_wql_gmean": 0.5275234582063876}, "univariate": {"n_configs": 54, "rel_mase_gmean": 0.7838594930079051, "rel_wql_gmean": 0.5349400339090976}}}, "group_skill_delta": {"term": {"long": 0.0003034799276866451, "medium": 0.0020589947644202855, "short": 0.0036729941537388955}, "domain": {"Econ/Fin": -0.014435623629547867, "Energy": 0.0035636152893544493, "Healthcare": 0.014900486796970092, "Nature": -0.004586340840742276, "Sales": -0.005304064384602514, "Transport": 0.0021326760908577658, "Web/CloudOps": 0.007762080132038385}, "frequency": {"A": -0.01002070481931705, "D": -0.010308324805865854, "H": 0.00043339559563138064, "M": 0.10545510113363277, "Q": 0.0059446092004026285, "S": 0.00705806539378151, "T": 0.004387817809377914, "W": -0.022500692620594842}, "variates": {"multivariate": 0.000878072926667528, "univariate": 0.00393660273122165}}}, {"cutoff": "backcast_evals", "candidate_skill": 0.3223723191265597, "control_skill": 0.32483431257437134, "delta": -0.0024619934478116168, "candidate_checkpoint": "c990c72bf135bee3921fc426cf39273deef9d476a7c537b45254c8e7bd1bb4b5", "control_checkpoint": "926f61e5d5f8ffebc8a5d73285832ebedc28aca794b0b06b55fc3c48a07330d1", "candidate_eval_seconds": 39.13648843765259, "candidate_groups": {"term": {"long": {"n_configs": 21, "rel_mase_gmean": 0.7739196211926744, "rel_wql_gmean": 0.4748773124192942}, "medium": {"n_configs": 21, "rel_mase_gmean": 0.7857193131731368, "rel_wql_gmean": 0.5443730356176066}, "short": {"n_configs": 55, "rel_mase_gmean": 0.8305581999822329, "rel_wql_gmean": 0.6184475862628879}}, "domain": {"Econ/Fin": {"n_configs": 6, "rel_mase_gmean": 0.8955694898617715, "rel_wql_gmean": 0.8193763974497394}, "Energy": {"n_configs": 32, "rel_mase_gmean": 0.9001988483655062, "rel_wql_gmean": 0.6788530676457764}, "Healthcare": {"n_configs": 5, "rel_mase_gmean": 0.7095655906137653, "rel_wql_gmean": 0.6641323414528884}, "Nature": {"n_configs": 15, "rel_mase_gmean": 0.9468212433221842, "rel_wql_gmean": 0.45537092810435537}, "Sales": {"n_configs": 4, "rel_mase_gmean": 0.7428333799565214, "rel_wql_gmean": 0.49987987181677124}, "Transport": {"n_configs": 15, "rel_mase_gmean": 0.7539708414701676, "rel_wql_gmean": 0.5476768398840154}, "Web/CloudOps": {"n_configs": 20, "rel_mase_gmean": 0.6482081764096714, "rel_wql_gmean": 0.45845273093263644}}, "frequency": {"A": {"n_configs": 1, "rel_mase_gmean": 0.6459277598669363, "rel_wql_gmean": 0.7052202351347325}, "D": {"n_configs": 15, "rel_mase_gmean": 0.8637719193355473, "rel_wql_gmean": 0.5075864327566973}, "H": {"n_configs": 31, "rel_mase_gmean": 0.7775240652462523, "rel_wql_gmean": 0.5253885614474043}, "M": {"n_configs": 5, "rel_mase_gmean": 0.847764765647372, "rel_wql_gmean": 0.830776208468091}, "Q": {"n_configs": 1, "rel_mase_gmean": 0.7823606525028326, "rel_wql_gmean": 0.7932378606361056}, "S": {"n_configs": 6, "rel_mase_gmean": 0.8564686250013451, "rel_wql_gmean": 0.506558814449584}, "T": {"n_configs": 30, "rel_mase_gmean": 0.7724151282483704, "rel_wql_gmean": 0.6000986971364848}, "W": {"n_configs": 8, "rel_mase_gmean": 0.9423527369819076, "rel_wql_gmean": 0.6213232196428148}}, "variates": {"multivariate": {"n_configs": 43, "rel_mase_gmean": 0.783324334368202, "rel_wql_gmean": 0.5402200095058646}, "univariate": {"n_configs": 54, "rel_mase_gmean": 0.828545842127321, "rel_wql_gmean": 0.5914395439097762}}}, "control_groups": {"term": {"long": {"n_configs": 21, "rel_mase_gmean": 0.7654522360772724, "rel_wql_gmean": 0.4739857610043799}, "medium": {"n_configs": 21, "rel_mase_gmean": 0.7867501619830646, "rel_wql_gmean": 0.5436192356255614}, "short": {"n_configs": 55, "rel_mase_gmean": 0.8240571444210427, "rel_wql_gmean": 0.6184264040299636}}, "domain": {"Econ/Fin": {"n_configs": 6, "rel_mase_gmean": 0.8639539622248714, "rel_wql_gmean": 0.8077871872785065}, "Energy": {"n_configs": 32, "rel_mase_gmean": 0.9041494468294087, "rel_wql_gmean": 0.6855724661240925}, "Healthcare": {"n_configs": 5, "rel_mase_gmean": 0.6468533122764599, "rel_wql_gmean": 0.6390448822740527}, "Nature": {"n_configs": 15, "rel_mase_gmean": 0.9466626972097033, "rel_wql_gmean": 0.45416249215052845}, "Sales": {"n_configs": 4, "rel_mase_gmean": 0.7353522875674792, "rel_wql_gmean": 0.4922750422813006}, "Transport": {"n_configs": 15, "rel_mase_gmean": 0.7530847552239457, "rel_wql_gmean": 0.5485269329258957}, "Web/CloudOps": {"n_configs": 20, "rel_mase_gmean": 0.6470143656636279, "rel_wql_gmean": 0.45777216999767684}}, "frequency": {"A": {"n_configs": 1, "rel_mase_gmean": 0.6301789053201171, "rel_wql_gmean": 0.7072875410242052}, "D": {"n_configs": 15, "rel_mase_gmean": 0.8569709936678673, "rel_wql_gmean": 0.5107766353475411}, "H": {"n_configs": 31, "rel_mase_gmean": 0.7776932406597239, "rel_wql_gmean": 0.5255214537984231}, "M": {"n_configs": 5, "rel_mase_gmean": 0.828753170565434, "rel_wql_gmean": 0.8256815940835853}, "Q": {"n_configs": 1, "rel_mase_gmean": 0.7777781646771526, "rel_wql_gmean": 0.8096050460973127}, "S": {"n_configs": 6, "rel_mase_gmean": 0.8492147241676051, "rel_wql_gmean": 0.5041032269855099}, "T": {"n_configs": 30, "rel_mase_gmean": 0.771644671629282, "rel_wql_gmean": 0.6023767893982968}, "W": {"n_configs": 8, "rel_mase_gmean": 0.9077905653975566, "rel_wql_gmean": 0.6022541394206802}}, "variates": {"multivariate": {"n_configs": 43, "rel_mase_gmean": 0.7857285418936958, "rel_wql_gmean": 0.5439370802027981}, "univariate": {"n_configs": 54, "rel_mase_gmean": 0.816853590659461, "rel_wql_gmean": 0.5874520532329847}}}, "group_skill_delta": {"term": {"long": -0.0038917088437957492, "medium": -2.4377867589908675e-05, "short": -0.002822654835030969}, "domain": {"Econ/Fin": -0.021227560593236938, "Energy": 0.005581248727112742, "Healthcare": -0.04353595875573879, "Nature": -0.0009267386429748781, "Sales": -0.007705753354474987, "Transport": 0.0001205175220505561, "Web/CloudOps": -0.0009066189026979421}, "frequency": {"A": -0.007302283938630305, "D": -0.0005425084000211244, "H": 0.0001503654574024349, "M": -0.012011543875867225, "Q": 0.005751574335608911, "S": -0.0043869133246505765, "T": 0.0009507730310782669, "W": -0.025777811148857355}, "variates": {"multivariate": 0.003235094565206209, "univariate": -0.007303885612580663}}}, {"cutoff": "backcast2_evals", "candidate_skill": 0.35025013991910203, "control_skill": 0.3481901439490471, "delta": 0.0020599959700549064, "candidate_checkpoint": "c990c72bf135bee3921fc426cf39273deef9d476a7c537b45254c8e7bd1bb4b5", "control_checkpoint": "926f61e5d5f8ffebc8a5d73285832ebedc28aca794b0b06b55fc3c48a07330d1", "candidate_eval_seconds": 37.34710693359375, "candidate_groups": {"term": {"long": {"n_configs": 19, "rel_mase_gmean": 0.7985730041914822, "rel_wql_gmean": 0.5095101320248224}, "medium": {"n_configs": 21, "rel_mase_gmean": 0.7525197044688663, "rel_wql_gmean": 0.49870730137398395}, "short": {"n_configs": 54, "rel_mase_gmean": 0.7802707932809912, "rel_wql_gmean": 0.5738109876255963}}, "domain": {"Econ/Fin": {"n_configs": 6, "rel_mase_gmean": 0.9031087235930111, "rel_wql_gmean": 0.9175668362916276}, "Energy": {"n_configs": 32, "rel_mase_gmean": 0.9161399884744492, "rel_wql_gmean": 0.6635062660582219}, "Healthcare": {"n_configs": 5, "rel_mase_gmean": 0.7479382255285555, "rel_wql_gmean": 0.6262568030136872}, "Nature": {"n_configs": 15, "rel_mase_gmean": 0.7734953401009619, "rel_wql_gmean": 0.379053155613103}, "Sales": {"n_configs": 3, "rel_mase_gmean": 0.5672804284485111, "rel_wql_gmean": 0.35592281004742793}, "Transport": {"n_configs": 14, "rel_mase_gmean": 0.6817700337064228, "rel_wql_gmean": 0.514190544799284}, "Web/CloudOps": {"n_configs": 19, "rel_mase_gmean": 0.6612032669724486, "rel_wql_gmean": 0.46689959810270476}}, "frequency": {"A": {"n_configs": 1, "rel_mase_gmean": 0.5958677674596189, "rel_wql_gmean": 0.7755332872243804}, "D": {"n_configs": 15, "rel_mase_gmean": 0.757376062305595, "rel_wql_gmean": 0.46078078816040985}, "H": {"n_configs": 30, "rel_mase_gmean": 0.7474958477287647, "rel_wql_gmean": 0.49186553847239717}, "M": {"n_configs": 4, "rel_mase_gmean": 0.8308115612247895, "rel_wql_gmean": 0.8685482815770286}, "Q": {"n_configs": 1, "rel_mase_gmean": 0.8502234517067934, "rel_wql_gmean": 0.8967212967924737}, "S": {"n_configs": 6, "rel_mase_gmean": 0.8919367344846599, "rel_wql_gmean": 0.5646452836367343}, "T": {"n_configs": 29, "rel_mase_gmean": 0.7628038830533945, "rel_wql_gmean": 0.5572672102560825}, "W": {"n_configs": 8, "rel_mase_gmean": 0.9066438351199682, "rel_wql_gmean": 0.670742350949143}}, "variates": {"multivariate": {"n_configs": 42, "rel_mase_gmean": 0.7719110374262471, "rel_wql_gmean": 0.5182237217526624}, "univariate": {"n_configs": 52, "rel_mase_gmean": 0.782260666974284, "rel_wql_gmean": 0.5636989622440273}}}, "control_groups": {"term": {"long": {"n_configs": 19, "rel_mase_gmean": 0.7990300880291034, "rel_wql_gmean": 0.50765363537008}, "medium": {"n_configs": 21, "rel_mase_gmean": 0.744574887966418, "rel_wql_gmean": 0.50334233259885}, "short": {"n_configs": 54, "rel_mase_gmean": 0.7819983276666631, "rel_wql_gmean": 0.5798223726752166}}, "domain": {"Econ/Fin": {"n_configs": 6, "rel_mase_gmean": 0.8768293179548019, "rel_wql_gmean": 0.9158306468778579}, "Energy": {"n_configs": 32, "rel_mase_gmean": 0.9295273892322586, "rel_wql_gmean": 0.6735326890959324}, "Healthcare": {"n_configs": 5, "rel_mase_gmean": 0.7222869316179024, "rel_wql_gmean": 0.6164591919160695}, "Nature": {"n_configs": 15, "rel_mase_gmean": 0.7694576594146011, "rel_wql_gmean": 0.3773009717463544}, "Sales": {"n_configs": 3, "rel_mase_gmean": 0.5598534258115146, "rel_wql_gmean": 0.352085661402508}, "Transport": {"n_configs": 14, "rel_mase_gmean": 0.6818685674797765, "rel_wql_gmean": 0.5151817143609804}, "Web/CloudOps": {"n_configs": 19, "rel_mase_gmean": 0.6581089009032559, "rel_wql_gmean": 0.4761564052938094}}, "frequency": {"A": {"n_configs": 1, "rel_mase_gmean": 0.5771925651869363, "rel_wql_gmean": 0.7935816629616937}, "D": {"n_configs": 15, "rel_mase_gmean": 0.7495293126195988, "rel_wql_gmean": 0.45822217057688214}, "H": {"n_configs": 30, "rel_mase_gmean": 0.7522622180422243, "rel_wql_gmean": 0.4941355673044773}, "M": {"n_configs": 4, "rel_mase_gmean": 0.8471130563718524, "rel_wql_gmean": 0.9071946478247568}, "Q": {"n_configs": 1, "rel_mase_gmean": 0.8552359852719164, "rel_wql_gmean": 0.893580181435204}, "S": {"n_configs": 6, "rel_mase_gmean": 0.8914539098869745, "rel_wql_gmean": 0.5530844827396918}, "T": {"n_configs": 29, "rel_mase_gmean": 0.7606045053944909, "rel_wql_gmean": 0.5707137907747936}, "W": {"n_configs": 8, "rel_mase_gmean": 0.8962955229539523, "rel_wql_gmean": 0.6601060960884977}}, "variates": {"multivariate": {"n_configs": 42, "rel_mase_gmean": 0.779868735152078, "rel_wql_gmean": 0.5297416714631878}, "univariate": {"n_configs": 52, "rel_mase_gmean": 0.7744270493248896, "rel_wql_gmean": 0.5611510773352295}}}, "group_skill_delta": {"term": {"long": -0.0009809723659104375, "medium": -0.00041722049908932135, "short": 0.004240011612723582}, "domain": {"Econ/Fin": -0.014191248376328569, "Energy": 0.011587275133187691, "Healthcare": -0.017120203178977444, "Nature": -0.0026647810555614493, "Sales": -0.0053639034147930365, "Transport": 0.0006132072246021192, "Web/CloudOps": 0.0041663866430924346}, "frequency": {"A": -0.002997125404077927, "D": -0.004702081841879924, "H": 0.0033321742262301113, "M": 0.027168885975746737, "Q": 0.001034961251451083, "S": -0.007492725594311023, "T": 0.006867272339683539, "W": -0.010635350990823023}, "variates": {"multivariate": 0.010277685698159122, "univariate": -0.004828164458028028}}}, {"cutoff": "backcast3_evals", "candidate_skill": 0.3707313434240045, "control_skill": 0.3700641589266448, "delta": 0.0006671844973596963, "candidate_checkpoint": "c990c72bf135bee3921fc426cf39273deef9d476a7c537b45254c8e7bd1bb4b5", "control_checkpoint": "926f61e5d5f8ffebc8a5d73285832ebedc28aca794b0b06b55fc3c48a07330d1", "candidate_eval_seconds": 37.071765184402466, "candidate_groups": {"term": {"long": {"n_configs": 19, "rel_mase_gmean": 0.7752577664173373, "rel_wql_gmean": 0.4842558020124134}, "medium": {"n_configs": 20, "rel_mase_gmean": 0.7733032953352201, "rel_wql_gmean": 0.5386070810306104}, "short": {"n_configs": 54, "rel_mase_gmean": 0.7407337706744411, "rel_wql_gmean": 0.5345967790498999}}, "domain": {"Econ/Fin": {"n_configs": 6, "rel_mase_gmean": 0.8540251156479332, "rel_wql_gmean": 0.8387360000872207}, "Energy": {"n_configs": 32, "rel_mase_gmean": 0.8474073802820681, "rel_wql_gmean": 0.5665579689460176}, "Healthcare": {"n_configs": 5, "rel_mase_gmean": 0.950425794561009, "rel_wql_gmean": 0.7707132626032391}, "Nature": {"n_configs": 15, "rel_mase_gmean": 0.7261674247147072, "rel_wql_gmean": 0.3614783706579793}, "Sales": {"n_configs": 3, "rel_mase_gmean": 0.759400600432522, "rel_wql_gmean": 0.4846589106859274}, "Transport": {"n_configs": 14, "rel_mase_gmean": 0.562932413505734, "rel_wql_gmean": 0.46995204089218906}, "Web/CloudOps": {"n_configs": 18, "rel_mase_gmean": 0.7159154217872564, "rel_wql_gmean": 0.5301350398609178}}, "frequency": {"A": {"n_configs": 1, "rel_mase_gmean": 0.5281610341291101, "rel_wql_gmean": 0.7621955325244396}, "D": {"n_configs": 15, "rel_mase_gmean": 0.7940628316436119, "rel_wql_gmean": 0.46052518993452285}, "H": {"n_configs": 29, "rel_mase_gmean": 0.738670021959613, "rel_wql_gmean": 0.5009199732511056}, "M": {"n_configs": 4, "rel_mase_gmean": 0.9159417110416314, "rel_wql_gmean": 0.891939534994056}, "Q": {"n_configs": 1, "rel_mase_gmean": 0.7238153071125134, "rel_wql_gmean": 0.7634686703650108}, "S": {"n_configs": 6, "rel_mase_gmean": 0.847508566638726, "rel_wql_gmean": 0.6114492247932473}, "T": {"n_configs": 29, "rel_mase_gmean": 0.7065025939314202, "rel_wql_gmean": 0.47656965796041556}, "W": {"n_configs": 8, "rel_mase_gmean": 0.8227903589936306, "rel_wql_gmean": 0.7004818992988268}}, "variates": {"multivariate": {"n_configs": 41, "rel_mase_gmean": 0.780190468811908, "rel_wql_gmean": 0.5322118401533439}, "univariate": {"n_configs": 52, "rel_mase_gmean": 0.735034549885263, "rel_wql_gmean": 0.5189337441291005}}}, "control_groups": {"term": {"long": {"n_configs": 19, "rel_mase_gmean": 0.7714307837039419, "rel_wql_gmean": 0.4862353117336101}, "medium": {"n_configs": 20, "rel_mase_gmean": 0.7638821347775882, "rel_wql_gmean": 0.5307592580855973}, "short": {"n_configs": 54, "rel_mase_gmean": 0.7505608979781686, "rel_wql_gmean": 0.5349992288028624}}, "domain": {"Econ/Fin": {"n_configs": 6, "rel_mase_gmean": 0.8341454143816802, "rel_wql_gmean": 0.8338715773308747}, "Energy": {"n_configs": 32, "rel_mase_gmean": 0.8515634140277826, "rel_wql_gmean": 0.569558846056249}, "Healthcare": {"n_configs": 5, "rel_mase_gmean": 1.0036883931983478, "rel_wql_gmean": 0.7939359543280723}, "Nature": {"n_configs": 15, "rel_mase_gmean": 0.7284353100394492, "rel_wql_gmean": 0.3541163927462603}, "Sales": {"n_configs": 3, "rel_mase_gmean": 0.7596670123428141, "rel_wql_gmean": 0.48310093816362193}, "Transport": {"n_configs": 14, "rel_mase_gmean": 0.5606603701520327, "rel_wql_gmean": 0.4662600653320203}, "Web/CloudOps": {"n_configs": 18, "rel_mase_gmean": 0.7196411952930366, "rel_wql_gmean": 0.5292738980605055}}, "frequency": {"A": {"n_configs": 1, "rel_mase_gmean": 0.5409193903073758, "rel_wql_gmean": 0.7917996023000913}, "D": {"n_configs": 15, "rel_mase_gmean": 0.7959225789371909, "rel_wql_gmean": 0.45488532912713076}, "H": {"n_configs": 29, "rel_mase_gmean": 0.7327074432980089, "rel_wql_gmean": 0.4985937197066213}, "M": {"n_configs": 4, "rel_mase_gmean": 1.014151462247973, "rel_wql_gmean": 0.9863094244425376}, "Q": {"n_configs": 1, "rel_mase_gmean": 0.7189041697429438, "rel_wql_gmean": 0.7579482002697641}, "S": {"n_configs": 6, "rel_mase_gmean": 0.8426818571883371, "rel_wql_gmean": 0.6178592102432287}, "T": {"n_configs": 29, "rel_mase_gmean": 0.7104899807629945, "rel_wql_gmean": 0.47423851084596597}, "W": {"n_configs": 8, "rel_mase_gmean": 0.8247509389073472, "rel_wql_gmean": 0.6824107191878224}}, "variates": {"multivariate": {"n_configs": 41, "rel_mase_gmean": 0.7843110069902741, "rel_wql_gmean": 0.532604424215474}, "univariate": {"n_configs": 52, "rel_mase_gmean": 0.7372506716076969, "rel_wql_gmean": 0.5168855843039583}}}, "group_skill_delta": {"term": {"long": -0.000266235730806641, "medium": -0.008633494473823555, "short": 0.004398884034026329}, "domain": {"Econ/Fin": -0.012337549503761536, "Energy": 0.0035341366754245707, "Healthcare": 0.036807055271594, "Nature": -0.004452851284420523, "Sales": -0.0008696450769634101, "Transport": -0.003059281490807919, "Web/CloudOps": 0.001099112493172183}, "frequency": {"A": 0.01996842333162907, "D": -0.0030108970158944093, "H": -0.0038683985037114565, "M": 0.09627260978084728, "Q": -0.0052095513337399035, "S": 0.0016998981314629846, "T": 0.00021022313601648523, "W": -0.008964466291840112}, "variates": {"multivariate": 0.0019376374958960385, "univariate": -0.0002915072295330834}}}], "mean_delta": 0.0007040452200724745, "positive_cutoffs": 3, "outcome": "Declared comparison checkpoints 48000,96000. No transfer formula or automatic publication is selected by this controller."} + +2026-10-24T06:32:44.207402+00:00: Scheduled main-cutoff learning diagnostic {"utc": "2026-10-24T06:32:44.207402+00:00", "experiment": "E160", "run": "integrated_level_replication", "step": 12000, "skill": 0.37752111286807033, "checkpoint_sha256": "370c012f009a776bf0c04e20ccab1d09f8918e8ec4865fc98774764a878195ed", "eval_seconds": 26.730857849121094, "comparisons": [{"control": "weekly_replication_control", "control_checkpoint_sha256": "dc03098da92746d3974cdb5fd3df955a8b52e689260f1fdcd0dd7b63a91fe17e", "control_skill": 0.37650125931885015, "delta": 0.0010198535492201843, "group_deltas": {"term": {"long": -0.00013791906026461298, "medium": 0.0011865269569367731, "short": 0.0014269940144895354}, "domain": {"Econ/Fin": 0.0031874042296632377, "Energy": 0.0011155649193097528, "Healthcare": 0.0016025732072089127, "Nature": 0.00017256499259810099, "Sales": -0.0005129366360541177, "Transport": 0.0002930914487404568, "Web/CloudOps": 0.0016337275129256756}, "frequency": {"A": -0.0004959931905478276, "D": 3.75902890867863e-05, "H": 0.00039525214580282686, "M": 0.007825217978319476, "Q": -0.0013116298497006795, "S": -0.00019647593058924606, "T": 0.0014136657197061364, "W": 0.002342406841908895}, "variates": {"multivariate": 0.001123755557705497, "univariate": 0.0009317435059155166}}}], "decision": "Original final main diagnostic is positive against the matched independent-seed control, with small long-term regression and positive medium/short groups. Final four-cutoff comparison remains required. E171eligibility still depends only on the original6000 replication gate; final12000 does not substitute.", "new_neural_inference": false, "new_training": false}. No additional training or inference. + +2026-10-24T06:32:44.413808+00:00: Scheduled main-cutoff learning diagnostic {"utc": "2026-10-24T06:32:44.413808+00:00", "experiment": "E164", "run": "spectral_phase_individual", "step": 1000, "skill": 0.37925699453003603, "checkpoint_sha256": "55a326c2cbb7b28091188e25d77216538196a9982e8f189654b04e16543c182f", "eval_seconds": 36.162113666534424, "comparisons": [{"control": "overflow_control", "control_checkpoint_sha256": "fb64456ba0c2ebef979b8525274132618fe542f67e7193036e4a013de6629f5c", "control_skill": 0.37680439430493307, "delta": 0.0024526002251029633, "group_deltas": {"term": {"long": 0.0019049786054828877, "medium": 0.0007448594536613173, "short": 0.0033787441200748836}, "domain": {"Econ/Fin": 0.0013766943547203203, "Energy": 0.001182372833095524, "Healthcare": 0.0018760492115230676, "Nature": 0.002609996645808188, "Sales": 0.0017763642533120683, "Transport": 0.00587473437931918, "Web/CloudOps": 0.0015076706640319015}, "frequency": {"A": 0.0001078950507131804, "D": 0.007467983867897043, "H": 0.002212507827369481, "M": 0.003374198501699288, "Q": 0.0007928529855826261, "S": 0.0007846566805140842, "T": 0.0014075893467160316, "W": -0.0008755739248332839}, "variates": {"multivariate": 0.000950697970950598, "univariate": 0.0037009683052383613}}}], "decision": "Scheduled early diagnostic improves all three term groups, including long horizons. This is not a selection checkpoint. Preserve the declared primary6000/final12000 four-cutoff comparisons and unchanged training schedule.", "new_neural_inference": false, "new_training": false}. No additional training or inference. + +2026-10-24T06:32:44.697778+00:00: Scheduled main-cutoff learning diagnostic {"utc": "2026-10-24T06:32:44.697778+00:00", "experiment": "E186control", "run": "separate_mean_control", "step": 12000, "skill": 0.37725738197946956, "checkpoint_sha256": "5c4a19d84d21fdb11f2cdeb4c30842deebadcab11c8c90cd67692ac2c6acf8af", "eval_seconds": 256.9452905654907, "comparisons": [{"control": "overflow_control", "control_checkpoint_sha256": "f11d056b95f1c5eeef174265ebc51742952600e0dae1fa52900860447d5be819", "control_skill": 0.37742394607564755, "delta": -0.00016656409617799017, "group_deltas": {"term": {"long": 5.7661515814100284e-05, "medium": -0.0003704811045243117, "short": -0.00017428813353514983}, "domain": {"Econ/Fin": 0.0002914856400473287, "Energy": -8.22391405752576e-06, "Healthcare": -0.0011296573376931018, "Nature": -9.116725010327453e-05, "Sales": -0.0002918383465109198, "Transport": -4.27076040510066e-05, "Web/CloudOps": -0.00029691729308800596}, "frequency": {"A": 4.618806124512265e-05, "D": -0.0005334369322085308, "H": 5.950165044632527e-05, "M": -0.001364367151036605, "Q": -0.00022802853586401106, "S": 3.4191936489902375e-05, "T": -0.00018761950799950355, "W": 8.337306745598294e-05}, "variates": {"multivariate": -0.00013702114202929216, "univariate": -0.00019131151308704464}}}, {"control": "window_mean_loss", "control_checkpoint_sha256": "b44d657b4aaa8ccc574df4fc738b0d0b5a0ded84a139416f79bc97afbe5eb15c", "control_skill": 0.3780893871046961, "delta": -0.0008320051252265204, "group_deltas": {"term": {"long": -0.0008454171052865167, "medium": -0.0004084331844577127, "short": -0.0010004031490369325}, "domain": {"Econ/Fin": 0.002342937583875826, "Energy": -0.0003382364129456139, "Healthcare": -0.0034988034434104698, "Nature": -0.0035222030032429075, "Sales": 0.0018679530127860833, "Transport": 0.0036265569477322845, "Web/CloudOps": -0.0029583154690017155}, "frequency": {"A": 0.001432711351212701, "D": -0.00045631207521590333, "H": -0.0006832557990329446, "M": -0.008806632153299465, "Q": -0.0005393859178925986, "S": -0.00053732574134846, "T": 0.0004426403931386824, "W": -0.005312630906462501}, "variates": {"multivariate": -0.0017333658195722856, "univariate": -7.172768147611919e-05}}}], "decision": "Inactive-head numerical control only. Main result is slightly below E80; this is not a candidate selection. The separate-head arm still waits for its unchanged memory guard, and original6k/12k matched comparisons remain required. Secondary E181comparison does not replace its recorded rejection.", "new_neural_inference": false, "new_training": false}. No additional training or inference. + +2026-10-24T06:33:06.242420+00:00: E182 endpoint result {"experiment": "E182", "step": 48000, "new_member_checkpoint_sha256": "c990c72bf135bee3921fc426cf39273deef9d476a7c537b45254c8e7bd1bb4b5", "source_comparison": "/workspace/research/random_capacity_buildings48k_four_cutoff_comparison.json", "source_positive_cutoffs": 3, "source_mean_delta": 0.0007040452200724745, "optimizer_updates": 0, "new_neural_inference": false, "rows": [{"cutoff": "valid_screen", "skill": 0.38861586634418555, "delta_frozen": -0.000744909372735747, "groups": {"term": {"short": 0.3721070337838446, "medium": 0.4113348375159097, "long": 0.4078199070965123}, "domain": {"Econ/Fin": 0.14960811671434782, "Energy": 0.24824379930886242, "Healthcare": 0.48521783812956043, "Nature": 0.4420110545681404, "Sales": 0.34680623128672805, "Transport": 0.474409332117926, "Web/CloudOps": 0.5083619092012497}, "freq": {"A-DEC": 0.38086128359141846, "Q-DEC": 0.20559972426863682, "M": 0.12245704137485014, "W-SUN": 0.09681252019720477, "D": 0.374653402676286, "H": 0.40412759487468597, "15T": 0.218080449801497, "W-FRI": 0.022869927630552733, "10T": 0.6267264643653054, "W-TUE": 0.612818788834899, "W-THU": 0.2161262526720259, "W-WED": 0.3286080830994814, "5T": 0.5220066251321414, "10S": 0.4253855468054717}}, "group_deltas_frozen": {"term": {"short": -0.0009481642714297411, "medium": -0.0010256983723127, "long": 4.181250272083936e-05}, "domain": {"Econ/Fin": -0.0011576225338590929, "Energy": 0.00013330939566902344, "Healthcare": -0.0028719296301645825, "Nature": -0.0021391375700898774, "Sales": 0.0014305909015868146, "Transport": -0.0011594004815488335, "Web/CloudOps": -0.00014244174742961135}, "freq": {"A-DEC": -0.0009821170833679282, "Q-DEC": 0.00033885292104163245, "M": 0.0015673480777038673, "W-SUN": -0.009222295026956262, "D": -0.0011090292178165262, "H": -0.000862382648005311, "15T": -0.00010836304833683474, "W-FRI": 0.0027995001573002387, "10T": -0.0009510678730801914, "W-TUE": -0.007727908241582981, "W-THU": -0.00010597857556948753, "W-WED": 0.0018592448659555671, "5T": -0.0007326395184692469, "10S": 0.00030896097157717684}}, "cpu_seconds": 4.763040615012869, "delta_current": -0.000744909372735747}, {"cutoff": "valid_backcast", "skill": 0.34467724512454556, "delta_frozen": -0.0012274757153498683, "groups": {"term": {"short": 0.3122444476886177, "medium": 0.36297105906707416, "long": 0.40597228468143265}, "domain": {"Econ/Fin": 0.17929864120300587, "Energy": 0.235321213735316, "Healthcare": 0.39692653199618344, "Nature": 0.3813084856000095, "Sales": 0.40790862217974155, "Transport": 0.3779217672460343, "Web/CloudOps": 0.4587146604333895}, "freq": {"A-DEC": 0.32996875476806675, "Q-DEC": 0.23762022118911208, "M": 0.19245756024839733, "W-SUN": 0.04963736886244974, "D": 0.3616661494203324, "H": 0.37709433321073826, "15T": 0.22243570040400296, "W-FRI": 0.24132392940246705, "10T": 0.3311756714061873, "W-TUE": 0.5396830249050133, "W-THU": 0.2666966842323082, "W-WED": 0.3586495927354838, "5T": 0.44630605290504655, "10S": 0.3480448946846729}}, "group_deltas_frozen": {"term": {"short": -0.0019103338581147877, "medium": -0.0004905717289930278, "long": -0.000359108891219595}, "domain": {"Econ/Fin": -0.0023020309446926124, "Energy": 1.9336982719497797e-05, "Healthcare": -0.005198921036985715, "Nature": -0.002520161334954696, "Sales": -0.0009305302725884923, "Transport": -0.001457501444342979, "Web/CloudOps": -0.0005362240621373804}, "freq": {"A-DEC": -0.0008187941693816869, "Q-DEC": 0.000614511219669156, "M": 0.0007034412283781766, "W-SUN": -0.009424791687602907, "D": -0.0030158051687755316, "H": -0.0010618186967873422, "15T": 0.00013375585155384062, "W-FRI": 0.001638027755182625, "10T": -0.0007950234864009253, "W-TUE": -0.008518457350498498, "W-THU": -0.00028230311045884804, "W-WED": -0.0010453202430685815, "5T": -0.001385218326990456, "10S": 4.099133927559784e-05}}, "cpu_seconds": 4.466236622072756, "delta_current": -0.0012274757153498683}, {"cutoff": "valid_backcast2", "skill": 0.36964447674593137, "delta_frozen": -0.0006800415216365874, "groups": {"term": {"short": 0.35639057322790324, "medium": 0.39865812223891794, "long": 0.37407808204485904}, "domain": {"Econ/Fin": 0.12749267594030966, "Energy": 0.2414976067501713, "Healthcare": 0.3575518672574729, "Nature": 0.48474843999649997, "Sales": 0.5595396847674521, "Transport": 0.4288349980742382, "Web/CloudOps": 0.4469888988187941}, "freq": {"A-DEC": 0.33582790579961774, "Q-DEC": 0.15568504613661782, "M": 0.17358714080957005, "W-SUN": 0.07662400165947902, "D": 0.4344390875646621, "H": 0.40122463644327233, "15T": 0.10635519740812549, "W-FRI": 0.148984059678401, "10T": 0.5103056218942724, "W-TUE": 0.1696626741097863, "W-THU": 0.3440568478846753, "W-WED": 0.5585964074176162, "5T": 0.47964371003872486, "10S": 0.2919337600416655}}, "group_deltas_frozen": {"term": {"short": -0.0008458749110449304, "medium": -0.00019563941374500793, "long": -0.0007774288619987191}, "domain": {"Econ/Fin": -0.0019901903152327316, "Energy": -0.0005953632989295077, "Healthcare": -0.0007772481902139639, "Nature": -0.00027339414868554623, "Sales": -0.00024314078843823417, "Transport": -0.0008287252874115136, "Web/CloudOps": -0.0007747426153209558}, "freq": {"A-DEC": -0.00168542697552021, "Q-DEC": -0.0005549714110006931, "M": -0.00011846928731296114, "W-SUN": -0.005122576513827859, "D": -0.0010878071509206055, "H": -0.0002233332586741854, "15T": -0.001251668146400875, "W-FRI": -0.0007613252269838, "10T": 0.0002087578191368733, "W-TUE": 0.020971005272546916, "W-THU": -0.004599038313326975, "W-WED": -0.0019228192844769065, "5T": -0.0014508086325503156, "10S": -0.00039789158687064674}}, "cpu_seconds": 4.8782029040157795, "delta_current": -0.0006800415216365874}, {"cutoff": "valid_backcast3", "skill": 0.3918121473205357, "delta_frozen": -0.0010227546086472028, "groups": {"term": {"short": 0.3967592053090847, "medium": 0.3708445199487448, "long": 0.39934678427409853}, "domain": {"Econ/Fin": 0.19044692607985836, "Energy": 0.3194081213946005, "Healthcare": 0.22844554403301964, "Nature": 0.50773512265384, "Sales": 0.40388744234701235, "Transport": 0.5112616268045108, "Web/CloudOps": 0.3989192313288471}, "freq": {"A-DEC": 0.3625372514092523, "Q-DEC": 0.26278789800678604, "M": 0.14374362795448647, "W-SUN": 0.1702623395075722, "D": 0.4415129471535859, "H": 0.40863897793825354, "15T": 0.25840595531492805, "W-FRI": 0.04240192181216973, "10T": 0.6054799351131044, "W-TUE": 0.2720808814054786, "W-THU": 0.34697556719689826, "W-WED": 0.37545392892060925, "5T": 0.4694855304607164, "10S": 0.29320265741339757}}, "group_deltas_frozen": {"term": {"short": -0.0012398658184584743, "medium": -0.0010499214697143877, "long": -0.0003798181165928227}, "domain": {"Econ/Fin": -0.0014059663221579477, "Energy": 4.584626900339117e-07, "Healthcare": -0.009520352238122753, "Nature": -0.00034044985986603216, "Sales": 2.2750782318503582e-05, "Transport": -0.0013453131834354481, "Web/CloudOps": -0.0011737621897991435}, "freq": {"A-DEC": 0.0015062130078709046, "Q-DEC": 8.636674691386848e-05, "M": -0.004080719945319222, "W-SUN": -0.004721715966856221, "D": -0.0029109228890862315, "H": -0.0008374026508151111, "15T": -0.00050012667048005, "W-FRI": 0.0010172661978276043, "10T": 0.001220908642569185, "W-TUE": -0.010838069356588598, "W-THU": 0.0034010247312806774, "W-WED": 0.0015673999551523154, "5T": -0.0017489283841688463, "10S": 0.001012586188950726}}, "cpu_seconds": 4.117041107965633, "delta_current": -0.0010227546086472028}], "composition_gates": {"delta_frozen": {"positive": 0, "mean_delta": -0.0009187953045923514}, "delta_current": {"positive": 0, "mean_delta": -0.0009187953045923514}}, "current_descriptor": "a75fdfcbb4d8e38dd6e7cded3c097ff0a129976fa63277bfd277a6031ccc6140", "selection_gate_passed": false, "mean_group_deltas": {"term": {"short": -0.0012360597147619834, "medium": -0.0006904577461912809, "long": -0.00036863584177257436}, "domain": {"Econ/Fin": -0.0017139525289855961, "Energy": -0.00011056461446273813, "Healthcare": -0.004592112773871754, "Nature": -0.001318285728399038, "Sales": 6.991765571964792e-05, "Transport": -0.0011977350991846936, "Web/CloudOps": -0.0006567926536717728}, "freq": {"A-DEC": -0.0004950313050997301, "Q-DEC": 0.00012118986915599095, "M": -0.00048209998163753487, "W-SUN": -0.007122844798810812, "D": -0.0020308911066497237, "H": -0.0007462343135704874, "15T": -0.0004316005034159798, "W-FRI": 0.001173367220831667, "10T": -7.910622444376458e-05, "W-TUE": -0.0015283574190307903, "W-THU": -0.00039657381701865835, "W-WED": 0.00011462632339059864, "5T": -0.0013293987155447162, "10S": 0.00024116172823321347}}, "outcome": "cached comparison complete; separate runtime/full replay/current review required before any publication", "utc": "2026-10-24T06:33:06.242420+00:00"} + +2026-10-24T06:33:15.944740+00:00: E164 diagnostic comparator correction {"utc": "2026-10-24T06:33:15.944740+00:00", "experiment": "E164", "run": "spectral_phase_individual", "step": 1000, "checkpoint_sha256": "55a326c2cbb7b28091188e25d77216538196a9982e8f189654b04e16543c182f", "skill": 0.37925699453003603, "declared_matched_control": "long_seasonal", "control_checkpoint_sha256": "31a9cdfb13341bf068d62dcd67df55a48ecc8f539676fc9aa18b17a87967aaaf", "control_skill": 0.378727348779353, "delta": 0.0005296457506830388, "group_deltas": {"term": {"long": 0.00022839178242717306, "medium": 0.00014680301672609364, "short": 0.0008099155541305691}, "domain": {"Econ/Fin": 0.0002411030315668805, "Energy": 0.000603165598575317, "Healthcare": 0.0011083763172814454, "Nature": 0.000708967386609527, "Sales": -1.2962392798132605e-05, "Transport": 0.0005776830483140705, "Web/CloudOps": 0.00025886385862128325}, "frequency": {"A": -7.721346595557232e-05, "D": 0.0005995776727777402, "H": 0.000540068161590801, "M": 0.0017894593965552819, "Q": 9.531346529811913e-07, "S": -6.931373574270427e-05, "T": 0.0004989774246028089, "W": 0.0004959084471181097}, "variates": {"multivariate": 0.00041313246169838447, "univariate": 0.0006261721596952929}}, "eval_seconds": 36.162113666534424, "cpu_review_seconds": 0.00373468198813498, "new_training": false, "new_inference": false, "correction": "The earlier spectral_phase_individual1k_diagnostic.json compared valid scores against E80overflow_control, but that is a secondary reference, not the declared matched control. Preserve that file as the audit record. E164inherits E107long_seasonal initial470ef98d... and its original comparisons have always used long_seasonal. The source watcher is correctly configured; no training, endpoint or source criterion changed.", "outcome": "Against the correct E107control, the scheduled1k diagnostic improves+.000529645751, including allthree terms. This is smaller than the secondary E80difference+.002452600225. Original6k/12k four-cutoff gates remain required; no transfer or composition selected."} + +2026-10-24T06:34:23.056513+00:00: Original fresh-model endpoint review {"utc": "2026-10-24T06:34:23.056513+00:00", "experiment": "E145", "run": "random_capacity_buildings", "endpoint": "primary", "step": 48000, "seed": 307, "parameters": 146477344, "checkpoint_sha256": "c990c72bf135bee3921fc426cf39273deef9d476a7c537b45254c8e7bd1bb4b5", "initial_checkpoint": "/workspace/research/random_capacity_1024_initial.pt", "matched_control": "random_capacity_full", "matched_report": "/workspace/research/random_capacity_buildings48k_four_cutoff_comparison.json", "source_positive_cutoffs": 3, "source_mean_delta": 0.0007040452200724745, "source_gate_passed": true, "cutoff_skills": [0.36704896226393025, 0.3223723191265597, 0.35025013991910203, 0.3707313434240045], "group_skill_deltas": {"term": {"long": {"cutoffs": 4, "mean_delta": -0.0012088592532065456, "positive": 1}, "medium": {"cutoffs": 4, "mean_delta": -0.001754024519020625, "positive": 1}, "short": {"cutoffs": 4, "mean_delta": 0.0023723087413644595, "positive": 3}}, "domain": {"Econ/Fin": {"cutoffs": 4, "mean_delta": -0.015547995525718727, "positive": 0}, "Energy": {"cutoffs": 4, "mean_delta": 0.006066568956269863, "positive": 4}, "Healthcare": {"cutoffs": 4, "mean_delta": -0.0022371549665380353, "positive": 2}, "Nature": {"cutoffs": 4, "mean_delta": -0.0031576779559247814, "positive": 0}, "Sales": {"cutoffs": 4, "mean_delta": -0.004810841557708487, "positive": 0}, "Transport": {"cutoffs": 4, "mean_delta": -4.8220163324369514e-05, "positive": 3}, "Web/CloudOps": {"cutoffs": 4, "mean_delta": 0.003030240091401265, "positive": 3}}, "frequency": {"A": {"cutoffs": 4, "mean_delta": -8.792270759905296e-05, "positive": 1}, "D": {"cutoffs": 4, "mean_delta": -0.004640953015915328, "positive": 0}, "H": {"cutoffs": 4, "mean_delta": 1.1884193888117567e-05, "positive": 3}, "M": {"cutoffs": 4, "mean_delta": 0.05422126325358989, "positive": 3}, "Q": {"cutoffs": 4, "mean_delta": 0.0018803983634306798, "positive": 3}, "S": {"cutoffs": 4, "mean_delta": -0.0007804188484292762, "positive": 2}, "T": {"cutoffs": 4, "mean_delta": 0.0031040215790390513, "positive": 4}, "W": {"cutoffs": 4, "mean_delta": -0.016969580263028833, "positive": 0}}, "variates": {"multivariate": {"cutoffs": 4, "mean_delta": 0.0040821226714822245, "positive": 4}, "univariate": {"cutoffs": 4, "mean_delta": -0.002121738642230031, "positive": 1}}}, "evaluation_seconds": 155.15668964385986, "training_phase_start": 0, "training_phase_loop_seconds_to_endpoint": 10490.3, "training_log": "/workspace/research/random_capacity_buildings_train_recovery4.log", "training_process_seconds": null, "cpu_review_seconds": 0.7058431340847164, "new_training": false, "new_neural_inference": false, "outcome": "Source gate passes; only separately declared composition/full replay checks can qualify a new package.", "interpretation": "The original primary source comparison passes3of4 with positive mean+.000704045220. Gains concentrate in short horizons(3of4); long horizons improveonlymain and medium onlymain, so the source benefit is not broad across terms. The separately declared E182primary seven-member composition has already failed0of4 versus E172; passing this source test does not qualify publication. Preserve original96000training and finalsource/composition conditions. Adaptive validation evidence from one training seed; group averages are descriptive and are not an independent test. Phase loop time is not total compute when a run resumed."} + +2026-10-24T06:34:32.960254+00:00: E182primarycomposition review {"utc": "2026-10-24T06:34:32.960254+00:00", "experiment": "E182", "step": 48000, "checkpoint_sha256": "c990c72bf135bee3921fc426cf39273deef9d476a7c537b45254c8e7bd1bb4b5", "source_comparison": "/workspace/research/random_capacity_buildings48k_four_cutoff_comparison.json", "source_positive": 3, "source_mean_delta": 0.0007040452200724745, "fixed_composition": "(frozenE172+orderedF0/F1/F2/E14548quartet)/2; allseven experts andsamegate", "frozen_parent_descriptor": "a75fdfcbb4d8e38dd6e7cded3c097ff0a129976fa63277bfd277a6031ccc6140", "skills": [0.38861586634418555, 0.34467724512454556, 0.36964447674593137, 0.3918121473205357], "gates": {"delta_frozen": {"positive": 0, "mean_delta": -0.0009187953045923514}, "delta_current": {"positive": 0, "mean_delta": -0.0009187953045923514}}, "group_skill_deltas": {"term": {"short": -0.0012360597147619834, "medium": -0.0006904577461912809, "long": -0.00036863584177257436}, "domain": {"Econ/Fin": -0.0017139525289855961, "Energy": -0.00011056461446273813, "Healthcare": -0.004592112773871754, "Nature": -0.001318285728399038, "Sales": 6.991765571964792e-05, "Transport": -0.0011977350991846936, "Web/CloudOps": -0.0006567926536717728}, "freq": {"A-DEC": -0.0004950313050997301, "Q-DEC": 0.00012118986915599095, "M": -0.00048209998163753487, "W-SUN": -0.007122844798810812, "D": -0.0020308911066497237, "H": -0.0007462343135704874, "15T": -0.0004316005034159798, "W-FRI": 0.001173367220831667, "10T": -7.910622444376458e-05, "W-TUE": -0.0015283574190307903, "W-THU": -0.00039657381701865835, "W-WED": 0.00011462632339059864, "5T": -0.0013293987155447162, "10S": 0.00024116172823321347}}, "probe_cpu_seconds": 18.22452124906704, "controller_probe_seconds": 18.818454884923995, "review_seconds": 0.008934648940339684, "optimizer_updates": 0, "new_inference": false, "selection_gate_passed": false, "outcome": "Reject originalprimary48000composition:0of4 and mean-.000918795305 versuscurrentE172. Allthree terms regress onaverage. No seven-member package, memoryaudit or publicGPUreplay. No replacementweight, memberposition or horizonrule sweep. ExistingE14596training and originalE182final96 conditions remain unchanged. One-seed adaptivevalidation evidence, not a testresult."} + +2026-10-24T06:34:33.186594+00:00: Scheduled main-cutoff learning diagnostic {"utc": "2026-10-24T06:34:33.186594+00:00", "experiment": "E157half", "run": "random_capacity_long_seasonal_halflr", "step": 48000, "skill": 0.3719511873368052, "checkpoint_sha256": "1a0313fefb7a73facfa5ac588f96429d11bd012115374773c843499a465db9bf", "eval_seconds": 38.12152719497681, "comparisons": [{"control": "random_capacity_1024_halflr", "control_checkpoint_sha256": "ea9055d683b93a4691e77bd64d46e301302765673055fd9b32ddb3a3e2f749df", "control_skill": 0.36570581958166615, "delta": 0.006245367755139064, "group_deltas": {"term": {"long": 0.004410709141223101, "medium": 0.003809353632375112, "short": 0.007968281138954425}, "domain": {"Econ/Fin": 0.004289818133691781, "Energy": 0.004141497280450324, "Healthcare": -0.007963927326375742, "Nature": 0.011890946786016765, "Sales": -0.010284818060327883, "Transport": 0.010756975886800246, "Web/CloudOps": 0.0073018648732123825}, "frequency": {"A": 0.0005855034543863491, "D": 0.014562493359674966, "H": 0.013496351938137474, "M": -0.01615206285595805, "Q": -0.003400982892539539, "S": -0.001399045623977413, "T": -0.0007290344652121084, "W": 0.006806301734198272}, "variates": {"multivariate": 0.006478339944094524, "univariate": 0.006053167283338823}}}, {"control": "random_capacity_long_seasonal", "control_checkpoint_sha256": "4b309f0721378f97db815dd511b8b54711348270c48e9eae0103dba506f66708", "control_skill": 0.36858681208190924, "delta": 0.0033643752548959682, "group_deltas": {"term": {"long": -0.002233225378099557, "medium": -0.0014562410365733802, "short": 0.0075855408347745845}, "domain": {"Econ/Fin": -0.002459791483817697, "Energy": 0.007396399316867752, "Healthcare": 0.0317369026129769, "Nature": -0.006687638510063709, "Sales": -0.002931535981935074, "Transport": 0.004192975126108722, "Web/CloudOps": 0.0006287803587032847}, "frequency": {"A": 0.008158045966660699, "D": 0.022279000802234772, "H": 0.004368811836640951, "M": -0.04561701791197725, "Q": 0.004927072740831373, "S": -0.005618934056483504, "T": 0.0009985706383857096, "W": -0.0004538238922282556}, "variates": {"multivariate": -0.002108926227745722, "univariate": 0.007888363384620956}}}], "decision": "Original primary main panel improves versus both matched controls. The primary four-cutoff comparisons against both controls remain required before E184can perform its fixed F5substitution. Main-only outcome does not select the checkpoint, and original96000training remains unchanged.", "new_neural_inference": false, "new_training": false}. No additional training or inference. + +2026-10-24T06:34:44.698302+00:00: Scheduled main-cutoff learning diagnostic {"utc": "2026-10-24T06:34:44.698302+00:00", "experiment": "E164", "run": "spectral_phase_individual", "step": 3000, "skill": 0.3826214254497464, "checkpoint_sha256": "57516fcc599bee72b47b3c9e8d8b469540932ed0e4f6748fabd157b010cd814f", "eval_seconds": 30.54783582687378, "comparisons": [{"control": "long_seasonal", "control_checkpoint_sha256": "92e575ca3cb053d9bdf75a010d83ded0025fe97c906fb9930c74dc1a28e1e892", "control_skill": 0.3817505923699258, "delta": 0.0008708330798206099, "group_deltas": {"term": {"long": 2.138337174673044e-05, "medium": 0.0003852470988522372, "short": 0.001416841084554754}, "domain": {"Econ/Fin": 0.0006046811864165447, "Energy": 0.0008901423174414447, "Healthcare": 0.004061592761679278, "Nature": 0.0015202151325850455, "Sales": -0.00014672792805658919, "Transport": 0.0006117323770515881, "Web/CloudOps": 2.177031313810307e-05}, "frequency": {"A": -0.00018123581918016995, "D": 0.0019271591444334213, "H": 0.0007803613540138254, "M": 0.001200069033572948, "Q": 0.0002702641199736622, "S": -0.0010078151718133643, "T": 0.0007277494479028812, "W": 0.0014949396460253173}, "variates": {"multivariate": 0.0006039520545908506, "univariate": 0.0010934521816703402}}}], "decision": "Scheduled3k main diagnostic against the declared E107long_seasonal control. No early checkpoint selection. Original6k/12k all-four-cutoff comparison, source architecture and12k schedule remain unchanged.", "new_neural_inference": false, "new_training": false}. No additional training or inference. + +E186 secondary inactive-head numerical control versus E80 6000 four-cutoff comparison: {"label": "E186 secondary inactive-head numerical control versus E80 6000 four-cutoff comparison", "utc": "2026-10-24T06:35:01.604859+00:00", "candidate": "separate_mean_control_ema6000", "control": "overflow_control_ema6000", "rows": [{"cutoff": "evals", "candidate_skill": 0.3781246652918372, "control_skill": 0.3782887645248565, "delta": -0.00016409923301929918, "candidate_checkpoint": "698d7ec680233917139382227734288868fec4b9a88257c736d7e7a823a2643f", "control_checkpoint": "b19875c52ed5024383fb69ccc48cb07a5629ad8011abf134c7dcfcdc50fae2af", "candidate_eval_seconds": 492.82457733154297, "candidate_groups": {"term": {"long": {"n_configs": 21, "rel_mase_gmean": 0.7452992015767549, "rel_wql_gmean": 0.4811751328278146}, "medium": {"n_configs": 21, "rel_mase_gmean": 0.7126740905046639, "rel_wql_gmean": 0.4942638742251072}, "short": {"n_configs": 55, "rel_mase_gmean": 0.756079248665509, "rel_wql_gmean": 0.5455542476553242}}, "domain": {"Econ/Fin": {"n_configs": 6, "rel_mase_gmean": 0.8909620472032131, "rel_wql_gmean": 0.8579905498084301}, "Energy": {"n_configs": 32, "rel_mase_gmean": 0.8990026084314869, "rel_wql_gmean": 0.6435197272045162}, "Healthcare": {"n_configs": 5, "rel_mase_gmean": 0.5708027372600372, "rel_wql_gmean": 0.5053292446555825}, "Nature": {"n_configs": 15, "rel_mase_gmean": 0.8136582499277347, "rel_wql_gmean": 0.4004402169285665}, "Sales": {"n_configs": 4, "rel_mase_gmean": 0.8455092454478585, "rel_wql_gmean": 0.5183900420688002}, "Transport": {"n_configs": 15, "rel_mase_gmean": 0.6449844932855633, "rel_wql_gmean": 0.44292650004754774}, "Web/CloudOps": {"n_configs": 20, "rel_mase_gmean": 0.5649745515041141, "rel_wql_gmean": 0.43869107353967507}}, "frequency": {"A": {"n_configs": 1, "rel_mase_gmean": 0.6169480720900402, "rel_wql_gmean": 0.6465717642925142}, "D": {"n_configs": 15, "rel_mase_gmean": 0.7780637074571926, "rel_wql_gmean": 0.5347524739231276}, "H": {"n_configs": 31, "rel_mase_gmean": 0.7317806343779883, "rel_wql_gmean": 0.49881084281745414}, "M": {"n_configs": 5, "rel_mase_gmean": 0.9691975164199204, "rel_wql_gmean": 0.8315310796595955}, "Q": {"n_configs": 1, "rel_mase_gmean": 0.7856680019119032, "rel_wql_gmean": 0.8308864913086608}, "S": {"n_configs": 6, "rel_mase_gmean": 0.6557069546324279, "rel_wql_gmean": 0.5045489389363107}, "T": {"n_configs": 30, "rel_mase_gmean": 0.6942665256243512, "rel_wql_gmean": 0.4552008243775415}, "W": {"n_configs": 8, "rel_mase_gmean": 0.898004048225998, "rel_wql_gmean": 0.6637857462722152}}, "variates": {"multivariate": {"n_configs": 43, "rel_mase_gmean": 0.7112408584872394, "rel_wql_gmean": 0.5119578362183381}, "univariate": {"n_configs": 54, "rel_mase_gmean": 0.7714341571805808, "rel_wql_gmean": 0.52593920198692}}}, "control_groups": {"term": {"long": {"n_configs": 21, "rel_mase_gmean": 0.7451158192819246, "rel_wql_gmean": 0.4809631678035488}, "medium": {"n_configs": 21, "rel_mase_gmean": 0.7120497644863014, "rel_wql_gmean": 0.4940812105058145}, "short": {"n_configs": 55, "rel_mase_gmean": 0.7560063232433744, "rel_wql_gmean": 0.5455016162773587}}, "domain": {"Econ/Fin": {"n_configs": 6, "rel_mase_gmean": 0.891060652656678, "rel_wql_gmean": 0.8581226203181075}, "Energy": {"n_configs": 32, "rel_mase_gmean": 0.8989380404519756, "rel_wql_gmean": 0.6435803440684917}, "Healthcare": {"n_configs": 5, "rel_mase_gmean": 0.5710382040222995, "rel_wql_gmean": 0.5034944242351712}, "Nature": {"n_configs": 15, "rel_mase_gmean": 0.8133075715765863, "rel_wql_gmean": 0.4004091491239218}, "Sales": {"n_configs": 4, "rel_mase_gmean": 0.8446340518950459, "rel_wql_gmean": 0.5179589899563962}, "Transport": {"n_configs": 15, "rel_mase_gmean": 0.6447526741433901, "rel_wql_gmean": 0.4427981539703199}, "Web/CloudOps": {"n_configs": 20, "rel_mase_gmean": 0.5645988459931921, "rel_wql_gmean": 0.4387078987240053}}, "frequency": {"A": {"n_configs": 1, "rel_mase_gmean": 0.6165351258073414, "rel_wql_gmean": 0.6464531739881929}, "D": {"n_configs": 15, "rel_mase_gmean": 0.777944381816132, "rel_wql_gmean": 0.5346411774818413}, "H": {"n_configs": 31, "rel_mase_gmean": 0.7317515640788856, "rel_wql_gmean": 0.49890798111520296}, "M": {"n_configs": 5, "rel_mase_gmean": 0.9655032792454371, "rel_wql_gmean": 0.8262938781338912}, "Q": {"n_configs": 1, "rel_mase_gmean": 0.7858131466267005, "rel_wql_gmean": 0.8312500357519329}, "S": {"n_configs": 6, "rel_mase_gmean": 0.6555214893191091, "rel_wql_gmean": 0.504479335142133}, "T": {"n_configs": 30, "rel_mase_gmean": 0.6939507700541674, "rel_wql_gmean": 0.45508640655176025}, "W": {"n_configs": 8, "rel_mase_gmean": 0.8990798911693764, "rel_wql_gmean": 0.664987514515424}}, "variates": {"multivariate": {"n_configs": 43, "rel_mase_gmean": 0.7111159189621905, "rel_wql_gmean": 0.5120760043186128}, "univariate": {"n_configs": 54, "rel_mase_gmean": 0.7711295953953445, "rel_wql_gmean": 0.5256252376142441}}}, "group_skill_delta": {"term": {"long": -0.00020557769092421907, "medium": -0.0003696544731996987, "short": -6.195292972688282e-05}, "domain": {"Econ/Fin": 0.00011567377831811498, "Energy": 8.50631897597598e-06, "Healthcare": -0.0008653569917289605, "Nature": -0.00014515786348845428, "Sales": -0.0006178996314603058, "Transport": -0.00017349252520426628, "Web/CloudOps": -0.00015601605462450818}, "frequency": {"A": -0.00026931160888343797, "D": -0.00011658706357098314, "H": 4.6823267642492894e-05, "M": -0.004538677787283674, "Q": 0.0002513819403382467, "S": -0.00012102026213378636, "T": -0.0001984928866129998, "W": 0.001161346047181433}, "variates": {"multivariate": 1.6627644388256257e-05, "univariate": -0.0003158622974691605}}}, {"cutoff": "backcast_evals", "candidate_skill": 0.3352422880563355, "control_skill": 0.33515646486891926, "delta": 8.582318741623407e-05, "candidate_checkpoint": "698d7ec680233917139382227734288868fec4b9a88257c736d7e7a823a2643f", "control_checkpoint": "b19875c52ed5024383fb69ccc48cb07a5629ad8011abf134c7dcfcdc50fae2af", "candidate_eval_seconds": 727.449024438858, "candidate_groups": {"term": {"long": {"n_configs": 21, "rel_mase_gmean": 0.774565723003582, "rel_wql_gmean": 0.46530853286706175}, "medium": {"n_configs": 21, "rel_mase_gmean": 0.7741122329924451, "rel_wql_gmean": 0.5350129764243766}, "short": {"n_configs": 55, "rel_mase_gmean": 0.8182358275820343, "rel_wql_gmean": 0.5984131291921596}}, "domain": {"Econ/Fin": {"n_configs": 6, "rel_mase_gmean": 0.887660730313932, "rel_wql_gmean": 0.8181343336617237}, "Energy": {"n_configs": 32, "rel_mase_gmean": 0.8901776907532042, "rel_wql_gmean": 0.6692452687564521}, "Healthcare": {"n_configs": 5, "rel_mase_gmean": 0.6338016983907667, "rel_wql_gmean": 0.5443145730055338}, "Nature": {"n_configs": 15, "rel_mase_gmean": 0.9316942672848694, "rel_wql_gmean": 0.43346752390262516}, "Sales": {"n_configs": 4, "rel_mase_gmean": 0.7321906357755853, "rel_wql_gmean": 0.4976417295937607}, "Transport": {"n_configs": 15, "rel_mase_gmean": 0.7395063118484829, "rel_wql_gmean": 0.5327471101948535}, "Web/CloudOps": {"n_configs": 20, "rel_mase_gmean": 0.662917784769876, "rel_wql_gmean": 0.45911943847901}}, "frequency": {"A": {"n_configs": 1, "rel_mase_gmean": 0.651924696892745, "rel_wql_gmean": 0.7259883207993367}, "D": {"n_configs": 15, "rel_mase_gmean": 0.8405363685068424, "rel_wql_gmean": 0.5005963326542616}, "H": {"n_configs": 31, "rel_mase_gmean": 0.7768842391787875, "rel_wql_gmean": 0.5159375439450085}, "M": {"n_configs": 5, "rel_mase_gmean": 0.8616058333773519, "rel_wql_gmean": 0.7922328281838056}, "Q": {"n_configs": 1, "rel_mase_gmean": 0.7604721791332585, "rel_wql_gmean": 0.7688890087647146}, "S": {"n_configs": 6, "rel_mase_gmean": 0.8522537144197725, "rel_wql_gmean": 0.5086542457450998}, "T": {"n_configs": 30, "rel_mase_gmean": 0.7694361411910678, "rel_wql_gmean": 0.5781412625092393}, "W": {"n_configs": 8, "rel_mase_gmean": 0.8743834124894658, "rel_wql_gmean": 0.5837532806949632}}, "variates": {"multivariate": {"n_configs": 43, "rel_mase_gmean": 0.789770118737356, "rel_wql_gmean": 0.5316069080157514}, "univariate": {"n_configs": 54, "rel_mase_gmean": 0.806302533922859, "rel_wql_gmean": 0.5708667579624279}}}, "control_groups": {"term": {"long": {"n_configs": 21, "rel_mase_gmean": 0.7750842285105053, "rel_wql_gmean": 0.46538535076726445}, "medium": {"n_configs": 21, "rel_mase_gmean": 0.7739741905332832, "rel_wql_gmean": 0.534827984372569}, "short": {"n_configs": 55, "rel_mase_gmean": 0.818371751293216, "rel_wql_gmean": 0.5985153782895438}}, "domain": {"Econ/Fin": {"n_configs": 6, "rel_mase_gmean": 0.887916619787545, "rel_wql_gmean": 0.8185770809200361}, "Energy": {"n_configs": 32, "rel_mase_gmean": 0.8901417181128463, "rel_wql_gmean": 0.6693878286037928}, "Healthcare": {"n_configs": 5, "rel_mase_gmean": 0.6334453098405051, "rel_wql_gmean": 0.5437528735999733}, "Nature": {"n_configs": 15, "rel_mase_gmean": 0.9321426691826549, "rel_wql_gmean": 0.43340604882484346}, "Sales": {"n_configs": 4, "rel_mase_gmean": 0.7321691335963859, "rel_wql_gmean": 0.4977340558431129}, "Transport": {"n_configs": 15, "rel_mase_gmean": 0.7394280206962279, "rel_wql_gmean": 0.5327250385233748}, "Web/CloudOps": {"n_configs": 20, "rel_mase_gmean": 0.6634585442750054, "rel_wql_gmean": 0.4591816165371809}}, "frequency": {"A": {"n_configs": 1, "rel_mase_gmean": 0.6523615189029875, "rel_wql_gmean": 0.7262242686636398}, "D": {"n_configs": 15, "rel_mase_gmean": 0.8405439241384891, "rel_wql_gmean": 0.5009731755165275}, "H": {"n_configs": 31, "rel_mase_gmean": 0.7770655988729349, "rel_wql_gmean": 0.5160636056826207}, "M": {"n_configs": 5, "rel_mase_gmean": 0.8620023507565068, "rel_wql_gmean": 0.7924280387937057}, "Q": {"n_configs": 1, "rel_mase_gmean": 0.7600409188395882, "rel_wql_gmean": 0.7689369191610511}, "S": {"n_configs": 6, "rel_mase_gmean": 0.8521465319527592, "rel_wql_gmean": 0.5084037872669025}, "T": {"n_configs": 30, "rel_mase_gmean": 0.7696065791080199, "rel_wql_gmean": 0.577900906515431}, "W": {"n_configs": 8, "rel_mase_gmean": 0.8747966347792652, "rel_wql_gmean": 0.5837934687567188}}, "variates": {"multivariate": {"n_configs": 43, "rel_mase_gmean": 0.7902103277834961, "rel_wql_gmean": 0.5315871703126607}, "univariate": {"n_configs": 54, "rel_mase_gmean": 0.8062350844786952, "rel_wql_gmean": 0.5709428531788484}}}, "group_skill_delta": {"term": {"long": 0.0002504755673405912, "medium": -0.0001686435453965851, "short": 0.00011790181130744148}, "domain": {"Econ/Fin": 0.00035341330746518906, "Energy": 6.660618105180927e-05, "Healthcare": -0.0004682102622201034, "Nature": 0.00010783057968755116, "Sales": 4.712810099749554e-05, "Transport": -4.622804831844185e-05, "Web/CloudOps": 0.000262338058461542}, "frequency": {"A": 0.0003422680549060031, "D": 0.0002470251069872642, "H": 0.00015124285003376148, "M": 0.0002918941165818145, "Q": -0.00019303430317363368, "S": -0.0002035114489471468, "T": -6.480588616197824e-05, "W": 0.0001933954814101746}, "variates": {"multivariate": 0.00016852437636161177, "univariate": 1.6836746190462826e-05}}}, {"cutoff": "backcast2_evals", "candidate_skill": 0.3595818023325552, "control_skill": 0.35970579873679454, "delta": -0.0001239964042393238, "candidate_checkpoint": "698d7ec680233917139382227734288868fec4b9a88257c736d7e7a823a2643f", "control_checkpoint": "b19875c52ed5024383fb69ccc48cb07a5629ad8011abf134c7dcfcdc50fae2af", "candidate_eval_seconds": 24.825191259384155, "candidate_groups": {"term": {"long": {"n_configs": 19, "rel_mase_gmean": 0.8010200495130315, "rel_wql_gmean": 0.5060940931225761}, "medium": {"n_configs": 21, "rel_mase_gmean": 0.7543348662511489, "rel_wql_gmean": 0.4916313638988461}, "short": {"n_configs": 54, "rel_mase_gmean": 0.7645900081008505, "rel_wql_gmean": 0.5601187498498779}}, "domain": {"Econ/Fin": {"n_configs": 6, "rel_mase_gmean": 0.899905392293558, "rel_wql_gmean": 0.9112017452040021}, "Energy": {"n_configs": 32, "rel_mase_gmean": 0.8971932107487423, "rel_wql_gmean": 0.6480911944552297}, "Healthcare": {"n_configs": 5, "rel_mase_gmean": 0.6863439681813284, "rel_wql_gmean": 0.5878087923166908}, "Nature": {"n_configs": 15, "rel_mase_gmean": 0.762868206527161, "rel_wql_gmean": 0.3658885555937236}, "Sales": {"n_configs": 3, "rel_mase_gmean": 0.5637205145364566, "rel_wql_gmean": 0.36164483075287}, "Transport": {"n_configs": 14, "rel_mase_gmean": 0.6691027689333947, "rel_wql_gmean": 0.5021575032444775}, "Web/CloudOps": {"n_configs": 19, "rel_mase_gmean": 0.6831778834968715, "rel_wql_gmean": 0.4716564179708497}}, "frequency": {"A": {"n_configs": 1, "rel_mase_gmean": 0.5813529784521423, "rel_wql_gmean": 0.7337731463920012}, "D": {"n_configs": 15, "rel_mase_gmean": 0.7336809132457861, "rel_wql_gmean": 0.4524131182672544}, "H": {"n_configs": 30, "rel_mase_gmean": 0.7553820237602318, "rel_wql_gmean": 0.49034735949678643}, "M": {"n_configs": 4, "rel_mase_gmean": 0.8258379540176682, "rel_wql_gmean": 0.8520092847821809}, "Q": {"n_configs": 1, "rel_mase_gmean": 0.8328590915262758, "rel_wql_gmean": 0.8718523028937522}, "S": {"n_configs": 6, "rel_mase_gmean": 0.9095440595283042, "rel_wql_gmean": 0.5695765774930402}, "T": {"n_configs": 29, "rel_mase_gmean": 0.7549585992070125, "rel_wql_gmean": 0.5406086083126086}, "W": {"n_configs": 8, "rel_mase_gmean": 0.8438946042255292, "rel_wql_gmean": 0.6399388290764473}}, "variates": {"multivariate": {"n_configs": 42, "rel_mase_gmean": 0.78184041776348, "rel_wql_gmean": 0.5178033765778901}, "univariate": {"n_configs": 52, "rel_mase_gmean": 0.7596618541918352, "rel_wql_gmean": 0.5455893603535149}}}, "control_groups": {"term": {"long": {"n_configs": 19, "rel_mase_gmean": 0.8007838015734439, "rel_wql_gmean": 0.5057608145580296}, "medium": {"n_configs": 21, "rel_mase_gmean": 0.7549215312107497, "rel_wql_gmean": 0.49176726739734045}, "short": {"n_configs": 54, "rel_mase_gmean": 0.7642838919526312, "rel_wql_gmean": 0.5599238938428742}}, "domain": {"Econ/Fin": {"n_configs": 6, "rel_mase_gmean": 0.8997976584221669, "rel_wql_gmean": 0.9109410837720314}, "Energy": {"n_configs": 32, "rel_mase_gmean": 0.8969828992939779, "rel_wql_gmean": 0.6477417063864679}, "Healthcare": {"n_configs": 5, "rel_mase_gmean": 0.6849313799294706, "rel_wql_gmean": 0.586932347321718}, "Nature": {"n_configs": 15, "rel_mase_gmean": 0.7624727427382104, "rel_wql_gmean": 0.3657161858629389}, "Sales": {"n_configs": 3, "rel_mase_gmean": 0.5639287429478652, "rel_wql_gmean": 0.36145769293128766}, "Transport": {"n_configs": 14, "rel_mase_gmean": 0.6689876132941273, "rel_wql_gmean": 0.5020608717418806}, "Web/CloudOps": {"n_configs": 19, "rel_mase_gmean": 0.6837785683593893, "rel_wql_gmean": 0.4719606763184108}}, "frequency": {"A": {"n_configs": 1, "rel_mase_gmean": 0.5811330636284028, "rel_wql_gmean": 0.7336592636608978}, "D": {"n_configs": 15, "rel_mase_gmean": 0.7329769702098001, "rel_wql_gmean": 0.45167764562697754}, "H": {"n_configs": 30, "rel_mase_gmean": 0.7553820928392463, "rel_wql_gmean": 0.4904273479694985}, "M": {"n_configs": 4, "rel_mase_gmean": 0.8254186064766647, "rel_wql_gmean": 0.8515799856418855}, "Q": {"n_configs": 1, "rel_mase_gmean": 0.8324909356393811, "rel_wql_gmean": 0.8724694350490023}, "S": {"n_configs": 6, "rel_mase_gmean": 0.9100541095744552, "rel_wql_gmean": 0.5693729069160721}, "T": {"n_configs": 29, "rel_mase_gmean": 0.7550799772409099, "rel_wql_gmean": 0.540387432745741}, "W": {"n_configs": 8, "rel_mase_gmean": 0.8437173750489751, "rel_wql_gmean": 0.6406981711171287}}, "variates": {"multivariate": {"n_configs": 42, "rel_mase_gmean": 0.7818465318697899, "rel_wql_gmean": 0.5175870710427966}, "univariate": {"n_configs": 52, "rel_mase_gmean": 0.7594977958239505, "rel_wql_gmean": 0.545505930798867}}}, "group_skill_delta": {"term": {"long": -0.00030354774513008387, "medium": 0.00032096077808829726, "short": -0.0002448337977035697}, "domain": {"Econ/Fin": -0.0001837274334937078, "Energy": -0.00029498418175000207, "Healthcare": -0.0011271867479842879, "Nature": -0.00026138502277783804, "Sales": -3.347477717258185e-05, "Transport": -0.00010565216374436304, "Web/CloudOps": 0.00043263984249442}, "frequency": {"A": -0.00017422130625233123, "D": -0.0007447197389038873, "H": 4.966546770235336e-05, "M": -0.0004242973484043233, "Q": 0.00011310830865052246, "S": 7.30492966959373e-05, "T": -7.935553027493825e-05, "W": 0.0003586499595880088}, "variates": {"multivariate": -0.00013042326231382795, "univariate": -0.0001187402387539116}}}, {"cutoff": "backcast3_evals", "candidate_skill": 0.3895400670748246, "control_skill": 0.38966768132876584, "delta": -0.00012761425394125503, "candidate_checkpoint": "698d7ec680233917139382227734288868fec4b9a88257c736d7e7a823a2643f", "control_checkpoint": "b19875c52ed5024383fb69ccc48cb07a5629ad8011abf134c7dcfcdc50fae2af", "candidate_eval_seconds": 23.971471548080444, "candidate_groups": {"term": {"long": {"n_configs": 19, "rel_mase_gmean": 0.7650050096495452, "rel_wql_gmean": 0.4761091130922118}, "medium": {"n_configs": 20, "rel_mase_gmean": 0.7705735191729468, "rel_wql_gmean": 0.5300346632521736}, "short": {"n_configs": 54, "rel_mase_gmean": 0.7139667358250595, "rel_wql_gmean": 0.5086192329867335}}, "domain": {"Econ/Fin": {"n_configs": 6, "rel_mase_gmean": 0.844734021362821, "rel_wql_gmean": 0.8273499867242661}, "Energy": {"n_configs": 32, "rel_mase_gmean": 0.8349406941995652, "rel_wql_gmean": 0.556961490791568}, "Healthcare": {"n_configs": 5, "rel_mase_gmean": 0.788445716421364, "rel_wql_gmean": 0.6584132341757457}, "Nature": {"n_configs": 15, "rel_mase_gmean": 0.7109440007859519, "rel_wql_gmean": 0.3421139070418162}, "Sales": {"n_configs": 3, "rel_mase_gmean": 0.7562172562757006, "rel_wql_gmean": 0.47838079298173836}, "Transport": {"n_configs": 14, "rel_mase_gmean": 0.5433217385421917, "rel_wql_gmean": 0.4492333131656802}, "Web/CloudOps": {"n_configs": 18, "rel_mase_gmean": 0.7155101985762006, "rel_wql_gmean": 0.5178847138564819}}, "frequency": {"A": {"n_configs": 1, "rel_mase_gmean": 0.5310765423357344, "rel_wql_gmean": 0.7775753294695732}, "D": {"n_configs": 15, "rel_mase_gmean": 0.7248626530644557, "rel_wql_gmean": 0.4251494354919506}, "H": {"n_configs": 29, "rel_mase_gmean": 0.7259839025313095, "rel_wql_gmean": 0.48853728122039486}, "M": {"n_configs": 4, "rel_mase_gmean": 0.8628180752672246, "rel_wql_gmean": 0.8530439070552022}, "Q": {"n_configs": 1, "rel_mase_gmean": 0.7179786865560852, "rel_wql_gmean": 0.7708896259836738}, "S": {"n_configs": 6, "rel_mase_gmean": 0.8405744495185136, "rel_wql_gmean": 0.5994854158132564}, "T": {"n_configs": 29, "rel_mase_gmean": 0.7061900096115739, "rel_wql_gmean": 0.46336517774816155}, "W": {"n_configs": 8, "rel_mase_gmean": 0.8087855105991748, "rel_wql_gmean": 0.6724908067237095}}, "variates": {"multivariate": {"n_configs": 41, "rel_mase_gmean": 0.7636110683205692, "rel_wql_gmean": 0.5152964555471461}, "univariate": {"n_configs": 52, "rel_mase_gmean": 0.7150898821836847, "rel_wql_gmean": 0.49926847520121104}}}, "control_groups": {"term": {"long": {"n_configs": 19, "rel_mase_gmean": 0.7650747158835133, "rel_wql_gmean": 0.4758888221311058}, "medium": {"n_configs": 20, "rel_mase_gmean": 0.7703157746376595, "rel_wql_gmean": 0.5298503011269557}, "short": {"n_configs": 54, "rel_mase_gmean": 0.713915671760059, "rel_wql_gmean": 0.5084844315057424}}, "domain": {"Econ/Fin": {"n_configs": 6, "rel_mase_gmean": 0.8452403065316382, "rel_wql_gmean": 0.8277399249864468}, "Energy": {"n_configs": 32, "rel_mase_gmean": 0.8346950467324626, "rel_wql_gmean": 0.5567599695672222}, "Healthcare": {"n_configs": 5, "rel_mase_gmean": 0.7876375654704325, "rel_wql_gmean": 0.6565412569519505}, "Nature": {"n_configs": 15, "rel_mase_gmean": 0.710238739553539, "rel_wql_gmean": 0.34191077293082645}, "Sales": {"n_configs": 3, "rel_mase_gmean": 0.7563686587019305, "rel_wql_gmean": 0.4784563222634317}, "Transport": {"n_configs": 14, "rel_mase_gmean": 0.5433317817040721, "rel_wql_gmean": 0.4493168613990946}, "Web/CloudOps": {"n_configs": 18, "rel_mase_gmean": 0.7161526533494015, "rel_wql_gmean": 0.5178489398382691}}, "frequency": {"A": {"n_configs": 1, "rel_mase_gmean": 0.5311143622209655, "rel_wql_gmean": 0.7781586196577971}, "D": {"n_configs": 15, "rel_mase_gmean": 0.7234708846594775, "rel_wql_gmean": 0.42486757337507386}, "H": {"n_configs": 29, "rel_mase_gmean": 0.725973846929309, "rel_wql_gmean": 0.48863382838793346}, "M": {"n_configs": 4, "rel_mase_gmean": 0.8623268790180476, "rel_wql_gmean": 0.8523275939235515}, "Q": {"n_configs": 1, "rel_mase_gmean": 0.7182632014266673, "rel_wql_gmean": 0.7707135583961491}, "S": {"n_configs": 6, "rel_mase_gmean": 0.8408993113146807, "rel_wql_gmean": 0.5989715147638536}, "T": {"n_configs": 29, "rel_mase_gmean": 0.7064723895859075, "rel_wql_gmean": 0.463139705670842}, "W": {"n_configs": 8, "rel_mase_gmean": 0.8096257056910313, "rel_wql_gmean": 0.6721758032092567}}, "variates": {"multivariate": {"n_configs": 41, "rel_mase_gmean": 0.7638007775200529, "rel_wql_gmean": 0.5152023145873739}, "univariate": {"n_configs": 52, "rel_mase_gmean": 0.7148285566222029, "rel_wql_gmean": 0.49905178580637044}}}, "group_skill_delta": {"term": {"long": -0.00011214690945338113, "medium": -0.00021802872348153368, "short": -0.00010140854626561335}, "domain": {"Econ/Fin": 0.0004475293831317506, "Energy": -0.0002236846592150732, "Healthcare": -0.0013938057300107998, "Nature": -0.0003910422479990183, "Sales": 0.00010769076918459852, "Transport": 5.0505329811323385e-05, "Web/CloudOps": 0.0002521926145963027}, "frequency": {"A": 0.00026386935318056803, "D": -0.0007170712305794025, "H": 5.471922599087353e-05, "M": -0.0006044135176882515, "Q": 6.241082054025959e-05, "S": -0.00016722630204757394, "T": -2.4863318101031595e-05, "W": 0.00021013282959303492}, "variates": {"multivariate": 2.0605568578191402e-05, "univariate": -0.00023884368064153172}}}], "mean_delta": -8.247167594591098e-05, "positive_cutoffs": 1, "outcome": "Declared comparison checkpoints 6000,12000. No transfer formula or automatic publication is selected by this controller."} + +E186 secondary diagnostic: E181 direct penalty versus inactive auxiliary head 6000: {"label": "E186 secondary diagnostic: E181 direct penalty versus inactive auxiliary head 6000", "utc": "2026-10-24T06:35:02.928063+00:00", "candidate": "window_mean_loss_ema6000", "control": "separate_mean_control_ema6000", "rows": [{"cutoff": "evals", "candidate_skill": 0.37924823596834956, "control_skill": 0.3781246652918372, "delta": 0.0011235706765123643, "candidate_checkpoint": "97138fcf4cceba9ec1126b937c7697499e4bd160d4f78abce4346a62f41f24c7", "control_checkpoint": "698d7ec680233917139382227734288868fec4b9a88257c736d7e7a823a2643f", "candidate_eval_seconds": 25.220224380493164, "candidate_groups": {"term": {"long": {"n_configs": 21, "rel_mase_gmean": 0.7416386740556028, "rel_wql_gmean": 0.4806747080544386}, "medium": {"n_configs": 21, "rel_mase_gmean": 0.7121566935423076, "rel_wql_gmean": 0.49405890125317536}, "short": {"n_configs": 55, "rel_mase_gmean": 0.7538382714062117, "rel_wql_gmean": 0.5451739022404667}}, "domain": {"Econ/Fin": {"n_configs": 6, "rel_mase_gmean": 0.8940972429460722, "rel_wql_gmean": 0.8595622152957276}, "Energy": {"n_configs": 32, "rel_mase_gmean": 0.8972579475091795, "rel_wql_gmean": 0.6435804359345942}, "Healthcare": {"n_configs": 5, "rel_mase_gmean": 0.5672570970464718, "rel_wql_gmean": 0.4996430828571896}, "Nature": {"n_configs": 15, "rel_mase_gmean": 0.8082234599098677, "rel_wql_gmean": 0.4011931208654546}, "Sales": {"n_configs": 4, "rel_mase_gmean": 0.8501207819096971, "rel_wql_gmean": 0.5178695132705895}, "Transport": {"n_configs": 15, "rel_mase_gmean": 0.6515448605408809, "rel_wql_gmean": 0.4444778369695574}, "Web/CloudOps": {"n_configs": 20, "rel_mase_gmean": 0.5570449678032019, "rel_wql_gmean": 0.43643889690744037}}, "frequency": {"A": {"n_configs": 1, "rel_mase_gmean": 0.6190069865416957, "rel_wql_gmean": 0.6474519699983433}, "D": {"n_configs": 15, "rel_mase_gmean": 0.7738030228772376, "rel_wql_gmean": 0.5340562070357623}, "H": {"n_configs": 31, "rel_mase_gmean": 0.7309891919630885, "rel_wql_gmean": 0.49862459498861966}, "M": {"n_configs": 5, "rel_mase_gmean": 0.9629168817839329, "rel_wql_gmean": 0.8292396826524676}, "Q": {"n_configs": 1, "rel_mase_gmean": 0.7864622702840021, "rel_wql_gmean": 0.8307521239205579}, "S": {"n_configs": 6, "rel_mase_gmean": 0.6550276510773083, "rel_wql_gmean": 0.504381843456945}, "T": {"n_configs": 30, "rel_mase_gmean": 0.692467312346471, "rel_wql_gmean": 0.4552797414271788}, "W": {"n_configs": 8, "rel_mase_gmean": 0.8919892615582639, "rel_wql_gmean": 0.6614323048780661}}, "variates": {"multivariate": {"n_configs": 43, "rel_mase_gmean": 0.7063480642703334, "rel_wql_gmean": 0.5111768859330903}, "univariate": {"n_configs": 54, "rel_mase_gmean": 0.7716473815652771, "rel_wql_gmean": 0.5259072880176655}}}, "control_groups": {"term": {"long": {"n_configs": 21, "rel_mase_gmean": 0.7452992015767549, "rel_wql_gmean": 0.4811751328278146}, "medium": {"n_configs": 21, "rel_mase_gmean": 0.7126740905046639, "rel_wql_gmean": 0.4942638742251072}, "short": {"n_configs": 55, "rel_mase_gmean": 0.756079248665509, "rel_wql_gmean": 0.5455542476553242}}, "domain": {"Econ/Fin": {"n_configs": 6, "rel_mase_gmean": 0.8909620472032131, "rel_wql_gmean": 0.8579905498084301}, "Energy": {"n_configs": 32, "rel_mase_gmean": 0.8990026084314869, "rel_wql_gmean": 0.6435197272045162}, "Healthcare": {"n_configs": 5, "rel_mase_gmean": 0.5708027372600372, "rel_wql_gmean": 0.5053292446555825}, "Nature": {"n_configs": 15, "rel_mase_gmean": 0.8136582499277347, "rel_wql_gmean": 0.4004402169285665}, "Sales": {"n_configs": 4, "rel_mase_gmean": 0.8455092454478585, "rel_wql_gmean": 0.5183900420688002}, "Transport": {"n_configs": 15, "rel_mase_gmean": 0.6449844932855633, "rel_wql_gmean": 0.44292650004754774}, "Web/CloudOps": {"n_configs": 20, "rel_mase_gmean": 0.5649745515041141, "rel_wql_gmean": 0.43869107353967507}}, "frequency": {"A": {"n_configs": 1, "rel_mase_gmean": 0.6169480720900402, "rel_wql_gmean": 0.6465717642925142}, "D": {"n_configs": 15, "rel_mase_gmean": 0.7780637074571926, "rel_wql_gmean": 0.5347524739231276}, "H": {"n_configs": 31, "rel_mase_gmean": 0.7317806343779883, "rel_wql_gmean": 0.49881084281745414}, "M": {"n_configs": 5, "rel_mase_gmean": 0.9691975164199204, "rel_wql_gmean": 0.8315310796595955}, "Q": {"n_configs": 1, "rel_mase_gmean": 0.7856680019119032, "rel_wql_gmean": 0.8308864913086608}, "S": {"n_configs": 6, "rel_mase_gmean": 0.6557069546324279, "rel_wql_gmean": 0.5045489389363107}, "T": {"n_configs": 30, "rel_mase_gmean": 0.6942665256243512, "rel_wql_gmean": 0.4552008243775415}, "W": {"n_configs": 8, "rel_mase_gmean": 0.898004048225998, "rel_wql_gmean": 0.6637857462722152}}, "variates": {"multivariate": {"n_configs": 43, "rel_mase_gmean": 0.7112408584872394, "rel_wql_gmean": 0.5119578362183381}, "univariate": {"n_configs": 54, "rel_mase_gmean": 0.7714341571805808, "rel_wql_gmean": 0.52593920198692}}}, "group_skill_delta": {"term": {"long": 0.0017831463563569017, "medium": 0.0003385123919454891, "short": 0.0011760855805721393}, "domain": {"Econ/Fin": -0.0023387981309261896, "Energy": 0.0007025594274064906, "Healthcare": 0.004691426065520754, "Nature": 0.0013749676736413141, "Sales": -0.0014696149677808634, "Transport": -0.003651318106613677, "Web/CloudOps": 0.0047766077800032725}, "frequency": {"A": -0.0014834780642192236, "D": 0.002187451407483554, "H": 0.0004395446101086442, "M": 0.004147223110479437, "Q": -0.00034293387707695633, "S": 0.0003932210681771853, "T": 0.0006802425967784576, "W": 0.003955255577477446}, "variates": {"multivariate": 0.0025379734258894615, "univariate": -6.869426395483824e-05}}}, {"cutoff": "backcast_evals", "candidate_skill": 0.33293462626835635, "control_skill": 0.3352422880563355, "delta": -0.002307661787979143, "candidate_checkpoint": "97138fcf4cceba9ec1126b937c7697499e4bd160d4f78abce4346a62f41f24c7", "control_checkpoint": "698d7ec680233917139382227734288868fec4b9a88257c736d7e7a823a2643f", "candidate_eval_seconds": 25.736777782440186, "candidate_groups": {"term": {"long": {"n_configs": 21, "rel_mase_gmean": 0.7801332773164236, "rel_wql_gmean": 0.46746027610252683}, "medium": {"n_configs": 21, "rel_mase_gmean": 0.7770577225638788, "rel_wql_gmean": 0.5351488096138662}, "short": {"n_configs": 55, "rel_mase_gmean": 0.8214232781704415, "rel_wql_gmean": 0.5997864377882329}}, "domain": {"Econ/Fin": {"n_configs": 6, "rel_mase_gmean": 0.8924668425850258, "rel_wql_gmean": 0.8208896482980172}, "Energy": {"n_configs": 32, "rel_mase_gmean": 0.8900144302812298, "rel_wql_gmean": 0.670098691172771}, "Healthcare": {"n_configs": 5, "rel_mase_gmean": 0.6339976019773382, "rel_wql_gmean": 0.5410276522869466}, "Nature": {"n_configs": 15, "rel_mase_gmean": 0.9451401278649698, "rel_wql_gmean": 0.4362750924902025}, "Sales": {"n_configs": 4, "rel_mase_gmean": 0.7351839395159124, "rel_wql_gmean": 0.4982446434820185}, "Transport": {"n_configs": 15, "rel_mase_gmean": 0.7439645334593084, "rel_wql_gmean": 0.5343790111708852}, "Web/CloudOps": {"n_configs": 20, "rel_mase_gmean": 0.666058108020231, "rel_wql_gmean": 0.46027012358467273}}, "frequency": {"A": {"n_configs": 1, "rel_mase_gmean": 0.6524004507617165, "rel_wql_gmean": 0.7257380932321171}, "D": {"n_configs": 15, "rel_mase_gmean": 0.8435351102988159, "rel_wql_gmean": 0.5009181482225927}, "H": {"n_configs": 31, "rel_mase_gmean": 0.778602723303367, "rel_wql_gmean": 0.5161167937551471}, "M": {"n_configs": 5, "rel_mase_gmean": 0.8787408948804951, "rel_wql_gmean": 0.8009829753609405}, "Q": {"n_configs": 1, "rel_mase_gmean": 0.7618813958372044, "rel_wql_gmean": 0.7683647875171932}, "S": {"n_configs": 6, "rel_mase_gmean": 0.8531483587881266, "rel_wql_gmean": 0.507819392725296}, "T": {"n_configs": 30, "rel_mase_gmean": 0.7758281904601649, "rel_wql_gmean": 0.5816051110347968}, "W": {"n_configs": 8, "rel_mase_gmean": 0.8707350789319838, "rel_wql_gmean": 0.5826337190697854}}, "variates": {"multivariate": {"n_configs": 43, "rel_mase_gmean": 0.7913375005075547, "rel_wql_gmean": 0.5322324410366889}, "univariate": {"n_configs": 54, "rel_mase_gmean": 0.8116769668578147, "rel_wql_gmean": 0.5727487065850279}}}, "control_groups": {"term": {"long": {"n_configs": 21, "rel_mase_gmean": 0.774565723003582, "rel_wql_gmean": 0.46530853286706175}, "medium": {"n_configs": 21, "rel_mase_gmean": 0.7741122329924451, "rel_wql_gmean": 0.5350129764243766}, "short": {"n_configs": 55, "rel_mase_gmean": 0.8182358275820343, "rel_wql_gmean": 0.5984131291921596}}, "domain": {"Econ/Fin": {"n_configs": 6, "rel_mase_gmean": 0.887660730313932, "rel_wql_gmean": 0.8181343336617237}, "Energy": {"n_configs": 32, "rel_mase_gmean": 0.8901776907532042, "rel_wql_gmean": 0.6692452687564521}, "Healthcare": {"n_configs": 5, "rel_mase_gmean": 0.6338016983907667, "rel_wql_gmean": 0.5443145730055338}, "Nature": {"n_configs": 15, "rel_mase_gmean": 0.9316942672848694, "rel_wql_gmean": 0.43346752390262516}, "Sales": {"n_configs": 4, "rel_mase_gmean": 0.7321906357755853, "rel_wql_gmean": 0.4976417295937607}, "Transport": {"n_configs": 15, "rel_mase_gmean": 0.7395063118484829, "rel_wql_gmean": 0.5327471101948535}, "Web/CloudOps": {"n_configs": 20, "rel_mase_gmean": 0.662917784769876, "rel_wql_gmean": 0.45911943847901}}, "frequency": {"A": {"n_configs": 1, "rel_mase_gmean": 0.651924696892745, "rel_wql_gmean": 0.7259883207993367}, "D": {"n_configs": 15, "rel_mase_gmean": 0.8405363685068424, "rel_wql_gmean": 0.5005963326542616}, "H": {"n_configs": 31, "rel_mase_gmean": 0.7768842391787875, "rel_wql_gmean": 0.5159375439450085}, "M": {"n_configs": 5, "rel_mase_gmean": 0.8616058333773519, "rel_wql_gmean": 0.7922328281838056}, "Q": {"n_configs": 1, "rel_mase_gmean": 0.7604721791332585, "rel_wql_gmean": 0.7688890087647146}, "S": {"n_configs": 6, "rel_mase_gmean": 0.8522537144197725, "rel_wql_gmean": 0.5086542457450998}, "T": {"n_configs": 30, "rel_mase_gmean": 0.7694361411910678, "rel_wql_gmean": 0.5781412625092393}, "W": {"n_configs": 8, "rel_mase_gmean": 0.8743834124894658, "rel_wql_gmean": 0.5837532806949632}}, "variates": {"multivariate": {"n_configs": 43, "rel_mase_gmean": 0.789770118737356, "rel_wql_gmean": 0.5316069080157514}, "univariate": {"n_configs": 54, "rel_mase_gmean": 0.806302533922859, "rel_wql_gmean": 0.5708667579624279}}}, "group_skill_delta": {"term": {"long": -0.0035452287108591607, "medium": -0.0013050385936362874, "short": -0.002165638873668052}, "domain": {"Econ/Fin": -0.0037415846660475705, "Energy": -0.00042114559102046645, "Healthcare": 0.0016856103661245792, "Nature": -0.00663873152236194, "Sales": -0.0015989020264191023, "Transport": -0.0028526475079521108, "Web/CloudOps": -0.001997705351778012}, "frequency": {"A": -0.00013236635037205957, "D": -0.0013649204572300233, "H": -0.0008099261410471348, "M": -0.01277003939386756, "Q": -0.00044721102149236636, "S": 0.00019533980201547063, "T": -0.00476795782400774, "W": 0.0021760430726979196}, "variates": {"multivariate": -0.0010241354574940242, "univariate": -0.003378451545953287}}}, {"cutoff": "backcast2_evals", "candidate_skill": 0.3573319100310194, "control_skill": 0.3595818023325552, "delta": -0.0022498923015358274, "candidate_checkpoint": "97138fcf4cceba9ec1126b937c7697499e4bd160d4f78abce4346a62f41f24c7", "control_checkpoint": "698d7ec680233917139382227734288868fec4b9a88257c736d7e7a823a2643f", "candidate_eval_seconds": 24.706649780273438, "candidate_groups": {"term": {"long": {"n_configs": 19, "rel_mase_gmean": 0.8016726437221616, "rel_wql_gmean": 0.5070265362439842}, "medium": {"n_configs": 21, "rel_mase_gmean": 0.7574730123660423, "rel_wql_gmean": 0.4936984529161195}, "short": {"n_configs": 54, "rel_mase_gmean": 0.7688355815128335, "rel_wql_gmean": 0.561516208406121}}, "domain": {"Econ/Fin": {"n_configs": 6, "rel_mase_gmean": 0.9020017795349768, "rel_wql_gmean": 0.9133392126614562}, "Energy": {"n_configs": 32, "rel_mase_gmean": 0.8990333122220219, "rel_wql_gmean": 0.6485030801303965}, "Healthcare": {"n_configs": 5, "rel_mase_gmean": 0.6844540139047127, "rel_wql_gmean": 0.5872003111875178}, "Nature": {"n_configs": 15, "rel_mase_gmean": 0.7757188362733515, "rel_wql_gmean": 0.36845280432576516}, "Sales": {"n_configs": 3, "rel_mase_gmean": 0.5709349228346734, "rel_wql_gmean": 0.36412095556073365}, "Transport": {"n_configs": 14, "rel_mase_gmean": 0.6688564811179978, "rel_wql_gmean": 0.5014822950079221}, "Web/CloudOps": {"n_configs": 19, "rel_mase_gmean": 0.6850634705367415, "rel_wql_gmean": 0.47469574017256244}}, "frequency": {"A": {"n_configs": 1, "rel_mase_gmean": 0.581787449789008, "rel_wql_gmean": 0.7344356027758288}, "D": {"n_configs": 15, "rel_mase_gmean": 0.7349839100527437, "rel_wql_gmean": 0.45350924564209233}, "H": {"n_configs": 30, "rel_mase_gmean": 0.757256552307449, "rel_wql_gmean": 0.49015860625694774}, "M": {"n_configs": 4, "rel_mase_gmean": 0.826220122839028, "rel_wql_gmean": 0.8499398565619838}, "Q": {"n_configs": 1, "rel_mase_gmean": 0.831419363494754, "rel_wql_gmean": 0.86925124042325}, "S": {"n_configs": 6, "rel_mase_gmean": 0.910352696016412, "rel_wql_gmean": 0.5698382915618291}, "T": {"n_configs": 29, "rel_mase_gmean": 0.7572045796890149, "rel_wql_gmean": 0.544148781925536}, "W": {"n_configs": 8, "rel_mase_gmean": 0.8661623001611157, "rel_wql_gmean": 0.6441654267333982}}, "variates": {"multivariate": {"n_configs": 42, "rel_mase_gmean": 0.7842908732054533, "rel_wql_gmean": 0.5194976822105706}, "univariate": {"n_configs": 52, "rel_mase_gmean": 0.763620073924779, "rel_wql_gmean": 0.5468544839103789}}}, "control_groups": {"term": {"long": {"n_configs": 19, "rel_mase_gmean": 0.8010200495130315, "rel_wql_gmean": 0.5060940931225761}, "medium": {"n_configs": 21, "rel_mase_gmean": 0.7543348662511489, "rel_wql_gmean": 0.4916313638988461}, "short": {"n_configs": 54, "rel_mase_gmean": 0.7645900081008505, "rel_wql_gmean": 0.5601187498498779}}, "domain": {"Econ/Fin": {"n_configs": 6, "rel_mase_gmean": 0.899905392293558, "rel_wql_gmean": 0.9112017452040021}, "Energy": {"n_configs": 32, "rel_mase_gmean": 0.8971932107487423, "rel_wql_gmean": 0.6480911944552297}, "Healthcare": {"n_configs": 5, "rel_mase_gmean": 0.6863439681813284, "rel_wql_gmean": 0.5878087923166908}, "Nature": {"n_configs": 15, "rel_mase_gmean": 0.762868206527161, "rel_wql_gmean": 0.3658885555937236}, "Sales": {"n_configs": 3, "rel_mase_gmean": 0.5637205145364566, "rel_wql_gmean": 0.36164483075287}, "Transport": {"n_configs": 14, "rel_mase_gmean": 0.6691027689333947, "rel_wql_gmean": 0.5021575032444775}, "Web/CloudOps": {"n_configs": 19, "rel_mase_gmean": 0.6831778834968715, "rel_wql_gmean": 0.4716564179708497}}, "frequency": {"A": {"n_configs": 1, "rel_mase_gmean": 0.5813529784521423, "rel_wql_gmean": 0.7337731463920012}, "D": {"n_configs": 15, "rel_mase_gmean": 0.7336809132457861, "rel_wql_gmean": 0.4524131182672544}, "H": {"n_configs": 30, "rel_mase_gmean": 0.7553820237602318, "rel_wql_gmean": 0.49034735949678643}, "M": {"n_configs": 4, "rel_mase_gmean": 0.8258379540176682, "rel_wql_gmean": 0.8520092847821809}, "Q": {"n_configs": 1, "rel_mase_gmean": 0.8328590915262758, "rel_wql_gmean": 0.8718523028937522}, "S": {"n_configs": 6, "rel_mase_gmean": 0.9095440595283042, "rel_wql_gmean": 0.5695765774930402}, "T": {"n_configs": 29, "rel_mase_gmean": 0.7549585992070125, "rel_wql_gmean": 0.5406086083126086}, "W": {"n_configs": 8, "rel_mase_gmean": 0.8438946042255292, "rel_wql_gmean": 0.6399388290764473}}, "variates": {"multivariate": {"n_configs": 42, "rel_mase_gmean": 0.78184041776348, "rel_wql_gmean": 0.5178033765778901}, "univariate": {"n_configs": 52, "rel_mase_gmean": 0.7596618541918352, "rel_wql_gmean": 0.5455893603535149}}}, "group_skill_delta": {"term": {"long": -0.0008458195863022544, "medium": -0.0025469608136851063, "short": -0.002632505496782067}, "domain": {"Econ/Fin": -0.002116840382323404, "Energy": -0.0010240836158204036, "Healthcare": 0.0012035054680429313, "Nature": -0.0062948373784593725, "Sales": -0.00443296503434415, "Transport": 0.0004964533896943957, "Web/CloudOps": -0.0026113490979035037}, "frequency": {"A": -0.0005388818689783248, "D": -0.0012095044842039826, "H": -0.0006373836274490285, "M": 0.0008254874186331973, "Q": 0.002007806554789937, "S": -0.0004852983191072635, "T": -0.003041047958332266, "W": -0.012086949526814661}, "variates": {"multivariate": -0.0020380722822458397, "univariate": -0.0024229745421191495}}}, {"cutoff": "backcast3_evals", "candidate_skill": 0.3897785584919441, "control_skill": 0.3895400670748246, "delta": 0.00023849141711951294, "candidate_checkpoint": "97138fcf4cceba9ec1126b937c7697499e4bd160d4f78abce4346a62f41f24c7", "control_checkpoint": "698d7ec680233917139382227734288868fec4b9a88257c736d7e7a823a2643f", "candidate_eval_seconds": 24.58328914642334, "candidate_groups": {"term": {"long": {"n_configs": 19, "rel_mase_gmean": 0.7652012679219037, "rel_wql_gmean": 0.4758106111987404}, "medium": {"n_configs": 20, "rel_mase_gmean": 0.7755321474367286, "rel_wql_gmean": 0.5327235912367}, "short": {"n_configs": 54, "rel_mase_gmean": 0.7115593692839415, "rel_wql_gmean": 0.507558411643248}}, "domain": {"Econ/Fin": {"n_configs": 6, "rel_mase_gmean": 0.848081711699464, "rel_wql_gmean": 0.8286879855495038}, "Energy": {"n_configs": 32, "rel_mase_gmean": 0.8364829638297332, "rel_wql_gmean": 0.5568973587323606}, "Healthcare": {"n_configs": 5, "rel_mase_gmean": 0.7821286049664983, "rel_wql_gmean": 0.6517532458186236}, "Nature": {"n_configs": 15, "rel_mase_gmean": 0.706524283298231, "rel_wql_gmean": 0.3429075049094136}, "Sales": {"n_configs": 3, "rel_mase_gmean": 0.7572205325435143, "rel_wql_gmean": 0.4795760542922524}, "Transport": {"n_configs": 14, "rel_mase_gmean": 0.5433773678927435, "rel_wql_gmean": 0.44829296415164255}, "Web/CloudOps": {"n_configs": 18, "rel_mase_gmean": 0.7153648043743972, "rel_wql_gmean": 0.5181282542535056}}, "frequency": {"A": {"n_configs": 1, "rel_mase_gmean": 0.5296699077383547, "rel_wql_gmean": 0.7668795462173112}, "D": {"n_configs": 15, "rel_mase_gmean": 0.7266938548117381, "rel_wql_gmean": 0.4251370157903405}, "H": {"n_configs": 29, "rel_mase_gmean": 0.7283391060125577, "rel_wql_gmean": 0.4889843365820071}, "M": {"n_configs": 4, "rel_mase_gmean": 0.8511718088944776, "rel_wql_gmean": 0.8453389586579579}, "Q": {"n_configs": 1, "rel_mase_gmean": 0.7187502842983743, "rel_wql_gmean": 0.771939135469206}, "S": {"n_configs": 6, "rel_mase_gmean": 0.838160954102782, "rel_wql_gmean": 0.6001817654204848}, "T": {"n_configs": 29, "rel_mase_gmean": 0.7081256192475625, "rel_wql_gmean": 0.4632269887377607}, "W": {"n_configs": 8, "rel_mase_gmean": 0.7900808811778544, "rel_wql_gmean": 0.6725686456186688}}, "variates": {"multivariate": {"n_configs": 41, "rel_mase_gmean": 0.7646649575129002, "rel_wql_gmean": 0.5154178465379402}, "univariate": {"n_configs": 52, "rel_mase_gmean": 0.7136368200122288, "rel_wql_gmean": 0.4989506538429868}}}, "control_groups": {"term": {"long": {"n_configs": 19, "rel_mase_gmean": 0.7650050096495452, "rel_wql_gmean": 0.4761091130922118}, "medium": {"n_configs": 20, "rel_mase_gmean": 0.7705735191729468, "rel_wql_gmean": 0.5300346632521736}, "short": {"n_configs": 54, "rel_mase_gmean": 0.7139667358250595, "rel_wql_gmean": 0.5086192329867335}}, "domain": {"Econ/Fin": {"n_configs": 6, "rel_mase_gmean": 0.844734021362821, "rel_wql_gmean": 0.8273499867242661}, "Energy": {"n_configs": 32, "rel_mase_gmean": 0.8349406941995652, "rel_wql_gmean": 0.556961490791568}, "Healthcare": {"n_configs": 5, "rel_mase_gmean": 0.788445716421364, "rel_wql_gmean": 0.6584132341757457}, "Nature": {"n_configs": 15, "rel_mase_gmean": 0.7109440007859519, "rel_wql_gmean": 0.3421139070418162}, "Sales": {"n_configs": 3, "rel_mase_gmean": 0.7562172562757006, "rel_wql_gmean": 0.47838079298173836}, "Transport": {"n_configs": 14, "rel_mase_gmean": 0.5433217385421917, "rel_wql_gmean": 0.4492333131656802}, "Web/CloudOps": {"n_configs": 18, "rel_mase_gmean": 0.7155101985762006, "rel_wql_gmean": 0.5178847138564819}}, "frequency": {"A": {"n_configs": 1, "rel_mase_gmean": 0.5310765423357344, "rel_wql_gmean": 0.7775753294695732}, "D": {"n_configs": 15, "rel_mase_gmean": 0.7248626530644557, "rel_wql_gmean": 0.4251494354919506}, "H": {"n_configs": 29, "rel_mase_gmean": 0.7259839025313095, "rel_wql_gmean": 0.48853728122039486}, "M": {"n_configs": 4, "rel_mase_gmean": 0.8628180752672246, "rel_wql_gmean": 0.8530439070552022}, "Q": {"n_configs": 1, "rel_mase_gmean": 0.7179786865560852, "rel_wql_gmean": 0.7708896259836738}, "S": {"n_configs": 6, "rel_mase_gmean": 0.8405744495185136, "rel_wql_gmean": 0.5994854158132564}, "T": {"n_configs": 29, "rel_mase_gmean": 0.7061900096115739, "rel_wql_gmean": 0.46336517774816155}, "W": {"n_configs": 8, "rel_mase_gmean": 0.8087855105991748, "rel_wql_gmean": 0.6724908067237095}}, "variates": {"multivariate": {"n_configs": 41, "rel_mase_gmean": 0.7636110683205692, "rel_wql_gmean": 0.5152964555471461}, "univariate": {"n_configs": 52, "rel_mase_gmean": 0.7150898821836847, "rel_wql_gmean": 0.49926847520121104}}}, "group_skill_delta": {"term": {"long": 0.00011183401889525157, "medium": -0.0036771847975054506, "short": 0.0016444956256820298}, "domain": {"Econ/Fin": -0.0023319501995945346, "Energy": -0.0005902291521565628, "Healthcare": 0.0065307859625399756, "Nature": 0.0009654568428866805, "Sales": -0.0011502764154630585, "Transport": 0.0004920788437138279, "Web/CloudOps": -8.124804797071672e-05}, "frequency": {"A": 0.005280689979137887, "D": -0.0006926506202743488, "H": -0.0012380989654035002, "M": 0.009666701537170863, "Q": -0.0009061802117398265, "S": 0.0006082628209642671, "T": -0.0006979922148865336, "W": 0.00853566969738706}, "variates": {"multivariate": -0.0005066536125989396, "univariate": 0.0007973993345600228}}}], "mean_delta": -0.0007988729989707732, "positive_cutoffs": 2, "outcome": "Predeclared secondary numerical/objective diagnostic only. Both runs use deterministic eager BF16. The new inactive head is an architectural difference but its loss and backbone gradients were verified equal to the old control. This comparison does not replace the recorded E181 tests or select an E186 candidate."} + +2026-10-24T06:35:32.825946+00:00: Original small-model endpoint review {"utc": "2026-10-24T06:35:32.825946+00:00", "experiment": "E186control", "run": "separate_mean_control", "role": "numerical_control_only", "endpoint": "primary", "step": 6000, "seed": 197, "parameters": 36801312, "checkpoint_sha256": "698d7ec680233917139382227734288868fec4b9a88257c736d7e7a823a2643f", "matched_control": "overflow_control", "matched_report": "/workspace/research/separate_mean_control6k_four_cutoff_comparison.json", "positive_cutoffs": 1, "mean_delta": -8.247167594591098e-05, "matched_comparison_passes": false, "source_gate_passed": null, "cutoff_skills": [0.3781246652918372, 0.3352422880563355, 0.3595818023325552, 0.3895400670748246], "group_skill_deltas": {"term": {"long": {"cutoffs": 4, "mean_delta": -9.269919454177322e-05, "positive": 1}, "medium": {"cutoffs": 4, "mean_delta": -0.00010884149099738005, "positive": 1}, "short": {"cutoffs": 4, "mean_delta": -7.25733655971561e-05, "positive": 1}}, "domain": {"Econ/Fin": {"cutoffs": 4, "mean_delta": 0.00018322225885533672, "positive": 3}, "Energy": {"cutoffs": 4, "mean_delta": -0.0001108890852343225, "positive": 2}, "Healthcare": {"cutoffs": 4, "mean_delta": -0.0009636399329860379, "positive": 0}, "Nature": {"cutoffs": 4, "mean_delta": -0.00017243863864443987, "positive": 1}, "Sales": {"cutoffs": 4, "mean_delta": -0.0001241388846126984, "positive": 2}, "Transport": {"cutoffs": 4, "mean_delta": -6.871685186393695e-05, "positive": 1}, "Web/CloudOps": {"cutoffs": 4, "mean_delta": 0.00019778861523193914, "positive": 3}}, "frequency": {"A": {"cutoffs": 4, "mean_delta": 4.065112323770048e-05, "positive": 2}, "D": {"cutoffs": 4, "mean_delta": -0.0003328382315167522, "positive": 1}, "H": {"cutoffs": 4, "mean_delta": 7.561270284237032e-05, "positive": 4}, "M": {"cutoffs": 4, "mean_delta": -0.0013188736341986085, "positive": 1}, "Q": {"cutoffs": 4, "mean_delta": 5.846669158884876e-05, "positive": 3}, "S": {"cutoffs": 4, "mean_delta": -0.00010467717910814245, "positive": 1}, "T": {"cutoffs": 4, "mean_delta": -9.187940528773697e-05, "positive": 0}, "W": {"cutoffs": 4, "mean_delta": 0.00048088107944316283, "positive": 4}}, "variates": {"multivariate": {"cutoffs": 4, "mean_delta": 1.883358175355787e-05, "positive": 3}, "univariate": {"cutoffs": 4, "mean_delta": -0.00016415236766853525, "positive": 1}}}, "evaluation_seconds": 1269.0702645778656, "training_phase_start": 0, "training_phase_loop_seconds_to_endpoint": 1661.9, "training_process_seconds": null, "related_original_seed": null, "cpu_review_seconds": 0.11840786086395383, "new_training": false, "new_neural_inference": false, "outcome": "Numerical-control diagnostic only; this is not an E186 candidate selection.", "interpretation": "The inactive-head deterministic numerical control wins1of4 versus historicalE80 with a small negative mean(-.000082471676). This is not a test of the separate-head treatment and does not qualify or reject E186. The actual treatment will be compared with this same-code same-mode control after its unchanged memory guard permits training. The secondary E181analysis remains separate from its prior rejection. Group averages are descriptive adaptive validation evidence, not independent test significance. Phase time is not total compute if resumed."} + +E160 6000 four-cutoff comparison: {"label": "E160 6000 four-cutoff comparison", "utc": "2026-10-24T06:36:36.810870+00:00", "candidate": "integrated_level_replication_ema6000", "control": "weekly_replication_control_ema6000", "rows": [{"cutoff": "evals", "candidate_skill": 0.37753537029007445, "control_skill": 0.3764059869702334, "delta": 0.0011293833198410264, "candidate_checkpoint": "dd2e773f3a8a536efc4c0c768a8790abd0880942f4583062f1a54845c4704c34", "control_checkpoint": "674137ac14bce26f6983cb68123e34d01ca598bb3ad72e81cbd197d138ed6104", "candidate_eval_seconds": 565.0477411746979, "candidate_groups": {"term": {"long": {"n_configs": 21, "rel_mase_gmean": 0.7424029937515083, "rel_wql_gmean": 0.47890139834636325}, "medium": {"n_configs": 21, "rel_mase_gmean": 0.7099645950193167, "rel_wql_gmean": 0.4937384618424142}, "short": {"n_configs": 55, "rel_mase_gmean": 0.7583396005548757, "rel_wql_gmean": 0.548569319396395}}, "domain": {"Econ/Fin": {"n_configs": 6, "rel_mase_gmean": 0.8745243262014947, "rel_wql_gmean": 0.845354546287464}, "Energy": {"n_configs": 32, "rel_mase_gmean": 0.8965519097894925, "rel_wql_gmean": 0.6445758924023457}, "Healthcare": {"n_configs": 5, "rel_mase_gmean": 0.5990706266276857, "rel_wql_gmean": 0.5278505022082838}, "Nature": {"n_configs": 15, "rel_mase_gmean": 0.8122925850180199, "rel_wql_gmean": 0.3983898844385583}, "Sales": {"n_configs": 4, "rel_mase_gmean": 0.8498729784173851, "rel_wql_gmean": 0.5225877408286353}, "Transport": {"n_configs": 15, "rel_mase_gmean": 0.6467436376381489, "rel_wql_gmean": 0.4446794587350143}, "Web/CloudOps": {"n_configs": 20, "rel_mase_gmean": 0.5628198751262881, "rel_wql_gmean": 0.43836978772833496}}, "frequency": {"A": {"n_configs": 1, "rel_mase_gmean": 0.6173718680205835, "rel_wql_gmean": 0.6463621490888795}, "D": {"n_configs": 15, "rel_mase_gmean": 0.7828673188410672, "rel_wql_gmean": 0.5392276853881606}, "H": {"n_configs": 31, "rel_mase_gmean": 0.7304238925154442, "rel_wql_gmean": 0.4988422990536452}, "M": {"n_configs": 5, "rel_mase_gmean": 0.9624411017995631, "rel_wql_gmean": 0.8187413255280434}, "Q": {"n_configs": 1, "rel_mase_gmean": 0.7724508342446864, "rel_wql_gmean": 0.8244009578493845}, "S": {"n_configs": 6, "rel_mase_gmean": 0.6581896949093362, "rel_wql_gmean": 0.5059208820600609}, "T": {"n_configs": 30, "rel_mase_gmean": 0.6927089985722514, "rel_wql_gmean": 0.45451889250687816}, "W": {"n_configs": 8, "rel_mase_gmean": 0.9051706192468141, "rel_wql_gmean": 0.677932514351215}}, "variates": {"multivariate": {"n_configs": 43, "rel_mase_gmean": 0.7101293173750896, "rel_wql_gmean": 0.5117231998351551}, "univariate": {"n_configs": 54, "rel_mase_gmean": 0.7724302231241784, "rel_wql_gmean": 0.5279008625471457}}}, "control_groups": {"term": {"long": {"n_configs": 21, "rel_mase_gmean": 0.7423520793155982, "rel_wql_gmean": 0.4787760930516074}, "medium": {"n_configs": 21, "rel_mase_gmean": 0.7108957302184202, "rel_wql_gmean": 0.49544398256669214}, "short": {"n_configs": 55, "rel_mase_gmean": 0.7601781653409367, "rel_wql_gmean": 0.5498223036137193}}, "domain": {"Econ/Fin": {"n_configs": 6, "rel_mase_gmean": 0.8774576028138481, "rel_wql_gmean": 0.8475316890174351}, "Energy": {"n_configs": 32, "rel_mase_gmean": 0.8988661021414461, "rel_wql_gmean": 0.6463834516983328}, "Healthcare": {"n_configs": 5, "rel_mase_gmean": 0.6006104281692445, "rel_wql_gmean": 0.524233793726234}, "Nature": {"n_configs": 15, "rel_mase_gmean": 0.8134935230540142, "rel_wql_gmean": 0.3997489668388505}, "Sales": {"n_configs": 4, "rel_mase_gmean": 0.8499103394938109, "rel_wql_gmean": 0.5219975994261501}, "Transport": {"n_configs": 15, "rel_mase_gmean": 0.6467190684113404, "rel_wql_gmean": 0.44452081778083646}, "Web/CloudOps": {"n_configs": 20, "rel_mase_gmean": 0.5634416431639562, "rel_wql_gmean": 0.4401382781033821}}, "frequency": {"A": {"n_configs": 1, "rel_mase_gmean": 0.6161471234928296, "rel_wql_gmean": 0.6463468715167274}, "D": {"n_configs": 15, "rel_mase_gmean": 0.7848816529444701, "rel_wql_gmean": 0.5402760226239798}, "H": {"n_configs": 31, "rel_mase_gmean": 0.7309935655071853, "rel_wql_gmean": 0.4990723913425074}, "M": {"n_configs": 5, "rel_mase_gmean": 0.9727178622288029, "rel_wql_gmean": 0.816056242029619}, "Q": {"n_configs": 1, "rel_mase_gmean": 0.7737575967731107, "rel_wql_gmean": 0.823275820013628}, "S": {"n_configs": 6, "rel_mase_gmean": 0.6574784363502988, "rel_wql_gmean": 0.5055662052073743}, "T": {"n_configs": 30, "rel_mase_gmean": 0.6939173128959706, "rel_wql_gmean": 0.45688555231972555}, "W": {"n_configs": 8, "rel_mase_gmean": 0.9049382682975748, "rel_wql_gmean": 0.6792210269186987}}, "variates": {"multivariate": {"n_configs": 43, "rel_mase_gmean": 0.7113196954989369, "rel_wql_gmean": 0.5136253484474166}, "univariate": {"n_configs": 54, "rel_mase_gmean": 0.7736792477740673, "rel_wql_gmean": 0.5282222076131846}}}, "group_skill_delta": {"term": {"long": -9.845652786200088e-05, "medium": 0.0014104912737752384, "short": 0.001518465323736451}, "domain": {"Econ/Fin": 0.0025490991996912626, "Energy": 0.0020469998032514036, "Healthcare": -0.0012100563110036822, "Nature": 0.0013905832396040596, "Sales": -0.0003617569719652769, "Transport": -0.00010585261804751944, "Web/CloudOps": 0.0012757662305543094}, "frequency": {"A": -0.0006343542989557527, "D": 0.0014674280819509944, "H": 0.0003745957042666781, "M": 0.0032621467257014647, "Q": 0.00012950796667765552, "S": -0.0005140737993957201, "T": 0.0019493956243753496, "W": 0.0006434454531272227}, "variates": {"multivariate": 0.0016253147234536192, "univariate": 0.0007105563551200733}}}, {"cutoff": "backcast_evals", "candidate_skill": 0.3387537999476884, "control_skill": 0.33686271636038767, "delta": 0.0018910835873007237, "candidate_checkpoint": "dd2e773f3a8a536efc4c0c768a8790abd0880942f4583062f1a54845c4704c34", "control_checkpoint": "674137ac14bce26f6983cb68123e34d01ca598bb3ad72e81cbd197d138ed6104", "candidate_eval_seconds": 26.951936960220337, "candidate_groups": {"term": {"long": {"n_configs": 21, "rel_mase_gmean": 0.7763247626662726, "rel_wql_gmean": 0.46610712450738484}, "medium": {"n_configs": 21, "rel_mase_gmean": 0.7698019665788363, "rel_wql_gmean": 0.5330639560738455}, "short": {"n_configs": 55, "rel_mase_gmean": 0.8130151525268835, "rel_wql_gmean": 0.5922950514128952}}, "domain": {"Econ/Fin": {"n_configs": 6, "rel_mase_gmean": 0.8606005366749623, "rel_wql_gmean": 0.7984908546652749}, "Energy": {"n_configs": 32, "rel_mase_gmean": 0.8887694694945416, "rel_wql_gmean": 0.6678898547944203}, "Healthcare": {"n_configs": 5, "rel_mase_gmean": 0.6323797973185896, "rel_wql_gmean": 0.5422528422288011}, "Nature": {"n_configs": 15, "rel_mase_gmean": 0.9296816808969157, "rel_wql_gmean": 0.4329520781054817}, "Sales": {"n_configs": 4, "rel_mase_gmean": 0.7295538957968635, "rel_wql_gmean": 0.49525183945783047}, "Transport": {"n_configs": 15, "rel_mase_gmean": 0.7374036474346424, "rel_wql_gmean": 0.5305717627605165}, "Web/CloudOps": {"n_configs": 20, "rel_mase_gmean": 0.66012489400721, "rel_wql_gmean": 0.45278883603029135}}, "frequency": {"A": {"n_configs": 1, "rel_mase_gmean": 0.6363267190982264, "rel_wql_gmean": 0.7182521255081532}, "D": {"n_configs": 15, "rel_mase_gmean": 0.8395008837156126, "rel_wql_gmean": 0.4979591773308238}, "H": {"n_configs": 31, "rel_mase_gmean": 0.7768441287354705, "rel_wql_gmean": 0.5152844048630487}, "M": {"n_configs": 5, "rel_mase_gmean": 0.8440868543887754, "rel_wql_gmean": 0.7694614144956973}, "Q": {"n_configs": 1, "rel_mase_gmean": 0.7623166503304667, "rel_wql_gmean": 0.7776235745508319}, "S": {"n_configs": 6, "rel_mase_gmean": 0.8536187656662816, "rel_wql_gmean": 0.5063168902004861}, "T": {"n_configs": 30, "rel_mase_gmean": 0.7632376278841986, "rel_wql_gmean": 0.572613754981718}, "W": {"n_configs": 8, "rel_mase_gmean": 0.8695860977161496, "rel_wql_gmean": 0.5818403279295445}}, "variates": {"multivariate": {"n_configs": 43, "rel_mase_gmean": 0.7872932671848178, "rel_wql_gmean": 0.5283060788072538}, "univariate": {"n_configs": 54, "rel_mase_gmean": 0.8020345320520691, "rel_wql_gmean": 0.5673046088065479}}}, "control_groups": {"term": {"long": {"n_configs": 21, "rel_mase_gmean": 0.7777899366370885, "rel_wql_gmean": 0.4666461848610854}, "medium": {"n_configs": 21, "rel_mase_gmean": 0.7712195810305081, "rel_wql_gmean": 0.5347223528001698}, "short": {"n_configs": 55, "rel_mase_gmean": 0.8157014297594425, "rel_wql_gmean": 0.594505327140644}}, "domain": {"Econ/Fin": {"n_configs": 6, "rel_mase_gmean": 0.8704620954888443, "rel_wql_gmean": 0.8078922620241903}, "Energy": {"n_configs": 32, "rel_mase_gmean": 0.8882606931279534, "rel_wql_gmean": 0.6674012951208939}, "Healthcare": {"n_configs": 5, "rel_mase_gmean": 0.6364743665086174, "rel_wql_gmean": 0.5427490496574564}, "Nature": {"n_configs": 15, "rel_mase_gmean": 0.9333553941257822, "rel_wql_gmean": 0.4343023693769805}, "Sales": {"n_configs": 4, "rel_mase_gmean": 0.7303166317693277, "rel_wql_gmean": 0.49604922755902825}, "Transport": {"n_configs": 15, "rel_mase_gmean": 0.7376993677473777, "rel_wql_gmean": 0.5310447538293593}, "Web/CloudOps": {"n_configs": 20, "rel_mase_gmean": 0.6636991675282037, "rel_wql_gmean": 0.45680163980850563}}, "frequency": {"A": {"n_configs": 1, "rel_mase_gmean": 0.6375256983912256, "rel_wql_gmean": 0.7191000346681787}, "D": {"n_configs": 15, "rel_mase_gmean": 0.8393218475657132, "rel_wql_gmean": 0.49833264680985245}, "H": {"n_configs": 31, "rel_mase_gmean": 0.7774058842744058, "rel_wql_gmean": 0.5160577664144067}, "M": {"n_configs": 5, "rel_mase_gmean": 0.8537317706164532, "rel_wql_gmean": 0.7830802392519056}, "Q": {"n_configs": 1, "rel_mase_gmean": 0.7650278022696294, "rel_wql_gmean": 0.7781637321579334}, "S": {"n_configs": 6, "rel_mase_gmean": 0.8543705568836895, "rel_wql_gmean": 0.5071897079925518}, "T": {"n_configs": 30, "rel_mase_gmean": 0.7667703361558642, "rel_wql_gmean": 0.5753639235453477}, "W": {"n_configs": 8, "rel_mase_gmean": 0.8733321780511988, "rel_wql_gmean": 0.5813284323450881}}, "variates": {"multivariate": {"n_configs": 43, "rel_mase_gmean": 0.7895839523280466, "rel_wql_gmean": 0.5300271513025459}, "univariate": {"n_configs": 54, "rel_mase_gmean": 0.804038086370608, "rel_wql_gmean": 0.5689301788513232}}}, "group_skill_delta": {"term": {"long": 0.0009154549052616812, "medium": 0.0015861595681061491, "short": 0.002441178002118738}, "domain": {"Econ/Fin": 0.009629609901090852, "Energy": -0.00050231861057215, "Healthcare": 0.002161465321977918, "Nature": 0.0022427938536483394, "Sales": 0.000798092044897114, "Transport": 0.00040420920080597167, "Web/CloudOps": 0.0039019064567668016}, "frequency": {"A": 0.0010359153016743505, "D": 0.00017344023167686906, "H": 0.0007034929169498216, "M": 0.011732417499527137, "Q": 0.0016357388480172652, "S": 0.0008560895763788379, "T": 0.003117506243238699, "W": 0.001216830833423166}, "variates": {"multivariate": 0.0019887181619852035, "univariate": 0.001808929465634379}}}, {"cutoff": "backcast2_evals", "candidate_skill": 0.36048629396497844, "control_skill": 0.3592811180029256, "delta": 0.001205175962052829, "candidate_checkpoint": "dd2e773f3a8a536efc4c0c768a8790abd0880942f4583062f1a54845c4704c34", "control_checkpoint": "674137ac14bce26f6983cb68123e34d01ca598bb3ad72e81cbd197d138ed6104", "candidate_eval_seconds": 24.32855200767517, "candidate_groups": {"term": {"long": {"n_configs": 19, "rel_mase_gmean": 0.8012177819839232, "rel_wql_gmean": 0.5050319571832642}, "medium": {"n_configs": 21, "rel_mase_gmean": 0.7563153813127069, "rel_wql_gmean": 0.4938020979468906}, "short": {"n_configs": 54, "rel_mase_gmean": 0.7623189814804001, "rel_wql_gmean": 0.5578679674753321}}, "domain": {"Econ/Fin": {"n_configs": 6, "rel_mase_gmean": 0.875132920704091, "rel_wql_gmean": 0.8928490977111503}, "Energy": {"n_configs": 32, "rel_mase_gmean": 0.8962412439807108, "rel_wql_gmean": 0.6484856145041564}, "Healthcare": {"n_configs": 5, "rel_mase_gmean": 0.6821599973348045, "rel_wql_gmean": 0.5851989015704744}, "Nature": {"n_configs": 15, "rel_mase_gmean": 0.7718264102379605, "rel_wql_gmean": 0.3656136540318659}, "Sales": {"n_configs": 3, "rel_mase_gmean": 0.5654097189402766, "rel_wql_gmean": 0.36709894428849765}, "Transport": {"n_configs": 14, "rel_mase_gmean": 0.6679276470297087, "rel_wql_gmean": 0.5005528035437126}, "Web/CloudOps": {"n_configs": 19, "rel_mase_gmean": 0.6821598555656245, "rel_wql_gmean": 0.47094227008932754}}, "frequency": {"A": {"n_configs": 1, "rel_mase_gmean": 0.5865578694663269, "rel_wql_gmean": 0.7274828639892409}, "D": {"n_configs": 15, "rel_mase_gmean": 0.7243287692700494, "rel_wql_gmean": 0.4473315573783929}, "H": {"n_configs": 30, "rel_mase_gmean": 0.7585579852443313, "rel_wql_gmean": 0.49178954346992076}, "M": {"n_configs": 4, "rel_mase_gmean": 0.8226884598437074, "rel_wql_gmean": 0.8516647682398808}, "Q": {"n_configs": 1, "rel_mase_gmean": 0.8276942203093156, "rel_wql_gmean": 0.8702652878722862}, "S": {"n_configs": 6, "rel_mase_gmean": 0.9136648551867115, "rel_wql_gmean": 0.5706826635606176}, "T": {"n_configs": 29, "rel_mase_gmean": 0.7526292953912793, "rel_wql_gmean": 0.5392330483837472}, "W": {"n_configs": 8, "rel_mase_gmean": 0.848205892318635, "rel_wql_gmean": 0.6392027920677253}}, "variates": {"multivariate": {"n_configs": 42, "rel_mase_gmean": 0.7809012085100333, "rel_wql_gmean": 0.5171272948172397}, "univariate": {"n_configs": 52, "rel_mase_gmean": 0.7589259928547654, "rel_wql_gmean": 0.5444369180245142}}}, "control_groups": {"term": {"long": {"n_configs": 19, "rel_mase_gmean": 0.8031247991695346, "rel_wql_gmean": 0.5063441900141398}, "medium": {"n_configs": 21, "rel_mase_gmean": 0.759271017733826, "rel_wql_gmean": 0.4942837438875637}, "short": {"n_configs": 54, "rel_mase_gmean": 0.7635103127299346, "rel_wql_gmean": 0.558620350413778}}, "domain": {"Econ/Fin": {"n_configs": 6, "rel_mase_gmean": 0.8829799182441074, "rel_wql_gmean": 0.9033007915779863}, "Energy": {"n_configs": 32, "rel_mase_gmean": 0.8960811237328992, "rel_wql_gmean": 0.6490530518856117}, "Healthcare": {"n_configs": 5, "rel_mase_gmean": 0.6827692086021916, "rel_wql_gmean": 0.5845693923485398}, "Nature": {"n_configs": 15, "rel_mase_gmean": 0.7754223586659996, "rel_wql_gmean": 0.3653264852073133}, "Sales": {"n_configs": 3, "rel_mase_gmean": 0.5625647121458199, "rel_wql_gmean": 0.3636579561955935}, "Transport": {"n_configs": 14, "rel_mase_gmean": 0.6680514846601735, "rel_wql_gmean": 0.5009103935786285}, "Web/CloudOps": {"n_configs": 19, "rel_mase_gmean": 0.6858285407478295, "rel_wql_gmean": 0.47293341913074566}}, "frequency": {"A": {"n_configs": 1, "rel_mase_gmean": 0.5860387955461611, "rel_wql_gmean": 0.7286211532403828}, "D": {"n_configs": 15, "rel_mase_gmean": 0.7269196928525937, "rel_wql_gmean": 0.44880565875856504}, "H": {"n_configs": 30, "rel_mase_gmean": 0.7584729987738923, "rel_wql_gmean": 0.4920220941901859}, "M": {"n_configs": 4, "rel_mase_gmean": 0.8121441530839135, "rel_wql_gmean": 0.8417102651757645}, "Q": {"n_configs": 1, "rel_mase_gmean": 0.8287813793543607, "rel_wql_gmean": 0.8713871032122515}, "S": {"n_configs": 6, "rel_mase_gmean": 0.9172508855779987, "rel_wql_gmean": 0.5711595531807128}, "T": {"n_configs": 29, "rel_mase_gmean": 0.7574199269295314, "rel_wql_gmean": 0.5414015001184371}, "W": {"n_configs": 8, "rel_mase_gmean": 0.8487218235695173, "rel_wql_gmean": 0.6393469997194787}}, "variates": {"multivariate": {"n_configs": 42, "rel_mase_gmean": 0.7842051278389427, "rel_wql_gmean": 0.5178220809914736}, "univariate": {"n_configs": 52, "rel_mase_gmean": 0.7594234945005031, "rel_wql_gmean": 0.5453398108764536}}}, "group_skill_delta": {"term": {"long": 0.0015834309441479233, "medium": 0.0014914981345564016, "short": 0.0009493174346500988}, "domain": {"Econ/Fin": 0.009135933495889703, "Energy": 0.0002653349370942415, "Healthcare": -5.800929033661362e-05, "Nature": 0.0010268859940425479, "Sales": -0.0032825118010185173, "Transport": 0.0002601177366022833, "Web/CloudOps": 0.0027222441320701174}, "frequency": {"A": 0.0002215259117982482, "D": 0.00195593687270601, "H": 0.00011016739781111173, "M": -0.010256179341640692, "Q": 0.0011043998472251015, "S": 0.001717905410574594, "T": 0.0033079831346327637, "W": 0.00030698549653540574}, "variates": {"multivariate": 0.0017705461877980389, "univariate": 0.0007436127617918009}}}, {"cutoff": "backcast3_evals", "candidate_skill": 0.38862726139292114, "control_skill": 0.38907521863271344, "delta": -0.00044795723979229596, "candidate_checkpoint": "dd2e773f3a8a536efc4c0c768a8790abd0880942f4583062f1a54845c4704c34", "control_checkpoint": "674137ac14bce26f6983cb68123e34d01ca598bb3ad72e81cbd197d138ed6104", "candidate_eval_seconds": 24.91844892501831, "candidate_groups": {"term": {"long": {"n_configs": 19, "rel_mase_gmean": 0.76570907377002, "rel_wql_gmean": 0.47879312094833226}, "medium": {"n_configs": 20, "rel_mase_gmean": 0.7702610898408607, "rel_wql_gmean": 0.5329025747789349}, "short": {"n_configs": 54, "rel_mase_gmean": 0.7155489875722788, "rel_wql_gmean": 0.5080005328877871}}, "domain": {"Econ/Fin": {"n_configs": 6, "rel_mase_gmean": 0.8278169183259537, "rel_wql_gmean": 0.827080909772126}, "Energy": {"n_configs": 32, "rel_mase_gmean": 0.8335136847204946, "rel_wql_gmean": 0.557811198403035}, "Healthcare": {"n_configs": 5, "rel_mase_gmean": 0.8206901457875588, "rel_wql_gmean": 0.6780757314178225}, "Nature": {"n_configs": 15, "rel_mase_gmean": 0.7157605659639152, "rel_wql_gmean": 0.3412817938844582}, "Sales": {"n_configs": 3, "rel_mase_gmean": 0.7564825602033771, "rel_wql_gmean": 0.47967123832811664}, "Transport": {"n_configs": 14, "rel_mase_gmean": 0.5446512461618912, "rel_wql_gmean": 0.45004889759350086}, "Web/CloudOps": {"n_configs": 18, "rel_mase_gmean": 0.7142418838148602, "rel_wql_gmean": 0.5166805203485821}}, "frequency": {"A": {"n_configs": 1, "rel_mase_gmean": 0.5292798254995195, "rel_wql_gmean": 0.8084973263025763}, "D": {"n_configs": 15, "rel_mase_gmean": 0.7336499171895561, "rel_wql_gmean": 0.4270382320814963}, "H": {"n_configs": 29, "rel_mase_gmean": 0.7245755178362303, "rel_wql_gmean": 0.4884001568670496}, "M": {"n_configs": 4, "rel_mase_gmean": 0.8843307491709967, "rel_wql_gmean": 0.8758735790981629}, "Q": {"n_configs": 1, "rel_mase_gmean": 0.719024768072838, "rel_wql_gmean": 0.7717428105773925}, "S": {"n_configs": 6, "rel_mase_gmean": 0.8478992219715583, "rel_wql_gmean": 0.6087214462632555}, "T": {"n_configs": 29, "rel_mase_gmean": 0.7035817704990055, "rel_wql_gmean": 0.46131614940149207}, "W": {"n_configs": 8, "rel_mase_gmean": 0.8050683278355656, "rel_wql_gmean": 0.6709541131036587}}, "variates": {"multivariate": {"n_configs": 41, "rel_mase_gmean": 0.7617320039794667, "rel_wql_gmean": 0.5147870664765485}, "univariate": {"n_configs": 52, "rel_mase_gmean": 0.718258715224794, "rel_wql_gmean": 0.5010917883718995}}}, "control_groups": {"term": {"long": {"n_configs": 19, "rel_mase_gmean": 0.7671142731116414, "rel_wql_gmean": 0.47916971922185897}, "medium": {"n_configs": 20, "rel_mase_gmean": 0.7691789126794641, "rel_wql_gmean": 0.5327740132487557}, "short": {"n_configs": 54, "rel_mase_gmean": 0.715186469179385, "rel_wql_gmean": 0.5068184655107872}}, "domain": {"Econ/Fin": {"n_configs": 6, "rel_mase_gmean": 0.8354342596603832, "rel_wql_gmean": 0.8357377255274399}, "Energy": {"n_configs": 32, "rel_mase_gmean": 0.8342617788501976, "rel_wql_gmean": 0.5573075943847307}, "Healthcare": {"n_configs": 5, "rel_mase_gmean": 0.7972742291272131, "rel_wql_gmean": 0.6590388193539706}, "Nature": {"n_configs": 15, "rel_mase_gmean": 0.7177945317735281, "rel_wql_gmean": 0.3409481388214971}, "Sales": {"n_configs": 3, "rel_mase_gmean": 0.7564395059888536, "rel_wql_gmean": 0.4796335352468516}, "Transport": {"n_configs": 14, "rel_mase_gmean": 0.5443616570651463, "rel_wql_gmean": 0.4495153491412182}, "Web/CloudOps": {"n_configs": 18, "rel_mase_gmean": 0.7144590925124263, "rel_wql_gmean": 0.5173883213055337}}, "frequency": {"A": {"n_configs": 1, "rel_mase_gmean": 0.5289225996632382, "rel_wql_gmean": 0.8103046826779774}, "D": {"n_configs": 15, "rel_mase_gmean": 0.7349960465094477, "rel_wql_gmean": 0.4267705081645206}, "H": {"n_configs": 29, "rel_mase_gmean": 0.7251125032253354, "rel_wql_gmean": 0.4886750306028493}, "M": {"n_configs": 4, "rel_mase_gmean": 0.8759774015027841, "rel_wql_gmean": 0.8655991309312683}, "Q": {"n_configs": 1, "rel_mase_gmean": 0.719352309068614, "rel_wql_gmean": 0.7733057960523231}, "S": {"n_configs": 6, "rel_mase_gmean": 0.8471349906333493, "rel_wql_gmean": 0.6030978365582621}, "T": {"n_configs": 29, "rel_mase_gmean": 0.7042550964089376, "rel_wql_gmean": 0.46188222870125517}, "W": {"n_configs": 8, "rel_mase_gmean": 0.799674894951322, "rel_wql_gmean": 0.6659800353030906}}, "variates": {"multivariate": {"n_configs": 41, "rel_mase_gmean": 0.7624402331967736, "rel_wql_gmean": 0.5141833494144036}, "univariate": {"n_configs": 52, "rel_mase_gmean": 0.717447678119841, "rel_wql_gmean": 0.5004410335678261}}}, "group_skill_delta": {"term": {"long": 0.000793626929996627, "medium": -0.000527453128094213, "short": -0.0008544309140915418}, "domain": {"Econ/Fin": 0.00813714660253062, "Energy": -2.0842066416060234e-06, "Healthcare": -0.02111389727951829, "Nature": 0.00045974191287656563, "Sales": -4.081605381989206e-05, "Transport": -0.00042512321757276483, "Web/CloudOps": 0.0005083800620475643}, "frequency": {"A": 0.0005097214639723235, "D": 0.00033762648229318515, "H": 0.000387832283387346, "M": -0.00931920090582139, "Q": 0.0009237674855758771, "S": -0.0036485875031154746, "T": 0.0006221487667973369, "W": -0.005186203347667062}, "variates": {"multivariate": -7.642635688698274e-05, "univariate": -0.0007282682299372123}}}], "mean_delta": 0.0009444214073505708, "positive_cutoffs": 3, "outcome": "Declared comparison checkpoints 6000,12000. No transfer formula or automatic publication is selected by this controller."} + +2026-10-24T06:36:53.943643+00:00: Original small-model endpoint review {"utc": "2026-10-24T06:36:53.943643+00:00", "experiment": "E160", "run": "integrated_level_replication", "role": "replication_source", "endpoint": "primary", "step": 6000, "seed": 523, "parameters": 36800800, "checkpoint_sha256": "dd2e773f3a8a536efc4c0c768a8790abd0880942f4583062f1a54845c4704c34", "matched_control": "weekly_replication_control", "matched_report": "/workspace/research/integrated_level_replication6k_four_cutoff_comparison.json", "positive_cutoffs": 3, "mean_delta": 0.0009444214073505708, "matched_comparison_passes": true, "source_gate_passed": true, "cutoff_skills": [0.37753537029007445, 0.3387537999476884, 0.36048629396497844, 0.38862726139292114], "group_skill_deltas": {"term": {"long": {"cutoffs": 4, "mean_delta": 0.0007985140628860576, "positive": 3}, "medium": {"cutoffs": 4, "mean_delta": 0.000990173962085894, "positive": 3}, "short": {"cutoffs": 4, "mean_delta": 0.0010136324616034365, "positive": 3}}, "domain": {"Econ/Fin": {"cutoffs": 4, "mean_delta": 0.00736294729980061, "positive": 4}, "Energy": {"cutoffs": 4, "mean_delta": 0.0004519829807829723, "positive": 2}, "Healthcare": {"cutoffs": 4, "mean_delta": -0.005055124389720167, "positive": 1}, "Nature": {"cutoffs": 4, "mean_delta": 0.0012800012500428781, "positive": 4}, "Sales": {"cutoffs": 4, "mean_delta": -0.000721748195476643, "positive": 1}, "Transport": {"cutoffs": 4, "mean_delta": 3.333777544699268e-05, "positive": 2}, "Web/CloudOps": {"cutoffs": 4, "mean_delta": 0.002102074220359698, "positive": 4}}, "frequency": {"A": {"cutoffs": 4, "mean_delta": 0.0002832020946222924, "positive": 3}, "D": {"cutoffs": 4, "mean_delta": 0.0009836079171567647, "positive": 4}, "H": {"cutoffs": 4, "mean_delta": 0.00039402207560373936, "positive": 4}, "M": {"cutoffs": 4, "mean_delta": -0.00114520400555837, "positive": 2}, "Q": {"cutoffs": 4, "mean_delta": 0.0009483535368739748, "positive": 4}, "S": {"cutoffs": 4, "mean_delta": -0.00039716657888944074, "positive": 2}, "T": {"cutoffs": 4, "mean_delta": 0.0022492584422610373, "positive": 4}, "W": {"cutoffs": 4, "mean_delta": -0.000754735391145317, "positive": 3}}, "variates": {"multivariate": {"cutoffs": 4, "mean_delta": 0.0013270381790874697, "positive": 3}, "univariate": {"cutoffs": 4, "mean_delta": 0.0006337075881522602, "positive": 3}}}, "evaluation_seconds": 641.2466790676117, "training_phase_start": 0, "training_phase_loop_seconds_to_endpoint": 1357.6, "training_process_seconds": null, "related_original_seed": {"original_seed": 197, "original_report": "/workspace/research/integrated_level6k_four_cutoff_comparison.json", "original_positive_cutoffs": 3, "original_mean_delta": 0.00041424589907729237, "note": "Only the original6000 replication gate can qualify the already-declared E171 engineering audit. Final12000 does not substitute for a failed primary. Any audit also requires its existing memory guard."}, "cpu_review_seconds": 0.13113377802073956, "new_training": false, "new_neural_inference": false, "outcome": "Original source gate passes; any follow-up remains separately declared and gated.", "interpretation": "Independent seed523 replication wins3of4 with positive mean+.000944421407, confirming the declared source condition together with seed197primary3of4+.000414245899. This qualifies only E171new recovery engineering under its unchanged14698MiBfree guard; no automatic production or publication. E160final12000comparison remains a separately reported endpoint and does not replace the primary condition. Group averages are descriptive adaptive validation evidence, not independent test significance. Phase time is not total compute if resumed."} + +2026-10-24T06:37:01.342932+00:00: Scheduled main-cutoff learning diagnostic {"utc": "2026-10-24T06:37:01.342932+00:00", "experiment": "E164", "run": "spectral_phase_individual", "step": 6000, "skill": 0.38350391453009813, "checkpoint_sha256": "bca83d228f218f56044ce37b1a4fbc84a2f2bb8a8f900ccb868b01621e4e0e14", "eval_seconds": 31.577781915664673, "comparisons": [{"control": "long_seasonal", "control_checkpoint_sha256": "ad45e0cfae574d3dc1be0b9720c9be0863db9ffe33891fdb22c86dfa83667253", "control_skill": 0.38227466722292214, "delta": 0.0012292473071759957, "group_deltas": {"term": {"long": 0.0004857221694788416, "medium": 0.0009069820210101387, "short": 0.0016638725595901072}, "domain": {"Econ/Fin": 0.0016991789780801403, "Energy": 0.0012191569658795975, "Healthcare": 0.005144293151269741, "Nature": 0.0014316005176550073, "Sales": 0.00022759507374436883, "Transport": 0.000650937199830004, "Web/CloudOps": 0.0005980408720163144}, "frequency": {"A": 7.04356457472688e-05, "D": 0.0033569243073633404, "H": 0.0013007761795281736, "M": -0.001571572146379152, "Q": 0.0005068582247500508, "S": -0.0017180190259594719, "T": 0.0010594909860248691, "W": 0.0014596442483985062}, "variates": {"multivariate": 0.0012277082938484396, "univariate": 0.0012298821302515472}}}], "decision": "Original primary main panel improves+.001229247307 against the declared E107matched control. All-four-cutoff primary source comparison remains required; no early replacement or parameter-transfer formula is selected. Final12000schedule remains unchanged.", "new_neural_inference": false, "new_training": false}. No additional training or inference. + +E165 six-expert grouped gate seed751 training started at 2026-10-24T06:39:17Z, after the declared dependency processes exited; required checkpoint files are present. Settings are unchanged from the declared comparison. + +E157 random_capacity_long_seasonal_halflr 48000 four-cutoff comparison: {"label": "E157 random_capacity_long_seasonal_halflr 48000 four-cutoff comparison", "utc": "2026-10-24T06:39:37.939649+00:00", "candidate": "random_capacity_long_seasonal_halflr_ema48000", "control": "random_capacity_1024_halflr_ema48000", "rows": [{"cutoff": "evals", "candidate_skill": 0.3719511873368052, "control_skill": 0.36570581958166615, "delta": 0.006245367755139064, "candidate_checkpoint": "1a0313fefb7a73facfa5ac588f96429d11bd012115374773c843499a465db9bf", "control_checkpoint": "ea9055d683b93a4691e77bd64d46e301302765673055fd9b32ddb3a3e2f749df", "candidate_eval_seconds": 38.12152719497681, "candidate_groups": {"term": {"long": {"n_configs": 21, "rel_mase_gmean": 0.7634041362314125, "rel_wql_gmean": 0.4967491525502759}, "medium": {"n_configs": 21, "rel_mase_gmean": 0.7272373319272241, "rel_wql_gmean": 0.4998320199899953}, "short": {"n_configs": 55, "rel_mase_gmean": 0.7501905482447674, "rel_wql_gmean": 0.5506705662725695}}, "domain": {"Econ/Fin": {"n_configs": 6, "rel_mase_gmean": 0.8973312221626074, "rel_wql_gmean": 0.8578882252514828}, "Energy": {"n_configs": 32, "rel_mase_gmean": 0.9066171491804081, "rel_wql_gmean": 0.6547248926794493}, "Healthcare": {"n_configs": 5, "rel_mase_gmean": 0.5933159208559132, "rel_wql_gmean": 0.518214120865381}, "Nature": {"n_configs": 15, "rel_mase_gmean": 0.8087628584849365, "rel_wql_gmean": 0.41374474195692496}, "Sales": {"n_configs": 4, "rel_mase_gmean": 0.8501643986717623, "rel_wql_gmean": 0.5178050260634071}, "Transport": {"n_configs": 15, "rel_mase_gmean": 0.6369188614977672, "rel_wql_gmean": 0.440197001882108}, "Web/CloudOps": {"n_configs": 20, "rel_mase_gmean": 0.5720827968044065, "rel_wql_gmean": 0.44636823246197715}}, "frequency": {"A": {"n_configs": 1, "rel_mase_gmean": 0.5977277500107722, "rel_wql_gmean": 0.6195173503796275}, "D": {"n_configs": 15, "rel_mase_gmean": 0.7411812177798635, "rel_wql_gmean": 0.5114571893867371}, "H": {"n_configs": 31, "rel_mase_gmean": 0.7272141045313917, "rel_wql_gmean": 0.5069098680806503}, "M": {"n_configs": 5, "rel_mase_gmean": 1.0326509024564325, "rel_wql_gmean": 0.8760219655468381}, "Q": {"n_configs": 1, "rel_mase_gmean": 0.7680786977083733, "rel_wql_gmean": 0.8228525116661176}, "S": {"n_configs": 6, "rel_mase_gmean": 0.6695745073613084, "rel_wql_gmean": 0.5112275808953677}, "T": {"n_configs": 30, "rel_mase_gmean": 0.7138864883570579, "rel_wql_gmean": 0.4726091090510881}, "W": {"n_configs": 8, "rel_mase_gmean": 0.9203804805410384, "rel_wql_gmean": 0.6783336154366156}}, "variates": {"multivariate": {"n_configs": 43, "rel_mase_gmean": 0.724059736476149, "rel_wql_gmean": 0.5270766448882152}, "univariate": {"n_configs": 54, "rel_mase_gmean": 0.7675965375025045, "rel_wql_gmean": 0.5275596682272778}}}, "control_groups": {"term": {"long": {"n_configs": 21, "rel_mase_gmean": 0.7662260094156811, "rel_wql_gmean": 0.5020347958679111}, "medium": {"n_configs": 21, "rel_mase_gmean": 0.7301951069360759, "rel_wql_gmean": 0.504117847493669}, "short": {"n_configs": 55, "rel_mase_gmean": 0.760169630057802, "rel_wql_gmean": 0.5569997956352839}}, "domain": {"Econ/Fin": {"n_configs": 6, "rel_mase_gmean": 0.9028304922158942, "rel_wql_gmean": 0.8610209443587438}, "Energy": {"n_configs": 32, "rel_mase_gmean": 0.9109454293905939, "rel_wql_gmean": 0.6586383074299472}, "Healthcare": {"n_configs": 5, "rel_mase_gmean": 0.5906912914017803, "rel_wql_gmean": 0.5056722543269967}, "Nature": {"n_configs": 15, "rel_mase_gmean": 0.8235409860259677, "rel_wql_gmean": 0.4231966180830639}, "Sales": {"n_configs": 4, "rel_mase_gmean": 0.827511700634232, "rel_wql_gmean": 0.5156149712576104}, "Transport": {"n_configs": 15, "rel_mase_gmean": 0.6493612164587901, "rel_wql_gmean": 0.44948344031797927}, "Web/CloudOps": {"n_configs": 20, "rel_mase_gmean": 0.579824052847299, "rel_wql_gmean": 0.45322822077685615}}, "frequency": {"A": {"n_configs": 1, "rel_mase_gmean": 0.602630505709834, "rel_wql_gmean": 0.6156602399781036}, "D": {"n_configs": 15, "rel_mase_gmean": 0.7586530974855328, "rel_wql_gmean": 0.5235946298319726}, "H": {"n_configs": 31, "rel_mase_gmean": 0.7435902027632983, "rel_wql_gmean": 0.5180310279395838}, "M": {"n_configs": 5, "rel_mase_gmean": 0.9983606322195729, "rel_wql_gmean": 0.8755961609165552}, "Q": {"n_configs": 1, "rel_mase_gmean": 0.763496329349679, "rel_wql_gmean": 0.8207236971111334}, "S": {"n_configs": 6, "rel_mase_gmean": 0.6652066754808894, "rel_wql_gmean": 0.512126307398621}, "T": {"n_configs": 30, "rel_mase_gmean": 0.7125876645731054, "rel_wql_gmean": 0.4722827561143623}, "W": {"n_configs": 8, "rel_mase_gmean": 0.9331507389139616, "rel_wql_gmean": 0.6806266270092172}}, "variates": {"multivariate": {"n_configs": 43, "rel_mase_gmean": 0.7296537216262745, "rel_wql_gmean": 0.5340631203218278}, "univariate": {"n_configs": 54, "rel_mase_gmean": 0.7755777292850502, "rel_wql_gmean": 0.5321111949818653}}}, "group_skill_delta": {"term": {"long": 0.004410709141223101, "medium": 0.003809353632375112, "short": 0.007968281138954425}, "domain": {"Econ/Fin": 0.004289818133691781, "Energy": 0.004141497280450324, "Healthcare": -0.007963927326375742, "Nature": 0.011890946786016765, "Sales": -0.010284818060327883, "Transport": 0.010756975886800246, "Web/CloudOps": 0.0073018648732123825}, "frequency": {"A": 0.0005855034543863491, "D": 0.014562493359674966, "H": 0.013496351938137474, "M": -0.01615206285595805, "Q": -0.003400982892539539, "S": -0.001399045623977413, "T": -0.0007290344652121084, "W": 0.006806301734198272}, "variates": {"multivariate": 0.006478339944094524, "univariate": 0.006053167283338823}}}, {"cutoff": "backcast_evals", "candidate_skill": 0.3319721491906581, "control_skill": 0.32329458248322396, "delta": 0.008677566707434137, "candidate_checkpoint": "1a0313fefb7a73facfa5ac588f96429d11bd012115374773c843499a465db9bf", "control_checkpoint": "ea9055d683b93a4691e77bd64d46e301302765673055fd9b32ddb3a3e2f749df", "candidate_eval_seconds": 38.151182889938354, "candidate_groups": {"term": {"long": {"n_configs": 21, "rel_mase_gmean": 0.7569690558304809, "rel_wql_gmean": 0.4651839381536496}, "medium": {"n_configs": 21, "rel_mase_gmean": 0.7866687263592, "rel_wql_gmean": 0.5441663901144635}, "short": {"n_configs": 55, "rel_mase_gmean": 0.8173519604841688, "rel_wql_gmean": 0.6072417745667281}}, "domain": {"Econ/Fin": {"n_configs": 6, "rel_mase_gmean": 0.8881187619588168, "rel_wql_gmean": 0.8222505964789979}, "Energy": {"n_configs": 32, "rel_mase_gmean": 0.8887584982595504, "rel_wql_gmean": 0.6734556876656543}, "Healthcare": {"n_configs": 5, "rel_mase_gmean": 0.7315306765285758, "rel_wql_gmean": 0.6540295210217965}, "Nature": {"n_configs": 15, "rel_mase_gmean": 0.910119094605573, "rel_wql_gmean": 0.4382380031699204}, "Sales": {"n_configs": 4, "rel_mase_gmean": 0.7341016269883233, "rel_wql_gmean": 0.4938376927422918}, "Transport": {"n_configs": 15, "rel_mase_gmean": 0.7383934412137508, "rel_wql_gmean": 0.5347363573515009}, "Web/CloudOps": {"n_configs": 20, "rel_mase_gmean": 0.6462406993726905, "rel_wql_gmean": 0.4549561736419541}}, "frequency": {"A": {"n_configs": 1, "rel_mase_gmean": 0.6213535757840026, "rel_wql_gmean": 0.6899006522358978}, "D": {"n_configs": 15, "rel_mase_gmean": 0.8329788371934546, "rel_wql_gmean": 0.498037115399427}, "H": {"n_configs": 31, "rel_mase_gmean": 0.7693349502269414, "rel_wql_gmean": 0.5160812872431758}, "M": {"n_configs": 5, "rel_mase_gmean": 0.8007910650687136, "rel_wql_gmean": 0.7826181462079088}, "Q": {"n_configs": 1, "rel_mase_gmean": 0.780788474470547, "rel_wql_gmean": 0.8036405358180805}, "S": {"n_configs": 6, "rel_mase_gmean": 0.8482680734971279, "rel_wql_gmean": 0.49927473752633567}, "T": {"n_configs": 30, "rel_mase_gmean": 0.7671227125293549, "rel_wql_gmean": 0.5931812070521005}, "W": {"n_configs": 8, "rel_mase_gmean": 0.959143887631332, "rel_wql_gmean": 0.6318534799185966}}, "variates": {"multivariate": {"n_configs": 43, "rel_mase_gmean": 0.7783467184210787, "rel_wql_gmean": 0.5348868316023208}, "univariate": {"n_configs": 54, "rel_mase_gmean": 0.8126339505611953, "rel_wql_gmean": 0.5803711293664487}}}, "control_groups": {"term": {"long": {"n_configs": 21, "rel_mase_gmean": 0.7676319992042302, "rel_wql_gmean": 0.4738931093823552}, "medium": {"n_configs": 21, "rel_mase_gmean": 0.787981557621373, "rel_wql_gmean": 0.5488845569014533}, "short": {"n_configs": 55, "rel_mase_gmean": 0.8304815248390428, "rel_wql_gmean": 0.6153299503263564}}, "domain": {"Econ/Fin": {"n_configs": 6, "rel_mase_gmean": 0.8906919158031346, "rel_wql_gmean": 0.815058802212814}, "Energy": {"n_configs": 32, "rel_mase_gmean": 0.9005203573711559, "rel_wql_gmean": 0.6814633675169673}, "Healthcare": {"n_configs": 5, "rel_mase_gmean": 0.7168698781265309, "rel_wql_gmean": 0.6527559620133767}, "Nature": {"n_configs": 15, "rel_mase_gmean": 0.9455002182033782, "rel_wql_gmean": 0.44783907054964206}, "Sales": {"n_configs": 4, "rel_mase_gmean": 0.7375375880624656, "rel_wql_gmean": 0.4978899167263304}, "Transport": {"n_configs": 15, "rel_mase_gmean": 0.7505377233731647, "rel_wql_gmean": 0.5469001658409332}, "Web/CloudOps": {"n_configs": 20, "rel_mase_gmean": 0.6473059048841175, "rel_wql_gmean": 0.4615460245475256}}, "frequency": {"A": {"n_configs": 1, "rel_mase_gmean": 0.6273515476886314, "rel_wql_gmean": 0.6832562579463534}, "D": {"n_configs": 15, "rel_mase_gmean": 0.8500120259463356, "rel_wql_gmean": 0.5045889398131562}, "H": {"n_configs": 31, "rel_mase_gmean": 0.7816347293880959, "rel_wql_gmean": 0.5261467639454889}, "M": {"n_configs": 5, "rel_mase_gmean": 0.8772312560549567, "rel_wql_gmean": 0.8138123688025778}, "Q": {"n_configs": 1, "rel_mase_gmean": 0.7744440021373574, "rel_wql_gmean": 0.804919618727554}, "S": {"n_configs": 6, "rel_mase_gmean": 0.8557516272626141, "rel_wql_gmean": 0.5060034785474197}, "T": {"n_configs": 30, "rel_mase_gmean": 0.7662604444194188, "rel_wql_gmean": 0.60071289848602}, "W": {"n_configs": 8, "rel_mase_gmean": 0.9512219248961163, "rel_wql_gmean": 0.6207020251452393}}, "variates": {"multivariate": {"n_configs": 43, "rel_mase_gmean": 0.7837447698899662, "rel_wql_gmean": 0.5425796960618176}, "univariate": {"n_configs": 54, "rel_mase_gmean": 0.8264145670475672, "rel_wql_gmean": 0.5877750107029568}}}, "group_skill_delta": {"term": {"long": 0.00973275935292961, "medium": 0.003378394795019224, "short": 0.010349636998528422}, "domain": {"Econ/Fin": -0.0025137283659165677, "Energy": 0.009718640889882169, "Healthcare": -0.007633299905551172, "Nature": 0.019171728511832686, "Sales": 0.0038784381999134032, "Transport": 0.012311124081232028, "Web/CloudOps": 0.004362774964821403}, "frequency": {"A": -2.319033730058262e-05, "D": 0.010817761979815321, "H": 0.011180738001859147, "M": 0.0532745457006768, "Q": -0.0025973212814722757, "S": 0.007254225459893404, "T": 0.0038874060944573685, "W": -0.010093263417621734}, "variates": {"multivariate": 0.006872968535241886, "univariate": 0.010201974359457466}}}, {"cutoff": "backcast2_evals", "candidate_skill": 0.357993931412682, "control_skill": 0.35160470672553856, "delta": 0.006389224687143424, "candidate_checkpoint": "1a0313fefb7a73facfa5ac588f96429d11bd012115374773c843499a465db9bf", "control_checkpoint": "ea9055d683b93a4691e77bd64d46e301302765673055fd9b32ddb3a3e2f749df", "candidate_eval_seconds": 40.62844634056091, "candidate_groups": {"term": {"long": {"n_configs": 19, "rel_mase_gmean": 0.7988482748801518, "rel_wql_gmean": 0.5058181252300161}, "medium": {"n_configs": 21, "rel_mase_gmean": 0.7357318213990909, "rel_wql_gmean": 0.493752001307068}, "short": {"n_configs": 54, "rel_mase_gmean": 0.7715848326761054, "rel_wql_gmean": 0.5650122955963605}}, "domain": {"Econ/Fin": {"n_configs": 6, "rel_mase_gmean": 0.9042886725196805, "rel_wql_gmean": 0.9199240400538327}, "Energy": {"n_configs": 32, "rel_mase_gmean": 0.9162831799902248, "rel_wql_gmean": 0.6576587254036388}, "Healthcare": {"n_configs": 5, "rel_mase_gmean": 0.7130279613026641, "rel_wql_gmean": 0.5901876644246316}, "Nature": {"n_configs": 15, "rel_mase_gmean": 0.7570124842096103, "rel_wql_gmean": 0.3666477366010944}, "Sales": {"n_configs": 3, "rel_mase_gmean": 0.564329134888715, "rel_wql_gmean": 0.356292050881245}, "Transport": {"n_configs": 14, "rel_mase_gmean": 0.6672462378124121, "rel_wql_gmean": 0.5042585792914864}, "Web/CloudOps": {"n_configs": 19, "rel_mase_gmean": 0.6540950017264676, "rel_wql_gmean": 0.4706307258201502}}, "frequency": {"A": {"n_configs": 1, "rel_mase_gmean": 0.5743803212480605, "rel_wql_gmean": 0.7363891393387244}, "D": {"n_configs": 15, "rel_mase_gmean": 0.7384203069770202, "rel_wql_gmean": 0.4482046432165334}, "H": {"n_configs": 30, "rel_mase_gmean": 0.7448073939207318, "rel_wql_gmean": 0.4874131442271941}, "M": {"n_configs": 4, "rel_mase_gmean": 0.7979416653340741, "rel_wql_gmean": 0.8387559755607334}, "Q": {"n_configs": 1, "rel_mase_gmean": 0.8447274172393997, "rel_wql_gmean": 0.89240653515557}, "S": {"n_configs": 6, "rel_mase_gmean": 0.8967936002314375, "rel_wql_gmean": 0.5606818868782525}, "T": {"n_configs": 29, "rel_mase_gmean": 0.7540432145228437, "rel_wql_gmean": 0.5563753834323169}, "W": {"n_configs": 8, "rel_mase_gmean": 0.8980309625683486, "rel_wql_gmean": 0.6534055786428518}}, "variates": {"multivariate": {"n_configs": 42, "rel_mase_gmean": 0.7724583367093509, "rel_wql_gmean": 0.5189998772424239}, "univariate": {"n_configs": 52, "rel_mase_gmean": 0.7658644101514941, "rel_wql_gmean": 0.5503610872352123}}}, "control_groups": {"term": {"long": {"n_configs": 19, "rel_mase_gmean": 0.799198836651633, "rel_wql_gmean": 0.5083793454350191}, "medium": {"n_configs": 21, "rel_mase_gmean": 0.7463335479874204, "rel_wql_gmean": 0.5011338817462773}, "short": {"n_configs": 54, "rel_mase_gmean": 0.7779454425187887, "rel_wql_gmean": 0.5724055090698651}}, "domain": {"Econ/Fin": {"n_configs": 6, "rel_mase_gmean": 0.9059392281424482, "rel_wql_gmean": 0.9170498199136256}, "Energy": {"n_configs": 32, "rel_mase_gmean": 0.9229906908943148, "rel_wql_gmean": 0.6675019661295902}, "Healthcare": {"n_configs": 5, "rel_mase_gmean": 0.734841894341525, "rel_wql_gmean": 0.6116742850572091}, "Nature": {"n_configs": 15, "rel_mase_gmean": 0.7734543581486872, "rel_wql_gmean": 0.3773819109757366}, "Sales": {"n_configs": 3, "rel_mase_gmean": 0.5580152105870264, "rel_wql_gmean": 0.346242621272549}, "Transport": {"n_configs": 14, "rel_mase_gmean": 0.6771185063355508, "rel_wql_gmean": 0.5120273822152274}, "Web/CloudOps": {"n_configs": 19, "rel_mase_gmean": 0.6493930915123108, "rel_wql_gmean": 0.4684840829186049}}, "frequency": {"A": {"n_configs": 1, "rel_mase_gmean": 0.5757754789323676, "rel_wql_gmean": 0.7506073236864369}, "D": {"n_configs": 15, "rel_mase_gmean": 0.7462412953404897, "rel_wql_gmean": 0.45707742537926555}, "H": {"n_configs": 30, "rel_mase_gmean": 0.7525910334040907, "rel_wql_gmean": 0.49461197896011505}, "M": {"n_configs": 4, "rel_mase_gmean": 0.8578606875633755, "rel_wql_gmean": 0.8985069372104241}, "Q": {"n_configs": 1, "rel_mase_gmean": 0.8435114806004179, "rel_wql_gmean": 0.8878177378147762}, "S": {"n_configs": 6, "rel_mase_gmean": 0.9018326086779128, "rel_wql_gmean": 0.5655384541730528}, "T": {"n_configs": 29, "rel_mase_gmean": 0.752029730550723, "rel_wql_gmean": 0.5571977017323565}, "W": {"n_configs": 8, "rel_mase_gmean": 0.9020241622665878, "rel_wql_gmean": 0.6527459993278196}}, "variates": {"multivariate": {"n_configs": 42, "rel_mase_gmean": 0.7720463809279969, "rel_wql_gmean": 0.5224474418278602}, "univariate": {"n_configs": 52, "rel_mase_gmean": 0.777356955621124, "rel_wql_gmean": 0.5592327522251774}}}, "group_skill_delta": {"term": {"long": 0.0017471363660558348, "medium": 0.008847985982293638, "short": 0.007039395241827173}, "domain": {"Econ/Fin": -0.0005952579923436119, "Energy": 0.008644971810088942, "Healthcare": 0.02172895564021249, "Nature": 0.013429602988137446, "Sales": -0.008848760702611869, "Transport": 0.008759373736543119, "Web/CloudOps": -0.00326000846392549}, "frequency": {"A": 0.007045505029552923, "D": 0.008734957151471101, "H": 0.007596378388873504, "M": 0.05985428537652182, "Q": -0.002858648720652557, "S": 0.005062411954894763, "T": -0.00038751414707549614, "W": 0.0013136151516356387}, "variates": {"multivariate": 0.0019300858039171809, "univariate": 0.010103797269748416}}}, {"cutoff": "backcast3_evals", "candidate_skill": 0.3781555068003688, "control_skill": 0.370990275990027, "delta": 0.007165230810341816, "candidate_checkpoint": "1a0313fefb7a73facfa5ac588f96429d11bd012115374773c843499a465db9bf", "control_checkpoint": "ea9055d683b93a4691e77bd64d46e301302765673055fd9b32ddb3a3e2f749df", "candidate_eval_seconds": 33.18018841743469, "candidate_groups": {"term": {"long": {"n_configs": 19, "rel_mase_gmean": 0.7694254516269158, "rel_wql_gmean": 0.47938532413687013}, "medium": {"n_configs": 20, "rel_mase_gmean": 0.7593466966109227, "rel_wql_gmean": 0.5289538034412645}, "short": {"n_configs": 54, "rel_mase_gmean": 0.7324160850115147, "rel_wql_gmean": 0.5293147740686861}}, "domain": {"Econ/Fin": {"n_configs": 6, "rel_mase_gmean": 0.8643564012955622, "rel_wql_gmean": 0.861982925517412}, "Energy": {"n_configs": 32, "rel_mase_gmean": 0.8348273502830732, "rel_wql_gmean": 0.5587541651566221}, "Healthcare": {"n_configs": 5, "rel_mase_gmean": 0.9274400864659815, "rel_wql_gmean": 0.7513326777982421}, "Nature": {"n_configs": 15, "rel_mase_gmean": 0.7229998340535378, "rel_wql_gmean": 0.3586365539178477}, "Sales": {"n_configs": 3, "rel_mase_gmean": 0.75407187750955, "rel_wql_gmean": 0.47853735878461756}, "Transport": {"n_configs": 14, "rel_mase_gmean": 0.5502022767005541, "rel_wql_gmean": 0.4584276026110062}, "Web/CloudOps": {"n_configs": 18, "rel_mase_gmean": 0.7087238940519189, "rel_wql_gmean": 0.5248979055343632}}, "frequency": {"A": {"n_configs": 1, "rel_mase_gmean": 0.5367369107865664, "rel_wql_gmean": 0.805426197324809}, "D": {"n_configs": 15, "rel_mase_gmean": 0.7868887308319414, "rel_wql_gmean": 0.4588146527596256}, "H": {"n_configs": 29, "rel_mase_gmean": 0.7299508402548266, "rel_wql_gmean": 0.49276622380279683}, "M": {"n_configs": 4, "rel_mase_gmean": 0.9057490332777336, "rel_wql_gmean": 0.8819769623777169}, "Q": {"n_configs": 1, "rel_mase_gmean": 0.7258318601722508, "rel_wql_gmean": 0.7599056621055705}, "S": {"n_configs": 6, "rel_mase_gmean": 0.8423638862886257, "rel_wql_gmean": 0.6101293232192169}, "T": {"n_configs": 29, "rel_mase_gmean": 0.6945800603710747, "rel_wql_gmean": 0.4725069681920805}, "W": {"n_configs": 8, "rel_mase_gmean": 0.8144938801338327, "rel_wql_gmean": 0.6744875306019561}}, "variates": {"multivariate": {"n_configs": 41, "rel_mase_gmean": 0.7685149074776951, "rel_wql_gmean": 0.5251023576092602}, "univariate": {"n_configs": 52, "rel_mase_gmean": 0.7280101826181552, "rel_wql_gmean": 0.5135867692408631}}}, "control_groups": {"term": {"long": {"n_configs": 19, "rel_mase_gmean": 0.7752169604856247, "rel_wql_gmean": 0.4888518915184839}, "medium": {"n_configs": 20, "rel_mase_gmean": 0.7650403788019358, "rel_wql_gmean": 0.5308175670777368}, "short": {"n_configs": 54, "rel_mase_gmean": 0.7467627077568808, "rel_wql_gmean": 0.5327531090955401}}, "domain": {"Econ/Fin": {"n_configs": 6, "rel_mase_gmean": 0.8620913672622541, "rel_wql_gmean": 0.8547318170618328}, "Energy": {"n_configs": 32, "rel_mase_gmean": 0.8441748859081236, "rel_wql_gmean": 0.5646289945902436}, "Healthcare": {"n_configs": 5, "rel_mase_gmean": 0.9376598848526552, "rel_wql_gmean": 0.7818664221169428}, "Nature": {"n_configs": 15, "rel_mase_gmean": 0.7456434741968527, "rel_wql_gmean": 0.3539286239241533}, "Sales": {"n_configs": 3, "rel_mase_gmean": 0.7618130413241728, "rel_wql_gmean": 0.48417506611634803}, "Transport": {"n_configs": 14, "rel_mase_gmean": 0.5607487049943833, "rel_wql_gmean": 0.46645306914905216}, "Web/CloudOps": {"n_configs": 18, "rel_mase_gmean": 0.716046053229904, "rel_wql_gmean": 0.5316021041051098}}, "frequency": {"A": {"n_configs": 1, "rel_mase_gmean": 0.5347671576614936, "rel_wql_gmean": 0.8122502371876661}, "D": {"n_configs": 15, "rel_mase_gmean": 0.8007894976355243, "rel_wql_gmean": 0.45286612793735087}, "H": {"n_configs": 29, "rel_mase_gmean": 0.7340762162135239, "rel_wql_gmean": 0.500516438169534}, "M": {"n_configs": 4, "rel_mase_gmean": 0.9220553371250699, "rel_wql_gmean": 0.9123288561939542}, "Q": {"n_configs": 1, "rel_mase_gmean": 0.7146849143809129, "rel_wql_gmean": 0.7593485849767106}, "S": {"n_configs": 6, "rel_mase_gmean": 0.8558536051666373, "rel_wql_gmean": 0.6309694826905562}, "T": {"n_configs": 29, "rel_mase_gmean": 0.711372174563038, "rel_wql_gmean": 0.4773308031413116}, "W": {"n_configs": 8, "rel_mase_gmean": 0.8219606642085736, "rel_wql_gmean": 0.6657419281727769}}, "variates": {"multivariate": {"n_configs": 41, "rel_mase_gmean": 0.7816389778004437, "rel_wql_gmean": 0.5342976538479055}, "univariate": {"n_configs": 52, "rel_mase_gmean": 0.7370987880405361, "rel_wql_gmean": 0.5143752681169628}}}, "group_skill_delta": {"term": {"long": 0.00827110125130448, "medium": 0.0034913202028599155, "short": 0.008107250717143133}, "domain": {"Econ/Fin": -0.004765142574147951, "Energy": 0.007414105705632834, "Healthcare": 0.021471980571119542, "Nature": 0.004507071636738136, "Sales": 0.006621729379058028, "Transport": 0.009209288876804389, "Web/CloudOps": 0.007045352624370116}, "frequency": {"A": 0.0015667961849277212, "D": 0.0013418693349478428, "H": 0.006403618525492982, "M": 0.0233952355826339, "Q": -0.005995032656214261, "S": 0.017955139451477864, "T": 0.009835527256511267, "W": -0.0014533345312396362}, "variates": {"multivariate": 0.010986283076773407, "univariate": 0.004277142996768291}}}], "mean_delta": 0.00711934749001461, "positive_cutoffs": 4, "outcome": "Declared comparison checkpoints 48000,96000. No transfer formula or automatic publication is selected by this controller."} + +2026-10-24T06:39:38.814725+00:00: Prepared fixedF5substitution tooling {"utc": "2026-10-24T06:39:17.768184+00:00", "purpose": "Prepare fixedF5replacement tooling for existing E184/E187 declarations; no new hypothesis, sourcecriterion, candidate, forecasts ortraining", "files": {"validate.py": "a03505b87e908d02646ae92344ca6d3f4d260620b319045cdc43b7be7fdf80e3", "check_composition.py": "c13efe98196dfa5239ec4df48c94fdfb8caa73dc183df7f853ca17e63abecf47", "check_runtime.py": "23f76673b768129dc763c259fe45743f3e211e3e103ea06608898c419be378a8", "assemble.py": "02c2818d3cb0523fcb2d547c8675611d6c9fe9eb9cfe2f3eebb1ded31f0d8796"}, "archived_components_checks": [{"config_id": "synthetic_H", "horizon": 384, "independent_archived_component_arithmetic_bitwise": true}, {"config_id": "synthetic_15T", "horizon": 960, "independent_archived_component_arithmetic_bitwise": true}], "optimizer_updates": 0, "new_inference": false, "seconds": 0.16324563696980476, "scope": "assemble.py rejectsunqualifiedsource/composition,currentcomparisonfailure,config/code/hashmismatch andpublicdestination; unchangedruntime onlyF5weights. GPUchecks requireseparate memoryreview,independentquartet,all6+gateforwardcounts andbothhorizonbranches. validate.py requiresrelocation,full97publicreplay,threewholeindependentrealconfigurations andcurrentcomparison; neverautopublishes.", "not_yet_done": "No candidate package, memoryreview, GPUruntime check or fullreplay has been run with these preparedtools.", "initial_file_hashes": {"validate.py": "a03505b87e908d02646ae92344ca6d3f4d260620b319045cdc43b7be7fdf80e3", "check_composition.py": "c13efe98196dfa5239ec4df48c94fdfb8caa73dc183df7f853ca17e63abecf47", "check_runtime.py": "23f76673b768129dc763c259fe45743f3e211e3e103ea06608898c419be378a8", "assemble.py": "f665491a891165b1b5851610f685d1c3ac7d161a22db46ed4e4702fef1b62606"}, "postinspection_guard_addition": "Standalone seasonal/continuity/zero-mass code must equal frozenparent sharedruntime. Guard checked on existing own F5package; metadata/code-only, no new forecasts.", "guard_review_utc": "2026-10-24T06:39:38.814725+00:00"} + +2026-10-24T06:39:53.754790+00:00: E184 endpoint result {"experiment": "E184", "step": 48000, "replacement_checkpoint_sha256": "1a0313fefb7a73facfa5ac588f96429d11bd012115374773c843499a465db9bf", "source_comparison": "/workspace/research/random_capacity_long_seasonal_halflr48k_four_cutoff_comparison.json", "source_gates": {"random_capacity_1024_halflr": {"checkpoint_sha256": "ea9055d683b93a4691e77bd64d46e301302765673055fd9b32ddb3a3e2f749df", "rows": [{"cutoff": "valid_screen", "skill": 0.3719511873368052, "delta": 0.006245367755139064}, {"cutoff": "valid_backcast", "skill": 0.3319721491906581, "delta": 0.008677566707434137}, {"cutoff": "valid_backcast2", "skill": 0.357993931412682, "delta": 0.006389224687143424}, {"cutoff": "valid_backcast3", "skill": 0.3781555068003688, "delta": 0.007165230810341816}], "positive": 4, "mean_delta": 0.00711934749001461}, "random_capacity_long_seasonal": {"checkpoint_sha256": "4b309f0721378f97db815dd511b8b54711348270c48e9eae0103dba506f66708", "rows": [{"cutoff": "valid_screen", "skill": 0.3719511873368052, "delta": 0.0033643752548959682}, {"cutoff": "valid_backcast", "skill": 0.3319721491906581, "delta": 0.0030101077948261334}, {"cutoff": "valid_backcast2", "skill": 0.357993931412682, "delta": 0.0035473131285670423}, {"cutoff": "valid_backcast3", "skill": 0.3781555068003688, "delta": 0.0012105777157477293}], "positive": 4, "mean_delta": 0.0027830934735092183}}, "optimizer_updates": 0, "new_neural_inference": false, "rows": [{"cutoff": "valid_screen", "skill": 0.3893952362453389, "delta_frozen": 3.446052841760139e-05, "groups": {"term": {"short": 0.37336422111926126, "medium": 0.4120371656135109, "long": 0.4074934973470534}, "domain": {"Econ/Fin": 0.1505323491750059, "Energy": 0.24805168539251277, "Healthcare": 0.4918478152537028, "Nature": 0.4434647034775504, "Sales": 0.3448294875272384, "Transport": 0.47547606465467585, "Web/CloudOps": 0.5084369401342579}, "freq": {"A-DEC": 0.3822384267140009, "Q-DEC": 0.20516638517885155, "M": 0.11866067970499594, "W-SUN": 0.10318915129287254, "D": 0.376974448415211, "H": 0.40508270870140717, "15T": 0.21769592494855006, "W-FRI": 0.020925229914958265, "10T": 0.6274465720997806, "W-TUE": 0.6281696549346201, "W-THU": 0.21380831260103572, "W-WED": 0.3270920463906992, "5T": 0.5222613086371499, "10S": 0.42477173671219737}}, "group_deltas_frozen": {"term": {"short": 0.00030902306398694623, "medium": -0.0003233702747115208, "long": -0.00028459724673801645}, "domain": {"Econ/Fin": -0.0002333900732010008, "Energy": -5.880452068063313e-05, "Healthcare": 0.0037580474939777897, "Nature": -0.000685488660679856, "Sales": -0.0005461528579028263, "Transport": -9.266794479900753e-05, "Web/CloudOps": -6.741081442140917e-05}, "freq": {"A-DEC": 0.00039502603921448554, "Q-DEC": -9.448616874363491e-05, "M": -0.0022290135921503307, "W-SUN": -0.002845663931288489, "D": 0.0012120165211084721, "H": 9.273117871588799e-05, "15T": -0.0004928879012837672, "W-FRI": 0.0008548024417057709, "10T": -0.00023096013860501863, "W-TUE": 0.007622957858138046, "W-THU": -0.002423918646559664, "W-WED": 0.00034320815717336917, "5T": -0.0004779560134606786, "10S": -0.0003048491216971483}}, "cpu_seconds": 2.968635051045567, "delta_current": 3.446052841760139e-05}, {"cutoff": "valid_backcast", "skill": 0.34594188221707856, "delta_frozen": 3.716137718312584e-05, "groups": {"term": {"short": 0.31391751840718585, "medium": 0.3637239053319228, "long": 0.4067801545799188}, "domain": {"Econ/Fin": 0.1812622927895836, "Energy": 0.2355346250634761, "Healthcare": 0.3999773457735214, "Nature": 0.38427037722001867, "Sales": 0.40822519526060586, "Transport": 0.379491216761042, "Web/CloudOps": 0.45943663554014846}, "freq": {"A-DEC": 0.33028717593926593, "Q-DEC": 0.2369637110193924, "M": 0.19342926318021159, "W-SUN": 0.056783639308473965, "D": 0.36381996328238075, "H": 0.37828542860358816, "15T": 0.22307164774769173, "W-FRI": 0.238254853575679, "10T": 0.3318927060784116, "W-TUE": 0.5477646932400735, "W-THU": 0.2671477515006848, "W-WED": 0.35816455192142904, "5T": 0.44807004464053957, "10S": 0.3479235141946019}}, "group_deltas_frozen": {"term": {"short": -0.00023726313954663958, "medium": 0.0002622745358555889, "long": 0.00044876100726654045}, "domain": {"Econ/Fin": -0.00033837935811487085, "Energy": 0.00023274831087960468, "Healthcare": -0.002148107259647758, "Nature": 0.00044173028505445355, "Sales": -0.0006139571917241904, "Transport": 0.00011194807066472467, "Web/CloudOps": 0.00018575104462159597}, "freq": {"A-DEC": -0.0005003729981825078, "Q-DEC": -4.1998950050525785e-05, "M": 0.0016751441601924322, "W-SUN": -0.0022785212415786793, "D": -0.0008619913067271501, "H": 0.00012927669606255243, "15T": 0.0007697031952426103, "W-FRI": -0.0014310480716054341, "10T": -7.798881417664383e-05, "W-TUE": -0.0004367890154383103, "W-THU": 0.00016876415791777788, "W-WED": -0.0015303610571233417, "5T": 0.000378773408502564, "10S": -8.038915079544573e-05}}, "cpu_seconds": 2.632703681010753, "delta_current": 3.716137718312584e-05}, {"cutoff": "valid_backcast2", "skill": 0.37039809529942713, "delta_frozen": 7.35770318591733e-05, "groups": {"term": {"short": 0.3572870056053843, "medium": 0.39916152576036035, "long": 0.37472332459500357}, "domain": {"Econ/Fin": 0.12982584221043536, "Energy": 0.24229032360664537, "Healthcare": 0.35777852794427767, "Nature": 0.48516525670257815, "Sales": 0.5589281085655841, "Transport": 0.42963067281780654, "Web/CloudOps": 0.4479678456959505}, "freq": {"A-DEC": 0.33876638085326904, "Q-DEC": 0.15627708102295979, "M": 0.1742667409045333, "W-SUN": 0.08154399490016861, "D": 0.4355470451842126, "H": 0.40128150702678067, "15T": 0.10796415504923196, "W-FRI": 0.14952074235696422, "10T": 0.510601171633501, "W-TUE": 0.14522297423474073, "W-THU": 0.3470400987956943, "W-WED": 0.5599191887865338, "5T": 0.4821305332078162, "10S": 0.2915270649461398}}, "group_deltas_frozen": {"term": {"short": 5.055746643611858e-05, "medium": 0.0003077641076973947, "long": -0.00013218631185418772}, "domain": {"Econ/Fin": 0.0003429759548929656, "Energy": 0.00019735355754457728, "Healthcare": -0.0005505875034091945, "Nature": 0.0001434225573926362, "Sales": -0.000854716990306259, "Transport": -3.305054384317163e-05, "Web/CloudOps": 0.00020420426183542784}, "freq": {"A-DEC": 0.0012530480781310915, "Q-DEC": 3.706347534127019e-05, "M": 0.0005611308076503008, "W-SUN": -0.00020258327313826818, "D": 2.0150468629909213e-05, "H": -0.000166462675165846, "15T": 0.0003572894947055927, "W-FRI": -0.00022464254842058384, "10T": 0.0005043075583655021, "W-TUE": -0.0034686946024986565, "W-THU": -0.0016157874023079444, "W-WED": -0.0006000379155592928, "5T": 0.0010360145365410078, "10S": -0.0008045866823963577}}, "cpu_seconds": 3.4236567029729486, "delta_current": 7.35770318591733e-05}, {"cutoff": "valid_backcast3", "skill": 0.3926457811326354, "delta_frozen": -0.00018912079654753722, "groups": {"term": {"short": 0.39756384748970874, "medium": 0.37230897174410815, "long": 0.399627353273884}, "domain": {"Econ/Fin": 0.19156702360950595, "Energy": 0.3198397760842212, "Healthcare": 0.23264769924560913, "Nature": 0.5068312365363083, "Sales": 0.40423924344345763, "Transport": 0.5128180065797074, "Web/CloudOps": 0.40067775935431893}, "freq": {"A-DEC": 0.36221514443620473, "Q-DEC": 0.26290887221355075, "M": 0.14447828455677325, "W-SUN": 0.1720323672230667, "D": 0.44248803999020847, "H": 0.4095336706385231, "15T": 0.2592001968732395, "W-FRI": 0.0422063218437303, "10T": 0.6052210281280814, "W-TUE": 0.28555509364838105, "W-THU": 0.3424252775528772, "W-WED": 0.37538124612455537, "5T": 0.4717763362859688, "10S": 0.29262577086603303}}, "group_deltas_frozen": {"term": {"short": -0.0004352236378344365, "medium": 0.0004145303256489763, "long": -9.924911680736503e-05}, "domain": {"Econ/Fin": -0.00028586879251035757, "Energy": 0.00043211315231073133, "Healthcare": -0.005318197025533267, "Nature": -0.0012443359773977036, "Sales": 0.0003745518787637847, "Transport": 0.0002110665917611776, "Web/CloudOps": 0.0005847658356726848}, "freq": {"A-DEC": 0.001184106034823329, "Q-DEC": 0.00020734095367858085, "M": -0.003346063343032446, "W-SUN": -0.002951688251361717, "D": -0.0019358300524636718, "H": 5.729004945442817e-05, "15T": 0.00029411488783137596, "W-FRI": 0.0008216662293881738, "10T": 0.0009620016575462298, "W-TUE": 0.0026361428863138636, "W-THU": -0.0011492649127403665, "W-WED": 0.0014947171590984354, "5T": 0.0005418774410835825, "10S": 0.0004356996415861847}}, "cpu_seconds": 2.189435923937708, "delta_current": -0.00018912079654753722}], "composition_gates": {"delta_frozen": {"positive": 3, "mean_delta": -1.098046477190917e-05}, "delta_current": {"positive": 3, "mean_delta": -1.098046477190917e-05}}, "current_descriptor": "a75fdfcbb4d8e38dd6e7cded3c097ff0a129976fa63277bfd277a6031ccc6140", "selection_gate_passed": false, "outcome": "cached comparison complete; separate runtime/full replay/current review required before any publication", "utc": "2026-10-24T06:39:53.754790+00:00"} + +2026-10-24T06:41:07.363617+00:00: Original fresh-model endpoint review {"utc": "2026-10-24T06:41:07.363617+00:00", "experiment": "E157half", "run": "random_capacity_long_seasonal_halflr", "endpoint": "primary", "step": 48000, "seed": 307, "parameters": 146575680, "checkpoint_sha256": "1a0313fefb7a73facfa5ac588f96429d11bd012115374773c843499a465db9bf", "initial_checkpoint": "/workspace/research/random_capacity_long_seasonal_initial.pt", "matched_control": "random_capacity_1024_halflr", "matched_report": "/workspace/research/random_capacity_long_seasonal_halflr48k_four_cutoff_comparison.json", "source_positive_cutoffs": 4, "source_mean_delta": 0.00711934749001461, "source_gate_passed": true, "cutoff_skills": [0.3719511873368052, 0.3319721491906581, 0.357993931412682, 0.3781555068003688], "group_skill_deltas": {"term": {"long": {"cutoffs": 4, "mean_delta": 0.0060404265278782565, "positive": 4}, "medium": {"cutoffs": 4, "mean_delta": 0.004881763653136972, "positive": 4}, "short": {"cutoffs": 4, "mean_delta": 0.008366141024113288, "positive": 4}}, "domain": {"Econ/Fin": {"cutoffs": 4, "mean_delta": -0.0008960776996790876, "positive": 1}, "Energy": {"cutoffs": 4, "mean_delta": 0.007479803921513567, "positive": 4}, "Healthcare": {"cutoffs": 4, "mean_delta": 0.006900927244851279, "positive": 2}, "Nature": {"cutoffs": 4, "mean_delta": 0.012249837480681258, "positive": 4}, "Sales": {"cutoffs": 4, "mean_delta": -0.00215835279599208, "positive": 2}, "Transport": {"cutoffs": 4, "mean_delta": 0.010259190645344946, "positive": 4}, "Web/CloudOps": {"cutoffs": 4, "mean_delta": 0.003862495999619603, "positive": 3}}, "frequency": {"A": {"cutoffs": 4, "mean_delta": 0.0022936535828916027, "positive": 3}, "D": {"cutoffs": 4, "mean_delta": 0.008864270456477308, "positive": 4}, "H": {"cutoffs": 4, "mean_delta": 0.009669271713590777, "positive": 4}, "M": {"cutoffs": 4, "mean_delta": 0.030093000950968618, "positive": 3}, "Q": {"cutoffs": 4, "mean_delta": -0.003712996387719658, "positive": 0}, "S": {"cutoffs": 4, "mean_delta": 0.007218182810572155, "positive": 3}, "T": {"cutoffs": 4, "mean_delta": 0.003151596184670258, "positive": 2}, "W": {"cutoffs": 4, "mean_delta": -0.0008566702657568648, "positive": 2}}, "variates": {"multivariate": {"cutoffs": 4, "mean_delta": 0.006566919340006749, "positive": 4}, "univariate": {"cutoffs": 4, "mean_delta": 0.007659020477328249, "positive": 4}}}, "evaluation_seconds": 150.08134484291077, "training_phase_start": 0, "training_phase_loop_seconds_to_endpoint": 10990.5, "training_log": "/workspace/research/random_capacity_long_seasonal_halflr_train.log", "training_process_seconds": null, "cpu_review_seconds": 0.4308773020748049, "new_training": false, "new_neural_inference": false, "outcome": "Source gate passes; only separately declared composition/full replay checks can qualify a new package.", "interpretation": "Originalprimary48 improvesall4 versusmatchedE94plainhalfLR(mean+.007119347490) andall4 versusE131seasonalhighLR(mean+.002783093474). The independently declared E184F5substitution neverthelessfailsitspositive-mean criterion(3of4,mean-.000010980465),so this is source improvement without a qualified ensemble improvement. No alternative weights or coefficient search. Retainoriginal96schedule and finalconditions. Adaptive validation evidence from one training seed; group averages are descriptive and are not an independent test. Phase loop time is not total compute when a run resumed."} + +2026-10-24T06:41:19.774969+00:00: E184primarycomposition review {"utc": "2026-10-24T06:41:19.774969+00:00", "experiment": "E184", "step": 48000, "checkpoint_sha256": "1a0313fefb7a73facfa5ac588f96429d11bd012115374773c843499a465db9bf", "source_gates": {"random_capacity_1024_halflr": {"checkpoint_sha256": "ea9055d683b93a4691e77bd64d46e301302765673055fd9b32ddb3a3e2f749df", "rows": [{"cutoff": "valid_screen", "skill": 0.3719511873368052, "delta": 0.006245367755139064}, {"cutoff": "valid_backcast", "skill": 0.3319721491906581, "delta": 0.008677566707434137}, {"cutoff": "valid_backcast2", "skill": 0.357993931412682, "delta": 0.006389224687143424}, {"cutoff": "valid_backcast3", "skill": 0.3781555068003688, "delta": 0.007165230810341816}], "positive": 4, "mean_delta": 0.00711934749001461}, "random_capacity_long_seasonal": {"checkpoint_sha256": "4b309f0721378f97db815dd511b8b54711348270c48e9eae0103dba506f66708", "rows": [{"cutoff": "valid_screen", "skill": 0.3719511873368052, "delta": 0.0033643752548959682}, {"cutoff": "valid_backcast", "skill": 0.3319721491906581, "delta": 0.0030101077948261334}, {"cutoff": "valid_backcast2", "skill": 0.357993931412682, "delta": 0.0035473131285670423}, {"cutoff": "valid_backcast3", "skill": 0.3781555068003688, "delta": 0.0012105777157477293}], "positive": 4, "mean_delta": 0.0027830934735092183}}, "skills": [0.3893952362453389, 0.34594188221707856, 0.37039809529942713, 0.3926457811326354], "gates": {"delta_frozen": {"positive": 3, "mean_delta": -1.098046477190917e-05}, "delta_current": {"positive": 3, "mean_delta": -1.098046477190917e-05}}, "group_skill_deltas": {"term": {"medium": 0.00016529967362260978, "short": -7.822656173950282e-05, "long": -1.681791703325719e-05}, "domain": {"Econ/Fin": -0.0001286655672333159, "Healthcare": -0.0010647110736531074, "Sales": -0.00041006879029237275, "Nature": -0.0003361679489076175, "Energy": 0.00020085262501357004, "Web/CloudOps": 0.00022682758192707486, "Transport": 4.9324043445930776e-05}, "freq": {"Q-DEC": 2.6979827556422586e-05, "H": 2.8208812266755645e-05, "10S": -0.00018853132832569175, "D": -0.00039141359236311013, "W-TUE": 0.0015884042816287358, "W-THU": -0.0012550517009225493, "15T": 0.00023205491912395293, "W-WED": -7.311841410270747e-05, "W-FRI": 5.194512766981685e-06, "A-DEC": 0.0005829517884965996, "5T": 0.00036967734316661893, "W-SUN": -0.0020696141743417884, "10T": 0.00028934006578251736, "M": -0.0008347004918350109}}, "probe_cpu_seconds": 11.214431358966976, "controller_probe_seconds": 11.990584603045136, "review_seconds": 0.000910949194803834, "optimizer_updates": 0, "new_inference": false, "selection_gate_passed": false, "outcome": "Reject originalprimary48fixedF5substitution:3positivecutoffs but mean-.000010980465 fails declaredpositive-mean criterion. Source improvesall4 versusbothcontrols, showing that stronger standaloneforecast neednot improve this fixed ensemble. No privatecandidate, memoryreview, GPUruntimeaudit orfullreplay. No alternate coefficient, horizonrule ormemberposition. Original96source/composition conditionsremain."} + +2026-10-24T06:41:20.108602+00:00: E164trainingcompletion {"utc": "2026-10-24T06:41:20.108602+00:00", "experiment": "E164", "run": "spectral_phase_individual", "step": 12000, "seed": 197, "parameters": 36948352, "checkpoint_sha256": "8621fda2eba691ec82134f713c86ed14f16e48d920c9497a07204df69a386948", "training_process_seconds": 2659.5567970869597, "training_loop_seconds": 2646.3, "matched_control": "long_seasonal", "initial_checkpoint_sha256": "7371efd4b00bfe69502521d94c24708ac520fcd763db1a9d7d3a0cd1e62db79b", "initial_parent": "long_seasonal_initial.pt", "parent_sha256": "470ef98d69d00b17defbf41c70a92b22574154cdb6e0317993bccf113e4af93b", "outcome": "Original12kallocationcomplete; E165six-expertgate startedinreplacementallocation. Primary6/final12allfour sourcecomparisons remainpending. No transfer/composition chosen. Neverresume originalcompletedrun asnewexperiment."} + +2026-10-24T06:43:16.672661+00:00: Runtime-only candidate {"utc": "2026-10-24T06:43:12.673734+00:00", "study": "E172 runtime allocation revision", "purpose": "Avoid large-page compaction stalls demonstrated by identical synthetic arrays and exact97cachedscores. Forecasting arithmetic and allweights areunchanged.", "parent_descriptor": "a75fdfcbb4d8e38dd6e7cded3c097ff0a129976fa63277bfd277a6031ccc6140", "parent_runtime_code_sha256": {"model5.py": "3eaa4aed0a1c62b80d94be6c3084b10a594e9fce17444eac17ca3f1b0b5c549e", "ts_io.py": "1064d1a95a59e7edd6ed33e9a6d58c83c17fa3886acb1fb54e3652d9326ee436", "zero_mass.py": "f079d509009bcda409b80eb64467c869b838cfbab11b2bd4c660c2875b6642fe", "infer.sh": "559615bb41d4c3c560653bbf2da9102a0934ad6498ce30f029c29da882e2a0b7", "model2.py": "89bb87b2501b117ac02daf001a68f389ec488931ce18905445d15874760685be", "model1.py": "c27748fa4b1186b513f76eca26052753b8dcd1794994e5989addaf371ca70f2e", "seasonal.py": "b946e63048196ab5ea8b249137d48c80d8510943caccd0f180e4fb86d9b24b37", "model4.py": "44eeb23c037e91b8f67e432615ce46540a7ac4242919785f9c4218de23121499", "model.py": "c27748fa4b1186b513f76eca26052753b8dcd1794994e5989addaf371ca70f2e", "gate_model.py": "d596abae7946c917d748fa41bf3c1b5930b9afc3fcfa54e671e8f65a66ad7586", "model0.py": "0d9557eca352e3c493f47c310355aa576da2e75c8f7cb5b69786c3d162644f38", "gate_frequency.py": "eb08437794e3c2493f3760aa39ad8bde268a8351d33fb868bc0f553bc13eb720", "gate_normalization.py": "77226d599c15fbe6e442d0fd7cc5c43387b6f3669830e4b1f5754d9cdb4268c1", "predict.py": "00b9d7cf2b12db47a95b28044255537334232b4cff4715d64ee18147efd47e29", "model3.py": "44eeb23c037e91b8f67e432615ce46540a7ac4242919785f9c4218de23121499", "continuity.py": "dbb08d2229ad80ad00f638b0b9f2f6ca13c663e0fd6730058e5fee8ff54545d5"}, "parent_full_report": "/workspace/research/valid-report-gate-six-blend.json", "parent_predictions": "/workspace/research/valid-pred-gate-six-blend", "changed_factor": "infer.sh additionally exports NUMPY_MADVISE_HUGEPAGE=0 beforePython starts. No other executablecode or numericalsetting changes.", "parameters": 549432812, "pretrained_assets": [], "sources_used": ["gifteval_pretrain/BEIJING_SUBWAY_30MIN", "gifteval_pretrain/HZMETRO", "gifteval_pretrain/LOS_LOOP", "gifteval_pretrain/PEMS03", "gifteval_pretrain/PEMS04", "gifteval_pretrain/PEMS07", "gifteval_pretrain/PEMS08", "gifteval_pretrain/PEMS_BAY", "gifteval_pretrain/Q-TRAFFIC", "gifteval_pretrain/SHMETRO", "gifteval_pretrain/alibaba_cluster_trace_2018", "gifteval_pretrain/australian_electricity_demand", "gifteval_pretrain/azure_vm_traces_2017", "gifteval_pretrain/bdg-2_bear", "gifteval_pretrain/bdg-2_fox", "gifteval_pretrain/bdg-2_panther", "gifteval_pretrain/bdg-2_rat", "gifteval_pretrain/bitcoin_with_missing", "gifteval_pretrain/borealis", "gifteval_pretrain/borg_cluster_data_2011", "gifteval_pretrain/buildings_900k", "gifteval_pretrain/bull", "gifteval_pretrain/cdc_fluview_ilinet", "gifteval_pretrain/cdc_fluview_who_nrevss", "gifteval_pretrain/china_air_quality", "gifteval_pretrain/cif_2016_12", "gifteval_pretrain/cif_2016_6", "gifteval_pretrain/cmip6_2000", "gifteval_pretrain/cmip6_2005", "gifteval_pretrain/cmip6_2010", "gifteval_pretrain/cockatoo", "gifteval_pretrain/covid19_energy", "gifteval_pretrain/covid_mobility", "gifteval_pretrain/elecdemand", "gifteval_pretrain/elf", "gifteval_pretrain/era5_2010", "gifteval_pretrain/era5_2011", "gifteval_pretrain/era5_2012", "gifteval_pretrain/era5_2013", "gifteval_pretrain/era5_2014", "gifteval_pretrain/era5_2015", "gifteval_pretrain/era5_2016", "gifteval_pretrain/era5_2017", "gifteval_pretrain/era5_2018", "gifteval_pretrain/extended_web_traffic_with_missing", "gifteval_pretrain/favorita_sales", "gifteval_pretrain/favorita_transactions", "gifteval_pretrain/gfc12_load", "gifteval_pretrain/gfc14_load", "gifteval_pretrain/gfc17_load", "gifteval_pretrain/godaddy", "gifteval_pretrain/hog", "gifteval_pretrain/ideal", "gifteval_pretrain/kaggle_web_traffic_weekly", "gifteval_pretrain/kdd2022", "gifteval_pretrain/largest_2017", "gifteval_pretrain/largest_2018", "gifteval_pretrain/largest_2019", "gifteval_pretrain/largest_2020", "gifteval_pretrain/largest_2021", "gifteval_pretrain/lcl", "gifteval_pretrain/london_smart_meters_with_missing", "gifteval_pretrain/m1_monthly", "gifteval_pretrain/m1_quarterly", "gifteval_pretrain/m1_yearly", "gifteval_pretrain/m5", "gifteval_pretrain/monash_m3_monthly", "gifteval_pretrain/monash_m3_other", "gifteval_pretrain/monash_m3_quarterly", "gifteval_pretrain/nn5_daily_with_missing", "gifteval_pretrain/nn5_weekly", "gifteval_pretrain/oikolab_weather", "gifteval_pretrain/pdb", "gifteval_pretrain/project_tycho", "gifteval_pretrain/residential_load_power", "gifteval_pretrain/residential_pv_power", "gifteval_pretrain/rideshare_with_missing", "gifteval_pretrain/sceaux", "gifteval_pretrain/smart", "gifteval_pretrain/solar_power", "gifteval_pretrain/spain", "gifteval_pretrain/subseasonal", "gifteval_pretrain/subseasonal_precip", "gifteval_pretrain/sunspot_with_missing", "gifteval_pretrain/taxi_30min", "gifteval_pretrain/tourism_quarterly", "gifteval_pretrain/tourism_yearly", "gifteval_pretrain/traffic_hourly", "gifteval_pretrain/traffic_weekly", "gifteval_pretrain/uber_tlc_daily", "gifteval_pretrain/uber_tlc_hourly", "gifteval_pretrain/vehicle_trips_with_missing", "gifteval_pretrain/wiki-rolling_nips", "gifteval_pretrain/wind_farms_with_missing", "gifteval_pretrain/wind_power", "synthetic:both original and sign-reflected orientations of each sampled allowed or locally generated window; paired quantile loss, seed 197", "synthetic:both original and sign-reflected orientations of each sampled allowed or locally generated window; paired quantile loss, seed 307", "synthetic:both original and sign-reflected orientations of each sampled allowed or locally generated window; paired quantile loss, seed 401", "synthetic:both original and sign-reflected orientations of each sampled allowed or locally generated window; paired quantile loss, seed 809", "synthetic:both original and sign-reflected orientations of each sampled window, seed 197", "synthetic:independent sign reflection of allowed-corpus and locally generated windows; gate training seed 751", "synthetic:independent sign reflection of sampled allowed-corpus and locally generated windows; seeds 43,47,59,79,89,197", "synthetic:own Fourier/trend/AR/intermittent/changepoint generator at weekly periods52,1, replacing a Bernoulli1/11 share of the original synthetic rows with unchanged total synthetic fraction; independent seed 1000200", "synthetic:own Fourier/trend/intermittent generator with AR time constant log-uniform from 1 to 10000 steps and zero initial state; seed 307", "synthetic:own Fourier/trend/intermittent generator with AR time constant log-uniform from 1 to 10000 steps and zero initial state; seed 79", "synthetic:own Fourier/trend/intermittent generator with AR time constant log-uniform from 1 to 10000 steps and zero initial state; seed 809", "synthetic:own direct_v1 Fourier seasons, damped trends, AR noise with coefficient uniform(0.2,0.995), changepoints and intermittent demand; gate training seed 751", "synthetic:own direct_v1 Fourier seasons, damped trends, AR noise, changepoints and intermittent demand; seeds 23,43,47,59,79,89,197", "synthetic:own direct_v1 Fourier seasons, damped trends, AR noise, changepoints and intermittent demand; seeds 23,43,47,59,79,89,197,401", "synthetic:own direct_v1 Fourier seasons, damped trends, AR noise, changepoints and intermittent demand; seeds 23,43,47,59,79,89,197,503,577,661", "synthetic:own direct_v1 Fourier seasons, damped trends, AR noise, changepoints and intermittent demand; seeds 307", "synthetic:own direct_v1 Fourier seasons, damped trends, AR noise, changepoints and intermittent demand; seeds 307,809", "synthetic:own random requested-horizon prefixes, half full and half patch-rounded one-quarter to full; gate training independent seed 300754", "synthetic:own random requested-horizon prefixes, half of rows retain the full horizon and half use a patch-rounded prefix between one-quarter and the full horizon; independent seed 300200", "synthetic:own random requested-horizon prefixes, half of rows retain the full horizon and half use a patch-rounded prefix between one-quarter and the full horizon; independent seed 300310", "synthetic:own random requested-horizon prefixes, half of rows retain the full horizon and half use a patch-rounded prefix between one-quarter and the full horizon; independent seed 300404", "synthetic:own random requested-horizon prefixes, half of rows retain the full horizon and half use a patch-rounded prefix between one-quarter and the full horizon; independent seed 300812", "synthetic:own stationary Gaussian residuals generated by FFT, equal Matern0.5/1.5/2.5 and RBF spectral families, length scale log-uniform1to10000, theoretical unit marginal variance, FFT size next power of two at least4times window; replacing half of original synthetic residuals with all other generator components unchanged; independent seed 1100200"], "seed": "unchanged immutable owntrained weights; no training", "optimizer_updates": 0, "minimum_free_before_gpu_checks_mib": 16000, "physical_gpus": 1, "selection": "Require unchanged allweight/config/Pythonhashes, exactall97fullpublic forecasts and scorerfields versusverifiedE172, finiteordered outputs and deterministicrelocation of3realexamples. No rewardgain claim. Review completedresults beforeatomicpublication; refuse tooverwriteanynewerforecastmodel.", "limitation": "Original andnew fullruntime measurements occur underdifferent concurrent workloads. ControlledCPUallocation evidence supports robustness; do not infer a precise GPUthroughput improvement."} Preparation {"utc": "2026-10-24T06:43:16.672661+00:00", "package": "/workspace/research/candidate-gate-six-blend-numpy-pagehint-off", "descriptor_sha256": "a75fdfcbb4d8e38dd6e7cded3c097ff0a129976fa63277bfd277a6031ccc6140", "runtime_revision_sha256": "cf56c32102237cc5f685930a88094ad9ea375053e6b7b33b70b65281ea605493", "weights_and_forecasting_python_unchanged": true, "seconds": 6.225768367992714, "public_package_changed": false, "optimizer_updates": 0} + +E186 secondary inactive-head numerical control versus E80 12000 four-cutoff comparison: {"label": "E186 secondary inactive-head numerical control versus E80 12000 four-cutoff comparison", "utc": "2026-10-24T06:43:37.586486+00:00", "candidate": "separate_mean_control_ema12000", "control": "overflow_control_ema12000", "rows": [{"cutoff": "evals", "candidate_skill": 0.37725738197946956, "control_skill": 0.37742394607564755, "delta": -0.00016656409617799017, "candidate_checkpoint": "5c4a19d84d21fdb11f2cdeb4c30842deebadcab11c8c90cd67692ac2c6acf8af", "control_checkpoint": "f11d056b95f1c5eeef174265ebc51742952600e0dae1fa52900860447d5be819", "candidate_eval_seconds": 256.9452905654907, "candidate_groups": {"term": {"long": {"n_configs": 21, "rel_mase_gmean": 0.7431484935937821, "rel_wql_gmean": 0.4802575315015591}, "medium": {"n_configs": 21, "rel_mase_gmean": 0.7138705595958431, "rel_wql_gmean": 0.4954750049533645}, "short": {"n_configs": 55, "rel_mase_gmean": 0.7582223783201989, "rel_wql_gmean": 0.546833748128196}}, "domain": {"Econ/Fin": {"n_configs": 6, "rel_mase_gmean": 0.8816634771401348, "rel_wql_gmean": 0.8573981690417164}, "Energy": {"n_configs": 32, "rel_mase_gmean": 0.9029775669083792, "rel_wql_gmean": 0.6459897114164977}, "Healthcare": {"n_configs": 5, "rel_mase_gmean": 0.5885611233446931, "rel_wql_gmean": 0.5145529175799125}, "Nature": {"n_configs": 15, "rel_mase_gmean": 0.8130843568973405, "rel_wql_gmean": 0.40182223145472007}, "Sales": {"n_configs": 4, "rel_mase_gmean": 0.8531702796851076, "rel_wql_gmean": 0.5215925690289742}, "Transport": {"n_configs": 15, "rel_mase_gmean": 0.6445870278566211, "rel_wql_gmean": 0.4415745580787148}, "Web/CloudOps": {"n_configs": 20, "rel_mase_gmean": 0.5616665592706033, "rel_wql_gmean": 0.436520668811769}}, "frequency": {"A": {"n_configs": 1, "rel_mase_gmean": 0.6255360933597303, "rel_wql_gmean": 0.6531326856429365}, "D": {"n_configs": 15, "rel_mase_gmean": 0.7822627026733531, "rel_wql_gmean": 0.5388481900721499}, "H": {"n_configs": 31, "rel_mase_gmean": 0.733220150997632, "rel_wql_gmean": 0.49976651404108424}, "M": {"n_configs": 5, "rel_mase_gmean": 0.9749205907306312, "rel_wql_gmean": 0.8266126973276721}, "Q": {"n_configs": 1, "rel_mase_gmean": 0.7800721199402327, "rel_wql_gmean": 0.8261760357413059}, "S": {"n_configs": 6, "rel_mase_gmean": 0.655083876442207, "rel_wql_gmean": 0.5044968694270142}, "T": {"n_configs": 30, "rel_mase_gmean": 0.6917133416723916, "rel_wql_gmean": 0.45289580438672805}, "W": {"n_configs": 8, "rel_mase_gmean": 0.9057468210465649, "rel_wql_gmean": 0.6758873051410523}}, "variates": {"multivariate": {"n_configs": 43, "rel_mase_gmean": 0.7115448277592755, "rel_wql_gmean": 0.512433251481411}, "univariate": {"n_configs": 54, "rel_mase_gmean": 0.773033598894967, "rel_wql_gmean": 0.5269163990452318}}}, "control_groups": {"term": {"long": {"n_configs": 21, "rel_mase_gmean": 0.7430904415695668, "rel_wql_gmean": 0.4803877697002309}, "medium": {"n_configs": 21, "rel_mase_gmean": 0.7132918126148858, "rel_wql_gmean": 0.4952594111267713}, "short": {"n_configs": 55, "rel_mase_gmean": 0.7578628359813909, "rel_wql_gmean": 0.5467970503421377}}, "domain": {"Econ/Fin": {"n_configs": 6, "rel_mase_gmean": 0.8820089901245588, "rel_wql_gmean": 0.8576370610661226}, "Energy": {"n_configs": 32, "rel_mase_gmean": 0.9027748652932497, "rel_wql_gmean": 0.6461208417787276}, "Healthcare": {"n_configs": 5, "rel_mase_gmean": 0.5860981811462721, "rel_wql_gmean": 0.5145960110698827}, "Nature": {"n_configs": 15, "rel_mase_gmean": 0.8131107048238599, "rel_wql_gmean": 0.4016810458988802}, "Sales": {"n_configs": 4, "rel_mase_gmean": 0.8527673973406287, "rel_wql_gmean": 0.5213825017868637}, "Transport": {"n_configs": 15, "rel_mase_gmean": 0.6445705043805339, "rel_wql_gmean": 0.44151518253827515}, "Web/CloudOps": {"n_configs": 20, "rel_mase_gmean": 0.5611845549171244, "rel_wql_gmean": 0.43637179177338026}}, "frequency": {"A": {"n_configs": 1, "rel_mase_gmean": 0.6256068773709946, "rel_wql_gmean": 0.6531531717628165}, "D": {"n_configs": 15, "rel_mase_gmean": 0.7810498071209858, "rel_wql_gmean": 0.5387984968910804}, "H": {"n_configs": 31, "rel_mase_gmean": 0.7331074392934215, "rel_wql_gmean": 0.4999416190250625}, "M": {"n_configs": 5, "rel_mase_gmean": 0.9734095428884114, "rel_wql_gmean": 0.8253812557813238}, "Q": {"n_configs": 1, "rel_mase_gmean": 0.7799909436165716, "rel_wql_gmean": 0.8257926959351992}, "S": {"n_configs": 6, "rel_mase_gmean": 0.6551233447531275, "rel_wql_gmean": 0.5045264853695348}, "T": {"n_configs": 30, "rel_mase_gmean": 0.6915094659095177, "rel_wql_gmean": 0.4527256621835321}, "W": {"n_configs": 8, "rel_mase_gmean": 0.9056914149873438, "rel_wql_gmean": 0.6760727114446506}}, "variates": {"multivariate": {"n_configs": 43, "rel_mase_gmean": 0.7112247286748321, "rel_wql_gmean": 0.5124312426851864}, "univariate": {"n_configs": 54, "rel_mase_gmean": 0.7726699203226439, "rel_wql_gmean": 0.5268484105597512}}}, "group_skill_delta": {"term": {"long": 5.7661515814100284e-05, "medium": -0.0003704811045243117, "short": -0.00017428813353514983}, "domain": {"Econ/Fin": 0.0002914856400473287, "Energy": -8.22391405752576e-06, "Healthcare": -0.0011296573376931018, "Nature": -9.116725010327453e-05, "Sales": -0.0002918383465109198, "Transport": -4.27076040510066e-05, "Web/CloudOps": -0.00029691729308795045}, "frequency": {"A": 4.618806124512265e-05, "D": -0.0005334369322085308, "H": 5.950165044632527e-05, "M": -0.001364367151036605, "Q": -0.00022802853586401106, "S": 3.4191936489902375e-05, "T": -0.00018761950799950355, "W": 8.337306745598294e-05}, "variates": {"multivariate": -0.00013702114202929216, "univariate": -0.00019131151308704464}}}, {"cutoff": "backcast_evals", "candidate_skill": 0.3364966261970208, "control_skill": 0.33652833730727594, "delta": -3.171111025512818e-05, "candidate_checkpoint": "5c4a19d84d21fdb11f2cdeb4c30842deebadcab11c8c90cd67692ac2c6acf8af", "control_checkpoint": "f11d056b95f1c5eeef174265ebc51742952600e0dae1fa52900860447d5be819", "candidate_eval_seconds": 24.6113178730011, "candidate_groups": {"term": {"long": {"n_configs": 21, "rel_mase_gmean": 0.7789735051713188, "rel_wql_gmean": 0.4658606666535785}, "medium": {"n_configs": 21, "rel_mase_gmean": 0.7712016363021553, "rel_wql_gmean": 0.5331811017152671}, "short": {"n_configs": 55, "rel_mase_gmean": 0.8153254743276309, "rel_wql_gmean": 0.5966383185358727}}, "domain": {"Econ/Fin": {"n_configs": 6, "rel_mase_gmean": 0.8752981252218038, "rel_wql_gmean": 0.8153566753076622}, "Energy": {"n_configs": 32, "rel_mase_gmean": 0.8883927117781334, "rel_wql_gmean": 0.6678042847749261}, "Healthcare": {"n_configs": 5, "rel_mase_gmean": 0.6238079595928857, "rel_wql_gmean": 0.5399849021329368}, "Nature": {"n_configs": 15, "rel_mase_gmean": 0.9338761806078038, "rel_wql_gmean": 0.4344161597708555}, "Sales": {"n_configs": 4, "rel_mase_gmean": 0.7345661470093666, "rel_wql_gmean": 0.4990452258444023}, "Transport": {"n_configs": 15, "rel_mase_gmean": 0.7389164549408237, "rel_wql_gmean": 0.531510526188603}, "Web/CloudOps": {"n_configs": 20, "rel_mase_gmean": 0.6641073346497608, "rel_wql_gmean": 0.45704945316394774}}, "frequency": {"A": {"n_configs": 1, "rel_mase_gmean": 0.6449317587489507, "rel_wql_gmean": 0.7243671013276769}, "D": {"n_configs": 15, "rel_mase_gmean": 0.8380544331127397, "rel_wql_gmean": 0.4991380006990813}, "H": {"n_configs": 31, "rel_mase_gmean": 0.7779145567230825, "rel_wql_gmean": 0.5153460014720482}, "M": {"n_configs": 5, "rel_mase_gmean": 0.8560703749352142, "rel_wql_gmean": 0.7867455572394078}, "Q": {"n_configs": 1, "rel_mase_gmean": 0.7644800623782333, "rel_wql_gmean": 0.7787987178386717}, "S": {"n_configs": 6, "rel_mase_gmean": 0.8531001436611583, "rel_wql_gmean": 0.5075358429937833}, "T": {"n_configs": 30, "rel_mase_gmean": 0.7673737339553334, "rel_wql_gmean": 0.5748502894408575}, "W": {"n_configs": 8, "rel_mase_gmean": 0.8699868075441991, "rel_wql_gmean": 0.5894346494364476}}, "variates": {"multivariate": {"n_configs": 43, "rel_mase_gmean": 0.7901030194412203, "rel_wql_gmean": 0.5302845433026366}, "univariate": {"n_configs": 54, "rel_mase_gmean": 0.8037080377800347, "rel_wql_gmean": 0.5697747750563286}}}, "control_groups": {"term": {"long": {"n_configs": 21, "rel_mase_gmean": 0.7791999311006992, "rel_wql_gmean": 0.4659792452594256}, "medium": {"n_configs": 21, "rel_mase_gmean": 0.7710406727836745, "rel_wql_gmean": 0.5333113680139498}, "short": {"n_configs": 55, "rel_mase_gmean": 0.815154118317558, "rel_wql_gmean": 0.596530868139981}}, "domain": {"Econ/Fin": {"n_configs": 6, "rel_mase_gmean": 0.8754973298713973, "rel_wql_gmean": 0.8157069069366086}, "Energy": {"n_configs": 32, "rel_mase_gmean": 0.8880158890798259, "rel_wql_gmean": 0.6677066701972586}, "Healthcare": {"n_configs": 5, "rel_mase_gmean": 0.6235821127455097, "rel_wql_gmean": 0.5405407165775942}, "Nature": {"n_configs": 15, "rel_mase_gmean": 0.933606860676274, "rel_wql_gmean": 0.4340037728321772}, "Sales": {"n_configs": 4, "rel_mase_gmean": 0.7343890716300152, "rel_wql_gmean": 0.49893240567123487}, "Transport": {"n_configs": 15, "rel_mase_gmean": 0.7389889324657989, "rel_wql_gmean": 0.5315819911881067}, "Web/CloudOps": {"n_configs": 20, "rel_mase_gmean": 0.6643730331767335, "rel_wql_gmean": 0.45729311789913757}}, "frequency": {"A": {"n_configs": 1, "rel_mase_gmean": 0.6445434372547929, "rel_wql_gmean": 0.724090215239997}, "D": {"n_configs": 15, "rel_mase_gmean": 0.8386815774822007, "rel_wql_gmean": 0.5001256118650457}, "H": {"n_configs": 31, "rel_mase_gmean": 0.7779220228454703, "rel_wql_gmean": 0.5152698021677109}, "M": {"n_configs": 5, "rel_mase_gmean": 0.8546325349093246, "rel_wql_gmean": 0.7856916887479788}, "Q": {"n_configs": 1, "rel_mase_gmean": 0.7640852146217055, "rel_wql_gmean": 0.7788691447566721}, "S": {"n_configs": 6, "rel_mase_gmean": 0.8532609264720655, "rel_wql_gmean": 0.507658310446713}, "T": {"n_configs": 30, "rel_mase_gmean": 0.767260085607915, "rel_wql_gmean": 0.5746866456036881}, "W": {"n_configs": 8, "rel_mase_gmean": 0.869060480798712, "rel_wql_gmean": 0.5886681671106037}}, "variates": {"multivariate": {"n_configs": 43, "rel_mase_gmean": 0.7899223594259315, "rel_wql_gmean": 0.5301365087279752}, "univariate": {"n_configs": 54, "rel_mase_gmean": 0.803707925134896, "rel_wql_gmean": 0.5699074661266276}}}, "group_skill_delta": {"term": {"long": 0.00016421846182668176, "medium": 1.1398036342868956e-05, "short": -0.0001360966524057705}, "domain": {"Econ/Fin": 0.0002775656436575513, "Energy": -0.00021965527492040504, "Healthcare": 0.00019349619063591117, "Nature": -0.00039419774589199985, "Sales": -0.00014141524009747553, "Transport": 7.286611019508005e-05, "Web/CloudOps": 0.00025706782033807496}, "frequency": {"A": -0.0003364067356619316, "D": 0.0008817311028409547, "H": -4.377341422667769e-05, "M": -0.0012388681048355332, "Q": -0.00016441145655510248, "S": 0.0001413955449944826, "T": -0.00014371932448942193, "W": -0.0008468400689211064}, "variates": {"multivariate": -0.00016435082880073004, "univariate": 7.874490592019168e-05}}}, {"cutoff": "backcast2_evals", "candidate_skill": 0.36084213945987353, "control_skill": 0.36097346960650367, "delta": -0.00013133014663013753, "candidate_checkpoint": "5c4a19d84d21fdb11f2cdeb4c30842deebadcab11c8c90cd67692ac2c6acf8af", "control_checkpoint": "f11d056b95f1c5eeef174265ebc51742952600e0dae1fa52900860447d5be819", "candidate_eval_seconds": 24.29915499687195, "candidate_groups": {"term": {"long": {"n_configs": 19, "rel_mase_gmean": 0.8000617911449693, "rel_wql_gmean": 0.505160053968669}, "medium": {"n_configs": 21, "rel_mase_gmean": 0.7568762103750591, "rel_wql_gmean": 0.49149960314187835}, "short": {"n_configs": 54, "rel_mase_gmean": 0.7628857649407332, "rel_wql_gmean": 0.5574592545572621}}, "domain": {"Econ/Fin": {"n_configs": 6, "rel_mase_gmean": 0.8900609709306415, "rel_wql_gmean": 0.9078010531755983}, "Energy": {"n_configs": 32, "rel_mase_gmean": 0.8970478975322981, "rel_wql_gmean": 0.6466739522413124}, "Healthcare": {"n_configs": 5, "rel_mase_gmean": 0.689585647170169, "rel_wql_gmean": 0.5895129146715399}, "Nature": {"n_configs": 15, "rel_mase_gmean": 0.7600550380845003, "rel_wql_gmean": 0.36386465940985663}, "Sales": {"n_configs": 3, "rel_mase_gmean": 0.5662511558504387, "rel_wql_gmean": 0.3613114835287139}, "Transport": {"n_configs": 14, "rel_mase_gmean": 0.6691316832658245, "rel_wql_gmean": 0.5019231114428129}, "Web/CloudOps": {"n_configs": 19, "rel_mase_gmean": 0.6837672418664155, "rel_wql_gmean": 0.4685089521878119}}, "frequency": {"A": {"n_configs": 1, "rel_mase_gmean": 0.5819702068714833, "rel_wql_gmean": 0.7238557578456718}, "D": {"n_configs": 15, "rel_mase_gmean": 0.7299018751843929, "rel_wql_gmean": 0.44979000596834007}, "H": {"n_configs": 30, "rel_mase_gmean": 0.7573777821940159, "rel_wql_gmean": 0.490640014279839}, "M": {"n_configs": 4, "rel_mase_gmean": 0.8262883910704963, "rel_wql_gmean": 0.8530238587313802}, "Q": {"n_configs": 1, "rel_mase_gmean": 0.8349137061430422, "rel_wql_gmean": 0.8791077467037866}, "S": {"n_configs": 6, "rel_mase_gmean": 0.9104291009227503, "rel_wql_gmean": 0.5694533050230168}, "T": {"n_configs": 29, "rel_mase_gmean": 0.7555672677175288, "rel_wql_gmean": 0.538181756170202}, "W": {"n_configs": 8, "rel_mase_gmean": 0.8324516047183768, "rel_wql_gmean": 0.6322995419514303}}, "variates": {"multivariate": {"n_configs": 42, "rel_mase_gmean": 0.7825550508036172, "rel_wql_gmean": 0.5160993022343942}, "univariate": {"n_configs": 52, "rel_mase_gmean": 0.7580422318862412, "rel_wql_gmean": 0.5439206681200996}}}, "control_groups": {"term": {"long": {"n_configs": 19, "rel_mase_gmean": 0.7998283729290717, "rel_wql_gmean": 0.5048537403572065}, "medium": {"n_configs": 21, "rel_mase_gmean": 0.7567348346553658, "rel_wql_gmean": 0.49139307103243485}, "short": {"n_configs": 54, "rel_mase_gmean": 0.762930601340605, "rel_wql_gmean": 0.5572913926751922}}, "domain": {"Econ/Fin": {"n_configs": 6, "rel_mase_gmean": 0.8902018742574637, "rel_wql_gmean": 0.9080828126396094}, "Energy": {"n_configs": 32, "rel_mase_gmean": 0.8967112467195689, "rel_wql_gmean": 0.6466666398782791}, "Healthcare": {"n_configs": 5, "rel_mase_gmean": 0.6908821587788814, "rel_wql_gmean": 0.5905411593557701}, "Nature": {"n_configs": 15, "rel_mase_gmean": 0.7593906111647103, "rel_wql_gmean": 0.3630649835252516}, "Sales": {"n_configs": 3, "rel_mase_gmean": 0.5660049516474805, "rel_wql_gmean": 0.36083556795060334}, "Transport": {"n_configs": 14, "rel_mase_gmean": 0.6692141236302525, "rel_wql_gmean": 0.5019337855870213}, "Web/CloudOps": {"n_configs": 19, "rel_mase_gmean": 0.6840578993103755, "rel_wql_gmean": 0.46836362238870816}}, "frequency": {"A": {"n_configs": 1, "rel_mase_gmean": 0.5819380993584167, "rel_wql_gmean": 0.723948814143525}, "D": {"n_configs": 15, "rel_mase_gmean": 0.7300802327867975, "rel_wql_gmean": 0.44973000047782175}, "H": {"n_configs": 30, "rel_mase_gmean": 0.7573152418388004, "rel_wql_gmean": 0.4905218098483386}, "M": {"n_configs": 4, "rel_mase_gmean": 0.825511662103245, "rel_wql_gmean": 0.8525433006612966}, "Q": {"n_configs": 1, "rel_mase_gmean": 0.8348196873036913, "rel_wql_gmean": 0.8792738256086735}, "S": {"n_configs": 6, "rel_mase_gmean": 0.9101844597610753, "rel_wql_gmean": 0.5693250695338232}, "T": {"n_configs": 29, "rel_mase_gmean": 0.75556464168385, "rel_wql_gmean": 0.5377684583538125}, "W": {"n_configs": 8, "rel_mase_gmean": 0.8322603650379057, "rel_wql_gmean": 0.6324937767638193}}, "variates": {"multivariate": {"n_configs": 42, "rel_mase_gmean": 0.782445957809565, "rel_wql_gmean": 0.5156982204614814}, "univariate": {"n_configs": 52, "rel_mase_gmean": 0.7580358480370438, "rel_wql_gmean": 0.543923941651618}}}, "group_skill_delta": {"term": {"long": -0.00028549101516694986, "medium": -0.00012306320445654162, "short": -7.903197099479176e-05}, "domain": {"Econ/Fin": 0.00021064411628068935, "Energy": -0.00014723601556021482, "Healthcare": 0.0011554241050408809, "Nature": -0.0008078545536277515, "Sales": -0.00039627289003985045, "Transport": 4.186188002597291e-05, "Web/CloudOps": 3.24742451283111e-05}, "frequency": {"A": 2.381276884166894e-05, "D": 3.177582952695879e-05, "H": -9.860115845339301e-05, "M": -0.0006310959937105842, "Q": 3.267800571837842e-05, "S": -0.00017781230017144267, "T": -0.00024600762033666346, "W": 2.8071713216504257e-05}, "variates": {"multivariate": -0.0002912708080734516, "univariate": -7.715518820505807e-07}}}, {"cutoff": "backcast3_evals", "candidate_skill": 0.3872966966425223, "control_skill": 0.3874814849803516, "delta": -0.00018478833782931137, "candidate_checkpoint": "5c4a19d84d21fdb11f2cdeb4c30842deebadcab11c8c90cd67692ac2c6acf8af", "control_checkpoint": "f11d056b95f1c5eeef174265ebc51742952600e0dae1fa52900860447d5be819", "candidate_eval_seconds": 24.13738465309143, "candidate_groups": {"term": {"long": {"n_configs": 19, "rel_mase_gmean": 0.7671459267658066, "rel_wql_gmean": 0.4764101144501911}, "medium": {"n_configs": 20, "rel_mase_gmean": 0.7735939711451023, "rel_wql_gmean": 0.5314710084637874}, "short": {"n_configs": 54, "rel_mase_gmean": 0.7194686203013544, "rel_wql_gmean": 0.5092815234088663}}, "domain": {"Econ/Fin": {"n_configs": 6, "rel_mase_gmean": 0.8364233046954436, "rel_wql_gmean": 0.833191864253892}, "Energy": {"n_configs": 32, "rel_mase_gmean": 0.8362123711108005, "rel_wql_gmean": 0.5559534228750687}, "Healthcare": {"n_configs": 5, "rel_mase_gmean": 0.7973644381778171, "rel_wql_gmean": 0.6623933657908319}, "Nature": {"n_configs": 15, "rel_mase_gmean": 0.7301433868033526, "rel_wql_gmean": 0.3422063049072548}, "Sales": {"n_configs": 3, "rel_mase_gmean": 0.7558322649059256, "rel_wql_gmean": 0.4781326626812899}, "Transport": {"n_configs": 14, "rel_mase_gmean": 0.5446399093140312, "rel_wql_gmean": 0.45112431943582054}, "Web/CloudOps": {"n_configs": 18, "rel_mase_gmean": 0.7182241906242222, "rel_wql_gmean": 0.5196346604533233}}, "frequency": {"A": {"n_configs": 1, "rel_mase_gmean": 0.530322442374392, "rel_wql_gmean": 0.8023242468607706}, "D": {"n_configs": 15, "rel_mase_gmean": 0.7350189409309397, "rel_wql_gmean": 0.42758291880834315}, "H": {"n_configs": 29, "rel_mase_gmean": 0.7283628179394164, "rel_wql_gmean": 0.48980818207499766}, "M": {"n_configs": 4, "rel_mase_gmean": 0.8685559726406967, "rel_wql_gmean": 0.8567287165712358}, "Q": {"n_configs": 1, "rel_mase_gmean": 0.714739397614746, "rel_wql_gmean": 0.7674977254472095}, "S": {"n_configs": 6, "rel_mase_gmean": 0.8434502444534613, "rel_wql_gmean": 0.600710294986984}, "T": {"n_configs": 29, "rel_mase_gmean": 0.7086444410356695, "rel_wql_gmean": 0.46300866171068006}, "W": {"n_configs": 8, "rel_mase_gmean": 0.8190212437048838, "rel_wql_gmean": 0.667579206922779}}, "variates": {"multivariate": {"n_configs": 41, "rel_mase_gmean": 0.7653716964378628, "rel_wql_gmean": 0.5143471408871196}, "univariate": {"n_configs": 52, "rel_mase_gmean": 0.7213251272304168, "rel_wql_gmean": 0.5013081599306487}}}, "control_groups": {"term": {"long": {"n_configs": 19, "rel_mase_gmean": 0.7675699458528298, "rel_wql_gmean": 0.476452132158557}, "medium": {"n_configs": 20, "rel_mase_gmean": 0.773141221801274, "rel_wql_gmean": 0.5311688105422268}, "short": {"n_configs": 54, "rel_mase_gmean": 0.7189800356855841, "rel_wql_gmean": 0.5092012481102669}}, "domain": {"Econ/Fin": {"n_configs": 6, "rel_mase_gmean": 0.8366494448197422, "rel_wql_gmean": 0.8335501433013701}, "Energy": {"n_configs": 32, "rel_mase_gmean": 0.8362673307045482, "rel_wql_gmean": 0.5558565966414833}, "Healthcare": {"n_configs": 5, "rel_mase_gmean": 0.7992789325648234, "rel_wql_gmean": 0.663313586611861}, "Nature": {"n_configs": 15, "rel_mase_gmean": 0.7270958326307262, "rel_wql_gmean": 0.3416485868534862}, "Sales": {"n_configs": 3, "rel_mase_gmean": 0.7558002187371488, "rel_wql_gmean": 0.47806361106286926}, "Transport": {"n_configs": 14, "rel_mase_gmean": 0.5447632408986202, "rel_wql_gmean": 0.45146185813227047}, "Web/CloudOps": {"n_configs": 18, "rel_mase_gmean": 0.7184671561660497, "rel_wql_gmean": 0.5194115372422989}}, "frequency": {"A": {"n_configs": 1, "rel_mase_gmean": 0.5301621193542202, "rel_wql_gmean": 0.8023624756576537}, "D": {"n_configs": 15, "rel_mase_gmean": 0.7320022964105988, "rel_wql_gmean": 0.42747341049868826}, "H": {"n_configs": 29, "rel_mase_gmean": 0.7284419538124913, "rel_wql_gmean": 0.48986156448616525}, "M": {"n_configs": 4, "rel_mase_gmean": 0.8692971155035826, "rel_wql_gmean": 0.8573561489309673}, "Q": {"n_configs": 1, "rel_mase_gmean": 0.7145578258684864, "rel_wql_gmean": 0.7671041544075885}, "S": {"n_configs": 6, "rel_mase_gmean": 0.8434376506034783, "rel_wql_gmean": 0.6004240857745707}, "T": {"n_configs": 29, "rel_mase_gmean": 0.7091796225957213, "rel_wql_gmean": 0.4627952794263764}, "W": {"n_configs": 8, "rel_mase_gmean": 0.8186104789687557, "rel_wql_gmean": 0.6672650133055504}}, "variates": {"multivariate": {"n_configs": 41, "rel_mase_gmean": 0.7652944038188929, "rel_wql_gmean": 0.5141740641844628}, "univariate": {"n_configs": 52, "rel_mase_gmean": 0.7208570784782143, "rel_wql_gmean": 0.5012656144320912}}}, "group_skill_delta": {"term": {"long": 0.00019371637372345152, "medium": -0.0003699302831982054, "short": -0.0002532608295436889}, "domain": {"Econ/Fin": 0.000292335348410111, "Energy": -3.6973180266630656e-05, "Healthcare": 0.0013771988089025244, "Nature": -0.0014509191623379714, "Sales": -5.615409558701323e-05, "Transport": 0.0002415443487644997, "Web/CloudOps": -2.787154813144177e-05}, "frequency": {"A": -8.306844235717037e-05, "D": -0.0012232449978335502, "H": 6.49959526886068e-05, "M": 0.0006839123486105381, "Q": -0.00028398461774981065, "S": -0.00017490377487350273, "T": 8.419951589055952e-05, "W": -0.0003594302556093609}, "variates": {"multivariate": -0.0001372496297462611, "univariate": -0.00022063715428610742}}}], "mean_delta": -0.00012859842272314181, "positive_cutoffs": 0, "outcome": "Declared comparison checkpoints 6000,12000. No transfer formula or automatic publication is selected by this controller."} + +E186 secondary diagnostic: E181 direct penalty versus inactive auxiliary head 12000: {"label": "E186 secondary diagnostic: E181 direct penalty versus inactive auxiliary head 12000", "utc": "2026-10-24T06:43:38.145309+00:00", "candidate": "window_mean_loss_ema12000", "control": "separate_mean_control_ema12000", "rows": [{"cutoff": "evals", "candidate_skill": 0.3780893871046961, "control_skill": 0.37725738197946956, "delta": 0.0008320051252265204, "candidate_checkpoint": "b44d657b4aaa8ccc574df4fc738b0d0b5a0ded84a139416f79bc97afbe5eb15c", "control_checkpoint": "5c4a19d84d21fdb11f2cdeb4c30842deebadcab11c8c90cd67692ac2c6acf8af", "candidate_eval_seconds": 49.94231081008911, "candidate_groups": {"term": {"long": {"n_configs": 21, "rel_mase_gmean": 0.7407906192516251, "rel_wql_gmean": 0.48042353627850953}, "medium": {"n_configs": 21, "rel_mase_gmean": 0.7138333233009443, "rel_wql_gmean": 0.49482051138313166}, "short": {"n_configs": 55, "rel_mase_gmean": 0.7561464270983506, "rel_wql_gmean": 0.5466325430313734}}, "domain": {"Econ/Fin": {"n_configs": 6, "rel_mase_gmean": 0.8841287303697009, "rel_wql_gmean": 0.8596217162744884}, "Energy": {"n_configs": 32, "rel_mase_gmean": 0.9015173244657193, "rel_wql_gmean": 0.6464630909033281}, "Healthcare": {"n_configs": 5, "rel_mase_gmean": 0.5859506997622329, "rel_wql_gmean": 0.5102941283469725}, "Nature": {"n_configs": 15, "rel_mase_gmean": 0.8055268640115566, "rel_wql_gmean": 0.4006089398837449}, "Sales": {"n_configs": 4, "rel_mase_gmean": 0.8586227460784747, "rel_wql_gmean": 0.5211869238620483}, "Transport": {"n_configs": 15, "rel_mase_gmean": 0.6509899132770477, "rel_wql_gmean": 0.4431957990659072}, "Web/CloudOps": {"n_configs": 20, "rel_mase_gmean": 0.5562160369069973, "rel_wql_gmean": 0.4355468824199773}}, "frequency": {"A": {"n_configs": 1, "rel_mase_gmean": 0.6271957414161198, "rel_wql_gmean": 0.6543278768485044}, "D": {"n_configs": 15, "rel_mase_gmean": 0.7793333387886551, "rel_wql_gmean": 0.540113595627592}, "H": {"n_configs": 31, "rel_mase_gmean": 0.7322660271086123, "rel_wql_gmean": 0.49928868115409064}, "M": {"n_configs": 5, "rel_mase_gmean": 0.9656005903077717, "rel_wql_gmean": 0.8182966281792421}, "Q": {"n_configs": 1, "rel_mase_gmean": 0.779895082755717, "rel_wql_gmean": 0.8252535067073306}, "S": {"n_configs": 6, "rel_mase_gmean": 0.653768954165975, "rel_wql_gmean": 0.5045670265440424}, "T": {"n_configs": 30, "rel_mase_gmean": 0.6919457389601733, "rel_wql_gmean": 0.4534600736652252}, "W": {"n_configs": 8, "rel_mase_gmean": 0.8973628665407666, "rel_wql_gmean": 0.6729692029211147}}, "variates": {"multivariate": {"n_configs": 43, "rel_mase_gmean": 0.7078377316892114, "rel_wql_gmean": 0.5121638432796846}, "univariate": {"n_configs": 54, "rel_mase_gmean": 0.7731193516173214, "rel_wql_gmean": 0.5267395371222551}}}, "control_groups": {"term": {"long": {"n_configs": 21, "rel_mase_gmean": 0.7431484935937821, "rel_wql_gmean": 0.4802575315015591}, "medium": {"n_configs": 21, "rel_mase_gmean": 0.7138705595958431, "rel_wql_gmean": 0.4954750049533645}, "short": {"n_configs": 55, "rel_mase_gmean": 0.7582223783201989, "rel_wql_gmean": 0.546833748128196}}, "domain": {"Econ/Fin": {"n_configs": 6, "rel_mase_gmean": 0.8816634771401348, "rel_wql_gmean": 0.8573981690417164}, "Energy": {"n_configs": 32, "rel_mase_gmean": 0.9029775669083792, "rel_wql_gmean": 0.6459897114164977}, "Healthcare": {"n_configs": 5, "rel_mase_gmean": 0.5885611233446931, "rel_wql_gmean": 0.5145529175799125}, "Nature": {"n_configs": 15, "rel_mase_gmean": 0.8130843568973405, "rel_wql_gmean": 0.40182223145472007}, "Sales": {"n_configs": 4, "rel_mase_gmean": 0.8531702796851076, "rel_wql_gmean": 0.5215925690289742}, "Transport": {"n_configs": 15, "rel_mase_gmean": 0.6445870278566211, "rel_wql_gmean": 0.4415745580787148}, "Web/CloudOps": {"n_configs": 20, "rel_mase_gmean": 0.5616665592706033, "rel_wql_gmean": 0.436520668811769}}, "frequency": {"A": {"n_configs": 1, "rel_mase_gmean": 0.6255360933597303, "rel_wql_gmean": 0.6531326856429365}, "D": {"n_configs": 15, "rel_mase_gmean": 0.7822627026733531, "rel_wql_gmean": 0.5388481900721499}, "H": {"n_configs": 31, "rel_mase_gmean": 0.733220150997632, "rel_wql_gmean": 0.49976651404108424}, "M": {"n_configs": 5, "rel_mase_gmean": 0.9749205907306312, "rel_wql_gmean": 0.8266126973276721}, "Q": {"n_configs": 1, "rel_mase_gmean": 0.7800721199402327, "rel_wql_gmean": 0.8261760357413059}, "S": {"n_configs": 6, "rel_mase_gmean": 0.655083876442207, "rel_wql_gmean": 0.5044968694270142}, "T": {"n_configs": 30, "rel_mase_gmean": 0.6917133416723916, "rel_wql_gmean": 0.45289580438672805}, "W": {"n_configs": 8, "rel_mase_gmean": 0.9057468210465649, "rel_wql_gmean": 0.6758873051410523}}, "variates": {"multivariate": {"n_configs": 43, "rel_mase_gmean": 0.7115448277592755, "rel_wql_gmean": 0.512433251481411}, "univariate": {"n_configs": 54, "rel_mase_gmean": 0.773033598894967, "rel_wql_gmean": 0.5269163990452318}}}, "group_skill_delta": {"term": {"long": 0.0008454171052865167, "medium": 0.0004084331844577127, "short": 0.0010004031490369325}, "domain": {"Econ/Fin": -0.002342937583875826, "Energy": 0.0003382364129456139, "Healthcare": 0.0034988034434104698, "Nature": 0.0035222030032429075, "Sales": -0.0018679530127860833, "Transport": -0.0036265569477322845, "Web/CloudOps": 0.0029583154690017155}, "frequency": {"A": -0.001432711351212701, "D": 0.00045631207521590333, "H": 0.0006832557990329446, "M": 0.008806632153299465, "Q": 0.0005393859178925986, "S": 0.00053732574134846, "T": -0.0004426403931386824, "W": 0.005312630906462501}, "variates": {"multivariate": 0.0017333658195722856, "univariate": 7.172768147611919e-05}}}, {"cutoff": "backcast_evals", "candidate_skill": 0.334425721100544, "control_skill": 0.3364966261970208, "delta": -0.0020709050964767828, "candidate_checkpoint": "b44d657b4aaa8ccc574df4fc738b0d0b5a0ded84a139416f79bc97afbe5eb15c", "control_checkpoint": "5c4a19d84d21fdb11f2cdeb4c30842deebadcab11c8c90cd67692ac2c6acf8af", "candidate_eval_seconds": 36.714271068573, "candidate_groups": {"term": {"long": {"n_configs": 21, "rel_mase_gmean": 0.7849153794142654, "rel_wql_gmean": 0.4678428555438139}, "medium": {"n_configs": 21, "rel_mase_gmean": 0.7738187535132197, "rel_wql_gmean": 0.5333745625293136}, "short": {"n_configs": 55, "rel_mase_gmean": 0.8180708001002699, "rel_wql_gmean": 0.597639112027343}}, "domain": {"Econ/Fin": {"n_configs": 6, "rel_mase_gmean": 0.8794935092726199, "rel_wql_gmean": 0.817721627015258}, "Energy": {"n_configs": 32, "rel_mase_gmean": 0.8889712040215999, "rel_wql_gmean": 0.668356375940647}, "Healthcare": {"n_configs": 5, "rel_mase_gmean": 0.6209602432557081, "rel_wql_gmean": 0.5369997834711281}, "Nature": {"n_configs": 15, "rel_mase_gmean": 0.9435875254956732, "rel_wql_gmean": 0.43542234344654296}, "Sales": {"n_configs": 4, "rel_mase_gmean": 0.7365786708997022, "rel_wql_gmean": 0.4989871698725488}, "Transport": {"n_configs": 15, "rel_mase_gmean": 0.743305834301051, "rel_wql_gmean": 0.5329243278816711}, "Web/CloudOps": {"n_configs": 20, "rel_mase_gmean": 0.6685716674039747, "rel_wql_gmean": 0.4593122250567883}}, "frequency": {"A": {"n_configs": 1, "rel_mase_gmean": 0.6466958753488369, "rel_wql_gmean": 0.7254219593720439}, "D": {"n_configs": 15, "rel_mase_gmean": 0.8433168617979687, "rel_wql_gmean": 0.500511604714918}, "H": {"n_configs": 31, "rel_mase_gmean": 0.7809160312856058, "rel_wql_gmean": 0.5155732069317669}, "M": {"n_configs": 5, "rel_mase_gmean": 0.8589597396685462, "rel_wql_gmean": 0.784352130899079}, "Q": {"n_configs": 1, "rel_mase_gmean": 0.7652905554742019, "rel_wql_gmean": 0.7779594170966511}, "S": {"n_configs": 6, "rel_mase_gmean": 0.8536560358418452, "rel_wql_gmean": 0.50806885653886}, "T": {"n_configs": 30, "rel_mase_gmean": 0.7734346114657332, "rel_wql_gmean": 0.5779964279469713}, "W": {"n_configs": 8, "rel_mase_gmean": 0.8636769366372908, "rel_wql_gmean": 0.5878814479680939}}, "variates": {"multivariate": {"n_configs": 43, "rel_mase_gmean": 0.7927271754358759, "rel_wql_gmean": 0.5313546829489123}, "univariate": {"n_configs": 54, "rel_mase_gmean": 0.8077818809826408, "rel_wql_gmean": 0.5708549084730768}}}, "control_groups": {"term": {"long": {"n_configs": 21, "rel_mase_gmean": 0.7789735051713188, "rel_wql_gmean": 0.4658606666535785}, "medium": {"n_configs": 21, "rel_mase_gmean": 0.7712016363021553, "rel_wql_gmean": 0.5331811017152671}, "short": {"n_configs": 55, "rel_mase_gmean": 0.8153254743276309, "rel_wql_gmean": 0.5966383185358727}}, "domain": {"Econ/Fin": {"n_configs": 6, "rel_mase_gmean": 0.8752981252218038, "rel_wql_gmean": 0.8153566753076622}, "Energy": {"n_configs": 32, "rel_mase_gmean": 0.8883927117781334, "rel_wql_gmean": 0.6678042847749261}, "Healthcare": {"n_configs": 5, "rel_mase_gmean": 0.6238079595928857, "rel_wql_gmean": 0.5399849021329368}, "Nature": {"n_configs": 15, "rel_mase_gmean": 0.9338761806078038, "rel_wql_gmean": 0.4344161597708555}, "Sales": {"n_configs": 4, "rel_mase_gmean": 0.7345661470093666, "rel_wql_gmean": 0.4990452258444023}, "Transport": {"n_configs": 15, "rel_mase_gmean": 0.7389164549408237, "rel_wql_gmean": 0.531510526188603}, "Web/CloudOps": {"n_configs": 20, "rel_mase_gmean": 0.6641073346497608, "rel_wql_gmean": 0.45704945316394774}}, "frequency": {"A": {"n_configs": 1, "rel_mase_gmean": 0.6449317587489507, "rel_wql_gmean": 0.7243671013276769}, "D": {"n_configs": 15, "rel_mase_gmean": 0.8380544331127397, "rel_wql_gmean": 0.4991380006990813}, "H": {"n_configs": 31, "rel_mase_gmean": 0.7779145567230825, "rel_wql_gmean": 0.5153460014720482}, "M": {"n_configs": 5, "rel_mase_gmean": 0.8560703749352142, "rel_wql_gmean": 0.7867455572394078}, "Q": {"n_configs": 1, "rel_mase_gmean": 0.7644800623782333, "rel_wql_gmean": 0.7787987178386717}, "S": {"n_configs": 6, "rel_mase_gmean": 0.8531001436611583, "rel_wql_gmean": 0.5075358429937833}, "T": {"n_configs": 30, "rel_mase_gmean": 0.7673737339553334, "rel_wql_gmean": 0.5748502894408575}, "W": {"n_configs": 8, "rel_mase_gmean": 0.8699868075441991, "rel_wql_gmean": 0.5894346494364476}}, "variates": {"multivariate": {"n_configs": 43, "rel_mase_gmean": 0.7901030194412203, "rel_wql_gmean": 0.5302845433026366}, "univariate": {"n_configs": 54, "rel_mase_gmean": 0.8037080377800347, "rel_wql_gmean": 0.5697747750563286}}}, "group_skill_delta": {"term": {"long": -0.003578260619837459, "medium": -0.0012036442327825192, "short": -0.0017589414460830177}, "domain": {"Econ/Fin": -0.0032493856462844084, "Energy": -0.0005691646294685437, "Healthcare": 0.0029290405952439036, "Nature": -0.004044213264385643, "Sales": -0.0007935685316814434, "Transport": -0.002694014697087521, "Web/CloudOps": -0.003215356141785475}, "frequency": {"A": -0.001432332895362265, "D": -0.0029195599730706956, "H": -0.0013601369773508232, "M": -0.00013240328399111156, "Q": 7.1914916972559695e-06, "S": -0.0005598930679518999, "T": -0.004439898932874109, "W": 0.003542286617724044}, "variates": {"multivariate": -0.0017279006699638666, "univariate": -0.0023556248301856986}}}, {"cutoff": "backcast2_evals", "candidate_skill": 0.3587148645332695, "control_skill": 0.36084213945987353, "delta": -0.002127274926604028, "candidate_checkpoint": "b44d657b4aaa8ccc574df4fc738b0d0b5a0ded84a139416f79bc97afbe5eb15c", "control_checkpoint": "5c4a19d84d21fdb11f2cdeb4c30842deebadcab11c8c90cd67692ac2c6acf8af", "candidate_eval_seconds": 24.031373262405396, "candidate_groups": {"term": {"long": {"n_configs": 19, "rel_mase_gmean": 0.8015079137539542, "rel_wql_gmean": 0.5061339729359925}, "medium": {"n_configs": 21, "rel_mase_gmean": 0.760721182723113, "rel_wql_gmean": 0.493814395808442}, "short": {"n_configs": 54, "rel_mase_gmean": 0.7664506175310868, "rel_wql_gmean": 0.5584608554134463}}, "domain": {"Econ/Fin": {"n_configs": 6, "rel_mase_gmean": 0.8932892770117863, "rel_wql_gmean": 0.9089776540760443}, "Energy": {"n_configs": 32, "rel_mase_gmean": 0.8985805083919539, "rel_wql_gmean": 0.6470079007723372}, "Healthcare": {"n_configs": 5, "rel_mase_gmean": 0.6866495190613945, "rel_wql_gmean": 0.5877320416939213}, "Nature": {"n_configs": 15, "rel_mase_gmean": 0.7703669589991855, "rel_wql_gmean": 0.3656269591914925}, "Sales": {"n_configs": 3, "rel_mase_gmean": 0.5729723688114752, "rel_wql_gmean": 0.36349230217267064}, "Transport": {"n_configs": 14, "rel_mase_gmean": 0.6693200436330595, "rel_wql_gmean": 0.5015281659454845}, "Web/CloudOps": {"n_configs": 19, "rel_mase_gmean": 0.6872298521683294, "rel_wql_gmean": 0.4720615884143282}}, "frequency": {"A": {"n_configs": 1, "rel_mase_gmean": 0.5839147936746848, "rel_wql_gmean": 0.7229437218517439}, "D": {"n_configs": 15, "rel_mase_gmean": 0.731933635558666, "rel_wql_gmean": 0.45141297344317116}, "H": {"n_configs": 30, "rel_mase_gmean": 0.7593000679439742, "rel_wql_gmean": 0.49004149023088583}, "M": {"n_configs": 4, "rel_mase_gmean": 0.8298405538332388, "rel_wql_gmean": 0.8524633950684267}, "Q": {"n_configs": 1, "rel_mase_gmean": 0.8348899905462488, "rel_wql_gmean": 0.8755038017263368}, "S": {"n_configs": 6, "rel_mase_gmean": 0.9107166825040975, "rel_wql_gmean": 0.5699534023670502}, "T": {"n_configs": 29, "rel_mase_gmean": 0.7591852527406863, "rel_wql_gmean": 0.5417890632263233}, "W": {"n_configs": 8, "rel_mase_gmean": 0.8443812961407583, "rel_wql_gmean": 0.6341829153051265}}, "variates": {"multivariate": {"n_configs": 42, "rel_mase_gmean": 0.7857014622598862, "rel_wql_gmean": 0.5181087681803893}, "univariate": {"n_configs": 52, "rel_mase_gmean": 0.7613137908793333, "rel_wql_gmean": 0.544642784050651}}}, "control_groups": {"term": {"long": {"n_configs": 19, "rel_mase_gmean": 0.8000617911449693, "rel_wql_gmean": 0.505160053968669}, "medium": {"n_configs": 21, "rel_mase_gmean": 0.7568762103750591, "rel_wql_gmean": 0.49149960314187835}, "short": {"n_configs": 54, "rel_mase_gmean": 0.7628857649407332, "rel_wql_gmean": 0.5574592545572621}}, "domain": {"Econ/Fin": {"n_configs": 6, "rel_mase_gmean": 0.8900609709306415, "rel_wql_gmean": 0.9078010531755983}, "Energy": {"n_configs": 32, "rel_mase_gmean": 0.8970478975322981, "rel_wql_gmean": 0.6466739522413124}, "Healthcare": {"n_configs": 5, "rel_mase_gmean": 0.689585647170169, "rel_wql_gmean": 0.5895129146715399}, "Nature": {"n_configs": 15, "rel_mase_gmean": 0.7600550380845003, "rel_wql_gmean": 0.36386465940985663}, "Sales": {"n_configs": 3, "rel_mase_gmean": 0.5662511558504387, "rel_wql_gmean": 0.3613114835287139}, "Transport": {"n_configs": 14, "rel_mase_gmean": 0.6691316832658245, "rel_wql_gmean": 0.5019231114428129}, "Web/CloudOps": {"n_configs": 19, "rel_mase_gmean": 0.6837672418664155, "rel_wql_gmean": 0.4685089521878119}}, "frequency": {"A": {"n_configs": 1, "rel_mase_gmean": 0.5819702068714833, "rel_wql_gmean": 0.7238557578456718}, "D": {"n_configs": 15, "rel_mase_gmean": 0.7299018751843929, "rel_wql_gmean": 0.44979000596834007}, "H": {"n_configs": 30, "rel_mase_gmean": 0.7573777821940159, "rel_wql_gmean": 0.490640014279839}, "M": {"n_configs": 4, "rel_mase_gmean": 0.8262883910704963, "rel_wql_gmean": 0.8530238587313802}, "Q": {"n_configs": 1, "rel_mase_gmean": 0.8349137061430422, "rel_wql_gmean": 0.8791077467037866}, "S": {"n_configs": 6, "rel_mase_gmean": 0.9104291009227503, "rel_wql_gmean": 0.5694533050230168}, "T": {"n_configs": 29, "rel_mase_gmean": 0.7555672677175288, "rel_wql_gmean": 0.538181756170202}, "W": {"n_configs": 8, "rel_mase_gmean": 0.8324516047183768, "rel_wql_gmean": 0.6322995419514303}}, "variates": {"multivariate": {"n_configs": 42, "rel_mase_gmean": 0.7825550508036172, "rel_wql_gmean": 0.5160993022343942}, "univariate": {"n_configs": 52, "rel_mase_gmean": 0.7580422318862412, "rel_wql_gmean": 0.5439206681200996}}}, "group_skill_delta": {"term": {"long": -0.0011873789917375976, "medium": -0.002985466650620161, "short": -0.0021088409467852065}, "domain": {"Econ/Fin": -0.002212074627514382, "Energy": -0.0008471582631618402, "Healthcare": 0.0023205436861690742, "Nature": -0.004835995168767315, "Sales": -0.004047599275138369, "Transport": 0.00014651923247399612, "Web/CloudOps": -0.003578592240106926}, "frequency": {"A": -0.0006737529076058513, "D": -0.001831153003903574, "H": -0.0004007041399226585, "M": -0.0015262079040931908, "Q": 0.001770040761926217, "S": -0.0004298600833048116, "T": -0.003663549902147345, "W": -0.00626744944510349}, "variates": {"multivariate": -0.0025148025760468595, "univariate": -0.0018111523423847142}}}, {"cutoff": "backcast3_evals", "candidate_skill": 0.3874924855427505, "control_skill": 0.3872966966425223, "delta": 0.00019578890022819984, "candidate_checkpoint": "b44d657b4aaa8ccc574df4fc738b0d0b5a0ded84a139416f79bc97afbe5eb15c", "control_checkpoint": "5c4a19d84d21fdb11f2cdeb4c30842deebadcab11c8c90cd67692ac2c6acf8af", "candidate_eval_seconds": 81.52344942092896, "candidate_groups": {"term": {"long": {"n_configs": 19, "rel_mase_gmean": 0.769547802006147, "rel_wql_gmean": 0.4764353562071715}, "medium": {"n_configs": 20, "rel_mase_gmean": 0.7769894484251948, "rel_wql_gmean": 0.5327457219564756}, "short": {"n_configs": 54, "rel_mase_gmean": 0.7174393577893736, "rel_wql_gmean": 0.508312652892986}}, "domain": {"Econ/Fin": {"n_configs": 6, "rel_mase_gmean": 0.8389290835051479, "rel_wql_gmean": 0.8334115422408959}, "Energy": {"n_configs": 32, "rel_mase_gmean": 0.8379745940871098, "rel_wql_gmean": 0.5554722992714917}, "Healthcare": {"n_configs": 5, "rel_mase_gmean": 0.8021520903769388, "rel_wql_gmean": 0.6613108169002809}, "Nature": {"n_configs": 15, "rel_mase_gmean": 0.7228014395211573, "rel_wql_gmean": 0.34128893327850485}, "Sales": {"n_configs": 3, "rel_mase_gmean": 0.755297552327153, "rel_wql_gmean": 0.478589880061003}, "Transport": {"n_configs": 14, "rel_mase_gmean": 0.5449062687289604, "rel_wql_gmean": 0.45098412113993674}, "Web/CloudOps": {"n_configs": 18, "rel_mase_gmean": 0.7192660916305998, "rel_wql_gmean": 0.5202742159948124}}, "frequency": {"A": {"n_configs": 1, "rel_mase_gmean": 0.5287995932011477, "rel_wql_gmean": 0.7874659500513275}, "D": {"n_configs": 15, "rel_mase_gmean": 0.7410717228110253, "rel_wql_gmean": 0.4293124756494662}, "H": {"n_configs": 29, "rel_mase_gmean": 0.7313906166925904, "rel_wql_gmean": 0.48993293033946683}, "M": {"n_configs": 4, "rel_mase_gmean": 0.8599784952739934, "rel_wql_gmean": 0.8508653309817236}, "Q": {"n_configs": 1, "rel_mase_gmean": 0.7150074128115137, "rel_wql_gmean": 0.7687277519947802}, "S": {"n_configs": 6, "rel_mase_gmean": 0.8428865375861841, "rel_wql_gmean": 0.6016415826385516}, "T": {"n_configs": 29, "rel_mase_gmean": 0.7109483985088652, "rel_wql_gmean": 0.4627717481456909}, "W": {"n_configs": 8, "rel_mase_gmean": 0.7891945711738604, "rel_wql_gmean": 0.6616195866309915}}, "variates": {"multivariate": {"n_configs": 41, "rel_mase_gmean": 0.7665540120183965, "rel_wql_gmean": 0.5141952272462067}, "univariate": {"n_configs": 52, "rel_mase_gmean": 0.7203710907687293, "rel_wql_gmean": 0.5009053554575519}}}, "control_groups": {"term": {"long": {"n_configs": 19, "rel_mase_gmean": 0.7671459267658066, "rel_wql_gmean": 0.4764101144501911}, "medium": {"n_configs": 20, "rel_mase_gmean": 0.7735939711451023, "rel_wql_gmean": 0.5314710084637874}, "short": {"n_configs": 54, "rel_mase_gmean": 0.7194686203013544, "rel_wql_gmean": 0.5092815234088663}}, "domain": {"Econ/Fin": {"n_configs": 6, "rel_mase_gmean": 0.8364233046954436, "rel_wql_gmean": 0.833191864253892}, "Energy": {"n_configs": 32, "rel_mase_gmean": 0.8362123711108005, "rel_wql_gmean": 0.5559534228750687}, "Healthcare": {"n_configs": 5, "rel_mase_gmean": 0.7973644381778171, "rel_wql_gmean": 0.6623933657908319}, "Nature": {"n_configs": 15, "rel_mase_gmean": 0.7301433868033526, "rel_wql_gmean": 0.3422063049072548}, "Sales": {"n_configs": 3, "rel_mase_gmean": 0.7558322649059256, "rel_wql_gmean": 0.4781326626812899}, "Transport": {"n_configs": 14, "rel_mase_gmean": 0.5446399093140312, "rel_wql_gmean": 0.45112431943582054}, "Web/CloudOps": {"n_configs": 18, "rel_mase_gmean": 0.7182241906242222, "rel_wql_gmean": 0.5196346604533233}}, "frequency": {"A": {"n_configs": 1, "rel_mase_gmean": 0.530322442374392, "rel_wql_gmean": 0.8023242468607706}, "D": {"n_configs": 15, "rel_mase_gmean": 0.7350189409309397, "rel_wql_gmean": 0.42758291880834315}, "H": {"n_configs": 29, "rel_mase_gmean": 0.7283628179394164, "rel_wql_gmean": 0.48980818207499766}, "M": {"n_configs": 4, "rel_mase_gmean": 0.8685559726406967, "rel_wql_gmean": 0.8567287165712358}, "Q": {"n_configs": 1, "rel_mase_gmean": 0.714739397614746, "rel_wql_gmean": 0.7674977254472095}, "S": {"n_configs": 6, "rel_mase_gmean": 0.8434502444534613, "rel_wql_gmean": 0.600710294986984}, "T": {"n_configs": 29, "rel_mase_gmean": 0.7086444410356695, "rel_wql_gmean": 0.46300866171068006}, "W": {"n_configs": 8, "rel_mase_gmean": 0.8190212437048838, "rel_wql_gmean": 0.667579206922779}}, "variates": {"multivariate": {"n_configs": 41, "rel_mase_gmean": 0.7653716964378628, "rel_wql_gmean": 0.5143471408871196}, "univariate": {"n_configs": 52, "rel_mase_gmean": 0.7213251272304168, "rel_wql_gmean": 0.5013081599306487}}}, "group_skill_delta": {"term": {"long": -0.0009616945625579021, "medium": -0.002175829968823151, "short": 0.0014295048613798267}, "domain": {"Econ/Fin": -0.0013597409564860552, "Energy": -0.0004226596439200758, "Healthcare": -0.001582681815300413, "Nature": 0.003186586990923279, "Sales": -7.457807273547612e-05, "Transport": -4.414560206472684e-05, "Web/CloudOps": -0.0008190596007217055}, "frequency": {"A": 0.006996692184232378, "D": -0.0034408632722655597, "H": -0.0013163969005813847, "M": 0.0072122974195153455, "Q": -0.0007322247640988433, "S": -0.0003134606925894179, "T": -0.0007836007769093101, "W": 0.01683615250202497}, "variates": {"multivariate": -0.0003916916964216144, "univariate": 0.0006392785194361261}}}], "mean_delta": -0.0007925964994065227, "positive_cutoffs": 2, "outcome": "Predeclared secondary numerical/objective diagnostic only. Both runs use deterministic eager BF16. The new inactive head is an architectural difference but its loss and backbone gradients were verified equal to the old control. This comparison does not replace the recorded E181 tests or select an E186 candidate."} + +E164 6000 four-cutoff comparison: {"label": "E164 6000 four-cutoff comparison", "utc": "2026-10-24T06:44:37.691737+00:00", "candidate": "spectral_phase_individual_ema6000", "control": "long_seasonal_ema6000", "rows": [{"cutoff": "evals", "candidate_skill": 0.38350391453009813, "control_skill": 0.38227466722292214, "delta": 0.0012292473071759957, "candidate_checkpoint": "bca83d228f218f56044ce37b1a4fbc84a2f2bb8a8f900ccb868b01621e4e0e14", "control_checkpoint": "ad45e0cfae574d3dc1be0b9720c9be0863db9ffe33891fdb22c86dfa83667253", "candidate_eval_seconds": 31.577781915664673, "candidate_groups": {"term": {"long": {"n_configs": 21, "rel_mase_gmean": 0.7398783574114136, "rel_wql_gmean": 0.4777288475041221}, "medium": {"n_configs": 21, "rel_mase_gmean": 0.709240894466887, "rel_wql_gmean": 0.49236697755086173}, "short": {"n_configs": 55, "rel_mase_gmean": 0.7478648814544664, "rel_wql_gmean": 0.5396528474632462}}, "domain": {"Econ/Fin": {"n_configs": 6, "rel_mase_gmean": 0.8867192026112608, "rel_wql_gmean": 0.8544705767729075}, "Energy": {"n_configs": 32, "rel_mase_gmean": 0.8959115861084017, "rel_wql_gmean": 0.6408148392259212}, "Healthcare": {"n_configs": 5, "rel_mase_gmean": 0.5680460341150856, "rel_wql_gmean": 0.5043244437259871}, "Nature": {"n_configs": 15, "rel_mase_gmean": 0.8021596672401528, "rel_wql_gmean": 0.3972220215665613}, "Sales": {"n_configs": 4, "rel_mase_gmean": 0.8421474921594579, "rel_wql_gmean": 0.5159424066249712}, "Transport": {"n_configs": 15, "rel_mase_gmean": 0.6315119911516868, "rel_wql_gmean": 0.43291304099323935}, "Web/CloudOps": {"n_configs": 20, "rel_mase_gmean": 0.5608542572370635, "rel_wql_gmean": 0.4348147173085258}}, "frequency": {"A": {"n_configs": 1, "rel_mase_gmean": 0.6171019399556271, "rel_wql_gmean": 0.6466592777521902}, "D": {"n_configs": 15, "rel_mase_gmean": 0.7559144246665592, "rel_wql_gmean": 0.5198532517150909}, "H": {"n_configs": 31, "rel_mase_gmean": 0.7243904072783246, "rel_wql_gmean": 0.4940999271093157}, "M": {"n_configs": 5, "rel_mase_gmean": 0.9633618921935758, "rel_wql_gmean": 0.8289028201747798}, "Q": {"n_configs": 1, "rel_mase_gmean": 0.7831858316373603, "rel_wql_gmean": 0.83013532979943}, "S": {"n_configs": 6, "rel_mase_gmean": 0.656875618585516, "rel_wql_gmean": 0.5046964342519173}, "T": {"n_configs": 30, "rel_mase_gmean": 0.6915057307758514, "rel_wql_gmean": 0.4526717213123064}, "W": {"n_configs": 8, "rel_mase_gmean": 0.9018629405028952, "rel_wql_gmean": 0.6696300105889167}}, "variates": {"multivariate": {"n_configs": 43, "rel_mase_gmean": 0.7074182415250226, "rel_wql_gmean": 0.5090882238563125}, "univariate": {"n_configs": 54, "rel_mase_gmean": 0.7625740660626986, "rel_wql_gmean": 0.520241572196924}}}, "control_groups": {"term": {"long": {"n_configs": 21, "rel_mase_gmean": 0.7402530882128023, "rel_wql_gmean": 0.47826753514082926}, "medium": {"n_configs": 21, "rel_mase_gmean": 0.710265197438745, "rel_wql_gmean": 0.4931672821758772}, "short": {"n_configs": 55, "rel_mase_gmean": 0.7498589240481417, "rel_wql_gmean": 0.5410407688872414}}, "domain": {"Econ/Fin": {"n_configs": 6, "rel_mase_gmean": 0.8892029615768211, "rel_wql_gmean": 0.85541375158805}, "Energy": {"n_configs": 32, "rel_mase_gmean": 0.8972340808013708, "rel_wql_gmean": 0.6419310799963354}, "Healthcare": {"n_configs": 5, "rel_mase_gmean": 0.5749908408040473, "rel_wql_gmean": 0.507856444781463}, "Nature": {"n_configs": 15, "rel_mase_gmean": 0.8028566989060131, "rel_wql_gmean": 0.39889278962700064}, "Sales": {"n_configs": 4, "rel_mase_gmean": 0.8421494671087474, "rel_wql_gmean": 0.5162975438622042}, "Transport": {"n_configs": 15, "rel_mase_gmean": 0.6323849322594254, "rel_wql_gmean": 0.43339253239569303}, "Web/CloudOps": {"n_configs": 20, "rel_mase_gmean": 0.5616650304722973, "rel_wql_gmean": 0.43523931575775593}}, "frequency": {"A": {"n_configs": 1, "rel_mase_gmean": 0.61692642682572, "rel_wql_gmean": 0.6469875043190525}, "D": {"n_configs": 15, "rel_mase_gmean": 0.7604157827225532, "rel_wql_gmean": 0.5223254859979091}, "H": {"n_configs": 31, "rel_mase_gmean": 0.7256889701473604, "rel_wql_gmean": 0.49536285168895955}, "M": {"n_configs": 5, "rel_mase_gmean": 0.9611837530785082, "rel_wql_gmean": 0.8278616039641923}, "Q": {"n_configs": 1, "rel_mase_gmean": 0.7839583182238047, "rel_wql_gmean": 0.830360300010519}, "S": {"n_configs": 6, "rel_mase_gmean": 0.6548591866261223, "rel_wql_gmean": 0.5032338833413911}, "T": {"n_configs": 30, "rel_mase_gmean": 0.6926762306120622, "rel_wql_gmean": 0.45361994505793396}, "W": {"n_configs": 8, "rel_mase_gmean": 0.9042490502981876, "rel_wql_gmean": 0.6703742252767426}}, "variates": {"multivariate": {"n_configs": 43, "rel_mase_gmean": 0.7084778976708436, "rel_wql_gmean": 0.510408775576821}, "univariate": {"n_configs": 54, "rel_mase_gmean": 0.7643134428569803, "rel_wql_gmean": 0.5210866729603522}}}, "group_skill_delta": {"term": {"long": 0.0004857221694788416, "medium": 0.0009069820210101387, "short": 0.0016638725595901072}, "domain": {"Econ/Fin": 0.0016991789780801403, "Energy": 0.0012191569658795975, "Healthcare": 0.005144293151269741, "Nature": 0.0014316005176550073, "Sales": 0.00022759507374436883, "Transport": 0.000650937199830004, "Web/CloudOps": 0.0005980408720163144}, "frequency": {"A": 7.04356457472688e-05, "D": 0.0033569243073633404, "H": 0.0013007761795281736, "M": -0.001571572146379152, "Q": 0.0005068582247500508, "S": -0.0017180190259594719, "T": 0.0010594909860248691, "W": 0.0014596442483985062}, "variates": {"multivariate": 0.0012277082938484396, "univariate": 0.0012298821302515472}}}, {"cutoff": "backcast_evals", "candidate_skill": 0.34017759906315426, "control_skill": 0.33985253853394604, "delta": 0.00032506052920822093, "candidate_checkpoint": "bca83d228f218f56044ce37b1a4fbc84a2f2bb8a8f900ccb868b01621e4e0e14", "control_checkpoint": "ad45e0cfae574d3dc1be0b9720c9be0863db9ffe33891fdb22c86dfa83667253", "candidate_eval_seconds": 32.33991098403931, "candidate_groups": {"term": {"long": {"n_configs": 21, "rel_mase_gmean": 0.7714377223067411, "rel_wql_gmean": 0.46266597604438453}, "medium": {"n_configs": 21, "rel_mase_gmean": 0.7691340902247645, "rel_wql_gmean": 0.5309899170594807}, "short": {"n_configs": 55, "rel_mase_gmean": 0.8105998358887178, "rel_wql_gmean": 0.5937375532025487}}, "domain": {"Econ/Fin": {"n_configs": 6, "rel_mase_gmean": 0.8830544738742219, "rel_wql_gmean": 0.816537913972388}, "Energy": {"n_configs": 32, "rel_mase_gmean": 0.8881676456303254, "rel_wql_gmean": 0.6676664424713281}, "Healthcare": {"n_configs": 5, "rel_mase_gmean": 0.6538197906761062, "rel_wql_gmean": 0.5651711166754315}, "Nature": {"n_configs": 15, "rel_mase_gmean": 0.9016038438676304, "rel_wql_gmean": 0.42207901617392735}, "Sales": {"n_configs": 4, "rel_mase_gmean": 0.722857675538252, "rel_wql_gmean": 0.49058800152699994}, "Transport": {"n_configs": 15, "rel_mase_gmean": 0.731380108977564, "rel_wql_gmean": 0.5249614509720393}, "Web/CloudOps": {"n_configs": 20, "rel_mase_gmean": 0.6603186595140458, "rel_wql_gmean": 0.45607788612057387}}, "frequency": {"A": {"n_configs": 1, "rel_mase_gmean": 0.6521105449427356, "rel_wql_gmean": 0.726615581974996}, "D": {"n_configs": 15, "rel_mase_gmean": 0.818319518405102, "rel_wql_gmean": 0.4886480293116331}, "H": {"n_configs": 31, "rel_mase_gmean": 0.7681468548022804, "rel_wql_gmean": 0.5096111661963693}, "M": {"n_configs": 5, "rel_mase_gmean": 0.8623781528895499, "rel_wql_gmean": 0.7934707037363538}, "Q": {"n_configs": 1, "rel_mase_gmean": 0.7596942182719741, "rel_wql_gmean": 0.765918764275621}, "S": {"n_configs": 6, "rel_mase_gmean": 0.8554720662377316, "rel_wql_gmean": 0.5095484553154901}, "T": {"n_configs": 30, "rel_mase_gmean": 0.7699347033739679, "rel_wql_gmean": 0.577182531767953}, "W": {"n_configs": 8, "rel_mase_gmean": 0.871165032906157, "rel_wql_gmean": 0.5888656256851168}}, "variates": {"multivariate": {"n_configs": 43, "rel_mase_gmean": 0.7867977217796732, "rel_wql_gmean": 0.5287290757302897}, "univariate": {"n_configs": 54, "rel_mase_gmean": 0.797777172375317, "rel_wql_gmean": 0.5658555610738896}}}, "control_groups": {"term": {"long": {"n_configs": 21, "rel_mase_gmean": 0.7709573168881856, "rel_wql_gmean": 0.46268425970990196}, "medium": {"n_configs": 21, "rel_mase_gmean": 0.7695230479033899, "rel_wql_gmean": 0.5310215600398799}, "short": {"n_configs": 55, "rel_mase_gmean": 0.8117841847086917, "rel_wql_gmean": 0.593906337357885}}, "domain": {"Econ/Fin": {"n_configs": 6, "rel_mase_gmean": 0.8871103723322559, "rel_wql_gmean": 0.8186104803199865}, "Energy": {"n_configs": 32, "rel_mase_gmean": 0.8873228160456544, "rel_wql_gmean": 0.666828211814892}, "Healthcare": {"n_configs": 5, "rel_mase_gmean": 0.6602366692845489, "rel_wql_gmean": 0.5698594545952637}, "Nature": {"n_configs": 15, "rel_mase_gmean": 0.9037307861253031, "rel_wql_gmean": 0.42282624120616724}, "Sales": {"n_configs": 4, "rel_mase_gmean": 0.7231485364548405, "rel_wql_gmean": 0.49076711071441}, "Transport": {"n_configs": 15, "rel_mase_gmean": 0.731298212809883, "rel_wql_gmean": 0.524438086130783}, "Web/CloudOps": {"n_configs": 20, "rel_mase_gmean": 0.660209298499444, "rel_wql_gmean": 0.45581270950466285}}, "frequency": {"A": {"n_configs": 1, "rel_mase_gmean": 0.6522392949080874, "rel_wql_gmean": 0.7270620636653731}, "D": {"n_configs": 15, "rel_mase_gmean": 0.8205802765681058, "rel_wql_gmean": 0.4901220874772779}, "H": {"n_configs": 31, "rel_mase_gmean": 0.7677299491087929, "rel_wql_gmean": 0.5094849178695509}, "M": {"n_configs": 5, "rel_mase_gmean": 0.866956136135693, "rel_wql_gmean": 0.7966508658255991}, "Q": {"n_configs": 1, "rel_mase_gmean": 0.7588717620885471, "rel_wql_gmean": 0.7653003797772433}, "S": {"n_configs": 6, "rel_mase_gmean": 0.8525356752749418, "rel_wql_gmean": 0.5080017737889677}, "T": {"n_configs": 30, "rel_mase_gmean": 0.7704476348183809, "rel_wql_gmean": 0.576748095637338}, "W": {"n_configs": 8, "rel_mase_gmean": 0.8742573452440867, "rel_wql_gmean": 0.5889566774320315}}, "variates": {"multivariate": {"n_configs": 43, "rel_mase_gmean": 0.7866251148848069, "rel_wql_gmean": 0.5284419129269964}, "univariate": {"n_configs": 54, "rel_mase_gmean": 0.7990675186329057, "rel_wql_gmean": 0.5662861373570198}}}, "group_skill_delta": {"term": {"long": -0.00017424888756090162, "medium": 0.00018061577940664542, "short": 0.0006052952031057046}, "domain": {"Econ/Fin": 0.0030272948947835943, "Energy": -0.0008496476670167841, "Healthcare": 0.005504156669091653, "Nature": 0.001273660219156092, "Sales": 0.00022851491576159066, "Transport": -0.0003436271615884223, "Web/CloudOps": -0.00020499312781330215}, "frequency": {"A": 0.0002794242206430875, "D": 0.001827270086087851, "H": -0.00024729348858487654, "M": 0.0038531516790131226, "Q": -0.0007208498801813956, "S": -0.0021351581396045205, "T": -2.899372776088427e-05, "W": 0.0013255355437350458}, "variates": {"multivariate": -0.0002459075032863467, "univariate": 0.0007989270315544861}}}, {"cutoff": "backcast2_evals", "candidate_skill": 0.3634651823323487, "control_skill": 0.3632547284652886, "delta": 0.00021045386706008973, "candidate_checkpoint": "bca83d228f218f56044ce37b1a4fbc84a2f2bb8a8f900ccb868b01621e4e0e14", "control_checkpoint": "ad45e0cfae574d3dc1be0b9720c9be0863db9ffe33891fdb22c86dfa83667253", "candidate_eval_seconds": 29.69541573524475, "candidate_groups": {"term": {"long": {"n_configs": 19, "rel_mase_gmean": 0.796010711897235, "rel_wql_gmean": 0.5031146452047978}, "medium": {"n_configs": 21, "rel_mase_gmean": 0.7491728394565431, "rel_wql_gmean": 0.48710325450193287}, "short": {"n_configs": 54, "rel_mase_gmean": 0.7608068814438278, "rel_wql_gmean": 0.556956567313988}}, "domain": {"Econ/Fin": {"n_configs": 6, "rel_mase_gmean": 0.8981337992244793, "rel_wql_gmean": 0.9117442497657426}, "Energy": {"n_configs": 32, "rel_mase_gmean": 0.8958934087779044, "rel_wql_gmean": 0.6468112858220431}, "Healthcare": {"n_configs": 5, "rel_mase_gmean": 0.690928808652887, "rel_wql_gmean": 0.5901467505848821}, "Nature": {"n_configs": 15, "rel_mase_gmean": 0.7502474208013564, "rel_wql_gmean": 0.3574012281399699}, "Sales": {"n_configs": 3, "rel_mase_gmean": 0.5597801440972071, "rel_wql_gmean": 0.35917245533780456}, "Transport": {"n_configs": 14, "rel_mase_gmean": 0.6608417404027367, "rel_wql_gmean": 0.49485119770189157}, "Web/CloudOps": {"n_configs": 19, "rel_mase_gmean": 0.6809839651004048, "rel_wql_gmean": 0.4717913826088286}}, "frequency": {"A": {"n_configs": 1, "rel_mase_gmean": 0.5816450730088396, "rel_wql_gmean": 0.7346910411865121}, "D": {"n_configs": 15, "rel_mase_gmean": 0.7277128145323617, "rel_wql_gmean": 0.447767285572089}, "H": {"n_configs": 30, "rel_mase_gmean": 0.7494786237408942, "rel_wql_gmean": 0.4851867811391379}, "M": {"n_configs": 4, "rel_mase_gmean": 0.8050265391355491, "rel_wql_gmean": 0.8334619285478092}, "Q": {"n_configs": 1, "rel_mase_gmean": 0.831172374757521, "rel_wql_gmean": 0.8714882038517467}, "S": {"n_configs": 6, "rel_mase_gmean": 0.9037924718871023, "rel_wql_gmean": 0.567530823892528}, "T": {"n_configs": 29, "rel_mase_gmean": 0.7539365562973754, "rel_wql_gmean": 0.5400638392562596}, "W": {"n_configs": 8, "rel_mase_gmean": 0.844698018187745, "rel_wql_gmean": 0.6397822559233589}}, "variates": {"multivariate": {"n_configs": 42, "rel_mase_gmean": 0.779835608839658, "rel_wql_gmean": 0.515907876803815}, "univariate": {"n_configs": 52, "rel_mase_gmean": 0.7535014419322844, "rel_wql_gmean": 0.5408030529738157}}}, "control_groups": {"term": {"long": {"n_configs": 19, "rel_mase_gmean": 0.7969398609040024, "rel_wql_gmean": 0.5035562825504419}, "medium": {"n_configs": 21, "rel_mase_gmean": 0.7490067352384399, "rel_wql_gmean": 0.48743000572367984}, "short": {"n_configs": 54, "rel_mase_gmean": 0.7615427910500057, "rel_wql_gmean": 0.5565614531092009}}, "domain": {"Econ/Fin": {"n_configs": 6, "rel_mase_gmean": 0.901205213255903, "rel_wql_gmean": 0.9129519979778129}, "Energy": {"n_configs": 32, "rel_mase_gmean": 0.895984498209844, "rel_wql_gmean": 0.6466953024058848}, "Healthcare": {"n_configs": 5, "rel_mase_gmean": 0.6906395512407255, "rel_wql_gmean": 0.5895403412546308}, "Nature": {"n_configs": 15, "rel_mase_gmean": 0.7520688777995285, "rel_wql_gmean": 0.35747495688522557}, "Sales": {"n_configs": 3, "rel_mase_gmean": 0.5597836473152902, "rel_wql_gmean": 0.3594495182358377}, "Transport": {"n_configs": 14, "rel_mase_gmean": 0.6614283420298616, "rel_wql_gmean": 0.49546817917989344}, "Web/CloudOps": {"n_configs": 19, "rel_mase_gmean": 0.6809574130261864, "rel_wql_gmean": 0.47110941162938547}}, "frequency": {"A": {"n_configs": 1, "rel_mase_gmean": 0.581464401116573, "rel_wql_gmean": 0.7355000101927864}, "D": {"n_configs": 15, "rel_mase_gmean": 0.7270580675006559, "rel_wql_gmean": 0.44686466314745266}, "H": {"n_configs": 30, "rel_mase_gmean": 0.7494927915333071, "rel_wql_gmean": 0.48496142310648743}, "M": {"n_configs": 4, "rel_mase_gmean": 0.8066081312673148, "rel_wql_gmean": 0.8347163141766332}, "Q": {"n_configs": 1, "rel_mase_gmean": 0.8311725894461938, "rel_wql_gmean": 0.8717568945686304}, "S": {"n_configs": 6, "rel_mase_gmean": 0.9046061716746755, "rel_wql_gmean": 0.5673078591497167}, "T": {"n_configs": 29, "rel_mase_gmean": 0.7542500727562019, "rel_wql_gmean": 0.5401993598021697}, "W": {"n_configs": 8, "rel_mase_gmean": 0.8508075542526838, "rel_wql_gmean": 0.6417280462795324}}, "variates": {"multivariate": {"n_configs": 42, "rel_mase_gmean": 0.7799074480129385, "rel_wql_gmean": 0.515543995911792}, "univariate": {"n_configs": 52, "rel_mase_gmean": 0.7544561978137869, "rel_wql_gmean": 0.5410325795112644}}}, "group_skill_delta": {"term": {"long": 0.0006470909003212233, "medium": 0.00013558461675455824, "short": 8.369786152384595e-05}, "domain": {"Econ/Fin": 0.002146153949530216, "Energy": -2.955902500711982e-05, "Healthcare": -0.0004617691974517779, "Nature": 0.0006816780078476858, "Sales": 0.00017431431571418576, "Transport": 0.0006102918567446602, "Web/CloudOps": -0.0004208560423835106}, "frequency": {"A": 0.00025820691624944825, "D": -0.0008322330087695562, "H": -0.00013436316992310182, "M": 0.0014210205784808139, "Q": 0.000131300917747601, "S": 0.000181565620089974, "T": 0.0002127325458938234, "W": 0.003774830451462874}, "variates": {"multivariate": -0.0001945238033403962, "univariate": 0.0005398345979374941}}}, {"cutoff": "backcast3_evals", "candidate_skill": 0.394996522602713, "control_skill": 0.3944984110874522, "delta": 0.0004981115152608018, "candidate_checkpoint": "bca83d228f218f56044ce37b1a4fbc84a2f2bb8a8f900ccb868b01621e4e0e14", "control_checkpoint": "ad45e0cfae574d3dc1be0b9720c9be0863db9ffe33891fdb22c86dfa83667253", "candidate_eval_seconds": 29.39141845703125, "candidate_groups": {"term": {"long": {"n_configs": 19, "rel_mase_gmean": 0.7609278081832768, "rel_wql_gmean": 0.4737874890433553}, "medium": {"n_configs": 20, "rel_mase_gmean": 0.7667702515280654, "rel_wql_gmean": 0.5283244406091548}, "short": {"n_configs": 54, "rel_mase_gmean": 0.7058443077231039, "rel_wql_gmean": 0.5021230705374498}}, "domain": {"Econ/Fin": {"n_configs": 6, "rel_mase_gmean": 0.8431930833875574, "rel_wql_gmean": 0.8290844351019289}, "Energy": {"n_configs": 32, "rel_mase_gmean": 0.8285671243174719, "rel_wql_gmean": 0.5532187658623158}, "Healthcare": {"n_configs": 5, "rel_mase_gmean": 0.7498362879495051, "rel_wql_gmean": 0.6292370435936536}, "Nature": {"n_configs": 15, "rel_mase_gmean": 0.7103649263138847, "rel_wql_gmean": 0.3380220366738794}, "Sales": {"n_configs": 3, "rel_mase_gmean": 0.747801972670764, "rel_wql_gmean": 0.473508904191406}, "Transport": {"n_configs": 14, "rel_mase_gmean": 0.5354802981983715, "rel_wql_gmean": 0.44356433049284627}, "Web/CloudOps": {"n_configs": 18, "rel_mase_gmean": 0.7130573262845484, "rel_wql_gmean": 0.5169407975959498}}, "frequency": {"A": {"n_configs": 1, "rel_mase_gmean": 0.5312920498548909, "rel_wql_gmean": 0.7772203282511415}, "D": {"n_configs": 15, "rel_mase_gmean": 0.7087998117717633, "rel_wql_gmean": 0.4147072725527441}, "H": {"n_configs": 29, "rel_mase_gmean": 0.7200052492644063, "rel_wql_gmean": 0.48450789538849093}, "M": {"n_configs": 4, "rel_mase_gmean": 0.8296240188208471, "rel_wql_gmean": 0.8210348392021879}, "Q": {"n_configs": 1, "rel_mase_gmean": 0.7155178910987012, "rel_wql_gmean": 0.7686214800922015}, "S": {"n_configs": 6, "rel_mase_gmean": 0.838874049704475, "rel_wql_gmean": 0.6011438440247594}, "T": {"n_configs": 29, "rel_mase_gmean": 0.705036739969768, "rel_wql_gmean": 0.4625374421977872}, "W": {"n_configs": 8, "rel_mase_gmean": 0.8064741890063348, "rel_wql_gmean": 0.6685687666049329}}, "variates": {"multivariate": {"n_configs": 41, "rel_mase_gmean": 0.7591741076286767, "rel_wql_gmean": 0.5123743861948366}, "univariate": {"n_configs": 52, "rel_mase_gmean": 0.7071661261531449, "rel_wql_gmean": 0.493365313522009}}}, "control_groups": {"term": {"long": {"n_configs": 19, "rel_mase_gmean": 0.7605445792601405, "rel_wql_gmean": 0.4740600920237114}, "medium": {"n_configs": 20, "rel_mase_gmean": 0.7673937404796206, "rel_wql_gmean": 0.529050128812873}, "short": {"n_configs": 54, "rel_mase_gmean": 0.7066888727036074, "rel_wql_gmean": 0.5025271114107714}}, "domain": {"Econ/Fin": {"n_configs": 6, "rel_mase_gmean": 0.8465750633042362, "rel_wql_gmean": 0.8301832550203931}, "Energy": {"n_configs": 32, "rel_mase_gmean": 0.8280900345851895, "rel_wql_gmean": 0.5531225386420328}, "Healthcare": {"n_configs": 5, "rel_mase_gmean": 0.7582600194472988, "rel_wql_gmean": 0.632623318642284}, "Nature": {"n_configs": 15, "rel_mase_gmean": 0.7096275569559131, "rel_wql_gmean": 0.3386957610122997}, "Sales": {"n_configs": 3, "rel_mase_gmean": 0.7487935010952289, "rel_wql_gmean": 0.47423739993986525}, "Transport": {"n_configs": 14, "rel_mase_gmean": 0.5364607716260557, "rel_wql_gmean": 0.4442170483634485}, "Web/CloudOps": {"n_configs": 18, "rel_mase_gmean": 0.7128912578353812, "rel_wql_gmean": 0.5168699930573769}}, "frequency": {"A": {"n_configs": 1, "rel_mase_gmean": 0.5308138227989901, "rel_wql_gmean": 0.777900736251483}, "D": {"n_configs": 15, "rel_mase_gmean": 0.7112195255614516, "rel_wql_gmean": 0.4154980506806888}, "H": {"n_configs": 29, "rel_mase_gmean": 0.7198763379573593, "rel_wql_gmean": 0.48466211242450724}, "M": {"n_configs": 4, "rel_mase_gmean": 0.8330944575177875, "rel_wql_gmean": 0.8230031202022723}, "Q": {"n_configs": 1, "rel_mase_gmean": 0.7156105446358054, "rel_wql_gmean": 0.7684011151446023}, "S": {"n_configs": 6, "rel_mase_gmean": 0.8371984068688675, "rel_wql_gmean": 0.6003957122289793}, "T": {"n_configs": 29, "rel_mase_gmean": 0.7049982843940813, "rel_wql_gmean": 0.46277982987038807}, "W": {"n_configs": 8, "rel_mase_gmean": 0.8087944681865019, "rel_wql_gmean": 0.670755534033392}}, "variates": {"multivariate": {"n_configs": 41, "rel_mase_gmean": 0.7587335902791335, "rel_wql_gmean": 0.5125489110619184}, "univariate": {"n_configs": 52, "rel_mase_gmean": 0.7084600116309258, "rel_wql_gmean": 0.494009506622114}}}, "group_skill_delta": {"term": {"long": 2.1448896776798954e-05, "medium": 0.0006958682445376008, "short": 0.0005956772003290478}, "domain": {"Econ/Fin": 0.0022300962660648516, "Energy": -0.00025381500467214213, "Healthcare": 0.005703687322292761, "Nature": 0.00023345174777117395, "Sales": 0.0008522434659242739, "Transport": 0.0008047568779384617, "Web/CloudOps": -0.0001122789240924904}, "frequency": {"A": -8.183887908796983e-06, "D": 0.0014421861687596849, "H": 4.110581158556226e-05, "M": 0.0027151604506959748, "Q": -5.8309075831819435e-05, "S": -0.0011511718747805322, "T": 0.00013403025807678937, "W": 0.0022571543749427825}, "variates": {"multivariate": -7.47955420258295e-05, "univariate": 0.0009259701264653364}}}], "mean_delta": 0.000565718304676277, "positive_cutoffs": 4, "outcome": "Declared comparison checkpoints 6000,12000. No transfer formula or automatic publication is selected by this controller."} + +E160 12000 four-cutoff comparison: {"label": "E160 12000 four-cutoff comparison", "utc": "2026-10-24T06:45:01.810883+00:00", "candidate": "integrated_level_replication_ema12000", "control": "weekly_replication_control_ema12000", "rows": [{"cutoff": "evals", "candidate_skill": 0.37752111286807033, "control_skill": 0.37650125931885015, "delta": 0.0010198535492201843, "candidate_checkpoint": "370c012f009a776bf0c04e20ccab1d09f8918e8ec4865fc98774764a878195ed", "control_checkpoint": "dc03098da92746d3974cdb5fd3df955a8b52e689260f1fdcd0dd7b63a91fe17e", "candidate_eval_seconds": 26.730857849121094, "candidate_groups": {"term": {"long": {"n_configs": 21, "rel_mase_gmean": 0.7424718735263128, "rel_wql_gmean": 0.47996522290147464}, "medium": {"n_configs": 21, "rel_mase_gmean": 0.7105973464538644, "rel_wql_gmean": 0.4937758540782939}, "short": {"n_configs": 55, "rel_mase_gmean": 0.7584837662145613, "rel_wql_gmean": 0.5478232228004614}}, "domain": {"Econ/Fin": {"n_configs": 6, "rel_mase_gmean": 0.8735805217437259, "rel_wql_gmean": 0.8439812850959233}, "Energy": {"n_configs": 32, "rel_mase_gmean": 0.8970771590901736, "rel_wql_gmean": 0.6464615797910387}, "Healthcare": {"n_configs": 5, "rel_mase_gmean": 0.5934496568485377, "rel_wql_gmean": 0.5249584436054799}, "Nature": {"n_configs": 15, "rel_mase_gmean": 0.8138875231321107, "rel_wql_gmean": 0.3977822389254477}, "Sales": {"n_configs": 4, "rel_mase_gmean": 0.8629590446348131, "rel_wql_gmean": 0.5257192899890739}, "Transport": {"n_configs": 15, "rel_mase_gmean": 0.6447674322793192, "rel_wql_gmean": 0.4424527807448714}, "Web/CloudOps": {"n_configs": 20, "rel_mase_gmean": 0.5634208093509522, "rel_wql_gmean": 0.43818081541473736}}, "frequency": {"A": {"n_configs": 1, "rel_mase_gmean": 0.6154896465340344, "rel_wql_gmean": 0.6406770924233054}, "D": {"n_configs": 15, "rel_mase_gmean": 0.7779025680471106, "rel_wql_gmean": 0.5320588263403722}, "H": {"n_configs": 31, "rel_mase_gmean": 0.7312973712858727, "rel_wql_gmean": 0.49908590586215684}, "M": {"n_configs": 5, "rel_mase_gmean": 0.9770789532035746, "rel_wql_gmean": 0.8474548671381829}, "Q": {"n_configs": 1, "rel_mase_gmean": 0.7772587404609469, "rel_wql_gmean": 0.8227168816700268}, "S": {"n_configs": 6, "rel_mase_gmean": 0.6568047558943827, "rel_wql_gmean": 0.5051112251644677}, "T": {"n_configs": 30, "rel_mase_gmean": 0.6919660954192741, "rel_wql_gmean": 0.45358898560548927}, "W": {"n_configs": 8, "rel_mase_gmean": 0.9114943826268814, "rel_wql_gmean": 0.6837654559847633}}, "variates": {"multivariate": {"n_configs": 43, "rel_mase_gmean": 0.7110712239862378, "rel_wql_gmean": 0.5124764445353847}, "univariate": {"n_configs": 54, "rel_mase_gmean": 0.7720600328775649, "rel_wql_gmean": 0.5270225809817108}}}, "control_groups": {"term": {"long": {"n_configs": 21, "rel_mase_gmean": 0.7423258223657083, "rel_wql_gmean": 0.4798378587550141}, "medium": {"n_configs": 21, "rel_mase_gmean": 0.7111249588305558, "rel_wql_gmean": 0.49538817078279485}, "short": {"n_configs": 55, "rel_mase_gmean": 0.7597756683365868, "rel_wql_gmean": 0.549315763341069}}, "domain": {"Econ/Fin": {"n_configs": 6, "rel_mase_gmean": 0.8762263674617405, "rel_wql_gmean": 0.8476913606765002}, "Energy": {"n_configs": 32, "rel_mase_gmean": 0.8987732108050124, "rel_wql_gmean": 0.6471334751576476}, "Healthcare": {"n_configs": 5, "rel_mase_gmean": 0.5948687348643393, "rel_wql_gmean": 0.5267177864306672}, "Nature": {"n_configs": 15, "rel_mase_gmean": 0.8128769118735754, "rel_wql_gmean": 0.39851840033548724}, "Sales": {"n_configs": 4, "rel_mase_gmean": 0.8620781263218368, "rel_wql_gmean": 0.5254552749363837}, "Transport": {"n_configs": 15, "rel_mase_gmean": 0.6453101528855447, "rel_wql_gmean": 0.44256597733622044}, "Web/CloudOps": {"n_configs": 20, "rel_mase_gmean": 0.5641150034309002, "rel_wql_gmean": 0.4405242882875604}}, "frequency": {"A": {"n_configs": 1, "rel_mase_gmean": 0.6139497813449873, "rel_wql_gmean": 0.6412697752176224}, "D": {"n_configs": 15, "rel_mase_gmean": 0.777666349767693, "rel_wql_gmean": 0.5322826373815059}, "H": {"n_configs": 31, "rel_mase_gmean": 0.731819244718065, "rel_wql_gmean": 0.49938279418453085}, "M": {"n_configs": 5, "rel_mase_gmean": 0.9893475338694124, "rel_wql_gmean": 0.8514023810064989}, "Q": {"n_configs": 1, "rel_mase_gmean": 0.776277696224593, "rel_wql_gmean": 0.8210565395309606}, "S": {"n_configs": 6, "rel_mase_gmean": 0.6563690273254504, "rel_wql_gmean": 0.5051017721981628}, "T": {"n_configs": 30, "rel_mase_gmean": 0.6923405331571078, "rel_wql_gmean": 0.45563442430764384}, "W": {"n_configs": 8, "rel_mase_gmean": 0.9133906475951029, "rel_wql_gmean": 0.6864010897148384}}, "variates": {"multivariate": {"n_configs": 43, "rel_mase_gmean": 0.711455836842964, "rel_wql_gmean": 0.5141081604537986}, "univariate": {"n_configs": 54, "rel_mase_gmean": 0.7732304940182492, "rel_wql_gmean": 0.527763230728218}}}, "group_skill_delta": {"term": {"long": -0.00013791906026461298, "medium": 0.0011865269569367731, "short": 0.0014269940144895354}, "domain": {"Econ/Fin": 0.0031874042296632377, "Energy": 0.0011155649193097528, "Healthcare": 0.0016025732072089127, "Nature": 0.00017256499259810099, "Sales": -0.0005129366360541177, "Transport": 0.0002930914487404568, "Web/CloudOps": 0.0016337275129255646}, "frequency": {"A": -0.0004959931905478276, "D": 3.75902890867863e-05, "H": 0.00039525214580282686, "M": 0.007825217978319476, "Q": -0.0013116298497006795, "S": -0.00019647593058924606, "T": 0.0014136657197061364, "W": 0.002342406841908895}, "variates": {"multivariate": 0.001123755557705497, "univariate": 0.0009317435059155166}}}, {"cutoff": "backcast_evals", "candidate_skill": 0.33751003385361134, "control_skill": 0.3358947343072791, "delta": 0.0016152995463322162, "candidate_checkpoint": "370c012f009a776bf0c04e20ccab1d09f8918e8ec4865fc98774764a878195ed", "control_checkpoint": "dc03098da92746d3974cdb5fd3df955a8b52e689260f1fdcd0dd7b63a91fe17e", "candidate_eval_seconds": 25.24738883972168, "candidate_groups": {"term": {"long": {"n_configs": 21, "rel_mase_gmean": 0.7783327242249054, "rel_wql_gmean": 0.4675779464790563}, "medium": {"n_configs": 21, "rel_mase_gmean": 0.7709801319483206, "rel_wql_gmean": 0.5347245202121433}, "short": {"n_configs": 55, "rel_mase_gmean": 0.8131144857738283, "rel_wql_gmean": 0.5938046395776525}}, "domain": {"Econ/Fin": {"n_configs": 6, "rel_mase_gmean": 0.8618306626763081, "rel_wql_gmean": 0.8009159072828721}, "Energy": {"n_configs": 32, "rel_mase_gmean": 0.8911661979577996, "rel_wql_gmean": 0.6719003800702779}, "Healthcare": {"n_configs": 5, "rel_mase_gmean": 0.6189256039813155, "rel_wql_gmean": 0.5397662607618242}, "Nature": {"n_configs": 15, "rel_mase_gmean": 0.9343271739409033, "rel_wql_gmean": 0.4345812677052623}, "Sales": {"n_configs": 4, "rel_mase_gmean": 0.731413741966172, "rel_wql_gmean": 0.49723200609633134}, "Transport": {"n_configs": 15, "rel_mase_gmean": 0.7357636660808513, "rel_wql_gmean": 0.5288497018303583}, "Web/CloudOps": {"n_configs": 20, "rel_mase_gmean": 0.6619197447835345, "rel_wql_gmean": 0.4541753866145442}}, "frequency": {"A": {"n_configs": 1, "rel_mase_gmean": 0.6331154122256285, "rel_wql_gmean": 0.711186372051948}, "D": {"n_configs": 15, "rel_mase_gmean": 0.8381820148065627, "rel_wql_gmean": 0.49680483285234295}, "H": {"n_configs": 31, "rel_mase_gmean": 0.7775279306161149, "rel_wql_gmean": 0.5154522923936282}, "M": {"n_configs": 5, "rel_mase_gmean": 0.8407277750472553, "rel_wql_gmean": 0.7727615291965897}, "Q": {"n_configs": 1, "rel_mase_gmean": 0.7594299902110815, "rel_wql_gmean": 0.7707859699746983}, "S": {"n_configs": 6, "rel_mase_gmean": 0.8548462686481313, "rel_wql_gmean": 0.5066797127686771}, "T": {"n_configs": 30, "rel_mase_gmean": 0.7652621863663289, "rel_wql_gmean": 0.574955588168349}, "W": {"n_configs": 8, "rel_mase_gmean": 0.8728625854327766, "rel_wql_gmean": 0.594097033134442}}, "variates": {"multivariate": {"n_configs": 43, "rel_mase_gmean": 0.7903707988623905, "rel_wql_gmean": 0.5300941301516217}, "univariate": {"n_configs": 54, "rel_mase_gmean": 0.8009261407656342, "rel_wql_gmean": 0.5686318779911536}}}, "control_groups": {"term": {"long": {"n_configs": 21, "rel_mase_gmean": 0.7790696804591536, "rel_wql_gmean": 0.4675903653980333}, "medium": {"n_configs": 21, "rel_mase_gmean": 0.7721877709531506, "rel_wql_gmean": 0.5359033743134146}, "short": {"n_configs": 55, "rel_mase_gmean": 0.8157056524541806, "rel_wql_gmean": 0.595945142576227}}, "domain": {"Econ/Fin": {"n_configs": 6, "rel_mase_gmean": 0.8702083459344165, "rel_wql_gmean": 0.8095153005807372}, "Energy": {"n_configs": 32, "rel_mase_gmean": 0.8915064371785775, "rel_wql_gmean": 0.6716980091534934}, "Healthcare": {"n_configs": 5, "rel_mase_gmean": 0.6240249575542719, "rel_wql_gmean": 0.5402160092228716}, "Nature": {"n_configs": 15, "rel_mase_gmean": 0.935694134093894, "rel_wql_gmean": 0.4349550600914482}, "Sales": {"n_configs": 4, "rel_mase_gmean": 0.7315038063745323, "rel_wql_gmean": 0.4978004030239261}, "Transport": {"n_configs": 15, "rel_mase_gmean": 0.735787693330345, "rel_wql_gmean": 0.5289930405755158}, "Web/CloudOps": {"n_configs": 20, "rel_mase_gmean": 0.6650226795797447, "rel_wql_gmean": 0.45792804555178057}}, "frequency": {"A": {"n_configs": 1, "rel_mase_gmean": 0.6325356225251678, "rel_wql_gmean": 0.7103481618244573}, "D": {"n_configs": 15, "rel_mase_gmean": 0.8394331932394111, "rel_wql_gmean": 0.4979820769791658}, "H": {"n_configs": 31, "rel_mase_gmean": 0.7778562933336808, "rel_wql_gmean": 0.5158436068239591}, "M": {"n_configs": 5, "rel_mase_gmean": 0.8454913331318379, "rel_wql_gmean": 0.7816333262802584}, "Q": {"n_configs": 1, "rel_mase_gmean": 0.7629077893451893, "rel_wql_gmean": 0.7702380946329767}, "S": {"n_configs": 6, "rel_mase_gmean": 0.8544025093684732, "rel_wql_gmean": 0.5071247498858551}, "T": {"n_configs": 30, "rel_mase_gmean": 0.7689059517346652, "rel_wql_gmean": 0.5775992603673705}, "W": {"n_configs": 8, "rel_mase_gmean": 0.8751544074195073, "rel_wql_gmean": 0.5931769268978029}}, "variates": {"multivariate": {"n_configs": 43, "rel_mase_gmean": 0.7925885195053555, "rel_wql_gmean": 0.5316423918477458}, "univariate": {"n_configs": 54, "rel_mase_gmean": 0.8025184091177678, "rel_wql_gmean": 0.5698895064907624}}}, "group_skill_delta": {"term": {"long": 0.0002935461799403738, "medium": 0.001210592388088405, "short": 0.002359538092125524}, "domain": {"Econ/Fin": 0.00849819811351904, "Energy": 3.1138909527106406e-05, "Healthcare": 0.0026179064740246005, "Nature": 0.0007401465539454977, "Sales": 0.00038173738292024417, "Transport": 9.471582011166824e-05, "Web/CloudOps": 0.0035494394265187523}, "frequency": {"A": -0.0007026878074145593, "D": 0.0012461296546600886, "H": 0.0003739723123319383, "M": 0.006906960907439141, "Q": 0.0014772688285461522, "S": 0.00011804916875823857, "T": 0.0031041657378552134, "W": 0.0003861749675082571}, "variates": {"multivariate": 0.001853372202736625, "univariate": 0.0014170972922205038}}}, {"cutoff": "backcast2_evals", "candidate_skill": 0.36041589577306465, "control_skill": 0.35985891378123624, "delta": 0.0005569819918284091, "candidate_checkpoint": "370c012f009a776bf0c04e20ccab1d09f8918e8ec4865fc98774764a878195ed", "control_checkpoint": "dc03098da92746d3974cdb5fd3df955a8b52e689260f1fdcd0dd7b63a91fe17e", "candidate_eval_seconds": 24.575440168380737, "candidate_groups": {"term": {"long": {"n_configs": 19, "rel_mase_gmean": 0.7997866277005105, "rel_wql_gmean": 0.5043917603739936}, "medium": {"n_configs": 21, "rel_mase_gmean": 0.756692034329552, "rel_wql_gmean": 0.49442050246865915}, "short": {"n_configs": 54, "rel_mase_gmean": 0.7633083494451187, "rel_wql_gmean": 0.5575786429051651}}, "domain": {"Econ/Fin": {"n_configs": 6, "rel_mase_gmean": 0.8769088424911098, "rel_wql_gmean": 0.8947100635117177}, "Energy": {"n_configs": 32, "rel_mase_gmean": 0.8954608187295607, "rel_wql_gmean": 0.6496603513679967}, "Healthcare": {"n_configs": 5, "rel_mase_gmean": 0.698792874249379, "rel_wql_gmean": 0.5981939916310731}, "Nature": {"n_configs": 15, "rel_mase_gmean": 0.7717606374683522, "rel_wql_gmean": 0.3633412619191076}, "Sales": {"n_configs": 3, "rel_mase_gmean": 0.5597544447336091, "rel_wql_gmean": 0.3592984515668074}, "Transport": {"n_configs": 14, "rel_mase_gmean": 0.6675759591507329, "rel_wql_gmean": 0.5008551161053361}, "Web/CloudOps": {"n_configs": 19, "rel_mase_gmean": 0.6814635699078543, "rel_wql_gmean": 0.46954256675146516}}, "frequency": {"A": {"n_configs": 1, "rel_mase_gmean": 0.5799336939102, "rel_wql_gmean": 0.7251469544917957}, "D": {"n_configs": 15, "rel_mase_gmean": 0.7234574981957166, "rel_wql_gmean": 0.44547550851412826}, "H": {"n_configs": 30, "rel_mase_gmean": 0.7590311233378974, "rel_wql_gmean": 0.49181257747857643}, "M": {"n_configs": 4, "rel_mase_gmean": 0.8285335432503746, "rel_wql_gmean": 0.8563604367706431}, "Q": {"n_configs": 1, "rel_mase_gmean": 0.8270132959478723, "rel_wql_gmean": 0.8667149424721701}, "S": {"n_configs": 6, "rel_mase_gmean": 0.9103105063476599, "rel_wql_gmean": 0.566786648422645}, "T": {"n_configs": 29, "rel_mase_gmean": 0.7524009965844011, "rel_wql_gmean": 0.5396749323457838}, "W": {"n_configs": 8, "rel_mase_gmean": 0.8546555241573429, "rel_wql_gmean": 0.6422292655419066}}, "variates": {"multivariate": {"n_configs": 42, "rel_mase_gmean": 0.7810437322339588, "rel_wql_gmean": 0.5167240649275251}, "univariate": {"n_configs": 52, "rel_mase_gmean": 0.7594933580108677, "rel_wql_gmean": 0.5445094940839399}}}, "control_groups": {"term": {"long": {"n_configs": 19, "rel_mase_gmean": 0.8013559838363913, "rel_wql_gmean": 0.5054128770623004}, "medium": {"n_configs": 21, "rel_mase_gmean": 0.75788321794871, "rel_wql_gmean": 0.49421017421244823}, "short": {"n_configs": 54, "rel_mase_gmean": 0.7639898471755044, "rel_wql_gmean": 0.5577406704739787}}, "domain": {"Econ/Fin": {"n_configs": 6, "rel_mase_gmean": 0.884582495524887, "rel_wql_gmean": 0.9052218281574911}, "Energy": {"n_configs": 32, "rel_mase_gmean": 0.8962501330896433, "rel_wql_gmean": 0.6495487799423033}, "Healthcare": {"n_configs": 5, "rel_mase_gmean": 0.6926973403721509, "rel_wql_gmean": 0.5937869785059188}, "Nature": {"n_configs": 15, "rel_mase_gmean": 0.7713675171303247, "rel_wql_gmean": 0.3616973051331611}, "Sales": {"n_configs": 3, "rel_mase_gmean": 0.5592522419628495, "rel_wql_gmean": 0.35866016979444243}, "Transport": {"n_configs": 14, "rel_mase_gmean": 0.6679748662601066, "rel_wql_gmean": 0.501187884126286}, "Web/CloudOps": {"n_configs": 19, "rel_mase_gmean": 0.6844749650355838, "rel_wql_gmean": 0.4715640721636921}}, "frequency": {"A": {"n_configs": 1, "rel_mase_gmean": 0.5794331362019375, "rel_wql_gmean": 0.7249032130584426}, "D": {"n_configs": 15, "rel_mase_gmean": 0.7274908943977823, "rel_wql_gmean": 0.447185381910289}, "H": {"n_configs": 30, "rel_mase_gmean": 0.7592674956924574, "rel_wql_gmean": 0.4915230345874937}, "M": {"n_configs": 4, "rel_mase_gmean": 0.8160225626258149, "rel_wql_gmean": 0.8474243321015386}, "Q": {"n_configs": 1, "rel_mase_gmean": 0.8281711532324068, "rel_wql_gmean": 0.8673446644194264}, "S": {"n_configs": 6, "rel_mase_gmean": 0.9115517503849181, "rel_wql_gmean": 0.567299277514214}, "T": {"n_configs": 29, "rel_mase_gmean": 0.7565118858787296, "rel_wql_gmean": 0.5413823048088119}, "W": {"n_configs": 8, "rel_mase_gmean": 0.8461374522214398, "rel_wql_gmean": 0.6382218477885009}}, "variates": {"multivariate": {"n_configs": 42, "rel_mase_gmean": 0.7845688942217784, "rel_wql_gmean": 0.5172999150208025}, "univariate": {"n_configs": 52, "rel_mase_gmean": 0.7584619130014335, "rel_wql_gmean": 0.5444927422951403}}}, "group_skill_delta": {"term": {"long": 0.0012660511664051022, "medium": 0.0003510286473111801, "short": 0.00038598990406157885}, "domain": {"Econ/Fin": 0.009077923438662983, "Energy": 0.000270555292338992, "Healthcare": -0.00520160929421698, "Nature": -0.001333904262343144, "Sales": -0.0005995599104576255, "Transport": 0.00036485188182633355, "Web/CloudOps": 0.0024675052225090477}, "frequency": {"A": -0.00038887435448564656, "D": 0.0026717996293527113, "H": -8.477869397338633e-05, "M": -0.01075685110510205, "Q": 0.000900178862897616, "S": 0.0008145263106745793, "T": 0.002748365254665708, "W": -0.0060047425168943125}, "variates": {"multivariate": 0.0017867146394799915, "univariate": -0.00044670734447804783}}}, {"cutoff": "backcast3_evals", "candidate_skill": 0.38776852332618805, "control_skill": 0.388556531456951, "delta": -0.0007880081307629627, "candidate_checkpoint": "370c012f009a776bf0c04e20ccab1d09f8918e8ec4865fc98774764a878195ed", "control_checkpoint": "dc03098da92746d3974cdb5fd3df955a8b52e689260f1fdcd0dd7b63a91fe17e", "candidate_eval_seconds": 24.145907163619995, "candidate_groups": {"term": {"long": {"n_configs": 19, "rel_mase_gmean": 0.7653885324543288, "rel_wql_gmean": 0.47956418303770587}, "medium": {"n_configs": 20, "rel_mase_gmean": 0.7679234067422444, "rel_wql_gmean": 0.5301689330711833}, "short": {"n_configs": 54, "rel_mase_gmean": 0.7186714951688777, "rel_wql_gmean": 0.5095737435976053}}, "domain": {"Econ/Fin": {"n_configs": 6, "rel_mase_gmean": 0.8292357163927584, "rel_wql_gmean": 0.8330714583197303}, "Energy": {"n_configs": 32, "rel_mase_gmean": 0.833596309261014, "rel_wql_gmean": 0.5570657260763674}, "Healthcare": {"n_configs": 5, "rel_mase_gmean": 0.8248245796796352, "rel_wql_gmean": 0.6938286816259261}, "Nature": {"n_configs": 15, "rel_mase_gmean": 0.7230031089400473, "rel_wql_gmean": 0.3421830655324508}, "Sales": {"n_configs": 3, "rel_mase_gmean": 0.7560926333090365, "rel_wql_gmean": 0.4798341713735974}, "Transport": {"n_configs": 14, "rel_mase_gmean": 0.5442236015071822, "rel_wql_gmean": 0.44988780624073715}, "Web/CloudOps": {"n_configs": 18, "rel_mase_gmean": 0.7138190224516323, "rel_wql_gmean": 0.5150693481538844}}, "frequency": {"A": {"n_configs": 1, "rel_mase_gmean": 0.5332952285784732, "rel_wql_gmean": 0.8362064932683589}, "D": {"n_configs": 15, "rel_mase_gmean": 0.7362868059843654, "rel_wql_gmean": 0.42659966992521925}, "H": {"n_configs": 29, "rel_mase_gmean": 0.7250075872944817, "rel_wql_gmean": 0.48662328532574256}, "M": {"n_configs": 4, "rel_mase_gmean": 0.8882559084720597, "rel_wql_gmean": 0.8821000826514542}, "Q": {"n_configs": 1, "rel_mase_gmean": 0.7158618226871548, "rel_wql_gmean": 0.7745479404652281}, "S": {"n_configs": 6, "rel_mase_gmean": 0.8438204054959942, "rel_wql_gmean": 0.6026978364530668}, "T": {"n_configs": 29, "rel_mase_gmean": 0.7035971096638689, "rel_wql_gmean": 0.4623846789495707}, "W": {"n_configs": 8, "rel_mase_gmean": 0.8154718421175919, "rel_wql_gmean": 0.6830306822888168}}, "variates": {"multivariate": {"n_configs": 41, "rel_mase_gmean": 0.7616727988220059, "rel_wql_gmean": 0.5131756932413833}, "univariate": {"n_configs": 52, "rel_mase_gmean": 0.7206047908149903, "rel_wql_gmean": 0.5032475023483072}}}, "control_groups": {"term": {"long": {"n_configs": 19, "rel_mase_gmean": 0.7663754402347989, "rel_wql_gmean": 0.4788938791084861}, "medium": {"n_configs": 20, "rel_mase_gmean": 0.7658739230595875, "rel_wql_gmean": 0.529347553216718}, "short": {"n_configs": 54, "rel_mase_gmean": 0.7178692269632083, "rel_wql_gmean": 0.5086998134122838}}, "domain": {"Econ/Fin": {"n_configs": 6, "rel_mase_gmean": 0.8358354885094386, "rel_wql_gmean": 0.8418146966445984}, "Energy": {"n_configs": 32, "rel_mase_gmean": 0.8338897723615496, "rel_wql_gmean": 0.5562121498093919}, "Healthcare": {"n_configs": 5, "rel_mase_gmean": 0.8060949747388733, "rel_wql_gmean": 0.6796354438827096}, "Nature": {"n_configs": 15, "rel_mase_gmean": 0.7222059595204405, "rel_wql_gmean": 0.3416807049403571}, "Sales": {"n_configs": 3, "rel_mase_gmean": 0.7557238523302612, "rel_wql_gmean": 0.47948838435897584}, "Transport": {"n_configs": 14, "rel_mase_gmean": 0.5443370693639568, "rel_wql_gmean": 0.4497401377123374}, "Web/CloudOps": {"n_configs": 18, "rel_mase_gmean": 0.7130988319811894, "rel_wql_gmean": 0.5141627844030099}}, "frequency": {"A": {"n_configs": 1, "rel_mase_gmean": 0.5331048942504498, "rel_wql_gmean": 0.8394069703462528}, "D": {"n_configs": 15, "rel_mase_gmean": 0.7335602695405524, "rel_wql_gmean": 0.42553600401076375}, "H": {"n_configs": 29, "rel_mase_gmean": 0.7260346680667362, "rel_wql_gmean": 0.4869693265129284}, "M": {"n_configs": 4, "rel_mase_gmean": 0.881837749964207, "rel_wql_gmean": 0.8756527000622875}, "Q": {"n_configs": 1, "rel_mase_gmean": 0.7161603254136085, "rel_wql_gmean": 0.7742932145513032}, "S": {"n_configs": 6, "rel_mase_gmean": 0.8420519451582145, "rel_wql_gmean": 0.5981276922561349}, "T": {"n_configs": 29, "rel_mase_gmean": 0.7039614590005732, "rel_wql_gmean": 0.46207823333750453}, "W": {"n_configs": 8, "rel_mase_gmean": 0.810577145353702, "rel_wql_gmean": 0.6793951900954402}}, "variates": {"multivariate": {"n_configs": 41, "rel_mase_gmean": 0.7616930972618384, "rel_wql_gmean": 0.5118981392017699}, "univariate": {"n_configs": 52, "rel_mase_gmean": 0.7193535077794512, "rel_wql_gmean": 0.5027824181292397}}}, "group_skill_delta": {"term": {"long": -3.335811628835117e-05, "medium": -0.0013458288944937502, "short": -0.0008567320465177053}, "domain": {"Econ/Fin": 0.007668390401564862, "Energy": -0.00040243295865005635, "Healthcare": -0.016327114179233715, "Nature": -0.0006393214833010363, "Sales": -0.00036392597923329273, "Transport": -2.9642054684531072e-05, "Web/CloudOps": -0.0008395432890069277}, "frequency": {"A": 0.0011573168958922686, "D": -0.001736490253165246, "H": 0.0006318791362436293, "M": -0.00643286102416174, "Q": 3.275398876800839e-05, "S": -0.003453791930443706, "T": -4.142687760222419e-05, "W": -0.00422602997552779}, "variates": {"multivariate": -0.000770381239462492, "univariate": -0.0008011540237981007}}}], "mean_delta": 0.0006010317391544617, "positive_cutoffs": 3, "outcome": "Declared comparison checkpoints 6000,12000. No transfer formula or automatic publication is selected by this controller."} + +2026-10-24T06:46:48.654777+00:00: E171preservedfailedauditanddeterministicrepair {"utc": "2026-10-24T06:46:48.654777+00:00", "experiment": "E171", "purpose": "Repair reproducibility before anyproduction. Preservefailed18fixtures andcorrect ancestryassertion; testdeterministic numericalmode withunchanged scientificrecipe.", "initial_sha256": "f7e35a6341ffc6c1ce53cfd8934256dde937171f5002f1fc34b1fd169f1a15d6", "failed_audit": "/workspace/research/fresh_seasonal_integrated_existing_recovery_review.json", "original_optimizer_relative_l2": [0.0017702181560446905, 0.0017750910203956428], "original_model_max_abs": [3.5762786865234375e-07, 3.5173252399545163e-07], "original_tolerances_unchanged": {"model_max_abs": 0.0001, "ema_max_abs": 0.0001, "optimizer_relative_l2": 0.001}, "new_requirement": "Both repeated andresumed deterministic trajectories musthave bitwiseequal model,EMA,optimizer,allRNGs,prefetchandancestry; retainoriginal numericthresholdsaswell.", "changed_numerical_mode": "--deterministic-training with CUBLAS_WORKSPACE_CONFIG=:4096:8; no LR/batch/seed/data/sampler/model/EMA/optimizer/schedule change.", "gpu_allocator_cap_mib": 12000, "minimum_free_before_gpu_audit_mib": 16096, "physical_gpus": 1, "maximum_shape": {"batch": 48, "context": 4096, "horizon": 1024}, "new_optimizer_updates": 18, "prior_fixture_updates": 18, "fixture_weights_never_warm_start": true, "production_allocation": "OnlyafterE161original96000checkpoint andcompletedallocation, sameasoriginaldeclaration; noextra mainallocation.", "source_gates": "OriginalE149andindependentE160primary6000both3of4positive mean; unchanged.", "validation_selection": "Original48/96 allfourversusE131; no earlyselection. ControlE131usedoriginalnondeterministic mode, so later smallscore changes mayinclude numericalmodeeffects.", "code_sha256": {"launch.py": "30d7cb98ab110b0bc73317ada69cd5895e34fa65309cfba5bef24a1d558391c7", "check_gpu_deterministic.py": "a0a60fcd859ee8697023be732713f9c9fd130c13a1206fa0d29d04a312ad3872", "check_recovery_deterministic.py": "15ce7352107343341a18fd495a85802c9c85350f8652bf5cc476e0f3955808e1", "engineering_deterministic.py": "4a48006c6d509eb30f162238c09aee15e7816c442dee2082f86330f8d457ecf9"}} + +E164 12000 four-cutoff comparison: {"label": "E164 12000 four-cutoff comparison", "utc": "2026-10-24T06:47:14.958910+00:00", "candidate": "spectral_phase_individual_ema12000", "control": "long_seasonal_ema12000", "rows": [{"cutoff": "evals", "candidate_skill": 0.3833854044886158, "control_skill": 0.38231375879048757, "delta": 0.0010716456981282318, "candidate_checkpoint": "8621fda2eba691ec82134f713c86ed14f16e48d920c9497a07204df69a386948", "control_checkpoint": "d512cdac520239f0c10e021721424d87cee30086fa70f6cbc41f21e2e04988c3", "candidate_eval_seconds": 30.28473687171936, "candidate_groups": {"term": {"long": {"n_configs": 21, "rel_mase_gmean": 0.738276047730034, "rel_wql_gmean": 0.4770636097997605}, "medium": {"n_configs": 21, "rel_mase_gmean": 0.7101004597010265, "rel_wql_gmean": 0.4930274184245611}, "short": {"n_configs": 55, "rel_mase_gmean": 0.7479501496104196, "rel_wql_gmean": 0.5401655085300242}}, "domain": {"Econ/Fin": {"n_configs": 6, "rel_mase_gmean": 0.8786556225550977, "rel_wql_gmean": 0.8539653148812816}, "Energy": {"n_configs": 32, "rel_mase_gmean": 0.8994253880373729, "rel_wql_gmean": 0.6430057469895901}, "Healthcare": {"n_configs": 5, "rel_mase_gmean": 0.5750443636936277, "rel_wql_gmean": 0.5114364163360293}, "Nature": {"n_configs": 15, "rel_mase_gmean": 0.8003755591742228, "rel_wql_gmean": 0.3974557493133133}, "Sales": {"n_configs": 4, "rel_mase_gmean": 0.8490873553385436, "rel_wql_gmean": 0.5188677715809127}, "Transport": {"n_configs": 15, "rel_mase_gmean": 0.6306548127877676, "rel_wql_gmean": 0.4310406623488402}, "Web/CloudOps": {"n_configs": 20, "rel_mase_gmean": 0.557372452843582, "rel_wql_gmean": 0.43284081851543044}}, "frequency": {"A": {"n_configs": 1, "rel_mase_gmean": 0.6267050116087461, "rel_wql_gmean": 0.6534647699390863}, "D": {"n_configs": 15, "rel_mase_gmean": 0.7563674168898339, "rel_wql_gmean": 0.5231782871531511}, "H": {"n_configs": 31, "rel_mase_gmean": 0.7247725593540338, "rel_wql_gmean": 0.4940989993261369}, "M": {"n_configs": 5, "rel_mase_gmean": 0.9685828491463604, "rel_wql_gmean": 0.8258231596470508}, "Q": {"n_configs": 1, "rel_mase_gmean": 0.7790057322430637, "rel_wql_gmean": 0.8260827543651085}, "S": {"n_configs": 6, "rel_mase_gmean": 0.6569330414070125, "rel_wql_gmean": 0.5048973067617362}, "T": {"n_configs": 30, "rel_mase_gmean": 0.688665596576292, "rel_wql_gmean": 0.450308980594129}, "W": {"n_configs": 8, "rel_mase_gmean": 0.9071398106298225, "rel_wql_gmean": 0.6800202667841344}}, "variates": {"multivariate": {"n_configs": 43, "rel_mase_gmean": 0.7072606603458444, "rel_wql_gmean": 0.5094608906432794}, "univariate": {"n_configs": 54, "rel_mase_gmean": 0.7625141619755611, "rel_wql_gmean": 0.5204308719976314}}}, "control_groups": {"term": {"long": {"n_configs": 21, "rel_mase_gmean": 0.7385624256035537, "rel_wql_gmean": 0.4774480306015298}, "medium": {"n_configs": 21, "rel_mase_gmean": 0.7112970077840257, "rel_wql_gmean": 0.49399950873586423}, "short": {"n_configs": 55, "rel_mase_gmean": 0.7495810559140079, "rel_wql_gmean": 0.5412990087697497}}, "domain": {"Econ/Fin": {"n_configs": 6, "rel_mase_gmean": 0.8812498422781989, "rel_wql_gmean": 0.8555240839274089}, "Energy": {"n_configs": 32, "rel_mase_gmean": 0.9003124134337842, "rel_wql_gmean": 0.6439831822912251}, "Healthcare": {"n_configs": 5, "rel_mase_gmean": 0.5795579602545416, "rel_wql_gmean": 0.5129229324649281}, "Nature": {"n_configs": 15, "rel_mase_gmean": 0.8014187192027531, "rel_wql_gmean": 0.39917690533601163}, "Sales": {"n_configs": 4, "rel_mase_gmean": 0.8487678656214006, "rel_wql_gmean": 0.5191938831467846}, "Transport": {"n_configs": 15, "rel_mase_gmean": 0.6315950761584922, "rel_wql_gmean": 0.4315386790157564}, "Web/CloudOps": {"n_configs": 20, "rel_mase_gmean": 0.5583373635107705, "rel_wql_gmean": 0.433162583197897}}, "frequency": {"A": {"n_configs": 1, "rel_mase_gmean": 0.6267725580318051, "rel_wql_gmean": 0.6538606856911642}, "D": {"n_configs": 15, "rel_mase_gmean": 0.7599509242283058, "rel_wql_gmean": 0.524915385039173}, "H": {"n_configs": 31, "rel_mase_gmean": 0.726196004396462, "rel_wql_gmean": 0.4955559356320016}, "M": {"n_configs": 5, "rel_mase_gmean": 0.9682906777404066, "rel_wql_gmean": 0.8249007339255652}, "Q": {"n_configs": 1, "rel_mase_gmean": 0.7794132143007206, "rel_wql_gmean": 0.826151122683708}, "S": {"n_configs": 6, "rel_mase_gmean": 0.654344138587591, "rel_wql_gmean": 0.5028751847848326}, "T": {"n_configs": 30, "rel_mase_gmean": 0.6900127153197991, "rel_wql_gmean": 0.4513560570693673}, "W": {"n_configs": 8, "rel_mase_gmean": 0.9068583895899763, "rel_wql_gmean": 0.679330225432368}}, "variates": {"multivariate": {"n_configs": 43, "rel_mase_gmean": 0.7082895004717786, "rel_wql_gmean": 0.5105014816296383}, "univariate": {"n_configs": 54, "rel_mase_gmean": 0.7639387308045943, "rel_wql_gmean": 0.5212587544154408}}}, "group_skill_delta": {"term": {"long": 0.00035420068424907303, "medium": 0.0010818182356798767, "short": 0.0013598939465409021}, "domain": {"Econ/Fin": 0.0020691895438758046, "Energy": 0.0009529797269157703, "Healthcare": 0.002914801442437276, "Nature": 0.0015881242518683836, "Sales": 8.362569243269835e-05, "Transport": 0.000689861235187661, "Web/CloudOps": 0.0006076611074624094}, "frequency": {"A": 0.00022832914304060647, "D": 0.002534341261550277, "H": 0.0014698510328561287, "M": -0.0006344547226849739, "Q": 0.00024298337511796664, "S": -0.0022881039316627882, "T": 0.0011920891064722827, "W": -0.0005203712367516378}, "variates": {"multivariate": 0.0010496077133257398, "univariate": 0.001089495935486795}}}, {"cutoff": "backcast_evals", "candidate_skill": 0.34162282454804116, "control_skill": 0.34137925383664736, "delta": 0.00024357071139380349, "candidate_checkpoint": "8621fda2eba691ec82134f713c86ed14f16e48d920c9497a07204df69a386948", "control_checkpoint": "d512cdac520239f0c10e021721424d87cee30086fa70f6cbc41f21e2e04988c3", "candidate_eval_seconds": 31.188400983810425, "candidate_groups": {"term": {"long": {"n_configs": 21, "rel_mase_gmean": 0.7753329059856806, "rel_wql_gmean": 0.46294180023868386}, "medium": {"n_configs": 21, "rel_mase_gmean": 0.7658502617224328, "rel_wql_gmean": 0.5290530764597958}, "short": {"n_configs": 55, "rel_mase_gmean": 0.8083827270996615, "rel_wql_gmean": 0.5912980886497051}}, "domain": {"Econ/Fin": {"n_configs": 6, "rel_mase_gmean": 0.8726275370857095, "rel_wql_gmean": 0.8152091834257147}, "Energy": {"n_configs": 32, "rel_mase_gmean": 0.8856140961688475, "rel_wql_gmean": 0.6654773754751869}, "Healthcare": {"n_configs": 5, "rel_mase_gmean": 0.6514131093655325, "rel_wql_gmean": 0.5620897509152033}, "Nature": {"n_configs": 15, "rel_mase_gmean": 0.903012577988973, "rel_wql_gmean": 0.42243528061377744}, "Sales": {"n_configs": 4, "rel_mase_gmean": 0.7227917313241881, "rel_wql_gmean": 0.490990639266395}, "Transport": {"n_configs": 15, "rel_mase_gmean": 0.7303470300666334, "rel_wql_gmean": 0.5235737933621805}, "Web/CloudOps": {"n_configs": 20, "rel_mase_gmean": 0.6618148975588323, "rel_wql_gmean": 0.4532430117033063}}, "frequency": {"A": {"n_configs": 1, "rel_mase_gmean": 0.6449569840578265, "rel_wql_gmean": 0.7247527465540862}, "D": {"n_configs": 15, "rel_mase_gmean": 0.8151544318223275, "rel_wql_gmean": 0.48710834651296586}, "H": {"n_configs": 31, "rel_mase_gmean": 0.768983189553614, "rel_wql_gmean": 0.5078723257543051}, "M": {"n_configs": 5, "rel_mase_gmean": 0.8595562888565396, "rel_wql_gmean": 0.7890592161453216}, "Q": {"n_configs": 1, "rel_mase_gmean": 0.7634758108152148, "rel_wql_gmean": 0.7764569848144032}, "S": {"n_configs": 6, "rel_mase_gmean": 0.8567086841364812, "rel_wql_gmean": 0.5082391635236638}, "T": {"n_configs": 30, "rel_mase_gmean": 0.7673937223357067, "rel_wql_gmean": 0.5736933985142255}, "W": {"n_configs": 8, "rel_mase_gmean": 0.871451441808461, "rel_wql_gmean": 0.5945420164034555}}, "variates": {"multivariate": {"n_configs": 43, "rel_mase_gmean": 0.7867886655698594, "rel_wql_gmean": 0.526786965046463}, "univariate": {"n_configs": 54, "rel_mase_gmean": 0.7957965910788038, "rel_wql_gmean": 0.5644695664325076}}}, "control_groups": {"term": {"long": {"n_configs": 21, "rel_mase_gmean": 0.7748213703894843, "rel_wql_gmean": 0.4628541503223905}, "medium": {"n_configs": 21, "rel_mase_gmean": 0.7664514736085948, "rel_wql_gmean": 0.5293825048686492}, "short": {"n_configs": 55, "rel_mase_gmean": 0.8092133321048779, "rel_wql_gmean": 0.5913363636847011}}, "domain": {"Econ/Fin": {"n_configs": 6, "rel_mase_gmean": 0.8757735001155781, "rel_wql_gmean": 0.8170938641172787}, "Energy": {"n_configs": 32, "rel_mase_gmean": 0.884884194524689, "rel_wql_gmean": 0.6647829318344969}, "Healthcare": {"n_configs": 5, "rel_mase_gmean": 0.6563469207069739, "rel_wql_gmean": 0.5654393474023085}, "Nature": {"n_configs": 15, "rel_mase_gmean": 0.9047462993987708, "rel_wql_gmean": 0.4229856130109878}, "Sales": {"n_configs": 4, "rel_mase_gmean": 0.7234827485870052, "rel_wql_gmean": 0.49101355399514096}, "Transport": {"n_configs": 15, "rel_mase_gmean": 0.7302388544768311, "rel_wql_gmean": 0.5230662990235599}, "Web/CloudOps": {"n_configs": 20, "rel_mase_gmean": 0.6616757881069665, "rel_wql_gmean": 0.45318260421936735}}, "frequency": {"A": {"n_configs": 1, "rel_mase_gmean": 0.6445112721993314, "rel_wql_gmean": 0.7250031265258748}, "D": {"n_configs": 15, "rel_mase_gmean": 0.8169867958549157, "rel_wql_gmean": 0.48765941110091987}, "H": {"n_configs": 31, "rel_mase_gmean": 0.7687868921949567, "rel_wql_gmean": 0.5082857531718749}, "M": {"n_configs": 5, "rel_mase_gmean": 0.8647112860240415, "rel_wql_gmean": 0.791872490233388}, "Q": {"n_configs": 1, "rel_mase_gmean": 0.7635201146060429, "rel_wql_gmean": 0.7764383165590925}, "S": {"n_configs": 6, "rel_mase_gmean": 0.8527947748812648, "rel_wql_gmean": 0.5066866363631385}, "T": {"n_configs": 30, "rel_mase_gmean": 0.7680903138861567, "rel_wql_gmean": 0.5733326508067024}, "W": {"n_configs": 8, "rel_mase_gmean": 0.8719229424762637, "rel_wql_gmean": 0.5937682323059945}}, "variates": {"multivariate": {"n_configs": 43, "rel_mase_gmean": 0.7868235601514957, "rel_wql_gmean": 0.526807616706907}, "univariate": {"n_configs": 54, "rel_mase_gmean": 0.7966399243027747, "rel_wql_gmean": 0.5645842503200074}}}, "group_skill_delta": {"term": {"long": -0.0002543676648033566, "medium": 0.00044802259641596454, "short": 0.00037748518145819254}, "domain": {"Econ/Fin": 0.0024951366402142794, "Energy": -0.0007169179865134101, "Healthcare": 0.00409430998558058, "Nature": 0.0009951830712036092, "Sales": 0.00029860624360378285, "Transport": -0.0003455409361814432, "Web/CloudOps": -9.405835124054462e-05}, "frequency": {"A": -0.00011823469412541865, "D": 0.0010645668714188705, "H": 0.00017450831202103778, "M": 0.003937063763586934, "Q": 1.3083002149527623e-05, "S": -0.002515324992552692, "T": 9.233785737050582e-05, "W": -0.0002739839407774891}, "variates": {"multivariate": 2.689566046454317e-05, "univariate": 0.00042315472793608144}}}, {"cutoff": "backcast2_evals", "candidate_skill": 0.36519327325364326, "control_skill": 0.3650598400595585, "delta": 0.0001334331940847644, "candidate_checkpoint": "8621fda2eba691ec82134f713c86ed14f16e48d920c9497a07204df69a386948", "control_checkpoint": "d512cdac520239f0c10e021721424d87cee30086fa70f6cbc41f21e2e04988c3", "candidate_eval_seconds": 30.862601280212402, "candidate_groups": {"term": {"long": {"n_configs": 19, "rel_mase_gmean": 0.7946064498885211, "rel_wql_gmean": 0.5016414327919541}, "medium": {"n_configs": 21, "rel_mase_gmean": 0.7510550230386052, "rel_wql_gmean": 0.4865202484727692}, "short": {"n_configs": 54, "rel_mase_gmean": 0.7588274127468446, "rel_wql_gmean": 0.5537818973487652}}, "domain": {"Econ/Fin": {"n_configs": 6, "rel_mase_gmean": 0.8906339572847959, "rel_wql_gmean": 0.9092027607612032}, "Energy": {"n_configs": 32, "rel_mase_gmean": 0.8953272712710643, "rel_wql_gmean": 0.6452109653004233}, "Healthcare": {"n_configs": 5, "rel_mase_gmean": 0.6972413332345511, "rel_wql_gmean": 0.5942937261217495}, "Nature": {"n_configs": 15, "rel_mase_gmean": 0.7456950070093264, "rel_wql_gmean": 0.3550309758562266}, "Sales": {"n_configs": 3, "rel_mase_gmean": 0.560249038296664, "rel_wql_gmean": 0.35754605214504154}, "Transport": {"n_configs": 14, "rel_mase_gmean": 0.6606537054152946, "rel_wql_gmean": 0.4944768184769999}, "Web/CloudOps": {"n_configs": 19, "rel_mase_gmean": 0.6808513559438857, "rel_wql_gmean": 0.46674014876659226}}, "frequency": {"A": {"n_configs": 1, "rel_mase_gmean": 0.5826590163669383, "rel_wql_gmean": 0.7253782289824426}, "D": {"n_configs": 15, "rel_mase_gmean": 0.7231540861183666, "rel_wql_gmean": 0.4457321303291889}, "H": {"n_configs": 30, "rel_mase_gmean": 0.7513086859199891, "rel_wql_gmean": 0.4848431456097327}, "M": {"n_configs": 4, "rel_mase_gmean": 0.8025539649949749, "rel_wql_gmean": 0.8323233006406}, "Q": {"n_configs": 1, "rel_mase_gmean": 0.8328731360570351, "rel_wql_gmean": 0.8785488216550877}, "S": {"n_configs": 6, "rel_mase_gmean": 0.9032478121448244, "rel_wql_gmean": 0.5664404603284873}, "T": {"n_configs": 29, "rel_mase_gmean": 0.7544113195158498, "rel_wql_gmean": 0.5365487843978825}, "W": {"n_configs": 8, "rel_mase_gmean": 0.8335215459688939, "rel_wql_gmean": 0.6327119470222771}}, "variates": {"multivariate": {"n_configs": 42, "rel_mase_gmean": 0.7799411946607353, "rel_wql_gmean": 0.513350728429401}, "univariate": {"n_configs": 52, "rel_mase_gmean": 0.7516602047595633, "rel_wql_gmean": 0.5389254253975785}}}, "control_groups": {"term": {"long": {"n_configs": 19, "rel_mase_gmean": 0.796127056742376, "rel_wql_gmean": 0.5022139410634582}, "medium": {"n_configs": 21, "rel_mase_gmean": 0.7505942901123125, "rel_wql_gmean": 0.4865575819153698}, "short": {"n_configs": 54, "rel_mase_gmean": 0.7594504520679526, "rel_wql_gmean": 0.5532537195147663}}, "domain": {"Econ/Fin": {"n_configs": 6, "rel_mase_gmean": 0.8929618274343588, "rel_wql_gmean": 0.9103813793769899}, "Energy": {"n_configs": 32, "rel_mase_gmean": 0.8959209226146972, "rel_wql_gmean": 0.6453740580861129}, "Healthcare": {"n_configs": 5, "rel_mase_gmean": 0.6961784435164479, "rel_wql_gmean": 0.5915734081229318}, "Nature": {"n_configs": 15, "rel_mase_gmean": 0.7476406868387996, "rel_wql_gmean": 0.35522212901676864}, "Sales": {"n_configs": 3, "rel_mase_gmean": 0.5597759096460994, "rel_wql_gmean": 0.35738676117830037}, "Transport": {"n_configs": 14, "rel_mase_gmean": 0.6611597485381723, "rel_wql_gmean": 0.4949322755161753}, "Web/CloudOps": {"n_configs": 19, "rel_mase_gmean": 0.6805375314732472, "rel_wql_gmean": 0.4657391485089796}}, "frequency": {"A": {"n_configs": 1, "rel_mase_gmean": 0.582687321216151, "rel_wql_gmean": 0.7249374834569997}, "D": {"n_configs": 15, "rel_mase_gmean": 0.7228644523548966, "rel_wql_gmean": 0.4448013254664766}, "H": {"n_configs": 30, "rel_mase_gmean": 0.7512801448992653, "rel_wql_gmean": 0.48470980713170986}, "M": {"n_configs": 4, "rel_mase_gmean": 0.8061257673025353, "rel_wql_gmean": 0.8338421947073288}, "Q": {"n_configs": 1, "rel_mase_gmean": 0.8329742195879615, "rel_wql_gmean": 0.8780190666063756}, "S": {"n_configs": 6, "rel_mase_gmean": 0.903952356548986, "rel_wql_gmean": 0.5661338988037351}, "T": {"n_configs": 29, "rel_mase_gmean": 0.7547233557063331, "rel_wql_gmean": 0.536425314767226}, "W": {"n_configs": 8, "rel_mase_gmean": 0.83773127724725, "rel_wql_gmean": 0.6339155481728359}}, "variates": {"multivariate": {"n_configs": 42, "rel_mase_gmean": 0.780210137456359, "rel_wql_gmean": 0.5128749991570595}, "univariate": {"n_configs": 52, "rel_mase_gmean": 0.7524307203251008, "rel_wql_gmean": 0.5390362822620333}}}, "group_skill_delta": {"term": {"long": 0.0009643237774293878, "medium": -0.0001622534800344022, "short": -4.3269635041975896e-05}, "domain": {"Econ/Fin": 0.0017590715508637444, "Energy": 0.00034802180629422974, "Healthcare": -0.001964661409252666, "Nature": 0.0008095051415871746, "Sales": -0.0002886905918913496, "Transport": 0.00048212475457876103, "Web/CloudOps": -0.0007346127748110165}, "frequency": {"A": -0.00018175131978037662, "D": -0.0007066957441039801, "H": -9.445968826038431e-05, "M": 0.002563761859866842, "Q": -0.00020604710948057825, "S": 8.525116696622703e-05, "T": 5.833955541911795e-05, "W": 0.0025237047155780568}, "variates": {"multivariate": -0.00018422568977360942, "univariate": 0.00039162286565674886}}}, {"cutoff": "backcast3_evals", "candidate_skill": 0.39344368710029, "control_skill": 0.3928331731047856, "delta": 0.0006105139955043803, "candidate_checkpoint": "8621fda2eba691ec82134f713c86ed14f16e48d920c9497a07204df69a386948", "control_checkpoint": "d512cdac520239f0c10e021721424d87cee30086fa70f6cbc41f21e2e04988c3", "candidate_eval_seconds": 29.558090448379517, "candidate_groups": {"term": {"long": {"n_configs": 19, "rel_mase_gmean": 0.7643614139205681, "rel_wql_gmean": 0.4745440558026792}, "medium": {"n_configs": 20, "rel_mase_gmean": 0.7693864630874615, "rel_wql_gmean": 0.5290997994565108}, "short": {"n_configs": 54, "rel_mase_gmean": 0.70913079768776, "rel_wql_gmean": 0.5022405024324227}}, "domain": {"Econ/Fin": {"n_configs": 6, "rel_mase_gmean": 0.8371745747732936, "rel_wql_gmean": 0.8360666730890168}, "Energy": {"n_configs": 32, "rel_mase_gmean": 0.8303630253263314, "rel_wql_gmean": 0.5520019612753715}, "Healthcare": {"n_configs": 5, "rel_mase_gmean": 0.7615888965224046, "rel_wql_gmean": 0.6333375072909625}, "Nature": {"n_configs": 15, "rel_mase_gmean": 0.7197330090907471, "rel_wql_gmean": 0.3369163547774815}, "Sales": {"n_configs": 3, "rel_mase_gmean": 0.7469954157981429, "rel_wql_gmean": 0.4726461951903606}, "Transport": {"n_configs": 14, "rel_mase_gmean": 0.5367340999272446, "rel_wql_gmean": 0.4454333272111523}, "Web/CloudOps": {"n_configs": 18, "rel_mase_gmean": 0.7160115844091487, "rel_wql_gmean": 0.5185426401582212}}, "frequency": {"A": {"n_configs": 1, "rel_mase_gmean": 0.5306254076430427, "rel_wql_gmean": 0.8013392181819715}, "D": {"n_configs": 15, "rel_mase_gmean": 0.7148828300004649, "rel_wql_gmean": 0.41715936892719924}, "H": {"n_configs": 29, "rel_mase_gmean": 0.7224841059696907, "rel_wql_gmean": 0.4855904198512903}, "M": {"n_configs": 4, "rel_mase_gmean": 0.8307524838219138, "rel_wql_gmean": 0.8238446803756274}, "Q": {"n_configs": 1, "rel_mase_gmean": 0.7129665052716085, "rel_wql_gmean": 0.7660330574962002}, "S": {"n_configs": 6, "rel_mase_gmean": 0.842411925781038, "rel_wql_gmean": 0.6012952505854456}, "T": {"n_configs": 29, "rel_mase_gmean": 0.7079411611626241, "rel_wql_gmean": 0.46183371532504086}, "W": {"n_configs": 8, "rel_mase_gmean": 0.8096637919588219, "rel_wql_gmean": 0.6619918589327187}}, "variates": {"multivariate": {"n_configs": 41, "rel_mase_gmean": 0.7614749842365117, "rel_wql_gmean": 0.5114148669750853}, "univariate": {"n_configs": 52, "rel_mase_gmean": 0.7109902218131149, "rel_wql_gmean": 0.4947822201803922}}}, "control_groups": {"term": {"long": {"n_configs": 19, "rel_mase_gmean": 0.7631434004686845, "rel_wql_gmean": 0.4745780224475118}, "medium": {"n_configs": 20, "rel_mase_gmean": 0.7702543592823002, "rel_wql_gmean": 0.5302072122994279}, "short": {"n_configs": 54, "rel_mase_gmean": 0.7102740757127205, "rel_wql_gmean": 0.5028426749263977}}, "domain": {"Econ/Fin": {"n_configs": 6, "rel_mase_gmean": 0.8404794249042948, "rel_wql_gmean": 0.8377611830280824}, "Energy": {"n_configs": 32, "rel_mase_gmean": 0.8299149339539488, "rel_wql_gmean": 0.5519405024214632}, "Healthcare": {"n_configs": 5, "rel_mase_gmean": 0.7621826867136657, "rel_wql_gmean": 0.6349175346276966}, "Nature": {"n_configs": 15, "rel_mase_gmean": 0.7231739407449111, "rel_wql_gmean": 0.3380432271049275}, "Sales": {"n_configs": 3, "rel_mase_gmean": 0.7474335142271239, "rel_wql_gmean": 0.4733071421517686}, "Transport": {"n_configs": 14, "rel_mase_gmean": 0.5378627602598968, "rel_wql_gmean": 0.4463114549472672}, "Web/CloudOps": {"n_configs": 18, "rel_mase_gmean": 0.7146709097664398, "rel_wql_gmean": 0.5186863440823273}}, "frequency": {"A": {"n_configs": 1, "rel_mase_gmean": 0.5306073447296601, "rel_wql_gmean": 0.8030982774337949}, "D": {"n_configs": 15, "rel_mase_gmean": 0.7175124768607152, "rel_wql_gmean": 0.41780178227764675}, "H": {"n_configs": 29, "rel_mase_gmean": 0.7223996277645064, "rel_wql_gmean": 0.4859456509788173}, "M": {"n_configs": 4, "rel_mase_gmean": 0.8339193215840682, "rel_wql_gmean": 0.8250296214792107}, "Q": {"n_configs": 1, "rel_mase_gmean": 0.7133214644953572, "rel_wql_gmean": 0.7659591311067668}, "S": {"n_configs": 6, "rel_mase_gmean": 0.8388577706002066, "rel_wql_gmean": 0.5998597273487538}, "T": {"n_configs": 29, "rel_mase_gmean": 0.7077596915926687, "rel_wql_gmean": 0.46245587762920626}, "W": {"n_configs": 8, "rel_mase_gmean": 0.8141976774865708, "rel_wql_gmean": 0.6645660569936594}}, "variates": {"multivariate": {"n_configs": 41, "rel_mase_gmean": 0.7600456915083991, "rel_wql_gmean": 0.511644654751976}, "univariate": {"n_configs": 52, "rel_mase_gmean": 0.7131300545794724, "rel_wql_gmean": 0.49563420928448887}}}, "group_skill_delta": {"term": {"long": -0.0004585106455012866, "medium": 0.0010274890142052406, "short": 0.0008388295409212931}, "domain": {"Econ/Fin": 0.002498762745516414, "Energy": -0.00022037721947787414, "Healthcare": 0.0011368079075374515, "Nature": 0.002000506266190527, "Sales": 0.0005896506286506842, "Transport": 0.0009960613810044983, "Web/CloudOps": -0.00048638088501384846}, "frequency": {"A": 0.0007042053890187194, "D": 0.001424560934668584, "H": 0.0001819687711194229, "M": 0.0021711900906489223, "Q": 0.00014827349756896258, "S": -0.002351239342529343, "T": 0.0003116804377222282, "W": 0.0034729837895076665}, "variates": {"multivariate": -0.00044589169916653404, "univariate": 0.0014030684083630174}}}], "mean_delta": 0.000514790899777795, "positive_cutoffs": 4, "outcome": "Declared comparison checkpoints 6000,12000. No transfer formula or automatic publication is selected by this controller."} + +2026-10-24T06:47:46.283116+00:00: Original small-model endpoint review {"utc": "2026-10-24T06:47:46.283116+00:00", "experiment": "E164", "run": "spectral_phase_individual", "role": "candidate_source", "endpoint": "primary", "step": 6000, "seed": 197, "parameters": 36948352, "checkpoint_sha256": "bca83d228f218f56044ce37b1a4fbc84a2f2bb8a8f900ccb868b01621e4e0e14", "matched_control": "long_seasonal", "matched_report": "/workspace/research/spectral_phase_individual6k_four_cutoff_comparison.json", "positive_cutoffs": 4, "mean_delta": 0.000565718304676277, "matched_comparison_passes": true, "source_gate_passed": true, "cutoff_skills": [0.38350391453009813, 0.34017759906315426, 0.3634651823323487, 0.394996522602713], "group_skill_deltas": {"term": {"long": {"cutoffs": 4, "mean_delta": 0.00024500326975399056, "positive": 3}, "medium": {"cutoffs": 4, "mean_delta": 0.0004797626654272358, "positive": 4}, "short": {"cutoffs": 4, "mean_delta": 0.0007371357061371764, "positive": 4}}, "domain": {"Econ/Fin": {"cutoffs": 4, "mean_delta": 0.0022756810221147006, "positive": 4}, "Energy": {"cutoffs": 4, "mean_delta": 2.153381729588788e-05, "positive": 1}, "Healthcare": {"cutoffs": 4, "mean_delta": 0.003972591986300594, "positive": 3}, "Nature": {"cutoffs": 4, "mean_delta": 0.0009050976231074898, "positive": 4}, "Sales": {"cutoffs": 4, "mean_delta": 0.0003706669427861048, "positive": 4}, "Transport": {"cutoffs": 4, "mean_delta": 0.0004305896932311759, "positive": 3}, "Web/CloudOps": {"cutoffs": 4, "mean_delta": -3.502180556824719e-05, "positive": 1}}, "frequency": {"A": {"cutoffs": 4, "mean_delta": 0.00014997072368275188, "positive": 3}, "D": {"cutoffs": 4, "mean_delta": 0.00144853688836033, "positive": 3}, "H": {"cutoffs": 4, "mean_delta": 0.00024005633315143937, "positive": 2}, "M": {"cutoffs": 4, "mean_delta": 0.0016044401404526898, "positive": 3}, "Q": {"cutoffs": 4, "mean_delta": -3.524995337889081e-05, "positive": 2}, "S": {"cutoffs": 4, "mean_delta": -0.0012056958550636376, "positive": 1}, "T": {"cutoffs": 4, "mean_delta": 0.0003443150155586494, "positive": 3}, "W": {"cutoffs": 4, "mean_delta": 0.002204291154634802, "positive": 4}}, "variates": {"multivariate": {"cutoffs": 4, "mean_delta": 0.0001781203612989668, "positive": 1}, "univariate": {"cutoffs": 4, "mean_delta": 0.000873653471552216, "positive": 4}}}, "evaluation_seconds": 123.00452709197998, "training_phase_start": 0, "training_phase_loop_seconds_to_endpoint": 1324.4, "training_process_seconds": null, "related_original_seed": null, "cpu_review_seconds": 0.1636246289126575, "new_training": false, "new_neural_inference": false, "outcome": "Original source gate passes; any follow-up remains separately declared and gated.", "interpretation": "Declaredprimary6000Fourier-feature model improvesall4 versusmatchedE107withmean+.000565718305. Early1kcomparison against E80was onlysecondary; the correctedmatchedcontrol and sourcewatcheruseE107throughout. This source result supports a separately declared follow-up, not automatic weight transfer, ensemble or publication. Final12000 remains separately reported. Group averages are descriptive adaptive validation evidence, not independent test significance. Phase time is not total compute if resumed."} + +2026-10-24T06:48:03.454142+00:00: Original small-model endpoint review {"utc": "2026-10-24T06:48:03.454142+00:00", "experiment": "E160", "run": "integrated_level_replication", "role": "replication_source", "endpoint": "final", "step": 12000, "seed": 523, "parameters": 36800800, "checkpoint_sha256": "370c012f009a776bf0c04e20ccab1d09f8918e8ec4865fc98774764a878195ed", "matched_control": "weekly_replication_control", "matched_report": "/workspace/research/integrated_level_replication12k_four_cutoff_comparison.json", "positive_cutoffs": 3, "mean_delta": 0.0006010317391544617, "matched_comparison_passes": true, "source_gate_passed": true, "cutoff_skills": [0.37752111286807033, 0.33751003385361134, 0.36041589577306465, 0.38776852332618805], "group_skill_deltas": {"term": {"long": {"cutoffs": 4, "mean_delta": 0.00034708004244812796, "positive": 2}, "medium": {"cutoffs": 4, "mean_delta": 0.00035057977446065203, "positive": 3}, "short": {"cutoffs": 4, "mean_delta": 0.0008289474910397332, "positive": 3}}, "domain": {"Econ/Fin": {"cutoffs": 4, "mean_delta": 0.0071079790458525305, "positive": 4}, "Energy": {"cutoffs": 4, "mean_delta": 0.0002537065406314487, "positive": 3}, "Healthcare": {"cutoffs": 4, "mean_delta": -0.004327060948054295, "positive": 2}, "Nature": {"cutoffs": 4, "mean_delta": -0.00026512854977514544, "positive": 2}, "Sales": {"cutoffs": 4, "mean_delta": -0.0002736712857061979, "positive": 1}, "Transport": {"cutoffs": 4, "mean_delta": 0.00018075427399848187, "positive": 3}, "Web/CloudOps": {"cutoffs": 4, "mean_delta": 0.0017027822182366092, "positive": 3}}, "frequency": {"A": {"cutoffs": 4, "mean_delta": -0.00010755961413894122, "positive": 1}, "D": {"cutoffs": 4, "mean_delta": 0.0005547573299835851, "positive": 3}, "H": {"cutoffs": 4, "mean_delta": 0.00032908122510125204, "positive": 3}, "M": {"cutoffs": 4, "mean_delta": -0.000614383310876293, "positive": 2}, "Q": {"cutoffs": 4, "mean_delta": 0.00027464295762777424, "positive": 3}, "S": {"cutoffs": 4, "mean_delta": -0.0006794230954000335, "positive": 2}, "T": {"cutoffs": 4, "mean_delta": 0.0018061924586562084, "positive": 3}, "W": {"cutoffs": 4, "mean_delta": -0.0018755476707512375, "positive": 2}}, "variates": {"multivariate": {"cutoffs": 4, "mean_delta": 0.0009983652901149054, "positive": 3}, "univariate": {"cutoffs": 4, "mean_delta": 0.00027524485746496796, "positive": 2}}}, "evaluation_seconds": 100.6995940208435, "training_phase_start": 0, "training_phase_loop_seconds_to_endpoint": 2673.2, "training_process_seconds": 2686.7406371170655, "related_original_seed": {"original_seed": 197, "original_report": "/workspace/research/integrated_level12k_four_cutoff_comparison.json", "original_positive_cutoffs": 2, "original_mean_delta": 0.000456962166369812, "note": "Only the original6000 replication gate can qualify the already-declared E171 engineering audit. Final12000 does not substitute for a failed primary. Any audit also requires its existing memory guard."}, "cpu_review_seconds": 0.14171548606827855, "new_training": false, "new_neural_inference": false, "outcome": "Original source gate passes; any follow-up remains separately declared and gated.", "interpretation": "Originalfinal12000alsoimproves3of4againstmatchedseed523control,mean+.000601031739. Independentseedprimaryandfinalarepositive,whileoriginalseed197finalwas2of4withpositivemean. E171qualificationremainsoriginalprimaryreplicationonly; itsfirst18-update recoveryauditfailednumericaltolerance and a separately recorded deterministicrepair audit is pending. No sourcegeneratorparameter or validationcriterion change. Group averages are descriptive adaptive validation evidence, not independent test significance. Phase time is not total compute if resumed."} + +2026-10-24T06:48:09.635143+00:00: Original small-model endpoint review {"utc": "2026-10-24T06:48:09.635143+00:00", "experiment": "E186control", "run": "separate_mean_control", "role": "numerical_control_only", "endpoint": "final", "step": 12000, "seed": 197, "parameters": 36801312, "checkpoint_sha256": "5c4a19d84d21fdb11f2cdeb4c30842deebadcab11c8c90cd67692ac2c6acf8af", "matched_control": "overflow_control", "matched_report": "/workspace/research/separate_mean_control12k_four_cutoff_comparison.json", "positive_cutoffs": 0, "mean_delta": -0.00012859842272314181, "matched_comparison_passes": false, "source_gate_passed": null, "cutoff_skills": [0.37725738197946956, 0.3364966261970208, 0.36084213945987353, 0.3872966966425223], "group_skill_deltas": {"term": {"long": {"cutoffs": 4, "mean_delta": 3.2526334049320926e-05, "positive": 3}, "medium": {"cutoffs": 4, "mean_delta": -0.00021301913895904745, "positive": 1}, "short": {"cutoffs": 4, "mean_delta": -0.00016066939661985025, "positive": 0}}, "domain": {"Econ/Fin": {"cutoffs": 4, "mean_delta": 0.0002680076870989201, "positive": 4}, "Energy": {"cutoffs": 4, "mean_delta": -0.00010302209620119407, "positive": 0}, "Healthcare": {"cutoffs": 4, "mean_delta": 0.00039911544172155367, "positive": 3}, "Nature": {"cutoffs": 4, "mean_delta": -0.0006860346779902493, "positive": 0}, "Sales": {"cutoffs": 4, "mean_delta": -0.00022142014305881474, "positive": 0}, "Transport": {"cutoffs": 4, "mean_delta": 7.839118373363652e-05, "positive": 3}, "Web/CloudOps": {"cutoffs": 4, "mean_delta": -8.811693938251541e-06, "positive": 2}}, "frequency": {"A": {"cutoffs": 4, "mean_delta": -8.736858698307759e-05, "positive": 2}, "D": {"cutoffs": 4, "mean_delta": -0.0002107937494185419, "positive": 2}, "H": {"cutoffs": 4, "mean_delta": -4.469242386284655e-06, "positive": 2}, "M": {"cutoffs": 4, "mean_delta": -0.0006376047252430461, "positive": 1}, "Q": {"cutoffs": 4, "mean_delta": -0.00016093665111263644, "positive": 1}, "S": {"cutoffs": 4, "mean_delta": -4.428214839014011e-05, "positive": 2}, "T": {"cutoffs": 4, "mean_delta": -0.00012328673423375736, "positive": 1}, "W": {"cutoffs": 4, "mean_delta": -0.00027370638596449504, "positive": 2}}, "variates": {"multivariate": {"cutoffs": 4, "mean_delta": -0.00018247310216243373, "positive": 0}, "univariate": {"cutoffs": 4, "mean_delta": -8.349382833375274e-05, "positive": 1}}}, "evaluation_seconds": 329.9931480884552, "training_phase_start": 0, "training_phase_loop_seconds_to_endpoint": 3290.2, "training_process_seconds": 3303.3549948348664, "related_original_seed": null, "cpu_review_seconds": 0.12262618402019143, "new_training": false, "new_neural_inference": false, "outcome": "Numerical-control diagnostic only; this is not an E186 candidate selection.", "interpretation": "The inactive-head deterministic numerical control is below historicalE80onall4finalcutoffs,mean-.000128598423. This is a small systematicnumerical-control difference, not an E186treatment outcome. Futureseparate-headselectionmustuse thissame-code same-modecontrol; the headstillwaitsitsunchangedmemoryguard. E181secondarycomparison cannotreplace itsrecordedrejection. Group averages are descriptive adaptive validation evidence, not independent test significance. Phase time is not total compute if resumed."} + +2026-10-24T06:48:17.543757+00:00: Original small-model endpoint review {"utc": "2026-10-24T06:48:17.543757+00:00", "experiment": "E164", "run": "spectral_phase_individual", "role": "candidate_source", "endpoint": "final", "step": 12000, "seed": 197, "parameters": 36948352, "checkpoint_sha256": "8621fda2eba691ec82134f713c86ed14f16e48d920c9497a07204df69a386948", "matched_control": "long_seasonal", "matched_report": "/workspace/research/spectral_phase_individual12k_four_cutoff_comparison.json", "positive_cutoffs": 4, "mean_delta": 0.000514790899777795, "matched_comparison_passes": true, "source_gate_passed": true, "cutoff_skills": [0.3833854044886158, 0.34162282454804116, 0.36519327325364326, 0.39344368710029], "group_skill_deltas": {"term": {"long": {"cutoffs": 4, "mean_delta": 0.0001514115378434544, "positive": 2}, "medium": {"cutoffs": 4, "mean_delta": 0.0005987690915666699, "positive": 3}, "short": {"cutoffs": 4, "mean_delta": 0.000633234758469603, "positive": 3}}, "domain": {"Econ/Fin": {"cutoffs": 4, "mean_delta": 0.0022055401201175606, "positive": 4}, "Energy": {"cutoffs": 4, "mean_delta": 9.092658180467894e-05, "positive": 2}, "Healthcare": {"cutoffs": 4, "mean_delta": 0.0015453144815756603, "positive": 3}, "Nature": {"cutoffs": 4, "mean_delta": 0.0013483296827124236, "positive": 4}, "Sales": {"cutoffs": 4, "mean_delta": 0.00017079799319895395, "positive": 3}, "Transport": {"cutoffs": 4, "mean_delta": 0.00045562660864736926, "positive": 3}, "Web/CloudOps": {"cutoffs": 4, "mean_delta": -0.00017684772590075004, "positive": 1}}, "frequency": {"A": {"cutoffs": 4, "mean_delta": 0.00015813712953838266, "positive": 2}, "D": {"cutoffs": 4, "mean_delta": 0.0010791933308834378, "positive": 3}, "H": {"cutoffs": 4, "mean_delta": 0.00043296710693405127, "positive": 3}, "M": {"cutoffs": 4, "mean_delta": 0.002009390247854431, "positive": 3}, "Q": {"cutoffs": 4, "mean_delta": 4.9573191338969647e-05, "positive": 3}, "S": {"cutoffs": 4, "mean_delta": -0.0017673542749446491, "positive": 1}, "T": {"cutoffs": 4, "mean_delta": 0.00041361173924603367, "positive": 4}, "W": {"cutoffs": 4, "mean_delta": 0.001300583331889149, "positive": 2}}, "variates": {"multivariate": {"cutoffs": 4, "mean_delta": 0.00011159649621253487, "positive": 2}, "univariate": {"cutoffs": 4, "mean_delta": 0.0008268354843606607, "positive": 4}}}, "evaluation_seconds": 121.8938295841217, "training_phase_start": 0, "training_phase_loop_seconds_to_endpoint": 2646.3, "training_process_seconds": 2659.5567970869597, "related_original_seed": null, "cpu_review_seconds": 0.12157333106733859, "new_training": false, "new_neural_inference": false, "outcome": "Original source gate passes; any follow-up remains separately declared and gated.", "interpretation": "Originalfinal12000alsoimprovesall4againstmatchedE107,mean+.000514790900; primary6000wasall4+.000565718305. The fixed per-instance spectral-phase features show consistentmodest sourcebenefit at bothdeclaredendpoints. No parameter-delta transfer, largerfeaturemodel or ensembleformula has yet been declared or tested. Preservebothendpointresults and avoid choosing an intermediatecheckpoint. Group averages are descriptive adaptive validation evidence, not independent test significance. Phase time is not total compute if resumed."} + +2026-10-24T06:52:13.003416+00:00: E190 fixed spectral-feature transfer declared before construction. {"experiment": "E190", "declared_utc": "2026-10-24T06:52:13.003416+00:00", "hypothesis": "The independently measured E164 versus E107 spectral-feature training difference may improve the strongest small expert while retaining its seasonal-dispersion and direct-width corrections.", "base": "/workspace/research/seasonal_width_transfer12k.pt", "base_sha256": "0b11b7351a4a92d1d18c71a4159ec445be3a94ace8c7a9fa0edafad87d14e960", "base_model": "/workspace/research/candidate-width-transfer12k/model.py", "base_model_sha256": "0d9557eca352e3c493f47c310355aa576da2e75c8f7cb5b69786c3d162644f38", "spectral_model": "/workspace/research/spectral_phase_individual/model.py", "spectral_model_sha256": "51ac728f6f22c0e657ee14f202a44df6b08e8b8a70e04e088dc25034aff52e5f", "parents": [{"step": 6000, "paths": {"candidate": "/workspace/research/runs/spectral_phase_individual/ema006000.pt", "control": "/workspace/research/runs/long_seasonal/ema006000.pt"}, "hashes": {"candidate": "bca83d228f218f56044ce37b1a4fbc84a2f2bb8a8f900ccb868b01621e4e0e14", "control": "ad45e0cfae574d3dc1be0b9720c9be0863db9ffe33891fdb22c86dfa83667253"}, "source_review": "/workspace/research/spectral_phase_individual6k_endpoint_review.json"}, {"step": 12000, "paths": {"candidate": "/workspace/research/runs/spectral_phase_individual/ema012000.pt", "control": "/workspace/research/runs/long_seasonal/ema012000.pt"}, "hashes": {"candidate": "8621fda2eba691ec82134f713c86ed14f16e48d920c9497a07204df69a386948", "control": "d512cdac520239f0c10e021721424d87cee30086fa70f6cbc41f21e2e04988c3"}, "source_review": "/workspace/research/spectral_phase_individual12k_endpoint_review.json"}], "formula": "FP32 zero_extend(F0) + E164 - zero_extend(E107), coefficient exactly1; new spectral tensors equal E164; F0-only dispersion/width tensors preserved bitwise.", "coefficient": 1.0, "primary": 6000, "final": 12000, "parameters": 36997536, "added_parameters": 98368, "seed": 197, "fixture_seed": 1907, "optimizer_updates": 0, "new_training": false, "selection": "Evaluate both original6000/12000 transfers at allfour fixed cutoffs against the same immutable F0. Each requires at least3positive cutoffs and positive mean skill delta before any separately declared composition follow-up. No intermediate checkpoint, coefficient sweep or new optimization. No ensemble formula is selected in this declaration.", "engineering": "Exact inherited configuration/key/shape/hash checks; CPU and GPU zero-extension functional equivalence; spectral per-row and missing-prefix invariance; finite ordered outputs; no training or validation labels in weight construction.", "minimum_free_mib": 12000, "gpu_allocator_cap_mib": 8000, "physical_gpus": 1, "memory": "Serialize all GPU checks/evaluation under .evaluation.lock and wait for free memory. Begin with batch32 inference (64 sign-reflected rows); audited cap8GiB, free guard12GiB. Batch selection affects execution only, and shared-control replay must confirm equivalence if padding/rounding differs.", "sources_used": ["gifteval_pretrain/BEIJING_SUBWAY_30MIN", "gifteval_pretrain/HZMETRO", "gifteval_pretrain/LOS_LOOP", "gifteval_pretrain/PEMS03", "gifteval_pretrain/PEMS04", "gifteval_pretrain/PEMS07", "gifteval_pretrain/PEMS08", "gifteval_pretrain/PEMS_BAY", "gifteval_pretrain/Q-TRAFFIC", "gifteval_pretrain/SHMETRO", "gifteval_pretrain/alibaba_cluster_trace_2018", "gifteval_pretrain/australian_electricity_demand", "gifteval_pretrain/azure_vm_traces_2017", "gifteval_pretrain/bdg-2_bear", "gifteval_pretrain/bdg-2_fox", "gifteval_pretrain/bdg-2_panther", "gifteval_pretrain/bdg-2_rat", "gifteval_pretrain/bitcoin_with_missing", "gifteval_pretrain/borealis", "gifteval_pretrain/borg_cluster_data_2011", "gifteval_pretrain/buildings_900k", "gifteval_pretrain/bull", "gifteval_pretrain/cdc_fluview_ilinet", "gifteval_pretrain/cdc_fluview_who_nrevss", "gifteval_pretrain/china_air_quality", "gifteval_pretrain/cif_2016_12", "gifteval_pretrain/cif_2016_6", "gifteval_pretrain/cmip6_2000", "gifteval_pretrain/cmip6_2005", "gifteval_pretrain/cmip6_2010", "gifteval_pretrain/cockatoo", "gifteval_pretrain/covid19_energy", "gifteval_pretrain/covid_mobility", "gifteval_pretrain/elecdemand", "gifteval_pretrain/elf", "gifteval_pretrain/era5_2010", "gifteval_pretrain/era5_2011", "gifteval_pretrain/era5_2012", "gifteval_pretrain/era5_2013", "gifteval_pretrain/era5_2014", "gifteval_pretrain/era5_2015", "gifteval_pretrain/era5_2016", "gifteval_pretrain/era5_2017", "gifteval_pretrain/era5_2018", "gifteval_pretrain/extended_web_traffic_with_missing", "gifteval_pretrain/favorita_sales", "gifteval_pretrain/favorita_transactions", "gifteval_pretrain/gfc12_load", "gifteval_pretrain/gfc14_load", "gifteval_pretrain/gfc17_load", "gifteval_pretrain/godaddy", "gifteval_pretrain/hog", "gifteval_pretrain/ideal", "gifteval_pretrain/kaggle_web_traffic_weekly", "gifteval_pretrain/kdd2022", "gifteval_pretrain/largest_2017", "gifteval_pretrain/largest_2018", "gifteval_pretrain/largest_2019", "gifteval_pretrain/largest_2020", "gifteval_pretrain/largest_2021", "gifteval_pretrain/lcl", "gifteval_pretrain/london_smart_meters_with_missing", "gifteval_pretrain/m1_monthly", "gifteval_pretrain/m1_quarterly", "gifteval_pretrain/m1_yearly", "gifteval_pretrain/m5", "gifteval_pretrain/monash_m3_monthly", "gifteval_pretrain/monash_m3_other", "gifteval_pretrain/monash_m3_quarterly", "gifteval_pretrain/nn5_daily_with_missing", "gifteval_pretrain/nn5_weekly", "gifteval_pretrain/oikolab_weather", "gifteval_pretrain/pdb", "gifteval_pretrain/project_tycho", "gifteval_pretrain/residential_load_power", "gifteval_pretrain/residential_pv_power", "gifteval_pretrain/rideshare_with_missing", "gifteval_pretrain/sceaux", "gifteval_pretrain/smart", "gifteval_pretrain/solar_power", "gifteval_pretrain/spain", "gifteval_pretrain/subseasonal", "gifteval_pretrain/subseasonal_precip", "gifteval_pretrain/sunspot_with_missing", "gifteval_pretrain/taxi_30min", "gifteval_pretrain/tourism_quarterly", "gifteval_pretrain/tourism_yearly", "gifteval_pretrain/traffic_hourly", "gifteval_pretrain/traffic_weekly", "gifteval_pretrain/uber_tlc_daily", "gifteval_pretrain/uber_tlc_hourly", "gifteval_pretrain/vehicle_trips_with_missing", "gifteval_pretrain/wiki-rolling_nips", "gifteval_pretrain/wind_farms_with_missing", "gifteval_pretrain/wind_power", "synthetic:both original and sign-reflected orientations of each sampled allowed or locally generated window; paired quantile loss, seed 197", "synthetic:both original and sign-reflected orientations of each sampled window, seed 197", "synthetic:independent sign reflection of sampled allowed-corpus and locally generated windows; seeds 43,47,59,79,89,197", "synthetic:own Fourier/trend/AR/intermittent/changepoint generator at weekly periods52,1, replacing a Bernoulli1/11 share of the original synthetic rows with unchanged total synthetic fraction; independent seed 1000200", "synthetic:own Fourier/trend/intermittent generator with AR time constant log-uniform from 1 to 10000 steps and zero initial state; seed 79", "synthetic:own direct_v1 Fourier seasons, damped trends, AR noise, changepoints and intermittent demand; seeds 23,43,47,59,79,89,197,503,577,661", "synthetic:own random requested-horizon prefixes, half of rows retain the full horizon and half use a patch-rounded prefix between one-quarter and the full horizon; independent seed 300200", "synthetic:own stationary Gaussian residuals generated by FFT, equal Matern0.5/1.5/2.5 and RBF spectral families, length scale log-uniform1to10000, theoretical unit marginal variance, FFT size next power of two at least4times window; replacing half of original synthetic residuals with all other generator components unchanged; independent seed 1100200"], "pretrained_assets": [], "limitation": "Adaptive validation and an already-selected base; source improvement does not establish transfer or ensemble improvement. Fixed Fourier projections use only each supplied history, never fitted context parameters."} + +2026-10-24T06:53:06.755394+00:00: Scheduled main-cutoff learning diagnostic {"utc": "2026-10-24T06:53:06.755394+00:00", "experiment": "E157distill", "run": "random_capacity_long_seasonal_distill", "step": 16000, "skill": 0.3700517735978992, "checkpoint_sha256": "f850682499c6ad37abfaed9aa6dcfa20d62f489a54aad949f3d39ae64576d618", "eval_seconds": 37.21970176696777, "comparisons": [{"control": "distill_ensemble", "control_checkpoint_sha256": "7adc72c9070576fd9c3d4d0f24f0540426e65b83badbe59537ca0e58b4843d34", "control_skill": 0.3634736933529894, "delta": 0.006578080244909801, "group_deltas": {"term": {"long": 0.0036447340445863174, "medium": 0.006841009233128359, "short": 0.007658439557615027}, "domain": {"Econ/Fin": -0.006050073779560128, "Energy": 0.003762606677859881, "Healthcare": 0.022638552132023038, "Nature": -0.0002924862722708532, "Sales": 0.007286848326891748, "Transport": 0.009868479171776023, "Web/CloudOps": 0.009742508898734625}, "frequency": {"A": -0.00036758671276670984, "D": 0.022719336111499566, "H": 0.005733915955551394, "M": -0.004811666690445082, "Q": -0.004662041946655093, "S": -0.004963367941350216, "T": 0.004323412822559991, "W": 0.005013732572837881}, "variates": {"multivariate": 0.006631659632218123, "univariate": 0.006531119952876585}}}, {"control": "random_capacity_long_seasonal_halflr", "control_checkpoint_sha256": "215e735d061e7efcb5b46fe080fafcef250b7ab2964c8e32cb137b0f4ee7db4e", "control_skill": 0.3653282192051246, "delta": 0.004723554392774609, "group_deltas": {"term": {"long": 0.0065248544078605475, "medium": 0.008087667634707474, "short": 0.0026001748745653197}, "domain": {"Econ/Fin": -0.001653743633472149, "Energy": 0.013689660477930632, "Healthcare": 0.02132787111839496, "Nature": -0.014742674054664562, "Sales": 0.016214111514241458, "Transport": 0.008414197938925727, "Web/CloudOps": 0.0007273073316731438}, "frequency": {"A": 0.009942660484313137, "D": -0.015547893510093447, "H": 0.00923191731340034, "M": -0.01691190467120829, "Q": 0.014662560334549046, "S": -0.002893788940411257, "T": 0.013278828376826812, "W": 0.0027177292043431}, "variates": {"multivariate": 0.006938843428584862, "univariate": 0.002889687226805604}}}], "decision": "Scheduled16000 main diagnostic only. Preserve original48000primary and96000final four-cutoff comparisons against both matched controls. E187 fixedF5 replacement remains untested until the declared source gates pass; no early checkpoint or coefficient selection.", "new_neural_inference": false, "new_training": false}. No additional training or inference. + +2026-10-24T06:53:36.264663+00:00: E190 CPUpreparation complete {"utc": "2026-10-24T06:52:42.789303+00:00", "experiment": "E190", "checkpoints": [{"experiment": "E190", "step": 6000, "formula": "FP32 zero_extend(F0) + E164 - zero_extend(E107), coefficient exactly1; new spectral tensors equal E164; F0-only dispersion/width tensors preserved bitwise.", "coefficient": 1.0, "parent_hashes": {"/workspace/research/seasonal_width_transfer12k.pt": "0b11b7351a4a92d1d18c71a4159ec445be3a94ace8c7a9fa0edafad87d14e960", "/workspace/research/runs/spectral_phase_individual/ema006000.pt": "bca83d228f218f56044ce37b1a4fbc84a2f2bb8a8f900ccb868b01621e4e0e14", "/workspace/research/runs/long_seasonal/ema006000.pt": "ad45e0cfae574d3dc1be0b9720c9be0863db9ffe33891fdb22c86dfa83667253"}, "optimizer_updates": 0, "validation_data_read": false, "fixture_seed": 1907, "f0_only_tensors_unchanged": true, "model_sha256": "8871ad0ae4719dd0ed9844b1231407e6468e49d8c86c71ba7e9d546d28222528", "checkpoint": "/workspace/research/spectral_width_transfer6k.pt", "checkpoint_sha256": "0d4f90210ec38a1256db86115b600ba839a299594174d9da5fcf822aa82c7c55", "parameters": 36997536}, {"experiment": "E190", "step": 12000, "formula": "FP32 zero_extend(F0) + E164 - zero_extend(E107), coefficient exactly1; new spectral tensors equal E164; F0-only dispersion/width tensors preserved bitwise.", "coefficient": 1.0, "parent_hashes": {"/workspace/research/seasonal_width_transfer12k.pt": "0b11b7351a4a92d1d18c71a4159ec445be3a94ace8c7a9fa0edafad87d14e960", "/workspace/research/runs/spectral_phase_individual/ema012000.pt": "8621fda2eba691ec82134f713c86ed14f16e48d920c9497a07204df69a386948", "/workspace/research/runs/long_seasonal/ema012000.pt": "d512cdac520239f0c10e021721424d87cee30086fa70f6cbc41f21e2e04988c3"}, "optimizer_updates": 0, "validation_data_read": false, "fixture_seed": 1907, "f0_only_tensors_unchanged": true, "model_sha256": "8871ad0ae4719dd0ed9844b1231407e6468e49d8c86c71ba7e9d546d28222528", "checkpoint": "/workspace/research/spectral_width_transfer12k.pt", "checkpoint_sha256": "c8c094198557204b2816b7b31acb36345823e50ce288298b9a395fbc3f946cbe", "parameters": 36997536}], "zero_extension_fixtures": [{"context": 32, "horizon": 6, "zero_extension_bitwise_equal": true}, {"context": 512, "horizon": 128, "zero_extension_bitwise_equal": true}, {"context": 4096, "horizon": 900, "zero_extension_bitwise_equal": true}], "missing_prefix_checks": [{"missing_prefix": 16, "bitwise_equal": true}, {"missing_prefix": 500, "bitwise_equal": true}, {"missing_prefix": 4096, "bitwise_equal": true}], "independent_row_features_bitwise_equal": true, "seconds": 3.6889619731809944, "optimizer_updates": 0, "validation_data_read": false, "model_sha256": "8871ad0ae4719dd0ed9844b1231407e6468e49d8c86c71ba7e9d546d28222528", "runtime": "/workspace/research/spectral_width_transfer_inference"} GuardedGPUaudit and batch32matchedcontrol/allfour candidateevaluations launchedsession89361/PID31504. Noensembleformulaorpublication. + +2026-10-24T06:54:55.256830+00:00: E171deterministicengineering passed {"pid": 31220, "status": "complete; source gate passed", "started_utc": "2026-10-24T06:46:48.759474+00:00", "steps": [{"name": "maximum_shape_and_gradients", "returncode": 0, "seconds": 166.79912544577383}, {"name": "fullstate_recovery", "returncode": 0, "seconds": 319.58607720094733}], "new_fixture_updates": 18, "seconds": 486.4178332979791, "total_fixture_updates": 36, "deterministic_training": true} + +{"utc": "2026-10-24T06:55:03.469733+00:00", "experiment": "E190", "purpose": "Matched batch32 unchanged-F0 replay compared with original batch128 cachedF0.", "selection": "Require the original >=3positive/meanpositive cutoff condition against BOTH execution controls. Report exactness and group differences; no coefficient or threshold fitting.", "new_training": false, "validation_forecasts_observed": false} + +2026-10-24T06:56:25.755378+00:00: E171 deterministicengineering completion {"utc": "2026-10-24T06:56:25.755378+00:00", "experiment": "E171", "status": "queued after E161 original96000", "initial_checkpoint_sha256": "f7e35a6341ffc6c1ce53cfd8934256dde937171f5002f1fc34b1fd169f1a15d6", "new_gpu_audit_seconds": 162.2285463658627, "new_recovery_audit_seconds": 317.72398255206645, "new_fixture_process_seconds": 302.54104719590396, "prior_fixture_process_seconds": 159.841883592, "new_fixture_optimizer_updates": 18, "total_fixture_optimizer_updates": 36, "production_optimizer_updates": 0, "all_repeated_and_resumed_states_bitwise_equal": true, "maximum_shape_reserved_mib": 10062.0, "gradient_cosine": 0.999962776272352, "original_tolerances_unchanged": true, "failed_audit_preserved": "/workspace/research/fresh_seasonal_integrated_existing_recovery_review.json", "new_gpu_receipt": "/workspace/research/fresh_seasonal_integrated_gpu_deterministic_checks.json", "new_recovery_receipt": "/workspace/research/fresh_seasonal_integrated_recovery_deterministic_checks.json", "launch_receipt": "/workspace/research/fresh_seasonal_integrated_launch_receipt.json", "queue_pid": 31644, "watch_pid": 31645, "comparison_pid": 31646, "supervisor_session": 38569, "supervisor_pid": 31220, "fixture_weights_never_warmstart": true, "selection": "Original48000primary/96000final against E131, allfourcutoffs; sourceprimarygatesunchanged.", "numerical_limitation": "E131 matchedcontrol used originalnondeterministic compiled mode. E171 usesdeterministic algorithms/CUBLAS4096:8 afterfailed numericalaudit; smallscorechangesmayinclude numericalmodeeffects."} + +2026-10-24T06:59:06.018994+00:00: E191 matched noncalendar synthetic-period prior declared {"experiment": "E191", "declared_utc": "2026-10-24T06:59:06.018994+00:00", "hypothesis": "E164 spectral features improve allfour cutoffs, but the original synthetic Fourier periods always equal metadata calendar periods. Independent continuous period diversity may teach the same fixed spectral pathway to extrapolate recurring components away from those calendar periods.", "model": "/workspace/research/spectral_phase_individual/model.py", "model_sha256": "51ac728f6f22c0e657ee14f202a44df6b08e8b8a70e04e088dc25034aff52e5f", "initial": "/workspace/research/spectral_phase_individual_initial.pt", "initial_sha256": "7371efd4b00bfe69502521d94c24708ac520fcd763db1a9d7d3a0cd1e62db79b", "parameters": 36948352, "seed": 197, "batch": 64, "lr": 2e-05, "steps": 12000, "primary": 6000, "final": 12000, "packed": "/workspace/research/packed_sample", "source_weights_from": "/workspace/research/packed_sample", "synthetic_fraction": 0.2, "arms": [{"run": "noncalendar_control", "replacement_probability": 0.0}, {"run": "noncalendar_candidate", "replacement_probability": 0.5}], "changed_factor": "For a selected half of synthetic rows, multiply each original period>=2 by its own exp(U(-log2,log2)) and clamp to>=2. Keep the supplied frequency-metadata periods unchanged. Preserve all original random draws, harmonic amplitudes/counts/phases, noise, trend, changepoint, intermittency and positivity operations. Real rows and unselected synthetic rows remain bitwise identical.", "generator": "Own original Fourier/trend/AR/intermittent/changepoint generator, with continuously perturbed harmonic periods on an independent Bernoulli0.5 share of synthetic rows; no external data. Control probability0 executes the same independent draws but returns the original row.", "rng_name": "noncalendar_rng", "rng_seed_offset": 1600003, "rng_seed": 1600200, "generation_method": "Save original RNG state, generate original row first, and generate a selected alternative with an isolated clone of that prior RNG state. The original sampler RNG remains exactly at the original post-row state. Both metadata slots consume jitter draws even when period1 disables harmonics.", "numerical_mode": "Both newly trained arms use deterministic algorithms and CUBLAS_WORKSPACE_CONFIG=:4096:8, eager BF16, no compiled loss. Historical E164 used nondeterministic eager backward and is a descriptive secondary comparison only.", "fixture_seeds": {"cpu": 1913, "gpu": 1917, "recovery": 197}, "engineering_fixture_updates": 36, "engineering": "Byte-identical model/initial weights, all95source probabilities/original RNGs/real rows/unselected rows; independent reference generator and exact RNG restoration. B64/C4096/H1024 eager deterministic gradient/max-memory audit. Both arms each6+6+3+3 recovery fixtures mustmatch ALLstatesbitwise. No fixture weights warmstart production.", "gpu_allocator_cap_mib": 9000, "minimum_free_before_engineering_mib": 16096, "required_remaining_headroom_before_training_mib": 12000, "physical_gpus": 1, "allocation": "One bounded sequential12kcontrol+12kcandidate pair replacing the completedE186extraallocation, never an additional concurrent allocation. Wait for E186head trainingcomplete and allitsdeclaredvalidationcomplete; then require measuredmaxreserved+12000MiBfree under evaluationlock beforeeacharm. Engineering waits for E190evaluationcompletion and runtime-onlyE172validationcompletion first.", "selection": "Primary6000/final12000 allfour fixed cutoffs, candidate versus newly trained matched control; at least3positive cutoff skills andpositive mean. 1000/3000main diagnostics only. No coefficient/period-range sweep, parameter transfer, ensemble orautomaticpublication selected.", "pretrained_assets": [], "sources_used": ["gifteval_pretrain/BEIJING_SUBWAY_30MIN", "gifteval_pretrain/HZMETRO", "gifteval_pretrain/LOS_LOOP", "gifteval_pretrain/PEMS03", "gifteval_pretrain/PEMS04", "gifteval_pretrain/PEMS07", "gifteval_pretrain/PEMS08", "gifteval_pretrain/PEMS_BAY", "gifteval_pretrain/Q-TRAFFIC", "gifteval_pretrain/SHMETRO", "gifteval_pretrain/alibaba_cluster_trace_2018", "gifteval_pretrain/australian_electricity_demand", "gifteval_pretrain/azure_vm_traces_2017", "gifteval_pretrain/bdg-2_bear", "gifteval_pretrain/bdg-2_fox", "gifteval_pretrain/bdg-2_panther", "gifteval_pretrain/bdg-2_rat", "gifteval_pretrain/bitcoin_with_missing", "gifteval_pretrain/borealis", "gifteval_pretrain/borg_cluster_data_2011", "gifteval_pretrain/buildings_900k", "gifteval_pretrain/bull", "gifteval_pretrain/cdc_fluview_ilinet", "gifteval_pretrain/cdc_fluview_who_nrevss", "gifteval_pretrain/china_air_quality", "gifteval_pretrain/cif_2016_12", "gifteval_pretrain/cif_2016_6", "gifteval_pretrain/cmip6_2000", "gifteval_pretrain/cmip6_2005", "gifteval_pretrain/cmip6_2010", "gifteval_pretrain/cockatoo", "gifteval_pretrain/covid19_energy", "gifteval_pretrain/covid_mobility", "gifteval_pretrain/elecdemand", "gifteval_pretrain/elf", "gifteval_pretrain/era5_2010", "gifteval_pretrain/era5_2011", "gifteval_pretrain/era5_2012", "gifteval_pretrain/era5_2013", "gifteval_pretrain/era5_2014", "gifteval_pretrain/era5_2015", "gifteval_pretrain/era5_2016", "gifteval_pretrain/era5_2017", "gifteval_pretrain/era5_2018", "gifteval_pretrain/extended_web_traffic_with_missing", "gifteval_pretrain/favorita_sales", "gifteval_pretrain/favorita_transactions", "gifteval_pretrain/gfc12_load", "gifteval_pretrain/gfc14_load", "gifteval_pretrain/gfc17_load", "gifteval_pretrain/godaddy", "gifteval_pretrain/hog", "gifteval_pretrain/ideal", "gifteval_pretrain/kaggle_web_traffic_weekly", "gifteval_pretrain/kdd2022", "gifteval_pretrain/largest_2017", "gifteval_pretrain/largest_2018", "gifteval_pretrain/largest_2019", "gifteval_pretrain/largest_2020", "gifteval_pretrain/largest_2021", "gifteval_pretrain/lcl", "gifteval_pretrain/london_smart_meters_with_missing", "gifteval_pretrain/m1_monthly", "gifteval_pretrain/m1_quarterly", "gifteval_pretrain/m1_yearly", "gifteval_pretrain/m5", "gifteval_pretrain/monash_m3_monthly", "gifteval_pretrain/monash_m3_other", "gifteval_pretrain/monash_m3_quarterly", "gifteval_pretrain/nn5_daily_with_missing", "gifteval_pretrain/nn5_weekly", "gifteval_pretrain/oikolab_weather", "gifteval_pretrain/pdb", "gifteval_pretrain/project_tycho", "gifteval_pretrain/residential_load_power", "gifteval_pretrain/residential_pv_power", "gifteval_pretrain/rideshare_with_missing", "gifteval_pretrain/sceaux", "gifteval_pretrain/smart", "gifteval_pretrain/solar_power", "gifteval_pretrain/spain", "gifteval_pretrain/subseasonal", "gifteval_pretrain/subseasonal_precip", "gifteval_pretrain/sunspot_with_missing", "gifteval_pretrain/taxi_30min", "gifteval_pretrain/tourism_quarterly", "gifteval_pretrain/tourism_yearly", "gifteval_pretrain/traffic_hourly", "gifteval_pretrain/traffic_weekly", "gifteval_pretrain/uber_tlc_daily", "gifteval_pretrain/uber_tlc_hourly", "gifteval_pretrain/vehicle_trips_with_missing", "gifteval_pretrain/wiki-rolling_nips", "gifteval_pretrain/wind_farms_with_missing", "gifteval_pretrain/wind_power", "synthetic:both original and sign-reflected orientations of each sampled allowed or locally generated window; paired quantile loss, seed 197", "synthetic:both original and sign-reflected orientations of each sampled window, seed 197", "synthetic:independent sign reflection of sampled allowed-corpus and locally generated windows; seeds 43,47,59,79,89,197", "synthetic:own Fourier/trend/AR/intermittent/changepoint generator at weekly periods52,1, replacing a Bernoulli1/11 share of the original synthetic rows with unchanged total synthetic fraction; independent seed 1000200", "synthetic:own Fourier/trend/intermittent generator with AR time constant log-uniform from 1 to 10000 steps and zero initial state; seed 79", "synthetic:own direct_v1 Fourier seasons, damped trends, AR noise, changepoints and intermittent demand; seeds 23,43,47,59,79,89,197,503,577,661", "synthetic:own random requested-horizon prefixes, half of rows retain the full horizon and half use a patch-rounded prefix between one-quarter and the full horizon; independent seed 300200", "synthetic:own stationary Gaussian residuals generated by FFT, equal Matern0.5/1.5/2.5 and RBF spectral families, length scale log-uniform1to10000, theoretical unit marginal variance, FFT size next power of two at least4times window; replacing half of original synthetic residuals with all other generator components unchanged; independent seed 1100200", "synthetic:Own original Fourier/trend/AR/intermittent/changepoint generator, with continuously perturbed harmonic periods on an independent Bernoulli0.5 share of synthetic rows; no external data. Control probability0 executes the same independent draws but returns the original row.; independent noncalendar RNG seed1600200"], "new_training": true, "training_queued": false} Preparation {"utc": "2026-10-24T06:59:06.365752+00:00", "experiment": "E191", "status": "declared and code prepared; CPU/GPU/recovery audits pending", "code_sha256": {"noncalendar_control": {"model.py": "51ac728f6f22c0e657ee14f202a44df6b08e8b8a70e04e088dc25034aff52e5f", "data.py": "1e1e8490fed7baefa240b941ad622f96477f556a1f0cec732519cf23811c5d87", "base_data.py": "6537d67ec1d76490015e5bb71a24a0317734ba7bec879628e6547e0a21a2b6e0"}, "noncalendar_candidate": {"model.py": "51ac728f6f22c0e657ee14f202a44df6b08e8b8a70e04e088dc25034aff52e5f", "data.py": "db42696ed7907b40435246ee97cc8753619ba820bda0135fe82e7e1283bd1f8c", "base_data.py": "6537d67ec1d76490015e5bb71a24a0317734ba7bec879628e6547e0a21a2b6e0"}}, "seconds": 0.6380402520298958, "optimizer_updates": 0, "validation_data_read": false} + +2026-10-24T07:02:12.092532+00:00: E191 matched pair prepared {"utc": "2026-10-24T07:02:12.092532+00:00", "experiment": "E191", "cpu_seconds": 5.295235740020871, "independent_reference_cases": 128, "selected": 63, "changed": 46, "all95_sources_same": true, "all_original_rngs_and_real_unselected_rows_unchanged": true, "all_named_rngs_restore_bitwise": true, "optimizer_updates": 0, "training_queued": false, "engineering_controller": "Wait E190completion and runtime-onlyE172validationcompletion before guardedGPUaudit and36bitwise recoveryfixtureupdates; then wait E186paircompletion and measuredmax+12000MiBguard.", "script_sha256": {"engineering.py": "c211aee163c9cb4745954e29c014f0a65dacc3548cfde5bd2316a384d1f566d6", "prepare_engineering.py": "84079962ae43123f1b606fa2bb208e9adf74ed3543b6d8817a2fa0250b682c68", "check_recovery.py": "cf1d0605d12786d35e0a3655c7fbec04a7d946b6196fc2c3e7ef4a6cf8aef8fe", "launch.py": "f402b0d7975660fa13bf6812d48c6081c14376948f45ba0686fe417e8bf21d93", "check_cpu.py": "22511cc56756aeb74705d177eaa4dd418f6336c98f6bd9500daaa97acecf162c", "train.py": "305eeb89a6bffa7f72d0b32d8b6090fe30c87a9c0aaa99a8c7e5d687b84e1e4d", "schedules.py": "7748fd6b2bbbe64037472faf7e6583d03cf339138d2f3c07b1bac9e65bf2d4f5", "prepare.py": "793c3be483aaf24f434b8150d25c278a9b267d304b8a59778a8fa98b62e4dae6", "check_gpu.py": "8506fa6cefc5912031516c4f124b887dfd894c696aef9343567f2fbda603f861"}} + +{"utc": "2026-10-24T07:03:46.711968+00:00", "experiment": "E191", "change": "Add pre-GPU assertions that every prepared model/data/base_data file and source model still matches its declared digest. No numeric/training/selection change; engineering stillwaitingpriorreplays.", "new_sha256": "ff79928f6a7f96e33f5a82f79a3f68cc75a7775f5a1395813dc9bdea5671cb6e", "optimizer_updates": 0} + +{"utc": "2026-10-24T07:08:26.795343+00:00", "finding": "research/example/input contains generated synthetic hourly/daily/multivariate examples; originaldeclaration called themrealexamples incorrectly.", "resolution": "Preserve syntheticrelocation and full97bitwise replay, add source/relocated checks on index0 of electricityHshort,solarTshort,ett2Hlong using only real validation INPUT_DIRcontexts. Publisher now requires both synthetic andreal receipts. No forecastmodel/weight/entrypoint/selection changes.", "optimizer_updates": 0} + +2026-10-24T07:09:47.257868+00:00: Scheduled main-cutoff learning diagnostic {"utc": "2026-10-24T07:09:47.257868+00:00", "experiment": "E155", "run": "random_capacity_1536", "step": 16000, "skill": 0.3438496112655687, "checkpoint_sha256": "f290946a4b0d4a3600e75c40f6dfedeac4c6487dffa7755909c8a82bbf6dbf5b", "eval_seconds": 52.26977276802063, "comparisons": [{"control": "random_capacity_1024", "control_checkpoint_sha256": "959ff6c885777e971d4ee25729d3406485404a69a0bbfe320959506b180e9e35", "control_skill": 0.3494992855125878, "delta": -0.005649674247019121, "group_deltas": {"term": {"long": -0.012950137635530878, "medium": -0.009359948801495821, "short": -0.0009739286487747689}, "domain": {"Econ/Fin": 0.004119397865304686, "Energy": -0.012926402244670676, "Healthcare": 0.056733533314336504, "Nature": 0.0018844358666773031, "Sales": -0.004572214381454054, "Transport": -0.003233800058693559, "Web/CloudOps": -0.017500291948298385}, "frequency": {"A": 0.004123124927147059, "D": 3.391506007122125e-05, "H": -0.0050811097611825895, "M": 0.042987773716501865, "Q": -0.0329704641119527, "S": -0.00213950170859889, "T": -0.02277049287200783, "W": 0.039478090243523}, "variates": {"multivariate": -0.013804164174671008, "univariate": 0.0012860224507074136}}}], "decision": "Scheduled16000 main diagnostic only. Preserve original48000primary/96000final allfour comparisons and unchanged329M schedule. E167stillrequires originalprimary sourcegate; E189lower-rate fallback remains a separately declared fresh run after original completion, not an early restart.", "new_neural_inference": false, "new_training": false}. No additional training or inference. + +2026-10-24T07:09:47.357488+00:00: Scheduled main-cutoff learning diagnostic {"utc": "2026-10-24T07:09:47.357488+00:00", "experiment": "E145", "run": "random_capacity_buildings", "step": 72000, "skill": 0.369319326474594, "checkpoint_sha256": "0eb4bed035dc01aae973d8bf42b9c2187692c20a4440194399f616ca52f1487e", "eval_seconds": 36.93987274169922, "comparisons": [{"control": "random_capacity_full", "control_checkpoint_sha256": "9905ad079d2a5d0590708039830e22f4d6fa74912810b8eb6d928e91dcda883d", "control_skill": 0.36820304557446126, "delta": 0.0011162809001327156, "group_deltas": {"term": {"long": 0.002762868420228104, "medium": 0.005218973182479436, "short": -0.0012416232755299017}, "domain": {"Econ/Fin": -0.008704999315830575, "Energy": -0.008736878547724647, "Healthcare": 0.04212148751192335, "Nature": -0.006641075945198915, "Sales": -0.0012559688468496422, "Transport": -0.00017095055158355965, "Web/CloudOps": 0.010167919250105295}, "frequency": {"A": -0.00555029180860056, "D": -0.0033208947679241874, "H": 0.0017273196712707106, "M": 0.06140404326536242, "Q": -0.013871737010708762, "S": 0.005423368065709866, "T": 0.0007323968943767634, "W": -0.022210617730603954}, "variates": {"multivariate": -0.00019612382883704704, "univariate": 0.0022032806635965407}}}], "decision": "Scheduled72000 main diagnostic only. Original48000sourcepassed but E182primarycompositionwasrejected. Preserve original96000final allfour source/composition conditions; no intermediate checkpoint selection, weighting sweep, or retraining.", "new_neural_inference": false, "new_training": false}. No additional training or inference. + +2026-10-24T07:12:58.505272+00:00: E165 scheduled main diagnostic {"utc": "2026-10-24T07:12:58.505272+00:00", "experiment": "E165", "run": "six_expert_gate", "step": 1000, "seed": 751, "trainable_parameters": 6340, "all_experts_compute": true, "expert_descriptor_sha256": "20f014ca61a9cfa4f275d9d7abfd297561ac37fddcdae9ba2ef60d3fca106cf8", "checkpoint_sha256": "3533afd8daba59aa2ffd2483cb9ef661e4af9dd24e19dd59db44d2e4b60c627b", "skill": 0.38934526707660777, "groups": {"term": {"long": 0.40889235528119683, "medium": 0.41190731850837403, "short": 0.37276078363605525}, "domain": {"Econ/Fin": 0.15051275694967625, "Energy": 0.24825113120233389, "Healthcare": 0.48357683872239543, "Nature": 0.44532207701701365, "Sales": 0.3450795157113645, "Transport": 0.4754420594419646, "Web/CloudOps": 0.5087745443888634}, "frequency": {"A": 0.3790410459783937, "D": 0.3743780715679319, "H": 0.40558345027237686, "M": 0.12173540544419159, "Q": 0.20470562742142184, "S": 0.42558924819363475, "T": 0.44694050668254404, "W": 0.24349816814682834}, "variates": {"multivariate": 0.4026211043366993, "univariate": 0.37856307644596066}}, "comparisons": [{"control": "E152 matched-step refreshed four-expert gate", "checkpoint_sha256": "e052ed8207585772fc5d9b352bada6465a27bb94daea46dac4217b5a0f3a2f95", "control_skill": 0.38912205996537574, "delta": 0.00022320711123202663, "group_deltas": {"term": {"long": 0.0006407943827309026, "medium": 0.0004046315622219243, "short": -1.993097388208742e-05}, "domain": {"Econ/Fin": 0.00026064961660432484, "Energy": 0.00034618499711480677, "Healthcare": -0.005586424295891623, "Nature": 0.0012179464144070895, "Sales": 0.0007568901701291431, "Transport": 0.0012058484105023082, "Web/CloudOps": 3.18080527783593e-05}, "frequency": {"A": -0.000929731929489197, "D": 0.00117479112681107, "H": 0.00044647024961541604, "M": -0.0018656853009435537, "Q": 2.9474363359760503e-05, "S": 0.0004921023421817772, "T": 0.0003165152961350781, "W": -0.002471145632299887}, "variates": {"multivariate": 0.000413128935728313, "univariate": 6.585108139167684e-05}}}, {"control": "immutable E159 equal six-expert composition", "checkpoint_sha256": "20f014ca61a9cfa4f275d9d7abfd297561ac37fddcdae9ba2ef60d3fca106cf8", "control_skill": 0.38873378968262917, "delta": 0.0006114773939785989, "group_deltas": {"term": {"long": 0.0016575870441373208, "medium": 0.0001469878920925538, "short": 0.0003767771200724468}, "domain": {"Econ/Fin": 0.0010034365880641216, "Energy": 0.00019278029758396098, "Healthcare": -0.0015337228626211008, "Nature": 0.0017092937655570628, "Sales": -0.0011364006544578586, "Transport": 0.00041808857453828896, "Web/CloudOps": 0.0011190198796874329}}}, {"control": "frozen E172 published six-expert plus gate composition", "checkpoint_sha256": "a75fdfcbb4d8e38dd6e7cded3c097ff0a129976fa63277bfd277a6031ccc6140", "control_skill": 0.3893607757169213, "delta": -1.5508640313521838e-05, "group_deltas": {"term": {"long": 0.0011142606874053884, "medium": -0.00045321737984838073, "short": -0.00029441441921906897}, "domain": {"Econ/Fin": -0.00025298229853065735, "Energy": 0.00014064128914048624, "Healthcare": -0.004512929037329583, "Nature": 0.0011718848787833913, "Sales": -0.0002961246737767098, "Transport": -0.00012667315751024866, "Web/CloudOps": 0.00027019344018408553}}}], "eval_seconds": 147.57236356497742, "cpu_review_seconds": 0.013373429886996746, "new_training": false, "new_neural_inference": false, "decision": "Scheduled main learning diagnostic only. Original6000primary/12000final allfour source/current gates remain unchanged. No early checkpoint, blend coefficient, or publication selected.", "aggregation_note": "Composition probes group frequency by full aliases; omit their frequency-group deltas. Matched gate comparison uses the same scorer group definitions."} + +2026-10-24T07:12:58.717287+00:00: Scheduled main-cutoff learning diagnostic {"utc": "2026-10-24T07:12:58.717287+00:00", "experiment": "E137", "run": "random_capacity_deep", "step": 72000, "skill": 0.3670880989538644, "checkpoint_sha256": "5fbf736c39c65aaf3e4a7e74413e379f6d6174b3240cc6e9d587301ce9b66f5c", "eval_seconds": 40.18280339241028, "comparisons": [{"control": "random_capacity_1024", "control_checkpoint_sha256": "baa71611dff2da76515319d144b23e31e19304772ad4401fc4a18ea03f07a499", "control_skill": 0.36736566458978936, "delta": -0.000277565635924959, "group_deltas": {"term": {"long": -0.0004005577799133242, "medium": 0.005556723695993138, "short": -0.0026127769169473902}, "domain": {"Econ/Fin": 0.013453643628631218, "Energy": 0.003377772751777086, "Healthcare": -0.038282419978922566, "Nature": 0.002680239007742058, "Sales": 0.008563678002601716, "Transport": 0.003568788270517542, "Web/CloudOps": -0.004044772472464264}, "frequency": {"A": -0.0003045293519040593, "D": -0.003702942668565856, "H": -0.005691057074302952, "M": -0.005767503807654006, "Q": -0.002880310599798208, "S": 0.000987007986520072, "T": 0.007059471117149552, "W": -0.0013416065875176963}, "variates": {"multivariate": 0.00027318394592756867, "univariate": -0.000734042120782652}}}], "decision": "Scheduled72000 main diagnostic only. Original48000 source gate failed, so E180primarycompositionremainsuntested. Preserve original96000final allfour source/composition conditions and original depth-width training recipe; no intermediate checkpoint selection or schedule change.", "new_neural_inference": false, "new_training": false}. No additional training or inference. + +{"utc": "2026-10-24T07:13:52.975381+00:00", "experiment": "E190", "gpu_receipt": "/workspace/research/spectral_width_transfer_gpu_checks.json", "audit_wall_seconds": 980.0499398140237, "lock_and_memory_wait_seconds": 968.8467153569218, "audit_excluding_wait_seconds": 11.203224457101896, "candidate_phase_peak_reserved_mib": 532.0, "allocator_cap_mib": 8000, "optimizer_updates": 0, "passed": true, "note": "Peak field was reset after zero-extension comparison and measures candidate phase; earlier two-model comparison also ran under declared8GiB cap. All same-batch zero-extension, repeat and feature-padding checks passed. No validation selection yet."} + +2026-10-24T07:15:05.889636+00:00: Completed runtime-only publication review {"utc": "2026-10-24T07:15:05.889636+00:00", "experiment": "E172 runtime-only revision", "descriptor_sha256": "a75fdfcbb4d8e38dd6e7cded3c097ff0a129976fa63277bfd277a6031ccc6140", "runtime_revision_sha256": "cf56c32102237cc5f685930a88094ad9ea375053e6b7b33b70b65281ea605493", "changed_factor": "infer.sh additionally exports NUMPY_MADVISE_HUGEPAGE=0 beforePython starts. No other executablecode or numericalsetting changes.", "full_validation_skill": 0.385663741697722, "rel_mase": 0.7347721085312826, "rel_wql": 0.5136409423858462, "validation_receipt": "/workspace/research/runtime_allocation_revision_validation.json", "validation_seconds": 1825.5466680128593, "all97_prediction_arrays_bitwise_identical": true, "all97_scoring_fields_exact": true, "synthetic_relocation_configs": 3, "real_relocation_configs": 3, "real_relocation_receipt": "/workspace/research/runtime_allocation_revision_real_relocation.json", "real_relocation_seconds": 357.1883718499448, "full_forecast_payload_bits_equal": true, "payload_comparison_receipt": "/workspace/research/runtime_allocation_revision_forecast_bytes.json", "original_model_published_utc": "2026-10-24T02:18:18.988885+00:00", "optimizer_updates": 0, "group_skill_changes": "Exactlyzero for every configuration andgroup; sameforecasts.", "new_inference_seconds": 784.6361561322119, "reference_inference_seconds": 787.4997950529214, "limitation": "Original andnew fullruntime measurements occur underdifferent concurrent workloads. ControlledCPUallocation evidence supports robustness; do not infer a precise GPUthroughput improvement.", "outcome": "Publish host-allocation robustness revision; no forecasting skill gain or precise throughput multiplier claimed."} diff --git a/shared/package-files/8a/8ad5911df8f34e26aa9ef7eb5859824bf7967112de6552424f10c9c1a7fa50e3/_t_r_a_k.py b/shared/package-files/8a/8ad5911df8f34e26aa9ef7eb5859824bf7967112de6552424f10c9c1a7fa50e3/_t_r_a_k.py new file mode 100644 index 0000000000000000000000000000000000000000..9184506108b1597044afcc3d0652fd7d1fb7ac16 --- /dev/null +++ b/shared/package-files/8a/8ad5911df8f34e26aa9ef7eb5859824bf7967112de6552424f10c9c1a7fa50e3/_t_r_a_k.py @@ -0,0 +1,329 @@ +from fontTools.misc import sstruct +from fontTools.misc.fixedTools import ( + fixedToFloat as fi2fl, + floatToFixed as fl2fi, + floatToFixedToStr as fl2str, + strToFixedToFloat as str2fl, +) +from fontTools.misc.textTools import bytesjoin, safeEval +from fontTools.ttLib import TTLibError +from . import DefaultTable +import struct +from collections.abc import MutableMapping + +# Apple's documentation of 'trak': +# https://developer.apple.com/fonts/TrueType-Reference-Manual/RM06/Chap6trak.html + +TRAK_HEADER_FORMAT = """ + > # big endian + version: 16.16F + format: H + horizOffset: H + vertOffset: H + reserved: H +""" + +TRAK_HEADER_FORMAT_SIZE = sstruct.calcsize(TRAK_HEADER_FORMAT) + + +TRACK_DATA_FORMAT = """ + > # big endian + nTracks: H + nSizes: H + sizeTableOffset: L +""" + +TRACK_DATA_FORMAT_SIZE = sstruct.calcsize(TRACK_DATA_FORMAT) + + +TRACK_TABLE_ENTRY_FORMAT = """ + > # big endian + track: 16.16F + nameIndex: H + offset: H +""" + +TRACK_TABLE_ENTRY_FORMAT_SIZE = sstruct.calcsize(TRACK_TABLE_ENTRY_FORMAT) + + +# size values are actually '16.16F' fixed-point values, but here I do the +# fixedToFloat conversion manually instead of relying on sstruct +SIZE_VALUE_FORMAT = ">l" +SIZE_VALUE_FORMAT_SIZE = struct.calcsize(SIZE_VALUE_FORMAT) + +# per-Size values are in 'FUnits', i.e. 16-bit signed integers +PER_SIZE_VALUE_FORMAT = ">h" +PER_SIZE_VALUE_FORMAT_SIZE = struct.calcsize(PER_SIZE_VALUE_FORMAT) + + +class table__t_r_a_k(DefaultTable.DefaultTable): + """The AAT ``trak`` table can store per-size adjustments to each glyph's + sidebearings to make when tracking is enabled, which applications can + use to provide more visually balanced line spacing. + + See also https://developer.apple.com/fonts/TrueType-Reference-Manual/RM06/Chap6trak.html + """ + + def compile(self, ttFont): + dataList = [] + offset = TRAK_HEADER_FORMAT_SIZE + for direction in ("horiz", "vert"): + trackData = getattr(self, direction + "Data", TrackData()) + offsetName = direction + "Offset" + # set offset to 0 if None or empty + if not trackData: + setattr(self, offsetName, 0) + continue + # TrackData table format must be longword aligned + alignedOffset = (offset + 3) & ~3 + padding, offset = b"\x00" * (alignedOffset - offset), alignedOffset + setattr(self, offsetName, offset) + + data = trackData.compile(offset) + offset += len(data) + dataList.append(padding + data) + + self.reserved = 0 + tableData = bytesjoin([sstruct.pack(TRAK_HEADER_FORMAT, self)] + dataList) + return tableData + + def decompile(self, data, ttFont): + sstruct.unpack(TRAK_HEADER_FORMAT, data[:TRAK_HEADER_FORMAT_SIZE], self) + for direction in ("horiz", "vert"): + trackData = TrackData() + offset = getattr(self, direction + "Offset") + if offset != 0: + trackData.decompile(data, offset) + setattr(self, direction + "Data", trackData) + + def toXML(self, writer, ttFont): + writer.simpletag("version", value=self.version) + writer.newline() + writer.simpletag("format", value=self.format) + writer.newline() + for direction in ("horiz", "vert"): + dataName = direction + "Data" + writer.begintag(dataName) + writer.newline() + trackData = getattr(self, dataName, TrackData()) + trackData.toXML(writer, ttFont) + writer.endtag(dataName) + writer.newline() + + def fromXML(self, name, attrs, content, ttFont): + if name == "version": + self.version = safeEval(attrs["value"]) + elif name == "format": + self.format = safeEval(attrs["value"]) + elif name in ("horizData", "vertData"): + trackData = TrackData() + setattr(self, name, trackData) + for element in content: + if not isinstance(element, tuple): + continue + name, attrs, content_ = element + trackData.fromXML(name, attrs, content_, ttFont) + + +class TrackData(MutableMapping): + def __init__(self, initialdata={}): + self._map = dict(initialdata) + + def compile(self, offset): + nTracks = len(self) + sizes = self.sizes() + nSizes = len(sizes) + + # offset to the start of the size subtable + offset += TRACK_DATA_FORMAT_SIZE + TRACK_TABLE_ENTRY_FORMAT_SIZE * nTracks + trackDataHeader = sstruct.pack( + TRACK_DATA_FORMAT, + {"nTracks": nTracks, "nSizes": nSizes, "sizeTableOffset": offset}, + ) + + entryDataList = [] + perSizeDataList = [] + # offset to per-size tracking values + offset += SIZE_VALUE_FORMAT_SIZE * nSizes + # sort track table entries by track value + for track, entry in sorted(self.items()): + assert entry.nameIndex is not None + entry.track = track + entry.offset = offset + entryDataList += [sstruct.pack(TRACK_TABLE_ENTRY_FORMAT, entry)] + # sort per-size values by size + for size, value in sorted(entry.items()): + perSizeDataList += [struct.pack(PER_SIZE_VALUE_FORMAT, value)] + offset += PER_SIZE_VALUE_FORMAT_SIZE * nSizes + # sort size values + sizeDataList = [ + struct.pack(SIZE_VALUE_FORMAT, fl2fi(sv, 16)) for sv in sorted(sizes) + ] + + data = bytesjoin( + [trackDataHeader] + entryDataList + sizeDataList + perSizeDataList + ) + return data + + def decompile(self, data, offset): + # initial offset is from the start of trak table to the current TrackData + trackDataHeader = data[offset : offset + TRACK_DATA_FORMAT_SIZE] + if len(trackDataHeader) != TRACK_DATA_FORMAT_SIZE: + raise TTLibError("not enough data to decompile TrackData header") + sstruct.unpack(TRACK_DATA_FORMAT, trackDataHeader, self) + offset += TRACK_DATA_FORMAT_SIZE + + nSizes = self.nSizes + sizeTableOffset = self.sizeTableOffset + sizeTable = [] + for i in range(nSizes): + sizeValueData = data[ + sizeTableOffset : sizeTableOffset + SIZE_VALUE_FORMAT_SIZE + ] + if len(sizeValueData) < SIZE_VALUE_FORMAT_SIZE: + raise TTLibError("not enough data to decompile TrackData size subtable") + (sizeValue,) = struct.unpack(SIZE_VALUE_FORMAT, sizeValueData) + sizeTable.append(fi2fl(sizeValue, 16)) + sizeTableOffset += SIZE_VALUE_FORMAT_SIZE + + for i in range(self.nTracks): + entry = TrackTableEntry() + entryData = data[offset : offset + TRACK_TABLE_ENTRY_FORMAT_SIZE] + if len(entryData) < TRACK_TABLE_ENTRY_FORMAT_SIZE: + raise TTLibError("not enough data to decompile TrackTableEntry record") + sstruct.unpack(TRACK_TABLE_ENTRY_FORMAT, entryData, entry) + perSizeOffset = entry.offset + for j in range(nSizes): + size = sizeTable[j] + perSizeValueData = data[ + perSizeOffset : perSizeOffset + PER_SIZE_VALUE_FORMAT_SIZE + ] + if len(perSizeValueData) < PER_SIZE_VALUE_FORMAT_SIZE: + raise TTLibError( + "not enough data to decompile per-size track values" + ) + (perSizeValue,) = struct.unpack(PER_SIZE_VALUE_FORMAT, perSizeValueData) + entry[size] = perSizeValue + perSizeOffset += PER_SIZE_VALUE_FORMAT_SIZE + self[entry.track] = entry + offset += TRACK_TABLE_ENTRY_FORMAT_SIZE + + def toXML(self, writer, ttFont): + nTracks = len(self) + nSizes = len(self.sizes()) + writer.comment("nTracks=%d, nSizes=%d" % (nTracks, nSizes)) + writer.newline() + for track, entry in sorted(self.items()): + assert entry.nameIndex is not None + entry.track = track + entry.toXML(writer, ttFont) + + def fromXML(self, name, attrs, content, ttFont): + if name != "trackEntry": + return + entry = TrackTableEntry() + entry.fromXML(name, attrs, content, ttFont) + self[entry.track] = entry + + def sizes(self): + if not self: + return frozenset() + tracks = list(self.tracks()) + sizes = self[tracks.pop(0)].sizes() + for track in tracks: + entrySizes = self[track].sizes() + if sizes != entrySizes: + raise TTLibError( + "'trak' table entries must specify the same sizes: " + "%s != %s" % (sorted(sizes), sorted(entrySizes)) + ) + return frozenset(sizes) + + def __getitem__(self, track): + return self._map[track] + + def __delitem__(self, track): + del self._map[track] + + def __setitem__(self, track, entry): + self._map[track] = entry + + def __len__(self): + return len(self._map) + + def __iter__(self): + return iter(self._map) + + def keys(self): + return self._map.keys() + + tracks = keys + + def __repr__(self): + return "TrackData({})".format(self._map if self else "") + + +class TrackTableEntry(MutableMapping): + def __init__(self, values={}, nameIndex=None): + self.nameIndex = nameIndex + self._map = dict(values) + + def toXML(self, writer, ttFont): + name = ttFont["name"].getDebugName(self.nameIndex) + writer.begintag( + "trackEntry", + (("value", fl2str(self.track, 16)), ("nameIndex", self.nameIndex)), + ) + writer.newline() + if name: + writer.comment(name) + writer.newline() + for size, perSizeValue in sorted(self.items()): + writer.simpletag("track", size=fl2str(size, 16), value=perSizeValue) + writer.newline() + writer.endtag("trackEntry") + writer.newline() + + def fromXML(self, name, attrs, content, ttFont): + self.track = str2fl(attrs["value"], 16) + self.nameIndex = safeEval(attrs["nameIndex"]) + for element in content: + if not isinstance(element, tuple): + continue + name, attrs, _ = element + if name != "track": + continue + size = str2fl(attrs["size"], 16) + self[size] = safeEval(attrs["value"]) + + def __getitem__(self, size): + return self._map[size] + + def __delitem__(self, size): + del self._map[size] + + def __setitem__(self, size, value): + self._map[size] = value + + def __len__(self): + return len(self._map) + + def __iter__(self): + return iter(self._map) + + def keys(self): + return self._map.keys() + + sizes = keys + + def __repr__(self): + return "TrackTableEntry({}, nameIndex={})".format(self._map, self.nameIndex) + + def __eq__(self, other): + if not isinstance(other, self.__class__): + return NotImplemented + return self.nameIndex == other.nameIndex and dict(self) == dict(other) + + def __ne__(self, other): + result = self.__eq__(other) + return result if result is NotImplemented else not result diff --git a/shared/package-files/8a/8ad7ee3fa4edd3ddd9ae87e8ddba0c88b852dd6e23364839ab8f4fc497ebc8c5/sym_storage_offset_compositeimplicitautograd_dispatch.h b/shared/package-files/8a/8ad7ee3fa4edd3ddd9ae87e8ddba0c88b852dd6e23364839ab8f4fc497ebc8c5/sym_storage_offset_compositeimplicitautograd_dispatch.h new file mode 100644 index 0000000000000000000000000000000000000000..56bb86216b37b67225000ae99e652919f75b38bf --- /dev/null +++ b/shared/package-files/8a/8ad7ee3fa4edd3ddd9ae87e8ddba0c88b852dd6e23364839ab8f4fc497ebc8c5/sym_storage_offset_compositeimplicitautograd_dispatch.h @@ -0,0 +1,23 @@ +#pragma once +// @generated by torchgen/gen.py from DispatchKeyFunction.h + +// NB: The implementing C++ file is RegisterDispatchKey.cpp + +// The only #includes we need are for custom classes that have defaults in the C++ API +#include +#include +#include + +// Forward declarations of any types needed in the operator signatures. +// We can't directly include these classes because it will cause circular include dependencies. +// This file is included by TensorBody.h, which defines the Tensor class. +#include + +namespace at { + +namespace compositeimplicitautograd { + +TORCH_API c10::SymInt sym_storage_offset(const at::Tensor & self); + +} // namespace compositeimplicitautograd +} // namespace at diff --git a/shared/package-files/8a/8adacb0720f7f3681fa2f1588150e71dc305dd38b52bcfbbad014cda3495cc37/training_provenance.json b/shared/package-files/8a/8adacb0720f7f3681fa2f1588150e71dc305dd38b52bcfbbad014cda3495cc37/training_provenance.json new file mode 100644 index 0000000000000000000000000000000000000000..6e50d4397050b363119b4ef8abebbb9f470d1365 --- /dev/null +++ b/shared/package-files/8a/8adacb0720f7f3681fa2f1588150e71dc305dd38b52bcfbbad014cda3495cc37/training_provenance.json @@ -0,0 +1,28994 @@ +{ + "initialization": { + "distribution": "Normal(0,0.01)", + "seed": 20261021, + "pretrained_weights": false + }, + "training_data": "all 19880 supplied training shots per condition; all 130 conditions", + "train_manifest_sha256": "ce46c21e3595cfc5885bbe2b6481105317d2e6267498ec4572601469825914b8", + "validation_manifest_sha256": "482bb7268c6c827ebbf1f756ee6994750acfcd011adab08eaa2ada703e5faea1", + "calibration_exception": "Supplied even-fitted DEMs include validation syndromes but no logical labels or test data.", + "optimizer": "L-BFGS-B binary cross entropy plus 1e-5 L2, maximum 300 iterations", + "selection": "First trained candidate; validation reported without parameter fitting or hyperparameter selection", + "test_data_used": false, + "released_per_shot_predictions_used": false, + "history": [ + { + "group": "d3_bX_center_3_5", + "train_loss": 0.49244210477855016, + "iterations": 88, + "failure": 0.26941105769230766, + "plain_failure": 0.2847205528846154, + "correlated_failure": 0.2704326923076923, + "coset_failure": 0.2847205528846154, + "optimizer_success": true + }, + { + "group": "d3_bX_center_5_3", + "train_loss": 0.4947914557869911, + "iterations": 85, + "failure": 0.2706430288461538, + "plain_failure": 0.29103064903846154, + "correlated_failure": 0.27076322115384616, + "coset_failure": 0.29103064903846154, + "optimizer_success": true + }, + { + "group": "d3_bX_center_5_7", + "train_loss": 0.4786369068642458, + "iterations": 79, + "failure": 0.25964543269230766, + "plain_failure": 0.2741887019230769, + "correlated_failure": 0.2598106971153846, + "coset_failure": 0.2741887019230769, + "optimizer_success": true + }, + { + "group": "d3_bX_center_7_5", + "train_loss": 0.48299120621578956, + "iterations": 81, + "failure": 0.26062199519230766, + "plain_failure": 0.2762920673076923, + "correlated_failure": 0.2615234375, + "coset_failure": 0.2762920673076923, + "optimizer_success": true + }, + { + "group": "d3_bZ_center_3_5", + "train_loss": 0.4903180822446507, + "iterations": 62, + "failure": 0.2718299278846154, + "plain_failure": 0.2878605769230769, + "correlated_failure": 0.2736778846153846, + "coset_failure": 0.2878605769230769, + "optimizer_success": true + }, + { + "group": "d3_bZ_center_5_3", + "train_loss": 0.4886621962442568, + "iterations": 90, + "failure": 0.25896935096153845, + "plain_failure": 0.27548076923076925, + "correlated_failure": 0.2588942307692308, + "coset_failure": 0.27548076923076925, + "optimizer_success": true + }, + { + "group": "d3_bZ_center_5_7", + "train_loss": 0.4822654448634678, + "iterations": 71, + "failure": 0.2594200721153846, + "plain_failure": 0.2823016826923077, + "correlated_failure": 0.25961538461538464, + "coset_failure": 0.2823016826923077, + "optimizer_success": true + }, + { + "group": "d3_bZ_center_7_5", + "train_loss": 0.47379411844328495, + "iterations": 69, + "failure": 0.2542067307692308, + "plain_failure": 0.27393329326923077, + "correlated_failure": 0.2547776442307692, + "coset_failure": 0.27393329326923077, + "optimizer_success": true + }, + { + "group": "d5_bX_center_5_5", + "train_loss": 0.4801955727360068, + "iterations": 85, + "failure": 0.2616887019230769, + "plain_failure": 0.293359375, + "correlated_failure": 0.2609375, + "coset_failure": 0.293359375, + "optimizer_success": true + }, + { + "group": "d5_bZ_center_5_5", + "train_loss": 0.4661361209861219, + "iterations": 87, + "failure": 0.2465294471153846, + "plain_failure": 0.2799729567307692, + "correlated_failure": 0.24618389423076922, + "coset_failure": 0.2799729567307692, + "optimizer_success": true + } + ], + "elapsed_seconds": 30.247901678085327, + "experiment_2": { + "method": "Exact contraction of supplied DEM for d3; learned logistic mixture with matching features", + "initialization": { + "distribution": "Normal(0,0.01)", + "seed": 20261022, + "pretrained_weights": false + }, + "selection": "Minimum validation condition-mean failure per group among raw exact, calibrated exact, exact plus matching ensemble", + "history": [ + { + "group": "d3_bX_center_3_5", + "candidates": { + "exact_raw": { + "failure": 0.253125 + }, + "exact_calibrated": { + "failure": 0.25378605769230766, + "train_loss": 0.46127817271552574, + "iterations": 8 + }, + "exact_ensemble": { + "failure": 0.2522686298076923, + "train_loss": 0.459112999306209, + "iterations": 115 + } + }, + "selected": "exact_ensemble" + }, + { + "group": "d3_bX_center_5_3", + "candidates": { + "exact_raw": { + "failure": 0.2569711538461538 + }, + "exact_calibrated": { + "failure": 0.25790264423076925, + "train_loss": 0.46654812103904, + "iterations": 8 + }, + "exact_ensemble": { + "failure": 0.257421875, + "train_loss": 0.4647701206688181, + "iterations": 80 + } + }, + "selected": "exact_raw" + }, + { + "group": "d3_bX_center_5_7", + "candidates": { + "exact_raw": { + "failure": 0.23622295673076923 + }, + "exact_calibrated": { + "failure": 0.23608774038461539, + "train_loss": 0.43883548729746, + "iterations": 8 + }, + "exact_ensemble": { + "failure": 0.2357421875, + "train_loss": 0.43779428254411507, + "iterations": 82 + } + }, + "selected": "exact_ensemble" + }, + { + "group": "d3_bX_center_7_5", + "candidates": { + "exact_raw": { + "failure": 0.24507211538461537 + }, + "exact_calibrated": { + "failure": 0.24541766826923078, + "train_loss": 0.4551514021617466, + "iterations": 8 + }, + "exact_ensemble": { + "failure": 0.24453125, + "train_loss": 0.4531701181347552, + "iterations": 87 + } + }, + "selected": "exact_ensemble" + }, + { + "group": "d3_bZ_center_3_5", + "candidates": { + "exact_raw": { + "failure": 0.25402644230769234 + }, + "exact_calibrated": { + "failure": 0.2541316105769231, + "train_loss": 0.4629309494609537, + "iterations": 8 + }, + "exact_ensemble": { + "failure": 0.25310997596153845, + "train_loss": 0.45978815429050657, + "iterations": 96 + } + }, + "selected": "exact_ensemble" + }, + { + "group": "d3_bZ_center_5_3", + "candidates": { + "exact_raw": { + "failure": 0.24298377403846153 + }, + "exact_calibrated": { + "failure": 0.24182692307692308, + "train_loss": 0.4539302799880139, + "iterations": 8 + }, + "exact_ensemble": { + "failure": 0.2408203125, + "train_loss": 0.45299183982324187, + "iterations": 100 + } + }, + "selected": "exact_ensemble" + }, + { + "group": "d3_bZ_center_5_7", + "candidates": { + "exact_raw": { + "failure": 0.24226262019230768 + }, + "exact_calibrated": { + "failure": 0.24166165865384615, + "train_loss": 0.4465993958308988, + "iterations": 8 + }, + "exact_ensemble": { + "failure": 0.24064002403846155, + "train_loss": 0.4446921891727968, + "iterations": 121 + } + }, + "selected": "exact_ensemble" + }, + { + "group": "d3_bZ_center_7_5", + "candidates": { + "exact_raw": { + "failure": 0.23793569711538462 + }, + "exact_calibrated": { + "failure": 0.2377253605769231, + "train_loss": 0.43773570264641537, + "iterations": 8 + }, + "exact_ensemble": { + "failure": 0.2367638221153846, + "train_loss": 0.4363258121838859, + "iterations": 103 + } + }, + "selected": "exact_ensemble" + } + ], + "numerical_check": "r01 all syndromes agrees with exhaustive enumeration to 1.2e-7" + }, + "experiment_3": { + "method": "Exact complementary CSS edge posterior marginals reweight joint error probabilities before relevant CSS exact contraction; induced correlations are factorized", + "initialization": { + "distribution": "Normal(0,0.01)", + "seed": 20261024, + "pretrained_weights": false + }, + "training": "4096 training shots sampled without replacement from each of all 26 d5 conditions, RNG seed 20261023; original matching components retain their all-training-shot fit", + "selection": "Minimum full-validation condition-mean failure per group among previous matching, raw conditional (strength 1), calibrated conditional, and learned combination of strengths 0/.5/1 with matching", + "history": [ + { + "group": "d5_bX_center_5_5", + "candidates": { + "matching": { + "failure": 0.2616887019230769 + }, + "conditional_raw": { + "failure": 0.24053485576923078 + }, + "conditional_calibrated": { + "failure": 0.24064002403846155, + "train_loss": 0.4375296643032495, + "iterations": 8 + }, + "conditional_ensemble": { + "failure": 0.24024939903846154, + "train_loss": 0.43518462432711086, + "iterations": 107 + } + }, + "selected": "conditional_ensemble" + }, + { + "group": "d5_bZ_center_5_5", + "candidates": { + "matching": { + "failure": 0.2465294471153846 + }, + "conditional_raw": { + "failure": 0.229296875 + }, + "conditional_calibrated": { + "failure": 0.22944711538461537, + "train_loss": 0.42155058672043744, + "iterations": 9 + }, + "conditional_ensemble": { + "failure": 0.22627704326923076, + "train_loss": 0.4183033939719488, + "iterations": 150 + } + }, + "selected": "conditional_ensemble" + } + ], + "approximation": "Complementary-check conditioning induces error dependencies. This candidate uses their marginal probabilities independently; d5 contraction is therefore approximate." + }, + "contextual_d3_pilot": { + "training": { + "initialization": "Random variance-scaled normal first two layers, random Normal(0,.001) output; zero biases; seed 20261025", + "architecture": "Two 32-unit SiLU layers, output 2*tanh correction to original hyperedge logit; 40 local detection bits and 57 static error/geometry features", + "training": "Uniform condition sampling from all 104 d3 conditions; batch drawn from the supplied training split only", + "steps": 512, + "batch_size": 128, + "optimizer": "AdamW 1e-3, weight decay 1e-4, global gradient norm clip 1", + "loss": "Binary conditional logical likelihood computed by exact frontier elimination", + "validation_shots_per_condition": 512, + "test_data_used": false, + "log": [ + { + "step": 1, + "loss": 0.5264908075332642, + "error": 0.2578125, + "gradient_norm": 0.06699763983488083, + "elapsed": 432.866411447525 + }, + { + "step": 16, + "loss": 0.3703196942806244, + "error": 0.1484375, + "gradient_norm": 0.030896008014678955, + "elapsed": 437.98383259773254 + }, + { + "step": 32, + "loss": 0.5410848259925842, + "error": 0.3125, + "gradient_norm": 0.023287978023290634, + "elapsed": 443.36136960983276 + }, + { + "step": 48, + "loss": 0.6548658609390259, + "error": 0.3984375, + "gradient_norm": 0.08600008487701416, + "elapsed": 448.5753285884857 + }, + { + "step": 64, + "loss": 0.3396199345588684, + "error": 0.1875, + "gradient_norm": 0.09408964961767197, + "elapsed": 453.55865502357483 + }, + { + "step": 80, + "loss": 0.22403547167778015, + "error": 0.09375, + "gradient_norm": 0.11353142559528351, + "elapsed": 458.8852906227112 + }, + { + "step": 96, + "loss": 0.5754531621932983, + "error": 0.34375, + "gradient_norm": 0.10487920045852661, + "elapsed": 466.05401706695557 + }, + { + "step": 112, + "loss": 0.6411566734313965, + "error": 0.4609375, + "gradient_norm": 0.0897318571805954, + "elapsed": 472.25429010391235 + }, + { + "step": 128, + "loss": 0.4312451481819153, + "error": 0.1875, + "gradient_norm": 0.024307778105139732, + "elapsed": 477.15532541275024 + }, + { + "step": 144, + "loss": 0.18217915296554565, + "error": 0.0625, + "gradient_norm": 0.02471880242228508, + "elapsed": 481.5596089363098 + }, + { + "step": 160, + "loss": 0.3044101595878601, + "error": 0.140625, + "gradient_norm": 0.11279744654893875, + "elapsed": 485.47020196914673 + }, + { + "step": 176, + "loss": 0.6485109329223633, + "error": 0.421875, + "gradient_norm": 0.09296684712171555, + "elapsed": 489.5691695213318 + }, + { + "step": 192, + "loss": 0.2566836178302765, + "error": 0.09375, + "gradient_norm": 0.03372751921415329, + "elapsed": 493.5000331401825 + }, + { + "step": 208, + "loss": 0.5453524589538574, + "error": 0.296875, + "gradient_norm": 0.09404441714286804, + "elapsed": 497.62110686302185 + }, + { + "step": 224, + "loss": 0.19316628575325012, + "error": 0.0859375, + "gradient_norm": 0.03877737745642662, + "elapsed": 501.7119605541229 + }, + { + "step": 240, + "loss": 0.5537517070770264, + "error": 0.328125, + "gradient_norm": 0.030214278027415276, + "elapsed": 505.71154594421387 + }, + { + "step": 256, + "loss": 0.5224764347076416, + "error": 0.2734375, + "gradient_norm": 0.13780595362186432, + "elapsed": 509.65054631233215 + }, + { + "step": 272, + "loss": 0.5350009202957153, + "error": 0.3046875, + "gradient_norm": 0.08942794054746628, + "elapsed": 553.2619364261627 + }, + { + "step": 288, + "loss": 0.4561898112297058, + "error": 0.21875, + "gradient_norm": 0.02774384245276451, + "elapsed": 557.1897430419922 + }, + { + "step": 304, + "loss": 0.6102809309959412, + "error": 0.390625, + "gradient_norm": 0.04374801740050316, + "elapsed": 561.1394822597504 + }, + { + "step": 320, + "loss": 0.37536823749542236, + "error": 0.171875, + "gradient_norm": 0.10325513035058975, + "elapsed": 565.0790395736694 + }, + { + "step": 336, + "loss": 0.419940710067749, + "error": 0.2265625, + "gradient_norm": 0.04723379388451576, + "elapsed": 569.050211429596 + }, + { + "step": 352, + "loss": 0.6458156108856201, + "error": 0.4609375, + "gradient_norm": 0.04816316068172455, + "elapsed": 573.0114912986755 + }, + { + "step": 368, + "loss": 0.5628451108932495, + "error": 0.328125, + "gradient_norm": 0.09256711602210999, + "elapsed": 576.9429559707642 + }, + { + "step": 384, + "loss": 0.5773618221282959, + "error": 0.359375, + "gradient_norm": 0.16693103313446045, + "elapsed": 580.8791544437408 + }, + { + "step": 400, + "loss": 0.12261693179607391, + "error": 0.046875, + "gradient_norm": 0.06734084337949753, + "elapsed": 584.8116250038147 + }, + { + "step": 416, + "loss": 0.33368560671806335, + "error": 0.125, + "gradient_norm": 0.04156317561864853, + "elapsed": 588.7308163642883 + }, + { + "step": 432, + "loss": 0.2161063849925995, + "error": 0.109375, + "gradient_norm": 0.06895668804645538, + "elapsed": 592.6584475040436 + }, + { + "step": 448, + "loss": 0.6331151723861694, + "error": 0.3828125, + "gradient_norm": 0.12380247563123703, + "elapsed": 596.5997920036316 + }, + { + "step": 464, + "loss": 0.28776052594184875, + "error": 0.1484375, + "gradient_norm": 0.03920985758304596, + "elapsed": 600.5359675884247 + }, + { + "step": 480, + "loss": 0.639541745185852, + "error": 0.421875, + "gradient_norm": 0.029632505029439926, + "elapsed": 604.4547488689423 + }, + { + "step": 496, + "loss": 0.5919073820114136, + "error": 0.359375, + "gradient_norm": 0.11676646769046783, + "elapsed": 608.3825929164886 + }, + { + "step": 512, + "loss": 0.5479233264923096, + "error": 0.265625, + "gradient_norm": 0.03692208230495453, + "elapsed": 612.3190803527832 + } + ] + }, + "selection": "Per-group minimum failure among previous decoder and pilot steps 256 and 512, using all 532480 d3 validation shots", + "history": [ + { + "group": "d3_bX_center_3_5", + "candidates": { + "previous": 0.25226862980769227, + "256": 0.2515625, + "512": 0.2510216346153846 + }, + "selected": "512" + }, + { + "group": "d3_bX_center_5_3", + "candidates": { + "previous": 0.2569711538461539, + "256": 0.2557542067307692, + "512": 0.256640625 + }, + "selected": "256" + }, + { + "group": "d3_bX_center_5_7", + "candidates": { + "previous": 0.23574218750000003, + "256": 0.2356820913461538, + "512": 0.23511117788461539 + }, + "selected": "512" + }, + { + "group": "d3_bX_center_7_5", + "candidates": { + "previous": 0.24453125000000003, + "256": 0.24275841346153845, + "512": 0.24224759615384617 + }, + "selected": "512" + }, + { + "group": "d3_bZ_center_3_5", + "candidates": { + "previous": 0.25310997596153845, + "256": 0.2524188701923077, + "512": 0.2513822115384615 + }, + "selected": "512" + }, + { + "group": "d3_bZ_center_5_3", + "candidates": { + "previous": 0.24082031250000002, + "256": 0.2387469951923077, + "512": 0.23933293269230768 + }, + "selected": "256" + }, + { + "group": "d3_bZ_center_5_7", + "candidates": { + "previous": 0.24064002403846155, + "256": 0.24053485576923073, + "512": 0.24002403846153844 + }, + "selected": "512" + }, + { + "group": "d3_bZ_center_7_5", + "candidates": { + "previous": 0.2367638221153846, + "256": 0.23635817307692306, + "512": 0.23584735576923077 + }, + "selected": "512" + } + ], + "initial_validation_subset": "First 512 validation rows/condition; then both trained checkpoints evaluated on full validation", + "features": "40 detection bits within five frames and 57 static error/geometry features; detector indices come from the ideal geometry/DEM; sample IDs are not features", + "derivative_check": "Relative error 1.16e-7 versus automatic differentiation on a small d3 example" + }, + "previous_package_validation": { + "performance": 0.7671029897836539, + "failure_by_distance": { + "d3": 0.2398850661057692, + "d5": 0.2259089543269231 + }, + "scorer": "Supplied qecbench.scoring on all 130 validation conditions and 665600 shots", + "contract_checks": [ + { + "condition": "surface_code_bX_d3_r01_center_3_5", + "shots": 1, + "maximum_probability_difference": 0.0 + }, + { + "condition": "surface_code_bX_d3_r01_center_5_3", + "shots": 7, + "maximum_probability_difference": 0.0 + }, + { + "condition": "surface_code_bX_d3_r01_center_5_7", + "shots": 17, + "maximum_probability_difference": 0.0 + }, + { + "condition": "surface_code_bX_d3_r01_center_7_5", + "shots": 37, + "maximum_probability_difference": 0.0 + }, + { + "condition": "surface_code_bZ_d3_r01_center_3_5", + "shots": 257, + "maximum_probability_difference": 0.0 + }, + { + "condition": "surface_code_bZ_d3_r01_center_5_3", + "shots": 1025, + "maximum_probability_difference": 0.0 + }, + { + "condition": "surface_code_bZ_d3_r01_center_5_7", + "shots": 3001, + "maximum_probability_difference": 0.0 + }, + { + "condition": "surface_code_bZ_d3_r01_center_7_5", + "shots": 5120, + "maximum_probability_difference": 0.0 + } + ], + "prediction_generation": "All40960 validation shots in the eight modified d3 one-round conditions replayed from the assembled package; other122 validated condition predictions retained. Trusted scorer covers all130 conditions.", + "short_validation_runtime_seconds": 3.701712131500244, + "unchanged_runtime_evidence": { + "performance": 0.7670964167668269, + "failure_by_distance": { + "d3": 0.23989821213942308, + "d5": 0.2259089543269231 + }, + "scorer": "Supplied qecbench.scoring on all 130 validation conditions and 665600 shots", + "contract_checks": [ + { + "condition": "surface_code_bX_d3_r01_center_3_5", + "shots": 1, + "maximum_probability_difference": 0.0 + }, + { + "condition": "surface_code_bX_d3_r25_center_5_3", + "shots": 37, + "maximum_probability_difference": 0.0 + }, + { + "condition": "surface_code_bZ_d3_r13_center_5_7", + "shots": 1025, + "maximum_probability_difference": 0.0 + }, + { + "condition": "surface_code_bX_d3_r17_center_3_5", + "shots": 19, + "maximum_probability_difference": 0.0 + }, + { + "condition": "surface_code_bX_d3_r17_center_5_3", + "shots": 19, + "maximum_probability_difference": 0.0 + }, + { + "condition": "surface_code_bX_d3_r17_center_5_7", + "shots": 19, + "maximum_probability_difference": 0.0 + }, + { + "condition": "surface_code_bX_d3_r17_center_7_5", + "shots": 19, + "maximum_probability_difference": 0.0 + }, + { + "condition": "surface_code_bZ_d3_r17_center_3_5", + "shots": 19, + "maximum_probability_difference": 0.0 + }, + { + "condition": "surface_code_bZ_d3_r17_center_5_3", + "shots": 19, + "maximum_probability_difference": 0.0 + }, + { + "condition": "surface_code_bZ_d3_r17_center_5_7", + "shots": 19, + "maximum_probability_difference": 0.0 + }, + { + "condition": "surface_code_bZ_d3_r17_center_7_5", + "shots": 19, + "maximum_probability_difference": 0.0 + } + ], + "prediction_generation": "All104 d3 conditions replayed from the assembled package; unchanged d5 predictions retained. Trusted scoring covers all130 conditions.", + "d3_validation_runtime_seconds": 69.96674966812134, + "unchanged_d5_runtime_evidence": { + "performance": 0.7670691856971154, + "failure_by_distance": { + "d3": 0.23995267427884615, + "d5": 0.2259089543269231 + }, + "scorer": "Supplied qecbench.scoring on all 130 validation conditions and 665600 shots", + "contract_checks": [ + { + "condition": "surface_code_bX_d3_r01_center_3_5", + "shots": 1, + "maximum_probability_difference": 0.0 + }, + { + "condition": "surface_code_bX_d3_r25_center_5_3", + "shots": 37, + "maximum_probability_difference": 0.0 + }, + { + "condition": "surface_code_bZ_d3_r13_center_5_7", + "shots": 1025, + "maximum_probability_difference": 0.0 + }, + { + "condition": "surface_code_bX_d5_r01_center_5_5", + "shots": 7, + "maximum_probability_difference": 0.0 + }, + { + "condition": "surface_code_bZ_d5_r09_center_5_5", + "shots": 257, + "maximum_probability_difference": 0.0 + }, + { + "condition": "surface_code_bX_d5_r25_center_5_5", + "shots": 17, + "maximum_probability_difference": 0.0 + } + ], + "prediction_generation": "All26 d5 conditions replayed from the assembled package; unchanged d3 predictions retained. Full trusted scoring and relocated arbitrary-ID/subset checks.", + "runtime_evidence": "Full133120-shot d5 replay took 351.86s on one H100; d3 paths unchanged from the recorded incumbent.", + "d5_validation_runtime_seconds": 351.8580107688904, + "runtime_selection_comparison": { + "scope": "Selected X raw neural ensemble: cached evaluator averages compared with actual packaged GPU replay; validation only", + "maximum_probability_difference": 3.4809112548828125e-05, + "changed_decisions": 1, + "net_runtime_corrections": 1, + "conditions": [ + { + "condition": "surface_code_bX_d5_r01_center_5_5", + "maximum_probability_difference": 0.0, + "changed_decisions": 0, + "assembled_errors": 40, + "runtime_errors": 40 + }, + { + "condition": "surface_code_bX_d5_r03_center_5_5", + "maximum_probability_difference": 3.7550926208496094e-06, + "changed_decisions": 0, + "assembled_errors": 270, + "runtime_errors": 270 + }, + { + "condition": "surface_code_bX_d5_r05_center_5_5", + "maximum_probability_difference": 8.255243301391602e-06, + "changed_decisions": 0, + "assembled_errors": 543, + "runtime_errors": 543 + }, + { + "condition": "surface_code_bX_d5_r07_center_5_5", + "maximum_probability_difference": 2.014636993408203e-05, + "changed_decisions": 0, + "assembled_errors": 799, + "runtime_errors": 799 + }, + { + "condition": "surface_code_bX_d5_r09_center_5_5", + "maximum_probability_difference": 3.4809112548828125e-05, + "changed_decisions": 0, + "assembled_errors": 964, + "runtime_errors": 964 + }, + { + "condition": "surface_code_bX_d5_r11_center_5_5", + "maximum_probability_difference": 1.6063451766967773e-05, + "changed_decisions": 0, + "assembled_errors": 1150, + "runtime_errors": 1150 + }, + { + "condition": "surface_code_bX_d5_r13_center_5_5", + "maximum_probability_difference": 3.4570693969726562e-06, + "changed_decisions": 0, + "assembled_errors": 1241, + "runtime_errors": 1241 + }, + { + "condition": "surface_code_bX_d5_r15_center_5_5", + "maximum_probability_difference": 1.1980533599853516e-05, + "changed_decisions": 0, + "assembled_errors": 1433, + "runtime_errors": 1433 + }, + { + "condition": "surface_code_bX_d5_r17_center_5_5", + "maximum_probability_difference": 3.0875205993652344e-05, + "changed_decisions": 0, + "assembled_errors": 1604, + "runtime_errors": 1604 + }, + { + "condition": "surface_code_bX_d5_r19_center_5_5", + "maximum_probability_difference": 9.417533874511719e-06, + "changed_decisions": 0, + "assembled_errors": 1733, + "runtime_errors": 1733 + }, + { + "condition": "surface_code_bX_d5_r21_center_5_5", + "maximum_probability_difference": 1.6182661056518555e-05, + "changed_decisions": 1, + "assembled_errors": 1865, + "runtime_errors": 1864 + }, + { + "condition": "surface_code_bX_d5_r23_center_5_5", + "maximum_probability_difference": 8.821487426757812e-06, + "changed_decisions": 0, + "assembled_errors": 1882, + "runtime_errors": 1882 + }, + { + "condition": "surface_code_bX_d5_r25_center_5_5", + "maximum_probability_difference": 5.841255187988281e-06, + "changed_decisions": 0, + "assembled_errors": 1938, + "runtime_errors": 1938 + } + ], + "test_data_used": false + }, + "publication_recovery": "First finalization stopped because the timing lookup omitted inherited runtime_projection records. Existing measured d3 timing was recovered from the preceding package; completed GPU replay/scoring/relocation checks were retained. No model or inference code changed.", + "contract_execution": { + "requested_verifier_uid": 10001, + "effective_uid": 1000, + "effective_gid": 1000, + "supplementary_groups": [], + "identity_status": "Development process is already unprivileged and cannot change UID; verifier UID10001 was not executed", + "model_and_input_copy": "Owned by development UID 1000,directories0555,files0444,relocated under a fresh accessible temporary parent", + "output_directory": "Owned by execution UID 1000,mode0700", + "PYTHONPATH": "", + "backend": "Runtime default; full selected subset cases", + "scope": "Local contract check; not a Docker/network/mount-isolation test" + } + }, + "runtime_evidence": "Full532480-shot d3 replay took 69.97s on one H100. D5 retains the recorded verified implementation.", + "contract_execution": { + "requested_verifier_uid": 10001, + "effective_uid": 1000, + "effective_gid": 1000, + "supplementary_groups": [], + "identity_status": "Development process is already unprivileged and cannot change UID; verifier UID10001 was not executed", + "model_and_input_copy": "Owned by development UID 1000,directories0555,files0444,relocated under a fresh accessible temporary parent", + "output_directory": "Owned by execution UID 1000,mode0700", + "PYTHONPATH": "", + "backend": "Runtime default; full selected subset cases", + "scope": "Local contract check; not a Docker/network/mount-isolation test" + } + }, + "runtime_evidence": "All modified short conditions replayed in 3.702s on CPU. The direct categorical model removes their neural contractions; other paths and runtime bounds are unchanged.", + "contract_execution": { + "requested_verifier_uid": 10001, + "effective_uid": 1000, + "effective_gid": 1000, + "supplementary_groups": [], + "identity_status": "Development process is already unprivileged and cannot change UID; verifier UID10001 was not executed", + "model_and_input_copy": "Owned by development UID 1000,directories0555,files0444,relocated under a fresh accessible temporary parent", + "output_directory": "Owned by execution UID 1000,mode0700", + "PYTHONPATH": "", + "backend": "CPU explicitly selected; eight short categorical conditions", + "scope": "Local contract check; not a Docker/network/mount-isolation test" + } + }, + "previous_model_manifest_sha256": "d8bed57d4619a87ad756d2347796e396b3169d4146f69ab426f99f9934ef1a8f", + "contextual_updates": [ + { + "name": "large512", + "training": { + "initialization": "This session's pilot checkpoint 512; original random initialization seed 20261025", + "run_config": { + "steps": 2048, + "batch": 2048, + "output": "/run-state/workspace/research/learned_exact/continuation1", + "validation_shots": 1024, + "init_weights": "/workspace/research/learned_exact/pilot/weights-512.npz", + "learning_rate": 0.001, + "eval_every": 512, + "seed": 20261028, + "validation_batch": 1024, + "uniform_validation": true, + "original_random_seed": 20261025, + "starting_checkpoint_sha256": "b14f7bf663b0484b9a79a759455ad09aca456f83a7cc29ed2e9e1d210683c180", + "train_manifest_sha256": "ce46c21e3595cfc5885bbe2b6481105317d2e6267498ec4572601469825914b8", + "validation_manifest_sha256": "482bb7268c6c827ebbf1f756ee6994750acfcd011adab08eaa2ada703e5faea1" + }, + "completed_checkpoint_steps": 512, + "new_sampled_training_shots": 1048576, + "optimizer": "AdamW 1e-3, weight decay 1e-4, global norm clip 1; optimizer reset at phase start", + "data": "Uniform sampling over all 104 d3 training conditions; training rows only", + "selection": "Checkpoint 512 evaluated on all 532480 d3 validation shots", + "full_validation_failure": 0.2428973858173077, + "termination": "Saved checkpoint 512, then stopped to restart with corrected validation NLL reporting. Any later in-flight updates were discarded.", + "reporting_correction": "Recomputed with float labels from the full checkpoint predictions; original in-flight diagnostic negated uint8 labels. Training loss and failure metrics were unaffected.", + "test_data_used": false + }, + "selection": "Minimum full validation mean failure per group between the incumbent and this trained checkpoint", + "history": [ + { + "group": "d3_bX_center_3_5", + "previous_failure": 0.2510216346153846, + "candidate_failure": 0.2491436298076923, + "selected_new": true + }, + { + "group": "d3_bX_center_5_3", + "previous_failure": 0.2557542067307692, + "candidate_failure": 0.256640625, + "selected_new": false + }, + { + "group": "d3_bX_center_5_7", + "previous_failure": 0.23511117788461539, + "candidate_failure": 0.23515625, + "selected_new": false + }, + { + "group": "d3_bX_center_7_5", + "previous_failure": 0.24224759615384617, + "candidate_failure": 0.2403996394230769, + "selected_new": true + }, + { + "group": "d3_bZ_center_3_5", + "previous_failure": 0.2513822115384615, + "candidate_failure": 0.24893329326923078, + "selected_new": true + }, + { + "group": "d3_bZ_center_5_3", + "previous_failure": 0.2387469951923077, + "candidate_failure": 0.23925781249999997, + "selected_new": false + }, + { + "group": "d3_bZ_center_5_7", + "previous_failure": 0.24002403846153844, + "candidate_failure": 0.23885216346153845, + "selected_new": true + }, + { + "group": "d3_bZ_center_7_5", + "previous_failure": 0.23584735576923077, + "candidate_failure": 0.23479567307692306, + "selected_new": true + }, + { + "group": "d5_bX_center_5_5", + "previous_failure": 0.24024939903846157, + "candidate_failure": 0.24024939903846157, + "selected_new": false + }, + { + "group": "d5_bZ_center_5_5", + "previous_failure": 0.22627704326923076, + "candidate_failure": 0.22627704326923076, + "selected_new": false + } + ], + "source_checkpoint_sha256": "7a7579b1bded95bcea7b1d26b2cf26de333c1a0f417fac6a0143eeb3a0c93aa2" + }, + { + "name": "continuation2", + "training_run": { + "initialization": "Continue from this session's trained checkpoint", + "original_initialization": "Random variance-scaled normal first two layers, random Normal(0,.001) output; zero biases; seed 20261025", + "architecture": "Two 32-unit SiLU layers, output 2*tanh correction to original hyperedge logit; 40 local detection bits and 57 static error/geometry features", + "training": "Uniform condition sampling from all 104 d3 conditions; batch drawn from the supplied training split only", + "steps": 1536, + "batch_size": 2048, + "optimizer": "AdamW, weight decay 1e-4, global gradient norm clip 1", + "learning_rate": 0.001, + "sampling_seed": 20261028, + "optimizer_restored": true, + "rng_restored": true, + "session_trained_starting_checkpoint": "/workspace/research/learned_exact/continuation1/weights-512.npz", + "starting_checkpoint_sha256": "7a7579b1bded95bcea7b1d26b2cf26de333c1a0f417fac6a0143eeb3a0c93aa2", + "loss": "Binary conditional logical likelihood computed by exact frontier elimination", + "validation_shots_per_condition": 1024, + "uniform_validation": true, + "uniform_validation_seed": 20261028, + "test_data_used": false, + "log": [ + { + "step": 1, + "loss": 0.05675870552659035, + "error": 0.0166015625, + "gradient_norm": 0.007466103881597519, + "elapsed": 30.636001586914062 + }, + { + "step": 16, + "loss": 0.44421544671058655, + "error": 0.22412109375, + "gradient_norm": 0.029868461191654205, + "elapsed": 35.424378871917725 + }, + { + "step": 32, + "loss": 0.46525052189826965, + "error": 0.23681640625, + "gradient_norm": 0.022205814719200134, + "elapsed": 40.526121854782104 + }, + { + "step": 48, + "loss": 0.6177924871444702, + "error": 0.3544921875, + "gradient_norm": 0.022866439074277878, + "elapsed": 45.67929220199585 + }, + { + "step": 64, + "loss": 0.5046484470367432, + "error": 0.2666015625, + "gradient_norm": 0.0222865492105484, + "elapsed": 50.80926203727722 + }, + { + "step": 80, + "loss": 0.638379693031311, + "error": 0.41064453125, + "gradient_norm": 0.012645655311644077, + "elapsed": 55.93321657180786 + }, + { + "step": 96, + "loss": 0.18619170784950256, + "error": 0.0732421875, + "gradient_norm": 0.012208878062665462, + "elapsed": 61.002137899398804 + }, + { + "step": 112, + "loss": 0.4269826412200928, + "error": 0.2109375, + "gradient_norm": 0.021279584616422653, + "elapsed": 66.13066720962524 + }, + { + "step": 128, + "loss": 0.47232550382614136, + "error": 0.25244140625, + "gradient_norm": 0.03405005484819412, + "elapsed": 85.5297167301178 + }, + { + "step": 144, + "loss": 0.2528073787689209, + "error": 0.11279296875, + "gradient_norm": 0.013145577162504196, + "elapsed": 90.68786001205444 + }, + { + "step": 160, + "loss": 0.5877531170845032, + "error": 0.35595703125, + "gradient_norm": 0.019021881744265556, + "elapsed": 95.76396131515503 + }, + { + "step": 176, + "loss": 0.45082807540893555, + "error": 0.2314453125, + "gradient_norm": 0.023904386907815933, + "elapsed": 100.9375216960907 + }, + { + "step": 192, + "loss": 0.4175146222114563, + "error": 0.19921875, + "gradient_norm": 0.021031895652413368, + "elapsed": 105.98947334289551 + }, + { + "step": 208, + "loss": 0.5424385070800781, + "error": 0.30078125, + "gradient_norm": 0.01396750845015049, + "elapsed": 111.17936706542969 + }, + { + "step": 224, + "loss": 0.29304587841033936, + "error": 0.1259765625, + "gradient_norm": 0.014725692570209503, + "elapsed": 116.36282753944397 + }, + { + "step": 240, + "loss": 0.056691475212574005, + "error": 0.015625, + "gradient_norm": 0.002859376836568117, + "elapsed": 121.54807162284851 + }, + { + "step": 256, + "loss": 0.17413178086280823, + "error": 0.06689453125, + "gradient_norm": 0.02666049636900425, + "elapsed": 126.718514919281 + }, + { + "step": 272, + "loss": 0.6115483641624451, + "error": 0.3466796875, + "gradient_norm": 0.03685307130217552, + "elapsed": 131.77990794181824 + }, + { + "step": 288, + "loss": 0.5973552465438843, + "error": 0.3349609375, + "gradient_norm": 0.02574622817337513, + "elapsed": 138.0202260017395 + }, + { + "step": 304, + "loss": 0.18595321476459503, + "error": 0.0732421875, + "gradient_norm": 0.012303492985665798, + "elapsed": 144.16412949562073 + }, + { + "step": 320, + "loss": 0.5418114066123962, + "error": 0.30126953125, + "gradient_norm": 0.018640751019120216, + "elapsed": 150.969500541687 + }, + { + "step": 336, + "loss": 0.5024716258049011, + "error": 0.26708984375, + "gradient_norm": 0.011490182019770145, + "elapsed": 158.32421374320984 + }, + { + "step": 352, + "loss": 0.5002061128616333, + "error": 0.255859375, + "gradient_norm": 0.03905056416988373, + "elapsed": 165.20316648483276 + }, + { + "step": 368, + "loss": 0.5892350077629089, + "error": 0.33837890625, + "gradient_norm": 0.046964384615421295, + "elapsed": 171.98852562904358 + }, + { + "step": 384, + "loss": 0.526427149772644, + "error": 0.2900390625, + "gradient_norm": 0.021478066220879555, + "elapsed": 178.02048754692078 + }, + { + "step": 400, + "loss": 0.5563177466392517, + "error": 0.306640625, + "gradient_norm": 0.024061864241957664, + "elapsed": 184.09671759605408 + }, + { + "step": 416, + "loss": 0.060019996017217636, + "error": 0.0205078125, + "gradient_norm": 0.006343841087073088, + "elapsed": 190.31260657310486 + }, + { + "step": 432, + "loss": 0.5484405755996704, + "error": 0.3115234375, + "gradient_norm": 0.020139696076512337, + "elapsed": 195.41702342033386 + }, + { + "step": 448, + "loss": 0.6163954138755798, + "error": 0.37646484375, + "gradient_norm": 0.011381164193153381, + "elapsed": 200.53582382202148 + }, + { + "step": 464, + "loss": 0.47678378224372864, + "error": 0.25927734375, + "gradient_norm": 0.03807748854160309, + "elapsed": 205.69636607170105 + }, + { + "step": 480, + "loss": 0.5176759362220764, + "error": 0.2705078125, + "gradient_norm": 0.017451826483011246, + "elapsed": 210.7581787109375 + }, + { + "step": 496, + "loss": 0.3626214563846588, + "error": 0.16455078125, + "gradient_norm": 0.019456032663583755, + "elapsed": 215.82069444656372 + }, + { + "step": 512, + "loss": 0.6202600598335266, + "error": 0.35302734375, + "gradient_norm": 0.013814727775752544, + "elapsed": 220.93863129615784 + }, + { + "step": 528, + "loss": 0.5610182285308838, + "error": 0.29833984375, + "gradient_norm": 0.03955027833580971, + "elapsed": 238.0407817363739 + }, + { + "step": 544, + "loss": 0.332148015499115, + "error": 0.15380859375, + "gradient_norm": 0.013710199855268002, + "elapsed": 243.12822461128235 + }, + { + "step": 560, + "loss": 0.4678276777267456, + "error": 0.23974609375, + "gradient_norm": 0.016155347228050232, + "elapsed": 248.3209776878357 + }, + { + "step": 576, + "loss": 0.6166238784790039, + "error": 0.3740234375, + "gradient_norm": 0.017382115125656128, + "elapsed": 253.49981307983398 + }, + { + "step": 592, + "loss": 0.6137416362762451, + "error": 0.373046875, + "gradient_norm": 0.007819767110049725, + "elapsed": 258.68269968032837 + }, + { + "step": 608, + "loss": 0.2780998647212982, + "error": 0.126953125, + "gradient_norm": 0.03436559438705444, + "elapsed": 263.82615661621094 + }, + { + "step": 624, + "loss": 0.6059691309928894, + "error": 0.3623046875, + "gradient_norm": 0.010842837393283844, + "elapsed": 268.9659583568573 + }, + { + "step": 640, + "loss": 0.058036163449287415, + "error": 0.02001953125, + "gradient_norm": 0.004723707213997841, + "elapsed": 274.09823632240295 + }, + { + "step": 656, + "loss": 0.6149133443832397, + "error": 0.37255859375, + "gradient_norm": 0.008533184416592121, + "elapsed": 279.26951336860657 + }, + { + "step": 672, + "loss": 0.3015868663787842, + "error": 0.1318359375, + "gradient_norm": 0.012536457739770412, + "elapsed": 284.41987442970276 + }, + { + "step": 688, + "loss": 0.16231489181518555, + "error": 0.06494140625, + "gradient_norm": 0.0067833056673407555, + "elapsed": 289.56297039985657 + }, + { + "step": 704, + "loss": 0.04929213970899582, + "error": 0.015625, + "gradient_norm": 0.005747381132096052, + "elapsed": 294.6839826107025 + }, + { + "step": 720, + "loss": 0.5615487098693848, + "error": 0.31689453125, + "gradient_norm": 0.02115021087229252, + "elapsed": 299.8546531200409 + }, + { + "step": 736, + "loss": 0.6306260228157043, + "error": 0.3759765625, + "gradient_norm": 0.02629203163087368, + "elapsed": 305.0923271179199 + }, + { + "step": 752, + "loss": 0.03828414902091026, + "error": 0.0126953125, + "gradient_norm": 0.008905005641281605, + "elapsed": 310.5417342185974 + }, + { + "step": 768, + "loss": 0.48764050006866455, + "error": 0.2626953125, + "gradient_norm": 0.024667929857969284, + "elapsed": 316.01200103759766 + }, + { + "step": 784, + "loss": 0.5836235284805298, + "error": 0.3505859375, + "gradient_norm": 0.023319393396377563, + "elapsed": 321.33294105529785 + }, + { + "step": 800, + "loss": 0.5693534016609192, + "error": 0.31396484375, + "gradient_norm": 0.048126742243766785, + "elapsed": 326.52227997779846 + }, + { + "step": 816, + "loss": 0.5710973739624023, + "error": 0.33349609375, + "gradient_norm": 0.022565416991710663, + "elapsed": 331.62225437164307 + }, + { + "step": 832, + "loss": 0.2818760275840759, + "error": 0.11865234375, + "gradient_norm": 0.025756066665053368, + "elapsed": 336.7874104976654 + }, + { + "step": 848, + "loss": 0.6127357482910156, + "error": 0.3583984375, + "gradient_norm": 0.020077377557754517, + "elapsed": 341.92783546447754 + }, + { + "step": 864, + "loss": 0.5109728574752808, + "error": 0.26171875, + "gradient_norm": 0.022484255954623222, + "elapsed": 347.0137662887573 + }, + { + "step": 880, + "loss": 0.16892661154270172, + "error": 0.06103515625, + "gradient_norm": 0.01363676693290472, + "elapsed": 352.0768094062805 + }, + { + "step": 896, + "loss": 0.593660831451416, + "error": 0.34423828125, + "gradient_norm": 0.01379447989165783, + "elapsed": 357.1796865463257 + }, + { + "step": 912, + "loss": 0.635499119758606, + "error": 0.39306640625, + "gradient_norm": 0.012278803624212742, + "elapsed": 362.29547691345215 + }, + { + "step": 928, + "loss": 0.3966389000415802, + "error": 0.19482421875, + "gradient_norm": 0.019856182858347893, + "elapsed": 367.3532474040985 + }, + { + "step": 944, + "loss": 0.05235423520207405, + "error": 0.01611328125, + "gradient_norm": 0.005415339022874832, + "elapsed": 372.4516806602478 + }, + { + "step": 960, + "loss": 0.5913074612617493, + "error": 0.3330078125, + "gradient_norm": 0.021171825006604195, + "elapsed": 377.5324194431305 + }, + { + "step": 976, + "loss": 0.6479356288909912, + "error": 0.41650390625, + "gradient_norm": 0.02845155820250511, + "elapsed": 382.5862877368927 + }, + { + "step": 992, + "loss": 0.5470497608184814, + "error": 0.30908203125, + "gradient_norm": 0.02726798877120018, + "elapsed": 387.6820628643036 + }, + { + "step": 1008, + "loss": 0.5729615688323975, + "error": 0.32861328125, + "gradient_norm": 0.011548872105777264, + "elapsed": 392.7741017341614 + }, + { + "step": 1024, + "loss": 0.0691118910908699, + "error": 0.0205078125, + "gradient_norm": 0.009204022586345673, + "elapsed": 397.8671176433563 + }, + { + "step": 1040, + "loss": 0.5171630382537842, + "error": 0.2685546875, + "gradient_norm": 0.015718232840299606, + "elapsed": 415.6616735458374 + }, + { + "step": 1056, + "loss": 0.6505192518234253, + "error": 0.39990234375, + "gradient_norm": 0.023937702178955078, + "elapsed": 420.7646098136902 + }, + { + "step": 1072, + "loss": 0.5660485625267029, + "error": 0.32666015625, + "gradient_norm": 0.026201115921139717, + "elapsed": 426.09313225746155 + }, + { + "step": 1088, + "loss": 0.4945259094238281, + "error": 0.25048828125, + "gradient_norm": 0.014495921321213245, + "elapsed": 431.2104251384735 + }, + { + "step": 1104, + "loss": 0.5695121884346008, + "error": 0.33837890625, + "gradient_norm": 0.029924258589744568, + "elapsed": 436.3099756240845 + }, + { + "step": 1120, + "loss": 0.3591366112232208, + "error": 0.16015625, + "gradient_norm": 0.017803259193897247, + "elapsed": 441.4024531841278 + }, + { + "step": 1136, + "loss": 0.3302019536495209, + "error": 0.1572265625, + "gradient_norm": 0.01632549799978733, + "elapsed": 446.55403757095337 + }, + { + "step": 1152, + "loss": 0.6093119382858276, + "error": 0.35107421875, + "gradient_norm": 0.014888457022607327, + "elapsed": 451.6241090297699 + }, + { + "step": 1168, + "loss": 0.3500004708766937, + "error": 0.1650390625, + "gradient_norm": 0.011492405086755753, + "elapsed": 456.7753965854645 + }, + { + "step": 1184, + "loss": 0.3738429844379425, + "error": 0.1845703125, + "gradient_norm": 0.015336514450609684, + "elapsed": 461.90868854522705 + }, + { + "step": 1200, + "loss": 0.2892451882362366, + "error": 0.12890625, + "gradient_norm": 0.010124214924871922, + "elapsed": 467.1151931285858 + }, + { + "step": 1216, + "loss": 0.45089617371559143, + "error": 0.23046875, + "gradient_norm": 0.03627275303006172, + "elapsed": 472.30455207824707 + }, + { + "step": 1232, + "loss": 0.6207081079483032, + "error": 0.36376953125, + "gradient_norm": 0.028164058923721313, + "elapsed": 477.4041998386383 + }, + { + "step": 1248, + "loss": 0.6022387742996216, + "error": 0.32470703125, + "gradient_norm": 0.05243176594376564, + "elapsed": 482.5445365905762 + }, + { + "step": 1264, + "loss": 0.6383136510848999, + "error": 0.38818359375, + "gradient_norm": 0.021598732098937035, + "elapsed": 488.21457719802856 + }, + { + "step": 1280, + "loss": 0.28611207008361816, + "error": 0.13037109375, + "gradient_norm": 0.010211448185145855, + "elapsed": 494.3161232471466 + }, + { + "step": 1296, + "loss": 0.5970274209976196, + "error": 0.35009765625, + "gradient_norm": 0.025076791644096375, + "elapsed": 500.2585813999176 + }, + { + "step": 1312, + "loss": 0.48383909463882446, + "error": 0.2529296875, + "gradient_norm": 0.02830139547586441, + "elapsed": 505.9930474758148 + }, + { + "step": 1328, + "loss": 0.6087884902954102, + "error": 0.365234375, + "gradient_norm": 0.01881619170308113, + "elapsed": 512.0680301189423 + }, + { + "step": 1344, + "loss": 0.49332645535469055, + "error": 0.25634765625, + "gradient_norm": 0.02215457707643509, + "elapsed": 517.9840953350067 + }, + { + "step": 1360, + "loss": 0.6202782392501831, + "error": 0.36767578125, + "gradient_norm": 0.018839120864868164, + "elapsed": 524.07217669487 + }, + { + "step": 1376, + "loss": 0.5857731699943542, + "error": 0.3330078125, + "gradient_norm": 0.015682006254792213, + "elapsed": 529.8370056152344 + }, + { + "step": 1392, + "loss": 0.52056485414505, + "error": 0.263671875, + "gradient_norm": 0.02431550808250904, + "elapsed": 535.9721219539642 + }, + { + "step": 1408, + "loss": 0.6433448791503906, + "error": 0.40625, + "gradient_norm": 0.016954610124230385, + "elapsed": 542.0041825771332 + }, + { + "step": 1424, + "loss": 0.6105660200119019, + "error": 0.35107421875, + "gradient_norm": 0.007737957406789064, + "elapsed": 547.4241607189178 + }, + { + "step": 1440, + "loss": 0.27237576246261597, + "error": 0.12451171875, + "gradient_norm": 0.01314462162554264, + "elapsed": 553.5436873435974 + }, + { + "step": 1456, + "loss": 0.5954712629318237, + "error": 0.3623046875, + "gradient_norm": 0.03746134042739868, + "elapsed": 558.7123465538025 + }, + { + "step": 1472, + "loss": 0.4519508481025696, + "error": 0.2255859375, + "gradient_norm": 0.010652865283191204, + "elapsed": 563.8585436344147 + }, + { + "step": 1488, + "loss": 0.41647869348526, + "error": 0.212890625, + "gradient_norm": 0.028575479984283447, + "elapsed": 569.0573513507843 + }, + { + "step": 1504, + "loss": 0.4384400248527527, + "error": 0.21337890625, + "gradient_norm": 0.017627721652388573, + "elapsed": 574.296462059021 + }, + { + "step": 1520, + "loss": 0.6105232238769531, + "error": 0.37109375, + "gradient_norm": 0.016302449628710747, + "elapsed": 579.4641361236572 + }, + { + "step": 1536, + "loss": 0.6215546131134033, + "error": 0.39013671875, + "gradient_norm": 0.032154034823179245, + "elapsed": 584.5684258937836 + } + ] + }, + "selected_checkpoint_steps": [ + 512, + 1024, + 1536 + ], + "checkpoint_records": { + "1536": { + "step": 1536, + "new_training_shots": 3145728, + "weights": "weights-1536.npz", + "weights_sha256": "785132032c12fa38abbb1103774d91b41828fdc5027e1fe4d42053476eb28199", + "validation": "validation-1536.json", + "complete": true + }, + "512": { + "step": 512, + "new_training_shots": 1048576, + "weights": "weights-512.npz", + "weights_sha256": "e9ebeb958eec680c5458b3a5c39aecf0a21c926aee816517b5f9d3bac5815d7f", + "validation": "validation-512.json", + "complete": true + }, + "1024": { + "step": 1024, + "new_training_shots": 2097152, + "weights": "weights-1024.npz", + "weights_sha256": "f45c568b13c92eb4e768146debbc8c50a8ad51882523938932ba26f4afde66f2", + "validation": "validation-1024.json", + "complete": true + } + }, + "selection": "Minimum full-validation mean failure per group among incumbent and listed session-trained checkpoints", + "history": [ + { + "group": "d3_bX_center_3_5", + "candidates": { + "incumbent": 0.2491436298076923, + "512": 0.2478215144230769, + "1024": 0.24774639423076922, + "1536": 0.2476862980769231 + }, + "selected": "1536" + }, + { + "group": "d3_bX_center_5_3", + "candidates": { + "incumbent": 0.2557542067307692, + "512": 0.2544320913461538, + "1024": 0.2548527644230769, + "1536": 0.2545673076923076 + }, + "selected": "512" + }, + { + "group": "d3_bX_center_5_7", + "candidates": { + "incumbent": 0.23511117788461539, + "512": 0.23602764423076927, + "1024": 0.23553185096153847, + "1536": 0.2345402644230769 + }, + "selected": "1536" + }, + { + "group": "d3_bX_center_7_5", + "candidates": { + "incumbent": 0.2403996394230769, + "512": 0.23999399038461539, + "1024": 0.24008413461538464, + "1536": 0.2401141826923077 + }, + "selected": "512" + }, + { + "group": "d3_bZ_center_3_5", + "candidates": { + "incumbent": 0.24893329326923078, + "512": 0.24894831730769235, + "1024": 0.24735576923076924, + "1536": 0.24664963942307694 + }, + "selected": "1536" + }, + { + "group": "d3_bZ_center_5_3", + "candidates": { + "incumbent": 0.2387469951923077, + "512": 0.23849158653846156, + "1024": 0.23789062500000002, + "1536": 0.2381610576923077 + }, + "selected": "1024" + }, + { + "group": "d3_bZ_center_5_7", + "candidates": { + "incumbent": 0.23885216346153845, + "512": 0.23807091346153844, + "1024": 0.2377704326923077, + "1536": 0.23733473557692303 + }, + "selected": "1536" + }, + { + "group": "d3_bZ_center_7_5", + "candidates": { + "incumbent": 0.23479567307692306, + "512": 0.2340895432692308, + "1024": 0.2340444711538461, + "1536": 0.23431490384615386 + }, + "selected": "1024" + }, + { + "group": "d5_bX_center_5_5", + "candidates": { + "incumbent": 0.24024939903846157 + }, + "selected": "incumbent" + }, + { + "group": "d5_bZ_center_5_5", + "candidates": { + "incumbent": 0.22627704326923076 + }, + "selected": "incumbent" + } + ] + }, + { + "name": "rich1", + "training_run": { + "initialization": "Random initialization in this session", + "original_initialization": "Random variance-scaled normal first two layers, random Normal(0,.001) output; zero biases; seed 20261030", + "architecture": "Two 128-unit SiLU layers, output 4*tanh correction to original hyperedge logit; 40 local events, 40 reconstructed measurements, 8 per-stabilizer full-shot densities and 57 static features", + "training": "Uniform condition sampling from all 104 d3 conditions; batch drawn from the supplied training split only", + "steps": 1024, + "batch_size": 1024, + "optimizer": "AdamW, weight decay 1e-4, global gradient norm clip 1", + "learning_rate": 0.001, + "sampling_seed": 20261030, + "optimizer_restored": false, + "rng_restored": false, + "session_trained_starting_checkpoint": null, + "starting_checkpoint_sha256": null, + "loss": "Binary conditional logical likelihood computed by exact frontier elimination", + "validation_shots_per_condition": 1024, + "uniform_validation": true, + "uniform_validation_seed": 20261028, + "test_data_used": false, + "log": [ + { + "step": 1, + "loss": 0.1747799664735794, + "error": 0.068359375, + "gradient_norm": 0.03163275867700577, + "elapsed": 30.666016340255737 + }, + { + "step": 16, + "loss": 0.5729950666427612, + "error": 0.30859375, + "gradient_norm": 0.03532477840781212, + "elapsed": 34.992138385772705 + }, + { + "step": 32, + "loss": 0.33759093284606934, + "error": 0.1435546875, + "gradient_norm": 0.03938521817326546, + "elapsed": 40.51379442214966 + }, + { + "step": 48, + "loss": 0.574704647064209, + "error": 0.3212890625, + "gradient_norm": 0.03584429249167442, + "elapsed": 46.82174754142761 + }, + { + "step": 64, + "loss": 0.6351712942123413, + "error": 0.4072265625, + "gradient_norm": 0.027485841885209084, + "elapsed": 52.75151348114014 + }, + { + "step": 80, + "loss": 0.36342084407806396, + "error": 0.1708984375, + "gradient_norm": 0.040388718247413635, + "elapsed": 58.42134428024292 + }, + { + "step": 96, + "loss": 0.613252580165863, + "error": 0.3525390625, + "gradient_norm": 0.035148631781339645, + "elapsed": 64.40935254096985 + }, + { + "step": 112, + "loss": 0.6042842864990234, + "error": 0.3564453125, + "gradient_norm": 0.06634438037872314, + "elapsed": 70.4053041934967 + }, + { + "step": 128, + "loss": 0.4366868734359741, + "error": 0.20703125, + "gradient_norm": 0.040233220905065536, + "elapsed": 76.10137701034546 + }, + { + "step": 144, + "loss": 0.340861976146698, + "error": 0.154296875, + "gradient_norm": 0.03881179168820381, + "elapsed": 81.10126686096191 + }, + { + "step": 160, + "loss": 0.5801218748092651, + "error": 0.32421875, + "gradient_norm": 0.06090407446026802, + "elapsed": 86.1252555847168 + }, + { + "step": 176, + "loss": 0.37582841515541077, + "error": 0.19140625, + "gradient_norm": 0.06935373693704605, + "elapsed": 91.53376078605652 + }, + { + "step": 192, + "loss": 0.5213879346847534, + "error": 0.291015625, + "gradient_norm": 0.038788966834545135, + "elapsed": 96.78960609436035 + }, + { + "step": 208, + "loss": 0.26441627740859985, + "error": 0.115234375, + "gradient_norm": 0.04845435172319412, + "elapsed": 101.85743975639343 + }, + { + "step": 224, + "loss": 0.4369240701198578, + "error": 0.2119140625, + "gradient_norm": 0.098305843770504, + "elapsed": 106.94148802757263 + }, + { + "step": 240, + "loss": 0.5520763397216797, + "error": 0.3037109375, + "gradient_norm": 0.04845161736011505, + "elapsed": 112.27297902107239 + }, + { + "step": 256, + "loss": 0.595374345779419, + "error": 0.3369140625, + "gradient_norm": 0.03840416297316551, + "elapsed": 117.4812536239624 + }, + { + "step": 272, + "loss": 0.2569020390510559, + "error": 0.103515625, + "gradient_norm": 0.050126779824495316, + "elapsed": 137.86142945289612 + }, + { + "step": 288, + "loss": 0.32830360531806946, + "error": 0.1455078125, + "gradient_norm": 0.035532038658857346, + "elapsed": 142.83670139312744 + }, + { + "step": 304, + "loss": 0.6040379405021667, + "error": 0.36328125, + "gradient_norm": 0.0313950814306736, + "elapsed": 148.05078554153442 + }, + { + "step": 320, + "loss": 0.35434311628341675, + "error": 0.1748046875, + "gradient_norm": 0.03184249624609947, + "elapsed": 153.22213292121887 + }, + { + "step": 336, + "loss": 0.2326659858226776, + "error": 0.099609375, + "gradient_norm": 0.06624855101108551, + "elapsed": 158.455664396286 + }, + { + "step": 352, + "loss": 0.06233043968677521, + "error": 0.017578125, + "gradient_norm": 0.02635284699499607, + "elapsed": 163.10541248321533 + }, + { + "step": 368, + "loss": 0.31427502632141113, + "error": 0.1435546875, + "gradient_norm": 0.04170582816004753, + "elapsed": 167.78928112983704 + }, + { + "step": 384, + "loss": 0.41268765926361084, + "error": 0.19921875, + "gradient_norm": 0.10103361308574677, + "elapsed": 172.34387755393982 + }, + { + "step": 400, + "loss": 0.42649346590042114, + "error": 0.2119140625, + "gradient_norm": 0.03481302782893181, + "elapsed": 176.83626103401184 + }, + { + "step": 416, + "loss": 0.6373635530471802, + "error": 0.4013671875, + "gradient_norm": 0.06979350745677948, + "elapsed": 181.35168766975403 + }, + { + "step": 432, + "loss": 0.17961856722831726, + "error": 0.072265625, + "gradient_norm": 0.018565824255347252, + "elapsed": 185.80416321754456 + }, + { + "step": 448, + "loss": 0.5501771569252014, + "error": 0.287109375, + "gradient_norm": 0.04828835278749466, + "elapsed": 190.30530858039856 + }, + { + "step": 464, + "loss": 0.5648394823074341, + "error": 0.2978515625, + "gradient_norm": 0.07398489862680435, + "elapsed": 194.7985327243805 + }, + { + "step": 480, + "loss": 0.5675262212753296, + "error": 0.3125, + "gradient_norm": 0.036255236715078354, + "elapsed": 199.30496096611023 + }, + { + "step": 496, + "loss": 0.6156162023544312, + "error": 0.3779296875, + "gradient_norm": 0.02318546548485756, + "elapsed": 203.8355917930603 + }, + { + "step": 512, + "loss": 0.0660151019692421, + "error": 0.021484375, + "gradient_norm": 0.020883027464151382, + "elapsed": 208.32652711868286 + }, + { + "step": 528, + "loss": 0.6096083521842957, + "error": 0.37890625, + "gradient_norm": 0.04742306470870972, + "elapsed": 225.1866319179535 + }, + { + "step": 544, + "loss": 0.3829265236854553, + "error": 0.18359375, + "gradient_norm": 0.05981605872511864, + "elapsed": 229.68251276016235 + }, + { + "step": 560, + "loss": 0.537099301815033, + "error": 0.2900390625, + "gradient_norm": 0.0949595719575882, + "elapsed": 234.20215129852295 + }, + { + "step": 576, + "loss": 0.5903713703155518, + "error": 0.3447265625, + "gradient_norm": 0.06430540233850479, + "elapsed": 238.70998644828796 + }, + { + "step": 592, + "loss": 0.5619152188301086, + "error": 0.298828125, + "gradient_norm": 0.03404757007956505, + "elapsed": 243.21307158470154 + }, + { + "step": 608, + "loss": 0.5997255444526672, + "error": 0.3623046875, + "gradient_norm": 0.03946321830153465, + "elapsed": 247.7153992652893 + }, + { + "step": 624, + "loss": 0.5695509910583496, + "error": 0.310546875, + "gradient_norm": 0.02815800905227661, + "elapsed": 252.3102250099182 + }, + { + "step": 640, + "loss": 0.5901973247528076, + "error": 0.34765625, + "gradient_norm": 0.04673359915614128, + "elapsed": 256.89224338531494 + }, + { + "step": 656, + "loss": 0.621924877166748, + "error": 0.37890625, + "gradient_norm": 0.04227908328175545, + "elapsed": 261.43869185447693 + }, + { + "step": 672, + "loss": 0.610299825668335, + "error": 0.35546875, + "gradient_norm": 0.036825064569711685, + "elapsed": 265.97225284576416 + }, + { + "step": 688, + "loss": 0.5249245166778564, + "error": 0.2841796875, + "gradient_norm": 0.0948338434100151, + "elapsed": 270.4997045993805 + }, + { + "step": 704, + "loss": 0.2573642134666443, + "error": 0.111328125, + "gradient_norm": 0.055987801402807236, + "elapsed": 275.0399034023285 + }, + { + "step": 720, + "loss": 0.04867870360612869, + "error": 0.0146484375, + "gradient_norm": 0.03132430091500282, + "elapsed": 279.55093908309937 + }, + { + "step": 736, + "loss": 0.24808242917060852, + "error": 0.1015625, + "gradient_norm": 0.051910530775785446, + "elapsed": 284.08127522468567 + }, + { + "step": 752, + "loss": 0.4981001615524292, + "error": 0.2529296875, + "gradient_norm": 0.06427812576293945, + "elapsed": 288.70672821998596 + }, + { + "step": 768, + "loss": 0.5241370797157288, + "error": 0.28125, + "gradient_norm": 0.10227487236261368, + "elapsed": 293.331086397171 + }, + { + "step": 784, + "loss": 0.6427845358848572, + "error": 0.400390625, + "gradient_norm": 0.08984753489494324, + "elapsed": 311.0226716995239 + }, + { + "step": 800, + "loss": 0.5990085601806641, + "error": 0.3544921875, + "gradient_norm": 0.08950027078390121, + "elapsed": 315.6725699901581 + }, + { + "step": 816, + "loss": 0.5930870771408081, + "error": 0.353515625, + "gradient_norm": 0.03096434287726879, + "elapsed": 320.38578844070435 + }, + { + "step": 832, + "loss": 0.5945324897766113, + "error": 0.359375, + "gradient_norm": 0.052297625690698624, + "elapsed": 325.3292770385742 + }, + { + "step": 848, + "loss": 0.6031227111816406, + "error": 0.3642578125, + "gradient_norm": 0.032976675778627396, + "elapsed": 330.2292652130127 + }, + { + "step": 864, + "loss": 0.3953525125980377, + "error": 0.1748046875, + "gradient_norm": 0.07015999406576157, + "elapsed": 335.1212799549103 + }, + { + "step": 880, + "loss": 0.4324202835559845, + "error": 0.2080078125, + "gradient_norm": 0.1018647849559784, + "elapsed": 339.9696366786957 + }, + { + "step": 896, + "loss": 0.5024446249008179, + "error": 0.265625, + "gradient_norm": 0.03973893076181412, + "elapsed": 344.8794775009155 + }, + { + "step": 912, + "loss": 0.5731178522109985, + "error": 0.33203125, + "gradient_norm": 0.047838907688856125, + "elapsed": 349.57729148864746 + }, + { + "step": 928, + "loss": 0.6279090642929077, + "error": 0.412109375, + "gradient_norm": 0.030738679692149162, + "elapsed": 354.4736604690552 + }, + { + "step": 944, + "loss": 0.6028326153755188, + "error": 0.341796875, + "gradient_norm": 0.04459983482956886, + "elapsed": 359.2764792442322 + }, + { + "step": 960, + "loss": 0.19082097709178925, + "error": 0.0791015625, + "gradient_norm": 0.02478513866662979, + "elapsed": 364.1252644062042 + }, + { + "step": 976, + "loss": 0.443341463804245, + "error": 0.2197265625, + "gradient_norm": 0.14411240816116333, + "elapsed": 368.8472623825073 + }, + { + "step": 992, + "loss": 0.5665505528450012, + "error": 0.3125, + "gradient_norm": 0.06498897075653076, + "elapsed": 373.6812598705292 + }, + { + "step": 1008, + "loss": 0.4306175112724304, + "error": 0.1875, + "gradient_norm": 0.04873151704668999, + "elapsed": 378.56014752388 + }, + { + "step": 1024, + "loss": 0.46258389949798584, + "error": 0.244140625, + "gradient_norm": 0.09452047199010849, + "elapsed": 383.46526074409485 + } + ] + }, + "selected_checkpoint_steps": [ + 1024 + ], + "checkpoint_records": { + "1024": { + "step": 1024, + "new_training_shots": 1048576, + "weights": "weights-1024.npz", + "weights_sha256": "04fea2cf8c598cd5587d450b50cdce58aee9a8c770a2c2da57d7a48e3bf3e2a6", + "validation": "validation-1024.json", + "complete": true + } + }, + "selection": "Minimum full-validation mean failure per group among incumbent and listed session-trained checkpoints; when listed, blend candidates average incumbent and new probabilities equally", + "history": [ + { + "group": "d3_bX_center_3_5", + "candidates": { + "incumbent": 0.2476862980769231, + "512": 0.24981971153846153, + "1024": 0.24861778846153845, + "blend-512": 0.24816706730769234, + "blend-1024": 0.24764122596153845 + }, + "selected": "blend-1024" + }, + { + "group": "d3_bX_center_5_3", + "candidates": { + "incumbent": 0.2544320913461538, + "512": 0.25530348557692306, + "1024": 0.2538461538461539, + "blend-512": 0.2550330528846154, + "blend-1024": 0.25369591346153847 + }, + "selected": "blend-1024" + }, + { + "group": "d3_bX_center_5_7", + "candidates": { + "incumbent": 0.2345402644230769, + "512": 0.2346905048076923, + "1024": 0.23502103365384613, + "blend-512": 0.23520132211538458, + "blend-1024": 0.23484074519230771 + }, + "selected": "incumbent" + }, + { + "group": "d3_bX_center_7_5", + "candidates": { + "incumbent": 0.23999399038461539, + "512": 0.24036959134615385, + "1024": 0.23987379807692305, + "blend-512": 0.240234375, + "blend-1024": 0.24008413461538464 + }, + "selected": "1024" + }, + { + "group": "d3_bZ_center_3_5", + "candidates": { + "incumbent": 0.24664963942307694, + "512": 0.24878305288461539, + "1024": 0.24810697115384614, + "blend-512": 0.2468900240384615, + "blend-1024": 0.24661959134615385 + }, + "selected": "blend-1024" + }, + { + "group": "d3_bZ_center_5_3", + "candidates": { + "incumbent": 0.23789062500000002, + "512": 0.23919771634615386, + "1024": 0.23847656250000002, + "blend-512": 0.23802584134615382, + "blend-1024": 0.2378155048076923 + }, + "selected": "blend-1024" + }, + { + "group": "d3_bZ_center_5_7", + "candidates": { + "incumbent": 0.23733473557692303, + "512": 0.23939302884615382, + "1024": 0.2384465144230769, + "blend-512": 0.23829627403846151, + "blend-1024": 0.23727463942307694 + }, + "selected": "blend-1024" + }, + { + "group": "d3_bZ_center_7_5", + "candidates": { + "incumbent": 0.2340444711538461, + "512": 0.23482572115384615, + "1024": 0.23378906249999998, + "blend-512": 0.23434495192307692, + "blend-1024": 0.23345853365384614 + }, + "selected": "blend-1024" + }, + { + "group": "d5_bX_center_5_5", + "candidates": { + "incumbent": 0.24024939903846157 + }, + "selected": "incumbent" + }, + { + "group": "d5_bZ_center_5_5", + "candidates": { + "incumbent": 0.22627704326923076 + }, + "selected": "incumbent" + } + ] + }, + { + "name": "temporal1", + "training_run": { + "initialization": "Continue from rich weights trained from random initialization in this session; new temporal parameters randomly initialized now", + "original_initialization": "Rich network random seed20261030; new 32-channel temporal network random seed20261104; rich parameters retained, new input rows Normal(0,.001)", + "rich_starting_checkpoint": "/run-state/workspace/research/learned_exact/rich1/weights-1024.npz", + "rich_checkpoint_sha256": "04fea2cf8c598cd5587d450b50cdce58aee9a8c770a2c2da57d7a48e3bf3e2a6", + "architecture": "Rich 128-unit MLP plus 32-channel temporal encoder: four residual kernel3 convolutions with dilations1/2/4/8 and channel normalization. Receptive field31 rounds. Encoder sees events, measurements and presence masks. Per-edge 177 input features. Output4*tanh.", + "training": "Uniform condition sampling from all 104 d3 conditions; batch drawn from the supplied training split only", + "steps": 2048, + "batch_size": 1024, + "optimizer": "AdamW, weight decay 1e-4, global gradient norm clip 1", + "learning_rate": 0.001, + "sampling_seed": 20261111, + "optimizer_restored": false, + "rng_restored": false, + "session_trained_starting_checkpoint": null, + "starting_checkpoint_sha256": null, + "loss": "Binary conditional logical likelihood computed by exact frontier elimination", + "validation_shots_per_condition": 1024, + "uniform_validation": true, + "uniform_validation_seed": 20261028, + "test_data_used": false, + "log": [ + { + "step": 1, + "loss": 0.6317505836486816, + "error": 0.3681640625, + "gradient_norm": 0.04013459011912346, + "elapsed": 30.971998691558838 + }, + { + "step": 16, + "loss": 0.5091081857681274, + "error": 0.291015625, + "gradient_norm": 0.042228709906339645, + "elapsed": 35.17463397979736 + }, + { + "step": 32, + "loss": 0.626472532749176, + "error": 0.3642578125, + "gradient_norm": 0.05872415751218796, + "elapsed": 39.678136110305786 + }, + { + "step": 48, + "loss": 0.6005369424819946, + "error": 0.3515625, + "gradient_norm": 0.03848014399409294, + "elapsed": 44.16946887969971 + }, + { + "step": 64, + "loss": 0.5523768663406372, + "error": 0.302734375, + "gradient_norm": 0.06031862646341324, + "elapsed": 48.65217089653015 + }, + { + "step": 80, + "loss": 0.3981674611568451, + "error": 0.19921875, + "gradient_norm": 0.0542079322040081, + "elapsed": 53.21601867675781 + }, + { + "step": 96, + "loss": 0.5601426362991333, + "error": 0.2978515625, + "gradient_norm": 0.04770371690392494, + "elapsed": 57.81089663505554 + }, + { + "step": 112, + "loss": 0.5878150463104248, + "error": 0.34765625, + "gradient_norm": 0.10699950158596039, + "elapsed": 62.42190766334534 + }, + { + "step": 128, + "loss": 0.5232458114624023, + "error": 0.2861328125, + "gradient_norm": 0.0911584198474884, + "elapsed": 67.00223755836487 + }, + { + "step": 144, + "loss": 0.6119767427444458, + "error": 0.3623046875, + "gradient_norm": 0.062474437057971954, + "elapsed": 71.54070782661438 + }, + { + "step": 160, + "loss": 0.3037984371185303, + "error": 0.1474609375, + "gradient_norm": 0.05718141421675682, + "elapsed": 76.08167362213135 + }, + { + "step": 176, + "loss": 0.6038273572921753, + "error": 0.3662109375, + "gradient_norm": 0.0437164381146431, + "elapsed": 80.71864247322083 + }, + { + "step": 192, + "loss": 0.3304370641708374, + "error": 0.1572265625, + "gradient_norm": 0.05684761330485344, + "elapsed": 85.54437017440796 + }, + { + "step": 208, + "loss": 0.5785484313964844, + "error": 0.3251953125, + "gradient_norm": 0.09597272425889969, + "elapsed": 91.51522874832153 + }, + { + "step": 224, + "loss": 0.3110499978065491, + "error": 0.13671875, + "gradient_norm": 0.04815748706459999, + "elapsed": 97.1228940486908 + }, + { + "step": 240, + "loss": 0.6213864684104919, + "error": 0.3623046875, + "gradient_norm": 0.0540502592921257, + "elapsed": 102.90286135673523 + }, + { + "step": 256, + "loss": 0.2535272240638733, + "error": 0.1064453125, + "gradient_norm": 0.029962118715047836, + "elapsed": 108.39288640022278 + }, + { + "step": 272, + "loss": 0.6126939058303833, + "error": 0.3671875, + "gradient_norm": 0.06887879222631454, + "elapsed": 113.83897161483765 + }, + { + "step": 288, + "loss": 0.4556676149368286, + "error": 0.2236328125, + "gradient_norm": 0.16127081215381622, + "elapsed": 119.93085813522339 + }, + { + "step": 304, + "loss": 0.4973585605621338, + "error": 0.255859375, + "gradient_norm": 0.08082302659749985, + "elapsed": 125.90891909599304 + }, + { + "step": 320, + "loss": 0.6455868482589722, + "error": 0.419921875, + "gradient_norm": 0.04339660331606865, + "elapsed": 131.20537638664246 + }, + { + "step": 336, + "loss": 0.5343132615089417, + "error": 0.2880859375, + "gradient_norm": 0.07518009096384048, + "elapsed": 136.59086871147156 + }, + { + "step": 352, + "loss": 0.6505346894264221, + "error": 0.4033203125, + "gradient_norm": 0.03800992667675018, + "elapsed": 142.21085906028748 + }, + { + "step": 368, + "loss": 0.4882712960243225, + "error": 0.251953125, + "gradient_norm": 0.08170920610427856, + "elapsed": 146.95903658866882 + }, + { + "step": 384, + "loss": 0.5292021036148071, + "error": 0.296875, + "gradient_norm": 0.08454013615846634, + "elapsed": 151.6385259628296 + }, + { + "step": 400, + "loss": 0.6272899508476257, + "error": 0.3837890625, + "gradient_norm": 0.051436979323625565, + "elapsed": 156.3343904018402 + }, + { + "step": 416, + "loss": 0.052130259573459625, + "error": 0.0166015625, + "gradient_norm": 0.02377190627157688, + "elapsed": 160.92345547676086 + }, + { + "step": 432, + "loss": 0.5256737470626831, + "error": 0.3046875, + "gradient_norm": 0.07986386120319366, + "elapsed": 165.52879118919373 + }, + { + "step": 448, + "loss": 0.15193665027618408, + "error": 0.0576171875, + "gradient_norm": 0.06491660326719284, + "elapsed": 170.14827823638916 + }, + { + "step": 464, + "loss": 0.6418055295944214, + "error": 0.40625, + "gradient_norm": 0.07290885597467422, + "elapsed": 174.64974284172058 + }, + { + "step": 480, + "loss": 0.6055159568786621, + "error": 0.357421875, + "gradient_norm": 0.0795595794916153, + "elapsed": 179.17218685150146 + }, + { + "step": 496, + "loss": 0.6372283697128296, + "error": 0.3916015625, + "gradient_norm": 0.04387903958559036, + "elapsed": 183.77568197250366 + }, + { + "step": 512, + "loss": 0.637977123260498, + "error": 0.408203125, + "gradient_norm": 0.060665905475616455, + "elapsed": 188.31205368041992 + }, + { + "step": 528, + "loss": 0.4668862223625183, + "error": 0.2451171875, + "gradient_norm": 0.08566711097955704, + "elapsed": 206.40719985961914 + }, + { + "step": 544, + "loss": 0.4584413170814514, + "error": 0.244140625, + "gradient_norm": 0.08538200706243515, + "elapsed": 211.02819895744324 + }, + { + "step": 560, + "loss": 0.5615692138671875, + "error": 0.3291015625, + "gradient_norm": 0.043748609721660614, + "elapsed": 215.66470766067505 + }, + { + "step": 576, + "loss": 0.5151895880699158, + "error": 0.2880859375, + "gradient_norm": 0.05164863541722298, + "elapsed": 220.18949556350708 + }, + { + "step": 592, + "loss": 0.5618112087249756, + "error": 0.3291015625, + "gradient_norm": 0.05998719856142998, + "elapsed": 224.7216100692749 + }, + { + "step": 608, + "loss": 0.659294843673706, + "error": 0.431640625, + "gradient_norm": 0.09910348802804947, + "elapsed": 229.26827573776245 + }, + { + "step": 624, + "loss": 0.5895233154296875, + "error": 0.3447265625, + "gradient_norm": 0.045334093272686005, + "elapsed": 233.83731055259705 + }, + { + "step": 640, + "loss": 0.6081801056861877, + "error": 0.3388671875, + "gradient_norm": 0.06578423827886581, + "elapsed": 238.36345624923706 + }, + { + "step": 656, + "loss": 0.5349816083908081, + "error": 0.2939453125, + "gradient_norm": 0.09989562630653381, + "elapsed": 242.95086026191711 + }, + { + "step": 672, + "loss": 0.5871994495391846, + "error": 0.328125, + "gradient_norm": 0.08132346719503403, + "elapsed": 247.67088556289673 + }, + { + "step": 688, + "loss": 0.06012660637497902, + "error": 0.0146484375, + "gradient_norm": 0.012170507572591305, + "elapsed": 252.3202247619629 + }, + { + "step": 704, + "loss": 0.42179757356643677, + "error": 0.21484375, + "gradient_norm": 0.08384513854980469, + "elapsed": 256.91991782188416 + }, + { + "step": 720, + "loss": 0.6111758947372437, + "error": 0.3720703125, + "gradient_norm": 0.06689880788326263, + "elapsed": 261.56407928466797 + }, + { + "step": 736, + "loss": 0.29969727993011475, + "error": 0.1318359375, + "gradient_norm": 0.0743367150425911, + "elapsed": 266.22199630737305 + }, + { + "step": 752, + "loss": 0.051849883049726486, + "error": 0.0166015625, + "gradient_norm": 0.017005126923322678, + "elapsed": 270.8602342605591 + }, + { + "step": 768, + "loss": 0.6178420186042786, + "error": 0.3759765625, + "gradient_norm": 0.027732960879802704, + "elapsed": 275.47888374328613 + }, + { + "step": 784, + "loss": 0.45798996090888977, + "error": 0.228515625, + "gradient_norm": 0.0630083829164505, + "elapsed": 280.1709156036377 + }, + { + "step": 800, + "loss": 0.5104988813400269, + "error": 0.2724609375, + "gradient_norm": 0.041733670979738235, + "elapsed": 286.17937707901 + }, + { + "step": 816, + "loss": 0.6336112022399902, + "error": 0.3837890625, + "gradient_norm": 0.0755191296339035, + "elapsed": 291.7506103515625 + }, + { + "step": 832, + "loss": 0.6260952353477478, + "error": 0.3603515625, + "gradient_norm": 0.0318005345761776, + "elapsed": 297.31094622612 + }, + { + "step": 848, + "loss": 0.5870074033737183, + "error": 0.3525390625, + "gradient_norm": 0.12073405832052231, + "elapsed": 303.11089158058167 + }, + { + "step": 864, + "loss": 0.5125640034675598, + "error": 0.26953125, + "gradient_norm": 0.038650237023830414, + "elapsed": 308.7288725376129 + }, + { + "step": 880, + "loss": 0.19194915890693665, + "error": 0.0703125, + "gradient_norm": 0.061878547072410583, + "elapsed": 314.37042355537415 + }, + { + "step": 896, + "loss": 0.5409250259399414, + "error": 0.2919921875, + "gradient_norm": 0.06288820505142212, + "elapsed": 319.9398190975189 + }, + { + "step": 912, + "loss": 0.6164936423301697, + "error": 0.3701171875, + "gradient_norm": 0.043224163353443146, + "elapsed": 325.361323595047 + }, + { + "step": 928, + "loss": 0.16032151877880096, + "error": 0.0625, + "gradient_norm": 0.030957572162151337, + "elapsed": 331.21752285957336 + }, + { + "step": 944, + "loss": 0.646601676940918, + "error": 0.3818359375, + "gradient_norm": 0.05670839175581932, + "elapsed": 336.7825517654419 + }, + { + "step": 960, + "loss": 0.402952641248703, + "error": 0.1865234375, + "gradient_norm": 0.07500886172056198, + "elapsed": 342.6888346672058 + }, + { + "step": 976, + "loss": 0.5537433624267578, + "error": 0.2939453125, + "gradient_norm": 0.04955969750881195, + "elapsed": 348.5554690361023 + }, + { + "step": 992, + "loss": 0.559626579284668, + "error": 0.294921875, + "gradient_norm": 0.048295993357896805, + "elapsed": 354.3531894683838 + }, + { + "step": 1008, + "loss": 0.5034694671630859, + "error": 0.2705078125, + "gradient_norm": 0.05729879066348076, + "elapsed": 360.0949149131775 + }, + { + "step": 1024, + "loss": 0.3119734525680542, + "error": 0.1259765625, + "gradient_norm": 0.052326612174510956, + "elapsed": 365.7881224155426 + }, + { + "step": 1040, + "loss": 0.35799849033355713, + "error": 0.173828125, + "gradient_norm": 0.03801804035902023, + "elapsed": 386.5749418735504 + }, + { + "step": 1056, + "loss": 0.6178948879241943, + "error": 0.3515625, + "gradient_norm": 0.03620661422610283, + "elapsed": 391.48247838020325 + }, + { + "step": 1072, + "loss": 0.49231401085853577, + "error": 0.24609375, + "gradient_norm": 0.04391559213399887, + "elapsed": 396.08718824386597 + }, + { + "step": 1088, + "loss": 0.4119300842285156, + "error": 0.2001953125, + "gradient_norm": 0.1104700043797493, + "elapsed": 400.5326828956604 + }, + { + "step": 1104, + "loss": 0.4926626682281494, + "error": 0.265625, + "gradient_norm": 0.04246886447072029, + "elapsed": 404.95741271972656 + }, + { + "step": 1120, + "loss": 0.5027930736541748, + "error": 0.2607421875, + "gradient_norm": 0.0547240674495697, + "elapsed": 409.40319633483887 + }, + { + "step": 1136, + "loss": 0.5948058366775513, + "error": 0.3544921875, + "gradient_norm": 0.06810063123703003, + "elapsed": 413.8514006137848 + }, + { + "step": 1152, + "loss": 0.26567256450653076, + "error": 0.125, + "gradient_norm": 0.06689104437828064, + "elapsed": 418.29868721961975 + }, + { + "step": 1168, + "loss": 0.2866836190223694, + "error": 0.1240234375, + "gradient_norm": 0.029536213725805283, + "elapsed": 422.75131845474243 + }, + { + "step": 1184, + "loss": 0.6342021822929382, + "error": 0.4091796875, + "gradient_norm": 0.0704190731048584, + "elapsed": 427.1991722583771 + }, + { + "step": 1200, + "loss": 0.41626787185668945, + "error": 0.212890625, + "gradient_norm": 0.04480795934796333, + "elapsed": 431.6600706577301 + }, + { + "step": 1216, + "loss": 0.28460952639579773, + "error": 0.1337890625, + "gradient_norm": 0.03666983172297478, + "elapsed": 436.14414525032043 + }, + { + "step": 1232, + "loss": 0.044482216238975525, + "error": 0.0146484375, + "gradient_norm": 0.04537617415189743, + "elapsed": 440.6220428943634 + }, + { + "step": 1248, + "loss": 0.42564862966537476, + "error": 0.2119140625, + "gradient_norm": 0.03382417559623718, + "elapsed": 445.06736421585083 + }, + { + "step": 1264, + "loss": 0.27150213718414307, + "error": 0.123046875, + "gradient_norm": 0.033046118915081024, + "elapsed": 449.544029712677 + }, + { + "step": 1280, + "loss": 0.4927375912666321, + "error": 0.255859375, + "gradient_norm": 0.06812550127506256, + "elapsed": 454.07198667526245 + }, + { + "step": 1296, + "loss": 0.5541940927505493, + "error": 0.28125, + "gradient_norm": 0.1435294896364212, + "elapsed": 458.6031415462494 + }, + { + "step": 1312, + "loss": 0.5575842261314392, + "error": 0.2958984375, + "gradient_norm": 0.03811952844262123, + "elapsed": 463.1806228160858 + }, + { + "step": 1328, + "loss": 0.3479428291320801, + "error": 0.1591796875, + "gradient_norm": 0.0709012895822525, + "elapsed": 467.84689688682556 + }, + { + "step": 1344, + "loss": 0.1685580611228943, + "error": 0.0693359375, + "gradient_norm": 0.05423415079712868, + "elapsed": 472.6908576488495 + }, + { + "step": 1360, + "loss": 0.18506410717964172, + "error": 0.0771484375, + "gradient_norm": 0.03418596833944321, + "elapsed": 477.4269769191742 + }, + { + "step": 1376, + "loss": 0.5654555559158325, + "error": 0.3173828125, + "gradient_norm": 0.0685155838727951, + "elapsed": 482.08285188674927 + }, + { + "step": 1392, + "loss": 0.6116407513618469, + "error": 0.3603515625, + "gradient_norm": 0.05198948457837105, + "elapsed": 486.7167499065399 + }, + { + "step": 1408, + "loss": 0.4014682471752167, + "error": 0.19140625, + "gradient_norm": 0.1024075523018837, + "elapsed": 491.4308760166168 + }, + { + "step": 1424, + "loss": 0.051035866141319275, + "error": 0.0166015625, + "gradient_norm": 0.010207361541688442, + "elapsed": 496.1818380355835 + }, + { + "step": 1440, + "loss": 0.4725648760795593, + "error": 0.2412109375, + "gradient_norm": 0.03977378085255623, + "elapsed": 500.8668632507324 + }, + { + "step": 1456, + "loss": 0.5407818555831909, + "error": 0.2939453125, + "gradient_norm": 0.088577501475811, + "elapsed": 505.49274134635925 + }, + { + "step": 1472, + "loss": 0.5655064582824707, + "error": 0.3076171875, + "gradient_norm": 0.04452778398990631, + "elapsed": 510.2188584804535 + }, + { + "step": 1488, + "loss": 0.5799556374549866, + "error": 0.30859375, + "gradient_norm": 0.03976206108927727, + "elapsed": 514.9319434165955 + }, + { + "step": 1504, + "loss": 0.4660354256629944, + "error": 0.25390625, + "gradient_norm": 0.04365506023168564, + "elapsed": 519.5848798751831 + }, + { + "step": 1520, + "loss": 0.5505894422531128, + "error": 0.30859375, + "gradient_norm": 0.057772211730480194, + "elapsed": 524.3388590812683 + }, + { + "step": 1536, + "loss": 0.6251416206359863, + "error": 0.400390625, + "gradient_norm": 0.09649194777011871, + "elapsed": 529.483047246933 + }, + { + "step": 1552, + "loss": 0.05424533039331436, + "error": 0.0185546875, + "gradient_norm": 0.011683990247547626, + "elapsed": 548.1828610897064 + }, + { + "step": 1568, + "loss": 0.33612310886383057, + "error": 0.1611328125, + "gradient_norm": 0.051817383617162704, + "elapsed": 553.4256420135498 + }, + { + "step": 1584, + "loss": 0.045015305280685425, + "error": 0.0166015625, + "gradient_norm": 0.022604886442422867, + "elapsed": 558.6308543682098 + }, + { + "step": 1600, + "loss": 0.2701840102672577, + "error": 0.119140625, + "gradient_norm": 0.02910422720015049, + "elapsed": 563.8571691513062 + }, + { + "step": 1616, + "loss": 0.18982334434986115, + "error": 0.0849609375, + "gradient_norm": 0.025524422526359558, + "elapsed": 568.8628678321838 + }, + { + "step": 1632, + "loss": 0.3950161337852478, + "error": 0.185546875, + "gradient_norm": 0.08419577777385712, + "elapsed": 574.0815451145172 + }, + { + "step": 1648, + "loss": 0.49384528398513794, + "error": 0.255859375, + "gradient_norm": 0.08879344165325165, + "elapsed": 579.1229114532471 + }, + { + "step": 1664, + "loss": 0.5671384930610657, + "error": 0.3115234375, + "gradient_norm": 0.05374513566493988, + "elapsed": 584.114851474762 + }, + { + "step": 1680, + "loss": 0.6192574501037598, + "error": 0.37890625, + "gradient_norm": 0.043836336582899094, + "elapsed": 589.0708522796631 + }, + { + "step": 1696, + "loss": 0.2619469463825226, + "error": 0.1171875, + "gradient_norm": 0.040093280375003815, + "elapsed": 594.2814819812775 + }, + { + "step": 1712, + "loss": 0.33178141713142395, + "error": 0.162109375, + "gradient_norm": 0.04902712255716324, + "elapsed": 599.3068840503693 + }, + { + "step": 1728, + "loss": 0.385281503200531, + "error": 0.171875, + "gradient_norm": 0.03541380167007446, + "elapsed": 604.5308682918549 + }, + { + "step": 1744, + "loss": 0.1628715693950653, + "error": 0.0693359375, + "gradient_norm": 0.06111741065979004, + "elapsed": 609.309522151947 + }, + { + "step": 1760, + "loss": 0.5239119529724121, + "error": 0.2861328125, + "gradient_norm": 0.08513613045215607, + "elapsed": 614.0396001338959 + }, + { + "step": 1776, + "loss": 0.35721707344055176, + "error": 0.150390625, + "gradient_norm": 0.06337940692901611, + "elapsed": 618.6857132911682 + }, + { + "step": 1792, + "loss": 0.5985626578330994, + "error": 0.33203125, + "gradient_norm": 0.035725343972444534, + "elapsed": 623.3352344036102 + }, + { + "step": 1808, + "loss": 0.34676820039749146, + "error": 0.15234375, + "gradient_norm": 0.08163885772228241, + "elapsed": 627.9495220184326 + }, + { + "step": 1824, + "loss": 0.5633711814880371, + "error": 0.3037109375, + "gradient_norm": 0.05938677117228508, + "elapsed": 632.5820379257202 + }, + { + "step": 1840, + "loss": 0.6256523132324219, + "error": 0.384765625, + "gradient_norm": 0.04545137286186218, + "elapsed": 637.205274105072 + }, + { + "step": 1856, + "loss": 0.28091639280319214, + "error": 0.1298828125, + "gradient_norm": 0.04705077037215233, + "elapsed": 641.883561372757 + }, + { + "step": 1872, + "loss": 0.516182541847229, + "error": 0.263671875, + "gradient_norm": 0.08828777819871902, + "elapsed": 646.5188939571381 + }, + { + "step": 1888, + "loss": 0.48386621475219727, + "error": 0.25390625, + "gradient_norm": 0.05322824418544769, + "elapsed": 651.148512840271 + }, + { + "step": 1904, + "loss": 0.6141921281814575, + "error": 0.388671875, + "gradient_norm": 0.050139278173446655, + "elapsed": 655.7796437740326 + }, + { + "step": 1920, + "loss": 0.18002840876579285, + "error": 0.0712890625, + "gradient_norm": 0.04201133921742439, + "elapsed": 660.4064948558807 + }, + { + "step": 1936, + "loss": 0.17531852424144745, + "error": 0.0732421875, + "gradient_norm": 0.024726318195462227, + "elapsed": 664.9991583824158 + }, + { + "step": 1952, + "loss": 0.5088322758674622, + "error": 0.2744140625, + "gradient_norm": 0.04693225398659706, + "elapsed": 669.5544555187225 + }, + { + "step": 1968, + "loss": 0.5684165358543396, + "error": 0.3310546875, + "gradient_norm": 0.031029095873236656, + "elapsed": 674.2354445457458 + }, + { + "step": 1984, + "loss": 0.06459524482488632, + "error": 0.017578125, + "gradient_norm": 0.03600892797112465, + "elapsed": 678.7982559204102 + }, + { + "step": 2000, + "loss": 0.3614455461502075, + "error": 0.1748046875, + "gradient_norm": 0.07060294598340988, + "elapsed": 683.2650325298309 + }, + { + "step": 2016, + "loss": 0.35535523295402527, + "error": 0.166015625, + "gradient_norm": 0.05873403698205948, + "elapsed": 687.7125518321991 + }, + { + "step": 2032, + "loss": 0.5638720989227295, + "error": 0.3232421875, + "gradient_norm": 0.07380504906177521, + "elapsed": 692.1461188793182 + }, + { + "step": 2048, + "loss": 0.5301838517189026, + "error": 0.2919921875, + "gradient_norm": 0.05435395985841751, + "elapsed": 696.6235508918762 + } + ] + }, + "selected_checkpoint_steps": [ + 1024, + 1536, + 2048 + ], + "checkpoint_records": { + "2048": { + "step": 2048, + "new_training_shots": 2097152, + "weights": "weights-2048.npz", + "weights_sha256": "26be9e0259b69a5870bf73e80a5a29fcf3519a3ff63e1d219c57a2113d9d34be", + "validation": "validation-2048.json", + "complete": true + }, + "1024": { + "step": 1024, + "new_training_shots": 1048576, + "weights": "weights-1024.npz", + "weights_sha256": "6ab63cf2443420bfa5f2a817a90432dfc969348a8b23b0e6ccf3ffad3c381672", + "validation": "validation-1024.json", + "complete": true + }, + "1536": { + "step": 1536, + "new_training_shots": 1572864, + "weights": "weights-1536.npz", + "weights_sha256": "a4c6152c3b8f2f8ab8cdda41e92045ebc7eb944f9931a7937bf49c404bf96668", + "validation": "validation-1536.json", + "complete": true + } + }, + "selection": "Minimum full-validation mean failure per group among incumbent and listed session-trained checkpoints; when listed, blend candidates average the recorded small-contextual reference and new probabilities equally", + "blend_reference": "/run-state/workspace/research/context_upgrades/continuation2/predictions", + "history": [ + { + "group": "d3_bX_center_3_5", + "candidates": { + "incumbent": 0.24764122596153845, + "512": 0.24836237980769232, + "1024": 0.24783653846153847, + "1536": 0.24682992788461539, + "2048": 0.246875, + "blend-512": 0.24767127403846154, + "blend-1024": 0.24747596153846155, + "blend-1536": 0.24684495192307693, + "blend-2048": 0.24672475961538465 + }, + "selected": "blend-2048" + }, + { + "group": "d3_bX_center_5_3", + "candidates": { + "incumbent": 0.25369591346153847, + "512": 0.25387620192307697, + "1024": 0.25365084134615384, + "1536": 0.25392127403846154, + "2048": 0.2531550480769231, + "blend-512": 0.25429687500000003, + "blend-1024": 0.25419170673076924, + "blend-1536": 0.25338040865384615, + "blend-2048": 0.2532301682692308 + }, + "selected": "2048" + }, + { + "group": "d3_bX_center_5_7", + "candidates": { + "incumbent": 0.2345402644230769, + "512": 0.23535156250000003, + "1024": 0.23467548076923078, + "1536": 0.23575721153846152, + "2048": 0.23529146634615386, + "blend-512": 0.23494591346153842, + "blend-1024": 0.2351862980769231, + "blend-1536": 0.23535156249999997, + "blend-2048": 0.23446514423076925 + }, + "selected": "blend-2048" + }, + { + "group": "d3_bX_center_7_5", + "candidates": { + "incumbent": 0.23987379807692305, + "512": 0.2393028846153846, + "1024": 0.2391676682692308, + "1536": 0.2397686298076923, + "2048": 0.23969350961538463, + "blend-512": 0.23972355769230771, + "blend-1024": 0.23967848557692312, + "blend-1536": 0.24044471153846153, + "blend-2048": 0.24048978365384613 + }, + "selected": "1024" + }, + { + "group": "d3_bZ_center_3_5", + "candidates": { + "incumbent": 0.24661959134615385, + "512": 0.24767127403846156, + "1024": 0.24747596153846155, + "1536": 0.24658954326923077, + "2048": 0.2467397836538462, + "blend-512": 0.24634915865384613, + "blend-1024": 0.24684495192307693, + "blend-1536": 0.24640925480769232, + "blend-2048": 0.24625901442307693 + }, + "selected": "blend-2048" + }, + { + "group": "d3_bZ_center_5_3", + "candidates": { + "incumbent": 0.2378155048076923, + "512": 0.23912259615384615, + "1024": 0.23805588942307693, + "1536": 0.2381610576923077, + "2048": 0.2376802884615385, + "blend-512": 0.2378155048076923, + "blend-1024": 0.23765024038461538, + "blend-1536": 0.23783052884615388, + "blend-2048": 0.23760516826923078 + }, + "selected": "blend-2048" + }, + { + "group": "d3_bZ_center_5_7", + "candidates": { + "incumbent": 0.23727463942307694, + "512": 0.23766526442307695, + "1024": 0.23789062500000005, + "1536": 0.23713942307692307, + "2048": 0.23778545673076923, + "blend-512": 0.2376201923076923, + "blend-1024": 0.23743990384615382, + "blend-1536": 0.2375, + "blend-2048": 0.2376201923076923 + }, + "selected": "1536" + }, + { + "group": "d3_bZ_center_7_5", + "candidates": { + "incumbent": 0.23345853365384614, + "512": 0.2344200721153846, + "1024": 0.23431490384615386, + "1536": 0.23435997596153843, + "2048": 0.23390925480769229, + "blend-512": 0.23448016826923074, + "blend-1024": 0.2340895432692308, + "blend-1536": 0.23360877403846156, + "blend-2048": 0.2338792067307692 + }, + "selected": "incumbent" + }, + { + "group": "d5_bX_center_5_5", + "candidates": { + "incumbent": 0.2338341346153846 + }, + "selected": "incumbent" + }, + { + "group": "d5_bZ_center_5_5", + "candidates": { + "incumbent": 0.22182992788461542 + }, + "selected": "incumbent" + } + ] + }, + { + "name": "temporal2", + "training_run": { + "initialization": "Continue from this session's trained checkpoint", + "original_initialization": "Rich network random seed20261030; new 32-channel temporal network random seed20261104; rich parameters retained, new input rows Normal(0,.001)", + "rich_starting_checkpoint": "/run-state/workspace/research/learned_exact/rich1/weights-1024.npz", + "rich_checkpoint_sha256": "04fea2cf8c598cd5587d450b50cdce58aee9a8c770a2c2da57d7a48e3bf3e2a6", + "architecture": "Rich 128-unit MLP plus 32-channel temporal encoder: four residual kernel3 convolutions with dilations1/2/4/8 and channel normalization. Receptive field31 rounds. Encoder sees events, measurements and presence masks. Per-edge 177 input features. Output4*tanh.", + "training": "Uniform condition sampling from all 104 d3 conditions; batch drawn from the supplied training split only", + "training_source_sha256": { + "learned_exact__temporal_train.py": "7d48d2fc7f62d0bec3023b3df1c2ac28537d0417966131ae3a156697a34cda5f", + "learned_exact__temporal_model.py": "76fd01d5ae50f7d0b5790800898e7103ddb86db8f6a2ace883407515add2e186", + "learned_exact__data.py": "6f88582230aec7bbf35170a672ff615cac0cf18c0a690b2983874bb4c02c75e6", + "learned_exact__gradient.py": "ecb6b45698480386fa124fe878db7dbfa246d1969fd720ec26daff9547da2001", + "exact_d3__exact.py": "869dfacb295c419c156d1070fc2afdd6e20d02ac1840e45e72346b2b289f4825" + }, + "runtime_versions": { + "jax": "0.7.2", + "numpy": "2.3.3", + "optax": "0.2.6" + }, + "eligible_training_shots": 2067520, + "unique_training_rows_seen_in_this_phase": 1778773, + "unique_rows_by_condition": { + "surface_code_bX_d3_r01_center_3_5": 18357, + "surface_code_bX_d3_r03_center_3_5": 16816, + "surface_code_bX_d3_r05_center_3_5": 17999, + "surface_code_bX_d3_r07_center_3_5": 15225, + "surface_code_bX_d3_r09_center_3_5": 16132, + "surface_code_bX_d3_r11_center_3_5": 17041, + "surface_code_bX_d3_r13_center_3_5": 18477, + "surface_code_bX_d3_r15_center_3_5": 18214, + "surface_code_bX_d3_r17_center_3_5": 16505, + "surface_code_bX_d3_r19_center_3_5": 17120, + "surface_code_bX_d3_r21_center_3_5": 17563, + "surface_code_bX_d3_r23_center_3_5": 16681, + "surface_code_bX_d3_r25_center_3_5": 18379, + "surface_code_bX_d3_r01_center_5_3": 17450, + "surface_code_bX_d3_r03_center_5_3": 17161, + "surface_code_bX_d3_r05_center_5_3": 15797, + "surface_code_bX_d3_r07_center_5_3": 17800, + "surface_code_bX_d3_r09_center_5_3": 17190, + "surface_code_bX_d3_r11_center_5_3": 15840, + "surface_code_bX_d3_r13_center_5_3": 15178, + "surface_code_bX_d3_r15_center_5_3": 14897, + "surface_code_bX_d3_r17_center_5_3": 18252, + "surface_code_bX_d3_r19_center_5_3": 17083, + "surface_code_bX_d3_r21_center_5_3": 17229, + "surface_code_bX_d3_r23_center_5_3": 14735, + "surface_code_bX_d3_r25_center_5_3": 17949, + "surface_code_bX_d3_r01_center_5_7": 17431, + "surface_code_bX_d3_r03_center_5_7": 16583, + "surface_code_bX_d3_r05_center_5_7": 16891, + "surface_code_bX_d3_r07_center_5_7": 17969, + "surface_code_bX_d3_r09_center_5_7": 17966, + "surface_code_bX_d3_r11_center_5_7": 14424, + "surface_code_bX_d3_r13_center_5_7": 16930, + "surface_code_bX_d3_r15_center_5_7": 15205, + "surface_code_bX_d3_r17_center_5_7": 18252, + "surface_code_bX_d3_r19_center_5_7": 17077, + "surface_code_bX_d3_r21_center_5_7": 16770, + "surface_code_bX_d3_r23_center_5_7": 17308, + "surface_code_bX_d3_r25_center_5_7": 17481, + "surface_code_bX_d3_r01_center_7_5": 16630, + "surface_code_bX_d3_r03_center_7_5": 17439, + "surface_code_bX_d3_r05_center_7_5": 15811, + "surface_code_bX_d3_r07_center_7_5": 16637, + "surface_code_bX_d3_r09_center_7_5": 18306, + "surface_code_bX_d3_r11_center_7_5": 18327, + "surface_code_bX_d3_r13_center_7_5": 17974, + "surface_code_bX_d3_r15_center_7_5": 16106, + "surface_code_bX_d3_r17_center_7_5": 15834, + "surface_code_bX_d3_r19_center_7_5": 17242, + "surface_code_bX_d3_r21_center_7_5": 17889, + "surface_code_bX_d3_r23_center_7_5": 17440, + "surface_code_bX_d3_r25_center_7_5": 17087, + "surface_code_bZ_d3_r01_center_3_5": 16236, + "surface_code_bZ_d3_r03_center_3_5": 17278, + "surface_code_bZ_d3_r05_center_3_5": 16577, + "surface_code_bZ_d3_r07_center_3_5": 17376, + "surface_code_bZ_d3_r09_center_3_5": 16000, + "surface_code_bZ_d3_r11_center_3_5": 15634, + "surface_code_bZ_d3_r13_center_3_5": 14950, + "surface_code_bZ_d3_r15_center_3_5": 16600, + "surface_code_bZ_d3_r17_center_3_5": 15381, + "surface_code_bZ_d3_r19_center_3_5": 16823, + "surface_code_bZ_d3_r21_center_3_5": 18789, + "surface_code_bZ_d3_r23_center_3_5": 15616, + "surface_code_bZ_d3_r25_center_3_5": 17088, + "surface_code_bZ_d3_r01_center_5_3": 17935, + "surface_code_bZ_d3_r03_center_5_3": 16256, + "surface_code_bZ_d3_r05_center_5_3": 17959, + "surface_code_bZ_d3_r07_center_5_3": 18401, + "surface_code_bZ_d3_r09_center_5_3": 16405, + "surface_code_bZ_d3_r11_center_5_3": 17274, + "surface_code_bZ_d3_r13_center_5_3": 18172, + "surface_code_bZ_d3_r15_center_5_3": 17525, + "surface_code_bZ_d3_r17_center_5_3": 18643, + "surface_code_bZ_d3_r19_center_5_3": 17816, + "surface_code_bZ_d3_r21_center_5_3": 17404, + "surface_code_bZ_d3_r23_center_5_3": 17253, + "surface_code_bZ_d3_r25_center_5_3": 17667, + "surface_code_bZ_d3_r01_center_5_7": 16203, + "surface_code_bZ_d3_r03_center_5_7": 17214, + "surface_code_bZ_d3_r05_center_5_7": 16799, + "surface_code_bZ_d3_r07_center_5_7": 17896, + "surface_code_bZ_d3_r09_center_5_7": 16411, + "surface_code_bZ_d3_r11_center_5_7": 17726, + "surface_code_bZ_d3_r13_center_5_7": 16313, + "surface_code_bZ_d3_r15_center_5_7": 17824, + "surface_code_bZ_d3_r17_center_5_7": 15656, + "surface_code_bZ_d3_r19_center_5_7": 17169, + "surface_code_bZ_d3_r21_center_5_7": 17194, + "surface_code_bZ_d3_r23_center_5_7": 16779, + "surface_code_bZ_d3_r25_center_5_7": 16970, + "surface_code_bZ_d3_r01_center_7_5": 16762, + "surface_code_bZ_d3_r03_center_7_5": 17320, + "surface_code_bZ_d3_r05_center_7_5": 17522, + "surface_code_bZ_d3_r07_center_7_5": 17914, + "surface_code_bZ_d3_r09_center_7_5": 18439, + "surface_code_bZ_d3_r11_center_7_5": 18218, + "surface_code_bZ_d3_r13_center_7_5": 17907, + "surface_code_bZ_d3_r15_center_7_5": 17597, + "surface_code_bZ_d3_r17_center_7_5": 18252, + "surface_code_bZ_d3_r19_center_7_5": 18379, + "surface_code_bZ_d3_r21_center_7_5": 16818, + "surface_code_bZ_d3_r23_center_7_5": 18430, + "surface_code_bZ_d3_r25_center_7_5": 17924 + }, + "steps": 4096, + "batch_size": 1024, + "optimizer": "AdamW, weight decay 1e-4, global gradient norm clip 1", + "learning_rate": 0.0005, + "sampling_seed": 20261121, + "optimizer_restored": true, + "rng_restored": true, + "sampling_state_source": "/run-state/workspace/research/learned_exact/temporal1/rng-2048.json", + "session_trained_starting_checkpoint": "/run-state/workspace/research/learned_exact/temporal1/weights-2048.npz", + "starting_checkpoint_sha256": "26be9e0259b69a5870bf73e80a5a29fcf3519a3ff63e1d219c57a2113d9d34be", + "starting_training_provenance": { + "initialization": "Continue from rich weights trained from random initialization in this session; new temporal parameters randomly initialized now", + "original_initialization": "Rich network random seed20261030; new 32-channel temporal network random seed20261104; rich parameters retained, new input rows Normal(0,.001)", + "rich_starting_checkpoint": "/run-state/workspace/research/learned_exact/rich1/weights-1024.npz", + "rich_checkpoint_sha256": "04fea2cf8c598cd5587d450b50cdce58aee9a8c770a2c2da57d7a48e3bf3e2a6", + "architecture": "Rich 128-unit MLP plus 32-channel temporal encoder: four residual kernel3 convolutions with dilations1/2/4/8 and channel normalization. Receptive field31 rounds. Encoder sees events, measurements and presence masks. Per-edge 177 input features. Output4*tanh.", + "training": "Uniform condition sampling from all 104 d3 conditions; batch drawn from the supplied training split only", + "steps": 2048, + "batch_size": 1024, + "optimizer": "AdamW, weight decay 1e-4, global gradient norm clip 1", + "learning_rate": 0.001, + "sampling_seed": 20261111, + "optimizer_restored": false, + "rng_restored": false, + "session_trained_starting_checkpoint": null, + "starting_checkpoint_sha256": null, + "loss": "Binary conditional logical likelihood computed by exact frontier elimination", + "validation_shots_per_condition": 1024, + "uniform_validation": true, + "uniform_validation_seed": 20261028, + "test_data_used": false, + "log": [ + { + "step": 1, + "loss": 0.6317505836486816, + "error": 0.3681640625, + "gradient_norm": 0.04013459011912346, + "elapsed": 30.971998691558838 + }, + { + "step": 16, + "loss": 0.5091081857681274, + "error": 0.291015625, + "gradient_norm": 0.042228709906339645, + "elapsed": 35.17463397979736 + }, + { + "step": 32, + "loss": 0.626472532749176, + "error": 0.3642578125, + "gradient_norm": 0.05872415751218796, + "elapsed": 39.678136110305786 + }, + { + "step": 48, + "loss": 0.6005369424819946, + "error": 0.3515625, + "gradient_norm": 0.03848014399409294, + "elapsed": 44.16946887969971 + }, + { + "step": 64, + "loss": 0.5523768663406372, + "error": 0.302734375, + "gradient_norm": 0.06031862646341324, + "elapsed": 48.65217089653015 + }, + { + "step": 80, + "loss": 0.3981674611568451, + "error": 0.19921875, + "gradient_norm": 0.0542079322040081, + "elapsed": 53.21601867675781 + }, + { + "step": 96, + "loss": 0.5601426362991333, + "error": 0.2978515625, + "gradient_norm": 0.04770371690392494, + "elapsed": 57.81089663505554 + }, + { + "step": 112, + "loss": 0.5878150463104248, + "error": 0.34765625, + "gradient_norm": 0.10699950158596039, + "elapsed": 62.42190766334534 + }, + { + "step": 128, + "loss": 0.5232458114624023, + "error": 0.2861328125, + "gradient_norm": 0.0911584198474884, + "elapsed": 67.00223755836487 + }, + { + "step": 144, + "loss": 0.6119767427444458, + "error": 0.3623046875, + "gradient_norm": 0.062474437057971954, + "elapsed": 71.54070782661438 + }, + { + "step": 160, + "loss": 0.3037984371185303, + "error": 0.1474609375, + "gradient_norm": 0.05718141421675682, + "elapsed": 76.08167362213135 + }, + { + "step": 176, + "loss": 0.6038273572921753, + "error": 0.3662109375, + "gradient_norm": 0.0437164381146431, + "elapsed": 80.71864247322083 + }, + { + "step": 192, + "loss": 0.3304370641708374, + "error": 0.1572265625, + "gradient_norm": 0.05684761330485344, + "elapsed": 85.54437017440796 + }, + { + "step": 208, + "loss": 0.5785484313964844, + "error": 0.3251953125, + "gradient_norm": 0.09597272425889969, + "elapsed": 91.51522874832153 + }, + { + "step": 224, + "loss": 0.3110499978065491, + "error": 0.13671875, + "gradient_norm": 0.04815748706459999, + "elapsed": 97.1228940486908 + }, + { + "step": 240, + "loss": 0.6213864684104919, + "error": 0.3623046875, + "gradient_norm": 0.0540502592921257, + "elapsed": 102.90286135673523 + }, + { + "step": 256, + "loss": 0.2535272240638733, + "error": 0.1064453125, + "gradient_norm": 0.029962118715047836, + "elapsed": 108.39288640022278 + }, + { + "step": 272, + "loss": 0.6126939058303833, + "error": 0.3671875, + "gradient_norm": 0.06887879222631454, + "elapsed": 113.83897161483765 + }, + { + "step": 288, + "loss": 0.4556676149368286, + "error": 0.2236328125, + "gradient_norm": 0.16127081215381622, + "elapsed": 119.93085813522339 + }, + { + "step": 304, + "loss": 0.4973585605621338, + "error": 0.255859375, + "gradient_norm": 0.08082302659749985, + "elapsed": 125.90891909599304 + }, + { + "step": 320, + "loss": 0.6455868482589722, + "error": 0.419921875, + "gradient_norm": 0.04339660331606865, + "elapsed": 131.20537638664246 + }, + { + "step": 336, + "loss": 0.5343132615089417, + "error": 0.2880859375, + "gradient_norm": 0.07518009096384048, + "elapsed": 136.59086871147156 + }, + { + "step": 352, + "loss": 0.6505346894264221, + "error": 0.4033203125, + "gradient_norm": 0.03800992667675018, + "elapsed": 142.21085906028748 + }, + { + "step": 368, + "loss": 0.4882712960243225, + "error": 0.251953125, + "gradient_norm": 0.08170920610427856, + "elapsed": 146.95903658866882 + }, + { + "step": 384, + "loss": 0.5292021036148071, + "error": 0.296875, + "gradient_norm": 0.08454013615846634, + "elapsed": 151.6385259628296 + }, + { + "step": 400, + "loss": 0.6272899508476257, + "error": 0.3837890625, + "gradient_norm": 0.051436979323625565, + "elapsed": 156.3343904018402 + }, + { + "step": 416, + "loss": 0.052130259573459625, + "error": 0.0166015625, + "gradient_norm": 0.02377190627157688, + "elapsed": 160.92345547676086 + }, + { + "step": 432, + "loss": 0.5256737470626831, + "error": 0.3046875, + "gradient_norm": 0.07986386120319366, + "elapsed": 165.52879118919373 + }, + { + "step": 448, + "loss": 0.15193665027618408, + "error": 0.0576171875, + "gradient_norm": 0.06491660326719284, + "elapsed": 170.14827823638916 + }, + { + "step": 464, + "loss": 0.6418055295944214, + "error": 0.40625, + "gradient_norm": 0.07290885597467422, + "elapsed": 174.64974284172058 + }, + { + "step": 480, + "loss": 0.6055159568786621, + "error": 0.357421875, + "gradient_norm": 0.0795595794916153, + "elapsed": 179.17218685150146 + }, + { + "step": 496, + "loss": 0.6372283697128296, + "error": 0.3916015625, + "gradient_norm": 0.04387903958559036, + "elapsed": 183.77568197250366 + }, + { + "step": 512, + "loss": 0.637977123260498, + "error": 0.408203125, + "gradient_norm": 0.060665905475616455, + "elapsed": 188.31205368041992 + }, + { + "step": 528, + "loss": 0.4668862223625183, + "error": 0.2451171875, + "gradient_norm": 0.08566711097955704, + "elapsed": 206.40719985961914 + }, + { + "step": 544, + "loss": 0.4584413170814514, + "error": 0.244140625, + "gradient_norm": 0.08538200706243515, + "elapsed": 211.02819895744324 + }, + { + "step": 560, + "loss": 0.5615692138671875, + "error": 0.3291015625, + "gradient_norm": 0.043748609721660614, + "elapsed": 215.66470766067505 + }, + { + "step": 576, + "loss": 0.5151895880699158, + "error": 0.2880859375, + "gradient_norm": 0.05164863541722298, + "elapsed": 220.18949556350708 + }, + { + "step": 592, + "loss": 0.5618112087249756, + "error": 0.3291015625, + "gradient_norm": 0.05998719856142998, + "elapsed": 224.7216100692749 + }, + { + "step": 608, + "loss": 0.659294843673706, + "error": 0.431640625, + "gradient_norm": 0.09910348802804947, + "elapsed": 229.26827573776245 + }, + { + "step": 624, + "loss": 0.5895233154296875, + "error": 0.3447265625, + "gradient_norm": 0.045334093272686005, + "elapsed": 233.83731055259705 + }, + { + "step": 640, + "loss": 0.6081801056861877, + "error": 0.3388671875, + "gradient_norm": 0.06578423827886581, + "elapsed": 238.36345624923706 + }, + { + "step": 656, + "loss": 0.5349816083908081, + "error": 0.2939453125, + "gradient_norm": 0.09989562630653381, + "elapsed": 242.95086026191711 + }, + { + "step": 672, + "loss": 0.5871994495391846, + "error": 0.328125, + "gradient_norm": 0.08132346719503403, + "elapsed": 247.67088556289673 + }, + { + "step": 688, + "loss": 0.06012660637497902, + "error": 0.0146484375, + "gradient_norm": 0.012170507572591305, + "elapsed": 252.3202247619629 + }, + { + "step": 704, + "loss": 0.42179757356643677, + "error": 0.21484375, + "gradient_norm": 0.08384513854980469, + "elapsed": 256.91991782188416 + }, + { + "step": 720, + "loss": 0.6111758947372437, + "error": 0.3720703125, + "gradient_norm": 0.06689880788326263, + "elapsed": 261.56407928466797 + }, + { + "step": 736, + "loss": 0.29969727993011475, + "error": 0.1318359375, + "gradient_norm": 0.0743367150425911, + "elapsed": 266.22199630737305 + }, + { + "step": 752, + "loss": 0.051849883049726486, + "error": 0.0166015625, + "gradient_norm": 0.017005126923322678, + "elapsed": 270.8602342605591 + }, + { + "step": 768, + "loss": 0.6178420186042786, + "error": 0.3759765625, + "gradient_norm": 0.027732960879802704, + "elapsed": 275.47888374328613 + }, + { + "step": 784, + "loss": 0.45798996090888977, + "error": 0.228515625, + "gradient_norm": 0.0630083829164505, + "elapsed": 280.1709156036377 + }, + { + "step": 800, + "loss": 0.5104988813400269, + "error": 0.2724609375, + "gradient_norm": 0.041733670979738235, + "elapsed": 286.17937707901 + }, + { + "step": 816, + "loss": 0.6336112022399902, + "error": 0.3837890625, + "gradient_norm": 0.0755191296339035, + "elapsed": 291.7506103515625 + }, + { + "step": 832, + "loss": 0.6260952353477478, + "error": 0.3603515625, + "gradient_norm": 0.0318005345761776, + "elapsed": 297.31094622612 + }, + { + "step": 848, + "loss": 0.5870074033737183, + "error": 0.3525390625, + "gradient_norm": 0.12073405832052231, + "elapsed": 303.11089158058167 + }, + { + "step": 864, + "loss": 0.5125640034675598, + "error": 0.26953125, + "gradient_norm": 0.038650237023830414, + "elapsed": 308.7288725376129 + }, + { + "step": 880, + "loss": 0.19194915890693665, + "error": 0.0703125, + "gradient_norm": 0.061878547072410583, + "elapsed": 314.37042355537415 + }, + { + "step": 896, + "loss": 0.5409250259399414, + "error": 0.2919921875, + "gradient_norm": 0.06288820505142212, + "elapsed": 319.9398190975189 + }, + { + "step": 912, + "loss": 0.6164936423301697, + "error": 0.3701171875, + "gradient_norm": 0.043224163353443146, + "elapsed": 325.361323595047 + }, + { + "step": 928, + "loss": 0.16032151877880096, + "error": 0.0625, + "gradient_norm": 0.030957572162151337, + "elapsed": 331.21752285957336 + }, + { + "step": 944, + "loss": 0.646601676940918, + "error": 0.3818359375, + "gradient_norm": 0.05670839175581932, + "elapsed": 336.7825517654419 + }, + { + "step": 960, + "loss": 0.402952641248703, + "error": 0.1865234375, + "gradient_norm": 0.07500886172056198, + "elapsed": 342.6888346672058 + }, + { + "step": 976, + "loss": 0.5537433624267578, + "error": 0.2939453125, + "gradient_norm": 0.04955969750881195, + "elapsed": 348.5554690361023 + }, + { + "step": 992, + "loss": 0.559626579284668, + "error": 0.294921875, + "gradient_norm": 0.048295993357896805, + "elapsed": 354.3531894683838 + }, + { + "step": 1008, + "loss": 0.5034694671630859, + "error": 0.2705078125, + "gradient_norm": 0.05729879066348076, + "elapsed": 360.0949149131775 + }, + { + "step": 1024, + "loss": 0.3119734525680542, + "error": 0.1259765625, + "gradient_norm": 0.052326612174510956, + "elapsed": 365.7881224155426 + }, + { + "step": 1040, + "loss": 0.35799849033355713, + "error": 0.173828125, + "gradient_norm": 0.03801804035902023, + "elapsed": 386.5749418735504 + }, + { + "step": 1056, + "loss": 0.6178948879241943, + "error": 0.3515625, + "gradient_norm": 0.03620661422610283, + "elapsed": 391.48247838020325 + }, + { + "step": 1072, + "loss": 0.49231401085853577, + "error": 0.24609375, + "gradient_norm": 0.04391559213399887, + "elapsed": 396.08718824386597 + }, + { + "step": 1088, + "loss": 0.4119300842285156, + "error": 0.2001953125, + "gradient_norm": 0.1104700043797493, + "elapsed": 400.5326828956604 + }, + { + "step": 1104, + "loss": 0.4926626682281494, + "error": 0.265625, + "gradient_norm": 0.04246886447072029, + "elapsed": 404.95741271972656 + }, + { + "step": 1120, + "loss": 0.5027930736541748, + "error": 0.2607421875, + "gradient_norm": 0.0547240674495697, + "elapsed": 409.40319633483887 + }, + { + "step": 1136, + "loss": 0.5948058366775513, + "error": 0.3544921875, + "gradient_norm": 0.06810063123703003, + "elapsed": 413.8514006137848 + }, + { + "step": 1152, + "loss": 0.26567256450653076, + "error": 0.125, + "gradient_norm": 0.06689104437828064, + "elapsed": 418.29868721961975 + }, + { + "step": 1168, + "loss": 0.2866836190223694, + "error": 0.1240234375, + "gradient_norm": 0.029536213725805283, + "elapsed": 422.75131845474243 + }, + { + "step": 1184, + "loss": 0.6342021822929382, + "error": 0.4091796875, + "gradient_norm": 0.0704190731048584, + "elapsed": 427.1991722583771 + }, + { + "step": 1200, + "loss": 0.41626787185668945, + "error": 0.212890625, + "gradient_norm": 0.04480795934796333, + "elapsed": 431.6600706577301 + }, + { + "step": 1216, + "loss": 0.28460952639579773, + "error": 0.1337890625, + "gradient_norm": 0.03666983172297478, + "elapsed": 436.14414525032043 + }, + { + "step": 1232, + "loss": 0.044482216238975525, + "error": 0.0146484375, + "gradient_norm": 0.04537617415189743, + "elapsed": 440.6220428943634 + }, + { + "step": 1248, + "loss": 0.42564862966537476, + "error": 0.2119140625, + "gradient_norm": 0.03382417559623718, + "elapsed": 445.06736421585083 + }, + { + "step": 1264, + "loss": 0.27150213718414307, + "error": 0.123046875, + "gradient_norm": 0.033046118915081024, + "elapsed": 449.544029712677 + }, + { + "step": 1280, + "loss": 0.4927375912666321, + "error": 0.255859375, + "gradient_norm": 0.06812550127506256, + "elapsed": 454.07198667526245 + }, + { + "step": 1296, + "loss": 0.5541940927505493, + "error": 0.28125, + "gradient_norm": 0.1435294896364212, + "elapsed": 458.6031415462494 + }, + { + "step": 1312, + "loss": 0.5575842261314392, + "error": 0.2958984375, + "gradient_norm": 0.03811952844262123, + "elapsed": 463.1806228160858 + }, + { + "step": 1328, + "loss": 0.3479428291320801, + "error": 0.1591796875, + "gradient_norm": 0.0709012895822525, + "elapsed": 467.84689688682556 + }, + { + "step": 1344, + "loss": 0.1685580611228943, + "error": 0.0693359375, + "gradient_norm": 0.05423415079712868, + "elapsed": 472.6908576488495 + }, + { + "step": 1360, + "loss": 0.18506410717964172, + "error": 0.0771484375, + "gradient_norm": 0.03418596833944321, + "elapsed": 477.4269769191742 + }, + { + "step": 1376, + "loss": 0.5654555559158325, + "error": 0.3173828125, + "gradient_norm": 0.0685155838727951, + "elapsed": 482.08285188674927 + }, + { + "step": 1392, + "loss": 0.6116407513618469, + "error": 0.3603515625, + "gradient_norm": 0.05198948457837105, + "elapsed": 486.7167499065399 + }, + { + "step": 1408, + "loss": 0.4014682471752167, + "error": 0.19140625, + "gradient_norm": 0.1024075523018837, + "elapsed": 491.4308760166168 + }, + { + "step": 1424, + "loss": 0.051035866141319275, + "error": 0.0166015625, + "gradient_norm": 0.010207361541688442, + "elapsed": 496.1818380355835 + }, + { + "step": 1440, + "loss": 0.4725648760795593, + "error": 0.2412109375, + "gradient_norm": 0.03977378085255623, + "elapsed": 500.8668632507324 + }, + { + "step": 1456, + "loss": 0.5407818555831909, + "error": 0.2939453125, + "gradient_norm": 0.088577501475811, + "elapsed": 505.49274134635925 + }, + { + "step": 1472, + "loss": 0.5655064582824707, + "error": 0.3076171875, + "gradient_norm": 0.04452778398990631, + "elapsed": 510.2188584804535 + }, + { + "step": 1488, + "loss": 0.5799556374549866, + "error": 0.30859375, + "gradient_norm": 0.03976206108927727, + "elapsed": 514.9319434165955 + }, + { + "step": 1504, + "loss": 0.4660354256629944, + "error": 0.25390625, + "gradient_norm": 0.04365506023168564, + "elapsed": 519.5848798751831 + }, + { + "step": 1520, + "loss": 0.5505894422531128, + "error": 0.30859375, + "gradient_norm": 0.057772211730480194, + "elapsed": 524.3388590812683 + }, + { + "step": 1536, + "loss": 0.6251416206359863, + "error": 0.400390625, + "gradient_norm": 0.09649194777011871, + "elapsed": 529.483047246933 + }, + { + "step": 1552, + "loss": 0.05424533039331436, + "error": 0.0185546875, + "gradient_norm": 0.011683990247547626, + "elapsed": 548.1828610897064 + }, + { + "step": 1568, + "loss": 0.33612310886383057, + "error": 0.1611328125, + "gradient_norm": 0.051817383617162704, + "elapsed": 553.4256420135498 + }, + { + "step": 1584, + "loss": 0.045015305280685425, + "error": 0.0166015625, + "gradient_norm": 0.022604886442422867, + "elapsed": 558.6308543682098 + }, + { + "step": 1600, + "loss": 0.2701840102672577, + "error": 0.119140625, + "gradient_norm": 0.02910422720015049, + "elapsed": 563.8571691513062 + }, + { + "step": 1616, + "loss": 0.18982334434986115, + "error": 0.0849609375, + "gradient_norm": 0.025524422526359558, + "elapsed": 568.8628678321838 + }, + { + "step": 1632, + "loss": 0.3950161337852478, + "error": 0.185546875, + "gradient_norm": 0.08419577777385712, + "elapsed": 574.0815451145172 + }, + { + "step": 1648, + "loss": 0.49384528398513794, + "error": 0.255859375, + "gradient_norm": 0.08879344165325165, + "elapsed": 579.1229114532471 + }, + { + "step": 1664, + "loss": 0.5671384930610657, + "error": 0.3115234375, + "gradient_norm": 0.05374513566493988, + "elapsed": 584.114851474762 + }, + { + "step": 1680, + "loss": 0.6192574501037598, + "error": 0.37890625, + "gradient_norm": 0.043836336582899094, + "elapsed": 589.0708522796631 + }, + { + "step": 1696, + "loss": 0.2619469463825226, + "error": 0.1171875, + "gradient_norm": 0.040093280375003815, + "elapsed": 594.2814819812775 + }, + { + "step": 1712, + "loss": 0.33178141713142395, + "error": 0.162109375, + "gradient_norm": 0.04902712255716324, + "elapsed": 599.3068840503693 + }, + { + "step": 1728, + "loss": 0.385281503200531, + "error": 0.171875, + "gradient_norm": 0.03541380167007446, + "elapsed": 604.5308682918549 + }, + { + "step": 1744, + "loss": 0.1628715693950653, + "error": 0.0693359375, + "gradient_norm": 0.06111741065979004, + "elapsed": 609.309522151947 + }, + { + "step": 1760, + "loss": 0.5239119529724121, + "error": 0.2861328125, + "gradient_norm": 0.08513613045215607, + "elapsed": 614.0396001338959 + }, + { + "step": 1776, + "loss": 0.35721707344055176, + "error": 0.150390625, + "gradient_norm": 0.06337940692901611, + "elapsed": 618.6857132911682 + }, + { + "step": 1792, + "loss": 0.5985626578330994, + "error": 0.33203125, + "gradient_norm": 0.035725343972444534, + "elapsed": 623.3352344036102 + }, + { + "step": 1808, + "loss": 0.34676820039749146, + "error": 0.15234375, + "gradient_norm": 0.08163885772228241, + "elapsed": 627.9495220184326 + }, + { + "step": 1824, + "loss": 0.5633711814880371, + "error": 0.3037109375, + "gradient_norm": 0.05938677117228508, + "elapsed": 632.5820379257202 + }, + { + "step": 1840, + "loss": 0.6256523132324219, + "error": 0.384765625, + "gradient_norm": 0.04545137286186218, + "elapsed": 637.205274105072 + }, + { + "step": 1856, + "loss": 0.28091639280319214, + "error": 0.1298828125, + "gradient_norm": 0.04705077037215233, + "elapsed": 641.883561372757 + }, + { + "step": 1872, + "loss": 0.516182541847229, + "error": 0.263671875, + "gradient_norm": 0.08828777819871902, + "elapsed": 646.5188939571381 + }, + { + "step": 1888, + "loss": 0.48386621475219727, + "error": 0.25390625, + "gradient_norm": 0.05322824418544769, + "elapsed": 651.148512840271 + }, + { + "step": 1904, + "loss": 0.6141921281814575, + "error": 0.388671875, + "gradient_norm": 0.050139278173446655, + "elapsed": 655.7796437740326 + }, + { + "step": 1920, + "loss": 0.18002840876579285, + "error": 0.0712890625, + "gradient_norm": 0.04201133921742439, + "elapsed": 660.4064948558807 + }, + { + "step": 1936, + "loss": 0.17531852424144745, + "error": 0.0732421875, + "gradient_norm": 0.024726318195462227, + "elapsed": 664.9991583824158 + }, + { + "step": 1952, + "loss": 0.5088322758674622, + "error": 0.2744140625, + "gradient_norm": 0.04693225398659706, + "elapsed": 669.5544555187225 + }, + { + "step": 1968, + "loss": 0.5684165358543396, + "error": 0.3310546875, + "gradient_norm": 0.031029095873236656, + "elapsed": 674.2354445457458 + }, + { + "step": 1984, + "loss": 0.06459524482488632, + "error": 0.017578125, + "gradient_norm": 0.03600892797112465, + "elapsed": 678.7982559204102 + }, + { + "step": 2000, + "loss": 0.3614455461502075, + "error": 0.1748046875, + "gradient_norm": 0.07060294598340988, + "elapsed": 683.2650325298309 + }, + { + "step": 2016, + "loss": 0.35535523295402527, + "error": 0.166015625, + "gradient_norm": 0.05873403698205948, + "elapsed": 687.7125518321991 + }, + { + "step": 2032, + "loss": 0.5638720989227295, + "error": 0.3232421875, + "gradient_norm": 0.07380504906177521, + "elapsed": 692.1461188793182 + }, + { + "step": 2048, + "loss": 0.5301838517189026, + "error": 0.2919921875, + "gradient_norm": 0.05435395985841751, + "elapsed": 696.6235508918762 + } + ] + }, + "loss": "Binary conditional logical likelihood computed by exact frontier elimination", + "validation_shots_per_condition": 1024, + "uniform_validation": true, + "uniform_validation_seed": 20261028, + "test_data_used": false, + "log": [ + { + "step": 1, + "loss": 0.250907301902771, + "error": 0.1083984375, + "gradient_norm": 0.07171476632356644, + "elapsed": 44.811134576797485 + }, + { + "step": 16, + "loss": 0.5958679914474487, + "error": 0.3662109375, + "gradient_norm": 0.07673005014657974, + "elapsed": 49.90856671333313 + }, + { + "step": 32, + "loss": 0.47648972272872925, + "error": 0.2421875, + "gradient_norm": 0.08561501652002335, + "elapsed": 55.179388761520386 + }, + { + "step": 48, + "loss": 0.06145006790757179, + "error": 0.0234375, + "gradient_norm": 0.01556467730551958, + "elapsed": 61.0339195728302 + }, + { + "step": 64, + "loss": 0.3687053918838501, + "error": 0.1884765625, + "gradient_norm": 0.08752371370792389, + "elapsed": 65.95811891555786 + }, + { + "step": 80, + "loss": 0.6481984853744507, + "error": 0.4140625, + "gradient_norm": 0.05311283841729164, + "elapsed": 70.56021332740784 + }, + { + "step": 96, + "loss": 0.42319929599761963, + "error": 0.2138671875, + "gradient_norm": 0.05047478526830673, + "elapsed": 75.11613631248474 + }, + { + "step": 112, + "loss": 0.47527259588241577, + "error": 0.24609375, + "gradient_norm": 0.038366906344890594, + "elapsed": 79.53446984291077 + }, + { + "step": 128, + "loss": 0.5996723175048828, + "error": 0.3369140625, + "gradient_norm": 0.1213272362947464, + "elapsed": 83.97515749931335 + }, + { + "step": 144, + "loss": 0.04971993714570999, + "error": 0.0146484375, + "gradient_norm": 0.008080735802650452, + "elapsed": 88.44039463996887 + }, + { + "step": 160, + "loss": 0.35900360345840454, + "error": 0.162109375, + "gradient_norm": 0.03359593451023102, + "elapsed": 92.89548206329346 + }, + { + "step": 176, + "loss": 0.5342063903808594, + "error": 0.2978515625, + "gradient_norm": 0.04794691130518913, + "elapsed": 97.35658049583435 + }, + { + "step": 192, + "loss": 0.6300076246261597, + "error": 0.369140625, + "gradient_norm": 0.081769198179245, + "elapsed": 101.81493759155273 + }, + { + "step": 208, + "loss": 0.6191903948783875, + "error": 0.3828125, + "gradient_norm": 0.07145775109529495, + "elapsed": 106.2480263710022 + }, + { + "step": 224, + "loss": 0.5155678391456604, + "error": 0.28515625, + "gradient_norm": 0.06772179156541824, + "elapsed": 110.71284222602844 + }, + { + "step": 240, + "loss": 0.634708046913147, + "error": 0.3857421875, + "gradient_norm": 0.09493093192577362, + "elapsed": 115.14978742599487 + }, + { + "step": 256, + "loss": 0.1840895414352417, + "error": 0.0751953125, + "gradient_norm": 0.025586696341633797, + "elapsed": 119.61202120780945 + }, + { + "step": 272, + "loss": 0.2775103449821472, + "error": 0.12890625, + "gradient_norm": 0.06913147866725922, + "elapsed": 124.02584528923035 + }, + { + "step": 288, + "loss": 0.6163080334663391, + "error": 0.3642578125, + "gradient_norm": 0.05895426496863365, + "elapsed": 128.46512532234192 + }, + { + "step": 304, + "loss": 0.5276986360549927, + "error": 0.287109375, + "gradient_norm": 0.06955187022686005, + "elapsed": 132.89240765571594 + }, + { + "step": 320, + "loss": 0.44859516620635986, + "error": 0.22265625, + "gradient_norm": 0.07272452116012573, + "elapsed": 137.32864713668823 + }, + { + "step": 336, + "loss": 0.48315611481666565, + "error": 0.2626953125, + "gradient_norm": 0.03321139141917229, + "elapsed": 141.80009770393372 + }, + { + "step": 352, + "loss": 0.6107717752456665, + "error": 0.3544921875, + "gradient_norm": 0.05243214592337608, + "elapsed": 146.36439752578735 + }, + { + "step": 368, + "loss": 0.6215153932571411, + "error": 0.357421875, + "gradient_norm": 0.04383325204253197, + "elapsed": 150.99996852874756 + }, + { + "step": 384, + "loss": 0.6130329966545105, + "error": 0.35546875, + "gradient_norm": 0.04113119840621948, + "elapsed": 155.62374639511108 + }, + { + "step": 400, + "loss": 0.30471885204315186, + "error": 0.142578125, + "gradient_norm": 0.04447556659579277, + "elapsed": 160.17594957351685 + }, + { + "step": 416, + "loss": 0.6154489517211914, + "error": 0.37109375, + "gradient_norm": 0.04456057772040367, + "elapsed": 164.7639675140381 + }, + { + "step": 432, + "loss": 0.6134694218635559, + "error": 0.337890625, + "gradient_norm": 0.04219559207558632, + "elapsed": 169.32792139053345 + }, + { + "step": 448, + "loss": 0.5463185906410217, + "error": 0.2939453125, + "gradient_norm": 0.07746092975139618, + "elapsed": 173.88445162773132 + }, + { + "step": 464, + "loss": 0.06016772612929344, + "error": 0.01953125, + "gradient_norm": 0.01364185381680727, + "elapsed": 178.42725706100464 + }, + { + "step": 480, + "loss": 0.388141393661499, + "error": 0.18359375, + "gradient_norm": 0.04870256036520004, + "elapsed": 182.99062085151672 + }, + { + "step": 496, + "loss": 0.44524821639060974, + "error": 0.2216796875, + "gradient_norm": 0.03453445807099342, + "elapsed": 187.56396961212158 + }, + { + "step": 512, + "loss": 0.34312355518341064, + "error": 0.154296875, + "gradient_norm": 0.06794509291648865, + "elapsed": 192.27511191368103 + }, + { + "step": 528, + "loss": 0.19467462599277496, + "error": 0.0771484375, + "gradient_norm": 0.042381469160318375, + "elapsed": 197.7108268737793 + }, + { + "step": 544, + "loss": 0.46226584911346436, + "error": 0.2421875, + "gradient_norm": 0.06073570251464844, + "elapsed": 202.97405791282654 + }, + { + "step": 560, + "loss": 0.525318443775177, + "error": 0.2822265625, + "gradient_norm": 0.06954885274171829, + "elapsed": 208.69676971435547 + }, + { + "step": 576, + "loss": 0.6158387064933777, + "error": 0.349609375, + "gradient_norm": 0.07587578892707825, + "elapsed": 214.80397653579712 + }, + { + "step": 592, + "loss": 0.5515886545181274, + "error": 0.298828125, + "gradient_norm": 0.04969338700175285, + "elapsed": 220.27399611473083 + }, + { + "step": 608, + "loss": 0.18365338444709778, + "error": 0.0654296875, + "gradient_norm": 0.08657706528902054, + "elapsed": 224.81246256828308 + }, + { + "step": 624, + "loss": 0.4578855633735657, + "error": 0.2421875, + "gradient_norm": 0.04942100867629051, + "elapsed": 229.45902252197266 + }, + { + "step": 640, + "loss": 0.37826013565063477, + "error": 0.1865234375, + "gradient_norm": 0.047499872744083405, + "elapsed": 233.9695644378662 + }, + { + "step": 656, + "loss": 0.40863412618637085, + "error": 0.2001953125, + "gradient_norm": 0.07845330238342285, + "elapsed": 238.584894657135 + }, + { + "step": 672, + "loss": 0.5640332698822021, + "error": 0.2880859375, + "gradient_norm": 0.057469289749860764, + "elapsed": 243.0929844379425 + }, + { + "step": 688, + "loss": 0.030216243118047714, + "error": 0.0078125, + "gradient_norm": 0.04682641476392746, + "elapsed": 247.581125497818 + }, + { + "step": 704, + "loss": 0.375002384185791, + "error": 0.1826171875, + "gradient_norm": 0.04864194989204407, + "elapsed": 252.1564691066742 + }, + { + "step": 720, + "loss": 0.5145515203475952, + "error": 0.2744140625, + "gradient_norm": 0.052671682089567184, + "elapsed": 256.6466488838196 + }, + { + "step": 736, + "loss": 0.067174531519413, + "error": 0.0224609375, + "gradient_norm": 0.019299577921628952, + "elapsed": 261.1185076236725 + }, + { + "step": 752, + "loss": 0.24909992516040802, + "error": 0.111328125, + "gradient_norm": 0.06907463818788528, + "elapsed": 265.61960339546204 + }, + { + "step": 768, + "loss": 0.5088074207305908, + "error": 0.2744140625, + "gradient_norm": 0.06963017582893372, + "elapsed": 270.07474064826965 + }, + { + "step": 784, + "loss": 0.3783387839794159, + "error": 0.1826171875, + "gradient_norm": 0.05537794530391693, + "elapsed": 274.52722239494324 + }, + { + "step": 800, + "loss": 0.6107200980186462, + "error": 0.3623046875, + "gradient_norm": 0.0470259003341198, + "elapsed": 279.0401859283447 + }, + { + "step": 816, + "loss": 0.5778236389160156, + "error": 0.3212890625, + "gradient_norm": 0.10146680474281311, + "elapsed": 283.5114622116089 + }, + { + "step": 832, + "loss": 0.576002299785614, + "error": 0.3076171875, + "gradient_norm": 0.07760787010192871, + "elapsed": 288.04797434806824 + }, + { + "step": 848, + "loss": 0.6179666519165039, + "error": 0.3740234375, + "gradient_norm": 0.07383852452039719, + "elapsed": 292.60600209236145 + }, + { + "step": 864, + "loss": 0.3105512857437134, + "error": 0.1455078125, + "gradient_norm": 0.052953749895095825, + "elapsed": 297.12180352211 + }, + { + "step": 880, + "loss": 0.4802623987197876, + "error": 0.2548828125, + "gradient_norm": 0.07736275345087051, + "elapsed": 301.6091134548187 + }, + { + "step": 896, + "loss": 0.5572722554206848, + "error": 0.318359375, + "gradient_norm": 0.053303152322769165, + "elapsed": 306.1978073120117 + }, + { + "step": 912, + "loss": 0.34814420342445374, + "error": 0.1669921875, + "gradient_norm": 0.037726350128650665, + "elapsed": 310.78571581840515 + }, + { + "step": 928, + "loss": 0.41743016242980957, + "error": 0.21875, + "gradient_norm": 0.05238872766494751, + "elapsed": 315.24156188964844 + }, + { + "step": 944, + "loss": 0.5757850408554077, + "error": 0.3173828125, + "gradient_norm": 0.05837905779480934, + "elapsed": 319.78475165367126 + }, + { + "step": 960, + "loss": 0.40727972984313965, + "error": 0.197265625, + "gradient_norm": 0.059294261038303375, + "elapsed": 324.2090265750885 + }, + { + "step": 976, + "loss": 0.32715001702308655, + "error": 0.1533203125, + "gradient_norm": 0.11543179303407669, + "elapsed": 328.6462152004242 + }, + { + "step": 992, + "loss": 0.5578742623329163, + "error": 0.314453125, + "gradient_norm": 0.06282714009284973, + "elapsed": 333.0712504386902 + }, + { + "step": 1008, + "loss": 0.5052692294120789, + "error": 0.265625, + "gradient_norm": 0.04039420187473297, + "elapsed": 337.5182821750641 + }, + { + "step": 1024, + "loss": 0.18790806829929352, + "error": 0.08203125, + "gradient_norm": 0.028905188664793968, + "elapsed": 342.08340406417847 + }, + { + "step": 1040, + "loss": 0.6317684650421143, + "error": 0.3681640625, + "gradient_norm": 0.03441835194826126, + "elapsed": 358.8279616832733 + }, + { + "step": 1056, + "loss": 0.40474164485931396, + "error": 0.2021484375, + "gradient_norm": 0.036449309438467026, + "elapsed": 363.30218267440796 + }, + { + "step": 1072, + "loss": 0.518299400806427, + "error": 0.2666015625, + "gradient_norm": 0.0886964276432991, + "elapsed": 367.87997555732727 + }, + { + "step": 1088, + "loss": 0.2522922158241272, + "error": 0.099609375, + "gradient_norm": 0.07553310692310333, + "elapsed": 372.4414882659912 + }, + { + "step": 1104, + "loss": 0.6214810609817505, + "error": 0.3701171875, + "gradient_norm": 0.10188957303762436, + "elapsed": 376.9120502471924 + }, + { + "step": 1120, + "loss": 0.6307054162025452, + "error": 0.3720703125, + "gradient_norm": 0.07353860139846802, + "elapsed": 381.3824534416199 + }, + { + "step": 1136, + "loss": 0.5259381532669067, + "error": 0.2763671875, + "gradient_norm": 0.05779678374528885, + "elapsed": 385.8413143157959 + }, + { + "step": 1152, + "loss": 0.4995541572570801, + "error": 0.259765625, + "gradient_norm": 0.046648140996694565, + "elapsed": 390.28326058387756 + }, + { + "step": 1168, + "loss": 0.6075694561004639, + "error": 0.3701171875, + "gradient_norm": 0.10612073540687561, + "elapsed": 394.8162364959717 + }, + { + "step": 1184, + "loss": 0.2105136513710022, + "error": 0.080078125, + "gradient_norm": 0.0716402605175972, + "elapsed": 399.2960283756256 + }, + { + "step": 1200, + "loss": 0.6371631026268005, + "error": 0.3857421875, + "gradient_norm": 0.0549108125269413, + "elapsed": 403.7899103164673 + }, + { + "step": 1216, + "loss": 0.5450670719146729, + "error": 0.2939453125, + "gradient_norm": 0.11688558012247086, + "elapsed": 408.34677600860596 + }, + { + "step": 1232, + "loss": 0.035783201456069946, + "error": 0.01171875, + "gradient_norm": 0.02951689623296261, + "elapsed": 412.8558337688446 + }, + { + "step": 1248, + "loss": 0.5582903623580933, + "error": 0.3046875, + "gradient_norm": 0.055107031017541885, + "elapsed": 417.29854226112366 + }, + { + "step": 1264, + "loss": 0.5154441595077515, + "error": 0.27734375, + "gradient_norm": 0.04474929720163345, + "elapsed": 421.7792055606842 + }, + { + "step": 1280, + "loss": 0.35227546095848083, + "error": 0.16015625, + "gradient_norm": 0.05024837702512741, + "elapsed": 426.54427456855774 + }, + { + "step": 1296, + "loss": 0.19417589902877808, + "error": 0.0830078125, + "gradient_norm": 0.026926057413220406, + "elapsed": 431.320588350296 + }, + { + "step": 1312, + "loss": 0.4768218398094177, + "error": 0.248046875, + "gradient_norm": 0.15099607408046722, + "elapsed": 435.96817326545715 + }, + { + "step": 1328, + "loss": 0.48580923676490784, + "error": 0.2509765625, + "gradient_norm": 0.08925126492977142, + "elapsed": 440.64917039871216 + }, + { + "step": 1344, + "loss": 0.42041274905204773, + "error": 0.1982421875, + "gradient_norm": 0.08321093022823334, + "elapsed": 445.34370946884155 + }, + { + "step": 1360, + "loss": 0.06403929740190506, + "error": 0.0185546875, + "gradient_norm": 0.03817005455493927, + "elapsed": 449.98669385910034 + }, + { + "step": 1376, + "loss": 0.463126003742218, + "error": 0.2275390625, + "gradient_norm": 0.08894515782594681, + "elapsed": 454.6478977203369 + }, + { + "step": 1392, + "loss": 0.5995306968688965, + "error": 0.373046875, + "gradient_norm": 0.06733685731887817, + "elapsed": 459.35924530029297 + }, + { + "step": 1408, + "loss": 0.49053263664245605, + "error": 0.25, + "gradient_norm": 0.10475508868694305, + "elapsed": 464.100093126297 + }, + { + "step": 1424, + "loss": 0.6220744848251343, + "error": 0.3818359375, + "gradient_norm": 0.03653963655233383, + "elapsed": 468.89601135253906 + }, + { + "step": 1440, + "loss": 0.39706122875213623, + "error": 0.2021484375, + "gradient_norm": 0.04344598576426506, + "elapsed": 474.03999519348145 + }, + { + "step": 1456, + "loss": 0.5386708974838257, + "error": 0.3095703125, + "gradient_norm": 0.12589037418365479, + "elapsed": 478.8600504398346 + }, + { + "step": 1472, + "loss": 0.49776726961135864, + "error": 0.271484375, + "gradient_norm": 0.058137863874435425, + "elapsed": 483.5920066833496 + }, + { + "step": 1488, + "loss": 0.4757428765296936, + "error": 0.2412109375, + "gradient_norm": 0.050453316420316696, + "elapsed": 488.4611999988556 + }, + { + "step": 1504, + "loss": 0.5694847702980042, + "error": 0.337890625, + "gradient_norm": 0.052419569343328476, + "elapsed": 493.26151037216187 + }, + { + "step": 1520, + "loss": 0.5997745990753174, + "error": 0.3603515625, + "gradient_norm": 0.04338108375668526, + "elapsed": 498.0421245098114 + }, + { + "step": 1536, + "loss": 0.6195274591445923, + "error": 0.3876953125, + "gradient_norm": 0.04848463833332062, + "elapsed": 502.8808298110962 + }, + { + "step": 1552, + "loss": 0.46315908432006836, + "error": 0.2353515625, + "gradient_norm": 0.06380566209554672, + "elapsed": 507.5519721508026 + }, + { + "step": 1568, + "loss": 0.605262041091919, + "error": 0.36328125, + "gradient_norm": 0.05077619478106499, + "elapsed": 512.457685470581 + }, + { + "step": 1584, + "loss": 0.48782041668891907, + "error": 0.232421875, + "gradient_norm": 0.09017211943864822, + "elapsed": 517.2960062026978 + }, + { + "step": 1600, + "loss": 0.3881351947784424, + "error": 0.1875, + "gradient_norm": 0.07205695658922195, + "elapsed": 522.0911631584167 + }, + { + "step": 1616, + "loss": 0.4966873526573181, + "error": 0.24609375, + "gradient_norm": 0.0582038015127182, + "elapsed": 526.8861901760101 + }, + { + "step": 1632, + "loss": 0.5844199657440186, + "error": 0.33203125, + "gradient_norm": 0.05101500824093819, + "elapsed": 531.6640138626099 + }, + { + "step": 1648, + "loss": 0.31010180711746216, + "error": 0.1318359375, + "gradient_norm": 0.053135693073272705, + "elapsed": 536.4960391521454 + }, + { + "step": 1664, + "loss": 0.6174807548522949, + "error": 0.3779296875, + "gradient_norm": 0.04161194711923599, + "elapsed": 541.2560484409332 + }, + { + "step": 1680, + "loss": 0.18213607370853424, + "error": 0.0751953125, + "gradient_norm": 0.07171957194805145, + "elapsed": 546.0000085830688 + }, + { + "step": 1696, + "loss": 0.5445692539215088, + "error": 0.2998046875, + "gradient_norm": 0.054499462246894836, + "elapsed": 551.1221191883087 + }, + { + "step": 1712, + "loss": 0.05744167044758797, + "error": 0.017578125, + "gradient_norm": 0.013108699582517147, + "elapsed": 556.5286149978638 + }, + { + "step": 1728, + "loss": 0.6381571292877197, + "error": 0.3896484375, + "gradient_norm": 0.05157556012272835, + "elapsed": 561.8000066280365 + }, + { + "step": 1744, + "loss": 0.5301004648208618, + "error": 0.28125, + "gradient_norm": 0.04218568280339241, + "elapsed": 567.2760035991669 + }, + { + "step": 1760, + "loss": 0.5275102257728577, + "error": 0.26953125, + "gradient_norm": 0.06798839569091797, + "elapsed": 572.5601994991302 + }, + { + "step": 1776, + "loss": 0.6443773508071899, + "error": 0.4091796875, + "gradient_norm": 0.07035460323095322, + "elapsed": 577.9789206981659 + }, + { + "step": 1792, + "loss": 0.6012362241744995, + "error": 0.337890625, + "gradient_norm": 0.05189951881766319, + "elapsed": 583.028017282486 + }, + { + "step": 1808, + "loss": 0.2939091920852661, + "error": 0.12109375, + "gradient_norm": 0.05555355176329613, + "elapsed": 588.0501506328583 + }, + { + "step": 1824, + "loss": 0.2059091478586197, + "error": 0.08984375, + "gradient_norm": 0.045679714530706406, + "elapsed": 593.2120039463043 + }, + { + "step": 1840, + "loss": 0.6289581060409546, + "error": 0.349609375, + "gradient_norm": 0.04742642492055893, + "elapsed": 598.7767763137817 + }, + { + "step": 1856, + "loss": 0.5532636642456055, + "error": 0.294921875, + "gradient_norm": 0.05997413396835327, + "elapsed": 604.0475382804871 + }, + { + "step": 1872, + "loss": 0.45995670557022095, + "error": 0.228515625, + "gradient_norm": 0.05674462765455246, + "elapsed": 609.292379617691 + }, + { + "step": 1888, + "loss": 0.6178656816482544, + "error": 0.359375, + "gradient_norm": 0.08857566863298416, + "elapsed": 614.5639882087708 + }, + { + "step": 1904, + "loss": 0.5531284213066101, + "error": 0.287109375, + "gradient_norm": 0.10257937759160995, + "elapsed": 619.5600035190582 + }, + { + "step": 1920, + "loss": 0.04184349626302719, + "error": 0.013671875, + "gradient_norm": 0.04087059944868088, + "elapsed": 624.6679775714874 + }, + { + "step": 1936, + "loss": 0.5924860239028931, + "error": 0.3505859375, + "gradient_norm": 0.036822713911533356, + "elapsed": 629.936680316925 + }, + { + "step": 1952, + "loss": 0.46996980905532837, + "error": 0.2421875, + "gradient_norm": 0.034442272037267685, + "elapsed": 635.1109762191772 + }, + { + "step": 1968, + "loss": 0.17859068512916565, + "error": 0.0712890625, + "gradient_norm": 0.03440066799521446, + "elapsed": 640.32000207901 + }, + { + "step": 1984, + "loss": 0.6192275285720825, + "error": 0.3701171875, + "gradient_norm": 0.04386439174413681, + "elapsed": 645.6040184497833 + }, + { + "step": 2000, + "loss": 0.6160917282104492, + "error": 0.35546875, + "gradient_norm": 0.06268990784883499, + "elapsed": 650.7723731994629 + }, + { + "step": 2016, + "loss": 0.6343611478805542, + "error": 0.388671875, + "gradient_norm": 0.04243326932191849, + "elapsed": 655.972663640976 + }, + { + "step": 2032, + "loss": 0.062292590737342834, + "error": 0.021484375, + "gradient_norm": 0.016680095344781876, + "elapsed": 660.8079733848572 + }, + { + "step": 2048, + "loss": 0.5316072702407837, + "error": 0.26953125, + "gradient_norm": 0.057860780507326126, + "elapsed": 665.5760209560394 + }, + { + "step": 2064, + "loss": 0.605312705039978, + "error": 0.3623046875, + "gradient_norm": 0.04028146713972092, + "elapsed": 682.7294294834137 + }, + { + "step": 2080, + "loss": 0.56633460521698, + "error": 0.3330078125, + "gradient_norm": 0.09528280049562454, + "elapsed": 687.4644649028778 + }, + { + "step": 2096, + "loss": 0.3905397057533264, + "error": 0.1943359375, + "gradient_norm": 0.049456462264060974, + "elapsed": 692.1492264270782 + }, + { + "step": 2112, + "loss": 0.28124868869781494, + "error": 0.1259765625, + "gradient_norm": 0.059239838272333145, + "elapsed": 696.8701393604279 + }, + { + "step": 2128, + "loss": 0.6364338994026184, + "error": 0.392578125, + "gradient_norm": 0.08667811006307602, + "elapsed": 701.683988571167 + }, + { + "step": 2144, + "loss": 0.20683243870735168, + "error": 0.07421875, + "gradient_norm": 0.1100710779428482, + "elapsed": 706.4000360965729 + }, + { + "step": 2160, + "loss": 0.5912737250328064, + "error": 0.341796875, + "gradient_norm": 0.05641854554414749, + "elapsed": 711.2359964847565 + }, + { + "step": 2176, + "loss": 0.27793264389038086, + "error": 0.12109375, + "gradient_norm": 0.0893034040927887, + "elapsed": 715.9508004188538 + }, + { + "step": 2192, + "loss": 0.6474133133888245, + "error": 0.4072265625, + "gradient_norm": 0.06980258971452713, + "elapsed": 720.651974439621 + }, + { + "step": 2208, + "loss": 0.5961858630180359, + "error": 0.35546875, + "gradient_norm": 0.06530112773180008, + "elapsed": 725.496098279953 + }, + { + "step": 2224, + "loss": 0.47581571340560913, + "error": 0.263671875, + "gradient_norm": 0.04470043256878853, + "elapsed": 730.2880010604858 + }, + { + "step": 2240, + "loss": 0.577988862991333, + "error": 0.318359375, + "gradient_norm": 0.07201159745454788, + "elapsed": 735.006133556366 + }, + { + "step": 2256, + "loss": 0.28444671630859375, + "error": 0.1181640625, + "gradient_norm": 0.048656050115823746, + "elapsed": 739.6868116855621 + }, + { + "step": 2272, + "loss": 0.2776409089565277, + "error": 0.1201171875, + "gradient_norm": 0.05783981829881668, + "elapsed": 744.3517308235168 + }, + { + "step": 2288, + "loss": 0.621599555015564, + "error": 0.37109375, + "gradient_norm": 0.09731200337409973, + "elapsed": 749.0351710319519 + }, + { + "step": 2304, + "loss": 0.3333754539489746, + "error": 0.1513671875, + "gradient_norm": 0.07069239765405655, + "elapsed": 753.7588081359863 + }, + { + "step": 2320, + "loss": 0.4687051773071289, + "error": 0.2490234375, + "gradient_norm": 0.044891707599163055, + "elapsed": 758.4588432312012 + }, + { + "step": 2336, + "loss": 0.19801637530326843, + "error": 0.078125, + "gradient_norm": 0.10036595165729523, + "elapsed": 763.256409406662 + }, + { + "step": 2352, + "loss": 0.6186277866363525, + "error": 0.388671875, + "gradient_norm": 0.09069584310054779, + "elapsed": 767.9986386299133 + }, + { + "step": 2368, + "loss": 0.6177258491516113, + "error": 0.373046875, + "gradient_norm": 0.049019571393728256, + "elapsed": 772.730831861496 + }, + { + "step": 2384, + "loss": 0.17707547545433044, + "error": 0.0673828125, + "gradient_norm": 0.045190781354904175, + "elapsed": 777.4072704315186 + }, + { + "step": 2400, + "loss": 0.20144733786582947, + "error": 0.08203125, + "gradient_norm": 0.04537162929773331, + "elapsed": 782.0841658115387 + }, + { + "step": 2416, + "loss": 0.6151775121688843, + "error": 0.365234375, + "gradient_norm": 0.050534047186374664, + "elapsed": 786.762966632843 + }, + { + "step": 2432, + "loss": 0.5533859133720398, + "error": 0.314453125, + "gradient_norm": 0.06006559729576111, + "elapsed": 791.4656012058258 + }, + { + "step": 2448, + "loss": 0.5329082012176514, + "error": 0.2880859375, + "gradient_norm": 0.04018115997314453, + "elapsed": 796.1704161167145 + }, + { + "step": 2464, + "loss": 0.6338047981262207, + "error": 0.4140625, + "gradient_norm": 0.06069163978099823, + "elapsed": 800.9180119037628 + }, + { + "step": 2480, + "loss": 0.1603008508682251, + "error": 0.0673828125, + "gradient_norm": 0.040350593626499176, + "elapsed": 805.6127603054047 + }, + { + "step": 2496, + "loss": 0.505940318107605, + "error": 0.2568359375, + "gradient_norm": 0.05209952965378761, + "elapsed": 810.3740313053131 + }, + { + "step": 2512, + "loss": 0.5528728365898132, + "error": 0.298828125, + "gradient_norm": 0.11757992953062057, + "elapsed": 815.1708807945251 + }, + { + "step": 2528, + "loss": 0.5028313994407654, + "error": 0.2666015625, + "gradient_norm": 0.08823780715465546, + "elapsed": 819.8585045337677 + }, + { + "step": 2544, + "loss": 0.5002262592315674, + "error": 0.2783203125, + "gradient_norm": 0.04888603836297989, + "elapsed": 824.5714073181152 + }, + { + "step": 2560, + "loss": 0.6007894277572632, + "error": 0.328125, + "gradient_norm": 0.05186954140663147, + "elapsed": 829.3080432415009 + }, + { + "step": 2576, + "loss": 0.18641480803489685, + "error": 0.076171875, + "gradient_norm": 0.03799928352236748, + "elapsed": 834.044020652771 + }, + { + "step": 2592, + "loss": 0.3050769865512848, + "error": 0.1396484375, + "gradient_norm": 0.10119257122278214, + "elapsed": 838.8401296138763 + }, + { + "step": 2608, + "loss": 0.6063439846038818, + "error": 0.361328125, + "gradient_norm": 0.04979367554187775, + "elapsed": 844.3572654724121 + }, + { + "step": 2624, + "loss": 0.5751967430114746, + "error": 0.3369140625, + "gradient_norm": 0.04269539937376976, + "elapsed": 849.0660374164581 + }, + { + "step": 2640, + "loss": 0.3902108669281006, + "error": 0.193359375, + "gradient_norm": 0.10029696673154831, + "elapsed": 853.8638062477112 + }, + { + "step": 2656, + "loss": 0.15081660449504852, + "error": 0.0625, + "gradient_norm": 0.0303852129727602, + "elapsed": 858.9793758392334 + }, + { + "step": 2672, + "loss": 0.6503090858459473, + "error": 0.400390625, + "gradient_norm": 0.12611964344978333, + "elapsed": 863.9151141643524 + }, + { + "step": 2688, + "loss": 0.5587317943572998, + "error": 0.31640625, + "gradient_norm": 0.10028114914894104, + "elapsed": 868.7600305080414 + }, + { + "step": 2704, + "loss": 0.4399867355823517, + "error": 0.21484375, + "gradient_norm": 0.06889455020427704, + "elapsed": 873.4544236660004 + }, + { + "step": 2720, + "loss": 0.5865127444267273, + "error": 0.337890625, + "gradient_norm": 0.03671631962060928, + "elapsed": 878.0982644557953 + }, + { + "step": 2736, + "loss": 0.6078637838363647, + "error": 0.3701171875, + "gradient_norm": 0.04679318517446518, + "elapsed": 883.0424642562866 + }, + { + "step": 2752, + "loss": 0.5825340151786804, + "error": 0.337890625, + "gradient_norm": 0.05619681254029274, + "elapsed": 887.908124923706 + }, + { + "step": 2768, + "loss": 0.5970422029495239, + "error": 0.3369140625, + "gradient_norm": 0.041302867233753204, + "elapsed": 892.6760206222534 + }, + { + "step": 2784, + "loss": 0.3870226740837097, + "error": 0.1826171875, + "gradient_norm": 0.05731065198779106, + "elapsed": 897.6246056556702 + }, + { + "step": 2800, + "loss": 0.38130277395248413, + "error": 0.1943359375, + "gradient_norm": 0.059244755655527115, + "elapsed": 902.3360238075256 + }, + { + "step": 2816, + "loss": 0.2617901563644409, + "error": 0.1064453125, + "gradient_norm": 0.041736964136362076, + "elapsed": 907.1600468158722 + }, + { + "step": 2832, + "loss": 0.5819337368011475, + "error": 0.314453125, + "gradient_norm": 0.04097156226634979, + "elapsed": 912.0244295597076 + }, + { + "step": 2848, + "loss": 0.41393283009529114, + "error": 0.2001953125, + "gradient_norm": 0.10456771403551102, + "elapsed": 916.8225846290588 + }, + { + "step": 2864, + "loss": 0.5019145011901855, + "error": 0.2548828125, + "gradient_norm": 0.04843736067414284, + "elapsed": 921.538754940033 + }, + { + "step": 2880, + "loss": 0.04561338573694229, + "error": 0.0146484375, + "gradient_norm": 0.025407327339053154, + "elapsed": 926.2588667869568 + }, + { + "step": 2896, + "loss": 0.4338858723640442, + "error": 0.205078125, + "gradient_norm": 0.09900517761707306, + "elapsed": 930.9781975746155 + }, + { + "step": 2912, + "loss": 0.33922863006591797, + "error": 0.162109375, + "gradient_norm": 0.10189604014158249, + "elapsed": 935.6816267967224 + }, + { + "step": 2928, + "loss": 0.5294322967529297, + "error": 0.2822265625, + "gradient_norm": 0.09060791879892349, + "elapsed": 940.4373068809509 + }, + { + "step": 2944, + "loss": 0.037007369101047516, + "error": 0.01171875, + "gradient_norm": 0.05506489425897598, + "elapsed": 945.1270468235016 + }, + { + "step": 2960, + "loss": 0.6096771359443665, + "error": 0.349609375, + "gradient_norm": 0.04987221211194992, + "elapsed": 949.8300130367279 + }, + { + "step": 2976, + "loss": 0.6157823801040649, + "error": 0.373046875, + "gradient_norm": 0.03614233434200287, + "elapsed": 954.5701997280121 + }, + { + "step": 2992, + "loss": 0.1978239268064499, + "error": 0.080078125, + "gradient_norm": 0.05847112461924553, + "elapsed": 959.2756471633911 + }, + { + "step": 3008, + "loss": 0.5237340927124023, + "error": 0.2841796875, + "gradient_norm": 0.06993591040372849, + "elapsed": 963.9875864982605 + }, + { + "step": 3024, + "loss": 0.4559935927391052, + "error": 0.2373046875, + "gradient_norm": 0.05698448419570923, + "elapsed": 968.7997305393219 + }, + { + "step": 3040, + "loss": 0.5025208592414856, + "error": 0.259765625, + "gradient_norm": 0.14909739792346954, + "elapsed": 973.6042547225952 + }, + { + "step": 3056, + "loss": 0.3223109245300293, + "error": 0.1416015625, + "gradient_norm": 0.032974764704704285, + "elapsed": 978.4760546684265 + }, + { + "step": 3072, + "loss": 0.06682582199573517, + "error": 0.021484375, + "gradient_norm": 0.04433188587427139, + "elapsed": 983.2894048690796 + }, + { + "step": 3088, + "loss": 0.5919550061225891, + "error": 0.34765625, + "gradient_norm": 0.06721373647451401, + "elapsed": 1000.9520287513733 + }, + { + "step": 3104, + "loss": 0.5988063812255859, + "error": 0.3642578125, + "gradient_norm": 0.05654948577284813, + "elapsed": 1005.7442932128906 + }, + { + "step": 3120, + "loss": 0.4922299385070801, + "error": 0.2470703125, + "gradient_norm": 0.07545466721057892, + "elapsed": 1010.4616096019745 + }, + { + "step": 3136, + "loss": 0.4533671736717224, + "error": 0.236328125, + "gradient_norm": 0.06288722902536392, + "elapsed": 1015.3559956550598 + }, + { + "step": 3152, + "loss": 0.5070517063140869, + "error": 0.2666015625, + "gradient_norm": 0.07274917513132095, + "elapsed": 1020.0764343738556 + }, + { + "step": 3168, + "loss": 0.5999464988708496, + "error": 0.3408203125, + "gradient_norm": 0.05777016654610634, + "elapsed": 1024.9410600662231 + }, + { + "step": 3184, + "loss": 0.5758363008499146, + "error": 0.3427734375, + "gradient_norm": 0.051027461886405945, + "elapsed": 1029.7082171440125 + }, + { + "step": 3200, + "loss": 0.05016190931200981, + "error": 0.017578125, + "gradient_norm": 0.009175656363368034, + "elapsed": 1034.3982915878296 + }, + { + "step": 3216, + "loss": 0.5471057295799255, + "error": 0.318359375, + "gradient_norm": 0.07572721689939499, + "elapsed": 1039.117841243744 + }, + { + "step": 3232, + "loss": 0.4141446352005005, + "error": 0.193359375, + "gradient_norm": 0.10056859254837036, + "elapsed": 1043.880026102066 + }, + { + "step": 3248, + "loss": 0.5812438726425171, + "error": 0.3212890625, + "gradient_norm": 0.05781616270542145, + "elapsed": 1048.6406455039978 + }, + { + "step": 3264, + "loss": 0.19184701144695282, + "error": 0.078125, + "gradient_norm": 0.05367236211895943, + "elapsed": 1053.5672237873077 + }, + { + "step": 3280, + "loss": 0.5420833826065063, + "error": 0.28515625, + "gradient_norm": 0.052405405789613724, + "elapsed": 1058.3841104507446 + }, + { + "step": 3296, + "loss": 0.4419598877429962, + "error": 0.2177734375, + "gradient_norm": 0.05814693495631218, + "elapsed": 1063.1880333423615 + }, + { + "step": 3312, + "loss": 0.4525642991065979, + "error": 0.208984375, + "gradient_norm": 0.1061021164059639, + "elapsed": 1068.1370933055878 + }, + { + "step": 3328, + "loss": 0.32664671540260315, + "error": 0.154296875, + "gradient_norm": 0.05649850144982338, + "elapsed": 1073.1963467597961 + }, + { + "step": 3344, + "loss": 0.2655770182609558, + "error": 0.1220703125, + "gradient_norm": 0.04070372134447098, + "elapsed": 1078.2698318958282 + }, + { + "step": 3360, + "loss": 0.5894330739974976, + "error": 0.3544921875, + "gradient_norm": 0.0643400028347969, + "elapsed": 1083.0184152126312 + }, + { + "step": 3376, + "loss": 0.6118791103363037, + "error": 0.361328125, + "gradient_norm": 0.08537904173135757, + "elapsed": 1087.834038734436 + }, + { + "step": 3392, + "loss": 0.40694907307624817, + "error": 0.19921875, + "gradient_norm": 0.11411692947149277, + "elapsed": 1092.8119947910309 + }, + { + "step": 3408, + "loss": 0.04629015550017357, + "error": 0.0146484375, + "gradient_norm": 0.017204072326421738, + "elapsed": 1097.5751783847809 + }, + { + "step": 3424, + "loss": 0.20639702677726746, + "error": 0.0849609375, + "gradient_norm": 0.04801144450902939, + "elapsed": 1102.2970931529999 + }, + { + "step": 3440, + "loss": 0.6051071286201477, + "error": 0.33984375, + "gradient_norm": 0.045392412692308426, + "elapsed": 1107.1080610752106 + }, + { + "step": 3456, + "loss": 0.6553700566291809, + "error": 0.40625, + "gradient_norm": 0.05593863129615784, + "elapsed": 1111.8409752845764 + }, + { + "step": 3472, + "loss": 0.591402530670166, + "error": 0.3515625, + "gradient_norm": 0.051181379705667496, + "elapsed": 1116.5800333023071 + }, + { + "step": 3488, + "loss": 0.30494624376296997, + "error": 0.12109375, + "gradient_norm": 0.05175542086362839, + "elapsed": 1121.276373386383 + }, + { + "step": 3504, + "loss": 0.5065370798110962, + "error": 0.279296875, + "gradient_norm": 0.10419930517673492, + "elapsed": 1125.9883344173431 + }, + { + "step": 3520, + "loss": 0.3915700614452362, + "error": 0.1953125, + "gradient_norm": 0.060416825115680695, + "elapsed": 1130.7958455085754 + }, + { + "step": 3536, + "loss": 0.624374270439148, + "error": 0.3759765625, + "gradient_norm": 0.06069556251168251, + "elapsed": 1135.5360939502716 + }, + { + "step": 3552, + "loss": 0.5830206274986267, + "error": 0.3359375, + "gradient_norm": 0.046013280749320984, + "elapsed": 1140.312029838562 + }, + { + "step": 3568, + "loss": 0.4201379716396332, + "error": 0.2119140625, + "gradient_norm": 0.06909621506929398, + "elapsed": 1145.0904593467712 + }, + { + "step": 3584, + "loss": 0.28215405344963074, + "error": 0.1181640625, + "gradient_norm": 0.07625982910394669, + "elapsed": 1149.8156151771545 + }, + { + "step": 3600, + "loss": 0.5229164361953735, + "error": 0.275390625, + "gradient_norm": 0.055048178881406784, + "elapsed": 1154.5280592441559 + }, + { + "step": 3616, + "loss": 0.47238075733184814, + "error": 0.2314453125, + "gradient_norm": 0.06473162025213242, + "elapsed": 1159.2720873355865 + }, + { + "step": 3632, + "loss": 0.46245503425598145, + "error": 0.228515625, + "gradient_norm": 0.07382887601852417, + "elapsed": 1164.0119998455048 + }, + { + "step": 3648, + "loss": 0.37509745359420776, + "error": 0.171875, + "gradient_norm": 0.051260266453027725, + "elapsed": 1168.7440350055695 + }, + { + "step": 3664, + "loss": 0.1948484629392624, + "error": 0.080078125, + "gradient_norm": 0.059623416513204575, + "elapsed": 1173.3906588554382 + }, + { + "step": 3680, + "loss": 0.5552756786346436, + "error": 0.3115234375, + "gradient_norm": 0.08073585480451584, + "elapsed": 1178.0645008087158 + }, + { + "step": 3696, + "loss": 0.6405904293060303, + "error": 0.39453125, + "gradient_norm": 0.05899551138281822, + "elapsed": 1182.730489730835 + }, + { + "step": 3712, + "loss": 0.2767012119293213, + "error": 0.119140625, + "gradient_norm": 0.06593579798936844, + "elapsed": 1187.377315044403 + }, + { + "step": 3728, + "loss": 0.315812885761261, + "error": 0.134765625, + "gradient_norm": 0.035905495285987854, + "elapsed": 1192.0582301616669 + }, + { + "step": 3744, + "loss": 0.6033951640129089, + "error": 0.3544921875, + "gradient_norm": 0.05226197466254234, + "elapsed": 1196.7101175785065 + }, + { + "step": 3760, + "loss": 0.5202592611312866, + "error": 0.275390625, + "gradient_norm": 0.06367512047290802, + "elapsed": 1201.3543090820312 + }, + { + "step": 3776, + "loss": 0.24639368057250977, + "error": 0.1083984375, + "gradient_norm": 0.09370873868465424, + "elapsed": 1206.0717165470123 + }, + { + "step": 3792, + "loss": 0.6175658702850342, + "error": 0.375, + "gradient_norm": 0.06221585348248482, + "elapsed": 1210.754029750824 + }, + { + "step": 3808, + "loss": 0.41153696179389954, + "error": 0.2119140625, + "gradient_norm": 0.05355365574359894, + "elapsed": 1215.4374370574951 + }, + { + "step": 3824, + "loss": 0.28002214431762695, + "error": 0.1123046875, + "gradient_norm": 0.03846330568194389, + "elapsed": 1220.1207013130188 + }, + { + "step": 3840, + "loss": 0.0484195351600647, + "error": 0.013671875, + "gradient_norm": 0.03470242768526077, + "elapsed": 1224.8153104782104 + }, + { + "step": 3856, + "loss": 0.1407160609960556, + "error": 0.0458984375, + "gradient_norm": 0.04061700031161308, + "elapsed": 1229.5512235164642 + }, + { + "step": 3872, + "loss": 0.5881794691085815, + "error": 0.3427734375, + "gradient_norm": 0.062013477087020874, + "elapsed": 1234.3750183582306 + }, + { + "step": 3888, + "loss": 0.17833612859249115, + "error": 0.06640625, + "gradient_norm": 0.038856204599142075, + "elapsed": 1239.110375881195 + }, + { + "step": 3904, + "loss": 0.06211477518081665, + "error": 0.0224609375, + "gradient_norm": 0.02150108851492405, + "elapsed": 1243.800644159317 + }, + { + "step": 3920, + "loss": 0.06039723381400108, + "error": 0.01953125, + "gradient_norm": 0.019367367029190063, + "elapsed": 1248.4831748008728 + }, + { + "step": 3936, + "loss": 0.6010214686393738, + "error": 0.3525390625, + "gradient_norm": 0.051659151911735535, + "elapsed": 1253.1423478126526 + }, + { + "step": 3952, + "loss": 0.5867137312889099, + "error": 0.3388671875, + "gradient_norm": 0.058528851717710495, + "elapsed": 1257.9799931049347 + }, + { + "step": 3968, + "loss": 0.5231834650039673, + "error": 0.2578125, + "gradient_norm": 0.10128334909677505, + "elapsed": 1262.6990082263947 + }, + { + "step": 3984, + "loss": 0.6251651644706726, + "error": 0.353515625, + "gradient_norm": 0.06211795285344124, + "elapsed": 1267.4289934635162 + }, + { + "step": 4000, + "loss": 0.06667037308216095, + "error": 0.01953125, + "gradient_norm": 0.048018258064985275, + "elapsed": 1272.132089138031 + }, + { + "step": 4016, + "loss": 0.5286938548088074, + "error": 0.2744140625, + "gradient_norm": 0.05509360507130623, + "elapsed": 1276.8878977298737 + }, + { + "step": 4032, + "loss": 0.34016552567481995, + "error": 0.1591796875, + "gradient_norm": 0.07597329467535019, + "elapsed": 1281.7364926338196 + }, + { + "step": 4048, + "loss": 0.17750494182109833, + "error": 0.078125, + "gradient_norm": 0.06314503401517868, + "elapsed": 1286.5033600330353 + }, + { + "step": 4064, + "loss": 0.5882893800735474, + "error": 0.34375, + "gradient_norm": 0.10986580699682236, + "elapsed": 1291.1944887638092 + }, + { + "step": 4080, + "loss": 0.4923543930053711, + "error": 0.2568359375, + "gradient_norm": 0.050325747579336166, + "elapsed": 1295.9372322559357 + }, + { + "step": 4096, + "loss": 0.44146978855133057, + "error": 0.2236328125, + "gradient_norm": 0.06535191088914871, + "elapsed": 1300.641023159027 + } + ] + }, + "training_source_snapshot": "training_sources/temporal2", + "selected_checkpoint_steps": [ + "1024", + "2048", + "4096" + ], + "checkpoint_records": { + "1024": { + "step": 1024, + "new_training_shots": 1048576, + "unique_training_rows_seen_in_this_phase": 804757, + "weights": "weights-1024.npz", + "weights_sha256": "0d809362d5afe1dc781f716e3aee1a9bc5a8f75fed6cc0ff6339b9abcf600ada", + "validation": "validation-1024.json", + "complete": true + }, + "2048": { + "step": 2048, + "new_training_shots": 2097152, + "unique_training_rows_seen_in_this_phase": 1293629, + "weights": "weights-2048.npz", + "weights_sha256": "ab1175f9ef7ed52106ce1127b7da91bfc3d91782c0a2fec2f8189f661e3679db", + "validation": "validation-2048.json", + "complete": true + }, + "4096": { + "step": 4096, + "new_training_shots": 4194304, + "unique_training_rows_seen_in_this_phase": 1778773, + "weights": "weights-4096.npz", + "weights_sha256": "5ca716cd5632c9b717bb167d187387483b5485fead55f45b25cc44325d5d18ea", + "validation": "validation-4096.json", + "complete": true + } + }, + "selection": "Minimum full-validation mean failure per group among incumbent and listed session-trained checkpoints; when listed, blend candidates average the recorded small-contextual reference and new probabilities equally", + "blend_reference": "/run-state/workspace/research/context_upgrades/continuation2/predictions", + "history": [ + { + "group": "d3_bX_center_3_5", + "candidates": { + "incumbent": 0.24672475961538465, + "1024": 0.24571814903846154, + "2048": 0.24504206730769232, + "3072": 0.2456129807692308, + "4096": 0.2445763221153846, + "blend-1024": 0.2469501201923077, + "blend-2048": 0.24583834134615387, + "blend-3072": 0.2458984375, + "blend-4096": 0.2456580528846154 + }, + "selected": "4096" + }, + { + "group": "d3_bX_center_5_3", + "candidates": { + "incumbent": 0.2530348557692308, + "1024": 0.2528545673076923, + "2048": 0.25342548076923077, + "3072": 0.25369591346153847, + "4096": 0.25446213942307694, + "blend-1024": 0.2531550480769231, + "blend-2048": 0.2536658653846154, + "blend-3072": 0.25329026442307695, + "blend-4096": 0.2540264423076923 + }, + "selected": "1024" + }, + { + "group": "d3_bX_center_5_7", + "candidates": { + "incumbent": 0.23442007211538465, + "1024": 0.23445012019230768, + "2048": 0.2340895432692308, + "3072": 0.23431490384615383, + "4096": 0.23366887019230773, + "blend-1024": 0.23440504807692308, + "blend-2048": 0.2341496394230769, + "blend-3072": 0.23416466346153844, + "blend-4096": 0.23413461538461536 + }, + "selected": "4096" + }, + { + "group": "d3_bX_center_7_5", + "candidates": { + "incumbent": 0.2392427884615385, + "1024": 0.23949819711538464, + "2048": 0.23907752403846155, + "3072": 0.24014423076923078, + "4096": 0.24064002403846152, + "blend-1024": 0.23916766826923075, + "blend-2048": 0.23886718750000002, + "blend-3072": 0.2392578125, + "blend-4096": 0.23900240384615387 + }, + "selected": "blend-2048" + }, + { + "group": "d3_bZ_center_3_5", + "candidates": { + "incumbent": 0.24630408653846156, + "1024": 0.24649939903846152, + "2048": 0.2460486778846154, + "3072": 0.24523737980769228, + "4096": 0.24463641826923077, + "blend-1024": 0.24615384615384614, + "blend-2048": 0.2456580528846154, + "blend-3072": 0.24583834134615384, + "blend-4096": 0.24576322115384613 + }, + "selected": "4096" + }, + { + "group": "d3_bZ_center_5_3", + "candidates": { + "incumbent": 0.23760516826923078, + "1024": 0.23733473557692308, + "2048": 0.23652343749999996, + "3072": 0.23795072115384613, + "4096": 0.2379807692307692, + "blend-1024": 0.23713942307692307, + "blend-2048": 0.23740985576923077, + "blend-3072": 0.23811598557692307, + "blend-4096": 0.23780048076923077 + }, + "selected": "2048" + }, + { + "group": "d3_bZ_center_5_7", + "candidates": { + "incumbent": 0.2371694711538461, + "1024": 0.23689903846153845, + "2048": 0.2371243990384615, + "3072": 0.2371844951923077, + "4096": 0.23562199519230764, + "blend-1024": 0.23715444711538464, + "blend-2048": 0.23662860576923078, + "blend-3072": 0.23712439903846153, + "blend-4096": 0.23643329326923077 + }, + "selected": "4096" + }, + { + "group": "d3_bZ_center_7_5", + "candidates": { + "incumbent": 0.23342848557692306, + "1024": 0.23353365384615385, + "2048": 0.23429987980769232, + "3072": 0.2335637019230769, + "4096": 0.2329627403846154, + "blend-1024": 0.23350360576923074, + "blend-2048": 0.23383413461538463, + "blend-3072": 0.23357872596153847, + "blend-4096": 0.2333533653846154 + }, + "selected": "4096" + }, + { + "group": "d5_bX_center_5_5", + "candidates": { + "incumbent": 0.2325420673076923 + }, + "selected": "incumbent" + }, + { + "group": "d5_bZ_center_5_5", + "candidates": { + "incumbent": 0.22017728365384615 + }, + "selected": "incumbent" + } + ] + }, + { + "name": "temporal2_swa", + "training_run": { + "initialization": "Uniform averages of the same session-trained temporal trajectory; no external weights", + "optimizer_updates_in_derived_run": 0, + "source_training_provenance": { + "initialization": "Continue from this session's trained checkpoint", + "original_initialization": "Rich network random seed20261030; new 32-channel temporal network random seed20261104; rich parameters retained, new input rows Normal(0,.001)", + "rich_starting_checkpoint": "/run-state/workspace/research/learned_exact/rich1/weights-1024.npz", + "rich_checkpoint_sha256": "04fea2cf8c598cd5587d450b50cdce58aee9a8c770a2c2da57d7a48e3bf3e2a6", + "architecture": "Rich 128-unit MLP plus 32-channel temporal encoder: four residual kernel3 convolutions with dilations1/2/4/8 and channel normalization. Receptive field31 rounds. Encoder sees events, measurements and presence masks. Per-edge 177 input features. Output4*tanh.", + "training": "Uniform condition sampling from all 104 d3 conditions; batch drawn from the supplied training split only", + "training_source_sha256": { + "learned_exact__temporal_train.py": "7d48d2fc7f62d0bec3023b3df1c2ac28537d0417966131ae3a156697a34cda5f", + "learned_exact__temporal_model.py": "76fd01d5ae50f7d0b5790800898e7103ddb86db8f6a2ace883407515add2e186", + "learned_exact__data.py": "6f88582230aec7bbf35170a672ff615cac0cf18c0a690b2983874bb4c02c75e6", + "learned_exact__gradient.py": "ecb6b45698480386fa124fe878db7dbfa246d1969fd720ec26daff9547da2001", + "exact_d3__exact.py": "869dfacb295c419c156d1070fc2afdd6e20d02ac1840e45e72346b2b289f4825" + }, + "runtime_versions": { + "jax": "0.7.2", + "numpy": "2.3.3", + "optax": "0.2.6" + }, + "eligible_training_shots": 2067520, + "unique_training_rows_seen_in_this_phase": 1778773, + "unique_rows_by_condition": { + "surface_code_bX_d3_r01_center_3_5": 18357, + "surface_code_bX_d3_r03_center_3_5": 16816, + "surface_code_bX_d3_r05_center_3_5": 17999, + "surface_code_bX_d3_r07_center_3_5": 15225, + "surface_code_bX_d3_r09_center_3_5": 16132, + "surface_code_bX_d3_r11_center_3_5": 17041, + "surface_code_bX_d3_r13_center_3_5": 18477, + "surface_code_bX_d3_r15_center_3_5": 18214, + "surface_code_bX_d3_r17_center_3_5": 16505, + "surface_code_bX_d3_r19_center_3_5": 17120, + "surface_code_bX_d3_r21_center_3_5": 17563, + "surface_code_bX_d3_r23_center_3_5": 16681, + "surface_code_bX_d3_r25_center_3_5": 18379, + "surface_code_bX_d3_r01_center_5_3": 17450, + "surface_code_bX_d3_r03_center_5_3": 17161, + "surface_code_bX_d3_r05_center_5_3": 15797, + "surface_code_bX_d3_r07_center_5_3": 17800, + "surface_code_bX_d3_r09_center_5_3": 17190, + "surface_code_bX_d3_r11_center_5_3": 15840, + "surface_code_bX_d3_r13_center_5_3": 15178, + "surface_code_bX_d3_r15_center_5_3": 14897, + "surface_code_bX_d3_r17_center_5_3": 18252, + "surface_code_bX_d3_r19_center_5_3": 17083, + "surface_code_bX_d3_r21_center_5_3": 17229, + "surface_code_bX_d3_r23_center_5_3": 14735, + "surface_code_bX_d3_r25_center_5_3": 17949, + "surface_code_bX_d3_r01_center_5_7": 17431, + "surface_code_bX_d3_r03_center_5_7": 16583, + "surface_code_bX_d3_r05_center_5_7": 16891, + "surface_code_bX_d3_r07_center_5_7": 17969, + "surface_code_bX_d3_r09_center_5_7": 17966, + "surface_code_bX_d3_r11_center_5_7": 14424, + "surface_code_bX_d3_r13_center_5_7": 16930, + "surface_code_bX_d3_r15_center_5_7": 15205, + "surface_code_bX_d3_r17_center_5_7": 18252, + "surface_code_bX_d3_r19_center_5_7": 17077, + "surface_code_bX_d3_r21_center_5_7": 16770, + "surface_code_bX_d3_r23_center_5_7": 17308, + "surface_code_bX_d3_r25_center_5_7": 17481, + "surface_code_bX_d3_r01_center_7_5": 16630, + "surface_code_bX_d3_r03_center_7_5": 17439, + "surface_code_bX_d3_r05_center_7_5": 15811, + "surface_code_bX_d3_r07_center_7_5": 16637, + "surface_code_bX_d3_r09_center_7_5": 18306, + "surface_code_bX_d3_r11_center_7_5": 18327, + "surface_code_bX_d3_r13_center_7_5": 17974, + "surface_code_bX_d3_r15_center_7_5": 16106, + "surface_code_bX_d3_r17_center_7_5": 15834, + "surface_code_bX_d3_r19_center_7_5": 17242, + "surface_code_bX_d3_r21_center_7_5": 17889, + "surface_code_bX_d3_r23_center_7_5": 17440, + "surface_code_bX_d3_r25_center_7_5": 17087, + "surface_code_bZ_d3_r01_center_3_5": 16236, + "surface_code_bZ_d3_r03_center_3_5": 17278, + "surface_code_bZ_d3_r05_center_3_5": 16577, + "surface_code_bZ_d3_r07_center_3_5": 17376, + "surface_code_bZ_d3_r09_center_3_5": 16000, + "surface_code_bZ_d3_r11_center_3_5": 15634, + "surface_code_bZ_d3_r13_center_3_5": 14950, + "surface_code_bZ_d3_r15_center_3_5": 16600, + "surface_code_bZ_d3_r17_center_3_5": 15381, + "surface_code_bZ_d3_r19_center_3_5": 16823, + "surface_code_bZ_d3_r21_center_3_5": 18789, + "surface_code_bZ_d3_r23_center_3_5": 15616, + "surface_code_bZ_d3_r25_center_3_5": 17088, + "surface_code_bZ_d3_r01_center_5_3": 17935, + "surface_code_bZ_d3_r03_center_5_3": 16256, + "surface_code_bZ_d3_r05_center_5_3": 17959, + "surface_code_bZ_d3_r07_center_5_3": 18401, + "surface_code_bZ_d3_r09_center_5_3": 16405, + "surface_code_bZ_d3_r11_center_5_3": 17274, + "surface_code_bZ_d3_r13_center_5_3": 18172, + "surface_code_bZ_d3_r15_center_5_3": 17525, + "surface_code_bZ_d3_r17_center_5_3": 18643, + "surface_code_bZ_d3_r19_center_5_3": 17816, + "surface_code_bZ_d3_r21_center_5_3": 17404, + "surface_code_bZ_d3_r23_center_5_3": 17253, + "surface_code_bZ_d3_r25_center_5_3": 17667, + "surface_code_bZ_d3_r01_center_5_7": 16203, + "surface_code_bZ_d3_r03_center_5_7": 17214, + "surface_code_bZ_d3_r05_center_5_7": 16799, + "surface_code_bZ_d3_r07_center_5_7": 17896, + "surface_code_bZ_d3_r09_center_5_7": 16411, + "surface_code_bZ_d3_r11_center_5_7": 17726, + "surface_code_bZ_d3_r13_center_5_7": 16313, + "surface_code_bZ_d3_r15_center_5_7": 17824, + "surface_code_bZ_d3_r17_center_5_7": 15656, + "surface_code_bZ_d3_r19_center_5_7": 17169, + "surface_code_bZ_d3_r21_center_5_7": 17194, + "surface_code_bZ_d3_r23_center_5_7": 16779, + "surface_code_bZ_d3_r25_center_5_7": 16970, + "surface_code_bZ_d3_r01_center_7_5": 16762, + "surface_code_bZ_d3_r03_center_7_5": 17320, + "surface_code_bZ_d3_r05_center_7_5": 17522, + "surface_code_bZ_d3_r07_center_7_5": 17914, + "surface_code_bZ_d3_r09_center_7_5": 18439, + "surface_code_bZ_d3_r11_center_7_5": 18218, + "surface_code_bZ_d3_r13_center_7_5": 17907, + "surface_code_bZ_d3_r15_center_7_5": 17597, + "surface_code_bZ_d3_r17_center_7_5": 18252, + "surface_code_bZ_d3_r19_center_7_5": 18379, + "surface_code_bZ_d3_r21_center_7_5": 16818, + "surface_code_bZ_d3_r23_center_7_5": 18430, + "surface_code_bZ_d3_r25_center_7_5": 17924 + }, + "steps": 4096, + "batch_size": 1024, + "optimizer": "AdamW, weight decay 1e-4, global gradient norm clip 1", + "learning_rate": 0.0005, + "sampling_seed": 20261121, + "optimizer_restored": true, + "rng_restored": true, + "sampling_state_source": "/run-state/workspace/research/learned_exact/temporal1/rng-2048.json", + "session_trained_starting_checkpoint": "/run-state/workspace/research/learned_exact/temporal1/weights-2048.npz", + "starting_checkpoint_sha256": "26be9e0259b69a5870bf73e80a5a29fcf3519a3ff63e1d219c57a2113d9d34be", + "starting_training_provenance": { + "initialization": "Continue from rich weights trained from random initialization in this session; new temporal parameters randomly initialized now", + "original_initialization": "Rich network random seed20261030; new 32-channel temporal network random seed20261104; rich parameters retained, new input rows Normal(0,.001)", + "rich_starting_checkpoint": "/run-state/workspace/research/learned_exact/rich1/weights-1024.npz", + "rich_checkpoint_sha256": "04fea2cf8c598cd5587d450b50cdce58aee9a8c770a2c2da57d7a48e3bf3e2a6", + "architecture": "Rich 128-unit MLP plus 32-channel temporal encoder: four residual kernel3 convolutions with dilations1/2/4/8 and channel normalization. Receptive field31 rounds. Encoder sees events, measurements and presence masks. Per-edge 177 input features. Output4*tanh.", + "training": "Uniform condition sampling from all 104 d3 conditions; batch drawn from the supplied training split only", + "steps": 2048, + "batch_size": 1024, + "optimizer": "AdamW, weight decay 1e-4, global gradient norm clip 1", + "learning_rate": 0.001, + "sampling_seed": 20261111, + "optimizer_restored": false, + "rng_restored": false, + "session_trained_starting_checkpoint": null, + "starting_checkpoint_sha256": null, + "loss": "Binary conditional logical likelihood computed by exact frontier elimination", + "validation_shots_per_condition": 1024, + "uniform_validation": true, + "uniform_validation_seed": 20261028, + "test_data_used": false, + "log": [ + { + "step": 1, + "loss": 0.6317505836486816, + "error": 0.3681640625, + "gradient_norm": 0.04013459011912346, + "elapsed": 30.971998691558838 + }, + { + "step": 16, + "loss": 0.5091081857681274, + "error": 0.291015625, + "gradient_norm": 0.042228709906339645, + "elapsed": 35.17463397979736 + }, + { + "step": 32, + "loss": 0.626472532749176, + "error": 0.3642578125, + "gradient_norm": 0.05872415751218796, + "elapsed": 39.678136110305786 + }, + { + "step": 48, + "loss": 0.6005369424819946, + "error": 0.3515625, + "gradient_norm": 0.03848014399409294, + "elapsed": 44.16946887969971 + }, + { + "step": 64, + "loss": 0.5523768663406372, + "error": 0.302734375, + "gradient_norm": 0.06031862646341324, + "elapsed": 48.65217089653015 + }, + { + "step": 80, + "loss": 0.3981674611568451, + "error": 0.19921875, + "gradient_norm": 0.0542079322040081, + "elapsed": 53.21601867675781 + }, + { + "step": 96, + "loss": 0.5601426362991333, + "error": 0.2978515625, + "gradient_norm": 0.04770371690392494, + "elapsed": 57.81089663505554 + }, + { + "step": 112, + "loss": 0.5878150463104248, + "error": 0.34765625, + "gradient_norm": 0.10699950158596039, + "elapsed": 62.42190766334534 + }, + { + "step": 128, + "loss": 0.5232458114624023, + "error": 0.2861328125, + "gradient_norm": 0.0911584198474884, + "elapsed": 67.00223755836487 + }, + { + "step": 144, + "loss": 0.6119767427444458, + "error": 0.3623046875, + "gradient_norm": 0.062474437057971954, + "elapsed": 71.54070782661438 + }, + { + "step": 160, + "loss": 0.3037984371185303, + "error": 0.1474609375, + "gradient_norm": 0.05718141421675682, + "elapsed": 76.08167362213135 + }, + { + "step": 176, + "loss": 0.6038273572921753, + "error": 0.3662109375, + "gradient_norm": 0.0437164381146431, + "elapsed": 80.71864247322083 + }, + { + "step": 192, + "loss": 0.3304370641708374, + "error": 0.1572265625, + "gradient_norm": 0.05684761330485344, + "elapsed": 85.54437017440796 + }, + { + "step": 208, + "loss": 0.5785484313964844, + "error": 0.3251953125, + "gradient_norm": 0.09597272425889969, + "elapsed": 91.51522874832153 + }, + { + "step": 224, + "loss": 0.3110499978065491, + "error": 0.13671875, + "gradient_norm": 0.04815748706459999, + "elapsed": 97.1228940486908 + }, + { + "step": 240, + "loss": 0.6213864684104919, + "error": 0.3623046875, + "gradient_norm": 0.0540502592921257, + "elapsed": 102.90286135673523 + }, + { + "step": 256, + "loss": 0.2535272240638733, + "error": 0.1064453125, + "gradient_norm": 0.029962118715047836, + "elapsed": 108.39288640022278 + }, + { + "step": 272, + "loss": 0.6126939058303833, + "error": 0.3671875, + "gradient_norm": 0.06887879222631454, + "elapsed": 113.83897161483765 + }, + { + "step": 288, + "loss": 0.4556676149368286, + "error": 0.2236328125, + "gradient_norm": 0.16127081215381622, + "elapsed": 119.93085813522339 + }, + { + "step": 304, + "loss": 0.4973585605621338, + "error": 0.255859375, + "gradient_norm": 0.08082302659749985, + "elapsed": 125.90891909599304 + }, + { + "step": 320, + "loss": 0.6455868482589722, + "error": 0.419921875, + "gradient_norm": 0.04339660331606865, + "elapsed": 131.20537638664246 + }, + { + "step": 336, + "loss": 0.5343132615089417, + "error": 0.2880859375, + "gradient_norm": 0.07518009096384048, + "elapsed": 136.59086871147156 + }, + { + "step": 352, + "loss": 0.6505346894264221, + "error": 0.4033203125, + "gradient_norm": 0.03800992667675018, + "elapsed": 142.21085906028748 + }, + { + "step": 368, + "loss": 0.4882712960243225, + "error": 0.251953125, + "gradient_norm": 0.08170920610427856, + "elapsed": 146.95903658866882 + }, + { + "step": 384, + "loss": 0.5292021036148071, + "error": 0.296875, + "gradient_norm": 0.08454013615846634, + "elapsed": 151.6385259628296 + }, + { + "step": 400, + "loss": 0.6272899508476257, + "error": 0.3837890625, + "gradient_norm": 0.051436979323625565, + "elapsed": 156.3343904018402 + }, + { + "step": 416, + "loss": 0.052130259573459625, + "error": 0.0166015625, + "gradient_norm": 0.02377190627157688, + "elapsed": 160.92345547676086 + }, + { + "step": 432, + "loss": 0.5256737470626831, + "error": 0.3046875, + "gradient_norm": 0.07986386120319366, + "elapsed": 165.52879118919373 + }, + { + "step": 448, + "loss": 0.15193665027618408, + "error": 0.0576171875, + "gradient_norm": 0.06491660326719284, + "elapsed": 170.14827823638916 + }, + { + "step": 464, + "loss": 0.6418055295944214, + "error": 0.40625, + "gradient_norm": 0.07290885597467422, + "elapsed": 174.64974284172058 + }, + { + "step": 480, + "loss": 0.6055159568786621, + "error": 0.357421875, + "gradient_norm": 0.0795595794916153, + "elapsed": 179.17218685150146 + }, + { + "step": 496, + "loss": 0.6372283697128296, + "error": 0.3916015625, + "gradient_norm": 0.04387903958559036, + "elapsed": 183.77568197250366 + }, + { + "step": 512, + "loss": 0.637977123260498, + "error": 0.408203125, + "gradient_norm": 0.060665905475616455, + "elapsed": 188.31205368041992 + }, + { + "step": 528, + "loss": 0.4668862223625183, + "error": 0.2451171875, + "gradient_norm": 0.08566711097955704, + "elapsed": 206.40719985961914 + }, + { + "step": 544, + "loss": 0.4584413170814514, + "error": 0.244140625, + "gradient_norm": 0.08538200706243515, + "elapsed": 211.02819895744324 + }, + { + "step": 560, + "loss": 0.5615692138671875, + "error": 0.3291015625, + "gradient_norm": 0.043748609721660614, + "elapsed": 215.66470766067505 + }, + { + "step": 576, + "loss": 0.5151895880699158, + "error": 0.2880859375, + "gradient_norm": 0.05164863541722298, + "elapsed": 220.18949556350708 + }, + { + "step": 592, + "loss": 0.5618112087249756, + "error": 0.3291015625, + "gradient_norm": 0.05998719856142998, + "elapsed": 224.7216100692749 + }, + { + "step": 608, + "loss": 0.659294843673706, + "error": 0.431640625, + "gradient_norm": 0.09910348802804947, + "elapsed": 229.26827573776245 + }, + { + "step": 624, + "loss": 0.5895233154296875, + "error": 0.3447265625, + "gradient_norm": 0.045334093272686005, + "elapsed": 233.83731055259705 + }, + { + "step": 640, + "loss": 0.6081801056861877, + "error": 0.3388671875, + "gradient_norm": 0.06578423827886581, + "elapsed": 238.36345624923706 + }, + { + "step": 656, + "loss": 0.5349816083908081, + "error": 0.2939453125, + "gradient_norm": 0.09989562630653381, + "elapsed": 242.95086026191711 + }, + { + "step": 672, + "loss": 0.5871994495391846, + "error": 0.328125, + "gradient_norm": 0.08132346719503403, + "elapsed": 247.67088556289673 + }, + { + "step": 688, + "loss": 0.06012660637497902, + "error": 0.0146484375, + "gradient_norm": 0.012170507572591305, + "elapsed": 252.3202247619629 + }, + { + "step": 704, + "loss": 0.42179757356643677, + "error": 0.21484375, + "gradient_norm": 0.08384513854980469, + "elapsed": 256.91991782188416 + }, + { + "step": 720, + "loss": 0.6111758947372437, + "error": 0.3720703125, + "gradient_norm": 0.06689880788326263, + "elapsed": 261.56407928466797 + }, + { + "step": 736, + "loss": 0.29969727993011475, + "error": 0.1318359375, + "gradient_norm": 0.0743367150425911, + "elapsed": 266.22199630737305 + }, + { + "step": 752, + "loss": 0.051849883049726486, + "error": 0.0166015625, + "gradient_norm": 0.017005126923322678, + "elapsed": 270.8602342605591 + }, + { + "step": 768, + "loss": 0.6178420186042786, + "error": 0.3759765625, + "gradient_norm": 0.027732960879802704, + "elapsed": 275.47888374328613 + }, + { + "step": 784, + "loss": 0.45798996090888977, + "error": 0.228515625, + "gradient_norm": 0.0630083829164505, + "elapsed": 280.1709156036377 + }, + { + "step": 800, + "loss": 0.5104988813400269, + "error": 0.2724609375, + "gradient_norm": 0.041733670979738235, + "elapsed": 286.17937707901 + }, + { + "step": 816, + "loss": 0.6336112022399902, + "error": 0.3837890625, + "gradient_norm": 0.0755191296339035, + "elapsed": 291.7506103515625 + }, + { + "step": 832, + "loss": 0.6260952353477478, + "error": 0.3603515625, + "gradient_norm": 0.0318005345761776, + "elapsed": 297.31094622612 + }, + { + "step": 848, + "loss": 0.5870074033737183, + "error": 0.3525390625, + "gradient_norm": 0.12073405832052231, + "elapsed": 303.11089158058167 + }, + { + "step": 864, + "loss": 0.5125640034675598, + "error": 0.26953125, + "gradient_norm": 0.038650237023830414, + "elapsed": 308.7288725376129 + }, + { + "step": 880, + "loss": 0.19194915890693665, + "error": 0.0703125, + "gradient_norm": 0.061878547072410583, + "elapsed": 314.37042355537415 + }, + { + "step": 896, + "loss": 0.5409250259399414, + "error": 0.2919921875, + "gradient_norm": 0.06288820505142212, + "elapsed": 319.9398190975189 + }, + { + "step": 912, + "loss": 0.6164936423301697, + "error": 0.3701171875, + "gradient_norm": 0.043224163353443146, + "elapsed": 325.361323595047 + }, + { + "step": 928, + "loss": 0.16032151877880096, + "error": 0.0625, + "gradient_norm": 0.030957572162151337, + "elapsed": 331.21752285957336 + }, + { + "step": 944, + "loss": 0.646601676940918, + "error": 0.3818359375, + "gradient_norm": 0.05670839175581932, + "elapsed": 336.7825517654419 + }, + { + "step": 960, + "loss": 0.402952641248703, + "error": 0.1865234375, + "gradient_norm": 0.07500886172056198, + "elapsed": 342.6888346672058 + }, + { + "step": 976, + "loss": 0.5537433624267578, + "error": 0.2939453125, + "gradient_norm": 0.04955969750881195, + "elapsed": 348.5554690361023 + }, + { + "step": 992, + "loss": 0.559626579284668, + "error": 0.294921875, + "gradient_norm": 0.048295993357896805, + "elapsed": 354.3531894683838 + }, + { + "step": 1008, + "loss": 0.5034694671630859, + "error": 0.2705078125, + "gradient_norm": 0.05729879066348076, + "elapsed": 360.0949149131775 + }, + { + "step": 1024, + "loss": 0.3119734525680542, + "error": 0.1259765625, + "gradient_norm": 0.052326612174510956, + "elapsed": 365.7881224155426 + }, + { + "step": 1040, + "loss": 0.35799849033355713, + "error": 0.173828125, + "gradient_norm": 0.03801804035902023, + "elapsed": 386.5749418735504 + }, + { + "step": 1056, + "loss": 0.6178948879241943, + "error": 0.3515625, + "gradient_norm": 0.03620661422610283, + "elapsed": 391.48247838020325 + }, + { + "step": 1072, + "loss": 0.49231401085853577, + "error": 0.24609375, + "gradient_norm": 0.04391559213399887, + "elapsed": 396.08718824386597 + }, + { + "step": 1088, + "loss": 0.4119300842285156, + "error": 0.2001953125, + "gradient_norm": 0.1104700043797493, + "elapsed": 400.5326828956604 + }, + { + "step": 1104, + "loss": 0.4926626682281494, + "error": 0.265625, + "gradient_norm": 0.04246886447072029, + "elapsed": 404.95741271972656 + }, + { + "step": 1120, + "loss": 0.5027930736541748, + "error": 0.2607421875, + "gradient_norm": 0.0547240674495697, + "elapsed": 409.40319633483887 + }, + { + "step": 1136, + "loss": 0.5948058366775513, + "error": 0.3544921875, + "gradient_norm": 0.06810063123703003, + "elapsed": 413.8514006137848 + }, + { + "step": 1152, + "loss": 0.26567256450653076, + "error": 0.125, + "gradient_norm": 0.06689104437828064, + "elapsed": 418.29868721961975 + }, + { + "step": 1168, + "loss": 0.2866836190223694, + "error": 0.1240234375, + "gradient_norm": 0.029536213725805283, + "elapsed": 422.75131845474243 + }, + { + "step": 1184, + "loss": 0.6342021822929382, + "error": 0.4091796875, + "gradient_norm": 0.0704190731048584, + "elapsed": 427.1991722583771 + }, + { + "step": 1200, + "loss": 0.41626787185668945, + "error": 0.212890625, + "gradient_norm": 0.04480795934796333, + "elapsed": 431.6600706577301 + }, + { + "step": 1216, + "loss": 0.28460952639579773, + "error": 0.1337890625, + "gradient_norm": 0.03666983172297478, + "elapsed": 436.14414525032043 + }, + { + "step": 1232, + "loss": 0.044482216238975525, + "error": 0.0146484375, + "gradient_norm": 0.04537617415189743, + "elapsed": 440.6220428943634 + }, + { + "step": 1248, + "loss": 0.42564862966537476, + "error": 0.2119140625, + "gradient_norm": 0.03382417559623718, + "elapsed": 445.06736421585083 + }, + { + "step": 1264, + "loss": 0.27150213718414307, + "error": 0.123046875, + "gradient_norm": 0.033046118915081024, + "elapsed": 449.544029712677 + }, + { + "step": 1280, + "loss": 0.4927375912666321, + "error": 0.255859375, + "gradient_norm": 0.06812550127506256, + "elapsed": 454.07198667526245 + }, + { + "step": 1296, + "loss": 0.5541940927505493, + "error": 0.28125, + "gradient_norm": 0.1435294896364212, + "elapsed": 458.6031415462494 + }, + { + "step": 1312, + "loss": 0.5575842261314392, + "error": 0.2958984375, + "gradient_norm": 0.03811952844262123, + "elapsed": 463.1806228160858 + }, + { + "step": 1328, + "loss": 0.3479428291320801, + "error": 0.1591796875, + "gradient_norm": 0.0709012895822525, + "elapsed": 467.84689688682556 + }, + { + "step": 1344, + "loss": 0.1685580611228943, + "error": 0.0693359375, + "gradient_norm": 0.05423415079712868, + "elapsed": 472.6908576488495 + }, + { + "step": 1360, + "loss": 0.18506410717964172, + "error": 0.0771484375, + "gradient_norm": 0.03418596833944321, + "elapsed": 477.4269769191742 + }, + { + "step": 1376, + "loss": 0.5654555559158325, + "error": 0.3173828125, + "gradient_norm": 0.0685155838727951, + "elapsed": 482.08285188674927 + }, + { + "step": 1392, + "loss": 0.6116407513618469, + "error": 0.3603515625, + "gradient_norm": 0.05198948457837105, + "elapsed": 486.7167499065399 + }, + { + "step": 1408, + "loss": 0.4014682471752167, + "error": 0.19140625, + "gradient_norm": 0.1024075523018837, + "elapsed": 491.4308760166168 + }, + { + "step": 1424, + "loss": 0.051035866141319275, + "error": 0.0166015625, + "gradient_norm": 0.010207361541688442, + "elapsed": 496.1818380355835 + }, + { + "step": 1440, + "loss": 0.4725648760795593, + "error": 0.2412109375, + "gradient_norm": 0.03977378085255623, + "elapsed": 500.8668632507324 + }, + { + "step": 1456, + "loss": 0.5407818555831909, + "error": 0.2939453125, + "gradient_norm": 0.088577501475811, + "elapsed": 505.49274134635925 + }, + { + "step": 1472, + "loss": 0.5655064582824707, + "error": 0.3076171875, + "gradient_norm": 0.04452778398990631, + "elapsed": 510.2188584804535 + }, + { + "step": 1488, + "loss": 0.5799556374549866, + "error": 0.30859375, + "gradient_norm": 0.03976206108927727, + "elapsed": 514.9319434165955 + }, + { + "step": 1504, + "loss": 0.4660354256629944, + "error": 0.25390625, + "gradient_norm": 0.04365506023168564, + "elapsed": 519.5848798751831 + }, + { + "step": 1520, + "loss": 0.5505894422531128, + "error": 0.30859375, + "gradient_norm": 0.057772211730480194, + "elapsed": 524.3388590812683 + }, + { + "step": 1536, + "loss": 0.6251416206359863, + "error": 0.400390625, + "gradient_norm": 0.09649194777011871, + "elapsed": 529.483047246933 + }, + { + "step": 1552, + "loss": 0.05424533039331436, + "error": 0.0185546875, + "gradient_norm": 0.011683990247547626, + "elapsed": 548.1828610897064 + }, + { + "step": 1568, + "loss": 0.33612310886383057, + "error": 0.1611328125, + "gradient_norm": 0.051817383617162704, + "elapsed": 553.4256420135498 + }, + { + "step": 1584, + "loss": 0.045015305280685425, + "error": 0.0166015625, + "gradient_norm": 0.022604886442422867, + "elapsed": 558.6308543682098 + }, + { + "step": 1600, + "loss": 0.2701840102672577, + "error": 0.119140625, + "gradient_norm": 0.02910422720015049, + "elapsed": 563.8571691513062 + }, + { + "step": 1616, + "loss": 0.18982334434986115, + "error": 0.0849609375, + "gradient_norm": 0.025524422526359558, + "elapsed": 568.8628678321838 + }, + { + "step": 1632, + "loss": 0.3950161337852478, + "error": 0.185546875, + "gradient_norm": 0.08419577777385712, + "elapsed": 574.0815451145172 + }, + { + "step": 1648, + "loss": 0.49384528398513794, + "error": 0.255859375, + "gradient_norm": 0.08879344165325165, + "elapsed": 579.1229114532471 + }, + { + "step": 1664, + "loss": 0.5671384930610657, + "error": 0.3115234375, + "gradient_norm": 0.05374513566493988, + "elapsed": 584.114851474762 + }, + { + "step": 1680, + "loss": 0.6192574501037598, + "error": 0.37890625, + "gradient_norm": 0.043836336582899094, + "elapsed": 589.0708522796631 + }, + { + "step": 1696, + "loss": 0.2619469463825226, + "error": 0.1171875, + "gradient_norm": 0.040093280375003815, + "elapsed": 594.2814819812775 + }, + { + "step": 1712, + "loss": 0.33178141713142395, + "error": 0.162109375, + "gradient_norm": 0.04902712255716324, + "elapsed": 599.3068840503693 + }, + { + "step": 1728, + "loss": 0.385281503200531, + "error": 0.171875, + "gradient_norm": 0.03541380167007446, + "elapsed": 604.5308682918549 + }, + { + "step": 1744, + "loss": 0.1628715693950653, + "error": 0.0693359375, + "gradient_norm": 0.06111741065979004, + "elapsed": 609.309522151947 + }, + { + "step": 1760, + "loss": 0.5239119529724121, + "error": 0.2861328125, + "gradient_norm": 0.08513613045215607, + "elapsed": 614.0396001338959 + }, + { + "step": 1776, + "loss": 0.35721707344055176, + "error": 0.150390625, + "gradient_norm": 0.06337940692901611, + "elapsed": 618.6857132911682 + }, + { + "step": 1792, + "loss": 0.5985626578330994, + "error": 0.33203125, + "gradient_norm": 0.035725343972444534, + "elapsed": 623.3352344036102 + }, + { + "step": 1808, + "loss": 0.34676820039749146, + "error": 0.15234375, + "gradient_norm": 0.08163885772228241, + "elapsed": 627.9495220184326 + }, + { + "step": 1824, + "loss": 0.5633711814880371, + "error": 0.3037109375, + "gradient_norm": 0.05938677117228508, + "elapsed": 632.5820379257202 + }, + { + "step": 1840, + "loss": 0.6256523132324219, + "error": 0.384765625, + "gradient_norm": 0.04545137286186218, + "elapsed": 637.205274105072 + }, + { + "step": 1856, + "loss": 0.28091639280319214, + "error": 0.1298828125, + "gradient_norm": 0.04705077037215233, + "elapsed": 641.883561372757 + }, + { + "step": 1872, + "loss": 0.516182541847229, + "error": 0.263671875, + "gradient_norm": 0.08828777819871902, + "elapsed": 646.5188939571381 + }, + { + "step": 1888, + "loss": 0.48386621475219727, + "error": 0.25390625, + "gradient_norm": 0.05322824418544769, + "elapsed": 651.148512840271 + }, + { + "step": 1904, + "loss": 0.6141921281814575, + "error": 0.388671875, + "gradient_norm": 0.050139278173446655, + "elapsed": 655.7796437740326 + }, + { + "step": 1920, + "loss": 0.18002840876579285, + "error": 0.0712890625, + "gradient_norm": 0.04201133921742439, + "elapsed": 660.4064948558807 + }, + { + "step": 1936, + "loss": 0.17531852424144745, + "error": 0.0732421875, + "gradient_norm": 0.024726318195462227, + "elapsed": 664.9991583824158 + }, + { + "step": 1952, + "loss": 0.5088322758674622, + "error": 0.2744140625, + "gradient_norm": 0.04693225398659706, + "elapsed": 669.5544555187225 + }, + { + "step": 1968, + "loss": 0.5684165358543396, + "error": 0.3310546875, + "gradient_norm": 0.031029095873236656, + "elapsed": 674.2354445457458 + }, + { + "step": 1984, + "loss": 0.06459524482488632, + "error": 0.017578125, + "gradient_norm": 0.03600892797112465, + "elapsed": 678.7982559204102 + }, + { + "step": 2000, + "loss": 0.3614455461502075, + "error": 0.1748046875, + "gradient_norm": 0.07060294598340988, + "elapsed": 683.2650325298309 + }, + { + "step": 2016, + "loss": 0.35535523295402527, + "error": 0.166015625, + "gradient_norm": 0.05873403698205948, + "elapsed": 687.7125518321991 + }, + { + "step": 2032, + "loss": 0.5638720989227295, + "error": 0.3232421875, + "gradient_norm": 0.07380504906177521, + "elapsed": 692.1461188793182 + }, + { + "step": 2048, + "loss": 0.5301838517189026, + "error": 0.2919921875, + "gradient_norm": 0.05435395985841751, + "elapsed": 696.6235508918762 + } + ] + }, + "loss": "Binary conditional logical likelihood computed by exact frontier elimination", + "validation_shots_per_condition": 1024, + "uniform_validation": true, + "uniform_validation_seed": 20261028, + "test_data_used": false, + "log": [ + { + "step": 1, + "loss": 0.250907301902771, + "error": 0.1083984375, + "gradient_norm": 0.07171476632356644, + "elapsed": 44.811134576797485 + }, + { + "step": 16, + "loss": 0.5958679914474487, + "error": 0.3662109375, + "gradient_norm": 0.07673005014657974, + "elapsed": 49.90856671333313 + }, + { + "step": 32, + "loss": 0.47648972272872925, + "error": 0.2421875, + "gradient_norm": 0.08561501652002335, + "elapsed": 55.179388761520386 + }, + { + "step": 48, + "loss": 0.06145006790757179, + "error": 0.0234375, + "gradient_norm": 0.01556467730551958, + "elapsed": 61.0339195728302 + }, + { + "step": 64, + "loss": 0.3687053918838501, + "error": 0.1884765625, + "gradient_norm": 0.08752371370792389, + "elapsed": 65.95811891555786 + }, + { + "step": 80, + "loss": 0.6481984853744507, + "error": 0.4140625, + "gradient_norm": 0.05311283841729164, + "elapsed": 70.56021332740784 + }, + { + "step": 96, + "loss": 0.42319929599761963, + "error": 0.2138671875, + "gradient_norm": 0.05047478526830673, + "elapsed": 75.11613631248474 + }, + { + "step": 112, + "loss": 0.47527259588241577, + "error": 0.24609375, + "gradient_norm": 0.038366906344890594, + "elapsed": 79.53446984291077 + }, + { + "step": 128, + "loss": 0.5996723175048828, + "error": 0.3369140625, + "gradient_norm": 0.1213272362947464, + "elapsed": 83.97515749931335 + }, + { + "step": 144, + "loss": 0.04971993714570999, + "error": 0.0146484375, + "gradient_norm": 0.008080735802650452, + "elapsed": 88.44039463996887 + }, + { + "step": 160, + "loss": 0.35900360345840454, + "error": 0.162109375, + "gradient_norm": 0.03359593451023102, + "elapsed": 92.89548206329346 + }, + { + "step": 176, + "loss": 0.5342063903808594, + "error": 0.2978515625, + "gradient_norm": 0.04794691130518913, + "elapsed": 97.35658049583435 + }, + { + "step": 192, + "loss": 0.6300076246261597, + "error": 0.369140625, + "gradient_norm": 0.081769198179245, + "elapsed": 101.81493759155273 + }, + { + "step": 208, + "loss": 0.6191903948783875, + "error": 0.3828125, + "gradient_norm": 0.07145775109529495, + "elapsed": 106.2480263710022 + }, + { + "step": 224, + "loss": 0.5155678391456604, + "error": 0.28515625, + "gradient_norm": 0.06772179156541824, + "elapsed": 110.71284222602844 + }, + { + "step": 240, + "loss": 0.634708046913147, + "error": 0.3857421875, + "gradient_norm": 0.09493093192577362, + "elapsed": 115.14978742599487 + }, + { + "step": 256, + "loss": 0.1840895414352417, + "error": 0.0751953125, + "gradient_norm": 0.025586696341633797, + "elapsed": 119.61202120780945 + }, + { + "step": 272, + "loss": 0.2775103449821472, + "error": 0.12890625, + "gradient_norm": 0.06913147866725922, + "elapsed": 124.02584528923035 + }, + { + "step": 288, + "loss": 0.6163080334663391, + "error": 0.3642578125, + "gradient_norm": 0.05895426496863365, + "elapsed": 128.46512532234192 + }, + { + "step": 304, + "loss": 0.5276986360549927, + "error": 0.287109375, + "gradient_norm": 0.06955187022686005, + "elapsed": 132.89240765571594 + }, + { + "step": 320, + "loss": 0.44859516620635986, + "error": 0.22265625, + "gradient_norm": 0.07272452116012573, + "elapsed": 137.32864713668823 + }, + { + "step": 336, + "loss": 0.48315611481666565, + "error": 0.2626953125, + "gradient_norm": 0.03321139141917229, + "elapsed": 141.80009770393372 + }, + { + "step": 352, + "loss": 0.6107717752456665, + "error": 0.3544921875, + "gradient_norm": 0.05243214592337608, + "elapsed": 146.36439752578735 + }, + { + "step": 368, + "loss": 0.6215153932571411, + "error": 0.357421875, + "gradient_norm": 0.04383325204253197, + "elapsed": 150.99996852874756 + }, + { + "step": 384, + "loss": 0.6130329966545105, + "error": 0.35546875, + "gradient_norm": 0.04113119840621948, + "elapsed": 155.62374639511108 + }, + { + "step": 400, + "loss": 0.30471885204315186, + "error": 0.142578125, + "gradient_norm": 0.04447556659579277, + "elapsed": 160.17594957351685 + }, + { + "step": 416, + "loss": 0.6154489517211914, + "error": 0.37109375, + "gradient_norm": 0.04456057772040367, + "elapsed": 164.7639675140381 + }, + { + "step": 432, + "loss": 0.6134694218635559, + "error": 0.337890625, + "gradient_norm": 0.04219559207558632, + "elapsed": 169.32792139053345 + }, + { + "step": 448, + "loss": 0.5463185906410217, + "error": 0.2939453125, + "gradient_norm": 0.07746092975139618, + "elapsed": 173.88445162773132 + }, + { + "step": 464, + "loss": 0.06016772612929344, + "error": 0.01953125, + "gradient_norm": 0.01364185381680727, + "elapsed": 178.42725706100464 + }, + { + "step": 480, + "loss": 0.388141393661499, + "error": 0.18359375, + "gradient_norm": 0.04870256036520004, + "elapsed": 182.99062085151672 + }, + { + "step": 496, + "loss": 0.44524821639060974, + "error": 0.2216796875, + "gradient_norm": 0.03453445807099342, + "elapsed": 187.56396961212158 + }, + { + "step": 512, + "loss": 0.34312355518341064, + "error": 0.154296875, + "gradient_norm": 0.06794509291648865, + "elapsed": 192.27511191368103 + }, + { + "step": 528, + "loss": 0.19467462599277496, + "error": 0.0771484375, + "gradient_norm": 0.042381469160318375, + "elapsed": 197.7108268737793 + }, + { + "step": 544, + "loss": 0.46226584911346436, + "error": 0.2421875, + "gradient_norm": 0.06073570251464844, + "elapsed": 202.97405791282654 + }, + { + "step": 560, + "loss": 0.525318443775177, + "error": 0.2822265625, + "gradient_norm": 0.06954885274171829, + "elapsed": 208.69676971435547 + }, + { + "step": 576, + "loss": 0.6158387064933777, + "error": 0.349609375, + "gradient_norm": 0.07587578892707825, + "elapsed": 214.80397653579712 + }, + { + "step": 592, + "loss": 0.5515886545181274, + "error": 0.298828125, + "gradient_norm": 0.04969338700175285, + "elapsed": 220.27399611473083 + }, + { + "step": 608, + "loss": 0.18365338444709778, + "error": 0.0654296875, + "gradient_norm": 0.08657706528902054, + "elapsed": 224.81246256828308 + }, + { + "step": 624, + "loss": 0.4578855633735657, + "error": 0.2421875, + "gradient_norm": 0.04942100867629051, + "elapsed": 229.45902252197266 + }, + { + "step": 640, + "loss": 0.37826013565063477, + "error": 0.1865234375, + "gradient_norm": 0.047499872744083405, + "elapsed": 233.9695644378662 + }, + { + "step": 656, + "loss": 0.40863412618637085, + "error": 0.2001953125, + "gradient_norm": 0.07845330238342285, + "elapsed": 238.584894657135 + }, + { + "step": 672, + "loss": 0.5640332698822021, + "error": 0.2880859375, + "gradient_norm": 0.057469289749860764, + "elapsed": 243.0929844379425 + }, + { + "step": 688, + "loss": 0.030216243118047714, + "error": 0.0078125, + "gradient_norm": 0.04682641476392746, + "elapsed": 247.581125497818 + }, + { + "step": 704, + "loss": 0.375002384185791, + "error": 0.1826171875, + "gradient_norm": 0.04864194989204407, + "elapsed": 252.1564691066742 + }, + { + "step": 720, + "loss": 0.5145515203475952, + "error": 0.2744140625, + "gradient_norm": 0.052671682089567184, + "elapsed": 256.6466488838196 + }, + { + "step": 736, + "loss": 0.067174531519413, + "error": 0.0224609375, + "gradient_norm": 0.019299577921628952, + "elapsed": 261.1185076236725 + }, + { + "step": 752, + "loss": 0.24909992516040802, + "error": 0.111328125, + "gradient_norm": 0.06907463818788528, + "elapsed": 265.61960339546204 + }, + { + "step": 768, + "loss": 0.5088074207305908, + "error": 0.2744140625, + "gradient_norm": 0.06963017582893372, + "elapsed": 270.07474064826965 + }, + { + "step": 784, + "loss": 0.3783387839794159, + "error": 0.1826171875, + "gradient_norm": 0.05537794530391693, + "elapsed": 274.52722239494324 + }, + { + "step": 800, + "loss": 0.6107200980186462, + "error": 0.3623046875, + "gradient_norm": 0.0470259003341198, + "elapsed": 279.0401859283447 + }, + { + "step": 816, + "loss": 0.5778236389160156, + "error": 0.3212890625, + "gradient_norm": 0.10146680474281311, + "elapsed": 283.5114622116089 + }, + { + "step": 832, + "loss": 0.576002299785614, + "error": 0.3076171875, + "gradient_norm": 0.07760787010192871, + "elapsed": 288.04797434806824 + }, + { + "step": 848, + "loss": 0.6179666519165039, + "error": 0.3740234375, + "gradient_norm": 0.07383852452039719, + "elapsed": 292.60600209236145 + }, + { + "step": 864, + "loss": 0.3105512857437134, + "error": 0.1455078125, + "gradient_norm": 0.052953749895095825, + "elapsed": 297.12180352211 + }, + { + "step": 880, + "loss": 0.4802623987197876, + "error": 0.2548828125, + "gradient_norm": 0.07736275345087051, + "elapsed": 301.6091134548187 + }, + { + "step": 896, + "loss": 0.5572722554206848, + "error": 0.318359375, + "gradient_norm": 0.053303152322769165, + "elapsed": 306.1978073120117 + }, + { + "step": 912, + "loss": 0.34814420342445374, + "error": 0.1669921875, + "gradient_norm": 0.037726350128650665, + "elapsed": 310.78571581840515 + }, + { + "step": 928, + "loss": 0.41743016242980957, + "error": 0.21875, + "gradient_norm": 0.05238872766494751, + "elapsed": 315.24156188964844 + }, + { + "step": 944, + "loss": 0.5757850408554077, + "error": 0.3173828125, + "gradient_norm": 0.05837905779480934, + "elapsed": 319.78475165367126 + }, + { + "step": 960, + "loss": 0.40727972984313965, + "error": 0.197265625, + "gradient_norm": 0.059294261038303375, + "elapsed": 324.2090265750885 + }, + { + "step": 976, + "loss": 0.32715001702308655, + "error": 0.1533203125, + "gradient_norm": 0.11543179303407669, + "elapsed": 328.6462152004242 + }, + { + "step": 992, + "loss": 0.5578742623329163, + "error": 0.314453125, + "gradient_norm": 0.06282714009284973, + "elapsed": 333.0712504386902 + }, + { + "step": 1008, + "loss": 0.5052692294120789, + "error": 0.265625, + "gradient_norm": 0.04039420187473297, + "elapsed": 337.5182821750641 + }, + { + "step": 1024, + "loss": 0.18790806829929352, + "error": 0.08203125, + "gradient_norm": 0.028905188664793968, + "elapsed": 342.08340406417847 + }, + { + "step": 1040, + "loss": 0.6317684650421143, + "error": 0.3681640625, + "gradient_norm": 0.03441835194826126, + "elapsed": 358.8279616832733 + }, + { + "step": 1056, + "loss": 0.40474164485931396, + "error": 0.2021484375, + "gradient_norm": 0.036449309438467026, + "elapsed": 363.30218267440796 + }, + { + "step": 1072, + "loss": 0.518299400806427, + "error": 0.2666015625, + "gradient_norm": 0.0886964276432991, + "elapsed": 367.87997555732727 + }, + { + "step": 1088, + "loss": 0.2522922158241272, + "error": 0.099609375, + "gradient_norm": 0.07553310692310333, + "elapsed": 372.4414882659912 + }, + { + "step": 1104, + "loss": 0.6214810609817505, + "error": 0.3701171875, + "gradient_norm": 0.10188957303762436, + "elapsed": 376.9120502471924 + }, + { + "step": 1120, + "loss": 0.6307054162025452, + "error": 0.3720703125, + "gradient_norm": 0.07353860139846802, + "elapsed": 381.3824534416199 + }, + { + "step": 1136, + "loss": 0.5259381532669067, + "error": 0.2763671875, + "gradient_norm": 0.05779678374528885, + "elapsed": 385.8413143157959 + }, + { + "step": 1152, + "loss": 0.4995541572570801, + "error": 0.259765625, + "gradient_norm": 0.046648140996694565, + "elapsed": 390.28326058387756 + }, + { + "step": 1168, + "loss": 0.6075694561004639, + "error": 0.3701171875, + "gradient_norm": 0.10612073540687561, + "elapsed": 394.8162364959717 + }, + { + "step": 1184, + "loss": 0.2105136513710022, + "error": 0.080078125, + "gradient_norm": 0.0716402605175972, + "elapsed": 399.2960283756256 + }, + { + "step": 1200, + "loss": 0.6371631026268005, + "error": 0.3857421875, + "gradient_norm": 0.0549108125269413, + "elapsed": 403.7899103164673 + }, + { + "step": 1216, + "loss": 0.5450670719146729, + "error": 0.2939453125, + "gradient_norm": 0.11688558012247086, + "elapsed": 408.34677600860596 + }, + { + "step": 1232, + "loss": 0.035783201456069946, + "error": 0.01171875, + "gradient_norm": 0.02951689623296261, + "elapsed": 412.8558337688446 + }, + { + "step": 1248, + "loss": 0.5582903623580933, + "error": 0.3046875, + "gradient_norm": 0.055107031017541885, + "elapsed": 417.29854226112366 + }, + { + "step": 1264, + "loss": 0.5154441595077515, + "error": 0.27734375, + "gradient_norm": 0.04474929720163345, + "elapsed": 421.7792055606842 + }, + { + "step": 1280, + "loss": 0.35227546095848083, + "error": 0.16015625, + "gradient_norm": 0.05024837702512741, + "elapsed": 426.54427456855774 + }, + { + "step": 1296, + "loss": 0.19417589902877808, + "error": 0.0830078125, + "gradient_norm": 0.026926057413220406, + "elapsed": 431.320588350296 + }, + { + "step": 1312, + "loss": 0.4768218398094177, + "error": 0.248046875, + "gradient_norm": 0.15099607408046722, + "elapsed": 435.96817326545715 + }, + { + "step": 1328, + "loss": 0.48580923676490784, + "error": 0.2509765625, + "gradient_norm": 0.08925126492977142, + "elapsed": 440.64917039871216 + }, + { + "step": 1344, + "loss": 0.42041274905204773, + "error": 0.1982421875, + "gradient_norm": 0.08321093022823334, + "elapsed": 445.34370946884155 + }, + { + "step": 1360, + "loss": 0.06403929740190506, + "error": 0.0185546875, + "gradient_norm": 0.03817005455493927, + "elapsed": 449.98669385910034 + }, + { + "step": 1376, + "loss": 0.463126003742218, + "error": 0.2275390625, + "gradient_norm": 0.08894515782594681, + "elapsed": 454.6478977203369 + }, + { + "step": 1392, + "loss": 0.5995306968688965, + "error": 0.373046875, + "gradient_norm": 0.06733685731887817, + "elapsed": 459.35924530029297 + }, + { + "step": 1408, + "loss": 0.49053263664245605, + "error": 0.25, + "gradient_norm": 0.10475508868694305, + "elapsed": 464.100093126297 + }, + { + "step": 1424, + "loss": 0.6220744848251343, + "error": 0.3818359375, + "gradient_norm": 0.03653963655233383, + "elapsed": 468.89601135253906 + }, + { + "step": 1440, + "loss": 0.39706122875213623, + "error": 0.2021484375, + "gradient_norm": 0.04344598576426506, + "elapsed": 474.03999519348145 + }, + { + "step": 1456, + "loss": 0.5386708974838257, + "error": 0.3095703125, + "gradient_norm": 0.12589037418365479, + "elapsed": 478.8600504398346 + }, + { + "step": 1472, + "loss": 0.49776726961135864, + "error": 0.271484375, + "gradient_norm": 0.058137863874435425, + "elapsed": 483.5920066833496 + }, + { + "step": 1488, + "loss": 0.4757428765296936, + "error": 0.2412109375, + "gradient_norm": 0.050453316420316696, + "elapsed": 488.4611999988556 + }, + { + "step": 1504, + "loss": 0.5694847702980042, + "error": 0.337890625, + "gradient_norm": 0.052419569343328476, + "elapsed": 493.26151037216187 + }, + { + "step": 1520, + "loss": 0.5997745990753174, + "error": 0.3603515625, + "gradient_norm": 0.04338108375668526, + "elapsed": 498.0421245098114 + }, + { + "step": 1536, + "loss": 0.6195274591445923, + "error": 0.3876953125, + "gradient_norm": 0.04848463833332062, + "elapsed": 502.8808298110962 + }, + { + "step": 1552, + "loss": 0.46315908432006836, + "error": 0.2353515625, + "gradient_norm": 0.06380566209554672, + "elapsed": 507.5519721508026 + }, + { + "step": 1568, + "loss": 0.605262041091919, + "error": 0.36328125, + "gradient_norm": 0.05077619478106499, + "elapsed": 512.457685470581 + }, + { + "step": 1584, + "loss": 0.48782041668891907, + "error": 0.232421875, + "gradient_norm": 0.09017211943864822, + "elapsed": 517.2960062026978 + }, + { + "step": 1600, + "loss": 0.3881351947784424, + "error": 0.1875, + "gradient_norm": 0.07205695658922195, + "elapsed": 522.0911631584167 + }, + { + "step": 1616, + "loss": 0.4966873526573181, + "error": 0.24609375, + "gradient_norm": 0.0582038015127182, + "elapsed": 526.8861901760101 + }, + { + "step": 1632, + "loss": 0.5844199657440186, + "error": 0.33203125, + "gradient_norm": 0.05101500824093819, + "elapsed": 531.6640138626099 + }, + { + "step": 1648, + "loss": 0.31010180711746216, + "error": 0.1318359375, + "gradient_norm": 0.053135693073272705, + "elapsed": 536.4960391521454 + }, + { + "step": 1664, + "loss": 0.6174807548522949, + "error": 0.3779296875, + "gradient_norm": 0.04161194711923599, + "elapsed": 541.2560484409332 + }, + { + "step": 1680, + "loss": 0.18213607370853424, + "error": 0.0751953125, + "gradient_norm": 0.07171957194805145, + "elapsed": 546.0000085830688 + }, + { + "step": 1696, + "loss": 0.5445692539215088, + "error": 0.2998046875, + "gradient_norm": 0.054499462246894836, + "elapsed": 551.1221191883087 + }, + { + "step": 1712, + "loss": 0.05744167044758797, + "error": 0.017578125, + "gradient_norm": 0.013108699582517147, + "elapsed": 556.5286149978638 + }, + { + "step": 1728, + "loss": 0.6381571292877197, + "error": 0.3896484375, + "gradient_norm": 0.05157556012272835, + "elapsed": 561.8000066280365 + }, + { + "step": 1744, + "loss": 0.5301004648208618, + "error": 0.28125, + "gradient_norm": 0.04218568280339241, + "elapsed": 567.2760035991669 + }, + { + "step": 1760, + "loss": 0.5275102257728577, + "error": 0.26953125, + "gradient_norm": 0.06798839569091797, + "elapsed": 572.5601994991302 + }, + { + "step": 1776, + "loss": 0.6443773508071899, + "error": 0.4091796875, + "gradient_norm": 0.07035460323095322, + "elapsed": 577.9789206981659 + }, + { + "step": 1792, + "loss": 0.6012362241744995, + "error": 0.337890625, + "gradient_norm": 0.05189951881766319, + "elapsed": 583.028017282486 + }, + { + "step": 1808, + "loss": 0.2939091920852661, + "error": 0.12109375, + "gradient_norm": 0.05555355176329613, + "elapsed": 588.0501506328583 + }, + { + "step": 1824, + "loss": 0.2059091478586197, + "error": 0.08984375, + "gradient_norm": 0.045679714530706406, + "elapsed": 593.2120039463043 + }, + { + "step": 1840, + "loss": 0.6289581060409546, + "error": 0.349609375, + "gradient_norm": 0.04742642492055893, + "elapsed": 598.7767763137817 + }, + { + "step": 1856, + "loss": 0.5532636642456055, + "error": 0.294921875, + "gradient_norm": 0.05997413396835327, + "elapsed": 604.0475382804871 + }, + { + "step": 1872, + "loss": 0.45995670557022095, + "error": 0.228515625, + "gradient_norm": 0.05674462765455246, + "elapsed": 609.292379617691 + }, + { + "step": 1888, + "loss": 0.6178656816482544, + "error": 0.359375, + "gradient_norm": 0.08857566863298416, + "elapsed": 614.5639882087708 + }, + { + "step": 1904, + "loss": 0.5531284213066101, + "error": 0.287109375, + "gradient_norm": 0.10257937759160995, + "elapsed": 619.5600035190582 + }, + { + "step": 1920, + "loss": 0.04184349626302719, + "error": 0.013671875, + "gradient_norm": 0.04087059944868088, + "elapsed": 624.6679775714874 + }, + { + "step": 1936, + "loss": 0.5924860239028931, + "error": 0.3505859375, + "gradient_norm": 0.036822713911533356, + "elapsed": 629.936680316925 + }, + { + "step": 1952, + "loss": 0.46996980905532837, + "error": 0.2421875, + "gradient_norm": 0.034442272037267685, + "elapsed": 635.1109762191772 + }, + { + "step": 1968, + "loss": 0.17859068512916565, + "error": 0.0712890625, + "gradient_norm": 0.03440066799521446, + "elapsed": 640.32000207901 + }, + { + "step": 1984, + "loss": 0.6192275285720825, + "error": 0.3701171875, + "gradient_norm": 0.04386439174413681, + "elapsed": 645.6040184497833 + }, + { + "step": 2000, + "loss": 0.6160917282104492, + "error": 0.35546875, + "gradient_norm": 0.06268990784883499, + "elapsed": 650.7723731994629 + }, + { + "step": 2016, + "loss": 0.6343611478805542, + "error": 0.388671875, + "gradient_norm": 0.04243326932191849, + "elapsed": 655.972663640976 + }, + { + "step": 2032, + "loss": 0.062292590737342834, + "error": 0.021484375, + "gradient_norm": 0.016680095344781876, + "elapsed": 660.8079733848572 + }, + { + "step": 2048, + "loss": 0.5316072702407837, + "error": 0.26953125, + "gradient_norm": 0.057860780507326126, + "elapsed": 665.5760209560394 + }, + { + "step": 2064, + "loss": 0.605312705039978, + "error": 0.3623046875, + "gradient_norm": 0.04028146713972092, + "elapsed": 682.7294294834137 + }, + { + "step": 2080, + "loss": 0.56633460521698, + "error": 0.3330078125, + "gradient_norm": 0.09528280049562454, + "elapsed": 687.4644649028778 + }, + { + "step": 2096, + "loss": 0.3905397057533264, + "error": 0.1943359375, + "gradient_norm": 0.049456462264060974, + "elapsed": 692.1492264270782 + }, + { + "step": 2112, + "loss": 0.28124868869781494, + "error": 0.1259765625, + "gradient_norm": 0.059239838272333145, + "elapsed": 696.8701393604279 + }, + { + "step": 2128, + "loss": 0.6364338994026184, + "error": 0.392578125, + "gradient_norm": 0.08667811006307602, + "elapsed": 701.683988571167 + }, + { + "step": 2144, + "loss": 0.20683243870735168, + "error": 0.07421875, + "gradient_norm": 0.1100710779428482, + "elapsed": 706.4000360965729 + }, + { + "step": 2160, + "loss": 0.5912737250328064, + "error": 0.341796875, + "gradient_norm": 0.05641854554414749, + "elapsed": 711.2359964847565 + }, + { + "step": 2176, + "loss": 0.27793264389038086, + "error": 0.12109375, + "gradient_norm": 0.0893034040927887, + "elapsed": 715.9508004188538 + }, + { + "step": 2192, + "loss": 0.6474133133888245, + "error": 0.4072265625, + "gradient_norm": 0.06980258971452713, + "elapsed": 720.651974439621 + }, + { + "step": 2208, + "loss": 0.5961858630180359, + "error": 0.35546875, + "gradient_norm": 0.06530112773180008, + "elapsed": 725.496098279953 + }, + { + "step": 2224, + "loss": 0.47581571340560913, + "error": 0.263671875, + "gradient_norm": 0.04470043256878853, + "elapsed": 730.2880010604858 + }, + { + "step": 2240, + "loss": 0.577988862991333, + "error": 0.318359375, + "gradient_norm": 0.07201159745454788, + "elapsed": 735.006133556366 + }, + { + "step": 2256, + "loss": 0.28444671630859375, + "error": 0.1181640625, + "gradient_norm": 0.048656050115823746, + "elapsed": 739.6868116855621 + }, + { + "step": 2272, + "loss": 0.2776409089565277, + "error": 0.1201171875, + "gradient_norm": 0.05783981829881668, + "elapsed": 744.3517308235168 + }, + { + "step": 2288, + "loss": 0.621599555015564, + "error": 0.37109375, + "gradient_norm": 0.09731200337409973, + "elapsed": 749.0351710319519 + }, + { + "step": 2304, + "loss": 0.3333754539489746, + "error": 0.1513671875, + "gradient_norm": 0.07069239765405655, + "elapsed": 753.7588081359863 + }, + { + "step": 2320, + "loss": 0.4687051773071289, + "error": 0.2490234375, + "gradient_norm": 0.044891707599163055, + "elapsed": 758.4588432312012 + }, + { + "step": 2336, + "loss": 0.19801637530326843, + "error": 0.078125, + "gradient_norm": 0.10036595165729523, + "elapsed": 763.256409406662 + }, + { + "step": 2352, + "loss": 0.6186277866363525, + "error": 0.388671875, + "gradient_norm": 0.09069584310054779, + "elapsed": 767.9986386299133 + }, + { + "step": 2368, + "loss": 0.6177258491516113, + "error": 0.373046875, + "gradient_norm": 0.049019571393728256, + "elapsed": 772.730831861496 + }, + { + "step": 2384, + "loss": 0.17707547545433044, + "error": 0.0673828125, + "gradient_norm": 0.045190781354904175, + "elapsed": 777.4072704315186 + }, + { + "step": 2400, + "loss": 0.20144733786582947, + "error": 0.08203125, + "gradient_norm": 0.04537162929773331, + "elapsed": 782.0841658115387 + }, + { + "step": 2416, + "loss": 0.6151775121688843, + "error": 0.365234375, + "gradient_norm": 0.050534047186374664, + "elapsed": 786.762966632843 + }, + { + "step": 2432, + "loss": 0.5533859133720398, + "error": 0.314453125, + "gradient_norm": 0.06006559729576111, + "elapsed": 791.4656012058258 + }, + { + "step": 2448, + "loss": 0.5329082012176514, + "error": 0.2880859375, + "gradient_norm": 0.04018115997314453, + "elapsed": 796.1704161167145 + }, + { + "step": 2464, + "loss": 0.6338047981262207, + "error": 0.4140625, + "gradient_norm": 0.06069163978099823, + "elapsed": 800.9180119037628 + }, + { + "step": 2480, + "loss": 0.1603008508682251, + "error": 0.0673828125, + "gradient_norm": 0.040350593626499176, + "elapsed": 805.6127603054047 + }, + { + "step": 2496, + "loss": 0.505940318107605, + "error": 0.2568359375, + "gradient_norm": 0.05209952965378761, + "elapsed": 810.3740313053131 + }, + { + "step": 2512, + "loss": 0.5528728365898132, + "error": 0.298828125, + "gradient_norm": 0.11757992953062057, + "elapsed": 815.1708807945251 + }, + { + "step": 2528, + "loss": 0.5028313994407654, + "error": 0.2666015625, + "gradient_norm": 0.08823780715465546, + "elapsed": 819.8585045337677 + }, + { + "step": 2544, + "loss": 0.5002262592315674, + "error": 0.2783203125, + "gradient_norm": 0.04888603836297989, + "elapsed": 824.5714073181152 + }, + { + "step": 2560, + "loss": 0.6007894277572632, + "error": 0.328125, + "gradient_norm": 0.05186954140663147, + "elapsed": 829.3080432415009 + }, + { + "step": 2576, + "loss": 0.18641480803489685, + "error": 0.076171875, + "gradient_norm": 0.03799928352236748, + "elapsed": 834.044020652771 + }, + { + "step": 2592, + "loss": 0.3050769865512848, + "error": 0.1396484375, + "gradient_norm": 0.10119257122278214, + "elapsed": 838.8401296138763 + }, + { + "step": 2608, + "loss": 0.6063439846038818, + "error": 0.361328125, + "gradient_norm": 0.04979367554187775, + "elapsed": 844.3572654724121 + }, + { + "step": 2624, + "loss": 0.5751967430114746, + "error": 0.3369140625, + "gradient_norm": 0.04269539937376976, + "elapsed": 849.0660374164581 + }, + { + "step": 2640, + "loss": 0.3902108669281006, + "error": 0.193359375, + "gradient_norm": 0.10029696673154831, + "elapsed": 853.8638062477112 + }, + { + "step": 2656, + "loss": 0.15081660449504852, + "error": 0.0625, + "gradient_norm": 0.0303852129727602, + "elapsed": 858.9793758392334 + }, + { + "step": 2672, + "loss": 0.6503090858459473, + "error": 0.400390625, + "gradient_norm": 0.12611964344978333, + "elapsed": 863.9151141643524 + }, + { + "step": 2688, + "loss": 0.5587317943572998, + "error": 0.31640625, + "gradient_norm": 0.10028114914894104, + "elapsed": 868.7600305080414 + }, + { + "step": 2704, + "loss": 0.4399867355823517, + "error": 0.21484375, + "gradient_norm": 0.06889455020427704, + "elapsed": 873.4544236660004 + }, + { + "step": 2720, + "loss": 0.5865127444267273, + "error": 0.337890625, + "gradient_norm": 0.03671631962060928, + "elapsed": 878.0982644557953 + }, + { + "step": 2736, + "loss": 0.6078637838363647, + "error": 0.3701171875, + "gradient_norm": 0.04679318517446518, + "elapsed": 883.0424642562866 + }, + { + "step": 2752, + "loss": 0.5825340151786804, + "error": 0.337890625, + "gradient_norm": 0.05619681254029274, + "elapsed": 887.908124923706 + }, + { + "step": 2768, + "loss": 0.5970422029495239, + "error": 0.3369140625, + "gradient_norm": 0.041302867233753204, + "elapsed": 892.6760206222534 + }, + { + "step": 2784, + "loss": 0.3870226740837097, + "error": 0.1826171875, + "gradient_norm": 0.05731065198779106, + "elapsed": 897.6246056556702 + }, + { + "step": 2800, + "loss": 0.38130277395248413, + "error": 0.1943359375, + "gradient_norm": 0.059244755655527115, + "elapsed": 902.3360238075256 + }, + { + "step": 2816, + "loss": 0.2617901563644409, + "error": 0.1064453125, + "gradient_norm": 0.041736964136362076, + "elapsed": 907.1600468158722 + }, + { + "step": 2832, + "loss": 0.5819337368011475, + "error": 0.314453125, + "gradient_norm": 0.04097156226634979, + "elapsed": 912.0244295597076 + }, + { + "step": 2848, + "loss": 0.41393283009529114, + "error": 0.2001953125, + "gradient_norm": 0.10456771403551102, + "elapsed": 916.8225846290588 + }, + { + "step": 2864, + "loss": 0.5019145011901855, + "error": 0.2548828125, + "gradient_norm": 0.04843736067414284, + "elapsed": 921.538754940033 + }, + { + "step": 2880, + "loss": 0.04561338573694229, + "error": 0.0146484375, + "gradient_norm": 0.025407327339053154, + "elapsed": 926.2588667869568 + }, + { + "step": 2896, + "loss": 0.4338858723640442, + "error": 0.205078125, + "gradient_norm": 0.09900517761707306, + "elapsed": 930.9781975746155 + }, + { + "step": 2912, + "loss": 0.33922863006591797, + "error": 0.162109375, + "gradient_norm": 0.10189604014158249, + "elapsed": 935.6816267967224 + }, + { + "step": 2928, + "loss": 0.5294322967529297, + "error": 0.2822265625, + "gradient_norm": 0.09060791879892349, + "elapsed": 940.4373068809509 + }, + { + "step": 2944, + "loss": 0.037007369101047516, + "error": 0.01171875, + "gradient_norm": 0.05506489425897598, + "elapsed": 945.1270468235016 + }, + { + "step": 2960, + "loss": 0.6096771359443665, + "error": 0.349609375, + "gradient_norm": 0.04987221211194992, + "elapsed": 949.8300130367279 + }, + { + "step": 2976, + "loss": 0.6157823801040649, + "error": 0.373046875, + "gradient_norm": 0.03614233434200287, + "elapsed": 954.5701997280121 + }, + { + "step": 2992, + "loss": 0.1978239268064499, + "error": 0.080078125, + "gradient_norm": 0.05847112461924553, + "elapsed": 959.2756471633911 + }, + { + "step": 3008, + "loss": 0.5237340927124023, + "error": 0.2841796875, + "gradient_norm": 0.06993591040372849, + "elapsed": 963.9875864982605 + }, + { + "step": 3024, + "loss": 0.4559935927391052, + "error": 0.2373046875, + "gradient_norm": 0.05698448419570923, + "elapsed": 968.7997305393219 + }, + { + "step": 3040, + "loss": 0.5025208592414856, + "error": 0.259765625, + "gradient_norm": 0.14909739792346954, + "elapsed": 973.6042547225952 + }, + { + "step": 3056, + "loss": 0.3223109245300293, + "error": 0.1416015625, + "gradient_norm": 0.032974764704704285, + "elapsed": 978.4760546684265 + }, + { + "step": 3072, + "loss": 0.06682582199573517, + "error": 0.021484375, + "gradient_norm": 0.04433188587427139, + "elapsed": 983.2894048690796 + }, + { + "step": 3088, + "loss": 0.5919550061225891, + "error": 0.34765625, + "gradient_norm": 0.06721373647451401, + "elapsed": 1000.9520287513733 + }, + { + "step": 3104, + "loss": 0.5988063812255859, + "error": 0.3642578125, + "gradient_norm": 0.05654948577284813, + "elapsed": 1005.7442932128906 + }, + { + "step": 3120, + "loss": 0.4922299385070801, + "error": 0.2470703125, + "gradient_norm": 0.07545466721057892, + "elapsed": 1010.4616096019745 + }, + { + "step": 3136, + "loss": 0.4533671736717224, + "error": 0.236328125, + "gradient_norm": 0.06288722902536392, + "elapsed": 1015.3559956550598 + }, + { + "step": 3152, + "loss": 0.5070517063140869, + "error": 0.2666015625, + "gradient_norm": 0.07274917513132095, + "elapsed": 1020.0764343738556 + }, + { + "step": 3168, + "loss": 0.5999464988708496, + "error": 0.3408203125, + "gradient_norm": 0.05777016654610634, + "elapsed": 1024.9410600662231 + }, + { + "step": 3184, + "loss": 0.5758363008499146, + "error": 0.3427734375, + "gradient_norm": 0.051027461886405945, + "elapsed": 1029.7082171440125 + }, + { + "step": 3200, + "loss": 0.05016190931200981, + "error": 0.017578125, + "gradient_norm": 0.009175656363368034, + "elapsed": 1034.3982915878296 + }, + { + "step": 3216, + "loss": 0.5471057295799255, + "error": 0.318359375, + "gradient_norm": 0.07572721689939499, + "elapsed": 1039.117841243744 + }, + { + "step": 3232, + "loss": 0.4141446352005005, + "error": 0.193359375, + "gradient_norm": 0.10056859254837036, + "elapsed": 1043.880026102066 + }, + { + "step": 3248, + "loss": 0.5812438726425171, + "error": 0.3212890625, + "gradient_norm": 0.05781616270542145, + "elapsed": 1048.6406455039978 + }, + { + "step": 3264, + "loss": 0.19184701144695282, + "error": 0.078125, + "gradient_norm": 0.05367236211895943, + "elapsed": 1053.5672237873077 + }, + { + "step": 3280, + "loss": 0.5420833826065063, + "error": 0.28515625, + "gradient_norm": 0.052405405789613724, + "elapsed": 1058.3841104507446 + }, + { + "step": 3296, + "loss": 0.4419598877429962, + "error": 0.2177734375, + "gradient_norm": 0.05814693495631218, + "elapsed": 1063.1880333423615 + }, + { + "step": 3312, + "loss": 0.4525642991065979, + "error": 0.208984375, + "gradient_norm": 0.1061021164059639, + "elapsed": 1068.1370933055878 + }, + { + "step": 3328, + "loss": 0.32664671540260315, + "error": 0.154296875, + "gradient_norm": 0.05649850144982338, + "elapsed": 1073.1963467597961 + }, + { + "step": 3344, + "loss": 0.2655770182609558, + "error": 0.1220703125, + "gradient_norm": 0.04070372134447098, + "elapsed": 1078.2698318958282 + }, + { + "step": 3360, + "loss": 0.5894330739974976, + "error": 0.3544921875, + "gradient_norm": 0.0643400028347969, + "elapsed": 1083.0184152126312 + }, + { + "step": 3376, + "loss": 0.6118791103363037, + "error": 0.361328125, + "gradient_norm": 0.08537904173135757, + "elapsed": 1087.834038734436 + }, + { + "step": 3392, + "loss": 0.40694907307624817, + "error": 0.19921875, + "gradient_norm": 0.11411692947149277, + "elapsed": 1092.8119947910309 + }, + { + "step": 3408, + "loss": 0.04629015550017357, + "error": 0.0146484375, + "gradient_norm": 0.017204072326421738, + "elapsed": 1097.5751783847809 + }, + { + "step": 3424, + "loss": 0.20639702677726746, + "error": 0.0849609375, + "gradient_norm": 0.04801144450902939, + "elapsed": 1102.2970931529999 + }, + { + "step": 3440, + "loss": 0.6051071286201477, + "error": 0.33984375, + "gradient_norm": 0.045392412692308426, + "elapsed": 1107.1080610752106 + }, + { + "step": 3456, + "loss": 0.6553700566291809, + "error": 0.40625, + "gradient_norm": 0.05593863129615784, + "elapsed": 1111.8409752845764 + }, + { + "step": 3472, + "loss": 0.591402530670166, + "error": 0.3515625, + "gradient_norm": 0.051181379705667496, + "elapsed": 1116.5800333023071 + }, + { + "step": 3488, + "loss": 0.30494624376296997, + "error": 0.12109375, + "gradient_norm": 0.05175542086362839, + "elapsed": 1121.276373386383 + }, + { + "step": 3504, + "loss": 0.5065370798110962, + "error": 0.279296875, + "gradient_norm": 0.10419930517673492, + "elapsed": 1125.9883344173431 + }, + { + "step": 3520, + "loss": 0.3915700614452362, + "error": 0.1953125, + "gradient_norm": 0.060416825115680695, + "elapsed": 1130.7958455085754 + }, + { + "step": 3536, + "loss": 0.624374270439148, + "error": 0.3759765625, + "gradient_norm": 0.06069556251168251, + "elapsed": 1135.5360939502716 + }, + { + "step": 3552, + "loss": 0.5830206274986267, + "error": 0.3359375, + "gradient_norm": 0.046013280749320984, + "elapsed": 1140.312029838562 + }, + { + "step": 3568, + "loss": 0.4201379716396332, + "error": 0.2119140625, + "gradient_norm": 0.06909621506929398, + "elapsed": 1145.0904593467712 + }, + { + "step": 3584, + "loss": 0.28215405344963074, + "error": 0.1181640625, + "gradient_norm": 0.07625982910394669, + "elapsed": 1149.8156151771545 + }, + { + "step": 3600, + "loss": 0.5229164361953735, + "error": 0.275390625, + "gradient_norm": 0.055048178881406784, + "elapsed": 1154.5280592441559 + }, + { + "step": 3616, + "loss": 0.47238075733184814, + "error": 0.2314453125, + "gradient_norm": 0.06473162025213242, + "elapsed": 1159.2720873355865 + }, + { + "step": 3632, + "loss": 0.46245503425598145, + "error": 0.228515625, + "gradient_norm": 0.07382887601852417, + "elapsed": 1164.0119998455048 + }, + { + "step": 3648, + "loss": 0.37509745359420776, + "error": 0.171875, + "gradient_norm": 0.051260266453027725, + "elapsed": 1168.7440350055695 + }, + { + "step": 3664, + "loss": 0.1948484629392624, + "error": 0.080078125, + "gradient_norm": 0.059623416513204575, + "elapsed": 1173.3906588554382 + }, + { + "step": 3680, + "loss": 0.5552756786346436, + "error": 0.3115234375, + "gradient_norm": 0.08073585480451584, + "elapsed": 1178.0645008087158 + }, + { + "step": 3696, + "loss": 0.6405904293060303, + "error": 0.39453125, + "gradient_norm": 0.05899551138281822, + "elapsed": 1182.730489730835 + }, + { + "step": 3712, + "loss": 0.2767012119293213, + "error": 0.119140625, + "gradient_norm": 0.06593579798936844, + "elapsed": 1187.377315044403 + }, + { + "step": 3728, + "loss": 0.315812885761261, + "error": 0.134765625, + "gradient_norm": 0.035905495285987854, + "elapsed": 1192.0582301616669 + }, + { + "step": 3744, + "loss": 0.6033951640129089, + "error": 0.3544921875, + "gradient_norm": 0.05226197466254234, + "elapsed": 1196.7101175785065 + }, + { + "step": 3760, + "loss": 0.5202592611312866, + "error": 0.275390625, + "gradient_norm": 0.06367512047290802, + "elapsed": 1201.3543090820312 + }, + { + "step": 3776, + "loss": 0.24639368057250977, + "error": 0.1083984375, + "gradient_norm": 0.09370873868465424, + "elapsed": 1206.0717165470123 + }, + { + "step": 3792, + "loss": 0.6175658702850342, + "error": 0.375, + "gradient_norm": 0.06221585348248482, + "elapsed": 1210.754029750824 + }, + { + "step": 3808, + "loss": 0.41153696179389954, + "error": 0.2119140625, + "gradient_norm": 0.05355365574359894, + "elapsed": 1215.4374370574951 + }, + { + "step": 3824, + "loss": 0.28002214431762695, + "error": 0.1123046875, + "gradient_norm": 0.03846330568194389, + "elapsed": 1220.1207013130188 + }, + { + "step": 3840, + "loss": 0.0484195351600647, + "error": 0.013671875, + "gradient_norm": 0.03470242768526077, + "elapsed": 1224.8153104782104 + }, + { + "step": 3856, + "loss": 0.1407160609960556, + "error": 0.0458984375, + "gradient_norm": 0.04061700031161308, + "elapsed": 1229.5512235164642 + }, + { + "step": 3872, + "loss": 0.5881794691085815, + "error": 0.3427734375, + "gradient_norm": 0.062013477087020874, + "elapsed": 1234.3750183582306 + }, + { + "step": 3888, + "loss": 0.17833612859249115, + "error": 0.06640625, + "gradient_norm": 0.038856204599142075, + "elapsed": 1239.110375881195 + }, + { + "step": 3904, + "loss": 0.06211477518081665, + "error": 0.0224609375, + "gradient_norm": 0.02150108851492405, + "elapsed": 1243.800644159317 + }, + { + "step": 3920, + "loss": 0.06039723381400108, + "error": 0.01953125, + "gradient_norm": 0.019367367029190063, + "elapsed": 1248.4831748008728 + }, + { + "step": 3936, + "loss": 0.6010214686393738, + "error": 0.3525390625, + "gradient_norm": 0.051659151911735535, + "elapsed": 1253.1423478126526 + }, + { + "step": 3952, + "loss": 0.5867137312889099, + "error": 0.3388671875, + "gradient_norm": 0.058528851717710495, + "elapsed": 1257.9799931049347 + }, + { + "step": 3968, + "loss": 0.5231834650039673, + "error": 0.2578125, + "gradient_norm": 0.10128334909677505, + "elapsed": 1262.6990082263947 + }, + { + "step": 3984, + "loss": 0.6251651644706726, + "error": 0.353515625, + "gradient_norm": 0.06211795285344124, + "elapsed": 1267.4289934635162 + }, + { + "step": 4000, + "loss": 0.06667037308216095, + "error": 0.01953125, + "gradient_norm": 0.048018258064985275, + "elapsed": 1272.132089138031 + }, + { + "step": 4016, + "loss": 0.5286938548088074, + "error": 0.2744140625, + "gradient_norm": 0.05509360507130623, + "elapsed": 1276.8878977298737 + }, + { + "step": 4032, + "loss": 0.34016552567481995, + "error": 0.1591796875, + "gradient_norm": 0.07597329467535019, + "elapsed": 1281.7364926338196 + }, + { + "step": 4048, + "loss": 0.17750494182109833, + "error": 0.078125, + "gradient_norm": 0.06314503401517868, + "elapsed": 1286.5033600330353 + }, + { + "step": 4064, + "loss": 0.5882893800735474, + "error": 0.34375, + "gradient_norm": 0.10986580699682236, + "elapsed": 1291.1944887638092 + }, + { + "step": 4080, + "loss": 0.4923543930053711, + "error": 0.2568359375, + "gradient_norm": 0.050325747579336166, + "elapsed": 1295.9372322559357 + }, + { + "step": 4096, + "loss": 0.44146978855133057, + "error": 0.2236328125, + "gradient_norm": 0.06535191088914871, + "elapsed": 1300.641023159027 + } + ] + }, + "derived_checkpoints": { + "mean3": { + "checkpoint_label": "mean3", + "kind": "uniform_parameter_average", + "optimizer_updates_in_derived_run": 0, + "source_optimizer_steps": [ + 2048, + 3072, + 4096 + ], + "source_training_run": "temporal2", + "source_weights_sha256": { + "2048": "ab1175f9ef7ed52106ce1127b7da91bfc3d91782c0a2fec2f8189f661e3679db", + "3072": "fabbb42432fb0975023f0a367a366b8db591c6866719b4c7efb85cfe91934c65", + "4096": "5ca716cd5632c9b717bb167d187387483b5485fead55f45b25cc44325d5d18ea" + }, + "source_checkpoint_records": { + "2048": { + "step": 2048, + "new_training_shots": 2097152, + "unique_training_rows_seen_in_this_phase": 1293629, + "weights": "weights-2048.npz", + "weights_sha256": "ab1175f9ef7ed52106ce1127b7da91bfc3d91782c0a2fec2f8189f661e3679db", + "validation": "validation-2048.json", + "complete": true + }, + "3072": { + "step": 3072, + "new_training_shots": 3145728, + "unique_training_rows_seen_in_this_phase": 1594502, + "weights": "weights-3072.npz", + "weights_sha256": "fabbb42432fb0975023f0a367a366b8db591c6866719b4c7efb85cfe91934c65", + "validation": "validation-3072.json", + "complete": true + }, + "4096": { + "step": 4096, + "new_training_shots": 4194304, + "unique_training_rows_seen_in_this_phase": 1778773, + "weights": "weights-4096.npz", + "weights_sha256": "5ca716cd5632c9b717bb167d187387483b5485fead55f45b25cc44325d5d18ea", + "validation": "validation-4096.json", + "complete": true + } + }, + "weights_sha256": "a61fb22f803b795c2a39b6c19dc3a368d536cb21419ba773778601b28e4403fe", + "complete": true + }, + "mean4": { + "checkpoint_label": "mean4", + "kind": "uniform_parameter_average", + "optimizer_updates_in_derived_run": 0, + "source_optimizer_steps": [ + 1024, + 2048, + 3072, + 4096 + ], + "source_training_run": "temporal2", + "source_weights_sha256": { + "1024": "0d809362d5afe1dc781f716e3aee1a9bc5a8f75fed6cc0ff6339b9abcf600ada", + "2048": "ab1175f9ef7ed52106ce1127b7da91bfc3d91782c0a2fec2f8189f661e3679db", + "3072": "fabbb42432fb0975023f0a367a366b8db591c6866719b4c7efb85cfe91934c65", + "4096": "5ca716cd5632c9b717bb167d187387483b5485fead55f45b25cc44325d5d18ea" + }, + "source_checkpoint_records": { + "1024": { + "step": 1024, + "new_training_shots": 1048576, + "unique_training_rows_seen_in_this_phase": 804757, + "weights": "weights-1024.npz", + "weights_sha256": "0d809362d5afe1dc781f716e3aee1a9bc5a8f75fed6cc0ff6339b9abcf600ada", + "validation": "validation-1024.json", + "complete": true + }, + "2048": { + "step": 2048, + "new_training_shots": 2097152, + "unique_training_rows_seen_in_this_phase": 1293629, + "weights": "weights-2048.npz", + "weights_sha256": "ab1175f9ef7ed52106ce1127b7da91bfc3d91782c0a2fec2f8189f661e3679db", + "validation": "validation-2048.json", + "complete": true + }, + "3072": { + "step": 3072, + "new_training_shots": 3145728, + "unique_training_rows_seen_in_this_phase": 1594502, + "weights": "weights-3072.npz", + "weights_sha256": "fabbb42432fb0975023f0a367a366b8db591c6866719b4c7efb85cfe91934c65", + "validation": "validation-3072.json", + "complete": true + }, + "4096": { + "step": 4096, + "new_training_shots": 4194304, + "unique_training_rows_seen_in_this_phase": 1778773, + "weights": "weights-4096.npz", + "weights_sha256": "5ca716cd5632c9b717bb167d187387483b5485fead55f45b25cc44325d5d18ea", + "validation": "validation-4096.json", + "complete": true + } + }, + "weights_sha256": "ff4595e8f3eb7cfaa8da5a58a31e106d9684c7b8437f330573a1291f19f5777a", + "complete": true + } + }, + "selection": "Predefined last-three and all-four noninitial temporal2 checkpoint means; every validation condition evaluated before group selection", + "test_data_used": false, + "derivation_source_sha256": "b68813c7dab697a554185020c430ef05f1c35bedcda5b85b7d165af75461e914" + }, + "training_source_snapshot": "training_sources/temporal2_swa", + "selected_checkpoint_steps": [ + "mean3" + ], + "checkpoint_records": { + "mean3": { + "checkpoint_label": "mean3", + "kind": "uniform_parameter_average", + "optimizer_updates_in_derived_run": 0, + "source_optimizer_steps": [ + 2048, + 3072, + 4096 + ], + "source_training_run": "temporal2", + "source_weights_sha256": { + "2048": "ab1175f9ef7ed52106ce1127b7da91bfc3d91782c0a2fec2f8189f661e3679db", + "3072": "fabbb42432fb0975023f0a367a366b8db591c6866719b4c7efb85cfe91934c65", + "4096": "5ca716cd5632c9b717bb167d187387483b5485fead55f45b25cc44325d5d18ea" + }, + "source_checkpoint_records": { + "2048": { + "step": 2048, + "new_training_shots": 2097152, + "unique_training_rows_seen_in_this_phase": 1293629, + "weights": "weights-2048.npz", + "weights_sha256": "ab1175f9ef7ed52106ce1127b7da91bfc3d91782c0a2fec2f8189f661e3679db", + "validation": "validation-2048.json", + "complete": true + }, + "3072": { + "step": 3072, + "new_training_shots": 3145728, + "unique_training_rows_seen_in_this_phase": 1594502, + "weights": "weights-3072.npz", + "weights_sha256": "fabbb42432fb0975023f0a367a366b8db591c6866719b4c7efb85cfe91934c65", + "validation": "validation-3072.json", + "complete": true + }, + "4096": { + "step": 4096, + "new_training_shots": 4194304, + "unique_training_rows_seen_in_this_phase": 1778773, + "weights": "weights-4096.npz", + "weights_sha256": "5ca716cd5632c9b717bb167d187387483b5485fead55f45b25cc44325d5d18ea", + "validation": "validation-4096.json", + "complete": true + } + }, + "weights_sha256": "a61fb22f803b795c2a39b6c19dc3a368d536cb21419ba773778601b28e4403fe", + "complete": true + } + }, + "selection": "Minimum full-validation mean failure per group among incumbent and listed session-trained checkpoints; when listed, blend candidates average the recorded small-contextual reference and new probabilities equally", + "blend_reference": "/run-state/workspace/research/context_upgrades/continuation2/predictions", + "history": [ + { + "group": "d3_bX_center_3_5", + "candidates": { + "incumbent": 0.2445763221153846, + "mean3": 0.24451622596153846, + "mean4": 0.24484675480769236, + "blend-mean3": 0.24570312499999997, + "blend-mean4": 0.24591346153846153 + }, + "selected": "mean3" + }, + { + "group": "d3_bX_center_5_3", + "candidates": { + "incumbent": 0.2528545673076923, + "mean3": 0.25321514423076924, + "mean4": 0.2538611778846154, + "blend-mean3": 0.25310997596153845, + "blend-mean4": 0.2530498798076923 + }, + "selected": "incumbent" + }, + { + "group": "d3_bX_center_5_7", + "candidates": { + "incumbent": 0.23366887019230773, + "mean3": 0.23392427884615385, + "mean4": 0.234375, + "blend-mean3": 0.2338792067307692, + "blend-mean4": 0.23404447115384613 + }, + "selected": "incumbent" + }, + { + "group": "d3_bX_center_7_5", + "candidates": { + "incumbent": 0.23886718750000002, + "mean3": 0.23937800480769234, + "mean4": 0.2393780048076923, + "blend-mean3": 0.23942307692307693, + "blend-mean4": 0.2392578125 + }, + "selected": "incumbent" + }, + { + "group": "d3_bZ_center_3_5", + "candidates": { + "incumbent": 0.24463641826923077, + "mean3": 0.24471153846153845, + "mean4": 0.24505709134615386, + "blend-mean3": 0.24580829326923076, + "blend-mean4": 0.2457782451923077 + }, + "selected": "incumbent" + }, + { + "group": "d3_bZ_center_5_3", + "candidates": { + "incumbent": 0.23652343749999996, + "mean3": 0.2379957932692308, + "mean4": 0.23756009615384613, + "blend-mean3": 0.23751502403846153, + "blend-mean4": 0.23737980769230768 + }, + "selected": "incumbent" + }, + { + "group": "d3_bZ_center_5_7", + "candidates": { + "incumbent": 0.23562199519230764, + "mean3": 0.23643329326923077, + "mean4": 0.2361177884615384, + "blend-mean3": 0.23662860576923078, + "blend-mean4": 0.23634314903846157 + }, + "selected": "incumbent" + }, + { + "group": "d3_bZ_center_7_5", + "candidates": { + "incumbent": 0.2329627403846154, + "mean3": 0.2335186298076923, + "mean4": 0.23344350961538457, + "blend-mean3": 0.23333834134615383, + "blend-mean4": 0.2334134615384615 + }, + "selected": "incumbent" + }, + { + "group": "d5_bX_center_5_5", + "candidates": { + "incumbent": 0.2325420673076923 + }, + "selected": "incumbent" + }, + { + "group": "d5_bZ_center_5_5", + "candidates": { + "incumbent": 0.22017728365384615 + }, + "selected": "incumbent" + } + ] + }, + { + "name": "condition_same1", + "training_run": { + "initialization": "Continue from this session's trained checkpoint", + "original_initialization": "Rich network random seed20261030; new 32-channel temporal network random seed20261104; rich parameters retained, new input rows Normal(0,.001)", + "rich_starting_checkpoint": "/run-state/workspace/research/learned_exact/rich1/weights-1024.npz", + "rich_checkpoint_sha256": "04fea2cf8c598cd5587d450b50cdce58aee9a8c770a2c2da57d7a48e3bf3e2a6", + "architecture": "Rich 128-unit MLP plus 32-channel temporal encoder: four residual kernel3 convolutions with dilations1/2/4/8 and channel normalization. Receptive field31 rounds. Encoder sees events, measurements and presence masks. Per-edge 177 input features. Output4*tanh.", + "training": "Uniform condition sampling from all 104 d3 conditions; batch drawn from the supplied training split only", + "training_source_sha256": { + "learned_exact__temporal_accumulate_train.py": "9f672468a8b72966b3aa04fd22e5d40b47b0768f1c802c267a1da08244c4323b", + "learned_exact__temporal_model.py": "76fd01d5ae50f7d0b5790800898e7103ddb86db8f6a2ace883407515add2e186", + "learned_exact__data.py": "6f88582230aec7bbf35170a672ff615cac0cf18c0a690b2983874bb4c02c75e6", + "learned_exact__gradient.py": "ecb6b45698480386fa124fe878db7dbfa246d1969fd720ec26daff9547da2001", + "exact_d3__exact.py": "869dfacb295c419c156d1070fc2afdd6e20d02ac1840e45e72346b2b289f4825" + }, + "runtime_versions": { + "jax": "0.7.2", + "numpy": "2.3.3", + "optax": "0.2.6" + }, + "eligible_training_shots": 2067520, + "unique_training_rows_seen_in_this_phase": 803777, + "unique_rows_by_condition": { + "surface_code_bX_d3_r01_center_3_5": 11639, + "surface_code_bX_d3_r03_center_3_5": 10232, + "surface_code_bX_d3_r05_center_3_5": 9180, + "surface_code_bX_d3_r07_center_3_5": 10239, + "surface_code_bX_d3_r09_center_3_5": 6051, + "surface_code_bX_d3_r11_center_3_5": 8012, + "surface_code_bX_d3_r13_center_3_5": 6713, + "surface_code_bX_d3_r15_center_3_5": 6022, + "surface_code_bX_d3_r17_center_3_5": 7425, + "surface_code_bX_d3_r19_center_3_5": 8635, + "surface_code_bX_d3_r21_center_3_5": 10217, + "surface_code_bX_d3_r23_center_3_5": 6026, + "surface_code_bX_d3_r25_center_3_5": 4490, + "surface_code_bX_d3_r01_center_5_3": 7371, + "surface_code_bX_d3_r03_center_5_3": 5992, + "surface_code_bX_d3_r05_center_5_3": 6712, + "surface_code_bX_d3_r07_center_5_3": 6716, + "surface_code_bX_d3_r09_center_5_3": 7941, + "surface_code_bX_d3_r11_center_5_3": 6001, + "surface_code_bX_d3_r13_center_5_3": 8037, + "surface_code_bX_d3_r15_center_5_3": 8542, + "surface_code_bX_d3_r17_center_5_3": 10153, + "surface_code_bX_d3_r19_center_5_3": 10675, + "surface_code_bX_d3_r21_center_5_3": 7993, + "surface_code_bX_d3_r23_center_5_3": 6652, + "surface_code_bX_d3_r25_center_5_3": 8608, + "surface_code_bX_d3_r01_center_5_7": 8590, + "surface_code_bX_d3_r03_center_5_7": 11633, + "surface_code_bX_d3_r05_center_5_7": 8588, + "surface_code_bX_d3_r07_center_5_7": 10695, + "surface_code_bX_d3_r09_center_5_7": 7964, + "surface_code_bX_d3_r11_center_5_7": 11658, + "surface_code_bX_d3_r13_center_5_7": 6021, + "surface_code_bX_d3_r15_center_5_7": 9727, + "surface_code_bX_d3_r17_center_5_7": 4526, + "surface_code_bX_d3_r19_center_5_7": 9642, + "surface_code_bX_d3_r21_center_5_7": 3708, + "surface_code_bX_d3_r23_center_5_7": 6687, + "surface_code_bX_d3_r25_center_5_7": 7972, + "surface_code_bX_d3_r01_center_7_5": 6757, + "surface_code_bX_d3_r03_center_7_5": 6726, + "surface_code_bX_d3_r05_center_7_5": 4504, + "surface_code_bX_d3_r07_center_7_5": 8034, + "surface_code_bX_d3_r09_center_7_5": 8633, + "surface_code_bX_d3_r11_center_7_5": 11109, + "surface_code_bX_d3_r13_center_7_5": 9695, + "surface_code_bX_d3_r15_center_7_5": 7370, + "surface_code_bX_d3_r17_center_7_5": 7323, + "surface_code_bX_d3_r19_center_7_5": 10247, + "surface_code_bX_d3_r21_center_7_5": 6718, + "surface_code_bX_d3_r23_center_7_5": 8064, + "surface_code_bX_d3_r25_center_7_5": 8018, + "surface_code_bZ_d3_r01_center_3_5": 2856, + "surface_code_bZ_d3_r03_center_3_5": 6780, + "surface_code_bZ_d3_r05_center_3_5": 8610, + "surface_code_bZ_d3_r07_center_3_5": 9152, + "surface_code_bZ_d3_r09_center_3_5": 4522, + "surface_code_bZ_d3_r11_center_3_5": 3703, + "surface_code_bZ_d3_r13_center_3_5": 6001, + "surface_code_bZ_d3_r15_center_3_5": 7377, + "surface_code_bZ_d3_r17_center_3_5": 4517, + "surface_code_bZ_d3_r19_center_3_5": 10242, + "surface_code_bZ_d3_r21_center_3_5": 6747, + "surface_code_bZ_d3_r23_center_3_5": 7422, + "surface_code_bZ_d3_r25_center_3_5": 10606, + "surface_code_bZ_d3_r01_center_5_3": 5272, + "surface_code_bZ_d3_r03_center_5_3": 11200, + "surface_code_bZ_d3_r05_center_5_3": 4514, + "surface_code_bZ_d3_r07_center_5_3": 8002, + "surface_code_bZ_d3_r09_center_5_3": 8008, + "surface_code_bZ_d3_r11_center_5_3": 8689, + "surface_code_bZ_d3_r13_center_5_3": 8604, + "surface_code_bZ_d3_r15_center_5_3": 5981, + "surface_code_bZ_d3_r17_center_5_3": 5307, + "surface_code_bZ_d3_r19_center_5_3": 6713, + "surface_code_bZ_d3_r21_center_5_3": 8570, + "surface_code_bZ_d3_r23_center_5_3": 6700, + "surface_code_bZ_d3_r25_center_5_3": 10199, + "surface_code_bZ_d3_r01_center_5_7": 6730, + "surface_code_bZ_d3_r03_center_5_7": 7959, + "surface_code_bZ_d3_r05_center_5_7": 9741, + "surface_code_bZ_d3_r07_center_5_7": 10727, + "surface_code_bZ_d3_r09_center_5_7": 11979, + "surface_code_bZ_d3_r11_center_5_7": 3694, + "surface_code_bZ_d3_r13_center_5_7": 6746, + "surface_code_bZ_d3_r15_center_5_7": 6686, + "surface_code_bZ_d3_r17_center_5_7": 10647, + "surface_code_bZ_d3_r19_center_5_7": 8011, + "surface_code_bZ_d3_r21_center_5_7": 6000, + "surface_code_bZ_d3_r23_center_5_7": 9176, + "surface_code_bZ_d3_r25_center_5_7": 6009, + "surface_code_bZ_d3_r01_center_7_5": 9076, + "surface_code_bZ_d3_r03_center_7_5": 9182, + "surface_code_bZ_d3_r05_center_7_5": 6769, + "surface_code_bZ_d3_r07_center_7_5": 11140, + "surface_code_bZ_d3_r09_center_7_5": 7359, + "surface_code_bZ_d3_r11_center_7_5": 8582, + "surface_code_bZ_d3_r13_center_7_5": 5284, + "surface_code_bZ_d3_r15_center_7_5": 6694, + "surface_code_bZ_d3_r17_center_7_5": 5965, + "surface_code_bZ_d3_r19_center_7_5": 6016, + "surface_code_bZ_d3_r21_center_7_5": 9225, + "surface_code_bZ_d3_r23_center_7_5": 4509, + "surface_code_bZ_d3_r25_center_7_5": 6694 + }, + "steps": 1024, + "batch_size": 256, + "accumulate_conditions": 4, + "effective_batch_size": 1024, + "condition_policy": "same", + "training_draws": 1048576, + "condition_sampling": "Draw one condition index per microbatch in both arms; same-condition control reuses the first index while mixed arm uses all indices. Both arms consume identical RNG draws with equal-sized condition pools.", + "optimizer": "AdamW, weight decay 1e-4, global gradient norm clip 1", + "learning_rate": 0.00025, + "sampling_seed": 20261190, + "optimizer_restored": false, + "rng_restored": false, + "explicit_optimizer_reset": true, + "explicit_rng_reset": true, + "sampling_state_source": "Fresh NumPy default_rng seed 20261190", + "session_trained_starting_checkpoint": "/run-state/workspace/research/learned_exact/temporal2_swa/weights-mean3.npz", + "starting_checkpoint_sha256": "a61fb22f803b795c2a39b6c19dc3a368d536cb21419ba773778601b28e4403fe", + "starting_training_provenance": { + "initialization": "Uniform averages of the same session-trained temporal trajectory; no external weights", + "optimizer_updates_in_derived_run": 0, + "source_training_provenance": { + "initialization": "Continue from this session's trained checkpoint", + "original_initialization": "Rich network random seed20261030; new 32-channel temporal network random seed20261104; rich parameters retained, new input rows Normal(0,.001)", + "rich_starting_checkpoint": "/run-state/workspace/research/learned_exact/rich1/weights-1024.npz", + "rich_checkpoint_sha256": "04fea2cf8c598cd5587d450b50cdce58aee9a8c770a2c2da57d7a48e3bf3e2a6", + "architecture": "Rich 128-unit MLP plus 32-channel temporal encoder: four residual kernel3 convolutions with dilations1/2/4/8 and channel normalization. Receptive field31 rounds. Encoder sees events, measurements and presence masks. Per-edge 177 input features. Output4*tanh.", + "training": "Uniform condition sampling from all 104 d3 conditions; batch drawn from the supplied training split only", + "training_source_sha256": { + "learned_exact__temporal_train.py": "7d48d2fc7f62d0bec3023b3df1c2ac28537d0417966131ae3a156697a34cda5f", + "learned_exact__temporal_model.py": "76fd01d5ae50f7d0b5790800898e7103ddb86db8f6a2ace883407515add2e186", + "learned_exact__data.py": "6f88582230aec7bbf35170a672ff615cac0cf18c0a690b2983874bb4c02c75e6", + "learned_exact__gradient.py": "ecb6b45698480386fa124fe878db7dbfa246d1969fd720ec26daff9547da2001", + "exact_d3__exact.py": "869dfacb295c419c156d1070fc2afdd6e20d02ac1840e45e72346b2b289f4825" + }, + "runtime_versions": { + "jax": "0.7.2", + "numpy": "2.3.3", + "optax": "0.2.6" + }, + "eligible_training_shots": 2067520, + "unique_training_rows_seen_in_this_phase": 1778773, + "unique_rows_by_condition": { + "surface_code_bX_d3_r01_center_3_5": 18357, + "surface_code_bX_d3_r03_center_3_5": 16816, + "surface_code_bX_d3_r05_center_3_5": 17999, + "surface_code_bX_d3_r07_center_3_5": 15225, + "surface_code_bX_d3_r09_center_3_5": 16132, + "surface_code_bX_d3_r11_center_3_5": 17041, + "surface_code_bX_d3_r13_center_3_5": 18477, + "surface_code_bX_d3_r15_center_3_5": 18214, + "surface_code_bX_d3_r17_center_3_5": 16505, + "surface_code_bX_d3_r19_center_3_5": 17120, + "surface_code_bX_d3_r21_center_3_5": 17563, + "surface_code_bX_d3_r23_center_3_5": 16681, + "surface_code_bX_d3_r25_center_3_5": 18379, + "surface_code_bX_d3_r01_center_5_3": 17450, + "surface_code_bX_d3_r03_center_5_3": 17161, + "surface_code_bX_d3_r05_center_5_3": 15797, + "surface_code_bX_d3_r07_center_5_3": 17800, + "surface_code_bX_d3_r09_center_5_3": 17190, + "surface_code_bX_d3_r11_center_5_3": 15840, + "surface_code_bX_d3_r13_center_5_3": 15178, + "surface_code_bX_d3_r15_center_5_3": 14897, + "surface_code_bX_d3_r17_center_5_3": 18252, + "surface_code_bX_d3_r19_center_5_3": 17083, + "surface_code_bX_d3_r21_center_5_3": 17229, + "surface_code_bX_d3_r23_center_5_3": 14735, + "surface_code_bX_d3_r25_center_5_3": 17949, + "surface_code_bX_d3_r01_center_5_7": 17431, + "surface_code_bX_d3_r03_center_5_7": 16583, + "surface_code_bX_d3_r05_center_5_7": 16891, + "surface_code_bX_d3_r07_center_5_7": 17969, + "surface_code_bX_d3_r09_center_5_7": 17966, + "surface_code_bX_d3_r11_center_5_7": 14424, + "surface_code_bX_d3_r13_center_5_7": 16930, + "surface_code_bX_d3_r15_center_5_7": 15205, + "surface_code_bX_d3_r17_center_5_7": 18252, + "surface_code_bX_d3_r19_center_5_7": 17077, + "surface_code_bX_d3_r21_center_5_7": 16770, + "surface_code_bX_d3_r23_center_5_7": 17308, + "surface_code_bX_d3_r25_center_5_7": 17481, + "surface_code_bX_d3_r01_center_7_5": 16630, + "surface_code_bX_d3_r03_center_7_5": 17439, + "surface_code_bX_d3_r05_center_7_5": 15811, + "surface_code_bX_d3_r07_center_7_5": 16637, + "surface_code_bX_d3_r09_center_7_5": 18306, + "surface_code_bX_d3_r11_center_7_5": 18327, + "surface_code_bX_d3_r13_center_7_5": 17974, + "surface_code_bX_d3_r15_center_7_5": 16106, + "surface_code_bX_d3_r17_center_7_5": 15834, + "surface_code_bX_d3_r19_center_7_5": 17242, + "surface_code_bX_d3_r21_center_7_5": 17889, + "surface_code_bX_d3_r23_center_7_5": 17440, + "surface_code_bX_d3_r25_center_7_5": 17087, + "surface_code_bZ_d3_r01_center_3_5": 16236, + "surface_code_bZ_d3_r03_center_3_5": 17278, + "surface_code_bZ_d3_r05_center_3_5": 16577, + "surface_code_bZ_d3_r07_center_3_5": 17376, + "surface_code_bZ_d3_r09_center_3_5": 16000, + "surface_code_bZ_d3_r11_center_3_5": 15634, + "surface_code_bZ_d3_r13_center_3_5": 14950, + "surface_code_bZ_d3_r15_center_3_5": 16600, + "surface_code_bZ_d3_r17_center_3_5": 15381, + "surface_code_bZ_d3_r19_center_3_5": 16823, + "surface_code_bZ_d3_r21_center_3_5": 18789, + "surface_code_bZ_d3_r23_center_3_5": 15616, + "surface_code_bZ_d3_r25_center_3_5": 17088, + "surface_code_bZ_d3_r01_center_5_3": 17935, + "surface_code_bZ_d3_r03_center_5_3": 16256, + "surface_code_bZ_d3_r05_center_5_3": 17959, + "surface_code_bZ_d3_r07_center_5_3": 18401, + "surface_code_bZ_d3_r09_center_5_3": 16405, + "surface_code_bZ_d3_r11_center_5_3": 17274, + "surface_code_bZ_d3_r13_center_5_3": 18172, + "surface_code_bZ_d3_r15_center_5_3": 17525, + "surface_code_bZ_d3_r17_center_5_3": 18643, + "surface_code_bZ_d3_r19_center_5_3": 17816, + "surface_code_bZ_d3_r21_center_5_3": 17404, + "surface_code_bZ_d3_r23_center_5_3": 17253, + "surface_code_bZ_d3_r25_center_5_3": 17667, + "surface_code_bZ_d3_r01_center_5_7": 16203, + "surface_code_bZ_d3_r03_center_5_7": 17214, + "surface_code_bZ_d3_r05_center_5_7": 16799, + "surface_code_bZ_d3_r07_center_5_7": 17896, + "surface_code_bZ_d3_r09_center_5_7": 16411, + "surface_code_bZ_d3_r11_center_5_7": 17726, + "surface_code_bZ_d3_r13_center_5_7": 16313, + "surface_code_bZ_d3_r15_center_5_7": 17824, + "surface_code_bZ_d3_r17_center_5_7": 15656, + "surface_code_bZ_d3_r19_center_5_7": 17169, + "surface_code_bZ_d3_r21_center_5_7": 17194, + "surface_code_bZ_d3_r23_center_5_7": 16779, + "surface_code_bZ_d3_r25_center_5_7": 16970, + "surface_code_bZ_d3_r01_center_7_5": 16762, + "surface_code_bZ_d3_r03_center_7_5": 17320, + "surface_code_bZ_d3_r05_center_7_5": 17522, + "surface_code_bZ_d3_r07_center_7_5": 17914, + "surface_code_bZ_d3_r09_center_7_5": 18439, + "surface_code_bZ_d3_r11_center_7_5": 18218, + "surface_code_bZ_d3_r13_center_7_5": 17907, + "surface_code_bZ_d3_r15_center_7_5": 17597, + "surface_code_bZ_d3_r17_center_7_5": 18252, + "surface_code_bZ_d3_r19_center_7_5": 18379, + "surface_code_bZ_d3_r21_center_7_5": 16818, + "surface_code_bZ_d3_r23_center_7_5": 18430, + "surface_code_bZ_d3_r25_center_7_5": 17924 + }, + "steps": 4096, + "batch_size": 1024, + "optimizer": "AdamW, weight decay 1e-4, global gradient norm clip 1", + "learning_rate": 0.0005, + "sampling_seed": 20261121, + "optimizer_restored": true, + "rng_restored": true, + "sampling_state_source": "/run-state/workspace/research/learned_exact/temporal1/rng-2048.json", + "session_trained_starting_checkpoint": "/run-state/workspace/research/learned_exact/temporal1/weights-2048.npz", + "starting_checkpoint_sha256": "26be9e0259b69a5870bf73e80a5a29fcf3519a3ff63e1d219c57a2113d9d34be", + "starting_training_provenance": { + "initialization": "Continue from rich weights trained from random initialization in this session; new temporal parameters randomly initialized now", + "original_initialization": "Rich network random seed20261030; new 32-channel temporal network random seed20261104; rich parameters retained, new input rows Normal(0,.001)", + "rich_starting_checkpoint": "/run-state/workspace/research/learned_exact/rich1/weights-1024.npz", + "rich_checkpoint_sha256": "04fea2cf8c598cd5587d450b50cdce58aee9a8c770a2c2da57d7a48e3bf3e2a6", + "architecture": "Rich 128-unit MLP plus 32-channel temporal encoder: four residual kernel3 convolutions with dilations1/2/4/8 and channel normalization. Receptive field31 rounds. Encoder sees events, measurements and presence masks. Per-edge 177 input features. Output4*tanh.", + "training": "Uniform condition sampling from all 104 d3 conditions; batch drawn from the supplied training split only", + "steps": 2048, + "batch_size": 1024, + "optimizer": "AdamW, weight decay 1e-4, global gradient norm clip 1", + "learning_rate": 0.001, + "sampling_seed": 20261111, + "optimizer_restored": false, + "rng_restored": false, + "session_trained_starting_checkpoint": null, + "starting_checkpoint_sha256": null, + "loss": "Binary conditional logical likelihood computed by exact frontier elimination", + "validation_shots_per_condition": 1024, + "uniform_validation": true, + "uniform_validation_seed": 20261028, + "test_data_used": false, + "log": [ + { + "step": 1, + "loss": 0.6317505836486816, + "error": 0.3681640625, + "gradient_norm": 0.04013459011912346, + "elapsed": 30.971998691558838 + }, + { + "step": 16, + "loss": 0.5091081857681274, + "error": 0.291015625, + "gradient_norm": 0.042228709906339645, + "elapsed": 35.17463397979736 + }, + { + "step": 32, + "loss": 0.626472532749176, + "error": 0.3642578125, + "gradient_norm": 0.05872415751218796, + "elapsed": 39.678136110305786 + }, + { + "step": 48, + "loss": 0.6005369424819946, + "error": 0.3515625, + "gradient_norm": 0.03848014399409294, + "elapsed": 44.16946887969971 + }, + { + "step": 64, + "loss": 0.5523768663406372, + "error": 0.302734375, + "gradient_norm": 0.06031862646341324, + "elapsed": 48.65217089653015 + }, + { + "step": 80, + "loss": 0.3981674611568451, + "error": 0.19921875, + "gradient_norm": 0.0542079322040081, + "elapsed": 53.21601867675781 + }, + { + "step": 96, + "loss": 0.5601426362991333, + "error": 0.2978515625, + "gradient_norm": 0.04770371690392494, + "elapsed": 57.81089663505554 + }, + { + "step": 112, + "loss": 0.5878150463104248, + "error": 0.34765625, + "gradient_norm": 0.10699950158596039, + "elapsed": 62.42190766334534 + }, + { + "step": 128, + "loss": 0.5232458114624023, + "error": 0.2861328125, + "gradient_norm": 0.0911584198474884, + "elapsed": 67.00223755836487 + }, + { + "step": 144, + "loss": 0.6119767427444458, + "error": 0.3623046875, + "gradient_norm": 0.062474437057971954, + "elapsed": 71.54070782661438 + }, + { + "step": 160, + "loss": 0.3037984371185303, + "error": 0.1474609375, + "gradient_norm": 0.05718141421675682, + "elapsed": 76.08167362213135 + }, + { + "step": 176, + "loss": 0.6038273572921753, + "error": 0.3662109375, + "gradient_norm": 0.0437164381146431, + "elapsed": 80.71864247322083 + }, + { + "step": 192, + "loss": 0.3304370641708374, + "error": 0.1572265625, + "gradient_norm": 0.05684761330485344, + "elapsed": 85.54437017440796 + }, + { + "step": 208, + "loss": 0.5785484313964844, + "error": 0.3251953125, + "gradient_norm": 0.09597272425889969, + "elapsed": 91.51522874832153 + }, + { + "step": 224, + "loss": 0.3110499978065491, + "error": 0.13671875, + "gradient_norm": 0.04815748706459999, + "elapsed": 97.1228940486908 + }, + { + "step": 240, + "loss": 0.6213864684104919, + "error": 0.3623046875, + "gradient_norm": 0.0540502592921257, + "elapsed": 102.90286135673523 + }, + { + "step": 256, + "loss": 0.2535272240638733, + "error": 0.1064453125, + "gradient_norm": 0.029962118715047836, + "elapsed": 108.39288640022278 + }, + { + "step": 272, + "loss": 0.6126939058303833, + "error": 0.3671875, + "gradient_norm": 0.06887879222631454, + "elapsed": 113.83897161483765 + }, + { + "step": 288, + "loss": 0.4556676149368286, + "error": 0.2236328125, + "gradient_norm": 0.16127081215381622, + "elapsed": 119.93085813522339 + }, + { + "step": 304, + "loss": 0.4973585605621338, + "error": 0.255859375, + "gradient_norm": 0.08082302659749985, + "elapsed": 125.90891909599304 + }, + { + "step": 320, + "loss": 0.6455868482589722, + "error": 0.419921875, + "gradient_norm": 0.04339660331606865, + "elapsed": 131.20537638664246 + }, + { + "step": 336, + "loss": 0.5343132615089417, + "error": 0.2880859375, + "gradient_norm": 0.07518009096384048, + "elapsed": 136.59086871147156 + }, + { + "step": 352, + "loss": 0.6505346894264221, + "error": 0.4033203125, + "gradient_norm": 0.03800992667675018, + "elapsed": 142.21085906028748 + }, + { + "step": 368, + "loss": 0.4882712960243225, + "error": 0.251953125, + "gradient_norm": 0.08170920610427856, + "elapsed": 146.95903658866882 + }, + { + "step": 384, + "loss": 0.5292021036148071, + "error": 0.296875, + "gradient_norm": 0.08454013615846634, + "elapsed": 151.6385259628296 + }, + { + "step": 400, + "loss": 0.6272899508476257, + "error": 0.3837890625, + "gradient_norm": 0.051436979323625565, + "elapsed": 156.3343904018402 + }, + { + "step": 416, + "loss": 0.052130259573459625, + "error": 0.0166015625, + "gradient_norm": 0.02377190627157688, + "elapsed": 160.92345547676086 + }, + { + "step": 432, + "loss": 0.5256737470626831, + "error": 0.3046875, + "gradient_norm": 0.07986386120319366, + "elapsed": 165.52879118919373 + }, + { + "step": 448, + "loss": 0.15193665027618408, + "error": 0.0576171875, + "gradient_norm": 0.06491660326719284, + "elapsed": 170.14827823638916 + }, + { + "step": 464, + "loss": 0.6418055295944214, + "error": 0.40625, + "gradient_norm": 0.07290885597467422, + "elapsed": 174.64974284172058 + }, + { + "step": 480, + "loss": 0.6055159568786621, + "error": 0.357421875, + "gradient_norm": 0.0795595794916153, + "elapsed": 179.17218685150146 + }, + { + "step": 496, + "loss": 0.6372283697128296, + "error": 0.3916015625, + "gradient_norm": 0.04387903958559036, + "elapsed": 183.77568197250366 + }, + { + "step": 512, + "loss": 0.637977123260498, + "error": 0.408203125, + "gradient_norm": 0.060665905475616455, + "elapsed": 188.31205368041992 + }, + { + "step": 528, + "loss": 0.4668862223625183, + "error": 0.2451171875, + "gradient_norm": 0.08566711097955704, + "elapsed": 206.40719985961914 + }, + { + "step": 544, + "loss": 0.4584413170814514, + "error": 0.244140625, + "gradient_norm": 0.08538200706243515, + "elapsed": 211.02819895744324 + }, + { + "step": 560, + "loss": 0.5615692138671875, + "error": 0.3291015625, + "gradient_norm": 0.043748609721660614, + "elapsed": 215.66470766067505 + }, + { + "step": 576, + "loss": 0.5151895880699158, + "error": 0.2880859375, + "gradient_norm": 0.05164863541722298, + "elapsed": 220.18949556350708 + }, + { + "step": 592, + "loss": 0.5618112087249756, + "error": 0.3291015625, + "gradient_norm": 0.05998719856142998, + "elapsed": 224.7216100692749 + }, + { + "step": 608, + "loss": 0.659294843673706, + "error": 0.431640625, + "gradient_norm": 0.09910348802804947, + "elapsed": 229.26827573776245 + }, + { + "step": 624, + "loss": 0.5895233154296875, + "error": 0.3447265625, + "gradient_norm": 0.045334093272686005, + "elapsed": 233.83731055259705 + }, + { + "step": 640, + "loss": 0.6081801056861877, + "error": 0.3388671875, + "gradient_norm": 0.06578423827886581, + "elapsed": 238.36345624923706 + }, + { + "step": 656, + "loss": 0.5349816083908081, + "error": 0.2939453125, + "gradient_norm": 0.09989562630653381, + "elapsed": 242.95086026191711 + }, + { + "step": 672, + "loss": 0.5871994495391846, + "error": 0.328125, + "gradient_norm": 0.08132346719503403, + "elapsed": 247.67088556289673 + }, + { + "step": 688, + "loss": 0.06012660637497902, + "error": 0.0146484375, + "gradient_norm": 0.012170507572591305, + "elapsed": 252.3202247619629 + }, + { + "step": 704, + "loss": 0.42179757356643677, + "error": 0.21484375, + "gradient_norm": 0.08384513854980469, + "elapsed": 256.91991782188416 + }, + { + "step": 720, + "loss": 0.6111758947372437, + "error": 0.3720703125, + "gradient_norm": 0.06689880788326263, + "elapsed": 261.56407928466797 + }, + { + "step": 736, + "loss": 0.29969727993011475, + "error": 0.1318359375, + "gradient_norm": 0.0743367150425911, + "elapsed": 266.22199630737305 + }, + { + "step": 752, + "loss": 0.051849883049726486, + "error": 0.0166015625, + "gradient_norm": 0.017005126923322678, + "elapsed": 270.8602342605591 + }, + { + "step": 768, + "loss": 0.6178420186042786, + "error": 0.3759765625, + "gradient_norm": 0.027732960879802704, + "elapsed": 275.47888374328613 + }, + { + "step": 784, + "loss": 0.45798996090888977, + "error": 0.228515625, + "gradient_norm": 0.0630083829164505, + "elapsed": 280.1709156036377 + }, + { + "step": 800, + "loss": 0.5104988813400269, + "error": 0.2724609375, + "gradient_norm": 0.041733670979738235, + "elapsed": 286.17937707901 + }, + { + "step": 816, + "loss": 0.6336112022399902, + "error": 0.3837890625, + "gradient_norm": 0.0755191296339035, + "elapsed": 291.7506103515625 + }, + { + "step": 832, + "loss": 0.6260952353477478, + "error": 0.3603515625, + "gradient_norm": 0.0318005345761776, + "elapsed": 297.31094622612 + }, + { + "step": 848, + "loss": 0.5870074033737183, + "error": 0.3525390625, + "gradient_norm": 0.12073405832052231, + "elapsed": 303.11089158058167 + }, + { + "step": 864, + "loss": 0.5125640034675598, + "error": 0.26953125, + "gradient_norm": 0.038650237023830414, + "elapsed": 308.7288725376129 + }, + { + "step": 880, + "loss": 0.19194915890693665, + "error": 0.0703125, + "gradient_norm": 0.061878547072410583, + "elapsed": 314.37042355537415 + }, + { + "step": 896, + "loss": 0.5409250259399414, + "error": 0.2919921875, + "gradient_norm": 0.06288820505142212, + "elapsed": 319.9398190975189 + }, + { + "step": 912, + "loss": 0.6164936423301697, + "error": 0.3701171875, + "gradient_norm": 0.043224163353443146, + "elapsed": 325.361323595047 + }, + { + "step": 928, + "loss": 0.16032151877880096, + "error": 0.0625, + "gradient_norm": 0.030957572162151337, + "elapsed": 331.21752285957336 + }, + { + "step": 944, + "loss": 0.646601676940918, + "error": 0.3818359375, + "gradient_norm": 0.05670839175581932, + "elapsed": 336.7825517654419 + }, + { + "step": 960, + "loss": 0.402952641248703, + "error": 0.1865234375, + "gradient_norm": 0.07500886172056198, + "elapsed": 342.6888346672058 + }, + { + "step": 976, + "loss": 0.5537433624267578, + "error": 0.2939453125, + "gradient_norm": 0.04955969750881195, + "elapsed": 348.5554690361023 + }, + { + "step": 992, + "loss": 0.559626579284668, + "error": 0.294921875, + "gradient_norm": 0.048295993357896805, + "elapsed": 354.3531894683838 + }, + { + "step": 1008, + "loss": 0.5034694671630859, + "error": 0.2705078125, + "gradient_norm": 0.05729879066348076, + "elapsed": 360.0949149131775 + }, + { + "step": 1024, + "loss": 0.3119734525680542, + "error": 0.1259765625, + "gradient_norm": 0.052326612174510956, + "elapsed": 365.7881224155426 + }, + { + "step": 1040, + "loss": 0.35799849033355713, + "error": 0.173828125, + "gradient_norm": 0.03801804035902023, + "elapsed": 386.5749418735504 + }, + { + "step": 1056, + "loss": 0.6178948879241943, + "error": 0.3515625, + "gradient_norm": 0.03620661422610283, + "elapsed": 391.48247838020325 + }, + { + "step": 1072, + "loss": 0.49231401085853577, + "error": 0.24609375, + "gradient_norm": 0.04391559213399887, + "elapsed": 396.08718824386597 + }, + { + "step": 1088, + "loss": 0.4119300842285156, + "error": 0.2001953125, + "gradient_norm": 0.1104700043797493, + "elapsed": 400.5326828956604 + }, + { + "step": 1104, + "loss": 0.4926626682281494, + "error": 0.265625, + "gradient_norm": 0.04246886447072029, + "elapsed": 404.95741271972656 + }, + { + "step": 1120, + "loss": 0.5027930736541748, + "error": 0.2607421875, + "gradient_norm": 0.0547240674495697, + "elapsed": 409.40319633483887 + }, + { + "step": 1136, + "loss": 0.5948058366775513, + "error": 0.3544921875, + "gradient_norm": 0.06810063123703003, + "elapsed": 413.8514006137848 + }, + { + "step": 1152, + "loss": 0.26567256450653076, + "error": 0.125, + "gradient_norm": 0.06689104437828064, + "elapsed": 418.29868721961975 + }, + { + "step": 1168, + "loss": 0.2866836190223694, + "error": 0.1240234375, + "gradient_norm": 0.029536213725805283, + "elapsed": 422.75131845474243 + }, + { + "step": 1184, + "loss": 0.6342021822929382, + "error": 0.4091796875, + "gradient_norm": 0.0704190731048584, + "elapsed": 427.1991722583771 + }, + { + "step": 1200, + "loss": 0.41626787185668945, + "error": 0.212890625, + "gradient_norm": 0.04480795934796333, + "elapsed": 431.6600706577301 + }, + { + "step": 1216, + "loss": 0.28460952639579773, + "error": 0.1337890625, + "gradient_norm": 0.03666983172297478, + "elapsed": 436.14414525032043 + }, + { + "step": 1232, + "loss": 0.044482216238975525, + "error": 0.0146484375, + "gradient_norm": 0.04537617415189743, + "elapsed": 440.6220428943634 + }, + { + "step": 1248, + "loss": 0.42564862966537476, + "error": 0.2119140625, + "gradient_norm": 0.03382417559623718, + "elapsed": 445.06736421585083 + }, + { + "step": 1264, + "loss": 0.27150213718414307, + "error": 0.123046875, + "gradient_norm": 0.033046118915081024, + "elapsed": 449.544029712677 + }, + { + "step": 1280, + "loss": 0.4927375912666321, + "error": 0.255859375, + "gradient_norm": 0.06812550127506256, + "elapsed": 454.07198667526245 + }, + { + "step": 1296, + "loss": 0.5541940927505493, + "error": 0.28125, + "gradient_norm": 0.1435294896364212, + "elapsed": 458.6031415462494 + }, + { + "step": 1312, + "loss": 0.5575842261314392, + "error": 0.2958984375, + "gradient_norm": 0.03811952844262123, + "elapsed": 463.1806228160858 + }, + { + "step": 1328, + "loss": 0.3479428291320801, + "error": 0.1591796875, + "gradient_norm": 0.0709012895822525, + "elapsed": 467.84689688682556 + }, + { + "step": 1344, + "loss": 0.1685580611228943, + "error": 0.0693359375, + "gradient_norm": 0.05423415079712868, + "elapsed": 472.6908576488495 + }, + { + "step": 1360, + "loss": 0.18506410717964172, + "error": 0.0771484375, + "gradient_norm": 0.03418596833944321, + "elapsed": 477.4269769191742 + }, + { + "step": 1376, + "loss": 0.5654555559158325, + "error": 0.3173828125, + "gradient_norm": 0.0685155838727951, + "elapsed": 482.08285188674927 + }, + { + "step": 1392, + "loss": 0.6116407513618469, + "error": 0.3603515625, + "gradient_norm": 0.05198948457837105, + "elapsed": 486.7167499065399 + }, + { + "step": 1408, + "loss": 0.4014682471752167, + "error": 0.19140625, + "gradient_norm": 0.1024075523018837, + "elapsed": 491.4308760166168 + }, + { + "step": 1424, + "loss": 0.051035866141319275, + "error": 0.0166015625, + "gradient_norm": 0.010207361541688442, + "elapsed": 496.1818380355835 + }, + { + "step": 1440, + "loss": 0.4725648760795593, + "error": 0.2412109375, + "gradient_norm": 0.03977378085255623, + "elapsed": 500.8668632507324 + }, + { + "step": 1456, + "loss": 0.5407818555831909, + "error": 0.2939453125, + "gradient_norm": 0.088577501475811, + "elapsed": 505.49274134635925 + }, + { + "step": 1472, + "loss": 0.5655064582824707, + "error": 0.3076171875, + "gradient_norm": 0.04452778398990631, + "elapsed": 510.2188584804535 + }, + { + "step": 1488, + "loss": 0.5799556374549866, + "error": 0.30859375, + "gradient_norm": 0.03976206108927727, + "elapsed": 514.9319434165955 + }, + { + "step": 1504, + "loss": 0.4660354256629944, + "error": 0.25390625, + "gradient_norm": 0.04365506023168564, + "elapsed": 519.5848798751831 + }, + { + "step": 1520, + "loss": 0.5505894422531128, + "error": 0.30859375, + "gradient_norm": 0.057772211730480194, + "elapsed": 524.3388590812683 + }, + { + "step": 1536, + "loss": 0.6251416206359863, + "error": 0.400390625, + "gradient_norm": 0.09649194777011871, + "elapsed": 529.483047246933 + }, + { + "step": 1552, + "loss": 0.05424533039331436, + "error": 0.0185546875, + "gradient_norm": 0.011683990247547626, + "elapsed": 548.1828610897064 + }, + { + "step": 1568, + "loss": 0.33612310886383057, + "error": 0.1611328125, + "gradient_norm": 0.051817383617162704, + "elapsed": 553.4256420135498 + }, + { + "step": 1584, + "loss": 0.045015305280685425, + "error": 0.0166015625, + "gradient_norm": 0.022604886442422867, + "elapsed": 558.6308543682098 + }, + { + "step": 1600, + "loss": 0.2701840102672577, + "error": 0.119140625, + "gradient_norm": 0.02910422720015049, + "elapsed": 563.8571691513062 + }, + { + "step": 1616, + "loss": 0.18982334434986115, + "error": 0.0849609375, + "gradient_norm": 0.025524422526359558, + "elapsed": 568.8628678321838 + }, + { + "step": 1632, + "loss": 0.3950161337852478, + "error": 0.185546875, + "gradient_norm": 0.08419577777385712, + "elapsed": 574.0815451145172 + }, + { + "step": 1648, + "loss": 0.49384528398513794, + "error": 0.255859375, + "gradient_norm": 0.08879344165325165, + "elapsed": 579.1229114532471 + }, + { + "step": 1664, + "loss": 0.5671384930610657, + "error": 0.3115234375, + "gradient_norm": 0.05374513566493988, + "elapsed": 584.114851474762 + }, + { + "step": 1680, + "loss": 0.6192574501037598, + "error": 0.37890625, + "gradient_norm": 0.043836336582899094, + "elapsed": 589.0708522796631 + }, + { + "step": 1696, + "loss": 0.2619469463825226, + "error": 0.1171875, + "gradient_norm": 0.040093280375003815, + "elapsed": 594.2814819812775 + }, + { + "step": 1712, + "loss": 0.33178141713142395, + "error": 0.162109375, + "gradient_norm": 0.04902712255716324, + "elapsed": 599.3068840503693 + }, + { + "step": 1728, + "loss": 0.385281503200531, + "error": 0.171875, + "gradient_norm": 0.03541380167007446, + "elapsed": 604.5308682918549 + }, + { + "step": 1744, + "loss": 0.1628715693950653, + "error": 0.0693359375, + "gradient_norm": 0.06111741065979004, + "elapsed": 609.309522151947 + }, + { + "step": 1760, + "loss": 0.5239119529724121, + "error": 0.2861328125, + "gradient_norm": 0.08513613045215607, + "elapsed": 614.0396001338959 + }, + { + "step": 1776, + "loss": 0.35721707344055176, + "error": 0.150390625, + "gradient_norm": 0.06337940692901611, + "elapsed": 618.6857132911682 + }, + { + "step": 1792, + "loss": 0.5985626578330994, + "error": 0.33203125, + "gradient_norm": 0.035725343972444534, + "elapsed": 623.3352344036102 + }, + { + "step": 1808, + "loss": 0.34676820039749146, + "error": 0.15234375, + "gradient_norm": 0.08163885772228241, + "elapsed": 627.9495220184326 + }, + { + "step": 1824, + "loss": 0.5633711814880371, + "error": 0.3037109375, + "gradient_norm": 0.05938677117228508, + "elapsed": 632.5820379257202 + }, + { + "step": 1840, + "loss": 0.6256523132324219, + "error": 0.384765625, + "gradient_norm": 0.04545137286186218, + "elapsed": 637.205274105072 + }, + { + "step": 1856, + "loss": 0.28091639280319214, + "error": 0.1298828125, + "gradient_norm": 0.04705077037215233, + "elapsed": 641.883561372757 + }, + { + "step": 1872, + "loss": 0.516182541847229, + "error": 0.263671875, + "gradient_norm": 0.08828777819871902, + "elapsed": 646.5188939571381 + }, + { + "step": 1888, + "loss": 0.48386621475219727, + "error": 0.25390625, + "gradient_norm": 0.05322824418544769, + "elapsed": 651.148512840271 + }, + { + "step": 1904, + "loss": 0.6141921281814575, + "error": 0.388671875, + "gradient_norm": 0.050139278173446655, + "elapsed": 655.7796437740326 + }, + { + "step": 1920, + "loss": 0.18002840876579285, + "error": 0.0712890625, + "gradient_norm": 0.04201133921742439, + "elapsed": 660.4064948558807 + }, + { + "step": 1936, + "loss": 0.17531852424144745, + "error": 0.0732421875, + "gradient_norm": 0.024726318195462227, + "elapsed": 664.9991583824158 + }, + { + "step": 1952, + "loss": 0.5088322758674622, + "error": 0.2744140625, + "gradient_norm": 0.04693225398659706, + "elapsed": 669.5544555187225 + }, + { + "step": 1968, + "loss": 0.5684165358543396, + "error": 0.3310546875, + "gradient_norm": 0.031029095873236656, + "elapsed": 674.2354445457458 + }, + { + "step": 1984, + "loss": 0.06459524482488632, + "error": 0.017578125, + "gradient_norm": 0.03600892797112465, + "elapsed": 678.7982559204102 + }, + { + "step": 2000, + "loss": 0.3614455461502075, + "error": 0.1748046875, + "gradient_norm": 0.07060294598340988, + "elapsed": 683.2650325298309 + }, + { + "step": 2016, + "loss": 0.35535523295402527, + "error": 0.166015625, + "gradient_norm": 0.05873403698205948, + "elapsed": 687.7125518321991 + }, + { + "step": 2032, + "loss": 0.5638720989227295, + "error": 0.3232421875, + "gradient_norm": 0.07380504906177521, + "elapsed": 692.1461188793182 + }, + { + "step": 2048, + "loss": 0.5301838517189026, + "error": 0.2919921875, + "gradient_norm": 0.05435395985841751, + "elapsed": 696.6235508918762 + } + ] + }, + "loss": "Binary conditional logical likelihood computed by exact frontier elimination", + "validation_shots_per_condition": 1024, + "uniform_validation": true, + "uniform_validation_seed": 20261028, + "test_data_used": false, + "log": [ + { + "step": 1, + "loss": 0.250907301902771, + "error": 0.1083984375, + "gradient_norm": 0.07171476632356644, + "elapsed": 44.811134576797485 + }, + { + "step": 16, + "loss": 0.5958679914474487, + "error": 0.3662109375, + "gradient_norm": 0.07673005014657974, + "elapsed": 49.90856671333313 + }, + { + "step": 32, + "loss": 0.47648972272872925, + "error": 0.2421875, + "gradient_norm": 0.08561501652002335, + "elapsed": 55.179388761520386 + }, + { + "step": 48, + "loss": 0.06145006790757179, + "error": 0.0234375, + "gradient_norm": 0.01556467730551958, + "elapsed": 61.0339195728302 + }, + { + "step": 64, + "loss": 0.3687053918838501, + "error": 0.1884765625, + "gradient_norm": 0.08752371370792389, + "elapsed": 65.95811891555786 + }, + { + "step": 80, + "loss": 0.6481984853744507, + "error": 0.4140625, + "gradient_norm": 0.05311283841729164, + "elapsed": 70.56021332740784 + }, + { + "step": 96, + "loss": 0.42319929599761963, + "error": 0.2138671875, + "gradient_norm": 0.05047478526830673, + "elapsed": 75.11613631248474 + }, + { + "step": 112, + "loss": 0.47527259588241577, + "error": 0.24609375, + "gradient_norm": 0.038366906344890594, + "elapsed": 79.53446984291077 + }, + { + "step": 128, + "loss": 0.5996723175048828, + "error": 0.3369140625, + "gradient_norm": 0.1213272362947464, + "elapsed": 83.97515749931335 + }, + { + "step": 144, + "loss": 0.04971993714570999, + "error": 0.0146484375, + "gradient_norm": 0.008080735802650452, + "elapsed": 88.44039463996887 + }, + { + "step": 160, + "loss": 0.35900360345840454, + "error": 0.162109375, + "gradient_norm": 0.03359593451023102, + "elapsed": 92.89548206329346 + }, + { + "step": 176, + "loss": 0.5342063903808594, + "error": 0.2978515625, + "gradient_norm": 0.04794691130518913, + "elapsed": 97.35658049583435 + }, + { + "step": 192, + "loss": 0.6300076246261597, + "error": 0.369140625, + "gradient_norm": 0.081769198179245, + "elapsed": 101.81493759155273 + }, + { + "step": 208, + "loss": 0.6191903948783875, + "error": 0.3828125, + "gradient_norm": 0.07145775109529495, + "elapsed": 106.2480263710022 + }, + { + "step": 224, + "loss": 0.5155678391456604, + "error": 0.28515625, + "gradient_norm": 0.06772179156541824, + "elapsed": 110.71284222602844 + }, + { + "step": 240, + "loss": 0.634708046913147, + "error": 0.3857421875, + "gradient_norm": 0.09493093192577362, + "elapsed": 115.14978742599487 + }, + { + "step": 256, + "loss": 0.1840895414352417, + "error": 0.0751953125, + "gradient_norm": 0.025586696341633797, + "elapsed": 119.61202120780945 + }, + { + "step": 272, + "loss": 0.2775103449821472, + "error": 0.12890625, + "gradient_norm": 0.06913147866725922, + "elapsed": 124.02584528923035 + }, + { + "step": 288, + "loss": 0.6163080334663391, + "error": 0.3642578125, + "gradient_norm": 0.05895426496863365, + "elapsed": 128.46512532234192 + }, + { + "step": 304, + "loss": 0.5276986360549927, + "error": 0.287109375, + "gradient_norm": 0.06955187022686005, + "elapsed": 132.89240765571594 + }, + { + "step": 320, + "loss": 0.44859516620635986, + "error": 0.22265625, + "gradient_norm": 0.07272452116012573, + "elapsed": 137.32864713668823 + }, + { + "step": 336, + "loss": 0.48315611481666565, + "error": 0.2626953125, + "gradient_norm": 0.03321139141917229, + "elapsed": 141.80009770393372 + }, + { + "step": 352, + "loss": 0.6107717752456665, + "error": 0.3544921875, + "gradient_norm": 0.05243214592337608, + "elapsed": 146.36439752578735 + }, + { + "step": 368, + "loss": 0.6215153932571411, + "error": 0.357421875, + "gradient_norm": 0.04383325204253197, + "elapsed": 150.99996852874756 + }, + { + "step": 384, + "loss": 0.6130329966545105, + "error": 0.35546875, + "gradient_norm": 0.04113119840621948, + "elapsed": 155.62374639511108 + }, + { + "step": 400, + "loss": 0.30471885204315186, + "error": 0.142578125, + "gradient_norm": 0.04447556659579277, + "elapsed": 160.17594957351685 + }, + { + "step": 416, + "loss": 0.6154489517211914, + "error": 0.37109375, + "gradient_norm": 0.04456057772040367, + "elapsed": 164.7639675140381 + }, + { + "step": 432, + "loss": 0.6134694218635559, + "error": 0.337890625, + "gradient_norm": 0.04219559207558632, + "elapsed": 169.32792139053345 + }, + { + "step": 448, + "loss": 0.5463185906410217, + "error": 0.2939453125, + "gradient_norm": 0.07746092975139618, + "elapsed": 173.88445162773132 + }, + { + "step": 464, + "loss": 0.06016772612929344, + "error": 0.01953125, + "gradient_norm": 0.01364185381680727, + "elapsed": 178.42725706100464 + }, + { + "step": 480, + "loss": 0.388141393661499, + "error": 0.18359375, + "gradient_norm": 0.04870256036520004, + "elapsed": 182.99062085151672 + }, + { + "step": 496, + "loss": 0.44524821639060974, + "error": 0.2216796875, + "gradient_norm": 0.03453445807099342, + "elapsed": 187.56396961212158 + }, + { + "step": 512, + "loss": 0.34312355518341064, + "error": 0.154296875, + "gradient_norm": 0.06794509291648865, + "elapsed": 192.27511191368103 + }, + { + "step": 528, + "loss": 0.19467462599277496, + "error": 0.0771484375, + "gradient_norm": 0.042381469160318375, + "elapsed": 197.7108268737793 + }, + { + "step": 544, + "loss": 0.46226584911346436, + "error": 0.2421875, + "gradient_norm": 0.06073570251464844, + "elapsed": 202.97405791282654 + }, + { + "step": 560, + "loss": 0.525318443775177, + "error": 0.2822265625, + "gradient_norm": 0.06954885274171829, + "elapsed": 208.69676971435547 + }, + { + "step": 576, + "loss": 0.6158387064933777, + "error": 0.349609375, + "gradient_norm": 0.07587578892707825, + "elapsed": 214.80397653579712 + }, + { + "step": 592, + "loss": 0.5515886545181274, + "error": 0.298828125, + "gradient_norm": 0.04969338700175285, + "elapsed": 220.27399611473083 + }, + { + "step": 608, + "loss": 0.18365338444709778, + "error": 0.0654296875, + "gradient_norm": 0.08657706528902054, + "elapsed": 224.81246256828308 + }, + { + "step": 624, + "loss": 0.4578855633735657, + "error": 0.2421875, + "gradient_norm": 0.04942100867629051, + "elapsed": 229.45902252197266 + }, + { + "step": 640, + "loss": 0.37826013565063477, + "error": 0.1865234375, + "gradient_norm": 0.047499872744083405, + "elapsed": 233.9695644378662 + }, + { + "step": 656, + "loss": 0.40863412618637085, + "error": 0.2001953125, + "gradient_norm": 0.07845330238342285, + "elapsed": 238.584894657135 + }, + { + "step": 672, + "loss": 0.5640332698822021, + "error": 0.2880859375, + "gradient_norm": 0.057469289749860764, + "elapsed": 243.0929844379425 + }, + { + "step": 688, + "loss": 0.030216243118047714, + "error": 0.0078125, + "gradient_norm": 0.04682641476392746, + "elapsed": 247.581125497818 + }, + { + "step": 704, + "loss": 0.375002384185791, + "error": 0.1826171875, + "gradient_norm": 0.04864194989204407, + "elapsed": 252.1564691066742 + }, + { + "step": 720, + "loss": 0.5145515203475952, + "error": 0.2744140625, + "gradient_norm": 0.052671682089567184, + "elapsed": 256.6466488838196 + }, + { + "step": 736, + "loss": 0.067174531519413, + "error": 0.0224609375, + "gradient_norm": 0.019299577921628952, + "elapsed": 261.1185076236725 + }, + { + "step": 752, + "loss": 0.24909992516040802, + "error": 0.111328125, + "gradient_norm": 0.06907463818788528, + "elapsed": 265.61960339546204 + }, + { + "step": 768, + "loss": 0.5088074207305908, + "error": 0.2744140625, + "gradient_norm": 0.06963017582893372, + "elapsed": 270.07474064826965 + }, + { + "step": 784, + "loss": 0.3783387839794159, + "error": 0.1826171875, + "gradient_norm": 0.05537794530391693, + "elapsed": 274.52722239494324 + }, + { + "step": 800, + "loss": 0.6107200980186462, + "error": 0.3623046875, + "gradient_norm": 0.0470259003341198, + "elapsed": 279.0401859283447 + }, + { + "step": 816, + "loss": 0.5778236389160156, + "error": 0.3212890625, + "gradient_norm": 0.10146680474281311, + "elapsed": 283.5114622116089 + }, + { + "step": 832, + "loss": 0.576002299785614, + "error": 0.3076171875, + "gradient_norm": 0.07760787010192871, + "elapsed": 288.04797434806824 + }, + { + "step": 848, + "loss": 0.6179666519165039, + "error": 0.3740234375, + "gradient_norm": 0.07383852452039719, + "elapsed": 292.60600209236145 + }, + { + "step": 864, + "loss": 0.3105512857437134, + "error": 0.1455078125, + "gradient_norm": 0.052953749895095825, + "elapsed": 297.12180352211 + }, + { + "step": 880, + "loss": 0.4802623987197876, + "error": 0.2548828125, + "gradient_norm": 0.07736275345087051, + "elapsed": 301.6091134548187 + }, + { + "step": 896, + "loss": 0.5572722554206848, + "error": 0.318359375, + "gradient_norm": 0.053303152322769165, + "elapsed": 306.1978073120117 + }, + { + "step": 912, + "loss": 0.34814420342445374, + "error": 0.1669921875, + "gradient_norm": 0.037726350128650665, + "elapsed": 310.78571581840515 + }, + { + "step": 928, + "loss": 0.41743016242980957, + "error": 0.21875, + "gradient_norm": 0.05238872766494751, + "elapsed": 315.24156188964844 + }, + { + "step": 944, + "loss": 0.5757850408554077, + "error": 0.3173828125, + "gradient_norm": 0.05837905779480934, + "elapsed": 319.78475165367126 + }, + { + "step": 960, + "loss": 0.40727972984313965, + "error": 0.197265625, + "gradient_norm": 0.059294261038303375, + "elapsed": 324.2090265750885 + }, + { + "step": 976, + "loss": 0.32715001702308655, + "error": 0.1533203125, + "gradient_norm": 0.11543179303407669, + "elapsed": 328.6462152004242 + }, + { + "step": 992, + "loss": 0.5578742623329163, + "error": 0.314453125, + "gradient_norm": 0.06282714009284973, + "elapsed": 333.0712504386902 + }, + { + "step": 1008, + "loss": 0.5052692294120789, + "error": 0.265625, + "gradient_norm": 0.04039420187473297, + "elapsed": 337.5182821750641 + }, + { + "step": 1024, + "loss": 0.18790806829929352, + "error": 0.08203125, + "gradient_norm": 0.028905188664793968, + "elapsed": 342.08340406417847 + }, + { + "step": 1040, + "loss": 0.6317684650421143, + "error": 0.3681640625, + "gradient_norm": 0.03441835194826126, + "elapsed": 358.8279616832733 + }, + { + "step": 1056, + "loss": 0.40474164485931396, + "error": 0.2021484375, + "gradient_norm": 0.036449309438467026, + "elapsed": 363.30218267440796 + }, + { + "step": 1072, + "loss": 0.518299400806427, + "error": 0.2666015625, + "gradient_norm": 0.0886964276432991, + "elapsed": 367.87997555732727 + }, + { + "step": 1088, + "loss": 0.2522922158241272, + "error": 0.099609375, + "gradient_norm": 0.07553310692310333, + "elapsed": 372.4414882659912 + }, + { + "step": 1104, + "loss": 0.6214810609817505, + "error": 0.3701171875, + "gradient_norm": 0.10188957303762436, + "elapsed": 376.9120502471924 + }, + { + "step": 1120, + "loss": 0.6307054162025452, + "error": 0.3720703125, + "gradient_norm": 0.07353860139846802, + "elapsed": 381.3824534416199 + }, + { + "step": 1136, + "loss": 0.5259381532669067, + "error": 0.2763671875, + "gradient_norm": 0.05779678374528885, + "elapsed": 385.8413143157959 + }, + { + "step": 1152, + "loss": 0.4995541572570801, + "error": 0.259765625, + "gradient_norm": 0.046648140996694565, + "elapsed": 390.28326058387756 + }, + { + "step": 1168, + "loss": 0.6075694561004639, + "error": 0.3701171875, + "gradient_norm": 0.10612073540687561, + "elapsed": 394.8162364959717 + }, + { + "step": 1184, + "loss": 0.2105136513710022, + "error": 0.080078125, + "gradient_norm": 0.0716402605175972, + "elapsed": 399.2960283756256 + }, + { + "step": 1200, + "loss": 0.6371631026268005, + "error": 0.3857421875, + "gradient_norm": 0.0549108125269413, + "elapsed": 403.7899103164673 + }, + { + "step": 1216, + "loss": 0.5450670719146729, + "error": 0.2939453125, + "gradient_norm": 0.11688558012247086, + "elapsed": 408.34677600860596 + }, + { + "step": 1232, + "loss": 0.035783201456069946, + "error": 0.01171875, + "gradient_norm": 0.02951689623296261, + "elapsed": 412.8558337688446 + }, + { + "step": 1248, + "loss": 0.5582903623580933, + "error": 0.3046875, + "gradient_norm": 0.055107031017541885, + "elapsed": 417.29854226112366 + }, + { + "step": 1264, + "loss": 0.5154441595077515, + "error": 0.27734375, + "gradient_norm": 0.04474929720163345, + "elapsed": 421.7792055606842 + }, + { + "step": 1280, + "loss": 0.35227546095848083, + "error": 0.16015625, + "gradient_norm": 0.05024837702512741, + "elapsed": 426.54427456855774 + }, + { + "step": 1296, + "loss": 0.19417589902877808, + "error": 0.0830078125, + "gradient_norm": 0.026926057413220406, + "elapsed": 431.320588350296 + }, + { + "step": 1312, + "loss": 0.4768218398094177, + "error": 0.248046875, + "gradient_norm": 0.15099607408046722, + "elapsed": 435.96817326545715 + }, + { + "step": 1328, + "loss": 0.48580923676490784, + "error": 0.2509765625, + "gradient_norm": 0.08925126492977142, + "elapsed": 440.64917039871216 + }, + { + "step": 1344, + "loss": 0.42041274905204773, + "error": 0.1982421875, + "gradient_norm": 0.08321093022823334, + "elapsed": 445.34370946884155 + }, + { + "step": 1360, + "loss": 0.06403929740190506, + "error": 0.0185546875, + "gradient_norm": 0.03817005455493927, + "elapsed": 449.98669385910034 + }, + { + "step": 1376, + "loss": 0.463126003742218, + "error": 0.2275390625, + "gradient_norm": 0.08894515782594681, + "elapsed": 454.6478977203369 + }, + { + "step": 1392, + "loss": 0.5995306968688965, + "error": 0.373046875, + "gradient_norm": 0.06733685731887817, + "elapsed": 459.35924530029297 + }, + { + "step": 1408, + "loss": 0.49053263664245605, + "error": 0.25, + "gradient_norm": 0.10475508868694305, + "elapsed": 464.100093126297 + }, + { + "step": 1424, + "loss": 0.6220744848251343, + "error": 0.3818359375, + "gradient_norm": 0.03653963655233383, + "elapsed": 468.89601135253906 + }, + { + "step": 1440, + "loss": 0.39706122875213623, + "error": 0.2021484375, + "gradient_norm": 0.04344598576426506, + "elapsed": 474.03999519348145 + }, + { + "step": 1456, + "loss": 0.5386708974838257, + "error": 0.3095703125, + "gradient_norm": 0.12589037418365479, + "elapsed": 478.8600504398346 + }, + { + "step": 1472, + "loss": 0.49776726961135864, + "error": 0.271484375, + "gradient_norm": 0.058137863874435425, + "elapsed": 483.5920066833496 + }, + { + "step": 1488, + "loss": 0.4757428765296936, + "error": 0.2412109375, + "gradient_norm": 0.050453316420316696, + "elapsed": 488.4611999988556 + }, + { + "step": 1504, + "loss": 0.5694847702980042, + "error": 0.337890625, + "gradient_norm": 0.052419569343328476, + "elapsed": 493.26151037216187 + }, + { + "step": 1520, + "loss": 0.5997745990753174, + "error": 0.3603515625, + "gradient_norm": 0.04338108375668526, + "elapsed": 498.0421245098114 + }, + { + "step": 1536, + "loss": 0.6195274591445923, + "error": 0.3876953125, + "gradient_norm": 0.04848463833332062, + "elapsed": 502.8808298110962 + }, + { + "step": 1552, + "loss": 0.46315908432006836, + "error": 0.2353515625, + "gradient_norm": 0.06380566209554672, + "elapsed": 507.5519721508026 + }, + { + "step": 1568, + "loss": 0.605262041091919, + "error": 0.36328125, + "gradient_norm": 0.05077619478106499, + "elapsed": 512.457685470581 + }, + { + "step": 1584, + "loss": 0.48782041668891907, + "error": 0.232421875, + "gradient_norm": 0.09017211943864822, + "elapsed": 517.2960062026978 + }, + { + "step": 1600, + "loss": 0.3881351947784424, + "error": 0.1875, + "gradient_norm": 0.07205695658922195, + "elapsed": 522.0911631584167 + }, + { + "step": 1616, + "loss": 0.4966873526573181, + "error": 0.24609375, + "gradient_norm": 0.0582038015127182, + "elapsed": 526.8861901760101 + }, + { + "step": 1632, + "loss": 0.5844199657440186, + "error": 0.33203125, + "gradient_norm": 0.05101500824093819, + "elapsed": 531.6640138626099 + }, + { + "step": 1648, + "loss": 0.31010180711746216, + "error": 0.1318359375, + "gradient_norm": 0.053135693073272705, + "elapsed": 536.4960391521454 + }, + { + "step": 1664, + "loss": 0.6174807548522949, + "error": 0.3779296875, + "gradient_norm": 0.04161194711923599, + "elapsed": 541.2560484409332 + }, + { + "step": 1680, + "loss": 0.18213607370853424, + "error": 0.0751953125, + "gradient_norm": 0.07171957194805145, + "elapsed": 546.0000085830688 + }, + { + "step": 1696, + "loss": 0.5445692539215088, + "error": 0.2998046875, + "gradient_norm": 0.054499462246894836, + "elapsed": 551.1221191883087 + }, + { + "step": 1712, + "loss": 0.05744167044758797, + "error": 0.017578125, + "gradient_norm": 0.013108699582517147, + "elapsed": 556.5286149978638 + }, + { + "step": 1728, + "loss": 0.6381571292877197, + "error": 0.3896484375, + "gradient_norm": 0.05157556012272835, + "elapsed": 561.8000066280365 + }, + { + "step": 1744, + "loss": 0.5301004648208618, + "error": 0.28125, + "gradient_norm": 0.04218568280339241, + "elapsed": 567.2760035991669 + }, + { + "step": 1760, + "loss": 0.5275102257728577, + "error": 0.26953125, + "gradient_norm": 0.06798839569091797, + "elapsed": 572.5601994991302 + }, + { + "step": 1776, + "loss": 0.6443773508071899, + "error": 0.4091796875, + "gradient_norm": 0.07035460323095322, + "elapsed": 577.9789206981659 + }, + { + "step": 1792, + "loss": 0.6012362241744995, + "error": 0.337890625, + "gradient_norm": 0.05189951881766319, + "elapsed": 583.028017282486 + }, + { + "step": 1808, + "loss": 0.2939091920852661, + "error": 0.12109375, + "gradient_norm": 0.05555355176329613, + "elapsed": 588.0501506328583 + }, + { + "step": 1824, + "loss": 0.2059091478586197, + "error": 0.08984375, + "gradient_norm": 0.045679714530706406, + "elapsed": 593.2120039463043 + }, + { + "step": 1840, + "loss": 0.6289581060409546, + "error": 0.349609375, + "gradient_norm": 0.04742642492055893, + "elapsed": 598.7767763137817 + }, + { + "step": 1856, + "loss": 0.5532636642456055, + "error": 0.294921875, + "gradient_norm": 0.05997413396835327, + "elapsed": 604.0475382804871 + }, + { + "step": 1872, + "loss": 0.45995670557022095, + "error": 0.228515625, + "gradient_norm": 0.05674462765455246, + "elapsed": 609.292379617691 + }, + { + "step": 1888, + "loss": 0.6178656816482544, + "error": 0.359375, + "gradient_norm": 0.08857566863298416, + "elapsed": 614.5639882087708 + }, + { + "step": 1904, + "loss": 0.5531284213066101, + "error": 0.287109375, + "gradient_norm": 0.10257937759160995, + "elapsed": 619.5600035190582 + }, + { + "step": 1920, + "loss": 0.04184349626302719, + "error": 0.013671875, + "gradient_norm": 0.04087059944868088, + "elapsed": 624.6679775714874 + }, + { + "step": 1936, + "loss": 0.5924860239028931, + "error": 0.3505859375, + "gradient_norm": 0.036822713911533356, + "elapsed": 629.936680316925 + }, + { + "step": 1952, + "loss": 0.46996980905532837, + "error": 0.2421875, + "gradient_norm": 0.034442272037267685, + "elapsed": 635.1109762191772 + }, + { + "step": 1968, + "loss": 0.17859068512916565, + "error": 0.0712890625, + "gradient_norm": 0.03440066799521446, + "elapsed": 640.32000207901 + }, + { + "step": 1984, + "loss": 0.6192275285720825, + "error": 0.3701171875, + "gradient_norm": 0.04386439174413681, + "elapsed": 645.6040184497833 + }, + { + "step": 2000, + "loss": 0.6160917282104492, + "error": 0.35546875, + "gradient_norm": 0.06268990784883499, + "elapsed": 650.7723731994629 + }, + { + "step": 2016, + "loss": 0.6343611478805542, + "error": 0.388671875, + "gradient_norm": 0.04243326932191849, + "elapsed": 655.972663640976 + }, + { + "step": 2032, + "loss": 0.062292590737342834, + "error": 0.021484375, + "gradient_norm": 0.016680095344781876, + "elapsed": 660.8079733848572 + }, + { + "step": 2048, + "loss": 0.5316072702407837, + "error": 0.26953125, + "gradient_norm": 0.057860780507326126, + "elapsed": 665.5760209560394 + }, + { + "step": 2064, + "loss": 0.605312705039978, + "error": 0.3623046875, + "gradient_norm": 0.04028146713972092, + "elapsed": 682.7294294834137 + }, + { + "step": 2080, + "loss": 0.56633460521698, + "error": 0.3330078125, + "gradient_norm": 0.09528280049562454, + "elapsed": 687.4644649028778 + }, + { + "step": 2096, + "loss": 0.3905397057533264, + "error": 0.1943359375, + "gradient_norm": 0.049456462264060974, + "elapsed": 692.1492264270782 + }, + { + "step": 2112, + "loss": 0.28124868869781494, + "error": 0.1259765625, + "gradient_norm": 0.059239838272333145, + "elapsed": 696.8701393604279 + }, + { + "step": 2128, + "loss": 0.6364338994026184, + "error": 0.392578125, + "gradient_norm": 0.08667811006307602, + "elapsed": 701.683988571167 + }, + { + "step": 2144, + "loss": 0.20683243870735168, + "error": 0.07421875, + "gradient_norm": 0.1100710779428482, + "elapsed": 706.4000360965729 + }, + { + "step": 2160, + "loss": 0.5912737250328064, + "error": 0.341796875, + "gradient_norm": 0.05641854554414749, + "elapsed": 711.2359964847565 + }, + { + "step": 2176, + "loss": 0.27793264389038086, + "error": 0.12109375, + "gradient_norm": 0.0893034040927887, + "elapsed": 715.9508004188538 + }, + { + "step": 2192, + "loss": 0.6474133133888245, + "error": 0.4072265625, + "gradient_norm": 0.06980258971452713, + "elapsed": 720.651974439621 + }, + { + "step": 2208, + "loss": 0.5961858630180359, + "error": 0.35546875, + "gradient_norm": 0.06530112773180008, + "elapsed": 725.496098279953 + }, + { + "step": 2224, + "loss": 0.47581571340560913, + "error": 0.263671875, + "gradient_norm": 0.04470043256878853, + "elapsed": 730.2880010604858 + }, + { + "step": 2240, + "loss": 0.577988862991333, + "error": 0.318359375, + "gradient_norm": 0.07201159745454788, + "elapsed": 735.006133556366 + }, + { + "step": 2256, + "loss": 0.28444671630859375, + "error": 0.1181640625, + "gradient_norm": 0.048656050115823746, + "elapsed": 739.6868116855621 + }, + { + "step": 2272, + "loss": 0.2776409089565277, + "error": 0.1201171875, + "gradient_norm": 0.05783981829881668, + "elapsed": 744.3517308235168 + }, + { + "step": 2288, + "loss": 0.621599555015564, + "error": 0.37109375, + "gradient_norm": 0.09731200337409973, + "elapsed": 749.0351710319519 + }, + { + "step": 2304, + "loss": 0.3333754539489746, + "error": 0.1513671875, + "gradient_norm": 0.07069239765405655, + "elapsed": 753.7588081359863 + }, + { + "step": 2320, + "loss": 0.4687051773071289, + "error": 0.2490234375, + "gradient_norm": 0.044891707599163055, + "elapsed": 758.4588432312012 + }, + { + "step": 2336, + "loss": 0.19801637530326843, + "error": 0.078125, + "gradient_norm": 0.10036595165729523, + "elapsed": 763.256409406662 + }, + { + "step": 2352, + "loss": 0.6186277866363525, + "error": 0.388671875, + "gradient_norm": 0.09069584310054779, + "elapsed": 767.9986386299133 + }, + { + "step": 2368, + "loss": 0.6177258491516113, + "error": 0.373046875, + "gradient_norm": 0.049019571393728256, + "elapsed": 772.730831861496 + }, + { + "step": 2384, + "loss": 0.17707547545433044, + "error": 0.0673828125, + "gradient_norm": 0.045190781354904175, + "elapsed": 777.4072704315186 + }, + { + "step": 2400, + "loss": 0.20144733786582947, + "error": 0.08203125, + "gradient_norm": 0.04537162929773331, + "elapsed": 782.0841658115387 + }, + { + "step": 2416, + "loss": 0.6151775121688843, + "error": 0.365234375, + "gradient_norm": 0.050534047186374664, + "elapsed": 786.762966632843 + }, + { + "step": 2432, + "loss": 0.5533859133720398, + "error": 0.314453125, + "gradient_norm": 0.06006559729576111, + "elapsed": 791.4656012058258 + }, + { + "step": 2448, + "loss": 0.5329082012176514, + "error": 0.2880859375, + "gradient_norm": 0.04018115997314453, + "elapsed": 796.1704161167145 + }, + { + "step": 2464, + "loss": 0.6338047981262207, + "error": 0.4140625, + "gradient_norm": 0.06069163978099823, + "elapsed": 800.9180119037628 + }, + { + "step": 2480, + "loss": 0.1603008508682251, + "error": 0.0673828125, + "gradient_norm": 0.040350593626499176, + "elapsed": 805.6127603054047 + }, + { + "step": 2496, + "loss": 0.505940318107605, + "error": 0.2568359375, + "gradient_norm": 0.05209952965378761, + "elapsed": 810.3740313053131 + }, + { + "step": 2512, + "loss": 0.5528728365898132, + "error": 0.298828125, + "gradient_norm": 0.11757992953062057, + "elapsed": 815.1708807945251 + }, + { + "step": 2528, + "loss": 0.5028313994407654, + "error": 0.2666015625, + "gradient_norm": 0.08823780715465546, + "elapsed": 819.8585045337677 + }, + { + "step": 2544, + "loss": 0.5002262592315674, + "error": 0.2783203125, + "gradient_norm": 0.04888603836297989, + "elapsed": 824.5714073181152 + }, + { + "step": 2560, + "loss": 0.6007894277572632, + "error": 0.328125, + "gradient_norm": 0.05186954140663147, + "elapsed": 829.3080432415009 + }, + { + "step": 2576, + "loss": 0.18641480803489685, + "error": 0.076171875, + "gradient_norm": 0.03799928352236748, + "elapsed": 834.044020652771 + }, + { + "step": 2592, + "loss": 0.3050769865512848, + "error": 0.1396484375, + "gradient_norm": 0.10119257122278214, + "elapsed": 838.8401296138763 + }, + { + "step": 2608, + "loss": 0.6063439846038818, + "error": 0.361328125, + "gradient_norm": 0.04979367554187775, + "elapsed": 844.3572654724121 + }, + { + "step": 2624, + "loss": 0.5751967430114746, + "error": 0.3369140625, + "gradient_norm": 0.04269539937376976, + "elapsed": 849.0660374164581 + }, + { + "step": 2640, + "loss": 0.3902108669281006, + "error": 0.193359375, + "gradient_norm": 0.10029696673154831, + "elapsed": 853.8638062477112 + }, + { + "step": 2656, + "loss": 0.15081660449504852, + "error": 0.0625, + "gradient_norm": 0.0303852129727602, + "elapsed": 858.9793758392334 + }, + { + "step": 2672, + "loss": 0.6503090858459473, + "error": 0.400390625, + "gradient_norm": 0.12611964344978333, + "elapsed": 863.9151141643524 + }, + { + "step": 2688, + "loss": 0.5587317943572998, + "error": 0.31640625, + "gradient_norm": 0.10028114914894104, + "elapsed": 868.7600305080414 + }, + { + "step": 2704, + "loss": 0.4399867355823517, + "error": 0.21484375, + "gradient_norm": 0.06889455020427704, + "elapsed": 873.4544236660004 + }, + { + "step": 2720, + "loss": 0.5865127444267273, + "error": 0.337890625, + "gradient_norm": 0.03671631962060928, + "elapsed": 878.0982644557953 + }, + { + "step": 2736, + "loss": 0.6078637838363647, + "error": 0.3701171875, + "gradient_norm": 0.04679318517446518, + "elapsed": 883.0424642562866 + }, + { + "step": 2752, + "loss": 0.5825340151786804, + "error": 0.337890625, + "gradient_norm": 0.05619681254029274, + "elapsed": 887.908124923706 + }, + { + "step": 2768, + "loss": 0.5970422029495239, + "error": 0.3369140625, + "gradient_norm": 0.041302867233753204, + "elapsed": 892.6760206222534 + }, + { + "step": 2784, + "loss": 0.3870226740837097, + "error": 0.1826171875, + "gradient_norm": 0.05731065198779106, + "elapsed": 897.6246056556702 + }, + { + "step": 2800, + "loss": 0.38130277395248413, + "error": 0.1943359375, + "gradient_norm": 0.059244755655527115, + "elapsed": 902.3360238075256 + }, + { + "step": 2816, + "loss": 0.2617901563644409, + "error": 0.1064453125, + "gradient_norm": 0.041736964136362076, + "elapsed": 907.1600468158722 + }, + { + "step": 2832, + "loss": 0.5819337368011475, + "error": 0.314453125, + "gradient_norm": 0.04097156226634979, + "elapsed": 912.0244295597076 + }, + { + "step": 2848, + "loss": 0.41393283009529114, + "error": 0.2001953125, + "gradient_norm": 0.10456771403551102, + "elapsed": 916.8225846290588 + }, + { + "step": 2864, + "loss": 0.5019145011901855, + "error": 0.2548828125, + "gradient_norm": 0.04843736067414284, + "elapsed": 921.538754940033 + }, + { + "step": 2880, + "loss": 0.04561338573694229, + "error": 0.0146484375, + "gradient_norm": 0.025407327339053154, + "elapsed": 926.2588667869568 + }, + { + "step": 2896, + "loss": 0.4338858723640442, + "error": 0.205078125, + "gradient_norm": 0.09900517761707306, + "elapsed": 930.9781975746155 + }, + { + "step": 2912, + "loss": 0.33922863006591797, + "error": 0.162109375, + "gradient_norm": 0.10189604014158249, + "elapsed": 935.6816267967224 + }, + { + "step": 2928, + "loss": 0.5294322967529297, + "error": 0.2822265625, + "gradient_norm": 0.09060791879892349, + "elapsed": 940.4373068809509 + }, + { + "step": 2944, + "loss": 0.037007369101047516, + "error": 0.01171875, + "gradient_norm": 0.05506489425897598, + "elapsed": 945.1270468235016 + }, + { + "step": 2960, + "loss": 0.6096771359443665, + "error": 0.349609375, + "gradient_norm": 0.04987221211194992, + "elapsed": 949.8300130367279 + }, + { + "step": 2976, + "loss": 0.6157823801040649, + "error": 0.373046875, + "gradient_norm": 0.03614233434200287, + "elapsed": 954.5701997280121 + }, + { + "step": 2992, + "loss": 0.1978239268064499, + "error": 0.080078125, + "gradient_norm": 0.05847112461924553, + "elapsed": 959.2756471633911 + }, + { + "step": 3008, + "loss": 0.5237340927124023, + "error": 0.2841796875, + "gradient_norm": 0.06993591040372849, + "elapsed": 963.9875864982605 + }, + { + "step": 3024, + "loss": 0.4559935927391052, + "error": 0.2373046875, + "gradient_norm": 0.05698448419570923, + "elapsed": 968.7997305393219 + }, + { + "step": 3040, + "loss": 0.5025208592414856, + "error": 0.259765625, + "gradient_norm": 0.14909739792346954, + "elapsed": 973.6042547225952 + }, + { + "step": 3056, + "loss": 0.3223109245300293, + "error": 0.1416015625, + "gradient_norm": 0.032974764704704285, + "elapsed": 978.4760546684265 + }, + { + "step": 3072, + "loss": 0.06682582199573517, + "error": 0.021484375, + "gradient_norm": 0.04433188587427139, + "elapsed": 983.2894048690796 + }, + { + "step": 3088, + "loss": 0.5919550061225891, + "error": 0.34765625, + "gradient_norm": 0.06721373647451401, + "elapsed": 1000.9520287513733 + }, + { + "step": 3104, + "loss": 0.5988063812255859, + "error": 0.3642578125, + "gradient_norm": 0.05654948577284813, + "elapsed": 1005.7442932128906 + }, + { + "step": 3120, + "loss": 0.4922299385070801, + "error": 0.2470703125, + "gradient_norm": 0.07545466721057892, + "elapsed": 1010.4616096019745 + }, + { + "step": 3136, + "loss": 0.4533671736717224, + "error": 0.236328125, + "gradient_norm": 0.06288722902536392, + "elapsed": 1015.3559956550598 + }, + { + "step": 3152, + "loss": 0.5070517063140869, + "error": 0.2666015625, + "gradient_norm": 0.07274917513132095, + "elapsed": 1020.0764343738556 + }, + { + "step": 3168, + "loss": 0.5999464988708496, + "error": 0.3408203125, + "gradient_norm": 0.05777016654610634, + "elapsed": 1024.9410600662231 + }, + { + "step": 3184, + "loss": 0.5758363008499146, + "error": 0.3427734375, + "gradient_norm": 0.051027461886405945, + "elapsed": 1029.7082171440125 + }, + { + "step": 3200, + "loss": 0.05016190931200981, + "error": 0.017578125, + "gradient_norm": 0.009175656363368034, + "elapsed": 1034.3982915878296 + }, + { + "step": 3216, + "loss": 0.5471057295799255, + "error": 0.318359375, + "gradient_norm": 0.07572721689939499, + "elapsed": 1039.117841243744 + }, + { + "step": 3232, + "loss": 0.4141446352005005, + "error": 0.193359375, + "gradient_norm": 0.10056859254837036, + "elapsed": 1043.880026102066 + }, + { + "step": 3248, + "loss": 0.5812438726425171, + "error": 0.3212890625, + "gradient_norm": 0.05781616270542145, + "elapsed": 1048.6406455039978 + }, + { + "step": 3264, + "loss": 0.19184701144695282, + "error": 0.078125, + "gradient_norm": 0.05367236211895943, + "elapsed": 1053.5672237873077 + }, + { + "step": 3280, + "loss": 0.5420833826065063, + "error": 0.28515625, + "gradient_norm": 0.052405405789613724, + "elapsed": 1058.3841104507446 + }, + { + "step": 3296, + "loss": 0.4419598877429962, + "error": 0.2177734375, + "gradient_norm": 0.05814693495631218, + "elapsed": 1063.1880333423615 + }, + { + "step": 3312, + "loss": 0.4525642991065979, + "error": 0.208984375, + "gradient_norm": 0.1061021164059639, + "elapsed": 1068.1370933055878 + }, + { + "step": 3328, + "loss": 0.32664671540260315, + "error": 0.154296875, + "gradient_norm": 0.05649850144982338, + "elapsed": 1073.1963467597961 + }, + { + "step": 3344, + "loss": 0.2655770182609558, + "error": 0.1220703125, + "gradient_norm": 0.04070372134447098, + "elapsed": 1078.2698318958282 + }, + { + "step": 3360, + "loss": 0.5894330739974976, + "error": 0.3544921875, + "gradient_norm": 0.0643400028347969, + "elapsed": 1083.0184152126312 + }, + { + "step": 3376, + "loss": 0.6118791103363037, + "error": 0.361328125, + "gradient_norm": 0.08537904173135757, + "elapsed": 1087.834038734436 + }, + { + "step": 3392, + "loss": 0.40694907307624817, + "error": 0.19921875, + "gradient_norm": 0.11411692947149277, + "elapsed": 1092.8119947910309 + }, + { + "step": 3408, + "loss": 0.04629015550017357, + "error": 0.0146484375, + "gradient_norm": 0.017204072326421738, + "elapsed": 1097.5751783847809 + }, + { + "step": 3424, + "loss": 0.20639702677726746, + "error": 0.0849609375, + "gradient_norm": 0.04801144450902939, + "elapsed": 1102.2970931529999 + }, + { + "step": 3440, + "loss": 0.6051071286201477, + "error": 0.33984375, + "gradient_norm": 0.045392412692308426, + "elapsed": 1107.1080610752106 + }, + { + "step": 3456, + "loss": 0.6553700566291809, + "error": 0.40625, + "gradient_norm": 0.05593863129615784, + "elapsed": 1111.8409752845764 + }, + { + "step": 3472, + "loss": 0.591402530670166, + "error": 0.3515625, + "gradient_norm": 0.051181379705667496, + "elapsed": 1116.5800333023071 + }, + { + "step": 3488, + "loss": 0.30494624376296997, + "error": 0.12109375, + "gradient_norm": 0.05175542086362839, + "elapsed": 1121.276373386383 + }, + { + "step": 3504, + "loss": 0.5065370798110962, + "error": 0.279296875, + "gradient_norm": 0.10419930517673492, + "elapsed": 1125.9883344173431 + }, + { + "step": 3520, + "loss": 0.3915700614452362, + "error": 0.1953125, + "gradient_norm": 0.060416825115680695, + "elapsed": 1130.7958455085754 + }, + { + "step": 3536, + "loss": 0.624374270439148, + "error": 0.3759765625, + "gradient_norm": 0.06069556251168251, + "elapsed": 1135.5360939502716 + }, + { + "step": 3552, + "loss": 0.5830206274986267, + "error": 0.3359375, + "gradient_norm": 0.046013280749320984, + "elapsed": 1140.312029838562 + }, + { + "step": 3568, + "loss": 0.4201379716396332, + "error": 0.2119140625, + "gradient_norm": 0.06909621506929398, + "elapsed": 1145.0904593467712 + }, + { + "step": 3584, + "loss": 0.28215405344963074, + "error": 0.1181640625, + "gradient_norm": 0.07625982910394669, + "elapsed": 1149.8156151771545 + }, + { + "step": 3600, + "loss": 0.5229164361953735, + "error": 0.275390625, + "gradient_norm": 0.055048178881406784, + "elapsed": 1154.5280592441559 + }, + { + "step": 3616, + "loss": 0.47238075733184814, + "error": 0.2314453125, + "gradient_norm": 0.06473162025213242, + "elapsed": 1159.2720873355865 + }, + { + "step": 3632, + "loss": 0.46245503425598145, + "error": 0.228515625, + "gradient_norm": 0.07382887601852417, + "elapsed": 1164.0119998455048 + }, + { + "step": 3648, + "loss": 0.37509745359420776, + "error": 0.171875, + "gradient_norm": 0.051260266453027725, + "elapsed": 1168.7440350055695 + }, + { + "step": 3664, + "loss": 0.1948484629392624, + "error": 0.080078125, + "gradient_norm": 0.059623416513204575, + "elapsed": 1173.3906588554382 + }, + { + "step": 3680, + "loss": 0.5552756786346436, + "error": 0.3115234375, + "gradient_norm": 0.08073585480451584, + "elapsed": 1178.0645008087158 + }, + { + "step": 3696, + "loss": 0.6405904293060303, + "error": 0.39453125, + "gradient_norm": 0.05899551138281822, + "elapsed": 1182.730489730835 + }, + { + "step": 3712, + "loss": 0.2767012119293213, + "error": 0.119140625, + "gradient_norm": 0.06593579798936844, + "elapsed": 1187.377315044403 + }, + { + "step": 3728, + "loss": 0.315812885761261, + "error": 0.134765625, + "gradient_norm": 0.035905495285987854, + "elapsed": 1192.0582301616669 + }, + { + "step": 3744, + "loss": 0.6033951640129089, + "error": 0.3544921875, + "gradient_norm": 0.05226197466254234, + "elapsed": 1196.7101175785065 + }, + { + "step": 3760, + "loss": 0.5202592611312866, + "error": 0.275390625, + "gradient_norm": 0.06367512047290802, + "elapsed": 1201.3543090820312 + }, + { + "step": 3776, + "loss": 0.24639368057250977, + "error": 0.1083984375, + "gradient_norm": 0.09370873868465424, + "elapsed": 1206.0717165470123 + }, + { + "step": 3792, + "loss": 0.6175658702850342, + "error": 0.375, + "gradient_norm": 0.06221585348248482, + "elapsed": 1210.754029750824 + }, + { + "step": 3808, + "loss": 0.41153696179389954, + "error": 0.2119140625, + "gradient_norm": 0.05355365574359894, + "elapsed": 1215.4374370574951 + }, + { + "step": 3824, + "loss": 0.28002214431762695, + "error": 0.1123046875, + "gradient_norm": 0.03846330568194389, + "elapsed": 1220.1207013130188 + }, + { + "step": 3840, + "loss": 0.0484195351600647, + "error": 0.013671875, + "gradient_norm": 0.03470242768526077, + "elapsed": 1224.8153104782104 + }, + { + "step": 3856, + "loss": 0.1407160609960556, + "error": 0.0458984375, + "gradient_norm": 0.04061700031161308, + "elapsed": 1229.5512235164642 + }, + { + "step": 3872, + "loss": 0.5881794691085815, + "error": 0.3427734375, + "gradient_norm": 0.062013477087020874, + "elapsed": 1234.3750183582306 + }, + { + "step": 3888, + "loss": 0.17833612859249115, + "error": 0.06640625, + "gradient_norm": 0.038856204599142075, + "elapsed": 1239.110375881195 + }, + { + "step": 3904, + "loss": 0.06211477518081665, + "error": 0.0224609375, + "gradient_norm": 0.02150108851492405, + "elapsed": 1243.800644159317 + }, + { + "step": 3920, + "loss": 0.06039723381400108, + "error": 0.01953125, + "gradient_norm": 0.019367367029190063, + "elapsed": 1248.4831748008728 + }, + { + "step": 3936, + "loss": 0.6010214686393738, + "error": 0.3525390625, + "gradient_norm": 0.051659151911735535, + "elapsed": 1253.1423478126526 + }, + { + "step": 3952, + "loss": 0.5867137312889099, + "error": 0.3388671875, + "gradient_norm": 0.058528851717710495, + "elapsed": 1257.9799931049347 + }, + { + "step": 3968, + "loss": 0.5231834650039673, + "error": 0.2578125, + "gradient_norm": 0.10128334909677505, + "elapsed": 1262.6990082263947 + }, + { + "step": 3984, + "loss": 0.6251651644706726, + "error": 0.353515625, + "gradient_norm": 0.06211795285344124, + "elapsed": 1267.4289934635162 + }, + { + "step": 4000, + "loss": 0.06667037308216095, + "error": 0.01953125, + "gradient_norm": 0.048018258064985275, + "elapsed": 1272.132089138031 + }, + { + "step": 4016, + "loss": 0.5286938548088074, + "error": 0.2744140625, + "gradient_norm": 0.05509360507130623, + "elapsed": 1276.8878977298737 + }, + { + "step": 4032, + "loss": 0.34016552567481995, + "error": 0.1591796875, + "gradient_norm": 0.07597329467535019, + "elapsed": 1281.7364926338196 + }, + { + "step": 4048, + "loss": 0.17750494182109833, + "error": 0.078125, + "gradient_norm": 0.06314503401517868, + "elapsed": 1286.5033600330353 + }, + { + "step": 4064, + "loss": 0.5882893800735474, + "error": 0.34375, + "gradient_norm": 0.10986580699682236, + "elapsed": 1291.1944887638092 + }, + { + "step": 4080, + "loss": 0.4923543930053711, + "error": 0.2568359375, + "gradient_norm": 0.050325747579336166, + "elapsed": 1295.9372322559357 + }, + { + "step": 4096, + "loss": 0.44146978855133057, + "error": 0.2236328125, + "gradient_norm": 0.06535191088914871, + "elapsed": 1300.641023159027 + } + ] + }, + "derived_checkpoints": { + "mean3": { + "checkpoint_label": "mean3", + "kind": "uniform_parameter_average", + "optimizer_updates_in_derived_run": 0, + "source_optimizer_steps": [ + 2048, + 3072, + 4096 + ], + "source_training_run": "temporal2", + "source_weights_sha256": { + "2048": "ab1175f9ef7ed52106ce1127b7da91bfc3d91782c0a2fec2f8189f661e3679db", + "3072": "fabbb42432fb0975023f0a367a366b8db591c6866719b4c7efb85cfe91934c65", + "4096": "5ca716cd5632c9b717bb167d187387483b5485fead55f45b25cc44325d5d18ea" + }, + "source_checkpoint_records": { + "2048": { + "step": 2048, + "new_training_shots": 2097152, + "unique_training_rows_seen_in_this_phase": 1293629, + "weights": "weights-2048.npz", + "weights_sha256": "ab1175f9ef7ed52106ce1127b7da91bfc3d91782c0a2fec2f8189f661e3679db", + "validation": "validation-2048.json", + "complete": true + }, + "3072": { + "step": 3072, + "new_training_shots": 3145728, + "unique_training_rows_seen_in_this_phase": 1594502, + "weights": "weights-3072.npz", + "weights_sha256": "fabbb42432fb0975023f0a367a366b8db591c6866719b4c7efb85cfe91934c65", + "validation": "validation-3072.json", + "complete": true + }, + "4096": { + "step": 4096, + "new_training_shots": 4194304, + "unique_training_rows_seen_in_this_phase": 1778773, + "weights": "weights-4096.npz", + "weights_sha256": "5ca716cd5632c9b717bb167d187387483b5485fead55f45b25cc44325d5d18ea", + "validation": "validation-4096.json", + "complete": true + } + }, + "weights_sha256": "a61fb22f803b795c2a39b6c19dc3a368d536cb21419ba773778601b28e4403fe", + "complete": true + }, + "mean4": { + "checkpoint_label": "mean4", + "kind": "uniform_parameter_average", + "optimizer_updates_in_derived_run": 0, + "source_optimizer_steps": [ + 1024, + 2048, + 3072, + 4096 + ], + "source_training_run": "temporal2", + "source_weights_sha256": { + "1024": "0d809362d5afe1dc781f716e3aee1a9bc5a8f75fed6cc0ff6339b9abcf600ada", + "2048": "ab1175f9ef7ed52106ce1127b7da91bfc3d91782c0a2fec2f8189f661e3679db", + "3072": "fabbb42432fb0975023f0a367a366b8db591c6866719b4c7efb85cfe91934c65", + "4096": "5ca716cd5632c9b717bb167d187387483b5485fead55f45b25cc44325d5d18ea" + }, + "source_checkpoint_records": { + "1024": { + "step": 1024, + "new_training_shots": 1048576, + "unique_training_rows_seen_in_this_phase": 804757, + "weights": "weights-1024.npz", + "weights_sha256": "0d809362d5afe1dc781f716e3aee1a9bc5a8f75fed6cc0ff6339b9abcf600ada", + "validation": "validation-1024.json", + "complete": true + }, + "2048": { + "step": 2048, + "new_training_shots": 2097152, + "unique_training_rows_seen_in_this_phase": 1293629, + "weights": "weights-2048.npz", + "weights_sha256": "ab1175f9ef7ed52106ce1127b7da91bfc3d91782c0a2fec2f8189f661e3679db", + "validation": "validation-2048.json", + "complete": true + }, + "3072": { + "step": 3072, + "new_training_shots": 3145728, + "unique_training_rows_seen_in_this_phase": 1594502, + "weights": "weights-3072.npz", + "weights_sha256": "fabbb42432fb0975023f0a367a366b8db591c6866719b4c7efb85cfe91934c65", + "validation": "validation-3072.json", + "complete": true + }, + "4096": { + "step": 4096, + "new_training_shots": 4194304, + "unique_training_rows_seen_in_this_phase": 1778773, + "weights": "weights-4096.npz", + "weights_sha256": "5ca716cd5632c9b717bb167d187387483b5485fead55f45b25cc44325d5d18ea", + "validation": "validation-4096.json", + "complete": true + } + }, + "weights_sha256": "ff4595e8f3eb7cfaa8da5a58a31e106d9684c7b8437f330573a1291f19f5777a", + "complete": true + } + }, + "selection": "Predefined last-three and all-four noninitial temporal2 checkpoint means; every validation condition evaluated before group selection", + "test_data_used": false, + "derivation_source_sha256": "b68813c7dab697a554185020c430ef05f1c35bedcda5b85b7d165af75461e914" + }, + "loss": "Binary conditional logical likelihood computed by exact frontier elimination", + "validation_shots_per_condition": 1024, + "uniform_validation": true, + "uniform_validation_seed": 20261028, + "test_data_used": false, + "log": [ + { + "step": 1, + "loss": 0.5063965320587158, + "error": 0.263671875, + "gradient_norm": 0.05583755671977997, + "elapsed": 33.61826181411743 + }, + { + "step": 16, + "loss": 0.5231766700744629, + "error": 0.2822265625, + "gradient_norm": 0.05158894136548042, + "elapsed": 48.65802335739136 + }, + { + "step": 32, + "loss": 0.2955678701400757, + "error": 0.1376953125, + "gradient_norm": 0.0717208981513977, + "elapsed": 64.75103712081909 + }, + { + "step": 48, + "loss": 0.5808531045913696, + "error": 0.337890625, + "gradient_norm": 0.0497879758477211, + "elapsed": 81.12590050697327 + }, + { + "step": 64, + "loss": 0.6466071605682373, + "error": 0.3955078125, + "gradient_norm": 0.05340445786714554, + "elapsed": 97.40131282806396 + }, + { + "step": 80, + "loss": 0.43967077136039734, + "error": 0.2197265625, + "gradient_norm": 0.05488451197743416, + "elapsed": 113.68819904327393 + }, + { + "step": 96, + "loss": 0.3481931686401367, + "error": 0.166015625, + "gradient_norm": 0.08198399841785431, + "elapsed": 129.79422783851624 + }, + { + "step": 112, + "loss": 0.37728914618492126, + "error": 0.177734375, + "gradient_norm": 0.04957005754113197, + "elapsed": 146.01310849189758 + }, + { + "step": 128, + "loss": 0.19336706399917603, + "error": 0.07421875, + "gradient_norm": 0.03228567913174629, + "elapsed": 162.3233504295349 + }, + { + "step": 144, + "loss": 0.05673666670918465, + "error": 0.013671875, + "gradient_norm": 0.010086167603731155, + "elapsed": 178.27910375595093 + }, + { + "step": 160, + "loss": 0.05576886981725693, + "error": 0.0185546875, + "gradient_norm": 0.015833213925361633, + "elapsed": 194.4404194355011 + }, + { + "step": 176, + "loss": 0.6271512508392334, + "error": 0.39453125, + "gradient_norm": 0.0890795886516571, + "elapsed": 210.55058026313782 + }, + { + "step": 192, + "loss": 0.5520341992378235, + "error": 0.2998046875, + "gradient_norm": 0.12568876147270203, + "elapsed": 226.60093927383423 + }, + { + "step": 208, + "loss": 0.5262938737869263, + "error": 0.2822265625, + "gradient_norm": 0.055265434086322784, + "elapsed": 244.85273218154907 + }, + { + "step": 224, + "loss": 0.5956001281738281, + "error": 0.3369140625, + "gradient_norm": 0.06895016878843307, + "elapsed": 264.53393387794495 + }, + { + "step": 240, + "loss": 0.25704875588417053, + "error": 0.1259765625, + "gradient_norm": 0.11300098150968552, + "elapsed": 283.89024353027344 + }, + { + "step": 256, + "loss": 0.6143664121627808, + "error": 0.369140625, + "gradient_norm": 0.05419369786977768, + "elapsed": 300.05279064178467 + }, + { + "step": 272, + "loss": 0.5590812563896179, + "error": 0.294921875, + "gradient_norm": 0.06284675002098083, + "elapsed": 315.92391777038574 + }, + { + "step": 288, + "loss": 0.6163386106491089, + "error": 0.353515625, + "gradient_norm": 0.06826888024806976, + "elapsed": 331.96330738067627 + }, + { + "step": 304, + "loss": 0.6250298619270325, + "error": 0.37890625, + "gradient_norm": 0.0710018053650856, + "elapsed": 348.11866188049316 + }, + { + "step": 320, + "loss": 0.3802686631679535, + "error": 0.1796875, + "gradient_norm": 0.05896822363138199, + "elapsed": 364.3013961315155 + }, + { + "step": 336, + "loss": 0.2594846487045288, + "error": 0.1123046875, + "gradient_norm": 0.0468285046517849, + "elapsed": 380.80411195755005 + }, + { + "step": 352, + "loss": 0.19520026445388794, + "error": 0.076171875, + "gradient_norm": 0.032125141471624374, + "elapsed": 396.8971872329712 + }, + { + "step": 368, + "loss": 0.621718168258667, + "error": 0.37890625, + "gradient_norm": 0.0545712448656559, + "elapsed": 412.920996427536 + }, + { + "step": 384, + "loss": 0.6092393398284912, + "error": 0.349609375, + "gradient_norm": 0.04697328060865402, + "elapsed": 428.92249155044556 + }, + { + "step": 400, + "loss": 0.33656495809555054, + "error": 0.171875, + "gradient_norm": 0.04851065203547478, + "elapsed": 444.8614237308502 + }, + { + "step": 416, + "loss": 0.563441812992096, + "error": 0.302734375, + "gradient_norm": 0.06761237233877182, + "elapsed": 460.89916157722473 + }, + { + "step": 432, + "loss": 0.41032207012176514, + "error": 0.205078125, + "gradient_norm": 0.07552587240934372, + "elapsed": 476.91754388809204 + }, + { + "step": 448, + "loss": 0.6176105737686157, + "error": 0.3583984375, + "gradient_norm": 0.03991354629397392, + "elapsed": 492.909494638443 + }, + { + "step": 464, + "loss": 0.47970300912857056, + "error": 0.26171875, + "gradient_norm": 0.08514834195375443, + "elapsed": 508.9842050075531 + }, + { + "step": 480, + "loss": 0.6145294904708862, + "error": 0.3779296875, + "gradient_norm": 0.04053078964352608, + "elapsed": 525.0681574344635 + }, + { + "step": 496, + "loss": 0.5232605934143066, + "error": 0.28125, + "gradient_norm": 0.07535209506750107, + "elapsed": 541.048586845398 + }, + { + "step": 512, + "loss": 0.06574343144893646, + "error": 0.01953125, + "gradient_norm": 0.038100212812423706, + "elapsed": 557.0923149585724 + }, + { + "step": 528, + "loss": 0.052529145032167435, + "error": 0.021484375, + "gradient_norm": 0.017167840152978897, + "elapsed": 588.7646441459656 + }, + { + "step": 544, + "loss": 0.5886420011520386, + "error": 0.3447265625, + "gradient_norm": 0.04695608466863632, + "elapsed": 607.2257866859436 + }, + { + "step": 560, + "loss": 0.6055985689163208, + "error": 0.3466796875, + "gradient_norm": 0.032950498163700104, + "elapsed": 625.9134004116058 + }, + { + "step": 576, + "loss": 0.4632350206375122, + "error": 0.2431640625, + "gradient_norm": 0.07214360684156418, + "elapsed": 642.5683023929596 + }, + { + "step": 592, + "loss": 0.5995157361030579, + "error": 0.33984375, + "gradient_norm": 0.05927892401814461, + "elapsed": 659.0285487174988 + }, + { + "step": 608, + "loss": 0.2751845121383667, + "error": 0.1171875, + "gradient_norm": 0.06076137721538544, + "elapsed": 675.2659955024719 + }, + { + "step": 624, + "loss": 0.0518009215593338, + "error": 0.0205078125, + "gradient_norm": 0.017002176493406296, + "elapsed": 691.3256914615631 + }, + { + "step": 640, + "loss": 0.6293823719024658, + "error": 0.4013671875, + "gradient_norm": 0.07381543517112732, + "elapsed": 707.3796145915985 + }, + { + "step": 656, + "loss": 0.2956032454967499, + "error": 0.126953125, + "gradient_norm": 0.06658996641635895, + "elapsed": 723.4796185493469 + }, + { + "step": 672, + "loss": 0.5275129079818726, + "error": 0.28125, + "gradient_norm": 0.0742238238453865, + "elapsed": 739.52592253685 + }, + { + "step": 688, + "loss": 0.48426946997642517, + "error": 0.251953125, + "gradient_norm": 0.08587855845689774, + "elapsed": 755.599978685379 + }, + { + "step": 704, + "loss": 0.5284034013748169, + "error": 0.298828125, + "gradient_norm": 0.07507473230361938, + "elapsed": 771.6798233985901 + }, + { + "step": 720, + "loss": 0.45124661922454834, + "error": 0.2333984375, + "gradient_norm": 0.040898919105529785, + "elapsed": 787.8532867431641 + }, + { + "step": 736, + "loss": 0.04965062811970711, + "error": 0.0146484375, + "gradient_norm": 0.013609266839921474, + "elapsed": 804.1182470321655 + }, + { + "step": 752, + "loss": 0.04790960252285004, + "error": 0.01171875, + "gradient_norm": 0.01157061941921711, + "elapsed": 820.3099284172058 + }, + { + "step": 768, + "loss": 0.046329010277986526, + "error": 0.0146484375, + "gradient_norm": 0.013687756843864918, + "elapsed": 836.2443821430206 + }, + { + "step": 784, + "loss": 0.20798391103744507, + "error": 0.0830078125, + "gradient_norm": 0.10879658162593842, + "elapsed": 853.994068145752 + }, + { + "step": 800, + "loss": 0.3236527144908905, + "error": 0.1494140625, + "gradient_norm": 0.04277466610074043, + "elapsed": 872.6724886894226 + }, + { + "step": 816, + "loss": 0.5978351831436157, + "error": 0.3310546875, + "gradient_norm": 0.09687308222055435, + "elapsed": 890.0722959041595 + }, + { + "step": 832, + "loss": 0.5914890766143799, + "error": 0.3515625, + "gradient_norm": 0.05389918386936188, + "elapsed": 907.574702501297 + }, + { + "step": 848, + "loss": 0.3500230312347412, + "error": 0.154296875, + "gradient_norm": 0.05182121321558952, + "elapsed": 925.516667842865 + }, + { + "step": 864, + "loss": 0.3173527717590332, + "error": 0.126953125, + "gradient_norm": 0.10333289951086044, + "elapsed": 943.2102818489075 + }, + { + "step": 880, + "loss": 0.6407152414321899, + "error": 0.41015625, + "gradient_norm": 0.03933756425976753, + "elapsed": 960.0137810707092 + }, + { + "step": 896, + "loss": 0.3448338210582733, + "error": 0.1591796875, + "gradient_norm": 0.048397257924079895, + "elapsed": 976.2672023773193 + }, + { + "step": 912, + "loss": 0.2199687361717224, + "error": 0.0830078125, + "gradient_norm": 0.11513829976320267, + "elapsed": 992.4728758335114 + }, + { + "step": 928, + "loss": 0.16880497336387634, + "error": 0.072265625, + "gradient_norm": 0.031767718493938446, + "elapsed": 1008.5988037586212 + }, + { + "step": 944, + "loss": 0.053500816226005554, + "error": 0.017578125, + "gradient_norm": 0.014627245254814625, + "elapsed": 1024.7008044719696 + }, + { + "step": 960, + "loss": 0.5974152684211731, + "error": 0.341796875, + "gradient_norm": 0.09594274312257767, + "elapsed": 1040.908540725708 + }, + { + "step": 976, + "loss": 0.34772756695747375, + "error": 0.1572265625, + "gradient_norm": 0.04134370759129524, + "elapsed": 1056.9926254749298 + }, + { + "step": 992, + "loss": 0.4953954815864563, + "error": 0.2744140625, + "gradient_norm": 0.09671331197023392, + "elapsed": 1073.0582761764526 + }, + { + "step": 1008, + "loss": 0.6424463987350464, + "error": 0.4013671875, + "gradient_norm": 0.13621115684509277, + "elapsed": 1089.2002465724945 + }, + { + "step": 1024, + "loss": 0.1914748251438141, + "error": 0.0771484375, + "gradient_norm": 0.05097605288028717, + "elapsed": 1105.341599225998 + } + ], + "condition_mixing_plan": { + "hypothesis": "Mixing uniformly sampled geometry/basis/duration conditions in each gradient update reduces condition-gradient fluctuations", + "parent": "temporal2_swa/weights-mean3.npz", + "new_random_parameter_initializations": 0, + "sampling_seed": 20261190, + "arms": [ + "same", + "mixed" + ], + "microbatches_per_update": 4, + "microbatch_size": 256, + "effective_batch_size": 1024, + "optimizer_updates": 1024, + "learning_rate": 0.00025, + "optimizer": "Fresh AdamW state, weight decay1e-4, global gradient norm clip1 after averaging gradients", + "sampling_control": "Both arms draw four condition indices then four256-row batches per update. Same arm reuses the first condition index; mixed uses all four. Equal-sized condition pools make RNG states identical.", + "training": "All104 d3 conditions and all supplied training rows eligible;1,048,576 training draws in each arm", + "selection": "Full validation checkpoints512/1024, per-group mean across all13 durations; raw or equal blend with recorded small contextual reference; incumbent retained on ties", + "test_data_used": false + }, + "accumulation_numerical_control": { + "status": "passed", + "device": "cpu", + "condition": "surface_code_bZ_d3_r13_center_5_7", + "parent_checkpoint_sha256": "a61fb22f803b795c2a39b6c19dc3a368d536cb21419ba773778601b28e4403fe", + "trainer_source_sha256": "9f672468a8b72966b3aa04fd22e5d40b47b0768f1c802c267a1da08244c4323b", + "gradient_relative_l2_difference": 1.0312139158546257e-06, + "maximum_gradient_difference": 4.023313522338867e-07, + "mean_loss_difference": 0.0, + "maximum_optimizer_update_difference": 1.0697840480133891e-06, + "matched_rng_state_after_1024_updates": true, + "precision_audit": { + "float64_full_vs_accumulated_gradient_relative_l2": 2.4022986924332267e-15, + "float64_full_vs_accumulated_update_maximum_difference": 1.6631390275384517e-15, + "float32_full_gradient_relative_l2_vs_float64": 1.1454018534911662e-06, + "float32_accumulated_gradient_relative_l2_vs_float64": 9.16593382832008e-07, + "float32_full_update_maximum_difference_vs_float64": 6.5271394129382524e-06, + "float32_accumulated_update_maximum_difference_vs_float64": 7.5969234609516415e-06, + "initial_failed_check": { + "maximum_float32_update_difference": 1.0697840480133891e-06, + "original_tolerance": 1e-06 + }, + "interpretation": "Float64 audit checks accumulation algebra independently of float32 reduction rounding and first-Adam-step sensitivity near zero gradients. Original failure is retained; production model/gradient precision and optimizer are unchanged." + }, + "training_draws_each_arm": 1048576, + "draws_by_condition": { + "same": [ + 17408, + 14336, + 12288, + 14336, + 7168, + 10240, + 8192, + 7168, + 9216, + 11264, + 14336, + 7168, + 5120, + 9216, + 7168, + 8192, + 8192, + 10240, + 7168, + 10240, + 11264, + 14336, + 15360, + 10240, + 8192, + 11264, + 11264, + 17408, + 11264, + 15360, + 10240, + 17408, + 7168, + 13312, + 5120, + 13312, + 4096, + 8192, + 10240, + 8192, + 8192, + 5120, + 10240, + 11264, + 16384, + 13312, + 9216, + 9216, + 14336, + 8192, + 10240, + 10240, + 3072, + 8192, + 11264, + 12288, + 5120, + 4096, + 7168, + 9216, + 5120, + 14336, + 8192, + 9216, + 15360, + 6144, + 16384, + 5120, + 10240, + 10240, + 11264, + 11264, + 7168, + 6144, + 8192, + 11264, + 8192, + 14336, + 8192, + 10240, + 13312, + 15360, + 18432, + 4096, + 8192, + 8192, + 15360, + 10240, + 7168, + 12288, + 7168, + 12288, + 12288, + 8192, + 16384, + 9216, + 11264, + 6144, + 8192, + 7168, + 7168, + 12288, + 5120, + 8192 + ], + "mixed": [ + 14336, + 9472, + 8448, + 12032, + 8960, + 11776, + 9984, + 8448, + 9216, + 11264, + 12288, + 11008, + 7936, + 11008, + 9984, + 8448, + 11776, + 9984, + 9984, + 10752, + 8448, + 9984, + 9728, + 10240, + 8704, + 8448, + 8192, + 10496, + 8704, + 11008, + 9984, + 13824, + 8960, + 11264, + 9984, + 11008, + 13824, + 11264, + 9984, + 9216, + 9472, + 11008, + 9472, + 11776, + 12800, + 10240, + 8192, + 8192, + 9728, + 11008, + 8960, + 11264, + 8704, + 10496, + 10240, + 11776, + 7936, + 9216, + 9472, + 10752, + 8448, + 12288, + 9216, + 9728, + 11008, + 9472, + 11008, + 10240, + 8704, + 8448, + 9216, + 9728, + 9728, + 8960, + 10496, + 11520, + 9216, + 8704, + 6400, + 12032, + 11008, + 12288, + 12288, + 7936, + 10752, + 7936, + 12032, + 9216, + 8448, + 9472, + 9472, + 10752, + 10752, + 10752, + 12800, + 10496, + 10496, + 12032, + 8448, + 8960, + 7680, + 9472, + 11008, + 8448 + ] + }, + "scope": "Numerical and sampling controls only. All gradient/update probes are discarded; no trained candidate checkpoint or validation score is produced.", + "test_data_used": false + } + }, + "training_source_snapshot": "training_sources/condition_same1", + "selected_checkpoint_steps": [ + "1024", + "512" + ], + "checkpoint_records": { + "512": { + "step": 512, + "new_training_shots": 524288, + "unique_training_rows_seen_in_this_phase": 451734, + "weights": "weights-512.npz", + "weights_sha256": "4cf3ebae65f19ed882d90aac2157db4127d715f9c688c987280c9aac28efad84", + "validation": "validation-512.json", + "complete": true + }, + "1024": { + "step": 1024, + "new_training_shots": 1048576, + "unique_training_rows_seen_in_this_phase": 803777, + "weights": "weights-1024.npz", + "weights_sha256": "c515815d285cc2eafe52d8ced2df1c754ac578ba54786b98770e15238dc4eaad", + "validation": "validation-1024.json", + "complete": true + } + }, + "selection": "Minimum full-validation mean failure per group among incumbent and listed session-trained checkpoints; when listed, blend candidates average the recorded small-contextual reference and new probabilities equally", + "blend_reference": "/run-state/workspace/research/context_upgrades/continuation2/predictions", + "history": [ + { + "group": "d3_bX_center_3_5", + "candidates": { + "incumbent": 0.24451622596153846, + "512": 0.24528245192307693, + "1024": 0.24529747596153847, + "blend-512": 0.24562800480769229, + "blend-1024": 0.24574819711538462 + }, + "selected": "incumbent" + }, + { + "group": "d3_bX_center_5_3", + "candidates": { + "incumbent": 0.2527794471153846, + "512": 0.25326021634615387, + "1024": 0.252734375, + "blend-512": 0.2533954326923077, + "blend-1024": 0.25307992788461536 + }, + "selected": "1024" + }, + { + "group": "d3_bX_center_5_7", + "candidates": { + "incumbent": 0.23366887019230773, + "512": 0.23359375, + "1024": 0.2334435096153846, + "blend-512": 0.23426983173076926, + "blend-1024": 0.23384915865384612 + }, + "selected": "1024" + }, + { + "group": "d3_bX_center_7_5", + "candidates": { + "incumbent": 0.23889723557692305, + "512": 0.23933293269230774, + "1024": 0.23951322115384613, + "blend-512": 0.23915264423076918, + "blend-1024": 0.239453125 + }, + "selected": "incumbent" + }, + { + "group": "d3_bZ_center_3_5", + "candidates": { + "incumbent": 0.2446213942307692, + "512": 0.2444561298076923, + "1024": 0.24489182692307693, + "blend-512": 0.24508713942307692, + "blend-1024": 0.24568810096153845 + }, + "selected": "512" + }, + { + "group": "d3_bZ_center_5_3", + "candidates": { + "incumbent": 0.23652343749999996, + "512": 0.23765024038461538, + "1024": 0.2379206730769231, + "blend-512": 0.23787560096153845, + "blend-1024": 0.23759014423076924 + }, + "selected": "incumbent" + }, + { + "group": "d3_bZ_center_5_7", + "candidates": { + "incumbent": 0.2356670673076923, + "512": 0.23619290865384618, + "1024": 0.23629807692307692, + "blend-512": 0.23610276442307693, + "blend-1024": 0.23593750000000002 + }, + "selected": "incumbent" + }, + { + "group": "d3_bZ_center_7_5", + "candidates": { + "incumbent": 0.23294771634615385, + "512": 0.23398437499999997, + "1024": 0.23342848557692308, + "blend-512": 0.2337590144230769, + "blend-1024": 0.2334435096153846 + }, + "selected": "incumbent" + }, + { + "group": "d5_bX_center_5_5", + "candidates": { + "incumbent": 0.23228665865384618 + }, + "selected": "incumbent" + }, + { + "group": "d5_bZ_center_5_5", + "candidates": { + "incumbent": 0.21953124999999998 + }, + "selected": "incumbent" + } + ] + }, + { + "name": "group_specialize1", + "training_run": { + "experiment": "group-specific d3 continuation", + "groups": { + "d3_bX_center_3_5": { + "initialization": "Continue the temporal component of the selected session-trained group decoder; no new random parameters", + "original_initialization": "Base rich network seed20261030 and temporal encoder seed20261104; all fitting occurred in this session", + "group": "d3_bX_center_3_5", + "parent_model": { + "weights": "weights/contextual-temporal2_swa-mean3.npz", + "training_checkpoint": "temporal2_swa/mean3" + }, + "parent_weights_sha256": "a61fb22f803b795c2a39b6c19dc3a368d536cb21419ba773778601b28e4403fe", + "parent_provenance_sha256": "7c76c4ba7b6bb90ddb1ac3fa9cd5d27788fdad2bf6bc6f95e8187824c971bdfb", + "parent_record": "training_sources/group_specialize1/parent_training_provenance.json", + "training": "Uniform sampling over all13 odd round counts for this geometry/basis group, supplied training labels only", + "eligible_training_shots": 258440, + "training_draws": 262144, + "unique_training_rows_seen_in_this_phase": 162496, + "unique_rows_by_condition": { + "surface_code_bX_d3_r01_center_3_5": 11586, + "surface_code_bX_d3_r03_center_3_5": 13164, + "surface_code_bX_d3_r05_center_3_5": 14692, + "surface_code_bX_d3_r07_center_3_5": 12423, + "surface_code_bX_d3_r09_center_3_5": 13507, + "surface_code_bX_d3_r11_center_3_5": 9165, + "surface_code_bX_d3_r13_center_3_5": 14569, + "surface_code_bX_d3_r15_center_3_5": 11563, + "surface_code_bX_d3_r17_center_3_5": 14132, + "surface_code_bX_d3_r19_center_3_5": 9704, + "surface_code_bX_d3_r21_center_3_5": 12014, + "surface_code_bX_d3_r23_center_3_5": 13117, + "surface_code_bX_d3_r25_center_3_5": 12860 + }, + "steps": 256, + "batch_size": 1024, + "learning_rate": 0.0001, + "optimizer": "Fresh AdamW moments for every group, weight decay1e-4, global norm clip1", + "optimizer_restored": false, + "rng_restored": false, + "sampling_seed": 20261200, + "validation": "Fixed random screen per condition using seed20261028; full validation is used by the separate selector", + "validation_shots_requested_per_condition": 1024, + "loss": "Uniform binary conditional logical likelihood through exact frontier contraction", + "training_source_sha256": { + "learned_exact__specialize_train.py": "5a2e7ba25969f4599cb65d60cbd53544fd77d7a6926ec0d03662b72b151acf95", + "learned_exact__temporal_model.py": "76fd01d5ae50f7d0b5790800898e7103ddb86db8f6a2ace883407515add2e186", + "learned_exact__data.py": "6f88582230aec7bbf35170a672ff615cac0cf18c0a690b2983874bb4c02c75e6", + "learned_exact__gradient.py": "ecb6b45698480386fa124fe878db7dbfa246d1969fd720ec26daff9547da2001", + "exact_d3__exact.py": "869dfacb295c419c156d1070fc2afdd6e20d02ac1840e45e72346b2b289f4825" + }, + "test_data_used": false, + "log": [ + { + "group": "d3_bX_center_3_5", + "step": 1, + "loss": 0.5817165970802307, + "error": 0.3388671875, + "gradient_norm": 0.07810031622648239, + "elapsed": 23.888731479644775 + }, + { + "group": "d3_bX_center_3_5", + "step": 16, + "loss": 0.43716299533843994, + "error": 0.2177734375, + "gradient_norm": 0.05689458176493645, + "elapsed": 28.204753398895264 + }, + { + "group": "d3_bX_center_3_5", + "step": 32, + "loss": 0.44627559185028076, + "error": 0.208984375, + "gradient_norm": 0.056756604462862015, + "elapsed": 32.84233617782593 + }, + { + "group": "d3_bX_center_3_5", + "step": 48, + "loss": 0.4319554567337036, + "error": 0.234375, + "gradient_norm": 0.05750993266701698, + "elapsed": 37.434494495391846 + }, + { + "group": "d3_bX_center_3_5", + "step": 64, + "loss": 0.2955609858036041, + "error": 0.1279296875, + "gradient_norm": 0.07982950657606125, + "elapsed": 42.03733849525452 + }, + { + "group": "d3_bX_center_3_5", + "step": 80, + "loss": 0.051099054515361786, + "error": 0.01953125, + "gradient_norm": 0.01472504436969757, + "elapsed": 46.64323449134827 + }, + { + "group": "d3_bX_center_3_5", + "step": 96, + "loss": 0.3553770184516907, + "error": 0.1767578125, + "gradient_norm": 0.04556305333971977, + "elapsed": 51.289584159851074 + }, + { + "group": "d3_bX_center_3_5", + "step": 112, + "loss": 0.49853652715682983, + "error": 0.255859375, + "gradient_norm": 0.05837372690439224, + "elapsed": 55.921807527542114 + }, + { + "group": "d3_bX_center_3_5", + "step": 128, + "loss": 0.6128357648849487, + "error": 0.3759765625, + "gradient_norm": 0.04268687590956688, + "elapsed": 60.54293370246887 + }, + { + "group": "d3_bX_center_3_5", + "step": 144, + "loss": 0.40158310532569885, + "error": 0.2109375, + "gradient_norm": 0.06899380683898926, + "elapsed": 66.70903372764587 + }, + { + "group": "d3_bX_center_3_5", + "step": 160, + "loss": 0.6189148426055908, + "error": 0.369140625, + "gradient_norm": 0.049649614840745926, + "elapsed": 71.31301522254944 + }, + { + "group": "d3_bX_center_3_5", + "step": 176, + "loss": 0.5736979246139526, + "error": 0.3271484375, + "gradient_norm": 0.06365907937288284, + "elapsed": 75.90330648422241 + }, + { + "group": "d3_bX_center_3_5", + "step": 192, + "loss": 0.5324695706367493, + "error": 0.294921875, + "gradient_norm": 0.05174271762371063, + "elapsed": 80.51115894317627 + }, + { + "group": "d3_bX_center_3_5", + "step": 208, + "loss": 0.6137855052947998, + "error": 0.3623046875, + "gradient_norm": 0.04891493543982506, + "elapsed": 85.1122133731842 + }, + { + "group": "d3_bX_center_3_5", + "step": 224, + "loss": 0.6262054443359375, + "error": 0.400390625, + "gradient_norm": 0.0478600338101387, + "elapsed": 89.77170705795288 + }, + { + "group": "d3_bX_center_3_5", + "step": 240, + "loss": 0.5114355087280273, + "error": 0.2802734375, + "gradient_norm": 0.06124471500515938, + "elapsed": 94.34836196899414 + }, + { + "group": "d3_bX_center_3_5", + "step": 256, + "loss": 0.3812999129295349, + "error": 0.181640625, + "gradient_norm": 0.050427597016096115, + "elapsed": 98.88006901741028 + } + ] + }, + "d3_bX_center_5_3": { + "initialization": "Continue the temporal component of the selected session-trained group decoder; no new random parameters", + "original_initialization": "Base rich network seed20261030 and temporal encoder seed20261104; all fitting occurred in this session", + "group": "d3_bX_center_5_3", + "parent_model": { + "weights": "weights/contextual-condition_same1-1024.npz", + "training_checkpoint": "condition_same1/1024" + }, + "parent_weights_sha256": "c515815d285cc2eafe52d8ced2df1c754ac578ba54786b98770e15238dc4eaad", + "parent_provenance_sha256": "7c76c4ba7b6bb90ddb1ac3fa9cd5d27788fdad2bf6bc6f95e8187824c971bdfb", + "parent_record": "training_sources/group_specialize1/parent_training_provenance.json", + "training": "Uniform sampling over all13 odd round counts for this geometry/basis group, supplied training labels only", + "eligible_training_shots": 258440, + "training_draws": 262144, + "unique_training_rows_seen_in_this_phase": 161233, + "unique_rows_by_condition": { + "surface_code_bX_d3_r01_center_5_3": 11129, + "surface_code_bX_d3_r03_center_5_3": 15369, + "surface_code_bX_d3_r05_center_5_3": 14677, + "surface_code_bX_d3_r07_center_5_3": 9707, + "surface_code_bX_d3_r09_center_5_3": 11152, + "surface_code_bX_d3_r11_center_5_3": 12800, + "surface_code_bX_d3_r13_center_5_3": 13443, + "surface_code_bX_d3_r15_center_5_3": 12388, + "surface_code_bX_d3_r17_center_5_3": 15158, + "surface_code_bX_d3_r19_center_5_3": 10218, + "surface_code_bX_d3_r21_center_5_3": 10711, + "surface_code_bX_d3_r23_center_5_3": 13773, + "surface_code_bX_d3_r25_center_5_3": 10708 + }, + "steps": 256, + "batch_size": 1024, + "learning_rate": 0.0001, + "optimizer": "Fresh AdamW moments for every group, weight decay1e-4, global norm clip1", + "optimizer_restored": false, + "rng_restored": false, + "sampling_seed": 20261201, + "validation": "Fixed random screen per condition using seed20261028; full validation is used by the separate selector", + "validation_shots_requested_per_condition": 1024, + "loss": "Uniform binary conditional logical likelihood through exact frontier contraction", + "training_source_sha256": { + "learned_exact__specialize_train.py": "5a2e7ba25969f4599cb65d60cbd53544fd77d7a6926ec0d03662b72b151acf95", + "learned_exact__temporal_model.py": "76fd01d5ae50f7d0b5790800898e7103ddb86db8f6a2ace883407515add2e186", + "learned_exact__data.py": "6f88582230aec7bbf35170a672ff615cac0cf18c0a690b2983874bb4c02c75e6", + "learned_exact__gradient.py": "ecb6b45698480386fa124fe878db7dbfa246d1969fd720ec26daff9547da2001", + "exact_d3__exact.py": "869dfacb295c419c156d1070fc2afdd6e20d02ac1840e45e72346b2b289f4825" + }, + "test_data_used": false, + "log": [ + { + "group": "d3_bX_center_5_3", + "step": 1, + "loss": 0.4805193245410919, + "error": 0.2578125, + "gradient_norm": 0.05444623902440071, + "elapsed": 102.3664813041687 + }, + { + "group": "d3_bX_center_5_3", + "step": 16, + "loss": 0.2784017324447632, + "error": 0.11328125, + "gradient_norm": 0.08824625611305237, + "elapsed": 106.75308656692505 + }, + { + "group": "d3_bX_center_5_3", + "step": 32, + "loss": 0.6410393118858337, + "error": 0.412109375, + "gradient_norm": 0.03859763592481613, + "elapsed": 111.4091112613678 + }, + { + "group": "d3_bX_center_5_3", + "step": 48, + "loss": 0.42605704069137573, + "error": 0.2099609375, + "gradient_norm": 0.050592850893735886, + "elapsed": 116.04315447807312 + }, + { + "group": "d3_bX_center_5_3", + "step": 64, + "loss": 0.5663277506828308, + "error": 0.298828125, + "gradient_norm": 0.055698245763778687, + "elapsed": 120.68257761001587 + }, + { + "group": "d3_bX_center_5_3", + "step": 80, + "loss": 0.6572779417037964, + "error": 0.4267578125, + "gradient_norm": 0.07223570346832275, + "elapsed": 125.41016721725464 + }, + { + "group": "d3_bX_center_5_3", + "step": 96, + "loss": 0.5440086126327515, + "error": 0.2998046875, + "gradient_norm": 0.08954599499702454, + "elapsed": 130.22392392158508 + }, + { + "group": "d3_bX_center_5_3", + "step": 112, + "loss": 0.5094837546348572, + "error": 0.2548828125, + "gradient_norm": 0.06551362574100494, + "elapsed": 134.7945008277893 + }, + { + "group": "d3_bX_center_5_3", + "step": 128, + "loss": 0.5803394317626953, + "error": 0.3193359375, + "gradient_norm": 0.06082230061292648, + "elapsed": 139.35728001594543 + }, + { + "group": "d3_bX_center_5_3", + "step": 144, + "loss": 0.616602897644043, + "error": 0.375, + "gradient_norm": 0.050001099705696106, + "elapsed": 145.55171418190002 + }, + { + "group": "d3_bX_center_5_3", + "step": 160, + "loss": 0.5520708560943604, + "error": 0.2880859375, + "gradient_norm": 0.06085196137428284, + "elapsed": 150.15428566932678 + }, + { + "group": "d3_bX_center_5_3", + "step": 176, + "loss": 0.6117234230041504, + "error": 0.3740234375, + "gradient_norm": 0.0825766772031784, + "elapsed": 154.74532389640808 + }, + { + "group": "d3_bX_center_5_3", + "step": 192, + "loss": 0.5692043304443359, + "error": 0.3203125, + "gradient_norm": 0.07800327241420746, + "elapsed": 159.3635880947113 + }, + { + "group": "d3_bX_center_5_3", + "step": 208, + "loss": 0.30638742446899414, + "error": 0.130859375, + "gradient_norm": 0.049805574119091034, + "elapsed": 163.99608540534973 + }, + { + "group": "d3_bX_center_5_3", + "step": 224, + "loss": 0.5141903758049011, + "error": 0.28515625, + "gradient_norm": 0.06405262649059296, + "elapsed": 168.6415627002716 + }, + { + "group": "d3_bX_center_5_3", + "step": 240, + "loss": 0.5797978639602661, + "error": 0.34765625, + "gradient_norm": 0.10031016170978546, + "elapsed": 173.26013374328613 + }, + { + "group": "d3_bX_center_5_3", + "step": 256, + "loss": 0.2809719741344452, + "error": 0.12890625, + "gradient_norm": 0.04573458060622215, + "elapsed": 177.8879518508911 + } + ] + }, + "d3_bX_center_5_7": { + "initialization": "Continue the temporal component of the selected session-trained group decoder; no new random parameters", + "original_initialization": "Base rich network seed20261030 and temporal encoder seed20261104; all fitting occurred in this session", + "group": "d3_bX_center_5_7", + "parent_model": { + "weights": "weights/contextual-condition_same1-1024.npz", + "training_checkpoint": "condition_same1/1024" + }, + "parent_weights_sha256": "c515815d285cc2eafe52d8ced2df1c754ac578ba54786b98770e15238dc4eaad", + "parent_provenance_sha256": "7c76c4ba7b6bb90ddb1ac3fa9cd5d27788fdad2bf6bc6f95e8187824c971bdfb", + "parent_record": "training_sources/group_specialize1/parent_training_provenance.json", + "training": "Uniform sampling over all13 odd round counts for this geometry/basis group, supplied training labels only", + "eligible_training_shots": 258440, + "training_draws": 262144, + "unique_training_rows_seen_in_this_phase": 162612, + "unique_rows_by_condition": { + "surface_code_bX_d3_r01_center_5_7": 13532, + "surface_code_bX_d3_r03_center_5_7": 12060, + "surface_code_bX_d3_r05_center_5_7": 14744, + "surface_code_bX_d3_r07_center_5_7": 11642, + "surface_code_bX_d3_r09_center_5_7": 13167, + "surface_code_bX_d3_r11_center_5_7": 8639, + "surface_code_bX_d3_r13_center_5_7": 14627, + "surface_code_bX_d3_r15_center_5_7": 11178, + "surface_code_bX_d3_r17_center_5_7": 10160, + "surface_code_bX_d3_r19_center_5_7": 13125, + "surface_code_bX_d3_r21_center_5_7": 13464, + "surface_code_bX_d3_r23_center_5_7": 13143, + "surface_code_bX_d3_r25_center_5_7": 13131 + }, + "steps": 256, + "batch_size": 1024, + "learning_rate": 0.0001, + "optimizer": "Fresh AdamW moments for every group, weight decay1e-4, global norm clip1", + "optimizer_restored": false, + "rng_restored": false, + "sampling_seed": 20261202, + "validation": "Fixed random screen per condition using seed20261028; full validation is used by the separate selector", + "validation_shots_requested_per_condition": 1024, + "loss": "Uniform binary conditional logical likelihood through exact frontier contraction", + "training_source_sha256": { + "learned_exact__specialize_train.py": "5a2e7ba25969f4599cb65d60cbd53544fd77d7a6926ec0d03662b72b151acf95", + "learned_exact__temporal_model.py": "76fd01d5ae50f7d0b5790800898e7103ddb86db8f6a2ace883407515add2e186", + "learned_exact__data.py": "6f88582230aec7bbf35170a672ff615cac0cf18c0a690b2983874bb4c02c75e6", + "learned_exact__gradient.py": "ecb6b45698480386fa124fe878db7dbfa246d1969fd720ec26daff9547da2001", + "exact_d3__exact.py": "869dfacb295c419c156d1070fc2afdd6e20d02ac1840e45e72346b2b289f4825" + }, + "test_data_used": false, + "log": [ + { + "group": "d3_bX_center_5_7", + "step": 1, + "loss": 0.18060244619846344, + "error": 0.0712890625, + "gradient_norm": 0.035179879516363144, + "elapsed": 181.32161450386047 + }, + { + "group": "d3_bX_center_5_7", + "step": 16, + "loss": 0.5082811117172241, + "error": 0.2705078125, + "gradient_norm": 0.07098715752363205, + "elapsed": 185.63990426063538 + }, + { + "group": "d3_bX_center_5_7", + "step": 32, + "loss": 0.5253040790557861, + "error": 0.2880859375, + "gradient_norm": 0.16328570246696472, + "elapsed": 190.24219703674316 + }, + { + "group": "d3_bX_center_5_7", + "step": 48, + "loss": 0.631301760673523, + "error": 0.3994140625, + "gradient_norm": 0.057355962693691254, + "elapsed": 194.84725713729858 + }, + { + "group": "d3_bX_center_5_7", + "step": 64, + "loss": 0.27920418977737427, + "error": 0.1240234375, + "gradient_norm": 0.06183589994907379, + "elapsed": 199.47137212753296 + }, + { + "group": "d3_bX_center_5_7", + "step": 80, + "loss": 0.611309289932251, + "error": 0.3544921875, + "gradient_norm": 0.07737621665000916, + "elapsed": 204.0849051475525 + }, + { + "group": "d3_bX_center_5_7", + "step": 96, + "loss": 0.2803115248680115, + "error": 0.1279296875, + "gradient_norm": 0.05086443945765495, + "elapsed": 208.7057957649231 + }, + { + "group": "d3_bX_center_5_7", + "step": 112, + "loss": 0.5856442451477051, + "error": 0.330078125, + "gradient_norm": 0.09568645805120468, + "elapsed": 213.3731656074524 + }, + { + "group": "d3_bX_center_5_7", + "step": 128, + "loss": 0.6120781898498535, + "error": 0.3486328125, + "gradient_norm": 0.07464266568422318, + "elapsed": 218.0141613483429 + }, + { + "group": "d3_bX_center_5_7", + "step": 144, + "loss": 0.4921022355556488, + "error": 0.24609375, + "gradient_norm": 0.04171774536371231, + "elapsed": 224.291086435318 + }, + { + "group": "d3_bX_center_5_7", + "step": 160, + "loss": 0.6169480085372925, + "error": 0.375, + "gradient_norm": 0.06097063049674034, + "elapsed": 229.43670320510864 + }, + { + "group": "d3_bX_center_5_7", + "step": 176, + "loss": 0.6014459729194641, + "error": 0.3720703125, + "gradient_norm": 0.049403320997953415, + "elapsed": 235.6041157245636 + }, + { + "group": "d3_bX_center_5_7", + "step": 192, + "loss": 0.5643549561500549, + "error": 0.3076171875, + "gradient_norm": 0.034399617463350296, + "elapsed": 242.02996158599854 + }, + { + "group": "d3_bX_center_5_7", + "step": 208, + "loss": 0.04667453467845917, + "error": 0.0146484375, + "gradient_norm": 0.021298106759786606, + "elapsed": 247.37174129486084 + }, + { + "group": "d3_bX_center_5_7", + "step": 224, + "loss": 0.5067787170410156, + "error": 0.2607421875, + "gradient_norm": 0.056687332689762115, + "elapsed": 251.9976110458374 + }, + { + "group": "d3_bX_center_5_7", + "step": 240, + "loss": 0.42991048097610474, + "error": 0.2255859375, + "gradient_norm": 0.061536215245723724, + "elapsed": 256.75613379478455 + }, + { + "group": "d3_bX_center_5_7", + "step": 256, + "loss": 0.47317343950271606, + "error": 0.2529296875, + "gradient_norm": 0.060076676309108734, + "elapsed": 261.4124813079834 + } + ] + }, + "d3_bX_center_7_5": { + "initialization": "Continue the temporal component of the selected session-trained group decoder; no new random parameters", + "original_initialization": "Base rich network seed20261030 and temporal encoder seed20261104; all fitting occurred in this session", + "group": "d3_bX_center_7_5", + "parent_model": { + "weights": "weights/contextual-temporal2-2048.npz", + "training_checkpoint": "temporal2/2048", + "blend_contextual": true + }, + "parent_weights_sha256": "ab1175f9ef7ed52106ce1127b7da91bfc3d91782c0a2fec2f8189f661e3679db", + "parent_provenance_sha256": "7c76c4ba7b6bb90ddb1ac3fa9cd5d27788fdad2bf6bc6f95e8187824c971bdfb", + "parent_record": "training_sources/group_specialize1/parent_training_provenance.json", + "training": "Uniform sampling over all13 odd round counts for this geometry/basis group, supplied training labels only", + "eligible_training_shots": 258440, + "training_draws": 262144, + "unique_training_rows_seen_in_this_phase": 162880, + "unique_rows_by_condition": { + "surface_code_bX_d3_r01_center_7_5": 13450, + "surface_code_bX_d3_r03_center_7_5": 11109, + "surface_code_bX_d3_r05_center_7_5": 14012, + "surface_code_bX_d3_r07_center_7_5": 13898, + "surface_code_bX_d3_r09_center_7_5": 12398, + "surface_code_bX_d3_r11_center_7_5": 9664, + "surface_code_bX_d3_r13_center_7_5": 11550, + "surface_code_bX_d3_r15_center_7_5": 12809, + "surface_code_bX_d3_r17_center_7_5": 10673, + "surface_code_bX_d3_r19_center_7_5": 13751, + "surface_code_bX_d3_r21_center_7_5": 13442, + "surface_code_bX_d3_r23_center_7_5": 13774, + "surface_code_bX_d3_r25_center_7_5": 12350 + }, + "steps": 256, + "batch_size": 1024, + "learning_rate": 0.0001, + "optimizer": "Fresh AdamW moments for every group, weight decay1e-4, global norm clip1", + "optimizer_restored": false, + "rng_restored": false, + "sampling_seed": 20261203, + "validation": "Fixed random screen per condition using seed20261028; full validation is used by the separate selector", + "validation_shots_requested_per_condition": 1024, + "loss": "Uniform binary conditional logical likelihood through exact frontier contraction", + "training_source_sha256": { + "learned_exact__specialize_train.py": "5a2e7ba25969f4599cb65d60cbd53544fd77d7a6926ec0d03662b72b151acf95", + "learned_exact__temporal_model.py": "76fd01d5ae50f7d0b5790800898e7103ddb86db8f6a2ace883407515add2e186", + "learned_exact__data.py": "6f88582230aec7bbf35170a672ff615cac0cf18c0a690b2983874bb4c02c75e6", + "learned_exact__gradient.py": "ecb6b45698480386fa124fe878db7dbfa246d1969fd720ec26daff9547da2001", + "exact_d3__exact.py": "869dfacb295c419c156d1070fc2afdd6e20d02ac1840e45e72346b2b289f4825" + }, + "test_data_used": false, + "log": [ + { + "group": "d3_bX_center_7_5", + "step": 1, + "loss": 0.6286593675613403, + "error": 0.3916015625, + "gradient_norm": 0.048550695180892944, + "elapsed": 264.77757954597473 + }, + { + "group": "d3_bX_center_7_5", + "step": 16, + "loss": 0.5998052954673767, + "error": 0.3564453125, + "gradient_norm": 0.04667327180504799, + "elapsed": 269.1457931995392 + }, + { + "group": "d3_bX_center_7_5", + "step": 32, + "loss": 0.6372991800308228, + "error": 0.3984375, + "gradient_norm": 0.03931272402405739, + "elapsed": 273.81044721603394 + }, + { + "group": "d3_bX_center_7_5", + "step": 48, + "loss": 0.32325083017349243, + "error": 0.1455078125, + "gradient_norm": 0.053585249930620193, + "elapsed": 278.48719453811646 + }, + { + "group": "d3_bX_center_7_5", + "step": 64, + "loss": 0.6184052228927612, + "error": 0.3974609375, + "gradient_norm": 0.04405878111720085, + "elapsed": 283.16093349456787 + }, + { + "group": "d3_bX_center_7_5", + "step": 80, + "loss": 0.30300217866897583, + "error": 0.1318359375, + "gradient_norm": 0.03475452959537506, + "elapsed": 287.8628993034363 + }, + { + "group": "d3_bX_center_7_5", + "step": 96, + "loss": 0.4532725214958191, + "error": 0.23828125, + "gradient_norm": 0.053579334169626236, + "elapsed": 292.54087567329407 + }, + { + "group": "d3_bX_center_7_5", + "step": 112, + "loss": 0.5722991824150085, + "error": 0.333984375, + "gradient_norm": 0.05200285091996193, + "elapsed": 297.2698106765747 + }, + { + "group": "d3_bX_center_7_5", + "step": 128, + "loss": 0.47720301151275635, + "error": 0.248046875, + "gradient_norm": 0.08435481041669846, + "elapsed": 301.9647386074066 + }, + { + "group": "d3_bX_center_7_5", + "step": 144, + "loss": 0.49832063913345337, + "error": 0.2666015625, + "gradient_norm": 0.06509781628847122, + "elapsed": 308.208101272583 + }, + { + "group": "d3_bX_center_7_5", + "step": 160, + "loss": 0.05153600126504898, + "error": 0.015625, + "gradient_norm": 0.018944455310702324, + "elapsed": 312.88946986198425 + }, + { + "group": "d3_bX_center_7_5", + "step": 176, + "loss": 0.3049379885196686, + "error": 0.1376953125, + "gradient_norm": 0.03572608530521393, + "elapsed": 317.5962097644806 + }, + { + "group": "d3_bX_center_7_5", + "step": 192, + "loss": 0.4833422899246216, + "error": 0.2275390625, + "gradient_norm": 0.11588290333747864, + "elapsed": 322.2771329879761 + }, + { + "group": "d3_bX_center_7_5", + "step": 208, + "loss": 0.5812653303146362, + "error": 0.34765625, + "gradient_norm": 0.04924288019537926, + "elapsed": 326.9544439315796 + }, + { + "group": "d3_bX_center_7_5", + "step": 224, + "loss": 0.5518968105316162, + "error": 0.2919921875, + "gradient_norm": 0.049676258116960526, + "elapsed": 331.7683095932007 + }, + { + "group": "d3_bX_center_7_5", + "step": 240, + "loss": 0.599678099155426, + "error": 0.353515625, + "gradient_norm": 0.09019427001476288, + "elapsed": 337.0053963661194 + }, + { + "group": "d3_bX_center_7_5", + "step": 256, + "loss": 0.6168051362037659, + "error": 0.373046875, + "gradient_norm": 0.045873139053583145, + "elapsed": 342.27088832855225 + } + ] + }, + "d3_bZ_center_3_5": { + "initialization": "Continue the temporal component of the selected session-trained group decoder; no new random parameters", + "original_initialization": "Base rich network seed20261030 and temporal encoder seed20261104; all fitting occurred in this session", + "group": "d3_bZ_center_3_5", + "parent_model": { + "weights": "weights/contextual-condition_same1-512.npz", + "training_checkpoint": "condition_same1/512" + }, + "parent_weights_sha256": "4cf3ebae65f19ed882d90aac2157db4127d715f9c688c987280c9aac28efad84", + "parent_provenance_sha256": "7c76c4ba7b6bb90ddb1ac3fa9cd5d27788fdad2bf6bc6f95e8187824c971bdfb", + "parent_record": "training_sources/group_specialize1/parent_training_provenance.json", + "training": "Uniform sampling over all13 odd round counts for this geometry/basis group, supplied training labels only", + "eligible_training_shots": 258440, + "training_draws": 262144, + "unique_training_rows_seen_in_this_phase": 162257, + "unique_rows_by_condition": { + "surface_code_bZ_d3_r01_center_3_5": 13149, + "surface_code_bZ_d3_r03_center_3_5": 12112, + "surface_code_bZ_d3_r05_center_3_5": 12434, + "surface_code_bZ_d3_r07_center_3_5": 13778, + "surface_code_bZ_d3_r09_center_3_5": 12830, + "surface_code_bZ_d3_r11_center_3_5": 6034, + "surface_code_bZ_d3_r13_center_3_5": 13524, + "surface_code_bZ_d3_r15_center_3_5": 13160, + "surface_code_bZ_d3_r17_center_3_5": 12823, + "surface_code_bZ_d3_r19_center_3_5": 11129, + "surface_code_bZ_d3_r21_center_3_5": 13793, + "surface_code_bZ_d3_r23_center_3_5": 14080, + "surface_code_bZ_d3_r25_center_3_5": 13411 + }, + "steps": 256, + "batch_size": 1024, + "learning_rate": 0.0001, + "optimizer": "Fresh AdamW moments for every group, weight decay1e-4, global norm clip1", + "optimizer_restored": false, + "rng_restored": false, + "sampling_seed": 20261204, + "validation": "Fixed random screen per condition using seed20261028; full validation is used by the separate selector", + "validation_shots_requested_per_condition": 1024, + "loss": "Uniform binary conditional logical likelihood through exact frontier contraction", + "training_source_sha256": { + "learned_exact__specialize_train.py": "5a2e7ba25969f4599cb65d60cbd53544fd77d7a6926ec0d03662b72b151acf95", + "learned_exact__temporal_model.py": "76fd01d5ae50f7d0b5790800898e7103ddb86db8f6a2ace883407515add2e186", + "learned_exact__data.py": "6f88582230aec7bbf35170a672ff615cac0cf18c0a690b2983874bb4c02c75e6", + "learned_exact__gradient.py": "ecb6b45698480386fa124fe878db7dbfa246d1969fd720ec26daff9547da2001", + "exact_d3__exact.py": "869dfacb295c419c156d1070fc2afdd6e20d02ac1840e45e72346b2b289f4825" + }, + "test_data_used": false, + "log": [ + { + "group": "d3_bZ_center_3_5", + "step": 1, + "loss": 0.36515435576438904, + "error": 0.17578125, + "gradient_norm": 0.068653903901577, + "elapsed": 346.68829584121704 + }, + { + "group": "d3_bZ_center_3_5", + "step": 16, + "loss": 0.2806941568851471, + "error": 0.1318359375, + "gradient_norm": 0.06498919427394867, + "elapsed": 352.6486053466797 + }, + { + "group": "d3_bZ_center_3_5", + "step": 32, + "loss": 0.5172728300094604, + "error": 0.2578125, + "gradient_norm": 0.06919123977422714, + "elapsed": 358.0916488170624 + }, + { + "group": "d3_bZ_center_3_5", + "step": 48, + "loss": 0.5654157400131226, + "error": 0.3134765625, + "gradient_norm": 0.062110695987939835, + "elapsed": 364.1197271347046 + }, + { + "group": "d3_bZ_center_3_5", + "step": 64, + "loss": 0.5950935482978821, + "error": 0.349609375, + "gradient_norm": 0.06901932507753372, + "elapsed": 370.44589829444885 + }, + { + "group": "d3_bZ_center_3_5", + "step": 80, + "loss": 0.3655591607093811, + "error": 0.1865234375, + "gradient_norm": 0.06035780534148216, + "elapsed": 376.3442976474762 + }, + { + "group": "d3_bZ_center_3_5", + "step": 96, + "loss": 0.5849340558052063, + "error": 0.345703125, + "gradient_norm": 0.0669141560792923, + "elapsed": 381.8527054786682 + }, + { + "group": "d3_bZ_center_3_5", + "step": 112, + "loss": 0.04215944558382034, + "error": 0.013671875, + "gradient_norm": 0.029389331117272377, + "elapsed": 386.54820346832275 + }, + { + "group": "d3_bZ_center_3_5", + "step": 128, + "loss": 0.619553804397583, + "error": 0.3876953125, + "gradient_norm": 0.053926873952150345, + "elapsed": 391.31534695625305 + }, + { + "group": "d3_bZ_center_3_5", + "step": 144, + "loss": 0.3793254494667053, + "error": 0.1923828125, + "gradient_norm": 0.07844529300928116, + "elapsed": 397.51641821861267 + }, + { + "group": "d3_bZ_center_3_5", + "step": 160, + "loss": 0.3429756164550781, + "error": 0.1572265625, + "gradient_norm": 0.06213530898094177, + "elapsed": 402.1174716949463 + }, + { + "group": "d3_bZ_center_3_5", + "step": 176, + "loss": 0.2883482277393341, + "error": 0.1416015625, + "gradient_norm": 0.07786665111780167, + "elapsed": 406.72908902168274 + }, + { + "group": "d3_bZ_center_3_5", + "step": 192, + "loss": 0.03280383348464966, + "error": 0.0087890625, + "gradient_norm": 0.035463444888591766, + "elapsed": 411.33272552490234 + }, + { + "group": "d3_bZ_center_3_5", + "step": 208, + "loss": 0.6251656413078308, + "error": 0.38671875, + "gradient_norm": 0.08498021215200424, + "elapsed": 415.93534207344055 + }, + { + "group": "d3_bZ_center_3_5", + "step": 224, + "loss": 0.43049943447113037, + "error": 0.232421875, + "gradient_norm": 0.08405832201242447, + "elapsed": 420.54495644569397 + }, + { + "group": "d3_bZ_center_3_5", + "step": 240, + "loss": 0.5978946089744568, + "error": 0.3349609375, + "gradient_norm": 0.06633604317903519, + "elapsed": 425.1712546348572 + }, + { + "group": "d3_bZ_center_3_5", + "step": 256, + "loss": 0.5690029859542847, + "error": 0.341796875, + "gradient_norm": 0.06171220913529396, + "elapsed": 430.0519812107086 + } + ] + }, + "d3_bZ_center_5_3": { + "initialization": "Continue the temporal component of the selected session-trained group decoder; no new random parameters", + "original_initialization": "Base rich network seed20261030 and temporal encoder seed20261104; all fitting occurred in this session", + "group": "d3_bZ_center_5_3", + "parent_model": { + "weights": "weights/contextual-temporal2-2048.npz", + "training_checkpoint": "temporal2/2048" + }, + "parent_weights_sha256": "ab1175f9ef7ed52106ce1127b7da91bfc3d91782c0a2fec2f8189f661e3679db", + "parent_provenance_sha256": "7c76c4ba7b6bb90ddb1ac3fa9cd5d27788fdad2bf6bc6f95e8187824c971bdfb", + "parent_record": "training_sources/group_specialize1/parent_training_provenance.json", + "training": "Uniform sampling over all13 odd round counts for this geometry/basis group, supplied training labels only", + "eligible_training_shots": 258440, + "training_draws": 262144, + "unique_training_rows_seen_in_this_phase": 162569, + "unique_rows_by_condition": { + "surface_code_bZ_d3_r01_center_5_3": 11619, + "surface_code_bZ_d3_r03_center_5_3": 13126, + "surface_code_bZ_d3_r05_center_5_3": 12742, + "surface_code_bZ_d3_r07_center_5_3": 9136, + "surface_code_bZ_d3_r09_center_5_3": 15337, + "surface_code_bZ_d3_r11_center_5_3": 11996, + "surface_code_bZ_d3_r13_center_5_3": 12732, + "surface_code_bZ_d3_r15_center_5_3": 13128, + "surface_code_bZ_d3_r17_center_5_3": 14689, + "surface_code_bZ_d3_r19_center_5_3": 11983, + "surface_code_bZ_d3_r21_center_5_3": 11992, + "surface_code_bZ_d3_r23_center_5_3": 11625, + "surface_code_bZ_d3_r25_center_5_3": 12464 + }, + "steps": 256, + "batch_size": 1024, + "learning_rate": 0.0001, + "optimizer": "Fresh AdamW moments for every group, weight decay1e-4, global norm clip1", + "optimizer_restored": false, + "rng_restored": false, + "sampling_seed": 20261205, + "validation": "Fixed random screen per condition using seed20261028; full validation is used by the separate selector", + "validation_shots_requested_per_condition": 1024, + "loss": "Uniform binary conditional logical likelihood through exact frontier contraction", + "training_source_sha256": { + "learned_exact__specialize_train.py": "5a2e7ba25969f4599cb65d60cbd53544fd77d7a6926ec0d03662b72b151acf95", + "learned_exact__temporal_model.py": "76fd01d5ae50f7d0b5790800898e7103ddb86db8f6a2ace883407515add2e186", + "learned_exact__data.py": "6f88582230aec7bbf35170a672ff615cac0cf18c0a690b2983874bb4c02c75e6", + "learned_exact__gradient.py": "ecb6b45698480386fa124fe878db7dbfa246d1969fd720ec26daff9547da2001", + "exact_d3__exact.py": "869dfacb295c419c156d1070fc2afdd6e20d02ac1840e45e72346b2b289f4825" + }, + "test_data_used": false, + "log": [ + { + "group": "d3_bZ_center_5_3", + "step": 1, + "loss": 0.6346971988677979, + "error": 0.3818359375, + "gradient_norm": 0.046160198748111725, + "elapsed": 433.7457048892975 + }, + { + "group": "d3_bZ_center_5_3", + "step": 16, + "loss": 0.46678581833839417, + "error": 0.23828125, + "gradient_norm": 0.04110230877995491, + "elapsed": 438.16989040374756 + }, + { + "group": "d3_bZ_center_5_3", + "step": 32, + "loss": 0.17910712957382202, + "error": 0.064453125, + "gradient_norm": 0.030056120827794075, + "elapsed": 442.8582558631897 + }, + { + "group": "d3_bZ_center_5_3", + "step": 48, + "loss": 0.5041052103042603, + "error": 0.27734375, + "gradient_norm": 0.045486729592084885, + "elapsed": 447.66860795021057 + }, + { + "group": "d3_bZ_center_5_3", + "step": 64, + "loss": 0.5663014054298401, + "error": 0.310546875, + "gradient_norm": 0.04649529233574867, + "elapsed": 452.51550030708313 + }, + { + "group": "d3_bZ_center_5_3", + "step": 80, + "loss": 0.5388609766960144, + "error": 0.2841796875, + "gradient_norm": 0.05346957594156265, + "elapsed": 457.18010997772217 + }, + { + "group": "d3_bZ_center_5_3", + "step": 96, + "loss": 0.6176578998565674, + "error": 0.375, + "gradient_norm": 0.08028864115476608, + "elapsed": 461.89074301719666 + }, + { + "group": "d3_bZ_center_5_3", + "step": 112, + "loss": 0.6225342750549316, + "error": 0.36328125, + "gradient_norm": 0.030471889302134514, + "elapsed": 466.5776717662811 + }, + { + "group": "d3_bZ_center_5_3", + "step": 128, + "loss": 0.2725566625595093, + "error": 0.111328125, + "gradient_norm": 0.05236189067363739, + "elapsed": 471.32313442230225 + }, + { + "group": "d3_bZ_center_5_3", + "step": 144, + "loss": 0.6361372470855713, + "error": 0.3984375, + "gradient_norm": 0.07191100716590881, + "elapsed": 478.3580629825592 + }, + { + "group": "d3_bZ_center_5_3", + "step": 160, + "loss": 0.2549514174461365, + "error": 0.1025390625, + "gradient_norm": 0.0485384576022625, + "elapsed": 484.5399954319 + }, + { + "group": "d3_bZ_center_5_3", + "step": 176, + "loss": 0.06202135607600212, + "error": 0.0205078125, + "gradient_norm": 0.01821581833064556, + "elapsed": 490.2966978549957 + }, + { + "group": "d3_bZ_center_5_3", + "step": 192, + "loss": 0.5546645522117615, + "error": 0.296875, + "gradient_norm": 0.07931670546531677, + "elapsed": 496.1227023601532 + }, + { + "group": "d3_bZ_center_5_3", + "step": 208, + "loss": 0.2724062502384186, + "error": 0.1220703125, + "gradient_norm": 0.0482773631811142, + "elapsed": 501.8398952484131 + }, + { + "group": "d3_bZ_center_5_3", + "step": 224, + "loss": 0.6230898499488831, + "error": 0.3671875, + "gradient_norm": 0.05214303359389305, + "elapsed": 508.2803044319153 + }, + { + "group": "d3_bZ_center_5_3", + "step": 240, + "loss": 0.4187527894973755, + "error": 0.2080078125, + "gradient_norm": 0.046042900532484055, + "elapsed": 513.7485942840576 + }, + { + "group": "d3_bZ_center_5_3", + "step": 256, + "loss": 0.5760256052017212, + "error": 0.3271484375, + "gradient_norm": 0.03505929186940193, + "elapsed": 519.0282807350159 + } + ] + }, + "d3_bZ_center_5_7": { + "initialization": "Continue the temporal component of the selected session-trained group decoder; no new random parameters", + "original_initialization": "Base rich network seed20261030 and temporal encoder seed20261104; all fitting occurred in this session", + "group": "d3_bZ_center_5_7", + "parent_model": { + "weights": "weights/contextual-temporal2-4096.npz", + "training_checkpoint": "temporal2/4096" + }, + "parent_weights_sha256": "5ca716cd5632c9b717bb167d187387483b5485fead55f45b25cc44325d5d18ea", + "parent_provenance_sha256": "7c76c4ba7b6bb90ddb1ac3fa9cd5d27788fdad2bf6bc6f95e8187824c971bdfb", + "parent_record": "training_sources/group_specialize1/parent_training_provenance.json", + "training": "Uniform sampling over all13 odd round counts for this geometry/basis group, supplied training labels only", + "eligible_training_shots": 258440, + "training_draws": 262144, + "unique_training_rows_seen_in_this_phase": 163281, + "unique_rows_by_condition": { + "surface_code_bZ_d3_r01_center_5_7": 11175, + "surface_code_bZ_d3_r03_center_5_7": 13171, + "surface_code_bZ_d3_r05_center_5_7": 12697, + "surface_code_bZ_d3_r07_center_5_7": 11648, + "surface_code_bZ_d3_r09_center_5_7": 14077, + "surface_code_bZ_d3_r11_center_5_7": 13454, + "surface_code_bZ_d3_r13_center_5_7": 11564, + "surface_code_bZ_d3_r15_center_5_7": 12728, + "surface_code_bZ_d3_r17_center_5_7": 12048, + "surface_code_bZ_d3_r19_center_5_7": 14459, + "surface_code_bZ_d3_r21_center_5_7": 14010, + "surface_code_bZ_d3_r23_center_5_7": 10239, + "surface_code_bZ_d3_r25_center_5_7": 12011 + }, + "steps": 256, + "batch_size": 1024, + "learning_rate": 0.0001, + "optimizer": "Fresh AdamW moments for every group, weight decay1e-4, global norm clip1", + "optimizer_restored": false, + "rng_restored": false, + "sampling_seed": 20261206, + "validation": "Fixed random screen per condition using seed20261028; full validation is used by the separate selector", + "validation_shots_requested_per_condition": 1024, + "loss": "Uniform binary conditional logical likelihood through exact frontier contraction", + "training_source_sha256": { + "learned_exact__specialize_train.py": "5a2e7ba25969f4599cb65d60cbd53544fd77d7a6926ec0d03662b72b151acf95", + "learned_exact__temporal_model.py": "76fd01d5ae50f7d0b5790800898e7103ddb86db8f6a2ace883407515add2e186", + "learned_exact__data.py": "6f88582230aec7bbf35170a672ff615cac0cf18c0a690b2983874bb4c02c75e6", + "learned_exact__gradient.py": "ecb6b45698480386fa124fe878db7dbfa246d1969fd720ec26daff9547da2001", + "exact_d3__exact.py": "869dfacb295c419c156d1070fc2afdd6e20d02ac1840e45e72346b2b289f4825" + }, + "test_data_used": false, + "log": [ + { + "group": "d3_bZ_center_5_7", + "step": 1, + "loss": 0.5979939103126526, + "error": 0.357421875, + "gradient_norm": 0.0660991370677948, + "elapsed": 523.6322765350342 + }, + { + "group": "d3_bZ_center_5_7", + "step": 16, + "loss": 0.6150602102279663, + "error": 0.3701171875, + "gradient_norm": 0.04266919568181038, + "elapsed": 528.4157238006592 + }, + { + "group": "d3_bZ_center_5_7", + "step": 32, + "loss": 0.44577696919441223, + "error": 0.2099609375, + "gradient_norm": 0.06689892709255219, + "elapsed": 533.0822012424469 + }, + { + "group": "d3_bZ_center_5_7", + "step": 48, + "loss": 0.4075019657611847, + "error": 0.1884765625, + "gradient_norm": 0.05801992863416672, + "elapsed": 537.763840675354 + }, + { + "group": "d3_bZ_center_5_7", + "step": 64, + "loss": 0.5356203317642212, + "error": 0.2939453125, + "gradient_norm": 0.0543823316693306, + "elapsed": 542.4880893230438 + }, + { + "group": "d3_bZ_center_5_7", + "step": 80, + "loss": 0.45208629965782166, + "error": 0.2275390625, + "gradient_norm": 0.05819695070385933, + "elapsed": 547.1561362743378 + }, + { + "group": "d3_bZ_center_5_7", + "step": 96, + "loss": 0.4151451587677002, + "error": 0.2119140625, + "gradient_norm": 0.07201892882585526, + "elapsed": 551.8683395385742 + }, + { + "group": "d3_bZ_center_5_7", + "step": 112, + "loss": 0.5576318502426147, + "error": 0.31640625, + "gradient_norm": 0.04457806423306465, + "elapsed": 556.642165184021 + }, + { + "group": "d3_bZ_center_5_7", + "step": 128, + "loss": 0.20078304409980774, + "error": 0.08984375, + "gradient_norm": 0.040219370275735855, + "elapsed": 561.4243121147156 + }, + { + "group": "d3_bZ_center_5_7", + "step": 144, + "loss": 0.45917582511901855, + "error": 0.2236328125, + "gradient_norm": 0.0707971602678299, + "elapsed": 567.7284438610077 + }, + { + "group": "d3_bZ_center_5_7", + "step": 160, + "loss": 0.5936293601989746, + "error": 0.345703125, + "gradient_norm": 0.12180078029632568, + "elapsed": 572.3563349246979 + }, + { + "group": "d3_bZ_center_5_7", + "step": 176, + "loss": 0.24654456973075867, + "error": 0.1044921875, + "gradient_norm": 0.04859209433197975, + "elapsed": 577.008533000946 + }, + { + "group": "d3_bZ_center_5_7", + "step": 192, + "loss": 0.4809238612651825, + "error": 0.2509765625, + "gradient_norm": 0.09741280972957611, + "elapsed": 581.7403192520142 + }, + { + "group": "d3_bZ_center_5_7", + "step": 208, + "loss": 0.36378931999206543, + "error": 0.166015625, + "gradient_norm": 0.04881134256720543, + "elapsed": 586.367921590805 + }, + { + "group": "d3_bZ_center_5_7", + "step": 224, + "loss": 0.5131937265396118, + "error": 0.279296875, + "gradient_norm": 0.08562120050191879, + "elapsed": 591.1944098472595 + }, + { + "group": "d3_bZ_center_5_7", + "step": 240, + "loss": 0.4193183183670044, + "error": 0.2099609375, + "gradient_norm": 0.0680096298456192, + "elapsed": 595.8478200435638 + }, + { + "group": "d3_bZ_center_5_7", + "step": 256, + "loss": 0.467867910861969, + "error": 0.24609375, + "gradient_norm": 0.07342159003019333, + "elapsed": 600.4172458648682 + } + ] + }, + "d3_bZ_center_7_5": { + "initialization": "Continue the temporal component of the selected session-trained group decoder; no new random parameters", + "original_initialization": "Base rich network seed20261030 and temporal encoder seed20261104; all fitting occurred in this session", + "group": "d3_bZ_center_7_5", + "parent_model": { + "weights": "weights/contextual-temporal2-4096.npz", + "training_checkpoint": "temporal2/4096" + }, + "parent_weights_sha256": "5ca716cd5632c9b717bb167d187387483b5485fead55f45b25cc44325d5d18ea", + "parent_provenance_sha256": "7c76c4ba7b6bb90ddb1ac3fa9cd5d27788fdad2bf6bc6f95e8187824c971bdfb", + "parent_record": "training_sources/group_specialize1/parent_training_provenance.json", + "training": "Uniform sampling over all13 odd round counts for this geometry/basis group, supplied training labels only", + "eligible_training_shots": 258440, + "training_draws": 262144, + "unique_training_rows_seen_in_this_phase": 159856, + "unique_rows_by_condition": { + "surface_code_bZ_d3_r01_center_7_5": 10637, + "surface_code_bZ_d3_r03_center_7_5": 13460, + "surface_code_bZ_d3_r05_center_7_5": 12002, + "surface_code_bZ_d3_r07_center_7_5": 8000, + "surface_code_bZ_d3_r09_center_7_5": 10743, + "surface_code_bZ_d3_r11_center_7_5": 16789, + "surface_code_bZ_d3_r13_center_7_5": 12364, + "surface_code_bZ_d3_r15_center_7_5": 15213, + "surface_code_bZ_d3_r17_center_7_5": 14167, + "surface_code_bZ_d3_r19_center_7_5": 11099, + "surface_code_bZ_d3_r21_center_7_5": 13178, + "surface_code_bZ_d3_r23_center_7_5": 12014, + "surface_code_bZ_d3_r25_center_7_5": 10190 + }, + "steps": 256, + "batch_size": 1024, + "learning_rate": 0.0001, + "optimizer": "Fresh AdamW moments for every group, weight decay1e-4, global norm clip1", + "optimizer_restored": false, + "rng_restored": false, + "sampling_seed": 20261207, + "validation": "Fixed random screen per condition using seed20261028; full validation is used by the separate selector", + "validation_shots_requested_per_condition": 1024, + "loss": "Uniform binary conditional logical likelihood through exact frontier contraction", + "training_source_sha256": { + "learned_exact__specialize_train.py": "5a2e7ba25969f4599cb65d60cbd53544fd77d7a6926ec0d03662b72b151acf95", + "learned_exact__temporal_model.py": "76fd01d5ae50f7d0b5790800898e7103ddb86db8f6a2ace883407515add2e186", + "learned_exact__data.py": "6f88582230aec7bbf35170a672ff615cac0cf18c0a690b2983874bb4c02c75e6", + "learned_exact__gradient.py": "ecb6b45698480386fa124fe878db7dbfa246d1969fd720ec26daff9547da2001", + "exact_d3__exact.py": "869dfacb295c419c156d1070fc2afdd6e20d02ac1840e45e72346b2b289f4825" + }, + "test_data_used": false, + "log": [ + { + "group": "d3_bZ_center_7_5", + "step": 1, + "loss": 0.4038092792034149, + "error": 0.197265625, + "gradient_norm": 0.05896063148975372, + "elapsed": 603.840416431427 + }, + { + "group": "d3_bZ_center_7_5", + "step": 16, + "loss": 0.6033527851104736, + "error": 0.3515625, + "gradient_norm": 0.05784430727362633, + "elapsed": 608.1250426769257 + }, + { + "group": "d3_bZ_center_7_5", + "step": 32, + "loss": 0.5283372402191162, + "error": 0.283203125, + "gradient_norm": 0.050800539553165436, + "elapsed": 612.7134759426117 + }, + { + "group": "d3_bZ_center_7_5", + "step": 48, + "loss": 0.5995811820030212, + "error": 0.3291015625, + "gradient_norm": 0.05547967553138733, + "elapsed": 617.2784404754639 + }, + { + "group": "d3_bZ_center_7_5", + "step": 64, + "loss": 0.40154707431793213, + "error": 0.205078125, + "gradient_norm": 0.06852669268846512, + "elapsed": 621.8420352935791 + }, + { + "group": "d3_bZ_center_7_5", + "step": 80, + "loss": 0.4995174705982208, + "error": 0.2763671875, + "gradient_norm": 0.061341386288404465, + "elapsed": 626.40260887146 + }, + { + "group": "d3_bZ_center_7_5", + "step": 96, + "loss": 0.5751184225082397, + "error": 0.3251953125, + "gradient_norm": 0.07929262518882751, + "elapsed": 630.9725329875946 + }, + { + "group": "d3_bZ_center_7_5", + "step": 112, + "loss": 0.624832808971405, + "error": 0.369140625, + "gradient_norm": 0.045014865696430206, + "elapsed": 635.5494453907013 + }, + { + "group": "d3_bZ_center_7_5", + "step": 128, + "loss": 0.4616764783859253, + "error": 0.224609375, + "gradient_norm": 0.0743650421500206, + "elapsed": 640.093489408493 + }, + { + "group": "d3_bZ_center_7_5", + "step": 144, + "loss": 0.5214440822601318, + "error": 0.2724609375, + "gradient_norm": 0.05418862774968147, + "elapsed": 646.2130215167999 + }, + { + "group": "d3_bZ_center_7_5", + "step": 160, + "loss": 0.27278852462768555, + "error": 0.12109375, + "gradient_norm": 0.059856753796339035, + "elapsed": 650.7696936130524 + }, + { + "group": "d3_bZ_center_7_5", + "step": 176, + "loss": 0.5251824259757996, + "error": 0.2734375, + "gradient_norm": 0.0982872024178505, + "elapsed": 655.3179745674133 + }, + { + "group": "d3_bZ_center_7_5", + "step": 192, + "loss": 0.510776937007904, + "error": 0.2744140625, + "gradient_norm": 0.0638406053185463, + "elapsed": 659.8532302379608 + }, + { + "group": "d3_bZ_center_7_5", + "step": 208, + "loss": 0.4173796772956848, + "error": 0.20703125, + "gradient_norm": 0.0652337446808815, + "elapsed": 664.3970146179199 + }, + { + "group": "d3_bZ_center_7_5", + "step": 224, + "loss": 0.42136240005493164, + "error": 0.203125, + "gradient_norm": 0.04171523451805115, + "elapsed": 668.9384174346924 + }, + { + "group": "d3_bZ_center_7_5", + "step": 240, + "loss": 0.2494639754295349, + "error": 0.1201171875, + "gradient_norm": 0.06969694793224335, + "elapsed": 673.4954979419708 + }, + { + "group": "d3_bZ_center_7_5", + "step": 256, + "loss": 0.26821407675743103, + "error": 0.1181640625, + "gradient_norm": 0.04254033416509628, + "elapsed": 678.0544662475586 + } + ] + } + }, + "initialization": "Continue session-trained selected temporal components; no new random parameters", + "training": "Each group samples uniformly over its own13 durations; supplied training labels only", + "eligible_training_shots": 2067520, + "steps": 2048, + "steps_per_group": 256, + "batch_size": 1024, + "learning_rate": 0.0001, + "optimizer_restored": false, + "rng_restored": false, + "training_source_sha256": { + "learned_exact__specialize_train.py": "5a2e7ba25969f4599cb65d60cbd53544fd77d7a6926ec0d03662b72b151acf95", + "learned_exact__temporal_model.py": "76fd01d5ae50f7d0b5790800898e7103ddb86db8f6a2ace883407515add2e186", + "learned_exact__data.py": "6f88582230aec7bbf35170a672ff615cac0cf18c0a690b2983874bb4c02c75e6", + "learned_exact__gradient.py": "ecb6b45698480386fa124fe878db7dbfa246d1969fd720ec26daff9547da2001", + "exact_d3__exact.py": "869dfacb295c419c156d1070fc2afdd6e20d02ac1840e45e72346b2b289f4825" + }, + "run_config": { + "package": "/run-state/workspace/research/context_upgrades/short_categorical3/package", + "output": "/run-state/workspace/research/learned_exact/group_specialize1", + "steps": 256, + "eval_every": 128, + "batch": 1024, + "validation_shots": 1024, + "validation_batch": 1024, + "learning_rate": 0.0001, + "seed": 20261200, + "groups": [ + "d3_bX_center_3_5", + "d3_bX_center_5_3", + "d3_bX_center_5_7", + "d3_bX_center_7_5", + "d3_bZ_center_3_5", + "d3_bZ_center_5_3", + "d3_bZ_center_5_7", + "d3_bZ_center_7_5" + ], + "training_source_sha256": { + "learned_exact__specialize_train.py": "5a2e7ba25969f4599cb65d60cbd53544fd77d7a6926ec0d03662b72b151acf95", + "learned_exact__temporal_model.py": "76fd01d5ae50f7d0b5790800898e7103ddb86db8f6a2ace883407515add2e186", + "learned_exact__data.py": "6f88582230aec7bbf35170a672ff615cac0cf18c0a690b2983874bb4c02c75e6", + "learned_exact__gradient.py": "ecb6b45698480386fa124fe878db7dbfa246d1969fd720ec26daff9547da2001", + "exact_d3__exact.py": "869dfacb295c419c156d1070fc2afdd6e20d02ac1840e45e72346b2b289f4825" + }, + "runtime_versions": { + "jax": "0.7.2", + "numpy": "2.3.3", + "optax": "0.2.6" + }, + "parent_config_sha256": "50123b5d6a4515814bb74a93963e83d17c2d3eb47af4d12b7757f523ac7c2f6a", + "parent_provenance_sha256": "7c76c4ba7b6bb90ddb1ac3fa9cd5d27788fdad2bf6bc6f95e8187824c971bdfb", + "train_manifest_sha256": "ce46c21e3595cfc5885bbe2b6481105317d2e6267498ec4572601469825914b8", + "validation_manifest_sha256": "482bb7268c6c827ebbf1f756ee6994750acfcd011adab08eaa2ada703e5faea1" + }, + "parent_record": "training_sources/group_specialize1/parent_training_provenance.json", + "new_random_parameters": 0, + "training_draws": 2097152, + "test_data_used": false, + "declared_plan": { + "hypothesis": "Group-specific fine-tuning may reduce conflicting updates across d3 geometries and bases", + "parents": "The temporal component selected for each of the8 groups in CURRENT after fresh2_continuation_finished.json", + "new_random_parameters": 0, + "sampling_seeds": "20261200 plus lexicographic group rank0..7", + "training": "256 updates per group,B1024,LR.0001; uniform sampling of all13 durations and all258440 training rows per group", + "optimizer": "Fresh AdamW moments for every group, weight decay1e-4, global gradient norm clip1", + "total_optimizer_updates": 2048, + "total_training_draws": 2097152, + "validation": "Screen at0/128/256. Full validation at0/128/256; step0 is a diagnostic, excluded from new checkpoint selection", + "selection": "Per-group mean failure over all13 durations: incumbent, raw128/256, or equal small-contextual blend128/256; retain incumbent on ties", + "short_model_followup": "Recheck the previously training-fitted categorical1 heads after group replacement", + "test_data_used": false + }, + "pipeline_control": { + "status": "passed", + "backend": "CPU", + "selection_eligible": false, + "submission_eligible": false, + "trainer_sha256": "5a2e7ba25969f4599cb65d60cbd53544fd77d7a6926ec0d03662b72b151acf95", + "run": "/run-state/workspace/research/learned_exact/specialize_smoke2", + "checks": [ + { + "group": "d3_bX_center_3_5", + "parent_exact": true, + "fresh_zero_optimizer": true, + "one_update_changes_parameters": true, + "sampling_replay_exact": true, + "all13_durations_evaluated": true + }, + { + "group": "d3_bZ_center_7_5", + "parent_exact": true, + "fresh_zero_optimizer": true, + "one_update_changes_parameters": true, + "sampling_replay_exact": true, + "all13_durations_evaluated": true + } + ], + "test_data_used": false + } + }, + "training_source_snapshot": "training_sources/group_specialize1", + "selected_checkpoints": { + "d3_bX_center_3_5": 128, + "d3_bX_center_5_7": 256, + "d3_bX_center_7_5": 128, + "d3_bZ_center_7_5": 128 + }, + "checkpoint_records": { + "d3_bX_center_3_5": { + "group": "d3_bX_center_3_5", + "step": 128, + "training_draws": 131072, + "unique_training_rows_seen_in_this_phase": 101608, + "unique_rows_by_condition": { + "surface_code_bX_d3_r01_center_3_5": 7393, + "surface_code_bX_d3_r03_center_3_5": 9191, + "surface_code_bX_d3_r05_center_3_5": 9634, + "surface_code_bX_d3_r07_center_3_5": 9218, + "surface_code_bX_d3_r09_center_3_5": 6691, + "surface_code_bX_d3_r11_center_3_5": 6028, + "surface_code_bX_d3_r13_center_3_5": 9122, + "surface_code_bX_d3_r15_center_3_5": 5301, + "surface_code_bX_d3_r17_center_3_5": 8630, + "surface_code_bX_d3_r19_center_3_5": 5276, + "surface_code_bX_d3_r21_center_3_5": 8553, + "surface_code_bX_d3_r23_center_3_5": 7977, + "surface_code_bX_d3_r25_center_3_5": 8594 + }, + "weights": "weights-128.npz", + "weights_sha256": "90c6cb7fd3be8d363318f45257de6670ba19d9336d096dc3efb309bac88b2bf9", + "complete": true + }, + "d3_bX_center_5_7": { + "group": "d3_bX_center_5_7", + "step": 256, + "training_draws": 262144, + "unique_training_rows_seen_in_this_phase": 162612, + "unique_rows_by_condition": { + "surface_code_bX_d3_r01_center_5_7": 13532, + "surface_code_bX_d3_r03_center_5_7": 12060, + "surface_code_bX_d3_r05_center_5_7": 14744, + "surface_code_bX_d3_r07_center_5_7": 11642, + "surface_code_bX_d3_r09_center_5_7": 13167, + "surface_code_bX_d3_r11_center_5_7": 8639, + "surface_code_bX_d3_r13_center_5_7": 14627, + "surface_code_bX_d3_r15_center_5_7": 11178, + "surface_code_bX_d3_r17_center_5_7": 10160, + "surface_code_bX_d3_r19_center_5_7": 13125, + "surface_code_bX_d3_r21_center_5_7": 13464, + "surface_code_bX_d3_r23_center_5_7": 13143, + "surface_code_bX_d3_r25_center_5_7": 13131 + }, + "weights": "weights-256.npz", + "weights_sha256": "7dc5b5ed51423bae023bb2c15de420850fef4fedb82760a7bcd993393301e038", + "complete": true + }, + "d3_bX_center_7_5": { + "group": "d3_bX_center_7_5", + "step": 128, + "training_draws": 131072, + "unique_training_rows_seen_in_this_phase": 101875, + "unique_rows_by_condition": { + "surface_code_bX_d3_r01_center_7_5": 7327, + "surface_code_bX_d3_r03_center_7_5": 6711, + "surface_code_bX_d3_r05_center_7_5": 9068, + "surface_code_bX_d3_r07_center_7_5": 9212, + "surface_code_bX_d3_r09_center_7_5": 6001, + "surface_code_bX_d3_r11_center_7_5": 7353, + "surface_code_bX_d3_r13_center_7_5": 7373, + "surface_code_bX_d3_r15_center_7_5": 8580, + "surface_code_bX_d3_r17_center_7_5": 6713, + "surface_code_bX_d3_r19_center_7_5": 9686, + "surface_code_bX_d3_r21_center_7_5": 8553, + "surface_code_bX_d3_r23_center_7_5": 7325, + "surface_code_bX_d3_r25_center_7_5": 7973 + }, + "weights": "weights-128.npz", + "weights_sha256": "1dc16b14813ebfd874acf9c907870144bc6ac98c8de8b4e8c47e41cdcfb3f1c3", + "complete": true + }, + "d3_bZ_center_7_5": { + "group": "d3_bZ_center_7_5", + "step": 128, + "training_draws": 131072, + "unique_training_rows_seen_in_this_phase": 101460, + "unique_rows_by_condition": { + "surface_code_bZ_d3_r01_center_7_5": 7386, + "surface_code_bZ_d3_r03_center_7_5": 7382, + "surface_code_bZ_d3_r05_center_7_5": 7375, + "surface_code_bZ_d3_r07_center_7_5": 4523, + "surface_code_bZ_d3_r09_center_7_5": 6016, + "surface_code_bZ_d3_r11_center_7_5": 10680, + "surface_code_bZ_d3_r13_center_7_5": 9644, + "surface_code_bZ_d3_r15_center_7_5": 7341, + "surface_code_bZ_d3_r17_center_7_5": 9210, + "surface_code_bZ_d3_r19_center_7_5": 8536, + "surface_code_bZ_d3_r21_center_7_5": 7410, + "surface_code_bZ_d3_r23_center_7_5": 8625, + "surface_code_bZ_d3_r25_center_7_5": 7332 + }, + "weights": "weights-128.npz", + "weights_sha256": "8f78092b6539927132aebd28deb0e0d1b72f43596b79e074e3206f4a784dd000", + "complete": true + } + }, + "selection": "Minimum full-validation mean failure across all13 durations per group among incumbent, specialized128/256 and equal small-contextual blends; retain incumbent on ties", + "blend_reference": "/run-state/workspace/research/context_upgrades/continuation2/predictions", + "history": [ + { + "group": "d3_bX_center_3_5", + "candidates": { + "incumbent": 0.24451622596153846, + "128": 0.2444110576923077, + "blend-128": 0.24523737980769234, + "256": 0.24468149038461534, + "blend-256": 0.24532752403846156 + }, + "selected": "128" + }, + { + "group": "d3_bX_center_5_3", + "candidates": { + "incumbent": 0.2526592548076923, + "128": 0.2528094951923077, + "blend-128": 0.25312499999999993, + "256": 0.2532001201923077, + "blend-256": 0.25318509615384616 + }, + "selected": "incumbent" + }, + { + "group": "d3_bX_center_5_7", + "candidates": { + "incumbent": 0.2333984375, + "128": 0.23329326923076926, + "blend-128": 0.23414963942307693, + "256": 0.233203125, + "blend-256": 0.2338641826923077 + }, + "selected": "256" + }, + { + "group": "d3_bX_center_7_5", + "candidates": { + "incumbent": 0.23889723557692305, + "128": 0.23933293269230768, + "blend-128": 0.23880709134615385, + "256": 0.23907752403846153, + "blend-256": 0.23888221153846154 + }, + "selected": "blend-128" + }, + { + "group": "d3_bZ_center_3_5", + "candidates": { + "incumbent": 0.24447115384615387, + "128": 0.24456129807692306, + "blend-128": 0.24534254807692307, + "256": 0.24462139423076923, + "blend-256": 0.24505709134615386 + }, + "selected": "incumbent" + }, + { + "group": "d3_bZ_center_5_3", + "candidates": { + "incumbent": 0.23652343749999996, + "128": 0.2371394230769231, + "blend-128": 0.23753004807692307, + "256": 0.2373347355769231, + "blend-256": 0.23728966346153849 + }, + "selected": "incumbent" + }, + { + "group": "d3_bZ_center_5_7", + "candidates": { + "incumbent": 0.2356670673076923, + "128": 0.23635817307692306, + "blend-128": 0.23662860576923073, + "256": 0.23571213942307687, + "blend-256": 0.23638822115384614 + }, + "selected": "incumbent" + }, + { + "group": "d3_bZ_center_7_5", + "candidates": { + "incumbent": 0.23294771634615385, + "128": 0.23282752403846158, + "blend-128": 0.2331280048076923, + "256": 0.23348858173076922, + "blend-256": 0.23336838942307692 + }, + "selected": "128" + }, + { + "group": "d5_bX_center_5_5", + "candidates": { + "incumbent": 0.23228665865384618 + }, + "selected": "incumbent" + }, + { + "group": "d5_bZ_center_5_5", + "candidates": { + "incumbent": 0.21953124999999998 + }, + "selected": "incumbent" + } + ] + } + ], + "turbo_d5_experiment": { + "method": "Three passes of extrinsic log-odds feedback between complementary exact CSS syndrome-likelihood contractions, damping 1, messages clipped to [-8,8]. Induced dependencies are approximated.", + "initialization": "Logistic coefficients randomly initialized Normal(0,.01), seed 20261103; all underlying states built in this session from permitted even-fitted DEMs.", + "training": "4096 uniformly sampled training rows per all 26 d5 conditions (sample seed 20261023); BCE plus 1e-5 L2, L-BFGS-B up to 300 iterations.", + "screen": { + "scope": "Diagnostic screen only: both d5 bases, rounds 5/13/25, 1024 uniform validation samples per condition", + "sample_seed": 20261031, + "results": [ + { + "condition": "surface_code_bX_d5_r05_center_5_5", + "rounds": 5, + "basis": "X", + "shots": 1024, + "batch": 192, + "damping": 0.5, + "seconds": 5.466358661651611, + "elapsed": 7.00129771232605, + "first_pass_max_delta": 8.940696716308594e-07, + "failure": [ + 0.1025390625, + 0.1044921875, + 0.1025390625 + ], + "peak_gpu_bytes": 4742925056 + }, + { + "condition": "surface_code_bX_d5_r05_center_5_5", + "rounds": 5, + "basis": "X", + "shots": 1024, + "batch": 192, + "damping": 1.0, + "seconds": 1.1764235496520996, + "elapsed": 8.178237438201904, + "first_pass_max_delta": 8.940696716308594e-07, + "failure": [ + 0.1025390625, + 0.0966796875, + 0.1005859375 + ], + "peak_gpu_bytes": 4742925056 + }, + { + "condition": "surface_code_bX_d5_r13_center_5_5", + "rounds": 13, + "basis": "X", + "shots": 1024, + "batch": 192, + "damping": 0.5, + "seconds": 7.137438058853149, + "elapsed": 16.021901607513428, + "first_pass_max_delta": 1.1324882507324219e-06, + "failure": [ + 0.2548828125, + 0.2490234375, + 0.25 + ], + "peak_gpu_bytes": 11611887104 + }, + { + "condition": "surface_code_bX_d5_r13_center_5_5", + "rounds": 13, + "basis": "X", + "shots": 1024, + "batch": 192, + "damping": 1.0, + "seconds": 3.088695526123047, + "elapsed": 19.11112403869629, + "first_pass_max_delta": 1.1324882507324219e-06, + "failure": [ + 0.2548828125, + 0.2490234375, + 0.2412109375 + ], + "peak_gpu_bytes": 11611887104 + }, + { + "condition": "surface_code_bX_d5_r25_center_5_5", + "rounds": 25, + "basis": "X", + "shots": 1024, + "batch": 192, + "damping": 0.5, + "seconds": 10.504217624664307, + "elapsed": 30.677946090698242, + "first_pass_max_delta": 1.5497207641601562e-06, + "failure": [ + 0.3916015625, + 0.38671875, + 0.3896484375 + ], + "peak_gpu_bytes": 21913887488 + }, + { + "condition": "surface_code_bX_d5_r25_center_5_5", + "rounds": 25, + "basis": "X", + "shots": 1024, + "batch": 192, + "damping": 1.0, + "seconds": 5.937381267547607, + "elapsed": 36.615668296813965, + "first_pass_max_delta": 1.5497207641601562e-06, + "failure": [ + 0.3916015625, + 0.3857421875, + 0.3896484375 + ], + "peak_gpu_bytes": 21913887488 + }, + { + "condition": "surface_code_bZ_d5_r05_center_5_5", + "rounds": 5, + "basis": "Z", + "shots": 1024, + "batch": 192, + "damping": 0.5, + "seconds": 4.611798286437988, + "elapsed": 41.71111083030701, + "first_pass_max_delta": 2.0265579223632812e-06, + "failure": [ + 0.1005859375, + 0.1015625, + 0.09765625 + ], + "peak_gpu_bytes": 21913887488 + }, + { + "condition": "surface_code_bZ_d5_r05_center_5_5", + "rounds": 5, + "basis": "Z", + "shots": 1024, + "batch": 192, + "damping": 1.0, + "seconds": 1.1570250988006592, + "elapsed": 42.86858010292053, + "first_pass_max_delta": 2.0265579223632812e-06, + "failure": [ + 0.1005859375, + 0.0986328125, + 0.095703125 + ], + "peak_gpu_bytes": 21913887488 + }, + { + "condition": "surface_code_bZ_d5_r13_center_5_5", + "rounds": 13, + "basis": "Z", + "shots": 1024, + "batch": 192, + "damping": 0.5, + "seconds": 6.715797185897827, + "elapsed": 50.234126567840576, + "first_pass_max_delta": 1.0132789611816406e-06, + "failure": [ + 0.236328125, + 0.234375, + 0.2314453125 + ], + "peak_gpu_bytes": 21913887488 + }, + { + "condition": "surface_code_bZ_d5_r13_center_5_5", + "rounds": 13, + "basis": "Z", + "shots": 1024, + "batch": 192, + "damping": 1.0, + "seconds": 3.08017635345459, + "elapsed": 53.31461310386658, + "first_pass_max_delta": 1.0132789611816406e-06, + "failure": [ + 0.236328125, + 0.23828125, + 0.234375 + ], + "peak_gpu_bytes": 21913887488 + }, + { + "condition": "surface_code_bZ_d5_r25_center_5_5", + "rounds": 25, + "basis": "Z", + "shots": 1024, + "batch": 192, + "damping": 0.5, + "seconds": 9.802945375442505, + "elapsed": 64.01536726951599, + "first_pass_max_delta": 1.4901161193847656e-06, + "failure": [ + 0.384765625, + 0.3857421875, + 0.38671875 + ], + "peak_gpu_bytes": 21913887488 + }, + { + "condition": "surface_code_bZ_d5_r25_center_5_5", + "rounds": 25, + "basis": "Z", + "shots": 1024, + "batch": 192, + "damping": 1.0, + "seconds": 5.927323341369629, + "elapsed": 69.9429976940155, + "first_pass_max_delta": 1.4901161193847656e-06, + "failure": [ + 0.384765625, + 0.3701171875, + 0.361328125 + ], + "peak_gpu_bytes": 21913887488 + } + ] + }, + "cache": { + "method": "Three extrinsic-message passes between exact CSS likelihoods, damping 1, extrinsic clipping [-8,8]", + "scope": "All 26 d5 conditions. Full validation and 4096 training shots per condition.", + "training_selection": "Same uniformly sampled training indices as d5_cache, seed 20261023; labels are only used downstream in ensemble fitting.", + "model_selection": "Damping 1 and three passes chosen from a six-condition, 1024-validation-shot diagnostic screen of .5/1 damping and 1/2/3 passes.", + "batch": 384, + "test_data_used": false, + "resume_note": "Initial dynamic allocator failed at X/r21 after saving X/r1 through r19. Those complete records are retained; remaining conditions resumed with a 90 percent preallocated pool.", + "records": [ + { + "condition": "surface_code_bX_d5_r01_center_5_5", + "batch": 384, + "validation": { + "seconds": 0.0023708343505859375, + "shots": 5120, + "first_pass_max_delta": 0.0, + "failure": [ + 0.0080078125, + 0.0080078125, + 0.0080078125 + ] + }, + "train": { + "seconds": 0.00203704833984375, + "shots": 4096, + "first_pass_max_delta": 0.0, + "failure": [ + 0.00830078125, + 0.00830078125, + 0.00830078125 + ] + }, + "elapsed": 0.031897783279418945, + "peak_gpu_bytes": 0 + }, + { + "condition": "surface_code_bX_d5_r03_center_5_5", + "batch": 384, + "validation": { + "seconds": 6.5025129318237305, + "shots": 5120, + "first_pass_max_delta": 1.1622905731201172e-06, + "failure": [ + 0.05390625, + 0.05234375, + 0.0515625 + ] + }, + "train": { + "seconds": 1.8498849868774414, + "shots": 4096, + "first_pass_max_delta": 1.0728836059570312e-06, + "failure": [ + 0.056640625, + 0.056884765625, + 0.057373046875 + ] + }, + "elapsed": 9.963430881500244, + "peak_gpu_bytes": 6053389568 + }, + { + "condition": "surface_code_bX_d5_r05_center_5_5", + "batch": 384, + "validation": { + "seconds": 7.887800455093384, + "shots": 5120, + "first_pass_max_delta": 1.1920928955078125e-06, + "failure": [ + 0.1111328125, + 0.1078125, + 0.1078125 + ] + }, + "train": { + "seconds": 3.1277287006378174, + "shots": 4096, + "first_pass_max_delta": 1.5497207641601562e-06, + "failure": [ + 0.110595703125, + 0.1044921875, + 0.106689453125 + ] + }, + "elapsed": 21.591607809066772, + "peak_gpu_bytes": 9485051136 + }, + { + "condition": "surface_code_bX_d5_r07_center_5_5", + "batch": 384, + "validation": { + "seconds": 9.284316062927246, + "shots": 5120, + "first_pass_max_delta": 1.0728836059570312e-06, + "failure": [ + 0.1638671875, + 0.16328125, + 0.16328125 + ] + }, + "train": { + "seconds": 4.408588647842407, + "shots": 4096, + "first_pass_max_delta": 3.2186508178710938e-06, + "failure": [ + 0.165771484375, + 0.15966796875, + 0.160888671875 + ] + }, + "elapsed": 35.83207678794861, + "peak_gpu_bytes": 12921052416 + }, + { + "condition": "surface_code_bX_d5_r09_center_5_5", + "batch": 384, + "validation": { + "seconds": 10.81107211112976, + "shots": 5120, + "first_pass_max_delta": 4.172325134277344e-06, + "failure": [ + 0.1994140625, + 0.1947265625, + 0.192578125 + ] + }, + "train": { + "seconds": 5.6971564292907715, + "shots": 4096, + "first_pass_max_delta": 1.9073486328125e-06, + "failure": [ + 0.193603515625, + 0.190185546875, + 0.1865234375 + ] + }, + "elapsed": 52.94058084487915, + "peak_gpu_bytes": 16355555584 + }, + { + "condition": "surface_code_bX_d5_r11_center_5_5", + "batch": 384, + "validation": { + "seconds": 13.042934894561768, + "shots": 5120, + "first_pass_max_delta": 1.2516975402832031e-06, + "failure": [ + 0.2330078125, + 0.229296875, + 0.2283203125 + ] + }, + "train": { + "seconds": 6.935072898864746, + "shots": 4096, + "first_pass_max_delta": 1.043081283569336e-06, + "failure": [ + 0.237060546875, + 0.2373046875, + 0.23388671875 + ] + }, + "elapsed": 73.53631615638733, + "peak_gpu_bytes": 19787549696 + }, + { + "condition": "surface_code_bX_d5_r13_center_5_5", + "batch": 384, + "validation": { + "seconds": 14.011132955551147, + "shots": 5120, + "first_pass_max_delta": 1.430511474609375e-06, + "failure": [ + 0.251953125, + 0.243359375, + 0.2427734375 + ] + }, + "train": { + "seconds": 8.214681386947632, + "shots": 4096, + "first_pass_max_delta": 1.6689300537109375e-06, + "failure": [ + 0.261962890625, + 0.257080078125, + 0.254150390625 + ] + }, + "elapsed": 96.39840364456177, + "peak_gpu_bytes": 23221127680 + }, + { + "condition": "surface_code_bX_d5_r15_center_5_5", + "batch": 384, + "validation": { + "seconds": 15.821684837341309, + "shots": 5120, + "first_pass_max_delta": 2.3245811462402344e-06, + "failure": [ + 0.2822265625, + 0.286328125, + 0.2798828125 + ] + }, + "train": { + "seconds": 9.5097815990448, + "shots": 4096, + "first_pass_max_delta": 1.8477439880371094e-06, + "failure": [ + 0.294677734375, + 0.28515625, + 0.2861328125 + ] + }, + "elapsed": 122.39457035064697, + "peak_gpu_bytes": 26659319552 + }, + { + "condition": "surface_code_bX_d5_r17_center_5_5", + "batch": 384, + "validation": { + "seconds": 18.90661311149597, + "shots": 5120, + "first_pass_max_delta": 2.3245811462402344e-06, + "failure": [ + 0.329296875, + 0.323828125, + 0.3169921875 + ] + }, + "train": { + "seconds": 11.201237440109253, + "shots": 4096, + "first_pass_max_delta": 1.0728836059570312e-06, + "failure": [ + 0.3046875, + 0.304931640625, + 0.302978515625 + ] + }, + "elapsed": 153.40053129196167, + "peak_gpu_bytes": 30096252672 + }, + { + "condition": "surface_code_bX_d5_r19_center_5_5", + "batch": 384, + "validation": { + "seconds": 22.513427734375, + "shots": 5120, + "first_pass_max_delta": 1.4007091522216797e-06, + "failure": [ + 0.3560546875, + 0.3458984375, + 0.3455078125 + ] + }, + "train": { + "seconds": 16.373472213745117, + "shots": 4096, + "first_pass_max_delta": 1.430511474609375e-06, + "failure": [ + 0.350341796875, + 0.3447265625, + 0.339111328125 + ] + }, + "elapsed": 193.22454714775085, + "peak_gpu_bytes": 33531435520 + }, + { + "condition": "surface_code_bX_d5_r21_center_5_5", + "batch": 384, + "gpu_allocation": "90 percent preallocated contiguous pool", + "validation": { + "seconds": 20.595962524414062, + "shots": 5120, + "first_pass_max_delta": 1.1920928955078125e-06, + "failure": [ + 0.3640625, + 0.3626953125, + 0.3607421875 + ] + }, + "train": { + "seconds": 13.13056755065918, + "shots": 4096, + "first_pass_max_delta": 1.6689300537109375e-06, + "failure": [ + 0.366455078125, + 0.364013671875, + 0.3603515625 + ] + }, + "elapsed": 36.23082995414734, + "peak_gpu_bytes": 36971696384 + }, + { + "condition": "surface_code_bX_d5_r23_center_5_5", + "batch": 384, + "gpu_allocation": "90 percent preallocated contiguous pool", + "validation": { + "seconds": 21.875932693481445, + "shots": 5120, + "first_pass_max_delta": 1.2516975402832031e-06, + "failure": [ + 0.3857421875, + 0.3837890625, + 0.3794921875 + ] + }, + "train": { + "seconds": 14.333576440811157, + "shots": 4096, + "first_pass_max_delta": 1.1920928955078125e-06, + "failure": [ + 0.37841796875, + 0.380859375, + 0.378173828125 + ] + }, + "elapsed": 73.29396986961365, + "peak_gpu_bytes": 40408369664 + }, + { + "condition": "surface_code_bX_d5_r25_center_5_5", + "batch": 384, + "gpu_allocation": "90 percent preallocated contiguous pool", + "validation": { + "seconds": 23.68450117111206, + "shots": 5120, + "first_pass_max_delta": 1.7285346984863281e-06, + "failure": [ + 0.38828125, + 0.39140625, + 0.390234375 + ] + }, + "train": { + "seconds": 15.625046253204346, + "shots": 4096, + "first_pass_max_delta": 2.3543834686279297e-06, + "failure": [ + 0.401611328125, + 0.3984375, + 0.3896484375 + ] + }, + "elapsed": 113.62051224708557, + "peak_gpu_bytes": 43842280448 + }, + { + "condition": "surface_code_bZ_d5_r01_center_5_5", + "batch": 384, + "gpu_allocation": "90 percent preallocated contiguous pool", + "validation": { + "seconds": 0.0020935535430908203, + "shots": 5120, + "first_pass_max_delta": 0.0, + "failure": [ + 0.0078125, + 0.0078125, + 0.0078125 + ] + }, + "train": { + "seconds": 0.0018491744995117188, + "shots": 4096, + "first_pass_max_delta": 0.0, + "failure": [ + 0.006103515625, + 0.006103515625, + 0.006103515625 + ] + }, + "elapsed": 113.74299573898315, + "peak_gpu_bytes": 43842280448 + }, + { + "condition": "surface_code_bZ_d5_r03_center_5_5", + "batch": 384, + "gpu_allocation": "90 percent preallocated contiguous pool", + "validation": { + "seconds": 6.421818256378174, + "shots": 5120, + "first_pass_max_delta": 9.5367431640625e-07, + "failure": [ + 0.0474609375, + 0.0466796875, + 0.04609375 + ] + }, + "train": { + "seconds": 2.009964942932129, + "shots": 4096, + "first_pass_max_delta": 1.6093254089355469e-06, + "failure": [ + 0.05224609375, + 0.050537109375, + 0.050537109375 + ] + }, + "elapsed": 122.82617926597595, + "peak_gpu_bytes": 43842280448 + }, + { + "condition": "surface_code_bZ_d5_r05_center_5_5", + "batch": 384, + "gpu_allocation": "90 percent preallocated contiguous pool", + "validation": { + "seconds": 8.133492231369019, + "shots": 5120, + "first_pass_max_delta": 2.115964889526367e-06, + "failure": [ + 0.1037109375, + 0.1029296875, + 0.102734375 + ] + }, + "train": { + "seconds": 3.179387331008911, + "shots": 4096, + "first_pass_max_delta": 1.6689300537109375e-06, + "failure": [ + 0.108642578125, + 0.1044921875, + 0.10595703125 + ] + }, + "elapsed": 134.6406970024109, + "peak_gpu_bytes": 43842280448 + }, + { + "condition": "surface_code_bZ_d5_r07_center_5_5", + "batch": 384, + "gpu_allocation": "90 percent preallocated contiguous pool", + "validation": { + "seconds": 13.694931983947754, + "shots": 5120, + "first_pass_max_delta": 2.3245811462402344e-06, + "failure": [ + 0.1484375, + 0.14765625, + 0.1494140625 + ] + }, + "train": { + "seconds": 6.147953748703003, + "shots": 4096, + "first_pass_max_delta": 2.0563602447509766e-06, + "failure": [ + 0.147705078125, + 0.144775390625, + 0.143310546875 + ] + }, + "elapsed": 155.0307319164276, + "peak_gpu_bytes": 43842280448 + }, + { + "condition": "surface_code_bZ_d5_r09_center_5_5", + "batch": 384, + "gpu_allocation": "90 percent preallocated contiguous pool", + "validation": { + "seconds": 14.462661504745483, + "shots": 5120, + "first_pass_max_delta": 1.4901161193847656e-06, + "failure": [ + 0.181640625, + 0.1765625, + 0.1734375 + ] + }, + "train": { + "seconds": 6.59630274772644, + "shots": 4096, + "first_pass_max_delta": 1.7285346984863281e-06, + "failure": [ + 0.181640625, + 0.173583984375, + 0.17431640625 + ] + }, + "elapsed": 176.9893820285797, + "peak_gpu_bytes": 43842280448 + }, + { + "condition": "surface_code_bZ_d5_r11_center_5_5", + "batch": 384, + "gpu_allocation": "90 percent preallocated contiguous pool", + "validation": { + "seconds": 15.458272933959961, + "shots": 5120, + "first_pass_max_delta": 1.430511474609375e-06, + "failure": [ + 0.2208984375, + 0.2169921875, + 0.2189453125 + ] + }, + "train": { + "seconds": 8.347567081451416, + "shots": 4096, + "first_pass_max_delta": 1.7285346984863281e-06, + "failure": [ + 0.2216796875, + 0.214111328125, + 0.209716796875 + ] + }, + "elapsed": 201.48220419883728, + "peak_gpu_bytes": 43842280448 + }, + { + "condition": "surface_code_bZ_d5_r13_center_5_5", + "batch": 384, + "gpu_allocation": "90 percent preallocated contiguous pool", + "validation": { + "seconds": 16.03638219833374, + "shots": 5120, + "first_pass_max_delta": 1.0728836059570312e-06, + "failure": [ + 0.2439453125, + 0.2349609375, + 0.2333984375 + ] + }, + "train": { + "seconds": 8.29888391494751, + "shots": 4096, + "first_pass_max_delta": 8.344650268554688e-07, + "failure": [ + 0.24365234375, + 0.248046875, + 0.2451171875 + ] + }, + "elapsed": 226.75215530395508, + "peak_gpu_bytes": 43842280448 + }, + { + "condition": "surface_code_bZ_d5_r15_center_5_5", + "batch": 384, + "gpu_allocation": "90 percent preallocated contiguous pool", + "validation": { + "seconds": 16.009416103363037, + "shots": 5120, + "first_pass_max_delta": 1.341104507446289e-06, + "failure": [ + 0.271875, + 0.264453125, + 0.2638671875 + ] + }, + "train": { + "seconds": 9.500921726226807, + "shots": 4096, + "first_pass_max_delta": 1.0728836059570312e-06, + "failure": [ + 0.28076171875, + 0.267333984375, + 0.267333984375 + ] + }, + "elapsed": 252.95993447303772, + "peak_gpu_bytes": 43842280448 + }, + { + "condition": "surface_code_bZ_d5_r17_center_5_5", + "batch": 384, + "gpu_allocation": "90 percent preallocated contiguous pool", + "validation": { + "seconds": 17.426681518554688, + "shots": 5120, + "first_pass_max_delta": 1.6242265701293945e-06, + "failure": [ + 0.31484375, + 0.3056640625, + 0.3087890625 + ] + }, + "train": { + "seconds": 10.742947816848755, + "shots": 4096, + "first_pass_max_delta": 1.430511474609375e-06, + "failure": [ + 0.310791015625, + 0.309814453125, + 0.31103515625 + ] + }, + "elapsed": 281.84620356559753, + "peak_gpu_bytes": 43842280448 + }, + { + "condition": "surface_code_bZ_d5_r19_center_5_5", + "batch": 384, + "gpu_allocation": "90 percent preallocated contiguous pool", + "validation": { + "seconds": 18.49993872642517, + "shots": 5120, + "first_pass_max_delta": 1.9073486328125e-06, + "failure": [ + 0.334375, + 0.334765625, + 0.33515625 + ] + }, + "train": { + "seconds": 11.90273404121399, + "shots": 4096, + "first_pass_max_delta": 1.3113021850585938e-06, + "failure": [ + 0.327880859375, + 0.315673828125, + 0.310546875 + ] + }, + "elapsed": 313.02247071266174, + "peak_gpu_bytes": 43842280448 + }, + { + "condition": "surface_code_bZ_d5_r21_center_5_5", + "batch": 384, + "gpu_allocation": "90 percent preallocated contiguous pool", + "validation": { + "seconds": 20.121089458465576, + "shots": 5120, + "first_pass_max_delta": 1.2516975402832031e-06, + "failure": [ + 0.34609375, + 0.342578125, + 0.344140625 + ] + }, + "train": { + "seconds": 13.077136278152466, + "shots": 4096, + "first_pass_max_delta": 1.6391277313232422e-06, + "failure": [ + 0.349853515625, + 0.34765625, + 0.352294921875 + ] + }, + "elapsed": 347.0259063243866, + "peak_gpu_bytes": 43842280448 + }, + { + "condition": "surface_code_bZ_d5_r23_center_5_5", + "batch": 384, + "gpu_allocation": "90 percent preallocated contiguous pool", + "validation": { + "seconds": 22.116555213928223, + "shots": 5120, + "first_pass_max_delta": 1.6689300537109375e-06, + "failure": [ + 0.3625, + 0.3625, + 0.3564453125 + ] + }, + "train": { + "seconds": 14.53529953956604, + "shots": 4096, + "first_pass_max_delta": 1.7285346984863281e-06, + "failure": [ + 0.361572265625, + 0.36083984375, + 0.35205078125 + ] + }, + "elapsed": 384.53587651252747, + "peak_gpu_bytes": 43842280448 + }, + { + "condition": "surface_code_bZ_d5_r25_center_5_5", + "batch": 384, + "gpu_allocation": "90 percent preallocated contiguous pool", + "validation": { + "seconds": 24.039794921875, + "shots": 5120, + "first_pass_max_delta": 1.2516975402832031e-06, + "failure": [ + 0.397265625, + 0.3810546875, + 0.3755859375 + ] + }, + "train": { + "seconds": 15.72797179222107, + "shots": 4096, + "first_pass_max_delta": 1.1920928955078125e-06, + "failure": [ + 0.378662109375, + 0.370849609375, + 0.369384765625 + ] + }, + "elapsed": 425.2448420524597, + "peak_gpu_bytes": 43842280448 + } + ] + }, + "selection": "Full-validation mean failure per basis group, comparing incumbent, raw pass3, calibrated pass3, confidence ensemble, and confidence+matching ensemble.", + "history": [ + { + "group": "d5_bX_center_5_5", + "candidates": { + "incumbent": { + "failure": 0.24024939903846157 + }, + "turbo_raw": { + "failure": 0.2359375 + }, + "turbo_calibrated": { + "failure": 0.23592247596153845, + "train_loss": 0.4342440304618462, + "iterations": 8, + "optimizer_success": true + }, + "turbo_confidence": { + "failure": 0.23646334134615385, + "train_loss": 0.4325824823965761, + "iterations": 31, + "optimizer_success": true + }, + "turbo_ensemble": { + "failure": 0.23825120192307692, + "train_loss": 0.43104343457008354, + "iterations": 128, + "optimizer_success": true + } + }, + "selected": "turbo_calibrated" + }, + { + "group": "d5_bZ_center_5_5", + "candidates": { + "incumbent": { + "failure": 0.22627704326923076 + }, + "turbo_raw": { + "failure": 0.2242938701923077 + }, + "turbo_calibrated": { + "failure": 0.22444411057692307, + "train_loss": 0.41862854651685183, + "iterations": 8, + "optimizer_success": true + }, + "turbo_confidence": { + "failure": 0.22463942307692308, + "train_loss": 0.4165407454935999, + "iterations": 28, + "optimizer_success": true + }, + "turbo_ensemble": { + "failure": 0.22291165865384616, + "train_loss": 0.4143765903988058, + "iterations": 153, + "optimizer_success": true + } + }, + "selected": "turbo_ensemble" + } + ], + "test_data_used": false, + "memory_optimization": { + "method": "Logical parity retained in forward state, marginalized out of stored histories and backward syndrome-likelihood messages; half the on-partition history size.", + "equivalence_checks": [ + { + "condition": "surface_code_bX_d5_r03_center_5_5", + "log_likelihood_max_delta": 0.0, + "logical_max_delta": 0.0, + "edge_posterior_max_delta": 3.2687214002180554e-07 + }, + { + "condition": "surface_code_bZ_d5_r03_center_5_5", + "log_likelihood_max_delta": 0.0, + "logical_max_delta": 0.0, + "edge_posterior_max_delta": 3.698800981055683e-07 + }, + { + "condition": "surface_code_bX_d5_r25_center_5_5", + "log_likelihood_max_delta": 0.0, + "logical_max_delta": 0.0, + "edge_posterior_max_delta": 4.061699030444288e-07 + }, + { + "condition": "surface_code_bZ_d5_r25_center_5_5", + "log_likelihood_max_delta": 0.0, + "logical_max_delta": 0.0, + "edge_posterior_max_delta": 4.5500107148654934e-07 + } + ], + "runtime_batch": 512, + "gpu_pool": "90 percent preallocated before JAX backend initialization" + } + }, + "neural_d5_history": [ + { + "training": { + "initialization": "All parameters initialized in this session: variance-scaled normal hidden layers, Normal(0,.001) output weights, zero biases, seed 20261101", + "architecture": "Two 64-unit SiLU layers; 394 features; bounded 2*tanh correction to exact complementary-CSS-conditioned relevant-edge logits; exact width-14 contraction predicts logical probability", + "training": "4096 training shots per each of all 26 d5 conditions, sampled without replacement with seed 20261023. Uniform condition and within-condition sampling for optimizer batches.", + "loss": "Conditional logical binary cross entropy, differentiated through exact relevant-CSS contraction; complementary conditioning held fixed", + "steps": 512, + "batch": 256, + "learning_rate": 0.001, + "sampling_seed": 20261101, + "optimizer": "AdamW, weight decay 1e-4, global gradient norm clip 1", + "optimizer_restored": false, + "starting_checkpoint": null, + "validation": "Uniform subset per all 26 conditions, sample seed 20261102; full validation required before publication", + "validation_shots_per_condition": 512, + "test_data_used": false, + "records": [ + { + "step": 1, + "loss": 0.12617039680480957, + "error": 0.0390625, + "gradient_norm": 0.04250018671154976, + "elapsed": 18.675416231155396 + }, + { + "step": 16, + "loss": 0.6377020478248596, + "error": 0.4140625, + "gradient_norm": 0.09590183943510056, + "elapsed": 23.17981266975403 + }, + { + "step": 32, + "loss": 0.29977816343307495, + "error": 0.12109375, + "gradient_norm": 0.07157808542251587, + "elapsed": 28.000701189041138 + }, + { + "step": 48, + "loss": 0.34505343437194824, + "error": 0.1484375, + "gradient_norm": 0.07669594883918762, + "elapsed": 32.97374606132507 + }, + { + "step": 64, + "loss": 0.5405071973800659, + "error": 0.29296875, + "gradient_norm": 0.08529861271381378, + "elapsed": 37.794785499572754 + }, + { + "step": 80, + "loss": 0.5131822228431702, + "error": 0.28515625, + "gradient_norm": 0.12556222081184387, + "elapsed": 42.73275876045227 + }, + { + "step": 96, + "loss": 0.6790875196456909, + "error": 0.421875, + "gradient_norm": 0.19858981668949127, + "elapsed": 47.55139684677124 + }, + { + "step": 112, + "loss": 0.4744196832180023, + "error": 0.2421875, + "gradient_norm": 0.14321450889110565, + "elapsed": 52.42716360092163 + }, + { + "step": 128, + "loss": 0.01264211069792509, + "error": 0.00390625, + "gradient_norm": 0.007236324716359377, + "elapsed": 57.2592077255249 + }, + { + "step": 144, + "loss": 0.35788118839263916, + "error": 0.15234375, + "gradient_norm": 0.07203944772481918, + "elapsed": 64.91656231880188 + }, + { + "step": 160, + "loss": 0.6330419778823853, + "error": 0.3671875, + "gradient_norm": 0.08350329101085663, + "elapsed": 69.75011849403381 + }, + { + "step": 176, + "loss": 0.6195905208587646, + "error": 0.4140625, + "gradient_norm": 0.11415330320596695, + "elapsed": 74.56864047050476 + }, + { + "step": 192, + "loss": 0.5832147598266602, + "error": 0.37109375, + "gradient_norm": 0.3569585978984833, + "elapsed": 79.38981986045837 + }, + { + "step": 208, + "loss": 0.6469261646270752, + "error": 0.4296875, + "gradient_norm": 0.18999285995960236, + "elapsed": 84.23919153213501 + }, + { + "step": 224, + "loss": 0.5015400648117065, + "error": 0.26171875, + "gradient_norm": 0.14661277830600739, + "elapsed": 89.08856391906738 + }, + { + "step": 240, + "loss": 0.5771075487136841, + "error": 0.30859375, + "gradient_norm": 0.16081298887729645, + "elapsed": 94.75072908401489 + }, + { + "step": 256, + "loss": 0.4888438582420349, + "error": 0.265625, + "gradient_norm": 0.0695391371846199, + "elapsed": 101.01203680038452 + }, + { + "step": 272, + "loss": 0.4024130702018738, + "error": 0.171875, + "gradient_norm": 0.12405848503112793, + "elapsed": 110.68109226226807 + }, + { + "step": 288, + "loss": 0.5895810723304749, + "error": 0.34375, + "gradient_norm": 0.11818791180849075, + "elapsed": 117.13554787635803 + }, + { + "step": 304, + "loss": 0.4740591049194336, + "error": 0.23828125, + "gradient_norm": 0.12323135882616043, + "elapsed": 123.14409065246582 + }, + { + "step": 320, + "loss": 0.007106379605829716, + "error": 0.0, + "gradient_norm": 0.011303205043077469, + "elapsed": 129.3651967048645 + }, + { + "step": 336, + "loss": 0.11020991206169128, + "error": 0.046875, + "gradient_norm": 0.09031850099563599, + "elapsed": 135.01193165779114 + }, + { + "step": 352, + "loss": 0.47800248861312866, + "error": 0.23046875, + "gradient_norm": 0.09636854380369186, + "elapsed": 141.10205006599426 + }, + { + "step": 368, + "loss": 0.4062168598175049, + "error": 0.203125, + "gradient_norm": 0.17921771109104156, + "elapsed": 146.6507167816162 + }, + { + "step": 384, + "loss": 0.24366013705730438, + "error": 0.12109375, + "gradient_norm": 0.11793741583824158, + "elapsed": 152.7517864704132 + }, + { + "step": 400, + "loss": 0.4949762225151062, + "error": 0.28515625, + "gradient_norm": 0.09550267457962036, + "elapsed": 160.96661829948425 + }, + { + "step": 416, + "loss": 0.21066513657569885, + "error": 0.08984375, + "gradient_norm": 0.07445460557937622, + "elapsed": 165.83068180084229 + }, + { + "step": 432, + "loss": 0.4017776548862457, + "error": 0.18359375, + "gradient_norm": 0.1278357356786728, + "elapsed": 170.6406123638153 + }, + { + "step": 448, + "loss": 0.11823543906211853, + "error": 0.04296875, + "gradient_norm": 0.09968453645706177, + "elapsed": 175.4701704978943 + }, + { + "step": 464, + "loss": 0.47654634714126587, + "error": 0.2265625, + "gradient_norm": 0.18101797997951508, + "elapsed": 180.26738119125366 + }, + { + "step": 480, + "loss": 0.4916652739048004, + "error": 0.24609375, + "gradient_norm": 0.08958703279495239, + "elapsed": 185.08883357048035 + }, + { + "step": 496, + "loss": 0.5418418645858765, + "error": 0.3515625, + "gradient_norm": 0.08218713104724884, + "elapsed": 189.9677882194519 + }, + { + "step": 512, + "loss": 0.5470219850540161, + "error": 0.359375, + "gradient_norm": 0.07939601689577103, + "elapsed": 194.77887177467346 + } + ] + }, + "selection": "Minimum full-validation condition-mean failure per basis group over incumbent, listed neural checkpoints and equal probability averages with incumbent.", + "history": [ + { + "group": "d5_bX_center_5_5", + "candidates": { + "incumbent": 0.23592247596153845, + "128": 0.23888221153846154, + "blend-128": 0.23536658653846151, + "256": 0.23865685096153846, + "blend-256": 0.23538161057692308, + "384": 0.23852163461538461, + "blend-384": 0.23487079326923077, + "512": 0.23870192307692306, + "blend-512": 0.23482572115384615 + }, + "selected": "blend-512" + }, + { + "group": "d5_bZ_center_5_5", + "candidates": { + "incumbent": 0.22291165865384616, + "128": 0.2279897836538462, + "blend-128": 0.22366286057692308, + "256": 0.2274188701923077, + "blend-256": 0.22304687500000003, + "384": 0.22729867788461536, + "blend-384": 0.22337740384615384, + "512": 0.22662259615384617, + "blend-512": 0.22355769230769235 + }, + "selected": "incumbent" + } + ], + "checkpoints": { + "512": { + "step": 512, + "training_samples": 131072, + "weights_sha256": "86aa65455686eb06a430030bd4b8242ac78521dccf4e9b07f1e93b2aa2ec40af", + "complete": true + } + }, + "runtime": "Shared initial complementary-CSS priors between neural and physical branches in blended groups. Last-only physical branches omit logical tracking in intermediate passes when intermediate probabilities are unused.", + "last_only_equivalence_controls": [ + { + "condition": "surface_code_bX_d5_r03_center_5_5", + "maximum_probability_difference": 7.450580596923828e-07 + }, + { + "condition": "surface_code_bZ_d5_r03_center_5_5", + "maximum_probability_difference": 5.960464477539063e-08 + }, + { + "condition": "surface_code_bX_d5_r25_center_5_5", + "maximum_probability_difference": 5.960464477539063e-08 + }, + { + "condition": "surface_code_bZ_d5_r25_center_5_5", + "maximum_probability_difference": 1.7881393432617188e-07 + } + ], + "test_data_used": false + }, + { + "training": { + "initialization": "All parameters initialized in this session: variance-scaled normal hidden layers, Normal(0,.001) output weights, zero biases, seed 20261108", + "prior_pass": 3, + "initial_seed": 20261108, + "architecture": "Two 64-unit SiLU layers; 394 features; bounded 2*tanh correction to relevant-CSS edge logits from the recorded physical feedback pass; exact width-14 contraction predicts logical probability. D5 joint conditioning remains approximate.", + "training": "4096 training shots per each of all 26 d5 conditions, sampled without replacement with seed 20261023. Uniform condition and within-condition sampling for optimizer batches.", + "loss": "Conditional logical binary cross entropy, differentiated through exact relevant-CSS contraction; physical CSS feedback prior held fixed", + "steps": 1024, + "batch": 256, + "learning_rate": 0.001, + "sampling_seed": 20261108, + "optimizer": "AdamW, weight decay 1e-4, global gradient norm clip 1", + "optimizer_restored": false, + "starting_checkpoint": null, + "validation": "Uniform subset per all 26 conditions, sample seed 20261102; full validation required before publication", + "validation_shots_per_condition": 1024, + "test_data_used": false, + "records": [ + { + "step": 1, + "loss": 0.011146659031510353, + "error": 0.00390625, + "gradient_norm": 0.011240893043577671, + "elapsed": 21.276997089385986 + }, + { + "step": 16, + "loss": 0.645737886428833, + "error": 0.40625, + "gradient_norm": 0.1628236621618271, + "elapsed": 25.872907638549805 + }, + { + "step": 32, + "loss": 0.574029803276062, + "error": 0.35546875, + "gradient_norm": 0.3000081777572632, + "elapsed": 30.761418342590332 + }, + { + "step": 48, + "loss": 0.574467122554779, + "error": 0.296875, + "gradient_norm": 0.24150623381137848, + "elapsed": 35.67650651931763 + }, + { + "step": 64, + "loss": 0.6003620624542236, + "error": 0.35546875, + "gradient_norm": 0.07430054992437363, + "elapsed": 40.60572576522827 + }, + { + "step": 80, + "loss": 0.5429091453552246, + "error": 0.33203125, + "gradient_norm": 0.15341751277446747, + "elapsed": 45.546849727630615 + }, + { + "step": 96, + "loss": 0.368771493434906, + "error": 0.1640625, + "gradient_norm": 0.08923184871673584, + "elapsed": 50.49156332015991 + }, + { + "step": 112, + "loss": 0.516342043876648, + "error": 0.265625, + "gradient_norm": 0.10965219140052795, + "elapsed": 55.45058846473694 + }, + { + "step": 128, + "loss": 0.5925382971763611, + "error": 0.37109375, + "gradient_norm": 0.055406324565410614, + "elapsed": 60.40891766548157 + }, + { + "step": 144, + "loss": 0.19184258580207825, + "error": 0.07421875, + "gradient_norm": 0.07042146474123001, + "elapsed": 65.33323669433594 + }, + { + "step": 160, + "loss": 0.5202382206916809, + "error": 0.25390625, + "gradient_norm": 0.14782382547855377, + "elapsed": 70.26605796813965 + }, + { + "step": 176, + "loss": 0.46083134412765503, + "error": 0.22265625, + "gradient_norm": 0.09074779599905014, + "elapsed": 75.18221640586853 + }, + { + "step": 192, + "loss": 0.3054918646812439, + "error": 0.14453125, + "gradient_norm": 0.0588168129324913, + "elapsed": 80.1186010837555 + }, + { + "step": 208, + "loss": 0.4836011230945587, + "error": 0.27734375, + "gradient_norm": 0.09208947420120239, + "elapsed": 85.05764293670654 + }, + { + "step": 224, + "loss": 0.6640600562095642, + "error": 0.38671875, + "gradient_norm": 0.22026506066322327, + "elapsed": 89.98808217048645 + }, + { + "step": 240, + "loss": 0.02421322464942932, + "error": 0.00390625, + "gradient_norm": 0.008131005801260471, + "elapsed": 94.90194272994995 + }, + { + "step": 256, + "loss": 0.6302106976509094, + "error": 0.4296875, + "gradient_norm": 0.09762304276227951, + "elapsed": 99.82612204551697 + }, + { + "step": 272, + "loss": 0.5092596411705017, + "error": 0.27734375, + "gradient_norm": 0.11407691985368729, + "elapsed": 110.44065999984741 + }, + { + "step": 288, + "loss": 0.452798455953598, + "error": 0.2265625, + "gradient_norm": 0.1105576679110527, + "elapsed": 115.36984539031982 + }, + { + "step": 304, + "loss": 0.3378596305847168, + "error": 0.18359375, + "gradient_norm": 0.0841713547706604, + "elapsed": 120.29337763786316 + }, + { + "step": 320, + "loss": 0.6271854639053345, + "error": 0.38671875, + "gradient_norm": 0.1972702294588089, + "elapsed": 125.2231035232544 + }, + { + "step": 336, + "loss": 0.04562236741185188, + "error": 0.01171875, + "gradient_norm": 0.027922745794057846, + "elapsed": 130.14725255966187 + }, + { + "step": 352, + "loss": 0.5342530608177185, + "error": 0.26953125, + "gradient_norm": 0.09031179547309875, + "elapsed": 135.08111095428467 + }, + { + "step": 368, + "loss": 0.49785488843917847, + "error": 0.2578125, + "gradient_norm": 0.19366280734539032, + "elapsed": 140.00699138641357 + }, + { + "step": 384, + "loss": 0.5673326253890991, + "error": 0.30859375, + "gradient_norm": 0.20644932985305786, + "elapsed": 144.92276740074158 + }, + { + "step": 400, + "loss": 0.5581298470497131, + "error": 0.3203125, + "gradient_norm": 0.17668266594409943, + "elapsed": 149.86573243141174 + }, + { + "step": 416, + "loss": 0.5564071536064148, + "error": 0.30078125, + "gradient_norm": 0.0821610689163208, + "elapsed": 154.7953712940216 + }, + { + "step": 432, + "loss": 0.5540086030960083, + "error": 0.34765625, + "gradient_norm": 0.1438807100057602, + "elapsed": 159.72657418251038 + }, + { + "step": 448, + "loss": 0.540939450263977, + "error": 0.29296875, + "gradient_norm": 0.17986361682415009, + "elapsed": 164.6689453125 + }, + { + "step": 464, + "loss": 0.45807865262031555, + "error": 0.25, + "gradient_norm": 0.14453186094760895, + "elapsed": 169.58739304542542 + }, + { + "step": 480, + "loss": 0.5191650390625, + "error": 0.22265625, + "gradient_norm": 0.07955105602741241, + "elapsed": 174.5444438457489 + }, + { + "step": 496, + "loss": 0.1692925989627838, + "error": 0.0703125, + "gradient_norm": 0.07875128090381622, + "elapsed": 179.48035550117493 + }, + { + "step": 512, + "loss": 0.5580664873123169, + "error": 0.3125, + "gradient_norm": 0.27090802788734436, + "elapsed": 184.42834162712097 + }, + { + "step": 528, + "loss": 0.26402050256729126, + "error": 0.13671875, + "gradient_norm": 0.13135771453380585, + "elapsed": 195.17691040039062 + }, + { + "step": 544, + "loss": 0.4352915287017822, + "error": 0.1953125, + "gradient_norm": 0.15959712862968445, + "elapsed": 200.0421543121338 + }, + { + "step": 560, + "loss": 0.22861814498901367, + "error": 0.1015625, + "gradient_norm": 0.08776932209730148, + "elapsed": 204.95144605636597 + }, + { + "step": 576, + "loss": 0.28309381008148193, + "error": 0.1328125, + "gradient_norm": 0.11050742119550705, + "elapsed": 209.8526291847229 + }, + { + "step": 592, + "loss": 0.6409220695495605, + "error": 0.41015625, + "gradient_norm": 0.19826626777648926, + "elapsed": 214.84447717666626 + }, + { + "step": 608, + "loss": 0.25090643763542175, + "error": 0.109375, + "gradient_norm": 0.05864342302083969, + "elapsed": 219.72637391090393 + }, + { + "step": 624, + "loss": 0.11423969268798828, + "error": 0.05078125, + "gradient_norm": 0.05318564549088478, + "elapsed": 224.6331377029419 + }, + { + "step": 640, + "loss": 0.32663431763648987, + "error": 0.1328125, + "gradient_norm": 0.06877780705690384, + "elapsed": 229.5065622329712 + }, + { + "step": 656, + "loss": 0.24196995794773102, + "error": 0.10546875, + "gradient_norm": 0.07683655619621277, + "elapsed": 234.4042534828186 + }, + { + "step": 672, + "loss": 0.5349344611167908, + "error": 0.296875, + "gradient_norm": 0.15214307606220245, + "elapsed": 239.26656579971313 + }, + { + "step": 688, + "loss": 0.26759713888168335, + "error": 0.1171875, + "gradient_norm": 0.14698348939418793, + "elapsed": 244.21049737930298 + }, + { + "step": 704, + "loss": 0.37338894605636597, + "error": 0.18359375, + "gradient_norm": 0.10210632532835007, + "elapsed": 249.13519072532654 + }, + { + "step": 720, + "loss": 0.36807945370674133, + "error": 0.17578125, + "gradient_norm": 0.09668388962745667, + "elapsed": 254.06281065940857 + }, + { + "step": 736, + "loss": 0.3736685514450073, + "error": 0.15625, + "gradient_norm": 0.10987236350774765, + "elapsed": 259.01695108413696 + }, + { + "step": 752, + "loss": 0.5266942977905273, + "error": 0.29296875, + "gradient_norm": 0.09041415899991989, + "elapsed": 263.9530746936798 + }, + { + "step": 768, + "loss": 0.360038161277771, + "error": 0.1640625, + "gradient_norm": 0.10391079634428024, + "elapsed": 268.9019305706024 + }, + { + "step": 784, + "loss": 0.5700286626815796, + "error": 0.34375, + "gradient_norm": 0.12206032127141953, + "elapsed": 279.4174163341522 + }, + { + "step": 800, + "loss": 0.42533689737319946, + "error": 0.20703125, + "gradient_norm": 0.06605375558137894, + "elapsed": 284.3391351699829 + }, + { + "step": 816, + "loss": 0.12355346977710724, + "error": 0.046875, + "gradient_norm": 0.06571663916110992, + "elapsed": 289.2815272808075 + }, + { + "step": 832, + "loss": 0.6411258578300476, + "error": 0.3984375, + "gradient_norm": 0.160088911652565, + "elapsed": 294.2048614025116 + }, + { + "step": 848, + "loss": 0.5756919980049133, + "error": 0.3515625, + "gradient_norm": 0.0962308868765831, + "elapsed": 299.15635418891907 + }, + { + "step": 864, + "loss": 0.2706402540206909, + "error": 0.1171875, + "gradient_norm": 0.11391306668519974, + "elapsed": 304.09321761131287 + }, + { + "step": 880, + "loss": 0.33621329069137573, + "error": 0.1640625, + "gradient_norm": 0.09049320220947266, + "elapsed": 309.0412187576294 + }, + { + "step": 896, + "loss": 0.44343245029449463, + "error": 0.23828125, + "gradient_norm": 0.12484703958034515, + "elapsed": 313.98498797416687 + }, + { + "step": 912, + "loss": 0.5987736582756042, + "error": 0.359375, + "gradient_norm": 0.07541236281394958, + "elapsed": 318.9334623813629 + }, + { + "step": 928, + "loss": 0.38585522770881653, + "error": 0.1875, + "gradient_norm": 0.09290861338376999, + "elapsed": 323.86884689331055 + }, + { + "step": 944, + "loss": 0.4820440113544464, + "error": 0.234375, + "gradient_norm": 0.22198310494422913, + "elapsed": 328.7963180541992 + }, + { + "step": 960, + "loss": 0.07455944269895554, + "error": 0.015625, + "gradient_norm": 0.055282026529312134, + "elapsed": 333.75238251686096 + }, + { + "step": 976, + "loss": 0.013475366868078709, + "error": 0.0078125, + "gradient_norm": 0.009843004867434502, + "elapsed": 338.6403331756592 + }, + { + "step": 992, + "loss": 0.4429199695587158, + "error": 0.2265625, + "gradient_norm": 0.09489083290100098, + "elapsed": 343.5606532096863 + }, + { + "step": 1008, + "loss": 0.4892328381538391, + "error": 0.234375, + "gradient_norm": 0.1342826634645462, + "elapsed": 348.5243353843689 + }, + { + "step": 1024, + "loss": 0.6096819043159485, + "error": 0.32421875, + "gradient_norm": 0.17938998341560364, + "elapsed": 353.36506962776184 + } + ] + }, + "selection": "Minimum full-validation condition-mean failure per basis group over incumbent, listed neural checkpoints and equal probability averages with the recorded physical decoder.", + "physical_prediction_reference": "/run-state/workspace/research/context_upgrades/turbo1/predictions", + "prior_pass": 3, + "history": [ + { + "group": "d5_bX_center_5_5", + "candidates": { + "incumbent": 0.23482572115384615, + "256": 0.2346754807692308, + "blend-256": 0.23484074519230771, + "512": 0.23569711538461538, + "blend-512": 0.2338341346153846, + "768": 0.23470552884615387, + "blend-768": 0.23464543269230764, + "1024": 0.23653846153846153, + "blend-1024": 0.23445012019230768 + }, + "selected": "blend-512" + }, + { + "group": "d5_bZ_center_5_5", + "candidates": { + "incumbent": 0.22291165865384616, + "256": 0.2231520432692308, + "blend-256": 0.2219951923076923, + "512": 0.22303185096153846, + "blend-512": 0.22211538461538463, + "768": 0.22279146634615382, + "blend-768": 0.2219501201923077, + "1024": 0.22291165865384616, + "blend-1024": 0.22182992788461542 + }, + "selected": "blend-1024" + } + ], + "checkpoints": { + "512": { + "step": 512, + "training_samples": 131072, + "weights_sha256": "6109f95c51d7b8803085c84b6bb34e3f199cc349bd846d6007c8f9a4f2a0c4fe", + "complete": true + }, + "1024": { + "step": 1024, + "training_samples": 262144, + "weights_sha256": "46aa01e703f38fa153206c54ff0ce7083d839de7aeb51bf14c8e732d52d5bd2d", + "complete": true + } + }, + "runtime": "Share physical priors when the conditioning pass and regime agree; otherwise recompute the neural prior independently. Last-only physical branches omit logical tracking in intermediate passes when intermediate probabilities are unused.", + "last_only_equivalence_controls": [ + { + "condition": "surface_code_bX_d5_r03_center_5_5", + "maximum_probability_difference": 7.450580596923828e-07 + }, + { + "condition": "surface_code_bZ_d5_r03_center_5_5", + "maximum_probability_difference": 5.960464477539063e-08 + }, + { + "condition": "surface_code_bX_d5_r25_center_5_5", + "maximum_probability_difference": 5.960464477539063e-08 + }, + { + "condition": "surface_code_bZ_d5_r25_center_5_5", + "maximum_probability_difference": 1.7881393432617188e-07 + } + ], + "test_data_used": false + }, + { + "training": { + "initialization": "Continue from the recorded session-trained checkpoint; original random initialization seed 20261108", + "prior_pass": 3, + "initial_seed": 20261108, + "training_source_sha256": { + "learned_d5__train.py": "b73af9da21332dee9a43f653b514695b020fbc3516604b2e721d8cf0ea876d53", + "learned_d5__data.py": "9e3bcfe9d45f6af60b86a580cdc9374043758a1a6f10564aef9eb344f7a6b364", + "learned_d5__model.py": "5e9420df1f6dd56518925e910096fb9bc93bd796a5933b13bf894a1a96256cdf", + "learned_exact__gradient.py": "ecb6b45698480386fa124fe878db7dbfa246d1969fd720ec26daff9547da2001", + "learned_exact__checkpoint_gradient.py": "7ece6b3f45e009727fd104a3d39e2816a8c3437f737c3d98131d3a5d7d60e9b8", + "exact_d3__exact.py": "869dfacb295c419c156d1070fc2afdd6e20d02ac1840e45e72346b2b289f4825" + }, + "runtime_versions": { + "jax": "0.7.2", + "numpy": "2.3.3", + "optax": "0.2.6" + }, + "architecture": "Two 64-unit SiLU layers; 394 features; bounded 2*tanh correction to relevant-CSS edge logits from the recorded physical feedback pass; exact width-14 contraction predicts logical probability. D5 joint conditioning remains approximate.", + "training": "All supplied training shots per each of all26 d5 conditions; uniform condition and within-condition sampling for optimizer batches.", + "training_cache": "/run-state/workspace/research/learned_d5/full_training_priors3", + "training_cache_provenance": { + "method": "Three undamped physical CSS extrinsic-message passes, clipping8, pass1/pass3 priors captured before logical readout", + "scope": "All supplied training rows in all26 d5 conditions; no validation or test labels used in cache generation", + "reused_rows": "4096 rows per condition from feedback5_cache, sampled with seed20261023; same first three passes", + "remaining_rows": "Computed now with last-only logical tracking; previously controlled against full logical tracking", + "train_manifest_sha256": "ce46c21e3595cfc5885bbe2b6481105317d2e6267498ec4572601469825914b8", + "records": [ + { + "condition": "surface_code_bX_d5_r25_center_5_5", + "shots": 19880, + "reused_training_rows": 4096, + "new_rows": 15784, + "seconds": 44.93641114234924, + "elapsed": 45.15474009513855, + "peak_gpu_bytes": 58661028096 + }, + { + "condition": "surface_code_bZ_d5_r25_center_5_5", + "shots": 19880, + "reused_training_rows": 4096, + "new_rows": 15784, + "seconds": 43.11551070213318, + "elapsed": 88.52458453178406, + "peak_gpu_bytes": 58661028096 + }, + { + "condition": "surface_code_bX_d5_r23_center_5_5", + "shots": 19880, + "reused_training_rows": 4096, + "new_rows": 15784, + "seconds": 39.70699763298035, + "elapsed": 128.4802794456482, + "peak_gpu_bytes": 58661028096 + }, + { + "condition": "surface_code_bZ_d5_r23_center_5_5", + "shots": 19880, + "reused_training_rows": 4096, + "new_rows": 15784, + "seconds": 41.178571701049805, + "elapsed": 169.95510387420654, + "peak_gpu_bytes": 58661028096 + }, + { + "condition": "surface_code_bX_d5_r21_center_5_5", + "shots": 19880, + "reused_training_rows": 4096, + "new_rows": 15784, + "seconds": 41.53053879737854, + "elapsed": 211.7576286792755, + "peak_gpu_bytes": 58661028096 + }, + { + "condition": "surface_code_bZ_d5_r21_center_5_5", + "shots": 19880, + "reused_training_rows": 4096, + "new_rows": 15784, + "seconds": 43.43117809295654, + "elapsed": 255.62733364105225, + "peak_gpu_bytes": 58661028096 + }, + { + "condition": "surface_code_bX_d5_r19_center_5_5", + "shots": 19880, + "reused_training_rows": 4096, + "new_rows": 15784, + "seconds": 33.84876799583435, + "elapsed": 289.70106053352356, + "peak_gpu_bytes": 58661028096 + }, + { + "condition": "surface_code_bZ_d5_r19_center_5_5", + "shots": 19880, + "reused_training_rows": 4096, + "new_rows": 15784, + "seconds": 32.88018870353699, + "elapsed": 322.7981607913971, + "peak_gpu_bytes": 58661028096 + }, + { + "condition": "surface_code_bX_d5_r17_center_5_5", + "shots": 19880, + "reused_training_rows": 4096, + "new_rows": 15784, + "seconds": 29.585307836532593, + "elapsed": 352.58776783943176, + "peak_gpu_bytes": 58661028096 + }, + { + "condition": "surface_code_bZ_d5_r17_center_5_5", + "shots": 19880, + "reused_training_rows": 4096, + "new_rows": 15784, + "seconds": 29.854028463363647, + "elapsed": 382.6393291950226, + "peak_gpu_bytes": 58661028096 + }, + { + "condition": "surface_code_bX_d5_r15_center_5_5", + "shots": 19880, + "reused_training_rows": 4096, + "new_rows": 15784, + "seconds": 26.721288919448853, + "elapsed": 409.54919600486755, + "peak_gpu_bytes": 58661028096 + }, + { + "condition": "surface_code_bZ_d5_r15_center_5_5", + "shots": 19880, + "reused_training_rows": 4096, + "new_rows": 15784, + "seconds": 29.810269832611084, + "elapsed": 439.6440734863281, + "peak_gpu_bytes": 58661028096 + }, + { + "condition": "surface_code_bX_d5_r13_center_5_5", + "shots": 19880, + "reused_training_rows": 4096, + "new_rows": 15784, + "seconds": 29.79407238960266, + "elapsed": 469.7887041568756, + "peak_gpu_bytes": 58661028096 + }, + { + "condition": "surface_code_bZ_d5_r13_center_5_5", + "shots": 19880, + "reused_training_rows": 4096, + "new_rows": 15784, + "seconds": 28.757604837417603, + "elapsed": 498.71140813827515, + "peak_gpu_bytes": 58661028096 + }, + { + "condition": "surface_code_bX_d5_r11_center_5_5", + "shots": 19880, + "reused_training_rows": 4096, + "new_rows": 15784, + "seconds": 25.38013219833374, + "elapsed": 524.2447266578674, + "peak_gpu_bytes": 58661028096 + }, + { + "condition": "surface_code_bZ_d5_r11_center_5_5", + "shots": 19880, + "reused_training_rows": 4096, + "new_rows": 15784, + "seconds": 25.378958225250244, + "elapsed": 549.8600506782532, + "peak_gpu_bytes": 58661028096 + }, + { + "condition": "surface_code_bX_d5_r09_center_5_5", + "shots": 19880, + "reused_training_rows": 4096, + "new_rows": 15784, + "seconds": 21.241567850112915, + "elapsed": 571.2600774765015, + "peak_gpu_bytes": 58661028096 + }, + { + "condition": "surface_code_bZ_d5_r09_center_5_5", + "shots": 19880, + "reused_training_rows": 4096, + "new_rows": 15784, + "seconds": 18.780335664749146, + "elapsed": 590.304051399231, + "peak_gpu_bytes": 58661028096 + }, + { + "condition": "surface_code_bX_d5_r07_center_5_5", + "shots": 19880, + "reused_training_rows": 4096, + "new_rows": 15784, + "seconds": 14.346807956695557, + "elapsed": 604.8041462898254, + "peak_gpu_bytes": 58661028096 + }, + { + "condition": "surface_code_bZ_d5_r07_center_5_5", + "shots": 19880, + "reused_training_rows": 4096, + "new_rows": 15784, + "seconds": 14.03441047668457, + "elapsed": 618.9537570476532, + "peak_gpu_bytes": 58661028096 + }, + { + "condition": "surface_code_bX_d5_r05_center_5_5", + "shots": 19880, + "reused_training_rows": 4096, + "new_rows": 15784, + "seconds": 10.811666488647461, + "elapsed": 629.8610434532166, + "peak_gpu_bytes": 58661028096 + }, + { + "condition": "surface_code_bZ_d5_r05_center_5_5", + "shots": 19880, + "reused_training_rows": 4096, + "new_rows": 15784, + "seconds": 10.982703924179077, + "elapsed": 640.9919559955597, + "peak_gpu_bytes": 58661028096 + }, + { + "condition": "surface_code_bX_d5_r03_center_5_5", + "shots": 19880, + "reused_training_rows": 4096, + "new_rows": 15784, + "seconds": 7.846271991729736, + "elapsed": 648.9624857902527, + "peak_gpu_bytes": 58661028096 + }, + { + "condition": "surface_code_bZ_d5_r03_center_5_5", + "shots": 19880, + "reused_training_rows": 4096, + "new_rows": 15784, + "seconds": 7.83586859703064, + "elapsed": 656.9065537452698, + "peak_gpu_bytes": 58661028096 + }, + { + "condition": "surface_code_bX_d5_r01_center_5_5", + "shots": 19880, + "reused_training_rows": 4096, + "new_rows": 15784, + "seconds": 0.7685718536376953, + "elapsed": 657.7747800350189, + "peak_gpu_bytes": 58661028096 + }, + { + "condition": "surface_code_bZ_d5_r01_center_5_5", + "shots": 19880, + "reused_training_rows": 4096, + "new_rows": 15784, + "seconds": 0.748960018157959, + "elapsed": 658.5666444301605, + "peak_gpu_bytes": 58661028096 + } + ], + "test_data_used": false + }, + "training_shots": 516880, + "training_pool_interpretation": "Eligible training rows; optimizer samples conditions and rows with replacement. Distinct rows used in this phase are recorded separately.", + "unique_training_rows_seen_in_this_phase": 507282, + "unique_rows_by_condition": { + "surface_code_bX_d5_r01_center_5_5": 19592, + "surface_code_bX_d5_r03_center_5_5": 19646, + "surface_code_bX_d5_r05_center_5_5": 19513, + "surface_code_bX_d5_r07_center_5_5": 19341, + "surface_code_bX_d5_r09_center_5_5": 19211, + "surface_code_bX_d5_r11_center_5_5": 19239, + "surface_code_bX_d5_r13_center_5_5": 19679, + "surface_code_bX_d5_r15_center_5_5": 19455, + "surface_code_bX_d5_r17_center_5_5": 19479, + "surface_code_bX_d5_r19_center_5_5": 19479, + "surface_code_bX_d5_r21_center_5_5": 19551, + "surface_code_bX_d5_r23_center_5_5": 19586, + "surface_code_bX_d5_r25_center_5_5": 19526, + "surface_code_bZ_d5_r01_center_5_5": 19652, + "surface_code_bZ_d5_r03_center_5_5": 19732, + "surface_code_bZ_d5_r05_center_5_5": 19754, + "surface_code_bZ_d5_r07_center_5_5": 19194, + "surface_code_bZ_d5_r09_center_5_5": 19641, + "surface_code_bZ_d5_r11_center_5_5": 19611, + "surface_code_bZ_d5_r13_center_5_5": 19424, + "surface_code_bZ_d5_r15_center_5_5": 19380, + "surface_code_bZ_d5_r17_center_5_5": 19384, + "surface_code_bZ_d5_r19_center_5_5": 19684, + "surface_code_bZ_d5_r21_center_5_5": 19559, + "surface_code_bZ_d5_r23_center_5_5": 19524, + "surface_code_bZ_d5_r25_center_5_5": 19446 + }, + "gradient_block_size": 32, + "bucket_operations": true, + "accumulate_conditions": 1, + "effective_batch_size": 1024, + "uncertainty_weight_floor": 1.0, + "example_weighting": "Uniform BCE", + "loss": "Conditional logical binary cross entropy, differentiated through exact relevant-CSS contraction; physical CSS feedback prior held fixed", + "steps": 2048, + "batch": 1024, + "learning_rate": 0.0005, + "sampling_seed": 20261113, + "optimizer": "AdamW, weight decay 1e-4, global gradient norm clip 1", + "optimizer_restored": true, + "rng_restored": true, + "sampling_state_source": "/run-state/workspace/research/learned_d5/feedback3_pilot/rng-768.json", + "starting_checkpoint": "/run-state/workspace/research/learned_d5/feedback3_pilot/weights-768.npz", + "starting_checkpoint_sha256": "bc2ba1c529317ce1b5b661efae4707eca49c6995d6f22b04193fe7642662fed8", + "starting_training_provenance": { + "initialization": "All parameters initialized in this session: variance-scaled normal hidden layers, Normal(0,.001) output weights, zero biases, seed 20261108", + "prior_pass": 3, + "initial_seed": 20261108, + "architecture": "Two 64-unit SiLU layers; 394 features; bounded 2*tanh correction to relevant-CSS edge logits from the recorded physical feedback pass; exact width-14 contraction predicts logical probability. D5 joint conditioning remains approximate.", + "training": "4096 training shots per each of all 26 d5 conditions, sampled without replacement with seed 20261023. Uniform condition and within-condition sampling for optimizer batches.", + "loss": "Conditional logical binary cross entropy, differentiated through exact relevant-CSS contraction; physical CSS feedback prior held fixed", + "steps": 1024, + "batch": 256, + "learning_rate": 0.001, + "sampling_seed": 20261108, + "optimizer": "AdamW, weight decay 1e-4, global gradient norm clip 1", + "optimizer_restored": false, + "starting_checkpoint": null, + "validation": "Uniform subset per all 26 conditions, sample seed 20261102; full validation required before publication", + "validation_shots_per_condition": 1024, + "test_data_used": false, + "records": [ + { + "step": 1, + "loss": 0.011146659031510353, + "error": 0.00390625, + "gradient_norm": 0.011240893043577671, + "elapsed": 21.276997089385986 + }, + { + "step": 16, + "loss": 0.645737886428833, + "error": 0.40625, + "gradient_norm": 0.1628236621618271, + "elapsed": 25.872907638549805 + }, + { + "step": 32, + "loss": 0.574029803276062, + "error": 0.35546875, + "gradient_norm": 0.3000081777572632, + "elapsed": 30.761418342590332 + }, + { + "step": 48, + "loss": 0.574467122554779, + "error": 0.296875, + "gradient_norm": 0.24150623381137848, + "elapsed": 35.67650651931763 + }, + { + "step": 64, + "loss": 0.6003620624542236, + "error": 0.35546875, + "gradient_norm": 0.07430054992437363, + "elapsed": 40.60572576522827 + }, + { + "step": 80, + "loss": 0.5429091453552246, + "error": 0.33203125, + "gradient_norm": 0.15341751277446747, + "elapsed": 45.546849727630615 + }, + { + "step": 96, + "loss": 0.368771493434906, + "error": 0.1640625, + "gradient_norm": 0.08923184871673584, + "elapsed": 50.49156332015991 + }, + { + "step": 112, + "loss": 0.516342043876648, + "error": 0.265625, + "gradient_norm": 0.10965219140052795, + "elapsed": 55.45058846473694 + }, + { + "step": 128, + "loss": 0.5925382971763611, + "error": 0.37109375, + "gradient_norm": 0.055406324565410614, + "elapsed": 60.40891766548157 + }, + { + "step": 144, + "loss": 0.19184258580207825, + "error": 0.07421875, + "gradient_norm": 0.07042146474123001, + "elapsed": 65.33323669433594 + }, + { + "step": 160, + "loss": 0.5202382206916809, + "error": 0.25390625, + "gradient_norm": 0.14782382547855377, + "elapsed": 70.26605796813965 + }, + { + "step": 176, + "loss": 0.46083134412765503, + "error": 0.22265625, + "gradient_norm": 0.09074779599905014, + "elapsed": 75.18221640586853 + }, + { + "step": 192, + "loss": 0.3054918646812439, + "error": 0.14453125, + "gradient_norm": 0.0588168129324913, + "elapsed": 80.1186010837555 + }, + { + "step": 208, + "loss": 0.4836011230945587, + "error": 0.27734375, + "gradient_norm": 0.09208947420120239, + "elapsed": 85.05764293670654 + }, + { + "step": 224, + "loss": 0.6640600562095642, + "error": 0.38671875, + "gradient_norm": 0.22026506066322327, + "elapsed": 89.98808217048645 + }, + { + "step": 240, + "loss": 0.02421322464942932, + "error": 0.00390625, + "gradient_norm": 0.008131005801260471, + "elapsed": 94.90194272994995 + }, + { + "step": 256, + "loss": 0.6302106976509094, + "error": 0.4296875, + "gradient_norm": 0.09762304276227951, + "elapsed": 99.82612204551697 + }, + { + "step": 272, + "loss": 0.5092596411705017, + "error": 0.27734375, + "gradient_norm": 0.11407691985368729, + "elapsed": 110.44065999984741 + }, + { + "step": 288, + "loss": 0.452798455953598, + "error": 0.2265625, + "gradient_norm": 0.1105576679110527, + "elapsed": 115.36984539031982 + }, + { + "step": 304, + "loss": 0.3378596305847168, + "error": 0.18359375, + "gradient_norm": 0.0841713547706604, + "elapsed": 120.29337763786316 + }, + { + "step": 320, + "loss": 0.6271854639053345, + "error": 0.38671875, + "gradient_norm": 0.1972702294588089, + "elapsed": 125.2231035232544 + }, + { + "step": 336, + "loss": 0.04562236741185188, + "error": 0.01171875, + "gradient_norm": 0.027922745794057846, + "elapsed": 130.14725255966187 + }, + { + "step": 352, + "loss": 0.5342530608177185, + "error": 0.26953125, + "gradient_norm": 0.09031179547309875, + "elapsed": 135.08111095428467 + }, + { + "step": 368, + "loss": 0.49785488843917847, + "error": 0.2578125, + "gradient_norm": 0.19366280734539032, + "elapsed": 140.00699138641357 + }, + { + "step": 384, + "loss": 0.5673326253890991, + "error": 0.30859375, + "gradient_norm": 0.20644932985305786, + "elapsed": 144.92276740074158 + }, + { + "step": 400, + "loss": 0.5581298470497131, + "error": 0.3203125, + "gradient_norm": 0.17668266594409943, + "elapsed": 149.86573243141174 + }, + { + "step": 416, + "loss": 0.5564071536064148, + "error": 0.30078125, + "gradient_norm": 0.0821610689163208, + "elapsed": 154.7953712940216 + }, + { + "step": 432, + "loss": 0.5540086030960083, + "error": 0.34765625, + "gradient_norm": 0.1438807100057602, + "elapsed": 159.72657418251038 + }, + { + "step": 448, + "loss": 0.540939450263977, + "error": 0.29296875, + "gradient_norm": 0.17986361682415009, + "elapsed": 164.6689453125 + }, + { + "step": 464, + "loss": 0.45807865262031555, + "error": 0.25, + "gradient_norm": 0.14453186094760895, + "elapsed": 169.58739304542542 + }, + { + "step": 480, + "loss": 0.5191650390625, + "error": 0.22265625, + "gradient_norm": 0.07955105602741241, + "elapsed": 174.5444438457489 + }, + { + "step": 496, + "loss": 0.1692925989627838, + "error": 0.0703125, + "gradient_norm": 0.07875128090381622, + "elapsed": 179.48035550117493 + }, + { + "step": 512, + "loss": 0.5580664873123169, + "error": 0.3125, + "gradient_norm": 0.27090802788734436, + "elapsed": 184.42834162712097 + }, + { + "step": 528, + "loss": 0.26402050256729126, + "error": 0.13671875, + "gradient_norm": 0.13135771453380585, + "elapsed": 195.17691040039062 + }, + { + "step": 544, + "loss": 0.4352915287017822, + "error": 0.1953125, + "gradient_norm": 0.15959712862968445, + "elapsed": 200.0421543121338 + }, + { + "step": 560, + "loss": 0.22861814498901367, + "error": 0.1015625, + "gradient_norm": 0.08776932209730148, + "elapsed": 204.95144605636597 + }, + { + "step": 576, + "loss": 0.28309381008148193, + "error": 0.1328125, + "gradient_norm": 0.11050742119550705, + "elapsed": 209.8526291847229 + }, + { + "step": 592, + "loss": 0.6409220695495605, + "error": 0.41015625, + "gradient_norm": 0.19826626777648926, + "elapsed": 214.84447717666626 + }, + { + "step": 608, + "loss": 0.25090643763542175, + "error": 0.109375, + "gradient_norm": 0.05864342302083969, + "elapsed": 219.72637391090393 + }, + { + "step": 624, + "loss": 0.11423969268798828, + "error": 0.05078125, + "gradient_norm": 0.05318564549088478, + "elapsed": 224.6331377029419 + }, + { + "step": 640, + "loss": 0.32663431763648987, + "error": 0.1328125, + "gradient_norm": 0.06877780705690384, + "elapsed": 229.5065622329712 + }, + { + "step": 656, + "loss": 0.24196995794773102, + "error": 0.10546875, + "gradient_norm": 0.07683655619621277, + "elapsed": 234.4042534828186 + }, + { + "step": 672, + "loss": 0.5349344611167908, + "error": 0.296875, + "gradient_norm": 0.15214307606220245, + "elapsed": 239.26656579971313 + }, + { + "step": 688, + "loss": 0.26759713888168335, + "error": 0.1171875, + "gradient_norm": 0.14698348939418793, + "elapsed": 244.21049737930298 + }, + { + "step": 704, + "loss": 0.37338894605636597, + "error": 0.18359375, + "gradient_norm": 0.10210632532835007, + "elapsed": 249.13519072532654 + }, + { + "step": 720, + "loss": 0.36807945370674133, + "error": 0.17578125, + "gradient_norm": 0.09668388962745667, + "elapsed": 254.06281065940857 + }, + { + "step": 736, + "loss": 0.3736685514450073, + "error": 0.15625, + "gradient_norm": 0.10987236350774765, + "elapsed": 259.01695108413696 + }, + { + "step": 752, + "loss": 0.5266942977905273, + "error": 0.29296875, + "gradient_norm": 0.09041415899991989, + "elapsed": 263.9530746936798 + }, + { + "step": 768, + "loss": 0.360038161277771, + "error": 0.1640625, + "gradient_norm": 0.10391079634428024, + "elapsed": 268.9019305706024 + }, + { + "step": 784, + "loss": 0.5700286626815796, + "error": 0.34375, + "gradient_norm": 0.12206032127141953, + "elapsed": 279.4174163341522 + }, + { + "step": 800, + "loss": 0.42533689737319946, + "error": 0.20703125, + "gradient_norm": 0.06605375558137894, + "elapsed": 284.3391351699829 + }, + { + "step": 816, + "loss": 0.12355346977710724, + "error": 0.046875, + "gradient_norm": 0.06571663916110992, + "elapsed": 289.2815272808075 + }, + { + "step": 832, + "loss": 0.6411258578300476, + "error": 0.3984375, + "gradient_norm": 0.160088911652565, + "elapsed": 294.2048614025116 + }, + { + "step": 848, + "loss": 0.5756919980049133, + "error": 0.3515625, + "gradient_norm": 0.0962308868765831, + "elapsed": 299.15635418891907 + }, + { + "step": 864, + "loss": 0.2706402540206909, + "error": 0.1171875, + "gradient_norm": 0.11391306668519974, + "elapsed": 304.09321761131287 + }, + { + "step": 880, + "loss": 0.33621329069137573, + "error": 0.1640625, + "gradient_norm": 0.09049320220947266, + "elapsed": 309.0412187576294 + }, + { + "step": 896, + "loss": 0.44343245029449463, + "error": 0.23828125, + "gradient_norm": 0.12484703958034515, + "elapsed": 313.98498797416687 + }, + { + "step": 912, + "loss": 0.5987736582756042, + "error": 0.359375, + "gradient_norm": 0.07541236281394958, + "elapsed": 318.9334623813629 + }, + { + "step": 928, + "loss": 0.38585522770881653, + "error": 0.1875, + "gradient_norm": 0.09290861338376999, + "elapsed": 323.86884689331055 + }, + { + "step": 944, + "loss": 0.4820440113544464, + "error": 0.234375, + "gradient_norm": 0.22198310494422913, + "elapsed": 328.7963180541992 + }, + { + "step": 960, + "loss": 0.07455944269895554, + "error": 0.015625, + "gradient_norm": 0.055282026529312134, + "elapsed": 333.75238251686096 + }, + { + "step": 976, + "loss": 0.013475366868078709, + "error": 0.0078125, + "gradient_norm": 0.009843004867434502, + "elapsed": 338.6403331756592 + }, + { + "step": 992, + "loss": 0.4429199695587158, + "error": 0.2265625, + "gradient_norm": 0.09489083290100098, + "elapsed": 343.5606532096863 + }, + { + "step": 1008, + "loss": 0.4892328381538391, + "error": 0.234375, + "gradient_norm": 0.1342826634645462, + "elapsed": 348.5243353843689 + }, + { + "step": 1024, + "loss": 0.6096819043159485, + "error": 0.32421875, + "gradient_norm": 0.17938998341560364, + "elapsed": 353.36506962776184 + } + ] + }, + "validation": "Uniform subset per all 26 conditions, sample seed 20261102; full validation required before publication", + "validation_shots_per_condition": 1024, + "test_data_used": false, + "records": [ + { + "step": 1, + "loss": 0.4341062307357788, + "objective": 0.4341062307357788, + "error": 0.208984375, + "gradient_norm": 0.07617632299661636, + "elapsed": 31.45817995071411 + }, + { + "step": 16, + "loss": 0.5996706485748291, + "objective": 0.5996706485748291, + "error": 0.359375, + "gradient_norm": 0.05249844491481781, + "elapsed": 56.34200572967529 + }, + { + "step": 32, + "loss": 0.4388691186904907, + "objective": 0.4388691186904907, + "error": 0.2041015625, + "gradient_norm": 0.0376109778881073, + "elapsed": 67.83739852905273 + }, + { + "step": 48, + "loss": 0.5373439788818359, + "objective": 0.5373439788818359, + "error": 0.2919921875, + "gradient_norm": 0.06261218339204788, + "elapsed": 76.69065475463867 + }, + { + "step": 64, + "loss": 0.24871854484081268, + "objective": 0.24871854484081268, + "error": 0.1162109375, + "gradient_norm": 0.05284671485424042, + "elapsed": 86.3852767944336 + }, + { + "step": 80, + "loss": 0.26628297567367554, + "objective": 0.26628297567367554, + "error": 0.123046875, + "gradient_norm": 0.04054367542266846, + "elapsed": 95.77356100082397 + }, + { + "step": 96, + "loss": 0.48436349630355835, + "objective": 0.48436349630355835, + "error": 0.259765625, + "gradient_norm": 0.05399860441684723, + "elapsed": 107.06293416023254 + }, + { + "step": 112, + "loss": 0.41063767671585083, + "objective": 0.41063767671585083, + "error": 0.1943359375, + "gradient_norm": 0.043602071702480316, + "elapsed": 116.78119611740112 + }, + { + "step": 128, + "loss": 0.3990316390991211, + "objective": 0.3990316390991211, + "error": 0.1865234375, + "gradient_norm": 0.0424419641494751, + "elapsed": 125.6915397644043 + }, + { + "step": 144, + "loss": 0.5119550228118896, + "objective": 0.5119550228118896, + "error": 0.2646484375, + "gradient_norm": 0.07688591629266739, + "elapsed": 136.20711088180542 + }, + { + "step": 160, + "loss": 0.3388235569000244, + "objective": 0.3388235569000244, + "error": 0.1630859375, + "gradient_norm": 0.07015731930732727, + "elapsed": 145.3505516052246 + }, + { + "step": 176, + "loss": 0.5952156186103821, + "objective": 0.5952156186103821, + "error": 0.3369140625, + "gradient_norm": 0.039373140782117844, + "elapsed": 154.77994871139526 + }, + { + "step": 192, + "loss": 0.15157413482666016, + "objective": 0.15157413482666016, + "error": 0.0634765625, + "gradient_norm": 0.029710670933127403, + "elapsed": 164.46801733970642 + }, + { + "step": 208, + "loss": 0.3120684027671814, + "objective": 0.3120684027671814, + "error": 0.1474609375, + "gradient_norm": 0.035548821091651917, + "elapsed": 173.24825358390808 + }, + { + "step": 224, + "loss": 0.5486405491828918, + "objective": 0.5486405491828918, + "error": 0.2900390625, + "gradient_norm": 0.0503678023815155, + "elapsed": 185.29849314689636 + }, + { + "step": 240, + "loss": 0.6046283841133118, + "objective": 0.6046283841133118, + "error": 0.3349609375, + "gradient_norm": 0.05043461173772812, + "elapsed": 197.54880928993225 + }, + { + "step": 256, + "loss": 0.5926339626312256, + "objective": 0.5926339626312256, + "error": 0.3359375, + "gradient_norm": 0.051241543143987656, + "elapsed": 211.79861068725586 + }, + { + "step": 272, + "loss": 0.4018518924713135, + "objective": 0.4018518924713135, + "error": 0.1943359375, + "gradient_norm": 0.0772147998213768, + "elapsed": 222.41974115371704 + }, + { + "step": 288, + "loss": 0.13863243162631989, + "objective": 0.13863243162631989, + "error": 0.0556640625, + "gradient_norm": 0.03334609419107437, + "elapsed": 234.04247426986694 + }, + { + "step": 304, + "loss": 0.562490701675415, + "objective": 0.562490701675415, + "error": 0.337890625, + "gradient_norm": 0.04585934057831764, + "elapsed": 242.65421533584595 + }, + { + "step": 320, + "loss": 0.5352796316146851, + "objective": 0.5352796316146851, + "error": 0.294921875, + "gradient_norm": 0.0837635025382042, + "elapsed": 252.10656356811523 + }, + { + "step": 336, + "loss": 0.26082637906074524, + "objective": 0.26082637906074524, + "error": 0.1220703125, + "gradient_norm": 0.048336997628211975, + "elapsed": 262.33449625968933 + }, + { + "step": 352, + "loss": 0.5959363579750061, + "objective": 0.5959363579750061, + "error": 0.3388671875, + "gradient_norm": 0.06797357648611069, + "elapsed": 271.9942307472229 + }, + { + "step": 368, + "loss": 0.48994284868240356, + "objective": 0.48994284868240356, + "error": 0.2587890625, + "gradient_norm": 0.06296153366565704, + "elapsed": 283.0493588447571 + }, + { + "step": 384, + "loss": 0.5710494518280029, + "objective": 0.5710494518280029, + "error": 0.3134765625, + "gradient_norm": 0.045333269983530045, + "elapsed": 294.64637446403503 + }, + { + "step": 400, + "loss": 0.5957783460617065, + "objective": 0.5957783460617065, + "error": 0.349609375, + "gradient_norm": 0.03918786719441414, + "elapsed": 307.6200888156891 + }, + { + "step": 416, + "loss": 0.27521568536758423, + "objective": 0.27521568536758423, + "error": 0.1220703125, + "gradient_norm": 0.038001637905836105, + "elapsed": 317.01610231399536 + }, + { + "step": 432, + "loss": 0.02379823848605156, + "objective": 0.02379823848605156, + "error": 0.0078125, + "gradient_norm": 0.007661945186555386, + "elapsed": 326.9360330104828 + }, + { + "step": 448, + "loss": 0.56734299659729, + "objective": 0.56734299659729, + "error": 0.3271484375, + "gradient_norm": 0.057416290044784546, + "elapsed": 339.6289041042328 + }, + { + "step": 464, + "loss": 0.10715995728969574, + "objective": 0.10715995728969574, + "error": 0.0380859375, + "gradient_norm": 0.02532491274178028, + "elapsed": 349.8584108352661 + }, + { + "step": 480, + "loss": 0.6143364310264587, + "objective": 0.6143364310264587, + "error": 0.36328125, + "gradient_norm": 0.08023032546043396, + "elapsed": 360.36362075805664 + }, + { + "step": 496, + "loss": 0.44069671630859375, + "objective": 0.44069671630859375, + "error": 0.2197265625, + "gradient_norm": 0.048025116324424744, + "elapsed": 369.48225808143616 + }, + { + "step": 512, + "loss": 0.019900165498256683, + "objective": 0.019900165498256683, + "error": 0.0107421875, + "gradient_norm": 0.0038635791279375553, + "elapsed": 378.59970593452454 + }, + { + "step": 528, + "loss": 0.033316534012556076, + "objective": 0.033316534012556076, + "error": 0.009765625, + "gradient_norm": 0.009174940176308155, + "elapsed": 393.4021761417389 + }, + { + "step": 544, + "loss": 0.41130945086479187, + "objective": 0.41130945086479187, + "error": 0.20703125, + "gradient_norm": 0.04695262759923935, + "elapsed": 402.8586280345917 + }, + { + "step": 560, + "loss": 0.5885373950004578, + "objective": 0.5885373950004578, + "error": 0.3544921875, + "gradient_norm": 0.08534500002861023, + "elapsed": 416.98661041259766 + }, + { + "step": 576, + "loss": 0.3804720640182495, + "objective": 0.3804720640182495, + "error": 0.19140625, + "gradient_norm": 0.05163278803229332, + "elapsed": 427.7550480365753 + }, + { + "step": 592, + "loss": 0.6101120710372925, + "objective": 0.6101120710372925, + "error": 0.3525390625, + "gradient_norm": 0.05593184754252434, + "elapsed": 441.05026268959045 + }, + { + "step": 608, + "loss": 0.5586092472076416, + "objective": 0.5586092472076416, + "error": 0.302734375, + "gradient_norm": 0.07458740472793579, + "elapsed": 452.95383286476135 + }, + { + "step": 624, + "loss": 0.5992780923843384, + "objective": 0.5992780923843384, + "error": 0.357421875, + "gradient_norm": 0.03618372976779938, + "elapsed": 466.1582691669464 + }, + { + "step": 640, + "loss": 0.3536975383758545, + "objective": 0.3536975383758545, + "error": 0.1650390625, + "gradient_norm": 0.05353165790438652, + "elapsed": 477.166255235672 + }, + { + "step": 656, + "loss": 0.4926893711090088, + "objective": 0.4926893711090088, + "error": 0.2626953125, + "gradient_norm": 0.05201377719640732, + "elapsed": 491.1417751312256 + }, + { + "step": 672, + "loss": 0.5754991173744202, + "objective": 0.5754991173744202, + "error": 0.3271484375, + "gradient_norm": 0.08167096972465515, + "elapsed": 501.630366563797 + }, + { + "step": 688, + "loss": 0.5685014724731445, + "objective": 0.5685014724731445, + "error": 0.333984375, + "gradient_norm": 0.043775107711553574, + "elapsed": 514.2880456447601 + }, + { + "step": 704, + "loss": 0.022465089336037636, + "objective": 0.022465089336037636, + "error": 0.0068359375, + "gradient_norm": 0.010172540321946144, + "elapsed": 522.9173214435577 + }, + { + "step": 720, + "loss": 0.035460107028484344, + "objective": 0.035460107028484344, + "error": 0.0107421875, + "gradient_norm": 0.010515578091144562, + "elapsed": 532.8470129966736 + }, + { + "step": 736, + "loss": 0.44765588641166687, + "objective": 0.44765588641166687, + "error": 0.2138671875, + "gradient_norm": 0.09050357341766357, + "elapsed": 541.9488840103149 + }, + { + "step": 752, + "loss": 0.5933939218521118, + "objective": 0.5933939218521118, + "error": 0.3359375, + "gradient_norm": 0.0665116235613823, + "elapsed": 552.9967355728149 + }, + { + "step": 768, + "loss": 0.6100764870643616, + "objective": 0.6100764870643616, + "error": 0.3515625, + "gradient_norm": 0.0821211114525795, + "elapsed": 563.7709202766418 + }, + { + "step": 784, + "loss": 0.02964692935347557, + "objective": 0.02964692935347557, + "error": 0.009765625, + "gradient_norm": 0.012663272209465504, + "elapsed": 573.1517221927643 + }, + { + "step": 800, + "loss": 0.38091832399368286, + "objective": 0.38091832399368286, + "error": 0.1904296875, + "gradient_norm": 0.060622021555900574, + "elapsed": 582.5687477588654 + }, + { + "step": 816, + "loss": 0.552335262298584, + "objective": 0.552335262298584, + "error": 0.3076171875, + "gradient_norm": 0.14419035613536835, + "elapsed": 594.4292685985565 + }, + { + "step": 832, + "loss": 0.5943340063095093, + "objective": 0.5943340063095093, + "error": 0.34375, + "gradient_norm": 0.0633513554930687, + "elapsed": 605.2052299976349 + }, + { + "step": 848, + "loss": 0.6074100732803345, + "objective": 0.6074100732803345, + "error": 0.3486328125, + "gradient_norm": 0.04225531220436096, + "elapsed": 614.8996202945709 + }, + { + "step": 864, + "loss": 0.6198879480361938, + "objective": 0.6198879480361938, + "error": 0.361328125, + "gradient_norm": 0.04208856821060181, + "elapsed": 625.4266908168793 + }, + { + "step": 880, + "loss": 0.6151762008666992, + "objective": 0.6151762008666992, + "error": 0.369140625, + "gradient_norm": 0.06261089444160461, + "elapsed": 636.0696911811829 + }, + { + "step": 896, + "loss": 0.49680083990097046, + "objective": 0.49680083990097046, + "error": 0.25390625, + "gradient_norm": 0.0827067643404007, + "elapsed": 644.6893246173859 + }, + { + "step": 912, + "loss": 0.4610927402973175, + "objective": 0.4610927402973175, + "error": 0.23828125, + "gradient_norm": 0.06652095168828964, + "elapsed": 655.969132900238 + }, + { + "step": 928, + "loss": 0.5218505859375, + "objective": 0.5218505859375, + "error": 0.2685546875, + "gradient_norm": 0.07188194245100021, + "elapsed": 667.5352523326874 + }, + { + "step": 944, + "loss": 0.33009427785873413, + "objective": 0.33009427785873413, + "error": 0.1533203125, + "gradient_norm": 0.05718810483813286, + "elapsed": 677.8397319316864 + }, + { + "step": 960, + "loss": 0.5703234672546387, + "objective": 0.5703234672546387, + "error": 0.3193359375, + "gradient_norm": 0.11168288439512253, + "elapsed": 687.8742904663086 + }, + { + "step": 976, + "loss": 0.025548014789819717, + "objective": 0.025548014789819717, + "error": 0.0107421875, + "gradient_norm": 0.009453393518924713, + "elapsed": 698.294285774231 + }, + { + "step": 992, + "loss": 0.45398157835006714, + "objective": 0.45398157835006714, + "error": 0.2412109375, + "gradient_norm": 0.04607952758669853, + "elapsed": 707.903199672699 + }, + { + "step": 1008, + "loss": 0.3412189781665802, + "objective": 0.3412189781665802, + "error": 0.1513671875, + "gradient_norm": 0.0432075597345829, + "elapsed": 718.5662748813629 + }, + { + "step": 1024, + "loss": 0.4376429319381714, + "objective": 0.4376429319381714, + "error": 0.2275390625, + "gradient_norm": 0.07974351197481155, + "elapsed": 728.8954858779907 + }, + { + "step": 1040, + "loss": 0.33512815833091736, + "objective": 0.33512815833091736, + "error": 0.150390625, + "gradient_norm": 0.04476875811815262, + "elapsed": 744.0822694301605 + }, + { + "step": 1056, + "loss": 0.5214208364486694, + "objective": 0.5214208364486694, + "error": 0.283203125, + "gradient_norm": 0.08898192644119263, + "elapsed": 755.1484262943268 + }, + { + "step": 1072, + "loss": 0.13849599659442902, + "objective": 0.13849599659442902, + "error": 0.052734375, + "gradient_norm": 0.028359953314065933, + "elapsed": 764.3303108215332 + }, + { + "step": 1088, + "loss": 0.323838472366333, + "objective": 0.323838472366333, + "error": 0.1435546875, + "gradient_norm": 0.04081716760993004, + "elapsed": 773.2739362716675 + }, + { + "step": 1104, + "loss": 0.5627881288528442, + "objective": 0.5627881288528442, + "error": 0.3125, + "gradient_norm": 0.08322097361087799, + "elapsed": 784.7223973274231 + }, + { + "step": 1120, + "loss": 0.44111010432243347, + "objective": 0.44111010432243347, + "error": 0.2216796875, + "gradient_norm": 0.05700977146625519, + "elapsed": 795.085648059845 + }, + { + "step": 1136, + "loss": 0.6395992040634155, + "objective": 0.6395992040634155, + "error": 0.39453125, + "gradient_norm": 0.0744553729891777, + "elapsed": 805.7942585945129 + }, + { + "step": 1152, + "loss": 0.5433304309844971, + "objective": 0.5433304309844971, + "error": 0.287109375, + "gradient_norm": 0.04814797267317772, + "elapsed": 817.3382890224457 + }, + { + "step": 1168, + "loss": 0.5708576440811157, + "objective": 0.5708576440811157, + "error": 0.3203125, + "gradient_norm": 0.051331400871276855, + "elapsed": 829.288791179657 + }, + { + "step": 1184, + "loss": 0.5447035431861877, + "objective": 0.5447035431861877, + "error": 0.2939453125, + "gradient_norm": 0.10116687417030334, + "elapsed": 839.6822843551636 + }, + { + "step": 1200, + "loss": 0.6125671863555908, + "objective": 0.6125671863555908, + "error": 0.3642578125, + "gradient_norm": 0.04368080571293831, + "elapsed": 850.2262740135193 + }, + { + "step": 1216, + "loss": 0.5002380609512329, + "objective": 0.5002380609512329, + "error": 0.259765625, + "gradient_norm": 0.04939017817378044, + "elapsed": 862.3783452510834 + }, + { + "step": 1232, + "loss": 0.5698772668838501, + "objective": 0.5698772668838501, + "error": 0.3173828125, + "gradient_norm": 0.04916854575276375, + "elapsed": 871.4622664451599 + }, + { + "step": 1248, + "loss": 0.6046518683433533, + "objective": 0.6046518683433533, + "error": 0.341796875, + "gradient_norm": 0.04919794574379921, + "elapsed": 883.3905737400055 + }, + { + "step": 1264, + "loss": 0.5913128852844238, + "objective": 0.5913128852844238, + "error": 0.357421875, + "gradient_norm": 0.046917904168367386, + "elapsed": 892.4264807701111 + }, + { + "step": 1280, + "loss": 0.5027461051940918, + "objective": 0.5027461051940918, + "error": 0.2626953125, + "gradient_norm": 0.04705750197172165, + "elapsed": 902.5875842571259 + }, + { + "step": 1296, + "loss": 0.13519814610481262, + "objective": 0.13519814610481262, + "error": 0.052734375, + "gradient_norm": 0.02625490538775921, + "elapsed": 912.4087471961975 + }, + { + "step": 1312, + "loss": 0.5862359404563904, + "objective": 0.5862359404563904, + "error": 0.3271484375, + "gradient_norm": 0.05441493168473244, + "elapsed": 923.992555141449 + }, + { + "step": 1328, + "loss": 0.6031408309936523, + "objective": 0.6031408309936523, + "error": 0.3505859375, + "gradient_norm": 0.05901554971933365, + "elapsed": 933.3936491012573 + }, + { + "step": 1344, + "loss": 0.5823733806610107, + "objective": 0.5823733806610107, + "error": 0.3310546875, + "gradient_norm": 0.0842989832162857, + "elapsed": 941.979998588562 + }, + { + "step": 1360, + "loss": 0.6241492033004761, + "objective": 0.6241492033004761, + "error": 0.3720703125, + "gradient_norm": 0.04446673393249512, + "elapsed": 954.969649553299 + }, + { + "step": 1376, + "loss": 0.5829156637191772, + "objective": 0.5829156637191772, + "error": 0.361328125, + "gradient_norm": 0.06615480780601501, + "elapsed": 966.0245676040649 + }, + { + "step": 1392, + "loss": 0.5968320369720459, + "objective": 0.5968320369720459, + "error": 0.34765625, + "gradient_norm": 0.05093541368842125, + "elapsed": 975.1022663116455 + }, + { + "step": 1408, + "loss": 0.045559000223875046, + "objective": 0.045559000223875046, + "error": 0.01171875, + "gradient_norm": 0.02514980360865593, + "elapsed": 987.2391452789307 + }, + { + "step": 1424, + "loss": 0.22601813077926636, + "objective": 0.22601813077926636, + "error": 0.09765625, + "gradient_norm": 0.04834206402301788, + "elapsed": 996.4583384990692 + }, + { + "step": 1440, + "loss": 0.23011144995689392, + "objective": 0.23011144995689392, + "error": 0.111328125, + "gradient_norm": 0.050687842071056366, + "elapsed": 1007.1440904140472 + }, + { + "step": 1456, + "loss": 0.018240466713905334, + "objective": 0.018240466713905334, + "error": 0.0078125, + "gradient_norm": 0.005604141391813755, + "elapsed": 1016.4502851963043 + }, + { + "step": 1472, + "loss": 0.4498720169067383, + "objective": 0.4498720169067383, + "error": 0.232421875, + "gradient_norm": 0.08179625123739243, + "elapsed": 1028.8303294181824 + }, + { + "step": 1488, + "loss": 0.24151627719402313, + "objective": 0.24151627719402313, + "error": 0.107421875, + "gradient_norm": 0.03838668763637543, + "elapsed": 1037.8867321014404 + }, + { + "step": 1504, + "loss": 0.46122002601623535, + "objective": 0.46122002601623535, + "error": 0.232421875, + "gradient_norm": 0.0726623386144638, + "elapsed": 1047.7258644104004 + }, + { + "step": 1520, + "loss": 0.5085602402687073, + "objective": 0.5085602402687073, + "error": 0.2705078125, + "gradient_norm": 0.06673175096511841, + "elapsed": 1059.352120399475 + }, + { + "step": 1536, + "loss": 0.6105246543884277, + "objective": 0.6105246543884277, + "error": 0.3818359375, + "gradient_norm": 0.04271261766552925, + "elapsed": 1070.1413230895996 + }, + { + "step": 1552, + "loss": 0.4792126417160034, + "objective": 0.4792126417160034, + "error": 0.2578125, + "gradient_norm": 0.05200039595365524, + "elapsed": 1086.444006204605 + }, + { + "step": 1568, + "loss": 0.5814266204833984, + "objective": 0.5814266204833984, + "error": 0.330078125, + "gradient_norm": 0.05867309868335724, + "elapsed": 1097.2902619838715 + }, + { + "step": 1584, + "loss": 0.6321226358413696, + "objective": 0.6321226358413696, + "error": 0.3798828125, + "gradient_norm": 0.05418067052960396, + "elapsed": 1107.9767682552338 + }, + { + "step": 1600, + "loss": 0.5931253433227539, + "objective": 0.5931253433227539, + "error": 0.3603515625, + "gradient_norm": 0.06396215409040451, + "elapsed": 1121.782609462738 + }, + { + "step": 1616, + "loss": 0.6411516666412354, + "objective": 0.6411516666412354, + "error": 0.38671875, + "gradient_norm": 0.05035768821835518, + "elapsed": 1132.7197887897491 + }, + { + "step": 1632, + "loss": 0.4267754852771759, + "objective": 0.4267754852771759, + "error": 0.2080078125, + "gradient_norm": 0.09109894186258316, + "elapsed": 1139.1667578220367 + }, + { + "step": 1648, + "loss": 0.21246182918548584, + "objective": 0.21246182918548584, + "error": 0.095703125, + "gradient_norm": 0.04478950425982475, + "elapsed": 1149.1183021068573 + }, + { + "step": 1664, + "loss": 0.46360665559768677, + "objective": 0.46360665559768677, + "error": 0.251953125, + "gradient_norm": 0.07668188214302063, + "elapsed": 1161.1197745800018 + }, + { + "step": 1680, + "loss": 0.46281397342681885, + "objective": 0.46281397342681885, + "error": 0.236328125, + "gradient_norm": 0.07954126596450806, + "elapsed": 1171.8474535942078 + }, + { + "step": 1696, + "loss": 0.2484058141708374, + "objective": 0.2484058141708374, + "error": 0.12109375, + "gradient_norm": 0.047261305153369904, + "elapsed": 1185.6542596817017 + }, + { + "step": 1712, + "loss": 0.24310235679149628, + "objective": 0.24310235679149628, + "error": 0.1064453125, + "gradient_norm": 0.07262872904539108, + "elapsed": 1197.8986082077026 + }, + { + "step": 1728, + "loss": 0.009729458019137383, + "objective": 0.009729458019137383, + "error": 0.001953125, + "gradient_norm": 0.01146845705807209, + "elapsed": 1208.495581150055 + }, + { + "step": 1744, + "loss": 0.24568752944469452, + "objective": 0.24568752944469452, + "error": 0.10546875, + "gradient_norm": 0.05830742046236992, + "elapsed": 1219.9394850730896 + }, + { + "step": 1760, + "loss": 0.022546378895640373, + "objective": 0.022546378895640373, + "error": 0.0068359375, + "gradient_norm": 0.007667526602745056, + "elapsed": 1229.5703229904175 + }, + { + "step": 1776, + "loss": 0.5848401784896851, + "objective": 0.5848401784896851, + "error": 0.3271484375, + "gradient_norm": 0.061901818960905075, + "elapsed": 1238.750280380249 + }, + { + "step": 1792, + "loss": 0.6031335592269897, + "objective": 0.6031335592269897, + "error": 0.3671875, + "gradient_norm": 0.0676632970571518, + "elapsed": 1247.7468683719635 + }, + { + "step": 1808, + "loss": 0.6210961937904358, + "objective": 0.6210961937904358, + "error": 0.3603515625, + "gradient_norm": 0.0718468651175499, + "elapsed": 1256.1821897029877 + }, + { + "step": 1824, + "loss": 0.570877730846405, + "objective": 0.570877730846405, + "error": 0.3212890625, + "gradient_norm": 0.05575930327177048, + "elapsed": 1266.4091975688934 + }, + { + "step": 1840, + "loss": 0.5711429119110107, + "objective": 0.5711429119110107, + "error": 0.31640625, + "gradient_norm": 0.0691002607345581, + "elapsed": 1277.4722146987915 + }, + { + "step": 1856, + "loss": 0.36046335101127625, + "objective": 0.36046335101127625, + "error": 0.16796875, + "gradient_norm": 0.04694395884871483, + "elapsed": 1287.1420249938965 + }, + { + "step": 1872, + "loss": 0.4688999652862549, + "objective": 0.4688999652862549, + "error": 0.2216796875, + "gradient_norm": 0.07401346415281296, + "elapsed": 1297.3945078849792 + }, + { + "step": 1888, + "loss": 0.46385282278060913, + "objective": 0.46385282278060913, + "error": 0.2373046875, + "gradient_norm": 0.05608939751982689, + "elapsed": 1305.9779334068298 + }, + { + "step": 1904, + "loss": 0.60875403881073, + "objective": 0.60875403881073, + "error": 0.365234375, + "gradient_norm": 0.05085878074169159, + "elapsed": 1317.3097081184387 + }, + { + "step": 1920, + "loss": 0.12223530560731888, + "objective": 0.12223530560731888, + "error": 0.0458984375, + "gradient_norm": 0.024870412424206734, + "elapsed": 1328.6486887931824 + }, + { + "step": 1936, + "loss": 0.3486189544200897, + "objective": 0.3486189544200897, + "error": 0.16796875, + "gradient_norm": 0.04780663549900055, + "elapsed": 1336.6701011657715 + }, + { + "step": 1952, + "loss": 0.5777363777160645, + "objective": 0.5777363777160645, + "error": 0.3427734375, + "gradient_norm": 0.0571451336145401, + "elapsed": 1346.9158833026886 + }, + { + "step": 1968, + "loss": 0.39320266246795654, + "objective": 0.39320266246795654, + "error": 0.1884765625, + "gradient_norm": 0.05673858895897865, + "elapsed": 1354.9182631969452 + }, + { + "step": 1984, + "loss": 0.5900611281394958, + "objective": 0.5900611281394958, + "error": 0.3349609375, + "gradient_norm": 0.06593932211399078, + "elapsed": 1364.2754452228546 + }, + { + "step": 2000, + "loss": 0.6212430000305176, + "objective": 0.6212430000305176, + "error": 0.3857421875, + "gradient_norm": 0.040818918496370316, + "elapsed": 1374.7192046642303 + }, + { + "step": 2016, + "loss": 0.15605247020721436, + "objective": 0.15605247020721436, + "error": 0.0556640625, + "gradient_norm": 0.03108786791563034, + "elapsed": 1386.2740807533264 + }, + { + "step": 2032, + "loss": 0.22049596905708313, + "objective": 0.22049596905708313, + "error": 0.1015625, + "gradient_norm": 0.042733557522296906, + "elapsed": 1396.6422457695007 + }, + { + "step": 2048, + "loss": 0.5642613172531128, + "objective": 0.5642613172531128, + "error": 0.306640625, + "gradient_norm": 0.07527482509613037, + "elapsed": 1407.6688070297241 + } + ] + }, + "training_source_snapshot": "training_sources/full3_1", + "selection": "Minimum full-validation condition-mean failure per basis group over incumbent, listed neural checkpoints and equal probability averages with the recorded physical decoder.", + "physical_prediction_reference": "/run-state/workspace/research/context_upgrades/turbo1/predictions", + "prior_pass": 3, + "history": [ + { + "group": "d5_bX_center_5_5", + "candidates": { + "incumbent": 0.2338341346153846, + "512": 0.2336688701923077, + "blend-512": 0.23399939903846154, + "1024": 0.23329326923076923, + "blend-1024": 0.23342848557692306, + "1536": 0.2330679086538462, + "blend-1536": 0.23291766826923077, + "2048": 0.2335186298076923, + "blend-2048": 0.23290264423076928 + }, + "selected": "blend-2048" + }, + { + "group": "d5_bZ_center_5_5", + "candidates": { + "incumbent": 0.22182992788461542, + "512": 0.22143930288461539, + "blend-512": 0.22125901442307694, + "1024": 0.22104867788461538, + "blend-1024": 0.22079326923076922, + "1536": 0.22017728365384615, + "blend-1536": 0.22095853365384618, + "2048": 0.22076322115384617, + "blend-2048": 0.22025240384615385 + }, + "selected": "1536" + } + ], + "checkpoints": { + "2048": { + "step": 2048, + "training_samples": 2097152, + "unique_training_rows_seen_in_this_phase": 507282, + "weights_sha256": "b93c1367dfeb0e32b2add76b1abeb3f12d4d9f8145d0f13d8d5b17ca882ba3b5", + "complete": true + }, + "1536": { + "step": 1536, + "training_samples": 1572864, + "unique_training_rows_seen_in_this_phase": 490266, + "weights_sha256": "fb250c19cf7bb00741b6d862b8f646a2c8ab88397bb03c7bafc9085f9347eca5", + "complete": true + } + }, + "runtime": "Share physical priors when the conditioning pass and regime agree; otherwise recompute the neural prior independently. Last-only physical branches omit logical tracking in intermediate passes when intermediate probabilities are unused.", + "last_only_equivalence_controls": [ + { + "condition": "surface_code_bX_d5_r03_center_5_5", + "maximum_probability_difference": 7.450580596923828e-07 + }, + { + "condition": "surface_code_bZ_d5_r03_center_5_5", + "maximum_probability_difference": 5.960464477539063e-08 + }, + { + "condition": "surface_code_bX_d5_r25_center_5_5", + "maximum_probability_difference": 5.960464477539063e-08 + }, + { + "condition": "surface_code_bZ_d5_r25_center_5_5", + "maximum_probability_difference": 1.7881393432617188e-07 + } + ], + "test_data_used": false, + "numerical_controls": { + "gpu_gradient_control.json": { + "condition": "surface_code_bZ_d5_r25_center_5_5", + "data": "First1024 rows of the authorized4096 training sample; no validation labels", + "weights": "Random scratch parameters, seed20261112; gradients only, no parameter update", + "block_size": 32, + "records": [ + { + "batch": 256, + "seconds_per_gradient": 0.38611968358357746, + "shots_per_second": 663.0068625977924, + "memory_stats": { + "num_allocs": 694, + "bytes_in_use": 306432, + "peak_bytes_in_use": 3054084608, + "largest_alloc_size": 3047267584, + "bytes_limit": 76526240993, + "bytes_reserved": 0, + "peak_bytes_reserved": 0, + "largest_free_block_bytes": 0, + "pool_bytes": 76526240768, + "peak_pool_bytes": 76526240768 + } + }, + { + "batch": 512, + "seconds_per_gradient": 0.6622018814086914, + "shots_per_second": 773.178111350017, + "memory_stats": { + "num_allocs": 1332, + "bytes_in_use": 308480, + "peak_bytes_in_use": 6079704832, + "largest_alloc_size": 6069432576, + "bytes_limit": 76526240993, + "bytes_reserved": 0, + "peak_bytes_reserved": 0, + "largest_free_block_bytes": 0, + "pool_bytes": 76526240768, + "peak_pool_bytes": 76526240768 + } + }, + { + "batch": 1024, + "seconds_per_gradient": 1.117707888285319, + "shots_per_second": 916.1606630252231, + "memory_stats": { + "num_allocs": 1970, + "bytes_in_use": 312576, + "peak_bytes_in_use": 12138994176, + "largest_alloc_size": 12122019840, + "bytes_limit": 76526240993, + "bytes_reserved": 0, + "peak_bytes_reserved": 0, + "largest_free_block_bytes": 0, + "pool_bytes": 76526240768, + "peak_pool_bytes": 76526240768 + } + } + ], + "original_gradient_gpu_control": { + "loss_max_difference": 1.6689300537109375e-06, + "prediction_max_difference": 1.0132789611816406e-06, + "neural_gradient_relative_difference": 5.505155786522664e-05, + "float64_precision_audit": "/run-state/workspace/research/learned_d5/full3_1/gpu_gradient_precision.json", + "tolerance_rationale": "Original3e-5 GPU gradient threshold failed at5.51e-5. Independent float64 audits of both float32 algorithms across six X/Z durations found comparable relative rounding errors up to5.72e-5, with probability errors below6.2e-7. Use1e-4 relative for this accumulated derivative." + } + }, + "gpu_gradient_precision.json": { + "data": "First16 supplied training rows per listed condition; no parameter updates", + "weights": "full3_1/weights-1536.npz", + "reference": "Original unblocked algorithm in float64, fixed float32 neural edge probabilities", + "source_sha256": { + "gradient.py": "ecb6b45698480386fa124fe878db7dbfa246d1969fd720ec26daff9547da2001", + "checkpoint_gradient.py": "7ece6b3f45e009727fd104a3d39e2816a8c3437f737c3d98131d3a5d7d60e9b8" + }, + "initial_gpu_control_failure": { + "relative_neural_gradient_difference": 5.505155786522664e-05, + "original_tolerance": 3e-05, + "maximum_loss_difference": 1.6689300537109375e-06, + "maximum_prediction_difference": 1.0132789611816406e-06 + }, + "records": [ + { + "condition": "surface_code_bX_d5_r03_center_5_5", + "training_rows": 16, + "reference_neural_gradient_norm": 0.30205945019442737, + "unblocked_float32": { + "maximum_loss_error": 2.966804864001915e-07, + "maximum_probability_error": 9.592670685565352e-08, + "neural_gradient_maximum_absolute_error": 1.6391277313232422e-07, + "neural_gradient_relative_error": 3.6604459916077934e-06, + "neural_gradient_cosine": 0.9999999999933656 + }, + "blocked_float32": { + "maximum_loss_error": 1.7747119684941026e-07, + "maximum_probability_error": 8.879568846875685e-08, + "neural_gradient_maximum_absolute_error": 1.7881393432617188e-07, + "neural_gradient_relative_error": 4.366049097416422e-06, + "neural_gradient_cosine": 0.9999999999904692 + } + }, + { + "condition": "surface_code_bZ_d5_r03_center_5_5", + "training_rows": 16, + "reference_neural_gradient_norm": 0.22069588396473294, + "unblocked_float32": { + "maximum_loss_error": 5.498523059088711e-07, + "maximum_probability_error": 9.703680636796719e-08, + "neural_gradient_maximum_absolute_error": 6.686605047434568e-08, + "neural_gradient_relative_error": 2.392500410145668e-06, + "neural_gradient_cosine": 0.999999999997144 + }, + "blocked_float32": { + "maximum_loss_error": 8.745212829311194e-08, + "maximum_probability_error": 6.418482079162402e-08, + "neural_gradient_maximum_absolute_error": 6.705522537231445e-08, + "neural_gradient_relative_error": 1.7739189351699108e-06, + "neural_gradient_cosine": 0.9999999999984265 + } + }, + { + "condition": "surface_code_bX_d5_r13_center_5_5", + "training_rows": 16, + "reference_neural_gradient_norm": 0.4664494516878606, + "unblocked_float32": { + "maximum_loss_error": 3.922858555771569e-07, + "maximum_probability_error": 2.581999101192167e-07, + "neural_gradient_maximum_absolute_error": 1.7015263438224792e-06, + "neural_gradient_relative_error": 2.234804892316077e-05, + "neural_gradient_cosine": 0.9999999997509151 + }, + "blocked_float32": { + "maximum_loss_error": 3.3479861938356947e-07, + "maximum_probability_error": 1.4954284288659636e-07, + "neural_gradient_maximum_absolute_error": 1.6633421182632446e-06, + "neural_gradient_relative_error": 2.4167285966292737e-05, + "neural_gradient_cosine": 0.9999999997089409 + } + }, + { + "condition": "surface_code_bZ_d5_r13_center_5_5", + "training_rows": 16, + "reference_neural_gradient_norm": 0.438354906018253, + "unblocked_float32": { + "maximum_loss_error": 6.361644384611509e-07, + "maximum_probability_error": 3.6173952677742705e-07, + "neural_gradient_maximum_absolute_error": 1.9436702132225037e-06, + "neural_gradient_relative_error": 5.252014500992631e-05, + "neural_gradient_cosine": 0.9999999986254251 + }, + "blocked_float32": { + "maximum_loss_error": 5.060161181180689e-07, + "maximum_probability_error": 2.589724067414423e-07, + "neural_gradient_maximum_absolute_error": 1.946929842233658e-06, + "neural_gradient_relative_error": 5.71756656511251e-05, + "neural_gradient_cosine": 0.999999998372327 + } + }, + { + "condition": "surface_code_bX_d5_r25_center_5_5", + "training_rows": 16, + "reference_neural_gradient_norm": 0.3057787329709659, + "unblocked_float32": { + "maximum_loss_error": 6.74491174690317e-07, + "maximum_probability_error": 4.3885854938974234e-07, + "neural_gradient_maximum_absolute_error": 8.174683898687363e-07, + "neural_gradient_relative_error": 4.090547224844183e-05, + "neural_gradient_cosine": 0.9999999991633716 + }, + "blocked_float32": { + "maximum_loss_error": 6.643292806973733e-07, + "maximum_probability_error": 4.835620329712853e-07, + "neural_gradient_maximum_absolute_error": 1.1210795491933823e-06, + "neural_gradient_relative_error": 5.584921905818847e-05, + "neural_gradient_cosine": 0.9999999984491473 + } + }, + { + "condition": "surface_code_bZ_d5_r25_center_5_5", + "training_rows": 16, + "reference_neural_gradient_norm": 0.2501411033127809, + "unblocked_float32": { + "maximum_loss_error": 1.167099820564843e-06, + "maximum_probability_error": 4.921027032533942e-07, + "neural_gradient_maximum_absolute_error": 7.14324414730072e-07, + "neural_gradient_relative_error": 4.528117886548381e-05, + "neural_gradient_cosine": 0.9999999989770499 + }, + "blocked_float32": { + "maximum_loss_error": 1.4055183996664056e-06, + "maximum_probability_error": 6.113119928041755e-07, + "neural_gradient_maximum_absolute_error": 7.075723260641098e-07, + "neural_gradient_relative_error": 5.112087336342683e-05, + "neural_gradient_cosine": 0.9999999986947755 + } + } + ], + "status": "passed" + } + } + }, + { + "training": { + "initialization": "Uniform parameter averages of checkpoints from the same session-initialized training trajectory; no external weights", + "prior_pass": 3, + "architecture": "Two 64-unit SiLU layers; 394 features; bounded 2*tanh correction to relevant-CSS edge logits from the recorded physical feedback pass; exact width-14 contraction predicts logical probability. D5 joint conditioning remains approximate.", + "hidden_width": 64, + "training": "No new optimizer updates; all learning comes from the recorded source trajectory and its session-trained parent", + "optimizer_updates_in_derived_run": 0, + "source_training_provenance": { + "initialization": "Continue from the recorded session-trained checkpoint; original random initialization seed 20261108", + "prior_pass": 3, + "initial_seed": 20261108, + "training_source_sha256": { + "learned_d5__train.py": "b73af9da21332dee9a43f653b514695b020fbc3516604b2e721d8cf0ea876d53", + "learned_d5__data.py": "9e3bcfe9d45f6af60b86a580cdc9374043758a1a6f10564aef9eb344f7a6b364", + "learned_d5__model.py": "5e9420df1f6dd56518925e910096fb9bc93bd796a5933b13bf894a1a96256cdf", + "learned_exact__gradient.py": "ecb6b45698480386fa124fe878db7dbfa246d1969fd720ec26daff9547da2001", + "learned_exact__checkpoint_gradient.py": "7ece6b3f45e009727fd104a3d39e2816a8c3437f737c3d98131d3a5d7d60e9b8", + "exact_d3__exact.py": "869dfacb295c419c156d1070fc2afdd6e20d02ac1840e45e72346b2b289f4825" + }, + "runtime_versions": { + "jax": "0.7.2", + "numpy": "2.3.3", + "optax": "0.2.6" + }, + "architecture": "Two 64-unit SiLU layers; 394 features; bounded 2*tanh correction to relevant-CSS edge logits from the recorded physical feedback pass; exact width-14 contraction predicts logical probability. D5 joint conditioning remains approximate.", + "training": "All supplied training shots per each of all26 d5 conditions; uniform condition and within-condition sampling for optimizer batches.", + "training_cache": "/run-state/workspace/research/learned_d5/full_training_priors3", + "training_cache_provenance": { + "method": "Three undamped physical CSS extrinsic-message passes, clipping8, pass1/pass3 priors captured before logical readout", + "scope": "All supplied training rows in all26 d5 conditions; no validation or test labels used in cache generation", + "reused_rows": "4096 rows per condition from feedback5_cache, sampled with seed20261023; same first three passes", + "remaining_rows": "Computed now with last-only logical tracking; previously controlled against full logical tracking", + "train_manifest_sha256": "ce46c21e3595cfc5885bbe2b6481105317d2e6267498ec4572601469825914b8", + "records": [ + { + "condition": "surface_code_bX_d5_r25_center_5_5", + "shots": 19880, + "reused_training_rows": 4096, + "new_rows": 15784, + "seconds": 44.93641114234924, + "elapsed": 45.15474009513855, + "peak_gpu_bytes": 58661028096 + }, + { + "condition": "surface_code_bZ_d5_r25_center_5_5", + "shots": 19880, + "reused_training_rows": 4096, + "new_rows": 15784, + "seconds": 43.11551070213318, + "elapsed": 88.52458453178406, + "peak_gpu_bytes": 58661028096 + }, + { + "condition": "surface_code_bX_d5_r23_center_5_5", + "shots": 19880, + "reused_training_rows": 4096, + "new_rows": 15784, + "seconds": 39.70699763298035, + "elapsed": 128.4802794456482, + "peak_gpu_bytes": 58661028096 + }, + { + "condition": "surface_code_bZ_d5_r23_center_5_5", + "shots": 19880, + "reused_training_rows": 4096, + "new_rows": 15784, + "seconds": 41.178571701049805, + "elapsed": 169.95510387420654, + "peak_gpu_bytes": 58661028096 + }, + { + "condition": "surface_code_bX_d5_r21_center_5_5", + "shots": 19880, + "reused_training_rows": 4096, + "new_rows": 15784, + "seconds": 41.53053879737854, + "elapsed": 211.7576286792755, + "peak_gpu_bytes": 58661028096 + }, + { + "condition": "surface_code_bZ_d5_r21_center_5_5", + "shots": 19880, + "reused_training_rows": 4096, + "new_rows": 15784, + "seconds": 43.43117809295654, + "elapsed": 255.62733364105225, + "peak_gpu_bytes": 58661028096 + }, + { + "condition": "surface_code_bX_d5_r19_center_5_5", + "shots": 19880, + "reused_training_rows": 4096, + "new_rows": 15784, + "seconds": 33.84876799583435, + "elapsed": 289.70106053352356, + "peak_gpu_bytes": 58661028096 + }, + { + "condition": "surface_code_bZ_d5_r19_center_5_5", + "shots": 19880, + "reused_training_rows": 4096, + "new_rows": 15784, + "seconds": 32.88018870353699, + "elapsed": 322.7981607913971, + "peak_gpu_bytes": 58661028096 + }, + { + "condition": "surface_code_bX_d5_r17_center_5_5", + "shots": 19880, + "reused_training_rows": 4096, + "new_rows": 15784, + "seconds": 29.585307836532593, + "elapsed": 352.58776783943176, + "peak_gpu_bytes": 58661028096 + }, + { + "condition": "surface_code_bZ_d5_r17_center_5_5", + "shots": 19880, + "reused_training_rows": 4096, + "new_rows": 15784, + "seconds": 29.854028463363647, + "elapsed": 382.6393291950226, + "peak_gpu_bytes": 58661028096 + }, + { + "condition": "surface_code_bX_d5_r15_center_5_5", + "shots": 19880, + "reused_training_rows": 4096, + "new_rows": 15784, + "seconds": 26.721288919448853, + "elapsed": 409.54919600486755, + "peak_gpu_bytes": 58661028096 + }, + { + "condition": "surface_code_bZ_d5_r15_center_5_5", + "shots": 19880, + "reused_training_rows": 4096, + "new_rows": 15784, + "seconds": 29.810269832611084, + "elapsed": 439.6440734863281, + "peak_gpu_bytes": 58661028096 + }, + { + "condition": "surface_code_bX_d5_r13_center_5_5", + "shots": 19880, + "reused_training_rows": 4096, + "new_rows": 15784, + "seconds": 29.79407238960266, + "elapsed": 469.7887041568756, + "peak_gpu_bytes": 58661028096 + }, + { + "condition": "surface_code_bZ_d5_r13_center_5_5", + "shots": 19880, + "reused_training_rows": 4096, + "new_rows": 15784, + "seconds": 28.757604837417603, + "elapsed": 498.71140813827515, + "peak_gpu_bytes": 58661028096 + }, + { + "condition": "surface_code_bX_d5_r11_center_5_5", + "shots": 19880, + "reused_training_rows": 4096, + "new_rows": 15784, + "seconds": 25.38013219833374, + "elapsed": 524.2447266578674, + "peak_gpu_bytes": 58661028096 + }, + { + "condition": "surface_code_bZ_d5_r11_center_5_5", + "shots": 19880, + "reused_training_rows": 4096, + "new_rows": 15784, + "seconds": 25.378958225250244, + "elapsed": 549.8600506782532, + "peak_gpu_bytes": 58661028096 + }, + { + "condition": "surface_code_bX_d5_r09_center_5_5", + "shots": 19880, + "reused_training_rows": 4096, + "new_rows": 15784, + "seconds": 21.241567850112915, + "elapsed": 571.2600774765015, + "peak_gpu_bytes": 58661028096 + }, + { + "condition": "surface_code_bZ_d5_r09_center_5_5", + "shots": 19880, + "reused_training_rows": 4096, + "new_rows": 15784, + "seconds": 18.780335664749146, + "elapsed": 590.304051399231, + "peak_gpu_bytes": 58661028096 + }, + { + "condition": "surface_code_bX_d5_r07_center_5_5", + "shots": 19880, + "reused_training_rows": 4096, + "new_rows": 15784, + "seconds": 14.346807956695557, + "elapsed": 604.8041462898254, + "peak_gpu_bytes": 58661028096 + }, + { + "condition": "surface_code_bZ_d5_r07_center_5_5", + "shots": 19880, + "reused_training_rows": 4096, + "new_rows": 15784, + "seconds": 14.03441047668457, + "elapsed": 618.9537570476532, + "peak_gpu_bytes": 58661028096 + }, + { + "condition": "surface_code_bX_d5_r05_center_5_5", + "shots": 19880, + "reused_training_rows": 4096, + "new_rows": 15784, + "seconds": 10.811666488647461, + "elapsed": 629.8610434532166, + "peak_gpu_bytes": 58661028096 + }, + { + "condition": "surface_code_bZ_d5_r05_center_5_5", + "shots": 19880, + "reused_training_rows": 4096, + "new_rows": 15784, + "seconds": 10.982703924179077, + "elapsed": 640.9919559955597, + "peak_gpu_bytes": 58661028096 + }, + { + "condition": "surface_code_bX_d5_r03_center_5_5", + "shots": 19880, + "reused_training_rows": 4096, + "new_rows": 15784, + "seconds": 7.846271991729736, + "elapsed": 648.9624857902527, + "peak_gpu_bytes": 58661028096 + }, + { + "condition": "surface_code_bZ_d5_r03_center_5_5", + "shots": 19880, + "reused_training_rows": 4096, + "new_rows": 15784, + "seconds": 7.83586859703064, + "elapsed": 656.9065537452698, + "peak_gpu_bytes": 58661028096 + }, + { + "condition": "surface_code_bX_d5_r01_center_5_5", + "shots": 19880, + "reused_training_rows": 4096, + "new_rows": 15784, + "seconds": 0.7685718536376953, + "elapsed": 657.7747800350189, + "peak_gpu_bytes": 58661028096 + }, + { + "condition": "surface_code_bZ_d5_r01_center_5_5", + "shots": 19880, + "reused_training_rows": 4096, + "new_rows": 15784, + "seconds": 0.748960018157959, + "elapsed": 658.5666444301605, + "peak_gpu_bytes": 58661028096 + } + ], + "test_data_used": false + }, + "training_shots": 516880, + "training_pool_interpretation": "Eligible training rows; optimizer samples conditions and rows with replacement. Distinct rows used in this phase are recorded separately.", + "unique_training_rows_seen_in_this_phase": 507282, + "unique_rows_by_condition": { + "surface_code_bX_d5_r01_center_5_5": 19592, + "surface_code_bX_d5_r03_center_5_5": 19646, + "surface_code_bX_d5_r05_center_5_5": 19513, + "surface_code_bX_d5_r07_center_5_5": 19341, + "surface_code_bX_d5_r09_center_5_5": 19211, + "surface_code_bX_d5_r11_center_5_5": 19239, + "surface_code_bX_d5_r13_center_5_5": 19679, + "surface_code_bX_d5_r15_center_5_5": 19455, + "surface_code_bX_d5_r17_center_5_5": 19479, + "surface_code_bX_d5_r19_center_5_5": 19479, + "surface_code_bX_d5_r21_center_5_5": 19551, + "surface_code_bX_d5_r23_center_5_5": 19586, + "surface_code_bX_d5_r25_center_5_5": 19526, + "surface_code_bZ_d5_r01_center_5_5": 19652, + "surface_code_bZ_d5_r03_center_5_5": 19732, + "surface_code_bZ_d5_r05_center_5_5": 19754, + "surface_code_bZ_d5_r07_center_5_5": 19194, + "surface_code_bZ_d5_r09_center_5_5": 19641, + "surface_code_bZ_d5_r11_center_5_5": 19611, + "surface_code_bZ_d5_r13_center_5_5": 19424, + "surface_code_bZ_d5_r15_center_5_5": 19380, + "surface_code_bZ_d5_r17_center_5_5": 19384, + "surface_code_bZ_d5_r19_center_5_5": 19684, + "surface_code_bZ_d5_r21_center_5_5": 19559, + "surface_code_bZ_d5_r23_center_5_5": 19524, + "surface_code_bZ_d5_r25_center_5_5": 19446 + }, + "gradient_block_size": 32, + "bucket_operations": true, + "accumulate_conditions": 1, + "effective_batch_size": 1024, + "uncertainty_weight_floor": 1.0, + "example_weighting": "Uniform BCE", + "loss": "Conditional logical binary cross entropy, differentiated through exact relevant-CSS contraction; physical CSS feedback prior held fixed", + "steps": 2048, + "batch": 1024, + "learning_rate": 0.0005, + "sampling_seed": 20261113, + "optimizer": "AdamW, weight decay 1e-4, global gradient norm clip 1", + "optimizer_restored": true, + "rng_restored": true, + "sampling_state_source": "/run-state/workspace/research/learned_d5/feedback3_pilot/rng-768.json", + "starting_checkpoint": "/run-state/workspace/research/learned_d5/feedback3_pilot/weights-768.npz", + "starting_checkpoint_sha256": "bc2ba1c529317ce1b5b661efae4707eca49c6995d6f22b04193fe7642662fed8", + "starting_training_provenance": { + "initialization": "All parameters initialized in this session: variance-scaled normal hidden layers, Normal(0,.001) output weights, zero biases, seed 20261108", + "prior_pass": 3, + "initial_seed": 20261108, + "architecture": "Two 64-unit SiLU layers; 394 features; bounded 2*tanh correction to relevant-CSS edge logits from the recorded physical feedback pass; exact width-14 contraction predicts logical probability. D5 joint conditioning remains approximate.", + "training": "4096 training shots per each of all 26 d5 conditions, sampled without replacement with seed 20261023. Uniform condition and within-condition sampling for optimizer batches.", + "loss": "Conditional logical binary cross entropy, differentiated through exact relevant-CSS contraction; physical CSS feedback prior held fixed", + "steps": 1024, + "batch": 256, + "learning_rate": 0.001, + "sampling_seed": 20261108, + "optimizer": "AdamW, weight decay 1e-4, global gradient norm clip 1", + "optimizer_restored": false, + "starting_checkpoint": null, + "validation": "Uniform subset per all 26 conditions, sample seed 20261102; full validation required before publication", + "validation_shots_per_condition": 1024, + "test_data_used": false, + "records": [ + { + "step": 1, + "loss": 0.011146659031510353, + "error": 0.00390625, + "gradient_norm": 0.011240893043577671, + "elapsed": 21.276997089385986 + }, + { + "step": 16, + "loss": 0.645737886428833, + "error": 0.40625, + "gradient_norm": 0.1628236621618271, + "elapsed": 25.872907638549805 + }, + { + "step": 32, + "loss": 0.574029803276062, + "error": 0.35546875, + "gradient_norm": 0.3000081777572632, + "elapsed": 30.761418342590332 + }, + { + "step": 48, + "loss": 0.574467122554779, + "error": 0.296875, + "gradient_norm": 0.24150623381137848, + "elapsed": 35.67650651931763 + }, + { + "step": 64, + "loss": 0.6003620624542236, + "error": 0.35546875, + "gradient_norm": 0.07430054992437363, + "elapsed": 40.60572576522827 + }, + { + "step": 80, + "loss": 0.5429091453552246, + "error": 0.33203125, + "gradient_norm": 0.15341751277446747, + "elapsed": 45.546849727630615 + }, + { + "step": 96, + "loss": 0.368771493434906, + "error": 0.1640625, + "gradient_norm": 0.08923184871673584, + "elapsed": 50.49156332015991 + }, + { + "step": 112, + "loss": 0.516342043876648, + "error": 0.265625, + "gradient_norm": 0.10965219140052795, + "elapsed": 55.45058846473694 + }, + { + "step": 128, + "loss": 0.5925382971763611, + "error": 0.37109375, + "gradient_norm": 0.055406324565410614, + "elapsed": 60.40891766548157 + }, + { + "step": 144, + "loss": 0.19184258580207825, + "error": 0.07421875, + "gradient_norm": 0.07042146474123001, + "elapsed": 65.33323669433594 + }, + { + "step": 160, + "loss": 0.5202382206916809, + "error": 0.25390625, + "gradient_norm": 0.14782382547855377, + "elapsed": 70.26605796813965 + }, + { + "step": 176, + "loss": 0.46083134412765503, + "error": 0.22265625, + "gradient_norm": 0.09074779599905014, + "elapsed": 75.18221640586853 + }, + { + "step": 192, + "loss": 0.3054918646812439, + "error": 0.14453125, + "gradient_norm": 0.0588168129324913, + "elapsed": 80.1186010837555 + }, + { + "step": 208, + "loss": 0.4836011230945587, + "error": 0.27734375, + "gradient_norm": 0.09208947420120239, + "elapsed": 85.05764293670654 + }, + { + "step": 224, + "loss": 0.6640600562095642, + "error": 0.38671875, + "gradient_norm": 0.22026506066322327, + "elapsed": 89.98808217048645 + }, + { + "step": 240, + "loss": 0.02421322464942932, + "error": 0.00390625, + "gradient_norm": 0.008131005801260471, + "elapsed": 94.90194272994995 + }, + { + "step": 256, + "loss": 0.6302106976509094, + "error": 0.4296875, + "gradient_norm": 0.09762304276227951, + "elapsed": 99.82612204551697 + }, + { + "step": 272, + "loss": 0.5092596411705017, + "error": 0.27734375, + "gradient_norm": 0.11407691985368729, + "elapsed": 110.44065999984741 + }, + { + "step": 288, + "loss": 0.452798455953598, + "error": 0.2265625, + "gradient_norm": 0.1105576679110527, + "elapsed": 115.36984539031982 + }, + { + "step": 304, + "loss": 0.3378596305847168, + "error": 0.18359375, + "gradient_norm": 0.0841713547706604, + "elapsed": 120.29337763786316 + }, + { + "step": 320, + "loss": 0.6271854639053345, + "error": 0.38671875, + "gradient_norm": 0.1972702294588089, + "elapsed": 125.2231035232544 + }, + { + "step": 336, + "loss": 0.04562236741185188, + "error": 0.01171875, + "gradient_norm": 0.027922745794057846, + "elapsed": 130.14725255966187 + }, + { + "step": 352, + "loss": 0.5342530608177185, + "error": 0.26953125, + "gradient_norm": 0.09031179547309875, + "elapsed": 135.08111095428467 + }, + { + "step": 368, + "loss": 0.49785488843917847, + "error": 0.2578125, + "gradient_norm": 0.19366280734539032, + "elapsed": 140.00699138641357 + }, + { + "step": 384, + "loss": 0.5673326253890991, + "error": 0.30859375, + "gradient_norm": 0.20644932985305786, + "elapsed": 144.92276740074158 + }, + { + "step": 400, + "loss": 0.5581298470497131, + "error": 0.3203125, + "gradient_norm": 0.17668266594409943, + "elapsed": 149.86573243141174 + }, + { + "step": 416, + "loss": 0.5564071536064148, + "error": 0.30078125, + "gradient_norm": 0.0821610689163208, + "elapsed": 154.7953712940216 + }, + { + "step": 432, + "loss": 0.5540086030960083, + "error": 0.34765625, + "gradient_norm": 0.1438807100057602, + "elapsed": 159.72657418251038 + }, + { + "step": 448, + "loss": 0.540939450263977, + "error": 0.29296875, + "gradient_norm": 0.17986361682415009, + "elapsed": 164.6689453125 + }, + { + "step": 464, + "loss": 0.45807865262031555, + "error": 0.25, + "gradient_norm": 0.14453186094760895, + "elapsed": 169.58739304542542 + }, + { + "step": 480, + "loss": 0.5191650390625, + "error": 0.22265625, + "gradient_norm": 0.07955105602741241, + "elapsed": 174.5444438457489 + }, + { + "step": 496, + "loss": 0.1692925989627838, + "error": 0.0703125, + "gradient_norm": 0.07875128090381622, + "elapsed": 179.48035550117493 + }, + { + "step": 512, + "loss": 0.5580664873123169, + "error": 0.3125, + "gradient_norm": 0.27090802788734436, + "elapsed": 184.42834162712097 + }, + { + "step": 528, + "loss": 0.26402050256729126, + "error": 0.13671875, + "gradient_norm": 0.13135771453380585, + "elapsed": 195.17691040039062 + }, + { + "step": 544, + "loss": 0.4352915287017822, + "error": 0.1953125, + "gradient_norm": 0.15959712862968445, + "elapsed": 200.0421543121338 + }, + { + "step": 560, + "loss": 0.22861814498901367, + "error": 0.1015625, + "gradient_norm": 0.08776932209730148, + "elapsed": 204.95144605636597 + }, + { + "step": 576, + "loss": 0.28309381008148193, + "error": 0.1328125, + "gradient_norm": 0.11050742119550705, + "elapsed": 209.8526291847229 + }, + { + "step": 592, + "loss": 0.6409220695495605, + "error": 0.41015625, + "gradient_norm": 0.19826626777648926, + "elapsed": 214.84447717666626 + }, + { + "step": 608, + "loss": 0.25090643763542175, + "error": 0.109375, + "gradient_norm": 0.05864342302083969, + "elapsed": 219.72637391090393 + }, + { + "step": 624, + "loss": 0.11423969268798828, + "error": 0.05078125, + "gradient_norm": 0.05318564549088478, + "elapsed": 224.6331377029419 + }, + { + "step": 640, + "loss": 0.32663431763648987, + "error": 0.1328125, + "gradient_norm": 0.06877780705690384, + "elapsed": 229.5065622329712 + }, + { + "step": 656, + "loss": 0.24196995794773102, + "error": 0.10546875, + "gradient_norm": 0.07683655619621277, + "elapsed": 234.4042534828186 + }, + { + "step": 672, + "loss": 0.5349344611167908, + "error": 0.296875, + "gradient_norm": 0.15214307606220245, + "elapsed": 239.26656579971313 + }, + { + "step": 688, + "loss": 0.26759713888168335, + "error": 0.1171875, + "gradient_norm": 0.14698348939418793, + "elapsed": 244.21049737930298 + }, + { + "step": 704, + "loss": 0.37338894605636597, + "error": 0.18359375, + "gradient_norm": 0.10210632532835007, + "elapsed": 249.13519072532654 + }, + { + "step": 720, + "loss": 0.36807945370674133, + "error": 0.17578125, + "gradient_norm": 0.09668388962745667, + "elapsed": 254.06281065940857 + }, + { + "step": 736, + "loss": 0.3736685514450073, + "error": 0.15625, + "gradient_norm": 0.10987236350774765, + "elapsed": 259.01695108413696 + }, + { + "step": 752, + "loss": 0.5266942977905273, + "error": 0.29296875, + "gradient_norm": 0.09041415899991989, + "elapsed": 263.9530746936798 + }, + { + "step": 768, + "loss": 0.360038161277771, + "error": 0.1640625, + "gradient_norm": 0.10391079634428024, + "elapsed": 268.9019305706024 + }, + { + "step": 784, + "loss": 0.5700286626815796, + "error": 0.34375, + "gradient_norm": 0.12206032127141953, + "elapsed": 279.4174163341522 + }, + { + "step": 800, + "loss": 0.42533689737319946, + "error": 0.20703125, + "gradient_norm": 0.06605375558137894, + "elapsed": 284.3391351699829 + }, + { + "step": 816, + "loss": 0.12355346977710724, + "error": 0.046875, + "gradient_norm": 0.06571663916110992, + "elapsed": 289.2815272808075 + }, + { + "step": 832, + "loss": 0.6411258578300476, + "error": 0.3984375, + "gradient_norm": 0.160088911652565, + "elapsed": 294.2048614025116 + }, + { + "step": 848, + "loss": 0.5756919980049133, + "error": 0.3515625, + "gradient_norm": 0.0962308868765831, + "elapsed": 299.15635418891907 + }, + { + "step": 864, + "loss": 0.2706402540206909, + "error": 0.1171875, + "gradient_norm": 0.11391306668519974, + "elapsed": 304.09321761131287 + }, + { + "step": 880, + "loss": 0.33621329069137573, + "error": 0.1640625, + "gradient_norm": 0.09049320220947266, + "elapsed": 309.0412187576294 + }, + { + "step": 896, + "loss": 0.44343245029449463, + "error": 0.23828125, + "gradient_norm": 0.12484703958034515, + "elapsed": 313.98498797416687 + }, + { + "step": 912, + "loss": 0.5987736582756042, + "error": 0.359375, + "gradient_norm": 0.07541236281394958, + "elapsed": 318.9334623813629 + }, + { + "step": 928, + "loss": 0.38585522770881653, + "error": 0.1875, + "gradient_norm": 0.09290861338376999, + "elapsed": 323.86884689331055 + }, + { + "step": 944, + "loss": 0.4820440113544464, + "error": 0.234375, + "gradient_norm": 0.22198310494422913, + "elapsed": 328.7963180541992 + }, + { + "step": 960, + "loss": 0.07455944269895554, + "error": 0.015625, + "gradient_norm": 0.055282026529312134, + "elapsed": 333.75238251686096 + }, + { + "step": 976, + "loss": 0.013475366868078709, + "error": 0.0078125, + "gradient_norm": 0.009843004867434502, + "elapsed": 338.6403331756592 + }, + { + "step": 992, + "loss": 0.4429199695587158, + "error": 0.2265625, + "gradient_norm": 0.09489083290100098, + "elapsed": 343.5606532096863 + }, + { + "step": 1008, + "loss": 0.4892328381538391, + "error": 0.234375, + "gradient_norm": 0.1342826634645462, + "elapsed": 348.5243353843689 + }, + { + "step": 1024, + "loss": 0.6096819043159485, + "error": 0.32421875, + "gradient_norm": 0.17938998341560364, + "elapsed": 353.36506962776184 + } + ] + }, + "validation": "Uniform subset per all 26 conditions, sample seed 20261102; full validation required before publication", + "validation_shots_per_condition": 1024, + "test_data_used": false, + "records": [ + { + "step": 1, + "loss": 0.4341062307357788, + "objective": 0.4341062307357788, + "error": 0.208984375, + "gradient_norm": 0.07617632299661636, + "elapsed": 31.45817995071411 + }, + { + "step": 16, + "loss": 0.5996706485748291, + "objective": 0.5996706485748291, + "error": 0.359375, + "gradient_norm": 0.05249844491481781, + "elapsed": 56.34200572967529 + }, + { + "step": 32, + "loss": 0.4388691186904907, + "objective": 0.4388691186904907, + "error": 0.2041015625, + "gradient_norm": 0.0376109778881073, + "elapsed": 67.83739852905273 + }, + { + "step": 48, + "loss": 0.5373439788818359, + "objective": 0.5373439788818359, + "error": 0.2919921875, + "gradient_norm": 0.06261218339204788, + "elapsed": 76.69065475463867 + }, + { + "step": 64, + "loss": 0.24871854484081268, + "objective": 0.24871854484081268, + "error": 0.1162109375, + "gradient_norm": 0.05284671485424042, + "elapsed": 86.3852767944336 + }, + { + "step": 80, + "loss": 0.26628297567367554, + "objective": 0.26628297567367554, + "error": 0.123046875, + "gradient_norm": 0.04054367542266846, + "elapsed": 95.77356100082397 + }, + { + "step": 96, + "loss": 0.48436349630355835, + "objective": 0.48436349630355835, + "error": 0.259765625, + "gradient_norm": 0.05399860441684723, + "elapsed": 107.06293416023254 + }, + { + "step": 112, + "loss": 0.41063767671585083, + "objective": 0.41063767671585083, + "error": 0.1943359375, + "gradient_norm": 0.043602071702480316, + "elapsed": 116.78119611740112 + }, + { + "step": 128, + "loss": 0.3990316390991211, + "objective": 0.3990316390991211, + "error": 0.1865234375, + "gradient_norm": 0.0424419641494751, + "elapsed": 125.6915397644043 + }, + { + "step": 144, + "loss": 0.5119550228118896, + "objective": 0.5119550228118896, + "error": 0.2646484375, + "gradient_norm": 0.07688591629266739, + "elapsed": 136.20711088180542 + }, + { + "step": 160, + "loss": 0.3388235569000244, + "objective": 0.3388235569000244, + "error": 0.1630859375, + "gradient_norm": 0.07015731930732727, + "elapsed": 145.3505516052246 + }, + { + "step": 176, + "loss": 0.5952156186103821, + "objective": 0.5952156186103821, + "error": 0.3369140625, + "gradient_norm": 0.039373140782117844, + "elapsed": 154.77994871139526 + }, + { + "step": 192, + "loss": 0.15157413482666016, + "objective": 0.15157413482666016, + "error": 0.0634765625, + "gradient_norm": 0.029710670933127403, + "elapsed": 164.46801733970642 + }, + { + "step": 208, + "loss": 0.3120684027671814, + "objective": 0.3120684027671814, + "error": 0.1474609375, + "gradient_norm": 0.035548821091651917, + "elapsed": 173.24825358390808 + }, + { + "step": 224, + "loss": 0.5486405491828918, + "objective": 0.5486405491828918, + "error": 0.2900390625, + "gradient_norm": 0.0503678023815155, + "elapsed": 185.29849314689636 + }, + { + "step": 240, + "loss": 0.6046283841133118, + "objective": 0.6046283841133118, + "error": 0.3349609375, + "gradient_norm": 0.05043461173772812, + "elapsed": 197.54880928993225 + }, + { + "step": 256, + "loss": 0.5926339626312256, + "objective": 0.5926339626312256, + "error": 0.3359375, + "gradient_norm": 0.051241543143987656, + "elapsed": 211.79861068725586 + }, + { + "step": 272, + "loss": 0.4018518924713135, + "objective": 0.4018518924713135, + "error": 0.1943359375, + "gradient_norm": 0.0772147998213768, + "elapsed": 222.41974115371704 + }, + { + "step": 288, + "loss": 0.13863243162631989, + "objective": 0.13863243162631989, + "error": 0.0556640625, + "gradient_norm": 0.03334609419107437, + "elapsed": 234.04247426986694 + }, + { + "step": 304, + "loss": 0.562490701675415, + "objective": 0.562490701675415, + "error": 0.337890625, + "gradient_norm": 0.04585934057831764, + "elapsed": 242.65421533584595 + }, + { + "step": 320, + "loss": 0.5352796316146851, + "objective": 0.5352796316146851, + "error": 0.294921875, + "gradient_norm": 0.0837635025382042, + "elapsed": 252.10656356811523 + }, + { + "step": 336, + "loss": 0.26082637906074524, + "objective": 0.26082637906074524, + "error": 0.1220703125, + "gradient_norm": 0.048336997628211975, + "elapsed": 262.33449625968933 + }, + { + "step": 352, + "loss": 0.5959363579750061, + "objective": 0.5959363579750061, + "error": 0.3388671875, + "gradient_norm": 0.06797357648611069, + "elapsed": 271.9942307472229 + }, + { + "step": 368, + "loss": 0.48994284868240356, + "objective": 0.48994284868240356, + "error": 0.2587890625, + "gradient_norm": 0.06296153366565704, + "elapsed": 283.0493588447571 + }, + { + "step": 384, + "loss": 0.5710494518280029, + "objective": 0.5710494518280029, + "error": 0.3134765625, + "gradient_norm": 0.045333269983530045, + "elapsed": 294.64637446403503 + }, + { + "step": 400, + "loss": 0.5957783460617065, + "objective": 0.5957783460617065, + "error": 0.349609375, + "gradient_norm": 0.03918786719441414, + "elapsed": 307.6200888156891 + }, + { + "step": 416, + "loss": 0.27521568536758423, + "objective": 0.27521568536758423, + "error": 0.1220703125, + "gradient_norm": 0.038001637905836105, + "elapsed": 317.01610231399536 + }, + { + "step": 432, + "loss": 0.02379823848605156, + "objective": 0.02379823848605156, + "error": 0.0078125, + "gradient_norm": 0.007661945186555386, + "elapsed": 326.9360330104828 + }, + { + "step": 448, + "loss": 0.56734299659729, + "objective": 0.56734299659729, + "error": 0.3271484375, + "gradient_norm": 0.057416290044784546, + "elapsed": 339.6289041042328 + }, + { + "step": 464, + "loss": 0.10715995728969574, + "objective": 0.10715995728969574, + "error": 0.0380859375, + "gradient_norm": 0.02532491274178028, + "elapsed": 349.8584108352661 + }, + { + "step": 480, + "loss": 0.6143364310264587, + "objective": 0.6143364310264587, + "error": 0.36328125, + "gradient_norm": 0.08023032546043396, + "elapsed": 360.36362075805664 + }, + { + "step": 496, + "loss": 0.44069671630859375, + "objective": 0.44069671630859375, + "error": 0.2197265625, + "gradient_norm": 0.048025116324424744, + "elapsed": 369.48225808143616 + }, + { + "step": 512, + "loss": 0.019900165498256683, + "objective": 0.019900165498256683, + "error": 0.0107421875, + "gradient_norm": 0.0038635791279375553, + "elapsed": 378.59970593452454 + }, + { + "step": 528, + "loss": 0.033316534012556076, + "objective": 0.033316534012556076, + "error": 0.009765625, + "gradient_norm": 0.009174940176308155, + "elapsed": 393.4021761417389 + }, + { + "step": 544, + "loss": 0.41130945086479187, + "objective": 0.41130945086479187, + "error": 0.20703125, + "gradient_norm": 0.04695262759923935, + "elapsed": 402.8586280345917 + }, + { + "step": 560, + "loss": 0.5885373950004578, + "objective": 0.5885373950004578, + "error": 0.3544921875, + "gradient_norm": 0.08534500002861023, + "elapsed": 416.98661041259766 + }, + { + "step": 576, + "loss": 0.3804720640182495, + "objective": 0.3804720640182495, + "error": 0.19140625, + "gradient_norm": 0.05163278803229332, + "elapsed": 427.7550480365753 + }, + { + "step": 592, + "loss": 0.6101120710372925, + "objective": 0.6101120710372925, + "error": 0.3525390625, + "gradient_norm": 0.05593184754252434, + "elapsed": 441.05026268959045 + }, + { + "step": 608, + "loss": 0.5586092472076416, + "objective": 0.5586092472076416, + "error": 0.302734375, + "gradient_norm": 0.07458740472793579, + "elapsed": 452.95383286476135 + }, + { + "step": 624, + "loss": 0.5992780923843384, + "objective": 0.5992780923843384, + "error": 0.357421875, + "gradient_norm": 0.03618372976779938, + "elapsed": 466.1582691669464 + }, + { + "step": 640, + "loss": 0.3536975383758545, + "objective": 0.3536975383758545, + "error": 0.1650390625, + "gradient_norm": 0.05353165790438652, + "elapsed": 477.166255235672 + }, + { + "step": 656, + "loss": 0.4926893711090088, + "objective": 0.4926893711090088, + "error": 0.2626953125, + "gradient_norm": 0.05201377719640732, + "elapsed": 491.1417751312256 + }, + { + "step": 672, + "loss": 0.5754991173744202, + "objective": 0.5754991173744202, + "error": 0.3271484375, + "gradient_norm": 0.08167096972465515, + "elapsed": 501.630366563797 + }, + { + "step": 688, + "loss": 0.5685014724731445, + "objective": 0.5685014724731445, + "error": 0.333984375, + "gradient_norm": 0.043775107711553574, + "elapsed": 514.2880456447601 + }, + { + "step": 704, + "loss": 0.022465089336037636, + "objective": 0.022465089336037636, + "error": 0.0068359375, + "gradient_norm": 0.010172540321946144, + "elapsed": 522.9173214435577 + }, + { + "step": 720, + "loss": 0.035460107028484344, + "objective": 0.035460107028484344, + "error": 0.0107421875, + "gradient_norm": 0.010515578091144562, + "elapsed": 532.8470129966736 + }, + { + "step": 736, + "loss": 0.44765588641166687, + "objective": 0.44765588641166687, + "error": 0.2138671875, + "gradient_norm": 0.09050357341766357, + "elapsed": 541.9488840103149 + }, + { + "step": 752, + "loss": 0.5933939218521118, + "objective": 0.5933939218521118, + "error": 0.3359375, + "gradient_norm": 0.0665116235613823, + "elapsed": 552.9967355728149 + }, + { + "step": 768, + "loss": 0.6100764870643616, + "objective": 0.6100764870643616, + "error": 0.3515625, + "gradient_norm": 0.0821211114525795, + "elapsed": 563.7709202766418 + }, + { + "step": 784, + "loss": 0.02964692935347557, + "objective": 0.02964692935347557, + "error": 0.009765625, + "gradient_norm": 0.012663272209465504, + "elapsed": 573.1517221927643 + }, + { + "step": 800, + "loss": 0.38091832399368286, + "objective": 0.38091832399368286, + "error": 0.1904296875, + "gradient_norm": 0.060622021555900574, + "elapsed": 582.5687477588654 + }, + { + "step": 816, + "loss": 0.552335262298584, + "objective": 0.552335262298584, + "error": 0.3076171875, + "gradient_norm": 0.14419035613536835, + "elapsed": 594.4292685985565 + }, + { + "step": 832, + "loss": 0.5943340063095093, + "objective": 0.5943340063095093, + "error": 0.34375, + "gradient_norm": 0.0633513554930687, + "elapsed": 605.2052299976349 + }, + { + "step": 848, + "loss": 0.6074100732803345, + "objective": 0.6074100732803345, + "error": 0.3486328125, + "gradient_norm": 0.04225531220436096, + "elapsed": 614.8996202945709 + }, + { + "step": 864, + "loss": 0.6198879480361938, + "objective": 0.6198879480361938, + "error": 0.361328125, + "gradient_norm": 0.04208856821060181, + "elapsed": 625.4266908168793 + }, + { + "step": 880, + "loss": 0.6151762008666992, + "objective": 0.6151762008666992, + "error": 0.369140625, + "gradient_norm": 0.06261089444160461, + "elapsed": 636.0696911811829 + }, + { + "step": 896, + "loss": 0.49680083990097046, + "objective": 0.49680083990097046, + "error": 0.25390625, + "gradient_norm": 0.0827067643404007, + "elapsed": 644.6893246173859 + }, + { + "step": 912, + "loss": 0.4610927402973175, + "objective": 0.4610927402973175, + "error": 0.23828125, + "gradient_norm": 0.06652095168828964, + "elapsed": 655.969132900238 + }, + { + "step": 928, + "loss": 0.5218505859375, + "objective": 0.5218505859375, + "error": 0.2685546875, + "gradient_norm": 0.07188194245100021, + "elapsed": 667.5352523326874 + }, + { + "step": 944, + "loss": 0.33009427785873413, + "objective": 0.33009427785873413, + "error": 0.1533203125, + "gradient_norm": 0.05718810483813286, + "elapsed": 677.8397319316864 + }, + { + "step": 960, + "loss": 0.5703234672546387, + "objective": 0.5703234672546387, + "error": 0.3193359375, + "gradient_norm": 0.11168288439512253, + "elapsed": 687.8742904663086 + }, + { + "step": 976, + "loss": 0.025548014789819717, + "objective": 0.025548014789819717, + "error": 0.0107421875, + "gradient_norm": 0.009453393518924713, + "elapsed": 698.294285774231 + }, + { + "step": 992, + "loss": 0.45398157835006714, + "objective": 0.45398157835006714, + "error": 0.2412109375, + "gradient_norm": 0.04607952758669853, + "elapsed": 707.903199672699 + }, + { + "step": 1008, + "loss": 0.3412189781665802, + "objective": 0.3412189781665802, + "error": 0.1513671875, + "gradient_norm": 0.0432075597345829, + "elapsed": 718.5662748813629 + }, + { + "step": 1024, + "loss": 0.4376429319381714, + "objective": 0.4376429319381714, + "error": 0.2275390625, + "gradient_norm": 0.07974351197481155, + "elapsed": 728.8954858779907 + }, + { + "step": 1040, + "loss": 0.33512815833091736, + "objective": 0.33512815833091736, + "error": 0.150390625, + "gradient_norm": 0.04476875811815262, + "elapsed": 744.0822694301605 + }, + { + "step": 1056, + "loss": 0.5214208364486694, + "objective": 0.5214208364486694, + "error": 0.283203125, + "gradient_norm": 0.08898192644119263, + "elapsed": 755.1484262943268 + }, + { + "step": 1072, + "loss": 0.13849599659442902, + "objective": 0.13849599659442902, + "error": 0.052734375, + "gradient_norm": 0.028359953314065933, + "elapsed": 764.3303108215332 + }, + { + "step": 1088, + "loss": 0.323838472366333, + "objective": 0.323838472366333, + "error": 0.1435546875, + "gradient_norm": 0.04081716760993004, + "elapsed": 773.2739362716675 + }, + { + "step": 1104, + "loss": 0.5627881288528442, + "objective": 0.5627881288528442, + "error": 0.3125, + "gradient_norm": 0.08322097361087799, + "elapsed": 784.7223973274231 + }, + { + "step": 1120, + "loss": 0.44111010432243347, + "objective": 0.44111010432243347, + "error": 0.2216796875, + "gradient_norm": 0.05700977146625519, + "elapsed": 795.085648059845 + }, + { + "step": 1136, + "loss": 0.6395992040634155, + "objective": 0.6395992040634155, + "error": 0.39453125, + "gradient_norm": 0.0744553729891777, + "elapsed": 805.7942585945129 + }, + { + "step": 1152, + "loss": 0.5433304309844971, + "objective": 0.5433304309844971, + "error": 0.287109375, + "gradient_norm": 0.04814797267317772, + "elapsed": 817.3382890224457 + }, + { + "step": 1168, + "loss": 0.5708576440811157, + "objective": 0.5708576440811157, + "error": 0.3203125, + "gradient_norm": 0.051331400871276855, + "elapsed": 829.288791179657 + }, + { + "step": 1184, + "loss": 0.5447035431861877, + "objective": 0.5447035431861877, + "error": 0.2939453125, + "gradient_norm": 0.10116687417030334, + "elapsed": 839.6822843551636 + }, + { + "step": 1200, + "loss": 0.6125671863555908, + "objective": 0.6125671863555908, + "error": 0.3642578125, + "gradient_norm": 0.04368080571293831, + "elapsed": 850.2262740135193 + }, + { + "step": 1216, + "loss": 0.5002380609512329, + "objective": 0.5002380609512329, + "error": 0.259765625, + "gradient_norm": 0.04939017817378044, + "elapsed": 862.3783452510834 + }, + { + "step": 1232, + "loss": 0.5698772668838501, + "objective": 0.5698772668838501, + "error": 0.3173828125, + "gradient_norm": 0.04916854575276375, + "elapsed": 871.4622664451599 + }, + { + "step": 1248, + "loss": 0.6046518683433533, + "objective": 0.6046518683433533, + "error": 0.341796875, + "gradient_norm": 0.04919794574379921, + "elapsed": 883.3905737400055 + }, + { + "step": 1264, + "loss": 0.5913128852844238, + "objective": 0.5913128852844238, + "error": 0.357421875, + "gradient_norm": 0.046917904168367386, + "elapsed": 892.4264807701111 + }, + { + "step": 1280, + "loss": 0.5027461051940918, + "objective": 0.5027461051940918, + "error": 0.2626953125, + "gradient_norm": 0.04705750197172165, + "elapsed": 902.5875842571259 + }, + { + "step": 1296, + "loss": 0.13519814610481262, + "objective": 0.13519814610481262, + "error": 0.052734375, + "gradient_norm": 0.02625490538775921, + "elapsed": 912.4087471961975 + }, + { + "step": 1312, + "loss": 0.5862359404563904, + "objective": 0.5862359404563904, + "error": 0.3271484375, + "gradient_norm": 0.05441493168473244, + "elapsed": 923.992555141449 + }, + { + "step": 1328, + "loss": 0.6031408309936523, + "objective": 0.6031408309936523, + "error": 0.3505859375, + "gradient_norm": 0.05901554971933365, + "elapsed": 933.3936491012573 + }, + { + "step": 1344, + "loss": 0.5823733806610107, + "objective": 0.5823733806610107, + "error": 0.3310546875, + "gradient_norm": 0.0842989832162857, + "elapsed": 941.979998588562 + }, + { + "step": 1360, + "loss": 0.6241492033004761, + "objective": 0.6241492033004761, + "error": 0.3720703125, + "gradient_norm": 0.04446673393249512, + "elapsed": 954.969649553299 + }, + { + "step": 1376, + "loss": 0.5829156637191772, + "objective": 0.5829156637191772, + "error": 0.361328125, + "gradient_norm": 0.06615480780601501, + "elapsed": 966.0245676040649 + }, + { + "step": 1392, + "loss": 0.5968320369720459, + "objective": 0.5968320369720459, + "error": 0.34765625, + "gradient_norm": 0.05093541368842125, + "elapsed": 975.1022663116455 + }, + { + "step": 1408, + "loss": 0.045559000223875046, + "objective": 0.045559000223875046, + "error": 0.01171875, + "gradient_norm": 0.02514980360865593, + "elapsed": 987.2391452789307 + }, + { + "step": 1424, + "loss": 0.22601813077926636, + "objective": 0.22601813077926636, + "error": 0.09765625, + "gradient_norm": 0.04834206402301788, + "elapsed": 996.4583384990692 + }, + { + "step": 1440, + "loss": 0.23011144995689392, + "objective": 0.23011144995689392, + "error": 0.111328125, + "gradient_norm": 0.050687842071056366, + "elapsed": 1007.1440904140472 + }, + { + "step": 1456, + "loss": 0.018240466713905334, + "objective": 0.018240466713905334, + "error": 0.0078125, + "gradient_norm": 0.005604141391813755, + "elapsed": 1016.4502851963043 + }, + { + "step": 1472, + "loss": 0.4498720169067383, + "objective": 0.4498720169067383, + "error": 0.232421875, + "gradient_norm": 0.08179625123739243, + "elapsed": 1028.8303294181824 + }, + { + "step": 1488, + "loss": 0.24151627719402313, + "objective": 0.24151627719402313, + "error": 0.107421875, + "gradient_norm": 0.03838668763637543, + "elapsed": 1037.8867321014404 + }, + { + "step": 1504, + "loss": 0.46122002601623535, + "objective": 0.46122002601623535, + "error": 0.232421875, + "gradient_norm": 0.0726623386144638, + "elapsed": 1047.7258644104004 + }, + { + "step": 1520, + "loss": 0.5085602402687073, + "objective": 0.5085602402687073, + "error": 0.2705078125, + "gradient_norm": 0.06673175096511841, + "elapsed": 1059.352120399475 + }, + { + "step": 1536, + "loss": 0.6105246543884277, + "objective": 0.6105246543884277, + "error": 0.3818359375, + "gradient_norm": 0.04271261766552925, + "elapsed": 1070.1413230895996 + }, + { + "step": 1552, + "loss": 0.4792126417160034, + "objective": 0.4792126417160034, + "error": 0.2578125, + "gradient_norm": 0.05200039595365524, + "elapsed": 1086.444006204605 + }, + { + "step": 1568, + "loss": 0.5814266204833984, + "objective": 0.5814266204833984, + "error": 0.330078125, + "gradient_norm": 0.05867309868335724, + "elapsed": 1097.2902619838715 + }, + { + "step": 1584, + "loss": 0.6321226358413696, + "objective": 0.6321226358413696, + "error": 0.3798828125, + "gradient_norm": 0.05418067052960396, + "elapsed": 1107.9767682552338 + }, + { + "step": 1600, + "loss": 0.5931253433227539, + "objective": 0.5931253433227539, + "error": 0.3603515625, + "gradient_norm": 0.06396215409040451, + "elapsed": 1121.782609462738 + }, + { + "step": 1616, + "loss": 0.6411516666412354, + "objective": 0.6411516666412354, + "error": 0.38671875, + "gradient_norm": 0.05035768821835518, + "elapsed": 1132.7197887897491 + }, + { + "step": 1632, + "loss": 0.4267754852771759, + "objective": 0.4267754852771759, + "error": 0.2080078125, + "gradient_norm": 0.09109894186258316, + "elapsed": 1139.1667578220367 + }, + { + "step": 1648, + "loss": 0.21246182918548584, + "objective": 0.21246182918548584, + "error": 0.095703125, + "gradient_norm": 0.04478950425982475, + "elapsed": 1149.1183021068573 + }, + { + "step": 1664, + "loss": 0.46360665559768677, + "objective": 0.46360665559768677, + "error": 0.251953125, + "gradient_norm": 0.07668188214302063, + "elapsed": 1161.1197745800018 + }, + { + "step": 1680, + "loss": 0.46281397342681885, + "objective": 0.46281397342681885, + "error": 0.236328125, + "gradient_norm": 0.07954126596450806, + "elapsed": 1171.8474535942078 + }, + { + "step": 1696, + "loss": 0.2484058141708374, + "objective": 0.2484058141708374, + "error": 0.12109375, + "gradient_norm": 0.047261305153369904, + "elapsed": 1185.6542596817017 + }, + { + "step": 1712, + "loss": 0.24310235679149628, + "objective": 0.24310235679149628, + "error": 0.1064453125, + "gradient_norm": 0.07262872904539108, + "elapsed": 1197.8986082077026 + }, + { + "step": 1728, + "loss": 0.009729458019137383, + "objective": 0.009729458019137383, + "error": 0.001953125, + "gradient_norm": 0.01146845705807209, + "elapsed": 1208.495581150055 + }, + { + "step": 1744, + "loss": 0.24568752944469452, + "objective": 0.24568752944469452, + "error": 0.10546875, + "gradient_norm": 0.05830742046236992, + "elapsed": 1219.9394850730896 + }, + { + "step": 1760, + "loss": 0.022546378895640373, + "objective": 0.022546378895640373, + "error": 0.0068359375, + "gradient_norm": 0.007667526602745056, + "elapsed": 1229.5703229904175 + }, + { + "step": 1776, + "loss": 0.5848401784896851, + "objective": 0.5848401784896851, + "error": 0.3271484375, + "gradient_norm": 0.061901818960905075, + "elapsed": 1238.750280380249 + }, + { + "step": 1792, + "loss": 0.6031335592269897, + "objective": 0.6031335592269897, + "error": 0.3671875, + "gradient_norm": 0.0676632970571518, + "elapsed": 1247.7468683719635 + }, + { + "step": 1808, + "loss": 0.6210961937904358, + "objective": 0.6210961937904358, + "error": 0.3603515625, + "gradient_norm": 0.0718468651175499, + "elapsed": 1256.1821897029877 + }, + { + "step": 1824, + "loss": 0.570877730846405, + "objective": 0.570877730846405, + "error": 0.3212890625, + "gradient_norm": 0.05575930327177048, + "elapsed": 1266.4091975688934 + }, + { + "step": 1840, + "loss": 0.5711429119110107, + "objective": 0.5711429119110107, + "error": 0.31640625, + "gradient_norm": 0.0691002607345581, + "elapsed": 1277.4722146987915 + }, + { + "step": 1856, + "loss": 0.36046335101127625, + "objective": 0.36046335101127625, + "error": 0.16796875, + "gradient_norm": 0.04694395884871483, + "elapsed": 1287.1420249938965 + }, + { + "step": 1872, + "loss": 0.4688999652862549, + "objective": 0.4688999652862549, + "error": 0.2216796875, + "gradient_norm": 0.07401346415281296, + "elapsed": 1297.3945078849792 + }, + { + "step": 1888, + "loss": 0.46385282278060913, + "objective": 0.46385282278060913, + "error": 0.2373046875, + "gradient_norm": 0.05608939751982689, + "elapsed": 1305.9779334068298 + }, + { + "step": 1904, + "loss": 0.60875403881073, + "objective": 0.60875403881073, + "error": 0.365234375, + "gradient_norm": 0.05085878074169159, + "elapsed": 1317.3097081184387 + }, + { + "step": 1920, + "loss": 0.12223530560731888, + "objective": 0.12223530560731888, + "error": 0.0458984375, + "gradient_norm": 0.024870412424206734, + "elapsed": 1328.6486887931824 + }, + { + "step": 1936, + "loss": 0.3486189544200897, + "objective": 0.3486189544200897, + "error": 0.16796875, + "gradient_norm": 0.04780663549900055, + "elapsed": 1336.6701011657715 + }, + { + "step": 1952, + "loss": 0.5777363777160645, + "objective": 0.5777363777160645, + "error": 0.3427734375, + "gradient_norm": 0.0571451336145401, + "elapsed": 1346.9158833026886 + }, + { + "step": 1968, + "loss": 0.39320266246795654, + "objective": 0.39320266246795654, + "error": 0.1884765625, + "gradient_norm": 0.05673858895897865, + "elapsed": 1354.9182631969452 + }, + { + "step": 1984, + "loss": 0.5900611281394958, + "objective": 0.5900611281394958, + "error": 0.3349609375, + "gradient_norm": 0.06593932211399078, + "elapsed": 1364.2754452228546 + }, + { + "step": 2000, + "loss": 0.6212430000305176, + "objective": 0.6212430000305176, + "error": 0.3857421875, + "gradient_norm": 0.040818918496370316, + "elapsed": 1374.7192046642303 + }, + { + "step": 2016, + "loss": 0.15605247020721436, + "objective": 0.15605247020721436, + "error": 0.0556640625, + "gradient_norm": 0.03108786791563034, + "elapsed": 1386.2740807533264 + }, + { + "step": 2032, + "loss": 0.22049596905708313, + "objective": 0.22049596905708313, + "error": 0.1015625, + "gradient_norm": 0.042733557522296906, + "elapsed": 1396.6422457695007 + }, + { + "step": 2048, + "loss": 0.5642613172531128, + "objective": 0.5642613172531128, + "error": 0.306640625, + "gradient_norm": 0.07527482509613037, + "elapsed": 1407.6688070297241 + } + ] + }, + "derived_checkpoints": { + "mean3": { + "checkpoint_label": "mean3", + "kind": "uniform_parameter_average", + "optimizer_updates_in_derived_run": 0, + "source_run": "full3_1", + "source_optimizer_steps": [ + 1024, + 1536, + 2048 + ], + "source_weights_sha256": { + "1024": "22adf2425bbfb872e814227799b725f78618bccf68410935470e6c37d159a6b7", + "1536": "fb250c19cf7bb00741b6d862b8f646a2c8ab88397bb03c7bafc9085f9347eca5", + "2048": "b93c1367dfeb0e32b2add76b1abeb3f12d4d9f8145d0f13d8d5b17ca882ba3b5" + }, + "source_checkpoint_records": { + "1024": { + "step": 1024, + "training_samples": 1048576, + "unique_training_rows_seen_in_this_phase": 446179, + "weights_sha256": "22adf2425bbfb872e814227799b725f78618bccf68410935470e6c37d159a6b7", + "complete": true + }, + "1536": { + "step": 1536, + "training_samples": 1572864, + "unique_training_rows_seen_in_this_phase": 490266, + "weights_sha256": "fb250c19cf7bb00741b6d862b8f646a2c8ab88397bb03c7bafc9085f9347eca5", + "complete": true + }, + "2048": { + "step": 2048, + "training_samples": 2097152, + "unique_training_rows_seen_in_this_phase": 507282, + "weights_sha256": "b93c1367dfeb0e32b2add76b1abeb3f12d4d9f8145d0f13d8d5b17ca882ba3b5", + "complete": true + } + }, + "weights_sha256": "ce5951e7095a9912dc74719254f2fcf9654f219078392b7acf7a8545e6f9f3f4", + "complete": true + }, + "mean4": { + "checkpoint_label": "mean4", + "kind": "uniform_parameter_average", + "optimizer_updates_in_derived_run": 0, + "source_run": "full3_1", + "source_optimizer_steps": [ + 512, + 1024, + 1536, + 2048 + ], + "source_weights_sha256": { + "512": "d4194b40470453e5df9b75e12326cbbd0e6845946870bb0d53a2cbbdd6ea32dc", + "1024": "22adf2425bbfb872e814227799b725f78618bccf68410935470e6c37d159a6b7", + "1536": "fb250c19cf7bb00741b6d862b8f646a2c8ab88397bb03c7bafc9085f9347eca5", + "2048": "b93c1367dfeb0e32b2add76b1abeb3f12d4d9f8145d0f13d8d5b17ca882ba3b5" + }, + "source_checkpoint_records": { + "512": { + "step": 512, + "training_samples": 524288, + "unique_training_rows_seen_in_this_phase": 324661, + "weights_sha256": "d4194b40470453e5df9b75e12326cbbd0e6845946870bb0d53a2cbbdd6ea32dc", + "complete": true + }, + "1024": { + "step": 1024, + "training_samples": 1048576, + "unique_training_rows_seen_in_this_phase": 446179, + "weights_sha256": "22adf2425bbfb872e814227799b725f78618bccf68410935470e6c37d159a6b7", + "complete": true + }, + "1536": { + "step": 1536, + "training_samples": 1572864, + "unique_training_rows_seen_in_this_phase": 490266, + "weights_sha256": "fb250c19cf7bb00741b6d862b8f646a2c8ab88397bb03c7bafc9085f9347eca5", + "complete": true + }, + "2048": { + "step": 2048, + "training_samples": 2097152, + "unique_training_rows_seen_in_this_phase": 507282, + "weights_sha256": "b93c1367dfeb0e32b2add76b1abeb3f12d4d9f8145d0f13d8d5b17ca882ba3b5", + "complete": true + } + }, + "weights_sha256": "ff5a023ce2c18be7c29f810a3788a450e3ad3ad2237d6e9448923aa6a28c5074", + "complete": true + } + }, + "selection": "Predefined averages of the last3 or all4 saved noninitial full3_1 checkpoints; evaluate every validation condition before selecting", + "test_data_used": false, + "derivation_source_sha256": "08c498d6952b0380e001371df9a0461a483631a301f93747b821e529e72b349d" + }, + "training_source_snapshot": "training_sources/full3_swa", + "selection": "Minimum full-validation condition-mean failure per basis group over incumbent, listed neural checkpoints and equal probability averages with the recorded physical decoder.", + "physical_prediction_reference": "/run-state/workspace/research/context_upgrades/turbo1/predictions", + "prior_pass": 3, + "history": [ + { + "group": "d5_bX_center_5_5", + "candidates": { + "incumbent": 0.23290264423076928, + "mean3": 0.2335186298076923, + "blend-mean3": 0.2325420673076923, + "mean4": 0.23326322115384618, + "blend-mean4": 0.23300781250000002 + }, + "selected": "blend-mean3" + }, + { + "group": "d5_bZ_center_5_5", + "candidates": { + "incumbent": 0.22017728365384615, + "mean3": 0.22037259615384613, + "blend-mean3": 0.22091346153846153, + "mean4": 0.2205528846153846, + "blend-mean4": 0.22100360576923078 + }, + "selected": "incumbent" + } + ], + "checkpoints": { + "mean3": { + "checkpoint_label": "mean3", + "kind": "uniform_parameter_average", + "optimizer_updates_in_derived_run": 0, + "source_run": "full3_1", + "source_optimizer_steps": [ + 1024, + 1536, + 2048 + ], + "source_weights_sha256": { + "1024": "22adf2425bbfb872e814227799b725f78618bccf68410935470e6c37d159a6b7", + "1536": "fb250c19cf7bb00741b6d862b8f646a2c8ab88397bb03c7bafc9085f9347eca5", + "2048": "b93c1367dfeb0e32b2add76b1abeb3f12d4d9f8145d0f13d8d5b17ca882ba3b5" + }, + "source_checkpoint_records": { + "1024": { + "step": 1024, + "training_samples": 1048576, + "unique_training_rows_seen_in_this_phase": 446179, + "weights_sha256": "22adf2425bbfb872e814227799b725f78618bccf68410935470e6c37d159a6b7", + "complete": true + }, + "1536": { + "step": 1536, + "training_samples": 1572864, + "unique_training_rows_seen_in_this_phase": 490266, + "weights_sha256": "fb250c19cf7bb00741b6d862b8f646a2c8ab88397bb03c7bafc9085f9347eca5", + "complete": true + }, + "2048": { + "step": 2048, + "training_samples": 2097152, + "unique_training_rows_seen_in_this_phase": 507282, + "weights_sha256": "b93c1367dfeb0e32b2add76b1abeb3f12d4d9f8145d0f13d8d5b17ca882ba3b5", + "complete": true + } + }, + "weights_sha256": "ce5951e7095a9912dc74719254f2fcf9654f219078392b7acf7a8545e6f9f3f4", + "complete": true + } + }, + "runtime": "Share physical priors when the conditioning pass and regime agree; otherwise recompute the neural prior independently. Last-only physical branches omit logical tracking in intermediate passes when intermediate probabilities are unused.", + "last_only_equivalence_controls": [ + { + "condition": "surface_code_bX_d5_r03_center_5_5", + "maximum_probability_difference": 7.450580596923828e-07 + }, + { + "condition": "surface_code_bZ_d5_r03_center_5_5", + "maximum_probability_difference": 5.960464477539063e-08 + }, + { + "condition": "surface_code_bX_d5_r25_center_5_5", + "maximum_probability_difference": 5.960464477539063e-08 + }, + { + "condition": "surface_code_bZ_d5_r25_center_5_5", + "maximum_probability_difference": 1.7881393432617188e-07 + } + ], + "test_data_used": false + } + ], + "short_syndrome_updates": [ + { + "training": { + "initialization": "256 residual logits per condition initialized independently Normal(0,.01), seeds20261126 through20261133; optimized in this session", + "architecture": "One categorical residual per possible8-bit detection syndrome, added to an exact physical DEM logit; no sample IDs or row indices are model features", + "loss": "Binomial logical BCE sufficient statistics plus strength times cross entropy to the fixed physical prior; damped Newton optimization from random residual initialization", + "fixed_prior": "Exact full-DEM probabilities for all256 possible input syndromes, computed now from the authorized packaged even-fitted DEM plans; no external trained weights or decoder answers", + "training": "All19880 supplied training labels for each of eight d3 one-round conditions; only aggregate counts by detection syndrome enter fitting", + "data_scope": "This is a finite categorical classifier, indexed by detection events, not a per-shot answer table. Other122 conditions retain the incumbent in any candidate benchmark.", + "selection": "One common strength and optional equal probability blend for all eight geometries/bases, minimizing full validation mean; all other conditions unchanged", + "base_package": { + "package": "/run-state/workspace/research/context_upgrades/neural_d5_full3_swa/package", + "predictions": "/run-state/workspace/research/context_upgrades/neural_d5_full3_swa/predictions", + "score": "/run-state/workspace/research/context_upgrades/neural_d5_full3_swa/score.json", + "P": 0.7663217397836538 + }, + "test_data_used": false, + "training_records": [ + { + "condition": "surface_code_bX_d3_r01_center_3_5", + "training_shots": 19880, + "observed_syndromes": 149, + "initial_seed": 20261126, + "physical_plan_sha256": "640c371577096ba08c799b70fd16d03a06a37004feaa15c85c4cb6ef87529080", + "training_arrays_sha256": "a7acd6f6e5372873cf2d34946876a791996238efdea39f7fa33f7d2eabc1c10f" + }, + { + "condition": "surface_code_bX_d3_r01_center_5_3", + "training_shots": 19880, + "observed_syndromes": 157, + "initial_seed": 20261127, + "physical_plan_sha256": "4a0f8f630b7f34fba620a4e03bd77e14fb80149e70b7da80b6176dbd24d9ddc8", + "training_arrays_sha256": "0e2267afc5dc4e761d3b9e09288875f2077215fac2f902ce4151699c38c24531" + }, + { + "condition": "surface_code_bX_d3_r01_center_5_7", + "training_shots": 19880, + "observed_syndromes": 152, + "initial_seed": 20261128, + "physical_plan_sha256": "de8914194be7689d70e9424540923197a5c0465fb42ec96556df97b73ba250c1", + "training_arrays_sha256": "0542609248a5d2c8b410666bb901361b60c39cb8b32b3b46fdd24a6c7913db56" + }, + { + "condition": "surface_code_bX_d3_r01_center_7_5", + "training_shots": 19880, + "observed_syndromes": 147, + "initial_seed": 20261129, + "physical_plan_sha256": "bc1a6888cc5a854f0348cab463b8879c2d176d9509176b944b7f4265e0772ab3", + "training_arrays_sha256": "ccd43f09fba55b2138a5401e6f5c89cc7b4c4ec470a07cd037d9f715acaa1188" + }, + { + "condition": "surface_code_bZ_d3_r01_center_3_5", + "training_shots": 19880, + "observed_syndromes": 153, + "initial_seed": 20261130, + "physical_plan_sha256": "1931b5b85d0014c2a928a40c3ec502316ff30ea1632a25c5f64e2694f828434b", + "training_arrays_sha256": "aa27eee730c88b2071b5fd97f9d47a0f3ad010e29202415f786babc073d405e4" + }, + { + "condition": "surface_code_bZ_d3_r01_center_5_3", + "training_shots": 19880, + "observed_syndromes": 159, + "initial_seed": 20261131, + "physical_plan_sha256": "6d231f857bbe85040c91af1160c2dda16557a67851deaedc8092412f6abeb294", + "training_arrays_sha256": "569131ce49a2c1060ebd472c0290fc0c1de6e522cd7cd7aa92b10e17cdd1783c" + }, + { + "condition": "surface_code_bZ_d3_r01_center_5_7", + "training_shots": 19880, + "observed_syndromes": 158, + "initial_seed": 20261132, + "physical_plan_sha256": "ef285cea44ad63e0452596d4be65c8844ea8a7dcc49fb31b6a6241d367ed63eb", + "training_arrays_sha256": "6928ade685b05f76b7a3a9dc6423504d0bdce09742603c24978aa21fcf106f88" + }, + { + "condition": "surface_code_bZ_d3_r01_center_7_5", + "training_shots": 19880, + "observed_syndromes": 160, + "initial_seed": 20261133, + "physical_plan_sha256": "82bee01cf3e00079270a27cb79472322867548df5c9dc4db3252e4c6ec89e6a6", + "training_arrays_sha256": "afbc73fc5ca8e3b8e996377ab3df5a5b9397f36362e72c01feea7848ea1995f3" + } + ], + "records": [ + { + "condition": "surface_code_bX_d3_r01_center_3_5", + "prior_strength": 16, + "seed": 20261126, + "iterations": 8, + "failure": 0.0134765625, + "blended_failure": 0.013671875, + "incumbent_failure": 0.0134765625, + "negative_log_likelihood": 0.04649575086997129, + "weights_sha256": "d985985dedbe644bfae165330f4f46da14d04efbc4cad1af81c5510115380701" + }, + { + "condition": "surface_code_bX_d3_r01_center_3_5", + "prior_strength": 64, + "seed": 20261126, + "iterations": 6, + "failure": 0.0140625, + "blended_failure": 0.0140625, + "incumbent_failure": 0.0134765625, + "negative_log_likelihood": 0.04591998541695955, + "weights_sha256": "17383d153dd1dfef62b3d4f6c5b7549c3209150faf0714e78fede09b941ecc3a" + }, + { + "condition": "surface_code_bX_d3_r01_center_3_5", + "prior_strength": 256, + "seed": 20261126, + "iterations": 5, + "failure": 0.0140625, + "blended_failure": 0.0140625, + "incumbent_failure": 0.0134765625, + "negative_log_likelihood": 0.0458401737684183, + "weights_sha256": "f863a64ca698135f6fac6ac184d3c689db684a15d73bf0565418b240d76b5c58" + }, + { + "condition": "surface_code_bX_d3_r01_center_3_5", + "prior_strength": 1024, + "seed": 20261126, + "iterations": 5, + "failure": 0.0140625, + "blended_failure": 0.0140625, + "incumbent_failure": 0.0134765625, + "negative_log_likelihood": 0.045887733186657405, + "weights_sha256": "ded1a941e0dfc58e55ced6523720445fb70032d2d15c9929b0c93544f7c567f8" + }, + { + "condition": "surface_code_bX_d3_r01_center_5_3", + "prior_strength": 16, + "seed": 20261127, + "iterations": 8, + "failure": 0.0177734375, + "blended_failure": 0.0177734375, + "incumbent_failure": 0.0193359375, + "negative_log_likelihood": 0.05532273244895745, + "weights_sha256": "02950043334a38d3e7980cc97685904338553746653bd2d6a4c9be88ae845270" + }, + { + "condition": "surface_code_bX_d3_r01_center_5_3", + "prior_strength": 64, + "seed": 20261127, + "iterations": 6, + "failure": 0.01875, + "blended_failure": 0.0193359375, + "incumbent_failure": 0.0193359375, + "negative_log_likelihood": 0.055166841080990084, + "weights_sha256": "412ee1f453695e4f3534dbe8d7eb1ca565d06fd7c718b52fe9a306b35e845d9d" + }, + { + "condition": "surface_code_bX_d3_r01_center_5_3", + "prior_strength": 256, + "seed": 20261127, + "iterations": 5, + "failure": 0.01953125, + "blended_failure": 0.0193359375, + "incumbent_failure": 0.0193359375, + "negative_log_likelihood": 0.055186840974757456, + "weights_sha256": "12d8f72c2ee5cb837145aaf9a1b485d8517e4374721eebcbea9803d3bfdc8fcd" + }, + { + "condition": "surface_code_bX_d3_r01_center_5_3", + "prior_strength": 1024, + "seed": 20261127, + "iterations": 4, + "failure": 0.01953125, + "blended_failure": 0.0193359375, + "incumbent_failure": 0.0193359375, + "negative_log_likelihood": 0.05544033886527203, + "weights_sha256": "d1daa90794c1c3c8cd00134d9b22a7173aee4dd9b139b86f6d3f9b8f2131056d" + }, + { + "condition": "surface_code_bX_d3_r01_center_5_7", + "prior_strength": 16, + "seed": 20261128, + "iterations": 7, + "failure": 0.015234375, + "blended_failure": 0.0158203125, + "incumbent_failure": 0.0158203125, + "negative_log_likelihood": 0.049592331750930654, + "weights_sha256": "ad21a8640e2fe7bbd550225e354dedcbad8cb70433b892f45d28fa2346ab88de" + }, + { + "condition": "surface_code_bX_d3_r01_center_5_7", + "prior_strength": 64, + "seed": 20261128, + "iterations": 6, + "failure": 0.015234375, + "blended_failure": 0.0158203125, + "incumbent_failure": 0.0158203125, + "negative_log_likelihood": 0.04900882633372332, + "weights_sha256": "4664564f60149b00b1754a3f9e91c8b04b29ef819b231bf17ea7588346433a57" + }, + { + "condition": "surface_code_bX_d3_r01_center_5_7", + "prior_strength": 256, + "seed": 20261128, + "iterations": 6, + "failure": 0.015234375, + "blended_failure": 0.0158203125, + "incumbent_failure": 0.0158203125, + "negative_log_likelihood": 0.04861554683295004, + "weights_sha256": "cad51322361a95020501afa64e356f2a49dd02afa0cd91294d4498f7eb0c5a8d" + }, + { + "condition": "surface_code_bX_d3_r01_center_5_7", + "prior_strength": 1024, + "seed": 20261128, + "iterations": 6, + "failure": 0.015234375, + "blended_failure": 0.0158203125, + "incumbent_failure": 0.0158203125, + "negative_log_likelihood": 0.04843255984360956, + "weights_sha256": "5fe850e6313cb9ed6631697684afeeb7b7c5857a5c74fad66189cfcf8a08218b" + }, + { + "condition": "surface_code_bX_d3_r01_center_7_5", + "prior_strength": 16, + "seed": 20261129, + "iterations": 7, + "failure": 0.0158203125, + "blended_failure": 0.0158203125, + "incumbent_failure": 0.01484375, + "negative_log_likelihood": 0.05156220348280275, + "weights_sha256": "56c2fd4a7c35033084020cd1f5c9dcc2ab1cf2c631d0e88cc87ac4c715c6af17" + }, + { + "condition": "surface_code_bX_d3_r01_center_7_5", + "prior_strength": 64, + "seed": 20261129, + "iterations": 6, + "failure": 0.0154296875, + "blended_failure": 0.0154296875, + "incumbent_failure": 0.01484375, + "negative_log_likelihood": 0.05139675960346585, + "weights_sha256": "0bf66368e18c8d1baecaa614d4c0cec16304ac14bcd29d22d1cdb2a0ff6c0173" + }, + { + "condition": "surface_code_bX_d3_r01_center_7_5", + "prior_strength": 256, + "seed": 20261129, + "iterations": 6, + "failure": 0.0154296875, + "blended_failure": 0.0154296875, + "incumbent_failure": 0.01484375, + "negative_log_likelihood": 0.05135569004239689, + "weights_sha256": "d9581a6f29f9d3ea54d482c17995a37b55e3b4253d36e1d49cfce95b398eb5c2" + }, + { + "condition": "surface_code_bX_d3_r01_center_7_5", + "prior_strength": 1024, + "seed": 20261129, + "iterations": 6, + "failure": 0.0154296875, + "blended_failure": 0.0154296875, + "incumbent_failure": 0.01484375, + "negative_log_likelihood": 0.05141882723288258, + "weights_sha256": "2c4e4592067fcbbe69d6ede68c4494209652a2d510e74aa2ea3b4420c3cdd741" + }, + { + "condition": "surface_code_bZ_d3_r01_center_3_5", + "prior_strength": 16, + "seed": 20261130, + "iterations": 7, + "failure": 0.0173828125, + "blended_failure": 0.0173828125, + "incumbent_failure": 0.016796875, + "negative_log_likelihood": 0.054216247940585036, + "weights_sha256": "7b12f028f764293a9496d9fd2ddbf92ba9c23653d7889a602a9ec23f8cde3d6b" + }, + { + "condition": "surface_code_bZ_d3_r01_center_3_5", + "prior_strength": 64, + "seed": 20261130, + "iterations": 6, + "failure": 0.017578125, + "blended_failure": 0.0171875, + "incumbent_failure": 0.016796875, + "negative_log_likelihood": 0.05364509063427466, + "weights_sha256": "1ad2ffaafa33009129a0953d79fe2d30ad62308eb9dbf8da0b76eca018a5b55a" + }, + { + "condition": "surface_code_bZ_d3_r01_center_3_5", + "prior_strength": 256, + "seed": 20261130, + "iterations": 5, + "failure": 0.0171875, + "blended_failure": 0.016796875, + "incumbent_failure": 0.016796875, + "negative_log_likelihood": 0.05368896256105915, + "weights_sha256": "64619c9b7bd40a14651bcd056d58f5b55e79eb334a4e5105ff12cb7ff6f2400a" + }, + { + "condition": "surface_code_bZ_d3_r01_center_3_5", + "prior_strength": 1024, + "seed": 20261130, + "iterations": 6, + "failure": 0.0171875, + "blended_failure": 0.016796875, + "incumbent_failure": 0.016796875, + "negative_log_likelihood": 0.05387292464104988, + "weights_sha256": "b1490702e212d7cdcc936f55186b15411ced3a8928a1a32f2d4ac1212706fabf" + }, + { + "condition": "surface_code_bZ_d3_r01_center_5_3", + "prior_strength": 16, + "seed": 20261131, + "iterations": 8, + "failure": 0.0125, + "blended_failure": 0.0125, + "incumbent_failure": 0.0125, + "negative_log_likelihood": 0.04709647994869577, + "weights_sha256": "eb56715dfc5e8c6b8866ceeb2636422acad9992dd2c625355dc21b94c25351f0" + }, + { + "condition": "surface_code_bZ_d3_r01_center_5_3", + "prior_strength": 64, + "seed": 20261131, + "iterations": 6, + "failure": 0.0125, + "blended_failure": 0.0125, + "incumbent_failure": 0.0125, + "negative_log_likelihood": 0.046679107084477436, + "weights_sha256": "320cd10cc8cd9d13d20d9ce0ea90413ed8343587f0c77abb0e1c8c84503aa2d8" + }, + { + "condition": "surface_code_bZ_d3_r01_center_5_3", + "prior_strength": 256, + "seed": 20261131, + "iterations": 5, + "failure": 0.0125, + "blended_failure": 0.0125, + "incumbent_failure": 0.0125, + "negative_log_likelihood": 0.04621785858320204, + "weights_sha256": "c7e63309de0668bd4d5c05169ecd6af1879c88be10947d0fdb958ca37068d433" + }, + { + "condition": "surface_code_bZ_d3_r01_center_5_3", + "prior_strength": 1024, + "seed": 20261131, + "iterations": 4, + "failure": 0.0125, + "blended_failure": 0.0125, + "incumbent_failure": 0.0125, + "negative_log_likelihood": 0.04577880173787941, + "weights_sha256": "494824e979e52fbf0302e706ff6786d89ce60b607afd6b376cad9700f328feda" + }, + { + "condition": "surface_code_bZ_d3_r01_center_5_7", + "prior_strength": 16, + "seed": 20261132, + "iterations": 7, + "failure": 0.01484375, + "blended_failure": 0.014453125, + "incumbent_failure": 0.014453125, + "negative_log_likelihood": 0.05068038016752655, + "weights_sha256": "0b4c35df1d44c9353a2ea505205f3def95bb28de0c7052ded18cf599bef2709b" + }, + { + "condition": "surface_code_bZ_d3_r01_center_5_7", + "prior_strength": 64, + "seed": 20261132, + "iterations": 6, + "failure": 0.014453125, + "blended_failure": 0.014453125, + "incumbent_failure": 0.014453125, + "negative_log_likelihood": 0.049663607204405706, + "weights_sha256": "b18deed32b51a58789873a1b45718f5c40d1d9500b57e113520b700a66902f1a" + }, + { + "condition": "surface_code_bZ_d3_r01_center_5_7", + "prior_strength": 256, + "seed": 20261132, + "iterations": 5, + "failure": 0.014453125, + "blended_failure": 0.014453125, + "incumbent_failure": 0.014453125, + "negative_log_likelihood": 0.04918133832768282, + "weights_sha256": "12e71625e223602cbc9f7ae150473a1dad2c32f2d9221a4b88ccb93babc2c41d" + }, + { + "condition": "surface_code_bZ_d3_r01_center_5_7", + "prior_strength": 1024, + "seed": 20261132, + "iterations": 6, + "failure": 0.014453125, + "blended_failure": 0.014453125, + "incumbent_failure": 0.014453125, + "negative_log_likelihood": 0.049002647954447996, + "weights_sha256": "e909b83698caba60ad01e28027b28005544cd8e795f88574fc6f81bcf56b2add" + }, + { + "condition": "surface_code_bZ_d3_r01_center_7_5", + "prior_strength": 16, + "seed": 20261133, + "iterations": 7, + "failure": 0.016015625, + "blended_failure": 0.016015625, + "incumbent_failure": 0.01640625, + "negative_log_likelihood": 0.05204562159505248, + "weights_sha256": "b03b071238dda333574a4da2d9b2bb999cf362a83b9194b1c53871e9438f9f45" + }, + { + "condition": "surface_code_bZ_d3_r01_center_7_5", + "prior_strength": 64, + "seed": 20261133, + "iterations": 6, + "failure": 0.016015625, + "blended_failure": 0.016015625, + "incumbent_failure": 0.01640625, + "negative_log_likelihood": 0.05177096705064832, + "weights_sha256": "2a4c8113ee9a1dadcfc0f1b7ff8d164e7c8771d5764b0512ee1a5de2a8aaa395" + }, + { + "condition": "surface_code_bZ_d3_r01_center_7_5", + "prior_strength": 256, + "seed": 20261133, + "iterations": 6, + "failure": 0.016015625, + "blended_failure": 0.01640625, + "incumbent_failure": 0.01640625, + "negative_log_likelihood": 0.051861030681133645, + "weights_sha256": "f201491af84870ffa8c1b59e16dea1fea910e7fda32f0e3d82863943222b57ee" + }, + { + "condition": "surface_code_bZ_d3_r01_center_7_5", + "prior_strength": 1024, + "seed": 20261133, + "iterations": 6, + "failure": 0.01640625, + "blended_failure": 0.01640625, + "incumbent_failure": 0.01640625, + "negative_log_likelihood": 0.05206536190640361, + "weights_sha256": "b7cfd76b6574457626306868e31ab5327a1950cbbca41f6384eb2c4bc759e800" + } + ], + "choices": { + "incumbent": 0.0154541015625, + "16": 0.015380859375, + "blend-16": 0.015429687499999999, + "64": 0.0155029296875, + "blend-64": 0.015600585937500001, + "256": 0.0155517578125, + "blend-256": 0.015600585937500001, + "1024": 0.0156005859375, + "blend-1024": 0.015600585937500001 + }, + "selected": "16", + "expected_full_P": 0.7663245567908653, + "validation_P_gain": 2.817007211538435e-06, + "source_sha256": "7e75f14190b18b05e9af540a8ef0f75522060e78c30b05475686ea18faf0035f", + "seconds": 3.316046953201294 + }, + "packaging_selection": { + "incumbent": 0.0154541015625, + "16": 0.015380859375, + "64": 0.0155029296875, + "256": 0.0155517578125, + "1024": 0.0156005859375 + }, + "selected": "16", + "selection_scope": "One common prior strength for all eight short conditions; other122 condition predictions retained", + "runtime_source_sha256": "451ce740551f9e13348064f2e726e7e31a611b64bcf5d95def601deb78e854af" + }, + { + "training": { + "initialization": "256 residual logits per condition initialized independently Normal(0,.01), seeds20261126 through20261133; optimized in this session", + "architecture": "One categorical residual per possible8-bit detection syndrome, added to an exact physical DEM logit; no sample IDs or row indices are model features", + "loss": "Binomial logical BCE sufficient statistics plus strength times cross entropy to the fixed physical prior; damped Newton optimization from random residual initialization", + "fixed_prior": "Exact full-DEM probabilities for all256 possible input syndromes, computed now from the authorized packaged even-fitted DEM plans; no external trained weights or decoder answers", + "training": "All19880 supplied training labels for each of eight d3 one-round conditions; only aggregate counts by detection syndrome enter fitting", + "data_scope": "This is a finite categorical classifier, indexed by detection events, not a per-shot answer table. Other122 conditions retain the incumbent in any candidate benchmark.", + "selection": "One common strength and optional equal probability blend for all eight geometries/bases, minimizing full validation mean; all other conditions unchanged", + "base_package": { + "package": "/run-state/workspace/research/context_upgrades/neural_d5_full3_swa/package", + "predictions": "/run-state/workspace/research/context_upgrades/neural_d5_full3_swa/predictions", + "score": "/run-state/workspace/research/context_upgrades/neural_d5_full3_swa/score.json", + "P": 0.7663217397836538 + }, + "test_data_used": false, + "training_records": [ + { + "condition": "surface_code_bX_d3_r01_center_3_5", + "training_shots": 19880, + "observed_syndromes": 149, + "initial_seed": 20261126, + "physical_plan_sha256": "640c371577096ba08c799b70fd16d03a06a37004feaa15c85c4cb6ef87529080", + "training_arrays_sha256": "a7acd6f6e5372873cf2d34946876a791996238efdea39f7fa33f7d2eabc1c10f" + }, + { + "condition": "surface_code_bX_d3_r01_center_5_3", + "training_shots": 19880, + "observed_syndromes": 157, + "initial_seed": 20261127, + "physical_plan_sha256": "4a0f8f630b7f34fba620a4e03bd77e14fb80149e70b7da80b6176dbd24d9ddc8", + "training_arrays_sha256": "0e2267afc5dc4e761d3b9e09288875f2077215fac2f902ce4151699c38c24531" + }, + { + "condition": "surface_code_bX_d3_r01_center_5_7", + "training_shots": 19880, + "observed_syndromes": 152, + "initial_seed": 20261128, + "physical_plan_sha256": "de8914194be7689d70e9424540923197a5c0465fb42ec96556df97b73ba250c1", + "training_arrays_sha256": "0542609248a5d2c8b410666bb901361b60c39cb8b32b3b46fdd24a6c7913db56" + }, + { + "condition": "surface_code_bX_d3_r01_center_7_5", + "training_shots": 19880, + "observed_syndromes": 147, + "initial_seed": 20261129, + "physical_plan_sha256": "bc1a6888cc5a854f0348cab463b8879c2d176d9509176b944b7f4265e0772ab3", + "training_arrays_sha256": "ccd43f09fba55b2138a5401e6f5c89cc7b4c4ec470a07cd037d9f715acaa1188" + }, + { + "condition": "surface_code_bZ_d3_r01_center_3_5", + "training_shots": 19880, + "observed_syndromes": 153, + "initial_seed": 20261130, + "physical_plan_sha256": "1931b5b85d0014c2a928a40c3ec502316ff30ea1632a25c5f64e2694f828434b", + "training_arrays_sha256": "aa27eee730c88b2071b5fd97f9d47a0f3ad010e29202415f786babc073d405e4" + }, + { + "condition": "surface_code_bZ_d3_r01_center_5_3", + "training_shots": 19880, + "observed_syndromes": 159, + "initial_seed": 20261131, + "physical_plan_sha256": "6d231f857bbe85040c91af1160c2dda16557a67851deaedc8092412f6abeb294", + "training_arrays_sha256": "569131ce49a2c1060ebd472c0290fc0c1de6e522cd7cd7aa92b10e17cdd1783c" + }, + { + "condition": "surface_code_bZ_d3_r01_center_5_7", + "training_shots": 19880, + "observed_syndromes": 158, + "initial_seed": 20261132, + "physical_plan_sha256": "ef285cea44ad63e0452596d4be65c8844ea8a7dcc49fb31b6a6241d367ed63eb", + "training_arrays_sha256": "6928ade685b05f76b7a3a9dc6423504d0bdce09742603c24978aa21fcf106f88" + }, + { + "condition": "surface_code_bZ_d3_r01_center_7_5", + "training_shots": 19880, + "observed_syndromes": 160, + "initial_seed": 20261133, + "physical_plan_sha256": "82bee01cf3e00079270a27cb79472322867548df5c9dc4db3252e4c6ec89e6a6", + "training_arrays_sha256": "afbc73fc5ca8e3b8e996377ab3df5a5b9397f36362e72c01feea7848ea1995f3" + } + ], + "records": [ + { + "condition": "surface_code_bX_d3_r01_center_3_5", + "prior_strength": 16, + "seed": 20261126, + "iterations": 8, + "failure": 0.0134765625, + "blended_failure": 0.013671875, + "incumbent_failure": 0.0134765625, + "negative_log_likelihood": 0.04649575086997129, + "weights_sha256": "d985985dedbe644bfae165330f4f46da14d04efbc4cad1af81c5510115380701" + }, + { + "condition": "surface_code_bX_d3_r01_center_3_5", + "prior_strength": 64, + "seed": 20261126, + "iterations": 6, + "failure": 0.0140625, + "blended_failure": 0.0140625, + "incumbent_failure": 0.0134765625, + "negative_log_likelihood": 0.04591998541695955, + "weights_sha256": "17383d153dd1dfef62b3d4f6c5b7549c3209150faf0714e78fede09b941ecc3a" + }, + { + "condition": "surface_code_bX_d3_r01_center_3_5", + "prior_strength": 256, + "seed": 20261126, + "iterations": 5, + "failure": 0.0140625, + "blended_failure": 0.0140625, + "incumbent_failure": 0.0134765625, + "negative_log_likelihood": 0.0458401737684183, + "weights_sha256": "f863a64ca698135f6fac6ac184d3c689db684a15d73bf0565418b240d76b5c58" + }, + { + "condition": "surface_code_bX_d3_r01_center_3_5", + "prior_strength": 1024, + "seed": 20261126, + "iterations": 5, + "failure": 0.0140625, + "blended_failure": 0.0140625, + "incumbent_failure": 0.0134765625, + "negative_log_likelihood": 0.045887733186657405, + "weights_sha256": "ded1a941e0dfc58e55ced6523720445fb70032d2d15c9929b0c93544f7c567f8" + }, + { + "condition": "surface_code_bX_d3_r01_center_5_3", + "prior_strength": 16, + "seed": 20261127, + "iterations": 8, + "failure": 0.0177734375, + "blended_failure": 0.0177734375, + "incumbent_failure": 0.0193359375, + "negative_log_likelihood": 0.05532273244895745, + "weights_sha256": "02950043334a38d3e7980cc97685904338553746653bd2d6a4c9be88ae845270" + }, + { + "condition": "surface_code_bX_d3_r01_center_5_3", + "prior_strength": 64, + "seed": 20261127, + "iterations": 6, + "failure": 0.01875, + "blended_failure": 0.0193359375, + "incumbent_failure": 0.0193359375, + "negative_log_likelihood": 0.055166841080990084, + "weights_sha256": "412ee1f453695e4f3534dbe8d7eb1ca565d06fd7c718b52fe9a306b35e845d9d" + }, + { + "condition": "surface_code_bX_d3_r01_center_5_3", + "prior_strength": 256, + "seed": 20261127, + "iterations": 5, + "failure": 0.01953125, + "blended_failure": 0.0193359375, + "incumbent_failure": 0.0193359375, + "negative_log_likelihood": 0.055186840974757456, + "weights_sha256": "12d8f72c2ee5cb837145aaf9a1b485d8517e4374721eebcbea9803d3bfdc8fcd" + }, + { + "condition": "surface_code_bX_d3_r01_center_5_3", + "prior_strength": 1024, + "seed": 20261127, + "iterations": 4, + "failure": 0.01953125, + "blended_failure": 0.0193359375, + "incumbent_failure": 0.0193359375, + "negative_log_likelihood": 0.05544033886527203, + "weights_sha256": "d1daa90794c1c3c8cd00134d9b22a7173aee4dd9b139b86f6d3f9b8f2131056d" + }, + { + "condition": "surface_code_bX_d3_r01_center_5_7", + "prior_strength": 16, + "seed": 20261128, + "iterations": 7, + "failure": 0.015234375, + "blended_failure": 0.0158203125, + "incumbent_failure": 0.0158203125, + "negative_log_likelihood": 0.049592331750930654, + "weights_sha256": "ad21a8640e2fe7bbd550225e354dedcbad8cb70433b892f45d28fa2346ab88de" + }, + { + "condition": "surface_code_bX_d3_r01_center_5_7", + "prior_strength": 64, + "seed": 20261128, + "iterations": 6, + "failure": 0.015234375, + "blended_failure": 0.0158203125, + "incumbent_failure": 0.0158203125, + "negative_log_likelihood": 0.04900882633372332, + "weights_sha256": "4664564f60149b00b1754a3f9e91c8b04b29ef819b231bf17ea7588346433a57" + }, + { + "condition": "surface_code_bX_d3_r01_center_5_7", + "prior_strength": 256, + "seed": 20261128, + "iterations": 6, + "failure": 0.015234375, + "blended_failure": 0.0158203125, + "incumbent_failure": 0.0158203125, + "negative_log_likelihood": 0.04861554683295004, + "weights_sha256": "cad51322361a95020501afa64e356f2a49dd02afa0cd91294d4498f7eb0c5a8d" + }, + { + "condition": "surface_code_bX_d3_r01_center_5_7", + "prior_strength": 1024, + "seed": 20261128, + "iterations": 6, + "failure": 0.015234375, + "blended_failure": 0.0158203125, + "incumbent_failure": 0.0158203125, + "negative_log_likelihood": 0.04843255984360956, + "weights_sha256": "5fe850e6313cb9ed6631697684afeeb7b7c5857a5c74fad66189cfcf8a08218b" + }, + { + "condition": "surface_code_bX_d3_r01_center_7_5", + "prior_strength": 16, + "seed": 20261129, + "iterations": 7, + "failure": 0.0158203125, + "blended_failure": 0.0158203125, + "incumbent_failure": 0.01484375, + "negative_log_likelihood": 0.05156220348280275, + "weights_sha256": "56c2fd4a7c35033084020cd1f5c9dcc2ab1cf2c631d0e88cc87ac4c715c6af17" + }, + { + "condition": "surface_code_bX_d3_r01_center_7_5", + "prior_strength": 64, + "seed": 20261129, + "iterations": 6, + "failure": 0.0154296875, + "blended_failure": 0.0154296875, + "incumbent_failure": 0.01484375, + "negative_log_likelihood": 0.05139675960346585, + "weights_sha256": "0bf66368e18c8d1baecaa614d4c0cec16304ac14bcd29d22d1cdb2a0ff6c0173" + }, + { + "condition": "surface_code_bX_d3_r01_center_7_5", + "prior_strength": 256, + "seed": 20261129, + "iterations": 6, + "failure": 0.0154296875, + "blended_failure": 0.0154296875, + "incumbent_failure": 0.01484375, + "negative_log_likelihood": 0.05135569004239689, + "weights_sha256": "d9581a6f29f9d3ea54d482c17995a37b55e3b4253d36e1d49cfce95b398eb5c2" + }, + { + "condition": "surface_code_bX_d3_r01_center_7_5", + "prior_strength": 1024, + "seed": 20261129, + "iterations": 6, + "failure": 0.0154296875, + "blended_failure": 0.0154296875, + "incumbent_failure": 0.01484375, + "negative_log_likelihood": 0.05141882723288258, + "weights_sha256": "2c4e4592067fcbbe69d6ede68c4494209652a2d510e74aa2ea3b4420c3cdd741" + }, + { + "condition": "surface_code_bZ_d3_r01_center_3_5", + "prior_strength": 16, + "seed": 20261130, + "iterations": 7, + "failure": 0.0173828125, + "blended_failure": 0.0173828125, + "incumbent_failure": 0.016796875, + "negative_log_likelihood": 0.054216247940585036, + "weights_sha256": "7b12f028f764293a9496d9fd2ddbf92ba9c23653d7889a602a9ec23f8cde3d6b" + }, + { + "condition": "surface_code_bZ_d3_r01_center_3_5", + "prior_strength": 64, + "seed": 20261130, + "iterations": 6, + "failure": 0.017578125, + "blended_failure": 0.0171875, + "incumbent_failure": 0.016796875, + "negative_log_likelihood": 0.05364509063427466, + "weights_sha256": "1ad2ffaafa33009129a0953d79fe2d30ad62308eb9dbf8da0b76eca018a5b55a" + }, + { + "condition": "surface_code_bZ_d3_r01_center_3_5", + "prior_strength": 256, + "seed": 20261130, + "iterations": 5, + "failure": 0.0171875, + "blended_failure": 0.016796875, + "incumbent_failure": 0.016796875, + "negative_log_likelihood": 0.05368896256105915, + "weights_sha256": "64619c9b7bd40a14651bcd056d58f5b55e79eb334a4e5105ff12cb7ff6f2400a" + }, + { + "condition": "surface_code_bZ_d3_r01_center_3_5", + "prior_strength": 1024, + "seed": 20261130, + "iterations": 6, + "failure": 0.0171875, + "blended_failure": 0.016796875, + "incumbent_failure": 0.016796875, + "negative_log_likelihood": 0.05387292464104988, + "weights_sha256": "b1490702e212d7cdcc936f55186b15411ced3a8928a1a32f2d4ac1212706fabf" + }, + { + "condition": "surface_code_bZ_d3_r01_center_5_3", + "prior_strength": 16, + "seed": 20261131, + "iterations": 8, + "failure": 0.0125, + "blended_failure": 0.0125, + "incumbent_failure": 0.0125, + "negative_log_likelihood": 0.04709647994869577, + "weights_sha256": "eb56715dfc5e8c6b8866ceeb2636422acad9992dd2c625355dc21b94c25351f0" + }, + { + "condition": "surface_code_bZ_d3_r01_center_5_3", + "prior_strength": 64, + "seed": 20261131, + "iterations": 6, + "failure": 0.0125, + "blended_failure": 0.0125, + "incumbent_failure": 0.0125, + "negative_log_likelihood": 0.046679107084477436, + "weights_sha256": "320cd10cc8cd9d13d20d9ce0ea90413ed8343587f0c77abb0e1c8c84503aa2d8" + }, + { + "condition": "surface_code_bZ_d3_r01_center_5_3", + "prior_strength": 256, + "seed": 20261131, + "iterations": 5, + "failure": 0.0125, + "blended_failure": 0.0125, + "incumbent_failure": 0.0125, + "negative_log_likelihood": 0.04621785858320204, + "weights_sha256": "c7e63309de0668bd4d5c05169ecd6af1879c88be10947d0fdb958ca37068d433" + }, + { + "condition": "surface_code_bZ_d3_r01_center_5_3", + "prior_strength": 1024, + "seed": 20261131, + "iterations": 4, + "failure": 0.0125, + "blended_failure": 0.0125, + "incumbent_failure": 0.0125, + "negative_log_likelihood": 0.04577880173787941, + "weights_sha256": "494824e979e52fbf0302e706ff6786d89ce60b607afd6b376cad9700f328feda" + }, + { + "condition": "surface_code_bZ_d3_r01_center_5_7", + "prior_strength": 16, + "seed": 20261132, + "iterations": 7, + "failure": 0.01484375, + "blended_failure": 0.014453125, + "incumbent_failure": 0.014453125, + "negative_log_likelihood": 0.05068038016752655, + "weights_sha256": "0b4c35df1d44c9353a2ea505205f3def95bb28de0c7052ded18cf599bef2709b" + }, + { + "condition": "surface_code_bZ_d3_r01_center_5_7", + "prior_strength": 64, + "seed": 20261132, + "iterations": 6, + "failure": 0.014453125, + "blended_failure": 0.014453125, + "incumbent_failure": 0.014453125, + "negative_log_likelihood": 0.049663607204405706, + "weights_sha256": "b18deed32b51a58789873a1b45718f5c40d1d9500b57e113520b700a66902f1a" + }, + { + "condition": "surface_code_bZ_d3_r01_center_5_7", + "prior_strength": 256, + "seed": 20261132, + "iterations": 5, + "failure": 0.014453125, + "blended_failure": 0.014453125, + "incumbent_failure": 0.014453125, + "negative_log_likelihood": 0.04918133832768282, + "weights_sha256": "12e71625e223602cbc9f7ae150473a1dad2c32f2d9221a4b88ccb93babc2c41d" + }, + { + "condition": "surface_code_bZ_d3_r01_center_5_7", + "prior_strength": 1024, + "seed": 20261132, + "iterations": 6, + "failure": 0.014453125, + "blended_failure": 0.014453125, + "incumbent_failure": 0.014453125, + "negative_log_likelihood": 0.049002647954447996, + "weights_sha256": "e909b83698caba60ad01e28027b28005544cd8e795f88574fc6f81bcf56b2add" + }, + { + "condition": "surface_code_bZ_d3_r01_center_7_5", + "prior_strength": 16, + "seed": 20261133, + "iterations": 7, + "failure": 0.016015625, + "blended_failure": 0.016015625, + "incumbent_failure": 0.01640625, + "negative_log_likelihood": 0.05204562159505248, + "weights_sha256": "b03b071238dda333574a4da2d9b2bb999cf362a83b9194b1c53871e9438f9f45" + }, + { + "condition": "surface_code_bZ_d3_r01_center_7_5", + "prior_strength": 64, + "seed": 20261133, + "iterations": 6, + "failure": 0.016015625, + "blended_failure": 0.016015625, + "incumbent_failure": 0.01640625, + "negative_log_likelihood": 0.05177096705064832, + "weights_sha256": "2a4c8113ee9a1dadcfc0f1b7ff8d164e7c8771d5764b0512ee1a5de2a8aaa395" + }, + { + "condition": "surface_code_bZ_d3_r01_center_7_5", + "prior_strength": 256, + "seed": 20261133, + "iterations": 6, + "failure": 0.016015625, + "blended_failure": 0.01640625, + "incumbent_failure": 0.01640625, + "negative_log_likelihood": 0.051861030681133645, + "weights_sha256": "f201491af84870ffa8c1b59e16dea1fea910e7fda32f0e3d82863943222b57ee" + }, + { + "condition": "surface_code_bZ_d3_r01_center_7_5", + "prior_strength": 1024, + "seed": 20261133, + "iterations": 6, + "failure": 0.01640625, + "blended_failure": 0.01640625, + "incumbent_failure": 0.01640625, + "negative_log_likelihood": 0.05206536190640361, + "weights_sha256": "b7cfd76b6574457626306868e31ab5327a1950cbbca41f6384eb2c4bc759e800" + } + ], + "choices": { + "incumbent": 0.0154541015625, + "16": 0.015380859375, + "blend-16": 0.015429687499999999, + "64": 0.0155029296875, + "blend-64": 0.015600585937500001, + "256": 0.0155517578125, + "blend-256": 0.015600585937500001, + "1024": 0.0156005859375, + "blend-1024": 0.015600585937500001 + }, + "selected": "16", + "expected_full_P": 0.7663245567908653, + "validation_P_gain": 2.817007211538435e-06, + "source_sha256": "7e75f14190b18b05e9af540a8ef0f75522060e78c30b05475686ea18faf0035f", + "seconds": 3.316046953201294 + }, + "packaging_selection": { + "incumbent": 0.0154296875, + "16": 0.015380859375, + "64": 0.0155029296875, + "256": 0.0155517578125, + "1024": 0.0156005859375 + }, + "selected": "16", + "new_optimizer_updates": 0, + "selection_scope": "One common prior strength for all eight short conditions; other122 condition predictions retained", + "runtime_source_sha256": "451ce740551f9e13348064f2e726e7e31a611b64bcf5d95def601deb78e854af" + }, + { + "training": { + "initialization": "256 residual logits per condition initialized independently Normal(0,.01), seeds20261126 through20261133; optimized in this session", + "architecture": "One categorical residual per possible8-bit detection syndrome, added to an exact physical DEM logit; no sample IDs or row indices are model features", + "loss": "Binomial logical BCE sufficient statistics plus strength times cross entropy to the fixed physical prior; damped Newton optimization from random residual initialization", + "fixed_prior": "Exact full-DEM probabilities for all256 possible input syndromes, computed now from the authorized packaged even-fitted DEM plans; no external trained weights or decoder answers", + "training": "All19880 supplied training labels for each of eight d3 one-round conditions; only aggregate counts by detection syndrome enter fitting", + "data_scope": "This is a finite categorical classifier, indexed by detection events, not a per-shot answer table. Other122 conditions retain the incumbent in any candidate benchmark.", + "selection": "One common strength and optional equal probability blend for all eight geometries/bases, minimizing full validation mean; all other conditions unchanged", + "base_package": { + "package": "/run-state/workspace/research/context_upgrades/neural_d5_full3_swa/package", + "predictions": "/run-state/workspace/research/context_upgrades/neural_d5_full3_swa/predictions", + "score": "/run-state/workspace/research/context_upgrades/neural_d5_full3_swa/score.json", + "P": 0.7663217397836538 + }, + "test_data_used": false, + "training_records": [ + { + "condition": "surface_code_bX_d3_r01_center_3_5", + "training_shots": 19880, + "observed_syndromes": 149, + "initial_seed": 20261126, + "physical_plan_sha256": "640c371577096ba08c799b70fd16d03a06a37004feaa15c85c4cb6ef87529080", + "training_arrays_sha256": "a7acd6f6e5372873cf2d34946876a791996238efdea39f7fa33f7d2eabc1c10f" + }, + { + "condition": "surface_code_bX_d3_r01_center_5_3", + "training_shots": 19880, + "observed_syndromes": 157, + "initial_seed": 20261127, + "physical_plan_sha256": "4a0f8f630b7f34fba620a4e03bd77e14fb80149e70b7da80b6176dbd24d9ddc8", + "training_arrays_sha256": "0e2267afc5dc4e761d3b9e09288875f2077215fac2f902ce4151699c38c24531" + }, + { + "condition": "surface_code_bX_d3_r01_center_5_7", + "training_shots": 19880, + "observed_syndromes": 152, + "initial_seed": 20261128, + "physical_plan_sha256": "de8914194be7689d70e9424540923197a5c0465fb42ec96556df97b73ba250c1", + "training_arrays_sha256": "0542609248a5d2c8b410666bb901361b60c39cb8b32b3b46fdd24a6c7913db56" + }, + { + "condition": "surface_code_bX_d3_r01_center_7_5", + "training_shots": 19880, + "observed_syndromes": 147, + "initial_seed": 20261129, + "physical_plan_sha256": "bc1a6888cc5a854f0348cab463b8879c2d176d9509176b944b7f4265e0772ab3", + "training_arrays_sha256": "ccd43f09fba55b2138a5401e6f5c89cc7b4c4ec470a07cd037d9f715acaa1188" + }, + { + "condition": "surface_code_bZ_d3_r01_center_3_5", + "training_shots": 19880, + "observed_syndromes": 153, + "initial_seed": 20261130, + "physical_plan_sha256": "1931b5b85d0014c2a928a40c3ec502316ff30ea1632a25c5f64e2694f828434b", + "training_arrays_sha256": "aa27eee730c88b2071b5fd97f9d47a0f3ad010e29202415f786babc073d405e4" + }, + { + "condition": "surface_code_bZ_d3_r01_center_5_3", + "training_shots": 19880, + "observed_syndromes": 159, + "initial_seed": 20261131, + "physical_plan_sha256": "6d231f857bbe85040c91af1160c2dda16557a67851deaedc8092412f6abeb294", + "training_arrays_sha256": "569131ce49a2c1060ebd472c0290fc0c1de6e522cd7cd7aa92b10e17cdd1783c" + }, + { + "condition": "surface_code_bZ_d3_r01_center_5_7", + "training_shots": 19880, + "observed_syndromes": 158, + "initial_seed": 20261132, + "physical_plan_sha256": "ef285cea44ad63e0452596d4be65c8844ea8a7dcc49fb31b6a6241d367ed63eb", + "training_arrays_sha256": "6928ade685b05f76b7a3a9dc6423504d0bdce09742603c24978aa21fcf106f88" + }, + { + "condition": "surface_code_bZ_d3_r01_center_7_5", + "training_shots": 19880, + "observed_syndromes": 160, + "initial_seed": 20261133, + "physical_plan_sha256": "82bee01cf3e00079270a27cb79472322867548df5c9dc4db3252e4c6ec89e6a6", + "training_arrays_sha256": "afbc73fc5ca8e3b8e996377ab3df5a5b9397f36362e72c01feea7848ea1995f3" + } + ], + "records": [ + { + "condition": "surface_code_bX_d3_r01_center_3_5", + "prior_strength": 16, + "seed": 20261126, + "iterations": 8, + "failure": 0.0134765625, + "blended_failure": 0.013671875, + "incumbent_failure": 0.0134765625, + "negative_log_likelihood": 0.04649575086997129, + "weights_sha256": "d985985dedbe644bfae165330f4f46da14d04efbc4cad1af81c5510115380701" + }, + { + "condition": "surface_code_bX_d3_r01_center_3_5", + "prior_strength": 64, + "seed": 20261126, + "iterations": 6, + "failure": 0.0140625, + "blended_failure": 0.0140625, + "incumbent_failure": 0.0134765625, + "negative_log_likelihood": 0.04591998541695955, + "weights_sha256": "17383d153dd1dfef62b3d4f6c5b7549c3209150faf0714e78fede09b941ecc3a" + }, + { + "condition": "surface_code_bX_d3_r01_center_3_5", + "prior_strength": 256, + "seed": 20261126, + "iterations": 5, + "failure": 0.0140625, + "blended_failure": 0.0140625, + "incumbent_failure": 0.0134765625, + "negative_log_likelihood": 0.0458401737684183, + "weights_sha256": "f863a64ca698135f6fac6ac184d3c689db684a15d73bf0565418b240d76b5c58" + }, + { + "condition": "surface_code_bX_d3_r01_center_3_5", + "prior_strength": 1024, + "seed": 20261126, + "iterations": 5, + "failure": 0.0140625, + "blended_failure": 0.0140625, + "incumbent_failure": 0.0134765625, + "negative_log_likelihood": 0.045887733186657405, + "weights_sha256": "ded1a941e0dfc58e55ced6523720445fb70032d2d15c9929b0c93544f7c567f8" + }, + { + "condition": "surface_code_bX_d3_r01_center_5_3", + "prior_strength": 16, + "seed": 20261127, + "iterations": 8, + "failure": 0.0177734375, + "blended_failure": 0.0177734375, + "incumbent_failure": 0.0193359375, + "negative_log_likelihood": 0.05532273244895745, + "weights_sha256": "02950043334a38d3e7980cc97685904338553746653bd2d6a4c9be88ae845270" + }, + { + "condition": "surface_code_bX_d3_r01_center_5_3", + "prior_strength": 64, + "seed": 20261127, + "iterations": 6, + "failure": 0.01875, + "blended_failure": 0.0193359375, + "incumbent_failure": 0.0193359375, + "negative_log_likelihood": 0.055166841080990084, + "weights_sha256": "412ee1f453695e4f3534dbe8d7eb1ca565d06fd7c718b52fe9a306b35e845d9d" + }, + { + "condition": "surface_code_bX_d3_r01_center_5_3", + "prior_strength": 256, + "seed": 20261127, + "iterations": 5, + "failure": 0.01953125, + "blended_failure": 0.0193359375, + "incumbent_failure": 0.0193359375, + "negative_log_likelihood": 0.055186840974757456, + "weights_sha256": "12d8f72c2ee5cb837145aaf9a1b485d8517e4374721eebcbea9803d3bfdc8fcd" + }, + { + "condition": "surface_code_bX_d3_r01_center_5_3", + "prior_strength": 1024, + "seed": 20261127, + "iterations": 4, + "failure": 0.01953125, + "blended_failure": 0.0193359375, + "incumbent_failure": 0.0193359375, + "negative_log_likelihood": 0.05544033886527203, + "weights_sha256": "d1daa90794c1c3c8cd00134d9b22a7173aee4dd9b139b86f6d3f9b8f2131056d" + }, + { + "condition": "surface_code_bX_d3_r01_center_5_7", + "prior_strength": 16, + "seed": 20261128, + "iterations": 7, + "failure": 0.015234375, + "blended_failure": 0.0158203125, + "incumbent_failure": 0.0158203125, + "negative_log_likelihood": 0.049592331750930654, + "weights_sha256": "ad21a8640e2fe7bbd550225e354dedcbad8cb70433b892f45d28fa2346ab88de" + }, + { + "condition": "surface_code_bX_d3_r01_center_5_7", + "prior_strength": 64, + "seed": 20261128, + "iterations": 6, + "failure": 0.015234375, + "blended_failure": 0.0158203125, + "incumbent_failure": 0.0158203125, + "negative_log_likelihood": 0.04900882633372332, + "weights_sha256": "4664564f60149b00b1754a3f9e91c8b04b29ef819b231bf17ea7588346433a57" + }, + { + "condition": "surface_code_bX_d3_r01_center_5_7", + "prior_strength": 256, + "seed": 20261128, + "iterations": 6, + "failure": 0.015234375, + "blended_failure": 0.0158203125, + "incumbent_failure": 0.0158203125, + "negative_log_likelihood": 0.04861554683295004, + "weights_sha256": "cad51322361a95020501afa64e356f2a49dd02afa0cd91294d4498f7eb0c5a8d" + }, + { + "condition": "surface_code_bX_d3_r01_center_5_7", + "prior_strength": 1024, + "seed": 20261128, + "iterations": 6, + "failure": 0.015234375, + "blended_failure": 0.0158203125, + "incumbent_failure": 0.0158203125, + "negative_log_likelihood": 0.04843255984360956, + "weights_sha256": "5fe850e6313cb9ed6631697684afeeb7b7c5857a5c74fad66189cfcf8a08218b" + }, + { + "condition": "surface_code_bX_d3_r01_center_7_5", + "prior_strength": 16, + "seed": 20261129, + "iterations": 7, + "failure": 0.0158203125, + "blended_failure": 0.0158203125, + "incumbent_failure": 0.01484375, + "negative_log_likelihood": 0.05156220348280275, + "weights_sha256": "56c2fd4a7c35033084020cd1f5c9dcc2ab1cf2c631d0e88cc87ac4c715c6af17" + }, + { + "condition": "surface_code_bX_d3_r01_center_7_5", + "prior_strength": 64, + "seed": 20261129, + "iterations": 6, + "failure": 0.0154296875, + "blended_failure": 0.0154296875, + "incumbent_failure": 0.01484375, + "negative_log_likelihood": 0.05139675960346585, + "weights_sha256": "0bf66368e18c8d1baecaa614d4c0cec16304ac14bcd29d22d1cdb2a0ff6c0173" + }, + { + "condition": "surface_code_bX_d3_r01_center_7_5", + "prior_strength": 256, + "seed": 20261129, + "iterations": 6, + "failure": 0.0154296875, + "blended_failure": 0.0154296875, + "incumbent_failure": 0.01484375, + "negative_log_likelihood": 0.05135569004239689, + "weights_sha256": "d9581a6f29f9d3ea54d482c17995a37b55e3b4253d36e1d49cfce95b398eb5c2" + }, + { + "condition": "surface_code_bX_d3_r01_center_7_5", + "prior_strength": 1024, + "seed": 20261129, + "iterations": 6, + "failure": 0.0154296875, + "blended_failure": 0.0154296875, + "incumbent_failure": 0.01484375, + "negative_log_likelihood": 0.05141882723288258, + "weights_sha256": "2c4e4592067fcbbe69d6ede68c4494209652a2d510e74aa2ea3b4420c3cdd741" + }, + { + "condition": "surface_code_bZ_d3_r01_center_3_5", + "prior_strength": 16, + "seed": 20261130, + "iterations": 7, + "failure": 0.0173828125, + "blended_failure": 0.0173828125, + "incumbent_failure": 0.016796875, + "negative_log_likelihood": 0.054216247940585036, + "weights_sha256": "7b12f028f764293a9496d9fd2ddbf92ba9c23653d7889a602a9ec23f8cde3d6b" + }, + { + "condition": "surface_code_bZ_d3_r01_center_3_5", + "prior_strength": 64, + "seed": 20261130, + "iterations": 6, + "failure": 0.017578125, + "blended_failure": 0.0171875, + "incumbent_failure": 0.016796875, + "negative_log_likelihood": 0.05364509063427466, + "weights_sha256": "1ad2ffaafa33009129a0953d79fe2d30ad62308eb9dbf8da0b76eca018a5b55a" + }, + { + "condition": "surface_code_bZ_d3_r01_center_3_5", + "prior_strength": 256, + "seed": 20261130, + "iterations": 5, + "failure": 0.0171875, + "blended_failure": 0.016796875, + "incumbent_failure": 0.016796875, + "negative_log_likelihood": 0.05368896256105915, + "weights_sha256": "64619c9b7bd40a14651bcd056d58f5b55e79eb334a4e5105ff12cb7ff6f2400a" + }, + { + "condition": "surface_code_bZ_d3_r01_center_3_5", + "prior_strength": 1024, + "seed": 20261130, + "iterations": 6, + "failure": 0.0171875, + "blended_failure": 0.016796875, + "incumbent_failure": 0.016796875, + "negative_log_likelihood": 0.05387292464104988, + "weights_sha256": "b1490702e212d7cdcc936f55186b15411ced3a8928a1a32f2d4ac1212706fabf" + }, + { + "condition": "surface_code_bZ_d3_r01_center_5_3", + "prior_strength": 16, + "seed": 20261131, + "iterations": 8, + "failure": 0.0125, + "blended_failure": 0.0125, + "incumbent_failure": 0.0125, + "negative_log_likelihood": 0.04709647994869577, + "weights_sha256": "eb56715dfc5e8c6b8866ceeb2636422acad9992dd2c625355dc21b94c25351f0" + }, + { + "condition": "surface_code_bZ_d3_r01_center_5_3", + "prior_strength": 64, + "seed": 20261131, + "iterations": 6, + "failure": 0.0125, + "blended_failure": 0.0125, + "incumbent_failure": 0.0125, + "negative_log_likelihood": 0.046679107084477436, + "weights_sha256": "320cd10cc8cd9d13d20d9ce0ea90413ed8343587f0c77abb0e1c8c84503aa2d8" + }, + { + "condition": "surface_code_bZ_d3_r01_center_5_3", + "prior_strength": 256, + "seed": 20261131, + "iterations": 5, + "failure": 0.0125, + "blended_failure": 0.0125, + "incumbent_failure": 0.0125, + "negative_log_likelihood": 0.04621785858320204, + "weights_sha256": "c7e63309de0668bd4d5c05169ecd6af1879c88be10947d0fdb958ca37068d433" + }, + { + "condition": "surface_code_bZ_d3_r01_center_5_3", + "prior_strength": 1024, + "seed": 20261131, + "iterations": 4, + "failure": 0.0125, + "blended_failure": 0.0125, + "incumbent_failure": 0.0125, + "negative_log_likelihood": 0.04577880173787941, + "weights_sha256": "494824e979e52fbf0302e706ff6786d89ce60b607afd6b376cad9700f328feda" + }, + { + "condition": "surface_code_bZ_d3_r01_center_5_7", + "prior_strength": 16, + "seed": 20261132, + "iterations": 7, + "failure": 0.01484375, + "blended_failure": 0.014453125, + "incumbent_failure": 0.014453125, + "negative_log_likelihood": 0.05068038016752655, + "weights_sha256": "0b4c35df1d44c9353a2ea505205f3def95bb28de0c7052ded18cf599bef2709b" + }, + { + "condition": "surface_code_bZ_d3_r01_center_5_7", + "prior_strength": 64, + "seed": 20261132, + "iterations": 6, + "failure": 0.014453125, + "blended_failure": 0.014453125, + "incumbent_failure": 0.014453125, + "negative_log_likelihood": 0.049663607204405706, + "weights_sha256": "b18deed32b51a58789873a1b45718f5c40d1d9500b57e113520b700a66902f1a" + }, + { + "condition": "surface_code_bZ_d3_r01_center_5_7", + "prior_strength": 256, + "seed": 20261132, + "iterations": 5, + "failure": 0.014453125, + "blended_failure": 0.014453125, + "incumbent_failure": 0.014453125, + "negative_log_likelihood": 0.04918133832768282, + "weights_sha256": "12e71625e223602cbc9f7ae150473a1dad2c32f2d9221a4b88ccb93babc2c41d" + }, + { + "condition": "surface_code_bZ_d3_r01_center_5_7", + "prior_strength": 1024, + "seed": 20261132, + "iterations": 6, + "failure": 0.014453125, + "blended_failure": 0.014453125, + "incumbent_failure": 0.014453125, + "negative_log_likelihood": 0.049002647954447996, + "weights_sha256": "e909b83698caba60ad01e28027b28005544cd8e795f88574fc6f81bcf56b2add" + }, + { + "condition": "surface_code_bZ_d3_r01_center_7_5", + "prior_strength": 16, + "seed": 20261133, + "iterations": 7, + "failure": 0.016015625, + "blended_failure": 0.016015625, + "incumbent_failure": 0.01640625, + "negative_log_likelihood": 0.05204562159505248, + "weights_sha256": "b03b071238dda333574a4da2d9b2bb999cf362a83b9194b1c53871e9438f9f45" + }, + { + "condition": "surface_code_bZ_d3_r01_center_7_5", + "prior_strength": 64, + "seed": 20261133, + "iterations": 6, + "failure": 0.016015625, + "blended_failure": 0.016015625, + "incumbent_failure": 0.01640625, + "negative_log_likelihood": 0.05177096705064832, + "weights_sha256": "2a4c8113ee9a1dadcfc0f1b7ff8d164e7c8771d5764b0512ee1a5de2a8aaa395" + }, + { + "condition": "surface_code_bZ_d3_r01_center_7_5", + "prior_strength": 256, + "seed": 20261133, + "iterations": 6, + "failure": 0.016015625, + "blended_failure": 0.01640625, + "incumbent_failure": 0.01640625, + "negative_log_likelihood": 0.051861030681133645, + "weights_sha256": "f201491af84870ffa8c1b59e16dea1fea910e7fda32f0e3d82863943222b57ee" + }, + { + "condition": "surface_code_bZ_d3_r01_center_7_5", + "prior_strength": 1024, + "seed": 20261133, + "iterations": 6, + "failure": 0.01640625, + "blended_failure": 0.01640625, + "incumbent_failure": 0.01640625, + "negative_log_likelihood": 0.05206536190640361, + "weights_sha256": "b7cfd76b6574457626306868e31ab5327a1950cbbca41f6384eb2c4bc759e800" + } + ], + "choices": { + "incumbent": 0.0154541015625, + "16": 0.015380859375, + "blend-16": 0.015429687499999999, + "64": 0.0155029296875, + "blend-64": 0.015600585937500001, + "256": 0.0155517578125, + "blend-256": 0.015600585937500001, + "1024": 0.0156005859375, + "blend-1024": 0.015600585937500001 + }, + "selected": "16", + "expected_full_P": 0.7663245567908653, + "validation_P_gain": 2.817007211538435e-06, + "source_sha256": "7e75f14190b18b05e9af540a8ef0f75522060e78c30b05475686ea18faf0035f", + "seconds": 3.316046953201294 + }, + "packaging_selection": { + "incumbent": 0.0155517578125, + "16": 0.015380859375, + "64": 0.0155029296875, + "256": 0.0155517578125, + "1024": 0.0156005859375 + }, + "selected": "16", + "new_optimizer_updates": 0, + "selection_scope": "One common prior strength for all eight short conditions; other122 condition predictions retained", + "runtime_source_sha256": "451ce740551f9e13348064f2e726e7e31a611b64bcf5d95def601deb78e854af" + } + ], + "research_selection_history": { + "path": "selection_history.json", + "sha256": "1b55c1057e88d12d67300b895da2a46bdf629533253444d65cefd23aa7247289", + "completed_training_runs": 39, + "assembled_candidates": 31 + }, + "neural_d5": { + "training": { + "initialization": "Continue from the recorded session-trained checkpoint; original random initialization seed 20261134", + "prior_pass": 3, + "initial_seed": 20261134, + "training_source_sha256": { + "learned_d5__train.py": "1f66b75e34e385a6d2654021f3fd124c9d8a359da1f677369e3e774728f83168", + "learned_d5__data.py": "9e3bcfe9d45f6af60b86a580cdc9374043758a1a6f10564aef9eb344f7a6b364", + "learned_d5__model.py": "3b2d4b34a8945ddfe82d76e28b4aa917f11933ed885c0cdcd2bc389448a871fb", + "learned_exact__gradient.py": "ecb6b45698480386fa124fe878db7dbfa246d1969fd720ec26daff9547da2001", + "learned_exact__checkpoint_gradient.py": "7ece6b3f45e009727fd104a3d39e2816a8c3437f737c3d98131d3a5d7d60e9b8", + "exact_d3__exact.py": "869dfacb295c419c156d1070fc2afdd6e20d02ac1840e45e72346b2b289f4825" + }, + "runtime_versions": { + "jax": "0.7.2", + "numpy": "2.3.3", + "optax": "0.2.6" + }, + "hidden_width": 64, + "input_features": 394, + "feature_mode": "local events, reconstructed measurements, shot densities, physical edge support and conditioned prior", + "architecture": "Two 64-unit SiLU layers; 394 features; bounded 2*tanh correction to relevant-CSS edge logits from the recorded physical feedback pass; exact width-14 contraction predicts logical probability. D5 joint conditioning remains approximate.", + "training": "All supplied training shots per each of all26 d5 conditions; uniform condition and within-condition sampling for optimizer batches.", + "training_cache": "/run-state/workspace/research/learned_d5/full_training_priors3", + "training_cache_provenance": { + "method": "Three undamped physical CSS extrinsic-message passes, clipping8, pass1/pass3 priors captured before logical readout", + "scope": "All supplied training rows in all26 d5 conditions; no validation or test labels used in cache generation", + "reused_rows": "4096 rows per condition from feedback5_cache, sampled with seed20261023; same first three passes", + "remaining_rows": "Computed now with last-only logical tracking; previously controlled against full logical tracking", + "train_manifest_sha256": "ce46c21e3595cfc5885bbe2b6481105317d2e6267498ec4572601469825914b8", + "records": [ + { + "condition": "surface_code_bX_d5_r25_center_5_5", + "shots": 19880, + "reused_training_rows": 4096, + "new_rows": 15784, + "seconds": 44.93641114234924, + "elapsed": 45.15474009513855, + "peak_gpu_bytes": 58661028096 + }, + { + "condition": "surface_code_bZ_d5_r25_center_5_5", + "shots": 19880, + "reused_training_rows": 4096, + "new_rows": 15784, + "seconds": 43.11551070213318, + "elapsed": 88.52458453178406, + "peak_gpu_bytes": 58661028096 + }, + { + "condition": "surface_code_bX_d5_r23_center_5_5", + "shots": 19880, + "reused_training_rows": 4096, + "new_rows": 15784, + "seconds": 39.70699763298035, + "elapsed": 128.4802794456482, + "peak_gpu_bytes": 58661028096 + }, + { + "condition": "surface_code_bZ_d5_r23_center_5_5", + "shots": 19880, + "reused_training_rows": 4096, + "new_rows": 15784, + "seconds": 41.178571701049805, + "elapsed": 169.95510387420654, + "peak_gpu_bytes": 58661028096 + }, + { + "condition": "surface_code_bX_d5_r21_center_5_5", + "shots": 19880, + "reused_training_rows": 4096, + "new_rows": 15784, + "seconds": 41.53053879737854, + "elapsed": 211.7576286792755, + "peak_gpu_bytes": 58661028096 + }, + { + "condition": "surface_code_bZ_d5_r21_center_5_5", + "shots": 19880, + "reused_training_rows": 4096, + "new_rows": 15784, + "seconds": 43.43117809295654, + "elapsed": 255.62733364105225, + "peak_gpu_bytes": 58661028096 + }, + { + "condition": "surface_code_bX_d5_r19_center_5_5", + "shots": 19880, + "reused_training_rows": 4096, + "new_rows": 15784, + "seconds": 33.84876799583435, + "elapsed": 289.70106053352356, + "peak_gpu_bytes": 58661028096 + }, + { + "condition": "surface_code_bZ_d5_r19_center_5_5", + "shots": 19880, + "reused_training_rows": 4096, + "new_rows": 15784, + "seconds": 32.88018870353699, + "elapsed": 322.7981607913971, + "peak_gpu_bytes": 58661028096 + }, + { + "condition": "surface_code_bX_d5_r17_center_5_5", + "shots": 19880, + "reused_training_rows": 4096, + "new_rows": 15784, + "seconds": 29.585307836532593, + "elapsed": 352.58776783943176, + "peak_gpu_bytes": 58661028096 + }, + { + "condition": "surface_code_bZ_d5_r17_center_5_5", + "shots": 19880, + "reused_training_rows": 4096, + "new_rows": 15784, + "seconds": 29.854028463363647, + "elapsed": 382.6393291950226, + "peak_gpu_bytes": 58661028096 + }, + { + "condition": "surface_code_bX_d5_r15_center_5_5", + "shots": 19880, + "reused_training_rows": 4096, + "new_rows": 15784, + "seconds": 26.721288919448853, + "elapsed": 409.54919600486755, + "peak_gpu_bytes": 58661028096 + }, + { + "condition": "surface_code_bZ_d5_r15_center_5_5", + "shots": 19880, + "reused_training_rows": 4096, + "new_rows": 15784, + "seconds": 29.810269832611084, + "elapsed": 439.6440734863281, + "peak_gpu_bytes": 58661028096 + }, + { + "condition": "surface_code_bX_d5_r13_center_5_5", + "shots": 19880, + "reused_training_rows": 4096, + "new_rows": 15784, + "seconds": 29.79407238960266, + "elapsed": 469.7887041568756, + "peak_gpu_bytes": 58661028096 + }, + { + "condition": "surface_code_bZ_d5_r13_center_5_5", + "shots": 19880, + "reused_training_rows": 4096, + "new_rows": 15784, + "seconds": 28.757604837417603, + "elapsed": 498.71140813827515, + "peak_gpu_bytes": 58661028096 + }, + { + "condition": "surface_code_bX_d5_r11_center_5_5", + "shots": 19880, + "reused_training_rows": 4096, + "new_rows": 15784, + "seconds": 25.38013219833374, + "elapsed": 524.2447266578674, + "peak_gpu_bytes": 58661028096 + }, + { + "condition": "surface_code_bZ_d5_r11_center_5_5", + "shots": 19880, + "reused_training_rows": 4096, + "new_rows": 15784, + "seconds": 25.378958225250244, + "elapsed": 549.8600506782532, + "peak_gpu_bytes": 58661028096 + }, + { + "condition": "surface_code_bX_d5_r09_center_5_5", + "shots": 19880, + "reused_training_rows": 4096, + "new_rows": 15784, + "seconds": 21.241567850112915, + "elapsed": 571.2600774765015, + "peak_gpu_bytes": 58661028096 + }, + { + "condition": "surface_code_bZ_d5_r09_center_5_5", + "shots": 19880, + "reused_training_rows": 4096, + "new_rows": 15784, + "seconds": 18.780335664749146, + "elapsed": 590.304051399231, + "peak_gpu_bytes": 58661028096 + }, + { + "condition": "surface_code_bX_d5_r07_center_5_5", + "shots": 19880, + "reused_training_rows": 4096, + "new_rows": 15784, + "seconds": 14.346807956695557, + "elapsed": 604.8041462898254, + "peak_gpu_bytes": 58661028096 + }, + { + "condition": "surface_code_bZ_d5_r07_center_5_5", + "shots": 19880, + "reused_training_rows": 4096, + "new_rows": 15784, + "seconds": 14.03441047668457, + "elapsed": 618.9537570476532, + "peak_gpu_bytes": 58661028096 + }, + { + "condition": "surface_code_bX_d5_r05_center_5_5", + "shots": 19880, + "reused_training_rows": 4096, + "new_rows": 15784, + "seconds": 10.811666488647461, + "elapsed": 629.8610434532166, + "peak_gpu_bytes": 58661028096 + }, + { + "condition": "surface_code_bZ_d5_r05_center_5_5", + "shots": 19880, + "reused_training_rows": 4096, + "new_rows": 15784, + "seconds": 10.982703924179077, + "elapsed": 640.9919559955597, + "peak_gpu_bytes": 58661028096 + }, + { + "condition": "surface_code_bX_d5_r03_center_5_5", + "shots": 19880, + "reused_training_rows": 4096, + "new_rows": 15784, + "seconds": 7.846271991729736, + "elapsed": 648.9624857902527, + "peak_gpu_bytes": 58661028096 + }, + { + "condition": "surface_code_bZ_d5_r03_center_5_5", + "shots": 19880, + "reused_training_rows": 4096, + "new_rows": 15784, + "seconds": 7.83586859703064, + "elapsed": 656.9065537452698, + "peak_gpu_bytes": 58661028096 + }, + { + "condition": "surface_code_bX_d5_r01_center_5_5", + "shots": 19880, + "reused_training_rows": 4096, + "new_rows": 15784, + "seconds": 0.7685718536376953, + "elapsed": 657.7747800350189, + "peak_gpu_bytes": 58661028096 + }, + { + "condition": "surface_code_bZ_d5_r01_center_5_5", + "shots": 19880, + "reused_training_rows": 4096, + "new_rows": 15784, + "seconds": 0.748960018157959, + "elapsed": 658.5666444301605, + "peak_gpu_bytes": 58661028096 + } + ], + "test_data_used": false + }, + "training_shots": 516880, + "training_pool_interpretation": "Eligible training rows; optimizer samples conditions and rows with replacement. Distinct rows used in this phase are recorded separately.", + "unique_training_rows_seen_in_this_phase": 491030, + "unique_rows_by_condition": { + "surface_code_bX_d5_r01_center_5_5": 18670, + "surface_code_bX_d5_r03_center_5_5": 18940, + "surface_code_bX_d5_r05_center_5_5": 19128, + "surface_code_bX_d5_r07_center_5_5": 18988, + "surface_code_bX_d5_r09_center_5_5": 18523, + "surface_code_bX_d5_r11_center_5_5": 19227, + "surface_code_bX_d5_r13_center_5_5": 18816, + "surface_code_bX_d5_r15_center_5_5": 18107, + "surface_code_bX_d5_r17_center_5_5": 18728, + "surface_code_bX_d5_r19_center_5_5": 18983, + "surface_code_bX_d5_r21_center_5_5": 18959, + "surface_code_bX_d5_r23_center_5_5": 19079, + "surface_code_bX_d5_r25_center_5_5": 19193, + "surface_code_bZ_d5_r01_center_5_5": 18828, + "surface_code_bZ_d5_r03_center_5_5": 18896, + "surface_code_bZ_d5_r05_center_5_5": 19011, + "surface_code_bZ_d5_r07_center_5_5": 18806, + "surface_code_bZ_d5_r09_center_5_5": 18268, + "surface_code_bZ_d5_r11_center_5_5": 18927, + "surface_code_bZ_d5_r13_center_5_5": 19399, + "surface_code_bZ_d5_r15_center_5_5": 19358, + "surface_code_bZ_d5_r17_center_5_5": 18634, + "surface_code_bZ_d5_r19_center_5_5": 19126, + "surface_code_bZ_d5_r21_center_5_5": 18603, + "surface_code_bZ_d5_r23_center_5_5": 18626, + "surface_code_bZ_d5_r25_center_5_5": 19207 + }, + "gradient_block_size": 32, + "bucket_operations": true, + "accumulate_conditions": 1, + "effective_batch_size": 1024, + "uncertainty_weight_floor": 1.0, + "example_weighting": "Uniform BCE", + "loss": "Conditional logical binary cross entropy, differentiated through exact relevant-CSS contraction; physical CSS feedback prior held fixed", + "steps": 1536, + "batch": 1024, + "learning_rate": 0.0005, + "sampling_seed": 20261135, + "optimizer": "AdamW, weight decay 1e-4, global gradient norm clip 1", + "optimizer_restored": true, + "rng_restored": true, + "explicit_optimizer_reset": false, + "explicit_rng_reset": false, + "sampling_state_source": "/run-state/workspace/research/learned_d5/fresh2_warm/rng-512.json", + "starting_checkpoint": "/run-state/workspace/research/learned_d5/fresh2_warm/weights-512.npz", + "starting_checkpoint_sha256": "d3e3abba07693bd7fd3d17be2dd981d5b803a496e76ba230ed94afeb51f26f4f", + "starting_training_provenance": { + "initialization": "All parameters initialized in this session: variance-scaled normal hidden layers, Normal(0,.001) output weights, zero biases, seed 20261134", + "prior_pass": 3, + "initial_seed": 20261134, + "training_source_sha256": { + "learned_d5__train.py": "1f66b75e34e385a6d2654021f3fd124c9d8a359da1f677369e3e774728f83168", + "learned_d5__data.py": "9e3bcfe9d45f6af60b86a580cdc9374043758a1a6f10564aef9eb344f7a6b364", + "learned_d5__model.py": "3b2d4b34a8945ddfe82d76e28b4aa917f11933ed885c0cdcd2bc389448a871fb", + "learned_exact__gradient.py": "ecb6b45698480386fa124fe878db7dbfa246d1969fd720ec26daff9547da2001", + "learned_exact__checkpoint_gradient.py": "7ece6b3f45e009727fd104a3d39e2816a8c3437f737c3d98131d3a5d7d60e9b8", + "exact_d3__exact.py": "869dfacb295c419c156d1070fc2afdd6e20d02ac1840e45e72346b2b289f4825" + }, + "runtime_versions": { + "jax": "0.7.2", + "numpy": "2.3.3", + "optax": "0.2.6" + }, + "hidden_width": 64, + "input_features": 394, + "feature_mode": "local events, reconstructed measurements, shot densities, physical edge support and conditioned prior", + "architecture": "Two 64-unit SiLU layers; 394 features; bounded 2*tanh correction to relevant-CSS edge logits from the recorded physical feedback pass; exact width-14 contraction predicts logical probability. D5 joint conditioning remains approximate.", + "training": "All supplied training shots per each of all26 d5 conditions; uniform condition and within-condition sampling for optimizer batches.", + "training_cache": "/run-state/workspace/research/learned_d5/full_training_priors3", + "training_cache_provenance": { + "method": "Three undamped physical CSS extrinsic-message passes, clipping8, pass1/pass3 priors captured before logical readout", + "scope": "All supplied training rows in all26 d5 conditions; no validation or test labels used in cache generation", + "reused_rows": "4096 rows per condition from feedback5_cache, sampled with seed20261023; same first three passes", + "remaining_rows": "Computed now with last-only logical tracking; previously controlled against full logical tracking", + "train_manifest_sha256": "ce46c21e3595cfc5885bbe2b6481105317d2e6267498ec4572601469825914b8", + "records": [ + { + "condition": "surface_code_bX_d5_r25_center_5_5", + "shots": 19880, + "reused_training_rows": 4096, + "new_rows": 15784, + "seconds": 44.93641114234924, + "elapsed": 45.15474009513855, + "peak_gpu_bytes": 58661028096 + }, + { + "condition": "surface_code_bZ_d5_r25_center_5_5", + "shots": 19880, + "reused_training_rows": 4096, + "new_rows": 15784, + "seconds": 43.11551070213318, + "elapsed": 88.52458453178406, + "peak_gpu_bytes": 58661028096 + }, + { + "condition": "surface_code_bX_d5_r23_center_5_5", + "shots": 19880, + "reused_training_rows": 4096, + "new_rows": 15784, + "seconds": 39.70699763298035, + "elapsed": 128.4802794456482, + "peak_gpu_bytes": 58661028096 + }, + { + "condition": "surface_code_bZ_d5_r23_center_5_5", + "shots": 19880, + "reused_training_rows": 4096, + "new_rows": 15784, + "seconds": 41.178571701049805, + "elapsed": 169.95510387420654, + "peak_gpu_bytes": 58661028096 + }, + { + "condition": "surface_code_bX_d5_r21_center_5_5", + "shots": 19880, + "reused_training_rows": 4096, + "new_rows": 15784, + "seconds": 41.53053879737854, + "elapsed": 211.7576286792755, + "peak_gpu_bytes": 58661028096 + }, + { + "condition": "surface_code_bZ_d5_r21_center_5_5", + "shots": 19880, + "reused_training_rows": 4096, + "new_rows": 15784, + "seconds": 43.43117809295654, + "elapsed": 255.62733364105225, + "peak_gpu_bytes": 58661028096 + }, + { + "condition": "surface_code_bX_d5_r19_center_5_5", + "shots": 19880, + "reused_training_rows": 4096, + "new_rows": 15784, + "seconds": 33.84876799583435, + "elapsed": 289.70106053352356, + "peak_gpu_bytes": 58661028096 + }, + { + "condition": "surface_code_bZ_d5_r19_center_5_5", + "shots": 19880, + "reused_training_rows": 4096, + "new_rows": 15784, + "seconds": 32.88018870353699, + "elapsed": 322.7981607913971, + "peak_gpu_bytes": 58661028096 + }, + { + "condition": "surface_code_bX_d5_r17_center_5_5", + "shots": 19880, + "reused_training_rows": 4096, + "new_rows": 15784, + "seconds": 29.585307836532593, + "elapsed": 352.58776783943176, + "peak_gpu_bytes": 58661028096 + }, + { + "condition": "surface_code_bZ_d5_r17_center_5_5", + "shots": 19880, + "reused_training_rows": 4096, + "new_rows": 15784, + "seconds": 29.854028463363647, + "elapsed": 382.6393291950226, + "peak_gpu_bytes": 58661028096 + }, + { + "condition": "surface_code_bX_d5_r15_center_5_5", + "shots": 19880, + "reused_training_rows": 4096, + "new_rows": 15784, + "seconds": 26.721288919448853, + "elapsed": 409.54919600486755, + "peak_gpu_bytes": 58661028096 + }, + { + "condition": "surface_code_bZ_d5_r15_center_5_5", + "shots": 19880, + "reused_training_rows": 4096, + "new_rows": 15784, + "seconds": 29.810269832611084, + "elapsed": 439.6440734863281, + "peak_gpu_bytes": 58661028096 + }, + { + "condition": "surface_code_bX_d5_r13_center_5_5", + "shots": 19880, + "reused_training_rows": 4096, + "new_rows": 15784, + "seconds": 29.79407238960266, + "elapsed": 469.7887041568756, + "peak_gpu_bytes": 58661028096 + }, + { + "condition": "surface_code_bZ_d5_r13_center_5_5", + "shots": 19880, + "reused_training_rows": 4096, + "new_rows": 15784, + "seconds": 28.757604837417603, + "elapsed": 498.71140813827515, + "peak_gpu_bytes": 58661028096 + }, + { + "condition": "surface_code_bX_d5_r11_center_5_5", + "shots": 19880, + "reused_training_rows": 4096, + "new_rows": 15784, + "seconds": 25.38013219833374, + "elapsed": 524.2447266578674, + "peak_gpu_bytes": 58661028096 + }, + { + "condition": "surface_code_bZ_d5_r11_center_5_5", + "shots": 19880, + "reused_training_rows": 4096, + "new_rows": 15784, + "seconds": 25.378958225250244, + "elapsed": 549.8600506782532, + "peak_gpu_bytes": 58661028096 + }, + { + "condition": "surface_code_bX_d5_r09_center_5_5", + "shots": 19880, + "reused_training_rows": 4096, + "new_rows": 15784, + "seconds": 21.241567850112915, + "elapsed": 571.2600774765015, + "peak_gpu_bytes": 58661028096 + }, + { + "condition": "surface_code_bZ_d5_r09_center_5_5", + "shots": 19880, + "reused_training_rows": 4096, + "new_rows": 15784, + "seconds": 18.780335664749146, + "elapsed": 590.304051399231, + "peak_gpu_bytes": 58661028096 + }, + { + "condition": "surface_code_bX_d5_r07_center_5_5", + "shots": 19880, + "reused_training_rows": 4096, + "new_rows": 15784, + "seconds": 14.346807956695557, + "elapsed": 604.8041462898254, + "peak_gpu_bytes": 58661028096 + }, + { + "condition": "surface_code_bZ_d5_r07_center_5_5", + "shots": 19880, + "reused_training_rows": 4096, + "new_rows": 15784, + "seconds": 14.03441047668457, + "elapsed": 618.9537570476532, + "peak_gpu_bytes": 58661028096 + }, + { + "condition": "surface_code_bX_d5_r05_center_5_5", + "shots": 19880, + "reused_training_rows": 4096, + "new_rows": 15784, + "seconds": 10.811666488647461, + "elapsed": 629.8610434532166, + "peak_gpu_bytes": 58661028096 + }, + { + "condition": "surface_code_bZ_d5_r05_center_5_5", + "shots": 19880, + "reused_training_rows": 4096, + "new_rows": 15784, + "seconds": 10.982703924179077, + "elapsed": 640.9919559955597, + "peak_gpu_bytes": 58661028096 + }, + { + "condition": "surface_code_bX_d5_r03_center_5_5", + "shots": 19880, + "reused_training_rows": 4096, + "new_rows": 15784, + "seconds": 7.846271991729736, + "elapsed": 648.9624857902527, + "peak_gpu_bytes": 58661028096 + }, + { + "condition": "surface_code_bZ_d5_r03_center_5_5", + "shots": 19880, + "reused_training_rows": 4096, + "new_rows": 15784, + "seconds": 7.83586859703064, + "elapsed": 656.9065537452698, + "peak_gpu_bytes": 58661028096 + }, + { + "condition": "surface_code_bX_d5_r01_center_5_5", + "shots": 19880, + "reused_training_rows": 4096, + "new_rows": 15784, + "seconds": 0.7685718536376953, + "elapsed": 657.7747800350189, + "peak_gpu_bytes": 58661028096 + }, + { + "condition": "surface_code_bZ_d5_r01_center_5_5", + "shots": 19880, + "reused_training_rows": 4096, + "new_rows": 15784, + "seconds": 0.748960018157959, + "elapsed": 658.5666444301605, + "peak_gpu_bytes": 58661028096 + } + ], + "test_data_used": false + }, + "training_shots": 516880, + "training_pool_interpretation": "Eligible training rows; optimizer samples conditions and rows with replacement. Distinct rows used in this phase are recorded separately.", + "unique_training_rows_seen_in_this_phase": 325678, + "unique_rows_by_condition": { + "surface_code_bX_d5_r01_center_5_5": 11962, + "surface_code_bX_d5_r03_center_5_5": 10232, + "surface_code_bX_d5_r05_center_5_5": 14014, + "surface_code_bX_d5_r07_center_5_5": 11594, + "surface_code_bX_d5_r09_center_5_5": 12805, + "surface_code_bX_d5_r11_center_5_5": 11644, + "surface_code_bX_d5_r13_center_5_5": 13845, + "surface_code_bX_d5_r15_center_5_5": 10703, + "surface_code_bX_d5_r17_center_5_5": 15460, + "surface_code_bX_d5_r19_center_5_5": 14156, + "surface_code_bX_d5_r21_center_5_5": 11568, + "surface_code_bX_d5_r23_center_5_5": 14156, + "surface_code_bX_d5_r25_center_5_5": 12021, + "surface_code_bZ_d5_r01_center_5_5": 10601, + "surface_code_bZ_d5_r03_center_5_5": 14135, + "surface_code_bZ_d5_r05_center_5_5": 11975, + "surface_code_bZ_d5_r07_center_5_5": 13841, + "surface_code_bZ_d5_r09_center_5_5": 12024, + "surface_code_bZ_d5_r11_center_5_5": 11151, + "surface_code_bZ_d5_r13_center_5_5": 10640, + "surface_code_bZ_d5_r15_center_5_5": 11089, + "surface_code_bZ_d5_r17_center_5_5": 13788, + "surface_code_bZ_d5_r19_center_5_5": 12350, + "surface_code_bZ_d5_r21_center_5_5": 12797, + "surface_code_bZ_d5_r23_center_5_5": 12809, + "surface_code_bZ_d5_r25_center_5_5": 14318 + }, + "gradient_block_size": 32, + "bucket_operations": true, + "accumulate_conditions": 1, + "effective_batch_size": 1024, + "uncertainty_weight_floor": 1.0, + "example_weighting": "Uniform BCE", + "loss": "Conditional logical binary cross entropy, differentiated through exact relevant-CSS contraction; physical CSS feedback prior held fixed", + "steps": 512, + "batch": 1024, + "learning_rate": 0.001, + "sampling_seed": 20261135, + "optimizer": "AdamW, weight decay 1e-4, global gradient norm clip 1", + "optimizer_restored": false, + "rng_restored": false, + "explicit_optimizer_reset": false, + "explicit_rng_reset": false, + "sampling_state_source": "Fresh NumPy default_rng seed 20261135", + "starting_checkpoint": null, + "starting_checkpoint_sha256": null, + "starting_training_provenance": null, + "validation": "Uniform subset per all 26 conditions, sample seed 20261102; full validation required before publication", + "validation_shots_per_condition": 1024, + "test_data_used": false, + "records": [ + { + "step": 1, + "loss": 0.6522030830383301, + "objective": 0.6522030830383301, + "error": 0.375, + "gradient_norm": 0.11649785190820694, + "elapsed": 30.089841604232788 + }, + { + "step": 16, + "loss": 0.5927819609642029, + "objective": 0.5927819609642029, + "error": 0.3466796875, + "gradient_norm": 0.07945127785205841, + "elapsed": 48.85365080833435 + }, + { + "step": 32, + "loss": 0.3115929663181305, + "objective": 0.3115929663181305, + "error": 0.13671875, + "gradient_norm": 0.039320655167102814, + "elapsed": 63.60312819480896 + }, + { + "step": 48, + "loss": 0.2456369698047638, + "objective": 0.2456369698047638, + "error": 0.1015625, + "gradient_norm": 0.029398636892437935, + "elapsed": 73.71074151992798 + }, + { + "step": 64, + "loss": 0.6231744885444641, + "objective": 0.6231744885444641, + "error": 0.3759765625, + "gradient_norm": 0.06867238879203796, + "elapsed": 83.75580954551697 + }, + { + "step": 80, + "loss": 0.3674217164516449, + "objective": 0.3674217164516449, + "error": 0.1572265625, + "gradient_norm": 0.0557992123067379, + "elapsed": 94.6383364200592 + }, + { + "step": 96, + "loss": 0.5152362585067749, + "objective": 0.5152362585067749, + "error": 0.2568359375, + "gradient_norm": 0.08284599334001541, + "elapsed": 106.90000939369202 + }, + { + "step": 112, + "loss": 0.020773420110344887, + "objective": 0.020773420110344887, + "error": 0.0048828125, + "gradient_norm": 0.008813572116196156, + "elapsed": 117.77558088302612 + }, + { + "step": 128, + "loss": 0.02593131735920906, + "objective": 0.02593131735920906, + "error": 0.0087890625, + "gradient_norm": 0.00872033555060625, + "elapsed": 128.93439435958862 + }, + { + "step": 144, + "loss": 0.5852900743484497, + "objective": 0.5852900743484497, + "error": 0.3291015625, + "gradient_norm": 0.04771002382040024, + "elapsed": 139.5588686466217 + }, + { + "step": 160, + "loss": 0.46074625849723816, + "objective": 0.46074625849723816, + "error": 0.232421875, + "gradient_norm": 0.08834747970104218, + "elapsed": 151.5595977306366 + }, + { + "step": 176, + "loss": 0.6310865879058838, + "objective": 0.6310865879058838, + "error": 0.376953125, + "gradient_norm": 0.14084596931934357, + "elapsed": 163.7892107963562 + }, + { + "step": 192, + "loss": 0.246865376830101, + "objective": 0.246865376830101, + "error": 0.1103515625, + "gradient_norm": 0.041402049362659454, + "elapsed": 174.28971648216248 + }, + { + "step": 208, + "loss": 0.3103577196598053, + "objective": 0.3103577196598053, + "error": 0.15625, + "gradient_norm": 0.04525696486234665, + "elapsed": 187.03909611701965 + }, + { + "step": 224, + "loss": 0.4523138999938965, + "objective": 0.4523138999938965, + "error": 0.208984375, + "gradient_norm": 0.09180521965026855, + "elapsed": 199.56195068359375 + }, + { + "step": 240, + "loss": 0.02241751179099083, + "objective": 0.02241751179099083, + "error": 0.009765625, + "gradient_norm": 0.009998111054301262, + "elapsed": 212.35500597953796 + }, + { + "step": 256, + "loss": 0.5487150549888611, + "objective": 0.5487150549888611, + "error": 0.294921875, + "gradient_norm": 0.12748055160045624, + "elapsed": 223.03854608535767 + }, + { + "step": 272, + "loss": 0.023057367652654648, + "objective": 0.023057367652654648, + "error": 0.0078125, + "gradient_norm": 0.006953821517527103, + "elapsed": 244.6508972644806 + }, + { + "step": 288, + "loss": 0.5845386981964111, + "objective": 0.5845386981964111, + "error": 0.330078125, + "gradient_norm": 0.06542652100324631, + "elapsed": 256.78167748451233 + }, + { + "step": 304, + "loss": 0.442532479763031, + "objective": 0.442532479763031, + "error": 0.232421875, + "gradient_norm": 0.10874580591917038, + "elapsed": 269.1364529132843 + }, + { + "step": 320, + "loss": 0.3264174163341522, + "objective": 0.3264174163341522, + "error": 0.15625, + "gradient_norm": 0.06276191771030426, + "elapsed": 282.38969564437866 + }, + { + "step": 336, + "loss": 0.386960506439209, + "objective": 0.386960506439209, + "error": 0.177734375, + "gradient_norm": 0.06561421602964401, + "elapsed": 292.9079031944275 + }, + { + "step": 352, + "loss": 0.23919886350631714, + "objective": 0.23919886350631714, + "error": 0.107421875, + "gradient_norm": 0.02755703590810299, + "elapsed": 304.16068935394287 + }, + { + "step": 368, + "loss": 0.5029175281524658, + "objective": 0.5029175281524658, + "error": 0.259765625, + "gradient_norm": 0.0378776490688324, + "elapsed": 315.11088514328003 + }, + { + "step": 384, + "loss": 0.565666675567627, + "objective": 0.565666675567627, + "error": 0.322265625, + "gradient_norm": 0.11368246376514435, + "elapsed": 324.3651068210602 + }, + { + "step": 400, + "loss": 0.5846428275108337, + "objective": 0.5846428275108337, + "error": 0.3408203125, + "gradient_norm": 0.08116643130779266, + "elapsed": 334.70786476135254 + }, + { + "step": 416, + "loss": 0.025111017748713493, + "objective": 0.025111017748713493, + "error": 0.0078125, + "gradient_norm": 0.008838560432195663, + "elapsed": 345.56963562965393 + }, + { + "step": 432, + "loss": 0.628488302230835, + "objective": 0.628488302230835, + "error": 0.3818359375, + "gradient_norm": 0.04001976177096367, + "elapsed": 355.3310384750366 + }, + { + "step": 448, + "loss": 0.4569575786590576, + "objective": 0.4569575786590576, + "error": 0.2578125, + "gradient_norm": 0.06344135850667953, + "elapsed": 367.05255675315857 + }, + { + "step": 464, + "loss": 0.49193111062049866, + "objective": 0.49193111062049866, + "error": 0.24609375, + "gradient_norm": 0.06022385507822037, + "elapsed": 377.38399291038513 + }, + { + "step": 480, + "loss": 0.5920064449310303, + "objective": 0.5920064449310303, + "error": 0.3466796875, + "gradient_norm": 0.036063045263290405, + "elapsed": 387.7266733646393 + }, + { + "step": 496, + "loss": 0.22157302498817444, + "objective": 0.22157302498817444, + "error": 0.09375, + "gradient_norm": 0.04071022942662239, + "elapsed": 397.78643012046814 + }, + { + "step": 512, + "loss": 0.39216887950897217, + "objective": 0.39216887950897217, + "error": 0.1728515625, + "gradient_norm": 0.09079446643590927, + "elapsed": 407.0137679576874 + } + ] + }, + "validation": "Uniform subset per all 26 conditions, sample seed 20261102; full validation required before publication", + "validation_shots_per_condition": 1024, + "test_data_used": false, + "records": [ + { + "step": 1, + "loss": 0.6092928647994995, + "objective": 0.6092928647994995, + "error": 0.3583984375, + "gradient_norm": 0.08161187171936035, + "elapsed": 27.421262741088867 + }, + { + "step": 16, + "loss": 0.4709879755973816, + "objective": 0.4709879755973816, + "error": 0.2529296875, + "gradient_norm": 0.0541619211435318, + "elapsed": 48.74575757980347 + }, + { + "step": 32, + "loss": 0.5842419862747192, + "objective": 0.5842419862747192, + "error": 0.34375, + "gradient_norm": 0.09450904279947281, + "elapsed": 60.68022179603577 + }, + { + "step": 48, + "loss": 0.5840846300125122, + "objective": 0.5840846300125122, + "error": 0.32421875, + "gradient_norm": 0.04569687321782112, + "elapsed": 74.63272476196289 + }, + { + "step": 64, + "loss": 0.5139708518981934, + "objective": 0.5139708518981934, + "error": 0.2646484375, + "gradient_norm": 0.16111725568771362, + "elapsed": 91.88426613807678 + }, + { + "step": 80, + "loss": 0.49099838733673096, + "objective": 0.49099838733673096, + "error": 0.251953125, + "gradient_norm": 0.04431874305009842, + "elapsed": 105.08457684516907 + }, + { + "step": 96, + "loss": 0.30287861824035645, + "objective": 0.30287861824035645, + "error": 0.14453125, + "gradient_norm": 0.03792181238532066, + "elapsed": 118.16054177284241 + }, + { + "step": 112, + "loss": 0.6026535630226135, + "objective": 0.6026535630226135, + "error": 0.359375, + "gradient_norm": 0.043088704347610474, + "elapsed": 134.6414511203766 + }, + { + "step": 128, + "loss": 0.5983598828315735, + "objective": 0.5983598828315735, + "error": 0.328125, + "gradient_norm": 0.06492504477500916, + "elapsed": 148.38875198364258 + }, + { + "step": 144, + "loss": 0.616276204586029, + "objective": 0.616276204586029, + "error": 0.3857421875, + "gradient_norm": 0.05420554056763649, + "elapsed": 164.11315298080444 + }, + { + "step": 160, + "loss": 0.017882924526929855, + "objective": 0.017882924526929855, + "error": 0.0048828125, + "gradient_norm": 0.004682278726249933, + "elapsed": 178.31525373458862 + }, + { + "step": 176, + "loss": 0.5279660820960999, + "objective": 0.5279660820960999, + "error": 0.271484375, + "gradient_norm": 0.03895021602511406, + "elapsed": 192.20261907577515 + }, + { + "step": 192, + "loss": 0.5794406533241272, + "objective": 0.5794406533241272, + "error": 0.34375, + "gradient_norm": 0.041880734264850616, + "elapsed": 200.32051873207092 + }, + { + "step": 208, + "loss": 0.3353561758995056, + "objective": 0.3353561758995056, + "error": 0.1513671875, + "gradient_norm": 0.07022152841091156, + "elapsed": 212.5193521976471 + }, + { + "step": 224, + "loss": 0.47239983081817627, + "objective": 0.47239983081817627, + "error": 0.23828125, + "gradient_norm": 0.044771477580070496, + "elapsed": 223.36571788787842 + }, + { + "step": 240, + "loss": 0.6235381364822388, + "objective": 0.6235381364822388, + "error": 0.3779296875, + "gradient_norm": 0.047636937350034714, + "elapsed": 233.90032649040222 + }, + { + "step": 256, + "loss": 0.516319751739502, + "objective": 0.516319751739502, + "error": 0.271484375, + "gradient_norm": 0.087476447224617, + "elapsed": 245.52193427085876 + }, + { + "step": 272, + "loss": 0.23385891318321228, + "objective": 0.23385891318321228, + "error": 0.091796875, + "gradient_norm": 0.05921977758407593, + "elapsed": 254.38622951507568 + }, + { + "step": 288, + "loss": 0.31280556321144104, + "objective": 0.31280556321144104, + "error": 0.1318359375, + "gradient_norm": 0.03548427298665047, + "elapsed": 263.25871300697327 + }, + { + "step": 304, + "loss": 0.6208417415618896, + "objective": 0.6208417415618896, + "error": 0.361328125, + "gradient_norm": 0.10255666077136993, + "elapsed": 273.5115919113159 + }, + { + "step": 320, + "loss": 0.5985375642776489, + "objective": 0.5985375642776489, + "error": 0.3603515625, + "gradient_norm": 0.04024764895439148, + "elapsed": 285.4135670661926 + }, + { + "step": 336, + "loss": 0.028151696547865868, + "objective": 0.028151696547865868, + "error": 0.009765625, + "gradient_norm": 0.008847440592944622, + "elapsed": 295.0800693035126 + }, + { + "step": 352, + "loss": 0.6147637963294983, + "objective": 0.6147637963294983, + "error": 0.3603515625, + "gradient_norm": 0.05709920823574066, + "elapsed": 305.32019686698914 + }, + { + "step": 368, + "loss": 0.5955979824066162, + "objective": 0.5955979824066162, + "error": 0.3486328125, + "gradient_norm": 0.04276399686932564, + "elapsed": 316.3869025707245 + }, + { + "step": 384, + "loss": 0.23504304885864258, + "objective": 0.23504304885864258, + "error": 0.1025390625, + "gradient_norm": 0.03205326199531555, + "elapsed": 325.7849349975586 + }, + { + "step": 400, + "loss": 0.13460804522037506, + "objective": 0.13460804522037506, + "error": 0.0546875, + "gradient_norm": 0.03109711967408657, + "elapsed": 335.72691917419434 + }, + { + "step": 416, + "loss": 0.5798783302307129, + "objective": 0.5798783302307129, + "error": 0.322265625, + "gradient_norm": 0.053542010486125946, + "elapsed": 345.7052640914917 + }, + { + "step": 432, + "loss": 0.3892784118652344, + "objective": 0.3892784118652344, + "error": 0.19140625, + "gradient_norm": 0.052194178104400635, + "elapsed": 357.38475036621094 + }, + { + "step": 448, + "loss": 0.23582103848457336, + "objective": 0.23582103848457336, + "error": 0.1181640625, + "gradient_norm": 0.032037943601608276, + "elapsed": 369.5841510295868 + }, + { + "step": 464, + "loss": 0.5408849716186523, + "objective": 0.5408849716186523, + "error": 0.2900390625, + "gradient_norm": 0.07508285343647003, + "elapsed": 379.84099793434143 + }, + { + "step": 480, + "loss": 0.3894873559474945, + "objective": 0.3894873559474945, + "error": 0.19140625, + "gradient_norm": 0.03977999836206436, + "elapsed": 390.9687530994415 + }, + { + "step": 496, + "loss": 0.6059300899505615, + "objective": 0.6059300899505615, + "error": 0.361328125, + "gradient_norm": 0.06041429564356804, + "elapsed": 403.2380111217499 + }, + { + "step": 512, + "loss": 0.2117740511894226, + "objective": 0.2117740511894226, + "error": 0.0908203125, + "gradient_norm": 0.05693414434790611, + "elapsed": 414.4854781627655 + }, + { + "step": 528, + "loss": 0.4666211009025574, + "objective": 0.4666211009025574, + "error": 0.2470703125, + "gradient_norm": 0.0764947235584259, + "elapsed": 433.42368054389954 + }, + { + "step": 544, + "loss": 0.22636458277702332, + "objective": 0.22636458277702332, + "error": 0.1083984375, + "gradient_norm": 0.03683016076683998, + "elapsed": 442.92575907707214 + }, + { + "step": 560, + "loss": 0.23172692954540253, + "objective": 0.23172692954540253, + "error": 0.1083984375, + "gradient_norm": 0.034071482717990875, + "elapsed": 453.3129711151123 + }, + { + "step": 576, + "loss": 0.4768703579902649, + "objective": 0.4768703579902649, + "error": 0.2529296875, + "gradient_norm": 0.06308378279209137, + "elapsed": 462.4127457141876 + }, + { + "step": 592, + "loss": 0.5165150165557861, + "objective": 0.5165150165557861, + "error": 0.291015625, + "gradient_norm": 0.07674732059240341, + "elapsed": 473.8309862613678 + }, + { + "step": 608, + "loss": 0.5919064283370972, + "objective": 0.5919064283370972, + "error": 0.3359375, + "gradient_norm": 0.06379934400320053, + "elapsed": 484.3733870983124 + }, + { + "step": 624, + "loss": 0.01804366335272789, + "objective": 0.01804366335272789, + "error": 0.0068359375, + "gradient_norm": 0.005318541545420885, + "elapsed": 495.94076347351074 + }, + { + "step": 640, + "loss": 0.41747498512268066, + "objective": 0.41747498512268066, + "error": 0.1962890625, + "gradient_norm": 0.052116431295871735, + "elapsed": 506.73559165000916 + }, + { + "step": 656, + "loss": 0.6140056848526001, + "objective": 0.6140056848526001, + "error": 0.3896484375, + "gradient_norm": 0.05376415699720383, + "elapsed": 517.2397899627686 + }, + { + "step": 672, + "loss": 0.4098930358886719, + "objective": 0.4098930358886719, + "error": 0.197265625, + "gradient_norm": 0.04737741872668266, + "elapsed": 525.7957897186279 + }, + { + "step": 688, + "loss": 0.3499884009361267, + "objective": 0.3499884009361267, + "error": 0.1650390625, + "gradient_norm": 0.0714973583817482, + "elapsed": 534.9302124977112 + }, + { + "step": 704, + "loss": 0.552291989326477, + "objective": 0.552291989326477, + "error": 0.3095703125, + "gradient_norm": 0.10188189148902893, + "elapsed": 545.4470670223236 + }, + { + "step": 720, + "loss": 0.4040689468383789, + "objective": 0.4040689468383789, + "error": 0.1943359375, + "gradient_norm": 0.06630362570285797, + "elapsed": 554.2920794487 + }, + { + "step": 736, + "loss": 0.3191133439540863, + "objective": 0.3191133439540863, + "error": 0.15625, + "gradient_norm": 0.060587506741285324, + "elapsed": 562.335791349411 + }, + { + "step": 752, + "loss": 0.5949387550354004, + "objective": 0.5949387550354004, + "error": 0.330078125, + "gradient_norm": 0.051291145384311676, + "elapsed": 570.9363489151001 + }, + { + "step": 768, + "loss": 0.4783790409564972, + "objective": 0.4783790409564972, + "error": 0.244140625, + "gradient_norm": 0.08808670938014984, + "elapsed": 581.1555306911469 + }, + { + "step": 784, + "loss": 0.4414710998535156, + "objective": 0.4414710998535156, + "error": 0.20703125, + "gradient_norm": 0.06632383912801743, + "elapsed": 590.4109175205231 + }, + { + "step": 800, + "loss": 0.2536136507987976, + "objective": 0.2536136507987976, + "error": 0.1142578125, + "gradient_norm": 0.03191893920302391, + "elapsed": 601.43274974823 + }, + { + "step": 816, + "loss": 0.22448071837425232, + "objective": 0.22448071837425232, + "error": 0.1015625, + "gradient_norm": 0.04966023191809654, + "elapsed": 612.7252013683319 + }, + { + "step": 832, + "loss": 0.5342355966567993, + "objective": 0.5342355966567993, + "error": 0.2783203125, + "gradient_norm": 0.05757307633757591, + "elapsed": 623.6647284030914 + }, + { + "step": 848, + "loss": 0.2506354749202728, + "objective": 0.2506354749202728, + "error": 0.109375, + "gradient_norm": 0.03991081938147545, + "elapsed": 635.1636409759521 + }, + { + "step": 864, + "loss": 0.40698009729385376, + "objective": 0.40698009729385376, + "error": 0.1953125, + "gradient_norm": 0.09155476838350296, + "elapsed": 645.2128469944 + }, + { + "step": 880, + "loss": 0.563283383846283, + "objective": 0.563283383846283, + "error": 0.3134765625, + "gradient_norm": 0.11409252882003784, + "elapsed": 659.2946681976318 + }, + { + "step": 896, + "loss": 0.13591040670871735, + "objective": 0.13591040670871735, + "error": 0.064453125, + "gradient_norm": 0.02692740224301815, + "elapsed": 668.6167254447937 + }, + { + "step": 912, + "loss": 0.5798318982124329, + "objective": 0.5798318982124329, + "error": 0.3310546875, + "gradient_norm": 0.06674209237098694, + "elapsed": 680.6492185592651 + }, + { + "step": 928, + "loss": 0.6140691041946411, + "objective": 0.6140691041946411, + "error": 0.3857421875, + "gradient_norm": 0.06117575615644455, + "elapsed": 693.1704411506653 + }, + { + "step": 944, + "loss": 0.3964633643627167, + "objective": 0.3964633643627167, + "error": 0.1865234375, + "gradient_norm": 0.08617512136697769, + "elapsed": 708.2128443717957 + }, + { + "step": 960, + "loss": 0.5512299537658691, + "objective": 0.5512299537658691, + "error": 0.2861328125, + "gradient_norm": 0.05705108866095543, + "elapsed": 720.2417063713074 + }, + { + "step": 976, + "loss": 0.454137921333313, + "objective": 0.454137921333313, + "error": 0.216796875, + "gradient_norm": 0.07962293922901154, + "elapsed": 730.2567391395569 + }, + { + "step": 992, + "loss": 0.5681213140487671, + "objective": 0.5681213140487671, + "error": 0.3017578125, + "gradient_norm": 0.09802286326885223, + "elapsed": 742.7380962371826 + }, + { + "step": 1008, + "loss": 0.13060352206230164, + "objective": 0.13060352206230164, + "error": 0.0537109375, + "gradient_norm": 0.04271279275417328, + "elapsed": 750.8077793121338 + }, + { + "step": 1024, + "loss": 0.6129879355430603, + "objective": 0.6129879355430603, + "error": 0.3603515625, + "gradient_norm": 0.04127912223339081, + "elapsed": 761.0585849285126 + }, + { + "step": 1040, + "loss": 0.31361687183380127, + "objective": 0.31361687183380127, + "error": 0.1455078125, + "gradient_norm": 0.04341907799243927, + "elapsed": 776.3491418361664 + }, + { + "step": 1056, + "loss": 0.6326502561569214, + "objective": 0.6326502561569214, + "error": 0.365234375, + "gradient_norm": 0.07518075406551361, + "elapsed": 786.0424168109894 + }, + { + "step": 1072, + "loss": 0.537599503993988, + "objective": 0.537599503993988, + "error": 0.2958984375, + "gradient_norm": 0.08455493301153183, + "elapsed": 795.1607735157013 + }, + { + "step": 1088, + "loss": 0.5953108072280884, + "objective": 0.5953108072280884, + "error": 0.337890625, + "gradient_norm": 0.06973882764577866, + "elapsed": 804.0053510665894 + }, + { + "step": 1104, + "loss": 0.36860400438308716, + "objective": 0.36860400438308716, + "error": 0.1923828125, + "gradient_norm": 0.04828036576509476, + "elapsed": 813.4029138088226 + }, + { + "step": 1120, + "loss": 0.5423247218132019, + "objective": 0.5423247218132019, + "error": 0.28125, + "gradient_norm": 0.04841453209519386, + "elapsed": 823.626978635788 + }, + { + "step": 1136, + "loss": 0.4766136407852173, + "objective": 0.4766136407852173, + "error": 0.236328125, + "gradient_norm": 0.07564551383256912, + "elapsed": 832.4641265869141 + }, + { + "step": 1152, + "loss": 0.5473434925079346, + "objective": 0.5473434925079346, + "error": 0.2958984375, + "gradient_norm": 0.13677075505256653, + "elapsed": 844.9307618141174 + }, + { + "step": 1168, + "loss": 0.3040686249732971, + "objective": 0.3040686249732971, + "error": 0.150390625, + "gradient_norm": 0.045926257967948914, + "elapsed": 854.336992263794 + }, + { + "step": 1184, + "loss": 0.6298375129699707, + "objective": 0.6298375129699707, + "error": 0.3798828125, + "gradient_norm": 0.06807851791381836, + "elapsed": 864.5731596946716 + }, + { + "step": 1200, + "loss": 0.6272540092468262, + "objective": 0.6272540092468262, + "error": 0.37890625, + "gradient_norm": 0.139838308095932, + "elapsed": 877.8357374668121 + }, + { + "step": 1216, + "loss": 0.5224937200546265, + "objective": 0.5224937200546265, + "error": 0.287109375, + "gradient_norm": 0.0647057592868805, + "elapsed": 887.8107197284698 + }, + { + "step": 1232, + "loss": 0.02408422902226448, + "objective": 0.02408422902226448, + "error": 0.0107421875, + "gradient_norm": 0.007562167476862669, + "elapsed": 902.201171875 + }, + { + "step": 1248, + "loss": 0.01936865597963333, + "objective": 0.01936865597963333, + "error": 0.0048828125, + "gradient_norm": 0.006423021201044321, + "elapsed": 914.0247437953949 + }, + { + "step": 1264, + "loss": 0.47522181272506714, + "objective": 0.47522181272506714, + "error": 0.2490234375, + "gradient_norm": 0.04962826892733574, + "elapsed": 927.0462884902954 + }, + { + "step": 1280, + "loss": 0.019577551633119583, + "objective": 0.019577551633119583, + "error": 0.0068359375, + "gradient_norm": 0.008308992721140385, + "elapsed": 939.3647270202637 + }, + { + "step": 1296, + "loss": 0.5085430145263672, + "objective": 0.5085430145263672, + "error": 0.2734375, + "gradient_norm": 0.06214233115315437, + "elapsed": 949.4259700775146 + }, + { + "step": 1312, + "loss": 0.23232896625995636, + "objective": 0.23232896625995636, + "error": 0.1015625, + "gradient_norm": 0.05894213914871216, + "elapsed": 961.3636543750763 + }, + { + "step": 1328, + "loss": 0.5330536365509033, + "objective": 0.5330536365509033, + "error": 0.2861328125, + "gradient_norm": 0.11579663306474686, + "elapsed": 972.1607241630554 + }, + { + "step": 1344, + "loss": 0.019525721669197083, + "objective": 0.019525721669197083, + "error": 0.0087890625, + "gradient_norm": 0.008134250529110432, + "elapsed": 983.0828921794891 + }, + { + "step": 1360, + "loss": 0.22790294885635376, + "objective": 0.22790294885635376, + "error": 0.103515625, + "gradient_norm": 0.04187086224555969, + "elapsed": 991.3167304992676 + }, + { + "step": 1376, + "loss": 0.48713046312332153, + "objective": 0.48713046312332153, + "error": 0.2666015625, + "gradient_norm": 0.06267429888248444, + "elapsed": 1003.5033710002899 + }, + { + "step": 1392, + "loss": 0.6043434143066406, + "objective": 0.6043434143066406, + "error": 0.369140625, + "gradient_norm": 0.037880122661590576, + "elapsed": 1017.8567223548889 + }, + { + "step": 1408, + "loss": 0.034499723464250565, + "objective": 0.034499723464250565, + "error": 0.0068359375, + "gradient_norm": 0.013505477458238602, + "elapsed": 1027.3547134399414 + }, + { + "step": 1424, + "loss": 0.5320160388946533, + "objective": 0.5320160388946533, + "error": 0.306640625, + "gradient_norm": 0.07510018348693848, + "elapsed": 1036.9454221725464 + }, + { + "step": 1440, + "loss": 0.3451523780822754, + "objective": 0.3451523780822754, + "error": 0.171875, + "gradient_norm": 0.06453985720872879, + "elapsed": 1046.1805095672607 + }, + { + "step": 1456, + "loss": 0.21541815996170044, + "objective": 0.21541815996170044, + "error": 0.08984375, + "gradient_norm": 0.043503839522600174, + "elapsed": 1055.850379705429 + }, + { + "step": 1472, + "loss": 0.43667086958885193, + "objective": 0.43667086958885193, + "error": 0.22265625, + "gradient_norm": 0.07311506569385529, + "elapsed": 1066.6324400901794 + }, + { + "step": 1488, + "loss": 0.6163139939308167, + "objective": 0.6163139939308167, + "error": 0.3779296875, + "gradient_norm": 0.06406569480895996, + "elapsed": 1075.7883398532867 + }, + { + "step": 1504, + "loss": 0.23901250958442688, + "objective": 0.23901250958442688, + "error": 0.10546875, + "gradient_norm": 0.04792191833257675, + "elapsed": 1085.4756922721863 + }, + { + "step": 1520, + "loss": 0.3817014694213867, + "objective": 0.3817014694213867, + "error": 0.18359375, + "gradient_norm": 0.046061187982559204, + "elapsed": 1095.974383354187 + }, + { + "step": 1536, + "loss": 0.5593156814575195, + "objective": 0.5593156814575195, + "error": 0.3017578125, + "gradient_norm": 0.0735388696193695, + "elapsed": 1105.913155078888 + } + ] + }, + "training_source_snapshot": "training_sources/fresh2_full", + "selection": "Minimum full-validation condition-mean failure per basis group over incumbent, listed neural checkpoints and equal probability averages with the recorded physical decoder.", + "physical_prediction_reference": "/run-state/workspace/research/context_upgrades/turbo1/predictions", + "prior_pass": 3, + "history": [ + { + "group": "d5_bX_center_5_5", + "candidates": { + "incumbent": 0.2325420673076923, + "0": 0.23359374999999996, + "blend-0": 0.23372896634615387, + "512": 0.23342848557692306, + "blend-512": 0.23329326923076926, + "1024": 0.23315805288461536, + "blend-1024": 0.23309795673076922, + "1536": 0.2326923076923077, + "blend-1536": 0.23278245192307695 + }, + "selected": "incumbent" + }, + { + "group": "d5_bZ_center_5_5", + "candidates": { + "incumbent": 0.22017728365384615, + "0": 0.22125901442307688, + "blend-0": 0.22125901442307694, + "512": 0.22080829326923082, + "blend-512": 0.2211838942307692, + "1024": 0.22052283653846153, + "blend-1024": 0.22031249999999997, + "1536": 0.21953124999999998, + "blend-1536": 0.21998197115384616 + }, + "selected": "1536" + } + ], + "checkpoints": { + "1536": { + "step": 1536, + "training_samples": 1572864, + "unique_training_rows_seen_in_this_phase": 491030, + "weights_sha256": "20746e71c276e720074318b0978e6ea0ddc0df206954834f13c7f36354933cea", + "complete": true + } + }, + "runtime": "Share physical priors when the conditioning pass and regime agree; otherwise recompute the neural prior independently. Last-only physical branches omit unused intermediate logical tracking; raw neural branches also omit the unused final physical readout.", + "last_only_equivalence_controls": [ + { + "condition": "surface_code_bX_d5_r03_center_5_5", + "maximum_probability_difference": 7.450580596923828e-07 + }, + { + "condition": "surface_code_bZ_d5_r03_center_5_5", + "maximum_probability_difference": 5.960464477539063e-08 + }, + { + "condition": "surface_code_bX_d5_r25_center_5_5", + "maximum_probability_difference": 5.960464477539063e-08 + }, + { + "condition": "surface_code_bZ_d5_r25_center_5_5", + "maximum_probability_difference": 1.7881393432617188e-07 + } + ], + "test_data_used": false, + "numerical_controls": { + "packaged_runtime_control_cpu": { + "device": "cpu", + "condition": "surface_code_bX_d5_r03_center_5_5", + "shots": 7, + "same_cpu_old_vs_new_maximum_difference": 0.0, + "old_cpu_vs_original_gpu_evaluation_maximum_difference": 4.971027374267578e-05, + "new_cpu_vs_original_gpu_evaluation_maximum_difference": 4.971027374267578e-05, + "cpu_vs_reconstructed_old_gpu_runtime_maximum_difference": 4.976987838745117e-05, + "original_gpu_evaluation_vs_reconstructed_gpu_runtime_maximum_difference": 7.748603820800781e-07, + "initial_failed_control": { + "comparison": "CPU runtime against original GPU evaluator", + "observed_maximum_difference": 4.971027374267578e-05, + "original_tolerance": 3e-06 + }, + "sources": { + "d5_base_context_model.py": "3b2d4b34a8945ddfe82d76e28b4aa917f11933ed885c0cdcd2bc389448a871fb", + "d5_context_model.py": "d58bcfe01767228d18ce2078d555abf13037b5df63edf38273ba66f0966ee445", + "d5_contextual.py": "59d6c85dc4bd61e26cf7243baf0e2637c3de1d35327b2c763707badd19446550", + "turbo.py": "c07dce8d7098142f5cd550d594b948290287a8cb2221f70acaeff3965c3dac0b" + }, + "scope": "Same-device compatibility check. Reconstructed GPU runtime removes the recorded equal physical blend; that reconstruction has floating-point rounding uncertainty.", + "status": "passed_same_device_compatibility" + }, + "cpu_probability_precision": { + "condition": "surface_code_bX_d5_r03_center_5_5", + "validation_syndromes": 7, + "logical_labels_used": false, + "parameter_updates": 0, + "reference": "Float64 neural forward and exact contraction from the same stored weights and fixed float32 input logits, on CPU", + "cpu_float32_vs_float64_maximum_difference": 7.624897924163321e-08, + "cpu_float32_edges_float64_contraction_vs_float64_maximum_difference": 4.725248914372315e-08, + "gpu_float32_vs_float64_maximum_difference": 4.964999121059854e-05, + "cpu_vs_gpu_float32_maximum_difference": 4.971027374267578e-05, + "maximum_neural_edge_probability_difference": 2.6330936014895556e-08, + "float32_edge_values_above_one_minus_1e6": 0, + "scope": "Precision diagnostic only; the published model is unchanged. Same-device old/new packaged-code compatibility was independently exact." + }, + "priors_only_control_cpu": { + "status": "passed", + "device": "cpu", + "source_sha256": "c07dce8d7098142f5cd550d594b948290287a8cb2221f70acaeff3965c3dac0b", + "records": [ + { + "condition": "surface_code_bX_d5_r03_center_5_5", + "shots": 3, + "priors_bitwise_identical": true, + "normal_seconds_including_compilation": 2.7116777896881104, + "priors_only_seconds_warm": 0.13569164276123047 + }, + { + "condition": "surface_code_bZ_d5_r25_center_5_5", + "shots": 3, + "priors_bitwise_identical": true, + "normal_seconds_including_compilation": 3.557781457901001, + "priors_only_seconds_warm": 1.7711329460144043 + } + ], + "scope": "CPU numerical equivalence on supplied training syndromes; timings are not a controlled speed comparison." + } + } + }, + "runtime_projection": { + "measured_full_validation_seconds_by_distance": { + "d3": 68.0347409248352, + "d5": 351.8580107688904 + }, + "validation_shots_per_condition": 5120, + "benchmark_shots_per_condition": 25000, + "workload_source": "Supplied data/README.md declares 25000 benchmark rows per condition; no benchmark examples accessed", + "linear_scale": 4.8828125, + "projected_total_seconds": 2050.2575766295195, + "limit_seconds": 3600, + "interpretation": "Projection from complete validation replays, scaling startup/compilation overhead as well as shot work. Retained-path timings are inherited; one-round categorical replacements only remove contractions. This is not a timed benchmark-split run." + }, + "neural_probability_ensemble": { + "new_optimizer_updates": 0, + "new_trainable_parameters": 0, + "initialization": "Constituents trained from random initialization in this session; this step only averages their predicted probabilities.", + "new_training": { + "initialization": "Continue from the recorded session-trained checkpoint; original random initialization seed 20261134", + "prior_pass": 3, + "initial_seed": 20261134, + "training_source_sha256": { + "learned_d5__train.py": "1f66b75e34e385a6d2654021f3fd124c9d8a359da1f677369e3e774728f83168", + "learned_d5__data.py": "9e3bcfe9d45f6af60b86a580cdc9374043758a1a6f10564aef9eb344f7a6b364", + "learned_d5__model.py": "3b2d4b34a8945ddfe82d76e28b4aa917f11933ed885c0cdcd2bc389448a871fb", + "learned_exact__gradient.py": "ecb6b45698480386fa124fe878db7dbfa246d1969fd720ec26daff9547da2001", + "learned_exact__checkpoint_gradient.py": "7ece6b3f45e009727fd104a3d39e2816a8c3437f737c3d98131d3a5d7d60e9b8", + "exact_d3__exact.py": "869dfacb295c419c156d1070fc2afdd6e20d02ac1840e45e72346b2b289f4825" + }, + "runtime_versions": { + "jax": "0.7.2", + "numpy": "2.3.3", + "optax": "0.2.6" + }, + "hidden_width": 64, + "input_features": 394, + "feature_mode": "local events, reconstructed measurements, shot densities, physical edge support and conditioned prior", + "architecture": "Two 64-unit SiLU layers; 394 features; bounded 2*tanh correction to relevant-CSS edge logits from the recorded physical feedback pass; exact width-14 contraction predicts logical probability. D5 joint conditioning remains approximate.", + "training": "All supplied training shots per each of all26 d5 conditions; uniform condition and within-condition sampling for optimizer batches.", + "training_cache": "/run-state/workspace/research/learned_d5/full_training_priors3", + "training_cache_provenance": { + "method": "Three undamped physical CSS extrinsic-message passes, clipping8, pass1/pass3 priors captured before logical readout", + "scope": "All supplied training rows in all26 d5 conditions; no validation or test labels used in cache generation", + "reused_rows": "4096 rows per condition from feedback5_cache, sampled with seed20261023; same first three passes", + "remaining_rows": "Computed now with last-only logical tracking; previously controlled against full logical tracking", + "train_manifest_sha256": "ce46c21e3595cfc5885bbe2b6481105317d2e6267498ec4572601469825914b8", + "records": [ + { + "condition": "surface_code_bX_d5_r25_center_5_5", + "shots": 19880, + "reused_training_rows": 4096, + "new_rows": 15784, + "seconds": 44.93641114234924, + "elapsed": 45.15474009513855, + "peak_gpu_bytes": 58661028096 + }, + { + "condition": "surface_code_bZ_d5_r25_center_5_5", + "shots": 19880, + "reused_training_rows": 4096, + "new_rows": 15784, + "seconds": 43.11551070213318, + "elapsed": 88.52458453178406, + "peak_gpu_bytes": 58661028096 + }, + { + "condition": "surface_code_bX_d5_r23_center_5_5", + "shots": 19880, + "reused_training_rows": 4096, + "new_rows": 15784, + "seconds": 39.70699763298035, + "elapsed": 128.4802794456482, + "peak_gpu_bytes": 58661028096 + }, + { + "condition": "surface_code_bZ_d5_r23_center_5_5", + "shots": 19880, + "reused_training_rows": 4096, + "new_rows": 15784, + "seconds": 41.178571701049805, + "elapsed": 169.95510387420654, + "peak_gpu_bytes": 58661028096 + }, + { + "condition": "surface_code_bX_d5_r21_center_5_5", + "shots": 19880, + "reused_training_rows": 4096, + "new_rows": 15784, + "seconds": 41.53053879737854, + "elapsed": 211.7576286792755, + "peak_gpu_bytes": 58661028096 + }, + { + "condition": "surface_code_bZ_d5_r21_center_5_5", + "shots": 19880, + "reused_training_rows": 4096, + "new_rows": 15784, + "seconds": 43.43117809295654, + "elapsed": 255.62733364105225, + "peak_gpu_bytes": 58661028096 + }, + { + "condition": "surface_code_bX_d5_r19_center_5_5", + "shots": 19880, + "reused_training_rows": 4096, + "new_rows": 15784, + "seconds": 33.84876799583435, + "elapsed": 289.70106053352356, + "peak_gpu_bytes": 58661028096 + }, + { + "condition": "surface_code_bZ_d5_r19_center_5_5", + "shots": 19880, + "reused_training_rows": 4096, + "new_rows": 15784, + "seconds": 32.88018870353699, + "elapsed": 322.7981607913971, + "peak_gpu_bytes": 58661028096 + }, + { + "condition": "surface_code_bX_d5_r17_center_5_5", + "shots": 19880, + "reused_training_rows": 4096, + "new_rows": 15784, + "seconds": 29.585307836532593, + "elapsed": 352.58776783943176, + "peak_gpu_bytes": 58661028096 + }, + { + "condition": "surface_code_bZ_d5_r17_center_5_5", + "shots": 19880, + "reused_training_rows": 4096, + "new_rows": 15784, + "seconds": 29.854028463363647, + "elapsed": 382.6393291950226, + "peak_gpu_bytes": 58661028096 + }, + { + "condition": "surface_code_bX_d5_r15_center_5_5", + "shots": 19880, + "reused_training_rows": 4096, + "new_rows": 15784, + "seconds": 26.721288919448853, + "elapsed": 409.54919600486755, + "peak_gpu_bytes": 58661028096 + }, + { + "condition": "surface_code_bZ_d5_r15_center_5_5", + "shots": 19880, + "reused_training_rows": 4096, + "new_rows": 15784, + "seconds": 29.810269832611084, + "elapsed": 439.6440734863281, + "peak_gpu_bytes": 58661028096 + }, + { + "condition": "surface_code_bX_d5_r13_center_5_5", + "shots": 19880, + "reused_training_rows": 4096, + "new_rows": 15784, + "seconds": 29.79407238960266, + "elapsed": 469.7887041568756, + "peak_gpu_bytes": 58661028096 + }, + { + "condition": "surface_code_bZ_d5_r13_center_5_5", + "shots": 19880, + "reused_training_rows": 4096, + "new_rows": 15784, + "seconds": 28.757604837417603, + "elapsed": 498.71140813827515, + "peak_gpu_bytes": 58661028096 + }, + { + "condition": "surface_code_bX_d5_r11_center_5_5", + "shots": 19880, + "reused_training_rows": 4096, + "new_rows": 15784, + "seconds": 25.38013219833374, + "elapsed": 524.2447266578674, + "peak_gpu_bytes": 58661028096 + }, + { + "condition": "surface_code_bZ_d5_r11_center_5_5", + "shots": 19880, + "reused_training_rows": 4096, + "new_rows": 15784, + "seconds": 25.378958225250244, + "elapsed": 549.8600506782532, + "peak_gpu_bytes": 58661028096 + }, + { + "condition": "surface_code_bX_d5_r09_center_5_5", + "shots": 19880, + "reused_training_rows": 4096, + "new_rows": 15784, + "seconds": 21.241567850112915, + "elapsed": 571.2600774765015, + "peak_gpu_bytes": 58661028096 + }, + { + "condition": "surface_code_bZ_d5_r09_center_5_5", + "shots": 19880, + "reused_training_rows": 4096, + "new_rows": 15784, + "seconds": 18.780335664749146, + "elapsed": 590.304051399231, + "peak_gpu_bytes": 58661028096 + }, + { + "condition": "surface_code_bX_d5_r07_center_5_5", + "shots": 19880, + "reused_training_rows": 4096, + "new_rows": 15784, + "seconds": 14.346807956695557, + "elapsed": 604.8041462898254, + "peak_gpu_bytes": 58661028096 + }, + { + "condition": "surface_code_bZ_d5_r07_center_5_5", + "shots": 19880, + "reused_training_rows": 4096, + "new_rows": 15784, + "seconds": 14.03441047668457, + "elapsed": 618.9537570476532, + "peak_gpu_bytes": 58661028096 + }, + { + "condition": "surface_code_bX_d5_r05_center_5_5", + "shots": 19880, + "reused_training_rows": 4096, + "new_rows": 15784, + "seconds": 10.811666488647461, + "elapsed": 629.8610434532166, + "peak_gpu_bytes": 58661028096 + }, + { + "condition": "surface_code_bZ_d5_r05_center_5_5", + "shots": 19880, + "reused_training_rows": 4096, + "new_rows": 15784, + "seconds": 10.982703924179077, + "elapsed": 640.9919559955597, + "peak_gpu_bytes": 58661028096 + }, + { + "condition": "surface_code_bX_d5_r03_center_5_5", + "shots": 19880, + "reused_training_rows": 4096, + "new_rows": 15784, + "seconds": 7.846271991729736, + "elapsed": 648.9624857902527, + "peak_gpu_bytes": 58661028096 + }, + { + "condition": "surface_code_bZ_d5_r03_center_5_5", + "shots": 19880, + "reused_training_rows": 4096, + "new_rows": 15784, + "seconds": 7.83586859703064, + "elapsed": 656.9065537452698, + "peak_gpu_bytes": 58661028096 + }, + { + "condition": "surface_code_bX_d5_r01_center_5_5", + "shots": 19880, + "reused_training_rows": 4096, + "new_rows": 15784, + "seconds": 0.7685718536376953, + "elapsed": 657.7747800350189, + "peak_gpu_bytes": 58661028096 + }, + { + "condition": "surface_code_bZ_d5_r01_center_5_5", + "shots": 19880, + "reused_training_rows": 4096, + "new_rows": 15784, + "seconds": 0.748960018157959, + "elapsed": 658.5666444301605, + "peak_gpu_bytes": 58661028096 + } + ], + "test_data_used": false + }, + "training_shots": 516880, + "training_pool_interpretation": "Eligible training rows; optimizer samples conditions and rows with replacement. Distinct rows used in this phase are recorded separately.", + "unique_training_rows_seen_in_this_phase": 491030, + "unique_rows_by_condition": { + "surface_code_bX_d5_r01_center_5_5": 18670, + "surface_code_bX_d5_r03_center_5_5": 18940, + "surface_code_bX_d5_r05_center_5_5": 19128, + "surface_code_bX_d5_r07_center_5_5": 18988, + "surface_code_bX_d5_r09_center_5_5": 18523, + "surface_code_bX_d5_r11_center_5_5": 19227, + "surface_code_bX_d5_r13_center_5_5": 18816, + "surface_code_bX_d5_r15_center_5_5": 18107, + "surface_code_bX_d5_r17_center_5_5": 18728, + "surface_code_bX_d5_r19_center_5_5": 18983, + "surface_code_bX_d5_r21_center_5_5": 18959, + "surface_code_bX_d5_r23_center_5_5": 19079, + "surface_code_bX_d5_r25_center_5_5": 19193, + "surface_code_bZ_d5_r01_center_5_5": 18828, + "surface_code_bZ_d5_r03_center_5_5": 18896, + "surface_code_bZ_d5_r05_center_5_5": 19011, + "surface_code_bZ_d5_r07_center_5_5": 18806, + "surface_code_bZ_d5_r09_center_5_5": 18268, + "surface_code_bZ_d5_r11_center_5_5": 18927, + "surface_code_bZ_d5_r13_center_5_5": 19399, + "surface_code_bZ_d5_r15_center_5_5": 19358, + "surface_code_bZ_d5_r17_center_5_5": 18634, + "surface_code_bZ_d5_r19_center_5_5": 19126, + "surface_code_bZ_d5_r21_center_5_5": 18603, + "surface_code_bZ_d5_r23_center_5_5": 18626, + "surface_code_bZ_d5_r25_center_5_5": 19207 + }, + "gradient_block_size": 32, + "bucket_operations": true, + "accumulate_conditions": 1, + "effective_batch_size": 1024, + "uncertainty_weight_floor": 1.0, + "example_weighting": "Uniform BCE", + "loss": "Conditional logical binary cross entropy, differentiated through exact relevant-CSS contraction; physical CSS feedback prior held fixed", + "steps": 1536, + "batch": 1024, + "learning_rate": 0.0005, + "sampling_seed": 20261135, + "optimizer": "AdamW, weight decay 1e-4, global gradient norm clip 1", + "optimizer_restored": true, + "rng_restored": true, + "explicit_optimizer_reset": false, + "explicit_rng_reset": false, + "sampling_state_source": "/run-state/workspace/research/learned_d5/fresh2_warm/rng-512.json", + "starting_checkpoint": "/run-state/workspace/research/learned_d5/fresh2_warm/weights-512.npz", + "starting_checkpoint_sha256": "d3e3abba07693bd7fd3d17be2dd981d5b803a496e76ba230ed94afeb51f26f4f", + "starting_training_provenance": { + "initialization": "All parameters initialized in this session: variance-scaled normal hidden layers, Normal(0,.001) output weights, zero biases, seed 20261134", + "prior_pass": 3, + "initial_seed": 20261134, + "training_source_sha256": { + "learned_d5__train.py": "1f66b75e34e385a6d2654021f3fd124c9d8a359da1f677369e3e774728f83168", + "learned_d5__data.py": "9e3bcfe9d45f6af60b86a580cdc9374043758a1a6f10564aef9eb344f7a6b364", + "learned_d5__model.py": "3b2d4b34a8945ddfe82d76e28b4aa917f11933ed885c0cdcd2bc389448a871fb", + "learned_exact__gradient.py": "ecb6b45698480386fa124fe878db7dbfa246d1969fd720ec26daff9547da2001", + "learned_exact__checkpoint_gradient.py": "7ece6b3f45e009727fd104a3d39e2816a8c3437f737c3d98131d3a5d7d60e9b8", + "exact_d3__exact.py": "869dfacb295c419c156d1070fc2afdd6e20d02ac1840e45e72346b2b289f4825" + }, + "runtime_versions": { + "jax": "0.7.2", + "numpy": "2.3.3", + "optax": "0.2.6" + }, + "hidden_width": 64, + "input_features": 394, + "feature_mode": "local events, reconstructed measurements, shot densities, physical edge support and conditioned prior", + "architecture": "Two 64-unit SiLU layers; 394 features; bounded 2*tanh correction to relevant-CSS edge logits from the recorded physical feedback pass; exact width-14 contraction predicts logical probability. D5 joint conditioning remains approximate.", + "training": "All supplied training shots per each of all26 d5 conditions; uniform condition and within-condition sampling for optimizer batches.", + "training_cache": "/run-state/workspace/research/learned_d5/full_training_priors3", + "training_cache_provenance": { + "method": "Three undamped physical CSS extrinsic-message passes, clipping8, pass1/pass3 priors captured before logical readout", + "scope": "All supplied training rows in all26 d5 conditions; no validation or test labels used in cache generation", + "reused_rows": "4096 rows per condition from feedback5_cache, sampled with seed20261023; same first three passes", + "remaining_rows": "Computed now with last-only logical tracking; previously controlled against full logical tracking", + "train_manifest_sha256": "ce46c21e3595cfc5885bbe2b6481105317d2e6267498ec4572601469825914b8", + "records": [ + { + "condition": "surface_code_bX_d5_r25_center_5_5", + "shots": 19880, + "reused_training_rows": 4096, + "new_rows": 15784, + "seconds": 44.93641114234924, + "elapsed": 45.15474009513855, + "peak_gpu_bytes": 58661028096 + }, + { + "condition": "surface_code_bZ_d5_r25_center_5_5", + "shots": 19880, + "reused_training_rows": 4096, + "new_rows": 15784, + "seconds": 43.11551070213318, + "elapsed": 88.52458453178406, + "peak_gpu_bytes": 58661028096 + }, + { + "condition": "surface_code_bX_d5_r23_center_5_5", + "shots": 19880, + "reused_training_rows": 4096, + "new_rows": 15784, + "seconds": 39.70699763298035, + "elapsed": 128.4802794456482, + "peak_gpu_bytes": 58661028096 + }, + { + "condition": "surface_code_bZ_d5_r23_center_5_5", + "shots": 19880, + "reused_training_rows": 4096, + "new_rows": 15784, + "seconds": 41.178571701049805, + "elapsed": 169.95510387420654, + "peak_gpu_bytes": 58661028096 + }, + { + "condition": "surface_code_bX_d5_r21_center_5_5", + "shots": 19880, + "reused_training_rows": 4096, + "new_rows": 15784, + "seconds": 41.53053879737854, + "elapsed": 211.7576286792755, + "peak_gpu_bytes": 58661028096 + }, + { + "condition": "surface_code_bZ_d5_r21_center_5_5", + "shots": 19880, + "reused_training_rows": 4096, + "new_rows": 15784, + "seconds": 43.43117809295654, + "elapsed": 255.62733364105225, + "peak_gpu_bytes": 58661028096 + }, + { + "condition": "surface_code_bX_d5_r19_center_5_5", + "shots": 19880, + "reused_training_rows": 4096, + "new_rows": 15784, + "seconds": 33.84876799583435, + "elapsed": 289.70106053352356, + "peak_gpu_bytes": 58661028096 + }, + { + "condition": "surface_code_bZ_d5_r19_center_5_5", + "shots": 19880, + "reused_training_rows": 4096, + "new_rows": 15784, + "seconds": 32.88018870353699, + "elapsed": 322.7981607913971, + "peak_gpu_bytes": 58661028096 + }, + { + "condition": "surface_code_bX_d5_r17_center_5_5", + "shots": 19880, + "reused_training_rows": 4096, + "new_rows": 15784, + "seconds": 29.585307836532593, + "elapsed": 352.58776783943176, + "peak_gpu_bytes": 58661028096 + }, + { + "condition": "surface_code_bZ_d5_r17_center_5_5", + "shots": 19880, + "reused_training_rows": 4096, + "new_rows": 15784, + "seconds": 29.854028463363647, + "elapsed": 382.6393291950226, + "peak_gpu_bytes": 58661028096 + }, + { + "condition": "surface_code_bX_d5_r15_center_5_5", + "shots": 19880, + "reused_training_rows": 4096, + "new_rows": 15784, + "seconds": 26.721288919448853, + "elapsed": 409.54919600486755, + "peak_gpu_bytes": 58661028096 + }, + { + "condition": "surface_code_bZ_d5_r15_center_5_5", + "shots": 19880, + "reused_training_rows": 4096, + "new_rows": 15784, + "seconds": 29.810269832611084, + "elapsed": 439.6440734863281, + "peak_gpu_bytes": 58661028096 + }, + { + "condition": "surface_code_bX_d5_r13_center_5_5", + "shots": 19880, + "reused_training_rows": 4096, + "new_rows": 15784, + "seconds": 29.79407238960266, + "elapsed": 469.7887041568756, + "peak_gpu_bytes": 58661028096 + }, + { + "condition": "surface_code_bZ_d5_r13_center_5_5", + "shots": 19880, + "reused_training_rows": 4096, + "new_rows": 15784, + "seconds": 28.757604837417603, + "elapsed": 498.71140813827515, + "peak_gpu_bytes": 58661028096 + }, + { + "condition": "surface_code_bX_d5_r11_center_5_5", + "shots": 19880, + "reused_training_rows": 4096, + "new_rows": 15784, + "seconds": 25.38013219833374, + "elapsed": 524.2447266578674, + "peak_gpu_bytes": 58661028096 + }, + { + "condition": "surface_code_bZ_d5_r11_center_5_5", + "shots": 19880, + "reused_training_rows": 4096, + "new_rows": 15784, + "seconds": 25.378958225250244, + "elapsed": 549.8600506782532, + "peak_gpu_bytes": 58661028096 + }, + { + "condition": "surface_code_bX_d5_r09_center_5_5", + "shots": 19880, + "reused_training_rows": 4096, + "new_rows": 15784, + "seconds": 21.241567850112915, + "elapsed": 571.2600774765015, + "peak_gpu_bytes": 58661028096 + }, + { + "condition": "surface_code_bZ_d5_r09_center_5_5", + "shots": 19880, + "reused_training_rows": 4096, + "new_rows": 15784, + "seconds": 18.780335664749146, + "elapsed": 590.304051399231, + "peak_gpu_bytes": 58661028096 + }, + { + "condition": "surface_code_bX_d5_r07_center_5_5", + "shots": 19880, + "reused_training_rows": 4096, + "new_rows": 15784, + "seconds": 14.346807956695557, + "elapsed": 604.8041462898254, + "peak_gpu_bytes": 58661028096 + }, + { + "condition": "surface_code_bZ_d5_r07_center_5_5", + "shots": 19880, + "reused_training_rows": 4096, + "new_rows": 15784, + "seconds": 14.03441047668457, + "elapsed": 618.9537570476532, + "peak_gpu_bytes": 58661028096 + }, + { + "condition": "surface_code_bX_d5_r05_center_5_5", + "shots": 19880, + "reused_training_rows": 4096, + "new_rows": 15784, + "seconds": 10.811666488647461, + "elapsed": 629.8610434532166, + "peak_gpu_bytes": 58661028096 + }, + { + "condition": "surface_code_bZ_d5_r05_center_5_5", + "shots": 19880, + "reused_training_rows": 4096, + "new_rows": 15784, + "seconds": 10.982703924179077, + "elapsed": 640.9919559955597, + "peak_gpu_bytes": 58661028096 + }, + { + "condition": "surface_code_bX_d5_r03_center_5_5", + "shots": 19880, + "reused_training_rows": 4096, + "new_rows": 15784, + "seconds": 7.846271991729736, + "elapsed": 648.9624857902527, + "peak_gpu_bytes": 58661028096 + }, + { + "condition": "surface_code_bZ_d5_r03_center_5_5", + "shots": 19880, + "reused_training_rows": 4096, + "new_rows": 15784, + "seconds": 7.83586859703064, + "elapsed": 656.9065537452698, + "peak_gpu_bytes": 58661028096 + }, + { + "condition": "surface_code_bX_d5_r01_center_5_5", + "shots": 19880, + "reused_training_rows": 4096, + "new_rows": 15784, + "seconds": 0.7685718536376953, + "elapsed": 657.7747800350189, + "peak_gpu_bytes": 58661028096 + }, + { + "condition": "surface_code_bZ_d5_r01_center_5_5", + "shots": 19880, + "reused_training_rows": 4096, + "new_rows": 15784, + "seconds": 0.748960018157959, + "elapsed": 658.5666444301605, + "peak_gpu_bytes": 58661028096 + } + ], + "test_data_used": false + }, + "training_shots": 516880, + "training_pool_interpretation": "Eligible training rows; optimizer samples conditions and rows with replacement. Distinct rows used in this phase are recorded separately.", + "unique_training_rows_seen_in_this_phase": 325678, + "unique_rows_by_condition": { + "surface_code_bX_d5_r01_center_5_5": 11962, + "surface_code_bX_d5_r03_center_5_5": 10232, + "surface_code_bX_d5_r05_center_5_5": 14014, + "surface_code_bX_d5_r07_center_5_5": 11594, + "surface_code_bX_d5_r09_center_5_5": 12805, + "surface_code_bX_d5_r11_center_5_5": 11644, + "surface_code_bX_d5_r13_center_5_5": 13845, + "surface_code_bX_d5_r15_center_5_5": 10703, + "surface_code_bX_d5_r17_center_5_5": 15460, + "surface_code_bX_d5_r19_center_5_5": 14156, + "surface_code_bX_d5_r21_center_5_5": 11568, + "surface_code_bX_d5_r23_center_5_5": 14156, + "surface_code_bX_d5_r25_center_5_5": 12021, + "surface_code_bZ_d5_r01_center_5_5": 10601, + "surface_code_bZ_d5_r03_center_5_5": 14135, + "surface_code_bZ_d5_r05_center_5_5": 11975, + "surface_code_bZ_d5_r07_center_5_5": 13841, + "surface_code_bZ_d5_r09_center_5_5": 12024, + "surface_code_bZ_d5_r11_center_5_5": 11151, + "surface_code_bZ_d5_r13_center_5_5": 10640, + "surface_code_bZ_d5_r15_center_5_5": 11089, + "surface_code_bZ_d5_r17_center_5_5": 13788, + "surface_code_bZ_d5_r19_center_5_5": 12350, + "surface_code_bZ_d5_r21_center_5_5": 12797, + "surface_code_bZ_d5_r23_center_5_5": 12809, + "surface_code_bZ_d5_r25_center_5_5": 14318 + }, + "gradient_block_size": 32, + "bucket_operations": true, + "accumulate_conditions": 1, + "effective_batch_size": 1024, + "uncertainty_weight_floor": 1.0, + "example_weighting": "Uniform BCE", + "loss": "Conditional logical binary cross entropy, differentiated through exact relevant-CSS contraction; physical CSS feedback prior held fixed", + "steps": 512, + "batch": 1024, + "learning_rate": 0.001, + "sampling_seed": 20261135, + "optimizer": "AdamW, weight decay 1e-4, global gradient norm clip 1", + "optimizer_restored": false, + "rng_restored": false, + "explicit_optimizer_reset": false, + "explicit_rng_reset": false, + "sampling_state_source": "Fresh NumPy default_rng seed 20261135", + "starting_checkpoint": null, + "starting_checkpoint_sha256": null, + "starting_training_provenance": null, + "validation": "Uniform subset per all 26 conditions, sample seed 20261102; full validation required before publication", + "validation_shots_per_condition": 1024, + "test_data_used": false, + "records": [ + { + "step": 1, + "loss": 0.6522030830383301, + "objective": 0.6522030830383301, + "error": 0.375, + "gradient_norm": 0.11649785190820694, + "elapsed": 30.089841604232788 + }, + { + "step": 16, + "loss": 0.5927819609642029, + "objective": 0.5927819609642029, + "error": 0.3466796875, + "gradient_norm": 0.07945127785205841, + "elapsed": 48.85365080833435 + }, + { + "step": 32, + "loss": 0.3115929663181305, + "objective": 0.3115929663181305, + "error": 0.13671875, + "gradient_norm": 0.039320655167102814, + "elapsed": 63.60312819480896 + }, + { + "step": 48, + "loss": 0.2456369698047638, + "objective": 0.2456369698047638, + "error": 0.1015625, + "gradient_norm": 0.029398636892437935, + "elapsed": 73.71074151992798 + }, + { + "step": 64, + "loss": 0.6231744885444641, + "objective": 0.6231744885444641, + "error": 0.3759765625, + "gradient_norm": 0.06867238879203796, + "elapsed": 83.75580954551697 + }, + { + "step": 80, + "loss": 0.3674217164516449, + "objective": 0.3674217164516449, + "error": 0.1572265625, + "gradient_norm": 0.0557992123067379, + "elapsed": 94.6383364200592 + }, + { + "step": 96, + "loss": 0.5152362585067749, + "objective": 0.5152362585067749, + "error": 0.2568359375, + "gradient_norm": 0.08284599334001541, + "elapsed": 106.90000939369202 + }, + { + "step": 112, + "loss": 0.020773420110344887, + "objective": 0.020773420110344887, + "error": 0.0048828125, + "gradient_norm": 0.008813572116196156, + "elapsed": 117.77558088302612 + }, + { + "step": 128, + "loss": 0.02593131735920906, + "objective": 0.02593131735920906, + "error": 0.0087890625, + "gradient_norm": 0.00872033555060625, + "elapsed": 128.93439435958862 + }, + { + "step": 144, + "loss": 0.5852900743484497, + "objective": 0.5852900743484497, + "error": 0.3291015625, + "gradient_norm": 0.04771002382040024, + "elapsed": 139.5588686466217 + }, + { + "step": 160, + "loss": 0.46074625849723816, + "objective": 0.46074625849723816, + "error": 0.232421875, + "gradient_norm": 0.08834747970104218, + "elapsed": 151.5595977306366 + }, + { + "step": 176, + "loss": 0.6310865879058838, + "objective": 0.6310865879058838, + "error": 0.376953125, + "gradient_norm": 0.14084596931934357, + "elapsed": 163.7892107963562 + }, + { + "step": 192, + "loss": 0.246865376830101, + "objective": 0.246865376830101, + "error": 0.1103515625, + "gradient_norm": 0.041402049362659454, + "elapsed": 174.28971648216248 + }, + { + "step": 208, + "loss": 0.3103577196598053, + "objective": 0.3103577196598053, + "error": 0.15625, + "gradient_norm": 0.04525696486234665, + "elapsed": 187.03909611701965 + }, + { + "step": 224, + "loss": 0.4523138999938965, + "objective": 0.4523138999938965, + "error": 0.208984375, + "gradient_norm": 0.09180521965026855, + "elapsed": 199.56195068359375 + }, + { + "step": 240, + "loss": 0.02241751179099083, + "objective": 0.02241751179099083, + "error": 0.009765625, + "gradient_norm": 0.009998111054301262, + "elapsed": 212.35500597953796 + }, + { + "step": 256, + "loss": 0.5487150549888611, + "objective": 0.5487150549888611, + "error": 0.294921875, + "gradient_norm": 0.12748055160045624, + "elapsed": 223.03854608535767 + }, + { + "step": 272, + "loss": 0.023057367652654648, + "objective": 0.023057367652654648, + "error": 0.0078125, + "gradient_norm": 0.006953821517527103, + "elapsed": 244.6508972644806 + }, + { + "step": 288, + "loss": 0.5845386981964111, + "objective": 0.5845386981964111, + "error": 0.330078125, + "gradient_norm": 0.06542652100324631, + "elapsed": 256.78167748451233 + }, + { + "step": 304, + "loss": 0.442532479763031, + "objective": 0.442532479763031, + "error": 0.232421875, + "gradient_norm": 0.10874580591917038, + "elapsed": 269.1364529132843 + }, + { + "step": 320, + "loss": 0.3264174163341522, + "objective": 0.3264174163341522, + "error": 0.15625, + "gradient_norm": 0.06276191771030426, + "elapsed": 282.38969564437866 + }, + { + "step": 336, + "loss": 0.386960506439209, + "objective": 0.386960506439209, + "error": 0.177734375, + "gradient_norm": 0.06561421602964401, + "elapsed": 292.9079031944275 + }, + { + "step": 352, + "loss": 0.23919886350631714, + "objective": 0.23919886350631714, + "error": 0.107421875, + "gradient_norm": 0.02755703590810299, + "elapsed": 304.16068935394287 + }, + { + "step": 368, + "loss": 0.5029175281524658, + "objective": 0.5029175281524658, + "error": 0.259765625, + "gradient_norm": 0.0378776490688324, + "elapsed": 315.11088514328003 + }, + { + "step": 384, + "loss": 0.565666675567627, + "objective": 0.565666675567627, + "error": 0.322265625, + "gradient_norm": 0.11368246376514435, + "elapsed": 324.3651068210602 + }, + { + "step": 400, + "loss": 0.5846428275108337, + "objective": 0.5846428275108337, + "error": 0.3408203125, + "gradient_norm": 0.08116643130779266, + "elapsed": 334.70786476135254 + }, + { + "step": 416, + "loss": 0.025111017748713493, + "objective": 0.025111017748713493, + "error": 0.0078125, + "gradient_norm": 0.008838560432195663, + "elapsed": 345.56963562965393 + }, + { + "step": 432, + "loss": 0.628488302230835, + "objective": 0.628488302230835, + "error": 0.3818359375, + "gradient_norm": 0.04001976177096367, + "elapsed": 355.3310384750366 + }, + { + "step": 448, + "loss": 0.4569575786590576, + "objective": 0.4569575786590576, + "error": 0.2578125, + "gradient_norm": 0.06344135850667953, + "elapsed": 367.05255675315857 + }, + { + "step": 464, + "loss": 0.49193111062049866, + "objective": 0.49193111062049866, + "error": 0.24609375, + "gradient_norm": 0.06022385507822037, + "elapsed": 377.38399291038513 + }, + { + "step": 480, + "loss": 0.5920064449310303, + "objective": 0.5920064449310303, + "error": 0.3466796875, + "gradient_norm": 0.036063045263290405, + "elapsed": 387.7266733646393 + }, + { + "step": 496, + "loss": 0.22157302498817444, + "objective": 0.22157302498817444, + "error": 0.09375, + "gradient_norm": 0.04071022942662239, + "elapsed": 397.78643012046814 + }, + { + "step": 512, + "loss": 0.39216887950897217, + "objective": 0.39216887950897217, + "error": 0.1728515625, + "gradient_norm": 0.09079446643590927, + "elapsed": 407.0137679576874 + } + ] + }, + "validation": "Uniform subset per all 26 conditions, sample seed 20261102; full validation required before publication", + "validation_shots_per_condition": 1024, + "test_data_used": false, + "records": [ + { + "step": 1, + "loss": 0.6092928647994995, + "objective": 0.6092928647994995, + "error": 0.3583984375, + "gradient_norm": 0.08161187171936035, + "elapsed": 27.421262741088867 + }, + { + "step": 16, + "loss": 0.4709879755973816, + "objective": 0.4709879755973816, + "error": 0.2529296875, + "gradient_norm": 0.0541619211435318, + "elapsed": 48.74575757980347 + }, + { + "step": 32, + "loss": 0.5842419862747192, + "objective": 0.5842419862747192, + "error": 0.34375, + "gradient_norm": 0.09450904279947281, + "elapsed": 60.68022179603577 + }, + { + "step": 48, + "loss": 0.5840846300125122, + "objective": 0.5840846300125122, + "error": 0.32421875, + "gradient_norm": 0.04569687321782112, + "elapsed": 74.63272476196289 + }, + { + "step": 64, + "loss": 0.5139708518981934, + "objective": 0.5139708518981934, + "error": 0.2646484375, + "gradient_norm": 0.16111725568771362, + "elapsed": 91.88426613807678 + }, + { + "step": 80, + "loss": 0.49099838733673096, + "objective": 0.49099838733673096, + "error": 0.251953125, + "gradient_norm": 0.04431874305009842, + "elapsed": 105.08457684516907 + }, + { + "step": 96, + "loss": 0.30287861824035645, + "objective": 0.30287861824035645, + "error": 0.14453125, + "gradient_norm": 0.03792181238532066, + "elapsed": 118.16054177284241 + }, + { + "step": 112, + "loss": 0.6026535630226135, + "objective": 0.6026535630226135, + "error": 0.359375, + "gradient_norm": 0.043088704347610474, + "elapsed": 134.6414511203766 + }, + { + "step": 128, + "loss": 0.5983598828315735, + "objective": 0.5983598828315735, + "error": 0.328125, + "gradient_norm": 0.06492504477500916, + "elapsed": 148.38875198364258 + }, + { + "step": 144, + "loss": 0.616276204586029, + "objective": 0.616276204586029, + "error": 0.3857421875, + "gradient_norm": 0.05420554056763649, + "elapsed": 164.11315298080444 + }, + { + "step": 160, + "loss": 0.017882924526929855, + "objective": 0.017882924526929855, + "error": 0.0048828125, + "gradient_norm": 0.004682278726249933, + "elapsed": 178.31525373458862 + }, + { + "step": 176, + "loss": 0.5279660820960999, + "objective": 0.5279660820960999, + "error": 0.271484375, + "gradient_norm": 0.03895021602511406, + "elapsed": 192.20261907577515 + }, + { + "step": 192, + "loss": 0.5794406533241272, + "objective": 0.5794406533241272, + "error": 0.34375, + "gradient_norm": 0.041880734264850616, + "elapsed": 200.32051873207092 + }, + { + "step": 208, + "loss": 0.3353561758995056, + "objective": 0.3353561758995056, + "error": 0.1513671875, + "gradient_norm": 0.07022152841091156, + "elapsed": 212.5193521976471 + }, + { + "step": 224, + "loss": 0.47239983081817627, + "objective": 0.47239983081817627, + "error": 0.23828125, + "gradient_norm": 0.044771477580070496, + "elapsed": 223.36571788787842 + }, + { + "step": 240, + "loss": 0.6235381364822388, + "objective": 0.6235381364822388, + "error": 0.3779296875, + "gradient_norm": 0.047636937350034714, + "elapsed": 233.90032649040222 + }, + { + "step": 256, + "loss": 0.516319751739502, + "objective": 0.516319751739502, + "error": 0.271484375, + "gradient_norm": 0.087476447224617, + "elapsed": 245.52193427085876 + }, + { + "step": 272, + "loss": 0.23385891318321228, + "objective": 0.23385891318321228, + "error": 0.091796875, + "gradient_norm": 0.05921977758407593, + "elapsed": 254.38622951507568 + }, + { + "step": 288, + "loss": 0.31280556321144104, + "objective": 0.31280556321144104, + "error": 0.1318359375, + "gradient_norm": 0.03548427298665047, + "elapsed": 263.25871300697327 + }, + { + "step": 304, + "loss": 0.6208417415618896, + "objective": 0.6208417415618896, + "error": 0.361328125, + "gradient_norm": 0.10255666077136993, + "elapsed": 273.5115919113159 + }, + { + "step": 320, + "loss": 0.5985375642776489, + "objective": 0.5985375642776489, + "error": 0.3603515625, + "gradient_norm": 0.04024764895439148, + "elapsed": 285.4135670661926 + }, + { + "step": 336, + "loss": 0.028151696547865868, + "objective": 0.028151696547865868, + "error": 0.009765625, + "gradient_norm": 0.008847440592944622, + "elapsed": 295.0800693035126 + }, + { + "step": 352, + "loss": 0.6147637963294983, + "objective": 0.6147637963294983, + "error": 0.3603515625, + "gradient_norm": 0.05709920823574066, + "elapsed": 305.32019686698914 + }, + { + "step": 368, + "loss": 0.5955979824066162, + "objective": 0.5955979824066162, + "error": 0.3486328125, + "gradient_norm": 0.04276399686932564, + "elapsed": 316.3869025707245 + }, + { + "step": 384, + "loss": 0.23504304885864258, + "objective": 0.23504304885864258, + "error": 0.1025390625, + "gradient_norm": 0.03205326199531555, + "elapsed": 325.7849349975586 + }, + { + "step": 400, + "loss": 0.13460804522037506, + "objective": 0.13460804522037506, + "error": 0.0546875, + "gradient_norm": 0.03109711967408657, + "elapsed": 335.72691917419434 + }, + { + "step": 416, + "loss": 0.5798783302307129, + "objective": 0.5798783302307129, + "error": 0.322265625, + "gradient_norm": 0.053542010486125946, + "elapsed": 345.7052640914917 + }, + { + "step": 432, + "loss": 0.3892784118652344, + "objective": 0.3892784118652344, + "error": 0.19140625, + "gradient_norm": 0.052194178104400635, + "elapsed": 357.38475036621094 + }, + { + "step": 448, + "loss": 0.23582103848457336, + "objective": 0.23582103848457336, + "error": 0.1181640625, + "gradient_norm": 0.032037943601608276, + "elapsed": 369.5841510295868 + }, + { + "step": 464, + "loss": 0.5408849716186523, + "objective": 0.5408849716186523, + "error": 0.2900390625, + "gradient_norm": 0.07508285343647003, + "elapsed": 379.84099793434143 + }, + { + "step": 480, + "loss": 0.3894873559474945, + "objective": 0.3894873559474945, + "error": 0.19140625, + "gradient_norm": 0.03977999836206436, + "elapsed": 390.9687530994415 + }, + { + "step": 496, + "loss": 0.6059300899505615, + "objective": 0.6059300899505615, + "error": 0.361328125, + "gradient_norm": 0.06041429564356804, + "elapsed": 403.2380111217499 + }, + { + "step": 512, + "loss": 0.2117740511894226, + "objective": 0.2117740511894226, + "error": 0.0908203125, + "gradient_norm": 0.05693414434790611, + "elapsed": 414.4854781627655 + }, + { + "step": 528, + "loss": 0.4666211009025574, + "objective": 0.4666211009025574, + "error": 0.2470703125, + "gradient_norm": 0.0764947235584259, + "elapsed": 433.42368054389954 + }, + { + "step": 544, + "loss": 0.22636458277702332, + "objective": 0.22636458277702332, + "error": 0.1083984375, + "gradient_norm": 0.03683016076683998, + "elapsed": 442.92575907707214 + }, + { + "step": 560, + "loss": 0.23172692954540253, + "objective": 0.23172692954540253, + "error": 0.1083984375, + "gradient_norm": 0.034071482717990875, + "elapsed": 453.3129711151123 + }, + { + "step": 576, + "loss": 0.4768703579902649, + "objective": 0.4768703579902649, + "error": 0.2529296875, + "gradient_norm": 0.06308378279209137, + "elapsed": 462.4127457141876 + }, + { + "step": 592, + "loss": 0.5165150165557861, + "objective": 0.5165150165557861, + "error": 0.291015625, + "gradient_norm": 0.07674732059240341, + "elapsed": 473.8309862613678 + }, + { + "step": 608, + "loss": 0.5919064283370972, + "objective": 0.5919064283370972, + "error": 0.3359375, + "gradient_norm": 0.06379934400320053, + "elapsed": 484.3733870983124 + }, + { + "step": 624, + "loss": 0.01804366335272789, + "objective": 0.01804366335272789, + "error": 0.0068359375, + "gradient_norm": 0.005318541545420885, + "elapsed": 495.94076347351074 + }, + { + "step": 640, + "loss": 0.41747498512268066, + "objective": 0.41747498512268066, + "error": 0.1962890625, + "gradient_norm": 0.052116431295871735, + "elapsed": 506.73559165000916 + }, + { + "step": 656, + "loss": 0.6140056848526001, + "objective": 0.6140056848526001, + "error": 0.3896484375, + "gradient_norm": 0.05376415699720383, + "elapsed": 517.2397899627686 + }, + { + "step": 672, + "loss": 0.4098930358886719, + "objective": 0.4098930358886719, + "error": 0.197265625, + "gradient_norm": 0.04737741872668266, + "elapsed": 525.7957897186279 + }, + { + "step": 688, + "loss": 0.3499884009361267, + "objective": 0.3499884009361267, + "error": 0.1650390625, + "gradient_norm": 0.0714973583817482, + "elapsed": 534.9302124977112 + }, + { + "step": 704, + "loss": 0.552291989326477, + "objective": 0.552291989326477, + "error": 0.3095703125, + "gradient_norm": 0.10188189148902893, + "elapsed": 545.4470670223236 + }, + { + "step": 720, + "loss": 0.4040689468383789, + "objective": 0.4040689468383789, + "error": 0.1943359375, + "gradient_norm": 0.06630362570285797, + "elapsed": 554.2920794487 + }, + { + "step": 736, + "loss": 0.3191133439540863, + "objective": 0.3191133439540863, + "error": 0.15625, + "gradient_norm": 0.060587506741285324, + "elapsed": 562.335791349411 + }, + { + "step": 752, + "loss": 0.5949387550354004, + "objective": 0.5949387550354004, + "error": 0.330078125, + "gradient_norm": 0.051291145384311676, + "elapsed": 570.9363489151001 + }, + { + "step": 768, + "loss": 0.4783790409564972, + "objective": 0.4783790409564972, + "error": 0.244140625, + "gradient_norm": 0.08808670938014984, + "elapsed": 581.1555306911469 + }, + { + "step": 784, + "loss": 0.4414710998535156, + "objective": 0.4414710998535156, + "error": 0.20703125, + "gradient_norm": 0.06632383912801743, + "elapsed": 590.4109175205231 + }, + { + "step": 800, + "loss": 0.2536136507987976, + "objective": 0.2536136507987976, + "error": 0.1142578125, + "gradient_norm": 0.03191893920302391, + "elapsed": 601.43274974823 + }, + { + "step": 816, + "loss": 0.22448071837425232, + "objective": 0.22448071837425232, + "error": 0.1015625, + "gradient_norm": 0.04966023191809654, + "elapsed": 612.7252013683319 + }, + { + "step": 832, + "loss": 0.5342355966567993, + "objective": 0.5342355966567993, + "error": 0.2783203125, + "gradient_norm": 0.05757307633757591, + "elapsed": 623.6647284030914 + }, + { + "step": 848, + "loss": 0.2506354749202728, + "objective": 0.2506354749202728, + "error": 0.109375, + "gradient_norm": 0.03991081938147545, + "elapsed": 635.1636409759521 + }, + { + "step": 864, + "loss": 0.40698009729385376, + "objective": 0.40698009729385376, + "error": 0.1953125, + "gradient_norm": 0.09155476838350296, + "elapsed": 645.2128469944 + }, + { + "step": 880, + "loss": 0.563283383846283, + "objective": 0.563283383846283, + "error": 0.3134765625, + "gradient_norm": 0.11409252882003784, + "elapsed": 659.2946681976318 + }, + { + "step": 896, + "loss": 0.13591040670871735, + "objective": 0.13591040670871735, + "error": 0.064453125, + "gradient_norm": 0.02692740224301815, + "elapsed": 668.6167254447937 + }, + { + "step": 912, + "loss": 0.5798318982124329, + "objective": 0.5798318982124329, + "error": 0.3310546875, + "gradient_norm": 0.06674209237098694, + "elapsed": 680.6492185592651 + }, + { + "step": 928, + "loss": 0.6140691041946411, + "objective": 0.6140691041946411, + "error": 0.3857421875, + "gradient_norm": 0.06117575615644455, + "elapsed": 693.1704411506653 + }, + { + "step": 944, + "loss": 0.3964633643627167, + "objective": 0.3964633643627167, + "error": 0.1865234375, + "gradient_norm": 0.08617512136697769, + "elapsed": 708.2128443717957 + }, + { + "step": 960, + "loss": 0.5512299537658691, + "objective": 0.5512299537658691, + "error": 0.2861328125, + "gradient_norm": 0.05705108866095543, + "elapsed": 720.2417063713074 + }, + { + "step": 976, + "loss": 0.454137921333313, + "objective": 0.454137921333313, + "error": 0.216796875, + "gradient_norm": 0.07962293922901154, + "elapsed": 730.2567391395569 + }, + { + "step": 992, + "loss": 0.5681213140487671, + "objective": 0.5681213140487671, + "error": 0.3017578125, + "gradient_norm": 0.09802286326885223, + "elapsed": 742.7380962371826 + }, + { + "step": 1008, + "loss": 0.13060352206230164, + "objective": 0.13060352206230164, + "error": 0.0537109375, + "gradient_norm": 0.04271279275417328, + "elapsed": 750.8077793121338 + }, + { + "step": 1024, + "loss": 0.6129879355430603, + "objective": 0.6129879355430603, + "error": 0.3603515625, + "gradient_norm": 0.04127912223339081, + "elapsed": 761.0585849285126 + }, + { + "step": 1040, + "loss": 0.31361687183380127, + "objective": 0.31361687183380127, + "error": 0.1455078125, + "gradient_norm": 0.04341907799243927, + "elapsed": 776.3491418361664 + }, + { + "step": 1056, + "loss": 0.6326502561569214, + "objective": 0.6326502561569214, + "error": 0.365234375, + "gradient_norm": 0.07518075406551361, + "elapsed": 786.0424168109894 + }, + { + "step": 1072, + "loss": 0.537599503993988, + "objective": 0.537599503993988, + "error": 0.2958984375, + "gradient_norm": 0.08455493301153183, + "elapsed": 795.1607735157013 + }, + { + "step": 1088, + "loss": 0.5953108072280884, + "objective": 0.5953108072280884, + "error": 0.337890625, + "gradient_norm": 0.06973882764577866, + "elapsed": 804.0053510665894 + }, + { + "step": 1104, + "loss": 0.36860400438308716, + "objective": 0.36860400438308716, + "error": 0.1923828125, + "gradient_norm": 0.04828036576509476, + "elapsed": 813.4029138088226 + }, + { + "step": 1120, + "loss": 0.5423247218132019, + "objective": 0.5423247218132019, + "error": 0.28125, + "gradient_norm": 0.04841453209519386, + "elapsed": 823.626978635788 + }, + { + "step": 1136, + "loss": 0.4766136407852173, + "objective": 0.4766136407852173, + "error": 0.236328125, + "gradient_norm": 0.07564551383256912, + "elapsed": 832.4641265869141 + }, + { + "step": 1152, + "loss": 0.5473434925079346, + "objective": 0.5473434925079346, + "error": 0.2958984375, + "gradient_norm": 0.13677075505256653, + "elapsed": 844.9307618141174 + }, + { + "step": 1168, + "loss": 0.3040686249732971, + "objective": 0.3040686249732971, + "error": 0.150390625, + "gradient_norm": 0.045926257967948914, + "elapsed": 854.336992263794 + }, + { + "step": 1184, + "loss": 0.6298375129699707, + "objective": 0.6298375129699707, + "error": 0.3798828125, + "gradient_norm": 0.06807851791381836, + "elapsed": 864.5731596946716 + }, + { + "step": 1200, + "loss": 0.6272540092468262, + "objective": 0.6272540092468262, + "error": 0.37890625, + "gradient_norm": 0.139838308095932, + "elapsed": 877.8357374668121 + }, + { + "step": 1216, + "loss": 0.5224937200546265, + "objective": 0.5224937200546265, + "error": 0.287109375, + "gradient_norm": 0.0647057592868805, + "elapsed": 887.8107197284698 + }, + { + "step": 1232, + "loss": 0.02408422902226448, + "objective": 0.02408422902226448, + "error": 0.0107421875, + "gradient_norm": 0.007562167476862669, + "elapsed": 902.201171875 + }, + { + "step": 1248, + "loss": 0.01936865597963333, + "objective": 0.01936865597963333, + "error": 0.0048828125, + "gradient_norm": 0.006423021201044321, + "elapsed": 914.0247437953949 + }, + { + "step": 1264, + "loss": 0.47522181272506714, + "objective": 0.47522181272506714, + "error": 0.2490234375, + "gradient_norm": 0.04962826892733574, + "elapsed": 927.0462884902954 + }, + { + "step": 1280, + "loss": 0.019577551633119583, + "objective": 0.019577551633119583, + "error": 0.0068359375, + "gradient_norm": 0.008308992721140385, + "elapsed": 939.3647270202637 + }, + { + "step": 1296, + "loss": 0.5085430145263672, + "objective": 0.5085430145263672, + "error": 0.2734375, + "gradient_norm": 0.06214233115315437, + "elapsed": 949.4259700775146 + }, + { + "step": 1312, + "loss": 0.23232896625995636, + "objective": 0.23232896625995636, + "error": 0.1015625, + "gradient_norm": 0.05894213914871216, + "elapsed": 961.3636543750763 + }, + { + "step": 1328, + "loss": 0.5330536365509033, + "objective": 0.5330536365509033, + "error": 0.2861328125, + "gradient_norm": 0.11579663306474686, + "elapsed": 972.1607241630554 + }, + { + "step": 1344, + "loss": 0.019525721669197083, + "objective": 0.019525721669197083, + "error": 0.0087890625, + "gradient_norm": 0.008134250529110432, + "elapsed": 983.0828921794891 + }, + { + "step": 1360, + "loss": 0.22790294885635376, + "objective": 0.22790294885635376, + "error": 0.103515625, + "gradient_norm": 0.04187086224555969, + "elapsed": 991.3167304992676 + }, + { + "step": 1376, + "loss": 0.48713046312332153, + "objective": 0.48713046312332153, + "error": 0.2666015625, + "gradient_norm": 0.06267429888248444, + "elapsed": 1003.5033710002899 + }, + { + "step": 1392, + "loss": 0.6043434143066406, + "objective": 0.6043434143066406, + "error": 0.369140625, + "gradient_norm": 0.037880122661590576, + "elapsed": 1017.8567223548889 + }, + { + "step": 1408, + "loss": 0.034499723464250565, + "objective": 0.034499723464250565, + "error": 0.0068359375, + "gradient_norm": 0.013505477458238602, + "elapsed": 1027.3547134399414 + }, + { + "step": 1424, + "loss": 0.5320160388946533, + "objective": 0.5320160388946533, + "error": 0.306640625, + "gradient_norm": 0.07510018348693848, + "elapsed": 1036.9454221725464 + }, + { + "step": 1440, + "loss": 0.3451523780822754, + "objective": 0.3451523780822754, + "error": 0.171875, + "gradient_norm": 0.06453985720872879, + "elapsed": 1046.1805095672607 + }, + { + "step": 1456, + "loss": 0.21541815996170044, + "objective": 0.21541815996170044, + "error": 0.08984375, + "gradient_norm": 0.043503839522600174, + "elapsed": 1055.850379705429 + }, + { + "step": 1472, + "loss": 0.43667086958885193, + "objective": 0.43667086958885193, + "error": 0.22265625, + "gradient_norm": 0.07311506569385529, + "elapsed": 1066.6324400901794 + }, + { + "step": 1488, + "loss": 0.6163139939308167, + "objective": 0.6163139939308167, + "error": 0.3779296875, + "gradient_norm": 0.06406569480895996, + "elapsed": 1075.7883398532867 + }, + { + "step": 1504, + "loss": 0.23901250958442688, + "objective": 0.23901250958442688, + "error": 0.10546875, + "gradient_norm": 0.04792191833257675, + "elapsed": 1085.4756922721863 + }, + { + "step": 1520, + "loss": 0.3817014694213867, + "objective": 0.3817014694213867, + "error": 0.18359375, + "gradient_norm": 0.046061187982559204, + "elapsed": 1095.974383354187 + }, + { + "step": 1536, + "loss": 0.5593156814575195, + "objective": 0.5593156814575195, + "error": 0.3017578125, + "gradient_norm": 0.0735388696193695, + "elapsed": 1105.913155078888 + } + ] + }, + "source_reference_package": "/run-state/workspace/research/context_upgrades/neural_d5_full3_swa/package", + "original_training_provenance": { + "training": { + "initialization": "Uniform parameter averages of checkpoints from the same session-initialized training trajectory; no external weights", + "prior_pass": 3, + "architecture": "Two 64-unit SiLU layers; 394 features; bounded 2*tanh correction to relevant-CSS edge logits from the recorded physical feedback pass; exact width-14 contraction predicts logical probability. D5 joint conditioning remains approximate.", + "hidden_width": 64, + "training": "No new optimizer updates; all learning comes from the recorded source trajectory and its session-trained parent", + "optimizer_updates_in_derived_run": 0, + "source_training_provenance": { + "initialization": "Continue from the recorded session-trained checkpoint; original random initialization seed 20261108", + "prior_pass": 3, + "initial_seed": 20261108, + "training_source_sha256": { + "learned_d5__train.py": "b73af9da21332dee9a43f653b514695b020fbc3516604b2e721d8cf0ea876d53", + "learned_d5__data.py": "9e3bcfe9d45f6af60b86a580cdc9374043758a1a6f10564aef9eb344f7a6b364", + "learned_d5__model.py": "5e9420df1f6dd56518925e910096fb9bc93bd796a5933b13bf894a1a96256cdf", + "learned_exact__gradient.py": "ecb6b45698480386fa124fe878db7dbfa246d1969fd720ec26daff9547da2001", + "learned_exact__checkpoint_gradient.py": "7ece6b3f45e009727fd104a3d39e2816a8c3437f737c3d98131d3a5d7d60e9b8", + "exact_d3__exact.py": "869dfacb295c419c156d1070fc2afdd6e20d02ac1840e45e72346b2b289f4825" + }, + "runtime_versions": { + "jax": "0.7.2", + "numpy": "2.3.3", + "optax": "0.2.6" + }, + "architecture": "Two 64-unit SiLU layers; 394 features; bounded 2*tanh correction to relevant-CSS edge logits from the recorded physical feedback pass; exact width-14 contraction predicts logical probability. D5 joint conditioning remains approximate.", + "training": "All supplied training shots per each of all26 d5 conditions; uniform condition and within-condition sampling for optimizer batches.", + "training_cache": "/run-state/workspace/research/learned_d5/full_training_priors3", + "training_cache_provenance": { + "method": "Three undamped physical CSS extrinsic-message passes, clipping8, pass1/pass3 priors captured before logical readout", + "scope": "All supplied training rows in all26 d5 conditions; no validation or test labels used in cache generation", + "reused_rows": "4096 rows per condition from feedback5_cache, sampled with seed20261023; same first three passes", + "remaining_rows": "Computed now with last-only logical tracking; previously controlled against full logical tracking", + "train_manifest_sha256": "ce46c21e3595cfc5885bbe2b6481105317d2e6267498ec4572601469825914b8", + "records": [ + { + "condition": "surface_code_bX_d5_r25_center_5_5", + "shots": 19880, + "reused_training_rows": 4096, + "new_rows": 15784, + "seconds": 44.93641114234924, + "elapsed": 45.15474009513855, + "peak_gpu_bytes": 58661028096 + }, + { + "condition": "surface_code_bZ_d5_r25_center_5_5", + "shots": 19880, + "reused_training_rows": 4096, + "new_rows": 15784, + "seconds": 43.11551070213318, + "elapsed": 88.52458453178406, + "peak_gpu_bytes": 58661028096 + }, + { + "condition": "surface_code_bX_d5_r23_center_5_5", + "shots": 19880, + "reused_training_rows": 4096, + "new_rows": 15784, + "seconds": 39.70699763298035, + "elapsed": 128.4802794456482, + "peak_gpu_bytes": 58661028096 + }, + { + "condition": "surface_code_bZ_d5_r23_center_5_5", + "shots": 19880, + "reused_training_rows": 4096, + "new_rows": 15784, + "seconds": 41.178571701049805, + "elapsed": 169.95510387420654, + "peak_gpu_bytes": 58661028096 + }, + { + "condition": "surface_code_bX_d5_r21_center_5_5", + "shots": 19880, + "reused_training_rows": 4096, + "new_rows": 15784, + "seconds": 41.53053879737854, + "elapsed": 211.7576286792755, + "peak_gpu_bytes": 58661028096 + }, + { + "condition": "surface_code_bZ_d5_r21_center_5_5", + "shots": 19880, + "reused_training_rows": 4096, + "new_rows": 15784, + "seconds": 43.43117809295654, + "elapsed": 255.62733364105225, + "peak_gpu_bytes": 58661028096 + }, + { + "condition": "surface_code_bX_d5_r19_center_5_5", + "shots": 19880, + "reused_training_rows": 4096, + "new_rows": 15784, + "seconds": 33.84876799583435, + "elapsed": 289.70106053352356, + "peak_gpu_bytes": 58661028096 + }, + { + "condition": "surface_code_bZ_d5_r19_center_5_5", + "shots": 19880, + "reused_training_rows": 4096, + "new_rows": 15784, + "seconds": 32.88018870353699, + "elapsed": 322.7981607913971, + "peak_gpu_bytes": 58661028096 + }, + { + "condition": "surface_code_bX_d5_r17_center_5_5", + "shots": 19880, + "reused_training_rows": 4096, + "new_rows": 15784, + "seconds": 29.585307836532593, + "elapsed": 352.58776783943176, + "peak_gpu_bytes": 58661028096 + }, + { + "condition": "surface_code_bZ_d5_r17_center_5_5", + "shots": 19880, + "reused_training_rows": 4096, + "new_rows": 15784, + "seconds": 29.854028463363647, + "elapsed": 382.6393291950226, + "peak_gpu_bytes": 58661028096 + }, + { + "condition": "surface_code_bX_d5_r15_center_5_5", + "shots": 19880, + "reused_training_rows": 4096, + "new_rows": 15784, + "seconds": 26.721288919448853, + "elapsed": 409.54919600486755, + "peak_gpu_bytes": 58661028096 + }, + { + "condition": "surface_code_bZ_d5_r15_center_5_5", + "shots": 19880, + "reused_training_rows": 4096, + "new_rows": 15784, + "seconds": 29.810269832611084, + "elapsed": 439.6440734863281, + "peak_gpu_bytes": 58661028096 + }, + { + "condition": "surface_code_bX_d5_r13_center_5_5", + "shots": 19880, + "reused_training_rows": 4096, + "new_rows": 15784, + "seconds": 29.79407238960266, + "elapsed": 469.7887041568756, + "peak_gpu_bytes": 58661028096 + }, + { + "condition": "surface_code_bZ_d5_r13_center_5_5", + "shots": 19880, + "reused_training_rows": 4096, + "new_rows": 15784, + "seconds": 28.757604837417603, + "elapsed": 498.71140813827515, + "peak_gpu_bytes": 58661028096 + }, + { + "condition": "surface_code_bX_d5_r11_center_5_5", + "shots": 19880, + "reused_training_rows": 4096, + "new_rows": 15784, + "seconds": 25.38013219833374, + "elapsed": 524.2447266578674, + "peak_gpu_bytes": 58661028096 + }, + { + "condition": "surface_code_bZ_d5_r11_center_5_5", + "shots": 19880, + "reused_training_rows": 4096, + "new_rows": 15784, + "seconds": 25.378958225250244, + "elapsed": 549.8600506782532, + "peak_gpu_bytes": 58661028096 + }, + { + "condition": "surface_code_bX_d5_r09_center_5_5", + "shots": 19880, + "reused_training_rows": 4096, + "new_rows": 15784, + "seconds": 21.241567850112915, + "elapsed": 571.2600774765015, + "peak_gpu_bytes": 58661028096 + }, + { + "condition": "surface_code_bZ_d5_r09_center_5_5", + "shots": 19880, + "reused_training_rows": 4096, + "new_rows": 15784, + "seconds": 18.780335664749146, + "elapsed": 590.304051399231, + "peak_gpu_bytes": 58661028096 + }, + { + "condition": "surface_code_bX_d5_r07_center_5_5", + "shots": 19880, + "reused_training_rows": 4096, + "new_rows": 15784, + "seconds": 14.346807956695557, + "elapsed": 604.8041462898254, + "peak_gpu_bytes": 58661028096 + }, + { + "condition": "surface_code_bZ_d5_r07_center_5_5", + "shots": 19880, + "reused_training_rows": 4096, + "new_rows": 15784, + "seconds": 14.03441047668457, + "elapsed": 618.9537570476532, + "peak_gpu_bytes": 58661028096 + }, + { + "condition": "surface_code_bX_d5_r05_center_5_5", + "shots": 19880, + "reused_training_rows": 4096, + "new_rows": 15784, + "seconds": 10.811666488647461, + "elapsed": 629.8610434532166, + "peak_gpu_bytes": 58661028096 + }, + { + "condition": "surface_code_bZ_d5_r05_center_5_5", + "shots": 19880, + "reused_training_rows": 4096, + "new_rows": 15784, + "seconds": 10.982703924179077, + "elapsed": 640.9919559955597, + "peak_gpu_bytes": 58661028096 + }, + { + "condition": "surface_code_bX_d5_r03_center_5_5", + "shots": 19880, + "reused_training_rows": 4096, + "new_rows": 15784, + "seconds": 7.846271991729736, + "elapsed": 648.9624857902527, + "peak_gpu_bytes": 58661028096 + }, + { + "condition": "surface_code_bZ_d5_r03_center_5_5", + "shots": 19880, + "reused_training_rows": 4096, + "new_rows": 15784, + "seconds": 7.83586859703064, + "elapsed": 656.9065537452698, + "peak_gpu_bytes": 58661028096 + }, + { + "condition": "surface_code_bX_d5_r01_center_5_5", + "shots": 19880, + "reused_training_rows": 4096, + "new_rows": 15784, + "seconds": 0.7685718536376953, + "elapsed": 657.7747800350189, + "peak_gpu_bytes": 58661028096 + }, + { + "condition": "surface_code_bZ_d5_r01_center_5_5", + "shots": 19880, + "reused_training_rows": 4096, + "new_rows": 15784, + "seconds": 0.748960018157959, + "elapsed": 658.5666444301605, + "peak_gpu_bytes": 58661028096 + } + ], + "test_data_used": false + }, + "training_shots": 516880, + "training_pool_interpretation": "Eligible training rows; optimizer samples conditions and rows with replacement. Distinct rows used in this phase are recorded separately.", + "unique_training_rows_seen_in_this_phase": 507282, + "unique_rows_by_condition": { + "surface_code_bX_d5_r01_center_5_5": 19592, + "surface_code_bX_d5_r03_center_5_5": 19646, + "surface_code_bX_d5_r05_center_5_5": 19513, + "surface_code_bX_d5_r07_center_5_5": 19341, + "surface_code_bX_d5_r09_center_5_5": 19211, + "surface_code_bX_d5_r11_center_5_5": 19239, + "surface_code_bX_d5_r13_center_5_5": 19679, + "surface_code_bX_d5_r15_center_5_5": 19455, + "surface_code_bX_d5_r17_center_5_5": 19479, + "surface_code_bX_d5_r19_center_5_5": 19479, + "surface_code_bX_d5_r21_center_5_5": 19551, + "surface_code_bX_d5_r23_center_5_5": 19586, + "surface_code_bX_d5_r25_center_5_5": 19526, + "surface_code_bZ_d5_r01_center_5_5": 19652, + "surface_code_bZ_d5_r03_center_5_5": 19732, + "surface_code_bZ_d5_r05_center_5_5": 19754, + "surface_code_bZ_d5_r07_center_5_5": 19194, + "surface_code_bZ_d5_r09_center_5_5": 19641, + "surface_code_bZ_d5_r11_center_5_5": 19611, + "surface_code_bZ_d5_r13_center_5_5": 19424, + "surface_code_bZ_d5_r15_center_5_5": 19380, + "surface_code_bZ_d5_r17_center_5_5": 19384, + "surface_code_bZ_d5_r19_center_5_5": 19684, + "surface_code_bZ_d5_r21_center_5_5": 19559, + "surface_code_bZ_d5_r23_center_5_5": 19524, + "surface_code_bZ_d5_r25_center_5_5": 19446 + }, + "gradient_block_size": 32, + "bucket_operations": true, + "accumulate_conditions": 1, + "effective_batch_size": 1024, + "uncertainty_weight_floor": 1.0, + "example_weighting": "Uniform BCE", + "loss": "Conditional logical binary cross entropy, differentiated through exact relevant-CSS contraction; physical CSS feedback prior held fixed", + "steps": 2048, + "batch": 1024, + "learning_rate": 0.0005, + "sampling_seed": 20261113, + "optimizer": "AdamW, weight decay 1e-4, global gradient norm clip 1", + "optimizer_restored": true, + "rng_restored": true, + "sampling_state_source": "/run-state/workspace/research/learned_d5/feedback3_pilot/rng-768.json", + "starting_checkpoint": "/run-state/workspace/research/learned_d5/feedback3_pilot/weights-768.npz", + "starting_checkpoint_sha256": "bc2ba1c529317ce1b5b661efae4707eca49c6995d6f22b04193fe7642662fed8", + "starting_training_provenance": { + "initialization": "All parameters initialized in this session: variance-scaled normal hidden layers, Normal(0,.001) output weights, zero biases, seed 20261108", + "prior_pass": 3, + "initial_seed": 20261108, + "architecture": "Two 64-unit SiLU layers; 394 features; bounded 2*tanh correction to relevant-CSS edge logits from the recorded physical feedback pass; exact width-14 contraction predicts logical probability. D5 joint conditioning remains approximate.", + "training": "4096 training shots per each of all 26 d5 conditions, sampled without replacement with seed 20261023. Uniform condition and within-condition sampling for optimizer batches.", + "loss": "Conditional logical binary cross entropy, differentiated through exact relevant-CSS contraction; physical CSS feedback prior held fixed", + "steps": 1024, + "batch": 256, + "learning_rate": 0.001, + "sampling_seed": 20261108, + "optimizer": "AdamW, weight decay 1e-4, global gradient norm clip 1", + "optimizer_restored": false, + "starting_checkpoint": null, + "validation": "Uniform subset per all 26 conditions, sample seed 20261102; full validation required before publication", + "validation_shots_per_condition": 1024, + "test_data_used": false, + "records": [ + { + "step": 1, + "loss": 0.011146659031510353, + "error": 0.00390625, + "gradient_norm": 0.011240893043577671, + "elapsed": 21.276997089385986 + }, + { + "step": 16, + "loss": 0.645737886428833, + "error": 0.40625, + "gradient_norm": 0.1628236621618271, + "elapsed": 25.872907638549805 + }, + { + "step": 32, + "loss": 0.574029803276062, + "error": 0.35546875, + "gradient_norm": 0.3000081777572632, + "elapsed": 30.761418342590332 + }, + { + "step": 48, + "loss": 0.574467122554779, + "error": 0.296875, + "gradient_norm": 0.24150623381137848, + "elapsed": 35.67650651931763 + }, + { + "step": 64, + "loss": 0.6003620624542236, + "error": 0.35546875, + "gradient_norm": 0.07430054992437363, + "elapsed": 40.60572576522827 + }, + { + "step": 80, + "loss": 0.5429091453552246, + "error": 0.33203125, + "gradient_norm": 0.15341751277446747, + "elapsed": 45.546849727630615 + }, + { + "step": 96, + "loss": 0.368771493434906, + "error": 0.1640625, + "gradient_norm": 0.08923184871673584, + "elapsed": 50.49156332015991 + }, + { + "step": 112, + "loss": 0.516342043876648, + "error": 0.265625, + "gradient_norm": 0.10965219140052795, + "elapsed": 55.45058846473694 + }, + { + "step": 128, + "loss": 0.5925382971763611, + "error": 0.37109375, + "gradient_norm": 0.055406324565410614, + "elapsed": 60.40891766548157 + }, + { + "step": 144, + "loss": 0.19184258580207825, + "error": 0.07421875, + "gradient_norm": 0.07042146474123001, + "elapsed": 65.33323669433594 + }, + { + "step": 160, + "loss": 0.5202382206916809, + "error": 0.25390625, + "gradient_norm": 0.14782382547855377, + "elapsed": 70.26605796813965 + }, + { + "step": 176, + "loss": 0.46083134412765503, + "error": 0.22265625, + "gradient_norm": 0.09074779599905014, + "elapsed": 75.18221640586853 + }, + { + "step": 192, + "loss": 0.3054918646812439, + "error": 0.14453125, + "gradient_norm": 0.0588168129324913, + "elapsed": 80.1186010837555 + }, + { + "step": 208, + "loss": 0.4836011230945587, + "error": 0.27734375, + "gradient_norm": 0.09208947420120239, + "elapsed": 85.05764293670654 + }, + { + "step": 224, + "loss": 0.6640600562095642, + "error": 0.38671875, + "gradient_norm": 0.22026506066322327, + "elapsed": 89.98808217048645 + }, + { + "step": 240, + "loss": 0.02421322464942932, + "error": 0.00390625, + "gradient_norm": 0.008131005801260471, + "elapsed": 94.90194272994995 + }, + { + "step": 256, + "loss": 0.6302106976509094, + "error": 0.4296875, + "gradient_norm": 0.09762304276227951, + "elapsed": 99.82612204551697 + }, + { + "step": 272, + "loss": 0.5092596411705017, + "error": 0.27734375, + "gradient_norm": 0.11407691985368729, + "elapsed": 110.44065999984741 + }, + { + "step": 288, + "loss": 0.452798455953598, + "error": 0.2265625, + "gradient_norm": 0.1105576679110527, + "elapsed": 115.36984539031982 + }, + { + "step": 304, + "loss": 0.3378596305847168, + "error": 0.18359375, + "gradient_norm": 0.0841713547706604, + "elapsed": 120.29337763786316 + }, + { + "step": 320, + "loss": 0.6271854639053345, + "error": 0.38671875, + "gradient_norm": 0.1972702294588089, + "elapsed": 125.2231035232544 + }, + { + "step": 336, + "loss": 0.04562236741185188, + "error": 0.01171875, + "gradient_norm": 0.027922745794057846, + "elapsed": 130.14725255966187 + }, + { + "step": 352, + "loss": 0.5342530608177185, + "error": 0.26953125, + "gradient_norm": 0.09031179547309875, + "elapsed": 135.08111095428467 + }, + { + "step": 368, + "loss": 0.49785488843917847, + "error": 0.2578125, + "gradient_norm": 0.19366280734539032, + "elapsed": 140.00699138641357 + }, + { + "step": 384, + "loss": 0.5673326253890991, + "error": 0.30859375, + "gradient_norm": 0.20644932985305786, + "elapsed": 144.92276740074158 + }, + { + "step": 400, + "loss": 0.5581298470497131, + "error": 0.3203125, + "gradient_norm": 0.17668266594409943, + "elapsed": 149.86573243141174 + }, + { + "step": 416, + "loss": 0.5564071536064148, + "error": 0.30078125, + "gradient_norm": 0.0821610689163208, + "elapsed": 154.7953712940216 + }, + { + "step": 432, + "loss": 0.5540086030960083, + "error": 0.34765625, + "gradient_norm": 0.1438807100057602, + "elapsed": 159.72657418251038 + }, + { + "step": 448, + "loss": 0.540939450263977, + "error": 0.29296875, + "gradient_norm": 0.17986361682415009, + "elapsed": 164.6689453125 + }, + { + "step": 464, + "loss": 0.45807865262031555, + "error": 0.25, + "gradient_norm": 0.14453186094760895, + "elapsed": 169.58739304542542 + }, + { + "step": 480, + "loss": 0.5191650390625, + "error": 0.22265625, + "gradient_norm": 0.07955105602741241, + "elapsed": 174.5444438457489 + }, + { + "step": 496, + "loss": 0.1692925989627838, + "error": 0.0703125, + "gradient_norm": 0.07875128090381622, + "elapsed": 179.48035550117493 + }, + { + "step": 512, + "loss": 0.5580664873123169, + "error": 0.3125, + "gradient_norm": 0.27090802788734436, + "elapsed": 184.42834162712097 + }, + { + "step": 528, + "loss": 0.26402050256729126, + "error": 0.13671875, + "gradient_norm": 0.13135771453380585, + "elapsed": 195.17691040039062 + }, + { + "step": 544, + "loss": 0.4352915287017822, + "error": 0.1953125, + "gradient_norm": 0.15959712862968445, + "elapsed": 200.0421543121338 + }, + { + "step": 560, + "loss": 0.22861814498901367, + "error": 0.1015625, + "gradient_norm": 0.08776932209730148, + "elapsed": 204.95144605636597 + }, + { + "step": 576, + "loss": 0.28309381008148193, + "error": 0.1328125, + "gradient_norm": 0.11050742119550705, + "elapsed": 209.8526291847229 + }, + { + "step": 592, + "loss": 0.6409220695495605, + "error": 0.41015625, + "gradient_norm": 0.19826626777648926, + "elapsed": 214.84447717666626 + }, + { + "step": 608, + "loss": 0.25090643763542175, + "error": 0.109375, + "gradient_norm": 0.05864342302083969, + "elapsed": 219.72637391090393 + }, + { + "step": 624, + "loss": 0.11423969268798828, + "error": 0.05078125, + "gradient_norm": 0.05318564549088478, + "elapsed": 224.6331377029419 + }, + { + "step": 640, + "loss": 0.32663431763648987, + "error": 0.1328125, + "gradient_norm": 0.06877780705690384, + "elapsed": 229.5065622329712 + }, + { + "step": 656, + "loss": 0.24196995794773102, + "error": 0.10546875, + "gradient_norm": 0.07683655619621277, + "elapsed": 234.4042534828186 + }, + { + "step": 672, + "loss": 0.5349344611167908, + "error": 0.296875, + "gradient_norm": 0.15214307606220245, + "elapsed": 239.26656579971313 + }, + { + "step": 688, + "loss": 0.26759713888168335, + "error": 0.1171875, + "gradient_norm": 0.14698348939418793, + "elapsed": 244.21049737930298 + }, + { + "step": 704, + "loss": 0.37338894605636597, + "error": 0.18359375, + "gradient_norm": 0.10210632532835007, + "elapsed": 249.13519072532654 + }, + { + "step": 720, + "loss": 0.36807945370674133, + "error": 0.17578125, + "gradient_norm": 0.09668388962745667, + "elapsed": 254.06281065940857 + }, + { + "step": 736, + "loss": 0.3736685514450073, + "error": 0.15625, + "gradient_norm": 0.10987236350774765, + "elapsed": 259.01695108413696 + }, + { + "step": 752, + "loss": 0.5266942977905273, + "error": 0.29296875, + "gradient_norm": 0.09041415899991989, + "elapsed": 263.9530746936798 + }, + { + "step": 768, + "loss": 0.360038161277771, + "error": 0.1640625, + "gradient_norm": 0.10391079634428024, + "elapsed": 268.9019305706024 + }, + { + "step": 784, + "loss": 0.5700286626815796, + "error": 0.34375, + "gradient_norm": 0.12206032127141953, + "elapsed": 279.4174163341522 + }, + { + "step": 800, + "loss": 0.42533689737319946, + "error": 0.20703125, + "gradient_norm": 0.06605375558137894, + "elapsed": 284.3391351699829 + }, + { + "step": 816, + "loss": 0.12355346977710724, + "error": 0.046875, + "gradient_norm": 0.06571663916110992, + "elapsed": 289.2815272808075 + }, + { + "step": 832, + "loss": 0.6411258578300476, + "error": 0.3984375, + "gradient_norm": 0.160088911652565, + "elapsed": 294.2048614025116 + }, + { + "step": 848, + "loss": 0.5756919980049133, + "error": 0.3515625, + "gradient_norm": 0.0962308868765831, + "elapsed": 299.15635418891907 + }, + { + "step": 864, + "loss": 0.2706402540206909, + "error": 0.1171875, + "gradient_norm": 0.11391306668519974, + "elapsed": 304.09321761131287 + }, + { + "step": 880, + "loss": 0.33621329069137573, + "error": 0.1640625, + "gradient_norm": 0.09049320220947266, + "elapsed": 309.0412187576294 + }, + { + "step": 896, + "loss": 0.44343245029449463, + "error": 0.23828125, + "gradient_norm": 0.12484703958034515, + "elapsed": 313.98498797416687 + }, + { + "step": 912, + "loss": 0.5987736582756042, + "error": 0.359375, + "gradient_norm": 0.07541236281394958, + "elapsed": 318.9334623813629 + }, + { + "step": 928, + "loss": 0.38585522770881653, + "error": 0.1875, + "gradient_norm": 0.09290861338376999, + "elapsed": 323.86884689331055 + }, + { + "step": 944, + "loss": 0.4820440113544464, + "error": 0.234375, + "gradient_norm": 0.22198310494422913, + "elapsed": 328.7963180541992 + }, + { + "step": 960, + "loss": 0.07455944269895554, + "error": 0.015625, + "gradient_norm": 0.055282026529312134, + "elapsed": 333.75238251686096 + }, + { + "step": 976, + "loss": 0.013475366868078709, + "error": 0.0078125, + "gradient_norm": 0.009843004867434502, + "elapsed": 338.6403331756592 + }, + { + "step": 992, + "loss": 0.4429199695587158, + "error": 0.2265625, + "gradient_norm": 0.09489083290100098, + "elapsed": 343.5606532096863 + }, + { + "step": 1008, + "loss": 0.4892328381538391, + "error": 0.234375, + "gradient_norm": 0.1342826634645462, + "elapsed": 348.5243353843689 + }, + { + "step": 1024, + "loss": 0.6096819043159485, + "error": 0.32421875, + "gradient_norm": 0.17938998341560364, + "elapsed": 353.36506962776184 + } + ] + }, + "validation": "Uniform subset per all 26 conditions, sample seed 20261102; full validation required before publication", + "validation_shots_per_condition": 1024, + "test_data_used": false, + "records": [ + { + "step": 1, + "loss": 0.4341062307357788, + "objective": 0.4341062307357788, + "error": 0.208984375, + "gradient_norm": 0.07617632299661636, + "elapsed": 31.45817995071411 + }, + { + "step": 16, + "loss": 0.5996706485748291, + "objective": 0.5996706485748291, + "error": 0.359375, + "gradient_norm": 0.05249844491481781, + "elapsed": 56.34200572967529 + }, + { + "step": 32, + "loss": 0.4388691186904907, + "objective": 0.4388691186904907, + "error": 0.2041015625, + "gradient_norm": 0.0376109778881073, + "elapsed": 67.83739852905273 + }, + { + "step": 48, + "loss": 0.5373439788818359, + "objective": 0.5373439788818359, + "error": 0.2919921875, + "gradient_norm": 0.06261218339204788, + "elapsed": 76.69065475463867 + }, + { + "step": 64, + "loss": 0.24871854484081268, + "objective": 0.24871854484081268, + "error": 0.1162109375, + "gradient_norm": 0.05284671485424042, + "elapsed": 86.3852767944336 + }, + { + "step": 80, + "loss": 0.26628297567367554, + "objective": 0.26628297567367554, + "error": 0.123046875, + "gradient_norm": 0.04054367542266846, + "elapsed": 95.77356100082397 + }, + { + "step": 96, + "loss": 0.48436349630355835, + "objective": 0.48436349630355835, + "error": 0.259765625, + "gradient_norm": 0.05399860441684723, + "elapsed": 107.06293416023254 + }, + { + "step": 112, + "loss": 0.41063767671585083, + "objective": 0.41063767671585083, + "error": 0.1943359375, + "gradient_norm": 0.043602071702480316, + "elapsed": 116.78119611740112 + }, + { + "step": 128, + "loss": 0.3990316390991211, + "objective": 0.3990316390991211, + "error": 0.1865234375, + "gradient_norm": 0.0424419641494751, + "elapsed": 125.6915397644043 + }, + { + "step": 144, + "loss": 0.5119550228118896, + "objective": 0.5119550228118896, + "error": 0.2646484375, + "gradient_norm": 0.07688591629266739, + "elapsed": 136.20711088180542 + }, + { + "step": 160, + "loss": 0.3388235569000244, + "objective": 0.3388235569000244, + "error": 0.1630859375, + "gradient_norm": 0.07015731930732727, + "elapsed": 145.3505516052246 + }, + { + "step": 176, + "loss": 0.5952156186103821, + "objective": 0.5952156186103821, + "error": 0.3369140625, + "gradient_norm": 0.039373140782117844, + "elapsed": 154.77994871139526 + }, + { + "step": 192, + "loss": 0.15157413482666016, + "objective": 0.15157413482666016, + "error": 0.0634765625, + "gradient_norm": 0.029710670933127403, + "elapsed": 164.46801733970642 + }, + { + "step": 208, + "loss": 0.3120684027671814, + "objective": 0.3120684027671814, + "error": 0.1474609375, + "gradient_norm": 0.035548821091651917, + "elapsed": 173.24825358390808 + }, + { + "step": 224, + "loss": 0.5486405491828918, + "objective": 0.5486405491828918, + "error": 0.2900390625, + "gradient_norm": 0.0503678023815155, + "elapsed": 185.29849314689636 + }, + { + "step": 240, + "loss": 0.6046283841133118, + "objective": 0.6046283841133118, + "error": 0.3349609375, + "gradient_norm": 0.05043461173772812, + "elapsed": 197.54880928993225 + }, + { + "step": 256, + "loss": 0.5926339626312256, + "objective": 0.5926339626312256, + "error": 0.3359375, + "gradient_norm": 0.051241543143987656, + "elapsed": 211.79861068725586 + }, + { + "step": 272, + "loss": 0.4018518924713135, + "objective": 0.4018518924713135, + "error": 0.1943359375, + "gradient_norm": 0.0772147998213768, + "elapsed": 222.41974115371704 + }, + { + "step": 288, + "loss": 0.13863243162631989, + "objective": 0.13863243162631989, + "error": 0.0556640625, + "gradient_norm": 0.03334609419107437, + "elapsed": 234.04247426986694 + }, + { + "step": 304, + "loss": 0.562490701675415, + "objective": 0.562490701675415, + "error": 0.337890625, + "gradient_norm": 0.04585934057831764, + "elapsed": 242.65421533584595 + }, + { + "step": 320, + "loss": 0.5352796316146851, + "objective": 0.5352796316146851, + "error": 0.294921875, + "gradient_norm": 0.0837635025382042, + "elapsed": 252.10656356811523 + }, + { + "step": 336, + "loss": 0.26082637906074524, + "objective": 0.26082637906074524, + "error": 0.1220703125, + "gradient_norm": 0.048336997628211975, + "elapsed": 262.33449625968933 + }, + { + "step": 352, + "loss": 0.5959363579750061, + "objective": 0.5959363579750061, + "error": 0.3388671875, + "gradient_norm": 0.06797357648611069, + "elapsed": 271.9942307472229 + }, + { + "step": 368, + "loss": 0.48994284868240356, + "objective": 0.48994284868240356, + "error": 0.2587890625, + "gradient_norm": 0.06296153366565704, + "elapsed": 283.0493588447571 + }, + { + "step": 384, + "loss": 0.5710494518280029, + "objective": 0.5710494518280029, + "error": 0.3134765625, + "gradient_norm": 0.045333269983530045, + "elapsed": 294.64637446403503 + }, + { + "step": 400, + "loss": 0.5957783460617065, + "objective": 0.5957783460617065, + "error": 0.349609375, + "gradient_norm": 0.03918786719441414, + "elapsed": 307.6200888156891 + }, + { + "step": 416, + "loss": 0.27521568536758423, + "objective": 0.27521568536758423, + "error": 0.1220703125, + "gradient_norm": 0.038001637905836105, + "elapsed": 317.01610231399536 + }, + { + "step": 432, + "loss": 0.02379823848605156, + "objective": 0.02379823848605156, + "error": 0.0078125, + "gradient_norm": 0.007661945186555386, + "elapsed": 326.9360330104828 + }, + { + "step": 448, + "loss": 0.56734299659729, + "objective": 0.56734299659729, + "error": 0.3271484375, + "gradient_norm": 0.057416290044784546, + "elapsed": 339.6289041042328 + }, + { + "step": 464, + "loss": 0.10715995728969574, + "objective": 0.10715995728969574, + "error": 0.0380859375, + "gradient_norm": 0.02532491274178028, + "elapsed": 349.8584108352661 + }, + { + "step": 480, + "loss": 0.6143364310264587, + "objective": 0.6143364310264587, + "error": 0.36328125, + "gradient_norm": 0.08023032546043396, + "elapsed": 360.36362075805664 + }, + { + "step": 496, + "loss": 0.44069671630859375, + "objective": 0.44069671630859375, + "error": 0.2197265625, + "gradient_norm": 0.048025116324424744, + "elapsed": 369.48225808143616 + }, + { + "step": 512, + "loss": 0.019900165498256683, + "objective": 0.019900165498256683, + "error": 0.0107421875, + "gradient_norm": 0.0038635791279375553, + "elapsed": 378.59970593452454 + }, + { + "step": 528, + "loss": 0.033316534012556076, + "objective": 0.033316534012556076, + "error": 0.009765625, + "gradient_norm": 0.009174940176308155, + "elapsed": 393.4021761417389 + }, + { + "step": 544, + "loss": 0.41130945086479187, + "objective": 0.41130945086479187, + "error": 0.20703125, + "gradient_norm": 0.04695262759923935, + "elapsed": 402.8586280345917 + }, + { + "step": 560, + "loss": 0.5885373950004578, + "objective": 0.5885373950004578, + "error": 0.3544921875, + "gradient_norm": 0.08534500002861023, + "elapsed": 416.98661041259766 + }, + { + "step": 576, + "loss": 0.3804720640182495, + "objective": 0.3804720640182495, + "error": 0.19140625, + "gradient_norm": 0.05163278803229332, + "elapsed": 427.7550480365753 + }, + { + "step": 592, + "loss": 0.6101120710372925, + "objective": 0.6101120710372925, + "error": 0.3525390625, + "gradient_norm": 0.05593184754252434, + "elapsed": 441.05026268959045 + }, + { + "step": 608, + "loss": 0.5586092472076416, + "objective": 0.5586092472076416, + "error": 0.302734375, + "gradient_norm": 0.07458740472793579, + "elapsed": 452.95383286476135 + }, + { + "step": 624, + "loss": 0.5992780923843384, + "objective": 0.5992780923843384, + "error": 0.357421875, + "gradient_norm": 0.03618372976779938, + "elapsed": 466.1582691669464 + }, + { + "step": 640, + "loss": 0.3536975383758545, + "objective": 0.3536975383758545, + "error": 0.1650390625, + "gradient_norm": 0.05353165790438652, + "elapsed": 477.166255235672 + }, + { + "step": 656, + "loss": 0.4926893711090088, + "objective": 0.4926893711090088, + "error": 0.2626953125, + "gradient_norm": 0.05201377719640732, + "elapsed": 491.1417751312256 + }, + { + "step": 672, + "loss": 0.5754991173744202, + "objective": 0.5754991173744202, + "error": 0.3271484375, + "gradient_norm": 0.08167096972465515, + "elapsed": 501.630366563797 + }, + { + "step": 688, + "loss": 0.5685014724731445, + "objective": 0.5685014724731445, + "error": 0.333984375, + "gradient_norm": 0.043775107711553574, + "elapsed": 514.2880456447601 + }, + { + "step": 704, + "loss": 0.022465089336037636, + "objective": 0.022465089336037636, + "error": 0.0068359375, + "gradient_norm": 0.010172540321946144, + "elapsed": 522.9173214435577 + }, + { + "step": 720, + "loss": 0.035460107028484344, + "objective": 0.035460107028484344, + "error": 0.0107421875, + "gradient_norm": 0.010515578091144562, + "elapsed": 532.8470129966736 + }, + { + "step": 736, + "loss": 0.44765588641166687, + "objective": 0.44765588641166687, + "error": 0.2138671875, + "gradient_norm": 0.09050357341766357, + "elapsed": 541.9488840103149 + }, + { + "step": 752, + "loss": 0.5933939218521118, + "objective": 0.5933939218521118, + "error": 0.3359375, + "gradient_norm": 0.0665116235613823, + "elapsed": 552.9967355728149 + }, + { + "step": 768, + "loss": 0.6100764870643616, + "objective": 0.6100764870643616, + "error": 0.3515625, + "gradient_norm": 0.0821211114525795, + "elapsed": 563.7709202766418 + }, + { + "step": 784, + "loss": 0.02964692935347557, + "objective": 0.02964692935347557, + "error": 0.009765625, + "gradient_norm": 0.012663272209465504, + "elapsed": 573.1517221927643 + }, + { + "step": 800, + "loss": 0.38091832399368286, + "objective": 0.38091832399368286, + "error": 0.1904296875, + "gradient_norm": 0.060622021555900574, + "elapsed": 582.5687477588654 + }, + { + "step": 816, + "loss": 0.552335262298584, + "objective": 0.552335262298584, + "error": 0.3076171875, + "gradient_norm": 0.14419035613536835, + "elapsed": 594.4292685985565 + }, + { + "step": 832, + "loss": 0.5943340063095093, + "objective": 0.5943340063095093, + "error": 0.34375, + "gradient_norm": 0.0633513554930687, + "elapsed": 605.2052299976349 + }, + { + "step": 848, + "loss": 0.6074100732803345, + "objective": 0.6074100732803345, + "error": 0.3486328125, + "gradient_norm": 0.04225531220436096, + "elapsed": 614.8996202945709 + }, + { + "step": 864, + "loss": 0.6198879480361938, + "objective": 0.6198879480361938, + "error": 0.361328125, + "gradient_norm": 0.04208856821060181, + "elapsed": 625.4266908168793 + }, + { + "step": 880, + "loss": 0.6151762008666992, + "objective": 0.6151762008666992, + "error": 0.369140625, + "gradient_norm": 0.06261089444160461, + "elapsed": 636.0696911811829 + }, + { + "step": 896, + "loss": 0.49680083990097046, + "objective": 0.49680083990097046, + "error": 0.25390625, + "gradient_norm": 0.0827067643404007, + "elapsed": 644.6893246173859 + }, + { + "step": 912, + "loss": 0.4610927402973175, + "objective": 0.4610927402973175, + "error": 0.23828125, + "gradient_norm": 0.06652095168828964, + "elapsed": 655.969132900238 + }, + { + "step": 928, + "loss": 0.5218505859375, + "objective": 0.5218505859375, + "error": 0.2685546875, + "gradient_norm": 0.07188194245100021, + "elapsed": 667.5352523326874 + }, + { + "step": 944, + "loss": 0.33009427785873413, + "objective": 0.33009427785873413, + "error": 0.1533203125, + "gradient_norm": 0.05718810483813286, + "elapsed": 677.8397319316864 + }, + { + "step": 960, + "loss": 0.5703234672546387, + "objective": 0.5703234672546387, + "error": 0.3193359375, + "gradient_norm": 0.11168288439512253, + "elapsed": 687.8742904663086 + }, + { + "step": 976, + "loss": 0.025548014789819717, + "objective": 0.025548014789819717, + "error": 0.0107421875, + "gradient_norm": 0.009453393518924713, + "elapsed": 698.294285774231 + }, + { + "step": 992, + "loss": 0.45398157835006714, + "objective": 0.45398157835006714, + "error": 0.2412109375, + "gradient_norm": 0.04607952758669853, + "elapsed": 707.903199672699 + }, + { + "step": 1008, + "loss": 0.3412189781665802, + "objective": 0.3412189781665802, + "error": 0.1513671875, + "gradient_norm": 0.0432075597345829, + "elapsed": 718.5662748813629 + }, + { + "step": 1024, + "loss": 0.4376429319381714, + "objective": 0.4376429319381714, + "error": 0.2275390625, + "gradient_norm": 0.07974351197481155, + "elapsed": 728.8954858779907 + }, + { + "step": 1040, + "loss": 0.33512815833091736, + "objective": 0.33512815833091736, + "error": 0.150390625, + "gradient_norm": 0.04476875811815262, + "elapsed": 744.0822694301605 + }, + { + "step": 1056, + "loss": 0.5214208364486694, + "objective": 0.5214208364486694, + "error": 0.283203125, + "gradient_norm": 0.08898192644119263, + "elapsed": 755.1484262943268 + }, + { + "step": 1072, + "loss": 0.13849599659442902, + "objective": 0.13849599659442902, + "error": 0.052734375, + "gradient_norm": 0.028359953314065933, + "elapsed": 764.3303108215332 + }, + { + "step": 1088, + "loss": 0.323838472366333, + "objective": 0.323838472366333, + "error": 0.1435546875, + "gradient_norm": 0.04081716760993004, + "elapsed": 773.2739362716675 + }, + { + "step": 1104, + "loss": 0.5627881288528442, + "objective": 0.5627881288528442, + "error": 0.3125, + "gradient_norm": 0.08322097361087799, + "elapsed": 784.7223973274231 + }, + { + "step": 1120, + "loss": 0.44111010432243347, + "objective": 0.44111010432243347, + "error": 0.2216796875, + "gradient_norm": 0.05700977146625519, + "elapsed": 795.085648059845 + }, + { + "step": 1136, + "loss": 0.6395992040634155, + "objective": 0.6395992040634155, + "error": 0.39453125, + "gradient_norm": 0.0744553729891777, + "elapsed": 805.7942585945129 + }, + { + "step": 1152, + "loss": 0.5433304309844971, + "objective": 0.5433304309844971, + "error": 0.287109375, + "gradient_norm": 0.04814797267317772, + "elapsed": 817.3382890224457 + }, + { + "step": 1168, + "loss": 0.5708576440811157, + "objective": 0.5708576440811157, + "error": 0.3203125, + "gradient_norm": 0.051331400871276855, + "elapsed": 829.288791179657 + }, + { + "step": 1184, + "loss": 0.5447035431861877, + "objective": 0.5447035431861877, + "error": 0.2939453125, + "gradient_norm": 0.10116687417030334, + "elapsed": 839.6822843551636 + }, + { + "step": 1200, + "loss": 0.6125671863555908, + "objective": 0.6125671863555908, + "error": 0.3642578125, + "gradient_norm": 0.04368080571293831, + "elapsed": 850.2262740135193 + }, + { + "step": 1216, + "loss": 0.5002380609512329, + "objective": 0.5002380609512329, + "error": 0.259765625, + "gradient_norm": 0.04939017817378044, + "elapsed": 862.3783452510834 + }, + { + "step": 1232, + "loss": 0.5698772668838501, + "objective": 0.5698772668838501, + "error": 0.3173828125, + "gradient_norm": 0.04916854575276375, + "elapsed": 871.4622664451599 + }, + { + "step": 1248, + "loss": 0.6046518683433533, + "objective": 0.6046518683433533, + "error": 0.341796875, + "gradient_norm": 0.04919794574379921, + "elapsed": 883.3905737400055 + }, + { + "step": 1264, + "loss": 0.5913128852844238, + "objective": 0.5913128852844238, + "error": 0.357421875, + "gradient_norm": 0.046917904168367386, + "elapsed": 892.4264807701111 + }, + { + "step": 1280, + "loss": 0.5027461051940918, + "objective": 0.5027461051940918, + "error": 0.2626953125, + "gradient_norm": 0.04705750197172165, + "elapsed": 902.5875842571259 + }, + { + "step": 1296, + "loss": 0.13519814610481262, + "objective": 0.13519814610481262, + "error": 0.052734375, + "gradient_norm": 0.02625490538775921, + "elapsed": 912.4087471961975 + }, + { + "step": 1312, + "loss": 0.5862359404563904, + "objective": 0.5862359404563904, + "error": 0.3271484375, + "gradient_norm": 0.05441493168473244, + "elapsed": 923.992555141449 + }, + { + "step": 1328, + "loss": 0.6031408309936523, + "objective": 0.6031408309936523, + "error": 0.3505859375, + "gradient_norm": 0.05901554971933365, + "elapsed": 933.3936491012573 + }, + { + "step": 1344, + "loss": 0.5823733806610107, + "objective": 0.5823733806610107, + "error": 0.3310546875, + "gradient_norm": 0.0842989832162857, + "elapsed": 941.979998588562 + }, + { + "step": 1360, + "loss": 0.6241492033004761, + "objective": 0.6241492033004761, + "error": 0.3720703125, + "gradient_norm": 0.04446673393249512, + "elapsed": 954.969649553299 + }, + { + "step": 1376, + "loss": 0.5829156637191772, + "objective": 0.5829156637191772, + "error": 0.361328125, + "gradient_norm": 0.06615480780601501, + "elapsed": 966.0245676040649 + }, + { + "step": 1392, + "loss": 0.5968320369720459, + "objective": 0.5968320369720459, + "error": 0.34765625, + "gradient_norm": 0.05093541368842125, + "elapsed": 975.1022663116455 + }, + { + "step": 1408, + "loss": 0.045559000223875046, + "objective": 0.045559000223875046, + "error": 0.01171875, + "gradient_norm": 0.02514980360865593, + "elapsed": 987.2391452789307 + }, + { + "step": 1424, + "loss": 0.22601813077926636, + "objective": 0.22601813077926636, + "error": 0.09765625, + "gradient_norm": 0.04834206402301788, + "elapsed": 996.4583384990692 + }, + { + "step": 1440, + "loss": 0.23011144995689392, + "objective": 0.23011144995689392, + "error": 0.111328125, + "gradient_norm": 0.050687842071056366, + "elapsed": 1007.1440904140472 + }, + { + "step": 1456, + "loss": 0.018240466713905334, + "objective": 0.018240466713905334, + "error": 0.0078125, + "gradient_norm": 0.005604141391813755, + "elapsed": 1016.4502851963043 + }, + { + "step": 1472, + "loss": 0.4498720169067383, + "objective": 0.4498720169067383, + "error": 0.232421875, + "gradient_norm": 0.08179625123739243, + "elapsed": 1028.8303294181824 + }, + { + "step": 1488, + "loss": 0.24151627719402313, + "objective": 0.24151627719402313, + "error": 0.107421875, + "gradient_norm": 0.03838668763637543, + "elapsed": 1037.8867321014404 + }, + { + "step": 1504, + "loss": 0.46122002601623535, + "objective": 0.46122002601623535, + "error": 0.232421875, + "gradient_norm": 0.0726623386144638, + "elapsed": 1047.7258644104004 + }, + { + "step": 1520, + "loss": 0.5085602402687073, + "objective": 0.5085602402687073, + "error": 0.2705078125, + "gradient_norm": 0.06673175096511841, + "elapsed": 1059.352120399475 + }, + { + "step": 1536, + "loss": 0.6105246543884277, + "objective": 0.6105246543884277, + "error": 0.3818359375, + "gradient_norm": 0.04271261766552925, + "elapsed": 1070.1413230895996 + }, + { + "step": 1552, + "loss": 0.4792126417160034, + "objective": 0.4792126417160034, + "error": 0.2578125, + "gradient_norm": 0.05200039595365524, + "elapsed": 1086.444006204605 + }, + { + "step": 1568, + "loss": 0.5814266204833984, + "objective": 0.5814266204833984, + "error": 0.330078125, + "gradient_norm": 0.05867309868335724, + "elapsed": 1097.2902619838715 + }, + { + "step": 1584, + "loss": 0.6321226358413696, + "objective": 0.6321226358413696, + "error": 0.3798828125, + "gradient_norm": 0.05418067052960396, + "elapsed": 1107.9767682552338 + }, + { + "step": 1600, + "loss": 0.5931253433227539, + "objective": 0.5931253433227539, + "error": 0.3603515625, + "gradient_norm": 0.06396215409040451, + "elapsed": 1121.782609462738 + }, + { + "step": 1616, + "loss": 0.6411516666412354, + "objective": 0.6411516666412354, + "error": 0.38671875, + "gradient_norm": 0.05035768821835518, + "elapsed": 1132.7197887897491 + }, + { + "step": 1632, + "loss": 0.4267754852771759, + "objective": 0.4267754852771759, + "error": 0.2080078125, + "gradient_norm": 0.09109894186258316, + "elapsed": 1139.1667578220367 + }, + { + "step": 1648, + "loss": 0.21246182918548584, + "objective": 0.21246182918548584, + "error": 0.095703125, + "gradient_norm": 0.04478950425982475, + "elapsed": 1149.1183021068573 + }, + { + "step": 1664, + "loss": 0.46360665559768677, + "objective": 0.46360665559768677, + "error": 0.251953125, + "gradient_norm": 0.07668188214302063, + "elapsed": 1161.1197745800018 + }, + { + "step": 1680, + "loss": 0.46281397342681885, + "objective": 0.46281397342681885, + "error": 0.236328125, + "gradient_norm": 0.07954126596450806, + "elapsed": 1171.8474535942078 + }, + { + "step": 1696, + "loss": 0.2484058141708374, + "objective": 0.2484058141708374, + "error": 0.12109375, + "gradient_norm": 0.047261305153369904, + "elapsed": 1185.6542596817017 + }, + { + "step": 1712, + "loss": 0.24310235679149628, + "objective": 0.24310235679149628, + "error": 0.1064453125, + "gradient_norm": 0.07262872904539108, + "elapsed": 1197.8986082077026 + }, + { + "step": 1728, + "loss": 0.009729458019137383, + "objective": 0.009729458019137383, + "error": 0.001953125, + "gradient_norm": 0.01146845705807209, + "elapsed": 1208.495581150055 + }, + { + "step": 1744, + "loss": 0.24568752944469452, + "objective": 0.24568752944469452, + "error": 0.10546875, + "gradient_norm": 0.05830742046236992, + "elapsed": 1219.9394850730896 + }, + { + "step": 1760, + "loss": 0.022546378895640373, + "objective": 0.022546378895640373, + "error": 0.0068359375, + "gradient_norm": 0.007667526602745056, + "elapsed": 1229.5703229904175 + }, + { + "step": 1776, + "loss": 0.5848401784896851, + "objective": 0.5848401784896851, + "error": 0.3271484375, + "gradient_norm": 0.061901818960905075, + "elapsed": 1238.750280380249 + }, + { + "step": 1792, + "loss": 0.6031335592269897, + "objective": 0.6031335592269897, + "error": 0.3671875, + "gradient_norm": 0.0676632970571518, + "elapsed": 1247.7468683719635 + }, + { + "step": 1808, + "loss": 0.6210961937904358, + "objective": 0.6210961937904358, + "error": 0.3603515625, + "gradient_norm": 0.0718468651175499, + "elapsed": 1256.1821897029877 + }, + { + "step": 1824, + "loss": 0.570877730846405, + "objective": 0.570877730846405, + "error": 0.3212890625, + "gradient_norm": 0.05575930327177048, + "elapsed": 1266.4091975688934 + }, + { + "step": 1840, + "loss": 0.5711429119110107, + "objective": 0.5711429119110107, + "error": 0.31640625, + "gradient_norm": 0.0691002607345581, + "elapsed": 1277.4722146987915 + }, + { + "step": 1856, + "loss": 0.36046335101127625, + "objective": 0.36046335101127625, + "error": 0.16796875, + "gradient_norm": 0.04694395884871483, + "elapsed": 1287.1420249938965 + }, + { + "step": 1872, + "loss": 0.4688999652862549, + "objective": 0.4688999652862549, + "error": 0.2216796875, + "gradient_norm": 0.07401346415281296, + "elapsed": 1297.3945078849792 + }, + { + "step": 1888, + "loss": 0.46385282278060913, + "objective": 0.46385282278060913, + "error": 0.2373046875, + "gradient_norm": 0.05608939751982689, + "elapsed": 1305.9779334068298 + }, + { + "step": 1904, + "loss": 0.60875403881073, + "objective": 0.60875403881073, + "error": 0.365234375, + "gradient_norm": 0.05085878074169159, + "elapsed": 1317.3097081184387 + }, + { + "step": 1920, + "loss": 0.12223530560731888, + "objective": 0.12223530560731888, + "error": 0.0458984375, + "gradient_norm": 0.024870412424206734, + "elapsed": 1328.6486887931824 + }, + { + "step": 1936, + "loss": 0.3486189544200897, + "objective": 0.3486189544200897, + "error": 0.16796875, + "gradient_norm": 0.04780663549900055, + "elapsed": 1336.6701011657715 + }, + { + "step": 1952, + "loss": 0.5777363777160645, + "objective": 0.5777363777160645, + "error": 0.3427734375, + "gradient_norm": 0.0571451336145401, + "elapsed": 1346.9158833026886 + }, + { + "step": 1968, + "loss": 0.39320266246795654, + "objective": 0.39320266246795654, + "error": 0.1884765625, + "gradient_norm": 0.05673858895897865, + "elapsed": 1354.9182631969452 + }, + { + "step": 1984, + "loss": 0.5900611281394958, + "objective": 0.5900611281394958, + "error": 0.3349609375, + "gradient_norm": 0.06593932211399078, + "elapsed": 1364.2754452228546 + }, + { + "step": 2000, + "loss": 0.6212430000305176, + "objective": 0.6212430000305176, + "error": 0.3857421875, + "gradient_norm": 0.040818918496370316, + "elapsed": 1374.7192046642303 + }, + { + "step": 2016, + "loss": 0.15605247020721436, + "objective": 0.15605247020721436, + "error": 0.0556640625, + "gradient_norm": 0.03108786791563034, + "elapsed": 1386.2740807533264 + }, + { + "step": 2032, + "loss": 0.22049596905708313, + "objective": 0.22049596905708313, + "error": 0.1015625, + "gradient_norm": 0.042733557522296906, + "elapsed": 1396.6422457695007 + }, + { + "step": 2048, + "loss": 0.5642613172531128, + "objective": 0.5642613172531128, + "error": 0.306640625, + "gradient_norm": 0.07527482509613037, + "elapsed": 1407.6688070297241 + } + ] + }, + "derived_checkpoints": { + "mean3": { + "checkpoint_label": "mean3", + "kind": "uniform_parameter_average", + "optimizer_updates_in_derived_run": 0, + "source_run": "full3_1", + "source_optimizer_steps": [ + 1024, + 1536, + 2048 + ], + "source_weights_sha256": { + "1024": "22adf2425bbfb872e814227799b725f78618bccf68410935470e6c37d159a6b7", + "1536": "fb250c19cf7bb00741b6d862b8f646a2c8ab88397bb03c7bafc9085f9347eca5", + "2048": "b93c1367dfeb0e32b2add76b1abeb3f12d4d9f8145d0f13d8d5b17ca882ba3b5" + }, + "source_checkpoint_records": { + "1024": { + "step": 1024, + "training_samples": 1048576, + "unique_training_rows_seen_in_this_phase": 446179, + "weights_sha256": "22adf2425bbfb872e814227799b725f78618bccf68410935470e6c37d159a6b7", + "complete": true + }, + "1536": { + "step": 1536, + "training_samples": 1572864, + "unique_training_rows_seen_in_this_phase": 490266, + "weights_sha256": "fb250c19cf7bb00741b6d862b8f646a2c8ab88397bb03c7bafc9085f9347eca5", + "complete": true + }, + "2048": { + "step": 2048, + "training_samples": 2097152, + "unique_training_rows_seen_in_this_phase": 507282, + "weights_sha256": "b93c1367dfeb0e32b2add76b1abeb3f12d4d9f8145d0f13d8d5b17ca882ba3b5", + "complete": true + } + }, + "weights_sha256": "ce5951e7095a9912dc74719254f2fcf9654f219078392b7acf7a8545e6f9f3f4", + "complete": true + }, + "mean4": { + "checkpoint_label": "mean4", + "kind": "uniform_parameter_average", + "optimizer_updates_in_derived_run": 0, + "source_run": "full3_1", + "source_optimizer_steps": [ + 512, + 1024, + 1536, + 2048 + ], + "source_weights_sha256": { + "512": "d4194b40470453e5df9b75e12326cbbd0e6845946870bb0d53a2cbbdd6ea32dc", + "1024": "22adf2425bbfb872e814227799b725f78618bccf68410935470e6c37d159a6b7", + "1536": "fb250c19cf7bb00741b6d862b8f646a2c8ab88397bb03c7bafc9085f9347eca5", + "2048": "b93c1367dfeb0e32b2add76b1abeb3f12d4d9f8145d0f13d8d5b17ca882ba3b5" + }, + "source_checkpoint_records": { + "512": { + "step": 512, + "training_samples": 524288, + "unique_training_rows_seen_in_this_phase": 324661, + "weights_sha256": "d4194b40470453e5df9b75e12326cbbd0e6845946870bb0d53a2cbbdd6ea32dc", + "complete": true + }, + "1024": { + "step": 1024, + "training_samples": 1048576, + "unique_training_rows_seen_in_this_phase": 446179, + "weights_sha256": "22adf2425bbfb872e814227799b725f78618bccf68410935470e6c37d159a6b7", + "complete": true + }, + "1536": { + "step": 1536, + "training_samples": 1572864, + "unique_training_rows_seen_in_this_phase": 490266, + "weights_sha256": "fb250c19cf7bb00741b6d862b8f646a2c8ab88397bb03c7bafc9085f9347eca5", + "complete": true + }, + "2048": { + "step": 2048, + "training_samples": 2097152, + "unique_training_rows_seen_in_this_phase": 507282, + "weights_sha256": "b93c1367dfeb0e32b2add76b1abeb3f12d4d9f8145d0f13d8d5b17ca882ba3b5", + "complete": true + } + }, + "weights_sha256": "ff5a023ce2c18be7c29f810a3788a450e3ad3ad2237d6e9448923aa6a28c5074", + "complete": true + } + }, + "selection": "Predefined averages of the last3 or all4 saved noninitial full3_1 checkpoints; evaluate every validation condition before selecting", + "test_data_used": false, + "derivation_source_sha256": "08c498d6952b0380e001371df9a0461a483631a301f93747b821e529e72b349d" + }, + "training_source_snapshot": "training_sources/full3_swa", + "selection": "Minimum full-validation condition-mean failure per basis group over incumbent, listed neural checkpoints and equal probability averages with the recorded physical decoder.", + "physical_prediction_reference": "/run-state/workspace/research/context_upgrades/turbo1/predictions", + "prior_pass": 3, + "history": [ + { + "group": "d5_bX_center_5_5", + "candidates": { + "incumbent": 0.23290264423076928, + "mean3": 0.2335186298076923, + "blend-mean3": 0.2325420673076923, + "mean4": 0.23326322115384618, + "blend-mean4": 0.23300781250000002 + }, + "selected": "blend-mean3" + }, + { + "group": "d5_bZ_center_5_5", + "candidates": { + "incumbent": 0.22017728365384615, + "mean3": 0.22037259615384613, + "blend-mean3": 0.22091346153846153, + "mean4": 0.2205528846153846, + "blend-mean4": 0.22100360576923078 + }, + "selected": "incumbent" + } + ], + "checkpoints": { + "mean3": { + "checkpoint_label": "mean3", + "kind": "uniform_parameter_average", + "optimizer_updates_in_derived_run": 0, + "source_run": "full3_1", + "source_optimizer_steps": [ + 1024, + 1536, + 2048 + ], + "source_weights_sha256": { + "1024": "22adf2425bbfb872e814227799b725f78618bccf68410935470e6c37d159a6b7", + "1536": "fb250c19cf7bb00741b6d862b8f646a2c8ab88397bb03c7bafc9085f9347eca5", + "2048": "b93c1367dfeb0e32b2add76b1abeb3f12d4d9f8145d0f13d8d5b17ca882ba3b5" + }, + "source_checkpoint_records": { + "1024": { + "step": 1024, + "training_samples": 1048576, + "unique_training_rows_seen_in_this_phase": 446179, + "weights_sha256": "22adf2425bbfb872e814227799b725f78618bccf68410935470e6c37d159a6b7", + "complete": true + }, + "1536": { + "step": 1536, + "training_samples": 1572864, + "unique_training_rows_seen_in_this_phase": 490266, + "weights_sha256": "fb250c19cf7bb00741b6d862b8f646a2c8ab88397bb03c7bafc9085f9347eca5", + "complete": true + }, + "2048": { + "step": 2048, + "training_samples": 2097152, + "unique_training_rows_seen_in_this_phase": 507282, + "weights_sha256": "b93c1367dfeb0e32b2add76b1abeb3f12d4d9f8145d0f13d8d5b17ca882ba3b5", + "complete": true + } + }, + "weights_sha256": "ce5951e7095a9912dc74719254f2fcf9654f219078392b7acf7a8545e6f9f3f4", + "complete": true + } + }, + "runtime": "Share physical priors when the conditioning pass and regime agree; otherwise recompute the neural prior independently. Last-only physical branches omit logical tracking in intermediate passes when intermediate probabilities are unused.", + "last_only_equivalence_controls": [ + { + "condition": "surface_code_bX_d5_r03_center_5_5", + "maximum_probability_difference": 7.450580596923828e-07 + }, + { + "condition": "surface_code_bZ_d5_r03_center_5_5", + "maximum_probability_difference": 5.960464477539063e-08 + }, + { + "condition": "surface_code_bX_d5_r25_center_5_5", + "maximum_probability_difference": 5.960464477539063e-08 + }, + { + "condition": "surface_code_bZ_d5_r25_center_5_5", + "maximum_probability_difference": 1.7881393432617188e-07 + } + ], + "test_data_used": false + }, + "checkpoints": { + "1024": { + "step": 1024, + "training_samples": 1048576, + "unique_training_rows_seen_in_this_phase": 446990, + "weights_sha256": "4eeb5494f417dbc5529d8c05f082015b4eb6ac36da699939dbbcb4da78eef713", + "complete": true + } + }, + "selection": "Per-basis minimum full-validation mean over the incumbent and equal old/new neural probability averages, optionally blended with physical probability at fractions 0, .25, or .5. All 13 durations included.", + "history": [ + { + "group": "d5_bX_center_5_5", + "candidates": { + "incumbent": 0.2325420673076923, + "0-physical-0": 0.23272235576923078, + "0-physical-0.25": 0.2334435096153846, + "0-physical-0.5": 0.23341346153846157, + "512-physical-0": 0.23282752403846152, + "512-physical-0.25": 0.23360877403846156, + "512-physical-0.5": 0.23300781250000002, + "1024-physical-0": 0.2323016826923077, + "1024-physical-0.25": 0.23291766826923077, + "1024-physical-0.5": 0.23285757211538463, + "1536-physical-0": 0.23251201923076925, + "1536-physical-0.25": 0.2325871394230769, + "1536-physical-0.5": 0.2329477163461538 + }, + "selected": "1024-physical-0", + "original_checkpoint": "full3_swa/mean3" + }, + { + "group": "d5_bZ_center_5_5", + "candidates": { + "incumbent": 0.21953124999999998, + "0-physical-0": 0.22061298076923078, + "0-physical-0.25": 0.2207481971153846, + "0-physical-0.5": 0.220703125, + "512-physical-0": 0.22088341346153845, + "512-physical-0.25": 0.22109374999999998, + "512-physical-0.5": 0.22074819711538465, + "1024-physical-0": 0.22029747596153845, + "1024-physical-0.25": 0.22071814903846157, + "1024-physical-0.5": 0.2205378605769231, + "1536-physical-0": 0.2198467548076923, + "1536-physical-0.25": 0.2202674278846154, + "1536-physical-0.5": 0.22035757211538465 + }, + "selected": "incumbent", + "original_checkpoint": "full3_1/1536" + } + ], + "control": { + "status": "passed", + "device": "cpu", + "source_sha256": "59d6c85dc4bd61e26cf7243baf0e2637c3de1d35327b2c763707badd19446550", + "reference_package": "/run-state/workspace/research/context_upgrades/short_categorical2/package", + "members": [ + { + "weights": "weights/neural-d5-neural_d5_full3_swa-mean3.npz", + "coefficient": 1.0 + }, + { + "weights": "weights/neural-d5-neural_d5_full3_1-1536.npz", + "coefficient": 3.0 + } + ], + "cases": [ + { + "condition": "surface_code_bX_d5_r01_center_5_5", + "shots": 1, + "single_path_exact": true, + "shared_mixture_exact": true, + "cpu_recomputed_vs_gpu_cached_prior_max_difference": null + }, + { + "condition": "surface_code_bX_d5_r03_center_5_5", + "shots": 7, + "single_path_exact": true, + "shared_mixture_exact": true, + "cpu_recomputed_vs_gpu_cached_prior_max_difference": 1.7881393432617188e-07 + } + ], + "seconds": 4.879673480987549, + "scope": "Runtime probability aggregation and prior reuse; no model fitting or validation selection." + }, + "test_data_used": false + }, + "package_validation": { + "performance": 0.7671349158653846, + "failure_by_distance": { + "d3": 0.2398212139423077, + "d5": 0.2259089543269231 + }, + "scorer": "Supplied qecbench.scoring on all 130 validation conditions and 665600 shots", + "contract_checks": [ + { + "condition": "surface_code_bX_d3_r01_center_3_5", + "shots": 1, + "maximum_probability_difference": 0.0 + }, + { + "condition": "surface_code_bX_d3_r25_center_5_3", + "shots": 37, + "maximum_probability_difference": 0.0 + }, + { + "condition": "surface_code_bZ_d3_r13_center_5_7", + "shots": 1025, + "maximum_probability_difference": 0.0 + }, + { + "condition": "surface_code_bX_d3_r17_center_3_5", + "shots": 19, + "maximum_probability_difference": 0.0 + }, + { + "condition": "surface_code_bX_d3_r17_center_5_3", + "shots": 19, + "maximum_probability_difference": 0.0 + }, + { + "condition": "surface_code_bX_d3_r17_center_5_7", + "shots": 19, + "maximum_probability_difference": 0.0 + }, + { + "condition": "surface_code_bX_d3_r17_center_7_5", + "shots": 19, + "maximum_probability_difference": 0.0 + }, + { + "condition": "surface_code_bZ_d3_r17_center_3_5", + "shots": 19, + "maximum_probability_difference": 0.0 + }, + { + "condition": "surface_code_bZ_d3_r17_center_5_3", + "shots": 19, + "maximum_probability_difference": 0.0 + }, + { + "condition": "surface_code_bZ_d3_r17_center_5_7", + "shots": 19, + "maximum_probability_difference": 0.0 + }, + { + "condition": "surface_code_bZ_d3_r17_center_7_5", + "shots": 19, + "maximum_probability_difference": 0.0 + } + ], + "prediction_generation": "All104 d3 conditions replayed from the assembled package; unchanged d5 predictions retained. Trusted scoring covers all130 conditions.", + "d3_validation_runtime_seconds": 68.0347409248352, + "unchanged_d5_runtime_evidence": { + "performance": 0.7671029897836539, + "failure_by_distance": { + "d3": 0.2398850661057692, + "d5": 0.2259089543269231 + }, + "scorer": "Supplied qecbench.scoring on all 130 validation conditions and 665600 shots", + "contract_checks": [ + { + "condition": "surface_code_bX_d3_r01_center_3_5", + "shots": 1, + "maximum_probability_difference": 0.0 + }, + { + "condition": "surface_code_bX_d3_r01_center_5_3", + "shots": 7, + "maximum_probability_difference": 0.0 + }, + { + "condition": "surface_code_bX_d3_r01_center_5_7", + "shots": 17, + "maximum_probability_difference": 0.0 + }, + { + "condition": "surface_code_bX_d3_r01_center_7_5", + "shots": 37, + "maximum_probability_difference": 0.0 + }, + { + "condition": "surface_code_bZ_d3_r01_center_3_5", + "shots": 257, + "maximum_probability_difference": 0.0 + }, + { + "condition": "surface_code_bZ_d3_r01_center_5_3", + "shots": 1025, + "maximum_probability_difference": 0.0 + }, + { + "condition": "surface_code_bZ_d3_r01_center_5_7", + "shots": 3001, + "maximum_probability_difference": 0.0 + }, + { + "condition": "surface_code_bZ_d3_r01_center_7_5", + "shots": 5120, + "maximum_probability_difference": 0.0 + } + ], + "prediction_generation": "All40960 validation shots in the eight modified d3 one-round conditions replayed from the assembled package; other122 validated condition predictions retained. Trusted scorer covers all130 conditions.", + "short_validation_runtime_seconds": 3.701712131500244, + "unchanged_runtime_evidence": { + "performance": 0.7670964167668269, + "failure_by_distance": { + "d3": 0.23989821213942308, + "d5": 0.2259089543269231 + }, + "scorer": "Supplied qecbench.scoring on all 130 validation conditions and 665600 shots", + "contract_checks": [ + { + "condition": "surface_code_bX_d3_r01_center_3_5", + "shots": 1, + "maximum_probability_difference": 0.0 + }, + { + "condition": "surface_code_bX_d3_r25_center_5_3", + "shots": 37, + "maximum_probability_difference": 0.0 + }, + { + "condition": "surface_code_bZ_d3_r13_center_5_7", + "shots": 1025, + "maximum_probability_difference": 0.0 + }, + { + "condition": "surface_code_bX_d3_r17_center_3_5", + "shots": 19, + "maximum_probability_difference": 0.0 + }, + { + "condition": "surface_code_bX_d3_r17_center_5_3", + "shots": 19, + "maximum_probability_difference": 0.0 + }, + { + "condition": "surface_code_bX_d3_r17_center_5_7", + "shots": 19, + "maximum_probability_difference": 0.0 + }, + { + "condition": "surface_code_bX_d3_r17_center_7_5", + "shots": 19, + "maximum_probability_difference": 0.0 + }, + { + "condition": "surface_code_bZ_d3_r17_center_3_5", + "shots": 19, + "maximum_probability_difference": 0.0 + }, + { + "condition": "surface_code_bZ_d3_r17_center_5_3", + "shots": 19, + "maximum_probability_difference": 0.0 + }, + { + "condition": "surface_code_bZ_d3_r17_center_5_7", + "shots": 19, + "maximum_probability_difference": 0.0 + }, + { + "condition": "surface_code_bZ_d3_r17_center_7_5", + "shots": 19, + "maximum_probability_difference": 0.0 + } + ], + "prediction_generation": "All104 d3 conditions replayed from the assembled package; unchanged d5 predictions retained. Trusted scoring covers all130 conditions.", + "d3_validation_runtime_seconds": 69.96674966812134, + "unchanged_d5_runtime_evidence": { + "performance": 0.7670691856971154, + "failure_by_distance": { + "d3": 0.23995267427884615, + "d5": 0.2259089543269231 + }, + "scorer": "Supplied qecbench.scoring on all 130 validation conditions and 665600 shots", + "contract_checks": [ + { + "condition": "surface_code_bX_d3_r01_center_3_5", + "shots": 1, + "maximum_probability_difference": 0.0 + }, + { + "condition": "surface_code_bX_d3_r25_center_5_3", + "shots": 37, + "maximum_probability_difference": 0.0 + }, + { + "condition": "surface_code_bZ_d3_r13_center_5_7", + "shots": 1025, + "maximum_probability_difference": 0.0 + }, + { + "condition": "surface_code_bX_d5_r01_center_5_5", + "shots": 7, + "maximum_probability_difference": 0.0 + }, + { + "condition": "surface_code_bZ_d5_r09_center_5_5", + "shots": 257, + "maximum_probability_difference": 0.0 + }, + { + "condition": "surface_code_bX_d5_r25_center_5_5", + "shots": 17, + "maximum_probability_difference": 0.0 + } + ], + "prediction_generation": "All26 d5 conditions replayed from the assembled package; unchanged d3 predictions retained. Full trusted scoring and relocated arbitrary-ID/subset checks.", + "runtime_evidence": "Full133120-shot d5 replay took 351.86s on one H100; d3 paths unchanged from the recorded incumbent.", + "d5_validation_runtime_seconds": 351.8580107688904, + "runtime_selection_comparison": { + "scope": "Selected X raw neural ensemble: cached evaluator averages compared with actual packaged GPU replay; validation only", + "maximum_probability_difference": 3.4809112548828125e-05, + "changed_decisions": 1, + "net_runtime_corrections": 1, + "conditions": [ + { + "condition": "surface_code_bX_d5_r01_center_5_5", + "maximum_probability_difference": 0.0, + "changed_decisions": 0, + "assembled_errors": 40, + "runtime_errors": 40 + }, + { + "condition": "surface_code_bX_d5_r03_center_5_5", + "maximum_probability_difference": 3.7550926208496094e-06, + "changed_decisions": 0, + "assembled_errors": 270, + "runtime_errors": 270 + }, + { + "condition": "surface_code_bX_d5_r05_center_5_5", + "maximum_probability_difference": 8.255243301391602e-06, + "changed_decisions": 0, + "assembled_errors": 543, + "runtime_errors": 543 + }, + { + "condition": "surface_code_bX_d5_r07_center_5_5", + "maximum_probability_difference": 2.014636993408203e-05, + "changed_decisions": 0, + "assembled_errors": 799, + "runtime_errors": 799 + }, + { + "condition": "surface_code_bX_d5_r09_center_5_5", + "maximum_probability_difference": 3.4809112548828125e-05, + "changed_decisions": 0, + "assembled_errors": 964, + "runtime_errors": 964 + }, + { + "condition": "surface_code_bX_d5_r11_center_5_5", + "maximum_probability_difference": 1.6063451766967773e-05, + "changed_decisions": 0, + "assembled_errors": 1150, + "runtime_errors": 1150 + }, + { + "condition": "surface_code_bX_d5_r13_center_5_5", + "maximum_probability_difference": 3.4570693969726562e-06, + "changed_decisions": 0, + "assembled_errors": 1241, + "runtime_errors": 1241 + }, + { + "condition": "surface_code_bX_d5_r15_center_5_5", + "maximum_probability_difference": 1.1980533599853516e-05, + "changed_decisions": 0, + "assembled_errors": 1433, + "runtime_errors": 1433 + }, + { + "condition": "surface_code_bX_d5_r17_center_5_5", + "maximum_probability_difference": 3.0875205993652344e-05, + "changed_decisions": 0, + "assembled_errors": 1604, + "runtime_errors": 1604 + }, + { + "condition": "surface_code_bX_d5_r19_center_5_5", + "maximum_probability_difference": 9.417533874511719e-06, + "changed_decisions": 0, + "assembled_errors": 1733, + "runtime_errors": 1733 + }, + { + "condition": "surface_code_bX_d5_r21_center_5_5", + "maximum_probability_difference": 1.6182661056518555e-05, + "changed_decisions": 1, + "assembled_errors": 1865, + "runtime_errors": 1864 + }, + { + "condition": "surface_code_bX_d5_r23_center_5_5", + "maximum_probability_difference": 8.821487426757812e-06, + "changed_decisions": 0, + "assembled_errors": 1882, + "runtime_errors": 1882 + }, + { + "condition": "surface_code_bX_d5_r25_center_5_5", + "maximum_probability_difference": 5.841255187988281e-06, + "changed_decisions": 0, + "assembled_errors": 1938, + "runtime_errors": 1938 + } + ], + "test_data_used": false + }, + "publication_recovery": "First finalization stopped because the timing lookup omitted inherited runtime_projection records. Existing measured d3 timing was recovered from the preceding package; completed GPU replay/scoring/relocation checks were retained. No model or inference code changed.", + "contract_execution": { + "requested_verifier_uid": 10001, + "effective_uid": 1000, + "effective_gid": 1000, + "supplementary_groups": [], + "identity_status": "Development process is already unprivileged and cannot change UID; verifier UID10001 was not executed", + "model_and_input_copy": "Owned by development UID 1000,directories0555,files0444,relocated under a fresh accessible temporary parent", + "output_directory": "Owned by execution UID 1000,mode0700", + "PYTHONPATH": "", + "backend": "Runtime default; full selected subset cases", + "scope": "Local contract check; not a Docker/network/mount-isolation test" + } + }, + "runtime_evidence": "Full532480-shot d3 replay took 69.97s on one H100. D5 retains the recorded verified implementation.", + "contract_execution": { + "requested_verifier_uid": 10001, + "effective_uid": 1000, + "effective_gid": 1000, + "supplementary_groups": [], + "identity_status": "Development process is already unprivileged and cannot change UID; verifier UID10001 was not executed", + "model_and_input_copy": "Owned by development UID 1000,directories0555,files0444,relocated under a fresh accessible temporary parent", + "output_directory": "Owned by execution UID 1000,mode0700", + "PYTHONPATH": "", + "backend": "Runtime default; full selected subset cases", + "scope": "Local contract check; not a Docker/network/mount-isolation test" + } + }, + "runtime_evidence": "All modified short conditions replayed in 3.702s on CPU. The direct categorical model removes their neural contractions; other paths and runtime bounds are unchanged.", + "contract_execution": { + "requested_verifier_uid": 10001, + "effective_uid": 1000, + "effective_gid": 1000, + "supplementary_groups": [], + "identity_status": "Development process is already unprivileged and cannot change UID; verifier UID10001 was not executed", + "model_and_input_copy": "Owned by development UID 1000,directories0555,files0444,relocated under a fresh accessible temporary parent", + "output_directory": "Owned by execution UID 1000,mode0700", + "PYTHONPATH": "", + "backend": "CPU explicitly selected; eight short categorical conditions", + "scope": "Local contract check; not a Docker/network/mount-isolation test" + } + }, + "runtime_evidence": "Full532480-shot d3 replay took 68.03s on one H100. D5 retains the recorded verified implementation.", + "contract_execution": { + "requested_verifier_uid": 10001, + "effective_uid": 1000, + "effective_gid": 1000, + "supplementary_groups": [], + "identity_status": "Development process is already unprivileged and cannot change UID; verifier UID10001 was not executed", + "model_and_input_copy": "Owned by development UID 1000,directories0555,files0444,relocated under a fresh accessible temporary parent", + "output_directory": "Owned by execution UID 1000,mode0700", + "PYTHONPATH": "", + "backend": "Runtime default; full selected subset cases", + "scope": "Local contract check; not a Docker/network/mount-isolation test" + } + } +} diff --git a/shared/package-files/8a/8adcdbe43e4ca7ae9bc7b863c88deefa1ae2e21f6382a57367231fcf8c4dbb69/http_cookies.pyi b/shared/package-files/8a/8adcdbe43e4ca7ae9bc7b863c88deefa1ae2e21f6382a57367231fcf8c4dbb69/http_cookies.pyi new file mode 100644 index 0000000000000000000000000000000000000000..5115c0dff1739cfaea21c94785ca44d66c9a68e7 --- /dev/null +++ b/shared/package-files/8a/8adcdbe43e4ca7ae9bc7b863c88deefa1ae2e21f6382a57367231fcf8c4dbb69/http_cookies.pyi @@ -0,0 +1 @@ +from Cookie import * diff --git a/shared/package-files/8a/8addfe548c1ed3c986398ba7a41990aab47bbbf5900d2758b132825c0cfa3466/xlogy_cuda_dispatch.h b/shared/package-files/8a/8addfe548c1ed3c986398ba7a41990aab47bbbf5900d2758b132825c0cfa3466/xlogy_cuda_dispatch.h new file mode 100644 index 0000000000000000000000000000000000000000..bd200e821a75af658957bb5614bb442b02302065 --- /dev/null +++ b/shared/package-files/8a/8addfe548c1ed3c986398ba7a41990aab47bbbf5900d2758b132825c0cfa3466/xlogy_cuda_dispatch.h @@ -0,0 +1,26 @@ +#pragma once +// @generated by torchgen/gen.py from DispatchKeyFunction.h + +// NB: The implementing C++ file is RegisterDispatchKey.cpp + +// The only #includes we need are for custom classes that have defaults in the C++ API +#include +#include +#include + +// Forward declarations of any types needed in the operator signatures. +// We can't directly include these classes because it will cause circular include dependencies. +// This file is included by TensorBody.h, which defines the Tensor class. +#include + +namespace at { + +namespace cuda { + +TORCH_API at::Tensor xlogy(const at::Tensor & self, const at::Tensor & other); +TORCH_API at::Tensor & xlogy_out(at::Tensor & out, const at::Tensor & self, const at::Tensor & other); +TORCH_API at::Tensor & xlogy_outf(const at::Tensor & self, const at::Tensor & other, at::Tensor & out); +TORCH_API at::Tensor & xlogy_(at::Tensor & self, const at::Tensor & other); + +} // namespace cuda +} // namespace at diff --git a/shared/package-files/8a/8ae10dbce630c9c208eda6c786a7dd1d50cd56e17e9daff35949fb10ad32cdc9/_foreach_log.h b/shared/package-files/8a/8ae10dbce630c9c208eda6c786a7dd1d50cd56e17e9daff35949fb10ad32cdc9/_foreach_log.h new file mode 100644 index 0000000000000000000000000000000000000000..cfa5e50ea148351730407548a030209f0eac7aa4 --- /dev/null +++ b/shared/package-files/8a/8ae10dbce630c9c208eda6c786a7dd1d50cd56e17e9daff35949fb10ad32cdc9/_foreach_log.h @@ -0,0 +1,44 @@ +#pragma once + +// @generated by torchgen/gen.py from Function.h + +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include + + + +#include + +namespace at { + + +// aten::_foreach_log(Tensor[] self) -> Tensor[] +inline ::std::vector _foreach_log(at::TensorList self) { + return at::_ops::_foreach_log::call(self); +} + +// aten::_foreach_log_(Tensor(a!)[] self) -> () +inline void _foreach_log_(at::TensorList self) { + return at::_ops::_foreach_log_::call(self); +} + +// aten::_foreach_log.out(Tensor[] self, *, Tensor(a!)[] out) -> () +inline void _foreach_log_out(at::TensorList out, at::TensorList self) { + return at::_ops::_foreach_log_out::call(self, out); +} +// aten::_foreach_log.out(Tensor[] self, *, Tensor(a!)[] out) -> () +inline void _foreach_log_outf(at::TensorList self, at::TensorList out) { + return at::_ops::_foreach_log_out::call(self, out); +} + +} diff --git a/shared/package-files/8a/8ae318ca604dfc017bae405de51f522b43347e0b1891ee82366692f456a14aa8/ir.h b/shared/package-files/8a/8ae318ca604dfc017bae405de51f522b43347e0b1891ee82366692f456a14aa8/ir.h new file mode 100644 index 0000000000000000000000000000000000000000..4781b15229cbb6eb2c0181051ccfcb12f4fed33b --- /dev/null +++ b/shared/package-files/8a/8ae318ca604dfc017bae405de51f522b43347e0b1891ee82366692f456a14aa8/ir.h @@ -0,0 +1,1841 @@ +#pragma once + +#include +#include +#include +#include +#include + +#include +#include +#include + +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include + +#include +#include +#include +#include + +// Forward declare, the real meat is in python_ir.cpp +template +class THPPointer; +using THPObjectPtr = THPPointer; +using pyobj_list = std::vector; + +namespace torch { +namespace jit { +namespace utils { +TORCH_API std::string getNodesModuleHierarchy(const Node& n); +} // namespace utils +class AliasDb; + +using ::c10::Argument; +using ::c10::FunctionSchema; +using ::c10::Symbol; + +using ::c10::ivalue::Shared; + +using ::c10::IValue; +using ::c10::ivalue::Future; + +using ::c10::ivalue::ConstantString; + +#define C10_USING(T) using ::c10::T; +C10_FORALL_TYPES(C10_USING) +#undef C10_USING + +#define C10_USING(T) using ::c10::T##Ptr; +C10_FORALL_TYPES(C10_USING) +#undef C10_USING + +using ::c10::Type; +using ::c10::TypeEnv; +using ::c10::TypePtr; + +using ::c10::getTypePtr; +using ::c10::MatchTypeReturn; +using ::c10::TypeKind; + +using ::c10::fmap; + +namespace prim { +using namespace ::c10::prim; +} +namespace attr { +using namespace ::c10::attr; +} +namespace aten { +using namespace ::c10::aten; +} +namespace cuda { +#if !defined(USE_ROCM) +using namespace ::c10::cuda; +#endif +} // namespace cuda + +struct Function; +struct GraphFunction; +struct MatchedSchema; + +// A Graph represents one "function" of computation. +// It uses a simple ownership model where the graph owns all the nodes inside +// it. All references inside the graph are raw pointers. Destroying the Graph +// will invalidate any pointers to nodes in the graph. +struct Graph; + +// Node is the base class of the IR graph. It represents one computation +// and dependencies on a list of Values. The "prim-ops", so to speak. +struct Node; + +// A Value represents an input or output to node that is either a +// Tensor or an opaque Handle object, as determined by type(). +struct Value; + +TORCH_API std::ostream& operator<<(std::ostream& out, const Graph& g); +TORCH_API std::ostream& operator<<(std::ostream& out, const Node& n); + +// A list of nodes, with inputs and outputs +struct Block; + +// Each use is represented by this type, see 'Node::uses()' +// 'user' is the consumer of the value, 'offset' is the index into +// 'user's input this where the producers will be found. +struct Use { + Use(Node* user, size_t offset) : user(user), offset(offset) {} + Node* user; + size_t offset; + + bool operator==(const Use& b) { + return user == b.user && offset == b.offset; + } +}; + +// Note [User node does not uniquely identify use] +// ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ +// A while back, we wrote some code manipulating uses that looked like this: +// +// for (auto& use : used_val->uses_) { +// if (use.user == this_node) { +// use.offset += 1; +// break; +// } +// } +// +// This code is trying to find a particular use (our node's use) to update it. +// However, it's wrong: there may be *multiple* uses of a value %x in a node, +// as might be the case in this IR: +// +// %y = Add %x %x +// +// In this case, there are two uses of %x whose user is the node 'Add %x %x'. +// So, "use induced by this node" is not a well-formed concept. +// +// If you are looking for "use induced by an input", it's best to use +// findUseForInput() to get it. + +// the list types are intentionally simple, but we type-def +// them here so if we need to change them, refactoring will be easier +using node_list = std::vector; +using value_list = std::vector; +using use_list = std::vector; +template +using ArrayRef = at::ArrayRef; +using NodeKind = Symbol; +using topo_position_t = int64_t; +using ValueSet = std::unordered_set; + +struct OperatorSet; +template +struct OperatorMap; + +// This is a wrapper to allow invalidating the Python object +// safely when the C++ object for a Node/Value/Block is deleted +// like much of graph, it isn't safe for different threads to +// access the same graph +template +struct Wrap { + explicit Wrap(T* p) : elem(p), clear_cb(nullptr) {} + void clear() { + if (clear_cb) { + clear_cb(elem); + } + elem = nullptr; + } + T* elem; + void (*clear_cb)(void*); +}; + +struct Value { + AT_DISALLOW_COPY_AND_ASSIGN(Value); + Value(Node* node_, size_t offset_); + + private: + friend struct Node; + friend struct Graph; + Node* node_; + size_t offset_; + size_t unique_ = 0; // unique id + use_list uses_; + std::string unique_name_; + TypePtr type_; + // a managing wrapper for Python to allow invalidation + std::shared_ptr> wrap_; + + public: + Value* setType(TypePtr type); + TORCH_API void inferTypeFrom(const at::Tensor& output); + TORCH_API void inferTypeFrom( + const c10::intrusive_ptr& output); + const TypePtr& type() const { + AT_ASSERT(type_ != nullptr); + return type_; + } + bool requires_grad() const { + return type()->requires_grad(); + } + bool isCompleteTensor() const { + if (auto pt = type()->cast()) { + return pt->isComplete(); + } + return false; + } + TORCH_API bool mustBeNone() const; + TORCH_API bool mustNotBeNone() const; + size_t unique() const { + return unique_; + } + bool hasDebugName() const { + return !unique_name_.empty(); + } + static bool isValidName(const std::string& name); + TORCH_API Value* setDebugName(const std::string& name); + std::string debugName() const { + if (hasDebugName()) { + return unique_name_; + } + return c10::to_string(unique()); + } + TORCH_API std::string debugNameBase() const; + Node* node() { + return node_; + } + size_t offset() const { + return offset_; + } + void setOffset(size_t offset) { + offset_ = offset; + } + const Node* node() const { + return node_; + } + + /** + * @warning NEVER pass raw pointer of smart pointer managed Graph to Python. + * Check #87343 for details. + */ + Graph* owningGraph(); + const Graph* owningGraph() const; + // TODO: make this more const correct + const use_list& uses() const { + return uses_; + } + + bool hasUses() const { + return !uses().empty(); + } + + TORCH_API void replaceFirstUseWith(Value* newValue); + + // Replaces all uses of this value with 'newValue'. + // + // Given: %3 = f(%1, %2) + // %4 = g(%3) + // %5 = h(%3, %3) + // Execute: %3.replaceAllUsesWith(%6) + // Result: %3 = f(%1, %2) + // %4 = g(%6) + // %5 = h(%6, %6) + TORCH_API void replaceAllUsesWith(Value* newValue); + + // Replaces all uses of this value with 'newValue' after 'node'. + // Given: %3 = f(%1, %2) + // %4 = g(%3) + // %5 = inplace_(%3) + // %6 = h(%3, %3) + // Execute: %3.replaceAllUsesAfterNodeWith(%5.node(), %5) + // Result: %3 = f(%1, %2) + // %4 = g(%3) + // %5 = inplace_(%3) + // %6 = h(%5, %5) + // XXX: does not check scoping legality, consider using + // replaceAllUsesDominatedByNodeWith + TORCH_API void replaceAllUsesAfterNodeWith(const Node* node, Value* newValue); + + // Replaces all uses of this value with 'newValue' that are dominated by + // 'node'. Given: + // x = op(...). + // if cond: + // z = foo(..) + // bar(x) + // else: + // print(x) + // x.replaceAllUsesDominatedByNodeWith(foo, z) would replace bar(x) + // but not print(x) because print is not dominated by foo. + // replaceAllUsesAfterNode does not check domination, so in this example + // it would produce invalid IR. + TORCH_API void replaceAllUsesDominatedByNodeWith( + const Node* node, + Value* newValue); + + TORCH_API Value* copyMetadata(Value* from); + + TORCH_API std::shared_ptr> wrap() { + if (!wrap_) { + wrap_ = std::make_shared>(this); + } + return wrap_; + } + + virtual ~Value() { + if (wrap_) { + wrap_->clear(); + } + } +}; + +struct TORCH_API Node { + AT_DISALLOW_COPY_AND_ASSIGN(Node); + friend struct Graph; + friend struct Block; + friend struct Value; + friend graph_node_list; + friend const_graph_node_list; + friend graph_node_list_iterator; + friend const_graph_node_list_iterator; + + private: + const NodeKind kind_; + std::vector inputs_; + std::vector outputs_; + // subblocks + std::vector blocks_; + Graph* graph_; + Block* owning_block_; + c10::optional source_range_; + ScopePtr scope_; + c10::optional callstack_; + // Assumes FunctionSchemas are persistent, so we don't manage their lifetime. + // This field is effective a cache that's populated on attribute lookups and + // invalidated every time we perform an operation that could potentially + // change the schema. note: mutable because schema_ is effectively a cache + mutable const Operator* op_; + topo_position_t topo_position_ = 0; + // a managing wrapper for Python to allow invalidation + std::shared_ptr> wrap_; + // Stores the full schema name, if the operator is historic + // When the operator is deprecated or the name of the operator + // is changed, we need to rely on this name + // to retrieve old schemas to successfully apply upgraders + // for this operator. + c10::optional historic_schema_name_ = c10::nullopt; + + protected: + Node(Graph* graph_, NodeKind kind_); // defined after graph + public: + // Each Node but Return/Param Nodes are associated with exactly one + // place in the Node list of the Graph. The Graph itself is a circular + // doubly-linked list. The Return Node is used as the sentinel for the + // "beginning"/"end" of the list. This means that you can tell when + // you've traversed the entire list without means worrying about null + // pointers. `next_in_graph[0]` is the pointer to the next Node, while + // `next_in_graph[1]` is the pointer to the previous Node. The + // linked list is implemented as an array to allow the same iterator + // class for forward and reversed Node lists. Taken together, this + // list also represents a topological sort of the Nodes in the Graph. + // NOLINTNEXTLINE(cppcoreguidelines-avoid-c-arrays,cppcoreguidelines-non-private-member-variables-in-classes,modernize-avoid-c-arrays) + Node* next_in_graph[2] = {nullptr, nullptr}; + + std::shared_ptr> wrap() { + if (!wrap_) { + wrap_ = std::make_shared>(this); + } + return wrap_; + } + + const c10::optional getHistoricSchemaName() { + return historic_schema_name_; + } + + void setHistoricSchemaName(const std::string& name) { + historic_schema_name_ = name; + } + + Node*& next() { + return next_in_graph[kNextDirection]; + } + Node*& prev() { + return next_in_graph[kPrevDirection]; + } + Node* const& next() const { + return next_in_graph[kNextDirection]; + } + Node* const& prev() const { + return next_in_graph[kPrevDirection]; + } + + NodeKind kind() const { + return kind_; + } + Node* setSourceRange(SourceRange r) { + source_range_ = std::move(r); + return this; + } + SourceRange sourceRange() const; + + /** + * @warning NEVER pass raw pointer of smart pointer managed Graph to Python. + * Check #87343 for details. + */ + Graph* owningGraph() { + return graph_; + } + const Graph* owningGraph() const { + return graph_; + } + Block* owningBlock() { + return owning_block_; + } + const Block* owningBlock() const { + return owning_block_; + } + ScopePtr scope() { + return scope_; + } + void setScope(ScopePtr scope) { + scope_ = std::move(scope); + } + std::string scopeName() const { + if (!scope_) { + return ""; + } + return scope_->namesFromRoot(); + } + + // Copies the source range, scope and callstack from another node. + Node* copyMetadata(Node* from) { + this->setSourceRange(from->sourceRange()); + this->setScope(from->scope()); + if (auto cs = from->callstack()) { + this->setCallStack(*cs); + } + return this; + } + + c10::optional callstack() const { + return callstack_; + } + void setCallStack(InlinedCallStackPtr cs) { + callstack_ = std::move(cs); + } + + // NB: This returns an ArrayRef; that means that it will + // get invalidated if you resize inputs (e.g., using addInput) + // We can't return a std::vector& because there's no + // way to soundly cast to std::vector (an insane + // implementation of std::vector could make this representationally + // different.) + at::ArrayRef inputs() { + return inputs_; + } + at::ArrayRef inputs() const { + // Vectors are not convertible in const-ness of elements, but + // raw pointers are. + return {inputs_.data(), inputs_.size()}; + } + // NB: This returns an ArrayRef; that means that it will + // get invalidated if you resize inputs (e.g., using addInput) + // We can't return a std::vector& because there's no + // way to soundly cast to std::vector (an insane + // implementation of std::vector could make this representationally + // different.) + at::ArrayRef outputs() { + return outputs_; + } + at::ArrayRef outputs() const { + // Vectors are not convertible in const-ness of elements, but + // raw pointers are. + return {outputs_.data(), outputs_.size()}; + } + Value* output(size_t i) const { + return outputs_.at(i); + } + bool hasUses() const { + for (auto o : outputs()) { + if (!o->uses().empty()) { + return true; + } + } + return false; + } + + void replaceAllUsesWith(Node* n); + + // replaces `this` with a new node with the same inputs and outputs + // but a new node symbol. does not destroy `this` + Node* replaceWithNewSymbol(Symbol new_symbol); + + // Checks if this node is dominated by `dominator` which means that + // `dominator` will always be executed before `this` and `dominator` + // is in scope of `this. + bool isDominatedBy(const Node* dominator) const; + + // lots of things like chunk have a single input or single output, so we have + // a helper to make accessing it easier + Value* input() { + AT_ASSERT(inputs_.size() == 1); + return inputs_.at(0); + } + Value* output() { + AT_ASSERT(outputs_.size() == 1); + return outputs_.at(0); + } + const Value* output() const { + AT_ASSERT(outputs_.size() == 1); + return outputs_.at(0); + } + const Value* input() const { + AT_ASSERT(inputs_.size() == 1); + return inputs_.at(0); + } + // Access a particular input. This is a checked index. + Value* input(size_t i) const { + return inputs_.at(i); + } + + bool hasNamedInput(const std::string& unqualName) const; + Value* namedInput(const std::string& unqualName) const; + Value* namedInput(Symbol name) const; + + c10::optional get(Symbol name) const; + + template + c10::optional get(Symbol name) const { + if (auto v = get(name)) { + return v->template to(); + } + return c10::nullopt; + } + + // Returns true if the value of input name is statically known + bool is_constant(Symbol name) const { + return static_cast(get(name)); + } + bool mustBeNone() const; + + bool isNondeterministic() const; + bool hasSideEffects() const; + + // instructions lowered by the interpreter and not run in the optimized graph + bool notExecutedOp() const { + return kind_ == prim::Constant || kind_ == prim::profile || + kind_ == prim::profile_ivalue; + } + + // Graphs + + // Note [Topological invariant] + // ~~~~~~~~~~~~~~~~~~~~~~~~~~~~ + // We always maintain an up-to-date topological ordering of all nodes via + // the next()/prev() links. All transformations to graphs must preserve + // this topological ordering: for example, it is only valid to 'addInput' + // with an input which is topologically before the current node. + // + // Usually, it is obvious whether or not topological order is maintained; + // for example, if you are adding nodes to the end of the topsort, it's + // impossible for them to refer to inputs that are not in the topsort. + // If it is not obvious, please comment accordingly. + + // Add 'node' as an input to 'this' at the end of existing + // arguments. Returns the added node for ease of chaining. + // + // Given: %3 = f(%1, %2) + // Execute: %3.addInput(%4) + // Result: %3 = f(%1, %2, %4) + Value* addInput(Value* value); + + // Add 'value' as an input to 'this' at the specified position in the + // arguments. Returns the added value for ease of chaining. + Value* insertInput(size_t i, Value* value); + + // Replace the input of 'this' at position 'i' with + // 'newValue', returning the old node. + // + // Given: %3 = f(%1, %2) + // Execute: %3.replaceInput(1, %4) + // Result: %3 = f(%1, %4) + Value* replaceInput(size_t i, Value* newValue); + + // Replace all occurrences of 'from' in the inputs of this + // node with 'to'. Corresponds to llvm's replaceUsesOfWith. + // + // Given: %3 = f(%1, %2, %1) + // Execute: %3.replaceInputWith(%1, %4) + // Result: %3 = f(%4, %2, %4) + void replaceInputWith(Value* from, Value* to); + + Value* addOutput(); + + Value* insertOutput(size_t i); + + void eraseOutput(size_t i); + + Block* addBlock(); + void eraseBlock(size_t i); + + // Each Node can have a list of subblocks. These are used to define structured + // nested control flow operators such as If and Loop. + // The meaning of a block is specific to the kind of node it is in, but + // all blocks share these semantics: + // * Nested lexical scoping: If a node 'Parent' has a subblock which contains + // a node 'Child', Child can use any value that was in scope for the Parent + // node in addition to any values defined before 'Child' in the subblock. + // * The list of inputs to the block are in scope for the duration of the + // block + // * the outputs of the Parent node are not in scope for the subblocks + // Typically the inputs to a block that represents control flow act as + // as the equivalents phi-nodes in standard SSA form, + // defining a new Value to represent any term that has multiple + // definitions depending on how control flowed. Outputs of the node containing + // control flow serve a similiar purpose defining new values for variables + // that would have different definitions depending on which way control + // flowed. + + at::ArrayRef blocks() { + return blocks_; + } + at::ArrayRef blocks() const { + // Vectors are not convertible in const-ness of elements, but + // raw pointers are. + return {blocks_.data(), blocks_.size()}; + } + + // Is 'this' before 'n' in the topological order? + bool isBefore(const Node* n) const; + + // Is 'this' after 'n' in the topological order? + bool isAfter(const Node* n) const; + + // Insert unattached 'this' node before 'n' in the topological order. + // Returns this (for chaining). + // + // Given: %3 = f(%1, %2) + // %4 = g(%3) + // and unattached: %5 = h(%1) + // Execute: %5.insertBefore(%4) + // Result: %3 = f(%1, %2) + // %5 = h(%1) + // %4 = g(%3) + Node* insertBefore(Node* n); + + // Insert unattached 'this' node after 'n' in the topological order. + // Returns this (for chaining). + // + // Given: %3 = f(%1, %2) + // %4 = g(%3) + // and unattached: %5 = h(%1) + // Execute: %5.insertAfter(%4) + // Result: %3 = f(%1, %2) + // %4 = g(%3) + // %5 = h(%1) + Node* insertAfter(Node* n); + + // Move 'this' (already in the graph) after 'n' in the topological order. + // + // NOTE: Does not check that value dependencies are preserved, see + // AliasDb::moveAfterTopologicallyValid + // + // Given: %2 = f(%1) + // %3 = g(%1) + // Execute: %2.moveAfter(%3) + // Result: %3 = g(%1) + // %2 = f(%1) + // + void moveAfter(Node* n); + + // Move a node 'n' (already in the graph) before 'this' in the topological + // order. + // + // NOTE: Does not check that value dependencies are preserved, see + // AliasDb::moveBeforeTopologicallyValid + // + // Given: %2 = f(%1) + // %3 = g(%1) + // Execute: %3.moveBefore(%2) + // Result: %3 = g(%1) + // %2 = f(%1) + void moveBefore(Node* n); + + // Remove the input at 'i' from this node. + // + // WARNING: This is O(n) in the number of inputs, so avoid repeatedly calling + // removeInput. + // + // Given: %3 = f(%1, %2) + // Execute: %3.removeInput(1) + // Result: %3 = f(%1) + void removeInput(size_t i); + + // Remove all inputs from a node. + // + // Given: %3 = f(%1, %2) + // Execute: %3.removeAllInputs() + // Result: %3 = f() + void removeAllInputs(); + + // Remove all outputs from a node. + // + // Given: %1, %2 = f() + // Execute:removeAllInputs() + // Result: = f() + void removeAllOutputs(); + + // Rearrange the ordering of inputs or outputs of a node + // Given: %3 = f(%1, %2) + // Execute: %3.permuteInputs({1, 0}) + // Result: %3 = f(%2, %1) + // Each index must appear exactly once + void permuteInputs(const std::vector& new_inputs); + void permuteOutputs(const std::vector& new_inputs); + + // iterators of the node list starting at this node + // useful for resuming a search starting at this node + inline graph_node_list_iterator iterator() { + return {this, 0}; + } + inline graph_node_list_iterator reverseIterator() { + return iterator().reverse(); + } + inline const_graph_node_list_iterator iterator() const { + return {this, 0}; + } + inline const_graph_node_list_iterator reverseIterator() const { + return iterator().reverse(); + } + + // Remove 'this' from the instruction list and deallocate it. + // + // Invariant: no outputs of 'this' may have any uses. + // + // Given: %2 = f(%1) + // %3 = g(%1) + // Execute: %2.destroy() + // Result: %3 = g(%1) + void destroy(); + + // Dynamically cast this node to the subclass indicated by the + // template variable, returning nullptr if the cast is invalid.. + // + // Example usage: if(auto s = n.cast